diff --git a/AMBuilder b/AMBuilder index fe9ef3c21..d5f527955 100644 --- a/AMBuilder +++ b/AMBuilder @@ -87,17 +87,14 @@ for sdk_target in MMSPlugin.sdk_targets: os.path.join(sdk['path'], 'game', 'shared', 'te.proto'), os.path.join(sdk['path'], 'game', 'shared', 'usercmd.proto'), os.path.join(sdk['path'], 'game', 'shared', 'usermessages.proto'), - os.path.join(builder.sourcePath, 'protobuf', 'cs_gameevents.proto'), - os.path.join(builder.sourcePath, 'protobuf', 'cs_usercmd.proto'), - os.path.join(builder.sourcePath, 'protobuf', 'cstrike15_gcmessages.proto'), - os.path.join(builder.sourcePath, 'protobuf', 'cstrike15_usermessages.proto'), - os.path.join(builder.sourcePath, 'protobuf', 'networksystem_protomessages.proto'), + os.path.join(sdk['path'], 'game', 'shared', 'cs', 'cs_gameevents.proto'), + os.path.join(sdk['path'], 'game', 'shared', 'cs', 'cs_usercmd.proto'), + os.path.join(sdk['path'], 'game', 'shared', 'cstrike15', 'cstrike15_gcmessages.proto'), + os.path.join(sdk['path'], 'game', 'shared', 'cstrike15', 'cstrike15_usermessages.proto'), + os.path.join(sdk['path'], 'networksystem', 'networksystem_protomessages.proto'), ]) protoc_builder.protoc.includes += [ os.path.join(sdk['path'], 'gcsdk'), - os.path.join(sdk['path'], 'common'), - os.path.join(sdk['path'], 'game', 'shared'), - os.path.join(builder.sourcePath, 'protobuf'), ] binary.custom = [protoc_builder] diff --git a/CS2Fixes.vcxproj b/CS2Fixes.vcxproj index fe2a2810e..e442bc9e1 100644 --- a/CS2Fixes.vcxproj +++ b/CS2Fixes.vcxproj @@ -124,7 +124,7 @@ NotUsing pch.h stdcpp20 - protobuf/generated;src/utils;src/cs2_sdk;sdk/public;sdk/public/tier0;sdk/game/shared;sdk/game/server;sdk/public/tier1;sdk/public/mathlib;minhook/include;$(MMSOURCE112)/core;$(MMSOURCE112)/core/sourcehook;$(MMSOURCE_DEV)/core;$(MMSOURCE_DEV)/core/sourcehook;vendor/subhook;vendor/funchook/include;sdk/public/entity2;sdk/public/game/server;sdk/thirdparty/protobuf-3.21.8/src;$(SolutionDir);%(AdditionalIncludeDirectories) + build/cs2fixes.cs2/windows-x86_64;src/utils;src/cs2_sdk;sdk/public;sdk/public/tier0;sdk/game/shared;sdk/game/server;sdk/public/tier1;sdk/public/mathlib;minhook/include;$(MMSOURCE112)/core;$(MMSOURCE112)/core/sourcehook;$(MMSOURCE_DEV)/core;$(MMSOURCE_DEV)/core/sourcehook;vendor/subhook;vendor/funchook/include;sdk/public/entity2;sdk/public/game/server;sdk/thirdparty/protobuf-3.21.8/src;$(SolutionDir);%(AdditionalIncludeDirectories) %(UndefinePreprocessorDefinitions) MultiThreadedDebug true @@ -150,7 +150,7 @@ NotUsing pch.h stdcpp20 - protobuf/generated;src/utils;src/cs2_sdk;sdk/public;sdk/public/tier0;sdk/game/shared;sdk/game/server;sdk/public/tier1;sdk/public/mathlib;minhook/include;$(MMSOURCE112)/core;$(MMSOURCE112)/core/sourcehook;$(MMSOURCE_DEV)/core;$(MMSOURCE_DEV)/core/sourcehook;vendor/subhook;vendor/funchook/include;sdk/public/entity2;sdk/public/game/server;sdk/thirdparty/protobuf-3.21.8/src;$(SolutionDir);%(AdditionalIncludeDirectories) + build/cs2fixes.cs2/windows-x86_64;src/utils;src/cs2_sdk;sdk/public;sdk/public/tier0;sdk/game/shared;sdk/game/server;sdk/public/tier1;sdk/public/mathlib;minhook/include;$(MMSOURCE112)/core;$(MMSOURCE112)/core/sourcehook;$(MMSOURCE_DEV)/core;$(MMSOURCE_DEV)/core/sourcehook;vendor/subhook;vendor/funchook/include;sdk/public/entity2;sdk/public/game/server;sdk/thirdparty/protobuf-3.21.8/src;$(SolutionDir);%(AdditionalIncludeDirectories) MultiThreaded %(UndefinePreprocessorDefinitions) true @@ -169,17 +169,17 @@ - - - - - - - - - - - + + + + + + + + + + + diff --git a/CS2Fixes.vcxproj.filters b/CS2Fixes.vcxproj.filters index 10b7f8b63..d19d113dc 100644 --- a/CS2Fixes.vcxproj.filters +++ b/CS2Fixes.vcxproj.filters @@ -137,37 +137,37 @@ Source Files - + Source Files\protobuf - + Source Files\protobuf - + Source Files\protobuf - + Source Files\protobuf - + Source Files\protobuf - + Source Files\protobuf - + Source Files\protobuf - + Source Files\protobuf - + Source Files\protobuf - + Source Files\protobuf - + Source Files\protobuf diff --git a/README.md b/README.md index 2a6089ccc..2782d8e7c 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ ambuild #### Windows -Make sure to run in "x64 Native Tools Command Prompt for VS" +Make sure to run in "x64 Native Tools Command Prompt for VS". Doing an initial build here is also required to setup the protobuf headers for Visual Studio to reference. ```bash set MMSOURCE_DEV=\path\to\metamod diff --git a/gamedata/cs2fixes.games.txt b/gamedata/cs2fixes.games.txt index 480c0e179..3719b195d 100644 --- a/gamedata/cs2fixes.games.txt +++ b/gamedata/cs2fixes.games.txt @@ -225,13 +225,6 @@ "windows" "\x48\x89\x5C\x24\x2A\x48\x89\x74\x24\x2A\x48\x89\x7C\x24\x2A\x55\x48\x8B\xEC\x48\x81\xEC\x2A\x2A\x2A\x2A\x33\xC0" "linux" "\x48\xB8\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x55\x0F\x28\xD0" } - // Called right after this in windows "Entity %s(%s) is ambiguously parented to..." - "CBaseEntity_SetParent" - { - "library" "server" - "windows" "\x4D\x8B\xD9\x48\x85\xD2\x74\x2A" - "linux" "\x48\x85\xF6\x74\x2A\x48\x8B\x47\x10\xF6\x40\x31\x02\x75\x2A\x48\x8B\x46\x10\xF6\x40\x31\x02\x75\x2A\xB8\x2A\x2A\x2A\x2A" - } // "ParticleEffect", found in a function with 9 arguments "DispatchParticleEffect" { @@ -353,7 +346,7 @@ { "library" "server" "windows" "\x41\x54\x48\x81\xEC\x2A\x2A\x2A\x2A\xBA\x2A\x2A\x2A\x2A\x48\x8D\x0D\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x48\x85\xC0" - "linux" "\x55\x48\x8D\x3D\x2A\x2A\x2A\x2A\xBE\x2A\x2A\x2A\x2A\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x48\x85\xC0\x0F\x84\x2A\x2A\x2A\x2A\x8B\x10" + "linux" "\x55\x48\x8D\x3D\x2A\x2A\x2A\x2A\xBE\x2A\x2A\x2A\x2A\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x83\xEC" } // Location to CUtlMap unk that is referenced on Windows by function with "Notification about user penalty: %u/%u (%u sec)\n" string // On Linux, a qword appears twice in GameSystem_Think_CheckSteamBan, and thrice in a sub-function of the function used for Windows (1 top, 2 bottom), the only other reference to this qword is some convar registration function with two unks above, sm_mapGcBanInformation is the unk further away @@ -512,8 +505,8 @@ // There's no easy way to find this, but it's a function that checks entity flags (0x370) and ends by calling RemoveFlag with 0x800000 (FL_BASEVELOCITY) "CCSPlayer_MovementServices::CheckMovingGround" { - "windows" "36" - "linux" "37" + "windows" "37" + "linux" "38" } "CCSPlayer_WeaponServices::DropWeapon" { diff --git a/protobuf/base_gcmessages.proto b/protobuf/base_gcmessages.proto deleted file mode 100644 index ff2082cbb..000000000 --- a/protobuf/base_gcmessages.proto +++ /dev/null @@ -1,555 +0,0 @@ -import "steammessages.proto"; - -enum EGCBaseMsg { - k_EMsgGCSystemMessage = 4001; - k_EMsgGCReplicateConVars = 4002; - k_EMsgGCConVarUpdated = 4003; - k_EMsgGCInQueue = 4008; - k_EMsgGCInviteToParty = 4501; - k_EMsgGCInvitationCreated = 4502; - k_EMsgGCPartyInviteResponse = 4503; - k_EMsgGCKickFromParty = 4504; - k_EMsgGCLeaveParty = 4505; - k_EMsgGCServerAvailable = 4506; - k_EMsgGCClientConnectToServer = 4507; - k_EMsgGCGameServerInfo = 4508; - k_EMsgGCError = 4509; - k_EMsgGCReplay_UploadedToYouTube = 4510; - k_EMsgGCLANServerAvailable = 4511; -} - -enum EGCBaseProtoObjectTypes { - k_EProtoObjectPartyInvite = 1001; - k_EProtoObjectLobbyInvite = 1002; -} - -enum GC_BannedWordType { - GC_BANNED_WORD_DISABLE_WORD = 0; - GC_BANNED_WORD_ENABLE_WORD = 1; -} - -message CGCStorePurchaseInit_LineItem { - optional uint32 item_def_id = 1; - optional uint32 quantity = 2; - optional uint32 cost_in_local_currency = 3; - optional uint32 purchase_type = 4; - optional uint64 supplemental_data = 5; -} - -message CMsgGCStorePurchaseInit { - optional string country = 1; - optional int32 language = 2; - optional int32 currency = 3; - repeated .CGCStorePurchaseInit_LineItem line_items = 4; -} - -message CMsgGCStorePurchaseInitResponse { - optional int32 result = 1; - optional uint64 txn_id = 2; - optional string url = 3; - repeated uint64 item_ids = 4; -} - -message CSOPartyInvite { - optional uint64 group_id = 1 [(key_field) = true]; - optional fixed64 sender_id = 2; - optional string sender_name = 3; -} - -message CSOLobbyInvite { - optional uint64 group_id = 1 [(key_field) = true]; - optional fixed64 sender_id = 2; - optional string sender_name = 3; -} - -message CMsgSystemBroadcast { - optional string message = 1; -} - -message CMsgInviteToParty { - optional fixed64 steam_id = 1; - optional uint32 client_version = 2; - optional uint32 team_invite = 3; -} - -message CMsgInvitationCreated { - optional uint64 group_id = 1; - optional fixed64 steam_id = 2; -} - -message CMsgPartyInviteResponse { - optional uint64 party_id = 1; - optional bool accept = 2; - optional uint32 client_version = 3; - optional uint32 team_invite = 4; -} - -message CMsgKickFromParty { - optional fixed64 steam_id = 1; -} - -message CMsgLeaveParty { -} - -message CMsgServerAvailable { -} - -message CMsgLANServerAvailable { - optional fixed64 lobby_id = 1; -} - -message CSOEconGameAccountClient { - optional uint32 additional_backpack_slots = 1 [default = 0]; - optional fixed32 trade_ban_expiration = 6; - optional fixed32 bonus_xp_timestamp_refresh = 12; - optional uint32 bonus_xp_usedflags = 13; - optional uint32 elevated_state = 14; - optional uint32 elevated_timestamp = 15; -} - -message CSOItemCriteriaCondition { - optional int32 op = 1; - optional string field = 2; - optional bool required = 3; - optional float float_value = 4; - optional string string_value = 5; -} - -message CSOItemCriteria { - optional uint32 item_level = 1; - optional int32 item_quality = 2; - optional bool item_level_set = 3; - optional bool item_quality_set = 4; - optional uint32 initial_inventory = 5; - optional uint32 initial_quantity = 6; - optional bool ignore_enabled_flag = 8; - repeated .CSOItemCriteriaCondition conditions = 9; - optional int32 item_rarity = 10; - optional bool item_rarity_set = 11; - optional bool recent_only = 12; -} - -message CSOItemRecipe { - optional uint32 def_index = 1; - optional string name = 2; - optional string n_a = 3; - optional string desc_inputs = 4; - optional string desc_outputs = 5; - optional string di_a = 6; - optional string di_b = 7; - optional string di_c = 8; - optional string do_a = 9; - optional string do_b = 10; - optional string do_c = 11; - optional bool requires_all_same_class = 12; - optional bool requires_all_same_slot = 13; - optional int32 class_usage_for_output = 14; - optional int32 slot_usage_for_output = 15; - optional int32 set_for_output = 16; - repeated .CSOItemCriteria input_items_criteria = 20; - repeated .CSOItemCriteria output_items_criteria = 21; - repeated uint32 input_item_dupe_counts = 22; -} - -message CMsgDevNewItemRequest { - optional fixed64 receiver = 1; - optional .CSOItemCriteria criteria = 2; -} - -message CMsgIncrementKillCountAttribute { - optional fixed32 killer_account_id = 1; - optional fixed32 victim_account_id = 2; - optional uint64 item_id = 3; - optional uint32 event_type = 4; - optional uint32 amount = 5; -} - -message CMsgApplySticker { - optional uint64 sticker_item_id = 1; - optional uint64 item_item_id = 2; - optional uint32 sticker_slot = 3; - optional uint32 baseitem_defidx = 4; - optional float sticker_wear = 5; - optional float sticker_rotation = 6; - optional float sticker_scale = 7; - optional float sticker_offset_x = 8; - optional float sticker_offset_y = 9; - optional float sticker_offset_z = 10; - optional float sticker_wear_target = 11; -} - -message CMsgModifyItemAttribute { - optional uint64 item_id = 1; - optional uint32 attr_defidx = 2; - optional uint32 attr_value = 3; -} - -message CMsgApplyStatTrakSwap { - optional uint64 tool_item_id = 1; - optional uint64 item_1_item_id = 2; - optional uint64 item_2_item_id = 3; -} - -message CMsgApplyStrangePart { - optional uint64 strange_part_item_id = 1; - optional uint64 item_item_id = 2; -} - -message CMsgApplyPennantUpgrade { - optional uint64 upgrade_item_id = 1; - optional uint64 pennant_item_id = 2; -} - -message CMsgApplyEggEssence { - optional uint64 essence_item_id = 1; - optional uint64 egg_item_id = 2; -} - -message CSOEconItemAttribute { - optional uint32 def_index = 1; - optional uint32 value = 2; - optional bytes value_bytes = 3; -} - -message CSOEconItemEquipped { - optional uint32 new_class = 1; - optional uint32 new_slot = 2; -} - -message CSOEconItem { - optional uint64 id = 1; - optional uint32 account_id = 2; - optional uint32 inventory = 3; - optional uint32 def_index = 4; - optional uint32 quantity = 5; - optional uint32 level = 6; - optional uint32 quality = 7; - optional uint32 flags = 8 [default = 0]; - optional uint32 origin = 9; - optional string custom_name = 10; - optional string custom_desc = 11; - repeated .CSOEconItemAttribute attribute = 12; - optional .CSOEconItem interior_item = 13; - optional bool in_use = 14 [default = false]; - optional uint32 style = 15 [default = 0]; - optional uint64 original_id = 16 [default = 0]; - repeated .CSOEconItemEquipped equipped_state = 18; - optional uint32 rarity = 19; -} - -message CMsgSortItems { - optional uint32 sort_type = 1; -} - -message CSOEconClaimCode { - optional uint32 account_id = 1; - optional uint32 code_type = 2; - optional uint32 time_acquired = 3; - optional string code = 4; -} - -message CMsgStoreGetUserData { - optional fixed32 price_sheet_version = 1; - optional int32 currency = 2; -} - -message CMsgStoreGetUserDataResponse { - optional int32 result = 1; - optional int32 currency_deprecated = 2; - optional string country_deprecated = 3; - optional fixed32 price_sheet_version = 4; - optional bytes price_sheet = 8; -} - -message CMsgUpdateItemSchema { - optional bytes items_game = 1; - optional fixed32 item_schema_version = 2; - optional string items_game_url = 4; -} - -message CMsgGCError { - optional string error_text = 1; -} - -message CMsgRequestInventoryRefresh { -} - -message CMsgConVarValue { - optional string name = 1; - optional string value = 2; -} - -message CMsgReplicateConVars { - repeated .CMsgConVarValue convars = 1; -} - -message CMsgUseItem { - optional uint64 item_id = 1; - optional fixed64 target_steam_id = 2; - repeated uint32 gift__potential_targets = 3; - optional uint32 duel__class_lock = 4; - optional fixed64 initiator_steam_id = 5; -} - -message CMsgReplayUploadedToYouTube { - optional string youtube_url = 1; - optional string youtube_account_name = 2; - optional uint64 session_id = 3; -} - -message CMsgConsumableExhausted { - optional int32 item_def_id = 1; -} - -message CMsgItemAcknowledged__DEPRECATED { - optional uint32 account_id = 1; - optional uint32 inventory = 2; - optional uint32 def_index = 3; - optional uint32 quality = 4; - optional uint32 rarity = 5; - optional uint32 origin = 6; - optional uint64 item_id = 7; -} - -message CMsgSetItemPositions { - message ItemPosition { - optional uint32 legacy_item_id = 1; - optional uint32 position = 2; - optional uint64 item_id = 3; - } - - repeated .CMsgSetItemPositions.ItemPosition item_positions = 1; -} - -message CMsgGCReportAbuse { - optional fixed64 target_steam_id = 1; - optional string description = 4; - optional uint64 gid = 5; - optional uint32 abuse_type = 2; - optional uint32 content_type = 3; - optional fixed32 target_game_server_ip = 6; - optional uint32 target_game_server_port = 7; -} - -message CMsgGCReportAbuseResponse { - optional fixed64 target_steam_id = 1; - optional uint32 result = 2; - optional string error_message = 3; -} - -message CMsgGCNameItemNotification { - optional fixed64 player_steamid = 1; - optional uint32 item_def_index = 2; - optional string item_name_custom = 3; -} - -message CMsgGCClientDisplayNotification { - optional string notification_title_localization_key = 1; - optional string notification_body_localization_key = 2; - repeated string body_substring_keys = 3; - repeated string body_substring_values = 4; -} - -message CMsgGCShowItemsPickedUp { - optional fixed64 player_steamid = 1; -} - -message CMsgGCIncrementKillCountResponse { - optional uint32 killer_account_id = 1 [(key_field) = true]; - optional uint32 num_kills = 2; - optional uint32 item_def = 3; - optional uint32 level_type = 4; -} - -message CSOEconItemDropRateBonus { - optional uint32 account_id = 1; - optional fixed32 expiration_date = 2; - optional float bonus = 3; - optional uint32 bonus_count = 4; - optional uint64 item_id = 5; - optional uint32 def_index = 6; -} - -message CSOEconItemLeagueViewPass { - optional uint32 account_id = 1 [(key_field) = true]; - optional uint32 league_id = 2 [(key_field) = true]; - optional uint32 admin = 3; - optional uint32 itemindex = 4; -} - -message CSOEconItemEventTicket { - optional uint32 account_id = 1; - optional uint32 event_id = 2; - optional uint64 item_id = 3; -} - -message CMsgGCItemPreviewItemBoughtNotification { - optional uint32 item_def_index = 1; -} - -message CMsgGCStorePurchaseCancel { - optional uint64 txn_id = 1; -} - -message CMsgGCStorePurchaseCancelResponse { - optional uint32 result = 1; -} - -message CMsgGCStorePurchaseFinalize { - optional uint64 txn_id = 1; -} - -message CMsgGCStorePurchaseFinalizeResponse { - optional uint32 result = 1; - repeated uint64 item_ids = 2; -} - -message CMsgGCBannedWordListRequest { - optional uint32 ban_list_group_id = 1; - optional uint32 word_id = 2; -} - -message CMsgGCRequestAnnouncements { -} - -message CMsgGCRequestAnnouncementsResponse { - optional string announcement_title = 1; - optional string announcement = 2; - optional string nextmatch_title = 3; - optional string nextmatch = 4; -} - -message CMsgGCBannedWord { - optional uint32 word_id = 1; - optional .GC_BannedWordType word_type = 2 [default = GC_BANNED_WORD_DISABLE_WORD]; - optional string word = 3; -} - -message CMsgGCBannedWordListResponse { - optional uint32 ban_list_group_id = 1; - repeated .CMsgGCBannedWord word_list = 2; -} - -message CMsgGCToGCBannedWordListBroadcast { - optional .CMsgGCBannedWordListResponse broadcast = 1; -} - -message CMsgGCToGCBannedWordListUpdated { - optional uint32 group_id = 1; -} - -message CMsgGCToGCDirtySDOCache { - optional uint32 sdo_type = 1; - optional uint64 key_uint64 = 2; -} - -message CMsgGCToGCDirtyMultipleSDOCache { - optional uint32 sdo_type = 1; - repeated uint64 key_uint64 = 2; -} - -message CMsgGCCollectItem { - optional uint64 collection_item_id = 1; - optional uint64 subject_item_id = 2; -} - -message CMsgSDONoMemcached { -} - -message CMsgGCToGCUpdateSQLKeyValue { - optional string key_name = 1; -} - -message CMsgGCToGCIsTrustedServer { - optional fixed64 steam_id = 1; -} - -message CMsgGCToGCIsTrustedServerResponse { - optional bool is_trusted = 1; -} - -message CMsgGCToGCBroadcastConsoleCommand { - optional string con_command = 1; -} - -message CMsgGCServerVersionUpdated { - optional uint32 server_version = 1; -} - -message CMsgGCClientVersionUpdated { - optional uint32 client_version = 1; -} - -message CMsgGCToGCWebAPIAccountChanged { -} - -message CMsgGCToGCRequestPassportItemGrant { - optional fixed64 steam_id = 1; - optional uint32 league_id = 2; - optional int32 reward_flag = 3; -} - -message CMsgGameServerInfo { - enum ServerType { - UNSPECIFIED = 0; - GAME = 1; - PROXY = 2; - } - - optional fixed32 server_public_ip_addr = 1; - optional fixed32 server_private_ip_addr = 2; - optional uint32 server_port = 3; - optional uint32 server_tv_port = 4; - optional string server_key = 5; - optional bool server_hibernation = 6; - optional .CMsgGameServerInfo.ServerType server_type = 7 [default = UNSPECIFIED]; - optional uint32 server_region = 8; - optional float server_loadavg = 9; - optional float server_tv_broadcast_time = 10; - optional float server_game_time = 11; - optional fixed64 server_relay_connected_steam_id = 12; - optional uint32 relay_slots_max = 13; - optional int32 relays_connected = 14; - optional int32 relay_clients_connected = 15; - optional fixed64 relayed_game_server_steam_id = 16; - optional uint32 parent_relay_count = 17; - optional fixed64 tv_secret_code = 18; -} - -message CSOEconEquipSlot { - optional uint32 account_id = 1 [(key_field) = true]; - optional uint32 class_id = 2 [(key_field) = true]; - optional uint32 slot_id = 3 [(key_field) = true]; - optional uint64 item_id = 4; - optional uint32 item_definition = 5; -} - -message CMsgAdjustEquipSlot { - optional uint32 class_id = 1; - optional uint32 slot_id = 2; - optional uint64 item_id = 3; -} - -message CMsgAdjustEquipSlots { - repeated .CMsgAdjustEquipSlot slots = 1; - optional uint32 change_num = 2; -} - -message CMsgOpenCrate { - optional uint64 tool_item_id = 1; - optional uint64 subject_item_id = 2; - optional bool for_rental = 3; - optional uint32 points_remaining = 4; -} - -message CSOEconRentalHistory { - optional uint32 account_id = 1 [(key_field) = true]; - optional uint64 crate_item_id = 2 [(key_field) = true]; - optional uint32 crate_def_index = 3; - optional uint32 issue_date = 4; - optional uint32 expiration_date = 5; -} - -message CMsgAcknowledgeRentalExpiration { - optional uint64 crate_item_id = 1; -} diff --git a/protobuf/c_peer2peer_netmessages.proto b/protobuf/c_peer2peer_netmessages.proto deleted file mode 100644 index c4d34cd90..000000000 --- a/protobuf/c_peer2peer_netmessages.proto +++ /dev/null @@ -1,57 +0,0 @@ -import "netmessages.proto"; -import "networkbasetypes.proto"; - -enum P2P_Messages { - p2p_TextMessage = 256; - p2p_Voice = 257; - p2p_Ping = 258; - p2p_VRAvatarPosition = 259; - p2p_WatchSynchronization = 260; - p2p_FightingGame_GameData = 261; - p2p_FightingGame_Connection = 262; -} - -message CP2P_TextMessage { - optional bytes text = 1; -} - -message CSteam_Voice_Encoding { - optional bytes voice_data = 1; -} - -message CP2P_Voice { - enum Handler_Flags { - Played_Audio = 1; - } - - optional .CMsgVoiceAudio audio = 1; - optional uint32 broadcast_group = 2; -} - -message CP2P_Ping { - required uint64 send_time = 1; - required bool is_reply = 2; -} - -message CP2P_VRAvatarPosition { - message COrientation { - optional .CMsgVector pos = 1; - optional .CMsgQAngle ang = 2; - } - - repeated .CP2P_VRAvatarPosition.COrientation body_parts = 1; - optional int32 hat_id = 2; - optional int32 scene_id = 3; - optional int32 world_scale = 4; -} - -message CP2P_WatchSynchronization { - optional int32 demo_tick = 1; - optional bool paused = 2; - optional uint64 tv_listen_voice_indices = 3; - optional int32 dota_spectator_mode = 4; - optional bool dota_spectator_watching_broadcaster = 5; - optional int32 dota_spectator_hero_index = 6; - optional int32 dota_spectator_autospeed = 7; - optional int32 dota_replay_speed = 8; -} diff --git a/protobuf/clientmessages.proto b/protobuf/clientmessages.proto deleted file mode 100644 index 484ae5744..000000000 --- a/protobuf/clientmessages.proto +++ /dev/null @@ -1,53 +0,0 @@ -enum EBaseClientMessages { - CM_CustomGameEvent = 280; - CM_CustomGameEventBounce = 281; - CM_ClientUIEvent = 282; - CM_DevPaletteVisibilityChanged = 283; - CM_WorldUIControllerHasPanelChanged = 284; - CM_RotateAnchor = 285; - CM_ListenForResponseFound = 286; - CM_MAX_BASE = 300; -} - -enum EClientUIEvent { - EClientUIEvent_Invalid = 0; - EClientUIEvent_DialogFinished = 1; - EClientUIEvent_FireOutput = 2; -} - -message CClientMsg_CustomGameEvent { - optional string event_name = 1; - optional bytes data = 2; -} - -message CClientMsg_CustomGameEventBounce { - optional string event_name = 1; - optional bytes data = 2; - optional int32 player_slot = 3 [default = -1]; -} - -message CClientMsg_ClientUIEvent { - optional .EClientUIEvent event = 1 [default = EClientUIEvent_Invalid]; - optional uint32 ent_ehandle = 2; - optional uint32 client_ehandle = 3; - optional string data1 = 4; - optional string data2 = 5; -} - -message CClientMsg_DevPaletteVisibilityChangedEvent { - optional bool visible = 1; -} - -message CClientMsg_WorldUIControllerHasPanelChangedEvent { - optional bool has_panel = 1; - optional uint32 client_ehandle = 2; - optional uint32 literal_hand_type = 3; -} - -message CClientMsg_RotateAnchor { - optional float angle = 1; -} - -message CClientMsg_ListenForResponseFound { - optional int32 player_slot = 1 [default = -1]; -} diff --git a/protobuf/connectionless_netmessages.proto b/protobuf/connectionless_netmessages.proto deleted file mode 100644 index 029df389c..000000000 --- a/protobuf/connectionless_netmessages.proto +++ /dev/null @@ -1,24 +0,0 @@ -import "netmessages.proto"; - -message C2S_CONNECT_SameProcessCheck { - optional uint64 localhost_process_id = 1; - optional uint64 key = 2; -} - -message C2S_CONNECT_Message { - optional uint32 host_version = 1; - optional uint32 auth_protocol = 2; - optional uint32 challenge_number = 3; - optional fixed64 reservation_cookie = 4; - optional bool low_violence = 5; - optional bytes encrypted_password = 6; - repeated .CCLCMsg_SplitPlayerConnect splitplayers = 7; - optional bytes auth_steam = 8; - optional string challenge_context = 9; - optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 10; -} - -message C2S_CONNECTION_Message { - optional string addon_name = 1; - optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 2; -} diff --git a/protobuf/cs_gameevents.proto b/protobuf/cs_gameevents.proto deleted file mode 100644 index eb6a8feb9..000000000 --- a/protobuf/cs_gameevents.proto +++ /dev/null @@ -1,35 +0,0 @@ -import "networkbasetypes.proto"; - -enum ECsgoGameEvents { - GE_PlayerAnimEventId = 450; - GE_RadioIconEventId = 451; - GE_FireBulletsId = 452; -} - -message CMsgTEPlayerAnimEvent { - optional fixed32 player = 1 [default = 16777215]; - optional uint32 event = 2; - optional int32 data = 3; -} - -message CMsgTERadioIcon { - optional fixed32 player = 1 [default = 16777215]; -} - -message CMsgTEFireBullets { - optional .CMsgVector origin = 1; - optional .CMsgQAngle angles = 2; - optional uint32 weapon_id = 3 [default = 16777215]; - optional uint32 mode = 4; - optional uint32 seed = 5; - optional fixed32 player = 6 [default = 16777215]; - optional float inaccuracy = 7; - optional float recoil_index = 8; - optional float spread = 9; - optional int32 sound_type = 10; - optional uint32 item_def_index = 11; - optional fixed32 sound_dsp_effect = 12; - optional .CMsgVector ent_origin = 13; - optional uint32 num_bullets_remaining = 14; - optional uint32 attack_type = 15; -} diff --git a/protobuf/cs_prediction_events.proto b/protobuf/cs_prediction_events.proto deleted file mode 100644 index f43d77a37..000000000 --- a/protobuf/cs_prediction_events.proto +++ /dev/null @@ -1,19 +0,0 @@ -import "networkbasetypes.proto"; -import "prediction_events.proto"; - -enum ECSPredictionEvents { - CSPE_DamageTag = 1; - CSPE_AddAimPunch = 3; -} - -message CCSPredictionEvent_DamageTag { - optional float flinch_mod_small = 1; - optional float flinch_mod_large = 2; - optional float friendly_fire_damage_reduction_ratio = 3; -} - -message CCSPredictionEvent_AddAimPunch { - optional .CMsgQAngle punch_angle = 1; - optional uint32 when_tick = 2; - optional float when_tick_frac = 3; -} diff --git a/protobuf/cs_usercmd.proto b/protobuf/cs_usercmd.proto deleted file mode 100644 index 5664b9a28..000000000 --- a/protobuf/cs_usercmd.proto +++ /dev/null @@ -1,41 +0,0 @@ -import "networkbasetypes.proto"; -import "usercmd.proto"; - -message CSGOInterpolationInfoPB { - optional int32 src_tick = 1 [default = -1]; - optional int32 dst_tick = 2 [default = -1]; - optional float frac = 3 [default = 0]; -} - -message CSGOInterpolationInfoPB_CL { - optional float frac = 3 [default = 0]; -} - -message CSGOInputHistoryEntryPB { - optional .CMsgQAngle view_angles = 2; - optional int32 render_tick_count = 4; - optional float render_tick_fraction = 5; - optional int32 player_tick_count = 6; - optional float player_tick_fraction = 7; - optional .CSGOInterpolationInfoPB_CL cl_interp = 12; - optional .CSGOInterpolationInfoPB sv_interp0 = 13; - optional .CSGOInterpolationInfoPB sv_interp1 = 14; - optional .CSGOInterpolationInfoPB player_interp = 15; - optional int32 frame_number = 64; - optional int32 target_ent_index = 65 [default = -1]; - optional .CMsgVector shoot_position = 66; - optional .CMsgVector target_head_pos_check = 67; - optional .CMsgVector target_abs_pos_check = 68; - optional .CMsgQAngle target_abs_ang_check = 69; -} - -message CSGOUserCmdPB { - optional .CBaseUserCmdPB base = 1; - repeated .CSGOInputHistoryEntryPB input_history = 2; - optional int32 attack1_start_history_index = 6 [default = -1]; - optional int32 attack2_start_history_index = 7 [default = -1]; - optional bool left_hand_desired = 9 [default = false]; - optional bool is_predicting_body_shot_fx = 11 [default = false]; - optional bool is_predicting_head_shot_fx = 12 [default = false]; - optional bool is_predicting_kill_ragdolls = 13 [default = false]; -} diff --git a/protobuf/cstrike15_gcmessages.proto b/protobuf/cstrike15_gcmessages.proto deleted file mode 100644 index 221fa475b..000000000 --- a/protobuf/cstrike15_gcmessages.proto +++ /dev/null @@ -1,1559 +0,0 @@ -import "steammessages.proto"; -import "engine_gcmessages.proto"; -import "gcsdk_gcmessages.proto"; - -enum ECsgoGCMsg { - k_EMsgGCCStrike15_v2_Base = 9100; - k_EMsgGCCStrike15_v2_MatchmakingStart = 9101; - k_EMsgGCCStrike15_v2_MatchmakingStop = 9102; - k_EMsgGCCStrike15_v2_MatchmakingClient2ServerPing = 9103; - k_EMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate = 9104; - k_EMsgGCCStrike15_v2_MatchmakingServerReservationResponse = 9106; - k_EMsgGCCStrike15_v2_MatchmakingGC2ClientReserve = 9107; - k_EMsgGCCStrike15_v2_MatchmakingClient2GCHello = 9109; - k_EMsgGCCStrike15_v2_MatchmakingGC2ClientHello = 9110; - k_EMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon = 9112; - k_EMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate = 9117; - k_EMsgGCCStrike15_v2_ServerNotificationForUserPenalty = 9118; - k_EMsgGCCStrike15_v2_ClientReportPlayer = 9119; - k_EMsgGCCStrike15_v2_ClientReportServer = 9120; - k_EMsgGCCStrike15_v2_ClientCommendPlayer = 9121; - k_EMsgGCCStrike15_v2_ClientReportResponse = 9122; - k_EMsgGCCStrike15_v2_ClientCommendPlayerQuery = 9123; - k_EMsgGCCStrike15_v2_ClientCommendPlayerQueryResponse = 9124; - k_EMsgGCCStrike15_v2_WatchInfoUsers = 9126; - k_EMsgGCCStrike15_v2_ClientRequestPlayersProfile = 9127; - k_EMsgGCCStrike15_v2_PlayersProfile = 9128; - k_EMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate = 9131; - k_EMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment = 9132; - k_EMsgGCCStrike15_v2_PlayerOverwatchCaseStatus = 9133; - k_EMsgGCCStrike15_v2_GC2ClientTextMsg = 9134; - k_EMsgGCCStrike15_v2_Client2GCTextMsg = 9135; - k_EMsgGCCStrike15_v2_MatchEndRunRewardDrops = 9136; - k_EMsgGCCStrike15_v2_MatchEndRewardDropsNotification = 9137; - k_EMsgGCCStrike15_v2_ClientRequestWatchInfoFriends2 = 9138; - k_EMsgGCCStrike15_v2_MatchList = 9139; - k_EMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames = 9140; - k_EMsgGCCStrike15_v2_MatchListRequestRecentUserGames = 9141; - k_EMsgGCCStrike15_v2_GC2ServerReservationUpdate = 9142; - k_EMsgGCCStrike15_v2_ClientVarValueNotificationInfo = 9144; - k_EMsgGCCStrike15_v2_MatchListRequestTournamentGames = 9146; - k_EMsgGCCStrike15_v2_MatchListRequestFullGameInfo = 9147; - k_EMsgGCCStrike15_v2_GiftsLeaderboardRequest = 9148; - k_EMsgGCCStrike15_v2_GiftsLeaderboardResponse = 9149; - k_EMsgGCCStrike15_v2_ServerVarValueNotificationInfo = 9150; - k_EMsgGCCStrike15_v2_ClientSubmitSurveyVote = 9152; - k_EMsgGCCStrike15_v2_Server2GCClientValidate = 9153; - k_EMsgGCCStrike15_v2_MatchListRequestLiveGameForUser = 9154; - k_EMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest = 9156; - k_EMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse = 9157; - k_EMsgGCCStrike15_v2_AccountPrivacySettings = 9158; - k_EMsgGCCStrike15_v2_SetMyActivityInfo = 9159; - k_EMsgGCCStrike15_v2_MatchListRequestTournamentPredictions = 9160; - k_EMsgGCCStrike15_v2_MatchListUploadTournamentPredictions = 9161; - k_EMsgGCCStrike15_v2_DraftSummary = 9162; - k_EMsgGCCStrike15_v2_ClientRequestJoinFriendData = 9163; - k_EMsgGCCStrike15_v2_ClientRequestJoinServerData = 9164; - k_EMsgGCCStrike15_v2_GC2ClientTournamentInfo = 9167; - k_EMsgGC_GlobalGame_Subscribe = 9168; - k_EMsgGC_GlobalGame_Unsubscribe = 9169; - k_EMsgGC_GlobalGame_Play = 9170; - k_EMsgGCCStrike15_v2_AcknowledgePenalty = 9171; - k_EMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin = 9172; - k_EMsgGCCStrike15_v2_GC2ClientGlobalStats = 9173; - k_EMsgGCCStrike15_v2_Client2GCStreamUnlock = 9174; - k_EMsgGCCStrike15_v2_FantasyRequestClientData = 9175; - k_EMsgGCCStrike15_v2_FantasyUpdateClientData = 9176; - k_EMsgGCCStrike15_v2_GCToClientSteamdatagramTicket = 9177; - k_EMsgGCCStrike15_v2_ClientToGCRequestTicket = 9178; - k_EMsgGCCStrike15_v2_ClientToGCRequestElevate = 9179; - k_EMsgGCCStrike15_v2_GlobalChat = 9180; - k_EMsgGCCStrike15_v2_GlobalChat_Subscribe = 9181; - k_EMsgGCCStrike15_v2_GlobalChat_Unsubscribe = 9182; - k_EMsgGCCStrike15_v2_ClientAuthKeyCode = 9183; - k_EMsgGCCStrike15_v2_GotvSyncPacket = 9184; - k_EMsgGCCStrike15_v2_ClientPlayerDecalSign = 9185; - k_EMsgGCCStrike15_v2_ClientLogonFatalError = 9187; - k_EMsgGCCStrike15_v2_ClientPollState = 9188; - k_EMsgGCCStrike15_v2_Party_Register = 9189; - k_EMsgGCCStrike15_v2_Party_Unregister = 9190; - k_EMsgGCCStrike15_v2_Party_Search = 9191; - k_EMsgGCCStrike15_v2_Party_Invite = 9192; - k_EMsgGCCStrike15_v2_Account_RequestCoPlays = 9193; - k_EMsgGCCStrike15_v2_ClientGCRankUpdate = 9194; - k_EMsgGCCStrike15_v2_ClientRequestOffers = 9195; - k_EMsgGCCStrike15_v2_ClientAccountBalance = 9196; - k_EMsgGCCStrike15_v2_ClientPartyJoinRelay = 9197; - k_EMsgGCCStrike15_v2_ClientPartyWarning = 9198; - k_EMsgGCCStrike15_v2_SetEventFavorite = 9200; - k_EMsgGCCStrike15_v2_GetEventFavorites_Request = 9201; - k_EMsgGCCStrike15_v2_ClientPerfReport = 9202; - k_EMsgGCCStrike15_v2_GetEventFavorites_Response = 9203; - k_EMsgGCCStrike15_v2_ClientRequestSouvenir = 9204; - k_EMsgGCCStrike15_v2_ClientReportValidation = 9205; - k_EMsgGCCStrike15_v2_GC2ClientRefuseSecureMode = 9206; - k_EMsgGCCStrike15_v2_GC2ClientRequestValidation = 9207; - k_EMsgGCCStrike15_v2_ClientRedeemMissionReward = 9209; - k_EMsgGCCStrike15_ClientDeepStats = 9210; - k_EMsgGCCStrike15_StartAgreementSessionInGame = 9211; - k_EMsgGCCStrike15_v2_GC2ClientInitSystem = 9212; - k_EMsgGCCStrike15_v2_GC2ClientInitSystem_Response = 9213; - k_EMsgGCCStrike15_v2_PrivateQueues = 9214; - k_EMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt = 9215; - k_EMsgGCCStrike15_v2_BetaEnrollment = 9217; - k_EMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName = 9218; - k_EMsgGCCStrike15_v2_ClientRedeemFreeReward = 9219; - k_EMsgGCCStrike15_v2_ClientNetworkConfig = 9220; - k_EMsgGCCStrike15_v2_GC2ClientNotifyXPShop = 9221; - k_EMsgGCCStrike15_v2_Client2GcAckXPShopTracks = 9222; - k_EMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats = 9223; - k_EMsgGCCStrike15_v2_PremierSeasonSummary = 9224; - k_EMsgGCCStrike15_v2_RequestRecurringMissionSchedule = 9225; - k_EMsgGCCStrike15_v2_RecurringMissionSchema = 9226; - k_EMsgGCCStrike15_v2_VolatileItemClaimReward = 9227; -} - -enum ECsgoSteamUserStat { - k_ECsgoSteamUserStat_XpEarnedGames = 1; - k_ECsgoSteamUserStat_MatchWinsCompetitive = 2; - k_ECsgoSteamUserStat_SurvivedDangerZone = 3; -} - -enum QuestType { - k_EQuestType_Operation = 1; - k_EQuestType_RecurringMission = 2; -} - -enum EClientReportingVersion { - k_EClientReportingVersion_OldVersion = 0; - k_EClientReportingVersion_BetaVersion = 1; - k_EClientReportingVersion_SupportsTrustedMode = 2; -} - -enum EInitSystemResult { - k_EInitSystemResult_Invalid = 0; - k_EInitSystemResult_Success = 1; - k_EInitSystemResult_None = 2; - k_EInitSystemResult_NotFound = 3; - k_EInitSystemResult_Existing = 4; - k_EInitSystemResult_FailedOpen = 5; - k_EInitSystemResult_Mismatch = 6; - k_EInitSystemResult_FailedInit = 7; - k_EInitSystemResult_Max = 8; -} - -message GameServerPing { - optional int32 ping = 2; - optional uint32 ip = 3; - optional uint32 instances = 5; -} - -message DataCenterPing { - optional fixed32 data_center_id = 1; - optional sint32 ping = 2; -} - -message DetailedSearchStatistic { - optional uint32 game_type = 1; - optional uint32 search_time_avg = 2; - optional uint32 players_searching = 4; -} - -message TournamentPlayer { - optional uint32 account_id = 1; - optional string player_nick = 2; - optional string player_name = 3; - optional uint32 player_dob = 4; - optional string player_flag = 5; - optional string player_location = 6; - optional string player_desc = 7; -} - -message TournamentTeam { - optional int32 team_id = 1; - optional string team_tag = 2; - optional string team_flag = 3; - optional string team_name = 4; - repeated .TournamentPlayer players = 5; -} - -message TournamentEvent { - optional int32 event_id = 1; - optional string event_tag = 2; - optional string event_name = 3; - optional uint32 event_time_start = 4; - optional uint32 event_time_end = 5; - optional int32 event_public = 6; - optional int32 event_stage_id = 7; - optional string event_stage_name = 8; - optional uint32 active_section_id = 9; -} - -message GlobalStatistics { - optional uint32 players_online = 1; - optional uint32 servers_online = 2; - optional uint32 players_searching = 3; - optional uint32 servers_available = 4; - optional uint32 ongoing_matches = 5; - optional uint32 search_time_avg = 6; - repeated .DetailedSearchStatistic search_statistics = 7; - optional string main_post_url = 8; - optional uint32 required_appid_version = 9; - optional uint32 pricesheet_version = 10; - optional uint32 twitch_streams_version = 11; - optional uint32 active_tournament_eventid = 12; - optional uint32 active_survey_id = 13; - optional uint32 rtime32_cur = 14; - optional uint32 required_appid_version2 = 16; -} - -message OperationalStatisticDescription { - optional string name = 1; - optional uint32 idkey = 2; -} - -message OperationalStatisticElement { - optional uint32 idkey = 1; - repeated int32 values = 2; -} - -message OperationalStatisticsPacket { - optional int32 packetid = 1; - optional int32 mstimestamp = 2; - repeated .OperationalStatisticElement values = 3; -} - -message OperationalVarValue { - optional string name = 1; - optional int32 ivalue = 2; - optional float fvalue = 3; - optional bytes svalue = 4; -} - -message PlayerRankingInfo { - message PerMapRank { - optional uint32 map_id = 1; - optional uint32 rank_id = 2; - optional uint32 wins = 3; - } - - optional uint32 account_id = 1; - optional uint32 rank_id = 2; - optional uint32 wins = 3; - optional float rank_change = 4; - optional uint32 rank_type_id = 6; - optional uint32 tv_control = 7; - optional uint64 rank_window_stats = 8; - optional string leaderboard_name = 9; - optional uint32 rank_if_win = 10; - optional uint32 rank_if_lose = 11; - optional uint32 rank_if_tie = 12; - repeated .PlayerRankingInfo.PerMapRank per_map_rank = 13; - optional uint32 leaderboard_name_status = 14; - optional uint32 highest_rank = 15; - optional uint32 rank_expiry = 16; -} - -message PlayerCommendationInfo { - optional uint32 cmd_friendly = 1; - optional uint32 cmd_teaching = 2; - optional uint32 cmd_leader = 4; -} - -message PlayerMedalsInfo { - repeated uint32 display_items_defidx = 7; - optional uint32 featured_display_item_defidx = 8; -} - -message AccountActivity { - optional uint32 activity = 1; - optional uint32 mode = 2; - optional uint32 map = 3; - optional uint64 matchid = 4; -} - -message TournamentMatchSetup { - optional int32 event_id = 1; - optional int32 team_id_ct = 2; - optional int32 team_id_t = 3; - optional int32 event_stage_id = 4; -} - -message ServerHltvInfo { - optional uint32 tv_udp_port = 1; - optional uint64 tv_watch_key = 2; - optional uint32 tv_slots = 3; - optional uint32 tv_clients = 4; - optional uint32 tv_proxies = 5; - optional uint32 tv_time = 6; - optional uint32 game_type = 8; - optional string game_mapgroup = 9; - optional string game_map = 10; - optional uint64 tv_master_steamid = 11; - optional uint32 tv_local_slots = 12; - optional uint32 tv_local_clients = 13; - optional uint32 tv_local_proxies = 14; - optional uint32 tv_relay_slots = 15; - optional uint32 tv_relay_clients = 16; - optional uint32 tv_relay_proxies = 17; - optional uint32 tv_relay_address = 18; - optional uint32 tv_relay_port = 19; - optional uint64 tv_relay_steamid = 20; - optional uint32 flags = 21; -} - -message IpAddressMask { - optional uint32 a = 1; - optional uint32 b = 2; - optional uint32 c = 3; - optional uint32 d = 4; - optional uint32 bits = 5; - optional uint32 token = 6; -} - -message CMsgCsgoSteamUserStatChange { - optional int32 ecsgosteamuserstat = 1; - optional int32 delta = 2; - optional bool absolute = 3; -} - -message XpProgressData { - optional uint32 xp_points = 1; - optional int32 xp_category = 2; -} - -message MatchEndItemUpdates { - optional uint64 item_id = 1; - optional uint32 item_attr_defidx = 2; - optional uint32 item_attr_delta_value = 3; -} - -message ScoreLeaderboardData { - message Entry { - optional uint32 tag = 1; - optional uint32 val = 2; - } - - message AccountEntries { - optional uint32 accountid = 1; - repeated .ScoreLeaderboardData.Entry entries = 2; - } - - optional uint64 quest_id = 1; - optional uint32 score = 2; - repeated .ScoreLeaderboardData.AccountEntries accountentries = 3; - repeated .ScoreLeaderboardData.Entry matchentries = 5; - optional string leaderboard_name = 6; -} - -message PlayerQuestData { - message QuestItemData { - optional uint64 quest_id = 1; - optional int32 quest_normal_points_earned = 2; - optional int32 quest_bonus_points_earned = 3; - repeated int32 quest_normal_points_required = 4; - repeated int32 quest_reward_xp = 5; - optional int32 quest_period = 6; - optional .QuestType quest_type = 7 [default = k_EQuestType_Operation]; - } - - optional uint32 quester_account_id = 1; - repeated .PlayerQuestData.QuestItemData quest_item_data = 2; - repeated .XpProgressData xp_progress_data = 3; - optional uint32 time_played = 4; - optional uint32 mm_game_mode = 5; - repeated .MatchEndItemUpdates item_updates = 6; - optional bool operation_points_eligible = 7; - repeated .CMsgCsgoSteamUserStatChange userstatchanges = 8; -} - -message DeepPlayerStatsEntry { - optional uint32 accountid = 1; - optional uint64 match_id = 2; - optional uint32 mm_game_mode = 3; - optional uint32 mapid = 4; - optional bool b_starting_ct = 5; - optional uint32 match_outcome = 6; - optional uint32 rounds_won = 7; - optional uint32 rounds_lost = 8; - optional uint32 stat_score = 9; - optional uint32 stat_deaths = 12; - optional uint32 stat_mvps = 13; - optional uint32 enemy_kills = 14; - optional uint32 enemy_headshots = 15; - optional uint32 enemy_2ks = 16; - optional uint32 enemy_3ks = 17; - optional uint32 enemy_4ks = 18; - optional uint32 total_damage = 19; - optional uint32 engagements_entry_count = 23; - optional uint32 engagements_entry_wins = 24; - optional uint32 engagements_1v1_count = 25; - optional uint32 engagements_1v1_wins = 26; - optional uint32 engagements_1v2_count = 27; - optional uint32 engagements_1v2_wins = 28; - optional uint32 utility_count = 29; - optional uint32 utility_success = 30; - optional uint32 flash_count = 32; - optional uint32 flash_success = 33; - repeated uint32 mates = 34; -} - -message DeepPlayerMatchEvent { - optional uint32 accountid = 1; - optional uint64 match_id = 2; - optional uint32 event_id = 3; - optional uint32 event_type = 4; - optional bool b_playing_ct = 5; - optional int32 user_pos_x = 6; - optional int32 user_pos_y = 7; - optional int32 user_pos_z = 12; - optional uint32 user_defidx = 8; - optional int32 other_pos_x = 9; - optional int32 other_pos_y = 10; - optional int32 other_pos_z = 13; - optional uint32 other_defidx = 11; - optional int32 event_data = 14; -} - -message CMsgGC_ServerQuestUpdateData { - repeated .PlayerQuestData player_quest_data = 1; - optional bytes binary_data = 2; - optional uint32 mm_game_mode = 3; - optional .ScoreLeaderboardData missionlbsdata = 4; - optional uint32 flags = 5; -} - -message CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm { - optional uint32 token = 1; - optional uint32 stamp = 2; - optional uint64 exchange = 3; - optional uint32 retry = 4; -} - -message CMsgGCCStrike15_v2_GC2ServerReservationUpdate { - optional uint32 viewers_external_total = 1; - optional uint32 viewers_external_steam = 2; -} - -message CMsgGCCStrike15_v2_MatchmakingStart { - repeated uint32 account_ids = 1; - optional uint32 game_type = 2; - optional string ticket_data = 3; - optional uint32 client_version = 4; - optional .TournamentMatchSetup tournament_match = 5; - optional bool prime_only = 6; - optional uint32 tv_control = 7; - optional uint64 lobby_id = 8; -} - -message CMsgGCCStrike15_v2_MatchmakingStop { - optional int32 abandon = 1; -} - -message CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note { - optional int32 type = 1; - optional int32 region_id = 2; - optional float region_r = 3; - optional float distance = 4; -} - -message CMsgGCCStrike15_v2_MatchmakingClient2ServerPing { - repeated .GameServerPing gameserverpings = 1; - optional int32 offset_index = 2; - optional int32 final_batch = 3; - repeated .DataCenterPing data_center_pings = 4; - optional uint32 max_ping = 5; - optional fixed32 test_token = 6; - optional bytes search_key = 7; - repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 8; - optional string debug_message = 9; -} - -message CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate { - optional int32 matchmaking = 1; - repeated uint32 waiting_account_id_sessions = 2; - optional string error = 3; - repeated uint32 ongoingmatch_account_id_sessions = 6; - optional .GlobalStatistics global_stats = 7; - repeated uint32 failping_account_id_sessions = 8; - repeated uint32 penalty_account_id_sessions = 9; - repeated uint32 failready_account_id_sessions = 10; - repeated uint32 vacbanned_account_id_sessions = 11; - optional .IpAddressMask server_ipaddress_mask = 12; - repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 13; - repeated uint32 penalty_account_id_sessions_green = 14; - repeated uint32 insufficientlevel_sessions = 15; - repeated uint32 vsncheck_account_id_sessions = 16; - repeated uint32 launcher_mismatch_sessions = 17; - repeated uint32 insecure_account_id_sessions = 18; -} - -message CDataGCCStrike15_v2_TournamentMatchDraft { - message Entry { - optional int32 mapid = 1; - optional int32 team_id_ct = 2; - } - - optional int32 event_id = 1; - optional int32 event_stage_id = 2; - optional int32 team_id_0 = 3; - optional int32 team_id_1 = 4; - optional int32 maps_count = 5; - optional int32 maps_current = 6; - optional int32 team_id_start = 7; - optional int32 team_id_veto1 = 8; - optional int32 team_id_pickn = 9; - repeated .CDataGCCStrike15_v2_TournamentMatchDraft.Entry drafts = 10; - repeated int32 vote_mapid_0 = 11; - repeated int32 vote_mapid_1 = 12; - repeated int32 vote_mapid_2 = 13; - repeated int32 vote_mapid_3 = 14; - repeated int32 vote_mapid_4 = 15; - repeated int32 vote_mapid_5 = 16; - repeated int32 vote_starting_side = 17; - optional int32 vote_phase = 18; - optional float vote_phase_start = 19; - optional float vote_phase_length = 20; -} - -message CPreMatchInfoData { - message TeamStats { - optional int32 match_info_idxtxt = 1; - optional string match_info_txt = 2; - repeated string match_info_teams = 3; - } - - optional int32 predictions_pct = 1; - optional .CDataGCCStrike15_v2_TournamentMatchDraft draft = 4; - repeated .CPreMatchInfoData.TeamStats stats = 5; - repeated int32 wins = 6; -} - -message CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve { - repeated uint32 account_ids = 1; - optional uint32 game_type = 2; - optional uint64 match_id = 3; - optional uint32 server_version = 4; - optional uint32 flags = 18; - repeated .PlayerRankingInfo rankings = 5; - optional uint64 encryption_key = 6; - optional uint64 encryption_key_pub = 7; - repeated uint32 party_ids = 8; - repeated .IpAddressMask whitelist = 9; - optional uint64 tv_master_steamid = 10; - optional .TournamentEvent tournament_event = 11; - repeated .TournamentTeam tournament_teams = 12; - repeated uint32 tournament_casters_account_ids = 13; - optional uint64 tv_relay_steamid = 14; - optional .CPreMatchInfoData pre_match_data = 15; - optional uint32 tv_control = 17; - repeated .OperationalVarValue op_var_values = 19; - optional uint32 socache_control = 20; - repeated int32 teammate_colors = 21; - optional uint32 match_id_additional = 22; -} - -message CMsgGCCStrike15_v2_MatchmakingServerReservationResponse { - optional uint64 reservationid = 1; - optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; - optional string map = 3; - optional uint64 gc_reservation_sent = 4; - optional uint32 server_version = 5; - optional .ServerHltvInfo tv_info = 6; - repeated uint32 reward_player_accounts = 7; - repeated uint32 idle_player_accounts = 8; - optional uint32 reward_item_attr_def_idx = 9; - optional uint32 reward_item_attr_value = 10; - optional uint32 reward_item_attr_reward_idx = 11; - optional uint32 reward_drop_list = 12; - optional string tournament_tag = 13; - optional uint32 legacy_steamdatagram_port = 14; - optional uint32 steamdatagram_routing = 17; - optional fixed32 test_token = 15; - optional uint32 flags = 16; - optional uint32 system_load = 18; - optional uint32 cpus_online = 19; -} - -message CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve { - optional uint64 serverid = 1; - optional uint32 direct_udp_ip = 2; - optional uint32 direct_udp_port = 3; - optional uint64 reservationid = 4; - optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 5; - optional string map = 6; - optional string server_address = 7; - optional .DataCenterPing gs_ping = 8; - optional uint32 gs_location_id = 9; -} - -message CMsgGCCStrike15_v2_MatchmakingServerRoundStats { - message DropInfo { - optional uint32 account_mvp = 1; - } - - optional uint64 reservationid = 1; - optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; - optional string map = 3; - optional int32 round = 4; - repeated int32 kills = 5; - repeated int32 assists = 6; - repeated int32 deaths = 7; - repeated int32 scores = 8; - repeated int32 pings = 9; - optional int32 round_result = 10; - optional int32 match_result = 11; - repeated int32 team_scores = 12; - optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm confirm = 13; - optional int32 reservation_stage = 14; - optional int32 match_duration = 15; - repeated int32 enemy_kills = 16; - repeated int32 enemy_headshots = 17; - repeated int32 enemy_3ks = 18; - repeated int32 enemy_4ks = 19; - repeated int32 enemy_5ks = 20; - repeated int32 mvps = 21; - optional uint32 spectators_count = 22; - optional uint32 spectators_count_tv = 23; - optional uint32 spectators_count_lnk = 24; - repeated int32 enemy_kills_agg = 25; - optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo drop_info = 26; - optional bool b_switched_teams = 27; - repeated int32 enemy_2ks = 28; - repeated int32 player_spawned = 29; - repeated int32 team_spawn_count = 30; - optional uint32 max_rounds = 31; - optional int32 map_id = 32; -} - -message CMsgGCCStrike15_v2_MatchmakingClient2GCHello { -} - -message CMsgGCCStrike15_v2_MatchmakingGC2ClientHello { - optional uint32 account_id = 1; - optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve ongoingmatch = 2; - optional .GlobalStatistics global_stats = 3; - optional uint32 penalty_seconds = 4; - optional uint32 penalty_reason = 5; - optional int32 vac_banned = 6; - optional .PlayerRankingInfo ranking = 7; - optional .PlayerCommendationInfo commendation = 8; - optional .PlayerMedalsInfo medals = 9; - optional .TournamentEvent my_current_event = 10; - repeated .TournamentTeam my_current_event_teams = 11; - optional .TournamentTeam my_current_team = 12; - repeated .TournamentEvent my_current_event_stages = 13; - optional uint32 survey_vote = 14; - optional .AccountActivity activity = 15; - optional int32 player_level = 17; - optional int32 player_cur_xp = 18; - optional int32 player_xp_bonus_flags = 19; - repeated .PlayerRankingInfo rankings = 20; - optional uint64 owcaseid = 21; -} - -message CMsgGCCStrike15_v2_AccountPrivacySettings { - message Setting { - optional uint32 setting_type = 1; - optional uint32 setting_value = 2; - } - - repeated .CMsgGCCStrike15_v2_AccountPrivacySettings.Setting settings = 1; -} - -message CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon { - optional uint32 account_id = 1; - optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve abandoned_match = 2; - optional uint32 penalty_seconds = 3; - optional uint32 penalty_reason = 4; -} - -message CMsgGCCStrike15_v2_ClientGCRankUpdate { - repeated .PlayerRankingInfo rankings = 1; -} - -message CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate { - optional string main_post_url = 1; -} - -message CMsgGCCStrike15_v2_ServerNotificationForUserPenalty { - optional uint32 account_id = 1; - optional uint32 reason = 2; - optional uint32 seconds = 3; - optional bool communication_cooldown = 4; -} - -message CMsgGCCStrike15_v2_ClientReportPlayer { - optional uint32 account_id = 1; - optional uint32 rpt_aimbot = 2; - optional uint32 rpt_wallhack = 3; - optional uint32 rpt_speedhack = 4; - optional uint32 rpt_teamharm = 5; - optional uint32 rpt_textabuse = 6; - optional uint32 rpt_voiceabuse = 7; - optional uint64 match_id = 8; - optional bool report_from_demo = 9; -} - -message CMsgGCCStrike15_v2_ClientCommendPlayer { - optional uint32 account_id = 1; - optional uint64 match_id = 8; - optional .PlayerCommendationInfo commendation = 9; - optional uint32 tokens = 10; -} - -message CMsgGCCStrike15_v2_ClientReportServer { - optional uint32 rpt_poorperf = 1; - optional uint32 rpt_abusivemodels = 2; - optional uint32 rpt_badmotd = 3; - optional uint32 rpt_listingabuse = 4; - optional uint32 rpt_inventoryabuse = 5; - optional uint64 match_id = 8; -} - -message CMsgGCCStrike15_v2_ClientReportResponse { - optional uint64 confirmation_id = 1; - optional uint32 account_id = 2; - optional uint32 server_ip = 3; - optional uint32 response_type = 4; - optional uint32 response_result = 5; - optional uint32 tokens = 6; -} - -message CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends { - optional uint32 request_id = 1; - repeated uint32 account_ids = 2; - optional uint64 serverid = 3; - optional uint64 matchid = 4; - optional uint32 client_launcher = 5; - repeated .DataCenterPing data_center_pings = 6; -} - -message WatchableMatchInfo { - optional uint32 server_ip = 1; - optional uint32 tv_port = 2; - optional uint32 tv_spectators = 3; - optional uint32 tv_time = 4; - optional bytes tv_watch_password = 5; - optional uint64 cl_decryptdata_key = 6; - optional uint64 cl_decryptdata_key_pub = 7; - optional uint32 game_type = 8; - optional string game_mapgroup = 9; - optional string game_map = 10; - optional uint64 server_id = 11; - optional uint64 match_id = 12; - optional uint64 reservation_id = 13; -} - -message CMsgGCCStrike15_v2_ClientRequestJoinFriendData { - optional uint32 version = 1; - optional uint32 account_id = 2; - optional uint32 join_token = 3; - optional uint32 join_ipp = 4; - optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 5; - optional string errormsg = 6; -} - -message CMsgGCCStrike15_v2_ClientRequestJoinServerData { - optional uint32 version = 1; - optional uint32 account_id = 2; - optional uint64 serverid = 3; - optional uint32 server_ip = 4; - optional uint32 server_port = 5; - optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 6; - optional string errormsg = 7; -} - -message CMsgGCCstrike15_v2_ClientRedeemMissionReward { - optional uint32 campaign_id = 1; - optional uint32 redeem_id = 2; - optional uint32 redeemable_balance = 3; - optional uint32 expected_cost = 4; - optional int32 bid_control = 5; -} - -message CMsgGCCstrike15_v2_ClientRedeemFreeReward { - optional uint32 generation_time = 1; - optional uint32 redeemable_balance = 2; - repeated uint64 items = 3; -} - -message CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded { - repeated .XpProgressData xp_progress_data = 1; - optional uint32 account_id = 2; - optional uint32 current_xp = 3; - optional uint32 current_level = 4; - optional uint32 upgraded_defidx = 5; - optional uint32 operation_points_awarded = 6; - optional uint32 free_rewards = 7; - optional uint32 xp_trail_remaining = 8; - optional int32 xp_trail_xp_needed = 9; - optional uint32 xp_trail_level = 10; -} - -message CMsgGCCStrike15_v2_ClientNetworkConfig { - optional bytes data = 1; -} - -message CMsgGCCStrike15_ClientDeepStats { - message DeepStatsRange { - optional uint32 begin = 1; - optional uint32 end = 2; - optional bool frozen = 3; - } - - message DeepStatsMatch { - optional .DeepPlayerStatsEntry player = 1; - repeated .DeepPlayerMatchEvent events = 2; - } - - optional uint32 account_id = 1; - optional .CMsgGCCStrike15_ClientDeepStats.DeepStatsRange range = 2; - repeated .CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch matches = 3; -} - -message CMsgGCCStrike15_v2_WatchInfoUsers { - optional uint32 request_id = 1; - repeated uint32 account_ids = 2; - repeated .WatchableMatchInfo watchable_match_infos = 3; - optional uint32 extended_timeout = 5; -} - -message CMsgGCCStrike15_v2_ClientRequestPlayersProfile { - optional uint32 request_id__deprecated = 1; - repeated uint32 account_ids__deprecated = 2; - optional uint32 account_id = 3; - optional uint32 request_level = 4; -} - -message CMsgGCCStrike15_v2_PlayersProfile { - optional uint32 request_id = 1; - repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientHello account_profiles = 2; -} - -message CMsgGCCStrike15_v2_PremierSeasonSummary { - message DataPerWeek { - optional uint64 week_id = 1; - optional uint32 rank_id = 2; - optional uint32 matches_played = 3; - } - - message DataPerMap { - optional uint32 map_id = 1; - optional uint32 wins = 2; - optional uint32 ties = 3; - optional uint32 losses = 4; - optional uint32 rounds = 5; - optional uint32 kills = 6; - optional uint32 headshots = 7; - optional uint32 assists = 8; - optional uint32 deaths = 9; - optional uint32 mvps = 10; - optional uint32 rounds_3k = 11; - optional uint32 rounds_4k = 12; - optional uint32 rounds_5k = 13; - } - - optional uint32 account_id = 1; - optional uint32 season_id = 2; - repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek data_per_week = 3; - repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap data_per_map = 4; -} - -message CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate { - optional uint64 caseid = 1; - optional uint32 suspectid = 3; - optional uint32 fractionid = 4; - optional uint32 rpt_aimbot = 5; - optional uint32 rpt_wallhack = 6; - optional uint32 rpt_speedhack = 7; - optional uint32 rpt_teamharm = 8; - optional uint32 reason = 9; -} - -message CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment { - optional uint64 caseid = 1; - optional string caseurl = 2; - optional uint32 verdict = 3; - optional uint32 timestamp = 4; - optional uint32 throttleseconds = 5; - optional uint32 suspectid = 6; - optional uint32 fractionid = 7; - optional uint32 numrounds = 8; - optional uint32 fractionrounds = 9; - optional int32 streakconvictions = 10; - optional uint32 reason = 11; -} - -message CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus { - optional uint64 caseid = 1; - optional uint32 statusid = 2; -} - -message CClientHeaderOverwatchEvidence { - optional uint32 accountid = 1; - optional uint64 caseid = 2; -} - -message CMsgGCCStrike15_v2_GC2ClientTextMsg { - optional uint32 id = 1; - optional uint32 type = 2; - optional bytes payload = 3; -} - -message CMsgGCCStrike15_v2_Client2GCTextMsg { - optional uint32 id = 1; - repeated bytes args = 2; -} - -message CMsgGCCStrike15_v2_MatchEndRunRewardDrops { - optional .CMsgGCCStrike15_v2_MatchmakingServerReservationResponse serverinfo = 3; - optional .CMsgGC_ServerQuestUpdateData match_end_quest_data = 4; -} - -message CEconItemPreviewDataBlock { - message Sticker { - optional uint32 slot = 1; - optional uint32 sticker_id = 2; - optional float wear = 3; - optional float scale = 4; - optional float rotation = 5; - optional uint32 tint_id = 6; - optional float offset_x = 7; - optional float offset_y = 8; - optional float offset_z = 9; - optional uint32 pattern = 10; - optional uint32 highlight_reel = 11; - } - - optional uint32 accountid = 1; - optional uint64 itemid = 2; - optional uint32 defindex = 3; - optional uint32 paintindex = 4; - optional uint32 rarity = 5; - optional uint32 quality = 6; - optional uint32 paintwear = 7; - optional uint32 paintseed = 8; - optional uint32 killeaterscoretype = 9; - optional uint32 killeatervalue = 10; - optional string customname = 11; - repeated .CEconItemPreviewDataBlock.Sticker stickers = 12; - optional uint32 inventory = 13; - optional uint32 origin = 14; - optional uint32 questid = 15; - optional uint32 dropreason = 16; - optional uint32 musicindex = 17; - optional int32 entindex = 18; - optional uint32 petindex = 19; - repeated .CEconItemPreviewDataBlock.Sticker keychains = 20; - optional uint32 style = 21; - repeated .CEconItemPreviewDataBlock.Sticker variations = 22; - optional uint32 upgrade_level = 23; -} - -message CMsgGCCStrike15_v2_MatchEndRewardDropsNotification { - optional .CEconItemPreviewDataBlock iteminfo = 6; -} - -message CMsgItemAcknowledged { - optional .CEconItemPreviewDataBlock iteminfo = 1; -} - -message CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest { - optional uint64 param_s = 1; - optional uint64 param_a = 2; - optional uint64 param_d = 3; - optional uint64 param_m = 4; -} - -message CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse { - optional .CEconItemPreviewDataBlock iteminfo = 1; -} - -message CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames { -} - -message CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser { - optional uint32 accountid = 1; -} - -message CMsgGCCStrike15_v2_MatchListRequestRecentUserGames { - optional uint32 accountid = 1; -} - -message CMsgGCCStrike15_v2_MatchListRequestTournamentGames { - optional int32 eventid = 1; -} - -message CMsgGCCStrike15_v2_MatchListRequestFullGameInfo { - optional uint64 matchid = 1; - optional uint64 outcomeid = 2; - optional uint32 token = 3; -} - -message CDataGCCStrike15_v2_MatchInfo { - optional uint64 matchid = 1; - optional uint32 matchtime = 2; - optional .WatchableMatchInfo watchablematchinfo = 3; - optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstats_legacy = 4; - repeated .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstatsall = 5; -} - -message CDataGCCStrike15_v2_TournamentGroupTeam { - optional int32 team_id = 1; - optional int32 score = 2; - optional bool correctpick = 3; -} - -message CDataGCCStrike15_v2_TournamentGroup { - message Picks { - repeated int32 pickids = 1; - } - - optional uint32 groupid = 1; - optional string name = 2; - optional string desc = 3; - optional uint32 picks__deprecated = 4; - repeated .CDataGCCStrike15_v2_TournamentGroupTeam teams = 5; - repeated int32 stage_ids = 6; - optional uint32 picklockuntiltime = 7; - optional uint32 pickableteams = 8; - optional uint32 points_per_pick = 9; - repeated .CDataGCCStrike15_v2_TournamentGroup.Picks picks = 10; -} - -message CDataGCCStrike15_v2_TournamentSection { - optional uint32 sectionid = 1; - optional string name = 2; - optional string desc = 3; - repeated .CDataGCCStrike15_v2_TournamentGroup groups = 4; -} - -message CDataGCCStrike15_v2_TournamentInfo { - repeated .CDataGCCStrike15_v2_TournamentSection sections = 1; - optional .TournamentEvent tournament_event = 2; - repeated .TournamentTeam tournament_teams = 3; -} - -message CMsgGCCStrike15_v2_MatchList { - optional uint32 msgrequestid = 1; - optional uint32 accountid = 2; - optional uint32 servertime = 3; - repeated .CDataGCCStrike15_v2_MatchInfo matches = 4; - repeated .TournamentTeam streams = 5; - optional .CDataGCCStrike15_v2_TournamentInfo tournamentinfo = 6; -} - -message CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt { - optional int32 eventid = 1; - repeated .CDataGCCStrike15_v2_MatchInfo matches = 2; - optional uint32 accountid = 3; -} - -message CMsgGCCStrike15_v2_Predictions { - message GroupMatchTeamPick { - optional int32 sectionid = 1; - optional int32 groupid = 2; - optional int32 index = 3; - optional int32 teamid = 4; - optional uint64 itemid = 5; - } - - optional uint32 event_id = 1; - repeated .CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick group_match_team_picks = 2; -} - -message CMsgGCCStrike15_v2_Fantasy { - message FantasySlot { - optional int32 type = 1; - optional int32 pick = 2; - optional uint64 itemid = 3; - } - - message FantasyTeam { - optional int32 sectionid = 1; - repeated .CMsgGCCStrike15_v2_Fantasy.FantasySlot slots = 2; - } - - optional uint32 event_id = 1; - repeated .CMsgGCCStrike15_v2_Fantasy.FantasyTeam teams = 2; -} - -message CAttribute_String { - optional string value = 1; -} - -message CMsgLegacySource1ClientWelcome { - message Location { - optional float latitude = 1; - optional float longitude = 2; - optional string country = 3; - } - - optional uint32 version = 1; - optional bytes game_data = 2; - repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; - repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; - optional .CMsgLegacySource1ClientWelcome.Location location = 5; - optional bytes game_data2 = 6; - optional uint32 rtime32_gc_welcome_timestamp = 7; - optional uint32 currency = 8; - optional uint32 balance = 9; - optional string balance_url = 10; - optional string txn_country_code = 11; -} - -message CMsgCStrike15Welcome { - optional uint32 store_item_hash = 5; - optional uint32 timeplayedconsecutively = 6; - optional uint32 time_first_played = 10; - optional uint32 last_time_played = 12; - optional uint32 last_ip_address = 13; - optional uint64 gscookieid = 18; - optional uint64 uniqueid = 19; -} - -message CMsgGCCStrike15_v2_ClientVarValueNotificationInfo { - optional string value_name = 1; - optional int32 value_int = 2; - optional uint32 server_addr = 3; - optional uint32 server_port = 4; - repeated string choked_blocks = 5; -} - -message CMsgGCCStrike15_v2_ServerVarValueNotificationInfo { - optional uint32 accountid = 1; - repeated uint32 viewangles = 2; - optional uint32 type = 3; - repeated uint32 userdata = 4; -} - -message CMsgGCCStrike15_v2_GiftsLeaderboardRequest { -} - -message CMsgGCCStrike15_v2_GiftsLeaderboardResponse { - message GiftLeaderboardEntry { - optional uint32 accountid = 1; - optional uint32 gifts = 2; - } - - optional uint32 servertime = 1; - optional uint32 time_period_seconds = 2; - optional uint32 total_gifts_given = 3; - optional uint32 total_givers = 4; - repeated .CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry entries = 5; -} - -message CMsgGCCStrike15_v2_ClientSubmitSurveyVote { - optional uint32 survey_id = 1; - optional uint32 vote = 2; -} - -message CMsgGCCStrike15_v2_Server2GCClientValidate { - optional uint32 accountid = 1; -} - -message CMsgGCCStrike15_v2_GC2ClientTournamentInfo { - optional uint32 eventid = 1; - optional uint32 stageid = 2; - optional uint32 game_type = 3; - repeated uint32 teamids = 4; -} - -message CSOEconCoupon { - optional uint32 entryid = 1 [(key_field) = true]; - optional uint32 defidx = 2; - optional fixed32 expiration_date = 3; -} - -message CSOAccountItemPersonalStore { - optional uint32 generation_time = 1; - optional uint32 redeemable_balance = 2; - repeated uint64 items = 3; -} - -message CSOAccountXpShop { - optional uint32 generation_time = 1; - optional uint32 redeemable_balance = 2; - repeated uint32 xp_tracks = 3; -} - -message CSOAccountXpShopBids { - optional uint32 campaign_id = 1 [(key_field) = true]; - optional uint32 redeem_id = 2 [(key_field) = true]; - optional uint32 expected_cost = 3; - optional uint32 generation_time = 4; -} - -message CSOVolatileItemOffer { - optional uint32 defidx = 1 [(key_field) = true]; - repeated uint64 faux_itemid = 2; - repeated uint32 generation_time = 3; -} - -message CSOVolatileItemClaimedRewards { - optional uint32 defidx = 1 [(key_field) = true]; - repeated uint32 reward = 2; - repeated uint32 generation_time = 3; -} - -message CSOAccountKeychainRemoveToolCharges { - optional uint32 charges = 1; -} - -message CSOQuestProgress { - optional uint32 questid = 1 [(key_field) = true]; - optional uint32 points_remaining = 2; - optional uint32 bonus_points = 3; -} - -message CSOAccountSeasonalOperation { - optional uint32 season_value = 1 [(key_field) = true]; - optional uint32 tier_unlocked = 2; - optional uint32 premium_tiers = 3; - optional uint32 mission_id = 4; - optional uint32 missions_completed = 5; - optional uint32 redeemable_balance = 6; - optional uint32 season_pass_time = 7; -} - -message CSOAccountRecurringSubscription { - optional uint32 time_next_cycle = 1; - optional uint32 time_initiated = 2; -} - -message CSOGameAccountSteamChina { - optional uint32 time_last_update = 1; - optional uint32 time_comms_ban = 2; - optional uint32 time_play_ban = 3; -} - -message CSOPersonaDataPublic { - optional int32 player_level = 1; - optional .PlayerCommendationInfo commendation = 2; - optional bool elevated_state = 3; - optional uint32 xp_trail_timestamp_refresh = 4; - optional uint32 xp_trail_level = 5; -} - -message CSOAccountRecurringMission { - optional uint32 account_id = 1; - optional uint32 mission_id = 2; - optional uint32 period = 3; - optional uint32 progress = 4; -} - -message CMsgGCCStrike15_v2_GC2ClientNotifyXPShop { - optional .CSOAccountXpShop prematch = 1; - optional .CSOAccountXpShop postmatch = 2; - optional uint32 current_xp = 3; - optional uint32 current_level = 4; -} - -message CMsgGCCStrike15_v2_Client2GcAckXPShopTracks { -} - -message CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats { - optional uint32 gs_location_id = 1; - optional uint32 data_center_id = 2; - optional uint32 num_locked_in = 3; - optional uint32 num_found_nearby = 4; - optional uint32 note_level = 5; -} - -message CMsgGC_GlobalGame_Subscribe { - optional uint64 ticket = 1; -} - -message CMsgGC_GlobalGame_Unsubscribe { - optional int32 timeleft = 1; -} - -message CMsgGC_GlobalGame_Play { - optional uint64 ticket = 1; - optional uint32 gametimems = 2; - optional uint32 msperpoint = 3; -} - -message CMsgGCCStrike15_v2_AcknowledgePenalty { - optional int32 acknowledged = 1; -} - -message CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin { - optional uint32 defindex = 1; - optional uint64 upgradeid = 2; - optional uint32 hours = 3; - optional uint32 prestigetime = 4; -} - -message CMsgGCCStrike15_v2_Client2GCStreamUnlock { - optional uint64 ticket = 1; - optional int32 os = 2; -} - -message CMsgGCCStrike15_v2_ClientToGCRequestElevate { - optional uint32 stage = 1; -} - -message CMsgGCCStrike15_v2_ClientToGCChat { - optional uint64 match_id = 1; - optional string text = 2; -} - -message CMsgGCCStrike15_v2_GCToClientChat { - optional uint32 account_id = 1; - optional string text = 2; -} - -message CMsgGCCStrike15_v2_ClientAuthKeyCode { - optional uint32 eventid = 1; - optional string code = 2; -} - -message CMsgGCCStrike15_GotvSyncPacket { - optional .CEngineGotvSyncPacket data = 1; -} - -message PlayerDecalDigitalSignature { - optional bytes signature = 1; - optional uint32 accountid = 2; - optional uint32 rtime = 3; - repeated float endpos = 4; - repeated float startpos = 5; - repeated float left = 6; - optional uint32 tx_defidx = 7; - optional int32 entindex = 8; - optional uint32 hitbox = 9; - optional float creationtime = 10; - optional uint32 equipslot = 11; - optional uint32 trace_id = 12; - repeated float normal = 13; - optional uint32 tint_id = 14; -} - -message CMsgGCCStrike15_v2_ClientPlayerDecalSign { - optional .PlayerDecalDigitalSignature data = 1; - optional uint64 itemid = 2; -} - -message CMsgGCCStrike15_v2_BetaEnrollment { - optional uint32 eresult = 1; -} - -message CMsgGCCStrike15_v2_ClientLogonFatalError { - optional uint32 errorcode = 1; - optional string message = 2; - optional string country = 3; -} - -message CMsgGCCStrike15_v2_ClientPollState { - optional uint32 pollid = 1; - repeated string names = 2; - repeated int32 values = 3; -} - -message CMsgGCCStrike15_v2_Party_Register { - optional uint32 id = 1; - optional uint32 ver = 2; - optional uint32 apr = 3; - optional uint32 ark = 4; - optional uint32 nby = 5; - optional uint32 grp = 6; - optional uint32 slots = 7; - optional uint32 launcher = 8; - optional uint32 game_type = 9; -} - -message CMsgGCCStrike15_v2_Party_Search { - optional uint32 ver = 1; - optional uint32 apr = 2; - optional uint32 ark = 3; - repeated uint32 grps = 4; - optional uint32 launcher = 5; - optional uint32 game_type = 6; -} - -message CMsgGCCStrike15_v2_Party_SearchResults { - message Entry { - optional uint32 id = 1; - optional uint32 grp = 2; - optional uint32 game_type = 3; - optional uint32 apr = 4; - optional uint32 ark = 5; - optional uint32 loc = 6; - optional uint32 accountid = 7; - } - - repeated .CMsgGCCStrike15_v2_Party_SearchResults.Entry entries = 1; -} - -message CMsgGCCStrike15_v2_Party_Invite { - optional uint32 accountid = 1; - optional uint32 lobbyid = 2; -} - -message CMsgGCCStrike15_v2_Account_RequestCoPlays { - message Player { - optional uint32 accountid = 1; - optional uint32 rtcoplay = 2; - optional bool online = 3; - } - - repeated .CMsgGCCStrike15_v2_Account_RequestCoPlays.Player players = 1; - optional uint32 servertime = 2; -} - -message CMsgGCCStrike15_v2_ClientToGCRequestTicket { - optional fixed64 authorized_steam_id = 1; - optional fixed32 authorized_public_ip = 2; - optional fixed64 gameserver_steam_id = 3; - optional string gameserver_sdr_routing = 5; -} - -message CMsgGCToClientSteamDatagramTicket { - optional bytes serialized_ticket = 16; -} - -message CMsgGCCStrike15_v2_ClientRequestOffers { -} - -message CMsgGCCStrike15_v2_ClientRequestSouvenir { - optional uint64 itemid = 1; - optional uint64 matchid = 2; - optional int32 eventid = 3; -} - -message CMsgGCCStrike15_v2_ClientAccountBalance { - optional uint64 amount = 1; - optional string url = 2; -} - -message CMsgGCCStrike15_v2_ClientPartyJoinRelay { - optional uint32 accountid = 1; - optional uint64 lobbyid = 2; -} - -message CMsgGCCStrike15_v2_ClientPartyWarning { - message Entry { - optional uint32 accountid = 1; - optional uint32 warntype = 2; - } - - repeated .CMsgGCCStrike15_v2_ClientPartyWarning.Entry entries = 1; -} - -message CMsgGCCStrike15_v2_SetEventFavorite { - optional uint64 eventid = 1; - optional bool is_favorite = 2; -} - -message CMsgGCCStrike15_v2_GetEventFavorites_Request { - optional bool all_events = 1; -} - -message CMsgGCCStrike15_v2_GetEventFavorites_Response { - optional bool all_events = 1; - optional string json_favorites = 2; - optional string json_featured = 3; -} - -message CMsgGCCStrike15_v2_ClientPerfReport { - message Entry { - optional uint32 perfcounter = 1; - optional uint32 length = 2; - optional bytes reference = 3; - optional bytes actual = 4; - optional uint32 sourceid = 5; - optional uint32 status = 6; - } - - repeated .CMsgGCCStrike15_v2_ClientPerfReport.Entry entries = 1; -} - -message CVDiagnostic { - optional uint32 id = 1; - optional uint32 extended = 2; - optional uint64 value = 3; - optional string string_value = 4; -} - -message CMsgGCCStrike15_v2_ClientReportValidation { - optional string file_report = 1; - optional string command_line = 2; - optional uint32 total_files = 3; - optional uint32 internal_error = 4; - optional uint32 trust_time = 5; - optional uint32 count_pending = 6; - optional uint32 count_completed = 7; - optional uint32 process_id = 8; - optional int32 osversion = 9; - optional uint32 clientreportversion = 10; - optional uint32 status_id = 11; - optional uint32 diagnostic1 = 12; - optional uint64 diagnostic2 = 13; - optional uint64 diagnostic3 = 14; - optional string last_launch_data = 15; - optional uint32 report_count = 16; - optional uint64 client_time = 17; - optional uint64 diagnostic4 = 18; - optional uint64 diagnostic5 = 19; - repeated .CVDiagnostic diagnostics = 20; -} - -message CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode { - optional string file_report = 1; - optional bool offer_insecure_mode = 2; - optional bool offer_secure_mode = 3; - optional bool show_unsigned_ui = 4; - optional bool kick_user = 5; - optional bool show_trusted_ui = 6; - optional bool show_warning_not_trusted = 7; - optional bool show_warning_not_trusted_2 = 8; - optional string files_prevented_trusted = 9; -} - -message CMsgGCCStrike15_v2_GC2ClientRequestValidation { - optional bool full_report = 1; - optional string module = 2; -} - -message CMsgGCCStrike15_v2_GC2ClientInitSystem { - optional bool load = 1; - optional string name = 2; - optional string outputname = 3; - optional bytes key_data = 4; - optional bytes sha_hash = 5; - optional int32 cookie = 6; - optional string manifest = 7; - optional bytes system_package = 8; - optional bool load_system = 9; -} - -message CMsgGCCStrike15_v2_GC2ClientInitSystem_Response { - optional bool success = 1; - optional string diagnostic = 2; - optional bytes sha_hash = 3; - optional int32 response = 4; - optional int32 error_code1 = 5; - optional int32 error_code2 = 6; - optional int64 handle = 7; - optional .EInitSystemResult einit_result = 8 [default = k_EInitSystemResult_Invalid]; - optional int32 aux_system1 = 9; - optional int32 aux_system2 = 10; -} - -message CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName { - optional string leaderboard_safe_name = 1; -} - -message CMsgRequestRecurringMissionSchedule { -} - -message CMsgRecurringMissionSchema { - message MissionTemplateList { - optional uint32 period = 1; - repeated bytes mission_templates = 2; - } - - repeated .CMsgRecurringMissionSchema.MissionTemplateList missions = 1; -} diff --git a/protobuf/cstrike15_usermessages.proto b/protobuf/cstrike15_usermessages.proto deleted file mode 100644 index 0902776b9..000000000 --- a/protobuf/cstrike15_usermessages.proto +++ /dev/null @@ -1,621 +0,0 @@ -import "networkbasetypes.proto"; -import "cstrike15_gcmessages.proto"; - -enum ECstrike15UserMessages { - CS_UM_VGUIMenu = 301; - CS_UM_Geiger = 302; - CS_UM_Train = 303; - CS_UM_HudText = 304; - CS_UM_SayText = 305; - CS_UM_SayText2 = 306; - CS_UM_TextMsg = 307; - CS_UM_HudMsg = 308; - CS_UM_ResetHud = 309; - CS_UM_GameTitle = 310; - CS_UM_Shake = 312; - CS_UM_Fade = 313; - CS_UM_Rumble = 314; - CS_UM_CloseCaption = 315; - CS_UM_CloseCaptionDirect = 316; - CS_UM_SendAudio = 317; - CS_UM_RawAudio = 318; - CS_UM_VoiceMask = 319; - CS_UM_RequestState = 320; - CS_UM_Damage = 321; - CS_UM_RadioText = 322; - CS_UM_HintText = 323; - CS_UM_KeyHintText = 324; - CS_UM_ProcessSpottedEntityUpdate = 325; - CS_UM_ReloadEffect = 326; - CS_UM_AdjustMoney = 327; - CS_UM_UpdateTeamMoney = 328; - CS_UM_StopSpectatorMode = 329; - CS_UM_KillCam = 330; - CS_UM_DesiredTimescale = 331; - CS_UM_CurrentTimescale = 332; - CS_UM_AchievementEvent = 333; - CS_UM_MatchEndConditions = 334; - CS_UM_DisconnectToLobby = 335; - CS_UM_PlayerStatsUpdate = 336; - CS_UM_ClientInfo = 339; - CS_UM_XRankGet = 340; - CS_UM_XRankUpd = 341; - CS_UM_CallVoteFailed = 345; - CS_UM_VoteStart = 346; - CS_UM_VotePass = 347; - CS_UM_VoteFailed = 348; - CS_UM_VoteSetup = 349; - CS_UM_ServerRankRevealAll = 350; - CS_UM_SendLastKillerDamageToClient = 351; - CS_UM_ServerRankUpdate = 352; - CS_UM_ItemPickup = 353; - CS_UM_ShowMenu = 354; - CS_UM_BarTime = 355; - CS_UM_AmmoDenied = 356; - CS_UM_MarkAchievement = 357; - CS_UM_MatchStatsUpdate = 358; - CS_UM_ItemDrop = 359; - CS_UM_SendPlayerItemDrops = 361; - CS_UM_RoundBackupFilenames = 362; - CS_UM_SendPlayerItemFound = 363; - CS_UM_ReportHit = 364; - CS_UM_XpUpdate = 365; - CS_UM_QuestProgress = 366; - CS_UM_ScoreLeaderboardData = 367; - CS_UM_PlayerDecalDigitalSignature = 368; - CS_UM_WeaponSound = 369; - CS_UM_UpdateScreenHealthBar = 370; - CS_UM_EntityOutlineHighlight = 371; - CS_UM_SSUI = 372; - CS_UM_SurvivalStats = 373; - CS_UM_DisconnectToLobby2 = 374; - CS_UM_EndOfMatchAllPlayersData = 375; - CS_UM_PostRoundDamageReport = 376; - CS_UM_RoundEndReportData = 379; - CS_UM_CurrentRoundOdds = 380; - CS_UM_DeepStats = 381; - CS_UM_ShootInfo = 383; - CS_UM_CounterStrafe = 385; - CS_UM_DamagePrediction = 386; - CS_UM_RecurringMissionSchema = 387; - CS_UM_SendPlayerLoadout = 388; -} - -enum ECSUsrMsg_DisconnectToLobby_Action { - k_ECSUsrMsg_DisconnectToLobby_Action_Default = 0; - k_ECSUsrMsg_DisconnectToLobby_Action_GoQueue = 1; -} - -message CCSUsrMsg_VGUIMenu { - message Keys { - optional string name = 1; - optional string value = 2; - } - - optional string name = 1; - optional bool show = 2; - repeated .CCSUsrMsg_VGUIMenu.Keys keys = 3; -} - -message CCSUsrMsg_Geiger { - optional int32 range = 1; -} - -message CCSUsrMsg_Train { - optional int32 train = 1; -} - -message CCSUsrMsg_HudText { - optional string text = 1; -} - -message CCSUsrMsg_HudMsg { - optional int32 channel = 1; - optional .CMsgVector2D pos = 2; - optional .CMsgRGBA clr1 = 3; - optional .CMsgRGBA clr2 = 4; - optional int32 effect = 5; - optional float fade_in_time = 6; - optional float fade_out_time = 7; - optional float hold_time = 9; - optional float fx_time = 10; - optional string text = 11; -} - -message CCSUsrMsg_Shake { - optional int32 command = 1; - optional float local_amplitude = 2; - optional float frequency = 3; - optional float duration = 4; -} - -message CCSUsrMsg_Fade { - optional int32 duration = 1; - optional int32 hold_time = 2; - optional int32 flags = 3; - optional .CMsgRGBA clr = 4; -} - -message CCSUsrMsg_Rumble { - optional int32 index = 1; - optional int32 data = 2; - optional int32 flags = 3; -} - -message CCSUsrMsg_CloseCaption { - optional uint32 hash = 1; - optional int32 duration = 2; - optional bool from_player = 3; - optional string cctoken = 4; -} - -message CCSUsrMsg_CloseCaptionDirect { - optional uint32 hash = 1; - optional int32 duration = 2; - optional bool from_player = 3; -} - -message CCSUsrMsg_SendAudio { - optional string radio_sound = 1; -} - -message CCSUsrMsg_RawAudio { - optional int32 pitch = 1; - optional int32 entidx = 2 [default = -1]; - optional float duration = 3; - optional string voice_filename = 4; -} - -message CCSUsrMsg_VoiceMask { - message PlayerMask { - optional int32 game_rules_mask = 1; - optional int32 ban_masks = 2; - } - - repeated .CCSUsrMsg_VoiceMask.PlayerMask player_masks = 1; - optional bool player_mod_enable = 2; -} - -message CCSUsrMsg_Damage { - optional int32 amount = 1; - optional .CMsgVector inflictor_world_pos = 2; - optional int32 victim_entindex = 3 [default = -1]; -} - -message CCSUsrMsg_RadioText { - optional int32 msg_dst = 1; - optional int32 client = 2 [default = -1]; - optional string msg_name = 3; - repeated string params = 4; -} - -message CCSUsrMsg_HintText { - optional string message = 1; -} - -message CCSUsrMsg_KeyHintText { - repeated string messages = 1; -} - -message CCSUsrMsg_ProcessSpottedEntityUpdate { - message SpottedEntityUpdate { - optional int32 entity_idx = 1 [default = -1]; - optional int32 class_id = 2; - optional int32 origin_x = 3; - optional int32 origin_y = 4; - optional int32 origin_z = 5; - optional int32 angle_y = 6; - optional bool defuser = 7; - optional bool player_has_defuser = 8; - optional bool player_has_c4 = 9; - } - - optional bool new_update = 1; - repeated .CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate entity_updates = 2; -} - -message CCSUsrMsg_SendPlayerItemDrops { - repeated .CEconItemPreviewDataBlock entity_updates = 1; -} - -message CCSUsrMsg_SendPlayerItemFound { - optional .CEconItemPreviewDataBlock iteminfo = 1; - optional int32 playerslot = 2 [default = -1]; -} - -message CCSUsrMsg_ReloadEffect { - optional int32 entidx = 1 [default = -1]; - optional int32 actanim = 2; - optional float origin_x = 3; - optional float origin_y = 4; - optional float origin_z = 5; -} - -message CCSUsrMsg_WeaponSound { - optional int32 entidx = 1 [default = -1]; - optional float origin_x = 2; - optional float origin_y = 3; - optional float origin_z = 4; - optional string sound = 5; - optional float game_timestamp = 6; - optional fixed32 source_soundscapeid = 7; -} - -message CCSUsrMsg_UpdateScreenHealthBar { - optional int32 entidx = 1 [default = -1]; - optional float healthratio_old = 2; - optional float healthratio_new = 3; - optional int32 style = 4; -} - -message CCSUsrMsg_EntityOutlineHighlight { - optional int32 entidx = 1 [default = -1]; - optional bool removehighlight = 2; -} - -message CCSUsrMsg_AdjustMoney { - optional int32 amount = 1; -} - -message CCSUsrMsg_ReportHit { - optional float pos_x = 1; - optional float pos_y = 2; - optional float timestamp = 4; - optional float pos_z = 3; -} - -message CCSUsrMsg_KillCam { - optional int32 obs_mode = 1; - optional int32 first_target = 2 [default = -1]; - optional int32 second_target = 3 [default = -1]; -} - -message CCSUsrMsg_DesiredTimescale { - optional float desired_timescale = 1; - optional float duration_realtime_sec = 2; - optional int32 interpolator_type = 3; - optional float start_blend_time = 4; -} - -message CCSUsrMsg_CurrentTimescale { - optional float cur_timescale = 1; -} - -message CCSUsrMsg_AchievementEvent { - optional int32 achievement = 1; - optional int32 count = 2; - optional int32 user_id = 3; -} - -message CCSUsrMsg_MatchEndConditions { - optional int32 fraglimit = 1; - optional int32 mp_maxrounds = 2; - optional int32 mp_winlimit = 3; - optional float mp_timelimit = 4; -} - -message CCSUsrMsg_PlayerStatsUpdate { - message Stat { - optional int32 idx = 1; - optional int32 delta = 2; - } - - optional int32 version = 1; - repeated .CCSUsrMsg_PlayerStatsUpdate.Stat stats = 4; - optional uint32 ehandle = 5; - optional int32 crc = 6; -} - -message CCSUsrMsg_QuestProgress { - optional uint32 quest_id = 1; - optional uint32 normal_points = 2; - optional uint32 bonus_points = 3; - optional bool is_event_quest = 4; -} - -message CCSUsrMsg_ScoreLeaderboardData { - optional .ScoreLeaderboardData data = 1; -} - -message CCSUsrMsg_PlayerDecalDigitalSignature { - optional .PlayerDecalDigitalSignature data = 1; -} - -message CCSUsrMsg_XRankGet { - optional int32 mode_idx = 1; - optional int32 controller = 2; -} - -message CCSUsrMsg_XRankUpd { - optional int32 mode_idx = 1; - optional int32 controller = 2; - optional int32 ranking = 3; -} - -message CCSUsrMsg_CallVoteFailed { - optional int32 reason = 1; - optional int32 time = 2; -} - -message CCSUsrMsg_VoteStart { - optional int32 team = 1; - optional int32 player_slot = 2 [default = -1]; - optional int32 vote_type = 3; - optional string disp_str = 4; - optional string details_str = 5; - optional string other_team_str = 6; - optional bool is_yes_no_vote = 7; - optional int32 player_slot_target = 8 [default = -1]; -} - -message CCSUsrMsg_VotePass { - optional int32 team = 1; - optional int32 vote_type = 2; - optional string disp_str = 3; - optional string details_str = 4; -} - -message CCSUsrMsg_VoteFailed { - optional int32 team = 1; - optional int32 reason = 2; -} - -message CCSUsrMsg_VoteSetup { - repeated string potential_issues = 1; -} - -message CCSUsrMsg_SendLastKillerDamageToClient { - optional int32 num_hits_given = 1; - optional int32 damage_given = 2; - optional int32 num_hits_taken = 3; - optional int32 damage_taken = 4; - optional int32 actual_damage_given = 5; - optional int32 actual_damage_taken = 6; -} - -message CCSUsrMsg_ServerRankUpdate { - message RankUpdate { - optional int32 account_id = 1; - optional int32 rank_old = 2; - optional int32 rank_new = 3; - optional int32 num_wins = 4; - optional float rank_change = 5; - optional int32 rank_type_id = 6; - } - - repeated .CCSUsrMsg_ServerRankUpdate.RankUpdate rank_update = 1; -} - -message CCSUsrMsg_XpUpdate { - optional .CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded data = 1; -} - -message CCSUsrMsg_ItemPickup { - optional string item = 1; -} - -message CCSUsrMsg_ShowMenu { - optional int32 bits_valid_slots = 1; - optional int32 display_time = 2; - optional string menu_string = 3; -} - -message CCSUsrMsg_BarTime { - optional string time = 1; -} - -message CCSUsrMsg_AmmoDenied { - optional int32 ammoidx = 1; -} - -message CCSUsrMsg_MarkAchievement { - optional string achievement = 1; -} - -message CCSUsrMsg_MatchStatsUpdate { - optional string update = 1; -} - -message CCSUsrMsg_ItemDrop { - optional int64 itemid = 1; - optional bool death = 2; -} - -message CCSUsrMsg_RoundBackupFilenames { - optional int32 count = 1; - optional int32 index = 2; - optional string filename = 3; - optional string nicename = 4; -} - -message CCSUsrMsg_SSUI { - optional bool show = 1; - optional float start_time = 2; - optional float end_time = 3; -} - -message CCSUsrMsg_SurvivalStats { - message Fact { - optional int32 type = 1; - optional int32 display = 2; - optional int32 value = 3; - optional float interestingness = 4; - } - - message Placement { - optional uint64 xuid = 1; - optional int32 teamnumber = 2; - optional int32 placement = 3; - } - - message Damage { - optional uint64 xuid = 1; - optional int32 to = 2; - optional int32 to_hits = 3; - optional int32 from = 4; - optional int32 from_hits = 5; - } - - optional uint64 xuid = 1; - repeated .CCSUsrMsg_SurvivalStats.Fact facts = 2; - repeated .CCSUsrMsg_SurvivalStats.Placement users = 3; - repeated .CCSUsrMsg_SurvivalStats.Damage damages = 5; - optional int32 ticknumber = 4; -} - -message CCSUsrMsg_EndOfMatchAllPlayersData { - message Accolade { - optional int32 eaccolade = 1; - optional float value = 2; - optional int32 position = 3; - } - - message PlayerData { - optional int32 slot = 1 [default = -1]; - optional uint64 xuid = 2; - optional string name = 3; - optional int32 teamnumber = 4; - optional .CCSUsrMsg_EndOfMatchAllPlayersData.Accolade nomination = 5; - repeated .CEconItemPreviewDataBlock items = 6; - optional int32 playercolor = 7; - optional bool isbot = 8; - } - - repeated .CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData allplayerdata = 1; - optional int32 scene = 2; -} - -message CCSUsrMsg_RoundEndReportData { - message RerEvent { - message Victim { - optional int32 team_number = 1; - optional int32 playerslot = 2 [default = -1]; - optional uint64 xuid = 3; - optional int32 color = 4; - optional bool is_bot = 5; - optional bool is_dead = 6; - } - - message Objective { - optional int32 type = 1; - } - - message Damage { - optional int32 other_playerslot = 1 [default = -1]; - optional uint64 other_xuid = 2; - optional int32 health_removed = 3; - optional int32 num_hits = 4; - optional int32 return_health_removed = 5; - optional int32 return_num_hits = 6; - } - - optional float timestamp = 1; - optional int32 terrorist_odds = 2; - optional int32 ct_alive = 3; - optional int32 t_alive = 4; - optional .CCSUsrMsg_RoundEndReportData.RerEvent.Victim victim_data = 5; - optional .CCSUsrMsg_RoundEndReportData.RerEvent.Objective objective_data = 6; - repeated .CCSUsrMsg_RoundEndReportData.RerEvent.Damage all_damage_data = 7; - } - - message InitialConditions { - optional int32 ct_equip_value = 1; - optional int32 t_equip_value = 2; - optional int32 terrorist_odds = 3; - } - - optional .CCSUsrMsg_RoundEndReportData.InitialConditions init_conditions = 1; - repeated .CCSUsrMsg_RoundEndReportData.RerEvent all_rer_event_data = 2; -} - -message CCSUsrMsg_PostRoundDamageReport { - optional uint64 other_xuid = 1; - optional int32 given_kill_type = 2; - optional int32 given_health_removed = 3; - optional int32 given_num_hits = 4; - optional int32 taken_kill_type = 5; - optional int32 taken_health_removed = 6; - optional int32 taken_num_hits = 7; -} - -message CCSUsrMsg_CurrentRoundOdds { - optional int32 odds = 1; -} - -message CCSUsrMsg_DeepStats { - optional .CMsgGCCStrike15_ClientDeepStats stats = 1; -} - -message CCSUsrMsg_ShootInfo { - optional int32 frame_number = 1; - repeated .CMsgTransform hitbox_transforms = 2; - optional .CMsgVector shoot_pos = 3; - optional .CMsgQAngle shoot_dir = 4; -} - -message CCSUsrMsg_ResetHud { - optional bool reset = 1; -} - -message CCSUsrMsg_GameTitle { - optional int32 dummy = 1; -} - -message CCSUsrMsg_RequestState { - optional int32 dummy = 1; -} - -message CCSUsrMsg_StopSpectatorMode { - optional int32 dummy = 1; -} - -message CCSUsrMsg_DisconnectToLobby { - optional int32 dummy = 1; -} - -message CCSUsrMsg_ClientInfo { - optional int32 dummy = 1; -} - -message CCSUsrMsg_ServerRankRevealAll { - optional int32 seconds_till_shutdown = 1; - optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; -} - -message CCSUsrMsgPreMatchSayText { - optional uint32 account_id = 1; - optional string text = 2; - optional bool all_chat = 3; -} - -message CCSUsrMsg_CounterStrafe { - optional int32 press_to_release_ns = 1; - optional int32 total_keys_down = 2; -} - -message CCSUsrMsg_DamagePrediction { - optional int32 command_num = 1; - optional int32 pellet_idx = 2; - optional int32 victim_slot = 3; - optional int32 victim_starting_health = 4; - optional int32 victim_damage = 5; - optional .CMsgVector shoot_pos = 6; - optional .CMsgQAngle shoot_dir = 7; - optional .CMsgQAngle aim_punch = 8; -} - -message CCSUsrMsg_RecurringMissionSchema { - optional uint32 period = 1; - optional bytes mission_schema = 2; -} - -message CCSUsrMsg_SendPlayerLoadout { - message LoadoutItem { - optional .CEconItemPreviewDataBlock econ_item = 1; - optional int32 team = 2; - optional int32 slot = 3; - } - - repeated .CCSUsrMsg_SendPlayerLoadout.LoadoutItem loadout = 1; - optional int32 playerslot = 2 [default = -1]; -} diff --git a/protobuf/demo.proto b/protobuf/demo.proto deleted file mode 100644 index e3ff9ca0a..000000000 --- a/protobuf/demo.proto +++ /dev/null @@ -1,184 +0,0 @@ -enum EDemoCommands { - DEM_Error = -1; - DEM_Stop = 0; - DEM_FileHeader = 1; - DEM_FileInfo = 2; - DEM_SyncTick = 3; - DEM_SendTables = 4; - DEM_ClassInfo = 5; - DEM_StringTables = 6; - DEM_Packet = 7; - DEM_SignonPacket = 8; - DEM_ConsoleCmd = 9; - DEM_CustomData = 10; - DEM_CustomDataCallbacks = 11; - DEM_UserCmd = 12; - DEM_FullPacket = 13; - DEM_SaveGame = 14; - DEM_SpawnGroups = 15; - DEM_AnimationData = 16; - DEM_AnimationHeader = 17; - DEM_Recovery = 18; - DEM_Max = 19; - DEM_IsCompressed = 64; -} - -message CDemoFileHeader { - required string demo_file_stamp = 1; - optional int32 network_protocol = 2; - optional string server_name = 3; - optional string client_name = 4; - optional string map_name = 5; - optional string game_directory = 6; - optional int32 fullpackets_version = 7; - optional bool allow_clientside_entities = 8; - optional bool allow_clientside_particles = 9; - optional string addons = 10; - optional string demo_version_name = 11; - optional string demo_version_guid = 12; - optional int32 build_num = 13; - optional string game = 14; - optional int32 server_start_tick = 15; -} - -message CGameInfo { - message CDotaGameInfo { - message CPlayerInfo { - optional string hero_name = 1; - optional string player_name = 2; - optional bool is_fake_client = 3; - optional uint64 steamid = 4; - optional int32 game_team = 5; - } - - message CHeroSelectEvent { - optional bool is_pick = 1; - optional uint32 team = 2; - optional int32 hero_id = 3; - } - - optional uint64 match_id = 1; - optional int32 game_mode = 2; - optional int32 game_winner = 3; - repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4; - optional uint32 leagueid = 5; - repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6; - optional uint32 radiant_team_id = 7; - optional uint32 dire_team_id = 8; - optional string radiant_team_tag = 9; - optional string dire_team_tag = 10; - optional uint32 end_time = 11; - } - - message CCSGameInfo { - repeated int32 round_start_ticks = 1; - } - - optional .CGameInfo.CDotaGameInfo dota = 4; - optional .CGameInfo.CCSGameInfo cs = 5; -} - -message CDemoFileInfo { - optional float playback_time = 1; - optional int32 playback_ticks = 2; - optional int32 playback_frames = 3; - optional .CGameInfo game_info = 4; -} - -message CDemoPacket { - optional bytes data = 3; -} - -message CDemoFullPacket { - optional .CDemoStringTables string_table = 1; - optional .CDemoPacket packet = 2; -} - -message CDemoSaveGame { - optional bytes data = 1; - optional fixed64 steam_id = 2; - optional fixed64 signature = 3; - optional int32 version = 4; -} - -message CDemoSyncTick { -} - -message CDemoConsoleCmd { - optional string cmdstring = 1; -} - -message CDemoSendTables { - optional bytes data = 1; -} - -message CDemoClassInfo { - message class_t { - optional int32 class_id = 1; - optional string network_name = 2; - optional string table_name = 3; - } - - repeated .CDemoClassInfo.class_t classes = 1; -} - -message CDemoCustomData { - optional int32 callback_index = 1; - optional bytes data = 2; -} - -message CDemoCustomDataCallbacks { - repeated string save_id = 1; -} - -message CDemoAnimationHeader { - optional sint32 entity_id = 1; - optional int32 tick = 2; - optional bytes data = 3; -} - -message CDemoAnimationData { - optional sint32 entity_id = 1; - optional int32 start_tick = 2; - optional int32 end_tick = 3; - optional bytes data = 4; - optional int64 data_checksum = 5; -} - -message CDemoStringTables { - message items_t { - optional string str = 1; - optional bytes data = 2; - } - - message table_t { - optional string table_name = 1; - repeated .CDemoStringTables.items_t items = 2; - repeated .CDemoStringTables.items_t items_clientside = 3; - optional int32 table_flags = 4; - } - - repeated .CDemoStringTables.table_t tables = 1; -} - -message CDemoStop { -} - -message CDemoUserCmd { - optional int32 cmd_number = 1; - optional bytes data = 2; -} - -message CDemoSpawnGroups { - repeated bytes msgs = 3; -} - -message CDemoRecovery { - message DemoInitialSpawnGroupEntry { - optional uint32 spawngrouphandle = 1; - optional bool was_created = 2; - } - - optional .CDemoRecovery.DemoInitialSpawnGroupEntry initial_spawn_group = 1; - optional bytes spawn_group_message = 2; -} diff --git a/protobuf/econ_gcmessages.proto b/protobuf/econ_gcmessages.proto deleted file mode 100644 index 42d0aa1fd..000000000 --- a/protobuf/econ_gcmessages.proto +++ /dev/null @@ -1,233 +0,0 @@ -import "steammessages.proto"; - -enum EGCItemMsg { - k_EMsgGCBase = 1000; - k_EMsgGCSetItemPosition = 1001; - k_EMsgGCCraft = 1002; - k_EMsgGCCraftResponse = 1003; - k_EMsgGCDelete = 1004; - k_EMsgGCVerifyCacheSubscription = 1005; - k_EMsgGCNameItem = 1006; - k_EMsgGCUnlockCrate_DEPRECATED = 1007; - k_EMsgGCUnlockCrateResponse = 1008; - k_EMsgGCPaintItem = 1009; - k_EMsgGCPaintItemResponse = 1010; - k_EMsgGCGoldenWrenchBroadcast = 1011; - k_EMsgGCMOTDRequest = 1012; - k_EMsgGCMOTDRequestResponse = 1013; - k_EMsgGCAddItemToSocket_DEPRECATED = 1014; - k_EMsgGCAddItemToSocketResponse_DEPRECATED = 1015; - k_EMsgGCAddSocketToBaseItem_DEPRECATED = 1016; - k_EMsgGCAddSocketToItem_DEPRECATED = 1017; - k_EMsgGCAddSocketToItemResponse_DEPRECATED = 1018; - k_EMsgGCNameBaseItem = 1019; - k_EMsgGCNameBaseItemResponse = 1020; - k_EMsgGCRemoveSocketItem_DEPRECATED = 1021; - k_EMsgGCRemoveSocketItemResponse_DEPRECATED = 1022; - k_EMsgGCCustomizeItemTexture = 1023; - k_EMsgGCCustomizeItemTextureResponse = 1024; - k_EMsgGCUseItemRequest = 1025; - k_EMsgGCUseItemResponse = 1026; - k_EMsgGCGiftedItems_DEPRECATED = 1027; - k_EMsgGCRemoveItemName = 1030; - k_EMsgGCRemoveItemPaint = 1031; - k_EMsgGCGiftWrapItem = 1032; - k_EMsgGCGiftWrapItemResponse = 1033; - k_EMsgGCDeliverGift = 1034; - k_EMsgGCDeliverGiftResponseGiver = 1035; - k_EMsgGCDeliverGiftResponseReceiver = 1036; - k_EMsgGCUnwrapGiftRequest = 1037; - k_EMsgGCUnwrapGiftResponse = 1038; - k_EMsgGCSetItemStyle = 1039; - k_EMsgGCUsedClaimCodeItem = 1040; - k_EMsgGCSortItems = 1041; - k_EMsgGC_RevolvingLootList_DEPRECATED = 1042; - k_EMsgGCLookupAccount = 1043; - k_EMsgGCLookupAccountResponse = 1044; - k_EMsgGCLookupAccountName = 1045; - k_EMsgGCLookupAccountNameResponse = 1046; - k_EMsgGCUpdateItemSchema = 1049; - k_EMsgGCRemoveCustomTexture = 1051; - k_EMsgGCRemoveCustomTextureResponse = 1052; - k_EMsgGCRemoveMakersMark = 1053; - k_EMsgGCRemoveMakersMarkResponse = 1054; - k_EMsgGCRemoveUniqueCraftIndex = 1055; - k_EMsgGCRemoveUniqueCraftIndexResponse = 1056; - k_EMsgGCSaxxyBroadcast = 1057; - k_EMsgGCBackpackSortFinished = 1058; - k_EMsgGCCollectItem = 1061; - k_EMsgGCItemAcknowledged__DEPRECATED = 1062; - k_EMsgGC_ReportAbuse = 1065; - k_EMsgGC_ReportAbuseResponse = 1066; - k_EMsgGCNameItemNotification = 1068; - k_EMsgGCApplyConsumableEffects = 1069; - k_EMsgGCConsumableExhausted = 1070; - k_EMsgGCShowItemsPickedUp = 1071; - k_EMsgGCClientDisplayNotification = 1072; - k_EMsgGCApplyStrangePart = 1073; - k_EMsgGC_IncrementKillCountAttribute = 1074; - k_EMsgGC_IncrementKillCountResponse = 1075; - k_EMsgGCApplyPennantUpgrade = 1076; - k_EMsgGCSetItemPositions = 1077; - k_EMsgGCApplyEggEssence = 1078; - k_EMsgGCNameEggEssenceResponse = 1079; - k_EMsgGCPaintKitItem = 1080; - k_EMsgGCPaintKitBaseItem = 1081; - k_EMsgGCPaintKitItemResponse = 1082; - k_EMsgGCGiftedItems = 1083; - k_EMsgGCUnlockItemStyle = 1084; - k_EMsgGCUnlockItemStyleResponse = 1085; - k_EMsgGCApplySticker = 1086; - k_EMsgGCItemAcknowledged = 1087; - k_EMsgGCStatTrakSwap = 1088; - k_EMsgGCUserTrackTimePlayedConsecutively = 1089; - k_EMsgGCItemCustomizationNotification = 1090; - k_EMsgGCModifyItemAttribute = 1091; - k_EMsgGCCasketItemAdd = 1092; - k_EMsgGCCasketItemExtract = 1093; - k_EMsgGCCasketItemLoadContents = 1094; - k_EMsgGCTradingBase = 1500; - k_EMsgGCTrading_InitiateTradeRequest = 1501; - k_EMsgGCTrading_InitiateTradeResponse = 1502; - k_EMsgGCTrading_StartSession = 1503; - k_EMsgGCTrading_SetItem = 1504; - k_EMsgGCTrading_RemoveItem = 1505; - k_EMsgGCTrading_UpdateTradeInfo = 1506; - k_EMsgGCTrading_SetReadiness = 1507; - k_EMsgGCTrading_ReadinessResponse = 1508; - k_EMsgGCTrading_SessionClosed = 1509; - k_EMsgGCTrading_CancelSession = 1510; - k_EMsgGCTrading_TradeChatMsg = 1511; - k_EMsgGCTrading_ConfirmOffer = 1512; - k_EMsgGCTrading_TradeTypingChatMsg = 1513; - k_EMsgGCServerBrowser_FavoriteServer = 1601; - k_EMsgGCServerBrowser_BlacklistServer = 1602; - k_EMsgGCServerRentalsBase = 1700; - k_EMsgGCItemPreviewCheckStatus = 1701; - k_EMsgGCItemPreviewStatusResponse = 1702; - k_EMsgGCItemPreviewRequest = 1703; - k_EMsgGCItemPreviewRequestResponse = 1704; - k_EMsgGCItemPreviewExpire = 1705; - k_EMsgGCItemPreviewExpireNotification = 1706; - k_EMsgGCItemPreviewItemBoughtNotification = 1707; - k_EMsgGCDev_NewItemRequest = 2001; - k_EMsgGCDev_NewItemRequestResponse = 2002; - k_EMsgGCDev_PaintKitDropItem = 2003; - k_EMsgGCDev_SchemaReservationRequest = 2004; - k_EMsgGCStoreGetUserData = 2500; - k_EMsgGCStoreGetUserDataResponse = 2501; - k_EMsgGCStorePurchaseInit_DEPRECATED = 2502; - k_EMsgGCStorePurchaseInitResponse_DEPRECATED = 2503; - k_EMsgGCStorePurchaseFinalize = 2504; - k_EMsgGCStorePurchaseFinalizeResponse = 2505; - k_EMsgGCStorePurchaseCancel = 2506; - k_EMsgGCStorePurchaseCancelResponse = 2507; - k_EMsgGCStorePurchaseQueryTxn = 2508; - k_EMsgGCStorePurchaseQueryTxnResponse = 2509; - k_EMsgGCStorePurchaseInit = 2510; - k_EMsgGCStorePurchaseInitResponse = 2511; - k_EMsgGCBannedWordListRequest = 2512; - k_EMsgGCBannedWordListResponse = 2513; - k_EMsgGCToGCBannedWordListBroadcast = 2514; - k_EMsgGCToGCBannedWordListUpdated = 2515; - k_EMsgGCToGCDirtySDOCache = 2516; - k_EMsgGCToGCDirtyMultipleSDOCache = 2517; - k_EMsgGCToGCUpdateSQLKeyValue = 2518; - k_EMsgGCToGCIsTrustedServer = 2519; - k_EMsgGCToGCIsTrustedServerResponse = 2520; - k_EMsgGCToGCBroadcastConsoleCommand = 2521; - k_EMsgGCServerVersionUpdated = 2522; - k_EMsgGCToGCWebAPIAccountChanged = 2524; - k_EMsgGCRequestAnnouncements = 2525; - k_EMsgGCRequestAnnouncementsResponse = 2526; - k_EMsgGCRequestPassportItemGrant = 2527; - k_EMsgGCClientVersionUpdated = 2528; - k_EMsgGCRecurringSubscriptionStatus = 2530; - k_EMsgGCAdjustEquipSlotsManual = 2531; - k_EMsgGCAdjustEquipSlotsShuffle = 2532; - k_EMsgGCOpenCrate = 2534; - k_EMsgGCAcknowledgeRentalExpiration = 2535; - k_EMsgGCVolatileItemLoadContents = 2536; -} - -enum EGCMsgResponse { - k_EGCMsgResponseOK = 0; - k_EGCMsgResponseDenied = 1; - k_EGCMsgResponseServerError = 2; - k_EGCMsgResponseTimeout = 3; - k_EGCMsgResponseInvalid = 4; - k_EGCMsgResponseNoMatch = 5; - k_EGCMsgResponseUnknownError = 6; - k_EGCMsgResponseNotLoggedOn = 7; - k_EGCMsgFailedToCreate = 8; - k_EGCMsgLimitExceeded = 9; - k_EGCMsgCommitUnfinalized = 10; -} - -enum EUnlockStyle { - k_UnlockStyle_Succeeded = 0; - k_UnlockStyle_Failed_PreReq = 1; - k_UnlockStyle_Failed_CantAfford = 2; - k_UnlockStyle_Failed_CantCommit = 3; - k_UnlockStyle_Failed_CantLockCache = 4; - k_UnlockStyle_Failed_CantAffordAttrib = 5; -} - -enum EGCItemCustomizationNotification { - k_EGCItemCustomizationNotification_NameItem = 1006; - k_EGCItemCustomizationNotification_UnlockCrate = 1007; - k_EGCItemCustomizationNotification_XRayItemReveal = 1008; - k_EGCItemCustomizationNotification_XRayItemClaim = 1009; - k_EGCItemCustomizationNotification_CasketTooFull = 1011; - k_EGCItemCustomizationNotification_CasketContents = 1012; - k_EGCItemCustomizationNotification_CasketAdded = 1013; - k_EGCItemCustomizationNotification_CasketRemoved = 1014; - k_EGCItemCustomizationNotification_CasketInvFull = 1015; - k_EGCItemCustomizationNotification_NameBaseItem = 1019; - k_EGCItemCustomizationNotification_RemoveItemName = 1030; - k_EGCItemCustomizationNotification_RemoveSticker = 1053; - k_EGCItemCustomizationNotification_ApplySticker = 1086; - k_EGCItemCustomizationNotification_StatTrakSwap = 1088; - k_EGCItemCustomizationNotification_RemovePatch = 1089; - k_EGCItemCustomizationNotification_ApplyPatch = 1090; - k_EGCItemCustomizationNotification_ApplyKeychain = 1091; - k_EGCItemCustomizationNotification_RemoveKeychain = 1092; - k_EGCItemCustomizationNotification_ActivateFanToken = 9178; - k_EGCItemCustomizationNotification_ActivateOperationCoin = 9179; - k_EGCItemCustomizationNotification_GraffitiUnseal = 9185; - k_EGCItemCustomizationNotification_GenerateSouvenir = 9204; - k_EGCItemCustomizationNotification_ClientRedeemMissionReward = 9209; - k_EGCItemCustomizationNotification_ClientRedeemFreeReward = 9219; - k_EGCItemCustomizationNotification_XpShopUseTicket = 9221; - k_EGCItemCustomizationNotification_XpShopAckTracks = 9222; -} - -message CMsgGCGiftedItems { - optional uint32 accountid = 1; - optional uint32 giftdefindex = 2; - optional uint32 max_gifts_possible = 3; - optional uint32 num_eligible_recipients = 4; - repeated uint32 recipients_accountids = 5; -} - -message CMsgGCDev_SchemaReservationRequest { - optional string schema_typename = 1; - optional string instance_name = 2; - optional uint64 context = 3; - optional uint64 id = 4; -} - -message CMsgCasketItem { - optional uint64 casket_item_id = 1; - optional uint64 item_item_id = 2; -} - -message CMsgGCUserTrackTimePlayedConsecutively { - optional uint32 state = 1; -} - -message CMsgGCItemCustomizationNotification { - repeated uint64 item_id = 1; - optional uint32 request = 2; - repeated uint64 extra_data = 3; -} diff --git a/protobuf/engine_gcmessages.proto b/protobuf/engine_gcmessages.proto deleted file mode 100644 index 7f81bb6af..000000000 --- a/protobuf/engine_gcmessages.proto +++ /dev/null @@ -1,14 +0,0 @@ -import "google/protobuf/descriptor.proto"; - -message CEngineGotvSyncPacket { - optional uint64 match_id = 1; - optional uint32 instance_id = 2; - optional uint32 signupfragment = 3; - optional uint32 currentfragment = 4; - optional float tickrate = 5; - optional uint32 tick = 6; - optional float rtdelay = 8; - optional float rcvage = 9; - optional float keyframe_interval = 10; - optional uint32 cdndelay = 11; -} diff --git a/protobuf/enums_clientserver.proto.disabled b/protobuf/enums_clientserver.proto.disabled deleted file mode 100644 index 5b12d10a6..000000000 --- a/protobuf/enums_clientserver.proto.disabled +++ /dev/null @@ -1,1547 +0,0 @@ -option optimize_for = SPEED; -option cc_generic_services = false; - -enum EMsg { - option allow_alias = true; - k_EMsgInvalid = 0; - k_EMsgMulti = 1; - k_EMsgProtobufWrapped = 2; - k_EMsgBaseGeneral = 100; - k_EMsgGenericReply = 100; - k_EMsgDestJobFailed = 113; - k_EMsgAlert = 115; - k_EMsgSCIDRequest = 120; - k_EMsgSCIDResponse = 121; - k_EMsgJobHeartbeat = 123; - k_EMsgHubConnect = 124; - k_EMsgSubscribe = 126; - k_EMRouteMessage = 127; - k_EMsgWGRequest = 130; - k_EMsgWGResponse = 131; - k_EMsgKeepAlive = 132; - k_EMsgWebAPIJobRequest = 133; - k_EMsgWebAPIJobResponse = 134; - k_EMsgClientSessionStart = 135; - k_EMsgClientSessionEnd = 136; - k_EMsgClientSessionUpdate = 137; - k_EMsgStatsDeprecated = 138; - k_EMsgPing = 139; - k_EMsgPingResponse = 140; - k_EMsgStats = 141; - k_EMsgRequestFullStatsBlock = 142; - k_EMsgLoadDBOCacheItem = 143; - k_EMsgLoadDBOCacheItemResponse = 144; - k_EMsgInvalidateDBOCacheItems = 145; - k_EMsgServiceMethod = 146; - k_EMsgServiceMethodResponse = 147; - k_EMsgClientPackageVersions = 148; - k_EMsgTimestampRequest = 149; - k_EMsgTimestampResponse = 150; - k_EMsgServiceMethodCallFromClient = 151; - k_EMsgServiceMethodSendToClient = 152; - k_EMsgBaseShell = 200; - k_EMsgAssignSysID = 200; - k_EMsgExit = 201; - k_EMsgDirRequest = 202; - k_EMsgDirResponse = 203; - k_EMsgZipRequest = 204; - k_EMsgZipResponse = 205; - k_EMsgUpdateRecordResponse = 215; - k_EMsgUpdateCreditCardRequest = 221; - k_EMsgUpdateUserBanResponse = 225; - k_EMsgPrepareToExit = 226; - k_EMsgContentDescriptionUpdate = 227; - k_EMsgTestResetServer = 228; - k_EMsgUniverseChanged = 229; - k_EMsgShellConfigInfoUpdate = 230; - k_EMsgRequestWindowsEventLogEntries = 233; - k_EMsgProvideWindowsEventLogEntries = 234; - k_EMsgShellSearchLogs = 235; - k_EMsgShellSearchLogsResponse = 236; - k_EMsgShellCheckWindowsUpdates = 237; - k_EMsgShellCheckWindowsUpdatesResponse = 238; - k_EMsgTestFlushDelayedSQL = 240; - k_EMsgTestFlushDelayedSQLResponse = 241; - k_EMsgEnsureExecuteScheduledTask_TEST = 242; - k_EMsgEnsureExecuteScheduledTaskResponse_TEST = 243; - k_EMsgUpdateScheduledTaskEnableState_TEST = 244; - k_EMsgUpdateScheduledTaskEnableStateResponse_TEST = 245; - k_EMsgContentDescriptionDeltaUpdate = 246; - k_EMsgGMShellAndServerAddressUpdates = 247; - k_EMsgBaseGM = 300; - k_EMsgHeartbeat = 300; - k_EMsgShellFailed = 301; - k_EMsgExitShells = 307; - k_EMsgExitShell = 308; - k_EMsgGracefulExitShell = 309; - k_EMsgLicenseProcessingComplete = 316; - k_EMsgSetTestFlag = 317; - k_EMsgQueuedEmailsComplete = 318; - k_EMsgGMDRMSync = 320; - k_EMsgPhysicalBoxInventory = 321; - k_EMsgUpdateConfigFile = 322; - k_EMsgTestInitDB = 323; - k_EMsgGMWriteConfigToSQL = 324; - k_EMsgGMLoadActivationCodes = 325; - k_EMsgGMQueueForFBS = 326; - k_EMsgGMSchemaConversionResults = 327; - k_EMsgGMWriteShellFailureToSQL = 329; - k_EMsgGMWriteStatsToSOS = 330; - k_EMsgGMGetServiceMethodRouting = 331; - k_EMsgGMGetServiceMethodRoutingResponse = 332; - k_EMsgGMTestNextBuildSchemaConversion = 334; - k_EMsgGMTestNextBuildSchemaConversionResponse = 335; - k_EMsgExpectShellRestart = 336; - k_EMsgHotFixProgress = 337; - k_EMsgGMStatsForwardToAdminConnections = 338; - k_EMsgGMGetModifiedConVars = 339; - k_EMsgGMGetModifiedConVarsResponse = 340; - k_EMsgBaseAIS = 400; - k_EMsgAISRequestContentDescription = 402; - k_EMsgAISUpdateAppInfo = 403; - k_EMsgAISGetPackageChangeNumber = 405; - k_EMsgAISGetPackageChangeNumberResponse = 406; - k_EMsgAIGetAppGCFlags = 423; - k_EMsgAIGetAppGCFlagsResponse = 424; - k_EMsgAIGetAppList = 425; - k_EMsgAIGetAppListResponse = 426; - k_EMsgAISGetCouponDefinition = 429; - k_EMsgAISGetCouponDefinitionResponse = 430; - k_EMsgAISUpdateSubordinateContentDescription = 431; - k_EMsgAISUpdateSubordinateContentDescriptionResponse = 432; - k_EMsgAISTestEnableGC = 433; - k_EMsgBaseAM = 500; - k_EMsgAMUpdateUserBanRequest = 504; - k_EMsgAMAddLicense = 505; - k_EMsgAMSendSystemIMToUser = 508; - k_EMsgAMExtendLicense = 509; - k_EMsgAMAddMinutesToLicense = 510; - k_EMsgAMCancelLicense = 511; - k_EMsgAMInitPurchase = 512; - k_EMsgAMPurchaseResponse = 513; - k_EMsgAMGetFinalPrice = 514; - k_EMsgAMGetFinalPriceResponse = 515; - k_EMsgAMGetLegacyGameKey = 516; - k_EMsgAMGetLegacyGameKeyResponse = 517; - k_EMsgAMFindHungTransactions = 518; - k_EMsgAMSetAccountTrustedRequest = 519; - k_EMsgAMCancelPurchase = 522; - k_EMsgAMNewChallenge = 523; - k_EMsgAMLoadOEMTickets = 524; - k_EMsgAMFixPendingPurchase = 525; - k_EMsgAMFixPendingPurchaseResponse = 526; - k_EMsgAMIsUserBanned = 527; - k_EMsgAMRegisterKey = 528; - k_EMsgAMLoadActivationCodes = 529; - k_EMsgAMLoadActivationCodesResponse = 530; - k_EMsgAMLookupKeyResponse = 531; - k_EMsgAMLookupKey = 532; - k_EMsgAMChatCleanup = 533; - k_EMsgAMClanCleanup = 534; - k_EMsgAMFixPendingRefund = 535; - k_EMsgAMReverseChargeback = 536; - k_EMsgAMReverseChargebackResponse = 537; - k_EMsgAMClanCleanupList = 538; - k_EMsgAMGetLicenses = 539; - k_EMsgAMGetLicensesResponse = 540; - k_EMsgAMSendCartRepurchase = 541; - k_EMsgAMSendCartRepurchaseResponse = 542; - k_EMsgAllowUserToPlayQuery = 550; - k_EMsgAllowUserToPlayResponse = 551; - k_EMsgAMVerfiyUser = 552; - k_EMsgAMClientNotPlaying = 553; - k_EMsgAMClientRequestFriendship = 554; - k_EMsgAMRelayPublishStatus = 555; - k_EMsgAMInitPurchaseResponse = 560; - k_EMsgAMRevokePurchaseResponse = 561; - k_EMsgAMRefreshGuestPasses = 563; - k_EMsgAMGrantGuestPasses = 566; - k_EMsgAMClanDataUpdated = 567; - k_EMsgAMReloadAccount = 568; - k_EMsgAMClientChatMsgRelay = 569; - k_EMsgAMChatMulti = 570; - k_EMsgAMClientChatInviteRelay = 571; - k_EMsgAMChatInvite = 572; - k_EMsgAMClientJoinChatRelay = 573; - k_EMsgAMClientChatMemberInfoRelay = 574; - k_EMsgAMPublishChatMemberInfo = 575; - k_EMsgAMClientAcceptFriendInvite = 576; - k_EMsgAMChatEnter = 577; - k_EMsgAMClientPublishRemovalFromSource = 578; - k_EMsgAMChatActionResult = 579; - k_EMsgAMFindAccounts = 580; - k_EMsgAMFindAccountsResponse = 581; - k_EMsgAMIsAccountNameInUse = 582; - k_EMsgAMIsAccountNameInUseResponse = 583; - k_EMsgAMSetAccountFlags = 584; - k_EMsgAMCreateClan = 586; - k_EMsgAMCreateClanResponse = 587; - k_EMsgAMGetClanDetails = 588; - k_EMsgAMGetClanDetailsResponse = 589; - k_EMsgAMSetPersonaName = 590; - k_EMsgAMSetAvatar = 591; - k_EMsgAMAuthenticateUser = 592; - k_EMsgAMAuthenticateUserResponse = 593; - k_EMsgAMP2PIntroducerMessage = 596; - k_EMsgClientChatAction = 597; - k_EMsgAMClientChatActionRelay = 598; - k_EMsgBaseVS = 600; - k_EMsgReqChallenge = 600; - k_EMsgVACResponse = 601; - k_EMsgReqChallengeTest = 602; - k_EMsgVSMarkCheat = 604; - k_EMsgVSAddCheat = 605; - k_EMsgVSPurgeCodeModDB = 606; - k_EMsgVSGetChallengeResults = 607; - k_EMsgVSChallengeResultText = 608; - k_EMsgVSReportLingerer = 609; - k_EMsgVSRequestManagedChallenge = 610; - k_EMsgVSLoadDBFinished = 611; - k_EMsgBaseDRMS = 625; - k_EMsgDRMBuildBlobRequest = 628; - k_EMsgDRMBuildBlobResponse = 629; - k_EMsgDRMResolveGuidRequest = 630; - k_EMsgDRMResolveGuidResponse = 631; - k_EMsgDRMVariabilityReport = 633; - k_EMsgDRMVariabilityReportResponse = 634; - k_EMsgDRMStabilityReport = 635; - k_EMsgDRMStabilityReportResponse = 636; - k_EMsgDRMDetailsReportRequest = 637; - k_EMsgDRMDetailsReportResponse = 638; - k_EMsgDRMProcessFile = 639; - k_EMsgDRMAdminUpdate = 640; - k_EMsgDRMAdminUpdateResponse = 641; - k_EMsgDRMSync = 642; - k_EMsgDRMSyncResponse = 643; - k_EMsgDRMProcessFileResponse = 644; - k_EMsgDRMEmptyGuidCache = 645; - k_EMsgDRMEmptyGuidCacheResponse = 646; - k_EMsgBaseCS = 650; - k_EMsgBaseClient = 700; - k_EMsgClientLogOn_Deprecated = 701; - k_EMsgClientAnonLogOn_Deprecated = 702; - k_EMsgClientHeartBeat = 703; - k_EMsgClientVACResponse = 704; - k_EMsgClientGamesPlayed_obsolete = 705; - k_EMsgClientLogOff = 706; - k_EMsgClientNoUDPConnectivity = 707; - k_EMsgClientConnectionStats = 710; - k_EMsgClientPingResponse = 712; - k_EMsgClientRemoveFriend = 714; - k_EMsgClientGamesPlayedNoDataBlob = 715; - k_EMsgClientChangeStatus = 716; - k_EMsgClientVacStatusResponse = 717; - k_EMsgClientFriendMsg = 718; - k_EMsgClientGameConnect_obsolete = 719; - k_EMsgClientGamesPlayed2_obsolete = 720; - k_EMsgClientGameEnded_obsolete = 721; - k_EMsgClientSystemIM = 726; - k_EMsgClientSystemIMAck = 727; - k_EMsgClientGetLicenses = 728; - k_EMsgClientGetLegacyGameKey = 730; - k_EMsgClientContentServerLogOn_Deprecated = 731; - k_EMsgClientAckVACBan2 = 732; - k_EMsgClientGetPurchaseReceipts = 736; - k_EMsgClientGamesPlayed3_obsolete = 738; - k_EMsgClientAckGuestPass = 740; - k_EMsgClientRedeemGuestPass = 741; - k_EMsgClientGamesPlayed = 742; - k_EMsgClientRegisterKey = 743; - k_EMsgClientInviteUserToClan = 744; - k_EMsgClientAcknowledgeClanInvite = 745; - k_EMsgClientPurchaseWithMachineID = 746; - k_EMsgClientAppUsageEvent = 747; - k_EMsgClientLogOnResponse = 751; - k_EMsgClientSetHeartbeatRate = 755; - k_EMsgClientNotLoggedOnDeprecated = 756; - k_EMsgClientLoggedOff = 757; - k_EMsgGSApprove = 758; - k_EMsgGSDeny = 759; - k_EMsgGSKick = 760; - k_EMsgClientPurchaseResponse = 763; - k_EMsgClientPing = 764; - k_EMsgClientNOP = 765; - k_EMsgClientPersonaState = 766; - k_EMsgClientFriendsList = 767; - k_EMsgClientAccountInfo = 768; - k_EMsgClientNewsUpdate = 771; - k_EMsgClientGameConnectDeny = 773; - k_EMsgGSStatusReply = 774; - k_EMsgClientGameConnectTokens = 779; - k_EMsgClientLicenseList = 780; - k_EMsgClientVACBanStatus = 782; - k_EMsgClientCMList = 783; - k_EMsgClientEncryptPct = 784; - k_EMsgClientGetLegacyGameKeyResponse = 785; - k_EMsgClientAddFriend = 791; - k_EMsgClientAddFriendResponse = 792; - k_EMsgClientAckGuestPassResponse = 796; - k_EMsgClientRedeemGuestPassResponse = 797; - k_EMsgClientUpdateGuestPassesList = 798; - k_EMsgClientChatMsg = 799; - k_EMsgClientChatInvite = 800; - k_EMsgClientJoinChat = 801; - k_EMsgClientChatMemberInfo = 802; - k_EMsgClientLogOnWithCredentials_Deprecated = 803; - k_EMsgClientPasswordChangeResponse = 805; - k_EMsgClientChatEnter = 807; - k_EMsgClientFriendRemovedFromSource = 808; - k_EMsgClientCreateChat = 809; - k_EMsgClientCreateChatResponse = 810; - k_EMsgClientP2PIntroducerMessage = 813; - k_EMsgClientChatActionResult = 814; - k_EMsgClientRequestFriendData = 815; - k_EMsgClientGetUserStats = 818; - k_EMsgClientGetUserStatsResponse = 819; - k_EMsgClientStoreUserStats = 820; - k_EMsgClientStoreUserStatsResponse = 821; - k_EMsgClientClanState = 822; - k_EMsgClientServiceModule = 830; - k_EMsgClientServiceCall = 831; - k_EMsgClientServiceCallResponse = 832; - k_EMsgClientNatTraversalStatEvent = 839; - k_EMsgClientSteamUsageEvent = 842; - k_EMsgClientCheckPassword = 845; - k_EMsgClientResetPassword = 846; - k_EMsgClientCheckPasswordResponse = 848; - k_EMsgClientResetPasswordResponse = 849; - k_EMsgClientSessionToken = 850; - k_EMsgClientDRMProblemReport = 851; - k_EMsgClientSetIgnoreFriend = 855; - k_EMsgClientSetIgnoreFriendResponse = 856; - k_EMsgClientGetAppOwnershipTicket = 857; - k_EMsgClientGetAppOwnershipTicketResponse = 858; - k_EMsgClientGetLobbyListResponse = 860; - k_EMsgClientServerList = 880; - k_EMsgClientDRMBlobRequest = 896; - k_EMsgClientDRMBlobResponse = 897; - k_EMsgBaseGameServer = 900; - k_EMsgGSDisconnectNotice = 901; - k_EMsgGSStatus = 903; - k_EMsgGSUserPlaying = 905; - k_EMsgGSStatus2 = 906; - k_EMsgGSStatusUpdate_Unused = 907; - k_EMsgGSServerType = 908; - k_EMsgGSPlayerList = 909; - k_EMsgGSGetUserAchievementStatus = 910; - k_EMsgGSGetUserAchievementStatusResponse = 911; - k_EMsgGSGetPlayStats = 918; - k_EMsgGSGetPlayStatsResponse = 919; - k_EMsgGSGetUserGroupStatus = 920; - k_EMsgAMGetUserGroupStatus = 921; - k_EMsgAMGetUserGroupStatusResponse = 922; - k_EMsgGSGetUserGroupStatusResponse = 923; - k_EMsgGSGetReputation = 936; - k_EMsgGSGetReputationResponse = 937; - k_EMsgGSAssociateWithClan = 938; - k_EMsgGSAssociateWithClanResponse = 939; - k_EMsgGSComputeNewPlayerCompatibility = 940; - k_EMsgGSComputeNewPlayerCompatibilityResponse = 941; - k_EMsgBaseAdmin = 1000; - k_EMsgAdminCmd = 1000; - k_EMsgAdminCmdResponse = 1004; - k_EMsgAdminLogListenRequest = 1005; - k_EMsgAdminLogEvent = 1006; - k_EMsgUniverseData = 1010; - k_EMsgAdminSpew = 1019; - k_EMsgAdminConsoleTitle = 1020; - k_EMsgAdminGCSpew = 1023; - k_EMsgAdminGCCommand = 1024; - k_EMsgAdminGCGetCommandList = 1025; - k_EMsgAdminGCGetCommandListResponse = 1026; - k_EMsgFBSConnectionData = 1027; - k_EMsgAdminMsgSpew = 1028; - k_EMsgBaseFBS = 1100; - k_EMsgFBSReqVersion = 1100; - k_EMsgFBSVersionInfo = 1101; - k_EMsgFBSForceRefresh = 1102; - k_EMsgFBSForceBounce = 1103; - k_EMsgFBSDeployPackage = 1104; - k_EMsgFBSDeployResponse = 1105; - k_EMsgFBSUpdateBootstrapper = 1106; - k_EMsgFBSSetState = 1107; - k_EMsgFBSApplyOSUpdates = 1108; - k_EMsgFBSRunCMDScript = 1109; - k_EMsgFBSRebootBox = 1110; - k_EMsgFBSSetBigBrotherMode = 1111; - k_EMsgFBSMinidumpServer = 1112; - k_EMsgFBSDeployHotFixPackage = 1114; - k_EMsgFBSDeployHotFixResponse = 1115; - k_EMsgFBSDownloadHotFix = 1116; - k_EMsgFBSDownloadHotFixResponse = 1117; - k_EMsgFBSUpdateTargetConfigFile = 1118; - k_EMsgFBSApplyAccountCred = 1119; - k_EMsgFBSApplyAccountCredResponse = 1120; - k_EMsgFBSSetShellCount = 1121; - k_EMsgFBSTerminateShell = 1122; - k_EMsgFBSQueryGMForRequest = 1123; - k_EMsgFBSQueryGMResponse = 1124; - k_EMsgFBSTerminateZombies = 1125; - k_EMsgFBSInfoFromBootstrapper = 1126; - k_EMsgFBSRebootBoxResponse = 1127; - k_EMsgFBSBootstrapperPackageRequest = 1128; - k_EMsgFBSBootstrapperPackageResponse = 1129; - k_EMsgFBSBootstrapperGetPackageChunk = 1130; - k_EMsgFBSBootstrapperGetPackageChunkResponse = 1131; - k_EMsgFBSBootstrapperPackageTransferProgress = 1132; - k_EMsgFBSRestartBootstrapper = 1133; - k_EMsgFBSPauseFrozenDumps = 1134; - k_EMsgBaseFileXfer = 1200; - k_EMsgFileXferRequest = 1200; - k_EMsgFileXferResponse = 1201; - k_EMsgFileXferData = 1202; - k_EMsgFileXferEnd = 1203; - k_EMsgFileXferDataAck = 1204; - k_EMsgBaseChannelAuth = 1300; - k_EMsgChannelAuthChallenge = 1300; - k_EMsgChannelAuthResponse = 1301; - k_EMsgChannelAuthResult = 1302; - k_EMsgChannelEncryptRequest = 1303; - k_EMsgChannelEncryptResponse = 1304; - k_EMsgChannelEncryptResult = 1305; - k_EMsgBaseBS = 1400; - k_EMsgBSPurchaseStart = 1401; - k_EMsgBSPurchaseResponse = 1402; - k_EMsgBSAuthenticateCCTrans = 1403; - k_EMsgBSAuthenticateCCTransResponse = 1404; - k_EMsgBSSettleComplete = 1406; - k_EMsgBSInitPayPalTxn = 1408; - k_EMsgBSInitPayPalTxnResponse = 1409; - k_EMsgBSGetPayPalUserInfo = 1410; - k_EMsgBSGetPayPalUserInfoResponse = 1411; - k_EMsgBSPaymentInstrBan = 1417; - k_EMsgBSPaymentInstrBanResponse = 1418; - k_EMsgBSInitGCBankXferTxn = 1421; - k_EMsgBSInitGCBankXferTxnResponse = 1422; - k_EMsgBSCommitGCTxn = 1425; - k_EMsgBSQueryTransactionStatus = 1426; - k_EMsgBSQueryTransactionStatusResponse = 1427; - k_EMsgBSQueryTxnExtendedInfo = 1433; - k_EMsgBSQueryTxnExtendedInfoResponse = 1434; - k_EMsgBSUpdateConversionRates = 1435; - k_EMsgBSPurchaseRunFraudChecks = 1437; - k_EMsgBSPurchaseRunFraudChecksResponse = 1438; - k_EMsgBSQueryBankInformation = 1440; - k_EMsgBSQueryBankInformationResponse = 1441; - k_EMsgBSValidateXsollaSignature = 1445; - k_EMsgBSValidateXsollaSignatureResponse = 1446; - k_EMsgBSQiwiWalletInvoice = 1448; - k_EMsgBSQiwiWalletInvoiceResponse = 1449; - k_EMsgBSUpdateInventoryFromProPack = 1450; - k_EMsgBSUpdateInventoryFromProPackResponse = 1451; - k_EMsgBSSendShippingRequest = 1452; - k_EMsgBSSendShippingRequestResponse = 1453; - k_EMsgBSGetProPackOrderStatus = 1454; - k_EMsgBSGetProPackOrderStatusResponse = 1455; - k_EMsgBSCheckJobRunning = 1456; - k_EMsgBSCheckJobRunningResponse = 1457; - k_EMsgBSResetPackagePurchaseRateLimit = 1458; - k_EMsgBSResetPackagePurchaseRateLimitResponse = 1459; - k_EMsgBSUpdatePaymentData = 1460; - k_EMsgBSUpdatePaymentDataResponse = 1461; - k_EMsgBSGetBillingAddress = 1462; - k_EMsgBSGetBillingAddressResponse = 1463; - k_EMsgBSGetCreditCardInfo = 1464; - k_EMsgBSGetCreditCardInfoResponse = 1465; - k_EMsgBSRemoveExpiredPaymentData = 1468; - k_EMsgBSRemoveExpiredPaymentDataResponse = 1469; - k_EMsgBSConvertToCurrentKeys = 1470; - k_EMsgBSConvertToCurrentKeysResponse = 1471; - k_EMsgBSInitPurchase = 1472; - k_EMsgBSInitPurchaseResponse = 1473; - k_EMsgBSCompletePurchase = 1474; - k_EMsgBSCompletePurchaseResponse = 1475; - k_EMsgBSPruneCardUsageStats = 1476; - k_EMsgBSPruneCardUsageStatsResponse = 1477; - k_EMsgBSStoreBankInformation = 1478; - k_EMsgBSStoreBankInformationResponse = 1479; - k_EMsgBSVerifyPOSAKey = 1480; - k_EMsgBSVerifyPOSAKeyResponse = 1481; - k_EMsgBSReverseRedeemPOSAKey = 1482; - k_EMsgBSReverseRedeemPOSAKeyResponse = 1483; - k_EMsgBSQueryFindCreditCard = 1484; - k_EMsgBSQueryFindCreditCardResponse = 1485; - k_EMsgBSStatusInquiryPOSAKey = 1486; - k_EMsgBSStatusInquiryPOSAKeyResponse = 1487; - k_EMsgBSBoaCompraConfirmProductDelivery = 1494; - k_EMsgBSBoaCompraConfirmProductDeliveryResponse = 1495; - k_EMsgBSGenerateBoaCompraMD5 = 1496; - k_EMsgBSGenerateBoaCompraMD5Response = 1497; - k_EMsgBSCommitWPTxn = 1498; - k_EMsgBSCommitAdyenTxn = 1499; - k_EMsgBaseATS = 1500; - k_EMsgATSStartStressTest = 1501; - k_EMsgATSStopStressTest = 1502; - k_EMsgATSRunFailServerTest = 1503; - k_EMsgATSUFSPerfTestTask = 1504; - k_EMsgATSUFSPerfTestResponse = 1505; - k_EMsgATSCycleTCM = 1506; - k_EMsgATSInitDRMSStressTest = 1507; - k_EMsgATSCallTest = 1508; - k_EMsgATSCallTestReply = 1509; - k_EMsgATSStartExternalStress = 1510; - k_EMsgATSExternalStressJobStart = 1511; - k_EMsgATSExternalStressJobQueued = 1512; - k_EMsgATSExternalStressJobRunning = 1513; - k_EMsgATSExternalStressJobStopped = 1514; - k_EMsgATSExternalStressJobStopAll = 1515; - k_EMsgATSExternalStressActionResult = 1516; - k_EMsgATSStarted = 1517; - k_EMsgATSCSPerfTestTask = 1518; - k_EMsgATSCSPerfTestResponse = 1519; - k_EMsgBaseDP = 1600; - k_EMsgDPSetPublishingState = 1601; - k_EMsgDPUniquePlayersStat = 1603; - k_EMsgDPStreamingUniquePlayersStat = 1604; - k_EMsgDPBlockingStats = 1607; - k_EMsgDPNatTraversalStats = 1608; - k_EMsgDPCloudStats = 1612; - k_EMsgDPGetPlayerCount = 1615; - k_EMsgDPGetPlayerCountResponse = 1616; - k_EMsgDPGameServersPlayersStats = 1617; - k_EMsgClientDPCheckSpecialSurvey = 1620; - k_EMsgClientDPCheckSpecialSurveyResponse = 1621; - k_EMsgClientDPSendSpecialSurveyResponse = 1622; - k_EMsgClientDPSendSpecialSurveyResponseReply = 1623; - k_EMsgDPStoreSaleStatistics = 1624; - k_EMsgDPPartnerMicroTxns = 1628; - k_EMsgDPPartnerMicroTxnsResponse = 1629; - k_EMsgDPVRUniquePlayersStat = 1631; - k_EMsgBaseCM = 1700; - k_EMsgCMSetAllowState = 1701; - k_EMsgCMSpewAllowState = 1702; - k_EMsgCMSessionRejected = 1703; - k_EMsgCMSetSecrets = 1704; - k_EMsgCMGetSecrets = 1705; - k_EMsgBaseGC = 2200; - k_EMsgGCCmdRevive = 2203; - k_EMsgGCCmdDown = 2206; - k_EMsgGCCmdDeploy = 2207; - k_EMsgGCCmdDeployResponse = 2208; - k_EMsgGCCmdSwitch = 2209; - k_EMsgAMRefreshSessions = 2210; - k_EMsgGCAchievementAwarded = 2212; - k_EMsgGCSystemMessage = 2213; - k_EMsgGCCmdStatus = 2216; - k_EMsgGCRegisterWebInterfaces_Deprecated = 2217; - k_EMsgGCGetAccountDetails_DEPRECATED = 2218; - k_EMsgGCInterAppMessage = 2219; - k_EMsgGCGetEmailTemplate = 2220; - k_EMsgGCGetEmailTemplateResponse = 2221; - k_EMsgGCHRelay = 2222; - k_EMsgGCHRelayToClient = 2223; - k_EMsgGCHUpdateSession = 2224; - k_EMsgGCHRequestUpdateSession = 2225; - k_EMsgGCHRequestStatus = 2226; - k_EMsgGCHRequestStatusResponse = 2227; - k_EMsgGCHAccountVacStatusChange = 2228; - k_EMsgGCHSpawnGC = 2229; - k_EMsgGCHSpawnGCResponse = 2230; - k_EMsgGCHKillGC = 2231; - k_EMsgGCHKillGCResponse = 2232; - k_EMsgGCHAccountTradeBanStatusChange = 2233; - k_EMsgGCHAccountLockStatusChange = 2234; - k_EMsgGCHVacVerificationChange = 2235; - k_EMsgGCHAccountPhoneNumberChange = 2236; - k_EMsgGCHAccountTwoFactorChange = 2237; - k_EMsgGCHInviteUserToLobby = 2238; - k_EMsgGCHUpdateMultipleSessions = 2239; - k_EMsgGCHMarkAppSessionsAuthoritative = 2240; - k_EMsgGCHRecurringSubscriptionStatusChange = 2241; - k_EMsgGCHAppCheersReceived = 2242; - k_EMsgGCHAppCheersGetAllowedTypes = 2243; - k_EMsgGCHAppCheersGetAllowedTypesResponse = 2244; - k_EMsgGCHRoutingRulesFromGCHtoGM = 2245; - k_EMsgGCHRoutingRulesToGCHfromGM = 2246; - k_EMsgUpdateCMMessageRateRules = 2247; - k_EMsgBaseP2P = 2500; - k_EMsgP2PIntroducerMessage = 2502; - k_EMsgBaseSM = 2900; - k_EMsgSMExpensiveReport = 2902; - k_EMsgSMHourlyReport = 2903; - k_EMsgSMPartitionRenames = 2905; - k_EMsgSMMonitorSpace = 2906; - k_EMsgSMTestNextBuildSchemaConversion = 2907; - k_EMsgSMTestNextBuildSchemaConversionResponse = 2908; - k_EMsgBaseTest = 3000; - k_EMsgFailServer = 3000; - k_EMsgJobHeartbeatTest = 3001; - k_EMsgJobHeartbeatTestResponse = 3002; - k_EMsgBaseFTSRange = 3100; - k_EMsgBaseCCSRange = 3150; - k_EMsgCCSDeleteAllCommentsByAuthor = 3161; - k_EMsgCCSDeleteAllCommentsByAuthorResponse = 3162; - k_EMsgBaseLBSRange = 3200; - k_EMsgLBSSetScore = 3201; - k_EMsgLBSSetScoreResponse = 3202; - k_EMsgLBSFindOrCreateLB = 3203; - k_EMsgLBSFindOrCreateLBResponse = 3204; - k_EMsgLBSGetLBEntries = 3205; - k_EMsgLBSGetLBEntriesResponse = 3206; - k_EMsgLBSGetLBList = 3207; - k_EMsgLBSGetLBListResponse = 3208; - k_EMsgLBSSetLBDetails = 3209; - k_EMsgLBSDeleteLB = 3210; - k_EMsgLBSDeleteLBEntry = 3211; - k_EMsgLBSResetLB = 3212; - k_EMsgLBSResetLBResponse = 3213; - k_EMsgLBSDeleteLBResponse = 3214; - k_EMsgBaseOGS = 3400; - k_EMsgOGSBeginSession = 3401; - k_EMsgOGSBeginSessionResponse = 3402; - k_EMsgOGSEndSession = 3403; - k_EMsgOGSEndSessionResponse = 3404; - k_EMsgOGSWriteAppSessionRow = 3406; - k_EMsgBaseBRP = 3600; - k_EMsgBRPPostTransactionTax = 3629; - k_EMsgBRPPostTransactionTaxResponse = 3630; - k_EMsgBaseAMRange2 = 4000; - k_EMsgAMCreateChat = 4001; - k_EMsgAMCreateChatResponse = 4002; - k_EMsgAMSetProfileURL = 4005; - k_EMsgAMGetAccountEmailAddress = 4006; - k_EMsgAMGetAccountEmailAddressResponse = 4007; - k_EMsgAMRequestClanData = 4008; - k_EMsgAMRouteToClients = 4009; - k_EMsgAMLeaveClan = 4010; - k_EMsgAMClanPermissions = 4011; - k_EMsgAMClanPermissionsResponse = 4012; - k_EMsgAMCreateClanEventDummyForRateLimiting = 4013; - k_EMsgAMUpdateClanEventDummyForRateLimiting = 4015; - k_EMsgAMSetClanPermissionSettings = 4021; - k_EMsgAMSetClanPermissionSettingsResponse = 4022; - k_EMsgAMGetClanPermissionSettings = 4023; - k_EMsgAMGetClanPermissionSettingsResponse = 4024; - k_EMsgAMPublishChatRoomInfo = 4025; - k_EMsgClientChatRoomInfo = 4026; - k_EMsgAMGetClanHistory = 4039; - k_EMsgAMGetClanHistoryResponse = 4040; - k_EMsgAMGetClanPermissionBits = 4041; - k_EMsgAMGetClanPermissionBitsResponse = 4042; - k_EMsgAMSetClanPermissionBits = 4043; - k_EMsgAMSetClanPermissionBitsResponse = 4044; - k_EMsgAMSessionInfoRequest = 4045; - k_EMsgAMSessionInfoResponse = 4046; - k_EMsgAMValidateWGToken = 4047; - k_EMsgAMGetClanRank = 4050; - k_EMsgAMGetClanRankResponse = 4051; - k_EMsgAMSetClanRank = 4052; - k_EMsgAMSetClanRankResponse = 4053; - k_EMsgAMGetClanPOTW = 4054; - k_EMsgAMGetClanPOTWResponse = 4055; - k_EMsgAMSetClanPOTW = 4056; - k_EMsgAMSetClanPOTWResponse = 4057; - k_EMsgAMDumpUser = 4059; - k_EMsgAMKickUserFromClan = 4060; - k_EMsgAMAddFounderToClan = 4061; - k_EMsgAMValidateWGTokenResponse = 4062; - k_EMsgAMSetAccountDetails = 4064; - k_EMsgAMGetChatBanList = 4065; - k_EMsgAMGetChatBanListResponse = 4066; - k_EMsgAMUnBanFromChat = 4067; - k_EMsgAMSetClanDetails = 4068; - k_EMsgUGSGetUserGameStats = 4073; - k_EMsgUGSGetUserGameStatsResponse = 4074; - k_EMsgAMCheckClanMembership = 4075; - k_EMsgAMGetClanMembers = 4076; - k_EMsgAMGetClanMembersResponse = 4077; - k_EMsgAMNotifyChatOfClanChange = 4079; - k_EMsgAMResubmitPurchase = 4080; - k_EMsgAMAddFriend = 4081; - k_EMsgAMAddFriendResponse = 4082; - k_EMsgAMRemoveFriend = 4083; - k_EMsgAMDumpClan = 4084; - k_EMsgAMChangeClanOwner = 4085; - k_EMsgAMCancelEasyCollect = 4086; - k_EMsgAMCancelEasyCollectResponse = 4087; - k_EMsgAMClansInCommon = 4090; - k_EMsgAMClansInCommonResponse = 4091; - k_EMsgAMIsValidAccountID = 4092; - k_EMsgAMWipeFriendsList = 4095; - k_EMsgAMSetIgnored = 4096; - k_EMsgAMClansInCommonCountResponse = 4097; - k_EMsgAMFriendsList = 4098; - k_EMsgAMFriendsListResponse = 4099; - k_EMsgAMFriendsInCommon = 4100; - k_EMsgAMFriendsInCommonResponse = 4101; - k_EMsgAMFriendsInCommonCountResponse = 4102; - k_EMsgAMClansInCommonCount = 4103; - k_EMsgAMChallengeVerdict = 4104; - k_EMsgAMChallengeNotification = 4105; - k_EMsgAMFindGSByIP = 4106; - k_EMsgAMFoundGSByIP = 4107; - k_EMsgAMGiftRevoked = 4108; - k_EMsgAMUserClanList = 4110; - k_EMsgAMUserClanListResponse = 4111; - k_EMsgAMGetAccountDetails2 = 4112; - k_EMsgAMGetAccountDetailsResponse2 = 4113; - k_EMsgAMSetCommunityProfileSettings = 4114; - k_EMsgAMSetCommunityProfileSettingsResponse = 4115; - k_EMsgAMGetCommunityPrivacyState = 4116; - k_EMsgAMGetCommunityPrivacyStateResponse = 4117; - k_EMsgAMCheckClanInviteRateLimiting = 4118; - k_EMsgUGSGetUserAchievementStatus = 4119; - k_EMsgAMGetIgnored = 4120; - k_EMsgAMGetIgnoredResponse = 4121; - k_EMsgAMSetIgnoredResponse = 4122; - k_EMsgAMSetFriendRelationshipNone = 4123; - k_EMsgAMGetFriendRelationship = 4124; - k_EMsgAMGetFriendRelationshipResponse = 4125; - k_EMsgAMServiceModulesCache = 4126; - k_EMsgAMServiceModulesCall = 4127; - k_EMsgAMServiceModulesCallResponse = 4128; - k_EMsgCommunityAddFriendNews = 4140; - k_EMsgAMFindClanUser = 4143; - k_EMsgAMFindClanUserResponse = 4144; - k_EMsgAMBanFromChat = 4145; - k_EMsgAMGetUserNewsSubscriptions = 4147; - k_EMsgAMGetUserNewsSubscriptionsResponse = 4148; - k_EMsgAMSetUserNewsSubscriptions = 4149; - k_EMsgAMSendQueuedEmails = 4152; - k_EMsgAMSetLicenseFlags = 4153; - k_EMsgCommunityDeleteUserNews = 4155; - k_EMsgAMGetAccountStatus = 4158; - k_EMsgAMGetAccountStatusResponse = 4159; - k_EMsgAMEditBanReason = 4160; - k_EMsgAMCheckClanMembershipResponse = 4161; - k_EMsgAMProbeClanMembershipList = 4162; - k_EMsgAMProbeClanMembershipListResponse = 4163; - k_EMsgUGSGetUserAchievementStatusResponse = 4164; - k_EMsgAMGetFriendsLobbies = 4165; - k_EMsgAMGetFriendsLobbiesResponse = 4166; - k_EMsgAMGetUserFriendNewsResponse = 4172; - k_EMsgCommunityGetUserFriendNews = 4173; - k_EMsgAMGetUserClansNewsResponse = 4174; - k_EMsgAMGetUserClansNews = 4175; - k_EMsgAMGetPreviousCBAccount = 4184; - k_EMsgAMGetPreviousCBAccountResponse = 4185; - k_EMsgAMGetUserLicenseHistory = 4190; - k_EMsgAMGetUserLicenseHistoryResponse = 4191; - k_EMsgAMSupportChangePassword = 4194; - k_EMsgAMSupportChangeEmail = 4195; - k_EMsgAMResetUserVerificationGSByIP = 4197; - k_EMsgAMUpdateGSPlayStats = 4198; - k_EMsgAMSupportEnableOrDisable = 4199; - k_EMsgAMGetPurchaseStatus = 4206; - k_EMsgAMSupportIsAccountEnabled = 4209; - k_EMsgAMSupportIsAccountEnabledResponse = 4210; - k_EMsgUGSGetUserStats = 4211; - k_EMsgAMGSSearch = 4213; - k_EMsgChatServerRouteFriendMsg = 4219; - k_EMsgAMTicketAuthRequestOrResponse = 4220; - k_EMsgAMAddFreeLicense = 4224; - k_EMsgAMValidateEmailLink = 4231; - k_EMsgAMValidateEmailLinkResponse = 4232; - k_EMsgUGSStoreUserStats = 4236; - k_EMsgAMDeleteStoredCard = 4241; - k_EMsgAMRevokeLegacyGameKeys = 4242; - k_EMsgAMGetWalletDetails = 4244; - k_EMsgAMGetWalletDetailsResponse = 4245; - k_EMsgAMDeleteStoredPaymentInfo = 4246; - k_EMsgAMGetStoredPaymentSummary = 4247; - k_EMsgAMGetStoredPaymentSummaryResponse = 4248; - k_EMsgAMGetWalletConversionRate = 4249; - k_EMsgAMGetWalletConversionRateResponse = 4250; - k_EMsgAMConvertWallet = 4251; - k_EMsgAMConvertWalletResponse = 4252; - k_EMsgAMSetPreApproval = 4255; - k_EMsgAMSetPreApprovalResponse = 4256; - k_EMsgAMCreateRefund = 4258; - k_EMsgAMCreateChargeback = 4260; - k_EMsgAMCreateDispute = 4262; - k_EMsgAMClearDispute = 4264; - k_EMsgAMCreateFinancialAdjustment = 4265; - k_EMsgAMPlayerNicknameList = 4266; - k_EMsgAMPlayerNicknameListResponse = 4267; - k_EMsgAMGetUserCurrentGameInfo = 4269; - k_EMsgAMGetUserCurrentGameInfoResponse = 4270; - k_EMsgAMGetGSPlayerList = 4271; - k_EMsgAMGetGSPlayerListResponse = 4272; - k_EMsgAMGetSteamIDForMicroTxn = 4278; - k_EMsgAMGetSteamIDForMicroTxnResponse = 4279; - k_EMsgAMSetPartnerMember = 4280; - k_EMsgAMRemovePublisherUser = 4281; - k_EMsgAMGetUserLicenseList = 4282; - k_EMsgAMGetUserLicenseListResponse = 4283; - k_EMsgAMReloadGameGroupPolicy = 4284; - k_EMsgAMAddFreeLicenseResponse = 4285; - k_EMsgAMVACStatusUpdate = 4286; - k_EMsgAMGetAccountDetails = 4287; - k_EMsgAMGetAccountDetailsResponse = 4288; - k_EMsgAMGetPlayerLinkDetails = 4289; - k_EMsgAMGetPlayerLinkDetailsResponse = 4290; - k_EMsgAMGetAccountFlagsForWGSpoofing = 4294; - k_EMsgAMGetAccountFlagsForWGSpoofingResponse = 4295; - k_EMsgAMGetClanOfficers = 4298; - k_EMsgAMGetClanOfficersResponse = 4299; - k_EMsgAMNameChange = 4300; - k_EMsgAMGetNameHistory = 4301; - k_EMsgAMGetNameHistoryResponse = 4302; - k_EMsgAMUpdateProviderStatus = 4305; - k_EMsgAMSupportRemoveAccountSecurity = 4307; - k_EMsgAMIsAccountInCaptchaGracePeriod = 4308; - k_EMsgAMIsAccountInCaptchaGracePeriodResponse = 4309; - k_EMsgAMAccountPS3Unlink = 4310; - k_EMsgAMAccountPS3UnlinkResponse = 4311; - k_EMsgUGSStoreUserStatsResponse = 4312; - k_EMsgAMGetAccountPSNInfo = 4313; - k_EMsgAMGetAccountPSNInfoResponse = 4314; - k_EMsgAMAuthenticatedPlayerList = 4315; - k_EMsgAMGetUserGifts = 4316; - k_EMsgAMGetUserGiftsResponse = 4317; - k_EMsgAMTransferLockedGifts = 4320; - k_EMsgAMTransferLockedGiftsResponse = 4321; - k_EMsgAMPlayerHostedOnGameServer = 4322; - k_EMsgAMGetAccountBanInfo = 4323; - k_EMsgAMGetAccountBanInfoResponse = 4324; - k_EMsgAMRecordBanEnforcement = 4325; - k_EMsgAMRollbackGiftTransfer = 4326; - k_EMsgAMRollbackGiftTransferResponse = 4327; - k_EMsgAMHandlePendingTransaction = 4328; - k_EMsgAMRequestClanDetails = 4329; - k_EMsgAMDeleteStoredPaypalAgreement = 4330; - k_EMsgAMGameServerUpdate = 4331; - k_EMsgAMGameServerRemove = 4332; - k_EMsgAMGetPaypalAgreements = 4333; - k_EMsgAMGetPaypalAgreementsResponse = 4334; - k_EMsgAMGameServerPlayerCompatibilityCheck = 4335; - k_EMsgAMGameServerPlayerCompatibilityCheckResponse = 4336; - k_EMsgAMRenewLicense = 4337; - k_EMsgAMGetAccountCommunityBanInfo = 4338; - k_EMsgAMGetAccountCommunityBanInfoResponse = 4339; - k_EMsgAMGameServerAccountChangePassword = 4340; - k_EMsgAMGameServerAccountDeleteAccount = 4341; - k_EMsgAMRenewAgreement = 4342; - k_EMsgAMXsollaPayment = 4344; - k_EMsgAMXsollaPaymentResponse = 4345; - k_EMsgAMAcctAllowedToPurchase = 4346; - k_EMsgAMAcctAllowedToPurchaseResponse = 4347; - k_EMsgAMSwapKioskDeposit = 4348; - k_EMsgAMSwapKioskDepositResponse = 4349; - k_EMsgAMSetUserGiftUnowned = 4350; - k_EMsgAMSetUserGiftUnownedResponse = 4351; - k_EMsgAMClaimUnownedUserGift = 4352; - k_EMsgAMClaimUnownedUserGiftResponse = 4353; - k_EMsgAMSetClanName = 4354; - k_EMsgAMSetClanNameResponse = 4355; - k_EMsgAMGrantCoupon = 4356; - k_EMsgAMGrantCouponResponse = 4357; - k_EMsgAMIsPackageRestrictedInUserCountry = 4358; - k_EMsgAMIsPackageRestrictedInUserCountryResponse = 4359; - k_EMsgAMHandlePendingTransactionResponse = 4360; - k_EMsgAMGrantGuestPasses2 = 4361; - k_EMsgAMGrantGuestPasses2Response = 4362; - k_EMsgAMGetPlayerBanDetails = 4365; - k_EMsgAMGetPlayerBanDetailsResponse = 4366; - k_EMsgAMFinalizePurchase = 4367; - k_EMsgAMFinalizePurchaseResponse = 4368; - k_EMsgAMPersonaChangeResponse = 4372; - k_EMsgAMGetClanDetailsForForumCreation = 4373; - k_EMsgAMGetClanDetailsForForumCreationResponse = 4374; - k_EMsgAMGetPendingNotificationCount = 4375; - k_EMsgAMGetPendingNotificationCountResponse = 4376; - k_EMsgAMPasswordHashUpgrade = 4377; - k_EMsgAMBoaCompraPayment = 4380; - k_EMsgAMBoaCompraPaymentResponse = 4381; - k_EMsgAMCompleteExternalPurchase = 4383; - k_EMsgAMCompleteExternalPurchaseResponse = 4384; - k_EMsgAMResolveNegativeWalletCredits = 4385; - k_EMsgAMResolveNegativeWalletCreditsResponse = 4386; - k_EMsgAMPlayerGetClanBasicDetails = 4389; - k_EMsgAMPlayerGetClanBasicDetailsResponse = 4390; - k_EMsgAMMOLPayment = 4391; - k_EMsgAMMOLPaymentResponse = 4392; - k_EMsgGetUserIPCountry = 4393; - k_EMsgGetUserIPCountryResponse = 4394; - k_EMsgNotificationOfSuspiciousActivity = 4395; - k_EMsgAMDegicaPayment = 4396; - k_EMsgAMDegicaPaymentResponse = 4397; - k_EMsgAMEClubPayment = 4398; - k_EMsgAMEClubPaymentResponse = 4399; - k_EMsgAMPayPalPaymentsHubPayment = 4400; - k_EMsgAMPayPalPaymentsHubPaymentResponse = 4401; - k_EMsgAMTwoFactorRecoverAuthenticatorRequest = 4402; - k_EMsgAMTwoFactorRecoverAuthenticatorResponse = 4403; - k_EMsgAMSmart2PayPayment = 4404; - k_EMsgAMSmart2PayPaymentResponse = 4405; - k_EMsgAMValidatePasswordResetCodeAndSendSmsRequest = 4406; - k_EMsgAMValidatePasswordResetCodeAndSendSmsResponse = 4407; - k_EMsgAMGetAccountResetDetailsRequest = 4408; - k_EMsgAMGetAccountResetDetailsResponse = 4409; - k_EMsgAMBitPayPayment = 4410; - k_EMsgAMBitPayPaymentResponse = 4411; - k_EMsgAMSendAccountInfoUpdate = 4412; - k_EMsgAMSendScheduledGift = 4413; - k_EMsgAMNodwinPayment = 4414; - k_EMsgAMNodwinPaymentResponse = 4415; - k_EMsgAMResolveWalletRevoke = 4416; - k_EMsgAMResolveWalletReverseRevoke = 4417; - k_EMsgAMFundedPayment = 4418; - k_EMsgAMFundedPaymentResponse = 4419; - k_EMsgAMRequestPersonaUpdateForChatServer = 4420; - k_EMsgAMPerfectWorldPayment = 4421; - k_EMsgAMPerfectWorldPaymentResponse = 4422; - k_EMsgAMECommPayPayment = 4423; - k_EMsgAMECommPayPaymentResponse = 4424; - k_EMsgAMSetRemoteClientID = 4425; - k_EMsgBasePSRange = 5000; - k_EMsgPSCreateShoppingCart = 5001; - k_EMsgPSCreateShoppingCartResponse = 5002; - k_EMsgPSIsValidShoppingCart = 5003; - k_EMsgPSIsValidShoppingCartResponse = 5004; - k_EMsgPSRemoveLineItemFromShoppingCart = 5007; - k_EMsgPSRemoveLineItemFromShoppingCartResponse = 5008; - k_EMsgPSGetShoppingCartContents = 5009; - k_EMsgPSGetShoppingCartContentsResponse = 5010; - k_EMsgPSAddWalletCreditToShoppingCart = 5011; - k_EMsgPSAddWalletCreditToShoppingCartResponse = 5012; - k_EMsgBaseUFSRange = 5200; - k_EMsgClientUFSUploadFileRequest = 5202; - k_EMsgClientUFSUploadFileResponse = 5203; - k_EMsgClientUFSUploadFileChunk = 5204; - k_EMsgClientUFSUploadFileFinished = 5205; - k_EMsgClientUFSGetFileListForApp = 5206; - k_EMsgClientUFSGetFileListForAppResponse = 5207; - k_EMsgClientUFSDownloadRequest = 5210; - k_EMsgClientUFSDownloadResponse = 5211; - k_EMsgClientUFSDownloadChunk = 5212; - k_EMsgClientUFSLoginRequest = 5213; - k_EMsgClientUFSLoginResponse = 5214; - k_EMsgUFSReloadPartitionInfo = 5215; - k_EMsgClientUFSTransferHeartbeat = 5216; - k_EMsgUFSSynchronizeFile = 5217; - k_EMsgUFSSynchronizeFileResponse = 5218; - k_EMsgClientUFSDeleteFileRequest = 5219; - k_EMsgClientUFSDeleteFileResponse = 5220; - k_EMsgClientUFSGetUGCDetails = 5226; - k_EMsgClientUFSGetUGCDetailsResponse = 5227; - k_EMsgUFSUpdateFileFlags = 5228; - k_EMsgUFSUpdateFileFlagsResponse = 5229; - k_EMsgClientUFSGetSingleFileInfo = 5230; - k_EMsgClientUFSGetSingleFileInfoResponse = 5231; - k_EMsgClientUFSShareFile = 5232; - k_EMsgClientUFSShareFileResponse = 5233; - k_EMsgUFSReloadAccount = 5234; - k_EMsgUFSReloadAccountResponse = 5235; - k_EMsgUFSUpdateRecordBatched = 5236; - k_EMsgUFSUpdateRecordBatchedResponse = 5237; - k_EMsgUFSMigrateFile = 5238; - k_EMsgUFSMigrateFileResponse = 5239; - k_EMsgUFSGetUGCURLs = 5240; - k_EMsgUFSGetUGCURLsResponse = 5241; - k_EMsgUFSHttpUploadFileFinishRequest = 5242; - k_EMsgUFSHttpUploadFileFinishResponse = 5243; - k_EMsgUFSDownloadStartRequest = 5244; - k_EMsgUFSDownloadStartResponse = 5245; - k_EMsgUFSDownloadChunkRequest = 5246; - k_EMsgUFSDownloadChunkResponse = 5247; - k_EMsgUFSDownloadFinishRequest = 5248; - k_EMsgUFSDownloadFinishResponse = 5249; - k_EMsgUFSFlushURLCache = 5250; - k_EMsgClientUFSUploadCommit = 5251; - k_EMsgClientUFSUploadCommitResponse = 5252; - k_EMsgUFSMigrateFileAppID = 5253; - k_EMsgUFSMigrateFileAppIDResponse = 5254; - k_EMsgBaseClient2 = 5400; - k_EMsgClientRequestForgottenPasswordEmail = 5401; - k_EMsgClientRequestForgottenPasswordEmailResponse = 5402; - k_EMsgClientCreateAccountResponse = 5403; - k_EMsgClientResetForgottenPassword = 5404; - k_EMsgClientResetForgottenPasswordResponse = 5405; - k_EMsgClientInformOfResetForgottenPassword = 5407; - k_EMsgClientInformOfResetForgottenPasswordResponse = 5408; - k_EMsgClientAnonUserLogOn_Deprecated = 5409; - k_EMsgClientGamesPlayedWithDataBlob = 5410; - k_EMsgClientUpdateUserGameInfo = 5411; - k_EMsgClientFileToDownload = 5412; - k_EMsgClientFileToDownloadResponse = 5413; - k_EMsgClientLBSSetScore = 5414; - k_EMsgClientLBSSetScoreResponse = 5415; - k_EMsgClientLBSFindOrCreateLB = 5416; - k_EMsgClientLBSFindOrCreateLBResponse = 5417; - k_EMsgClientLBSGetLBEntries = 5418; - k_EMsgClientLBSGetLBEntriesResponse = 5419; - k_EMsgClientChatDeclined = 5426; - k_EMsgClientFriendMsgIncoming = 5427; - k_EMsgClientAuthList_Deprecated = 5428; - k_EMsgClientTicketAuthComplete = 5429; - k_EMsgClientIsLimitedAccount = 5430; - k_EMsgClientRequestAuthList = 5431; - k_EMsgClientAuthList = 5432; - k_EMsgClientStat = 5433; - k_EMsgClientP2PConnectionInfo = 5434; - k_EMsgClientP2PConnectionFailInfo = 5435; - k_EMsgClientGetDepotDecryptionKey = 5438; - k_EMsgClientGetDepotDecryptionKeyResponse = 5439; - k_EMsgClientEnableTestLicense = 5443; - k_EMsgClientEnableTestLicenseResponse = 5444; - k_EMsgClientDisableTestLicense = 5445; - k_EMsgClientDisableTestLicenseResponse = 5446; - k_EMsgClientRequestValidationMail = 5448; - k_EMsgClientRequestValidationMailResponse = 5449; - k_EMsgClientCheckAppBetaPassword = 5450; - k_EMsgClientCheckAppBetaPasswordResponse = 5451; - k_EMsgClientToGC = 5452; - k_EMsgClientFromGC = 5453; - k_EMsgClientEmailAddrInfo = 5456; - k_EMsgClientPasswordChange3 = 5457; - k_EMsgClientEmailChange3 = 5458; - k_EMsgClientPersonalQAChange3 = 5459; - k_EMsgClientResetForgottenPassword3 = 5460; - k_EMsgClientRequestForgottenPasswordEmail3 = 5461; - k_EMsgClientNewLoginKey = 5463; - k_EMsgClientNewLoginKeyAccepted = 5464; - k_EMsgClientLogOnWithHash_Deprecated = 5465; - k_EMsgClientStoreUserStats2 = 5466; - k_EMsgClientStatsUpdated = 5467; - k_EMsgClientActivateOEMLicense = 5468; - k_EMsgClientRegisterOEMMachine = 5469; - k_EMsgClientRegisterOEMMachineResponse = 5470; - k_EMsgClientRequestedClientStats = 5480; - k_EMsgClientStat2Int32 = 5481; - k_EMsgClientStat2 = 5482; - k_EMsgClientVerifyPassword = 5483; - k_EMsgClientVerifyPasswordResponse = 5484; - k_EMsgClientDRMDownloadRequest = 5485; - k_EMsgClientDRMDownloadResponse = 5486; - k_EMsgClientDRMFinalResult = 5487; - k_EMsgClientGetFriendsWhoPlayGame = 5488; - k_EMsgClientGetFriendsWhoPlayGameResponse = 5489; - k_EMsgClientOGSBeginSession = 5490; - k_EMsgClientOGSBeginSessionResponse = 5491; - k_EMsgClientOGSEndSession = 5492; - k_EMsgClientOGSEndSessionResponse = 5493; - k_EMsgClientOGSWriteRow = 5494; - k_EMsgClientGetPeerContentInfo = 5495; - k_EMsgClientGetPeerContentInfoResponse = 5496; - k_EMsgClientStartPeerContentServer = 5497; - k_EMsgClientStartPeerContentServerResponse = 5498; - k_EMsgClientServerUnavailable = 5500; - k_EMsgClientServersAvailable = 5501; - k_EMsgClientRegisterAuthTicketWithCM = 5502; - k_EMsgClientGCMsgFailed = 5503; - k_EMsgClientMicroTxnAuthRequest = 5504; - k_EMsgClientMicroTxnAuthorize = 5505; - k_EMsgClientMicroTxnAuthorizeResponse = 5506; - k_EMsgClientGetMicroTxnInfo = 5508; - k_EMsgClientGetMicroTxnInfoResponse = 5509; - k_EMsgClientDeregisterWithServer = 5511; - k_EMsgClientSubscribeToPersonaFeed = 5512; - k_EMsgClientLogon = 5514; - k_EMsgClientGetClientDetails = 5515; - k_EMsgClientGetClientDetailsResponse = 5516; - k_EMsgClientReportOverlayDetourFailure = 5517; - k_EMsgClientGetClientAppList = 5518; - k_EMsgClientGetClientAppListResponse = 5519; - k_EMsgClientInstallClientApp = 5520; - k_EMsgClientInstallClientAppResponse = 5521; - k_EMsgClientUninstallClientApp = 5522; - k_EMsgClientUninstallClientAppResponse = 5523; - k_EMsgClientSetClientAppUpdateState = 5524; - k_EMsgClientSetClientAppUpdateStateResponse = 5525; - k_EMsgClientRequestEncryptedAppTicket = 5526; - k_EMsgClientRequestEncryptedAppTicketResponse = 5527; - k_EMsgClientWalletInfoUpdate = 5528; - k_EMsgClientLBSSetUGC = 5529; - k_EMsgClientLBSSetUGCResponse = 5530; - k_EMsgClientAMGetClanOfficers = 5531; - k_EMsgClientAMGetClanOfficersResponse = 5532; - k_EMsgClientFriendProfileInfo = 5535; - k_EMsgClientFriendProfileInfoResponse = 5536; - k_EMsgClientUpdateMachineAuth = 5537; - k_EMsgClientUpdateMachineAuthResponse = 5538; - k_EMsgClientReadMachineAuth = 5539; - k_EMsgClientReadMachineAuthResponse = 5540; - k_EMsgClientRequestMachineAuth = 5541; - k_EMsgClientRequestMachineAuthResponse = 5542; - k_EMsgClientScreenshotsChanged = 5543; - k_EMsgClientGetCDNAuthToken = 5546; - k_EMsgClientGetCDNAuthTokenResponse = 5547; - k_EMsgClientDownloadRateStatistics = 5548; - k_EMsgClientRequestAccountData = 5549; - k_EMsgClientRequestAccountDataResponse = 5550; - k_EMsgClientResetForgottenPassword4 = 5551; - k_EMsgClientHideFriend = 5552; - k_EMsgClientFriendsGroupsList = 5553; - k_EMsgClientGetClanActivityCounts = 5554; - k_EMsgClientGetClanActivityCountsResponse = 5555; - k_EMsgClientOGSReportString = 5556; - k_EMsgClientOGSReportBug = 5557; - k_EMsgClientSentLogs = 5558; - k_EMsgClientLogonGameServer = 5559; - k_EMsgAMClientCreateFriendsGroup = 5560; - k_EMsgAMClientCreateFriendsGroupResponse = 5561; - k_EMsgAMClientDeleteFriendsGroup = 5562; - k_EMsgAMClientDeleteFriendsGroupResponse = 5563; - k_EMsgAMClientManageFriendsGroup = 5564; - k_EMsgAMClientManageFriendsGroupResponse = 5565; - k_EMsgAMClientAddFriendToGroup = 5566; - k_EMsgAMClientAddFriendToGroupResponse = 5567; - k_EMsgAMClientRemoveFriendFromGroup = 5568; - k_EMsgAMClientRemoveFriendFromGroupResponse = 5569; - k_EMsgClientAMGetPersonaNameHistory = 5570; - k_EMsgClientAMGetPersonaNameHistoryResponse = 5571; - k_EMsgClientRequestFreeLicense = 5572; - k_EMsgClientRequestFreeLicenseResponse = 5573; - k_EMsgClientDRMDownloadRequestWithCrashData = 5574; - k_EMsgClientAuthListAck = 5575; - k_EMsgClientItemAnnouncements = 5576; - k_EMsgClientRequestItemAnnouncements = 5577; - k_EMsgClientFriendMsgEchoToSender = 5578; - k_EMsgClientCommentNotifications = 5582; - k_EMsgClientRequestCommentNotifications = 5583; - k_EMsgClientPersonaChangeResponse = 5584; - k_EMsgClientRequestWebAPIAuthenticateUserNonce = 5585; - k_EMsgClientRequestWebAPIAuthenticateUserNonceResponse = 5586; - k_EMsgClientPlayerNicknameList = 5587; - k_EMsgAMClientSetPlayerNickname = 5588; - k_EMsgAMClientSetPlayerNicknameResponse = 5589; - k_EMsgClientGetNumberOfCurrentPlayersDP = 5592; - k_EMsgClientGetNumberOfCurrentPlayersDPResponse = 5593; - k_EMsgClientServiceMethodLegacy = 5594; - k_EMsgClientServiceMethodLegacyResponse = 5595; - k_EMsgClientFriendUserStatusPublished = 5596; - k_EMsgClientCurrentUIMode = 5597; - k_EMsgClientVanityURLChangedNotification = 5598; - k_EMsgClientUserNotifications = 5599; - k_EMsgBaseDFS = 5600; - k_EMsgDFSGetFile = 5601; - k_EMsgDFSInstallLocalFile = 5602; - k_EMsgDFSConnection = 5603; - k_EMsgDFSConnectionReply = 5604; - k_EMsgClientDFSAuthenticateRequest = 5605; - k_EMsgClientDFSAuthenticateResponse = 5606; - k_EMsgClientDFSEndSession = 5607; - k_EMsgDFSPurgeFile = 5608; - k_EMsgDFSRouteFile = 5609; - k_EMsgDFSGetFileFromServer = 5610; - k_EMsgDFSAcceptedResponse = 5611; - k_EMsgDFSRequestPingback = 5612; - k_EMsgDFSRecvTransmitFile = 5613; - k_EMsgDFSSendTransmitFile = 5614; - k_EMsgDFSRequestPingback2 = 5615; - k_EMsgDFSResponsePingback2 = 5616; - k_EMsgClientDFSDownloadStatus = 5617; - k_EMsgDFSStartTransfer = 5618; - k_EMsgDFSTransferComplete = 5619; - k_EMsgDFSRouteFileResponse = 5620; - k_EMsgClientNetworkingCertRequest = 5621; - k_EMsgClientNetworkingCertRequestResponse = 5622; - k_EMsgClientChallengeRequest = 5623; - k_EMsgClientChallengeResponse = 5624; - k_EMsgBadgeCraftedNotification = 5625; - k_EMsgClientNetworkingMobileCertRequest = 5626; - k_EMsgClientNetworkingMobileCertRequestResponse = 5627; - k_EMsgBaseMDS = 5800; - k_EMsgMDSGetDepotDecryptionKey = 5812; - k_EMsgMDSGetDepotDecryptionKeyResponse = 5813; - k_EMsgMDSContentServerConfigRequest = 5827; - k_EMsgMDSContentServerConfig = 5828; - k_EMsgMDSGetDepotManifest = 5829; - k_EMsgMDSGetDepotManifestResponse = 5830; - k_EMsgMDSGetDepotManifestChunk = 5831; - k_EMsgMDSGetDepotChunk = 5832; - k_EMsgMDSGetDepotChunkResponse = 5833; - k_EMsgMDSGetDepotChunkChunk = 5834; - k_EMsgMDSToCSFlushChunk = 5844; - k_EMsgMDSMigrateChunk = 5847; - k_EMsgMDSMigrateChunkResponse = 5848; - k_EMsgMDSToCSFlushManifest = 5849; - k_EMsgCSBase = 6200; - k_EMsgCSPing = 6201; - k_EMsgCSPingResponse = 6202; - k_EMsgGMSBase = 6400; - k_EMsgGMSGameServerReplicate = 6401; - k_EMsgClientGMSServerQuery = 6403; - k_EMsgGMSClientServerQueryResponse = 6404; - k_EMsgAMGMSGameServerUpdate = 6405; - k_EMsgAMGMSGameServerRemove = 6406; - k_EMsgGameServerOutOfDate = 6407; - k_EMsgDeviceAuthorizationBase = 6500; - k_EMsgClientAuthorizeLocalDeviceRequest = 6501; - k_EMsgClientAuthorizeLocalDeviceResponse = 6502; - k_EMsgClientDeauthorizeDeviceRequest = 6503; - k_EMsgClientDeauthorizeDevice = 6504; - k_EMsgClientUseLocalDeviceAuthorizations = 6505; - k_EMsgClientGetAuthorizedDevices = 6506; - k_EMsgClientGetAuthorizedDevicesResponse = 6507; - k_EMsgAMNotifySessionDeviceAuthorized = 6508; - k_EMsgClientAuthorizeLocalDeviceNotification = 6509; - k_EMsgMMSBase = 6600; - k_EMsgClientMMSCreateLobby = 6601; - k_EMsgClientMMSCreateLobbyResponse = 6602; - k_EMsgClientMMSJoinLobby = 6603; - k_EMsgClientMMSJoinLobbyResponse = 6604; - k_EMsgClientMMSLeaveLobby = 6605; - k_EMsgClientMMSLeaveLobbyResponse = 6606; - k_EMsgClientMMSGetLobbyList = 6607; - k_EMsgClientMMSGetLobbyListResponse = 6608; - k_EMsgClientMMSSetLobbyData = 6609; - k_EMsgClientMMSSetLobbyDataResponse = 6610; - k_EMsgClientMMSGetLobbyData = 6611; - k_EMsgClientMMSLobbyData = 6612; - k_EMsgClientMMSSendLobbyChatMsg = 6613; - k_EMsgClientMMSLobbyChatMsg = 6614; - k_EMsgClientMMSSetLobbyOwner = 6615; - k_EMsgClientMMSSetLobbyOwnerResponse = 6616; - k_EMsgClientMMSSetLobbyGameServer = 6617; - k_EMsgClientMMSLobbyGameServerSet = 6618; - k_EMsgClientMMSUserJoinedLobby = 6619; - k_EMsgClientMMSUserLeftLobby = 6620; - k_EMsgClientMMSInviteToLobby = 6621; - k_EMsgClientMMSFlushFrenemyListCache = 6622; - k_EMsgClientMMSFlushFrenemyListCacheResponse = 6623; - k_EMsgClientMMSSetLobbyLinked = 6624; - k_EMsgClientMMSSetRatelimitPolicyOnClient = 6625; - k_EMsgClientMMSGetLobbyStatus = 6626; - k_EMsgClientMMSGetLobbyStatusResponse = 6627; - k_EMsgMMSGetLobbyList = 6628; - k_EMsgMMSGetLobbyListResponse = 6629; - k_EMsgNonStdMsgBase = 6800; - k_EMsgNonStdMsgMemcached = 6801; - k_EMsgNonStdMsgHTTPServer = 6802; - k_EMsgNonStdMsgHTTPClient = 6803; - k_EMsgNonStdMsgWGResponse = 6804; - k_EMsgNonStdMsgPHPSimulator = 6805; - k_EMsgNonStdMsgChase = 6806; - k_EMsgNonStdMsgDFSTransfer = 6807; - k_EMsgNonStdMsgTests = 6808; - k_EMsgNonStdMsgUMQpipeAAPL = 6809; - k_EMSgNonStdMsgSyslog = 6810; - k_EMsgNonStdMsgLogsink = 6811; - k_EMsgNonStdMsgSteam2Emulator = 6812; - k_EMsgNonStdMsgRTMPServer = 6813; - k_EMsgNonStdMsgWebSocket = 6814; - k_EMsgNonStdMsgRedis = 6815; - k_EMsgUDSBase = 7000; - k_EMsgClientUDSP2PSessionStarted = 7001; - k_EMsgClientUDSP2PSessionEnded = 7002; - k_EMsgUDSRenderUserAuth = 7003; - k_EMsgUDSRenderUserAuthResponse = 7004; - k_EMsgClientInviteToGame = 7005; - k_EMsgUDSHasSession = 7006; - k_EMsgUDSHasSessionResponse = 7007; - k_EMsgMPASBase = 7100; - k_EMsgMPASVacBanReset = 7101; - k_EMsgKGSBase = 7200; - k_EMsgUCMBase = 7300; - k_EMsgClientUCMAddScreenshot = 7301; - k_EMsgClientUCMAddScreenshotResponse = 7302; - k_EMsgUCMResetCommunityContent = 7307; - k_EMsgUCMResetCommunityContentResponse = 7308; - k_EMsgClientUCMDeleteScreenshot = 7309; - k_EMsgClientUCMDeleteScreenshotResponse = 7310; - k_EMsgClientUCMPublishFile = 7311; - k_EMsgClientUCMPublishFileResponse = 7312; - k_EMsgClientUCMDeletePublishedFile = 7315; - k_EMsgClientUCMDeletePublishedFileResponse = 7316; - k_EMsgClientUCMUpdatePublishedFile = 7325; - k_EMsgClientUCMUpdatePublishedFileResponse = 7326; - k_EMsgUCMUpdatePublishedFile = 7327; - k_EMsgUCMUpdatePublishedFileResponse = 7328; - k_EMsgUCMUpdatePublishedFileStat = 7331; - k_EMsgUCMReloadPublishedFile = 7337; - k_EMsgUCMReloadUserFileListCaches = 7338; - k_EMsgUCMPublishedFileReported = 7339; - k_EMsgUCMPublishedFilePreviewAdd = 7341; - k_EMsgUCMPublishedFilePreviewAddResponse = 7342; - k_EMsgUCMPublishedFilePreviewRemove = 7343; - k_EMsgUCMPublishedFilePreviewRemoveResponse = 7344; - k_EMsgUCMPublishedFileSubscribed = 7349; - k_EMsgUCMPublishedFileUnsubscribed = 7350; - k_EMsgUCMPublishFile = 7351; - k_EMsgUCMPublishFileResponse = 7352; - k_EMsgUCMPublishedFileChildAdd = 7353; - k_EMsgUCMPublishedFileChildAddResponse = 7354; - k_EMsgUCMPublishedFileChildRemove = 7355; - k_EMsgUCMPublishedFileChildRemoveResponse = 7356; - k_EMsgUCMPublishedFileParentChanged = 7359; - k_EMsgClientUCMSetUserPublishedFileAction = 7364; - k_EMsgClientUCMSetUserPublishedFileActionResponse = 7365; - k_EMsgClientUCMEnumeratePublishedFilesByUserAction = 7366; - k_EMsgClientUCMEnumeratePublishedFilesByUserActionResponse = 7367; - k_EMsgUCMGetUserSubscribedFiles = 7369; - k_EMsgUCMGetUserSubscribedFilesResponse = 7370; - k_EMsgUCMFixStatsPublishedFile = 7371; - k_EMsgClientUCMEnumerateUserSubscribedFilesWithUpdates = 7378; - k_EMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse = 7379; - k_EMsgUCMPublishedFileContentUpdated = 7380; - k_EMsgClientUCMPublishedFileUpdated = 7381; - k_EMsgFSBase = 7500; - k_EMsgClientRichPresenceUpload = 7501; - k_EMsgClientRichPresenceRequest = 7502; - k_EMsgClientRichPresenceInfo = 7503; - k_EMsgFSRichPresenceRequest = 7504; - k_EMsgFSRichPresenceResponse = 7505; - k_EMsgFSComputeFrenematrix = 7506; - k_EMsgFSComputeFrenematrixResponse = 7507; - k_EMsgFSPlayStatusNotification = 7508; - k_EMsgFSAddOrRemoveFollower = 7510; - k_EMsgFSAddOrRemoveFollowerResponse = 7511; - k_EMsgFSUpdateFollowingList = 7512; - k_EMsgFSCommentNotification = 7513; - k_EMsgFSCommentNotificationViewed = 7514; - k_EMsgClientFSGetFollowerCount = 7515; - k_EMsgClientFSGetFollowerCountResponse = 7516; - k_EMsgClientFSGetIsFollowing = 7517; - k_EMsgClientFSGetIsFollowingResponse = 7518; - k_EMsgClientFSEnumerateFollowingList = 7519; - k_EMsgClientFSEnumerateFollowingListResponse = 7520; - k_EMsgFSGetPendingNotificationCount = 7521; - k_EMsgFSGetPendingNotificationCountResponse = 7522; - k_EMsgClientChatOfflineMessageNotification = 7523; - k_EMsgClientChatRequestOfflineMessageCount = 7524; - k_EMsgClientChatGetFriendMessageHistory = 7525; - k_EMsgClientChatGetFriendMessageHistoryResponse = 7526; - k_EMsgClientChatGetFriendMessageHistoryForOfflineMessages = 7527; - k_EMsgClientFSGetFriendsSteamLevels = 7528; - k_EMsgClientFSGetFriendsSteamLevelsResponse = 7529; - k_EMsgAMRequestFriendData = 7530; - k_EMsgDRMRange2 = 7600; - k_EMsgCEGVersionSetEnableDisableRequest = 7600; - k_EMsgCEGVersionSetEnableDisableResponse = 7601; - k_EMsgCEGPropStatusDRMSRequest = 7602; - k_EMsgCEGPropStatusDRMSResponse = 7603; - k_EMsgCEGWhackFailureReportRequest = 7604; - k_EMsgCEGWhackFailureReportResponse = 7605; - k_EMsgDRMSFetchVersionSet = 7606; - k_EMsgDRMSFetchVersionSetResponse = 7607; - k_EMsgEconBase = 7700; - k_EMsgEconTrading_InitiateTradeRequest = 7701; - k_EMsgEconTrading_InitiateTradeProposed = 7702; - k_EMsgEconTrading_InitiateTradeResponse = 7703; - k_EMsgEconTrading_InitiateTradeResult = 7704; - k_EMsgEconTrading_StartSession = 7705; - k_EMsgEconTrading_CancelTradeRequest = 7706; - k_EMsgEconFlushInventoryCache = 7707; - k_EMsgEconFlushInventoryCacheResponse = 7708; - k_EMsgEconCDKeyProcessTransaction = 7711; - k_EMsgEconCDKeyProcessTransactionResponse = 7712; - k_EMsgEconGetErrorLogs = 7713; - k_EMsgEconGetErrorLogsResponse = 7714; - k_EMsgRMRange = 7800; - k_EMsgRMTestVerisignOTP = 7800; - k_EMsgRMTestVerisignOTPResponse = 7801; - k_EMsgRMDeleteMemcachedKeys = 7803; - k_EMsgRMRemoteInvoke = 7804; - k_EMsgBadLoginIPList = 7805; - k_EMsgRMMsgTraceAddTrigger = 7806; - k_EMsgRMMsgTraceRemoveTrigger = 7807; - k_EMsgRMMsgTraceEvent = 7808; - k_EMsgUGSBase = 7900; - k_EMsgUGSUpdateGlobalStats = 7900; - k_EMsgClientUGSGetGlobalStats = 7901; - k_EMsgClientUGSGetGlobalStatsResponse = 7902; - k_EMsgStoreBase = 8000; - k_EMsgUMQBase = 8100; - k_EMsgUMQLogonRequest = 8100; - k_EMsgUMQLogonResponse = 8101; - k_EMsgUMQLogoffRequest = 8102; - k_EMsgUMQLogoffResponse = 8103; - k_EMsgUMQSendChatMessage = 8104; - k_EMsgUMQIncomingChatMessage = 8105; - k_EMsgUMQPoll = 8106; - k_EMsgUMQPollResults = 8107; - k_EMsgUMQ2AM_ClientMsgBatch = 8108; - k_EMsgWorkshopBase = 8200; - k_EMsgWebAPIBase = 8300; - k_EMsgWebAPIValidateOAuth2Token = 8300; - k_EMsgWebAPIValidateOAuth2TokenResponse = 8301; - k_EMsgWebAPIRegisterGCInterfaces = 8303; - k_EMsgWebAPIInvalidateOAuthClientCache = 8304; - k_EMsgWebAPIInvalidateOAuthTokenCache = 8305; - k_EMsgWebAPISetSecrets = 8306; - k_EMsgBackpackBase = 8400; - k_EMsgBackpackAddToCurrency = 8401; - k_EMsgBackpackAddToCurrencyResponse = 8402; - k_EMsgCREBase = 8500; - k_EMsgCREItemVoteSummary = 8503; - k_EMsgCREItemVoteSummaryResponse = 8504; - k_EMsgCREUpdateUserPublishedItemVote = 8507; - k_EMsgCREUpdateUserPublishedItemVoteResponse = 8508; - k_EMsgCREGetUserPublishedItemVoteDetails = 8509; - k_EMsgCREGetUserPublishedItemVoteDetailsResponse = 8510; - k_EMsgSecretsBase = 8600; - k_EMsgSecretsRequestCredentialPair = 8600; - k_EMsgSecretsCredentialPairResponse = 8601; - k_EMsgBoxMonitorBase = 8700; - k_EMsgBoxMonitorReportRequest = 8700; - k_EMsgBoxMonitorReportResponse = 8701; - k_EMsgLogsinkBase = 8800; - k_EMsgLogsinkWriteReport = 8800; - k_EMsgPICSBase = 8900; - k_EMsgClientPICSChangesSinceRequest = 8901; - k_EMsgClientPICSChangesSinceResponse = 8902; - k_EMsgClientPICSProductInfoRequest = 8903; - k_EMsgClientPICSProductInfoResponse = 8904; - k_EMsgClientPICSAccessTokenRequest = 8905; - k_EMsgClientPICSAccessTokenResponse = 8906; - k_EMsgWorkerProcess = 9000; - k_EMsgWorkerProcessPingRequest = 9000; - k_EMsgWorkerProcessPingResponse = 9001; - k_EMsgWorkerProcessShutdown = 9002; - k_EMsgDRMWorkerProcess = 9100; - k_EMsgDRMWorkerProcessDRMAndSign = 9100; - k_EMsgDRMWorkerProcessDRMAndSignResponse = 9101; - k_EMsgDRMWorkerProcessSteamworksInfoRequest = 9102; - k_EMsgDRMWorkerProcessSteamworksInfoResponse = 9103; - k_EMsgDRMWorkerProcessInstallDRMDLLRequest = 9104; - k_EMsgDRMWorkerProcessInstallDRMDLLResponse = 9105; - k_EMsgDRMWorkerProcessSecretIdStringRequest = 9106; - k_EMsgDRMWorkerProcessSecretIdStringResponse = 9107; - k_EMsgDRMWorkerProcessInstallProcessedFilesRequest = 9110; - k_EMsgDRMWorkerProcessInstallProcessedFilesResponse = 9111; - k_EMsgDRMWorkerProcessExamineBlobRequest = 9112; - k_EMsgDRMWorkerProcessExamineBlobResponse = 9113; - k_EMsgDRMWorkerProcessDescribeSecretRequest = 9114; - k_EMsgDRMWorkerProcessDescribeSecretResponse = 9115; - k_EMsgDRMWorkerProcessBackfillOriginalRequest = 9116; - k_EMsgDRMWorkerProcessBackfillOriginalResponse = 9117; - k_EMsgDRMWorkerProcessValidateDRMDLLRequest = 9118; - k_EMsgDRMWorkerProcessValidateDRMDLLResponse = 9119; - k_EMsgDRMWorkerProcessValidateFileRequest = 9120; - k_EMsgDRMWorkerProcessValidateFileResponse = 9121; - k_EMsgDRMWorkerProcessSplitAndInstallRequest = 9122; - k_EMsgDRMWorkerProcessSplitAndInstallResponse = 9123; - k_EMsgDRMWorkerProcessGetBlobRequest = 9124; - k_EMsgDRMWorkerProcessGetBlobResponse = 9125; - k_EMsgDRMWorkerProcessEvaluateCrashRequest = 9126; - k_EMsgDRMWorkerProcessEvaluateCrashResponse = 9127; - k_EMsgDRMWorkerProcessAnalyzeFileRequest = 9128; - k_EMsgDRMWorkerProcessAnalyzeFileResponse = 9129; - k_EMsgDRMWorkerProcessUnpackBlobRequest = 9130; - k_EMsgDRMWorkerProcessUnpackBlobResponse = 9131; - k_EMsgDRMWorkerProcessInstallAllRequest = 9132; - k_EMsgDRMWorkerProcessInstallAllResponse = 9133; - k_EMsgTestWorkerProcess = 9200; - k_EMsgTestWorkerProcessLoadUnloadModuleRequest = 9200; - k_EMsgTestWorkerProcessLoadUnloadModuleResponse = 9201; - k_EMsgTestWorkerProcessServiceModuleCallRequest = 9202; - k_EMsgTestWorkerProcessServiceModuleCallResponse = 9203; - k_EMsgQuestServerBase = 9300; - k_EMsgClientGetEmoticonList = 9330; - k_EMsgClientEmoticonList = 9331; - k_EMsgSLCBase = 9400; - k_EMsgSLCUserSessionStatus = 9400; - k_EMsgSLCRequestUserSessionStatus = 9401; - k_EMsgSLCSharedLicensesLockStatus = 9402; - k_EMsgClientSharedLibraryLockStatus = 9405; - k_EMsgClientSharedLibraryStopPlaying = 9406; - k_EMsgSLCOwnerLibraryChanged = 9407; - k_EMsgSLCSharedLibraryChanged = 9408; - k_EMsgRemoteClientBase = 9500; - k_EMsgRemoteClientAuth_OBSOLETE = 9500; - k_EMsgRemoteClientAuthResponse_OBSOLETE = 9501; - k_EMsgRemoteClientAppStatus = 9502; - k_EMsgRemoteClientStartStream = 9503; - k_EMsgRemoteClientStartStreamResponse = 9504; - k_EMsgRemoteClientPing = 9505; - k_EMsgRemoteClientPingResponse = 9506; - k_EMsgClientUnlockH264 = 9507; - k_EMsgClientUnlockH264Response = 9508; - k_EMsgRemoteClientAcceptEULA = 9509; - k_EMsgRemoteClientGetControllerConfig = 9510; - k_EMsgRemoteClientGetControllerConfigResponse = 9511; - k_EMsgRemoteClientStreamingEnabled = 9512; - k_EMsgClientUnlockHEVC_OBSOLETE = 9513; - k_EMsgClientUnlockHEVCResponse_OBSOLETE = 9514; - k_EMsgRemoteClientStatusRequest = 9515; - k_EMsgRemoteClientStatusResponse = 9516; - k_EMsgClientConcurrentSessionsBase = 9600; - k_EMsgClientPlayingSessionState = 9600; - k_EMsgClientKickPlayingSession = 9601; - k_EMsgClientBroadcastBase = 9700; - k_EMsgClientBroadcastInit = 9700; - k_EMsgClientBroadcastFrames = 9701; - k_EMsgClientBroadcastDisconnect = 9702; - k_EMsgClientBroadcastUploadConfig = 9704; - k_EMsgBaseClient3 = 9800; - k_EMsgClientVoiceCallPreAuthorize = 9800; - k_EMsgClientVoiceCallPreAuthorizeResponse = 9801; - k_EMsgClientServerTimestampRequest = 9802; - k_EMsgClientServerTimestampResponse = 9803; - k_EMsgServiceMethodCallFromClientNonAuthed = 9804; - k_EMsgClientHello = 9805; - k_EMsgClientEnableOrDisableDownloads = 9806; - k_EMsgClientEnableOrDisableDownloadsResponse = 9807; - k_EMsgClientLANP2PBase = 9900; - k_EMsgClientLANP2PRequestChunk = 9900; - k_EMsgClientLANP2PRequestChunkResponse = 9901; - k_EMsgClientPeerChunkRequest = 9902; - k_EMsgClientPeerChunkResponse = 9903; - k_EMsgClientLANP2PMax = 9999; - k_EMsgBaseWatchdogServer = 10000; - k_EMsgNotifyWatchdog = 10000; - k_EMsgClientSiteLicenseBase = 10100; - k_EMsgClientSiteLicenseSiteInfoNotification = 10100; - k_EMsgClientSiteLicenseCheckout = 10101; - k_EMsgClientSiteLicenseCheckoutResponse = 10102; - k_EMsgClientSiteLicenseGetAvailableSeats = 10103; - k_EMsgClientSiteLicenseGetAvailableSeatsResponse = 10104; - k_EMsgClientSiteLicenseGetContentCacheInfo = 10105; - k_EMsgClientSiteLicenseGetContentCacheInfoResponse = 10106; - k_EMsgBaseChatServer = 12000; - k_EMsgChatServerGetPendingNotificationCount = 12000; - k_EMsgChatServerGetPendingNotificationCountResponse = 12001; - k_EMsgBaseSecretServer = 12100; - k_EMsgServerSecretChanged = 12100; - k_EMsgBaseWG = 12200; - k_EMsgWGConnectionProtocolError = 12200; - k_EMsgWGConnectionValidateUserToken = 12201; - k_EMsgWGConnectionValidateUserTokenResponse = 12202; - k_EMsgWGConnectionLegacyWGRequest = 12203; - k_EMsgWGConnectionLegacyWGResponse = 12204; -} - -enum EClientPersonaStateFlag { - k_EClientPersonaStateFlagStatus = 1; - k_EClientPersonaStateFlagPlayerName = 2; - k_EClientPersonaStateFlagQueryPort = 4; - k_EClientPersonaStateFlagSourceID = 8; - k_EClientPersonaStateFlagPresence = 16; - k_EClientPersonaStateFlagLastSeen = 64; - k_EClientPersonaStateFlagUserClanRank = 128; - k_EClientPersonaStateGameExtraInfo = 256; - k_EClientPersonaStateGameDataBlob = 512; - k_EClientPersonaStateFlagClanData = 1024; - k_EClientPersonaStateFlagFacebook = 2048; - k_EClientPersonaStateFlagRichPresence = 4096; - k_EClientPersonaStateFlagBroadcast = 8192; - k_EClientPersonaStateFlagWatching = 16384; -} - -enum EMsgClanAccountFlags { - k_EMsgClanAccountFlagPublic = 1; - k_EMsgClanAccountFlagLarge = 2; - k_EMsgClanAccountFlagLocked = 4; - k_EMsgClanAccountFlagDisabled = 8; - k_EMsgClanAccountFlagOGG = 16; -} - -enum ESteamReviewScore { - k_ESteamReviewScore_OverwhelminglyPositive = 9; - k_ESteamReviewScore_VeryPositive = 8; - k_ESteamReviewScore_Positive = 7; - k_ESteamReviewScore_MostlyPositive = 6; - k_ESteamReviewScore_Mixed = 5; - k_ESteamReviewScore_MostlyNegative = 4; - k_ESteamReviewScore_Negative = 3; - k_ESteamReviewScore_VeryNegative = 2; - k_ESteamReviewScore_OverwhelminglyNegative = 1; - k_ESteamReviewScore_None = 0; -} - -enum ECodecUsagePlatform { - k_ECodecUsagePlatformUnknown = 0; - k_ECodecUsagePlatformWindows = 1; - k_ECodecUsagePlatformMacOS = 2; - k_ECodecUsagePlatformLinux = 3; - k_ECodecUsagePlatformSteamDeck = 4; -} - -enum ECodecUsageReason { - k_ECodecUsageReasonUnknown = 0; - k_ECodecUsageReasonRemotePlay = 1; - k_ECodecUsageReasonBroadcasting = 2; - k_ECodecUsageReasonGameVideo = 3; -} diff --git a/protobuf/fatdemo.proto b/protobuf/fatdemo.proto deleted file mode 100644 index 0228c1d14..000000000 --- a/protobuf/fatdemo.proto +++ /dev/null @@ -1,125 +0,0 @@ -import "networkbasetypes.proto"; - -enum EHitGroup { - EHG_Generic = 0; - EHG_Head = 1; - EHG_Chest = 2; - EHG_Stomach = 3; - EHG_LeftArm = 4; - EHG_RightArm = 5; - EHG_LeftLeg = 6; - EHG_RightLeg = 7; - EHG_Gear = 8; - EHG_Miss = 9; -} - -enum ETeam { - ET_Unknown = 0; - ET_Spectator = 1; - ET_Terrorist = 2; - ET_CT = 3; -} - -enum EWeaponType { - EWT_Knife = 0; - EWT_Pistol = 1; - EWT_SubMachineGun = 2; - EWT_Rifle = 3; - EWT_Shotgun = 4; - EWT_SniperRifle = 5; - EWT_MachineGun = 6; - EWT_C4 = 7; - EWT_Grenade = 8; - EWT_Equipment = 9; - EWT_StackableItem = 10; - EWT_Unknown = 11; -} - -message MLDict { - optional string key = 1; - optional string val_string = 2; - optional int32 val_int = 3; - optional float val_float = 4; -} - -message MLEvent { - optional string event_name = 1; - repeated .MLDict data = 2; -} - -message MLMatchState { - optional string game_mode = 1; - optional string phase = 2; - optional int32 round = 3; - optional int32 score_ct = 4; - optional int32 score_t = 5; -} - -message MLRoundState { - optional string phase = 1; - optional .ETeam win_team = 2 [default = ET_Unknown]; - optional string bomb_state = 3; -} - -message MLWeaponState { - optional int32 index = 1; - optional string name = 2; - optional .EWeaponType type = 3 [default = EWT_Knife]; - optional int32 ammo_clip = 4; - optional int32 ammo_clip_max = 5; - optional int32 ammo_reserve = 6; - optional string state = 7; - optional float recoil_index = 8; -} - -message MLPlayerState { - optional int32 account_id = 1; - optional int32 player_slot = 2 [default = -1]; - optional int32 entindex = 3; - optional string name = 4; - optional string clan = 5; - optional .ETeam team = 6 [default = ET_Unknown]; - optional .CMsgVector abspos = 7; - optional .CMsgQAngle eyeangle = 8; - optional .CMsgVector eyeangle_fwd = 9; - optional int32 health = 10; - optional int32 armor = 11; - optional float flashed = 12; - optional float smoked = 13; - optional int32 money = 14; - optional int32 round_kills = 15; - optional int32 round_killhs = 16; - optional float burning = 17; - optional bool helmet = 18; - optional bool defuse_kit = 19; - repeated .MLWeaponState weapons = 20; -} - -message MLGameState { - optional .MLMatchState match = 1; - optional .MLRoundState round = 2; - repeated .MLPlayerState players = 3; -} - -message MLDemoHeader { - optional string map_name = 1; - optional int32 tick_rate = 2; - optional uint32 version = 3; - optional uint32 steam_universe = 4; -} - -message MLTick { - optional int32 tick_count = 1; - optional .MLGameState state = 2; - repeated .MLEvent events = 3; -} - -message VacNetShot { - optional fixed64 steamid_player = 1; - optional int32 round_number = 2; - optional int32 hit_type = 3; - optional int32 weapon_type = 4; - optional float distance_to_hurt_target = 5; - repeated float delta_yaw_window = 6; - repeated float delta_pitch_window = 7; -} diff --git a/protobuf/gameevents.proto b/protobuf/gameevents.proto deleted file mode 100644 index a77c6d496..000000000 --- a/protobuf/gameevents.proto +++ /dev/null @@ -1,117 +0,0 @@ -import "networkbasetypes.proto"; - -enum EBaseGameEvents { - GE_VDebugGameSessionIDEvent = 200; - GE_PlaceDecalEvent = 201; - GE_ClearWorldDecalsEvent = 202; - GE_ClearEntityDecalsEvent = 203; - GE_ClearDecalsForEntityEvent = 204; - GE_Source1LegacyGameEventList = 205; - GE_Source1LegacyListenEvents = 206; - GE_Source1LegacyGameEvent = 207; - GE_SosStartSoundEvent = 208; - GE_SosStopSoundEvent = 209; - GE_SosSetSoundEventParams = 210; - GE_SosSetLibraryStackFields = 211; - GE_SosStopSoundEventHash = 212; -} - -message CMsgVDebugGameSessionIDEvent { - optional int32 clientid = 1; - optional string gamesessionid = 2; -} - -message CMsgPlaceDecalEvent { - optional .CMsgVector position = 1; - optional .CMsgVector normal = 2; - optional .CMsgVector saxis = 3; - optional int32 boneindex = 4; - optional uint32 flags = 5; - optional fixed32 color = 6; - optional int32 random_seed = 7; - optional uint32 decal_group_name = 8; - optional float size_override = 9; - optional uint32 entityhandle = 10 [default = 16777215]; - optional uint64 material_id = 11; - optional uint32 sequence_name = 12; -} - -message CMsgClearWorldDecalsEvent { - optional uint32 flagstoclear = 1; -} - -message CMsgClearEntityDecalsEvent { - optional uint32 flagstoclear = 1; -} - -message CMsgClearDecalsForEntityEvent { - optional uint32 flagstoclear = 1; - optional uint32 entityhandle = 2 [default = 16777215]; -} - -message CMsgSource1LegacyGameEventList { - message key_t { - optional int32 type = 1; - optional string name = 2; - } - - message descriptor_t { - optional int32 eventid = 1; - optional string name = 2; - repeated .CMsgSource1LegacyGameEventList.key_t keys = 3; - } - - repeated .CMsgSource1LegacyGameEventList.descriptor_t descriptors = 1; -} - -message CMsgSource1LegacyListenEvents { - optional int32 playerslot = 1; - repeated uint32 eventarraybits = 2; -} - -message CMsgSource1LegacyGameEvent { - message key_t { - optional int32 type = 1; - optional string val_string = 2; - optional float val_float = 3; - optional int32 val_long = 4; - optional int32 val_short = 5; - optional int32 val_byte = 6; - optional bool val_bool = 7; - optional uint64 val_uint64 = 8; - } - - optional string event_name = 1; - optional int32 eventid = 2; - repeated .CMsgSource1LegacyGameEvent.key_t keys = 3; - optional int32 server_tick = 4; - optional int32 passthrough = 5; -} - -message CMsgSosStartSoundEvent { - optional int32 soundevent_guid = 1; - optional fixed32 soundevent_hash = 2; - optional int32 source_entity_index = 3 [default = -1]; - optional int32 seed = 4; - optional bytes packed_params = 5; - optional float start_time = 6; -} - -message CMsgSosStopSoundEvent { - optional int32 soundevent_guid = 1; -} - -message CMsgSosStopSoundEventHash { - optional fixed32 soundevent_hash = 1; - optional int32 source_entity_index = 2 [default = -1]; -} - -message CMsgSosSetSoundEventParams { - optional int32 soundevent_guid = 1; - optional bytes packed_params = 5; -} - -message CMsgSosSetLibraryStackFields { - optional fixed32 stack_hash = 1; - optional bytes packed_fields = 5; -} diff --git a/protobuf/gcsdk_gcmessages.proto b/protobuf/gcsdk_gcmessages.proto deleted file mode 100644 index 3ed729c47..000000000 --- a/protobuf/gcsdk_gcmessages.proto +++ /dev/null @@ -1,325 +0,0 @@ -import "steammessages.proto"; - -enum GCClientLauncherType { - GCClientLauncherType_DEFAULT = 0; - GCClientLauncherType_PERFECTWORLD = 1; - GCClientLauncherType_STEAMCHINA = 2; - GCClientLauncherType_SOURCE2 = 3; -} - -enum GCConnectionStatus { - GCConnectionStatus_HAVE_SESSION = 0; - GCConnectionStatus_GC_GOING_DOWN = 1; - GCConnectionStatus_NO_SESSION = 2; - GCConnectionStatus_NO_SESSION_IN_LOGON_QUEUE = 3; - GCConnectionStatus_NO_STEAM = 4; -} - -message CMsgSOIDOwner { - optional uint32 type = 1; - optional uint64 id = 2; -} - -message CMsgSOSingleObject { - optional int32 type_id = 2; - optional bytes object_data = 3; - optional fixed64 version = 4; - optional .CMsgSOIDOwner owner_soid = 5; -} - -message CMsgSOMultipleObjects { - message SingleObject { - option (msgpool_soft_limit) = 256; - option (msgpool_hard_limit) = 1024; - - optional int32 type_id = 1; - optional bytes object_data = 2; - } - - repeated .CMsgSOMultipleObjects.SingleObject objects_modified = 2; - optional fixed64 version = 3; - optional .CMsgSOIDOwner owner_soid = 6; -} - -message CMsgSOCacheSubscribed { - message SubscribedType { - optional int32 type_id = 1; - repeated bytes object_data = 2; - } - - repeated .CMsgSOCacheSubscribed.SubscribedType objects = 2; - optional fixed64 version = 3; - optional .CMsgSOIDOwner owner_soid = 4; -} - -message CMsgSOCacheUnsubscribed { - optional .CMsgSOIDOwner owner_soid = 2; -} - -message CMsgSOCacheSubscriptionCheck { - optional fixed64 version = 2; - optional .CMsgSOIDOwner owner_soid = 3; -} - -message CMsgSOCacheSubscriptionRefresh { - optional .CMsgSOIDOwner owner_soid = 2; -} - -message CMsgSOCacheVersion { - optional fixed64 version = 1; -} - -message CMsgAccountDetails { - optional bool valid = 1; - optional string account_name = 2; - optional bool public_profile = 4; - optional bool public_inventory = 5; - optional bool vac_banned = 6; - optional bool cyber_cafe = 7; - optional bool school_account = 8; - optional bool free_trial_account = 9; - optional bool subscribed = 10; - optional bool low_violence = 11; - optional bool limited = 12; - optional bool trusted = 13; - optional uint32 package = 14; - optional fixed32 time_cached = 15; - optional bool account_locked = 16; - optional bool community_banned = 17; - optional bool trade_banned = 18; - optional bool eligible_for_community_market = 19; -} - -message CMsgGCMultiplexMessage { - optional uint32 msgtype = 1; - optional bytes payload = 2; - repeated fixed64 steamids = 3; - optional bool replytogc = 4; -} - -message CMsgGCMultiplexMessage_Response { - optional uint32 msgtype = 1; -} - -message CGCToGCMsgMasterAck { - optional uint32 dir_index = 1; - optional uint32 gc_type = 2; -} - -message CGCToGCMsgMasterAck_Response { - optional int32 eresult = 1 [default = 2]; -} - -message CGCToGCMsgMasterStartupComplete { -} - -message CGCToGCMsgRouted { - optional uint32 msg_type = 1; - optional fixed64 sender_id = 2; - optional bytes net_message = 3; - optional uint32 ip = 4; -} - -message CGCToGCMsgRoutedReply { - optional uint32 msg_type = 1; - optional bytes net_message = 2; -} - -message CMsgGCUpdateSessionIP { - optional fixed64 steamid = 1; - optional fixed32 ip = 2; -} - -message CMsgGCRequestSessionIP { - optional fixed64 steamid = 1; -} - -message CMsgGCRequestSessionIPResponse { - optional fixed32 ip = 1; -} - -message CMsgSOCacheHaveVersion { - optional .CMsgSOIDOwner soid = 1; - optional fixed64 version = 2; -} - -message CMsgClientHello { - optional uint32 version = 1; - repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; - optional uint32 client_session_need = 3; - optional uint32 client_launcher = 4; - optional uint32 partner_srcid = 5; - optional uint32 partner_accountid = 6; - optional uint32 partner_accountflags = 7; - optional uint32 partner_accountbalance = 8; - optional uint32 steam_launcher = 9; -} - -message CMsgServerHello { - optional uint32 version = 1; - repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; - optional uint32 legacy_client_session_need = 3; - optional uint32 client_launcher = 4; - optional bytes legacy_steamdatagram_routing = 6; - optional uint32 required_internal_addr = 7; - optional bytes steamdatagram_login = 8; - optional uint32 socache_control = 9; -} - -message CMsgClientWelcome { - message Location { - optional float latitude = 1; - optional float longitude = 2; - optional string country = 3; - } - - optional uint32 version = 1; - optional bytes game_data = 2; - repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; - repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; - optional .CMsgClientWelcome.Location location = 5; - optional bytes game_data2 = 6; - optional uint32 rtime32_gc_welcome_timestamp = 7; - optional uint32 currency = 8; - optional uint32 balance = 9; - optional string balance_url = 10; - optional string txn_country_code = 11; -} - -message CMsgConnectionStatus { - optional .GCConnectionStatus status = 1 [default = GCConnectionStatus_HAVE_SESSION]; - optional uint32 client_session_need = 2; - optional int32 queue_position = 3; - optional int32 queue_size = 4; - optional int32 wait_seconds = 5; - optional int32 estimated_wait_seconds_remaining = 6; -} - -message CWorkshop_PopulateItemDescriptions_Request { - message SingleItemDescription { - optional uint32 gameitemid = 1; - optional string item_description = 2; - optional bool one_per_account = 3; - } - - message ItemDescriptionsLanguageBlock { - optional string language = 1; - repeated .CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription descriptions = 2; - } - - optional uint32 appid = 1; - repeated .CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock languages = 2; -} - -message CWorkshop_GetContributors_Request { - optional uint32 appid = 1; - optional uint32 gameitemid = 2; -} - -message CWorkshop_GetContributors_Response { - repeated fixed64 contributors = 1; -} - -message CWorkshop_SetItemPaymentRules_Request { - message WorkshopItemPaymentRule { - optional uint64 workshop_file_id = 1; - optional float revenue_percentage = 2; - optional string rule_description = 3; - optional uint32 rule_type = 4 [default = 1]; - } - - message WorkshopDirectPaymentRule { - optional uint64 workshop_file_id = 1; - optional string rule_description = 2; - } - - message PartnerItemPaymentRule { - optional uint32 account_id = 1; - optional float revenue_percentage = 2; - optional string rule_description = 3; - } - - optional uint32 appid = 1; - optional uint32 gameitemid = 2; - repeated .CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule associated_workshop_files = 3; - repeated .CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule partner_accounts = 4; - optional bool validate_only = 5; - optional bool make_workshop_files_subscribable = 6; - optional .CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule associated_workshop_file_for_direct_payments = 7; -} - -message CWorkshop_SetItemPaymentRules_Response { -} - -message CGameServers_AggregationQuery_Request { - optional string filter = 1; - repeated string group_fields = 3; -} - -message CGameServers_AggregationQuery_Response { - message Group { - repeated string group_values = 1; - optional uint32 servers_empty = 2; - optional uint32 servers_full = 3; - optional uint32 servers_total = 4; - optional uint32 players_humans = 5; - optional uint32 players_bots = 6; - optional uint32 player_capacity = 7; - } - - repeated .CGameServers_AggregationQuery_Response.Group groups = 1; -} - -message CWorkshop_AddSpecialPayment_Request { - optional uint32 appid = 1; - optional uint32 gameitemid = 2; - optional string date = 3; - optional uint64 payment_us_usd = 4; - optional uint64 payment_row_usd = 5; -} - -message CWorkshop_AddSpecialPayment_Response { -} - -message CProductInfo_SetRichPresenceLocalization_Request { - message Token { - optional string token = 1; - optional string value = 2; - } - - message LanguageSection { - optional string language = 1; - repeated .CProductInfo_SetRichPresenceLocalization_Request.Token tokens = 2; - } - - optional uint32 appid = 1; - repeated .CProductInfo_SetRichPresenceLocalization_Request.LanguageSection languages = 2; - optional uint64 steamid = 3; -} - -message CProductInfo_SetRichPresenceLocalization_Response { -} - -message CMsgSerializedSOCache { - message TypeCache { - optional uint32 type = 1; - repeated bytes objects = 2; - optional uint32 service_id = 3; - } - - message Cache { - message Version { - optional uint32 service = 1; - optional uint64 version = 2; - } - - optional uint32 type = 1; - optional uint64 id = 2; - repeated .CMsgSerializedSOCache.Cache.Version versions = 3; - repeated .CMsgSerializedSOCache.TypeCache type_caches = 4; - } - - optional uint32 file_version = 1; - repeated .CMsgSerializedSOCache.Cache caches = 2; - optional uint32 gc_socache_file_version = 3; -} diff --git a/protobuf/gcsystemmsgs.proto b/protobuf/gcsystemmsgs.proto deleted file mode 100644 index 828e389da..000000000 --- a/protobuf/gcsystemmsgs.proto +++ /dev/null @@ -1,243 +0,0 @@ -enum EGCSystemMsg { - k_EGCMsgInvalid = 0; - k_EGCMsgMulti = 1; - k_EGCMsgGenericReply = 10; - k_EGCMsgSystemBase = 50; - k_EGCMsgAchievementAwarded = 51; - k_EGCMsgConCommand = 52; - k_EGCMsgStartPlaying = 53; - k_EGCMsgStopPlaying = 54; - k_EGCMsgStartGameserver = 55; - k_EGCMsgStopGameserver = 56; - k_EGCMsgWGRequest = 57; - k_EGCMsgWGResponse = 58; - k_EGCMsgGetUserGameStatsSchema = 59; - k_EGCMsgGetUserGameStatsSchemaResponse = 60; - k_EGCMsgGetUserStatsDEPRECATED = 61; - k_EGCMsgGetUserStatsResponse = 62; - k_EGCMsgAppInfoUpdated = 63; - k_EGCMsgValidateSession = 64; - k_EGCMsgValidateSessionResponse = 65; - k_EGCMsgLookupAccountFromInput = 66; - k_EGCMsgSendHTTPRequest = 67; - k_EGCMsgSendHTTPRequestResponse = 68; - k_EGCMsgPreTestSetup = 69; - k_EGCMsgRecordSupportAction = 70; - k_EGCMsgGetAccountDetails_DEPRECATED = 71; - k_EGCMsgReceiveInterAppMessage = 73; - k_EGCMsgFindAccounts = 74; - k_EGCMsgPostAlert = 75; - k_EGCMsgGetLicenses = 76; - k_EGCMsgGetUserStats = 77; - k_EGCMsgGetCommands = 78; - k_EGCMsgGetCommandsResponse = 79; - k_EGCMsgAddFreeLicense = 80; - k_EGCMsgAddFreeLicenseResponse = 81; - k_EGCMsgGetIPLocation = 82; - k_EGCMsgGetIPLocationResponse = 83; - k_EGCMsgSystemStatsSchema = 84; - k_EGCMsgGetSystemStats = 85; - k_EGCMsgGetSystemStatsResponse = 86; - k_EGCMsgSendEmail = 87; - k_EGCMsgSendEmailResponse = 88; - k_EGCMsgGetEmailTemplate = 89; - k_EGCMsgGetEmailTemplateResponse = 90; - k_EGCMsgGrantGuestPass = 91; - k_EGCMsgGrantGuestPassResponse = 92; - k_EGCMsgGetAccountDetails = 93; - k_EGCMsgGetAccountDetailsResponse = 94; - k_EGCMsgGetPersonaNames = 95; - k_EGCMsgGetPersonaNamesResponse = 96; - k_EGCMsgMultiplexMsg = 97; - k_EGCMsgMultiplexMsgResponse = 98; - k_EGCMsgWebAPIRegisterInterfaces = 101; - k_EGCMsgWebAPIJobRequest = 102; - k_EGCMsgWebAPIJobRequestHttpResponse = 104; - k_EGCMsgWebAPIJobRequestForwardResponse = 105; - k_EGCMsgMemCachedGet = 200; - k_EGCMsgMemCachedGetResponse = 201; - k_EGCMsgMemCachedSet = 202; - k_EGCMsgMemCachedDelete = 203; - k_EGCMsgMemCachedStats = 204; - k_EGCMsgMemCachedStatsResponse = 205; - k_EGCMsgMasterSetDirectory = 220; - k_EGCMsgMasterSetDirectoryResponse = 221; - k_EGCMsgMasterSetWebAPIRouting = 222; - k_EGCMsgMasterSetWebAPIRoutingResponse = 223; - k_EGCMsgMasterSetClientMsgRouting = 224; - k_EGCMsgMasterSetClientMsgRoutingResponse = 225; - k_EGCMsgSetOptions = 226; - k_EGCMsgSetOptionsResponse = 227; - k_EGCMsgSystemBase2 = 500; - k_EGCMsgGetPurchaseTrustStatus = 501; - k_EGCMsgGetPurchaseTrustStatusResponse = 502; - k_EGCMsgUpdateSession = 503; - k_EGCMsgGCAccountVacStatusChange = 504; - k_EGCMsgCheckFriendship = 505; - k_EGCMsgCheckFriendshipResponse = 506; - k_EGCMsgGetPartnerAccountLink = 507; - k_EGCMsgGetPartnerAccountLinkResponse = 508; - k_EGCMsgDPPartnerMicroTxns = 512; - k_EGCMsgDPPartnerMicroTxnsResponse = 513; - k_EGCMsgVacVerificationChange = 518; - k_EGCMsgAccountPhoneNumberChange = 519; - k_EGCMsgInviteUserToLobby = 523; - k_EGCMsgGetGamePersonalDataCategoriesRequest = 524; - k_EGCMsgGetGamePersonalDataCategoriesResponse = 525; - k_EGCMsgGetGamePersonalDataEntriesRequest = 526; - k_EGCMsgGetGamePersonalDataEntriesResponse = 527; - k_EGCMsgTerminateGamePersonalDataEntriesRequest = 528; - k_EGCMsgTerminateGamePersonalDataEntriesResponse = 529; - k_EGCMsgRecurringSubscriptionStatusChange = 530; - k_EGCMsgDirectServiceMethod = 531; - k_EGCMsgDirectServiceMethodResponse = 532; -} - -enum ESOMsg { - k_ESOMsg_Create = 21; - k_ESOMsg_Update = 22; - k_ESOMsg_Destroy = 23; - k_ESOMsg_CacheSubscribed = 24; - k_ESOMsg_CacheUnsubscribed = 25; - k_ESOMsg_UpdateMultiple = 26; - k_ESOMsg_CacheSubscriptionCheck = 27; - k_ESOMsg_CacheSubscriptionRefresh = 28; -} - -enum EGCBaseClientMsg { - k_EMsgGCClientWelcome = 4004; - k_EMsgGCServerWelcome = 4005; - k_EMsgGCClientHello = 4006; - k_EMsgGCServerHello = 4007; - k_EMsgGCClientConnectionStatus = 4009; - k_EMsgGCServerConnectionStatus = 4010; - k_EMsgGCClientHelloPartner = 4011; - k_EMsgGCClientHelloPW = 4012; - k_EMsgGCClientHelloR2 = 4013; - k_EMsgGCClientHelloR3 = 4014; - k_EMsgGCClientHelloR4 = 4015; -} - -enum EGCToGCMsg { - k_EGCToGCMsgMasterAck = 150; - k_EGCToGCMsgMasterAckResponse = 151; - k_EGCToGCMsgRouted = 152; - k_EGCToGCMsgRoutedReply = 153; - k_EMsgUpdateSessionIP = 154; - k_EMsgRequestSessionIP = 155; - k_EMsgRequestSessionIPResponse = 156; - k_EGCToGCMsgMasterStartupComplete = 157; -} - -enum ECommunityItemClass { - k_ECommunityItemClass_Invalid = 0; - k_ECommunityItemClass_Badge = 1; - k_ECommunityItemClass_GameCard = 2; - k_ECommunityItemClass_ProfileBackground = 3; - k_ECommunityItemClass_Emoticon = 4; - k_ECommunityItemClass_BoosterPack = 5; - k_ECommunityItemClass_Consumable = 6; - k_ECommunityItemClass_GameGoo = 7; - k_ECommunityItemClass_ProfileModifier = 8; - k_ECommunityItemClass_Scene = 9; - k_ECommunityItemClass_SalienItem = 10; -} - -enum ECommunityItemAttribute { - k_ECommunityItemAttribute_Invalid = 0; - k_ECommunityItemAttribute_CardBorder = 1; - k_ECommunityItemAttribute_Level = 2; - k_ECommunityItemAttribute_IssueNumber = 3; - k_ECommunityItemAttribute_TradableTime = 4; - k_ECommunityItemAttribute_StorePackageID = 5; - k_ECommunityItemAttribute_CommunityItemAppID = 6; - k_ECommunityItemAttribute_CommunityItemType = 7; - k_ECommunityItemAttribute_ProfileModiferEnabled = 8; - k_ECommunityItemAttribute_ExpiryTime = 9; -} - -message CMsgGCHVacVerificationChange { - optional fixed64 steamid = 1; - optional uint32 appid = 2; - optional bool is_verified = 3; -} - -message CMsgGCHAccountPhoneNumberChange { - optional fixed64 steamid = 1; - optional uint32 appid = 2; - optional uint64 phone_id = 3; - optional bool is_verified = 4; - optional bool is_identifying = 5; -} - -message CMsgGCHInviteUserToLobby { - optional fixed64 steamid = 1; - optional uint32 appid = 2; - optional fixed64 steamid_invited = 3; - optional fixed64 steamid_lobby = 4; -} - -message CMsgGCHRecurringSubscriptionStatusChange { - optional fixed64 steamid = 1; - optional uint32 appid = 2; - optional fixed64 agreementid = 3; - optional bool active = 4; -} - -message CQuest_PublisherAddCommunityItemsToPlayer_Request { - message Attribute { - optional uint32 attribute = 1; - optional uint64 value = 2; - } - - optional uint64 steamid = 1; - optional uint32 appid = 2; - optional uint32 match_item_type = 3; - optional uint32 match_item_class = 4; - optional string prefix_item_name = 5; - repeated .CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute attributes = 6; - optional string note = 7; -} - -message CQuest_PublisherAddCommunityItemsToPlayer_Response { - optional uint32 items_matched = 1; - optional uint32 items_granted = 2; -} - -message CCommunity_GamePersonalDataCategoryInfo { - optional string type = 1; - optional string localization_token = 2; - optional string template_file = 3; -} - -message CCommunity_GetGamePersonalDataCategories_Request { - optional uint32 appid = 1; -} - -message CCommunity_GetGamePersonalDataCategories_Response { - repeated .CCommunity_GamePersonalDataCategoryInfo categories = 1; - optional string app_assets_basename = 2; -} - -message CCommunity_GetGamePersonalDataEntries_Request { - optional uint32 appid = 1; - optional uint64 steamid = 2; - optional string type = 3; - optional string continue_token = 4; -} - -message CCommunity_GetGamePersonalDataEntries_Response { - optional uint32 gceresult = 1; - repeated string entries = 2; - optional string continue_token = 3; - optional string continue_text = 4; -} - -message CCommunity_TerminateGamePersonalDataEntries_Request { - optional uint32 appid = 1; - optional uint64 steamid = 2; -} - -message CCommunity_TerminateGamePersonalDataEntries_Response { - optional uint32 gceresult = 1; -} diff --git a/protobuf/generated/base_gcmessages.pb.cc b/protobuf/generated/base_gcmessages.pb.cc deleted file mode 100644 index d01966f62..000000000 --- a/protobuf/generated/base_gcmessages.pb.cc +++ /dev/null @@ -1,25983 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: base_gcmessages.proto - -#include "base_gcmessages.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CGCStorePurchaseInit_LineItem::CGCStorePurchaseInit_LineItem( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.item_def_id_)*/0u - , /*decltype(_impl_.quantity_)*/0u - , /*decltype(_impl_.cost_in_local_currency_)*/0u - , /*decltype(_impl_.purchase_type_)*/0u - , /*decltype(_impl_.supplemental_data_)*/uint64_t{0u}} {} -struct CGCStorePurchaseInit_LineItemDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGCStorePurchaseInit_LineItemDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGCStorePurchaseInit_LineItemDefaultTypeInternal() {} - union { - CGCStorePurchaseInit_LineItem _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGCStorePurchaseInit_LineItemDefaultTypeInternal _CGCStorePurchaseInit_LineItem_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCStorePurchaseInit::CMsgGCStorePurchaseInit( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.line_items_)*/{} - , /*decltype(_impl_.country_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.language_)*/0 - , /*decltype(_impl_.currency_)*/0} {} -struct CMsgGCStorePurchaseInitDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCStorePurchaseInitDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCStorePurchaseInitDefaultTypeInternal() {} - union { - CMsgGCStorePurchaseInit _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCStorePurchaseInitDefaultTypeInternal _CMsgGCStorePurchaseInit_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCStorePurchaseInitResponse::CMsgGCStorePurchaseInitResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.item_ids_)*/{} - , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.txn_id_)*/uint64_t{0u} - , /*decltype(_impl_.result_)*/0} {} -struct CMsgGCStorePurchaseInitResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCStorePurchaseInitResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCStorePurchaseInitResponseDefaultTypeInternal() {} - union { - CMsgGCStorePurchaseInitResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCStorePurchaseInitResponseDefaultTypeInternal _CMsgGCStorePurchaseInitResponse_default_instance_; -PROTOBUF_CONSTEXPR CSOPartyInvite::CSOPartyInvite( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.sender_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.group_id_)*/uint64_t{0u} - , /*decltype(_impl_.sender_id_)*/uint64_t{0u}} {} -struct CSOPartyInviteDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOPartyInviteDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOPartyInviteDefaultTypeInternal() {} - union { - CSOPartyInvite _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOPartyInviteDefaultTypeInternal _CSOPartyInvite_default_instance_; -PROTOBUF_CONSTEXPR CSOLobbyInvite::CSOLobbyInvite( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.sender_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.group_id_)*/uint64_t{0u} - , /*decltype(_impl_.sender_id_)*/uint64_t{0u}} {} -struct CSOLobbyInviteDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOLobbyInviteDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOLobbyInviteDefaultTypeInternal() {} - union { - CSOLobbyInvite _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOLobbyInviteDefaultTypeInternal _CSOLobbyInvite_default_instance_; -PROTOBUF_CONSTEXPR CMsgSystemBroadcast::CMsgSystemBroadcast( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CMsgSystemBroadcastDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSystemBroadcastDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSystemBroadcastDefaultTypeInternal() {} - union { - CMsgSystemBroadcast _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSystemBroadcastDefaultTypeInternal _CMsgSystemBroadcast_default_instance_; -PROTOBUF_CONSTEXPR CMsgInviteToParty::CMsgInviteToParty( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.client_version_)*/0u - , /*decltype(_impl_.team_invite_)*/0u} {} -struct CMsgInviteToPartyDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgInviteToPartyDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgInviteToPartyDefaultTypeInternal() {} - union { - CMsgInviteToParty _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgInviteToPartyDefaultTypeInternal _CMsgInviteToParty_default_instance_; -PROTOBUF_CONSTEXPR CMsgInvitationCreated::CMsgInvitationCreated( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.group_id_)*/uint64_t{0u} - , /*decltype(_impl_.steam_id_)*/uint64_t{0u}} {} -struct CMsgInvitationCreatedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgInvitationCreatedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgInvitationCreatedDefaultTypeInternal() {} - union { - CMsgInvitationCreated _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgInvitationCreatedDefaultTypeInternal _CMsgInvitationCreated_default_instance_; -PROTOBUF_CONSTEXPR CMsgPartyInviteResponse::CMsgPartyInviteResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.party_id_)*/uint64_t{0u} - , /*decltype(_impl_.accept_)*/false - , /*decltype(_impl_.client_version_)*/0u - , /*decltype(_impl_.team_invite_)*/0u} {} -struct CMsgPartyInviteResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgPartyInviteResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgPartyInviteResponseDefaultTypeInternal() {} - union { - CMsgPartyInviteResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgPartyInviteResponseDefaultTypeInternal _CMsgPartyInviteResponse_default_instance_; -PROTOBUF_CONSTEXPR CMsgKickFromParty::CMsgKickFromParty( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.steam_id_)*/uint64_t{0u}} {} -struct CMsgKickFromPartyDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgKickFromPartyDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgKickFromPartyDefaultTypeInternal() {} - union { - CMsgKickFromParty _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgKickFromPartyDefaultTypeInternal _CMsgKickFromParty_default_instance_; -PROTOBUF_CONSTEXPR CMsgLeaveParty::CMsgLeaveParty( - ::_pbi::ConstantInitialized) {} -struct CMsgLeavePartyDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgLeavePartyDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgLeavePartyDefaultTypeInternal() {} - union { - CMsgLeaveParty _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgLeavePartyDefaultTypeInternal _CMsgLeaveParty_default_instance_; -PROTOBUF_CONSTEXPR CMsgServerAvailable::CMsgServerAvailable( - ::_pbi::ConstantInitialized) {} -struct CMsgServerAvailableDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgServerAvailableDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgServerAvailableDefaultTypeInternal() {} - union { - CMsgServerAvailable _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgServerAvailableDefaultTypeInternal _CMsgServerAvailable_default_instance_; -PROTOBUF_CONSTEXPR CMsgLANServerAvailable::CMsgLANServerAvailable( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.lobby_id_)*/uint64_t{0u}} {} -struct CMsgLANServerAvailableDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgLANServerAvailableDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgLANServerAvailableDefaultTypeInternal() {} - union { - CMsgLANServerAvailable _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgLANServerAvailableDefaultTypeInternal _CMsgLANServerAvailable_default_instance_; -PROTOBUF_CONSTEXPR CSOEconGameAccountClient::CSOEconGameAccountClient( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.additional_backpack_slots_)*/0u - , /*decltype(_impl_.trade_ban_expiration_)*/0u - , /*decltype(_impl_.bonus_xp_timestamp_refresh_)*/0u - , /*decltype(_impl_.bonus_xp_usedflags_)*/0u - , /*decltype(_impl_.elevated_state_)*/0u - , /*decltype(_impl_.elevated_timestamp_)*/0u} {} -struct CSOEconGameAccountClientDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOEconGameAccountClientDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOEconGameAccountClientDefaultTypeInternal() {} - union { - CSOEconGameAccountClient _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconGameAccountClientDefaultTypeInternal _CSOEconGameAccountClient_default_instance_; -PROTOBUF_CONSTEXPR CSOItemCriteriaCondition::CSOItemCriteriaCondition( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.field_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.string_value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.op_)*/0 - , /*decltype(_impl_.required_)*/false - , /*decltype(_impl_.float_value_)*/0} {} -struct CSOItemCriteriaConditionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOItemCriteriaConditionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOItemCriteriaConditionDefaultTypeInternal() {} - union { - CSOItemCriteriaCondition _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOItemCriteriaConditionDefaultTypeInternal _CSOItemCriteriaCondition_default_instance_; -PROTOBUF_CONSTEXPR CSOItemCriteria::CSOItemCriteria( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.conditions_)*/{} - , /*decltype(_impl_.item_level_)*/0u - , /*decltype(_impl_.item_quality_)*/0 - , /*decltype(_impl_.initial_inventory_)*/0u - , /*decltype(_impl_.initial_quantity_)*/0u - , /*decltype(_impl_.item_level_set_)*/false - , /*decltype(_impl_.item_quality_set_)*/false - , /*decltype(_impl_.ignore_enabled_flag_)*/false - , /*decltype(_impl_.item_rarity_set_)*/false - , /*decltype(_impl_.item_rarity_)*/0 - , /*decltype(_impl_.recent_only_)*/false} {} -struct CSOItemCriteriaDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOItemCriteriaDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOItemCriteriaDefaultTypeInternal() {} - union { - CSOItemCriteria _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOItemCriteriaDefaultTypeInternal _CSOItemCriteria_default_instance_; -PROTOBUF_CONSTEXPR CSOItemRecipe::CSOItemRecipe( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.input_items_criteria_)*/{} - , /*decltype(_impl_.output_items_criteria_)*/{} - , /*decltype(_impl_.input_item_dupe_counts_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.n_a_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.desc_inputs_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.desc_outputs_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.di_a_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.di_b_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.di_c_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.do_a_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.do_b_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.do_c_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.def_index_)*/0u - , /*decltype(_impl_.requires_all_same_class_)*/false - , /*decltype(_impl_.requires_all_same_slot_)*/false - , /*decltype(_impl_.class_usage_for_output_)*/0 - , /*decltype(_impl_.slot_usage_for_output_)*/0 - , /*decltype(_impl_.set_for_output_)*/0} {} -struct CSOItemRecipeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOItemRecipeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOItemRecipeDefaultTypeInternal() {} - union { - CSOItemRecipe _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOItemRecipeDefaultTypeInternal _CSOItemRecipe_default_instance_; -PROTOBUF_CONSTEXPR CMsgDevNewItemRequest::CMsgDevNewItemRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.criteria_)*/nullptr - , /*decltype(_impl_.receiver_)*/uint64_t{0u}} {} -struct CMsgDevNewItemRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgDevNewItemRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgDevNewItemRequestDefaultTypeInternal() {} - union { - CMsgDevNewItemRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgDevNewItemRequestDefaultTypeInternal _CMsgDevNewItemRequest_default_instance_; -PROTOBUF_CONSTEXPR CMsgIncrementKillCountAttribute::CMsgIncrementKillCountAttribute( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.killer_account_id_)*/0u - , /*decltype(_impl_.victim_account_id_)*/0u - , /*decltype(_impl_.item_id_)*/uint64_t{0u} - , /*decltype(_impl_.event_type_)*/0u - , /*decltype(_impl_.amount_)*/0u} {} -struct CMsgIncrementKillCountAttributeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgIncrementKillCountAttributeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgIncrementKillCountAttributeDefaultTypeInternal() {} - union { - CMsgIncrementKillCountAttribute _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgIncrementKillCountAttributeDefaultTypeInternal _CMsgIncrementKillCountAttribute_default_instance_; -PROTOBUF_CONSTEXPR CMsgApplySticker::CMsgApplySticker( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.sticker_item_id_)*/uint64_t{0u} - , /*decltype(_impl_.item_item_id_)*/uint64_t{0u} - , /*decltype(_impl_.sticker_slot_)*/0u - , /*decltype(_impl_.baseitem_defidx_)*/0u - , /*decltype(_impl_.sticker_wear_)*/0 - , /*decltype(_impl_.sticker_rotation_)*/0 - , /*decltype(_impl_.sticker_scale_)*/0 - , /*decltype(_impl_.sticker_offset_x_)*/0 - , /*decltype(_impl_.sticker_offset_y_)*/0 - , /*decltype(_impl_.sticker_offset_z_)*/0 - , /*decltype(_impl_.sticker_wear_target_)*/0} {} -struct CMsgApplyStickerDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgApplyStickerDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgApplyStickerDefaultTypeInternal() {} - union { - CMsgApplySticker _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgApplyStickerDefaultTypeInternal _CMsgApplySticker_default_instance_; -PROTOBUF_CONSTEXPR CMsgModifyItemAttribute::CMsgModifyItemAttribute( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.item_id_)*/uint64_t{0u} - , /*decltype(_impl_.attr_defidx_)*/0u - , /*decltype(_impl_.attr_value_)*/0u} {} -struct CMsgModifyItemAttributeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgModifyItemAttributeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgModifyItemAttributeDefaultTypeInternal() {} - union { - CMsgModifyItemAttribute _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgModifyItemAttributeDefaultTypeInternal _CMsgModifyItemAttribute_default_instance_; -PROTOBUF_CONSTEXPR CMsgApplyStatTrakSwap::CMsgApplyStatTrakSwap( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.tool_item_id_)*/uint64_t{0u} - , /*decltype(_impl_.item_1_item_id_)*/uint64_t{0u} - , /*decltype(_impl_.item_2_item_id_)*/uint64_t{0u}} {} -struct CMsgApplyStatTrakSwapDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgApplyStatTrakSwapDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgApplyStatTrakSwapDefaultTypeInternal() {} - union { - CMsgApplyStatTrakSwap _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgApplyStatTrakSwapDefaultTypeInternal _CMsgApplyStatTrakSwap_default_instance_; -PROTOBUF_CONSTEXPR CMsgApplyStrangePart::CMsgApplyStrangePart( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.strange_part_item_id_)*/uint64_t{0u} - , /*decltype(_impl_.item_item_id_)*/uint64_t{0u}} {} -struct CMsgApplyStrangePartDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgApplyStrangePartDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgApplyStrangePartDefaultTypeInternal() {} - union { - CMsgApplyStrangePart _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgApplyStrangePartDefaultTypeInternal _CMsgApplyStrangePart_default_instance_; -PROTOBUF_CONSTEXPR CMsgApplyPennantUpgrade::CMsgApplyPennantUpgrade( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.upgrade_item_id_)*/uint64_t{0u} - , /*decltype(_impl_.pennant_item_id_)*/uint64_t{0u}} {} -struct CMsgApplyPennantUpgradeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgApplyPennantUpgradeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgApplyPennantUpgradeDefaultTypeInternal() {} - union { - CMsgApplyPennantUpgrade _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgApplyPennantUpgradeDefaultTypeInternal _CMsgApplyPennantUpgrade_default_instance_; -PROTOBUF_CONSTEXPR CMsgApplyEggEssence::CMsgApplyEggEssence( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.essence_item_id_)*/uint64_t{0u} - , /*decltype(_impl_.egg_item_id_)*/uint64_t{0u}} {} -struct CMsgApplyEggEssenceDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgApplyEggEssenceDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgApplyEggEssenceDefaultTypeInternal() {} - union { - CMsgApplyEggEssence _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgApplyEggEssenceDefaultTypeInternal _CMsgApplyEggEssence_default_instance_; -PROTOBUF_CONSTEXPR CSOEconItemAttribute::CSOEconItemAttribute( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.value_bytes_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.def_index_)*/0u - , /*decltype(_impl_.value_)*/0u} {} -struct CSOEconItemAttributeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOEconItemAttributeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOEconItemAttributeDefaultTypeInternal() {} - union { - CSOEconItemAttribute _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconItemAttributeDefaultTypeInternal _CSOEconItemAttribute_default_instance_; -PROTOBUF_CONSTEXPR CSOEconItemEquipped::CSOEconItemEquipped( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.new_class_)*/0u - , /*decltype(_impl_.new_slot_)*/0u} {} -struct CSOEconItemEquippedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOEconItemEquippedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOEconItemEquippedDefaultTypeInternal() {} - union { - CSOEconItemEquipped _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconItemEquippedDefaultTypeInternal _CSOEconItemEquipped_default_instance_; -PROTOBUF_CONSTEXPR CSOEconItem::CSOEconItem( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.attribute_)*/{} - , /*decltype(_impl_.equipped_state_)*/{} - , /*decltype(_impl_.custom_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.custom_desc_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.interior_item_)*/nullptr - , /*decltype(_impl_.id_)*/uint64_t{0u} - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.inventory_)*/0u - , /*decltype(_impl_.def_index_)*/0u - , /*decltype(_impl_.quantity_)*/0u - , /*decltype(_impl_.level_)*/0u - , /*decltype(_impl_.quality_)*/0u - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.origin_)*/0u - , /*decltype(_impl_.in_use_)*/false - , /*decltype(_impl_.style_)*/0u - , /*decltype(_impl_.original_id_)*/uint64_t{0u} - , /*decltype(_impl_.rarity_)*/0u} {} -struct CSOEconItemDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOEconItemDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOEconItemDefaultTypeInternal() {} - union { - CSOEconItem _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconItemDefaultTypeInternal _CSOEconItem_default_instance_; -PROTOBUF_CONSTEXPR CMsgSortItems::CMsgSortItems( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.sort_type_)*/0u} {} -struct CMsgSortItemsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSortItemsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSortItemsDefaultTypeInternal() {} - union { - CMsgSortItems _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSortItemsDefaultTypeInternal _CMsgSortItems_default_instance_; -PROTOBUF_CONSTEXPR CSOEconClaimCode::CSOEconClaimCode( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.code_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.code_type_)*/0u - , /*decltype(_impl_.time_acquired_)*/0u} {} -struct CSOEconClaimCodeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOEconClaimCodeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOEconClaimCodeDefaultTypeInternal() {} - union { - CSOEconClaimCode _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconClaimCodeDefaultTypeInternal _CSOEconClaimCode_default_instance_; -PROTOBUF_CONSTEXPR CMsgStoreGetUserData::CMsgStoreGetUserData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.price_sheet_version_)*/0u - , /*decltype(_impl_.currency_)*/0} {} -struct CMsgStoreGetUserDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgStoreGetUserDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgStoreGetUserDataDefaultTypeInternal() {} - union { - CMsgStoreGetUserData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgStoreGetUserDataDefaultTypeInternal _CMsgStoreGetUserData_default_instance_; -PROTOBUF_CONSTEXPR CMsgStoreGetUserDataResponse::CMsgStoreGetUserDataResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.country_deprecated_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.price_sheet_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.result_)*/0 - , /*decltype(_impl_.currency_deprecated_)*/0 - , /*decltype(_impl_.price_sheet_version_)*/0u} {} -struct CMsgStoreGetUserDataResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgStoreGetUserDataResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgStoreGetUserDataResponseDefaultTypeInternal() {} - union { - CMsgStoreGetUserDataResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgStoreGetUserDataResponseDefaultTypeInternal _CMsgStoreGetUserDataResponse_default_instance_; -PROTOBUF_CONSTEXPR CMsgUpdateItemSchema::CMsgUpdateItemSchema( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.items_game_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.items_game_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.item_schema_version_)*/0u} {} -struct CMsgUpdateItemSchemaDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgUpdateItemSchemaDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgUpdateItemSchemaDefaultTypeInternal() {} - union { - CMsgUpdateItemSchema _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgUpdateItemSchemaDefaultTypeInternal _CMsgUpdateItemSchema_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCError::CMsgGCError( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.error_text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CMsgGCErrorDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCErrorDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCErrorDefaultTypeInternal() {} - union { - CMsgGCError _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCErrorDefaultTypeInternal _CMsgGCError_default_instance_; -PROTOBUF_CONSTEXPR CMsgRequestInventoryRefresh::CMsgRequestInventoryRefresh( - ::_pbi::ConstantInitialized) {} -struct CMsgRequestInventoryRefreshDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgRequestInventoryRefreshDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgRequestInventoryRefreshDefaultTypeInternal() {} - union { - CMsgRequestInventoryRefresh _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgRequestInventoryRefreshDefaultTypeInternal _CMsgRequestInventoryRefresh_default_instance_; -PROTOBUF_CONSTEXPR CMsgConVarValue::CMsgConVarValue( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CMsgConVarValueDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgConVarValueDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgConVarValueDefaultTypeInternal() {} - union { - CMsgConVarValue _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgConVarValueDefaultTypeInternal _CMsgConVarValue_default_instance_; -PROTOBUF_CONSTEXPR CMsgReplicateConVars::CMsgReplicateConVars( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.convars_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CMsgReplicateConVarsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgReplicateConVarsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgReplicateConVarsDefaultTypeInternal() {} - union { - CMsgReplicateConVars _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgReplicateConVarsDefaultTypeInternal _CMsgReplicateConVars_default_instance_; -PROTOBUF_CONSTEXPR CMsgUseItem::CMsgUseItem( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.gift__potential_targets_)*/{} - , /*decltype(_impl_.item_id_)*/uint64_t{0u} - , /*decltype(_impl_.target_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.initiator_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.duel__class_lock_)*/0u} {} -struct CMsgUseItemDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgUseItemDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgUseItemDefaultTypeInternal() {} - union { - CMsgUseItem _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgUseItemDefaultTypeInternal _CMsgUseItem_default_instance_; -PROTOBUF_CONSTEXPR CMsgReplayUploadedToYouTube::CMsgReplayUploadedToYouTube( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.youtube_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.youtube_account_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.session_id_)*/uint64_t{0u}} {} -struct CMsgReplayUploadedToYouTubeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgReplayUploadedToYouTubeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgReplayUploadedToYouTubeDefaultTypeInternal() {} - union { - CMsgReplayUploadedToYouTube _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgReplayUploadedToYouTubeDefaultTypeInternal _CMsgReplayUploadedToYouTube_default_instance_; -PROTOBUF_CONSTEXPR CMsgConsumableExhausted::CMsgConsumableExhausted( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.item_def_id_)*/0} {} -struct CMsgConsumableExhaustedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgConsumableExhaustedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgConsumableExhaustedDefaultTypeInternal() {} - union { - CMsgConsumableExhausted _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgConsumableExhaustedDefaultTypeInternal _CMsgConsumableExhausted_default_instance_; -PROTOBUF_CONSTEXPR CMsgItemAcknowledged__DEPRECATED::CMsgItemAcknowledged__DEPRECATED( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.inventory_)*/0u - , /*decltype(_impl_.def_index_)*/0u - , /*decltype(_impl_.quality_)*/0u - , /*decltype(_impl_.rarity_)*/0u - , /*decltype(_impl_.origin_)*/0u - , /*decltype(_impl_.item_id_)*/uint64_t{0u}} {} -struct CMsgItemAcknowledged__DEPRECATEDDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgItemAcknowledged__DEPRECATEDDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgItemAcknowledged__DEPRECATEDDefaultTypeInternal() {} - union { - CMsgItemAcknowledged__DEPRECATED _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgItemAcknowledged__DEPRECATEDDefaultTypeInternal _CMsgItemAcknowledged__DEPRECATED_default_instance_; -PROTOBUF_CONSTEXPR CMsgSetItemPositions_ItemPosition::CMsgSetItemPositions_ItemPosition( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.legacy_item_id_)*/0u - , /*decltype(_impl_.position_)*/0u - , /*decltype(_impl_.item_id_)*/uint64_t{0u}} {} -struct CMsgSetItemPositions_ItemPositionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSetItemPositions_ItemPositionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSetItemPositions_ItemPositionDefaultTypeInternal() {} - union { - CMsgSetItemPositions_ItemPosition _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSetItemPositions_ItemPositionDefaultTypeInternal _CMsgSetItemPositions_ItemPosition_default_instance_; -PROTOBUF_CONSTEXPR CMsgSetItemPositions::CMsgSetItemPositions( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.item_positions_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CMsgSetItemPositionsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSetItemPositionsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSetItemPositionsDefaultTypeInternal() {} - union { - CMsgSetItemPositions _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSetItemPositionsDefaultTypeInternal _CMsgSetItemPositions_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCReportAbuse::CMsgGCReportAbuse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.target_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.abuse_type_)*/0u - , /*decltype(_impl_.content_type_)*/0u - , /*decltype(_impl_.gid_)*/uint64_t{0u} - , /*decltype(_impl_.target_game_server_ip_)*/0u - , /*decltype(_impl_.target_game_server_port_)*/0u} {} -struct CMsgGCReportAbuseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCReportAbuseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCReportAbuseDefaultTypeInternal() {} - union { - CMsgGCReportAbuse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCReportAbuseDefaultTypeInternal _CMsgGCReportAbuse_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCReportAbuseResponse::CMsgGCReportAbuseResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.error_message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.target_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.result_)*/0u} {} -struct CMsgGCReportAbuseResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCReportAbuseResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCReportAbuseResponseDefaultTypeInternal() {} - union { - CMsgGCReportAbuseResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCReportAbuseResponseDefaultTypeInternal _CMsgGCReportAbuseResponse_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCNameItemNotification::CMsgGCNameItemNotification( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.item_name_custom_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.player_steamid_)*/uint64_t{0u} - , /*decltype(_impl_.item_def_index_)*/0u} {} -struct CMsgGCNameItemNotificationDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCNameItemNotificationDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCNameItemNotificationDefaultTypeInternal() {} - union { - CMsgGCNameItemNotification _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCNameItemNotificationDefaultTypeInternal _CMsgGCNameItemNotification_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCClientDisplayNotification::CMsgGCClientDisplayNotification( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.body_substring_keys_)*/{} - , /*decltype(_impl_.body_substring_values_)*/{} - , /*decltype(_impl_.notification_title_localization_key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.notification_body_localization_key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CMsgGCClientDisplayNotificationDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCClientDisplayNotificationDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCClientDisplayNotificationDefaultTypeInternal() {} - union { - CMsgGCClientDisplayNotification _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCClientDisplayNotificationDefaultTypeInternal _CMsgGCClientDisplayNotification_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCShowItemsPickedUp::CMsgGCShowItemsPickedUp( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.player_steamid_)*/uint64_t{0u}} {} -struct CMsgGCShowItemsPickedUpDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCShowItemsPickedUpDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCShowItemsPickedUpDefaultTypeInternal() {} - union { - CMsgGCShowItemsPickedUp _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCShowItemsPickedUpDefaultTypeInternal _CMsgGCShowItemsPickedUp_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCIncrementKillCountResponse::CMsgGCIncrementKillCountResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.killer_account_id_)*/0u - , /*decltype(_impl_.num_kills_)*/0u - , /*decltype(_impl_.item_def_)*/0u - , /*decltype(_impl_.level_type_)*/0u} {} -struct CMsgGCIncrementKillCountResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCIncrementKillCountResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCIncrementKillCountResponseDefaultTypeInternal() {} - union { - CMsgGCIncrementKillCountResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCIncrementKillCountResponseDefaultTypeInternal _CMsgGCIncrementKillCountResponse_default_instance_; -PROTOBUF_CONSTEXPR CSOEconItemDropRateBonus::CSOEconItemDropRateBonus( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.expiration_date_)*/0u - , /*decltype(_impl_.bonus_)*/0 - , /*decltype(_impl_.bonus_count_)*/0u - , /*decltype(_impl_.item_id_)*/uint64_t{0u} - , /*decltype(_impl_.def_index_)*/0u} {} -struct CSOEconItemDropRateBonusDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOEconItemDropRateBonusDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOEconItemDropRateBonusDefaultTypeInternal() {} - union { - CSOEconItemDropRateBonus _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconItemDropRateBonusDefaultTypeInternal _CSOEconItemDropRateBonus_default_instance_; -PROTOBUF_CONSTEXPR CSOEconItemLeagueViewPass::CSOEconItemLeagueViewPass( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.league_id_)*/0u - , /*decltype(_impl_.admin_)*/0u - , /*decltype(_impl_.itemindex_)*/0u} {} -struct CSOEconItemLeagueViewPassDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOEconItemLeagueViewPassDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOEconItemLeagueViewPassDefaultTypeInternal() {} - union { - CSOEconItemLeagueViewPass _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconItemLeagueViewPassDefaultTypeInternal _CSOEconItemLeagueViewPass_default_instance_; -PROTOBUF_CONSTEXPR CSOEconItemEventTicket::CSOEconItemEventTicket( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.event_id_)*/0u - , /*decltype(_impl_.item_id_)*/uint64_t{0u}} {} -struct CSOEconItemEventTicketDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOEconItemEventTicketDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOEconItemEventTicketDefaultTypeInternal() {} - union { - CSOEconItemEventTicket _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconItemEventTicketDefaultTypeInternal _CSOEconItemEventTicket_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCItemPreviewItemBoughtNotification::CMsgGCItemPreviewItemBoughtNotification( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.item_def_index_)*/0u} {} -struct CMsgGCItemPreviewItemBoughtNotificationDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCItemPreviewItemBoughtNotificationDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCItemPreviewItemBoughtNotificationDefaultTypeInternal() {} - union { - CMsgGCItemPreviewItemBoughtNotification _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCItemPreviewItemBoughtNotificationDefaultTypeInternal _CMsgGCItemPreviewItemBoughtNotification_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCStorePurchaseCancel::CMsgGCStorePurchaseCancel( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.txn_id_)*/uint64_t{0u}} {} -struct CMsgGCStorePurchaseCancelDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCStorePurchaseCancelDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCStorePurchaseCancelDefaultTypeInternal() {} - union { - CMsgGCStorePurchaseCancel _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCStorePurchaseCancelDefaultTypeInternal _CMsgGCStorePurchaseCancel_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCStorePurchaseCancelResponse::CMsgGCStorePurchaseCancelResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.result_)*/0u} {} -struct CMsgGCStorePurchaseCancelResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCStorePurchaseCancelResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCStorePurchaseCancelResponseDefaultTypeInternal() {} - union { - CMsgGCStorePurchaseCancelResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCStorePurchaseCancelResponseDefaultTypeInternal _CMsgGCStorePurchaseCancelResponse_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCStorePurchaseFinalize::CMsgGCStorePurchaseFinalize( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.txn_id_)*/uint64_t{0u}} {} -struct CMsgGCStorePurchaseFinalizeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCStorePurchaseFinalizeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCStorePurchaseFinalizeDefaultTypeInternal() {} - union { - CMsgGCStorePurchaseFinalize _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCStorePurchaseFinalizeDefaultTypeInternal _CMsgGCStorePurchaseFinalize_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCStorePurchaseFinalizeResponse::CMsgGCStorePurchaseFinalizeResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.item_ids_)*/{} - , /*decltype(_impl_.result_)*/0u} {} -struct CMsgGCStorePurchaseFinalizeResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCStorePurchaseFinalizeResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCStorePurchaseFinalizeResponseDefaultTypeInternal() {} - union { - CMsgGCStorePurchaseFinalizeResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCStorePurchaseFinalizeResponseDefaultTypeInternal _CMsgGCStorePurchaseFinalizeResponse_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCBannedWordListRequest::CMsgGCBannedWordListRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ban_list_group_id_)*/0u - , /*decltype(_impl_.word_id_)*/0u} {} -struct CMsgGCBannedWordListRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCBannedWordListRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCBannedWordListRequestDefaultTypeInternal() {} - union { - CMsgGCBannedWordListRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCBannedWordListRequestDefaultTypeInternal _CMsgGCBannedWordListRequest_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCRequestAnnouncements::CMsgGCRequestAnnouncements( - ::_pbi::ConstantInitialized) {} -struct CMsgGCRequestAnnouncementsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCRequestAnnouncementsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCRequestAnnouncementsDefaultTypeInternal() {} - union { - CMsgGCRequestAnnouncements _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCRequestAnnouncementsDefaultTypeInternal _CMsgGCRequestAnnouncements_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCRequestAnnouncementsResponse::CMsgGCRequestAnnouncementsResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.announcement_title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.announcement_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.nextmatch_title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.nextmatch_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CMsgGCRequestAnnouncementsResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCRequestAnnouncementsResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCRequestAnnouncementsResponseDefaultTypeInternal() {} - union { - CMsgGCRequestAnnouncementsResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCRequestAnnouncementsResponseDefaultTypeInternal _CMsgGCRequestAnnouncementsResponse_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCBannedWord::CMsgGCBannedWord( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.word_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.word_id_)*/0u - , /*decltype(_impl_.word_type_)*/0} {} -struct CMsgGCBannedWordDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCBannedWordDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCBannedWordDefaultTypeInternal() {} - union { - CMsgGCBannedWord _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCBannedWordDefaultTypeInternal _CMsgGCBannedWord_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCBannedWordListResponse::CMsgGCBannedWordListResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.word_list_)*/{} - , /*decltype(_impl_.ban_list_group_id_)*/0u} {} -struct CMsgGCBannedWordListResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCBannedWordListResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCBannedWordListResponseDefaultTypeInternal() {} - union { - CMsgGCBannedWordListResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCBannedWordListResponseDefaultTypeInternal _CMsgGCBannedWordListResponse_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCToGCBannedWordListBroadcast::CMsgGCToGCBannedWordListBroadcast( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.broadcast_)*/nullptr} {} -struct CMsgGCToGCBannedWordListBroadcastDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCToGCBannedWordListBroadcastDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCToGCBannedWordListBroadcastDefaultTypeInternal() {} - union { - CMsgGCToGCBannedWordListBroadcast _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCBannedWordListBroadcastDefaultTypeInternal _CMsgGCToGCBannedWordListBroadcast_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCToGCBannedWordListUpdated::CMsgGCToGCBannedWordListUpdated( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.group_id_)*/0u} {} -struct CMsgGCToGCBannedWordListUpdatedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCToGCBannedWordListUpdatedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCToGCBannedWordListUpdatedDefaultTypeInternal() {} - union { - CMsgGCToGCBannedWordListUpdated _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCBannedWordListUpdatedDefaultTypeInternal _CMsgGCToGCBannedWordListUpdated_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCToGCDirtySDOCache::CMsgGCToGCDirtySDOCache( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.key_uint64_)*/uint64_t{0u} - , /*decltype(_impl_.sdo_type_)*/0u} {} -struct CMsgGCToGCDirtySDOCacheDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCToGCDirtySDOCacheDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCToGCDirtySDOCacheDefaultTypeInternal() {} - union { - CMsgGCToGCDirtySDOCache _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCDirtySDOCacheDefaultTypeInternal _CMsgGCToGCDirtySDOCache_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCToGCDirtyMultipleSDOCache::CMsgGCToGCDirtyMultipleSDOCache( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.key_uint64_)*/{} - , /*decltype(_impl_.sdo_type_)*/0u} {} -struct CMsgGCToGCDirtyMultipleSDOCacheDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCToGCDirtyMultipleSDOCacheDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCToGCDirtyMultipleSDOCacheDefaultTypeInternal() {} - union { - CMsgGCToGCDirtyMultipleSDOCache _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCDirtyMultipleSDOCacheDefaultTypeInternal _CMsgGCToGCDirtyMultipleSDOCache_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCollectItem::CMsgGCCollectItem( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.collection_item_id_)*/uint64_t{0u} - , /*decltype(_impl_.subject_item_id_)*/uint64_t{0u}} {} -struct CMsgGCCollectItemDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCollectItemDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCollectItemDefaultTypeInternal() {} - union { - CMsgGCCollectItem _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCollectItemDefaultTypeInternal _CMsgGCCollectItem_default_instance_; -PROTOBUF_CONSTEXPR CMsgSDONoMemcached::CMsgSDONoMemcached( - ::_pbi::ConstantInitialized) {} -struct CMsgSDONoMemcachedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSDONoMemcachedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSDONoMemcachedDefaultTypeInternal() {} - union { - CMsgSDONoMemcached _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSDONoMemcachedDefaultTypeInternal _CMsgSDONoMemcached_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCToGCUpdateSQLKeyValue::CMsgGCToGCUpdateSQLKeyValue( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.key_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CMsgGCToGCUpdateSQLKeyValueDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCToGCUpdateSQLKeyValueDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCToGCUpdateSQLKeyValueDefaultTypeInternal() {} - union { - CMsgGCToGCUpdateSQLKeyValue _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCUpdateSQLKeyValueDefaultTypeInternal _CMsgGCToGCUpdateSQLKeyValue_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCToGCIsTrustedServer::CMsgGCToGCIsTrustedServer( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.steam_id_)*/uint64_t{0u}} {} -struct CMsgGCToGCIsTrustedServerDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCToGCIsTrustedServerDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCToGCIsTrustedServerDefaultTypeInternal() {} - union { - CMsgGCToGCIsTrustedServer _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCIsTrustedServerDefaultTypeInternal _CMsgGCToGCIsTrustedServer_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCToGCIsTrustedServerResponse::CMsgGCToGCIsTrustedServerResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.is_trusted_)*/false} {} -struct CMsgGCToGCIsTrustedServerResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCToGCIsTrustedServerResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCToGCIsTrustedServerResponseDefaultTypeInternal() {} - union { - CMsgGCToGCIsTrustedServerResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCIsTrustedServerResponseDefaultTypeInternal _CMsgGCToGCIsTrustedServerResponse_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCToGCBroadcastConsoleCommand::CMsgGCToGCBroadcastConsoleCommand( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.con_command_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CMsgGCToGCBroadcastConsoleCommandDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCToGCBroadcastConsoleCommandDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCToGCBroadcastConsoleCommandDefaultTypeInternal() {} - union { - CMsgGCToGCBroadcastConsoleCommand _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCBroadcastConsoleCommandDefaultTypeInternal _CMsgGCToGCBroadcastConsoleCommand_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCServerVersionUpdated::CMsgGCServerVersionUpdated( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.server_version_)*/0u} {} -struct CMsgGCServerVersionUpdatedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCServerVersionUpdatedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCServerVersionUpdatedDefaultTypeInternal() {} - union { - CMsgGCServerVersionUpdated _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCServerVersionUpdatedDefaultTypeInternal _CMsgGCServerVersionUpdated_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCClientVersionUpdated::CMsgGCClientVersionUpdated( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.client_version_)*/0u} {} -struct CMsgGCClientVersionUpdatedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCClientVersionUpdatedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCClientVersionUpdatedDefaultTypeInternal() {} - union { - CMsgGCClientVersionUpdated _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCClientVersionUpdatedDefaultTypeInternal _CMsgGCClientVersionUpdated_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCToGCWebAPIAccountChanged::CMsgGCToGCWebAPIAccountChanged( - ::_pbi::ConstantInitialized) {} -struct CMsgGCToGCWebAPIAccountChangedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCToGCWebAPIAccountChangedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCToGCWebAPIAccountChangedDefaultTypeInternal() {} - union { - CMsgGCToGCWebAPIAccountChanged _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCWebAPIAccountChangedDefaultTypeInternal _CMsgGCToGCWebAPIAccountChanged_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCToGCRequestPassportItemGrant::CMsgGCToGCRequestPassportItemGrant( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.league_id_)*/0u - , /*decltype(_impl_.reward_flag_)*/0} {} -struct CMsgGCToGCRequestPassportItemGrantDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCToGCRequestPassportItemGrantDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCToGCRequestPassportItemGrantDefaultTypeInternal() {} - union { - CMsgGCToGCRequestPassportItemGrant _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToGCRequestPassportItemGrantDefaultTypeInternal _CMsgGCToGCRequestPassportItemGrant_default_instance_; -PROTOBUF_CONSTEXPR CMsgGameServerInfo::CMsgGameServerInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.server_key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.server_public_ip_addr_)*/0u - , /*decltype(_impl_.server_private_ip_addr_)*/0u - , /*decltype(_impl_.server_port_)*/0u - , /*decltype(_impl_.server_tv_port_)*/0u - , /*decltype(_impl_.server_hibernation_)*/false - , /*decltype(_impl_.server_type_)*/0 - , /*decltype(_impl_.server_region_)*/0u - , /*decltype(_impl_.server_loadavg_)*/0 - , /*decltype(_impl_.server_tv_broadcast_time_)*/0 - , /*decltype(_impl_.server_game_time_)*/0 - , /*decltype(_impl_.server_relay_connected_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.relay_slots_max_)*/0u - , /*decltype(_impl_.relays_connected_)*/0 - , /*decltype(_impl_.relayed_game_server_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.relay_clients_connected_)*/0 - , /*decltype(_impl_.parent_relay_count_)*/0u - , /*decltype(_impl_.tv_secret_code_)*/uint64_t{0u}} {} -struct CMsgGameServerInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGameServerInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGameServerInfoDefaultTypeInternal() {} - union { - CMsgGameServerInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGameServerInfoDefaultTypeInternal _CMsgGameServerInfo_default_instance_; -PROTOBUF_CONSTEXPR CSOEconEquipSlot::CSOEconEquipSlot( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.class_id_)*/0u - , /*decltype(_impl_.item_id_)*/uint64_t{0u} - , /*decltype(_impl_.slot_id_)*/0u - , /*decltype(_impl_.item_definition_)*/0u} {} -struct CSOEconEquipSlotDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOEconEquipSlotDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOEconEquipSlotDefaultTypeInternal() {} - union { - CSOEconEquipSlot _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconEquipSlotDefaultTypeInternal _CSOEconEquipSlot_default_instance_; -PROTOBUF_CONSTEXPR CMsgAdjustEquipSlot::CMsgAdjustEquipSlot( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.class_id_)*/0u - , /*decltype(_impl_.slot_id_)*/0u - , /*decltype(_impl_.item_id_)*/uint64_t{0u}} {} -struct CMsgAdjustEquipSlotDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgAdjustEquipSlotDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgAdjustEquipSlotDefaultTypeInternal() {} - union { - CMsgAdjustEquipSlot _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgAdjustEquipSlotDefaultTypeInternal _CMsgAdjustEquipSlot_default_instance_; -PROTOBUF_CONSTEXPR CMsgAdjustEquipSlots::CMsgAdjustEquipSlots( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.slots_)*/{} - , /*decltype(_impl_.change_num_)*/0u} {} -struct CMsgAdjustEquipSlotsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgAdjustEquipSlotsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgAdjustEquipSlotsDefaultTypeInternal() {} - union { - CMsgAdjustEquipSlots _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgAdjustEquipSlotsDefaultTypeInternal _CMsgAdjustEquipSlots_default_instance_; -PROTOBUF_CONSTEXPR CMsgOpenCrate::CMsgOpenCrate( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.tool_item_id_)*/uint64_t{0u} - , /*decltype(_impl_.subject_item_id_)*/uint64_t{0u} - , /*decltype(_impl_.for_rental_)*/false - , /*decltype(_impl_.points_remaining_)*/0u} {} -struct CMsgOpenCrateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgOpenCrateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgOpenCrateDefaultTypeInternal() {} - union { - CMsgOpenCrate _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgOpenCrateDefaultTypeInternal _CMsgOpenCrate_default_instance_; -PROTOBUF_CONSTEXPR CSOEconRentalHistory::CSOEconRentalHistory( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.crate_item_id_)*/uint64_t{0u} - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.crate_def_index_)*/0u - , /*decltype(_impl_.issue_date_)*/0u - , /*decltype(_impl_.expiration_date_)*/0u} {} -struct CSOEconRentalHistoryDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOEconRentalHistoryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOEconRentalHistoryDefaultTypeInternal() {} - union { - CSOEconRentalHistory _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconRentalHistoryDefaultTypeInternal _CSOEconRentalHistory_default_instance_; -PROTOBUF_CONSTEXPR CMsgAcknowledgeRentalExpiration::CMsgAcknowledgeRentalExpiration( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.crate_item_id_)*/uint64_t{0u}} {} -struct CMsgAcknowledgeRentalExpirationDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgAcknowledgeRentalExpirationDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgAcknowledgeRentalExpirationDefaultTypeInternal() {} - union { - CMsgAcknowledgeRentalExpiration _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgAcknowledgeRentalExpirationDefaultTypeInternal _CMsgAcknowledgeRentalExpiration_default_instance_; -static ::_pb::Metadata file_level_metadata_base_5fgcmessages_2eproto[83]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_base_5fgcmessages_2eproto[4]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_base_5fgcmessages_2eproto = nullptr; - -const uint32_t TableStruct_base_5fgcmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CGCStorePurchaseInit_LineItem, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CGCStorePurchaseInit_LineItem, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGCStorePurchaseInit_LineItem, _impl_.item_def_id_), - PROTOBUF_FIELD_OFFSET(::CGCStorePurchaseInit_LineItem, _impl_.quantity_), - PROTOBUF_FIELD_OFFSET(::CGCStorePurchaseInit_LineItem, _impl_.cost_in_local_currency_), - PROTOBUF_FIELD_OFFSET(::CGCStorePurchaseInit_LineItem, _impl_.purchase_type_), - PROTOBUF_FIELD_OFFSET(::CGCStorePurchaseInit_LineItem, _impl_.supplemental_data_), - 0, - 1, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInit, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInit, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInit, _impl_.country_), - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInit, _impl_.language_), - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInit, _impl_.currency_), - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInit, _impl_.line_items_), - 0, - 1, - 2, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInitResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInitResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInitResponse, _impl_.result_), - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInitResponse, _impl_.txn_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInitResponse, _impl_.url_), - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseInitResponse, _impl_.item_ids_), - 2, - 1, - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CSOPartyInvite, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOPartyInvite, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOPartyInvite, _impl_.group_id_), - PROTOBUF_FIELD_OFFSET(::CSOPartyInvite, _impl_.sender_id_), - PROTOBUF_FIELD_OFFSET(::CSOPartyInvite, _impl_.sender_name_), - 1, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CSOLobbyInvite, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOLobbyInvite, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOLobbyInvite, _impl_.group_id_), - PROTOBUF_FIELD_OFFSET(::CSOLobbyInvite, _impl_.sender_id_), - PROTOBUF_FIELD_OFFSET(::CSOLobbyInvite, _impl_.sender_name_), - 1, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSystemBroadcast, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSystemBroadcast, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSystemBroadcast, _impl_.message_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgInviteToParty, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgInviteToParty, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgInviteToParty, _impl_.steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgInviteToParty, _impl_.client_version_), - PROTOBUF_FIELD_OFFSET(::CMsgInviteToParty, _impl_.team_invite_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgInvitationCreated, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgInvitationCreated, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgInvitationCreated, _impl_.group_id_), - PROTOBUF_FIELD_OFFSET(::CMsgInvitationCreated, _impl_.steam_id_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgPartyInviteResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgPartyInviteResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgPartyInviteResponse, _impl_.party_id_), - PROTOBUF_FIELD_OFFSET(::CMsgPartyInviteResponse, _impl_.accept_), - PROTOBUF_FIELD_OFFSET(::CMsgPartyInviteResponse, _impl_.client_version_), - PROTOBUF_FIELD_OFFSET(::CMsgPartyInviteResponse, _impl_.team_invite_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgKickFromParty, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgKickFromParty, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgKickFromParty, _impl_.steam_id_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgLeaveParty, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgServerAvailable, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgLANServerAvailable, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgLANServerAvailable, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgLANServerAvailable, _impl_.lobby_id_), - 0, - PROTOBUF_FIELD_OFFSET(::CSOEconGameAccountClient, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOEconGameAccountClient, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOEconGameAccountClient, _impl_.additional_backpack_slots_), - PROTOBUF_FIELD_OFFSET(::CSOEconGameAccountClient, _impl_.trade_ban_expiration_), - PROTOBUF_FIELD_OFFSET(::CSOEconGameAccountClient, _impl_.bonus_xp_timestamp_refresh_), - PROTOBUF_FIELD_OFFSET(::CSOEconGameAccountClient, _impl_.bonus_xp_usedflags_), - PROTOBUF_FIELD_OFFSET(::CSOEconGameAccountClient, _impl_.elevated_state_), - PROTOBUF_FIELD_OFFSET(::CSOEconGameAccountClient, _impl_.elevated_timestamp_), - 0, - 1, - 2, - 3, - 4, - 5, - PROTOBUF_FIELD_OFFSET(::CSOItemCriteriaCondition, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOItemCriteriaCondition, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOItemCriteriaCondition, _impl_.op_), - PROTOBUF_FIELD_OFFSET(::CSOItemCriteriaCondition, _impl_.field_), - PROTOBUF_FIELD_OFFSET(::CSOItemCriteriaCondition, _impl_.required_), - PROTOBUF_FIELD_OFFSET(::CSOItemCriteriaCondition, _impl_.float_value_), - PROTOBUF_FIELD_OFFSET(::CSOItemCriteriaCondition, _impl_.string_value_), - 2, - 0, - 3, - 4, - 1, - PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.item_level_), - PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.item_quality_), - PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.item_level_set_), - PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.item_quality_set_), - PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.initial_inventory_), - PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.initial_quantity_), - PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.ignore_enabled_flag_), - PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.conditions_), - PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.item_rarity_), - PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.item_rarity_set_), - PROTOBUF_FIELD_OFFSET(::CSOItemCriteria, _impl_.recent_only_), - 0, - 1, - 4, - 5, - 2, - 3, - 6, - ~0u, - 8, - 7, - 9, - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.def_index_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.n_a_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.desc_inputs_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.desc_outputs_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.di_a_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.di_b_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.di_c_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.do_a_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.do_b_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.do_c_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.requires_all_same_class_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.requires_all_same_slot_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.class_usage_for_output_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.slot_usage_for_output_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.set_for_output_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.input_items_criteria_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.output_items_criteria_), - PROTOBUF_FIELD_OFFSET(::CSOItemRecipe, _impl_.input_item_dupe_counts_), - 10, - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 11, - 12, - 13, - 14, - 15, - ~0u, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgDevNewItemRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgDevNewItemRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgDevNewItemRequest, _impl_.receiver_), - PROTOBUF_FIELD_OFFSET(::CMsgDevNewItemRequest, _impl_.criteria_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgIncrementKillCountAttribute, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgIncrementKillCountAttribute, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgIncrementKillCountAttribute, _impl_.killer_account_id_), - PROTOBUF_FIELD_OFFSET(::CMsgIncrementKillCountAttribute, _impl_.victim_account_id_), - PROTOBUF_FIELD_OFFSET(::CMsgIncrementKillCountAttribute, _impl_.item_id_), - PROTOBUF_FIELD_OFFSET(::CMsgIncrementKillCountAttribute, _impl_.event_type_), - PROTOBUF_FIELD_OFFSET(::CMsgIncrementKillCountAttribute, _impl_.amount_), - 0, - 1, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.sticker_item_id_), - PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.item_item_id_), - PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.sticker_slot_), - PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.baseitem_defidx_), - PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.sticker_wear_), - PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.sticker_rotation_), - PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.sticker_scale_), - PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.sticker_offset_x_), - PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.sticker_offset_y_), - PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.sticker_offset_z_), - PROTOBUF_FIELD_OFFSET(::CMsgApplySticker, _impl_.sticker_wear_target_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - PROTOBUF_FIELD_OFFSET(::CMsgModifyItemAttribute, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgModifyItemAttribute, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgModifyItemAttribute, _impl_.item_id_), - PROTOBUF_FIELD_OFFSET(::CMsgModifyItemAttribute, _impl_.attr_defidx_), - PROTOBUF_FIELD_OFFSET(::CMsgModifyItemAttribute, _impl_.attr_value_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgApplyStatTrakSwap, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgApplyStatTrakSwap, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgApplyStatTrakSwap, _impl_.tool_item_id_), - PROTOBUF_FIELD_OFFSET(::CMsgApplyStatTrakSwap, _impl_.item_1_item_id_), - PROTOBUF_FIELD_OFFSET(::CMsgApplyStatTrakSwap, _impl_.item_2_item_id_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgApplyStrangePart, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgApplyStrangePart, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgApplyStrangePart, _impl_.strange_part_item_id_), - PROTOBUF_FIELD_OFFSET(::CMsgApplyStrangePart, _impl_.item_item_id_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgApplyPennantUpgrade, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgApplyPennantUpgrade, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgApplyPennantUpgrade, _impl_.upgrade_item_id_), - PROTOBUF_FIELD_OFFSET(::CMsgApplyPennantUpgrade, _impl_.pennant_item_id_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgApplyEggEssence, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgApplyEggEssence, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgApplyEggEssence, _impl_.essence_item_id_), - PROTOBUF_FIELD_OFFSET(::CMsgApplyEggEssence, _impl_.egg_item_id_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CSOEconItemAttribute, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOEconItemAttribute, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOEconItemAttribute, _impl_.def_index_), - PROTOBUF_FIELD_OFFSET(::CSOEconItemAttribute, _impl_.value_), - PROTOBUF_FIELD_OFFSET(::CSOEconItemAttribute, _impl_.value_bytes_), - 1, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CSOEconItemEquipped, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOEconItemEquipped, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOEconItemEquipped, _impl_.new_class_), - PROTOBUF_FIELD_OFFSET(::CSOEconItemEquipped, _impl_.new_slot_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.inventory_), - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.def_index_), - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.quantity_), - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.level_), - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.quality_), - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.custom_name_), - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.custom_desc_), - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.attribute_), - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.interior_item_), - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.in_use_), - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.style_), - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.original_id_), - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.equipped_state_), - PROTOBUF_FIELD_OFFSET(::CSOEconItem, _impl_.rarity_), - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 0, - 1, - ~0u, - 2, - 12, - 13, - 14, - ~0u, - 15, - PROTOBUF_FIELD_OFFSET(::CMsgSortItems, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSortItems, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSortItems, _impl_.sort_type_), - 0, - PROTOBUF_FIELD_OFFSET(::CSOEconClaimCode, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOEconClaimCode, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOEconClaimCode, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CSOEconClaimCode, _impl_.code_type_), - PROTOBUF_FIELD_OFFSET(::CSOEconClaimCode, _impl_.time_acquired_), - PROTOBUF_FIELD_OFFSET(::CSOEconClaimCode, _impl_.code_), - 1, - 2, - 3, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserData, _impl_.price_sheet_version_), - PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserData, _impl_.currency_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserDataResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserDataResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserDataResponse, _impl_.result_), - PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserDataResponse, _impl_.currency_deprecated_), - PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserDataResponse, _impl_.country_deprecated_), - PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserDataResponse, _impl_.price_sheet_version_), - PROTOBUF_FIELD_OFFSET(::CMsgStoreGetUserDataResponse, _impl_.price_sheet_), - 2, - 3, - 0, - 4, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgUpdateItemSchema, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgUpdateItemSchema, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgUpdateItemSchema, _impl_.items_game_), - PROTOBUF_FIELD_OFFSET(::CMsgUpdateItemSchema, _impl_.item_schema_version_), - PROTOBUF_FIELD_OFFSET(::CMsgUpdateItemSchema, _impl_.items_game_url_), - 0, - 2, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgGCError, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCError, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCError, _impl_.error_text_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgRequestInventoryRefresh, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgConVarValue, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgConVarValue, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgConVarValue, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CMsgConVarValue, _impl_.value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgReplicateConVars, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgReplicateConVars, _impl_.convars_), - PROTOBUF_FIELD_OFFSET(::CMsgUseItem, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgUseItem, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgUseItem, _impl_.item_id_), - PROTOBUF_FIELD_OFFSET(::CMsgUseItem, _impl_.target_steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgUseItem, _impl_.gift__potential_targets_), - PROTOBUF_FIELD_OFFSET(::CMsgUseItem, _impl_.duel__class_lock_), - PROTOBUF_FIELD_OFFSET(::CMsgUseItem, _impl_.initiator_steam_id_), - 0, - 1, - ~0u, - 3, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgReplayUploadedToYouTube, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgReplayUploadedToYouTube, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgReplayUploadedToYouTube, _impl_.youtube_url_), - PROTOBUF_FIELD_OFFSET(::CMsgReplayUploadedToYouTube, _impl_.youtube_account_name_), - PROTOBUF_FIELD_OFFSET(::CMsgReplayUploadedToYouTube, _impl_.session_id_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgConsumableExhausted, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgConsumableExhausted, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgConsumableExhausted, _impl_.item_def_id_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged__DEPRECATED, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged__DEPRECATED, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged__DEPRECATED, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged__DEPRECATED, _impl_.inventory_), - PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged__DEPRECATED, _impl_.def_index_), - PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged__DEPRECATED, _impl_.quality_), - PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged__DEPRECATED, _impl_.rarity_), - PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged__DEPRECATED, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged__DEPRECATED, _impl_.item_id_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - PROTOBUF_FIELD_OFFSET(::CMsgSetItemPositions_ItemPosition, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSetItemPositions_ItemPosition, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSetItemPositions_ItemPosition, _impl_.legacy_item_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSetItemPositions_ItemPosition, _impl_.position_), - PROTOBUF_FIELD_OFFSET(::CMsgSetItemPositions_ItemPosition, _impl_.item_id_), - 0, - 1, - 2, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgSetItemPositions, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSetItemPositions, _impl_.item_positions_), - PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuse, _impl_.target_steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuse, _impl_.description_), - PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuse, _impl_.gid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuse, _impl_.abuse_type_), - PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuse, _impl_.content_type_), - PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuse, _impl_.target_game_server_ip_), - PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuse, _impl_.target_game_server_port_), - 1, - 0, - 4, - 2, - 3, - 5, - 6, - PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuseResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuseResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuseResponse, _impl_.target_steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuseResponse, _impl_.result_), - PROTOBUF_FIELD_OFFSET(::CMsgGCReportAbuseResponse, _impl_.error_message_), - 1, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCNameItemNotification, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCNameItemNotification, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCNameItemNotification, _impl_.player_steamid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCNameItemNotification, _impl_.item_def_index_), - PROTOBUF_FIELD_OFFSET(::CMsgGCNameItemNotification, _impl_.item_name_custom_), - 1, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCClientDisplayNotification, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCClientDisplayNotification, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCClientDisplayNotification, _impl_.notification_title_localization_key_), - PROTOBUF_FIELD_OFFSET(::CMsgGCClientDisplayNotification, _impl_.notification_body_localization_key_), - PROTOBUF_FIELD_OFFSET(::CMsgGCClientDisplayNotification, _impl_.body_substring_keys_), - PROTOBUF_FIELD_OFFSET(::CMsgGCClientDisplayNotification, _impl_.body_substring_values_), - 0, - 1, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCShowItemsPickedUp, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCShowItemsPickedUp, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCShowItemsPickedUp, _impl_.player_steamid_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCIncrementKillCountResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCIncrementKillCountResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCIncrementKillCountResponse, _impl_.killer_account_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCIncrementKillCountResponse, _impl_.num_kills_), - PROTOBUF_FIELD_OFFSET(::CMsgGCIncrementKillCountResponse, _impl_.item_def_), - PROTOBUF_FIELD_OFFSET(::CMsgGCIncrementKillCountResponse, _impl_.level_type_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CSOEconItemDropRateBonus, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOEconItemDropRateBonus, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOEconItemDropRateBonus, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CSOEconItemDropRateBonus, _impl_.expiration_date_), - PROTOBUF_FIELD_OFFSET(::CSOEconItemDropRateBonus, _impl_.bonus_), - PROTOBUF_FIELD_OFFSET(::CSOEconItemDropRateBonus, _impl_.bonus_count_), - PROTOBUF_FIELD_OFFSET(::CSOEconItemDropRateBonus, _impl_.item_id_), - PROTOBUF_FIELD_OFFSET(::CSOEconItemDropRateBonus, _impl_.def_index_), - 0, - 1, - 2, - 3, - 4, - 5, - PROTOBUF_FIELD_OFFSET(::CSOEconItemLeagueViewPass, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOEconItemLeagueViewPass, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOEconItemLeagueViewPass, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CSOEconItemLeagueViewPass, _impl_.league_id_), - PROTOBUF_FIELD_OFFSET(::CSOEconItemLeagueViewPass, _impl_.admin_), - PROTOBUF_FIELD_OFFSET(::CSOEconItemLeagueViewPass, _impl_.itemindex_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CSOEconItemEventTicket, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOEconItemEventTicket, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOEconItemEventTicket, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CSOEconItemEventTicket, _impl_.event_id_), - PROTOBUF_FIELD_OFFSET(::CSOEconItemEventTicket, _impl_.item_id_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgGCItemPreviewItemBoughtNotification, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCItemPreviewItemBoughtNotification, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCItemPreviewItemBoughtNotification, _impl_.item_def_index_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseCancel, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseCancel, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseCancel, _impl_.txn_id_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseCancelResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseCancelResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseCancelResponse, _impl_.result_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseFinalize, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseFinalize, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseFinalize, _impl_.txn_id_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseFinalizeResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseFinalizeResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseFinalizeResponse, _impl_.result_), - PROTOBUF_FIELD_OFFSET(::CMsgGCStorePurchaseFinalizeResponse, _impl_.item_ids_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWordListRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWordListRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWordListRequest, _impl_.ban_list_group_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWordListRequest, _impl_.word_id_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgGCRequestAnnouncements, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCRequestAnnouncementsResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCRequestAnnouncementsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCRequestAnnouncementsResponse, _impl_.announcement_title_), - PROTOBUF_FIELD_OFFSET(::CMsgGCRequestAnnouncementsResponse, _impl_.announcement_), - PROTOBUF_FIELD_OFFSET(::CMsgGCRequestAnnouncementsResponse, _impl_.nextmatch_title_), - PROTOBUF_FIELD_OFFSET(::CMsgGCRequestAnnouncementsResponse, _impl_.nextmatch_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWord, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWord, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWord, _impl_.word_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWord, _impl_.word_type_), - PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWord, _impl_.word_), - 1, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWordListResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWordListResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWordListResponse, _impl_.ban_list_group_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCBannedWordListResponse, _impl_.word_list_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCBannedWordListBroadcast, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCBannedWordListBroadcast, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCBannedWordListBroadcast, _impl_.broadcast_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCBannedWordListUpdated, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCBannedWordListUpdated, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCBannedWordListUpdated, _impl_.group_id_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCDirtySDOCache, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCDirtySDOCache, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCDirtySDOCache, _impl_.sdo_type_), - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCDirtySDOCache, _impl_.key_uint64_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCDirtyMultipleSDOCache, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCDirtyMultipleSDOCache, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCDirtyMultipleSDOCache, _impl_.sdo_type_), - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCDirtyMultipleSDOCache, _impl_.key_uint64_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCCollectItem, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCollectItem, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCollectItem, _impl_.collection_item_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCollectItem, _impl_.subject_item_id_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgSDONoMemcached, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCUpdateSQLKeyValue, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCUpdateSQLKeyValue, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCUpdateSQLKeyValue, _impl_.key_name_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCIsTrustedServer, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCIsTrustedServer, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCIsTrustedServer, _impl_.steam_id_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCIsTrustedServerResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCIsTrustedServerResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCIsTrustedServerResponse, _impl_.is_trusted_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCBroadcastConsoleCommand, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCBroadcastConsoleCommand, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCBroadcastConsoleCommand, _impl_.con_command_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCServerVersionUpdated, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCServerVersionUpdated, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCServerVersionUpdated, _impl_.server_version_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCClientVersionUpdated, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCClientVersionUpdated, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCClientVersionUpdated, _impl_.client_version_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCWebAPIAccountChanged, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCRequestPassportItemGrant, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCRequestPassportItemGrant, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCRequestPassportItemGrant, _impl_.steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCRequestPassportItemGrant, _impl_.league_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCToGCRequestPassportItemGrant, _impl_.reward_flag_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_public_ip_addr_), - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_private_ip_addr_), - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_port_), - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_tv_port_), - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_key_), - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_hibernation_), - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_type_), - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_region_), - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_loadavg_), - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_tv_broadcast_time_), - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_game_time_), - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.server_relay_connected_steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.relay_slots_max_), - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.relays_connected_), - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.relay_clients_connected_), - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.relayed_game_server_steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.parent_relay_count_), - PROTOBUF_FIELD_OFFSET(::CMsgGameServerInfo, _impl_.tv_secret_code_), - 1, - 2, - 3, - 4, - 0, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 15, - 14, - 16, - 17, - PROTOBUF_FIELD_OFFSET(::CSOEconEquipSlot, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOEconEquipSlot, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOEconEquipSlot, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CSOEconEquipSlot, _impl_.class_id_), - PROTOBUF_FIELD_OFFSET(::CSOEconEquipSlot, _impl_.slot_id_), - PROTOBUF_FIELD_OFFSET(::CSOEconEquipSlot, _impl_.item_id_), - PROTOBUF_FIELD_OFFSET(::CSOEconEquipSlot, _impl_.item_definition_), - 0, - 1, - 3, - 2, - 4, - PROTOBUF_FIELD_OFFSET(::CMsgAdjustEquipSlot, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgAdjustEquipSlot, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgAdjustEquipSlot, _impl_.class_id_), - PROTOBUF_FIELD_OFFSET(::CMsgAdjustEquipSlot, _impl_.slot_id_), - PROTOBUF_FIELD_OFFSET(::CMsgAdjustEquipSlot, _impl_.item_id_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgAdjustEquipSlots, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgAdjustEquipSlots, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgAdjustEquipSlots, _impl_.slots_), - PROTOBUF_FIELD_OFFSET(::CMsgAdjustEquipSlots, _impl_.change_num_), - ~0u, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgOpenCrate, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgOpenCrate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgOpenCrate, _impl_.tool_item_id_), - PROTOBUF_FIELD_OFFSET(::CMsgOpenCrate, _impl_.subject_item_id_), - PROTOBUF_FIELD_OFFSET(::CMsgOpenCrate, _impl_.for_rental_), - PROTOBUF_FIELD_OFFSET(::CMsgOpenCrate, _impl_.points_remaining_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CSOEconRentalHistory, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOEconRentalHistory, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOEconRentalHistory, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CSOEconRentalHistory, _impl_.crate_item_id_), - PROTOBUF_FIELD_OFFSET(::CSOEconRentalHistory, _impl_.crate_def_index_), - PROTOBUF_FIELD_OFFSET(::CSOEconRentalHistory, _impl_.issue_date_), - PROTOBUF_FIELD_OFFSET(::CSOEconRentalHistory, _impl_.expiration_date_), - 1, - 0, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CMsgAcknowledgeRentalExpiration, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgAcknowledgeRentalExpiration, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgAcknowledgeRentalExpiration, _impl_.crate_item_id_), - 0, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 11, -1, sizeof(::CGCStorePurchaseInit_LineItem)}, - { 16, 26, -1, sizeof(::CMsgGCStorePurchaseInit)}, - { 30, 40, -1, sizeof(::CMsgGCStorePurchaseInitResponse)}, - { 44, 53, -1, sizeof(::CSOPartyInvite)}, - { 56, 65, -1, sizeof(::CSOLobbyInvite)}, - { 68, 75, -1, sizeof(::CMsgSystemBroadcast)}, - { 76, 85, -1, sizeof(::CMsgInviteToParty)}, - { 88, 96, -1, sizeof(::CMsgInvitationCreated)}, - { 98, 108, -1, sizeof(::CMsgPartyInviteResponse)}, - { 112, 119, -1, sizeof(::CMsgKickFromParty)}, - { 120, -1, -1, sizeof(::CMsgLeaveParty)}, - { 126, -1, -1, sizeof(::CMsgServerAvailable)}, - { 132, 139, -1, sizeof(::CMsgLANServerAvailable)}, - { 140, 152, -1, sizeof(::CSOEconGameAccountClient)}, - { 158, 169, -1, sizeof(::CSOItemCriteriaCondition)}, - { 174, 191, -1, sizeof(::CSOItemCriteria)}, - { 202, 227, -1, sizeof(::CSOItemRecipe)}, - { 246, 254, -1, sizeof(::CMsgDevNewItemRequest)}, - { 256, 267, -1, sizeof(::CMsgIncrementKillCountAttribute)}, - { 272, 289, -1, sizeof(::CMsgApplySticker)}, - { 300, 309, -1, sizeof(::CMsgModifyItemAttribute)}, - { 312, 321, -1, sizeof(::CMsgApplyStatTrakSwap)}, - { 324, 332, -1, sizeof(::CMsgApplyStrangePart)}, - { 334, 342, -1, sizeof(::CMsgApplyPennantUpgrade)}, - { 344, 352, -1, sizeof(::CMsgApplyEggEssence)}, - { 354, 363, -1, sizeof(::CSOEconItemAttribute)}, - { 366, 374, -1, sizeof(::CSOEconItemEquipped)}, - { 376, 400, -1, sizeof(::CSOEconItem)}, - { 418, 425, -1, sizeof(::CMsgSortItems)}, - { 426, 436, -1, sizeof(::CSOEconClaimCode)}, - { 440, 448, -1, sizeof(::CMsgStoreGetUserData)}, - { 450, 461, -1, sizeof(::CMsgStoreGetUserDataResponse)}, - { 466, 475, -1, sizeof(::CMsgUpdateItemSchema)}, - { 478, 485, -1, sizeof(::CMsgGCError)}, - { 486, -1, -1, sizeof(::CMsgRequestInventoryRefresh)}, - { 492, 500, -1, sizeof(::CMsgConVarValue)}, - { 502, -1, -1, sizeof(::CMsgReplicateConVars)}, - { 509, 520, -1, sizeof(::CMsgUseItem)}, - { 525, 534, -1, sizeof(::CMsgReplayUploadedToYouTube)}, - { 537, 544, -1, sizeof(::CMsgConsumableExhausted)}, - { 545, 558, -1, sizeof(::CMsgItemAcknowledged__DEPRECATED)}, - { 565, 574, -1, sizeof(::CMsgSetItemPositions_ItemPosition)}, - { 577, -1, -1, sizeof(::CMsgSetItemPositions)}, - { 584, 597, -1, sizeof(::CMsgGCReportAbuse)}, - { 604, 613, -1, sizeof(::CMsgGCReportAbuseResponse)}, - { 616, 625, -1, sizeof(::CMsgGCNameItemNotification)}, - { 628, 638, -1, sizeof(::CMsgGCClientDisplayNotification)}, - { 642, 649, -1, sizeof(::CMsgGCShowItemsPickedUp)}, - { 650, 660, -1, sizeof(::CMsgGCIncrementKillCountResponse)}, - { 664, 676, -1, sizeof(::CSOEconItemDropRateBonus)}, - { 682, 692, -1, sizeof(::CSOEconItemLeagueViewPass)}, - { 696, 705, -1, sizeof(::CSOEconItemEventTicket)}, - { 708, 715, -1, sizeof(::CMsgGCItemPreviewItemBoughtNotification)}, - { 716, 723, -1, sizeof(::CMsgGCStorePurchaseCancel)}, - { 724, 731, -1, sizeof(::CMsgGCStorePurchaseCancelResponse)}, - { 732, 739, -1, sizeof(::CMsgGCStorePurchaseFinalize)}, - { 740, 748, -1, sizeof(::CMsgGCStorePurchaseFinalizeResponse)}, - { 750, 758, -1, sizeof(::CMsgGCBannedWordListRequest)}, - { 760, -1, -1, sizeof(::CMsgGCRequestAnnouncements)}, - { 766, 776, -1, sizeof(::CMsgGCRequestAnnouncementsResponse)}, - { 780, 789, -1, sizeof(::CMsgGCBannedWord)}, - { 792, 800, -1, sizeof(::CMsgGCBannedWordListResponse)}, - { 802, 809, -1, sizeof(::CMsgGCToGCBannedWordListBroadcast)}, - { 810, 817, -1, sizeof(::CMsgGCToGCBannedWordListUpdated)}, - { 818, 826, -1, sizeof(::CMsgGCToGCDirtySDOCache)}, - { 828, 836, -1, sizeof(::CMsgGCToGCDirtyMultipleSDOCache)}, - { 838, 846, -1, sizeof(::CMsgGCCollectItem)}, - { 848, -1, -1, sizeof(::CMsgSDONoMemcached)}, - { 854, 861, -1, sizeof(::CMsgGCToGCUpdateSQLKeyValue)}, - { 862, 869, -1, sizeof(::CMsgGCToGCIsTrustedServer)}, - { 870, 877, -1, sizeof(::CMsgGCToGCIsTrustedServerResponse)}, - { 878, 885, -1, sizeof(::CMsgGCToGCBroadcastConsoleCommand)}, - { 886, 893, -1, sizeof(::CMsgGCServerVersionUpdated)}, - { 894, 901, -1, sizeof(::CMsgGCClientVersionUpdated)}, - { 902, -1, -1, sizeof(::CMsgGCToGCWebAPIAccountChanged)}, - { 908, 917, -1, sizeof(::CMsgGCToGCRequestPassportItemGrant)}, - { 920, 944, -1, sizeof(::CMsgGameServerInfo)}, - { 962, 973, -1, sizeof(::CSOEconEquipSlot)}, - { 978, 987, -1, sizeof(::CMsgAdjustEquipSlot)}, - { 990, 998, -1, sizeof(::CMsgAdjustEquipSlots)}, - { 1000, 1010, -1, sizeof(::CMsgOpenCrate)}, - { 1014, 1025, -1, sizeof(::CSOEconRentalHistory)}, - { 1030, 1037, -1, sizeof(::CMsgAcknowledgeRentalExpiration)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CGCStorePurchaseInit_LineItem_default_instance_._instance, - &::_CMsgGCStorePurchaseInit_default_instance_._instance, - &::_CMsgGCStorePurchaseInitResponse_default_instance_._instance, - &::_CSOPartyInvite_default_instance_._instance, - &::_CSOLobbyInvite_default_instance_._instance, - &::_CMsgSystemBroadcast_default_instance_._instance, - &::_CMsgInviteToParty_default_instance_._instance, - &::_CMsgInvitationCreated_default_instance_._instance, - &::_CMsgPartyInviteResponse_default_instance_._instance, - &::_CMsgKickFromParty_default_instance_._instance, - &::_CMsgLeaveParty_default_instance_._instance, - &::_CMsgServerAvailable_default_instance_._instance, - &::_CMsgLANServerAvailable_default_instance_._instance, - &::_CSOEconGameAccountClient_default_instance_._instance, - &::_CSOItemCriteriaCondition_default_instance_._instance, - &::_CSOItemCriteria_default_instance_._instance, - &::_CSOItemRecipe_default_instance_._instance, - &::_CMsgDevNewItemRequest_default_instance_._instance, - &::_CMsgIncrementKillCountAttribute_default_instance_._instance, - &::_CMsgApplySticker_default_instance_._instance, - &::_CMsgModifyItemAttribute_default_instance_._instance, - &::_CMsgApplyStatTrakSwap_default_instance_._instance, - &::_CMsgApplyStrangePart_default_instance_._instance, - &::_CMsgApplyPennantUpgrade_default_instance_._instance, - &::_CMsgApplyEggEssence_default_instance_._instance, - &::_CSOEconItemAttribute_default_instance_._instance, - &::_CSOEconItemEquipped_default_instance_._instance, - &::_CSOEconItem_default_instance_._instance, - &::_CMsgSortItems_default_instance_._instance, - &::_CSOEconClaimCode_default_instance_._instance, - &::_CMsgStoreGetUserData_default_instance_._instance, - &::_CMsgStoreGetUserDataResponse_default_instance_._instance, - &::_CMsgUpdateItemSchema_default_instance_._instance, - &::_CMsgGCError_default_instance_._instance, - &::_CMsgRequestInventoryRefresh_default_instance_._instance, - &::_CMsgConVarValue_default_instance_._instance, - &::_CMsgReplicateConVars_default_instance_._instance, - &::_CMsgUseItem_default_instance_._instance, - &::_CMsgReplayUploadedToYouTube_default_instance_._instance, - &::_CMsgConsumableExhausted_default_instance_._instance, - &::_CMsgItemAcknowledged__DEPRECATED_default_instance_._instance, - &::_CMsgSetItemPositions_ItemPosition_default_instance_._instance, - &::_CMsgSetItemPositions_default_instance_._instance, - &::_CMsgGCReportAbuse_default_instance_._instance, - &::_CMsgGCReportAbuseResponse_default_instance_._instance, - &::_CMsgGCNameItemNotification_default_instance_._instance, - &::_CMsgGCClientDisplayNotification_default_instance_._instance, - &::_CMsgGCShowItemsPickedUp_default_instance_._instance, - &::_CMsgGCIncrementKillCountResponse_default_instance_._instance, - &::_CSOEconItemDropRateBonus_default_instance_._instance, - &::_CSOEconItemLeagueViewPass_default_instance_._instance, - &::_CSOEconItemEventTicket_default_instance_._instance, - &::_CMsgGCItemPreviewItemBoughtNotification_default_instance_._instance, - &::_CMsgGCStorePurchaseCancel_default_instance_._instance, - &::_CMsgGCStorePurchaseCancelResponse_default_instance_._instance, - &::_CMsgGCStorePurchaseFinalize_default_instance_._instance, - &::_CMsgGCStorePurchaseFinalizeResponse_default_instance_._instance, - &::_CMsgGCBannedWordListRequest_default_instance_._instance, - &::_CMsgGCRequestAnnouncements_default_instance_._instance, - &::_CMsgGCRequestAnnouncementsResponse_default_instance_._instance, - &::_CMsgGCBannedWord_default_instance_._instance, - &::_CMsgGCBannedWordListResponse_default_instance_._instance, - &::_CMsgGCToGCBannedWordListBroadcast_default_instance_._instance, - &::_CMsgGCToGCBannedWordListUpdated_default_instance_._instance, - &::_CMsgGCToGCDirtySDOCache_default_instance_._instance, - &::_CMsgGCToGCDirtyMultipleSDOCache_default_instance_._instance, - &::_CMsgGCCollectItem_default_instance_._instance, - &::_CMsgSDONoMemcached_default_instance_._instance, - &::_CMsgGCToGCUpdateSQLKeyValue_default_instance_._instance, - &::_CMsgGCToGCIsTrustedServer_default_instance_._instance, - &::_CMsgGCToGCIsTrustedServerResponse_default_instance_._instance, - &::_CMsgGCToGCBroadcastConsoleCommand_default_instance_._instance, - &::_CMsgGCServerVersionUpdated_default_instance_._instance, - &::_CMsgGCClientVersionUpdated_default_instance_._instance, - &::_CMsgGCToGCWebAPIAccountChanged_default_instance_._instance, - &::_CMsgGCToGCRequestPassportItemGrant_default_instance_._instance, - &::_CMsgGameServerInfo_default_instance_._instance, - &::_CSOEconEquipSlot_default_instance_._instance, - &::_CMsgAdjustEquipSlot_default_instance_._instance, - &::_CMsgAdjustEquipSlots_default_instance_._instance, - &::_CMsgOpenCrate_default_instance_._instance, - &::_CSOEconRentalHistory_default_instance_._instance, - &::_CMsgAcknowledgeRentalExpiration_default_instance_._instance, -}; - -const char descriptor_table_protodef_base_5fgcmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\025base_gcmessages.proto\032\023steammessages.p" - "roto\"\230\001\n\035CGCStorePurchaseInit_LineItem\022\023" - "\n\013item_def_id\030\001 \001(\r\022\020\n\010quantity\030\002 \001(\r\022\036\n" - "\026cost_in_local_currency\030\003 \001(\r\022\025\n\rpurchas" - "e_type\030\004 \001(\r\022\031\n\021supplemental_data\030\005 \001(\004\"" - "\202\001\n\027CMsgGCStorePurchaseInit\022\017\n\007country\030\001" - " \001(\t\022\020\n\010language\030\002 \001(\005\022\020\n\010currency\030\003 \001(\005" - "\0222\n\nline_items\030\004 \003(\0132\036.CGCStorePurchaseI" - "nit_LineItem\"`\n\037CMsgGCStorePurchaseInitR" - "esponse\022\016\n\006result\030\001 \001(\005\022\016\n\006txn_id\030\002 \001(\004\022" - "\013\n\003url\030\003 \001(\t\022\020\n\010item_ids\030\004 \003(\004\"P\n\016CSOPar" - "tyInvite\022\026\n\010group_id\030\001 \001(\004B\004\200\246\035\001\022\021\n\tsend" - "er_id\030\002 \001(\006\022\023\n\013sender_name\030\003 \001(\t\"P\n\016CSOL" - "obbyInvite\022\026\n\010group_id\030\001 \001(\004B\004\200\246\035\001\022\021\n\tse" - "nder_id\030\002 \001(\006\022\023\n\013sender_name\030\003 \001(\t\"&\n\023CM" - "sgSystemBroadcast\022\017\n\007message\030\001 \001(\t\"R\n\021CM" - "sgInviteToParty\022\020\n\010steam_id\030\001 \001(\006\022\026\n\016cli" - "ent_version\030\002 \001(\r\022\023\n\013team_invite\030\003 \001(\r\";" - "\n\025CMsgInvitationCreated\022\020\n\010group_id\030\001 \001(" - "\004\022\020\n\010steam_id\030\002 \001(\006\"h\n\027CMsgPartyInviteRe" - "sponse\022\020\n\010party_id\030\001 \001(\004\022\016\n\006accept\030\002 \001(\010" - "\022\026\n\016client_version\030\003 \001(\r\022\023\n\013team_invite\030" - "\004 \001(\r\"%\n\021CMsgKickFromParty\022\020\n\010steam_id\030\001" - " \001(\006\"\020\n\016CMsgLeaveParty\"\025\n\023CMsgServerAvai" - "lable\"*\n\026CMsgLANServerAvailable\022\020\n\010lobby" - "_id\030\001 \001(\006\"\322\001\n\030CSOEconGameAccountClient\022$" - "\n\031additional_backpack_slots\030\001 \001(\r:\0010\022\034\n\024" - "trade_ban_expiration\030\006 \001(\007\022\"\n\032bonus_xp_t" - "imestamp_refresh\030\014 \001(\007\022\032\n\022bonus_xp_usedf" - "lags\030\r \001(\r\022\026\n\016elevated_state\030\016 \001(\r\022\032\n\022el" - "evated_timestamp\030\017 \001(\r\"r\n\030CSOItemCriteri" - "aCondition\022\n\n\002op\030\001 \001(\005\022\r\n\005field\030\002 \001(\t\022\020\n" - "\010required\030\003 \001(\010\022\023\n\013float_value\030\004 \001(\002\022\024\n\014" - "string_value\030\005 \001(\t\"\261\002\n\017CSOItemCriteria\022\022" - "\n\nitem_level\030\001 \001(\r\022\024\n\014item_quality\030\002 \001(\005" - "\022\026\n\016item_level_set\030\003 \001(\010\022\030\n\020item_quality" - "_set\030\004 \001(\010\022\031\n\021initial_inventory\030\005 \001(\r\022\030\n" - "\020initial_quantity\030\006 \001(\r\022\033\n\023ignore_enable" - "d_flag\030\010 \001(\010\022-\n\nconditions\030\t \003(\0132\031.CSOIt" - "emCriteriaCondition\022\023\n\013item_rarity\030\n \001(\005" - "\022\027\n\017item_rarity_set\030\013 \001(\010\022\023\n\013recent_only" - "\030\014 \001(\010\"\325\003\n\rCSOItemRecipe\022\021\n\tdef_index\030\001 " - "\001(\r\022\014\n\004name\030\002 \001(\t\022\013\n\003n_a\030\003 \001(\t\022\023\n\013desc_i" - "nputs\030\004 \001(\t\022\024\n\014desc_outputs\030\005 \001(\t\022\014\n\004di_" - "a\030\006 \001(\t\022\014\n\004di_b\030\007 \001(\t\022\014\n\004di_c\030\010 \001(\t\022\014\n\004d" - "o_a\030\t \001(\t\022\014\n\004do_b\030\n \001(\t\022\014\n\004do_c\030\013 \001(\t\022\037\n" - "\027requires_all_same_class\030\014 \001(\010\022\036\n\026requir" - "es_all_same_slot\030\r \001(\010\022\036\n\026class_usage_fo" - "r_output\030\016 \001(\005\022\035\n\025slot_usage_for_output\030" - "\017 \001(\005\022\026\n\016set_for_output\030\020 \001(\005\022.\n\024input_i" - "tems_criteria\030\024 \003(\0132\020.CSOItemCriteria\022/\n" - "\025output_items_criteria\030\025 \003(\0132\020.CSOItemCr" - "iteria\022\036\n\026input_item_dupe_counts\030\026 \003(\r\"M" - "\n\025CMsgDevNewItemRequest\022\020\n\010receiver\030\001 \001(" - "\006\022\"\n\010criteria\030\002 \001(\0132\020.CSOItemCriteria\"\214\001" - "\n\037CMsgIncrementKillCountAttribute\022\031\n\021kil" - "ler_account_id\030\001 \001(\007\022\031\n\021victim_account_i" - "d\030\002 \001(\007\022\017\n\007item_id\030\003 \001(\004\022\022\n\nevent_type\030\004" - " \001(\r\022\016\n\006amount\030\005 \001(\r\"\242\002\n\020CMsgApplySticke" - "r\022\027\n\017sticker_item_id\030\001 \001(\004\022\024\n\014item_item_" - "id\030\002 \001(\004\022\024\n\014sticker_slot\030\003 \001(\r\022\027\n\017baseit" - "em_defidx\030\004 \001(\r\022\024\n\014sticker_wear\030\005 \001(\002\022\030\n" - "\020sticker_rotation\030\006 \001(\002\022\025\n\rsticker_scale" - "\030\007 \001(\002\022\030\n\020sticker_offset_x\030\010 \001(\002\022\030\n\020stic" - "ker_offset_y\030\t \001(\002\022\030\n\020sticker_offset_z\030\n" - " \001(\002\022\033\n\023sticker_wear_target\030\013 \001(\002\"S\n\027CMs" - "gModifyItemAttribute\022\017\n\007item_id\030\001 \001(\004\022\023\n" - "\013attr_defidx\030\002 \001(\r\022\022\n\nattr_value\030\003 \001(\r\"]" - "\n\025CMsgApplyStatTrakSwap\022\024\n\014tool_item_id\030" - "\001 \001(\004\022\026\n\016item_1_item_id\030\002 \001(\004\022\026\n\016item_2_" - "item_id\030\003 \001(\004\"J\n\024CMsgApplyStrangePart\022\034\n" - "\024strange_part_item_id\030\001 \001(\004\022\024\n\014item_item" - "_id\030\002 \001(\004\"K\n\027CMsgApplyPennantUpgrade\022\027\n\017" - "upgrade_item_id\030\001 \001(\004\022\027\n\017pennant_item_id" - "\030\002 \001(\004\"C\n\023CMsgApplyEggEssence\022\027\n\017essence" - "_item_id\030\001 \001(\004\022\023\n\013egg_item_id\030\002 \001(\004\"M\n\024C" - "SOEconItemAttribute\022\021\n\tdef_index\030\001 \001(\r\022\r" - "\n\005value\030\002 \001(\r\022\023\n\013value_bytes\030\003 \001(\014\":\n\023CS" - "OEconItemEquipped\022\021\n\tnew_class\030\001 \001(\r\022\020\n\010" - "new_slot\030\002 \001(\r\"\237\003\n\013CSOEconItem\022\n\n\002id\030\001 \001" - "(\004\022\022\n\naccount_id\030\002 \001(\r\022\021\n\tinventory\030\003 \001(" - "\r\022\021\n\tdef_index\030\004 \001(\r\022\020\n\010quantity\030\005 \001(\r\022\r" - "\n\005level\030\006 \001(\r\022\017\n\007quality\030\007 \001(\r\022\020\n\005flags\030" - "\010 \001(\r:\0010\022\016\n\006origin\030\t \001(\r\022\023\n\013custom_name\030" - "\n \001(\t\022\023\n\013custom_desc\030\013 \001(\t\022(\n\tattribute\030" - "\014 \003(\0132\025.CSOEconItemAttribute\022#\n\rinterior" - "_item\030\r \001(\0132\014.CSOEconItem\022\025\n\006in_use\030\016 \001(" - "\010:\005false\022\020\n\005style\030\017 \001(\r:\0010\022\026\n\013original_i" - "d\030\020 \001(\004:\0010\022,\n\016equipped_state\030\022 \003(\0132\024.CSO" - "EconItemEquipped\022\016\n\006rarity\030\023 \001(\r\"\"\n\rCMsg" - "SortItems\022\021\n\tsort_type\030\001 \001(\r\"^\n\020CSOEconC" - "laimCode\022\022\n\naccount_id\030\001 \001(\r\022\021\n\tcode_typ" - "e\030\002 \001(\r\022\025\n\rtime_acquired\030\003 \001(\r\022\014\n\004code\030\004" - " \001(\t\"E\n\024CMsgStoreGetUserData\022\033\n\023price_sh" - "eet_version\030\001 \001(\007\022\020\n\010currency\030\002 \001(\005\"\231\001\n\034" - "CMsgStoreGetUserDataResponse\022\016\n\006result\030\001" - " \001(\005\022\033\n\023currency_deprecated\030\002 \001(\005\022\032\n\022cou" - "ntry_deprecated\030\003 \001(\t\022\033\n\023price_sheet_ver" - "sion\030\004 \001(\007\022\023\n\013price_sheet\030\010 \001(\014\"_\n\024CMsgU" - "pdateItemSchema\022\022\n\nitems_game\030\001 \001(\014\022\033\n\023i" - "tem_schema_version\030\002 \001(\007\022\026\n\016items_game_u" - "rl\030\004 \001(\t\"!\n\013CMsgGCError\022\022\n\nerror_text\030\001 " - "\001(\t\"\035\n\033CMsgRequestInventoryRefresh\".\n\017CM" - "sgConVarValue\022\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001" - "(\t\"9\n\024CMsgReplicateConVars\022!\n\007convars\030\001 " - "\003(\0132\020.CMsgConVarValue\"\216\001\n\013CMsgUseItem\022\017\n" - "\007item_id\030\001 \001(\004\022\027\n\017target_steam_id\030\002 \001(\006\022" - "\037\n\027gift__potential_targets\030\003 \003(\r\022\030\n\020duel" - "__class_lock\030\004 \001(\r\022\032\n\022initiator_steam_id" - "\030\005 \001(\006\"d\n\033CMsgReplayUploadedToYouTube\022\023\n" - "\013youtube_url\030\001 \001(\t\022\034\n\024youtube_account_na" - "me\030\002 \001(\t\022\022\n\nsession_id\030\003 \001(\004\".\n\027CMsgCons" - "umableExhausted\022\023\n\013item_def_id\030\001 \001(\005\"\236\001\n" - " CMsgItemAcknowledged__DEPRECATED\022\022\n\nacc" - "ount_id\030\001 \001(\r\022\021\n\tinventory\030\002 \001(\r\022\021\n\tdef_" - "index\030\003 \001(\r\022\017\n\007quality\030\004 \001(\r\022\016\n\006rarity\030\005" - " \001(\r\022\016\n\006origin\030\006 \001(\r\022\017\n\007item_id\030\007 \001(\004\"\235\001" - "\n\024CMsgSetItemPositions\022:\n\016item_positions" - "\030\001 \003(\0132\".CMsgSetItemPositions.ItemPositi" - "on\032I\n\014ItemPosition\022\026\n\016legacy_item_id\030\001 \001" - "(\r\022\020\n\010position\030\002 \001(\r\022\017\n\007item_id\030\003 \001(\004\"\270\001" - "\n\021CMsgGCReportAbuse\022\027\n\017target_steam_id\030\001" - " \001(\006\022\023\n\013description\030\004 \001(\t\022\013\n\003gid\030\005 \001(\004\022\022" - "\n\nabuse_type\030\002 \001(\r\022\024\n\014content_type\030\003 \001(\r" - "\022\035\n\025target_game_server_ip\030\006 \001(\007\022\037\n\027targe" - "t_game_server_port\030\007 \001(\r\"[\n\031CMsgGCReport" - "AbuseResponse\022\027\n\017target_steam_id\030\001 \001(\006\022\016" - "\n\006result\030\002 \001(\r\022\025\n\rerror_message\030\003 \001(\t\"f\n" - "\032CMsgGCNameItemNotification\022\026\n\016player_st" - "eamid\030\001 \001(\006\022\026\n\016item_def_index\030\002 \001(\r\022\030\n\020i" - "tem_name_custom\030\003 \001(\t\"\266\001\n\037CMsgGCClientDi" - "splayNotification\022+\n#notification_title_" - "localization_key\030\001 \001(\t\022*\n\"notification_b" - "ody_localization_key\030\002 \001(\t\022\033\n\023body_subst" - "ring_keys\030\003 \003(\t\022\035\n\025body_substring_values" - "\030\004 \003(\t\"1\n\027CMsgGCShowItemsPickedUp\022\026\n\016pla" - "yer_steamid\030\001 \001(\006\"|\n CMsgGCIncrementKill" - "CountResponse\022\037\n\021killer_account_id\030\001 \001(\r" - "B\004\200\246\035\001\022\021\n\tnum_kills\030\002 \001(\r\022\020\n\010item_def\030\003 " - "\001(\r\022\022\n\nlevel_type\030\004 \001(\r\"\217\001\n\030CSOEconItemD" - "ropRateBonus\022\022\n\naccount_id\030\001 \001(\r\022\027\n\017expi" - "ration_date\030\002 \001(\007\022\r\n\005bonus\030\003 \001(\002\022\023\n\013bonu" - "s_count\030\004 \001(\r\022\017\n\007item_id\030\005 \001(\004\022\021\n\tdef_in" - "dex\030\006 \001(\r\"p\n\031CSOEconItemLeagueViewPass\022\030" - "\n\naccount_id\030\001 \001(\rB\004\200\246\035\001\022\027\n\tleague_id\030\002 " - "\001(\rB\004\200\246\035\001\022\r\n\005admin\030\003 \001(\r\022\021\n\titemindex\030\004 " - "\001(\r\"O\n\026CSOEconItemEventTicket\022\022\n\naccount" - "_id\030\001 \001(\r\022\020\n\010event_id\030\002 \001(\r\022\017\n\007item_id\030\003" - " \001(\004\"A\n\'CMsgGCItemPreviewItemBoughtNotif" - "ication\022\026\n\016item_def_index\030\001 \001(\r\"+\n\031CMsgG" - "CStorePurchaseCancel\022\016\n\006txn_id\030\001 \001(\004\"3\n!" - "CMsgGCStorePurchaseCancelResponse\022\016\n\006res" - "ult\030\001 \001(\r\"-\n\033CMsgGCStorePurchaseFinalize" - "\022\016\n\006txn_id\030\001 \001(\004\"G\n#CMsgGCStorePurchaseF" - "inalizeResponse\022\016\n\006result\030\001 \001(\r\022\020\n\010item_" - "ids\030\002 \003(\004\"I\n\033CMsgGCBannedWordListRequest" - "\022\031\n\021ban_list_group_id\030\001 \001(\r\022\017\n\007word_id\030\002" - " \001(\r\"\034\n\032CMsgGCRequestAnnouncements\"\202\001\n\"C" - "MsgGCRequestAnnouncementsResponse\022\032\n\022ann" - "ouncement_title\030\001 \001(\t\022\024\n\014announcement\030\002 " - "\001(\t\022\027\n\017nextmatch_title\030\003 \001(\t\022\021\n\tnextmatc" - "h\030\004 \001(\t\"u\n\020CMsgGCBannedWord\022\017\n\007word_id\030\001" - " \001(\r\022B\n\tword_type\030\002 \001(\0162\022.GC_BannedWordT" - "ype:\033GC_BANNED_WORD_DISABLE_WORD\022\014\n\004word" - "\030\003 \001(\t\"_\n\034CMsgGCBannedWordListResponse\022\031" - "\n\021ban_list_group_id\030\001 \001(\r\022$\n\tword_list\030\002" - " \003(\0132\021.CMsgGCBannedWord\"U\n!CMsgGCToGCBan" - "nedWordListBroadcast\0220\n\tbroadcast\030\001 \001(\0132" - "\035.CMsgGCBannedWordListResponse\"3\n\037CMsgGC" - "ToGCBannedWordListUpdated\022\020\n\010group_id\030\001 " - "\001(\r\"\?\n\027CMsgGCToGCDirtySDOCache\022\020\n\010sdo_ty" - "pe\030\001 \001(\r\022\022\n\nkey_uint64\030\002 \001(\004\"G\n\037CMsgGCTo" - "GCDirtyMultipleSDOCache\022\020\n\010sdo_type\030\001 \001(" - "\r\022\022\n\nkey_uint64\030\002 \003(\004\"H\n\021CMsgGCCollectIt" - "em\022\032\n\022collection_item_id\030\001 \001(\004\022\027\n\017subjec" - "t_item_id\030\002 \001(\004\"\024\n\022CMsgSDONoMemcached\"/\n" - "\033CMsgGCToGCUpdateSQLKeyValue\022\020\n\010key_name" - "\030\001 \001(\t\"-\n\031CMsgGCToGCIsTrustedServer\022\020\n\010s" - "team_id\030\001 \001(\006\"7\n!CMsgGCToGCIsTrustedServ" - "erResponse\022\022\n\nis_trusted\030\001 \001(\010\"8\n!CMsgGC" - "ToGCBroadcastConsoleCommand\022\023\n\013con_comma" - "nd\030\001 \001(\t\"4\n\032CMsgGCServerVersionUpdated\022\026" - "\n\016server_version\030\001 \001(\r\"4\n\032CMsgGCClientVe" - "rsionUpdated\022\026\n\016client_version\030\001 \001(\r\" \n\036" - "CMsgGCToGCWebAPIAccountChanged\"^\n\"CMsgGC" - "ToGCRequestPassportItemGrant\022\020\n\010steam_id" - "\030\001 \001(\006\022\021\n\tleague_id\030\002 \001(\r\022\023\n\013reward_flag" - "\030\003 \001(\005\"\350\004\n\022CMsgGameServerInfo\022\035\n\025server_" - "public_ip_addr\030\001 \001(\007\022\036\n\026server_private_i" - "p_addr\030\002 \001(\007\022\023\n\013server_port\030\003 \001(\r\022\026\n\016ser" - "ver_tv_port\030\004 \001(\r\022\022\n\nserver_key\030\005 \001(\t\022\032\n" - "\022server_hibernation\030\006 \001(\010\022@\n\013server_type" - "\030\007 \001(\0162\036.CMsgGameServerInfo.ServerType:\013" - "UNSPECIFIED\022\025\n\rserver_region\030\010 \001(\r\022\026\n\016se" - "rver_loadavg\030\t \001(\002\022 \n\030server_tv_broadcas" - "t_time\030\n \001(\002\022\030\n\020server_game_time\030\013 \001(\002\022\'" - "\n\037server_relay_connected_steam_id\030\014 \001(\006\022" - "\027\n\017relay_slots_max\030\r \001(\r\022\030\n\020relays_conne" - "cted\030\016 \001(\005\022\037\n\027relay_clients_connected\030\017 " - "\001(\005\022$\n\034relayed_game_server_steam_id\030\020 \001(" - "\006\022\032\n\022parent_relay_count\030\021 \001(\r\022\026\n\016tv_secr" - "et_code\030\022 \001(\006\"2\n\nServerType\022\017\n\013UNSPECIFI" - "ED\020\000\022\010\n\004GAME\020\001\022\t\n\005PROXY\020\002\"\205\001\n\020CSOEconEqu" - "ipSlot\022\030\n\naccount_id\030\001 \001(\rB\004\200\246\035\001\022\026\n\010clas" - "s_id\030\002 \001(\rB\004\200\246\035\001\022\025\n\007slot_id\030\003 \001(\rB\004\200\246\035\001\022" - "\017\n\007item_id\030\004 \001(\004\022\027\n\017item_definition\030\005 \001(" - "\r\"I\n\023CMsgAdjustEquipSlot\022\020\n\010class_id\030\001 \001" - "(\r\022\017\n\007slot_id\030\002 \001(\r\022\017\n\007item_id\030\003 \001(\004\"O\n\024" - "CMsgAdjustEquipSlots\022#\n\005slots\030\001 \003(\0132\024.CM" - "sgAdjustEquipSlot\022\022\n\nchange_num\030\002 \001(\r\"l\n" - "\rCMsgOpenCrate\022\024\n\014tool_item_id\030\001 \001(\004\022\027\n\017" - "subject_item_id\030\002 \001(\004\022\022\n\nfor_rental\030\003 \001(" - "\010\022\030\n\020points_remaining\030\004 \001(\r\"\223\001\n\024CSOEconR" - "entalHistory\022\030\n\naccount_id\030\001 \001(\rB\004\200\246\035\001\022\033" - "\n\rcrate_item_id\030\002 \001(\004B\004\200\246\035\001\022\027\n\017crate_def" - "_index\030\003 \001(\r\022\022\n\nissue_date\030\004 \001(\r\022\027\n\017expi" - "ration_date\030\005 \001(\r\"8\n\037CMsgAcknowledgeRent" - "alExpiration\022\025\n\rcrate_item_id\030\001 \001(\004*\307\003\n\n" - "EGCBaseMsg\022\032\n\025k_EMsgGCSystemMessage\020\241\037\022\035" - "\n\030k_EMsgGCReplicateConVars\020\242\037\022\032\n\025k_EMsgG" - "CConVarUpdated\020\243\037\022\024\n\017k_EMsgGCInQueue\020\250\037\022" - "\032\n\025k_EMsgGCInviteToParty\020\225#\022\036\n\031k_EMsgGCI" - "nvitationCreated\020\226#\022 \n\033k_EMsgGCPartyInvi" - "teResponse\020\227#\022\032\n\025k_EMsgGCKickFromParty\020\230" - "#\022\027\n\022k_EMsgGCLeaveParty\020\231#\022\034\n\027k_EMsgGCSe" - "rverAvailable\020\232#\022\"\n\035k_EMsgGCClientConnec" - "tToServer\020\233#\022\033\n\026k_EMsgGCGameServerInfo\020\234" - "#\022\022\n\rk_EMsgGCError\020\235#\022%\n k_EMsgGCReplay_" - "UploadedToYouTube\020\236#\022\037\n\032k_EMsgGCLANServe" - "rAvailable\020\237#*Y\n\027EGCBaseProtoObjectTypes" - "\022\036\n\031k_EProtoObjectPartyInvite\020\351\007\022\036\n\031k_EP" - "rotoObjectLobbyInvite\020\352\007*T\n\021GC_BannedWor" - "dType\022\037\n\033GC_BANNED_WORD_DISABLE_WORD\020\000\022\036" - "\n\032GC_BANNED_WORD_ENABLE_WORD\020\001" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_base_5fgcmessages_2eproto_deps[1] = { - &::descriptor_table_steammessages_2eproto, -}; -static ::_pbi::once_flag descriptor_table_base_5fgcmessages_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_base_5fgcmessages_2eproto = { - false, false, 9350, descriptor_table_protodef_base_5fgcmessages_2eproto, - "base_gcmessages.proto", - &descriptor_table_base_5fgcmessages_2eproto_once, descriptor_table_base_5fgcmessages_2eproto_deps, 1, 83, - schemas, file_default_instances, TableStruct_base_5fgcmessages_2eproto::offsets, - file_level_metadata_base_5fgcmessages_2eproto, file_level_enum_descriptors_base_5fgcmessages_2eproto, - file_level_service_descriptors_base_5fgcmessages_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_base_5fgcmessages_2eproto_getter() { - return &descriptor_table_base_5fgcmessages_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_base_5fgcmessages_2eproto(&descriptor_table_base_5fgcmessages_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgGameServerInfo_ServerType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_base_5fgcmessages_2eproto); - return file_level_enum_descriptors_base_5fgcmessages_2eproto[0]; -} -bool CMsgGameServerInfo_ServerType_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr CMsgGameServerInfo_ServerType CMsgGameServerInfo::UNSPECIFIED; -constexpr CMsgGameServerInfo_ServerType CMsgGameServerInfo::GAME; -constexpr CMsgGameServerInfo_ServerType CMsgGameServerInfo::PROXY; -constexpr CMsgGameServerInfo_ServerType CMsgGameServerInfo::ServerType_MIN; -constexpr CMsgGameServerInfo_ServerType CMsgGameServerInfo::ServerType_MAX; -constexpr int CMsgGameServerInfo::ServerType_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCBaseMsg_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_base_5fgcmessages_2eproto); - return file_level_enum_descriptors_base_5fgcmessages_2eproto[1]; -} -bool EGCBaseMsg_IsValid(int value) { - switch (value) { - case 4001: - case 4002: - case 4003: - case 4008: - case 4501: - case 4502: - case 4503: - case 4504: - case 4505: - case 4506: - case 4507: - case 4508: - case 4509: - case 4510: - case 4511: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCBaseProtoObjectTypes_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_base_5fgcmessages_2eproto); - return file_level_enum_descriptors_base_5fgcmessages_2eproto[2]; -} -bool EGCBaseProtoObjectTypes_IsValid(int value) { - switch (value) { - case 1001: - case 1002: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GC_BannedWordType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_base_5fgcmessages_2eproto); - return file_level_enum_descriptors_base_5fgcmessages_2eproto[3]; -} -bool GC_BannedWordType_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CGCStorePurchaseInit_LineItem::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_item_def_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_quantity(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_cost_in_local_currency(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_purchase_type(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_supplemental_data(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CGCStorePurchaseInit_LineItem::CGCStorePurchaseInit_LineItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CGCStorePurchaseInit_LineItem) -} -CGCStorePurchaseInit_LineItem::CGCStorePurchaseInit_LineItem(const CGCStorePurchaseInit_LineItem& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CGCStorePurchaseInit_LineItem* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_def_id_){} - , decltype(_impl_.quantity_){} - , decltype(_impl_.cost_in_local_currency_){} - , decltype(_impl_.purchase_type_){} - , decltype(_impl_.supplemental_data_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.item_def_id_, &from._impl_.item_def_id_, - static_cast(reinterpret_cast(&_impl_.supplemental_data_) - - reinterpret_cast(&_impl_.item_def_id_)) + sizeof(_impl_.supplemental_data_)); - // @@protoc_insertion_point(copy_constructor:CGCStorePurchaseInit_LineItem) -} - -inline void CGCStorePurchaseInit_LineItem::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_def_id_){0u} - , decltype(_impl_.quantity_){0u} - , decltype(_impl_.cost_in_local_currency_){0u} - , decltype(_impl_.purchase_type_){0u} - , decltype(_impl_.supplemental_data_){uint64_t{0u}} - }; -} - -CGCStorePurchaseInit_LineItem::~CGCStorePurchaseInit_LineItem() { - // @@protoc_insertion_point(destructor:CGCStorePurchaseInit_LineItem) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CGCStorePurchaseInit_LineItem::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CGCStorePurchaseInit_LineItem::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CGCStorePurchaseInit_LineItem::Clear() { -// @@protoc_insertion_point(message_clear_start:CGCStorePurchaseInit_LineItem) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.item_def_id_, 0, static_cast( - reinterpret_cast(&_impl_.supplemental_data_) - - reinterpret_cast(&_impl_.item_def_id_)) + sizeof(_impl_.supplemental_data_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CGCStorePurchaseInit_LineItem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 item_def_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_item_def_id(&has_bits); - _impl_.item_def_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 quantity = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_quantity(&has_bits); - _impl_.quantity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 cost_in_local_currency = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_cost_in_local_currency(&has_bits); - _impl_.cost_in_local_currency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 purchase_type = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_purchase_type(&has_bits); - _impl_.purchase_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 supplemental_data = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_supplemental_data(&has_bits); - _impl_.supplemental_data_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CGCStorePurchaseInit_LineItem::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CGCStorePurchaseInit_LineItem) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 item_def_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_item_def_id(), target); - } - - // optional uint32 quantity = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_quantity(), target); - } - - // optional uint32 cost_in_local_currency = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_cost_in_local_currency(), target); - } - - // optional uint32 purchase_type = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_purchase_type(), target); - } - - // optional uint64 supplemental_data = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_supplemental_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CGCStorePurchaseInit_LineItem) - return target; -} - -size_t CGCStorePurchaseInit_LineItem::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CGCStorePurchaseInit_LineItem) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional uint32 item_def_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_def_id()); - } - - // optional uint32 quantity = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_quantity()); - } - - // optional uint32 cost_in_local_currency = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cost_in_local_currency()); - } - - // optional uint32 purchase_type = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_purchase_type()); - } - - // optional uint64 supplemental_data = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_supplemental_data()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGCStorePurchaseInit_LineItem::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CGCStorePurchaseInit_LineItem::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGCStorePurchaseInit_LineItem::GetClassData() const { return &_class_data_; } - - -void CGCStorePurchaseInit_LineItem::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CGCStorePurchaseInit_LineItem) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.item_def_id_ = from._impl_.item_def_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.quantity_ = from._impl_.quantity_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.cost_in_local_currency_ = from._impl_.cost_in_local_currency_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.purchase_type_ = from._impl_.purchase_type_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.supplemental_data_ = from._impl_.supplemental_data_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CGCStorePurchaseInit_LineItem::CopyFrom(const CGCStorePurchaseInit_LineItem& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CGCStorePurchaseInit_LineItem) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CGCStorePurchaseInit_LineItem::IsInitialized() const { - return true; -} - -void CGCStorePurchaseInit_LineItem::InternalSwap(CGCStorePurchaseInit_LineItem* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CGCStorePurchaseInit_LineItem, _impl_.supplemental_data_) - + sizeof(CGCStorePurchaseInit_LineItem::_impl_.supplemental_data_) - - PROTOBUF_FIELD_OFFSET(CGCStorePurchaseInit_LineItem, _impl_.item_def_id_)>( - reinterpret_cast(&_impl_.item_def_id_), - reinterpret_cast(&other->_impl_.item_def_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CGCStorePurchaseInit_LineItem::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[0]); -} - -// =================================================================== - -class CMsgGCStorePurchaseInit::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_country(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_language(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_currency(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgGCStorePurchaseInit::CMsgGCStorePurchaseInit(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCStorePurchaseInit) -} -CMsgGCStorePurchaseInit::CMsgGCStorePurchaseInit(const CMsgGCStorePurchaseInit& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCStorePurchaseInit* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.line_items_){from._impl_.line_items_} - , decltype(_impl_.country_){} - , decltype(_impl_.language_){} - , decltype(_impl_.currency_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.country_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.country_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_country()) { - _this->_impl_.country_.Set(from._internal_country(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.language_, &from._impl_.language_, - static_cast(reinterpret_cast(&_impl_.currency_) - - reinterpret_cast(&_impl_.language_)) + sizeof(_impl_.currency_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCStorePurchaseInit) -} - -inline void CMsgGCStorePurchaseInit::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.line_items_){arena} - , decltype(_impl_.country_){} - , decltype(_impl_.language_){0} - , decltype(_impl_.currency_){0} - }; - _impl_.country_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.country_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCStorePurchaseInit::~CMsgGCStorePurchaseInit() { - // @@protoc_insertion_point(destructor:CMsgGCStorePurchaseInit) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCStorePurchaseInit::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.line_items_.~RepeatedPtrField(); - _impl_.country_.Destroy(); -} - -void CMsgGCStorePurchaseInit::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCStorePurchaseInit::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCStorePurchaseInit) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.line_items_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.country_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.language_, 0, static_cast( - reinterpret_cast(&_impl_.currency_) - - reinterpret_cast(&_impl_.language_)) + sizeof(_impl_.currency_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCStorePurchaseInit::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string country = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_country(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCStorePurchaseInit.country"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 language = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_language(&has_bits); - _impl_.language_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 currency = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_currency(&has_bits); - _impl_.currency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CGCStorePurchaseInit_LineItem line_items = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_line_items(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCStorePurchaseInit::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCStorePurchaseInit) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string country = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_country().data(), static_cast(this->_internal_country().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCStorePurchaseInit.country"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_country(), target); - } - - // optional int32 language = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_language(), target); - } - - // optional int32 currency = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_currency(), target); - } - - // repeated .CGCStorePurchaseInit_LineItem line_items = 4; - for (unsigned i = 0, - n = static_cast(this->_internal_line_items_size()); i < n; i++) { - const auto& repfield = this->_internal_line_items(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCStorePurchaseInit) - return target; -} - -size_t CMsgGCStorePurchaseInit::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCStorePurchaseInit) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CGCStorePurchaseInit_LineItem line_items = 4; - total_size += 1UL * this->_internal_line_items_size(); - for (const auto& msg : this->_impl_.line_items_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string country = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_country()); - } - - // optional int32 language = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_language()); - } - - // optional int32 currency = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_currency()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCStorePurchaseInit::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCStorePurchaseInit::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCStorePurchaseInit::GetClassData() const { return &_class_data_; } - - -void CMsgGCStorePurchaseInit::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCStorePurchaseInit) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.line_items_.MergeFrom(from._impl_.line_items_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_country(from._internal_country()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.language_ = from._impl_.language_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.currency_ = from._impl_.currency_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCStorePurchaseInit::CopyFrom(const CMsgGCStorePurchaseInit& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCStorePurchaseInit) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCStorePurchaseInit::IsInitialized() const { - return true; -} - -void CMsgGCStorePurchaseInit::InternalSwap(CMsgGCStorePurchaseInit* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.line_items_.InternalSwap(&other->_impl_.line_items_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.country_, lhs_arena, - &other->_impl_.country_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCStorePurchaseInit, _impl_.currency_) - + sizeof(CMsgGCStorePurchaseInit::_impl_.currency_) - - PROTOBUF_FIELD_OFFSET(CMsgGCStorePurchaseInit, _impl_.language_)>( - reinterpret_cast(&_impl_.language_), - reinterpret_cast(&other->_impl_.language_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCStorePurchaseInit::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[1]); -} - -// =================================================================== - -class CMsgGCStorePurchaseInitResponse::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_result(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_txn_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_url(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCStorePurchaseInitResponse::CMsgGCStorePurchaseInitResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCStorePurchaseInitResponse) -} -CMsgGCStorePurchaseInitResponse::CMsgGCStorePurchaseInitResponse(const CMsgGCStorePurchaseInitResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCStorePurchaseInitResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_ids_){from._impl_.item_ids_} - , decltype(_impl_.url_){} - , decltype(_impl_.txn_id_){} - , decltype(_impl_.result_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_url()) { - _this->_impl_.url_.Set(from._internal_url(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.txn_id_, &from._impl_.txn_id_, - static_cast(reinterpret_cast(&_impl_.result_) - - reinterpret_cast(&_impl_.txn_id_)) + sizeof(_impl_.result_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCStorePurchaseInitResponse) -} - -inline void CMsgGCStorePurchaseInitResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_ids_){arena} - , decltype(_impl_.url_){} - , decltype(_impl_.txn_id_){uint64_t{0u}} - , decltype(_impl_.result_){0} - }; - _impl_.url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCStorePurchaseInitResponse::~CMsgGCStorePurchaseInitResponse() { - // @@protoc_insertion_point(destructor:CMsgGCStorePurchaseInitResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCStorePurchaseInitResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.item_ids_.~RepeatedField(); - _impl_.url_.Destroy(); -} - -void CMsgGCStorePurchaseInitResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCStorePurchaseInitResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCStorePurchaseInitResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.item_ids_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.url_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.txn_id_, 0, static_cast( - reinterpret_cast(&_impl_.result_) - - reinterpret_cast(&_impl_.txn_id_)) + sizeof(_impl_.result_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCStorePurchaseInitResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 result = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_result(&has_bits); - _impl_.result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 txn_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_txn_id(&has_bits); - _impl_.txn_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string url = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_url(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCStorePurchaseInitResponse.url"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated uint64 item_ids = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_item_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<32>(ptr)); - } else if (static_cast(tag) == 34) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_item_ids(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCStorePurchaseInitResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCStorePurchaseInitResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 result = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_result(), target); - } - - // optional uint64 txn_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_txn_id(), target); - } - - // optional string url = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_url().data(), static_cast(this->_internal_url().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCStorePurchaseInitResponse.url"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_url(), target); - } - - // repeated uint64 item_ids = 4; - for (int i = 0, n = this->_internal_item_ids_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_item_ids(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCStorePurchaseInitResponse) - return target; -} - -size_t CMsgGCStorePurchaseInitResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCStorePurchaseInitResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint64 item_ids = 4; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt64Size(this->_impl_.item_ids_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_item_ids_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string url = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_url()); - } - - // optional uint64 txn_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_txn_id()); - } - - // optional int32 result = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_result()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCStorePurchaseInitResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCStorePurchaseInitResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCStorePurchaseInitResponse::GetClassData() const { return &_class_data_; } - - -void CMsgGCStorePurchaseInitResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCStorePurchaseInitResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.item_ids_.MergeFrom(from._impl_.item_ids_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_url(from._internal_url()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.txn_id_ = from._impl_.txn_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.result_ = from._impl_.result_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCStorePurchaseInitResponse::CopyFrom(const CMsgGCStorePurchaseInitResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCStorePurchaseInitResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCStorePurchaseInitResponse::IsInitialized() const { - return true; -} - -void CMsgGCStorePurchaseInitResponse::InternalSwap(CMsgGCStorePurchaseInitResponse* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.item_ids_.InternalSwap(&other->_impl_.item_ids_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.url_, lhs_arena, - &other->_impl_.url_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCStorePurchaseInitResponse, _impl_.result_) - + sizeof(CMsgGCStorePurchaseInitResponse::_impl_.result_) - - PROTOBUF_FIELD_OFFSET(CMsgGCStorePurchaseInitResponse, _impl_.txn_id_)>( - reinterpret_cast(&_impl_.txn_id_), - reinterpret_cast(&other->_impl_.txn_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCStorePurchaseInitResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[2]); -} - -// =================================================================== - -class CSOPartyInvite::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_group_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_sender_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_sender_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSOPartyInvite::CSOPartyInvite(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOPartyInvite) -} -CSOPartyInvite::CSOPartyInvite(const CSOPartyInvite& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOPartyInvite* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sender_name_){} - , decltype(_impl_.group_id_){} - , decltype(_impl_.sender_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.sender_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sender_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_sender_name()) { - _this->_impl_.sender_name_.Set(from._internal_sender_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.group_id_, &from._impl_.group_id_, - static_cast(reinterpret_cast(&_impl_.sender_id_) - - reinterpret_cast(&_impl_.group_id_)) + sizeof(_impl_.sender_id_)); - // @@protoc_insertion_point(copy_constructor:CSOPartyInvite) -} - -inline void CSOPartyInvite::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sender_name_){} - , decltype(_impl_.group_id_){uint64_t{0u}} - , decltype(_impl_.sender_id_){uint64_t{0u}} - }; - _impl_.sender_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sender_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSOPartyInvite::~CSOPartyInvite() { - // @@protoc_insertion_point(destructor:CSOPartyInvite) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOPartyInvite::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.sender_name_.Destroy(); -} - -void CSOPartyInvite::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOPartyInvite::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOPartyInvite) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.sender_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.group_id_, 0, static_cast( - reinterpret_cast(&_impl_.sender_id_) - - reinterpret_cast(&_impl_.group_id_)) + sizeof(_impl_.sender_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOPartyInvite::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 group_id = 1 [(.key_field) = true]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_group_id(&has_bits); - _impl_.group_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 sender_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_sender_id(&has_bits); - _impl_.sender_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional string sender_name = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_sender_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSOPartyInvite.sender_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOPartyInvite::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOPartyInvite) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 group_id = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_group_id(), target); - } - - // optional fixed64 sender_id = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_sender_id(), target); - } - - // optional string sender_name = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_sender_name().data(), static_cast(this->_internal_sender_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSOPartyInvite.sender_name"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_sender_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOPartyInvite) - return target; -} - -size_t CSOPartyInvite::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOPartyInvite) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string sender_name = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_sender_name()); - } - - // optional uint64 group_id = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_group_id()); - } - - // optional fixed64 sender_id = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOPartyInvite::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOPartyInvite::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOPartyInvite::GetClassData() const { return &_class_data_; } - - -void CSOPartyInvite::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOPartyInvite) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_sender_name(from._internal_sender_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.group_id_ = from._impl_.group_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.sender_id_ = from._impl_.sender_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOPartyInvite::CopyFrom(const CSOPartyInvite& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOPartyInvite) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOPartyInvite::IsInitialized() const { - return true; -} - -void CSOPartyInvite::InternalSwap(CSOPartyInvite* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.sender_name_, lhs_arena, - &other->_impl_.sender_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOPartyInvite, _impl_.sender_id_) - + sizeof(CSOPartyInvite::_impl_.sender_id_) - - PROTOBUF_FIELD_OFFSET(CSOPartyInvite, _impl_.group_id_)>( - reinterpret_cast(&_impl_.group_id_), - reinterpret_cast(&other->_impl_.group_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOPartyInvite::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[3]); -} - -// =================================================================== - -class CSOLobbyInvite::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_group_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_sender_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_sender_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSOLobbyInvite::CSOLobbyInvite(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOLobbyInvite) -} -CSOLobbyInvite::CSOLobbyInvite(const CSOLobbyInvite& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOLobbyInvite* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sender_name_){} - , decltype(_impl_.group_id_){} - , decltype(_impl_.sender_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.sender_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sender_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_sender_name()) { - _this->_impl_.sender_name_.Set(from._internal_sender_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.group_id_, &from._impl_.group_id_, - static_cast(reinterpret_cast(&_impl_.sender_id_) - - reinterpret_cast(&_impl_.group_id_)) + sizeof(_impl_.sender_id_)); - // @@protoc_insertion_point(copy_constructor:CSOLobbyInvite) -} - -inline void CSOLobbyInvite::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sender_name_){} - , decltype(_impl_.group_id_){uint64_t{0u}} - , decltype(_impl_.sender_id_){uint64_t{0u}} - }; - _impl_.sender_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sender_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSOLobbyInvite::~CSOLobbyInvite() { - // @@protoc_insertion_point(destructor:CSOLobbyInvite) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOLobbyInvite::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.sender_name_.Destroy(); -} - -void CSOLobbyInvite::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOLobbyInvite::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOLobbyInvite) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.sender_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.group_id_, 0, static_cast( - reinterpret_cast(&_impl_.sender_id_) - - reinterpret_cast(&_impl_.group_id_)) + sizeof(_impl_.sender_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOLobbyInvite::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 group_id = 1 [(.key_field) = true]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_group_id(&has_bits); - _impl_.group_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 sender_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_sender_id(&has_bits); - _impl_.sender_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional string sender_name = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_sender_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSOLobbyInvite.sender_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOLobbyInvite::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOLobbyInvite) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 group_id = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_group_id(), target); - } - - // optional fixed64 sender_id = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_sender_id(), target); - } - - // optional string sender_name = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_sender_name().data(), static_cast(this->_internal_sender_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSOLobbyInvite.sender_name"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_sender_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOLobbyInvite) - return target; -} - -size_t CSOLobbyInvite::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOLobbyInvite) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string sender_name = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_sender_name()); - } - - // optional uint64 group_id = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_group_id()); - } - - // optional fixed64 sender_id = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOLobbyInvite::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOLobbyInvite::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOLobbyInvite::GetClassData() const { return &_class_data_; } - - -void CSOLobbyInvite::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOLobbyInvite) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_sender_name(from._internal_sender_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.group_id_ = from._impl_.group_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.sender_id_ = from._impl_.sender_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOLobbyInvite::CopyFrom(const CSOLobbyInvite& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOLobbyInvite) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOLobbyInvite::IsInitialized() const { - return true; -} - -void CSOLobbyInvite::InternalSwap(CSOLobbyInvite* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.sender_name_, lhs_arena, - &other->_impl_.sender_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOLobbyInvite, _impl_.sender_id_) - + sizeof(CSOLobbyInvite::_impl_.sender_id_) - - PROTOBUF_FIELD_OFFSET(CSOLobbyInvite, _impl_.group_id_)>( - reinterpret_cast(&_impl_.group_id_), - reinterpret_cast(&other->_impl_.group_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOLobbyInvite::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[4]); -} - -// =================================================================== - -class CMsgSystemBroadcast::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_message(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSystemBroadcast::CMsgSystemBroadcast(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSystemBroadcast) -} -CMsgSystemBroadcast::CMsgSystemBroadcast(const CMsgSystemBroadcast& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSystemBroadcast* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.message_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_message()) { - _this->_impl_.message_.Set(from._internal_message(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CMsgSystemBroadcast) -} - -inline void CMsgSystemBroadcast::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.message_){} - }; - _impl_.message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSystemBroadcast::~CMsgSystemBroadcast() { - // @@protoc_insertion_point(destructor:CMsgSystemBroadcast) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSystemBroadcast::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.message_.Destroy(); -} - -void CMsgSystemBroadcast::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSystemBroadcast::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSystemBroadcast) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.message_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSystemBroadcast::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string message = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_message(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSystemBroadcast.message"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSystemBroadcast::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSystemBroadcast) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string message = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_message().data(), static_cast(this->_internal_message().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSystemBroadcast.message"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_message(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSystemBroadcast) - return target; -} - -size_t CMsgSystemBroadcast::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSystemBroadcast) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string message = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_message()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSystemBroadcast::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSystemBroadcast::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSystemBroadcast::GetClassData() const { return &_class_data_; } - - -void CMsgSystemBroadcast::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSystemBroadcast) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_message()) { - _this->_internal_set_message(from._internal_message()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSystemBroadcast::CopyFrom(const CMsgSystemBroadcast& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSystemBroadcast) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSystemBroadcast::IsInitialized() const { - return true; -} - -void CMsgSystemBroadcast::InternalSwap(CMsgSystemBroadcast* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.message_, lhs_arena, - &other->_impl_.message_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSystemBroadcast::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[5]); -} - -// =================================================================== - -class CMsgInviteToParty::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_client_version(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_team_invite(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgInviteToParty::CMsgInviteToParty(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgInviteToParty) -} -CMsgInviteToParty::CMsgInviteToParty(const CMsgInviteToParty& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgInviteToParty* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steam_id_){} - , decltype(_impl_.client_version_){} - , decltype(_impl_.team_invite_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.steam_id_, &from._impl_.steam_id_, - static_cast(reinterpret_cast(&_impl_.team_invite_) - - reinterpret_cast(&_impl_.steam_id_)) + sizeof(_impl_.team_invite_)); - // @@protoc_insertion_point(copy_constructor:CMsgInviteToParty) -} - -inline void CMsgInviteToParty::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steam_id_){uint64_t{0u}} - , decltype(_impl_.client_version_){0u} - , decltype(_impl_.team_invite_){0u} - }; -} - -CMsgInviteToParty::~CMsgInviteToParty() { - // @@protoc_insertion_point(destructor:CMsgInviteToParty) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgInviteToParty::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgInviteToParty::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgInviteToParty::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgInviteToParty) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.steam_id_, 0, static_cast( - reinterpret_cast(&_impl_.team_invite_) - - reinterpret_cast(&_impl_.steam_id_)) + sizeof(_impl_.team_invite_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgInviteToParty::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 steam_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_steam_id(&has_bits); - _impl_.steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 client_version = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_client_version(&has_bits); - _impl_.client_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 team_invite = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_team_invite(&has_bits); - _impl_.team_invite_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgInviteToParty::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgInviteToParty) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 steam_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steam_id(), target); - } - - // optional uint32 client_version = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_client_version(), target); - } - - // optional uint32 team_invite = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_team_invite(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgInviteToParty) - return target; -} - -size_t CMsgInviteToParty::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgInviteToParty) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional fixed64 steam_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - // optional uint32 client_version = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_version()); - } - - // optional uint32 team_invite = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_team_invite()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgInviteToParty::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgInviteToParty::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgInviteToParty::GetClassData() const { return &_class_data_; } - - -void CMsgInviteToParty::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgInviteToParty) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.steam_id_ = from._impl_.steam_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.client_version_ = from._impl_.client_version_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.team_invite_ = from._impl_.team_invite_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgInviteToParty::CopyFrom(const CMsgInviteToParty& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgInviteToParty) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgInviteToParty::IsInitialized() const { - return true; -} - -void CMsgInviteToParty::InternalSwap(CMsgInviteToParty* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgInviteToParty, _impl_.team_invite_) - + sizeof(CMsgInviteToParty::_impl_.team_invite_) - - PROTOBUF_FIELD_OFFSET(CMsgInviteToParty, _impl_.steam_id_)>( - reinterpret_cast(&_impl_.steam_id_), - reinterpret_cast(&other->_impl_.steam_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgInviteToParty::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[6]); -} - -// =================================================================== - -class CMsgInvitationCreated::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_group_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgInvitationCreated::CMsgInvitationCreated(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgInvitationCreated) -} -CMsgInvitationCreated::CMsgInvitationCreated(const CMsgInvitationCreated& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgInvitationCreated* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.group_id_){} - , decltype(_impl_.steam_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.group_id_, &from._impl_.group_id_, - static_cast(reinterpret_cast(&_impl_.steam_id_) - - reinterpret_cast(&_impl_.group_id_)) + sizeof(_impl_.steam_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgInvitationCreated) -} - -inline void CMsgInvitationCreated::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.group_id_){uint64_t{0u}} - , decltype(_impl_.steam_id_){uint64_t{0u}} - }; -} - -CMsgInvitationCreated::~CMsgInvitationCreated() { - // @@protoc_insertion_point(destructor:CMsgInvitationCreated) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgInvitationCreated::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgInvitationCreated::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgInvitationCreated::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgInvitationCreated) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.group_id_, 0, static_cast( - reinterpret_cast(&_impl_.steam_id_) - - reinterpret_cast(&_impl_.group_id_)) + sizeof(_impl_.steam_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgInvitationCreated::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 group_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_group_id(&has_bits); - _impl_.group_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 steam_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_steam_id(&has_bits); - _impl_.steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgInvitationCreated::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgInvitationCreated) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 group_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_group_id(), target); - } - - // optional fixed64 steam_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_steam_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgInvitationCreated) - return target; -} - -size_t CMsgInvitationCreated::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgInvitationCreated) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 group_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_group_id()); - } - - // optional fixed64 steam_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgInvitationCreated::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgInvitationCreated::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgInvitationCreated::GetClassData() const { return &_class_data_; } - - -void CMsgInvitationCreated::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgInvitationCreated) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.group_id_ = from._impl_.group_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.steam_id_ = from._impl_.steam_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgInvitationCreated::CopyFrom(const CMsgInvitationCreated& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgInvitationCreated) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgInvitationCreated::IsInitialized() const { - return true; -} - -void CMsgInvitationCreated::InternalSwap(CMsgInvitationCreated* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgInvitationCreated, _impl_.steam_id_) - + sizeof(CMsgInvitationCreated::_impl_.steam_id_) - - PROTOBUF_FIELD_OFFSET(CMsgInvitationCreated, _impl_.group_id_)>( - reinterpret_cast(&_impl_.group_id_), - reinterpret_cast(&other->_impl_.group_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgInvitationCreated::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[7]); -} - -// =================================================================== - -class CMsgPartyInviteResponse::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_party_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_accept(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_client_version(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_team_invite(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgPartyInviteResponse::CMsgPartyInviteResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgPartyInviteResponse) -} -CMsgPartyInviteResponse::CMsgPartyInviteResponse(const CMsgPartyInviteResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgPartyInviteResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.party_id_){} - , decltype(_impl_.accept_){} - , decltype(_impl_.client_version_){} - , decltype(_impl_.team_invite_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.party_id_, &from._impl_.party_id_, - static_cast(reinterpret_cast(&_impl_.team_invite_) - - reinterpret_cast(&_impl_.party_id_)) + sizeof(_impl_.team_invite_)); - // @@protoc_insertion_point(copy_constructor:CMsgPartyInviteResponse) -} - -inline void CMsgPartyInviteResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.party_id_){uint64_t{0u}} - , decltype(_impl_.accept_){false} - , decltype(_impl_.client_version_){0u} - , decltype(_impl_.team_invite_){0u} - }; -} - -CMsgPartyInviteResponse::~CMsgPartyInviteResponse() { - // @@protoc_insertion_point(destructor:CMsgPartyInviteResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgPartyInviteResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgPartyInviteResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgPartyInviteResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgPartyInviteResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.party_id_, 0, static_cast( - reinterpret_cast(&_impl_.team_invite_) - - reinterpret_cast(&_impl_.party_id_)) + sizeof(_impl_.team_invite_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgPartyInviteResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 party_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_party_id(&has_bits); - _impl_.party_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool accept = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_accept(&has_bits); - _impl_.accept_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 client_version = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_client_version(&has_bits); - _impl_.client_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 team_invite = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_team_invite(&has_bits); - _impl_.team_invite_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgPartyInviteResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgPartyInviteResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 party_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_party_id(), target); - } - - // optional bool accept = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_accept(), target); - } - - // optional uint32 client_version = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_client_version(), target); - } - - // optional uint32 team_invite = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_team_invite(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgPartyInviteResponse) - return target; -} - -size_t CMsgPartyInviteResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgPartyInviteResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint64 party_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_party_id()); - } - - // optional bool accept = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - // optional uint32 client_version = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_version()); - } - - // optional uint32 team_invite = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_team_invite()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgPartyInviteResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgPartyInviteResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgPartyInviteResponse::GetClassData() const { return &_class_data_; } - - -void CMsgPartyInviteResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgPartyInviteResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.party_id_ = from._impl_.party_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.accept_ = from._impl_.accept_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.client_version_ = from._impl_.client_version_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.team_invite_ = from._impl_.team_invite_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgPartyInviteResponse::CopyFrom(const CMsgPartyInviteResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgPartyInviteResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgPartyInviteResponse::IsInitialized() const { - return true; -} - -void CMsgPartyInviteResponse::InternalSwap(CMsgPartyInviteResponse* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgPartyInviteResponse, _impl_.team_invite_) - + sizeof(CMsgPartyInviteResponse::_impl_.team_invite_) - - PROTOBUF_FIELD_OFFSET(CMsgPartyInviteResponse, _impl_.party_id_)>( - reinterpret_cast(&_impl_.party_id_), - reinterpret_cast(&other->_impl_.party_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgPartyInviteResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[8]); -} - -// =================================================================== - -class CMsgKickFromParty::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgKickFromParty::CMsgKickFromParty(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgKickFromParty) -} -CMsgKickFromParty::CMsgKickFromParty(const CMsgKickFromParty& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgKickFromParty* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steam_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.steam_id_ = from._impl_.steam_id_; - // @@protoc_insertion_point(copy_constructor:CMsgKickFromParty) -} - -inline void CMsgKickFromParty::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steam_id_){uint64_t{0u}} - }; -} - -CMsgKickFromParty::~CMsgKickFromParty() { - // @@protoc_insertion_point(destructor:CMsgKickFromParty) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgKickFromParty::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgKickFromParty::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgKickFromParty::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgKickFromParty) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.steam_id_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgKickFromParty::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 steam_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_steam_id(&has_bits); - _impl_.steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgKickFromParty::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgKickFromParty) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 steam_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steam_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgKickFromParty) - return target; -} - -size_t CMsgKickFromParty::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgKickFromParty) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional fixed64 steam_id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgKickFromParty::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgKickFromParty::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgKickFromParty::GetClassData() const { return &_class_data_; } - - -void CMsgKickFromParty::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgKickFromParty) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_steam_id()) { - _this->_internal_set_steam_id(from._internal_steam_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgKickFromParty::CopyFrom(const CMsgKickFromParty& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgKickFromParty) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgKickFromParty::IsInitialized() const { - return true; -} - -void CMsgKickFromParty::InternalSwap(CMsgKickFromParty* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.steam_id_, other->_impl_.steam_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgKickFromParty::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[9]); -} - -// =================================================================== - -class CMsgLeaveParty::_Internal { - public: -}; - -CMsgLeaveParty::CMsgLeaveParty(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CMsgLeaveParty) -} -CMsgLeaveParty::CMsgLeaveParty(const CMsgLeaveParty& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CMsgLeaveParty* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgLeaveParty) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgLeaveParty::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgLeaveParty::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgLeaveParty::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[10]); -} - -// =================================================================== - -class CMsgServerAvailable::_Internal { - public: -}; - -CMsgServerAvailable::CMsgServerAvailable(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CMsgServerAvailable) -} -CMsgServerAvailable::CMsgServerAvailable(const CMsgServerAvailable& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CMsgServerAvailable* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgServerAvailable) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgServerAvailable::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgServerAvailable::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerAvailable::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[11]); -} - -// =================================================================== - -class CMsgLANServerAvailable::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_lobby_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgLANServerAvailable::CMsgLANServerAvailable(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgLANServerAvailable) -} -CMsgLANServerAvailable::CMsgLANServerAvailable(const CMsgLANServerAvailable& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgLANServerAvailable* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.lobby_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.lobby_id_ = from._impl_.lobby_id_; - // @@protoc_insertion_point(copy_constructor:CMsgLANServerAvailable) -} - -inline void CMsgLANServerAvailable::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.lobby_id_){uint64_t{0u}} - }; -} - -CMsgLANServerAvailable::~CMsgLANServerAvailable() { - // @@protoc_insertion_point(destructor:CMsgLANServerAvailable) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgLANServerAvailable::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgLANServerAvailable::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgLANServerAvailable::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgLANServerAvailable) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.lobby_id_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgLANServerAvailable::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 lobby_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_lobby_id(&has_bits); - _impl_.lobby_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgLANServerAvailable::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgLANServerAvailable) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 lobby_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_lobby_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgLANServerAvailable) - return target; -} - -size_t CMsgLANServerAvailable::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgLANServerAvailable) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional fixed64 lobby_id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgLANServerAvailable::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgLANServerAvailable::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgLANServerAvailable::GetClassData() const { return &_class_data_; } - - -void CMsgLANServerAvailable::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgLANServerAvailable) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_lobby_id()) { - _this->_internal_set_lobby_id(from._internal_lobby_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgLANServerAvailable::CopyFrom(const CMsgLANServerAvailable& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgLANServerAvailable) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgLANServerAvailable::IsInitialized() const { - return true; -} - -void CMsgLANServerAvailable::InternalSwap(CMsgLANServerAvailable* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.lobby_id_, other->_impl_.lobby_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgLANServerAvailable::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[12]); -} - -// =================================================================== - -class CSOEconGameAccountClient::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_additional_backpack_slots(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_trade_ban_expiration(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_bonus_xp_timestamp_refresh(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_bonus_xp_usedflags(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_elevated_state(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_elevated_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } -}; - -CSOEconGameAccountClient::CSOEconGameAccountClient(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOEconGameAccountClient) -} -CSOEconGameAccountClient::CSOEconGameAccountClient(const CSOEconGameAccountClient& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOEconGameAccountClient* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.additional_backpack_slots_){} - , decltype(_impl_.trade_ban_expiration_){} - , decltype(_impl_.bonus_xp_timestamp_refresh_){} - , decltype(_impl_.bonus_xp_usedflags_){} - , decltype(_impl_.elevated_state_){} - , decltype(_impl_.elevated_timestamp_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.additional_backpack_slots_, &from._impl_.additional_backpack_slots_, - static_cast(reinterpret_cast(&_impl_.elevated_timestamp_) - - reinterpret_cast(&_impl_.additional_backpack_slots_)) + sizeof(_impl_.elevated_timestamp_)); - // @@protoc_insertion_point(copy_constructor:CSOEconGameAccountClient) -} - -inline void CSOEconGameAccountClient::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.additional_backpack_slots_){0u} - , decltype(_impl_.trade_ban_expiration_){0u} - , decltype(_impl_.bonus_xp_timestamp_refresh_){0u} - , decltype(_impl_.bonus_xp_usedflags_){0u} - , decltype(_impl_.elevated_state_){0u} - , decltype(_impl_.elevated_timestamp_){0u} - }; -} - -CSOEconGameAccountClient::~CSOEconGameAccountClient() { - // @@protoc_insertion_point(destructor:CSOEconGameAccountClient) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOEconGameAccountClient::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSOEconGameAccountClient::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOEconGameAccountClient::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOEconGameAccountClient) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - ::memset(&_impl_.additional_backpack_slots_, 0, static_cast( - reinterpret_cast(&_impl_.elevated_timestamp_) - - reinterpret_cast(&_impl_.additional_backpack_slots_)) + sizeof(_impl_.elevated_timestamp_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOEconGameAccountClient::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 additional_backpack_slots = 1 [default = 0]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_additional_backpack_slots(&has_bits); - _impl_.additional_backpack_slots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 trade_ban_expiration = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - _Internal::set_has_trade_ban_expiration(&has_bits); - _impl_.trade_ban_expiration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 bonus_xp_timestamp_refresh = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 101)) { - _Internal::set_has_bonus_xp_timestamp_refresh(&has_bits); - _impl_.bonus_xp_timestamp_refresh_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 bonus_xp_usedflags = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_bonus_xp_usedflags(&has_bits); - _impl_.bonus_xp_usedflags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 elevated_state = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_elevated_state(&has_bits); - _impl_.elevated_state_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 elevated_timestamp = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_elevated_timestamp(&has_bits); - _impl_.elevated_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOEconGameAccountClient::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOEconGameAccountClient) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 additional_backpack_slots = 1 [default = 0]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_additional_backpack_slots(), target); - } - - // optional fixed32 trade_ban_expiration = 6; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_trade_ban_expiration(), target); - } - - // optional fixed32 bonus_xp_timestamp_refresh = 12; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(12, this->_internal_bonus_xp_timestamp_refresh(), target); - } - - // optional uint32 bonus_xp_usedflags = 13; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_bonus_xp_usedflags(), target); - } - - // optional uint32 elevated_state = 14; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_elevated_state(), target); - } - - // optional uint32 elevated_timestamp = 15; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_elevated_timestamp(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOEconGameAccountClient) - return target; -} - -size_t CSOEconGameAccountClient::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOEconGameAccountClient) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional uint32 additional_backpack_slots = 1 [default = 0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_additional_backpack_slots()); - } - - // optional fixed32 trade_ban_expiration = 6; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional fixed32 bonus_xp_timestamp_refresh = 12; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional uint32 bonus_xp_usedflags = 13; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_bonus_xp_usedflags()); - } - - // optional uint32 elevated_state = 14; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_elevated_state()); - } - - // optional uint32 elevated_timestamp = 15; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_elevated_timestamp()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconGameAccountClient::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOEconGameAccountClient::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconGameAccountClient::GetClassData() const { return &_class_data_; } - - -void CSOEconGameAccountClient::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOEconGameAccountClient) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.additional_backpack_slots_ = from._impl_.additional_backpack_slots_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.trade_ban_expiration_ = from._impl_.trade_ban_expiration_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.bonus_xp_timestamp_refresh_ = from._impl_.bonus_xp_timestamp_refresh_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.bonus_xp_usedflags_ = from._impl_.bonus_xp_usedflags_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.elevated_state_ = from._impl_.elevated_state_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.elevated_timestamp_ = from._impl_.elevated_timestamp_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOEconGameAccountClient::CopyFrom(const CSOEconGameAccountClient& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconGameAccountClient) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOEconGameAccountClient::IsInitialized() const { - return true; -} - -void CSOEconGameAccountClient::InternalSwap(CSOEconGameAccountClient* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOEconGameAccountClient, _impl_.elevated_timestamp_) - + sizeof(CSOEconGameAccountClient::_impl_.elevated_timestamp_) - - PROTOBUF_FIELD_OFFSET(CSOEconGameAccountClient, _impl_.additional_backpack_slots_)>( - reinterpret_cast(&_impl_.additional_backpack_slots_), - reinterpret_cast(&other->_impl_.additional_backpack_slots_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOEconGameAccountClient::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[13]); -} - -// =================================================================== - -class CSOItemCriteriaCondition::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_op(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_field(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_required(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_float_value(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_string_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CSOItemCriteriaCondition::CSOItemCriteriaCondition(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOItemCriteriaCondition) -} -CSOItemCriteriaCondition::CSOItemCriteriaCondition(const CSOItemCriteriaCondition& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOItemCriteriaCondition* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.field_){} - , decltype(_impl_.string_value_){} - , decltype(_impl_.op_){} - , decltype(_impl_.required_){} - , decltype(_impl_.float_value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.field_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.field_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_field()) { - _this->_impl_.field_.Set(from._internal_field(), - _this->GetArenaForAllocation()); - } - _impl_.string_value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.string_value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_string_value()) { - _this->_impl_.string_value_.Set(from._internal_string_value(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.op_, &from._impl_.op_, - static_cast(reinterpret_cast(&_impl_.float_value_) - - reinterpret_cast(&_impl_.op_)) + sizeof(_impl_.float_value_)); - // @@protoc_insertion_point(copy_constructor:CSOItemCriteriaCondition) -} - -inline void CSOItemCriteriaCondition::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.field_){} - , decltype(_impl_.string_value_){} - , decltype(_impl_.op_){0} - , decltype(_impl_.required_){false} - , decltype(_impl_.float_value_){0} - }; - _impl_.field_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.field_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.string_value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.string_value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSOItemCriteriaCondition::~CSOItemCriteriaCondition() { - // @@protoc_insertion_point(destructor:CSOItemCriteriaCondition) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOItemCriteriaCondition::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.field_.Destroy(); - _impl_.string_value_.Destroy(); -} - -void CSOItemCriteriaCondition::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOItemCriteriaCondition::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOItemCriteriaCondition) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.field_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.string_value_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000001cu) { - ::memset(&_impl_.op_, 0, static_cast( - reinterpret_cast(&_impl_.float_value_) - - reinterpret_cast(&_impl_.op_)) + sizeof(_impl_.float_value_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOItemCriteriaCondition::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 op = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_op(&has_bits); - _impl_.op_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string field = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_field(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSOItemCriteriaCondition.field"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool required = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_required(&has_bits); - _impl_.required_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float float_value = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_float_value(&has_bits); - _impl_.float_value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional string string_value = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_string_value(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSOItemCriteriaCondition.string_value"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOItemCriteriaCondition::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOItemCriteriaCondition) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 op = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_op(), target); - } - - // optional string field = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_field().data(), static_cast(this->_internal_field().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSOItemCriteriaCondition.field"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_field(), target); - } - - // optional bool required = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_required(), target); - } - - // optional float float_value = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_float_value(), target); - } - - // optional string string_value = 5; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_string_value().data(), static_cast(this->_internal_string_value().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSOItemCriteriaCondition.string_value"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_string_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOItemCriteriaCondition) - return target; -} - -size_t CSOItemCriteriaCondition::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOItemCriteriaCondition) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional string field = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_field()); - } - - // optional string string_value = 5; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_string_value()); - } - - // optional int32 op = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_op()); - } - - // optional bool required = 3; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - // optional float float_value = 4; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOItemCriteriaCondition::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOItemCriteriaCondition::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOItemCriteriaCondition::GetClassData() const { return &_class_data_; } - - -void CSOItemCriteriaCondition::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOItemCriteriaCondition) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_field(from._internal_field()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_string_value(from._internal_string_value()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.op_ = from._impl_.op_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.required_ = from._impl_.required_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.float_value_ = from._impl_.float_value_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOItemCriteriaCondition::CopyFrom(const CSOItemCriteriaCondition& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOItemCriteriaCondition) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOItemCriteriaCondition::IsInitialized() const { - return true; -} - -void CSOItemCriteriaCondition::InternalSwap(CSOItemCriteriaCondition* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.field_, lhs_arena, - &other->_impl_.field_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.string_value_, lhs_arena, - &other->_impl_.string_value_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOItemCriteriaCondition, _impl_.float_value_) - + sizeof(CSOItemCriteriaCondition::_impl_.float_value_) - - PROTOBUF_FIELD_OFFSET(CSOItemCriteriaCondition, _impl_.op_)>( - reinterpret_cast(&_impl_.op_), - reinterpret_cast(&other->_impl_.op_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOItemCriteriaCondition::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[14]); -} - -// =================================================================== - -class CSOItemCriteria::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_item_level(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_item_quality(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_item_level_set(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_item_quality_set(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_initial_inventory(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_initial_quantity(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_ignore_enabled_flag(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_item_rarity(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_item_rarity_set(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_recent_only(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } -}; - -CSOItemCriteria::CSOItemCriteria(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOItemCriteria) -} -CSOItemCriteria::CSOItemCriteria(const CSOItemCriteria& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOItemCriteria* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.conditions_){from._impl_.conditions_} - , decltype(_impl_.item_level_){} - , decltype(_impl_.item_quality_){} - , decltype(_impl_.initial_inventory_){} - , decltype(_impl_.initial_quantity_){} - , decltype(_impl_.item_level_set_){} - , decltype(_impl_.item_quality_set_){} - , decltype(_impl_.ignore_enabled_flag_){} - , decltype(_impl_.item_rarity_set_){} - , decltype(_impl_.item_rarity_){} - , decltype(_impl_.recent_only_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.item_level_, &from._impl_.item_level_, - static_cast(reinterpret_cast(&_impl_.recent_only_) - - reinterpret_cast(&_impl_.item_level_)) + sizeof(_impl_.recent_only_)); - // @@protoc_insertion_point(copy_constructor:CSOItemCriteria) -} - -inline void CSOItemCriteria::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.conditions_){arena} - , decltype(_impl_.item_level_){0u} - , decltype(_impl_.item_quality_){0} - , decltype(_impl_.initial_inventory_){0u} - , decltype(_impl_.initial_quantity_){0u} - , decltype(_impl_.item_level_set_){false} - , decltype(_impl_.item_quality_set_){false} - , decltype(_impl_.ignore_enabled_flag_){false} - , decltype(_impl_.item_rarity_set_){false} - , decltype(_impl_.item_rarity_){0} - , decltype(_impl_.recent_only_){false} - }; -} - -CSOItemCriteria::~CSOItemCriteria() { - // @@protoc_insertion_point(destructor:CSOItemCriteria) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOItemCriteria::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.conditions_.~RepeatedPtrField(); -} - -void CSOItemCriteria::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOItemCriteria::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOItemCriteria) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.conditions_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.item_level_, 0, static_cast( - reinterpret_cast(&_impl_.item_rarity_set_) - - reinterpret_cast(&_impl_.item_level_)) + sizeof(_impl_.item_rarity_set_)); - } - if (cached_has_bits & 0x00000300u) { - ::memset(&_impl_.item_rarity_, 0, static_cast( - reinterpret_cast(&_impl_.recent_only_) - - reinterpret_cast(&_impl_.item_rarity_)) + sizeof(_impl_.recent_only_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOItemCriteria::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 item_level = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_item_level(&has_bits); - _impl_.item_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 item_quality = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_item_quality(&has_bits); - _impl_.item_quality_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool item_level_set = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_item_level_set(&has_bits); - _impl_.item_level_set_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool item_quality_set = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_item_quality_set(&has_bits); - _impl_.item_quality_set_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 initial_inventory = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_initial_inventory(&has_bits); - _impl_.initial_inventory_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 initial_quantity = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_initial_quantity(&has_bits); - _impl_.initial_quantity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool ignore_enabled_flag = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_ignore_enabled_flag(&has_bits); - _impl_.ignore_enabled_flag_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CSOItemCriteriaCondition conditions = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_conditions(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr)); - } else - goto handle_unusual; - continue; - // optional int32 item_rarity = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_item_rarity(&has_bits); - _impl_.item_rarity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool item_rarity_set = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_item_rarity_set(&has_bits); - _impl_.item_rarity_set_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool recent_only = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_recent_only(&has_bits); - _impl_.recent_only_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOItemCriteria::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOItemCriteria) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 item_level = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_item_level(), target); - } - - // optional int32 item_quality = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_item_quality(), target); - } - - // optional bool item_level_set = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_item_level_set(), target); - } - - // optional bool item_quality_set = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_item_quality_set(), target); - } - - // optional uint32 initial_inventory = 5; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_initial_inventory(), target); - } - - // optional uint32 initial_quantity = 6; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_initial_quantity(), target); - } - - // optional bool ignore_enabled_flag = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_ignore_enabled_flag(), target); - } - - // repeated .CSOItemCriteriaCondition conditions = 9; - for (unsigned i = 0, - n = static_cast(this->_internal_conditions_size()); i < n; i++) { - const auto& repfield = this->_internal_conditions(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(9, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional int32 item_rarity = 10; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_item_rarity(), target); - } - - // optional bool item_rarity_set = 11; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(11, this->_internal_item_rarity_set(), target); - } - - // optional bool recent_only = 12; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(12, this->_internal_recent_only(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOItemCriteria) - return target; -} - -size_t CSOItemCriteria::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOItemCriteria) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CSOItemCriteriaCondition conditions = 9; - total_size += 1UL * this->_internal_conditions_size(); - for (const auto& msg : this->_impl_.conditions_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional uint32 item_level = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_level()); - } - - // optional int32 item_quality = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_item_quality()); - } - - // optional uint32 initial_inventory = 5; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_initial_inventory()); - } - - // optional uint32 initial_quantity = 6; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_initial_quantity()); - } - - // optional bool item_level_set = 3; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 1; - } - - // optional bool item_quality_set = 4; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 1; - } - - // optional bool ignore_enabled_flag = 8; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 1; - } - - // optional bool item_rarity_set = 11; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 1; - } - - } - if (cached_has_bits & 0x00000300u) { - // optional int32 item_rarity = 10; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_item_rarity()); - } - - // optional bool recent_only = 12; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOItemCriteria::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOItemCriteria::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOItemCriteria::GetClassData() const { return &_class_data_; } - - -void CSOItemCriteria::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOItemCriteria) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.conditions_.MergeFrom(from._impl_.conditions_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.item_level_ = from._impl_.item_level_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.item_quality_ = from._impl_.item_quality_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.initial_inventory_ = from._impl_.initial_inventory_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.initial_quantity_ = from._impl_.initial_quantity_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.item_level_set_ = from._impl_.item_level_set_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.item_quality_set_ = from._impl_.item_quality_set_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.ignore_enabled_flag_ = from._impl_.ignore_enabled_flag_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.item_rarity_set_ = from._impl_.item_rarity_set_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000300u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.item_rarity_ = from._impl_.item_rarity_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.recent_only_ = from._impl_.recent_only_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOItemCriteria::CopyFrom(const CSOItemCriteria& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOItemCriteria) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOItemCriteria::IsInitialized() const { - return true; -} - -void CSOItemCriteria::InternalSwap(CSOItemCriteria* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.conditions_.InternalSwap(&other->_impl_.conditions_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOItemCriteria, _impl_.recent_only_) - + sizeof(CSOItemCriteria::_impl_.recent_only_) - - PROTOBUF_FIELD_OFFSET(CSOItemCriteria, _impl_.item_level_)>( - reinterpret_cast(&_impl_.item_level_), - reinterpret_cast(&other->_impl_.item_level_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOItemCriteria::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[15]); -} - -// =================================================================== - -class CSOItemRecipe::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_def_index(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_n_a(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_desc_inputs(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_desc_outputs(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_di_a(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_di_b(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_di_c(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_do_a(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_do_b(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_do_c(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_requires_all_same_class(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_requires_all_same_slot(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_class_usage_for_output(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_slot_usage_for_output(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_set_for_output(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } -}; - -CSOItemRecipe::CSOItemRecipe(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOItemRecipe) -} -CSOItemRecipe::CSOItemRecipe(const CSOItemRecipe& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOItemRecipe* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.input_items_criteria_){from._impl_.input_items_criteria_} - , decltype(_impl_.output_items_criteria_){from._impl_.output_items_criteria_} - , decltype(_impl_.input_item_dupe_counts_){from._impl_.input_item_dupe_counts_} - , decltype(_impl_.name_){} - , decltype(_impl_.n_a_){} - , decltype(_impl_.desc_inputs_){} - , decltype(_impl_.desc_outputs_){} - , decltype(_impl_.di_a_){} - , decltype(_impl_.di_b_){} - , decltype(_impl_.di_c_){} - , decltype(_impl_.do_a_){} - , decltype(_impl_.do_b_){} - , decltype(_impl_.do_c_){} - , decltype(_impl_.def_index_){} - , decltype(_impl_.requires_all_same_class_){} - , decltype(_impl_.requires_all_same_slot_){} - , decltype(_impl_.class_usage_for_output_){} - , decltype(_impl_.slot_usage_for_output_){} - , decltype(_impl_.set_for_output_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.n_a_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.n_a_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_n_a()) { - _this->_impl_.n_a_.Set(from._internal_n_a(), - _this->GetArenaForAllocation()); - } - _impl_.desc_inputs_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.desc_inputs_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_desc_inputs()) { - _this->_impl_.desc_inputs_.Set(from._internal_desc_inputs(), - _this->GetArenaForAllocation()); - } - _impl_.desc_outputs_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.desc_outputs_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_desc_outputs()) { - _this->_impl_.desc_outputs_.Set(from._internal_desc_outputs(), - _this->GetArenaForAllocation()); - } - _impl_.di_a_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.di_a_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_di_a()) { - _this->_impl_.di_a_.Set(from._internal_di_a(), - _this->GetArenaForAllocation()); - } - _impl_.di_b_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.di_b_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_di_b()) { - _this->_impl_.di_b_.Set(from._internal_di_b(), - _this->GetArenaForAllocation()); - } - _impl_.di_c_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.di_c_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_di_c()) { - _this->_impl_.di_c_.Set(from._internal_di_c(), - _this->GetArenaForAllocation()); - } - _impl_.do_a_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.do_a_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_do_a()) { - _this->_impl_.do_a_.Set(from._internal_do_a(), - _this->GetArenaForAllocation()); - } - _impl_.do_b_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.do_b_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_do_b()) { - _this->_impl_.do_b_.Set(from._internal_do_b(), - _this->GetArenaForAllocation()); - } - _impl_.do_c_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.do_c_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_do_c()) { - _this->_impl_.do_c_.Set(from._internal_do_c(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.def_index_, &from._impl_.def_index_, - static_cast(reinterpret_cast(&_impl_.set_for_output_) - - reinterpret_cast(&_impl_.def_index_)) + sizeof(_impl_.set_for_output_)); - // @@protoc_insertion_point(copy_constructor:CSOItemRecipe) -} - -inline void CSOItemRecipe::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.input_items_criteria_){arena} - , decltype(_impl_.output_items_criteria_){arena} - , decltype(_impl_.input_item_dupe_counts_){arena} - , decltype(_impl_.name_){} - , decltype(_impl_.n_a_){} - , decltype(_impl_.desc_inputs_){} - , decltype(_impl_.desc_outputs_){} - , decltype(_impl_.di_a_){} - , decltype(_impl_.di_b_){} - , decltype(_impl_.di_c_){} - , decltype(_impl_.do_a_){} - , decltype(_impl_.do_b_){} - , decltype(_impl_.do_c_){} - , decltype(_impl_.def_index_){0u} - , decltype(_impl_.requires_all_same_class_){false} - , decltype(_impl_.requires_all_same_slot_){false} - , decltype(_impl_.class_usage_for_output_){0} - , decltype(_impl_.slot_usage_for_output_){0} - , decltype(_impl_.set_for_output_){0} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.n_a_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.n_a_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.desc_inputs_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.desc_inputs_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.desc_outputs_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.desc_outputs_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.di_a_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.di_a_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.di_b_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.di_b_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.di_c_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.di_c_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.do_a_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.do_a_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.do_b_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.do_b_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.do_c_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.do_c_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSOItemRecipe::~CSOItemRecipe() { - // @@protoc_insertion_point(destructor:CSOItemRecipe) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOItemRecipe::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.input_items_criteria_.~RepeatedPtrField(); - _impl_.output_items_criteria_.~RepeatedPtrField(); - _impl_.input_item_dupe_counts_.~RepeatedField(); - _impl_.name_.Destroy(); - _impl_.n_a_.Destroy(); - _impl_.desc_inputs_.Destroy(); - _impl_.desc_outputs_.Destroy(); - _impl_.di_a_.Destroy(); - _impl_.di_b_.Destroy(); - _impl_.di_c_.Destroy(); - _impl_.do_a_.Destroy(); - _impl_.do_b_.Destroy(); - _impl_.do_c_.Destroy(); -} - -void CSOItemRecipe::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOItemRecipe::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOItemRecipe) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.input_items_criteria_.Clear(); - _impl_.output_items_criteria_.Clear(); - _impl_.input_item_dupe_counts_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.n_a_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.desc_inputs_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.desc_outputs_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000010u) { - _impl_.di_a_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000020u) { - _impl_.di_b_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000040u) { - _impl_.di_c_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000080u) { - _impl_.do_a_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x00000300u) { - if (cached_has_bits & 0x00000100u) { - _impl_.do_b_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000200u) { - _impl_.do_c_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000fc00u) { - ::memset(&_impl_.def_index_, 0, static_cast( - reinterpret_cast(&_impl_.set_for_output_) - - reinterpret_cast(&_impl_.def_index_)) + sizeof(_impl_.set_for_output_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOItemRecipe::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 def_index = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_def_index(&has_bits); - _impl_.def_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSOItemRecipe.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string n_a = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_n_a(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSOItemRecipe.n_a"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string desc_inputs = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_desc_inputs(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSOItemRecipe.desc_inputs"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string desc_outputs = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_desc_outputs(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSOItemRecipe.desc_outputs"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string di_a = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_di_a(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSOItemRecipe.di_a"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string di_b = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_di_b(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSOItemRecipe.di_b"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string di_c = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_di_c(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSOItemRecipe.di_c"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string do_a = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_do_a(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSOItemRecipe.do_a"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string do_b = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_do_b(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSOItemRecipe.do_b"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string do_c = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_do_c(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSOItemRecipe.do_c"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool requires_all_same_class = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_requires_all_same_class(&has_bits); - _impl_.requires_all_same_class_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool requires_all_same_slot = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_requires_all_same_slot(&has_bits); - _impl_.requires_all_same_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 class_usage_for_output = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_class_usage_for_output(&has_bits); - _impl_.class_usage_for_output_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 slot_usage_for_output = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_slot_usage_for_output(&has_bits); - _impl_.slot_usage_for_output_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 set_for_output = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_set_for_output(&has_bits); - _impl_.set_for_output_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CSOItemCriteria input_items_criteria = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(_internal_add_input_items_criteria(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<162>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CSOItemCriteria output_items_criteria = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 170)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(_internal_add_output_items_criteria(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<170>(ptr)); - } else - goto handle_unusual; - continue; - // repeated uint32 input_item_dupe_counts = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { - ptr -= 2; - do { - ptr += 2; - _internal_add_input_item_dupe_counts(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<176>(ptr)); - } else if (static_cast(tag) == 178) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_input_item_dupe_counts(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOItemRecipe::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOItemRecipe) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 def_index = 1; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_def_index(), target); - } - - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSOItemRecipe.name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_name(), target); - } - - // optional string n_a = 3; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_n_a().data(), static_cast(this->_internal_n_a().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSOItemRecipe.n_a"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_n_a(), target); - } - - // optional string desc_inputs = 4; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_desc_inputs().data(), static_cast(this->_internal_desc_inputs().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSOItemRecipe.desc_inputs"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_desc_inputs(), target); - } - - // optional string desc_outputs = 5; - if (cached_has_bits & 0x00000008u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_desc_outputs().data(), static_cast(this->_internal_desc_outputs().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSOItemRecipe.desc_outputs"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_desc_outputs(), target); - } - - // optional string di_a = 6; - if (cached_has_bits & 0x00000010u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_di_a().data(), static_cast(this->_internal_di_a().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSOItemRecipe.di_a"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_di_a(), target); - } - - // optional string di_b = 7; - if (cached_has_bits & 0x00000020u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_di_b().data(), static_cast(this->_internal_di_b().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSOItemRecipe.di_b"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_di_b(), target); - } - - // optional string di_c = 8; - if (cached_has_bits & 0x00000040u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_di_c().data(), static_cast(this->_internal_di_c().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSOItemRecipe.di_c"); - target = stream->WriteStringMaybeAliased( - 8, this->_internal_di_c(), target); - } - - // optional string do_a = 9; - if (cached_has_bits & 0x00000080u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_do_a().data(), static_cast(this->_internal_do_a().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSOItemRecipe.do_a"); - target = stream->WriteStringMaybeAliased( - 9, this->_internal_do_a(), target); - } - - // optional string do_b = 10; - if (cached_has_bits & 0x00000100u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_do_b().data(), static_cast(this->_internal_do_b().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSOItemRecipe.do_b"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_do_b(), target); - } - - // optional string do_c = 11; - if (cached_has_bits & 0x00000200u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_do_c().data(), static_cast(this->_internal_do_c().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSOItemRecipe.do_c"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_do_c(), target); - } - - // optional bool requires_all_same_class = 12; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(12, this->_internal_requires_all_same_class(), target); - } - - // optional bool requires_all_same_slot = 13; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(13, this->_internal_requires_all_same_slot(), target); - } - - // optional int32 class_usage_for_output = 14; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_class_usage_for_output(), target); - } - - // optional int32 slot_usage_for_output = 15; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(15, this->_internal_slot_usage_for_output(), target); - } - - // optional int32 set_for_output = 16; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(16, this->_internal_set_for_output(), target); - } - - // repeated .CSOItemCriteria input_items_criteria = 20; - for (unsigned i = 0, - n = static_cast(this->_internal_input_items_criteria_size()); i < n; i++) { - const auto& repfield = this->_internal_input_items_criteria(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(20, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CSOItemCriteria output_items_criteria = 21; - for (unsigned i = 0, - n = static_cast(this->_internal_output_items_criteria_size()); i < n; i++) { - const auto& repfield = this->_internal_output_items_criteria(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(21, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated uint32 input_item_dupe_counts = 22; - for (int i = 0, n = this->_internal_input_item_dupe_counts_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_input_item_dupe_counts(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOItemRecipe) - return target; -} - -size_t CSOItemRecipe::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOItemRecipe) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CSOItemCriteria input_items_criteria = 20; - total_size += 2UL * this->_internal_input_items_criteria_size(); - for (const auto& msg : this->_impl_.input_items_criteria_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CSOItemCriteria output_items_criteria = 21; - total_size += 2UL * this->_internal_output_items_criteria_size(); - for (const auto& msg : this->_impl_.output_items_criteria_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated uint32 input_item_dupe_counts = 22; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.input_item_dupe_counts_); - total_size += 2 * - ::_pbi::FromIntSize(this->_internal_input_item_dupe_counts_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional string n_a = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_n_a()); - } - - // optional string desc_inputs = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_desc_inputs()); - } - - // optional string desc_outputs = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_desc_outputs()); - } - - // optional string di_a = 6; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_di_a()); - } - - // optional string di_b = 7; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_di_b()); - } - - // optional string di_c = 8; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_di_c()); - } - - // optional string do_a = 9; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_do_a()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional string do_b = 10; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_do_b()); - } - - // optional string do_c = 11; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_do_c()); - } - - // optional uint32 def_index = 1; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_def_index()); - } - - // optional bool requires_all_same_class = 12; - if (cached_has_bits & 0x00000800u) { - total_size += 1 + 1; - } - - // optional bool requires_all_same_slot = 13; - if (cached_has_bits & 0x00001000u) { - total_size += 1 + 1; - } - - // optional int32 class_usage_for_output = 14; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_class_usage_for_output()); - } - - // optional int32 slot_usage_for_output = 15; - if (cached_has_bits & 0x00004000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_slot_usage_for_output()); - } - - // optional int32 set_for_output = 16; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + - ::_pbi::WireFormatLite::Int32Size( - this->_internal_set_for_output()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOItemRecipe::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOItemRecipe::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOItemRecipe::GetClassData() const { return &_class_data_; } - - -void CSOItemRecipe::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOItemRecipe) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.input_items_criteria_.MergeFrom(from._impl_.input_items_criteria_); - _this->_impl_.output_items_criteria_.MergeFrom(from._impl_.output_items_criteria_); - _this->_impl_.input_item_dupe_counts_.MergeFrom(from._impl_.input_item_dupe_counts_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_n_a(from._internal_n_a()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_desc_inputs(from._internal_desc_inputs()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_desc_outputs(from._internal_desc_outputs()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_set_di_a(from._internal_di_a()); - } - if (cached_has_bits & 0x00000020u) { - _this->_internal_set_di_b(from._internal_di_b()); - } - if (cached_has_bits & 0x00000040u) { - _this->_internal_set_di_c(from._internal_di_c()); - } - if (cached_has_bits & 0x00000080u) { - _this->_internal_set_do_a(from._internal_do_a()); - } - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_do_b(from._internal_do_b()); - } - if (cached_has_bits & 0x00000200u) { - _this->_internal_set_do_c(from._internal_do_c()); - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.def_index_ = from._impl_.def_index_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.requires_all_same_class_ = from._impl_.requires_all_same_class_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.requires_all_same_slot_ = from._impl_.requires_all_same_slot_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.class_usage_for_output_ = from._impl_.class_usage_for_output_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.slot_usage_for_output_ = from._impl_.slot_usage_for_output_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.set_for_output_ = from._impl_.set_for_output_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOItemRecipe::CopyFrom(const CSOItemRecipe& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOItemRecipe) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOItemRecipe::IsInitialized() const { - return true; -} - -void CSOItemRecipe::InternalSwap(CSOItemRecipe* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.input_items_criteria_.InternalSwap(&other->_impl_.input_items_criteria_); - _impl_.output_items_criteria_.InternalSwap(&other->_impl_.output_items_criteria_); - _impl_.input_item_dupe_counts_.InternalSwap(&other->_impl_.input_item_dupe_counts_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.n_a_, lhs_arena, - &other->_impl_.n_a_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.desc_inputs_, lhs_arena, - &other->_impl_.desc_inputs_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.desc_outputs_, lhs_arena, - &other->_impl_.desc_outputs_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.di_a_, lhs_arena, - &other->_impl_.di_a_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.di_b_, lhs_arena, - &other->_impl_.di_b_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.di_c_, lhs_arena, - &other->_impl_.di_c_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.do_a_, lhs_arena, - &other->_impl_.do_a_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.do_b_, lhs_arena, - &other->_impl_.do_b_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.do_c_, lhs_arena, - &other->_impl_.do_c_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOItemRecipe, _impl_.set_for_output_) - + sizeof(CSOItemRecipe::_impl_.set_for_output_) - - PROTOBUF_FIELD_OFFSET(CSOItemRecipe, _impl_.def_index_)>( - reinterpret_cast(&_impl_.def_index_), - reinterpret_cast(&other->_impl_.def_index_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOItemRecipe::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[16]); -} - -// =================================================================== - -class CMsgDevNewItemRequest::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_receiver(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CSOItemCriteria& criteria(const CMsgDevNewItemRequest* msg); - static void set_has_criteria(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CSOItemCriteria& -CMsgDevNewItemRequest::_Internal::criteria(const CMsgDevNewItemRequest* msg) { - return *msg->_impl_.criteria_; -} -CMsgDevNewItemRequest::CMsgDevNewItemRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgDevNewItemRequest) -} -CMsgDevNewItemRequest::CMsgDevNewItemRequest(const CMsgDevNewItemRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgDevNewItemRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.criteria_){nullptr} - , decltype(_impl_.receiver_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_criteria()) { - _this->_impl_.criteria_ = new ::CSOItemCriteria(*from._impl_.criteria_); - } - _this->_impl_.receiver_ = from._impl_.receiver_; - // @@protoc_insertion_point(copy_constructor:CMsgDevNewItemRequest) -} - -inline void CMsgDevNewItemRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.criteria_){nullptr} - , decltype(_impl_.receiver_){uint64_t{0u}} - }; -} - -CMsgDevNewItemRequest::~CMsgDevNewItemRequest() { - // @@protoc_insertion_point(destructor:CMsgDevNewItemRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgDevNewItemRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.criteria_; -} - -void CMsgDevNewItemRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgDevNewItemRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgDevNewItemRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.criteria_ != nullptr); - _impl_.criteria_->Clear(); - } - _impl_.receiver_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgDevNewItemRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 receiver = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_receiver(&has_bits); - _impl_.receiver_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional .CSOItemCriteria criteria = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_criteria(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgDevNewItemRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgDevNewItemRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 receiver = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_receiver(), target); - } - - // optional .CSOItemCriteria criteria = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::criteria(this), - _Internal::criteria(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgDevNewItemRequest) - return target; -} - -size_t CMsgDevNewItemRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgDevNewItemRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CSOItemCriteria criteria = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.criteria_); - } - - // optional fixed64 receiver = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgDevNewItemRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgDevNewItemRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgDevNewItemRequest::GetClassData() const { return &_class_data_; } - - -void CMsgDevNewItemRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgDevNewItemRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_criteria()->::CSOItemCriteria::MergeFrom( - from._internal_criteria()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.receiver_ = from._impl_.receiver_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgDevNewItemRequest::CopyFrom(const CMsgDevNewItemRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgDevNewItemRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgDevNewItemRequest::IsInitialized() const { - return true; -} - -void CMsgDevNewItemRequest::InternalSwap(CMsgDevNewItemRequest* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgDevNewItemRequest, _impl_.receiver_) - + sizeof(CMsgDevNewItemRequest::_impl_.receiver_) - - PROTOBUF_FIELD_OFFSET(CMsgDevNewItemRequest, _impl_.criteria_)>( - reinterpret_cast(&_impl_.criteria_), - reinterpret_cast(&other->_impl_.criteria_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgDevNewItemRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[17]); -} - -// =================================================================== - -class CMsgIncrementKillCountAttribute::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_killer_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_victim_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_event_type(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_amount(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CMsgIncrementKillCountAttribute::CMsgIncrementKillCountAttribute(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgIncrementKillCountAttribute) -} -CMsgIncrementKillCountAttribute::CMsgIncrementKillCountAttribute(const CMsgIncrementKillCountAttribute& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgIncrementKillCountAttribute* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.killer_account_id_){} - , decltype(_impl_.victim_account_id_){} - , decltype(_impl_.item_id_){} - , decltype(_impl_.event_type_){} - , decltype(_impl_.amount_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.killer_account_id_, &from._impl_.killer_account_id_, - static_cast(reinterpret_cast(&_impl_.amount_) - - reinterpret_cast(&_impl_.killer_account_id_)) + sizeof(_impl_.amount_)); - // @@protoc_insertion_point(copy_constructor:CMsgIncrementKillCountAttribute) -} - -inline void CMsgIncrementKillCountAttribute::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.killer_account_id_){0u} - , decltype(_impl_.victim_account_id_){0u} - , decltype(_impl_.item_id_){uint64_t{0u}} - , decltype(_impl_.event_type_){0u} - , decltype(_impl_.amount_){0u} - }; -} - -CMsgIncrementKillCountAttribute::~CMsgIncrementKillCountAttribute() { - // @@protoc_insertion_point(destructor:CMsgIncrementKillCountAttribute) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgIncrementKillCountAttribute::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgIncrementKillCountAttribute::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgIncrementKillCountAttribute::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgIncrementKillCountAttribute) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.killer_account_id_, 0, static_cast( - reinterpret_cast(&_impl_.amount_) - - reinterpret_cast(&_impl_.killer_account_id_)) + sizeof(_impl_.amount_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgIncrementKillCountAttribute::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 killer_account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_killer_account_id(&has_bits); - _impl_.killer_account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 victim_account_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_victim_account_id(&has_bits); - _impl_.victim_account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint64 item_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_item_id(&has_bits); - _impl_.item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 event_type = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_event_type(&has_bits); - _impl_.event_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 amount = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_amount(&has_bits); - _impl_.amount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgIncrementKillCountAttribute::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgIncrementKillCountAttribute) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 killer_account_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_killer_account_id(), target); - } - - // optional fixed32 victim_account_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_victim_account_id(), target); - } - - // optional uint64 item_id = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_item_id(), target); - } - - // optional uint32 event_type = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_event_type(), target); - } - - // optional uint32 amount = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_amount(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgIncrementKillCountAttribute) - return target; -} - -size_t CMsgIncrementKillCountAttribute::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgIncrementKillCountAttribute) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional fixed32 killer_account_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional fixed32 victim_account_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional uint64 item_id = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); - } - - // optional uint32 event_type = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_type()); - } - - // optional uint32 amount = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_amount()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgIncrementKillCountAttribute::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgIncrementKillCountAttribute::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgIncrementKillCountAttribute::GetClassData() const { return &_class_data_; } - - -void CMsgIncrementKillCountAttribute::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgIncrementKillCountAttribute) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.killer_account_id_ = from._impl_.killer_account_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.victim_account_id_ = from._impl_.victim_account_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.item_id_ = from._impl_.item_id_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.event_type_ = from._impl_.event_type_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.amount_ = from._impl_.amount_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgIncrementKillCountAttribute::CopyFrom(const CMsgIncrementKillCountAttribute& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgIncrementKillCountAttribute) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgIncrementKillCountAttribute::IsInitialized() const { - return true; -} - -void CMsgIncrementKillCountAttribute::InternalSwap(CMsgIncrementKillCountAttribute* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgIncrementKillCountAttribute, _impl_.amount_) - + sizeof(CMsgIncrementKillCountAttribute::_impl_.amount_) - - PROTOBUF_FIELD_OFFSET(CMsgIncrementKillCountAttribute, _impl_.killer_account_id_)>( - reinterpret_cast(&_impl_.killer_account_id_), - reinterpret_cast(&other->_impl_.killer_account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgIncrementKillCountAttribute::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[18]); -} - -// =================================================================== - -class CMsgApplySticker::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_sticker_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_item_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_sticker_slot(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_baseitem_defidx(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_sticker_wear(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_sticker_rotation(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_sticker_scale(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_sticker_offset_x(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_sticker_offset_y(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_sticker_offset_z(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_sticker_wear_target(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } -}; - -CMsgApplySticker::CMsgApplySticker(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgApplySticker) -} -CMsgApplySticker::CMsgApplySticker(const CMsgApplySticker& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgApplySticker* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sticker_item_id_){} - , decltype(_impl_.item_item_id_){} - , decltype(_impl_.sticker_slot_){} - , decltype(_impl_.baseitem_defidx_){} - , decltype(_impl_.sticker_wear_){} - , decltype(_impl_.sticker_rotation_){} - , decltype(_impl_.sticker_scale_){} - , decltype(_impl_.sticker_offset_x_){} - , decltype(_impl_.sticker_offset_y_){} - , decltype(_impl_.sticker_offset_z_){} - , decltype(_impl_.sticker_wear_target_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.sticker_item_id_, &from._impl_.sticker_item_id_, - static_cast(reinterpret_cast(&_impl_.sticker_wear_target_) - - reinterpret_cast(&_impl_.sticker_item_id_)) + sizeof(_impl_.sticker_wear_target_)); - // @@protoc_insertion_point(copy_constructor:CMsgApplySticker) -} - -inline void CMsgApplySticker::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sticker_item_id_){uint64_t{0u}} - , decltype(_impl_.item_item_id_){uint64_t{0u}} - , decltype(_impl_.sticker_slot_){0u} - , decltype(_impl_.baseitem_defidx_){0u} - , decltype(_impl_.sticker_wear_){0} - , decltype(_impl_.sticker_rotation_){0} - , decltype(_impl_.sticker_scale_){0} - , decltype(_impl_.sticker_offset_x_){0} - , decltype(_impl_.sticker_offset_y_){0} - , decltype(_impl_.sticker_offset_z_){0} - , decltype(_impl_.sticker_wear_target_){0} - }; -} - -CMsgApplySticker::~CMsgApplySticker() { - // @@protoc_insertion_point(destructor:CMsgApplySticker) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgApplySticker::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgApplySticker::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgApplySticker::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgApplySticker) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.sticker_item_id_, 0, static_cast( - reinterpret_cast(&_impl_.sticker_offset_x_) - - reinterpret_cast(&_impl_.sticker_item_id_)) + sizeof(_impl_.sticker_offset_x_)); - } - if (cached_has_bits & 0x00000700u) { - ::memset(&_impl_.sticker_offset_y_, 0, static_cast( - reinterpret_cast(&_impl_.sticker_wear_target_) - - reinterpret_cast(&_impl_.sticker_offset_y_)) + sizeof(_impl_.sticker_wear_target_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgApplySticker::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 sticker_item_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_sticker_item_id(&has_bits); - _impl_.sticker_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 item_item_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_item_item_id(&has_bits); - _impl_.item_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 sticker_slot = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_sticker_slot(&has_bits); - _impl_.sticker_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 baseitem_defidx = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_baseitem_defidx(&has_bits); - _impl_.baseitem_defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float sticker_wear = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_sticker_wear(&has_bits); - _impl_.sticker_wear_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float sticker_rotation = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - _Internal::set_has_sticker_rotation(&has_bits); - _impl_.sticker_rotation_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float sticker_scale = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_sticker_scale(&has_bits); - _impl_.sticker_scale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float sticker_offset_x = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { - _Internal::set_has_sticker_offset_x(&has_bits); - _impl_.sticker_offset_x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float sticker_offset_y = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_sticker_offset_y(&has_bits); - _impl_.sticker_offset_y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float sticker_offset_z = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { - _Internal::set_has_sticker_offset_z(&has_bits); - _impl_.sticker_offset_z_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float sticker_wear_target = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 93)) { - _Internal::set_has_sticker_wear_target(&has_bits); - _impl_.sticker_wear_target_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgApplySticker::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgApplySticker) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 sticker_item_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_sticker_item_id(), target); - } - - // optional uint64 item_item_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_item_item_id(), target); - } - - // optional uint32 sticker_slot = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_sticker_slot(), target); - } - - // optional uint32 baseitem_defidx = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_baseitem_defidx(), target); - } - - // optional float sticker_wear = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_sticker_wear(), target); - } - - // optional float sticker_rotation = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_sticker_rotation(), target); - } - - // optional float sticker_scale = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_sticker_scale(), target); - } - - // optional float sticker_offset_x = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_sticker_offset_x(), target); - } - - // optional float sticker_offset_y = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_sticker_offset_y(), target); - } - - // optional float sticker_offset_z = 10; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(10, this->_internal_sticker_offset_z(), target); - } - - // optional float sticker_wear_target = 11; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(11, this->_internal_sticker_wear_target(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgApplySticker) - return target; -} - -size_t CMsgApplySticker::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgApplySticker) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional uint64 sticker_item_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_sticker_item_id()); - } - - // optional uint64 item_item_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_item_id()); - } - - // optional uint32 sticker_slot = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sticker_slot()); - } - - // optional uint32 baseitem_defidx = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_baseitem_defidx()); - } - - // optional float sticker_wear = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional float sticker_rotation = 6; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional float sticker_scale = 7; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional float sticker_offset_x = 8; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - if (cached_has_bits & 0x00000700u) { - // optional float sticker_offset_y = 9; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 4; - } - - // optional float sticker_offset_z = 10; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 4; - } - - // optional float sticker_wear_target = 11; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgApplySticker::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgApplySticker::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgApplySticker::GetClassData() const { return &_class_data_; } - - -void CMsgApplySticker::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgApplySticker) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.sticker_item_id_ = from._impl_.sticker_item_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.item_item_id_ = from._impl_.item_item_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.sticker_slot_ = from._impl_.sticker_slot_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.baseitem_defidx_ = from._impl_.baseitem_defidx_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.sticker_wear_ = from._impl_.sticker_wear_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.sticker_rotation_ = from._impl_.sticker_rotation_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.sticker_scale_ = from._impl_.sticker_scale_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.sticker_offset_x_ = from._impl_.sticker_offset_x_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000700u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.sticker_offset_y_ = from._impl_.sticker_offset_y_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.sticker_offset_z_ = from._impl_.sticker_offset_z_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.sticker_wear_target_ = from._impl_.sticker_wear_target_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgApplySticker::CopyFrom(const CMsgApplySticker& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgApplySticker) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgApplySticker::IsInitialized() const { - return true; -} - -void CMsgApplySticker::InternalSwap(CMsgApplySticker* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgApplySticker, _impl_.sticker_wear_target_) - + sizeof(CMsgApplySticker::_impl_.sticker_wear_target_) - - PROTOBUF_FIELD_OFFSET(CMsgApplySticker, _impl_.sticker_item_id_)>( - reinterpret_cast(&_impl_.sticker_item_id_), - reinterpret_cast(&other->_impl_.sticker_item_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgApplySticker::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[19]); -} - -// =================================================================== - -class CMsgModifyItemAttribute::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_attr_defidx(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_attr_value(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgModifyItemAttribute::CMsgModifyItemAttribute(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgModifyItemAttribute) -} -CMsgModifyItemAttribute::CMsgModifyItemAttribute(const CMsgModifyItemAttribute& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgModifyItemAttribute* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_id_){} - , decltype(_impl_.attr_defidx_){} - , decltype(_impl_.attr_value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.item_id_, &from._impl_.item_id_, - static_cast(reinterpret_cast(&_impl_.attr_value_) - - reinterpret_cast(&_impl_.item_id_)) + sizeof(_impl_.attr_value_)); - // @@protoc_insertion_point(copy_constructor:CMsgModifyItemAttribute) -} - -inline void CMsgModifyItemAttribute::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_id_){uint64_t{0u}} - , decltype(_impl_.attr_defidx_){0u} - , decltype(_impl_.attr_value_){0u} - }; -} - -CMsgModifyItemAttribute::~CMsgModifyItemAttribute() { - // @@protoc_insertion_point(destructor:CMsgModifyItemAttribute) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgModifyItemAttribute::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgModifyItemAttribute::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgModifyItemAttribute::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgModifyItemAttribute) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.item_id_, 0, static_cast( - reinterpret_cast(&_impl_.attr_value_) - - reinterpret_cast(&_impl_.item_id_)) + sizeof(_impl_.attr_value_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgModifyItemAttribute::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 item_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_item_id(&has_bits); - _impl_.item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 attr_defidx = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_attr_defidx(&has_bits); - _impl_.attr_defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 attr_value = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_attr_value(&has_bits); - _impl_.attr_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgModifyItemAttribute::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgModifyItemAttribute) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 item_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_item_id(), target); - } - - // optional uint32 attr_defidx = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_attr_defidx(), target); - } - - // optional uint32 attr_value = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_attr_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgModifyItemAttribute) - return target; -} - -size_t CMsgModifyItemAttribute::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgModifyItemAttribute) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint64 item_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); - } - - // optional uint32 attr_defidx = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_attr_defidx()); - } - - // optional uint32 attr_value = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_attr_value()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgModifyItemAttribute::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgModifyItemAttribute::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgModifyItemAttribute::GetClassData() const { return &_class_data_; } - - -void CMsgModifyItemAttribute::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgModifyItemAttribute) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.item_id_ = from._impl_.item_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.attr_defidx_ = from._impl_.attr_defidx_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.attr_value_ = from._impl_.attr_value_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgModifyItemAttribute::CopyFrom(const CMsgModifyItemAttribute& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgModifyItemAttribute) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgModifyItemAttribute::IsInitialized() const { - return true; -} - -void CMsgModifyItemAttribute::InternalSwap(CMsgModifyItemAttribute* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgModifyItemAttribute, _impl_.attr_value_) - + sizeof(CMsgModifyItemAttribute::_impl_.attr_value_) - - PROTOBUF_FIELD_OFFSET(CMsgModifyItemAttribute, _impl_.item_id_)>( - reinterpret_cast(&_impl_.item_id_), - reinterpret_cast(&other->_impl_.item_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgModifyItemAttribute::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[20]); -} - -// =================================================================== - -class CMsgApplyStatTrakSwap::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_tool_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_item_1_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_item_2_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgApplyStatTrakSwap::CMsgApplyStatTrakSwap(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgApplyStatTrakSwap) -} -CMsgApplyStatTrakSwap::CMsgApplyStatTrakSwap(const CMsgApplyStatTrakSwap& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgApplyStatTrakSwap* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tool_item_id_){} - , decltype(_impl_.item_1_item_id_){} - , decltype(_impl_.item_2_item_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.tool_item_id_, &from._impl_.tool_item_id_, - static_cast(reinterpret_cast(&_impl_.item_2_item_id_) - - reinterpret_cast(&_impl_.tool_item_id_)) + sizeof(_impl_.item_2_item_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgApplyStatTrakSwap) -} - -inline void CMsgApplyStatTrakSwap::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tool_item_id_){uint64_t{0u}} - , decltype(_impl_.item_1_item_id_){uint64_t{0u}} - , decltype(_impl_.item_2_item_id_){uint64_t{0u}} - }; -} - -CMsgApplyStatTrakSwap::~CMsgApplyStatTrakSwap() { - // @@protoc_insertion_point(destructor:CMsgApplyStatTrakSwap) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgApplyStatTrakSwap::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgApplyStatTrakSwap::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgApplyStatTrakSwap::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgApplyStatTrakSwap) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.tool_item_id_, 0, static_cast( - reinterpret_cast(&_impl_.item_2_item_id_) - - reinterpret_cast(&_impl_.tool_item_id_)) + sizeof(_impl_.item_2_item_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgApplyStatTrakSwap::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 tool_item_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_tool_item_id(&has_bits); - _impl_.tool_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 item_1_item_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_item_1_item_id(&has_bits); - _impl_.item_1_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 item_2_item_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_item_2_item_id(&has_bits); - _impl_.item_2_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgApplyStatTrakSwap::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgApplyStatTrakSwap) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 tool_item_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_tool_item_id(), target); - } - - // optional uint64 item_1_item_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_item_1_item_id(), target); - } - - // optional uint64 item_2_item_id = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_item_2_item_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgApplyStatTrakSwap) - return target; -} - -size_t CMsgApplyStatTrakSwap::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgApplyStatTrakSwap) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint64 tool_item_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_tool_item_id()); - } - - // optional uint64 item_1_item_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_1_item_id()); - } - - // optional uint64 item_2_item_id = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_2_item_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgApplyStatTrakSwap::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgApplyStatTrakSwap::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgApplyStatTrakSwap::GetClassData() const { return &_class_data_; } - - -void CMsgApplyStatTrakSwap::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgApplyStatTrakSwap) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.tool_item_id_ = from._impl_.tool_item_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.item_1_item_id_ = from._impl_.item_1_item_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.item_2_item_id_ = from._impl_.item_2_item_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgApplyStatTrakSwap::CopyFrom(const CMsgApplyStatTrakSwap& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgApplyStatTrakSwap) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgApplyStatTrakSwap::IsInitialized() const { - return true; -} - -void CMsgApplyStatTrakSwap::InternalSwap(CMsgApplyStatTrakSwap* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgApplyStatTrakSwap, _impl_.item_2_item_id_) - + sizeof(CMsgApplyStatTrakSwap::_impl_.item_2_item_id_) - - PROTOBUF_FIELD_OFFSET(CMsgApplyStatTrakSwap, _impl_.tool_item_id_)>( - reinterpret_cast(&_impl_.tool_item_id_), - reinterpret_cast(&other->_impl_.tool_item_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgApplyStatTrakSwap::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[21]); -} - -// =================================================================== - -class CMsgApplyStrangePart::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_strange_part_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_item_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgApplyStrangePart::CMsgApplyStrangePart(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgApplyStrangePart) -} -CMsgApplyStrangePart::CMsgApplyStrangePart(const CMsgApplyStrangePart& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgApplyStrangePart* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.strange_part_item_id_){} - , decltype(_impl_.item_item_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.strange_part_item_id_, &from._impl_.strange_part_item_id_, - static_cast(reinterpret_cast(&_impl_.item_item_id_) - - reinterpret_cast(&_impl_.strange_part_item_id_)) + sizeof(_impl_.item_item_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgApplyStrangePart) -} - -inline void CMsgApplyStrangePart::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.strange_part_item_id_){uint64_t{0u}} - , decltype(_impl_.item_item_id_){uint64_t{0u}} - }; -} - -CMsgApplyStrangePart::~CMsgApplyStrangePart() { - // @@protoc_insertion_point(destructor:CMsgApplyStrangePart) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgApplyStrangePart::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgApplyStrangePart::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgApplyStrangePart::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgApplyStrangePart) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.strange_part_item_id_, 0, static_cast( - reinterpret_cast(&_impl_.item_item_id_) - - reinterpret_cast(&_impl_.strange_part_item_id_)) + sizeof(_impl_.item_item_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgApplyStrangePart::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 strange_part_item_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_strange_part_item_id(&has_bits); - _impl_.strange_part_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 item_item_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_item_item_id(&has_bits); - _impl_.item_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgApplyStrangePart::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgApplyStrangePart) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 strange_part_item_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_strange_part_item_id(), target); - } - - // optional uint64 item_item_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_item_item_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgApplyStrangePart) - return target; -} - -size_t CMsgApplyStrangePart::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgApplyStrangePart) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 strange_part_item_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_strange_part_item_id()); - } - - // optional uint64 item_item_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_item_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgApplyStrangePart::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgApplyStrangePart::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgApplyStrangePart::GetClassData() const { return &_class_data_; } - - -void CMsgApplyStrangePart::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgApplyStrangePart) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.strange_part_item_id_ = from._impl_.strange_part_item_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.item_item_id_ = from._impl_.item_item_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgApplyStrangePart::CopyFrom(const CMsgApplyStrangePart& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgApplyStrangePart) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgApplyStrangePart::IsInitialized() const { - return true; -} - -void CMsgApplyStrangePart::InternalSwap(CMsgApplyStrangePart* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgApplyStrangePart, _impl_.item_item_id_) - + sizeof(CMsgApplyStrangePart::_impl_.item_item_id_) - - PROTOBUF_FIELD_OFFSET(CMsgApplyStrangePart, _impl_.strange_part_item_id_)>( - reinterpret_cast(&_impl_.strange_part_item_id_), - reinterpret_cast(&other->_impl_.strange_part_item_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgApplyStrangePart::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[22]); -} - -// =================================================================== - -class CMsgApplyPennantUpgrade::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_upgrade_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_pennant_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgApplyPennantUpgrade::CMsgApplyPennantUpgrade(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgApplyPennantUpgrade) -} -CMsgApplyPennantUpgrade::CMsgApplyPennantUpgrade(const CMsgApplyPennantUpgrade& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgApplyPennantUpgrade* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.upgrade_item_id_){} - , decltype(_impl_.pennant_item_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.upgrade_item_id_, &from._impl_.upgrade_item_id_, - static_cast(reinterpret_cast(&_impl_.pennant_item_id_) - - reinterpret_cast(&_impl_.upgrade_item_id_)) + sizeof(_impl_.pennant_item_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgApplyPennantUpgrade) -} - -inline void CMsgApplyPennantUpgrade::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.upgrade_item_id_){uint64_t{0u}} - , decltype(_impl_.pennant_item_id_){uint64_t{0u}} - }; -} - -CMsgApplyPennantUpgrade::~CMsgApplyPennantUpgrade() { - // @@protoc_insertion_point(destructor:CMsgApplyPennantUpgrade) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgApplyPennantUpgrade::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgApplyPennantUpgrade::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgApplyPennantUpgrade::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgApplyPennantUpgrade) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.upgrade_item_id_, 0, static_cast( - reinterpret_cast(&_impl_.pennant_item_id_) - - reinterpret_cast(&_impl_.upgrade_item_id_)) + sizeof(_impl_.pennant_item_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgApplyPennantUpgrade::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 upgrade_item_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_upgrade_item_id(&has_bits); - _impl_.upgrade_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 pennant_item_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_pennant_item_id(&has_bits); - _impl_.pennant_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgApplyPennantUpgrade::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgApplyPennantUpgrade) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 upgrade_item_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_upgrade_item_id(), target); - } - - // optional uint64 pennant_item_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_pennant_item_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgApplyPennantUpgrade) - return target; -} - -size_t CMsgApplyPennantUpgrade::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgApplyPennantUpgrade) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 upgrade_item_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_upgrade_item_id()); - } - - // optional uint64 pennant_item_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pennant_item_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgApplyPennantUpgrade::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgApplyPennantUpgrade::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgApplyPennantUpgrade::GetClassData() const { return &_class_data_; } - - -void CMsgApplyPennantUpgrade::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgApplyPennantUpgrade) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.upgrade_item_id_ = from._impl_.upgrade_item_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.pennant_item_id_ = from._impl_.pennant_item_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgApplyPennantUpgrade::CopyFrom(const CMsgApplyPennantUpgrade& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgApplyPennantUpgrade) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgApplyPennantUpgrade::IsInitialized() const { - return true; -} - -void CMsgApplyPennantUpgrade::InternalSwap(CMsgApplyPennantUpgrade* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgApplyPennantUpgrade, _impl_.pennant_item_id_) - + sizeof(CMsgApplyPennantUpgrade::_impl_.pennant_item_id_) - - PROTOBUF_FIELD_OFFSET(CMsgApplyPennantUpgrade, _impl_.upgrade_item_id_)>( - reinterpret_cast(&_impl_.upgrade_item_id_), - reinterpret_cast(&other->_impl_.upgrade_item_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgApplyPennantUpgrade::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[23]); -} - -// =================================================================== - -class CMsgApplyEggEssence::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_essence_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_egg_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgApplyEggEssence::CMsgApplyEggEssence(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgApplyEggEssence) -} -CMsgApplyEggEssence::CMsgApplyEggEssence(const CMsgApplyEggEssence& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgApplyEggEssence* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.essence_item_id_){} - , decltype(_impl_.egg_item_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.essence_item_id_, &from._impl_.essence_item_id_, - static_cast(reinterpret_cast(&_impl_.egg_item_id_) - - reinterpret_cast(&_impl_.essence_item_id_)) + sizeof(_impl_.egg_item_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgApplyEggEssence) -} - -inline void CMsgApplyEggEssence::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.essence_item_id_){uint64_t{0u}} - , decltype(_impl_.egg_item_id_){uint64_t{0u}} - }; -} - -CMsgApplyEggEssence::~CMsgApplyEggEssence() { - // @@protoc_insertion_point(destructor:CMsgApplyEggEssence) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgApplyEggEssence::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgApplyEggEssence::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgApplyEggEssence::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgApplyEggEssence) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.essence_item_id_, 0, static_cast( - reinterpret_cast(&_impl_.egg_item_id_) - - reinterpret_cast(&_impl_.essence_item_id_)) + sizeof(_impl_.egg_item_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgApplyEggEssence::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 essence_item_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_essence_item_id(&has_bits); - _impl_.essence_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 egg_item_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_egg_item_id(&has_bits); - _impl_.egg_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgApplyEggEssence::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgApplyEggEssence) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 essence_item_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_essence_item_id(), target); - } - - // optional uint64 egg_item_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_egg_item_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgApplyEggEssence) - return target; -} - -size_t CMsgApplyEggEssence::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgApplyEggEssence) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 essence_item_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_essence_item_id()); - } - - // optional uint64 egg_item_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_egg_item_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgApplyEggEssence::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgApplyEggEssence::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgApplyEggEssence::GetClassData() const { return &_class_data_; } - - -void CMsgApplyEggEssence::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgApplyEggEssence) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.essence_item_id_ = from._impl_.essence_item_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.egg_item_id_ = from._impl_.egg_item_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgApplyEggEssence::CopyFrom(const CMsgApplyEggEssence& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgApplyEggEssence) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgApplyEggEssence::IsInitialized() const { - return true; -} - -void CMsgApplyEggEssence::InternalSwap(CMsgApplyEggEssence* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgApplyEggEssence, _impl_.egg_item_id_) - + sizeof(CMsgApplyEggEssence::_impl_.egg_item_id_) - - PROTOBUF_FIELD_OFFSET(CMsgApplyEggEssence, _impl_.essence_item_id_)>( - reinterpret_cast(&_impl_.essence_item_id_), - reinterpret_cast(&other->_impl_.essence_item_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgApplyEggEssence::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[24]); -} - -// =================================================================== - -class CSOEconItemAttribute::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_def_index(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_value_bytes(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSOEconItemAttribute::CSOEconItemAttribute(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOEconItemAttribute) -} -CSOEconItemAttribute::CSOEconItemAttribute(const CSOEconItemAttribute& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOEconItemAttribute* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.value_bytes_){} - , decltype(_impl_.def_index_){} - , decltype(_impl_.value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.value_bytes_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_bytes_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_value_bytes()) { - _this->_impl_.value_bytes_.Set(from._internal_value_bytes(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.def_index_, &from._impl_.def_index_, - static_cast(reinterpret_cast(&_impl_.value_) - - reinterpret_cast(&_impl_.def_index_)) + sizeof(_impl_.value_)); - // @@protoc_insertion_point(copy_constructor:CSOEconItemAttribute) -} - -inline void CSOEconItemAttribute::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.value_bytes_){} - , decltype(_impl_.def_index_){0u} - , decltype(_impl_.value_){0u} - }; - _impl_.value_bytes_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_bytes_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSOEconItemAttribute::~CSOEconItemAttribute() { - // @@protoc_insertion_point(destructor:CSOEconItemAttribute) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOEconItemAttribute::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.value_bytes_.Destroy(); -} - -void CSOEconItemAttribute::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOEconItemAttribute::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOEconItemAttribute) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.value_bytes_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.def_index_, 0, static_cast( - reinterpret_cast(&_impl_.value_) - - reinterpret_cast(&_impl_.def_index_)) + sizeof(_impl_.value_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOEconItemAttribute::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 def_index = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_def_index(&has_bits); - _impl_.def_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_value(&has_bits); - _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes value_bytes = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_value_bytes(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOEconItemAttribute::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOEconItemAttribute) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 def_index = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_def_index(), target); - } - - // optional uint32 value = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_value(), target); - } - - // optional bytes value_bytes = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 3, this->_internal_value_bytes(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOEconItemAttribute) - return target; -} - -size_t CSOEconItemAttribute::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOEconItemAttribute) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional bytes value_bytes = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_value_bytes()); - } - - // optional uint32 def_index = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_def_index()); - } - - // optional uint32 value = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_value()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconItemAttribute::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOEconItemAttribute::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconItemAttribute::GetClassData() const { return &_class_data_; } - - -void CSOEconItemAttribute::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOEconItemAttribute) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_value_bytes(from._internal_value_bytes()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.def_index_ = from._impl_.def_index_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.value_ = from._impl_.value_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOEconItemAttribute::CopyFrom(const CSOEconItemAttribute& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconItemAttribute) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOEconItemAttribute::IsInitialized() const { - return true; -} - -void CSOEconItemAttribute::InternalSwap(CSOEconItemAttribute* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.value_bytes_, lhs_arena, - &other->_impl_.value_bytes_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOEconItemAttribute, _impl_.value_) - + sizeof(CSOEconItemAttribute::_impl_.value_) - - PROTOBUF_FIELD_OFFSET(CSOEconItemAttribute, _impl_.def_index_)>( - reinterpret_cast(&_impl_.def_index_), - reinterpret_cast(&other->_impl_.def_index_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOEconItemAttribute::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[25]); -} - -// =================================================================== - -class CSOEconItemEquipped::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_new_class(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_new_slot(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CSOEconItemEquipped::CSOEconItemEquipped(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOEconItemEquipped) -} -CSOEconItemEquipped::CSOEconItemEquipped(const CSOEconItemEquipped& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOEconItemEquipped* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.new_class_){} - , decltype(_impl_.new_slot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.new_class_, &from._impl_.new_class_, - static_cast(reinterpret_cast(&_impl_.new_slot_) - - reinterpret_cast(&_impl_.new_class_)) + sizeof(_impl_.new_slot_)); - // @@protoc_insertion_point(copy_constructor:CSOEconItemEquipped) -} - -inline void CSOEconItemEquipped::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.new_class_){0u} - , decltype(_impl_.new_slot_){0u} - }; -} - -CSOEconItemEquipped::~CSOEconItemEquipped() { - // @@protoc_insertion_point(destructor:CSOEconItemEquipped) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOEconItemEquipped::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSOEconItemEquipped::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOEconItemEquipped::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOEconItemEquipped) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.new_class_, 0, static_cast( - reinterpret_cast(&_impl_.new_slot_) - - reinterpret_cast(&_impl_.new_class_)) + sizeof(_impl_.new_slot_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOEconItemEquipped::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 new_class = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_new_class(&has_bits); - _impl_.new_class_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 new_slot = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_new_slot(&has_bits); - _impl_.new_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOEconItemEquipped::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOEconItemEquipped) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 new_class = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_new_class(), target); - } - - // optional uint32 new_slot = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_new_slot(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOEconItemEquipped) - return target; -} - -size_t CSOEconItemEquipped::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOEconItemEquipped) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 new_class = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_new_class()); - } - - // optional uint32 new_slot = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_new_slot()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconItemEquipped::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOEconItemEquipped::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconItemEquipped::GetClassData() const { return &_class_data_; } - - -void CSOEconItemEquipped::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOEconItemEquipped) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.new_class_ = from._impl_.new_class_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.new_slot_ = from._impl_.new_slot_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOEconItemEquipped::CopyFrom(const CSOEconItemEquipped& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconItemEquipped) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOEconItemEquipped::IsInitialized() const { - return true; -} - -void CSOEconItemEquipped::InternalSwap(CSOEconItemEquipped* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOEconItemEquipped, _impl_.new_slot_) - + sizeof(CSOEconItemEquipped::_impl_.new_slot_) - - PROTOBUF_FIELD_OFFSET(CSOEconItemEquipped, _impl_.new_class_)>( - reinterpret_cast(&_impl_.new_class_), - reinterpret_cast(&other->_impl_.new_class_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOEconItemEquipped::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[26]); -} - -// =================================================================== - -class CSOEconItem::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_inventory(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_def_index(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_quantity(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_level(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_quality(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_custom_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_custom_desc(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CSOEconItem& interior_item(const CSOEconItem* msg); - static void set_has_interior_item(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_in_use(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_style(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_original_id(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_rarity(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } -}; - -const ::CSOEconItem& -CSOEconItem::_Internal::interior_item(const CSOEconItem* msg) { - return *msg->_impl_.interior_item_; -} -CSOEconItem::CSOEconItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOEconItem) -} -CSOEconItem::CSOEconItem(const CSOEconItem& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOEconItem* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.attribute_){from._impl_.attribute_} - , decltype(_impl_.equipped_state_){from._impl_.equipped_state_} - , decltype(_impl_.custom_name_){} - , decltype(_impl_.custom_desc_){} - , decltype(_impl_.interior_item_){nullptr} - , decltype(_impl_.id_){} - , decltype(_impl_.account_id_){} - , decltype(_impl_.inventory_){} - , decltype(_impl_.def_index_){} - , decltype(_impl_.quantity_){} - , decltype(_impl_.level_){} - , decltype(_impl_.quality_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.origin_){} - , decltype(_impl_.in_use_){} - , decltype(_impl_.style_){} - , decltype(_impl_.original_id_){} - , decltype(_impl_.rarity_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.custom_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.custom_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_custom_name()) { - _this->_impl_.custom_name_.Set(from._internal_custom_name(), - _this->GetArenaForAllocation()); - } - _impl_.custom_desc_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.custom_desc_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_custom_desc()) { - _this->_impl_.custom_desc_.Set(from._internal_custom_desc(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_interior_item()) { - _this->_impl_.interior_item_ = new ::CSOEconItem(*from._impl_.interior_item_); - } - ::memcpy(&_impl_.id_, &from._impl_.id_, - static_cast(reinterpret_cast(&_impl_.rarity_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.rarity_)); - // @@protoc_insertion_point(copy_constructor:CSOEconItem) -} - -inline void CSOEconItem::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.attribute_){arena} - , decltype(_impl_.equipped_state_){arena} - , decltype(_impl_.custom_name_){} - , decltype(_impl_.custom_desc_){} - , decltype(_impl_.interior_item_){nullptr} - , decltype(_impl_.id_){uint64_t{0u}} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.inventory_){0u} - , decltype(_impl_.def_index_){0u} - , decltype(_impl_.quantity_){0u} - , decltype(_impl_.level_){0u} - , decltype(_impl_.quality_){0u} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.origin_){0u} - , decltype(_impl_.in_use_){false} - , decltype(_impl_.style_){0u} - , decltype(_impl_.original_id_){uint64_t{0u}} - , decltype(_impl_.rarity_){0u} - }; - _impl_.custom_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.custom_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.custom_desc_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.custom_desc_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSOEconItem::~CSOEconItem() { - // @@protoc_insertion_point(destructor:CSOEconItem) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOEconItem::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.attribute_.~RepeatedPtrField(); - _impl_.equipped_state_.~RepeatedPtrField(); - _impl_.custom_name_.Destroy(); - _impl_.custom_desc_.Destroy(); - if (this != internal_default_instance()) delete _impl_.interior_item_; -} - -void CSOEconItem::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOEconItem::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOEconItem) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.attribute_.Clear(); - _impl_.equipped_state_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.custom_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.custom_desc_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.interior_item_ != nullptr); - _impl_.interior_item_->Clear(); - } - } - if (cached_has_bits & 0x000000f8u) { - ::memset(&_impl_.id_, 0, static_cast( - reinterpret_cast(&_impl_.quantity_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.quantity_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.level_, 0, static_cast( - reinterpret_cast(&_impl_.rarity_) - - reinterpret_cast(&_impl_.level_)) + sizeof(_impl_.rarity_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOEconItem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_id(&has_bits); - _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 account_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 inventory = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_inventory(&has_bits); - _impl_.inventory_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 def_index = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_def_index(&has_bits); - _impl_.def_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 quantity = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_quantity(&has_bits); - _impl_.quantity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 level = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_level(&has_bits); - _impl_.level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 quality = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_quality(&has_bits); - _impl_.quality_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 8 [default = 0]; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 origin = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_origin(&has_bits); - _impl_.origin_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string custom_name = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_custom_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSOEconItem.custom_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string custom_desc = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_custom_desc(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSOEconItem.custom_desc"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated .CSOEconItemAttribute attribute = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_attribute(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<98>(ptr)); - } else - goto handle_unusual; - continue; - // optional .CSOEconItem interior_item = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr = ctx->ParseMessage(_internal_mutable_interior_item(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool in_use = 14 [default = false]; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_in_use(&has_bits); - _impl_.in_use_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 style = 15 [default = 0]; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_style(&has_bits); - _impl_.style_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 original_id = 16 [default = 0]; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_original_id(&has_bits); - _impl_.original_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CSOEconItemEquipped equipped_state = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(_internal_add_equipped_state(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<146>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 rarity = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_rarity(&has_bits); - _impl_.rarity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOEconItem::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOEconItem) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 id = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_id(), target); - } - - // optional uint32 account_id = 2; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_account_id(), target); - } - - // optional uint32 inventory = 3; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_inventory(), target); - } - - // optional uint32 def_index = 4; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_def_index(), target); - } - - // optional uint32 quantity = 5; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_quantity(), target); - } - - // optional uint32 level = 6; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_level(), target); - } - - // optional uint32 quality = 7; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_quality(), target); - } - - // optional uint32 flags = 8 [default = 0]; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_flags(), target); - } - - // optional uint32 origin = 9; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_origin(), target); - } - - // optional string custom_name = 10; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_custom_name().data(), static_cast(this->_internal_custom_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSOEconItem.custom_name"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_custom_name(), target); - } - - // optional string custom_desc = 11; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_custom_desc().data(), static_cast(this->_internal_custom_desc().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSOEconItem.custom_desc"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_custom_desc(), target); - } - - // repeated .CSOEconItemAttribute attribute = 12; - for (unsigned i = 0, - n = static_cast(this->_internal_attribute_size()); i < n; i++) { - const auto& repfield = this->_internal_attribute(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(12, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional .CSOEconItem interior_item = 13; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, _Internal::interior_item(this), - _Internal::interior_item(this).GetCachedSize(), target, stream); - } - - // optional bool in_use = 14 [default = false]; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(14, this->_internal_in_use(), target); - } - - // optional uint32 style = 15 [default = 0]; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_style(), target); - } - - // optional uint64 original_id = 16 [default = 0]; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(16, this->_internal_original_id(), target); - } - - // repeated .CSOEconItemEquipped equipped_state = 18; - for (unsigned i = 0, - n = static_cast(this->_internal_equipped_state_size()); i < n; i++) { - const auto& repfield = this->_internal_equipped_state(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(18, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 rarity = 19; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_rarity(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOEconItem) - return target; -} - -size_t CSOEconItem::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOEconItem) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CSOEconItemAttribute attribute = 12; - total_size += 1UL * this->_internal_attribute_size(); - for (const auto& msg : this->_impl_.attribute_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CSOEconItemEquipped equipped_state = 18; - total_size += 2UL * this->_internal_equipped_state_size(); - for (const auto& msg : this->_impl_.equipped_state_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string custom_name = 10; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_custom_name()); - } - - // optional string custom_desc = 11; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_custom_desc()); - } - - // optional .CSOEconItem interior_item = 13; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.interior_item_); - } - - // optional uint64 id = 1; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_id()); - } - - // optional uint32 account_id = 2; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 inventory = 3; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_inventory()); - } - - // optional uint32 def_index = 4; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_def_index()); - } - - // optional uint32 quantity = 5; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_quantity()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional uint32 level = 6; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_level()); - } - - // optional uint32 quality = 7; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_quality()); - } - - // optional uint32 flags = 8 [default = 0]; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - // optional uint32 origin = 9; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_origin()); - } - - // optional bool in_use = 14 [default = false]; - if (cached_has_bits & 0x00001000u) { - total_size += 1 + 1; - } - - // optional uint32 style = 15 [default = 0]; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_style()); - } - - // optional uint64 original_id = 16 [default = 0]; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt64Size( - this->_internal_original_id()); - } - - // optional uint32 rarity = 19; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_rarity()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconItem::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOEconItem::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconItem::GetClassData() const { return &_class_data_; } - - -void CSOEconItem::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOEconItem) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.attribute_.MergeFrom(from._impl_.attribute_); - _this->_impl_.equipped_state_.MergeFrom(from._impl_.equipped_state_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_custom_name(from._internal_custom_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_custom_desc(from._internal_custom_desc()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_interior_item()->::CSOEconItem::MergeFrom( - from._internal_interior_item()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.id_ = from._impl_.id_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.inventory_ = from._impl_.inventory_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.def_index_ = from._impl_.def_index_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.quantity_ = from._impl_.quantity_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.level_ = from._impl_.level_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.quality_ = from._impl_.quality_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.origin_ = from._impl_.origin_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.in_use_ = from._impl_.in_use_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.style_ = from._impl_.style_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.original_id_ = from._impl_.original_id_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.rarity_ = from._impl_.rarity_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOEconItem::CopyFrom(const CSOEconItem& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconItem) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOEconItem::IsInitialized() const { - return true; -} - -void CSOEconItem::InternalSwap(CSOEconItem* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.attribute_.InternalSwap(&other->_impl_.attribute_); - _impl_.equipped_state_.InternalSwap(&other->_impl_.equipped_state_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.custom_name_, lhs_arena, - &other->_impl_.custom_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.custom_desc_, lhs_arena, - &other->_impl_.custom_desc_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOEconItem, _impl_.rarity_) - + sizeof(CSOEconItem::_impl_.rarity_) - - PROTOBUF_FIELD_OFFSET(CSOEconItem, _impl_.interior_item_)>( - reinterpret_cast(&_impl_.interior_item_), - reinterpret_cast(&other->_impl_.interior_item_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOEconItem::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[27]); -} - -// =================================================================== - -class CMsgSortItems::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_sort_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSortItems::CMsgSortItems(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSortItems) -} -CMsgSortItems::CMsgSortItems(const CMsgSortItems& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSortItems* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sort_type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.sort_type_ = from._impl_.sort_type_; - // @@protoc_insertion_point(copy_constructor:CMsgSortItems) -} - -inline void CMsgSortItems::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sort_type_){0u} - }; -} - -CMsgSortItems::~CMsgSortItems() { - // @@protoc_insertion_point(destructor:CMsgSortItems) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSortItems::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSortItems::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSortItems::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSortItems) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.sort_type_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSortItems::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 sort_type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_sort_type(&has_bits); - _impl_.sort_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSortItems::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSortItems) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 sort_type = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_sort_type(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSortItems) - return target; -} - -size_t CMsgSortItems::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSortItems) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 sort_type = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sort_type()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSortItems::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSortItems::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSortItems::GetClassData() const { return &_class_data_; } - - -void CMsgSortItems::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSortItems) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_sort_type()) { - _this->_internal_set_sort_type(from._internal_sort_type()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSortItems::CopyFrom(const CMsgSortItems& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSortItems) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSortItems::IsInitialized() const { - return true; -} - -void CMsgSortItems::InternalSwap(CMsgSortItems* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.sort_type_, other->_impl_.sort_type_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSortItems::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[28]); -} - -// =================================================================== - -class CSOEconClaimCode::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_code_type(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_time_acquired(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_code(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSOEconClaimCode::CSOEconClaimCode(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOEconClaimCode) -} -CSOEconClaimCode::CSOEconClaimCode(const CSOEconClaimCode& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOEconClaimCode* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.code_){} - , decltype(_impl_.account_id_){} - , decltype(_impl_.code_type_){} - , decltype(_impl_.time_acquired_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.code_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.code_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_code()) { - _this->_impl_.code_.Set(from._internal_code(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.time_acquired_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.time_acquired_)); - // @@protoc_insertion_point(copy_constructor:CSOEconClaimCode) -} - -inline void CSOEconClaimCode::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.code_){} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.code_type_){0u} - , decltype(_impl_.time_acquired_){0u} - }; - _impl_.code_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.code_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSOEconClaimCode::~CSOEconClaimCode() { - // @@protoc_insertion_point(destructor:CSOEconClaimCode) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOEconClaimCode::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.code_.Destroy(); -} - -void CSOEconClaimCode::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOEconClaimCode::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOEconClaimCode) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.code_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.time_acquired_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.time_acquired_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOEconClaimCode::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 code_type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_code_type(&has_bits); - _impl_.code_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 time_acquired = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_time_acquired(&has_bits); - _impl_.time_acquired_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string code = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_code(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSOEconClaimCode.code"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOEconClaimCode::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOEconClaimCode) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional uint32 code_type = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_code_type(), target); - } - - // optional uint32 time_acquired = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_time_acquired(), target); - } - - // optional string code = 4; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_code().data(), static_cast(this->_internal_code().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSOEconClaimCode.code"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_code(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOEconClaimCode) - return target; -} - -size_t CSOEconClaimCode::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOEconClaimCode) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string code = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_code()); - } - - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 code_type = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_code_type()); - } - - // optional uint32 time_acquired = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_acquired()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconClaimCode::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOEconClaimCode::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconClaimCode::GetClassData() const { return &_class_data_; } - - -void CSOEconClaimCode::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOEconClaimCode) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_code(from._internal_code()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.code_type_ = from._impl_.code_type_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.time_acquired_ = from._impl_.time_acquired_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOEconClaimCode::CopyFrom(const CSOEconClaimCode& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconClaimCode) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOEconClaimCode::IsInitialized() const { - return true; -} - -void CSOEconClaimCode::InternalSwap(CSOEconClaimCode* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.code_, lhs_arena, - &other->_impl_.code_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOEconClaimCode, _impl_.time_acquired_) - + sizeof(CSOEconClaimCode::_impl_.time_acquired_) - - PROTOBUF_FIELD_OFFSET(CSOEconClaimCode, _impl_.account_id_)>( - reinterpret_cast(&_impl_.account_id_), - reinterpret_cast(&other->_impl_.account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOEconClaimCode::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[29]); -} - -// =================================================================== - -class CMsgStoreGetUserData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_price_sheet_version(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_currency(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgStoreGetUserData::CMsgStoreGetUserData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgStoreGetUserData) -} -CMsgStoreGetUserData::CMsgStoreGetUserData(const CMsgStoreGetUserData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgStoreGetUserData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.price_sheet_version_){} - , decltype(_impl_.currency_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.price_sheet_version_, &from._impl_.price_sheet_version_, - static_cast(reinterpret_cast(&_impl_.currency_) - - reinterpret_cast(&_impl_.price_sheet_version_)) + sizeof(_impl_.currency_)); - // @@protoc_insertion_point(copy_constructor:CMsgStoreGetUserData) -} - -inline void CMsgStoreGetUserData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.price_sheet_version_){0u} - , decltype(_impl_.currency_){0} - }; -} - -CMsgStoreGetUserData::~CMsgStoreGetUserData() { - // @@protoc_insertion_point(destructor:CMsgStoreGetUserData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgStoreGetUserData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgStoreGetUserData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgStoreGetUserData::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgStoreGetUserData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.price_sheet_version_, 0, static_cast( - reinterpret_cast(&_impl_.currency_) - - reinterpret_cast(&_impl_.price_sheet_version_)) + sizeof(_impl_.currency_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgStoreGetUserData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 price_sheet_version = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_price_sheet_version(&has_bits); - _impl_.price_sheet_version_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional int32 currency = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_currency(&has_bits); - _impl_.currency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgStoreGetUserData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgStoreGetUserData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 price_sheet_version = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_price_sheet_version(), target); - } - - // optional int32 currency = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_currency(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgStoreGetUserData) - return target; -} - -size_t CMsgStoreGetUserData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgStoreGetUserData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional fixed32 price_sheet_version = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional int32 currency = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_currency()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgStoreGetUserData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgStoreGetUserData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgStoreGetUserData::GetClassData() const { return &_class_data_; } - - -void CMsgStoreGetUserData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgStoreGetUserData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.price_sheet_version_ = from._impl_.price_sheet_version_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.currency_ = from._impl_.currency_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgStoreGetUserData::CopyFrom(const CMsgStoreGetUserData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgStoreGetUserData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgStoreGetUserData::IsInitialized() const { - return true; -} - -void CMsgStoreGetUserData::InternalSwap(CMsgStoreGetUserData* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgStoreGetUserData, _impl_.currency_) - + sizeof(CMsgStoreGetUserData::_impl_.currency_) - - PROTOBUF_FIELD_OFFSET(CMsgStoreGetUserData, _impl_.price_sheet_version_)>( - reinterpret_cast(&_impl_.price_sheet_version_), - reinterpret_cast(&other->_impl_.price_sheet_version_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgStoreGetUserData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[30]); -} - -// =================================================================== - -class CMsgStoreGetUserDataResponse::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_result(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_currency_deprecated(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_country_deprecated(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_price_sheet_version(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_price_sheet(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgStoreGetUserDataResponse::CMsgStoreGetUserDataResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgStoreGetUserDataResponse) -} -CMsgStoreGetUserDataResponse::CMsgStoreGetUserDataResponse(const CMsgStoreGetUserDataResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgStoreGetUserDataResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.country_deprecated_){} - , decltype(_impl_.price_sheet_){} - , decltype(_impl_.result_){} - , decltype(_impl_.currency_deprecated_){} - , decltype(_impl_.price_sheet_version_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.country_deprecated_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.country_deprecated_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_country_deprecated()) { - _this->_impl_.country_deprecated_.Set(from._internal_country_deprecated(), - _this->GetArenaForAllocation()); - } - _impl_.price_sheet_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.price_sheet_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_price_sheet()) { - _this->_impl_.price_sheet_.Set(from._internal_price_sheet(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.result_, &from._impl_.result_, - static_cast(reinterpret_cast(&_impl_.price_sheet_version_) - - reinterpret_cast(&_impl_.result_)) + sizeof(_impl_.price_sheet_version_)); - // @@protoc_insertion_point(copy_constructor:CMsgStoreGetUserDataResponse) -} - -inline void CMsgStoreGetUserDataResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.country_deprecated_){} - , decltype(_impl_.price_sheet_){} - , decltype(_impl_.result_){0} - , decltype(_impl_.currency_deprecated_){0} - , decltype(_impl_.price_sheet_version_){0u} - }; - _impl_.country_deprecated_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.country_deprecated_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.price_sheet_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.price_sheet_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgStoreGetUserDataResponse::~CMsgStoreGetUserDataResponse() { - // @@protoc_insertion_point(destructor:CMsgStoreGetUserDataResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgStoreGetUserDataResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.country_deprecated_.Destroy(); - _impl_.price_sheet_.Destroy(); -} - -void CMsgStoreGetUserDataResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgStoreGetUserDataResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgStoreGetUserDataResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.country_deprecated_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.price_sheet_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000001cu) { - ::memset(&_impl_.result_, 0, static_cast( - reinterpret_cast(&_impl_.price_sheet_version_) - - reinterpret_cast(&_impl_.result_)) + sizeof(_impl_.price_sheet_version_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgStoreGetUserDataResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 result = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_result(&has_bits); - _impl_.result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 currency_deprecated = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_currency_deprecated(&has_bits); - _impl_.currency_deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string country_deprecated = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_country_deprecated(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgStoreGetUserDataResponse.country_deprecated"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional fixed32 price_sheet_version = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_price_sheet_version(&has_bits); - _impl_.price_sheet_version_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional bytes price_sheet = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_price_sheet(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgStoreGetUserDataResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgStoreGetUserDataResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 result = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_result(), target); - } - - // optional int32 currency_deprecated = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_currency_deprecated(), target); - } - - // optional string country_deprecated = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_country_deprecated().data(), static_cast(this->_internal_country_deprecated().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgStoreGetUserDataResponse.country_deprecated"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_country_deprecated(), target); - } - - // optional fixed32 price_sheet_version = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_price_sheet_version(), target); - } - - // optional bytes price_sheet = 8; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 8, this->_internal_price_sheet(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgStoreGetUserDataResponse) - return target; -} - -size_t CMsgStoreGetUserDataResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgStoreGetUserDataResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional string country_deprecated = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_country_deprecated()); - } - - // optional bytes price_sheet = 8; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_price_sheet()); - } - - // optional int32 result = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_result()); - } - - // optional int32 currency_deprecated = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_currency_deprecated()); - } - - // optional fixed32 price_sheet_version = 4; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgStoreGetUserDataResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgStoreGetUserDataResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgStoreGetUserDataResponse::GetClassData() const { return &_class_data_; } - - -void CMsgStoreGetUserDataResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgStoreGetUserDataResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_country_deprecated(from._internal_country_deprecated()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_price_sheet(from._internal_price_sheet()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.result_ = from._impl_.result_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.currency_deprecated_ = from._impl_.currency_deprecated_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.price_sheet_version_ = from._impl_.price_sheet_version_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgStoreGetUserDataResponse::CopyFrom(const CMsgStoreGetUserDataResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgStoreGetUserDataResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgStoreGetUserDataResponse::IsInitialized() const { - return true; -} - -void CMsgStoreGetUserDataResponse::InternalSwap(CMsgStoreGetUserDataResponse* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.country_deprecated_, lhs_arena, - &other->_impl_.country_deprecated_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.price_sheet_, lhs_arena, - &other->_impl_.price_sheet_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgStoreGetUserDataResponse, _impl_.price_sheet_version_) - + sizeof(CMsgStoreGetUserDataResponse::_impl_.price_sheet_version_) - - PROTOBUF_FIELD_OFFSET(CMsgStoreGetUserDataResponse, _impl_.result_)>( - reinterpret_cast(&_impl_.result_), - reinterpret_cast(&other->_impl_.result_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgStoreGetUserDataResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[31]); -} - -// =================================================================== - -class CMsgUpdateItemSchema::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_items_game(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_item_schema_version(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_items_game_url(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgUpdateItemSchema::CMsgUpdateItemSchema(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgUpdateItemSchema) -} -CMsgUpdateItemSchema::CMsgUpdateItemSchema(const CMsgUpdateItemSchema& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgUpdateItemSchema* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.items_game_){} - , decltype(_impl_.items_game_url_){} - , decltype(_impl_.item_schema_version_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.items_game_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.items_game_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_items_game()) { - _this->_impl_.items_game_.Set(from._internal_items_game(), - _this->GetArenaForAllocation()); - } - _impl_.items_game_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.items_game_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_items_game_url()) { - _this->_impl_.items_game_url_.Set(from._internal_items_game_url(), - _this->GetArenaForAllocation()); - } - _this->_impl_.item_schema_version_ = from._impl_.item_schema_version_; - // @@protoc_insertion_point(copy_constructor:CMsgUpdateItemSchema) -} - -inline void CMsgUpdateItemSchema::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.items_game_){} - , decltype(_impl_.items_game_url_){} - , decltype(_impl_.item_schema_version_){0u} - }; - _impl_.items_game_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.items_game_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.items_game_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.items_game_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgUpdateItemSchema::~CMsgUpdateItemSchema() { - // @@protoc_insertion_point(destructor:CMsgUpdateItemSchema) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgUpdateItemSchema::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.items_game_.Destroy(); - _impl_.items_game_url_.Destroy(); -} - -void CMsgUpdateItemSchema::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgUpdateItemSchema::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgUpdateItemSchema) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.items_game_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.items_game_url_.ClearNonDefaultToEmpty(); - } - } - _impl_.item_schema_version_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgUpdateItemSchema::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes items_game = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_items_game(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 item_schema_version = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_item_schema_version(&has_bits); - _impl_.item_schema_version_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional string items_game_url = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_items_game_url(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgUpdateItemSchema.items_game_url"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgUpdateItemSchema::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgUpdateItemSchema) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes items_game = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_items_game(), target); - } - - // optional fixed32 item_schema_version = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_item_schema_version(), target); - } - - // optional string items_game_url = 4; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_items_game_url().data(), static_cast(this->_internal_items_game_url().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgUpdateItemSchema.items_game_url"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_items_game_url(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgUpdateItemSchema) - return target; -} - -size_t CMsgUpdateItemSchema::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgUpdateItemSchema) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional bytes items_game = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_items_game()); - } - - // optional string items_game_url = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_items_game_url()); - } - - // optional fixed32 item_schema_version = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgUpdateItemSchema::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgUpdateItemSchema::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgUpdateItemSchema::GetClassData() const { return &_class_data_; } - - -void CMsgUpdateItemSchema::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgUpdateItemSchema) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_items_game(from._internal_items_game()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_items_game_url(from._internal_items_game_url()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.item_schema_version_ = from._impl_.item_schema_version_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgUpdateItemSchema::CopyFrom(const CMsgUpdateItemSchema& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgUpdateItemSchema) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgUpdateItemSchema::IsInitialized() const { - return true; -} - -void CMsgUpdateItemSchema::InternalSwap(CMsgUpdateItemSchema* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.items_game_, lhs_arena, - &other->_impl_.items_game_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.items_game_url_, lhs_arena, - &other->_impl_.items_game_url_, rhs_arena - ); - swap(_impl_.item_schema_version_, other->_impl_.item_schema_version_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgUpdateItemSchema::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[32]); -} - -// =================================================================== - -class CMsgGCError::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_error_text(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCError::CMsgGCError(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCError) -} -CMsgGCError::CMsgGCError(const CMsgGCError& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCError* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.error_text_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.error_text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.error_text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_error_text()) { - _this->_impl_.error_text_.Set(from._internal_error_text(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CMsgGCError) -} - -inline void CMsgGCError::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.error_text_){} - }; - _impl_.error_text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.error_text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCError::~CMsgGCError() { - // @@protoc_insertion_point(destructor:CMsgGCError) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCError::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.error_text_.Destroy(); -} - -void CMsgGCError::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCError::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCError) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.error_text_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCError::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string error_text = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_error_text(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCError.error_text"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCError::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCError) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string error_text = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_error_text().data(), static_cast(this->_internal_error_text().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCError.error_text"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_error_text(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCError) - return target; -} - -size_t CMsgGCError::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCError) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string error_text = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_error_text()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCError::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCError::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCError::GetClassData() const { return &_class_data_; } - - -void CMsgGCError::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCError) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_error_text()) { - _this->_internal_set_error_text(from._internal_error_text()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCError::CopyFrom(const CMsgGCError& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCError) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCError::IsInitialized() const { - return true; -} - -void CMsgGCError::InternalSwap(CMsgGCError* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.error_text_, lhs_arena, - &other->_impl_.error_text_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCError::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[33]); -} - -// =================================================================== - -class CMsgRequestInventoryRefresh::_Internal { - public: -}; - -CMsgRequestInventoryRefresh::CMsgRequestInventoryRefresh(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CMsgRequestInventoryRefresh) -} -CMsgRequestInventoryRefresh::CMsgRequestInventoryRefresh(const CMsgRequestInventoryRefresh& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CMsgRequestInventoryRefresh* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgRequestInventoryRefresh) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgRequestInventoryRefresh::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgRequestInventoryRefresh::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgRequestInventoryRefresh::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[34]); -} - -// =================================================================== - -class CMsgConVarValue::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgConVarValue::CMsgConVarValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgConVarValue) -} -CMsgConVarValue::CMsgConVarValue(const CMsgConVarValue& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgConVarValue* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_value()) { - _this->_impl_.value_.Set(from._internal_value(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CMsgConVarValue) -} - -inline void CMsgConVarValue::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.value_){} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgConVarValue::~CMsgConVarValue() { - // @@protoc_insertion_point(destructor:CMsgConVarValue) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgConVarValue::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); - _impl_.value_.Destroy(); -} - -void CMsgConVarValue::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgConVarValue::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgConVarValue) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.value_.ClearNonDefaultToEmpty(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgConVarValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgConVarValue.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_value(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgConVarValue.value"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgConVarValue::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgConVarValue) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgConVarValue.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // optional string value = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_value().data(), static_cast(this->_internal_value().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgConVarValue.value"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgConVarValue) - return target; -} - -size_t CMsgConVarValue::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgConVarValue) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional string value = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_value()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgConVarValue::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgConVarValue::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgConVarValue::GetClassData() const { return &_class_data_; } - - -void CMsgConVarValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgConVarValue) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_value(from._internal_value()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgConVarValue::CopyFrom(const CMsgConVarValue& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgConVarValue) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgConVarValue::IsInitialized() const { - return true; -} - -void CMsgConVarValue::InternalSwap(CMsgConVarValue* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.value_, lhs_arena, - &other->_impl_.value_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgConVarValue::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[35]); -} - -// =================================================================== - -class CMsgReplicateConVars::_Internal { - public: -}; - -CMsgReplicateConVars::CMsgReplicateConVars(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgReplicateConVars) -} -CMsgReplicateConVars::CMsgReplicateConVars(const CMsgReplicateConVars& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgReplicateConVars* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.convars_){from._impl_.convars_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgReplicateConVars) -} - -inline void CMsgReplicateConVars::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.convars_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CMsgReplicateConVars::~CMsgReplicateConVars() { - // @@protoc_insertion_point(destructor:CMsgReplicateConVars) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgReplicateConVars::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.convars_.~RepeatedPtrField(); -} - -void CMsgReplicateConVars::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgReplicateConVars::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgReplicateConVars) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.convars_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgReplicateConVars::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CMsgConVarValue convars = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_convars(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgReplicateConVars::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgReplicateConVars) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CMsgConVarValue convars = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_convars_size()); i < n; i++) { - const auto& repfield = this->_internal_convars(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgReplicateConVars) - return target; -} - -size_t CMsgReplicateConVars::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgReplicateConVars) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgConVarValue convars = 1; - total_size += 1UL * this->_internal_convars_size(); - for (const auto& msg : this->_impl_.convars_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgReplicateConVars::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgReplicateConVars::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgReplicateConVars::GetClassData() const { return &_class_data_; } - - -void CMsgReplicateConVars::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgReplicateConVars) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.convars_.MergeFrom(from._impl_.convars_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgReplicateConVars::CopyFrom(const CMsgReplicateConVars& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgReplicateConVars) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgReplicateConVars::IsInitialized() const { - return true; -} - -void CMsgReplicateConVars::InternalSwap(CMsgReplicateConVars* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.convars_.InternalSwap(&other->_impl_.convars_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgReplicateConVars::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[36]); -} - -// =================================================================== - -class CMsgUseItem::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_target_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_duel__class_lock(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_initiator_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgUseItem::CMsgUseItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgUseItem) -} -CMsgUseItem::CMsgUseItem(const CMsgUseItem& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgUseItem* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gift__potential_targets_){from._impl_.gift__potential_targets_} - , decltype(_impl_.item_id_){} - , decltype(_impl_.target_steam_id_){} - , decltype(_impl_.initiator_steam_id_){} - , decltype(_impl_.duel__class_lock_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.item_id_, &from._impl_.item_id_, - static_cast(reinterpret_cast(&_impl_.duel__class_lock_) - - reinterpret_cast(&_impl_.item_id_)) + sizeof(_impl_.duel__class_lock_)); - // @@protoc_insertion_point(copy_constructor:CMsgUseItem) -} - -inline void CMsgUseItem::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gift__potential_targets_){arena} - , decltype(_impl_.item_id_){uint64_t{0u}} - , decltype(_impl_.target_steam_id_){uint64_t{0u}} - , decltype(_impl_.initiator_steam_id_){uint64_t{0u}} - , decltype(_impl_.duel__class_lock_){0u} - }; -} - -CMsgUseItem::~CMsgUseItem() { - // @@protoc_insertion_point(destructor:CMsgUseItem) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgUseItem::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.gift__potential_targets_.~RepeatedField(); -} - -void CMsgUseItem::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgUseItem::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgUseItem) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.gift__potential_targets_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.item_id_, 0, static_cast( - reinterpret_cast(&_impl_.duel__class_lock_) - - reinterpret_cast(&_impl_.item_id_)) + sizeof(_impl_.duel__class_lock_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgUseItem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 item_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_item_id(&has_bits); - _impl_.item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 target_steam_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_target_steam_id(&has_bits); - _impl_.target_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // repeated uint32 gift__potential_targets = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_gift__potential_targets(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<24>(ptr)); - } else if (static_cast(tag) == 26) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_gift__potential_targets(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 duel__class_lock = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_duel__class_lock(&has_bits); - _impl_.duel__class_lock_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 initiator_steam_id = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 41)) { - _Internal::set_has_initiator_steam_id(&has_bits); - _impl_.initiator_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgUseItem::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgUseItem) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 item_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_item_id(), target); - } - - // optional fixed64 target_steam_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_target_steam_id(), target); - } - - // repeated uint32 gift__potential_targets = 3; - for (int i = 0, n = this->_internal_gift__potential_targets_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_gift__potential_targets(i), target); - } - - // optional uint32 duel__class_lock = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_duel__class_lock(), target); - } - - // optional fixed64 initiator_steam_id = 5; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(5, this->_internal_initiator_steam_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgUseItem) - return target; -} - -size_t CMsgUseItem::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgUseItem) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 gift__potential_targets = 3; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.gift__potential_targets_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_gift__potential_targets_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint64 item_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); - } - - // optional fixed64 target_steam_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - // optional fixed64 initiator_steam_id = 5; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 8; - } - - // optional uint32 duel__class_lock = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_duel__class_lock()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgUseItem::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgUseItem::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgUseItem::GetClassData() const { return &_class_data_; } - - -void CMsgUseItem::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgUseItem) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.gift__potential_targets_.MergeFrom(from._impl_.gift__potential_targets_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.item_id_ = from._impl_.item_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.target_steam_id_ = from._impl_.target_steam_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.initiator_steam_id_ = from._impl_.initiator_steam_id_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.duel__class_lock_ = from._impl_.duel__class_lock_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgUseItem::CopyFrom(const CMsgUseItem& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgUseItem) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgUseItem::IsInitialized() const { - return true; -} - -void CMsgUseItem::InternalSwap(CMsgUseItem* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.gift__potential_targets_.InternalSwap(&other->_impl_.gift__potential_targets_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgUseItem, _impl_.duel__class_lock_) - + sizeof(CMsgUseItem::_impl_.duel__class_lock_) - - PROTOBUF_FIELD_OFFSET(CMsgUseItem, _impl_.item_id_)>( - reinterpret_cast(&_impl_.item_id_), - reinterpret_cast(&other->_impl_.item_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgUseItem::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[37]); -} - -// =================================================================== - -class CMsgReplayUploadedToYouTube::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_youtube_url(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_youtube_account_name(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_session_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgReplayUploadedToYouTube::CMsgReplayUploadedToYouTube(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgReplayUploadedToYouTube) -} -CMsgReplayUploadedToYouTube::CMsgReplayUploadedToYouTube(const CMsgReplayUploadedToYouTube& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgReplayUploadedToYouTube* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.youtube_url_){} - , decltype(_impl_.youtube_account_name_){} - , decltype(_impl_.session_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.youtube_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.youtube_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_youtube_url()) { - _this->_impl_.youtube_url_.Set(from._internal_youtube_url(), - _this->GetArenaForAllocation()); - } - _impl_.youtube_account_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.youtube_account_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_youtube_account_name()) { - _this->_impl_.youtube_account_name_.Set(from._internal_youtube_account_name(), - _this->GetArenaForAllocation()); - } - _this->_impl_.session_id_ = from._impl_.session_id_; - // @@protoc_insertion_point(copy_constructor:CMsgReplayUploadedToYouTube) -} - -inline void CMsgReplayUploadedToYouTube::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.youtube_url_){} - , decltype(_impl_.youtube_account_name_){} - , decltype(_impl_.session_id_){uint64_t{0u}} - }; - _impl_.youtube_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.youtube_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.youtube_account_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.youtube_account_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgReplayUploadedToYouTube::~CMsgReplayUploadedToYouTube() { - // @@protoc_insertion_point(destructor:CMsgReplayUploadedToYouTube) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgReplayUploadedToYouTube::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.youtube_url_.Destroy(); - _impl_.youtube_account_name_.Destroy(); -} - -void CMsgReplayUploadedToYouTube::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgReplayUploadedToYouTube::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgReplayUploadedToYouTube) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.youtube_url_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.youtube_account_name_.ClearNonDefaultToEmpty(); - } - } - _impl_.session_id_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgReplayUploadedToYouTube::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string youtube_url = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_youtube_url(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgReplayUploadedToYouTube.youtube_url"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string youtube_account_name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_youtube_account_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgReplayUploadedToYouTube.youtube_account_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint64 session_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_session_id(&has_bits); - _impl_.session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgReplayUploadedToYouTube::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgReplayUploadedToYouTube) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string youtube_url = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_youtube_url().data(), static_cast(this->_internal_youtube_url().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgReplayUploadedToYouTube.youtube_url"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_youtube_url(), target); - } - - // optional string youtube_account_name = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_youtube_account_name().data(), static_cast(this->_internal_youtube_account_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgReplayUploadedToYouTube.youtube_account_name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_youtube_account_name(), target); - } - - // optional uint64 session_id = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_session_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgReplayUploadedToYouTube) - return target; -} - -size_t CMsgReplayUploadedToYouTube::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgReplayUploadedToYouTube) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string youtube_url = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_youtube_url()); - } - - // optional string youtube_account_name = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_youtube_account_name()); - } - - // optional uint64 session_id = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_session_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgReplayUploadedToYouTube::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgReplayUploadedToYouTube::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgReplayUploadedToYouTube::GetClassData() const { return &_class_data_; } - - -void CMsgReplayUploadedToYouTube::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgReplayUploadedToYouTube) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_youtube_url(from._internal_youtube_url()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_youtube_account_name(from._internal_youtube_account_name()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.session_id_ = from._impl_.session_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgReplayUploadedToYouTube::CopyFrom(const CMsgReplayUploadedToYouTube& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgReplayUploadedToYouTube) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgReplayUploadedToYouTube::IsInitialized() const { - return true; -} - -void CMsgReplayUploadedToYouTube::InternalSwap(CMsgReplayUploadedToYouTube* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.youtube_url_, lhs_arena, - &other->_impl_.youtube_url_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.youtube_account_name_, lhs_arena, - &other->_impl_.youtube_account_name_, rhs_arena - ); - swap(_impl_.session_id_, other->_impl_.session_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgReplayUploadedToYouTube::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[38]); -} - -// =================================================================== - -class CMsgConsumableExhausted::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_item_def_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgConsumableExhausted::CMsgConsumableExhausted(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgConsumableExhausted) -} -CMsgConsumableExhausted::CMsgConsumableExhausted(const CMsgConsumableExhausted& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgConsumableExhausted* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_def_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.item_def_id_ = from._impl_.item_def_id_; - // @@protoc_insertion_point(copy_constructor:CMsgConsumableExhausted) -} - -inline void CMsgConsumableExhausted::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_def_id_){0} - }; -} - -CMsgConsumableExhausted::~CMsgConsumableExhausted() { - // @@protoc_insertion_point(destructor:CMsgConsumableExhausted) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgConsumableExhausted::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgConsumableExhausted::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgConsumableExhausted::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgConsumableExhausted) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.item_def_id_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgConsumableExhausted::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 item_def_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_item_def_id(&has_bits); - _impl_.item_def_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgConsumableExhausted::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgConsumableExhausted) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 item_def_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_item_def_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgConsumableExhausted) - return target; -} - -size_t CMsgConsumableExhausted::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgConsumableExhausted) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 item_def_id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_item_def_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgConsumableExhausted::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgConsumableExhausted::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgConsumableExhausted::GetClassData() const { return &_class_data_; } - - -void CMsgConsumableExhausted::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgConsumableExhausted) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_item_def_id()) { - _this->_internal_set_item_def_id(from._internal_item_def_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgConsumableExhausted::CopyFrom(const CMsgConsumableExhausted& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgConsumableExhausted) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgConsumableExhausted::IsInitialized() const { - return true; -} - -void CMsgConsumableExhausted::InternalSwap(CMsgConsumableExhausted* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.item_def_id_, other->_impl_.item_def_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgConsumableExhausted::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[39]); -} - -// =================================================================== - -class CMsgItemAcknowledged__DEPRECATED::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_inventory(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_def_index(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_quality(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_rarity(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } -}; - -CMsgItemAcknowledged__DEPRECATED::CMsgItemAcknowledged__DEPRECATED(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgItemAcknowledged__DEPRECATED) -} -CMsgItemAcknowledged__DEPRECATED::CMsgItemAcknowledged__DEPRECATED(const CMsgItemAcknowledged__DEPRECATED& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgItemAcknowledged__DEPRECATED* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_id_){} - , decltype(_impl_.inventory_){} - , decltype(_impl_.def_index_){} - , decltype(_impl_.quality_){} - , decltype(_impl_.rarity_){} - , decltype(_impl_.origin_){} - , decltype(_impl_.item_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.item_id_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.item_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgItemAcknowledged__DEPRECATED) -} - -inline void CMsgItemAcknowledged__DEPRECATED::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.inventory_){0u} - , decltype(_impl_.def_index_){0u} - , decltype(_impl_.quality_){0u} - , decltype(_impl_.rarity_){0u} - , decltype(_impl_.origin_){0u} - , decltype(_impl_.item_id_){uint64_t{0u}} - }; -} - -CMsgItemAcknowledged__DEPRECATED::~CMsgItemAcknowledged__DEPRECATED() { - // @@protoc_insertion_point(destructor:CMsgItemAcknowledged__DEPRECATED) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgItemAcknowledged__DEPRECATED::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgItemAcknowledged__DEPRECATED::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgItemAcknowledged__DEPRECATED::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgItemAcknowledged__DEPRECATED) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.item_id_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.item_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgItemAcknowledged__DEPRECATED::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 inventory = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_inventory(&has_bits); - _impl_.inventory_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 def_index = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_def_index(&has_bits); - _impl_.def_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 quality = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_quality(&has_bits); - _impl_.quality_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rarity = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_rarity(&has_bits); - _impl_.rarity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 origin = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_origin(&has_bits); - _impl_.origin_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 item_id = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_item_id(&has_bits); - _impl_.item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgItemAcknowledged__DEPRECATED::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgItemAcknowledged__DEPRECATED) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional uint32 inventory = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_inventory(), target); - } - - // optional uint32 def_index = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_def_index(), target); - } - - // optional uint32 quality = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_quality(), target); - } - - // optional uint32 rarity = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_rarity(), target); - } - - // optional uint32 origin = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_origin(), target); - } - - // optional uint64 item_id = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_item_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgItemAcknowledged__DEPRECATED) - return target; -} - -size_t CMsgItemAcknowledged__DEPRECATED::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgItemAcknowledged__DEPRECATED) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 inventory = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_inventory()); - } - - // optional uint32 def_index = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_def_index()); - } - - // optional uint32 quality = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_quality()); - } - - // optional uint32 rarity = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rarity()); - } - - // optional uint32 origin = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_origin()); - } - - // optional uint64 item_id = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgItemAcknowledged__DEPRECATED::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgItemAcknowledged__DEPRECATED::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgItemAcknowledged__DEPRECATED::GetClassData() const { return &_class_data_; } - - -void CMsgItemAcknowledged__DEPRECATED::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgItemAcknowledged__DEPRECATED) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.inventory_ = from._impl_.inventory_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.def_index_ = from._impl_.def_index_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.quality_ = from._impl_.quality_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.rarity_ = from._impl_.rarity_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.origin_ = from._impl_.origin_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.item_id_ = from._impl_.item_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgItemAcknowledged__DEPRECATED::CopyFrom(const CMsgItemAcknowledged__DEPRECATED& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgItemAcknowledged__DEPRECATED) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgItemAcknowledged__DEPRECATED::IsInitialized() const { - return true; -} - -void CMsgItemAcknowledged__DEPRECATED::InternalSwap(CMsgItemAcknowledged__DEPRECATED* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgItemAcknowledged__DEPRECATED, _impl_.item_id_) - + sizeof(CMsgItemAcknowledged__DEPRECATED::_impl_.item_id_) - - PROTOBUF_FIELD_OFFSET(CMsgItemAcknowledged__DEPRECATED, _impl_.account_id_)>( - reinterpret_cast(&_impl_.account_id_), - reinterpret_cast(&other->_impl_.account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgItemAcknowledged__DEPRECATED::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[40]); -} - -// =================================================================== - -class CMsgSetItemPositions_ItemPosition::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_legacy_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_position(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgSetItemPositions_ItemPosition::CMsgSetItemPositions_ItemPosition(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSetItemPositions.ItemPosition) -} -CMsgSetItemPositions_ItemPosition::CMsgSetItemPositions_ItemPosition(const CMsgSetItemPositions_ItemPosition& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSetItemPositions_ItemPosition* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.legacy_item_id_){} - , decltype(_impl_.position_){} - , decltype(_impl_.item_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.legacy_item_id_, &from._impl_.legacy_item_id_, - static_cast(reinterpret_cast(&_impl_.item_id_) - - reinterpret_cast(&_impl_.legacy_item_id_)) + sizeof(_impl_.item_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgSetItemPositions.ItemPosition) -} - -inline void CMsgSetItemPositions_ItemPosition::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.legacy_item_id_){0u} - , decltype(_impl_.position_){0u} - , decltype(_impl_.item_id_){uint64_t{0u}} - }; -} - -CMsgSetItemPositions_ItemPosition::~CMsgSetItemPositions_ItemPosition() { - // @@protoc_insertion_point(destructor:CMsgSetItemPositions.ItemPosition) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSetItemPositions_ItemPosition::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSetItemPositions_ItemPosition::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSetItemPositions_ItemPosition::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSetItemPositions.ItemPosition) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.legacy_item_id_, 0, static_cast( - reinterpret_cast(&_impl_.item_id_) - - reinterpret_cast(&_impl_.legacy_item_id_)) + sizeof(_impl_.item_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSetItemPositions_ItemPosition::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 legacy_item_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_legacy_item_id(&has_bits); - _impl_.legacy_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 position = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_position(&has_bits); - _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 item_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_item_id(&has_bits); - _impl_.item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSetItemPositions_ItemPosition::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSetItemPositions.ItemPosition) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 legacy_item_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_legacy_item_id(), target); - } - - // optional uint32 position = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_position(), target); - } - - // optional uint64 item_id = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_item_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSetItemPositions.ItemPosition) - return target; -} - -size_t CMsgSetItemPositions_ItemPosition::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSetItemPositions.ItemPosition) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 legacy_item_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_legacy_item_id()); - } - - // optional uint32 position = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_position()); - } - - // optional uint64 item_id = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSetItemPositions_ItemPosition::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSetItemPositions_ItemPosition::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSetItemPositions_ItemPosition::GetClassData() const { return &_class_data_; } - - -void CMsgSetItemPositions_ItemPosition::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSetItemPositions.ItemPosition) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.legacy_item_id_ = from._impl_.legacy_item_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.position_ = from._impl_.position_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.item_id_ = from._impl_.item_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSetItemPositions_ItemPosition::CopyFrom(const CMsgSetItemPositions_ItemPosition& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSetItemPositions.ItemPosition) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSetItemPositions_ItemPosition::IsInitialized() const { - return true; -} - -void CMsgSetItemPositions_ItemPosition::InternalSwap(CMsgSetItemPositions_ItemPosition* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSetItemPositions_ItemPosition, _impl_.item_id_) - + sizeof(CMsgSetItemPositions_ItemPosition::_impl_.item_id_) - - PROTOBUF_FIELD_OFFSET(CMsgSetItemPositions_ItemPosition, _impl_.legacy_item_id_)>( - reinterpret_cast(&_impl_.legacy_item_id_), - reinterpret_cast(&other->_impl_.legacy_item_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSetItemPositions_ItemPosition::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[41]); -} - -// =================================================================== - -class CMsgSetItemPositions::_Internal { - public: -}; - -CMsgSetItemPositions::CMsgSetItemPositions(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSetItemPositions) -} -CMsgSetItemPositions::CMsgSetItemPositions(const CMsgSetItemPositions& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSetItemPositions* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.item_positions_){from._impl_.item_positions_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgSetItemPositions) -} - -inline void CMsgSetItemPositions::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.item_positions_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CMsgSetItemPositions::~CMsgSetItemPositions() { - // @@protoc_insertion_point(destructor:CMsgSetItemPositions) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSetItemPositions::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.item_positions_.~RepeatedPtrField(); -} - -void CMsgSetItemPositions::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSetItemPositions::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSetItemPositions) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.item_positions_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSetItemPositions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CMsgSetItemPositions.ItemPosition item_positions = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_item_positions(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSetItemPositions::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSetItemPositions) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CMsgSetItemPositions.ItemPosition item_positions = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_item_positions_size()); i < n; i++) { - const auto& repfield = this->_internal_item_positions(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSetItemPositions) - return target; -} - -size_t CMsgSetItemPositions::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSetItemPositions) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSetItemPositions.ItemPosition item_positions = 1; - total_size += 1UL * this->_internal_item_positions_size(); - for (const auto& msg : this->_impl_.item_positions_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSetItemPositions::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSetItemPositions::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSetItemPositions::GetClassData() const { return &_class_data_; } - - -void CMsgSetItemPositions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSetItemPositions) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.item_positions_.MergeFrom(from._impl_.item_positions_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSetItemPositions::CopyFrom(const CMsgSetItemPositions& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSetItemPositions) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSetItemPositions::IsInitialized() const { - return true; -} - -void CMsgSetItemPositions::InternalSwap(CMsgSetItemPositions* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.item_positions_.InternalSwap(&other->_impl_.item_positions_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSetItemPositions::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[42]); -} - -// =================================================================== - -class CMsgGCReportAbuse::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_target_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_description(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_gid(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_abuse_type(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_content_type(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_target_game_server_ip(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_target_game_server_port(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } -}; - -CMsgGCReportAbuse::CMsgGCReportAbuse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCReportAbuse) -} -CMsgGCReportAbuse::CMsgGCReportAbuse(const CMsgGCReportAbuse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCReportAbuse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.description_){} - , decltype(_impl_.target_steam_id_){} - , decltype(_impl_.abuse_type_){} - , decltype(_impl_.content_type_){} - , decltype(_impl_.gid_){} - , decltype(_impl_.target_game_server_ip_){} - , decltype(_impl_.target_game_server_port_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.description_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.description_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_description()) { - _this->_impl_.description_.Set(from._internal_description(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.target_steam_id_, &from._impl_.target_steam_id_, - static_cast(reinterpret_cast(&_impl_.target_game_server_port_) - - reinterpret_cast(&_impl_.target_steam_id_)) + sizeof(_impl_.target_game_server_port_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCReportAbuse) -} - -inline void CMsgGCReportAbuse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.description_){} - , decltype(_impl_.target_steam_id_){uint64_t{0u}} - , decltype(_impl_.abuse_type_){0u} - , decltype(_impl_.content_type_){0u} - , decltype(_impl_.gid_){uint64_t{0u}} - , decltype(_impl_.target_game_server_ip_){0u} - , decltype(_impl_.target_game_server_port_){0u} - }; - _impl_.description_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.description_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCReportAbuse::~CMsgGCReportAbuse() { - // @@protoc_insertion_point(destructor:CMsgGCReportAbuse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCReportAbuse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.description_.Destroy(); -} - -void CMsgGCReportAbuse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCReportAbuse::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCReportAbuse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.description_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000007eu) { - ::memset(&_impl_.target_steam_id_, 0, static_cast( - reinterpret_cast(&_impl_.target_game_server_port_) - - reinterpret_cast(&_impl_.target_steam_id_)) + sizeof(_impl_.target_game_server_port_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCReportAbuse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 target_steam_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_target_steam_id(&has_bits); - _impl_.target_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 abuse_type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_abuse_type(&has_bits); - _impl_.abuse_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 content_type = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_content_type(&has_bits); - _impl_.content_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string description = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_description(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCReportAbuse.description"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint64 gid = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_gid(&has_bits); - _impl_.gid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 target_game_server_ip = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - _Internal::set_has_target_game_server_ip(&has_bits); - _impl_.target_game_server_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 target_game_server_port = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_target_game_server_port(&has_bits); - _impl_.target_game_server_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCReportAbuse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCReportAbuse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 target_steam_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_target_steam_id(), target); - } - - // optional uint32 abuse_type = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_abuse_type(), target); - } - - // optional uint32 content_type = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_content_type(), target); - } - - // optional string description = 4; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_description().data(), static_cast(this->_internal_description().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCReportAbuse.description"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_description(), target); - } - - // optional uint64 gid = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_gid(), target); - } - - // optional fixed32 target_game_server_ip = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_target_game_server_ip(), target); - } - - // optional uint32 target_game_server_port = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_target_game_server_port(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCReportAbuse) - return target; -} - -size_t CMsgGCReportAbuse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCReportAbuse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional string description = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_description()); - } - - // optional fixed64 target_steam_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - // optional uint32 abuse_type = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_abuse_type()); - } - - // optional uint32 content_type = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_content_type()); - } - - // optional uint64 gid = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_gid()); - } - - // optional fixed32 target_game_server_ip = 6; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional uint32 target_game_server_port = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_target_game_server_port()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCReportAbuse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCReportAbuse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCReportAbuse::GetClassData() const { return &_class_data_; } - - -void CMsgGCReportAbuse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCReportAbuse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_description(from._internal_description()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.target_steam_id_ = from._impl_.target_steam_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.abuse_type_ = from._impl_.abuse_type_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.content_type_ = from._impl_.content_type_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.gid_ = from._impl_.gid_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.target_game_server_ip_ = from._impl_.target_game_server_ip_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.target_game_server_port_ = from._impl_.target_game_server_port_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCReportAbuse::CopyFrom(const CMsgGCReportAbuse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCReportAbuse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCReportAbuse::IsInitialized() const { - return true; -} - -void CMsgGCReportAbuse::InternalSwap(CMsgGCReportAbuse* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.description_, lhs_arena, - &other->_impl_.description_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCReportAbuse, _impl_.target_game_server_port_) - + sizeof(CMsgGCReportAbuse::_impl_.target_game_server_port_) - - PROTOBUF_FIELD_OFFSET(CMsgGCReportAbuse, _impl_.target_steam_id_)>( - reinterpret_cast(&_impl_.target_steam_id_), - reinterpret_cast(&other->_impl_.target_steam_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCReportAbuse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[43]); -} - -// =================================================================== - -class CMsgGCReportAbuseResponse::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_target_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_result(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_error_message(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCReportAbuseResponse::CMsgGCReportAbuseResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCReportAbuseResponse) -} -CMsgGCReportAbuseResponse::CMsgGCReportAbuseResponse(const CMsgGCReportAbuseResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCReportAbuseResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.error_message_){} - , decltype(_impl_.target_steam_id_){} - , decltype(_impl_.result_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.error_message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.error_message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_error_message()) { - _this->_impl_.error_message_.Set(from._internal_error_message(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.target_steam_id_, &from._impl_.target_steam_id_, - static_cast(reinterpret_cast(&_impl_.result_) - - reinterpret_cast(&_impl_.target_steam_id_)) + sizeof(_impl_.result_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCReportAbuseResponse) -} - -inline void CMsgGCReportAbuseResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.error_message_){} - , decltype(_impl_.target_steam_id_){uint64_t{0u}} - , decltype(_impl_.result_){0u} - }; - _impl_.error_message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.error_message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCReportAbuseResponse::~CMsgGCReportAbuseResponse() { - // @@protoc_insertion_point(destructor:CMsgGCReportAbuseResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCReportAbuseResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.error_message_.Destroy(); -} - -void CMsgGCReportAbuseResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCReportAbuseResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCReportAbuseResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.error_message_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.target_steam_id_, 0, static_cast( - reinterpret_cast(&_impl_.result_) - - reinterpret_cast(&_impl_.target_steam_id_)) + sizeof(_impl_.result_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCReportAbuseResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 target_steam_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_target_steam_id(&has_bits); - _impl_.target_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 result = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_result(&has_bits); - _impl_.result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string error_message = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_error_message(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCReportAbuseResponse.error_message"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCReportAbuseResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCReportAbuseResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 target_steam_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_target_steam_id(), target); - } - - // optional uint32 result = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_result(), target); - } - - // optional string error_message = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_error_message().data(), static_cast(this->_internal_error_message().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCReportAbuseResponse.error_message"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_error_message(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCReportAbuseResponse) - return target; -} - -size_t CMsgGCReportAbuseResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCReportAbuseResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string error_message = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_error_message()); - } - - // optional fixed64 target_steam_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - // optional uint32 result = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_result()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCReportAbuseResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCReportAbuseResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCReportAbuseResponse::GetClassData() const { return &_class_data_; } - - -void CMsgGCReportAbuseResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCReportAbuseResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_error_message(from._internal_error_message()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.target_steam_id_ = from._impl_.target_steam_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.result_ = from._impl_.result_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCReportAbuseResponse::CopyFrom(const CMsgGCReportAbuseResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCReportAbuseResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCReportAbuseResponse::IsInitialized() const { - return true; -} - -void CMsgGCReportAbuseResponse::InternalSwap(CMsgGCReportAbuseResponse* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.error_message_, lhs_arena, - &other->_impl_.error_message_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCReportAbuseResponse, _impl_.result_) - + sizeof(CMsgGCReportAbuseResponse::_impl_.result_) - - PROTOBUF_FIELD_OFFSET(CMsgGCReportAbuseResponse, _impl_.target_steam_id_)>( - reinterpret_cast(&_impl_.target_steam_id_), - reinterpret_cast(&other->_impl_.target_steam_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCReportAbuseResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[44]); -} - -// =================================================================== - -class CMsgGCNameItemNotification::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_player_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_item_def_index(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_item_name_custom(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCNameItemNotification::CMsgGCNameItemNotification(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCNameItemNotification) -} -CMsgGCNameItemNotification::CMsgGCNameItemNotification(const CMsgGCNameItemNotification& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCNameItemNotification* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_name_custom_){} - , decltype(_impl_.player_steamid_){} - , decltype(_impl_.item_def_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.item_name_custom_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.item_name_custom_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_item_name_custom()) { - _this->_impl_.item_name_custom_.Set(from._internal_item_name_custom(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.player_steamid_, &from._impl_.player_steamid_, - static_cast(reinterpret_cast(&_impl_.item_def_index_) - - reinterpret_cast(&_impl_.player_steamid_)) + sizeof(_impl_.item_def_index_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCNameItemNotification) -} - -inline void CMsgGCNameItemNotification::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_name_custom_){} - , decltype(_impl_.player_steamid_){uint64_t{0u}} - , decltype(_impl_.item_def_index_){0u} - }; - _impl_.item_name_custom_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.item_name_custom_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCNameItemNotification::~CMsgGCNameItemNotification() { - // @@protoc_insertion_point(destructor:CMsgGCNameItemNotification) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCNameItemNotification::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.item_name_custom_.Destroy(); -} - -void CMsgGCNameItemNotification::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCNameItemNotification::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCNameItemNotification) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.item_name_custom_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.player_steamid_, 0, static_cast( - reinterpret_cast(&_impl_.item_def_index_) - - reinterpret_cast(&_impl_.player_steamid_)) + sizeof(_impl_.item_def_index_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCNameItemNotification::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 player_steamid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_player_steamid(&has_bits); - _impl_.player_steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 item_def_index = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_item_def_index(&has_bits); - _impl_.item_def_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string item_name_custom = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_item_name_custom(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCNameItemNotification.item_name_custom"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCNameItemNotification::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCNameItemNotification) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 player_steamid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_player_steamid(), target); - } - - // optional uint32 item_def_index = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_item_def_index(), target); - } - - // optional string item_name_custom = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_item_name_custom().data(), static_cast(this->_internal_item_name_custom().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCNameItemNotification.item_name_custom"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_item_name_custom(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCNameItemNotification) - return target; -} - -size_t CMsgGCNameItemNotification::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCNameItemNotification) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string item_name_custom = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_item_name_custom()); - } - - // optional fixed64 player_steamid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - // optional uint32 item_def_index = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_def_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCNameItemNotification::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCNameItemNotification::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCNameItemNotification::GetClassData() const { return &_class_data_; } - - -void CMsgGCNameItemNotification::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCNameItemNotification) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_item_name_custom(from._internal_item_name_custom()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.player_steamid_ = from._impl_.player_steamid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.item_def_index_ = from._impl_.item_def_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCNameItemNotification::CopyFrom(const CMsgGCNameItemNotification& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCNameItemNotification) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCNameItemNotification::IsInitialized() const { - return true; -} - -void CMsgGCNameItemNotification::InternalSwap(CMsgGCNameItemNotification* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.item_name_custom_, lhs_arena, - &other->_impl_.item_name_custom_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCNameItemNotification, _impl_.item_def_index_) - + sizeof(CMsgGCNameItemNotification::_impl_.item_def_index_) - - PROTOBUF_FIELD_OFFSET(CMsgGCNameItemNotification, _impl_.player_steamid_)>( - reinterpret_cast(&_impl_.player_steamid_), - reinterpret_cast(&other->_impl_.player_steamid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCNameItemNotification::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[45]); -} - -// =================================================================== - -class CMsgGCClientDisplayNotification::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_notification_title_localization_key(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_notification_body_localization_key(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCClientDisplayNotification::CMsgGCClientDisplayNotification(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCClientDisplayNotification) -} -CMsgGCClientDisplayNotification::CMsgGCClientDisplayNotification(const CMsgGCClientDisplayNotification& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCClientDisplayNotification* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_substring_keys_){from._impl_.body_substring_keys_} - , decltype(_impl_.body_substring_values_){from._impl_.body_substring_values_} - , decltype(_impl_.notification_title_localization_key_){} - , decltype(_impl_.notification_body_localization_key_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.notification_title_localization_key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.notification_title_localization_key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_notification_title_localization_key()) { - _this->_impl_.notification_title_localization_key_.Set(from._internal_notification_title_localization_key(), - _this->GetArenaForAllocation()); - } - _impl_.notification_body_localization_key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.notification_body_localization_key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_notification_body_localization_key()) { - _this->_impl_.notification_body_localization_key_.Set(from._internal_notification_body_localization_key(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CMsgGCClientDisplayNotification) -} - -inline void CMsgGCClientDisplayNotification::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_substring_keys_){arena} - , decltype(_impl_.body_substring_values_){arena} - , decltype(_impl_.notification_title_localization_key_){} - , decltype(_impl_.notification_body_localization_key_){} - }; - _impl_.notification_title_localization_key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.notification_title_localization_key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.notification_body_localization_key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.notification_body_localization_key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCClientDisplayNotification::~CMsgGCClientDisplayNotification() { - // @@protoc_insertion_point(destructor:CMsgGCClientDisplayNotification) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCClientDisplayNotification::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.body_substring_keys_.~RepeatedPtrField(); - _impl_.body_substring_values_.~RepeatedPtrField(); - _impl_.notification_title_localization_key_.Destroy(); - _impl_.notification_body_localization_key_.Destroy(); -} - -void CMsgGCClientDisplayNotification::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCClientDisplayNotification::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCClientDisplayNotification) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.body_substring_keys_.Clear(); - _impl_.body_substring_values_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.notification_title_localization_key_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.notification_body_localization_key_.ClearNonDefaultToEmpty(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCClientDisplayNotification::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string notification_title_localization_key = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_notification_title_localization_key(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCClientDisplayNotification.notification_title_localization_key"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string notification_body_localization_key = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_notification_body_localization_key(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCClientDisplayNotification.notification_body_localization_key"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated string body_substring_keys = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_body_substring_keys(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCClientDisplayNotification.body_substring_keys"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // repeated string body_substring_values = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_body_substring_values(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCClientDisplayNotification.body_substring_values"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCClientDisplayNotification::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCClientDisplayNotification) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string notification_title_localization_key = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_notification_title_localization_key().data(), static_cast(this->_internal_notification_title_localization_key().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCClientDisplayNotification.notification_title_localization_key"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_notification_title_localization_key(), target); - } - - // optional string notification_body_localization_key = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_notification_body_localization_key().data(), static_cast(this->_internal_notification_body_localization_key().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCClientDisplayNotification.notification_body_localization_key"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_notification_body_localization_key(), target); - } - - // repeated string body_substring_keys = 3; - for (int i = 0, n = this->_internal_body_substring_keys_size(); i < n; i++) { - const auto& s = this->_internal_body_substring_keys(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCClientDisplayNotification.body_substring_keys"); - target = stream->WriteString(3, s, target); - } - - // repeated string body_substring_values = 4; - for (int i = 0, n = this->_internal_body_substring_values_size(); i < n; i++) { - const auto& s = this->_internal_body_substring_values(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCClientDisplayNotification.body_substring_values"); - target = stream->WriteString(4, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCClientDisplayNotification) - return target; -} - -size_t CMsgGCClientDisplayNotification::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCClientDisplayNotification) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string body_substring_keys = 3; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.body_substring_keys_.size()); - for (int i = 0, n = _impl_.body_substring_keys_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.body_substring_keys_.Get(i)); - } - - // repeated string body_substring_values = 4; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.body_substring_values_.size()); - for (int i = 0, n = _impl_.body_substring_values_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.body_substring_values_.Get(i)); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string notification_title_localization_key = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_notification_title_localization_key()); - } - - // optional string notification_body_localization_key = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_notification_body_localization_key()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCClientDisplayNotification::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCClientDisplayNotification::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCClientDisplayNotification::GetClassData() const { return &_class_data_; } - - -void CMsgGCClientDisplayNotification::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCClientDisplayNotification) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.body_substring_keys_.MergeFrom(from._impl_.body_substring_keys_); - _this->_impl_.body_substring_values_.MergeFrom(from._impl_.body_substring_values_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_notification_title_localization_key(from._internal_notification_title_localization_key()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_notification_body_localization_key(from._internal_notification_body_localization_key()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCClientDisplayNotification::CopyFrom(const CMsgGCClientDisplayNotification& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCClientDisplayNotification) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCClientDisplayNotification::IsInitialized() const { - return true; -} - -void CMsgGCClientDisplayNotification::InternalSwap(CMsgGCClientDisplayNotification* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.body_substring_keys_.InternalSwap(&other->_impl_.body_substring_keys_); - _impl_.body_substring_values_.InternalSwap(&other->_impl_.body_substring_values_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.notification_title_localization_key_, lhs_arena, - &other->_impl_.notification_title_localization_key_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.notification_body_localization_key_, lhs_arena, - &other->_impl_.notification_body_localization_key_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCClientDisplayNotification::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[46]); -} - -// =================================================================== - -class CMsgGCShowItemsPickedUp::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_player_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCShowItemsPickedUp::CMsgGCShowItemsPickedUp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCShowItemsPickedUp) -} -CMsgGCShowItemsPickedUp::CMsgGCShowItemsPickedUp(const CMsgGCShowItemsPickedUp& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCShowItemsPickedUp* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.player_steamid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.player_steamid_ = from._impl_.player_steamid_; - // @@protoc_insertion_point(copy_constructor:CMsgGCShowItemsPickedUp) -} - -inline void CMsgGCShowItemsPickedUp::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.player_steamid_){uint64_t{0u}} - }; -} - -CMsgGCShowItemsPickedUp::~CMsgGCShowItemsPickedUp() { - // @@protoc_insertion_point(destructor:CMsgGCShowItemsPickedUp) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCShowItemsPickedUp::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCShowItemsPickedUp::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCShowItemsPickedUp::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCShowItemsPickedUp) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.player_steamid_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCShowItemsPickedUp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 player_steamid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_player_steamid(&has_bits); - _impl_.player_steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCShowItemsPickedUp::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCShowItemsPickedUp) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 player_steamid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_player_steamid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCShowItemsPickedUp) - return target; -} - -size_t CMsgGCShowItemsPickedUp::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCShowItemsPickedUp) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional fixed64 player_steamid = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCShowItemsPickedUp::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCShowItemsPickedUp::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCShowItemsPickedUp::GetClassData() const { return &_class_data_; } - - -void CMsgGCShowItemsPickedUp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCShowItemsPickedUp) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_player_steamid()) { - _this->_internal_set_player_steamid(from._internal_player_steamid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCShowItemsPickedUp::CopyFrom(const CMsgGCShowItemsPickedUp& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCShowItemsPickedUp) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCShowItemsPickedUp::IsInitialized() const { - return true; -} - -void CMsgGCShowItemsPickedUp::InternalSwap(CMsgGCShowItemsPickedUp* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.player_steamid_, other->_impl_.player_steamid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCShowItemsPickedUp::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[47]); -} - -// =================================================================== - -class CMsgGCIncrementKillCountResponse::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_killer_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_num_kills(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_item_def(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_level_type(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgGCIncrementKillCountResponse::CMsgGCIncrementKillCountResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCIncrementKillCountResponse) -} -CMsgGCIncrementKillCountResponse::CMsgGCIncrementKillCountResponse(const CMsgGCIncrementKillCountResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCIncrementKillCountResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.killer_account_id_){} - , decltype(_impl_.num_kills_){} - , decltype(_impl_.item_def_){} - , decltype(_impl_.level_type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.killer_account_id_, &from._impl_.killer_account_id_, - static_cast(reinterpret_cast(&_impl_.level_type_) - - reinterpret_cast(&_impl_.killer_account_id_)) + sizeof(_impl_.level_type_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCIncrementKillCountResponse) -} - -inline void CMsgGCIncrementKillCountResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.killer_account_id_){0u} - , decltype(_impl_.num_kills_){0u} - , decltype(_impl_.item_def_){0u} - , decltype(_impl_.level_type_){0u} - }; -} - -CMsgGCIncrementKillCountResponse::~CMsgGCIncrementKillCountResponse() { - // @@protoc_insertion_point(destructor:CMsgGCIncrementKillCountResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCIncrementKillCountResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCIncrementKillCountResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCIncrementKillCountResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCIncrementKillCountResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.killer_account_id_, 0, static_cast( - reinterpret_cast(&_impl_.level_type_) - - reinterpret_cast(&_impl_.killer_account_id_)) + sizeof(_impl_.level_type_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCIncrementKillCountResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 killer_account_id = 1 [(.key_field) = true]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_killer_account_id(&has_bits); - _impl_.killer_account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 num_kills = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_num_kills(&has_bits); - _impl_.num_kills_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 item_def = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_item_def(&has_bits); - _impl_.item_def_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 level_type = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_level_type(&has_bits); - _impl_.level_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCIncrementKillCountResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCIncrementKillCountResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 killer_account_id = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_killer_account_id(), target); - } - - // optional uint32 num_kills = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_num_kills(), target); - } - - // optional uint32 item_def = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_item_def(), target); - } - - // optional uint32 level_type = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_level_type(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCIncrementKillCountResponse) - return target; -} - -size_t CMsgGCIncrementKillCountResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCIncrementKillCountResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 killer_account_id = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_killer_account_id()); - } - - // optional uint32 num_kills = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_kills()); - } - - // optional uint32 item_def = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_def()); - } - - // optional uint32 level_type = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_level_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCIncrementKillCountResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCIncrementKillCountResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCIncrementKillCountResponse::GetClassData() const { return &_class_data_; } - - -void CMsgGCIncrementKillCountResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCIncrementKillCountResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.killer_account_id_ = from._impl_.killer_account_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.num_kills_ = from._impl_.num_kills_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.item_def_ = from._impl_.item_def_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.level_type_ = from._impl_.level_type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCIncrementKillCountResponse::CopyFrom(const CMsgGCIncrementKillCountResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCIncrementKillCountResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCIncrementKillCountResponse::IsInitialized() const { - return true; -} - -void CMsgGCIncrementKillCountResponse::InternalSwap(CMsgGCIncrementKillCountResponse* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCIncrementKillCountResponse, _impl_.level_type_) - + sizeof(CMsgGCIncrementKillCountResponse::_impl_.level_type_) - - PROTOBUF_FIELD_OFFSET(CMsgGCIncrementKillCountResponse, _impl_.killer_account_id_)>( - reinterpret_cast(&_impl_.killer_account_id_), - reinterpret_cast(&other->_impl_.killer_account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCIncrementKillCountResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[48]); -} - -// =================================================================== - -class CSOEconItemDropRateBonus::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_expiration_date(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_bonus(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_bonus_count(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_def_index(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } -}; - -CSOEconItemDropRateBonus::CSOEconItemDropRateBonus(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOEconItemDropRateBonus) -} -CSOEconItemDropRateBonus::CSOEconItemDropRateBonus(const CSOEconItemDropRateBonus& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOEconItemDropRateBonus* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_id_){} - , decltype(_impl_.expiration_date_){} - , decltype(_impl_.bonus_){} - , decltype(_impl_.bonus_count_){} - , decltype(_impl_.item_id_){} - , decltype(_impl_.def_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.def_index_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.def_index_)); - // @@protoc_insertion_point(copy_constructor:CSOEconItemDropRateBonus) -} - -inline void CSOEconItemDropRateBonus::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.expiration_date_){0u} - , decltype(_impl_.bonus_){0} - , decltype(_impl_.bonus_count_){0u} - , decltype(_impl_.item_id_){uint64_t{0u}} - , decltype(_impl_.def_index_){0u} - }; -} - -CSOEconItemDropRateBonus::~CSOEconItemDropRateBonus() { - // @@protoc_insertion_point(destructor:CSOEconItemDropRateBonus) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOEconItemDropRateBonus::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSOEconItemDropRateBonus::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOEconItemDropRateBonus::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOEconItemDropRateBonus) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.def_index_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.def_index_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOEconItemDropRateBonus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 expiration_date = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_expiration_date(&has_bits); - _impl_.expiration_date_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional float bonus = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_bonus(&has_bits); - _impl_.bonus_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 bonus_count = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_bonus_count(&has_bits); - _impl_.bonus_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 item_id = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_item_id(&has_bits); - _impl_.item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 def_index = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_def_index(&has_bits); - _impl_.def_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOEconItemDropRateBonus::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOEconItemDropRateBonus) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional fixed32 expiration_date = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_expiration_date(), target); - } - - // optional float bonus = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_bonus(), target); - } - - // optional uint32 bonus_count = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_bonus_count(), target); - } - - // optional uint64 item_id = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_item_id(), target); - } - - // optional uint32 def_index = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_def_index(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOEconItemDropRateBonus) - return target; -} - -size_t CSOEconItemDropRateBonus::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOEconItemDropRateBonus) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional fixed32 expiration_date = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float bonus = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional uint32 bonus_count = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_bonus_count()); - } - - // optional uint64 item_id = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); - } - - // optional uint32 def_index = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_def_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconItemDropRateBonus::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOEconItemDropRateBonus::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconItemDropRateBonus::GetClassData() const { return &_class_data_; } - - -void CSOEconItemDropRateBonus::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOEconItemDropRateBonus) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.expiration_date_ = from._impl_.expiration_date_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.bonus_ = from._impl_.bonus_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.bonus_count_ = from._impl_.bonus_count_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.item_id_ = from._impl_.item_id_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.def_index_ = from._impl_.def_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOEconItemDropRateBonus::CopyFrom(const CSOEconItemDropRateBonus& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconItemDropRateBonus) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOEconItemDropRateBonus::IsInitialized() const { - return true; -} - -void CSOEconItemDropRateBonus::InternalSwap(CSOEconItemDropRateBonus* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOEconItemDropRateBonus, _impl_.def_index_) - + sizeof(CSOEconItemDropRateBonus::_impl_.def_index_) - - PROTOBUF_FIELD_OFFSET(CSOEconItemDropRateBonus, _impl_.account_id_)>( - reinterpret_cast(&_impl_.account_id_), - reinterpret_cast(&other->_impl_.account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOEconItemDropRateBonus::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[49]); -} - -// =================================================================== - -class CSOEconItemLeagueViewPass::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_league_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_admin(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_itemindex(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CSOEconItemLeagueViewPass::CSOEconItemLeagueViewPass(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOEconItemLeagueViewPass) -} -CSOEconItemLeagueViewPass::CSOEconItemLeagueViewPass(const CSOEconItemLeagueViewPass& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOEconItemLeagueViewPass* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_id_){} - , decltype(_impl_.league_id_){} - , decltype(_impl_.admin_){} - , decltype(_impl_.itemindex_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.itemindex_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.itemindex_)); - // @@protoc_insertion_point(copy_constructor:CSOEconItemLeagueViewPass) -} - -inline void CSOEconItemLeagueViewPass::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.league_id_){0u} - , decltype(_impl_.admin_){0u} - , decltype(_impl_.itemindex_){0u} - }; -} - -CSOEconItemLeagueViewPass::~CSOEconItemLeagueViewPass() { - // @@protoc_insertion_point(destructor:CSOEconItemLeagueViewPass) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOEconItemLeagueViewPass::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSOEconItemLeagueViewPass::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOEconItemLeagueViewPass::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOEconItemLeagueViewPass) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.itemindex_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.itemindex_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOEconItemLeagueViewPass::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1 [(.key_field) = true]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 league_id = 2 [(.key_field) = true]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_league_id(&has_bits); - _impl_.league_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 admin = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_admin(&has_bits); - _impl_.admin_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 itemindex = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_itemindex(&has_bits); - _impl_.itemindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOEconItemLeagueViewPass::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOEconItemLeagueViewPass) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional uint32 league_id = 2 [(.key_field) = true]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_league_id(), target); - } - - // optional uint32 admin = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_admin(), target); - } - - // optional uint32 itemindex = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_itemindex(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOEconItemLeagueViewPass) - return target; -} - -size_t CSOEconItemLeagueViewPass::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOEconItemLeagueViewPass) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 account_id = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 league_id = 2 [(.key_field) = true]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_league_id()); - } - - // optional uint32 admin = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_admin()); - } - - // optional uint32 itemindex = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_itemindex()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconItemLeagueViewPass::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOEconItemLeagueViewPass::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconItemLeagueViewPass::GetClassData() const { return &_class_data_; } - - -void CSOEconItemLeagueViewPass::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOEconItemLeagueViewPass) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.league_id_ = from._impl_.league_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.admin_ = from._impl_.admin_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.itemindex_ = from._impl_.itemindex_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOEconItemLeagueViewPass::CopyFrom(const CSOEconItemLeagueViewPass& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconItemLeagueViewPass) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOEconItemLeagueViewPass::IsInitialized() const { - return true; -} - -void CSOEconItemLeagueViewPass::InternalSwap(CSOEconItemLeagueViewPass* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOEconItemLeagueViewPass, _impl_.itemindex_) - + sizeof(CSOEconItemLeagueViewPass::_impl_.itemindex_) - - PROTOBUF_FIELD_OFFSET(CSOEconItemLeagueViewPass, _impl_.account_id_)>( - reinterpret_cast(&_impl_.account_id_), - reinterpret_cast(&other->_impl_.account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOEconItemLeagueViewPass::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[50]); -} - -// =================================================================== - -class CSOEconItemEventTicket::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_event_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CSOEconItemEventTicket::CSOEconItemEventTicket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOEconItemEventTicket) -} -CSOEconItemEventTicket::CSOEconItemEventTicket(const CSOEconItemEventTicket& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOEconItemEventTicket* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_id_){} - , decltype(_impl_.event_id_){} - , decltype(_impl_.item_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.item_id_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.item_id_)); - // @@protoc_insertion_point(copy_constructor:CSOEconItemEventTicket) -} - -inline void CSOEconItemEventTicket::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.event_id_){0u} - , decltype(_impl_.item_id_){uint64_t{0u}} - }; -} - -CSOEconItemEventTicket::~CSOEconItemEventTicket() { - // @@protoc_insertion_point(destructor:CSOEconItemEventTicket) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOEconItemEventTicket::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSOEconItemEventTicket::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOEconItemEventTicket::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOEconItemEventTicket) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.item_id_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.item_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOEconItemEventTicket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 event_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_event_id(&has_bits); - _impl_.event_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 item_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_item_id(&has_bits); - _impl_.item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOEconItemEventTicket::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOEconItemEventTicket) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional uint32 event_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_event_id(), target); - } - - // optional uint64 item_id = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_item_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOEconItemEventTicket) - return target; -} - -size_t CSOEconItemEventTicket::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOEconItemEventTicket) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 event_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_id()); - } - - // optional uint64 item_id = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconItemEventTicket::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOEconItemEventTicket::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconItemEventTicket::GetClassData() const { return &_class_data_; } - - -void CSOEconItemEventTicket::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOEconItemEventTicket) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.event_id_ = from._impl_.event_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.item_id_ = from._impl_.item_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOEconItemEventTicket::CopyFrom(const CSOEconItemEventTicket& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconItemEventTicket) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOEconItemEventTicket::IsInitialized() const { - return true; -} - -void CSOEconItemEventTicket::InternalSwap(CSOEconItemEventTicket* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOEconItemEventTicket, _impl_.item_id_) - + sizeof(CSOEconItemEventTicket::_impl_.item_id_) - - PROTOBUF_FIELD_OFFSET(CSOEconItemEventTicket, _impl_.account_id_)>( - reinterpret_cast(&_impl_.account_id_), - reinterpret_cast(&other->_impl_.account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOEconItemEventTicket::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[51]); -} - -// =================================================================== - -class CMsgGCItemPreviewItemBoughtNotification::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_item_def_index(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCItemPreviewItemBoughtNotification::CMsgGCItemPreviewItemBoughtNotification(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCItemPreviewItemBoughtNotification) -} -CMsgGCItemPreviewItemBoughtNotification::CMsgGCItemPreviewItemBoughtNotification(const CMsgGCItemPreviewItemBoughtNotification& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCItemPreviewItemBoughtNotification* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_def_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.item_def_index_ = from._impl_.item_def_index_; - // @@protoc_insertion_point(copy_constructor:CMsgGCItemPreviewItemBoughtNotification) -} - -inline void CMsgGCItemPreviewItemBoughtNotification::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_def_index_){0u} - }; -} - -CMsgGCItemPreviewItemBoughtNotification::~CMsgGCItemPreviewItemBoughtNotification() { - // @@protoc_insertion_point(destructor:CMsgGCItemPreviewItemBoughtNotification) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCItemPreviewItemBoughtNotification::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCItemPreviewItemBoughtNotification::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCItemPreviewItemBoughtNotification::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCItemPreviewItemBoughtNotification) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.item_def_index_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCItemPreviewItemBoughtNotification::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 item_def_index = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_item_def_index(&has_bits); - _impl_.item_def_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCItemPreviewItemBoughtNotification::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCItemPreviewItemBoughtNotification) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 item_def_index = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_item_def_index(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCItemPreviewItemBoughtNotification) - return target; -} - -size_t CMsgGCItemPreviewItemBoughtNotification::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCItemPreviewItemBoughtNotification) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 item_def_index = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_def_index()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCItemPreviewItemBoughtNotification::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCItemPreviewItemBoughtNotification::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCItemPreviewItemBoughtNotification::GetClassData() const { return &_class_data_; } - - -void CMsgGCItemPreviewItemBoughtNotification::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCItemPreviewItemBoughtNotification) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_item_def_index()) { - _this->_internal_set_item_def_index(from._internal_item_def_index()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCItemPreviewItemBoughtNotification::CopyFrom(const CMsgGCItemPreviewItemBoughtNotification& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCItemPreviewItemBoughtNotification) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCItemPreviewItemBoughtNotification::IsInitialized() const { - return true; -} - -void CMsgGCItemPreviewItemBoughtNotification::InternalSwap(CMsgGCItemPreviewItemBoughtNotification* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.item_def_index_, other->_impl_.item_def_index_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCItemPreviewItemBoughtNotification::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[52]); -} - -// =================================================================== - -class CMsgGCStorePurchaseCancel::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_txn_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCStorePurchaseCancel::CMsgGCStorePurchaseCancel(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCStorePurchaseCancel) -} -CMsgGCStorePurchaseCancel::CMsgGCStorePurchaseCancel(const CMsgGCStorePurchaseCancel& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCStorePurchaseCancel* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.txn_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.txn_id_ = from._impl_.txn_id_; - // @@protoc_insertion_point(copy_constructor:CMsgGCStorePurchaseCancel) -} - -inline void CMsgGCStorePurchaseCancel::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.txn_id_){uint64_t{0u}} - }; -} - -CMsgGCStorePurchaseCancel::~CMsgGCStorePurchaseCancel() { - // @@protoc_insertion_point(destructor:CMsgGCStorePurchaseCancel) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCStorePurchaseCancel::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCStorePurchaseCancel::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCStorePurchaseCancel::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCStorePurchaseCancel) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.txn_id_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCStorePurchaseCancel::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 txn_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_txn_id(&has_bits); - _impl_.txn_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCStorePurchaseCancel::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCStorePurchaseCancel) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 txn_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_txn_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCStorePurchaseCancel) - return target; -} - -size_t CMsgGCStorePurchaseCancel::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCStorePurchaseCancel) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint64 txn_id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_txn_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCStorePurchaseCancel::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCStorePurchaseCancel::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCStorePurchaseCancel::GetClassData() const { return &_class_data_; } - - -void CMsgGCStorePurchaseCancel::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCStorePurchaseCancel) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_txn_id()) { - _this->_internal_set_txn_id(from._internal_txn_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCStorePurchaseCancel::CopyFrom(const CMsgGCStorePurchaseCancel& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCStorePurchaseCancel) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCStorePurchaseCancel::IsInitialized() const { - return true; -} - -void CMsgGCStorePurchaseCancel::InternalSwap(CMsgGCStorePurchaseCancel* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.txn_id_, other->_impl_.txn_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCStorePurchaseCancel::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[53]); -} - -// =================================================================== - -class CMsgGCStorePurchaseCancelResponse::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_result(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCStorePurchaseCancelResponse::CMsgGCStorePurchaseCancelResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCStorePurchaseCancelResponse) -} -CMsgGCStorePurchaseCancelResponse::CMsgGCStorePurchaseCancelResponse(const CMsgGCStorePurchaseCancelResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCStorePurchaseCancelResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.result_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.result_ = from._impl_.result_; - // @@protoc_insertion_point(copy_constructor:CMsgGCStorePurchaseCancelResponse) -} - -inline void CMsgGCStorePurchaseCancelResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.result_){0u} - }; -} - -CMsgGCStorePurchaseCancelResponse::~CMsgGCStorePurchaseCancelResponse() { - // @@protoc_insertion_point(destructor:CMsgGCStorePurchaseCancelResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCStorePurchaseCancelResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCStorePurchaseCancelResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCStorePurchaseCancelResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCStorePurchaseCancelResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.result_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCStorePurchaseCancelResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 result = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_result(&has_bits); - _impl_.result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCStorePurchaseCancelResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCStorePurchaseCancelResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 result = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_result(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCStorePurchaseCancelResponse) - return target; -} - -size_t CMsgGCStorePurchaseCancelResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCStorePurchaseCancelResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 result = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_result()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCStorePurchaseCancelResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCStorePurchaseCancelResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCStorePurchaseCancelResponse::GetClassData() const { return &_class_data_; } - - -void CMsgGCStorePurchaseCancelResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCStorePurchaseCancelResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_result()) { - _this->_internal_set_result(from._internal_result()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCStorePurchaseCancelResponse::CopyFrom(const CMsgGCStorePurchaseCancelResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCStorePurchaseCancelResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCStorePurchaseCancelResponse::IsInitialized() const { - return true; -} - -void CMsgGCStorePurchaseCancelResponse::InternalSwap(CMsgGCStorePurchaseCancelResponse* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.result_, other->_impl_.result_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCStorePurchaseCancelResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[54]); -} - -// =================================================================== - -class CMsgGCStorePurchaseFinalize::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_txn_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCStorePurchaseFinalize::CMsgGCStorePurchaseFinalize(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCStorePurchaseFinalize) -} -CMsgGCStorePurchaseFinalize::CMsgGCStorePurchaseFinalize(const CMsgGCStorePurchaseFinalize& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCStorePurchaseFinalize* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.txn_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.txn_id_ = from._impl_.txn_id_; - // @@protoc_insertion_point(copy_constructor:CMsgGCStorePurchaseFinalize) -} - -inline void CMsgGCStorePurchaseFinalize::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.txn_id_){uint64_t{0u}} - }; -} - -CMsgGCStorePurchaseFinalize::~CMsgGCStorePurchaseFinalize() { - // @@protoc_insertion_point(destructor:CMsgGCStorePurchaseFinalize) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCStorePurchaseFinalize::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCStorePurchaseFinalize::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCStorePurchaseFinalize::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCStorePurchaseFinalize) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.txn_id_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCStorePurchaseFinalize::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 txn_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_txn_id(&has_bits); - _impl_.txn_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCStorePurchaseFinalize::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCStorePurchaseFinalize) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 txn_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_txn_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCStorePurchaseFinalize) - return target; -} - -size_t CMsgGCStorePurchaseFinalize::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCStorePurchaseFinalize) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint64 txn_id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_txn_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCStorePurchaseFinalize::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCStorePurchaseFinalize::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCStorePurchaseFinalize::GetClassData() const { return &_class_data_; } - - -void CMsgGCStorePurchaseFinalize::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCStorePurchaseFinalize) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_txn_id()) { - _this->_internal_set_txn_id(from._internal_txn_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCStorePurchaseFinalize::CopyFrom(const CMsgGCStorePurchaseFinalize& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCStorePurchaseFinalize) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCStorePurchaseFinalize::IsInitialized() const { - return true; -} - -void CMsgGCStorePurchaseFinalize::InternalSwap(CMsgGCStorePurchaseFinalize* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.txn_id_, other->_impl_.txn_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCStorePurchaseFinalize::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[55]); -} - -// =================================================================== - -class CMsgGCStorePurchaseFinalizeResponse::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_result(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCStorePurchaseFinalizeResponse::CMsgGCStorePurchaseFinalizeResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCStorePurchaseFinalizeResponse) -} -CMsgGCStorePurchaseFinalizeResponse::CMsgGCStorePurchaseFinalizeResponse(const CMsgGCStorePurchaseFinalizeResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCStorePurchaseFinalizeResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_ids_){from._impl_.item_ids_} - , decltype(_impl_.result_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.result_ = from._impl_.result_; - // @@protoc_insertion_point(copy_constructor:CMsgGCStorePurchaseFinalizeResponse) -} - -inline void CMsgGCStorePurchaseFinalizeResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_ids_){arena} - , decltype(_impl_.result_){0u} - }; -} - -CMsgGCStorePurchaseFinalizeResponse::~CMsgGCStorePurchaseFinalizeResponse() { - // @@protoc_insertion_point(destructor:CMsgGCStorePurchaseFinalizeResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCStorePurchaseFinalizeResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.item_ids_.~RepeatedField(); -} - -void CMsgGCStorePurchaseFinalizeResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCStorePurchaseFinalizeResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCStorePurchaseFinalizeResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.item_ids_.Clear(); - _impl_.result_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCStorePurchaseFinalizeResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 result = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_result(&has_bits); - _impl_.result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint64 item_ids = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_item_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); - } else if (static_cast(tag) == 18) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_item_ids(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCStorePurchaseFinalizeResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCStorePurchaseFinalizeResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 result = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_result(), target); - } - - // repeated uint64 item_ids = 2; - for (int i = 0, n = this->_internal_item_ids_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_item_ids(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCStorePurchaseFinalizeResponse) - return target; -} - -size_t CMsgGCStorePurchaseFinalizeResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCStorePurchaseFinalizeResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint64 item_ids = 2; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt64Size(this->_impl_.item_ids_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_item_ids_size()); - total_size += data_size; - } - - // optional uint32 result = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_result()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCStorePurchaseFinalizeResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCStorePurchaseFinalizeResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCStorePurchaseFinalizeResponse::GetClassData() const { return &_class_data_; } - - -void CMsgGCStorePurchaseFinalizeResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCStorePurchaseFinalizeResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.item_ids_.MergeFrom(from._impl_.item_ids_); - if (from._internal_has_result()) { - _this->_internal_set_result(from._internal_result()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCStorePurchaseFinalizeResponse::CopyFrom(const CMsgGCStorePurchaseFinalizeResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCStorePurchaseFinalizeResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCStorePurchaseFinalizeResponse::IsInitialized() const { - return true; -} - -void CMsgGCStorePurchaseFinalizeResponse::InternalSwap(CMsgGCStorePurchaseFinalizeResponse* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.item_ids_.InternalSwap(&other->_impl_.item_ids_); - swap(_impl_.result_, other->_impl_.result_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCStorePurchaseFinalizeResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[56]); -} - -// =================================================================== - -class CMsgGCBannedWordListRequest::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ban_list_group_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_word_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCBannedWordListRequest::CMsgGCBannedWordListRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCBannedWordListRequest) -} -CMsgGCBannedWordListRequest::CMsgGCBannedWordListRequest(const CMsgGCBannedWordListRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCBannedWordListRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ban_list_group_id_){} - , decltype(_impl_.word_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.ban_list_group_id_, &from._impl_.ban_list_group_id_, - static_cast(reinterpret_cast(&_impl_.word_id_) - - reinterpret_cast(&_impl_.ban_list_group_id_)) + sizeof(_impl_.word_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCBannedWordListRequest) -} - -inline void CMsgGCBannedWordListRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ban_list_group_id_){0u} - , decltype(_impl_.word_id_){0u} - }; -} - -CMsgGCBannedWordListRequest::~CMsgGCBannedWordListRequest() { - // @@protoc_insertion_point(destructor:CMsgGCBannedWordListRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCBannedWordListRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCBannedWordListRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCBannedWordListRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCBannedWordListRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.ban_list_group_id_, 0, static_cast( - reinterpret_cast(&_impl_.word_id_) - - reinterpret_cast(&_impl_.ban_list_group_id_)) + sizeof(_impl_.word_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCBannedWordListRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 ban_list_group_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_ban_list_group_id(&has_bits); - _impl_.ban_list_group_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 word_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_word_id(&has_bits); - _impl_.word_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCBannedWordListRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCBannedWordListRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 ban_list_group_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_ban_list_group_id(), target); - } - - // optional uint32 word_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_word_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCBannedWordListRequest) - return target; -} - -size_t CMsgGCBannedWordListRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCBannedWordListRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 ban_list_group_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ban_list_group_id()); - } - - // optional uint32 word_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_word_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCBannedWordListRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCBannedWordListRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCBannedWordListRequest::GetClassData() const { return &_class_data_; } - - -void CMsgGCBannedWordListRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCBannedWordListRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.ban_list_group_id_ = from._impl_.ban_list_group_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.word_id_ = from._impl_.word_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCBannedWordListRequest::CopyFrom(const CMsgGCBannedWordListRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCBannedWordListRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCBannedWordListRequest::IsInitialized() const { - return true; -} - -void CMsgGCBannedWordListRequest::InternalSwap(CMsgGCBannedWordListRequest* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCBannedWordListRequest, _impl_.word_id_) - + sizeof(CMsgGCBannedWordListRequest::_impl_.word_id_) - - PROTOBUF_FIELD_OFFSET(CMsgGCBannedWordListRequest, _impl_.ban_list_group_id_)>( - reinterpret_cast(&_impl_.ban_list_group_id_), - reinterpret_cast(&other->_impl_.ban_list_group_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCBannedWordListRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[57]); -} - -// =================================================================== - -class CMsgGCRequestAnnouncements::_Internal { - public: -}; - -CMsgGCRequestAnnouncements::CMsgGCRequestAnnouncements(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CMsgGCRequestAnnouncements) -} -CMsgGCRequestAnnouncements::CMsgGCRequestAnnouncements(const CMsgGCRequestAnnouncements& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CMsgGCRequestAnnouncements* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgGCRequestAnnouncements) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCRequestAnnouncements::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCRequestAnnouncements::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCRequestAnnouncements::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[58]); -} - -// =================================================================== - -class CMsgGCRequestAnnouncementsResponse::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_announcement_title(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_announcement(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_nextmatch_title(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_nextmatch(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgGCRequestAnnouncementsResponse::CMsgGCRequestAnnouncementsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCRequestAnnouncementsResponse) -} -CMsgGCRequestAnnouncementsResponse::CMsgGCRequestAnnouncementsResponse(const CMsgGCRequestAnnouncementsResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCRequestAnnouncementsResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.announcement_title_){} - , decltype(_impl_.announcement_){} - , decltype(_impl_.nextmatch_title_){} - , decltype(_impl_.nextmatch_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.announcement_title_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.announcement_title_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_announcement_title()) { - _this->_impl_.announcement_title_.Set(from._internal_announcement_title(), - _this->GetArenaForAllocation()); - } - _impl_.announcement_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.announcement_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_announcement()) { - _this->_impl_.announcement_.Set(from._internal_announcement(), - _this->GetArenaForAllocation()); - } - _impl_.nextmatch_title_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nextmatch_title_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_nextmatch_title()) { - _this->_impl_.nextmatch_title_.Set(from._internal_nextmatch_title(), - _this->GetArenaForAllocation()); - } - _impl_.nextmatch_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nextmatch_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_nextmatch()) { - _this->_impl_.nextmatch_.Set(from._internal_nextmatch(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CMsgGCRequestAnnouncementsResponse) -} - -inline void CMsgGCRequestAnnouncementsResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.announcement_title_){} - , decltype(_impl_.announcement_){} - , decltype(_impl_.nextmatch_title_){} - , decltype(_impl_.nextmatch_){} - }; - _impl_.announcement_title_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.announcement_title_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.announcement_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.announcement_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nextmatch_title_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nextmatch_title_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nextmatch_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nextmatch_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCRequestAnnouncementsResponse::~CMsgGCRequestAnnouncementsResponse() { - // @@protoc_insertion_point(destructor:CMsgGCRequestAnnouncementsResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCRequestAnnouncementsResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.announcement_title_.Destroy(); - _impl_.announcement_.Destroy(); - _impl_.nextmatch_title_.Destroy(); - _impl_.nextmatch_.Destroy(); -} - -void CMsgGCRequestAnnouncementsResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCRequestAnnouncementsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCRequestAnnouncementsResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.announcement_title_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.announcement_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.nextmatch_title_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.nextmatch_.ClearNonDefaultToEmpty(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCRequestAnnouncementsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string announcement_title = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_announcement_title(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCRequestAnnouncementsResponse.announcement_title"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string announcement = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_announcement(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCRequestAnnouncementsResponse.announcement"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string nextmatch_title = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_nextmatch_title(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCRequestAnnouncementsResponse.nextmatch_title"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string nextmatch = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_nextmatch(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCRequestAnnouncementsResponse.nextmatch"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCRequestAnnouncementsResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCRequestAnnouncementsResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string announcement_title = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_announcement_title().data(), static_cast(this->_internal_announcement_title().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCRequestAnnouncementsResponse.announcement_title"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_announcement_title(), target); - } - - // optional string announcement = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_announcement().data(), static_cast(this->_internal_announcement().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCRequestAnnouncementsResponse.announcement"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_announcement(), target); - } - - // optional string nextmatch_title = 3; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_nextmatch_title().data(), static_cast(this->_internal_nextmatch_title().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCRequestAnnouncementsResponse.nextmatch_title"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_nextmatch_title(), target); - } - - // optional string nextmatch = 4; - if (cached_has_bits & 0x00000008u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_nextmatch().data(), static_cast(this->_internal_nextmatch().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCRequestAnnouncementsResponse.nextmatch"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_nextmatch(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCRequestAnnouncementsResponse) - return target; -} - -size_t CMsgGCRequestAnnouncementsResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCRequestAnnouncementsResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string announcement_title = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_announcement_title()); - } - - // optional string announcement = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_announcement()); - } - - // optional string nextmatch_title = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_nextmatch_title()); - } - - // optional string nextmatch = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_nextmatch()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCRequestAnnouncementsResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCRequestAnnouncementsResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCRequestAnnouncementsResponse::GetClassData() const { return &_class_data_; } - - -void CMsgGCRequestAnnouncementsResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCRequestAnnouncementsResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_announcement_title(from._internal_announcement_title()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_announcement(from._internal_announcement()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_nextmatch_title(from._internal_nextmatch_title()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_nextmatch(from._internal_nextmatch()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCRequestAnnouncementsResponse::CopyFrom(const CMsgGCRequestAnnouncementsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCRequestAnnouncementsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCRequestAnnouncementsResponse::IsInitialized() const { - return true; -} - -void CMsgGCRequestAnnouncementsResponse::InternalSwap(CMsgGCRequestAnnouncementsResponse* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.announcement_title_, lhs_arena, - &other->_impl_.announcement_title_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.announcement_, lhs_arena, - &other->_impl_.announcement_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.nextmatch_title_, lhs_arena, - &other->_impl_.nextmatch_title_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.nextmatch_, lhs_arena, - &other->_impl_.nextmatch_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCRequestAnnouncementsResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[59]); -} - -// =================================================================== - -class CMsgGCBannedWord::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_word_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_word_type(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_word(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCBannedWord::CMsgGCBannedWord(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCBannedWord) -} -CMsgGCBannedWord::CMsgGCBannedWord(const CMsgGCBannedWord& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCBannedWord* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.word_){} - , decltype(_impl_.word_id_){} - , decltype(_impl_.word_type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.word_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.word_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_word()) { - _this->_impl_.word_.Set(from._internal_word(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.word_id_, &from._impl_.word_id_, - static_cast(reinterpret_cast(&_impl_.word_type_) - - reinterpret_cast(&_impl_.word_id_)) + sizeof(_impl_.word_type_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCBannedWord) -} - -inline void CMsgGCBannedWord::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.word_){} - , decltype(_impl_.word_id_){0u} - , decltype(_impl_.word_type_){0} - }; - _impl_.word_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.word_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCBannedWord::~CMsgGCBannedWord() { - // @@protoc_insertion_point(destructor:CMsgGCBannedWord) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCBannedWord::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.word_.Destroy(); -} - -void CMsgGCBannedWord::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCBannedWord::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCBannedWord) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.word_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.word_id_, 0, static_cast( - reinterpret_cast(&_impl_.word_type_) - - reinterpret_cast(&_impl_.word_id_)) + sizeof(_impl_.word_type_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCBannedWord::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 word_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_word_id(&has_bits); - _impl_.word_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .GC_BannedWordType word_type = 2 [default = GC_BANNED_WORD_DISABLE_WORD]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::GC_BannedWordType_IsValid(val))) { - _internal_set_word_type(static_cast<::GC_BannedWordType>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional string word = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_word(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCBannedWord.word"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCBannedWord::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCBannedWord) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 word_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_word_id(), target); - } - - // optional .GC_BannedWordType word_type = 2 [default = GC_BANNED_WORD_DISABLE_WORD]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this->_internal_word_type(), target); - } - - // optional string word = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_word().data(), static_cast(this->_internal_word().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCBannedWord.word"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_word(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCBannedWord) - return target; -} - -size_t CMsgGCBannedWord::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCBannedWord) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string word = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_word()); - } - - // optional uint32 word_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_word_id()); - } - - // optional .GC_BannedWordType word_type = 2 [default = GC_BANNED_WORD_DISABLE_WORD]; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_word_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCBannedWord::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCBannedWord::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCBannedWord::GetClassData() const { return &_class_data_; } - - -void CMsgGCBannedWord::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCBannedWord) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_word(from._internal_word()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.word_id_ = from._impl_.word_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.word_type_ = from._impl_.word_type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCBannedWord::CopyFrom(const CMsgGCBannedWord& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCBannedWord) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCBannedWord::IsInitialized() const { - return true; -} - -void CMsgGCBannedWord::InternalSwap(CMsgGCBannedWord* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.word_, lhs_arena, - &other->_impl_.word_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCBannedWord, _impl_.word_type_) - + sizeof(CMsgGCBannedWord::_impl_.word_type_) - - PROTOBUF_FIELD_OFFSET(CMsgGCBannedWord, _impl_.word_id_)>( - reinterpret_cast(&_impl_.word_id_), - reinterpret_cast(&other->_impl_.word_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCBannedWord::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[60]); -} - -// =================================================================== - -class CMsgGCBannedWordListResponse::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ban_list_group_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCBannedWordListResponse::CMsgGCBannedWordListResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCBannedWordListResponse) -} -CMsgGCBannedWordListResponse::CMsgGCBannedWordListResponse(const CMsgGCBannedWordListResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCBannedWordListResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.word_list_){from._impl_.word_list_} - , decltype(_impl_.ban_list_group_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.ban_list_group_id_ = from._impl_.ban_list_group_id_; - // @@protoc_insertion_point(copy_constructor:CMsgGCBannedWordListResponse) -} - -inline void CMsgGCBannedWordListResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.word_list_){arena} - , decltype(_impl_.ban_list_group_id_){0u} - }; -} - -CMsgGCBannedWordListResponse::~CMsgGCBannedWordListResponse() { - // @@protoc_insertion_point(destructor:CMsgGCBannedWordListResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCBannedWordListResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.word_list_.~RepeatedPtrField(); -} - -void CMsgGCBannedWordListResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCBannedWordListResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCBannedWordListResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.word_list_.Clear(); - _impl_.ban_list_group_id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCBannedWordListResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 ban_list_group_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_ban_list_group_id(&has_bits); - _impl_.ban_list_group_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgGCBannedWord word_list = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_word_list(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCBannedWordListResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCBannedWordListResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 ban_list_group_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_ban_list_group_id(), target); - } - - // repeated .CMsgGCBannedWord word_list = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_word_list_size()); i < n; i++) { - const auto& repfield = this->_internal_word_list(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCBannedWordListResponse) - return target; -} - -size_t CMsgGCBannedWordListResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCBannedWordListResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgGCBannedWord word_list = 2; - total_size += 1UL * this->_internal_word_list_size(); - for (const auto& msg : this->_impl_.word_list_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional uint32 ban_list_group_id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ban_list_group_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCBannedWordListResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCBannedWordListResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCBannedWordListResponse::GetClassData() const { return &_class_data_; } - - -void CMsgGCBannedWordListResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCBannedWordListResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.word_list_.MergeFrom(from._impl_.word_list_); - if (from._internal_has_ban_list_group_id()) { - _this->_internal_set_ban_list_group_id(from._internal_ban_list_group_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCBannedWordListResponse::CopyFrom(const CMsgGCBannedWordListResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCBannedWordListResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCBannedWordListResponse::IsInitialized() const { - return true; -} - -void CMsgGCBannedWordListResponse::InternalSwap(CMsgGCBannedWordListResponse* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.word_list_.InternalSwap(&other->_impl_.word_list_); - swap(_impl_.ban_list_group_id_, other->_impl_.ban_list_group_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCBannedWordListResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[61]); -} - -// =================================================================== - -class CMsgGCToGCBannedWordListBroadcast::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgGCBannedWordListResponse& broadcast(const CMsgGCToGCBannedWordListBroadcast* msg); - static void set_has_broadcast(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgGCBannedWordListResponse& -CMsgGCToGCBannedWordListBroadcast::_Internal::broadcast(const CMsgGCToGCBannedWordListBroadcast* msg) { - return *msg->_impl_.broadcast_; -} -CMsgGCToGCBannedWordListBroadcast::CMsgGCToGCBannedWordListBroadcast(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCToGCBannedWordListBroadcast) -} -CMsgGCToGCBannedWordListBroadcast::CMsgGCToGCBannedWordListBroadcast(const CMsgGCToGCBannedWordListBroadcast& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCToGCBannedWordListBroadcast* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.broadcast_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_broadcast()) { - _this->_impl_.broadcast_ = new ::CMsgGCBannedWordListResponse(*from._impl_.broadcast_); - } - // @@protoc_insertion_point(copy_constructor:CMsgGCToGCBannedWordListBroadcast) -} - -inline void CMsgGCToGCBannedWordListBroadcast::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.broadcast_){nullptr} - }; -} - -CMsgGCToGCBannedWordListBroadcast::~CMsgGCToGCBannedWordListBroadcast() { - // @@protoc_insertion_point(destructor:CMsgGCToGCBannedWordListBroadcast) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCToGCBannedWordListBroadcast::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.broadcast_; -} - -void CMsgGCToGCBannedWordListBroadcast::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCToGCBannedWordListBroadcast::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCToGCBannedWordListBroadcast) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.broadcast_ != nullptr); - _impl_.broadcast_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCToGCBannedWordListBroadcast::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgGCBannedWordListResponse broadcast = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_broadcast(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCToGCBannedWordListBroadcast::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToGCBannedWordListBroadcast) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgGCBannedWordListResponse broadcast = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::broadcast(this), - _Internal::broadcast(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCToGCBannedWordListBroadcast) - return target; -} - -size_t CMsgGCToGCBannedWordListBroadcast::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCToGCBannedWordListBroadcast) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CMsgGCBannedWordListResponse broadcast = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.broadcast_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCBannedWordListBroadcast::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCToGCBannedWordListBroadcast::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCBannedWordListBroadcast::GetClassData() const { return &_class_data_; } - - -void CMsgGCToGCBannedWordListBroadcast::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCToGCBannedWordListBroadcast) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_broadcast()) { - _this->_internal_mutable_broadcast()->::CMsgGCBannedWordListResponse::MergeFrom( - from._internal_broadcast()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCToGCBannedWordListBroadcast::CopyFrom(const CMsgGCToGCBannedWordListBroadcast& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToGCBannedWordListBroadcast) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCToGCBannedWordListBroadcast::IsInitialized() const { - return true; -} - -void CMsgGCToGCBannedWordListBroadcast::InternalSwap(CMsgGCToGCBannedWordListBroadcast* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.broadcast_, other->_impl_.broadcast_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCBannedWordListBroadcast::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[62]); -} - -// =================================================================== - -class CMsgGCToGCBannedWordListUpdated::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_group_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCToGCBannedWordListUpdated::CMsgGCToGCBannedWordListUpdated(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCToGCBannedWordListUpdated) -} -CMsgGCToGCBannedWordListUpdated::CMsgGCToGCBannedWordListUpdated(const CMsgGCToGCBannedWordListUpdated& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCToGCBannedWordListUpdated* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.group_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.group_id_ = from._impl_.group_id_; - // @@protoc_insertion_point(copy_constructor:CMsgGCToGCBannedWordListUpdated) -} - -inline void CMsgGCToGCBannedWordListUpdated::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.group_id_){0u} - }; -} - -CMsgGCToGCBannedWordListUpdated::~CMsgGCToGCBannedWordListUpdated() { - // @@protoc_insertion_point(destructor:CMsgGCToGCBannedWordListUpdated) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCToGCBannedWordListUpdated::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCToGCBannedWordListUpdated::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCToGCBannedWordListUpdated::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCToGCBannedWordListUpdated) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.group_id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCToGCBannedWordListUpdated::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 group_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_group_id(&has_bits); - _impl_.group_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCToGCBannedWordListUpdated::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToGCBannedWordListUpdated) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 group_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_group_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCToGCBannedWordListUpdated) - return target; -} - -size_t CMsgGCToGCBannedWordListUpdated::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCToGCBannedWordListUpdated) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 group_id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_group_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCBannedWordListUpdated::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCToGCBannedWordListUpdated::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCBannedWordListUpdated::GetClassData() const { return &_class_data_; } - - -void CMsgGCToGCBannedWordListUpdated::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCToGCBannedWordListUpdated) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_group_id()) { - _this->_internal_set_group_id(from._internal_group_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCToGCBannedWordListUpdated::CopyFrom(const CMsgGCToGCBannedWordListUpdated& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToGCBannedWordListUpdated) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCToGCBannedWordListUpdated::IsInitialized() const { - return true; -} - -void CMsgGCToGCBannedWordListUpdated::InternalSwap(CMsgGCToGCBannedWordListUpdated* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.group_id_, other->_impl_.group_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCBannedWordListUpdated::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[63]); -} - -// =================================================================== - -class CMsgGCToGCDirtySDOCache::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_sdo_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_key_uint64(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCToGCDirtySDOCache::CMsgGCToGCDirtySDOCache(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCToGCDirtySDOCache) -} -CMsgGCToGCDirtySDOCache::CMsgGCToGCDirtySDOCache(const CMsgGCToGCDirtySDOCache& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCToGCDirtySDOCache* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.key_uint64_){} - , decltype(_impl_.sdo_type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.key_uint64_, &from._impl_.key_uint64_, - static_cast(reinterpret_cast(&_impl_.sdo_type_) - - reinterpret_cast(&_impl_.key_uint64_)) + sizeof(_impl_.sdo_type_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCToGCDirtySDOCache) -} - -inline void CMsgGCToGCDirtySDOCache::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.key_uint64_){uint64_t{0u}} - , decltype(_impl_.sdo_type_){0u} - }; -} - -CMsgGCToGCDirtySDOCache::~CMsgGCToGCDirtySDOCache() { - // @@protoc_insertion_point(destructor:CMsgGCToGCDirtySDOCache) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCToGCDirtySDOCache::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCToGCDirtySDOCache::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCToGCDirtySDOCache::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCToGCDirtySDOCache) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.key_uint64_, 0, static_cast( - reinterpret_cast(&_impl_.sdo_type_) - - reinterpret_cast(&_impl_.key_uint64_)) + sizeof(_impl_.sdo_type_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCToGCDirtySDOCache::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 sdo_type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_sdo_type(&has_bits); - _impl_.sdo_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 key_uint64 = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_key_uint64(&has_bits); - _impl_.key_uint64_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCToGCDirtySDOCache::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToGCDirtySDOCache) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 sdo_type = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_sdo_type(), target); - } - - // optional uint64 key_uint64 = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_key_uint64(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCToGCDirtySDOCache) - return target; -} - -size_t CMsgGCToGCDirtySDOCache::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCToGCDirtySDOCache) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 key_uint64 = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_key_uint64()); - } - - // optional uint32 sdo_type = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sdo_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCDirtySDOCache::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCToGCDirtySDOCache::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCDirtySDOCache::GetClassData() const { return &_class_data_; } - - -void CMsgGCToGCDirtySDOCache::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCToGCDirtySDOCache) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.key_uint64_ = from._impl_.key_uint64_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.sdo_type_ = from._impl_.sdo_type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCToGCDirtySDOCache::CopyFrom(const CMsgGCToGCDirtySDOCache& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToGCDirtySDOCache) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCToGCDirtySDOCache::IsInitialized() const { - return true; -} - -void CMsgGCToGCDirtySDOCache::InternalSwap(CMsgGCToGCDirtySDOCache* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCToGCDirtySDOCache, _impl_.sdo_type_) - + sizeof(CMsgGCToGCDirtySDOCache::_impl_.sdo_type_) - - PROTOBUF_FIELD_OFFSET(CMsgGCToGCDirtySDOCache, _impl_.key_uint64_)>( - reinterpret_cast(&_impl_.key_uint64_), - reinterpret_cast(&other->_impl_.key_uint64_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCDirtySDOCache::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[64]); -} - -// =================================================================== - -class CMsgGCToGCDirtyMultipleSDOCache::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_sdo_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCToGCDirtyMultipleSDOCache::CMsgGCToGCDirtyMultipleSDOCache(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCToGCDirtyMultipleSDOCache) -} -CMsgGCToGCDirtyMultipleSDOCache::CMsgGCToGCDirtyMultipleSDOCache(const CMsgGCToGCDirtyMultipleSDOCache& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCToGCDirtyMultipleSDOCache* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.key_uint64_){from._impl_.key_uint64_} - , decltype(_impl_.sdo_type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.sdo_type_ = from._impl_.sdo_type_; - // @@protoc_insertion_point(copy_constructor:CMsgGCToGCDirtyMultipleSDOCache) -} - -inline void CMsgGCToGCDirtyMultipleSDOCache::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.key_uint64_){arena} - , decltype(_impl_.sdo_type_){0u} - }; -} - -CMsgGCToGCDirtyMultipleSDOCache::~CMsgGCToGCDirtyMultipleSDOCache() { - // @@protoc_insertion_point(destructor:CMsgGCToGCDirtyMultipleSDOCache) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCToGCDirtyMultipleSDOCache::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.key_uint64_.~RepeatedField(); -} - -void CMsgGCToGCDirtyMultipleSDOCache::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCToGCDirtyMultipleSDOCache::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCToGCDirtyMultipleSDOCache) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.key_uint64_.Clear(); - _impl_.sdo_type_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCToGCDirtyMultipleSDOCache::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 sdo_type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_sdo_type(&has_bits); - _impl_.sdo_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint64 key_uint64 = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_key_uint64(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); - } else if (static_cast(tag) == 18) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_key_uint64(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCToGCDirtyMultipleSDOCache::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToGCDirtyMultipleSDOCache) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 sdo_type = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_sdo_type(), target); - } - - // repeated uint64 key_uint64 = 2; - for (int i = 0, n = this->_internal_key_uint64_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_key_uint64(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCToGCDirtyMultipleSDOCache) - return target; -} - -size_t CMsgGCToGCDirtyMultipleSDOCache::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCToGCDirtyMultipleSDOCache) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint64 key_uint64 = 2; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt64Size(this->_impl_.key_uint64_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_key_uint64_size()); - total_size += data_size; - } - - // optional uint32 sdo_type = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sdo_type()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCDirtyMultipleSDOCache::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCToGCDirtyMultipleSDOCache::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCDirtyMultipleSDOCache::GetClassData() const { return &_class_data_; } - - -void CMsgGCToGCDirtyMultipleSDOCache::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCToGCDirtyMultipleSDOCache) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.key_uint64_.MergeFrom(from._impl_.key_uint64_); - if (from._internal_has_sdo_type()) { - _this->_internal_set_sdo_type(from._internal_sdo_type()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCToGCDirtyMultipleSDOCache::CopyFrom(const CMsgGCToGCDirtyMultipleSDOCache& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToGCDirtyMultipleSDOCache) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCToGCDirtyMultipleSDOCache::IsInitialized() const { - return true; -} - -void CMsgGCToGCDirtyMultipleSDOCache::InternalSwap(CMsgGCToGCDirtyMultipleSDOCache* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.key_uint64_.InternalSwap(&other->_impl_.key_uint64_); - swap(_impl_.sdo_type_, other->_impl_.sdo_type_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCDirtyMultipleSDOCache::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[65]); -} - -// =================================================================== - -class CMsgGCCollectItem::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_collection_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_subject_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCollectItem::CMsgGCCollectItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCollectItem) -} -CMsgGCCollectItem::CMsgGCCollectItem(const CMsgGCCollectItem& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCollectItem* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.collection_item_id_){} - , decltype(_impl_.subject_item_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.collection_item_id_, &from._impl_.collection_item_id_, - static_cast(reinterpret_cast(&_impl_.subject_item_id_) - - reinterpret_cast(&_impl_.collection_item_id_)) + sizeof(_impl_.subject_item_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCollectItem) -} - -inline void CMsgGCCollectItem::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.collection_item_id_){uint64_t{0u}} - , decltype(_impl_.subject_item_id_){uint64_t{0u}} - }; -} - -CMsgGCCollectItem::~CMsgGCCollectItem() { - // @@protoc_insertion_point(destructor:CMsgGCCollectItem) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCollectItem::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCollectItem::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCollectItem::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCollectItem) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.collection_item_id_, 0, static_cast( - reinterpret_cast(&_impl_.subject_item_id_) - - reinterpret_cast(&_impl_.collection_item_id_)) + sizeof(_impl_.subject_item_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCollectItem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 collection_item_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_collection_item_id(&has_bits); - _impl_.collection_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 subject_item_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_subject_item_id(&has_bits); - _impl_.subject_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCollectItem::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCollectItem) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 collection_item_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_collection_item_id(), target); - } - - // optional uint64 subject_item_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_subject_item_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCollectItem) - return target; -} - -size_t CMsgGCCollectItem::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCollectItem) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 collection_item_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_collection_item_id()); - } - - // optional uint64 subject_item_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_subject_item_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCollectItem::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCollectItem::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCollectItem::GetClassData() const { return &_class_data_; } - - -void CMsgGCCollectItem::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCollectItem) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.collection_item_id_ = from._impl_.collection_item_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.subject_item_id_ = from._impl_.subject_item_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCollectItem::CopyFrom(const CMsgGCCollectItem& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCollectItem) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCollectItem::IsInitialized() const { - return true; -} - -void CMsgGCCollectItem::InternalSwap(CMsgGCCollectItem* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCollectItem, _impl_.subject_item_id_) - + sizeof(CMsgGCCollectItem::_impl_.subject_item_id_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCollectItem, _impl_.collection_item_id_)>( - reinterpret_cast(&_impl_.collection_item_id_), - reinterpret_cast(&other->_impl_.collection_item_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCollectItem::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[66]); -} - -// =================================================================== - -class CMsgSDONoMemcached::_Internal { - public: -}; - -CMsgSDONoMemcached::CMsgSDONoMemcached(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CMsgSDONoMemcached) -} -CMsgSDONoMemcached::CMsgSDONoMemcached(const CMsgSDONoMemcached& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CMsgSDONoMemcached* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgSDONoMemcached) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSDONoMemcached::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSDONoMemcached::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSDONoMemcached::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[67]); -} - -// =================================================================== - -class CMsgGCToGCUpdateSQLKeyValue::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_key_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCToGCUpdateSQLKeyValue::CMsgGCToGCUpdateSQLKeyValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCToGCUpdateSQLKeyValue) -} -CMsgGCToGCUpdateSQLKeyValue::CMsgGCToGCUpdateSQLKeyValue(const CMsgGCToGCUpdateSQLKeyValue& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCToGCUpdateSQLKeyValue* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.key_name_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.key_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.key_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_key_name()) { - _this->_impl_.key_name_.Set(from._internal_key_name(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CMsgGCToGCUpdateSQLKeyValue) -} - -inline void CMsgGCToGCUpdateSQLKeyValue::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.key_name_){} - }; - _impl_.key_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.key_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCToGCUpdateSQLKeyValue::~CMsgGCToGCUpdateSQLKeyValue() { - // @@protoc_insertion_point(destructor:CMsgGCToGCUpdateSQLKeyValue) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCToGCUpdateSQLKeyValue::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.key_name_.Destroy(); -} - -void CMsgGCToGCUpdateSQLKeyValue::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCToGCUpdateSQLKeyValue::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCToGCUpdateSQLKeyValue) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.key_name_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCToGCUpdateSQLKeyValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string key_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_key_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCToGCUpdateSQLKeyValue.key_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCToGCUpdateSQLKeyValue::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToGCUpdateSQLKeyValue) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string key_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_key_name().data(), static_cast(this->_internal_key_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCToGCUpdateSQLKeyValue.key_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_key_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCToGCUpdateSQLKeyValue) - return target; -} - -size_t CMsgGCToGCUpdateSQLKeyValue::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCToGCUpdateSQLKeyValue) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string key_name = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_key_name()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCUpdateSQLKeyValue::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCToGCUpdateSQLKeyValue::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCUpdateSQLKeyValue::GetClassData() const { return &_class_data_; } - - -void CMsgGCToGCUpdateSQLKeyValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCToGCUpdateSQLKeyValue) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_key_name()) { - _this->_internal_set_key_name(from._internal_key_name()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCToGCUpdateSQLKeyValue::CopyFrom(const CMsgGCToGCUpdateSQLKeyValue& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToGCUpdateSQLKeyValue) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCToGCUpdateSQLKeyValue::IsInitialized() const { - return true; -} - -void CMsgGCToGCUpdateSQLKeyValue::InternalSwap(CMsgGCToGCUpdateSQLKeyValue* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.key_name_, lhs_arena, - &other->_impl_.key_name_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCUpdateSQLKeyValue::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[68]); -} - -// =================================================================== - -class CMsgGCToGCIsTrustedServer::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCToGCIsTrustedServer::CMsgGCToGCIsTrustedServer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCToGCIsTrustedServer) -} -CMsgGCToGCIsTrustedServer::CMsgGCToGCIsTrustedServer(const CMsgGCToGCIsTrustedServer& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCToGCIsTrustedServer* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steam_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.steam_id_ = from._impl_.steam_id_; - // @@protoc_insertion_point(copy_constructor:CMsgGCToGCIsTrustedServer) -} - -inline void CMsgGCToGCIsTrustedServer::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steam_id_){uint64_t{0u}} - }; -} - -CMsgGCToGCIsTrustedServer::~CMsgGCToGCIsTrustedServer() { - // @@protoc_insertion_point(destructor:CMsgGCToGCIsTrustedServer) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCToGCIsTrustedServer::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCToGCIsTrustedServer::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCToGCIsTrustedServer::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCToGCIsTrustedServer) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.steam_id_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCToGCIsTrustedServer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 steam_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_steam_id(&has_bits); - _impl_.steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCToGCIsTrustedServer::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToGCIsTrustedServer) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 steam_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steam_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCToGCIsTrustedServer) - return target; -} - -size_t CMsgGCToGCIsTrustedServer::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCToGCIsTrustedServer) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional fixed64 steam_id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCIsTrustedServer::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCToGCIsTrustedServer::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCIsTrustedServer::GetClassData() const { return &_class_data_; } - - -void CMsgGCToGCIsTrustedServer::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCToGCIsTrustedServer) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_steam_id()) { - _this->_internal_set_steam_id(from._internal_steam_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCToGCIsTrustedServer::CopyFrom(const CMsgGCToGCIsTrustedServer& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToGCIsTrustedServer) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCToGCIsTrustedServer::IsInitialized() const { - return true; -} - -void CMsgGCToGCIsTrustedServer::InternalSwap(CMsgGCToGCIsTrustedServer* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.steam_id_, other->_impl_.steam_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCIsTrustedServer::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[69]); -} - -// =================================================================== - -class CMsgGCToGCIsTrustedServerResponse::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_is_trusted(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCToGCIsTrustedServerResponse::CMsgGCToGCIsTrustedServerResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCToGCIsTrustedServerResponse) -} -CMsgGCToGCIsTrustedServerResponse::CMsgGCToGCIsTrustedServerResponse(const CMsgGCToGCIsTrustedServerResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCToGCIsTrustedServerResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.is_trusted_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.is_trusted_ = from._impl_.is_trusted_; - // @@protoc_insertion_point(copy_constructor:CMsgGCToGCIsTrustedServerResponse) -} - -inline void CMsgGCToGCIsTrustedServerResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.is_trusted_){false} - }; -} - -CMsgGCToGCIsTrustedServerResponse::~CMsgGCToGCIsTrustedServerResponse() { - // @@protoc_insertion_point(destructor:CMsgGCToGCIsTrustedServerResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCToGCIsTrustedServerResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCToGCIsTrustedServerResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCToGCIsTrustedServerResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCToGCIsTrustedServerResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.is_trusted_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCToGCIsTrustedServerResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool is_trusted = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_is_trusted(&has_bits); - _impl_.is_trusted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCToGCIsTrustedServerResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToGCIsTrustedServerResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool is_trusted = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_is_trusted(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCToGCIsTrustedServerResponse) - return target; -} - -size_t CMsgGCToGCIsTrustedServerResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCToGCIsTrustedServerResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bool is_trusted = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCIsTrustedServerResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCToGCIsTrustedServerResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCIsTrustedServerResponse::GetClassData() const { return &_class_data_; } - - -void CMsgGCToGCIsTrustedServerResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCToGCIsTrustedServerResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_is_trusted()) { - _this->_internal_set_is_trusted(from._internal_is_trusted()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCToGCIsTrustedServerResponse::CopyFrom(const CMsgGCToGCIsTrustedServerResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToGCIsTrustedServerResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCToGCIsTrustedServerResponse::IsInitialized() const { - return true; -} - -void CMsgGCToGCIsTrustedServerResponse::InternalSwap(CMsgGCToGCIsTrustedServerResponse* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.is_trusted_, other->_impl_.is_trusted_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCIsTrustedServerResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[70]); -} - -// =================================================================== - -class CMsgGCToGCBroadcastConsoleCommand::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_con_command(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCToGCBroadcastConsoleCommand::CMsgGCToGCBroadcastConsoleCommand(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCToGCBroadcastConsoleCommand) -} -CMsgGCToGCBroadcastConsoleCommand::CMsgGCToGCBroadcastConsoleCommand(const CMsgGCToGCBroadcastConsoleCommand& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCToGCBroadcastConsoleCommand* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.con_command_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.con_command_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.con_command_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_con_command()) { - _this->_impl_.con_command_.Set(from._internal_con_command(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CMsgGCToGCBroadcastConsoleCommand) -} - -inline void CMsgGCToGCBroadcastConsoleCommand::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.con_command_){} - }; - _impl_.con_command_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.con_command_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCToGCBroadcastConsoleCommand::~CMsgGCToGCBroadcastConsoleCommand() { - // @@protoc_insertion_point(destructor:CMsgGCToGCBroadcastConsoleCommand) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCToGCBroadcastConsoleCommand::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.con_command_.Destroy(); -} - -void CMsgGCToGCBroadcastConsoleCommand::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCToGCBroadcastConsoleCommand::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCToGCBroadcastConsoleCommand) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.con_command_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCToGCBroadcastConsoleCommand::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string con_command = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_con_command(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCToGCBroadcastConsoleCommand.con_command"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCToGCBroadcastConsoleCommand::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToGCBroadcastConsoleCommand) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string con_command = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_con_command().data(), static_cast(this->_internal_con_command().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCToGCBroadcastConsoleCommand.con_command"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_con_command(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCToGCBroadcastConsoleCommand) - return target; -} - -size_t CMsgGCToGCBroadcastConsoleCommand::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCToGCBroadcastConsoleCommand) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string con_command = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_con_command()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCBroadcastConsoleCommand::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCToGCBroadcastConsoleCommand::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCBroadcastConsoleCommand::GetClassData() const { return &_class_data_; } - - -void CMsgGCToGCBroadcastConsoleCommand::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCToGCBroadcastConsoleCommand) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_con_command()) { - _this->_internal_set_con_command(from._internal_con_command()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCToGCBroadcastConsoleCommand::CopyFrom(const CMsgGCToGCBroadcastConsoleCommand& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToGCBroadcastConsoleCommand) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCToGCBroadcastConsoleCommand::IsInitialized() const { - return true; -} - -void CMsgGCToGCBroadcastConsoleCommand::InternalSwap(CMsgGCToGCBroadcastConsoleCommand* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.con_command_, lhs_arena, - &other->_impl_.con_command_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCBroadcastConsoleCommand::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[71]); -} - -// =================================================================== - -class CMsgGCServerVersionUpdated::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_server_version(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCServerVersionUpdated::CMsgGCServerVersionUpdated(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCServerVersionUpdated) -} -CMsgGCServerVersionUpdated::CMsgGCServerVersionUpdated(const CMsgGCServerVersionUpdated& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCServerVersionUpdated* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.server_version_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.server_version_ = from._impl_.server_version_; - // @@protoc_insertion_point(copy_constructor:CMsgGCServerVersionUpdated) -} - -inline void CMsgGCServerVersionUpdated::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.server_version_){0u} - }; -} - -CMsgGCServerVersionUpdated::~CMsgGCServerVersionUpdated() { - // @@protoc_insertion_point(destructor:CMsgGCServerVersionUpdated) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCServerVersionUpdated::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCServerVersionUpdated::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCServerVersionUpdated::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCServerVersionUpdated) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.server_version_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCServerVersionUpdated::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 server_version = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_server_version(&has_bits); - _impl_.server_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCServerVersionUpdated::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCServerVersionUpdated) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 server_version = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_server_version(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCServerVersionUpdated) - return target; -} - -size_t CMsgGCServerVersionUpdated::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCServerVersionUpdated) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 server_version = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_version()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCServerVersionUpdated::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCServerVersionUpdated::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCServerVersionUpdated::GetClassData() const { return &_class_data_; } - - -void CMsgGCServerVersionUpdated::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCServerVersionUpdated) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_server_version()) { - _this->_internal_set_server_version(from._internal_server_version()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCServerVersionUpdated::CopyFrom(const CMsgGCServerVersionUpdated& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCServerVersionUpdated) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCServerVersionUpdated::IsInitialized() const { - return true; -} - -void CMsgGCServerVersionUpdated::InternalSwap(CMsgGCServerVersionUpdated* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.server_version_, other->_impl_.server_version_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCServerVersionUpdated::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[72]); -} - -// =================================================================== - -class CMsgGCClientVersionUpdated::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_client_version(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCClientVersionUpdated::CMsgGCClientVersionUpdated(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCClientVersionUpdated) -} -CMsgGCClientVersionUpdated::CMsgGCClientVersionUpdated(const CMsgGCClientVersionUpdated& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCClientVersionUpdated* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.client_version_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.client_version_ = from._impl_.client_version_; - // @@protoc_insertion_point(copy_constructor:CMsgGCClientVersionUpdated) -} - -inline void CMsgGCClientVersionUpdated::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.client_version_){0u} - }; -} - -CMsgGCClientVersionUpdated::~CMsgGCClientVersionUpdated() { - // @@protoc_insertion_point(destructor:CMsgGCClientVersionUpdated) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCClientVersionUpdated::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCClientVersionUpdated::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCClientVersionUpdated::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCClientVersionUpdated) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.client_version_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCClientVersionUpdated::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 client_version = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_client_version(&has_bits); - _impl_.client_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCClientVersionUpdated::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCClientVersionUpdated) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 client_version = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_client_version(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCClientVersionUpdated) - return target; -} - -size_t CMsgGCClientVersionUpdated::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCClientVersionUpdated) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 client_version = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_version()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCClientVersionUpdated::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCClientVersionUpdated::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCClientVersionUpdated::GetClassData() const { return &_class_data_; } - - -void CMsgGCClientVersionUpdated::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCClientVersionUpdated) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_client_version()) { - _this->_internal_set_client_version(from._internal_client_version()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCClientVersionUpdated::CopyFrom(const CMsgGCClientVersionUpdated& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCClientVersionUpdated) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCClientVersionUpdated::IsInitialized() const { - return true; -} - -void CMsgGCClientVersionUpdated::InternalSwap(CMsgGCClientVersionUpdated* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.client_version_, other->_impl_.client_version_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCClientVersionUpdated::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[73]); -} - -// =================================================================== - -class CMsgGCToGCWebAPIAccountChanged::_Internal { - public: -}; - -CMsgGCToGCWebAPIAccountChanged::CMsgGCToGCWebAPIAccountChanged(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CMsgGCToGCWebAPIAccountChanged) -} -CMsgGCToGCWebAPIAccountChanged::CMsgGCToGCWebAPIAccountChanged(const CMsgGCToGCWebAPIAccountChanged& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CMsgGCToGCWebAPIAccountChanged* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgGCToGCWebAPIAccountChanged) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCWebAPIAccountChanged::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCWebAPIAccountChanged::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCWebAPIAccountChanged::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[74]); -} - -// =================================================================== - -class CMsgGCToGCRequestPassportItemGrant::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_league_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_reward_flag(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgGCToGCRequestPassportItemGrant::CMsgGCToGCRequestPassportItemGrant(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCToGCRequestPassportItemGrant) -} -CMsgGCToGCRequestPassportItemGrant::CMsgGCToGCRequestPassportItemGrant(const CMsgGCToGCRequestPassportItemGrant& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCToGCRequestPassportItemGrant* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steam_id_){} - , decltype(_impl_.league_id_){} - , decltype(_impl_.reward_flag_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.steam_id_, &from._impl_.steam_id_, - static_cast(reinterpret_cast(&_impl_.reward_flag_) - - reinterpret_cast(&_impl_.steam_id_)) + sizeof(_impl_.reward_flag_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCToGCRequestPassportItemGrant) -} - -inline void CMsgGCToGCRequestPassportItemGrant::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steam_id_){uint64_t{0u}} - , decltype(_impl_.league_id_){0u} - , decltype(_impl_.reward_flag_){0} - }; -} - -CMsgGCToGCRequestPassportItemGrant::~CMsgGCToGCRequestPassportItemGrant() { - // @@protoc_insertion_point(destructor:CMsgGCToGCRequestPassportItemGrant) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCToGCRequestPassportItemGrant::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCToGCRequestPassportItemGrant::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCToGCRequestPassportItemGrant::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCToGCRequestPassportItemGrant) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.steam_id_, 0, static_cast( - reinterpret_cast(&_impl_.reward_flag_) - - reinterpret_cast(&_impl_.steam_id_)) + sizeof(_impl_.reward_flag_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCToGCRequestPassportItemGrant::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 steam_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_steam_id(&has_bits); - _impl_.steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 league_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_league_id(&has_bits); - _impl_.league_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 reward_flag = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_reward_flag(&has_bits); - _impl_.reward_flag_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCToGCRequestPassportItemGrant::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToGCRequestPassportItemGrant) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 steam_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steam_id(), target); - } - - // optional uint32 league_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_league_id(), target); - } - - // optional int32 reward_flag = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_reward_flag(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCToGCRequestPassportItemGrant) - return target; -} - -size_t CMsgGCToGCRequestPassportItemGrant::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCToGCRequestPassportItemGrant) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional fixed64 steam_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - // optional uint32 league_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_league_id()); - } - - // optional int32 reward_flag = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reward_flag()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToGCRequestPassportItemGrant::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCToGCRequestPassportItemGrant::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToGCRequestPassportItemGrant::GetClassData() const { return &_class_data_; } - - -void CMsgGCToGCRequestPassportItemGrant::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCToGCRequestPassportItemGrant) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.steam_id_ = from._impl_.steam_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.league_id_ = from._impl_.league_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.reward_flag_ = from._impl_.reward_flag_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCToGCRequestPassportItemGrant::CopyFrom(const CMsgGCToGCRequestPassportItemGrant& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToGCRequestPassportItemGrant) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCToGCRequestPassportItemGrant::IsInitialized() const { - return true; -} - -void CMsgGCToGCRequestPassportItemGrant::InternalSwap(CMsgGCToGCRequestPassportItemGrant* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCToGCRequestPassportItemGrant, _impl_.reward_flag_) - + sizeof(CMsgGCToGCRequestPassportItemGrant::_impl_.reward_flag_) - - PROTOBUF_FIELD_OFFSET(CMsgGCToGCRequestPassportItemGrant, _impl_.steam_id_)>( - reinterpret_cast(&_impl_.steam_id_), - reinterpret_cast(&other->_impl_.steam_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToGCRequestPassportItemGrant::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[75]); -} - -// =================================================================== - -class CMsgGameServerInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_server_public_ip_addr(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_server_private_ip_addr(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_server_port(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_server_tv_port(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_server_key(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_server_hibernation(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_server_type(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_server_region(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_server_loadavg(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_server_tv_broadcast_time(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_server_game_time(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_server_relay_connected_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_relay_slots_max(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_relays_connected(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_relay_clients_connected(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_relayed_game_server_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_parent_relay_count(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_tv_secret_code(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } -}; - -CMsgGameServerInfo::CMsgGameServerInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGameServerInfo) -} -CMsgGameServerInfo::CMsgGameServerInfo(const CMsgGameServerInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGameServerInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.server_key_){} - , decltype(_impl_.server_public_ip_addr_){} - , decltype(_impl_.server_private_ip_addr_){} - , decltype(_impl_.server_port_){} - , decltype(_impl_.server_tv_port_){} - , decltype(_impl_.server_hibernation_){} - , decltype(_impl_.server_type_){} - , decltype(_impl_.server_region_){} - , decltype(_impl_.server_loadavg_){} - , decltype(_impl_.server_tv_broadcast_time_){} - , decltype(_impl_.server_game_time_){} - , decltype(_impl_.server_relay_connected_steam_id_){} - , decltype(_impl_.relay_slots_max_){} - , decltype(_impl_.relays_connected_){} - , decltype(_impl_.relayed_game_server_steam_id_){} - , decltype(_impl_.relay_clients_connected_){} - , decltype(_impl_.parent_relay_count_){} - , decltype(_impl_.tv_secret_code_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.server_key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.server_key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_server_key()) { - _this->_impl_.server_key_.Set(from._internal_server_key(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.server_public_ip_addr_, &from._impl_.server_public_ip_addr_, - static_cast(reinterpret_cast(&_impl_.tv_secret_code_) - - reinterpret_cast(&_impl_.server_public_ip_addr_)) + sizeof(_impl_.tv_secret_code_)); - // @@protoc_insertion_point(copy_constructor:CMsgGameServerInfo) -} - -inline void CMsgGameServerInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.server_key_){} - , decltype(_impl_.server_public_ip_addr_){0u} - , decltype(_impl_.server_private_ip_addr_){0u} - , decltype(_impl_.server_port_){0u} - , decltype(_impl_.server_tv_port_){0u} - , decltype(_impl_.server_hibernation_){false} - , decltype(_impl_.server_type_){0} - , decltype(_impl_.server_region_){0u} - , decltype(_impl_.server_loadavg_){0} - , decltype(_impl_.server_tv_broadcast_time_){0} - , decltype(_impl_.server_game_time_){0} - , decltype(_impl_.server_relay_connected_steam_id_){uint64_t{0u}} - , decltype(_impl_.relay_slots_max_){0u} - , decltype(_impl_.relays_connected_){0} - , decltype(_impl_.relayed_game_server_steam_id_){uint64_t{0u}} - , decltype(_impl_.relay_clients_connected_){0} - , decltype(_impl_.parent_relay_count_){0u} - , decltype(_impl_.tv_secret_code_){uint64_t{0u}} - }; - _impl_.server_key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.server_key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGameServerInfo::~CMsgGameServerInfo() { - // @@protoc_insertion_point(destructor:CMsgGameServerInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGameServerInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.server_key_.Destroy(); -} - -void CMsgGameServerInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGameServerInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGameServerInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.server_key_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x000000feu) { - ::memset(&_impl_.server_public_ip_addr_, 0, static_cast( - reinterpret_cast(&_impl_.server_region_) - - reinterpret_cast(&_impl_.server_public_ip_addr_)) + sizeof(_impl_.server_region_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.server_loadavg_, 0, static_cast( - reinterpret_cast(&_impl_.relay_clients_connected_) - - reinterpret_cast(&_impl_.server_loadavg_)) + sizeof(_impl_.relay_clients_connected_)); - } - if (cached_has_bits & 0x00030000u) { - ::memset(&_impl_.parent_relay_count_, 0, static_cast( - reinterpret_cast(&_impl_.tv_secret_code_) - - reinterpret_cast(&_impl_.parent_relay_count_)) + sizeof(_impl_.tv_secret_code_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGameServerInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 server_public_ip_addr = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_server_public_ip_addr(&has_bits); - _impl_.server_public_ip_addr_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 server_private_ip_addr = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_server_private_ip_addr(&has_bits); - _impl_.server_private_ip_addr_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 server_port = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_server_port(&has_bits); - _impl_.server_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 server_tv_port = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_server_tv_port(&has_bits); - _impl_.server_tv_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string server_key = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_server_key(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGameServerInfo.server_key"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool server_hibernation = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_server_hibernation(&has_bits); - _impl_.server_hibernation_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgGameServerInfo.ServerType server_type = 7 [default = UNSPECIFIED]; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::CMsgGameServerInfo_ServerType_IsValid(val))) { - _internal_set_server_type(static_cast<::CMsgGameServerInfo_ServerType>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(7, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional uint32 server_region = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_server_region(&has_bits); - _impl_.server_region_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float server_loadavg = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_server_loadavg(&has_bits); - _impl_.server_loadavg_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float server_tv_broadcast_time = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { - _Internal::set_has_server_tv_broadcast_time(&has_bits); - _impl_.server_tv_broadcast_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float server_game_time = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 93)) { - _Internal::set_has_server_game_time(&has_bits); - _impl_.server_game_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional fixed64 server_relay_connected_steam_id = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 97)) { - _Internal::set_has_server_relay_connected_steam_id(&has_bits); - _impl_.server_relay_connected_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 relay_slots_max = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_relay_slots_max(&has_bits); - _impl_.relay_slots_max_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 relays_connected = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_relays_connected(&has_bits); - _impl_.relays_connected_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 relay_clients_connected = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_relay_clients_connected(&has_bits); - _impl_.relay_clients_connected_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 relayed_game_server_steam_id = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 129)) { - _Internal::set_has_relayed_game_server_steam_id(&has_bits); - _impl_.relayed_game_server_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 parent_relay_count = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_parent_relay_count(&has_bits); - _impl_.parent_relay_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 tv_secret_code = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 145)) { - _Internal::set_has_tv_secret_code(&has_bits); - _impl_.tv_secret_code_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGameServerInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGameServerInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 server_public_ip_addr = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_server_public_ip_addr(), target); - } - - // optional fixed32 server_private_ip_addr = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_server_private_ip_addr(), target); - } - - // optional uint32 server_port = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_server_port(), target); - } - - // optional uint32 server_tv_port = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_server_tv_port(), target); - } - - // optional string server_key = 5; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_server_key().data(), static_cast(this->_internal_server_key().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGameServerInfo.server_key"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_server_key(), target); - } - - // optional bool server_hibernation = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_server_hibernation(), target); - } - - // optional .CMsgGameServerInfo.ServerType server_type = 7 [default = UNSPECIFIED]; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 7, this->_internal_server_type(), target); - } - - // optional uint32 server_region = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_server_region(), target); - } - - // optional float server_loadavg = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_server_loadavg(), target); - } - - // optional float server_tv_broadcast_time = 10; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(10, this->_internal_server_tv_broadcast_time(), target); - } - - // optional float server_game_time = 11; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(11, this->_internal_server_game_time(), target); - } - - // optional fixed64 server_relay_connected_steam_id = 12; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(12, this->_internal_server_relay_connected_steam_id(), target); - } - - // optional uint32 relay_slots_max = 13; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_relay_slots_max(), target); - } - - // optional int32 relays_connected = 14; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_relays_connected(), target); - } - - // optional int32 relay_clients_connected = 15; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(15, this->_internal_relay_clients_connected(), target); - } - - // optional fixed64 relayed_game_server_steam_id = 16; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(16, this->_internal_relayed_game_server_steam_id(), target); - } - - // optional uint32 parent_relay_count = 17; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_parent_relay_count(), target); - } - - // optional fixed64 tv_secret_code = 18; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(18, this->_internal_tv_secret_code(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGameServerInfo) - return target; -} - -size_t CMsgGameServerInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGameServerInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string server_key = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_server_key()); - } - - // optional fixed32 server_public_ip_addr = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional fixed32 server_private_ip_addr = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional uint32 server_port = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_port()); - } - - // optional uint32 server_tv_port = 4; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_tv_port()); - } - - // optional bool server_hibernation = 6; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 1; - } - - // optional .CMsgGameServerInfo.ServerType server_type = 7 [default = UNSPECIFIED]; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_server_type()); - } - - // optional uint32 server_region = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_region()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional float server_loadavg = 9; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 4; - } - - // optional float server_tv_broadcast_time = 10; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 4; - } - - // optional float server_game_time = 11; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 4; - } - - // optional fixed64 server_relay_connected_steam_id = 12; - if (cached_has_bits & 0x00000800u) { - total_size += 1 + 8; - } - - // optional uint32 relay_slots_max = 13; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_relay_slots_max()); - } - - // optional int32 relays_connected = 14; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_relays_connected()); - } - - // optional fixed64 relayed_game_server_steam_id = 16; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + 8; - } - - // optional int32 relay_clients_connected = 15; - if (cached_has_bits & 0x00008000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_relay_clients_connected()); - } - - } - if (cached_has_bits & 0x00030000u) { - // optional uint32 parent_relay_count = 17; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_parent_relay_count()); - } - - // optional fixed64 tv_secret_code = 18; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGameServerInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGameServerInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGameServerInfo::GetClassData() const { return &_class_data_; } - - -void CMsgGameServerInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGameServerInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_server_key(from._internal_server_key()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.server_public_ip_addr_ = from._impl_.server_public_ip_addr_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.server_private_ip_addr_ = from._impl_.server_private_ip_addr_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.server_port_ = from._impl_.server_port_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.server_tv_port_ = from._impl_.server_tv_port_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.server_hibernation_ = from._impl_.server_hibernation_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.server_type_ = from._impl_.server_type_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.server_region_ = from._impl_.server_region_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.server_loadavg_ = from._impl_.server_loadavg_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.server_tv_broadcast_time_ = from._impl_.server_tv_broadcast_time_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.server_game_time_ = from._impl_.server_game_time_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.server_relay_connected_steam_id_ = from._impl_.server_relay_connected_steam_id_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.relay_slots_max_ = from._impl_.relay_slots_max_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.relays_connected_ = from._impl_.relays_connected_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.relayed_game_server_steam_id_ = from._impl_.relayed_game_server_steam_id_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.relay_clients_connected_ = from._impl_.relay_clients_connected_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00030000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.parent_relay_count_ = from._impl_.parent_relay_count_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.tv_secret_code_ = from._impl_.tv_secret_code_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGameServerInfo::CopyFrom(const CMsgGameServerInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGameServerInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGameServerInfo::IsInitialized() const { - return true; -} - -void CMsgGameServerInfo::InternalSwap(CMsgGameServerInfo* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.server_key_, lhs_arena, - &other->_impl_.server_key_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGameServerInfo, _impl_.tv_secret_code_) - + sizeof(CMsgGameServerInfo::_impl_.tv_secret_code_) - - PROTOBUF_FIELD_OFFSET(CMsgGameServerInfo, _impl_.server_public_ip_addr_)>( - reinterpret_cast(&_impl_.server_public_ip_addr_), - reinterpret_cast(&other->_impl_.server_public_ip_addr_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGameServerInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[76]); -} - -// =================================================================== - -class CSOEconEquipSlot::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_class_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_slot_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_item_definition(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CSOEconEquipSlot::CSOEconEquipSlot(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOEconEquipSlot) -} -CSOEconEquipSlot::CSOEconEquipSlot(const CSOEconEquipSlot& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOEconEquipSlot* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_id_){} - , decltype(_impl_.class_id_){} - , decltype(_impl_.item_id_){} - , decltype(_impl_.slot_id_){} - , decltype(_impl_.item_definition_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.item_definition_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.item_definition_)); - // @@protoc_insertion_point(copy_constructor:CSOEconEquipSlot) -} - -inline void CSOEconEquipSlot::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.class_id_){0u} - , decltype(_impl_.item_id_){uint64_t{0u}} - , decltype(_impl_.slot_id_){0u} - , decltype(_impl_.item_definition_){0u} - }; -} - -CSOEconEquipSlot::~CSOEconEquipSlot() { - // @@protoc_insertion_point(destructor:CSOEconEquipSlot) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOEconEquipSlot::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSOEconEquipSlot::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOEconEquipSlot::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOEconEquipSlot) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.item_definition_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.item_definition_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOEconEquipSlot::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1 [(.key_field) = true]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 class_id = 2 [(.key_field) = true]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_class_id(&has_bits); - _impl_.class_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 slot_id = 3 [(.key_field) = true]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_slot_id(&has_bits); - _impl_.slot_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 item_id = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_item_id(&has_bits); - _impl_.item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 item_definition = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_item_definition(&has_bits); - _impl_.item_definition_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOEconEquipSlot::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOEconEquipSlot) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional uint32 class_id = 2 [(.key_field) = true]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_class_id(), target); - } - - // optional uint32 slot_id = 3 [(.key_field) = true]; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_slot_id(), target); - } - - // optional uint64 item_id = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_item_id(), target); - } - - // optional uint32 item_definition = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_item_definition(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOEconEquipSlot) - return target; -} - -size_t CSOEconEquipSlot::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOEconEquipSlot) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional uint32 account_id = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 class_id = 2 [(.key_field) = true]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_class_id()); - } - - // optional uint64 item_id = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); - } - - // optional uint32 slot_id = 3 [(.key_field) = true]; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_slot_id()); - } - - // optional uint32 item_definition = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_definition()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconEquipSlot::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOEconEquipSlot::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconEquipSlot::GetClassData() const { return &_class_data_; } - - -void CSOEconEquipSlot::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOEconEquipSlot) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.class_id_ = from._impl_.class_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.item_id_ = from._impl_.item_id_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.slot_id_ = from._impl_.slot_id_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.item_definition_ = from._impl_.item_definition_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOEconEquipSlot::CopyFrom(const CSOEconEquipSlot& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconEquipSlot) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOEconEquipSlot::IsInitialized() const { - return true; -} - -void CSOEconEquipSlot::InternalSwap(CSOEconEquipSlot* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOEconEquipSlot, _impl_.item_definition_) - + sizeof(CSOEconEquipSlot::_impl_.item_definition_) - - PROTOBUF_FIELD_OFFSET(CSOEconEquipSlot, _impl_.account_id_)>( - reinterpret_cast(&_impl_.account_id_), - reinterpret_cast(&other->_impl_.account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOEconEquipSlot::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[77]); -} - -// =================================================================== - -class CMsgAdjustEquipSlot::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_class_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_slot_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgAdjustEquipSlot::CMsgAdjustEquipSlot(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgAdjustEquipSlot) -} -CMsgAdjustEquipSlot::CMsgAdjustEquipSlot(const CMsgAdjustEquipSlot& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgAdjustEquipSlot* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.class_id_){} - , decltype(_impl_.slot_id_){} - , decltype(_impl_.item_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.class_id_, &from._impl_.class_id_, - static_cast(reinterpret_cast(&_impl_.item_id_) - - reinterpret_cast(&_impl_.class_id_)) + sizeof(_impl_.item_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgAdjustEquipSlot) -} - -inline void CMsgAdjustEquipSlot::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.class_id_){0u} - , decltype(_impl_.slot_id_){0u} - , decltype(_impl_.item_id_){uint64_t{0u}} - }; -} - -CMsgAdjustEquipSlot::~CMsgAdjustEquipSlot() { - // @@protoc_insertion_point(destructor:CMsgAdjustEquipSlot) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgAdjustEquipSlot::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgAdjustEquipSlot::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgAdjustEquipSlot::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgAdjustEquipSlot) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.class_id_, 0, static_cast( - reinterpret_cast(&_impl_.item_id_) - - reinterpret_cast(&_impl_.class_id_)) + sizeof(_impl_.item_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgAdjustEquipSlot::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 class_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_class_id(&has_bits); - _impl_.class_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 slot_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_slot_id(&has_bits); - _impl_.slot_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 item_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_item_id(&has_bits); - _impl_.item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgAdjustEquipSlot::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgAdjustEquipSlot) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 class_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_class_id(), target); - } - - // optional uint32 slot_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_slot_id(), target); - } - - // optional uint64 item_id = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_item_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgAdjustEquipSlot) - return target; -} - -size_t CMsgAdjustEquipSlot::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgAdjustEquipSlot) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 class_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_class_id()); - } - - // optional uint32 slot_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_slot_id()); - } - - // optional uint64 item_id = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgAdjustEquipSlot::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgAdjustEquipSlot::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgAdjustEquipSlot::GetClassData() const { return &_class_data_; } - - -void CMsgAdjustEquipSlot::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgAdjustEquipSlot) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.class_id_ = from._impl_.class_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.slot_id_ = from._impl_.slot_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.item_id_ = from._impl_.item_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgAdjustEquipSlot::CopyFrom(const CMsgAdjustEquipSlot& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgAdjustEquipSlot) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgAdjustEquipSlot::IsInitialized() const { - return true; -} - -void CMsgAdjustEquipSlot::InternalSwap(CMsgAdjustEquipSlot* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgAdjustEquipSlot, _impl_.item_id_) - + sizeof(CMsgAdjustEquipSlot::_impl_.item_id_) - - PROTOBUF_FIELD_OFFSET(CMsgAdjustEquipSlot, _impl_.class_id_)>( - reinterpret_cast(&_impl_.class_id_), - reinterpret_cast(&other->_impl_.class_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgAdjustEquipSlot::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[78]); -} - -// =================================================================== - -class CMsgAdjustEquipSlots::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_change_num(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgAdjustEquipSlots::CMsgAdjustEquipSlots(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgAdjustEquipSlots) -} -CMsgAdjustEquipSlots::CMsgAdjustEquipSlots(const CMsgAdjustEquipSlots& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgAdjustEquipSlots* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.slots_){from._impl_.slots_} - , decltype(_impl_.change_num_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.change_num_ = from._impl_.change_num_; - // @@protoc_insertion_point(copy_constructor:CMsgAdjustEquipSlots) -} - -inline void CMsgAdjustEquipSlots::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.slots_){arena} - , decltype(_impl_.change_num_){0u} - }; -} - -CMsgAdjustEquipSlots::~CMsgAdjustEquipSlots() { - // @@protoc_insertion_point(destructor:CMsgAdjustEquipSlots) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgAdjustEquipSlots::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.slots_.~RepeatedPtrField(); -} - -void CMsgAdjustEquipSlots::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgAdjustEquipSlots::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgAdjustEquipSlots) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.slots_.Clear(); - _impl_.change_num_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgAdjustEquipSlots::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CMsgAdjustEquipSlot slots = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_slots(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 change_num = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_change_num(&has_bits); - _impl_.change_num_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgAdjustEquipSlots::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgAdjustEquipSlots) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CMsgAdjustEquipSlot slots = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_slots_size()); i < n; i++) { - const auto& repfield = this->_internal_slots(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 change_num = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_change_num(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgAdjustEquipSlots) - return target; -} - -size_t CMsgAdjustEquipSlots::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgAdjustEquipSlots) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgAdjustEquipSlot slots = 1; - total_size += 1UL * this->_internal_slots_size(); - for (const auto& msg : this->_impl_.slots_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional uint32 change_num = 2; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_change_num()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgAdjustEquipSlots::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgAdjustEquipSlots::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgAdjustEquipSlots::GetClassData() const { return &_class_data_; } - - -void CMsgAdjustEquipSlots::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgAdjustEquipSlots) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.slots_.MergeFrom(from._impl_.slots_); - if (from._internal_has_change_num()) { - _this->_internal_set_change_num(from._internal_change_num()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgAdjustEquipSlots::CopyFrom(const CMsgAdjustEquipSlots& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgAdjustEquipSlots) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgAdjustEquipSlots::IsInitialized() const { - return true; -} - -void CMsgAdjustEquipSlots::InternalSwap(CMsgAdjustEquipSlots* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.slots_.InternalSwap(&other->_impl_.slots_); - swap(_impl_.change_num_, other->_impl_.change_num_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgAdjustEquipSlots::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[79]); -} - -// =================================================================== - -class CMsgOpenCrate::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_tool_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_subject_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_for_rental(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_points_remaining(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgOpenCrate::CMsgOpenCrate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgOpenCrate) -} -CMsgOpenCrate::CMsgOpenCrate(const CMsgOpenCrate& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgOpenCrate* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tool_item_id_){} - , decltype(_impl_.subject_item_id_){} - , decltype(_impl_.for_rental_){} - , decltype(_impl_.points_remaining_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.tool_item_id_, &from._impl_.tool_item_id_, - static_cast(reinterpret_cast(&_impl_.points_remaining_) - - reinterpret_cast(&_impl_.tool_item_id_)) + sizeof(_impl_.points_remaining_)); - // @@protoc_insertion_point(copy_constructor:CMsgOpenCrate) -} - -inline void CMsgOpenCrate::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tool_item_id_){uint64_t{0u}} - , decltype(_impl_.subject_item_id_){uint64_t{0u}} - , decltype(_impl_.for_rental_){false} - , decltype(_impl_.points_remaining_){0u} - }; -} - -CMsgOpenCrate::~CMsgOpenCrate() { - // @@protoc_insertion_point(destructor:CMsgOpenCrate) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgOpenCrate::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgOpenCrate::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgOpenCrate::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgOpenCrate) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.tool_item_id_, 0, static_cast( - reinterpret_cast(&_impl_.points_remaining_) - - reinterpret_cast(&_impl_.tool_item_id_)) + sizeof(_impl_.points_remaining_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgOpenCrate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 tool_item_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_tool_item_id(&has_bits); - _impl_.tool_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 subject_item_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_subject_item_id(&has_bits); - _impl_.subject_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool for_rental = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_for_rental(&has_bits); - _impl_.for_rental_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 points_remaining = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_points_remaining(&has_bits); - _impl_.points_remaining_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgOpenCrate::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgOpenCrate) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 tool_item_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_tool_item_id(), target); - } - - // optional uint64 subject_item_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_subject_item_id(), target); - } - - // optional bool for_rental = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_for_rental(), target); - } - - // optional uint32 points_remaining = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_points_remaining(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgOpenCrate) - return target; -} - -size_t CMsgOpenCrate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgOpenCrate) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint64 tool_item_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_tool_item_id()); - } - - // optional uint64 subject_item_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_subject_item_id()); - } - - // optional bool for_rental = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional uint32 points_remaining = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_points_remaining()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgOpenCrate::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgOpenCrate::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgOpenCrate::GetClassData() const { return &_class_data_; } - - -void CMsgOpenCrate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgOpenCrate) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.tool_item_id_ = from._impl_.tool_item_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.subject_item_id_ = from._impl_.subject_item_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.for_rental_ = from._impl_.for_rental_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.points_remaining_ = from._impl_.points_remaining_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgOpenCrate::CopyFrom(const CMsgOpenCrate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgOpenCrate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgOpenCrate::IsInitialized() const { - return true; -} - -void CMsgOpenCrate::InternalSwap(CMsgOpenCrate* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgOpenCrate, _impl_.points_remaining_) - + sizeof(CMsgOpenCrate::_impl_.points_remaining_) - - PROTOBUF_FIELD_OFFSET(CMsgOpenCrate, _impl_.tool_item_id_)>( - reinterpret_cast(&_impl_.tool_item_id_), - reinterpret_cast(&other->_impl_.tool_item_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgOpenCrate::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[80]); -} - -// =================================================================== - -class CSOEconRentalHistory::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_crate_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_crate_def_index(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_issue_date(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_expiration_date(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CSOEconRentalHistory::CSOEconRentalHistory(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOEconRentalHistory) -} -CSOEconRentalHistory::CSOEconRentalHistory(const CSOEconRentalHistory& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOEconRentalHistory* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.crate_item_id_){} - , decltype(_impl_.account_id_){} - , decltype(_impl_.crate_def_index_){} - , decltype(_impl_.issue_date_){} - , decltype(_impl_.expiration_date_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.crate_item_id_, &from._impl_.crate_item_id_, - static_cast(reinterpret_cast(&_impl_.expiration_date_) - - reinterpret_cast(&_impl_.crate_item_id_)) + sizeof(_impl_.expiration_date_)); - // @@protoc_insertion_point(copy_constructor:CSOEconRentalHistory) -} - -inline void CSOEconRentalHistory::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.crate_item_id_){uint64_t{0u}} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.crate_def_index_){0u} - , decltype(_impl_.issue_date_){0u} - , decltype(_impl_.expiration_date_){0u} - }; -} - -CSOEconRentalHistory::~CSOEconRentalHistory() { - // @@protoc_insertion_point(destructor:CSOEconRentalHistory) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOEconRentalHistory::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSOEconRentalHistory::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOEconRentalHistory::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOEconRentalHistory) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.crate_item_id_, 0, static_cast( - reinterpret_cast(&_impl_.expiration_date_) - - reinterpret_cast(&_impl_.crate_item_id_)) + sizeof(_impl_.expiration_date_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOEconRentalHistory::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1 [(.key_field) = true]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 crate_item_id = 2 [(.key_field) = true]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_crate_item_id(&has_bits); - _impl_.crate_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 crate_def_index = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_crate_def_index(&has_bits); - _impl_.crate_def_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 issue_date = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_issue_date(&has_bits); - _impl_.issue_date_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 expiration_date = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_expiration_date(&has_bits); - _impl_.expiration_date_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOEconRentalHistory::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOEconRentalHistory) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional uint64 crate_item_id = 2 [(.key_field) = true]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_crate_item_id(), target); - } - - // optional uint32 crate_def_index = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_crate_def_index(), target); - } - - // optional uint32 issue_date = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_issue_date(), target); - } - - // optional uint32 expiration_date = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_expiration_date(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOEconRentalHistory) - return target; -} - -size_t CSOEconRentalHistory::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOEconRentalHistory) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional uint64 crate_item_id = 2 [(.key_field) = true]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_crate_item_id()); - } - - // optional uint32 account_id = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 crate_def_index = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_crate_def_index()); - } - - // optional uint32 issue_date = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_issue_date()); - } - - // optional uint32 expiration_date = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_expiration_date()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconRentalHistory::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOEconRentalHistory::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconRentalHistory::GetClassData() const { return &_class_data_; } - - -void CSOEconRentalHistory::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOEconRentalHistory) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.crate_item_id_ = from._impl_.crate_item_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.crate_def_index_ = from._impl_.crate_def_index_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.issue_date_ = from._impl_.issue_date_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.expiration_date_ = from._impl_.expiration_date_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOEconRentalHistory::CopyFrom(const CSOEconRentalHistory& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconRentalHistory) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOEconRentalHistory::IsInitialized() const { - return true; -} - -void CSOEconRentalHistory::InternalSwap(CSOEconRentalHistory* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOEconRentalHistory, _impl_.expiration_date_) - + sizeof(CSOEconRentalHistory::_impl_.expiration_date_) - - PROTOBUF_FIELD_OFFSET(CSOEconRentalHistory, _impl_.crate_item_id_)>( - reinterpret_cast(&_impl_.crate_item_id_), - reinterpret_cast(&other->_impl_.crate_item_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOEconRentalHistory::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[81]); -} - -// =================================================================== - -class CMsgAcknowledgeRentalExpiration::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_crate_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgAcknowledgeRentalExpiration::CMsgAcknowledgeRentalExpiration(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgAcknowledgeRentalExpiration) -} -CMsgAcknowledgeRentalExpiration::CMsgAcknowledgeRentalExpiration(const CMsgAcknowledgeRentalExpiration& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgAcknowledgeRentalExpiration* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.crate_item_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.crate_item_id_ = from._impl_.crate_item_id_; - // @@protoc_insertion_point(copy_constructor:CMsgAcknowledgeRentalExpiration) -} - -inline void CMsgAcknowledgeRentalExpiration::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.crate_item_id_){uint64_t{0u}} - }; -} - -CMsgAcknowledgeRentalExpiration::~CMsgAcknowledgeRentalExpiration() { - // @@protoc_insertion_point(destructor:CMsgAcknowledgeRentalExpiration) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgAcknowledgeRentalExpiration::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgAcknowledgeRentalExpiration::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgAcknowledgeRentalExpiration::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgAcknowledgeRentalExpiration) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.crate_item_id_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgAcknowledgeRentalExpiration::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 crate_item_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_crate_item_id(&has_bits); - _impl_.crate_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgAcknowledgeRentalExpiration::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgAcknowledgeRentalExpiration) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 crate_item_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_crate_item_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgAcknowledgeRentalExpiration) - return target; -} - -size_t CMsgAcknowledgeRentalExpiration::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgAcknowledgeRentalExpiration) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint64 crate_item_id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_crate_item_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgAcknowledgeRentalExpiration::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgAcknowledgeRentalExpiration::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgAcknowledgeRentalExpiration::GetClassData() const { return &_class_data_; } - - -void CMsgAcknowledgeRentalExpiration::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgAcknowledgeRentalExpiration) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_crate_item_id()) { - _this->_internal_set_crate_item_id(from._internal_crate_item_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgAcknowledgeRentalExpiration::CopyFrom(const CMsgAcknowledgeRentalExpiration& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgAcknowledgeRentalExpiration) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgAcknowledgeRentalExpiration::IsInitialized() const { - return true; -} - -void CMsgAcknowledgeRentalExpiration::InternalSwap(CMsgAcknowledgeRentalExpiration* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.crate_item_id_, other->_impl_.crate_item_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgAcknowledgeRentalExpiration::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_base_5fgcmessages_2eproto_getter, &descriptor_table_base_5fgcmessages_2eproto_once, - file_level_metadata_base_5fgcmessages_2eproto[82]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CGCStorePurchaseInit_LineItem* -Arena::CreateMaybeMessage< ::CGCStorePurchaseInit_LineItem >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGCStorePurchaseInit_LineItem >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCStorePurchaseInit* -Arena::CreateMaybeMessage< ::CMsgGCStorePurchaseInit >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCStorePurchaseInit >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCStorePurchaseInitResponse* -Arena::CreateMaybeMessage< ::CMsgGCStorePurchaseInitResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCStorePurchaseInitResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOPartyInvite* -Arena::CreateMaybeMessage< ::CSOPartyInvite >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOPartyInvite >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOLobbyInvite* -Arena::CreateMaybeMessage< ::CSOLobbyInvite >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOLobbyInvite >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSystemBroadcast* -Arena::CreateMaybeMessage< ::CMsgSystemBroadcast >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSystemBroadcast >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgInviteToParty* -Arena::CreateMaybeMessage< ::CMsgInviteToParty >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgInviteToParty >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgInvitationCreated* -Arena::CreateMaybeMessage< ::CMsgInvitationCreated >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgInvitationCreated >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgPartyInviteResponse* -Arena::CreateMaybeMessage< ::CMsgPartyInviteResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgPartyInviteResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgKickFromParty* -Arena::CreateMaybeMessage< ::CMsgKickFromParty >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgKickFromParty >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgLeaveParty* -Arena::CreateMaybeMessage< ::CMsgLeaveParty >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgLeaveParty >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgServerAvailable* -Arena::CreateMaybeMessage< ::CMsgServerAvailable >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgServerAvailable >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgLANServerAvailable* -Arena::CreateMaybeMessage< ::CMsgLANServerAvailable >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgLANServerAvailable >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOEconGameAccountClient* -Arena::CreateMaybeMessage< ::CSOEconGameAccountClient >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOEconGameAccountClient >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOItemCriteriaCondition* -Arena::CreateMaybeMessage< ::CSOItemCriteriaCondition >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOItemCriteriaCondition >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOItemCriteria* -Arena::CreateMaybeMessage< ::CSOItemCriteria >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOItemCriteria >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOItemRecipe* -Arena::CreateMaybeMessage< ::CSOItemRecipe >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOItemRecipe >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgDevNewItemRequest* -Arena::CreateMaybeMessage< ::CMsgDevNewItemRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgDevNewItemRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgIncrementKillCountAttribute* -Arena::CreateMaybeMessage< ::CMsgIncrementKillCountAttribute >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgIncrementKillCountAttribute >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgApplySticker* -Arena::CreateMaybeMessage< ::CMsgApplySticker >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgApplySticker >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgModifyItemAttribute* -Arena::CreateMaybeMessage< ::CMsgModifyItemAttribute >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgModifyItemAttribute >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgApplyStatTrakSwap* -Arena::CreateMaybeMessage< ::CMsgApplyStatTrakSwap >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgApplyStatTrakSwap >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgApplyStrangePart* -Arena::CreateMaybeMessage< ::CMsgApplyStrangePart >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgApplyStrangePart >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgApplyPennantUpgrade* -Arena::CreateMaybeMessage< ::CMsgApplyPennantUpgrade >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgApplyPennantUpgrade >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgApplyEggEssence* -Arena::CreateMaybeMessage< ::CMsgApplyEggEssence >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgApplyEggEssence >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOEconItemAttribute* -Arena::CreateMaybeMessage< ::CSOEconItemAttribute >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOEconItemAttribute >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOEconItemEquipped* -Arena::CreateMaybeMessage< ::CSOEconItemEquipped >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOEconItemEquipped >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOEconItem* -Arena::CreateMaybeMessage< ::CSOEconItem >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOEconItem >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSortItems* -Arena::CreateMaybeMessage< ::CMsgSortItems >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSortItems >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOEconClaimCode* -Arena::CreateMaybeMessage< ::CSOEconClaimCode >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOEconClaimCode >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgStoreGetUserData* -Arena::CreateMaybeMessage< ::CMsgStoreGetUserData >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgStoreGetUserData >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgStoreGetUserDataResponse* -Arena::CreateMaybeMessage< ::CMsgStoreGetUserDataResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgStoreGetUserDataResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgUpdateItemSchema* -Arena::CreateMaybeMessage< ::CMsgUpdateItemSchema >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgUpdateItemSchema >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCError* -Arena::CreateMaybeMessage< ::CMsgGCError >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCError >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgRequestInventoryRefresh* -Arena::CreateMaybeMessage< ::CMsgRequestInventoryRefresh >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgRequestInventoryRefresh >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgConVarValue* -Arena::CreateMaybeMessage< ::CMsgConVarValue >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgConVarValue >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgReplicateConVars* -Arena::CreateMaybeMessage< ::CMsgReplicateConVars >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgReplicateConVars >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgUseItem* -Arena::CreateMaybeMessage< ::CMsgUseItem >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgUseItem >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgReplayUploadedToYouTube* -Arena::CreateMaybeMessage< ::CMsgReplayUploadedToYouTube >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgReplayUploadedToYouTube >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgConsumableExhausted* -Arena::CreateMaybeMessage< ::CMsgConsumableExhausted >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgConsumableExhausted >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgItemAcknowledged__DEPRECATED* -Arena::CreateMaybeMessage< ::CMsgItemAcknowledged__DEPRECATED >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgItemAcknowledged__DEPRECATED >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSetItemPositions_ItemPosition* -Arena::CreateMaybeMessage< ::CMsgSetItemPositions_ItemPosition >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSetItemPositions_ItemPosition >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSetItemPositions* -Arena::CreateMaybeMessage< ::CMsgSetItemPositions >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSetItemPositions >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCReportAbuse* -Arena::CreateMaybeMessage< ::CMsgGCReportAbuse >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCReportAbuse >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCReportAbuseResponse* -Arena::CreateMaybeMessage< ::CMsgGCReportAbuseResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCReportAbuseResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCNameItemNotification* -Arena::CreateMaybeMessage< ::CMsgGCNameItemNotification >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCNameItemNotification >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCClientDisplayNotification* -Arena::CreateMaybeMessage< ::CMsgGCClientDisplayNotification >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCClientDisplayNotification >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCShowItemsPickedUp* -Arena::CreateMaybeMessage< ::CMsgGCShowItemsPickedUp >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCShowItemsPickedUp >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCIncrementKillCountResponse* -Arena::CreateMaybeMessage< ::CMsgGCIncrementKillCountResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCIncrementKillCountResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOEconItemDropRateBonus* -Arena::CreateMaybeMessage< ::CSOEconItemDropRateBonus >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOEconItemDropRateBonus >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOEconItemLeagueViewPass* -Arena::CreateMaybeMessage< ::CSOEconItemLeagueViewPass >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOEconItemLeagueViewPass >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOEconItemEventTicket* -Arena::CreateMaybeMessage< ::CSOEconItemEventTicket >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOEconItemEventTicket >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCItemPreviewItemBoughtNotification* -Arena::CreateMaybeMessage< ::CMsgGCItemPreviewItemBoughtNotification >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCItemPreviewItemBoughtNotification >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCStorePurchaseCancel* -Arena::CreateMaybeMessage< ::CMsgGCStorePurchaseCancel >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCStorePurchaseCancel >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCStorePurchaseCancelResponse* -Arena::CreateMaybeMessage< ::CMsgGCStorePurchaseCancelResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCStorePurchaseCancelResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCStorePurchaseFinalize* -Arena::CreateMaybeMessage< ::CMsgGCStorePurchaseFinalize >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCStorePurchaseFinalize >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCStorePurchaseFinalizeResponse* -Arena::CreateMaybeMessage< ::CMsgGCStorePurchaseFinalizeResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCStorePurchaseFinalizeResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCBannedWordListRequest* -Arena::CreateMaybeMessage< ::CMsgGCBannedWordListRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCBannedWordListRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCRequestAnnouncements* -Arena::CreateMaybeMessage< ::CMsgGCRequestAnnouncements >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCRequestAnnouncements >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCRequestAnnouncementsResponse* -Arena::CreateMaybeMessage< ::CMsgGCRequestAnnouncementsResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCRequestAnnouncementsResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCBannedWord* -Arena::CreateMaybeMessage< ::CMsgGCBannedWord >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCBannedWord >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCBannedWordListResponse* -Arena::CreateMaybeMessage< ::CMsgGCBannedWordListResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCBannedWordListResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCToGCBannedWordListBroadcast* -Arena::CreateMaybeMessage< ::CMsgGCToGCBannedWordListBroadcast >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCToGCBannedWordListBroadcast >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCToGCBannedWordListUpdated* -Arena::CreateMaybeMessage< ::CMsgGCToGCBannedWordListUpdated >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCToGCBannedWordListUpdated >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCToGCDirtySDOCache* -Arena::CreateMaybeMessage< ::CMsgGCToGCDirtySDOCache >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCToGCDirtySDOCache >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCToGCDirtyMultipleSDOCache* -Arena::CreateMaybeMessage< ::CMsgGCToGCDirtyMultipleSDOCache >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCToGCDirtyMultipleSDOCache >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCollectItem* -Arena::CreateMaybeMessage< ::CMsgGCCollectItem >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCollectItem >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSDONoMemcached* -Arena::CreateMaybeMessage< ::CMsgSDONoMemcached >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSDONoMemcached >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCToGCUpdateSQLKeyValue* -Arena::CreateMaybeMessage< ::CMsgGCToGCUpdateSQLKeyValue >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCToGCUpdateSQLKeyValue >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCToGCIsTrustedServer* -Arena::CreateMaybeMessage< ::CMsgGCToGCIsTrustedServer >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCToGCIsTrustedServer >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCToGCIsTrustedServerResponse* -Arena::CreateMaybeMessage< ::CMsgGCToGCIsTrustedServerResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCToGCIsTrustedServerResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCToGCBroadcastConsoleCommand* -Arena::CreateMaybeMessage< ::CMsgGCToGCBroadcastConsoleCommand >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCToGCBroadcastConsoleCommand >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCServerVersionUpdated* -Arena::CreateMaybeMessage< ::CMsgGCServerVersionUpdated >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCServerVersionUpdated >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCClientVersionUpdated* -Arena::CreateMaybeMessage< ::CMsgGCClientVersionUpdated >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCClientVersionUpdated >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCToGCWebAPIAccountChanged* -Arena::CreateMaybeMessage< ::CMsgGCToGCWebAPIAccountChanged >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCToGCWebAPIAccountChanged >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCToGCRequestPassportItemGrant* -Arena::CreateMaybeMessage< ::CMsgGCToGCRequestPassportItemGrant >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCToGCRequestPassportItemGrant >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGameServerInfo* -Arena::CreateMaybeMessage< ::CMsgGameServerInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGameServerInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOEconEquipSlot* -Arena::CreateMaybeMessage< ::CSOEconEquipSlot >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOEconEquipSlot >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgAdjustEquipSlot* -Arena::CreateMaybeMessage< ::CMsgAdjustEquipSlot >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgAdjustEquipSlot >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgAdjustEquipSlots* -Arena::CreateMaybeMessage< ::CMsgAdjustEquipSlots >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgAdjustEquipSlots >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgOpenCrate* -Arena::CreateMaybeMessage< ::CMsgOpenCrate >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgOpenCrate >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOEconRentalHistory* -Arena::CreateMaybeMessage< ::CSOEconRentalHistory >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOEconRentalHistory >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgAcknowledgeRentalExpiration* -Arena::CreateMaybeMessage< ::CMsgAcknowledgeRentalExpiration >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgAcknowledgeRentalExpiration >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/base_gcmessages.pb.h b/protobuf/generated/base_gcmessages.pb.h deleted file mode 100644 index 9136803ec..000000000 --- a/protobuf/generated/base_gcmessages.pb.h +++ /dev/null @@ -1,27193 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: base_gcmessages.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_base_5fgcmessages_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_base_5fgcmessages_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "steammessages.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_base_5fgcmessages_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_base_5fgcmessages_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_base_5fgcmessages_2eproto; -class CGCStorePurchaseInit_LineItem; -struct CGCStorePurchaseInit_LineItemDefaultTypeInternal; -extern CGCStorePurchaseInit_LineItemDefaultTypeInternal _CGCStorePurchaseInit_LineItem_default_instance_; -class CMsgAcknowledgeRentalExpiration; -struct CMsgAcknowledgeRentalExpirationDefaultTypeInternal; -extern CMsgAcknowledgeRentalExpirationDefaultTypeInternal _CMsgAcknowledgeRentalExpiration_default_instance_; -class CMsgAdjustEquipSlot; -struct CMsgAdjustEquipSlotDefaultTypeInternal; -extern CMsgAdjustEquipSlotDefaultTypeInternal _CMsgAdjustEquipSlot_default_instance_; -class CMsgAdjustEquipSlots; -struct CMsgAdjustEquipSlotsDefaultTypeInternal; -extern CMsgAdjustEquipSlotsDefaultTypeInternal _CMsgAdjustEquipSlots_default_instance_; -class CMsgApplyEggEssence; -struct CMsgApplyEggEssenceDefaultTypeInternal; -extern CMsgApplyEggEssenceDefaultTypeInternal _CMsgApplyEggEssence_default_instance_; -class CMsgApplyPennantUpgrade; -struct CMsgApplyPennantUpgradeDefaultTypeInternal; -extern CMsgApplyPennantUpgradeDefaultTypeInternal _CMsgApplyPennantUpgrade_default_instance_; -class CMsgApplyStatTrakSwap; -struct CMsgApplyStatTrakSwapDefaultTypeInternal; -extern CMsgApplyStatTrakSwapDefaultTypeInternal _CMsgApplyStatTrakSwap_default_instance_; -class CMsgApplySticker; -struct CMsgApplyStickerDefaultTypeInternal; -extern CMsgApplyStickerDefaultTypeInternal _CMsgApplySticker_default_instance_; -class CMsgApplyStrangePart; -struct CMsgApplyStrangePartDefaultTypeInternal; -extern CMsgApplyStrangePartDefaultTypeInternal _CMsgApplyStrangePart_default_instance_; -class CMsgConVarValue; -struct CMsgConVarValueDefaultTypeInternal; -extern CMsgConVarValueDefaultTypeInternal _CMsgConVarValue_default_instance_; -class CMsgConsumableExhausted; -struct CMsgConsumableExhaustedDefaultTypeInternal; -extern CMsgConsumableExhaustedDefaultTypeInternal _CMsgConsumableExhausted_default_instance_; -class CMsgDevNewItemRequest; -struct CMsgDevNewItemRequestDefaultTypeInternal; -extern CMsgDevNewItemRequestDefaultTypeInternal _CMsgDevNewItemRequest_default_instance_; -class CMsgGCBannedWord; -struct CMsgGCBannedWordDefaultTypeInternal; -extern CMsgGCBannedWordDefaultTypeInternal _CMsgGCBannedWord_default_instance_; -class CMsgGCBannedWordListRequest; -struct CMsgGCBannedWordListRequestDefaultTypeInternal; -extern CMsgGCBannedWordListRequestDefaultTypeInternal _CMsgGCBannedWordListRequest_default_instance_; -class CMsgGCBannedWordListResponse; -struct CMsgGCBannedWordListResponseDefaultTypeInternal; -extern CMsgGCBannedWordListResponseDefaultTypeInternal _CMsgGCBannedWordListResponse_default_instance_; -class CMsgGCClientDisplayNotification; -struct CMsgGCClientDisplayNotificationDefaultTypeInternal; -extern CMsgGCClientDisplayNotificationDefaultTypeInternal _CMsgGCClientDisplayNotification_default_instance_; -class CMsgGCClientVersionUpdated; -struct CMsgGCClientVersionUpdatedDefaultTypeInternal; -extern CMsgGCClientVersionUpdatedDefaultTypeInternal _CMsgGCClientVersionUpdated_default_instance_; -class CMsgGCCollectItem; -struct CMsgGCCollectItemDefaultTypeInternal; -extern CMsgGCCollectItemDefaultTypeInternal _CMsgGCCollectItem_default_instance_; -class CMsgGCError; -struct CMsgGCErrorDefaultTypeInternal; -extern CMsgGCErrorDefaultTypeInternal _CMsgGCError_default_instance_; -class CMsgGCIncrementKillCountResponse; -struct CMsgGCIncrementKillCountResponseDefaultTypeInternal; -extern CMsgGCIncrementKillCountResponseDefaultTypeInternal _CMsgGCIncrementKillCountResponse_default_instance_; -class CMsgGCItemPreviewItemBoughtNotification; -struct CMsgGCItemPreviewItemBoughtNotificationDefaultTypeInternal; -extern CMsgGCItemPreviewItemBoughtNotificationDefaultTypeInternal _CMsgGCItemPreviewItemBoughtNotification_default_instance_; -class CMsgGCNameItemNotification; -struct CMsgGCNameItemNotificationDefaultTypeInternal; -extern CMsgGCNameItemNotificationDefaultTypeInternal _CMsgGCNameItemNotification_default_instance_; -class CMsgGCReportAbuse; -struct CMsgGCReportAbuseDefaultTypeInternal; -extern CMsgGCReportAbuseDefaultTypeInternal _CMsgGCReportAbuse_default_instance_; -class CMsgGCReportAbuseResponse; -struct CMsgGCReportAbuseResponseDefaultTypeInternal; -extern CMsgGCReportAbuseResponseDefaultTypeInternal _CMsgGCReportAbuseResponse_default_instance_; -class CMsgGCRequestAnnouncements; -struct CMsgGCRequestAnnouncementsDefaultTypeInternal; -extern CMsgGCRequestAnnouncementsDefaultTypeInternal _CMsgGCRequestAnnouncements_default_instance_; -class CMsgGCRequestAnnouncementsResponse; -struct CMsgGCRequestAnnouncementsResponseDefaultTypeInternal; -extern CMsgGCRequestAnnouncementsResponseDefaultTypeInternal _CMsgGCRequestAnnouncementsResponse_default_instance_; -class CMsgGCServerVersionUpdated; -struct CMsgGCServerVersionUpdatedDefaultTypeInternal; -extern CMsgGCServerVersionUpdatedDefaultTypeInternal _CMsgGCServerVersionUpdated_default_instance_; -class CMsgGCShowItemsPickedUp; -struct CMsgGCShowItemsPickedUpDefaultTypeInternal; -extern CMsgGCShowItemsPickedUpDefaultTypeInternal _CMsgGCShowItemsPickedUp_default_instance_; -class CMsgGCStorePurchaseCancel; -struct CMsgGCStorePurchaseCancelDefaultTypeInternal; -extern CMsgGCStorePurchaseCancelDefaultTypeInternal _CMsgGCStorePurchaseCancel_default_instance_; -class CMsgGCStorePurchaseCancelResponse; -struct CMsgGCStorePurchaseCancelResponseDefaultTypeInternal; -extern CMsgGCStorePurchaseCancelResponseDefaultTypeInternal _CMsgGCStorePurchaseCancelResponse_default_instance_; -class CMsgGCStorePurchaseFinalize; -struct CMsgGCStorePurchaseFinalizeDefaultTypeInternal; -extern CMsgGCStorePurchaseFinalizeDefaultTypeInternal _CMsgGCStorePurchaseFinalize_default_instance_; -class CMsgGCStorePurchaseFinalizeResponse; -struct CMsgGCStorePurchaseFinalizeResponseDefaultTypeInternal; -extern CMsgGCStorePurchaseFinalizeResponseDefaultTypeInternal _CMsgGCStorePurchaseFinalizeResponse_default_instance_; -class CMsgGCStorePurchaseInit; -struct CMsgGCStorePurchaseInitDefaultTypeInternal; -extern CMsgGCStorePurchaseInitDefaultTypeInternal _CMsgGCStorePurchaseInit_default_instance_; -class CMsgGCStorePurchaseInitResponse; -struct CMsgGCStorePurchaseInitResponseDefaultTypeInternal; -extern CMsgGCStorePurchaseInitResponseDefaultTypeInternal _CMsgGCStorePurchaseInitResponse_default_instance_; -class CMsgGCToGCBannedWordListBroadcast; -struct CMsgGCToGCBannedWordListBroadcastDefaultTypeInternal; -extern CMsgGCToGCBannedWordListBroadcastDefaultTypeInternal _CMsgGCToGCBannedWordListBroadcast_default_instance_; -class CMsgGCToGCBannedWordListUpdated; -struct CMsgGCToGCBannedWordListUpdatedDefaultTypeInternal; -extern CMsgGCToGCBannedWordListUpdatedDefaultTypeInternal _CMsgGCToGCBannedWordListUpdated_default_instance_; -class CMsgGCToGCBroadcastConsoleCommand; -struct CMsgGCToGCBroadcastConsoleCommandDefaultTypeInternal; -extern CMsgGCToGCBroadcastConsoleCommandDefaultTypeInternal _CMsgGCToGCBroadcastConsoleCommand_default_instance_; -class CMsgGCToGCDirtyMultipleSDOCache; -struct CMsgGCToGCDirtyMultipleSDOCacheDefaultTypeInternal; -extern CMsgGCToGCDirtyMultipleSDOCacheDefaultTypeInternal _CMsgGCToGCDirtyMultipleSDOCache_default_instance_; -class CMsgGCToGCDirtySDOCache; -struct CMsgGCToGCDirtySDOCacheDefaultTypeInternal; -extern CMsgGCToGCDirtySDOCacheDefaultTypeInternal _CMsgGCToGCDirtySDOCache_default_instance_; -class CMsgGCToGCIsTrustedServer; -struct CMsgGCToGCIsTrustedServerDefaultTypeInternal; -extern CMsgGCToGCIsTrustedServerDefaultTypeInternal _CMsgGCToGCIsTrustedServer_default_instance_; -class CMsgGCToGCIsTrustedServerResponse; -struct CMsgGCToGCIsTrustedServerResponseDefaultTypeInternal; -extern CMsgGCToGCIsTrustedServerResponseDefaultTypeInternal _CMsgGCToGCIsTrustedServerResponse_default_instance_; -class CMsgGCToGCRequestPassportItemGrant; -struct CMsgGCToGCRequestPassportItemGrantDefaultTypeInternal; -extern CMsgGCToGCRequestPassportItemGrantDefaultTypeInternal _CMsgGCToGCRequestPassportItemGrant_default_instance_; -class CMsgGCToGCUpdateSQLKeyValue; -struct CMsgGCToGCUpdateSQLKeyValueDefaultTypeInternal; -extern CMsgGCToGCUpdateSQLKeyValueDefaultTypeInternal _CMsgGCToGCUpdateSQLKeyValue_default_instance_; -class CMsgGCToGCWebAPIAccountChanged; -struct CMsgGCToGCWebAPIAccountChangedDefaultTypeInternal; -extern CMsgGCToGCWebAPIAccountChangedDefaultTypeInternal _CMsgGCToGCWebAPIAccountChanged_default_instance_; -class CMsgGameServerInfo; -struct CMsgGameServerInfoDefaultTypeInternal; -extern CMsgGameServerInfoDefaultTypeInternal _CMsgGameServerInfo_default_instance_; -class CMsgIncrementKillCountAttribute; -struct CMsgIncrementKillCountAttributeDefaultTypeInternal; -extern CMsgIncrementKillCountAttributeDefaultTypeInternal _CMsgIncrementKillCountAttribute_default_instance_; -class CMsgInvitationCreated; -struct CMsgInvitationCreatedDefaultTypeInternal; -extern CMsgInvitationCreatedDefaultTypeInternal _CMsgInvitationCreated_default_instance_; -class CMsgInviteToParty; -struct CMsgInviteToPartyDefaultTypeInternal; -extern CMsgInviteToPartyDefaultTypeInternal _CMsgInviteToParty_default_instance_; -class CMsgItemAcknowledged__DEPRECATED; -struct CMsgItemAcknowledged__DEPRECATEDDefaultTypeInternal; -extern CMsgItemAcknowledged__DEPRECATEDDefaultTypeInternal _CMsgItemAcknowledged__DEPRECATED_default_instance_; -class CMsgKickFromParty; -struct CMsgKickFromPartyDefaultTypeInternal; -extern CMsgKickFromPartyDefaultTypeInternal _CMsgKickFromParty_default_instance_; -class CMsgLANServerAvailable; -struct CMsgLANServerAvailableDefaultTypeInternal; -extern CMsgLANServerAvailableDefaultTypeInternal _CMsgLANServerAvailable_default_instance_; -class CMsgLeaveParty; -struct CMsgLeavePartyDefaultTypeInternal; -extern CMsgLeavePartyDefaultTypeInternal _CMsgLeaveParty_default_instance_; -class CMsgModifyItemAttribute; -struct CMsgModifyItemAttributeDefaultTypeInternal; -extern CMsgModifyItemAttributeDefaultTypeInternal _CMsgModifyItemAttribute_default_instance_; -class CMsgOpenCrate; -struct CMsgOpenCrateDefaultTypeInternal; -extern CMsgOpenCrateDefaultTypeInternal _CMsgOpenCrate_default_instance_; -class CMsgPartyInviteResponse; -struct CMsgPartyInviteResponseDefaultTypeInternal; -extern CMsgPartyInviteResponseDefaultTypeInternal _CMsgPartyInviteResponse_default_instance_; -class CMsgReplayUploadedToYouTube; -struct CMsgReplayUploadedToYouTubeDefaultTypeInternal; -extern CMsgReplayUploadedToYouTubeDefaultTypeInternal _CMsgReplayUploadedToYouTube_default_instance_; -class CMsgReplicateConVars; -struct CMsgReplicateConVarsDefaultTypeInternal; -extern CMsgReplicateConVarsDefaultTypeInternal _CMsgReplicateConVars_default_instance_; -class CMsgRequestInventoryRefresh; -struct CMsgRequestInventoryRefreshDefaultTypeInternal; -extern CMsgRequestInventoryRefreshDefaultTypeInternal _CMsgRequestInventoryRefresh_default_instance_; -class CMsgSDONoMemcached; -struct CMsgSDONoMemcachedDefaultTypeInternal; -extern CMsgSDONoMemcachedDefaultTypeInternal _CMsgSDONoMemcached_default_instance_; -class CMsgServerAvailable; -struct CMsgServerAvailableDefaultTypeInternal; -extern CMsgServerAvailableDefaultTypeInternal _CMsgServerAvailable_default_instance_; -class CMsgSetItemPositions; -struct CMsgSetItemPositionsDefaultTypeInternal; -extern CMsgSetItemPositionsDefaultTypeInternal _CMsgSetItemPositions_default_instance_; -class CMsgSetItemPositions_ItemPosition; -struct CMsgSetItemPositions_ItemPositionDefaultTypeInternal; -extern CMsgSetItemPositions_ItemPositionDefaultTypeInternal _CMsgSetItemPositions_ItemPosition_default_instance_; -class CMsgSortItems; -struct CMsgSortItemsDefaultTypeInternal; -extern CMsgSortItemsDefaultTypeInternal _CMsgSortItems_default_instance_; -class CMsgStoreGetUserData; -struct CMsgStoreGetUserDataDefaultTypeInternal; -extern CMsgStoreGetUserDataDefaultTypeInternal _CMsgStoreGetUserData_default_instance_; -class CMsgStoreGetUserDataResponse; -struct CMsgStoreGetUserDataResponseDefaultTypeInternal; -extern CMsgStoreGetUserDataResponseDefaultTypeInternal _CMsgStoreGetUserDataResponse_default_instance_; -class CMsgSystemBroadcast; -struct CMsgSystemBroadcastDefaultTypeInternal; -extern CMsgSystemBroadcastDefaultTypeInternal _CMsgSystemBroadcast_default_instance_; -class CMsgUpdateItemSchema; -struct CMsgUpdateItemSchemaDefaultTypeInternal; -extern CMsgUpdateItemSchemaDefaultTypeInternal _CMsgUpdateItemSchema_default_instance_; -class CMsgUseItem; -struct CMsgUseItemDefaultTypeInternal; -extern CMsgUseItemDefaultTypeInternal _CMsgUseItem_default_instance_; -class CSOEconClaimCode; -struct CSOEconClaimCodeDefaultTypeInternal; -extern CSOEconClaimCodeDefaultTypeInternal _CSOEconClaimCode_default_instance_; -class CSOEconEquipSlot; -struct CSOEconEquipSlotDefaultTypeInternal; -extern CSOEconEquipSlotDefaultTypeInternal _CSOEconEquipSlot_default_instance_; -class CSOEconGameAccountClient; -struct CSOEconGameAccountClientDefaultTypeInternal; -extern CSOEconGameAccountClientDefaultTypeInternal _CSOEconGameAccountClient_default_instance_; -class CSOEconItem; -struct CSOEconItemDefaultTypeInternal; -extern CSOEconItemDefaultTypeInternal _CSOEconItem_default_instance_; -class CSOEconItemAttribute; -struct CSOEconItemAttributeDefaultTypeInternal; -extern CSOEconItemAttributeDefaultTypeInternal _CSOEconItemAttribute_default_instance_; -class CSOEconItemDropRateBonus; -struct CSOEconItemDropRateBonusDefaultTypeInternal; -extern CSOEconItemDropRateBonusDefaultTypeInternal _CSOEconItemDropRateBonus_default_instance_; -class CSOEconItemEquipped; -struct CSOEconItemEquippedDefaultTypeInternal; -extern CSOEconItemEquippedDefaultTypeInternal _CSOEconItemEquipped_default_instance_; -class CSOEconItemEventTicket; -struct CSOEconItemEventTicketDefaultTypeInternal; -extern CSOEconItemEventTicketDefaultTypeInternal _CSOEconItemEventTicket_default_instance_; -class CSOEconItemLeagueViewPass; -struct CSOEconItemLeagueViewPassDefaultTypeInternal; -extern CSOEconItemLeagueViewPassDefaultTypeInternal _CSOEconItemLeagueViewPass_default_instance_; -class CSOEconRentalHistory; -struct CSOEconRentalHistoryDefaultTypeInternal; -extern CSOEconRentalHistoryDefaultTypeInternal _CSOEconRentalHistory_default_instance_; -class CSOItemCriteria; -struct CSOItemCriteriaDefaultTypeInternal; -extern CSOItemCriteriaDefaultTypeInternal _CSOItemCriteria_default_instance_; -class CSOItemCriteriaCondition; -struct CSOItemCriteriaConditionDefaultTypeInternal; -extern CSOItemCriteriaConditionDefaultTypeInternal _CSOItemCriteriaCondition_default_instance_; -class CSOItemRecipe; -struct CSOItemRecipeDefaultTypeInternal; -extern CSOItemRecipeDefaultTypeInternal _CSOItemRecipe_default_instance_; -class CSOLobbyInvite; -struct CSOLobbyInviteDefaultTypeInternal; -extern CSOLobbyInviteDefaultTypeInternal _CSOLobbyInvite_default_instance_; -class CSOPartyInvite; -struct CSOPartyInviteDefaultTypeInternal; -extern CSOPartyInviteDefaultTypeInternal _CSOPartyInvite_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CGCStorePurchaseInit_LineItem* Arena::CreateMaybeMessage<::CGCStorePurchaseInit_LineItem>(Arena*); -template<> ::CMsgAcknowledgeRentalExpiration* Arena::CreateMaybeMessage<::CMsgAcknowledgeRentalExpiration>(Arena*); -template<> ::CMsgAdjustEquipSlot* Arena::CreateMaybeMessage<::CMsgAdjustEquipSlot>(Arena*); -template<> ::CMsgAdjustEquipSlots* Arena::CreateMaybeMessage<::CMsgAdjustEquipSlots>(Arena*); -template<> ::CMsgApplyEggEssence* Arena::CreateMaybeMessage<::CMsgApplyEggEssence>(Arena*); -template<> ::CMsgApplyPennantUpgrade* Arena::CreateMaybeMessage<::CMsgApplyPennantUpgrade>(Arena*); -template<> ::CMsgApplyStatTrakSwap* Arena::CreateMaybeMessage<::CMsgApplyStatTrakSwap>(Arena*); -template<> ::CMsgApplySticker* Arena::CreateMaybeMessage<::CMsgApplySticker>(Arena*); -template<> ::CMsgApplyStrangePart* Arena::CreateMaybeMessage<::CMsgApplyStrangePart>(Arena*); -template<> ::CMsgConVarValue* Arena::CreateMaybeMessage<::CMsgConVarValue>(Arena*); -template<> ::CMsgConsumableExhausted* Arena::CreateMaybeMessage<::CMsgConsumableExhausted>(Arena*); -template<> ::CMsgDevNewItemRequest* Arena::CreateMaybeMessage<::CMsgDevNewItemRequest>(Arena*); -template<> ::CMsgGCBannedWord* Arena::CreateMaybeMessage<::CMsgGCBannedWord>(Arena*); -template<> ::CMsgGCBannedWordListRequest* Arena::CreateMaybeMessage<::CMsgGCBannedWordListRequest>(Arena*); -template<> ::CMsgGCBannedWordListResponse* Arena::CreateMaybeMessage<::CMsgGCBannedWordListResponse>(Arena*); -template<> ::CMsgGCClientDisplayNotification* Arena::CreateMaybeMessage<::CMsgGCClientDisplayNotification>(Arena*); -template<> ::CMsgGCClientVersionUpdated* Arena::CreateMaybeMessage<::CMsgGCClientVersionUpdated>(Arena*); -template<> ::CMsgGCCollectItem* Arena::CreateMaybeMessage<::CMsgGCCollectItem>(Arena*); -template<> ::CMsgGCError* Arena::CreateMaybeMessage<::CMsgGCError>(Arena*); -template<> ::CMsgGCIncrementKillCountResponse* Arena::CreateMaybeMessage<::CMsgGCIncrementKillCountResponse>(Arena*); -template<> ::CMsgGCItemPreviewItemBoughtNotification* Arena::CreateMaybeMessage<::CMsgGCItemPreviewItemBoughtNotification>(Arena*); -template<> ::CMsgGCNameItemNotification* Arena::CreateMaybeMessage<::CMsgGCNameItemNotification>(Arena*); -template<> ::CMsgGCReportAbuse* Arena::CreateMaybeMessage<::CMsgGCReportAbuse>(Arena*); -template<> ::CMsgGCReportAbuseResponse* Arena::CreateMaybeMessage<::CMsgGCReportAbuseResponse>(Arena*); -template<> ::CMsgGCRequestAnnouncements* Arena::CreateMaybeMessage<::CMsgGCRequestAnnouncements>(Arena*); -template<> ::CMsgGCRequestAnnouncementsResponse* Arena::CreateMaybeMessage<::CMsgGCRequestAnnouncementsResponse>(Arena*); -template<> ::CMsgGCServerVersionUpdated* Arena::CreateMaybeMessage<::CMsgGCServerVersionUpdated>(Arena*); -template<> ::CMsgGCShowItemsPickedUp* Arena::CreateMaybeMessage<::CMsgGCShowItemsPickedUp>(Arena*); -template<> ::CMsgGCStorePurchaseCancel* Arena::CreateMaybeMessage<::CMsgGCStorePurchaseCancel>(Arena*); -template<> ::CMsgGCStorePurchaseCancelResponse* Arena::CreateMaybeMessage<::CMsgGCStorePurchaseCancelResponse>(Arena*); -template<> ::CMsgGCStorePurchaseFinalize* Arena::CreateMaybeMessage<::CMsgGCStorePurchaseFinalize>(Arena*); -template<> ::CMsgGCStorePurchaseFinalizeResponse* Arena::CreateMaybeMessage<::CMsgGCStorePurchaseFinalizeResponse>(Arena*); -template<> ::CMsgGCStorePurchaseInit* Arena::CreateMaybeMessage<::CMsgGCStorePurchaseInit>(Arena*); -template<> ::CMsgGCStorePurchaseInitResponse* Arena::CreateMaybeMessage<::CMsgGCStorePurchaseInitResponse>(Arena*); -template<> ::CMsgGCToGCBannedWordListBroadcast* Arena::CreateMaybeMessage<::CMsgGCToGCBannedWordListBroadcast>(Arena*); -template<> ::CMsgGCToGCBannedWordListUpdated* Arena::CreateMaybeMessage<::CMsgGCToGCBannedWordListUpdated>(Arena*); -template<> ::CMsgGCToGCBroadcastConsoleCommand* Arena::CreateMaybeMessage<::CMsgGCToGCBroadcastConsoleCommand>(Arena*); -template<> ::CMsgGCToGCDirtyMultipleSDOCache* Arena::CreateMaybeMessage<::CMsgGCToGCDirtyMultipleSDOCache>(Arena*); -template<> ::CMsgGCToGCDirtySDOCache* Arena::CreateMaybeMessage<::CMsgGCToGCDirtySDOCache>(Arena*); -template<> ::CMsgGCToGCIsTrustedServer* Arena::CreateMaybeMessage<::CMsgGCToGCIsTrustedServer>(Arena*); -template<> ::CMsgGCToGCIsTrustedServerResponse* Arena::CreateMaybeMessage<::CMsgGCToGCIsTrustedServerResponse>(Arena*); -template<> ::CMsgGCToGCRequestPassportItemGrant* Arena::CreateMaybeMessage<::CMsgGCToGCRequestPassportItemGrant>(Arena*); -template<> ::CMsgGCToGCUpdateSQLKeyValue* Arena::CreateMaybeMessage<::CMsgGCToGCUpdateSQLKeyValue>(Arena*); -template<> ::CMsgGCToGCWebAPIAccountChanged* Arena::CreateMaybeMessage<::CMsgGCToGCWebAPIAccountChanged>(Arena*); -template<> ::CMsgGameServerInfo* Arena::CreateMaybeMessage<::CMsgGameServerInfo>(Arena*); -template<> ::CMsgIncrementKillCountAttribute* Arena::CreateMaybeMessage<::CMsgIncrementKillCountAttribute>(Arena*); -template<> ::CMsgInvitationCreated* Arena::CreateMaybeMessage<::CMsgInvitationCreated>(Arena*); -template<> ::CMsgInviteToParty* Arena::CreateMaybeMessage<::CMsgInviteToParty>(Arena*); -template<> ::CMsgItemAcknowledged__DEPRECATED* Arena::CreateMaybeMessage<::CMsgItemAcknowledged__DEPRECATED>(Arena*); -template<> ::CMsgKickFromParty* Arena::CreateMaybeMessage<::CMsgKickFromParty>(Arena*); -template<> ::CMsgLANServerAvailable* Arena::CreateMaybeMessage<::CMsgLANServerAvailable>(Arena*); -template<> ::CMsgLeaveParty* Arena::CreateMaybeMessage<::CMsgLeaveParty>(Arena*); -template<> ::CMsgModifyItemAttribute* Arena::CreateMaybeMessage<::CMsgModifyItemAttribute>(Arena*); -template<> ::CMsgOpenCrate* Arena::CreateMaybeMessage<::CMsgOpenCrate>(Arena*); -template<> ::CMsgPartyInviteResponse* Arena::CreateMaybeMessage<::CMsgPartyInviteResponse>(Arena*); -template<> ::CMsgReplayUploadedToYouTube* Arena::CreateMaybeMessage<::CMsgReplayUploadedToYouTube>(Arena*); -template<> ::CMsgReplicateConVars* Arena::CreateMaybeMessage<::CMsgReplicateConVars>(Arena*); -template<> ::CMsgRequestInventoryRefresh* Arena::CreateMaybeMessage<::CMsgRequestInventoryRefresh>(Arena*); -template<> ::CMsgSDONoMemcached* Arena::CreateMaybeMessage<::CMsgSDONoMemcached>(Arena*); -template<> ::CMsgServerAvailable* Arena::CreateMaybeMessage<::CMsgServerAvailable>(Arena*); -template<> ::CMsgSetItemPositions* Arena::CreateMaybeMessage<::CMsgSetItemPositions>(Arena*); -template<> ::CMsgSetItemPositions_ItemPosition* Arena::CreateMaybeMessage<::CMsgSetItemPositions_ItemPosition>(Arena*); -template<> ::CMsgSortItems* Arena::CreateMaybeMessage<::CMsgSortItems>(Arena*); -template<> ::CMsgStoreGetUserData* Arena::CreateMaybeMessage<::CMsgStoreGetUserData>(Arena*); -template<> ::CMsgStoreGetUserDataResponse* Arena::CreateMaybeMessage<::CMsgStoreGetUserDataResponse>(Arena*); -template<> ::CMsgSystemBroadcast* Arena::CreateMaybeMessage<::CMsgSystemBroadcast>(Arena*); -template<> ::CMsgUpdateItemSchema* Arena::CreateMaybeMessage<::CMsgUpdateItemSchema>(Arena*); -template<> ::CMsgUseItem* Arena::CreateMaybeMessage<::CMsgUseItem>(Arena*); -template<> ::CSOEconClaimCode* Arena::CreateMaybeMessage<::CSOEconClaimCode>(Arena*); -template<> ::CSOEconEquipSlot* Arena::CreateMaybeMessage<::CSOEconEquipSlot>(Arena*); -template<> ::CSOEconGameAccountClient* Arena::CreateMaybeMessage<::CSOEconGameAccountClient>(Arena*); -template<> ::CSOEconItem* Arena::CreateMaybeMessage<::CSOEconItem>(Arena*); -template<> ::CSOEconItemAttribute* Arena::CreateMaybeMessage<::CSOEconItemAttribute>(Arena*); -template<> ::CSOEconItemDropRateBonus* Arena::CreateMaybeMessage<::CSOEconItemDropRateBonus>(Arena*); -template<> ::CSOEconItemEquipped* Arena::CreateMaybeMessage<::CSOEconItemEquipped>(Arena*); -template<> ::CSOEconItemEventTicket* Arena::CreateMaybeMessage<::CSOEconItemEventTicket>(Arena*); -template<> ::CSOEconItemLeagueViewPass* Arena::CreateMaybeMessage<::CSOEconItemLeagueViewPass>(Arena*); -template<> ::CSOEconRentalHistory* Arena::CreateMaybeMessage<::CSOEconRentalHistory>(Arena*); -template<> ::CSOItemCriteria* Arena::CreateMaybeMessage<::CSOItemCriteria>(Arena*); -template<> ::CSOItemCriteriaCondition* Arena::CreateMaybeMessage<::CSOItemCriteriaCondition>(Arena*); -template<> ::CSOItemRecipe* Arena::CreateMaybeMessage<::CSOItemRecipe>(Arena*); -template<> ::CSOLobbyInvite* Arena::CreateMaybeMessage<::CSOLobbyInvite>(Arena*); -template<> ::CSOPartyInvite* Arena::CreateMaybeMessage<::CSOPartyInvite>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum CMsgGameServerInfo_ServerType : int { - CMsgGameServerInfo_ServerType_UNSPECIFIED = 0, - CMsgGameServerInfo_ServerType_GAME = 1, - CMsgGameServerInfo_ServerType_PROXY = 2 -}; -bool CMsgGameServerInfo_ServerType_IsValid(int value); -constexpr CMsgGameServerInfo_ServerType CMsgGameServerInfo_ServerType_ServerType_MIN = CMsgGameServerInfo_ServerType_UNSPECIFIED; -constexpr CMsgGameServerInfo_ServerType CMsgGameServerInfo_ServerType_ServerType_MAX = CMsgGameServerInfo_ServerType_PROXY; -constexpr int CMsgGameServerInfo_ServerType_ServerType_ARRAYSIZE = CMsgGameServerInfo_ServerType_ServerType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgGameServerInfo_ServerType_descriptor(); -template -inline const std::string& CMsgGameServerInfo_ServerType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CMsgGameServerInfo_ServerType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CMsgGameServerInfo_ServerType_descriptor(), enum_t_value); -} -inline bool CMsgGameServerInfo_ServerType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgGameServerInfo_ServerType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CMsgGameServerInfo_ServerType_descriptor(), name, value); -} -enum EGCBaseMsg : int { - k_EMsgGCSystemMessage = 4001, - k_EMsgGCReplicateConVars = 4002, - k_EMsgGCConVarUpdated = 4003, - k_EMsgGCInQueue = 4008, - k_EMsgGCInviteToParty = 4501, - k_EMsgGCInvitationCreated = 4502, - k_EMsgGCPartyInviteResponse = 4503, - k_EMsgGCKickFromParty = 4504, - k_EMsgGCLeaveParty = 4505, - k_EMsgGCServerAvailable = 4506, - k_EMsgGCClientConnectToServer = 4507, - k_EMsgGCGameServerInfo = 4508, - k_EMsgGCError = 4509, - k_EMsgGCReplay_UploadedToYouTube = 4510, - k_EMsgGCLANServerAvailable = 4511 -}; -bool EGCBaseMsg_IsValid(int value); -constexpr EGCBaseMsg EGCBaseMsg_MIN = k_EMsgGCSystemMessage; -constexpr EGCBaseMsg EGCBaseMsg_MAX = k_EMsgGCLANServerAvailable; -constexpr int EGCBaseMsg_ARRAYSIZE = EGCBaseMsg_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCBaseMsg_descriptor(); -template -inline const std::string& EGCBaseMsg_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EGCBaseMsg_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EGCBaseMsg_descriptor(), enum_t_value); -} -inline bool EGCBaseMsg_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EGCBaseMsg* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EGCBaseMsg_descriptor(), name, value); -} -enum EGCBaseProtoObjectTypes : int { - k_EProtoObjectPartyInvite = 1001, - k_EProtoObjectLobbyInvite = 1002 -}; -bool EGCBaseProtoObjectTypes_IsValid(int value); -constexpr EGCBaseProtoObjectTypes EGCBaseProtoObjectTypes_MIN = k_EProtoObjectPartyInvite; -constexpr EGCBaseProtoObjectTypes EGCBaseProtoObjectTypes_MAX = k_EProtoObjectLobbyInvite; -constexpr int EGCBaseProtoObjectTypes_ARRAYSIZE = EGCBaseProtoObjectTypes_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCBaseProtoObjectTypes_descriptor(); -template -inline const std::string& EGCBaseProtoObjectTypes_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EGCBaseProtoObjectTypes_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EGCBaseProtoObjectTypes_descriptor(), enum_t_value); -} -inline bool EGCBaseProtoObjectTypes_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EGCBaseProtoObjectTypes* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EGCBaseProtoObjectTypes_descriptor(), name, value); -} -enum GC_BannedWordType : int { - GC_BANNED_WORD_DISABLE_WORD = 0, - GC_BANNED_WORD_ENABLE_WORD = 1 -}; -bool GC_BannedWordType_IsValid(int value); -constexpr GC_BannedWordType GC_BannedWordType_MIN = GC_BANNED_WORD_DISABLE_WORD; -constexpr GC_BannedWordType GC_BannedWordType_MAX = GC_BANNED_WORD_ENABLE_WORD; -constexpr int GC_BannedWordType_ARRAYSIZE = GC_BannedWordType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GC_BannedWordType_descriptor(); -template -inline const std::string& GC_BannedWordType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function GC_BannedWordType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - GC_BannedWordType_descriptor(), enum_t_value); -} -inline bool GC_BannedWordType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GC_BannedWordType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - GC_BannedWordType_descriptor(), name, value); -} -// =================================================================== - -class CGCStorePurchaseInit_LineItem : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGCStorePurchaseInit_LineItem) */ { - public: - inline CGCStorePurchaseInit_LineItem() : CGCStorePurchaseInit_LineItem(nullptr) {} - ~CGCStorePurchaseInit_LineItem() override; - explicit PROTOBUF_CONSTEXPR CGCStorePurchaseInit_LineItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGCStorePurchaseInit_LineItem(const CGCStorePurchaseInit_LineItem& from); - CGCStorePurchaseInit_LineItem(CGCStorePurchaseInit_LineItem&& from) noexcept - : CGCStorePurchaseInit_LineItem() { - *this = ::std::move(from); - } - - inline CGCStorePurchaseInit_LineItem& operator=(const CGCStorePurchaseInit_LineItem& from) { - CopyFrom(from); - return *this; - } - inline CGCStorePurchaseInit_LineItem& operator=(CGCStorePurchaseInit_LineItem&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGCStorePurchaseInit_LineItem& default_instance() { - return *internal_default_instance(); - } - static inline const CGCStorePurchaseInit_LineItem* internal_default_instance() { - return reinterpret_cast( - &_CGCStorePurchaseInit_LineItem_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CGCStorePurchaseInit_LineItem& a, CGCStorePurchaseInit_LineItem& b) { - a.Swap(&b); - } - inline void Swap(CGCStorePurchaseInit_LineItem* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGCStorePurchaseInit_LineItem* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGCStorePurchaseInit_LineItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CGCStorePurchaseInit_LineItem& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CGCStorePurchaseInit_LineItem& from) { - CGCStorePurchaseInit_LineItem::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CGCStorePurchaseInit_LineItem* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGCStorePurchaseInit_LineItem"; - } - protected: - explicit CGCStorePurchaseInit_LineItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemDefIdFieldNumber = 1, - kQuantityFieldNumber = 2, - kCostInLocalCurrencyFieldNumber = 3, - kPurchaseTypeFieldNumber = 4, - kSupplementalDataFieldNumber = 5, - }; - // optional uint32 item_def_id = 1; - bool has_item_def_id() const; - private: - bool _internal_has_item_def_id() const; - public: - void clear_item_def_id(); - uint32_t item_def_id() const; - void set_item_def_id(uint32_t value); - private: - uint32_t _internal_item_def_id() const; - void _internal_set_item_def_id(uint32_t value); - public: - - // optional uint32 quantity = 2; - bool has_quantity() const; - private: - bool _internal_has_quantity() const; - public: - void clear_quantity(); - uint32_t quantity() const; - void set_quantity(uint32_t value); - private: - uint32_t _internal_quantity() const; - void _internal_set_quantity(uint32_t value); - public: - - // optional uint32 cost_in_local_currency = 3; - bool has_cost_in_local_currency() const; - private: - bool _internal_has_cost_in_local_currency() const; - public: - void clear_cost_in_local_currency(); - uint32_t cost_in_local_currency() const; - void set_cost_in_local_currency(uint32_t value); - private: - uint32_t _internal_cost_in_local_currency() const; - void _internal_set_cost_in_local_currency(uint32_t value); - public: - - // optional uint32 purchase_type = 4; - bool has_purchase_type() const; - private: - bool _internal_has_purchase_type() const; - public: - void clear_purchase_type(); - uint32_t purchase_type() const; - void set_purchase_type(uint32_t value); - private: - uint32_t _internal_purchase_type() const; - void _internal_set_purchase_type(uint32_t value); - public: - - // optional uint64 supplemental_data = 5; - bool has_supplemental_data() const; - private: - bool _internal_has_supplemental_data() const; - public: - void clear_supplemental_data(); - uint64_t supplemental_data() const; - void set_supplemental_data(uint64_t value); - private: - uint64_t _internal_supplemental_data() const; - void _internal_set_supplemental_data(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CGCStorePurchaseInit_LineItem) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t item_def_id_; - uint32_t quantity_; - uint32_t cost_in_local_currency_; - uint32_t purchase_type_; - uint64_t supplemental_data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCStorePurchaseInit : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCStorePurchaseInit) */ { - public: - inline CMsgGCStorePurchaseInit() : CMsgGCStorePurchaseInit(nullptr) {} - ~CMsgGCStorePurchaseInit() override; - explicit PROTOBUF_CONSTEXPR CMsgGCStorePurchaseInit(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCStorePurchaseInit(const CMsgGCStorePurchaseInit& from); - CMsgGCStorePurchaseInit(CMsgGCStorePurchaseInit&& from) noexcept - : CMsgGCStorePurchaseInit() { - *this = ::std::move(from); - } - - inline CMsgGCStorePurchaseInit& operator=(const CMsgGCStorePurchaseInit& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCStorePurchaseInit& operator=(CMsgGCStorePurchaseInit&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCStorePurchaseInit& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCStorePurchaseInit* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCStorePurchaseInit_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CMsgGCStorePurchaseInit& a, CMsgGCStorePurchaseInit& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCStorePurchaseInit* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCStorePurchaseInit* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCStorePurchaseInit* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCStorePurchaseInit& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCStorePurchaseInit& from) { - CMsgGCStorePurchaseInit::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCStorePurchaseInit* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCStorePurchaseInit"; - } - protected: - explicit CMsgGCStorePurchaseInit(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLineItemsFieldNumber = 4, - kCountryFieldNumber = 1, - kLanguageFieldNumber = 2, - kCurrencyFieldNumber = 3, - }; - // repeated .CGCStorePurchaseInit_LineItem line_items = 4; - int line_items_size() const; - private: - int _internal_line_items_size() const; - public: - void clear_line_items(); - ::CGCStorePurchaseInit_LineItem* mutable_line_items(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGCStorePurchaseInit_LineItem >* - mutable_line_items(); - private: - const ::CGCStorePurchaseInit_LineItem& _internal_line_items(int index) const; - ::CGCStorePurchaseInit_LineItem* _internal_add_line_items(); - public: - const ::CGCStorePurchaseInit_LineItem& line_items(int index) const; - ::CGCStorePurchaseInit_LineItem* add_line_items(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGCStorePurchaseInit_LineItem >& - line_items() const; - - // optional string country = 1; - bool has_country() const; - private: - bool _internal_has_country() const; - public: - void clear_country(); - const std::string& country() const; - template - void set_country(ArgT0&& arg0, ArgT... args); - std::string* mutable_country(); - PROTOBUF_NODISCARD std::string* release_country(); - void set_allocated_country(std::string* country); - private: - const std::string& _internal_country() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_country(const std::string& value); - std::string* _internal_mutable_country(); - public: - - // optional int32 language = 2; - bool has_language() const; - private: - bool _internal_has_language() const; - public: - void clear_language(); - int32_t language() const; - void set_language(int32_t value); - private: - int32_t _internal_language() const; - void _internal_set_language(int32_t value); - public: - - // optional int32 currency = 3; - bool has_currency() const; - private: - bool _internal_has_currency() const; - public: - void clear_currency(); - int32_t currency() const; - void set_currency(int32_t value); - private: - int32_t _internal_currency() const; - void _internal_set_currency(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCStorePurchaseInit) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGCStorePurchaseInit_LineItem > line_items_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr country_; - int32_t language_; - int32_t currency_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCStorePurchaseInitResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCStorePurchaseInitResponse) */ { - public: - inline CMsgGCStorePurchaseInitResponse() : CMsgGCStorePurchaseInitResponse(nullptr) {} - ~CMsgGCStorePurchaseInitResponse() override; - explicit PROTOBUF_CONSTEXPR CMsgGCStorePurchaseInitResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCStorePurchaseInitResponse(const CMsgGCStorePurchaseInitResponse& from); - CMsgGCStorePurchaseInitResponse(CMsgGCStorePurchaseInitResponse&& from) noexcept - : CMsgGCStorePurchaseInitResponse() { - *this = ::std::move(from); - } - - inline CMsgGCStorePurchaseInitResponse& operator=(const CMsgGCStorePurchaseInitResponse& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCStorePurchaseInitResponse& operator=(CMsgGCStorePurchaseInitResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCStorePurchaseInitResponse& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCStorePurchaseInitResponse* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCStorePurchaseInitResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CMsgGCStorePurchaseInitResponse& a, CMsgGCStorePurchaseInitResponse& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCStorePurchaseInitResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCStorePurchaseInitResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCStorePurchaseInitResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCStorePurchaseInitResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCStorePurchaseInitResponse& from) { - CMsgGCStorePurchaseInitResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCStorePurchaseInitResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCStorePurchaseInitResponse"; - } - protected: - explicit CMsgGCStorePurchaseInitResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemIdsFieldNumber = 4, - kUrlFieldNumber = 3, - kTxnIdFieldNumber = 2, - kResultFieldNumber = 1, - }; - // repeated uint64 item_ids = 4; - int item_ids_size() const; - private: - int _internal_item_ids_size() const; - public: - void clear_item_ids(); - private: - uint64_t _internal_item_ids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - _internal_item_ids() const; - void _internal_add_item_ids(uint64_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - _internal_mutable_item_ids(); - public: - uint64_t item_ids(int index) const; - void set_item_ids(int index, uint64_t value); - void add_item_ids(uint64_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - item_ids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - mutable_item_ids(); - - // optional string url = 3; - bool has_url() const; - private: - bool _internal_has_url() const; - public: - void clear_url(); - const std::string& url() const; - template - void set_url(ArgT0&& arg0, ArgT... args); - std::string* mutable_url(); - PROTOBUF_NODISCARD std::string* release_url(); - void set_allocated_url(std::string* url); - private: - const std::string& _internal_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value); - std::string* _internal_mutable_url(); - public: - - // optional uint64 txn_id = 2; - bool has_txn_id() const; - private: - bool _internal_has_txn_id() const; - public: - void clear_txn_id(); - uint64_t txn_id() const; - void set_txn_id(uint64_t value); - private: - uint64_t _internal_txn_id() const; - void _internal_set_txn_id(uint64_t value); - public: - - // optional int32 result = 1; - bool has_result() const; - private: - bool _internal_has_result() const; - public: - void clear_result(); - int32_t result() const; - void set_result(int32_t value); - private: - int32_t _internal_result() const; - void _internal_set_result(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCStorePurchaseInitResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > item_ids_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; - uint64_t txn_id_; - int32_t result_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOPartyInvite : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOPartyInvite) */ { - public: - inline CSOPartyInvite() : CSOPartyInvite(nullptr) {} - ~CSOPartyInvite() override; - explicit PROTOBUF_CONSTEXPR CSOPartyInvite(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOPartyInvite(const CSOPartyInvite& from); - CSOPartyInvite(CSOPartyInvite&& from) noexcept - : CSOPartyInvite() { - *this = ::std::move(from); - } - - inline CSOPartyInvite& operator=(const CSOPartyInvite& from) { - CopyFrom(from); - return *this; - } - inline CSOPartyInvite& operator=(CSOPartyInvite&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOPartyInvite& default_instance() { - return *internal_default_instance(); - } - static inline const CSOPartyInvite* internal_default_instance() { - return reinterpret_cast( - &_CSOPartyInvite_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CSOPartyInvite& a, CSOPartyInvite& b) { - a.Swap(&b); - } - inline void Swap(CSOPartyInvite* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOPartyInvite* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOPartyInvite* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOPartyInvite& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOPartyInvite& from) { - CSOPartyInvite::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOPartyInvite* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOPartyInvite"; - } - protected: - explicit CSOPartyInvite(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSenderNameFieldNumber = 3, - kGroupIdFieldNumber = 1, - kSenderIdFieldNumber = 2, - }; - // optional string sender_name = 3; - bool has_sender_name() const; - private: - bool _internal_has_sender_name() const; - public: - void clear_sender_name(); - const std::string& sender_name() const; - template - void set_sender_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_sender_name(); - PROTOBUF_NODISCARD std::string* release_sender_name(); - void set_allocated_sender_name(std::string* sender_name); - private: - const std::string& _internal_sender_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_sender_name(const std::string& value); - std::string* _internal_mutable_sender_name(); - public: - - // optional uint64 group_id = 1 [(.key_field) = true]; - bool has_group_id() const; - private: - bool _internal_has_group_id() const; - public: - void clear_group_id(); - uint64_t group_id() const; - void set_group_id(uint64_t value); - private: - uint64_t _internal_group_id() const; - void _internal_set_group_id(uint64_t value); - public: - - // optional fixed64 sender_id = 2; - bool has_sender_id() const; - private: - bool _internal_has_sender_id() const; - public: - void clear_sender_id(); - uint64_t sender_id() const; - void set_sender_id(uint64_t value); - private: - uint64_t _internal_sender_id() const; - void _internal_set_sender_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOPartyInvite) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sender_name_; - uint64_t group_id_; - uint64_t sender_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOLobbyInvite : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOLobbyInvite) */ { - public: - inline CSOLobbyInvite() : CSOLobbyInvite(nullptr) {} - ~CSOLobbyInvite() override; - explicit PROTOBUF_CONSTEXPR CSOLobbyInvite(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOLobbyInvite(const CSOLobbyInvite& from); - CSOLobbyInvite(CSOLobbyInvite&& from) noexcept - : CSOLobbyInvite() { - *this = ::std::move(from); - } - - inline CSOLobbyInvite& operator=(const CSOLobbyInvite& from) { - CopyFrom(from); - return *this; - } - inline CSOLobbyInvite& operator=(CSOLobbyInvite&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOLobbyInvite& default_instance() { - return *internal_default_instance(); - } - static inline const CSOLobbyInvite* internal_default_instance() { - return reinterpret_cast( - &_CSOLobbyInvite_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CSOLobbyInvite& a, CSOLobbyInvite& b) { - a.Swap(&b); - } - inline void Swap(CSOLobbyInvite* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOLobbyInvite* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOLobbyInvite* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOLobbyInvite& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOLobbyInvite& from) { - CSOLobbyInvite::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOLobbyInvite* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOLobbyInvite"; - } - protected: - explicit CSOLobbyInvite(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSenderNameFieldNumber = 3, - kGroupIdFieldNumber = 1, - kSenderIdFieldNumber = 2, - }; - // optional string sender_name = 3; - bool has_sender_name() const; - private: - bool _internal_has_sender_name() const; - public: - void clear_sender_name(); - const std::string& sender_name() const; - template - void set_sender_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_sender_name(); - PROTOBUF_NODISCARD std::string* release_sender_name(); - void set_allocated_sender_name(std::string* sender_name); - private: - const std::string& _internal_sender_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_sender_name(const std::string& value); - std::string* _internal_mutable_sender_name(); - public: - - // optional uint64 group_id = 1 [(.key_field) = true]; - bool has_group_id() const; - private: - bool _internal_has_group_id() const; - public: - void clear_group_id(); - uint64_t group_id() const; - void set_group_id(uint64_t value); - private: - uint64_t _internal_group_id() const; - void _internal_set_group_id(uint64_t value); - public: - - // optional fixed64 sender_id = 2; - bool has_sender_id() const; - private: - bool _internal_has_sender_id() const; - public: - void clear_sender_id(); - uint64_t sender_id() const; - void set_sender_id(uint64_t value); - private: - uint64_t _internal_sender_id() const; - void _internal_set_sender_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOLobbyInvite) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sender_name_; - uint64_t group_id_; - uint64_t sender_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSystemBroadcast : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSystemBroadcast) */ { - public: - inline CMsgSystemBroadcast() : CMsgSystemBroadcast(nullptr) {} - ~CMsgSystemBroadcast() override; - explicit PROTOBUF_CONSTEXPR CMsgSystemBroadcast(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSystemBroadcast(const CMsgSystemBroadcast& from); - CMsgSystemBroadcast(CMsgSystemBroadcast&& from) noexcept - : CMsgSystemBroadcast() { - *this = ::std::move(from); - } - - inline CMsgSystemBroadcast& operator=(const CMsgSystemBroadcast& from) { - CopyFrom(from); - return *this; - } - inline CMsgSystemBroadcast& operator=(CMsgSystemBroadcast&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSystemBroadcast& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSystemBroadcast* internal_default_instance() { - return reinterpret_cast( - &_CMsgSystemBroadcast_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CMsgSystemBroadcast& a, CMsgSystemBroadcast& b) { - a.Swap(&b); - } - inline void Swap(CMsgSystemBroadcast* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSystemBroadcast* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSystemBroadcast* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSystemBroadcast& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSystemBroadcast& from) { - CMsgSystemBroadcast::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSystemBroadcast* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSystemBroadcast"; - } - protected: - explicit CMsgSystemBroadcast(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMessageFieldNumber = 1, - }; - // optional string message = 1; - bool has_message() const; - private: - bool _internal_has_message() const; - public: - void clear_message(); - const std::string& message() const; - template - void set_message(ArgT0&& arg0, ArgT... args); - std::string* mutable_message(); - PROTOBUF_NODISCARD std::string* release_message(); - void set_allocated_message(std::string* message); - private: - const std::string& _internal_message() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value); - std::string* _internal_mutable_message(); - public: - - // @@protoc_insertion_point(class_scope:CMsgSystemBroadcast) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgInviteToParty : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgInviteToParty) */ { - public: - inline CMsgInviteToParty() : CMsgInviteToParty(nullptr) {} - ~CMsgInviteToParty() override; - explicit PROTOBUF_CONSTEXPR CMsgInviteToParty(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgInviteToParty(const CMsgInviteToParty& from); - CMsgInviteToParty(CMsgInviteToParty&& from) noexcept - : CMsgInviteToParty() { - *this = ::std::move(from); - } - - inline CMsgInviteToParty& operator=(const CMsgInviteToParty& from) { - CopyFrom(from); - return *this; - } - inline CMsgInviteToParty& operator=(CMsgInviteToParty&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgInviteToParty& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgInviteToParty* internal_default_instance() { - return reinterpret_cast( - &_CMsgInviteToParty_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CMsgInviteToParty& a, CMsgInviteToParty& b) { - a.Swap(&b); - } - inline void Swap(CMsgInviteToParty* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgInviteToParty* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgInviteToParty* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgInviteToParty& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgInviteToParty& from) { - CMsgInviteToParty::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgInviteToParty* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgInviteToParty"; - } - protected: - explicit CMsgInviteToParty(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSteamIdFieldNumber = 1, - kClientVersionFieldNumber = 2, - kTeamInviteFieldNumber = 3, - }; - // optional fixed64 steam_id = 1; - bool has_steam_id() const; - private: - bool _internal_has_steam_id() const; - public: - void clear_steam_id(); - uint64_t steam_id() const; - void set_steam_id(uint64_t value); - private: - uint64_t _internal_steam_id() const; - void _internal_set_steam_id(uint64_t value); - public: - - // optional uint32 client_version = 2; - bool has_client_version() const; - private: - bool _internal_has_client_version() const; - public: - void clear_client_version(); - uint32_t client_version() const; - void set_client_version(uint32_t value); - private: - uint32_t _internal_client_version() const; - void _internal_set_client_version(uint32_t value); - public: - - // optional uint32 team_invite = 3; - bool has_team_invite() const; - private: - bool _internal_has_team_invite() const; - public: - void clear_team_invite(); - uint32_t team_invite() const; - void set_team_invite(uint32_t value); - private: - uint32_t _internal_team_invite() const; - void _internal_set_team_invite(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgInviteToParty) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t steam_id_; - uint32_t client_version_; - uint32_t team_invite_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgInvitationCreated : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgInvitationCreated) */ { - public: - inline CMsgInvitationCreated() : CMsgInvitationCreated(nullptr) {} - ~CMsgInvitationCreated() override; - explicit PROTOBUF_CONSTEXPR CMsgInvitationCreated(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgInvitationCreated(const CMsgInvitationCreated& from); - CMsgInvitationCreated(CMsgInvitationCreated&& from) noexcept - : CMsgInvitationCreated() { - *this = ::std::move(from); - } - - inline CMsgInvitationCreated& operator=(const CMsgInvitationCreated& from) { - CopyFrom(from); - return *this; - } - inline CMsgInvitationCreated& operator=(CMsgInvitationCreated&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgInvitationCreated& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgInvitationCreated* internal_default_instance() { - return reinterpret_cast( - &_CMsgInvitationCreated_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(CMsgInvitationCreated& a, CMsgInvitationCreated& b) { - a.Swap(&b); - } - inline void Swap(CMsgInvitationCreated* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgInvitationCreated* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgInvitationCreated* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgInvitationCreated& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgInvitationCreated& from) { - CMsgInvitationCreated::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgInvitationCreated* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgInvitationCreated"; - } - protected: - explicit CMsgInvitationCreated(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGroupIdFieldNumber = 1, - kSteamIdFieldNumber = 2, - }; - // optional uint64 group_id = 1; - bool has_group_id() const; - private: - bool _internal_has_group_id() const; - public: - void clear_group_id(); - uint64_t group_id() const; - void set_group_id(uint64_t value); - private: - uint64_t _internal_group_id() const; - void _internal_set_group_id(uint64_t value); - public: - - // optional fixed64 steam_id = 2; - bool has_steam_id() const; - private: - bool _internal_has_steam_id() const; - public: - void clear_steam_id(); - uint64_t steam_id() const; - void set_steam_id(uint64_t value); - private: - uint64_t _internal_steam_id() const; - void _internal_set_steam_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgInvitationCreated) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t group_id_; - uint64_t steam_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgPartyInviteResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgPartyInviteResponse) */ { - public: - inline CMsgPartyInviteResponse() : CMsgPartyInviteResponse(nullptr) {} - ~CMsgPartyInviteResponse() override; - explicit PROTOBUF_CONSTEXPR CMsgPartyInviteResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgPartyInviteResponse(const CMsgPartyInviteResponse& from); - CMsgPartyInviteResponse(CMsgPartyInviteResponse&& from) noexcept - : CMsgPartyInviteResponse() { - *this = ::std::move(from); - } - - inline CMsgPartyInviteResponse& operator=(const CMsgPartyInviteResponse& from) { - CopyFrom(from); - return *this; - } - inline CMsgPartyInviteResponse& operator=(CMsgPartyInviteResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgPartyInviteResponse& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgPartyInviteResponse* internal_default_instance() { - return reinterpret_cast( - &_CMsgPartyInviteResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(CMsgPartyInviteResponse& a, CMsgPartyInviteResponse& b) { - a.Swap(&b); - } - inline void Swap(CMsgPartyInviteResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgPartyInviteResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgPartyInviteResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgPartyInviteResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgPartyInviteResponse& from) { - CMsgPartyInviteResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgPartyInviteResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgPartyInviteResponse"; - } - protected: - explicit CMsgPartyInviteResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPartyIdFieldNumber = 1, - kAcceptFieldNumber = 2, - kClientVersionFieldNumber = 3, - kTeamInviteFieldNumber = 4, - }; - // optional uint64 party_id = 1; - bool has_party_id() const; - private: - bool _internal_has_party_id() const; - public: - void clear_party_id(); - uint64_t party_id() const; - void set_party_id(uint64_t value); - private: - uint64_t _internal_party_id() const; - void _internal_set_party_id(uint64_t value); - public: - - // optional bool accept = 2; - bool has_accept() const; - private: - bool _internal_has_accept() const; - public: - void clear_accept(); - bool accept() const; - void set_accept(bool value); - private: - bool _internal_accept() const; - void _internal_set_accept(bool value); - public: - - // optional uint32 client_version = 3; - bool has_client_version() const; - private: - bool _internal_has_client_version() const; - public: - void clear_client_version(); - uint32_t client_version() const; - void set_client_version(uint32_t value); - private: - uint32_t _internal_client_version() const; - void _internal_set_client_version(uint32_t value); - public: - - // optional uint32 team_invite = 4; - bool has_team_invite() const; - private: - bool _internal_has_team_invite() const; - public: - void clear_team_invite(); - uint32_t team_invite() const; - void set_team_invite(uint32_t value); - private: - uint32_t _internal_team_invite() const; - void _internal_set_team_invite(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgPartyInviteResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t party_id_; - bool accept_; - uint32_t client_version_; - uint32_t team_invite_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgKickFromParty : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgKickFromParty) */ { - public: - inline CMsgKickFromParty() : CMsgKickFromParty(nullptr) {} - ~CMsgKickFromParty() override; - explicit PROTOBUF_CONSTEXPR CMsgKickFromParty(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgKickFromParty(const CMsgKickFromParty& from); - CMsgKickFromParty(CMsgKickFromParty&& from) noexcept - : CMsgKickFromParty() { - *this = ::std::move(from); - } - - inline CMsgKickFromParty& operator=(const CMsgKickFromParty& from) { - CopyFrom(from); - return *this; - } - inline CMsgKickFromParty& operator=(CMsgKickFromParty&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgKickFromParty& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgKickFromParty* internal_default_instance() { - return reinterpret_cast( - &_CMsgKickFromParty_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(CMsgKickFromParty& a, CMsgKickFromParty& b) { - a.Swap(&b); - } - inline void Swap(CMsgKickFromParty* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgKickFromParty* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgKickFromParty* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgKickFromParty& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgKickFromParty& from) { - CMsgKickFromParty::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgKickFromParty* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgKickFromParty"; - } - protected: - explicit CMsgKickFromParty(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSteamIdFieldNumber = 1, - }; - // optional fixed64 steam_id = 1; - bool has_steam_id() const; - private: - bool _internal_has_steam_id() const; - public: - void clear_steam_id(); - uint64_t steam_id() const; - void set_steam_id(uint64_t value); - private: - uint64_t _internal_steam_id() const; - void _internal_set_steam_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgKickFromParty) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t steam_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgLeaveParty : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgLeaveParty) */ { - public: - inline CMsgLeaveParty() : CMsgLeaveParty(nullptr) {} - explicit PROTOBUF_CONSTEXPR CMsgLeaveParty(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgLeaveParty(const CMsgLeaveParty& from); - CMsgLeaveParty(CMsgLeaveParty&& from) noexcept - : CMsgLeaveParty() { - *this = ::std::move(from); - } - - inline CMsgLeaveParty& operator=(const CMsgLeaveParty& from) { - CopyFrom(from); - return *this; - } - inline CMsgLeaveParty& operator=(CMsgLeaveParty&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgLeaveParty& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgLeaveParty* internal_default_instance() { - return reinterpret_cast( - &_CMsgLeaveParty_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(CMsgLeaveParty& a, CMsgLeaveParty& b) { - a.Swap(&b); - } - inline void Swap(CMsgLeaveParty* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgLeaveParty* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgLeaveParty* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CMsgLeaveParty& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CMsgLeaveParty& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgLeaveParty"; - } - protected: - explicit CMsgLeaveParty(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CMsgLeaveParty) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgServerAvailable : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgServerAvailable) */ { - public: - inline CMsgServerAvailable() : CMsgServerAvailable(nullptr) {} - explicit PROTOBUF_CONSTEXPR CMsgServerAvailable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgServerAvailable(const CMsgServerAvailable& from); - CMsgServerAvailable(CMsgServerAvailable&& from) noexcept - : CMsgServerAvailable() { - *this = ::std::move(from); - } - - inline CMsgServerAvailable& operator=(const CMsgServerAvailable& from) { - CopyFrom(from); - return *this; - } - inline CMsgServerAvailable& operator=(CMsgServerAvailable&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgServerAvailable& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgServerAvailable* internal_default_instance() { - return reinterpret_cast( - &_CMsgServerAvailable_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(CMsgServerAvailable& a, CMsgServerAvailable& b) { - a.Swap(&b); - } - inline void Swap(CMsgServerAvailable* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgServerAvailable* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgServerAvailable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CMsgServerAvailable& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CMsgServerAvailable& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgServerAvailable"; - } - protected: - explicit CMsgServerAvailable(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CMsgServerAvailable) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgLANServerAvailable : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgLANServerAvailable) */ { - public: - inline CMsgLANServerAvailable() : CMsgLANServerAvailable(nullptr) {} - ~CMsgLANServerAvailable() override; - explicit PROTOBUF_CONSTEXPR CMsgLANServerAvailable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgLANServerAvailable(const CMsgLANServerAvailable& from); - CMsgLANServerAvailable(CMsgLANServerAvailable&& from) noexcept - : CMsgLANServerAvailable() { - *this = ::std::move(from); - } - - inline CMsgLANServerAvailable& operator=(const CMsgLANServerAvailable& from) { - CopyFrom(from); - return *this; - } - inline CMsgLANServerAvailable& operator=(CMsgLANServerAvailable&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgLANServerAvailable& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgLANServerAvailable* internal_default_instance() { - return reinterpret_cast( - &_CMsgLANServerAvailable_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(CMsgLANServerAvailable& a, CMsgLANServerAvailable& b) { - a.Swap(&b); - } - inline void Swap(CMsgLANServerAvailable* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgLANServerAvailable* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgLANServerAvailable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgLANServerAvailable& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgLANServerAvailable& from) { - CMsgLANServerAvailable::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgLANServerAvailable* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgLANServerAvailable"; - } - protected: - explicit CMsgLANServerAvailable(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLobbyIdFieldNumber = 1, - }; - // optional fixed64 lobby_id = 1; - bool has_lobby_id() const; - private: - bool _internal_has_lobby_id() const; - public: - void clear_lobby_id(); - uint64_t lobby_id() const; - void set_lobby_id(uint64_t value); - private: - uint64_t _internal_lobby_id() const; - void _internal_set_lobby_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgLANServerAvailable) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t lobby_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOEconGameAccountClient : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconGameAccountClient) */ { - public: - inline CSOEconGameAccountClient() : CSOEconGameAccountClient(nullptr) {} - ~CSOEconGameAccountClient() override; - explicit PROTOBUF_CONSTEXPR CSOEconGameAccountClient(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOEconGameAccountClient(const CSOEconGameAccountClient& from); - CSOEconGameAccountClient(CSOEconGameAccountClient&& from) noexcept - : CSOEconGameAccountClient() { - *this = ::std::move(from); - } - - inline CSOEconGameAccountClient& operator=(const CSOEconGameAccountClient& from) { - CopyFrom(from); - return *this; - } - inline CSOEconGameAccountClient& operator=(CSOEconGameAccountClient&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOEconGameAccountClient& default_instance() { - return *internal_default_instance(); - } - static inline const CSOEconGameAccountClient* internal_default_instance() { - return reinterpret_cast( - &_CSOEconGameAccountClient_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - friend void swap(CSOEconGameAccountClient& a, CSOEconGameAccountClient& b) { - a.Swap(&b); - } - inline void Swap(CSOEconGameAccountClient* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOEconGameAccountClient* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOEconGameAccountClient* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOEconGameAccountClient& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOEconGameAccountClient& from) { - CSOEconGameAccountClient::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOEconGameAccountClient* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOEconGameAccountClient"; - } - protected: - explicit CSOEconGameAccountClient(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAdditionalBackpackSlotsFieldNumber = 1, - kTradeBanExpirationFieldNumber = 6, - kBonusXpTimestampRefreshFieldNumber = 12, - kBonusXpUsedflagsFieldNumber = 13, - kElevatedStateFieldNumber = 14, - kElevatedTimestampFieldNumber = 15, - }; - // optional uint32 additional_backpack_slots = 1 [default = 0]; - bool has_additional_backpack_slots() const; - private: - bool _internal_has_additional_backpack_slots() const; - public: - void clear_additional_backpack_slots(); - uint32_t additional_backpack_slots() const; - void set_additional_backpack_slots(uint32_t value); - private: - uint32_t _internal_additional_backpack_slots() const; - void _internal_set_additional_backpack_slots(uint32_t value); - public: - - // optional fixed32 trade_ban_expiration = 6; - bool has_trade_ban_expiration() const; - private: - bool _internal_has_trade_ban_expiration() const; - public: - void clear_trade_ban_expiration(); - uint32_t trade_ban_expiration() const; - void set_trade_ban_expiration(uint32_t value); - private: - uint32_t _internal_trade_ban_expiration() const; - void _internal_set_trade_ban_expiration(uint32_t value); - public: - - // optional fixed32 bonus_xp_timestamp_refresh = 12; - bool has_bonus_xp_timestamp_refresh() const; - private: - bool _internal_has_bonus_xp_timestamp_refresh() const; - public: - void clear_bonus_xp_timestamp_refresh(); - uint32_t bonus_xp_timestamp_refresh() const; - void set_bonus_xp_timestamp_refresh(uint32_t value); - private: - uint32_t _internal_bonus_xp_timestamp_refresh() const; - void _internal_set_bonus_xp_timestamp_refresh(uint32_t value); - public: - - // optional uint32 bonus_xp_usedflags = 13; - bool has_bonus_xp_usedflags() const; - private: - bool _internal_has_bonus_xp_usedflags() const; - public: - void clear_bonus_xp_usedflags(); - uint32_t bonus_xp_usedflags() const; - void set_bonus_xp_usedflags(uint32_t value); - private: - uint32_t _internal_bonus_xp_usedflags() const; - void _internal_set_bonus_xp_usedflags(uint32_t value); - public: - - // optional uint32 elevated_state = 14; - bool has_elevated_state() const; - private: - bool _internal_has_elevated_state() const; - public: - void clear_elevated_state(); - uint32_t elevated_state() const; - void set_elevated_state(uint32_t value); - private: - uint32_t _internal_elevated_state() const; - void _internal_set_elevated_state(uint32_t value); - public: - - // optional uint32 elevated_timestamp = 15; - bool has_elevated_timestamp() const; - private: - bool _internal_has_elevated_timestamp() const; - public: - void clear_elevated_timestamp(); - uint32_t elevated_timestamp() const; - void set_elevated_timestamp(uint32_t value); - private: - uint32_t _internal_elevated_timestamp() const; - void _internal_set_elevated_timestamp(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOEconGameAccountClient) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t additional_backpack_slots_; - uint32_t trade_ban_expiration_; - uint32_t bonus_xp_timestamp_refresh_; - uint32_t bonus_xp_usedflags_; - uint32_t elevated_state_; - uint32_t elevated_timestamp_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOItemCriteriaCondition : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOItemCriteriaCondition) */ { - public: - inline CSOItemCriteriaCondition() : CSOItemCriteriaCondition(nullptr) {} - ~CSOItemCriteriaCondition() override; - explicit PROTOBUF_CONSTEXPR CSOItemCriteriaCondition(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOItemCriteriaCondition(const CSOItemCriteriaCondition& from); - CSOItemCriteriaCondition(CSOItemCriteriaCondition&& from) noexcept - : CSOItemCriteriaCondition() { - *this = ::std::move(from); - } - - inline CSOItemCriteriaCondition& operator=(const CSOItemCriteriaCondition& from) { - CopyFrom(from); - return *this; - } - inline CSOItemCriteriaCondition& operator=(CSOItemCriteriaCondition&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOItemCriteriaCondition& default_instance() { - return *internal_default_instance(); - } - static inline const CSOItemCriteriaCondition* internal_default_instance() { - return reinterpret_cast( - &_CSOItemCriteriaCondition_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - friend void swap(CSOItemCriteriaCondition& a, CSOItemCriteriaCondition& b) { - a.Swap(&b); - } - inline void Swap(CSOItemCriteriaCondition* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOItemCriteriaCondition* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOItemCriteriaCondition* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOItemCriteriaCondition& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOItemCriteriaCondition& from) { - CSOItemCriteriaCondition::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOItemCriteriaCondition* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOItemCriteriaCondition"; - } - protected: - explicit CSOItemCriteriaCondition(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFieldFieldNumber = 2, - kStringValueFieldNumber = 5, - kOpFieldNumber = 1, - kRequiredFieldNumber = 3, - kFloatValueFieldNumber = 4, - }; - // optional string field = 2; - bool has_field() const; - private: - bool _internal_has_field() const; - public: - void clear_field(); - const std::string& field() const; - template - void set_field(ArgT0&& arg0, ArgT... args); - std::string* mutable_field(); - PROTOBUF_NODISCARD std::string* release_field(); - void set_allocated_field(std::string* field); - private: - const std::string& _internal_field() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_field(const std::string& value); - std::string* _internal_mutable_field(); - public: - - // optional string string_value = 5; - bool has_string_value() const; - private: - bool _internal_has_string_value() const; - public: - void clear_string_value(); - const std::string& string_value() const; - template - void set_string_value(ArgT0&& arg0, ArgT... args); - std::string* mutable_string_value(); - PROTOBUF_NODISCARD std::string* release_string_value(); - void set_allocated_string_value(std::string* string_value); - private: - const std::string& _internal_string_value() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value); - std::string* _internal_mutable_string_value(); - public: - - // optional int32 op = 1; - bool has_op() const; - private: - bool _internal_has_op() const; - public: - void clear_op(); - int32_t op() const; - void set_op(int32_t value); - private: - int32_t _internal_op() const; - void _internal_set_op(int32_t value); - public: - - // optional bool required = 3; - bool has_required() const; - private: - bool _internal_has_required() const; - public: - void clear_required(); - bool required() const; - void set_required(bool value); - private: - bool _internal_required() const; - void _internal_set_required(bool value); - public: - - // optional float float_value = 4; - bool has_float_value() const; - private: - bool _internal_has_float_value() const; - public: - void clear_float_value(); - float float_value() const; - void set_float_value(float value); - private: - float _internal_float_value() const; - void _internal_set_float_value(float value); - public: - - // @@protoc_insertion_point(class_scope:CSOItemCriteriaCondition) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr field_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_; - int32_t op_; - bool required_; - float float_value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOItemCriteria : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOItemCriteria) */ { - public: - inline CSOItemCriteria() : CSOItemCriteria(nullptr) {} - ~CSOItemCriteria() override; - explicit PROTOBUF_CONSTEXPR CSOItemCriteria(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOItemCriteria(const CSOItemCriteria& from); - CSOItemCriteria(CSOItemCriteria&& from) noexcept - : CSOItemCriteria() { - *this = ::std::move(from); - } - - inline CSOItemCriteria& operator=(const CSOItemCriteria& from) { - CopyFrom(from); - return *this; - } - inline CSOItemCriteria& operator=(CSOItemCriteria&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOItemCriteria& default_instance() { - return *internal_default_instance(); - } - static inline const CSOItemCriteria* internal_default_instance() { - return reinterpret_cast( - &_CSOItemCriteria_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - friend void swap(CSOItemCriteria& a, CSOItemCriteria& b) { - a.Swap(&b); - } - inline void Swap(CSOItemCriteria* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOItemCriteria* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOItemCriteria* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOItemCriteria& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOItemCriteria& from) { - CSOItemCriteria::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOItemCriteria* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOItemCriteria"; - } - protected: - explicit CSOItemCriteria(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kConditionsFieldNumber = 9, - kItemLevelFieldNumber = 1, - kItemQualityFieldNumber = 2, - kInitialInventoryFieldNumber = 5, - kInitialQuantityFieldNumber = 6, - kItemLevelSetFieldNumber = 3, - kItemQualitySetFieldNumber = 4, - kIgnoreEnabledFlagFieldNumber = 8, - kItemRaritySetFieldNumber = 11, - kItemRarityFieldNumber = 10, - kRecentOnlyFieldNumber = 12, - }; - // repeated .CSOItemCriteriaCondition conditions = 9; - int conditions_size() const; - private: - int _internal_conditions_size() const; - public: - void clear_conditions(); - ::CSOItemCriteriaCondition* mutable_conditions(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteriaCondition >* - mutable_conditions(); - private: - const ::CSOItemCriteriaCondition& _internal_conditions(int index) const; - ::CSOItemCriteriaCondition* _internal_add_conditions(); - public: - const ::CSOItemCriteriaCondition& conditions(int index) const; - ::CSOItemCriteriaCondition* add_conditions(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteriaCondition >& - conditions() const; - - // optional uint32 item_level = 1; - bool has_item_level() const; - private: - bool _internal_has_item_level() const; - public: - void clear_item_level(); - uint32_t item_level() const; - void set_item_level(uint32_t value); - private: - uint32_t _internal_item_level() const; - void _internal_set_item_level(uint32_t value); - public: - - // optional int32 item_quality = 2; - bool has_item_quality() const; - private: - bool _internal_has_item_quality() const; - public: - void clear_item_quality(); - int32_t item_quality() const; - void set_item_quality(int32_t value); - private: - int32_t _internal_item_quality() const; - void _internal_set_item_quality(int32_t value); - public: - - // optional uint32 initial_inventory = 5; - bool has_initial_inventory() const; - private: - bool _internal_has_initial_inventory() const; - public: - void clear_initial_inventory(); - uint32_t initial_inventory() const; - void set_initial_inventory(uint32_t value); - private: - uint32_t _internal_initial_inventory() const; - void _internal_set_initial_inventory(uint32_t value); - public: - - // optional uint32 initial_quantity = 6; - bool has_initial_quantity() const; - private: - bool _internal_has_initial_quantity() const; - public: - void clear_initial_quantity(); - uint32_t initial_quantity() const; - void set_initial_quantity(uint32_t value); - private: - uint32_t _internal_initial_quantity() const; - void _internal_set_initial_quantity(uint32_t value); - public: - - // optional bool item_level_set = 3; - bool has_item_level_set() const; - private: - bool _internal_has_item_level_set() const; - public: - void clear_item_level_set(); - bool item_level_set() const; - void set_item_level_set(bool value); - private: - bool _internal_item_level_set() const; - void _internal_set_item_level_set(bool value); - public: - - // optional bool item_quality_set = 4; - bool has_item_quality_set() const; - private: - bool _internal_has_item_quality_set() const; - public: - void clear_item_quality_set(); - bool item_quality_set() const; - void set_item_quality_set(bool value); - private: - bool _internal_item_quality_set() const; - void _internal_set_item_quality_set(bool value); - public: - - // optional bool ignore_enabled_flag = 8; - bool has_ignore_enabled_flag() const; - private: - bool _internal_has_ignore_enabled_flag() const; - public: - void clear_ignore_enabled_flag(); - bool ignore_enabled_flag() const; - void set_ignore_enabled_flag(bool value); - private: - bool _internal_ignore_enabled_flag() const; - void _internal_set_ignore_enabled_flag(bool value); - public: - - // optional bool item_rarity_set = 11; - bool has_item_rarity_set() const; - private: - bool _internal_has_item_rarity_set() const; - public: - void clear_item_rarity_set(); - bool item_rarity_set() const; - void set_item_rarity_set(bool value); - private: - bool _internal_item_rarity_set() const; - void _internal_set_item_rarity_set(bool value); - public: - - // optional int32 item_rarity = 10; - bool has_item_rarity() const; - private: - bool _internal_has_item_rarity() const; - public: - void clear_item_rarity(); - int32_t item_rarity() const; - void set_item_rarity(int32_t value); - private: - int32_t _internal_item_rarity() const; - void _internal_set_item_rarity(int32_t value); - public: - - // optional bool recent_only = 12; - bool has_recent_only() const; - private: - bool _internal_has_recent_only() const; - public: - void clear_recent_only(); - bool recent_only() const; - void set_recent_only(bool value); - private: - bool _internal_recent_only() const; - void _internal_set_recent_only(bool value); - public: - - // @@protoc_insertion_point(class_scope:CSOItemCriteria) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteriaCondition > conditions_; - uint32_t item_level_; - int32_t item_quality_; - uint32_t initial_inventory_; - uint32_t initial_quantity_; - bool item_level_set_; - bool item_quality_set_; - bool ignore_enabled_flag_; - bool item_rarity_set_; - int32_t item_rarity_; - bool recent_only_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOItemRecipe : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOItemRecipe) */ { - public: - inline CSOItemRecipe() : CSOItemRecipe(nullptr) {} - ~CSOItemRecipe() override; - explicit PROTOBUF_CONSTEXPR CSOItemRecipe(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOItemRecipe(const CSOItemRecipe& from); - CSOItemRecipe(CSOItemRecipe&& from) noexcept - : CSOItemRecipe() { - *this = ::std::move(from); - } - - inline CSOItemRecipe& operator=(const CSOItemRecipe& from) { - CopyFrom(from); - return *this; - } - inline CSOItemRecipe& operator=(CSOItemRecipe&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOItemRecipe& default_instance() { - return *internal_default_instance(); - } - static inline const CSOItemRecipe* internal_default_instance() { - return reinterpret_cast( - &_CSOItemRecipe_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - friend void swap(CSOItemRecipe& a, CSOItemRecipe& b) { - a.Swap(&b); - } - inline void Swap(CSOItemRecipe* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOItemRecipe* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOItemRecipe* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOItemRecipe& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOItemRecipe& from) { - CSOItemRecipe::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOItemRecipe* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOItemRecipe"; - } - protected: - explicit CSOItemRecipe(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kInputItemsCriteriaFieldNumber = 20, - kOutputItemsCriteriaFieldNumber = 21, - kInputItemDupeCountsFieldNumber = 22, - kNameFieldNumber = 2, - kNAFieldNumber = 3, - kDescInputsFieldNumber = 4, - kDescOutputsFieldNumber = 5, - kDiAFieldNumber = 6, - kDiBFieldNumber = 7, - kDiCFieldNumber = 8, - kDoAFieldNumber = 9, - kDoBFieldNumber = 10, - kDoCFieldNumber = 11, - kDefIndexFieldNumber = 1, - kRequiresAllSameClassFieldNumber = 12, - kRequiresAllSameSlotFieldNumber = 13, - kClassUsageForOutputFieldNumber = 14, - kSlotUsageForOutputFieldNumber = 15, - kSetForOutputFieldNumber = 16, - }; - // repeated .CSOItemCriteria input_items_criteria = 20; - int input_items_criteria_size() const; - private: - int _internal_input_items_criteria_size() const; - public: - void clear_input_items_criteria(); - ::CSOItemCriteria* mutable_input_items_criteria(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria >* - mutable_input_items_criteria(); - private: - const ::CSOItemCriteria& _internal_input_items_criteria(int index) const; - ::CSOItemCriteria* _internal_add_input_items_criteria(); - public: - const ::CSOItemCriteria& input_items_criteria(int index) const; - ::CSOItemCriteria* add_input_items_criteria(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria >& - input_items_criteria() const; - - // repeated .CSOItemCriteria output_items_criteria = 21; - int output_items_criteria_size() const; - private: - int _internal_output_items_criteria_size() const; - public: - void clear_output_items_criteria(); - ::CSOItemCriteria* mutable_output_items_criteria(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria >* - mutable_output_items_criteria(); - private: - const ::CSOItemCriteria& _internal_output_items_criteria(int index) const; - ::CSOItemCriteria* _internal_add_output_items_criteria(); - public: - const ::CSOItemCriteria& output_items_criteria(int index) const; - ::CSOItemCriteria* add_output_items_criteria(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria >& - output_items_criteria() const; - - // repeated uint32 input_item_dupe_counts = 22; - int input_item_dupe_counts_size() const; - private: - int _internal_input_item_dupe_counts_size() const; - public: - void clear_input_item_dupe_counts(); - private: - uint32_t _internal_input_item_dupe_counts(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_input_item_dupe_counts() const; - void _internal_add_input_item_dupe_counts(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_input_item_dupe_counts(); - public: - uint32_t input_item_dupe_counts(int index) const; - void set_input_item_dupe_counts(int index, uint32_t value); - void add_input_item_dupe_counts(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - input_item_dupe_counts() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_input_item_dupe_counts(); - - // optional string name = 2; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional string n_a = 3; - bool has_n_a() const; - private: - bool _internal_has_n_a() const; - public: - void clear_n_a(); - const std::string& n_a() const; - template - void set_n_a(ArgT0&& arg0, ArgT... args); - std::string* mutable_n_a(); - PROTOBUF_NODISCARD std::string* release_n_a(); - void set_allocated_n_a(std::string* n_a); - private: - const std::string& _internal_n_a() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_n_a(const std::string& value); - std::string* _internal_mutable_n_a(); - public: - - // optional string desc_inputs = 4; - bool has_desc_inputs() const; - private: - bool _internal_has_desc_inputs() const; - public: - void clear_desc_inputs(); - const std::string& desc_inputs() const; - template - void set_desc_inputs(ArgT0&& arg0, ArgT... args); - std::string* mutable_desc_inputs(); - PROTOBUF_NODISCARD std::string* release_desc_inputs(); - void set_allocated_desc_inputs(std::string* desc_inputs); - private: - const std::string& _internal_desc_inputs() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_desc_inputs(const std::string& value); - std::string* _internal_mutable_desc_inputs(); - public: - - // optional string desc_outputs = 5; - bool has_desc_outputs() const; - private: - bool _internal_has_desc_outputs() const; - public: - void clear_desc_outputs(); - const std::string& desc_outputs() const; - template - void set_desc_outputs(ArgT0&& arg0, ArgT... args); - std::string* mutable_desc_outputs(); - PROTOBUF_NODISCARD std::string* release_desc_outputs(); - void set_allocated_desc_outputs(std::string* desc_outputs); - private: - const std::string& _internal_desc_outputs() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_desc_outputs(const std::string& value); - std::string* _internal_mutable_desc_outputs(); - public: - - // optional string di_a = 6; - bool has_di_a() const; - private: - bool _internal_has_di_a() const; - public: - void clear_di_a(); - const std::string& di_a() const; - template - void set_di_a(ArgT0&& arg0, ArgT... args); - std::string* mutable_di_a(); - PROTOBUF_NODISCARD std::string* release_di_a(); - void set_allocated_di_a(std::string* di_a); - private: - const std::string& _internal_di_a() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_di_a(const std::string& value); - std::string* _internal_mutable_di_a(); - public: - - // optional string di_b = 7; - bool has_di_b() const; - private: - bool _internal_has_di_b() const; - public: - void clear_di_b(); - const std::string& di_b() const; - template - void set_di_b(ArgT0&& arg0, ArgT... args); - std::string* mutable_di_b(); - PROTOBUF_NODISCARD std::string* release_di_b(); - void set_allocated_di_b(std::string* di_b); - private: - const std::string& _internal_di_b() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_di_b(const std::string& value); - std::string* _internal_mutable_di_b(); - public: - - // optional string di_c = 8; - bool has_di_c() const; - private: - bool _internal_has_di_c() const; - public: - void clear_di_c(); - const std::string& di_c() const; - template - void set_di_c(ArgT0&& arg0, ArgT... args); - std::string* mutable_di_c(); - PROTOBUF_NODISCARD std::string* release_di_c(); - void set_allocated_di_c(std::string* di_c); - private: - const std::string& _internal_di_c() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_di_c(const std::string& value); - std::string* _internal_mutable_di_c(); - public: - - // optional string do_a = 9; - bool has_do_a() const; - private: - bool _internal_has_do_a() const; - public: - void clear_do_a(); - const std::string& do_a() const; - template - void set_do_a(ArgT0&& arg0, ArgT... args); - std::string* mutable_do_a(); - PROTOBUF_NODISCARD std::string* release_do_a(); - void set_allocated_do_a(std::string* do_a); - private: - const std::string& _internal_do_a() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_do_a(const std::string& value); - std::string* _internal_mutable_do_a(); - public: - - // optional string do_b = 10; - bool has_do_b() const; - private: - bool _internal_has_do_b() const; - public: - void clear_do_b(); - const std::string& do_b() const; - template - void set_do_b(ArgT0&& arg0, ArgT... args); - std::string* mutable_do_b(); - PROTOBUF_NODISCARD std::string* release_do_b(); - void set_allocated_do_b(std::string* do_b); - private: - const std::string& _internal_do_b() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_do_b(const std::string& value); - std::string* _internal_mutable_do_b(); - public: - - // optional string do_c = 11; - bool has_do_c() const; - private: - bool _internal_has_do_c() const; - public: - void clear_do_c(); - const std::string& do_c() const; - template - void set_do_c(ArgT0&& arg0, ArgT... args); - std::string* mutable_do_c(); - PROTOBUF_NODISCARD std::string* release_do_c(); - void set_allocated_do_c(std::string* do_c); - private: - const std::string& _internal_do_c() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_do_c(const std::string& value); - std::string* _internal_mutable_do_c(); - public: - - // optional uint32 def_index = 1; - bool has_def_index() const; - private: - bool _internal_has_def_index() const; - public: - void clear_def_index(); - uint32_t def_index() const; - void set_def_index(uint32_t value); - private: - uint32_t _internal_def_index() const; - void _internal_set_def_index(uint32_t value); - public: - - // optional bool requires_all_same_class = 12; - bool has_requires_all_same_class() const; - private: - bool _internal_has_requires_all_same_class() const; - public: - void clear_requires_all_same_class(); - bool requires_all_same_class() const; - void set_requires_all_same_class(bool value); - private: - bool _internal_requires_all_same_class() const; - void _internal_set_requires_all_same_class(bool value); - public: - - // optional bool requires_all_same_slot = 13; - bool has_requires_all_same_slot() const; - private: - bool _internal_has_requires_all_same_slot() const; - public: - void clear_requires_all_same_slot(); - bool requires_all_same_slot() const; - void set_requires_all_same_slot(bool value); - private: - bool _internal_requires_all_same_slot() const; - void _internal_set_requires_all_same_slot(bool value); - public: - - // optional int32 class_usage_for_output = 14; - bool has_class_usage_for_output() const; - private: - bool _internal_has_class_usage_for_output() const; - public: - void clear_class_usage_for_output(); - int32_t class_usage_for_output() const; - void set_class_usage_for_output(int32_t value); - private: - int32_t _internal_class_usage_for_output() const; - void _internal_set_class_usage_for_output(int32_t value); - public: - - // optional int32 slot_usage_for_output = 15; - bool has_slot_usage_for_output() const; - private: - bool _internal_has_slot_usage_for_output() const; - public: - void clear_slot_usage_for_output(); - int32_t slot_usage_for_output() const; - void set_slot_usage_for_output(int32_t value); - private: - int32_t _internal_slot_usage_for_output() const; - void _internal_set_slot_usage_for_output(int32_t value); - public: - - // optional int32 set_for_output = 16; - bool has_set_for_output() const; - private: - bool _internal_has_set_for_output() const; - public: - void clear_set_for_output(); - int32_t set_for_output() const; - void set_set_for_output(int32_t value); - private: - int32_t _internal_set_for_output() const; - void _internal_set_set_for_output(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOItemRecipe) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria > input_items_criteria_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria > output_items_criteria_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > input_item_dupe_counts_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr n_a_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr desc_inputs_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr desc_outputs_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr di_a_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr di_b_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr di_c_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr do_a_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr do_b_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr do_c_; - uint32_t def_index_; - bool requires_all_same_class_; - bool requires_all_same_slot_; - int32_t class_usage_for_output_; - int32_t slot_usage_for_output_; - int32_t set_for_output_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgDevNewItemRequest : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgDevNewItemRequest) */ { - public: - inline CMsgDevNewItemRequest() : CMsgDevNewItemRequest(nullptr) {} - ~CMsgDevNewItemRequest() override; - explicit PROTOBUF_CONSTEXPR CMsgDevNewItemRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgDevNewItemRequest(const CMsgDevNewItemRequest& from); - CMsgDevNewItemRequest(CMsgDevNewItemRequest&& from) noexcept - : CMsgDevNewItemRequest() { - *this = ::std::move(from); - } - - inline CMsgDevNewItemRequest& operator=(const CMsgDevNewItemRequest& from) { - CopyFrom(from); - return *this; - } - inline CMsgDevNewItemRequest& operator=(CMsgDevNewItemRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgDevNewItemRequest& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgDevNewItemRequest* internal_default_instance() { - return reinterpret_cast( - &_CMsgDevNewItemRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - friend void swap(CMsgDevNewItemRequest& a, CMsgDevNewItemRequest& b) { - a.Swap(&b); - } - inline void Swap(CMsgDevNewItemRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgDevNewItemRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgDevNewItemRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgDevNewItemRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgDevNewItemRequest& from) { - CMsgDevNewItemRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgDevNewItemRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgDevNewItemRequest"; - } - protected: - explicit CMsgDevNewItemRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCriteriaFieldNumber = 2, - kReceiverFieldNumber = 1, - }; - // optional .CSOItemCriteria criteria = 2; - bool has_criteria() const; - private: - bool _internal_has_criteria() const; - public: - void clear_criteria(); - const ::CSOItemCriteria& criteria() const; - PROTOBUF_NODISCARD ::CSOItemCriteria* release_criteria(); - ::CSOItemCriteria* mutable_criteria(); - void set_allocated_criteria(::CSOItemCriteria* criteria); - private: - const ::CSOItemCriteria& _internal_criteria() const; - ::CSOItemCriteria* _internal_mutable_criteria(); - public: - void unsafe_arena_set_allocated_criteria( - ::CSOItemCriteria* criteria); - ::CSOItemCriteria* unsafe_arena_release_criteria(); - - // optional fixed64 receiver = 1; - bool has_receiver() const; - private: - bool _internal_has_receiver() const; - public: - void clear_receiver(); - uint64_t receiver() const; - void set_receiver(uint64_t value); - private: - uint64_t _internal_receiver() const; - void _internal_set_receiver(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgDevNewItemRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CSOItemCriteria* criteria_; - uint64_t receiver_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgIncrementKillCountAttribute : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgIncrementKillCountAttribute) */ { - public: - inline CMsgIncrementKillCountAttribute() : CMsgIncrementKillCountAttribute(nullptr) {} - ~CMsgIncrementKillCountAttribute() override; - explicit PROTOBUF_CONSTEXPR CMsgIncrementKillCountAttribute(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgIncrementKillCountAttribute(const CMsgIncrementKillCountAttribute& from); - CMsgIncrementKillCountAttribute(CMsgIncrementKillCountAttribute&& from) noexcept - : CMsgIncrementKillCountAttribute() { - *this = ::std::move(from); - } - - inline CMsgIncrementKillCountAttribute& operator=(const CMsgIncrementKillCountAttribute& from) { - CopyFrom(from); - return *this; - } - inline CMsgIncrementKillCountAttribute& operator=(CMsgIncrementKillCountAttribute&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgIncrementKillCountAttribute& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgIncrementKillCountAttribute* internal_default_instance() { - return reinterpret_cast( - &_CMsgIncrementKillCountAttribute_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - friend void swap(CMsgIncrementKillCountAttribute& a, CMsgIncrementKillCountAttribute& b) { - a.Swap(&b); - } - inline void Swap(CMsgIncrementKillCountAttribute* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgIncrementKillCountAttribute* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgIncrementKillCountAttribute* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgIncrementKillCountAttribute& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgIncrementKillCountAttribute& from) { - CMsgIncrementKillCountAttribute::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgIncrementKillCountAttribute* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgIncrementKillCountAttribute"; - } - protected: - explicit CMsgIncrementKillCountAttribute(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kKillerAccountIdFieldNumber = 1, - kVictimAccountIdFieldNumber = 2, - kItemIdFieldNumber = 3, - kEventTypeFieldNumber = 4, - kAmountFieldNumber = 5, - }; - // optional fixed32 killer_account_id = 1; - bool has_killer_account_id() const; - private: - bool _internal_has_killer_account_id() const; - public: - void clear_killer_account_id(); - uint32_t killer_account_id() const; - void set_killer_account_id(uint32_t value); - private: - uint32_t _internal_killer_account_id() const; - void _internal_set_killer_account_id(uint32_t value); - public: - - // optional fixed32 victim_account_id = 2; - bool has_victim_account_id() const; - private: - bool _internal_has_victim_account_id() const; - public: - void clear_victim_account_id(); - uint32_t victim_account_id() const; - void set_victim_account_id(uint32_t value); - private: - uint32_t _internal_victim_account_id() const; - void _internal_set_victim_account_id(uint32_t value); - public: - - // optional uint64 item_id = 3; - bool has_item_id() const; - private: - bool _internal_has_item_id() const; - public: - void clear_item_id(); - uint64_t item_id() const; - void set_item_id(uint64_t value); - private: - uint64_t _internal_item_id() const; - void _internal_set_item_id(uint64_t value); - public: - - // optional uint32 event_type = 4; - bool has_event_type() const; - private: - bool _internal_has_event_type() const; - public: - void clear_event_type(); - uint32_t event_type() const; - void set_event_type(uint32_t value); - private: - uint32_t _internal_event_type() const; - void _internal_set_event_type(uint32_t value); - public: - - // optional uint32 amount = 5; - bool has_amount() const; - private: - bool _internal_has_amount() const; - public: - void clear_amount(); - uint32_t amount() const; - void set_amount(uint32_t value); - private: - uint32_t _internal_amount() const; - void _internal_set_amount(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgIncrementKillCountAttribute) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t killer_account_id_; - uint32_t victim_account_id_; - uint64_t item_id_; - uint32_t event_type_; - uint32_t amount_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgApplySticker : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgApplySticker) */ { - public: - inline CMsgApplySticker() : CMsgApplySticker(nullptr) {} - ~CMsgApplySticker() override; - explicit PROTOBUF_CONSTEXPR CMsgApplySticker(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgApplySticker(const CMsgApplySticker& from); - CMsgApplySticker(CMsgApplySticker&& from) noexcept - : CMsgApplySticker() { - *this = ::std::move(from); - } - - inline CMsgApplySticker& operator=(const CMsgApplySticker& from) { - CopyFrom(from); - return *this; - } - inline CMsgApplySticker& operator=(CMsgApplySticker&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgApplySticker& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgApplySticker* internal_default_instance() { - return reinterpret_cast( - &_CMsgApplySticker_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - friend void swap(CMsgApplySticker& a, CMsgApplySticker& b) { - a.Swap(&b); - } - inline void Swap(CMsgApplySticker* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgApplySticker* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgApplySticker* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgApplySticker& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgApplySticker& from) { - CMsgApplySticker::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgApplySticker* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgApplySticker"; - } - protected: - explicit CMsgApplySticker(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStickerItemIdFieldNumber = 1, - kItemItemIdFieldNumber = 2, - kStickerSlotFieldNumber = 3, - kBaseitemDefidxFieldNumber = 4, - kStickerWearFieldNumber = 5, - kStickerRotationFieldNumber = 6, - kStickerScaleFieldNumber = 7, - kStickerOffsetXFieldNumber = 8, - kStickerOffsetYFieldNumber = 9, - kStickerOffsetZFieldNumber = 10, - kStickerWearTargetFieldNumber = 11, - }; - // optional uint64 sticker_item_id = 1; - bool has_sticker_item_id() const; - private: - bool _internal_has_sticker_item_id() const; - public: - void clear_sticker_item_id(); - uint64_t sticker_item_id() const; - void set_sticker_item_id(uint64_t value); - private: - uint64_t _internal_sticker_item_id() const; - void _internal_set_sticker_item_id(uint64_t value); - public: - - // optional uint64 item_item_id = 2; - bool has_item_item_id() const; - private: - bool _internal_has_item_item_id() const; - public: - void clear_item_item_id(); - uint64_t item_item_id() const; - void set_item_item_id(uint64_t value); - private: - uint64_t _internal_item_item_id() const; - void _internal_set_item_item_id(uint64_t value); - public: - - // optional uint32 sticker_slot = 3; - bool has_sticker_slot() const; - private: - bool _internal_has_sticker_slot() const; - public: - void clear_sticker_slot(); - uint32_t sticker_slot() const; - void set_sticker_slot(uint32_t value); - private: - uint32_t _internal_sticker_slot() const; - void _internal_set_sticker_slot(uint32_t value); - public: - - // optional uint32 baseitem_defidx = 4; - bool has_baseitem_defidx() const; - private: - bool _internal_has_baseitem_defidx() const; - public: - void clear_baseitem_defidx(); - uint32_t baseitem_defidx() const; - void set_baseitem_defidx(uint32_t value); - private: - uint32_t _internal_baseitem_defidx() const; - void _internal_set_baseitem_defidx(uint32_t value); - public: - - // optional float sticker_wear = 5; - bool has_sticker_wear() const; - private: - bool _internal_has_sticker_wear() const; - public: - void clear_sticker_wear(); - float sticker_wear() const; - void set_sticker_wear(float value); - private: - float _internal_sticker_wear() const; - void _internal_set_sticker_wear(float value); - public: - - // optional float sticker_rotation = 6; - bool has_sticker_rotation() const; - private: - bool _internal_has_sticker_rotation() const; - public: - void clear_sticker_rotation(); - float sticker_rotation() const; - void set_sticker_rotation(float value); - private: - float _internal_sticker_rotation() const; - void _internal_set_sticker_rotation(float value); - public: - - // optional float sticker_scale = 7; - bool has_sticker_scale() const; - private: - bool _internal_has_sticker_scale() const; - public: - void clear_sticker_scale(); - float sticker_scale() const; - void set_sticker_scale(float value); - private: - float _internal_sticker_scale() const; - void _internal_set_sticker_scale(float value); - public: - - // optional float sticker_offset_x = 8; - bool has_sticker_offset_x() const; - private: - bool _internal_has_sticker_offset_x() const; - public: - void clear_sticker_offset_x(); - float sticker_offset_x() const; - void set_sticker_offset_x(float value); - private: - float _internal_sticker_offset_x() const; - void _internal_set_sticker_offset_x(float value); - public: - - // optional float sticker_offset_y = 9; - bool has_sticker_offset_y() const; - private: - bool _internal_has_sticker_offset_y() const; - public: - void clear_sticker_offset_y(); - float sticker_offset_y() const; - void set_sticker_offset_y(float value); - private: - float _internal_sticker_offset_y() const; - void _internal_set_sticker_offset_y(float value); - public: - - // optional float sticker_offset_z = 10; - bool has_sticker_offset_z() const; - private: - bool _internal_has_sticker_offset_z() const; - public: - void clear_sticker_offset_z(); - float sticker_offset_z() const; - void set_sticker_offset_z(float value); - private: - float _internal_sticker_offset_z() const; - void _internal_set_sticker_offset_z(float value); - public: - - // optional float sticker_wear_target = 11; - bool has_sticker_wear_target() const; - private: - bool _internal_has_sticker_wear_target() const; - public: - void clear_sticker_wear_target(); - float sticker_wear_target() const; - void set_sticker_wear_target(float value); - private: - float _internal_sticker_wear_target() const; - void _internal_set_sticker_wear_target(float value); - public: - - // @@protoc_insertion_point(class_scope:CMsgApplySticker) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t sticker_item_id_; - uint64_t item_item_id_; - uint32_t sticker_slot_; - uint32_t baseitem_defidx_; - float sticker_wear_; - float sticker_rotation_; - float sticker_scale_; - float sticker_offset_x_; - float sticker_offset_y_; - float sticker_offset_z_; - float sticker_wear_target_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgModifyItemAttribute : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgModifyItemAttribute) */ { - public: - inline CMsgModifyItemAttribute() : CMsgModifyItemAttribute(nullptr) {} - ~CMsgModifyItemAttribute() override; - explicit PROTOBUF_CONSTEXPR CMsgModifyItemAttribute(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgModifyItemAttribute(const CMsgModifyItemAttribute& from); - CMsgModifyItemAttribute(CMsgModifyItemAttribute&& from) noexcept - : CMsgModifyItemAttribute() { - *this = ::std::move(from); - } - - inline CMsgModifyItemAttribute& operator=(const CMsgModifyItemAttribute& from) { - CopyFrom(from); - return *this; - } - inline CMsgModifyItemAttribute& operator=(CMsgModifyItemAttribute&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgModifyItemAttribute& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgModifyItemAttribute* internal_default_instance() { - return reinterpret_cast( - &_CMsgModifyItemAttribute_default_instance_); - } - static constexpr int kIndexInFileMessages = - 20; - - friend void swap(CMsgModifyItemAttribute& a, CMsgModifyItemAttribute& b) { - a.Swap(&b); - } - inline void Swap(CMsgModifyItemAttribute* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgModifyItemAttribute* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgModifyItemAttribute* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgModifyItemAttribute& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgModifyItemAttribute& from) { - CMsgModifyItemAttribute::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgModifyItemAttribute* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgModifyItemAttribute"; - } - protected: - explicit CMsgModifyItemAttribute(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemIdFieldNumber = 1, - kAttrDefidxFieldNumber = 2, - kAttrValueFieldNumber = 3, - }; - // optional uint64 item_id = 1; - bool has_item_id() const; - private: - bool _internal_has_item_id() const; - public: - void clear_item_id(); - uint64_t item_id() const; - void set_item_id(uint64_t value); - private: - uint64_t _internal_item_id() const; - void _internal_set_item_id(uint64_t value); - public: - - // optional uint32 attr_defidx = 2; - bool has_attr_defidx() const; - private: - bool _internal_has_attr_defidx() const; - public: - void clear_attr_defidx(); - uint32_t attr_defidx() const; - void set_attr_defidx(uint32_t value); - private: - uint32_t _internal_attr_defidx() const; - void _internal_set_attr_defidx(uint32_t value); - public: - - // optional uint32 attr_value = 3; - bool has_attr_value() const; - private: - bool _internal_has_attr_value() const; - public: - void clear_attr_value(); - uint32_t attr_value() const; - void set_attr_value(uint32_t value); - private: - uint32_t _internal_attr_value() const; - void _internal_set_attr_value(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgModifyItemAttribute) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t item_id_; - uint32_t attr_defidx_; - uint32_t attr_value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgApplyStatTrakSwap : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgApplyStatTrakSwap) */ { - public: - inline CMsgApplyStatTrakSwap() : CMsgApplyStatTrakSwap(nullptr) {} - ~CMsgApplyStatTrakSwap() override; - explicit PROTOBUF_CONSTEXPR CMsgApplyStatTrakSwap(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgApplyStatTrakSwap(const CMsgApplyStatTrakSwap& from); - CMsgApplyStatTrakSwap(CMsgApplyStatTrakSwap&& from) noexcept - : CMsgApplyStatTrakSwap() { - *this = ::std::move(from); - } - - inline CMsgApplyStatTrakSwap& operator=(const CMsgApplyStatTrakSwap& from) { - CopyFrom(from); - return *this; - } - inline CMsgApplyStatTrakSwap& operator=(CMsgApplyStatTrakSwap&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgApplyStatTrakSwap& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgApplyStatTrakSwap* internal_default_instance() { - return reinterpret_cast( - &_CMsgApplyStatTrakSwap_default_instance_); - } - static constexpr int kIndexInFileMessages = - 21; - - friend void swap(CMsgApplyStatTrakSwap& a, CMsgApplyStatTrakSwap& b) { - a.Swap(&b); - } - inline void Swap(CMsgApplyStatTrakSwap* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgApplyStatTrakSwap* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgApplyStatTrakSwap* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgApplyStatTrakSwap& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgApplyStatTrakSwap& from) { - CMsgApplyStatTrakSwap::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgApplyStatTrakSwap* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgApplyStatTrakSwap"; - } - protected: - explicit CMsgApplyStatTrakSwap(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kToolItemIdFieldNumber = 1, - kItem1ItemIdFieldNumber = 2, - kItem2ItemIdFieldNumber = 3, - }; - // optional uint64 tool_item_id = 1; - bool has_tool_item_id() const; - private: - bool _internal_has_tool_item_id() const; - public: - void clear_tool_item_id(); - uint64_t tool_item_id() const; - void set_tool_item_id(uint64_t value); - private: - uint64_t _internal_tool_item_id() const; - void _internal_set_tool_item_id(uint64_t value); - public: - - // optional uint64 item_1_item_id = 2; - bool has_item_1_item_id() const; - private: - bool _internal_has_item_1_item_id() const; - public: - void clear_item_1_item_id(); - uint64_t item_1_item_id() const; - void set_item_1_item_id(uint64_t value); - private: - uint64_t _internal_item_1_item_id() const; - void _internal_set_item_1_item_id(uint64_t value); - public: - - // optional uint64 item_2_item_id = 3; - bool has_item_2_item_id() const; - private: - bool _internal_has_item_2_item_id() const; - public: - void clear_item_2_item_id(); - uint64_t item_2_item_id() const; - void set_item_2_item_id(uint64_t value); - private: - uint64_t _internal_item_2_item_id() const; - void _internal_set_item_2_item_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgApplyStatTrakSwap) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t tool_item_id_; - uint64_t item_1_item_id_; - uint64_t item_2_item_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgApplyStrangePart : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgApplyStrangePart) */ { - public: - inline CMsgApplyStrangePart() : CMsgApplyStrangePart(nullptr) {} - ~CMsgApplyStrangePart() override; - explicit PROTOBUF_CONSTEXPR CMsgApplyStrangePart(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgApplyStrangePart(const CMsgApplyStrangePart& from); - CMsgApplyStrangePart(CMsgApplyStrangePart&& from) noexcept - : CMsgApplyStrangePart() { - *this = ::std::move(from); - } - - inline CMsgApplyStrangePart& operator=(const CMsgApplyStrangePart& from) { - CopyFrom(from); - return *this; - } - inline CMsgApplyStrangePart& operator=(CMsgApplyStrangePart&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgApplyStrangePart& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgApplyStrangePart* internal_default_instance() { - return reinterpret_cast( - &_CMsgApplyStrangePart_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - friend void swap(CMsgApplyStrangePart& a, CMsgApplyStrangePart& b) { - a.Swap(&b); - } - inline void Swap(CMsgApplyStrangePart* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgApplyStrangePart* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgApplyStrangePart* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgApplyStrangePart& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgApplyStrangePart& from) { - CMsgApplyStrangePart::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgApplyStrangePart* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgApplyStrangePart"; - } - protected: - explicit CMsgApplyStrangePart(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStrangePartItemIdFieldNumber = 1, - kItemItemIdFieldNumber = 2, - }; - // optional uint64 strange_part_item_id = 1; - bool has_strange_part_item_id() const; - private: - bool _internal_has_strange_part_item_id() const; - public: - void clear_strange_part_item_id(); - uint64_t strange_part_item_id() const; - void set_strange_part_item_id(uint64_t value); - private: - uint64_t _internal_strange_part_item_id() const; - void _internal_set_strange_part_item_id(uint64_t value); - public: - - // optional uint64 item_item_id = 2; - bool has_item_item_id() const; - private: - bool _internal_has_item_item_id() const; - public: - void clear_item_item_id(); - uint64_t item_item_id() const; - void set_item_item_id(uint64_t value); - private: - uint64_t _internal_item_item_id() const; - void _internal_set_item_item_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgApplyStrangePart) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t strange_part_item_id_; - uint64_t item_item_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgApplyPennantUpgrade : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgApplyPennantUpgrade) */ { - public: - inline CMsgApplyPennantUpgrade() : CMsgApplyPennantUpgrade(nullptr) {} - ~CMsgApplyPennantUpgrade() override; - explicit PROTOBUF_CONSTEXPR CMsgApplyPennantUpgrade(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgApplyPennantUpgrade(const CMsgApplyPennantUpgrade& from); - CMsgApplyPennantUpgrade(CMsgApplyPennantUpgrade&& from) noexcept - : CMsgApplyPennantUpgrade() { - *this = ::std::move(from); - } - - inline CMsgApplyPennantUpgrade& operator=(const CMsgApplyPennantUpgrade& from) { - CopyFrom(from); - return *this; - } - inline CMsgApplyPennantUpgrade& operator=(CMsgApplyPennantUpgrade&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgApplyPennantUpgrade& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgApplyPennantUpgrade* internal_default_instance() { - return reinterpret_cast( - &_CMsgApplyPennantUpgrade_default_instance_); - } - static constexpr int kIndexInFileMessages = - 23; - - friend void swap(CMsgApplyPennantUpgrade& a, CMsgApplyPennantUpgrade& b) { - a.Swap(&b); - } - inline void Swap(CMsgApplyPennantUpgrade* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgApplyPennantUpgrade* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgApplyPennantUpgrade* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgApplyPennantUpgrade& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgApplyPennantUpgrade& from) { - CMsgApplyPennantUpgrade::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgApplyPennantUpgrade* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgApplyPennantUpgrade"; - } - protected: - explicit CMsgApplyPennantUpgrade(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kUpgradeItemIdFieldNumber = 1, - kPennantItemIdFieldNumber = 2, - }; - // optional uint64 upgrade_item_id = 1; - bool has_upgrade_item_id() const; - private: - bool _internal_has_upgrade_item_id() const; - public: - void clear_upgrade_item_id(); - uint64_t upgrade_item_id() const; - void set_upgrade_item_id(uint64_t value); - private: - uint64_t _internal_upgrade_item_id() const; - void _internal_set_upgrade_item_id(uint64_t value); - public: - - // optional uint64 pennant_item_id = 2; - bool has_pennant_item_id() const; - private: - bool _internal_has_pennant_item_id() const; - public: - void clear_pennant_item_id(); - uint64_t pennant_item_id() const; - void set_pennant_item_id(uint64_t value); - private: - uint64_t _internal_pennant_item_id() const; - void _internal_set_pennant_item_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgApplyPennantUpgrade) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t upgrade_item_id_; - uint64_t pennant_item_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgApplyEggEssence : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgApplyEggEssence) */ { - public: - inline CMsgApplyEggEssence() : CMsgApplyEggEssence(nullptr) {} - ~CMsgApplyEggEssence() override; - explicit PROTOBUF_CONSTEXPR CMsgApplyEggEssence(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgApplyEggEssence(const CMsgApplyEggEssence& from); - CMsgApplyEggEssence(CMsgApplyEggEssence&& from) noexcept - : CMsgApplyEggEssence() { - *this = ::std::move(from); - } - - inline CMsgApplyEggEssence& operator=(const CMsgApplyEggEssence& from) { - CopyFrom(from); - return *this; - } - inline CMsgApplyEggEssence& operator=(CMsgApplyEggEssence&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgApplyEggEssence& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgApplyEggEssence* internal_default_instance() { - return reinterpret_cast( - &_CMsgApplyEggEssence_default_instance_); - } - static constexpr int kIndexInFileMessages = - 24; - - friend void swap(CMsgApplyEggEssence& a, CMsgApplyEggEssence& b) { - a.Swap(&b); - } - inline void Swap(CMsgApplyEggEssence* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgApplyEggEssence* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgApplyEggEssence* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgApplyEggEssence& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgApplyEggEssence& from) { - CMsgApplyEggEssence::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgApplyEggEssence* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgApplyEggEssence"; - } - protected: - explicit CMsgApplyEggEssence(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEssenceItemIdFieldNumber = 1, - kEggItemIdFieldNumber = 2, - }; - // optional uint64 essence_item_id = 1; - bool has_essence_item_id() const; - private: - bool _internal_has_essence_item_id() const; - public: - void clear_essence_item_id(); - uint64_t essence_item_id() const; - void set_essence_item_id(uint64_t value); - private: - uint64_t _internal_essence_item_id() const; - void _internal_set_essence_item_id(uint64_t value); - public: - - // optional uint64 egg_item_id = 2; - bool has_egg_item_id() const; - private: - bool _internal_has_egg_item_id() const; - public: - void clear_egg_item_id(); - uint64_t egg_item_id() const; - void set_egg_item_id(uint64_t value); - private: - uint64_t _internal_egg_item_id() const; - void _internal_set_egg_item_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgApplyEggEssence) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t essence_item_id_; - uint64_t egg_item_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOEconItemAttribute : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconItemAttribute) */ { - public: - inline CSOEconItemAttribute() : CSOEconItemAttribute(nullptr) {} - ~CSOEconItemAttribute() override; - explicit PROTOBUF_CONSTEXPR CSOEconItemAttribute(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOEconItemAttribute(const CSOEconItemAttribute& from); - CSOEconItemAttribute(CSOEconItemAttribute&& from) noexcept - : CSOEconItemAttribute() { - *this = ::std::move(from); - } - - inline CSOEconItemAttribute& operator=(const CSOEconItemAttribute& from) { - CopyFrom(from); - return *this; - } - inline CSOEconItemAttribute& operator=(CSOEconItemAttribute&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOEconItemAttribute& default_instance() { - return *internal_default_instance(); - } - static inline const CSOEconItemAttribute* internal_default_instance() { - return reinterpret_cast( - &_CSOEconItemAttribute_default_instance_); - } - static constexpr int kIndexInFileMessages = - 25; - - friend void swap(CSOEconItemAttribute& a, CSOEconItemAttribute& b) { - a.Swap(&b); - } - inline void Swap(CSOEconItemAttribute* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOEconItemAttribute* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOEconItemAttribute* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOEconItemAttribute& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOEconItemAttribute& from) { - CSOEconItemAttribute::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOEconItemAttribute* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOEconItemAttribute"; - } - protected: - explicit CSOEconItemAttribute(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kValueBytesFieldNumber = 3, - kDefIndexFieldNumber = 1, - kValueFieldNumber = 2, - }; - // optional bytes value_bytes = 3; - bool has_value_bytes() const; - private: - bool _internal_has_value_bytes() const; - public: - void clear_value_bytes(); - const std::string& value_bytes() const; - template - void set_value_bytes(ArgT0&& arg0, ArgT... args); - std::string* mutable_value_bytes(); - PROTOBUF_NODISCARD std::string* release_value_bytes(); - void set_allocated_value_bytes(std::string* value_bytes); - private: - const std::string& _internal_value_bytes() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_value_bytes(const std::string& value); - std::string* _internal_mutable_value_bytes(); - public: - - // optional uint32 def_index = 1; - bool has_def_index() const; - private: - bool _internal_has_def_index() const; - public: - void clear_def_index(); - uint32_t def_index() const; - void set_def_index(uint32_t value); - private: - uint32_t _internal_def_index() const; - void _internal_set_def_index(uint32_t value); - public: - - // optional uint32 value = 2; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - uint32_t value() const; - void set_value(uint32_t value); - private: - uint32_t _internal_value() const; - void _internal_set_value(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOEconItemAttribute) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_bytes_; - uint32_t def_index_; - uint32_t value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOEconItemEquipped : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconItemEquipped) */ { - public: - inline CSOEconItemEquipped() : CSOEconItemEquipped(nullptr) {} - ~CSOEconItemEquipped() override; - explicit PROTOBUF_CONSTEXPR CSOEconItemEquipped(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOEconItemEquipped(const CSOEconItemEquipped& from); - CSOEconItemEquipped(CSOEconItemEquipped&& from) noexcept - : CSOEconItemEquipped() { - *this = ::std::move(from); - } - - inline CSOEconItemEquipped& operator=(const CSOEconItemEquipped& from) { - CopyFrom(from); - return *this; - } - inline CSOEconItemEquipped& operator=(CSOEconItemEquipped&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOEconItemEquipped& default_instance() { - return *internal_default_instance(); - } - static inline const CSOEconItemEquipped* internal_default_instance() { - return reinterpret_cast( - &_CSOEconItemEquipped_default_instance_); - } - static constexpr int kIndexInFileMessages = - 26; - - friend void swap(CSOEconItemEquipped& a, CSOEconItemEquipped& b) { - a.Swap(&b); - } - inline void Swap(CSOEconItemEquipped* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOEconItemEquipped* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOEconItemEquipped* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOEconItemEquipped& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOEconItemEquipped& from) { - CSOEconItemEquipped::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOEconItemEquipped* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOEconItemEquipped"; - } - protected: - explicit CSOEconItemEquipped(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNewClassFieldNumber = 1, - kNewSlotFieldNumber = 2, - }; - // optional uint32 new_class = 1; - bool has_new_class() const; - private: - bool _internal_has_new_class() const; - public: - void clear_new_class(); - uint32_t new_class() const; - void set_new_class(uint32_t value); - private: - uint32_t _internal_new_class() const; - void _internal_set_new_class(uint32_t value); - public: - - // optional uint32 new_slot = 2; - bool has_new_slot() const; - private: - bool _internal_has_new_slot() const; - public: - void clear_new_slot(); - uint32_t new_slot() const; - void set_new_slot(uint32_t value); - private: - uint32_t _internal_new_slot() const; - void _internal_set_new_slot(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOEconItemEquipped) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t new_class_; - uint32_t new_slot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOEconItem : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconItem) */ { - public: - inline CSOEconItem() : CSOEconItem(nullptr) {} - ~CSOEconItem() override; - explicit PROTOBUF_CONSTEXPR CSOEconItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOEconItem(const CSOEconItem& from); - CSOEconItem(CSOEconItem&& from) noexcept - : CSOEconItem() { - *this = ::std::move(from); - } - - inline CSOEconItem& operator=(const CSOEconItem& from) { - CopyFrom(from); - return *this; - } - inline CSOEconItem& operator=(CSOEconItem&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOEconItem& default_instance() { - return *internal_default_instance(); - } - static inline const CSOEconItem* internal_default_instance() { - return reinterpret_cast( - &_CSOEconItem_default_instance_); - } - static constexpr int kIndexInFileMessages = - 27; - - friend void swap(CSOEconItem& a, CSOEconItem& b) { - a.Swap(&b); - } - inline void Swap(CSOEconItem* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOEconItem* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOEconItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOEconItem& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOEconItem& from) { - CSOEconItem::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOEconItem* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOEconItem"; - } - protected: - explicit CSOEconItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAttributeFieldNumber = 12, - kEquippedStateFieldNumber = 18, - kCustomNameFieldNumber = 10, - kCustomDescFieldNumber = 11, - kInteriorItemFieldNumber = 13, - kIdFieldNumber = 1, - kAccountIdFieldNumber = 2, - kInventoryFieldNumber = 3, - kDefIndexFieldNumber = 4, - kQuantityFieldNumber = 5, - kLevelFieldNumber = 6, - kQualityFieldNumber = 7, - kFlagsFieldNumber = 8, - kOriginFieldNumber = 9, - kInUseFieldNumber = 14, - kStyleFieldNumber = 15, - kOriginalIdFieldNumber = 16, - kRarityFieldNumber = 19, - }; - // repeated .CSOEconItemAttribute attribute = 12; - int attribute_size() const; - private: - int _internal_attribute_size() const; - public: - void clear_attribute(); - ::CSOEconItemAttribute* mutable_attribute(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemAttribute >* - mutable_attribute(); - private: - const ::CSOEconItemAttribute& _internal_attribute(int index) const; - ::CSOEconItemAttribute* _internal_add_attribute(); - public: - const ::CSOEconItemAttribute& attribute(int index) const; - ::CSOEconItemAttribute* add_attribute(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemAttribute >& - attribute() const; - - // repeated .CSOEconItemEquipped equipped_state = 18; - int equipped_state_size() const; - private: - int _internal_equipped_state_size() const; - public: - void clear_equipped_state(); - ::CSOEconItemEquipped* mutable_equipped_state(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemEquipped >* - mutable_equipped_state(); - private: - const ::CSOEconItemEquipped& _internal_equipped_state(int index) const; - ::CSOEconItemEquipped* _internal_add_equipped_state(); - public: - const ::CSOEconItemEquipped& equipped_state(int index) const; - ::CSOEconItemEquipped* add_equipped_state(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemEquipped >& - equipped_state() const; - - // optional string custom_name = 10; - bool has_custom_name() const; - private: - bool _internal_has_custom_name() const; - public: - void clear_custom_name(); - const std::string& custom_name() const; - template - void set_custom_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_custom_name(); - PROTOBUF_NODISCARD std::string* release_custom_name(); - void set_allocated_custom_name(std::string* custom_name); - private: - const std::string& _internal_custom_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_custom_name(const std::string& value); - std::string* _internal_mutable_custom_name(); - public: - - // optional string custom_desc = 11; - bool has_custom_desc() const; - private: - bool _internal_has_custom_desc() const; - public: - void clear_custom_desc(); - const std::string& custom_desc() const; - template - void set_custom_desc(ArgT0&& arg0, ArgT... args); - std::string* mutable_custom_desc(); - PROTOBUF_NODISCARD std::string* release_custom_desc(); - void set_allocated_custom_desc(std::string* custom_desc); - private: - const std::string& _internal_custom_desc() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_custom_desc(const std::string& value); - std::string* _internal_mutable_custom_desc(); - public: - - // optional .CSOEconItem interior_item = 13; - bool has_interior_item() const; - private: - bool _internal_has_interior_item() const; - public: - void clear_interior_item(); - const ::CSOEconItem& interior_item() const; - PROTOBUF_NODISCARD ::CSOEconItem* release_interior_item(); - ::CSOEconItem* mutable_interior_item(); - void set_allocated_interior_item(::CSOEconItem* interior_item); - private: - const ::CSOEconItem& _internal_interior_item() const; - ::CSOEconItem* _internal_mutable_interior_item(); - public: - void unsafe_arena_set_allocated_interior_item( - ::CSOEconItem* interior_item); - ::CSOEconItem* unsafe_arena_release_interior_item(); - - // optional uint64 id = 1; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - uint64_t id() const; - void set_id(uint64_t value); - private: - uint64_t _internal_id() const; - void _internal_set_id(uint64_t value); - public: - - // optional uint32 account_id = 2; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 inventory = 3; - bool has_inventory() const; - private: - bool _internal_has_inventory() const; - public: - void clear_inventory(); - uint32_t inventory() const; - void set_inventory(uint32_t value); - private: - uint32_t _internal_inventory() const; - void _internal_set_inventory(uint32_t value); - public: - - // optional uint32 def_index = 4; - bool has_def_index() const; - private: - bool _internal_has_def_index() const; - public: - void clear_def_index(); - uint32_t def_index() const; - void set_def_index(uint32_t value); - private: - uint32_t _internal_def_index() const; - void _internal_set_def_index(uint32_t value); - public: - - // optional uint32 quantity = 5; - bool has_quantity() const; - private: - bool _internal_has_quantity() const; - public: - void clear_quantity(); - uint32_t quantity() const; - void set_quantity(uint32_t value); - private: - uint32_t _internal_quantity() const; - void _internal_set_quantity(uint32_t value); - public: - - // optional uint32 level = 6; - bool has_level() const; - private: - bool _internal_has_level() const; - public: - void clear_level(); - uint32_t level() const; - void set_level(uint32_t value); - private: - uint32_t _internal_level() const; - void _internal_set_level(uint32_t value); - public: - - // optional uint32 quality = 7; - bool has_quality() const; - private: - bool _internal_has_quality() const; - public: - void clear_quality(); - uint32_t quality() const; - void set_quality(uint32_t value); - private: - uint32_t _internal_quality() const; - void _internal_set_quality(uint32_t value); - public: - - // optional uint32 flags = 8 [default = 0]; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional uint32 origin = 9; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - uint32_t origin() const; - void set_origin(uint32_t value); - private: - uint32_t _internal_origin() const; - void _internal_set_origin(uint32_t value); - public: - - // optional bool in_use = 14 [default = false]; - bool has_in_use() const; - private: - bool _internal_has_in_use() const; - public: - void clear_in_use(); - bool in_use() const; - void set_in_use(bool value); - private: - bool _internal_in_use() const; - void _internal_set_in_use(bool value); - public: - - // optional uint32 style = 15 [default = 0]; - bool has_style() const; - private: - bool _internal_has_style() const; - public: - void clear_style(); - uint32_t style() const; - void set_style(uint32_t value); - private: - uint32_t _internal_style() const; - void _internal_set_style(uint32_t value); - public: - - // optional uint64 original_id = 16 [default = 0]; - bool has_original_id() const; - private: - bool _internal_has_original_id() const; - public: - void clear_original_id(); - uint64_t original_id() const; - void set_original_id(uint64_t value); - private: - uint64_t _internal_original_id() const; - void _internal_set_original_id(uint64_t value); - public: - - // optional uint32 rarity = 19; - bool has_rarity() const; - private: - bool _internal_has_rarity() const; - public: - void clear_rarity(); - uint32_t rarity() const; - void set_rarity(uint32_t value); - private: - uint32_t _internal_rarity() const; - void _internal_set_rarity(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOEconItem) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemAttribute > attribute_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemEquipped > equipped_state_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr custom_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr custom_desc_; - ::CSOEconItem* interior_item_; - uint64_t id_; - uint32_t account_id_; - uint32_t inventory_; - uint32_t def_index_; - uint32_t quantity_; - uint32_t level_; - uint32_t quality_; - uint32_t flags_; - uint32_t origin_; - bool in_use_; - uint32_t style_; - uint64_t original_id_; - uint32_t rarity_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSortItems : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSortItems) */ { - public: - inline CMsgSortItems() : CMsgSortItems(nullptr) {} - ~CMsgSortItems() override; - explicit PROTOBUF_CONSTEXPR CMsgSortItems(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSortItems(const CMsgSortItems& from); - CMsgSortItems(CMsgSortItems&& from) noexcept - : CMsgSortItems() { - *this = ::std::move(from); - } - - inline CMsgSortItems& operator=(const CMsgSortItems& from) { - CopyFrom(from); - return *this; - } - inline CMsgSortItems& operator=(CMsgSortItems&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSortItems& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSortItems* internal_default_instance() { - return reinterpret_cast( - &_CMsgSortItems_default_instance_); - } - static constexpr int kIndexInFileMessages = - 28; - - friend void swap(CMsgSortItems& a, CMsgSortItems& b) { - a.Swap(&b); - } - inline void Swap(CMsgSortItems* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSortItems* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSortItems* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSortItems& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSortItems& from) { - CMsgSortItems::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSortItems* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSortItems"; - } - protected: - explicit CMsgSortItems(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSortTypeFieldNumber = 1, - }; - // optional uint32 sort_type = 1; - bool has_sort_type() const; - private: - bool _internal_has_sort_type() const; - public: - void clear_sort_type(); - uint32_t sort_type() const; - void set_sort_type(uint32_t value); - private: - uint32_t _internal_sort_type() const; - void _internal_set_sort_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSortItems) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t sort_type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOEconClaimCode : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconClaimCode) */ { - public: - inline CSOEconClaimCode() : CSOEconClaimCode(nullptr) {} - ~CSOEconClaimCode() override; - explicit PROTOBUF_CONSTEXPR CSOEconClaimCode(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOEconClaimCode(const CSOEconClaimCode& from); - CSOEconClaimCode(CSOEconClaimCode&& from) noexcept - : CSOEconClaimCode() { - *this = ::std::move(from); - } - - inline CSOEconClaimCode& operator=(const CSOEconClaimCode& from) { - CopyFrom(from); - return *this; - } - inline CSOEconClaimCode& operator=(CSOEconClaimCode&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOEconClaimCode& default_instance() { - return *internal_default_instance(); - } - static inline const CSOEconClaimCode* internal_default_instance() { - return reinterpret_cast( - &_CSOEconClaimCode_default_instance_); - } - static constexpr int kIndexInFileMessages = - 29; - - friend void swap(CSOEconClaimCode& a, CSOEconClaimCode& b) { - a.Swap(&b); - } - inline void Swap(CSOEconClaimCode* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOEconClaimCode* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOEconClaimCode* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOEconClaimCode& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOEconClaimCode& from) { - CSOEconClaimCode::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOEconClaimCode* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOEconClaimCode"; - } - protected: - explicit CSOEconClaimCode(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCodeFieldNumber = 4, - kAccountIdFieldNumber = 1, - kCodeTypeFieldNumber = 2, - kTimeAcquiredFieldNumber = 3, - }; - // optional string code = 4; - bool has_code() const; - private: - bool _internal_has_code() const; - public: - void clear_code(); - const std::string& code() const; - template - void set_code(ArgT0&& arg0, ArgT... args); - std::string* mutable_code(); - PROTOBUF_NODISCARD std::string* release_code(); - void set_allocated_code(std::string* code); - private: - const std::string& _internal_code() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_code(const std::string& value); - std::string* _internal_mutable_code(); - public: - - // optional uint32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 code_type = 2; - bool has_code_type() const; - private: - bool _internal_has_code_type() const; - public: - void clear_code_type(); - uint32_t code_type() const; - void set_code_type(uint32_t value); - private: - uint32_t _internal_code_type() const; - void _internal_set_code_type(uint32_t value); - public: - - // optional uint32 time_acquired = 3; - bool has_time_acquired() const; - private: - bool _internal_has_time_acquired() const; - public: - void clear_time_acquired(); - uint32_t time_acquired() const; - void set_time_acquired(uint32_t value); - private: - uint32_t _internal_time_acquired() const; - void _internal_set_time_acquired(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOEconClaimCode) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr code_; - uint32_t account_id_; - uint32_t code_type_; - uint32_t time_acquired_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgStoreGetUserData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgStoreGetUserData) */ { - public: - inline CMsgStoreGetUserData() : CMsgStoreGetUserData(nullptr) {} - ~CMsgStoreGetUserData() override; - explicit PROTOBUF_CONSTEXPR CMsgStoreGetUserData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgStoreGetUserData(const CMsgStoreGetUserData& from); - CMsgStoreGetUserData(CMsgStoreGetUserData&& from) noexcept - : CMsgStoreGetUserData() { - *this = ::std::move(from); - } - - inline CMsgStoreGetUserData& operator=(const CMsgStoreGetUserData& from) { - CopyFrom(from); - return *this; - } - inline CMsgStoreGetUserData& operator=(CMsgStoreGetUserData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgStoreGetUserData& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgStoreGetUserData* internal_default_instance() { - return reinterpret_cast( - &_CMsgStoreGetUserData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 30; - - friend void swap(CMsgStoreGetUserData& a, CMsgStoreGetUserData& b) { - a.Swap(&b); - } - inline void Swap(CMsgStoreGetUserData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgStoreGetUserData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgStoreGetUserData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgStoreGetUserData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgStoreGetUserData& from) { - CMsgStoreGetUserData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgStoreGetUserData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgStoreGetUserData"; - } - protected: - explicit CMsgStoreGetUserData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPriceSheetVersionFieldNumber = 1, - kCurrencyFieldNumber = 2, - }; - // optional fixed32 price_sheet_version = 1; - bool has_price_sheet_version() const; - private: - bool _internal_has_price_sheet_version() const; - public: - void clear_price_sheet_version(); - uint32_t price_sheet_version() const; - void set_price_sheet_version(uint32_t value); - private: - uint32_t _internal_price_sheet_version() const; - void _internal_set_price_sheet_version(uint32_t value); - public: - - // optional int32 currency = 2; - bool has_currency() const; - private: - bool _internal_has_currency() const; - public: - void clear_currency(); - int32_t currency() const; - void set_currency(int32_t value); - private: - int32_t _internal_currency() const; - void _internal_set_currency(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgStoreGetUserData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t price_sheet_version_; - int32_t currency_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgStoreGetUserDataResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgStoreGetUserDataResponse) */ { - public: - inline CMsgStoreGetUserDataResponse() : CMsgStoreGetUserDataResponse(nullptr) {} - ~CMsgStoreGetUserDataResponse() override; - explicit PROTOBUF_CONSTEXPR CMsgStoreGetUserDataResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgStoreGetUserDataResponse(const CMsgStoreGetUserDataResponse& from); - CMsgStoreGetUserDataResponse(CMsgStoreGetUserDataResponse&& from) noexcept - : CMsgStoreGetUserDataResponse() { - *this = ::std::move(from); - } - - inline CMsgStoreGetUserDataResponse& operator=(const CMsgStoreGetUserDataResponse& from) { - CopyFrom(from); - return *this; - } - inline CMsgStoreGetUserDataResponse& operator=(CMsgStoreGetUserDataResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgStoreGetUserDataResponse& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgStoreGetUserDataResponse* internal_default_instance() { - return reinterpret_cast( - &_CMsgStoreGetUserDataResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 31; - - friend void swap(CMsgStoreGetUserDataResponse& a, CMsgStoreGetUserDataResponse& b) { - a.Swap(&b); - } - inline void Swap(CMsgStoreGetUserDataResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgStoreGetUserDataResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgStoreGetUserDataResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgStoreGetUserDataResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgStoreGetUserDataResponse& from) { - CMsgStoreGetUserDataResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgStoreGetUserDataResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgStoreGetUserDataResponse"; - } - protected: - explicit CMsgStoreGetUserDataResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCountryDeprecatedFieldNumber = 3, - kPriceSheetFieldNumber = 8, - kResultFieldNumber = 1, - kCurrencyDeprecatedFieldNumber = 2, - kPriceSheetVersionFieldNumber = 4, - }; - // optional string country_deprecated = 3; - bool has_country_deprecated() const; - private: - bool _internal_has_country_deprecated() const; - public: - void clear_country_deprecated(); - const std::string& country_deprecated() const; - template - void set_country_deprecated(ArgT0&& arg0, ArgT... args); - std::string* mutable_country_deprecated(); - PROTOBUF_NODISCARD std::string* release_country_deprecated(); - void set_allocated_country_deprecated(std::string* country_deprecated); - private: - const std::string& _internal_country_deprecated() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_country_deprecated(const std::string& value); - std::string* _internal_mutable_country_deprecated(); - public: - - // optional bytes price_sheet = 8; - bool has_price_sheet() const; - private: - bool _internal_has_price_sheet() const; - public: - void clear_price_sheet(); - const std::string& price_sheet() const; - template - void set_price_sheet(ArgT0&& arg0, ArgT... args); - std::string* mutable_price_sheet(); - PROTOBUF_NODISCARD std::string* release_price_sheet(); - void set_allocated_price_sheet(std::string* price_sheet); - private: - const std::string& _internal_price_sheet() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_price_sheet(const std::string& value); - std::string* _internal_mutable_price_sheet(); - public: - - // optional int32 result = 1; - bool has_result() const; - private: - bool _internal_has_result() const; - public: - void clear_result(); - int32_t result() const; - void set_result(int32_t value); - private: - int32_t _internal_result() const; - void _internal_set_result(int32_t value); - public: - - // optional int32 currency_deprecated = 2; - bool has_currency_deprecated() const; - private: - bool _internal_has_currency_deprecated() const; - public: - void clear_currency_deprecated(); - int32_t currency_deprecated() const; - void set_currency_deprecated(int32_t value); - private: - int32_t _internal_currency_deprecated() const; - void _internal_set_currency_deprecated(int32_t value); - public: - - // optional fixed32 price_sheet_version = 4; - bool has_price_sheet_version() const; - private: - bool _internal_has_price_sheet_version() const; - public: - void clear_price_sheet_version(); - uint32_t price_sheet_version() const; - void set_price_sheet_version(uint32_t value); - private: - uint32_t _internal_price_sheet_version() const; - void _internal_set_price_sheet_version(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgStoreGetUserDataResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr country_deprecated_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr price_sheet_; - int32_t result_; - int32_t currency_deprecated_; - uint32_t price_sheet_version_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgUpdateItemSchema : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgUpdateItemSchema) */ { - public: - inline CMsgUpdateItemSchema() : CMsgUpdateItemSchema(nullptr) {} - ~CMsgUpdateItemSchema() override; - explicit PROTOBUF_CONSTEXPR CMsgUpdateItemSchema(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgUpdateItemSchema(const CMsgUpdateItemSchema& from); - CMsgUpdateItemSchema(CMsgUpdateItemSchema&& from) noexcept - : CMsgUpdateItemSchema() { - *this = ::std::move(from); - } - - inline CMsgUpdateItemSchema& operator=(const CMsgUpdateItemSchema& from) { - CopyFrom(from); - return *this; - } - inline CMsgUpdateItemSchema& operator=(CMsgUpdateItemSchema&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgUpdateItemSchema& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgUpdateItemSchema* internal_default_instance() { - return reinterpret_cast( - &_CMsgUpdateItemSchema_default_instance_); - } - static constexpr int kIndexInFileMessages = - 32; - - friend void swap(CMsgUpdateItemSchema& a, CMsgUpdateItemSchema& b) { - a.Swap(&b); - } - inline void Swap(CMsgUpdateItemSchema* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgUpdateItemSchema* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgUpdateItemSchema* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgUpdateItemSchema& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgUpdateItemSchema& from) { - CMsgUpdateItemSchema::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgUpdateItemSchema* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgUpdateItemSchema"; - } - protected: - explicit CMsgUpdateItemSchema(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemsGameFieldNumber = 1, - kItemsGameUrlFieldNumber = 4, - kItemSchemaVersionFieldNumber = 2, - }; - // optional bytes items_game = 1; - bool has_items_game() const; - private: - bool _internal_has_items_game() const; - public: - void clear_items_game(); - const std::string& items_game() const; - template - void set_items_game(ArgT0&& arg0, ArgT... args); - std::string* mutable_items_game(); - PROTOBUF_NODISCARD std::string* release_items_game(); - void set_allocated_items_game(std::string* items_game); - private: - const std::string& _internal_items_game() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_items_game(const std::string& value); - std::string* _internal_mutable_items_game(); - public: - - // optional string items_game_url = 4; - bool has_items_game_url() const; - private: - bool _internal_has_items_game_url() const; - public: - void clear_items_game_url(); - const std::string& items_game_url() const; - template - void set_items_game_url(ArgT0&& arg0, ArgT... args); - std::string* mutable_items_game_url(); - PROTOBUF_NODISCARD std::string* release_items_game_url(); - void set_allocated_items_game_url(std::string* items_game_url); - private: - const std::string& _internal_items_game_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_items_game_url(const std::string& value); - std::string* _internal_mutable_items_game_url(); - public: - - // optional fixed32 item_schema_version = 2; - bool has_item_schema_version() const; - private: - bool _internal_has_item_schema_version() const; - public: - void clear_item_schema_version(); - uint32_t item_schema_version() const; - void set_item_schema_version(uint32_t value); - private: - uint32_t _internal_item_schema_version() const; - void _internal_set_item_schema_version(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgUpdateItemSchema) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr items_game_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr items_game_url_; - uint32_t item_schema_version_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCError : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCError) */ { - public: - inline CMsgGCError() : CMsgGCError(nullptr) {} - ~CMsgGCError() override; - explicit PROTOBUF_CONSTEXPR CMsgGCError(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCError(const CMsgGCError& from); - CMsgGCError(CMsgGCError&& from) noexcept - : CMsgGCError() { - *this = ::std::move(from); - } - - inline CMsgGCError& operator=(const CMsgGCError& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCError& operator=(CMsgGCError&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCError& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCError* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCError_default_instance_); - } - static constexpr int kIndexInFileMessages = - 33; - - friend void swap(CMsgGCError& a, CMsgGCError& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCError* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCError* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCError* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCError& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCError& from) { - CMsgGCError::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCError* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCError"; - } - protected: - explicit CMsgGCError(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kErrorTextFieldNumber = 1, - }; - // optional string error_text = 1; - bool has_error_text() const; - private: - bool _internal_has_error_text() const; - public: - void clear_error_text(); - const std::string& error_text() const; - template - void set_error_text(ArgT0&& arg0, ArgT... args); - std::string* mutable_error_text(); - PROTOBUF_NODISCARD std::string* release_error_text(); - void set_allocated_error_text(std::string* error_text); - private: - const std::string& _internal_error_text() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_error_text(const std::string& value); - std::string* _internal_mutable_error_text(); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCError) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_text_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgRequestInventoryRefresh : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgRequestInventoryRefresh) */ { - public: - inline CMsgRequestInventoryRefresh() : CMsgRequestInventoryRefresh(nullptr) {} - explicit PROTOBUF_CONSTEXPR CMsgRequestInventoryRefresh(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgRequestInventoryRefresh(const CMsgRequestInventoryRefresh& from); - CMsgRequestInventoryRefresh(CMsgRequestInventoryRefresh&& from) noexcept - : CMsgRequestInventoryRefresh() { - *this = ::std::move(from); - } - - inline CMsgRequestInventoryRefresh& operator=(const CMsgRequestInventoryRefresh& from) { - CopyFrom(from); - return *this; - } - inline CMsgRequestInventoryRefresh& operator=(CMsgRequestInventoryRefresh&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgRequestInventoryRefresh& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgRequestInventoryRefresh* internal_default_instance() { - return reinterpret_cast( - &_CMsgRequestInventoryRefresh_default_instance_); - } - static constexpr int kIndexInFileMessages = - 34; - - friend void swap(CMsgRequestInventoryRefresh& a, CMsgRequestInventoryRefresh& b) { - a.Swap(&b); - } - inline void Swap(CMsgRequestInventoryRefresh* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgRequestInventoryRefresh* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgRequestInventoryRefresh* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CMsgRequestInventoryRefresh& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CMsgRequestInventoryRefresh& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgRequestInventoryRefresh"; - } - protected: - explicit CMsgRequestInventoryRefresh(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CMsgRequestInventoryRefresh) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgConVarValue : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgConVarValue) */ { - public: - inline CMsgConVarValue() : CMsgConVarValue(nullptr) {} - ~CMsgConVarValue() override; - explicit PROTOBUF_CONSTEXPR CMsgConVarValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgConVarValue(const CMsgConVarValue& from); - CMsgConVarValue(CMsgConVarValue&& from) noexcept - : CMsgConVarValue() { - *this = ::std::move(from); - } - - inline CMsgConVarValue& operator=(const CMsgConVarValue& from) { - CopyFrom(from); - return *this; - } - inline CMsgConVarValue& operator=(CMsgConVarValue&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgConVarValue& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgConVarValue* internal_default_instance() { - return reinterpret_cast( - &_CMsgConVarValue_default_instance_); - } - static constexpr int kIndexInFileMessages = - 35; - - friend void swap(CMsgConVarValue& a, CMsgConVarValue& b) { - a.Swap(&b); - } - inline void Swap(CMsgConVarValue* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgConVarValue* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgConVarValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgConVarValue& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgConVarValue& from) { - CMsgConVarValue::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgConVarValue* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgConVarValue"; - } - protected: - explicit CMsgConVarValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 1, - kValueFieldNumber = 2, - }; - // optional string name = 1; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional string value = 2; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - const std::string& value() const; - template - void set_value(ArgT0&& arg0, ArgT... args); - std::string* mutable_value(); - PROTOBUF_NODISCARD std::string* release_value(); - void set_allocated_value(std::string* value); - private: - const std::string& _internal_value() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); - std::string* _internal_mutable_value(); - public: - - // @@protoc_insertion_point(class_scope:CMsgConVarValue) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgReplicateConVars : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgReplicateConVars) */ { - public: - inline CMsgReplicateConVars() : CMsgReplicateConVars(nullptr) {} - ~CMsgReplicateConVars() override; - explicit PROTOBUF_CONSTEXPR CMsgReplicateConVars(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgReplicateConVars(const CMsgReplicateConVars& from); - CMsgReplicateConVars(CMsgReplicateConVars&& from) noexcept - : CMsgReplicateConVars() { - *this = ::std::move(from); - } - - inline CMsgReplicateConVars& operator=(const CMsgReplicateConVars& from) { - CopyFrom(from); - return *this; - } - inline CMsgReplicateConVars& operator=(CMsgReplicateConVars&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgReplicateConVars& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgReplicateConVars* internal_default_instance() { - return reinterpret_cast( - &_CMsgReplicateConVars_default_instance_); - } - static constexpr int kIndexInFileMessages = - 36; - - friend void swap(CMsgReplicateConVars& a, CMsgReplicateConVars& b) { - a.Swap(&b); - } - inline void Swap(CMsgReplicateConVars* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgReplicateConVars* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgReplicateConVars* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgReplicateConVars& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgReplicateConVars& from) { - CMsgReplicateConVars::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgReplicateConVars* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgReplicateConVars"; - } - protected: - explicit CMsgReplicateConVars(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kConvarsFieldNumber = 1, - }; - // repeated .CMsgConVarValue convars = 1; - int convars_size() const; - private: - int _internal_convars_size() const; - public: - void clear_convars(); - ::CMsgConVarValue* mutable_convars(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgConVarValue >* - mutable_convars(); - private: - const ::CMsgConVarValue& _internal_convars(int index) const; - ::CMsgConVarValue* _internal_add_convars(); - public: - const ::CMsgConVarValue& convars(int index) const; - ::CMsgConVarValue* add_convars(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgConVarValue >& - convars() const; - - // @@protoc_insertion_point(class_scope:CMsgReplicateConVars) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgConVarValue > convars_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgUseItem : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgUseItem) */ { - public: - inline CMsgUseItem() : CMsgUseItem(nullptr) {} - ~CMsgUseItem() override; - explicit PROTOBUF_CONSTEXPR CMsgUseItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgUseItem(const CMsgUseItem& from); - CMsgUseItem(CMsgUseItem&& from) noexcept - : CMsgUseItem() { - *this = ::std::move(from); - } - - inline CMsgUseItem& operator=(const CMsgUseItem& from) { - CopyFrom(from); - return *this; - } - inline CMsgUseItem& operator=(CMsgUseItem&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgUseItem& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgUseItem* internal_default_instance() { - return reinterpret_cast( - &_CMsgUseItem_default_instance_); - } - static constexpr int kIndexInFileMessages = - 37; - - friend void swap(CMsgUseItem& a, CMsgUseItem& b) { - a.Swap(&b); - } - inline void Swap(CMsgUseItem* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgUseItem* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgUseItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgUseItem& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgUseItem& from) { - CMsgUseItem::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgUseItem* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgUseItem"; - } - protected: - explicit CMsgUseItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGiftPotentialTargetsFieldNumber = 3, - kItemIdFieldNumber = 1, - kTargetSteamIdFieldNumber = 2, - kInitiatorSteamIdFieldNumber = 5, - kDuelClassLockFieldNumber = 4, - }; - // repeated uint32 gift__potential_targets = 3; - int gift__potential_targets_size() const; - private: - int _internal_gift__potential_targets_size() const; - public: - void clear_gift__potential_targets(); - private: - uint32_t _internal_gift__potential_targets(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_gift__potential_targets() const; - void _internal_add_gift__potential_targets(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_gift__potential_targets(); - public: - uint32_t gift__potential_targets(int index) const; - void set_gift__potential_targets(int index, uint32_t value); - void add_gift__potential_targets(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - gift__potential_targets() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_gift__potential_targets(); - - // optional uint64 item_id = 1; - bool has_item_id() const; - private: - bool _internal_has_item_id() const; - public: - void clear_item_id(); - uint64_t item_id() const; - void set_item_id(uint64_t value); - private: - uint64_t _internal_item_id() const; - void _internal_set_item_id(uint64_t value); - public: - - // optional fixed64 target_steam_id = 2; - bool has_target_steam_id() const; - private: - bool _internal_has_target_steam_id() const; - public: - void clear_target_steam_id(); - uint64_t target_steam_id() const; - void set_target_steam_id(uint64_t value); - private: - uint64_t _internal_target_steam_id() const; - void _internal_set_target_steam_id(uint64_t value); - public: - - // optional fixed64 initiator_steam_id = 5; - bool has_initiator_steam_id() const; - private: - bool _internal_has_initiator_steam_id() const; - public: - void clear_initiator_steam_id(); - uint64_t initiator_steam_id() const; - void set_initiator_steam_id(uint64_t value); - private: - uint64_t _internal_initiator_steam_id() const; - void _internal_set_initiator_steam_id(uint64_t value); - public: - - // optional uint32 duel__class_lock = 4; - bool has_duel__class_lock() const; - private: - bool _internal_has_duel__class_lock() const; - public: - void clear_duel__class_lock(); - uint32_t duel__class_lock() const; - void set_duel__class_lock(uint32_t value); - private: - uint32_t _internal_duel__class_lock() const; - void _internal_set_duel__class_lock(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgUseItem) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > gift__potential_targets_; - uint64_t item_id_; - uint64_t target_steam_id_; - uint64_t initiator_steam_id_; - uint32_t duel__class_lock_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgReplayUploadedToYouTube : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgReplayUploadedToYouTube) */ { - public: - inline CMsgReplayUploadedToYouTube() : CMsgReplayUploadedToYouTube(nullptr) {} - ~CMsgReplayUploadedToYouTube() override; - explicit PROTOBUF_CONSTEXPR CMsgReplayUploadedToYouTube(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgReplayUploadedToYouTube(const CMsgReplayUploadedToYouTube& from); - CMsgReplayUploadedToYouTube(CMsgReplayUploadedToYouTube&& from) noexcept - : CMsgReplayUploadedToYouTube() { - *this = ::std::move(from); - } - - inline CMsgReplayUploadedToYouTube& operator=(const CMsgReplayUploadedToYouTube& from) { - CopyFrom(from); - return *this; - } - inline CMsgReplayUploadedToYouTube& operator=(CMsgReplayUploadedToYouTube&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgReplayUploadedToYouTube& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgReplayUploadedToYouTube* internal_default_instance() { - return reinterpret_cast( - &_CMsgReplayUploadedToYouTube_default_instance_); - } - static constexpr int kIndexInFileMessages = - 38; - - friend void swap(CMsgReplayUploadedToYouTube& a, CMsgReplayUploadedToYouTube& b) { - a.Swap(&b); - } - inline void Swap(CMsgReplayUploadedToYouTube* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgReplayUploadedToYouTube* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgReplayUploadedToYouTube* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgReplayUploadedToYouTube& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgReplayUploadedToYouTube& from) { - CMsgReplayUploadedToYouTube::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgReplayUploadedToYouTube* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgReplayUploadedToYouTube"; - } - protected: - explicit CMsgReplayUploadedToYouTube(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kYoutubeUrlFieldNumber = 1, - kYoutubeAccountNameFieldNumber = 2, - kSessionIdFieldNumber = 3, - }; - // optional string youtube_url = 1; - bool has_youtube_url() const; - private: - bool _internal_has_youtube_url() const; - public: - void clear_youtube_url(); - const std::string& youtube_url() const; - template - void set_youtube_url(ArgT0&& arg0, ArgT... args); - std::string* mutable_youtube_url(); - PROTOBUF_NODISCARD std::string* release_youtube_url(); - void set_allocated_youtube_url(std::string* youtube_url); - private: - const std::string& _internal_youtube_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_youtube_url(const std::string& value); - std::string* _internal_mutable_youtube_url(); - public: - - // optional string youtube_account_name = 2; - bool has_youtube_account_name() const; - private: - bool _internal_has_youtube_account_name() const; - public: - void clear_youtube_account_name(); - const std::string& youtube_account_name() const; - template - void set_youtube_account_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_youtube_account_name(); - PROTOBUF_NODISCARD std::string* release_youtube_account_name(); - void set_allocated_youtube_account_name(std::string* youtube_account_name); - private: - const std::string& _internal_youtube_account_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_youtube_account_name(const std::string& value); - std::string* _internal_mutable_youtube_account_name(); - public: - - // optional uint64 session_id = 3; - bool has_session_id() const; - private: - bool _internal_has_session_id() const; - public: - void clear_session_id(); - uint64_t session_id() const; - void set_session_id(uint64_t value); - private: - uint64_t _internal_session_id() const; - void _internal_set_session_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgReplayUploadedToYouTube) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr youtube_url_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr youtube_account_name_; - uint64_t session_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgConsumableExhausted : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgConsumableExhausted) */ { - public: - inline CMsgConsumableExhausted() : CMsgConsumableExhausted(nullptr) {} - ~CMsgConsumableExhausted() override; - explicit PROTOBUF_CONSTEXPR CMsgConsumableExhausted(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgConsumableExhausted(const CMsgConsumableExhausted& from); - CMsgConsumableExhausted(CMsgConsumableExhausted&& from) noexcept - : CMsgConsumableExhausted() { - *this = ::std::move(from); - } - - inline CMsgConsumableExhausted& operator=(const CMsgConsumableExhausted& from) { - CopyFrom(from); - return *this; - } - inline CMsgConsumableExhausted& operator=(CMsgConsumableExhausted&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgConsumableExhausted& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgConsumableExhausted* internal_default_instance() { - return reinterpret_cast( - &_CMsgConsumableExhausted_default_instance_); - } - static constexpr int kIndexInFileMessages = - 39; - - friend void swap(CMsgConsumableExhausted& a, CMsgConsumableExhausted& b) { - a.Swap(&b); - } - inline void Swap(CMsgConsumableExhausted* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgConsumableExhausted* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgConsumableExhausted* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgConsumableExhausted& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgConsumableExhausted& from) { - CMsgConsumableExhausted::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgConsumableExhausted* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgConsumableExhausted"; - } - protected: - explicit CMsgConsumableExhausted(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemDefIdFieldNumber = 1, - }; - // optional int32 item_def_id = 1; - bool has_item_def_id() const; - private: - bool _internal_has_item_def_id() const; - public: - void clear_item_def_id(); - int32_t item_def_id() const; - void set_item_def_id(int32_t value); - private: - int32_t _internal_item_def_id() const; - void _internal_set_item_def_id(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgConsumableExhausted) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t item_def_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgItemAcknowledged__DEPRECATED : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgItemAcknowledged__DEPRECATED) */ { - public: - inline CMsgItemAcknowledged__DEPRECATED() : CMsgItemAcknowledged__DEPRECATED(nullptr) {} - ~CMsgItemAcknowledged__DEPRECATED() override; - explicit PROTOBUF_CONSTEXPR CMsgItemAcknowledged__DEPRECATED(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgItemAcknowledged__DEPRECATED(const CMsgItemAcknowledged__DEPRECATED& from); - CMsgItemAcknowledged__DEPRECATED(CMsgItemAcknowledged__DEPRECATED&& from) noexcept - : CMsgItemAcknowledged__DEPRECATED() { - *this = ::std::move(from); - } - - inline CMsgItemAcknowledged__DEPRECATED& operator=(const CMsgItemAcknowledged__DEPRECATED& from) { - CopyFrom(from); - return *this; - } - inline CMsgItemAcknowledged__DEPRECATED& operator=(CMsgItemAcknowledged__DEPRECATED&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgItemAcknowledged__DEPRECATED& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgItemAcknowledged__DEPRECATED* internal_default_instance() { - return reinterpret_cast( - &_CMsgItemAcknowledged__DEPRECATED_default_instance_); - } - static constexpr int kIndexInFileMessages = - 40; - - friend void swap(CMsgItemAcknowledged__DEPRECATED& a, CMsgItemAcknowledged__DEPRECATED& b) { - a.Swap(&b); - } - inline void Swap(CMsgItemAcknowledged__DEPRECATED* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgItemAcknowledged__DEPRECATED* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgItemAcknowledged__DEPRECATED* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgItemAcknowledged__DEPRECATED& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgItemAcknowledged__DEPRECATED& from) { - CMsgItemAcknowledged__DEPRECATED::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgItemAcknowledged__DEPRECATED* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgItemAcknowledged__DEPRECATED"; - } - protected: - explicit CMsgItemAcknowledged__DEPRECATED(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountIdFieldNumber = 1, - kInventoryFieldNumber = 2, - kDefIndexFieldNumber = 3, - kQualityFieldNumber = 4, - kRarityFieldNumber = 5, - kOriginFieldNumber = 6, - kItemIdFieldNumber = 7, - }; - // optional uint32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 inventory = 2; - bool has_inventory() const; - private: - bool _internal_has_inventory() const; - public: - void clear_inventory(); - uint32_t inventory() const; - void set_inventory(uint32_t value); - private: - uint32_t _internal_inventory() const; - void _internal_set_inventory(uint32_t value); - public: - - // optional uint32 def_index = 3; - bool has_def_index() const; - private: - bool _internal_has_def_index() const; - public: - void clear_def_index(); - uint32_t def_index() const; - void set_def_index(uint32_t value); - private: - uint32_t _internal_def_index() const; - void _internal_set_def_index(uint32_t value); - public: - - // optional uint32 quality = 4; - bool has_quality() const; - private: - bool _internal_has_quality() const; - public: - void clear_quality(); - uint32_t quality() const; - void set_quality(uint32_t value); - private: - uint32_t _internal_quality() const; - void _internal_set_quality(uint32_t value); - public: - - // optional uint32 rarity = 5; - bool has_rarity() const; - private: - bool _internal_has_rarity() const; - public: - void clear_rarity(); - uint32_t rarity() const; - void set_rarity(uint32_t value); - private: - uint32_t _internal_rarity() const; - void _internal_set_rarity(uint32_t value); - public: - - // optional uint32 origin = 6; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - uint32_t origin() const; - void set_origin(uint32_t value); - private: - uint32_t _internal_origin() const; - void _internal_set_origin(uint32_t value); - public: - - // optional uint64 item_id = 7; - bool has_item_id() const; - private: - bool _internal_has_item_id() const; - public: - void clear_item_id(); - uint64_t item_id() const; - void set_item_id(uint64_t value); - private: - uint64_t _internal_item_id() const; - void _internal_set_item_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgItemAcknowledged__DEPRECATED) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t account_id_; - uint32_t inventory_; - uint32_t def_index_; - uint32_t quality_; - uint32_t rarity_; - uint32_t origin_; - uint64_t item_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSetItemPositions_ItemPosition : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSetItemPositions.ItemPosition) */ { - public: - inline CMsgSetItemPositions_ItemPosition() : CMsgSetItemPositions_ItemPosition(nullptr) {} - ~CMsgSetItemPositions_ItemPosition() override; - explicit PROTOBUF_CONSTEXPR CMsgSetItemPositions_ItemPosition(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSetItemPositions_ItemPosition(const CMsgSetItemPositions_ItemPosition& from); - CMsgSetItemPositions_ItemPosition(CMsgSetItemPositions_ItemPosition&& from) noexcept - : CMsgSetItemPositions_ItemPosition() { - *this = ::std::move(from); - } - - inline CMsgSetItemPositions_ItemPosition& operator=(const CMsgSetItemPositions_ItemPosition& from) { - CopyFrom(from); - return *this; - } - inline CMsgSetItemPositions_ItemPosition& operator=(CMsgSetItemPositions_ItemPosition&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSetItemPositions_ItemPosition& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSetItemPositions_ItemPosition* internal_default_instance() { - return reinterpret_cast( - &_CMsgSetItemPositions_ItemPosition_default_instance_); - } - static constexpr int kIndexInFileMessages = - 41; - - friend void swap(CMsgSetItemPositions_ItemPosition& a, CMsgSetItemPositions_ItemPosition& b) { - a.Swap(&b); - } - inline void Swap(CMsgSetItemPositions_ItemPosition* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSetItemPositions_ItemPosition* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSetItemPositions_ItemPosition* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSetItemPositions_ItemPosition& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSetItemPositions_ItemPosition& from) { - CMsgSetItemPositions_ItemPosition::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSetItemPositions_ItemPosition* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSetItemPositions.ItemPosition"; - } - protected: - explicit CMsgSetItemPositions_ItemPosition(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLegacyItemIdFieldNumber = 1, - kPositionFieldNumber = 2, - kItemIdFieldNumber = 3, - }; - // optional uint32 legacy_item_id = 1; - bool has_legacy_item_id() const; - private: - bool _internal_has_legacy_item_id() const; - public: - void clear_legacy_item_id(); - uint32_t legacy_item_id() const; - void set_legacy_item_id(uint32_t value); - private: - uint32_t _internal_legacy_item_id() const; - void _internal_set_legacy_item_id(uint32_t value); - public: - - // optional uint32 position = 2; - bool has_position() const; - private: - bool _internal_has_position() const; - public: - void clear_position(); - uint32_t position() const; - void set_position(uint32_t value); - private: - uint32_t _internal_position() const; - void _internal_set_position(uint32_t value); - public: - - // optional uint64 item_id = 3; - bool has_item_id() const; - private: - bool _internal_has_item_id() const; - public: - void clear_item_id(); - uint64_t item_id() const; - void set_item_id(uint64_t value); - private: - uint64_t _internal_item_id() const; - void _internal_set_item_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSetItemPositions.ItemPosition) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t legacy_item_id_; - uint32_t position_; - uint64_t item_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSetItemPositions : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSetItemPositions) */ { - public: - inline CMsgSetItemPositions() : CMsgSetItemPositions(nullptr) {} - ~CMsgSetItemPositions() override; - explicit PROTOBUF_CONSTEXPR CMsgSetItemPositions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSetItemPositions(const CMsgSetItemPositions& from); - CMsgSetItemPositions(CMsgSetItemPositions&& from) noexcept - : CMsgSetItemPositions() { - *this = ::std::move(from); - } - - inline CMsgSetItemPositions& operator=(const CMsgSetItemPositions& from) { - CopyFrom(from); - return *this; - } - inline CMsgSetItemPositions& operator=(CMsgSetItemPositions&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSetItemPositions& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSetItemPositions* internal_default_instance() { - return reinterpret_cast( - &_CMsgSetItemPositions_default_instance_); - } - static constexpr int kIndexInFileMessages = - 42; - - friend void swap(CMsgSetItemPositions& a, CMsgSetItemPositions& b) { - a.Swap(&b); - } - inline void Swap(CMsgSetItemPositions* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSetItemPositions* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSetItemPositions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSetItemPositions& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSetItemPositions& from) { - CMsgSetItemPositions::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSetItemPositions* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSetItemPositions"; - } - protected: - explicit CMsgSetItemPositions(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSetItemPositions_ItemPosition ItemPosition; - - // accessors ------------------------------------------------------- - - enum : int { - kItemPositionsFieldNumber = 1, - }; - // repeated .CMsgSetItemPositions.ItemPosition item_positions = 1; - int item_positions_size() const; - private: - int _internal_item_positions_size() const; - public: - void clear_item_positions(); - ::CMsgSetItemPositions_ItemPosition* mutable_item_positions(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSetItemPositions_ItemPosition >* - mutable_item_positions(); - private: - const ::CMsgSetItemPositions_ItemPosition& _internal_item_positions(int index) const; - ::CMsgSetItemPositions_ItemPosition* _internal_add_item_positions(); - public: - const ::CMsgSetItemPositions_ItemPosition& item_positions(int index) const; - ::CMsgSetItemPositions_ItemPosition* add_item_positions(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSetItemPositions_ItemPosition >& - item_positions() const; - - // @@protoc_insertion_point(class_scope:CMsgSetItemPositions) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSetItemPositions_ItemPosition > item_positions_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCReportAbuse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCReportAbuse) */ { - public: - inline CMsgGCReportAbuse() : CMsgGCReportAbuse(nullptr) {} - ~CMsgGCReportAbuse() override; - explicit PROTOBUF_CONSTEXPR CMsgGCReportAbuse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCReportAbuse(const CMsgGCReportAbuse& from); - CMsgGCReportAbuse(CMsgGCReportAbuse&& from) noexcept - : CMsgGCReportAbuse() { - *this = ::std::move(from); - } - - inline CMsgGCReportAbuse& operator=(const CMsgGCReportAbuse& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCReportAbuse& operator=(CMsgGCReportAbuse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCReportAbuse& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCReportAbuse* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCReportAbuse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 43; - - friend void swap(CMsgGCReportAbuse& a, CMsgGCReportAbuse& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCReportAbuse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCReportAbuse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCReportAbuse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCReportAbuse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCReportAbuse& from) { - CMsgGCReportAbuse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCReportAbuse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCReportAbuse"; - } - protected: - explicit CMsgGCReportAbuse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDescriptionFieldNumber = 4, - kTargetSteamIdFieldNumber = 1, - kAbuseTypeFieldNumber = 2, - kContentTypeFieldNumber = 3, - kGidFieldNumber = 5, - kTargetGameServerIpFieldNumber = 6, - kTargetGameServerPortFieldNumber = 7, - }; - // optional string description = 4; - bool has_description() const; - private: - bool _internal_has_description() const; - public: - void clear_description(); - const std::string& description() const; - template - void set_description(ArgT0&& arg0, ArgT... args); - std::string* mutable_description(); - PROTOBUF_NODISCARD std::string* release_description(); - void set_allocated_description(std::string* description); - private: - const std::string& _internal_description() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value); - std::string* _internal_mutable_description(); - public: - - // optional fixed64 target_steam_id = 1; - bool has_target_steam_id() const; - private: - bool _internal_has_target_steam_id() const; - public: - void clear_target_steam_id(); - uint64_t target_steam_id() const; - void set_target_steam_id(uint64_t value); - private: - uint64_t _internal_target_steam_id() const; - void _internal_set_target_steam_id(uint64_t value); - public: - - // optional uint32 abuse_type = 2; - bool has_abuse_type() const; - private: - bool _internal_has_abuse_type() const; - public: - void clear_abuse_type(); - uint32_t abuse_type() const; - void set_abuse_type(uint32_t value); - private: - uint32_t _internal_abuse_type() const; - void _internal_set_abuse_type(uint32_t value); - public: - - // optional uint32 content_type = 3; - bool has_content_type() const; - private: - bool _internal_has_content_type() const; - public: - void clear_content_type(); - uint32_t content_type() const; - void set_content_type(uint32_t value); - private: - uint32_t _internal_content_type() const; - void _internal_set_content_type(uint32_t value); - public: - - // optional uint64 gid = 5; - bool has_gid() const; - private: - bool _internal_has_gid() const; - public: - void clear_gid(); - uint64_t gid() const; - void set_gid(uint64_t value); - private: - uint64_t _internal_gid() const; - void _internal_set_gid(uint64_t value); - public: - - // optional fixed32 target_game_server_ip = 6; - bool has_target_game_server_ip() const; - private: - bool _internal_has_target_game_server_ip() const; - public: - void clear_target_game_server_ip(); - uint32_t target_game_server_ip() const; - void set_target_game_server_ip(uint32_t value); - private: - uint32_t _internal_target_game_server_ip() const; - void _internal_set_target_game_server_ip(uint32_t value); - public: - - // optional uint32 target_game_server_port = 7; - bool has_target_game_server_port() const; - private: - bool _internal_has_target_game_server_port() const; - public: - void clear_target_game_server_port(); - uint32_t target_game_server_port() const; - void set_target_game_server_port(uint32_t value); - private: - uint32_t _internal_target_game_server_port() const; - void _internal_set_target_game_server_port(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCReportAbuse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; - uint64_t target_steam_id_; - uint32_t abuse_type_; - uint32_t content_type_; - uint64_t gid_; - uint32_t target_game_server_ip_; - uint32_t target_game_server_port_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCReportAbuseResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCReportAbuseResponse) */ { - public: - inline CMsgGCReportAbuseResponse() : CMsgGCReportAbuseResponse(nullptr) {} - ~CMsgGCReportAbuseResponse() override; - explicit PROTOBUF_CONSTEXPR CMsgGCReportAbuseResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCReportAbuseResponse(const CMsgGCReportAbuseResponse& from); - CMsgGCReportAbuseResponse(CMsgGCReportAbuseResponse&& from) noexcept - : CMsgGCReportAbuseResponse() { - *this = ::std::move(from); - } - - inline CMsgGCReportAbuseResponse& operator=(const CMsgGCReportAbuseResponse& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCReportAbuseResponse& operator=(CMsgGCReportAbuseResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCReportAbuseResponse& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCReportAbuseResponse* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCReportAbuseResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 44; - - friend void swap(CMsgGCReportAbuseResponse& a, CMsgGCReportAbuseResponse& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCReportAbuseResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCReportAbuseResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCReportAbuseResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCReportAbuseResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCReportAbuseResponse& from) { - CMsgGCReportAbuseResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCReportAbuseResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCReportAbuseResponse"; - } - protected: - explicit CMsgGCReportAbuseResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kErrorMessageFieldNumber = 3, - kTargetSteamIdFieldNumber = 1, - kResultFieldNumber = 2, - }; - // optional string error_message = 3; - bool has_error_message() const; - private: - bool _internal_has_error_message() const; - public: - void clear_error_message(); - const std::string& error_message() const; - template - void set_error_message(ArgT0&& arg0, ArgT... args); - std::string* mutable_error_message(); - PROTOBUF_NODISCARD std::string* release_error_message(); - void set_allocated_error_message(std::string* error_message); - private: - const std::string& _internal_error_message() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_error_message(const std::string& value); - std::string* _internal_mutable_error_message(); - public: - - // optional fixed64 target_steam_id = 1; - bool has_target_steam_id() const; - private: - bool _internal_has_target_steam_id() const; - public: - void clear_target_steam_id(); - uint64_t target_steam_id() const; - void set_target_steam_id(uint64_t value); - private: - uint64_t _internal_target_steam_id() const; - void _internal_set_target_steam_id(uint64_t value); - public: - - // optional uint32 result = 2; - bool has_result() const; - private: - bool _internal_has_result() const; - public: - void clear_result(); - uint32_t result() const; - void set_result(uint32_t value); - private: - uint32_t _internal_result() const; - void _internal_set_result(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCReportAbuseResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_message_; - uint64_t target_steam_id_; - uint32_t result_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCNameItemNotification : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCNameItemNotification) */ { - public: - inline CMsgGCNameItemNotification() : CMsgGCNameItemNotification(nullptr) {} - ~CMsgGCNameItemNotification() override; - explicit PROTOBUF_CONSTEXPR CMsgGCNameItemNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCNameItemNotification(const CMsgGCNameItemNotification& from); - CMsgGCNameItemNotification(CMsgGCNameItemNotification&& from) noexcept - : CMsgGCNameItemNotification() { - *this = ::std::move(from); - } - - inline CMsgGCNameItemNotification& operator=(const CMsgGCNameItemNotification& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCNameItemNotification& operator=(CMsgGCNameItemNotification&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCNameItemNotification& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCNameItemNotification* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCNameItemNotification_default_instance_); - } - static constexpr int kIndexInFileMessages = - 45; - - friend void swap(CMsgGCNameItemNotification& a, CMsgGCNameItemNotification& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCNameItemNotification* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCNameItemNotification* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCNameItemNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCNameItemNotification& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCNameItemNotification& from) { - CMsgGCNameItemNotification::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCNameItemNotification* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCNameItemNotification"; - } - protected: - explicit CMsgGCNameItemNotification(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemNameCustomFieldNumber = 3, - kPlayerSteamidFieldNumber = 1, - kItemDefIndexFieldNumber = 2, - }; - // optional string item_name_custom = 3; - bool has_item_name_custom() const; - private: - bool _internal_has_item_name_custom() const; - public: - void clear_item_name_custom(); - const std::string& item_name_custom() const; - template - void set_item_name_custom(ArgT0&& arg0, ArgT... args); - std::string* mutable_item_name_custom(); - PROTOBUF_NODISCARD std::string* release_item_name_custom(); - void set_allocated_item_name_custom(std::string* item_name_custom); - private: - const std::string& _internal_item_name_custom() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_item_name_custom(const std::string& value); - std::string* _internal_mutable_item_name_custom(); - public: - - // optional fixed64 player_steamid = 1; - bool has_player_steamid() const; - private: - bool _internal_has_player_steamid() const; - public: - void clear_player_steamid(); - uint64_t player_steamid() const; - void set_player_steamid(uint64_t value); - private: - uint64_t _internal_player_steamid() const; - void _internal_set_player_steamid(uint64_t value); - public: - - // optional uint32 item_def_index = 2; - bool has_item_def_index() const; - private: - bool _internal_has_item_def_index() const; - public: - void clear_item_def_index(); - uint32_t item_def_index() const; - void set_item_def_index(uint32_t value); - private: - uint32_t _internal_item_def_index() const; - void _internal_set_item_def_index(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCNameItemNotification) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr item_name_custom_; - uint64_t player_steamid_; - uint32_t item_def_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCClientDisplayNotification : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCClientDisplayNotification) */ { - public: - inline CMsgGCClientDisplayNotification() : CMsgGCClientDisplayNotification(nullptr) {} - ~CMsgGCClientDisplayNotification() override; - explicit PROTOBUF_CONSTEXPR CMsgGCClientDisplayNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCClientDisplayNotification(const CMsgGCClientDisplayNotification& from); - CMsgGCClientDisplayNotification(CMsgGCClientDisplayNotification&& from) noexcept - : CMsgGCClientDisplayNotification() { - *this = ::std::move(from); - } - - inline CMsgGCClientDisplayNotification& operator=(const CMsgGCClientDisplayNotification& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCClientDisplayNotification& operator=(CMsgGCClientDisplayNotification&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCClientDisplayNotification& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCClientDisplayNotification* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCClientDisplayNotification_default_instance_); - } - static constexpr int kIndexInFileMessages = - 46; - - friend void swap(CMsgGCClientDisplayNotification& a, CMsgGCClientDisplayNotification& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCClientDisplayNotification* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCClientDisplayNotification* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCClientDisplayNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCClientDisplayNotification& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCClientDisplayNotification& from) { - CMsgGCClientDisplayNotification::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCClientDisplayNotification* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCClientDisplayNotification"; - } - protected: - explicit CMsgGCClientDisplayNotification(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBodySubstringKeysFieldNumber = 3, - kBodySubstringValuesFieldNumber = 4, - kNotificationTitleLocalizationKeyFieldNumber = 1, - kNotificationBodyLocalizationKeyFieldNumber = 2, - }; - // repeated string body_substring_keys = 3; - int body_substring_keys_size() const; - private: - int _internal_body_substring_keys_size() const; - public: - void clear_body_substring_keys(); - const std::string& body_substring_keys(int index) const; - std::string* mutable_body_substring_keys(int index); - void set_body_substring_keys(int index, const std::string& value); - void set_body_substring_keys(int index, std::string&& value); - void set_body_substring_keys(int index, const char* value); - void set_body_substring_keys(int index, const char* value, size_t size); - std::string* add_body_substring_keys(); - void add_body_substring_keys(const std::string& value); - void add_body_substring_keys(std::string&& value); - void add_body_substring_keys(const char* value); - void add_body_substring_keys(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& body_substring_keys() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_body_substring_keys(); - private: - const std::string& _internal_body_substring_keys(int index) const; - std::string* _internal_add_body_substring_keys(); - public: - - // repeated string body_substring_values = 4; - int body_substring_values_size() const; - private: - int _internal_body_substring_values_size() const; - public: - void clear_body_substring_values(); - const std::string& body_substring_values(int index) const; - std::string* mutable_body_substring_values(int index); - void set_body_substring_values(int index, const std::string& value); - void set_body_substring_values(int index, std::string&& value); - void set_body_substring_values(int index, const char* value); - void set_body_substring_values(int index, const char* value, size_t size); - std::string* add_body_substring_values(); - void add_body_substring_values(const std::string& value); - void add_body_substring_values(std::string&& value); - void add_body_substring_values(const char* value); - void add_body_substring_values(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& body_substring_values() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_body_substring_values(); - private: - const std::string& _internal_body_substring_values(int index) const; - std::string* _internal_add_body_substring_values(); - public: - - // optional string notification_title_localization_key = 1; - bool has_notification_title_localization_key() const; - private: - bool _internal_has_notification_title_localization_key() const; - public: - void clear_notification_title_localization_key(); - const std::string& notification_title_localization_key() const; - template - void set_notification_title_localization_key(ArgT0&& arg0, ArgT... args); - std::string* mutable_notification_title_localization_key(); - PROTOBUF_NODISCARD std::string* release_notification_title_localization_key(); - void set_allocated_notification_title_localization_key(std::string* notification_title_localization_key); - private: - const std::string& _internal_notification_title_localization_key() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_notification_title_localization_key(const std::string& value); - std::string* _internal_mutable_notification_title_localization_key(); - public: - - // optional string notification_body_localization_key = 2; - bool has_notification_body_localization_key() const; - private: - bool _internal_has_notification_body_localization_key() const; - public: - void clear_notification_body_localization_key(); - const std::string& notification_body_localization_key() const; - template - void set_notification_body_localization_key(ArgT0&& arg0, ArgT... args); - std::string* mutable_notification_body_localization_key(); - PROTOBUF_NODISCARD std::string* release_notification_body_localization_key(); - void set_allocated_notification_body_localization_key(std::string* notification_body_localization_key); - private: - const std::string& _internal_notification_body_localization_key() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_notification_body_localization_key(const std::string& value); - std::string* _internal_mutable_notification_body_localization_key(); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCClientDisplayNotification) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField body_substring_keys_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField body_substring_values_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr notification_title_localization_key_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr notification_body_localization_key_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCShowItemsPickedUp : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCShowItemsPickedUp) */ { - public: - inline CMsgGCShowItemsPickedUp() : CMsgGCShowItemsPickedUp(nullptr) {} - ~CMsgGCShowItemsPickedUp() override; - explicit PROTOBUF_CONSTEXPR CMsgGCShowItemsPickedUp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCShowItemsPickedUp(const CMsgGCShowItemsPickedUp& from); - CMsgGCShowItemsPickedUp(CMsgGCShowItemsPickedUp&& from) noexcept - : CMsgGCShowItemsPickedUp() { - *this = ::std::move(from); - } - - inline CMsgGCShowItemsPickedUp& operator=(const CMsgGCShowItemsPickedUp& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCShowItemsPickedUp& operator=(CMsgGCShowItemsPickedUp&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCShowItemsPickedUp& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCShowItemsPickedUp* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCShowItemsPickedUp_default_instance_); - } - static constexpr int kIndexInFileMessages = - 47; - - friend void swap(CMsgGCShowItemsPickedUp& a, CMsgGCShowItemsPickedUp& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCShowItemsPickedUp* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCShowItemsPickedUp* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCShowItemsPickedUp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCShowItemsPickedUp& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCShowItemsPickedUp& from) { - CMsgGCShowItemsPickedUp::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCShowItemsPickedUp* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCShowItemsPickedUp"; - } - protected: - explicit CMsgGCShowItemsPickedUp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPlayerSteamidFieldNumber = 1, - }; - // optional fixed64 player_steamid = 1; - bool has_player_steamid() const; - private: - bool _internal_has_player_steamid() const; - public: - void clear_player_steamid(); - uint64_t player_steamid() const; - void set_player_steamid(uint64_t value); - private: - uint64_t _internal_player_steamid() const; - void _internal_set_player_steamid(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCShowItemsPickedUp) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t player_steamid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCIncrementKillCountResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCIncrementKillCountResponse) */ { - public: - inline CMsgGCIncrementKillCountResponse() : CMsgGCIncrementKillCountResponse(nullptr) {} - ~CMsgGCIncrementKillCountResponse() override; - explicit PROTOBUF_CONSTEXPR CMsgGCIncrementKillCountResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCIncrementKillCountResponse(const CMsgGCIncrementKillCountResponse& from); - CMsgGCIncrementKillCountResponse(CMsgGCIncrementKillCountResponse&& from) noexcept - : CMsgGCIncrementKillCountResponse() { - *this = ::std::move(from); - } - - inline CMsgGCIncrementKillCountResponse& operator=(const CMsgGCIncrementKillCountResponse& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCIncrementKillCountResponse& operator=(CMsgGCIncrementKillCountResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCIncrementKillCountResponse& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCIncrementKillCountResponse* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCIncrementKillCountResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 48; - - friend void swap(CMsgGCIncrementKillCountResponse& a, CMsgGCIncrementKillCountResponse& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCIncrementKillCountResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCIncrementKillCountResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCIncrementKillCountResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCIncrementKillCountResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCIncrementKillCountResponse& from) { - CMsgGCIncrementKillCountResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCIncrementKillCountResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCIncrementKillCountResponse"; - } - protected: - explicit CMsgGCIncrementKillCountResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kKillerAccountIdFieldNumber = 1, - kNumKillsFieldNumber = 2, - kItemDefFieldNumber = 3, - kLevelTypeFieldNumber = 4, - }; - // optional uint32 killer_account_id = 1 [(.key_field) = true]; - bool has_killer_account_id() const; - private: - bool _internal_has_killer_account_id() const; - public: - void clear_killer_account_id(); - uint32_t killer_account_id() const; - void set_killer_account_id(uint32_t value); - private: - uint32_t _internal_killer_account_id() const; - void _internal_set_killer_account_id(uint32_t value); - public: - - // optional uint32 num_kills = 2; - bool has_num_kills() const; - private: - bool _internal_has_num_kills() const; - public: - void clear_num_kills(); - uint32_t num_kills() const; - void set_num_kills(uint32_t value); - private: - uint32_t _internal_num_kills() const; - void _internal_set_num_kills(uint32_t value); - public: - - // optional uint32 item_def = 3; - bool has_item_def() const; - private: - bool _internal_has_item_def() const; - public: - void clear_item_def(); - uint32_t item_def() const; - void set_item_def(uint32_t value); - private: - uint32_t _internal_item_def() const; - void _internal_set_item_def(uint32_t value); - public: - - // optional uint32 level_type = 4; - bool has_level_type() const; - private: - bool _internal_has_level_type() const; - public: - void clear_level_type(); - uint32_t level_type() const; - void set_level_type(uint32_t value); - private: - uint32_t _internal_level_type() const; - void _internal_set_level_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCIncrementKillCountResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t killer_account_id_; - uint32_t num_kills_; - uint32_t item_def_; - uint32_t level_type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOEconItemDropRateBonus : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconItemDropRateBonus) */ { - public: - inline CSOEconItemDropRateBonus() : CSOEconItemDropRateBonus(nullptr) {} - ~CSOEconItemDropRateBonus() override; - explicit PROTOBUF_CONSTEXPR CSOEconItemDropRateBonus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOEconItemDropRateBonus(const CSOEconItemDropRateBonus& from); - CSOEconItemDropRateBonus(CSOEconItemDropRateBonus&& from) noexcept - : CSOEconItemDropRateBonus() { - *this = ::std::move(from); - } - - inline CSOEconItemDropRateBonus& operator=(const CSOEconItemDropRateBonus& from) { - CopyFrom(from); - return *this; - } - inline CSOEconItemDropRateBonus& operator=(CSOEconItemDropRateBonus&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOEconItemDropRateBonus& default_instance() { - return *internal_default_instance(); - } - static inline const CSOEconItemDropRateBonus* internal_default_instance() { - return reinterpret_cast( - &_CSOEconItemDropRateBonus_default_instance_); - } - static constexpr int kIndexInFileMessages = - 49; - - friend void swap(CSOEconItemDropRateBonus& a, CSOEconItemDropRateBonus& b) { - a.Swap(&b); - } - inline void Swap(CSOEconItemDropRateBonus* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOEconItemDropRateBonus* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOEconItemDropRateBonus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOEconItemDropRateBonus& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOEconItemDropRateBonus& from) { - CSOEconItemDropRateBonus::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOEconItemDropRateBonus* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOEconItemDropRateBonus"; - } - protected: - explicit CSOEconItemDropRateBonus(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountIdFieldNumber = 1, - kExpirationDateFieldNumber = 2, - kBonusFieldNumber = 3, - kBonusCountFieldNumber = 4, - kItemIdFieldNumber = 5, - kDefIndexFieldNumber = 6, - }; - // optional uint32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional fixed32 expiration_date = 2; - bool has_expiration_date() const; - private: - bool _internal_has_expiration_date() const; - public: - void clear_expiration_date(); - uint32_t expiration_date() const; - void set_expiration_date(uint32_t value); - private: - uint32_t _internal_expiration_date() const; - void _internal_set_expiration_date(uint32_t value); - public: - - // optional float bonus = 3; - bool has_bonus() const; - private: - bool _internal_has_bonus() const; - public: - void clear_bonus(); - float bonus() const; - void set_bonus(float value); - private: - float _internal_bonus() const; - void _internal_set_bonus(float value); - public: - - // optional uint32 bonus_count = 4; - bool has_bonus_count() const; - private: - bool _internal_has_bonus_count() const; - public: - void clear_bonus_count(); - uint32_t bonus_count() const; - void set_bonus_count(uint32_t value); - private: - uint32_t _internal_bonus_count() const; - void _internal_set_bonus_count(uint32_t value); - public: - - // optional uint64 item_id = 5; - bool has_item_id() const; - private: - bool _internal_has_item_id() const; - public: - void clear_item_id(); - uint64_t item_id() const; - void set_item_id(uint64_t value); - private: - uint64_t _internal_item_id() const; - void _internal_set_item_id(uint64_t value); - public: - - // optional uint32 def_index = 6; - bool has_def_index() const; - private: - bool _internal_has_def_index() const; - public: - void clear_def_index(); - uint32_t def_index() const; - void set_def_index(uint32_t value); - private: - uint32_t _internal_def_index() const; - void _internal_set_def_index(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOEconItemDropRateBonus) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t account_id_; - uint32_t expiration_date_; - float bonus_; - uint32_t bonus_count_; - uint64_t item_id_; - uint32_t def_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOEconItemLeagueViewPass : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconItemLeagueViewPass) */ { - public: - inline CSOEconItemLeagueViewPass() : CSOEconItemLeagueViewPass(nullptr) {} - ~CSOEconItemLeagueViewPass() override; - explicit PROTOBUF_CONSTEXPR CSOEconItemLeagueViewPass(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOEconItemLeagueViewPass(const CSOEconItemLeagueViewPass& from); - CSOEconItemLeagueViewPass(CSOEconItemLeagueViewPass&& from) noexcept - : CSOEconItemLeagueViewPass() { - *this = ::std::move(from); - } - - inline CSOEconItemLeagueViewPass& operator=(const CSOEconItemLeagueViewPass& from) { - CopyFrom(from); - return *this; - } - inline CSOEconItemLeagueViewPass& operator=(CSOEconItemLeagueViewPass&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOEconItemLeagueViewPass& default_instance() { - return *internal_default_instance(); - } - static inline const CSOEconItemLeagueViewPass* internal_default_instance() { - return reinterpret_cast( - &_CSOEconItemLeagueViewPass_default_instance_); - } - static constexpr int kIndexInFileMessages = - 50; - - friend void swap(CSOEconItemLeagueViewPass& a, CSOEconItemLeagueViewPass& b) { - a.Swap(&b); - } - inline void Swap(CSOEconItemLeagueViewPass* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOEconItemLeagueViewPass* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOEconItemLeagueViewPass* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOEconItemLeagueViewPass& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOEconItemLeagueViewPass& from) { - CSOEconItemLeagueViewPass::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOEconItemLeagueViewPass* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOEconItemLeagueViewPass"; - } - protected: - explicit CSOEconItemLeagueViewPass(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountIdFieldNumber = 1, - kLeagueIdFieldNumber = 2, - kAdminFieldNumber = 3, - kItemindexFieldNumber = 4, - }; - // optional uint32 account_id = 1 [(.key_field) = true]; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 league_id = 2 [(.key_field) = true]; - bool has_league_id() const; - private: - bool _internal_has_league_id() const; - public: - void clear_league_id(); - uint32_t league_id() const; - void set_league_id(uint32_t value); - private: - uint32_t _internal_league_id() const; - void _internal_set_league_id(uint32_t value); - public: - - // optional uint32 admin = 3; - bool has_admin() const; - private: - bool _internal_has_admin() const; - public: - void clear_admin(); - uint32_t admin() const; - void set_admin(uint32_t value); - private: - uint32_t _internal_admin() const; - void _internal_set_admin(uint32_t value); - public: - - // optional uint32 itemindex = 4; - bool has_itemindex() const; - private: - bool _internal_has_itemindex() const; - public: - void clear_itemindex(); - uint32_t itemindex() const; - void set_itemindex(uint32_t value); - private: - uint32_t _internal_itemindex() const; - void _internal_set_itemindex(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOEconItemLeagueViewPass) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t account_id_; - uint32_t league_id_; - uint32_t admin_; - uint32_t itemindex_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOEconItemEventTicket : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconItemEventTicket) */ { - public: - inline CSOEconItemEventTicket() : CSOEconItemEventTicket(nullptr) {} - ~CSOEconItemEventTicket() override; - explicit PROTOBUF_CONSTEXPR CSOEconItemEventTicket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOEconItemEventTicket(const CSOEconItemEventTicket& from); - CSOEconItemEventTicket(CSOEconItemEventTicket&& from) noexcept - : CSOEconItemEventTicket() { - *this = ::std::move(from); - } - - inline CSOEconItemEventTicket& operator=(const CSOEconItemEventTicket& from) { - CopyFrom(from); - return *this; - } - inline CSOEconItemEventTicket& operator=(CSOEconItemEventTicket&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOEconItemEventTicket& default_instance() { - return *internal_default_instance(); - } - static inline const CSOEconItemEventTicket* internal_default_instance() { - return reinterpret_cast( - &_CSOEconItemEventTicket_default_instance_); - } - static constexpr int kIndexInFileMessages = - 51; - - friend void swap(CSOEconItemEventTicket& a, CSOEconItemEventTicket& b) { - a.Swap(&b); - } - inline void Swap(CSOEconItemEventTicket* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOEconItemEventTicket* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOEconItemEventTicket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOEconItemEventTicket& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOEconItemEventTicket& from) { - CSOEconItemEventTicket::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOEconItemEventTicket* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOEconItemEventTicket"; - } - protected: - explicit CSOEconItemEventTicket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountIdFieldNumber = 1, - kEventIdFieldNumber = 2, - kItemIdFieldNumber = 3, - }; - // optional uint32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 event_id = 2; - bool has_event_id() const; - private: - bool _internal_has_event_id() const; - public: - void clear_event_id(); - uint32_t event_id() const; - void set_event_id(uint32_t value); - private: - uint32_t _internal_event_id() const; - void _internal_set_event_id(uint32_t value); - public: - - // optional uint64 item_id = 3; - bool has_item_id() const; - private: - bool _internal_has_item_id() const; - public: - void clear_item_id(); - uint64_t item_id() const; - void set_item_id(uint64_t value); - private: - uint64_t _internal_item_id() const; - void _internal_set_item_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOEconItemEventTicket) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t account_id_; - uint32_t event_id_; - uint64_t item_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCItemPreviewItemBoughtNotification : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCItemPreviewItemBoughtNotification) */ { - public: - inline CMsgGCItemPreviewItemBoughtNotification() : CMsgGCItemPreviewItemBoughtNotification(nullptr) {} - ~CMsgGCItemPreviewItemBoughtNotification() override; - explicit PROTOBUF_CONSTEXPR CMsgGCItemPreviewItemBoughtNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCItemPreviewItemBoughtNotification(const CMsgGCItemPreviewItemBoughtNotification& from); - CMsgGCItemPreviewItemBoughtNotification(CMsgGCItemPreviewItemBoughtNotification&& from) noexcept - : CMsgGCItemPreviewItemBoughtNotification() { - *this = ::std::move(from); - } - - inline CMsgGCItemPreviewItemBoughtNotification& operator=(const CMsgGCItemPreviewItemBoughtNotification& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCItemPreviewItemBoughtNotification& operator=(CMsgGCItemPreviewItemBoughtNotification&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCItemPreviewItemBoughtNotification& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCItemPreviewItemBoughtNotification* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCItemPreviewItemBoughtNotification_default_instance_); - } - static constexpr int kIndexInFileMessages = - 52; - - friend void swap(CMsgGCItemPreviewItemBoughtNotification& a, CMsgGCItemPreviewItemBoughtNotification& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCItemPreviewItemBoughtNotification* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCItemPreviewItemBoughtNotification* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCItemPreviewItemBoughtNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCItemPreviewItemBoughtNotification& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCItemPreviewItemBoughtNotification& from) { - CMsgGCItemPreviewItemBoughtNotification::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCItemPreviewItemBoughtNotification* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCItemPreviewItemBoughtNotification"; - } - protected: - explicit CMsgGCItemPreviewItemBoughtNotification(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemDefIndexFieldNumber = 1, - }; - // optional uint32 item_def_index = 1; - bool has_item_def_index() const; - private: - bool _internal_has_item_def_index() const; - public: - void clear_item_def_index(); - uint32_t item_def_index() const; - void set_item_def_index(uint32_t value); - private: - uint32_t _internal_item_def_index() const; - void _internal_set_item_def_index(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCItemPreviewItemBoughtNotification) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t item_def_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCStorePurchaseCancel : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCStorePurchaseCancel) */ { - public: - inline CMsgGCStorePurchaseCancel() : CMsgGCStorePurchaseCancel(nullptr) {} - ~CMsgGCStorePurchaseCancel() override; - explicit PROTOBUF_CONSTEXPR CMsgGCStorePurchaseCancel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCStorePurchaseCancel(const CMsgGCStorePurchaseCancel& from); - CMsgGCStorePurchaseCancel(CMsgGCStorePurchaseCancel&& from) noexcept - : CMsgGCStorePurchaseCancel() { - *this = ::std::move(from); - } - - inline CMsgGCStorePurchaseCancel& operator=(const CMsgGCStorePurchaseCancel& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCStorePurchaseCancel& operator=(CMsgGCStorePurchaseCancel&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCStorePurchaseCancel& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCStorePurchaseCancel* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCStorePurchaseCancel_default_instance_); - } - static constexpr int kIndexInFileMessages = - 53; - - friend void swap(CMsgGCStorePurchaseCancel& a, CMsgGCStorePurchaseCancel& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCStorePurchaseCancel* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCStorePurchaseCancel* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCStorePurchaseCancel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCStorePurchaseCancel& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCStorePurchaseCancel& from) { - CMsgGCStorePurchaseCancel::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCStorePurchaseCancel* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCStorePurchaseCancel"; - } - protected: - explicit CMsgGCStorePurchaseCancel(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTxnIdFieldNumber = 1, - }; - // optional uint64 txn_id = 1; - bool has_txn_id() const; - private: - bool _internal_has_txn_id() const; - public: - void clear_txn_id(); - uint64_t txn_id() const; - void set_txn_id(uint64_t value); - private: - uint64_t _internal_txn_id() const; - void _internal_set_txn_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCStorePurchaseCancel) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t txn_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCStorePurchaseCancelResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCStorePurchaseCancelResponse) */ { - public: - inline CMsgGCStorePurchaseCancelResponse() : CMsgGCStorePurchaseCancelResponse(nullptr) {} - ~CMsgGCStorePurchaseCancelResponse() override; - explicit PROTOBUF_CONSTEXPR CMsgGCStorePurchaseCancelResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCStorePurchaseCancelResponse(const CMsgGCStorePurchaseCancelResponse& from); - CMsgGCStorePurchaseCancelResponse(CMsgGCStorePurchaseCancelResponse&& from) noexcept - : CMsgGCStorePurchaseCancelResponse() { - *this = ::std::move(from); - } - - inline CMsgGCStorePurchaseCancelResponse& operator=(const CMsgGCStorePurchaseCancelResponse& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCStorePurchaseCancelResponse& operator=(CMsgGCStorePurchaseCancelResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCStorePurchaseCancelResponse& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCStorePurchaseCancelResponse* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCStorePurchaseCancelResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 54; - - friend void swap(CMsgGCStorePurchaseCancelResponse& a, CMsgGCStorePurchaseCancelResponse& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCStorePurchaseCancelResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCStorePurchaseCancelResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCStorePurchaseCancelResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCStorePurchaseCancelResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCStorePurchaseCancelResponse& from) { - CMsgGCStorePurchaseCancelResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCStorePurchaseCancelResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCStorePurchaseCancelResponse"; - } - protected: - explicit CMsgGCStorePurchaseCancelResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kResultFieldNumber = 1, - }; - // optional uint32 result = 1; - bool has_result() const; - private: - bool _internal_has_result() const; - public: - void clear_result(); - uint32_t result() const; - void set_result(uint32_t value); - private: - uint32_t _internal_result() const; - void _internal_set_result(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCStorePurchaseCancelResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t result_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCStorePurchaseFinalize : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCStorePurchaseFinalize) */ { - public: - inline CMsgGCStorePurchaseFinalize() : CMsgGCStorePurchaseFinalize(nullptr) {} - ~CMsgGCStorePurchaseFinalize() override; - explicit PROTOBUF_CONSTEXPR CMsgGCStorePurchaseFinalize(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCStorePurchaseFinalize(const CMsgGCStorePurchaseFinalize& from); - CMsgGCStorePurchaseFinalize(CMsgGCStorePurchaseFinalize&& from) noexcept - : CMsgGCStorePurchaseFinalize() { - *this = ::std::move(from); - } - - inline CMsgGCStorePurchaseFinalize& operator=(const CMsgGCStorePurchaseFinalize& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCStorePurchaseFinalize& operator=(CMsgGCStorePurchaseFinalize&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCStorePurchaseFinalize& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCStorePurchaseFinalize* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCStorePurchaseFinalize_default_instance_); - } - static constexpr int kIndexInFileMessages = - 55; - - friend void swap(CMsgGCStorePurchaseFinalize& a, CMsgGCStorePurchaseFinalize& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCStorePurchaseFinalize* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCStorePurchaseFinalize* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCStorePurchaseFinalize* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCStorePurchaseFinalize& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCStorePurchaseFinalize& from) { - CMsgGCStorePurchaseFinalize::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCStorePurchaseFinalize* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCStorePurchaseFinalize"; - } - protected: - explicit CMsgGCStorePurchaseFinalize(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTxnIdFieldNumber = 1, - }; - // optional uint64 txn_id = 1; - bool has_txn_id() const; - private: - bool _internal_has_txn_id() const; - public: - void clear_txn_id(); - uint64_t txn_id() const; - void set_txn_id(uint64_t value); - private: - uint64_t _internal_txn_id() const; - void _internal_set_txn_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCStorePurchaseFinalize) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t txn_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCStorePurchaseFinalizeResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCStorePurchaseFinalizeResponse) */ { - public: - inline CMsgGCStorePurchaseFinalizeResponse() : CMsgGCStorePurchaseFinalizeResponse(nullptr) {} - ~CMsgGCStorePurchaseFinalizeResponse() override; - explicit PROTOBUF_CONSTEXPR CMsgGCStorePurchaseFinalizeResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCStorePurchaseFinalizeResponse(const CMsgGCStorePurchaseFinalizeResponse& from); - CMsgGCStorePurchaseFinalizeResponse(CMsgGCStorePurchaseFinalizeResponse&& from) noexcept - : CMsgGCStorePurchaseFinalizeResponse() { - *this = ::std::move(from); - } - - inline CMsgGCStorePurchaseFinalizeResponse& operator=(const CMsgGCStorePurchaseFinalizeResponse& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCStorePurchaseFinalizeResponse& operator=(CMsgGCStorePurchaseFinalizeResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCStorePurchaseFinalizeResponse& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCStorePurchaseFinalizeResponse* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCStorePurchaseFinalizeResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 56; - - friend void swap(CMsgGCStorePurchaseFinalizeResponse& a, CMsgGCStorePurchaseFinalizeResponse& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCStorePurchaseFinalizeResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCStorePurchaseFinalizeResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCStorePurchaseFinalizeResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCStorePurchaseFinalizeResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCStorePurchaseFinalizeResponse& from) { - CMsgGCStorePurchaseFinalizeResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCStorePurchaseFinalizeResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCStorePurchaseFinalizeResponse"; - } - protected: - explicit CMsgGCStorePurchaseFinalizeResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemIdsFieldNumber = 2, - kResultFieldNumber = 1, - }; - // repeated uint64 item_ids = 2; - int item_ids_size() const; - private: - int _internal_item_ids_size() const; - public: - void clear_item_ids(); - private: - uint64_t _internal_item_ids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - _internal_item_ids() const; - void _internal_add_item_ids(uint64_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - _internal_mutable_item_ids(); - public: - uint64_t item_ids(int index) const; - void set_item_ids(int index, uint64_t value); - void add_item_ids(uint64_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - item_ids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - mutable_item_ids(); - - // optional uint32 result = 1; - bool has_result() const; - private: - bool _internal_has_result() const; - public: - void clear_result(); - uint32_t result() const; - void set_result(uint32_t value); - private: - uint32_t _internal_result() const; - void _internal_set_result(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCStorePurchaseFinalizeResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > item_ids_; - uint32_t result_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCBannedWordListRequest : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCBannedWordListRequest) */ { - public: - inline CMsgGCBannedWordListRequest() : CMsgGCBannedWordListRequest(nullptr) {} - ~CMsgGCBannedWordListRequest() override; - explicit PROTOBUF_CONSTEXPR CMsgGCBannedWordListRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCBannedWordListRequest(const CMsgGCBannedWordListRequest& from); - CMsgGCBannedWordListRequest(CMsgGCBannedWordListRequest&& from) noexcept - : CMsgGCBannedWordListRequest() { - *this = ::std::move(from); - } - - inline CMsgGCBannedWordListRequest& operator=(const CMsgGCBannedWordListRequest& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCBannedWordListRequest& operator=(CMsgGCBannedWordListRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCBannedWordListRequest& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCBannedWordListRequest* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCBannedWordListRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 57; - - friend void swap(CMsgGCBannedWordListRequest& a, CMsgGCBannedWordListRequest& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCBannedWordListRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCBannedWordListRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCBannedWordListRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCBannedWordListRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCBannedWordListRequest& from) { - CMsgGCBannedWordListRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCBannedWordListRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCBannedWordListRequest"; - } - protected: - explicit CMsgGCBannedWordListRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBanListGroupIdFieldNumber = 1, - kWordIdFieldNumber = 2, - }; - // optional uint32 ban_list_group_id = 1; - bool has_ban_list_group_id() const; - private: - bool _internal_has_ban_list_group_id() const; - public: - void clear_ban_list_group_id(); - uint32_t ban_list_group_id() const; - void set_ban_list_group_id(uint32_t value); - private: - uint32_t _internal_ban_list_group_id() const; - void _internal_set_ban_list_group_id(uint32_t value); - public: - - // optional uint32 word_id = 2; - bool has_word_id() const; - private: - bool _internal_has_word_id() const; - public: - void clear_word_id(); - uint32_t word_id() const; - void set_word_id(uint32_t value); - private: - uint32_t _internal_word_id() const; - void _internal_set_word_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCBannedWordListRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t ban_list_group_id_; - uint32_t word_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCRequestAnnouncements : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgGCRequestAnnouncements) */ { - public: - inline CMsgGCRequestAnnouncements() : CMsgGCRequestAnnouncements(nullptr) {} - explicit PROTOBUF_CONSTEXPR CMsgGCRequestAnnouncements(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCRequestAnnouncements(const CMsgGCRequestAnnouncements& from); - CMsgGCRequestAnnouncements(CMsgGCRequestAnnouncements&& from) noexcept - : CMsgGCRequestAnnouncements() { - *this = ::std::move(from); - } - - inline CMsgGCRequestAnnouncements& operator=(const CMsgGCRequestAnnouncements& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCRequestAnnouncements& operator=(CMsgGCRequestAnnouncements&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCRequestAnnouncements& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCRequestAnnouncements* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCRequestAnnouncements_default_instance_); - } - static constexpr int kIndexInFileMessages = - 58; - - friend void swap(CMsgGCRequestAnnouncements& a, CMsgGCRequestAnnouncements& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCRequestAnnouncements* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCRequestAnnouncements* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCRequestAnnouncements* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CMsgGCRequestAnnouncements& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CMsgGCRequestAnnouncements& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCRequestAnnouncements"; - } - protected: - explicit CMsgGCRequestAnnouncements(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CMsgGCRequestAnnouncements) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCRequestAnnouncementsResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCRequestAnnouncementsResponse) */ { - public: - inline CMsgGCRequestAnnouncementsResponse() : CMsgGCRequestAnnouncementsResponse(nullptr) {} - ~CMsgGCRequestAnnouncementsResponse() override; - explicit PROTOBUF_CONSTEXPR CMsgGCRequestAnnouncementsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCRequestAnnouncementsResponse(const CMsgGCRequestAnnouncementsResponse& from); - CMsgGCRequestAnnouncementsResponse(CMsgGCRequestAnnouncementsResponse&& from) noexcept - : CMsgGCRequestAnnouncementsResponse() { - *this = ::std::move(from); - } - - inline CMsgGCRequestAnnouncementsResponse& operator=(const CMsgGCRequestAnnouncementsResponse& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCRequestAnnouncementsResponse& operator=(CMsgGCRequestAnnouncementsResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCRequestAnnouncementsResponse& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCRequestAnnouncementsResponse* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCRequestAnnouncementsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 59; - - friend void swap(CMsgGCRequestAnnouncementsResponse& a, CMsgGCRequestAnnouncementsResponse& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCRequestAnnouncementsResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCRequestAnnouncementsResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCRequestAnnouncementsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCRequestAnnouncementsResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCRequestAnnouncementsResponse& from) { - CMsgGCRequestAnnouncementsResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCRequestAnnouncementsResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCRequestAnnouncementsResponse"; - } - protected: - explicit CMsgGCRequestAnnouncementsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAnnouncementTitleFieldNumber = 1, - kAnnouncementFieldNumber = 2, - kNextmatchTitleFieldNumber = 3, - kNextmatchFieldNumber = 4, - }; - // optional string announcement_title = 1; - bool has_announcement_title() const; - private: - bool _internal_has_announcement_title() const; - public: - void clear_announcement_title(); - const std::string& announcement_title() const; - template - void set_announcement_title(ArgT0&& arg0, ArgT... args); - std::string* mutable_announcement_title(); - PROTOBUF_NODISCARD std::string* release_announcement_title(); - void set_allocated_announcement_title(std::string* announcement_title); - private: - const std::string& _internal_announcement_title() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_announcement_title(const std::string& value); - std::string* _internal_mutable_announcement_title(); - public: - - // optional string announcement = 2; - bool has_announcement() const; - private: - bool _internal_has_announcement() const; - public: - void clear_announcement(); - const std::string& announcement() const; - template - void set_announcement(ArgT0&& arg0, ArgT... args); - std::string* mutable_announcement(); - PROTOBUF_NODISCARD std::string* release_announcement(); - void set_allocated_announcement(std::string* announcement); - private: - const std::string& _internal_announcement() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_announcement(const std::string& value); - std::string* _internal_mutable_announcement(); - public: - - // optional string nextmatch_title = 3; - bool has_nextmatch_title() const; - private: - bool _internal_has_nextmatch_title() const; - public: - void clear_nextmatch_title(); - const std::string& nextmatch_title() const; - template - void set_nextmatch_title(ArgT0&& arg0, ArgT... args); - std::string* mutable_nextmatch_title(); - PROTOBUF_NODISCARD std::string* release_nextmatch_title(); - void set_allocated_nextmatch_title(std::string* nextmatch_title); - private: - const std::string& _internal_nextmatch_title() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_nextmatch_title(const std::string& value); - std::string* _internal_mutable_nextmatch_title(); - public: - - // optional string nextmatch = 4; - bool has_nextmatch() const; - private: - bool _internal_has_nextmatch() const; - public: - void clear_nextmatch(); - const std::string& nextmatch() const; - template - void set_nextmatch(ArgT0&& arg0, ArgT... args); - std::string* mutable_nextmatch(); - PROTOBUF_NODISCARD std::string* release_nextmatch(); - void set_allocated_nextmatch(std::string* nextmatch); - private: - const std::string& _internal_nextmatch() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_nextmatch(const std::string& value); - std::string* _internal_mutable_nextmatch(); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCRequestAnnouncementsResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr announcement_title_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr announcement_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nextmatch_title_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nextmatch_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCBannedWord : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCBannedWord) */ { - public: - inline CMsgGCBannedWord() : CMsgGCBannedWord(nullptr) {} - ~CMsgGCBannedWord() override; - explicit PROTOBUF_CONSTEXPR CMsgGCBannedWord(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCBannedWord(const CMsgGCBannedWord& from); - CMsgGCBannedWord(CMsgGCBannedWord&& from) noexcept - : CMsgGCBannedWord() { - *this = ::std::move(from); - } - - inline CMsgGCBannedWord& operator=(const CMsgGCBannedWord& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCBannedWord& operator=(CMsgGCBannedWord&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCBannedWord& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCBannedWord* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCBannedWord_default_instance_); - } - static constexpr int kIndexInFileMessages = - 60; - - friend void swap(CMsgGCBannedWord& a, CMsgGCBannedWord& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCBannedWord* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCBannedWord* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCBannedWord* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCBannedWord& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCBannedWord& from) { - CMsgGCBannedWord::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCBannedWord* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCBannedWord"; - } - protected: - explicit CMsgGCBannedWord(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kWordFieldNumber = 3, - kWordIdFieldNumber = 1, - kWordTypeFieldNumber = 2, - }; - // optional string word = 3; - bool has_word() const; - private: - bool _internal_has_word() const; - public: - void clear_word(); - const std::string& word() const; - template - void set_word(ArgT0&& arg0, ArgT... args); - std::string* mutable_word(); - PROTOBUF_NODISCARD std::string* release_word(); - void set_allocated_word(std::string* word); - private: - const std::string& _internal_word() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_word(const std::string& value); - std::string* _internal_mutable_word(); - public: - - // optional uint32 word_id = 1; - bool has_word_id() const; - private: - bool _internal_has_word_id() const; - public: - void clear_word_id(); - uint32_t word_id() const; - void set_word_id(uint32_t value); - private: - uint32_t _internal_word_id() const; - void _internal_set_word_id(uint32_t value); - public: - - // optional .GC_BannedWordType word_type = 2 [default = GC_BANNED_WORD_DISABLE_WORD]; - bool has_word_type() const; - private: - bool _internal_has_word_type() const; - public: - void clear_word_type(); - ::GC_BannedWordType word_type() const; - void set_word_type(::GC_BannedWordType value); - private: - ::GC_BannedWordType _internal_word_type() const; - void _internal_set_word_type(::GC_BannedWordType value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCBannedWord) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr word_; - uint32_t word_id_; - int word_type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCBannedWordListResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCBannedWordListResponse) */ { - public: - inline CMsgGCBannedWordListResponse() : CMsgGCBannedWordListResponse(nullptr) {} - ~CMsgGCBannedWordListResponse() override; - explicit PROTOBUF_CONSTEXPR CMsgGCBannedWordListResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCBannedWordListResponse(const CMsgGCBannedWordListResponse& from); - CMsgGCBannedWordListResponse(CMsgGCBannedWordListResponse&& from) noexcept - : CMsgGCBannedWordListResponse() { - *this = ::std::move(from); - } - - inline CMsgGCBannedWordListResponse& operator=(const CMsgGCBannedWordListResponse& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCBannedWordListResponse& operator=(CMsgGCBannedWordListResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCBannedWordListResponse& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCBannedWordListResponse* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCBannedWordListResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 61; - - friend void swap(CMsgGCBannedWordListResponse& a, CMsgGCBannedWordListResponse& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCBannedWordListResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCBannedWordListResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCBannedWordListResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCBannedWordListResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCBannedWordListResponse& from) { - CMsgGCBannedWordListResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCBannedWordListResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCBannedWordListResponse"; - } - protected: - explicit CMsgGCBannedWordListResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kWordListFieldNumber = 2, - kBanListGroupIdFieldNumber = 1, - }; - // repeated .CMsgGCBannedWord word_list = 2; - int word_list_size() const; - private: - int _internal_word_list_size() const; - public: - void clear_word_list(); - ::CMsgGCBannedWord* mutable_word_list(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCBannedWord >* - mutable_word_list(); - private: - const ::CMsgGCBannedWord& _internal_word_list(int index) const; - ::CMsgGCBannedWord* _internal_add_word_list(); - public: - const ::CMsgGCBannedWord& word_list(int index) const; - ::CMsgGCBannedWord* add_word_list(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCBannedWord >& - word_list() const; - - // optional uint32 ban_list_group_id = 1; - bool has_ban_list_group_id() const; - private: - bool _internal_has_ban_list_group_id() const; - public: - void clear_ban_list_group_id(); - uint32_t ban_list_group_id() const; - void set_ban_list_group_id(uint32_t value); - private: - uint32_t _internal_ban_list_group_id() const; - void _internal_set_ban_list_group_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCBannedWordListResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCBannedWord > word_list_; - uint32_t ban_list_group_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCToGCBannedWordListBroadcast : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToGCBannedWordListBroadcast) */ { - public: - inline CMsgGCToGCBannedWordListBroadcast() : CMsgGCToGCBannedWordListBroadcast(nullptr) {} - ~CMsgGCToGCBannedWordListBroadcast() override; - explicit PROTOBUF_CONSTEXPR CMsgGCToGCBannedWordListBroadcast(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCToGCBannedWordListBroadcast(const CMsgGCToGCBannedWordListBroadcast& from); - CMsgGCToGCBannedWordListBroadcast(CMsgGCToGCBannedWordListBroadcast&& from) noexcept - : CMsgGCToGCBannedWordListBroadcast() { - *this = ::std::move(from); - } - - inline CMsgGCToGCBannedWordListBroadcast& operator=(const CMsgGCToGCBannedWordListBroadcast& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCToGCBannedWordListBroadcast& operator=(CMsgGCToGCBannedWordListBroadcast&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCToGCBannedWordListBroadcast& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCToGCBannedWordListBroadcast* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCToGCBannedWordListBroadcast_default_instance_); - } - static constexpr int kIndexInFileMessages = - 62; - - friend void swap(CMsgGCToGCBannedWordListBroadcast& a, CMsgGCToGCBannedWordListBroadcast& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCToGCBannedWordListBroadcast* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCToGCBannedWordListBroadcast* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCToGCBannedWordListBroadcast* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCToGCBannedWordListBroadcast& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCToGCBannedWordListBroadcast& from) { - CMsgGCToGCBannedWordListBroadcast::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCToGCBannedWordListBroadcast* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCToGCBannedWordListBroadcast"; - } - protected: - explicit CMsgGCToGCBannedWordListBroadcast(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBroadcastFieldNumber = 1, - }; - // optional .CMsgGCBannedWordListResponse broadcast = 1; - bool has_broadcast() const; - private: - bool _internal_has_broadcast() const; - public: - void clear_broadcast(); - const ::CMsgGCBannedWordListResponse& broadcast() const; - PROTOBUF_NODISCARD ::CMsgGCBannedWordListResponse* release_broadcast(); - ::CMsgGCBannedWordListResponse* mutable_broadcast(); - void set_allocated_broadcast(::CMsgGCBannedWordListResponse* broadcast); - private: - const ::CMsgGCBannedWordListResponse& _internal_broadcast() const; - ::CMsgGCBannedWordListResponse* _internal_mutable_broadcast(); - public: - void unsafe_arena_set_allocated_broadcast( - ::CMsgGCBannedWordListResponse* broadcast); - ::CMsgGCBannedWordListResponse* unsafe_arena_release_broadcast(); - - // @@protoc_insertion_point(class_scope:CMsgGCToGCBannedWordListBroadcast) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgGCBannedWordListResponse* broadcast_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCToGCBannedWordListUpdated : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToGCBannedWordListUpdated) */ { - public: - inline CMsgGCToGCBannedWordListUpdated() : CMsgGCToGCBannedWordListUpdated(nullptr) {} - ~CMsgGCToGCBannedWordListUpdated() override; - explicit PROTOBUF_CONSTEXPR CMsgGCToGCBannedWordListUpdated(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCToGCBannedWordListUpdated(const CMsgGCToGCBannedWordListUpdated& from); - CMsgGCToGCBannedWordListUpdated(CMsgGCToGCBannedWordListUpdated&& from) noexcept - : CMsgGCToGCBannedWordListUpdated() { - *this = ::std::move(from); - } - - inline CMsgGCToGCBannedWordListUpdated& operator=(const CMsgGCToGCBannedWordListUpdated& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCToGCBannedWordListUpdated& operator=(CMsgGCToGCBannedWordListUpdated&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCToGCBannedWordListUpdated& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCToGCBannedWordListUpdated* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCToGCBannedWordListUpdated_default_instance_); - } - static constexpr int kIndexInFileMessages = - 63; - - friend void swap(CMsgGCToGCBannedWordListUpdated& a, CMsgGCToGCBannedWordListUpdated& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCToGCBannedWordListUpdated* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCToGCBannedWordListUpdated* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCToGCBannedWordListUpdated* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCToGCBannedWordListUpdated& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCToGCBannedWordListUpdated& from) { - CMsgGCToGCBannedWordListUpdated::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCToGCBannedWordListUpdated* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCToGCBannedWordListUpdated"; - } - protected: - explicit CMsgGCToGCBannedWordListUpdated(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGroupIdFieldNumber = 1, - }; - // optional uint32 group_id = 1; - bool has_group_id() const; - private: - bool _internal_has_group_id() const; - public: - void clear_group_id(); - uint32_t group_id() const; - void set_group_id(uint32_t value); - private: - uint32_t _internal_group_id() const; - void _internal_set_group_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCToGCBannedWordListUpdated) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t group_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCToGCDirtySDOCache : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToGCDirtySDOCache) */ { - public: - inline CMsgGCToGCDirtySDOCache() : CMsgGCToGCDirtySDOCache(nullptr) {} - ~CMsgGCToGCDirtySDOCache() override; - explicit PROTOBUF_CONSTEXPR CMsgGCToGCDirtySDOCache(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCToGCDirtySDOCache(const CMsgGCToGCDirtySDOCache& from); - CMsgGCToGCDirtySDOCache(CMsgGCToGCDirtySDOCache&& from) noexcept - : CMsgGCToGCDirtySDOCache() { - *this = ::std::move(from); - } - - inline CMsgGCToGCDirtySDOCache& operator=(const CMsgGCToGCDirtySDOCache& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCToGCDirtySDOCache& operator=(CMsgGCToGCDirtySDOCache&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCToGCDirtySDOCache& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCToGCDirtySDOCache* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCToGCDirtySDOCache_default_instance_); - } - static constexpr int kIndexInFileMessages = - 64; - - friend void swap(CMsgGCToGCDirtySDOCache& a, CMsgGCToGCDirtySDOCache& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCToGCDirtySDOCache* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCToGCDirtySDOCache* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCToGCDirtySDOCache* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCToGCDirtySDOCache& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCToGCDirtySDOCache& from) { - CMsgGCToGCDirtySDOCache::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCToGCDirtySDOCache* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCToGCDirtySDOCache"; - } - protected: - explicit CMsgGCToGCDirtySDOCache(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kKeyUint64FieldNumber = 2, - kSdoTypeFieldNumber = 1, - }; - // optional uint64 key_uint64 = 2; - bool has_key_uint64() const; - private: - bool _internal_has_key_uint64() const; - public: - void clear_key_uint64(); - uint64_t key_uint64() const; - void set_key_uint64(uint64_t value); - private: - uint64_t _internal_key_uint64() const; - void _internal_set_key_uint64(uint64_t value); - public: - - // optional uint32 sdo_type = 1; - bool has_sdo_type() const; - private: - bool _internal_has_sdo_type() const; - public: - void clear_sdo_type(); - uint32_t sdo_type() const; - void set_sdo_type(uint32_t value); - private: - uint32_t _internal_sdo_type() const; - void _internal_set_sdo_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCToGCDirtySDOCache) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t key_uint64_; - uint32_t sdo_type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCToGCDirtyMultipleSDOCache : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToGCDirtyMultipleSDOCache) */ { - public: - inline CMsgGCToGCDirtyMultipleSDOCache() : CMsgGCToGCDirtyMultipleSDOCache(nullptr) {} - ~CMsgGCToGCDirtyMultipleSDOCache() override; - explicit PROTOBUF_CONSTEXPR CMsgGCToGCDirtyMultipleSDOCache(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCToGCDirtyMultipleSDOCache(const CMsgGCToGCDirtyMultipleSDOCache& from); - CMsgGCToGCDirtyMultipleSDOCache(CMsgGCToGCDirtyMultipleSDOCache&& from) noexcept - : CMsgGCToGCDirtyMultipleSDOCache() { - *this = ::std::move(from); - } - - inline CMsgGCToGCDirtyMultipleSDOCache& operator=(const CMsgGCToGCDirtyMultipleSDOCache& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCToGCDirtyMultipleSDOCache& operator=(CMsgGCToGCDirtyMultipleSDOCache&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCToGCDirtyMultipleSDOCache& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCToGCDirtyMultipleSDOCache* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCToGCDirtyMultipleSDOCache_default_instance_); - } - static constexpr int kIndexInFileMessages = - 65; - - friend void swap(CMsgGCToGCDirtyMultipleSDOCache& a, CMsgGCToGCDirtyMultipleSDOCache& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCToGCDirtyMultipleSDOCache* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCToGCDirtyMultipleSDOCache* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCToGCDirtyMultipleSDOCache* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCToGCDirtyMultipleSDOCache& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCToGCDirtyMultipleSDOCache& from) { - CMsgGCToGCDirtyMultipleSDOCache::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCToGCDirtyMultipleSDOCache* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCToGCDirtyMultipleSDOCache"; - } - protected: - explicit CMsgGCToGCDirtyMultipleSDOCache(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kKeyUint64FieldNumber = 2, - kSdoTypeFieldNumber = 1, - }; - // repeated uint64 key_uint64 = 2; - int key_uint64_size() const; - private: - int _internal_key_uint64_size() const; - public: - void clear_key_uint64(); - private: - uint64_t _internal_key_uint64(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - _internal_key_uint64() const; - void _internal_add_key_uint64(uint64_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - _internal_mutable_key_uint64(); - public: - uint64_t key_uint64(int index) const; - void set_key_uint64(int index, uint64_t value); - void add_key_uint64(uint64_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - key_uint64() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - mutable_key_uint64(); - - // optional uint32 sdo_type = 1; - bool has_sdo_type() const; - private: - bool _internal_has_sdo_type() const; - public: - void clear_sdo_type(); - uint32_t sdo_type() const; - void set_sdo_type(uint32_t value); - private: - uint32_t _internal_sdo_type() const; - void _internal_set_sdo_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCToGCDirtyMultipleSDOCache) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > key_uint64_; - uint32_t sdo_type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCollectItem : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCollectItem) */ { - public: - inline CMsgGCCollectItem() : CMsgGCCollectItem(nullptr) {} - ~CMsgGCCollectItem() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCollectItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCollectItem(const CMsgGCCollectItem& from); - CMsgGCCollectItem(CMsgGCCollectItem&& from) noexcept - : CMsgGCCollectItem() { - *this = ::std::move(from); - } - - inline CMsgGCCollectItem& operator=(const CMsgGCCollectItem& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCollectItem& operator=(CMsgGCCollectItem&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCollectItem& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCollectItem* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCollectItem_default_instance_); - } - static constexpr int kIndexInFileMessages = - 66; - - friend void swap(CMsgGCCollectItem& a, CMsgGCCollectItem& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCollectItem* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCollectItem* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCollectItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCollectItem& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCollectItem& from) { - CMsgGCCollectItem::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCollectItem* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCollectItem"; - } - protected: - explicit CMsgGCCollectItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCollectionItemIdFieldNumber = 1, - kSubjectItemIdFieldNumber = 2, - }; - // optional uint64 collection_item_id = 1; - bool has_collection_item_id() const; - private: - bool _internal_has_collection_item_id() const; - public: - void clear_collection_item_id(); - uint64_t collection_item_id() const; - void set_collection_item_id(uint64_t value); - private: - uint64_t _internal_collection_item_id() const; - void _internal_set_collection_item_id(uint64_t value); - public: - - // optional uint64 subject_item_id = 2; - bool has_subject_item_id() const; - private: - bool _internal_has_subject_item_id() const; - public: - void clear_subject_item_id(); - uint64_t subject_item_id() const; - void set_subject_item_id(uint64_t value); - private: - uint64_t _internal_subject_item_id() const; - void _internal_set_subject_item_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCollectItem) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t collection_item_id_; - uint64_t subject_item_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSDONoMemcached : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgSDONoMemcached) */ { - public: - inline CMsgSDONoMemcached() : CMsgSDONoMemcached(nullptr) {} - explicit PROTOBUF_CONSTEXPR CMsgSDONoMemcached(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSDONoMemcached(const CMsgSDONoMemcached& from); - CMsgSDONoMemcached(CMsgSDONoMemcached&& from) noexcept - : CMsgSDONoMemcached() { - *this = ::std::move(from); - } - - inline CMsgSDONoMemcached& operator=(const CMsgSDONoMemcached& from) { - CopyFrom(from); - return *this; - } - inline CMsgSDONoMemcached& operator=(CMsgSDONoMemcached&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSDONoMemcached& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSDONoMemcached* internal_default_instance() { - return reinterpret_cast( - &_CMsgSDONoMemcached_default_instance_); - } - static constexpr int kIndexInFileMessages = - 67; - - friend void swap(CMsgSDONoMemcached& a, CMsgSDONoMemcached& b) { - a.Swap(&b); - } - inline void Swap(CMsgSDONoMemcached* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSDONoMemcached* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSDONoMemcached* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CMsgSDONoMemcached& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CMsgSDONoMemcached& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSDONoMemcached"; - } - protected: - explicit CMsgSDONoMemcached(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CMsgSDONoMemcached) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCToGCUpdateSQLKeyValue : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToGCUpdateSQLKeyValue) */ { - public: - inline CMsgGCToGCUpdateSQLKeyValue() : CMsgGCToGCUpdateSQLKeyValue(nullptr) {} - ~CMsgGCToGCUpdateSQLKeyValue() override; - explicit PROTOBUF_CONSTEXPR CMsgGCToGCUpdateSQLKeyValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCToGCUpdateSQLKeyValue(const CMsgGCToGCUpdateSQLKeyValue& from); - CMsgGCToGCUpdateSQLKeyValue(CMsgGCToGCUpdateSQLKeyValue&& from) noexcept - : CMsgGCToGCUpdateSQLKeyValue() { - *this = ::std::move(from); - } - - inline CMsgGCToGCUpdateSQLKeyValue& operator=(const CMsgGCToGCUpdateSQLKeyValue& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCToGCUpdateSQLKeyValue& operator=(CMsgGCToGCUpdateSQLKeyValue&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCToGCUpdateSQLKeyValue& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCToGCUpdateSQLKeyValue* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCToGCUpdateSQLKeyValue_default_instance_); - } - static constexpr int kIndexInFileMessages = - 68; - - friend void swap(CMsgGCToGCUpdateSQLKeyValue& a, CMsgGCToGCUpdateSQLKeyValue& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCToGCUpdateSQLKeyValue* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCToGCUpdateSQLKeyValue* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCToGCUpdateSQLKeyValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCToGCUpdateSQLKeyValue& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCToGCUpdateSQLKeyValue& from) { - CMsgGCToGCUpdateSQLKeyValue::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCToGCUpdateSQLKeyValue* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCToGCUpdateSQLKeyValue"; - } - protected: - explicit CMsgGCToGCUpdateSQLKeyValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kKeyNameFieldNumber = 1, - }; - // optional string key_name = 1; - bool has_key_name() const; - private: - bool _internal_has_key_name() const; - public: - void clear_key_name(); - const std::string& key_name() const; - template - void set_key_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_key_name(); - PROTOBUF_NODISCARD std::string* release_key_name(); - void set_allocated_key_name(std::string* key_name); - private: - const std::string& _internal_key_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_key_name(const std::string& value); - std::string* _internal_mutable_key_name(); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCToGCUpdateSQLKeyValue) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_name_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCToGCIsTrustedServer : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToGCIsTrustedServer) */ { - public: - inline CMsgGCToGCIsTrustedServer() : CMsgGCToGCIsTrustedServer(nullptr) {} - ~CMsgGCToGCIsTrustedServer() override; - explicit PROTOBUF_CONSTEXPR CMsgGCToGCIsTrustedServer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCToGCIsTrustedServer(const CMsgGCToGCIsTrustedServer& from); - CMsgGCToGCIsTrustedServer(CMsgGCToGCIsTrustedServer&& from) noexcept - : CMsgGCToGCIsTrustedServer() { - *this = ::std::move(from); - } - - inline CMsgGCToGCIsTrustedServer& operator=(const CMsgGCToGCIsTrustedServer& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCToGCIsTrustedServer& operator=(CMsgGCToGCIsTrustedServer&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCToGCIsTrustedServer& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCToGCIsTrustedServer* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCToGCIsTrustedServer_default_instance_); - } - static constexpr int kIndexInFileMessages = - 69; - - friend void swap(CMsgGCToGCIsTrustedServer& a, CMsgGCToGCIsTrustedServer& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCToGCIsTrustedServer* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCToGCIsTrustedServer* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCToGCIsTrustedServer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCToGCIsTrustedServer& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCToGCIsTrustedServer& from) { - CMsgGCToGCIsTrustedServer::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCToGCIsTrustedServer* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCToGCIsTrustedServer"; - } - protected: - explicit CMsgGCToGCIsTrustedServer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSteamIdFieldNumber = 1, - }; - // optional fixed64 steam_id = 1; - bool has_steam_id() const; - private: - bool _internal_has_steam_id() const; - public: - void clear_steam_id(); - uint64_t steam_id() const; - void set_steam_id(uint64_t value); - private: - uint64_t _internal_steam_id() const; - void _internal_set_steam_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCToGCIsTrustedServer) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t steam_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCToGCIsTrustedServerResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToGCIsTrustedServerResponse) */ { - public: - inline CMsgGCToGCIsTrustedServerResponse() : CMsgGCToGCIsTrustedServerResponse(nullptr) {} - ~CMsgGCToGCIsTrustedServerResponse() override; - explicit PROTOBUF_CONSTEXPR CMsgGCToGCIsTrustedServerResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCToGCIsTrustedServerResponse(const CMsgGCToGCIsTrustedServerResponse& from); - CMsgGCToGCIsTrustedServerResponse(CMsgGCToGCIsTrustedServerResponse&& from) noexcept - : CMsgGCToGCIsTrustedServerResponse() { - *this = ::std::move(from); - } - - inline CMsgGCToGCIsTrustedServerResponse& operator=(const CMsgGCToGCIsTrustedServerResponse& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCToGCIsTrustedServerResponse& operator=(CMsgGCToGCIsTrustedServerResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCToGCIsTrustedServerResponse& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCToGCIsTrustedServerResponse* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCToGCIsTrustedServerResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 70; - - friend void swap(CMsgGCToGCIsTrustedServerResponse& a, CMsgGCToGCIsTrustedServerResponse& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCToGCIsTrustedServerResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCToGCIsTrustedServerResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCToGCIsTrustedServerResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCToGCIsTrustedServerResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCToGCIsTrustedServerResponse& from) { - CMsgGCToGCIsTrustedServerResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCToGCIsTrustedServerResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCToGCIsTrustedServerResponse"; - } - protected: - explicit CMsgGCToGCIsTrustedServerResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIsTrustedFieldNumber = 1, - }; - // optional bool is_trusted = 1; - bool has_is_trusted() const; - private: - bool _internal_has_is_trusted() const; - public: - void clear_is_trusted(); - bool is_trusted() const; - void set_is_trusted(bool value); - private: - bool _internal_is_trusted() const; - void _internal_set_is_trusted(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCToGCIsTrustedServerResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool is_trusted_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCToGCBroadcastConsoleCommand : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToGCBroadcastConsoleCommand) */ { - public: - inline CMsgGCToGCBroadcastConsoleCommand() : CMsgGCToGCBroadcastConsoleCommand(nullptr) {} - ~CMsgGCToGCBroadcastConsoleCommand() override; - explicit PROTOBUF_CONSTEXPR CMsgGCToGCBroadcastConsoleCommand(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCToGCBroadcastConsoleCommand(const CMsgGCToGCBroadcastConsoleCommand& from); - CMsgGCToGCBroadcastConsoleCommand(CMsgGCToGCBroadcastConsoleCommand&& from) noexcept - : CMsgGCToGCBroadcastConsoleCommand() { - *this = ::std::move(from); - } - - inline CMsgGCToGCBroadcastConsoleCommand& operator=(const CMsgGCToGCBroadcastConsoleCommand& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCToGCBroadcastConsoleCommand& operator=(CMsgGCToGCBroadcastConsoleCommand&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCToGCBroadcastConsoleCommand& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCToGCBroadcastConsoleCommand* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCToGCBroadcastConsoleCommand_default_instance_); - } - static constexpr int kIndexInFileMessages = - 71; - - friend void swap(CMsgGCToGCBroadcastConsoleCommand& a, CMsgGCToGCBroadcastConsoleCommand& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCToGCBroadcastConsoleCommand* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCToGCBroadcastConsoleCommand* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCToGCBroadcastConsoleCommand* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCToGCBroadcastConsoleCommand& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCToGCBroadcastConsoleCommand& from) { - CMsgGCToGCBroadcastConsoleCommand::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCToGCBroadcastConsoleCommand* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCToGCBroadcastConsoleCommand"; - } - protected: - explicit CMsgGCToGCBroadcastConsoleCommand(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kConCommandFieldNumber = 1, - }; - // optional string con_command = 1; - bool has_con_command() const; - private: - bool _internal_has_con_command() const; - public: - void clear_con_command(); - const std::string& con_command() const; - template - void set_con_command(ArgT0&& arg0, ArgT... args); - std::string* mutable_con_command(); - PROTOBUF_NODISCARD std::string* release_con_command(); - void set_allocated_con_command(std::string* con_command); - private: - const std::string& _internal_con_command() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_con_command(const std::string& value); - std::string* _internal_mutable_con_command(); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCToGCBroadcastConsoleCommand) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr con_command_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCServerVersionUpdated : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCServerVersionUpdated) */ { - public: - inline CMsgGCServerVersionUpdated() : CMsgGCServerVersionUpdated(nullptr) {} - ~CMsgGCServerVersionUpdated() override; - explicit PROTOBUF_CONSTEXPR CMsgGCServerVersionUpdated(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCServerVersionUpdated(const CMsgGCServerVersionUpdated& from); - CMsgGCServerVersionUpdated(CMsgGCServerVersionUpdated&& from) noexcept - : CMsgGCServerVersionUpdated() { - *this = ::std::move(from); - } - - inline CMsgGCServerVersionUpdated& operator=(const CMsgGCServerVersionUpdated& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCServerVersionUpdated& operator=(CMsgGCServerVersionUpdated&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCServerVersionUpdated& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCServerVersionUpdated* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCServerVersionUpdated_default_instance_); - } - static constexpr int kIndexInFileMessages = - 72; - - friend void swap(CMsgGCServerVersionUpdated& a, CMsgGCServerVersionUpdated& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCServerVersionUpdated* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCServerVersionUpdated* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCServerVersionUpdated* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCServerVersionUpdated& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCServerVersionUpdated& from) { - CMsgGCServerVersionUpdated::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCServerVersionUpdated* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCServerVersionUpdated"; - } - protected: - explicit CMsgGCServerVersionUpdated(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kServerVersionFieldNumber = 1, - }; - // optional uint32 server_version = 1; - bool has_server_version() const; - private: - bool _internal_has_server_version() const; - public: - void clear_server_version(); - uint32_t server_version() const; - void set_server_version(uint32_t value); - private: - uint32_t _internal_server_version() const; - void _internal_set_server_version(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCServerVersionUpdated) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t server_version_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCClientVersionUpdated : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCClientVersionUpdated) */ { - public: - inline CMsgGCClientVersionUpdated() : CMsgGCClientVersionUpdated(nullptr) {} - ~CMsgGCClientVersionUpdated() override; - explicit PROTOBUF_CONSTEXPR CMsgGCClientVersionUpdated(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCClientVersionUpdated(const CMsgGCClientVersionUpdated& from); - CMsgGCClientVersionUpdated(CMsgGCClientVersionUpdated&& from) noexcept - : CMsgGCClientVersionUpdated() { - *this = ::std::move(from); - } - - inline CMsgGCClientVersionUpdated& operator=(const CMsgGCClientVersionUpdated& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCClientVersionUpdated& operator=(CMsgGCClientVersionUpdated&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCClientVersionUpdated& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCClientVersionUpdated* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCClientVersionUpdated_default_instance_); - } - static constexpr int kIndexInFileMessages = - 73; - - friend void swap(CMsgGCClientVersionUpdated& a, CMsgGCClientVersionUpdated& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCClientVersionUpdated* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCClientVersionUpdated* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCClientVersionUpdated* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCClientVersionUpdated& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCClientVersionUpdated& from) { - CMsgGCClientVersionUpdated::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCClientVersionUpdated* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCClientVersionUpdated"; - } - protected: - explicit CMsgGCClientVersionUpdated(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kClientVersionFieldNumber = 1, - }; - // optional uint32 client_version = 1; - bool has_client_version() const; - private: - bool _internal_has_client_version() const; - public: - void clear_client_version(); - uint32_t client_version() const; - void set_client_version(uint32_t value); - private: - uint32_t _internal_client_version() const; - void _internal_set_client_version(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCClientVersionUpdated) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t client_version_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCToGCWebAPIAccountChanged : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgGCToGCWebAPIAccountChanged) */ { - public: - inline CMsgGCToGCWebAPIAccountChanged() : CMsgGCToGCWebAPIAccountChanged(nullptr) {} - explicit PROTOBUF_CONSTEXPR CMsgGCToGCWebAPIAccountChanged(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCToGCWebAPIAccountChanged(const CMsgGCToGCWebAPIAccountChanged& from); - CMsgGCToGCWebAPIAccountChanged(CMsgGCToGCWebAPIAccountChanged&& from) noexcept - : CMsgGCToGCWebAPIAccountChanged() { - *this = ::std::move(from); - } - - inline CMsgGCToGCWebAPIAccountChanged& operator=(const CMsgGCToGCWebAPIAccountChanged& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCToGCWebAPIAccountChanged& operator=(CMsgGCToGCWebAPIAccountChanged&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCToGCWebAPIAccountChanged& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCToGCWebAPIAccountChanged* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCToGCWebAPIAccountChanged_default_instance_); - } - static constexpr int kIndexInFileMessages = - 74; - - friend void swap(CMsgGCToGCWebAPIAccountChanged& a, CMsgGCToGCWebAPIAccountChanged& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCToGCWebAPIAccountChanged* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCToGCWebAPIAccountChanged* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCToGCWebAPIAccountChanged* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CMsgGCToGCWebAPIAccountChanged& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CMsgGCToGCWebAPIAccountChanged& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCToGCWebAPIAccountChanged"; - } - protected: - explicit CMsgGCToGCWebAPIAccountChanged(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CMsgGCToGCWebAPIAccountChanged) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCToGCRequestPassportItemGrant : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToGCRequestPassportItemGrant) */ { - public: - inline CMsgGCToGCRequestPassportItemGrant() : CMsgGCToGCRequestPassportItemGrant(nullptr) {} - ~CMsgGCToGCRequestPassportItemGrant() override; - explicit PROTOBUF_CONSTEXPR CMsgGCToGCRequestPassportItemGrant(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCToGCRequestPassportItemGrant(const CMsgGCToGCRequestPassportItemGrant& from); - CMsgGCToGCRequestPassportItemGrant(CMsgGCToGCRequestPassportItemGrant&& from) noexcept - : CMsgGCToGCRequestPassportItemGrant() { - *this = ::std::move(from); - } - - inline CMsgGCToGCRequestPassportItemGrant& operator=(const CMsgGCToGCRequestPassportItemGrant& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCToGCRequestPassportItemGrant& operator=(CMsgGCToGCRequestPassportItemGrant&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCToGCRequestPassportItemGrant& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCToGCRequestPassportItemGrant* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCToGCRequestPassportItemGrant_default_instance_); - } - static constexpr int kIndexInFileMessages = - 75; - - friend void swap(CMsgGCToGCRequestPassportItemGrant& a, CMsgGCToGCRequestPassportItemGrant& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCToGCRequestPassportItemGrant* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCToGCRequestPassportItemGrant* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCToGCRequestPassportItemGrant* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCToGCRequestPassportItemGrant& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCToGCRequestPassportItemGrant& from) { - CMsgGCToGCRequestPassportItemGrant::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCToGCRequestPassportItemGrant* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCToGCRequestPassportItemGrant"; - } - protected: - explicit CMsgGCToGCRequestPassportItemGrant(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSteamIdFieldNumber = 1, - kLeagueIdFieldNumber = 2, - kRewardFlagFieldNumber = 3, - }; - // optional fixed64 steam_id = 1; - bool has_steam_id() const; - private: - bool _internal_has_steam_id() const; - public: - void clear_steam_id(); - uint64_t steam_id() const; - void set_steam_id(uint64_t value); - private: - uint64_t _internal_steam_id() const; - void _internal_set_steam_id(uint64_t value); - public: - - // optional uint32 league_id = 2; - bool has_league_id() const; - private: - bool _internal_has_league_id() const; - public: - void clear_league_id(); - uint32_t league_id() const; - void set_league_id(uint32_t value); - private: - uint32_t _internal_league_id() const; - void _internal_set_league_id(uint32_t value); - public: - - // optional int32 reward_flag = 3; - bool has_reward_flag() const; - private: - bool _internal_has_reward_flag() const; - public: - void clear_reward_flag(); - int32_t reward_flag() const; - void set_reward_flag(int32_t value); - private: - int32_t _internal_reward_flag() const; - void _internal_set_reward_flag(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCToGCRequestPassportItemGrant) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t steam_id_; - uint32_t league_id_; - int32_t reward_flag_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGameServerInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGameServerInfo) */ { - public: - inline CMsgGameServerInfo() : CMsgGameServerInfo(nullptr) {} - ~CMsgGameServerInfo() override; - explicit PROTOBUF_CONSTEXPR CMsgGameServerInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGameServerInfo(const CMsgGameServerInfo& from); - CMsgGameServerInfo(CMsgGameServerInfo&& from) noexcept - : CMsgGameServerInfo() { - *this = ::std::move(from); - } - - inline CMsgGameServerInfo& operator=(const CMsgGameServerInfo& from) { - CopyFrom(from); - return *this; - } - inline CMsgGameServerInfo& operator=(CMsgGameServerInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGameServerInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGameServerInfo* internal_default_instance() { - return reinterpret_cast( - &_CMsgGameServerInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 76; - - friend void swap(CMsgGameServerInfo& a, CMsgGameServerInfo& b) { - a.Swap(&b); - } - inline void Swap(CMsgGameServerInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGameServerInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGameServerInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGameServerInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGameServerInfo& from) { - CMsgGameServerInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGameServerInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGameServerInfo"; - } - protected: - explicit CMsgGameServerInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgGameServerInfo_ServerType ServerType; - static constexpr ServerType UNSPECIFIED = - CMsgGameServerInfo_ServerType_UNSPECIFIED; - static constexpr ServerType GAME = - CMsgGameServerInfo_ServerType_GAME; - static constexpr ServerType PROXY = - CMsgGameServerInfo_ServerType_PROXY; - static inline bool ServerType_IsValid(int value) { - return CMsgGameServerInfo_ServerType_IsValid(value); - } - static constexpr ServerType ServerType_MIN = - CMsgGameServerInfo_ServerType_ServerType_MIN; - static constexpr ServerType ServerType_MAX = - CMsgGameServerInfo_ServerType_ServerType_MAX; - static constexpr int ServerType_ARRAYSIZE = - CMsgGameServerInfo_ServerType_ServerType_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - ServerType_descriptor() { - return CMsgGameServerInfo_ServerType_descriptor(); - } - template - static inline const std::string& ServerType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ServerType_Name."); - return CMsgGameServerInfo_ServerType_Name(enum_t_value); - } - static inline bool ServerType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - ServerType* value) { - return CMsgGameServerInfo_ServerType_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kServerKeyFieldNumber = 5, - kServerPublicIpAddrFieldNumber = 1, - kServerPrivateIpAddrFieldNumber = 2, - kServerPortFieldNumber = 3, - kServerTvPortFieldNumber = 4, - kServerHibernationFieldNumber = 6, - kServerTypeFieldNumber = 7, - kServerRegionFieldNumber = 8, - kServerLoadavgFieldNumber = 9, - kServerTvBroadcastTimeFieldNumber = 10, - kServerGameTimeFieldNumber = 11, - kServerRelayConnectedSteamIdFieldNumber = 12, - kRelaySlotsMaxFieldNumber = 13, - kRelaysConnectedFieldNumber = 14, - kRelayedGameServerSteamIdFieldNumber = 16, - kRelayClientsConnectedFieldNumber = 15, - kParentRelayCountFieldNumber = 17, - kTvSecretCodeFieldNumber = 18, - }; - // optional string server_key = 5; - bool has_server_key() const; - private: - bool _internal_has_server_key() const; - public: - void clear_server_key(); - const std::string& server_key() const; - template - void set_server_key(ArgT0&& arg0, ArgT... args); - std::string* mutable_server_key(); - PROTOBUF_NODISCARD std::string* release_server_key(); - void set_allocated_server_key(std::string* server_key); - private: - const std::string& _internal_server_key() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_server_key(const std::string& value); - std::string* _internal_mutable_server_key(); - public: - - // optional fixed32 server_public_ip_addr = 1; - bool has_server_public_ip_addr() const; - private: - bool _internal_has_server_public_ip_addr() const; - public: - void clear_server_public_ip_addr(); - uint32_t server_public_ip_addr() const; - void set_server_public_ip_addr(uint32_t value); - private: - uint32_t _internal_server_public_ip_addr() const; - void _internal_set_server_public_ip_addr(uint32_t value); - public: - - // optional fixed32 server_private_ip_addr = 2; - bool has_server_private_ip_addr() const; - private: - bool _internal_has_server_private_ip_addr() const; - public: - void clear_server_private_ip_addr(); - uint32_t server_private_ip_addr() const; - void set_server_private_ip_addr(uint32_t value); - private: - uint32_t _internal_server_private_ip_addr() const; - void _internal_set_server_private_ip_addr(uint32_t value); - public: - - // optional uint32 server_port = 3; - bool has_server_port() const; - private: - bool _internal_has_server_port() const; - public: - void clear_server_port(); - uint32_t server_port() const; - void set_server_port(uint32_t value); - private: - uint32_t _internal_server_port() const; - void _internal_set_server_port(uint32_t value); - public: - - // optional uint32 server_tv_port = 4; - bool has_server_tv_port() const; - private: - bool _internal_has_server_tv_port() const; - public: - void clear_server_tv_port(); - uint32_t server_tv_port() const; - void set_server_tv_port(uint32_t value); - private: - uint32_t _internal_server_tv_port() const; - void _internal_set_server_tv_port(uint32_t value); - public: - - // optional bool server_hibernation = 6; - bool has_server_hibernation() const; - private: - bool _internal_has_server_hibernation() const; - public: - void clear_server_hibernation(); - bool server_hibernation() const; - void set_server_hibernation(bool value); - private: - bool _internal_server_hibernation() const; - void _internal_set_server_hibernation(bool value); - public: - - // optional .CMsgGameServerInfo.ServerType server_type = 7 [default = UNSPECIFIED]; - bool has_server_type() const; - private: - bool _internal_has_server_type() const; - public: - void clear_server_type(); - ::CMsgGameServerInfo_ServerType server_type() const; - void set_server_type(::CMsgGameServerInfo_ServerType value); - private: - ::CMsgGameServerInfo_ServerType _internal_server_type() const; - void _internal_set_server_type(::CMsgGameServerInfo_ServerType value); - public: - - // optional uint32 server_region = 8; - bool has_server_region() const; - private: - bool _internal_has_server_region() const; - public: - void clear_server_region(); - uint32_t server_region() const; - void set_server_region(uint32_t value); - private: - uint32_t _internal_server_region() const; - void _internal_set_server_region(uint32_t value); - public: - - // optional float server_loadavg = 9; - bool has_server_loadavg() const; - private: - bool _internal_has_server_loadavg() const; - public: - void clear_server_loadavg(); - float server_loadavg() const; - void set_server_loadavg(float value); - private: - float _internal_server_loadavg() const; - void _internal_set_server_loadavg(float value); - public: - - // optional float server_tv_broadcast_time = 10; - bool has_server_tv_broadcast_time() const; - private: - bool _internal_has_server_tv_broadcast_time() const; - public: - void clear_server_tv_broadcast_time(); - float server_tv_broadcast_time() const; - void set_server_tv_broadcast_time(float value); - private: - float _internal_server_tv_broadcast_time() const; - void _internal_set_server_tv_broadcast_time(float value); - public: - - // optional float server_game_time = 11; - bool has_server_game_time() const; - private: - bool _internal_has_server_game_time() const; - public: - void clear_server_game_time(); - float server_game_time() const; - void set_server_game_time(float value); - private: - float _internal_server_game_time() const; - void _internal_set_server_game_time(float value); - public: - - // optional fixed64 server_relay_connected_steam_id = 12; - bool has_server_relay_connected_steam_id() const; - private: - bool _internal_has_server_relay_connected_steam_id() const; - public: - void clear_server_relay_connected_steam_id(); - uint64_t server_relay_connected_steam_id() const; - void set_server_relay_connected_steam_id(uint64_t value); - private: - uint64_t _internal_server_relay_connected_steam_id() const; - void _internal_set_server_relay_connected_steam_id(uint64_t value); - public: - - // optional uint32 relay_slots_max = 13; - bool has_relay_slots_max() const; - private: - bool _internal_has_relay_slots_max() const; - public: - void clear_relay_slots_max(); - uint32_t relay_slots_max() const; - void set_relay_slots_max(uint32_t value); - private: - uint32_t _internal_relay_slots_max() const; - void _internal_set_relay_slots_max(uint32_t value); - public: - - // optional int32 relays_connected = 14; - bool has_relays_connected() const; - private: - bool _internal_has_relays_connected() const; - public: - void clear_relays_connected(); - int32_t relays_connected() const; - void set_relays_connected(int32_t value); - private: - int32_t _internal_relays_connected() const; - void _internal_set_relays_connected(int32_t value); - public: - - // optional fixed64 relayed_game_server_steam_id = 16; - bool has_relayed_game_server_steam_id() const; - private: - bool _internal_has_relayed_game_server_steam_id() const; - public: - void clear_relayed_game_server_steam_id(); - uint64_t relayed_game_server_steam_id() const; - void set_relayed_game_server_steam_id(uint64_t value); - private: - uint64_t _internal_relayed_game_server_steam_id() const; - void _internal_set_relayed_game_server_steam_id(uint64_t value); - public: - - // optional int32 relay_clients_connected = 15; - bool has_relay_clients_connected() const; - private: - bool _internal_has_relay_clients_connected() const; - public: - void clear_relay_clients_connected(); - int32_t relay_clients_connected() const; - void set_relay_clients_connected(int32_t value); - private: - int32_t _internal_relay_clients_connected() const; - void _internal_set_relay_clients_connected(int32_t value); - public: - - // optional uint32 parent_relay_count = 17; - bool has_parent_relay_count() const; - private: - bool _internal_has_parent_relay_count() const; - public: - void clear_parent_relay_count(); - uint32_t parent_relay_count() const; - void set_parent_relay_count(uint32_t value); - private: - uint32_t _internal_parent_relay_count() const; - void _internal_set_parent_relay_count(uint32_t value); - public: - - // optional fixed64 tv_secret_code = 18; - bool has_tv_secret_code() const; - private: - bool _internal_has_tv_secret_code() const; - public: - void clear_tv_secret_code(); - uint64_t tv_secret_code() const; - void set_tv_secret_code(uint64_t value); - private: - uint64_t _internal_tv_secret_code() const; - void _internal_set_tv_secret_code(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGameServerInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr server_key_; - uint32_t server_public_ip_addr_; - uint32_t server_private_ip_addr_; - uint32_t server_port_; - uint32_t server_tv_port_; - bool server_hibernation_; - int server_type_; - uint32_t server_region_; - float server_loadavg_; - float server_tv_broadcast_time_; - float server_game_time_; - uint64_t server_relay_connected_steam_id_; - uint32_t relay_slots_max_; - int32_t relays_connected_; - uint64_t relayed_game_server_steam_id_; - int32_t relay_clients_connected_; - uint32_t parent_relay_count_; - uint64_t tv_secret_code_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOEconEquipSlot : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconEquipSlot) */ { - public: - inline CSOEconEquipSlot() : CSOEconEquipSlot(nullptr) {} - ~CSOEconEquipSlot() override; - explicit PROTOBUF_CONSTEXPR CSOEconEquipSlot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOEconEquipSlot(const CSOEconEquipSlot& from); - CSOEconEquipSlot(CSOEconEquipSlot&& from) noexcept - : CSOEconEquipSlot() { - *this = ::std::move(from); - } - - inline CSOEconEquipSlot& operator=(const CSOEconEquipSlot& from) { - CopyFrom(from); - return *this; - } - inline CSOEconEquipSlot& operator=(CSOEconEquipSlot&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOEconEquipSlot& default_instance() { - return *internal_default_instance(); - } - static inline const CSOEconEquipSlot* internal_default_instance() { - return reinterpret_cast( - &_CSOEconEquipSlot_default_instance_); - } - static constexpr int kIndexInFileMessages = - 77; - - friend void swap(CSOEconEquipSlot& a, CSOEconEquipSlot& b) { - a.Swap(&b); - } - inline void Swap(CSOEconEquipSlot* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOEconEquipSlot* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOEconEquipSlot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOEconEquipSlot& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOEconEquipSlot& from) { - CSOEconEquipSlot::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOEconEquipSlot* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOEconEquipSlot"; - } - protected: - explicit CSOEconEquipSlot(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountIdFieldNumber = 1, - kClassIdFieldNumber = 2, - kItemIdFieldNumber = 4, - kSlotIdFieldNumber = 3, - kItemDefinitionFieldNumber = 5, - }; - // optional uint32 account_id = 1 [(.key_field) = true]; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 class_id = 2 [(.key_field) = true]; - bool has_class_id() const; - private: - bool _internal_has_class_id() const; - public: - void clear_class_id(); - uint32_t class_id() const; - void set_class_id(uint32_t value); - private: - uint32_t _internal_class_id() const; - void _internal_set_class_id(uint32_t value); - public: - - // optional uint64 item_id = 4; - bool has_item_id() const; - private: - bool _internal_has_item_id() const; - public: - void clear_item_id(); - uint64_t item_id() const; - void set_item_id(uint64_t value); - private: - uint64_t _internal_item_id() const; - void _internal_set_item_id(uint64_t value); - public: - - // optional uint32 slot_id = 3 [(.key_field) = true]; - bool has_slot_id() const; - private: - bool _internal_has_slot_id() const; - public: - void clear_slot_id(); - uint32_t slot_id() const; - void set_slot_id(uint32_t value); - private: - uint32_t _internal_slot_id() const; - void _internal_set_slot_id(uint32_t value); - public: - - // optional uint32 item_definition = 5; - bool has_item_definition() const; - private: - bool _internal_has_item_definition() const; - public: - void clear_item_definition(); - uint32_t item_definition() const; - void set_item_definition(uint32_t value); - private: - uint32_t _internal_item_definition() const; - void _internal_set_item_definition(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOEconEquipSlot) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t account_id_; - uint32_t class_id_; - uint64_t item_id_; - uint32_t slot_id_; - uint32_t item_definition_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgAdjustEquipSlot : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgAdjustEquipSlot) */ { - public: - inline CMsgAdjustEquipSlot() : CMsgAdjustEquipSlot(nullptr) {} - ~CMsgAdjustEquipSlot() override; - explicit PROTOBUF_CONSTEXPR CMsgAdjustEquipSlot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgAdjustEquipSlot(const CMsgAdjustEquipSlot& from); - CMsgAdjustEquipSlot(CMsgAdjustEquipSlot&& from) noexcept - : CMsgAdjustEquipSlot() { - *this = ::std::move(from); - } - - inline CMsgAdjustEquipSlot& operator=(const CMsgAdjustEquipSlot& from) { - CopyFrom(from); - return *this; - } - inline CMsgAdjustEquipSlot& operator=(CMsgAdjustEquipSlot&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgAdjustEquipSlot& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgAdjustEquipSlot* internal_default_instance() { - return reinterpret_cast( - &_CMsgAdjustEquipSlot_default_instance_); - } - static constexpr int kIndexInFileMessages = - 78; - - friend void swap(CMsgAdjustEquipSlot& a, CMsgAdjustEquipSlot& b) { - a.Swap(&b); - } - inline void Swap(CMsgAdjustEquipSlot* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgAdjustEquipSlot* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgAdjustEquipSlot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgAdjustEquipSlot& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgAdjustEquipSlot& from) { - CMsgAdjustEquipSlot::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgAdjustEquipSlot* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgAdjustEquipSlot"; - } - protected: - explicit CMsgAdjustEquipSlot(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kClassIdFieldNumber = 1, - kSlotIdFieldNumber = 2, - kItemIdFieldNumber = 3, - }; - // optional uint32 class_id = 1; - bool has_class_id() const; - private: - bool _internal_has_class_id() const; - public: - void clear_class_id(); - uint32_t class_id() const; - void set_class_id(uint32_t value); - private: - uint32_t _internal_class_id() const; - void _internal_set_class_id(uint32_t value); - public: - - // optional uint32 slot_id = 2; - bool has_slot_id() const; - private: - bool _internal_has_slot_id() const; - public: - void clear_slot_id(); - uint32_t slot_id() const; - void set_slot_id(uint32_t value); - private: - uint32_t _internal_slot_id() const; - void _internal_set_slot_id(uint32_t value); - public: - - // optional uint64 item_id = 3; - bool has_item_id() const; - private: - bool _internal_has_item_id() const; - public: - void clear_item_id(); - uint64_t item_id() const; - void set_item_id(uint64_t value); - private: - uint64_t _internal_item_id() const; - void _internal_set_item_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgAdjustEquipSlot) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t class_id_; - uint32_t slot_id_; - uint64_t item_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgAdjustEquipSlots : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgAdjustEquipSlots) */ { - public: - inline CMsgAdjustEquipSlots() : CMsgAdjustEquipSlots(nullptr) {} - ~CMsgAdjustEquipSlots() override; - explicit PROTOBUF_CONSTEXPR CMsgAdjustEquipSlots(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgAdjustEquipSlots(const CMsgAdjustEquipSlots& from); - CMsgAdjustEquipSlots(CMsgAdjustEquipSlots&& from) noexcept - : CMsgAdjustEquipSlots() { - *this = ::std::move(from); - } - - inline CMsgAdjustEquipSlots& operator=(const CMsgAdjustEquipSlots& from) { - CopyFrom(from); - return *this; - } - inline CMsgAdjustEquipSlots& operator=(CMsgAdjustEquipSlots&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgAdjustEquipSlots& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgAdjustEquipSlots* internal_default_instance() { - return reinterpret_cast( - &_CMsgAdjustEquipSlots_default_instance_); - } - static constexpr int kIndexInFileMessages = - 79; - - friend void swap(CMsgAdjustEquipSlots& a, CMsgAdjustEquipSlots& b) { - a.Swap(&b); - } - inline void Swap(CMsgAdjustEquipSlots* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgAdjustEquipSlots* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgAdjustEquipSlots* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgAdjustEquipSlots& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgAdjustEquipSlots& from) { - CMsgAdjustEquipSlots::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgAdjustEquipSlots* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgAdjustEquipSlots"; - } - protected: - explicit CMsgAdjustEquipSlots(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSlotsFieldNumber = 1, - kChangeNumFieldNumber = 2, - }; - // repeated .CMsgAdjustEquipSlot slots = 1; - int slots_size() const; - private: - int _internal_slots_size() const; - public: - void clear_slots(); - ::CMsgAdjustEquipSlot* mutable_slots(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgAdjustEquipSlot >* - mutable_slots(); - private: - const ::CMsgAdjustEquipSlot& _internal_slots(int index) const; - ::CMsgAdjustEquipSlot* _internal_add_slots(); - public: - const ::CMsgAdjustEquipSlot& slots(int index) const; - ::CMsgAdjustEquipSlot* add_slots(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgAdjustEquipSlot >& - slots() const; - - // optional uint32 change_num = 2; - bool has_change_num() const; - private: - bool _internal_has_change_num() const; - public: - void clear_change_num(); - uint32_t change_num() const; - void set_change_num(uint32_t value); - private: - uint32_t _internal_change_num() const; - void _internal_set_change_num(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgAdjustEquipSlots) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgAdjustEquipSlot > slots_; - uint32_t change_num_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgOpenCrate : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgOpenCrate) */ { - public: - inline CMsgOpenCrate() : CMsgOpenCrate(nullptr) {} - ~CMsgOpenCrate() override; - explicit PROTOBUF_CONSTEXPR CMsgOpenCrate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgOpenCrate(const CMsgOpenCrate& from); - CMsgOpenCrate(CMsgOpenCrate&& from) noexcept - : CMsgOpenCrate() { - *this = ::std::move(from); - } - - inline CMsgOpenCrate& operator=(const CMsgOpenCrate& from) { - CopyFrom(from); - return *this; - } - inline CMsgOpenCrate& operator=(CMsgOpenCrate&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgOpenCrate& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgOpenCrate* internal_default_instance() { - return reinterpret_cast( - &_CMsgOpenCrate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 80; - - friend void swap(CMsgOpenCrate& a, CMsgOpenCrate& b) { - a.Swap(&b); - } - inline void Swap(CMsgOpenCrate* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgOpenCrate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgOpenCrate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgOpenCrate& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgOpenCrate& from) { - CMsgOpenCrate::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgOpenCrate* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgOpenCrate"; - } - protected: - explicit CMsgOpenCrate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kToolItemIdFieldNumber = 1, - kSubjectItemIdFieldNumber = 2, - kForRentalFieldNumber = 3, - kPointsRemainingFieldNumber = 4, - }; - // optional uint64 tool_item_id = 1; - bool has_tool_item_id() const; - private: - bool _internal_has_tool_item_id() const; - public: - void clear_tool_item_id(); - uint64_t tool_item_id() const; - void set_tool_item_id(uint64_t value); - private: - uint64_t _internal_tool_item_id() const; - void _internal_set_tool_item_id(uint64_t value); - public: - - // optional uint64 subject_item_id = 2; - bool has_subject_item_id() const; - private: - bool _internal_has_subject_item_id() const; - public: - void clear_subject_item_id(); - uint64_t subject_item_id() const; - void set_subject_item_id(uint64_t value); - private: - uint64_t _internal_subject_item_id() const; - void _internal_set_subject_item_id(uint64_t value); - public: - - // optional bool for_rental = 3; - bool has_for_rental() const; - private: - bool _internal_has_for_rental() const; - public: - void clear_for_rental(); - bool for_rental() const; - void set_for_rental(bool value); - private: - bool _internal_for_rental() const; - void _internal_set_for_rental(bool value); - public: - - // optional uint32 points_remaining = 4; - bool has_points_remaining() const; - private: - bool _internal_has_points_remaining() const; - public: - void clear_points_remaining(); - uint32_t points_remaining() const; - void set_points_remaining(uint32_t value); - private: - uint32_t _internal_points_remaining() const; - void _internal_set_points_remaining(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgOpenCrate) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t tool_item_id_; - uint64_t subject_item_id_; - bool for_rental_; - uint32_t points_remaining_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOEconRentalHistory : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconRentalHistory) */ { - public: - inline CSOEconRentalHistory() : CSOEconRentalHistory(nullptr) {} - ~CSOEconRentalHistory() override; - explicit PROTOBUF_CONSTEXPR CSOEconRentalHistory(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOEconRentalHistory(const CSOEconRentalHistory& from); - CSOEconRentalHistory(CSOEconRentalHistory&& from) noexcept - : CSOEconRentalHistory() { - *this = ::std::move(from); - } - - inline CSOEconRentalHistory& operator=(const CSOEconRentalHistory& from) { - CopyFrom(from); - return *this; - } - inline CSOEconRentalHistory& operator=(CSOEconRentalHistory&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOEconRentalHistory& default_instance() { - return *internal_default_instance(); - } - static inline const CSOEconRentalHistory* internal_default_instance() { - return reinterpret_cast( - &_CSOEconRentalHistory_default_instance_); - } - static constexpr int kIndexInFileMessages = - 81; - - friend void swap(CSOEconRentalHistory& a, CSOEconRentalHistory& b) { - a.Swap(&b); - } - inline void Swap(CSOEconRentalHistory* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOEconRentalHistory* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOEconRentalHistory* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOEconRentalHistory& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOEconRentalHistory& from) { - CSOEconRentalHistory::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOEconRentalHistory* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOEconRentalHistory"; - } - protected: - explicit CSOEconRentalHistory(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCrateItemIdFieldNumber = 2, - kAccountIdFieldNumber = 1, - kCrateDefIndexFieldNumber = 3, - kIssueDateFieldNumber = 4, - kExpirationDateFieldNumber = 5, - }; - // optional uint64 crate_item_id = 2 [(.key_field) = true]; - bool has_crate_item_id() const; - private: - bool _internal_has_crate_item_id() const; - public: - void clear_crate_item_id(); - uint64_t crate_item_id() const; - void set_crate_item_id(uint64_t value); - private: - uint64_t _internal_crate_item_id() const; - void _internal_set_crate_item_id(uint64_t value); - public: - - // optional uint32 account_id = 1 [(.key_field) = true]; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 crate_def_index = 3; - bool has_crate_def_index() const; - private: - bool _internal_has_crate_def_index() const; - public: - void clear_crate_def_index(); - uint32_t crate_def_index() const; - void set_crate_def_index(uint32_t value); - private: - uint32_t _internal_crate_def_index() const; - void _internal_set_crate_def_index(uint32_t value); - public: - - // optional uint32 issue_date = 4; - bool has_issue_date() const; - private: - bool _internal_has_issue_date() const; - public: - void clear_issue_date(); - uint32_t issue_date() const; - void set_issue_date(uint32_t value); - private: - uint32_t _internal_issue_date() const; - void _internal_set_issue_date(uint32_t value); - public: - - // optional uint32 expiration_date = 5; - bool has_expiration_date() const; - private: - bool _internal_has_expiration_date() const; - public: - void clear_expiration_date(); - uint32_t expiration_date() const; - void set_expiration_date(uint32_t value); - private: - uint32_t _internal_expiration_date() const; - void _internal_set_expiration_date(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOEconRentalHistory) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t crate_item_id_; - uint32_t account_id_; - uint32_t crate_def_index_; - uint32_t issue_date_; - uint32_t expiration_date_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgAcknowledgeRentalExpiration : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgAcknowledgeRentalExpiration) */ { - public: - inline CMsgAcknowledgeRentalExpiration() : CMsgAcknowledgeRentalExpiration(nullptr) {} - ~CMsgAcknowledgeRentalExpiration() override; - explicit PROTOBUF_CONSTEXPR CMsgAcknowledgeRentalExpiration(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgAcknowledgeRentalExpiration(const CMsgAcknowledgeRentalExpiration& from); - CMsgAcknowledgeRentalExpiration(CMsgAcknowledgeRentalExpiration&& from) noexcept - : CMsgAcknowledgeRentalExpiration() { - *this = ::std::move(from); - } - - inline CMsgAcknowledgeRentalExpiration& operator=(const CMsgAcknowledgeRentalExpiration& from) { - CopyFrom(from); - return *this; - } - inline CMsgAcknowledgeRentalExpiration& operator=(CMsgAcknowledgeRentalExpiration&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgAcknowledgeRentalExpiration& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgAcknowledgeRentalExpiration* internal_default_instance() { - return reinterpret_cast( - &_CMsgAcknowledgeRentalExpiration_default_instance_); - } - static constexpr int kIndexInFileMessages = - 82; - - friend void swap(CMsgAcknowledgeRentalExpiration& a, CMsgAcknowledgeRentalExpiration& b) { - a.Swap(&b); - } - inline void Swap(CMsgAcknowledgeRentalExpiration* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgAcknowledgeRentalExpiration* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgAcknowledgeRentalExpiration* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgAcknowledgeRentalExpiration& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgAcknowledgeRentalExpiration& from) { - CMsgAcknowledgeRentalExpiration::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgAcknowledgeRentalExpiration* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgAcknowledgeRentalExpiration"; - } - protected: - explicit CMsgAcknowledgeRentalExpiration(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCrateItemIdFieldNumber = 1, - }; - // optional uint64 crate_item_id = 1; - bool has_crate_item_id() const; - private: - bool _internal_has_crate_item_id() const; - public: - void clear_crate_item_id(); - uint64_t crate_item_id() const; - void set_crate_item_id(uint64_t value); - private: - uint64_t _internal_crate_item_id() const; - void _internal_set_crate_item_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgAcknowledgeRentalExpiration) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t crate_item_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_base_5fgcmessages_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CGCStorePurchaseInit_LineItem - -// optional uint32 item_def_id = 1; -inline bool CGCStorePurchaseInit_LineItem::_internal_has_item_def_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CGCStorePurchaseInit_LineItem::has_item_def_id() const { - return _internal_has_item_def_id(); -} -inline void CGCStorePurchaseInit_LineItem::clear_item_def_id() { - _impl_.item_def_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CGCStorePurchaseInit_LineItem::_internal_item_def_id() const { - return _impl_.item_def_id_; -} -inline uint32_t CGCStorePurchaseInit_LineItem::item_def_id() const { - // @@protoc_insertion_point(field_get:CGCStorePurchaseInit_LineItem.item_def_id) - return _internal_item_def_id(); -} -inline void CGCStorePurchaseInit_LineItem::_internal_set_item_def_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.item_def_id_ = value; -} -inline void CGCStorePurchaseInit_LineItem::set_item_def_id(uint32_t value) { - _internal_set_item_def_id(value); - // @@protoc_insertion_point(field_set:CGCStorePurchaseInit_LineItem.item_def_id) -} - -// optional uint32 quantity = 2; -inline bool CGCStorePurchaseInit_LineItem::_internal_has_quantity() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CGCStorePurchaseInit_LineItem::has_quantity() const { - return _internal_has_quantity(); -} -inline void CGCStorePurchaseInit_LineItem::clear_quantity() { - _impl_.quantity_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CGCStorePurchaseInit_LineItem::_internal_quantity() const { - return _impl_.quantity_; -} -inline uint32_t CGCStorePurchaseInit_LineItem::quantity() const { - // @@protoc_insertion_point(field_get:CGCStorePurchaseInit_LineItem.quantity) - return _internal_quantity(); -} -inline void CGCStorePurchaseInit_LineItem::_internal_set_quantity(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.quantity_ = value; -} -inline void CGCStorePurchaseInit_LineItem::set_quantity(uint32_t value) { - _internal_set_quantity(value); - // @@protoc_insertion_point(field_set:CGCStorePurchaseInit_LineItem.quantity) -} - -// optional uint32 cost_in_local_currency = 3; -inline bool CGCStorePurchaseInit_LineItem::_internal_has_cost_in_local_currency() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CGCStorePurchaseInit_LineItem::has_cost_in_local_currency() const { - return _internal_has_cost_in_local_currency(); -} -inline void CGCStorePurchaseInit_LineItem::clear_cost_in_local_currency() { - _impl_.cost_in_local_currency_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CGCStorePurchaseInit_LineItem::_internal_cost_in_local_currency() const { - return _impl_.cost_in_local_currency_; -} -inline uint32_t CGCStorePurchaseInit_LineItem::cost_in_local_currency() const { - // @@protoc_insertion_point(field_get:CGCStorePurchaseInit_LineItem.cost_in_local_currency) - return _internal_cost_in_local_currency(); -} -inline void CGCStorePurchaseInit_LineItem::_internal_set_cost_in_local_currency(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.cost_in_local_currency_ = value; -} -inline void CGCStorePurchaseInit_LineItem::set_cost_in_local_currency(uint32_t value) { - _internal_set_cost_in_local_currency(value); - // @@protoc_insertion_point(field_set:CGCStorePurchaseInit_LineItem.cost_in_local_currency) -} - -// optional uint32 purchase_type = 4; -inline bool CGCStorePurchaseInit_LineItem::_internal_has_purchase_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CGCStorePurchaseInit_LineItem::has_purchase_type() const { - return _internal_has_purchase_type(); -} -inline void CGCStorePurchaseInit_LineItem::clear_purchase_type() { - _impl_.purchase_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CGCStorePurchaseInit_LineItem::_internal_purchase_type() const { - return _impl_.purchase_type_; -} -inline uint32_t CGCStorePurchaseInit_LineItem::purchase_type() const { - // @@protoc_insertion_point(field_get:CGCStorePurchaseInit_LineItem.purchase_type) - return _internal_purchase_type(); -} -inline void CGCStorePurchaseInit_LineItem::_internal_set_purchase_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.purchase_type_ = value; -} -inline void CGCStorePurchaseInit_LineItem::set_purchase_type(uint32_t value) { - _internal_set_purchase_type(value); - // @@protoc_insertion_point(field_set:CGCStorePurchaseInit_LineItem.purchase_type) -} - -// optional uint64 supplemental_data = 5; -inline bool CGCStorePurchaseInit_LineItem::_internal_has_supplemental_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CGCStorePurchaseInit_LineItem::has_supplemental_data() const { - return _internal_has_supplemental_data(); -} -inline void CGCStorePurchaseInit_LineItem::clear_supplemental_data() { - _impl_.supplemental_data_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CGCStorePurchaseInit_LineItem::_internal_supplemental_data() const { - return _impl_.supplemental_data_; -} -inline uint64_t CGCStorePurchaseInit_LineItem::supplemental_data() const { - // @@protoc_insertion_point(field_get:CGCStorePurchaseInit_LineItem.supplemental_data) - return _internal_supplemental_data(); -} -inline void CGCStorePurchaseInit_LineItem::_internal_set_supplemental_data(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.supplemental_data_ = value; -} -inline void CGCStorePurchaseInit_LineItem::set_supplemental_data(uint64_t value) { - _internal_set_supplemental_data(value); - // @@protoc_insertion_point(field_set:CGCStorePurchaseInit_LineItem.supplemental_data) -} - -// ------------------------------------------------------------------- - -// CMsgGCStorePurchaseInit - -// optional string country = 1; -inline bool CMsgGCStorePurchaseInit::_internal_has_country() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCStorePurchaseInit::has_country() const { - return _internal_has_country(); -} -inline void CMsgGCStorePurchaseInit::clear_country() { - _impl_.country_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCStorePurchaseInit::country() const { - // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseInit.country) - return _internal_country(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCStorePurchaseInit::set_country(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.country_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseInit.country) -} -inline std::string* CMsgGCStorePurchaseInit::mutable_country() { - std::string* _s = _internal_mutable_country(); - // @@protoc_insertion_point(field_mutable:CMsgGCStorePurchaseInit.country) - return _s; -} -inline const std::string& CMsgGCStorePurchaseInit::_internal_country() const { - return _impl_.country_.Get(); -} -inline void CMsgGCStorePurchaseInit::_internal_set_country(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.country_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCStorePurchaseInit::_internal_mutable_country() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.country_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCStorePurchaseInit::release_country() { - // @@protoc_insertion_point(field_release:CMsgGCStorePurchaseInit.country) - if (!_internal_has_country()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.country_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.country_.IsDefault()) { - _impl_.country_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCStorePurchaseInit::set_allocated_country(std::string* country) { - if (country != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.country_.SetAllocated(country, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.country_.IsDefault()) { - _impl_.country_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCStorePurchaseInit.country) -} - -// optional int32 language = 2; -inline bool CMsgGCStorePurchaseInit::_internal_has_language() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCStorePurchaseInit::has_language() const { - return _internal_has_language(); -} -inline void CMsgGCStorePurchaseInit::clear_language() { - _impl_.language_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgGCStorePurchaseInit::_internal_language() const { - return _impl_.language_; -} -inline int32_t CMsgGCStorePurchaseInit::language() const { - // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseInit.language) - return _internal_language(); -} -inline void CMsgGCStorePurchaseInit::_internal_set_language(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.language_ = value; -} -inline void CMsgGCStorePurchaseInit::set_language(int32_t value) { - _internal_set_language(value); - // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseInit.language) -} - -// optional int32 currency = 3; -inline bool CMsgGCStorePurchaseInit::_internal_has_currency() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCStorePurchaseInit::has_currency() const { - return _internal_has_currency(); -} -inline void CMsgGCStorePurchaseInit::clear_currency() { - _impl_.currency_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CMsgGCStorePurchaseInit::_internal_currency() const { - return _impl_.currency_; -} -inline int32_t CMsgGCStorePurchaseInit::currency() const { - // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseInit.currency) - return _internal_currency(); -} -inline void CMsgGCStorePurchaseInit::_internal_set_currency(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.currency_ = value; -} -inline void CMsgGCStorePurchaseInit::set_currency(int32_t value) { - _internal_set_currency(value); - // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseInit.currency) -} - -// repeated .CGCStorePurchaseInit_LineItem line_items = 4; -inline int CMsgGCStorePurchaseInit::_internal_line_items_size() const { - return _impl_.line_items_.size(); -} -inline int CMsgGCStorePurchaseInit::line_items_size() const { - return _internal_line_items_size(); -} -inline void CMsgGCStorePurchaseInit::clear_line_items() { - _impl_.line_items_.Clear(); -} -inline ::CGCStorePurchaseInit_LineItem* CMsgGCStorePurchaseInit::mutable_line_items(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCStorePurchaseInit.line_items) - return _impl_.line_items_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGCStorePurchaseInit_LineItem >* -CMsgGCStorePurchaseInit::mutable_line_items() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCStorePurchaseInit.line_items) - return &_impl_.line_items_; -} -inline const ::CGCStorePurchaseInit_LineItem& CMsgGCStorePurchaseInit::_internal_line_items(int index) const { - return _impl_.line_items_.Get(index); -} -inline const ::CGCStorePurchaseInit_LineItem& CMsgGCStorePurchaseInit::line_items(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseInit.line_items) - return _internal_line_items(index); -} -inline ::CGCStorePurchaseInit_LineItem* CMsgGCStorePurchaseInit::_internal_add_line_items() { - return _impl_.line_items_.Add(); -} -inline ::CGCStorePurchaseInit_LineItem* CMsgGCStorePurchaseInit::add_line_items() { - ::CGCStorePurchaseInit_LineItem* _add = _internal_add_line_items(); - // @@protoc_insertion_point(field_add:CMsgGCStorePurchaseInit.line_items) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGCStorePurchaseInit_LineItem >& -CMsgGCStorePurchaseInit::line_items() const { - // @@protoc_insertion_point(field_list:CMsgGCStorePurchaseInit.line_items) - return _impl_.line_items_; -} - -// ------------------------------------------------------------------- - -// CMsgGCStorePurchaseInitResponse - -// optional int32 result = 1; -inline bool CMsgGCStorePurchaseInitResponse::_internal_has_result() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCStorePurchaseInitResponse::has_result() const { - return _internal_has_result(); -} -inline void CMsgGCStorePurchaseInitResponse::clear_result() { - _impl_.result_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CMsgGCStorePurchaseInitResponse::_internal_result() const { - return _impl_.result_; -} -inline int32_t CMsgGCStorePurchaseInitResponse::result() const { - // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseInitResponse.result) - return _internal_result(); -} -inline void CMsgGCStorePurchaseInitResponse::_internal_set_result(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.result_ = value; -} -inline void CMsgGCStorePurchaseInitResponse::set_result(int32_t value) { - _internal_set_result(value); - // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseInitResponse.result) -} - -// optional uint64 txn_id = 2; -inline bool CMsgGCStorePurchaseInitResponse::_internal_has_txn_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCStorePurchaseInitResponse::has_txn_id() const { - return _internal_has_txn_id(); -} -inline void CMsgGCStorePurchaseInitResponse::clear_txn_id() { - _impl_.txn_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgGCStorePurchaseInitResponse::_internal_txn_id() const { - return _impl_.txn_id_; -} -inline uint64_t CMsgGCStorePurchaseInitResponse::txn_id() const { - // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseInitResponse.txn_id) - return _internal_txn_id(); -} -inline void CMsgGCStorePurchaseInitResponse::_internal_set_txn_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.txn_id_ = value; -} -inline void CMsgGCStorePurchaseInitResponse::set_txn_id(uint64_t value) { - _internal_set_txn_id(value); - // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseInitResponse.txn_id) -} - -// optional string url = 3; -inline bool CMsgGCStorePurchaseInitResponse::_internal_has_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCStorePurchaseInitResponse::has_url() const { - return _internal_has_url(); -} -inline void CMsgGCStorePurchaseInitResponse::clear_url() { - _impl_.url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCStorePurchaseInitResponse::url() const { - // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseInitResponse.url) - return _internal_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCStorePurchaseInitResponse::set_url(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseInitResponse.url) -} -inline std::string* CMsgGCStorePurchaseInitResponse::mutable_url() { - std::string* _s = _internal_mutable_url(); - // @@protoc_insertion_point(field_mutable:CMsgGCStorePurchaseInitResponse.url) - return _s; -} -inline const std::string& CMsgGCStorePurchaseInitResponse::_internal_url() const { - return _impl_.url_.Get(); -} -inline void CMsgGCStorePurchaseInitResponse::_internal_set_url(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.url_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCStorePurchaseInitResponse::_internal_mutable_url() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.url_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCStorePurchaseInitResponse::release_url() { - // @@protoc_insertion_point(field_release:CMsgGCStorePurchaseInitResponse.url) - if (!_internal_has_url()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.url_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.url_.IsDefault()) { - _impl_.url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCStorePurchaseInitResponse::set_allocated_url(std::string* url) { - if (url != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.url_.SetAllocated(url, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.url_.IsDefault()) { - _impl_.url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCStorePurchaseInitResponse.url) -} - -// repeated uint64 item_ids = 4; -inline int CMsgGCStorePurchaseInitResponse::_internal_item_ids_size() const { - return _impl_.item_ids_.size(); -} -inline int CMsgGCStorePurchaseInitResponse::item_ids_size() const { - return _internal_item_ids_size(); -} -inline void CMsgGCStorePurchaseInitResponse::clear_item_ids() { - _impl_.item_ids_.Clear(); -} -inline uint64_t CMsgGCStorePurchaseInitResponse::_internal_item_ids(int index) const { - return _impl_.item_ids_.Get(index); -} -inline uint64_t CMsgGCStorePurchaseInitResponse::item_ids(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseInitResponse.item_ids) - return _internal_item_ids(index); -} -inline void CMsgGCStorePurchaseInitResponse::set_item_ids(int index, uint64_t value) { - _impl_.item_ids_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseInitResponse.item_ids) -} -inline void CMsgGCStorePurchaseInitResponse::_internal_add_item_ids(uint64_t value) { - _impl_.item_ids_.Add(value); -} -inline void CMsgGCStorePurchaseInitResponse::add_item_ids(uint64_t value) { - _internal_add_item_ids(value); - // @@protoc_insertion_point(field_add:CMsgGCStorePurchaseInitResponse.item_ids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CMsgGCStorePurchaseInitResponse::_internal_item_ids() const { - return _impl_.item_ids_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CMsgGCStorePurchaseInitResponse::item_ids() const { - // @@protoc_insertion_point(field_list:CMsgGCStorePurchaseInitResponse.item_ids) - return _internal_item_ids(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CMsgGCStorePurchaseInitResponse::_internal_mutable_item_ids() { - return &_impl_.item_ids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CMsgGCStorePurchaseInitResponse::mutable_item_ids() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCStorePurchaseInitResponse.item_ids) - return _internal_mutable_item_ids(); -} - -// ------------------------------------------------------------------- - -// CSOPartyInvite - -// optional uint64 group_id = 1 [(.key_field) = true]; -inline bool CSOPartyInvite::_internal_has_group_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOPartyInvite::has_group_id() const { - return _internal_has_group_id(); -} -inline void CSOPartyInvite::clear_group_id() { - _impl_.group_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CSOPartyInvite::_internal_group_id() const { - return _impl_.group_id_; -} -inline uint64_t CSOPartyInvite::group_id() const { - // @@protoc_insertion_point(field_get:CSOPartyInvite.group_id) - return _internal_group_id(); -} -inline void CSOPartyInvite::_internal_set_group_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.group_id_ = value; -} -inline void CSOPartyInvite::set_group_id(uint64_t value) { - _internal_set_group_id(value); - // @@protoc_insertion_point(field_set:CSOPartyInvite.group_id) -} - -// optional fixed64 sender_id = 2; -inline bool CSOPartyInvite::_internal_has_sender_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOPartyInvite::has_sender_id() const { - return _internal_has_sender_id(); -} -inline void CSOPartyInvite::clear_sender_id() { - _impl_.sender_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CSOPartyInvite::_internal_sender_id() const { - return _impl_.sender_id_; -} -inline uint64_t CSOPartyInvite::sender_id() const { - // @@protoc_insertion_point(field_get:CSOPartyInvite.sender_id) - return _internal_sender_id(); -} -inline void CSOPartyInvite::_internal_set_sender_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.sender_id_ = value; -} -inline void CSOPartyInvite::set_sender_id(uint64_t value) { - _internal_set_sender_id(value); - // @@protoc_insertion_point(field_set:CSOPartyInvite.sender_id) -} - -// optional string sender_name = 3; -inline bool CSOPartyInvite::_internal_has_sender_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOPartyInvite::has_sender_name() const { - return _internal_has_sender_name(); -} -inline void CSOPartyInvite::clear_sender_name() { - _impl_.sender_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSOPartyInvite::sender_name() const { - // @@protoc_insertion_point(field_get:CSOPartyInvite.sender_name) - return _internal_sender_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSOPartyInvite::set_sender_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sender_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSOPartyInvite.sender_name) -} -inline std::string* CSOPartyInvite::mutable_sender_name() { - std::string* _s = _internal_mutable_sender_name(); - // @@protoc_insertion_point(field_mutable:CSOPartyInvite.sender_name) - return _s; -} -inline const std::string& CSOPartyInvite::_internal_sender_name() const { - return _impl_.sender_name_.Get(); -} -inline void CSOPartyInvite::_internal_set_sender_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sender_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSOPartyInvite::_internal_mutable_sender_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.sender_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSOPartyInvite::release_sender_name() { - // @@protoc_insertion_point(field_release:CSOPartyInvite.sender_name) - if (!_internal_has_sender_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.sender_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sender_name_.IsDefault()) { - _impl_.sender_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSOPartyInvite::set_allocated_sender_name(std::string* sender_name) { - if (sender_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.sender_name_.SetAllocated(sender_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sender_name_.IsDefault()) { - _impl_.sender_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSOPartyInvite.sender_name) -} - -// ------------------------------------------------------------------- - -// CSOLobbyInvite - -// optional uint64 group_id = 1 [(.key_field) = true]; -inline bool CSOLobbyInvite::_internal_has_group_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOLobbyInvite::has_group_id() const { - return _internal_has_group_id(); -} -inline void CSOLobbyInvite::clear_group_id() { - _impl_.group_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CSOLobbyInvite::_internal_group_id() const { - return _impl_.group_id_; -} -inline uint64_t CSOLobbyInvite::group_id() const { - // @@protoc_insertion_point(field_get:CSOLobbyInvite.group_id) - return _internal_group_id(); -} -inline void CSOLobbyInvite::_internal_set_group_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.group_id_ = value; -} -inline void CSOLobbyInvite::set_group_id(uint64_t value) { - _internal_set_group_id(value); - // @@protoc_insertion_point(field_set:CSOLobbyInvite.group_id) -} - -// optional fixed64 sender_id = 2; -inline bool CSOLobbyInvite::_internal_has_sender_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOLobbyInvite::has_sender_id() const { - return _internal_has_sender_id(); -} -inline void CSOLobbyInvite::clear_sender_id() { - _impl_.sender_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CSOLobbyInvite::_internal_sender_id() const { - return _impl_.sender_id_; -} -inline uint64_t CSOLobbyInvite::sender_id() const { - // @@protoc_insertion_point(field_get:CSOLobbyInvite.sender_id) - return _internal_sender_id(); -} -inline void CSOLobbyInvite::_internal_set_sender_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.sender_id_ = value; -} -inline void CSOLobbyInvite::set_sender_id(uint64_t value) { - _internal_set_sender_id(value); - // @@protoc_insertion_point(field_set:CSOLobbyInvite.sender_id) -} - -// optional string sender_name = 3; -inline bool CSOLobbyInvite::_internal_has_sender_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOLobbyInvite::has_sender_name() const { - return _internal_has_sender_name(); -} -inline void CSOLobbyInvite::clear_sender_name() { - _impl_.sender_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSOLobbyInvite::sender_name() const { - // @@protoc_insertion_point(field_get:CSOLobbyInvite.sender_name) - return _internal_sender_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSOLobbyInvite::set_sender_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sender_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSOLobbyInvite.sender_name) -} -inline std::string* CSOLobbyInvite::mutable_sender_name() { - std::string* _s = _internal_mutable_sender_name(); - // @@protoc_insertion_point(field_mutable:CSOLobbyInvite.sender_name) - return _s; -} -inline const std::string& CSOLobbyInvite::_internal_sender_name() const { - return _impl_.sender_name_.Get(); -} -inline void CSOLobbyInvite::_internal_set_sender_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sender_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSOLobbyInvite::_internal_mutable_sender_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.sender_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSOLobbyInvite::release_sender_name() { - // @@protoc_insertion_point(field_release:CSOLobbyInvite.sender_name) - if (!_internal_has_sender_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.sender_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sender_name_.IsDefault()) { - _impl_.sender_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSOLobbyInvite::set_allocated_sender_name(std::string* sender_name) { - if (sender_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.sender_name_.SetAllocated(sender_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sender_name_.IsDefault()) { - _impl_.sender_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSOLobbyInvite.sender_name) -} - -// ------------------------------------------------------------------- - -// CMsgSystemBroadcast - -// optional string message = 1; -inline bool CMsgSystemBroadcast::_internal_has_message() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSystemBroadcast::has_message() const { - return _internal_has_message(); -} -inline void CMsgSystemBroadcast::clear_message() { - _impl_.message_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSystemBroadcast::message() const { - // @@protoc_insertion_point(field_get:CMsgSystemBroadcast.message) - return _internal_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSystemBroadcast::set_message(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSystemBroadcast.message) -} -inline std::string* CMsgSystemBroadcast::mutable_message() { - std::string* _s = _internal_mutable_message(); - // @@protoc_insertion_point(field_mutable:CMsgSystemBroadcast.message) - return _s; -} -inline const std::string& CMsgSystemBroadcast::_internal_message() const { - return _impl_.message_.Get(); -} -inline void CMsgSystemBroadcast::_internal_set_message(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.message_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSystemBroadcast::_internal_mutable_message() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.message_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSystemBroadcast::release_message() { - // @@protoc_insertion_point(field_release:CMsgSystemBroadcast.message) - if (!_internal_has_message()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.message_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSystemBroadcast::set_allocated_message(std::string* message) { - if (message != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.message_.SetAllocated(message, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSystemBroadcast.message) -} - -// ------------------------------------------------------------------- - -// CMsgInviteToParty - -// optional fixed64 steam_id = 1; -inline bool CMsgInviteToParty::_internal_has_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgInviteToParty::has_steam_id() const { - return _internal_has_steam_id(); -} -inline void CMsgInviteToParty::clear_steam_id() { - _impl_.steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgInviteToParty::_internal_steam_id() const { - return _impl_.steam_id_; -} -inline uint64_t CMsgInviteToParty::steam_id() const { - // @@protoc_insertion_point(field_get:CMsgInviteToParty.steam_id) - return _internal_steam_id(); -} -inline void CMsgInviteToParty::_internal_set_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steam_id_ = value; -} -inline void CMsgInviteToParty::set_steam_id(uint64_t value) { - _internal_set_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgInviteToParty.steam_id) -} - -// optional uint32 client_version = 2; -inline bool CMsgInviteToParty::_internal_has_client_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgInviteToParty::has_client_version() const { - return _internal_has_client_version(); -} -inline void CMsgInviteToParty::clear_client_version() { - _impl_.client_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgInviteToParty::_internal_client_version() const { - return _impl_.client_version_; -} -inline uint32_t CMsgInviteToParty::client_version() const { - // @@protoc_insertion_point(field_get:CMsgInviteToParty.client_version) - return _internal_client_version(); -} -inline void CMsgInviteToParty::_internal_set_client_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.client_version_ = value; -} -inline void CMsgInviteToParty::set_client_version(uint32_t value) { - _internal_set_client_version(value); - // @@protoc_insertion_point(field_set:CMsgInviteToParty.client_version) -} - -// optional uint32 team_invite = 3; -inline bool CMsgInviteToParty::_internal_has_team_invite() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgInviteToParty::has_team_invite() const { - return _internal_has_team_invite(); -} -inline void CMsgInviteToParty::clear_team_invite() { - _impl_.team_invite_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgInviteToParty::_internal_team_invite() const { - return _impl_.team_invite_; -} -inline uint32_t CMsgInviteToParty::team_invite() const { - // @@protoc_insertion_point(field_get:CMsgInviteToParty.team_invite) - return _internal_team_invite(); -} -inline void CMsgInviteToParty::_internal_set_team_invite(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.team_invite_ = value; -} -inline void CMsgInviteToParty::set_team_invite(uint32_t value) { - _internal_set_team_invite(value); - // @@protoc_insertion_point(field_set:CMsgInviteToParty.team_invite) -} - -// ------------------------------------------------------------------- - -// CMsgInvitationCreated - -// optional uint64 group_id = 1; -inline bool CMsgInvitationCreated::_internal_has_group_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgInvitationCreated::has_group_id() const { - return _internal_has_group_id(); -} -inline void CMsgInvitationCreated::clear_group_id() { - _impl_.group_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgInvitationCreated::_internal_group_id() const { - return _impl_.group_id_; -} -inline uint64_t CMsgInvitationCreated::group_id() const { - // @@protoc_insertion_point(field_get:CMsgInvitationCreated.group_id) - return _internal_group_id(); -} -inline void CMsgInvitationCreated::_internal_set_group_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.group_id_ = value; -} -inline void CMsgInvitationCreated::set_group_id(uint64_t value) { - _internal_set_group_id(value); - // @@protoc_insertion_point(field_set:CMsgInvitationCreated.group_id) -} - -// optional fixed64 steam_id = 2; -inline bool CMsgInvitationCreated::_internal_has_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgInvitationCreated::has_steam_id() const { - return _internal_has_steam_id(); -} -inline void CMsgInvitationCreated::clear_steam_id() { - _impl_.steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgInvitationCreated::_internal_steam_id() const { - return _impl_.steam_id_; -} -inline uint64_t CMsgInvitationCreated::steam_id() const { - // @@protoc_insertion_point(field_get:CMsgInvitationCreated.steam_id) - return _internal_steam_id(); -} -inline void CMsgInvitationCreated::_internal_set_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.steam_id_ = value; -} -inline void CMsgInvitationCreated::set_steam_id(uint64_t value) { - _internal_set_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgInvitationCreated.steam_id) -} - -// ------------------------------------------------------------------- - -// CMsgPartyInviteResponse - -// optional uint64 party_id = 1; -inline bool CMsgPartyInviteResponse::_internal_has_party_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgPartyInviteResponse::has_party_id() const { - return _internal_has_party_id(); -} -inline void CMsgPartyInviteResponse::clear_party_id() { - _impl_.party_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgPartyInviteResponse::_internal_party_id() const { - return _impl_.party_id_; -} -inline uint64_t CMsgPartyInviteResponse::party_id() const { - // @@protoc_insertion_point(field_get:CMsgPartyInviteResponse.party_id) - return _internal_party_id(); -} -inline void CMsgPartyInviteResponse::_internal_set_party_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.party_id_ = value; -} -inline void CMsgPartyInviteResponse::set_party_id(uint64_t value) { - _internal_set_party_id(value); - // @@protoc_insertion_point(field_set:CMsgPartyInviteResponse.party_id) -} - -// optional bool accept = 2; -inline bool CMsgPartyInviteResponse::_internal_has_accept() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgPartyInviteResponse::has_accept() const { - return _internal_has_accept(); -} -inline void CMsgPartyInviteResponse::clear_accept() { - _impl_.accept_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CMsgPartyInviteResponse::_internal_accept() const { - return _impl_.accept_; -} -inline bool CMsgPartyInviteResponse::accept() const { - // @@protoc_insertion_point(field_get:CMsgPartyInviteResponse.accept) - return _internal_accept(); -} -inline void CMsgPartyInviteResponse::_internal_set_accept(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.accept_ = value; -} -inline void CMsgPartyInviteResponse::set_accept(bool value) { - _internal_set_accept(value); - // @@protoc_insertion_point(field_set:CMsgPartyInviteResponse.accept) -} - -// optional uint32 client_version = 3; -inline bool CMsgPartyInviteResponse::_internal_has_client_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgPartyInviteResponse::has_client_version() const { - return _internal_has_client_version(); -} -inline void CMsgPartyInviteResponse::clear_client_version() { - _impl_.client_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgPartyInviteResponse::_internal_client_version() const { - return _impl_.client_version_; -} -inline uint32_t CMsgPartyInviteResponse::client_version() const { - // @@protoc_insertion_point(field_get:CMsgPartyInviteResponse.client_version) - return _internal_client_version(); -} -inline void CMsgPartyInviteResponse::_internal_set_client_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.client_version_ = value; -} -inline void CMsgPartyInviteResponse::set_client_version(uint32_t value) { - _internal_set_client_version(value); - // @@protoc_insertion_point(field_set:CMsgPartyInviteResponse.client_version) -} - -// optional uint32 team_invite = 4; -inline bool CMsgPartyInviteResponse::_internal_has_team_invite() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgPartyInviteResponse::has_team_invite() const { - return _internal_has_team_invite(); -} -inline void CMsgPartyInviteResponse::clear_team_invite() { - _impl_.team_invite_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgPartyInviteResponse::_internal_team_invite() const { - return _impl_.team_invite_; -} -inline uint32_t CMsgPartyInviteResponse::team_invite() const { - // @@protoc_insertion_point(field_get:CMsgPartyInviteResponse.team_invite) - return _internal_team_invite(); -} -inline void CMsgPartyInviteResponse::_internal_set_team_invite(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.team_invite_ = value; -} -inline void CMsgPartyInviteResponse::set_team_invite(uint32_t value) { - _internal_set_team_invite(value); - // @@protoc_insertion_point(field_set:CMsgPartyInviteResponse.team_invite) -} - -// ------------------------------------------------------------------- - -// CMsgKickFromParty - -// optional fixed64 steam_id = 1; -inline bool CMsgKickFromParty::_internal_has_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgKickFromParty::has_steam_id() const { - return _internal_has_steam_id(); -} -inline void CMsgKickFromParty::clear_steam_id() { - _impl_.steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgKickFromParty::_internal_steam_id() const { - return _impl_.steam_id_; -} -inline uint64_t CMsgKickFromParty::steam_id() const { - // @@protoc_insertion_point(field_get:CMsgKickFromParty.steam_id) - return _internal_steam_id(); -} -inline void CMsgKickFromParty::_internal_set_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steam_id_ = value; -} -inline void CMsgKickFromParty::set_steam_id(uint64_t value) { - _internal_set_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgKickFromParty.steam_id) -} - -// ------------------------------------------------------------------- - -// CMsgLeaveParty - -// ------------------------------------------------------------------- - -// CMsgServerAvailable - -// ------------------------------------------------------------------- - -// CMsgLANServerAvailable - -// optional fixed64 lobby_id = 1; -inline bool CMsgLANServerAvailable::_internal_has_lobby_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgLANServerAvailable::has_lobby_id() const { - return _internal_has_lobby_id(); -} -inline void CMsgLANServerAvailable::clear_lobby_id() { - _impl_.lobby_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgLANServerAvailable::_internal_lobby_id() const { - return _impl_.lobby_id_; -} -inline uint64_t CMsgLANServerAvailable::lobby_id() const { - // @@protoc_insertion_point(field_get:CMsgLANServerAvailable.lobby_id) - return _internal_lobby_id(); -} -inline void CMsgLANServerAvailable::_internal_set_lobby_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.lobby_id_ = value; -} -inline void CMsgLANServerAvailable::set_lobby_id(uint64_t value) { - _internal_set_lobby_id(value); - // @@protoc_insertion_point(field_set:CMsgLANServerAvailable.lobby_id) -} - -// ------------------------------------------------------------------- - -// CSOEconGameAccountClient - -// optional uint32 additional_backpack_slots = 1 [default = 0]; -inline bool CSOEconGameAccountClient::_internal_has_additional_backpack_slots() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOEconGameAccountClient::has_additional_backpack_slots() const { - return _internal_has_additional_backpack_slots(); -} -inline void CSOEconGameAccountClient::clear_additional_backpack_slots() { - _impl_.additional_backpack_slots_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOEconGameAccountClient::_internal_additional_backpack_slots() const { - return _impl_.additional_backpack_slots_; -} -inline uint32_t CSOEconGameAccountClient::additional_backpack_slots() const { - // @@protoc_insertion_point(field_get:CSOEconGameAccountClient.additional_backpack_slots) - return _internal_additional_backpack_slots(); -} -inline void CSOEconGameAccountClient::_internal_set_additional_backpack_slots(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.additional_backpack_slots_ = value; -} -inline void CSOEconGameAccountClient::set_additional_backpack_slots(uint32_t value) { - _internal_set_additional_backpack_slots(value); - // @@protoc_insertion_point(field_set:CSOEconGameAccountClient.additional_backpack_slots) -} - -// optional fixed32 trade_ban_expiration = 6; -inline bool CSOEconGameAccountClient::_internal_has_trade_ban_expiration() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOEconGameAccountClient::has_trade_ban_expiration() const { - return _internal_has_trade_ban_expiration(); -} -inline void CSOEconGameAccountClient::clear_trade_ban_expiration() { - _impl_.trade_ban_expiration_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSOEconGameAccountClient::_internal_trade_ban_expiration() const { - return _impl_.trade_ban_expiration_; -} -inline uint32_t CSOEconGameAccountClient::trade_ban_expiration() const { - // @@protoc_insertion_point(field_get:CSOEconGameAccountClient.trade_ban_expiration) - return _internal_trade_ban_expiration(); -} -inline void CSOEconGameAccountClient::_internal_set_trade_ban_expiration(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.trade_ban_expiration_ = value; -} -inline void CSOEconGameAccountClient::set_trade_ban_expiration(uint32_t value) { - _internal_set_trade_ban_expiration(value); - // @@protoc_insertion_point(field_set:CSOEconGameAccountClient.trade_ban_expiration) -} - -// optional fixed32 bonus_xp_timestamp_refresh = 12; -inline bool CSOEconGameAccountClient::_internal_has_bonus_xp_timestamp_refresh() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOEconGameAccountClient::has_bonus_xp_timestamp_refresh() const { - return _internal_has_bonus_xp_timestamp_refresh(); -} -inline void CSOEconGameAccountClient::clear_bonus_xp_timestamp_refresh() { - _impl_.bonus_xp_timestamp_refresh_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CSOEconGameAccountClient::_internal_bonus_xp_timestamp_refresh() const { - return _impl_.bonus_xp_timestamp_refresh_; -} -inline uint32_t CSOEconGameAccountClient::bonus_xp_timestamp_refresh() const { - // @@protoc_insertion_point(field_get:CSOEconGameAccountClient.bonus_xp_timestamp_refresh) - return _internal_bonus_xp_timestamp_refresh(); -} -inline void CSOEconGameAccountClient::_internal_set_bonus_xp_timestamp_refresh(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.bonus_xp_timestamp_refresh_ = value; -} -inline void CSOEconGameAccountClient::set_bonus_xp_timestamp_refresh(uint32_t value) { - _internal_set_bonus_xp_timestamp_refresh(value); - // @@protoc_insertion_point(field_set:CSOEconGameAccountClient.bonus_xp_timestamp_refresh) -} - -// optional uint32 bonus_xp_usedflags = 13; -inline bool CSOEconGameAccountClient::_internal_has_bonus_xp_usedflags() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSOEconGameAccountClient::has_bonus_xp_usedflags() const { - return _internal_has_bonus_xp_usedflags(); -} -inline void CSOEconGameAccountClient::clear_bonus_xp_usedflags() { - _impl_.bonus_xp_usedflags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CSOEconGameAccountClient::_internal_bonus_xp_usedflags() const { - return _impl_.bonus_xp_usedflags_; -} -inline uint32_t CSOEconGameAccountClient::bonus_xp_usedflags() const { - // @@protoc_insertion_point(field_get:CSOEconGameAccountClient.bonus_xp_usedflags) - return _internal_bonus_xp_usedflags(); -} -inline void CSOEconGameAccountClient::_internal_set_bonus_xp_usedflags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.bonus_xp_usedflags_ = value; -} -inline void CSOEconGameAccountClient::set_bonus_xp_usedflags(uint32_t value) { - _internal_set_bonus_xp_usedflags(value); - // @@protoc_insertion_point(field_set:CSOEconGameAccountClient.bonus_xp_usedflags) -} - -// optional uint32 elevated_state = 14; -inline bool CSOEconGameAccountClient::_internal_has_elevated_state() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSOEconGameAccountClient::has_elevated_state() const { - return _internal_has_elevated_state(); -} -inline void CSOEconGameAccountClient::clear_elevated_state() { - _impl_.elevated_state_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CSOEconGameAccountClient::_internal_elevated_state() const { - return _impl_.elevated_state_; -} -inline uint32_t CSOEconGameAccountClient::elevated_state() const { - // @@protoc_insertion_point(field_get:CSOEconGameAccountClient.elevated_state) - return _internal_elevated_state(); -} -inline void CSOEconGameAccountClient::_internal_set_elevated_state(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.elevated_state_ = value; -} -inline void CSOEconGameAccountClient::set_elevated_state(uint32_t value) { - _internal_set_elevated_state(value); - // @@protoc_insertion_point(field_set:CSOEconGameAccountClient.elevated_state) -} - -// optional uint32 elevated_timestamp = 15; -inline bool CSOEconGameAccountClient::_internal_has_elevated_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSOEconGameAccountClient::has_elevated_timestamp() const { - return _internal_has_elevated_timestamp(); -} -inline void CSOEconGameAccountClient::clear_elevated_timestamp() { - _impl_.elevated_timestamp_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CSOEconGameAccountClient::_internal_elevated_timestamp() const { - return _impl_.elevated_timestamp_; -} -inline uint32_t CSOEconGameAccountClient::elevated_timestamp() const { - // @@protoc_insertion_point(field_get:CSOEconGameAccountClient.elevated_timestamp) - return _internal_elevated_timestamp(); -} -inline void CSOEconGameAccountClient::_internal_set_elevated_timestamp(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.elevated_timestamp_ = value; -} -inline void CSOEconGameAccountClient::set_elevated_timestamp(uint32_t value) { - _internal_set_elevated_timestamp(value); - // @@protoc_insertion_point(field_set:CSOEconGameAccountClient.elevated_timestamp) -} - -// ------------------------------------------------------------------- - -// CSOItemCriteriaCondition - -// optional int32 op = 1; -inline bool CSOItemCriteriaCondition::_internal_has_op() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOItemCriteriaCondition::has_op() const { - return _internal_has_op(); -} -inline void CSOItemCriteriaCondition::clear_op() { - _impl_.op_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CSOItemCriteriaCondition::_internal_op() const { - return _impl_.op_; -} -inline int32_t CSOItemCriteriaCondition::op() const { - // @@protoc_insertion_point(field_get:CSOItemCriteriaCondition.op) - return _internal_op(); -} -inline void CSOItemCriteriaCondition::_internal_set_op(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.op_ = value; -} -inline void CSOItemCriteriaCondition::set_op(int32_t value) { - _internal_set_op(value); - // @@protoc_insertion_point(field_set:CSOItemCriteriaCondition.op) -} - -// optional string field = 2; -inline bool CSOItemCriteriaCondition::_internal_has_field() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOItemCriteriaCondition::has_field() const { - return _internal_has_field(); -} -inline void CSOItemCriteriaCondition::clear_field() { - _impl_.field_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSOItemCriteriaCondition::field() const { - // @@protoc_insertion_point(field_get:CSOItemCriteriaCondition.field) - return _internal_field(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSOItemCriteriaCondition::set_field(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.field_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSOItemCriteriaCondition.field) -} -inline std::string* CSOItemCriteriaCondition::mutable_field() { - std::string* _s = _internal_mutable_field(); - // @@protoc_insertion_point(field_mutable:CSOItemCriteriaCondition.field) - return _s; -} -inline const std::string& CSOItemCriteriaCondition::_internal_field() const { - return _impl_.field_.Get(); -} -inline void CSOItemCriteriaCondition::_internal_set_field(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.field_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSOItemCriteriaCondition::_internal_mutable_field() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.field_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSOItemCriteriaCondition::release_field() { - // @@protoc_insertion_point(field_release:CSOItemCriteriaCondition.field) - if (!_internal_has_field()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.field_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.field_.IsDefault()) { - _impl_.field_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSOItemCriteriaCondition::set_allocated_field(std::string* field) { - if (field != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.field_.SetAllocated(field, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.field_.IsDefault()) { - _impl_.field_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSOItemCriteriaCondition.field) -} - -// optional bool required = 3; -inline bool CSOItemCriteriaCondition::_internal_has_required() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSOItemCriteriaCondition::has_required() const { - return _internal_has_required(); -} -inline void CSOItemCriteriaCondition::clear_required() { - _impl_.required_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CSOItemCriteriaCondition::_internal_required() const { - return _impl_.required_; -} -inline bool CSOItemCriteriaCondition::required() const { - // @@protoc_insertion_point(field_get:CSOItemCriteriaCondition.required) - return _internal_required(); -} -inline void CSOItemCriteriaCondition::_internal_set_required(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.required_ = value; -} -inline void CSOItemCriteriaCondition::set_required(bool value) { - _internal_set_required(value); - // @@protoc_insertion_point(field_set:CSOItemCriteriaCondition.required) -} - -// optional float float_value = 4; -inline bool CSOItemCriteriaCondition::_internal_has_float_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSOItemCriteriaCondition::has_float_value() const { - return _internal_has_float_value(); -} -inline void CSOItemCriteriaCondition::clear_float_value() { - _impl_.float_value_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float CSOItemCriteriaCondition::_internal_float_value() const { - return _impl_.float_value_; -} -inline float CSOItemCriteriaCondition::float_value() const { - // @@protoc_insertion_point(field_get:CSOItemCriteriaCondition.float_value) - return _internal_float_value(); -} -inline void CSOItemCriteriaCondition::_internal_set_float_value(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.float_value_ = value; -} -inline void CSOItemCriteriaCondition::set_float_value(float value) { - _internal_set_float_value(value); - // @@protoc_insertion_point(field_set:CSOItemCriteriaCondition.float_value) -} - -// optional string string_value = 5; -inline bool CSOItemCriteriaCondition::_internal_has_string_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOItemCriteriaCondition::has_string_value() const { - return _internal_has_string_value(); -} -inline void CSOItemCriteriaCondition::clear_string_value() { - _impl_.string_value_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CSOItemCriteriaCondition::string_value() const { - // @@protoc_insertion_point(field_get:CSOItemCriteriaCondition.string_value) - return _internal_string_value(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSOItemCriteriaCondition::set_string_value(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.string_value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSOItemCriteriaCondition.string_value) -} -inline std::string* CSOItemCriteriaCondition::mutable_string_value() { - std::string* _s = _internal_mutable_string_value(); - // @@protoc_insertion_point(field_mutable:CSOItemCriteriaCondition.string_value) - return _s; -} -inline const std::string& CSOItemCriteriaCondition::_internal_string_value() const { - return _impl_.string_value_.Get(); -} -inline void CSOItemCriteriaCondition::_internal_set_string_value(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.string_value_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSOItemCriteriaCondition::_internal_mutable_string_value() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.string_value_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSOItemCriteriaCondition::release_string_value() { - // @@protoc_insertion_point(field_release:CSOItemCriteriaCondition.string_value) - if (!_internal_has_string_value()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.string_value_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.string_value_.IsDefault()) { - _impl_.string_value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSOItemCriteriaCondition::set_allocated_string_value(std::string* string_value) { - if (string_value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.string_value_.SetAllocated(string_value, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.string_value_.IsDefault()) { - _impl_.string_value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSOItemCriteriaCondition.string_value) -} - -// ------------------------------------------------------------------- - -// CSOItemCriteria - -// optional uint32 item_level = 1; -inline bool CSOItemCriteria::_internal_has_item_level() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOItemCriteria::has_item_level() const { - return _internal_has_item_level(); -} -inline void CSOItemCriteria::clear_item_level() { - _impl_.item_level_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOItemCriteria::_internal_item_level() const { - return _impl_.item_level_; -} -inline uint32_t CSOItemCriteria::item_level() const { - // @@protoc_insertion_point(field_get:CSOItemCriteria.item_level) - return _internal_item_level(); -} -inline void CSOItemCriteria::_internal_set_item_level(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.item_level_ = value; -} -inline void CSOItemCriteria::set_item_level(uint32_t value) { - _internal_set_item_level(value); - // @@protoc_insertion_point(field_set:CSOItemCriteria.item_level) -} - -// optional int32 item_quality = 2; -inline bool CSOItemCriteria::_internal_has_item_quality() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOItemCriteria::has_item_quality() const { - return _internal_has_item_quality(); -} -inline void CSOItemCriteria::clear_item_quality() { - _impl_.item_quality_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSOItemCriteria::_internal_item_quality() const { - return _impl_.item_quality_; -} -inline int32_t CSOItemCriteria::item_quality() const { - // @@protoc_insertion_point(field_get:CSOItemCriteria.item_quality) - return _internal_item_quality(); -} -inline void CSOItemCriteria::_internal_set_item_quality(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.item_quality_ = value; -} -inline void CSOItemCriteria::set_item_quality(int32_t value) { - _internal_set_item_quality(value); - // @@protoc_insertion_point(field_set:CSOItemCriteria.item_quality) -} - -// optional bool item_level_set = 3; -inline bool CSOItemCriteria::_internal_has_item_level_set() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSOItemCriteria::has_item_level_set() const { - return _internal_has_item_level_set(); -} -inline void CSOItemCriteria::clear_item_level_set() { - _impl_.item_level_set_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool CSOItemCriteria::_internal_item_level_set() const { - return _impl_.item_level_set_; -} -inline bool CSOItemCriteria::item_level_set() const { - // @@protoc_insertion_point(field_get:CSOItemCriteria.item_level_set) - return _internal_item_level_set(); -} -inline void CSOItemCriteria::_internal_set_item_level_set(bool value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.item_level_set_ = value; -} -inline void CSOItemCriteria::set_item_level_set(bool value) { - _internal_set_item_level_set(value); - // @@protoc_insertion_point(field_set:CSOItemCriteria.item_level_set) -} - -// optional bool item_quality_set = 4; -inline bool CSOItemCriteria::_internal_has_item_quality_set() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSOItemCriteria::has_item_quality_set() const { - return _internal_has_item_quality_set(); -} -inline void CSOItemCriteria::clear_item_quality_set() { - _impl_.item_quality_set_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool CSOItemCriteria::_internal_item_quality_set() const { - return _impl_.item_quality_set_; -} -inline bool CSOItemCriteria::item_quality_set() const { - // @@protoc_insertion_point(field_get:CSOItemCriteria.item_quality_set) - return _internal_item_quality_set(); -} -inline void CSOItemCriteria::_internal_set_item_quality_set(bool value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.item_quality_set_ = value; -} -inline void CSOItemCriteria::set_item_quality_set(bool value) { - _internal_set_item_quality_set(value); - // @@protoc_insertion_point(field_set:CSOItemCriteria.item_quality_set) -} - -// optional uint32 initial_inventory = 5; -inline bool CSOItemCriteria::_internal_has_initial_inventory() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOItemCriteria::has_initial_inventory() const { - return _internal_has_initial_inventory(); -} -inline void CSOItemCriteria::clear_initial_inventory() { - _impl_.initial_inventory_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CSOItemCriteria::_internal_initial_inventory() const { - return _impl_.initial_inventory_; -} -inline uint32_t CSOItemCriteria::initial_inventory() const { - // @@protoc_insertion_point(field_get:CSOItemCriteria.initial_inventory) - return _internal_initial_inventory(); -} -inline void CSOItemCriteria::_internal_set_initial_inventory(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.initial_inventory_ = value; -} -inline void CSOItemCriteria::set_initial_inventory(uint32_t value) { - _internal_set_initial_inventory(value); - // @@protoc_insertion_point(field_set:CSOItemCriteria.initial_inventory) -} - -// optional uint32 initial_quantity = 6; -inline bool CSOItemCriteria::_internal_has_initial_quantity() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSOItemCriteria::has_initial_quantity() const { - return _internal_has_initial_quantity(); -} -inline void CSOItemCriteria::clear_initial_quantity() { - _impl_.initial_quantity_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CSOItemCriteria::_internal_initial_quantity() const { - return _impl_.initial_quantity_; -} -inline uint32_t CSOItemCriteria::initial_quantity() const { - // @@protoc_insertion_point(field_get:CSOItemCriteria.initial_quantity) - return _internal_initial_quantity(); -} -inline void CSOItemCriteria::_internal_set_initial_quantity(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.initial_quantity_ = value; -} -inline void CSOItemCriteria::set_initial_quantity(uint32_t value) { - _internal_set_initial_quantity(value); - // @@protoc_insertion_point(field_set:CSOItemCriteria.initial_quantity) -} - -// optional bool ignore_enabled_flag = 8; -inline bool CSOItemCriteria::_internal_has_ignore_enabled_flag() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CSOItemCriteria::has_ignore_enabled_flag() const { - return _internal_has_ignore_enabled_flag(); -} -inline void CSOItemCriteria::clear_ignore_enabled_flag() { - _impl_.ignore_enabled_flag_ = false; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline bool CSOItemCriteria::_internal_ignore_enabled_flag() const { - return _impl_.ignore_enabled_flag_; -} -inline bool CSOItemCriteria::ignore_enabled_flag() const { - // @@protoc_insertion_point(field_get:CSOItemCriteria.ignore_enabled_flag) - return _internal_ignore_enabled_flag(); -} -inline void CSOItemCriteria::_internal_set_ignore_enabled_flag(bool value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.ignore_enabled_flag_ = value; -} -inline void CSOItemCriteria::set_ignore_enabled_flag(bool value) { - _internal_set_ignore_enabled_flag(value); - // @@protoc_insertion_point(field_set:CSOItemCriteria.ignore_enabled_flag) -} - -// repeated .CSOItemCriteriaCondition conditions = 9; -inline int CSOItemCriteria::_internal_conditions_size() const { - return _impl_.conditions_.size(); -} -inline int CSOItemCriteria::conditions_size() const { - return _internal_conditions_size(); -} -inline void CSOItemCriteria::clear_conditions() { - _impl_.conditions_.Clear(); -} -inline ::CSOItemCriteriaCondition* CSOItemCriteria::mutable_conditions(int index) { - // @@protoc_insertion_point(field_mutable:CSOItemCriteria.conditions) - return _impl_.conditions_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteriaCondition >* -CSOItemCriteria::mutable_conditions() { - // @@protoc_insertion_point(field_mutable_list:CSOItemCriteria.conditions) - return &_impl_.conditions_; -} -inline const ::CSOItemCriteriaCondition& CSOItemCriteria::_internal_conditions(int index) const { - return _impl_.conditions_.Get(index); -} -inline const ::CSOItemCriteriaCondition& CSOItemCriteria::conditions(int index) const { - // @@protoc_insertion_point(field_get:CSOItemCriteria.conditions) - return _internal_conditions(index); -} -inline ::CSOItemCriteriaCondition* CSOItemCriteria::_internal_add_conditions() { - return _impl_.conditions_.Add(); -} -inline ::CSOItemCriteriaCondition* CSOItemCriteria::add_conditions() { - ::CSOItemCriteriaCondition* _add = _internal_add_conditions(); - // @@protoc_insertion_point(field_add:CSOItemCriteria.conditions) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteriaCondition >& -CSOItemCriteria::conditions() const { - // @@protoc_insertion_point(field_list:CSOItemCriteria.conditions) - return _impl_.conditions_; -} - -// optional int32 item_rarity = 10; -inline bool CSOItemCriteria::_internal_has_item_rarity() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CSOItemCriteria::has_item_rarity() const { - return _internal_has_item_rarity(); -} -inline void CSOItemCriteria::clear_item_rarity() { - _impl_.item_rarity_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t CSOItemCriteria::_internal_item_rarity() const { - return _impl_.item_rarity_; -} -inline int32_t CSOItemCriteria::item_rarity() const { - // @@protoc_insertion_point(field_get:CSOItemCriteria.item_rarity) - return _internal_item_rarity(); -} -inline void CSOItemCriteria::_internal_set_item_rarity(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.item_rarity_ = value; -} -inline void CSOItemCriteria::set_item_rarity(int32_t value) { - _internal_set_item_rarity(value); - // @@protoc_insertion_point(field_set:CSOItemCriteria.item_rarity) -} - -// optional bool item_rarity_set = 11; -inline bool CSOItemCriteria::_internal_has_item_rarity_set() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CSOItemCriteria::has_item_rarity_set() const { - return _internal_has_item_rarity_set(); -} -inline void CSOItemCriteria::clear_item_rarity_set() { - _impl_.item_rarity_set_ = false; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline bool CSOItemCriteria::_internal_item_rarity_set() const { - return _impl_.item_rarity_set_; -} -inline bool CSOItemCriteria::item_rarity_set() const { - // @@protoc_insertion_point(field_get:CSOItemCriteria.item_rarity_set) - return _internal_item_rarity_set(); -} -inline void CSOItemCriteria::_internal_set_item_rarity_set(bool value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.item_rarity_set_ = value; -} -inline void CSOItemCriteria::set_item_rarity_set(bool value) { - _internal_set_item_rarity_set(value); - // @@protoc_insertion_point(field_set:CSOItemCriteria.item_rarity_set) -} - -// optional bool recent_only = 12; -inline bool CSOItemCriteria::_internal_has_recent_only() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CSOItemCriteria::has_recent_only() const { - return _internal_has_recent_only(); -} -inline void CSOItemCriteria::clear_recent_only() { - _impl_.recent_only_ = false; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline bool CSOItemCriteria::_internal_recent_only() const { - return _impl_.recent_only_; -} -inline bool CSOItemCriteria::recent_only() const { - // @@protoc_insertion_point(field_get:CSOItemCriteria.recent_only) - return _internal_recent_only(); -} -inline void CSOItemCriteria::_internal_set_recent_only(bool value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.recent_only_ = value; -} -inline void CSOItemCriteria::set_recent_only(bool value) { - _internal_set_recent_only(value); - // @@protoc_insertion_point(field_set:CSOItemCriteria.recent_only) -} - -// ------------------------------------------------------------------- - -// CSOItemRecipe - -// optional uint32 def_index = 1; -inline bool CSOItemRecipe::_internal_has_def_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CSOItemRecipe::has_def_index() const { - return _internal_has_def_index(); -} -inline void CSOItemRecipe::clear_def_index() { - _impl_.def_index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CSOItemRecipe::_internal_def_index() const { - return _impl_.def_index_; -} -inline uint32_t CSOItemRecipe::def_index() const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.def_index) - return _internal_def_index(); -} -inline void CSOItemRecipe::_internal_set_def_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.def_index_ = value; -} -inline void CSOItemRecipe::set_def_index(uint32_t value) { - _internal_set_def_index(value); - // @@protoc_insertion_point(field_set:CSOItemRecipe.def_index) -} - -// optional string name = 2; -inline bool CSOItemRecipe::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOItemRecipe::has_name() const { - return _internal_has_name(); -} -inline void CSOItemRecipe::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSOItemRecipe::name() const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSOItemRecipe::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSOItemRecipe.name) -} -inline std::string* CSOItemRecipe::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CSOItemRecipe.name) - return _s; -} -inline const std::string& CSOItemRecipe::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CSOItemRecipe::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::release_name() { - // @@protoc_insertion_point(field_release:CSOItemRecipe.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSOItemRecipe::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.name) -} - -// optional string n_a = 3; -inline bool CSOItemRecipe::_internal_has_n_a() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOItemRecipe::has_n_a() const { - return _internal_has_n_a(); -} -inline void CSOItemRecipe::clear_n_a() { - _impl_.n_a_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CSOItemRecipe::n_a() const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.n_a) - return _internal_n_a(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSOItemRecipe::set_n_a(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.n_a_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSOItemRecipe.n_a) -} -inline std::string* CSOItemRecipe::mutable_n_a() { - std::string* _s = _internal_mutable_n_a(); - // @@protoc_insertion_point(field_mutable:CSOItemRecipe.n_a) - return _s; -} -inline const std::string& CSOItemRecipe::_internal_n_a() const { - return _impl_.n_a_.Get(); -} -inline void CSOItemRecipe::_internal_set_n_a(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.n_a_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::_internal_mutable_n_a() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.n_a_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::release_n_a() { - // @@protoc_insertion_point(field_release:CSOItemRecipe.n_a) - if (!_internal_has_n_a()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.n_a_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.n_a_.IsDefault()) { - _impl_.n_a_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSOItemRecipe::set_allocated_n_a(std::string* n_a) { - if (n_a != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.n_a_.SetAllocated(n_a, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.n_a_.IsDefault()) { - _impl_.n_a_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.n_a) -} - -// optional string desc_inputs = 4; -inline bool CSOItemRecipe::_internal_has_desc_inputs() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOItemRecipe::has_desc_inputs() const { - return _internal_has_desc_inputs(); -} -inline void CSOItemRecipe::clear_desc_inputs() { - _impl_.desc_inputs_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CSOItemRecipe::desc_inputs() const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.desc_inputs) - return _internal_desc_inputs(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSOItemRecipe::set_desc_inputs(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.desc_inputs_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSOItemRecipe.desc_inputs) -} -inline std::string* CSOItemRecipe::mutable_desc_inputs() { - std::string* _s = _internal_mutable_desc_inputs(); - // @@protoc_insertion_point(field_mutable:CSOItemRecipe.desc_inputs) - return _s; -} -inline const std::string& CSOItemRecipe::_internal_desc_inputs() const { - return _impl_.desc_inputs_.Get(); -} -inline void CSOItemRecipe::_internal_set_desc_inputs(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.desc_inputs_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::_internal_mutable_desc_inputs() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.desc_inputs_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::release_desc_inputs() { - // @@protoc_insertion_point(field_release:CSOItemRecipe.desc_inputs) - if (!_internal_has_desc_inputs()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.desc_inputs_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.desc_inputs_.IsDefault()) { - _impl_.desc_inputs_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSOItemRecipe::set_allocated_desc_inputs(std::string* desc_inputs) { - if (desc_inputs != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.desc_inputs_.SetAllocated(desc_inputs, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.desc_inputs_.IsDefault()) { - _impl_.desc_inputs_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.desc_inputs) -} - -// optional string desc_outputs = 5; -inline bool CSOItemRecipe::_internal_has_desc_outputs() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSOItemRecipe::has_desc_outputs() const { - return _internal_has_desc_outputs(); -} -inline void CSOItemRecipe::clear_desc_outputs() { - _impl_.desc_outputs_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CSOItemRecipe::desc_outputs() const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.desc_outputs) - return _internal_desc_outputs(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSOItemRecipe::set_desc_outputs(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.desc_outputs_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSOItemRecipe.desc_outputs) -} -inline std::string* CSOItemRecipe::mutable_desc_outputs() { - std::string* _s = _internal_mutable_desc_outputs(); - // @@protoc_insertion_point(field_mutable:CSOItemRecipe.desc_outputs) - return _s; -} -inline const std::string& CSOItemRecipe::_internal_desc_outputs() const { - return _impl_.desc_outputs_.Get(); -} -inline void CSOItemRecipe::_internal_set_desc_outputs(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.desc_outputs_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::_internal_mutable_desc_outputs() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.desc_outputs_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::release_desc_outputs() { - // @@protoc_insertion_point(field_release:CSOItemRecipe.desc_outputs) - if (!_internal_has_desc_outputs()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.desc_outputs_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.desc_outputs_.IsDefault()) { - _impl_.desc_outputs_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSOItemRecipe::set_allocated_desc_outputs(std::string* desc_outputs) { - if (desc_outputs != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.desc_outputs_.SetAllocated(desc_outputs, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.desc_outputs_.IsDefault()) { - _impl_.desc_outputs_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.desc_outputs) -} - -// optional string di_a = 6; -inline bool CSOItemRecipe::_internal_has_di_a() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSOItemRecipe::has_di_a() const { - return _internal_has_di_a(); -} -inline void CSOItemRecipe::clear_di_a() { - _impl_.di_a_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const std::string& CSOItemRecipe::di_a() const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.di_a) - return _internal_di_a(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSOItemRecipe::set_di_a(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.di_a_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSOItemRecipe.di_a) -} -inline std::string* CSOItemRecipe::mutable_di_a() { - std::string* _s = _internal_mutable_di_a(); - // @@protoc_insertion_point(field_mutable:CSOItemRecipe.di_a) - return _s; -} -inline const std::string& CSOItemRecipe::_internal_di_a() const { - return _impl_.di_a_.Get(); -} -inline void CSOItemRecipe::_internal_set_di_a(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.di_a_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::_internal_mutable_di_a() { - _impl_._has_bits_[0] |= 0x00000010u; - return _impl_.di_a_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::release_di_a() { - // @@protoc_insertion_point(field_release:CSOItemRecipe.di_a) - if (!_internal_has_di_a()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000010u; - auto* p = _impl_.di_a_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.di_a_.IsDefault()) { - _impl_.di_a_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSOItemRecipe::set_allocated_di_a(std::string* di_a) { - if (di_a != nullptr) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.di_a_.SetAllocated(di_a, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.di_a_.IsDefault()) { - _impl_.di_a_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.di_a) -} - -// optional string di_b = 7; -inline bool CSOItemRecipe::_internal_has_di_b() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSOItemRecipe::has_di_b() const { - return _internal_has_di_b(); -} -inline void CSOItemRecipe::clear_di_b() { - _impl_.di_b_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline const std::string& CSOItemRecipe::di_b() const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.di_b) - return _internal_di_b(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSOItemRecipe::set_di_b(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.di_b_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSOItemRecipe.di_b) -} -inline std::string* CSOItemRecipe::mutable_di_b() { - std::string* _s = _internal_mutable_di_b(); - // @@protoc_insertion_point(field_mutable:CSOItemRecipe.di_b) - return _s; -} -inline const std::string& CSOItemRecipe::_internal_di_b() const { - return _impl_.di_b_.Get(); -} -inline void CSOItemRecipe::_internal_set_di_b(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.di_b_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::_internal_mutable_di_b() { - _impl_._has_bits_[0] |= 0x00000020u; - return _impl_.di_b_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::release_di_b() { - // @@protoc_insertion_point(field_release:CSOItemRecipe.di_b) - if (!_internal_has_di_b()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000020u; - auto* p = _impl_.di_b_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.di_b_.IsDefault()) { - _impl_.di_b_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSOItemRecipe::set_allocated_di_b(std::string* di_b) { - if (di_b != nullptr) { - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - _impl_.di_b_.SetAllocated(di_b, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.di_b_.IsDefault()) { - _impl_.di_b_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.di_b) -} - -// optional string di_c = 8; -inline bool CSOItemRecipe::_internal_has_di_c() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CSOItemRecipe::has_di_c() const { - return _internal_has_di_c(); -} -inline void CSOItemRecipe::clear_di_c() { - _impl_.di_c_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline const std::string& CSOItemRecipe::di_c() const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.di_c) - return _internal_di_c(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSOItemRecipe::set_di_c(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.di_c_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSOItemRecipe.di_c) -} -inline std::string* CSOItemRecipe::mutable_di_c() { - std::string* _s = _internal_mutable_di_c(); - // @@protoc_insertion_point(field_mutable:CSOItemRecipe.di_c) - return _s; -} -inline const std::string& CSOItemRecipe::_internal_di_c() const { - return _impl_.di_c_.Get(); -} -inline void CSOItemRecipe::_internal_set_di_c(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.di_c_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::_internal_mutable_di_c() { - _impl_._has_bits_[0] |= 0x00000040u; - return _impl_.di_c_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::release_di_c() { - // @@protoc_insertion_point(field_release:CSOItemRecipe.di_c) - if (!_internal_has_di_c()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000040u; - auto* p = _impl_.di_c_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.di_c_.IsDefault()) { - _impl_.di_c_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSOItemRecipe::set_allocated_di_c(std::string* di_c) { - if (di_c != nullptr) { - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - _impl_.di_c_.SetAllocated(di_c, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.di_c_.IsDefault()) { - _impl_.di_c_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.di_c) -} - -// optional string do_a = 9; -inline bool CSOItemRecipe::_internal_has_do_a() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CSOItemRecipe::has_do_a() const { - return _internal_has_do_a(); -} -inline void CSOItemRecipe::clear_do_a() { - _impl_.do_a_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline const std::string& CSOItemRecipe::do_a() const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.do_a) - return _internal_do_a(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSOItemRecipe::set_do_a(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.do_a_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSOItemRecipe.do_a) -} -inline std::string* CSOItemRecipe::mutable_do_a() { - std::string* _s = _internal_mutable_do_a(); - // @@protoc_insertion_point(field_mutable:CSOItemRecipe.do_a) - return _s; -} -inline const std::string& CSOItemRecipe::_internal_do_a() const { - return _impl_.do_a_.Get(); -} -inline void CSOItemRecipe::_internal_set_do_a(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.do_a_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::_internal_mutable_do_a() { - _impl_._has_bits_[0] |= 0x00000080u; - return _impl_.do_a_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::release_do_a() { - // @@protoc_insertion_point(field_release:CSOItemRecipe.do_a) - if (!_internal_has_do_a()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000080u; - auto* p = _impl_.do_a_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.do_a_.IsDefault()) { - _impl_.do_a_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSOItemRecipe::set_allocated_do_a(std::string* do_a) { - if (do_a != nullptr) { - _impl_._has_bits_[0] |= 0x00000080u; - } else { - _impl_._has_bits_[0] &= ~0x00000080u; - } - _impl_.do_a_.SetAllocated(do_a, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.do_a_.IsDefault()) { - _impl_.do_a_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.do_a) -} - -// optional string do_b = 10; -inline bool CSOItemRecipe::_internal_has_do_b() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CSOItemRecipe::has_do_b() const { - return _internal_has_do_b(); -} -inline void CSOItemRecipe::clear_do_b() { - _impl_.do_b_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline const std::string& CSOItemRecipe::do_b() const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.do_b) - return _internal_do_b(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSOItemRecipe::set_do_b(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.do_b_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSOItemRecipe.do_b) -} -inline std::string* CSOItemRecipe::mutable_do_b() { - std::string* _s = _internal_mutable_do_b(); - // @@protoc_insertion_point(field_mutable:CSOItemRecipe.do_b) - return _s; -} -inline const std::string& CSOItemRecipe::_internal_do_b() const { - return _impl_.do_b_.Get(); -} -inline void CSOItemRecipe::_internal_set_do_b(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.do_b_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::_internal_mutable_do_b() { - _impl_._has_bits_[0] |= 0x00000100u; - return _impl_.do_b_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::release_do_b() { - // @@protoc_insertion_point(field_release:CSOItemRecipe.do_b) - if (!_internal_has_do_b()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000100u; - auto* p = _impl_.do_b_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.do_b_.IsDefault()) { - _impl_.do_b_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSOItemRecipe::set_allocated_do_b(std::string* do_b) { - if (do_b != nullptr) { - _impl_._has_bits_[0] |= 0x00000100u; - } else { - _impl_._has_bits_[0] &= ~0x00000100u; - } - _impl_.do_b_.SetAllocated(do_b, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.do_b_.IsDefault()) { - _impl_.do_b_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.do_b) -} - -// optional string do_c = 11; -inline bool CSOItemRecipe::_internal_has_do_c() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CSOItemRecipe::has_do_c() const { - return _internal_has_do_c(); -} -inline void CSOItemRecipe::clear_do_c() { - _impl_.do_c_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline const std::string& CSOItemRecipe::do_c() const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.do_c) - return _internal_do_c(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSOItemRecipe::set_do_c(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.do_c_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSOItemRecipe.do_c) -} -inline std::string* CSOItemRecipe::mutable_do_c() { - std::string* _s = _internal_mutable_do_c(); - // @@protoc_insertion_point(field_mutable:CSOItemRecipe.do_c) - return _s; -} -inline const std::string& CSOItemRecipe::_internal_do_c() const { - return _impl_.do_c_.Get(); -} -inline void CSOItemRecipe::_internal_set_do_c(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.do_c_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::_internal_mutable_do_c() { - _impl_._has_bits_[0] |= 0x00000200u; - return _impl_.do_c_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSOItemRecipe::release_do_c() { - // @@protoc_insertion_point(field_release:CSOItemRecipe.do_c) - if (!_internal_has_do_c()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000200u; - auto* p = _impl_.do_c_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.do_c_.IsDefault()) { - _impl_.do_c_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSOItemRecipe::set_allocated_do_c(std::string* do_c) { - if (do_c != nullptr) { - _impl_._has_bits_[0] |= 0x00000200u; - } else { - _impl_._has_bits_[0] &= ~0x00000200u; - } - _impl_.do_c_.SetAllocated(do_c, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.do_c_.IsDefault()) { - _impl_.do_c_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSOItemRecipe.do_c) -} - -// optional bool requires_all_same_class = 12; -inline bool CSOItemRecipe::_internal_has_requires_all_same_class() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CSOItemRecipe::has_requires_all_same_class() const { - return _internal_has_requires_all_same_class(); -} -inline void CSOItemRecipe::clear_requires_all_same_class() { - _impl_.requires_all_same_class_ = false; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline bool CSOItemRecipe::_internal_requires_all_same_class() const { - return _impl_.requires_all_same_class_; -} -inline bool CSOItemRecipe::requires_all_same_class() const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.requires_all_same_class) - return _internal_requires_all_same_class(); -} -inline void CSOItemRecipe::_internal_set_requires_all_same_class(bool value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.requires_all_same_class_ = value; -} -inline void CSOItemRecipe::set_requires_all_same_class(bool value) { - _internal_set_requires_all_same_class(value); - // @@protoc_insertion_point(field_set:CSOItemRecipe.requires_all_same_class) -} - -// optional bool requires_all_same_slot = 13; -inline bool CSOItemRecipe::_internal_has_requires_all_same_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CSOItemRecipe::has_requires_all_same_slot() const { - return _internal_has_requires_all_same_slot(); -} -inline void CSOItemRecipe::clear_requires_all_same_slot() { - _impl_.requires_all_same_slot_ = false; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline bool CSOItemRecipe::_internal_requires_all_same_slot() const { - return _impl_.requires_all_same_slot_; -} -inline bool CSOItemRecipe::requires_all_same_slot() const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.requires_all_same_slot) - return _internal_requires_all_same_slot(); -} -inline void CSOItemRecipe::_internal_set_requires_all_same_slot(bool value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.requires_all_same_slot_ = value; -} -inline void CSOItemRecipe::set_requires_all_same_slot(bool value) { - _internal_set_requires_all_same_slot(value); - // @@protoc_insertion_point(field_set:CSOItemRecipe.requires_all_same_slot) -} - -// optional int32 class_usage_for_output = 14; -inline bool CSOItemRecipe::_internal_has_class_usage_for_output() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CSOItemRecipe::has_class_usage_for_output() const { - return _internal_has_class_usage_for_output(); -} -inline void CSOItemRecipe::clear_class_usage_for_output() { - _impl_.class_usage_for_output_ = 0; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline int32_t CSOItemRecipe::_internal_class_usage_for_output() const { - return _impl_.class_usage_for_output_; -} -inline int32_t CSOItemRecipe::class_usage_for_output() const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.class_usage_for_output) - return _internal_class_usage_for_output(); -} -inline void CSOItemRecipe::_internal_set_class_usage_for_output(int32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.class_usage_for_output_ = value; -} -inline void CSOItemRecipe::set_class_usage_for_output(int32_t value) { - _internal_set_class_usage_for_output(value); - // @@protoc_insertion_point(field_set:CSOItemRecipe.class_usage_for_output) -} - -// optional int32 slot_usage_for_output = 15; -inline bool CSOItemRecipe::_internal_has_slot_usage_for_output() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CSOItemRecipe::has_slot_usage_for_output() const { - return _internal_has_slot_usage_for_output(); -} -inline void CSOItemRecipe::clear_slot_usage_for_output() { - _impl_.slot_usage_for_output_ = 0; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline int32_t CSOItemRecipe::_internal_slot_usage_for_output() const { - return _impl_.slot_usage_for_output_; -} -inline int32_t CSOItemRecipe::slot_usage_for_output() const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.slot_usage_for_output) - return _internal_slot_usage_for_output(); -} -inline void CSOItemRecipe::_internal_set_slot_usage_for_output(int32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.slot_usage_for_output_ = value; -} -inline void CSOItemRecipe::set_slot_usage_for_output(int32_t value) { - _internal_set_slot_usage_for_output(value); - // @@protoc_insertion_point(field_set:CSOItemRecipe.slot_usage_for_output) -} - -// optional int32 set_for_output = 16; -inline bool CSOItemRecipe::_internal_has_set_for_output() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CSOItemRecipe::has_set_for_output() const { - return _internal_has_set_for_output(); -} -inline void CSOItemRecipe::clear_set_for_output() { - _impl_.set_for_output_ = 0; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline int32_t CSOItemRecipe::_internal_set_for_output() const { - return _impl_.set_for_output_; -} -inline int32_t CSOItemRecipe::set_for_output() const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.set_for_output) - return _internal_set_for_output(); -} -inline void CSOItemRecipe::_internal_set_set_for_output(int32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.set_for_output_ = value; -} -inline void CSOItemRecipe::set_set_for_output(int32_t value) { - _internal_set_set_for_output(value); - // @@protoc_insertion_point(field_set:CSOItemRecipe.set_for_output) -} - -// repeated .CSOItemCriteria input_items_criteria = 20; -inline int CSOItemRecipe::_internal_input_items_criteria_size() const { - return _impl_.input_items_criteria_.size(); -} -inline int CSOItemRecipe::input_items_criteria_size() const { - return _internal_input_items_criteria_size(); -} -inline void CSOItemRecipe::clear_input_items_criteria() { - _impl_.input_items_criteria_.Clear(); -} -inline ::CSOItemCriteria* CSOItemRecipe::mutable_input_items_criteria(int index) { - // @@protoc_insertion_point(field_mutable:CSOItemRecipe.input_items_criteria) - return _impl_.input_items_criteria_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria >* -CSOItemRecipe::mutable_input_items_criteria() { - // @@protoc_insertion_point(field_mutable_list:CSOItemRecipe.input_items_criteria) - return &_impl_.input_items_criteria_; -} -inline const ::CSOItemCriteria& CSOItemRecipe::_internal_input_items_criteria(int index) const { - return _impl_.input_items_criteria_.Get(index); -} -inline const ::CSOItemCriteria& CSOItemRecipe::input_items_criteria(int index) const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.input_items_criteria) - return _internal_input_items_criteria(index); -} -inline ::CSOItemCriteria* CSOItemRecipe::_internal_add_input_items_criteria() { - return _impl_.input_items_criteria_.Add(); -} -inline ::CSOItemCriteria* CSOItemRecipe::add_input_items_criteria() { - ::CSOItemCriteria* _add = _internal_add_input_items_criteria(); - // @@protoc_insertion_point(field_add:CSOItemRecipe.input_items_criteria) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria >& -CSOItemRecipe::input_items_criteria() const { - // @@protoc_insertion_point(field_list:CSOItemRecipe.input_items_criteria) - return _impl_.input_items_criteria_; -} - -// repeated .CSOItemCriteria output_items_criteria = 21; -inline int CSOItemRecipe::_internal_output_items_criteria_size() const { - return _impl_.output_items_criteria_.size(); -} -inline int CSOItemRecipe::output_items_criteria_size() const { - return _internal_output_items_criteria_size(); -} -inline void CSOItemRecipe::clear_output_items_criteria() { - _impl_.output_items_criteria_.Clear(); -} -inline ::CSOItemCriteria* CSOItemRecipe::mutable_output_items_criteria(int index) { - // @@protoc_insertion_point(field_mutable:CSOItemRecipe.output_items_criteria) - return _impl_.output_items_criteria_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria >* -CSOItemRecipe::mutable_output_items_criteria() { - // @@protoc_insertion_point(field_mutable_list:CSOItemRecipe.output_items_criteria) - return &_impl_.output_items_criteria_; -} -inline const ::CSOItemCriteria& CSOItemRecipe::_internal_output_items_criteria(int index) const { - return _impl_.output_items_criteria_.Get(index); -} -inline const ::CSOItemCriteria& CSOItemRecipe::output_items_criteria(int index) const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.output_items_criteria) - return _internal_output_items_criteria(index); -} -inline ::CSOItemCriteria* CSOItemRecipe::_internal_add_output_items_criteria() { - return _impl_.output_items_criteria_.Add(); -} -inline ::CSOItemCriteria* CSOItemRecipe::add_output_items_criteria() { - ::CSOItemCriteria* _add = _internal_add_output_items_criteria(); - // @@protoc_insertion_point(field_add:CSOItemRecipe.output_items_criteria) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOItemCriteria >& -CSOItemRecipe::output_items_criteria() const { - // @@protoc_insertion_point(field_list:CSOItemRecipe.output_items_criteria) - return _impl_.output_items_criteria_; -} - -// repeated uint32 input_item_dupe_counts = 22; -inline int CSOItemRecipe::_internal_input_item_dupe_counts_size() const { - return _impl_.input_item_dupe_counts_.size(); -} -inline int CSOItemRecipe::input_item_dupe_counts_size() const { - return _internal_input_item_dupe_counts_size(); -} -inline void CSOItemRecipe::clear_input_item_dupe_counts() { - _impl_.input_item_dupe_counts_.Clear(); -} -inline uint32_t CSOItemRecipe::_internal_input_item_dupe_counts(int index) const { - return _impl_.input_item_dupe_counts_.Get(index); -} -inline uint32_t CSOItemRecipe::input_item_dupe_counts(int index) const { - // @@protoc_insertion_point(field_get:CSOItemRecipe.input_item_dupe_counts) - return _internal_input_item_dupe_counts(index); -} -inline void CSOItemRecipe::set_input_item_dupe_counts(int index, uint32_t value) { - _impl_.input_item_dupe_counts_.Set(index, value); - // @@protoc_insertion_point(field_set:CSOItemRecipe.input_item_dupe_counts) -} -inline void CSOItemRecipe::_internal_add_input_item_dupe_counts(uint32_t value) { - _impl_.input_item_dupe_counts_.Add(value); -} -inline void CSOItemRecipe::add_input_item_dupe_counts(uint32_t value) { - _internal_add_input_item_dupe_counts(value); - // @@protoc_insertion_point(field_add:CSOItemRecipe.input_item_dupe_counts) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CSOItemRecipe::_internal_input_item_dupe_counts() const { - return _impl_.input_item_dupe_counts_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CSOItemRecipe::input_item_dupe_counts() const { - // @@protoc_insertion_point(field_list:CSOItemRecipe.input_item_dupe_counts) - return _internal_input_item_dupe_counts(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CSOItemRecipe::_internal_mutable_input_item_dupe_counts() { - return &_impl_.input_item_dupe_counts_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CSOItemRecipe::mutable_input_item_dupe_counts() { - // @@protoc_insertion_point(field_mutable_list:CSOItemRecipe.input_item_dupe_counts) - return _internal_mutable_input_item_dupe_counts(); -} - -// ------------------------------------------------------------------- - -// CMsgDevNewItemRequest - -// optional fixed64 receiver = 1; -inline bool CMsgDevNewItemRequest::_internal_has_receiver() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgDevNewItemRequest::has_receiver() const { - return _internal_has_receiver(); -} -inline void CMsgDevNewItemRequest::clear_receiver() { - _impl_.receiver_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgDevNewItemRequest::_internal_receiver() const { - return _impl_.receiver_; -} -inline uint64_t CMsgDevNewItemRequest::receiver() const { - // @@protoc_insertion_point(field_get:CMsgDevNewItemRequest.receiver) - return _internal_receiver(); -} -inline void CMsgDevNewItemRequest::_internal_set_receiver(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.receiver_ = value; -} -inline void CMsgDevNewItemRequest::set_receiver(uint64_t value) { - _internal_set_receiver(value); - // @@protoc_insertion_point(field_set:CMsgDevNewItemRequest.receiver) -} - -// optional .CSOItemCriteria criteria = 2; -inline bool CMsgDevNewItemRequest::_internal_has_criteria() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.criteria_ != nullptr); - return value; -} -inline bool CMsgDevNewItemRequest::has_criteria() const { - return _internal_has_criteria(); -} -inline void CMsgDevNewItemRequest::clear_criteria() { - if (_impl_.criteria_ != nullptr) _impl_.criteria_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CSOItemCriteria& CMsgDevNewItemRequest::_internal_criteria() const { - const ::CSOItemCriteria* p = _impl_.criteria_; - return p != nullptr ? *p : reinterpret_cast( - ::_CSOItemCriteria_default_instance_); -} -inline const ::CSOItemCriteria& CMsgDevNewItemRequest::criteria() const { - // @@protoc_insertion_point(field_get:CMsgDevNewItemRequest.criteria) - return _internal_criteria(); -} -inline void CMsgDevNewItemRequest::unsafe_arena_set_allocated_criteria( - ::CSOItemCriteria* criteria) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.criteria_); - } - _impl_.criteria_ = criteria; - if (criteria) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgDevNewItemRequest.criteria) -} -inline ::CSOItemCriteria* CMsgDevNewItemRequest::release_criteria() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CSOItemCriteria* temp = _impl_.criteria_; - _impl_.criteria_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CSOItemCriteria* CMsgDevNewItemRequest::unsafe_arena_release_criteria() { - // @@protoc_insertion_point(field_release:CMsgDevNewItemRequest.criteria) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CSOItemCriteria* temp = _impl_.criteria_; - _impl_.criteria_ = nullptr; - return temp; -} -inline ::CSOItemCriteria* CMsgDevNewItemRequest::_internal_mutable_criteria() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.criteria_ == nullptr) { - auto* p = CreateMaybeMessage<::CSOItemCriteria>(GetArenaForAllocation()); - _impl_.criteria_ = p; - } - return _impl_.criteria_; -} -inline ::CSOItemCriteria* CMsgDevNewItemRequest::mutable_criteria() { - ::CSOItemCriteria* _msg = _internal_mutable_criteria(); - // @@protoc_insertion_point(field_mutable:CMsgDevNewItemRequest.criteria) - return _msg; -} -inline void CMsgDevNewItemRequest::set_allocated_criteria(::CSOItemCriteria* criteria) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.criteria_; - } - if (criteria) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(criteria); - if (message_arena != submessage_arena) { - criteria = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, criteria, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.criteria_ = criteria; - // @@protoc_insertion_point(field_set_allocated:CMsgDevNewItemRequest.criteria) -} - -// ------------------------------------------------------------------- - -// CMsgIncrementKillCountAttribute - -// optional fixed32 killer_account_id = 1; -inline bool CMsgIncrementKillCountAttribute::_internal_has_killer_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgIncrementKillCountAttribute::has_killer_account_id() const { - return _internal_has_killer_account_id(); -} -inline void CMsgIncrementKillCountAttribute::clear_killer_account_id() { - _impl_.killer_account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgIncrementKillCountAttribute::_internal_killer_account_id() const { - return _impl_.killer_account_id_; -} -inline uint32_t CMsgIncrementKillCountAttribute::killer_account_id() const { - // @@protoc_insertion_point(field_get:CMsgIncrementKillCountAttribute.killer_account_id) - return _internal_killer_account_id(); -} -inline void CMsgIncrementKillCountAttribute::_internal_set_killer_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.killer_account_id_ = value; -} -inline void CMsgIncrementKillCountAttribute::set_killer_account_id(uint32_t value) { - _internal_set_killer_account_id(value); - // @@protoc_insertion_point(field_set:CMsgIncrementKillCountAttribute.killer_account_id) -} - -// optional fixed32 victim_account_id = 2; -inline bool CMsgIncrementKillCountAttribute::_internal_has_victim_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgIncrementKillCountAttribute::has_victim_account_id() const { - return _internal_has_victim_account_id(); -} -inline void CMsgIncrementKillCountAttribute::clear_victim_account_id() { - _impl_.victim_account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgIncrementKillCountAttribute::_internal_victim_account_id() const { - return _impl_.victim_account_id_; -} -inline uint32_t CMsgIncrementKillCountAttribute::victim_account_id() const { - // @@protoc_insertion_point(field_get:CMsgIncrementKillCountAttribute.victim_account_id) - return _internal_victim_account_id(); -} -inline void CMsgIncrementKillCountAttribute::_internal_set_victim_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.victim_account_id_ = value; -} -inline void CMsgIncrementKillCountAttribute::set_victim_account_id(uint32_t value) { - _internal_set_victim_account_id(value); - // @@protoc_insertion_point(field_set:CMsgIncrementKillCountAttribute.victim_account_id) -} - -// optional uint64 item_id = 3; -inline bool CMsgIncrementKillCountAttribute::_internal_has_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgIncrementKillCountAttribute::has_item_id() const { - return _internal_has_item_id(); -} -inline void CMsgIncrementKillCountAttribute::clear_item_id() { - _impl_.item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgIncrementKillCountAttribute::_internal_item_id() const { - return _impl_.item_id_; -} -inline uint64_t CMsgIncrementKillCountAttribute::item_id() const { - // @@protoc_insertion_point(field_get:CMsgIncrementKillCountAttribute.item_id) - return _internal_item_id(); -} -inline void CMsgIncrementKillCountAttribute::_internal_set_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.item_id_ = value; -} -inline void CMsgIncrementKillCountAttribute::set_item_id(uint64_t value) { - _internal_set_item_id(value); - // @@protoc_insertion_point(field_set:CMsgIncrementKillCountAttribute.item_id) -} - -// optional uint32 event_type = 4; -inline bool CMsgIncrementKillCountAttribute::_internal_has_event_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgIncrementKillCountAttribute::has_event_type() const { - return _internal_has_event_type(); -} -inline void CMsgIncrementKillCountAttribute::clear_event_type() { - _impl_.event_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgIncrementKillCountAttribute::_internal_event_type() const { - return _impl_.event_type_; -} -inline uint32_t CMsgIncrementKillCountAttribute::event_type() const { - // @@protoc_insertion_point(field_get:CMsgIncrementKillCountAttribute.event_type) - return _internal_event_type(); -} -inline void CMsgIncrementKillCountAttribute::_internal_set_event_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.event_type_ = value; -} -inline void CMsgIncrementKillCountAttribute::set_event_type(uint32_t value) { - _internal_set_event_type(value); - // @@protoc_insertion_point(field_set:CMsgIncrementKillCountAttribute.event_type) -} - -// optional uint32 amount = 5; -inline bool CMsgIncrementKillCountAttribute::_internal_has_amount() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgIncrementKillCountAttribute::has_amount() const { - return _internal_has_amount(); -} -inline void CMsgIncrementKillCountAttribute::clear_amount() { - _impl_.amount_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgIncrementKillCountAttribute::_internal_amount() const { - return _impl_.amount_; -} -inline uint32_t CMsgIncrementKillCountAttribute::amount() const { - // @@protoc_insertion_point(field_get:CMsgIncrementKillCountAttribute.amount) - return _internal_amount(); -} -inline void CMsgIncrementKillCountAttribute::_internal_set_amount(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.amount_ = value; -} -inline void CMsgIncrementKillCountAttribute::set_amount(uint32_t value) { - _internal_set_amount(value); - // @@protoc_insertion_point(field_set:CMsgIncrementKillCountAttribute.amount) -} - -// ------------------------------------------------------------------- - -// CMsgApplySticker - -// optional uint64 sticker_item_id = 1; -inline bool CMsgApplySticker::_internal_has_sticker_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgApplySticker::has_sticker_item_id() const { - return _internal_has_sticker_item_id(); -} -inline void CMsgApplySticker::clear_sticker_item_id() { - _impl_.sticker_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgApplySticker::_internal_sticker_item_id() const { - return _impl_.sticker_item_id_; -} -inline uint64_t CMsgApplySticker::sticker_item_id() const { - // @@protoc_insertion_point(field_get:CMsgApplySticker.sticker_item_id) - return _internal_sticker_item_id(); -} -inline void CMsgApplySticker::_internal_set_sticker_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sticker_item_id_ = value; -} -inline void CMsgApplySticker::set_sticker_item_id(uint64_t value) { - _internal_set_sticker_item_id(value); - // @@protoc_insertion_point(field_set:CMsgApplySticker.sticker_item_id) -} - -// optional uint64 item_item_id = 2; -inline bool CMsgApplySticker::_internal_has_item_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgApplySticker::has_item_item_id() const { - return _internal_has_item_item_id(); -} -inline void CMsgApplySticker::clear_item_item_id() { - _impl_.item_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgApplySticker::_internal_item_item_id() const { - return _impl_.item_item_id_; -} -inline uint64_t CMsgApplySticker::item_item_id() const { - // @@protoc_insertion_point(field_get:CMsgApplySticker.item_item_id) - return _internal_item_item_id(); -} -inline void CMsgApplySticker::_internal_set_item_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.item_item_id_ = value; -} -inline void CMsgApplySticker::set_item_item_id(uint64_t value) { - _internal_set_item_item_id(value); - // @@protoc_insertion_point(field_set:CMsgApplySticker.item_item_id) -} - -// optional uint32 sticker_slot = 3; -inline bool CMsgApplySticker::_internal_has_sticker_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgApplySticker::has_sticker_slot() const { - return _internal_has_sticker_slot(); -} -inline void CMsgApplySticker::clear_sticker_slot() { - _impl_.sticker_slot_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgApplySticker::_internal_sticker_slot() const { - return _impl_.sticker_slot_; -} -inline uint32_t CMsgApplySticker::sticker_slot() const { - // @@protoc_insertion_point(field_get:CMsgApplySticker.sticker_slot) - return _internal_sticker_slot(); -} -inline void CMsgApplySticker::_internal_set_sticker_slot(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.sticker_slot_ = value; -} -inline void CMsgApplySticker::set_sticker_slot(uint32_t value) { - _internal_set_sticker_slot(value); - // @@protoc_insertion_point(field_set:CMsgApplySticker.sticker_slot) -} - -// optional uint32 baseitem_defidx = 4; -inline bool CMsgApplySticker::_internal_has_baseitem_defidx() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgApplySticker::has_baseitem_defidx() const { - return _internal_has_baseitem_defidx(); -} -inline void CMsgApplySticker::clear_baseitem_defidx() { - _impl_.baseitem_defidx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgApplySticker::_internal_baseitem_defidx() const { - return _impl_.baseitem_defidx_; -} -inline uint32_t CMsgApplySticker::baseitem_defidx() const { - // @@protoc_insertion_point(field_get:CMsgApplySticker.baseitem_defidx) - return _internal_baseitem_defidx(); -} -inline void CMsgApplySticker::_internal_set_baseitem_defidx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.baseitem_defidx_ = value; -} -inline void CMsgApplySticker::set_baseitem_defidx(uint32_t value) { - _internal_set_baseitem_defidx(value); - // @@protoc_insertion_point(field_set:CMsgApplySticker.baseitem_defidx) -} - -// optional float sticker_wear = 5; -inline bool CMsgApplySticker::_internal_has_sticker_wear() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgApplySticker::has_sticker_wear() const { - return _internal_has_sticker_wear(); -} -inline void CMsgApplySticker::clear_sticker_wear() { - _impl_.sticker_wear_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float CMsgApplySticker::_internal_sticker_wear() const { - return _impl_.sticker_wear_; -} -inline float CMsgApplySticker::sticker_wear() const { - // @@protoc_insertion_point(field_get:CMsgApplySticker.sticker_wear) - return _internal_sticker_wear(); -} -inline void CMsgApplySticker::_internal_set_sticker_wear(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.sticker_wear_ = value; -} -inline void CMsgApplySticker::set_sticker_wear(float value) { - _internal_set_sticker_wear(value); - // @@protoc_insertion_point(field_set:CMsgApplySticker.sticker_wear) -} - -// optional float sticker_rotation = 6; -inline bool CMsgApplySticker::_internal_has_sticker_rotation() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgApplySticker::has_sticker_rotation() const { - return _internal_has_sticker_rotation(); -} -inline void CMsgApplySticker::clear_sticker_rotation() { - _impl_.sticker_rotation_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline float CMsgApplySticker::_internal_sticker_rotation() const { - return _impl_.sticker_rotation_; -} -inline float CMsgApplySticker::sticker_rotation() const { - // @@protoc_insertion_point(field_get:CMsgApplySticker.sticker_rotation) - return _internal_sticker_rotation(); -} -inline void CMsgApplySticker::_internal_set_sticker_rotation(float value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.sticker_rotation_ = value; -} -inline void CMsgApplySticker::set_sticker_rotation(float value) { - _internal_set_sticker_rotation(value); - // @@protoc_insertion_point(field_set:CMsgApplySticker.sticker_rotation) -} - -// optional float sticker_scale = 7; -inline bool CMsgApplySticker::_internal_has_sticker_scale() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgApplySticker::has_sticker_scale() const { - return _internal_has_sticker_scale(); -} -inline void CMsgApplySticker::clear_sticker_scale() { - _impl_.sticker_scale_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline float CMsgApplySticker::_internal_sticker_scale() const { - return _impl_.sticker_scale_; -} -inline float CMsgApplySticker::sticker_scale() const { - // @@protoc_insertion_point(field_get:CMsgApplySticker.sticker_scale) - return _internal_sticker_scale(); -} -inline void CMsgApplySticker::_internal_set_sticker_scale(float value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.sticker_scale_ = value; -} -inline void CMsgApplySticker::set_sticker_scale(float value) { - _internal_set_sticker_scale(value); - // @@protoc_insertion_point(field_set:CMsgApplySticker.sticker_scale) -} - -// optional float sticker_offset_x = 8; -inline bool CMsgApplySticker::_internal_has_sticker_offset_x() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgApplySticker::has_sticker_offset_x() const { - return _internal_has_sticker_offset_x(); -} -inline void CMsgApplySticker::clear_sticker_offset_x() { - _impl_.sticker_offset_x_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline float CMsgApplySticker::_internal_sticker_offset_x() const { - return _impl_.sticker_offset_x_; -} -inline float CMsgApplySticker::sticker_offset_x() const { - // @@protoc_insertion_point(field_get:CMsgApplySticker.sticker_offset_x) - return _internal_sticker_offset_x(); -} -inline void CMsgApplySticker::_internal_set_sticker_offset_x(float value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.sticker_offset_x_ = value; -} -inline void CMsgApplySticker::set_sticker_offset_x(float value) { - _internal_set_sticker_offset_x(value); - // @@protoc_insertion_point(field_set:CMsgApplySticker.sticker_offset_x) -} - -// optional float sticker_offset_y = 9; -inline bool CMsgApplySticker::_internal_has_sticker_offset_y() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgApplySticker::has_sticker_offset_y() const { - return _internal_has_sticker_offset_y(); -} -inline void CMsgApplySticker::clear_sticker_offset_y() { - _impl_.sticker_offset_y_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline float CMsgApplySticker::_internal_sticker_offset_y() const { - return _impl_.sticker_offset_y_; -} -inline float CMsgApplySticker::sticker_offset_y() const { - // @@protoc_insertion_point(field_get:CMsgApplySticker.sticker_offset_y) - return _internal_sticker_offset_y(); -} -inline void CMsgApplySticker::_internal_set_sticker_offset_y(float value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.sticker_offset_y_ = value; -} -inline void CMsgApplySticker::set_sticker_offset_y(float value) { - _internal_set_sticker_offset_y(value); - // @@protoc_insertion_point(field_set:CMsgApplySticker.sticker_offset_y) -} - -// optional float sticker_offset_z = 10; -inline bool CMsgApplySticker::_internal_has_sticker_offset_z() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgApplySticker::has_sticker_offset_z() const { - return _internal_has_sticker_offset_z(); -} -inline void CMsgApplySticker::clear_sticker_offset_z() { - _impl_.sticker_offset_z_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline float CMsgApplySticker::_internal_sticker_offset_z() const { - return _impl_.sticker_offset_z_; -} -inline float CMsgApplySticker::sticker_offset_z() const { - // @@protoc_insertion_point(field_get:CMsgApplySticker.sticker_offset_z) - return _internal_sticker_offset_z(); -} -inline void CMsgApplySticker::_internal_set_sticker_offset_z(float value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.sticker_offset_z_ = value; -} -inline void CMsgApplySticker::set_sticker_offset_z(float value) { - _internal_set_sticker_offset_z(value); - // @@protoc_insertion_point(field_set:CMsgApplySticker.sticker_offset_z) -} - -// optional float sticker_wear_target = 11; -inline bool CMsgApplySticker::_internal_has_sticker_wear_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgApplySticker::has_sticker_wear_target() const { - return _internal_has_sticker_wear_target(); -} -inline void CMsgApplySticker::clear_sticker_wear_target() { - _impl_.sticker_wear_target_ = 0; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline float CMsgApplySticker::_internal_sticker_wear_target() const { - return _impl_.sticker_wear_target_; -} -inline float CMsgApplySticker::sticker_wear_target() const { - // @@protoc_insertion_point(field_get:CMsgApplySticker.sticker_wear_target) - return _internal_sticker_wear_target(); -} -inline void CMsgApplySticker::_internal_set_sticker_wear_target(float value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.sticker_wear_target_ = value; -} -inline void CMsgApplySticker::set_sticker_wear_target(float value) { - _internal_set_sticker_wear_target(value); - // @@protoc_insertion_point(field_set:CMsgApplySticker.sticker_wear_target) -} - -// ------------------------------------------------------------------- - -// CMsgModifyItemAttribute - -// optional uint64 item_id = 1; -inline bool CMsgModifyItemAttribute::_internal_has_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgModifyItemAttribute::has_item_id() const { - return _internal_has_item_id(); -} -inline void CMsgModifyItemAttribute::clear_item_id() { - _impl_.item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgModifyItemAttribute::_internal_item_id() const { - return _impl_.item_id_; -} -inline uint64_t CMsgModifyItemAttribute::item_id() const { - // @@protoc_insertion_point(field_get:CMsgModifyItemAttribute.item_id) - return _internal_item_id(); -} -inline void CMsgModifyItemAttribute::_internal_set_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.item_id_ = value; -} -inline void CMsgModifyItemAttribute::set_item_id(uint64_t value) { - _internal_set_item_id(value); - // @@protoc_insertion_point(field_set:CMsgModifyItemAttribute.item_id) -} - -// optional uint32 attr_defidx = 2; -inline bool CMsgModifyItemAttribute::_internal_has_attr_defidx() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgModifyItemAttribute::has_attr_defidx() const { - return _internal_has_attr_defidx(); -} -inline void CMsgModifyItemAttribute::clear_attr_defidx() { - _impl_.attr_defidx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgModifyItemAttribute::_internal_attr_defidx() const { - return _impl_.attr_defidx_; -} -inline uint32_t CMsgModifyItemAttribute::attr_defidx() const { - // @@protoc_insertion_point(field_get:CMsgModifyItemAttribute.attr_defidx) - return _internal_attr_defidx(); -} -inline void CMsgModifyItemAttribute::_internal_set_attr_defidx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.attr_defidx_ = value; -} -inline void CMsgModifyItemAttribute::set_attr_defidx(uint32_t value) { - _internal_set_attr_defidx(value); - // @@protoc_insertion_point(field_set:CMsgModifyItemAttribute.attr_defidx) -} - -// optional uint32 attr_value = 3; -inline bool CMsgModifyItemAttribute::_internal_has_attr_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgModifyItemAttribute::has_attr_value() const { - return _internal_has_attr_value(); -} -inline void CMsgModifyItemAttribute::clear_attr_value() { - _impl_.attr_value_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgModifyItemAttribute::_internal_attr_value() const { - return _impl_.attr_value_; -} -inline uint32_t CMsgModifyItemAttribute::attr_value() const { - // @@protoc_insertion_point(field_get:CMsgModifyItemAttribute.attr_value) - return _internal_attr_value(); -} -inline void CMsgModifyItemAttribute::_internal_set_attr_value(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.attr_value_ = value; -} -inline void CMsgModifyItemAttribute::set_attr_value(uint32_t value) { - _internal_set_attr_value(value); - // @@protoc_insertion_point(field_set:CMsgModifyItemAttribute.attr_value) -} - -// ------------------------------------------------------------------- - -// CMsgApplyStatTrakSwap - -// optional uint64 tool_item_id = 1; -inline bool CMsgApplyStatTrakSwap::_internal_has_tool_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgApplyStatTrakSwap::has_tool_item_id() const { - return _internal_has_tool_item_id(); -} -inline void CMsgApplyStatTrakSwap::clear_tool_item_id() { - _impl_.tool_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgApplyStatTrakSwap::_internal_tool_item_id() const { - return _impl_.tool_item_id_; -} -inline uint64_t CMsgApplyStatTrakSwap::tool_item_id() const { - // @@protoc_insertion_point(field_get:CMsgApplyStatTrakSwap.tool_item_id) - return _internal_tool_item_id(); -} -inline void CMsgApplyStatTrakSwap::_internal_set_tool_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.tool_item_id_ = value; -} -inline void CMsgApplyStatTrakSwap::set_tool_item_id(uint64_t value) { - _internal_set_tool_item_id(value); - // @@protoc_insertion_point(field_set:CMsgApplyStatTrakSwap.tool_item_id) -} - -// optional uint64 item_1_item_id = 2; -inline bool CMsgApplyStatTrakSwap::_internal_has_item_1_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgApplyStatTrakSwap::has_item_1_item_id() const { - return _internal_has_item_1_item_id(); -} -inline void CMsgApplyStatTrakSwap::clear_item_1_item_id() { - _impl_.item_1_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgApplyStatTrakSwap::_internal_item_1_item_id() const { - return _impl_.item_1_item_id_; -} -inline uint64_t CMsgApplyStatTrakSwap::item_1_item_id() const { - // @@protoc_insertion_point(field_get:CMsgApplyStatTrakSwap.item_1_item_id) - return _internal_item_1_item_id(); -} -inline void CMsgApplyStatTrakSwap::_internal_set_item_1_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.item_1_item_id_ = value; -} -inline void CMsgApplyStatTrakSwap::set_item_1_item_id(uint64_t value) { - _internal_set_item_1_item_id(value); - // @@protoc_insertion_point(field_set:CMsgApplyStatTrakSwap.item_1_item_id) -} - -// optional uint64 item_2_item_id = 3; -inline bool CMsgApplyStatTrakSwap::_internal_has_item_2_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgApplyStatTrakSwap::has_item_2_item_id() const { - return _internal_has_item_2_item_id(); -} -inline void CMsgApplyStatTrakSwap::clear_item_2_item_id() { - _impl_.item_2_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgApplyStatTrakSwap::_internal_item_2_item_id() const { - return _impl_.item_2_item_id_; -} -inline uint64_t CMsgApplyStatTrakSwap::item_2_item_id() const { - // @@protoc_insertion_point(field_get:CMsgApplyStatTrakSwap.item_2_item_id) - return _internal_item_2_item_id(); -} -inline void CMsgApplyStatTrakSwap::_internal_set_item_2_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.item_2_item_id_ = value; -} -inline void CMsgApplyStatTrakSwap::set_item_2_item_id(uint64_t value) { - _internal_set_item_2_item_id(value); - // @@protoc_insertion_point(field_set:CMsgApplyStatTrakSwap.item_2_item_id) -} - -// ------------------------------------------------------------------- - -// CMsgApplyStrangePart - -// optional uint64 strange_part_item_id = 1; -inline bool CMsgApplyStrangePart::_internal_has_strange_part_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgApplyStrangePart::has_strange_part_item_id() const { - return _internal_has_strange_part_item_id(); -} -inline void CMsgApplyStrangePart::clear_strange_part_item_id() { - _impl_.strange_part_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgApplyStrangePart::_internal_strange_part_item_id() const { - return _impl_.strange_part_item_id_; -} -inline uint64_t CMsgApplyStrangePart::strange_part_item_id() const { - // @@protoc_insertion_point(field_get:CMsgApplyStrangePart.strange_part_item_id) - return _internal_strange_part_item_id(); -} -inline void CMsgApplyStrangePart::_internal_set_strange_part_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.strange_part_item_id_ = value; -} -inline void CMsgApplyStrangePart::set_strange_part_item_id(uint64_t value) { - _internal_set_strange_part_item_id(value); - // @@protoc_insertion_point(field_set:CMsgApplyStrangePart.strange_part_item_id) -} - -// optional uint64 item_item_id = 2; -inline bool CMsgApplyStrangePart::_internal_has_item_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgApplyStrangePart::has_item_item_id() const { - return _internal_has_item_item_id(); -} -inline void CMsgApplyStrangePart::clear_item_item_id() { - _impl_.item_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgApplyStrangePart::_internal_item_item_id() const { - return _impl_.item_item_id_; -} -inline uint64_t CMsgApplyStrangePart::item_item_id() const { - // @@protoc_insertion_point(field_get:CMsgApplyStrangePart.item_item_id) - return _internal_item_item_id(); -} -inline void CMsgApplyStrangePart::_internal_set_item_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.item_item_id_ = value; -} -inline void CMsgApplyStrangePart::set_item_item_id(uint64_t value) { - _internal_set_item_item_id(value); - // @@protoc_insertion_point(field_set:CMsgApplyStrangePart.item_item_id) -} - -// ------------------------------------------------------------------- - -// CMsgApplyPennantUpgrade - -// optional uint64 upgrade_item_id = 1; -inline bool CMsgApplyPennantUpgrade::_internal_has_upgrade_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgApplyPennantUpgrade::has_upgrade_item_id() const { - return _internal_has_upgrade_item_id(); -} -inline void CMsgApplyPennantUpgrade::clear_upgrade_item_id() { - _impl_.upgrade_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgApplyPennantUpgrade::_internal_upgrade_item_id() const { - return _impl_.upgrade_item_id_; -} -inline uint64_t CMsgApplyPennantUpgrade::upgrade_item_id() const { - // @@protoc_insertion_point(field_get:CMsgApplyPennantUpgrade.upgrade_item_id) - return _internal_upgrade_item_id(); -} -inline void CMsgApplyPennantUpgrade::_internal_set_upgrade_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.upgrade_item_id_ = value; -} -inline void CMsgApplyPennantUpgrade::set_upgrade_item_id(uint64_t value) { - _internal_set_upgrade_item_id(value); - // @@protoc_insertion_point(field_set:CMsgApplyPennantUpgrade.upgrade_item_id) -} - -// optional uint64 pennant_item_id = 2; -inline bool CMsgApplyPennantUpgrade::_internal_has_pennant_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgApplyPennantUpgrade::has_pennant_item_id() const { - return _internal_has_pennant_item_id(); -} -inline void CMsgApplyPennantUpgrade::clear_pennant_item_id() { - _impl_.pennant_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgApplyPennantUpgrade::_internal_pennant_item_id() const { - return _impl_.pennant_item_id_; -} -inline uint64_t CMsgApplyPennantUpgrade::pennant_item_id() const { - // @@protoc_insertion_point(field_get:CMsgApplyPennantUpgrade.pennant_item_id) - return _internal_pennant_item_id(); -} -inline void CMsgApplyPennantUpgrade::_internal_set_pennant_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.pennant_item_id_ = value; -} -inline void CMsgApplyPennantUpgrade::set_pennant_item_id(uint64_t value) { - _internal_set_pennant_item_id(value); - // @@protoc_insertion_point(field_set:CMsgApplyPennantUpgrade.pennant_item_id) -} - -// ------------------------------------------------------------------- - -// CMsgApplyEggEssence - -// optional uint64 essence_item_id = 1; -inline bool CMsgApplyEggEssence::_internal_has_essence_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgApplyEggEssence::has_essence_item_id() const { - return _internal_has_essence_item_id(); -} -inline void CMsgApplyEggEssence::clear_essence_item_id() { - _impl_.essence_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgApplyEggEssence::_internal_essence_item_id() const { - return _impl_.essence_item_id_; -} -inline uint64_t CMsgApplyEggEssence::essence_item_id() const { - // @@protoc_insertion_point(field_get:CMsgApplyEggEssence.essence_item_id) - return _internal_essence_item_id(); -} -inline void CMsgApplyEggEssence::_internal_set_essence_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.essence_item_id_ = value; -} -inline void CMsgApplyEggEssence::set_essence_item_id(uint64_t value) { - _internal_set_essence_item_id(value); - // @@protoc_insertion_point(field_set:CMsgApplyEggEssence.essence_item_id) -} - -// optional uint64 egg_item_id = 2; -inline bool CMsgApplyEggEssence::_internal_has_egg_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgApplyEggEssence::has_egg_item_id() const { - return _internal_has_egg_item_id(); -} -inline void CMsgApplyEggEssence::clear_egg_item_id() { - _impl_.egg_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgApplyEggEssence::_internal_egg_item_id() const { - return _impl_.egg_item_id_; -} -inline uint64_t CMsgApplyEggEssence::egg_item_id() const { - // @@protoc_insertion_point(field_get:CMsgApplyEggEssence.egg_item_id) - return _internal_egg_item_id(); -} -inline void CMsgApplyEggEssence::_internal_set_egg_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.egg_item_id_ = value; -} -inline void CMsgApplyEggEssence::set_egg_item_id(uint64_t value) { - _internal_set_egg_item_id(value); - // @@protoc_insertion_point(field_set:CMsgApplyEggEssence.egg_item_id) -} - -// ------------------------------------------------------------------- - -// CSOEconItemAttribute - -// optional uint32 def_index = 1; -inline bool CSOEconItemAttribute::_internal_has_def_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOEconItemAttribute::has_def_index() const { - return _internal_has_def_index(); -} -inline void CSOEconItemAttribute::clear_def_index() { - _impl_.def_index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSOEconItemAttribute::_internal_def_index() const { - return _impl_.def_index_; -} -inline uint32_t CSOEconItemAttribute::def_index() const { - // @@protoc_insertion_point(field_get:CSOEconItemAttribute.def_index) - return _internal_def_index(); -} -inline void CSOEconItemAttribute::_internal_set_def_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.def_index_ = value; -} -inline void CSOEconItemAttribute::set_def_index(uint32_t value) { - _internal_set_def_index(value); - // @@protoc_insertion_point(field_set:CSOEconItemAttribute.def_index) -} - -// optional uint32 value = 2; -inline bool CSOEconItemAttribute::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOEconItemAttribute::has_value() const { - return _internal_has_value(); -} -inline void CSOEconItemAttribute::clear_value() { - _impl_.value_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CSOEconItemAttribute::_internal_value() const { - return _impl_.value_; -} -inline uint32_t CSOEconItemAttribute::value() const { - // @@protoc_insertion_point(field_get:CSOEconItemAttribute.value) - return _internal_value(); -} -inline void CSOEconItemAttribute::_internal_set_value(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.value_ = value; -} -inline void CSOEconItemAttribute::set_value(uint32_t value) { - _internal_set_value(value); - // @@protoc_insertion_point(field_set:CSOEconItemAttribute.value) -} - -// optional bytes value_bytes = 3; -inline bool CSOEconItemAttribute::_internal_has_value_bytes() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOEconItemAttribute::has_value_bytes() const { - return _internal_has_value_bytes(); -} -inline void CSOEconItemAttribute::clear_value_bytes() { - _impl_.value_bytes_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSOEconItemAttribute::value_bytes() const { - // @@protoc_insertion_point(field_get:CSOEconItemAttribute.value_bytes) - return _internal_value_bytes(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSOEconItemAttribute::set_value_bytes(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.value_bytes_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSOEconItemAttribute.value_bytes) -} -inline std::string* CSOEconItemAttribute::mutable_value_bytes() { - std::string* _s = _internal_mutable_value_bytes(); - // @@protoc_insertion_point(field_mutable:CSOEconItemAttribute.value_bytes) - return _s; -} -inline const std::string& CSOEconItemAttribute::_internal_value_bytes() const { - return _impl_.value_bytes_.Get(); -} -inline void CSOEconItemAttribute::_internal_set_value_bytes(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.value_bytes_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSOEconItemAttribute::_internal_mutable_value_bytes() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.value_bytes_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSOEconItemAttribute::release_value_bytes() { - // @@protoc_insertion_point(field_release:CSOEconItemAttribute.value_bytes) - if (!_internal_has_value_bytes()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.value_bytes_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_bytes_.IsDefault()) { - _impl_.value_bytes_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSOEconItemAttribute::set_allocated_value_bytes(std::string* value_bytes) { - if (value_bytes != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.value_bytes_.SetAllocated(value_bytes, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_bytes_.IsDefault()) { - _impl_.value_bytes_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSOEconItemAttribute.value_bytes) -} - -// ------------------------------------------------------------------- - -// CSOEconItemEquipped - -// optional uint32 new_class = 1; -inline bool CSOEconItemEquipped::_internal_has_new_class() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOEconItemEquipped::has_new_class() const { - return _internal_has_new_class(); -} -inline void CSOEconItemEquipped::clear_new_class() { - _impl_.new_class_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOEconItemEquipped::_internal_new_class() const { - return _impl_.new_class_; -} -inline uint32_t CSOEconItemEquipped::new_class() const { - // @@protoc_insertion_point(field_get:CSOEconItemEquipped.new_class) - return _internal_new_class(); -} -inline void CSOEconItemEquipped::_internal_set_new_class(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.new_class_ = value; -} -inline void CSOEconItemEquipped::set_new_class(uint32_t value) { - _internal_set_new_class(value); - // @@protoc_insertion_point(field_set:CSOEconItemEquipped.new_class) -} - -// optional uint32 new_slot = 2; -inline bool CSOEconItemEquipped::_internal_has_new_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOEconItemEquipped::has_new_slot() const { - return _internal_has_new_slot(); -} -inline void CSOEconItemEquipped::clear_new_slot() { - _impl_.new_slot_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSOEconItemEquipped::_internal_new_slot() const { - return _impl_.new_slot_; -} -inline uint32_t CSOEconItemEquipped::new_slot() const { - // @@protoc_insertion_point(field_get:CSOEconItemEquipped.new_slot) - return _internal_new_slot(); -} -inline void CSOEconItemEquipped::_internal_set_new_slot(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.new_slot_ = value; -} -inline void CSOEconItemEquipped::set_new_slot(uint32_t value) { - _internal_set_new_slot(value); - // @@protoc_insertion_point(field_set:CSOEconItemEquipped.new_slot) -} - -// ------------------------------------------------------------------- - -// CSOEconItem - -// optional uint64 id = 1; -inline bool CSOEconItem::_internal_has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSOEconItem::has_id() const { - return _internal_has_id(); -} -inline void CSOEconItem::clear_id() { - _impl_.id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CSOEconItem::_internal_id() const { - return _impl_.id_; -} -inline uint64_t CSOEconItem::id() const { - // @@protoc_insertion_point(field_get:CSOEconItem.id) - return _internal_id(); -} -inline void CSOEconItem::_internal_set_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.id_ = value; -} -inline void CSOEconItem::set_id(uint64_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:CSOEconItem.id) -} - -// optional uint32 account_id = 2; -inline bool CSOEconItem::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSOEconItem::has_account_id() const { - return _internal_has_account_id(); -} -inline void CSOEconItem::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CSOEconItem::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CSOEconItem::account_id() const { - // @@protoc_insertion_point(field_get:CSOEconItem.account_id) - return _internal_account_id(); -} -inline void CSOEconItem::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.account_id_ = value; -} -inline void CSOEconItem::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CSOEconItem.account_id) -} - -// optional uint32 inventory = 3; -inline bool CSOEconItem::_internal_has_inventory() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSOEconItem::has_inventory() const { - return _internal_has_inventory(); -} -inline void CSOEconItem::clear_inventory() { - _impl_.inventory_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CSOEconItem::_internal_inventory() const { - return _impl_.inventory_; -} -inline uint32_t CSOEconItem::inventory() const { - // @@protoc_insertion_point(field_get:CSOEconItem.inventory) - return _internal_inventory(); -} -inline void CSOEconItem::_internal_set_inventory(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.inventory_ = value; -} -inline void CSOEconItem::set_inventory(uint32_t value) { - _internal_set_inventory(value); - // @@protoc_insertion_point(field_set:CSOEconItem.inventory) -} - -// optional uint32 def_index = 4; -inline bool CSOEconItem::_internal_has_def_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CSOEconItem::has_def_index() const { - return _internal_has_def_index(); -} -inline void CSOEconItem::clear_def_index() { - _impl_.def_index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CSOEconItem::_internal_def_index() const { - return _impl_.def_index_; -} -inline uint32_t CSOEconItem::def_index() const { - // @@protoc_insertion_point(field_get:CSOEconItem.def_index) - return _internal_def_index(); -} -inline void CSOEconItem::_internal_set_def_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.def_index_ = value; -} -inline void CSOEconItem::set_def_index(uint32_t value) { - _internal_set_def_index(value); - // @@protoc_insertion_point(field_set:CSOEconItem.def_index) -} - -// optional uint32 quantity = 5; -inline bool CSOEconItem::_internal_has_quantity() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CSOEconItem::has_quantity() const { - return _internal_has_quantity(); -} -inline void CSOEconItem::clear_quantity() { - _impl_.quantity_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CSOEconItem::_internal_quantity() const { - return _impl_.quantity_; -} -inline uint32_t CSOEconItem::quantity() const { - // @@protoc_insertion_point(field_get:CSOEconItem.quantity) - return _internal_quantity(); -} -inline void CSOEconItem::_internal_set_quantity(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.quantity_ = value; -} -inline void CSOEconItem::set_quantity(uint32_t value) { - _internal_set_quantity(value); - // @@protoc_insertion_point(field_set:CSOEconItem.quantity) -} - -// optional uint32 level = 6; -inline bool CSOEconItem::_internal_has_level() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CSOEconItem::has_level() const { - return _internal_has_level(); -} -inline void CSOEconItem::clear_level() { - _impl_.level_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CSOEconItem::_internal_level() const { - return _impl_.level_; -} -inline uint32_t CSOEconItem::level() const { - // @@protoc_insertion_point(field_get:CSOEconItem.level) - return _internal_level(); -} -inline void CSOEconItem::_internal_set_level(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.level_ = value; -} -inline void CSOEconItem::set_level(uint32_t value) { - _internal_set_level(value); - // @@protoc_insertion_point(field_set:CSOEconItem.level) -} - -// optional uint32 quality = 7; -inline bool CSOEconItem::_internal_has_quality() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CSOEconItem::has_quality() const { - return _internal_has_quality(); -} -inline void CSOEconItem::clear_quality() { - _impl_.quality_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CSOEconItem::_internal_quality() const { - return _impl_.quality_; -} -inline uint32_t CSOEconItem::quality() const { - // @@protoc_insertion_point(field_get:CSOEconItem.quality) - return _internal_quality(); -} -inline void CSOEconItem::_internal_set_quality(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.quality_ = value; -} -inline void CSOEconItem::set_quality(uint32_t value) { - _internal_set_quality(value); - // @@protoc_insertion_point(field_set:CSOEconItem.quality) -} - -// optional uint32 flags = 8 [default = 0]; -inline bool CSOEconItem::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CSOEconItem::has_flags() const { - return _internal_has_flags(); -} -inline void CSOEconItem::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CSOEconItem::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CSOEconItem::flags() const { - // @@protoc_insertion_point(field_get:CSOEconItem.flags) - return _internal_flags(); -} -inline void CSOEconItem::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.flags_ = value; -} -inline void CSOEconItem::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CSOEconItem.flags) -} - -// optional uint32 origin = 9; -inline bool CSOEconItem::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CSOEconItem::has_origin() const { - return _internal_has_origin(); -} -inline void CSOEconItem::clear_origin() { - _impl_.origin_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CSOEconItem::_internal_origin() const { - return _impl_.origin_; -} -inline uint32_t CSOEconItem::origin() const { - // @@protoc_insertion_point(field_get:CSOEconItem.origin) - return _internal_origin(); -} -inline void CSOEconItem::_internal_set_origin(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.origin_ = value; -} -inline void CSOEconItem::set_origin(uint32_t value) { - _internal_set_origin(value); - // @@protoc_insertion_point(field_set:CSOEconItem.origin) -} - -// optional string custom_name = 10; -inline bool CSOEconItem::_internal_has_custom_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOEconItem::has_custom_name() const { - return _internal_has_custom_name(); -} -inline void CSOEconItem::clear_custom_name() { - _impl_.custom_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSOEconItem::custom_name() const { - // @@protoc_insertion_point(field_get:CSOEconItem.custom_name) - return _internal_custom_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSOEconItem::set_custom_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.custom_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSOEconItem.custom_name) -} -inline std::string* CSOEconItem::mutable_custom_name() { - std::string* _s = _internal_mutable_custom_name(); - // @@protoc_insertion_point(field_mutable:CSOEconItem.custom_name) - return _s; -} -inline const std::string& CSOEconItem::_internal_custom_name() const { - return _impl_.custom_name_.Get(); -} -inline void CSOEconItem::_internal_set_custom_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.custom_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSOEconItem::_internal_mutable_custom_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.custom_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSOEconItem::release_custom_name() { - // @@protoc_insertion_point(field_release:CSOEconItem.custom_name) - if (!_internal_has_custom_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.custom_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.custom_name_.IsDefault()) { - _impl_.custom_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSOEconItem::set_allocated_custom_name(std::string* custom_name) { - if (custom_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.custom_name_.SetAllocated(custom_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.custom_name_.IsDefault()) { - _impl_.custom_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSOEconItem.custom_name) -} - -// optional string custom_desc = 11; -inline bool CSOEconItem::_internal_has_custom_desc() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOEconItem::has_custom_desc() const { - return _internal_has_custom_desc(); -} -inline void CSOEconItem::clear_custom_desc() { - _impl_.custom_desc_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CSOEconItem::custom_desc() const { - // @@protoc_insertion_point(field_get:CSOEconItem.custom_desc) - return _internal_custom_desc(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSOEconItem::set_custom_desc(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.custom_desc_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSOEconItem.custom_desc) -} -inline std::string* CSOEconItem::mutable_custom_desc() { - std::string* _s = _internal_mutable_custom_desc(); - // @@protoc_insertion_point(field_mutable:CSOEconItem.custom_desc) - return _s; -} -inline const std::string& CSOEconItem::_internal_custom_desc() const { - return _impl_.custom_desc_.Get(); -} -inline void CSOEconItem::_internal_set_custom_desc(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.custom_desc_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSOEconItem::_internal_mutable_custom_desc() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.custom_desc_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSOEconItem::release_custom_desc() { - // @@protoc_insertion_point(field_release:CSOEconItem.custom_desc) - if (!_internal_has_custom_desc()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.custom_desc_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.custom_desc_.IsDefault()) { - _impl_.custom_desc_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSOEconItem::set_allocated_custom_desc(std::string* custom_desc) { - if (custom_desc != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.custom_desc_.SetAllocated(custom_desc, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.custom_desc_.IsDefault()) { - _impl_.custom_desc_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSOEconItem.custom_desc) -} - -// repeated .CSOEconItemAttribute attribute = 12; -inline int CSOEconItem::_internal_attribute_size() const { - return _impl_.attribute_.size(); -} -inline int CSOEconItem::attribute_size() const { - return _internal_attribute_size(); -} -inline void CSOEconItem::clear_attribute() { - _impl_.attribute_.Clear(); -} -inline ::CSOEconItemAttribute* CSOEconItem::mutable_attribute(int index) { - // @@protoc_insertion_point(field_mutable:CSOEconItem.attribute) - return _impl_.attribute_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemAttribute >* -CSOEconItem::mutable_attribute() { - // @@protoc_insertion_point(field_mutable_list:CSOEconItem.attribute) - return &_impl_.attribute_; -} -inline const ::CSOEconItemAttribute& CSOEconItem::_internal_attribute(int index) const { - return _impl_.attribute_.Get(index); -} -inline const ::CSOEconItemAttribute& CSOEconItem::attribute(int index) const { - // @@protoc_insertion_point(field_get:CSOEconItem.attribute) - return _internal_attribute(index); -} -inline ::CSOEconItemAttribute* CSOEconItem::_internal_add_attribute() { - return _impl_.attribute_.Add(); -} -inline ::CSOEconItemAttribute* CSOEconItem::add_attribute() { - ::CSOEconItemAttribute* _add = _internal_add_attribute(); - // @@protoc_insertion_point(field_add:CSOEconItem.attribute) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemAttribute >& -CSOEconItem::attribute() const { - // @@protoc_insertion_point(field_list:CSOEconItem.attribute) - return _impl_.attribute_; -} - -// optional .CSOEconItem interior_item = 13; -inline bool CSOEconItem::_internal_has_interior_item() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.interior_item_ != nullptr); - return value; -} -inline bool CSOEconItem::has_interior_item() const { - return _internal_has_interior_item(); -} -inline void CSOEconItem::clear_interior_item() { - if (_impl_.interior_item_ != nullptr) _impl_.interior_item_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::CSOEconItem& CSOEconItem::_internal_interior_item() const { - const ::CSOEconItem* p = _impl_.interior_item_; - return p != nullptr ? *p : reinterpret_cast( - ::_CSOEconItem_default_instance_); -} -inline const ::CSOEconItem& CSOEconItem::interior_item() const { - // @@protoc_insertion_point(field_get:CSOEconItem.interior_item) - return _internal_interior_item(); -} -inline void CSOEconItem::unsafe_arena_set_allocated_interior_item( - ::CSOEconItem* interior_item) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interior_item_); - } - _impl_.interior_item_ = interior_item; - if (interior_item) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSOEconItem.interior_item) -} -inline ::CSOEconItem* CSOEconItem::release_interior_item() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CSOEconItem* temp = _impl_.interior_item_; - _impl_.interior_item_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CSOEconItem* CSOEconItem::unsafe_arena_release_interior_item() { - // @@protoc_insertion_point(field_release:CSOEconItem.interior_item) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CSOEconItem* temp = _impl_.interior_item_; - _impl_.interior_item_ = nullptr; - return temp; -} -inline ::CSOEconItem* CSOEconItem::_internal_mutable_interior_item() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.interior_item_ == nullptr) { - auto* p = CreateMaybeMessage<::CSOEconItem>(GetArenaForAllocation()); - _impl_.interior_item_ = p; - } - return _impl_.interior_item_; -} -inline ::CSOEconItem* CSOEconItem::mutable_interior_item() { - ::CSOEconItem* _msg = _internal_mutable_interior_item(); - // @@protoc_insertion_point(field_mutable:CSOEconItem.interior_item) - return _msg; -} -inline void CSOEconItem::set_allocated_interior_item(::CSOEconItem* interior_item) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.interior_item_; - } - if (interior_item) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(interior_item); - if (message_arena != submessage_arena) { - interior_item = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, interior_item, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.interior_item_ = interior_item; - // @@protoc_insertion_point(field_set_allocated:CSOEconItem.interior_item) -} - -// optional bool in_use = 14 [default = false]; -inline bool CSOEconItem::_internal_has_in_use() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CSOEconItem::has_in_use() const { - return _internal_has_in_use(); -} -inline void CSOEconItem::clear_in_use() { - _impl_.in_use_ = false; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline bool CSOEconItem::_internal_in_use() const { - return _impl_.in_use_; -} -inline bool CSOEconItem::in_use() const { - // @@protoc_insertion_point(field_get:CSOEconItem.in_use) - return _internal_in_use(); -} -inline void CSOEconItem::_internal_set_in_use(bool value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.in_use_ = value; -} -inline void CSOEconItem::set_in_use(bool value) { - _internal_set_in_use(value); - // @@protoc_insertion_point(field_set:CSOEconItem.in_use) -} - -// optional uint32 style = 15 [default = 0]; -inline bool CSOEconItem::_internal_has_style() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CSOEconItem::has_style() const { - return _internal_has_style(); -} -inline void CSOEconItem::clear_style() { - _impl_.style_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CSOEconItem::_internal_style() const { - return _impl_.style_; -} -inline uint32_t CSOEconItem::style() const { - // @@protoc_insertion_point(field_get:CSOEconItem.style) - return _internal_style(); -} -inline void CSOEconItem::_internal_set_style(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.style_ = value; -} -inline void CSOEconItem::set_style(uint32_t value) { - _internal_set_style(value); - // @@protoc_insertion_point(field_set:CSOEconItem.style) -} - -// optional uint64 original_id = 16 [default = 0]; -inline bool CSOEconItem::_internal_has_original_id() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CSOEconItem::has_original_id() const { - return _internal_has_original_id(); -} -inline void CSOEconItem::clear_original_id() { - _impl_.original_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint64_t CSOEconItem::_internal_original_id() const { - return _impl_.original_id_; -} -inline uint64_t CSOEconItem::original_id() const { - // @@protoc_insertion_point(field_get:CSOEconItem.original_id) - return _internal_original_id(); -} -inline void CSOEconItem::_internal_set_original_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.original_id_ = value; -} -inline void CSOEconItem::set_original_id(uint64_t value) { - _internal_set_original_id(value); - // @@protoc_insertion_point(field_set:CSOEconItem.original_id) -} - -// repeated .CSOEconItemEquipped equipped_state = 18; -inline int CSOEconItem::_internal_equipped_state_size() const { - return _impl_.equipped_state_.size(); -} -inline int CSOEconItem::equipped_state_size() const { - return _internal_equipped_state_size(); -} -inline void CSOEconItem::clear_equipped_state() { - _impl_.equipped_state_.Clear(); -} -inline ::CSOEconItemEquipped* CSOEconItem::mutable_equipped_state(int index) { - // @@protoc_insertion_point(field_mutable:CSOEconItem.equipped_state) - return _impl_.equipped_state_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemEquipped >* -CSOEconItem::mutable_equipped_state() { - // @@protoc_insertion_point(field_mutable_list:CSOEconItem.equipped_state) - return &_impl_.equipped_state_; -} -inline const ::CSOEconItemEquipped& CSOEconItem::_internal_equipped_state(int index) const { - return _impl_.equipped_state_.Get(index); -} -inline const ::CSOEconItemEquipped& CSOEconItem::equipped_state(int index) const { - // @@protoc_insertion_point(field_get:CSOEconItem.equipped_state) - return _internal_equipped_state(index); -} -inline ::CSOEconItemEquipped* CSOEconItem::_internal_add_equipped_state() { - return _impl_.equipped_state_.Add(); -} -inline ::CSOEconItemEquipped* CSOEconItem::add_equipped_state() { - ::CSOEconItemEquipped* _add = _internal_add_equipped_state(); - // @@protoc_insertion_point(field_add:CSOEconItem.equipped_state) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSOEconItemEquipped >& -CSOEconItem::equipped_state() const { - // @@protoc_insertion_point(field_list:CSOEconItem.equipped_state) - return _impl_.equipped_state_; -} - -// optional uint32 rarity = 19; -inline bool CSOEconItem::_internal_has_rarity() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CSOEconItem::has_rarity() const { - return _internal_has_rarity(); -} -inline void CSOEconItem::clear_rarity() { - _impl_.rarity_ = 0u; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint32_t CSOEconItem::_internal_rarity() const { - return _impl_.rarity_; -} -inline uint32_t CSOEconItem::rarity() const { - // @@protoc_insertion_point(field_get:CSOEconItem.rarity) - return _internal_rarity(); -} -inline void CSOEconItem::_internal_set_rarity(uint32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.rarity_ = value; -} -inline void CSOEconItem::set_rarity(uint32_t value) { - _internal_set_rarity(value); - // @@protoc_insertion_point(field_set:CSOEconItem.rarity) -} - -// ------------------------------------------------------------------- - -// CMsgSortItems - -// optional uint32 sort_type = 1; -inline bool CMsgSortItems::_internal_has_sort_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSortItems::has_sort_type() const { - return _internal_has_sort_type(); -} -inline void CMsgSortItems::clear_sort_type() { - _impl_.sort_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSortItems::_internal_sort_type() const { - return _impl_.sort_type_; -} -inline uint32_t CMsgSortItems::sort_type() const { - // @@protoc_insertion_point(field_get:CMsgSortItems.sort_type) - return _internal_sort_type(); -} -inline void CMsgSortItems::_internal_set_sort_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sort_type_ = value; -} -inline void CMsgSortItems::set_sort_type(uint32_t value) { - _internal_set_sort_type(value); - // @@protoc_insertion_point(field_set:CMsgSortItems.sort_type) -} - -// ------------------------------------------------------------------- - -// CSOEconClaimCode - -// optional uint32 account_id = 1; -inline bool CSOEconClaimCode::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOEconClaimCode::has_account_id() const { - return _internal_has_account_id(); -} -inline void CSOEconClaimCode::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSOEconClaimCode::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CSOEconClaimCode::account_id() const { - // @@protoc_insertion_point(field_get:CSOEconClaimCode.account_id) - return _internal_account_id(); -} -inline void CSOEconClaimCode::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.account_id_ = value; -} -inline void CSOEconClaimCode::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CSOEconClaimCode.account_id) -} - -// optional uint32 code_type = 2; -inline bool CSOEconClaimCode::_internal_has_code_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOEconClaimCode::has_code_type() const { - return _internal_has_code_type(); -} -inline void CSOEconClaimCode::clear_code_type() { - _impl_.code_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CSOEconClaimCode::_internal_code_type() const { - return _impl_.code_type_; -} -inline uint32_t CSOEconClaimCode::code_type() const { - // @@protoc_insertion_point(field_get:CSOEconClaimCode.code_type) - return _internal_code_type(); -} -inline void CSOEconClaimCode::_internal_set_code_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.code_type_ = value; -} -inline void CSOEconClaimCode::set_code_type(uint32_t value) { - _internal_set_code_type(value); - // @@protoc_insertion_point(field_set:CSOEconClaimCode.code_type) -} - -// optional uint32 time_acquired = 3; -inline bool CSOEconClaimCode::_internal_has_time_acquired() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSOEconClaimCode::has_time_acquired() const { - return _internal_has_time_acquired(); -} -inline void CSOEconClaimCode::clear_time_acquired() { - _impl_.time_acquired_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CSOEconClaimCode::_internal_time_acquired() const { - return _impl_.time_acquired_; -} -inline uint32_t CSOEconClaimCode::time_acquired() const { - // @@protoc_insertion_point(field_get:CSOEconClaimCode.time_acquired) - return _internal_time_acquired(); -} -inline void CSOEconClaimCode::_internal_set_time_acquired(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.time_acquired_ = value; -} -inline void CSOEconClaimCode::set_time_acquired(uint32_t value) { - _internal_set_time_acquired(value); - // @@protoc_insertion_point(field_set:CSOEconClaimCode.time_acquired) -} - -// optional string code = 4; -inline bool CSOEconClaimCode::_internal_has_code() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOEconClaimCode::has_code() const { - return _internal_has_code(); -} -inline void CSOEconClaimCode::clear_code() { - _impl_.code_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSOEconClaimCode::code() const { - // @@protoc_insertion_point(field_get:CSOEconClaimCode.code) - return _internal_code(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSOEconClaimCode::set_code(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.code_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSOEconClaimCode.code) -} -inline std::string* CSOEconClaimCode::mutable_code() { - std::string* _s = _internal_mutable_code(); - // @@protoc_insertion_point(field_mutable:CSOEconClaimCode.code) - return _s; -} -inline const std::string& CSOEconClaimCode::_internal_code() const { - return _impl_.code_.Get(); -} -inline void CSOEconClaimCode::_internal_set_code(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.code_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSOEconClaimCode::_internal_mutable_code() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.code_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSOEconClaimCode::release_code() { - // @@protoc_insertion_point(field_release:CSOEconClaimCode.code) - if (!_internal_has_code()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.code_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.code_.IsDefault()) { - _impl_.code_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSOEconClaimCode::set_allocated_code(std::string* code) { - if (code != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.code_.SetAllocated(code, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.code_.IsDefault()) { - _impl_.code_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSOEconClaimCode.code) -} - -// ------------------------------------------------------------------- - -// CMsgStoreGetUserData - -// optional fixed32 price_sheet_version = 1; -inline bool CMsgStoreGetUserData::_internal_has_price_sheet_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgStoreGetUserData::has_price_sheet_version() const { - return _internal_has_price_sheet_version(); -} -inline void CMsgStoreGetUserData::clear_price_sheet_version() { - _impl_.price_sheet_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgStoreGetUserData::_internal_price_sheet_version() const { - return _impl_.price_sheet_version_; -} -inline uint32_t CMsgStoreGetUserData::price_sheet_version() const { - // @@protoc_insertion_point(field_get:CMsgStoreGetUserData.price_sheet_version) - return _internal_price_sheet_version(); -} -inline void CMsgStoreGetUserData::_internal_set_price_sheet_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.price_sheet_version_ = value; -} -inline void CMsgStoreGetUserData::set_price_sheet_version(uint32_t value) { - _internal_set_price_sheet_version(value); - // @@protoc_insertion_point(field_set:CMsgStoreGetUserData.price_sheet_version) -} - -// optional int32 currency = 2; -inline bool CMsgStoreGetUserData::_internal_has_currency() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgStoreGetUserData::has_currency() const { - return _internal_has_currency(); -} -inline void CMsgStoreGetUserData::clear_currency() { - _impl_.currency_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgStoreGetUserData::_internal_currency() const { - return _impl_.currency_; -} -inline int32_t CMsgStoreGetUserData::currency() const { - // @@protoc_insertion_point(field_get:CMsgStoreGetUserData.currency) - return _internal_currency(); -} -inline void CMsgStoreGetUserData::_internal_set_currency(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.currency_ = value; -} -inline void CMsgStoreGetUserData::set_currency(int32_t value) { - _internal_set_currency(value); - // @@protoc_insertion_point(field_set:CMsgStoreGetUserData.currency) -} - -// ------------------------------------------------------------------- - -// CMsgStoreGetUserDataResponse - -// optional int32 result = 1; -inline bool CMsgStoreGetUserDataResponse::_internal_has_result() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgStoreGetUserDataResponse::has_result() const { - return _internal_has_result(); -} -inline void CMsgStoreGetUserDataResponse::clear_result() { - _impl_.result_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CMsgStoreGetUserDataResponse::_internal_result() const { - return _impl_.result_; -} -inline int32_t CMsgStoreGetUserDataResponse::result() const { - // @@protoc_insertion_point(field_get:CMsgStoreGetUserDataResponse.result) - return _internal_result(); -} -inline void CMsgStoreGetUserDataResponse::_internal_set_result(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.result_ = value; -} -inline void CMsgStoreGetUserDataResponse::set_result(int32_t value) { - _internal_set_result(value); - // @@protoc_insertion_point(field_set:CMsgStoreGetUserDataResponse.result) -} - -// optional int32 currency_deprecated = 2; -inline bool CMsgStoreGetUserDataResponse::_internal_has_currency_deprecated() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgStoreGetUserDataResponse::has_currency_deprecated() const { - return _internal_has_currency_deprecated(); -} -inline void CMsgStoreGetUserDataResponse::clear_currency_deprecated() { - _impl_.currency_deprecated_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CMsgStoreGetUserDataResponse::_internal_currency_deprecated() const { - return _impl_.currency_deprecated_; -} -inline int32_t CMsgStoreGetUserDataResponse::currency_deprecated() const { - // @@protoc_insertion_point(field_get:CMsgStoreGetUserDataResponse.currency_deprecated) - return _internal_currency_deprecated(); -} -inline void CMsgStoreGetUserDataResponse::_internal_set_currency_deprecated(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.currency_deprecated_ = value; -} -inline void CMsgStoreGetUserDataResponse::set_currency_deprecated(int32_t value) { - _internal_set_currency_deprecated(value); - // @@protoc_insertion_point(field_set:CMsgStoreGetUserDataResponse.currency_deprecated) -} - -// optional string country_deprecated = 3; -inline bool CMsgStoreGetUserDataResponse::_internal_has_country_deprecated() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgStoreGetUserDataResponse::has_country_deprecated() const { - return _internal_has_country_deprecated(); -} -inline void CMsgStoreGetUserDataResponse::clear_country_deprecated() { - _impl_.country_deprecated_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgStoreGetUserDataResponse::country_deprecated() const { - // @@protoc_insertion_point(field_get:CMsgStoreGetUserDataResponse.country_deprecated) - return _internal_country_deprecated(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgStoreGetUserDataResponse::set_country_deprecated(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.country_deprecated_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgStoreGetUserDataResponse.country_deprecated) -} -inline std::string* CMsgStoreGetUserDataResponse::mutable_country_deprecated() { - std::string* _s = _internal_mutable_country_deprecated(); - // @@protoc_insertion_point(field_mutable:CMsgStoreGetUserDataResponse.country_deprecated) - return _s; -} -inline const std::string& CMsgStoreGetUserDataResponse::_internal_country_deprecated() const { - return _impl_.country_deprecated_.Get(); -} -inline void CMsgStoreGetUserDataResponse::_internal_set_country_deprecated(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.country_deprecated_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgStoreGetUserDataResponse::_internal_mutable_country_deprecated() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.country_deprecated_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgStoreGetUserDataResponse::release_country_deprecated() { - // @@protoc_insertion_point(field_release:CMsgStoreGetUserDataResponse.country_deprecated) - if (!_internal_has_country_deprecated()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.country_deprecated_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.country_deprecated_.IsDefault()) { - _impl_.country_deprecated_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgStoreGetUserDataResponse::set_allocated_country_deprecated(std::string* country_deprecated) { - if (country_deprecated != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.country_deprecated_.SetAllocated(country_deprecated, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.country_deprecated_.IsDefault()) { - _impl_.country_deprecated_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgStoreGetUserDataResponse.country_deprecated) -} - -// optional fixed32 price_sheet_version = 4; -inline bool CMsgStoreGetUserDataResponse::_internal_has_price_sheet_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgStoreGetUserDataResponse::has_price_sheet_version() const { - return _internal_has_price_sheet_version(); -} -inline void CMsgStoreGetUserDataResponse::clear_price_sheet_version() { - _impl_.price_sheet_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgStoreGetUserDataResponse::_internal_price_sheet_version() const { - return _impl_.price_sheet_version_; -} -inline uint32_t CMsgStoreGetUserDataResponse::price_sheet_version() const { - // @@protoc_insertion_point(field_get:CMsgStoreGetUserDataResponse.price_sheet_version) - return _internal_price_sheet_version(); -} -inline void CMsgStoreGetUserDataResponse::_internal_set_price_sheet_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.price_sheet_version_ = value; -} -inline void CMsgStoreGetUserDataResponse::set_price_sheet_version(uint32_t value) { - _internal_set_price_sheet_version(value); - // @@protoc_insertion_point(field_set:CMsgStoreGetUserDataResponse.price_sheet_version) -} - -// optional bytes price_sheet = 8; -inline bool CMsgStoreGetUserDataResponse::_internal_has_price_sheet() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgStoreGetUserDataResponse::has_price_sheet() const { - return _internal_has_price_sheet(); -} -inline void CMsgStoreGetUserDataResponse::clear_price_sheet() { - _impl_.price_sheet_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgStoreGetUserDataResponse::price_sheet() const { - // @@protoc_insertion_point(field_get:CMsgStoreGetUserDataResponse.price_sheet) - return _internal_price_sheet(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgStoreGetUserDataResponse::set_price_sheet(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.price_sheet_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgStoreGetUserDataResponse.price_sheet) -} -inline std::string* CMsgStoreGetUserDataResponse::mutable_price_sheet() { - std::string* _s = _internal_mutable_price_sheet(); - // @@protoc_insertion_point(field_mutable:CMsgStoreGetUserDataResponse.price_sheet) - return _s; -} -inline const std::string& CMsgStoreGetUserDataResponse::_internal_price_sheet() const { - return _impl_.price_sheet_.Get(); -} -inline void CMsgStoreGetUserDataResponse::_internal_set_price_sheet(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.price_sheet_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgStoreGetUserDataResponse::_internal_mutable_price_sheet() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.price_sheet_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgStoreGetUserDataResponse::release_price_sheet() { - // @@protoc_insertion_point(field_release:CMsgStoreGetUserDataResponse.price_sheet) - if (!_internal_has_price_sheet()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.price_sheet_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.price_sheet_.IsDefault()) { - _impl_.price_sheet_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgStoreGetUserDataResponse::set_allocated_price_sheet(std::string* price_sheet) { - if (price_sheet != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.price_sheet_.SetAllocated(price_sheet, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.price_sheet_.IsDefault()) { - _impl_.price_sheet_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgStoreGetUserDataResponse.price_sheet) -} - -// ------------------------------------------------------------------- - -// CMsgUpdateItemSchema - -// optional bytes items_game = 1; -inline bool CMsgUpdateItemSchema::_internal_has_items_game() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgUpdateItemSchema::has_items_game() const { - return _internal_has_items_game(); -} -inline void CMsgUpdateItemSchema::clear_items_game() { - _impl_.items_game_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgUpdateItemSchema::items_game() const { - // @@protoc_insertion_point(field_get:CMsgUpdateItemSchema.items_game) - return _internal_items_game(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgUpdateItemSchema::set_items_game(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.items_game_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgUpdateItemSchema.items_game) -} -inline std::string* CMsgUpdateItemSchema::mutable_items_game() { - std::string* _s = _internal_mutable_items_game(); - // @@protoc_insertion_point(field_mutable:CMsgUpdateItemSchema.items_game) - return _s; -} -inline const std::string& CMsgUpdateItemSchema::_internal_items_game() const { - return _impl_.items_game_.Get(); -} -inline void CMsgUpdateItemSchema::_internal_set_items_game(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.items_game_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgUpdateItemSchema::_internal_mutable_items_game() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.items_game_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgUpdateItemSchema::release_items_game() { - // @@protoc_insertion_point(field_release:CMsgUpdateItemSchema.items_game) - if (!_internal_has_items_game()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.items_game_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.items_game_.IsDefault()) { - _impl_.items_game_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgUpdateItemSchema::set_allocated_items_game(std::string* items_game) { - if (items_game != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.items_game_.SetAllocated(items_game, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.items_game_.IsDefault()) { - _impl_.items_game_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgUpdateItemSchema.items_game) -} - -// optional fixed32 item_schema_version = 2; -inline bool CMsgUpdateItemSchema::_internal_has_item_schema_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgUpdateItemSchema::has_item_schema_version() const { - return _internal_has_item_schema_version(); -} -inline void CMsgUpdateItemSchema::clear_item_schema_version() { - _impl_.item_schema_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgUpdateItemSchema::_internal_item_schema_version() const { - return _impl_.item_schema_version_; -} -inline uint32_t CMsgUpdateItemSchema::item_schema_version() const { - // @@protoc_insertion_point(field_get:CMsgUpdateItemSchema.item_schema_version) - return _internal_item_schema_version(); -} -inline void CMsgUpdateItemSchema::_internal_set_item_schema_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.item_schema_version_ = value; -} -inline void CMsgUpdateItemSchema::set_item_schema_version(uint32_t value) { - _internal_set_item_schema_version(value); - // @@protoc_insertion_point(field_set:CMsgUpdateItemSchema.item_schema_version) -} - -// optional string items_game_url = 4; -inline bool CMsgUpdateItemSchema::_internal_has_items_game_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgUpdateItemSchema::has_items_game_url() const { - return _internal_has_items_game_url(); -} -inline void CMsgUpdateItemSchema::clear_items_game_url() { - _impl_.items_game_url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgUpdateItemSchema::items_game_url() const { - // @@protoc_insertion_point(field_get:CMsgUpdateItemSchema.items_game_url) - return _internal_items_game_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgUpdateItemSchema::set_items_game_url(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.items_game_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgUpdateItemSchema.items_game_url) -} -inline std::string* CMsgUpdateItemSchema::mutable_items_game_url() { - std::string* _s = _internal_mutable_items_game_url(); - // @@protoc_insertion_point(field_mutable:CMsgUpdateItemSchema.items_game_url) - return _s; -} -inline const std::string& CMsgUpdateItemSchema::_internal_items_game_url() const { - return _impl_.items_game_url_.Get(); -} -inline void CMsgUpdateItemSchema::_internal_set_items_game_url(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.items_game_url_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgUpdateItemSchema::_internal_mutable_items_game_url() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.items_game_url_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgUpdateItemSchema::release_items_game_url() { - // @@protoc_insertion_point(field_release:CMsgUpdateItemSchema.items_game_url) - if (!_internal_has_items_game_url()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.items_game_url_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.items_game_url_.IsDefault()) { - _impl_.items_game_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgUpdateItemSchema::set_allocated_items_game_url(std::string* items_game_url) { - if (items_game_url != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.items_game_url_.SetAllocated(items_game_url, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.items_game_url_.IsDefault()) { - _impl_.items_game_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgUpdateItemSchema.items_game_url) -} - -// ------------------------------------------------------------------- - -// CMsgGCError - -// optional string error_text = 1; -inline bool CMsgGCError::_internal_has_error_text() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCError::has_error_text() const { - return _internal_has_error_text(); -} -inline void CMsgGCError::clear_error_text() { - _impl_.error_text_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCError::error_text() const { - // @@protoc_insertion_point(field_get:CMsgGCError.error_text) - return _internal_error_text(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCError::set_error_text(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.error_text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCError.error_text) -} -inline std::string* CMsgGCError::mutable_error_text() { - std::string* _s = _internal_mutable_error_text(); - // @@protoc_insertion_point(field_mutable:CMsgGCError.error_text) - return _s; -} -inline const std::string& CMsgGCError::_internal_error_text() const { - return _impl_.error_text_.Get(); -} -inline void CMsgGCError::_internal_set_error_text(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.error_text_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCError::_internal_mutable_error_text() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.error_text_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCError::release_error_text() { - // @@protoc_insertion_point(field_release:CMsgGCError.error_text) - if (!_internal_has_error_text()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.error_text_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.error_text_.IsDefault()) { - _impl_.error_text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCError::set_allocated_error_text(std::string* error_text) { - if (error_text != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.error_text_.SetAllocated(error_text, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.error_text_.IsDefault()) { - _impl_.error_text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCError.error_text) -} - -// ------------------------------------------------------------------- - -// CMsgRequestInventoryRefresh - -// ------------------------------------------------------------------- - -// CMsgConVarValue - -// optional string name = 1; -inline bool CMsgConVarValue::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgConVarValue::has_name() const { - return _internal_has_name(); -} -inline void CMsgConVarValue::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgConVarValue::name() const { - // @@protoc_insertion_point(field_get:CMsgConVarValue.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgConVarValue::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgConVarValue.name) -} -inline std::string* CMsgConVarValue::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CMsgConVarValue.name) - return _s; -} -inline const std::string& CMsgConVarValue::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CMsgConVarValue::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgConVarValue::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgConVarValue::release_name() { - // @@protoc_insertion_point(field_release:CMsgConVarValue.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgConVarValue::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgConVarValue.name) -} - -// optional string value = 2; -inline bool CMsgConVarValue::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgConVarValue::has_value() const { - return _internal_has_value(); -} -inline void CMsgConVarValue::clear_value() { - _impl_.value_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgConVarValue::value() const { - // @@protoc_insertion_point(field_get:CMsgConVarValue.value) - return _internal_value(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgConVarValue::set_value(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgConVarValue.value) -} -inline std::string* CMsgConVarValue::mutable_value() { - std::string* _s = _internal_mutable_value(); - // @@protoc_insertion_point(field_mutable:CMsgConVarValue.value) - return _s; -} -inline const std::string& CMsgConVarValue::_internal_value() const { - return _impl_.value_.Get(); -} -inline void CMsgConVarValue::_internal_set_value(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.value_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgConVarValue::_internal_mutable_value() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.value_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgConVarValue::release_value() { - // @@protoc_insertion_point(field_release:CMsgConVarValue.value) - if (!_internal_has_value()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.value_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_.IsDefault()) { - _impl_.value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgConVarValue::set_allocated_value(std::string* value) { - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.value_.SetAllocated(value, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_.IsDefault()) { - _impl_.value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgConVarValue.value) -} - -// ------------------------------------------------------------------- - -// CMsgReplicateConVars - -// repeated .CMsgConVarValue convars = 1; -inline int CMsgReplicateConVars::_internal_convars_size() const { - return _impl_.convars_.size(); -} -inline int CMsgReplicateConVars::convars_size() const { - return _internal_convars_size(); -} -inline void CMsgReplicateConVars::clear_convars() { - _impl_.convars_.Clear(); -} -inline ::CMsgConVarValue* CMsgReplicateConVars::mutable_convars(int index) { - // @@protoc_insertion_point(field_mutable:CMsgReplicateConVars.convars) - return _impl_.convars_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgConVarValue >* -CMsgReplicateConVars::mutable_convars() { - // @@protoc_insertion_point(field_mutable_list:CMsgReplicateConVars.convars) - return &_impl_.convars_; -} -inline const ::CMsgConVarValue& CMsgReplicateConVars::_internal_convars(int index) const { - return _impl_.convars_.Get(index); -} -inline const ::CMsgConVarValue& CMsgReplicateConVars::convars(int index) const { - // @@protoc_insertion_point(field_get:CMsgReplicateConVars.convars) - return _internal_convars(index); -} -inline ::CMsgConVarValue* CMsgReplicateConVars::_internal_add_convars() { - return _impl_.convars_.Add(); -} -inline ::CMsgConVarValue* CMsgReplicateConVars::add_convars() { - ::CMsgConVarValue* _add = _internal_add_convars(); - // @@protoc_insertion_point(field_add:CMsgReplicateConVars.convars) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgConVarValue >& -CMsgReplicateConVars::convars() const { - // @@protoc_insertion_point(field_list:CMsgReplicateConVars.convars) - return _impl_.convars_; -} - -// ------------------------------------------------------------------- - -// CMsgUseItem - -// optional uint64 item_id = 1; -inline bool CMsgUseItem::_internal_has_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgUseItem::has_item_id() const { - return _internal_has_item_id(); -} -inline void CMsgUseItem::clear_item_id() { - _impl_.item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgUseItem::_internal_item_id() const { - return _impl_.item_id_; -} -inline uint64_t CMsgUseItem::item_id() const { - // @@protoc_insertion_point(field_get:CMsgUseItem.item_id) - return _internal_item_id(); -} -inline void CMsgUseItem::_internal_set_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.item_id_ = value; -} -inline void CMsgUseItem::set_item_id(uint64_t value) { - _internal_set_item_id(value); - // @@protoc_insertion_point(field_set:CMsgUseItem.item_id) -} - -// optional fixed64 target_steam_id = 2; -inline bool CMsgUseItem::_internal_has_target_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgUseItem::has_target_steam_id() const { - return _internal_has_target_steam_id(); -} -inline void CMsgUseItem::clear_target_steam_id() { - _impl_.target_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgUseItem::_internal_target_steam_id() const { - return _impl_.target_steam_id_; -} -inline uint64_t CMsgUseItem::target_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgUseItem.target_steam_id) - return _internal_target_steam_id(); -} -inline void CMsgUseItem::_internal_set_target_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.target_steam_id_ = value; -} -inline void CMsgUseItem::set_target_steam_id(uint64_t value) { - _internal_set_target_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgUseItem.target_steam_id) -} - -// repeated uint32 gift__potential_targets = 3; -inline int CMsgUseItem::_internal_gift__potential_targets_size() const { - return _impl_.gift__potential_targets_.size(); -} -inline int CMsgUseItem::gift__potential_targets_size() const { - return _internal_gift__potential_targets_size(); -} -inline void CMsgUseItem::clear_gift__potential_targets() { - _impl_.gift__potential_targets_.Clear(); -} -inline uint32_t CMsgUseItem::_internal_gift__potential_targets(int index) const { - return _impl_.gift__potential_targets_.Get(index); -} -inline uint32_t CMsgUseItem::gift__potential_targets(int index) const { - // @@protoc_insertion_point(field_get:CMsgUseItem.gift__potential_targets) - return _internal_gift__potential_targets(index); -} -inline void CMsgUseItem::set_gift__potential_targets(int index, uint32_t value) { - _impl_.gift__potential_targets_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgUseItem.gift__potential_targets) -} -inline void CMsgUseItem::_internal_add_gift__potential_targets(uint32_t value) { - _impl_.gift__potential_targets_.Add(value); -} -inline void CMsgUseItem::add_gift__potential_targets(uint32_t value) { - _internal_add_gift__potential_targets(value); - // @@protoc_insertion_point(field_add:CMsgUseItem.gift__potential_targets) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgUseItem::_internal_gift__potential_targets() const { - return _impl_.gift__potential_targets_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgUseItem::gift__potential_targets() const { - // @@protoc_insertion_point(field_list:CMsgUseItem.gift__potential_targets) - return _internal_gift__potential_targets(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgUseItem::_internal_mutable_gift__potential_targets() { - return &_impl_.gift__potential_targets_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgUseItem::mutable_gift__potential_targets() { - // @@protoc_insertion_point(field_mutable_list:CMsgUseItem.gift__potential_targets) - return _internal_mutable_gift__potential_targets(); -} - -// optional uint32 duel__class_lock = 4; -inline bool CMsgUseItem::_internal_has_duel__class_lock() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgUseItem::has_duel__class_lock() const { - return _internal_has_duel__class_lock(); -} -inline void CMsgUseItem::clear_duel__class_lock() { - _impl_.duel__class_lock_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgUseItem::_internal_duel__class_lock() const { - return _impl_.duel__class_lock_; -} -inline uint32_t CMsgUseItem::duel__class_lock() const { - // @@protoc_insertion_point(field_get:CMsgUseItem.duel__class_lock) - return _internal_duel__class_lock(); -} -inline void CMsgUseItem::_internal_set_duel__class_lock(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.duel__class_lock_ = value; -} -inline void CMsgUseItem::set_duel__class_lock(uint32_t value) { - _internal_set_duel__class_lock(value); - // @@protoc_insertion_point(field_set:CMsgUseItem.duel__class_lock) -} - -// optional fixed64 initiator_steam_id = 5; -inline bool CMsgUseItem::_internal_has_initiator_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgUseItem::has_initiator_steam_id() const { - return _internal_has_initiator_steam_id(); -} -inline void CMsgUseItem::clear_initiator_steam_id() { - _impl_.initiator_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgUseItem::_internal_initiator_steam_id() const { - return _impl_.initiator_steam_id_; -} -inline uint64_t CMsgUseItem::initiator_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgUseItem.initiator_steam_id) - return _internal_initiator_steam_id(); -} -inline void CMsgUseItem::_internal_set_initiator_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.initiator_steam_id_ = value; -} -inline void CMsgUseItem::set_initiator_steam_id(uint64_t value) { - _internal_set_initiator_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgUseItem.initiator_steam_id) -} - -// ------------------------------------------------------------------- - -// CMsgReplayUploadedToYouTube - -// optional string youtube_url = 1; -inline bool CMsgReplayUploadedToYouTube::_internal_has_youtube_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgReplayUploadedToYouTube::has_youtube_url() const { - return _internal_has_youtube_url(); -} -inline void CMsgReplayUploadedToYouTube::clear_youtube_url() { - _impl_.youtube_url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgReplayUploadedToYouTube::youtube_url() const { - // @@protoc_insertion_point(field_get:CMsgReplayUploadedToYouTube.youtube_url) - return _internal_youtube_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgReplayUploadedToYouTube::set_youtube_url(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.youtube_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgReplayUploadedToYouTube.youtube_url) -} -inline std::string* CMsgReplayUploadedToYouTube::mutable_youtube_url() { - std::string* _s = _internal_mutable_youtube_url(); - // @@protoc_insertion_point(field_mutable:CMsgReplayUploadedToYouTube.youtube_url) - return _s; -} -inline const std::string& CMsgReplayUploadedToYouTube::_internal_youtube_url() const { - return _impl_.youtube_url_.Get(); -} -inline void CMsgReplayUploadedToYouTube::_internal_set_youtube_url(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.youtube_url_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgReplayUploadedToYouTube::_internal_mutable_youtube_url() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.youtube_url_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgReplayUploadedToYouTube::release_youtube_url() { - // @@protoc_insertion_point(field_release:CMsgReplayUploadedToYouTube.youtube_url) - if (!_internal_has_youtube_url()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.youtube_url_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.youtube_url_.IsDefault()) { - _impl_.youtube_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgReplayUploadedToYouTube::set_allocated_youtube_url(std::string* youtube_url) { - if (youtube_url != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.youtube_url_.SetAllocated(youtube_url, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.youtube_url_.IsDefault()) { - _impl_.youtube_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgReplayUploadedToYouTube.youtube_url) -} - -// optional string youtube_account_name = 2; -inline bool CMsgReplayUploadedToYouTube::_internal_has_youtube_account_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgReplayUploadedToYouTube::has_youtube_account_name() const { - return _internal_has_youtube_account_name(); -} -inline void CMsgReplayUploadedToYouTube::clear_youtube_account_name() { - _impl_.youtube_account_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgReplayUploadedToYouTube::youtube_account_name() const { - // @@protoc_insertion_point(field_get:CMsgReplayUploadedToYouTube.youtube_account_name) - return _internal_youtube_account_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgReplayUploadedToYouTube::set_youtube_account_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.youtube_account_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgReplayUploadedToYouTube.youtube_account_name) -} -inline std::string* CMsgReplayUploadedToYouTube::mutable_youtube_account_name() { - std::string* _s = _internal_mutable_youtube_account_name(); - // @@protoc_insertion_point(field_mutable:CMsgReplayUploadedToYouTube.youtube_account_name) - return _s; -} -inline const std::string& CMsgReplayUploadedToYouTube::_internal_youtube_account_name() const { - return _impl_.youtube_account_name_.Get(); -} -inline void CMsgReplayUploadedToYouTube::_internal_set_youtube_account_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.youtube_account_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgReplayUploadedToYouTube::_internal_mutable_youtube_account_name() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.youtube_account_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgReplayUploadedToYouTube::release_youtube_account_name() { - // @@protoc_insertion_point(field_release:CMsgReplayUploadedToYouTube.youtube_account_name) - if (!_internal_has_youtube_account_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.youtube_account_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.youtube_account_name_.IsDefault()) { - _impl_.youtube_account_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgReplayUploadedToYouTube::set_allocated_youtube_account_name(std::string* youtube_account_name) { - if (youtube_account_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.youtube_account_name_.SetAllocated(youtube_account_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.youtube_account_name_.IsDefault()) { - _impl_.youtube_account_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgReplayUploadedToYouTube.youtube_account_name) -} - -// optional uint64 session_id = 3; -inline bool CMsgReplayUploadedToYouTube::_internal_has_session_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgReplayUploadedToYouTube::has_session_id() const { - return _internal_has_session_id(); -} -inline void CMsgReplayUploadedToYouTube::clear_session_id() { - _impl_.session_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgReplayUploadedToYouTube::_internal_session_id() const { - return _impl_.session_id_; -} -inline uint64_t CMsgReplayUploadedToYouTube::session_id() const { - // @@protoc_insertion_point(field_get:CMsgReplayUploadedToYouTube.session_id) - return _internal_session_id(); -} -inline void CMsgReplayUploadedToYouTube::_internal_set_session_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.session_id_ = value; -} -inline void CMsgReplayUploadedToYouTube::set_session_id(uint64_t value) { - _internal_set_session_id(value); - // @@protoc_insertion_point(field_set:CMsgReplayUploadedToYouTube.session_id) -} - -// ------------------------------------------------------------------- - -// CMsgConsumableExhausted - -// optional int32 item_def_id = 1; -inline bool CMsgConsumableExhausted::_internal_has_item_def_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgConsumableExhausted::has_item_def_id() const { - return _internal_has_item_def_id(); -} -inline void CMsgConsumableExhausted::clear_item_def_id() { - _impl_.item_def_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CMsgConsumableExhausted::_internal_item_def_id() const { - return _impl_.item_def_id_; -} -inline int32_t CMsgConsumableExhausted::item_def_id() const { - // @@protoc_insertion_point(field_get:CMsgConsumableExhausted.item_def_id) - return _internal_item_def_id(); -} -inline void CMsgConsumableExhausted::_internal_set_item_def_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.item_def_id_ = value; -} -inline void CMsgConsumableExhausted::set_item_def_id(int32_t value) { - _internal_set_item_def_id(value); - // @@protoc_insertion_point(field_set:CMsgConsumableExhausted.item_def_id) -} - -// ------------------------------------------------------------------- - -// CMsgItemAcknowledged__DEPRECATED - -// optional uint32 account_id = 1; -inline bool CMsgItemAcknowledged__DEPRECATED::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgItemAcknowledged__DEPRECATED::has_account_id() const { - return _internal_has_account_id(); -} -inline void CMsgItemAcknowledged__DEPRECATED::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgItemAcknowledged__DEPRECATED::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CMsgItemAcknowledged__DEPRECATED::account_id() const { - // @@protoc_insertion_point(field_get:CMsgItemAcknowledged__DEPRECATED.account_id) - return _internal_account_id(); -} -inline void CMsgItemAcknowledged__DEPRECATED::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.account_id_ = value; -} -inline void CMsgItemAcknowledged__DEPRECATED::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CMsgItemAcknowledged__DEPRECATED.account_id) -} - -// optional uint32 inventory = 2; -inline bool CMsgItemAcknowledged__DEPRECATED::_internal_has_inventory() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgItemAcknowledged__DEPRECATED::has_inventory() const { - return _internal_has_inventory(); -} -inline void CMsgItemAcknowledged__DEPRECATED::clear_inventory() { - _impl_.inventory_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgItemAcknowledged__DEPRECATED::_internal_inventory() const { - return _impl_.inventory_; -} -inline uint32_t CMsgItemAcknowledged__DEPRECATED::inventory() const { - // @@protoc_insertion_point(field_get:CMsgItemAcknowledged__DEPRECATED.inventory) - return _internal_inventory(); -} -inline void CMsgItemAcknowledged__DEPRECATED::_internal_set_inventory(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.inventory_ = value; -} -inline void CMsgItemAcknowledged__DEPRECATED::set_inventory(uint32_t value) { - _internal_set_inventory(value); - // @@protoc_insertion_point(field_set:CMsgItemAcknowledged__DEPRECATED.inventory) -} - -// optional uint32 def_index = 3; -inline bool CMsgItemAcknowledged__DEPRECATED::_internal_has_def_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgItemAcknowledged__DEPRECATED::has_def_index() const { - return _internal_has_def_index(); -} -inline void CMsgItemAcknowledged__DEPRECATED::clear_def_index() { - _impl_.def_index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgItemAcknowledged__DEPRECATED::_internal_def_index() const { - return _impl_.def_index_; -} -inline uint32_t CMsgItemAcknowledged__DEPRECATED::def_index() const { - // @@protoc_insertion_point(field_get:CMsgItemAcknowledged__DEPRECATED.def_index) - return _internal_def_index(); -} -inline void CMsgItemAcknowledged__DEPRECATED::_internal_set_def_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.def_index_ = value; -} -inline void CMsgItemAcknowledged__DEPRECATED::set_def_index(uint32_t value) { - _internal_set_def_index(value); - // @@protoc_insertion_point(field_set:CMsgItemAcknowledged__DEPRECATED.def_index) -} - -// optional uint32 quality = 4; -inline bool CMsgItemAcknowledged__DEPRECATED::_internal_has_quality() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgItemAcknowledged__DEPRECATED::has_quality() const { - return _internal_has_quality(); -} -inline void CMsgItemAcknowledged__DEPRECATED::clear_quality() { - _impl_.quality_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgItemAcknowledged__DEPRECATED::_internal_quality() const { - return _impl_.quality_; -} -inline uint32_t CMsgItemAcknowledged__DEPRECATED::quality() const { - // @@protoc_insertion_point(field_get:CMsgItemAcknowledged__DEPRECATED.quality) - return _internal_quality(); -} -inline void CMsgItemAcknowledged__DEPRECATED::_internal_set_quality(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.quality_ = value; -} -inline void CMsgItemAcknowledged__DEPRECATED::set_quality(uint32_t value) { - _internal_set_quality(value); - // @@protoc_insertion_point(field_set:CMsgItemAcknowledged__DEPRECATED.quality) -} - -// optional uint32 rarity = 5; -inline bool CMsgItemAcknowledged__DEPRECATED::_internal_has_rarity() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgItemAcknowledged__DEPRECATED::has_rarity() const { - return _internal_has_rarity(); -} -inline void CMsgItemAcknowledged__DEPRECATED::clear_rarity() { - _impl_.rarity_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgItemAcknowledged__DEPRECATED::_internal_rarity() const { - return _impl_.rarity_; -} -inline uint32_t CMsgItemAcknowledged__DEPRECATED::rarity() const { - // @@protoc_insertion_point(field_get:CMsgItemAcknowledged__DEPRECATED.rarity) - return _internal_rarity(); -} -inline void CMsgItemAcknowledged__DEPRECATED::_internal_set_rarity(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.rarity_ = value; -} -inline void CMsgItemAcknowledged__DEPRECATED::set_rarity(uint32_t value) { - _internal_set_rarity(value); - // @@protoc_insertion_point(field_set:CMsgItemAcknowledged__DEPRECATED.rarity) -} - -// optional uint32 origin = 6; -inline bool CMsgItemAcknowledged__DEPRECATED::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgItemAcknowledged__DEPRECATED::has_origin() const { - return _internal_has_origin(); -} -inline void CMsgItemAcknowledged__DEPRECATED::clear_origin() { - _impl_.origin_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgItemAcknowledged__DEPRECATED::_internal_origin() const { - return _impl_.origin_; -} -inline uint32_t CMsgItemAcknowledged__DEPRECATED::origin() const { - // @@protoc_insertion_point(field_get:CMsgItemAcknowledged__DEPRECATED.origin) - return _internal_origin(); -} -inline void CMsgItemAcknowledged__DEPRECATED::_internal_set_origin(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.origin_ = value; -} -inline void CMsgItemAcknowledged__DEPRECATED::set_origin(uint32_t value) { - _internal_set_origin(value); - // @@protoc_insertion_point(field_set:CMsgItemAcknowledged__DEPRECATED.origin) -} - -// optional uint64 item_id = 7; -inline bool CMsgItemAcknowledged__DEPRECATED::_internal_has_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgItemAcknowledged__DEPRECATED::has_item_id() const { - return _internal_has_item_id(); -} -inline void CMsgItemAcknowledged__DEPRECATED::clear_item_id() { - _impl_.item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint64_t CMsgItemAcknowledged__DEPRECATED::_internal_item_id() const { - return _impl_.item_id_; -} -inline uint64_t CMsgItemAcknowledged__DEPRECATED::item_id() const { - // @@protoc_insertion_point(field_get:CMsgItemAcknowledged__DEPRECATED.item_id) - return _internal_item_id(); -} -inline void CMsgItemAcknowledged__DEPRECATED::_internal_set_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.item_id_ = value; -} -inline void CMsgItemAcknowledged__DEPRECATED::set_item_id(uint64_t value) { - _internal_set_item_id(value); - // @@protoc_insertion_point(field_set:CMsgItemAcknowledged__DEPRECATED.item_id) -} - -// ------------------------------------------------------------------- - -// CMsgSetItemPositions_ItemPosition - -// optional uint32 legacy_item_id = 1; -inline bool CMsgSetItemPositions_ItemPosition::_internal_has_legacy_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSetItemPositions_ItemPosition::has_legacy_item_id() const { - return _internal_has_legacy_item_id(); -} -inline void CMsgSetItemPositions_ItemPosition::clear_legacy_item_id() { - _impl_.legacy_item_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSetItemPositions_ItemPosition::_internal_legacy_item_id() const { - return _impl_.legacy_item_id_; -} -inline uint32_t CMsgSetItemPositions_ItemPosition::legacy_item_id() const { - // @@protoc_insertion_point(field_get:CMsgSetItemPositions.ItemPosition.legacy_item_id) - return _internal_legacy_item_id(); -} -inline void CMsgSetItemPositions_ItemPosition::_internal_set_legacy_item_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.legacy_item_id_ = value; -} -inline void CMsgSetItemPositions_ItemPosition::set_legacy_item_id(uint32_t value) { - _internal_set_legacy_item_id(value); - // @@protoc_insertion_point(field_set:CMsgSetItemPositions.ItemPosition.legacy_item_id) -} - -// optional uint32 position = 2; -inline bool CMsgSetItemPositions_ItemPosition::_internal_has_position() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSetItemPositions_ItemPosition::has_position() const { - return _internal_has_position(); -} -inline void CMsgSetItemPositions_ItemPosition::clear_position() { - _impl_.position_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSetItemPositions_ItemPosition::_internal_position() const { - return _impl_.position_; -} -inline uint32_t CMsgSetItemPositions_ItemPosition::position() const { - // @@protoc_insertion_point(field_get:CMsgSetItemPositions.ItemPosition.position) - return _internal_position(); -} -inline void CMsgSetItemPositions_ItemPosition::_internal_set_position(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.position_ = value; -} -inline void CMsgSetItemPositions_ItemPosition::set_position(uint32_t value) { - _internal_set_position(value); - // @@protoc_insertion_point(field_set:CMsgSetItemPositions.ItemPosition.position) -} - -// optional uint64 item_id = 3; -inline bool CMsgSetItemPositions_ItemPosition::_internal_has_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSetItemPositions_ItemPosition::has_item_id() const { - return _internal_has_item_id(); -} -inline void CMsgSetItemPositions_ItemPosition::clear_item_id() { - _impl_.item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgSetItemPositions_ItemPosition::_internal_item_id() const { - return _impl_.item_id_; -} -inline uint64_t CMsgSetItemPositions_ItemPosition::item_id() const { - // @@protoc_insertion_point(field_get:CMsgSetItemPositions.ItemPosition.item_id) - return _internal_item_id(); -} -inline void CMsgSetItemPositions_ItemPosition::_internal_set_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.item_id_ = value; -} -inline void CMsgSetItemPositions_ItemPosition::set_item_id(uint64_t value) { - _internal_set_item_id(value); - // @@protoc_insertion_point(field_set:CMsgSetItemPositions.ItemPosition.item_id) -} - -// ------------------------------------------------------------------- - -// CMsgSetItemPositions - -// repeated .CMsgSetItemPositions.ItemPosition item_positions = 1; -inline int CMsgSetItemPositions::_internal_item_positions_size() const { - return _impl_.item_positions_.size(); -} -inline int CMsgSetItemPositions::item_positions_size() const { - return _internal_item_positions_size(); -} -inline void CMsgSetItemPositions::clear_item_positions() { - _impl_.item_positions_.Clear(); -} -inline ::CMsgSetItemPositions_ItemPosition* CMsgSetItemPositions::mutable_item_positions(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSetItemPositions.item_positions) - return _impl_.item_positions_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSetItemPositions_ItemPosition >* -CMsgSetItemPositions::mutable_item_positions() { - // @@protoc_insertion_point(field_mutable_list:CMsgSetItemPositions.item_positions) - return &_impl_.item_positions_; -} -inline const ::CMsgSetItemPositions_ItemPosition& CMsgSetItemPositions::_internal_item_positions(int index) const { - return _impl_.item_positions_.Get(index); -} -inline const ::CMsgSetItemPositions_ItemPosition& CMsgSetItemPositions::item_positions(int index) const { - // @@protoc_insertion_point(field_get:CMsgSetItemPositions.item_positions) - return _internal_item_positions(index); -} -inline ::CMsgSetItemPositions_ItemPosition* CMsgSetItemPositions::_internal_add_item_positions() { - return _impl_.item_positions_.Add(); -} -inline ::CMsgSetItemPositions_ItemPosition* CMsgSetItemPositions::add_item_positions() { - ::CMsgSetItemPositions_ItemPosition* _add = _internal_add_item_positions(); - // @@protoc_insertion_point(field_add:CMsgSetItemPositions.item_positions) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSetItemPositions_ItemPosition >& -CMsgSetItemPositions::item_positions() const { - // @@protoc_insertion_point(field_list:CMsgSetItemPositions.item_positions) - return _impl_.item_positions_; -} - -// ------------------------------------------------------------------- - -// CMsgGCReportAbuse - -// optional fixed64 target_steam_id = 1; -inline bool CMsgGCReportAbuse::_internal_has_target_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCReportAbuse::has_target_steam_id() const { - return _internal_has_target_steam_id(); -} -inline void CMsgGCReportAbuse::clear_target_steam_id() { - _impl_.target_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgGCReportAbuse::_internal_target_steam_id() const { - return _impl_.target_steam_id_; -} -inline uint64_t CMsgGCReportAbuse::target_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgGCReportAbuse.target_steam_id) - return _internal_target_steam_id(); -} -inline void CMsgGCReportAbuse::_internal_set_target_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.target_steam_id_ = value; -} -inline void CMsgGCReportAbuse::set_target_steam_id(uint64_t value) { - _internal_set_target_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgGCReportAbuse.target_steam_id) -} - -// optional string description = 4; -inline bool CMsgGCReportAbuse::_internal_has_description() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCReportAbuse::has_description() const { - return _internal_has_description(); -} -inline void CMsgGCReportAbuse::clear_description() { - _impl_.description_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCReportAbuse::description() const { - // @@protoc_insertion_point(field_get:CMsgGCReportAbuse.description) - return _internal_description(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCReportAbuse::set_description(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCReportAbuse.description) -} -inline std::string* CMsgGCReportAbuse::mutable_description() { - std::string* _s = _internal_mutable_description(); - // @@protoc_insertion_point(field_mutable:CMsgGCReportAbuse.description) - return _s; -} -inline const std::string& CMsgGCReportAbuse::_internal_description() const { - return _impl_.description_.Get(); -} -inline void CMsgGCReportAbuse::_internal_set_description(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.description_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCReportAbuse::_internal_mutable_description() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.description_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCReportAbuse::release_description() { - // @@protoc_insertion_point(field_release:CMsgGCReportAbuse.description) - if (!_internal_has_description()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.description_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.description_.IsDefault()) { - _impl_.description_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCReportAbuse::set_allocated_description(std::string* description) { - if (description != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.description_.SetAllocated(description, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.description_.IsDefault()) { - _impl_.description_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCReportAbuse.description) -} - -// optional uint64 gid = 5; -inline bool CMsgGCReportAbuse::_internal_has_gid() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCReportAbuse::has_gid() const { - return _internal_has_gid(); -} -inline void CMsgGCReportAbuse::clear_gid() { - _impl_.gid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CMsgGCReportAbuse::_internal_gid() const { - return _impl_.gid_; -} -inline uint64_t CMsgGCReportAbuse::gid() const { - // @@protoc_insertion_point(field_get:CMsgGCReportAbuse.gid) - return _internal_gid(); -} -inline void CMsgGCReportAbuse::_internal_set_gid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.gid_ = value; -} -inline void CMsgGCReportAbuse::set_gid(uint64_t value) { - _internal_set_gid(value); - // @@protoc_insertion_point(field_set:CMsgGCReportAbuse.gid) -} - -// optional uint32 abuse_type = 2; -inline bool CMsgGCReportAbuse::_internal_has_abuse_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCReportAbuse::has_abuse_type() const { - return _internal_has_abuse_type(); -} -inline void CMsgGCReportAbuse::clear_abuse_type() { - _impl_.abuse_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCReportAbuse::_internal_abuse_type() const { - return _impl_.abuse_type_; -} -inline uint32_t CMsgGCReportAbuse::abuse_type() const { - // @@protoc_insertion_point(field_get:CMsgGCReportAbuse.abuse_type) - return _internal_abuse_type(); -} -inline void CMsgGCReportAbuse::_internal_set_abuse_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.abuse_type_ = value; -} -inline void CMsgGCReportAbuse::set_abuse_type(uint32_t value) { - _internal_set_abuse_type(value); - // @@protoc_insertion_point(field_set:CMsgGCReportAbuse.abuse_type) -} - -// optional uint32 content_type = 3; -inline bool CMsgGCReportAbuse::_internal_has_content_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCReportAbuse::has_content_type() const { - return _internal_has_content_type(); -} -inline void CMsgGCReportAbuse::clear_content_type() { - _impl_.content_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCReportAbuse::_internal_content_type() const { - return _impl_.content_type_; -} -inline uint32_t CMsgGCReportAbuse::content_type() const { - // @@protoc_insertion_point(field_get:CMsgGCReportAbuse.content_type) - return _internal_content_type(); -} -inline void CMsgGCReportAbuse::_internal_set_content_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.content_type_ = value; -} -inline void CMsgGCReportAbuse::set_content_type(uint32_t value) { - _internal_set_content_type(value); - // @@protoc_insertion_point(field_set:CMsgGCReportAbuse.content_type) -} - -// optional fixed32 target_game_server_ip = 6; -inline bool CMsgGCReportAbuse::_internal_has_target_game_server_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCReportAbuse::has_target_game_server_ip() const { - return _internal_has_target_game_server_ip(); -} -inline void CMsgGCReportAbuse::clear_target_game_server_ip() { - _impl_.target_game_server_ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgGCReportAbuse::_internal_target_game_server_ip() const { - return _impl_.target_game_server_ip_; -} -inline uint32_t CMsgGCReportAbuse::target_game_server_ip() const { - // @@protoc_insertion_point(field_get:CMsgGCReportAbuse.target_game_server_ip) - return _internal_target_game_server_ip(); -} -inline void CMsgGCReportAbuse::_internal_set_target_game_server_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.target_game_server_ip_ = value; -} -inline void CMsgGCReportAbuse::set_target_game_server_ip(uint32_t value) { - _internal_set_target_game_server_ip(value); - // @@protoc_insertion_point(field_set:CMsgGCReportAbuse.target_game_server_ip) -} - -// optional uint32 target_game_server_port = 7; -inline bool CMsgGCReportAbuse::_internal_has_target_game_server_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGCReportAbuse::has_target_game_server_port() const { - return _internal_has_target_game_server_port(); -} -inline void CMsgGCReportAbuse::clear_target_game_server_port() { - _impl_.target_game_server_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgGCReportAbuse::_internal_target_game_server_port() const { - return _impl_.target_game_server_port_; -} -inline uint32_t CMsgGCReportAbuse::target_game_server_port() const { - // @@protoc_insertion_point(field_get:CMsgGCReportAbuse.target_game_server_port) - return _internal_target_game_server_port(); -} -inline void CMsgGCReportAbuse::_internal_set_target_game_server_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.target_game_server_port_ = value; -} -inline void CMsgGCReportAbuse::set_target_game_server_port(uint32_t value) { - _internal_set_target_game_server_port(value); - // @@protoc_insertion_point(field_set:CMsgGCReportAbuse.target_game_server_port) -} - -// ------------------------------------------------------------------- - -// CMsgGCReportAbuseResponse - -// optional fixed64 target_steam_id = 1; -inline bool CMsgGCReportAbuseResponse::_internal_has_target_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCReportAbuseResponse::has_target_steam_id() const { - return _internal_has_target_steam_id(); -} -inline void CMsgGCReportAbuseResponse::clear_target_steam_id() { - _impl_.target_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgGCReportAbuseResponse::_internal_target_steam_id() const { - return _impl_.target_steam_id_; -} -inline uint64_t CMsgGCReportAbuseResponse::target_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgGCReportAbuseResponse.target_steam_id) - return _internal_target_steam_id(); -} -inline void CMsgGCReportAbuseResponse::_internal_set_target_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.target_steam_id_ = value; -} -inline void CMsgGCReportAbuseResponse::set_target_steam_id(uint64_t value) { - _internal_set_target_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgGCReportAbuseResponse.target_steam_id) -} - -// optional uint32 result = 2; -inline bool CMsgGCReportAbuseResponse::_internal_has_result() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCReportAbuseResponse::has_result() const { - return _internal_has_result(); -} -inline void CMsgGCReportAbuseResponse::clear_result() { - _impl_.result_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCReportAbuseResponse::_internal_result() const { - return _impl_.result_; -} -inline uint32_t CMsgGCReportAbuseResponse::result() const { - // @@protoc_insertion_point(field_get:CMsgGCReportAbuseResponse.result) - return _internal_result(); -} -inline void CMsgGCReportAbuseResponse::_internal_set_result(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.result_ = value; -} -inline void CMsgGCReportAbuseResponse::set_result(uint32_t value) { - _internal_set_result(value); - // @@protoc_insertion_point(field_set:CMsgGCReportAbuseResponse.result) -} - -// optional string error_message = 3; -inline bool CMsgGCReportAbuseResponse::_internal_has_error_message() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCReportAbuseResponse::has_error_message() const { - return _internal_has_error_message(); -} -inline void CMsgGCReportAbuseResponse::clear_error_message() { - _impl_.error_message_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCReportAbuseResponse::error_message() const { - // @@protoc_insertion_point(field_get:CMsgGCReportAbuseResponse.error_message) - return _internal_error_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCReportAbuseResponse::set_error_message(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.error_message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCReportAbuseResponse.error_message) -} -inline std::string* CMsgGCReportAbuseResponse::mutable_error_message() { - std::string* _s = _internal_mutable_error_message(); - // @@protoc_insertion_point(field_mutable:CMsgGCReportAbuseResponse.error_message) - return _s; -} -inline const std::string& CMsgGCReportAbuseResponse::_internal_error_message() const { - return _impl_.error_message_.Get(); -} -inline void CMsgGCReportAbuseResponse::_internal_set_error_message(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.error_message_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCReportAbuseResponse::_internal_mutable_error_message() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.error_message_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCReportAbuseResponse::release_error_message() { - // @@protoc_insertion_point(field_release:CMsgGCReportAbuseResponse.error_message) - if (!_internal_has_error_message()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.error_message_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.error_message_.IsDefault()) { - _impl_.error_message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCReportAbuseResponse::set_allocated_error_message(std::string* error_message) { - if (error_message != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.error_message_.SetAllocated(error_message, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.error_message_.IsDefault()) { - _impl_.error_message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCReportAbuseResponse.error_message) -} - -// ------------------------------------------------------------------- - -// CMsgGCNameItemNotification - -// optional fixed64 player_steamid = 1; -inline bool CMsgGCNameItemNotification::_internal_has_player_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCNameItemNotification::has_player_steamid() const { - return _internal_has_player_steamid(); -} -inline void CMsgGCNameItemNotification::clear_player_steamid() { - _impl_.player_steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgGCNameItemNotification::_internal_player_steamid() const { - return _impl_.player_steamid_; -} -inline uint64_t CMsgGCNameItemNotification::player_steamid() const { - // @@protoc_insertion_point(field_get:CMsgGCNameItemNotification.player_steamid) - return _internal_player_steamid(); -} -inline void CMsgGCNameItemNotification::_internal_set_player_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.player_steamid_ = value; -} -inline void CMsgGCNameItemNotification::set_player_steamid(uint64_t value) { - _internal_set_player_steamid(value); - // @@protoc_insertion_point(field_set:CMsgGCNameItemNotification.player_steamid) -} - -// optional uint32 item_def_index = 2; -inline bool CMsgGCNameItemNotification::_internal_has_item_def_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCNameItemNotification::has_item_def_index() const { - return _internal_has_item_def_index(); -} -inline void CMsgGCNameItemNotification::clear_item_def_index() { - _impl_.item_def_index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCNameItemNotification::_internal_item_def_index() const { - return _impl_.item_def_index_; -} -inline uint32_t CMsgGCNameItemNotification::item_def_index() const { - // @@protoc_insertion_point(field_get:CMsgGCNameItemNotification.item_def_index) - return _internal_item_def_index(); -} -inline void CMsgGCNameItemNotification::_internal_set_item_def_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.item_def_index_ = value; -} -inline void CMsgGCNameItemNotification::set_item_def_index(uint32_t value) { - _internal_set_item_def_index(value); - // @@protoc_insertion_point(field_set:CMsgGCNameItemNotification.item_def_index) -} - -// optional string item_name_custom = 3; -inline bool CMsgGCNameItemNotification::_internal_has_item_name_custom() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCNameItemNotification::has_item_name_custom() const { - return _internal_has_item_name_custom(); -} -inline void CMsgGCNameItemNotification::clear_item_name_custom() { - _impl_.item_name_custom_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCNameItemNotification::item_name_custom() const { - // @@protoc_insertion_point(field_get:CMsgGCNameItemNotification.item_name_custom) - return _internal_item_name_custom(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCNameItemNotification::set_item_name_custom(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.item_name_custom_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCNameItemNotification.item_name_custom) -} -inline std::string* CMsgGCNameItemNotification::mutable_item_name_custom() { - std::string* _s = _internal_mutable_item_name_custom(); - // @@protoc_insertion_point(field_mutable:CMsgGCNameItemNotification.item_name_custom) - return _s; -} -inline const std::string& CMsgGCNameItemNotification::_internal_item_name_custom() const { - return _impl_.item_name_custom_.Get(); -} -inline void CMsgGCNameItemNotification::_internal_set_item_name_custom(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.item_name_custom_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCNameItemNotification::_internal_mutable_item_name_custom() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.item_name_custom_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCNameItemNotification::release_item_name_custom() { - // @@protoc_insertion_point(field_release:CMsgGCNameItemNotification.item_name_custom) - if (!_internal_has_item_name_custom()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.item_name_custom_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.item_name_custom_.IsDefault()) { - _impl_.item_name_custom_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCNameItemNotification::set_allocated_item_name_custom(std::string* item_name_custom) { - if (item_name_custom != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.item_name_custom_.SetAllocated(item_name_custom, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.item_name_custom_.IsDefault()) { - _impl_.item_name_custom_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCNameItemNotification.item_name_custom) -} - -// ------------------------------------------------------------------- - -// CMsgGCClientDisplayNotification - -// optional string notification_title_localization_key = 1; -inline bool CMsgGCClientDisplayNotification::_internal_has_notification_title_localization_key() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCClientDisplayNotification::has_notification_title_localization_key() const { - return _internal_has_notification_title_localization_key(); -} -inline void CMsgGCClientDisplayNotification::clear_notification_title_localization_key() { - _impl_.notification_title_localization_key_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCClientDisplayNotification::notification_title_localization_key() const { - // @@protoc_insertion_point(field_get:CMsgGCClientDisplayNotification.notification_title_localization_key) - return _internal_notification_title_localization_key(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCClientDisplayNotification::set_notification_title_localization_key(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.notification_title_localization_key_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCClientDisplayNotification.notification_title_localization_key) -} -inline std::string* CMsgGCClientDisplayNotification::mutable_notification_title_localization_key() { - std::string* _s = _internal_mutable_notification_title_localization_key(); - // @@protoc_insertion_point(field_mutable:CMsgGCClientDisplayNotification.notification_title_localization_key) - return _s; -} -inline const std::string& CMsgGCClientDisplayNotification::_internal_notification_title_localization_key() const { - return _impl_.notification_title_localization_key_.Get(); -} -inline void CMsgGCClientDisplayNotification::_internal_set_notification_title_localization_key(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.notification_title_localization_key_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCClientDisplayNotification::_internal_mutable_notification_title_localization_key() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.notification_title_localization_key_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCClientDisplayNotification::release_notification_title_localization_key() { - // @@protoc_insertion_point(field_release:CMsgGCClientDisplayNotification.notification_title_localization_key) - if (!_internal_has_notification_title_localization_key()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.notification_title_localization_key_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.notification_title_localization_key_.IsDefault()) { - _impl_.notification_title_localization_key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCClientDisplayNotification::set_allocated_notification_title_localization_key(std::string* notification_title_localization_key) { - if (notification_title_localization_key != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.notification_title_localization_key_.SetAllocated(notification_title_localization_key, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.notification_title_localization_key_.IsDefault()) { - _impl_.notification_title_localization_key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCClientDisplayNotification.notification_title_localization_key) -} - -// optional string notification_body_localization_key = 2; -inline bool CMsgGCClientDisplayNotification::_internal_has_notification_body_localization_key() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCClientDisplayNotification::has_notification_body_localization_key() const { - return _internal_has_notification_body_localization_key(); -} -inline void CMsgGCClientDisplayNotification::clear_notification_body_localization_key() { - _impl_.notification_body_localization_key_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgGCClientDisplayNotification::notification_body_localization_key() const { - // @@protoc_insertion_point(field_get:CMsgGCClientDisplayNotification.notification_body_localization_key) - return _internal_notification_body_localization_key(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCClientDisplayNotification::set_notification_body_localization_key(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.notification_body_localization_key_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCClientDisplayNotification.notification_body_localization_key) -} -inline std::string* CMsgGCClientDisplayNotification::mutable_notification_body_localization_key() { - std::string* _s = _internal_mutable_notification_body_localization_key(); - // @@protoc_insertion_point(field_mutable:CMsgGCClientDisplayNotification.notification_body_localization_key) - return _s; -} -inline const std::string& CMsgGCClientDisplayNotification::_internal_notification_body_localization_key() const { - return _impl_.notification_body_localization_key_.Get(); -} -inline void CMsgGCClientDisplayNotification::_internal_set_notification_body_localization_key(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.notification_body_localization_key_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCClientDisplayNotification::_internal_mutable_notification_body_localization_key() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.notification_body_localization_key_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCClientDisplayNotification::release_notification_body_localization_key() { - // @@protoc_insertion_point(field_release:CMsgGCClientDisplayNotification.notification_body_localization_key) - if (!_internal_has_notification_body_localization_key()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.notification_body_localization_key_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.notification_body_localization_key_.IsDefault()) { - _impl_.notification_body_localization_key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCClientDisplayNotification::set_allocated_notification_body_localization_key(std::string* notification_body_localization_key) { - if (notification_body_localization_key != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.notification_body_localization_key_.SetAllocated(notification_body_localization_key, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.notification_body_localization_key_.IsDefault()) { - _impl_.notification_body_localization_key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCClientDisplayNotification.notification_body_localization_key) -} - -// repeated string body_substring_keys = 3; -inline int CMsgGCClientDisplayNotification::_internal_body_substring_keys_size() const { - return _impl_.body_substring_keys_.size(); -} -inline int CMsgGCClientDisplayNotification::body_substring_keys_size() const { - return _internal_body_substring_keys_size(); -} -inline void CMsgGCClientDisplayNotification::clear_body_substring_keys() { - _impl_.body_substring_keys_.Clear(); -} -inline std::string* CMsgGCClientDisplayNotification::add_body_substring_keys() { - std::string* _s = _internal_add_body_substring_keys(); - // @@protoc_insertion_point(field_add_mutable:CMsgGCClientDisplayNotification.body_substring_keys) - return _s; -} -inline const std::string& CMsgGCClientDisplayNotification::_internal_body_substring_keys(int index) const { - return _impl_.body_substring_keys_.Get(index); -} -inline const std::string& CMsgGCClientDisplayNotification::body_substring_keys(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCClientDisplayNotification.body_substring_keys) - return _internal_body_substring_keys(index); -} -inline std::string* CMsgGCClientDisplayNotification::mutable_body_substring_keys(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCClientDisplayNotification.body_substring_keys) - return _impl_.body_substring_keys_.Mutable(index); -} -inline void CMsgGCClientDisplayNotification::set_body_substring_keys(int index, const std::string& value) { - _impl_.body_substring_keys_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CMsgGCClientDisplayNotification.body_substring_keys) -} -inline void CMsgGCClientDisplayNotification::set_body_substring_keys(int index, std::string&& value) { - _impl_.body_substring_keys_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CMsgGCClientDisplayNotification.body_substring_keys) -} -inline void CMsgGCClientDisplayNotification::set_body_substring_keys(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.body_substring_keys_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CMsgGCClientDisplayNotification.body_substring_keys) -} -inline void CMsgGCClientDisplayNotification::set_body_substring_keys(int index, const char* value, size_t size) { - _impl_.body_substring_keys_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CMsgGCClientDisplayNotification.body_substring_keys) -} -inline std::string* CMsgGCClientDisplayNotification::_internal_add_body_substring_keys() { - return _impl_.body_substring_keys_.Add(); -} -inline void CMsgGCClientDisplayNotification::add_body_substring_keys(const std::string& value) { - _impl_.body_substring_keys_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CMsgGCClientDisplayNotification.body_substring_keys) -} -inline void CMsgGCClientDisplayNotification::add_body_substring_keys(std::string&& value) { - _impl_.body_substring_keys_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CMsgGCClientDisplayNotification.body_substring_keys) -} -inline void CMsgGCClientDisplayNotification::add_body_substring_keys(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.body_substring_keys_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CMsgGCClientDisplayNotification.body_substring_keys) -} -inline void CMsgGCClientDisplayNotification::add_body_substring_keys(const char* value, size_t size) { - _impl_.body_substring_keys_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CMsgGCClientDisplayNotification.body_substring_keys) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CMsgGCClientDisplayNotification::body_substring_keys() const { - // @@protoc_insertion_point(field_list:CMsgGCClientDisplayNotification.body_substring_keys) - return _impl_.body_substring_keys_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CMsgGCClientDisplayNotification::mutable_body_substring_keys() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCClientDisplayNotification.body_substring_keys) - return &_impl_.body_substring_keys_; -} - -// repeated string body_substring_values = 4; -inline int CMsgGCClientDisplayNotification::_internal_body_substring_values_size() const { - return _impl_.body_substring_values_.size(); -} -inline int CMsgGCClientDisplayNotification::body_substring_values_size() const { - return _internal_body_substring_values_size(); -} -inline void CMsgGCClientDisplayNotification::clear_body_substring_values() { - _impl_.body_substring_values_.Clear(); -} -inline std::string* CMsgGCClientDisplayNotification::add_body_substring_values() { - std::string* _s = _internal_add_body_substring_values(); - // @@protoc_insertion_point(field_add_mutable:CMsgGCClientDisplayNotification.body_substring_values) - return _s; -} -inline const std::string& CMsgGCClientDisplayNotification::_internal_body_substring_values(int index) const { - return _impl_.body_substring_values_.Get(index); -} -inline const std::string& CMsgGCClientDisplayNotification::body_substring_values(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCClientDisplayNotification.body_substring_values) - return _internal_body_substring_values(index); -} -inline std::string* CMsgGCClientDisplayNotification::mutable_body_substring_values(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCClientDisplayNotification.body_substring_values) - return _impl_.body_substring_values_.Mutable(index); -} -inline void CMsgGCClientDisplayNotification::set_body_substring_values(int index, const std::string& value) { - _impl_.body_substring_values_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CMsgGCClientDisplayNotification.body_substring_values) -} -inline void CMsgGCClientDisplayNotification::set_body_substring_values(int index, std::string&& value) { - _impl_.body_substring_values_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CMsgGCClientDisplayNotification.body_substring_values) -} -inline void CMsgGCClientDisplayNotification::set_body_substring_values(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.body_substring_values_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CMsgGCClientDisplayNotification.body_substring_values) -} -inline void CMsgGCClientDisplayNotification::set_body_substring_values(int index, const char* value, size_t size) { - _impl_.body_substring_values_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CMsgGCClientDisplayNotification.body_substring_values) -} -inline std::string* CMsgGCClientDisplayNotification::_internal_add_body_substring_values() { - return _impl_.body_substring_values_.Add(); -} -inline void CMsgGCClientDisplayNotification::add_body_substring_values(const std::string& value) { - _impl_.body_substring_values_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CMsgGCClientDisplayNotification.body_substring_values) -} -inline void CMsgGCClientDisplayNotification::add_body_substring_values(std::string&& value) { - _impl_.body_substring_values_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CMsgGCClientDisplayNotification.body_substring_values) -} -inline void CMsgGCClientDisplayNotification::add_body_substring_values(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.body_substring_values_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CMsgGCClientDisplayNotification.body_substring_values) -} -inline void CMsgGCClientDisplayNotification::add_body_substring_values(const char* value, size_t size) { - _impl_.body_substring_values_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CMsgGCClientDisplayNotification.body_substring_values) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CMsgGCClientDisplayNotification::body_substring_values() const { - // @@protoc_insertion_point(field_list:CMsgGCClientDisplayNotification.body_substring_values) - return _impl_.body_substring_values_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CMsgGCClientDisplayNotification::mutable_body_substring_values() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCClientDisplayNotification.body_substring_values) - return &_impl_.body_substring_values_; -} - -// ------------------------------------------------------------------- - -// CMsgGCShowItemsPickedUp - -// optional fixed64 player_steamid = 1; -inline bool CMsgGCShowItemsPickedUp::_internal_has_player_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCShowItemsPickedUp::has_player_steamid() const { - return _internal_has_player_steamid(); -} -inline void CMsgGCShowItemsPickedUp::clear_player_steamid() { - _impl_.player_steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCShowItemsPickedUp::_internal_player_steamid() const { - return _impl_.player_steamid_; -} -inline uint64_t CMsgGCShowItemsPickedUp::player_steamid() const { - // @@protoc_insertion_point(field_get:CMsgGCShowItemsPickedUp.player_steamid) - return _internal_player_steamid(); -} -inline void CMsgGCShowItemsPickedUp::_internal_set_player_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.player_steamid_ = value; -} -inline void CMsgGCShowItemsPickedUp::set_player_steamid(uint64_t value) { - _internal_set_player_steamid(value); - // @@protoc_insertion_point(field_set:CMsgGCShowItemsPickedUp.player_steamid) -} - -// ------------------------------------------------------------------- - -// CMsgGCIncrementKillCountResponse - -// optional uint32 killer_account_id = 1 [(.key_field) = true]; -inline bool CMsgGCIncrementKillCountResponse::_internal_has_killer_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCIncrementKillCountResponse::has_killer_account_id() const { - return _internal_has_killer_account_id(); -} -inline void CMsgGCIncrementKillCountResponse::clear_killer_account_id() { - _impl_.killer_account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCIncrementKillCountResponse::_internal_killer_account_id() const { - return _impl_.killer_account_id_; -} -inline uint32_t CMsgGCIncrementKillCountResponse::killer_account_id() const { - // @@protoc_insertion_point(field_get:CMsgGCIncrementKillCountResponse.killer_account_id) - return _internal_killer_account_id(); -} -inline void CMsgGCIncrementKillCountResponse::_internal_set_killer_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.killer_account_id_ = value; -} -inline void CMsgGCIncrementKillCountResponse::set_killer_account_id(uint32_t value) { - _internal_set_killer_account_id(value); - // @@protoc_insertion_point(field_set:CMsgGCIncrementKillCountResponse.killer_account_id) -} - -// optional uint32 num_kills = 2; -inline bool CMsgGCIncrementKillCountResponse::_internal_has_num_kills() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCIncrementKillCountResponse::has_num_kills() const { - return _internal_has_num_kills(); -} -inline void CMsgGCIncrementKillCountResponse::clear_num_kills() { - _impl_.num_kills_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCIncrementKillCountResponse::_internal_num_kills() const { - return _impl_.num_kills_; -} -inline uint32_t CMsgGCIncrementKillCountResponse::num_kills() const { - // @@protoc_insertion_point(field_get:CMsgGCIncrementKillCountResponse.num_kills) - return _internal_num_kills(); -} -inline void CMsgGCIncrementKillCountResponse::_internal_set_num_kills(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.num_kills_ = value; -} -inline void CMsgGCIncrementKillCountResponse::set_num_kills(uint32_t value) { - _internal_set_num_kills(value); - // @@protoc_insertion_point(field_set:CMsgGCIncrementKillCountResponse.num_kills) -} - -// optional uint32 item_def = 3; -inline bool CMsgGCIncrementKillCountResponse::_internal_has_item_def() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCIncrementKillCountResponse::has_item_def() const { - return _internal_has_item_def(); -} -inline void CMsgGCIncrementKillCountResponse::clear_item_def() { - _impl_.item_def_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCIncrementKillCountResponse::_internal_item_def() const { - return _impl_.item_def_; -} -inline uint32_t CMsgGCIncrementKillCountResponse::item_def() const { - // @@protoc_insertion_point(field_get:CMsgGCIncrementKillCountResponse.item_def) - return _internal_item_def(); -} -inline void CMsgGCIncrementKillCountResponse::_internal_set_item_def(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.item_def_ = value; -} -inline void CMsgGCIncrementKillCountResponse::set_item_def(uint32_t value) { - _internal_set_item_def(value); - // @@protoc_insertion_point(field_set:CMsgGCIncrementKillCountResponse.item_def) -} - -// optional uint32 level_type = 4; -inline bool CMsgGCIncrementKillCountResponse::_internal_has_level_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCIncrementKillCountResponse::has_level_type() const { - return _internal_has_level_type(); -} -inline void CMsgGCIncrementKillCountResponse::clear_level_type() { - _impl_.level_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCIncrementKillCountResponse::_internal_level_type() const { - return _impl_.level_type_; -} -inline uint32_t CMsgGCIncrementKillCountResponse::level_type() const { - // @@protoc_insertion_point(field_get:CMsgGCIncrementKillCountResponse.level_type) - return _internal_level_type(); -} -inline void CMsgGCIncrementKillCountResponse::_internal_set_level_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.level_type_ = value; -} -inline void CMsgGCIncrementKillCountResponse::set_level_type(uint32_t value) { - _internal_set_level_type(value); - // @@protoc_insertion_point(field_set:CMsgGCIncrementKillCountResponse.level_type) -} - -// ------------------------------------------------------------------- - -// CSOEconItemDropRateBonus - -// optional uint32 account_id = 1; -inline bool CSOEconItemDropRateBonus::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOEconItemDropRateBonus::has_account_id() const { - return _internal_has_account_id(); -} -inline void CSOEconItemDropRateBonus::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOEconItemDropRateBonus::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CSOEconItemDropRateBonus::account_id() const { - // @@protoc_insertion_point(field_get:CSOEconItemDropRateBonus.account_id) - return _internal_account_id(); -} -inline void CSOEconItemDropRateBonus::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.account_id_ = value; -} -inline void CSOEconItemDropRateBonus::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CSOEconItemDropRateBonus.account_id) -} - -// optional fixed32 expiration_date = 2; -inline bool CSOEconItemDropRateBonus::_internal_has_expiration_date() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOEconItemDropRateBonus::has_expiration_date() const { - return _internal_has_expiration_date(); -} -inline void CSOEconItemDropRateBonus::clear_expiration_date() { - _impl_.expiration_date_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSOEconItemDropRateBonus::_internal_expiration_date() const { - return _impl_.expiration_date_; -} -inline uint32_t CSOEconItemDropRateBonus::expiration_date() const { - // @@protoc_insertion_point(field_get:CSOEconItemDropRateBonus.expiration_date) - return _internal_expiration_date(); -} -inline void CSOEconItemDropRateBonus::_internal_set_expiration_date(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.expiration_date_ = value; -} -inline void CSOEconItemDropRateBonus::set_expiration_date(uint32_t value) { - _internal_set_expiration_date(value); - // @@protoc_insertion_point(field_set:CSOEconItemDropRateBonus.expiration_date) -} - -// optional float bonus = 3; -inline bool CSOEconItemDropRateBonus::_internal_has_bonus() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOEconItemDropRateBonus::has_bonus() const { - return _internal_has_bonus(); -} -inline void CSOEconItemDropRateBonus::clear_bonus() { - _impl_.bonus_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CSOEconItemDropRateBonus::_internal_bonus() const { - return _impl_.bonus_; -} -inline float CSOEconItemDropRateBonus::bonus() const { - // @@protoc_insertion_point(field_get:CSOEconItemDropRateBonus.bonus) - return _internal_bonus(); -} -inline void CSOEconItemDropRateBonus::_internal_set_bonus(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.bonus_ = value; -} -inline void CSOEconItemDropRateBonus::set_bonus(float value) { - _internal_set_bonus(value); - // @@protoc_insertion_point(field_set:CSOEconItemDropRateBonus.bonus) -} - -// optional uint32 bonus_count = 4; -inline bool CSOEconItemDropRateBonus::_internal_has_bonus_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSOEconItemDropRateBonus::has_bonus_count() const { - return _internal_has_bonus_count(); -} -inline void CSOEconItemDropRateBonus::clear_bonus_count() { - _impl_.bonus_count_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CSOEconItemDropRateBonus::_internal_bonus_count() const { - return _impl_.bonus_count_; -} -inline uint32_t CSOEconItemDropRateBonus::bonus_count() const { - // @@protoc_insertion_point(field_get:CSOEconItemDropRateBonus.bonus_count) - return _internal_bonus_count(); -} -inline void CSOEconItemDropRateBonus::_internal_set_bonus_count(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.bonus_count_ = value; -} -inline void CSOEconItemDropRateBonus::set_bonus_count(uint32_t value) { - _internal_set_bonus_count(value); - // @@protoc_insertion_point(field_set:CSOEconItemDropRateBonus.bonus_count) -} - -// optional uint64 item_id = 5; -inline bool CSOEconItemDropRateBonus::_internal_has_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSOEconItemDropRateBonus::has_item_id() const { - return _internal_has_item_id(); -} -inline void CSOEconItemDropRateBonus::clear_item_id() { - _impl_.item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CSOEconItemDropRateBonus::_internal_item_id() const { - return _impl_.item_id_; -} -inline uint64_t CSOEconItemDropRateBonus::item_id() const { - // @@protoc_insertion_point(field_get:CSOEconItemDropRateBonus.item_id) - return _internal_item_id(); -} -inline void CSOEconItemDropRateBonus::_internal_set_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.item_id_ = value; -} -inline void CSOEconItemDropRateBonus::set_item_id(uint64_t value) { - _internal_set_item_id(value); - // @@protoc_insertion_point(field_set:CSOEconItemDropRateBonus.item_id) -} - -// optional uint32 def_index = 6; -inline bool CSOEconItemDropRateBonus::_internal_has_def_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSOEconItemDropRateBonus::has_def_index() const { - return _internal_has_def_index(); -} -inline void CSOEconItemDropRateBonus::clear_def_index() { - _impl_.def_index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CSOEconItemDropRateBonus::_internal_def_index() const { - return _impl_.def_index_; -} -inline uint32_t CSOEconItemDropRateBonus::def_index() const { - // @@protoc_insertion_point(field_get:CSOEconItemDropRateBonus.def_index) - return _internal_def_index(); -} -inline void CSOEconItemDropRateBonus::_internal_set_def_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.def_index_ = value; -} -inline void CSOEconItemDropRateBonus::set_def_index(uint32_t value) { - _internal_set_def_index(value); - // @@protoc_insertion_point(field_set:CSOEconItemDropRateBonus.def_index) -} - -// ------------------------------------------------------------------- - -// CSOEconItemLeagueViewPass - -// optional uint32 account_id = 1 [(.key_field) = true]; -inline bool CSOEconItemLeagueViewPass::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOEconItemLeagueViewPass::has_account_id() const { - return _internal_has_account_id(); -} -inline void CSOEconItemLeagueViewPass::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOEconItemLeagueViewPass::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CSOEconItemLeagueViewPass::account_id() const { - // @@protoc_insertion_point(field_get:CSOEconItemLeagueViewPass.account_id) - return _internal_account_id(); -} -inline void CSOEconItemLeagueViewPass::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.account_id_ = value; -} -inline void CSOEconItemLeagueViewPass::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CSOEconItemLeagueViewPass.account_id) -} - -// optional uint32 league_id = 2 [(.key_field) = true]; -inline bool CSOEconItemLeagueViewPass::_internal_has_league_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOEconItemLeagueViewPass::has_league_id() const { - return _internal_has_league_id(); -} -inline void CSOEconItemLeagueViewPass::clear_league_id() { - _impl_.league_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSOEconItemLeagueViewPass::_internal_league_id() const { - return _impl_.league_id_; -} -inline uint32_t CSOEconItemLeagueViewPass::league_id() const { - // @@protoc_insertion_point(field_get:CSOEconItemLeagueViewPass.league_id) - return _internal_league_id(); -} -inline void CSOEconItemLeagueViewPass::_internal_set_league_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.league_id_ = value; -} -inline void CSOEconItemLeagueViewPass::set_league_id(uint32_t value) { - _internal_set_league_id(value); - // @@protoc_insertion_point(field_set:CSOEconItemLeagueViewPass.league_id) -} - -// optional uint32 admin = 3; -inline bool CSOEconItemLeagueViewPass::_internal_has_admin() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOEconItemLeagueViewPass::has_admin() const { - return _internal_has_admin(); -} -inline void CSOEconItemLeagueViewPass::clear_admin() { - _impl_.admin_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CSOEconItemLeagueViewPass::_internal_admin() const { - return _impl_.admin_; -} -inline uint32_t CSOEconItemLeagueViewPass::admin() const { - // @@protoc_insertion_point(field_get:CSOEconItemLeagueViewPass.admin) - return _internal_admin(); -} -inline void CSOEconItemLeagueViewPass::_internal_set_admin(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.admin_ = value; -} -inline void CSOEconItemLeagueViewPass::set_admin(uint32_t value) { - _internal_set_admin(value); - // @@protoc_insertion_point(field_set:CSOEconItemLeagueViewPass.admin) -} - -// optional uint32 itemindex = 4; -inline bool CSOEconItemLeagueViewPass::_internal_has_itemindex() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSOEconItemLeagueViewPass::has_itemindex() const { - return _internal_has_itemindex(); -} -inline void CSOEconItemLeagueViewPass::clear_itemindex() { - _impl_.itemindex_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CSOEconItemLeagueViewPass::_internal_itemindex() const { - return _impl_.itemindex_; -} -inline uint32_t CSOEconItemLeagueViewPass::itemindex() const { - // @@protoc_insertion_point(field_get:CSOEconItemLeagueViewPass.itemindex) - return _internal_itemindex(); -} -inline void CSOEconItemLeagueViewPass::_internal_set_itemindex(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.itemindex_ = value; -} -inline void CSOEconItemLeagueViewPass::set_itemindex(uint32_t value) { - _internal_set_itemindex(value); - // @@protoc_insertion_point(field_set:CSOEconItemLeagueViewPass.itemindex) -} - -// ------------------------------------------------------------------- - -// CSOEconItemEventTicket - -// optional uint32 account_id = 1; -inline bool CSOEconItemEventTicket::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOEconItemEventTicket::has_account_id() const { - return _internal_has_account_id(); -} -inline void CSOEconItemEventTicket::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOEconItemEventTicket::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CSOEconItemEventTicket::account_id() const { - // @@protoc_insertion_point(field_get:CSOEconItemEventTicket.account_id) - return _internal_account_id(); -} -inline void CSOEconItemEventTicket::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.account_id_ = value; -} -inline void CSOEconItemEventTicket::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CSOEconItemEventTicket.account_id) -} - -// optional uint32 event_id = 2; -inline bool CSOEconItemEventTicket::_internal_has_event_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOEconItemEventTicket::has_event_id() const { - return _internal_has_event_id(); -} -inline void CSOEconItemEventTicket::clear_event_id() { - _impl_.event_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSOEconItemEventTicket::_internal_event_id() const { - return _impl_.event_id_; -} -inline uint32_t CSOEconItemEventTicket::event_id() const { - // @@protoc_insertion_point(field_get:CSOEconItemEventTicket.event_id) - return _internal_event_id(); -} -inline void CSOEconItemEventTicket::_internal_set_event_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.event_id_ = value; -} -inline void CSOEconItemEventTicket::set_event_id(uint32_t value) { - _internal_set_event_id(value); - // @@protoc_insertion_point(field_set:CSOEconItemEventTicket.event_id) -} - -// optional uint64 item_id = 3; -inline bool CSOEconItemEventTicket::_internal_has_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOEconItemEventTicket::has_item_id() const { - return _internal_has_item_id(); -} -inline void CSOEconItemEventTicket::clear_item_id() { - _impl_.item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CSOEconItemEventTicket::_internal_item_id() const { - return _impl_.item_id_; -} -inline uint64_t CSOEconItemEventTicket::item_id() const { - // @@protoc_insertion_point(field_get:CSOEconItemEventTicket.item_id) - return _internal_item_id(); -} -inline void CSOEconItemEventTicket::_internal_set_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.item_id_ = value; -} -inline void CSOEconItemEventTicket::set_item_id(uint64_t value) { - _internal_set_item_id(value); - // @@protoc_insertion_point(field_set:CSOEconItemEventTicket.item_id) -} - -// ------------------------------------------------------------------- - -// CMsgGCItemPreviewItemBoughtNotification - -// optional uint32 item_def_index = 1; -inline bool CMsgGCItemPreviewItemBoughtNotification::_internal_has_item_def_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCItemPreviewItemBoughtNotification::has_item_def_index() const { - return _internal_has_item_def_index(); -} -inline void CMsgGCItemPreviewItemBoughtNotification::clear_item_def_index() { - _impl_.item_def_index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCItemPreviewItemBoughtNotification::_internal_item_def_index() const { - return _impl_.item_def_index_; -} -inline uint32_t CMsgGCItemPreviewItemBoughtNotification::item_def_index() const { - // @@protoc_insertion_point(field_get:CMsgGCItemPreviewItemBoughtNotification.item_def_index) - return _internal_item_def_index(); -} -inline void CMsgGCItemPreviewItemBoughtNotification::_internal_set_item_def_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.item_def_index_ = value; -} -inline void CMsgGCItemPreviewItemBoughtNotification::set_item_def_index(uint32_t value) { - _internal_set_item_def_index(value); - // @@protoc_insertion_point(field_set:CMsgGCItemPreviewItemBoughtNotification.item_def_index) -} - -// ------------------------------------------------------------------- - -// CMsgGCStorePurchaseCancel - -// optional uint64 txn_id = 1; -inline bool CMsgGCStorePurchaseCancel::_internal_has_txn_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCStorePurchaseCancel::has_txn_id() const { - return _internal_has_txn_id(); -} -inline void CMsgGCStorePurchaseCancel::clear_txn_id() { - _impl_.txn_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCStorePurchaseCancel::_internal_txn_id() const { - return _impl_.txn_id_; -} -inline uint64_t CMsgGCStorePurchaseCancel::txn_id() const { - // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseCancel.txn_id) - return _internal_txn_id(); -} -inline void CMsgGCStorePurchaseCancel::_internal_set_txn_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.txn_id_ = value; -} -inline void CMsgGCStorePurchaseCancel::set_txn_id(uint64_t value) { - _internal_set_txn_id(value); - // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseCancel.txn_id) -} - -// ------------------------------------------------------------------- - -// CMsgGCStorePurchaseCancelResponse - -// optional uint32 result = 1; -inline bool CMsgGCStorePurchaseCancelResponse::_internal_has_result() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCStorePurchaseCancelResponse::has_result() const { - return _internal_has_result(); -} -inline void CMsgGCStorePurchaseCancelResponse::clear_result() { - _impl_.result_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCStorePurchaseCancelResponse::_internal_result() const { - return _impl_.result_; -} -inline uint32_t CMsgGCStorePurchaseCancelResponse::result() const { - // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseCancelResponse.result) - return _internal_result(); -} -inline void CMsgGCStorePurchaseCancelResponse::_internal_set_result(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.result_ = value; -} -inline void CMsgGCStorePurchaseCancelResponse::set_result(uint32_t value) { - _internal_set_result(value); - // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseCancelResponse.result) -} - -// ------------------------------------------------------------------- - -// CMsgGCStorePurchaseFinalize - -// optional uint64 txn_id = 1; -inline bool CMsgGCStorePurchaseFinalize::_internal_has_txn_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCStorePurchaseFinalize::has_txn_id() const { - return _internal_has_txn_id(); -} -inline void CMsgGCStorePurchaseFinalize::clear_txn_id() { - _impl_.txn_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCStorePurchaseFinalize::_internal_txn_id() const { - return _impl_.txn_id_; -} -inline uint64_t CMsgGCStorePurchaseFinalize::txn_id() const { - // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseFinalize.txn_id) - return _internal_txn_id(); -} -inline void CMsgGCStorePurchaseFinalize::_internal_set_txn_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.txn_id_ = value; -} -inline void CMsgGCStorePurchaseFinalize::set_txn_id(uint64_t value) { - _internal_set_txn_id(value); - // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseFinalize.txn_id) -} - -// ------------------------------------------------------------------- - -// CMsgGCStorePurchaseFinalizeResponse - -// optional uint32 result = 1; -inline bool CMsgGCStorePurchaseFinalizeResponse::_internal_has_result() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCStorePurchaseFinalizeResponse::has_result() const { - return _internal_has_result(); -} -inline void CMsgGCStorePurchaseFinalizeResponse::clear_result() { - _impl_.result_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCStorePurchaseFinalizeResponse::_internal_result() const { - return _impl_.result_; -} -inline uint32_t CMsgGCStorePurchaseFinalizeResponse::result() const { - // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseFinalizeResponse.result) - return _internal_result(); -} -inline void CMsgGCStorePurchaseFinalizeResponse::_internal_set_result(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.result_ = value; -} -inline void CMsgGCStorePurchaseFinalizeResponse::set_result(uint32_t value) { - _internal_set_result(value); - // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseFinalizeResponse.result) -} - -// repeated uint64 item_ids = 2; -inline int CMsgGCStorePurchaseFinalizeResponse::_internal_item_ids_size() const { - return _impl_.item_ids_.size(); -} -inline int CMsgGCStorePurchaseFinalizeResponse::item_ids_size() const { - return _internal_item_ids_size(); -} -inline void CMsgGCStorePurchaseFinalizeResponse::clear_item_ids() { - _impl_.item_ids_.Clear(); -} -inline uint64_t CMsgGCStorePurchaseFinalizeResponse::_internal_item_ids(int index) const { - return _impl_.item_ids_.Get(index); -} -inline uint64_t CMsgGCStorePurchaseFinalizeResponse::item_ids(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCStorePurchaseFinalizeResponse.item_ids) - return _internal_item_ids(index); -} -inline void CMsgGCStorePurchaseFinalizeResponse::set_item_ids(int index, uint64_t value) { - _impl_.item_ids_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCStorePurchaseFinalizeResponse.item_ids) -} -inline void CMsgGCStorePurchaseFinalizeResponse::_internal_add_item_ids(uint64_t value) { - _impl_.item_ids_.Add(value); -} -inline void CMsgGCStorePurchaseFinalizeResponse::add_item_ids(uint64_t value) { - _internal_add_item_ids(value); - // @@protoc_insertion_point(field_add:CMsgGCStorePurchaseFinalizeResponse.item_ids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CMsgGCStorePurchaseFinalizeResponse::_internal_item_ids() const { - return _impl_.item_ids_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CMsgGCStorePurchaseFinalizeResponse::item_ids() const { - // @@protoc_insertion_point(field_list:CMsgGCStorePurchaseFinalizeResponse.item_ids) - return _internal_item_ids(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CMsgGCStorePurchaseFinalizeResponse::_internal_mutable_item_ids() { - return &_impl_.item_ids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CMsgGCStorePurchaseFinalizeResponse::mutable_item_ids() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCStorePurchaseFinalizeResponse.item_ids) - return _internal_mutable_item_ids(); -} - -// ------------------------------------------------------------------- - -// CMsgGCBannedWordListRequest - -// optional uint32 ban_list_group_id = 1; -inline bool CMsgGCBannedWordListRequest::_internal_has_ban_list_group_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCBannedWordListRequest::has_ban_list_group_id() const { - return _internal_has_ban_list_group_id(); -} -inline void CMsgGCBannedWordListRequest::clear_ban_list_group_id() { - _impl_.ban_list_group_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCBannedWordListRequest::_internal_ban_list_group_id() const { - return _impl_.ban_list_group_id_; -} -inline uint32_t CMsgGCBannedWordListRequest::ban_list_group_id() const { - // @@protoc_insertion_point(field_get:CMsgGCBannedWordListRequest.ban_list_group_id) - return _internal_ban_list_group_id(); -} -inline void CMsgGCBannedWordListRequest::_internal_set_ban_list_group_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ban_list_group_id_ = value; -} -inline void CMsgGCBannedWordListRequest::set_ban_list_group_id(uint32_t value) { - _internal_set_ban_list_group_id(value); - // @@protoc_insertion_point(field_set:CMsgGCBannedWordListRequest.ban_list_group_id) -} - -// optional uint32 word_id = 2; -inline bool CMsgGCBannedWordListRequest::_internal_has_word_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCBannedWordListRequest::has_word_id() const { - return _internal_has_word_id(); -} -inline void CMsgGCBannedWordListRequest::clear_word_id() { - _impl_.word_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCBannedWordListRequest::_internal_word_id() const { - return _impl_.word_id_; -} -inline uint32_t CMsgGCBannedWordListRequest::word_id() const { - // @@protoc_insertion_point(field_get:CMsgGCBannedWordListRequest.word_id) - return _internal_word_id(); -} -inline void CMsgGCBannedWordListRequest::_internal_set_word_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.word_id_ = value; -} -inline void CMsgGCBannedWordListRequest::set_word_id(uint32_t value) { - _internal_set_word_id(value); - // @@protoc_insertion_point(field_set:CMsgGCBannedWordListRequest.word_id) -} - -// ------------------------------------------------------------------- - -// CMsgGCRequestAnnouncements - -// ------------------------------------------------------------------- - -// CMsgGCRequestAnnouncementsResponse - -// optional string announcement_title = 1; -inline bool CMsgGCRequestAnnouncementsResponse::_internal_has_announcement_title() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCRequestAnnouncementsResponse::has_announcement_title() const { - return _internal_has_announcement_title(); -} -inline void CMsgGCRequestAnnouncementsResponse::clear_announcement_title() { - _impl_.announcement_title_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCRequestAnnouncementsResponse::announcement_title() const { - // @@protoc_insertion_point(field_get:CMsgGCRequestAnnouncementsResponse.announcement_title) - return _internal_announcement_title(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCRequestAnnouncementsResponse::set_announcement_title(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.announcement_title_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCRequestAnnouncementsResponse.announcement_title) -} -inline std::string* CMsgGCRequestAnnouncementsResponse::mutable_announcement_title() { - std::string* _s = _internal_mutable_announcement_title(); - // @@protoc_insertion_point(field_mutable:CMsgGCRequestAnnouncementsResponse.announcement_title) - return _s; -} -inline const std::string& CMsgGCRequestAnnouncementsResponse::_internal_announcement_title() const { - return _impl_.announcement_title_.Get(); -} -inline void CMsgGCRequestAnnouncementsResponse::_internal_set_announcement_title(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.announcement_title_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCRequestAnnouncementsResponse::_internal_mutable_announcement_title() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.announcement_title_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCRequestAnnouncementsResponse::release_announcement_title() { - // @@protoc_insertion_point(field_release:CMsgGCRequestAnnouncementsResponse.announcement_title) - if (!_internal_has_announcement_title()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.announcement_title_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.announcement_title_.IsDefault()) { - _impl_.announcement_title_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCRequestAnnouncementsResponse::set_allocated_announcement_title(std::string* announcement_title) { - if (announcement_title != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.announcement_title_.SetAllocated(announcement_title, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.announcement_title_.IsDefault()) { - _impl_.announcement_title_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCRequestAnnouncementsResponse.announcement_title) -} - -// optional string announcement = 2; -inline bool CMsgGCRequestAnnouncementsResponse::_internal_has_announcement() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCRequestAnnouncementsResponse::has_announcement() const { - return _internal_has_announcement(); -} -inline void CMsgGCRequestAnnouncementsResponse::clear_announcement() { - _impl_.announcement_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgGCRequestAnnouncementsResponse::announcement() const { - // @@protoc_insertion_point(field_get:CMsgGCRequestAnnouncementsResponse.announcement) - return _internal_announcement(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCRequestAnnouncementsResponse::set_announcement(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.announcement_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCRequestAnnouncementsResponse.announcement) -} -inline std::string* CMsgGCRequestAnnouncementsResponse::mutable_announcement() { - std::string* _s = _internal_mutable_announcement(); - // @@protoc_insertion_point(field_mutable:CMsgGCRequestAnnouncementsResponse.announcement) - return _s; -} -inline const std::string& CMsgGCRequestAnnouncementsResponse::_internal_announcement() const { - return _impl_.announcement_.Get(); -} -inline void CMsgGCRequestAnnouncementsResponse::_internal_set_announcement(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.announcement_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCRequestAnnouncementsResponse::_internal_mutable_announcement() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.announcement_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCRequestAnnouncementsResponse::release_announcement() { - // @@protoc_insertion_point(field_release:CMsgGCRequestAnnouncementsResponse.announcement) - if (!_internal_has_announcement()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.announcement_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.announcement_.IsDefault()) { - _impl_.announcement_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCRequestAnnouncementsResponse::set_allocated_announcement(std::string* announcement) { - if (announcement != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.announcement_.SetAllocated(announcement, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.announcement_.IsDefault()) { - _impl_.announcement_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCRequestAnnouncementsResponse.announcement) -} - -// optional string nextmatch_title = 3; -inline bool CMsgGCRequestAnnouncementsResponse::_internal_has_nextmatch_title() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCRequestAnnouncementsResponse::has_nextmatch_title() const { - return _internal_has_nextmatch_title(); -} -inline void CMsgGCRequestAnnouncementsResponse::clear_nextmatch_title() { - _impl_.nextmatch_title_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgGCRequestAnnouncementsResponse::nextmatch_title() const { - // @@protoc_insertion_point(field_get:CMsgGCRequestAnnouncementsResponse.nextmatch_title) - return _internal_nextmatch_title(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCRequestAnnouncementsResponse::set_nextmatch_title(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.nextmatch_title_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCRequestAnnouncementsResponse.nextmatch_title) -} -inline std::string* CMsgGCRequestAnnouncementsResponse::mutable_nextmatch_title() { - std::string* _s = _internal_mutable_nextmatch_title(); - // @@protoc_insertion_point(field_mutable:CMsgGCRequestAnnouncementsResponse.nextmatch_title) - return _s; -} -inline const std::string& CMsgGCRequestAnnouncementsResponse::_internal_nextmatch_title() const { - return _impl_.nextmatch_title_.Get(); -} -inline void CMsgGCRequestAnnouncementsResponse::_internal_set_nextmatch_title(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.nextmatch_title_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCRequestAnnouncementsResponse::_internal_mutable_nextmatch_title() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.nextmatch_title_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCRequestAnnouncementsResponse::release_nextmatch_title() { - // @@protoc_insertion_point(field_release:CMsgGCRequestAnnouncementsResponse.nextmatch_title) - if (!_internal_has_nextmatch_title()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.nextmatch_title_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.nextmatch_title_.IsDefault()) { - _impl_.nextmatch_title_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCRequestAnnouncementsResponse::set_allocated_nextmatch_title(std::string* nextmatch_title) { - if (nextmatch_title != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.nextmatch_title_.SetAllocated(nextmatch_title, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.nextmatch_title_.IsDefault()) { - _impl_.nextmatch_title_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCRequestAnnouncementsResponse.nextmatch_title) -} - -// optional string nextmatch = 4; -inline bool CMsgGCRequestAnnouncementsResponse::_internal_has_nextmatch() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCRequestAnnouncementsResponse::has_nextmatch() const { - return _internal_has_nextmatch(); -} -inline void CMsgGCRequestAnnouncementsResponse::clear_nextmatch() { - _impl_.nextmatch_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CMsgGCRequestAnnouncementsResponse::nextmatch() const { - // @@protoc_insertion_point(field_get:CMsgGCRequestAnnouncementsResponse.nextmatch) - return _internal_nextmatch(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCRequestAnnouncementsResponse::set_nextmatch(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.nextmatch_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCRequestAnnouncementsResponse.nextmatch) -} -inline std::string* CMsgGCRequestAnnouncementsResponse::mutable_nextmatch() { - std::string* _s = _internal_mutable_nextmatch(); - // @@protoc_insertion_point(field_mutable:CMsgGCRequestAnnouncementsResponse.nextmatch) - return _s; -} -inline const std::string& CMsgGCRequestAnnouncementsResponse::_internal_nextmatch() const { - return _impl_.nextmatch_.Get(); -} -inline void CMsgGCRequestAnnouncementsResponse::_internal_set_nextmatch(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.nextmatch_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCRequestAnnouncementsResponse::_internal_mutable_nextmatch() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.nextmatch_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCRequestAnnouncementsResponse::release_nextmatch() { - // @@protoc_insertion_point(field_release:CMsgGCRequestAnnouncementsResponse.nextmatch) - if (!_internal_has_nextmatch()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.nextmatch_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.nextmatch_.IsDefault()) { - _impl_.nextmatch_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCRequestAnnouncementsResponse::set_allocated_nextmatch(std::string* nextmatch) { - if (nextmatch != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.nextmatch_.SetAllocated(nextmatch, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.nextmatch_.IsDefault()) { - _impl_.nextmatch_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCRequestAnnouncementsResponse.nextmatch) -} - -// ------------------------------------------------------------------- - -// CMsgGCBannedWord - -// optional uint32 word_id = 1; -inline bool CMsgGCBannedWord::_internal_has_word_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCBannedWord::has_word_id() const { - return _internal_has_word_id(); -} -inline void CMsgGCBannedWord::clear_word_id() { - _impl_.word_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCBannedWord::_internal_word_id() const { - return _impl_.word_id_; -} -inline uint32_t CMsgGCBannedWord::word_id() const { - // @@protoc_insertion_point(field_get:CMsgGCBannedWord.word_id) - return _internal_word_id(); -} -inline void CMsgGCBannedWord::_internal_set_word_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.word_id_ = value; -} -inline void CMsgGCBannedWord::set_word_id(uint32_t value) { - _internal_set_word_id(value); - // @@protoc_insertion_point(field_set:CMsgGCBannedWord.word_id) -} - -// optional .GC_BannedWordType word_type = 2 [default = GC_BANNED_WORD_DISABLE_WORD]; -inline bool CMsgGCBannedWord::_internal_has_word_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCBannedWord::has_word_type() const { - return _internal_has_word_type(); -} -inline void CMsgGCBannedWord::clear_word_type() { - _impl_.word_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::GC_BannedWordType CMsgGCBannedWord::_internal_word_type() const { - return static_cast< ::GC_BannedWordType >(_impl_.word_type_); -} -inline ::GC_BannedWordType CMsgGCBannedWord::word_type() const { - // @@protoc_insertion_point(field_get:CMsgGCBannedWord.word_type) - return _internal_word_type(); -} -inline void CMsgGCBannedWord::_internal_set_word_type(::GC_BannedWordType value) { - assert(::GC_BannedWordType_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.word_type_ = value; -} -inline void CMsgGCBannedWord::set_word_type(::GC_BannedWordType value) { - _internal_set_word_type(value); - // @@protoc_insertion_point(field_set:CMsgGCBannedWord.word_type) -} - -// optional string word = 3; -inline bool CMsgGCBannedWord::_internal_has_word() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCBannedWord::has_word() const { - return _internal_has_word(); -} -inline void CMsgGCBannedWord::clear_word() { - _impl_.word_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCBannedWord::word() const { - // @@protoc_insertion_point(field_get:CMsgGCBannedWord.word) - return _internal_word(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCBannedWord::set_word(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.word_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCBannedWord.word) -} -inline std::string* CMsgGCBannedWord::mutable_word() { - std::string* _s = _internal_mutable_word(); - // @@protoc_insertion_point(field_mutable:CMsgGCBannedWord.word) - return _s; -} -inline const std::string& CMsgGCBannedWord::_internal_word() const { - return _impl_.word_.Get(); -} -inline void CMsgGCBannedWord::_internal_set_word(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.word_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCBannedWord::_internal_mutable_word() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.word_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCBannedWord::release_word() { - // @@protoc_insertion_point(field_release:CMsgGCBannedWord.word) - if (!_internal_has_word()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.word_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.word_.IsDefault()) { - _impl_.word_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCBannedWord::set_allocated_word(std::string* word) { - if (word != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.word_.SetAllocated(word, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.word_.IsDefault()) { - _impl_.word_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCBannedWord.word) -} - -// ------------------------------------------------------------------- - -// CMsgGCBannedWordListResponse - -// optional uint32 ban_list_group_id = 1; -inline bool CMsgGCBannedWordListResponse::_internal_has_ban_list_group_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCBannedWordListResponse::has_ban_list_group_id() const { - return _internal_has_ban_list_group_id(); -} -inline void CMsgGCBannedWordListResponse::clear_ban_list_group_id() { - _impl_.ban_list_group_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCBannedWordListResponse::_internal_ban_list_group_id() const { - return _impl_.ban_list_group_id_; -} -inline uint32_t CMsgGCBannedWordListResponse::ban_list_group_id() const { - // @@protoc_insertion_point(field_get:CMsgGCBannedWordListResponse.ban_list_group_id) - return _internal_ban_list_group_id(); -} -inline void CMsgGCBannedWordListResponse::_internal_set_ban_list_group_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ban_list_group_id_ = value; -} -inline void CMsgGCBannedWordListResponse::set_ban_list_group_id(uint32_t value) { - _internal_set_ban_list_group_id(value); - // @@protoc_insertion_point(field_set:CMsgGCBannedWordListResponse.ban_list_group_id) -} - -// repeated .CMsgGCBannedWord word_list = 2; -inline int CMsgGCBannedWordListResponse::_internal_word_list_size() const { - return _impl_.word_list_.size(); -} -inline int CMsgGCBannedWordListResponse::word_list_size() const { - return _internal_word_list_size(); -} -inline void CMsgGCBannedWordListResponse::clear_word_list() { - _impl_.word_list_.Clear(); -} -inline ::CMsgGCBannedWord* CMsgGCBannedWordListResponse::mutable_word_list(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCBannedWordListResponse.word_list) - return _impl_.word_list_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCBannedWord >* -CMsgGCBannedWordListResponse::mutable_word_list() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCBannedWordListResponse.word_list) - return &_impl_.word_list_; -} -inline const ::CMsgGCBannedWord& CMsgGCBannedWordListResponse::_internal_word_list(int index) const { - return _impl_.word_list_.Get(index); -} -inline const ::CMsgGCBannedWord& CMsgGCBannedWordListResponse::word_list(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCBannedWordListResponse.word_list) - return _internal_word_list(index); -} -inline ::CMsgGCBannedWord* CMsgGCBannedWordListResponse::_internal_add_word_list() { - return _impl_.word_list_.Add(); -} -inline ::CMsgGCBannedWord* CMsgGCBannedWordListResponse::add_word_list() { - ::CMsgGCBannedWord* _add = _internal_add_word_list(); - // @@protoc_insertion_point(field_add:CMsgGCBannedWordListResponse.word_list) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCBannedWord >& -CMsgGCBannedWordListResponse::word_list() const { - // @@protoc_insertion_point(field_list:CMsgGCBannedWordListResponse.word_list) - return _impl_.word_list_; -} - -// ------------------------------------------------------------------- - -// CMsgGCToGCBannedWordListBroadcast - -// optional .CMsgGCBannedWordListResponse broadcast = 1; -inline bool CMsgGCToGCBannedWordListBroadcast::_internal_has_broadcast() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.broadcast_ != nullptr); - return value; -} -inline bool CMsgGCToGCBannedWordListBroadcast::has_broadcast() const { - return _internal_has_broadcast(); -} -inline void CMsgGCToGCBannedWordListBroadcast::clear_broadcast() { - if (_impl_.broadcast_ != nullptr) _impl_.broadcast_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgGCBannedWordListResponse& CMsgGCToGCBannedWordListBroadcast::_internal_broadcast() const { - const ::CMsgGCBannedWordListResponse* p = _impl_.broadcast_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgGCBannedWordListResponse_default_instance_); -} -inline const ::CMsgGCBannedWordListResponse& CMsgGCToGCBannedWordListBroadcast::broadcast() const { - // @@protoc_insertion_point(field_get:CMsgGCToGCBannedWordListBroadcast.broadcast) - return _internal_broadcast(); -} -inline void CMsgGCToGCBannedWordListBroadcast::unsafe_arena_set_allocated_broadcast( - ::CMsgGCBannedWordListResponse* broadcast) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.broadcast_); - } - _impl_.broadcast_ = broadcast; - if (broadcast) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCToGCBannedWordListBroadcast.broadcast) -} -inline ::CMsgGCBannedWordListResponse* CMsgGCToGCBannedWordListBroadcast::release_broadcast() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgGCBannedWordListResponse* temp = _impl_.broadcast_; - _impl_.broadcast_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgGCBannedWordListResponse* CMsgGCToGCBannedWordListBroadcast::unsafe_arena_release_broadcast() { - // @@protoc_insertion_point(field_release:CMsgGCToGCBannedWordListBroadcast.broadcast) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgGCBannedWordListResponse* temp = _impl_.broadcast_; - _impl_.broadcast_ = nullptr; - return temp; -} -inline ::CMsgGCBannedWordListResponse* CMsgGCToGCBannedWordListBroadcast::_internal_mutable_broadcast() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.broadcast_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgGCBannedWordListResponse>(GetArenaForAllocation()); - _impl_.broadcast_ = p; - } - return _impl_.broadcast_; -} -inline ::CMsgGCBannedWordListResponse* CMsgGCToGCBannedWordListBroadcast::mutable_broadcast() { - ::CMsgGCBannedWordListResponse* _msg = _internal_mutable_broadcast(); - // @@protoc_insertion_point(field_mutable:CMsgGCToGCBannedWordListBroadcast.broadcast) - return _msg; -} -inline void CMsgGCToGCBannedWordListBroadcast::set_allocated_broadcast(::CMsgGCBannedWordListResponse* broadcast) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.broadcast_; - } - if (broadcast) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(broadcast); - if (message_arena != submessage_arena) { - broadcast = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, broadcast, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.broadcast_ = broadcast; - // @@protoc_insertion_point(field_set_allocated:CMsgGCToGCBannedWordListBroadcast.broadcast) -} - -// ------------------------------------------------------------------- - -// CMsgGCToGCBannedWordListUpdated - -// optional uint32 group_id = 1; -inline bool CMsgGCToGCBannedWordListUpdated::_internal_has_group_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCToGCBannedWordListUpdated::has_group_id() const { - return _internal_has_group_id(); -} -inline void CMsgGCToGCBannedWordListUpdated::clear_group_id() { - _impl_.group_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCToGCBannedWordListUpdated::_internal_group_id() const { - return _impl_.group_id_; -} -inline uint32_t CMsgGCToGCBannedWordListUpdated::group_id() const { - // @@protoc_insertion_point(field_get:CMsgGCToGCBannedWordListUpdated.group_id) - return _internal_group_id(); -} -inline void CMsgGCToGCBannedWordListUpdated::_internal_set_group_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.group_id_ = value; -} -inline void CMsgGCToGCBannedWordListUpdated::set_group_id(uint32_t value) { - _internal_set_group_id(value); - // @@protoc_insertion_point(field_set:CMsgGCToGCBannedWordListUpdated.group_id) -} - -// ------------------------------------------------------------------- - -// CMsgGCToGCDirtySDOCache - -// optional uint32 sdo_type = 1; -inline bool CMsgGCToGCDirtySDOCache::_internal_has_sdo_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCToGCDirtySDOCache::has_sdo_type() const { - return _internal_has_sdo_type(); -} -inline void CMsgGCToGCDirtySDOCache::clear_sdo_type() { - _impl_.sdo_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCToGCDirtySDOCache::_internal_sdo_type() const { - return _impl_.sdo_type_; -} -inline uint32_t CMsgGCToGCDirtySDOCache::sdo_type() const { - // @@protoc_insertion_point(field_get:CMsgGCToGCDirtySDOCache.sdo_type) - return _internal_sdo_type(); -} -inline void CMsgGCToGCDirtySDOCache::_internal_set_sdo_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.sdo_type_ = value; -} -inline void CMsgGCToGCDirtySDOCache::set_sdo_type(uint32_t value) { - _internal_set_sdo_type(value); - // @@protoc_insertion_point(field_set:CMsgGCToGCDirtySDOCache.sdo_type) -} - -// optional uint64 key_uint64 = 2; -inline bool CMsgGCToGCDirtySDOCache::_internal_has_key_uint64() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCToGCDirtySDOCache::has_key_uint64() const { - return _internal_has_key_uint64(); -} -inline void CMsgGCToGCDirtySDOCache::clear_key_uint64() { - _impl_.key_uint64_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCToGCDirtySDOCache::_internal_key_uint64() const { - return _impl_.key_uint64_; -} -inline uint64_t CMsgGCToGCDirtySDOCache::key_uint64() const { - // @@protoc_insertion_point(field_get:CMsgGCToGCDirtySDOCache.key_uint64) - return _internal_key_uint64(); -} -inline void CMsgGCToGCDirtySDOCache::_internal_set_key_uint64(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.key_uint64_ = value; -} -inline void CMsgGCToGCDirtySDOCache::set_key_uint64(uint64_t value) { - _internal_set_key_uint64(value); - // @@protoc_insertion_point(field_set:CMsgGCToGCDirtySDOCache.key_uint64) -} - -// ------------------------------------------------------------------- - -// CMsgGCToGCDirtyMultipleSDOCache - -// optional uint32 sdo_type = 1; -inline bool CMsgGCToGCDirtyMultipleSDOCache::_internal_has_sdo_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCToGCDirtyMultipleSDOCache::has_sdo_type() const { - return _internal_has_sdo_type(); -} -inline void CMsgGCToGCDirtyMultipleSDOCache::clear_sdo_type() { - _impl_.sdo_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCToGCDirtyMultipleSDOCache::_internal_sdo_type() const { - return _impl_.sdo_type_; -} -inline uint32_t CMsgGCToGCDirtyMultipleSDOCache::sdo_type() const { - // @@protoc_insertion_point(field_get:CMsgGCToGCDirtyMultipleSDOCache.sdo_type) - return _internal_sdo_type(); -} -inline void CMsgGCToGCDirtyMultipleSDOCache::_internal_set_sdo_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sdo_type_ = value; -} -inline void CMsgGCToGCDirtyMultipleSDOCache::set_sdo_type(uint32_t value) { - _internal_set_sdo_type(value); - // @@protoc_insertion_point(field_set:CMsgGCToGCDirtyMultipleSDOCache.sdo_type) -} - -// repeated uint64 key_uint64 = 2; -inline int CMsgGCToGCDirtyMultipleSDOCache::_internal_key_uint64_size() const { - return _impl_.key_uint64_.size(); -} -inline int CMsgGCToGCDirtyMultipleSDOCache::key_uint64_size() const { - return _internal_key_uint64_size(); -} -inline void CMsgGCToGCDirtyMultipleSDOCache::clear_key_uint64() { - _impl_.key_uint64_.Clear(); -} -inline uint64_t CMsgGCToGCDirtyMultipleSDOCache::_internal_key_uint64(int index) const { - return _impl_.key_uint64_.Get(index); -} -inline uint64_t CMsgGCToGCDirtyMultipleSDOCache::key_uint64(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCToGCDirtyMultipleSDOCache.key_uint64) - return _internal_key_uint64(index); -} -inline void CMsgGCToGCDirtyMultipleSDOCache::set_key_uint64(int index, uint64_t value) { - _impl_.key_uint64_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCToGCDirtyMultipleSDOCache.key_uint64) -} -inline void CMsgGCToGCDirtyMultipleSDOCache::_internal_add_key_uint64(uint64_t value) { - _impl_.key_uint64_.Add(value); -} -inline void CMsgGCToGCDirtyMultipleSDOCache::add_key_uint64(uint64_t value) { - _internal_add_key_uint64(value); - // @@protoc_insertion_point(field_add:CMsgGCToGCDirtyMultipleSDOCache.key_uint64) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CMsgGCToGCDirtyMultipleSDOCache::_internal_key_uint64() const { - return _impl_.key_uint64_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CMsgGCToGCDirtyMultipleSDOCache::key_uint64() const { - // @@protoc_insertion_point(field_list:CMsgGCToGCDirtyMultipleSDOCache.key_uint64) - return _internal_key_uint64(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CMsgGCToGCDirtyMultipleSDOCache::_internal_mutable_key_uint64() { - return &_impl_.key_uint64_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CMsgGCToGCDirtyMultipleSDOCache::mutable_key_uint64() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCToGCDirtyMultipleSDOCache.key_uint64) - return _internal_mutable_key_uint64(); -} - -// ------------------------------------------------------------------- - -// CMsgGCCollectItem - -// optional uint64 collection_item_id = 1; -inline bool CMsgGCCollectItem::_internal_has_collection_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCollectItem::has_collection_item_id() const { - return _internal_has_collection_item_id(); -} -inline void CMsgGCCollectItem::clear_collection_item_id() { - _impl_.collection_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCCollectItem::_internal_collection_item_id() const { - return _impl_.collection_item_id_; -} -inline uint64_t CMsgGCCollectItem::collection_item_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCollectItem.collection_item_id) - return _internal_collection_item_id(); -} -inline void CMsgGCCollectItem::_internal_set_collection_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.collection_item_id_ = value; -} -inline void CMsgGCCollectItem::set_collection_item_id(uint64_t value) { - _internal_set_collection_item_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCollectItem.collection_item_id) -} - -// optional uint64 subject_item_id = 2; -inline bool CMsgGCCollectItem::_internal_has_subject_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCollectItem::has_subject_item_id() const { - return _internal_has_subject_item_id(); -} -inline void CMsgGCCollectItem::clear_subject_item_id() { - _impl_.subject_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgGCCollectItem::_internal_subject_item_id() const { - return _impl_.subject_item_id_; -} -inline uint64_t CMsgGCCollectItem::subject_item_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCollectItem.subject_item_id) - return _internal_subject_item_id(); -} -inline void CMsgGCCollectItem::_internal_set_subject_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.subject_item_id_ = value; -} -inline void CMsgGCCollectItem::set_subject_item_id(uint64_t value) { - _internal_set_subject_item_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCollectItem.subject_item_id) -} - -// ------------------------------------------------------------------- - -// CMsgSDONoMemcached - -// ------------------------------------------------------------------- - -// CMsgGCToGCUpdateSQLKeyValue - -// optional string key_name = 1; -inline bool CMsgGCToGCUpdateSQLKeyValue::_internal_has_key_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCToGCUpdateSQLKeyValue::has_key_name() const { - return _internal_has_key_name(); -} -inline void CMsgGCToGCUpdateSQLKeyValue::clear_key_name() { - _impl_.key_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCToGCUpdateSQLKeyValue::key_name() const { - // @@protoc_insertion_point(field_get:CMsgGCToGCUpdateSQLKeyValue.key_name) - return _internal_key_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCToGCUpdateSQLKeyValue::set_key_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.key_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCToGCUpdateSQLKeyValue.key_name) -} -inline std::string* CMsgGCToGCUpdateSQLKeyValue::mutable_key_name() { - std::string* _s = _internal_mutable_key_name(); - // @@protoc_insertion_point(field_mutable:CMsgGCToGCUpdateSQLKeyValue.key_name) - return _s; -} -inline const std::string& CMsgGCToGCUpdateSQLKeyValue::_internal_key_name() const { - return _impl_.key_name_.Get(); -} -inline void CMsgGCToGCUpdateSQLKeyValue::_internal_set_key_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.key_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCToGCUpdateSQLKeyValue::_internal_mutable_key_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.key_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCToGCUpdateSQLKeyValue::release_key_name() { - // @@protoc_insertion_point(field_release:CMsgGCToGCUpdateSQLKeyValue.key_name) - if (!_internal_has_key_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.key_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.key_name_.IsDefault()) { - _impl_.key_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCToGCUpdateSQLKeyValue::set_allocated_key_name(std::string* key_name) { - if (key_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.key_name_.SetAllocated(key_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.key_name_.IsDefault()) { - _impl_.key_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCToGCUpdateSQLKeyValue.key_name) -} - -// ------------------------------------------------------------------- - -// CMsgGCToGCIsTrustedServer - -// optional fixed64 steam_id = 1; -inline bool CMsgGCToGCIsTrustedServer::_internal_has_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCToGCIsTrustedServer::has_steam_id() const { - return _internal_has_steam_id(); -} -inline void CMsgGCToGCIsTrustedServer::clear_steam_id() { - _impl_.steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCToGCIsTrustedServer::_internal_steam_id() const { - return _impl_.steam_id_; -} -inline uint64_t CMsgGCToGCIsTrustedServer::steam_id() const { - // @@protoc_insertion_point(field_get:CMsgGCToGCIsTrustedServer.steam_id) - return _internal_steam_id(); -} -inline void CMsgGCToGCIsTrustedServer::_internal_set_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steam_id_ = value; -} -inline void CMsgGCToGCIsTrustedServer::set_steam_id(uint64_t value) { - _internal_set_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgGCToGCIsTrustedServer.steam_id) -} - -// ------------------------------------------------------------------- - -// CMsgGCToGCIsTrustedServerResponse - -// optional bool is_trusted = 1; -inline bool CMsgGCToGCIsTrustedServerResponse::_internal_has_is_trusted() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCToGCIsTrustedServerResponse::has_is_trusted() const { - return _internal_has_is_trusted(); -} -inline void CMsgGCToGCIsTrustedServerResponse::clear_is_trusted() { - _impl_.is_trusted_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CMsgGCToGCIsTrustedServerResponse::_internal_is_trusted() const { - return _impl_.is_trusted_; -} -inline bool CMsgGCToGCIsTrustedServerResponse::is_trusted() const { - // @@protoc_insertion_point(field_get:CMsgGCToGCIsTrustedServerResponse.is_trusted) - return _internal_is_trusted(); -} -inline void CMsgGCToGCIsTrustedServerResponse::_internal_set_is_trusted(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.is_trusted_ = value; -} -inline void CMsgGCToGCIsTrustedServerResponse::set_is_trusted(bool value) { - _internal_set_is_trusted(value); - // @@protoc_insertion_point(field_set:CMsgGCToGCIsTrustedServerResponse.is_trusted) -} - -// ------------------------------------------------------------------- - -// CMsgGCToGCBroadcastConsoleCommand - -// optional string con_command = 1; -inline bool CMsgGCToGCBroadcastConsoleCommand::_internal_has_con_command() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCToGCBroadcastConsoleCommand::has_con_command() const { - return _internal_has_con_command(); -} -inline void CMsgGCToGCBroadcastConsoleCommand::clear_con_command() { - _impl_.con_command_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCToGCBroadcastConsoleCommand::con_command() const { - // @@protoc_insertion_point(field_get:CMsgGCToGCBroadcastConsoleCommand.con_command) - return _internal_con_command(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCToGCBroadcastConsoleCommand::set_con_command(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.con_command_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCToGCBroadcastConsoleCommand.con_command) -} -inline std::string* CMsgGCToGCBroadcastConsoleCommand::mutable_con_command() { - std::string* _s = _internal_mutable_con_command(); - // @@protoc_insertion_point(field_mutable:CMsgGCToGCBroadcastConsoleCommand.con_command) - return _s; -} -inline const std::string& CMsgGCToGCBroadcastConsoleCommand::_internal_con_command() const { - return _impl_.con_command_.Get(); -} -inline void CMsgGCToGCBroadcastConsoleCommand::_internal_set_con_command(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.con_command_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCToGCBroadcastConsoleCommand::_internal_mutable_con_command() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.con_command_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCToGCBroadcastConsoleCommand::release_con_command() { - // @@protoc_insertion_point(field_release:CMsgGCToGCBroadcastConsoleCommand.con_command) - if (!_internal_has_con_command()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.con_command_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.con_command_.IsDefault()) { - _impl_.con_command_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCToGCBroadcastConsoleCommand::set_allocated_con_command(std::string* con_command) { - if (con_command != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.con_command_.SetAllocated(con_command, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.con_command_.IsDefault()) { - _impl_.con_command_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCToGCBroadcastConsoleCommand.con_command) -} - -// ------------------------------------------------------------------- - -// CMsgGCServerVersionUpdated - -// optional uint32 server_version = 1; -inline bool CMsgGCServerVersionUpdated::_internal_has_server_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCServerVersionUpdated::has_server_version() const { - return _internal_has_server_version(); -} -inline void CMsgGCServerVersionUpdated::clear_server_version() { - _impl_.server_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCServerVersionUpdated::_internal_server_version() const { - return _impl_.server_version_; -} -inline uint32_t CMsgGCServerVersionUpdated::server_version() const { - // @@protoc_insertion_point(field_get:CMsgGCServerVersionUpdated.server_version) - return _internal_server_version(); -} -inline void CMsgGCServerVersionUpdated::_internal_set_server_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.server_version_ = value; -} -inline void CMsgGCServerVersionUpdated::set_server_version(uint32_t value) { - _internal_set_server_version(value); - // @@protoc_insertion_point(field_set:CMsgGCServerVersionUpdated.server_version) -} - -// ------------------------------------------------------------------- - -// CMsgGCClientVersionUpdated - -// optional uint32 client_version = 1; -inline bool CMsgGCClientVersionUpdated::_internal_has_client_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCClientVersionUpdated::has_client_version() const { - return _internal_has_client_version(); -} -inline void CMsgGCClientVersionUpdated::clear_client_version() { - _impl_.client_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCClientVersionUpdated::_internal_client_version() const { - return _impl_.client_version_; -} -inline uint32_t CMsgGCClientVersionUpdated::client_version() const { - // @@protoc_insertion_point(field_get:CMsgGCClientVersionUpdated.client_version) - return _internal_client_version(); -} -inline void CMsgGCClientVersionUpdated::_internal_set_client_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.client_version_ = value; -} -inline void CMsgGCClientVersionUpdated::set_client_version(uint32_t value) { - _internal_set_client_version(value); - // @@protoc_insertion_point(field_set:CMsgGCClientVersionUpdated.client_version) -} - -// ------------------------------------------------------------------- - -// CMsgGCToGCWebAPIAccountChanged - -// ------------------------------------------------------------------- - -// CMsgGCToGCRequestPassportItemGrant - -// optional fixed64 steam_id = 1; -inline bool CMsgGCToGCRequestPassportItemGrant::_internal_has_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCToGCRequestPassportItemGrant::has_steam_id() const { - return _internal_has_steam_id(); -} -inline void CMsgGCToGCRequestPassportItemGrant::clear_steam_id() { - _impl_.steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCToGCRequestPassportItemGrant::_internal_steam_id() const { - return _impl_.steam_id_; -} -inline uint64_t CMsgGCToGCRequestPassportItemGrant::steam_id() const { - // @@protoc_insertion_point(field_get:CMsgGCToGCRequestPassportItemGrant.steam_id) - return _internal_steam_id(); -} -inline void CMsgGCToGCRequestPassportItemGrant::_internal_set_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steam_id_ = value; -} -inline void CMsgGCToGCRequestPassportItemGrant::set_steam_id(uint64_t value) { - _internal_set_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgGCToGCRequestPassportItemGrant.steam_id) -} - -// optional uint32 league_id = 2; -inline bool CMsgGCToGCRequestPassportItemGrant::_internal_has_league_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCToGCRequestPassportItemGrant::has_league_id() const { - return _internal_has_league_id(); -} -inline void CMsgGCToGCRequestPassportItemGrant::clear_league_id() { - _impl_.league_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCToGCRequestPassportItemGrant::_internal_league_id() const { - return _impl_.league_id_; -} -inline uint32_t CMsgGCToGCRequestPassportItemGrant::league_id() const { - // @@protoc_insertion_point(field_get:CMsgGCToGCRequestPassportItemGrant.league_id) - return _internal_league_id(); -} -inline void CMsgGCToGCRequestPassportItemGrant::_internal_set_league_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.league_id_ = value; -} -inline void CMsgGCToGCRequestPassportItemGrant::set_league_id(uint32_t value) { - _internal_set_league_id(value); - // @@protoc_insertion_point(field_set:CMsgGCToGCRequestPassportItemGrant.league_id) -} - -// optional int32 reward_flag = 3; -inline bool CMsgGCToGCRequestPassportItemGrant::_internal_has_reward_flag() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCToGCRequestPassportItemGrant::has_reward_flag() const { - return _internal_has_reward_flag(); -} -inline void CMsgGCToGCRequestPassportItemGrant::clear_reward_flag() { - _impl_.reward_flag_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CMsgGCToGCRequestPassportItemGrant::_internal_reward_flag() const { - return _impl_.reward_flag_; -} -inline int32_t CMsgGCToGCRequestPassportItemGrant::reward_flag() const { - // @@protoc_insertion_point(field_get:CMsgGCToGCRequestPassportItemGrant.reward_flag) - return _internal_reward_flag(); -} -inline void CMsgGCToGCRequestPassportItemGrant::_internal_set_reward_flag(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.reward_flag_ = value; -} -inline void CMsgGCToGCRequestPassportItemGrant::set_reward_flag(int32_t value) { - _internal_set_reward_flag(value); - // @@protoc_insertion_point(field_set:CMsgGCToGCRequestPassportItemGrant.reward_flag) -} - -// ------------------------------------------------------------------- - -// CMsgGameServerInfo - -// optional fixed32 server_public_ip_addr = 1; -inline bool CMsgGameServerInfo::_internal_has_server_public_ip_addr() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGameServerInfo::has_server_public_ip_addr() const { - return _internal_has_server_public_ip_addr(); -} -inline void CMsgGameServerInfo::clear_server_public_ip_addr() { - _impl_.server_public_ip_addr_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGameServerInfo::_internal_server_public_ip_addr() const { - return _impl_.server_public_ip_addr_; -} -inline uint32_t CMsgGameServerInfo::server_public_ip_addr() const { - // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_public_ip_addr) - return _internal_server_public_ip_addr(); -} -inline void CMsgGameServerInfo::_internal_set_server_public_ip_addr(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.server_public_ip_addr_ = value; -} -inline void CMsgGameServerInfo::set_server_public_ip_addr(uint32_t value) { - _internal_set_server_public_ip_addr(value); - // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_public_ip_addr) -} - -// optional fixed32 server_private_ip_addr = 2; -inline bool CMsgGameServerInfo::_internal_has_server_private_ip_addr() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGameServerInfo::has_server_private_ip_addr() const { - return _internal_has_server_private_ip_addr(); -} -inline void CMsgGameServerInfo::clear_server_private_ip_addr() { - _impl_.server_private_ip_addr_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGameServerInfo::_internal_server_private_ip_addr() const { - return _impl_.server_private_ip_addr_; -} -inline uint32_t CMsgGameServerInfo::server_private_ip_addr() const { - // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_private_ip_addr) - return _internal_server_private_ip_addr(); -} -inline void CMsgGameServerInfo::_internal_set_server_private_ip_addr(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.server_private_ip_addr_ = value; -} -inline void CMsgGameServerInfo::set_server_private_ip_addr(uint32_t value) { - _internal_set_server_private_ip_addr(value); - // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_private_ip_addr) -} - -// optional uint32 server_port = 3; -inline bool CMsgGameServerInfo::_internal_has_server_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGameServerInfo::has_server_port() const { - return _internal_has_server_port(); -} -inline void CMsgGameServerInfo::clear_server_port() { - _impl_.server_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGameServerInfo::_internal_server_port() const { - return _impl_.server_port_; -} -inline uint32_t CMsgGameServerInfo::server_port() const { - // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_port) - return _internal_server_port(); -} -inline void CMsgGameServerInfo::_internal_set_server_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.server_port_ = value; -} -inline void CMsgGameServerInfo::set_server_port(uint32_t value) { - _internal_set_server_port(value); - // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_port) -} - -// optional uint32 server_tv_port = 4; -inline bool CMsgGameServerInfo::_internal_has_server_tv_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGameServerInfo::has_server_tv_port() const { - return _internal_has_server_tv_port(); -} -inline void CMsgGameServerInfo::clear_server_tv_port() { - _impl_.server_tv_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgGameServerInfo::_internal_server_tv_port() const { - return _impl_.server_tv_port_; -} -inline uint32_t CMsgGameServerInfo::server_tv_port() const { - // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_tv_port) - return _internal_server_tv_port(); -} -inline void CMsgGameServerInfo::_internal_set_server_tv_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.server_tv_port_ = value; -} -inline void CMsgGameServerInfo::set_server_tv_port(uint32_t value) { - _internal_set_server_tv_port(value); - // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_tv_port) -} - -// optional string server_key = 5; -inline bool CMsgGameServerInfo::_internal_has_server_key() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGameServerInfo::has_server_key() const { - return _internal_has_server_key(); -} -inline void CMsgGameServerInfo::clear_server_key() { - _impl_.server_key_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGameServerInfo::server_key() const { - // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_key) - return _internal_server_key(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGameServerInfo::set_server_key(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.server_key_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_key) -} -inline std::string* CMsgGameServerInfo::mutable_server_key() { - std::string* _s = _internal_mutable_server_key(); - // @@protoc_insertion_point(field_mutable:CMsgGameServerInfo.server_key) - return _s; -} -inline const std::string& CMsgGameServerInfo::_internal_server_key() const { - return _impl_.server_key_.Get(); -} -inline void CMsgGameServerInfo::_internal_set_server_key(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.server_key_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGameServerInfo::_internal_mutable_server_key() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.server_key_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGameServerInfo::release_server_key() { - // @@protoc_insertion_point(field_release:CMsgGameServerInfo.server_key) - if (!_internal_has_server_key()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.server_key_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.server_key_.IsDefault()) { - _impl_.server_key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGameServerInfo::set_allocated_server_key(std::string* server_key) { - if (server_key != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.server_key_.SetAllocated(server_key, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.server_key_.IsDefault()) { - _impl_.server_key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGameServerInfo.server_key) -} - -// optional bool server_hibernation = 6; -inline bool CMsgGameServerInfo::_internal_has_server_hibernation() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGameServerInfo::has_server_hibernation() const { - return _internal_has_server_hibernation(); -} -inline void CMsgGameServerInfo::clear_server_hibernation() { - _impl_.server_hibernation_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool CMsgGameServerInfo::_internal_server_hibernation() const { - return _impl_.server_hibernation_; -} -inline bool CMsgGameServerInfo::server_hibernation() const { - // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_hibernation) - return _internal_server_hibernation(); -} -inline void CMsgGameServerInfo::_internal_set_server_hibernation(bool value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.server_hibernation_ = value; -} -inline void CMsgGameServerInfo::set_server_hibernation(bool value) { - _internal_set_server_hibernation(value); - // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_hibernation) -} - -// optional .CMsgGameServerInfo.ServerType server_type = 7 [default = UNSPECIFIED]; -inline bool CMsgGameServerInfo::_internal_has_server_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGameServerInfo::has_server_type() const { - return _internal_has_server_type(); -} -inline void CMsgGameServerInfo::clear_server_type() { - _impl_.server_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline ::CMsgGameServerInfo_ServerType CMsgGameServerInfo::_internal_server_type() const { - return static_cast< ::CMsgGameServerInfo_ServerType >(_impl_.server_type_); -} -inline ::CMsgGameServerInfo_ServerType CMsgGameServerInfo::server_type() const { - // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_type) - return _internal_server_type(); -} -inline void CMsgGameServerInfo::_internal_set_server_type(::CMsgGameServerInfo_ServerType value) { - assert(::CMsgGameServerInfo_ServerType_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.server_type_ = value; -} -inline void CMsgGameServerInfo::set_server_type(::CMsgGameServerInfo_ServerType value) { - _internal_set_server_type(value); - // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_type) -} - -// optional uint32 server_region = 8; -inline bool CMsgGameServerInfo::_internal_has_server_region() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgGameServerInfo::has_server_region() const { - return _internal_has_server_region(); -} -inline void CMsgGameServerInfo::clear_server_region() { - _impl_.server_region_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgGameServerInfo::_internal_server_region() const { - return _impl_.server_region_; -} -inline uint32_t CMsgGameServerInfo::server_region() const { - // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_region) - return _internal_server_region(); -} -inline void CMsgGameServerInfo::_internal_set_server_region(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.server_region_ = value; -} -inline void CMsgGameServerInfo::set_server_region(uint32_t value) { - _internal_set_server_region(value); - // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_region) -} - -// optional float server_loadavg = 9; -inline bool CMsgGameServerInfo::_internal_has_server_loadavg() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgGameServerInfo::has_server_loadavg() const { - return _internal_has_server_loadavg(); -} -inline void CMsgGameServerInfo::clear_server_loadavg() { - _impl_.server_loadavg_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline float CMsgGameServerInfo::_internal_server_loadavg() const { - return _impl_.server_loadavg_; -} -inline float CMsgGameServerInfo::server_loadavg() const { - // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_loadavg) - return _internal_server_loadavg(); -} -inline void CMsgGameServerInfo::_internal_set_server_loadavg(float value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.server_loadavg_ = value; -} -inline void CMsgGameServerInfo::set_server_loadavg(float value) { - _internal_set_server_loadavg(value); - // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_loadavg) -} - -// optional float server_tv_broadcast_time = 10; -inline bool CMsgGameServerInfo::_internal_has_server_tv_broadcast_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgGameServerInfo::has_server_tv_broadcast_time() const { - return _internal_has_server_tv_broadcast_time(); -} -inline void CMsgGameServerInfo::clear_server_tv_broadcast_time() { - _impl_.server_tv_broadcast_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline float CMsgGameServerInfo::_internal_server_tv_broadcast_time() const { - return _impl_.server_tv_broadcast_time_; -} -inline float CMsgGameServerInfo::server_tv_broadcast_time() const { - // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_tv_broadcast_time) - return _internal_server_tv_broadcast_time(); -} -inline void CMsgGameServerInfo::_internal_set_server_tv_broadcast_time(float value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.server_tv_broadcast_time_ = value; -} -inline void CMsgGameServerInfo::set_server_tv_broadcast_time(float value) { - _internal_set_server_tv_broadcast_time(value); - // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_tv_broadcast_time) -} - -// optional float server_game_time = 11; -inline bool CMsgGameServerInfo::_internal_has_server_game_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgGameServerInfo::has_server_game_time() const { - return _internal_has_server_game_time(); -} -inline void CMsgGameServerInfo::clear_server_game_time() { - _impl_.server_game_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline float CMsgGameServerInfo::_internal_server_game_time() const { - return _impl_.server_game_time_; -} -inline float CMsgGameServerInfo::server_game_time() const { - // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_game_time) - return _internal_server_game_time(); -} -inline void CMsgGameServerInfo::_internal_set_server_game_time(float value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.server_game_time_ = value; -} -inline void CMsgGameServerInfo::set_server_game_time(float value) { - _internal_set_server_game_time(value); - // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_game_time) -} - -// optional fixed64 server_relay_connected_steam_id = 12; -inline bool CMsgGameServerInfo::_internal_has_server_relay_connected_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgGameServerInfo::has_server_relay_connected_steam_id() const { - return _internal_has_server_relay_connected_steam_id(); -} -inline void CMsgGameServerInfo::clear_server_relay_connected_steam_id() { - _impl_.server_relay_connected_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint64_t CMsgGameServerInfo::_internal_server_relay_connected_steam_id() const { - return _impl_.server_relay_connected_steam_id_; -} -inline uint64_t CMsgGameServerInfo::server_relay_connected_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgGameServerInfo.server_relay_connected_steam_id) - return _internal_server_relay_connected_steam_id(); -} -inline void CMsgGameServerInfo::_internal_set_server_relay_connected_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.server_relay_connected_steam_id_ = value; -} -inline void CMsgGameServerInfo::set_server_relay_connected_steam_id(uint64_t value) { - _internal_set_server_relay_connected_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgGameServerInfo.server_relay_connected_steam_id) -} - -// optional uint32 relay_slots_max = 13; -inline bool CMsgGameServerInfo::_internal_has_relay_slots_max() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgGameServerInfo::has_relay_slots_max() const { - return _internal_has_relay_slots_max(); -} -inline void CMsgGameServerInfo::clear_relay_slots_max() { - _impl_.relay_slots_max_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgGameServerInfo::_internal_relay_slots_max() const { - return _impl_.relay_slots_max_; -} -inline uint32_t CMsgGameServerInfo::relay_slots_max() const { - // @@protoc_insertion_point(field_get:CMsgGameServerInfo.relay_slots_max) - return _internal_relay_slots_max(); -} -inline void CMsgGameServerInfo::_internal_set_relay_slots_max(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.relay_slots_max_ = value; -} -inline void CMsgGameServerInfo::set_relay_slots_max(uint32_t value) { - _internal_set_relay_slots_max(value); - // @@protoc_insertion_point(field_set:CMsgGameServerInfo.relay_slots_max) -} - -// optional int32 relays_connected = 14; -inline bool CMsgGameServerInfo::_internal_has_relays_connected() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgGameServerInfo::has_relays_connected() const { - return _internal_has_relays_connected(); -} -inline void CMsgGameServerInfo::clear_relays_connected() { - _impl_.relays_connected_ = 0; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline int32_t CMsgGameServerInfo::_internal_relays_connected() const { - return _impl_.relays_connected_; -} -inline int32_t CMsgGameServerInfo::relays_connected() const { - // @@protoc_insertion_point(field_get:CMsgGameServerInfo.relays_connected) - return _internal_relays_connected(); -} -inline void CMsgGameServerInfo::_internal_set_relays_connected(int32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.relays_connected_ = value; -} -inline void CMsgGameServerInfo::set_relays_connected(int32_t value) { - _internal_set_relays_connected(value); - // @@protoc_insertion_point(field_set:CMsgGameServerInfo.relays_connected) -} - -// optional int32 relay_clients_connected = 15; -inline bool CMsgGameServerInfo::_internal_has_relay_clients_connected() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CMsgGameServerInfo::has_relay_clients_connected() const { - return _internal_has_relay_clients_connected(); -} -inline void CMsgGameServerInfo::clear_relay_clients_connected() { - _impl_.relay_clients_connected_ = 0; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline int32_t CMsgGameServerInfo::_internal_relay_clients_connected() const { - return _impl_.relay_clients_connected_; -} -inline int32_t CMsgGameServerInfo::relay_clients_connected() const { - // @@protoc_insertion_point(field_get:CMsgGameServerInfo.relay_clients_connected) - return _internal_relay_clients_connected(); -} -inline void CMsgGameServerInfo::_internal_set_relay_clients_connected(int32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.relay_clients_connected_ = value; -} -inline void CMsgGameServerInfo::set_relay_clients_connected(int32_t value) { - _internal_set_relay_clients_connected(value); - // @@protoc_insertion_point(field_set:CMsgGameServerInfo.relay_clients_connected) -} - -// optional fixed64 relayed_game_server_steam_id = 16; -inline bool CMsgGameServerInfo::_internal_has_relayed_game_server_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgGameServerInfo::has_relayed_game_server_steam_id() const { - return _internal_has_relayed_game_server_steam_id(); -} -inline void CMsgGameServerInfo::clear_relayed_game_server_steam_id() { - _impl_.relayed_game_server_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint64_t CMsgGameServerInfo::_internal_relayed_game_server_steam_id() const { - return _impl_.relayed_game_server_steam_id_; -} -inline uint64_t CMsgGameServerInfo::relayed_game_server_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgGameServerInfo.relayed_game_server_steam_id) - return _internal_relayed_game_server_steam_id(); -} -inline void CMsgGameServerInfo::_internal_set_relayed_game_server_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.relayed_game_server_steam_id_ = value; -} -inline void CMsgGameServerInfo::set_relayed_game_server_steam_id(uint64_t value) { - _internal_set_relayed_game_server_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgGameServerInfo.relayed_game_server_steam_id) -} - -// optional uint32 parent_relay_count = 17; -inline bool CMsgGameServerInfo::_internal_has_parent_relay_count() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CMsgGameServerInfo::has_parent_relay_count() const { - return _internal_has_parent_relay_count(); -} -inline void CMsgGameServerInfo::clear_parent_relay_count() { - _impl_.parent_relay_count_ = 0u; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline uint32_t CMsgGameServerInfo::_internal_parent_relay_count() const { - return _impl_.parent_relay_count_; -} -inline uint32_t CMsgGameServerInfo::parent_relay_count() const { - // @@protoc_insertion_point(field_get:CMsgGameServerInfo.parent_relay_count) - return _internal_parent_relay_count(); -} -inline void CMsgGameServerInfo::_internal_set_parent_relay_count(uint32_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.parent_relay_count_ = value; -} -inline void CMsgGameServerInfo::set_parent_relay_count(uint32_t value) { - _internal_set_parent_relay_count(value); - // @@protoc_insertion_point(field_set:CMsgGameServerInfo.parent_relay_count) -} - -// optional fixed64 tv_secret_code = 18; -inline bool CMsgGameServerInfo::_internal_has_tv_secret_code() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool CMsgGameServerInfo::has_tv_secret_code() const { - return _internal_has_tv_secret_code(); -} -inline void CMsgGameServerInfo::clear_tv_secret_code() { - _impl_.tv_secret_code_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline uint64_t CMsgGameServerInfo::_internal_tv_secret_code() const { - return _impl_.tv_secret_code_; -} -inline uint64_t CMsgGameServerInfo::tv_secret_code() const { - // @@protoc_insertion_point(field_get:CMsgGameServerInfo.tv_secret_code) - return _internal_tv_secret_code(); -} -inline void CMsgGameServerInfo::_internal_set_tv_secret_code(uint64_t value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.tv_secret_code_ = value; -} -inline void CMsgGameServerInfo::set_tv_secret_code(uint64_t value) { - _internal_set_tv_secret_code(value); - // @@protoc_insertion_point(field_set:CMsgGameServerInfo.tv_secret_code) -} - -// ------------------------------------------------------------------- - -// CSOEconEquipSlot - -// optional uint32 account_id = 1 [(.key_field) = true]; -inline bool CSOEconEquipSlot::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOEconEquipSlot::has_account_id() const { - return _internal_has_account_id(); -} -inline void CSOEconEquipSlot::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOEconEquipSlot::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CSOEconEquipSlot::account_id() const { - // @@protoc_insertion_point(field_get:CSOEconEquipSlot.account_id) - return _internal_account_id(); -} -inline void CSOEconEquipSlot::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.account_id_ = value; -} -inline void CSOEconEquipSlot::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CSOEconEquipSlot.account_id) -} - -// optional uint32 class_id = 2 [(.key_field) = true]; -inline bool CSOEconEquipSlot::_internal_has_class_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOEconEquipSlot::has_class_id() const { - return _internal_has_class_id(); -} -inline void CSOEconEquipSlot::clear_class_id() { - _impl_.class_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSOEconEquipSlot::_internal_class_id() const { - return _impl_.class_id_; -} -inline uint32_t CSOEconEquipSlot::class_id() const { - // @@protoc_insertion_point(field_get:CSOEconEquipSlot.class_id) - return _internal_class_id(); -} -inline void CSOEconEquipSlot::_internal_set_class_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.class_id_ = value; -} -inline void CSOEconEquipSlot::set_class_id(uint32_t value) { - _internal_set_class_id(value); - // @@protoc_insertion_point(field_set:CSOEconEquipSlot.class_id) -} - -// optional uint32 slot_id = 3 [(.key_field) = true]; -inline bool CSOEconEquipSlot::_internal_has_slot_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSOEconEquipSlot::has_slot_id() const { - return _internal_has_slot_id(); -} -inline void CSOEconEquipSlot::clear_slot_id() { - _impl_.slot_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CSOEconEquipSlot::_internal_slot_id() const { - return _impl_.slot_id_; -} -inline uint32_t CSOEconEquipSlot::slot_id() const { - // @@protoc_insertion_point(field_get:CSOEconEquipSlot.slot_id) - return _internal_slot_id(); -} -inline void CSOEconEquipSlot::_internal_set_slot_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.slot_id_ = value; -} -inline void CSOEconEquipSlot::set_slot_id(uint32_t value) { - _internal_set_slot_id(value); - // @@protoc_insertion_point(field_set:CSOEconEquipSlot.slot_id) -} - -// optional uint64 item_id = 4; -inline bool CSOEconEquipSlot::_internal_has_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOEconEquipSlot::has_item_id() const { - return _internal_has_item_id(); -} -inline void CSOEconEquipSlot::clear_item_id() { - _impl_.item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CSOEconEquipSlot::_internal_item_id() const { - return _impl_.item_id_; -} -inline uint64_t CSOEconEquipSlot::item_id() const { - // @@protoc_insertion_point(field_get:CSOEconEquipSlot.item_id) - return _internal_item_id(); -} -inline void CSOEconEquipSlot::_internal_set_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.item_id_ = value; -} -inline void CSOEconEquipSlot::set_item_id(uint64_t value) { - _internal_set_item_id(value); - // @@protoc_insertion_point(field_set:CSOEconEquipSlot.item_id) -} - -// optional uint32 item_definition = 5; -inline bool CSOEconEquipSlot::_internal_has_item_definition() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSOEconEquipSlot::has_item_definition() const { - return _internal_has_item_definition(); -} -inline void CSOEconEquipSlot::clear_item_definition() { - _impl_.item_definition_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CSOEconEquipSlot::_internal_item_definition() const { - return _impl_.item_definition_; -} -inline uint32_t CSOEconEquipSlot::item_definition() const { - // @@protoc_insertion_point(field_get:CSOEconEquipSlot.item_definition) - return _internal_item_definition(); -} -inline void CSOEconEquipSlot::_internal_set_item_definition(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.item_definition_ = value; -} -inline void CSOEconEquipSlot::set_item_definition(uint32_t value) { - _internal_set_item_definition(value); - // @@protoc_insertion_point(field_set:CSOEconEquipSlot.item_definition) -} - -// ------------------------------------------------------------------- - -// CMsgAdjustEquipSlot - -// optional uint32 class_id = 1; -inline bool CMsgAdjustEquipSlot::_internal_has_class_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgAdjustEquipSlot::has_class_id() const { - return _internal_has_class_id(); -} -inline void CMsgAdjustEquipSlot::clear_class_id() { - _impl_.class_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgAdjustEquipSlot::_internal_class_id() const { - return _impl_.class_id_; -} -inline uint32_t CMsgAdjustEquipSlot::class_id() const { - // @@protoc_insertion_point(field_get:CMsgAdjustEquipSlot.class_id) - return _internal_class_id(); -} -inline void CMsgAdjustEquipSlot::_internal_set_class_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.class_id_ = value; -} -inline void CMsgAdjustEquipSlot::set_class_id(uint32_t value) { - _internal_set_class_id(value); - // @@protoc_insertion_point(field_set:CMsgAdjustEquipSlot.class_id) -} - -// optional uint32 slot_id = 2; -inline bool CMsgAdjustEquipSlot::_internal_has_slot_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgAdjustEquipSlot::has_slot_id() const { - return _internal_has_slot_id(); -} -inline void CMsgAdjustEquipSlot::clear_slot_id() { - _impl_.slot_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgAdjustEquipSlot::_internal_slot_id() const { - return _impl_.slot_id_; -} -inline uint32_t CMsgAdjustEquipSlot::slot_id() const { - // @@protoc_insertion_point(field_get:CMsgAdjustEquipSlot.slot_id) - return _internal_slot_id(); -} -inline void CMsgAdjustEquipSlot::_internal_set_slot_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.slot_id_ = value; -} -inline void CMsgAdjustEquipSlot::set_slot_id(uint32_t value) { - _internal_set_slot_id(value); - // @@protoc_insertion_point(field_set:CMsgAdjustEquipSlot.slot_id) -} - -// optional uint64 item_id = 3; -inline bool CMsgAdjustEquipSlot::_internal_has_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgAdjustEquipSlot::has_item_id() const { - return _internal_has_item_id(); -} -inline void CMsgAdjustEquipSlot::clear_item_id() { - _impl_.item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgAdjustEquipSlot::_internal_item_id() const { - return _impl_.item_id_; -} -inline uint64_t CMsgAdjustEquipSlot::item_id() const { - // @@protoc_insertion_point(field_get:CMsgAdjustEquipSlot.item_id) - return _internal_item_id(); -} -inline void CMsgAdjustEquipSlot::_internal_set_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.item_id_ = value; -} -inline void CMsgAdjustEquipSlot::set_item_id(uint64_t value) { - _internal_set_item_id(value); - // @@protoc_insertion_point(field_set:CMsgAdjustEquipSlot.item_id) -} - -// ------------------------------------------------------------------- - -// CMsgAdjustEquipSlots - -// repeated .CMsgAdjustEquipSlot slots = 1; -inline int CMsgAdjustEquipSlots::_internal_slots_size() const { - return _impl_.slots_.size(); -} -inline int CMsgAdjustEquipSlots::slots_size() const { - return _internal_slots_size(); -} -inline void CMsgAdjustEquipSlots::clear_slots() { - _impl_.slots_.Clear(); -} -inline ::CMsgAdjustEquipSlot* CMsgAdjustEquipSlots::mutable_slots(int index) { - // @@protoc_insertion_point(field_mutable:CMsgAdjustEquipSlots.slots) - return _impl_.slots_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgAdjustEquipSlot >* -CMsgAdjustEquipSlots::mutable_slots() { - // @@protoc_insertion_point(field_mutable_list:CMsgAdjustEquipSlots.slots) - return &_impl_.slots_; -} -inline const ::CMsgAdjustEquipSlot& CMsgAdjustEquipSlots::_internal_slots(int index) const { - return _impl_.slots_.Get(index); -} -inline const ::CMsgAdjustEquipSlot& CMsgAdjustEquipSlots::slots(int index) const { - // @@protoc_insertion_point(field_get:CMsgAdjustEquipSlots.slots) - return _internal_slots(index); -} -inline ::CMsgAdjustEquipSlot* CMsgAdjustEquipSlots::_internal_add_slots() { - return _impl_.slots_.Add(); -} -inline ::CMsgAdjustEquipSlot* CMsgAdjustEquipSlots::add_slots() { - ::CMsgAdjustEquipSlot* _add = _internal_add_slots(); - // @@protoc_insertion_point(field_add:CMsgAdjustEquipSlots.slots) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgAdjustEquipSlot >& -CMsgAdjustEquipSlots::slots() const { - // @@protoc_insertion_point(field_list:CMsgAdjustEquipSlots.slots) - return _impl_.slots_; -} - -// optional uint32 change_num = 2; -inline bool CMsgAdjustEquipSlots::_internal_has_change_num() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgAdjustEquipSlots::has_change_num() const { - return _internal_has_change_num(); -} -inline void CMsgAdjustEquipSlots::clear_change_num() { - _impl_.change_num_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgAdjustEquipSlots::_internal_change_num() const { - return _impl_.change_num_; -} -inline uint32_t CMsgAdjustEquipSlots::change_num() const { - // @@protoc_insertion_point(field_get:CMsgAdjustEquipSlots.change_num) - return _internal_change_num(); -} -inline void CMsgAdjustEquipSlots::_internal_set_change_num(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.change_num_ = value; -} -inline void CMsgAdjustEquipSlots::set_change_num(uint32_t value) { - _internal_set_change_num(value); - // @@protoc_insertion_point(field_set:CMsgAdjustEquipSlots.change_num) -} - -// ------------------------------------------------------------------- - -// CMsgOpenCrate - -// optional uint64 tool_item_id = 1; -inline bool CMsgOpenCrate::_internal_has_tool_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgOpenCrate::has_tool_item_id() const { - return _internal_has_tool_item_id(); -} -inline void CMsgOpenCrate::clear_tool_item_id() { - _impl_.tool_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgOpenCrate::_internal_tool_item_id() const { - return _impl_.tool_item_id_; -} -inline uint64_t CMsgOpenCrate::tool_item_id() const { - // @@protoc_insertion_point(field_get:CMsgOpenCrate.tool_item_id) - return _internal_tool_item_id(); -} -inline void CMsgOpenCrate::_internal_set_tool_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.tool_item_id_ = value; -} -inline void CMsgOpenCrate::set_tool_item_id(uint64_t value) { - _internal_set_tool_item_id(value); - // @@protoc_insertion_point(field_set:CMsgOpenCrate.tool_item_id) -} - -// optional uint64 subject_item_id = 2; -inline bool CMsgOpenCrate::_internal_has_subject_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgOpenCrate::has_subject_item_id() const { - return _internal_has_subject_item_id(); -} -inline void CMsgOpenCrate::clear_subject_item_id() { - _impl_.subject_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgOpenCrate::_internal_subject_item_id() const { - return _impl_.subject_item_id_; -} -inline uint64_t CMsgOpenCrate::subject_item_id() const { - // @@protoc_insertion_point(field_get:CMsgOpenCrate.subject_item_id) - return _internal_subject_item_id(); -} -inline void CMsgOpenCrate::_internal_set_subject_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.subject_item_id_ = value; -} -inline void CMsgOpenCrate::set_subject_item_id(uint64_t value) { - _internal_set_subject_item_id(value); - // @@protoc_insertion_point(field_set:CMsgOpenCrate.subject_item_id) -} - -// optional bool for_rental = 3; -inline bool CMsgOpenCrate::_internal_has_for_rental() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgOpenCrate::has_for_rental() const { - return _internal_has_for_rental(); -} -inline void CMsgOpenCrate::clear_for_rental() { - _impl_.for_rental_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CMsgOpenCrate::_internal_for_rental() const { - return _impl_.for_rental_; -} -inline bool CMsgOpenCrate::for_rental() const { - // @@protoc_insertion_point(field_get:CMsgOpenCrate.for_rental) - return _internal_for_rental(); -} -inline void CMsgOpenCrate::_internal_set_for_rental(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.for_rental_ = value; -} -inline void CMsgOpenCrate::set_for_rental(bool value) { - _internal_set_for_rental(value); - // @@protoc_insertion_point(field_set:CMsgOpenCrate.for_rental) -} - -// optional uint32 points_remaining = 4; -inline bool CMsgOpenCrate::_internal_has_points_remaining() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgOpenCrate::has_points_remaining() const { - return _internal_has_points_remaining(); -} -inline void CMsgOpenCrate::clear_points_remaining() { - _impl_.points_remaining_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgOpenCrate::_internal_points_remaining() const { - return _impl_.points_remaining_; -} -inline uint32_t CMsgOpenCrate::points_remaining() const { - // @@protoc_insertion_point(field_get:CMsgOpenCrate.points_remaining) - return _internal_points_remaining(); -} -inline void CMsgOpenCrate::_internal_set_points_remaining(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.points_remaining_ = value; -} -inline void CMsgOpenCrate::set_points_remaining(uint32_t value) { - _internal_set_points_remaining(value); - // @@protoc_insertion_point(field_set:CMsgOpenCrate.points_remaining) -} - -// ------------------------------------------------------------------- - -// CSOEconRentalHistory - -// optional uint32 account_id = 1 [(.key_field) = true]; -inline bool CSOEconRentalHistory::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOEconRentalHistory::has_account_id() const { - return _internal_has_account_id(); -} -inline void CSOEconRentalHistory::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSOEconRentalHistory::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CSOEconRentalHistory::account_id() const { - // @@protoc_insertion_point(field_get:CSOEconRentalHistory.account_id) - return _internal_account_id(); -} -inline void CSOEconRentalHistory::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.account_id_ = value; -} -inline void CSOEconRentalHistory::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CSOEconRentalHistory.account_id) -} - -// optional uint64 crate_item_id = 2 [(.key_field) = true]; -inline bool CSOEconRentalHistory::_internal_has_crate_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOEconRentalHistory::has_crate_item_id() const { - return _internal_has_crate_item_id(); -} -inline void CSOEconRentalHistory::clear_crate_item_id() { - _impl_.crate_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CSOEconRentalHistory::_internal_crate_item_id() const { - return _impl_.crate_item_id_; -} -inline uint64_t CSOEconRentalHistory::crate_item_id() const { - // @@protoc_insertion_point(field_get:CSOEconRentalHistory.crate_item_id) - return _internal_crate_item_id(); -} -inline void CSOEconRentalHistory::_internal_set_crate_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.crate_item_id_ = value; -} -inline void CSOEconRentalHistory::set_crate_item_id(uint64_t value) { - _internal_set_crate_item_id(value); - // @@protoc_insertion_point(field_set:CSOEconRentalHistory.crate_item_id) -} - -// optional uint32 crate_def_index = 3; -inline bool CSOEconRentalHistory::_internal_has_crate_def_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOEconRentalHistory::has_crate_def_index() const { - return _internal_has_crate_def_index(); -} -inline void CSOEconRentalHistory::clear_crate_def_index() { - _impl_.crate_def_index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CSOEconRentalHistory::_internal_crate_def_index() const { - return _impl_.crate_def_index_; -} -inline uint32_t CSOEconRentalHistory::crate_def_index() const { - // @@protoc_insertion_point(field_get:CSOEconRentalHistory.crate_def_index) - return _internal_crate_def_index(); -} -inline void CSOEconRentalHistory::_internal_set_crate_def_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.crate_def_index_ = value; -} -inline void CSOEconRentalHistory::set_crate_def_index(uint32_t value) { - _internal_set_crate_def_index(value); - // @@protoc_insertion_point(field_set:CSOEconRentalHistory.crate_def_index) -} - -// optional uint32 issue_date = 4; -inline bool CSOEconRentalHistory::_internal_has_issue_date() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSOEconRentalHistory::has_issue_date() const { - return _internal_has_issue_date(); -} -inline void CSOEconRentalHistory::clear_issue_date() { - _impl_.issue_date_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CSOEconRentalHistory::_internal_issue_date() const { - return _impl_.issue_date_; -} -inline uint32_t CSOEconRentalHistory::issue_date() const { - // @@protoc_insertion_point(field_get:CSOEconRentalHistory.issue_date) - return _internal_issue_date(); -} -inline void CSOEconRentalHistory::_internal_set_issue_date(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.issue_date_ = value; -} -inline void CSOEconRentalHistory::set_issue_date(uint32_t value) { - _internal_set_issue_date(value); - // @@protoc_insertion_point(field_set:CSOEconRentalHistory.issue_date) -} - -// optional uint32 expiration_date = 5; -inline bool CSOEconRentalHistory::_internal_has_expiration_date() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSOEconRentalHistory::has_expiration_date() const { - return _internal_has_expiration_date(); -} -inline void CSOEconRentalHistory::clear_expiration_date() { - _impl_.expiration_date_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CSOEconRentalHistory::_internal_expiration_date() const { - return _impl_.expiration_date_; -} -inline uint32_t CSOEconRentalHistory::expiration_date() const { - // @@protoc_insertion_point(field_get:CSOEconRentalHistory.expiration_date) - return _internal_expiration_date(); -} -inline void CSOEconRentalHistory::_internal_set_expiration_date(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.expiration_date_ = value; -} -inline void CSOEconRentalHistory::set_expiration_date(uint32_t value) { - _internal_set_expiration_date(value); - // @@protoc_insertion_point(field_set:CSOEconRentalHistory.expiration_date) -} - -// ------------------------------------------------------------------- - -// CMsgAcknowledgeRentalExpiration - -// optional uint64 crate_item_id = 1; -inline bool CMsgAcknowledgeRentalExpiration::_internal_has_crate_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgAcknowledgeRentalExpiration::has_crate_item_id() const { - return _internal_has_crate_item_id(); -} -inline void CMsgAcknowledgeRentalExpiration::clear_crate_item_id() { - _impl_.crate_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgAcknowledgeRentalExpiration::_internal_crate_item_id() const { - return _impl_.crate_item_id_; -} -inline uint64_t CMsgAcknowledgeRentalExpiration::crate_item_id() const { - // @@protoc_insertion_point(field_get:CMsgAcknowledgeRentalExpiration.crate_item_id) - return _internal_crate_item_id(); -} -inline void CMsgAcknowledgeRentalExpiration::_internal_set_crate_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.crate_item_id_ = value; -} -inline void CMsgAcknowledgeRentalExpiration::set_crate_item_id(uint64_t value) { - _internal_set_crate_item_id(value); - // @@protoc_insertion_point(field_set:CMsgAcknowledgeRentalExpiration.crate_item_id) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::CMsgGameServerInfo_ServerType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::CMsgGameServerInfo_ServerType>() { - return ::CMsgGameServerInfo_ServerType_descriptor(); -} -template <> struct is_proto_enum< ::EGCBaseMsg> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EGCBaseMsg>() { - return ::EGCBaseMsg_descriptor(); -} -template <> struct is_proto_enum< ::EGCBaseProtoObjectTypes> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EGCBaseProtoObjectTypes>() { - return ::EGCBaseProtoObjectTypes_descriptor(); -} -template <> struct is_proto_enum< ::GC_BannedWordType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::GC_BannedWordType>() { - return ::GC_BannedWordType_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_base_5fgcmessages_2eproto diff --git a/protobuf/generated/c_peer2peer_netmessages.pb.cc b/protobuf/generated/c_peer2peer_netmessages.pb.cc deleted file mode 100644 index b96abe426..000000000 --- a/protobuf/generated/c_peer2peer_netmessages.pb.cc +++ /dev/null @@ -1,2265 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: c_peer2peer_netmessages.proto - -#include "c_peer2peer_netmessages.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CP2P_TextMessage::CP2P_TextMessage( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CP2P_TextMessageDefaultTypeInternal { - PROTOBUF_CONSTEXPR CP2P_TextMessageDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CP2P_TextMessageDefaultTypeInternal() {} - union { - CP2P_TextMessage _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CP2P_TextMessageDefaultTypeInternal _CP2P_TextMessage_default_instance_; -PROTOBUF_CONSTEXPR CSteam_Voice_Encoding::CSteam_Voice_Encoding( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.voice_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CSteam_Voice_EncodingDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSteam_Voice_EncodingDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSteam_Voice_EncodingDefaultTypeInternal() {} - union { - CSteam_Voice_Encoding _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSteam_Voice_EncodingDefaultTypeInternal _CSteam_Voice_Encoding_default_instance_; -PROTOBUF_CONSTEXPR CP2P_Voice::CP2P_Voice( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.audio_)*/nullptr - , /*decltype(_impl_.broadcast_group_)*/0u} {} -struct CP2P_VoiceDefaultTypeInternal { - PROTOBUF_CONSTEXPR CP2P_VoiceDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CP2P_VoiceDefaultTypeInternal() {} - union { - CP2P_Voice _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CP2P_VoiceDefaultTypeInternal _CP2P_Voice_default_instance_; -PROTOBUF_CONSTEXPR CP2P_Ping::CP2P_Ping( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.send_time_)*/uint64_t{0u} - , /*decltype(_impl_.is_reply_)*/false} {} -struct CP2P_PingDefaultTypeInternal { - PROTOBUF_CONSTEXPR CP2P_PingDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CP2P_PingDefaultTypeInternal() {} - union { - CP2P_Ping _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CP2P_PingDefaultTypeInternal _CP2P_Ping_default_instance_; -PROTOBUF_CONSTEXPR CP2P_VRAvatarPosition_COrientation::CP2P_VRAvatarPosition_COrientation( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.pos_)*/nullptr - , /*decltype(_impl_.ang_)*/nullptr} {} -struct CP2P_VRAvatarPosition_COrientationDefaultTypeInternal { - PROTOBUF_CONSTEXPR CP2P_VRAvatarPosition_COrientationDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CP2P_VRAvatarPosition_COrientationDefaultTypeInternal() {} - union { - CP2P_VRAvatarPosition_COrientation _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CP2P_VRAvatarPosition_COrientationDefaultTypeInternal _CP2P_VRAvatarPosition_COrientation_default_instance_; -PROTOBUF_CONSTEXPR CP2P_VRAvatarPosition::CP2P_VRAvatarPosition( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.body_parts_)*/{} - , /*decltype(_impl_.hat_id_)*/0 - , /*decltype(_impl_.scene_id_)*/0 - , /*decltype(_impl_.world_scale_)*/0} {} -struct CP2P_VRAvatarPositionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CP2P_VRAvatarPositionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CP2P_VRAvatarPositionDefaultTypeInternal() {} - union { - CP2P_VRAvatarPosition _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CP2P_VRAvatarPositionDefaultTypeInternal _CP2P_VRAvatarPosition_default_instance_; -PROTOBUF_CONSTEXPR CP2P_WatchSynchronization::CP2P_WatchSynchronization( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.demo_tick_)*/0 - , /*decltype(_impl_.paused_)*/false - , /*decltype(_impl_.dota_spectator_watching_broadcaster_)*/false - , /*decltype(_impl_.tv_listen_voice_indices_)*/uint64_t{0u} - , /*decltype(_impl_.dota_spectator_mode_)*/0 - , /*decltype(_impl_.dota_spectator_hero_index_)*/0 - , /*decltype(_impl_.dota_spectator_autospeed_)*/0 - , /*decltype(_impl_.dota_replay_speed_)*/0} {} -struct CP2P_WatchSynchronizationDefaultTypeInternal { - PROTOBUF_CONSTEXPR CP2P_WatchSynchronizationDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CP2P_WatchSynchronizationDefaultTypeInternal() {} - union { - CP2P_WatchSynchronization _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CP2P_WatchSynchronizationDefaultTypeInternal _CP2P_WatchSynchronization_default_instance_; -static ::_pb::Metadata file_level_metadata_c_5fpeer2peer_5fnetmessages_2eproto[7]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_c_5fpeer2peer_5fnetmessages_2eproto[2]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_c_5fpeer2peer_5fnetmessages_2eproto = nullptr; - -const uint32_t TableStruct_c_5fpeer2peer_5fnetmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CP2P_TextMessage, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CP2P_TextMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CP2P_TextMessage, _impl_.text_), - 0, - PROTOBUF_FIELD_OFFSET(::CSteam_Voice_Encoding, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSteam_Voice_Encoding, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSteam_Voice_Encoding, _impl_.voice_data_), - 0, - PROTOBUF_FIELD_OFFSET(::CP2P_Voice, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CP2P_Voice, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CP2P_Voice, _impl_.audio_), - PROTOBUF_FIELD_OFFSET(::CP2P_Voice, _impl_.broadcast_group_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CP2P_Ping, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CP2P_Ping, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CP2P_Ping, _impl_.send_time_), - PROTOBUF_FIELD_OFFSET(::CP2P_Ping, _impl_.is_reply_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition_COrientation, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition_COrientation, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition_COrientation, _impl_.pos_), - PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition_COrientation, _impl_.ang_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition, _impl_.body_parts_), - PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition, _impl_.hat_id_), - PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition, _impl_.scene_id_), - PROTOBUF_FIELD_OFFSET(::CP2P_VRAvatarPosition, _impl_.world_scale_), - ~0u, - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _impl_.demo_tick_), - PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _impl_.paused_), - PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _impl_.tv_listen_voice_indices_), - PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _impl_.dota_spectator_mode_), - PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _impl_.dota_spectator_watching_broadcaster_), - PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _impl_.dota_spectator_hero_index_), - PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _impl_.dota_spectator_autospeed_), - PROTOBUF_FIELD_OFFSET(::CP2P_WatchSynchronization, _impl_.dota_replay_speed_), - 0, - 1, - 3, - 4, - 2, - 5, - 6, - 7, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 7, -1, sizeof(::CP2P_TextMessage)}, - { 8, 15, -1, sizeof(::CSteam_Voice_Encoding)}, - { 16, 24, -1, sizeof(::CP2P_Voice)}, - { 26, 34, -1, sizeof(::CP2P_Ping)}, - { 36, 44, -1, sizeof(::CP2P_VRAvatarPosition_COrientation)}, - { 46, 56, -1, sizeof(::CP2P_VRAvatarPosition)}, - { 60, 74, -1, sizeof(::CP2P_WatchSynchronization)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CP2P_TextMessage_default_instance_._instance, - &::_CSteam_Voice_Encoding_default_instance_._instance, - &::_CP2P_Voice_default_instance_._instance, - &::_CP2P_Ping_default_instance_._instance, - &::_CP2P_VRAvatarPosition_COrientation_default_instance_._instance, - &::_CP2P_VRAvatarPosition_default_instance_._instance, - &::_CP2P_WatchSynchronization_default_instance_._instance, -}; - -const char descriptor_table_protodef_c_5fpeer2peer_5fnetmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\035c_peer2peer_netmessages.proto\032\021netmess" - "ages.proto\032\026networkbasetypes.proto\" \n\020CP" - "2P_TextMessage\022\014\n\004text\030\001 \001(\014\"+\n\025CSteam_V" - "oice_Encoding\022\022\n\nvoice_data\030\001 \001(\014\"h\n\nCP2" - "P_Voice\022\036\n\005audio\030\001 \001(\0132\017.CMsgVoiceAudio\022" - "\027\n\017broadcast_group\030\002 \001(\r\"!\n\rHandler_Flag" - "s\022\020\n\014Played_Audio\020\001\"0\n\tCP2P_Ping\022\021\n\tsend" - "_time\030\001 \002(\004\022\020\n\010is_reply\030\002 \002(\010\"\313\001\n\025CP2P_V" - "RAvatarPosition\0227\n\nbody_parts\030\001 \003(\0132#.CP" - "2P_VRAvatarPosition.COrientation\022\016\n\006hat_" - "id\030\002 \001(\005\022\020\n\010scene_id\030\003 \001(\005\022\023\n\013world_scal" - "e\030\004 \001(\005\032B\n\014COrientation\022\030\n\003pos\030\001 \001(\0132\013.C" - "MsgVector\022\030\n\003ang\030\002 \001(\0132\013.CMsgQAngle\"\211\002\n\031" - "CP2P_WatchSynchronization\022\021\n\tdemo_tick\030\001" - " \001(\005\022\016\n\006paused\030\002 \001(\010\022\037\n\027tv_listen_voice_" - "indices\030\003 \001(\004\022\033\n\023dota_spectator_mode\030\004 \001" - "(\005\022+\n#dota_spectator_watching_broadcaste" - "r\030\005 \001(\010\022!\n\031dota_spectator_hero_index\030\006 \001" - "(\005\022 \n\030dota_spectator_autospeed\030\007 \001(\005\022\031\n\021" - "dota_replay_speed\030\010 \001(\005*\277\001\n\014P2P_Messages" - "\022\024\n\017p2p_TextMessage\020\200\002\022\016\n\tp2p_Voice\020\201\002\022\r" - "\n\010p2p_Ping\020\202\002\022\031\n\024p2p_VRAvatarPosition\020\203\002" - "\022\035\n\030p2p_WatchSynchronization\020\204\002\022\036\n\031p2p_F" - "ightingGame_GameData\020\205\002\022 \n\033p2p_FightingG" - "ame_Connection\020\206\002" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_deps[2] = { - &::descriptor_table_netmessages_2eproto, - &::descriptor_table_networkbasetypes_2eproto, -}; -static ::_pbi::once_flag descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto = { - false, false, 977, descriptor_table_protodef_c_5fpeer2peer_5fnetmessages_2eproto, - "c_peer2peer_netmessages.proto", - &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_once, descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_deps, 2, 7, - schemas, file_default_instances, TableStruct_c_5fpeer2peer_5fnetmessages_2eproto::offsets, - file_level_metadata_c_5fpeer2peer_5fnetmessages_2eproto, file_level_enum_descriptors_c_5fpeer2peer_5fnetmessages_2eproto, - file_level_service_descriptors_c_5fpeer2peer_5fnetmessages_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_getter() { - return &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_c_5fpeer2peer_5fnetmessages_2eproto(&descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CP2P_Voice_Handler_Flags_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto); - return file_level_enum_descriptors_c_5fpeer2peer_5fnetmessages_2eproto[0]; -} -bool CP2P_Voice_Handler_Flags_IsValid(int value) { - switch (value) { - case 1: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr CP2P_Voice_Handler_Flags CP2P_Voice::Played_Audio; -constexpr CP2P_Voice_Handler_Flags CP2P_Voice::Handler_Flags_MIN; -constexpr CP2P_Voice_Handler_Flags CP2P_Voice::Handler_Flags_MAX; -constexpr int CP2P_Voice::Handler_Flags_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* P2P_Messages_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto); - return file_level_enum_descriptors_c_5fpeer2peer_5fnetmessages_2eproto[1]; -} -bool P2P_Messages_IsValid(int value) { - switch (value) { - case 256: - case 257: - case 258: - case 259: - case 260: - case 261: - case 262: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CP2P_TextMessage::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_text(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CP2P_TextMessage::CP2P_TextMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CP2P_TextMessage) -} -CP2P_TextMessage::CP2P_TextMessage(const CP2P_TextMessage& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CP2P_TextMessage* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_text()) { - _this->_impl_.text_.Set(from._internal_text(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CP2P_TextMessage) -} - -inline void CP2P_TextMessage::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - }; - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CP2P_TextMessage::~CP2P_TextMessage() { - // @@protoc_insertion_point(destructor:CP2P_TextMessage) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CP2P_TextMessage::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.text_.Destroy(); -} - -void CP2P_TextMessage::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CP2P_TextMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:CP2P_TextMessage) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.text_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CP2P_TextMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes text = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_text(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CP2P_TextMessage::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CP2P_TextMessage) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes text = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_text(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CP2P_TextMessage) - return target; -} - -size_t CP2P_TextMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CP2P_TextMessage) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bytes text = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_text()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CP2P_TextMessage::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CP2P_TextMessage::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CP2P_TextMessage::GetClassData() const { return &_class_data_; } - - -void CP2P_TextMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CP2P_TextMessage) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_text()) { - _this->_internal_set_text(from._internal_text()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CP2P_TextMessage::CopyFrom(const CP2P_TextMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CP2P_TextMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CP2P_TextMessage::IsInitialized() const { - return true; -} - -void CP2P_TextMessage::InternalSwap(CP2P_TextMessage* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.text_, lhs_arena, - &other->_impl_.text_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CP2P_TextMessage::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_getter, &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_once, - file_level_metadata_c_5fpeer2peer_5fnetmessages_2eproto[0]); -} - -// =================================================================== - -class CSteam_Voice_Encoding::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_voice_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSteam_Voice_Encoding::CSteam_Voice_Encoding(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSteam_Voice_Encoding) -} -CSteam_Voice_Encoding::CSteam_Voice_Encoding(const CSteam_Voice_Encoding& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSteam_Voice_Encoding* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.voice_data_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.voice_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.voice_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_voice_data()) { - _this->_impl_.voice_data_.Set(from._internal_voice_data(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CSteam_Voice_Encoding) -} - -inline void CSteam_Voice_Encoding::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.voice_data_){} - }; - _impl_.voice_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.voice_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSteam_Voice_Encoding::~CSteam_Voice_Encoding() { - // @@protoc_insertion_point(destructor:CSteam_Voice_Encoding) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSteam_Voice_Encoding::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.voice_data_.Destroy(); -} - -void CSteam_Voice_Encoding::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSteam_Voice_Encoding::Clear() { -// @@protoc_insertion_point(message_clear_start:CSteam_Voice_Encoding) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.voice_data_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSteam_Voice_Encoding::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes voice_data = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_voice_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSteam_Voice_Encoding::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSteam_Voice_Encoding) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes voice_data = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_voice_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSteam_Voice_Encoding) - return target; -} - -size_t CSteam_Voice_Encoding::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSteam_Voice_Encoding) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bytes voice_data = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_voice_data()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSteam_Voice_Encoding::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSteam_Voice_Encoding::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSteam_Voice_Encoding::GetClassData() const { return &_class_data_; } - - -void CSteam_Voice_Encoding::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSteam_Voice_Encoding) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_voice_data()) { - _this->_internal_set_voice_data(from._internal_voice_data()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSteam_Voice_Encoding::CopyFrom(const CSteam_Voice_Encoding& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSteam_Voice_Encoding) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSteam_Voice_Encoding::IsInitialized() const { - return true; -} - -void CSteam_Voice_Encoding::InternalSwap(CSteam_Voice_Encoding* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.voice_data_, lhs_arena, - &other->_impl_.voice_data_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSteam_Voice_Encoding::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_getter, &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_once, - file_level_metadata_c_5fpeer2peer_5fnetmessages_2eproto[1]); -} - -// =================================================================== - -class CP2P_Voice::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVoiceAudio& audio(const CP2P_Voice* msg); - static void set_has_audio(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_broadcast_group(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgVoiceAudio& -CP2P_Voice::_Internal::audio(const CP2P_Voice* msg) { - return *msg->_impl_.audio_; -} -void CP2P_Voice::clear_audio() { - if (_impl_.audio_ != nullptr) _impl_.audio_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CP2P_Voice::CP2P_Voice(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CP2P_Voice) -} -CP2P_Voice::CP2P_Voice(const CP2P_Voice& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CP2P_Voice* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.audio_){nullptr} - , decltype(_impl_.broadcast_group_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_audio()) { - _this->_impl_.audio_ = new ::CMsgVoiceAudio(*from._impl_.audio_); - } - _this->_impl_.broadcast_group_ = from._impl_.broadcast_group_; - // @@protoc_insertion_point(copy_constructor:CP2P_Voice) -} - -inline void CP2P_Voice::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.audio_){nullptr} - , decltype(_impl_.broadcast_group_){0u} - }; -} - -CP2P_Voice::~CP2P_Voice() { - // @@protoc_insertion_point(destructor:CP2P_Voice) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CP2P_Voice::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.audio_; -} - -void CP2P_Voice::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CP2P_Voice::Clear() { -// @@protoc_insertion_point(message_clear_start:CP2P_Voice) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.audio_ != nullptr); - _impl_.audio_->Clear(); - } - _impl_.broadcast_group_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CP2P_Voice::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVoiceAudio audio = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_audio(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 broadcast_group = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_broadcast_group(&has_bits); - _impl_.broadcast_group_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CP2P_Voice::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CP2P_Voice) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVoiceAudio audio = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::audio(this), - _Internal::audio(this).GetCachedSize(), target, stream); - } - - // optional uint32 broadcast_group = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_broadcast_group(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CP2P_Voice) - return target; -} - -size_t CP2P_Voice::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CP2P_Voice) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgVoiceAudio audio = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.audio_); - } - - // optional uint32 broadcast_group = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_broadcast_group()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CP2P_Voice::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CP2P_Voice::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CP2P_Voice::GetClassData() const { return &_class_data_; } - - -void CP2P_Voice::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CP2P_Voice) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_audio()->::CMsgVoiceAudio::MergeFrom( - from._internal_audio()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.broadcast_group_ = from._impl_.broadcast_group_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CP2P_Voice::CopyFrom(const CP2P_Voice& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CP2P_Voice) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CP2P_Voice::IsInitialized() const { - return true; -} - -void CP2P_Voice::InternalSwap(CP2P_Voice* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CP2P_Voice, _impl_.broadcast_group_) - + sizeof(CP2P_Voice::_impl_.broadcast_group_) - - PROTOBUF_FIELD_OFFSET(CP2P_Voice, _impl_.audio_)>( - reinterpret_cast(&_impl_.audio_), - reinterpret_cast(&other->_impl_.audio_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CP2P_Voice::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_getter, &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_once, - file_level_metadata_c_5fpeer2peer_5fnetmessages_2eproto[2]); -} - -// =================================================================== - -class CP2P_Ping::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_send_time(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_is_reply(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -CP2P_Ping::CP2P_Ping(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CP2P_Ping) -} -CP2P_Ping::CP2P_Ping(const CP2P_Ping& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CP2P_Ping* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.send_time_){} - , decltype(_impl_.is_reply_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.send_time_, &from._impl_.send_time_, - static_cast(reinterpret_cast(&_impl_.is_reply_) - - reinterpret_cast(&_impl_.send_time_)) + sizeof(_impl_.is_reply_)); - // @@protoc_insertion_point(copy_constructor:CP2P_Ping) -} - -inline void CP2P_Ping::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.send_time_){uint64_t{0u}} - , decltype(_impl_.is_reply_){false} - }; -} - -CP2P_Ping::~CP2P_Ping() { - // @@protoc_insertion_point(destructor:CP2P_Ping) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CP2P_Ping::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CP2P_Ping::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CP2P_Ping::Clear() { -// @@protoc_insertion_point(message_clear_start:CP2P_Ping) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.send_time_, 0, static_cast( - reinterpret_cast(&_impl_.is_reply_) - - reinterpret_cast(&_impl_.send_time_)) + sizeof(_impl_.is_reply_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CP2P_Ping::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint64 send_time = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_send_time(&has_bits); - _impl_.send_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required bool is_reply = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_is_reply(&has_bits); - _impl_.is_reply_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CP2P_Ping::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CP2P_Ping) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint64 send_time = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_send_time(), target); - } - - // required bool is_reply = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_is_reply(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CP2P_Ping) - return target; -} - -size_t CP2P_Ping::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:CP2P_Ping) - size_t total_size = 0; - - if (_internal_has_send_time()) { - // required uint64 send_time = 1; - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_send_time()); - } - - if (_internal_has_is_reply()) { - // required bool is_reply = 2; - total_size += 1 + 1; - } - - return total_size; -} -size_t CP2P_Ping::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CP2P_Ping) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required uint64 send_time = 1; - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_send_time()); - - // required bool is_reply = 2; - total_size += 1 + 1; - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CP2P_Ping::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CP2P_Ping::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CP2P_Ping::GetClassData() const { return &_class_data_; } - - -void CP2P_Ping::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CP2P_Ping) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.send_time_ = from._impl_.send_time_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.is_reply_ = from._impl_.is_reply_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CP2P_Ping::CopyFrom(const CP2P_Ping& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CP2P_Ping) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CP2P_Ping::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void CP2P_Ping::InternalSwap(CP2P_Ping* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CP2P_Ping, _impl_.is_reply_) - + sizeof(CP2P_Ping::_impl_.is_reply_) - - PROTOBUF_FIELD_OFFSET(CP2P_Ping, _impl_.send_time_)>( - reinterpret_cast(&_impl_.send_time_), - reinterpret_cast(&other->_impl_.send_time_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CP2P_Ping::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_getter, &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_once, - file_level_metadata_c_5fpeer2peer_5fnetmessages_2eproto[3]); -} - -// =================================================================== - -class CP2P_VRAvatarPosition_COrientation::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& pos(const CP2P_VRAvatarPosition_COrientation* msg); - static void set_has_pos(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgQAngle& ang(const CP2P_VRAvatarPosition_COrientation* msg); - static void set_has_ang(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgVector& -CP2P_VRAvatarPosition_COrientation::_Internal::pos(const CP2P_VRAvatarPosition_COrientation* msg) { - return *msg->_impl_.pos_; -} -const ::CMsgQAngle& -CP2P_VRAvatarPosition_COrientation::_Internal::ang(const CP2P_VRAvatarPosition_COrientation* msg) { - return *msg->_impl_.ang_; -} -void CP2P_VRAvatarPosition_COrientation::clear_pos() { - if (_impl_.pos_ != nullptr) _impl_.pos_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CP2P_VRAvatarPosition_COrientation::clear_ang() { - if (_impl_.ang_ != nullptr) _impl_.ang_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CP2P_VRAvatarPosition_COrientation::CP2P_VRAvatarPosition_COrientation(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CP2P_VRAvatarPosition.COrientation) -} -CP2P_VRAvatarPosition_COrientation::CP2P_VRAvatarPosition_COrientation(const CP2P_VRAvatarPosition_COrientation& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CP2P_VRAvatarPosition_COrientation* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pos_){nullptr} - , decltype(_impl_.ang_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_pos()) { - _this->_impl_.pos_ = new ::CMsgVector(*from._impl_.pos_); - } - if (from._internal_has_ang()) { - _this->_impl_.ang_ = new ::CMsgQAngle(*from._impl_.ang_); - } - // @@protoc_insertion_point(copy_constructor:CP2P_VRAvatarPosition.COrientation) -} - -inline void CP2P_VRAvatarPosition_COrientation::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pos_){nullptr} - , decltype(_impl_.ang_){nullptr} - }; -} - -CP2P_VRAvatarPosition_COrientation::~CP2P_VRAvatarPosition_COrientation() { - // @@protoc_insertion_point(destructor:CP2P_VRAvatarPosition.COrientation) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CP2P_VRAvatarPosition_COrientation::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.pos_; - if (this != internal_default_instance()) delete _impl_.ang_; -} - -void CP2P_VRAvatarPosition_COrientation::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CP2P_VRAvatarPosition_COrientation::Clear() { -// @@protoc_insertion_point(message_clear_start:CP2P_VRAvatarPosition.COrientation) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.pos_ != nullptr); - _impl_.pos_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.ang_ != nullptr); - _impl_.ang_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CP2P_VRAvatarPosition_COrientation::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector pos = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_pos(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle ang = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_ang(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CP2P_VRAvatarPosition_COrientation::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CP2P_VRAvatarPosition.COrientation) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector pos = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::pos(this), - _Internal::pos(this).GetCachedSize(), target, stream); - } - - // optional .CMsgQAngle ang = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::ang(this), - _Internal::ang(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CP2P_VRAvatarPosition.COrientation) - return target; -} - -size_t CP2P_VRAvatarPosition_COrientation::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CP2P_VRAvatarPosition.COrientation) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgVector pos = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.pos_); - } - - // optional .CMsgQAngle ang = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.ang_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CP2P_VRAvatarPosition_COrientation::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CP2P_VRAvatarPosition_COrientation::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CP2P_VRAvatarPosition_COrientation::GetClassData() const { return &_class_data_; } - - -void CP2P_VRAvatarPosition_COrientation::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CP2P_VRAvatarPosition.COrientation) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_pos()->::CMsgVector::MergeFrom( - from._internal_pos()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_ang()->::CMsgQAngle::MergeFrom( - from._internal_ang()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CP2P_VRAvatarPosition_COrientation::CopyFrom(const CP2P_VRAvatarPosition_COrientation& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CP2P_VRAvatarPosition.COrientation) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CP2P_VRAvatarPosition_COrientation::IsInitialized() const { - return true; -} - -void CP2P_VRAvatarPosition_COrientation::InternalSwap(CP2P_VRAvatarPosition_COrientation* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CP2P_VRAvatarPosition_COrientation, _impl_.ang_) - + sizeof(CP2P_VRAvatarPosition_COrientation::_impl_.ang_) - - PROTOBUF_FIELD_OFFSET(CP2P_VRAvatarPosition_COrientation, _impl_.pos_)>( - reinterpret_cast(&_impl_.pos_), - reinterpret_cast(&other->_impl_.pos_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CP2P_VRAvatarPosition_COrientation::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_getter, &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_once, - file_level_metadata_c_5fpeer2peer_5fnetmessages_2eproto[4]); -} - -// =================================================================== - -class CP2P_VRAvatarPosition::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_hat_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_scene_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_world_scale(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CP2P_VRAvatarPosition::CP2P_VRAvatarPosition(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CP2P_VRAvatarPosition) -} -CP2P_VRAvatarPosition::CP2P_VRAvatarPosition(const CP2P_VRAvatarPosition& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CP2P_VRAvatarPosition* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_parts_){from._impl_.body_parts_} - , decltype(_impl_.hat_id_){} - , decltype(_impl_.scene_id_){} - , decltype(_impl_.world_scale_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.hat_id_, &from._impl_.hat_id_, - static_cast(reinterpret_cast(&_impl_.world_scale_) - - reinterpret_cast(&_impl_.hat_id_)) + sizeof(_impl_.world_scale_)); - // @@protoc_insertion_point(copy_constructor:CP2P_VRAvatarPosition) -} - -inline void CP2P_VRAvatarPosition::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_parts_){arena} - , decltype(_impl_.hat_id_){0} - , decltype(_impl_.scene_id_){0} - , decltype(_impl_.world_scale_){0} - }; -} - -CP2P_VRAvatarPosition::~CP2P_VRAvatarPosition() { - // @@protoc_insertion_point(destructor:CP2P_VRAvatarPosition) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CP2P_VRAvatarPosition::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.body_parts_.~RepeatedPtrField(); -} - -void CP2P_VRAvatarPosition::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CP2P_VRAvatarPosition::Clear() { -// @@protoc_insertion_point(message_clear_start:CP2P_VRAvatarPosition) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.body_parts_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.hat_id_, 0, static_cast( - reinterpret_cast(&_impl_.world_scale_) - - reinterpret_cast(&_impl_.hat_id_)) + sizeof(_impl_.world_scale_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CP2P_VRAvatarPosition::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CP2P_VRAvatarPosition.COrientation body_parts = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_body_parts(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // optional int32 hat_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_hat_id(&has_bits); - _impl_.hat_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 scene_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_scene_id(&has_bits); - _impl_.scene_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 world_scale = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_world_scale(&has_bits); - _impl_.world_scale_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CP2P_VRAvatarPosition::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CP2P_VRAvatarPosition) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CP2P_VRAvatarPosition.COrientation body_parts = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_body_parts_size()); i < n; i++) { - const auto& repfield = this->_internal_body_parts(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 hat_id = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_hat_id(), target); - } - - // optional int32 scene_id = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_scene_id(), target); - } - - // optional int32 world_scale = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_world_scale(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CP2P_VRAvatarPosition) - return target; -} - -size_t CP2P_VRAvatarPosition::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CP2P_VRAvatarPosition) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CP2P_VRAvatarPosition.COrientation body_parts = 1; - total_size += 1UL * this->_internal_body_parts_size(); - for (const auto& msg : this->_impl_.body_parts_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 hat_id = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_hat_id()); - } - - // optional int32 scene_id = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_scene_id()); - } - - // optional int32 world_scale = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_world_scale()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CP2P_VRAvatarPosition::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CP2P_VRAvatarPosition::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CP2P_VRAvatarPosition::GetClassData() const { return &_class_data_; } - - -void CP2P_VRAvatarPosition::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CP2P_VRAvatarPosition) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.body_parts_.MergeFrom(from._impl_.body_parts_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.hat_id_ = from._impl_.hat_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.scene_id_ = from._impl_.scene_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.world_scale_ = from._impl_.world_scale_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CP2P_VRAvatarPosition::CopyFrom(const CP2P_VRAvatarPosition& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CP2P_VRAvatarPosition) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CP2P_VRAvatarPosition::IsInitialized() const { - return true; -} - -void CP2P_VRAvatarPosition::InternalSwap(CP2P_VRAvatarPosition* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.body_parts_.InternalSwap(&other->_impl_.body_parts_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CP2P_VRAvatarPosition, _impl_.world_scale_) - + sizeof(CP2P_VRAvatarPosition::_impl_.world_scale_) - - PROTOBUF_FIELD_OFFSET(CP2P_VRAvatarPosition, _impl_.hat_id_)>( - reinterpret_cast(&_impl_.hat_id_), - reinterpret_cast(&other->_impl_.hat_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CP2P_VRAvatarPosition::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_getter, &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_once, - file_level_metadata_c_5fpeer2peer_5fnetmessages_2eproto[5]); -} - -// =================================================================== - -class CP2P_WatchSynchronization::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_demo_tick(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_paused(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_tv_listen_voice_indices(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_dota_spectator_mode(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_dota_spectator_watching_broadcaster(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_dota_spectator_hero_index(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_dota_spectator_autospeed(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_dota_replay_speed(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } -}; - -CP2P_WatchSynchronization::CP2P_WatchSynchronization(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CP2P_WatchSynchronization) -} -CP2P_WatchSynchronization::CP2P_WatchSynchronization(const CP2P_WatchSynchronization& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CP2P_WatchSynchronization* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.demo_tick_){} - , decltype(_impl_.paused_){} - , decltype(_impl_.dota_spectator_watching_broadcaster_){} - , decltype(_impl_.tv_listen_voice_indices_){} - , decltype(_impl_.dota_spectator_mode_){} - , decltype(_impl_.dota_spectator_hero_index_){} - , decltype(_impl_.dota_spectator_autospeed_){} - , decltype(_impl_.dota_replay_speed_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.demo_tick_, &from._impl_.demo_tick_, - static_cast(reinterpret_cast(&_impl_.dota_replay_speed_) - - reinterpret_cast(&_impl_.demo_tick_)) + sizeof(_impl_.dota_replay_speed_)); - // @@protoc_insertion_point(copy_constructor:CP2P_WatchSynchronization) -} - -inline void CP2P_WatchSynchronization::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.demo_tick_){0} - , decltype(_impl_.paused_){false} - , decltype(_impl_.dota_spectator_watching_broadcaster_){false} - , decltype(_impl_.tv_listen_voice_indices_){uint64_t{0u}} - , decltype(_impl_.dota_spectator_mode_){0} - , decltype(_impl_.dota_spectator_hero_index_){0} - , decltype(_impl_.dota_spectator_autospeed_){0} - , decltype(_impl_.dota_replay_speed_){0} - }; -} - -CP2P_WatchSynchronization::~CP2P_WatchSynchronization() { - // @@protoc_insertion_point(destructor:CP2P_WatchSynchronization) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CP2P_WatchSynchronization::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CP2P_WatchSynchronization::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CP2P_WatchSynchronization::Clear() { -// @@protoc_insertion_point(message_clear_start:CP2P_WatchSynchronization) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.demo_tick_, 0, static_cast( - reinterpret_cast(&_impl_.dota_replay_speed_) - - reinterpret_cast(&_impl_.demo_tick_)) + sizeof(_impl_.dota_replay_speed_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CP2P_WatchSynchronization::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 demo_tick = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_demo_tick(&has_bits); - _impl_.demo_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool paused = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_paused(&has_bits); - _impl_.paused_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 tv_listen_voice_indices = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_tv_listen_voice_indices(&has_bits); - _impl_.tv_listen_voice_indices_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 dota_spectator_mode = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_dota_spectator_mode(&has_bits); - _impl_.dota_spectator_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool dota_spectator_watching_broadcaster = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_dota_spectator_watching_broadcaster(&has_bits); - _impl_.dota_spectator_watching_broadcaster_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 dota_spectator_hero_index = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_dota_spectator_hero_index(&has_bits); - _impl_.dota_spectator_hero_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 dota_spectator_autospeed = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_dota_spectator_autospeed(&has_bits); - _impl_.dota_spectator_autospeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 dota_replay_speed = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_dota_replay_speed(&has_bits); - _impl_.dota_replay_speed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CP2P_WatchSynchronization::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CP2P_WatchSynchronization) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 demo_tick = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_demo_tick(), target); - } - - // optional bool paused = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_paused(), target); - } - - // optional uint64 tv_listen_voice_indices = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_tv_listen_voice_indices(), target); - } - - // optional int32 dota_spectator_mode = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_dota_spectator_mode(), target); - } - - // optional bool dota_spectator_watching_broadcaster = 5; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_dota_spectator_watching_broadcaster(), target); - } - - // optional int32 dota_spectator_hero_index = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_dota_spectator_hero_index(), target); - } - - // optional int32 dota_spectator_autospeed = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_dota_spectator_autospeed(), target); - } - - // optional int32 dota_replay_speed = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_dota_replay_speed(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CP2P_WatchSynchronization) - return target; -} - -size_t CP2P_WatchSynchronization::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CP2P_WatchSynchronization) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional int32 demo_tick = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_demo_tick()); - } - - // optional bool paused = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - // optional bool dota_spectator_watching_broadcaster = 5; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional uint64 tv_listen_voice_indices = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_tv_listen_voice_indices()); - } - - // optional int32 dota_spectator_mode = 4; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dota_spectator_mode()); - } - - // optional int32 dota_spectator_hero_index = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dota_spectator_hero_index()); - } - - // optional int32 dota_spectator_autospeed = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dota_spectator_autospeed()); - } - - // optional int32 dota_replay_speed = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dota_replay_speed()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CP2P_WatchSynchronization::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CP2P_WatchSynchronization::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CP2P_WatchSynchronization::GetClassData() const { return &_class_data_; } - - -void CP2P_WatchSynchronization::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CP2P_WatchSynchronization) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.demo_tick_ = from._impl_.demo_tick_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.paused_ = from._impl_.paused_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.dota_spectator_watching_broadcaster_ = from._impl_.dota_spectator_watching_broadcaster_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.tv_listen_voice_indices_ = from._impl_.tv_listen_voice_indices_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.dota_spectator_mode_ = from._impl_.dota_spectator_mode_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.dota_spectator_hero_index_ = from._impl_.dota_spectator_hero_index_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.dota_spectator_autospeed_ = from._impl_.dota_spectator_autospeed_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.dota_replay_speed_ = from._impl_.dota_replay_speed_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CP2P_WatchSynchronization::CopyFrom(const CP2P_WatchSynchronization& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CP2P_WatchSynchronization) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CP2P_WatchSynchronization::IsInitialized() const { - return true; -} - -void CP2P_WatchSynchronization::InternalSwap(CP2P_WatchSynchronization* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CP2P_WatchSynchronization, _impl_.dota_replay_speed_) - + sizeof(CP2P_WatchSynchronization::_impl_.dota_replay_speed_) - - PROTOBUF_FIELD_OFFSET(CP2P_WatchSynchronization, _impl_.demo_tick_)>( - reinterpret_cast(&_impl_.demo_tick_), - reinterpret_cast(&other->_impl_.demo_tick_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CP2P_WatchSynchronization::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_getter, &descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto_once, - file_level_metadata_c_5fpeer2peer_5fnetmessages_2eproto[6]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CP2P_TextMessage* -Arena::CreateMaybeMessage< ::CP2P_TextMessage >(Arena* arena) { - return Arena::CreateMessageInternal< ::CP2P_TextMessage >(arena); -} -template<> PROTOBUF_NOINLINE ::CSteam_Voice_Encoding* -Arena::CreateMaybeMessage< ::CSteam_Voice_Encoding >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSteam_Voice_Encoding >(arena); -} -template<> PROTOBUF_NOINLINE ::CP2P_Voice* -Arena::CreateMaybeMessage< ::CP2P_Voice >(Arena* arena) { - return Arena::CreateMessageInternal< ::CP2P_Voice >(arena); -} -template<> PROTOBUF_NOINLINE ::CP2P_Ping* -Arena::CreateMaybeMessage< ::CP2P_Ping >(Arena* arena) { - return Arena::CreateMessageInternal< ::CP2P_Ping >(arena); -} -template<> PROTOBUF_NOINLINE ::CP2P_VRAvatarPosition_COrientation* -Arena::CreateMaybeMessage< ::CP2P_VRAvatarPosition_COrientation >(Arena* arena) { - return Arena::CreateMessageInternal< ::CP2P_VRAvatarPosition_COrientation >(arena); -} -template<> PROTOBUF_NOINLINE ::CP2P_VRAvatarPosition* -Arena::CreateMaybeMessage< ::CP2P_VRAvatarPosition >(Arena* arena) { - return Arena::CreateMessageInternal< ::CP2P_VRAvatarPosition >(arena); -} -template<> PROTOBUF_NOINLINE ::CP2P_WatchSynchronization* -Arena::CreateMaybeMessage< ::CP2P_WatchSynchronization >(Arena* arena) { - return Arena::CreateMessageInternal< ::CP2P_WatchSynchronization >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/c_peer2peer_netmessages.pb.h b/protobuf/generated/c_peer2peer_netmessages.pb.h deleted file mode 100644 index ffd0029ca..000000000 --- a/protobuf/generated/c_peer2peer_netmessages.pb.h +++ /dev/null @@ -1,2410 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: c_peer2peer_netmessages.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_c_5fpeer2peer_5fnetmessages_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_c_5fpeer2peer_5fnetmessages_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "netmessages.pb.h" -#include "networkbasetypes.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_c_5fpeer2peer_5fnetmessages_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_c_5fpeer2peer_5fnetmessages_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_c_5fpeer2peer_5fnetmessages_2eproto; -class CP2P_Ping; -struct CP2P_PingDefaultTypeInternal; -extern CP2P_PingDefaultTypeInternal _CP2P_Ping_default_instance_; -class CP2P_TextMessage; -struct CP2P_TextMessageDefaultTypeInternal; -extern CP2P_TextMessageDefaultTypeInternal _CP2P_TextMessage_default_instance_; -class CP2P_VRAvatarPosition; -struct CP2P_VRAvatarPositionDefaultTypeInternal; -extern CP2P_VRAvatarPositionDefaultTypeInternal _CP2P_VRAvatarPosition_default_instance_; -class CP2P_VRAvatarPosition_COrientation; -struct CP2P_VRAvatarPosition_COrientationDefaultTypeInternal; -extern CP2P_VRAvatarPosition_COrientationDefaultTypeInternal _CP2P_VRAvatarPosition_COrientation_default_instance_; -class CP2P_Voice; -struct CP2P_VoiceDefaultTypeInternal; -extern CP2P_VoiceDefaultTypeInternal _CP2P_Voice_default_instance_; -class CP2P_WatchSynchronization; -struct CP2P_WatchSynchronizationDefaultTypeInternal; -extern CP2P_WatchSynchronizationDefaultTypeInternal _CP2P_WatchSynchronization_default_instance_; -class CSteam_Voice_Encoding; -struct CSteam_Voice_EncodingDefaultTypeInternal; -extern CSteam_Voice_EncodingDefaultTypeInternal _CSteam_Voice_Encoding_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CP2P_Ping* Arena::CreateMaybeMessage<::CP2P_Ping>(Arena*); -template<> ::CP2P_TextMessage* Arena::CreateMaybeMessage<::CP2P_TextMessage>(Arena*); -template<> ::CP2P_VRAvatarPosition* Arena::CreateMaybeMessage<::CP2P_VRAvatarPosition>(Arena*); -template<> ::CP2P_VRAvatarPosition_COrientation* Arena::CreateMaybeMessage<::CP2P_VRAvatarPosition_COrientation>(Arena*); -template<> ::CP2P_Voice* Arena::CreateMaybeMessage<::CP2P_Voice>(Arena*); -template<> ::CP2P_WatchSynchronization* Arena::CreateMaybeMessage<::CP2P_WatchSynchronization>(Arena*); -template<> ::CSteam_Voice_Encoding* Arena::CreateMaybeMessage<::CSteam_Voice_Encoding>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum CP2P_Voice_Handler_Flags : int { - CP2P_Voice_Handler_Flags_Played_Audio = 1 -}; -bool CP2P_Voice_Handler_Flags_IsValid(int value); -constexpr CP2P_Voice_Handler_Flags CP2P_Voice_Handler_Flags_Handler_Flags_MIN = CP2P_Voice_Handler_Flags_Played_Audio; -constexpr CP2P_Voice_Handler_Flags CP2P_Voice_Handler_Flags_Handler_Flags_MAX = CP2P_Voice_Handler_Flags_Played_Audio; -constexpr int CP2P_Voice_Handler_Flags_Handler_Flags_ARRAYSIZE = CP2P_Voice_Handler_Flags_Handler_Flags_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CP2P_Voice_Handler_Flags_descriptor(); -template -inline const std::string& CP2P_Voice_Handler_Flags_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CP2P_Voice_Handler_Flags_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CP2P_Voice_Handler_Flags_descriptor(), enum_t_value); -} -inline bool CP2P_Voice_Handler_Flags_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CP2P_Voice_Handler_Flags* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CP2P_Voice_Handler_Flags_descriptor(), name, value); -} -enum P2P_Messages : int { - p2p_TextMessage = 256, - p2p_Voice = 257, - p2p_Ping = 258, - p2p_VRAvatarPosition = 259, - p2p_WatchSynchronization = 260, - p2p_FightingGame_GameData = 261, - p2p_FightingGame_Connection = 262 -}; -bool P2P_Messages_IsValid(int value); -constexpr P2P_Messages P2P_Messages_MIN = p2p_TextMessage; -constexpr P2P_Messages P2P_Messages_MAX = p2p_FightingGame_Connection; -constexpr int P2P_Messages_ARRAYSIZE = P2P_Messages_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* P2P_Messages_descriptor(); -template -inline const std::string& P2P_Messages_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function P2P_Messages_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - P2P_Messages_descriptor(), enum_t_value); -} -inline bool P2P_Messages_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, P2P_Messages* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - P2P_Messages_descriptor(), name, value); -} -// =================================================================== - -class CP2P_TextMessage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CP2P_TextMessage) */ { - public: - inline CP2P_TextMessage() : CP2P_TextMessage(nullptr) {} - ~CP2P_TextMessage() override; - explicit PROTOBUF_CONSTEXPR CP2P_TextMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CP2P_TextMessage(const CP2P_TextMessage& from); - CP2P_TextMessage(CP2P_TextMessage&& from) noexcept - : CP2P_TextMessage() { - *this = ::std::move(from); - } - - inline CP2P_TextMessage& operator=(const CP2P_TextMessage& from) { - CopyFrom(from); - return *this; - } - inline CP2P_TextMessage& operator=(CP2P_TextMessage&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CP2P_TextMessage& default_instance() { - return *internal_default_instance(); - } - static inline const CP2P_TextMessage* internal_default_instance() { - return reinterpret_cast( - &_CP2P_TextMessage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CP2P_TextMessage& a, CP2P_TextMessage& b) { - a.Swap(&b); - } - inline void Swap(CP2P_TextMessage* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CP2P_TextMessage* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CP2P_TextMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CP2P_TextMessage& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CP2P_TextMessage& from) { - CP2P_TextMessage::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CP2P_TextMessage* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CP2P_TextMessage"; - } - protected: - explicit CP2P_TextMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTextFieldNumber = 1, - }; - // optional bytes text = 1; - bool has_text() const; - private: - bool _internal_has_text() const; - public: - void clear_text(); - const std::string& text() const; - template - void set_text(ArgT0&& arg0, ArgT... args); - std::string* mutable_text(); - PROTOBUF_NODISCARD std::string* release_text(); - void set_allocated_text(std::string* text); - private: - const std::string& _internal_text() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value); - std::string* _internal_mutable_text(); - public: - - // @@protoc_insertion_point(class_scope:CP2P_TextMessage) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_c_5fpeer2peer_5fnetmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSteam_Voice_Encoding : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSteam_Voice_Encoding) */ { - public: - inline CSteam_Voice_Encoding() : CSteam_Voice_Encoding(nullptr) {} - ~CSteam_Voice_Encoding() override; - explicit PROTOBUF_CONSTEXPR CSteam_Voice_Encoding(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSteam_Voice_Encoding(const CSteam_Voice_Encoding& from); - CSteam_Voice_Encoding(CSteam_Voice_Encoding&& from) noexcept - : CSteam_Voice_Encoding() { - *this = ::std::move(from); - } - - inline CSteam_Voice_Encoding& operator=(const CSteam_Voice_Encoding& from) { - CopyFrom(from); - return *this; - } - inline CSteam_Voice_Encoding& operator=(CSteam_Voice_Encoding&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSteam_Voice_Encoding& default_instance() { - return *internal_default_instance(); - } - static inline const CSteam_Voice_Encoding* internal_default_instance() { - return reinterpret_cast( - &_CSteam_Voice_Encoding_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CSteam_Voice_Encoding& a, CSteam_Voice_Encoding& b) { - a.Swap(&b); - } - inline void Swap(CSteam_Voice_Encoding* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSteam_Voice_Encoding* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSteam_Voice_Encoding* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSteam_Voice_Encoding& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSteam_Voice_Encoding& from) { - CSteam_Voice_Encoding::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSteam_Voice_Encoding* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSteam_Voice_Encoding"; - } - protected: - explicit CSteam_Voice_Encoding(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kVoiceDataFieldNumber = 1, - }; - // optional bytes voice_data = 1; - bool has_voice_data() const; - private: - bool _internal_has_voice_data() const; - public: - void clear_voice_data(); - const std::string& voice_data() const; - template - void set_voice_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_voice_data(); - PROTOBUF_NODISCARD std::string* release_voice_data(); - void set_allocated_voice_data(std::string* voice_data); - private: - const std::string& _internal_voice_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_voice_data(const std::string& value); - std::string* _internal_mutable_voice_data(); - public: - - // @@protoc_insertion_point(class_scope:CSteam_Voice_Encoding) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr voice_data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_c_5fpeer2peer_5fnetmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CP2P_Voice : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CP2P_Voice) */ { - public: - inline CP2P_Voice() : CP2P_Voice(nullptr) {} - ~CP2P_Voice() override; - explicit PROTOBUF_CONSTEXPR CP2P_Voice(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CP2P_Voice(const CP2P_Voice& from); - CP2P_Voice(CP2P_Voice&& from) noexcept - : CP2P_Voice() { - *this = ::std::move(from); - } - - inline CP2P_Voice& operator=(const CP2P_Voice& from) { - CopyFrom(from); - return *this; - } - inline CP2P_Voice& operator=(CP2P_Voice&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CP2P_Voice& default_instance() { - return *internal_default_instance(); - } - static inline const CP2P_Voice* internal_default_instance() { - return reinterpret_cast( - &_CP2P_Voice_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CP2P_Voice& a, CP2P_Voice& b) { - a.Swap(&b); - } - inline void Swap(CP2P_Voice* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CP2P_Voice* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CP2P_Voice* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CP2P_Voice& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CP2P_Voice& from) { - CP2P_Voice::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CP2P_Voice* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CP2P_Voice"; - } - protected: - explicit CP2P_Voice(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CP2P_Voice_Handler_Flags Handler_Flags; - static constexpr Handler_Flags Played_Audio = - CP2P_Voice_Handler_Flags_Played_Audio; - static inline bool Handler_Flags_IsValid(int value) { - return CP2P_Voice_Handler_Flags_IsValid(value); - } - static constexpr Handler_Flags Handler_Flags_MIN = - CP2P_Voice_Handler_Flags_Handler_Flags_MIN; - static constexpr Handler_Flags Handler_Flags_MAX = - CP2P_Voice_Handler_Flags_Handler_Flags_MAX; - static constexpr int Handler_Flags_ARRAYSIZE = - CP2P_Voice_Handler_Flags_Handler_Flags_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Handler_Flags_descriptor() { - return CP2P_Voice_Handler_Flags_descriptor(); - } - template - static inline const std::string& Handler_Flags_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Handler_Flags_Name."); - return CP2P_Voice_Handler_Flags_Name(enum_t_value); - } - static inline bool Handler_Flags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Handler_Flags* value) { - return CP2P_Voice_Handler_Flags_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kAudioFieldNumber = 1, - kBroadcastGroupFieldNumber = 2, - }; - // optional .CMsgVoiceAudio audio = 1; - bool has_audio() const; - private: - bool _internal_has_audio() const; - public: - void clear_audio(); - const ::CMsgVoiceAudio& audio() const; - PROTOBUF_NODISCARD ::CMsgVoiceAudio* release_audio(); - ::CMsgVoiceAudio* mutable_audio(); - void set_allocated_audio(::CMsgVoiceAudio* audio); - private: - const ::CMsgVoiceAudio& _internal_audio() const; - ::CMsgVoiceAudio* _internal_mutable_audio(); - public: - void unsafe_arena_set_allocated_audio( - ::CMsgVoiceAudio* audio); - ::CMsgVoiceAudio* unsafe_arena_release_audio(); - - // optional uint32 broadcast_group = 2; - bool has_broadcast_group() const; - private: - bool _internal_has_broadcast_group() const; - public: - void clear_broadcast_group(); - uint32_t broadcast_group() const; - void set_broadcast_group(uint32_t value); - private: - uint32_t _internal_broadcast_group() const; - void _internal_set_broadcast_group(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CP2P_Voice) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVoiceAudio* audio_; - uint32_t broadcast_group_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_c_5fpeer2peer_5fnetmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CP2P_Ping : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CP2P_Ping) */ { - public: - inline CP2P_Ping() : CP2P_Ping(nullptr) {} - ~CP2P_Ping() override; - explicit PROTOBUF_CONSTEXPR CP2P_Ping(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CP2P_Ping(const CP2P_Ping& from); - CP2P_Ping(CP2P_Ping&& from) noexcept - : CP2P_Ping() { - *this = ::std::move(from); - } - - inline CP2P_Ping& operator=(const CP2P_Ping& from) { - CopyFrom(from); - return *this; - } - inline CP2P_Ping& operator=(CP2P_Ping&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CP2P_Ping& default_instance() { - return *internal_default_instance(); - } - static inline const CP2P_Ping* internal_default_instance() { - return reinterpret_cast( - &_CP2P_Ping_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CP2P_Ping& a, CP2P_Ping& b) { - a.Swap(&b); - } - inline void Swap(CP2P_Ping* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CP2P_Ping* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CP2P_Ping* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CP2P_Ping& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CP2P_Ping& from) { - CP2P_Ping::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CP2P_Ping* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CP2P_Ping"; - } - protected: - explicit CP2P_Ping(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSendTimeFieldNumber = 1, - kIsReplyFieldNumber = 2, - }; - // required uint64 send_time = 1; - bool has_send_time() const; - private: - bool _internal_has_send_time() const; - public: - void clear_send_time(); - uint64_t send_time() const; - void set_send_time(uint64_t value); - private: - uint64_t _internal_send_time() const; - void _internal_set_send_time(uint64_t value); - public: - - // required bool is_reply = 2; - bool has_is_reply() const; - private: - bool _internal_has_is_reply() const; - public: - void clear_is_reply(); - bool is_reply() const; - void set_is_reply(bool value); - private: - bool _internal_is_reply() const; - void _internal_set_is_reply(bool value); - public: - - // @@protoc_insertion_point(class_scope:CP2P_Ping) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t send_time_; - bool is_reply_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_c_5fpeer2peer_5fnetmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CP2P_VRAvatarPosition_COrientation : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CP2P_VRAvatarPosition.COrientation) */ { - public: - inline CP2P_VRAvatarPosition_COrientation() : CP2P_VRAvatarPosition_COrientation(nullptr) {} - ~CP2P_VRAvatarPosition_COrientation() override; - explicit PROTOBUF_CONSTEXPR CP2P_VRAvatarPosition_COrientation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CP2P_VRAvatarPosition_COrientation(const CP2P_VRAvatarPosition_COrientation& from); - CP2P_VRAvatarPosition_COrientation(CP2P_VRAvatarPosition_COrientation&& from) noexcept - : CP2P_VRAvatarPosition_COrientation() { - *this = ::std::move(from); - } - - inline CP2P_VRAvatarPosition_COrientation& operator=(const CP2P_VRAvatarPosition_COrientation& from) { - CopyFrom(from); - return *this; - } - inline CP2P_VRAvatarPosition_COrientation& operator=(CP2P_VRAvatarPosition_COrientation&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CP2P_VRAvatarPosition_COrientation& default_instance() { - return *internal_default_instance(); - } - static inline const CP2P_VRAvatarPosition_COrientation* internal_default_instance() { - return reinterpret_cast( - &_CP2P_VRAvatarPosition_COrientation_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CP2P_VRAvatarPosition_COrientation& a, CP2P_VRAvatarPosition_COrientation& b) { - a.Swap(&b); - } - inline void Swap(CP2P_VRAvatarPosition_COrientation* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CP2P_VRAvatarPosition_COrientation* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CP2P_VRAvatarPosition_COrientation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CP2P_VRAvatarPosition_COrientation& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CP2P_VRAvatarPosition_COrientation& from) { - CP2P_VRAvatarPosition_COrientation::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CP2P_VRAvatarPosition_COrientation* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CP2P_VRAvatarPosition.COrientation"; - } - protected: - explicit CP2P_VRAvatarPosition_COrientation(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPosFieldNumber = 1, - kAngFieldNumber = 2, - }; - // optional .CMsgVector pos = 1; - bool has_pos() const; - private: - bool _internal_has_pos() const; - public: - void clear_pos(); - const ::CMsgVector& pos() const; - PROTOBUF_NODISCARD ::CMsgVector* release_pos(); - ::CMsgVector* mutable_pos(); - void set_allocated_pos(::CMsgVector* pos); - private: - const ::CMsgVector& _internal_pos() const; - ::CMsgVector* _internal_mutable_pos(); - public: - void unsafe_arena_set_allocated_pos( - ::CMsgVector* pos); - ::CMsgVector* unsafe_arena_release_pos(); - - // optional .CMsgQAngle ang = 2; - bool has_ang() const; - private: - bool _internal_has_ang() const; - public: - void clear_ang(); - const ::CMsgQAngle& ang() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_ang(); - ::CMsgQAngle* mutable_ang(); - void set_allocated_ang(::CMsgQAngle* ang); - private: - const ::CMsgQAngle& _internal_ang() const; - ::CMsgQAngle* _internal_mutable_ang(); - public: - void unsafe_arena_set_allocated_ang( - ::CMsgQAngle* ang); - ::CMsgQAngle* unsafe_arena_release_ang(); - - // @@protoc_insertion_point(class_scope:CP2P_VRAvatarPosition.COrientation) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* pos_; - ::CMsgQAngle* ang_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_c_5fpeer2peer_5fnetmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CP2P_VRAvatarPosition : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CP2P_VRAvatarPosition) */ { - public: - inline CP2P_VRAvatarPosition() : CP2P_VRAvatarPosition(nullptr) {} - ~CP2P_VRAvatarPosition() override; - explicit PROTOBUF_CONSTEXPR CP2P_VRAvatarPosition(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CP2P_VRAvatarPosition(const CP2P_VRAvatarPosition& from); - CP2P_VRAvatarPosition(CP2P_VRAvatarPosition&& from) noexcept - : CP2P_VRAvatarPosition() { - *this = ::std::move(from); - } - - inline CP2P_VRAvatarPosition& operator=(const CP2P_VRAvatarPosition& from) { - CopyFrom(from); - return *this; - } - inline CP2P_VRAvatarPosition& operator=(CP2P_VRAvatarPosition&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CP2P_VRAvatarPosition& default_instance() { - return *internal_default_instance(); - } - static inline const CP2P_VRAvatarPosition* internal_default_instance() { - return reinterpret_cast( - &_CP2P_VRAvatarPosition_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CP2P_VRAvatarPosition& a, CP2P_VRAvatarPosition& b) { - a.Swap(&b); - } - inline void Swap(CP2P_VRAvatarPosition* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CP2P_VRAvatarPosition* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CP2P_VRAvatarPosition* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CP2P_VRAvatarPosition& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CP2P_VRAvatarPosition& from) { - CP2P_VRAvatarPosition::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CP2P_VRAvatarPosition* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CP2P_VRAvatarPosition"; - } - protected: - explicit CP2P_VRAvatarPosition(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CP2P_VRAvatarPosition_COrientation COrientation; - - // accessors ------------------------------------------------------- - - enum : int { - kBodyPartsFieldNumber = 1, - kHatIdFieldNumber = 2, - kSceneIdFieldNumber = 3, - kWorldScaleFieldNumber = 4, - }; - // repeated .CP2P_VRAvatarPosition.COrientation body_parts = 1; - int body_parts_size() const; - private: - int _internal_body_parts_size() const; - public: - void clear_body_parts(); - ::CP2P_VRAvatarPosition_COrientation* mutable_body_parts(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CP2P_VRAvatarPosition_COrientation >* - mutable_body_parts(); - private: - const ::CP2P_VRAvatarPosition_COrientation& _internal_body_parts(int index) const; - ::CP2P_VRAvatarPosition_COrientation* _internal_add_body_parts(); - public: - const ::CP2P_VRAvatarPosition_COrientation& body_parts(int index) const; - ::CP2P_VRAvatarPosition_COrientation* add_body_parts(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CP2P_VRAvatarPosition_COrientation >& - body_parts() const; - - // optional int32 hat_id = 2; - bool has_hat_id() const; - private: - bool _internal_has_hat_id() const; - public: - void clear_hat_id(); - int32_t hat_id() const; - void set_hat_id(int32_t value); - private: - int32_t _internal_hat_id() const; - void _internal_set_hat_id(int32_t value); - public: - - // optional int32 scene_id = 3; - bool has_scene_id() const; - private: - bool _internal_has_scene_id() const; - public: - void clear_scene_id(); - int32_t scene_id() const; - void set_scene_id(int32_t value); - private: - int32_t _internal_scene_id() const; - void _internal_set_scene_id(int32_t value); - public: - - // optional int32 world_scale = 4; - bool has_world_scale() const; - private: - bool _internal_has_world_scale() const; - public: - void clear_world_scale(); - int32_t world_scale() const; - void set_world_scale(int32_t value); - private: - int32_t _internal_world_scale() const; - void _internal_set_world_scale(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CP2P_VRAvatarPosition) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CP2P_VRAvatarPosition_COrientation > body_parts_; - int32_t hat_id_; - int32_t scene_id_; - int32_t world_scale_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_c_5fpeer2peer_5fnetmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CP2P_WatchSynchronization : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CP2P_WatchSynchronization) */ { - public: - inline CP2P_WatchSynchronization() : CP2P_WatchSynchronization(nullptr) {} - ~CP2P_WatchSynchronization() override; - explicit PROTOBUF_CONSTEXPR CP2P_WatchSynchronization(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CP2P_WatchSynchronization(const CP2P_WatchSynchronization& from); - CP2P_WatchSynchronization(CP2P_WatchSynchronization&& from) noexcept - : CP2P_WatchSynchronization() { - *this = ::std::move(from); - } - - inline CP2P_WatchSynchronization& operator=(const CP2P_WatchSynchronization& from) { - CopyFrom(from); - return *this; - } - inline CP2P_WatchSynchronization& operator=(CP2P_WatchSynchronization&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CP2P_WatchSynchronization& default_instance() { - return *internal_default_instance(); - } - static inline const CP2P_WatchSynchronization* internal_default_instance() { - return reinterpret_cast( - &_CP2P_WatchSynchronization_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CP2P_WatchSynchronization& a, CP2P_WatchSynchronization& b) { - a.Swap(&b); - } - inline void Swap(CP2P_WatchSynchronization* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CP2P_WatchSynchronization* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CP2P_WatchSynchronization* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CP2P_WatchSynchronization& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CP2P_WatchSynchronization& from) { - CP2P_WatchSynchronization::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CP2P_WatchSynchronization* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CP2P_WatchSynchronization"; - } - protected: - explicit CP2P_WatchSynchronization(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDemoTickFieldNumber = 1, - kPausedFieldNumber = 2, - kDotaSpectatorWatchingBroadcasterFieldNumber = 5, - kTvListenVoiceIndicesFieldNumber = 3, - kDotaSpectatorModeFieldNumber = 4, - kDotaSpectatorHeroIndexFieldNumber = 6, - kDotaSpectatorAutospeedFieldNumber = 7, - kDotaReplaySpeedFieldNumber = 8, - }; - // optional int32 demo_tick = 1; - bool has_demo_tick() const; - private: - bool _internal_has_demo_tick() const; - public: - void clear_demo_tick(); - int32_t demo_tick() const; - void set_demo_tick(int32_t value); - private: - int32_t _internal_demo_tick() const; - void _internal_set_demo_tick(int32_t value); - public: - - // optional bool paused = 2; - bool has_paused() const; - private: - bool _internal_has_paused() const; - public: - void clear_paused(); - bool paused() const; - void set_paused(bool value); - private: - bool _internal_paused() const; - void _internal_set_paused(bool value); - public: - - // optional bool dota_spectator_watching_broadcaster = 5; - bool has_dota_spectator_watching_broadcaster() const; - private: - bool _internal_has_dota_spectator_watching_broadcaster() const; - public: - void clear_dota_spectator_watching_broadcaster(); - bool dota_spectator_watching_broadcaster() const; - void set_dota_spectator_watching_broadcaster(bool value); - private: - bool _internal_dota_spectator_watching_broadcaster() const; - void _internal_set_dota_spectator_watching_broadcaster(bool value); - public: - - // optional uint64 tv_listen_voice_indices = 3; - bool has_tv_listen_voice_indices() const; - private: - bool _internal_has_tv_listen_voice_indices() const; - public: - void clear_tv_listen_voice_indices(); - uint64_t tv_listen_voice_indices() const; - void set_tv_listen_voice_indices(uint64_t value); - private: - uint64_t _internal_tv_listen_voice_indices() const; - void _internal_set_tv_listen_voice_indices(uint64_t value); - public: - - // optional int32 dota_spectator_mode = 4; - bool has_dota_spectator_mode() const; - private: - bool _internal_has_dota_spectator_mode() const; - public: - void clear_dota_spectator_mode(); - int32_t dota_spectator_mode() const; - void set_dota_spectator_mode(int32_t value); - private: - int32_t _internal_dota_spectator_mode() const; - void _internal_set_dota_spectator_mode(int32_t value); - public: - - // optional int32 dota_spectator_hero_index = 6; - bool has_dota_spectator_hero_index() const; - private: - bool _internal_has_dota_spectator_hero_index() const; - public: - void clear_dota_spectator_hero_index(); - int32_t dota_spectator_hero_index() const; - void set_dota_spectator_hero_index(int32_t value); - private: - int32_t _internal_dota_spectator_hero_index() const; - void _internal_set_dota_spectator_hero_index(int32_t value); - public: - - // optional int32 dota_spectator_autospeed = 7; - bool has_dota_spectator_autospeed() const; - private: - bool _internal_has_dota_spectator_autospeed() const; - public: - void clear_dota_spectator_autospeed(); - int32_t dota_spectator_autospeed() const; - void set_dota_spectator_autospeed(int32_t value); - private: - int32_t _internal_dota_spectator_autospeed() const; - void _internal_set_dota_spectator_autospeed(int32_t value); - public: - - // optional int32 dota_replay_speed = 8; - bool has_dota_replay_speed() const; - private: - bool _internal_has_dota_replay_speed() const; - public: - void clear_dota_replay_speed(); - int32_t dota_replay_speed() const; - void set_dota_replay_speed(int32_t value); - private: - int32_t _internal_dota_replay_speed() const; - void _internal_set_dota_replay_speed(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CP2P_WatchSynchronization) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t demo_tick_; - bool paused_; - bool dota_spectator_watching_broadcaster_; - uint64_t tv_listen_voice_indices_; - int32_t dota_spectator_mode_; - int32_t dota_spectator_hero_index_; - int32_t dota_spectator_autospeed_; - int32_t dota_replay_speed_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_c_5fpeer2peer_5fnetmessages_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CP2P_TextMessage - -// optional bytes text = 1; -inline bool CP2P_TextMessage::_internal_has_text() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CP2P_TextMessage::has_text() const { - return _internal_has_text(); -} -inline void CP2P_TextMessage::clear_text() { - _impl_.text_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CP2P_TextMessage::text() const { - // @@protoc_insertion_point(field_get:CP2P_TextMessage.text) - return _internal_text(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CP2P_TextMessage::set_text(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CP2P_TextMessage.text) -} -inline std::string* CP2P_TextMessage::mutable_text() { - std::string* _s = _internal_mutable_text(); - // @@protoc_insertion_point(field_mutable:CP2P_TextMessage.text) - return _s; -} -inline const std::string& CP2P_TextMessage::_internal_text() const { - return _impl_.text_.Get(); -} -inline void CP2P_TextMessage::_internal_set_text(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(value, GetArenaForAllocation()); -} -inline std::string* CP2P_TextMessage::_internal_mutable_text() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.text_.Mutable(GetArenaForAllocation()); -} -inline std::string* CP2P_TextMessage::release_text() { - // @@protoc_insertion_point(field_release:CP2P_TextMessage.text) - if (!_internal_has_text()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.text_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CP2P_TextMessage::set_allocated_text(std::string* text) { - if (text != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.text_.SetAllocated(text, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CP2P_TextMessage.text) -} - -// ------------------------------------------------------------------- - -// CSteam_Voice_Encoding - -// optional bytes voice_data = 1; -inline bool CSteam_Voice_Encoding::_internal_has_voice_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSteam_Voice_Encoding::has_voice_data() const { - return _internal_has_voice_data(); -} -inline void CSteam_Voice_Encoding::clear_voice_data() { - _impl_.voice_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSteam_Voice_Encoding::voice_data() const { - // @@protoc_insertion_point(field_get:CSteam_Voice_Encoding.voice_data) - return _internal_voice_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSteam_Voice_Encoding::set_voice_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.voice_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSteam_Voice_Encoding.voice_data) -} -inline std::string* CSteam_Voice_Encoding::mutable_voice_data() { - std::string* _s = _internal_mutable_voice_data(); - // @@protoc_insertion_point(field_mutable:CSteam_Voice_Encoding.voice_data) - return _s; -} -inline const std::string& CSteam_Voice_Encoding::_internal_voice_data() const { - return _impl_.voice_data_.Get(); -} -inline void CSteam_Voice_Encoding::_internal_set_voice_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.voice_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSteam_Voice_Encoding::_internal_mutable_voice_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.voice_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSteam_Voice_Encoding::release_voice_data() { - // @@protoc_insertion_point(field_release:CSteam_Voice_Encoding.voice_data) - if (!_internal_has_voice_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.voice_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.voice_data_.IsDefault()) { - _impl_.voice_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSteam_Voice_Encoding::set_allocated_voice_data(std::string* voice_data) { - if (voice_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.voice_data_.SetAllocated(voice_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.voice_data_.IsDefault()) { - _impl_.voice_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSteam_Voice_Encoding.voice_data) -} - -// ------------------------------------------------------------------- - -// CP2P_Voice - -// optional .CMsgVoiceAudio audio = 1; -inline bool CP2P_Voice::_internal_has_audio() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.audio_ != nullptr); - return value; -} -inline bool CP2P_Voice::has_audio() const { - return _internal_has_audio(); -} -inline const ::CMsgVoiceAudio& CP2P_Voice::_internal_audio() const { - const ::CMsgVoiceAudio* p = _impl_.audio_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVoiceAudio_default_instance_); -} -inline const ::CMsgVoiceAudio& CP2P_Voice::audio() const { - // @@protoc_insertion_point(field_get:CP2P_Voice.audio) - return _internal_audio(); -} -inline void CP2P_Voice::unsafe_arena_set_allocated_audio( - ::CMsgVoiceAudio* audio) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.audio_); - } - _impl_.audio_ = audio; - if (audio) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CP2P_Voice.audio) -} -inline ::CMsgVoiceAudio* CP2P_Voice::release_audio() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVoiceAudio* temp = _impl_.audio_; - _impl_.audio_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVoiceAudio* CP2P_Voice::unsafe_arena_release_audio() { - // @@protoc_insertion_point(field_release:CP2P_Voice.audio) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVoiceAudio* temp = _impl_.audio_; - _impl_.audio_ = nullptr; - return temp; -} -inline ::CMsgVoiceAudio* CP2P_Voice::_internal_mutable_audio() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.audio_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVoiceAudio>(GetArenaForAllocation()); - _impl_.audio_ = p; - } - return _impl_.audio_; -} -inline ::CMsgVoiceAudio* CP2P_Voice::mutable_audio() { - ::CMsgVoiceAudio* _msg = _internal_mutable_audio(); - // @@protoc_insertion_point(field_mutable:CP2P_Voice.audio) - return _msg; -} -inline void CP2P_Voice::set_allocated_audio(::CMsgVoiceAudio* audio) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.audio_); - } - if (audio) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(audio)); - if (message_arena != submessage_arena) { - audio = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, audio, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.audio_ = audio; - // @@protoc_insertion_point(field_set_allocated:CP2P_Voice.audio) -} - -// optional uint32 broadcast_group = 2; -inline bool CP2P_Voice::_internal_has_broadcast_group() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CP2P_Voice::has_broadcast_group() const { - return _internal_has_broadcast_group(); -} -inline void CP2P_Voice::clear_broadcast_group() { - _impl_.broadcast_group_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CP2P_Voice::_internal_broadcast_group() const { - return _impl_.broadcast_group_; -} -inline uint32_t CP2P_Voice::broadcast_group() const { - // @@protoc_insertion_point(field_get:CP2P_Voice.broadcast_group) - return _internal_broadcast_group(); -} -inline void CP2P_Voice::_internal_set_broadcast_group(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.broadcast_group_ = value; -} -inline void CP2P_Voice::set_broadcast_group(uint32_t value) { - _internal_set_broadcast_group(value); - // @@protoc_insertion_point(field_set:CP2P_Voice.broadcast_group) -} - -// ------------------------------------------------------------------- - -// CP2P_Ping - -// required uint64 send_time = 1; -inline bool CP2P_Ping::_internal_has_send_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CP2P_Ping::has_send_time() const { - return _internal_has_send_time(); -} -inline void CP2P_Ping::clear_send_time() { - _impl_.send_time_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CP2P_Ping::_internal_send_time() const { - return _impl_.send_time_; -} -inline uint64_t CP2P_Ping::send_time() const { - // @@protoc_insertion_point(field_get:CP2P_Ping.send_time) - return _internal_send_time(); -} -inline void CP2P_Ping::_internal_set_send_time(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.send_time_ = value; -} -inline void CP2P_Ping::set_send_time(uint64_t value) { - _internal_set_send_time(value); - // @@protoc_insertion_point(field_set:CP2P_Ping.send_time) -} - -// required bool is_reply = 2; -inline bool CP2P_Ping::_internal_has_is_reply() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CP2P_Ping::has_is_reply() const { - return _internal_has_is_reply(); -} -inline void CP2P_Ping::clear_is_reply() { - _impl_.is_reply_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CP2P_Ping::_internal_is_reply() const { - return _impl_.is_reply_; -} -inline bool CP2P_Ping::is_reply() const { - // @@protoc_insertion_point(field_get:CP2P_Ping.is_reply) - return _internal_is_reply(); -} -inline void CP2P_Ping::_internal_set_is_reply(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.is_reply_ = value; -} -inline void CP2P_Ping::set_is_reply(bool value) { - _internal_set_is_reply(value); - // @@protoc_insertion_point(field_set:CP2P_Ping.is_reply) -} - -// ------------------------------------------------------------------- - -// CP2P_VRAvatarPosition_COrientation - -// optional .CMsgVector pos = 1; -inline bool CP2P_VRAvatarPosition_COrientation::_internal_has_pos() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.pos_ != nullptr); - return value; -} -inline bool CP2P_VRAvatarPosition_COrientation::has_pos() const { - return _internal_has_pos(); -} -inline const ::CMsgVector& CP2P_VRAvatarPosition_COrientation::_internal_pos() const { - const ::CMsgVector* p = _impl_.pos_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CP2P_VRAvatarPosition_COrientation::pos() const { - // @@protoc_insertion_point(field_get:CP2P_VRAvatarPosition.COrientation.pos) - return _internal_pos(); -} -inline void CP2P_VRAvatarPosition_COrientation::unsafe_arena_set_allocated_pos( - ::CMsgVector* pos) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); - } - _impl_.pos_ = pos; - if (pos) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CP2P_VRAvatarPosition.COrientation.pos) -} -inline ::CMsgVector* CP2P_VRAvatarPosition_COrientation::release_pos() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.pos_; - _impl_.pos_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CP2P_VRAvatarPosition_COrientation::unsafe_arena_release_pos() { - // @@protoc_insertion_point(field_release:CP2P_VRAvatarPosition.COrientation.pos) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.pos_; - _impl_.pos_ = nullptr; - return temp; -} -inline ::CMsgVector* CP2P_VRAvatarPosition_COrientation::_internal_mutable_pos() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.pos_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.pos_ = p; - } - return _impl_.pos_; -} -inline ::CMsgVector* CP2P_VRAvatarPosition_COrientation::mutable_pos() { - ::CMsgVector* _msg = _internal_mutable_pos(); - // @@protoc_insertion_point(field_mutable:CP2P_VRAvatarPosition.COrientation.pos) - return _msg; -} -inline void CP2P_VRAvatarPosition_COrientation::set_allocated_pos(::CMsgVector* pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); - } - if (pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pos)); - if (message_arena != submessage_arena) { - pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, pos, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.pos_ = pos; - // @@protoc_insertion_point(field_set_allocated:CP2P_VRAvatarPosition.COrientation.pos) -} - -// optional .CMsgQAngle ang = 2; -inline bool CP2P_VRAvatarPosition_COrientation::_internal_has_ang() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.ang_ != nullptr); - return value; -} -inline bool CP2P_VRAvatarPosition_COrientation::has_ang() const { - return _internal_has_ang(); -} -inline const ::CMsgQAngle& CP2P_VRAvatarPosition_COrientation::_internal_ang() const { - const ::CMsgQAngle* p = _impl_.ang_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CP2P_VRAvatarPosition_COrientation::ang() const { - // @@protoc_insertion_point(field_get:CP2P_VRAvatarPosition.COrientation.ang) - return _internal_ang(); -} -inline void CP2P_VRAvatarPosition_COrientation::unsafe_arena_set_allocated_ang( - ::CMsgQAngle* ang) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ang_); - } - _impl_.ang_ = ang; - if (ang) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CP2P_VRAvatarPosition.COrientation.ang) -} -inline ::CMsgQAngle* CP2P_VRAvatarPosition_COrientation::release_ang() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQAngle* temp = _impl_.ang_; - _impl_.ang_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CP2P_VRAvatarPosition_COrientation::unsafe_arena_release_ang() { - // @@protoc_insertion_point(field_release:CP2P_VRAvatarPosition.COrientation.ang) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQAngle* temp = _impl_.ang_; - _impl_.ang_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CP2P_VRAvatarPosition_COrientation::_internal_mutable_ang() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.ang_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.ang_ = p; - } - return _impl_.ang_; -} -inline ::CMsgQAngle* CP2P_VRAvatarPosition_COrientation::mutable_ang() { - ::CMsgQAngle* _msg = _internal_mutable_ang(); - // @@protoc_insertion_point(field_mutable:CP2P_VRAvatarPosition.COrientation.ang) - return _msg; -} -inline void CP2P_VRAvatarPosition_COrientation::set_allocated_ang(::CMsgQAngle* ang) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ang_); - } - if (ang) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ang)); - if (message_arena != submessage_arena) { - ang = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, ang, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.ang_ = ang; - // @@protoc_insertion_point(field_set_allocated:CP2P_VRAvatarPosition.COrientation.ang) -} - -// ------------------------------------------------------------------- - -// CP2P_VRAvatarPosition - -// repeated .CP2P_VRAvatarPosition.COrientation body_parts = 1; -inline int CP2P_VRAvatarPosition::_internal_body_parts_size() const { - return _impl_.body_parts_.size(); -} -inline int CP2P_VRAvatarPosition::body_parts_size() const { - return _internal_body_parts_size(); -} -inline void CP2P_VRAvatarPosition::clear_body_parts() { - _impl_.body_parts_.Clear(); -} -inline ::CP2P_VRAvatarPosition_COrientation* CP2P_VRAvatarPosition::mutable_body_parts(int index) { - // @@protoc_insertion_point(field_mutable:CP2P_VRAvatarPosition.body_parts) - return _impl_.body_parts_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CP2P_VRAvatarPosition_COrientation >* -CP2P_VRAvatarPosition::mutable_body_parts() { - // @@protoc_insertion_point(field_mutable_list:CP2P_VRAvatarPosition.body_parts) - return &_impl_.body_parts_; -} -inline const ::CP2P_VRAvatarPosition_COrientation& CP2P_VRAvatarPosition::_internal_body_parts(int index) const { - return _impl_.body_parts_.Get(index); -} -inline const ::CP2P_VRAvatarPosition_COrientation& CP2P_VRAvatarPosition::body_parts(int index) const { - // @@protoc_insertion_point(field_get:CP2P_VRAvatarPosition.body_parts) - return _internal_body_parts(index); -} -inline ::CP2P_VRAvatarPosition_COrientation* CP2P_VRAvatarPosition::_internal_add_body_parts() { - return _impl_.body_parts_.Add(); -} -inline ::CP2P_VRAvatarPosition_COrientation* CP2P_VRAvatarPosition::add_body_parts() { - ::CP2P_VRAvatarPosition_COrientation* _add = _internal_add_body_parts(); - // @@protoc_insertion_point(field_add:CP2P_VRAvatarPosition.body_parts) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CP2P_VRAvatarPosition_COrientation >& -CP2P_VRAvatarPosition::body_parts() const { - // @@protoc_insertion_point(field_list:CP2P_VRAvatarPosition.body_parts) - return _impl_.body_parts_; -} - -// optional int32 hat_id = 2; -inline bool CP2P_VRAvatarPosition::_internal_has_hat_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CP2P_VRAvatarPosition::has_hat_id() const { - return _internal_has_hat_id(); -} -inline void CP2P_VRAvatarPosition::clear_hat_id() { - _impl_.hat_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CP2P_VRAvatarPosition::_internal_hat_id() const { - return _impl_.hat_id_; -} -inline int32_t CP2P_VRAvatarPosition::hat_id() const { - // @@protoc_insertion_point(field_get:CP2P_VRAvatarPosition.hat_id) - return _internal_hat_id(); -} -inline void CP2P_VRAvatarPosition::_internal_set_hat_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.hat_id_ = value; -} -inline void CP2P_VRAvatarPosition::set_hat_id(int32_t value) { - _internal_set_hat_id(value); - // @@protoc_insertion_point(field_set:CP2P_VRAvatarPosition.hat_id) -} - -// optional int32 scene_id = 3; -inline bool CP2P_VRAvatarPosition::_internal_has_scene_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CP2P_VRAvatarPosition::has_scene_id() const { - return _internal_has_scene_id(); -} -inline void CP2P_VRAvatarPosition::clear_scene_id() { - _impl_.scene_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CP2P_VRAvatarPosition::_internal_scene_id() const { - return _impl_.scene_id_; -} -inline int32_t CP2P_VRAvatarPosition::scene_id() const { - // @@protoc_insertion_point(field_get:CP2P_VRAvatarPosition.scene_id) - return _internal_scene_id(); -} -inline void CP2P_VRAvatarPosition::_internal_set_scene_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.scene_id_ = value; -} -inline void CP2P_VRAvatarPosition::set_scene_id(int32_t value) { - _internal_set_scene_id(value); - // @@protoc_insertion_point(field_set:CP2P_VRAvatarPosition.scene_id) -} - -// optional int32 world_scale = 4; -inline bool CP2P_VRAvatarPosition::_internal_has_world_scale() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CP2P_VRAvatarPosition::has_world_scale() const { - return _internal_has_world_scale(); -} -inline void CP2P_VRAvatarPosition::clear_world_scale() { - _impl_.world_scale_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CP2P_VRAvatarPosition::_internal_world_scale() const { - return _impl_.world_scale_; -} -inline int32_t CP2P_VRAvatarPosition::world_scale() const { - // @@protoc_insertion_point(field_get:CP2P_VRAvatarPosition.world_scale) - return _internal_world_scale(); -} -inline void CP2P_VRAvatarPosition::_internal_set_world_scale(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.world_scale_ = value; -} -inline void CP2P_VRAvatarPosition::set_world_scale(int32_t value) { - _internal_set_world_scale(value); - // @@protoc_insertion_point(field_set:CP2P_VRAvatarPosition.world_scale) -} - -// ------------------------------------------------------------------- - -// CP2P_WatchSynchronization - -// optional int32 demo_tick = 1; -inline bool CP2P_WatchSynchronization::_internal_has_demo_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CP2P_WatchSynchronization::has_demo_tick() const { - return _internal_has_demo_tick(); -} -inline void CP2P_WatchSynchronization::clear_demo_tick() { - _impl_.demo_tick_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CP2P_WatchSynchronization::_internal_demo_tick() const { - return _impl_.demo_tick_; -} -inline int32_t CP2P_WatchSynchronization::demo_tick() const { - // @@protoc_insertion_point(field_get:CP2P_WatchSynchronization.demo_tick) - return _internal_demo_tick(); -} -inline void CP2P_WatchSynchronization::_internal_set_demo_tick(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.demo_tick_ = value; -} -inline void CP2P_WatchSynchronization::set_demo_tick(int32_t value) { - _internal_set_demo_tick(value); - // @@protoc_insertion_point(field_set:CP2P_WatchSynchronization.demo_tick) -} - -// optional bool paused = 2; -inline bool CP2P_WatchSynchronization::_internal_has_paused() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CP2P_WatchSynchronization::has_paused() const { - return _internal_has_paused(); -} -inline void CP2P_WatchSynchronization::clear_paused() { - _impl_.paused_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CP2P_WatchSynchronization::_internal_paused() const { - return _impl_.paused_; -} -inline bool CP2P_WatchSynchronization::paused() const { - // @@protoc_insertion_point(field_get:CP2P_WatchSynchronization.paused) - return _internal_paused(); -} -inline void CP2P_WatchSynchronization::_internal_set_paused(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.paused_ = value; -} -inline void CP2P_WatchSynchronization::set_paused(bool value) { - _internal_set_paused(value); - // @@protoc_insertion_point(field_set:CP2P_WatchSynchronization.paused) -} - -// optional uint64 tv_listen_voice_indices = 3; -inline bool CP2P_WatchSynchronization::_internal_has_tv_listen_voice_indices() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CP2P_WatchSynchronization::has_tv_listen_voice_indices() const { - return _internal_has_tv_listen_voice_indices(); -} -inline void CP2P_WatchSynchronization::clear_tv_listen_voice_indices() { - _impl_.tv_listen_voice_indices_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CP2P_WatchSynchronization::_internal_tv_listen_voice_indices() const { - return _impl_.tv_listen_voice_indices_; -} -inline uint64_t CP2P_WatchSynchronization::tv_listen_voice_indices() const { - // @@protoc_insertion_point(field_get:CP2P_WatchSynchronization.tv_listen_voice_indices) - return _internal_tv_listen_voice_indices(); -} -inline void CP2P_WatchSynchronization::_internal_set_tv_listen_voice_indices(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.tv_listen_voice_indices_ = value; -} -inline void CP2P_WatchSynchronization::set_tv_listen_voice_indices(uint64_t value) { - _internal_set_tv_listen_voice_indices(value); - // @@protoc_insertion_point(field_set:CP2P_WatchSynchronization.tv_listen_voice_indices) -} - -// optional int32 dota_spectator_mode = 4; -inline bool CP2P_WatchSynchronization::_internal_has_dota_spectator_mode() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CP2P_WatchSynchronization::has_dota_spectator_mode() const { - return _internal_has_dota_spectator_mode(); -} -inline void CP2P_WatchSynchronization::clear_dota_spectator_mode() { - _impl_.dota_spectator_mode_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CP2P_WatchSynchronization::_internal_dota_spectator_mode() const { - return _impl_.dota_spectator_mode_; -} -inline int32_t CP2P_WatchSynchronization::dota_spectator_mode() const { - // @@protoc_insertion_point(field_get:CP2P_WatchSynchronization.dota_spectator_mode) - return _internal_dota_spectator_mode(); -} -inline void CP2P_WatchSynchronization::_internal_set_dota_spectator_mode(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.dota_spectator_mode_ = value; -} -inline void CP2P_WatchSynchronization::set_dota_spectator_mode(int32_t value) { - _internal_set_dota_spectator_mode(value); - // @@protoc_insertion_point(field_set:CP2P_WatchSynchronization.dota_spectator_mode) -} - -// optional bool dota_spectator_watching_broadcaster = 5; -inline bool CP2P_WatchSynchronization::_internal_has_dota_spectator_watching_broadcaster() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CP2P_WatchSynchronization::has_dota_spectator_watching_broadcaster() const { - return _internal_has_dota_spectator_watching_broadcaster(); -} -inline void CP2P_WatchSynchronization::clear_dota_spectator_watching_broadcaster() { - _impl_.dota_spectator_watching_broadcaster_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CP2P_WatchSynchronization::_internal_dota_spectator_watching_broadcaster() const { - return _impl_.dota_spectator_watching_broadcaster_; -} -inline bool CP2P_WatchSynchronization::dota_spectator_watching_broadcaster() const { - // @@protoc_insertion_point(field_get:CP2P_WatchSynchronization.dota_spectator_watching_broadcaster) - return _internal_dota_spectator_watching_broadcaster(); -} -inline void CP2P_WatchSynchronization::_internal_set_dota_spectator_watching_broadcaster(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.dota_spectator_watching_broadcaster_ = value; -} -inline void CP2P_WatchSynchronization::set_dota_spectator_watching_broadcaster(bool value) { - _internal_set_dota_spectator_watching_broadcaster(value); - // @@protoc_insertion_point(field_set:CP2P_WatchSynchronization.dota_spectator_watching_broadcaster) -} - -// optional int32 dota_spectator_hero_index = 6; -inline bool CP2P_WatchSynchronization::_internal_has_dota_spectator_hero_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CP2P_WatchSynchronization::has_dota_spectator_hero_index() const { - return _internal_has_dota_spectator_hero_index(); -} -inline void CP2P_WatchSynchronization::clear_dota_spectator_hero_index() { - _impl_.dota_spectator_hero_index_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CP2P_WatchSynchronization::_internal_dota_spectator_hero_index() const { - return _impl_.dota_spectator_hero_index_; -} -inline int32_t CP2P_WatchSynchronization::dota_spectator_hero_index() const { - // @@protoc_insertion_point(field_get:CP2P_WatchSynchronization.dota_spectator_hero_index) - return _internal_dota_spectator_hero_index(); -} -inline void CP2P_WatchSynchronization::_internal_set_dota_spectator_hero_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.dota_spectator_hero_index_ = value; -} -inline void CP2P_WatchSynchronization::set_dota_spectator_hero_index(int32_t value) { - _internal_set_dota_spectator_hero_index(value); - // @@protoc_insertion_point(field_set:CP2P_WatchSynchronization.dota_spectator_hero_index) -} - -// optional int32 dota_spectator_autospeed = 7; -inline bool CP2P_WatchSynchronization::_internal_has_dota_spectator_autospeed() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CP2P_WatchSynchronization::has_dota_spectator_autospeed() const { - return _internal_has_dota_spectator_autospeed(); -} -inline void CP2P_WatchSynchronization::clear_dota_spectator_autospeed() { - _impl_.dota_spectator_autospeed_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CP2P_WatchSynchronization::_internal_dota_spectator_autospeed() const { - return _impl_.dota_spectator_autospeed_; -} -inline int32_t CP2P_WatchSynchronization::dota_spectator_autospeed() const { - // @@protoc_insertion_point(field_get:CP2P_WatchSynchronization.dota_spectator_autospeed) - return _internal_dota_spectator_autospeed(); -} -inline void CP2P_WatchSynchronization::_internal_set_dota_spectator_autospeed(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.dota_spectator_autospeed_ = value; -} -inline void CP2P_WatchSynchronization::set_dota_spectator_autospeed(int32_t value) { - _internal_set_dota_spectator_autospeed(value); - // @@protoc_insertion_point(field_set:CP2P_WatchSynchronization.dota_spectator_autospeed) -} - -// optional int32 dota_replay_speed = 8; -inline bool CP2P_WatchSynchronization::_internal_has_dota_replay_speed() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CP2P_WatchSynchronization::has_dota_replay_speed() const { - return _internal_has_dota_replay_speed(); -} -inline void CP2P_WatchSynchronization::clear_dota_replay_speed() { - _impl_.dota_replay_speed_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t CP2P_WatchSynchronization::_internal_dota_replay_speed() const { - return _impl_.dota_replay_speed_; -} -inline int32_t CP2P_WatchSynchronization::dota_replay_speed() const { - // @@protoc_insertion_point(field_get:CP2P_WatchSynchronization.dota_replay_speed) - return _internal_dota_replay_speed(); -} -inline void CP2P_WatchSynchronization::_internal_set_dota_replay_speed(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.dota_replay_speed_ = value; -} -inline void CP2P_WatchSynchronization::set_dota_replay_speed(int32_t value) { - _internal_set_dota_replay_speed(value); - // @@protoc_insertion_point(field_set:CP2P_WatchSynchronization.dota_replay_speed) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::CP2P_Voice_Handler_Flags> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::CP2P_Voice_Handler_Flags>() { - return ::CP2P_Voice_Handler_Flags_descriptor(); -} -template <> struct is_proto_enum< ::P2P_Messages> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::P2P_Messages>() { - return ::P2P_Messages_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_c_5fpeer2peer_5fnetmessages_2eproto diff --git a/protobuf/generated/clientmessages.pb.cc b/protobuf/generated/clientmessages.pb.cc deleted file mode 100644 index 6757c3e9d..000000000 --- a/protobuf/generated/clientmessages.pb.cc +++ /dev/null @@ -1,2154 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: clientmessages.proto - -#include "clientmessages.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CClientMsg_CustomGameEvent::CClientMsg_CustomGameEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.event_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CClientMsg_CustomGameEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CClientMsg_CustomGameEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CClientMsg_CustomGameEventDefaultTypeInternal() {} - union { - CClientMsg_CustomGameEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CClientMsg_CustomGameEventDefaultTypeInternal _CClientMsg_CustomGameEvent_default_instance_; -PROTOBUF_CONSTEXPR CClientMsg_CustomGameEventBounce::CClientMsg_CustomGameEventBounce( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.event_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.player_slot_)*/-1} {} -struct CClientMsg_CustomGameEventBounceDefaultTypeInternal { - PROTOBUF_CONSTEXPR CClientMsg_CustomGameEventBounceDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CClientMsg_CustomGameEventBounceDefaultTypeInternal() {} - union { - CClientMsg_CustomGameEventBounce _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CClientMsg_CustomGameEventBounceDefaultTypeInternal _CClientMsg_CustomGameEventBounce_default_instance_; -PROTOBUF_CONSTEXPR CClientMsg_ClientUIEvent::CClientMsg_ClientUIEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data1_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.data2_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.event_)*/0 - , /*decltype(_impl_.ent_ehandle_)*/0u - , /*decltype(_impl_.client_ehandle_)*/0u} {} -struct CClientMsg_ClientUIEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CClientMsg_ClientUIEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CClientMsg_ClientUIEventDefaultTypeInternal() {} - union { - CClientMsg_ClientUIEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CClientMsg_ClientUIEventDefaultTypeInternal _CClientMsg_ClientUIEvent_default_instance_; -PROTOBUF_CONSTEXPR CClientMsg_DevPaletteVisibilityChangedEvent::CClientMsg_DevPaletteVisibilityChangedEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.visible_)*/false} {} -struct CClientMsg_DevPaletteVisibilityChangedEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CClientMsg_DevPaletteVisibilityChangedEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CClientMsg_DevPaletteVisibilityChangedEventDefaultTypeInternal() {} - union { - CClientMsg_DevPaletteVisibilityChangedEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CClientMsg_DevPaletteVisibilityChangedEventDefaultTypeInternal _CClientMsg_DevPaletteVisibilityChangedEvent_default_instance_; -PROTOBUF_CONSTEXPR CClientMsg_WorldUIControllerHasPanelChangedEvent::CClientMsg_WorldUIControllerHasPanelChangedEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.has_panel_)*/false - , /*decltype(_impl_.client_ehandle_)*/0u - , /*decltype(_impl_.literal_hand_type_)*/0u} {} -struct CClientMsg_WorldUIControllerHasPanelChangedEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CClientMsg_WorldUIControllerHasPanelChangedEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CClientMsg_WorldUIControllerHasPanelChangedEventDefaultTypeInternal() {} - union { - CClientMsg_WorldUIControllerHasPanelChangedEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CClientMsg_WorldUIControllerHasPanelChangedEventDefaultTypeInternal _CClientMsg_WorldUIControllerHasPanelChangedEvent_default_instance_; -PROTOBUF_CONSTEXPR CClientMsg_RotateAnchor::CClientMsg_RotateAnchor( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.angle_)*/0} {} -struct CClientMsg_RotateAnchorDefaultTypeInternal { - PROTOBUF_CONSTEXPR CClientMsg_RotateAnchorDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CClientMsg_RotateAnchorDefaultTypeInternal() {} - union { - CClientMsg_RotateAnchor _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CClientMsg_RotateAnchorDefaultTypeInternal _CClientMsg_RotateAnchor_default_instance_; -PROTOBUF_CONSTEXPR CClientMsg_ListenForResponseFound::CClientMsg_ListenForResponseFound( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.player_slot_)*/-1} {} -struct CClientMsg_ListenForResponseFoundDefaultTypeInternal { - PROTOBUF_CONSTEXPR CClientMsg_ListenForResponseFoundDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CClientMsg_ListenForResponseFoundDefaultTypeInternal() {} - union { - CClientMsg_ListenForResponseFound _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CClientMsg_ListenForResponseFoundDefaultTypeInternal _CClientMsg_ListenForResponseFound_default_instance_; -static ::_pb::Metadata file_level_metadata_clientmessages_2eproto[7]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_clientmessages_2eproto[2]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_clientmessages_2eproto = nullptr; - -const uint32_t TableStruct_clientmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CClientMsg_CustomGameEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CClientMsg_CustomGameEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CClientMsg_CustomGameEvent, _impl_.event_name_), - PROTOBUF_FIELD_OFFSET(::CClientMsg_CustomGameEvent, _impl_.data_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CClientMsg_CustomGameEventBounce, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CClientMsg_CustomGameEventBounce, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CClientMsg_CustomGameEventBounce, _impl_.event_name_), - PROTOBUF_FIELD_OFFSET(::CClientMsg_CustomGameEventBounce, _impl_.data_), - PROTOBUF_FIELD_OFFSET(::CClientMsg_CustomGameEventBounce, _impl_.player_slot_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CClientMsg_ClientUIEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CClientMsg_ClientUIEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CClientMsg_ClientUIEvent, _impl_.event_), - PROTOBUF_FIELD_OFFSET(::CClientMsg_ClientUIEvent, _impl_.ent_ehandle_), - PROTOBUF_FIELD_OFFSET(::CClientMsg_ClientUIEvent, _impl_.client_ehandle_), - PROTOBUF_FIELD_OFFSET(::CClientMsg_ClientUIEvent, _impl_.data1_), - PROTOBUF_FIELD_OFFSET(::CClientMsg_ClientUIEvent, _impl_.data2_), - 2, - 3, - 4, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CClientMsg_DevPaletteVisibilityChangedEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CClientMsg_DevPaletteVisibilityChangedEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CClientMsg_DevPaletteVisibilityChangedEvent, _impl_.visible_), - 0, - PROTOBUF_FIELD_OFFSET(::CClientMsg_WorldUIControllerHasPanelChangedEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CClientMsg_WorldUIControllerHasPanelChangedEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CClientMsg_WorldUIControllerHasPanelChangedEvent, _impl_.has_panel_), - PROTOBUF_FIELD_OFFSET(::CClientMsg_WorldUIControllerHasPanelChangedEvent, _impl_.client_ehandle_), - PROTOBUF_FIELD_OFFSET(::CClientMsg_WorldUIControllerHasPanelChangedEvent, _impl_.literal_hand_type_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CClientMsg_RotateAnchor, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CClientMsg_RotateAnchor, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CClientMsg_RotateAnchor, _impl_.angle_), - 0, - PROTOBUF_FIELD_OFFSET(::CClientMsg_ListenForResponseFound, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CClientMsg_ListenForResponseFound, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CClientMsg_ListenForResponseFound, _impl_.player_slot_), - 0, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 8, -1, sizeof(::CClientMsg_CustomGameEvent)}, - { 10, 19, -1, sizeof(::CClientMsg_CustomGameEventBounce)}, - { 22, 33, -1, sizeof(::CClientMsg_ClientUIEvent)}, - { 38, 45, -1, sizeof(::CClientMsg_DevPaletteVisibilityChangedEvent)}, - { 46, 55, -1, sizeof(::CClientMsg_WorldUIControllerHasPanelChangedEvent)}, - { 58, 65, -1, sizeof(::CClientMsg_RotateAnchor)}, - { 66, 73, -1, sizeof(::CClientMsg_ListenForResponseFound)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CClientMsg_CustomGameEvent_default_instance_._instance, - &::_CClientMsg_CustomGameEventBounce_default_instance_._instance, - &::_CClientMsg_ClientUIEvent_default_instance_._instance, - &::_CClientMsg_DevPaletteVisibilityChangedEvent_default_instance_._instance, - &::_CClientMsg_WorldUIControllerHasPanelChangedEvent_default_instance_._instance, - &::_CClientMsg_RotateAnchor_default_instance_._instance, - &::_CClientMsg_ListenForResponseFound_default_instance_._instance, -}; - -const char descriptor_table_protodef_clientmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\024clientmessages.proto\">\n\032CClientMsg_Cus" - "tomGameEvent\022\022\n\nevent_name\030\001 \001(\t\022\014\n\004data" - "\030\002 \001(\014\"]\n CClientMsg_CustomGameEventBoun" - "ce\022\022\n\nevent_name\030\001 \001(\t\022\014\n\004data\030\002 \001(\014\022\027\n\013" - "player_slot\030\003 \001(\005:\002-1\"\235\001\n\030CClientMsg_Cli" - "entUIEvent\0226\n\005event\030\001 \001(\0162\017.EClientUIEve" - "nt:\026EClientUIEvent_Invalid\022\023\n\013ent_ehandl" - "e\030\002 \001(\r\022\026\n\016client_ehandle\030\003 \001(\r\022\r\n\005data1" - "\030\004 \001(\t\022\r\n\005data2\030\005 \001(\t\">\n+CClientMsg_DevP" - "aletteVisibilityChangedEvent\022\017\n\007visible\030" - "\001 \001(\010\"x\n0CClientMsg_WorldUIControllerHas" - "PanelChangedEvent\022\021\n\thas_panel\030\001 \001(\010\022\026\n\016" - "client_ehandle\030\002 \001(\r\022\031\n\021literal_hand_typ" - "e\030\003 \001(\r\"(\n\027CClientMsg_RotateAnchor\022\r\n\005an" - "gle\030\001 \001(\002\"<\n!CClientMsg_ListenForRespons" - "eFound\022\027\n\013player_slot\030\001 \001(\005:\002-1*\373\001\n\023EBas" - "eClientMessages\022\027\n\022CM_CustomGameEvent\020\230\002" - "\022\035\n\030CM_CustomGameEventBounce\020\231\002\022\025\n\020CM_Cl" - "ientUIEvent\020\232\002\022#\n\036CM_DevPaletteVisibilit" - "yChanged\020\233\002\022(\n#CM_WorldUIControllerHasPa" - "nelChanged\020\234\002\022\024\n\017CM_RotateAnchor\020\235\002\022\036\n\031C" - "M_ListenForResponseFound\020\236\002\022\020\n\013CM_MAX_BA" - "SE\020\254\002*n\n\016EClientUIEvent\022\032\n\026EClientUIEven" - "t_Invalid\020\000\022!\n\035EClientUIEvent_DialogFini" - "shed\020\001\022\035\n\031EClientUIEvent_FireOutput\020\002" - ; -static ::_pbi::once_flag descriptor_table_clientmessages_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_clientmessages_2eproto = { - false, false, 997, descriptor_table_protodef_clientmessages_2eproto, - "clientmessages.proto", - &descriptor_table_clientmessages_2eproto_once, nullptr, 0, 7, - schemas, file_default_instances, TableStruct_clientmessages_2eproto::offsets, - file_level_metadata_clientmessages_2eproto, file_level_enum_descriptors_clientmessages_2eproto, - file_level_service_descriptors_clientmessages_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_clientmessages_2eproto_getter() { - return &descriptor_table_clientmessages_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_clientmessages_2eproto(&descriptor_table_clientmessages_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBaseClientMessages_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_clientmessages_2eproto); - return file_level_enum_descriptors_clientmessages_2eproto[0]; -} -bool EBaseClientMessages_IsValid(int value) { - switch (value) { - case 280: - case 281: - case 282: - case 283: - case 284: - case 285: - case 286: - case 300: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EClientUIEvent_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_clientmessages_2eproto); - return file_level_enum_descriptors_clientmessages_2eproto[1]; -} -bool EClientUIEvent_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CClientMsg_CustomGameEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_event_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CClientMsg_CustomGameEvent::CClientMsg_CustomGameEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CClientMsg_CustomGameEvent) -} -CClientMsg_CustomGameEvent::CClientMsg_CustomGameEvent(const CClientMsg_CustomGameEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CClientMsg_CustomGameEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.event_name_){} - , decltype(_impl_.data_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.event_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_event_name()) { - _this->_impl_.event_name_.Set(from._internal_event_name(), - _this->GetArenaForAllocation()); - } - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CClientMsg_CustomGameEvent) -} - -inline void CClientMsg_CustomGameEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.event_name_){} - , decltype(_impl_.data_){} - }; - _impl_.event_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CClientMsg_CustomGameEvent::~CClientMsg_CustomGameEvent() { - // @@protoc_insertion_point(destructor:CClientMsg_CustomGameEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CClientMsg_CustomGameEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.event_name_.Destroy(); - _impl_.data_.Destroy(); -} - -void CClientMsg_CustomGameEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CClientMsg_CustomGameEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CClientMsg_CustomGameEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.event_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CClientMsg_CustomGameEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string event_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_event_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CClientMsg_CustomGameEvent.event_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bytes data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CClientMsg_CustomGameEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CClientMsg_CustomGameEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string event_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_event_name().data(), static_cast(this->_internal_event_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CClientMsg_CustomGameEvent.event_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_event_name(), target); - } - - // optional bytes data = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CClientMsg_CustomGameEvent) - return target; -} - -size_t CClientMsg_CustomGameEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CClientMsg_CustomGameEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string event_name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_event_name()); - } - - // optional bytes data = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CClientMsg_CustomGameEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CClientMsg_CustomGameEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CClientMsg_CustomGameEvent::GetClassData() const { return &_class_data_; } - - -void CClientMsg_CustomGameEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CClientMsg_CustomGameEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_event_name(from._internal_event_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_data(from._internal_data()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CClientMsg_CustomGameEvent::CopyFrom(const CClientMsg_CustomGameEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CClientMsg_CustomGameEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CClientMsg_CustomGameEvent::IsInitialized() const { - return true; -} - -void CClientMsg_CustomGameEvent::InternalSwap(CClientMsg_CustomGameEvent* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.event_name_, lhs_arena, - &other->_impl_.event_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CClientMsg_CustomGameEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_clientmessages_2eproto_getter, &descriptor_table_clientmessages_2eproto_once, - file_level_metadata_clientmessages_2eproto[0]); -} - -// =================================================================== - -class CClientMsg_CustomGameEventBounce::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_event_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_player_slot(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CClientMsg_CustomGameEventBounce::CClientMsg_CustomGameEventBounce(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CClientMsg_CustomGameEventBounce) -} -CClientMsg_CustomGameEventBounce::CClientMsg_CustomGameEventBounce(const CClientMsg_CustomGameEventBounce& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CClientMsg_CustomGameEventBounce* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.event_name_){} - , decltype(_impl_.data_){} - , decltype(_impl_.player_slot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.event_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_event_name()) { - _this->_impl_.event_name_.Set(from._internal_event_name(), - _this->GetArenaForAllocation()); - } - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - _this->_impl_.player_slot_ = from._impl_.player_slot_; - // @@protoc_insertion_point(copy_constructor:CClientMsg_CustomGameEventBounce) -} - -inline void CClientMsg_CustomGameEventBounce::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.event_name_){} - , decltype(_impl_.data_){} - , decltype(_impl_.player_slot_){-1} - }; - _impl_.event_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CClientMsg_CustomGameEventBounce::~CClientMsg_CustomGameEventBounce() { - // @@protoc_insertion_point(destructor:CClientMsg_CustomGameEventBounce) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CClientMsg_CustomGameEventBounce::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.event_name_.Destroy(); - _impl_.data_.Destroy(); -} - -void CClientMsg_CustomGameEventBounce::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CClientMsg_CustomGameEventBounce::Clear() { -// @@protoc_insertion_point(message_clear_start:CClientMsg_CustomGameEventBounce) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.event_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - _impl_.player_slot_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CClientMsg_CustomGameEventBounce::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string event_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_event_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CClientMsg_CustomGameEventBounce.event_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bytes data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 player_slot = 3 [default = -1]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_player_slot(&has_bits); - _impl_.player_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CClientMsg_CustomGameEventBounce::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CClientMsg_CustomGameEventBounce) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string event_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_event_name().data(), static_cast(this->_internal_event_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CClientMsg_CustomGameEventBounce.event_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_event_name(), target); - } - - // optional bytes data = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_data(), target); - } - - // optional int32 player_slot = 3 [default = -1]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_player_slot(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CClientMsg_CustomGameEventBounce) - return target; -} - -size_t CClientMsg_CustomGameEventBounce::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CClientMsg_CustomGameEventBounce) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string event_name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_event_name()); - } - - // optional bytes data = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - // optional int32 player_slot = 3 [default = -1]; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_slot()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CClientMsg_CustomGameEventBounce::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CClientMsg_CustomGameEventBounce::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CClientMsg_CustomGameEventBounce::GetClassData() const { return &_class_data_; } - - -void CClientMsg_CustomGameEventBounce::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CClientMsg_CustomGameEventBounce) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_event_name(from._internal_event_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_data(from._internal_data()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.player_slot_ = from._impl_.player_slot_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CClientMsg_CustomGameEventBounce::CopyFrom(const CClientMsg_CustomGameEventBounce& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CClientMsg_CustomGameEventBounce) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CClientMsg_CustomGameEventBounce::IsInitialized() const { - return true; -} - -void CClientMsg_CustomGameEventBounce::InternalSwap(CClientMsg_CustomGameEventBounce* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.event_name_, lhs_arena, - &other->_impl_.event_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); - swap(_impl_.player_slot_, other->_impl_.player_slot_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CClientMsg_CustomGameEventBounce::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_clientmessages_2eproto_getter, &descriptor_table_clientmessages_2eproto_once, - file_level_metadata_clientmessages_2eproto[1]); -} - -// =================================================================== - -class CClientMsg_ClientUIEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_event(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_ent_ehandle(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_client_ehandle(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_data1(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_data2(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CClientMsg_ClientUIEvent::CClientMsg_ClientUIEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CClientMsg_ClientUIEvent) -} -CClientMsg_ClientUIEvent::CClientMsg_ClientUIEvent(const CClientMsg_ClientUIEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CClientMsg_ClientUIEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data1_){} - , decltype(_impl_.data2_){} - , decltype(_impl_.event_){} - , decltype(_impl_.ent_ehandle_){} - , decltype(_impl_.client_ehandle_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.data1_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data1_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data1()) { - _this->_impl_.data1_.Set(from._internal_data1(), - _this->GetArenaForAllocation()); - } - _impl_.data2_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data2_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data2()) { - _this->_impl_.data2_.Set(from._internal_data2(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.event_, &from._impl_.event_, - static_cast(reinterpret_cast(&_impl_.client_ehandle_) - - reinterpret_cast(&_impl_.event_)) + sizeof(_impl_.client_ehandle_)); - // @@protoc_insertion_point(copy_constructor:CClientMsg_ClientUIEvent) -} - -inline void CClientMsg_ClientUIEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data1_){} - , decltype(_impl_.data2_){} - , decltype(_impl_.event_){0} - , decltype(_impl_.ent_ehandle_){0u} - , decltype(_impl_.client_ehandle_){0u} - }; - _impl_.data1_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data1_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data2_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data2_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CClientMsg_ClientUIEvent::~CClientMsg_ClientUIEvent() { - // @@protoc_insertion_point(destructor:CClientMsg_ClientUIEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CClientMsg_ClientUIEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data1_.Destroy(); - _impl_.data2_.Destroy(); -} - -void CClientMsg_ClientUIEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CClientMsg_ClientUIEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CClientMsg_ClientUIEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.data1_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.data2_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000001cu) { - ::memset(&_impl_.event_, 0, static_cast( - reinterpret_cast(&_impl_.client_ehandle_) - - reinterpret_cast(&_impl_.event_)) + sizeof(_impl_.client_ehandle_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CClientMsg_ClientUIEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .EClientUIEvent event = 1 [default = EClientUIEvent_Invalid]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::EClientUIEvent_IsValid(val))) { - _internal_set_event(static_cast<::EClientUIEvent>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional uint32 ent_ehandle = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_ent_ehandle(&has_bits); - _impl_.ent_ehandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 client_ehandle = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_client_ehandle(&has_bits); - _impl_.client_ehandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string data1 = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_data1(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CClientMsg_ClientUIEvent.data1"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string data2 = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_data2(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CClientMsg_ClientUIEvent.data2"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CClientMsg_ClientUIEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CClientMsg_ClientUIEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .EClientUIEvent event = 1 [default = EClientUIEvent_Invalid]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_event(), target); - } - - // optional uint32 ent_ehandle = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_ent_ehandle(), target); - } - - // optional uint32 client_ehandle = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_client_ehandle(), target); - } - - // optional string data1 = 4; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_data1().data(), static_cast(this->_internal_data1().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CClientMsg_ClientUIEvent.data1"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_data1(), target); - } - - // optional string data2 = 5; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_data2().data(), static_cast(this->_internal_data2().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CClientMsg_ClientUIEvent.data2"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_data2(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CClientMsg_ClientUIEvent) - return target; -} - -size_t CClientMsg_ClientUIEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CClientMsg_ClientUIEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional string data1 = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_data1()); - } - - // optional string data2 = 5; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_data2()); - } - - // optional .EClientUIEvent event = 1 [default = EClientUIEvent_Invalid]; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_event()); - } - - // optional uint32 ent_ehandle = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ent_ehandle()); - } - - // optional uint32 client_ehandle = 3; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_ehandle()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CClientMsg_ClientUIEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CClientMsg_ClientUIEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CClientMsg_ClientUIEvent::GetClassData() const { return &_class_data_; } - - -void CClientMsg_ClientUIEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CClientMsg_ClientUIEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_data1(from._internal_data1()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_data2(from._internal_data2()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.event_ = from._impl_.event_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.ent_ehandle_ = from._impl_.ent_ehandle_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.client_ehandle_ = from._impl_.client_ehandle_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CClientMsg_ClientUIEvent::CopyFrom(const CClientMsg_ClientUIEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CClientMsg_ClientUIEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CClientMsg_ClientUIEvent::IsInitialized() const { - return true; -} - -void CClientMsg_ClientUIEvent::InternalSwap(CClientMsg_ClientUIEvent* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data1_, lhs_arena, - &other->_impl_.data1_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data2_, lhs_arena, - &other->_impl_.data2_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CClientMsg_ClientUIEvent, _impl_.client_ehandle_) - + sizeof(CClientMsg_ClientUIEvent::_impl_.client_ehandle_) - - PROTOBUF_FIELD_OFFSET(CClientMsg_ClientUIEvent, _impl_.event_)>( - reinterpret_cast(&_impl_.event_), - reinterpret_cast(&other->_impl_.event_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CClientMsg_ClientUIEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_clientmessages_2eproto_getter, &descriptor_table_clientmessages_2eproto_once, - file_level_metadata_clientmessages_2eproto[2]); -} - -// =================================================================== - -class CClientMsg_DevPaletteVisibilityChangedEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_visible(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CClientMsg_DevPaletteVisibilityChangedEvent::CClientMsg_DevPaletteVisibilityChangedEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CClientMsg_DevPaletteVisibilityChangedEvent) -} -CClientMsg_DevPaletteVisibilityChangedEvent::CClientMsg_DevPaletteVisibilityChangedEvent(const CClientMsg_DevPaletteVisibilityChangedEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CClientMsg_DevPaletteVisibilityChangedEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.visible_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.visible_ = from._impl_.visible_; - // @@protoc_insertion_point(copy_constructor:CClientMsg_DevPaletteVisibilityChangedEvent) -} - -inline void CClientMsg_DevPaletteVisibilityChangedEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.visible_){false} - }; -} - -CClientMsg_DevPaletteVisibilityChangedEvent::~CClientMsg_DevPaletteVisibilityChangedEvent() { - // @@protoc_insertion_point(destructor:CClientMsg_DevPaletteVisibilityChangedEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CClientMsg_DevPaletteVisibilityChangedEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CClientMsg_DevPaletteVisibilityChangedEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CClientMsg_DevPaletteVisibilityChangedEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CClientMsg_DevPaletteVisibilityChangedEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.visible_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CClientMsg_DevPaletteVisibilityChangedEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool visible = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_visible(&has_bits); - _impl_.visible_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CClientMsg_DevPaletteVisibilityChangedEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CClientMsg_DevPaletteVisibilityChangedEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool visible = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_visible(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CClientMsg_DevPaletteVisibilityChangedEvent) - return target; -} - -size_t CClientMsg_DevPaletteVisibilityChangedEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CClientMsg_DevPaletteVisibilityChangedEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bool visible = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CClientMsg_DevPaletteVisibilityChangedEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CClientMsg_DevPaletteVisibilityChangedEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CClientMsg_DevPaletteVisibilityChangedEvent::GetClassData() const { return &_class_data_; } - - -void CClientMsg_DevPaletteVisibilityChangedEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CClientMsg_DevPaletteVisibilityChangedEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_visible()) { - _this->_internal_set_visible(from._internal_visible()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CClientMsg_DevPaletteVisibilityChangedEvent::CopyFrom(const CClientMsg_DevPaletteVisibilityChangedEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CClientMsg_DevPaletteVisibilityChangedEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CClientMsg_DevPaletteVisibilityChangedEvent::IsInitialized() const { - return true; -} - -void CClientMsg_DevPaletteVisibilityChangedEvent::InternalSwap(CClientMsg_DevPaletteVisibilityChangedEvent* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.visible_, other->_impl_.visible_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CClientMsg_DevPaletteVisibilityChangedEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_clientmessages_2eproto_getter, &descriptor_table_clientmessages_2eproto_once, - file_level_metadata_clientmessages_2eproto[3]); -} - -// =================================================================== - -class CClientMsg_WorldUIControllerHasPanelChangedEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_has_panel(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_client_ehandle(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_literal_hand_type(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CClientMsg_WorldUIControllerHasPanelChangedEvent::CClientMsg_WorldUIControllerHasPanelChangedEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CClientMsg_WorldUIControllerHasPanelChangedEvent) -} -CClientMsg_WorldUIControllerHasPanelChangedEvent::CClientMsg_WorldUIControllerHasPanelChangedEvent(const CClientMsg_WorldUIControllerHasPanelChangedEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CClientMsg_WorldUIControllerHasPanelChangedEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.has_panel_){} - , decltype(_impl_.client_ehandle_){} - , decltype(_impl_.literal_hand_type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.has_panel_, &from._impl_.has_panel_, - static_cast(reinterpret_cast(&_impl_.literal_hand_type_) - - reinterpret_cast(&_impl_.has_panel_)) + sizeof(_impl_.literal_hand_type_)); - // @@protoc_insertion_point(copy_constructor:CClientMsg_WorldUIControllerHasPanelChangedEvent) -} - -inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.has_panel_){false} - , decltype(_impl_.client_ehandle_){0u} - , decltype(_impl_.literal_hand_type_){0u} - }; -} - -CClientMsg_WorldUIControllerHasPanelChangedEvent::~CClientMsg_WorldUIControllerHasPanelChangedEvent() { - // @@protoc_insertion_point(destructor:CClientMsg_WorldUIControllerHasPanelChangedEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CClientMsg_WorldUIControllerHasPanelChangedEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CClientMsg_WorldUIControllerHasPanelChangedEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CClientMsg_WorldUIControllerHasPanelChangedEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.has_panel_, 0, static_cast( - reinterpret_cast(&_impl_.literal_hand_type_) - - reinterpret_cast(&_impl_.has_panel_)) + sizeof(_impl_.literal_hand_type_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CClientMsg_WorldUIControllerHasPanelChangedEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool has_panel = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_has_panel(&has_bits); - _impl_.has_panel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 client_ehandle = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_client_ehandle(&has_bits); - _impl_.client_ehandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 literal_hand_type = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_literal_hand_type(&has_bits); - _impl_.literal_hand_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CClientMsg_WorldUIControllerHasPanelChangedEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CClientMsg_WorldUIControllerHasPanelChangedEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool has_panel = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_has_panel(), target); - } - - // optional uint32 client_ehandle = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_client_ehandle(), target); - } - - // optional uint32 literal_hand_type = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_literal_hand_type(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CClientMsg_WorldUIControllerHasPanelChangedEvent) - return target; -} - -size_t CClientMsg_WorldUIControllerHasPanelChangedEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CClientMsg_WorldUIControllerHasPanelChangedEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional bool has_panel = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - // optional uint32 client_ehandle = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_ehandle()); - } - - // optional uint32 literal_hand_type = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_literal_hand_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CClientMsg_WorldUIControllerHasPanelChangedEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CClientMsg_WorldUIControllerHasPanelChangedEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CClientMsg_WorldUIControllerHasPanelChangedEvent::GetClassData() const { return &_class_data_; } - - -void CClientMsg_WorldUIControllerHasPanelChangedEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CClientMsg_WorldUIControllerHasPanelChangedEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.has_panel_ = from._impl_.has_panel_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.client_ehandle_ = from._impl_.client_ehandle_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.literal_hand_type_ = from._impl_.literal_hand_type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CClientMsg_WorldUIControllerHasPanelChangedEvent::CopyFrom(const CClientMsg_WorldUIControllerHasPanelChangedEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CClientMsg_WorldUIControllerHasPanelChangedEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CClientMsg_WorldUIControllerHasPanelChangedEvent::IsInitialized() const { - return true; -} - -void CClientMsg_WorldUIControllerHasPanelChangedEvent::InternalSwap(CClientMsg_WorldUIControllerHasPanelChangedEvent* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CClientMsg_WorldUIControllerHasPanelChangedEvent, _impl_.literal_hand_type_) - + sizeof(CClientMsg_WorldUIControllerHasPanelChangedEvent::_impl_.literal_hand_type_) - - PROTOBUF_FIELD_OFFSET(CClientMsg_WorldUIControllerHasPanelChangedEvent, _impl_.has_panel_)>( - reinterpret_cast(&_impl_.has_panel_), - reinterpret_cast(&other->_impl_.has_panel_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CClientMsg_WorldUIControllerHasPanelChangedEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_clientmessages_2eproto_getter, &descriptor_table_clientmessages_2eproto_once, - file_level_metadata_clientmessages_2eproto[4]); -} - -// =================================================================== - -class CClientMsg_RotateAnchor::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_angle(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CClientMsg_RotateAnchor::CClientMsg_RotateAnchor(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CClientMsg_RotateAnchor) -} -CClientMsg_RotateAnchor::CClientMsg_RotateAnchor(const CClientMsg_RotateAnchor& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CClientMsg_RotateAnchor* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.angle_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.angle_ = from._impl_.angle_; - // @@protoc_insertion_point(copy_constructor:CClientMsg_RotateAnchor) -} - -inline void CClientMsg_RotateAnchor::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.angle_){0} - }; -} - -CClientMsg_RotateAnchor::~CClientMsg_RotateAnchor() { - // @@protoc_insertion_point(destructor:CClientMsg_RotateAnchor) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CClientMsg_RotateAnchor::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CClientMsg_RotateAnchor::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CClientMsg_RotateAnchor::Clear() { -// @@protoc_insertion_point(message_clear_start:CClientMsg_RotateAnchor) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.angle_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CClientMsg_RotateAnchor::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float angle = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_angle(&has_bits); - _impl_.angle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CClientMsg_RotateAnchor::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CClientMsg_RotateAnchor) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float angle = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_angle(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CClientMsg_RotateAnchor) - return target; -} - -size_t CClientMsg_RotateAnchor::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CClientMsg_RotateAnchor) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional float angle = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CClientMsg_RotateAnchor::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CClientMsg_RotateAnchor::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CClientMsg_RotateAnchor::GetClassData() const { return &_class_data_; } - - -void CClientMsg_RotateAnchor::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CClientMsg_RotateAnchor) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_angle()) { - _this->_internal_set_angle(from._internal_angle()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CClientMsg_RotateAnchor::CopyFrom(const CClientMsg_RotateAnchor& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CClientMsg_RotateAnchor) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CClientMsg_RotateAnchor::IsInitialized() const { - return true; -} - -void CClientMsg_RotateAnchor::InternalSwap(CClientMsg_RotateAnchor* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.angle_, other->_impl_.angle_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CClientMsg_RotateAnchor::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_clientmessages_2eproto_getter, &descriptor_table_clientmessages_2eproto_once, - file_level_metadata_clientmessages_2eproto[5]); -} - -// =================================================================== - -class CClientMsg_ListenForResponseFound::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_player_slot(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CClientMsg_ListenForResponseFound::CClientMsg_ListenForResponseFound(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CClientMsg_ListenForResponseFound) -} -CClientMsg_ListenForResponseFound::CClientMsg_ListenForResponseFound(const CClientMsg_ListenForResponseFound& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CClientMsg_ListenForResponseFound* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.player_slot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.player_slot_ = from._impl_.player_slot_; - // @@protoc_insertion_point(copy_constructor:CClientMsg_ListenForResponseFound) -} - -inline void CClientMsg_ListenForResponseFound::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.player_slot_){-1} - }; -} - -CClientMsg_ListenForResponseFound::~CClientMsg_ListenForResponseFound() { - // @@protoc_insertion_point(destructor:CClientMsg_ListenForResponseFound) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CClientMsg_ListenForResponseFound::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CClientMsg_ListenForResponseFound::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CClientMsg_ListenForResponseFound::Clear() { -// @@protoc_insertion_point(message_clear_start:CClientMsg_ListenForResponseFound) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.player_slot_ = -1; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CClientMsg_ListenForResponseFound::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 player_slot = 1 [default = -1]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_player_slot(&has_bits); - _impl_.player_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CClientMsg_ListenForResponseFound::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CClientMsg_ListenForResponseFound) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 player_slot = 1 [default = -1]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_player_slot(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CClientMsg_ListenForResponseFound) - return target; -} - -size_t CClientMsg_ListenForResponseFound::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CClientMsg_ListenForResponseFound) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 player_slot = 1 [default = -1]; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_slot()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CClientMsg_ListenForResponseFound::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CClientMsg_ListenForResponseFound::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CClientMsg_ListenForResponseFound::GetClassData() const { return &_class_data_; } - - -void CClientMsg_ListenForResponseFound::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CClientMsg_ListenForResponseFound) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_player_slot()) { - _this->_internal_set_player_slot(from._internal_player_slot()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CClientMsg_ListenForResponseFound::CopyFrom(const CClientMsg_ListenForResponseFound& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CClientMsg_ListenForResponseFound) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CClientMsg_ListenForResponseFound::IsInitialized() const { - return true; -} - -void CClientMsg_ListenForResponseFound::InternalSwap(CClientMsg_ListenForResponseFound* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.player_slot_, other->_impl_.player_slot_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CClientMsg_ListenForResponseFound::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_clientmessages_2eproto_getter, &descriptor_table_clientmessages_2eproto_once, - file_level_metadata_clientmessages_2eproto[6]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CClientMsg_CustomGameEvent* -Arena::CreateMaybeMessage< ::CClientMsg_CustomGameEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CClientMsg_CustomGameEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CClientMsg_CustomGameEventBounce* -Arena::CreateMaybeMessage< ::CClientMsg_CustomGameEventBounce >(Arena* arena) { - return Arena::CreateMessageInternal< ::CClientMsg_CustomGameEventBounce >(arena); -} -template<> PROTOBUF_NOINLINE ::CClientMsg_ClientUIEvent* -Arena::CreateMaybeMessage< ::CClientMsg_ClientUIEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CClientMsg_ClientUIEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CClientMsg_DevPaletteVisibilityChangedEvent* -Arena::CreateMaybeMessage< ::CClientMsg_DevPaletteVisibilityChangedEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CClientMsg_DevPaletteVisibilityChangedEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CClientMsg_WorldUIControllerHasPanelChangedEvent* -Arena::CreateMaybeMessage< ::CClientMsg_WorldUIControllerHasPanelChangedEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CClientMsg_WorldUIControllerHasPanelChangedEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CClientMsg_RotateAnchor* -Arena::CreateMaybeMessage< ::CClientMsg_RotateAnchor >(Arena* arena) { - return Arena::CreateMessageInternal< ::CClientMsg_RotateAnchor >(arena); -} -template<> PROTOBUF_NOINLINE ::CClientMsg_ListenForResponseFound* -Arena::CreateMaybeMessage< ::CClientMsg_ListenForResponseFound >(Arena* arena) { - return Arena::CreateMessageInternal< ::CClientMsg_ListenForResponseFound >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/clientmessages.pb.h b/protobuf/generated/clientmessages.pb.h deleted file mode 100644 index 2eef2c9c2..000000000 --- a/protobuf/generated/clientmessages.pb.h +++ /dev/null @@ -1,2178 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: clientmessages.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_clientmessages_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_clientmessages_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_clientmessages_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_clientmessages_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_clientmessages_2eproto; -class CClientMsg_ClientUIEvent; -struct CClientMsg_ClientUIEventDefaultTypeInternal; -extern CClientMsg_ClientUIEventDefaultTypeInternal _CClientMsg_ClientUIEvent_default_instance_; -class CClientMsg_CustomGameEvent; -struct CClientMsg_CustomGameEventDefaultTypeInternal; -extern CClientMsg_CustomGameEventDefaultTypeInternal _CClientMsg_CustomGameEvent_default_instance_; -class CClientMsg_CustomGameEventBounce; -struct CClientMsg_CustomGameEventBounceDefaultTypeInternal; -extern CClientMsg_CustomGameEventBounceDefaultTypeInternal _CClientMsg_CustomGameEventBounce_default_instance_; -class CClientMsg_DevPaletteVisibilityChangedEvent; -struct CClientMsg_DevPaletteVisibilityChangedEventDefaultTypeInternal; -extern CClientMsg_DevPaletteVisibilityChangedEventDefaultTypeInternal _CClientMsg_DevPaletteVisibilityChangedEvent_default_instance_; -class CClientMsg_ListenForResponseFound; -struct CClientMsg_ListenForResponseFoundDefaultTypeInternal; -extern CClientMsg_ListenForResponseFoundDefaultTypeInternal _CClientMsg_ListenForResponseFound_default_instance_; -class CClientMsg_RotateAnchor; -struct CClientMsg_RotateAnchorDefaultTypeInternal; -extern CClientMsg_RotateAnchorDefaultTypeInternal _CClientMsg_RotateAnchor_default_instance_; -class CClientMsg_WorldUIControllerHasPanelChangedEvent; -struct CClientMsg_WorldUIControllerHasPanelChangedEventDefaultTypeInternal; -extern CClientMsg_WorldUIControllerHasPanelChangedEventDefaultTypeInternal _CClientMsg_WorldUIControllerHasPanelChangedEvent_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CClientMsg_ClientUIEvent* Arena::CreateMaybeMessage<::CClientMsg_ClientUIEvent>(Arena*); -template<> ::CClientMsg_CustomGameEvent* Arena::CreateMaybeMessage<::CClientMsg_CustomGameEvent>(Arena*); -template<> ::CClientMsg_CustomGameEventBounce* Arena::CreateMaybeMessage<::CClientMsg_CustomGameEventBounce>(Arena*); -template<> ::CClientMsg_DevPaletteVisibilityChangedEvent* Arena::CreateMaybeMessage<::CClientMsg_DevPaletteVisibilityChangedEvent>(Arena*); -template<> ::CClientMsg_ListenForResponseFound* Arena::CreateMaybeMessage<::CClientMsg_ListenForResponseFound>(Arena*); -template<> ::CClientMsg_RotateAnchor* Arena::CreateMaybeMessage<::CClientMsg_RotateAnchor>(Arena*); -template<> ::CClientMsg_WorldUIControllerHasPanelChangedEvent* Arena::CreateMaybeMessage<::CClientMsg_WorldUIControllerHasPanelChangedEvent>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum EBaseClientMessages : int { - CM_CustomGameEvent = 280, - CM_CustomGameEventBounce = 281, - CM_ClientUIEvent = 282, - CM_DevPaletteVisibilityChanged = 283, - CM_WorldUIControllerHasPanelChanged = 284, - CM_RotateAnchor = 285, - CM_ListenForResponseFound = 286, - CM_MAX_BASE = 300 -}; -bool EBaseClientMessages_IsValid(int value); -constexpr EBaseClientMessages EBaseClientMessages_MIN = CM_CustomGameEvent; -constexpr EBaseClientMessages EBaseClientMessages_MAX = CM_MAX_BASE; -constexpr int EBaseClientMessages_ARRAYSIZE = EBaseClientMessages_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBaseClientMessages_descriptor(); -template -inline const std::string& EBaseClientMessages_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EBaseClientMessages_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EBaseClientMessages_descriptor(), enum_t_value); -} -inline bool EBaseClientMessages_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EBaseClientMessages* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EBaseClientMessages_descriptor(), name, value); -} -enum EClientUIEvent : int { - EClientUIEvent_Invalid = 0, - EClientUIEvent_DialogFinished = 1, - EClientUIEvent_FireOutput = 2 -}; -bool EClientUIEvent_IsValid(int value); -constexpr EClientUIEvent EClientUIEvent_MIN = EClientUIEvent_Invalid; -constexpr EClientUIEvent EClientUIEvent_MAX = EClientUIEvent_FireOutput; -constexpr int EClientUIEvent_ARRAYSIZE = EClientUIEvent_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EClientUIEvent_descriptor(); -template -inline const std::string& EClientUIEvent_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EClientUIEvent_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EClientUIEvent_descriptor(), enum_t_value); -} -inline bool EClientUIEvent_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EClientUIEvent* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EClientUIEvent_descriptor(), name, value); -} -// =================================================================== - -class CClientMsg_CustomGameEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CClientMsg_CustomGameEvent) */ { - public: - inline CClientMsg_CustomGameEvent() : CClientMsg_CustomGameEvent(nullptr) {} - ~CClientMsg_CustomGameEvent() override; - explicit PROTOBUF_CONSTEXPR CClientMsg_CustomGameEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CClientMsg_CustomGameEvent(const CClientMsg_CustomGameEvent& from); - CClientMsg_CustomGameEvent(CClientMsg_CustomGameEvent&& from) noexcept - : CClientMsg_CustomGameEvent() { - *this = ::std::move(from); - } - - inline CClientMsg_CustomGameEvent& operator=(const CClientMsg_CustomGameEvent& from) { - CopyFrom(from); - return *this; - } - inline CClientMsg_CustomGameEvent& operator=(CClientMsg_CustomGameEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CClientMsg_CustomGameEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CClientMsg_CustomGameEvent* internal_default_instance() { - return reinterpret_cast( - &_CClientMsg_CustomGameEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CClientMsg_CustomGameEvent& a, CClientMsg_CustomGameEvent& b) { - a.Swap(&b); - } - inline void Swap(CClientMsg_CustomGameEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CClientMsg_CustomGameEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CClientMsg_CustomGameEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CClientMsg_CustomGameEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CClientMsg_CustomGameEvent& from) { - CClientMsg_CustomGameEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CClientMsg_CustomGameEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CClientMsg_CustomGameEvent"; - } - protected: - explicit CClientMsg_CustomGameEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEventNameFieldNumber = 1, - kDataFieldNumber = 2, - }; - // optional string event_name = 1; - bool has_event_name() const; - private: - bool _internal_has_event_name() const; - public: - void clear_event_name(); - const std::string& event_name() const; - template - void set_event_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_event_name(); - PROTOBUF_NODISCARD std::string* release_event_name(); - void set_allocated_event_name(std::string* event_name); - private: - const std::string& _internal_event_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_name(const std::string& value); - std::string* _internal_mutable_event_name(); - public: - - // optional bytes data = 2; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // @@protoc_insertion_point(class_scope:CClientMsg_CustomGameEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_clientmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CClientMsg_CustomGameEventBounce : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CClientMsg_CustomGameEventBounce) */ { - public: - inline CClientMsg_CustomGameEventBounce() : CClientMsg_CustomGameEventBounce(nullptr) {} - ~CClientMsg_CustomGameEventBounce() override; - explicit PROTOBUF_CONSTEXPR CClientMsg_CustomGameEventBounce(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CClientMsg_CustomGameEventBounce(const CClientMsg_CustomGameEventBounce& from); - CClientMsg_CustomGameEventBounce(CClientMsg_CustomGameEventBounce&& from) noexcept - : CClientMsg_CustomGameEventBounce() { - *this = ::std::move(from); - } - - inline CClientMsg_CustomGameEventBounce& operator=(const CClientMsg_CustomGameEventBounce& from) { - CopyFrom(from); - return *this; - } - inline CClientMsg_CustomGameEventBounce& operator=(CClientMsg_CustomGameEventBounce&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CClientMsg_CustomGameEventBounce& default_instance() { - return *internal_default_instance(); - } - static inline const CClientMsg_CustomGameEventBounce* internal_default_instance() { - return reinterpret_cast( - &_CClientMsg_CustomGameEventBounce_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CClientMsg_CustomGameEventBounce& a, CClientMsg_CustomGameEventBounce& b) { - a.Swap(&b); - } - inline void Swap(CClientMsg_CustomGameEventBounce* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CClientMsg_CustomGameEventBounce* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CClientMsg_CustomGameEventBounce* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CClientMsg_CustomGameEventBounce& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CClientMsg_CustomGameEventBounce& from) { - CClientMsg_CustomGameEventBounce::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CClientMsg_CustomGameEventBounce* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CClientMsg_CustomGameEventBounce"; - } - protected: - explicit CClientMsg_CustomGameEventBounce(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEventNameFieldNumber = 1, - kDataFieldNumber = 2, - kPlayerSlotFieldNumber = 3, - }; - // optional string event_name = 1; - bool has_event_name() const; - private: - bool _internal_has_event_name() const; - public: - void clear_event_name(); - const std::string& event_name() const; - template - void set_event_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_event_name(); - PROTOBUF_NODISCARD std::string* release_event_name(); - void set_allocated_event_name(std::string* event_name); - private: - const std::string& _internal_event_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_name(const std::string& value); - std::string* _internal_mutable_event_name(); - public: - - // optional bytes data = 2; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // optional int32 player_slot = 3 [default = -1]; - bool has_player_slot() const; - private: - bool _internal_has_player_slot() const; - public: - void clear_player_slot(); - int32_t player_slot() const; - void set_player_slot(int32_t value); - private: - int32_t _internal_player_slot() const; - void _internal_set_player_slot(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CClientMsg_CustomGameEventBounce) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - int32_t player_slot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_clientmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CClientMsg_ClientUIEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CClientMsg_ClientUIEvent) */ { - public: - inline CClientMsg_ClientUIEvent() : CClientMsg_ClientUIEvent(nullptr) {} - ~CClientMsg_ClientUIEvent() override; - explicit PROTOBUF_CONSTEXPR CClientMsg_ClientUIEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CClientMsg_ClientUIEvent(const CClientMsg_ClientUIEvent& from); - CClientMsg_ClientUIEvent(CClientMsg_ClientUIEvent&& from) noexcept - : CClientMsg_ClientUIEvent() { - *this = ::std::move(from); - } - - inline CClientMsg_ClientUIEvent& operator=(const CClientMsg_ClientUIEvent& from) { - CopyFrom(from); - return *this; - } - inline CClientMsg_ClientUIEvent& operator=(CClientMsg_ClientUIEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CClientMsg_ClientUIEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CClientMsg_ClientUIEvent* internal_default_instance() { - return reinterpret_cast( - &_CClientMsg_ClientUIEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CClientMsg_ClientUIEvent& a, CClientMsg_ClientUIEvent& b) { - a.Swap(&b); - } - inline void Swap(CClientMsg_ClientUIEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CClientMsg_ClientUIEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CClientMsg_ClientUIEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CClientMsg_ClientUIEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CClientMsg_ClientUIEvent& from) { - CClientMsg_ClientUIEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CClientMsg_ClientUIEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CClientMsg_ClientUIEvent"; - } - protected: - explicit CClientMsg_ClientUIEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kData1FieldNumber = 4, - kData2FieldNumber = 5, - kEventFieldNumber = 1, - kEntEhandleFieldNumber = 2, - kClientEhandleFieldNumber = 3, - }; - // optional string data1 = 4; - bool has_data1() const; - private: - bool _internal_has_data1() const; - public: - void clear_data1(); - const std::string& data1() const; - template - void set_data1(ArgT0&& arg0, ArgT... args); - std::string* mutable_data1(); - PROTOBUF_NODISCARD std::string* release_data1(); - void set_allocated_data1(std::string* data1); - private: - const std::string& _internal_data1() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data1(const std::string& value); - std::string* _internal_mutable_data1(); - public: - - // optional string data2 = 5; - bool has_data2() const; - private: - bool _internal_has_data2() const; - public: - void clear_data2(); - const std::string& data2() const; - template - void set_data2(ArgT0&& arg0, ArgT... args); - std::string* mutable_data2(); - PROTOBUF_NODISCARD std::string* release_data2(); - void set_allocated_data2(std::string* data2); - private: - const std::string& _internal_data2() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data2(const std::string& value); - std::string* _internal_mutable_data2(); - public: - - // optional .EClientUIEvent event = 1 [default = EClientUIEvent_Invalid]; - bool has_event() const; - private: - bool _internal_has_event() const; - public: - void clear_event(); - ::EClientUIEvent event() const; - void set_event(::EClientUIEvent value); - private: - ::EClientUIEvent _internal_event() const; - void _internal_set_event(::EClientUIEvent value); - public: - - // optional uint32 ent_ehandle = 2; - bool has_ent_ehandle() const; - private: - bool _internal_has_ent_ehandle() const; - public: - void clear_ent_ehandle(); - uint32_t ent_ehandle() const; - void set_ent_ehandle(uint32_t value); - private: - uint32_t _internal_ent_ehandle() const; - void _internal_set_ent_ehandle(uint32_t value); - public: - - // optional uint32 client_ehandle = 3; - bool has_client_ehandle() const; - private: - bool _internal_has_client_ehandle() const; - public: - void clear_client_ehandle(); - uint32_t client_ehandle() const; - void set_client_ehandle(uint32_t value); - private: - uint32_t _internal_client_ehandle() const; - void _internal_set_client_ehandle(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CClientMsg_ClientUIEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data1_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data2_; - int event_; - uint32_t ent_ehandle_; - uint32_t client_ehandle_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_clientmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CClientMsg_DevPaletteVisibilityChangedEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CClientMsg_DevPaletteVisibilityChangedEvent) */ { - public: - inline CClientMsg_DevPaletteVisibilityChangedEvent() : CClientMsg_DevPaletteVisibilityChangedEvent(nullptr) {} - ~CClientMsg_DevPaletteVisibilityChangedEvent() override; - explicit PROTOBUF_CONSTEXPR CClientMsg_DevPaletteVisibilityChangedEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CClientMsg_DevPaletteVisibilityChangedEvent(const CClientMsg_DevPaletteVisibilityChangedEvent& from); - CClientMsg_DevPaletteVisibilityChangedEvent(CClientMsg_DevPaletteVisibilityChangedEvent&& from) noexcept - : CClientMsg_DevPaletteVisibilityChangedEvent() { - *this = ::std::move(from); - } - - inline CClientMsg_DevPaletteVisibilityChangedEvent& operator=(const CClientMsg_DevPaletteVisibilityChangedEvent& from) { - CopyFrom(from); - return *this; - } - inline CClientMsg_DevPaletteVisibilityChangedEvent& operator=(CClientMsg_DevPaletteVisibilityChangedEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CClientMsg_DevPaletteVisibilityChangedEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CClientMsg_DevPaletteVisibilityChangedEvent* internal_default_instance() { - return reinterpret_cast( - &_CClientMsg_DevPaletteVisibilityChangedEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CClientMsg_DevPaletteVisibilityChangedEvent& a, CClientMsg_DevPaletteVisibilityChangedEvent& b) { - a.Swap(&b); - } - inline void Swap(CClientMsg_DevPaletteVisibilityChangedEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CClientMsg_DevPaletteVisibilityChangedEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CClientMsg_DevPaletteVisibilityChangedEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CClientMsg_DevPaletteVisibilityChangedEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CClientMsg_DevPaletteVisibilityChangedEvent& from) { - CClientMsg_DevPaletteVisibilityChangedEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CClientMsg_DevPaletteVisibilityChangedEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CClientMsg_DevPaletteVisibilityChangedEvent"; - } - protected: - explicit CClientMsg_DevPaletteVisibilityChangedEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kVisibleFieldNumber = 1, - }; - // optional bool visible = 1; - bool has_visible() const; - private: - bool _internal_has_visible() const; - public: - void clear_visible(); - bool visible() const; - void set_visible(bool value); - private: - bool _internal_visible() const; - void _internal_set_visible(bool value); - public: - - // @@protoc_insertion_point(class_scope:CClientMsg_DevPaletteVisibilityChangedEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool visible_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_clientmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CClientMsg_WorldUIControllerHasPanelChangedEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CClientMsg_WorldUIControllerHasPanelChangedEvent) */ { - public: - inline CClientMsg_WorldUIControllerHasPanelChangedEvent() : CClientMsg_WorldUIControllerHasPanelChangedEvent(nullptr) {} - ~CClientMsg_WorldUIControllerHasPanelChangedEvent() override; - explicit PROTOBUF_CONSTEXPR CClientMsg_WorldUIControllerHasPanelChangedEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CClientMsg_WorldUIControllerHasPanelChangedEvent(const CClientMsg_WorldUIControllerHasPanelChangedEvent& from); - CClientMsg_WorldUIControllerHasPanelChangedEvent(CClientMsg_WorldUIControllerHasPanelChangedEvent&& from) noexcept - : CClientMsg_WorldUIControllerHasPanelChangedEvent() { - *this = ::std::move(from); - } - - inline CClientMsg_WorldUIControllerHasPanelChangedEvent& operator=(const CClientMsg_WorldUIControllerHasPanelChangedEvent& from) { - CopyFrom(from); - return *this; - } - inline CClientMsg_WorldUIControllerHasPanelChangedEvent& operator=(CClientMsg_WorldUIControllerHasPanelChangedEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CClientMsg_WorldUIControllerHasPanelChangedEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CClientMsg_WorldUIControllerHasPanelChangedEvent* internal_default_instance() { - return reinterpret_cast( - &_CClientMsg_WorldUIControllerHasPanelChangedEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CClientMsg_WorldUIControllerHasPanelChangedEvent& a, CClientMsg_WorldUIControllerHasPanelChangedEvent& b) { - a.Swap(&b); - } - inline void Swap(CClientMsg_WorldUIControllerHasPanelChangedEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CClientMsg_WorldUIControllerHasPanelChangedEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CClientMsg_WorldUIControllerHasPanelChangedEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CClientMsg_WorldUIControllerHasPanelChangedEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CClientMsg_WorldUIControllerHasPanelChangedEvent& from) { - CClientMsg_WorldUIControllerHasPanelChangedEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CClientMsg_WorldUIControllerHasPanelChangedEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CClientMsg_WorldUIControllerHasPanelChangedEvent"; - } - protected: - explicit CClientMsg_WorldUIControllerHasPanelChangedEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kHasPanelFieldNumber = 1, - kClientEhandleFieldNumber = 2, - kLiteralHandTypeFieldNumber = 3, - }; - // optional bool has_panel = 1; - bool has_has_panel() const; - private: - bool _internal_has_has_panel() const; - public: - void clear_has_panel(); - bool has_panel() const; - void set_has_panel(bool value); - private: - bool _internal_has_panel() const; - void _internal_set_has_panel(bool value); - public: - - // optional uint32 client_ehandle = 2; - bool has_client_ehandle() const; - private: - bool _internal_has_client_ehandle() const; - public: - void clear_client_ehandle(); - uint32_t client_ehandle() const; - void set_client_ehandle(uint32_t value); - private: - uint32_t _internal_client_ehandle() const; - void _internal_set_client_ehandle(uint32_t value); - public: - - // optional uint32 literal_hand_type = 3; - bool has_literal_hand_type() const; - private: - bool _internal_has_literal_hand_type() const; - public: - void clear_literal_hand_type(); - uint32_t literal_hand_type() const; - void set_literal_hand_type(uint32_t value); - private: - uint32_t _internal_literal_hand_type() const; - void _internal_set_literal_hand_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CClientMsg_WorldUIControllerHasPanelChangedEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool has_panel_; - uint32_t client_ehandle_; - uint32_t literal_hand_type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_clientmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CClientMsg_RotateAnchor : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CClientMsg_RotateAnchor) */ { - public: - inline CClientMsg_RotateAnchor() : CClientMsg_RotateAnchor(nullptr) {} - ~CClientMsg_RotateAnchor() override; - explicit PROTOBUF_CONSTEXPR CClientMsg_RotateAnchor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CClientMsg_RotateAnchor(const CClientMsg_RotateAnchor& from); - CClientMsg_RotateAnchor(CClientMsg_RotateAnchor&& from) noexcept - : CClientMsg_RotateAnchor() { - *this = ::std::move(from); - } - - inline CClientMsg_RotateAnchor& operator=(const CClientMsg_RotateAnchor& from) { - CopyFrom(from); - return *this; - } - inline CClientMsg_RotateAnchor& operator=(CClientMsg_RotateAnchor&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CClientMsg_RotateAnchor& default_instance() { - return *internal_default_instance(); - } - static inline const CClientMsg_RotateAnchor* internal_default_instance() { - return reinterpret_cast( - &_CClientMsg_RotateAnchor_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CClientMsg_RotateAnchor& a, CClientMsg_RotateAnchor& b) { - a.Swap(&b); - } - inline void Swap(CClientMsg_RotateAnchor* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CClientMsg_RotateAnchor* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CClientMsg_RotateAnchor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CClientMsg_RotateAnchor& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CClientMsg_RotateAnchor& from) { - CClientMsg_RotateAnchor::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CClientMsg_RotateAnchor* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CClientMsg_RotateAnchor"; - } - protected: - explicit CClientMsg_RotateAnchor(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAngleFieldNumber = 1, - }; - // optional float angle = 1; - bool has_angle() const; - private: - bool _internal_has_angle() const; - public: - void clear_angle(); - float angle() const; - void set_angle(float value); - private: - float _internal_angle() const; - void _internal_set_angle(float value); - public: - - // @@protoc_insertion_point(class_scope:CClientMsg_RotateAnchor) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float angle_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_clientmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CClientMsg_ListenForResponseFound : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CClientMsg_ListenForResponseFound) */ { - public: - inline CClientMsg_ListenForResponseFound() : CClientMsg_ListenForResponseFound(nullptr) {} - ~CClientMsg_ListenForResponseFound() override; - explicit PROTOBUF_CONSTEXPR CClientMsg_ListenForResponseFound(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CClientMsg_ListenForResponseFound(const CClientMsg_ListenForResponseFound& from); - CClientMsg_ListenForResponseFound(CClientMsg_ListenForResponseFound&& from) noexcept - : CClientMsg_ListenForResponseFound() { - *this = ::std::move(from); - } - - inline CClientMsg_ListenForResponseFound& operator=(const CClientMsg_ListenForResponseFound& from) { - CopyFrom(from); - return *this; - } - inline CClientMsg_ListenForResponseFound& operator=(CClientMsg_ListenForResponseFound&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CClientMsg_ListenForResponseFound& default_instance() { - return *internal_default_instance(); - } - static inline const CClientMsg_ListenForResponseFound* internal_default_instance() { - return reinterpret_cast( - &_CClientMsg_ListenForResponseFound_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CClientMsg_ListenForResponseFound& a, CClientMsg_ListenForResponseFound& b) { - a.Swap(&b); - } - inline void Swap(CClientMsg_ListenForResponseFound* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CClientMsg_ListenForResponseFound* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CClientMsg_ListenForResponseFound* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CClientMsg_ListenForResponseFound& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CClientMsg_ListenForResponseFound& from) { - CClientMsg_ListenForResponseFound::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CClientMsg_ListenForResponseFound* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CClientMsg_ListenForResponseFound"; - } - protected: - explicit CClientMsg_ListenForResponseFound(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPlayerSlotFieldNumber = 1, - }; - // optional int32 player_slot = 1 [default = -1]; - bool has_player_slot() const; - private: - bool _internal_has_player_slot() const; - public: - void clear_player_slot(); - int32_t player_slot() const; - void set_player_slot(int32_t value); - private: - int32_t _internal_player_slot() const; - void _internal_set_player_slot(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CClientMsg_ListenForResponseFound) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t player_slot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_clientmessages_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CClientMsg_CustomGameEvent - -// optional string event_name = 1; -inline bool CClientMsg_CustomGameEvent::_internal_has_event_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CClientMsg_CustomGameEvent::has_event_name() const { - return _internal_has_event_name(); -} -inline void CClientMsg_CustomGameEvent::clear_event_name() { - _impl_.event_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CClientMsg_CustomGameEvent::event_name() const { - // @@protoc_insertion_point(field_get:CClientMsg_CustomGameEvent.event_name) - return _internal_event_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CClientMsg_CustomGameEvent::set_event_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CClientMsg_CustomGameEvent.event_name) -} -inline std::string* CClientMsg_CustomGameEvent::mutable_event_name() { - std::string* _s = _internal_mutable_event_name(); - // @@protoc_insertion_point(field_mutable:CClientMsg_CustomGameEvent.event_name) - return _s; -} -inline const std::string& CClientMsg_CustomGameEvent::_internal_event_name() const { - return _impl_.event_name_.Get(); -} -inline void CClientMsg_CustomGameEvent::_internal_set_event_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CClientMsg_CustomGameEvent::_internal_mutable_event_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.event_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CClientMsg_CustomGameEvent::release_event_name() { - // @@protoc_insertion_point(field_release:CClientMsg_CustomGameEvent.event_name) - if (!_internal_has_event_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.event_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_name_.IsDefault()) { - _impl_.event_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CClientMsg_CustomGameEvent::set_allocated_event_name(std::string* event_name) { - if (event_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.event_name_.SetAllocated(event_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_name_.IsDefault()) { - _impl_.event_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CClientMsg_CustomGameEvent.event_name) -} - -// optional bytes data = 2; -inline bool CClientMsg_CustomGameEvent::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CClientMsg_CustomGameEvent::has_data() const { - return _internal_has_data(); -} -inline void CClientMsg_CustomGameEvent::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CClientMsg_CustomGameEvent::data() const { - // @@protoc_insertion_point(field_get:CClientMsg_CustomGameEvent.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CClientMsg_CustomGameEvent::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CClientMsg_CustomGameEvent.data) -} -inline std::string* CClientMsg_CustomGameEvent::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CClientMsg_CustomGameEvent.data) - return _s; -} -inline const std::string& CClientMsg_CustomGameEvent::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CClientMsg_CustomGameEvent::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CClientMsg_CustomGameEvent::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CClientMsg_CustomGameEvent::release_data() { - // @@protoc_insertion_point(field_release:CClientMsg_CustomGameEvent.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CClientMsg_CustomGameEvent::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CClientMsg_CustomGameEvent.data) -} - -// ------------------------------------------------------------------- - -// CClientMsg_CustomGameEventBounce - -// optional string event_name = 1; -inline bool CClientMsg_CustomGameEventBounce::_internal_has_event_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CClientMsg_CustomGameEventBounce::has_event_name() const { - return _internal_has_event_name(); -} -inline void CClientMsg_CustomGameEventBounce::clear_event_name() { - _impl_.event_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CClientMsg_CustomGameEventBounce::event_name() const { - // @@protoc_insertion_point(field_get:CClientMsg_CustomGameEventBounce.event_name) - return _internal_event_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CClientMsg_CustomGameEventBounce::set_event_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CClientMsg_CustomGameEventBounce.event_name) -} -inline std::string* CClientMsg_CustomGameEventBounce::mutable_event_name() { - std::string* _s = _internal_mutable_event_name(); - // @@protoc_insertion_point(field_mutable:CClientMsg_CustomGameEventBounce.event_name) - return _s; -} -inline const std::string& CClientMsg_CustomGameEventBounce::_internal_event_name() const { - return _impl_.event_name_.Get(); -} -inline void CClientMsg_CustomGameEventBounce::_internal_set_event_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CClientMsg_CustomGameEventBounce::_internal_mutable_event_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.event_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CClientMsg_CustomGameEventBounce::release_event_name() { - // @@protoc_insertion_point(field_release:CClientMsg_CustomGameEventBounce.event_name) - if (!_internal_has_event_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.event_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_name_.IsDefault()) { - _impl_.event_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CClientMsg_CustomGameEventBounce::set_allocated_event_name(std::string* event_name) { - if (event_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.event_name_.SetAllocated(event_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_name_.IsDefault()) { - _impl_.event_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CClientMsg_CustomGameEventBounce.event_name) -} - -// optional bytes data = 2; -inline bool CClientMsg_CustomGameEventBounce::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CClientMsg_CustomGameEventBounce::has_data() const { - return _internal_has_data(); -} -inline void CClientMsg_CustomGameEventBounce::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CClientMsg_CustomGameEventBounce::data() const { - // @@protoc_insertion_point(field_get:CClientMsg_CustomGameEventBounce.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CClientMsg_CustomGameEventBounce::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CClientMsg_CustomGameEventBounce.data) -} -inline std::string* CClientMsg_CustomGameEventBounce::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CClientMsg_CustomGameEventBounce.data) - return _s; -} -inline const std::string& CClientMsg_CustomGameEventBounce::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CClientMsg_CustomGameEventBounce::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CClientMsg_CustomGameEventBounce::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CClientMsg_CustomGameEventBounce::release_data() { - // @@protoc_insertion_point(field_release:CClientMsg_CustomGameEventBounce.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CClientMsg_CustomGameEventBounce::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CClientMsg_CustomGameEventBounce.data) -} - -// optional int32 player_slot = 3 [default = -1]; -inline bool CClientMsg_CustomGameEventBounce::_internal_has_player_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CClientMsg_CustomGameEventBounce::has_player_slot() const { - return _internal_has_player_slot(); -} -inline void CClientMsg_CustomGameEventBounce::clear_player_slot() { - _impl_.player_slot_ = -1; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CClientMsg_CustomGameEventBounce::_internal_player_slot() const { - return _impl_.player_slot_; -} -inline int32_t CClientMsg_CustomGameEventBounce::player_slot() const { - // @@protoc_insertion_point(field_get:CClientMsg_CustomGameEventBounce.player_slot) - return _internal_player_slot(); -} -inline void CClientMsg_CustomGameEventBounce::_internal_set_player_slot(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.player_slot_ = value; -} -inline void CClientMsg_CustomGameEventBounce::set_player_slot(int32_t value) { - _internal_set_player_slot(value); - // @@protoc_insertion_point(field_set:CClientMsg_CustomGameEventBounce.player_slot) -} - -// ------------------------------------------------------------------- - -// CClientMsg_ClientUIEvent - -// optional .EClientUIEvent event = 1 [default = EClientUIEvent_Invalid]; -inline bool CClientMsg_ClientUIEvent::_internal_has_event() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CClientMsg_ClientUIEvent::has_event() const { - return _internal_has_event(); -} -inline void CClientMsg_ClientUIEvent::clear_event() { - _impl_.event_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::EClientUIEvent CClientMsg_ClientUIEvent::_internal_event() const { - return static_cast< ::EClientUIEvent >(_impl_.event_); -} -inline ::EClientUIEvent CClientMsg_ClientUIEvent::event() const { - // @@protoc_insertion_point(field_get:CClientMsg_ClientUIEvent.event) - return _internal_event(); -} -inline void CClientMsg_ClientUIEvent::_internal_set_event(::EClientUIEvent value) { - assert(::EClientUIEvent_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.event_ = value; -} -inline void CClientMsg_ClientUIEvent::set_event(::EClientUIEvent value) { - _internal_set_event(value); - // @@protoc_insertion_point(field_set:CClientMsg_ClientUIEvent.event) -} - -// optional uint32 ent_ehandle = 2; -inline bool CClientMsg_ClientUIEvent::_internal_has_ent_ehandle() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CClientMsg_ClientUIEvent::has_ent_ehandle() const { - return _internal_has_ent_ehandle(); -} -inline void CClientMsg_ClientUIEvent::clear_ent_ehandle() { - _impl_.ent_ehandle_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CClientMsg_ClientUIEvent::_internal_ent_ehandle() const { - return _impl_.ent_ehandle_; -} -inline uint32_t CClientMsg_ClientUIEvent::ent_ehandle() const { - // @@protoc_insertion_point(field_get:CClientMsg_ClientUIEvent.ent_ehandle) - return _internal_ent_ehandle(); -} -inline void CClientMsg_ClientUIEvent::_internal_set_ent_ehandle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.ent_ehandle_ = value; -} -inline void CClientMsg_ClientUIEvent::set_ent_ehandle(uint32_t value) { - _internal_set_ent_ehandle(value); - // @@protoc_insertion_point(field_set:CClientMsg_ClientUIEvent.ent_ehandle) -} - -// optional uint32 client_ehandle = 3; -inline bool CClientMsg_ClientUIEvent::_internal_has_client_ehandle() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CClientMsg_ClientUIEvent::has_client_ehandle() const { - return _internal_has_client_ehandle(); -} -inline void CClientMsg_ClientUIEvent::clear_client_ehandle() { - _impl_.client_ehandle_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CClientMsg_ClientUIEvent::_internal_client_ehandle() const { - return _impl_.client_ehandle_; -} -inline uint32_t CClientMsg_ClientUIEvent::client_ehandle() const { - // @@protoc_insertion_point(field_get:CClientMsg_ClientUIEvent.client_ehandle) - return _internal_client_ehandle(); -} -inline void CClientMsg_ClientUIEvent::_internal_set_client_ehandle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.client_ehandle_ = value; -} -inline void CClientMsg_ClientUIEvent::set_client_ehandle(uint32_t value) { - _internal_set_client_ehandle(value); - // @@protoc_insertion_point(field_set:CClientMsg_ClientUIEvent.client_ehandle) -} - -// optional string data1 = 4; -inline bool CClientMsg_ClientUIEvent::_internal_has_data1() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CClientMsg_ClientUIEvent::has_data1() const { - return _internal_has_data1(); -} -inline void CClientMsg_ClientUIEvent::clear_data1() { - _impl_.data1_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CClientMsg_ClientUIEvent::data1() const { - // @@protoc_insertion_point(field_get:CClientMsg_ClientUIEvent.data1) - return _internal_data1(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CClientMsg_ClientUIEvent::set_data1(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data1_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CClientMsg_ClientUIEvent.data1) -} -inline std::string* CClientMsg_ClientUIEvent::mutable_data1() { - std::string* _s = _internal_mutable_data1(); - // @@protoc_insertion_point(field_mutable:CClientMsg_ClientUIEvent.data1) - return _s; -} -inline const std::string& CClientMsg_ClientUIEvent::_internal_data1() const { - return _impl_.data1_.Get(); -} -inline void CClientMsg_ClientUIEvent::_internal_set_data1(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data1_.Set(value, GetArenaForAllocation()); -} -inline std::string* CClientMsg_ClientUIEvent::_internal_mutable_data1() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.data1_.Mutable(GetArenaForAllocation()); -} -inline std::string* CClientMsg_ClientUIEvent::release_data1() { - // @@protoc_insertion_point(field_release:CClientMsg_ClientUIEvent.data1) - if (!_internal_has_data1()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.data1_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data1_.IsDefault()) { - _impl_.data1_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CClientMsg_ClientUIEvent::set_allocated_data1(std::string* data1) { - if (data1 != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data1_.SetAllocated(data1, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data1_.IsDefault()) { - _impl_.data1_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CClientMsg_ClientUIEvent.data1) -} - -// optional string data2 = 5; -inline bool CClientMsg_ClientUIEvent::_internal_has_data2() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CClientMsg_ClientUIEvent::has_data2() const { - return _internal_has_data2(); -} -inline void CClientMsg_ClientUIEvent::clear_data2() { - _impl_.data2_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CClientMsg_ClientUIEvent::data2() const { - // @@protoc_insertion_point(field_get:CClientMsg_ClientUIEvent.data2) - return _internal_data2(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CClientMsg_ClientUIEvent::set_data2(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.data2_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CClientMsg_ClientUIEvent.data2) -} -inline std::string* CClientMsg_ClientUIEvent::mutable_data2() { - std::string* _s = _internal_mutable_data2(); - // @@protoc_insertion_point(field_mutable:CClientMsg_ClientUIEvent.data2) - return _s; -} -inline const std::string& CClientMsg_ClientUIEvent::_internal_data2() const { - return _impl_.data2_.Get(); -} -inline void CClientMsg_ClientUIEvent::_internal_set_data2(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.data2_.Set(value, GetArenaForAllocation()); -} -inline std::string* CClientMsg_ClientUIEvent::_internal_mutable_data2() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.data2_.Mutable(GetArenaForAllocation()); -} -inline std::string* CClientMsg_ClientUIEvent::release_data2() { - // @@protoc_insertion_point(field_release:CClientMsg_ClientUIEvent.data2) - if (!_internal_has_data2()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.data2_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data2_.IsDefault()) { - _impl_.data2_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CClientMsg_ClientUIEvent::set_allocated_data2(std::string* data2) { - if (data2 != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.data2_.SetAllocated(data2, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data2_.IsDefault()) { - _impl_.data2_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CClientMsg_ClientUIEvent.data2) -} - -// ------------------------------------------------------------------- - -// CClientMsg_DevPaletteVisibilityChangedEvent - -// optional bool visible = 1; -inline bool CClientMsg_DevPaletteVisibilityChangedEvent::_internal_has_visible() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CClientMsg_DevPaletteVisibilityChangedEvent::has_visible() const { - return _internal_has_visible(); -} -inline void CClientMsg_DevPaletteVisibilityChangedEvent::clear_visible() { - _impl_.visible_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CClientMsg_DevPaletteVisibilityChangedEvent::_internal_visible() const { - return _impl_.visible_; -} -inline bool CClientMsg_DevPaletteVisibilityChangedEvent::visible() const { - // @@protoc_insertion_point(field_get:CClientMsg_DevPaletteVisibilityChangedEvent.visible) - return _internal_visible(); -} -inline void CClientMsg_DevPaletteVisibilityChangedEvent::_internal_set_visible(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.visible_ = value; -} -inline void CClientMsg_DevPaletteVisibilityChangedEvent::set_visible(bool value) { - _internal_set_visible(value); - // @@protoc_insertion_point(field_set:CClientMsg_DevPaletteVisibilityChangedEvent.visible) -} - -// ------------------------------------------------------------------- - -// CClientMsg_WorldUIControllerHasPanelChangedEvent - -// optional bool has_panel = 1; -inline bool CClientMsg_WorldUIControllerHasPanelChangedEvent::_internal_has_has_panel() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CClientMsg_WorldUIControllerHasPanelChangedEvent::has_has_panel() const { - return _internal_has_has_panel(); -} -inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::clear_has_panel() { - _impl_.has_panel_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CClientMsg_WorldUIControllerHasPanelChangedEvent::_internal_has_panel() const { - return _impl_.has_panel_; -} -inline bool CClientMsg_WorldUIControllerHasPanelChangedEvent::has_panel() const { - // @@protoc_insertion_point(field_get:CClientMsg_WorldUIControllerHasPanelChangedEvent.has_panel) - return _internal_has_panel(); -} -inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::_internal_set_has_panel(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.has_panel_ = value; -} -inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::set_has_panel(bool value) { - _internal_set_has_panel(value); - // @@protoc_insertion_point(field_set:CClientMsg_WorldUIControllerHasPanelChangedEvent.has_panel) -} - -// optional uint32 client_ehandle = 2; -inline bool CClientMsg_WorldUIControllerHasPanelChangedEvent::_internal_has_client_ehandle() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CClientMsg_WorldUIControllerHasPanelChangedEvent::has_client_ehandle() const { - return _internal_has_client_ehandle(); -} -inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::clear_client_ehandle() { - _impl_.client_ehandle_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CClientMsg_WorldUIControllerHasPanelChangedEvent::_internal_client_ehandle() const { - return _impl_.client_ehandle_; -} -inline uint32_t CClientMsg_WorldUIControllerHasPanelChangedEvent::client_ehandle() const { - // @@protoc_insertion_point(field_get:CClientMsg_WorldUIControllerHasPanelChangedEvent.client_ehandle) - return _internal_client_ehandle(); -} -inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::_internal_set_client_ehandle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.client_ehandle_ = value; -} -inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::set_client_ehandle(uint32_t value) { - _internal_set_client_ehandle(value); - // @@protoc_insertion_point(field_set:CClientMsg_WorldUIControllerHasPanelChangedEvent.client_ehandle) -} - -// optional uint32 literal_hand_type = 3; -inline bool CClientMsg_WorldUIControllerHasPanelChangedEvent::_internal_has_literal_hand_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CClientMsg_WorldUIControllerHasPanelChangedEvent::has_literal_hand_type() const { - return _internal_has_literal_hand_type(); -} -inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::clear_literal_hand_type() { - _impl_.literal_hand_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CClientMsg_WorldUIControllerHasPanelChangedEvent::_internal_literal_hand_type() const { - return _impl_.literal_hand_type_; -} -inline uint32_t CClientMsg_WorldUIControllerHasPanelChangedEvent::literal_hand_type() const { - // @@protoc_insertion_point(field_get:CClientMsg_WorldUIControllerHasPanelChangedEvent.literal_hand_type) - return _internal_literal_hand_type(); -} -inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::_internal_set_literal_hand_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.literal_hand_type_ = value; -} -inline void CClientMsg_WorldUIControllerHasPanelChangedEvent::set_literal_hand_type(uint32_t value) { - _internal_set_literal_hand_type(value); - // @@protoc_insertion_point(field_set:CClientMsg_WorldUIControllerHasPanelChangedEvent.literal_hand_type) -} - -// ------------------------------------------------------------------- - -// CClientMsg_RotateAnchor - -// optional float angle = 1; -inline bool CClientMsg_RotateAnchor::_internal_has_angle() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CClientMsg_RotateAnchor::has_angle() const { - return _internal_has_angle(); -} -inline void CClientMsg_RotateAnchor::clear_angle() { - _impl_.angle_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CClientMsg_RotateAnchor::_internal_angle() const { - return _impl_.angle_; -} -inline float CClientMsg_RotateAnchor::angle() const { - // @@protoc_insertion_point(field_get:CClientMsg_RotateAnchor.angle) - return _internal_angle(); -} -inline void CClientMsg_RotateAnchor::_internal_set_angle(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.angle_ = value; -} -inline void CClientMsg_RotateAnchor::set_angle(float value) { - _internal_set_angle(value); - // @@protoc_insertion_point(field_set:CClientMsg_RotateAnchor.angle) -} - -// ------------------------------------------------------------------- - -// CClientMsg_ListenForResponseFound - -// optional int32 player_slot = 1 [default = -1]; -inline bool CClientMsg_ListenForResponseFound::_internal_has_player_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CClientMsg_ListenForResponseFound::has_player_slot() const { - return _internal_has_player_slot(); -} -inline void CClientMsg_ListenForResponseFound::clear_player_slot() { - _impl_.player_slot_ = -1; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CClientMsg_ListenForResponseFound::_internal_player_slot() const { - return _impl_.player_slot_; -} -inline int32_t CClientMsg_ListenForResponseFound::player_slot() const { - // @@protoc_insertion_point(field_get:CClientMsg_ListenForResponseFound.player_slot) - return _internal_player_slot(); -} -inline void CClientMsg_ListenForResponseFound::_internal_set_player_slot(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.player_slot_ = value; -} -inline void CClientMsg_ListenForResponseFound::set_player_slot(int32_t value) { - _internal_set_player_slot(value); - // @@protoc_insertion_point(field_set:CClientMsg_ListenForResponseFound.player_slot) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::EBaseClientMessages> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EBaseClientMessages>() { - return ::EBaseClientMessages_descriptor(); -} -template <> struct is_proto_enum< ::EClientUIEvent> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EClientUIEvent>() { - return ::EClientUIEvent_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_clientmessages_2eproto diff --git a/protobuf/generated/connectionless_netmessages.pb.cc b/protobuf/generated/connectionless_netmessages.pb.cc deleted file mode 100644 index 123e4ef38..000000000 --- a/protobuf/generated/connectionless_netmessages.pb.cc +++ /dev/null @@ -1,1266 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: connectionless_netmessages.proto - -#include "connectionless_netmessages.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR C2S_CONNECT_SameProcessCheck::C2S_CONNECT_SameProcessCheck( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.localhost_process_id_)*/uint64_t{0u} - , /*decltype(_impl_.key_)*/uint64_t{0u}} {} -struct C2S_CONNECT_SameProcessCheckDefaultTypeInternal { - PROTOBUF_CONSTEXPR C2S_CONNECT_SameProcessCheckDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~C2S_CONNECT_SameProcessCheckDefaultTypeInternal() {} - union { - C2S_CONNECT_SameProcessCheck _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 C2S_CONNECT_SameProcessCheckDefaultTypeInternal _C2S_CONNECT_SameProcessCheck_default_instance_; -PROTOBUF_CONSTEXPR C2S_CONNECT_Message::C2S_CONNECT_Message( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.splitplayers_)*/{} - , /*decltype(_impl_.encrypted_password_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.auth_steam_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.challenge_context_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.localhost_same_process_check_)*/nullptr - , /*decltype(_impl_.host_version_)*/0u - , /*decltype(_impl_.auth_protocol_)*/0u - , /*decltype(_impl_.reservation_cookie_)*/uint64_t{0u} - , /*decltype(_impl_.challenge_number_)*/0u - , /*decltype(_impl_.low_violence_)*/false} {} -struct C2S_CONNECT_MessageDefaultTypeInternal { - PROTOBUF_CONSTEXPR C2S_CONNECT_MessageDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~C2S_CONNECT_MessageDefaultTypeInternal() {} - union { - C2S_CONNECT_Message _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 C2S_CONNECT_MessageDefaultTypeInternal _C2S_CONNECT_Message_default_instance_; -PROTOBUF_CONSTEXPR C2S_CONNECTION_Message::C2S_CONNECTION_Message( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.addon_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.localhost_same_process_check_)*/nullptr} {} -struct C2S_CONNECTION_MessageDefaultTypeInternal { - PROTOBUF_CONSTEXPR C2S_CONNECTION_MessageDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~C2S_CONNECTION_MessageDefaultTypeInternal() {} - union { - C2S_CONNECTION_Message _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 C2S_CONNECTION_MessageDefaultTypeInternal _C2S_CONNECTION_Message_default_instance_; -static ::_pb::Metadata file_level_metadata_connectionless_5fnetmessages_2eproto[3]; -static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_connectionless_5fnetmessages_2eproto = nullptr; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_connectionless_5fnetmessages_2eproto = nullptr; - -const uint32_t TableStruct_connectionless_5fnetmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_SameProcessCheck, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_SameProcessCheck, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_SameProcessCheck, _impl_.localhost_process_id_), - PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_SameProcessCheck, _impl_.key_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.host_version_), - PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.auth_protocol_), - PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.challenge_number_), - PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.reservation_cookie_), - PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.low_violence_), - PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.encrypted_password_), - PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.splitplayers_), - PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.auth_steam_), - PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.challenge_context_), - PROTOBUF_FIELD_OFFSET(::C2S_CONNECT_Message, _impl_.localhost_same_process_check_), - 4, - 5, - 7, - 6, - 8, - 0, - ~0u, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::C2S_CONNECTION_Message, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::C2S_CONNECTION_Message, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::C2S_CONNECTION_Message, _impl_.addon_name_), - PROTOBUF_FIELD_OFFSET(::C2S_CONNECTION_Message, _impl_.localhost_same_process_check_), - 0, - 1, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 8, -1, sizeof(::C2S_CONNECT_SameProcessCheck)}, - { 10, 26, -1, sizeof(::C2S_CONNECT_Message)}, - { 36, 44, -1, sizeof(::C2S_CONNECTION_Message)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_C2S_CONNECT_SameProcessCheck_default_instance_._instance, - &::_C2S_CONNECT_Message_default_instance_._instance, - &::_C2S_CONNECTION_Message_default_instance_._instance, -}; - -const char descriptor_table_protodef_connectionless_5fnetmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n connectionless_netmessages.proto\032\021netm" - "essages.proto\"I\n\034C2S_CONNECT_SameProcess" - "Check\022\034\n\024localhost_process_id\030\001 \001(\004\022\013\n\003k" - "ey\030\002 \001(\004\"\321\002\n\023C2S_CONNECT_Message\022\024\n\014host" - "_version\030\001 \001(\r\022\025\n\rauth_protocol\030\002 \001(\r\022\030\n" - "\020challenge_number\030\003 \001(\r\022\032\n\022reservation_c" - "ookie\030\004 \001(\006\022\024\n\014low_violence\030\005 \001(\010\022\032\n\022enc" - "rypted_password\030\006 \001(\014\0221\n\014splitplayers\030\007 " - "\003(\0132\033.CCLCMsg_SplitPlayerConnect\022\022\n\nauth" - "_steam\030\010 \001(\014\022\031\n\021challenge_context\030\t \001(\t\022" - "C\n\034localhost_same_process_check\030\n \001(\0132\035." - "C2S_CONNECT_SameProcessCheck\"q\n\026C2S_CONN" - "ECTION_Message\022\022\n\naddon_name\030\001 \001(\t\022C\n\034lo" - "calhost_same_process_check\030\002 \001(\0132\035.C2S_C" - "ONNECT_SameProcessCheck" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_connectionless_5fnetmessages_2eproto_deps[1] = { - &::descriptor_table_netmessages_2eproto, -}; -static ::_pbi::once_flag descriptor_table_connectionless_5fnetmessages_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_connectionless_5fnetmessages_2eproto = { - false, false, 583, descriptor_table_protodef_connectionless_5fnetmessages_2eproto, - "connectionless_netmessages.proto", - &descriptor_table_connectionless_5fnetmessages_2eproto_once, descriptor_table_connectionless_5fnetmessages_2eproto_deps, 1, 3, - schemas, file_default_instances, TableStruct_connectionless_5fnetmessages_2eproto::offsets, - file_level_metadata_connectionless_5fnetmessages_2eproto, file_level_enum_descriptors_connectionless_5fnetmessages_2eproto, - file_level_service_descriptors_connectionless_5fnetmessages_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_connectionless_5fnetmessages_2eproto_getter() { - return &descriptor_table_connectionless_5fnetmessages_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_connectionless_5fnetmessages_2eproto(&descriptor_table_connectionless_5fnetmessages_2eproto); - -// =================================================================== - -class C2S_CONNECT_SameProcessCheck::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_localhost_process_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_key(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -C2S_CONNECT_SameProcessCheck::C2S_CONNECT_SameProcessCheck(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:C2S_CONNECT_SameProcessCheck) -} -C2S_CONNECT_SameProcessCheck::C2S_CONNECT_SameProcessCheck(const C2S_CONNECT_SameProcessCheck& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - C2S_CONNECT_SameProcessCheck* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.localhost_process_id_){} - , decltype(_impl_.key_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.localhost_process_id_, &from._impl_.localhost_process_id_, - static_cast(reinterpret_cast(&_impl_.key_) - - reinterpret_cast(&_impl_.localhost_process_id_)) + sizeof(_impl_.key_)); - // @@protoc_insertion_point(copy_constructor:C2S_CONNECT_SameProcessCheck) -} - -inline void C2S_CONNECT_SameProcessCheck::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.localhost_process_id_){uint64_t{0u}} - , decltype(_impl_.key_){uint64_t{0u}} - }; -} - -C2S_CONNECT_SameProcessCheck::~C2S_CONNECT_SameProcessCheck() { - // @@protoc_insertion_point(destructor:C2S_CONNECT_SameProcessCheck) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void C2S_CONNECT_SameProcessCheck::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void C2S_CONNECT_SameProcessCheck::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void C2S_CONNECT_SameProcessCheck::Clear() { -// @@protoc_insertion_point(message_clear_start:C2S_CONNECT_SameProcessCheck) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.localhost_process_id_, 0, static_cast( - reinterpret_cast(&_impl_.key_) - - reinterpret_cast(&_impl_.localhost_process_id_)) + sizeof(_impl_.key_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* C2S_CONNECT_SameProcessCheck::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 localhost_process_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_localhost_process_id(&has_bits); - _impl_.localhost_process_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 key = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_key(&has_bits); - _impl_.key_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* C2S_CONNECT_SameProcessCheck::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:C2S_CONNECT_SameProcessCheck) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 localhost_process_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_localhost_process_id(), target); - } - - // optional uint64 key = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_key(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:C2S_CONNECT_SameProcessCheck) - return target; -} - -size_t C2S_CONNECT_SameProcessCheck::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:C2S_CONNECT_SameProcessCheck) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 localhost_process_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_localhost_process_id()); - } - - // optional uint64 key = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_key()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData C2S_CONNECT_SameProcessCheck::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - C2S_CONNECT_SameProcessCheck::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*C2S_CONNECT_SameProcessCheck::GetClassData() const { return &_class_data_; } - - -void C2S_CONNECT_SameProcessCheck::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:C2S_CONNECT_SameProcessCheck) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.localhost_process_id_ = from._impl_.localhost_process_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.key_ = from._impl_.key_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void C2S_CONNECT_SameProcessCheck::CopyFrom(const C2S_CONNECT_SameProcessCheck& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:C2S_CONNECT_SameProcessCheck) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool C2S_CONNECT_SameProcessCheck::IsInitialized() const { - return true; -} - -void C2S_CONNECT_SameProcessCheck::InternalSwap(C2S_CONNECT_SameProcessCheck* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(C2S_CONNECT_SameProcessCheck, _impl_.key_) - + sizeof(C2S_CONNECT_SameProcessCheck::_impl_.key_) - - PROTOBUF_FIELD_OFFSET(C2S_CONNECT_SameProcessCheck, _impl_.localhost_process_id_)>( - reinterpret_cast(&_impl_.localhost_process_id_), - reinterpret_cast(&other->_impl_.localhost_process_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata C2S_CONNECT_SameProcessCheck::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_connectionless_5fnetmessages_2eproto_getter, &descriptor_table_connectionless_5fnetmessages_2eproto_once, - file_level_metadata_connectionless_5fnetmessages_2eproto[0]); -} - -// =================================================================== - -class C2S_CONNECT_Message::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_host_version(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_auth_protocol(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_challenge_number(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_reservation_cookie(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_low_violence(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_encrypted_password(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_auth_steam(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_challenge_context(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::C2S_CONNECT_SameProcessCheck& localhost_same_process_check(const C2S_CONNECT_Message* msg); - static void set_has_localhost_same_process_check(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::C2S_CONNECT_SameProcessCheck& -C2S_CONNECT_Message::_Internal::localhost_same_process_check(const C2S_CONNECT_Message* msg) { - return *msg->_impl_.localhost_same_process_check_; -} -void C2S_CONNECT_Message::clear_splitplayers() { - _impl_.splitplayers_.Clear(); -} -C2S_CONNECT_Message::C2S_CONNECT_Message(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:C2S_CONNECT_Message) -} -C2S_CONNECT_Message::C2S_CONNECT_Message(const C2S_CONNECT_Message& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - C2S_CONNECT_Message* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.splitplayers_){from._impl_.splitplayers_} - , decltype(_impl_.encrypted_password_){} - , decltype(_impl_.auth_steam_){} - , decltype(_impl_.challenge_context_){} - , decltype(_impl_.localhost_same_process_check_){nullptr} - , decltype(_impl_.host_version_){} - , decltype(_impl_.auth_protocol_){} - , decltype(_impl_.reservation_cookie_){} - , decltype(_impl_.challenge_number_){} - , decltype(_impl_.low_violence_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.encrypted_password_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encrypted_password_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_encrypted_password()) { - _this->_impl_.encrypted_password_.Set(from._internal_encrypted_password(), - _this->GetArenaForAllocation()); - } - _impl_.auth_steam_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.auth_steam_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_auth_steam()) { - _this->_impl_.auth_steam_.Set(from._internal_auth_steam(), - _this->GetArenaForAllocation()); - } - _impl_.challenge_context_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.challenge_context_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_challenge_context()) { - _this->_impl_.challenge_context_.Set(from._internal_challenge_context(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_localhost_same_process_check()) { - _this->_impl_.localhost_same_process_check_ = new ::C2S_CONNECT_SameProcessCheck(*from._impl_.localhost_same_process_check_); - } - ::memcpy(&_impl_.host_version_, &from._impl_.host_version_, - static_cast(reinterpret_cast(&_impl_.low_violence_) - - reinterpret_cast(&_impl_.host_version_)) + sizeof(_impl_.low_violence_)); - // @@protoc_insertion_point(copy_constructor:C2S_CONNECT_Message) -} - -inline void C2S_CONNECT_Message::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.splitplayers_){arena} - , decltype(_impl_.encrypted_password_){} - , decltype(_impl_.auth_steam_){} - , decltype(_impl_.challenge_context_){} - , decltype(_impl_.localhost_same_process_check_){nullptr} - , decltype(_impl_.host_version_){0u} - , decltype(_impl_.auth_protocol_){0u} - , decltype(_impl_.reservation_cookie_){uint64_t{0u}} - , decltype(_impl_.challenge_number_){0u} - , decltype(_impl_.low_violence_){false} - }; - _impl_.encrypted_password_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encrypted_password_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.auth_steam_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.auth_steam_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.challenge_context_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.challenge_context_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -C2S_CONNECT_Message::~C2S_CONNECT_Message() { - // @@protoc_insertion_point(destructor:C2S_CONNECT_Message) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void C2S_CONNECT_Message::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.splitplayers_.~RepeatedPtrField(); - _impl_.encrypted_password_.Destroy(); - _impl_.auth_steam_.Destroy(); - _impl_.challenge_context_.Destroy(); - if (this != internal_default_instance()) delete _impl_.localhost_same_process_check_; -} - -void C2S_CONNECT_Message::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void C2S_CONNECT_Message::Clear() { -// @@protoc_insertion_point(message_clear_start:C2S_CONNECT_Message) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.splitplayers_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.encrypted_password_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.auth_steam_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.challenge_context_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.localhost_same_process_check_ != nullptr); - _impl_.localhost_same_process_check_->Clear(); - } - } - if (cached_has_bits & 0x000000f0u) { - ::memset(&_impl_.host_version_, 0, static_cast( - reinterpret_cast(&_impl_.challenge_number_) - - reinterpret_cast(&_impl_.host_version_)) + sizeof(_impl_.challenge_number_)); - } - _impl_.low_violence_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* C2S_CONNECT_Message::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 host_version = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_host_version(&has_bits); - _impl_.host_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 auth_protocol = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_auth_protocol(&has_bits); - _impl_.auth_protocol_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 challenge_number = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_challenge_number(&has_bits); - _impl_.challenge_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 reservation_cookie = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { - _Internal::set_has_reservation_cookie(&has_bits); - _impl_.reservation_cookie_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional bool low_violence = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_low_violence(&has_bits); - _impl_.low_violence_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes encrypted_password = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_encrypted_password(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CCLCMsg_SplitPlayerConnect splitplayers = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_splitplayers(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr)); - } else - goto handle_unusual; - continue; - // optional bytes auth_steam = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_auth_steam(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string challenge_context = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_challenge_context(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "C2S_CONNECT_Message.challenge_context"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr = ctx->ParseMessage(_internal_mutable_localhost_same_process_check(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* C2S_CONNECT_Message::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:C2S_CONNECT_Message) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 host_version = 1; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_host_version(), target); - } - - // optional uint32 auth_protocol = 2; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_auth_protocol(), target); - } - - // optional uint32 challenge_number = 3; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_challenge_number(), target); - } - - // optional fixed64 reservation_cookie = 4; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_reservation_cookie(), target); - } - - // optional bool low_violence = 5; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_low_violence(), target); - } - - // optional bytes encrypted_password = 6; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 6, this->_internal_encrypted_password(), target); - } - - // repeated .CCLCMsg_SplitPlayerConnect splitplayers = 7; - for (unsigned i = 0, - n = static_cast(this->_internal_splitplayers_size()); i < n; i++) { - const auto& repfield = this->_internal_splitplayers(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional bytes auth_steam = 8; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 8, this->_internal_auth_steam(), target); - } - - // optional string challenge_context = 9; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_challenge_context().data(), static_cast(this->_internal_challenge_context().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "C2S_CONNECT_Message.challenge_context"); - target = stream->WriteStringMaybeAliased( - 9, this->_internal_challenge_context(), target); - } - - // optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 10; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, _Internal::localhost_same_process_check(this), - _Internal::localhost_same_process_check(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:C2S_CONNECT_Message) - return target; -} - -size_t C2S_CONNECT_Message::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:C2S_CONNECT_Message) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CCLCMsg_SplitPlayerConnect splitplayers = 7; - total_size += 1UL * this->_internal_splitplayers_size(); - for (const auto& msg : this->_impl_.splitplayers_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bytes encrypted_password = 6; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_encrypted_password()); - } - - // optional bytes auth_steam = 8; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_auth_steam()); - } - - // optional string challenge_context = 9; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_challenge_context()); - } - - // optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 10; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.localhost_same_process_check_); - } - - // optional uint32 host_version = 1; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_host_version()); - } - - // optional uint32 auth_protocol = 2; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_auth_protocol()); - } - - // optional fixed64 reservation_cookie = 4; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 8; - } - - // optional uint32 challenge_number = 3; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_challenge_number()); - } - - } - // optional bool low_violence = 5; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData C2S_CONNECT_Message::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - C2S_CONNECT_Message::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*C2S_CONNECT_Message::GetClassData() const { return &_class_data_; } - - -void C2S_CONNECT_Message::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:C2S_CONNECT_Message) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.splitplayers_.MergeFrom(from._impl_.splitplayers_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_encrypted_password(from._internal_encrypted_password()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_auth_steam(from._internal_auth_steam()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_challenge_context(from._internal_challenge_context()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_localhost_same_process_check()->::C2S_CONNECT_SameProcessCheck::MergeFrom( - from._internal_localhost_same_process_check()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.host_version_ = from._impl_.host_version_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.auth_protocol_ = from._impl_.auth_protocol_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.reservation_cookie_ = from._impl_.reservation_cookie_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.challenge_number_ = from._impl_.challenge_number_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_low_violence(from._internal_low_violence()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void C2S_CONNECT_Message::CopyFrom(const C2S_CONNECT_Message& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:C2S_CONNECT_Message) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool C2S_CONNECT_Message::IsInitialized() const { - return true; -} - -void C2S_CONNECT_Message::InternalSwap(C2S_CONNECT_Message* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.splitplayers_.InternalSwap(&other->_impl_.splitplayers_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.encrypted_password_, lhs_arena, - &other->_impl_.encrypted_password_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.auth_steam_, lhs_arena, - &other->_impl_.auth_steam_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.challenge_context_, lhs_arena, - &other->_impl_.challenge_context_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(C2S_CONNECT_Message, _impl_.low_violence_) - + sizeof(C2S_CONNECT_Message::_impl_.low_violence_) - - PROTOBUF_FIELD_OFFSET(C2S_CONNECT_Message, _impl_.localhost_same_process_check_)>( - reinterpret_cast(&_impl_.localhost_same_process_check_), - reinterpret_cast(&other->_impl_.localhost_same_process_check_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata C2S_CONNECT_Message::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_connectionless_5fnetmessages_2eproto_getter, &descriptor_table_connectionless_5fnetmessages_2eproto_once, - file_level_metadata_connectionless_5fnetmessages_2eproto[1]); -} - -// =================================================================== - -class C2S_CONNECTION_Message::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_addon_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::C2S_CONNECT_SameProcessCheck& localhost_same_process_check(const C2S_CONNECTION_Message* msg); - static void set_has_localhost_same_process_check(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::C2S_CONNECT_SameProcessCheck& -C2S_CONNECTION_Message::_Internal::localhost_same_process_check(const C2S_CONNECTION_Message* msg) { - return *msg->_impl_.localhost_same_process_check_; -} -C2S_CONNECTION_Message::C2S_CONNECTION_Message(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:C2S_CONNECTION_Message) -} -C2S_CONNECTION_Message::C2S_CONNECTION_Message(const C2S_CONNECTION_Message& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - C2S_CONNECTION_Message* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.addon_name_){} - , decltype(_impl_.localhost_same_process_check_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.addon_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.addon_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_addon_name()) { - _this->_impl_.addon_name_.Set(from._internal_addon_name(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_localhost_same_process_check()) { - _this->_impl_.localhost_same_process_check_ = new ::C2S_CONNECT_SameProcessCheck(*from._impl_.localhost_same_process_check_); - } - // @@protoc_insertion_point(copy_constructor:C2S_CONNECTION_Message) -} - -inline void C2S_CONNECTION_Message::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.addon_name_){} - , decltype(_impl_.localhost_same_process_check_){nullptr} - }; - _impl_.addon_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.addon_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -C2S_CONNECTION_Message::~C2S_CONNECTION_Message() { - // @@protoc_insertion_point(destructor:C2S_CONNECTION_Message) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void C2S_CONNECTION_Message::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.addon_name_.Destroy(); - if (this != internal_default_instance()) delete _impl_.localhost_same_process_check_; -} - -void C2S_CONNECTION_Message::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void C2S_CONNECTION_Message::Clear() { -// @@protoc_insertion_point(message_clear_start:C2S_CONNECTION_Message) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.addon_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.localhost_same_process_check_ != nullptr); - _impl_.localhost_same_process_check_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* C2S_CONNECTION_Message::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string addon_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_addon_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "C2S_CONNECTION_Message.addon_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_localhost_same_process_check(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* C2S_CONNECTION_Message::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:C2S_CONNECTION_Message) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string addon_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_addon_name().data(), static_cast(this->_internal_addon_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "C2S_CONNECTION_Message.addon_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_addon_name(), target); - } - - // optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::localhost_same_process_check(this), - _Internal::localhost_same_process_check(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:C2S_CONNECTION_Message) - return target; -} - -size_t C2S_CONNECTION_Message::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:C2S_CONNECTION_Message) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string addon_name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_addon_name()); - } - - // optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.localhost_same_process_check_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData C2S_CONNECTION_Message::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - C2S_CONNECTION_Message::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*C2S_CONNECTION_Message::GetClassData() const { return &_class_data_; } - - -void C2S_CONNECTION_Message::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:C2S_CONNECTION_Message) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_addon_name(from._internal_addon_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_localhost_same_process_check()->::C2S_CONNECT_SameProcessCheck::MergeFrom( - from._internal_localhost_same_process_check()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void C2S_CONNECTION_Message::CopyFrom(const C2S_CONNECTION_Message& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:C2S_CONNECTION_Message) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool C2S_CONNECTION_Message::IsInitialized() const { - return true; -} - -void C2S_CONNECTION_Message::InternalSwap(C2S_CONNECTION_Message* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.addon_name_, lhs_arena, - &other->_impl_.addon_name_, rhs_arena - ); - swap(_impl_.localhost_same_process_check_, other->_impl_.localhost_same_process_check_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata C2S_CONNECTION_Message::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_connectionless_5fnetmessages_2eproto_getter, &descriptor_table_connectionless_5fnetmessages_2eproto_once, - file_level_metadata_connectionless_5fnetmessages_2eproto[2]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::C2S_CONNECT_SameProcessCheck* -Arena::CreateMaybeMessage< ::C2S_CONNECT_SameProcessCheck >(Arena* arena) { - return Arena::CreateMessageInternal< ::C2S_CONNECT_SameProcessCheck >(arena); -} -template<> PROTOBUF_NOINLINE ::C2S_CONNECT_Message* -Arena::CreateMaybeMessage< ::C2S_CONNECT_Message >(Arena* arena) { - return Arena::CreateMessageInternal< ::C2S_CONNECT_Message >(arena); -} -template<> PROTOBUF_NOINLINE ::C2S_CONNECTION_Message* -Arena::CreateMaybeMessage< ::C2S_CONNECTION_Message >(Arena* arena) { - return Arena::CreateMessageInternal< ::C2S_CONNECTION_Message >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/connectionless_netmessages.pb.h b/protobuf/generated/connectionless_netmessages.pb.h deleted file mode 100644 index 558bc3fcb..000000000 --- a/protobuf/generated/connectionless_netmessages.pb.h +++ /dev/null @@ -1,1461 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: connectionless_netmessages.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_connectionless_5fnetmessages_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_connectionless_5fnetmessages_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "netmessages.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_connectionless_5fnetmessages_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_connectionless_5fnetmessages_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_connectionless_5fnetmessages_2eproto; -class C2S_CONNECTION_Message; -struct C2S_CONNECTION_MessageDefaultTypeInternal; -extern C2S_CONNECTION_MessageDefaultTypeInternal _C2S_CONNECTION_Message_default_instance_; -class C2S_CONNECT_Message; -struct C2S_CONNECT_MessageDefaultTypeInternal; -extern C2S_CONNECT_MessageDefaultTypeInternal _C2S_CONNECT_Message_default_instance_; -class C2S_CONNECT_SameProcessCheck; -struct C2S_CONNECT_SameProcessCheckDefaultTypeInternal; -extern C2S_CONNECT_SameProcessCheckDefaultTypeInternal _C2S_CONNECT_SameProcessCheck_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::C2S_CONNECTION_Message* Arena::CreateMaybeMessage<::C2S_CONNECTION_Message>(Arena*); -template<> ::C2S_CONNECT_Message* Arena::CreateMaybeMessage<::C2S_CONNECT_Message>(Arena*); -template<> ::C2S_CONNECT_SameProcessCheck* Arena::CreateMaybeMessage<::C2S_CONNECT_SameProcessCheck>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -// =================================================================== - -class C2S_CONNECT_SameProcessCheck : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:C2S_CONNECT_SameProcessCheck) */ { - public: - inline C2S_CONNECT_SameProcessCheck() : C2S_CONNECT_SameProcessCheck(nullptr) {} - ~C2S_CONNECT_SameProcessCheck() override; - explicit PROTOBUF_CONSTEXPR C2S_CONNECT_SameProcessCheck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - C2S_CONNECT_SameProcessCheck(const C2S_CONNECT_SameProcessCheck& from); - C2S_CONNECT_SameProcessCheck(C2S_CONNECT_SameProcessCheck&& from) noexcept - : C2S_CONNECT_SameProcessCheck() { - *this = ::std::move(from); - } - - inline C2S_CONNECT_SameProcessCheck& operator=(const C2S_CONNECT_SameProcessCheck& from) { - CopyFrom(from); - return *this; - } - inline C2S_CONNECT_SameProcessCheck& operator=(C2S_CONNECT_SameProcessCheck&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const C2S_CONNECT_SameProcessCheck& default_instance() { - return *internal_default_instance(); - } - static inline const C2S_CONNECT_SameProcessCheck* internal_default_instance() { - return reinterpret_cast( - &_C2S_CONNECT_SameProcessCheck_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(C2S_CONNECT_SameProcessCheck& a, C2S_CONNECT_SameProcessCheck& b) { - a.Swap(&b); - } - inline void Swap(C2S_CONNECT_SameProcessCheck* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(C2S_CONNECT_SameProcessCheck* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - C2S_CONNECT_SameProcessCheck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const C2S_CONNECT_SameProcessCheck& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const C2S_CONNECT_SameProcessCheck& from) { - C2S_CONNECT_SameProcessCheck::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(C2S_CONNECT_SameProcessCheck* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "C2S_CONNECT_SameProcessCheck"; - } - protected: - explicit C2S_CONNECT_SameProcessCheck(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLocalhostProcessIdFieldNumber = 1, - kKeyFieldNumber = 2, - }; - // optional uint64 localhost_process_id = 1; - bool has_localhost_process_id() const; - private: - bool _internal_has_localhost_process_id() const; - public: - void clear_localhost_process_id(); - uint64_t localhost_process_id() const; - void set_localhost_process_id(uint64_t value); - private: - uint64_t _internal_localhost_process_id() const; - void _internal_set_localhost_process_id(uint64_t value); - public: - - // optional uint64 key = 2; - bool has_key() const; - private: - bool _internal_has_key() const; - public: - void clear_key(); - uint64_t key() const; - void set_key(uint64_t value); - private: - uint64_t _internal_key() const; - void _internal_set_key(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:C2S_CONNECT_SameProcessCheck) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t localhost_process_id_; - uint64_t key_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_connectionless_5fnetmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class C2S_CONNECT_Message : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:C2S_CONNECT_Message) */ { - public: - inline C2S_CONNECT_Message() : C2S_CONNECT_Message(nullptr) {} - ~C2S_CONNECT_Message() override; - explicit PROTOBUF_CONSTEXPR C2S_CONNECT_Message(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - C2S_CONNECT_Message(const C2S_CONNECT_Message& from); - C2S_CONNECT_Message(C2S_CONNECT_Message&& from) noexcept - : C2S_CONNECT_Message() { - *this = ::std::move(from); - } - - inline C2S_CONNECT_Message& operator=(const C2S_CONNECT_Message& from) { - CopyFrom(from); - return *this; - } - inline C2S_CONNECT_Message& operator=(C2S_CONNECT_Message&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const C2S_CONNECT_Message& default_instance() { - return *internal_default_instance(); - } - static inline const C2S_CONNECT_Message* internal_default_instance() { - return reinterpret_cast( - &_C2S_CONNECT_Message_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(C2S_CONNECT_Message& a, C2S_CONNECT_Message& b) { - a.Swap(&b); - } - inline void Swap(C2S_CONNECT_Message* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(C2S_CONNECT_Message* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - C2S_CONNECT_Message* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const C2S_CONNECT_Message& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const C2S_CONNECT_Message& from) { - C2S_CONNECT_Message::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(C2S_CONNECT_Message* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "C2S_CONNECT_Message"; - } - protected: - explicit C2S_CONNECT_Message(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSplitplayersFieldNumber = 7, - kEncryptedPasswordFieldNumber = 6, - kAuthSteamFieldNumber = 8, - kChallengeContextFieldNumber = 9, - kLocalhostSameProcessCheckFieldNumber = 10, - kHostVersionFieldNumber = 1, - kAuthProtocolFieldNumber = 2, - kReservationCookieFieldNumber = 4, - kChallengeNumberFieldNumber = 3, - kLowViolenceFieldNumber = 5, - }; - // repeated .CCLCMsg_SplitPlayerConnect splitplayers = 7; - int splitplayers_size() const; - private: - int _internal_splitplayers_size() const; - public: - void clear_splitplayers(); - ::CCLCMsg_SplitPlayerConnect* mutable_splitplayers(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCLCMsg_SplitPlayerConnect >* - mutable_splitplayers(); - private: - const ::CCLCMsg_SplitPlayerConnect& _internal_splitplayers(int index) const; - ::CCLCMsg_SplitPlayerConnect* _internal_add_splitplayers(); - public: - const ::CCLCMsg_SplitPlayerConnect& splitplayers(int index) const; - ::CCLCMsg_SplitPlayerConnect* add_splitplayers(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCLCMsg_SplitPlayerConnect >& - splitplayers() const; - - // optional bytes encrypted_password = 6; - bool has_encrypted_password() const; - private: - bool _internal_has_encrypted_password() const; - public: - void clear_encrypted_password(); - const std::string& encrypted_password() const; - template - void set_encrypted_password(ArgT0&& arg0, ArgT... args); - std::string* mutable_encrypted_password(); - PROTOBUF_NODISCARD std::string* release_encrypted_password(); - void set_allocated_encrypted_password(std::string* encrypted_password); - private: - const std::string& _internal_encrypted_password() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_encrypted_password(const std::string& value); - std::string* _internal_mutable_encrypted_password(); - public: - - // optional bytes auth_steam = 8; - bool has_auth_steam() const; - private: - bool _internal_has_auth_steam() const; - public: - void clear_auth_steam(); - const std::string& auth_steam() const; - template - void set_auth_steam(ArgT0&& arg0, ArgT... args); - std::string* mutable_auth_steam(); - PROTOBUF_NODISCARD std::string* release_auth_steam(); - void set_allocated_auth_steam(std::string* auth_steam); - private: - const std::string& _internal_auth_steam() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_auth_steam(const std::string& value); - std::string* _internal_mutable_auth_steam(); - public: - - // optional string challenge_context = 9; - bool has_challenge_context() const; - private: - bool _internal_has_challenge_context() const; - public: - void clear_challenge_context(); - const std::string& challenge_context() const; - template - void set_challenge_context(ArgT0&& arg0, ArgT... args); - std::string* mutable_challenge_context(); - PROTOBUF_NODISCARD std::string* release_challenge_context(); - void set_allocated_challenge_context(std::string* challenge_context); - private: - const std::string& _internal_challenge_context() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_challenge_context(const std::string& value); - std::string* _internal_mutable_challenge_context(); - public: - - // optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 10; - bool has_localhost_same_process_check() const; - private: - bool _internal_has_localhost_same_process_check() const; - public: - void clear_localhost_same_process_check(); - const ::C2S_CONNECT_SameProcessCheck& localhost_same_process_check() const; - PROTOBUF_NODISCARD ::C2S_CONNECT_SameProcessCheck* release_localhost_same_process_check(); - ::C2S_CONNECT_SameProcessCheck* mutable_localhost_same_process_check(); - void set_allocated_localhost_same_process_check(::C2S_CONNECT_SameProcessCheck* localhost_same_process_check); - private: - const ::C2S_CONNECT_SameProcessCheck& _internal_localhost_same_process_check() const; - ::C2S_CONNECT_SameProcessCheck* _internal_mutable_localhost_same_process_check(); - public: - void unsafe_arena_set_allocated_localhost_same_process_check( - ::C2S_CONNECT_SameProcessCheck* localhost_same_process_check); - ::C2S_CONNECT_SameProcessCheck* unsafe_arena_release_localhost_same_process_check(); - - // optional uint32 host_version = 1; - bool has_host_version() const; - private: - bool _internal_has_host_version() const; - public: - void clear_host_version(); - uint32_t host_version() const; - void set_host_version(uint32_t value); - private: - uint32_t _internal_host_version() const; - void _internal_set_host_version(uint32_t value); - public: - - // optional uint32 auth_protocol = 2; - bool has_auth_protocol() const; - private: - bool _internal_has_auth_protocol() const; - public: - void clear_auth_protocol(); - uint32_t auth_protocol() const; - void set_auth_protocol(uint32_t value); - private: - uint32_t _internal_auth_protocol() const; - void _internal_set_auth_protocol(uint32_t value); - public: - - // optional fixed64 reservation_cookie = 4; - bool has_reservation_cookie() const; - private: - bool _internal_has_reservation_cookie() const; - public: - void clear_reservation_cookie(); - uint64_t reservation_cookie() const; - void set_reservation_cookie(uint64_t value); - private: - uint64_t _internal_reservation_cookie() const; - void _internal_set_reservation_cookie(uint64_t value); - public: - - // optional uint32 challenge_number = 3; - bool has_challenge_number() const; - private: - bool _internal_has_challenge_number() const; - public: - void clear_challenge_number(); - uint32_t challenge_number() const; - void set_challenge_number(uint32_t value); - private: - uint32_t _internal_challenge_number() const; - void _internal_set_challenge_number(uint32_t value); - public: - - // optional bool low_violence = 5; - bool has_low_violence() const; - private: - bool _internal_has_low_violence() const; - public: - void clear_low_violence(); - bool low_violence() const; - void set_low_violence(bool value); - private: - bool _internal_low_violence() const; - void _internal_set_low_violence(bool value); - public: - - // @@protoc_insertion_point(class_scope:C2S_CONNECT_Message) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCLCMsg_SplitPlayerConnect > splitplayers_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encrypted_password_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr auth_steam_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr challenge_context_; - ::C2S_CONNECT_SameProcessCheck* localhost_same_process_check_; - uint32_t host_version_; - uint32_t auth_protocol_; - uint64_t reservation_cookie_; - uint32_t challenge_number_; - bool low_violence_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_connectionless_5fnetmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class C2S_CONNECTION_Message : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:C2S_CONNECTION_Message) */ { - public: - inline C2S_CONNECTION_Message() : C2S_CONNECTION_Message(nullptr) {} - ~C2S_CONNECTION_Message() override; - explicit PROTOBUF_CONSTEXPR C2S_CONNECTION_Message(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - C2S_CONNECTION_Message(const C2S_CONNECTION_Message& from); - C2S_CONNECTION_Message(C2S_CONNECTION_Message&& from) noexcept - : C2S_CONNECTION_Message() { - *this = ::std::move(from); - } - - inline C2S_CONNECTION_Message& operator=(const C2S_CONNECTION_Message& from) { - CopyFrom(from); - return *this; - } - inline C2S_CONNECTION_Message& operator=(C2S_CONNECTION_Message&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const C2S_CONNECTION_Message& default_instance() { - return *internal_default_instance(); - } - static inline const C2S_CONNECTION_Message* internal_default_instance() { - return reinterpret_cast( - &_C2S_CONNECTION_Message_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(C2S_CONNECTION_Message& a, C2S_CONNECTION_Message& b) { - a.Swap(&b); - } - inline void Swap(C2S_CONNECTION_Message* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(C2S_CONNECTION_Message* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - C2S_CONNECTION_Message* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const C2S_CONNECTION_Message& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const C2S_CONNECTION_Message& from) { - C2S_CONNECTION_Message::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(C2S_CONNECTION_Message* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "C2S_CONNECTION_Message"; - } - protected: - explicit C2S_CONNECTION_Message(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAddonNameFieldNumber = 1, - kLocalhostSameProcessCheckFieldNumber = 2, - }; - // optional string addon_name = 1; - bool has_addon_name() const; - private: - bool _internal_has_addon_name() const; - public: - void clear_addon_name(); - const std::string& addon_name() const; - template - void set_addon_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_addon_name(); - PROTOBUF_NODISCARD std::string* release_addon_name(); - void set_allocated_addon_name(std::string* addon_name); - private: - const std::string& _internal_addon_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_addon_name(const std::string& value); - std::string* _internal_mutable_addon_name(); - public: - - // optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 2; - bool has_localhost_same_process_check() const; - private: - bool _internal_has_localhost_same_process_check() const; - public: - void clear_localhost_same_process_check(); - const ::C2S_CONNECT_SameProcessCheck& localhost_same_process_check() const; - PROTOBUF_NODISCARD ::C2S_CONNECT_SameProcessCheck* release_localhost_same_process_check(); - ::C2S_CONNECT_SameProcessCheck* mutable_localhost_same_process_check(); - void set_allocated_localhost_same_process_check(::C2S_CONNECT_SameProcessCheck* localhost_same_process_check); - private: - const ::C2S_CONNECT_SameProcessCheck& _internal_localhost_same_process_check() const; - ::C2S_CONNECT_SameProcessCheck* _internal_mutable_localhost_same_process_check(); - public: - void unsafe_arena_set_allocated_localhost_same_process_check( - ::C2S_CONNECT_SameProcessCheck* localhost_same_process_check); - ::C2S_CONNECT_SameProcessCheck* unsafe_arena_release_localhost_same_process_check(); - - // @@protoc_insertion_point(class_scope:C2S_CONNECTION_Message) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr addon_name_; - ::C2S_CONNECT_SameProcessCheck* localhost_same_process_check_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_connectionless_5fnetmessages_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// C2S_CONNECT_SameProcessCheck - -// optional uint64 localhost_process_id = 1; -inline bool C2S_CONNECT_SameProcessCheck::_internal_has_localhost_process_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool C2S_CONNECT_SameProcessCheck::has_localhost_process_id() const { - return _internal_has_localhost_process_id(); -} -inline void C2S_CONNECT_SameProcessCheck::clear_localhost_process_id() { - _impl_.localhost_process_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t C2S_CONNECT_SameProcessCheck::_internal_localhost_process_id() const { - return _impl_.localhost_process_id_; -} -inline uint64_t C2S_CONNECT_SameProcessCheck::localhost_process_id() const { - // @@protoc_insertion_point(field_get:C2S_CONNECT_SameProcessCheck.localhost_process_id) - return _internal_localhost_process_id(); -} -inline void C2S_CONNECT_SameProcessCheck::_internal_set_localhost_process_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.localhost_process_id_ = value; -} -inline void C2S_CONNECT_SameProcessCheck::set_localhost_process_id(uint64_t value) { - _internal_set_localhost_process_id(value); - // @@protoc_insertion_point(field_set:C2S_CONNECT_SameProcessCheck.localhost_process_id) -} - -// optional uint64 key = 2; -inline bool C2S_CONNECT_SameProcessCheck::_internal_has_key() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool C2S_CONNECT_SameProcessCheck::has_key() const { - return _internal_has_key(); -} -inline void C2S_CONNECT_SameProcessCheck::clear_key() { - _impl_.key_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t C2S_CONNECT_SameProcessCheck::_internal_key() const { - return _impl_.key_; -} -inline uint64_t C2S_CONNECT_SameProcessCheck::key() const { - // @@protoc_insertion_point(field_get:C2S_CONNECT_SameProcessCheck.key) - return _internal_key(); -} -inline void C2S_CONNECT_SameProcessCheck::_internal_set_key(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.key_ = value; -} -inline void C2S_CONNECT_SameProcessCheck::set_key(uint64_t value) { - _internal_set_key(value); - // @@protoc_insertion_point(field_set:C2S_CONNECT_SameProcessCheck.key) -} - -// ------------------------------------------------------------------- - -// C2S_CONNECT_Message - -// optional uint32 host_version = 1; -inline bool C2S_CONNECT_Message::_internal_has_host_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool C2S_CONNECT_Message::has_host_version() const { - return _internal_has_host_version(); -} -inline void C2S_CONNECT_Message::clear_host_version() { - _impl_.host_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t C2S_CONNECT_Message::_internal_host_version() const { - return _impl_.host_version_; -} -inline uint32_t C2S_CONNECT_Message::host_version() const { - // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.host_version) - return _internal_host_version(); -} -inline void C2S_CONNECT_Message::_internal_set_host_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.host_version_ = value; -} -inline void C2S_CONNECT_Message::set_host_version(uint32_t value) { - _internal_set_host_version(value); - // @@protoc_insertion_point(field_set:C2S_CONNECT_Message.host_version) -} - -// optional uint32 auth_protocol = 2; -inline bool C2S_CONNECT_Message::_internal_has_auth_protocol() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool C2S_CONNECT_Message::has_auth_protocol() const { - return _internal_has_auth_protocol(); -} -inline void C2S_CONNECT_Message::clear_auth_protocol() { - _impl_.auth_protocol_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t C2S_CONNECT_Message::_internal_auth_protocol() const { - return _impl_.auth_protocol_; -} -inline uint32_t C2S_CONNECT_Message::auth_protocol() const { - // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.auth_protocol) - return _internal_auth_protocol(); -} -inline void C2S_CONNECT_Message::_internal_set_auth_protocol(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.auth_protocol_ = value; -} -inline void C2S_CONNECT_Message::set_auth_protocol(uint32_t value) { - _internal_set_auth_protocol(value); - // @@protoc_insertion_point(field_set:C2S_CONNECT_Message.auth_protocol) -} - -// optional uint32 challenge_number = 3; -inline bool C2S_CONNECT_Message::_internal_has_challenge_number() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool C2S_CONNECT_Message::has_challenge_number() const { - return _internal_has_challenge_number(); -} -inline void C2S_CONNECT_Message::clear_challenge_number() { - _impl_.challenge_number_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t C2S_CONNECT_Message::_internal_challenge_number() const { - return _impl_.challenge_number_; -} -inline uint32_t C2S_CONNECT_Message::challenge_number() const { - // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.challenge_number) - return _internal_challenge_number(); -} -inline void C2S_CONNECT_Message::_internal_set_challenge_number(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.challenge_number_ = value; -} -inline void C2S_CONNECT_Message::set_challenge_number(uint32_t value) { - _internal_set_challenge_number(value); - // @@protoc_insertion_point(field_set:C2S_CONNECT_Message.challenge_number) -} - -// optional fixed64 reservation_cookie = 4; -inline bool C2S_CONNECT_Message::_internal_has_reservation_cookie() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool C2S_CONNECT_Message::has_reservation_cookie() const { - return _internal_has_reservation_cookie(); -} -inline void C2S_CONNECT_Message::clear_reservation_cookie() { - _impl_.reservation_cookie_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint64_t C2S_CONNECT_Message::_internal_reservation_cookie() const { - return _impl_.reservation_cookie_; -} -inline uint64_t C2S_CONNECT_Message::reservation_cookie() const { - // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.reservation_cookie) - return _internal_reservation_cookie(); -} -inline void C2S_CONNECT_Message::_internal_set_reservation_cookie(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.reservation_cookie_ = value; -} -inline void C2S_CONNECT_Message::set_reservation_cookie(uint64_t value) { - _internal_set_reservation_cookie(value); - // @@protoc_insertion_point(field_set:C2S_CONNECT_Message.reservation_cookie) -} - -// optional bool low_violence = 5; -inline bool C2S_CONNECT_Message::_internal_has_low_violence() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool C2S_CONNECT_Message::has_low_violence() const { - return _internal_has_low_violence(); -} -inline void C2S_CONNECT_Message::clear_low_violence() { - _impl_.low_violence_ = false; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline bool C2S_CONNECT_Message::_internal_low_violence() const { - return _impl_.low_violence_; -} -inline bool C2S_CONNECT_Message::low_violence() const { - // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.low_violence) - return _internal_low_violence(); -} -inline void C2S_CONNECT_Message::_internal_set_low_violence(bool value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.low_violence_ = value; -} -inline void C2S_CONNECT_Message::set_low_violence(bool value) { - _internal_set_low_violence(value); - // @@protoc_insertion_point(field_set:C2S_CONNECT_Message.low_violence) -} - -// optional bytes encrypted_password = 6; -inline bool C2S_CONNECT_Message::_internal_has_encrypted_password() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool C2S_CONNECT_Message::has_encrypted_password() const { - return _internal_has_encrypted_password(); -} -inline void C2S_CONNECT_Message::clear_encrypted_password() { - _impl_.encrypted_password_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& C2S_CONNECT_Message::encrypted_password() const { - // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.encrypted_password) - return _internal_encrypted_password(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void C2S_CONNECT_Message::set_encrypted_password(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.encrypted_password_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:C2S_CONNECT_Message.encrypted_password) -} -inline std::string* C2S_CONNECT_Message::mutable_encrypted_password() { - std::string* _s = _internal_mutable_encrypted_password(); - // @@protoc_insertion_point(field_mutable:C2S_CONNECT_Message.encrypted_password) - return _s; -} -inline const std::string& C2S_CONNECT_Message::_internal_encrypted_password() const { - return _impl_.encrypted_password_.Get(); -} -inline void C2S_CONNECT_Message::_internal_set_encrypted_password(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.encrypted_password_.Set(value, GetArenaForAllocation()); -} -inline std::string* C2S_CONNECT_Message::_internal_mutable_encrypted_password() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.encrypted_password_.Mutable(GetArenaForAllocation()); -} -inline std::string* C2S_CONNECT_Message::release_encrypted_password() { - // @@protoc_insertion_point(field_release:C2S_CONNECT_Message.encrypted_password) - if (!_internal_has_encrypted_password()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.encrypted_password_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.encrypted_password_.IsDefault()) { - _impl_.encrypted_password_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void C2S_CONNECT_Message::set_allocated_encrypted_password(std::string* encrypted_password) { - if (encrypted_password != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.encrypted_password_.SetAllocated(encrypted_password, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.encrypted_password_.IsDefault()) { - _impl_.encrypted_password_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:C2S_CONNECT_Message.encrypted_password) -} - -// repeated .CCLCMsg_SplitPlayerConnect splitplayers = 7; -inline int C2S_CONNECT_Message::_internal_splitplayers_size() const { - return _impl_.splitplayers_.size(); -} -inline int C2S_CONNECT_Message::splitplayers_size() const { - return _internal_splitplayers_size(); -} -inline ::CCLCMsg_SplitPlayerConnect* C2S_CONNECT_Message::mutable_splitplayers(int index) { - // @@protoc_insertion_point(field_mutable:C2S_CONNECT_Message.splitplayers) - return _impl_.splitplayers_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCLCMsg_SplitPlayerConnect >* -C2S_CONNECT_Message::mutable_splitplayers() { - // @@protoc_insertion_point(field_mutable_list:C2S_CONNECT_Message.splitplayers) - return &_impl_.splitplayers_; -} -inline const ::CCLCMsg_SplitPlayerConnect& C2S_CONNECT_Message::_internal_splitplayers(int index) const { - return _impl_.splitplayers_.Get(index); -} -inline const ::CCLCMsg_SplitPlayerConnect& C2S_CONNECT_Message::splitplayers(int index) const { - // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.splitplayers) - return _internal_splitplayers(index); -} -inline ::CCLCMsg_SplitPlayerConnect* C2S_CONNECT_Message::_internal_add_splitplayers() { - return _impl_.splitplayers_.Add(); -} -inline ::CCLCMsg_SplitPlayerConnect* C2S_CONNECT_Message::add_splitplayers() { - ::CCLCMsg_SplitPlayerConnect* _add = _internal_add_splitplayers(); - // @@protoc_insertion_point(field_add:C2S_CONNECT_Message.splitplayers) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCLCMsg_SplitPlayerConnect >& -C2S_CONNECT_Message::splitplayers() const { - // @@protoc_insertion_point(field_list:C2S_CONNECT_Message.splitplayers) - return _impl_.splitplayers_; -} - -// optional bytes auth_steam = 8; -inline bool C2S_CONNECT_Message::_internal_has_auth_steam() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool C2S_CONNECT_Message::has_auth_steam() const { - return _internal_has_auth_steam(); -} -inline void C2S_CONNECT_Message::clear_auth_steam() { - _impl_.auth_steam_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& C2S_CONNECT_Message::auth_steam() const { - // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.auth_steam) - return _internal_auth_steam(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void C2S_CONNECT_Message::set_auth_steam(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.auth_steam_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:C2S_CONNECT_Message.auth_steam) -} -inline std::string* C2S_CONNECT_Message::mutable_auth_steam() { - std::string* _s = _internal_mutable_auth_steam(); - // @@protoc_insertion_point(field_mutable:C2S_CONNECT_Message.auth_steam) - return _s; -} -inline const std::string& C2S_CONNECT_Message::_internal_auth_steam() const { - return _impl_.auth_steam_.Get(); -} -inline void C2S_CONNECT_Message::_internal_set_auth_steam(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.auth_steam_.Set(value, GetArenaForAllocation()); -} -inline std::string* C2S_CONNECT_Message::_internal_mutable_auth_steam() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.auth_steam_.Mutable(GetArenaForAllocation()); -} -inline std::string* C2S_CONNECT_Message::release_auth_steam() { - // @@protoc_insertion_point(field_release:C2S_CONNECT_Message.auth_steam) - if (!_internal_has_auth_steam()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.auth_steam_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.auth_steam_.IsDefault()) { - _impl_.auth_steam_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void C2S_CONNECT_Message::set_allocated_auth_steam(std::string* auth_steam) { - if (auth_steam != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.auth_steam_.SetAllocated(auth_steam, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.auth_steam_.IsDefault()) { - _impl_.auth_steam_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:C2S_CONNECT_Message.auth_steam) -} - -// optional string challenge_context = 9; -inline bool C2S_CONNECT_Message::_internal_has_challenge_context() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool C2S_CONNECT_Message::has_challenge_context() const { - return _internal_has_challenge_context(); -} -inline void C2S_CONNECT_Message::clear_challenge_context() { - _impl_.challenge_context_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& C2S_CONNECT_Message::challenge_context() const { - // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.challenge_context) - return _internal_challenge_context(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void C2S_CONNECT_Message::set_challenge_context(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.challenge_context_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:C2S_CONNECT_Message.challenge_context) -} -inline std::string* C2S_CONNECT_Message::mutable_challenge_context() { - std::string* _s = _internal_mutable_challenge_context(); - // @@protoc_insertion_point(field_mutable:C2S_CONNECT_Message.challenge_context) - return _s; -} -inline const std::string& C2S_CONNECT_Message::_internal_challenge_context() const { - return _impl_.challenge_context_.Get(); -} -inline void C2S_CONNECT_Message::_internal_set_challenge_context(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.challenge_context_.Set(value, GetArenaForAllocation()); -} -inline std::string* C2S_CONNECT_Message::_internal_mutable_challenge_context() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.challenge_context_.Mutable(GetArenaForAllocation()); -} -inline std::string* C2S_CONNECT_Message::release_challenge_context() { - // @@protoc_insertion_point(field_release:C2S_CONNECT_Message.challenge_context) - if (!_internal_has_challenge_context()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.challenge_context_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.challenge_context_.IsDefault()) { - _impl_.challenge_context_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void C2S_CONNECT_Message::set_allocated_challenge_context(std::string* challenge_context) { - if (challenge_context != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.challenge_context_.SetAllocated(challenge_context, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.challenge_context_.IsDefault()) { - _impl_.challenge_context_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:C2S_CONNECT_Message.challenge_context) -} - -// optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 10; -inline bool C2S_CONNECT_Message::_internal_has_localhost_same_process_check() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.localhost_same_process_check_ != nullptr); - return value; -} -inline bool C2S_CONNECT_Message::has_localhost_same_process_check() const { - return _internal_has_localhost_same_process_check(); -} -inline void C2S_CONNECT_Message::clear_localhost_same_process_check() { - if (_impl_.localhost_same_process_check_ != nullptr) _impl_.localhost_same_process_check_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::C2S_CONNECT_SameProcessCheck& C2S_CONNECT_Message::_internal_localhost_same_process_check() const { - const ::C2S_CONNECT_SameProcessCheck* p = _impl_.localhost_same_process_check_; - return p != nullptr ? *p : reinterpret_cast( - ::_C2S_CONNECT_SameProcessCheck_default_instance_); -} -inline const ::C2S_CONNECT_SameProcessCheck& C2S_CONNECT_Message::localhost_same_process_check() const { - // @@protoc_insertion_point(field_get:C2S_CONNECT_Message.localhost_same_process_check) - return _internal_localhost_same_process_check(); -} -inline void C2S_CONNECT_Message::unsafe_arena_set_allocated_localhost_same_process_check( - ::C2S_CONNECT_SameProcessCheck* localhost_same_process_check) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.localhost_same_process_check_); - } - _impl_.localhost_same_process_check_ = localhost_same_process_check; - if (localhost_same_process_check) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:C2S_CONNECT_Message.localhost_same_process_check) -} -inline ::C2S_CONNECT_SameProcessCheck* C2S_CONNECT_Message::release_localhost_same_process_check() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::C2S_CONNECT_SameProcessCheck* temp = _impl_.localhost_same_process_check_; - _impl_.localhost_same_process_check_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::C2S_CONNECT_SameProcessCheck* C2S_CONNECT_Message::unsafe_arena_release_localhost_same_process_check() { - // @@protoc_insertion_point(field_release:C2S_CONNECT_Message.localhost_same_process_check) - _impl_._has_bits_[0] &= ~0x00000008u; - ::C2S_CONNECT_SameProcessCheck* temp = _impl_.localhost_same_process_check_; - _impl_.localhost_same_process_check_ = nullptr; - return temp; -} -inline ::C2S_CONNECT_SameProcessCheck* C2S_CONNECT_Message::_internal_mutable_localhost_same_process_check() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.localhost_same_process_check_ == nullptr) { - auto* p = CreateMaybeMessage<::C2S_CONNECT_SameProcessCheck>(GetArenaForAllocation()); - _impl_.localhost_same_process_check_ = p; - } - return _impl_.localhost_same_process_check_; -} -inline ::C2S_CONNECT_SameProcessCheck* C2S_CONNECT_Message::mutable_localhost_same_process_check() { - ::C2S_CONNECT_SameProcessCheck* _msg = _internal_mutable_localhost_same_process_check(); - // @@protoc_insertion_point(field_mutable:C2S_CONNECT_Message.localhost_same_process_check) - return _msg; -} -inline void C2S_CONNECT_Message::set_allocated_localhost_same_process_check(::C2S_CONNECT_SameProcessCheck* localhost_same_process_check) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.localhost_same_process_check_; - } - if (localhost_same_process_check) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(localhost_same_process_check); - if (message_arena != submessage_arena) { - localhost_same_process_check = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, localhost_same_process_check, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.localhost_same_process_check_ = localhost_same_process_check; - // @@protoc_insertion_point(field_set_allocated:C2S_CONNECT_Message.localhost_same_process_check) -} - -// ------------------------------------------------------------------- - -// C2S_CONNECTION_Message - -// optional string addon_name = 1; -inline bool C2S_CONNECTION_Message::_internal_has_addon_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool C2S_CONNECTION_Message::has_addon_name() const { - return _internal_has_addon_name(); -} -inline void C2S_CONNECTION_Message::clear_addon_name() { - _impl_.addon_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& C2S_CONNECTION_Message::addon_name() const { - // @@protoc_insertion_point(field_get:C2S_CONNECTION_Message.addon_name) - return _internal_addon_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void C2S_CONNECTION_Message::set_addon_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.addon_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:C2S_CONNECTION_Message.addon_name) -} -inline std::string* C2S_CONNECTION_Message::mutable_addon_name() { - std::string* _s = _internal_mutable_addon_name(); - // @@protoc_insertion_point(field_mutable:C2S_CONNECTION_Message.addon_name) - return _s; -} -inline const std::string& C2S_CONNECTION_Message::_internal_addon_name() const { - return _impl_.addon_name_.Get(); -} -inline void C2S_CONNECTION_Message::_internal_set_addon_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.addon_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* C2S_CONNECTION_Message::_internal_mutable_addon_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.addon_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* C2S_CONNECTION_Message::release_addon_name() { - // @@protoc_insertion_point(field_release:C2S_CONNECTION_Message.addon_name) - if (!_internal_has_addon_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.addon_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.addon_name_.IsDefault()) { - _impl_.addon_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void C2S_CONNECTION_Message::set_allocated_addon_name(std::string* addon_name) { - if (addon_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.addon_name_.SetAllocated(addon_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.addon_name_.IsDefault()) { - _impl_.addon_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:C2S_CONNECTION_Message.addon_name) -} - -// optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 2; -inline bool C2S_CONNECTION_Message::_internal_has_localhost_same_process_check() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.localhost_same_process_check_ != nullptr); - return value; -} -inline bool C2S_CONNECTION_Message::has_localhost_same_process_check() const { - return _internal_has_localhost_same_process_check(); -} -inline void C2S_CONNECTION_Message::clear_localhost_same_process_check() { - if (_impl_.localhost_same_process_check_ != nullptr) _impl_.localhost_same_process_check_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::C2S_CONNECT_SameProcessCheck& C2S_CONNECTION_Message::_internal_localhost_same_process_check() const { - const ::C2S_CONNECT_SameProcessCheck* p = _impl_.localhost_same_process_check_; - return p != nullptr ? *p : reinterpret_cast( - ::_C2S_CONNECT_SameProcessCheck_default_instance_); -} -inline const ::C2S_CONNECT_SameProcessCheck& C2S_CONNECTION_Message::localhost_same_process_check() const { - // @@protoc_insertion_point(field_get:C2S_CONNECTION_Message.localhost_same_process_check) - return _internal_localhost_same_process_check(); -} -inline void C2S_CONNECTION_Message::unsafe_arena_set_allocated_localhost_same_process_check( - ::C2S_CONNECT_SameProcessCheck* localhost_same_process_check) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.localhost_same_process_check_); - } - _impl_.localhost_same_process_check_ = localhost_same_process_check; - if (localhost_same_process_check) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:C2S_CONNECTION_Message.localhost_same_process_check) -} -inline ::C2S_CONNECT_SameProcessCheck* C2S_CONNECTION_Message::release_localhost_same_process_check() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::C2S_CONNECT_SameProcessCheck* temp = _impl_.localhost_same_process_check_; - _impl_.localhost_same_process_check_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::C2S_CONNECT_SameProcessCheck* C2S_CONNECTION_Message::unsafe_arena_release_localhost_same_process_check() { - // @@protoc_insertion_point(field_release:C2S_CONNECTION_Message.localhost_same_process_check) - _impl_._has_bits_[0] &= ~0x00000002u; - ::C2S_CONNECT_SameProcessCheck* temp = _impl_.localhost_same_process_check_; - _impl_.localhost_same_process_check_ = nullptr; - return temp; -} -inline ::C2S_CONNECT_SameProcessCheck* C2S_CONNECTION_Message::_internal_mutable_localhost_same_process_check() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.localhost_same_process_check_ == nullptr) { - auto* p = CreateMaybeMessage<::C2S_CONNECT_SameProcessCheck>(GetArenaForAllocation()); - _impl_.localhost_same_process_check_ = p; - } - return _impl_.localhost_same_process_check_; -} -inline ::C2S_CONNECT_SameProcessCheck* C2S_CONNECTION_Message::mutable_localhost_same_process_check() { - ::C2S_CONNECT_SameProcessCheck* _msg = _internal_mutable_localhost_same_process_check(); - // @@protoc_insertion_point(field_mutable:C2S_CONNECTION_Message.localhost_same_process_check) - return _msg; -} -inline void C2S_CONNECTION_Message::set_allocated_localhost_same_process_check(::C2S_CONNECT_SameProcessCheck* localhost_same_process_check) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.localhost_same_process_check_; - } - if (localhost_same_process_check) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(localhost_same_process_check); - if (message_arena != submessage_arena) { - localhost_same_process_check = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, localhost_same_process_check, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.localhost_same_process_check_ = localhost_same_process_check; - // @@protoc_insertion_point(field_set_allocated:C2S_CONNECTION_Message.localhost_same_process_check) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_connectionless_5fnetmessages_2eproto diff --git a/protobuf/generated/cs_gameevents.pb.cc b/protobuf/generated/cs_gameevents.pb.cc deleted file mode 100644 index d01a4de51..000000000 --- a/protobuf/generated/cs_gameevents.pb.cc +++ /dev/null @@ -1,1360 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: cs_gameevents.proto - -#include "cs_gameevents.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CMsgTEPlayerAnimEvent::CMsgTEPlayerAnimEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.event_)*/0u - , /*decltype(_impl_.data_)*/0 - , /*decltype(_impl_.player_)*/16777215u} {} -struct CMsgTEPlayerAnimEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEPlayerAnimEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEPlayerAnimEventDefaultTypeInternal() {} - union { - CMsgTEPlayerAnimEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEPlayerAnimEventDefaultTypeInternal _CMsgTEPlayerAnimEvent_default_instance_; -PROTOBUF_CONSTEXPR CMsgTERadioIcon::CMsgTERadioIcon( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.player_)*/16777215u} {} -struct CMsgTERadioIconDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTERadioIconDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTERadioIconDefaultTypeInternal() {} - union { - CMsgTERadioIcon _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTERadioIconDefaultTypeInternal _CMsgTERadioIcon_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEFireBullets::CMsgTEFireBullets( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.angles_)*/nullptr - , /*decltype(_impl_.ent_origin_)*/nullptr - , /*decltype(_impl_.mode_)*/0u - , /*decltype(_impl_.seed_)*/0u - , /*decltype(_impl_.inaccuracy_)*/0 - , /*decltype(_impl_.recoil_index_)*/0 - , /*decltype(_impl_.spread_)*/0 - , /*decltype(_impl_.sound_type_)*/0 - , /*decltype(_impl_.item_def_index_)*/0u - , /*decltype(_impl_.sound_dsp_effect_)*/0u - , /*decltype(_impl_.num_bullets_remaining_)*/0u - , /*decltype(_impl_.attack_type_)*/0u - , /*decltype(_impl_.weapon_id_)*/16777215u - , /*decltype(_impl_.player_)*/16777215u} {} -struct CMsgTEFireBulletsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEFireBulletsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEFireBulletsDefaultTypeInternal() {} - union { - CMsgTEFireBullets _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEFireBulletsDefaultTypeInternal _CMsgTEFireBullets_default_instance_; -static ::_pb::Metadata file_level_metadata_cs_5fgameevents_2eproto[3]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_cs_5fgameevents_2eproto[1]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_cs_5fgameevents_2eproto = nullptr; - -const uint32_t TableStruct_cs_5fgameevents_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CMsgTEPlayerAnimEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEPlayerAnimEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEPlayerAnimEvent, _impl_.player_), - PROTOBUF_FIELD_OFFSET(::CMsgTEPlayerAnimEvent, _impl_.event_), - PROTOBUF_FIELD_OFFSET(::CMsgTEPlayerAnimEvent, _impl_.data_), - 2, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgTERadioIcon, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTERadioIcon, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTERadioIcon, _impl_.player_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.angles_), - PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.weapon_id_), - PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.mode_), - PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.seed_), - PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.player_), - PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.inaccuracy_), - PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.recoil_index_), - PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.spread_), - PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.sound_type_), - PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.item_def_index_), - PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.sound_dsp_effect_), - PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.ent_origin_), - PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.num_bullets_remaining_), - PROTOBUF_FIELD_OFFSET(::CMsgTEFireBullets, _impl_.attack_type_), - 0, - 1, - 13, - 3, - 4, - 14, - 5, - 6, - 7, - 8, - 9, - 10, - 2, - 11, - 12, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 9, -1, sizeof(::CMsgTEPlayerAnimEvent)}, - { 12, 19, -1, sizeof(::CMsgTERadioIcon)}, - { 20, 41, -1, sizeof(::CMsgTEFireBullets)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CMsgTEPlayerAnimEvent_default_instance_._instance, - &::_CMsgTERadioIcon_default_instance_._instance, - &::_CMsgTEFireBullets_default_instance_._instance, -}; - -const char descriptor_table_protodef_cs_5fgameevents_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\023cs_gameevents.proto\032\026networkbasetypes." - "proto\"N\n\025CMsgTEPlayerAnimEvent\022\030\n\006player" - "\030\001 \001(\007:\01016777215\022\r\n\005event\030\002 \001(\r\022\014\n\004data\030" - "\003 \001(\005\"+\n\017CMsgTERadioIcon\022\030\n\006player\030\001 \001(\007" - ":\01016777215\"\365\002\n\021CMsgTEFireBullets\022\033\n\006orig" - "in\030\001 \001(\0132\013.CMsgVector\022\033\n\006angles\030\002 \001(\0132\013." - "CMsgQAngle\022\033\n\tweapon_id\030\003 \001(\r:\01016777215\022" - "\014\n\004mode\030\004 \001(\r\022\014\n\004seed\030\005 \001(\r\022\030\n\006player\030\006 " - "\001(\007:\01016777215\022\022\n\ninaccuracy\030\007 \001(\002\022\024\n\014rec" - "oil_index\030\010 \001(\002\022\016\n\006spread\030\t \001(\002\022\022\n\nsound" - "_type\030\n \001(\005\022\026\n\016item_def_index\030\013 \001(\r\022\030\n\020s" - "ound_dsp_effect\030\014 \001(\007\022\037\n\nent_origin\030\r \001(" - "\0132\013.CMsgVector\022\035\n\025num_bullets_remaining\030" - "\016 \001(\r\022\023\n\013attack_type\030\017 \001(\r*]\n\017ECsgoGameE" - "vents\022\031\n\024GE_PlayerAnimEventId\020\302\003\022\030\n\023GE_R" - "adioIconEventId\020\303\003\022\025\n\020GE_FireBulletsId\020\304" - "\003" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_cs_5fgameevents_2eproto_deps[1] = { - &::descriptor_table_networkbasetypes_2eproto, -}; -static ::_pbi::once_flag descriptor_table_cs_5fgameevents_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_cs_5fgameevents_2eproto = { - false, false, 641, descriptor_table_protodef_cs_5fgameevents_2eproto, - "cs_gameevents.proto", - &descriptor_table_cs_5fgameevents_2eproto_once, descriptor_table_cs_5fgameevents_2eproto_deps, 1, 3, - schemas, file_default_instances, TableStruct_cs_5fgameevents_2eproto::offsets, - file_level_metadata_cs_5fgameevents_2eproto, file_level_enum_descriptors_cs_5fgameevents_2eproto, - file_level_service_descriptors_cs_5fgameevents_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_cs_5fgameevents_2eproto_getter() { - return &descriptor_table_cs_5fgameevents_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_cs_5fgameevents_2eproto(&descriptor_table_cs_5fgameevents_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECsgoGameEvents_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_cs_5fgameevents_2eproto); - return file_level_enum_descriptors_cs_5fgameevents_2eproto[0]; -} -bool ECsgoGameEvents_IsValid(int value) { - switch (value) { - case 450: - case 451: - case 452: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CMsgTEPlayerAnimEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_player(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_event(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgTEPlayerAnimEvent::CMsgTEPlayerAnimEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEPlayerAnimEvent) -} -CMsgTEPlayerAnimEvent::CMsgTEPlayerAnimEvent(const CMsgTEPlayerAnimEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEPlayerAnimEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.event_){} - , decltype(_impl_.data_){} - , decltype(_impl_.player_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.event_, &from._impl_.event_, - static_cast(reinterpret_cast(&_impl_.player_) - - reinterpret_cast(&_impl_.event_)) + sizeof(_impl_.player_)); - // @@protoc_insertion_point(copy_constructor:CMsgTEPlayerAnimEvent) -} - -inline void CMsgTEPlayerAnimEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.event_){0u} - , decltype(_impl_.data_){0} - , decltype(_impl_.player_){16777215u} - }; -} - -CMsgTEPlayerAnimEvent::~CMsgTEPlayerAnimEvent() { - // @@protoc_insertion_point(destructor:CMsgTEPlayerAnimEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEPlayerAnimEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgTEPlayerAnimEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEPlayerAnimEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEPlayerAnimEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.event_, 0, static_cast( - reinterpret_cast(&_impl_.data_) - - reinterpret_cast(&_impl_.event_)) + sizeof(_impl_.data_)); - _impl_.player_ = 16777215u; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEPlayerAnimEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 player = 1 [default = 16777215]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_player(&has_bits); - _impl_.player_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 event = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_event(&has_bits); - _impl_.event_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 data = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_data(&has_bits); - _impl_.data_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEPlayerAnimEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEPlayerAnimEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 player = 1 [default = 16777215]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_player(), target); - } - - // optional uint32 event = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_event(), target); - } - - // optional int32 data = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEPlayerAnimEvent) - return target; -} - -size_t CMsgTEPlayerAnimEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEPlayerAnimEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 event = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event()); - } - - // optional int32 data = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_data()); - } - - // optional fixed32 player = 1 [default = 16777215]; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEPlayerAnimEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEPlayerAnimEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEPlayerAnimEvent::GetClassData() const { return &_class_data_; } - - -void CMsgTEPlayerAnimEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEPlayerAnimEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.event_ = from._impl_.event_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.data_ = from._impl_.data_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.player_ = from._impl_.player_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEPlayerAnimEvent::CopyFrom(const CMsgTEPlayerAnimEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEPlayerAnimEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEPlayerAnimEvent::IsInitialized() const { - return true; -} - -void CMsgTEPlayerAnimEvent::InternalSwap(CMsgTEPlayerAnimEvent* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEPlayerAnimEvent, _impl_.data_) - + sizeof(CMsgTEPlayerAnimEvent::_impl_.data_) - - PROTOBUF_FIELD_OFFSET(CMsgTEPlayerAnimEvent, _impl_.event_)>( - reinterpret_cast(&_impl_.event_), - reinterpret_cast(&other->_impl_.event_)); - swap(_impl_.player_, other->_impl_.player_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEPlayerAnimEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cs_5fgameevents_2eproto_getter, &descriptor_table_cs_5fgameevents_2eproto_once, - file_level_metadata_cs_5fgameevents_2eproto[0]); -} - -// =================================================================== - -class CMsgTERadioIcon::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_player(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgTERadioIcon::CMsgTERadioIcon(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTERadioIcon) -} -CMsgTERadioIcon::CMsgTERadioIcon(const CMsgTERadioIcon& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTERadioIcon* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.player_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.player_ = from._impl_.player_; - // @@protoc_insertion_point(copy_constructor:CMsgTERadioIcon) -} - -inline void CMsgTERadioIcon::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.player_){16777215u} - }; -} - -CMsgTERadioIcon::~CMsgTERadioIcon() { - // @@protoc_insertion_point(destructor:CMsgTERadioIcon) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTERadioIcon::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgTERadioIcon::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTERadioIcon::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTERadioIcon) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.player_ = 16777215u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTERadioIcon::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 player = 1 [default = 16777215]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_player(&has_bits); - _impl_.player_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTERadioIcon::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTERadioIcon) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 player = 1 [default = 16777215]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_player(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTERadioIcon) - return target; -} - -size_t CMsgTERadioIcon::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTERadioIcon) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional fixed32 player = 1 [default = 16777215]; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTERadioIcon::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTERadioIcon::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTERadioIcon::GetClassData() const { return &_class_data_; } - - -void CMsgTERadioIcon::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTERadioIcon) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_player()) { - _this->_internal_set_player(from._internal_player()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTERadioIcon::CopyFrom(const CMsgTERadioIcon& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTERadioIcon) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTERadioIcon::IsInitialized() const { - return true; -} - -void CMsgTERadioIcon::InternalSwap(CMsgTERadioIcon* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.player_, other->_impl_.player_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTERadioIcon::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cs_5fgameevents_2eproto_getter, &descriptor_table_cs_5fgameevents_2eproto_once, - file_level_metadata_cs_5fgameevents_2eproto[1]); -} - -// =================================================================== - -class CMsgTEFireBullets::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& origin(const CMsgTEFireBullets* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgQAngle& angles(const CMsgTEFireBullets* msg); - static void set_has_angles(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_weapon_id(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_mode(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_seed(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_player(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_inaccuracy(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_recoil_index(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_spread(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_sound_type(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_item_def_index(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_sound_dsp_effect(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static const ::CMsgVector& ent_origin(const CMsgTEFireBullets* msg); - static void set_has_ent_origin(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_num_bullets_remaining(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_attack_type(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } -}; - -const ::CMsgVector& -CMsgTEFireBullets::_Internal::origin(const CMsgTEFireBullets* msg) { - return *msg->_impl_.origin_; -} -const ::CMsgQAngle& -CMsgTEFireBullets::_Internal::angles(const CMsgTEFireBullets* msg) { - return *msg->_impl_.angles_; -} -const ::CMsgVector& -CMsgTEFireBullets::_Internal::ent_origin(const CMsgTEFireBullets* msg) { - return *msg->_impl_.ent_origin_; -} -void CMsgTEFireBullets::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgTEFireBullets::clear_angles() { - if (_impl_.angles_ != nullptr) _impl_.angles_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CMsgTEFireBullets::clear_ent_origin() { - if (_impl_.ent_origin_ != nullptr) _impl_.ent_origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -CMsgTEFireBullets::CMsgTEFireBullets(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEFireBullets) -} -CMsgTEFireBullets::CMsgTEFireBullets(const CMsgTEFireBullets& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEFireBullets* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.angles_){nullptr} - , decltype(_impl_.ent_origin_){nullptr} - , decltype(_impl_.mode_){} - , decltype(_impl_.seed_){} - , decltype(_impl_.inaccuracy_){} - , decltype(_impl_.recoil_index_){} - , decltype(_impl_.spread_){} - , decltype(_impl_.sound_type_){} - , decltype(_impl_.item_def_index_){} - , decltype(_impl_.sound_dsp_effect_){} - , decltype(_impl_.num_bullets_remaining_){} - , decltype(_impl_.attack_type_){} - , decltype(_impl_.weapon_id_){} - , decltype(_impl_.player_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - if (from._internal_has_angles()) { - _this->_impl_.angles_ = new ::CMsgQAngle(*from._impl_.angles_); - } - if (from._internal_has_ent_origin()) { - _this->_impl_.ent_origin_ = new ::CMsgVector(*from._impl_.ent_origin_); - } - ::memcpy(&_impl_.mode_, &from._impl_.mode_, - static_cast(reinterpret_cast(&_impl_.player_) - - reinterpret_cast(&_impl_.mode_)) + sizeof(_impl_.player_)); - // @@protoc_insertion_point(copy_constructor:CMsgTEFireBullets) -} - -inline void CMsgTEFireBullets::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.angles_){nullptr} - , decltype(_impl_.ent_origin_){nullptr} - , decltype(_impl_.mode_){0u} - , decltype(_impl_.seed_){0u} - , decltype(_impl_.inaccuracy_){0} - , decltype(_impl_.recoil_index_){0} - , decltype(_impl_.spread_){0} - , decltype(_impl_.sound_type_){0} - , decltype(_impl_.item_def_index_){0u} - , decltype(_impl_.sound_dsp_effect_){0u} - , decltype(_impl_.num_bullets_remaining_){0u} - , decltype(_impl_.attack_type_){0u} - , decltype(_impl_.weapon_id_){16777215u} - , decltype(_impl_.player_){16777215u} - }; -} - -CMsgTEFireBullets::~CMsgTEFireBullets() { - // @@protoc_insertion_point(destructor:CMsgTEFireBullets) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEFireBullets::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.origin_; - if (this != internal_default_instance()) delete _impl_.angles_; - if (this != internal_default_instance()) delete _impl_.ent_origin_; -} - -void CMsgTEFireBullets::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEFireBullets::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEFireBullets) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.angles_ != nullptr); - _impl_.angles_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.ent_origin_ != nullptr); - _impl_.ent_origin_->Clear(); - } - } - if (cached_has_bits & 0x000000f8u) { - ::memset(&_impl_.mode_, 0, static_cast( - reinterpret_cast(&_impl_.spread_) - - reinterpret_cast(&_impl_.mode_)) + sizeof(_impl_.spread_)); - } - if (cached_has_bits & 0x00007f00u) { - ::memset(&_impl_.sound_type_, 0, static_cast( - reinterpret_cast(&_impl_.attack_type_) - - reinterpret_cast(&_impl_.sound_type_)) + sizeof(_impl_.attack_type_)); - _impl_.weapon_id_ = 16777215u; - _impl_.player_ = 16777215u; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEFireBullets::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector origin = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle angles = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_angles(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 weapon_id = 3 [default = 16777215]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_weapon_id(&has_bits); - _impl_.weapon_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 mode = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_mode(&has_bits); - _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 seed = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_seed(&has_bits); - _impl_.seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 player = 6 [default = 16777215]; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - _Internal::set_has_player(&has_bits); - _impl_.player_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional float inaccuracy = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_inaccuracy(&has_bits); - _impl_.inaccuracy_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float recoil_index = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { - _Internal::set_has_recoil_index(&has_bits); - _impl_.recoil_index_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float spread = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_spread(&has_bits); - _impl_.spread_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 sound_type = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_sound_type(&has_bits); - _impl_.sound_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 item_def_index = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_item_def_index(&has_bits); - _impl_.item_def_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 sound_dsp_effect = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 101)) { - _Internal::set_has_sound_dsp_effect(&has_bits); - _impl_.sound_dsp_effect_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional .CMsgVector ent_origin = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr = ctx->ParseMessage(_internal_mutable_ent_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 num_bullets_remaining = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_num_bullets_remaining(&has_bits); - _impl_.num_bullets_remaining_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 attack_type = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_attack_type(&has_bits); - _impl_.attack_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEFireBullets::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEFireBullets) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - // optional .CMsgQAngle angles = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::angles(this), - _Internal::angles(this).GetCachedSize(), target, stream); - } - - // optional uint32 weapon_id = 3 [default = 16777215]; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_weapon_id(), target); - } - - // optional uint32 mode = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_mode(), target); - } - - // optional uint32 seed = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_seed(), target); - } - - // optional fixed32 player = 6 [default = 16777215]; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_player(), target); - } - - // optional float inaccuracy = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_inaccuracy(), target); - } - - // optional float recoil_index = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_recoil_index(), target); - } - - // optional float spread = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_spread(), target); - } - - // optional int32 sound_type = 10; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_sound_type(), target); - } - - // optional uint32 item_def_index = 11; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_item_def_index(), target); - } - - // optional fixed32 sound_dsp_effect = 12; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(12, this->_internal_sound_dsp_effect(), target); - } - - // optional .CMsgVector ent_origin = 13; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, _Internal::ent_origin(this), - _Internal::ent_origin(this).GetCachedSize(), target, stream); - } - - // optional uint32 num_bullets_remaining = 14; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_num_bullets_remaining(), target); - } - - // optional uint32 attack_type = 15; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_attack_type(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEFireBullets) - return target; -} - -size_t CMsgTEFireBullets::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEFireBullets) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional .CMsgQAngle angles = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.angles_); - } - - // optional .CMsgVector ent_origin = 13; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.ent_origin_); - } - - // optional uint32 mode = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode()); - } - - // optional uint32 seed = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seed()); - } - - // optional float inaccuracy = 7; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional float recoil_index = 8; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional float spread = 9; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - if (cached_has_bits & 0x00007f00u) { - // optional int32 sound_type = 10; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sound_type()); - } - - // optional uint32 item_def_index = 11; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_def_index()); - } - - // optional fixed32 sound_dsp_effect = 12; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 4; - } - - // optional uint32 num_bullets_remaining = 14; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_bullets_remaining()); - } - - // optional uint32 attack_type = 15; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_attack_type()); - } - - // optional uint32 weapon_id = 3 [default = 16777215]; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_weapon_id()); - } - - // optional fixed32 player = 6 [default = 16777215]; - if (cached_has_bits & 0x00004000u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEFireBullets::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEFireBullets::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEFireBullets::GetClassData() const { return &_class_data_; } - - -void CMsgTEFireBullets::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEFireBullets) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_angles()->::CMsgQAngle::MergeFrom( - from._internal_angles()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_ent_origin()->::CMsgVector::MergeFrom( - from._internal_ent_origin()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.mode_ = from._impl_.mode_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.seed_ = from._impl_.seed_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.inaccuracy_ = from._impl_.inaccuracy_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.recoil_index_ = from._impl_.recoil_index_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.spread_ = from._impl_.spread_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00007f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.sound_type_ = from._impl_.sound_type_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.item_def_index_ = from._impl_.item_def_index_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.sound_dsp_effect_ = from._impl_.sound_dsp_effect_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.num_bullets_remaining_ = from._impl_.num_bullets_remaining_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.attack_type_ = from._impl_.attack_type_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.weapon_id_ = from._impl_.weapon_id_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.player_ = from._impl_.player_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEFireBullets::CopyFrom(const CMsgTEFireBullets& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEFireBullets) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEFireBullets::IsInitialized() const { - return true; -} - -void CMsgTEFireBullets::InternalSwap(CMsgTEFireBullets* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEFireBullets, _impl_.attack_type_) - + sizeof(CMsgTEFireBullets::_impl_.attack_type_) - - PROTOBUF_FIELD_OFFSET(CMsgTEFireBullets, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); - swap(_impl_.weapon_id_, other->_impl_.weapon_id_); - swap(_impl_.player_, other->_impl_.player_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEFireBullets::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cs_5fgameevents_2eproto_getter, &descriptor_table_cs_5fgameevents_2eproto_once, - file_level_metadata_cs_5fgameevents_2eproto[2]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CMsgTEPlayerAnimEvent* -Arena::CreateMaybeMessage< ::CMsgTEPlayerAnimEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEPlayerAnimEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTERadioIcon* -Arena::CreateMaybeMessage< ::CMsgTERadioIcon >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTERadioIcon >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEFireBullets* -Arena::CreateMaybeMessage< ::CMsgTEFireBullets >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEFireBullets >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/cs_gameevents.pb.h b/protobuf/generated/cs_gameevents.pb.h deleted file mode 100644 index d282fee0d..000000000 --- a/protobuf/generated/cs_gameevents.pb.h +++ /dev/null @@ -1,1575 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: cs_gameevents.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_cs_5fgameevents_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_cs_5fgameevents_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "networkbasetypes.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_cs_5fgameevents_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_cs_5fgameevents_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_cs_5fgameevents_2eproto; -class CMsgTEFireBullets; -struct CMsgTEFireBulletsDefaultTypeInternal; -extern CMsgTEFireBulletsDefaultTypeInternal _CMsgTEFireBullets_default_instance_; -class CMsgTEPlayerAnimEvent; -struct CMsgTEPlayerAnimEventDefaultTypeInternal; -extern CMsgTEPlayerAnimEventDefaultTypeInternal _CMsgTEPlayerAnimEvent_default_instance_; -class CMsgTERadioIcon; -struct CMsgTERadioIconDefaultTypeInternal; -extern CMsgTERadioIconDefaultTypeInternal _CMsgTERadioIcon_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CMsgTEFireBullets* Arena::CreateMaybeMessage<::CMsgTEFireBullets>(Arena*); -template<> ::CMsgTEPlayerAnimEvent* Arena::CreateMaybeMessage<::CMsgTEPlayerAnimEvent>(Arena*); -template<> ::CMsgTERadioIcon* Arena::CreateMaybeMessage<::CMsgTERadioIcon>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum ECsgoGameEvents : int { - GE_PlayerAnimEventId = 450, - GE_RadioIconEventId = 451, - GE_FireBulletsId = 452 -}; -bool ECsgoGameEvents_IsValid(int value); -constexpr ECsgoGameEvents ECsgoGameEvents_MIN = GE_PlayerAnimEventId; -constexpr ECsgoGameEvents ECsgoGameEvents_MAX = GE_FireBulletsId; -constexpr int ECsgoGameEvents_ARRAYSIZE = ECsgoGameEvents_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECsgoGameEvents_descriptor(); -template -inline const std::string& ECsgoGameEvents_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ECsgoGameEvents_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ECsgoGameEvents_descriptor(), enum_t_value); -} -inline bool ECsgoGameEvents_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ECsgoGameEvents* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ECsgoGameEvents_descriptor(), name, value); -} -// =================================================================== - -class CMsgTEPlayerAnimEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEPlayerAnimEvent) */ { - public: - inline CMsgTEPlayerAnimEvent() : CMsgTEPlayerAnimEvent(nullptr) {} - ~CMsgTEPlayerAnimEvent() override; - explicit PROTOBUF_CONSTEXPR CMsgTEPlayerAnimEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEPlayerAnimEvent(const CMsgTEPlayerAnimEvent& from); - CMsgTEPlayerAnimEvent(CMsgTEPlayerAnimEvent&& from) noexcept - : CMsgTEPlayerAnimEvent() { - *this = ::std::move(from); - } - - inline CMsgTEPlayerAnimEvent& operator=(const CMsgTEPlayerAnimEvent& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEPlayerAnimEvent& operator=(CMsgTEPlayerAnimEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEPlayerAnimEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEPlayerAnimEvent* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEPlayerAnimEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CMsgTEPlayerAnimEvent& a, CMsgTEPlayerAnimEvent& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEPlayerAnimEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEPlayerAnimEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEPlayerAnimEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEPlayerAnimEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEPlayerAnimEvent& from) { - CMsgTEPlayerAnimEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEPlayerAnimEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEPlayerAnimEvent"; - } - protected: - explicit CMsgTEPlayerAnimEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEventFieldNumber = 2, - kDataFieldNumber = 3, - kPlayerFieldNumber = 1, - }; - // optional uint32 event = 2; - bool has_event() const; - private: - bool _internal_has_event() const; - public: - void clear_event(); - uint32_t event() const; - void set_event(uint32_t value); - private: - uint32_t _internal_event() const; - void _internal_set_event(uint32_t value); - public: - - // optional int32 data = 3; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - int32_t data() const; - void set_data(int32_t value); - private: - int32_t _internal_data() const; - void _internal_set_data(int32_t value); - public: - - // optional fixed32 player = 1 [default = 16777215]; - bool has_player() const; - private: - bool _internal_has_player() const; - public: - void clear_player(); - uint32_t player() const; - void set_player(uint32_t value); - private: - uint32_t _internal_player() const; - void _internal_set_player(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEPlayerAnimEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t event_; - int32_t data_; - uint32_t player_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cs_5fgameevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTERadioIcon : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTERadioIcon) */ { - public: - inline CMsgTERadioIcon() : CMsgTERadioIcon(nullptr) {} - ~CMsgTERadioIcon() override; - explicit PROTOBUF_CONSTEXPR CMsgTERadioIcon(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTERadioIcon(const CMsgTERadioIcon& from); - CMsgTERadioIcon(CMsgTERadioIcon&& from) noexcept - : CMsgTERadioIcon() { - *this = ::std::move(from); - } - - inline CMsgTERadioIcon& operator=(const CMsgTERadioIcon& from) { - CopyFrom(from); - return *this; - } - inline CMsgTERadioIcon& operator=(CMsgTERadioIcon&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTERadioIcon& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTERadioIcon* internal_default_instance() { - return reinterpret_cast( - &_CMsgTERadioIcon_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CMsgTERadioIcon& a, CMsgTERadioIcon& b) { - a.Swap(&b); - } - inline void Swap(CMsgTERadioIcon* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTERadioIcon* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTERadioIcon* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTERadioIcon& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTERadioIcon& from) { - CMsgTERadioIcon::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTERadioIcon* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTERadioIcon"; - } - protected: - explicit CMsgTERadioIcon(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPlayerFieldNumber = 1, - }; - // optional fixed32 player = 1 [default = 16777215]; - bool has_player() const; - private: - bool _internal_has_player() const; - public: - void clear_player(); - uint32_t player() const; - void set_player(uint32_t value); - private: - uint32_t _internal_player() const; - void _internal_set_player(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTERadioIcon) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t player_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cs_5fgameevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEFireBullets : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEFireBullets) */ { - public: - inline CMsgTEFireBullets() : CMsgTEFireBullets(nullptr) {} - ~CMsgTEFireBullets() override; - explicit PROTOBUF_CONSTEXPR CMsgTEFireBullets(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEFireBullets(const CMsgTEFireBullets& from); - CMsgTEFireBullets(CMsgTEFireBullets&& from) noexcept - : CMsgTEFireBullets() { - *this = ::std::move(from); - } - - inline CMsgTEFireBullets& operator=(const CMsgTEFireBullets& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEFireBullets& operator=(CMsgTEFireBullets&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEFireBullets& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEFireBullets* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEFireBullets_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CMsgTEFireBullets& a, CMsgTEFireBullets& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEFireBullets* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEFireBullets* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEFireBullets* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEFireBullets& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEFireBullets& from) { - CMsgTEFireBullets::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEFireBullets* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEFireBullets"; - } - protected: - explicit CMsgTEFireBullets(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginFieldNumber = 1, - kAnglesFieldNumber = 2, - kEntOriginFieldNumber = 13, - kModeFieldNumber = 4, - kSeedFieldNumber = 5, - kInaccuracyFieldNumber = 7, - kRecoilIndexFieldNumber = 8, - kSpreadFieldNumber = 9, - kSoundTypeFieldNumber = 10, - kItemDefIndexFieldNumber = 11, - kSoundDspEffectFieldNumber = 12, - kNumBulletsRemainingFieldNumber = 14, - kAttackTypeFieldNumber = 15, - kWeaponIdFieldNumber = 3, - kPlayerFieldNumber = 6, - }; - // optional .CMsgVector origin = 1; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional .CMsgQAngle angles = 2; - bool has_angles() const; - private: - bool _internal_has_angles() const; - public: - void clear_angles(); - const ::CMsgQAngle& angles() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_angles(); - ::CMsgQAngle* mutable_angles(); - void set_allocated_angles(::CMsgQAngle* angles); - private: - const ::CMsgQAngle& _internal_angles() const; - ::CMsgQAngle* _internal_mutable_angles(); - public: - void unsafe_arena_set_allocated_angles( - ::CMsgQAngle* angles); - ::CMsgQAngle* unsafe_arena_release_angles(); - - // optional .CMsgVector ent_origin = 13; - bool has_ent_origin() const; - private: - bool _internal_has_ent_origin() const; - public: - void clear_ent_origin(); - const ::CMsgVector& ent_origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_ent_origin(); - ::CMsgVector* mutable_ent_origin(); - void set_allocated_ent_origin(::CMsgVector* ent_origin); - private: - const ::CMsgVector& _internal_ent_origin() const; - ::CMsgVector* _internal_mutable_ent_origin(); - public: - void unsafe_arena_set_allocated_ent_origin( - ::CMsgVector* ent_origin); - ::CMsgVector* unsafe_arena_release_ent_origin(); - - // optional uint32 mode = 4; - bool has_mode() const; - private: - bool _internal_has_mode() const; - public: - void clear_mode(); - uint32_t mode() const; - void set_mode(uint32_t value); - private: - uint32_t _internal_mode() const; - void _internal_set_mode(uint32_t value); - public: - - // optional uint32 seed = 5; - bool has_seed() const; - private: - bool _internal_has_seed() const; - public: - void clear_seed(); - uint32_t seed() const; - void set_seed(uint32_t value); - private: - uint32_t _internal_seed() const; - void _internal_set_seed(uint32_t value); - public: - - // optional float inaccuracy = 7; - bool has_inaccuracy() const; - private: - bool _internal_has_inaccuracy() const; - public: - void clear_inaccuracy(); - float inaccuracy() const; - void set_inaccuracy(float value); - private: - float _internal_inaccuracy() const; - void _internal_set_inaccuracy(float value); - public: - - // optional float recoil_index = 8; - bool has_recoil_index() const; - private: - bool _internal_has_recoil_index() const; - public: - void clear_recoil_index(); - float recoil_index() const; - void set_recoil_index(float value); - private: - float _internal_recoil_index() const; - void _internal_set_recoil_index(float value); - public: - - // optional float spread = 9; - bool has_spread() const; - private: - bool _internal_has_spread() const; - public: - void clear_spread(); - float spread() const; - void set_spread(float value); - private: - float _internal_spread() const; - void _internal_set_spread(float value); - public: - - // optional int32 sound_type = 10; - bool has_sound_type() const; - private: - bool _internal_has_sound_type() const; - public: - void clear_sound_type(); - int32_t sound_type() const; - void set_sound_type(int32_t value); - private: - int32_t _internal_sound_type() const; - void _internal_set_sound_type(int32_t value); - public: - - // optional uint32 item_def_index = 11; - bool has_item_def_index() const; - private: - bool _internal_has_item_def_index() const; - public: - void clear_item_def_index(); - uint32_t item_def_index() const; - void set_item_def_index(uint32_t value); - private: - uint32_t _internal_item_def_index() const; - void _internal_set_item_def_index(uint32_t value); - public: - - // optional fixed32 sound_dsp_effect = 12; - bool has_sound_dsp_effect() const; - private: - bool _internal_has_sound_dsp_effect() const; - public: - void clear_sound_dsp_effect(); - uint32_t sound_dsp_effect() const; - void set_sound_dsp_effect(uint32_t value); - private: - uint32_t _internal_sound_dsp_effect() const; - void _internal_set_sound_dsp_effect(uint32_t value); - public: - - // optional uint32 num_bullets_remaining = 14; - bool has_num_bullets_remaining() const; - private: - bool _internal_has_num_bullets_remaining() const; - public: - void clear_num_bullets_remaining(); - uint32_t num_bullets_remaining() const; - void set_num_bullets_remaining(uint32_t value); - private: - uint32_t _internal_num_bullets_remaining() const; - void _internal_set_num_bullets_remaining(uint32_t value); - public: - - // optional uint32 attack_type = 15; - bool has_attack_type() const; - private: - bool _internal_has_attack_type() const; - public: - void clear_attack_type(); - uint32_t attack_type() const; - void set_attack_type(uint32_t value); - private: - uint32_t _internal_attack_type() const; - void _internal_set_attack_type(uint32_t value); - public: - - // optional uint32 weapon_id = 3 [default = 16777215]; - bool has_weapon_id() const; - private: - bool _internal_has_weapon_id() const; - public: - void clear_weapon_id(); - uint32_t weapon_id() const; - void set_weapon_id(uint32_t value); - private: - uint32_t _internal_weapon_id() const; - void _internal_set_weapon_id(uint32_t value); - public: - - // optional fixed32 player = 6 [default = 16777215]; - bool has_player() const; - private: - bool _internal_has_player() const; - public: - void clear_player(); - uint32_t player() const; - void set_player(uint32_t value); - private: - uint32_t _internal_player() const; - void _internal_set_player(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEFireBullets) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* origin_; - ::CMsgQAngle* angles_; - ::CMsgVector* ent_origin_; - uint32_t mode_; - uint32_t seed_; - float inaccuracy_; - float recoil_index_; - float spread_; - int32_t sound_type_; - uint32_t item_def_index_; - uint32_t sound_dsp_effect_; - uint32_t num_bullets_remaining_; - uint32_t attack_type_; - uint32_t weapon_id_; - uint32_t player_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cs_5fgameevents_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CMsgTEPlayerAnimEvent - -// optional fixed32 player = 1 [default = 16777215]; -inline bool CMsgTEPlayerAnimEvent::_internal_has_player() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgTEPlayerAnimEvent::has_player() const { - return _internal_has_player(); -} -inline void CMsgTEPlayerAnimEvent::clear_player() { - _impl_.player_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgTEPlayerAnimEvent::_internal_player() const { - return _impl_.player_; -} -inline uint32_t CMsgTEPlayerAnimEvent::player() const { - // @@protoc_insertion_point(field_get:CMsgTEPlayerAnimEvent.player) - return _internal_player(); -} -inline void CMsgTEPlayerAnimEvent::_internal_set_player(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.player_ = value; -} -inline void CMsgTEPlayerAnimEvent::set_player(uint32_t value) { - _internal_set_player(value); - // @@protoc_insertion_point(field_set:CMsgTEPlayerAnimEvent.player) -} - -// optional uint32 event = 2; -inline bool CMsgTEPlayerAnimEvent::_internal_has_event() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgTEPlayerAnimEvent::has_event() const { - return _internal_has_event(); -} -inline void CMsgTEPlayerAnimEvent::clear_event() { - _impl_.event_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgTEPlayerAnimEvent::_internal_event() const { - return _impl_.event_; -} -inline uint32_t CMsgTEPlayerAnimEvent::event() const { - // @@protoc_insertion_point(field_get:CMsgTEPlayerAnimEvent.event) - return _internal_event(); -} -inline void CMsgTEPlayerAnimEvent::_internal_set_event(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_ = value; -} -inline void CMsgTEPlayerAnimEvent::set_event(uint32_t value) { - _internal_set_event(value); - // @@protoc_insertion_point(field_set:CMsgTEPlayerAnimEvent.event) -} - -// optional int32 data = 3; -inline bool CMsgTEPlayerAnimEvent::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgTEPlayerAnimEvent::has_data() const { - return _internal_has_data(); -} -inline void CMsgTEPlayerAnimEvent::clear_data() { - _impl_.data_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgTEPlayerAnimEvent::_internal_data() const { - return _impl_.data_; -} -inline int32_t CMsgTEPlayerAnimEvent::data() const { - // @@protoc_insertion_point(field_get:CMsgTEPlayerAnimEvent.data) - return _internal_data(); -} -inline void CMsgTEPlayerAnimEvent::_internal_set_data(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.data_ = value; -} -inline void CMsgTEPlayerAnimEvent::set_data(int32_t value) { - _internal_set_data(value); - // @@protoc_insertion_point(field_set:CMsgTEPlayerAnimEvent.data) -} - -// ------------------------------------------------------------------- - -// CMsgTERadioIcon - -// optional fixed32 player = 1 [default = 16777215]; -inline bool CMsgTERadioIcon::_internal_has_player() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgTERadioIcon::has_player() const { - return _internal_has_player(); -} -inline void CMsgTERadioIcon::clear_player() { - _impl_.player_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgTERadioIcon::_internal_player() const { - return _impl_.player_; -} -inline uint32_t CMsgTERadioIcon::player() const { - // @@protoc_insertion_point(field_get:CMsgTERadioIcon.player) - return _internal_player(); -} -inline void CMsgTERadioIcon::_internal_set_player(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.player_ = value; -} -inline void CMsgTERadioIcon::set_player(uint32_t value) { - _internal_set_player(value); - // @@protoc_insertion_point(field_set:CMsgTERadioIcon.player) -} - -// ------------------------------------------------------------------- - -// CMsgTEFireBullets - -// optional .CMsgVector origin = 1; -inline bool CMsgTEFireBullets::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CMsgTEFireBullets::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CMsgTEFireBullets::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEFireBullets::origin() const { - // @@protoc_insertion_point(field_get:CMsgTEFireBullets.origin) - return _internal_origin(); -} -inline void CMsgTEFireBullets::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEFireBullets.origin) -} -inline ::CMsgVector* CMsgTEFireBullets::release_origin() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEFireBullets::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CMsgTEFireBullets.origin) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEFireBullets::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CMsgTEFireBullets::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CMsgTEFireBullets.origin) - return _msg; -} -inline void CMsgTEFireBullets::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CMsgTEFireBullets.origin) -} - -// optional .CMsgQAngle angles = 2; -inline bool CMsgTEFireBullets::_internal_has_angles() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.angles_ != nullptr); - return value; -} -inline bool CMsgTEFireBullets::has_angles() const { - return _internal_has_angles(); -} -inline const ::CMsgQAngle& CMsgTEFireBullets::_internal_angles() const { - const ::CMsgQAngle* p = _impl_.angles_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CMsgTEFireBullets::angles() const { - // @@protoc_insertion_point(field_get:CMsgTEFireBullets.angles) - return _internal_angles(); -} -inline void CMsgTEFireBullets::unsafe_arena_set_allocated_angles( - ::CMsgQAngle* angles) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); - } - _impl_.angles_ = angles; - if (angles) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEFireBullets.angles) -} -inline ::CMsgQAngle* CMsgTEFireBullets::release_angles() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQAngle* temp = _impl_.angles_; - _impl_.angles_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CMsgTEFireBullets::unsafe_arena_release_angles() { - // @@protoc_insertion_point(field_release:CMsgTEFireBullets.angles) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQAngle* temp = _impl_.angles_; - _impl_.angles_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CMsgTEFireBullets::_internal_mutable_angles() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.angles_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.angles_ = p; - } - return _impl_.angles_; -} -inline ::CMsgQAngle* CMsgTEFireBullets::mutable_angles() { - ::CMsgQAngle* _msg = _internal_mutable_angles(); - // @@protoc_insertion_point(field_mutable:CMsgTEFireBullets.angles) - return _msg; -} -inline void CMsgTEFireBullets::set_allocated_angles(::CMsgQAngle* angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); - } - if (angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angles)); - if (message_arena != submessage_arena) { - angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, angles, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.angles_ = angles; - // @@protoc_insertion_point(field_set_allocated:CMsgTEFireBullets.angles) -} - -// optional uint32 weapon_id = 3 [default = 16777215]; -inline bool CMsgTEFireBullets::_internal_has_weapon_id() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgTEFireBullets::has_weapon_id() const { - return _internal_has_weapon_id(); -} -inline void CMsgTEFireBullets::clear_weapon_id() { - _impl_.weapon_id_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CMsgTEFireBullets::_internal_weapon_id() const { - return _impl_.weapon_id_; -} -inline uint32_t CMsgTEFireBullets::weapon_id() const { - // @@protoc_insertion_point(field_get:CMsgTEFireBullets.weapon_id) - return _internal_weapon_id(); -} -inline void CMsgTEFireBullets::_internal_set_weapon_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.weapon_id_ = value; -} -inline void CMsgTEFireBullets::set_weapon_id(uint32_t value) { - _internal_set_weapon_id(value); - // @@protoc_insertion_point(field_set:CMsgTEFireBullets.weapon_id) -} - -// optional uint32 mode = 4; -inline bool CMsgTEFireBullets::_internal_has_mode() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgTEFireBullets::has_mode() const { - return _internal_has_mode(); -} -inline void CMsgTEFireBullets::clear_mode() { - _impl_.mode_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgTEFireBullets::_internal_mode() const { - return _impl_.mode_; -} -inline uint32_t CMsgTEFireBullets::mode() const { - // @@protoc_insertion_point(field_get:CMsgTEFireBullets.mode) - return _internal_mode(); -} -inline void CMsgTEFireBullets::_internal_set_mode(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.mode_ = value; -} -inline void CMsgTEFireBullets::set_mode(uint32_t value) { - _internal_set_mode(value); - // @@protoc_insertion_point(field_set:CMsgTEFireBullets.mode) -} - -// optional uint32 seed = 5; -inline bool CMsgTEFireBullets::_internal_has_seed() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgTEFireBullets::has_seed() const { - return _internal_has_seed(); -} -inline void CMsgTEFireBullets::clear_seed() { - _impl_.seed_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgTEFireBullets::_internal_seed() const { - return _impl_.seed_; -} -inline uint32_t CMsgTEFireBullets::seed() const { - // @@protoc_insertion_point(field_get:CMsgTEFireBullets.seed) - return _internal_seed(); -} -inline void CMsgTEFireBullets::_internal_set_seed(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.seed_ = value; -} -inline void CMsgTEFireBullets::set_seed(uint32_t value) { - _internal_set_seed(value); - // @@protoc_insertion_point(field_set:CMsgTEFireBullets.seed) -} - -// optional fixed32 player = 6 [default = 16777215]; -inline bool CMsgTEFireBullets::_internal_has_player() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgTEFireBullets::has_player() const { - return _internal_has_player(); -} -inline void CMsgTEFireBullets::clear_player() { - _impl_.player_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CMsgTEFireBullets::_internal_player() const { - return _impl_.player_; -} -inline uint32_t CMsgTEFireBullets::player() const { - // @@protoc_insertion_point(field_get:CMsgTEFireBullets.player) - return _internal_player(); -} -inline void CMsgTEFireBullets::_internal_set_player(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.player_ = value; -} -inline void CMsgTEFireBullets::set_player(uint32_t value) { - _internal_set_player(value); - // @@protoc_insertion_point(field_set:CMsgTEFireBullets.player) -} - -// optional float inaccuracy = 7; -inline bool CMsgTEFireBullets::_internal_has_inaccuracy() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgTEFireBullets::has_inaccuracy() const { - return _internal_has_inaccuracy(); -} -inline void CMsgTEFireBullets::clear_inaccuracy() { - _impl_.inaccuracy_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline float CMsgTEFireBullets::_internal_inaccuracy() const { - return _impl_.inaccuracy_; -} -inline float CMsgTEFireBullets::inaccuracy() const { - // @@protoc_insertion_point(field_get:CMsgTEFireBullets.inaccuracy) - return _internal_inaccuracy(); -} -inline void CMsgTEFireBullets::_internal_set_inaccuracy(float value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.inaccuracy_ = value; -} -inline void CMsgTEFireBullets::set_inaccuracy(float value) { - _internal_set_inaccuracy(value); - // @@protoc_insertion_point(field_set:CMsgTEFireBullets.inaccuracy) -} - -// optional float recoil_index = 8; -inline bool CMsgTEFireBullets::_internal_has_recoil_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgTEFireBullets::has_recoil_index() const { - return _internal_has_recoil_index(); -} -inline void CMsgTEFireBullets::clear_recoil_index() { - _impl_.recoil_index_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline float CMsgTEFireBullets::_internal_recoil_index() const { - return _impl_.recoil_index_; -} -inline float CMsgTEFireBullets::recoil_index() const { - // @@protoc_insertion_point(field_get:CMsgTEFireBullets.recoil_index) - return _internal_recoil_index(); -} -inline void CMsgTEFireBullets::_internal_set_recoil_index(float value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.recoil_index_ = value; -} -inline void CMsgTEFireBullets::set_recoil_index(float value) { - _internal_set_recoil_index(value); - // @@protoc_insertion_point(field_set:CMsgTEFireBullets.recoil_index) -} - -// optional float spread = 9; -inline bool CMsgTEFireBullets::_internal_has_spread() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgTEFireBullets::has_spread() const { - return _internal_has_spread(); -} -inline void CMsgTEFireBullets::clear_spread() { - _impl_.spread_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline float CMsgTEFireBullets::_internal_spread() const { - return _impl_.spread_; -} -inline float CMsgTEFireBullets::spread() const { - // @@protoc_insertion_point(field_get:CMsgTEFireBullets.spread) - return _internal_spread(); -} -inline void CMsgTEFireBullets::_internal_set_spread(float value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.spread_ = value; -} -inline void CMsgTEFireBullets::set_spread(float value) { - _internal_set_spread(value); - // @@protoc_insertion_point(field_set:CMsgTEFireBullets.spread) -} - -// optional int32 sound_type = 10; -inline bool CMsgTEFireBullets::_internal_has_sound_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgTEFireBullets::has_sound_type() const { - return _internal_has_sound_type(); -} -inline void CMsgTEFireBullets::clear_sound_type() { - _impl_.sound_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t CMsgTEFireBullets::_internal_sound_type() const { - return _impl_.sound_type_; -} -inline int32_t CMsgTEFireBullets::sound_type() const { - // @@protoc_insertion_point(field_get:CMsgTEFireBullets.sound_type) - return _internal_sound_type(); -} -inline void CMsgTEFireBullets::_internal_set_sound_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.sound_type_ = value; -} -inline void CMsgTEFireBullets::set_sound_type(int32_t value) { - _internal_set_sound_type(value); - // @@protoc_insertion_point(field_set:CMsgTEFireBullets.sound_type) -} - -// optional uint32 item_def_index = 11; -inline bool CMsgTEFireBullets::_internal_has_item_def_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgTEFireBullets::has_item_def_index() const { - return _internal_has_item_def_index(); -} -inline void CMsgTEFireBullets::clear_item_def_index() { - _impl_.item_def_index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgTEFireBullets::_internal_item_def_index() const { - return _impl_.item_def_index_; -} -inline uint32_t CMsgTEFireBullets::item_def_index() const { - // @@protoc_insertion_point(field_get:CMsgTEFireBullets.item_def_index) - return _internal_item_def_index(); -} -inline void CMsgTEFireBullets::_internal_set_item_def_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.item_def_index_ = value; -} -inline void CMsgTEFireBullets::set_item_def_index(uint32_t value) { - _internal_set_item_def_index(value); - // @@protoc_insertion_point(field_set:CMsgTEFireBullets.item_def_index) -} - -// optional fixed32 sound_dsp_effect = 12; -inline bool CMsgTEFireBullets::_internal_has_sound_dsp_effect() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgTEFireBullets::has_sound_dsp_effect() const { - return _internal_has_sound_dsp_effect(); -} -inline void CMsgTEFireBullets::clear_sound_dsp_effect() { - _impl_.sound_dsp_effect_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgTEFireBullets::_internal_sound_dsp_effect() const { - return _impl_.sound_dsp_effect_; -} -inline uint32_t CMsgTEFireBullets::sound_dsp_effect() const { - // @@protoc_insertion_point(field_get:CMsgTEFireBullets.sound_dsp_effect) - return _internal_sound_dsp_effect(); -} -inline void CMsgTEFireBullets::_internal_set_sound_dsp_effect(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.sound_dsp_effect_ = value; -} -inline void CMsgTEFireBullets::set_sound_dsp_effect(uint32_t value) { - _internal_set_sound_dsp_effect(value); - // @@protoc_insertion_point(field_set:CMsgTEFireBullets.sound_dsp_effect) -} - -// optional .CMsgVector ent_origin = 13; -inline bool CMsgTEFireBullets::_internal_has_ent_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.ent_origin_ != nullptr); - return value; -} -inline bool CMsgTEFireBullets::has_ent_origin() const { - return _internal_has_ent_origin(); -} -inline const ::CMsgVector& CMsgTEFireBullets::_internal_ent_origin() const { - const ::CMsgVector* p = _impl_.ent_origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEFireBullets::ent_origin() const { - // @@protoc_insertion_point(field_get:CMsgTEFireBullets.ent_origin) - return _internal_ent_origin(); -} -inline void CMsgTEFireBullets::unsafe_arena_set_allocated_ent_origin( - ::CMsgVector* ent_origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ent_origin_); - } - _impl_.ent_origin_ = ent_origin; - if (ent_origin) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEFireBullets.ent_origin) -} -inline ::CMsgVector* CMsgTEFireBullets::release_ent_origin() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.ent_origin_; - _impl_.ent_origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEFireBullets::unsafe_arena_release_ent_origin() { - // @@protoc_insertion_point(field_release:CMsgTEFireBullets.ent_origin) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.ent_origin_; - _impl_.ent_origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEFireBullets::_internal_mutable_ent_origin() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.ent_origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.ent_origin_ = p; - } - return _impl_.ent_origin_; -} -inline ::CMsgVector* CMsgTEFireBullets::mutable_ent_origin() { - ::CMsgVector* _msg = _internal_mutable_ent_origin(); - // @@protoc_insertion_point(field_mutable:CMsgTEFireBullets.ent_origin) - return _msg; -} -inline void CMsgTEFireBullets::set_allocated_ent_origin(::CMsgVector* ent_origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ent_origin_); - } - if (ent_origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ent_origin)); - if (message_arena != submessage_arena) { - ent_origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, ent_origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.ent_origin_ = ent_origin; - // @@protoc_insertion_point(field_set_allocated:CMsgTEFireBullets.ent_origin) -} - -// optional uint32 num_bullets_remaining = 14; -inline bool CMsgTEFireBullets::_internal_has_num_bullets_remaining() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgTEFireBullets::has_num_bullets_remaining() const { - return _internal_has_num_bullets_remaining(); -} -inline void CMsgTEFireBullets::clear_num_bullets_remaining() { - _impl_.num_bullets_remaining_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgTEFireBullets::_internal_num_bullets_remaining() const { - return _impl_.num_bullets_remaining_; -} -inline uint32_t CMsgTEFireBullets::num_bullets_remaining() const { - // @@protoc_insertion_point(field_get:CMsgTEFireBullets.num_bullets_remaining) - return _internal_num_bullets_remaining(); -} -inline void CMsgTEFireBullets::_internal_set_num_bullets_remaining(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.num_bullets_remaining_ = value; -} -inline void CMsgTEFireBullets::set_num_bullets_remaining(uint32_t value) { - _internal_set_num_bullets_remaining(value); - // @@protoc_insertion_point(field_set:CMsgTEFireBullets.num_bullets_remaining) -} - -// optional uint32 attack_type = 15; -inline bool CMsgTEFireBullets::_internal_has_attack_type() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgTEFireBullets::has_attack_type() const { - return _internal_has_attack_type(); -} -inline void CMsgTEFireBullets::clear_attack_type() { - _impl_.attack_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgTEFireBullets::_internal_attack_type() const { - return _impl_.attack_type_; -} -inline uint32_t CMsgTEFireBullets::attack_type() const { - // @@protoc_insertion_point(field_get:CMsgTEFireBullets.attack_type) - return _internal_attack_type(); -} -inline void CMsgTEFireBullets::_internal_set_attack_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.attack_type_ = value; -} -inline void CMsgTEFireBullets::set_attack_type(uint32_t value) { - _internal_set_attack_type(value); - // @@protoc_insertion_point(field_set:CMsgTEFireBullets.attack_type) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::ECsgoGameEvents> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ECsgoGameEvents>() { - return ::ECsgoGameEvents_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_cs_5fgameevents_2eproto diff --git a/protobuf/generated/cs_prediction_events.pb.cc b/protobuf/generated/cs_prediction_events.pb.cc deleted file mode 100644 index a135607d4..000000000 --- a/protobuf/generated/cs_prediction_events.pb.cc +++ /dev/null @@ -1,704 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: cs_prediction_events.proto - -#include "cs_prediction_events.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CCSPredictionEvent_DamageTag::CCSPredictionEvent_DamageTag( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.flinch_mod_small_)*/0 - , /*decltype(_impl_.flinch_mod_large_)*/0 - , /*decltype(_impl_.friendly_fire_damage_reduction_ratio_)*/0} {} -struct CCSPredictionEvent_DamageTagDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSPredictionEvent_DamageTagDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSPredictionEvent_DamageTagDefaultTypeInternal() {} - union { - CCSPredictionEvent_DamageTag _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSPredictionEvent_DamageTagDefaultTypeInternal _CCSPredictionEvent_DamageTag_default_instance_; -PROTOBUF_CONSTEXPR CCSPredictionEvent_AddAimPunch::CCSPredictionEvent_AddAimPunch( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.punch_angle_)*/nullptr - , /*decltype(_impl_.when_tick_)*/0u - , /*decltype(_impl_.when_tick_frac_)*/0} {} -struct CCSPredictionEvent_AddAimPunchDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSPredictionEvent_AddAimPunchDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSPredictionEvent_AddAimPunchDefaultTypeInternal() {} - union { - CCSPredictionEvent_AddAimPunch _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSPredictionEvent_AddAimPunchDefaultTypeInternal _CCSPredictionEvent_AddAimPunch_default_instance_; -static ::_pb::Metadata file_level_metadata_cs_5fprediction_5fevents_2eproto[2]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_cs_5fprediction_5fevents_2eproto[1]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_cs_5fprediction_5fevents_2eproto = nullptr; - -const uint32_t TableStruct_cs_5fprediction_5fevents_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_DamageTag, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_DamageTag, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_DamageTag, _impl_.flinch_mod_small_), - PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_DamageTag, _impl_.flinch_mod_large_), - PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_DamageTag, _impl_.friendly_fire_damage_reduction_ratio_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_AddAimPunch, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_AddAimPunch, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_AddAimPunch, _impl_.punch_angle_), - PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_AddAimPunch, _impl_.when_tick_), - PROTOBUF_FIELD_OFFSET(::CCSPredictionEvent_AddAimPunch, _impl_.when_tick_frac_), - 0, - 1, - 2, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 9, -1, sizeof(::CCSPredictionEvent_DamageTag)}, - { 12, 21, -1, sizeof(::CCSPredictionEvent_AddAimPunch)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CCSPredictionEvent_DamageTag_default_instance_._instance, - &::_CCSPredictionEvent_AddAimPunch_default_instance_._instance, -}; - -const char descriptor_table_protodef_cs_5fprediction_5fevents_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\032cs_prediction_events.proto\032\026networkbas" - "etypes.proto\032\027prediction_events.proto\"\200\001" - "\n\034CCSPredictionEvent_DamageTag\022\030\n\020flinch" - "_mod_small\030\001 \001(\002\022\030\n\020flinch_mod_large\030\002 \001" - "(\002\022,\n$friendly_fire_damage_reduction_rat" - "io\030\003 \001(\002\"m\n\036CCSPredictionEvent_AddAimPun" - "ch\022 \n\013punch_angle\030\001 \001(\0132\013.CMsgQAngle\022\021\n\t" - "when_tick\030\002 \001(\r\022\026\n\016when_tick_frac\030\003 \001(\002*" - "\?\n\023ECSPredictionEvents\022\022\n\016CSPE_DamageTag" - "\020\001\022\024\n\020CSPE_AddAimPunch\020\003" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_cs_5fprediction_5fevents_2eproto_deps[2] = { - &::descriptor_table_networkbasetypes_2eproto, - &::descriptor_table_prediction_5fevents_2eproto, -}; -static ::_pbi::once_flag descriptor_table_cs_5fprediction_5fevents_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_cs_5fprediction_5fevents_2eproto = { - false, false, 384, descriptor_table_protodef_cs_5fprediction_5fevents_2eproto, - "cs_prediction_events.proto", - &descriptor_table_cs_5fprediction_5fevents_2eproto_once, descriptor_table_cs_5fprediction_5fevents_2eproto_deps, 2, 2, - schemas, file_default_instances, TableStruct_cs_5fprediction_5fevents_2eproto::offsets, - file_level_metadata_cs_5fprediction_5fevents_2eproto, file_level_enum_descriptors_cs_5fprediction_5fevents_2eproto, - file_level_service_descriptors_cs_5fprediction_5fevents_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_cs_5fprediction_5fevents_2eproto_getter() { - return &descriptor_table_cs_5fprediction_5fevents_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_cs_5fprediction_5fevents_2eproto(&descriptor_table_cs_5fprediction_5fevents_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECSPredictionEvents_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_cs_5fprediction_5fevents_2eproto); - return file_level_enum_descriptors_cs_5fprediction_5fevents_2eproto[0]; -} -bool ECSPredictionEvents_IsValid(int value) { - switch (value) { - case 1: - case 3: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CCSPredictionEvent_DamageTag::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_flinch_mod_small(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_flinch_mod_large(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_friendly_fire_damage_reduction_ratio(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CCSPredictionEvent_DamageTag::CCSPredictionEvent_DamageTag(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSPredictionEvent_DamageTag) -} -CCSPredictionEvent_DamageTag::CCSPredictionEvent_DamageTag(const CCSPredictionEvent_DamageTag& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSPredictionEvent_DamageTag* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.flinch_mod_small_){} - , decltype(_impl_.flinch_mod_large_){} - , decltype(_impl_.friendly_fire_damage_reduction_ratio_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.flinch_mod_small_, &from._impl_.flinch_mod_small_, - static_cast(reinterpret_cast(&_impl_.friendly_fire_damage_reduction_ratio_) - - reinterpret_cast(&_impl_.flinch_mod_small_)) + sizeof(_impl_.friendly_fire_damage_reduction_ratio_)); - // @@protoc_insertion_point(copy_constructor:CCSPredictionEvent_DamageTag) -} - -inline void CCSPredictionEvent_DamageTag::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.flinch_mod_small_){0} - , decltype(_impl_.flinch_mod_large_){0} - , decltype(_impl_.friendly_fire_damage_reduction_ratio_){0} - }; -} - -CCSPredictionEvent_DamageTag::~CCSPredictionEvent_DamageTag() { - // @@protoc_insertion_point(destructor:CCSPredictionEvent_DamageTag) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSPredictionEvent_DamageTag::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSPredictionEvent_DamageTag::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSPredictionEvent_DamageTag::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSPredictionEvent_DamageTag) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.flinch_mod_small_, 0, static_cast( - reinterpret_cast(&_impl_.friendly_fire_damage_reduction_ratio_) - - reinterpret_cast(&_impl_.flinch_mod_small_)) + sizeof(_impl_.friendly_fire_damage_reduction_ratio_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSPredictionEvent_DamageTag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float flinch_mod_small = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_flinch_mod_small(&has_bits); - _impl_.flinch_mod_small_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float flinch_mod_large = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_flinch_mod_large(&has_bits); - _impl_.flinch_mod_large_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float friendly_fire_damage_reduction_ratio = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_friendly_fire_damage_reduction_ratio(&has_bits); - _impl_.friendly_fire_damage_reduction_ratio_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSPredictionEvent_DamageTag::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSPredictionEvent_DamageTag) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float flinch_mod_small = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_flinch_mod_small(), target); - } - - // optional float flinch_mod_large = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_flinch_mod_large(), target); - } - - // optional float friendly_fire_damage_reduction_ratio = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_friendly_fire_damage_reduction_ratio(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSPredictionEvent_DamageTag) - return target; -} - -size_t CCSPredictionEvent_DamageTag::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSPredictionEvent_DamageTag) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional float flinch_mod_small = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional float flinch_mod_large = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float friendly_fire_damage_reduction_ratio = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSPredictionEvent_DamageTag::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSPredictionEvent_DamageTag::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSPredictionEvent_DamageTag::GetClassData() const { return &_class_data_; } - - -void CCSPredictionEvent_DamageTag::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSPredictionEvent_DamageTag) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.flinch_mod_small_ = from._impl_.flinch_mod_small_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.flinch_mod_large_ = from._impl_.flinch_mod_large_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.friendly_fire_damage_reduction_ratio_ = from._impl_.friendly_fire_damage_reduction_ratio_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSPredictionEvent_DamageTag::CopyFrom(const CCSPredictionEvent_DamageTag& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSPredictionEvent_DamageTag) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSPredictionEvent_DamageTag::IsInitialized() const { - return true; -} - -void CCSPredictionEvent_DamageTag::InternalSwap(CCSPredictionEvent_DamageTag* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSPredictionEvent_DamageTag, _impl_.friendly_fire_damage_reduction_ratio_) - + sizeof(CCSPredictionEvent_DamageTag::_impl_.friendly_fire_damage_reduction_ratio_) - - PROTOBUF_FIELD_OFFSET(CCSPredictionEvent_DamageTag, _impl_.flinch_mod_small_)>( - reinterpret_cast(&_impl_.flinch_mod_small_), - reinterpret_cast(&other->_impl_.flinch_mod_small_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSPredictionEvent_DamageTag::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cs_5fprediction_5fevents_2eproto_getter, &descriptor_table_cs_5fprediction_5fevents_2eproto_once, - file_level_metadata_cs_5fprediction_5fevents_2eproto[0]); -} - -// =================================================================== - -class CCSPredictionEvent_AddAimPunch::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgQAngle& punch_angle(const CCSPredictionEvent_AddAimPunch* msg); - static void set_has_punch_angle(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_when_tick(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_when_tick_frac(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::CMsgQAngle& -CCSPredictionEvent_AddAimPunch::_Internal::punch_angle(const CCSPredictionEvent_AddAimPunch* msg) { - return *msg->_impl_.punch_angle_; -} -void CCSPredictionEvent_AddAimPunch::clear_punch_angle() { - if (_impl_.punch_angle_ != nullptr) _impl_.punch_angle_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CCSPredictionEvent_AddAimPunch::CCSPredictionEvent_AddAimPunch(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSPredictionEvent_AddAimPunch) -} -CCSPredictionEvent_AddAimPunch::CCSPredictionEvent_AddAimPunch(const CCSPredictionEvent_AddAimPunch& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSPredictionEvent_AddAimPunch* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.punch_angle_){nullptr} - , decltype(_impl_.when_tick_){} - , decltype(_impl_.when_tick_frac_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_punch_angle()) { - _this->_impl_.punch_angle_ = new ::CMsgQAngle(*from._impl_.punch_angle_); - } - ::memcpy(&_impl_.when_tick_, &from._impl_.when_tick_, - static_cast(reinterpret_cast(&_impl_.when_tick_frac_) - - reinterpret_cast(&_impl_.when_tick_)) + sizeof(_impl_.when_tick_frac_)); - // @@protoc_insertion_point(copy_constructor:CCSPredictionEvent_AddAimPunch) -} - -inline void CCSPredictionEvent_AddAimPunch::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.punch_angle_){nullptr} - , decltype(_impl_.when_tick_){0u} - , decltype(_impl_.when_tick_frac_){0} - }; -} - -CCSPredictionEvent_AddAimPunch::~CCSPredictionEvent_AddAimPunch() { - // @@protoc_insertion_point(destructor:CCSPredictionEvent_AddAimPunch) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSPredictionEvent_AddAimPunch::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.punch_angle_; -} - -void CCSPredictionEvent_AddAimPunch::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSPredictionEvent_AddAimPunch::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSPredictionEvent_AddAimPunch) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.punch_angle_ != nullptr); - _impl_.punch_angle_->Clear(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.when_tick_, 0, static_cast( - reinterpret_cast(&_impl_.when_tick_frac_) - - reinterpret_cast(&_impl_.when_tick_)) + sizeof(_impl_.when_tick_frac_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSPredictionEvent_AddAimPunch::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgQAngle punch_angle = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_punch_angle(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 when_tick = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_when_tick(&has_bits); - _impl_.when_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float when_tick_frac = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_when_tick_frac(&has_bits); - _impl_.when_tick_frac_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSPredictionEvent_AddAimPunch::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSPredictionEvent_AddAimPunch) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgQAngle punch_angle = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::punch_angle(this), - _Internal::punch_angle(this).GetCachedSize(), target, stream); - } - - // optional uint32 when_tick = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_when_tick(), target); - } - - // optional float when_tick_frac = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_when_tick_frac(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSPredictionEvent_AddAimPunch) - return target; -} - -size_t CCSPredictionEvent_AddAimPunch::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSPredictionEvent_AddAimPunch) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .CMsgQAngle punch_angle = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.punch_angle_); - } - - // optional uint32 when_tick = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_when_tick()); - } - - // optional float when_tick_frac = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSPredictionEvent_AddAimPunch::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSPredictionEvent_AddAimPunch::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSPredictionEvent_AddAimPunch::GetClassData() const { return &_class_data_; } - - -void CCSPredictionEvent_AddAimPunch::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSPredictionEvent_AddAimPunch) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_punch_angle()->::CMsgQAngle::MergeFrom( - from._internal_punch_angle()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.when_tick_ = from._impl_.when_tick_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.when_tick_frac_ = from._impl_.when_tick_frac_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSPredictionEvent_AddAimPunch::CopyFrom(const CCSPredictionEvent_AddAimPunch& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSPredictionEvent_AddAimPunch) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSPredictionEvent_AddAimPunch::IsInitialized() const { - return true; -} - -void CCSPredictionEvent_AddAimPunch::InternalSwap(CCSPredictionEvent_AddAimPunch* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSPredictionEvent_AddAimPunch, _impl_.when_tick_frac_) - + sizeof(CCSPredictionEvent_AddAimPunch::_impl_.when_tick_frac_) - - PROTOBUF_FIELD_OFFSET(CCSPredictionEvent_AddAimPunch, _impl_.punch_angle_)>( - reinterpret_cast(&_impl_.punch_angle_), - reinterpret_cast(&other->_impl_.punch_angle_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSPredictionEvent_AddAimPunch::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cs_5fprediction_5fevents_2eproto_getter, &descriptor_table_cs_5fprediction_5fevents_2eproto_once, - file_level_metadata_cs_5fprediction_5fevents_2eproto[1]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CCSPredictionEvent_DamageTag* -Arena::CreateMaybeMessage< ::CCSPredictionEvent_DamageTag >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSPredictionEvent_DamageTag >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSPredictionEvent_AddAimPunch* -Arena::CreateMaybeMessage< ::CCSPredictionEvent_AddAimPunch >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSPredictionEvent_AddAimPunch >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/cs_prediction_events.pb.h b/protobuf/generated/cs_prediction_events.pb.h deleted file mode 100644 index 0fb35a28c..000000000 --- a/protobuf/generated/cs_prediction_events.pb.h +++ /dev/null @@ -1,733 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: cs_prediction_events.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_cs_5fprediction_5fevents_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_cs_5fprediction_5fevents_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "networkbasetypes.pb.h" -#include "prediction_events.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_cs_5fprediction_5fevents_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_cs_5fprediction_5fevents_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_cs_5fprediction_5fevents_2eproto; -class CCSPredictionEvent_AddAimPunch; -struct CCSPredictionEvent_AddAimPunchDefaultTypeInternal; -extern CCSPredictionEvent_AddAimPunchDefaultTypeInternal _CCSPredictionEvent_AddAimPunch_default_instance_; -class CCSPredictionEvent_DamageTag; -struct CCSPredictionEvent_DamageTagDefaultTypeInternal; -extern CCSPredictionEvent_DamageTagDefaultTypeInternal _CCSPredictionEvent_DamageTag_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CCSPredictionEvent_AddAimPunch* Arena::CreateMaybeMessage<::CCSPredictionEvent_AddAimPunch>(Arena*); -template<> ::CCSPredictionEvent_DamageTag* Arena::CreateMaybeMessage<::CCSPredictionEvent_DamageTag>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum ECSPredictionEvents : int { - CSPE_DamageTag = 1, - CSPE_AddAimPunch = 3 -}; -bool ECSPredictionEvents_IsValid(int value); -constexpr ECSPredictionEvents ECSPredictionEvents_MIN = CSPE_DamageTag; -constexpr ECSPredictionEvents ECSPredictionEvents_MAX = CSPE_AddAimPunch; -constexpr int ECSPredictionEvents_ARRAYSIZE = ECSPredictionEvents_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECSPredictionEvents_descriptor(); -template -inline const std::string& ECSPredictionEvents_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ECSPredictionEvents_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ECSPredictionEvents_descriptor(), enum_t_value); -} -inline bool ECSPredictionEvents_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ECSPredictionEvents* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ECSPredictionEvents_descriptor(), name, value); -} -// =================================================================== - -class CCSPredictionEvent_DamageTag : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSPredictionEvent_DamageTag) */ { - public: - inline CCSPredictionEvent_DamageTag() : CCSPredictionEvent_DamageTag(nullptr) {} - ~CCSPredictionEvent_DamageTag() override; - explicit PROTOBUF_CONSTEXPR CCSPredictionEvent_DamageTag(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSPredictionEvent_DamageTag(const CCSPredictionEvent_DamageTag& from); - CCSPredictionEvent_DamageTag(CCSPredictionEvent_DamageTag&& from) noexcept - : CCSPredictionEvent_DamageTag() { - *this = ::std::move(from); - } - - inline CCSPredictionEvent_DamageTag& operator=(const CCSPredictionEvent_DamageTag& from) { - CopyFrom(from); - return *this; - } - inline CCSPredictionEvent_DamageTag& operator=(CCSPredictionEvent_DamageTag&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSPredictionEvent_DamageTag& default_instance() { - return *internal_default_instance(); - } - static inline const CCSPredictionEvent_DamageTag* internal_default_instance() { - return reinterpret_cast( - &_CCSPredictionEvent_DamageTag_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CCSPredictionEvent_DamageTag& a, CCSPredictionEvent_DamageTag& b) { - a.Swap(&b); - } - inline void Swap(CCSPredictionEvent_DamageTag* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSPredictionEvent_DamageTag* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSPredictionEvent_DamageTag* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSPredictionEvent_DamageTag& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSPredictionEvent_DamageTag& from) { - CCSPredictionEvent_DamageTag::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSPredictionEvent_DamageTag* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSPredictionEvent_DamageTag"; - } - protected: - explicit CCSPredictionEvent_DamageTag(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFlinchModSmallFieldNumber = 1, - kFlinchModLargeFieldNumber = 2, - kFriendlyFireDamageReductionRatioFieldNumber = 3, - }; - // optional float flinch_mod_small = 1; - bool has_flinch_mod_small() const; - private: - bool _internal_has_flinch_mod_small() const; - public: - void clear_flinch_mod_small(); - float flinch_mod_small() const; - void set_flinch_mod_small(float value); - private: - float _internal_flinch_mod_small() const; - void _internal_set_flinch_mod_small(float value); - public: - - // optional float flinch_mod_large = 2; - bool has_flinch_mod_large() const; - private: - bool _internal_has_flinch_mod_large() const; - public: - void clear_flinch_mod_large(); - float flinch_mod_large() const; - void set_flinch_mod_large(float value); - private: - float _internal_flinch_mod_large() const; - void _internal_set_flinch_mod_large(float value); - public: - - // optional float friendly_fire_damage_reduction_ratio = 3; - bool has_friendly_fire_damage_reduction_ratio() const; - private: - bool _internal_has_friendly_fire_damage_reduction_ratio() const; - public: - void clear_friendly_fire_damage_reduction_ratio(); - float friendly_fire_damage_reduction_ratio() const; - void set_friendly_fire_damage_reduction_ratio(float value); - private: - float _internal_friendly_fire_damage_reduction_ratio() const; - void _internal_set_friendly_fire_damage_reduction_ratio(float value); - public: - - // @@protoc_insertion_point(class_scope:CCSPredictionEvent_DamageTag) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float flinch_mod_small_; - float flinch_mod_large_; - float friendly_fire_damage_reduction_ratio_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cs_5fprediction_5fevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSPredictionEvent_AddAimPunch : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSPredictionEvent_AddAimPunch) */ { - public: - inline CCSPredictionEvent_AddAimPunch() : CCSPredictionEvent_AddAimPunch(nullptr) {} - ~CCSPredictionEvent_AddAimPunch() override; - explicit PROTOBUF_CONSTEXPR CCSPredictionEvent_AddAimPunch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSPredictionEvent_AddAimPunch(const CCSPredictionEvent_AddAimPunch& from); - CCSPredictionEvent_AddAimPunch(CCSPredictionEvent_AddAimPunch&& from) noexcept - : CCSPredictionEvent_AddAimPunch() { - *this = ::std::move(from); - } - - inline CCSPredictionEvent_AddAimPunch& operator=(const CCSPredictionEvent_AddAimPunch& from) { - CopyFrom(from); - return *this; - } - inline CCSPredictionEvent_AddAimPunch& operator=(CCSPredictionEvent_AddAimPunch&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSPredictionEvent_AddAimPunch& default_instance() { - return *internal_default_instance(); - } - static inline const CCSPredictionEvent_AddAimPunch* internal_default_instance() { - return reinterpret_cast( - &_CCSPredictionEvent_AddAimPunch_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CCSPredictionEvent_AddAimPunch& a, CCSPredictionEvent_AddAimPunch& b) { - a.Swap(&b); - } - inline void Swap(CCSPredictionEvent_AddAimPunch* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSPredictionEvent_AddAimPunch* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSPredictionEvent_AddAimPunch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSPredictionEvent_AddAimPunch& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSPredictionEvent_AddAimPunch& from) { - CCSPredictionEvent_AddAimPunch::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSPredictionEvent_AddAimPunch* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSPredictionEvent_AddAimPunch"; - } - protected: - explicit CCSPredictionEvent_AddAimPunch(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPunchAngleFieldNumber = 1, - kWhenTickFieldNumber = 2, - kWhenTickFracFieldNumber = 3, - }; - // optional .CMsgQAngle punch_angle = 1; - bool has_punch_angle() const; - private: - bool _internal_has_punch_angle() const; - public: - void clear_punch_angle(); - const ::CMsgQAngle& punch_angle() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_punch_angle(); - ::CMsgQAngle* mutable_punch_angle(); - void set_allocated_punch_angle(::CMsgQAngle* punch_angle); - private: - const ::CMsgQAngle& _internal_punch_angle() const; - ::CMsgQAngle* _internal_mutable_punch_angle(); - public: - void unsafe_arena_set_allocated_punch_angle( - ::CMsgQAngle* punch_angle); - ::CMsgQAngle* unsafe_arena_release_punch_angle(); - - // optional uint32 when_tick = 2; - bool has_when_tick() const; - private: - bool _internal_has_when_tick() const; - public: - void clear_when_tick(); - uint32_t when_tick() const; - void set_when_tick(uint32_t value); - private: - uint32_t _internal_when_tick() const; - void _internal_set_when_tick(uint32_t value); - public: - - // optional float when_tick_frac = 3; - bool has_when_tick_frac() const; - private: - bool _internal_has_when_tick_frac() const; - public: - void clear_when_tick_frac(); - float when_tick_frac() const; - void set_when_tick_frac(float value); - private: - float _internal_when_tick_frac() const; - void _internal_set_when_tick_frac(float value); - public: - - // @@protoc_insertion_point(class_scope:CCSPredictionEvent_AddAimPunch) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgQAngle* punch_angle_; - uint32_t when_tick_; - float when_tick_frac_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cs_5fprediction_5fevents_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CCSPredictionEvent_DamageTag - -// optional float flinch_mod_small = 1; -inline bool CCSPredictionEvent_DamageTag::_internal_has_flinch_mod_small() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSPredictionEvent_DamageTag::has_flinch_mod_small() const { - return _internal_has_flinch_mod_small(); -} -inline void CCSPredictionEvent_DamageTag::clear_flinch_mod_small() { - _impl_.flinch_mod_small_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CCSPredictionEvent_DamageTag::_internal_flinch_mod_small() const { - return _impl_.flinch_mod_small_; -} -inline float CCSPredictionEvent_DamageTag::flinch_mod_small() const { - // @@protoc_insertion_point(field_get:CCSPredictionEvent_DamageTag.flinch_mod_small) - return _internal_flinch_mod_small(); -} -inline void CCSPredictionEvent_DamageTag::_internal_set_flinch_mod_small(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.flinch_mod_small_ = value; -} -inline void CCSPredictionEvent_DamageTag::set_flinch_mod_small(float value) { - _internal_set_flinch_mod_small(value); - // @@protoc_insertion_point(field_set:CCSPredictionEvent_DamageTag.flinch_mod_small) -} - -// optional float flinch_mod_large = 2; -inline bool CCSPredictionEvent_DamageTag::_internal_has_flinch_mod_large() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSPredictionEvent_DamageTag::has_flinch_mod_large() const { - return _internal_has_flinch_mod_large(); -} -inline void CCSPredictionEvent_DamageTag::clear_flinch_mod_large() { - _impl_.flinch_mod_large_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CCSPredictionEvent_DamageTag::_internal_flinch_mod_large() const { - return _impl_.flinch_mod_large_; -} -inline float CCSPredictionEvent_DamageTag::flinch_mod_large() const { - // @@protoc_insertion_point(field_get:CCSPredictionEvent_DamageTag.flinch_mod_large) - return _internal_flinch_mod_large(); -} -inline void CCSPredictionEvent_DamageTag::_internal_set_flinch_mod_large(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.flinch_mod_large_ = value; -} -inline void CCSPredictionEvent_DamageTag::set_flinch_mod_large(float value) { - _internal_set_flinch_mod_large(value); - // @@protoc_insertion_point(field_set:CCSPredictionEvent_DamageTag.flinch_mod_large) -} - -// optional float friendly_fire_damage_reduction_ratio = 3; -inline bool CCSPredictionEvent_DamageTag::_internal_has_friendly_fire_damage_reduction_ratio() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSPredictionEvent_DamageTag::has_friendly_fire_damage_reduction_ratio() const { - return _internal_has_friendly_fire_damage_reduction_ratio(); -} -inline void CCSPredictionEvent_DamageTag::clear_friendly_fire_damage_reduction_ratio() { - _impl_.friendly_fire_damage_reduction_ratio_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CCSPredictionEvent_DamageTag::_internal_friendly_fire_damage_reduction_ratio() const { - return _impl_.friendly_fire_damage_reduction_ratio_; -} -inline float CCSPredictionEvent_DamageTag::friendly_fire_damage_reduction_ratio() const { - // @@protoc_insertion_point(field_get:CCSPredictionEvent_DamageTag.friendly_fire_damage_reduction_ratio) - return _internal_friendly_fire_damage_reduction_ratio(); -} -inline void CCSPredictionEvent_DamageTag::_internal_set_friendly_fire_damage_reduction_ratio(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.friendly_fire_damage_reduction_ratio_ = value; -} -inline void CCSPredictionEvent_DamageTag::set_friendly_fire_damage_reduction_ratio(float value) { - _internal_set_friendly_fire_damage_reduction_ratio(value); - // @@protoc_insertion_point(field_set:CCSPredictionEvent_DamageTag.friendly_fire_damage_reduction_ratio) -} - -// ------------------------------------------------------------------- - -// CCSPredictionEvent_AddAimPunch - -// optional .CMsgQAngle punch_angle = 1; -inline bool CCSPredictionEvent_AddAimPunch::_internal_has_punch_angle() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.punch_angle_ != nullptr); - return value; -} -inline bool CCSPredictionEvent_AddAimPunch::has_punch_angle() const { - return _internal_has_punch_angle(); -} -inline const ::CMsgQAngle& CCSPredictionEvent_AddAimPunch::_internal_punch_angle() const { - const ::CMsgQAngle* p = _impl_.punch_angle_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CCSPredictionEvent_AddAimPunch::punch_angle() const { - // @@protoc_insertion_point(field_get:CCSPredictionEvent_AddAimPunch.punch_angle) - return _internal_punch_angle(); -} -inline void CCSPredictionEvent_AddAimPunch::unsafe_arena_set_allocated_punch_angle( - ::CMsgQAngle* punch_angle) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.punch_angle_); - } - _impl_.punch_angle_ = punch_angle; - if (punch_angle) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSPredictionEvent_AddAimPunch.punch_angle) -} -inline ::CMsgQAngle* CCSPredictionEvent_AddAimPunch::release_punch_angle() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgQAngle* temp = _impl_.punch_angle_; - _impl_.punch_angle_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CCSPredictionEvent_AddAimPunch::unsafe_arena_release_punch_angle() { - // @@protoc_insertion_point(field_release:CCSPredictionEvent_AddAimPunch.punch_angle) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgQAngle* temp = _impl_.punch_angle_; - _impl_.punch_angle_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CCSPredictionEvent_AddAimPunch::_internal_mutable_punch_angle() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.punch_angle_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.punch_angle_ = p; - } - return _impl_.punch_angle_; -} -inline ::CMsgQAngle* CCSPredictionEvent_AddAimPunch::mutable_punch_angle() { - ::CMsgQAngle* _msg = _internal_mutable_punch_angle(); - // @@protoc_insertion_point(field_mutable:CCSPredictionEvent_AddAimPunch.punch_angle) - return _msg; -} -inline void CCSPredictionEvent_AddAimPunch::set_allocated_punch_angle(::CMsgQAngle* punch_angle) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.punch_angle_); - } - if (punch_angle) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(punch_angle)); - if (message_arena != submessage_arena) { - punch_angle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, punch_angle, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.punch_angle_ = punch_angle; - // @@protoc_insertion_point(field_set_allocated:CCSPredictionEvent_AddAimPunch.punch_angle) -} - -// optional uint32 when_tick = 2; -inline bool CCSPredictionEvent_AddAimPunch::_internal_has_when_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSPredictionEvent_AddAimPunch::has_when_tick() const { - return _internal_has_when_tick(); -} -inline void CCSPredictionEvent_AddAimPunch::clear_when_tick() { - _impl_.when_tick_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CCSPredictionEvent_AddAimPunch::_internal_when_tick() const { - return _impl_.when_tick_; -} -inline uint32_t CCSPredictionEvent_AddAimPunch::when_tick() const { - // @@protoc_insertion_point(field_get:CCSPredictionEvent_AddAimPunch.when_tick) - return _internal_when_tick(); -} -inline void CCSPredictionEvent_AddAimPunch::_internal_set_when_tick(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.when_tick_ = value; -} -inline void CCSPredictionEvent_AddAimPunch::set_when_tick(uint32_t value) { - _internal_set_when_tick(value); - // @@protoc_insertion_point(field_set:CCSPredictionEvent_AddAimPunch.when_tick) -} - -// optional float when_tick_frac = 3; -inline bool CCSPredictionEvent_AddAimPunch::_internal_has_when_tick_frac() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSPredictionEvent_AddAimPunch::has_when_tick_frac() const { - return _internal_has_when_tick_frac(); -} -inline void CCSPredictionEvent_AddAimPunch::clear_when_tick_frac() { - _impl_.when_tick_frac_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CCSPredictionEvent_AddAimPunch::_internal_when_tick_frac() const { - return _impl_.when_tick_frac_; -} -inline float CCSPredictionEvent_AddAimPunch::when_tick_frac() const { - // @@protoc_insertion_point(field_get:CCSPredictionEvent_AddAimPunch.when_tick_frac) - return _internal_when_tick_frac(); -} -inline void CCSPredictionEvent_AddAimPunch::_internal_set_when_tick_frac(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.when_tick_frac_ = value; -} -inline void CCSPredictionEvent_AddAimPunch::set_when_tick_frac(float value) { - _internal_set_when_tick_frac(value); - // @@protoc_insertion_point(field_set:CCSPredictionEvent_AddAimPunch.when_tick_frac) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::ECSPredictionEvents> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ECSPredictionEvents>() { - return ::ECSPredictionEvents_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_cs_5fprediction_5fevents_2eproto diff --git a/protobuf/generated/cs_usercmd.pb.cc b/protobuf/generated/cs_usercmd.pb.cc deleted file mode 100644 index 3d1493ba5..000000000 --- a/protobuf/generated/cs_usercmd.pb.cc +++ /dev/null @@ -1,1936 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: cs_usercmd.proto - -#include "cs_usercmd.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CSGOInterpolationInfoPB::CSGOInterpolationInfoPB( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.frac_)*/0 - , /*decltype(_impl_.src_tick_)*/-1 - , /*decltype(_impl_.dst_tick_)*/-1} {} -struct CSGOInterpolationInfoPBDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSGOInterpolationInfoPBDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSGOInterpolationInfoPBDefaultTypeInternal() {} - union { - CSGOInterpolationInfoPB _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSGOInterpolationInfoPBDefaultTypeInternal _CSGOInterpolationInfoPB_default_instance_; -PROTOBUF_CONSTEXPR CSGOInterpolationInfoPB_CL::CSGOInterpolationInfoPB_CL( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.frac_)*/0} {} -struct CSGOInterpolationInfoPB_CLDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSGOInterpolationInfoPB_CLDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSGOInterpolationInfoPB_CLDefaultTypeInternal() {} - union { - CSGOInterpolationInfoPB_CL _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSGOInterpolationInfoPB_CLDefaultTypeInternal _CSGOInterpolationInfoPB_CL_default_instance_; -PROTOBUF_CONSTEXPR CSGOInputHistoryEntryPB::CSGOInputHistoryEntryPB( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.view_angles_)*/nullptr - , /*decltype(_impl_.cl_interp_)*/nullptr - , /*decltype(_impl_.sv_interp0_)*/nullptr - , /*decltype(_impl_.sv_interp1_)*/nullptr - , /*decltype(_impl_.player_interp_)*/nullptr - , /*decltype(_impl_.shoot_position_)*/nullptr - , /*decltype(_impl_.target_head_pos_check_)*/nullptr - , /*decltype(_impl_.target_abs_pos_check_)*/nullptr - , /*decltype(_impl_.target_abs_ang_check_)*/nullptr - , /*decltype(_impl_.render_tick_count_)*/0 - , /*decltype(_impl_.render_tick_fraction_)*/0 - , /*decltype(_impl_.player_tick_count_)*/0 - , /*decltype(_impl_.player_tick_fraction_)*/0 - , /*decltype(_impl_.frame_number_)*/0 - , /*decltype(_impl_.target_ent_index_)*/-1} {} -struct CSGOInputHistoryEntryPBDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSGOInputHistoryEntryPBDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSGOInputHistoryEntryPBDefaultTypeInternal() {} - union { - CSGOInputHistoryEntryPB _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSGOInputHistoryEntryPBDefaultTypeInternal _CSGOInputHistoryEntryPB_default_instance_; -PROTOBUF_CONSTEXPR CSGOUserCmdPB::CSGOUserCmdPB( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.input_history_)*/{} - , /*decltype(_impl_.base_)*/nullptr - , /*decltype(_impl_.left_hand_desired_)*/false - , /*decltype(_impl_.is_predicting_body_shot_fx_)*/false - , /*decltype(_impl_.is_predicting_head_shot_fx_)*/false - , /*decltype(_impl_.is_predicting_kill_ragdolls_)*/false - , /*decltype(_impl_.attack1_start_history_index_)*/-1 - , /*decltype(_impl_.attack2_start_history_index_)*/-1} {} -struct CSGOUserCmdPBDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSGOUserCmdPBDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSGOUserCmdPBDefaultTypeInternal() {} - union { - CSGOUserCmdPB _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSGOUserCmdPBDefaultTypeInternal _CSGOUserCmdPB_default_instance_; -static ::_pb::Metadata file_level_metadata_cs_5fusercmd_2eproto[4]; -static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_cs_5fusercmd_2eproto = nullptr; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_cs_5fusercmd_2eproto = nullptr; - -const uint32_t TableStruct_cs_5fusercmd_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CSGOInterpolationInfoPB, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSGOInterpolationInfoPB, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSGOInterpolationInfoPB, _impl_.src_tick_), - PROTOBUF_FIELD_OFFSET(::CSGOInterpolationInfoPB, _impl_.dst_tick_), - PROTOBUF_FIELD_OFFSET(::CSGOInterpolationInfoPB, _impl_.frac_), - 1, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CSGOInterpolationInfoPB_CL, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSGOInterpolationInfoPB_CL, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSGOInterpolationInfoPB_CL, _impl_.frac_), - 0, - PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.view_angles_), - PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.render_tick_count_), - PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.render_tick_fraction_), - PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.player_tick_count_), - PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.player_tick_fraction_), - PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.cl_interp_), - PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.sv_interp0_), - PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.sv_interp1_), - PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.player_interp_), - PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.frame_number_), - PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.target_ent_index_), - PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.shoot_position_), - PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.target_head_pos_check_), - PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.target_abs_pos_check_), - PROTOBUF_FIELD_OFFSET(::CSGOInputHistoryEntryPB, _impl_.target_abs_ang_check_), - 0, - 9, - 10, - 11, - 12, - 1, - 2, - 3, - 4, - 13, - 14, - 5, - 6, - 7, - 8, - PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _impl_.base_), - PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _impl_.input_history_), - PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _impl_.attack1_start_history_index_), - PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _impl_.attack2_start_history_index_), - PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _impl_.left_hand_desired_), - PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _impl_.is_predicting_body_shot_fx_), - PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _impl_.is_predicting_head_shot_fx_), - PROTOBUF_FIELD_OFFSET(::CSGOUserCmdPB, _impl_.is_predicting_kill_ragdolls_), - 0, - ~0u, - 5, - 6, - 1, - 2, - 3, - 4, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 9, -1, sizeof(::CSGOInterpolationInfoPB)}, - { 12, 19, -1, sizeof(::CSGOInterpolationInfoPB_CL)}, - { 20, 41, -1, sizeof(::CSGOInputHistoryEntryPB)}, - { 56, 70, -1, sizeof(::CSGOUserCmdPB)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CSGOInterpolationInfoPB_default_instance_._instance, - &::_CSGOInterpolationInfoPB_CL_default_instance_._instance, - &::_CSGOInputHistoryEntryPB_default_instance_._instance, - &::_CSGOUserCmdPB_default_instance_._instance, -}; - -const char descriptor_table_protodef_cs_5fusercmd_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\020cs_usercmd.proto\032\026networkbasetypes.pro" - "to\032\rusercmd.proto\"V\n\027CSGOInterpolationIn" - "foPB\022\024\n\010src_tick\030\001 \001(\005:\002-1\022\024\n\010dst_tick\030\002" - " \001(\005:\002-1\022\017\n\004frac\030\003 \001(\002:\0010\"-\n\032CSGOInterpo" - "lationInfoPB_CL\022\017\n\004frac\030\003 \001(\002:\0010\"\305\004\n\027CSG" - "OInputHistoryEntryPB\022 \n\013view_angles\030\002 \001(" - "\0132\013.CMsgQAngle\022\031\n\021render_tick_count\030\004 \001(" - "\005\022\034\n\024render_tick_fraction\030\005 \001(\002\022\031\n\021playe" - "r_tick_count\030\006 \001(\005\022\034\n\024player_tick_fracti" - "on\030\007 \001(\002\022.\n\tcl_interp\030\014 \001(\0132\033.CSGOInterp" - "olationInfoPB_CL\022,\n\nsv_interp0\030\r \001(\0132\030.C" - "SGOInterpolationInfoPB\022,\n\nsv_interp1\030\016 \001" - "(\0132\030.CSGOInterpolationInfoPB\022/\n\rplayer_i" - "nterp\030\017 \001(\0132\030.CSGOInterpolationInfoPB\022\024\n" - "\014frame_number\030@ \001(\005\022\034\n\020target_ent_index\030" - "A \001(\005:\002-1\022#\n\016shoot_position\030B \001(\0132\013.CMsg" - "Vector\022*\n\025target_head_pos_check\030C \001(\0132\013." - "CMsgVector\022)\n\024target_abs_pos_check\030D \001(\013" - "2\013.CMsgVector\022)\n\024target_abs_ang_check\030E " - "\001(\0132\013.CMsgQAngle\"\325\002\n\rCSGOUserCmdPB\022\035\n\004ba" - "se\030\001 \001(\0132\017.CBaseUserCmdPB\022/\n\rinput_histo" - "ry\030\002 \003(\0132\030.CSGOInputHistoryEntryPB\022\'\n\033at" - "tack1_start_history_index\030\006 \001(\005:\002-1\022\'\n\033a" - "ttack2_start_history_index\030\007 \001(\005:\002-1\022 \n\021" - "left_hand_desired\030\t \001(\010:\005false\022)\n\032is_pre" - "dicting_body_shot_fx\030\013 \001(\010:\005false\022)\n\032is_" - "predicting_head_shot_fx\030\014 \001(\010:\005false\022*\n\033" - "is_predicting_kill_ragdolls\030\r \001(\010:\005false" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_cs_5fusercmd_2eproto_deps[2] = { - &::descriptor_table_networkbasetypes_2eproto, - &::descriptor_table_usercmd_2eproto, -}; -static ::_pbi::once_flag descriptor_table_cs_5fusercmd_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_cs_5fusercmd_2eproto = { - false, false, 1120, descriptor_table_protodef_cs_5fusercmd_2eproto, - "cs_usercmd.proto", - &descriptor_table_cs_5fusercmd_2eproto_once, descriptor_table_cs_5fusercmd_2eproto_deps, 2, 4, - schemas, file_default_instances, TableStruct_cs_5fusercmd_2eproto::offsets, - file_level_metadata_cs_5fusercmd_2eproto, file_level_enum_descriptors_cs_5fusercmd_2eproto, - file_level_service_descriptors_cs_5fusercmd_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_cs_5fusercmd_2eproto_getter() { - return &descriptor_table_cs_5fusercmd_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_cs_5fusercmd_2eproto(&descriptor_table_cs_5fusercmd_2eproto); - -// =================================================================== - -class CSGOInterpolationInfoPB::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_src_tick(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_dst_tick(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_frac(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSGOInterpolationInfoPB::CSGOInterpolationInfoPB(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSGOInterpolationInfoPB) -} -CSGOInterpolationInfoPB::CSGOInterpolationInfoPB(const CSGOInterpolationInfoPB& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSGOInterpolationInfoPB* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.frac_){} - , decltype(_impl_.src_tick_){} - , decltype(_impl_.dst_tick_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.frac_, &from._impl_.frac_, - static_cast(reinterpret_cast(&_impl_.dst_tick_) - - reinterpret_cast(&_impl_.frac_)) + sizeof(_impl_.dst_tick_)); - // @@protoc_insertion_point(copy_constructor:CSGOInterpolationInfoPB) -} - -inline void CSGOInterpolationInfoPB::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.frac_){0} - , decltype(_impl_.src_tick_){-1} - , decltype(_impl_.dst_tick_){-1} - }; -} - -CSGOInterpolationInfoPB::~CSGOInterpolationInfoPB() { - // @@protoc_insertion_point(destructor:CSGOInterpolationInfoPB) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSGOInterpolationInfoPB::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSGOInterpolationInfoPB::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSGOInterpolationInfoPB::Clear() { -// @@protoc_insertion_point(message_clear_start:CSGOInterpolationInfoPB) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - _impl_.frac_ = 0; - _impl_.src_tick_ = -1; - _impl_.dst_tick_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSGOInterpolationInfoPB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 src_tick = 1 [default = -1]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_src_tick(&has_bits); - _impl_.src_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 dst_tick = 2 [default = -1]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_dst_tick(&has_bits); - _impl_.dst_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float frac = 3 [default = 0]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_frac(&has_bits); - _impl_.frac_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSGOInterpolationInfoPB::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSGOInterpolationInfoPB) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 src_tick = 1 [default = -1]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_src_tick(), target); - } - - // optional int32 dst_tick = 2 [default = -1]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_dst_tick(), target); - } - - // optional float frac = 3 [default = 0]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_frac(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSGOInterpolationInfoPB) - return target; -} - -size_t CSGOInterpolationInfoPB::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSGOInterpolationInfoPB) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional float frac = 3 [default = 0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional int32 src_tick = 1 [default = -1]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_src_tick()); - } - - // optional int32 dst_tick = 2 [default = -1]; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dst_tick()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSGOInterpolationInfoPB::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSGOInterpolationInfoPB::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSGOInterpolationInfoPB::GetClassData() const { return &_class_data_; } - - -void CSGOInterpolationInfoPB::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSGOInterpolationInfoPB) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.frac_ = from._impl_.frac_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.src_tick_ = from._impl_.src_tick_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.dst_tick_ = from._impl_.dst_tick_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSGOInterpolationInfoPB::CopyFrom(const CSGOInterpolationInfoPB& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSGOInterpolationInfoPB) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSGOInterpolationInfoPB::IsInitialized() const { - return true; -} - -void CSGOInterpolationInfoPB::InternalSwap(CSGOInterpolationInfoPB* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.frac_, other->_impl_.frac_); - swap(_impl_.src_tick_, other->_impl_.src_tick_); - swap(_impl_.dst_tick_, other->_impl_.dst_tick_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSGOInterpolationInfoPB::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cs_5fusercmd_2eproto_getter, &descriptor_table_cs_5fusercmd_2eproto_once, - file_level_metadata_cs_5fusercmd_2eproto[0]); -} - -// =================================================================== - -class CSGOInterpolationInfoPB_CL::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_frac(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSGOInterpolationInfoPB_CL::CSGOInterpolationInfoPB_CL(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSGOInterpolationInfoPB_CL) -} -CSGOInterpolationInfoPB_CL::CSGOInterpolationInfoPB_CL(const CSGOInterpolationInfoPB_CL& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSGOInterpolationInfoPB_CL* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.frac_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.frac_ = from._impl_.frac_; - // @@protoc_insertion_point(copy_constructor:CSGOInterpolationInfoPB_CL) -} - -inline void CSGOInterpolationInfoPB_CL::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.frac_){0} - }; -} - -CSGOInterpolationInfoPB_CL::~CSGOInterpolationInfoPB_CL() { - // @@protoc_insertion_point(destructor:CSGOInterpolationInfoPB_CL) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSGOInterpolationInfoPB_CL::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSGOInterpolationInfoPB_CL::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSGOInterpolationInfoPB_CL::Clear() { -// @@protoc_insertion_point(message_clear_start:CSGOInterpolationInfoPB_CL) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.frac_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSGOInterpolationInfoPB_CL::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float frac = 3 [default = 0]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_frac(&has_bits); - _impl_.frac_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSGOInterpolationInfoPB_CL::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSGOInterpolationInfoPB_CL) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float frac = 3 [default = 0]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_frac(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSGOInterpolationInfoPB_CL) - return target; -} - -size_t CSGOInterpolationInfoPB_CL::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSGOInterpolationInfoPB_CL) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional float frac = 3 [default = 0]; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSGOInterpolationInfoPB_CL::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSGOInterpolationInfoPB_CL::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSGOInterpolationInfoPB_CL::GetClassData() const { return &_class_data_; } - - -void CSGOInterpolationInfoPB_CL::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSGOInterpolationInfoPB_CL) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_frac()) { - _this->_internal_set_frac(from._internal_frac()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSGOInterpolationInfoPB_CL::CopyFrom(const CSGOInterpolationInfoPB_CL& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSGOInterpolationInfoPB_CL) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSGOInterpolationInfoPB_CL::IsInitialized() const { - return true; -} - -void CSGOInterpolationInfoPB_CL::InternalSwap(CSGOInterpolationInfoPB_CL* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.frac_, other->_impl_.frac_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSGOInterpolationInfoPB_CL::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cs_5fusercmd_2eproto_getter, &descriptor_table_cs_5fusercmd_2eproto_once, - file_level_metadata_cs_5fusercmd_2eproto[1]); -} - -// =================================================================== - -class CSGOInputHistoryEntryPB::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgQAngle& view_angles(const CSGOInputHistoryEntryPB* msg); - static void set_has_view_angles(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_render_tick_count(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_render_tick_fraction(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_player_tick_count(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_player_tick_fraction(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static const ::CSGOInterpolationInfoPB_CL& cl_interp(const CSGOInputHistoryEntryPB* msg); - static void set_has_cl_interp(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CSGOInterpolationInfoPB& sv_interp0(const CSGOInputHistoryEntryPB* msg); - static void set_has_sv_interp0(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CSGOInterpolationInfoPB& sv_interp1(const CSGOInputHistoryEntryPB* msg); - static void set_has_sv_interp1(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CSGOInterpolationInfoPB& player_interp(const CSGOInputHistoryEntryPB* msg); - static void set_has_player_interp(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_frame_number(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_target_ent_index(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static const ::CMsgVector& shoot_position(const CSGOInputHistoryEntryPB* msg); - static void set_has_shoot_position(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static const ::CMsgVector& target_head_pos_check(const CSGOInputHistoryEntryPB* msg); - static void set_has_target_head_pos_check(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static const ::CMsgVector& target_abs_pos_check(const CSGOInputHistoryEntryPB* msg); - static void set_has_target_abs_pos_check(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static const ::CMsgQAngle& target_abs_ang_check(const CSGOInputHistoryEntryPB* msg); - static void set_has_target_abs_ang_check(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } -}; - -const ::CMsgQAngle& -CSGOInputHistoryEntryPB::_Internal::view_angles(const CSGOInputHistoryEntryPB* msg) { - return *msg->_impl_.view_angles_; -} -const ::CSGOInterpolationInfoPB_CL& -CSGOInputHistoryEntryPB::_Internal::cl_interp(const CSGOInputHistoryEntryPB* msg) { - return *msg->_impl_.cl_interp_; -} -const ::CSGOInterpolationInfoPB& -CSGOInputHistoryEntryPB::_Internal::sv_interp0(const CSGOInputHistoryEntryPB* msg) { - return *msg->_impl_.sv_interp0_; -} -const ::CSGOInterpolationInfoPB& -CSGOInputHistoryEntryPB::_Internal::sv_interp1(const CSGOInputHistoryEntryPB* msg) { - return *msg->_impl_.sv_interp1_; -} -const ::CSGOInterpolationInfoPB& -CSGOInputHistoryEntryPB::_Internal::player_interp(const CSGOInputHistoryEntryPB* msg) { - return *msg->_impl_.player_interp_; -} -const ::CMsgVector& -CSGOInputHistoryEntryPB::_Internal::shoot_position(const CSGOInputHistoryEntryPB* msg) { - return *msg->_impl_.shoot_position_; -} -const ::CMsgVector& -CSGOInputHistoryEntryPB::_Internal::target_head_pos_check(const CSGOInputHistoryEntryPB* msg) { - return *msg->_impl_.target_head_pos_check_; -} -const ::CMsgVector& -CSGOInputHistoryEntryPB::_Internal::target_abs_pos_check(const CSGOInputHistoryEntryPB* msg) { - return *msg->_impl_.target_abs_pos_check_; -} -const ::CMsgQAngle& -CSGOInputHistoryEntryPB::_Internal::target_abs_ang_check(const CSGOInputHistoryEntryPB* msg) { - return *msg->_impl_.target_abs_ang_check_; -} -void CSGOInputHistoryEntryPB::clear_view_angles() { - if (_impl_.view_angles_ != nullptr) _impl_.view_angles_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CSGOInputHistoryEntryPB::clear_shoot_position() { - if (_impl_.shoot_position_ != nullptr) _impl_.shoot_position_->Clear(); - _impl_._has_bits_[0] &= ~0x00000020u; -} -void CSGOInputHistoryEntryPB::clear_target_head_pos_check() { - if (_impl_.target_head_pos_check_ != nullptr) _impl_.target_head_pos_check_->Clear(); - _impl_._has_bits_[0] &= ~0x00000040u; -} -void CSGOInputHistoryEntryPB::clear_target_abs_pos_check() { - if (_impl_.target_abs_pos_check_ != nullptr) _impl_.target_abs_pos_check_->Clear(); - _impl_._has_bits_[0] &= ~0x00000080u; -} -void CSGOInputHistoryEntryPB::clear_target_abs_ang_check() { - if (_impl_.target_abs_ang_check_ != nullptr) _impl_.target_abs_ang_check_->Clear(); - _impl_._has_bits_[0] &= ~0x00000100u; -} -CSGOInputHistoryEntryPB::CSGOInputHistoryEntryPB(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSGOInputHistoryEntryPB) -} -CSGOInputHistoryEntryPB::CSGOInputHistoryEntryPB(const CSGOInputHistoryEntryPB& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSGOInputHistoryEntryPB* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.view_angles_){nullptr} - , decltype(_impl_.cl_interp_){nullptr} - , decltype(_impl_.sv_interp0_){nullptr} - , decltype(_impl_.sv_interp1_){nullptr} - , decltype(_impl_.player_interp_){nullptr} - , decltype(_impl_.shoot_position_){nullptr} - , decltype(_impl_.target_head_pos_check_){nullptr} - , decltype(_impl_.target_abs_pos_check_){nullptr} - , decltype(_impl_.target_abs_ang_check_){nullptr} - , decltype(_impl_.render_tick_count_){} - , decltype(_impl_.render_tick_fraction_){} - , decltype(_impl_.player_tick_count_){} - , decltype(_impl_.player_tick_fraction_){} - , decltype(_impl_.frame_number_){} - , decltype(_impl_.target_ent_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_view_angles()) { - _this->_impl_.view_angles_ = new ::CMsgQAngle(*from._impl_.view_angles_); - } - if (from._internal_has_cl_interp()) { - _this->_impl_.cl_interp_ = new ::CSGOInterpolationInfoPB_CL(*from._impl_.cl_interp_); - } - if (from._internal_has_sv_interp0()) { - _this->_impl_.sv_interp0_ = new ::CSGOInterpolationInfoPB(*from._impl_.sv_interp0_); - } - if (from._internal_has_sv_interp1()) { - _this->_impl_.sv_interp1_ = new ::CSGOInterpolationInfoPB(*from._impl_.sv_interp1_); - } - if (from._internal_has_player_interp()) { - _this->_impl_.player_interp_ = new ::CSGOInterpolationInfoPB(*from._impl_.player_interp_); - } - if (from._internal_has_shoot_position()) { - _this->_impl_.shoot_position_ = new ::CMsgVector(*from._impl_.shoot_position_); - } - if (from._internal_has_target_head_pos_check()) { - _this->_impl_.target_head_pos_check_ = new ::CMsgVector(*from._impl_.target_head_pos_check_); - } - if (from._internal_has_target_abs_pos_check()) { - _this->_impl_.target_abs_pos_check_ = new ::CMsgVector(*from._impl_.target_abs_pos_check_); - } - if (from._internal_has_target_abs_ang_check()) { - _this->_impl_.target_abs_ang_check_ = new ::CMsgQAngle(*from._impl_.target_abs_ang_check_); - } - ::memcpy(&_impl_.render_tick_count_, &from._impl_.render_tick_count_, - static_cast(reinterpret_cast(&_impl_.target_ent_index_) - - reinterpret_cast(&_impl_.render_tick_count_)) + sizeof(_impl_.target_ent_index_)); - // @@protoc_insertion_point(copy_constructor:CSGOInputHistoryEntryPB) -} - -inline void CSGOInputHistoryEntryPB::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.view_angles_){nullptr} - , decltype(_impl_.cl_interp_){nullptr} - , decltype(_impl_.sv_interp0_){nullptr} - , decltype(_impl_.sv_interp1_){nullptr} - , decltype(_impl_.player_interp_){nullptr} - , decltype(_impl_.shoot_position_){nullptr} - , decltype(_impl_.target_head_pos_check_){nullptr} - , decltype(_impl_.target_abs_pos_check_){nullptr} - , decltype(_impl_.target_abs_ang_check_){nullptr} - , decltype(_impl_.render_tick_count_){0} - , decltype(_impl_.render_tick_fraction_){0} - , decltype(_impl_.player_tick_count_){0} - , decltype(_impl_.player_tick_fraction_){0} - , decltype(_impl_.frame_number_){0} - , decltype(_impl_.target_ent_index_){-1} - }; -} - -CSGOInputHistoryEntryPB::~CSGOInputHistoryEntryPB() { - // @@protoc_insertion_point(destructor:CSGOInputHistoryEntryPB) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSGOInputHistoryEntryPB::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.view_angles_; - if (this != internal_default_instance()) delete _impl_.cl_interp_; - if (this != internal_default_instance()) delete _impl_.sv_interp0_; - if (this != internal_default_instance()) delete _impl_.sv_interp1_; - if (this != internal_default_instance()) delete _impl_.player_interp_; - if (this != internal_default_instance()) delete _impl_.shoot_position_; - if (this != internal_default_instance()) delete _impl_.target_head_pos_check_; - if (this != internal_default_instance()) delete _impl_.target_abs_pos_check_; - if (this != internal_default_instance()) delete _impl_.target_abs_ang_check_; -} - -void CSGOInputHistoryEntryPB::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSGOInputHistoryEntryPB::Clear() { -// @@protoc_insertion_point(message_clear_start:CSGOInputHistoryEntryPB) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.view_angles_ != nullptr); - _impl_.view_angles_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.cl_interp_ != nullptr); - _impl_.cl_interp_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.sv_interp0_ != nullptr); - _impl_.sv_interp0_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.sv_interp1_ != nullptr); - _impl_.sv_interp1_->Clear(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(_impl_.player_interp_ != nullptr); - _impl_.player_interp_->Clear(); - } - if (cached_has_bits & 0x00000020u) { - GOOGLE_DCHECK(_impl_.shoot_position_ != nullptr); - _impl_.shoot_position_->Clear(); - } - if (cached_has_bits & 0x00000040u) { - GOOGLE_DCHECK(_impl_.target_head_pos_check_ != nullptr); - _impl_.target_head_pos_check_->Clear(); - } - if (cached_has_bits & 0x00000080u) { - GOOGLE_DCHECK(_impl_.target_abs_pos_check_ != nullptr); - _impl_.target_abs_pos_check_->Clear(); - } - } - if (cached_has_bits & 0x00000100u) { - GOOGLE_DCHECK(_impl_.target_abs_ang_check_ != nullptr); - _impl_.target_abs_ang_check_->Clear(); - } - if (cached_has_bits & 0x00007e00u) { - ::memset(&_impl_.render_tick_count_, 0, static_cast( - reinterpret_cast(&_impl_.frame_number_) - - reinterpret_cast(&_impl_.render_tick_count_)) + sizeof(_impl_.frame_number_)); - _impl_.target_ent_index_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSGOInputHistoryEntryPB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgQAngle view_angles = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_view_angles(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 render_tick_count = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_render_tick_count(&has_bits); - _impl_.render_tick_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float render_tick_fraction = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_render_tick_fraction(&has_bits); - _impl_.render_tick_fraction_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 player_tick_count = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_player_tick_count(&has_bits); - _impl_.player_tick_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float player_tick_fraction = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_player_tick_fraction(&has_bits); - _impl_.player_tick_fraction_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional .CSGOInterpolationInfoPB_CL cl_interp = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - ptr = ctx->ParseMessage(_internal_mutable_cl_interp(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CSGOInterpolationInfoPB sv_interp0 = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr = ctx->ParseMessage(_internal_mutable_sv_interp0(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CSGOInterpolationInfoPB sv_interp1 = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - ptr = ctx->ParseMessage(_internal_mutable_sv_interp1(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CSGOInterpolationInfoPB player_interp = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - ptr = ctx->ParseMessage(_internal_mutable_player_interp(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 frame_number = 64; - case 64: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { - _Internal::set_has_frame_number(&has_bits); - _impl_.frame_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 target_ent_index = 65 [default = -1]; - case 65: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_target_ent_index(&has_bits); - _impl_.target_ent_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector shoot_position = 66; - case 66: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_shoot_position(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector target_head_pos_check = 67; - case 67: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_target_head_pos_check(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector target_abs_pos_check = 68; - case 68: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_target_abs_pos_check(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle target_abs_ang_check = 69; - case 69: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_target_abs_ang_check(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSGOInputHistoryEntryPB::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSGOInputHistoryEntryPB) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgQAngle view_angles = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::view_angles(this), - _Internal::view_angles(this).GetCachedSize(), target, stream); - } - - // optional int32 render_tick_count = 4; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_render_tick_count(), target); - } - - // optional float render_tick_fraction = 5; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_render_tick_fraction(), target); - } - - // optional int32 player_tick_count = 6; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_player_tick_count(), target); - } - - // optional float player_tick_fraction = 7; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_player_tick_fraction(), target); - } - - // optional .CSGOInterpolationInfoPB_CL cl_interp = 12; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(12, _Internal::cl_interp(this), - _Internal::cl_interp(this).GetCachedSize(), target, stream); - } - - // optional .CSGOInterpolationInfoPB sv_interp0 = 13; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, _Internal::sv_interp0(this), - _Internal::sv_interp0(this).GetCachedSize(), target, stream); - } - - // optional .CSGOInterpolationInfoPB sv_interp1 = 14; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(14, _Internal::sv_interp1(this), - _Internal::sv_interp1(this).GetCachedSize(), target, stream); - } - - // optional .CSGOInterpolationInfoPB player_interp = 15; - if (cached_has_bits & 0x00000010u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(15, _Internal::player_interp(this), - _Internal::player_interp(this).GetCachedSize(), target, stream); - } - - // optional int32 frame_number = 64; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(64, this->_internal_frame_number(), target); - } - - // optional int32 target_ent_index = 65 [default = -1]; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(65, this->_internal_target_ent_index(), target); - } - - // optional .CMsgVector shoot_position = 66; - if (cached_has_bits & 0x00000020u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(66, _Internal::shoot_position(this), - _Internal::shoot_position(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector target_head_pos_check = 67; - if (cached_has_bits & 0x00000040u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(67, _Internal::target_head_pos_check(this), - _Internal::target_head_pos_check(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector target_abs_pos_check = 68; - if (cached_has_bits & 0x00000080u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(68, _Internal::target_abs_pos_check(this), - _Internal::target_abs_pos_check(this).GetCachedSize(), target, stream); - } - - // optional .CMsgQAngle target_abs_ang_check = 69; - if (cached_has_bits & 0x00000100u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(69, _Internal::target_abs_ang_check(this), - _Internal::target_abs_ang_check(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSGOInputHistoryEntryPB) - return target; -} - -size_t CSGOInputHistoryEntryPB::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSGOInputHistoryEntryPB) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional .CMsgQAngle view_angles = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.view_angles_); - } - - // optional .CSGOInterpolationInfoPB_CL cl_interp = 12; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cl_interp_); - } - - // optional .CSGOInterpolationInfoPB sv_interp0 = 13; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.sv_interp0_); - } - - // optional .CSGOInterpolationInfoPB sv_interp1 = 14; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.sv_interp1_); - } - - // optional .CSGOInterpolationInfoPB player_interp = 15; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.player_interp_); - } - - // optional .CMsgVector shoot_position = 66; - if (cached_has_bits & 0x00000020u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.shoot_position_); - } - - // optional .CMsgVector target_head_pos_check = 67; - if (cached_has_bits & 0x00000040u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.target_head_pos_check_); - } - - // optional .CMsgVector target_abs_pos_check = 68; - if (cached_has_bits & 0x00000080u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.target_abs_pos_check_); - } - - } - if (cached_has_bits & 0x00007f00u) { - // optional .CMsgQAngle target_abs_ang_check = 69; - if (cached_has_bits & 0x00000100u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.target_abs_ang_check_); - } - - // optional int32 render_tick_count = 4; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_render_tick_count()); - } - - // optional float render_tick_fraction = 5; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 4; - } - - // optional int32 player_tick_count = 6; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_tick_count()); - } - - // optional float player_tick_fraction = 7; - if (cached_has_bits & 0x00001000u) { - total_size += 1 + 4; - } - - // optional int32 frame_number = 64; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::Int32Size( - this->_internal_frame_number()); - } - - // optional int32 target_ent_index = 65 [default = -1]; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::Int32Size( - this->_internal_target_ent_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSGOInputHistoryEntryPB::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSGOInputHistoryEntryPB::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSGOInputHistoryEntryPB::GetClassData() const { return &_class_data_; } - - -void CSGOInputHistoryEntryPB::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSGOInputHistoryEntryPB) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_view_angles()->::CMsgQAngle::MergeFrom( - from._internal_view_angles()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_cl_interp()->::CSGOInterpolationInfoPB_CL::MergeFrom( - from._internal_cl_interp()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_sv_interp0()->::CSGOInterpolationInfoPB::MergeFrom( - from._internal_sv_interp0()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_sv_interp1()->::CSGOInterpolationInfoPB::MergeFrom( - from._internal_sv_interp1()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_mutable_player_interp()->::CSGOInterpolationInfoPB::MergeFrom( - from._internal_player_interp()); - } - if (cached_has_bits & 0x00000020u) { - _this->_internal_mutable_shoot_position()->::CMsgVector::MergeFrom( - from._internal_shoot_position()); - } - if (cached_has_bits & 0x00000040u) { - _this->_internal_mutable_target_head_pos_check()->::CMsgVector::MergeFrom( - from._internal_target_head_pos_check()); - } - if (cached_has_bits & 0x00000080u) { - _this->_internal_mutable_target_abs_pos_check()->::CMsgVector::MergeFrom( - from._internal_target_abs_pos_check()); - } - } - if (cached_has_bits & 0x00007f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_internal_mutable_target_abs_ang_check()->::CMsgQAngle::MergeFrom( - from._internal_target_abs_ang_check()); - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.render_tick_count_ = from._impl_.render_tick_count_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.render_tick_fraction_ = from._impl_.render_tick_fraction_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.player_tick_count_ = from._impl_.player_tick_count_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.player_tick_fraction_ = from._impl_.player_tick_fraction_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.frame_number_ = from._impl_.frame_number_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.target_ent_index_ = from._impl_.target_ent_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSGOInputHistoryEntryPB::CopyFrom(const CSGOInputHistoryEntryPB& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSGOInputHistoryEntryPB) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSGOInputHistoryEntryPB::IsInitialized() const { - return true; -} - -void CSGOInputHistoryEntryPB::InternalSwap(CSGOInputHistoryEntryPB* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSGOInputHistoryEntryPB, _impl_.frame_number_) - + sizeof(CSGOInputHistoryEntryPB::_impl_.frame_number_) - - PROTOBUF_FIELD_OFFSET(CSGOInputHistoryEntryPB, _impl_.view_angles_)>( - reinterpret_cast(&_impl_.view_angles_), - reinterpret_cast(&other->_impl_.view_angles_)); - swap(_impl_.target_ent_index_, other->_impl_.target_ent_index_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSGOInputHistoryEntryPB::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cs_5fusercmd_2eproto_getter, &descriptor_table_cs_5fusercmd_2eproto_once, - file_level_metadata_cs_5fusercmd_2eproto[2]); -} - -// =================================================================== - -class CSGOUserCmdPB::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CBaseUserCmdPB& base(const CSGOUserCmdPB* msg); - static void set_has_base(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_attack1_start_history_index(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_attack2_start_history_index(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_left_hand_desired(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_is_predicting_body_shot_fx(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_is_predicting_head_shot_fx(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_is_predicting_kill_ragdolls(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -const ::CBaseUserCmdPB& -CSGOUserCmdPB::_Internal::base(const CSGOUserCmdPB* msg) { - return *msg->_impl_.base_; -} -void CSGOUserCmdPB::clear_base() { - if (_impl_.base_ != nullptr) _impl_.base_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CSGOUserCmdPB::CSGOUserCmdPB(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSGOUserCmdPB) -} -CSGOUserCmdPB::CSGOUserCmdPB(const CSGOUserCmdPB& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSGOUserCmdPB* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.input_history_){from._impl_.input_history_} - , decltype(_impl_.base_){nullptr} - , decltype(_impl_.left_hand_desired_){} - , decltype(_impl_.is_predicting_body_shot_fx_){} - , decltype(_impl_.is_predicting_head_shot_fx_){} - , decltype(_impl_.is_predicting_kill_ragdolls_){} - , decltype(_impl_.attack1_start_history_index_){} - , decltype(_impl_.attack2_start_history_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_base()) { - _this->_impl_.base_ = new ::CBaseUserCmdPB(*from._impl_.base_); - } - ::memcpy(&_impl_.left_hand_desired_, &from._impl_.left_hand_desired_, - static_cast(reinterpret_cast(&_impl_.attack2_start_history_index_) - - reinterpret_cast(&_impl_.left_hand_desired_)) + sizeof(_impl_.attack2_start_history_index_)); - // @@protoc_insertion_point(copy_constructor:CSGOUserCmdPB) -} - -inline void CSGOUserCmdPB::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.input_history_){arena} - , decltype(_impl_.base_){nullptr} - , decltype(_impl_.left_hand_desired_){false} - , decltype(_impl_.is_predicting_body_shot_fx_){false} - , decltype(_impl_.is_predicting_head_shot_fx_){false} - , decltype(_impl_.is_predicting_kill_ragdolls_){false} - , decltype(_impl_.attack1_start_history_index_){-1} - , decltype(_impl_.attack2_start_history_index_){-1} - }; -} - -CSGOUserCmdPB::~CSGOUserCmdPB() { - // @@protoc_insertion_point(destructor:CSGOUserCmdPB) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSGOUserCmdPB::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.input_history_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.base_; -} - -void CSGOUserCmdPB::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSGOUserCmdPB::Clear() { -// @@protoc_insertion_point(message_clear_start:CSGOUserCmdPB) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.input_history_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.base_ != nullptr); - _impl_.base_->Clear(); - } - ::memset(&_impl_.left_hand_desired_, 0, static_cast( - reinterpret_cast(&_impl_.is_predicting_kill_ragdolls_) - - reinterpret_cast(&_impl_.left_hand_desired_)) + sizeof(_impl_.is_predicting_kill_ragdolls_)); - if (cached_has_bits & 0x00000060u) { - _impl_.attack1_start_history_index_ = -1; - _impl_.attack2_start_history_index_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSGOUserCmdPB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CBaseUserCmdPB base = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_base(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CSGOInputHistoryEntryPB input_history = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_input_history(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional int32 attack1_start_history_index = 6 [default = -1]; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_attack1_start_history_index(&has_bits); - _impl_.attack1_start_history_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 attack2_start_history_index = 7 [default = -1]; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_attack2_start_history_index(&has_bits); - _impl_.attack2_start_history_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool left_hand_desired = 9 [default = false]; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_left_hand_desired(&has_bits); - _impl_.left_hand_desired_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_predicting_body_shot_fx = 11 [default = false]; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_is_predicting_body_shot_fx(&has_bits); - _impl_.is_predicting_body_shot_fx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_predicting_head_shot_fx = 12 [default = false]; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_is_predicting_head_shot_fx(&has_bits); - _impl_.is_predicting_head_shot_fx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_predicting_kill_ragdolls = 13 [default = false]; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_is_predicting_kill_ragdolls(&has_bits); - _impl_.is_predicting_kill_ragdolls_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSGOUserCmdPB::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSGOUserCmdPB) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CBaseUserCmdPB base = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::base(this), - _Internal::base(this).GetCachedSize(), target, stream); - } - - // repeated .CSGOInputHistoryEntryPB input_history = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_input_history_size()); i < n; i++) { - const auto& repfield = this->_internal_input_history(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional int32 attack1_start_history_index = 6 [default = -1]; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_attack1_start_history_index(), target); - } - - // optional int32 attack2_start_history_index = 7 [default = -1]; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_attack2_start_history_index(), target); - } - - // optional bool left_hand_desired = 9 [default = false]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_left_hand_desired(), target); - } - - // optional bool is_predicting_body_shot_fx = 11 [default = false]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(11, this->_internal_is_predicting_body_shot_fx(), target); - } - - // optional bool is_predicting_head_shot_fx = 12 [default = false]; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(12, this->_internal_is_predicting_head_shot_fx(), target); - } - - // optional bool is_predicting_kill_ragdolls = 13 [default = false]; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(13, this->_internal_is_predicting_kill_ragdolls(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSGOUserCmdPB) - return target; -} - -size_t CSGOUserCmdPB::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSGOUserCmdPB) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CSGOInputHistoryEntryPB input_history = 2; - total_size += 1UL * this->_internal_input_history_size(); - for (const auto& msg : this->_impl_.input_history_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional .CBaseUserCmdPB base = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.base_); - } - - // optional bool left_hand_desired = 9 [default = false]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - // optional bool is_predicting_body_shot_fx = 11 [default = false]; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional bool is_predicting_head_shot_fx = 12 [default = false]; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - // optional bool is_predicting_kill_ragdolls = 13 [default = false]; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 1; - } - - // optional int32 attack1_start_history_index = 6 [default = -1]; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_attack1_start_history_index()); - } - - // optional int32 attack2_start_history_index = 7 [default = -1]; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_attack2_start_history_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSGOUserCmdPB::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSGOUserCmdPB::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSGOUserCmdPB::GetClassData() const { return &_class_data_; } - - -void CSGOUserCmdPB::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSGOUserCmdPB) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.input_history_.MergeFrom(from._impl_.input_history_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_base()->::CBaseUserCmdPB::MergeFrom( - from._internal_base()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.left_hand_desired_ = from._impl_.left_hand_desired_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.is_predicting_body_shot_fx_ = from._impl_.is_predicting_body_shot_fx_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.is_predicting_head_shot_fx_ = from._impl_.is_predicting_head_shot_fx_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.is_predicting_kill_ragdolls_ = from._impl_.is_predicting_kill_ragdolls_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.attack1_start_history_index_ = from._impl_.attack1_start_history_index_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.attack2_start_history_index_ = from._impl_.attack2_start_history_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSGOUserCmdPB::CopyFrom(const CSGOUserCmdPB& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSGOUserCmdPB) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSGOUserCmdPB::IsInitialized() const { - return true; -} - -void CSGOUserCmdPB::InternalSwap(CSGOUserCmdPB* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.input_history_.InternalSwap(&other->_impl_.input_history_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSGOUserCmdPB, _impl_.is_predicting_kill_ragdolls_) - + sizeof(CSGOUserCmdPB::_impl_.is_predicting_kill_ragdolls_) - - PROTOBUF_FIELD_OFFSET(CSGOUserCmdPB, _impl_.base_)>( - reinterpret_cast(&_impl_.base_), - reinterpret_cast(&other->_impl_.base_)); - swap(_impl_.attack1_start_history_index_, other->_impl_.attack1_start_history_index_); - swap(_impl_.attack2_start_history_index_, other->_impl_.attack2_start_history_index_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSGOUserCmdPB::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cs_5fusercmd_2eproto_getter, &descriptor_table_cs_5fusercmd_2eproto_once, - file_level_metadata_cs_5fusercmd_2eproto[3]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CSGOInterpolationInfoPB* -Arena::CreateMaybeMessage< ::CSGOInterpolationInfoPB >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSGOInterpolationInfoPB >(arena); -} -template<> PROTOBUF_NOINLINE ::CSGOInterpolationInfoPB_CL* -Arena::CreateMaybeMessage< ::CSGOInterpolationInfoPB_CL >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSGOInterpolationInfoPB_CL >(arena); -} -template<> PROTOBUF_NOINLINE ::CSGOInputHistoryEntryPB* -Arena::CreateMaybeMessage< ::CSGOInputHistoryEntryPB >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSGOInputHistoryEntryPB >(arena); -} -template<> PROTOBUF_NOINLINE ::CSGOUserCmdPB* -Arena::CreateMaybeMessage< ::CSGOUserCmdPB >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSGOUserCmdPB >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/cs_usercmd.pb.h b/protobuf/generated/cs_usercmd.pb.h deleted file mode 100644 index 3bd674225..000000000 --- a/protobuf/generated/cs_usercmd.pb.h +++ /dev/null @@ -1,2517 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: cs_usercmd.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_cs_5fusercmd_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_cs_5fusercmd_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "networkbasetypes.pb.h" -#include "usercmd.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_cs_5fusercmd_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_cs_5fusercmd_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_cs_5fusercmd_2eproto; -class CSGOInputHistoryEntryPB; -struct CSGOInputHistoryEntryPBDefaultTypeInternal; -extern CSGOInputHistoryEntryPBDefaultTypeInternal _CSGOInputHistoryEntryPB_default_instance_; -class CSGOInterpolationInfoPB; -struct CSGOInterpolationInfoPBDefaultTypeInternal; -extern CSGOInterpolationInfoPBDefaultTypeInternal _CSGOInterpolationInfoPB_default_instance_; -class CSGOInterpolationInfoPB_CL; -struct CSGOInterpolationInfoPB_CLDefaultTypeInternal; -extern CSGOInterpolationInfoPB_CLDefaultTypeInternal _CSGOInterpolationInfoPB_CL_default_instance_; -class CSGOUserCmdPB; -struct CSGOUserCmdPBDefaultTypeInternal; -extern CSGOUserCmdPBDefaultTypeInternal _CSGOUserCmdPB_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CSGOInputHistoryEntryPB* Arena::CreateMaybeMessage<::CSGOInputHistoryEntryPB>(Arena*); -template<> ::CSGOInterpolationInfoPB* Arena::CreateMaybeMessage<::CSGOInterpolationInfoPB>(Arena*); -template<> ::CSGOInterpolationInfoPB_CL* Arena::CreateMaybeMessage<::CSGOInterpolationInfoPB_CL>(Arena*); -template<> ::CSGOUserCmdPB* Arena::CreateMaybeMessage<::CSGOUserCmdPB>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -// =================================================================== - -class CSGOInterpolationInfoPB : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSGOInterpolationInfoPB) */ { - public: - inline CSGOInterpolationInfoPB() : CSGOInterpolationInfoPB(nullptr) {} - ~CSGOInterpolationInfoPB() override; - explicit PROTOBUF_CONSTEXPR CSGOInterpolationInfoPB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSGOInterpolationInfoPB(const CSGOInterpolationInfoPB& from); - CSGOInterpolationInfoPB(CSGOInterpolationInfoPB&& from) noexcept - : CSGOInterpolationInfoPB() { - *this = ::std::move(from); - } - - inline CSGOInterpolationInfoPB& operator=(const CSGOInterpolationInfoPB& from) { - CopyFrom(from); - return *this; - } - inline CSGOInterpolationInfoPB& operator=(CSGOInterpolationInfoPB&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSGOInterpolationInfoPB& default_instance() { - return *internal_default_instance(); - } - static inline const CSGOInterpolationInfoPB* internal_default_instance() { - return reinterpret_cast( - &_CSGOInterpolationInfoPB_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CSGOInterpolationInfoPB& a, CSGOInterpolationInfoPB& b) { - a.Swap(&b); - } - inline void Swap(CSGOInterpolationInfoPB* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSGOInterpolationInfoPB* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSGOInterpolationInfoPB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSGOInterpolationInfoPB& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSGOInterpolationInfoPB& from) { - CSGOInterpolationInfoPB::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSGOInterpolationInfoPB* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSGOInterpolationInfoPB"; - } - protected: - explicit CSGOInterpolationInfoPB(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFracFieldNumber = 3, - kSrcTickFieldNumber = 1, - kDstTickFieldNumber = 2, - }; - // optional float frac = 3 [default = 0]; - bool has_frac() const; - private: - bool _internal_has_frac() const; - public: - void clear_frac(); - float frac() const; - void set_frac(float value); - private: - float _internal_frac() const; - void _internal_set_frac(float value); - public: - - // optional int32 src_tick = 1 [default = -1]; - bool has_src_tick() const; - private: - bool _internal_has_src_tick() const; - public: - void clear_src_tick(); - int32_t src_tick() const; - void set_src_tick(int32_t value); - private: - int32_t _internal_src_tick() const; - void _internal_set_src_tick(int32_t value); - public: - - // optional int32 dst_tick = 2 [default = -1]; - bool has_dst_tick() const; - private: - bool _internal_has_dst_tick() const; - public: - void clear_dst_tick(); - int32_t dst_tick() const; - void set_dst_tick(int32_t value); - private: - int32_t _internal_dst_tick() const; - void _internal_set_dst_tick(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSGOInterpolationInfoPB) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float frac_; - int32_t src_tick_; - int32_t dst_tick_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cs_5fusercmd_2eproto; -}; -// ------------------------------------------------------------------- - -class CSGOInterpolationInfoPB_CL : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSGOInterpolationInfoPB_CL) */ { - public: - inline CSGOInterpolationInfoPB_CL() : CSGOInterpolationInfoPB_CL(nullptr) {} - ~CSGOInterpolationInfoPB_CL() override; - explicit PROTOBUF_CONSTEXPR CSGOInterpolationInfoPB_CL(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSGOInterpolationInfoPB_CL(const CSGOInterpolationInfoPB_CL& from); - CSGOInterpolationInfoPB_CL(CSGOInterpolationInfoPB_CL&& from) noexcept - : CSGOInterpolationInfoPB_CL() { - *this = ::std::move(from); - } - - inline CSGOInterpolationInfoPB_CL& operator=(const CSGOInterpolationInfoPB_CL& from) { - CopyFrom(from); - return *this; - } - inline CSGOInterpolationInfoPB_CL& operator=(CSGOInterpolationInfoPB_CL&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSGOInterpolationInfoPB_CL& default_instance() { - return *internal_default_instance(); - } - static inline const CSGOInterpolationInfoPB_CL* internal_default_instance() { - return reinterpret_cast( - &_CSGOInterpolationInfoPB_CL_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CSGOInterpolationInfoPB_CL& a, CSGOInterpolationInfoPB_CL& b) { - a.Swap(&b); - } - inline void Swap(CSGOInterpolationInfoPB_CL* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSGOInterpolationInfoPB_CL* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSGOInterpolationInfoPB_CL* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSGOInterpolationInfoPB_CL& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSGOInterpolationInfoPB_CL& from) { - CSGOInterpolationInfoPB_CL::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSGOInterpolationInfoPB_CL* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSGOInterpolationInfoPB_CL"; - } - protected: - explicit CSGOInterpolationInfoPB_CL(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFracFieldNumber = 3, - }; - // optional float frac = 3 [default = 0]; - bool has_frac() const; - private: - bool _internal_has_frac() const; - public: - void clear_frac(); - float frac() const; - void set_frac(float value); - private: - float _internal_frac() const; - void _internal_set_frac(float value); - public: - - // @@protoc_insertion_point(class_scope:CSGOInterpolationInfoPB_CL) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float frac_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cs_5fusercmd_2eproto; -}; -// ------------------------------------------------------------------- - -class CSGOInputHistoryEntryPB : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSGOInputHistoryEntryPB) */ { - public: - inline CSGOInputHistoryEntryPB() : CSGOInputHistoryEntryPB(nullptr) {} - ~CSGOInputHistoryEntryPB() override; - explicit PROTOBUF_CONSTEXPR CSGOInputHistoryEntryPB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSGOInputHistoryEntryPB(const CSGOInputHistoryEntryPB& from); - CSGOInputHistoryEntryPB(CSGOInputHistoryEntryPB&& from) noexcept - : CSGOInputHistoryEntryPB() { - *this = ::std::move(from); - } - - inline CSGOInputHistoryEntryPB& operator=(const CSGOInputHistoryEntryPB& from) { - CopyFrom(from); - return *this; - } - inline CSGOInputHistoryEntryPB& operator=(CSGOInputHistoryEntryPB&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSGOInputHistoryEntryPB& default_instance() { - return *internal_default_instance(); - } - static inline const CSGOInputHistoryEntryPB* internal_default_instance() { - return reinterpret_cast( - &_CSGOInputHistoryEntryPB_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CSGOInputHistoryEntryPB& a, CSGOInputHistoryEntryPB& b) { - a.Swap(&b); - } - inline void Swap(CSGOInputHistoryEntryPB* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSGOInputHistoryEntryPB* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSGOInputHistoryEntryPB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSGOInputHistoryEntryPB& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSGOInputHistoryEntryPB& from) { - CSGOInputHistoryEntryPB::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSGOInputHistoryEntryPB* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSGOInputHistoryEntryPB"; - } - protected: - explicit CSGOInputHistoryEntryPB(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kViewAnglesFieldNumber = 2, - kClInterpFieldNumber = 12, - kSvInterp0FieldNumber = 13, - kSvInterp1FieldNumber = 14, - kPlayerInterpFieldNumber = 15, - kShootPositionFieldNumber = 66, - kTargetHeadPosCheckFieldNumber = 67, - kTargetAbsPosCheckFieldNumber = 68, - kTargetAbsAngCheckFieldNumber = 69, - kRenderTickCountFieldNumber = 4, - kRenderTickFractionFieldNumber = 5, - kPlayerTickCountFieldNumber = 6, - kPlayerTickFractionFieldNumber = 7, - kFrameNumberFieldNumber = 64, - kTargetEntIndexFieldNumber = 65, - }; - // optional .CMsgQAngle view_angles = 2; - bool has_view_angles() const; - private: - bool _internal_has_view_angles() const; - public: - void clear_view_angles(); - const ::CMsgQAngle& view_angles() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_view_angles(); - ::CMsgQAngle* mutable_view_angles(); - void set_allocated_view_angles(::CMsgQAngle* view_angles); - private: - const ::CMsgQAngle& _internal_view_angles() const; - ::CMsgQAngle* _internal_mutable_view_angles(); - public: - void unsafe_arena_set_allocated_view_angles( - ::CMsgQAngle* view_angles); - ::CMsgQAngle* unsafe_arena_release_view_angles(); - - // optional .CSGOInterpolationInfoPB_CL cl_interp = 12; - bool has_cl_interp() const; - private: - bool _internal_has_cl_interp() const; - public: - void clear_cl_interp(); - const ::CSGOInterpolationInfoPB_CL& cl_interp() const; - PROTOBUF_NODISCARD ::CSGOInterpolationInfoPB_CL* release_cl_interp(); - ::CSGOInterpolationInfoPB_CL* mutable_cl_interp(); - void set_allocated_cl_interp(::CSGOInterpolationInfoPB_CL* cl_interp); - private: - const ::CSGOInterpolationInfoPB_CL& _internal_cl_interp() const; - ::CSGOInterpolationInfoPB_CL* _internal_mutable_cl_interp(); - public: - void unsafe_arena_set_allocated_cl_interp( - ::CSGOInterpolationInfoPB_CL* cl_interp); - ::CSGOInterpolationInfoPB_CL* unsafe_arena_release_cl_interp(); - - // optional .CSGOInterpolationInfoPB sv_interp0 = 13; - bool has_sv_interp0() const; - private: - bool _internal_has_sv_interp0() const; - public: - void clear_sv_interp0(); - const ::CSGOInterpolationInfoPB& sv_interp0() const; - PROTOBUF_NODISCARD ::CSGOInterpolationInfoPB* release_sv_interp0(); - ::CSGOInterpolationInfoPB* mutable_sv_interp0(); - void set_allocated_sv_interp0(::CSGOInterpolationInfoPB* sv_interp0); - private: - const ::CSGOInterpolationInfoPB& _internal_sv_interp0() const; - ::CSGOInterpolationInfoPB* _internal_mutable_sv_interp0(); - public: - void unsafe_arena_set_allocated_sv_interp0( - ::CSGOInterpolationInfoPB* sv_interp0); - ::CSGOInterpolationInfoPB* unsafe_arena_release_sv_interp0(); - - // optional .CSGOInterpolationInfoPB sv_interp1 = 14; - bool has_sv_interp1() const; - private: - bool _internal_has_sv_interp1() const; - public: - void clear_sv_interp1(); - const ::CSGOInterpolationInfoPB& sv_interp1() const; - PROTOBUF_NODISCARD ::CSGOInterpolationInfoPB* release_sv_interp1(); - ::CSGOInterpolationInfoPB* mutable_sv_interp1(); - void set_allocated_sv_interp1(::CSGOInterpolationInfoPB* sv_interp1); - private: - const ::CSGOInterpolationInfoPB& _internal_sv_interp1() const; - ::CSGOInterpolationInfoPB* _internal_mutable_sv_interp1(); - public: - void unsafe_arena_set_allocated_sv_interp1( - ::CSGOInterpolationInfoPB* sv_interp1); - ::CSGOInterpolationInfoPB* unsafe_arena_release_sv_interp1(); - - // optional .CSGOInterpolationInfoPB player_interp = 15; - bool has_player_interp() const; - private: - bool _internal_has_player_interp() const; - public: - void clear_player_interp(); - const ::CSGOInterpolationInfoPB& player_interp() const; - PROTOBUF_NODISCARD ::CSGOInterpolationInfoPB* release_player_interp(); - ::CSGOInterpolationInfoPB* mutable_player_interp(); - void set_allocated_player_interp(::CSGOInterpolationInfoPB* player_interp); - private: - const ::CSGOInterpolationInfoPB& _internal_player_interp() const; - ::CSGOInterpolationInfoPB* _internal_mutable_player_interp(); - public: - void unsafe_arena_set_allocated_player_interp( - ::CSGOInterpolationInfoPB* player_interp); - ::CSGOInterpolationInfoPB* unsafe_arena_release_player_interp(); - - // optional .CMsgVector shoot_position = 66; - bool has_shoot_position() const; - private: - bool _internal_has_shoot_position() const; - public: - void clear_shoot_position(); - const ::CMsgVector& shoot_position() const; - PROTOBUF_NODISCARD ::CMsgVector* release_shoot_position(); - ::CMsgVector* mutable_shoot_position(); - void set_allocated_shoot_position(::CMsgVector* shoot_position); - private: - const ::CMsgVector& _internal_shoot_position() const; - ::CMsgVector* _internal_mutable_shoot_position(); - public: - void unsafe_arena_set_allocated_shoot_position( - ::CMsgVector* shoot_position); - ::CMsgVector* unsafe_arena_release_shoot_position(); - - // optional .CMsgVector target_head_pos_check = 67; - bool has_target_head_pos_check() const; - private: - bool _internal_has_target_head_pos_check() const; - public: - void clear_target_head_pos_check(); - const ::CMsgVector& target_head_pos_check() const; - PROTOBUF_NODISCARD ::CMsgVector* release_target_head_pos_check(); - ::CMsgVector* mutable_target_head_pos_check(); - void set_allocated_target_head_pos_check(::CMsgVector* target_head_pos_check); - private: - const ::CMsgVector& _internal_target_head_pos_check() const; - ::CMsgVector* _internal_mutable_target_head_pos_check(); - public: - void unsafe_arena_set_allocated_target_head_pos_check( - ::CMsgVector* target_head_pos_check); - ::CMsgVector* unsafe_arena_release_target_head_pos_check(); - - // optional .CMsgVector target_abs_pos_check = 68; - bool has_target_abs_pos_check() const; - private: - bool _internal_has_target_abs_pos_check() const; - public: - void clear_target_abs_pos_check(); - const ::CMsgVector& target_abs_pos_check() const; - PROTOBUF_NODISCARD ::CMsgVector* release_target_abs_pos_check(); - ::CMsgVector* mutable_target_abs_pos_check(); - void set_allocated_target_abs_pos_check(::CMsgVector* target_abs_pos_check); - private: - const ::CMsgVector& _internal_target_abs_pos_check() const; - ::CMsgVector* _internal_mutable_target_abs_pos_check(); - public: - void unsafe_arena_set_allocated_target_abs_pos_check( - ::CMsgVector* target_abs_pos_check); - ::CMsgVector* unsafe_arena_release_target_abs_pos_check(); - - // optional .CMsgQAngle target_abs_ang_check = 69; - bool has_target_abs_ang_check() const; - private: - bool _internal_has_target_abs_ang_check() const; - public: - void clear_target_abs_ang_check(); - const ::CMsgQAngle& target_abs_ang_check() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_target_abs_ang_check(); - ::CMsgQAngle* mutable_target_abs_ang_check(); - void set_allocated_target_abs_ang_check(::CMsgQAngle* target_abs_ang_check); - private: - const ::CMsgQAngle& _internal_target_abs_ang_check() const; - ::CMsgQAngle* _internal_mutable_target_abs_ang_check(); - public: - void unsafe_arena_set_allocated_target_abs_ang_check( - ::CMsgQAngle* target_abs_ang_check); - ::CMsgQAngle* unsafe_arena_release_target_abs_ang_check(); - - // optional int32 render_tick_count = 4; - bool has_render_tick_count() const; - private: - bool _internal_has_render_tick_count() const; - public: - void clear_render_tick_count(); - int32_t render_tick_count() const; - void set_render_tick_count(int32_t value); - private: - int32_t _internal_render_tick_count() const; - void _internal_set_render_tick_count(int32_t value); - public: - - // optional float render_tick_fraction = 5; - bool has_render_tick_fraction() const; - private: - bool _internal_has_render_tick_fraction() const; - public: - void clear_render_tick_fraction(); - float render_tick_fraction() const; - void set_render_tick_fraction(float value); - private: - float _internal_render_tick_fraction() const; - void _internal_set_render_tick_fraction(float value); - public: - - // optional int32 player_tick_count = 6; - bool has_player_tick_count() const; - private: - bool _internal_has_player_tick_count() const; - public: - void clear_player_tick_count(); - int32_t player_tick_count() const; - void set_player_tick_count(int32_t value); - private: - int32_t _internal_player_tick_count() const; - void _internal_set_player_tick_count(int32_t value); - public: - - // optional float player_tick_fraction = 7; - bool has_player_tick_fraction() const; - private: - bool _internal_has_player_tick_fraction() const; - public: - void clear_player_tick_fraction(); - float player_tick_fraction() const; - void set_player_tick_fraction(float value); - private: - float _internal_player_tick_fraction() const; - void _internal_set_player_tick_fraction(float value); - public: - - // optional int32 frame_number = 64; - bool has_frame_number() const; - private: - bool _internal_has_frame_number() const; - public: - void clear_frame_number(); - int32_t frame_number() const; - void set_frame_number(int32_t value); - private: - int32_t _internal_frame_number() const; - void _internal_set_frame_number(int32_t value); - public: - - // optional int32 target_ent_index = 65 [default = -1]; - bool has_target_ent_index() const; - private: - bool _internal_has_target_ent_index() const; - public: - void clear_target_ent_index(); - int32_t target_ent_index() const; - void set_target_ent_index(int32_t value); - private: - int32_t _internal_target_ent_index() const; - void _internal_set_target_ent_index(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSGOInputHistoryEntryPB) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgQAngle* view_angles_; - ::CSGOInterpolationInfoPB_CL* cl_interp_; - ::CSGOInterpolationInfoPB* sv_interp0_; - ::CSGOInterpolationInfoPB* sv_interp1_; - ::CSGOInterpolationInfoPB* player_interp_; - ::CMsgVector* shoot_position_; - ::CMsgVector* target_head_pos_check_; - ::CMsgVector* target_abs_pos_check_; - ::CMsgQAngle* target_abs_ang_check_; - int32_t render_tick_count_; - float render_tick_fraction_; - int32_t player_tick_count_; - float player_tick_fraction_; - int32_t frame_number_; - int32_t target_ent_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cs_5fusercmd_2eproto; -}; -// ------------------------------------------------------------------- - -class CSGOUserCmdPB : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSGOUserCmdPB) */ { - public: - inline CSGOUserCmdPB() : CSGOUserCmdPB(nullptr) {} - ~CSGOUserCmdPB() override; - explicit PROTOBUF_CONSTEXPR CSGOUserCmdPB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSGOUserCmdPB(const CSGOUserCmdPB& from); - CSGOUserCmdPB(CSGOUserCmdPB&& from) noexcept - : CSGOUserCmdPB() { - *this = ::std::move(from); - } - - inline CSGOUserCmdPB& operator=(const CSGOUserCmdPB& from) { - CopyFrom(from); - return *this; - } - inline CSGOUserCmdPB& operator=(CSGOUserCmdPB&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSGOUserCmdPB& default_instance() { - return *internal_default_instance(); - } - static inline const CSGOUserCmdPB* internal_default_instance() { - return reinterpret_cast( - &_CSGOUserCmdPB_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CSGOUserCmdPB& a, CSGOUserCmdPB& b) { - a.Swap(&b); - } - inline void Swap(CSGOUserCmdPB* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSGOUserCmdPB* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSGOUserCmdPB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSGOUserCmdPB& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSGOUserCmdPB& from) { - CSGOUserCmdPB::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSGOUserCmdPB* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSGOUserCmdPB"; - } - protected: - explicit CSGOUserCmdPB(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kInputHistoryFieldNumber = 2, - kBaseFieldNumber = 1, - kLeftHandDesiredFieldNumber = 9, - kIsPredictingBodyShotFxFieldNumber = 11, - kIsPredictingHeadShotFxFieldNumber = 12, - kIsPredictingKillRagdollsFieldNumber = 13, - kAttack1StartHistoryIndexFieldNumber = 6, - kAttack2StartHistoryIndexFieldNumber = 7, - }; - // repeated .CSGOInputHistoryEntryPB input_history = 2; - int input_history_size() const; - private: - int _internal_input_history_size() const; - public: - void clear_input_history(); - ::CSGOInputHistoryEntryPB* mutable_input_history(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSGOInputHistoryEntryPB >* - mutable_input_history(); - private: - const ::CSGOInputHistoryEntryPB& _internal_input_history(int index) const; - ::CSGOInputHistoryEntryPB* _internal_add_input_history(); - public: - const ::CSGOInputHistoryEntryPB& input_history(int index) const; - ::CSGOInputHistoryEntryPB* add_input_history(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSGOInputHistoryEntryPB >& - input_history() const; - - // optional .CBaseUserCmdPB base = 1; - bool has_base() const; - private: - bool _internal_has_base() const; - public: - void clear_base(); - const ::CBaseUserCmdPB& base() const; - PROTOBUF_NODISCARD ::CBaseUserCmdPB* release_base(); - ::CBaseUserCmdPB* mutable_base(); - void set_allocated_base(::CBaseUserCmdPB* base); - private: - const ::CBaseUserCmdPB& _internal_base() const; - ::CBaseUserCmdPB* _internal_mutable_base(); - public: - void unsafe_arena_set_allocated_base( - ::CBaseUserCmdPB* base); - ::CBaseUserCmdPB* unsafe_arena_release_base(); - - // optional bool left_hand_desired = 9 [default = false]; - bool has_left_hand_desired() const; - private: - bool _internal_has_left_hand_desired() const; - public: - void clear_left_hand_desired(); - bool left_hand_desired() const; - void set_left_hand_desired(bool value); - private: - bool _internal_left_hand_desired() const; - void _internal_set_left_hand_desired(bool value); - public: - - // optional bool is_predicting_body_shot_fx = 11 [default = false]; - bool has_is_predicting_body_shot_fx() const; - private: - bool _internal_has_is_predicting_body_shot_fx() const; - public: - void clear_is_predicting_body_shot_fx(); - bool is_predicting_body_shot_fx() const; - void set_is_predicting_body_shot_fx(bool value); - private: - bool _internal_is_predicting_body_shot_fx() const; - void _internal_set_is_predicting_body_shot_fx(bool value); - public: - - // optional bool is_predicting_head_shot_fx = 12 [default = false]; - bool has_is_predicting_head_shot_fx() const; - private: - bool _internal_has_is_predicting_head_shot_fx() const; - public: - void clear_is_predicting_head_shot_fx(); - bool is_predicting_head_shot_fx() const; - void set_is_predicting_head_shot_fx(bool value); - private: - bool _internal_is_predicting_head_shot_fx() const; - void _internal_set_is_predicting_head_shot_fx(bool value); - public: - - // optional bool is_predicting_kill_ragdolls = 13 [default = false]; - bool has_is_predicting_kill_ragdolls() const; - private: - bool _internal_has_is_predicting_kill_ragdolls() const; - public: - void clear_is_predicting_kill_ragdolls(); - bool is_predicting_kill_ragdolls() const; - void set_is_predicting_kill_ragdolls(bool value); - private: - bool _internal_is_predicting_kill_ragdolls() const; - void _internal_set_is_predicting_kill_ragdolls(bool value); - public: - - // optional int32 attack1_start_history_index = 6 [default = -1]; - bool has_attack1_start_history_index() const; - private: - bool _internal_has_attack1_start_history_index() const; - public: - void clear_attack1_start_history_index(); - int32_t attack1_start_history_index() const; - void set_attack1_start_history_index(int32_t value); - private: - int32_t _internal_attack1_start_history_index() const; - void _internal_set_attack1_start_history_index(int32_t value); - public: - - // optional int32 attack2_start_history_index = 7 [default = -1]; - bool has_attack2_start_history_index() const; - private: - bool _internal_has_attack2_start_history_index() const; - public: - void clear_attack2_start_history_index(); - int32_t attack2_start_history_index() const; - void set_attack2_start_history_index(int32_t value); - private: - int32_t _internal_attack2_start_history_index() const; - void _internal_set_attack2_start_history_index(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSGOUserCmdPB) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSGOInputHistoryEntryPB > input_history_; - ::CBaseUserCmdPB* base_; - bool left_hand_desired_; - bool is_predicting_body_shot_fx_; - bool is_predicting_head_shot_fx_; - bool is_predicting_kill_ragdolls_; - int32_t attack1_start_history_index_; - int32_t attack2_start_history_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cs_5fusercmd_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CSGOInterpolationInfoPB - -// optional int32 src_tick = 1 [default = -1]; -inline bool CSGOInterpolationInfoPB::_internal_has_src_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSGOInterpolationInfoPB::has_src_tick() const { - return _internal_has_src_tick(); -} -inline void CSGOInterpolationInfoPB::clear_src_tick() { - _impl_.src_tick_ = -1; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSGOInterpolationInfoPB::_internal_src_tick() const { - return _impl_.src_tick_; -} -inline int32_t CSGOInterpolationInfoPB::src_tick() const { - // @@protoc_insertion_point(field_get:CSGOInterpolationInfoPB.src_tick) - return _internal_src_tick(); -} -inline void CSGOInterpolationInfoPB::_internal_set_src_tick(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.src_tick_ = value; -} -inline void CSGOInterpolationInfoPB::set_src_tick(int32_t value) { - _internal_set_src_tick(value); - // @@protoc_insertion_point(field_set:CSGOInterpolationInfoPB.src_tick) -} - -// optional int32 dst_tick = 2 [default = -1]; -inline bool CSGOInterpolationInfoPB::_internal_has_dst_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSGOInterpolationInfoPB::has_dst_tick() const { - return _internal_has_dst_tick(); -} -inline void CSGOInterpolationInfoPB::clear_dst_tick() { - _impl_.dst_tick_ = -1; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CSGOInterpolationInfoPB::_internal_dst_tick() const { - return _impl_.dst_tick_; -} -inline int32_t CSGOInterpolationInfoPB::dst_tick() const { - // @@protoc_insertion_point(field_get:CSGOInterpolationInfoPB.dst_tick) - return _internal_dst_tick(); -} -inline void CSGOInterpolationInfoPB::_internal_set_dst_tick(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.dst_tick_ = value; -} -inline void CSGOInterpolationInfoPB::set_dst_tick(int32_t value) { - _internal_set_dst_tick(value); - // @@protoc_insertion_point(field_set:CSGOInterpolationInfoPB.dst_tick) -} - -// optional float frac = 3 [default = 0]; -inline bool CSGOInterpolationInfoPB::_internal_has_frac() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSGOInterpolationInfoPB::has_frac() const { - return _internal_has_frac(); -} -inline void CSGOInterpolationInfoPB::clear_frac() { - _impl_.frac_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CSGOInterpolationInfoPB::_internal_frac() const { - return _impl_.frac_; -} -inline float CSGOInterpolationInfoPB::frac() const { - // @@protoc_insertion_point(field_get:CSGOInterpolationInfoPB.frac) - return _internal_frac(); -} -inline void CSGOInterpolationInfoPB::_internal_set_frac(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.frac_ = value; -} -inline void CSGOInterpolationInfoPB::set_frac(float value) { - _internal_set_frac(value); - // @@protoc_insertion_point(field_set:CSGOInterpolationInfoPB.frac) -} - -// ------------------------------------------------------------------- - -// CSGOInterpolationInfoPB_CL - -// optional float frac = 3 [default = 0]; -inline bool CSGOInterpolationInfoPB_CL::_internal_has_frac() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSGOInterpolationInfoPB_CL::has_frac() const { - return _internal_has_frac(); -} -inline void CSGOInterpolationInfoPB_CL::clear_frac() { - _impl_.frac_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CSGOInterpolationInfoPB_CL::_internal_frac() const { - return _impl_.frac_; -} -inline float CSGOInterpolationInfoPB_CL::frac() const { - // @@protoc_insertion_point(field_get:CSGOInterpolationInfoPB_CL.frac) - return _internal_frac(); -} -inline void CSGOInterpolationInfoPB_CL::_internal_set_frac(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.frac_ = value; -} -inline void CSGOInterpolationInfoPB_CL::set_frac(float value) { - _internal_set_frac(value); - // @@protoc_insertion_point(field_set:CSGOInterpolationInfoPB_CL.frac) -} - -// ------------------------------------------------------------------- - -// CSGOInputHistoryEntryPB - -// optional .CMsgQAngle view_angles = 2; -inline bool CSGOInputHistoryEntryPB::_internal_has_view_angles() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.view_angles_ != nullptr); - return value; -} -inline bool CSGOInputHistoryEntryPB::has_view_angles() const { - return _internal_has_view_angles(); -} -inline const ::CMsgQAngle& CSGOInputHistoryEntryPB::_internal_view_angles() const { - const ::CMsgQAngle* p = _impl_.view_angles_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CSGOInputHistoryEntryPB::view_angles() const { - // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.view_angles) - return _internal_view_angles(); -} -inline void CSGOInputHistoryEntryPB::unsafe_arena_set_allocated_view_angles( - ::CMsgQAngle* view_angles) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.view_angles_); - } - _impl_.view_angles_ = view_angles; - if (view_angles) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOInputHistoryEntryPB.view_angles) -} -inline ::CMsgQAngle* CSGOInputHistoryEntryPB::release_view_angles() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgQAngle* temp = _impl_.view_angles_; - _impl_.view_angles_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CSGOInputHistoryEntryPB::unsafe_arena_release_view_angles() { - // @@protoc_insertion_point(field_release:CSGOInputHistoryEntryPB.view_angles) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgQAngle* temp = _impl_.view_angles_; - _impl_.view_angles_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CSGOInputHistoryEntryPB::_internal_mutable_view_angles() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.view_angles_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.view_angles_ = p; - } - return _impl_.view_angles_; -} -inline ::CMsgQAngle* CSGOInputHistoryEntryPB::mutable_view_angles() { - ::CMsgQAngle* _msg = _internal_mutable_view_angles(); - // @@protoc_insertion_point(field_mutable:CSGOInputHistoryEntryPB.view_angles) - return _msg; -} -inline void CSGOInputHistoryEntryPB::set_allocated_view_angles(::CMsgQAngle* view_angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.view_angles_); - } - if (view_angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(view_angles)); - if (message_arena != submessage_arena) { - view_angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, view_angles, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.view_angles_ = view_angles; - // @@protoc_insertion_point(field_set_allocated:CSGOInputHistoryEntryPB.view_angles) -} - -// optional int32 render_tick_count = 4; -inline bool CSGOInputHistoryEntryPB::_internal_has_render_tick_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CSGOInputHistoryEntryPB::has_render_tick_count() const { - return _internal_has_render_tick_count(); -} -inline void CSGOInputHistoryEntryPB::clear_render_tick_count() { - _impl_.render_tick_count_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline int32_t CSGOInputHistoryEntryPB::_internal_render_tick_count() const { - return _impl_.render_tick_count_; -} -inline int32_t CSGOInputHistoryEntryPB::render_tick_count() const { - // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.render_tick_count) - return _internal_render_tick_count(); -} -inline void CSGOInputHistoryEntryPB::_internal_set_render_tick_count(int32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.render_tick_count_ = value; -} -inline void CSGOInputHistoryEntryPB::set_render_tick_count(int32_t value) { - _internal_set_render_tick_count(value); - // @@protoc_insertion_point(field_set:CSGOInputHistoryEntryPB.render_tick_count) -} - -// optional float render_tick_fraction = 5; -inline bool CSGOInputHistoryEntryPB::_internal_has_render_tick_fraction() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CSGOInputHistoryEntryPB::has_render_tick_fraction() const { - return _internal_has_render_tick_fraction(); -} -inline void CSGOInputHistoryEntryPB::clear_render_tick_fraction() { - _impl_.render_tick_fraction_ = 0; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline float CSGOInputHistoryEntryPB::_internal_render_tick_fraction() const { - return _impl_.render_tick_fraction_; -} -inline float CSGOInputHistoryEntryPB::render_tick_fraction() const { - // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.render_tick_fraction) - return _internal_render_tick_fraction(); -} -inline void CSGOInputHistoryEntryPB::_internal_set_render_tick_fraction(float value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.render_tick_fraction_ = value; -} -inline void CSGOInputHistoryEntryPB::set_render_tick_fraction(float value) { - _internal_set_render_tick_fraction(value); - // @@protoc_insertion_point(field_set:CSGOInputHistoryEntryPB.render_tick_fraction) -} - -// optional int32 player_tick_count = 6; -inline bool CSGOInputHistoryEntryPB::_internal_has_player_tick_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CSGOInputHistoryEntryPB::has_player_tick_count() const { - return _internal_has_player_tick_count(); -} -inline void CSGOInputHistoryEntryPB::clear_player_tick_count() { - _impl_.player_tick_count_ = 0; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline int32_t CSGOInputHistoryEntryPB::_internal_player_tick_count() const { - return _impl_.player_tick_count_; -} -inline int32_t CSGOInputHistoryEntryPB::player_tick_count() const { - // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.player_tick_count) - return _internal_player_tick_count(); -} -inline void CSGOInputHistoryEntryPB::_internal_set_player_tick_count(int32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.player_tick_count_ = value; -} -inline void CSGOInputHistoryEntryPB::set_player_tick_count(int32_t value) { - _internal_set_player_tick_count(value); - // @@protoc_insertion_point(field_set:CSGOInputHistoryEntryPB.player_tick_count) -} - -// optional float player_tick_fraction = 7; -inline bool CSGOInputHistoryEntryPB::_internal_has_player_tick_fraction() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CSGOInputHistoryEntryPB::has_player_tick_fraction() const { - return _internal_has_player_tick_fraction(); -} -inline void CSGOInputHistoryEntryPB::clear_player_tick_fraction() { - _impl_.player_tick_fraction_ = 0; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline float CSGOInputHistoryEntryPB::_internal_player_tick_fraction() const { - return _impl_.player_tick_fraction_; -} -inline float CSGOInputHistoryEntryPB::player_tick_fraction() const { - // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.player_tick_fraction) - return _internal_player_tick_fraction(); -} -inline void CSGOInputHistoryEntryPB::_internal_set_player_tick_fraction(float value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.player_tick_fraction_ = value; -} -inline void CSGOInputHistoryEntryPB::set_player_tick_fraction(float value) { - _internal_set_player_tick_fraction(value); - // @@protoc_insertion_point(field_set:CSGOInputHistoryEntryPB.player_tick_fraction) -} - -// optional .CSGOInterpolationInfoPB_CL cl_interp = 12; -inline bool CSGOInputHistoryEntryPB::_internal_has_cl_interp() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cl_interp_ != nullptr); - return value; -} -inline bool CSGOInputHistoryEntryPB::has_cl_interp() const { - return _internal_has_cl_interp(); -} -inline void CSGOInputHistoryEntryPB::clear_cl_interp() { - if (_impl_.cl_interp_ != nullptr) _impl_.cl_interp_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CSGOInterpolationInfoPB_CL& CSGOInputHistoryEntryPB::_internal_cl_interp() const { - const ::CSGOInterpolationInfoPB_CL* p = _impl_.cl_interp_; - return p != nullptr ? *p : reinterpret_cast( - ::_CSGOInterpolationInfoPB_CL_default_instance_); -} -inline const ::CSGOInterpolationInfoPB_CL& CSGOInputHistoryEntryPB::cl_interp() const { - // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.cl_interp) - return _internal_cl_interp(); -} -inline void CSGOInputHistoryEntryPB::unsafe_arena_set_allocated_cl_interp( - ::CSGOInterpolationInfoPB_CL* cl_interp) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cl_interp_); - } - _impl_.cl_interp_ = cl_interp; - if (cl_interp) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOInputHistoryEntryPB.cl_interp) -} -inline ::CSGOInterpolationInfoPB_CL* CSGOInputHistoryEntryPB::release_cl_interp() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CSGOInterpolationInfoPB_CL* temp = _impl_.cl_interp_; - _impl_.cl_interp_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CSGOInterpolationInfoPB_CL* CSGOInputHistoryEntryPB::unsafe_arena_release_cl_interp() { - // @@protoc_insertion_point(field_release:CSGOInputHistoryEntryPB.cl_interp) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CSGOInterpolationInfoPB_CL* temp = _impl_.cl_interp_; - _impl_.cl_interp_ = nullptr; - return temp; -} -inline ::CSGOInterpolationInfoPB_CL* CSGOInputHistoryEntryPB::_internal_mutable_cl_interp() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.cl_interp_ == nullptr) { - auto* p = CreateMaybeMessage<::CSGOInterpolationInfoPB_CL>(GetArenaForAllocation()); - _impl_.cl_interp_ = p; - } - return _impl_.cl_interp_; -} -inline ::CSGOInterpolationInfoPB_CL* CSGOInputHistoryEntryPB::mutable_cl_interp() { - ::CSGOInterpolationInfoPB_CL* _msg = _internal_mutable_cl_interp(); - // @@protoc_insertion_point(field_mutable:CSGOInputHistoryEntryPB.cl_interp) - return _msg; -} -inline void CSGOInputHistoryEntryPB::set_allocated_cl_interp(::CSGOInterpolationInfoPB_CL* cl_interp) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.cl_interp_; - } - if (cl_interp) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cl_interp); - if (message_arena != submessage_arena) { - cl_interp = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cl_interp, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.cl_interp_ = cl_interp; - // @@protoc_insertion_point(field_set_allocated:CSGOInputHistoryEntryPB.cl_interp) -} - -// optional .CSGOInterpolationInfoPB sv_interp0 = 13; -inline bool CSGOInputHistoryEntryPB::_internal_has_sv_interp0() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.sv_interp0_ != nullptr); - return value; -} -inline bool CSGOInputHistoryEntryPB::has_sv_interp0() const { - return _internal_has_sv_interp0(); -} -inline void CSGOInputHistoryEntryPB::clear_sv_interp0() { - if (_impl_.sv_interp0_ != nullptr) _impl_.sv_interp0_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::CSGOInterpolationInfoPB& CSGOInputHistoryEntryPB::_internal_sv_interp0() const { - const ::CSGOInterpolationInfoPB* p = _impl_.sv_interp0_; - return p != nullptr ? *p : reinterpret_cast( - ::_CSGOInterpolationInfoPB_default_instance_); -} -inline const ::CSGOInterpolationInfoPB& CSGOInputHistoryEntryPB::sv_interp0() const { - // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.sv_interp0) - return _internal_sv_interp0(); -} -inline void CSGOInputHistoryEntryPB::unsafe_arena_set_allocated_sv_interp0( - ::CSGOInterpolationInfoPB* sv_interp0) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.sv_interp0_); - } - _impl_.sv_interp0_ = sv_interp0; - if (sv_interp0) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOInputHistoryEntryPB.sv_interp0) -} -inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::release_sv_interp0() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CSGOInterpolationInfoPB* temp = _impl_.sv_interp0_; - _impl_.sv_interp0_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::unsafe_arena_release_sv_interp0() { - // @@protoc_insertion_point(field_release:CSGOInputHistoryEntryPB.sv_interp0) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CSGOInterpolationInfoPB* temp = _impl_.sv_interp0_; - _impl_.sv_interp0_ = nullptr; - return temp; -} -inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::_internal_mutable_sv_interp0() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.sv_interp0_ == nullptr) { - auto* p = CreateMaybeMessage<::CSGOInterpolationInfoPB>(GetArenaForAllocation()); - _impl_.sv_interp0_ = p; - } - return _impl_.sv_interp0_; -} -inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::mutable_sv_interp0() { - ::CSGOInterpolationInfoPB* _msg = _internal_mutable_sv_interp0(); - // @@protoc_insertion_point(field_mutable:CSGOInputHistoryEntryPB.sv_interp0) - return _msg; -} -inline void CSGOInputHistoryEntryPB::set_allocated_sv_interp0(::CSGOInterpolationInfoPB* sv_interp0) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.sv_interp0_; - } - if (sv_interp0) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(sv_interp0); - if (message_arena != submessage_arena) { - sv_interp0 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, sv_interp0, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.sv_interp0_ = sv_interp0; - // @@protoc_insertion_point(field_set_allocated:CSGOInputHistoryEntryPB.sv_interp0) -} - -// optional .CSGOInterpolationInfoPB sv_interp1 = 14; -inline bool CSGOInputHistoryEntryPB::_internal_has_sv_interp1() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.sv_interp1_ != nullptr); - return value; -} -inline bool CSGOInputHistoryEntryPB::has_sv_interp1() const { - return _internal_has_sv_interp1(); -} -inline void CSGOInputHistoryEntryPB::clear_sv_interp1() { - if (_impl_.sv_interp1_ != nullptr) _impl_.sv_interp1_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::CSGOInterpolationInfoPB& CSGOInputHistoryEntryPB::_internal_sv_interp1() const { - const ::CSGOInterpolationInfoPB* p = _impl_.sv_interp1_; - return p != nullptr ? *p : reinterpret_cast( - ::_CSGOInterpolationInfoPB_default_instance_); -} -inline const ::CSGOInterpolationInfoPB& CSGOInputHistoryEntryPB::sv_interp1() const { - // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.sv_interp1) - return _internal_sv_interp1(); -} -inline void CSGOInputHistoryEntryPB::unsafe_arena_set_allocated_sv_interp1( - ::CSGOInterpolationInfoPB* sv_interp1) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.sv_interp1_); - } - _impl_.sv_interp1_ = sv_interp1; - if (sv_interp1) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOInputHistoryEntryPB.sv_interp1) -} -inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::release_sv_interp1() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CSGOInterpolationInfoPB* temp = _impl_.sv_interp1_; - _impl_.sv_interp1_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::unsafe_arena_release_sv_interp1() { - // @@protoc_insertion_point(field_release:CSGOInputHistoryEntryPB.sv_interp1) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CSGOInterpolationInfoPB* temp = _impl_.sv_interp1_; - _impl_.sv_interp1_ = nullptr; - return temp; -} -inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::_internal_mutable_sv_interp1() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.sv_interp1_ == nullptr) { - auto* p = CreateMaybeMessage<::CSGOInterpolationInfoPB>(GetArenaForAllocation()); - _impl_.sv_interp1_ = p; - } - return _impl_.sv_interp1_; -} -inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::mutable_sv_interp1() { - ::CSGOInterpolationInfoPB* _msg = _internal_mutable_sv_interp1(); - // @@protoc_insertion_point(field_mutable:CSGOInputHistoryEntryPB.sv_interp1) - return _msg; -} -inline void CSGOInputHistoryEntryPB::set_allocated_sv_interp1(::CSGOInterpolationInfoPB* sv_interp1) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.sv_interp1_; - } - if (sv_interp1) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(sv_interp1); - if (message_arena != submessage_arena) { - sv_interp1 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, sv_interp1, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.sv_interp1_ = sv_interp1; - // @@protoc_insertion_point(field_set_allocated:CSGOInputHistoryEntryPB.sv_interp1) -} - -// optional .CSGOInterpolationInfoPB player_interp = 15; -inline bool CSGOInputHistoryEntryPB::_internal_has_player_interp() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.player_interp_ != nullptr); - return value; -} -inline bool CSGOInputHistoryEntryPB::has_player_interp() const { - return _internal_has_player_interp(); -} -inline void CSGOInputHistoryEntryPB::clear_player_interp() { - if (_impl_.player_interp_ != nullptr) _impl_.player_interp_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const ::CSGOInterpolationInfoPB& CSGOInputHistoryEntryPB::_internal_player_interp() const { - const ::CSGOInterpolationInfoPB* p = _impl_.player_interp_; - return p != nullptr ? *p : reinterpret_cast( - ::_CSGOInterpolationInfoPB_default_instance_); -} -inline const ::CSGOInterpolationInfoPB& CSGOInputHistoryEntryPB::player_interp() const { - // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.player_interp) - return _internal_player_interp(); -} -inline void CSGOInputHistoryEntryPB::unsafe_arena_set_allocated_player_interp( - ::CSGOInterpolationInfoPB* player_interp) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_interp_); - } - _impl_.player_interp_ = player_interp; - if (player_interp) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOInputHistoryEntryPB.player_interp) -} -inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::release_player_interp() { - _impl_._has_bits_[0] &= ~0x00000010u; - ::CSGOInterpolationInfoPB* temp = _impl_.player_interp_; - _impl_.player_interp_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::unsafe_arena_release_player_interp() { - // @@protoc_insertion_point(field_release:CSGOInputHistoryEntryPB.player_interp) - _impl_._has_bits_[0] &= ~0x00000010u; - ::CSGOInterpolationInfoPB* temp = _impl_.player_interp_; - _impl_.player_interp_ = nullptr; - return temp; -} -inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::_internal_mutable_player_interp() { - _impl_._has_bits_[0] |= 0x00000010u; - if (_impl_.player_interp_ == nullptr) { - auto* p = CreateMaybeMessage<::CSGOInterpolationInfoPB>(GetArenaForAllocation()); - _impl_.player_interp_ = p; - } - return _impl_.player_interp_; -} -inline ::CSGOInterpolationInfoPB* CSGOInputHistoryEntryPB::mutable_player_interp() { - ::CSGOInterpolationInfoPB* _msg = _internal_mutable_player_interp(); - // @@protoc_insertion_point(field_mutable:CSGOInputHistoryEntryPB.player_interp) - return _msg; -} -inline void CSGOInputHistoryEntryPB::set_allocated_player_interp(::CSGOInterpolationInfoPB* player_interp) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.player_interp_; - } - if (player_interp) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player_interp); - if (message_arena != submessage_arena) { - player_interp = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, player_interp, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.player_interp_ = player_interp; - // @@protoc_insertion_point(field_set_allocated:CSGOInputHistoryEntryPB.player_interp) -} - -// optional int32 frame_number = 64; -inline bool CSGOInputHistoryEntryPB::_internal_has_frame_number() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CSGOInputHistoryEntryPB::has_frame_number() const { - return _internal_has_frame_number(); -} -inline void CSGOInputHistoryEntryPB::clear_frame_number() { - _impl_.frame_number_ = 0; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline int32_t CSGOInputHistoryEntryPB::_internal_frame_number() const { - return _impl_.frame_number_; -} -inline int32_t CSGOInputHistoryEntryPB::frame_number() const { - // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.frame_number) - return _internal_frame_number(); -} -inline void CSGOInputHistoryEntryPB::_internal_set_frame_number(int32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.frame_number_ = value; -} -inline void CSGOInputHistoryEntryPB::set_frame_number(int32_t value) { - _internal_set_frame_number(value); - // @@protoc_insertion_point(field_set:CSGOInputHistoryEntryPB.frame_number) -} - -// optional int32 target_ent_index = 65 [default = -1]; -inline bool CSGOInputHistoryEntryPB::_internal_has_target_ent_index() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CSGOInputHistoryEntryPB::has_target_ent_index() const { - return _internal_has_target_ent_index(); -} -inline void CSGOInputHistoryEntryPB::clear_target_ent_index() { - _impl_.target_ent_index_ = -1; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline int32_t CSGOInputHistoryEntryPB::_internal_target_ent_index() const { - return _impl_.target_ent_index_; -} -inline int32_t CSGOInputHistoryEntryPB::target_ent_index() const { - // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.target_ent_index) - return _internal_target_ent_index(); -} -inline void CSGOInputHistoryEntryPB::_internal_set_target_ent_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.target_ent_index_ = value; -} -inline void CSGOInputHistoryEntryPB::set_target_ent_index(int32_t value) { - _internal_set_target_ent_index(value); - // @@protoc_insertion_point(field_set:CSGOInputHistoryEntryPB.target_ent_index) -} - -// optional .CMsgVector shoot_position = 66; -inline bool CSGOInputHistoryEntryPB::_internal_has_shoot_position() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - PROTOBUF_ASSUME(!value || _impl_.shoot_position_ != nullptr); - return value; -} -inline bool CSGOInputHistoryEntryPB::has_shoot_position() const { - return _internal_has_shoot_position(); -} -inline const ::CMsgVector& CSGOInputHistoryEntryPB::_internal_shoot_position() const { - const ::CMsgVector* p = _impl_.shoot_position_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CSGOInputHistoryEntryPB::shoot_position() const { - // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.shoot_position) - return _internal_shoot_position(); -} -inline void CSGOInputHistoryEntryPB::unsafe_arena_set_allocated_shoot_position( - ::CMsgVector* shoot_position) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_position_); - } - _impl_.shoot_position_ = shoot_position; - if (shoot_position) { - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOInputHistoryEntryPB.shoot_position) -} -inline ::CMsgVector* CSGOInputHistoryEntryPB::release_shoot_position() { - _impl_._has_bits_[0] &= ~0x00000020u; - ::CMsgVector* temp = _impl_.shoot_position_; - _impl_.shoot_position_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CSGOInputHistoryEntryPB::unsafe_arena_release_shoot_position() { - // @@protoc_insertion_point(field_release:CSGOInputHistoryEntryPB.shoot_position) - _impl_._has_bits_[0] &= ~0x00000020u; - ::CMsgVector* temp = _impl_.shoot_position_; - _impl_.shoot_position_ = nullptr; - return temp; -} -inline ::CMsgVector* CSGOInputHistoryEntryPB::_internal_mutable_shoot_position() { - _impl_._has_bits_[0] |= 0x00000020u; - if (_impl_.shoot_position_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.shoot_position_ = p; - } - return _impl_.shoot_position_; -} -inline ::CMsgVector* CSGOInputHistoryEntryPB::mutable_shoot_position() { - ::CMsgVector* _msg = _internal_mutable_shoot_position(); - // @@protoc_insertion_point(field_mutable:CSGOInputHistoryEntryPB.shoot_position) - return _msg; -} -inline void CSGOInputHistoryEntryPB::set_allocated_shoot_position(::CMsgVector* shoot_position) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_position_); - } - if (shoot_position) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(shoot_position)); - if (message_arena != submessage_arena) { - shoot_position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, shoot_position, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - _impl_.shoot_position_ = shoot_position; - // @@protoc_insertion_point(field_set_allocated:CSGOInputHistoryEntryPB.shoot_position) -} - -// optional .CMsgVector target_head_pos_check = 67; -inline bool CSGOInputHistoryEntryPB::_internal_has_target_head_pos_check() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - PROTOBUF_ASSUME(!value || _impl_.target_head_pos_check_ != nullptr); - return value; -} -inline bool CSGOInputHistoryEntryPB::has_target_head_pos_check() const { - return _internal_has_target_head_pos_check(); -} -inline const ::CMsgVector& CSGOInputHistoryEntryPB::_internal_target_head_pos_check() const { - const ::CMsgVector* p = _impl_.target_head_pos_check_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CSGOInputHistoryEntryPB::target_head_pos_check() const { - // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.target_head_pos_check) - return _internal_target_head_pos_check(); -} -inline void CSGOInputHistoryEntryPB::unsafe_arena_set_allocated_target_head_pos_check( - ::CMsgVector* target_head_pos_check) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_head_pos_check_); - } - _impl_.target_head_pos_check_ = target_head_pos_check; - if (target_head_pos_check) { - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOInputHistoryEntryPB.target_head_pos_check) -} -inline ::CMsgVector* CSGOInputHistoryEntryPB::release_target_head_pos_check() { - _impl_._has_bits_[0] &= ~0x00000040u; - ::CMsgVector* temp = _impl_.target_head_pos_check_; - _impl_.target_head_pos_check_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CSGOInputHistoryEntryPB::unsafe_arena_release_target_head_pos_check() { - // @@protoc_insertion_point(field_release:CSGOInputHistoryEntryPB.target_head_pos_check) - _impl_._has_bits_[0] &= ~0x00000040u; - ::CMsgVector* temp = _impl_.target_head_pos_check_; - _impl_.target_head_pos_check_ = nullptr; - return temp; -} -inline ::CMsgVector* CSGOInputHistoryEntryPB::_internal_mutable_target_head_pos_check() { - _impl_._has_bits_[0] |= 0x00000040u; - if (_impl_.target_head_pos_check_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.target_head_pos_check_ = p; - } - return _impl_.target_head_pos_check_; -} -inline ::CMsgVector* CSGOInputHistoryEntryPB::mutable_target_head_pos_check() { - ::CMsgVector* _msg = _internal_mutable_target_head_pos_check(); - // @@protoc_insertion_point(field_mutable:CSGOInputHistoryEntryPB.target_head_pos_check) - return _msg; -} -inline void CSGOInputHistoryEntryPB::set_allocated_target_head_pos_check(::CMsgVector* target_head_pos_check) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_head_pos_check_); - } - if (target_head_pos_check) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(target_head_pos_check)); - if (message_arena != submessage_arena) { - target_head_pos_check = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, target_head_pos_check, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - _impl_.target_head_pos_check_ = target_head_pos_check; - // @@protoc_insertion_point(field_set_allocated:CSGOInputHistoryEntryPB.target_head_pos_check) -} - -// optional .CMsgVector target_abs_pos_check = 68; -inline bool CSGOInputHistoryEntryPB::_internal_has_target_abs_pos_check() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - PROTOBUF_ASSUME(!value || _impl_.target_abs_pos_check_ != nullptr); - return value; -} -inline bool CSGOInputHistoryEntryPB::has_target_abs_pos_check() const { - return _internal_has_target_abs_pos_check(); -} -inline const ::CMsgVector& CSGOInputHistoryEntryPB::_internal_target_abs_pos_check() const { - const ::CMsgVector* p = _impl_.target_abs_pos_check_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CSGOInputHistoryEntryPB::target_abs_pos_check() const { - // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.target_abs_pos_check) - return _internal_target_abs_pos_check(); -} -inline void CSGOInputHistoryEntryPB::unsafe_arena_set_allocated_target_abs_pos_check( - ::CMsgVector* target_abs_pos_check) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_abs_pos_check_); - } - _impl_.target_abs_pos_check_ = target_abs_pos_check; - if (target_abs_pos_check) { - _impl_._has_bits_[0] |= 0x00000080u; - } else { - _impl_._has_bits_[0] &= ~0x00000080u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOInputHistoryEntryPB.target_abs_pos_check) -} -inline ::CMsgVector* CSGOInputHistoryEntryPB::release_target_abs_pos_check() { - _impl_._has_bits_[0] &= ~0x00000080u; - ::CMsgVector* temp = _impl_.target_abs_pos_check_; - _impl_.target_abs_pos_check_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CSGOInputHistoryEntryPB::unsafe_arena_release_target_abs_pos_check() { - // @@protoc_insertion_point(field_release:CSGOInputHistoryEntryPB.target_abs_pos_check) - _impl_._has_bits_[0] &= ~0x00000080u; - ::CMsgVector* temp = _impl_.target_abs_pos_check_; - _impl_.target_abs_pos_check_ = nullptr; - return temp; -} -inline ::CMsgVector* CSGOInputHistoryEntryPB::_internal_mutable_target_abs_pos_check() { - _impl_._has_bits_[0] |= 0x00000080u; - if (_impl_.target_abs_pos_check_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.target_abs_pos_check_ = p; - } - return _impl_.target_abs_pos_check_; -} -inline ::CMsgVector* CSGOInputHistoryEntryPB::mutable_target_abs_pos_check() { - ::CMsgVector* _msg = _internal_mutable_target_abs_pos_check(); - // @@protoc_insertion_point(field_mutable:CSGOInputHistoryEntryPB.target_abs_pos_check) - return _msg; -} -inline void CSGOInputHistoryEntryPB::set_allocated_target_abs_pos_check(::CMsgVector* target_abs_pos_check) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_abs_pos_check_); - } - if (target_abs_pos_check) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(target_abs_pos_check)); - if (message_arena != submessage_arena) { - target_abs_pos_check = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, target_abs_pos_check, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000080u; - } else { - _impl_._has_bits_[0] &= ~0x00000080u; - } - _impl_.target_abs_pos_check_ = target_abs_pos_check; - // @@protoc_insertion_point(field_set_allocated:CSGOInputHistoryEntryPB.target_abs_pos_check) -} - -// optional .CMsgQAngle target_abs_ang_check = 69; -inline bool CSGOInputHistoryEntryPB::_internal_has_target_abs_ang_check() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - PROTOBUF_ASSUME(!value || _impl_.target_abs_ang_check_ != nullptr); - return value; -} -inline bool CSGOInputHistoryEntryPB::has_target_abs_ang_check() const { - return _internal_has_target_abs_ang_check(); -} -inline const ::CMsgQAngle& CSGOInputHistoryEntryPB::_internal_target_abs_ang_check() const { - const ::CMsgQAngle* p = _impl_.target_abs_ang_check_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CSGOInputHistoryEntryPB::target_abs_ang_check() const { - // @@protoc_insertion_point(field_get:CSGOInputHistoryEntryPB.target_abs_ang_check) - return _internal_target_abs_ang_check(); -} -inline void CSGOInputHistoryEntryPB::unsafe_arena_set_allocated_target_abs_ang_check( - ::CMsgQAngle* target_abs_ang_check) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_abs_ang_check_); - } - _impl_.target_abs_ang_check_ = target_abs_ang_check; - if (target_abs_ang_check) { - _impl_._has_bits_[0] |= 0x00000100u; - } else { - _impl_._has_bits_[0] &= ~0x00000100u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOInputHistoryEntryPB.target_abs_ang_check) -} -inline ::CMsgQAngle* CSGOInputHistoryEntryPB::release_target_abs_ang_check() { - _impl_._has_bits_[0] &= ~0x00000100u; - ::CMsgQAngle* temp = _impl_.target_abs_ang_check_; - _impl_.target_abs_ang_check_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CSGOInputHistoryEntryPB::unsafe_arena_release_target_abs_ang_check() { - // @@protoc_insertion_point(field_release:CSGOInputHistoryEntryPB.target_abs_ang_check) - _impl_._has_bits_[0] &= ~0x00000100u; - ::CMsgQAngle* temp = _impl_.target_abs_ang_check_; - _impl_.target_abs_ang_check_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CSGOInputHistoryEntryPB::_internal_mutable_target_abs_ang_check() { - _impl_._has_bits_[0] |= 0x00000100u; - if (_impl_.target_abs_ang_check_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.target_abs_ang_check_ = p; - } - return _impl_.target_abs_ang_check_; -} -inline ::CMsgQAngle* CSGOInputHistoryEntryPB::mutable_target_abs_ang_check() { - ::CMsgQAngle* _msg = _internal_mutable_target_abs_ang_check(); - // @@protoc_insertion_point(field_mutable:CSGOInputHistoryEntryPB.target_abs_ang_check) - return _msg; -} -inline void CSGOInputHistoryEntryPB::set_allocated_target_abs_ang_check(::CMsgQAngle* target_abs_ang_check) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_abs_ang_check_); - } - if (target_abs_ang_check) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(target_abs_ang_check)); - if (message_arena != submessage_arena) { - target_abs_ang_check = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, target_abs_ang_check, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000100u; - } else { - _impl_._has_bits_[0] &= ~0x00000100u; - } - _impl_.target_abs_ang_check_ = target_abs_ang_check; - // @@protoc_insertion_point(field_set_allocated:CSGOInputHistoryEntryPB.target_abs_ang_check) -} - -// ------------------------------------------------------------------- - -// CSGOUserCmdPB - -// optional .CBaseUserCmdPB base = 1; -inline bool CSGOUserCmdPB::_internal_has_base() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.base_ != nullptr); - return value; -} -inline bool CSGOUserCmdPB::has_base() const { - return _internal_has_base(); -} -inline const ::CBaseUserCmdPB& CSGOUserCmdPB::_internal_base() const { - const ::CBaseUserCmdPB* p = _impl_.base_; - return p != nullptr ? *p : reinterpret_cast( - ::_CBaseUserCmdPB_default_instance_); -} -inline const ::CBaseUserCmdPB& CSGOUserCmdPB::base() const { - // @@protoc_insertion_point(field_get:CSGOUserCmdPB.base) - return _internal_base(); -} -inline void CSGOUserCmdPB::unsafe_arena_set_allocated_base( - ::CBaseUserCmdPB* base) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.base_); - } - _impl_.base_ = base; - if (base) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSGOUserCmdPB.base) -} -inline ::CBaseUserCmdPB* CSGOUserCmdPB::release_base() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CBaseUserCmdPB* temp = _impl_.base_; - _impl_.base_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CBaseUserCmdPB* CSGOUserCmdPB::unsafe_arena_release_base() { - // @@protoc_insertion_point(field_release:CSGOUserCmdPB.base) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CBaseUserCmdPB* temp = _impl_.base_; - _impl_.base_ = nullptr; - return temp; -} -inline ::CBaseUserCmdPB* CSGOUserCmdPB::_internal_mutable_base() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.base_ == nullptr) { - auto* p = CreateMaybeMessage<::CBaseUserCmdPB>(GetArenaForAllocation()); - _impl_.base_ = p; - } - return _impl_.base_; -} -inline ::CBaseUserCmdPB* CSGOUserCmdPB::mutable_base() { - ::CBaseUserCmdPB* _msg = _internal_mutable_base(); - // @@protoc_insertion_point(field_mutable:CSGOUserCmdPB.base) - return _msg; -} -inline void CSGOUserCmdPB::set_allocated_base(::CBaseUserCmdPB* base) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.base_); - } - if (base) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(base)); - if (message_arena != submessage_arena) { - base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, base, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.base_ = base; - // @@protoc_insertion_point(field_set_allocated:CSGOUserCmdPB.base) -} - -// repeated .CSGOInputHistoryEntryPB input_history = 2; -inline int CSGOUserCmdPB::_internal_input_history_size() const { - return _impl_.input_history_.size(); -} -inline int CSGOUserCmdPB::input_history_size() const { - return _internal_input_history_size(); -} -inline void CSGOUserCmdPB::clear_input_history() { - _impl_.input_history_.Clear(); -} -inline ::CSGOInputHistoryEntryPB* CSGOUserCmdPB::mutable_input_history(int index) { - // @@protoc_insertion_point(field_mutable:CSGOUserCmdPB.input_history) - return _impl_.input_history_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSGOInputHistoryEntryPB >* -CSGOUserCmdPB::mutable_input_history() { - // @@protoc_insertion_point(field_mutable_list:CSGOUserCmdPB.input_history) - return &_impl_.input_history_; -} -inline const ::CSGOInputHistoryEntryPB& CSGOUserCmdPB::_internal_input_history(int index) const { - return _impl_.input_history_.Get(index); -} -inline const ::CSGOInputHistoryEntryPB& CSGOUserCmdPB::input_history(int index) const { - // @@protoc_insertion_point(field_get:CSGOUserCmdPB.input_history) - return _internal_input_history(index); -} -inline ::CSGOInputHistoryEntryPB* CSGOUserCmdPB::_internal_add_input_history() { - return _impl_.input_history_.Add(); -} -inline ::CSGOInputHistoryEntryPB* CSGOUserCmdPB::add_input_history() { - ::CSGOInputHistoryEntryPB* _add = _internal_add_input_history(); - // @@protoc_insertion_point(field_add:CSGOUserCmdPB.input_history) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSGOInputHistoryEntryPB >& -CSGOUserCmdPB::input_history() const { - // @@protoc_insertion_point(field_list:CSGOUserCmdPB.input_history) - return _impl_.input_history_; -} - -// optional int32 attack1_start_history_index = 6 [default = -1]; -inline bool CSGOUserCmdPB::_internal_has_attack1_start_history_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSGOUserCmdPB::has_attack1_start_history_index() const { - return _internal_has_attack1_start_history_index(); -} -inline void CSGOUserCmdPB::clear_attack1_start_history_index() { - _impl_.attack1_start_history_index_ = -1; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CSGOUserCmdPB::_internal_attack1_start_history_index() const { - return _impl_.attack1_start_history_index_; -} -inline int32_t CSGOUserCmdPB::attack1_start_history_index() const { - // @@protoc_insertion_point(field_get:CSGOUserCmdPB.attack1_start_history_index) - return _internal_attack1_start_history_index(); -} -inline void CSGOUserCmdPB::_internal_set_attack1_start_history_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.attack1_start_history_index_ = value; -} -inline void CSGOUserCmdPB::set_attack1_start_history_index(int32_t value) { - _internal_set_attack1_start_history_index(value); - // @@protoc_insertion_point(field_set:CSGOUserCmdPB.attack1_start_history_index) -} - -// optional int32 attack2_start_history_index = 7 [default = -1]; -inline bool CSGOUserCmdPB::_internal_has_attack2_start_history_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CSGOUserCmdPB::has_attack2_start_history_index() const { - return _internal_has_attack2_start_history_index(); -} -inline void CSGOUserCmdPB::clear_attack2_start_history_index() { - _impl_.attack2_start_history_index_ = -1; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CSGOUserCmdPB::_internal_attack2_start_history_index() const { - return _impl_.attack2_start_history_index_; -} -inline int32_t CSGOUserCmdPB::attack2_start_history_index() const { - // @@protoc_insertion_point(field_get:CSGOUserCmdPB.attack2_start_history_index) - return _internal_attack2_start_history_index(); -} -inline void CSGOUserCmdPB::_internal_set_attack2_start_history_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.attack2_start_history_index_ = value; -} -inline void CSGOUserCmdPB::set_attack2_start_history_index(int32_t value) { - _internal_set_attack2_start_history_index(value); - // @@protoc_insertion_point(field_set:CSGOUserCmdPB.attack2_start_history_index) -} - -// optional bool left_hand_desired = 9 [default = false]; -inline bool CSGOUserCmdPB::_internal_has_left_hand_desired() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSGOUserCmdPB::has_left_hand_desired() const { - return _internal_has_left_hand_desired(); -} -inline void CSGOUserCmdPB::clear_left_hand_desired() { - _impl_.left_hand_desired_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CSGOUserCmdPB::_internal_left_hand_desired() const { - return _impl_.left_hand_desired_; -} -inline bool CSGOUserCmdPB::left_hand_desired() const { - // @@protoc_insertion_point(field_get:CSGOUserCmdPB.left_hand_desired) - return _internal_left_hand_desired(); -} -inline void CSGOUserCmdPB::_internal_set_left_hand_desired(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.left_hand_desired_ = value; -} -inline void CSGOUserCmdPB::set_left_hand_desired(bool value) { - _internal_set_left_hand_desired(value); - // @@protoc_insertion_point(field_set:CSGOUserCmdPB.left_hand_desired) -} - -// optional bool is_predicting_body_shot_fx = 11 [default = false]; -inline bool CSGOUserCmdPB::_internal_has_is_predicting_body_shot_fx() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSGOUserCmdPB::has_is_predicting_body_shot_fx() const { - return _internal_has_is_predicting_body_shot_fx(); -} -inline void CSGOUserCmdPB::clear_is_predicting_body_shot_fx() { - _impl_.is_predicting_body_shot_fx_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CSGOUserCmdPB::_internal_is_predicting_body_shot_fx() const { - return _impl_.is_predicting_body_shot_fx_; -} -inline bool CSGOUserCmdPB::is_predicting_body_shot_fx() const { - // @@protoc_insertion_point(field_get:CSGOUserCmdPB.is_predicting_body_shot_fx) - return _internal_is_predicting_body_shot_fx(); -} -inline void CSGOUserCmdPB::_internal_set_is_predicting_body_shot_fx(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.is_predicting_body_shot_fx_ = value; -} -inline void CSGOUserCmdPB::set_is_predicting_body_shot_fx(bool value) { - _internal_set_is_predicting_body_shot_fx(value); - // @@protoc_insertion_point(field_set:CSGOUserCmdPB.is_predicting_body_shot_fx) -} - -// optional bool is_predicting_head_shot_fx = 12 [default = false]; -inline bool CSGOUserCmdPB::_internal_has_is_predicting_head_shot_fx() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSGOUserCmdPB::has_is_predicting_head_shot_fx() const { - return _internal_has_is_predicting_head_shot_fx(); -} -inline void CSGOUserCmdPB::clear_is_predicting_head_shot_fx() { - _impl_.is_predicting_head_shot_fx_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CSGOUserCmdPB::_internal_is_predicting_head_shot_fx() const { - return _impl_.is_predicting_head_shot_fx_; -} -inline bool CSGOUserCmdPB::is_predicting_head_shot_fx() const { - // @@protoc_insertion_point(field_get:CSGOUserCmdPB.is_predicting_head_shot_fx) - return _internal_is_predicting_head_shot_fx(); -} -inline void CSGOUserCmdPB::_internal_set_is_predicting_head_shot_fx(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.is_predicting_head_shot_fx_ = value; -} -inline void CSGOUserCmdPB::set_is_predicting_head_shot_fx(bool value) { - _internal_set_is_predicting_head_shot_fx(value); - // @@protoc_insertion_point(field_set:CSGOUserCmdPB.is_predicting_head_shot_fx) -} - -// optional bool is_predicting_kill_ragdolls = 13 [default = false]; -inline bool CSGOUserCmdPB::_internal_has_is_predicting_kill_ragdolls() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSGOUserCmdPB::has_is_predicting_kill_ragdolls() const { - return _internal_has_is_predicting_kill_ragdolls(); -} -inline void CSGOUserCmdPB::clear_is_predicting_kill_ragdolls() { - _impl_.is_predicting_kill_ragdolls_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool CSGOUserCmdPB::_internal_is_predicting_kill_ragdolls() const { - return _impl_.is_predicting_kill_ragdolls_; -} -inline bool CSGOUserCmdPB::is_predicting_kill_ragdolls() const { - // @@protoc_insertion_point(field_get:CSGOUserCmdPB.is_predicting_kill_ragdolls) - return _internal_is_predicting_kill_ragdolls(); -} -inline void CSGOUserCmdPB::_internal_set_is_predicting_kill_ragdolls(bool value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.is_predicting_kill_ragdolls_ = value; -} -inline void CSGOUserCmdPB::set_is_predicting_kill_ragdolls(bool value) { - _internal_set_is_predicting_kill_ragdolls(value); - // @@protoc_insertion_point(field_set:CSGOUserCmdPB.is_predicting_kill_ragdolls) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_cs_5fusercmd_2eproto diff --git a/protobuf/generated/cstrike15_gcmessages.pb.cc b/protobuf/generated/cstrike15_gcmessages.pb.cc deleted file mode 100644 index 17f7b12c6..000000000 --- a/protobuf/generated/cstrike15_gcmessages.pb.cc +++ /dev/null @@ -1,67857 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: cstrike15_gcmessages.proto - -#include "cstrike15_gcmessages.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR GameServerPing::GameServerPing( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ping_)*/0 - , /*decltype(_impl_.ip_)*/0u - , /*decltype(_impl_.instances_)*/0u} {} -struct GameServerPingDefaultTypeInternal { - PROTOBUF_CONSTEXPR GameServerPingDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~GameServerPingDefaultTypeInternal() {} - union { - GameServerPing _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GameServerPingDefaultTypeInternal _GameServerPing_default_instance_; -PROTOBUF_CONSTEXPR DataCenterPing::DataCenterPing( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_center_id_)*/0u - , /*decltype(_impl_.ping_)*/0} {} -struct DataCenterPingDefaultTypeInternal { - PROTOBUF_CONSTEXPR DataCenterPingDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~DataCenterPingDefaultTypeInternal() {} - union { - DataCenterPing _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DataCenterPingDefaultTypeInternal _DataCenterPing_default_instance_; -PROTOBUF_CONSTEXPR DetailedSearchStatistic::DetailedSearchStatistic( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.game_type_)*/0u - , /*decltype(_impl_.search_time_avg_)*/0u - , /*decltype(_impl_.players_searching_)*/0u} {} -struct DetailedSearchStatisticDefaultTypeInternal { - PROTOBUF_CONSTEXPR DetailedSearchStatisticDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~DetailedSearchStatisticDefaultTypeInternal() {} - union { - DetailedSearchStatistic _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DetailedSearchStatisticDefaultTypeInternal _DetailedSearchStatistic_default_instance_; -PROTOBUF_CONSTEXPR TournamentPlayer::TournamentPlayer( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.player_nick_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.player_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.player_flag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.player_location_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.player_desc_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.player_dob_)*/0u} {} -struct TournamentPlayerDefaultTypeInternal { - PROTOBUF_CONSTEXPR TournamentPlayerDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TournamentPlayerDefaultTypeInternal() {} - union { - TournamentPlayer _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TournamentPlayerDefaultTypeInternal _TournamentPlayer_default_instance_; -PROTOBUF_CONSTEXPR TournamentTeam::TournamentTeam( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.players_)*/{} - , /*decltype(_impl_.team_tag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.team_flag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.team_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.team_id_)*/0} {} -struct TournamentTeamDefaultTypeInternal { - PROTOBUF_CONSTEXPR TournamentTeamDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TournamentTeamDefaultTypeInternal() {} - union { - TournamentTeam _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TournamentTeamDefaultTypeInternal _TournamentTeam_default_instance_; -PROTOBUF_CONSTEXPR TournamentEvent::TournamentEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.event_tag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.event_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.event_stage_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.event_id_)*/0 - , /*decltype(_impl_.event_time_start_)*/0u - , /*decltype(_impl_.event_time_end_)*/0u - , /*decltype(_impl_.event_public_)*/0 - , /*decltype(_impl_.event_stage_id_)*/0 - , /*decltype(_impl_.active_section_id_)*/0u} {} -struct TournamentEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR TournamentEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TournamentEventDefaultTypeInternal() {} - union { - TournamentEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TournamentEventDefaultTypeInternal _TournamentEvent_default_instance_; -PROTOBUF_CONSTEXPR GlobalStatistics::GlobalStatistics( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.search_statistics_)*/{} - , /*decltype(_impl_.main_post_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.players_online_)*/0u - , /*decltype(_impl_.servers_online_)*/0u - , /*decltype(_impl_.players_searching_)*/0u - , /*decltype(_impl_.servers_available_)*/0u - , /*decltype(_impl_.ongoing_matches_)*/0u - , /*decltype(_impl_.search_time_avg_)*/0u - , /*decltype(_impl_.required_appid_version_)*/0u - , /*decltype(_impl_.pricesheet_version_)*/0u - , /*decltype(_impl_.twitch_streams_version_)*/0u - , /*decltype(_impl_.active_tournament_eventid_)*/0u - , /*decltype(_impl_.active_survey_id_)*/0u - , /*decltype(_impl_.rtime32_cur_)*/0u - , /*decltype(_impl_.required_appid_version2_)*/0u} {} -struct GlobalStatisticsDefaultTypeInternal { - PROTOBUF_CONSTEXPR GlobalStatisticsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~GlobalStatisticsDefaultTypeInternal() {} - union { - GlobalStatistics _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GlobalStatisticsDefaultTypeInternal _GlobalStatistics_default_instance_; -PROTOBUF_CONSTEXPR OperationalStatisticDescription::OperationalStatisticDescription( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.idkey_)*/0u} {} -struct OperationalStatisticDescriptionDefaultTypeInternal { - PROTOBUF_CONSTEXPR OperationalStatisticDescriptionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~OperationalStatisticDescriptionDefaultTypeInternal() {} - union { - OperationalStatisticDescription _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OperationalStatisticDescriptionDefaultTypeInternal _OperationalStatisticDescription_default_instance_; -PROTOBUF_CONSTEXPR OperationalStatisticElement::OperationalStatisticElement( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.values_)*/{} - , /*decltype(_impl_.idkey_)*/0u} {} -struct OperationalStatisticElementDefaultTypeInternal { - PROTOBUF_CONSTEXPR OperationalStatisticElementDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~OperationalStatisticElementDefaultTypeInternal() {} - union { - OperationalStatisticElement _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OperationalStatisticElementDefaultTypeInternal _OperationalStatisticElement_default_instance_; -PROTOBUF_CONSTEXPR OperationalStatisticsPacket::OperationalStatisticsPacket( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.values_)*/{} - , /*decltype(_impl_.packetid_)*/0 - , /*decltype(_impl_.mstimestamp_)*/0} {} -struct OperationalStatisticsPacketDefaultTypeInternal { - PROTOBUF_CONSTEXPR OperationalStatisticsPacketDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~OperationalStatisticsPacketDefaultTypeInternal() {} - union { - OperationalStatisticsPacket _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OperationalStatisticsPacketDefaultTypeInternal _OperationalStatisticsPacket_default_instance_; -PROTOBUF_CONSTEXPR OperationalVarValue::OperationalVarValue( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.svalue_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ivalue_)*/0 - , /*decltype(_impl_.fvalue_)*/0} {} -struct OperationalVarValueDefaultTypeInternal { - PROTOBUF_CONSTEXPR OperationalVarValueDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~OperationalVarValueDefaultTypeInternal() {} - union { - OperationalVarValue _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OperationalVarValueDefaultTypeInternal _OperationalVarValue_default_instance_; -PROTOBUF_CONSTEXPR PlayerRankingInfo_PerMapRank::PlayerRankingInfo_PerMapRank( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.map_id_)*/0u - , /*decltype(_impl_.rank_id_)*/0u - , /*decltype(_impl_.wins_)*/0u} {} -struct PlayerRankingInfo_PerMapRankDefaultTypeInternal { - PROTOBUF_CONSTEXPR PlayerRankingInfo_PerMapRankDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~PlayerRankingInfo_PerMapRankDefaultTypeInternal() {} - union { - PlayerRankingInfo_PerMapRank _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerRankingInfo_PerMapRankDefaultTypeInternal _PlayerRankingInfo_PerMapRank_default_instance_; -PROTOBUF_CONSTEXPR PlayerRankingInfo::PlayerRankingInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.per_map_rank_)*/{} - , /*decltype(_impl_.leaderboard_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.rank_id_)*/0u - , /*decltype(_impl_.wins_)*/0u - , /*decltype(_impl_.rank_change_)*/0 - , /*decltype(_impl_.rank_type_id_)*/0u - , /*decltype(_impl_.tv_control_)*/0u - , /*decltype(_impl_.rank_window_stats_)*/uint64_t{0u} - , /*decltype(_impl_.rank_if_win_)*/0u - , /*decltype(_impl_.rank_if_lose_)*/0u - , /*decltype(_impl_.rank_if_tie_)*/0u - , /*decltype(_impl_.leaderboard_name_status_)*/0u - , /*decltype(_impl_.highest_rank_)*/0u - , /*decltype(_impl_.rank_expiry_)*/0u} {} -struct PlayerRankingInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR PlayerRankingInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~PlayerRankingInfoDefaultTypeInternal() {} - union { - PlayerRankingInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerRankingInfoDefaultTypeInternal _PlayerRankingInfo_default_instance_; -PROTOBUF_CONSTEXPR PlayerCommendationInfo::PlayerCommendationInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.cmd_friendly_)*/0u - , /*decltype(_impl_.cmd_teaching_)*/0u - , /*decltype(_impl_.cmd_leader_)*/0u} {} -struct PlayerCommendationInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR PlayerCommendationInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~PlayerCommendationInfoDefaultTypeInternal() {} - union { - PlayerCommendationInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerCommendationInfoDefaultTypeInternal _PlayerCommendationInfo_default_instance_; -PROTOBUF_CONSTEXPR PlayerMedalsInfo::PlayerMedalsInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.display_items_defidx_)*/{} - , /*decltype(_impl_.featured_display_item_defidx_)*/0u} {} -struct PlayerMedalsInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR PlayerMedalsInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~PlayerMedalsInfoDefaultTypeInternal() {} - union { - PlayerMedalsInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerMedalsInfoDefaultTypeInternal _PlayerMedalsInfo_default_instance_; -PROTOBUF_CONSTEXPR AccountActivity::AccountActivity( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.activity_)*/0u - , /*decltype(_impl_.mode_)*/0u - , /*decltype(_impl_.matchid_)*/uint64_t{0u} - , /*decltype(_impl_.map_)*/0u} {} -struct AccountActivityDefaultTypeInternal { - PROTOBUF_CONSTEXPR AccountActivityDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~AccountActivityDefaultTypeInternal() {} - union { - AccountActivity _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AccountActivityDefaultTypeInternal _AccountActivity_default_instance_; -PROTOBUF_CONSTEXPR TournamentMatchSetup::TournamentMatchSetup( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.event_id_)*/0 - , /*decltype(_impl_.team_id_ct_)*/0 - , /*decltype(_impl_.team_id_t_)*/0 - , /*decltype(_impl_.event_stage_id_)*/0} {} -struct TournamentMatchSetupDefaultTypeInternal { - PROTOBUF_CONSTEXPR TournamentMatchSetupDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~TournamentMatchSetupDefaultTypeInternal() {} - union { - TournamentMatchSetup _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TournamentMatchSetupDefaultTypeInternal _TournamentMatchSetup_default_instance_; -PROTOBUF_CONSTEXPR ServerHltvInfo::ServerHltvInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.game_mapgroup_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.game_map_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.tv_watch_key_)*/uint64_t{0u} - , /*decltype(_impl_.tv_udp_port_)*/0u - , /*decltype(_impl_.tv_slots_)*/0u - , /*decltype(_impl_.tv_clients_)*/0u - , /*decltype(_impl_.tv_proxies_)*/0u - , /*decltype(_impl_.tv_time_)*/0u - , /*decltype(_impl_.game_type_)*/0u - , /*decltype(_impl_.tv_master_steamid_)*/uint64_t{0u} - , /*decltype(_impl_.tv_local_slots_)*/0u - , /*decltype(_impl_.tv_local_clients_)*/0u - , /*decltype(_impl_.tv_local_proxies_)*/0u - , /*decltype(_impl_.tv_relay_slots_)*/0u - , /*decltype(_impl_.tv_relay_clients_)*/0u - , /*decltype(_impl_.tv_relay_proxies_)*/0u - , /*decltype(_impl_.tv_relay_address_)*/0u - , /*decltype(_impl_.tv_relay_port_)*/0u - , /*decltype(_impl_.tv_relay_steamid_)*/uint64_t{0u} - , /*decltype(_impl_.flags_)*/0u} {} -struct ServerHltvInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR ServerHltvInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ServerHltvInfoDefaultTypeInternal() {} - union { - ServerHltvInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ServerHltvInfoDefaultTypeInternal _ServerHltvInfo_default_instance_; -PROTOBUF_CONSTEXPR IpAddressMask::IpAddressMask( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.a_)*/0u - , /*decltype(_impl_.b_)*/0u - , /*decltype(_impl_.c_)*/0u - , /*decltype(_impl_.d_)*/0u - , /*decltype(_impl_.bits_)*/0u - , /*decltype(_impl_.token_)*/0u} {} -struct IpAddressMaskDefaultTypeInternal { - PROTOBUF_CONSTEXPR IpAddressMaskDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~IpAddressMaskDefaultTypeInternal() {} - union { - IpAddressMask _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IpAddressMaskDefaultTypeInternal _IpAddressMask_default_instance_; -PROTOBUF_CONSTEXPR CMsgCsgoSteamUserStatChange::CMsgCsgoSteamUserStatChange( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ecsgosteamuserstat_)*/0 - , /*decltype(_impl_.delta_)*/0 - , /*decltype(_impl_.absolute_)*/false} {} -struct CMsgCsgoSteamUserStatChangeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgCsgoSteamUserStatChangeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgCsgoSteamUserStatChangeDefaultTypeInternal() {} - union { - CMsgCsgoSteamUserStatChange _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgCsgoSteamUserStatChangeDefaultTypeInternal _CMsgCsgoSteamUserStatChange_default_instance_; -PROTOBUF_CONSTEXPR XpProgressData::XpProgressData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.xp_points_)*/0u - , /*decltype(_impl_.xp_category_)*/0} {} -struct XpProgressDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR XpProgressDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~XpProgressDataDefaultTypeInternal() {} - union { - XpProgressData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 XpProgressDataDefaultTypeInternal _XpProgressData_default_instance_; -PROTOBUF_CONSTEXPR MatchEndItemUpdates::MatchEndItemUpdates( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.item_id_)*/uint64_t{0u} - , /*decltype(_impl_.item_attr_defidx_)*/0u - , /*decltype(_impl_.item_attr_delta_value_)*/0u} {} -struct MatchEndItemUpdatesDefaultTypeInternal { - PROTOBUF_CONSTEXPR MatchEndItemUpdatesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~MatchEndItemUpdatesDefaultTypeInternal() {} - union { - MatchEndItemUpdates _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchEndItemUpdatesDefaultTypeInternal _MatchEndItemUpdates_default_instance_; -PROTOBUF_CONSTEXPR ScoreLeaderboardData_Entry::ScoreLeaderboardData_Entry( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.tag_)*/0u - , /*decltype(_impl_.val_)*/0u} {} -struct ScoreLeaderboardData_EntryDefaultTypeInternal { - PROTOBUF_CONSTEXPR ScoreLeaderboardData_EntryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ScoreLeaderboardData_EntryDefaultTypeInternal() {} - union { - ScoreLeaderboardData_Entry _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScoreLeaderboardData_EntryDefaultTypeInternal _ScoreLeaderboardData_Entry_default_instance_; -PROTOBUF_CONSTEXPR ScoreLeaderboardData_AccountEntries::ScoreLeaderboardData_AccountEntries( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.entries_)*/{} - , /*decltype(_impl_.accountid_)*/0u} {} -struct ScoreLeaderboardData_AccountEntriesDefaultTypeInternal { - PROTOBUF_CONSTEXPR ScoreLeaderboardData_AccountEntriesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ScoreLeaderboardData_AccountEntriesDefaultTypeInternal() {} - union { - ScoreLeaderboardData_AccountEntries _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScoreLeaderboardData_AccountEntriesDefaultTypeInternal _ScoreLeaderboardData_AccountEntries_default_instance_; -PROTOBUF_CONSTEXPR ScoreLeaderboardData::ScoreLeaderboardData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.accountentries_)*/{} - , /*decltype(_impl_.matchentries_)*/{} - , /*decltype(_impl_.leaderboard_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.quest_id_)*/uint64_t{0u} - , /*decltype(_impl_.score_)*/0u} {} -struct ScoreLeaderboardDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR ScoreLeaderboardDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ScoreLeaderboardDataDefaultTypeInternal() {} - union { - ScoreLeaderboardData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScoreLeaderboardDataDefaultTypeInternal _ScoreLeaderboardData_default_instance_; -PROTOBUF_CONSTEXPR PlayerQuestData_QuestItemData::PlayerQuestData_QuestItemData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.quest_normal_points_required_)*/{} - , /*decltype(_impl_.quest_reward_xp_)*/{} - , /*decltype(_impl_.quest_id_)*/uint64_t{0u} - , /*decltype(_impl_.quest_normal_points_earned_)*/0 - , /*decltype(_impl_.quest_bonus_points_earned_)*/0 - , /*decltype(_impl_.quest_period_)*/0 - , /*decltype(_impl_.quest_type_)*/1} {} -struct PlayerQuestData_QuestItemDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR PlayerQuestData_QuestItemDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~PlayerQuestData_QuestItemDataDefaultTypeInternal() {} - union { - PlayerQuestData_QuestItemData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerQuestData_QuestItemDataDefaultTypeInternal _PlayerQuestData_QuestItemData_default_instance_; -PROTOBUF_CONSTEXPR PlayerQuestData::PlayerQuestData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.quest_item_data_)*/{} - , /*decltype(_impl_.xp_progress_data_)*/{} - , /*decltype(_impl_.item_updates_)*/{} - , /*decltype(_impl_.userstatchanges_)*/{} - , /*decltype(_impl_.quester_account_id_)*/0u - , /*decltype(_impl_.time_played_)*/0u - , /*decltype(_impl_.mm_game_mode_)*/0u - , /*decltype(_impl_.operation_points_eligible_)*/false} {} -struct PlayerQuestDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR PlayerQuestDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~PlayerQuestDataDefaultTypeInternal() {} - union { - PlayerQuestData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerQuestDataDefaultTypeInternal _PlayerQuestData_default_instance_; -PROTOBUF_CONSTEXPR DeepPlayerStatsEntry::DeepPlayerStatsEntry( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.mates_)*/{} - , /*decltype(_impl_.match_id_)*/uint64_t{0u} - , /*decltype(_impl_.accountid_)*/0u - , /*decltype(_impl_.mm_game_mode_)*/0u - , /*decltype(_impl_.mapid_)*/0u - , /*decltype(_impl_.b_starting_ct_)*/false - , /*decltype(_impl_.match_outcome_)*/0u - , /*decltype(_impl_.rounds_won_)*/0u - , /*decltype(_impl_.rounds_lost_)*/0u - , /*decltype(_impl_.stat_score_)*/0u - , /*decltype(_impl_.stat_deaths_)*/0u - , /*decltype(_impl_.stat_mvps_)*/0u - , /*decltype(_impl_.enemy_kills_)*/0u - , /*decltype(_impl_.enemy_headshots_)*/0u - , /*decltype(_impl_.enemy_2ks_)*/0u - , /*decltype(_impl_.enemy_3ks_)*/0u - , /*decltype(_impl_.enemy_4ks_)*/0u - , /*decltype(_impl_.total_damage_)*/0u - , /*decltype(_impl_.engagements_entry_count_)*/0u - , /*decltype(_impl_.engagements_entry_wins_)*/0u - , /*decltype(_impl_.engagements_1v1_count_)*/0u - , /*decltype(_impl_.engagements_1v1_wins_)*/0u - , /*decltype(_impl_.engagements_1v2_count_)*/0u - , /*decltype(_impl_.engagements_1v2_wins_)*/0u - , /*decltype(_impl_.utility_count_)*/0u - , /*decltype(_impl_.utility_success_)*/0u - , /*decltype(_impl_.flash_count_)*/0u - , /*decltype(_impl_.flash_success_)*/0u} {} -struct DeepPlayerStatsEntryDefaultTypeInternal { - PROTOBUF_CONSTEXPR DeepPlayerStatsEntryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~DeepPlayerStatsEntryDefaultTypeInternal() {} - union { - DeepPlayerStatsEntry _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeepPlayerStatsEntryDefaultTypeInternal _DeepPlayerStatsEntry_default_instance_; -PROTOBUF_CONSTEXPR DeepPlayerMatchEvent::DeepPlayerMatchEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.match_id_)*/uint64_t{0u} - , /*decltype(_impl_.accountid_)*/0u - , /*decltype(_impl_.event_id_)*/0u - , /*decltype(_impl_.event_type_)*/0u - , /*decltype(_impl_.b_playing_ct_)*/false - , /*decltype(_impl_.user_pos_x_)*/0 - , /*decltype(_impl_.user_pos_y_)*/0 - , /*decltype(_impl_.user_defidx_)*/0u - , /*decltype(_impl_.other_pos_x_)*/0 - , /*decltype(_impl_.other_pos_y_)*/0 - , /*decltype(_impl_.other_defidx_)*/0u - , /*decltype(_impl_.user_pos_z_)*/0 - , /*decltype(_impl_.other_pos_z_)*/0 - , /*decltype(_impl_.event_data_)*/0} {} -struct DeepPlayerMatchEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR DeepPlayerMatchEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~DeepPlayerMatchEventDefaultTypeInternal() {} - union { - DeepPlayerMatchEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeepPlayerMatchEventDefaultTypeInternal _DeepPlayerMatchEvent_default_instance_; -PROTOBUF_CONSTEXPR CMsgGC_ServerQuestUpdateData::CMsgGC_ServerQuestUpdateData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.player_quest_data_)*/{} - , /*decltype(_impl_.binary_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.missionlbsdata_)*/nullptr - , /*decltype(_impl_.mm_game_mode_)*/0u - , /*decltype(_impl_.flags_)*/0u} {} -struct CMsgGC_ServerQuestUpdateDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGC_ServerQuestUpdateDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGC_ServerQuestUpdateDataDefaultTypeInternal() {} - union { - CMsgGC_ServerQuestUpdateData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGC_ServerQuestUpdateDataDefaultTypeInternal _CMsgGC_ServerQuestUpdateData_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.token_)*/0u - , /*decltype(_impl_.stamp_)*/0u - , /*decltype(_impl_.exchange_)*/uint64_t{0u} - , /*decltype(_impl_.retry_)*/0u} {} -struct CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirmDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirmDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirmDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirmDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ServerReservationUpdate::CMsgGCCStrike15_v2_GC2ServerReservationUpdate( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.viewers_external_total_)*/0u - , /*decltype(_impl_.viewers_external_steam_)*/0u} {} -struct CMsgGCCStrike15_v2_GC2ServerReservationUpdateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ServerReservationUpdateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_GC2ServerReservationUpdateDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_GC2ServerReservationUpdate _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GC2ServerReservationUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ServerReservationUpdate_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingStart::CMsgGCCStrike15_v2_MatchmakingStart( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.account_ids_)*/{} - , /*decltype(_impl_.ticket_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.tournament_match_)*/nullptr - , /*decltype(_impl_.game_type_)*/0u - , /*decltype(_impl_.client_version_)*/0u - , /*decltype(_impl_.prime_only_)*/false - , /*decltype(_impl_.tv_control_)*/0u - , /*decltype(_impl_.lobby_id_)*/uint64_t{0u}} {} -struct CMsgGCCStrike15_v2_MatchmakingStartDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingStartDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchmakingStartDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchmakingStart _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingStartDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingStart_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingStop::CMsgGCCStrike15_v2_MatchmakingStop( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.abandon_)*/0} {} -struct CMsgGCCStrike15_v2_MatchmakingStopDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingStopDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchmakingStopDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchmakingStop _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingStopDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingStop_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.type_)*/0 - , /*decltype(_impl_.region_id_)*/0 - , /*decltype(_impl_.region_r_)*/0 - , /*decltype(_impl_.distance_)*/0} {} -struct CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_NoteDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_NoteDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_NoteDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_NoteDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.gameserverpings_)*/{} - , /*decltype(_impl_.data_center_pings_)*/{} - , /*decltype(_impl_.notes_)*/{} - , /*decltype(_impl_.search_key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.debug_message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.offset_index_)*/0 - , /*decltype(_impl_.final_batch_)*/0 - , /*decltype(_impl_.max_ping_)*/0u - , /*decltype(_impl_.test_token_)*/0u} {} -struct CMsgGCCStrike15_v2_MatchmakingClient2ServerPingDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingClient2ServerPingDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchmakingClient2ServerPingDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchmakingClient2ServerPing _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingClient2ServerPingDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingClient2ServerPing_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.waiting_account_id_sessions_)*/{} - , /*decltype(_impl_.ongoingmatch_account_id_sessions_)*/{} - , /*decltype(_impl_.failping_account_id_sessions_)*/{} - , /*decltype(_impl_.penalty_account_id_sessions_)*/{} - , /*decltype(_impl_.failready_account_id_sessions_)*/{} - , /*decltype(_impl_.vacbanned_account_id_sessions_)*/{} - , /*decltype(_impl_.notes_)*/{} - , /*decltype(_impl_.penalty_account_id_sessions_green_)*/{} - , /*decltype(_impl_.insufficientlevel_sessions_)*/{} - , /*decltype(_impl_.vsncheck_account_id_sessions_)*/{} - , /*decltype(_impl_.launcher_mismatch_sessions_)*/{} - , /*decltype(_impl_.insecure_account_id_sessions_)*/{} - , /*decltype(_impl_.error_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.global_stats_)*/nullptr - , /*decltype(_impl_.server_ipaddress_mask_)*/nullptr - , /*decltype(_impl_.matchmaking_)*/0} {} -struct CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdateDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_default_instance_; -PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentMatchDraft_Entry::CDataGCCStrike15_v2_TournamentMatchDraft_Entry( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.mapid_)*/0 - , /*decltype(_impl_.team_id_ct_)*/0} {} -struct CDataGCCStrike15_v2_TournamentMatchDraft_EntryDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentMatchDraft_EntryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDataGCCStrike15_v2_TournamentMatchDraft_EntryDefaultTypeInternal() {} - union { - CDataGCCStrike15_v2_TournamentMatchDraft_Entry _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDataGCCStrike15_v2_TournamentMatchDraft_EntryDefaultTypeInternal _CDataGCCStrike15_v2_TournamentMatchDraft_Entry_default_instance_; -PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentMatchDraft::CDataGCCStrike15_v2_TournamentMatchDraft( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.drafts_)*/{} - , /*decltype(_impl_.vote_mapid_0_)*/{} - , /*decltype(_impl_.vote_mapid_1_)*/{} - , /*decltype(_impl_.vote_mapid_2_)*/{} - , /*decltype(_impl_.vote_mapid_3_)*/{} - , /*decltype(_impl_.vote_mapid_4_)*/{} - , /*decltype(_impl_.vote_mapid_5_)*/{} - , /*decltype(_impl_.vote_starting_side_)*/{} - , /*decltype(_impl_.event_id_)*/0 - , /*decltype(_impl_.event_stage_id_)*/0 - , /*decltype(_impl_.team_id_0_)*/0 - , /*decltype(_impl_.team_id_1_)*/0 - , /*decltype(_impl_.maps_count_)*/0 - , /*decltype(_impl_.maps_current_)*/0 - , /*decltype(_impl_.team_id_start_)*/0 - , /*decltype(_impl_.team_id_veto1_)*/0 - , /*decltype(_impl_.team_id_pickn_)*/0 - , /*decltype(_impl_.vote_phase_)*/0 - , /*decltype(_impl_.vote_phase_start_)*/0 - , /*decltype(_impl_.vote_phase_length_)*/0} {} -struct CDataGCCStrike15_v2_TournamentMatchDraftDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentMatchDraftDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDataGCCStrike15_v2_TournamentMatchDraftDefaultTypeInternal() {} - union { - CDataGCCStrike15_v2_TournamentMatchDraft _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDataGCCStrike15_v2_TournamentMatchDraftDefaultTypeInternal _CDataGCCStrike15_v2_TournamentMatchDraft_default_instance_; -PROTOBUF_CONSTEXPR CPreMatchInfoData_TeamStats::CPreMatchInfoData_TeamStats( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.match_info_teams_)*/{} - , /*decltype(_impl_.match_info_txt_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.match_info_idxtxt_)*/0} {} -struct CPreMatchInfoData_TeamStatsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPreMatchInfoData_TeamStatsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPreMatchInfoData_TeamStatsDefaultTypeInternal() {} - union { - CPreMatchInfoData_TeamStats _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPreMatchInfoData_TeamStatsDefaultTypeInternal _CPreMatchInfoData_TeamStats_default_instance_; -PROTOBUF_CONSTEXPR CPreMatchInfoData::CPreMatchInfoData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.stats_)*/{} - , /*decltype(_impl_.wins_)*/{} - , /*decltype(_impl_.draft_)*/nullptr - , /*decltype(_impl_.predictions_pct_)*/0} {} -struct CPreMatchInfoDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPreMatchInfoDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPreMatchInfoDataDefaultTypeInternal() {} - union { - CPreMatchInfoData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPreMatchInfoDataDefaultTypeInternal _CPreMatchInfoData_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.account_ids_)*/{} - , /*decltype(_impl_.rankings_)*/{} - , /*decltype(_impl_.party_ids_)*/{} - , /*decltype(_impl_.whitelist_)*/{} - , /*decltype(_impl_.tournament_teams_)*/{} - , /*decltype(_impl_.tournament_casters_account_ids_)*/{} - , /*decltype(_impl_.op_var_values_)*/{} - , /*decltype(_impl_.teammate_colors_)*/{} - , /*decltype(_impl_.tournament_event_)*/nullptr - , /*decltype(_impl_.pre_match_data_)*/nullptr - , /*decltype(_impl_.match_id_)*/uint64_t{0u} - , /*decltype(_impl_.game_type_)*/0u - , /*decltype(_impl_.server_version_)*/0u - , /*decltype(_impl_.encryption_key_)*/uint64_t{0u} - , /*decltype(_impl_.encryption_key_pub_)*/uint64_t{0u} - , /*decltype(_impl_.tv_master_steamid_)*/uint64_t{0u} - , /*decltype(_impl_.tv_relay_steamid_)*/uint64_t{0u} - , /*decltype(_impl_.tv_control_)*/0u - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.socache_control_)*/0u - , /*decltype(_impl_.match_id_additional_)*/0u} {} -struct CMsgGCCStrike15_v2_MatchmakingGC2ServerReserveDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ServerReserveDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchmakingGC2ServerReserveDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingGC2ServerReserveDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.reward_player_accounts_)*/{} - , /*decltype(_impl_.idle_player_accounts_)*/{} - , /*decltype(_impl_.map_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.tournament_tag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.reservation_)*/nullptr - , /*decltype(_impl_.tv_info_)*/nullptr - , /*decltype(_impl_.reservationid_)*/uint64_t{0u} - , /*decltype(_impl_.gc_reservation_sent_)*/uint64_t{0u} - , /*decltype(_impl_.server_version_)*/0u - , /*decltype(_impl_.reward_item_attr_def_idx_)*/0u - , /*decltype(_impl_.reward_item_attr_value_)*/0u - , /*decltype(_impl_.reward_item_attr_reward_idx_)*/0u - , /*decltype(_impl_.reward_drop_list_)*/0u - , /*decltype(_impl_.legacy_steamdatagram_port_)*/0u - , /*decltype(_impl_.test_token_)*/0u - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.steamdatagram_routing_)*/0u - , /*decltype(_impl_.system_load_)*/0u - , /*decltype(_impl_.cpus_online_)*/0u} {} -struct CMsgGCCStrike15_v2_MatchmakingServerReservationResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingServerReservationResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchmakingServerReservationResponseDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchmakingServerReservationResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingServerReservationResponseDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingServerReservationResponse_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.map_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.server_address_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.reservation_)*/nullptr - , /*decltype(_impl_.gs_ping_)*/nullptr - , /*decltype(_impl_.serverid_)*/uint64_t{0u} - , /*decltype(_impl_.direct_udp_ip_)*/0u - , /*decltype(_impl_.direct_udp_port_)*/0u - , /*decltype(_impl_.reservationid_)*/uint64_t{0u} - , /*decltype(_impl_.gs_location_id_)*/0u} {} -struct CMsgGCCStrike15_v2_MatchmakingGC2ClientReserveDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientReserveDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchmakingGC2ClientReserveDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingGC2ClientReserveDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.account_mvp_)*/0u} {} -struct CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfoDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfoDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingServerRoundStats::CMsgGCCStrike15_v2_MatchmakingServerRoundStats( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.kills_)*/{} - , /*decltype(_impl_.assists_)*/{} - , /*decltype(_impl_.deaths_)*/{} - , /*decltype(_impl_.scores_)*/{} - , /*decltype(_impl_.pings_)*/{} - , /*decltype(_impl_.team_scores_)*/{} - , /*decltype(_impl_.enemy_kills_)*/{} - , /*decltype(_impl_.enemy_headshots_)*/{} - , /*decltype(_impl_.enemy_3ks_)*/{} - , /*decltype(_impl_.enemy_4ks_)*/{} - , /*decltype(_impl_.enemy_5ks_)*/{} - , /*decltype(_impl_.mvps_)*/{} - , /*decltype(_impl_.enemy_kills_agg_)*/{} - , /*decltype(_impl_.enemy_2ks_)*/{} - , /*decltype(_impl_.player_spawned_)*/{} - , /*decltype(_impl_.team_spawn_count_)*/{} - , /*decltype(_impl_.map_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.reservation_)*/nullptr - , /*decltype(_impl_.confirm_)*/nullptr - , /*decltype(_impl_.drop_info_)*/nullptr - , /*decltype(_impl_.reservationid_)*/uint64_t{0u} - , /*decltype(_impl_.round_)*/0 - , /*decltype(_impl_.round_result_)*/0 - , /*decltype(_impl_.match_result_)*/0 - , /*decltype(_impl_.reservation_stage_)*/0 - , /*decltype(_impl_.match_duration_)*/0 - , /*decltype(_impl_.spectators_count_)*/0u - , /*decltype(_impl_.spectators_count_tv_)*/0u - , /*decltype(_impl_.spectators_count_lnk_)*/0u - , /*decltype(_impl_.b_switched_teams_)*/false - , /*decltype(_impl_.max_rounds_)*/0u - , /*decltype(_impl_.map_id_)*/0} {} -struct CMsgGCCStrike15_v2_MatchmakingServerRoundStatsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingServerRoundStatsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchmakingServerRoundStatsDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchmakingServerRoundStats _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingServerRoundStatsDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingServerRoundStats_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingClient2GCHello::CMsgGCCStrike15_v2_MatchmakingClient2GCHello( - ::_pbi::ConstantInitialized) {} -struct CMsgGCCStrike15_v2_MatchmakingClient2GCHelloDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingClient2GCHelloDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchmakingClient2GCHelloDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchmakingClient2GCHello _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingClient2GCHelloDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingClient2GCHello_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.my_current_event_teams_)*/{} - , /*decltype(_impl_.my_current_event_stages_)*/{} - , /*decltype(_impl_.rankings_)*/{} - , /*decltype(_impl_.ongoingmatch_)*/nullptr - , /*decltype(_impl_.global_stats_)*/nullptr - , /*decltype(_impl_.ranking_)*/nullptr - , /*decltype(_impl_.commendation_)*/nullptr - , /*decltype(_impl_.medals_)*/nullptr - , /*decltype(_impl_.my_current_event_)*/nullptr - , /*decltype(_impl_.my_current_team_)*/nullptr - , /*decltype(_impl_.activity_)*/nullptr - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.penalty_seconds_)*/0u - , /*decltype(_impl_.penalty_reason_)*/0u - , /*decltype(_impl_.vac_banned_)*/0 - , /*decltype(_impl_.survey_vote_)*/0u - , /*decltype(_impl_.player_level_)*/0 - , /*decltype(_impl_.player_cur_xp_)*/0 - , /*decltype(_impl_.player_xp_bonus_flags_)*/0 - , /*decltype(_impl_.owcaseid_)*/uint64_t{0u}} {} -struct CMsgGCCStrike15_v2_MatchmakingGC2ClientHelloDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientHelloDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchmakingGC2ClientHelloDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchmakingGC2ClientHello _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingGC2ClientHelloDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientHello_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.setting_type_)*/0u - , /*decltype(_impl_.setting_value_)*/0u} {} -struct CMsgGCCStrike15_v2_AccountPrivacySettings_SettingDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_AccountPrivacySettings_SettingDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_AccountPrivacySettings_SettingDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_AccountPrivacySettings_Setting _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_AccountPrivacySettings_SettingDefaultTypeInternal _CMsgGCCStrike15_v2_AccountPrivacySettings_Setting_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_AccountPrivacySettings::CMsgGCCStrike15_v2_AccountPrivacySettings( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.settings_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CMsgGCCStrike15_v2_AccountPrivacySettingsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_AccountPrivacySettingsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_AccountPrivacySettingsDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_AccountPrivacySettings _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_AccountPrivacySettingsDefaultTypeInternal _CMsgGCCStrike15_v2_AccountPrivacySettings_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.abandoned_match_)*/nullptr - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.penalty_seconds_)*/0u - , /*decltype(_impl_.penalty_reason_)*/0u} {} -struct CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandonDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandonDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandonDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandonDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientGCRankUpdate::CMsgGCCStrike15_v2_ClientGCRankUpdate( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.rankings_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CMsgGCCStrike15_v2_ClientGCRankUpdateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientGCRankUpdateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientGCRankUpdateDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientGCRankUpdate _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientGCRankUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_ClientGCRankUpdate_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.main_post_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdateDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.reason_)*/0u - , /*decltype(_impl_.seconds_)*/0u - , /*decltype(_impl_.communication_cooldown_)*/false} {} -struct CMsgGCCStrike15_v2_ServerNotificationForUserPenaltyDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ServerNotificationForUserPenaltyDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ServerNotificationForUserPenaltyDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ServerNotificationForUserPenalty _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ServerNotificationForUserPenaltyDefaultTypeInternal _CMsgGCCStrike15_v2_ServerNotificationForUserPenalty_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportPlayer::CMsgGCCStrike15_v2_ClientReportPlayer( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.rpt_aimbot_)*/0u - , /*decltype(_impl_.rpt_wallhack_)*/0u - , /*decltype(_impl_.rpt_speedhack_)*/0u - , /*decltype(_impl_.rpt_teamharm_)*/0u - , /*decltype(_impl_.rpt_textabuse_)*/0u - , /*decltype(_impl_.match_id_)*/uint64_t{0u} - , /*decltype(_impl_.rpt_voiceabuse_)*/0u - , /*decltype(_impl_.report_from_demo_)*/false} {} -struct CMsgGCCStrike15_v2_ClientReportPlayerDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportPlayerDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientReportPlayerDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientReportPlayer _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientReportPlayerDefaultTypeInternal _CMsgGCCStrike15_v2_ClientReportPlayer_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientCommendPlayer::CMsgGCCStrike15_v2_ClientCommendPlayer( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.commendation_)*/nullptr - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.tokens_)*/0u - , /*decltype(_impl_.match_id_)*/uint64_t{0u}} {} -struct CMsgGCCStrike15_v2_ClientCommendPlayerDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientCommendPlayerDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientCommendPlayerDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientCommendPlayer _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientCommendPlayerDefaultTypeInternal _CMsgGCCStrike15_v2_ClientCommendPlayer_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportServer::CMsgGCCStrike15_v2_ClientReportServer( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.rpt_poorperf_)*/0u - , /*decltype(_impl_.rpt_abusivemodels_)*/0u - , /*decltype(_impl_.rpt_badmotd_)*/0u - , /*decltype(_impl_.rpt_listingabuse_)*/0u - , /*decltype(_impl_.match_id_)*/uint64_t{0u} - , /*decltype(_impl_.rpt_inventoryabuse_)*/0u} {} -struct CMsgGCCStrike15_v2_ClientReportServerDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportServerDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientReportServerDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientReportServer _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientReportServerDefaultTypeInternal _CMsgGCCStrike15_v2_ClientReportServer_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportResponse::CMsgGCCStrike15_v2_ClientReportResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.confirmation_id_)*/uint64_t{0u} - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.server_ip_)*/0u - , /*decltype(_impl_.response_type_)*/0u - , /*decltype(_impl_.response_result_)*/0u - , /*decltype(_impl_.tokens_)*/0u} {} -struct CMsgGCCStrike15_v2_ClientReportResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientReportResponseDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientReportResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientReportResponseDefaultTypeInternal _CMsgGCCStrike15_v2_ClientReportResponse_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.account_ids_)*/{} - , /*decltype(_impl_.data_center_pings_)*/{} - , /*decltype(_impl_.serverid_)*/uint64_t{0u} - , /*decltype(_impl_.request_id_)*/0u - , /*decltype(_impl_.client_launcher_)*/0u - , /*decltype(_impl_.matchid_)*/uint64_t{0u}} {} -struct CMsgGCCStrike15_v2_ClientRequestWatchInfoFriendsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestWatchInfoFriendsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientRequestWatchInfoFriendsDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientRequestWatchInfoFriendsDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends_default_instance_; -PROTOBUF_CONSTEXPR WatchableMatchInfo::WatchableMatchInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.tv_watch_password_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.game_mapgroup_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.game_map_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.server_ip_)*/0u - , /*decltype(_impl_.tv_port_)*/0u - , /*decltype(_impl_.tv_spectators_)*/0u - , /*decltype(_impl_.tv_time_)*/0u - , /*decltype(_impl_.cl_decryptdata_key_)*/uint64_t{0u} - , /*decltype(_impl_.cl_decryptdata_key_pub_)*/uint64_t{0u} - , /*decltype(_impl_.server_id_)*/uint64_t{0u} - , /*decltype(_impl_.match_id_)*/uint64_t{0u} - , /*decltype(_impl_.reservation_id_)*/uint64_t{0u} - , /*decltype(_impl_.game_type_)*/0u} {} -struct WatchableMatchInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR WatchableMatchInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~WatchableMatchInfoDefaultTypeInternal() {} - union { - WatchableMatchInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WatchableMatchInfoDefaultTypeInternal _WatchableMatchInfo_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestJoinFriendData::CMsgGCCStrike15_v2_ClientRequestJoinFriendData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.errormsg_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.res_)*/nullptr - , /*decltype(_impl_.version_)*/0u - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.join_token_)*/0u - , /*decltype(_impl_.join_ipp_)*/0u} {} -struct CMsgGCCStrike15_v2_ClientRequestJoinFriendDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestJoinFriendDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientRequestJoinFriendDataDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientRequestJoinFriendData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientRequestJoinFriendDataDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestJoinFriendData_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestJoinServerData::CMsgGCCStrike15_v2_ClientRequestJoinServerData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.errormsg_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.res_)*/nullptr - , /*decltype(_impl_.version_)*/0u - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.serverid_)*/uint64_t{0u} - , /*decltype(_impl_.server_ip_)*/0u - , /*decltype(_impl_.server_port_)*/0u} {} -struct CMsgGCCStrike15_v2_ClientRequestJoinServerDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestJoinServerDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientRequestJoinServerDataDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientRequestJoinServerData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientRequestJoinServerDataDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestJoinServerData_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCstrike15_v2_ClientRedeemMissionReward::CMsgGCCstrike15_v2_ClientRedeemMissionReward( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.campaign_id_)*/0u - , /*decltype(_impl_.redeem_id_)*/0u - , /*decltype(_impl_.redeemable_balance_)*/0u - , /*decltype(_impl_.expected_cost_)*/0u - , /*decltype(_impl_.bid_control_)*/0} {} -struct CMsgGCCstrike15_v2_ClientRedeemMissionRewardDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCstrike15_v2_ClientRedeemMissionRewardDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCstrike15_v2_ClientRedeemMissionRewardDefaultTypeInternal() {} - union { - CMsgGCCstrike15_v2_ClientRedeemMissionReward _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCstrike15_v2_ClientRedeemMissionRewardDefaultTypeInternal _CMsgGCCstrike15_v2_ClientRedeemMissionReward_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCstrike15_v2_ClientRedeemFreeReward::CMsgGCCstrike15_v2_ClientRedeemFreeReward( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.items_)*/{} - , /*decltype(_impl_.generation_time_)*/0u - , /*decltype(_impl_.redeemable_balance_)*/0u} {} -struct CMsgGCCstrike15_v2_ClientRedeemFreeRewardDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCstrike15_v2_ClientRedeemFreeRewardDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCstrike15_v2_ClientRedeemFreeRewardDefaultTypeInternal() {} - union { - CMsgGCCstrike15_v2_ClientRedeemFreeReward _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCstrike15_v2_ClientRedeemFreeRewardDefaultTypeInternal _CMsgGCCstrike15_v2_ClientRedeemFreeReward_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.xp_progress_data_)*/{} - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.current_xp_)*/0u - , /*decltype(_impl_.current_level_)*/0u - , /*decltype(_impl_.upgraded_defidx_)*/0u - , /*decltype(_impl_.operation_points_awarded_)*/0u - , /*decltype(_impl_.free_rewards_)*/0u - , /*decltype(_impl_.xp_trail_remaining_)*/0u - , /*decltype(_impl_.xp_trail_xp_needed_)*/0 - , /*decltype(_impl_.xp_trail_level_)*/0u} {} -struct CMsgGCCstrike15_v2_GC2ServerNotifyXPRewardedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCstrike15_v2_GC2ServerNotifyXPRewardedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCstrike15_v2_GC2ServerNotifyXPRewardedDefaultTypeInternal() {} - union { - CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCstrike15_v2_GC2ServerNotifyXPRewardedDefaultTypeInternal _CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientNetworkConfig::CMsgGCCStrike15_v2_ClientNetworkConfig( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CMsgGCCStrike15_v2_ClientNetworkConfigDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientNetworkConfigDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientNetworkConfigDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientNetworkConfig _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientNetworkConfigDefaultTypeInternal _CMsgGCCStrike15_v2_ClientNetworkConfig_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.begin_)*/0u - , /*decltype(_impl_.end_)*/0u - , /*decltype(_impl_.frozen_)*/false} {} -struct CMsgGCCStrike15_ClientDeepStats_DeepStatsRangeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_ClientDeepStats_DeepStatsRangeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_ClientDeepStats_DeepStatsRangeDefaultTypeInternal() {} - union { - CMsgGCCStrike15_ClientDeepStats_DeepStatsRange _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_ClientDeepStats_DeepStatsRangeDefaultTypeInternal _CMsgGCCStrike15_ClientDeepStats_DeepStatsRange_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.events_)*/{} - , /*decltype(_impl_.player_)*/nullptr} {} -struct CMsgGCCStrike15_ClientDeepStats_DeepStatsMatchDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_ClientDeepStats_DeepStatsMatchDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_ClientDeepStats_DeepStatsMatchDefaultTypeInternal() {} - union { - CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_ClientDeepStats_DeepStatsMatchDefaultTypeInternal _CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_ClientDeepStats::CMsgGCCStrike15_ClientDeepStats( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.matches_)*/{} - , /*decltype(_impl_.range_)*/nullptr - , /*decltype(_impl_.account_id_)*/0u} {} -struct CMsgGCCStrike15_ClientDeepStatsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_ClientDeepStatsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_ClientDeepStatsDefaultTypeInternal() {} - union { - CMsgGCCStrike15_ClientDeepStats _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_ClientDeepStatsDefaultTypeInternal _CMsgGCCStrike15_ClientDeepStats_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_WatchInfoUsers::CMsgGCCStrike15_v2_WatchInfoUsers( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.account_ids_)*/{} - , /*decltype(_impl_.watchable_match_infos_)*/{} - , /*decltype(_impl_.request_id_)*/0u - , /*decltype(_impl_.extended_timeout_)*/0u} {} -struct CMsgGCCStrike15_v2_WatchInfoUsersDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_WatchInfoUsersDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_WatchInfoUsersDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_WatchInfoUsers _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_WatchInfoUsersDefaultTypeInternal _CMsgGCCStrike15_v2_WatchInfoUsers_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestPlayersProfile::CMsgGCCStrike15_v2_ClientRequestPlayersProfile( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.account_ids__deprecated_)*/{} - , /*decltype(_impl_.request_id__deprecated_)*/0u - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.request_level_)*/0u} {} -struct CMsgGCCStrike15_v2_ClientRequestPlayersProfileDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestPlayersProfileDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientRequestPlayersProfileDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientRequestPlayersProfile _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientRequestPlayersProfileDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestPlayersProfile_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayersProfile::CMsgGCCStrike15_v2_PlayersProfile( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.account_profiles_)*/{} - , /*decltype(_impl_.request_id_)*/0u} {} -struct CMsgGCCStrike15_v2_PlayersProfileDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayersProfileDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_PlayersProfileDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_PlayersProfile _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_PlayersProfileDefaultTypeInternal _CMsgGCCStrike15_v2_PlayersProfile_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.week_id_)*/uint64_t{0u} - , /*decltype(_impl_.rank_id_)*/0u - , /*decltype(_impl_.matches_played_)*/0u} {} -struct CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeekDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeekDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeekDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeekDefaultTypeInternal _CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.map_id_)*/0u - , /*decltype(_impl_.wins_)*/0u - , /*decltype(_impl_.ties_)*/0u - , /*decltype(_impl_.losses_)*/0u - , /*decltype(_impl_.rounds_)*/0u - , /*decltype(_impl_.kills_)*/0u - , /*decltype(_impl_.headshots_)*/0u - , /*decltype(_impl_.assists_)*/0u - , /*decltype(_impl_.deaths_)*/0u - , /*decltype(_impl_.mvps_)*/0u - , /*decltype(_impl_.rounds_3k_)*/0u - , /*decltype(_impl_.rounds_4k_)*/0u - , /*decltype(_impl_.rounds_5k_)*/0u} {} -struct CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMapDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMapDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMapDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMapDefaultTypeInternal _CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PremierSeasonSummary::CMsgGCCStrike15_v2_PremierSeasonSummary( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_per_week_)*/{} - , /*decltype(_impl_.data_per_map_)*/{} - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.season_id_)*/0u} {} -struct CMsgGCCStrike15_v2_PremierSeasonSummaryDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PremierSeasonSummaryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_PremierSeasonSummaryDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_PremierSeasonSummary _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_PremierSeasonSummaryDefaultTypeInternal _CMsgGCCStrike15_v2_PremierSeasonSummary_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.caseid_)*/uint64_t{0u} - , /*decltype(_impl_.suspectid_)*/0u - , /*decltype(_impl_.fractionid_)*/0u - , /*decltype(_impl_.rpt_aimbot_)*/0u - , /*decltype(_impl_.rpt_wallhack_)*/0u - , /*decltype(_impl_.rpt_speedhack_)*/0u - , /*decltype(_impl_.rpt_teamharm_)*/0u - , /*decltype(_impl_.reason_)*/0u} {} -struct CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdateDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.caseurl_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.caseid_)*/uint64_t{0u} - , /*decltype(_impl_.verdict_)*/0u - , /*decltype(_impl_.timestamp_)*/0u - , /*decltype(_impl_.throttleseconds_)*/0u - , /*decltype(_impl_.suspectid_)*/0u - , /*decltype(_impl_.fractionid_)*/0u - , /*decltype(_impl_.numrounds_)*/0u - , /*decltype(_impl_.fractionrounds_)*/0u - , /*decltype(_impl_.streakconvictions_)*/0 - , /*decltype(_impl_.reason_)*/0u} {} -struct CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignmentDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignmentDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignmentDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignmentDefaultTypeInternal _CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.caseid_)*/uint64_t{0u} - , /*decltype(_impl_.statusid_)*/0u} {} -struct CMsgGCCStrike15_v2_PlayerOverwatchCaseStatusDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayerOverwatchCaseStatusDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_PlayerOverwatchCaseStatusDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_PlayerOverwatchCaseStatusDefaultTypeInternal _CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus_default_instance_; -PROTOBUF_CONSTEXPR CClientHeaderOverwatchEvidence::CClientHeaderOverwatchEvidence( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.caseid_)*/uint64_t{0u} - , /*decltype(_impl_.accountid_)*/0u} {} -struct CClientHeaderOverwatchEvidenceDefaultTypeInternal { - PROTOBUF_CONSTEXPR CClientHeaderOverwatchEvidenceDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CClientHeaderOverwatchEvidenceDefaultTypeInternal() {} - union { - CClientHeaderOverwatchEvidence _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CClientHeaderOverwatchEvidenceDefaultTypeInternal _CClientHeaderOverwatchEvidence_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientTextMsg::CMsgGCCStrike15_v2_GC2ClientTextMsg( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.payload_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.id_)*/0u - , /*decltype(_impl_.type_)*/0u} {} -struct CMsgGCCStrike15_v2_GC2ClientTextMsgDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientTextMsgDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_GC2ClientTextMsgDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_GC2ClientTextMsg _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GC2ClientTextMsgDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientTextMsg_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCTextMsg::CMsgGCCStrike15_v2_Client2GCTextMsg( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.args_)*/{} - , /*decltype(_impl_.id_)*/0u} {} -struct CMsgGCCStrike15_v2_Client2GCTextMsgDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCTextMsgDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_Client2GCTextMsgDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Client2GCTextMsg _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Client2GCTextMsgDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCTextMsg_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchEndRunRewardDrops::CMsgGCCStrike15_v2_MatchEndRunRewardDrops( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.serverinfo_)*/nullptr - , /*decltype(_impl_.match_end_quest_data_)*/nullptr} {} -struct CMsgGCCStrike15_v2_MatchEndRunRewardDropsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchEndRunRewardDropsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchEndRunRewardDropsDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchEndRunRewardDrops _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchEndRunRewardDropsDefaultTypeInternal _CMsgGCCStrike15_v2_MatchEndRunRewardDrops_default_instance_; -PROTOBUF_CONSTEXPR CEconItemPreviewDataBlock_Sticker::CEconItemPreviewDataBlock_Sticker( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.slot_)*/0u - , /*decltype(_impl_.sticker_id_)*/0u - , /*decltype(_impl_.wear_)*/0 - , /*decltype(_impl_.scale_)*/0 - , /*decltype(_impl_.rotation_)*/0 - , /*decltype(_impl_.tint_id_)*/0u - , /*decltype(_impl_.offset_x_)*/0 - , /*decltype(_impl_.offset_y_)*/0 - , /*decltype(_impl_.offset_z_)*/0 - , /*decltype(_impl_.pattern_)*/0u - , /*decltype(_impl_.highlight_reel_)*/0u} {} -struct CEconItemPreviewDataBlock_StickerDefaultTypeInternal { - PROTOBUF_CONSTEXPR CEconItemPreviewDataBlock_StickerDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CEconItemPreviewDataBlock_StickerDefaultTypeInternal() {} - union { - CEconItemPreviewDataBlock_Sticker _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEconItemPreviewDataBlock_StickerDefaultTypeInternal _CEconItemPreviewDataBlock_Sticker_default_instance_; -PROTOBUF_CONSTEXPR CEconItemPreviewDataBlock::CEconItemPreviewDataBlock( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.stickers_)*/{} - , /*decltype(_impl_.keychains_)*/{} - , /*decltype(_impl_.variations_)*/{} - , /*decltype(_impl_.customname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.itemid_)*/uint64_t{0u} - , /*decltype(_impl_.accountid_)*/0u - , /*decltype(_impl_.defindex_)*/0u - , /*decltype(_impl_.paintindex_)*/0u - , /*decltype(_impl_.rarity_)*/0u - , /*decltype(_impl_.quality_)*/0u - , /*decltype(_impl_.paintwear_)*/0u - , /*decltype(_impl_.paintseed_)*/0u - , /*decltype(_impl_.killeaterscoretype_)*/0u - , /*decltype(_impl_.killeatervalue_)*/0u - , /*decltype(_impl_.inventory_)*/0u - , /*decltype(_impl_.origin_)*/0u - , /*decltype(_impl_.questid_)*/0u - , /*decltype(_impl_.dropreason_)*/0u - , /*decltype(_impl_.musicindex_)*/0u - , /*decltype(_impl_.entindex_)*/0 - , /*decltype(_impl_.petindex_)*/0u - , /*decltype(_impl_.style_)*/0u - , /*decltype(_impl_.upgrade_level_)*/0u} {} -struct CEconItemPreviewDataBlockDefaultTypeInternal { - PROTOBUF_CONSTEXPR CEconItemPreviewDataBlockDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CEconItemPreviewDataBlockDefaultTypeInternal() {} - union { - CEconItemPreviewDataBlock _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEconItemPreviewDataBlockDefaultTypeInternal _CEconItemPreviewDataBlock_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.iteminfo_)*/nullptr} {} -struct CMsgGCCStrike15_v2_MatchEndRewardDropsNotificationDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchEndRewardDropsNotificationDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchEndRewardDropsNotificationDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchEndRewardDropsNotification _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchEndRewardDropsNotificationDefaultTypeInternal _CMsgGCCStrike15_v2_MatchEndRewardDropsNotification_default_instance_; -PROTOBUF_CONSTEXPR CMsgItemAcknowledged::CMsgItemAcknowledged( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.iteminfo_)*/nullptr} {} -struct CMsgItemAcknowledgedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgItemAcknowledgedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgItemAcknowledgedDefaultTypeInternal() {} - union { - CMsgItemAcknowledged _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgItemAcknowledgedDefaultTypeInternal _CMsgItemAcknowledged_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.param_s_)*/uint64_t{0u} - , /*decltype(_impl_.param_a_)*/uint64_t{0u} - , /*decltype(_impl_.param_d_)*/uint64_t{0u} - , /*decltype(_impl_.param_m_)*/uint64_t{0u}} {} -struct CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequestDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequestDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.iteminfo_)*/nullptr} {} -struct CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponseDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponseDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames( - ::_pbi::ConstantInitialized) {} -struct CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGamesDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGamesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGamesDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGamesDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.accountid_)*/0u} {} -struct CMsgGCCStrike15_v2_MatchListRequestLiveGameForUserDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestLiveGameForUserDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchListRequestLiveGameForUserDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchListRequestLiveGameForUserDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.accountid_)*/0u} {} -struct CMsgGCCStrike15_v2_MatchListRequestRecentUserGamesDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestRecentUserGamesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchListRequestRecentUserGamesDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchListRequestRecentUserGames _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchListRequestRecentUserGamesDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestRecentUserGames_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestTournamentGames::CMsgGCCStrike15_v2_MatchListRequestTournamentGames( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.eventid_)*/0} {} -struct CMsgGCCStrike15_v2_MatchListRequestTournamentGamesDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestTournamentGamesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchListRequestTournamentGamesDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchListRequestTournamentGames _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchListRequestTournamentGamesDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestTournamentGames_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.matchid_)*/uint64_t{0u} - , /*decltype(_impl_.outcomeid_)*/uint64_t{0u} - , /*decltype(_impl_.token_)*/0u} {} -struct CMsgGCCStrike15_v2_MatchListRequestFullGameInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestFullGameInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchListRequestFullGameInfoDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchListRequestFullGameInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchListRequestFullGameInfoDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestFullGameInfo_default_instance_; -PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_MatchInfo::CDataGCCStrike15_v2_MatchInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.roundstatsall_)*/{} - , /*decltype(_impl_.watchablematchinfo_)*/nullptr - , /*decltype(_impl_.roundstats_legacy_)*/nullptr - , /*decltype(_impl_.matchid_)*/uint64_t{0u} - , /*decltype(_impl_.matchtime_)*/0u} {} -struct CDataGCCStrike15_v2_MatchInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_MatchInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDataGCCStrike15_v2_MatchInfoDefaultTypeInternal() {} - union { - CDataGCCStrike15_v2_MatchInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDataGCCStrike15_v2_MatchInfoDefaultTypeInternal _CDataGCCStrike15_v2_MatchInfo_default_instance_; -PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentGroupTeam::CDataGCCStrike15_v2_TournamentGroupTeam( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.team_id_)*/0 - , /*decltype(_impl_.score_)*/0 - , /*decltype(_impl_.correctpick_)*/false} {} -struct CDataGCCStrike15_v2_TournamentGroupTeamDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentGroupTeamDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDataGCCStrike15_v2_TournamentGroupTeamDefaultTypeInternal() {} - union { - CDataGCCStrike15_v2_TournamentGroupTeam _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDataGCCStrike15_v2_TournamentGroupTeamDefaultTypeInternal _CDataGCCStrike15_v2_TournamentGroupTeam_default_instance_; -PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentGroup_Picks::CDataGCCStrike15_v2_TournamentGroup_Picks( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.pickids_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CDataGCCStrike15_v2_TournamentGroup_PicksDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentGroup_PicksDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDataGCCStrike15_v2_TournamentGroup_PicksDefaultTypeInternal() {} - union { - CDataGCCStrike15_v2_TournamentGroup_Picks _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDataGCCStrike15_v2_TournamentGroup_PicksDefaultTypeInternal _CDataGCCStrike15_v2_TournamentGroup_Picks_default_instance_; -PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentGroup::CDataGCCStrike15_v2_TournamentGroup( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.teams_)*/{} - , /*decltype(_impl_.stage_ids_)*/{} - , /*decltype(_impl_.picks_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.desc_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.groupid_)*/0u - , /*decltype(_impl_.picks__deprecated_)*/0u - , /*decltype(_impl_.picklockuntiltime_)*/0u - , /*decltype(_impl_.pickableteams_)*/0u - , /*decltype(_impl_.points_per_pick_)*/0u} {} -struct CDataGCCStrike15_v2_TournamentGroupDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentGroupDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDataGCCStrike15_v2_TournamentGroupDefaultTypeInternal() {} - union { - CDataGCCStrike15_v2_TournamentGroup _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDataGCCStrike15_v2_TournamentGroupDefaultTypeInternal _CDataGCCStrike15_v2_TournamentGroup_default_instance_; -PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentSection::CDataGCCStrike15_v2_TournamentSection( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.groups_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.desc_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.sectionid_)*/0u} {} -struct CDataGCCStrike15_v2_TournamentSectionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentSectionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDataGCCStrike15_v2_TournamentSectionDefaultTypeInternal() {} - union { - CDataGCCStrike15_v2_TournamentSection _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDataGCCStrike15_v2_TournamentSectionDefaultTypeInternal _CDataGCCStrike15_v2_TournamentSection_default_instance_; -PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentInfo::CDataGCCStrike15_v2_TournamentInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.sections_)*/{} - , /*decltype(_impl_.tournament_teams_)*/{} - , /*decltype(_impl_.tournament_event_)*/nullptr} {} -struct CDataGCCStrike15_v2_TournamentInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDataGCCStrike15_v2_TournamentInfoDefaultTypeInternal() {} - union { - CDataGCCStrike15_v2_TournamentInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDataGCCStrike15_v2_TournamentInfoDefaultTypeInternal _CDataGCCStrike15_v2_TournamentInfo_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchList::CMsgGCCStrike15_v2_MatchList( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.matches_)*/{} - , /*decltype(_impl_.streams_)*/{} - , /*decltype(_impl_.tournamentinfo_)*/nullptr - , /*decltype(_impl_.msgrequestid_)*/0u - , /*decltype(_impl_.accountid_)*/0u - , /*decltype(_impl_.servertime_)*/0u} {} -struct CMsgGCCStrike15_v2_MatchListDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchListDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchList _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchListDefaultTypeInternal _CMsgGCCStrike15_v2_MatchList_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.matches_)*/{} - , /*decltype(_impl_.eventid_)*/0 - , /*decltype(_impl_.accountid_)*/0u} {} -struct CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmtDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmtDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmtDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmtDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.sectionid_)*/0 - , /*decltype(_impl_.groupid_)*/0 - , /*decltype(_impl_.index_)*/0 - , /*decltype(_impl_.teamid_)*/0 - , /*decltype(_impl_.itemid_)*/uint64_t{0u}} {} -struct CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPickDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPickDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPickDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPickDefaultTypeInternal _CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Predictions::CMsgGCCStrike15_v2_Predictions( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.group_match_team_picks_)*/{} - , /*decltype(_impl_.event_id_)*/0u} {} -struct CMsgGCCStrike15_v2_PredictionsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PredictionsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_PredictionsDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Predictions _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_PredictionsDefaultTypeInternal _CMsgGCCStrike15_v2_Predictions_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Fantasy_FantasySlot::CMsgGCCStrike15_v2_Fantasy_FantasySlot( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.type_)*/0 - , /*decltype(_impl_.pick_)*/0 - , /*decltype(_impl_.itemid_)*/uint64_t{0u}} {} -struct CMsgGCCStrike15_v2_Fantasy_FantasySlotDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Fantasy_FantasySlotDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_Fantasy_FantasySlotDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Fantasy_FantasySlot _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Fantasy_FantasySlotDefaultTypeInternal _CMsgGCCStrike15_v2_Fantasy_FantasySlot_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Fantasy_FantasyTeam::CMsgGCCStrike15_v2_Fantasy_FantasyTeam( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.slots_)*/{} - , /*decltype(_impl_.sectionid_)*/0} {} -struct CMsgGCCStrike15_v2_Fantasy_FantasyTeamDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Fantasy_FantasyTeamDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_Fantasy_FantasyTeamDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Fantasy_FantasyTeam _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Fantasy_FantasyTeamDefaultTypeInternal _CMsgGCCStrike15_v2_Fantasy_FantasyTeam_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Fantasy::CMsgGCCStrike15_v2_Fantasy( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.teams_)*/{} - , /*decltype(_impl_.event_id_)*/0u} {} -struct CMsgGCCStrike15_v2_FantasyDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_FantasyDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_FantasyDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Fantasy _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_FantasyDefaultTypeInternal _CMsgGCCStrike15_v2_Fantasy_default_instance_; -PROTOBUF_CONSTEXPR CAttribute_String::CAttribute_String( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CAttribute_StringDefaultTypeInternal { - PROTOBUF_CONSTEXPR CAttribute_StringDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CAttribute_StringDefaultTypeInternal() {} - union { - CAttribute_String _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CAttribute_StringDefaultTypeInternal _CAttribute_String_default_instance_; -PROTOBUF_CONSTEXPR CMsgLegacySource1ClientWelcome_Location::CMsgLegacySource1ClientWelcome_Location( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.country_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.latitude_)*/0 - , /*decltype(_impl_.longitude_)*/0} {} -struct CMsgLegacySource1ClientWelcome_LocationDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgLegacySource1ClientWelcome_LocationDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgLegacySource1ClientWelcome_LocationDefaultTypeInternal() {} - union { - CMsgLegacySource1ClientWelcome_Location _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgLegacySource1ClientWelcome_LocationDefaultTypeInternal _CMsgLegacySource1ClientWelcome_Location_default_instance_; -PROTOBUF_CONSTEXPR CMsgLegacySource1ClientWelcome::CMsgLegacySource1ClientWelcome( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.outofdate_subscribed_caches_)*/{} - , /*decltype(_impl_.uptodate_subscribed_caches_)*/{} - , /*decltype(_impl_.game_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.game_data2_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.balance_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.txn_country_code_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.location_)*/nullptr - , /*decltype(_impl_.version_)*/0u - , /*decltype(_impl_.rtime32_gc_welcome_timestamp_)*/0u - , /*decltype(_impl_.currency_)*/0u - , /*decltype(_impl_.balance_)*/0u} {} -struct CMsgLegacySource1ClientWelcomeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgLegacySource1ClientWelcomeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgLegacySource1ClientWelcomeDefaultTypeInternal() {} - union { - CMsgLegacySource1ClientWelcome _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgLegacySource1ClientWelcomeDefaultTypeInternal _CMsgLegacySource1ClientWelcome_default_instance_; -PROTOBUF_CONSTEXPR CMsgCStrike15Welcome::CMsgCStrike15Welcome( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.store_item_hash_)*/0u - , /*decltype(_impl_.timeplayedconsecutively_)*/0u - , /*decltype(_impl_.time_first_played_)*/0u - , /*decltype(_impl_.last_time_played_)*/0u - , /*decltype(_impl_.gscookieid_)*/uint64_t{0u} - , /*decltype(_impl_.uniqueid_)*/uint64_t{0u} - , /*decltype(_impl_.last_ip_address_)*/0u} {} -struct CMsgCStrike15WelcomeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgCStrike15WelcomeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgCStrike15WelcomeDefaultTypeInternal() {} - union { - CMsgCStrike15Welcome _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgCStrike15WelcomeDefaultTypeInternal _CMsgCStrike15Welcome_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.choked_blocks_)*/{} - , /*decltype(_impl_.value_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.value_int_)*/0 - , /*decltype(_impl_.server_addr_)*/0u - , /*decltype(_impl_.server_port_)*/0u} {} -struct CMsgGCCStrike15_v2_ClientVarValueNotificationInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientVarValueNotificationInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientVarValueNotificationInfoDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientVarValueNotificationInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientVarValueNotificationInfoDefaultTypeInternal _CMsgGCCStrike15_v2_ClientVarValueNotificationInfo_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.viewangles_)*/{} - , /*decltype(_impl_.userdata_)*/{} - , /*decltype(_impl_.accountid_)*/0u - , /*decltype(_impl_.type_)*/0u} {} -struct CMsgGCCStrike15_v2_ServerVarValueNotificationInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ServerVarValueNotificationInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ServerVarValueNotificationInfoDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ServerVarValueNotificationInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ServerVarValueNotificationInfoDefaultTypeInternal _CMsgGCCStrike15_v2_ServerVarValueNotificationInfo_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GiftsLeaderboardRequest::CMsgGCCStrike15_v2_GiftsLeaderboardRequest( - ::_pbi::ConstantInitialized) {} -struct CMsgGCCStrike15_v2_GiftsLeaderboardRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GiftsLeaderboardRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_GiftsLeaderboardRequestDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_GiftsLeaderboardRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GiftsLeaderboardRequestDefaultTypeInternal _CMsgGCCStrike15_v2_GiftsLeaderboardRequest_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.accountid_)*/0u - , /*decltype(_impl_.gifts_)*/0u} {} -struct CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntryDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntryDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntryDefaultTypeInternal _CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GiftsLeaderboardResponse::CMsgGCCStrike15_v2_GiftsLeaderboardResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.entries_)*/{} - , /*decltype(_impl_.servertime_)*/0u - , /*decltype(_impl_.time_period_seconds_)*/0u - , /*decltype(_impl_.total_gifts_given_)*/0u - , /*decltype(_impl_.total_givers_)*/0u} {} -struct CMsgGCCStrike15_v2_GiftsLeaderboardResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GiftsLeaderboardResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_GiftsLeaderboardResponseDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_GiftsLeaderboardResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GiftsLeaderboardResponseDefaultTypeInternal _CMsgGCCStrike15_v2_GiftsLeaderboardResponse_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientSubmitSurveyVote::CMsgGCCStrike15_v2_ClientSubmitSurveyVote( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.survey_id_)*/0u - , /*decltype(_impl_.vote_)*/0u} {} -struct CMsgGCCStrike15_v2_ClientSubmitSurveyVoteDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientSubmitSurveyVoteDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientSubmitSurveyVoteDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientSubmitSurveyVote _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientSubmitSurveyVoteDefaultTypeInternal _CMsgGCCStrike15_v2_ClientSubmitSurveyVote_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Server2GCClientValidate::CMsgGCCStrike15_v2_Server2GCClientValidate( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.accountid_)*/0u} {} -struct CMsgGCCStrike15_v2_Server2GCClientValidateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Server2GCClientValidateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_Server2GCClientValidateDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Server2GCClientValidate _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Server2GCClientValidateDefaultTypeInternal _CMsgGCCStrike15_v2_Server2GCClientValidate_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientTournamentInfo::CMsgGCCStrike15_v2_GC2ClientTournamentInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.teamids_)*/{} - , /*decltype(_impl_.eventid_)*/0u - , /*decltype(_impl_.stageid_)*/0u - , /*decltype(_impl_.game_type_)*/0u} {} -struct CMsgGCCStrike15_v2_GC2ClientTournamentInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientTournamentInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_GC2ClientTournamentInfoDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_GC2ClientTournamentInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GC2ClientTournamentInfoDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientTournamentInfo_default_instance_; -PROTOBUF_CONSTEXPR CSOEconCoupon::CSOEconCoupon( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.entryid_)*/0u - , /*decltype(_impl_.defidx_)*/0u - , /*decltype(_impl_.expiration_date_)*/0u} {} -struct CSOEconCouponDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOEconCouponDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOEconCouponDefaultTypeInternal() {} - union { - CSOEconCoupon _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOEconCouponDefaultTypeInternal _CSOEconCoupon_default_instance_; -PROTOBUF_CONSTEXPR CSOAccountItemPersonalStore::CSOAccountItemPersonalStore( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.items_)*/{} - , /*decltype(_impl_.generation_time_)*/0u - , /*decltype(_impl_.redeemable_balance_)*/0u} {} -struct CSOAccountItemPersonalStoreDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOAccountItemPersonalStoreDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOAccountItemPersonalStoreDefaultTypeInternal() {} - union { - CSOAccountItemPersonalStore _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOAccountItemPersonalStoreDefaultTypeInternal _CSOAccountItemPersonalStore_default_instance_; -PROTOBUF_CONSTEXPR CSOAccountXpShop::CSOAccountXpShop( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.xp_tracks_)*/{} - , /*decltype(_impl_.generation_time_)*/0u - , /*decltype(_impl_.redeemable_balance_)*/0u} {} -struct CSOAccountXpShopDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOAccountXpShopDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOAccountXpShopDefaultTypeInternal() {} - union { - CSOAccountXpShop _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOAccountXpShopDefaultTypeInternal _CSOAccountXpShop_default_instance_; -PROTOBUF_CONSTEXPR CSOAccountXpShopBids::CSOAccountXpShopBids( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.campaign_id_)*/0u - , /*decltype(_impl_.redeem_id_)*/0u - , /*decltype(_impl_.expected_cost_)*/0u - , /*decltype(_impl_.generation_time_)*/0u} {} -struct CSOAccountXpShopBidsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOAccountXpShopBidsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOAccountXpShopBidsDefaultTypeInternal() {} - union { - CSOAccountXpShopBids _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOAccountXpShopBidsDefaultTypeInternal _CSOAccountXpShopBids_default_instance_; -PROTOBUF_CONSTEXPR CSOVolatileItemOffer::CSOVolatileItemOffer( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.faux_itemid_)*/{} - , /*decltype(_impl_.generation_time_)*/{} - , /*decltype(_impl_.defidx_)*/0u} {} -struct CSOVolatileItemOfferDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOVolatileItemOfferDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOVolatileItemOfferDefaultTypeInternal() {} - union { - CSOVolatileItemOffer _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOVolatileItemOfferDefaultTypeInternal _CSOVolatileItemOffer_default_instance_; -PROTOBUF_CONSTEXPR CSOVolatileItemClaimedRewards::CSOVolatileItemClaimedRewards( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.reward_)*/{} - , /*decltype(_impl_.generation_time_)*/{} - , /*decltype(_impl_.defidx_)*/0u} {} -struct CSOVolatileItemClaimedRewardsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOVolatileItemClaimedRewardsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOVolatileItemClaimedRewardsDefaultTypeInternal() {} - union { - CSOVolatileItemClaimedRewards _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOVolatileItemClaimedRewardsDefaultTypeInternal _CSOVolatileItemClaimedRewards_default_instance_; -PROTOBUF_CONSTEXPR CSOAccountKeychainRemoveToolCharges::CSOAccountKeychainRemoveToolCharges( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.charges_)*/0u} {} -struct CSOAccountKeychainRemoveToolChargesDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOAccountKeychainRemoveToolChargesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOAccountKeychainRemoveToolChargesDefaultTypeInternal() {} - union { - CSOAccountKeychainRemoveToolCharges _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOAccountKeychainRemoveToolChargesDefaultTypeInternal _CSOAccountKeychainRemoveToolCharges_default_instance_; -PROTOBUF_CONSTEXPR CSOQuestProgress::CSOQuestProgress( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.questid_)*/0u - , /*decltype(_impl_.points_remaining_)*/0u - , /*decltype(_impl_.bonus_points_)*/0u} {} -struct CSOQuestProgressDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOQuestProgressDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOQuestProgressDefaultTypeInternal() {} - union { - CSOQuestProgress _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOQuestProgressDefaultTypeInternal _CSOQuestProgress_default_instance_; -PROTOBUF_CONSTEXPR CSOAccountSeasonalOperation::CSOAccountSeasonalOperation( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.season_value_)*/0u - , /*decltype(_impl_.tier_unlocked_)*/0u - , /*decltype(_impl_.premium_tiers_)*/0u - , /*decltype(_impl_.mission_id_)*/0u - , /*decltype(_impl_.missions_completed_)*/0u - , /*decltype(_impl_.redeemable_balance_)*/0u - , /*decltype(_impl_.season_pass_time_)*/0u} {} -struct CSOAccountSeasonalOperationDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOAccountSeasonalOperationDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOAccountSeasonalOperationDefaultTypeInternal() {} - union { - CSOAccountSeasonalOperation _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOAccountSeasonalOperationDefaultTypeInternal _CSOAccountSeasonalOperation_default_instance_; -PROTOBUF_CONSTEXPR CSOAccountRecurringSubscription::CSOAccountRecurringSubscription( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.time_next_cycle_)*/0u - , /*decltype(_impl_.time_initiated_)*/0u} {} -struct CSOAccountRecurringSubscriptionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOAccountRecurringSubscriptionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOAccountRecurringSubscriptionDefaultTypeInternal() {} - union { - CSOAccountRecurringSubscription _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOAccountRecurringSubscriptionDefaultTypeInternal _CSOAccountRecurringSubscription_default_instance_; -PROTOBUF_CONSTEXPR CSOGameAccountSteamChina::CSOGameAccountSteamChina( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.time_last_update_)*/0u - , /*decltype(_impl_.time_comms_ban_)*/0u - , /*decltype(_impl_.time_play_ban_)*/0u} {} -struct CSOGameAccountSteamChinaDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOGameAccountSteamChinaDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOGameAccountSteamChinaDefaultTypeInternal() {} - union { - CSOGameAccountSteamChina _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOGameAccountSteamChinaDefaultTypeInternal _CSOGameAccountSteamChina_default_instance_; -PROTOBUF_CONSTEXPR CSOPersonaDataPublic::CSOPersonaDataPublic( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.commendation_)*/nullptr - , /*decltype(_impl_.player_level_)*/0 - , /*decltype(_impl_.elevated_state_)*/false - , /*decltype(_impl_.xp_trail_timestamp_refresh_)*/0u - , /*decltype(_impl_.xp_trail_level_)*/0u} {} -struct CSOPersonaDataPublicDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOPersonaDataPublicDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOPersonaDataPublicDefaultTypeInternal() {} - union { - CSOPersonaDataPublic _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOPersonaDataPublicDefaultTypeInternal _CSOPersonaDataPublic_default_instance_; -PROTOBUF_CONSTEXPR CSOAccountRecurringMission::CSOAccountRecurringMission( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.mission_id_)*/0u - , /*decltype(_impl_.period_)*/0u - , /*decltype(_impl_.progress_)*/0u} {} -struct CSOAccountRecurringMissionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSOAccountRecurringMissionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSOAccountRecurringMissionDefaultTypeInternal() {} - union { - CSOAccountRecurringMission _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSOAccountRecurringMissionDefaultTypeInternal _CSOAccountRecurringMission_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.prematch_)*/nullptr - , /*decltype(_impl_.postmatch_)*/nullptr - , /*decltype(_impl_.current_xp_)*/0u - , /*decltype(_impl_.current_level_)*/0u} {} -struct CMsgGCCStrike15_v2_GC2ClientNotifyXPShopDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientNotifyXPShopDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_GC2ClientNotifyXPShopDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_GC2ClientNotifyXPShop _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GC2ClientNotifyXPShopDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientNotifyXPShop_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GcAckXPShopTracks::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks( - ::_pbi::ConstantInitialized) {} -struct CMsgGCCStrike15_v2_Client2GcAckXPShopTracksDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GcAckXPShopTracksDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_Client2GcAckXPShopTracksDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Client2GcAckXPShopTracks _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Client2GcAckXPShopTracksDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GcAckXPShopTracks_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.gs_location_id_)*/0u - , /*decltype(_impl_.data_center_id_)*/0u - , /*decltype(_impl_.num_locked_in_)*/0u - , /*decltype(_impl_.num_found_nearby_)*/0u - , /*decltype(_impl_.note_level_)*/0u} {} -struct CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStatsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStatsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStatsDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStatsDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats_default_instance_; -PROTOBUF_CONSTEXPR CMsgGC_GlobalGame_Subscribe::CMsgGC_GlobalGame_Subscribe( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ticket_)*/uint64_t{0u}} {} -struct CMsgGC_GlobalGame_SubscribeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGC_GlobalGame_SubscribeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGC_GlobalGame_SubscribeDefaultTypeInternal() {} - union { - CMsgGC_GlobalGame_Subscribe _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGC_GlobalGame_SubscribeDefaultTypeInternal _CMsgGC_GlobalGame_Subscribe_default_instance_; -PROTOBUF_CONSTEXPR CMsgGC_GlobalGame_Unsubscribe::CMsgGC_GlobalGame_Unsubscribe( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.timeleft_)*/0} {} -struct CMsgGC_GlobalGame_UnsubscribeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGC_GlobalGame_UnsubscribeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGC_GlobalGame_UnsubscribeDefaultTypeInternal() {} - union { - CMsgGC_GlobalGame_Unsubscribe _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGC_GlobalGame_UnsubscribeDefaultTypeInternal _CMsgGC_GlobalGame_Unsubscribe_default_instance_; -PROTOBUF_CONSTEXPR CMsgGC_GlobalGame_Play::CMsgGC_GlobalGame_Play( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ticket_)*/uint64_t{0u} - , /*decltype(_impl_.gametimems_)*/0u - , /*decltype(_impl_.msperpoint_)*/0u} {} -struct CMsgGC_GlobalGame_PlayDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGC_GlobalGame_PlayDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGC_GlobalGame_PlayDefaultTypeInternal() {} - union { - CMsgGC_GlobalGame_Play _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGC_GlobalGame_PlayDefaultTypeInternal _CMsgGC_GlobalGame_Play_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_AcknowledgePenalty::CMsgGCCStrike15_v2_AcknowledgePenalty( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.acknowledged_)*/0} {} -struct CMsgGCCStrike15_v2_AcknowledgePenaltyDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_AcknowledgePenaltyDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_AcknowledgePenaltyDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_AcknowledgePenalty _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_AcknowledgePenaltyDefaultTypeInternal _CMsgGCCStrike15_v2_AcknowledgePenalty_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.upgradeid_)*/uint64_t{0u} - , /*decltype(_impl_.defindex_)*/0u - , /*decltype(_impl_.hours_)*/0u - , /*decltype(_impl_.prestigetime_)*/0u} {} -struct CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoinDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoinDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoinDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoinDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCStreamUnlock::CMsgGCCStrike15_v2_Client2GCStreamUnlock( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ticket_)*/uint64_t{0u} - , /*decltype(_impl_.os_)*/0} {} -struct CMsgGCCStrike15_v2_Client2GCStreamUnlockDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCStreamUnlockDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_Client2GCStreamUnlockDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Client2GCStreamUnlock _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Client2GCStreamUnlockDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCStreamUnlock_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientToGCRequestElevate::CMsgGCCStrike15_v2_ClientToGCRequestElevate( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.stage_)*/0u} {} -struct CMsgGCCStrike15_v2_ClientToGCRequestElevateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientToGCRequestElevateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientToGCRequestElevateDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientToGCRequestElevate _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientToGCRequestElevateDefaultTypeInternal _CMsgGCCStrike15_v2_ClientToGCRequestElevate_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientToGCChat::CMsgGCCStrike15_v2_ClientToGCChat( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.match_id_)*/uint64_t{0u}} {} -struct CMsgGCCStrike15_v2_ClientToGCChatDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientToGCChatDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientToGCChatDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientToGCChat _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientToGCChatDefaultTypeInternal _CMsgGCCStrike15_v2_ClientToGCChat_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GCToClientChat::CMsgGCCStrike15_v2_GCToClientChat( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.account_id_)*/0u} {} -struct CMsgGCCStrike15_v2_GCToClientChatDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GCToClientChatDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_GCToClientChatDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_GCToClientChat _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GCToClientChatDefaultTypeInternal _CMsgGCCStrike15_v2_GCToClientChat_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientAuthKeyCode::CMsgGCCStrike15_v2_ClientAuthKeyCode( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.code_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.eventid_)*/0u} {} -struct CMsgGCCStrike15_v2_ClientAuthKeyCodeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientAuthKeyCodeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientAuthKeyCodeDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientAuthKeyCode _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientAuthKeyCodeDefaultTypeInternal _CMsgGCCStrike15_v2_ClientAuthKeyCode_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_GotvSyncPacket::CMsgGCCStrike15_GotvSyncPacket( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/nullptr} {} -struct CMsgGCCStrike15_GotvSyncPacketDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_GotvSyncPacketDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_GotvSyncPacketDefaultTypeInternal() {} - union { - CMsgGCCStrike15_GotvSyncPacket _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_GotvSyncPacketDefaultTypeInternal _CMsgGCCStrike15_GotvSyncPacket_default_instance_; -PROTOBUF_CONSTEXPR PlayerDecalDigitalSignature::PlayerDecalDigitalSignature( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.endpos_)*/{} - , /*decltype(_impl_.startpos_)*/{} - , /*decltype(_impl_.left_)*/{} - , /*decltype(_impl_.normal_)*/{} - , /*decltype(_impl_.signature_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.accountid_)*/0u - , /*decltype(_impl_.rtime_)*/0u - , /*decltype(_impl_.tx_defidx_)*/0u - , /*decltype(_impl_.entindex_)*/0 - , /*decltype(_impl_.hitbox_)*/0u - , /*decltype(_impl_.creationtime_)*/0 - , /*decltype(_impl_.equipslot_)*/0u - , /*decltype(_impl_.trace_id_)*/0u - , /*decltype(_impl_.tint_id_)*/0u} {} -struct PlayerDecalDigitalSignatureDefaultTypeInternal { - PROTOBUF_CONSTEXPR PlayerDecalDigitalSignatureDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~PlayerDecalDigitalSignatureDefaultTypeInternal() {} - union { - PlayerDecalDigitalSignature _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerDecalDigitalSignatureDefaultTypeInternal _PlayerDecalDigitalSignature_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPlayerDecalSign::CMsgGCCStrike15_v2_ClientPlayerDecalSign( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/nullptr - , /*decltype(_impl_.itemid_)*/uint64_t{0u}} {} -struct CMsgGCCStrike15_v2_ClientPlayerDecalSignDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPlayerDecalSignDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientPlayerDecalSignDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientPlayerDecalSign _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientPlayerDecalSignDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPlayerDecalSign_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_BetaEnrollment::CMsgGCCStrike15_v2_BetaEnrollment( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.eresult_)*/0u} {} -struct CMsgGCCStrike15_v2_BetaEnrollmentDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_BetaEnrollmentDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_BetaEnrollmentDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_BetaEnrollment _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_BetaEnrollmentDefaultTypeInternal _CMsgGCCStrike15_v2_BetaEnrollment_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientLogonFatalError::CMsgGCCStrike15_v2_ClientLogonFatalError( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.country_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.errorcode_)*/0u} {} -struct CMsgGCCStrike15_v2_ClientLogonFatalErrorDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientLogonFatalErrorDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientLogonFatalErrorDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientLogonFatalError _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientLogonFatalErrorDefaultTypeInternal _CMsgGCCStrike15_v2_ClientLogonFatalError_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPollState::CMsgGCCStrike15_v2_ClientPollState( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.names_)*/{} - , /*decltype(_impl_.values_)*/{} - , /*decltype(_impl_.pollid_)*/0u} {} -struct CMsgGCCStrike15_v2_ClientPollStateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPollStateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientPollStateDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientPollState _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientPollStateDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPollState_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_Register::CMsgGCCStrike15_v2_Party_Register( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.id_)*/0u - , /*decltype(_impl_.ver_)*/0u - , /*decltype(_impl_.apr_)*/0u - , /*decltype(_impl_.ark_)*/0u - , /*decltype(_impl_.nby_)*/0u - , /*decltype(_impl_.grp_)*/0u - , /*decltype(_impl_.slots_)*/0u - , /*decltype(_impl_.launcher_)*/0u - , /*decltype(_impl_.game_type_)*/0u} {} -struct CMsgGCCStrike15_v2_Party_RegisterDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_RegisterDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_Party_RegisterDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Party_Register _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Party_RegisterDefaultTypeInternal _CMsgGCCStrike15_v2_Party_Register_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_Search::CMsgGCCStrike15_v2_Party_Search( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.grps_)*/{} - , /*decltype(_impl_.ver_)*/0u - , /*decltype(_impl_.apr_)*/0u - , /*decltype(_impl_.ark_)*/0u - , /*decltype(_impl_.launcher_)*/0u - , /*decltype(_impl_.game_type_)*/0u} {} -struct CMsgGCCStrike15_v2_Party_SearchDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_SearchDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_Party_SearchDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Party_Search _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Party_SearchDefaultTypeInternal _CMsgGCCStrike15_v2_Party_Search_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_SearchResults_Entry::CMsgGCCStrike15_v2_Party_SearchResults_Entry( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.id_)*/0u - , /*decltype(_impl_.grp_)*/0u - , /*decltype(_impl_.game_type_)*/0u - , /*decltype(_impl_.apr_)*/0u - , /*decltype(_impl_.ark_)*/0u - , /*decltype(_impl_.loc_)*/0u - , /*decltype(_impl_.accountid_)*/0u} {} -struct CMsgGCCStrike15_v2_Party_SearchResults_EntryDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_SearchResults_EntryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_Party_SearchResults_EntryDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Party_SearchResults_Entry _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Party_SearchResults_EntryDefaultTypeInternal _CMsgGCCStrike15_v2_Party_SearchResults_Entry_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_SearchResults::CMsgGCCStrike15_v2_Party_SearchResults( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.entries_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CMsgGCCStrike15_v2_Party_SearchResultsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_SearchResultsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_Party_SearchResultsDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Party_SearchResults _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Party_SearchResultsDefaultTypeInternal _CMsgGCCStrike15_v2_Party_SearchResults_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_Invite::CMsgGCCStrike15_v2_Party_Invite( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.accountid_)*/0u - , /*decltype(_impl_.lobbyid_)*/0u} {} -struct CMsgGCCStrike15_v2_Party_InviteDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_InviteDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_Party_InviteDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Party_Invite _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Party_InviteDefaultTypeInternal _CMsgGCCStrike15_v2_Party_Invite_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.accountid_)*/0u - , /*decltype(_impl_.rtcoplay_)*/0u - , /*decltype(_impl_.online_)*/false} {} -struct CMsgGCCStrike15_v2_Account_RequestCoPlays_PlayerDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Account_RequestCoPlays_PlayerDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_Account_RequestCoPlays_PlayerDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Account_RequestCoPlays_Player _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Account_RequestCoPlays_PlayerDefaultTypeInternal _CMsgGCCStrike15_v2_Account_RequestCoPlays_Player_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Account_RequestCoPlays::CMsgGCCStrike15_v2_Account_RequestCoPlays( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.players_)*/{} - , /*decltype(_impl_.servertime_)*/0u} {} -struct CMsgGCCStrike15_v2_Account_RequestCoPlaysDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Account_RequestCoPlaysDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_Account_RequestCoPlaysDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_Account_RequestCoPlays _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_Account_RequestCoPlaysDefaultTypeInternal _CMsgGCCStrike15_v2_Account_RequestCoPlays_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientToGCRequestTicket::CMsgGCCStrike15_v2_ClientToGCRequestTicket( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.gameserver_sdr_routing_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.authorized_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.gameserver_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.authorized_public_ip_)*/0u} {} -struct CMsgGCCStrike15_v2_ClientToGCRequestTicketDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientToGCRequestTicketDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientToGCRequestTicketDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientToGCRequestTicket _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientToGCRequestTicketDefaultTypeInternal _CMsgGCCStrike15_v2_ClientToGCRequestTicket_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCToClientSteamDatagramTicket::CMsgGCToClientSteamDatagramTicket( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.serialized_ticket_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CMsgGCToClientSteamDatagramTicketDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCToClientSteamDatagramTicketDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCToClientSteamDatagramTicketDefaultTypeInternal() {} - union { - CMsgGCToClientSteamDatagramTicket _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCToClientSteamDatagramTicketDefaultTypeInternal _CMsgGCToClientSteamDatagramTicket_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestOffers::CMsgGCCStrike15_v2_ClientRequestOffers( - ::_pbi::ConstantInitialized) {} -struct CMsgGCCStrike15_v2_ClientRequestOffersDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestOffersDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientRequestOffersDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientRequestOffers _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientRequestOffersDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestOffers_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestSouvenir::CMsgGCCStrike15_v2_ClientRequestSouvenir( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.itemid_)*/uint64_t{0u} - , /*decltype(_impl_.matchid_)*/uint64_t{0u} - , /*decltype(_impl_.eventid_)*/0} {} -struct CMsgGCCStrike15_v2_ClientRequestSouvenirDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestSouvenirDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientRequestSouvenirDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientRequestSouvenir _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientRequestSouvenirDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestSouvenir_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientAccountBalance::CMsgGCCStrike15_v2_ClientAccountBalance( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.amount_)*/uint64_t{0u}} {} -struct CMsgGCCStrike15_v2_ClientAccountBalanceDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientAccountBalanceDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientAccountBalanceDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientAccountBalance _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientAccountBalanceDefaultTypeInternal _CMsgGCCStrike15_v2_ClientAccountBalance_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPartyJoinRelay::CMsgGCCStrike15_v2_ClientPartyJoinRelay( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.lobbyid_)*/uint64_t{0u} - , /*decltype(_impl_.accountid_)*/0u} {} -struct CMsgGCCStrike15_v2_ClientPartyJoinRelayDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPartyJoinRelayDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientPartyJoinRelayDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientPartyJoinRelay _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientPartyJoinRelayDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPartyJoinRelay_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPartyWarning_Entry::CMsgGCCStrike15_v2_ClientPartyWarning_Entry( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.accountid_)*/0u - , /*decltype(_impl_.warntype_)*/0u} {} -struct CMsgGCCStrike15_v2_ClientPartyWarning_EntryDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPartyWarning_EntryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientPartyWarning_EntryDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientPartyWarning_Entry _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientPartyWarning_EntryDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPartyWarning_Entry_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPartyWarning::CMsgGCCStrike15_v2_ClientPartyWarning( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.entries_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CMsgGCCStrike15_v2_ClientPartyWarningDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPartyWarningDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientPartyWarningDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientPartyWarning _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientPartyWarningDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPartyWarning_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_SetEventFavorite::CMsgGCCStrike15_v2_SetEventFavorite( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.eventid_)*/uint64_t{0u} - , /*decltype(_impl_.is_favorite_)*/false} {} -struct CMsgGCCStrike15_v2_SetEventFavoriteDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_SetEventFavoriteDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_SetEventFavoriteDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_SetEventFavorite _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_SetEventFavoriteDefaultTypeInternal _CMsgGCCStrike15_v2_SetEventFavorite_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GetEventFavorites_Request::CMsgGCCStrike15_v2_GetEventFavorites_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.all_events_)*/false} {} -struct CMsgGCCStrike15_v2_GetEventFavorites_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GetEventFavorites_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_GetEventFavorites_RequestDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_GetEventFavorites_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GetEventFavorites_RequestDefaultTypeInternal _CMsgGCCStrike15_v2_GetEventFavorites_Request_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GetEventFavorites_Response::CMsgGCCStrike15_v2_GetEventFavorites_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.json_favorites_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.json_featured_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.all_events_)*/false} {} -struct CMsgGCCStrike15_v2_GetEventFavorites_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GetEventFavorites_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_GetEventFavorites_ResponseDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_GetEventFavorites_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GetEventFavorites_ResponseDefaultTypeInternal _CMsgGCCStrike15_v2_GetEventFavorites_Response_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPerfReport_Entry::CMsgGCCStrike15_v2_ClientPerfReport_Entry( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.reference_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.actual_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.perfcounter_)*/0u - , /*decltype(_impl_.length_)*/0u - , /*decltype(_impl_.sourceid_)*/0u - , /*decltype(_impl_.status_)*/0u} {} -struct CMsgGCCStrike15_v2_ClientPerfReport_EntryDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPerfReport_EntryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientPerfReport_EntryDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientPerfReport_Entry _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientPerfReport_EntryDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPerfReport_Entry_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPerfReport::CMsgGCCStrike15_v2_ClientPerfReport( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.entries_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CMsgGCCStrike15_v2_ClientPerfReportDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPerfReportDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientPerfReportDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientPerfReport _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientPerfReportDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPerfReport_default_instance_; -PROTOBUF_CONSTEXPR CVDiagnostic::CVDiagnostic( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.string_value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.id_)*/0u - , /*decltype(_impl_.extended_)*/0u - , /*decltype(_impl_.value_)*/uint64_t{0u}} {} -struct CVDiagnosticDefaultTypeInternal { - PROTOBUF_CONSTEXPR CVDiagnosticDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CVDiagnosticDefaultTypeInternal() {} - union { - CVDiagnostic _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CVDiagnosticDefaultTypeInternal _CVDiagnostic_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportValidation::CMsgGCCStrike15_v2_ClientReportValidation( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.diagnostics_)*/{} - , /*decltype(_impl_.file_report_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.command_line_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.last_launch_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.total_files_)*/0u - , /*decltype(_impl_.internal_error_)*/0u - , /*decltype(_impl_.trust_time_)*/0u - , /*decltype(_impl_.count_pending_)*/0u - , /*decltype(_impl_.count_completed_)*/0u - , /*decltype(_impl_.process_id_)*/0u - , /*decltype(_impl_.osversion_)*/0 - , /*decltype(_impl_.clientreportversion_)*/0u - , /*decltype(_impl_.status_id_)*/0u - , /*decltype(_impl_.diagnostic1_)*/0u - , /*decltype(_impl_.diagnostic2_)*/uint64_t{0u} - , /*decltype(_impl_.diagnostic3_)*/uint64_t{0u} - , /*decltype(_impl_.client_time_)*/uint64_t{0u} - , /*decltype(_impl_.diagnostic4_)*/uint64_t{0u} - , /*decltype(_impl_.diagnostic5_)*/uint64_t{0u} - , /*decltype(_impl_.report_count_)*/0u} {} -struct CMsgGCCStrike15_v2_ClientReportValidationDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportValidationDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_ClientReportValidationDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_ClientReportValidation _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_ClientReportValidationDefaultTypeInternal _CMsgGCCStrike15_v2_ClientReportValidation_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.file_report_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.files_prevented_trusted_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.offer_insecure_mode_)*/false - , /*decltype(_impl_.offer_secure_mode_)*/false - , /*decltype(_impl_.show_unsigned_ui_)*/false - , /*decltype(_impl_.kick_user_)*/false - , /*decltype(_impl_.show_trusted_ui_)*/false - , /*decltype(_impl_.show_warning_not_trusted_)*/false - , /*decltype(_impl_.show_warning_not_trusted_2_)*/false} {} -struct CMsgGCCStrike15_v2_GC2ClientRefuseSecureModeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientRefuseSecureModeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_GC2ClientRefuseSecureModeDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GC2ClientRefuseSecureModeDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientRequestValidation::CMsgGCCStrike15_v2_GC2ClientRequestValidation( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.module_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.full_report_)*/false} {} -struct CMsgGCCStrike15_v2_GC2ClientRequestValidationDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientRequestValidationDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_GC2ClientRequestValidationDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_GC2ClientRequestValidation _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GC2ClientRequestValidationDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientRequestValidation_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientInitSystem::CMsgGCCStrike15_v2_GC2ClientInitSystem( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.outputname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.key_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.sha_hash_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.manifest_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.system_package_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.load_)*/false - , /*decltype(_impl_.load_system_)*/false - , /*decltype(_impl_.cookie_)*/0} {} -struct CMsgGCCStrike15_v2_GC2ClientInitSystemDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientInitSystemDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_GC2ClientInitSystemDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_GC2ClientInitSystem _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GC2ClientInitSystemDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientInitSystem_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.diagnostic_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.sha_hash_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.success_)*/false - , /*decltype(_impl_.response_)*/0 - , /*decltype(_impl_.error_code1_)*/0 - , /*decltype(_impl_.error_code2_)*/0 - , /*decltype(_impl_.handle_)*/int64_t{0} - , /*decltype(_impl_.einit_result_)*/0 - , /*decltype(_impl_.aux_system1_)*/0 - , /*decltype(_impl_.aux_system2_)*/0} {} -struct CMsgGCCStrike15_v2_GC2ClientInitSystem_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientInitSystem_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_GC2ClientInitSystem_ResponseDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_GC2ClientInitSystem_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_GC2ClientInitSystem_ResponseDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientInitSystem_Response_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.leaderboard_safe_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeNameDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeNameDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeNameDefaultTypeInternal() {} - union { - CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeNameDefaultTypeInternal _CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName_default_instance_; -PROTOBUF_CONSTEXPR CMsgRequestRecurringMissionSchedule::CMsgRequestRecurringMissionSchedule( - ::_pbi::ConstantInitialized) {} -struct CMsgRequestRecurringMissionScheduleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgRequestRecurringMissionScheduleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgRequestRecurringMissionScheduleDefaultTypeInternal() {} - union { - CMsgRequestRecurringMissionSchedule _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgRequestRecurringMissionScheduleDefaultTypeInternal _CMsgRequestRecurringMissionSchedule_default_instance_; -PROTOBUF_CONSTEXPR CMsgRecurringMissionSchema_MissionTemplateList::CMsgRecurringMissionSchema_MissionTemplateList( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.mission_templates_)*/{} - , /*decltype(_impl_.period_)*/0u} {} -struct CMsgRecurringMissionSchema_MissionTemplateListDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgRecurringMissionSchema_MissionTemplateListDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgRecurringMissionSchema_MissionTemplateListDefaultTypeInternal() {} - union { - CMsgRecurringMissionSchema_MissionTemplateList _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgRecurringMissionSchema_MissionTemplateListDefaultTypeInternal _CMsgRecurringMissionSchema_MissionTemplateList_default_instance_; -PROTOBUF_CONSTEXPR CMsgRecurringMissionSchema::CMsgRecurringMissionSchema( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.missions_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CMsgRecurringMissionSchemaDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgRecurringMissionSchemaDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgRecurringMissionSchemaDefaultTypeInternal() {} - union { - CMsgRecurringMissionSchema _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgRecurringMissionSchemaDefaultTypeInternal _CMsgRecurringMissionSchema_default_instance_; -static ::_pb::Metadata file_level_metadata_cstrike15_5fgcmessages_2eproto[180]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_cstrike15_5fgcmessages_2eproto[5]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_cstrike15_5fgcmessages_2eproto = nullptr; - -const uint32_t TableStruct_cstrike15_5fgcmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::GameServerPing, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::GameServerPing, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::GameServerPing, _impl_.ping_), - PROTOBUF_FIELD_OFFSET(::GameServerPing, _impl_.ip_), - PROTOBUF_FIELD_OFFSET(::GameServerPing, _impl_.instances_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::DataCenterPing, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::DataCenterPing, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::DataCenterPing, _impl_.data_center_id_), - PROTOBUF_FIELD_OFFSET(::DataCenterPing, _impl_.ping_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::DetailedSearchStatistic, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::DetailedSearchStatistic, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::DetailedSearchStatistic, _impl_.game_type_), - PROTOBUF_FIELD_OFFSET(::DetailedSearchStatistic, _impl_.search_time_avg_), - PROTOBUF_FIELD_OFFSET(::DetailedSearchStatistic, _impl_.players_searching_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::TournamentPlayer, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::TournamentPlayer, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::TournamentPlayer, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::TournamentPlayer, _impl_.player_nick_), - PROTOBUF_FIELD_OFFSET(::TournamentPlayer, _impl_.player_name_), - PROTOBUF_FIELD_OFFSET(::TournamentPlayer, _impl_.player_dob_), - PROTOBUF_FIELD_OFFSET(::TournamentPlayer, _impl_.player_flag_), - PROTOBUF_FIELD_OFFSET(::TournamentPlayer, _impl_.player_location_), - PROTOBUF_FIELD_OFFSET(::TournamentPlayer, _impl_.player_desc_), - 5, - 0, - 1, - 6, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::TournamentTeam, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::TournamentTeam, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::TournamentTeam, _impl_.team_id_), - PROTOBUF_FIELD_OFFSET(::TournamentTeam, _impl_.team_tag_), - PROTOBUF_FIELD_OFFSET(::TournamentTeam, _impl_.team_flag_), - PROTOBUF_FIELD_OFFSET(::TournamentTeam, _impl_.team_name_), - PROTOBUF_FIELD_OFFSET(::TournamentTeam, _impl_.players_), - 3, - 0, - 1, - 2, - ~0u, - PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::TournamentEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_.event_id_), - PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_.event_tag_), - PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_.event_name_), - PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_.event_time_start_), - PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_.event_time_end_), - PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_.event_public_), - PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_.event_stage_id_), - PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_.event_stage_name_), - PROTOBUF_FIELD_OFFSET(::TournamentEvent, _impl_.active_section_id_), - 3, - 0, - 1, - 4, - 5, - 6, - 7, - 2, - 8, - PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.players_online_), - PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.servers_online_), - PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.players_searching_), - PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.servers_available_), - PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.ongoing_matches_), - PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.search_time_avg_), - PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.search_statistics_), - PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.main_post_url_), - PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.required_appid_version_), - PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.pricesheet_version_), - PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.twitch_streams_version_), - PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.active_tournament_eventid_), - PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.active_survey_id_), - PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.rtime32_cur_), - PROTOBUF_FIELD_OFFSET(::GlobalStatistics, _impl_.required_appid_version2_), - 1, - 2, - 3, - 4, - 5, - 6, - ~0u, - 0, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - PROTOBUF_FIELD_OFFSET(::OperationalStatisticDescription, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::OperationalStatisticDescription, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::OperationalStatisticDescription, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::OperationalStatisticDescription, _impl_.idkey_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::OperationalStatisticElement, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::OperationalStatisticElement, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::OperationalStatisticElement, _impl_.idkey_), - PROTOBUF_FIELD_OFFSET(::OperationalStatisticElement, _impl_.values_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::OperationalStatisticsPacket, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::OperationalStatisticsPacket, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::OperationalStatisticsPacket, _impl_.packetid_), - PROTOBUF_FIELD_OFFSET(::OperationalStatisticsPacket, _impl_.mstimestamp_), - PROTOBUF_FIELD_OFFSET(::OperationalStatisticsPacket, _impl_.values_), - 0, - 1, - ~0u, - PROTOBUF_FIELD_OFFSET(::OperationalVarValue, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::OperationalVarValue, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::OperationalVarValue, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::OperationalVarValue, _impl_.ivalue_), - PROTOBUF_FIELD_OFFSET(::OperationalVarValue, _impl_.fvalue_), - PROTOBUF_FIELD_OFFSET(::OperationalVarValue, _impl_.svalue_), - 0, - 2, - 3, - 1, - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo_PerMapRank, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo_PerMapRank, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo_PerMapRank, _impl_.map_id_), - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo_PerMapRank, _impl_.rank_id_), - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo_PerMapRank, _impl_.wins_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.rank_id_), - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.wins_), - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.rank_change_), - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.rank_type_id_), - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.tv_control_), - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.rank_window_stats_), - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.leaderboard_name_), - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.rank_if_win_), - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.rank_if_lose_), - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.rank_if_tie_), - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.per_map_rank_), - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.leaderboard_name_status_), - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.highest_rank_), - PROTOBUF_FIELD_OFFSET(::PlayerRankingInfo, _impl_.rank_expiry_), - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 0, - 8, - 9, - 10, - ~0u, - 11, - 12, - 13, - PROTOBUF_FIELD_OFFSET(::PlayerCommendationInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::PlayerCommendationInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::PlayerCommendationInfo, _impl_.cmd_friendly_), - PROTOBUF_FIELD_OFFSET(::PlayerCommendationInfo, _impl_.cmd_teaching_), - PROTOBUF_FIELD_OFFSET(::PlayerCommendationInfo, _impl_.cmd_leader_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::PlayerMedalsInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::PlayerMedalsInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::PlayerMedalsInfo, _impl_.display_items_defidx_), - PROTOBUF_FIELD_OFFSET(::PlayerMedalsInfo, _impl_.featured_display_item_defidx_), - ~0u, - 0, - PROTOBUF_FIELD_OFFSET(::AccountActivity, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::AccountActivity, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::AccountActivity, _impl_.activity_), - PROTOBUF_FIELD_OFFSET(::AccountActivity, _impl_.mode_), - PROTOBUF_FIELD_OFFSET(::AccountActivity, _impl_.map_), - PROTOBUF_FIELD_OFFSET(::AccountActivity, _impl_.matchid_), - 0, - 1, - 3, - 2, - PROTOBUF_FIELD_OFFSET(::TournamentMatchSetup, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::TournamentMatchSetup, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::TournamentMatchSetup, _impl_.event_id_), - PROTOBUF_FIELD_OFFSET(::TournamentMatchSetup, _impl_.team_id_ct_), - PROTOBUF_FIELD_OFFSET(::TournamentMatchSetup, _impl_.team_id_t_), - PROTOBUF_FIELD_OFFSET(::TournamentMatchSetup, _impl_.event_stage_id_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_udp_port_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_watch_key_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_slots_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_clients_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_proxies_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_time_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.game_type_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.game_mapgroup_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.game_map_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_master_steamid_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_local_slots_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_local_clients_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_local_proxies_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_relay_slots_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_relay_clients_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_relay_proxies_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_relay_address_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_relay_port_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.tv_relay_steamid_), - PROTOBUF_FIELD_OFFSET(::ServerHltvInfo, _impl_.flags_), - 3, - 2, - 4, - 5, - 6, - 7, - 8, - 0, - 1, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - PROTOBUF_FIELD_OFFSET(::IpAddressMask, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::IpAddressMask, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::IpAddressMask, _impl_.a_), - PROTOBUF_FIELD_OFFSET(::IpAddressMask, _impl_.b_), - PROTOBUF_FIELD_OFFSET(::IpAddressMask, _impl_.c_), - PROTOBUF_FIELD_OFFSET(::IpAddressMask, _impl_.d_), - PROTOBUF_FIELD_OFFSET(::IpAddressMask, _impl_.bits_), - PROTOBUF_FIELD_OFFSET(::IpAddressMask, _impl_.token_), - 0, - 1, - 2, - 3, - 4, - 5, - PROTOBUF_FIELD_OFFSET(::CMsgCsgoSteamUserStatChange, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgCsgoSteamUserStatChange, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgCsgoSteamUserStatChange, _impl_.ecsgosteamuserstat_), - PROTOBUF_FIELD_OFFSET(::CMsgCsgoSteamUserStatChange, _impl_.delta_), - PROTOBUF_FIELD_OFFSET(::CMsgCsgoSteamUserStatChange, _impl_.absolute_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::XpProgressData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::XpProgressData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::XpProgressData, _impl_.xp_points_), - PROTOBUF_FIELD_OFFSET(::XpProgressData, _impl_.xp_category_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::MatchEndItemUpdates, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::MatchEndItemUpdates, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::MatchEndItemUpdates, _impl_.item_id_), - PROTOBUF_FIELD_OFFSET(::MatchEndItemUpdates, _impl_.item_attr_defidx_), - PROTOBUF_FIELD_OFFSET(::MatchEndItemUpdates, _impl_.item_attr_delta_value_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData_Entry, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData_Entry, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData_Entry, _impl_.tag_), - PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData_Entry, _impl_.val_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData_AccountEntries, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData_AccountEntries, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData_AccountEntries, _impl_.accountid_), - PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData_AccountEntries, _impl_.entries_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData, _impl_.quest_id_), - PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData, _impl_.score_), - PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData, _impl_.accountentries_), - PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData, _impl_.matchentries_), - PROTOBUF_FIELD_OFFSET(::ScoreLeaderboardData, _impl_.leaderboard_name_), - 1, - 2, - ~0u, - ~0u, - 0, - PROTOBUF_FIELD_OFFSET(::PlayerQuestData_QuestItemData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::PlayerQuestData_QuestItemData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::PlayerQuestData_QuestItemData, _impl_.quest_id_), - PROTOBUF_FIELD_OFFSET(::PlayerQuestData_QuestItemData, _impl_.quest_normal_points_earned_), - PROTOBUF_FIELD_OFFSET(::PlayerQuestData_QuestItemData, _impl_.quest_bonus_points_earned_), - PROTOBUF_FIELD_OFFSET(::PlayerQuestData_QuestItemData, _impl_.quest_normal_points_required_), - PROTOBUF_FIELD_OFFSET(::PlayerQuestData_QuestItemData, _impl_.quest_reward_xp_), - PROTOBUF_FIELD_OFFSET(::PlayerQuestData_QuestItemData, _impl_.quest_period_), - PROTOBUF_FIELD_OFFSET(::PlayerQuestData_QuestItemData, _impl_.quest_type_), - 0, - 1, - 2, - ~0u, - ~0u, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _impl_.quester_account_id_), - PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _impl_.quest_item_data_), - PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _impl_.xp_progress_data_), - PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _impl_.time_played_), - PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _impl_.mm_game_mode_), - PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _impl_.item_updates_), - PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _impl_.operation_points_eligible_), - PROTOBUF_FIELD_OFFSET(::PlayerQuestData, _impl_.userstatchanges_), - 0, - ~0u, - ~0u, - 1, - 2, - ~0u, - 3, - ~0u, - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.accountid_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.match_id_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.mm_game_mode_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.mapid_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.b_starting_ct_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.match_outcome_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.rounds_won_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.rounds_lost_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.stat_score_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.stat_deaths_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.stat_mvps_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.enemy_kills_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.enemy_headshots_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.enemy_2ks_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.enemy_3ks_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.enemy_4ks_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.total_damage_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.engagements_entry_count_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.engagements_entry_wins_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.engagements_1v1_count_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.engagements_1v1_wins_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.engagements_1v2_count_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.engagements_1v2_wins_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.utility_count_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.utility_success_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.flash_count_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.flash_success_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerStatsEntry, _impl_.mates_), - 1, - 0, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - ~0u, - PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.accountid_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.match_id_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.event_id_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.event_type_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.b_playing_ct_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.user_pos_x_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.user_pos_y_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.user_pos_z_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.user_defidx_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.other_pos_x_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.other_pos_y_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.other_pos_z_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.other_defidx_), - PROTOBUF_FIELD_OFFSET(::DeepPlayerMatchEvent, _impl_.event_data_), - 1, - 0, - 2, - 3, - 4, - 5, - 6, - 11, - 7, - 8, - 9, - 12, - 10, - 13, - PROTOBUF_FIELD_OFFSET(::CMsgGC_ServerQuestUpdateData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGC_ServerQuestUpdateData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGC_ServerQuestUpdateData, _impl_.player_quest_data_), - PROTOBUF_FIELD_OFFSET(::CMsgGC_ServerQuestUpdateData, _impl_.binary_data_), - PROTOBUF_FIELD_OFFSET(::CMsgGC_ServerQuestUpdateData, _impl_.mm_game_mode_), - PROTOBUF_FIELD_OFFSET(::CMsgGC_ServerQuestUpdateData, _impl_.missionlbsdata_), - PROTOBUF_FIELD_OFFSET(::CMsgGC_ServerQuestUpdateData, _impl_.flags_), - ~0u, - 0, - 2, - 1, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm, _impl_.token_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm, _impl_.stamp_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm, _impl_.exchange_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm, _impl_.retry_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ServerReservationUpdate, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ServerReservationUpdate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ServerReservationUpdate, _impl_.viewers_external_total_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ServerReservationUpdate, _impl_.viewers_external_steam_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _impl_.account_ids_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _impl_.game_type_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _impl_.ticket_data_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _impl_.client_version_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _impl_.tournament_match_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _impl_.prime_only_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _impl_.tv_control_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStart, _impl_.lobby_id_), - ~0u, - 2, - 0, - 3, - 1, - 4, - 5, - 6, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStop, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStop, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingStop, _impl_.abandon_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note, _impl_.region_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note, _impl_.region_r_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note, _impl_.distance_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.gameserverpings_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.offset_index_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.final_batch_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.data_center_pings_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.max_ping_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.test_token_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.search_key_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.notes_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.debug_message_), - ~0u, - 2, - 3, - ~0u, - 4, - 5, - 0, - ~0u, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.matchmaking_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.waiting_account_id_sessions_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.error_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.ongoingmatch_account_id_sessions_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.global_stats_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.failping_account_id_sessions_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.penalty_account_id_sessions_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.failready_account_id_sessions_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.vacbanned_account_id_sessions_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.server_ipaddress_mask_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.notes_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.penalty_account_id_sessions_green_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.insufficientlevel_sessions_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.vsncheck_account_id_sessions_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.launcher_mismatch_sessions_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.insecure_account_id_sessions_), - 3, - ~0u, - 0, - ~0u, - 1, - ~0u, - ~0u, - ~0u, - ~0u, - 2, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft_Entry, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft_Entry, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft_Entry, _impl_.mapid_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft_Entry, _impl_.team_id_ct_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.event_id_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.event_stage_id_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.team_id_0_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.team_id_1_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.maps_count_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.maps_current_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.team_id_start_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.team_id_veto1_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.team_id_pickn_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.drafts_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_mapid_0_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_mapid_1_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_mapid_2_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_mapid_3_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_mapid_4_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_mapid_5_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_starting_side_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_phase_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_phase_start_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_phase_length_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - 9, - 10, - 11, - PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData_TeamStats, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData_TeamStats, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData_TeamStats, _impl_.match_info_idxtxt_), - PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData_TeamStats, _impl_.match_info_txt_), - PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData_TeamStats, _impl_.match_info_teams_), - 1, - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData, _impl_.predictions_pct_), - PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData, _impl_.draft_), - PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData, _impl_.stats_), - PROTOBUF_FIELD_OFFSET(::CPreMatchInfoData, _impl_.wins_), - 1, - 0, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.account_ids_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.game_type_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.match_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.server_version_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.rankings_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.encryption_key_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.encryption_key_pub_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.party_ids_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.whitelist_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.tv_master_steamid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.tournament_event_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.tournament_teams_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.tournament_casters_account_ids_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.tv_relay_steamid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.pre_match_data_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.tv_control_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.op_var_values_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.socache_control_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.teammate_colors_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.match_id_additional_), - ~0u, - 3, - 2, - 4, - 10, - ~0u, - 5, - 6, - ~0u, - ~0u, - 7, - 0, - ~0u, - ~0u, - 8, - 1, - 9, - ~0u, - 11, - ~0u, - 12, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.reservationid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.reservation_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.map_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.gc_reservation_sent_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.server_version_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.tv_info_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.reward_player_accounts_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.idle_player_accounts_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.reward_item_attr_def_idx_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.reward_item_attr_value_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.reward_item_attr_reward_idx_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.reward_drop_list_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.tournament_tag_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.legacy_steamdatagram_port_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.steamdatagram_routing_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.test_token_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.system_load_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.cpus_online_), - 4, - 2, - 0, - 5, - 6, - 3, - ~0u, - ~0u, - 7, - 8, - 9, - 10, - 1, - 11, - 14, - 12, - 13, - 15, - 16, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.serverid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.direct_udp_ip_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.direct_udp_port_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.reservationid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.reservation_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.map_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.server_address_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.gs_ping_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.gs_location_id_), - 4, - 5, - 6, - 7, - 2, - 0, - 1, - 3, - 8, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo, _impl_.account_mvp_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.reservationid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.reservation_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.map_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.round_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.kills_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.assists_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.deaths_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.scores_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.pings_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.round_result_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.match_result_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.team_scores_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.confirm_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.reservation_stage_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.match_duration_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.enemy_kills_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.enemy_headshots_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.enemy_3ks_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.enemy_4ks_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.enemy_5ks_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.mvps_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.spectators_count_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.spectators_count_tv_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.spectators_count_lnk_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.enemy_kills_agg_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.drop_info_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.b_switched_teams_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.enemy_2ks_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.player_spawned_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.team_spawn_count_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.max_rounds_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.map_id_), - 4, - 1, - 0, - 5, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - 6, - 7, - ~0u, - 2, - 8, - 9, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - 10, - 11, - 12, - ~0u, - 3, - 13, - ~0u, - ~0u, - ~0u, - 14, - 15, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingClient2GCHello, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.ongoingmatch_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.global_stats_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.penalty_seconds_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.penalty_reason_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.vac_banned_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.ranking_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.commendation_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.medals_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.my_current_event_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.my_current_event_teams_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.my_current_team_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.my_current_event_stages_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.survey_vote_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.activity_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.player_level_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.player_cur_xp_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.player_xp_bonus_flags_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.rankings_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.owcaseid_), - 8, - 0, - 1, - 9, - 10, - 11, - 2, - 3, - 4, - 5, - ~0u, - 6, - ~0u, - 12, - 7, - 13, - 14, - 15, - ~0u, - 16, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting, _impl_.setting_type_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting, _impl_.setting_value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_AccountPrivacySettings, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_AccountPrivacySettings, _impl_.settings_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon, _impl_.abandoned_match_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon, _impl_.penalty_seconds_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon, _impl_.penalty_reason_), - 1, - 0, - 2, - 3, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientGCRankUpdate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientGCRankUpdate, _impl_.rankings_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate, _impl_.main_post_url_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty, _impl_.reason_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty, _impl_.seconds_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty, _impl_.communication_cooldown_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.rpt_aimbot_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.rpt_wallhack_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.rpt_speedhack_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.rpt_teamharm_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.rpt_textabuse_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.rpt_voiceabuse_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.match_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.report_from_demo_), - 0, - 1, - 2, - 3, - 4, - 5, - 7, - 6, - 8, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientCommendPlayer, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientCommendPlayer, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientCommendPlayer, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientCommendPlayer, _impl_.match_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientCommendPlayer, _impl_.commendation_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientCommendPlayer, _impl_.tokens_), - 1, - 3, - 0, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportServer, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportServer, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportServer, _impl_.rpt_poorperf_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportServer, _impl_.rpt_abusivemodels_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportServer, _impl_.rpt_badmotd_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportServer, _impl_.rpt_listingabuse_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportServer, _impl_.rpt_inventoryabuse_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportServer, _impl_.match_id_), - 0, - 1, - 2, - 3, - 5, - 4, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportResponse, _impl_.confirmation_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportResponse, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportResponse, _impl_.server_ip_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportResponse, _impl_.response_type_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportResponse, _impl_.response_result_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportResponse, _impl_.tokens_), - 0, - 1, - 2, - 3, - 4, - 5, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _impl_.request_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _impl_.account_ids_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _impl_.serverid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _impl_.matchid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _impl_.client_launcher_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _impl_.data_center_pings_), - 1, - ~0u, - 0, - 3, - 2, - ~0u, - PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.server_ip_), - PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.tv_port_), - PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.tv_spectators_), - PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.tv_time_), - PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.tv_watch_password_), - PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.cl_decryptdata_key_), - PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.cl_decryptdata_key_pub_), - PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.game_type_), - PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.game_mapgroup_), - PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.game_map_), - PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.server_id_), - PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.match_id_), - PROTOBUF_FIELD_OFFSET(::WatchableMatchInfo, _impl_.reservation_id_), - 3, - 4, - 5, - 6, - 0, - 7, - 8, - 12, - 1, - 2, - 9, - 10, - 11, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _impl_.version_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _impl_.join_token_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _impl_.join_ipp_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _impl_.res_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _impl_.errormsg_), - 2, - 3, - 4, - 5, - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinServerData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_.version_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_.serverid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_.server_ip_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_.server_port_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_.res_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_.errormsg_), - 2, - 3, - 4, - 5, - 6, - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemMissionReward, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemMissionReward, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemMissionReward, _impl_.campaign_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemMissionReward, _impl_.redeem_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemMissionReward, _impl_.redeemable_balance_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemMissionReward, _impl_.expected_cost_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemMissionReward, _impl_.bid_control_), - 0, - 1, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemFreeReward, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemFreeReward, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemFreeReward, _impl_.generation_time_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemFreeReward, _impl_.redeemable_balance_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_ClientRedeemFreeReward, _impl_.items_), - 0, - 1, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.xp_progress_data_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.current_xp_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.current_level_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.upgraded_defidx_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.operation_points_awarded_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.free_rewards_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.xp_trail_remaining_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.xp_trail_xp_needed_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.xp_trail_level_), - ~0u, - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientNetworkConfig, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientNetworkConfig, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientNetworkConfig, _impl_.data_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange, _impl_.begin_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange, _impl_.end_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange, _impl_.frozen_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch, _impl_.player_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch, _impl_.events_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats, _impl_.range_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_ClientDeepStats, _impl_.matches_), - 1, - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_WatchInfoUsers, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_WatchInfoUsers, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_WatchInfoUsers, _impl_.request_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_WatchInfoUsers, _impl_.account_ids_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_WatchInfoUsers, _impl_.watchable_match_infos_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_WatchInfoUsers, _impl_.extended_timeout_), - 0, - ~0u, - ~0u, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestPlayersProfile, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestPlayersProfile, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestPlayersProfile, _impl_.request_id__deprecated_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestPlayersProfile, _impl_.account_ids__deprecated_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestPlayersProfile, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestPlayersProfile, _impl_.request_level_), - 0, - ~0u, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayersProfile, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayersProfile, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayersProfile, _impl_.request_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayersProfile, _impl_.account_profiles_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek, _impl_.week_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek, _impl_.rank_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek, _impl_.matches_played_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.map_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.wins_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.ties_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.losses_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.rounds_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.kills_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.headshots_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.assists_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.deaths_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.mvps_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.rounds_3k_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.rounds_4k_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.rounds_5k_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary, _impl_.season_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary, _impl_.data_per_week_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PremierSeasonSummary, _impl_.data_per_map_), - 0, - 1, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.caseid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.suspectid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.fractionid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.rpt_aimbot_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.rpt_wallhack_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.rpt_speedhack_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.rpt_teamharm_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.reason_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.caseid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.caseurl_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.verdict_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.timestamp_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.throttleseconds_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.suspectid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.fractionid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.numrounds_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.fractionrounds_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.streakconvictions_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.reason_), - 1, - 0, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus, _impl_.caseid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus, _impl_.statusid_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CClientHeaderOverwatchEvidence, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CClientHeaderOverwatchEvidence, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CClientHeaderOverwatchEvidence, _impl_.accountid_), - PROTOBUF_FIELD_OFFSET(::CClientHeaderOverwatchEvidence, _impl_.caseid_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTextMsg, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTextMsg, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTextMsg, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTextMsg, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTextMsg, _impl_.payload_), - 1, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCTextMsg, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCTextMsg, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCTextMsg, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCTextMsg, _impl_.args_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchEndRunRewardDrops, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchEndRunRewardDrops, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchEndRunRewardDrops, _impl_.serverinfo_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchEndRunRewardDrops, _impl_.match_end_quest_data_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.slot_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.sticker_id_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.wear_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.scale_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.rotation_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.tint_id_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.offset_x_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.offset_y_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.offset_z_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.pattern_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock_Sticker, _impl_.highlight_reel_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.accountid_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.itemid_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.defindex_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.paintindex_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.rarity_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.quality_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.paintwear_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.paintseed_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.killeaterscoretype_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.killeatervalue_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.customname_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.stickers_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.inventory_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.questid_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.dropreason_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.musicindex_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.entindex_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.petindex_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.keychains_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.style_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.variations_), - PROTOBUF_FIELD_OFFSET(::CEconItemPreviewDataBlock, _impl_.upgrade_level_), - 2, - 1, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 0, - ~0u, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - ~0u, - 18, - ~0u, - 19, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification, _impl_.iteminfo_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgItemAcknowledged, _impl_.iteminfo_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest, _impl_.param_s_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest, _impl_.param_a_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest, _impl_.param_d_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest, _impl_.param_m_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse, _impl_.iteminfo_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser, _impl_.accountid_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames, _impl_.accountid_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestTournamentGames, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestTournamentGames, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestTournamentGames, _impl_.eventid_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo, _impl_.matchid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo, _impl_.outcomeid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo, _impl_.token_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_MatchInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_MatchInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_MatchInfo, _impl_.matchid_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_MatchInfo, _impl_.matchtime_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_MatchInfo, _impl_.watchablematchinfo_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_MatchInfo, _impl_.roundstats_legacy_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_MatchInfo, _impl_.roundstatsall_), - 2, - 3, - 0, - 1, - ~0u, - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroupTeam, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroupTeam, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroupTeam, _impl_.team_id_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroupTeam, _impl_.score_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroupTeam, _impl_.correctpick_), - 0, - 1, - 2, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup_Picks, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup_Picks, _impl_.pickids_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.groupid_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.desc_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.picks__deprecated_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.teams_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.stage_ids_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.picklockuntiltime_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.pickableteams_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.points_per_pick_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentGroup, _impl_.picks_), - 2, - 0, - 1, - 3, - ~0u, - ~0u, - 4, - 5, - 6, - ~0u, - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentSection, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentSection, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentSection, _impl_.sectionid_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentSection, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentSection, _impl_.desc_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentSection, _impl_.groups_), - 2, - 0, - 1, - ~0u, - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentInfo, _impl_.sections_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentInfo, _impl_.tournament_event_), - PROTOBUF_FIELD_OFFSET(::CDataGCCStrike15_v2_TournamentInfo, _impl_.tournament_teams_), - ~0u, - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchList, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchList, _impl_.msgrequestid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchList, _impl_.accountid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchList, _impl_.servertime_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchList, _impl_.matches_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchList, _impl_.streams_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchList, _impl_.tournamentinfo_), - 1, - 2, - 3, - ~0u, - ~0u, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt, _impl_.eventid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt, _impl_.matches_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt, _impl_.accountid_), - 0, - ~0u, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick, _impl_.sectionid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick, _impl_.groupid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick, _impl_.index_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick, _impl_.teamid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick, _impl_.itemid_), - 0, - 1, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions, _impl_.event_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Predictions, _impl_.group_match_team_picks_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy_FantasySlot, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy_FantasySlot, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy_FantasySlot, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy_FantasySlot, _impl_.pick_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy_FantasySlot, _impl_.itemid_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy_FantasyTeam, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy_FantasyTeam, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy_FantasyTeam, _impl_.sectionid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy_FantasyTeam, _impl_.slots_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy, _impl_.event_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Fantasy, _impl_.teams_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CAttribute_String, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CAttribute_String, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CAttribute_String, _impl_.value_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome_Location, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome_Location, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome_Location, _impl_.latitude_), - PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome_Location, _impl_.longitude_), - PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome_Location, _impl_.country_), - 1, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.version_), - PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.game_data_), - PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.outofdate_subscribed_caches_), - PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.uptodate_subscribed_caches_), - PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.location_), - PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.game_data2_), - PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.rtime32_gc_welcome_timestamp_), - PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.currency_), - PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.balance_), - PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.balance_url_), - PROTOBUF_FIELD_OFFSET(::CMsgLegacySource1ClientWelcome, _impl_.txn_country_code_), - 5, - 0, - ~0u, - ~0u, - 4, - 1, - 6, - 7, - 8, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgCStrike15Welcome, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgCStrike15Welcome, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgCStrike15Welcome, _impl_.store_item_hash_), - PROTOBUF_FIELD_OFFSET(::CMsgCStrike15Welcome, _impl_.timeplayedconsecutively_), - PROTOBUF_FIELD_OFFSET(::CMsgCStrike15Welcome, _impl_.time_first_played_), - PROTOBUF_FIELD_OFFSET(::CMsgCStrike15Welcome, _impl_.last_time_played_), - PROTOBUF_FIELD_OFFSET(::CMsgCStrike15Welcome, _impl_.last_ip_address_), - PROTOBUF_FIELD_OFFSET(::CMsgCStrike15Welcome, _impl_.gscookieid_), - PROTOBUF_FIELD_OFFSET(::CMsgCStrike15Welcome, _impl_.uniqueid_), - 0, - 1, - 2, - 3, - 6, - 4, - 5, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo, _impl_.value_name_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo, _impl_.value_int_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo, _impl_.server_addr_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo, _impl_.server_port_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo, _impl_.choked_blocks_), - 0, - 1, - 2, - 3, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo, _impl_.accountid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo, _impl_.viewangles_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo, _impl_.userdata_), - 0, - ~0u, - 1, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry, _impl_.accountid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry, _impl_.gifts_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse, _impl_.servertime_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse, _impl_.time_period_seconds_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse, _impl_.total_gifts_given_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse, _impl_.total_givers_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse, _impl_.entries_), - 0, - 1, - 2, - 3, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientSubmitSurveyVote, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientSubmitSurveyVote, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientSubmitSurveyVote, _impl_.survey_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientSubmitSurveyVote, _impl_.vote_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Server2GCClientValidate, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Server2GCClientValidate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Server2GCClientValidate, _impl_.accountid_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTournamentInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTournamentInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTournamentInfo, _impl_.eventid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTournamentInfo, _impl_.stageid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTournamentInfo, _impl_.game_type_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientTournamentInfo, _impl_.teamids_), - 0, - 1, - 2, - ~0u, - PROTOBUF_FIELD_OFFSET(::CSOEconCoupon, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOEconCoupon, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOEconCoupon, _impl_.entryid_), - PROTOBUF_FIELD_OFFSET(::CSOEconCoupon, _impl_.defidx_), - PROTOBUF_FIELD_OFFSET(::CSOEconCoupon, _impl_.expiration_date_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CSOAccountItemPersonalStore, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOAccountItemPersonalStore, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOAccountItemPersonalStore, _impl_.generation_time_), - PROTOBUF_FIELD_OFFSET(::CSOAccountItemPersonalStore, _impl_.redeemable_balance_), - PROTOBUF_FIELD_OFFSET(::CSOAccountItemPersonalStore, _impl_.items_), - 0, - 1, - ~0u, - PROTOBUF_FIELD_OFFSET(::CSOAccountXpShop, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOAccountXpShop, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOAccountXpShop, _impl_.generation_time_), - PROTOBUF_FIELD_OFFSET(::CSOAccountXpShop, _impl_.redeemable_balance_), - PROTOBUF_FIELD_OFFSET(::CSOAccountXpShop, _impl_.xp_tracks_), - 0, - 1, - ~0u, - PROTOBUF_FIELD_OFFSET(::CSOAccountXpShopBids, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOAccountXpShopBids, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOAccountXpShopBids, _impl_.campaign_id_), - PROTOBUF_FIELD_OFFSET(::CSOAccountXpShopBids, _impl_.redeem_id_), - PROTOBUF_FIELD_OFFSET(::CSOAccountXpShopBids, _impl_.expected_cost_), - PROTOBUF_FIELD_OFFSET(::CSOAccountXpShopBids, _impl_.generation_time_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CSOVolatileItemOffer, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOVolatileItemOffer, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOVolatileItemOffer, _impl_.defidx_), - PROTOBUF_FIELD_OFFSET(::CSOVolatileItemOffer, _impl_.faux_itemid_), - PROTOBUF_FIELD_OFFSET(::CSOVolatileItemOffer, _impl_.generation_time_), - 0, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::CSOVolatileItemClaimedRewards, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOVolatileItemClaimedRewards, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOVolatileItemClaimedRewards, _impl_.defidx_), - PROTOBUF_FIELD_OFFSET(::CSOVolatileItemClaimedRewards, _impl_.reward_), - PROTOBUF_FIELD_OFFSET(::CSOVolatileItemClaimedRewards, _impl_.generation_time_), - 0, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::CSOAccountKeychainRemoveToolCharges, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOAccountKeychainRemoveToolCharges, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOAccountKeychainRemoveToolCharges, _impl_.charges_), - 0, - PROTOBUF_FIELD_OFFSET(::CSOQuestProgress, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOQuestProgress, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOQuestProgress, _impl_.questid_), - PROTOBUF_FIELD_OFFSET(::CSOQuestProgress, _impl_.points_remaining_), - PROTOBUF_FIELD_OFFSET(::CSOQuestProgress, _impl_.bonus_points_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CSOAccountSeasonalOperation, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOAccountSeasonalOperation, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOAccountSeasonalOperation, _impl_.season_value_), - PROTOBUF_FIELD_OFFSET(::CSOAccountSeasonalOperation, _impl_.tier_unlocked_), - PROTOBUF_FIELD_OFFSET(::CSOAccountSeasonalOperation, _impl_.premium_tiers_), - PROTOBUF_FIELD_OFFSET(::CSOAccountSeasonalOperation, _impl_.mission_id_), - PROTOBUF_FIELD_OFFSET(::CSOAccountSeasonalOperation, _impl_.missions_completed_), - PROTOBUF_FIELD_OFFSET(::CSOAccountSeasonalOperation, _impl_.redeemable_balance_), - PROTOBUF_FIELD_OFFSET(::CSOAccountSeasonalOperation, _impl_.season_pass_time_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringSubscription, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringSubscription, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringSubscription, _impl_.time_next_cycle_), - PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringSubscription, _impl_.time_initiated_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CSOGameAccountSteamChina, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOGameAccountSteamChina, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOGameAccountSteamChina, _impl_.time_last_update_), - PROTOBUF_FIELD_OFFSET(::CSOGameAccountSteamChina, _impl_.time_comms_ban_), - PROTOBUF_FIELD_OFFSET(::CSOGameAccountSteamChina, _impl_.time_play_ban_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CSOPersonaDataPublic, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOPersonaDataPublic, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOPersonaDataPublic, _impl_.player_level_), - PROTOBUF_FIELD_OFFSET(::CSOPersonaDataPublic, _impl_.commendation_), - PROTOBUF_FIELD_OFFSET(::CSOPersonaDataPublic, _impl_.elevated_state_), - PROTOBUF_FIELD_OFFSET(::CSOPersonaDataPublic, _impl_.xp_trail_timestamp_refresh_), - PROTOBUF_FIELD_OFFSET(::CSOPersonaDataPublic, _impl_.xp_trail_level_), - 1, - 0, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringMission, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringMission, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringMission, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringMission, _impl_.mission_id_), - PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringMission, _impl_.period_), - PROTOBUF_FIELD_OFFSET(::CSOAccountRecurringMission, _impl_.progress_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop, _impl_.prematch_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop, _impl_.postmatch_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop, _impl_.current_xp_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop, _impl_.current_level_), - 0, - 1, - 2, - 3, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats, _impl_.gs_location_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats, _impl_.data_center_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats, _impl_.num_locked_in_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats, _impl_.num_found_nearby_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats, _impl_.note_level_), - 0, - 1, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Subscribe, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Subscribe, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Subscribe, _impl_.ticket_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Unsubscribe, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Unsubscribe, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Unsubscribe, _impl_.timeleft_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Play, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Play, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Play, _impl_.ticket_), - PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Play, _impl_.gametimems_), - PROTOBUF_FIELD_OFFSET(::CMsgGC_GlobalGame_Play, _impl_.msperpoint_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_AcknowledgePenalty, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_AcknowledgePenalty, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_AcknowledgePenalty, _impl_.acknowledged_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin, _impl_.defindex_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin, _impl_.upgradeid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin, _impl_.hours_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin, _impl_.prestigetime_), - 1, - 0, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCStreamUnlock, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCStreamUnlock, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCStreamUnlock, _impl_.ticket_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Client2GCStreamUnlock, _impl_.os_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCRequestElevate, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCRequestElevate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCRequestElevate, _impl_.stage_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCChat, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCChat, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCChat, _impl_.match_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCChat, _impl_.text_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GCToClientChat, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GCToClientChat, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GCToClientChat, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GCToClientChat, _impl_.text_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientAuthKeyCode, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientAuthKeyCode, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientAuthKeyCode, _impl_.eventid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientAuthKeyCode, _impl_.code_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_GotvSyncPacket, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_GotvSyncPacket, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_GotvSyncPacket, _impl_.data_), - 0, - PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.signature_), - PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.accountid_), - PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.rtime_), - PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.endpos_), - PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.startpos_), - PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.left_), - PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.tx_defidx_), - PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.entindex_), - PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.hitbox_), - PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.creationtime_), - PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.equipslot_), - PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.trace_id_), - PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.normal_), - PROTOBUF_FIELD_OFFSET(::PlayerDecalDigitalSignature, _impl_.tint_id_), - 0, - 1, - 2, - ~0u, - ~0u, - ~0u, - 3, - 4, - 5, - 6, - 7, - 8, - ~0u, - 9, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPlayerDecalSign, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPlayerDecalSign, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPlayerDecalSign, _impl_.data_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPlayerDecalSign, _impl_.itemid_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_BetaEnrollment, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_BetaEnrollment, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_BetaEnrollment, _impl_.eresult_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientLogonFatalError, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientLogonFatalError, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientLogonFatalError, _impl_.errorcode_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientLogonFatalError, _impl_.message_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientLogonFatalError, _impl_.country_), - 2, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPollState, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPollState, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPollState, _impl_.pollid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPollState, _impl_.names_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPollState, _impl_.values_), - 0, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_.ver_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_.apr_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_.ark_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_.nby_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_.grp_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_.slots_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_.launcher_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Register, _impl_.game_type_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Search, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Search, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Search, _impl_.ver_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Search, _impl_.apr_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Search, _impl_.ark_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Search, _impl_.grps_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Search, _impl_.launcher_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Search, _impl_.game_type_), - 0, - 1, - 2, - ~0u, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults_Entry, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_.grp_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_.game_type_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_.apr_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_.ark_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_.loc_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_.accountid_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_SearchResults, _impl_.entries_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Invite, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Invite, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Invite, _impl_.accountid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Party_Invite, _impl_.lobbyid_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player, _impl_.accountid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player, _impl_.rtcoplay_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player, _impl_.online_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Account_RequestCoPlays, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Account_RequestCoPlays, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Account_RequestCoPlays, _impl_.players_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_Account_RequestCoPlays, _impl_.servertime_), - ~0u, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCRequestTicket, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCRequestTicket, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCRequestTicket, _impl_.authorized_steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCRequestTicket, _impl_.authorized_public_ip_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCRequestTicket, _impl_.gameserver_steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientToGCRequestTicket, _impl_.gameserver_sdr_routing_), - 1, - 3, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCToClientSteamDatagramTicket, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCToClientSteamDatagramTicket, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCToClientSteamDatagramTicket, _impl_.serialized_ticket_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestOffers, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestSouvenir, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestSouvenir, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestSouvenir, _impl_.itemid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestSouvenir, _impl_.matchid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientRequestSouvenir, _impl_.eventid_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientAccountBalance, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientAccountBalance, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientAccountBalance, _impl_.amount_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientAccountBalance, _impl_.url_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyJoinRelay, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyJoinRelay, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyJoinRelay, _impl_.accountid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyJoinRelay, _impl_.lobbyid_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyWarning_Entry, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyWarning_Entry, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyWarning_Entry, _impl_.accountid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyWarning_Entry, _impl_.warntype_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyWarning, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPartyWarning, _impl_.entries_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_SetEventFavorite, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_SetEventFavorite, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_SetEventFavorite, _impl_.eventid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_SetEventFavorite, _impl_.is_favorite_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GetEventFavorites_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GetEventFavorites_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GetEventFavorites_Request, _impl_.all_events_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GetEventFavorites_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GetEventFavorites_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GetEventFavorites_Response, _impl_.all_events_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GetEventFavorites_Response, _impl_.json_favorites_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GetEventFavorites_Response, _impl_.json_featured_), - 2, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport_Entry, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport_Entry, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport_Entry, _impl_.perfcounter_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport_Entry, _impl_.length_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport_Entry, _impl_.reference_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport_Entry, _impl_.actual_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport_Entry, _impl_.sourceid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport_Entry, _impl_.status_), - 2, - 3, - 0, - 1, - 4, - 5, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientPerfReport, _impl_.entries_), - PROTOBUF_FIELD_OFFSET(::CVDiagnostic, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CVDiagnostic, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CVDiagnostic, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::CVDiagnostic, _impl_.extended_), - PROTOBUF_FIELD_OFFSET(::CVDiagnostic, _impl_.value_), - PROTOBUF_FIELD_OFFSET(::CVDiagnostic, _impl_.string_value_), - 1, - 2, - 3, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.file_report_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.command_line_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.total_files_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.internal_error_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.trust_time_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.count_pending_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.count_completed_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.process_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.osversion_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.clientreportversion_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.status_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.diagnostic1_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.diagnostic2_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.diagnostic3_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.last_launch_data_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.report_count_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.client_time_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.diagnostic4_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.diagnostic5_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_ClientReportValidation, _impl_.diagnostics_), - 0, - 1, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 2, - 18, - 15, - 16, - 17, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.file_report_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.offer_insecure_mode_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.offer_secure_mode_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.show_unsigned_ui_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.kick_user_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.show_trusted_ui_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.show_warning_not_trusted_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.show_warning_not_trusted_2_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.files_prevented_trusted_), - 0, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRequestValidation, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRequestValidation, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRequestValidation, _impl_.full_report_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientRequestValidation, _impl_.module_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.load_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.outputname_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.key_data_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.sha_hash_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.cookie_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.manifest_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.system_package_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.load_system_), - 6, - 0, - 1, - 2, - 3, - 8, - 4, - 5, - 7, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.success_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.diagnostic_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.sha_hash_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.response_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.error_code1_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.error_code2_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.handle_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.einit_result_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.aux_system1_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.aux_system2_), - 2, - 0, - 1, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName, _impl_.leaderboard_safe_name_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgRequestRecurringMissionSchedule, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgRecurringMissionSchema_MissionTemplateList, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgRecurringMissionSchema_MissionTemplateList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgRecurringMissionSchema_MissionTemplateList, _impl_.period_), - PROTOBUF_FIELD_OFFSET(::CMsgRecurringMissionSchema_MissionTemplateList, _impl_.mission_templates_), - 0, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgRecurringMissionSchema, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgRecurringMissionSchema, _impl_.missions_), -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 9, -1, sizeof(::GameServerPing)}, - { 12, 20, -1, sizeof(::DataCenterPing)}, - { 22, 31, -1, sizeof(::DetailedSearchStatistic)}, - { 34, 47, -1, sizeof(::TournamentPlayer)}, - { 54, 65, -1, sizeof(::TournamentTeam)}, - { 70, 85, -1, sizeof(::TournamentEvent)}, - { 94, 115, -1, sizeof(::GlobalStatistics)}, - { 130, 138, -1, sizeof(::OperationalStatisticDescription)}, - { 140, 148, -1, sizeof(::OperationalStatisticElement)}, - { 150, 159, -1, sizeof(::OperationalStatisticsPacket)}, - { 162, 172, -1, sizeof(::OperationalVarValue)}, - { 176, 185, -1, sizeof(::PlayerRankingInfo_PerMapRank)}, - { 188, 209, -1, sizeof(::PlayerRankingInfo)}, - { 224, 233, -1, sizeof(::PlayerCommendationInfo)}, - { 236, 244, -1, sizeof(::PlayerMedalsInfo)}, - { 246, 256, -1, sizeof(::AccountActivity)}, - { 260, 270, -1, sizeof(::TournamentMatchSetup)}, - { 274, 300, -1, sizeof(::ServerHltvInfo)}, - { 320, 332, -1, sizeof(::IpAddressMask)}, - { 338, 347, -1, sizeof(::CMsgCsgoSteamUserStatChange)}, - { 350, 358, -1, sizeof(::XpProgressData)}, - { 360, 369, -1, sizeof(::MatchEndItemUpdates)}, - { 372, 380, -1, sizeof(::ScoreLeaderboardData_Entry)}, - { 382, 390, -1, sizeof(::ScoreLeaderboardData_AccountEntries)}, - { 392, 403, -1, sizeof(::ScoreLeaderboardData)}, - { 408, 421, -1, sizeof(::PlayerQuestData_QuestItemData)}, - { 428, 442, -1, sizeof(::PlayerQuestData)}, - { 450, 484, -1, sizeof(::DeepPlayerStatsEntry)}, - { 512, 532, -1, sizeof(::DeepPlayerMatchEvent)}, - { 546, 557, -1, sizeof(::CMsgGC_ServerQuestUpdateData)}, - { 562, 572, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm)}, - { 576, 584, -1, sizeof(::CMsgGCCStrike15_v2_GC2ServerReservationUpdate)}, - { 586, 600, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingStart)}, - { 608, 615, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingStop)}, - { 616, 626, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note)}, - { 630, 645, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing)}, - { 654, 676, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate)}, - { 692, 700, -1, sizeof(::CDataGCCStrike15_v2_TournamentMatchDraft_Entry)}, - { 702, 728, -1, sizeof(::CDataGCCStrike15_v2_TournamentMatchDraft)}, - { 748, 757, -1, sizeof(::CPreMatchInfoData_TeamStats)}, - { 760, 770, -1, sizeof(::CPreMatchInfoData)}, - { 774, 801, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve)}, - { 822, 847, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse)}, - { 866, 881, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve)}, - { 890, 897, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo)}, - { 898, 936, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats)}, - { 968, -1, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingClient2GCHello)}, - { 974, 1000, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello)}, - { 1020, 1028, -1, sizeof(::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting)}, - { 1030, -1, -1, sizeof(::CMsgGCCStrike15_v2_AccountPrivacySettings)}, - { 1037, 1047, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon)}, - { 1051, -1, -1, sizeof(::CMsgGCCStrike15_v2_ClientGCRankUpdate)}, - { 1058, 1065, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate)}, - { 1066, 1076, -1, sizeof(::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty)}, - { 1080, 1095, -1, sizeof(::CMsgGCCStrike15_v2_ClientReportPlayer)}, - { 1104, 1114, -1, sizeof(::CMsgGCCStrike15_v2_ClientCommendPlayer)}, - { 1118, 1130, -1, sizeof(::CMsgGCCStrike15_v2_ClientReportServer)}, - { 1136, 1148, -1, sizeof(::CMsgGCCStrike15_v2_ClientReportResponse)}, - { 1154, 1166, -1, sizeof(::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends)}, - { 1172, 1191, -1, sizeof(::WatchableMatchInfo)}, - { 1204, 1216, -1, sizeof(::CMsgGCCStrike15_v2_ClientRequestJoinFriendData)}, - { 1222, 1235, -1, sizeof(::CMsgGCCStrike15_v2_ClientRequestJoinServerData)}, - { 1242, 1253, -1, sizeof(::CMsgGCCstrike15_v2_ClientRedeemMissionReward)}, - { 1258, 1267, -1, sizeof(::CMsgGCCstrike15_v2_ClientRedeemFreeReward)}, - { 1270, 1286, -1, sizeof(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded)}, - { 1296, 1303, -1, sizeof(::CMsgGCCStrike15_v2_ClientNetworkConfig)}, - { 1304, 1313, -1, sizeof(::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange)}, - { 1316, 1324, -1, sizeof(::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch)}, - { 1326, 1335, -1, sizeof(::CMsgGCCStrike15_ClientDeepStats)}, - { 1338, 1348, -1, sizeof(::CMsgGCCStrike15_v2_WatchInfoUsers)}, - { 1352, 1362, -1, sizeof(::CMsgGCCStrike15_v2_ClientRequestPlayersProfile)}, - { 1366, 1374, -1, sizeof(::CMsgGCCStrike15_v2_PlayersProfile)}, - { 1376, 1385, -1, sizeof(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek)}, - { 1388, 1407, -1, sizeof(::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap)}, - { 1420, 1430, -1, sizeof(::CMsgGCCStrike15_v2_PremierSeasonSummary)}, - { 1434, 1448, -1, sizeof(::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate)}, - { 1456, 1473, -1, sizeof(::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment)}, - { 1484, 1492, -1, sizeof(::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus)}, - { 1494, 1502, -1, sizeof(::CClientHeaderOverwatchEvidence)}, - { 1504, 1513, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientTextMsg)}, - { 1516, 1524, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCTextMsg)}, - { 1526, 1534, -1, sizeof(::CMsgGCCStrike15_v2_MatchEndRunRewardDrops)}, - { 1536, 1553, -1, sizeof(::CEconItemPreviewDataBlock_Sticker)}, - { 1564, 1593, -1, sizeof(::CEconItemPreviewDataBlock)}, - { 1616, 1623, -1, sizeof(::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification)}, - { 1624, 1631, -1, sizeof(::CMsgItemAcknowledged)}, - { 1632, 1642, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest)}, - { 1646, 1653, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse)}, - { 1654, -1, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames)}, - { 1660, 1667, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser)}, - { 1668, 1675, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames)}, - { 1676, 1683, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestTournamentGames)}, - { 1684, 1693, -1, sizeof(::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo)}, - { 1696, 1707, -1, sizeof(::CDataGCCStrike15_v2_MatchInfo)}, - { 1712, 1721, -1, sizeof(::CDataGCCStrike15_v2_TournamentGroupTeam)}, - { 1724, -1, -1, sizeof(::CDataGCCStrike15_v2_TournamentGroup_Picks)}, - { 1731, 1747, -1, sizeof(::CDataGCCStrike15_v2_TournamentGroup)}, - { 1757, 1767, -1, sizeof(::CDataGCCStrike15_v2_TournamentSection)}, - { 1771, 1780, -1, sizeof(::CDataGCCStrike15_v2_TournamentInfo)}, - { 1783, 1795, -1, sizeof(::CMsgGCCStrike15_v2_MatchList)}, - { 1801, 1810, -1, sizeof(::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt)}, - { 1813, 1824, -1, sizeof(::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick)}, - { 1829, 1837, -1, sizeof(::CMsgGCCStrike15_v2_Predictions)}, - { 1839, 1848, -1, sizeof(::CMsgGCCStrike15_v2_Fantasy_FantasySlot)}, - { 1851, 1859, -1, sizeof(::CMsgGCCStrike15_v2_Fantasy_FantasyTeam)}, - { 1861, 1869, -1, sizeof(::CMsgGCCStrike15_v2_Fantasy)}, - { 1871, 1878, -1, sizeof(::CAttribute_String)}, - { 1879, 1888, -1, sizeof(::CMsgLegacySource1ClientWelcome_Location)}, - { 1891, 1908, -1, sizeof(::CMsgLegacySource1ClientWelcome)}, - { 1919, 1932, -1, sizeof(::CMsgCStrike15Welcome)}, - { 1939, 1950, -1, sizeof(::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo)}, - { 1955, 1965, -1, sizeof(::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo)}, - { 1969, -1, -1, sizeof(::CMsgGCCStrike15_v2_GiftsLeaderboardRequest)}, - { 1975, 1983, -1, sizeof(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry)}, - { 1985, 1996, -1, sizeof(::CMsgGCCStrike15_v2_GiftsLeaderboardResponse)}, - { 2001, 2009, -1, sizeof(::CMsgGCCStrike15_v2_ClientSubmitSurveyVote)}, - { 2011, 2018, -1, sizeof(::CMsgGCCStrike15_v2_Server2GCClientValidate)}, - { 2019, 2029, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientTournamentInfo)}, - { 2033, 2042, -1, sizeof(::CSOEconCoupon)}, - { 2045, 2054, -1, sizeof(::CSOAccountItemPersonalStore)}, - { 2057, 2066, -1, sizeof(::CSOAccountXpShop)}, - { 2069, 2079, -1, sizeof(::CSOAccountXpShopBids)}, - { 2083, 2092, -1, sizeof(::CSOVolatileItemOffer)}, - { 2095, 2104, -1, sizeof(::CSOVolatileItemClaimedRewards)}, - { 2107, 2114, -1, sizeof(::CSOAccountKeychainRemoveToolCharges)}, - { 2115, 2124, -1, sizeof(::CSOQuestProgress)}, - { 2127, 2140, -1, sizeof(::CSOAccountSeasonalOperation)}, - { 2147, 2155, -1, sizeof(::CSOAccountRecurringSubscription)}, - { 2157, 2166, -1, sizeof(::CSOGameAccountSteamChina)}, - { 2169, 2180, -1, sizeof(::CSOPersonaDataPublic)}, - { 2185, 2195, -1, sizeof(::CSOAccountRecurringMission)}, - { 2199, 2209, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop)}, - { 2213, -1, -1, sizeof(::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks)}, - { 2219, 2230, -1, sizeof(::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats)}, - { 2235, 2242, -1, sizeof(::CMsgGC_GlobalGame_Subscribe)}, - { 2243, 2250, -1, sizeof(::CMsgGC_GlobalGame_Unsubscribe)}, - { 2251, 2260, -1, sizeof(::CMsgGC_GlobalGame_Play)}, - { 2263, 2270, -1, sizeof(::CMsgGCCStrike15_v2_AcknowledgePenalty)}, - { 2271, 2281, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin)}, - { 2285, 2293, -1, sizeof(::CMsgGCCStrike15_v2_Client2GCStreamUnlock)}, - { 2295, 2302, -1, sizeof(::CMsgGCCStrike15_v2_ClientToGCRequestElevate)}, - { 2303, 2311, -1, sizeof(::CMsgGCCStrike15_v2_ClientToGCChat)}, - { 2313, 2321, -1, sizeof(::CMsgGCCStrike15_v2_GCToClientChat)}, - { 2323, 2331, -1, sizeof(::CMsgGCCStrike15_v2_ClientAuthKeyCode)}, - { 2333, 2340, -1, sizeof(::CMsgGCCStrike15_GotvSyncPacket)}, - { 2341, 2361, -1, sizeof(::PlayerDecalDigitalSignature)}, - { 2375, 2383, -1, sizeof(::CMsgGCCStrike15_v2_ClientPlayerDecalSign)}, - { 2385, 2392, -1, sizeof(::CMsgGCCStrike15_v2_BetaEnrollment)}, - { 2393, 2402, -1, sizeof(::CMsgGCCStrike15_v2_ClientLogonFatalError)}, - { 2405, 2414, -1, sizeof(::CMsgGCCStrike15_v2_ClientPollState)}, - { 2417, 2432, -1, sizeof(::CMsgGCCStrike15_v2_Party_Register)}, - { 2441, 2453, -1, sizeof(::CMsgGCCStrike15_v2_Party_Search)}, - { 2459, 2472, -1, sizeof(::CMsgGCCStrike15_v2_Party_SearchResults_Entry)}, - { 2479, -1, -1, sizeof(::CMsgGCCStrike15_v2_Party_SearchResults)}, - { 2486, 2494, -1, sizeof(::CMsgGCCStrike15_v2_Party_Invite)}, - { 2496, 2505, -1, sizeof(::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player)}, - { 2508, 2516, -1, sizeof(::CMsgGCCStrike15_v2_Account_RequestCoPlays)}, - { 2518, 2528, -1, sizeof(::CMsgGCCStrike15_v2_ClientToGCRequestTicket)}, - { 2532, 2539, -1, sizeof(::CMsgGCToClientSteamDatagramTicket)}, - { 2540, -1, -1, sizeof(::CMsgGCCStrike15_v2_ClientRequestOffers)}, - { 2546, 2555, -1, sizeof(::CMsgGCCStrike15_v2_ClientRequestSouvenir)}, - { 2558, 2566, -1, sizeof(::CMsgGCCStrike15_v2_ClientAccountBalance)}, - { 2568, 2576, -1, sizeof(::CMsgGCCStrike15_v2_ClientPartyJoinRelay)}, - { 2578, 2586, -1, sizeof(::CMsgGCCStrike15_v2_ClientPartyWarning_Entry)}, - { 2588, -1, -1, sizeof(::CMsgGCCStrike15_v2_ClientPartyWarning)}, - { 2595, 2603, -1, sizeof(::CMsgGCCStrike15_v2_SetEventFavorite)}, - { 2605, 2612, -1, sizeof(::CMsgGCCStrike15_v2_GetEventFavorites_Request)}, - { 2613, 2622, -1, sizeof(::CMsgGCCStrike15_v2_GetEventFavorites_Response)}, - { 2625, 2637, -1, sizeof(::CMsgGCCStrike15_v2_ClientPerfReport_Entry)}, - { 2643, -1, -1, sizeof(::CMsgGCCStrike15_v2_ClientPerfReport)}, - { 2650, 2660, -1, sizeof(::CVDiagnostic)}, - { 2664, 2690, -1, sizeof(::CMsgGCCStrike15_v2_ClientReportValidation)}, - { 2710, 2725, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode)}, - { 2734, 2742, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientRequestValidation)}, - { 2744, 2759, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientInitSystem)}, - { 2768, 2784, -1, sizeof(::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response)}, - { 2794, 2801, -1, sizeof(::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName)}, - { 2802, -1, -1, sizeof(::CMsgRequestRecurringMissionSchedule)}, - { 2808, 2816, -1, sizeof(::CMsgRecurringMissionSchema_MissionTemplateList)}, - { 2818, -1, -1, sizeof(::CMsgRecurringMissionSchema)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_GameServerPing_default_instance_._instance, - &::_DataCenterPing_default_instance_._instance, - &::_DetailedSearchStatistic_default_instance_._instance, - &::_TournamentPlayer_default_instance_._instance, - &::_TournamentTeam_default_instance_._instance, - &::_TournamentEvent_default_instance_._instance, - &::_GlobalStatistics_default_instance_._instance, - &::_OperationalStatisticDescription_default_instance_._instance, - &::_OperationalStatisticElement_default_instance_._instance, - &::_OperationalStatisticsPacket_default_instance_._instance, - &::_OperationalVarValue_default_instance_._instance, - &::_PlayerRankingInfo_PerMapRank_default_instance_._instance, - &::_PlayerRankingInfo_default_instance_._instance, - &::_PlayerCommendationInfo_default_instance_._instance, - &::_PlayerMedalsInfo_default_instance_._instance, - &::_AccountActivity_default_instance_._instance, - &::_TournamentMatchSetup_default_instance_._instance, - &::_ServerHltvInfo_default_instance_._instance, - &::_IpAddressMask_default_instance_._instance, - &::_CMsgCsgoSteamUserStatChange_default_instance_._instance, - &::_XpProgressData_default_instance_._instance, - &::_MatchEndItemUpdates_default_instance_._instance, - &::_ScoreLeaderboardData_Entry_default_instance_._instance, - &::_ScoreLeaderboardData_AccountEntries_default_instance_._instance, - &::_ScoreLeaderboardData_default_instance_._instance, - &::_PlayerQuestData_QuestItemData_default_instance_._instance, - &::_PlayerQuestData_default_instance_._instance, - &::_DeepPlayerStatsEntry_default_instance_._instance, - &::_DeepPlayerMatchEvent_default_instance_._instance, - &::_CMsgGC_ServerQuestUpdateData_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm_default_instance_._instance, - &::_CMsgGCCStrike15_v2_GC2ServerReservationUpdate_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchmakingStart_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchmakingStop_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchmakingClient2ServerPing_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_default_instance_._instance, - &::_CDataGCCStrike15_v2_TournamentMatchDraft_Entry_default_instance_._instance, - &::_CDataGCCStrike15_v2_TournamentMatchDraft_default_instance_._instance, - &::_CPreMatchInfoData_TeamStats_default_instance_._instance, - &::_CPreMatchInfoData_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchmakingServerReservationResponse_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchmakingServerRoundStats_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchmakingClient2GCHello_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchmakingGC2ClientHello_default_instance_._instance, - &::_CMsgGCCStrike15_v2_AccountPrivacySettings_Setting_default_instance_._instance, - &::_CMsgGCCStrike15_v2_AccountPrivacySettings_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientGCRankUpdate_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ServerNotificationForUserPenalty_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientReportPlayer_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientCommendPlayer_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientReportServer_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientReportResponse_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends_default_instance_._instance, - &::_WatchableMatchInfo_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientRequestJoinFriendData_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientRequestJoinServerData_default_instance_._instance, - &::_CMsgGCCstrike15_v2_ClientRedeemMissionReward_default_instance_._instance, - &::_CMsgGCCstrike15_v2_ClientRedeemFreeReward_default_instance_._instance, - &::_CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientNetworkConfig_default_instance_._instance, - &::_CMsgGCCStrike15_ClientDeepStats_DeepStatsRange_default_instance_._instance, - &::_CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch_default_instance_._instance, - &::_CMsgGCCStrike15_ClientDeepStats_default_instance_._instance, - &::_CMsgGCCStrike15_v2_WatchInfoUsers_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientRequestPlayersProfile_default_instance_._instance, - &::_CMsgGCCStrike15_v2_PlayersProfile_default_instance_._instance, - &::_CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek_default_instance_._instance, - &::_CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap_default_instance_._instance, - &::_CMsgGCCStrike15_v2_PremierSeasonSummary_default_instance_._instance, - &::_CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate_default_instance_._instance, - &::_CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment_default_instance_._instance, - &::_CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus_default_instance_._instance, - &::_CClientHeaderOverwatchEvidence_default_instance_._instance, - &::_CMsgGCCStrike15_v2_GC2ClientTextMsg_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Client2GCTextMsg_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchEndRunRewardDrops_default_instance_._instance, - &::_CEconItemPreviewDataBlock_Sticker_default_instance_._instance, - &::_CEconItemPreviewDataBlock_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchEndRewardDropsNotification_default_instance_._instance, - &::_CMsgItemAcknowledged_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchListRequestRecentUserGames_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchListRequestTournamentGames_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchListRequestFullGameInfo_default_instance_._instance, - &::_CDataGCCStrike15_v2_MatchInfo_default_instance_._instance, - &::_CDataGCCStrike15_v2_TournamentGroupTeam_default_instance_._instance, - &::_CDataGCCStrike15_v2_TournamentGroup_Picks_default_instance_._instance, - &::_CDataGCCStrike15_v2_TournamentGroup_default_instance_._instance, - &::_CDataGCCStrike15_v2_TournamentSection_default_instance_._instance, - &::_CDataGCCStrike15_v2_TournamentInfo_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchList_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Predictions_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Fantasy_FantasySlot_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Fantasy_FantasyTeam_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Fantasy_default_instance_._instance, - &::_CAttribute_String_default_instance_._instance, - &::_CMsgLegacySource1ClientWelcome_Location_default_instance_._instance, - &::_CMsgLegacySource1ClientWelcome_default_instance_._instance, - &::_CMsgCStrike15Welcome_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientVarValueNotificationInfo_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ServerVarValueNotificationInfo_default_instance_._instance, - &::_CMsgGCCStrike15_v2_GiftsLeaderboardRequest_default_instance_._instance, - &::_CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry_default_instance_._instance, - &::_CMsgGCCStrike15_v2_GiftsLeaderboardResponse_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientSubmitSurveyVote_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Server2GCClientValidate_default_instance_._instance, - &::_CMsgGCCStrike15_v2_GC2ClientTournamentInfo_default_instance_._instance, - &::_CSOEconCoupon_default_instance_._instance, - &::_CSOAccountItemPersonalStore_default_instance_._instance, - &::_CSOAccountXpShop_default_instance_._instance, - &::_CSOAccountXpShopBids_default_instance_._instance, - &::_CSOVolatileItemOffer_default_instance_._instance, - &::_CSOVolatileItemClaimedRewards_default_instance_._instance, - &::_CSOAccountKeychainRemoveToolCharges_default_instance_._instance, - &::_CSOQuestProgress_default_instance_._instance, - &::_CSOAccountSeasonalOperation_default_instance_._instance, - &::_CSOAccountRecurringSubscription_default_instance_._instance, - &::_CSOGameAccountSteamChina_default_instance_._instance, - &::_CSOPersonaDataPublic_default_instance_._instance, - &::_CSOAccountRecurringMission_default_instance_._instance, - &::_CMsgGCCStrike15_v2_GC2ClientNotifyXPShop_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Client2GcAckXPShopTracks_default_instance_._instance, - &::_CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats_default_instance_._instance, - &::_CMsgGC_GlobalGame_Subscribe_default_instance_._instance, - &::_CMsgGC_GlobalGame_Unsubscribe_default_instance_._instance, - &::_CMsgGC_GlobalGame_Play_default_instance_._instance, - &::_CMsgGCCStrike15_v2_AcknowledgePenalty_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Client2GCStreamUnlock_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientToGCRequestElevate_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientToGCChat_default_instance_._instance, - &::_CMsgGCCStrike15_v2_GCToClientChat_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientAuthKeyCode_default_instance_._instance, - &::_CMsgGCCStrike15_GotvSyncPacket_default_instance_._instance, - &::_PlayerDecalDigitalSignature_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientPlayerDecalSign_default_instance_._instance, - &::_CMsgGCCStrike15_v2_BetaEnrollment_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientLogonFatalError_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientPollState_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Party_Register_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Party_Search_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Party_SearchResults_Entry_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Party_SearchResults_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Party_Invite_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Account_RequestCoPlays_Player_default_instance_._instance, - &::_CMsgGCCStrike15_v2_Account_RequestCoPlays_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientToGCRequestTicket_default_instance_._instance, - &::_CMsgGCToClientSteamDatagramTicket_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientRequestOffers_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientRequestSouvenir_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientAccountBalance_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientPartyJoinRelay_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientPartyWarning_Entry_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientPartyWarning_default_instance_._instance, - &::_CMsgGCCStrike15_v2_SetEventFavorite_default_instance_._instance, - &::_CMsgGCCStrike15_v2_GetEventFavorites_Request_default_instance_._instance, - &::_CMsgGCCStrike15_v2_GetEventFavorites_Response_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientPerfReport_Entry_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientPerfReport_default_instance_._instance, - &::_CVDiagnostic_default_instance_._instance, - &::_CMsgGCCStrike15_v2_ClientReportValidation_default_instance_._instance, - &::_CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode_default_instance_._instance, - &::_CMsgGCCStrike15_v2_GC2ClientRequestValidation_default_instance_._instance, - &::_CMsgGCCStrike15_v2_GC2ClientInitSystem_default_instance_._instance, - &::_CMsgGCCStrike15_v2_GC2ClientInitSystem_Response_default_instance_._instance, - &::_CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName_default_instance_._instance, - &::_CMsgRequestRecurringMissionSchedule_default_instance_._instance, - &::_CMsgRecurringMissionSchema_MissionTemplateList_default_instance_._instance, - &::_CMsgRecurringMissionSchema_default_instance_._instance, -}; - -const char descriptor_table_protodef_cstrike15_5fgcmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\032cstrike15_gcmessages.proto\032\023steammessa" - "ges.proto\032\027engine_gcmessages.proto\032\026gcsd" - "k_gcmessages.proto\"=\n\016GameServerPing\022\014\n\004" - "ping\030\002 \001(\005\022\n\n\002ip\030\003 \001(\r\022\021\n\tinstances\030\005 \001(" - "\r\"6\n\016DataCenterPing\022\026\n\016data_center_id\030\001 " - "\001(\007\022\014\n\004ping\030\002 \001(\021\"`\n\027DetailedSearchStati" - "stic\022\021\n\tgame_type\030\001 \001(\r\022\027\n\017search_time_a" - "vg\030\002 \001(\r\022\031\n\021players_searching\030\004 \001(\r\"\247\001\n\020" - "TournamentPlayer\022\022\n\naccount_id\030\001 \001(\r\022\023\n\013" - "player_nick\030\002 \001(\t\022\023\n\013player_name\030\003 \001(\t\022\022" - "\n\nplayer_dob\030\004 \001(\r\022\023\n\013player_flag\030\005 \001(\t\022" - "\027\n\017player_location\030\006 \001(\t\022\023\n\013player_desc\030" - "\007 \001(\t\"}\n\016TournamentTeam\022\017\n\007team_id\030\001 \001(\005" - "\022\020\n\010team_tag\030\002 \001(\t\022\021\n\tteam_flag\030\003 \001(\t\022\021\n" - "\tteam_name\030\004 \001(\t\022\"\n\007players\030\005 \003(\0132\021.Tour" - "namentPlayer\"\337\001\n\017TournamentEvent\022\020\n\010even" - "t_id\030\001 \001(\005\022\021\n\tevent_tag\030\002 \001(\t\022\022\n\nevent_n" - "ame\030\003 \001(\t\022\030\n\020event_time_start\030\004 \001(\r\022\026\n\016e" - "vent_time_end\030\005 \001(\r\022\024\n\014event_public\030\006 \001(" - "\005\022\026\n\016event_stage_id\030\007 \001(\005\022\030\n\020event_stage" - "_name\030\010 \001(\t\022\031\n\021active_section_id\030\t \001(\r\"\305" - "\003\n\020GlobalStatistics\022\026\n\016players_online\030\001 " - "\001(\r\022\026\n\016servers_online\030\002 \001(\r\022\031\n\021players_s" - "earching\030\003 \001(\r\022\031\n\021servers_available\030\004 \001(" - "\r\022\027\n\017ongoing_matches\030\005 \001(\r\022\027\n\017search_tim" - "e_avg\030\006 \001(\r\0223\n\021search_statistics\030\007 \003(\0132\030" - ".DetailedSearchStatistic\022\025\n\rmain_post_ur" - "l\030\010 \001(\t\022\036\n\026required_appid_version\030\t \001(\r\022" - "\032\n\022pricesheet_version\030\n \001(\r\022\036\n\026twitch_st" - "reams_version\030\013 \001(\r\022!\n\031active_tournament" - "_eventid\030\014 \001(\r\022\030\n\020active_survey_id\030\r \001(\r" - "\022\023\n\013rtime32_cur\030\016 \001(\r\022\037\n\027required_appid_" - "version2\030\020 \001(\r\">\n\037OperationalStatisticDe" - "scription\022\014\n\004name\030\001 \001(\t\022\r\n\005idkey\030\002 \001(\r\"<" - "\n\033OperationalStatisticElement\022\r\n\005idkey\030\001" - " \001(\r\022\016\n\006values\030\002 \003(\005\"r\n\033OperationalStati" - "sticsPacket\022\020\n\010packetid\030\001 \001(\005\022\023\n\013mstimes" - "tamp\030\002 \001(\005\022,\n\006values\030\003 \003(\0132\034.Operational" - "StatisticElement\"S\n\023OperationalVarValue\022" - "\014\n\004name\030\001 \001(\t\022\016\n\006ivalue\030\002 \001(\005\022\016\n\006fvalue\030" - "\003 \001(\002\022\016\n\006svalue\030\004 \001(\014\"\270\003\n\021PlayerRankingI" - "nfo\022\022\n\naccount_id\030\001 \001(\r\022\017\n\007rank_id\030\002 \001(\r" - "\022\014\n\004wins\030\003 \001(\r\022\023\n\013rank_change\030\004 \001(\002\022\024\n\014r" - "ank_type_id\030\006 \001(\r\022\022\n\ntv_control\030\007 \001(\r\022\031\n" - "\021rank_window_stats\030\010 \001(\004\022\030\n\020leaderboard_" - "name\030\t \001(\t\022\023\n\013rank_if_win\030\n \001(\r\022\024\n\014rank_" - "if_lose\030\013 \001(\r\022\023\n\013rank_if_tie\030\014 \001(\r\0223\n\014pe" - "r_map_rank\030\r \003(\0132\035.PlayerRankingInfo.Per" - "MapRank\022\037\n\027leaderboard_name_status\030\016 \001(\r" - "\022\024\n\014highest_rank\030\017 \001(\r\022\023\n\013rank_expiry\030\020 " - "\001(\r\032;\n\nPerMapRank\022\016\n\006map_id\030\001 \001(\r\022\017\n\007ran" - "k_id\030\002 \001(\r\022\014\n\004wins\030\003 \001(\r\"X\n\026PlayerCommen" - "dationInfo\022\024\n\014cmd_friendly\030\001 \001(\r\022\024\n\014cmd_" - "teaching\030\002 \001(\r\022\022\n\ncmd_leader\030\004 \001(\r\"V\n\020Pl" - "ayerMedalsInfo\022\034\n\024display_items_defidx\030\007" - " \003(\r\022$\n\034featured_display_item_defidx\030\010 \001" - "(\r\"O\n\017AccountActivity\022\020\n\010activity\030\001 \001(\r\022" - "\014\n\004mode\030\002 \001(\r\022\013\n\003map\030\003 \001(\r\022\017\n\007matchid\030\004 " - "\001(\004\"g\n\024TournamentMatchSetup\022\020\n\010event_id\030" - "\001 \001(\005\022\022\n\nteam_id_ct\030\002 \001(\005\022\021\n\tteam_id_t\030\003" - " \001(\005\022\026\n\016event_stage_id\030\004 \001(\005\"\317\003\n\016ServerH" - "ltvInfo\022\023\n\013tv_udp_port\030\001 \001(\r\022\024\n\014tv_watch" - "_key\030\002 \001(\004\022\020\n\010tv_slots\030\003 \001(\r\022\022\n\ntv_clien" - "ts\030\004 \001(\r\022\022\n\ntv_proxies\030\005 \001(\r\022\017\n\007tv_time\030" - "\006 \001(\r\022\021\n\tgame_type\030\010 \001(\r\022\025\n\rgame_mapgrou" - "p\030\t \001(\t\022\020\n\010game_map\030\n \001(\t\022\031\n\021tv_master_s" - "teamid\030\013 \001(\004\022\026\n\016tv_local_slots\030\014 \001(\r\022\030\n\020" - "tv_local_clients\030\r \001(\r\022\030\n\020tv_local_proxi" - "es\030\016 \001(\r\022\026\n\016tv_relay_slots\030\017 \001(\r\022\030\n\020tv_r" - "elay_clients\030\020 \001(\r\022\030\n\020tv_relay_proxies\030\021" - " \001(\r\022\030\n\020tv_relay_address\030\022 \001(\r\022\025\n\rtv_rel" - "ay_port\030\023 \001(\r\022\030\n\020tv_relay_steamid\030\024 \001(\004\022" - "\r\n\005flags\030\025 \001(\r\"X\n\rIpAddressMask\022\t\n\001a\030\001 \001" - "(\r\022\t\n\001b\030\002 \001(\r\022\t\n\001c\030\003 \001(\r\022\t\n\001d\030\004 \001(\r\022\014\n\004b" - "its\030\005 \001(\r\022\r\n\005token\030\006 \001(\r\"Z\n\033CMsgCsgoStea" - "mUserStatChange\022\032\n\022ecsgosteamuserstat\030\001 " - "\001(\005\022\r\n\005delta\030\002 \001(\005\022\020\n\010absolute\030\003 \001(\010\"8\n\016" - "XpProgressData\022\021\n\txp_points\030\001 \001(\r\022\023\n\013xp_" - "category\030\002 \001(\005\"_\n\023MatchEndItemUpdates\022\017\n" - "\007item_id\030\001 \001(\004\022\030\n\020item_attr_defidx\030\002 \001(\r" - "\022\035\n\025item_attr_delta_value\030\003 \001(\r\"\270\002\n\024Scor" - "eLeaderboardData\022\020\n\010quest_id\030\001 \001(\004\022\r\n\005sc" - "ore\030\002 \001(\r\022<\n\016accountentries\030\003 \003(\0132$.Scor" - "eLeaderboardData.AccountEntries\0221\n\014match" - "entries\030\005 \003(\0132\033.ScoreLeaderboardData.Ent" - "ry\022\030\n\020leaderboard_name\030\006 \001(\t\032!\n\005Entry\022\013\n" - "\003tag\030\001 \001(\r\022\013\n\003val\030\002 \001(\r\032Q\n\016AccountEntrie" - "s\022\021\n\taccountid\030\001 \001(\r\022,\n\007entries\030\002 \003(\0132\033." - "ScoreLeaderboardData.Entry\"\272\004\n\017PlayerQue" - "stData\022\032\n\022quester_account_id\030\001 \001(\r\0227\n\017qu" - "est_item_data\030\002 \003(\0132\036.PlayerQuestData.Qu" - "estItemData\022)\n\020xp_progress_data\030\003 \003(\0132\017." - "XpProgressData\022\023\n\013time_played\030\004 \001(\r\022\024\n\014m" - "m_game_mode\030\005 \001(\r\022*\n\014item_updates\030\006 \003(\0132" - "\024.MatchEndItemUpdates\022!\n\031operation_point" - "s_eligible\030\007 \001(\010\0225\n\017userstatchanges\030\010 \003(" - "\0132\034.CMsgCsgoSteamUserStatChange\032\365\001\n\rQues" - "tItemData\022\020\n\010quest_id\030\001 \001(\004\022\"\n\032quest_nor" - "mal_points_earned\030\002 \001(\005\022!\n\031quest_bonus_p" - "oints_earned\030\003 \001(\005\022$\n\034quest_normal_point" - "s_required\030\004 \003(\005\022\027\n\017quest_reward_xp\030\005 \003(" - "\005\022\024\n\014quest_period\030\006 \001(\005\0226\n\nquest_type\030\007 " - "\001(\0162\n.QuestType:\026k_EQuestType_Operation\"" - "\226\005\n\024DeepPlayerStatsEntry\022\021\n\taccountid\030\001 " - "\001(\r\022\020\n\010match_id\030\002 \001(\004\022\024\n\014mm_game_mode\030\003 " - "\001(\r\022\r\n\005mapid\030\004 \001(\r\022\025\n\rb_starting_ct\030\005 \001(" - "\010\022\025\n\rmatch_outcome\030\006 \001(\r\022\022\n\nrounds_won\030\007" - " \001(\r\022\023\n\013rounds_lost\030\010 \001(\r\022\022\n\nstat_score\030" - "\t \001(\r\022\023\n\013stat_deaths\030\014 \001(\r\022\021\n\tstat_mvps\030" - "\r \001(\r\022\023\n\013enemy_kills\030\016 \001(\r\022\027\n\017enemy_head" - "shots\030\017 \001(\r\022\021\n\tenemy_2ks\030\020 \001(\r\022\021\n\tenemy_" - "3ks\030\021 \001(\r\022\021\n\tenemy_4ks\030\022 \001(\r\022\024\n\014total_da" - "mage\030\023 \001(\r\022\037\n\027engagements_entry_count\030\027 " - "\001(\r\022\036\n\026engagements_entry_wins\030\030 \001(\r\022\035\n\025e" - "ngagements_1v1_count\030\031 \001(\r\022\034\n\024engagement" - "s_1v1_wins\030\032 \001(\r\022\035\n\025engagements_1v2_coun" - "t\030\033 \001(\r\022\034\n\024engagements_1v2_wins\030\034 \001(\r\022\025\n" - "\rutility_count\030\035 \001(\r\022\027\n\017utility_success\030" - "\036 \001(\r\022\023\n\013flash_count\030 \001(\r\022\025\n\rflash_succ" - "ess\030! \001(\r\022\r\n\005mates\030\" \003(\r\"\261\002\n\024DeepPlayerM" - "atchEvent\022\021\n\taccountid\030\001 \001(\r\022\020\n\010match_id" - "\030\002 \001(\004\022\020\n\010event_id\030\003 \001(\r\022\022\n\nevent_type\030\004" - " \001(\r\022\024\n\014b_playing_ct\030\005 \001(\010\022\022\n\nuser_pos_x" - "\030\006 \001(\005\022\022\n\nuser_pos_y\030\007 \001(\005\022\022\n\nuser_pos_z" - "\030\014 \001(\005\022\023\n\013user_defidx\030\010 \001(\r\022\023\n\013other_pos" - "_x\030\t \001(\005\022\023\n\013other_pos_y\030\n \001(\005\022\023\n\013other_p" - "os_z\030\r \001(\005\022\024\n\014other_defidx\030\013 \001(\r\022\022\n\neven" - "t_data\030\016 \001(\005\"\264\001\n\034CMsgGC_ServerQuestUpdat" - "eData\022+\n\021player_quest_data\030\001 \003(\0132\020.Playe" - "rQuestData\022\023\n\013binary_data\030\002 \001(\014\022\024\n\014mm_ga" - "me_mode\030\003 \001(\r\022-\n\016missionlbsdata\030\004 \001(\0132\025." - "ScoreLeaderboardData\022\r\n\005flags\030\005 \001(\r\"o\n.C" - "MsgGCCStrike15_v2_MatchmakingGC2ServerCo" - "nfirm\022\r\n\005token\030\001 \001(\r\022\r\n\005stamp\030\002 \001(\r\022\020\n\010e" - "xchange\030\003 \001(\004\022\r\n\005retry\030\004 \001(\r\"o\n-CMsgGCCS" - "trike15_v2_GC2ServerReservationUpdate\022\036\n" - "\026viewers_external_total\030\001 \001(\r\022\036\n\026viewers" - "_external_steam\030\002 \001(\r\"\345\001\n#CMsgGCCStrike1" - "5_v2_MatchmakingStart\022\023\n\013account_ids\030\001 \003" - "(\r\022\021\n\tgame_type\030\002 \001(\r\022\023\n\013ticket_data\030\003 \001" - "(\t\022\026\n\016client_version\030\004 \001(\r\022/\n\020tournament" - "_match\030\005 \001(\0132\025.TournamentMatchSetup\022\022\n\np" - "rime_only\030\006 \001(\010\022\022\n\ntv_control\030\007 \001(\r\022\020\n\010l" - "obby_id\030\010 \001(\004\"5\n\"CMsgGCCStrike15_v2_Matc" - "hmakingStop\022\017\n\007abandon\030\001 \001(\005\"y\n2CMsgGCCS" - "trike15_v2_MatchmakingGC2ClientUpdate_No" - "te\022\014\n\004type\030\001 \001(\005\022\021\n\tregion_id\030\002 \001(\005\022\020\n\010r" - "egion_r\030\003 \001(\002\022\020\n\010distance\030\004 \001(\002\"\307\002\n/CMsg" - "GCCStrike15_v2_MatchmakingClient2ServerP" - "ing\022(\n\017gameserverpings\030\001 \003(\0132\017.GameServe" - "rPing\022\024\n\014offset_index\030\002 \001(\005\022\023\n\013final_bat" - "ch\030\003 \001(\005\022*\n\021data_center_pings\030\004 \003(\0132\017.Da" - "taCenterPing\022\020\n\010max_ping\030\005 \001(\r\022\022\n\ntest_t" - "oken\030\006 \001(\007\022\022\n\nsearch_key\030\007 \001(\014\022B\n\005notes\030" - "\010 \003(\01323.CMsgGCCStrike15_v2_MatchmakingGC" - "2ClientUpdate_Note\022\025\n\rdebug_message\030\t \001(" - "\t\"\226\005\n-CMsgGCCStrike15_v2_MatchmakingGC2C" - "lientUpdate\022\023\n\013matchmaking\030\001 \001(\005\022#\n\033wait" - "ing_account_id_sessions\030\002 \003(\r\022\r\n\005error\030\003" - " \001(\t\022(\n ongoingmatch_account_id_sessions" - "\030\006 \003(\r\022\'\n\014global_stats\030\007 \001(\0132\021.GlobalSta" - "tistics\022$\n\034failping_account_id_sessions\030" - "\010 \003(\r\022#\n\033penalty_account_id_sessions\030\t \003" - "(\r\022%\n\035failready_account_id_sessions\030\n \003(" - "\r\022%\n\035vacbanned_account_id_sessions\030\013 \003(\r" - "\022-\n\025server_ipaddress_mask\030\014 \001(\0132\016.IpAddr" - "essMask\022B\n\005notes\030\r \003(\01323.CMsgGCCStrike15" - "_v2_MatchmakingGC2ClientUpdate_Note\022)\n!p" - "enalty_account_id_sessions_green\030\016 \003(\r\022\"" - "\n\032insufficientlevel_sessions\030\017 \003(\r\022$\n\034vs" - "ncheck_account_id_sessions\030\020 \003(\r\022\"\n\032laun" - "cher_mismatch_sessions\030\021 \003(\r\022$\n\034insecure" - "_account_id_sessions\030\022 \003(\r\"\277\004\n(CDataGCCS" - "trike15_v2_TournamentMatchDraft\022\020\n\010event" - "_id\030\001 \001(\005\022\026\n\016event_stage_id\030\002 \001(\005\022\021\n\ttea" - "m_id_0\030\003 \001(\005\022\021\n\tteam_id_1\030\004 \001(\005\022\022\n\nmaps_" - "count\030\005 \001(\005\022\024\n\014maps_current\030\006 \001(\005\022\025\n\rtea" - "m_id_start\030\007 \001(\005\022\025\n\rteam_id_veto1\030\010 \001(\005\022" - "\025\n\rteam_id_pickn\030\t \001(\005\022\?\n\006drafts\030\n \003(\0132/" - ".CDataGCCStrike15_v2_TournamentMatchDraf" - "t.Entry\022\024\n\014vote_mapid_0\030\013 \003(\005\022\024\n\014vote_ma" - "pid_1\030\014 \003(\005\022\024\n\014vote_mapid_2\030\r \003(\005\022\024\n\014vot" - "e_mapid_3\030\016 \003(\005\022\024\n\014vote_mapid_4\030\017 \003(\005\022\024\n" - "\014vote_mapid_5\030\020 \003(\005\022\032\n\022vote_starting_sid" - "e\030\021 \003(\005\022\022\n\nvote_phase\030\022 \001(\005\022\030\n\020vote_phas" - "e_start\030\023 \001(\002\022\031\n\021vote_phase_length\030\024 \001(\002" - "\032*\n\005Entry\022\r\n\005mapid\030\001 \001(\005\022\022\n\nteam_id_ct\030\002" - " \001(\005\"\373\001\n\021CPreMatchInfoData\022\027\n\017prediction" - "s_pct\030\001 \001(\005\0228\n\005draft\030\004 \001(\0132).CDataGCCStr" - "ike15_v2_TournamentMatchDraft\022+\n\005stats\030\005" - " \003(\0132\034.CPreMatchInfoData.TeamStats\022\014\n\004wi" - "ns\030\006 \003(\005\032X\n\tTeamStats\022\031\n\021match_info_idxt" - "xt\030\001 \001(\005\022\026\n\016match_info_txt\030\002 \001(\t\022\030\n\020matc" - "h_info_teams\030\003 \003(\t\"\221\005\n.CMsgGCCStrike15_v" - "2_MatchmakingGC2ServerReserve\022\023\n\013account" - "_ids\030\001 \003(\r\022\021\n\tgame_type\030\002 \001(\r\022\020\n\010match_i" - "d\030\003 \001(\004\022\026\n\016server_version\030\004 \001(\r\022\r\n\005flags" - "\030\022 \001(\r\022$\n\010rankings\030\005 \003(\0132\022.PlayerRanking" - "Info\022\026\n\016encryption_key\030\006 \001(\004\022\032\n\022encrypti" - "on_key_pub\030\007 \001(\004\022\021\n\tparty_ids\030\010 \003(\r\022!\n\tw" - "hitelist\030\t \003(\0132\016.IpAddressMask\022\031\n\021tv_mas" - "ter_steamid\030\n \001(\004\022*\n\020tournament_event\030\013 " - "\001(\0132\020.TournamentEvent\022)\n\020tournament_team" - "s\030\014 \003(\0132\017.TournamentTeam\022&\n\036tournament_c" - "asters_account_ids\030\r \003(\r\022\030\n\020tv_relay_ste" - "amid\030\016 \001(\004\022*\n\016pre_match_data\030\017 \001(\0132\022.CPr" - "eMatchInfoData\022\022\n\ntv_control\030\021 \001(\r\022+\n\rop" - "_var_values\030\023 \003(\0132\024.OperationalVarValue\022" - "\027\n\017socache_control\030\024 \001(\r\022\027\n\017teammate_col" - "ors\030\025 \003(\005\022\033\n\023match_id_additional\030\026 \001(\r\"\340" - "\004\n7CMsgGCCStrike15_v2_MatchmakingServerR" - "eservationResponse\022\025\n\rreservationid\030\001 \001(" - "\004\022D\n\013reservation\030\002 \001(\0132/.CMsgGCCStrike15" - "_v2_MatchmakingGC2ServerReserve\022\013\n\003map\030\003" - " \001(\t\022\033\n\023gc_reservation_sent\030\004 \001(\004\022\026\n\016ser" - "ver_version\030\005 \001(\r\022 \n\007tv_info\030\006 \001(\0132\017.Ser" - "verHltvInfo\022\036\n\026reward_player_accounts\030\007 " - "\003(\r\022\034\n\024idle_player_accounts\030\010 \003(\r\022 \n\030rew" - "ard_item_attr_def_idx\030\t \001(\r\022\036\n\026reward_it" - "em_attr_value\030\n \001(\r\022#\n\033reward_item_attr_" - "reward_idx\030\013 \001(\r\022\030\n\020reward_drop_list\030\014 \001" - "(\r\022\026\n\016tournament_tag\030\r \001(\t\022!\n\031legacy_ste" - "amdatagram_port\030\016 \001(\r\022\035\n\025steamdatagram_r" - "outing\030\021 \001(\r\022\022\n\ntest_token\030\017 \001(\007\022\r\n\005flag" - "s\030\020 \001(\r\022\023\n\013system_load\030\022 \001(\r\022\023\n\013cpus_onl" - "ine\030\023 \001(\r\"\256\002\n.CMsgGCCStrike15_v2_Matchma" - "kingGC2ClientReserve\022\020\n\010serverid\030\001 \001(\004\022\025" - "\n\rdirect_udp_ip\030\002 \001(\r\022\027\n\017direct_udp_port" - "\030\003 \001(\r\022\025\n\rreservationid\030\004 \001(\004\022D\n\013reserva" - "tion\030\005 \001(\0132/.CMsgGCCStrike15_v2_Matchmak" - "ingGC2ServerReserve\022\013\n\003map\030\006 \001(\t\022\026\n\016serv" - "er_address\030\007 \001(\t\022 \n\007gs_ping\030\010 \001(\0132\017.Data" - "CenterPing\022\026\n\016gs_location_id\030\t \001(\r\"\202\007\n.C" - "MsgGCCStrike15_v2_MatchmakingServerRound" - "Stats\022\025\n\rreservationid\030\001 \001(\004\022D\n\013reservat" - "ion\030\002 \001(\0132/.CMsgGCCStrike15_v2_Matchmaki" - "ngGC2ServerReserve\022\013\n\003map\030\003 \001(\t\022\r\n\005round" - "\030\004 \001(\005\022\r\n\005kills\030\005 \003(\005\022\017\n\007assists\030\006 \003(\005\022\016" - "\n\006deaths\030\007 \003(\005\022\016\n\006scores\030\010 \003(\005\022\r\n\005pings\030" - "\t \003(\005\022\024\n\014round_result\030\n \001(\005\022\024\n\014match_res" - "ult\030\013 \001(\005\022\023\n\013team_scores\030\014 \003(\005\022@\n\007confir" - "m\030\r \001(\0132/.CMsgGCCStrike15_v2_Matchmaking" - "GC2ServerConfirm\022\031\n\021reservation_stage\030\016 " - "\001(\005\022\026\n\016match_duration\030\017 \001(\005\022\023\n\013enemy_kil" - "ls\030\020 \003(\005\022\027\n\017enemy_headshots\030\021 \003(\005\022\021\n\tene" - "my_3ks\030\022 \003(\005\022\021\n\tenemy_4ks\030\023 \003(\005\022\021\n\tenemy" - "_5ks\030\024 \003(\005\022\014\n\004mvps\030\025 \003(\005\022\030\n\020spectators_c" - "ount\030\026 \001(\r\022\033\n\023spectators_count_tv\030\027 \001(\r\022" - "\034\n\024spectators_count_lnk\030\030 \001(\r\022\027\n\017enemy_k" - "ills_agg\030\031 \003(\005\022K\n\tdrop_info\030\032 \001(\01328.CMsg" - "GCCStrike15_v2_MatchmakingServerRoundSta" - "ts.DropInfo\022\030\n\020b_switched_teams\030\033 \001(\010\022\021\n" - "\tenemy_2ks\030\034 \003(\005\022\026\n\016player_spawned\030\035 \003(\005" - "\022\030\n\020team_spawn_count\030\036 \003(\005\022\022\n\nmax_rounds" - "\030\037 \001(\r\022\016\n\006map_id\030 \001(\005\032\037\n\010DropInfo\022\023\n\013ac" - "count_mvp\030\001 \001(\r\".\n,CMsgGCCStrike15_v2_Ma" - "tchmakingClient2GCHello\"\345\005\n,CMsgGCCStrik" - "e15_v2_MatchmakingGC2ClientHello\022\022\n\nacco" - "unt_id\030\001 \001(\r\022E\n\014ongoingmatch\030\002 \001(\0132/.CMs" - "gGCCStrike15_v2_MatchmakingGC2ClientRese" - "rve\022\'\n\014global_stats\030\003 \001(\0132\021.GlobalStatis" - "tics\022\027\n\017penalty_seconds\030\004 \001(\r\022\026\n\016penalty" - "_reason\030\005 \001(\r\022\022\n\nvac_banned\030\006 \001(\005\022#\n\007ran" - "king\030\007 \001(\0132\022.PlayerRankingInfo\022-\n\014commen" - "dation\030\010 \001(\0132\027.PlayerCommendationInfo\022!\n" - "\006medals\030\t \001(\0132\021.PlayerMedalsInfo\022*\n\020my_c" - "urrent_event\030\n \001(\0132\020.TournamentEvent\022/\n\026" - "my_current_event_teams\030\013 \003(\0132\017.Tournamen" - "tTeam\022(\n\017my_current_team\030\014 \001(\0132\017.Tournam" - "entTeam\0221\n\027my_current_event_stages\030\r \003(\013" - "2\020.TournamentEvent\022\023\n\013survey_vote\030\016 \001(\r\022" - "\"\n\010activity\030\017 \001(\0132\020.AccountActivity\022\024\n\014p" - "layer_level\030\021 \001(\005\022\025\n\rplayer_cur_xp\030\022 \001(\005" - "\022\035\n\025player_xp_bonus_flags\030\023 \001(\005\022$\n\010ranki" - "ngs\030\024 \003(\0132\022.PlayerRankingInfo\022\020\n\010owcasei" - "d\030\025 \001(\004\"\251\001\n)CMsgGCCStrike15_v2_AccountPr" - "ivacySettings\022D\n\010settings\030\001 \003(\01322.CMsgGC" - "CStrike15_v2_AccountPrivacySettings.Sett" - "ing\0326\n\007Setting\022\024\n\014setting_type\030\001 \001(\r\022\025\n\r" - "setting_value\030\002 \001(\r\"\277\001\n.CMsgGCCStrike15_" - "v2_MatchmakingGC2ClientAbandon\022\022\n\naccoun" - "t_id\030\001 \001(\r\022H\n\017abandoned_match\030\002 \001(\0132/.CM" - "sgGCCStrike15_v2_MatchmakingGC2ClientRes" - "erve\022\027\n\017penalty_seconds\030\003 \001(\r\022\026\n\016penalty" - "_reason\030\004 \001(\r\"M\n%CMsgGCCStrike15_v2_Clie" - "ntGCRankUpdate\022$\n\010rankings\030\001 \003(\0132\022.Playe" - "rRankingInfo\"L\n3CMsgGCCStrike15_v2_Match" - "makingOperator2GCBlogUpdate\022\025\n\rmain_post" - "_url\030\001 \001(\t\"\212\001\n3CMsgGCCStrike15_v2_Server" - "NotificationForUserPenalty\022\022\n\naccount_id" - "\030\001 \001(\r\022\016\n\006reason\030\002 \001(\r\022\017\n\007seconds\030\003 \001(\r\022" - "\036\n\026communication_cooldown\030\004 \001(\010\"\355\001\n%CMsg" - "GCCStrike15_v2_ClientReportPlayer\022\022\n\nacc" - "ount_id\030\001 \001(\r\022\022\n\nrpt_aimbot\030\002 \001(\r\022\024\n\014rpt" - "_wallhack\030\003 \001(\r\022\025\n\rrpt_speedhack\030\004 \001(\r\022\024" - "\n\014rpt_teamharm\030\005 \001(\r\022\025\n\rrpt_textabuse\030\006 " - "\001(\r\022\026\n\016rpt_voiceabuse\030\007 \001(\r\022\020\n\010match_id\030" - "\010 \001(\004\022\030\n\020report_from_demo\030\t \001(\010\"\215\001\n&CMsg" - "GCCStrike15_v2_ClientCommendPlayer\022\022\n\nac" - "count_id\030\001 \001(\r\022\020\n\010match_id\030\010 \001(\004\022-\n\014comm" - "endation\030\t \001(\0132\027.PlayerCommendationInfo\022" - "\016\n\006tokens\030\n \001(\r\"\265\001\n%CMsgGCCStrike15_v2_C" - "lientReportServer\022\024\n\014rpt_poorperf\030\001 \001(\r\022" - "\031\n\021rpt_abusivemodels\030\002 \001(\r\022\023\n\013rpt_badmot" - "d\030\003 \001(\r\022\030\n\020rpt_listingabuse\030\004 \001(\r\022\032\n\022rpt" - "_inventoryabuse\030\005 \001(\r\022\020\n\010match_id\030\010 \001(\004\"" - "\251\001\n\'CMsgGCCStrike15_v2_ClientReportRespo" - "nse\022\027\n\017confirmation_id\030\001 \001(\004\022\022\n\naccount_" - "id\030\002 \001(\r\022\021\n\tserver_ip\030\003 \001(\r\022\025\n\rresponse_" - "type\030\004 \001(\r\022\027\n\017response_result\030\005 \001(\r\022\016\n\006t" - "okens\030\006 \001(\r\"\303\001\n0CMsgGCCStrike15_v2_Clien" - "tRequestWatchInfoFriends\022\022\n\nrequest_id\030\001" - " \001(\r\022\023\n\013account_ids\030\002 \003(\r\022\020\n\010serverid\030\003 " - "\001(\004\022\017\n\007matchid\030\004 \001(\004\022\027\n\017client_launcher\030" - "\005 \001(\r\022*\n\021data_center_pings\030\006 \003(\0132\017.DataC" - "enterPing\"\260\002\n\022WatchableMatchInfo\022\021\n\tserv" - "er_ip\030\001 \001(\r\022\017\n\007tv_port\030\002 \001(\r\022\025\n\rtv_spect" - "ators\030\003 \001(\r\022\017\n\007tv_time\030\004 \001(\r\022\031\n\021tv_watch" - "_password\030\005 \001(\014\022\032\n\022cl_decryptdata_key\030\006 " - "\001(\004\022\036\n\026cl_decryptdata_key_pub\030\007 \001(\004\022\021\n\tg" - "ame_type\030\010 \001(\r\022\025\n\rgame_mapgroup\030\t \001(\t\022\020\n" - "\010game_map\030\n \001(\t\022\021\n\tserver_id\030\013 \001(\004\022\020\n\010ma" - "tch_id\030\014 \001(\004\022\026\n\016reservation_id\030\r \001(\004\"\313\001\n" - ".CMsgGCCStrike15_v2_ClientRequestJoinFri" - "endData\022\017\n\007version\030\001 \001(\r\022\022\n\naccount_id\030\002" - " \001(\r\022\022\n\njoin_token\030\003 \001(\r\022\020\n\010join_ipp\030\004 \001" - "(\r\022<\n\003res\030\005 \001(\0132/.CMsgGCCStrike15_v2_Mat" - "chmakingGC2ClientReserve\022\020\n\010errormsg\030\006 \001" - "(\t\"\337\001\n.CMsgGCCStrike15_v2_ClientRequestJ" - "oinServerData\022\017\n\007version\030\001 \001(\r\022\022\n\naccoun" - "t_id\030\002 \001(\r\022\020\n\010serverid\030\003 \001(\004\022\021\n\tserver_i" - "p\030\004 \001(\r\022\023\n\013server_port\030\005 \001(\r\022<\n\003res\030\006 \001(" - "\0132/.CMsgGCCStrike15_v2_MatchmakingGC2Cli" - "entReserve\022\020\n\010errormsg\030\007 \001(\t\"\236\001\n,CMsgGCC" - "strike15_v2_ClientRedeemMissionReward\022\023\n" - "\013campaign_id\030\001 \001(\r\022\021\n\tredeem_id\030\002 \001(\r\022\032\n" - "\022redeemable_balance\030\003 \001(\r\022\025\n\rexpected_co" - "st\030\004 \001(\r\022\023\n\013bid_control\030\005 \001(\005\"o\n)CMsgGCC" - "strike15_v2_ClientRedeemFreeReward\022\027\n\017ge" - "neration_time\030\001 \001(\r\022\032\n\022redeemable_balanc" - "e\030\002 \001(\r\022\r\n\005items\030\003 \003(\004\"\271\002\n,CMsgGCCstrike" - "15_v2_GC2ServerNotifyXPRewarded\022)\n\020xp_pr" - "ogress_data\030\001 \003(\0132\017.XpProgressData\022\022\n\nac" - "count_id\030\002 \001(\r\022\022\n\ncurrent_xp\030\003 \001(\r\022\025\n\rcu" - "rrent_level\030\004 \001(\r\022\027\n\017upgraded_defidx\030\005 \001" - "(\r\022 \n\030operation_points_awarded\030\006 \001(\r\022\024\n\014" - "free_rewards\030\007 \001(\r\022\032\n\022xp_trail_remaining" - "\030\010 \001(\r\022\032\n\022xp_trail_xp_needed\030\t \001(\005\022\026\n\016xp" - "_trail_level\030\n \001(\r\"6\n&CMsgGCCStrike15_v2" - "_ClientNetworkConfig\022\014\n\004data\030\001 \001(\014\"\325\002\n\037C" - "MsgGCCStrike15_ClientDeepStats\022\022\n\naccoun" - "t_id\030\001 \001(\r\022>\n\005range\030\002 \001(\0132/.CMsgGCCStrik" - "e15_ClientDeepStats.DeepStatsRange\022@\n\007ma" - "tches\030\003 \003(\0132/.CMsgGCCStrike15_ClientDeep" - "Stats.DeepStatsMatch\032<\n\016DeepStatsRange\022\r" - "\n\005begin\030\001 \001(\r\022\013\n\003end\030\002 \001(\r\022\016\n\006frozen\030\003 \001" - "(\010\032^\n\016DeepStatsMatch\022%\n\006player\030\001 \001(\0132\025.D" - "eepPlayerStatsEntry\022%\n\006events\030\002 \003(\0132\025.De" - "epPlayerMatchEvent\"\232\001\n!CMsgGCCStrike15_v" - "2_WatchInfoUsers\022\022\n\nrequest_id\030\001 \001(\r\022\023\n\013" - "account_ids\030\002 \003(\r\0222\n\025watchable_match_inf" - "os\030\003 \003(\0132\023.WatchableMatchInfo\022\030\n\020extende" - "d_timeout\030\005 \001(\r\"\234\001\n.CMsgGCCStrike15_v2_C" - "lientRequestPlayersProfile\022\036\n\026request_id" - "__deprecated\030\001 \001(\r\022\037\n\027account_ids__depre" - "cated\030\002 \003(\r\022\022\n\naccount_id\030\003 \001(\r\022\025\n\rreque" - "st_level\030\004 \001(\r\"\200\001\n!CMsgGCCStrike15_v2_Pl" - "ayersProfile\022\022\n\nrequest_id\030\001 \001(\r\022G\n\020acco" - "unt_profiles\030\002 \003(\0132-.CMsgGCCStrike15_v2_" - "MatchmakingGC2ClientHello\"\226\004\n\'CMsgGCCStr" - "ike15_v2_PremierSeasonSummary\022\022\n\naccount" - "_id\030\001 \001(\r\022\021\n\tseason_id\030\002 \001(\r\022K\n\rdata_per" - "_week\030\003 \003(\01324.CMsgGCCStrike15_v2_Premier" - "SeasonSummary.DataPerWeek\022I\n\014data_per_ma" - "p\030\004 \003(\01323.CMsgGCCStrike15_v2_PremierSeas" - "onSummary.DataPerMap\032G\n\013DataPerWeek\022\017\n\007w" - "eek_id\030\001 \001(\004\022\017\n\007rank_id\030\002 \001(\r\022\026\n\016matches" - "_played\030\003 \001(\r\032\342\001\n\nDataPerMap\022\016\n\006map_id\030\001" - " \001(\r\022\014\n\004wins\030\002 \001(\r\022\014\n\004ties\030\003 \001(\r\022\016\n\006loss" - "es\030\004 \001(\r\022\016\n\006rounds\030\005 \001(\r\022\r\n\005kills\030\006 \001(\r\022" - "\021\n\theadshots\030\007 \001(\r\022\017\n\007assists\030\010 \001(\r\022\016\n\006d" - "eaths\030\t \001(\r\022\014\n\004mvps\030\n \001(\r\022\021\n\trounds_3k\030\013" - " \001(\r\022\021\n\trounds_4k\030\014 \001(\r\022\021\n\trounds_5k\030\r \001" - "(\r\"\314\001\n,CMsgGCCStrike15_v2_PlayerOverwatc" - "hCaseUpdate\022\016\n\006caseid\030\001 \001(\004\022\021\n\tsuspectid" - "\030\003 \001(\r\022\022\n\nfractionid\030\004 \001(\r\022\022\n\nrpt_aimbot" - "\030\005 \001(\r\022\024\n\014rpt_wallhack\030\006 \001(\r\022\025\n\rrpt_spee" - "dhack\030\007 \001(\r\022\024\n\014rpt_teamharm\030\010 \001(\r\022\016\n\006rea" - "son\030\t \001(\r\"\215\002\n0CMsgGCCStrike15_v2_PlayerO" - "verwatchCaseAssignment\022\016\n\006caseid\030\001 \001(\004\022\017" - "\n\007caseurl\030\002 \001(\t\022\017\n\007verdict\030\003 \001(\r\022\021\n\ttime" - "stamp\030\004 \001(\r\022\027\n\017throttleseconds\030\005 \001(\r\022\021\n\t" - "suspectid\030\006 \001(\r\022\022\n\nfractionid\030\007 \001(\r\022\021\n\tn" - "umrounds\030\010 \001(\r\022\026\n\016fractionrounds\030\t \001(\r\022\031" - "\n\021streakconvictions\030\n \001(\005\022\016\n\006reason\030\013 \001(" - "\r\"P\n,CMsgGCCStrike15_v2_PlayerOverwatchC" - "aseStatus\022\016\n\006caseid\030\001 \001(\004\022\020\n\010statusid\030\002 " - "\001(\r\"C\n\036CClientHeaderOverwatchEvidence\022\021\n" - "\taccountid\030\001 \001(\r\022\016\n\006caseid\030\002 \001(\004\"P\n#CMsg" - "GCCStrike15_v2_GC2ClientTextMsg\022\n\n\002id\030\001 " - "\001(\r\022\014\n\004type\030\002 \001(\r\022\017\n\007payload\030\003 \001(\014\"\?\n#CM" - "sgGCCStrike15_v2_Client2GCTextMsg\022\n\n\002id\030" - "\001 \001(\r\022\014\n\004args\030\002 \003(\014\"\266\001\n)CMsgGCCStrike15_" - "v2_MatchEndRunRewardDrops\022L\n\nserverinfo\030" - "\003 \001(\01328.CMsgGCCStrike15_v2_MatchmakingSe" - "rverReservationResponse\022;\n\024match_end_que" - "st_data\030\004 \001(\0132\035.CMsgGC_ServerQuestUpdate" - "Data\"\213\006\n\031CEconItemPreviewDataBlock\022\021\n\tac" - "countid\030\001 \001(\r\022\016\n\006itemid\030\002 \001(\004\022\020\n\010definde" - "x\030\003 \001(\r\022\022\n\npaintindex\030\004 \001(\r\022\016\n\006rarity\030\005 " - "\001(\r\022\017\n\007quality\030\006 \001(\r\022\021\n\tpaintwear\030\007 \001(\r\022" - "\021\n\tpaintseed\030\010 \001(\r\022\032\n\022killeaterscoretype" - "\030\t \001(\r\022\026\n\016killeatervalue\030\n \001(\r\022\022\n\ncustom" - "name\030\013 \001(\t\0224\n\010stickers\030\014 \003(\0132\".CEconItem" - "PreviewDataBlock.Sticker\022\021\n\tinventory\030\r " - "\001(\r\022\016\n\006origin\030\016 \001(\r\022\017\n\007questid\030\017 \001(\r\022\022\n\n" - "dropreason\030\020 \001(\r\022\022\n\nmusicindex\030\021 \001(\r\022\020\n\010" - "entindex\030\022 \001(\005\022\020\n\010petindex\030\023 \001(\r\0225\n\tkeyc" - "hains\030\024 \003(\0132\".CEconItemPreviewDataBlock." - "Sticker\022\r\n\005style\030\025 \001(\r\0226\n\nvariations\030\026 \003" - "(\0132\".CEconItemPreviewDataBlock.Sticker\022\025" - "\n\rupgrade_level\030\027 \001(\r\032\312\001\n\007Sticker\022\014\n\004slo" - "t\030\001 \001(\r\022\022\n\nsticker_id\030\002 \001(\r\022\014\n\004wear\030\003 \001(" - "\002\022\r\n\005scale\030\004 \001(\002\022\020\n\010rotation\030\005 \001(\002\022\017\n\007ti" - "nt_id\030\006 \001(\r\022\020\n\010offset_x\030\007 \001(\002\022\020\n\010offset_" - "y\030\010 \001(\002\022\020\n\010offset_z\030\t \001(\002\022\017\n\007pattern\030\n \001" - "(\r\022\026\n\016highlight_reel\030\013 \001(\r\"b\n2CMsgGCCStr" - "ike15_v2_MatchEndRewardDropsNotification" - "\022,\n\010iteminfo\030\006 \001(\0132\032.CEconItemPreviewDat" - "aBlock\"D\n\024CMsgItemAcknowledged\022,\n\010itemin" - "fo\030\001 \001(\0132\032.CEconItemPreviewDataBlock\"}\n7" - "CMsgGCCStrike15_v2_Client2GCEconPreviewD" - "ataBlockRequest\022\017\n\007param_s\030\001 \001(\004\022\017\n\007para" - "m_a\030\002 \001(\004\022\017\n\007param_d\030\003 \001(\004\022\017\n\007param_m\030\004 " - "\001(\004\"h\n8CMsgGCCStrike15_v2_Client2GCEconP" - "reviewDataBlockResponse\022,\n\010iteminfo\030\001 \001(" - "\0132\032.CEconItemPreviewDataBlock\"5\n3CMsgGCC" - "Strike15_v2_MatchListRequestCurrentLiveG" - "ames\"G\n2CMsgGCCStrike15_v2_MatchListRequ" - "estLiveGameForUser\022\021\n\taccountid\030\001 \001(\r\"G\n" - "2CMsgGCCStrike15_v2_MatchListRequestRece" - "ntUserGames\022\021\n\taccountid\030\001 \001(\r\"E\n2CMsgGC" - "CStrike15_v2_MatchListRequestTournamentG" - "ames\022\017\n\007eventid\030\001 \001(\005\"d\n/CMsgGCCStrike15" - "_v2_MatchListRequestFullGameInfo\022\017\n\007matc" - "hid\030\001 \001(\004\022\021\n\toutcomeid\030\002 \001(\004\022\r\n\005token\030\003 " - "\001(\r\"\210\002\n\035CDataGCCStrike15_v2_MatchInfo\022\017\n" - "\007matchid\030\001 \001(\004\022\021\n\tmatchtime\030\002 \001(\r\022/\n\022wat" - "chablematchinfo\030\003 \001(\0132\023.WatchableMatchIn" - "fo\022J\n\021roundstats_legacy\030\004 \001(\0132/.CMsgGCCS" - "trike15_v2_MatchmakingServerRoundStats\022F" - "\n\rroundstatsall\030\005 \003(\0132/.CMsgGCCStrike15_" - "v2_MatchmakingServerRoundStats\"^\n\'CDataG" - "CCStrike15_v2_TournamentGroupTeam\022\017\n\007tea" - "m_id\030\001 \001(\005\022\r\n\005score\030\002 \001(\005\022\023\n\013correctpick" - "\030\003 \001(\010\"\331\002\n#CDataGCCStrike15_v2_Tournamen" - "tGroup\022\017\n\007groupid\030\001 \001(\r\022\014\n\004name\030\002 \001(\t\022\014\n" - "\004desc\030\003 \001(\t\022\031\n\021picks__deprecated\030\004 \001(\r\0227" - "\n\005teams\030\005 \003(\0132(.CDataGCCStrike15_v2_Tour" - "namentGroupTeam\022\021\n\tstage_ids\030\006 \003(\005\022\031\n\021pi" - "cklockuntiltime\030\007 \001(\r\022\025\n\rpickableteams\030\010" - " \001(\r\022\027\n\017points_per_pick\030\t \001(\r\0229\n\005picks\030\n" - " \003(\0132*.CDataGCCStrike15_v2_TournamentGro" - "up.Picks\032\030\n\005Picks\022\017\n\007pickids\030\001 \003(\005\"\214\001\n%C" - "DataGCCStrike15_v2_TournamentSection\022\021\n\t" - "sectionid\030\001 \001(\r\022\014\n\004name\030\002 \001(\t\022\014\n\004desc\030\003 " - "\001(\t\0224\n\006groups\030\004 \003(\0132$.CDataGCCStrike15_v" - "2_TournamentGroup\"\265\001\n\"CDataGCCStrike15_v" - "2_TournamentInfo\0228\n\010sections\030\001 \003(\0132&.CDa" - "taGCCStrike15_v2_TournamentSection\022*\n\020to" - "urnament_event\030\002 \001(\0132\020.TournamentEvent\022)" - "\n\020tournament_teams\030\003 \003(\0132\017.TournamentTea" - "m\"\353\001\n\034CMsgGCCStrike15_v2_MatchList\022\024\n\014ms" - "grequestid\030\001 \001(\r\022\021\n\taccountid\030\002 \001(\r\022\022\n\ns" - "ervertime\030\003 \001(\r\022/\n\007matches\030\004 \003(\0132\036.CData" - "GCCStrike15_v2_MatchInfo\022 \n\007streams\030\005 \003(" - "\0132\017.TournamentTeam\022;\n\016tournamentinfo\030\006 \001" - "(\0132#.CDataGCCStrike15_v2_TournamentInfo\"" - "\211\001\n2CMsgGCCStrike15_v2_MatchListTourname" - "ntOperatorMgmt\022\017\n\007eventid\030\001 \001(\005\022/\n\007match" - "es\030\002 \003(\0132\036.CDataGCCStrike15_v2_MatchInfo" - "\022\021\n\taccountid\030\003 \001(\r\"\357\001\n\036CMsgGCCStrike15_" - "v2_Predictions\022\020\n\010event_id\030\001 \001(\r\022R\n\026grou" - "p_match_team_picks\030\002 \003(\01322.CMsgGCCStrike" - "15_v2_Predictions.GroupMatchTeamPick\032g\n\022" - "GroupMatchTeamPick\022\021\n\tsectionid\030\001 \001(\005\022\017\n" - "\007groupid\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\022\016\n\006teamid\030" - "\004 \001(\005\022\016\n\006itemid\030\005 \001(\004\"\373\001\n\032CMsgGCCStrike1" - "5_v2_Fantasy\022\020\n\010event_id\030\001 \001(\r\0226\n\005teams\030" - "\002 \003(\0132\'.CMsgGCCStrike15_v2_Fantasy.Fanta" - "syTeam\0329\n\013FantasySlot\022\014\n\004type\030\001 \001(\005\022\014\n\004p" - "ick\030\002 \001(\005\022\016\n\006itemid\030\003 \001(\004\032X\n\013FantasyTeam" - "\022\021\n\tsectionid\030\001 \001(\005\0226\n\005slots\030\002 \003(\0132\'.CMs" - "gGCCStrike15_v2_Fantasy.FantasySlot\"\"\n\021C" - "Attribute_String\022\r\n\005value\030\001 \001(\t\"\316\003\n\036CMsg" - "LegacySource1ClientWelcome\022\017\n\007version\030\001 " - "\001(\r\022\021\n\tgame_data\030\002 \001(\014\022;\n\033outofdate_subs" - "cribed_caches\030\003 \003(\0132\026.CMsgSOCacheSubscri" - "bed\022A\n\032uptodate_subscribed_caches\030\004 \003(\0132" - "\035.CMsgSOCacheSubscriptionCheck\022:\n\010locati" - "on\030\005 \001(\0132(.CMsgLegacySource1ClientWelcom" - "e.Location\022\022\n\ngame_data2\030\006 \001(\014\022$\n\034rtime3" - "2_gc_welcome_timestamp\030\007 \001(\r\022\020\n\010currency" - "\030\010 \001(\r\022\017\n\007balance\030\t \001(\r\022\023\n\013balance_url\030\n" - " \001(\t\022\030\n\020txn_country_code\030\013 \001(\t\032@\n\010Locati" - "on\022\020\n\010latitude\030\001 \001(\002\022\021\n\tlongitude\030\002 \001(\002\022" - "\017\n\007country\030\003 \001(\t\"\304\001\n\024CMsgCStrike15Welcom" - "e\022\027\n\017store_item_hash\030\005 \001(\r\022\037\n\027timeplayed" - "consecutively\030\006 \001(\r\022\031\n\021time_first_played" - "\030\n \001(\r\022\030\n\020last_time_played\030\014 \001(\r\022\027\n\017last" - "_ip_address\030\r \001(\r\022\022\n\ngscookieid\030\022 \001(\004\022\020\n" - "\010uniqueid\030\023 \001(\004\"\233\001\n1CMsgGCCStrike15_v2_C" - "lientVarValueNotificationInfo\022\022\n\nvalue_n" - "ame\030\001 \001(\t\022\021\n\tvalue_int\030\002 \001(\005\022\023\n\013server_a" - "ddr\030\003 \001(\r\022\023\n\013server_port\030\004 \001(\r\022\025\n\rchoked" - "_blocks\030\005 \003(\t\"z\n1CMsgGCCStrike15_v2_Serv" - "erVarValueNotificationInfo\022\021\n\taccountid\030" - "\001 \001(\r\022\022\n\nviewangles\030\002 \003(\r\022\014\n\004type\030\003 \001(\r\022" - "\020\n\010userdata\030\004 \003(\r\",\n*CMsgGCCStrike15_v2_" - "GiftsLeaderboardRequest\"\235\002\n+CMsgGCCStrik" - "e15_v2_GiftsLeaderboardResponse\022\022\n\nserve" - "rtime\030\001 \001(\r\022\033\n\023time_period_seconds\030\002 \001(\r" - "\022\031\n\021total_gifts_given\030\003 \001(\r\022\024\n\014total_giv" - "ers\030\004 \001(\r\022R\n\007entries\030\005 \003(\0132A.CMsgGCCStri" - "ke15_v2_GiftsLeaderboardResponse.GiftLea" - "derboardEntry\0328\n\024GiftLeaderboardEntry\022\021\n" - "\taccountid\030\001 \001(\r\022\r\n\005gifts\030\002 \001(\r\"L\n)CMsgG" - "CCStrike15_v2_ClientSubmitSurveyVote\022\021\n\t" - "survey_id\030\001 \001(\r\022\014\n\004vote\030\002 \001(\r\"\?\n*CMsgGCC" - "Strike15_v2_Server2GCClientValidate\022\021\n\ta" - "ccountid\030\001 \001(\r\"r\n*CMsgGCCStrike15_v2_GC2" - "ClientTournamentInfo\022\017\n\007eventid\030\001 \001(\r\022\017\n" - "\007stageid\030\002 \001(\r\022\021\n\tgame_type\030\003 \001(\r\022\017\n\007tea" - "mids\030\004 \003(\r\"O\n\rCSOEconCoupon\022\025\n\007entryid\030\001" - " \001(\rB\004\200\246\035\001\022\016\n\006defidx\030\002 \001(\r\022\027\n\017expiration" - "_date\030\003 \001(\007\"a\n\033CSOAccountItemPersonalSto" - "re\022\027\n\017generation_time\030\001 \001(\r\022\032\n\022redeemabl" - "e_balance\030\002 \001(\r\022\r\n\005items\030\003 \003(\004\"Z\n\020CSOAcc" - "ountXpShop\022\027\n\017generation_time\030\001 \001(\r\022\032\n\022r" - "edeemable_balance\030\002 \001(\r\022\021\n\txp_tracks\030\003 \003" - "(\r\"z\n\024CSOAccountXpShopBids\022\031\n\013campaign_i" - "d\030\001 \001(\rB\004\200\246\035\001\022\027\n\tredeem_id\030\002 \001(\rB\004\200\246\035\001\022\025" - "\n\rexpected_cost\030\003 \001(\r\022\027\n\017generation_time" - "\030\004 \001(\r\"Z\n\024CSOVolatileItemOffer\022\024\n\006defidx" - "\030\001 \001(\rB\004\200\246\035\001\022\023\n\013faux_itemid\030\002 \003(\004\022\027\n\017gen" - "eration_time\030\003 \003(\r\"^\n\035CSOVolatileItemCla" - "imedRewards\022\024\n\006defidx\030\001 \001(\rB\004\200\246\035\001\022\016\n\006rew" - "ard\030\002 \003(\r\022\027\n\017generation_time\030\003 \003(\r\"6\n#CS" - "OAccountKeychainRemoveToolCharges\022\017\n\007cha" - "rges\030\001 \001(\r\"Y\n\020CSOQuestProgress\022\025\n\007questi" - "d\030\001 \001(\rB\004\200\246\035\001\022\030\n\020points_remaining\030\002 \001(\r\022" - "\024\n\014bonus_points\030\003 \001(\r\"\315\001\n\033CSOAccountSeas" - "onalOperation\022\032\n\014season_value\030\001 \001(\rB\004\200\246\035" - "\001\022\025\n\rtier_unlocked\030\002 \001(\r\022\025\n\rpremium_tier" - "s\030\003 \001(\r\022\022\n\nmission_id\030\004 \001(\r\022\032\n\022missions_" - "completed\030\005 \001(\r\022\032\n\022redeemable_balance\030\006 " - "\001(\r\022\030\n\020season_pass_time\030\007 \001(\r\"R\n\037CSOAcco" - "untRecurringSubscription\022\027\n\017time_next_cy" - "cle\030\001 \001(\r\022\026\n\016time_initiated\030\002 \001(\r\"c\n\030CSO" - "GameAccountSteamChina\022\030\n\020time_last_updat" - "e\030\001 \001(\r\022\026\n\016time_comms_ban\030\002 \001(\r\022\025\n\rtime_" - "play_ban\030\003 \001(\r\"\257\001\n\024CSOPersonaDataPublic\022" - "\024\n\014player_level\030\001 \001(\005\022-\n\014commendation\030\002 " - "\001(\0132\027.PlayerCommendationInfo\022\026\n\016elevated" - "_state\030\003 \001(\010\022\"\n\032xp_trail_timestamp_refre" - "sh\030\004 \001(\r\022\026\n\016xp_trail_level\030\005 \001(\r\"f\n\032CSOA" - "ccountRecurringMission\022\022\n\naccount_id\030\001 \001" - "(\r\022\022\n\nmission_id\030\002 \001(\r\022\016\n\006period\030\003 \001(\r\022\020" - "\n\010progress\030\004 \001(\r\"\240\001\n(CMsgGCCStrike15_v2_" - "GC2ClientNotifyXPShop\022#\n\010prematch\030\001 \001(\0132" - "\021.CSOAccountXpShop\022$\n\tpostmatch\030\002 \001(\0132\021." - "CSOAccountXpShop\022\022\n\ncurrent_xp\030\003 \001(\r\022\025\n\r" - "current_level\030\004 \001(\r\"-\n+CMsgGCCStrike15_v" - "2_Client2GcAckXPShopTracks\"\251\001\n2CMsgGCCSt" - "rike15_v2_MatchmakingGC2ClientSearchStat" - "s\022\026\n\016gs_location_id\030\001 \001(\r\022\026\n\016data_center" - "_id\030\002 \001(\r\022\025\n\rnum_locked_in\030\003 \001(\r\022\030\n\020num_" - "found_nearby\030\004 \001(\r\022\022\n\nnote_level\030\005 \001(\r\"-" - "\n\033CMsgGC_GlobalGame_Subscribe\022\016\n\006ticket\030" - "\001 \001(\004\"1\n\035CMsgGC_GlobalGame_Unsubscribe\022\020" - "\n\010timeleft\030\001 \001(\005\"P\n\026CMsgGC_GlobalGame_Pl" - "ay\022\016\n\006ticket\030\001 \001(\004\022\022\n\ngametimems\030\002 \001(\r\022\022" - "\n\nmsperpoint\030\003 \001(\r\"=\n%CMsgGCCStrike15_v2" - "_AcknowledgePenalty\022\024\n\014acknowledged\030\001 \001(" - "\005\"{\n/CMsgGCCStrike15_v2_Client2GCRequest" - "PrestigeCoin\022\020\n\010defindex\030\001 \001(\r\022\021\n\tupgrad" - "eid\030\002 \001(\004\022\r\n\005hours\030\003 \001(\r\022\024\n\014prestigetime" - "\030\004 \001(\r\"F\n(CMsgGCCStrike15_v2_Client2GCSt" - "reamUnlock\022\016\n\006ticket\030\001 \001(\004\022\n\n\002os\030\002 \001(\005\"<" - "\n+CMsgGCCStrike15_v2_ClientToGCRequestEl" - "evate\022\r\n\005stage\030\001 \001(\r\"C\n!CMsgGCCStrike15_" - "v2_ClientToGCChat\022\020\n\010match_id\030\001 \001(\004\022\014\n\004t" - "ext\030\002 \001(\t\"E\n!CMsgGCCStrike15_v2_GCToClie" - "ntChat\022\022\n\naccount_id\030\001 \001(\r\022\014\n\004text\030\002 \001(\t" - "\"E\n$CMsgGCCStrike15_v2_ClientAuthKeyCode" - "\022\017\n\007eventid\030\001 \001(\r\022\014\n\004code\030\002 \001(\t\"F\n\036CMsgG" - "CCStrike15_GotvSyncPacket\022$\n\004data\030\001 \001(\0132" - "\026.CEngineGotvSyncPacket\"\223\002\n\033PlayerDecalD" - "igitalSignature\022\021\n\tsignature\030\001 \001(\014\022\021\n\tac" - "countid\030\002 \001(\r\022\r\n\005rtime\030\003 \001(\r\022\016\n\006endpos\030\004" - " \003(\002\022\020\n\010startpos\030\005 \003(\002\022\014\n\004left\030\006 \003(\002\022\021\n\t" - "tx_defidx\030\007 \001(\r\022\020\n\010entindex\030\010 \001(\005\022\016\n\006hit" - "box\030\t \001(\r\022\024\n\014creationtime\030\n \001(\002\022\021\n\tequip" - "slot\030\013 \001(\r\022\020\n\010trace_id\030\014 \001(\r\022\016\n\006normal\030\r" - " \003(\002\022\017\n\007tint_id\030\016 \001(\r\"f\n(CMsgGCCStrike15" - "_v2_ClientPlayerDecalSign\022*\n\004data\030\001 \001(\0132" - "\034.PlayerDecalDigitalSignature\022\016\n\006itemid\030" - "\002 \001(\004\"4\n!CMsgGCCStrike15_v2_BetaEnrollme" - "nt\022\017\n\007eresult\030\001 \001(\r\"_\n(CMsgGCCStrike15_v" - "2_ClientLogonFatalError\022\021\n\terrorcode\030\001 \001" - "(\r\022\017\n\007message\030\002 \001(\t\022\017\n\007country\030\003 \001(\t\"S\n\"" - "CMsgGCCStrike15_v2_ClientPollState\022\016\n\006po" - "llid\030\001 \001(\r\022\r\n\005names\030\002 \003(\t\022\016\n\006values\030\003 \003(" - "\005\"\244\001\n!CMsgGCCStrike15_v2_Party_Register\022" - "\n\n\002id\030\001 \001(\r\022\013\n\003ver\030\002 \001(\r\022\013\n\003apr\030\003 \001(\r\022\013\n" - "\003ark\030\004 \001(\r\022\013\n\003nby\030\005 \001(\r\022\013\n\003grp\030\006 \001(\r\022\r\n\005" - "slots\030\007 \001(\r\022\020\n\010launcher\030\010 \001(\r\022\021\n\tgame_ty" - "pe\030\t \001(\r\"{\n\037CMsgGCCStrike15_v2_Party_Sea" - "rch\022\013\n\003ver\030\001 \001(\r\022\013\n\003apr\030\002 \001(\r\022\013\n\003ark\030\003 \001" - "(\r\022\014\n\004grps\030\004 \003(\r\022\020\n\010launcher\030\005 \001(\r\022\021\n\tga" - "me_type\030\006 \001(\r\"\327\001\n&CMsgGCCStrike15_v2_Par" - "ty_SearchResults\022>\n\007entries\030\001 \003(\0132-.CMsg" - "GCCStrike15_v2_Party_SearchResults.Entry" - "\032m\n\005Entry\022\n\n\002id\030\001 \001(\r\022\013\n\003grp\030\002 \001(\r\022\021\n\tga" - "me_type\030\003 \001(\r\022\013\n\003apr\030\004 \001(\r\022\013\n\003ark\030\005 \001(\r\022" - "\013\n\003loc\030\006 \001(\r\022\021\n\taccountid\030\007 \001(\r\"E\n\037CMsgG" - "CCStrike15_v2_Party_Invite\022\021\n\taccountid\030" - "\001 \001(\r\022\017\n\007lobbyid\030\002 \001(\r\"\302\001\n)CMsgGCCStrike" - "15_v2_Account_RequestCoPlays\022B\n\007players\030" - "\001 \003(\01321.CMsgGCCStrike15_v2_Account_Reque" - "stCoPlays.Player\022\022\n\nservertime\030\002 \001(\r\032=\n\006" - "Player\022\021\n\taccountid\030\001 \001(\r\022\020\n\010rtcoplay\030\002 " - "\001(\r\022\016\n\006online\030\003 \001(\010\"\244\001\n*CMsgGCCStrike15_" - "v2_ClientToGCRequestTicket\022\033\n\023authorized" - "_steam_id\030\001 \001(\006\022\034\n\024authorized_public_ip\030" - "\002 \001(\007\022\033\n\023gameserver_steam_id\030\003 \001(\006\022\036\n\026ga" - "meserver_sdr_routing\030\005 \001(\t\">\n!CMsgGCToCl" - "ientSteamDatagramTicket\022\031\n\021serialized_ti" - "cket\030\020 \001(\014\"(\n&CMsgGCCStrike15_v2_ClientR" - "equestOffers\"\\\n(CMsgGCCStrike15_v2_Clien" - "tRequestSouvenir\022\016\n\006itemid\030\001 \001(\004\022\017\n\007matc" - "hid\030\002 \001(\004\022\017\n\007eventid\030\003 \001(\005\"F\n\'CMsgGCCStr" - "ike15_v2_ClientAccountBalance\022\016\n\006amount\030" - "\001 \001(\004\022\013\n\003url\030\002 \001(\t\"M\n\'CMsgGCCStrike15_v2" - "_ClientPartyJoinRelay\022\021\n\taccountid\030\001 \001(\r" - "\022\017\n\007lobbyid\030\002 \001(\004\"\224\001\n%CMsgGCCStrike15_v2" - "_ClientPartyWarning\022=\n\007entries\030\001 \003(\0132,.C" - "MsgGCCStrike15_v2_ClientPartyWarning.Ent" - "ry\032,\n\005Entry\022\021\n\taccountid\030\001 \001(\r\022\020\n\010warnty" - "pe\030\002 \001(\r\"K\n#CMsgGCCStrike15_v2_SetEventF" - "avorite\022\017\n\007eventid\030\001 \001(\004\022\023\n\013is_favorite\030" - "\002 \001(\010\"B\n,CMsgGCCStrike15_v2_GetEventFavo" - "rites_Request\022\022\n\nall_events\030\001 \001(\010\"r\n-CMs" - "gGCCStrike15_v2_GetEventFavorites_Respon" - "se\022\022\n\nall_events\030\001 \001(\010\022\026\n\016json_favorites" - "\030\002 \001(\t\022\025\n\rjson_featured\030\003 \001(\t\"\325\001\n#CMsgGC" - "CStrike15_v2_ClientPerfReport\022;\n\007entries" - "\030\001 \003(\0132*.CMsgGCCStrike15_v2_ClientPerfRe" - "port.Entry\032q\n\005Entry\022\023\n\013perfcounter\030\001 \001(\r" - "\022\016\n\006length\030\002 \001(\r\022\021\n\treference\030\003 \001(\014\022\016\n\006a" - "ctual\030\004 \001(\014\022\020\n\010sourceid\030\005 \001(\r\022\016\n\006status\030" - "\006 \001(\r\"Q\n\014CVDiagnostic\022\n\n\002id\030\001 \001(\r\022\020\n\010ext" - "ended\030\002 \001(\r\022\r\n\005value\030\003 \001(\004\022\024\n\014string_val" - "ue\030\004 \001(\t\"\360\003\n)CMsgGCCStrike15_v2_ClientRe" - "portValidation\022\023\n\013file_report\030\001 \001(\t\022\024\n\014c" - "ommand_line\030\002 \001(\t\022\023\n\013total_files\030\003 \001(\r\022\026" - "\n\016internal_error\030\004 \001(\r\022\022\n\ntrust_time\030\005 \001" - "(\r\022\025\n\rcount_pending\030\006 \001(\r\022\027\n\017count_compl" - "eted\030\007 \001(\r\022\022\n\nprocess_id\030\010 \001(\r\022\021\n\tosvers" - "ion\030\t \001(\005\022\033\n\023clientreportversion\030\n \001(\r\022\021" - "\n\tstatus_id\030\013 \001(\r\022\023\n\013diagnostic1\030\014 \001(\r\022\023" - "\n\013diagnostic2\030\r \001(\004\022\023\n\013diagnostic3\030\016 \001(\004" - "\022\030\n\020last_launch_data\030\017 \001(\t\022\024\n\014report_cou" - "nt\030\020 \001(\r\022\023\n\013client_time\030\021 \001(\004\022\023\n\013diagnos" - "tic4\030\022 \001(\004\022\023\n\013diagnostic5\030\023 \001(\004\022\"\n\013diagn" - "ostics\030\024 \003(\0132\r.CVDiagnostic\"\250\002\n,CMsgGCCS" - "trike15_v2_GC2ClientRefuseSecureMode\022\023\n\013" - "file_report\030\001 \001(\t\022\033\n\023offer_insecure_mode" - "\030\002 \001(\010\022\031\n\021offer_secure_mode\030\003 \001(\010\022\030\n\020sho" - "w_unsigned_ui\030\004 \001(\010\022\021\n\tkick_user\030\005 \001(\010\022\027" - "\n\017show_trusted_ui\030\006 \001(\010\022 \n\030show_warning_" - "not_trusted\030\007 \001(\010\022\"\n\032show_warning_not_tr" - "usted_2\030\010 \001(\010\022\037\n\027files_prevented_trusted" - "\030\t \001(\t\"T\n-CMsgGCCStrike15_v2_GC2ClientRe" - "questValidation\022\023\n\013full_report\030\001 \001(\010\022\016\n\006" - "module\030\002 \001(\t\"\313\001\n&CMsgGCCStrike15_v2_GC2C" - "lientInitSystem\022\014\n\004load\030\001 \001(\010\022\014\n\004name\030\002 " - "\001(\t\022\022\n\noutputname\030\003 \001(\t\022\020\n\010key_data\030\004 \001(" - "\014\022\020\n\010sha_hash\030\005 \001(\014\022\016\n\006cookie\030\006 \001(\005\022\020\n\010m" - "anifest\030\007 \001(\t\022\026\n\016system_package\030\010 \001(\014\022\023\n" - "\013load_system\030\t \001(\010\"\245\002\n/CMsgGCCStrike15_v" - "2_GC2ClientInitSystem_Response\022\017\n\007succes" - "s\030\001 \001(\010\022\022\n\ndiagnostic\030\002 \001(\t\022\020\n\010sha_hash\030" - "\003 \001(\014\022\020\n\010response\030\004 \001(\005\022\023\n\013error_code1\030\005" - " \001(\005\022\023\n\013error_code2\030\006 \001(\005\022\016\n\006handle\030\007 \001(" - "\003\022E\n\014einit_result\030\010 \001(\0162\022.EInitSystemRes" - "ult:\033k_EInitSystemResult_Invalid\022\023\n\013aux_" - "system1\030\t \001(\005\022\023\n\013aux_system2\030\n \001(\005\"P\n/CM" - "sgGCCStrike15_v2_SetPlayerLeaderboardSaf" - "eName\022\035\n\025leaderboard_safe_name\030\001 \001(\t\"%\n#" - "CMsgRequestRecurringMissionSchedule\"\241\001\n\032" - "CMsgRecurringMissionSchema\022A\n\010missions\030\001" - " \003(\0132/.CMsgRecurringMissionSchema.Missio" - "nTemplateList\032@\n\023MissionTemplateList\022\016\n\006" - "period\030\001 \001(\r\022\031\n\021mission_templates\030\002 \003(\014*" - "\311*\n\nECsgoGCMsg\022\036\n\031k_EMsgGCCStrike15_v2_B" - "ase\020\214G\022*\n%k_EMsgGCCStrike15_v2_Matchmaki" - "ngStart\020\215G\022)\n$k_EMsgGCCStrike15_v2_Match" - "makingStop\020\216G\0226\n1k_EMsgGCCStrike15_v2_Ma" - "tchmakingClient2ServerPing\020\217G\0224\n/k_EMsgG" - "CCStrike15_v2_MatchmakingGC2ClientUpdate" - "\020\220G\022>\n9k_EMsgGCCStrike15_v2_MatchmakingS" - "erverReservationResponse\020\222G\0225\n0k_EMsgGCC" - "Strike15_v2_MatchmakingGC2ClientReserve\020" - "\223G\0223\n.k_EMsgGCCStrike15_v2_MatchmakingCl" - "ient2GCHello\020\225G\0223\n.k_EMsgGCCStrike15_v2_" - "MatchmakingGC2ClientHello\020\226G\0225\n0k_EMsgGC" - "CStrike15_v2_MatchmakingGC2ClientAbandon" - "\020\230G\022:\n5k_EMsgGCCStrike15_v2_MatchmakingO" - "perator2GCBlogUpdate\020\235G\022:\n5k_EMsgGCCStri" - "ke15_v2_ServerNotificationForUserPenalty" - "\020\236G\022,\n\'k_EMsgGCCStrike15_v2_ClientReport" - "Player\020\237G\022,\n\'k_EMsgGCCStrike15_v2_Client" - "ReportServer\020\240G\022-\n(k_EMsgGCCStrike15_v2_" - "ClientCommendPlayer\020\241G\022.\n)k_EMsgGCCStrik" - "e15_v2_ClientReportResponse\020\242G\0222\n-k_EMsg" - "GCCStrike15_v2_ClientCommendPlayerQuery\020" - "\243G\022:\n5k_EMsgGCCStrike15_v2_ClientCommend" - "PlayerQueryResponse\020\244G\022(\n#k_EMsgGCCStrik" - "e15_v2_WatchInfoUsers\020\246G\0225\n0k_EMsgGCCStr" - "ike15_v2_ClientRequestPlayersProfile\020\247G\022" - "(\n#k_EMsgGCCStrike15_v2_PlayersProfile\020\250" - "G\0223\n.k_EMsgGCCStrike15_v2_PlayerOverwatc" - "hCaseUpdate\020\253G\0227\n2k_EMsgGCCStrike15_v2_P" - "layerOverwatchCaseAssignment\020\254G\0223\n.k_EMs" - "gGCCStrike15_v2_PlayerOverwatchCaseStatu" - "s\020\255G\022*\n%k_EMsgGCCStrike15_v2_GC2ClientTe" - "xtMsg\020\256G\022*\n%k_EMsgGCCStrike15_v2_Client2" - "GCTextMsg\020\257G\0220\n+k_EMsgGCCStrike15_v2_Mat" - "chEndRunRewardDrops\020\260G\0229\n4k_EMsgGCCStrik" - "e15_v2_MatchEndRewardDropsNotification\020\261" - "G\0228\n3k_EMsgGCCStrike15_v2_ClientRequestW" - "atchInfoFriends2\020\262G\022#\n\036k_EMsgGCCStrike15" - "_v2_MatchList\020\263G\022:\n5k_EMsgGCCStrike15_v2" - "_MatchListRequestCurrentLiveGames\020\264G\0229\n4" - "k_EMsgGCCStrike15_v2_MatchListRequestRec" - "entUserGames\020\265G\0224\n/k_EMsgGCCStrike15_v2_" - "GC2ServerReservationUpdate\020\266G\0228\n3k_EMsgG" - "CCStrike15_v2_ClientVarValueNotification" - "Info\020\270G\0229\n4k_EMsgGCCStrike15_v2_MatchLis" - "tRequestTournamentGames\020\272G\0226\n1k_EMsgGCCS" - "trike15_v2_MatchListRequestFullGameInfo\020" - "\273G\0221\n,k_EMsgGCCStrike15_v2_GiftsLeaderbo" - "ardRequest\020\274G\0222\n-k_EMsgGCCStrike15_v2_Gi" - "ftsLeaderboardResponse\020\275G\0228\n3k_EMsgGCCSt" - "rike15_v2_ServerVarValueNotificationInfo" - "\020\276G\0220\n+k_EMsgGCCStrike15_v2_ClientSubmit" - "SurveyVote\020\300G\0221\n,k_EMsgGCCStrike15_v2_Se" - "rver2GCClientValidate\020\301G\0229\n4k_EMsgGCCStr" - "ike15_v2_MatchListRequestLiveGameForUser" - "\020\302G\022>\n9k_EMsgGCCStrike15_v2_Client2GCEco" - "nPreviewDataBlockRequest\020\304G\022\?\n:k_EMsgGCC" - "Strike15_v2_Client2GCEconPreviewDataBloc" - "kResponse\020\305G\0220\n+k_EMsgGCCStrike15_v2_Acc" - "ountPrivacySettings\020\306G\022+\n&k_EMsgGCCStrik" - "e15_v2_SetMyActivityInfo\020\307G\022\?\n:k_EMsgGCC" - "Strike15_v2_MatchListRequestTournamentPr" - "edictions\020\310G\022>\n9k_EMsgGCCStrike15_v2_Mat" - "chListUploadTournamentPredictions\020\311G\022&\n!" - "k_EMsgGCCStrike15_v2_DraftSummary\020\312G\0225\n0" - "k_EMsgGCCStrike15_v2_ClientRequestJoinFr" - "iendData\020\313G\0225\n0k_EMsgGCCStrike15_v2_Clie" - "ntRequestJoinServerData\020\314G\0221\n,k_EMsgGCCS" - "trike15_v2_GC2ClientTournamentInfo\020\317G\022\"\n" - "\035k_EMsgGC_GlobalGame_Subscribe\020\320G\022$\n\037k_E" - "MsgGC_GlobalGame_Unsubscribe\020\321G\022\035\n\030k_EMs" - "gGC_GlobalGame_Play\020\322G\022,\n\'k_EMsgGCCStrik" - "e15_v2_AcknowledgePenalty\020\323G\0226\n1k_EMsgGC" - "CStrike15_v2_Client2GCRequestPrestigeCoi" - "n\020\324G\022.\n)k_EMsgGCCStrike15_v2_GC2ClientGl" - "obalStats\020\325G\022/\n*k_EMsgGCCStrike15_v2_Cli" - "ent2GCStreamUnlock\020\326G\0222\n-k_EMsgGCCStrike" - "15_v2_FantasyRequestClientData\020\327G\0221\n,k_E" - "MsgGCCStrike15_v2_FantasyUpdateClientDat" - "a\020\330G\0227\n2k_EMsgGCCStrike15_v2_GCToClientS" - "teamdatagramTicket\020\331G\0221\n,k_EMsgGCCStrike" - "15_v2_ClientToGCRequestTicket\020\332G\0222\n-k_EM" - "sgGCCStrike15_v2_ClientToGCRequestElevat" - "e\020\333G\022$\n\037k_EMsgGCCStrike15_v2_GlobalChat\020" - "\334G\022.\n)k_EMsgGCCStrike15_v2_GlobalChat_Su" - "bscribe\020\335G\0220\n+k_EMsgGCCStrike15_v2_Globa" - "lChat_Unsubscribe\020\336G\022+\n&k_EMsgGCCStrike1" - "5_v2_ClientAuthKeyCode\020\337G\022(\n#k_EMsgGCCSt" - "rike15_v2_GotvSyncPacket\020\340G\022/\n*k_EMsgGCC" - "Strike15_v2_ClientPlayerDecalSign\020\341G\022/\n*" - "k_EMsgGCCStrike15_v2_ClientLogonFatalErr" - "or\020\343G\022)\n$k_EMsgGCCStrike15_v2_ClientPoll" - "State\020\344G\022(\n#k_EMsgGCCStrike15_v2_Party_R" - "egister\020\345G\022*\n%k_EMsgGCCStrike15_v2_Party" - "_Unregister\020\346G\022&\n!k_EMsgGCCStrike15_v2_P" - "arty_Search\020\347G\022&\n!k_EMsgGCCStrike15_v2_P" - "arty_Invite\020\350G\0220\n+k_EMsgGCCStrike15_v2_A" - "ccount_RequestCoPlays\020\351G\022,\n\'k_EMsgGCCStr" - "ike15_v2_ClientGCRankUpdate\020\352G\022-\n(k_EMsg" - "GCCStrike15_v2_ClientRequestOffers\020\353G\022.\n" - ")k_EMsgGCCStrike15_v2_ClientAccountBalan" - "ce\020\354G\022.\n)k_EMsgGCCStrike15_v2_ClientPart" - "yJoinRelay\020\355G\022,\n\'k_EMsgGCCStrike15_v2_Cl" - "ientPartyWarning\020\356G\022*\n%k_EMsgGCCStrike15" - "_v2_SetEventFavorite\020\360G\0223\n.k_EMsgGCCStri" - "ke15_v2_GetEventFavorites_Request\020\361G\022*\n%" - "k_EMsgGCCStrike15_v2_ClientPerfReport\020\362G" - "\0224\n/k_EMsgGCCStrike15_v2_GetEventFavorit" - "es_Response\020\363G\022/\n*k_EMsgGCCStrike15_v2_C" - "lientRequestSouvenir\020\364G\0220\n+k_EMsgGCCStri" - "ke15_v2_ClientReportValidation\020\365G\0223\n.k_E" - "MsgGCCStrike15_v2_GC2ClientRefuseSecureM" - "ode\020\366G\0224\n/k_EMsgGCCStrike15_v2_GC2Client" - "RequestValidation\020\367G\0223\n.k_EMsgGCCStrike1" - "5_v2_ClientRedeemMissionReward\020\371G\022&\n!k_E" - "MsgGCCStrike15_ClientDeepStats\020\372G\0222\n-k_E" - "MsgGCCStrike15_StartAgreementSessionInGa" - "me\020\373G\022-\n(k_EMsgGCCStrike15_v2_GC2ClientI" - "nitSystem\020\374G\0226\n1k_EMsgGCCStrike15_v2_GC2" - "ClientInitSystem_Response\020\375G\022\'\n\"k_EMsgGC" - "CStrike15_v2_PrivateQueues\020\376G\0229\n4k_EMsgG" - "CCStrike15_v2_MatchListTournamentOperato" - "rMgmt\020\377G\022(\n#k_EMsgGCCStrike15_v2_BetaEnr" - "ollment\020\201H\0226\n1k_EMsgGCCStrike15_v2_SetPl" - "ayerLeaderboardSafeName\020\202H\0220\n+k_EMsgGCCS" - "trike15_v2_ClientRedeemFreeReward\020\203H\022-\n(" - "k_EMsgGCCStrike15_v2_ClientNetworkConfig" - "\020\204H\022/\n*k_EMsgGCCStrike15_v2_GC2ClientNot" - "ifyXPShop\020\205H\0222\n-k_EMsgGCCStrike15_v2_Cli" - "ent2GcAckXPShopTracks\020\206H\0229\n4k_EMsgGCCStr" - "ike15_v2_MatchmakingGC2ClientSearchStats" - "\020\207H\022.\n)k_EMsgGCCStrike15_v2_PremierSeaso" - "nSummary\020\210H\0229\n4k_EMsgGCCStrike15_v2_Requ" - "estRecurringMissionSchedule\020\211H\0220\n+k_EMsg" - "GCCStrike15_v2_RecurringMissionSchema\020\212H" - "\0221\n,k_EMsgGCCStrike15_v2_VolatileItemCla" - "imReward\020\213H*\230\001\n\022ECsgoSteamUserStat\022&\n\"k_" - "ECsgoSteamUserStat_XpEarnedGames\020\001\022-\n)k_" - "ECsgoSteamUserStat_MatchWinsCompetitive\020" - "\002\022+\n\'k_ECsgoSteamUserStat_SurvivedDanger" - "Zone\020\003*J\n\tQuestType\022\032\n\026k_EQuestType_Oper" - "ation\020\001\022!\n\035k_EQuestType_RecurringMission" - "\020\002*\241\001\n\027EClientReportingVersion\022(\n$k_ECli" - "entReportingVersion_OldVersion\020\000\022)\n%k_EC" - "lientReportingVersion_BetaVersion\020\001\0221\n-k" - "_EClientReportingVersion_SupportsTrusted" - "Mode\020\002*\276\002\n\021EInitSystemResult\022\037\n\033k_EInitS" - "ystemResult_Invalid\020\000\022\037\n\033k_EInitSystemRe" - "sult_Success\020\001\022\034\n\030k_EInitSystemResult_No" - "ne\020\002\022 \n\034k_EInitSystemResult_NotFound\020\003\022 " - "\n\034k_EInitSystemResult_Existing\020\004\022\"\n\036k_EI" - "nitSystemResult_FailedOpen\020\005\022 \n\034k_EInitS" - "ystemResult_Mismatch\020\006\022\"\n\036k_EInitSystemR" - "esult_FailedInit\020\007\022\033\n\027k_EInitSystemResul" - "t_Max\020\010" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_cstrike15_5fgcmessages_2eproto_deps[3] = { - &::descriptor_table_engine_5fgcmessages_2eproto, - &::descriptor_table_gcsdk_5fgcmessages_2eproto, - &::descriptor_table_steammessages_2eproto, -}; -static ::_pbi::once_flag descriptor_table_cstrike15_5fgcmessages_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_cstrike15_5fgcmessages_2eproto = { - false, false, 34367, descriptor_table_protodef_cstrike15_5fgcmessages_2eproto, - "cstrike15_gcmessages.proto", - &descriptor_table_cstrike15_5fgcmessages_2eproto_once, descriptor_table_cstrike15_5fgcmessages_2eproto_deps, 3, 180, - schemas, file_default_instances, TableStruct_cstrike15_5fgcmessages_2eproto::offsets, - file_level_metadata_cstrike15_5fgcmessages_2eproto, file_level_enum_descriptors_cstrike15_5fgcmessages_2eproto, - file_level_service_descriptors_cstrike15_5fgcmessages_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_cstrike15_5fgcmessages_2eproto_getter() { - return &descriptor_table_cstrike15_5fgcmessages_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_cstrike15_5fgcmessages_2eproto(&descriptor_table_cstrike15_5fgcmessages_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECsgoGCMsg_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_cstrike15_5fgcmessages_2eproto); - return file_level_enum_descriptors_cstrike15_5fgcmessages_2eproto[0]; -} -bool ECsgoGCMsg_IsValid(int value) { - switch (value) { - case 9100: - case 9101: - case 9102: - case 9103: - case 9104: - case 9106: - case 9107: - case 9109: - case 9110: - case 9112: - case 9117: - case 9118: - case 9119: - case 9120: - case 9121: - case 9122: - case 9123: - case 9124: - case 9126: - case 9127: - case 9128: - case 9131: - case 9132: - case 9133: - case 9134: - case 9135: - case 9136: - case 9137: - case 9138: - case 9139: - case 9140: - case 9141: - case 9142: - case 9144: - case 9146: - case 9147: - case 9148: - case 9149: - case 9150: - case 9152: - case 9153: - case 9154: - case 9156: - case 9157: - case 9158: - case 9159: - case 9160: - case 9161: - case 9162: - case 9163: - case 9164: - case 9167: - case 9168: - case 9169: - case 9170: - case 9171: - case 9172: - case 9173: - case 9174: - case 9175: - case 9176: - case 9177: - case 9178: - case 9179: - case 9180: - case 9181: - case 9182: - case 9183: - case 9184: - case 9185: - case 9187: - case 9188: - case 9189: - case 9190: - case 9191: - case 9192: - case 9193: - case 9194: - case 9195: - case 9196: - case 9197: - case 9198: - case 9200: - case 9201: - case 9202: - case 9203: - case 9204: - case 9205: - case 9206: - case 9207: - case 9209: - case 9210: - case 9211: - case 9212: - case 9213: - case 9214: - case 9215: - case 9217: - case 9218: - case 9219: - case 9220: - case 9221: - case 9222: - case 9223: - case 9224: - case 9225: - case 9226: - case 9227: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECsgoSteamUserStat_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_cstrike15_5fgcmessages_2eproto); - return file_level_enum_descriptors_cstrike15_5fgcmessages_2eproto[1]; -} -bool ECsgoSteamUserStat_IsValid(int value) { - switch (value) { - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* QuestType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_cstrike15_5fgcmessages_2eproto); - return file_level_enum_descriptors_cstrike15_5fgcmessages_2eproto[2]; -} -bool QuestType_IsValid(int value) { - switch (value) { - case 1: - case 2: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EClientReportingVersion_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_cstrike15_5fgcmessages_2eproto); - return file_level_enum_descriptors_cstrike15_5fgcmessages_2eproto[3]; -} -bool EClientReportingVersion_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EInitSystemResult_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_cstrike15_5fgcmessages_2eproto); - return file_level_enum_descriptors_cstrike15_5fgcmessages_2eproto[4]; -} -bool EInitSystemResult_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - return true; - default: - return false; - } -} - - -// =================================================================== - -class GameServerPing::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ping(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_ip(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_instances(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -GameServerPing::GameServerPing(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:GameServerPing) -} -GameServerPing::GameServerPing(const GameServerPing& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - GameServerPing* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ping_){} - , decltype(_impl_.ip_){} - , decltype(_impl_.instances_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.ping_, &from._impl_.ping_, - static_cast(reinterpret_cast(&_impl_.instances_) - - reinterpret_cast(&_impl_.ping_)) + sizeof(_impl_.instances_)); - // @@protoc_insertion_point(copy_constructor:GameServerPing) -} - -inline void GameServerPing::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ping_){0} - , decltype(_impl_.ip_){0u} - , decltype(_impl_.instances_){0u} - }; -} - -GameServerPing::~GameServerPing() { - // @@protoc_insertion_point(destructor:GameServerPing) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void GameServerPing::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void GameServerPing::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void GameServerPing::Clear() { -// @@protoc_insertion_point(message_clear_start:GameServerPing) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.ping_, 0, static_cast( - reinterpret_cast(&_impl_.instances_) - - reinterpret_cast(&_impl_.ping_)) + sizeof(_impl_.instances_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* GameServerPing::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 ping = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_ping(&has_bits); - _impl_.ping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ip = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_ip(&has_bits); - _impl_.ip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 instances = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_instances(&has_bits); - _impl_.instances_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* GameServerPing::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:GameServerPing) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 ping = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_ping(), target); - } - - // optional uint32 ip = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_ip(), target); - } - - // optional uint32 instances = 5; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_instances(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:GameServerPing) - return target; -} - -size_t GameServerPing::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:GameServerPing) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 ping = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ping()); - } - - // optional uint32 ip = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ip()); - } - - // optional uint32 instances = 5; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_instances()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GameServerPing::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - GameServerPing::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GameServerPing::GetClassData() const { return &_class_data_; } - - -void GameServerPing::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:GameServerPing) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.ping_ = from._impl_.ping_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.ip_ = from._impl_.ip_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.instances_ = from._impl_.instances_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void GameServerPing::CopyFrom(const GameServerPing& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:GameServerPing) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GameServerPing::IsInitialized() const { - return true; -} - -void GameServerPing::InternalSwap(GameServerPing* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(GameServerPing, _impl_.instances_) - + sizeof(GameServerPing::_impl_.instances_) - - PROTOBUF_FIELD_OFFSET(GameServerPing, _impl_.ping_)>( - reinterpret_cast(&_impl_.ping_), - reinterpret_cast(&other->_impl_.ping_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata GameServerPing::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[0]); -} - -// =================================================================== - -class DataCenterPing::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_data_center_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_ping(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -DataCenterPing::DataCenterPing(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:DataCenterPing) -} -DataCenterPing::DataCenterPing(const DataCenterPing& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - DataCenterPing* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_center_id_){} - , decltype(_impl_.ping_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.data_center_id_, &from._impl_.data_center_id_, - static_cast(reinterpret_cast(&_impl_.ping_) - - reinterpret_cast(&_impl_.data_center_id_)) + sizeof(_impl_.ping_)); - // @@protoc_insertion_point(copy_constructor:DataCenterPing) -} - -inline void DataCenterPing::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_center_id_){0u} - , decltype(_impl_.ping_){0} - }; -} - -DataCenterPing::~DataCenterPing() { - // @@protoc_insertion_point(destructor:DataCenterPing) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void DataCenterPing::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void DataCenterPing::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void DataCenterPing::Clear() { -// @@protoc_insertion_point(message_clear_start:DataCenterPing) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.data_center_id_, 0, static_cast( - reinterpret_cast(&_impl_.ping_) - - reinterpret_cast(&_impl_.data_center_id_)) + sizeof(_impl_.ping_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* DataCenterPing::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 data_center_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_data_center_id(&has_bits); - _impl_.data_center_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional sint32 ping = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_ping(&has_bits); - _impl_.ping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* DataCenterPing::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:DataCenterPing) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 data_center_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_data_center_id(), target); - } - - // optional sint32 ping = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(2, this->_internal_ping(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:DataCenterPing) - return target; -} - -size_t DataCenterPing::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:DataCenterPing) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional fixed32 data_center_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional sint32 ping = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(this->_internal_ping()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DataCenterPing::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - DataCenterPing::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DataCenterPing::GetClassData() const { return &_class_data_; } - - -void DataCenterPing::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:DataCenterPing) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.data_center_id_ = from._impl_.data_center_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.ping_ = from._impl_.ping_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void DataCenterPing::CopyFrom(const DataCenterPing& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:DataCenterPing) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DataCenterPing::IsInitialized() const { - return true; -} - -void DataCenterPing::InternalSwap(DataCenterPing* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(DataCenterPing, _impl_.ping_) - + sizeof(DataCenterPing::_impl_.ping_) - - PROTOBUF_FIELD_OFFSET(DataCenterPing, _impl_.data_center_id_)>( - reinterpret_cast(&_impl_.data_center_id_), - reinterpret_cast(&other->_impl_.data_center_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata DataCenterPing::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[1]); -} - -// =================================================================== - -class DetailedSearchStatistic::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_game_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_search_time_avg(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_players_searching(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -DetailedSearchStatistic::DetailedSearchStatistic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:DetailedSearchStatistic) -} -DetailedSearchStatistic::DetailedSearchStatistic(const DetailedSearchStatistic& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - DetailedSearchStatistic* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.game_type_){} - , decltype(_impl_.search_time_avg_){} - , decltype(_impl_.players_searching_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.game_type_, &from._impl_.game_type_, - static_cast(reinterpret_cast(&_impl_.players_searching_) - - reinterpret_cast(&_impl_.game_type_)) + sizeof(_impl_.players_searching_)); - // @@protoc_insertion_point(copy_constructor:DetailedSearchStatistic) -} - -inline void DetailedSearchStatistic::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.game_type_){0u} - , decltype(_impl_.search_time_avg_){0u} - , decltype(_impl_.players_searching_){0u} - }; -} - -DetailedSearchStatistic::~DetailedSearchStatistic() { - // @@protoc_insertion_point(destructor:DetailedSearchStatistic) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void DetailedSearchStatistic::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void DetailedSearchStatistic::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void DetailedSearchStatistic::Clear() { -// @@protoc_insertion_point(message_clear_start:DetailedSearchStatistic) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.game_type_, 0, static_cast( - reinterpret_cast(&_impl_.players_searching_) - - reinterpret_cast(&_impl_.game_type_)) + sizeof(_impl_.players_searching_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* DetailedSearchStatistic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 game_type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_game_type(&has_bits); - _impl_.game_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 search_time_avg = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_search_time_avg(&has_bits); - _impl_.search_time_avg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 players_searching = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_players_searching(&has_bits); - _impl_.players_searching_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* DetailedSearchStatistic::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:DetailedSearchStatistic) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 game_type = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_game_type(), target); - } - - // optional uint32 search_time_avg = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_search_time_avg(), target); - } - - // optional uint32 players_searching = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_players_searching(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:DetailedSearchStatistic) - return target; -} - -size_t DetailedSearchStatistic::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:DetailedSearchStatistic) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 game_type = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_game_type()); - } - - // optional uint32 search_time_avg = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_search_time_avg()); - } - - // optional uint32 players_searching = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_players_searching()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DetailedSearchStatistic::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - DetailedSearchStatistic::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DetailedSearchStatistic::GetClassData() const { return &_class_data_; } - - -void DetailedSearchStatistic::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:DetailedSearchStatistic) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.game_type_ = from._impl_.game_type_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.search_time_avg_ = from._impl_.search_time_avg_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.players_searching_ = from._impl_.players_searching_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void DetailedSearchStatistic::CopyFrom(const DetailedSearchStatistic& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:DetailedSearchStatistic) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DetailedSearchStatistic::IsInitialized() const { - return true; -} - -void DetailedSearchStatistic::InternalSwap(DetailedSearchStatistic* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(DetailedSearchStatistic, _impl_.players_searching_) - + sizeof(DetailedSearchStatistic::_impl_.players_searching_) - - PROTOBUF_FIELD_OFFSET(DetailedSearchStatistic, _impl_.game_type_)>( - reinterpret_cast(&_impl_.game_type_), - reinterpret_cast(&other->_impl_.game_type_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata DetailedSearchStatistic::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[2]); -} - -// =================================================================== - -class TournamentPlayer::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_player_nick(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_player_name(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_player_dob(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_player_flag(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_player_location(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_player_desc(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -TournamentPlayer::TournamentPlayer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:TournamentPlayer) -} -TournamentPlayer::TournamentPlayer(const TournamentPlayer& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TournamentPlayer* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.player_nick_){} - , decltype(_impl_.player_name_){} - , decltype(_impl_.player_flag_){} - , decltype(_impl_.player_location_){} - , decltype(_impl_.player_desc_){} - , decltype(_impl_.account_id_){} - , decltype(_impl_.player_dob_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.player_nick_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.player_nick_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_player_nick()) { - _this->_impl_.player_nick_.Set(from._internal_player_nick(), - _this->GetArenaForAllocation()); - } - _impl_.player_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.player_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_player_name()) { - _this->_impl_.player_name_.Set(from._internal_player_name(), - _this->GetArenaForAllocation()); - } - _impl_.player_flag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.player_flag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_player_flag()) { - _this->_impl_.player_flag_.Set(from._internal_player_flag(), - _this->GetArenaForAllocation()); - } - _impl_.player_location_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.player_location_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_player_location()) { - _this->_impl_.player_location_.Set(from._internal_player_location(), - _this->GetArenaForAllocation()); - } - _impl_.player_desc_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.player_desc_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_player_desc()) { - _this->_impl_.player_desc_.Set(from._internal_player_desc(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.player_dob_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.player_dob_)); - // @@protoc_insertion_point(copy_constructor:TournamentPlayer) -} - -inline void TournamentPlayer::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.player_nick_){} - , decltype(_impl_.player_name_){} - , decltype(_impl_.player_flag_){} - , decltype(_impl_.player_location_){} - , decltype(_impl_.player_desc_){} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.player_dob_){0u} - }; - _impl_.player_nick_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.player_nick_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.player_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.player_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.player_flag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.player_flag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.player_location_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.player_location_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.player_desc_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.player_desc_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -TournamentPlayer::~TournamentPlayer() { - // @@protoc_insertion_point(destructor:TournamentPlayer) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TournamentPlayer::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.player_nick_.Destroy(); - _impl_.player_name_.Destroy(); - _impl_.player_flag_.Destroy(); - _impl_.player_location_.Destroy(); - _impl_.player_desc_.Destroy(); -} - -void TournamentPlayer::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TournamentPlayer::Clear() { -// @@protoc_insertion_point(message_clear_start:TournamentPlayer) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.player_nick_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.player_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.player_flag_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.player_location_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000010u) { - _impl_.player_desc_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x00000060u) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.player_dob_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.player_dob_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TournamentPlayer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string player_nick = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_player_nick(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "TournamentPlayer.player_nick"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string player_name = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_player_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "TournamentPlayer.player_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 player_dob = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_player_dob(&has_bits); - _impl_.player_dob_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string player_flag = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_player_flag(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "TournamentPlayer.player_flag"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string player_location = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_player_location(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "TournamentPlayer.player_location"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string player_desc = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_player_desc(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "TournamentPlayer.player_desc"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TournamentPlayer::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:TournamentPlayer) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional string player_nick = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_player_nick().data(), static_cast(this->_internal_player_nick().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "TournamentPlayer.player_nick"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_player_nick(), target); - } - - // optional string player_name = 3; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_player_name().data(), static_cast(this->_internal_player_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "TournamentPlayer.player_name"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_player_name(), target); - } - - // optional uint32 player_dob = 4; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_player_dob(), target); - } - - // optional string player_flag = 5; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_player_flag().data(), static_cast(this->_internal_player_flag().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "TournamentPlayer.player_flag"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_player_flag(), target); - } - - // optional string player_location = 6; - if (cached_has_bits & 0x00000008u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_player_location().data(), static_cast(this->_internal_player_location().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "TournamentPlayer.player_location"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_player_location(), target); - } - - // optional string player_desc = 7; - if (cached_has_bits & 0x00000010u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_player_desc().data(), static_cast(this->_internal_player_desc().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "TournamentPlayer.player_desc"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_player_desc(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:TournamentPlayer) - return target; -} - -size_t TournamentPlayer::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:TournamentPlayer) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional string player_nick = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_player_nick()); - } - - // optional string player_name = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_player_name()); - } - - // optional string player_flag = 5; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_player_flag()); - } - - // optional string player_location = 6; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_player_location()); - } - - // optional string player_desc = 7; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_player_desc()); - } - - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 player_dob = 4; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_player_dob()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TournamentPlayer::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TournamentPlayer::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TournamentPlayer::GetClassData() const { return &_class_data_; } - - -void TournamentPlayer::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:TournamentPlayer) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_player_nick(from._internal_player_nick()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_player_name(from._internal_player_name()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_player_flag(from._internal_player_flag()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_player_location(from._internal_player_location()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_set_player_desc(from._internal_player_desc()); - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.player_dob_ = from._impl_.player_dob_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TournamentPlayer::CopyFrom(const TournamentPlayer& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:TournamentPlayer) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TournamentPlayer::IsInitialized() const { - return true; -} - -void TournamentPlayer::InternalSwap(TournamentPlayer* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.player_nick_, lhs_arena, - &other->_impl_.player_nick_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.player_name_, lhs_arena, - &other->_impl_.player_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.player_flag_, lhs_arena, - &other->_impl_.player_flag_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.player_location_, lhs_arena, - &other->_impl_.player_location_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.player_desc_, lhs_arena, - &other->_impl_.player_desc_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(TournamentPlayer, _impl_.player_dob_) - + sizeof(TournamentPlayer::_impl_.player_dob_) - - PROTOBUF_FIELD_OFFSET(TournamentPlayer, _impl_.account_id_)>( - reinterpret_cast(&_impl_.account_id_), - reinterpret_cast(&other->_impl_.account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TournamentPlayer::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[3]); -} - -// =================================================================== - -class TournamentTeam::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_team_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_team_tag(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_team_flag(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_team_name(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -TournamentTeam::TournamentTeam(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:TournamentTeam) -} -TournamentTeam::TournamentTeam(const TournamentTeam& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TournamentTeam* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.players_){from._impl_.players_} - , decltype(_impl_.team_tag_){} - , decltype(_impl_.team_flag_){} - , decltype(_impl_.team_name_){} - , decltype(_impl_.team_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.team_tag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.team_tag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_team_tag()) { - _this->_impl_.team_tag_.Set(from._internal_team_tag(), - _this->GetArenaForAllocation()); - } - _impl_.team_flag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.team_flag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_team_flag()) { - _this->_impl_.team_flag_.Set(from._internal_team_flag(), - _this->GetArenaForAllocation()); - } - _impl_.team_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.team_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_team_name()) { - _this->_impl_.team_name_.Set(from._internal_team_name(), - _this->GetArenaForAllocation()); - } - _this->_impl_.team_id_ = from._impl_.team_id_; - // @@protoc_insertion_point(copy_constructor:TournamentTeam) -} - -inline void TournamentTeam::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.players_){arena} - , decltype(_impl_.team_tag_){} - , decltype(_impl_.team_flag_){} - , decltype(_impl_.team_name_){} - , decltype(_impl_.team_id_){0} - }; - _impl_.team_tag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.team_tag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.team_flag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.team_flag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.team_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.team_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -TournamentTeam::~TournamentTeam() { - // @@protoc_insertion_point(destructor:TournamentTeam) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TournamentTeam::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.players_.~RepeatedPtrField(); - _impl_.team_tag_.Destroy(); - _impl_.team_flag_.Destroy(); - _impl_.team_name_.Destroy(); -} - -void TournamentTeam::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TournamentTeam::Clear() { -// @@protoc_insertion_point(message_clear_start:TournamentTeam) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.players_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.team_tag_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.team_flag_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.team_name_.ClearNonDefaultToEmpty(); - } - } - _impl_.team_id_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TournamentTeam::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 team_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_team_id(&has_bits); - _impl_.team_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string team_tag = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_team_tag(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "TournamentTeam.team_tag"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string team_flag = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_team_flag(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "TournamentTeam.team_flag"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string team_name = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_team_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "TournamentTeam.team_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated .TournamentPlayer players = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_players(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TournamentTeam::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:TournamentTeam) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 team_id = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_team_id(), target); - } - - // optional string team_tag = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_team_tag().data(), static_cast(this->_internal_team_tag().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "TournamentTeam.team_tag"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_team_tag(), target); - } - - // optional string team_flag = 3; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_team_flag().data(), static_cast(this->_internal_team_flag().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "TournamentTeam.team_flag"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_team_flag(), target); - } - - // optional string team_name = 4; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_team_name().data(), static_cast(this->_internal_team_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "TournamentTeam.team_name"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_team_name(), target); - } - - // repeated .TournamentPlayer players = 5; - for (unsigned i = 0, - n = static_cast(this->_internal_players_size()); i < n; i++) { - const auto& repfield = this->_internal_players(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:TournamentTeam) - return target; -} - -size_t TournamentTeam::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:TournamentTeam) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .TournamentPlayer players = 5; - total_size += 1UL * this->_internal_players_size(); - for (const auto& msg : this->_impl_.players_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string team_tag = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_team_tag()); - } - - // optional string team_flag = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_team_flag()); - } - - // optional string team_name = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_team_name()); - } - - // optional int32 team_id = 1; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TournamentTeam::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TournamentTeam::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TournamentTeam::GetClassData() const { return &_class_data_; } - - -void TournamentTeam::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:TournamentTeam) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.players_.MergeFrom(from._impl_.players_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_team_tag(from._internal_team_tag()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_team_flag(from._internal_team_flag()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_team_name(from._internal_team_name()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.team_id_ = from._impl_.team_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TournamentTeam::CopyFrom(const TournamentTeam& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:TournamentTeam) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TournamentTeam::IsInitialized() const { - return true; -} - -void TournamentTeam::InternalSwap(TournamentTeam* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.players_.InternalSwap(&other->_impl_.players_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.team_tag_, lhs_arena, - &other->_impl_.team_tag_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.team_flag_, lhs_arena, - &other->_impl_.team_flag_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.team_name_, lhs_arena, - &other->_impl_.team_name_, rhs_arena - ); - swap(_impl_.team_id_, other->_impl_.team_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TournamentTeam::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[4]); -} - -// =================================================================== - -class TournamentEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_event_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_event_tag(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_event_name(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_event_time_start(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_event_time_end(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_event_public(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_event_stage_id(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_event_stage_name(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_active_section_id(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } -}; - -TournamentEvent::TournamentEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:TournamentEvent) -} -TournamentEvent::TournamentEvent(const TournamentEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TournamentEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.event_tag_){} - , decltype(_impl_.event_name_){} - , decltype(_impl_.event_stage_name_){} - , decltype(_impl_.event_id_){} - , decltype(_impl_.event_time_start_){} - , decltype(_impl_.event_time_end_){} - , decltype(_impl_.event_public_){} - , decltype(_impl_.event_stage_id_){} - , decltype(_impl_.active_section_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.event_tag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_tag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_event_tag()) { - _this->_impl_.event_tag_.Set(from._internal_event_tag(), - _this->GetArenaForAllocation()); - } - _impl_.event_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_event_name()) { - _this->_impl_.event_name_.Set(from._internal_event_name(), - _this->GetArenaForAllocation()); - } - _impl_.event_stage_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_stage_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_event_stage_name()) { - _this->_impl_.event_stage_name_.Set(from._internal_event_stage_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.event_id_, &from._impl_.event_id_, - static_cast(reinterpret_cast(&_impl_.active_section_id_) - - reinterpret_cast(&_impl_.event_id_)) + sizeof(_impl_.active_section_id_)); - // @@protoc_insertion_point(copy_constructor:TournamentEvent) -} - -inline void TournamentEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.event_tag_){} - , decltype(_impl_.event_name_){} - , decltype(_impl_.event_stage_name_){} - , decltype(_impl_.event_id_){0} - , decltype(_impl_.event_time_start_){0u} - , decltype(_impl_.event_time_end_){0u} - , decltype(_impl_.event_public_){0} - , decltype(_impl_.event_stage_id_){0} - , decltype(_impl_.active_section_id_){0u} - }; - _impl_.event_tag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_tag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_stage_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_stage_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -TournamentEvent::~TournamentEvent() { - // @@protoc_insertion_point(destructor:TournamentEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TournamentEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.event_tag_.Destroy(); - _impl_.event_name_.Destroy(); - _impl_.event_stage_name_.Destroy(); -} - -void TournamentEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TournamentEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:TournamentEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.event_tag_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.event_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.event_stage_name_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000f8u) { - ::memset(&_impl_.event_id_, 0, static_cast( - reinterpret_cast(&_impl_.event_stage_id_) - - reinterpret_cast(&_impl_.event_id_)) + sizeof(_impl_.event_stage_id_)); - } - _impl_.active_section_id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TournamentEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 event_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_event_id(&has_bits); - _impl_.event_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string event_tag = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_event_tag(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "TournamentEvent.event_tag"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string event_name = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_event_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "TournamentEvent.event_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 event_time_start = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_event_time_start(&has_bits); - _impl_.event_time_start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 event_time_end = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_event_time_end(&has_bits); - _impl_.event_time_end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 event_public = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_event_public(&has_bits); - _impl_.event_public_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 event_stage_id = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_event_stage_id(&has_bits); - _impl_.event_stage_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string event_stage_name = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_event_stage_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "TournamentEvent.event_stage_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 active_section_id = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_active_section_id(&has_bits); - _impl_.active_section_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TournamentEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:TournamentEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 event_id = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_event_id(), target); - } - - // optional string event_tag = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_event_tag().data(), static_cast(this->_internal_event_tag().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "TournamentEvent.event_tag"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_event_tag(), target); - } - - // optional string event_name = 3; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_event_name().data(), static_cast(this->_internal_event_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "TournamentEvent.event_name"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_event_name(), target); - } - - // optional uint32 event_time_start = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_event_time_start(), target); - } - - // optional uint32 event_time_end = 5; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_event_time_end(), target); - } - - // optional int32 event_public = 6; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_event_public(), target); - } - - // optional int32 event_stage_id = 7; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_event_stage_id(), target); - } - - // optional string event_stage_name = 8; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_event_stage_name().data(), static_cast(this->_internal_event_stage_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "TournamentEvent.event_stage_name"); - target = stream->WriteStringMaybeAliased( - 8, this->_internal_event_stage_name(), target); - } - - // optional uint32 active_section_id = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_active_section_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:TournamentEvent) - return target; -} - -size_t TournamentEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:TournamentEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string event_tag = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_event_tag()); - } - - // optional string event_name = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_event_name()); - } - - // optional string event_stage_name = 8; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_event_stage_name()); - } - - // optional int32 event_id = 1; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_event_id()); - } - - // optional uint32 event_time_start = 4; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_time_start()); - } - - // optional uint32 event_time_end = 5; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_time_end()); - } - - // optional int32 event_public = 6; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_event_public()); - } - - // optional int32 event_stage_id = 7; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_event_stage_id()); - } - - } - // optional uint32 active_section_id = 9; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_active_section_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TournamentEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TournamentEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TournamentEvent::GetClassData() const { return &_class_data_; } - - -void TournamentEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:TournamentEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_event_tag(from._internal_event_tag()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_event_name(from._internal_event_name()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_event_stage_name(from._internal_event_stage_name()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.event_id_ = from._impl_.event_id_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.event_time_start_ = from._impl_.event_time_start_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.event_time_end_ = from._impl_.event_time_end_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.event_public_ = from._impl_.event_public_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.event_stage_id_ = from._impl_.event_stage_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_active_section_id(from._internal_active_section_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TournamentEvent::CopyFrom(const TournamentEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:TournamentEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TournamentEvent::IsInitialized() const { - return true; -} - -void TournamentEvent::InternalSwap(TournamentEvent* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.event_tag_, lhs_arena, - &other->_impl_.event_tag_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.event_name_, lhs_arena, - &other->_impl_.event_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.event_stage_name_, lhs_arena, - &other->_impl_.event_stage_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(TournamentEvent, _impl_.active_section_id_) - + sizeof(TournamentEvent::_impl_.active_section_id_) - - PROTOBUF_FIELD_OFFSET(TournamentEvent, _impl_.event_id_)>( - reinterpret_cast(&_impl_.event_id_), - reinterpret_cast(&other->_impl_.event_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TournamentEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[5]); -} - -// =================================================================== - -class GlobalStatistics::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_players_online(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_servers_online(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_players_searching(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_servers_available(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_ongoing_matches(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_search_time_avg(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_main_post_url(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_required_appid_version(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_pricesheet_version(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_twitch_streams_version(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_active_tournament_eventid(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_active_survey_id(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_rtime32_cur(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_required_appid_version2(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } -}; - -GlobalStatistics::GlobalStatistics(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:GlobalStatistics) -} -GlobalStatistics::GlobalStatistics(const GlobalStatistics& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - GlobalStatistics* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.search_statistics_){from._impl_.search_statistics_} - , decltype(_impl_.main_post_url_){} - , decltype(_impl_.players_online_){} - , decltype(_impl_.servers_online_){} - , decltype(_impl_.players_searching_){} - , decltype(_impl_.servers_available_){} - , decltype(_impl_.ongoing_matches_){} - , decltype(_impl_.search_time_avg_){} - , decltype(_impl_.required_appid_version_){} - , decltype(_impl_.pricesheet_version_){} - , decltype(_impl_.twitch_streams_version_){} - , decltype(_impl_.active_tournament_eventid_){} - , decltype(_impl_.active_survey_id_){} - , decltype(_impl_.rtime32_cur_){} - , decltype(_impl_.required_appid_version2_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.main_post_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.main_post_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_main_post_url()) { - _this->_impl_.main_post_url_.Set(from._internal_main_post_url(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.players_online_, &from._impl_.players_online_, - static_cast(reinterpret_cast(&_impl_.required_appid_version2_) - - reinterpret_cast(&_impl_.players_online_)) + sizeof(_impl_.required_appid_version2_)); - // @@protoc_insertion_point(copy_constructor:GlobalStatistics) -} - -inline void GlobalStatistics::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.search_statistics_){arena} - , decltype(_impl_.main_post_url_){} - , decltype(_impl_.players_online_){0u} - , decltype(_impl_.servers_online_){0u} - , decltype(_impl_.players_searching_){0u} - , decltype(_impl_.servers_available_){0u} - , decltype(_impl_.ongoing_matches_){0u} - , decltype(_impl_.search_time_avg_){0u} - , decltype(_impl_.required_appid_version_){0u} - , decltype(_impl_.pricesheet_version_){0u} - , decltype(_impl_.twitch_streams_version_){0u} - , decltype(_impl_.active_tournament_eventid_){0u} - , decltype(_impl_.active_survey_id_){0u} - , decltype(_impl_.rtime32_cur_){0u} - , decltype(_impl_.required_appid_version2_){0u} - }; - _impl_.main_post_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.main_post_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -GlobalStatistics::~GlobalStatistics() { - // @@protoc_insertion_point(destructor:GlobalStatistics) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void GlobalStatistics::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.search_statistics_.~RepeatedPtrField(); - _impl_.main_post_url_.Destroy(); -} - -void GlobalStatistics::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void GlobalStatistics::Clear() { -// @@protoc_insertion_point(message_clear_start:GlobalStatistics) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.search_statistics_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.main_post_url_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x000000feu) { - ::memset(&_impl_.players_online_, 0, static_cast( - reinterpret_cast(&_impl_.required_appid_version_) - - reinterpret_cast(&_impl_.players_online_)) + sizeof(_impl_.required_appid_version_)); - } - if (cached_has_bits & 0x00003f00u) { - ::memset(&_impl_.pricesheet_version_, 0, static_cast( - reinterpret_cast(&_impl_.required_appid_version2_) - - reinterpret_cast(&_impl_.pricesheet_version_)) + sizeof(_impl_.required_appid_version2_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* GlobalStatistics::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 players_online = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_players_online(&has_bits); - _impl_.players_online_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 servers_online = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_servers_online(&has_bits); - _impl_.servers_online_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 players_searching = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_players_searching(&has_bits); - _impl_.players_searching_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 servers_available = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_servers_available(&has_bits); - _impl_.servers_available_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ongoing_matches = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_ongoing_matches(&has_bits); - _impl_.ongoing_matches_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 search_time_avg = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_search_time_avg(&has_bits); - _impl_.search_time_avg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .DetailedSearchStatistic search_statistics = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_search_statistics(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr)); - } else - goto handle_unusual; - continue; - // optional string main_post_url = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_main_post_url(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "GlobalStatistics.main_post_url"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 required_appid_version = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_required_appid_version(&has_bits); - _impl_.required_appid_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 pricesheet_version = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_pricesheet_version(&has_bits); - _impl_.pricesheet_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 twitch_streams_version = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_twitch_streams_version(&has_bits); - _impl_.twitch_streams_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 active_tournament_eventid = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_active_tournament_eventid(&has_bits); - _impl_.active_tournament_eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 active_survey_id = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_active_survey_id(&has_bits); - _impl_.active_survey_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rtime32_cur = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_rtime32_cur(&has_bits); - _impl_.rtime32_cur_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 required_appid_version2 = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_required_appid_version2(&has_bits); - _impl_.required_appid_version2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* GlobalStatistics::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:GlobalStatistics) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 players_online = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_players_online(), target); - } - - // optional uint32 servers_online = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_servers_online(), target); - } - - // optional uint32 players_searching = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_players_searching(), target); - } - - // optional uint32 servers_available = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_servers_available(), target); - } - - // optional uint32 ongoing_matches = 5; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_ongoing_matches(), target); - } - - // optional uint32 search_time_avg = 6; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_search_time_avg(), target); - } - - // repeated .DetailedSearchStatistic search_statistics = 7; - for (unsigned i = 0, - n = static_cast(this->_internal_search_statistics_size()); i < n; i++) { - const auto& repfield = this->_internal_search_statistics(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional string main_post_url = 8; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_main_post_url().data(), static_cast(this->_internal_main_post_url().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "GlobalStatistics.main_post_url"); - target = stream->WriteStringMaybeAliased( - 8, this->_internal_main_post_url(), target); - } - - // optional uint32 required_appid_version = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_required_appid_version(), target); - } - - // optional uint32 pricesheet_version = 10; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_pricesheet_version(), target); - } - - // optional uint32 twitch_streams_version = 11; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_twitch_streams_version(), target); - } - - // optional uint32 active_tournament_eventid = 12; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_active_tournament_eventid(), target); - } - - // optional uint32 active_survey_id = 13; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_active_survey_id(), target); - } - - // optional uint32 rtime32_cur = 14; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_rtime32_cur(), target); - } - - // optional uint32 required_appid_version2 = 16; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_required_appid_version2(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:GlobalStatistics) - return target; -} - -size_t GlobalStatistics::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:GlobalStatistics) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .DetailedSearchStatistic search_statistics = 7; - total_size += 1UL * this->_internal_search_statistics_size(); - for (const auto& msg : this->_impl_.search_statistics_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string main_post_url = 8; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_main_post_url()); - } - - // optional uint32 players_online = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_players_online()); - } - - // optional uint32 servers_online = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_servers_online()); - } - - // optional uint32 players_searching = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_players_searching()); - } - - // optional uint32 servers_available = 4; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_servers_available()); - } - - // optional uint32 ongoing_matches = 5; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ongoing_matches()); - } - - // optional uint32 search_time_avg = 6; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_search_time_avg()); - } - - // optional uint32 required_appid_version = 9; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_required_appid_version()); - } - - } - if (cached_has_bits & 0x00003f00u) { - // optional uint32 pricesheet_version = 10; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pricesheet_version()); - } - - // optional uint32 twitch_streams_version = 11; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_twitch_streams_version()); - } - - // optional uint32 active_tournament_eventid = 12; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_active_tournament_eventid()); - } - - // optional uint32 active_survey_id = 13; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_active_survey_id()); - } - - // optional uint32 rtime32_cur = 14; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rtime32_cur()); - } - - // optional uint32 required_appid_version2 = 16; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_required_appid_version2()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GlobalStatistics::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - GlobalStatistics::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GlobalStatistics::GetClassData() const { return &_class_data_; } - - -void GlobalStatistics::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:GlobalStatistics) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.search_statistics_.MergeFrom(from._impl_.search_statistics_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_main_post_url(from._internal_main_post_url()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.players_online_ = from._impl_.players_online_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.servers_online_ = from._impl_.servers_online_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.players_searching_ = from._impl_.players_searching_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.servers_available_ = from._impl_.servers_available_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.ongoing_matches_ = from._impl_.ongoing_matches_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.search_time_avg_ = from._impl_.search_time_avg_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.required_appid_version_ = from._impl_.required_appid_version_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00003f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.pricesheet_version_ = from._impl_.pricesheet_version_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.twitch_streams_version_ = from._impl_.twitch_streams_version_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.active_tournament_eventid_ = from._impl_.active_tournament_eventid_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.active_survey_id_ = from._impl_.active_survey_id_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.rtime32_cur_ = from._impl_.rtime32_cur_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.required_appid_version2_ = from._impl_.required_appid_version2_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void GlobalStatistics::CopyFrom(const GlobalStatistics& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:GlobalStatistics) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool GlobalStatistics::IsInitialized() const { - return true; -} - -void GlobalStatistics::InternalSwap(GlobalStatistics* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.search_statistics_.InternalSwap(&other->_impl_.search_statistics_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.main_post_url_, lhs_arena, - &other->_impl_.main_post_url_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(GlobalStatistics, _impl_.required_appid_version2_) - + sizeof(GlobalStatistics::_impl_.required_appid_version2_) - - PROTOBUF_FIELD_OFFSET(GlobalStatistics, _impl_.players_online_)>( - reinterpret_cast(&_impl_.players_online_), - reinterpret_cast(&other->_impl_.players_online_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata GlobalStatistics::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[6]); -} - -// =================================================================== - -class OperationalStatisticDescription::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_idkey(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -OperationalStatisticDescription::OperationalStatisticDescription(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:OperationalStatisticDescription) -} -OperationalStatisticDescription::OperationalStatisticDescription(const OperationalStatisticDescription& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - OperationalStatisticDescription* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.idkey_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _this->_impl_.idkey_ = from._impl_.idkey_; - // @@protoc_insertion_point(copy_constructor:OperationalStatisticDescription) -} - -inline void OperationalStatisticDescription::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.idkey_){0u} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -OperationalStatisticDescription::~OperationalStatisticDescription() { - // @@protoc_insertion_point(destructor:OperationalStatisticDescription) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void OperationalStatisticDescription::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); -} - -void OperationalStatisticDescription::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void OperationalStatisticDescription::Clear() { -// @@protoc_insertion_point(message_clear_start:OperationalStatisticDescription) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - _impl_.idkey_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* OperationalStatisticDescription::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "OperationalStatisticDescription.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 idkey = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_idkey(&has_bits); - _impl_.idkey_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* OperationalStatisticDescription::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:OperationalStatisticDescription) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "OperationalStatisticDescription.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // optional uint32 idkey = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_idkey(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:OperationalStatisticDescription) - return target; -} - -size_t OperationalStatisticDescription::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:OperationalStatisticDescription) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional uint32 idkey = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_idkey()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData OperationalStatisticDescription::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - OperationalStatisticDescription::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*OperationalStatisticDescription::GetClassData() const { return &_class_data_; } - - -void OperationalStatisticDescription::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:OperationalStatisticDescription) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.idkey_ = from._impl_.idkey_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void OperationalStatisticDescription::CopyFrom(const OperationalStatisticDescription& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:OperationalStatisticDescription) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool OperationalStatisticDescription::IsInitialized() const { - return true; -} - -void OperationalStatisticDescription::InternalSwap(OperationalStatisticDescription* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - swap(_impl_.idkey_, other->_impl_.idkey_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata OperationalStatisticDescription::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[7]); -} - -// =================================================================== - -class OperationalStatisticElement::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_idkey(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -OperationalStatisticElement::OperationalStatisticElement(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:OperationalStatisticElement) -} -OperationalStatisticElement::OperationalStatisticElement(const OperationalStatisticElement& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - OperationalStatisticElement* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.values_){from._impl_.values_} - , decltype(_impl_.idkey_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.idkey_ = from._impl_.idkey_; - // @@protoc_insertion_point(copy_constructor:OperationalStatisticElement) -} - -inline void OperationalStatisticElement::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.values_){arena} - , decltype(_impl_.idkey_){0u} - }; -} - -OperationalStatisticElement::~OperationalStatisticElement() { - // @@protoc_insertion_point(destructor:OperationalStatisticElement) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void OperationalStatisticElement::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.values_.~RepeatedField(); -} - -void OperationalStatisticElement::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void OperationalStatisticElement::Clear() { -// @@protoc_insertion_point(message_clear_start:OperationalStatisticElement) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.values_.Clear(); - _impl_.idkey_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* OperationalStatisticElement::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 idkey = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_idkey(&has_bits); - _impl_.idkey_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 values = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_values(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); - } else if (static_cast(tag) == 18) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_values(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* OperationalStatisticElement::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:OperationalStatisticElement) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 idkey = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_idkey(), target); - } - - // repeated int32 values = 2; - for (int i = 0, n = this->_internal_values_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_values(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:OperationalStatisticElement) - return target; -} - -size_t OperationalStatisticElement::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:OperationalStatisticElement) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated int32 values = 2; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.values_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_values_size()); - total_size += data_size; - } - - // optional uint32 idkey = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_idkey()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData OperationalStatisticElement::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - OperationalStatisticElement::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*OperationalStatisticElement::GetClassData() const { return &_class_data_; } - - -void OperationalStatisticElement::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:OperationalStatisticElement) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.values_.MergeFrom(from._impl_.values_); - if (from._internal_has_idkey()) { - _this->_internal_set_idkey(from._internal_idkey()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void OperationalStatisticElement::CopyFrom(const OperationalStatisticElement& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:OperationalStatisticElement) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool OperationalStatisticElement::IsInitialized() const { - return true; -} - -void OperationalStatisticElement::InternalSwap(OperationalStatisticElement* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.values_.InternalSwap(&other->_impl_.values_); - swap(_impl_.idkey_, other->_impl_.idkey_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata OperationalStatisticElement::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[8]); -} - -// =================================================================== - -class OperationalStatisticsPacket::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_packetid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_mstimestamp(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -OperationalStatisticsPacket::OperationalStatisticsPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:OperationalStatisticsPacket) -} -OperationalStatisticsPacket::OperationalStatisticsPacket(const OperationalStatisticsPacket& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - OperationalStatisticsPacket* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.values_){from._impl_.values_} - , decltype(_impl_.packetid_){} - , decltype(_impl_.mstimestamp_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.packetid_, &from._impl_.packetid_, - static_cast(reinterpret_cast(&_impl_.mstimestamp_) - - reinterpret_cast(&_impl_.packetid_)) + sizeof(_impl_.mstimestamp_)); - // @@protoc_insertion_point(copy_constructor:OperationalStatisticsPacket) -} - -inline void OperationalStatisticsPacket::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.values_){arena} - , decltype(_impl_.packetid_){0} - , decltype(_impl_.mstimestamp_){0} - }; -} - -OperationalStatisticsPacket::~OperationalStatisticsPacket() { - // @@protoc_insertion_point(destructor:OperationalStatisticsPacket) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void OperationalStatisticsPacket::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.values_.~RepeatedPtrField(); -} - -void OperationalStatisticsPacket::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void OperationalStatisticsPacket::Clear() { -// @@protoc_insertion_point(message_clear_start:OperationalStatisticsPacket) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.values_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.packetid_, 0, static_cast( - reinterpret_cast(&_impl_.mstimestamp_) - - reinterpret_cast(&_impl_.packetid_)) + sizeof(_impl_.mstimestamp_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* OperationalStatisticsPacket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 packetid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_packetid(&has_bits); - _impl_.packetid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 mstimestamp = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_mstimestamp(&has_bits); - _impl_.mstimestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .OperationalStatisticElement values = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_values(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* OperationalStatisticsPacket::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:OperationalStatisticsPacket) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 packetid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_packetid(), target); - } - - // optional int32 mstimestamp = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_mstimestamp(), target); - } - - // repeated .OperationalStatisticElement values = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_values_size()); i < n; i++) { - const auto& repfield = this->_internal_values(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:OperationalStatisticsPacket) - return target; -} - -size_t OperationalStatisticsPacket::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:OperationalStatisticsPacket) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .OperationalStatisticElement values = 3; - total_size += 1UL * this->_internal_values_size(); - for (const auto& msg : this->_impl_.values_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional int32 packetid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_packetid()); - } - - // optional int32 mstimestamp = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mstimestamp()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData OperationalStatisticsPacket::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - OperationalStatisticsPacket::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*OperationalStatisticsPacket::GetClassData() const { return &_class_data_; } - - -void OperationalStatisticsPacket::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:OperationalStatisticsPacket) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.values_.MergeFrom(from._impl_.values_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.packetid_ = from._impl_.packetid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.mstimestamp_ = from._impl_.mstimestamp_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void OperationalStatisticsPacket::CopyFrom(const OperationalStatisticsPacket& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:OperationalStatisticsPacket) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool OperationalStatisticsPacket::IsInitialized() const { - return true; -} - -void OperationalStatisticsPacket::InternalSwap(OperationalStatisticsPacket* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.values_.InternalSwap(&other->_impl_.values_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(OperationalStatisticsPacket, _impl_.mstimestamp_) - + sizeof(OperationalStatisticsPacket::_impl_.mstimestamp_) - - PROTOBUF_FIELD_OFFSET(OperationalStatisticsPacket, _impl_.packetid_)>( - reinterpret_cast(&_impl_.packetid_), - reinterpret_cast(&other->_impl_.packetid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata OperationalStatisticsPacket::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[9]); -} - -// =================================================================== - -class OperationalVarValue::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_ivalue(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_fvalue(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_svalue(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -OperationalVarValue::OperationalVarValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:OperationalVarValue) -} -OperationalVarValue::OperationalVarValue(const OperationalVarValue& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - OperationalVarValue* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.svalue_){} - , decltype(_impl_.ivalue_){} - , decltype(_impl_.fvalue_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.svalue_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.svalue_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_svalue()) { - _this->_impl_.svalue_.Set(from._internal_svalue(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.ivalue_, &from._impl_.ivalue_, - static_cast(reinterpret_cast(&_impl_.fvalue_) - - reinterpret_cast(&_impl_.ivalue_)) + sizeof(_impl_.fvalue_)); - // @@protoc_insertion_point(copy_constructor:OperationalVarValue) -} - -inline void OperationalVarValue::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.svalue_){} - , decltype(_impl_.ivalue_){0} - , decltype(_impl_.fvalue_){0} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.svalue_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.svalue_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -OperationalVarValue::~OperationalVarValue() { - // @@protoc_insertion_point(destructor:OperationalVarValue) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void OperationalVarValue::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); - _impl_.svalue_.Destroy(); -} - -void OperationalVarValue::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void OperationalVarValue::Clear() { -// @@protoc_insertion_point(message_clear_start:OperationalVarValue) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.svalue_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000000cu) { - ::memset(&_impl_.ivalue_, 0, static_cast( - reinterpret_cast(&_impl_.fvalue_) - - reinterpret_cast(&_impl_.ivalue_)) + sizeof(_impl_.fvalue_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* OperationalVarValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "OperationalVarValue.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 ivalue = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_ivalue(&has_bits); - _impl_.ivalue_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float fvalue = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_fvalue(&has_bits); - _impl_.fvalue_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional bytes svalue = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_svalue(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* OperationalVarValue::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:OperationalVarValue) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "OperationalVarValue.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // optional int32 ivalue = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_ivalue(), target); - } - - // optional float fvalue = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_fvalue(), target); - } - - // optional bytes svalue = 4; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 4, this->_internal_svalue(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:OperationalVarValue) - return target; -} - -size_t OperationalVarValue::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:OperationalVarValue) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional bytes svalue = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_svalue()); - } - - // optional int32 ivalue = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ivalue()); - } - - // optional float fvalue = 3; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData OperationalVarValue::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - OperationalVarValue::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*OperationalVarValue::GetClassData() const { return &_class_data_; } - - -void OperationalVarValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:OperationalVarValue) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_svalue(from._internal_svalue()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.ivalue_ = from._impl_.ivalue_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.fvalue_ = from._impl_.fvalue_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void OperationalVarValue::CopyFrom(const OperationalVarValue& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:OperationalVarValue) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool OperationalVarValue::IsInitialized() const { - return true; -} - -void OperationalVarValue::InternalSwap(OperationalVarValue* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.svalue_, lhs_arena, - &other->_impl_.svalue_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(OperationalVarValue, _impl_.fvalue_) - + sizeof(OperationalVarValue::_impl_.fvalue_) - - PROTOBUF_FIELD_OFFSET(OperationalVarValue, _impl_.ivalue_)>( - reinterpret_cast(&_impl_.ivalue_), - reinterpret_cast(&other->_impl_.ivalue_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata OperationalVarValue::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[10]); -} - -// =================================================================== - -class PlayerRankingInfo_PerMapRank::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_map_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_rank_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_wins(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -PlayerRankingInfo_PerMapRank::PlayerRankingInfo_PerMapRank(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:PlayerRankingInfo.PerMapRank) -} -PlayerRankingInfo_PerMapRank::PlayerRankingInfo_PerMapRank(const PlayerRankingInfo_PerMapRank& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - PlayerRankingInfo_PerMapRank* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.map_id_){} - , decltype(_impl_.rank_id_){} - , decltype(_impl_.wins_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.map_id_, &from._impl_.map_id_, - static_cast(reinterpret_cast(&_impl_.wins_) - - reinterpret_cast(&_impl_.map_id_)) + sizeof(_impl_.wins_)); - // @@protoc_insertion_point(copy_constructor:PlayerRankingInfo.PerMapRank) -} - -inline void PlayerRankingInfo_PerMapRank::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.map_id_){0u} - , decltype(_impl_.rank_id_){0u} - , decltype(_impl_.wins_){0u} - }; -} - -PlayerRankingInfo_PerMapRank::~PlayerRankingInfo_PerMapRank() { - // @@protoc_insertion_point(destructor:PlayerRankingInfo.PerMapRank) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void PlayerRankingInfo_PerMapRank::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void PlayerRankingInfo_PerMapRank::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void PlayerRankingInfo_PerMapRank::Clear() { -// @@protoc_insertion_point(message_clear_start:PlayerRankingInfo.PerMapRank) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.map_id_, 0, static_cast( - reinterpret_cast(&_impl_.wins_) - - reinterpret_cast(&_impl_.map_id_)) + sizeof(_impl_.wins_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* PlayerRankingInfo_PerMapRank::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 map_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_map_id(&has_bits); - _impl_.map_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rank_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_rank_id(&has_bits); - _impl_.rank_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 wins = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_wins(&has_bits); - _impl_.wins_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* PlayerRankingInfo_PerMapRank::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:PlayerRankingInfo.PerMapRank) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 map_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_map_id(), target); - } - - // optional uint32 rank_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_rank_id(), target); - } - - // optional uint32 wins = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_wins(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:PlayerRankingInfo.PerMapRank) - return target; -} - -size_t PlayerRankingInfo_PerMapRank::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:PlayerRankingInfo.PerMapRank) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 map_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_map_id()); - } - - // optional uint32 rank_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rank_id()); - } - - // optional uint32 wins = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_wins()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerRankingInfo_PerMapRank::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - PlayerRankingInfo_PerMapRank::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerRankingInfo_PerMapRank::GetClassData() const { return &_class_data_; } - - -void PlayerRankingInfo_PerMapRank::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:PlayerRankingInfo.PerMapRank) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.map_id_ = from._impl_.map_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.rank_id_ = from._impl_.rank_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.wins_ = from._impl_.wins_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void PlayerRankingInfo_PerMapRank::CopyFrom(const PlayerRankingInfo_PerMapRank& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:PlayerRankingInfo.PerMapRank) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PlayerRankingInfo_PerMapRank::IsInitialized() const { - return true; -} - -void PlayerRankingInfo_PerMapRank::InternalSwap(PlayerRankingInfo_PerMapRank* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(PlayerRankingInfo_PerMapRank, _impl_.wins_) - + sizeof(PlayerRankingInfo_PerMapRank::_impl_.wins_) - - PROTOBUF_FIELD_OFFSET(PlayerRankingInfo_PerMapRank, _impl_.map_id_)>( - reinterpret_cast(&_impl_.map_id_), - reinterpret_cast(&other->_impl_.map_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata PlayerRankingInfo_PerMapRank::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[11]); -} - -// =================================================================== - -class PlayerRankingInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_rank_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_wins(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_rank_change(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_rank_type_id(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_tv_control(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_rank_window_stats(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_leaderboard_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_rank_if_win(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_rank_if_lose(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_rank_if_tie(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_leaderboard_name_status(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_highest_rank(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_rank_expiry(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } -}; - -PlayerRankingInfo::PlayerRankingInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:PlayerRankingInfo) -} -PlayerRankingInfo::PlayerRankingInfo(const PlayerRankingInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - PlayerRankingInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.per_map_rank_){from._impl_.per_map_rank_} - , decltype(_impl_.leaderboard_name_){} - , decltype(_impl_.account_id_){} - , decltype(_impl_.rank_id_){} - , decltype(_impl_.wins_){} - , decltype(_impl_.rank_change_){} - , decltype(_impl_.rank_type_id_){} - , decltype(_impl_.tv_control_){} - , decltype(_impl_.rank_window_stats_){} - , decltype(_impl_.rank_if_win_){} - , decltype(_impl_.rank_if_lose_){} - , decltype(_impl_.rank_if_tie_){} - , decltype(_impl_.leaderboard_name_status_){} - , decltype(_impl_.highest_rank_){} - , decltype(_impl_.rank_expiry_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.leaderboard_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.leaderboard_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_leaderboard_name()) { - _this->_impl_.leaderboard_name_.Set(from._internal_leaderboard_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.rank_expiry_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.rank_expiry_)); - // @@protoc_insertion_point(copy_constructor:PlayerRankingInfo) -} - -inline void PlayerRankingInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.per_map_rank_){arena} - , decltype(_impl_.leaderboard_name_){} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.rank_id_){0u} - , decltype(_impl_.wins_){0u} - , decltype(_impl_.rank_change_){0} - , decltype(_impl_.rank_type_id_){0u} - , decltype(_impl_.tv_control_){0u} - , decltype(_impl_.rank_window_stats_){uint64_t{0u}} - , decltype(_impl_.rank_if_win_){0u} - , decltype(_impl_.rank_if_lose_){0u} - , decltype(_impl_.rank_if_tie_){0u} - , decltype(_impl_.leaderboard_name_status_){0u} - , decltype(_impl_.highest_rank_){0u} - , decltype(_impl_.rank_expiry_){0u} - }; - _impl_.leaderboard_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.leaderboard_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -PlayerRankingInfo::~PlayerRankingInfo() { - // @@protoc_insertion_point(destructor:PlayerRankingInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void PlayerRankingInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.per_map_rank_.~RepeatedPtrField(); - _impl_.leaderboard_name_.Destroy(); -} - -void PlayerRankingInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void PlayerRankingInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:PlayerRankingInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.per_map_rank_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.leaderboard_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x000000feu) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.rank_window_stats_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.rank_window_stats_)); - } - if (cached_has_bits & 0x00003f00u) { - ::memset(&_impl_.rank_if_win_, 0, static_cast( - reinterpret_cast(&_impl_.rank_expiry_) - - reinterpret_cast(&_impl_.rank_if_win_)) + sizeof(_impl_.rank_expiry_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* PlayerRankingInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rank_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_rank_id(&has_bits); - _impl_.rank_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 wins = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_wins(&has_bits); - _impl_.wins_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float rank_change = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_rank_change(&has_bits); - _impl_.rank_change_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 rank_type_id = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_rank_type_id(&has_bits); - _impl_.rank_type_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tv_control = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_tv_control(&has_bits); - _impl_.tv_control_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 rank_window_stats = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_rank_window_stats(&has_bits); - _impl_.rank_window_stats_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string leaderboard_name = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_leaderboard_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PlayerRankingInfo.leaderboard_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 rank_if_win = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_rank_if_win(&has_bits); - _impl_.rank_if_win_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rank_if_lose = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_rank_if_lose(&has_bits); - _impl_.rank_if_lose_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rank_if_tie = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_rank_if_tie(&has_bits); - _impl_.rank_if_tie_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .PlayerRankingInfo.PerMapRank per_map_rank = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_per_map_rank(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<106>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 leaderboard_name_status = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_leaderboard_name_status(&has_bits); - _impl_.leaderboard_name_status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 highest_rank = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_highest_rank(&has_bits); - _impl_.highest_rank_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rank_expiry = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_rank_expiry(&has_bits); - _impl_.rank_expiry_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* PlayerRankingInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:PlayerRankingInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional uint32 rank_id = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_rank_id(), target); - } - - // optional uint32 wins = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_wins(), target); - } - - // optional float rank_change = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_rank_change(), target); - } - - // optional uint32 rank_type_id = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_rank_type_id(), target); - } - - // optional uint32 tv_control = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_tv_control(), target); - } - - // optional uint64 rank_window_stats = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_rank_window_stats(), target); - } - - // optional string leaderboard_name = 9; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_leaderboard_name().data(), static_cast(this->_internal_leaderboard_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PlayerRankingInfo.leaderboard_name"); - target = stream->WriteStringMaybeAliased( - 9, this->_internal_leaderboard_name(), target); - } - - // optional uint32 rank_if_win = 10; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_rank_if_win(), target); - } - - // optional uint32 rank_if_lose = 11; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_rank_if_lose(), target); - } - - // optional uint32 rank_if_tie = 12; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_rank_if_tie(), target); - } - - // repeated .PlayerRankingInfo.PerMapRank per_map_rank = 13; - for (unsigned i = 0, - n = static_cast(this->_internal_per_map_rank_size()); i < n; i++) { - const auto& repfield = this->_internal_per_map_rank(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 leaderboard_name_status = 14; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_leaderboard_name_status(), target); - } - - // optional uint32 highest_rank = 15; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_highest_rank(), target); - } - - // optional uint32 rank_expiry = 16; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_rank_expiry(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:PlayerRankingInfo) - return target; -} - -size_t PlayerRankingInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:PlayerRankingInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .PlayerRankingInfo.PerMapRank per_map_rank = 13; - total_size += 1UL * this->_internal_per_map_rank_size(); - for (const auto& msg : this->_impl_.per_map_rank_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string leaderboard_name = 9; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_leaderboard_name()); - } - - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 rank_id = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rank_id()); - } - - // optional uint32 wins = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_wins()); - } - - // optional float rank_change = 4; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional uint32 rank_type_id = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rank_type_id()); - } - - // optional uint32 tv_control = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_control()); - } - - // optional uint64 rank_window_stats = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_rank_window_stats()); - } - - } - if (cached_has_bits & 0x00003f00u) { - // optional uint32 rank_if_win = 10; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rank_if_win()); - } - - // optional uint32 rank_if_lose = 11; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rank_if_lose()); - } - - // optional uint32 rank_if_tie = 12; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rank_if_tie()); - } - - // optional uint32 leaderboard_name_status = 14; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_leaderboard_name_status()); - } - - // optional uint32 highest_rank = 15; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_highest_rank()); - } - - // optional uint32 rank_expiry = 16; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_rank_expiry()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerRankingInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - PlayerRankingInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerRankingInfo::GetClassData() const { return &_class_data_; } - - -void PlayerRankingInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:PlayerRankingInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.per_map_rank_.MergeFrom(from._impl_.per_map_rank_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_leaderboard_name(from._internal_leaderboard_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.rank_id_ = from._impl_.rank_id_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.wins_ = from._impl_.wins_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.rank_change_ = from._impl_.rank_change_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.rank_type_id_ = from._impl_.rank_type_id_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.tv_control_ = from._impl_.tv_control_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.rank_window_stats_ = from._impl_.rank_window_stats_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00003f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.rank_if_win_ = from._impl_.rank_if_win_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.rank_if_lose_ = from._impl_.rank_if_lose_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.rank_if_tie_ = from._impl_.rank_if_tie_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.leaderboard_name_status_ = from._impl_.leaderboard_name_status_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.highest_rank_ = from._impl_.highest_rank_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.rank_expiry_ = from._impl_.rank_expiry_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void PlayerRankingInfo::CopyFrom(const PlayerRankingInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:PlayerRankingInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PlayerRankingInfo::IsInitialized() const { - return true; -} - -void PlayerRankingInfo::InternalSwap(PlayerRankingInfo* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.per_map_rank_.InternalSwap(&other->_impl_.per_map_rank_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.leaderboard_name_, lhs_arena, - &other->_impl_.leaderboard_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(PlayerRankingInfo, _impl_.rank_expiry_) - + sizeof(PlayerRankingInfo::_impl_.rank_expiry_) - - PROTOBUF_FIELD_OFFSET(PlayerRankingInfo, _impl_.account_id_)>( - reinterpret_cast(&_impl_.account_id_), - reinterpret_cast(&other->_impl_.account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata PlayerRankingInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[12]); -} - -// =================================================================== - -class PlayerCommendationInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_cmd_friendly(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_cmd_teaching(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_cmd_leader(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -PlayerCommendationInfo::PlayerCommendationInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:PlayerCommendationInfo) -} -PlayerCommendationInfo::PlayerCommendationInfo(const PlayerCommendationInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - PlayerCommendationInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cmd_friendly_){} - , decltype(_impl_.cmd_teaching_){} - , decltype(_impl_.cmd_leader_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.cmd_friendly_, &from._impl_.cmd_friendly_, - static_cast(reinterpret_cast(&_impl_.cmd_leader_) - - reinterpret_cast(&_impl_.cmd_friendly_)) + sizeof(_impl_.cmd_leader_)); - // @@protoc_insertion_point(copy_constructor:PlayerCommendationInfo) -} - -inline void PlayerCommendationInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cmd_friendly_){0u} - , decltype(_impl_.cmd_teaching_){0u} - , decltype(_impl_.cmd_leader_){0u} - }; -} - -PlayerCommendationInfo::~PlayerCommendationInfo() { - // @@protoc_insertion_point(destructor:PlayerCommendationInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void PlayerCommendationInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void PlayerCommendationInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void PlayerCommendationInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:PlayerCommendationInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.cmd_friendly_, 0, static_cast( - reinterpret_cast(&_impl_.cmd_leader_) - - reinterpret_cast(&_impl_.cmd_friendly_)) + sizeof(_impl_.cmd_leader_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* PlayerCommendationInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 cmd_friendly = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_cmd_friendly(&has_bits); - _impl_.cmd_friendly_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 cmd_teaching = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_cmd_teaching(&has_bits); - _impl_.cmd_teaching_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 cmd_leader = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_cmd_leader(&has_bits); - _impl_.cmd_leader_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* PlayerCommendationInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:PlayerCommendationInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 cmd_friendly = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_cmd_friendly(), target); - } - - // optional uint32 cmd_teaching = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_cmd_teaching(), target); - } - - // optional uint32 cmd_leader = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_cmd_leader(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:PlayerCommendationInfo) - return target; -} - -size_t PlayerCommendationInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:PlayerCommendationInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 cmd_friendly = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cmd_friendly()); - } - - // optional uint32 cmd_teaching = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cmd_teaching()); - } - - // optional uint32 cmd_leader = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cmd_leader()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerCommendationInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - PlayerCommendationInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerCommendationInfo::GetClassData() const { return &_class_data_; } - - -void PlayerCommendationInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:PlayerCommendationInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.cmd_friendly_ = from._impl_.cmd_friendly_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.cmd_teaching_ = from._impl_.cmd_teaching_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.cmd_leader_ = from._impl_.cmd_leader_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void PlayerCommendationInfo::CopyFrom(const PlayerCommendationInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:PlayerCommendationInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PlayerCommendationInfo::IsInitialized() const { - return true; -} - -void PlayerCommendationInfo::InternalSwap(PlayerCommendationInfo* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(PlayerCommendationInfo, _impl_.cmd_leader_) - + sizeof(PlayerCommendationInfo::_impl_.cmd_leader_) - - PROTOBUF_FIELD_OFFSET(PlayerCommendationInfo, _impl_.cmd_friendly_)>( - reinterpret_cast(&_impl_.cmd_friendly_), - reinterpret_cast(&other->_impl_.cmd_friendly_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata PlayerCommendationInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[13]); -} - -// =================================================================== - -class PlayerMedalsInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_featured_display_item_defidx(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -PlayerMedalsInfo::PlayerMedalsInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:PlayerMedalsInfo) -} -PlayerMedalsInfo::PlayerMedalsInfo(const PlayerMedalsInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - PlayerMedalsInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.display_items_defidx_){from._impl_.display_items_defidx_} - , decltype(_impl_.featured_display_item_defidx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.featured_display_item_defidx_ = from._impl_.featured_display_item_defidx_; - // @@protoc_insertion_point(copy_constructor:PlayerMedalsInfo) -} - -inline void PlayerMedalsInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.display_items_defidx_){arena} - , decltype(_impl_.featured_display_item_defidx_){0u} - }; -} - -PlayerMedalsInfo::~PlayerMedalsInfo() { - // @@protoc_insertion_point(destructor:PlayerMedalsInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void PlayerMedalsInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.display_items_defidx_.~RepeatedField(); -} - -void PlayerMedalsInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void PlayerMedalsInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:PlayerMedalsInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.display_items_defidx_.Clear(); - _impl_.featured_display_item_defidx_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* PlayerMedalsInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated uint32 display_items_defidx = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_display_items_defidx(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<56>(ptr)); - } else if (static_cast(tag) == 58) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_display_items_defidx(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 featured_display_item_defidx = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_featured_display_item_defidx(&has_bits); - _impl_.featured_display_item_defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* PlayerMedalsInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:PlayerMedalsInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated uint32 display_items_defidx = 7; - for (int i = 0, n = this->_internal_display_items_defidx_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_display_items_defidx(i), target); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 featured_display_item_defidx = 8; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_featured_display_item_defidx(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:PlayerMedalsInfo) - return target; -} - -size_t PlayerMedalsInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:PlayerMedalsInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 display_items_defidx = 7; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.display_items_defidx_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_display_items_defidx_size()); - total_size += data_size; - } - - // optional uint32 featured_display_item_defidx = 8; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_featured_display_item_defidx()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerMedalsInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - PlayerMedalsInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerMedalsInfo::GetClassData() const { return &_class_data_; } - - -void PlayerMedalsInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:PlayerMedalsInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.display_items_defidx_.MergeFrom(from._impl_.display_items_defidx_); - if (from._internal_has_featured_display_item_defidx()) { - _this->_internal_set_featured_display_item_defidx(from._internal_featured_display_item_defidx()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void PlayerMedalsInfo::CopyFrom(const PlayerMedalsInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:PlayerMedalsInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PlayerMedalsInfo::IsInitialized() const { - return true; -} - -void PlayerMedalsInfo::InternalSwap(PlayerMedalsInfo* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.display_items_defidx_.InternalSwap(&other->_impl_.display_items_defidx_); - swap(_impl_.featured_display_item_defidx_, other->_impl_.featured_display_item_defidx_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata PlayerMedalsInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[14]); -} - -// =================================================================== - -class AccountActivity::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_activity(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_mode(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_map(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_matchid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -AccountActivity::AccountActivity(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:AccountActivity) -} -AccountActivity::AccountActivity(const AccountActivity& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - AccountActivity* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.activity_){} - , decltype(_impl_.mode_){} - , decltype(_impl_.matchid_){} - , decltype(_impl_.map_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.activity_, &from._impl_.activity_, - static_cast(reinterpret_cast(&_impl_.map_) - - reinterpret_cast(&_impl_.activity_)) + sizeof(_impl_.map_)); - // @@protoc_insertion_point(copy_constructor:AccountActivity) -} - -inline void AccountActivity::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.activity_){0u} - , decltype(_impl_.mode_){0u} - , decltype(_impl_.matchid_){uint64_t{0u}} - , decltype(_impl_.map_){0u} - }; -} - -AccountActivity::~AccountActivity() { - // @@protoc_insertion_point(destructor:AccountActivity) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void AccountActivity::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void AccountActivity::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void AccountActivity::Clear() { -// @@protoc_insertion_point(message_clear_start:AccountActivity) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.activity_, 0, static_cast( - reinterpret_cast(&_impl_.map_) - - reinterpret_cast(&_impl_.activity_)) + sizeof(_impl_.map_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* AccountActivity::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 activity = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_activity(&has_bits); - _impl_.activity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 mode = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_mode(&has_bits); - _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 map = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_map(&has_bits); - _impl_.map_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 matchid = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_matchid(&has_bits); - _impl_.matchid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* AccountActivity::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:AccountActivity) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 activity = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_activity(), target); - } - - // optional uint32 mode = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_mode(), target); - } - - // optional uint32 map = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_map(), target); - } - - // optional uint64 matchid = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_matchid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:AccountActivity) - return target; -} - -size_t AccountActivity::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:AccountActivity) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 activity = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_activity()); - } - - // optional uint32 mode = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode()); - } - - // optional uint64 matchid = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_matchid()); - } - - // optional uint32 map = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_map()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AccountActivity::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - AccountActivity::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AccountActivity::GetClassData() const { return &_class_data_; } - - -void AccountActivity::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:AccountActivity) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.activity_ = from._impl_.activity_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.mode_ = from._impl_.mode_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.matchid_ = from._impl_.matchid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.map_ = from._impl_.map_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void AccountActivity::CopyFrom(const AccountActivity& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:AccountActivity) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool AccountActivity::IsInitialized() const { - return true; -} - -void AccountActivity::InternalSwap(AccountActivity* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(AccountActivity, _impl_.map_) - + sizeof(AccountActivity::_impl_.map_) - - PROTOBUF_FIELD_OFFSET(AccountActivity, _impl_.activity_)>( - reinterpret_cast(&_impl_.activity_), - reinterpret_cast(&other->_impl_.activity_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata AccountActivity::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[15]); -} - -// =================================================================== - -class TournamentMatchSetup::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_event_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_team_id_ct(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_team_id_t(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_event_stage_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -TournamentMatchSetup::TournamentMatchSetup(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:TournamentMatchSetup) -} -TournamentMatchSetup::TournamentMatchSetup(const TournamentMatchSetup& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - TournamentMatchSetup* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.event_id_){} - , decltype(_impl_.team_id_ct_){} - , decltype(_impl_.team_id_t_){} - , decltype(_impl_.event_stage_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.event_id_, &from._impl_.event_id_, - static_cast(reinterpret_cast(&_impl_.event_stage_id_) - - reinterpret_cast(&_impl_.event_id_)) + sizeof(_impl_.event_stage_id_)); - // @@protoc_insertion_point(copy_constructor:TournamentMatchSetup) -} - -inline void TournamentMatchSetup::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.event_id_){0} - , decltype(_impl_.team_id_ct_){0} - , decltype(_impl_.team_id_t_){0} - , decltype(_impl_.event_stage_id_){0} - }; -} - -TournamentMatchSetup::~TournamentMatchSetup() { - // @@protoc_insertion_point(destructor:TournamentMatchSetup) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void TournamentMatchSetup::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void TournamentMatchSetup::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void TournamentMatchSetup::Clear() { -// @@protoc_insertion_point(message_clear_start:TournamentMatchSetup) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.event_id_, 0, static_cast( - reinterpret_cast(&_impl_.event_stage_id_) - - reinterpret_cast(&_impl_.event_id_)) + sizeof(_impl_.event_stage_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* TournamentMatchSetup::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 event_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_event_id(&has_bits); - _impl_.event_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 team_id_ct = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_team_id_ct(&has_bits); - _impl_.team_id_ct_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 team_id_t = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_team_id_t(&has_bits); - _impl_.team_id_t_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 event_stage_id = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_event_stage_id(&has_bits); - _impl_.event_stage_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* TournamentMatchSetup::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:TournamentMatchSetup) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 event_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_event_id(), target); - } - - // optional int32 team_id_ct = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_team_id_ct(), target); - } - - // optional int32 team_id_t = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_team_id_t(), target); - } - - // optional int32 event_stage_id = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_event_stage_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:TournamentMatchSetup) - return target; -} - -size_t TournamentMatchSetup::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:TournamentMatchSetup) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional int32 event_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_event_id()); - } - - // optional int32 team_id_ct = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id_ct()); - } - - // optional int32 team_id_t = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id_t()); - } - - // optional int32 event_stage_id = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_event_stage_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TournamentMatchSetup::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - TournamentMatchSetup::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TournamentMatchSetup::GetClassData() const { return &_class_data_; } - - -void TournamentMatchSetup::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:TournamentMatchSetup) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.event_id_ = from._impl_.event_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.team_id_ct_ = from._impl_.team_id_ct_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.team_id_t_ = from._impl_.team_id_t_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.event_stage_id_ = from._impl_.event_stage_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void TournamentMatchSetup::CopyFrom(const TournamentMatchSetup& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:TournamentMatchSetup) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool TournamentMatchSetup::IsInitialized() const { - return true; -} - -void TournamentMatchSetup::InternalSwap(TournamentMatchSetup* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(TournamentMatchSetup, _impl_.event_stage_id_) - + sizeof(TournamentMatchSetup::_impl_.event_stage_id_) - - PROTOBUF_FIELD_OFFSET(TournamentMatchSetup, _impl_.event_id_)>( - reinterpret_cast(&_impl_.event_id_), - reinterpret_cast(&other->_impl_.event_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata TournamentMatchSetup::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[16]); -} - -// =================================================================== - -class ServerHltvInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_tv_udp_port(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_tv_watch_key(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_tv_slots(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_tv_clients(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_tv_proxies(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_tv_time(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_game_type(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_game_mapgroup(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_game_map(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_tv_master_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_tv_local_slots(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_tv_local_clients(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_tv_local_proxies(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_tv_relay_slots(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_tv_relay_clients(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_tv_relay_proxies(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_tv_relay_address(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_tv_relay_port(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } - static void set_has_tv_relay_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 262144u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 524288u; - } -}; - -ServerHltvInfo::ServerHltvInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:ServerHltvInfo) -} -ServerHltvInfo::ServerHltvInfo(const ServerHltvInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ServerHltvInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.game_mapgroup_){} - , decltype(_impl_.game_map_){} - , decltype(_impl_.tv_watch_key_){} - , decltype(_impl_.tv_udp_port_){} - , decltype(_impl_.tv_slots_){} - , decltype(_impl_.tv_clients_){} - , decltype(_impl_.tv_proxies_){} - , decltype(_impl_.tv_time_){} - , decltype(_impl_.game_type_){} - , decltype(_impl_.tv_master_steamid_){} - , decltype(_impl_.tv_local_slots_){} - , decltype(_impl_.tv_local_clients_){} - , decltype(_impl_.tv_local_proxies_){} - , decltype(_impl_.tv_relay_slots_){} - , decltype(_impl_.tv_relay_clients_){} - , decltype(_impl_.tv_relay_proxies_){} - , decltype(_impl_.tv_relay_address_){} - , decltype(_impl_.tv_relay_port_){} - , decltype(_impl_.tv_relay_steamid_){} - , decltype(_impl_.flags_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.game_mapgroup_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_mapgroup_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_game_mapgroup()) { - _this->_impl_.game_mapgroup_.Set(from._internal_game_mapgroup(), - _this->GetArenaForAllocation()); - } - _impl_.game_map_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_map_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_game_map()) { - _this->_impl_.game_map_.Set(from._internal_game_map(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.tv_watch_key_, &from._impl_.tv_watch_key_, - static_cast(reinterpret_cast(&_impl_.flags_) - - reinterpret_cast(&_impl_.tv_watch_key_)) + sizeof(_impl_.flags_)); - // @@protoc_insertion_point(copy_constructor:ServerHltvInfo) -} - -inline void ServerHltvInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.game_mapgroup_){} - , decltype(_impl_.game_map_){} - , decltype(_impl_.tv_watch_key_){uint64_t{0u}} - , decltype(_impl_.tv_udp_port_){0u} - , decltype(_impl_.tv_slots_){0u} - , decltype(_impl_.tv_clients_){0u} - , decltype(_impl_.tv_proxies_){0u} - , decltype(_impl_.tv_time_){0u} - , decltype(_impl_.game_type_){0u} - , decltype(_impl_.tv_master_steamid_){uint64_t{0u}} - , decltype(_impl_.tv_local_slots_){0u} - , decltype(_impl_.tv_local_clients_){0u} - , decltype(_impl_.tv_local_proxies_){0u} - , decltype(_impl_.tv_relay_slots_){0u} - , decltype(_impl_.tv_relay_clients_){0u} - , decltype(_impl_.tv_relay_proxies_){0u} - , decltype(_impl_.tv_relay_address_){0u} - , decltype(_impl_.tv_relay_port_){0u} - , decltype(_impl_.tv_relay_steamid_){uint64_t{0u}} - , decltype(_impl_.flags_){0u} - }; - _impl_.game_mapgroup_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_mapgroup_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_map_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_map_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -ServerHltvInfo::~ServerHltvInfo() { - // @@protoc_insertion_point(destructor:ServerHltvInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ServerHltvInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.game_mapgroup_.Destroy(); - _impl_.game_map_.Destroy(); -} - -void ServerHltvInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ServerHltvInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:ServerHltvInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.game_mapgroup_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.game_map_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000fcu) { - ::memset(&_impl_.tv_watch_key_, 0, static_cast( - reinterpret_cast(&_impl_.tv_time_) - - reinterpret_cast(&_impl_.tv_watch_key_)) + sizeof(_impl_.tv_time_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.game_type_, 0, static_cast( - reinterpret_cast(&_impl_.tv_relay_proxies_) - - reinterpret_cast(&_impl_.game_type_)) + sizeof(_impl_.tv_relay_proxies_)); - } - if (cached_has_bits & 0x000f0000u) { - ::memset(&_impl_.tv_relay_address_, 0, static_cast( - reinterpret_cast(&_impl_.flags_) - - reinterpret_cast(&_impl_.tv_relay_address_)) + sizeof(_impl_.flags_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ServerHltvInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 tv_udp_port = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_tv_udp_port(&has_bits); - _impl_.tv_udp_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 tv_watch_key = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_tv_watch_key(&has_bits); - _impl_.tv_watch_key_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tv_slots = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_tv_slots(&has_bits); - _impl_.tv_slots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tv_clients = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_tv_clients(&has_bits); - _impl_.tv_clients_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tv_proxies = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_tv_proxies(&has_bits); - _impl_.tv_proxies_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tv_time = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_tv_time(&has_bits); - _impl_.tv_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 game_type = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_game_type(&has_bits); - _impl_.game_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string game_mapgroup = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_game_mapgroup(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "ServerHltvInfo.game_mapgroup"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string game_map = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_game_map(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "ServerHltvInfo.game_map"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint64 tv_master_steamid = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_tv_master_steamid(&has_bits); - _impl_.tv_master_steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tv_local_slots = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_tv_local_slots(&has_bits); - _impl_.tv_local_slots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tv_local_clients = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_tv_local_clients(&has_bits); - _impl_.tv_local_clients_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tv_local_proxies = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_tv_local_proxies(&has_bits); - _impl_.tv_local_proxies_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tv_relay_slots = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_tv_relay_slots(&has_bits); - _impl_.tv_relay_slots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tv_relay_clients = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_tv_relay_clients(&has_bits); - _impl_.tv_relay_clients_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tv_relay_proxies = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_tv_relay_proxies(&has_bits); - _impl_.tv_relay_proxies_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tv_relay_address = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_tv_relay_address(&has_bits); - _impl_.tv_relay_address_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tv_relay_port = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_tv_relay_port(&has_bits); - _impl_.tv_relay_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 tv_relay_steamid = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { - _Internal::set_has_tv_relay_steamid(&has_bits); - _impl_.tv_relay_steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ServerHltvInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:ServerHltvInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 tv_udp_port = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_tv_udp_port(), target); - } - - // optional uint64 tv_watch_key = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_tv_watch_key(), target); - } - - // optional uint32 tv_slots = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_tv_slots(), target); - } - - // optional uint32 tv_clients = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_tv_clients(), target); - } - - // optional uint32 tv_proxies = 5; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_tv_proxies(), target); - } - - // optional uint32 tv_time = 6; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_tv_time(), target); - } - - // optional uint32 game_type = 8; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_game_type(), target); - } - - // optional string game_mapgroup = 9; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_game_mapgroup().data(), static_cast(this->_internal_game_mapgroup().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "ServerHltvInfo.game_mapgroup"); - target = stream->WriteStringMaybeAliased( - 9, this->_internal_game_mapgroup(), target); - } - - // optional string game_map = 10; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_game_map().data(), static_cast(this->_internal_game_map().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "ServerHltvInfo.game_map"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_game_map(), target); - } - - // optional uint64 tv_master_steamid = 11; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(11, this->_internal_tv_master_steamid(), target); - } - - // optional uint32 tv_local_slots = 12; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_tv_local_slots(), target); - } - - // optional uint32 tv_local_clients = 13; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_tv_local_clients(), target); - } - - // optional uint32 tv_local_proxies = 14; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_tv_local_proxies(), target); - } - - // optional uint32 tv_relay_slots = 15; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_tv_relay_slots(), target); - } - - // optional uint32 tv_relay_clients = 16; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_tv_relay_clients(), target); - } - - // optional uint32 tv_relay_proxies = 17; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_tv_relay_proxies(), target); - } - - // optional uint32 tv_relay_address = 18; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_tv_relay_address(), target); - } - - // optional uint32 tv_relay_port = 19; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_tv_relay_port(), target); - } - - // optional uint64 tv_relay_steamid = 20; - if (cached_has_bits & 0x00040000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(20, this->_internal_tv_relay_steamid(), target); - } - - // optional uint32 flags = 21; - if (cached_has_bits & 0x00080000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_flags(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:ServerHltvInfo) - return target; -} - -size_t ServerHltvInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ServerHltvInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string game_mapgroup = 9; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_game_mapgroup()); - } - - // optional string game_map = 10; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_game_map()); - } - - // optional uint64 tv_watch_key = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_tv_watch_key()); - } - - // optional uint32 tv_udp_port = 1; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_udp_port()); - } - - // optional uint32 tv_slots = 3; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_slots()); - } - - // optional uint32 tv_clients = 4; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_clients()); - } - - // optional uint32 tv_proxies = 5; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_proxies()); - } - - // optional uint32 tv_time = 6; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_time()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional uint32 game_type = 8; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_game_type()); - } - - // optional uint64 tv_master_steamid = 11; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_tv_master_steamid()); - } - - // optional uint32 tv_local_slots = 12; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_local_slots()); - } - - // optional uint32 tv_local_clients = 13; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_local_clients()); - } - - // optional uint32 tv_local_proxies = 14; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_local_proxies()); - } - - // optional uint32 tv_relay_slots = 15; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_relay_slots()); - } - - // optional uint32 tv_relay_clients = 16; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_tv_relay_clients()); - } - - // optional uint32 tv_relay_proxies = 17; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_tv_relay_proxies()); - } - - } - if (cached_has_bits & 0x000f0000u) { - // optional uint32 tv_relay_address = 18; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_tv_relay_address()); - } - - // optional uint32 tv_relay_port = 19; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_tv_relay_port()); - } - - // optional uint64 tv_relay_steamid = 20; - if (cached_has_bits & 0x00040000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt64Size( - this->_internal_tv_relay_steamid()); - } - - // optional uint32 flags = 21; - if (cached_has_bits & 0x00080000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_flags()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ServerHltvInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ServerHltvInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ServerHltvInfo::GetClassData() const { return &_class_data_; } - - -void ServerHltvInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:ServerHltvInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_game_mapgroup(from._internal_game_mapgroup()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_game_map(from._internal_game_map()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.tv_watch_key_ = from._impl_.tv_watch_key_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.tv_udp_port_ = from._impl_.tv_udp_port_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.tv_slots_ = from._impl_.tv_slots_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.tv_clients_ = from._impl_.tv_clients_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.tv_proxies_ = from._impl_.tv_proxies_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.tv_time_ = from._impl_.tv_time_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.game_type_ = from._impl_.game_type_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.tv_master_steamid_ = from._impl_.tv_master_steamid_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.tv_local_slots_ = from._impl_.tv_local_slots_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.tv_local_clients_ = from._impl_.tv_local_clients_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.tv_local_proxies_ = from._impl_.tv_local_proxies_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.tv_relay_slots_ = from._impl_.tv_relay_slots_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.tv_relay_clients_ = from._impl_.tv_relay_clients_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.tv_relay_proxies_ = from._impl_.tv_relay_proxies_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x000f0000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.tv_relay_address_ = from._impl_.tv_relay_address_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.tv_relay_port_ = from._impl_.tv_relay_port_; - } - if (cached_has_bits & 0x00040000u) { - _this->_impl_.tv_relay_steamid_ = from._impl_.tv_relay_steamid_; - } - if (cached_has_bits & 0x00080000u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ServerHltvInfo::CopyFrom(const ServerHltvInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ServerHltvInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ServerHltvInfo::IsInitialized() const { - return true; -} - -void ServerHltvInfo::InternalSwap(ServerHltvInfo* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.game_mapgroup_, lhs_arena, - &other->_impl_.game_mapgroup_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.game_map_, lhs_arena, - &other->_impl_.game_map_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ServerHltvInfo, _impl_.flags_) - + sizeof(ServerHltvInfo::_impl_.flags_) - - PROTOBUF_FIELD_OFFSET(ServerHltvInfo, _impl_.tv_watch_key_)>( - reinterpret_cast(&_impl_.tv_watch_key_), - reinterpret_cast(&other->_impl_.tv_watch_key_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ServerHltvInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[17]); -} - -// =================================================================== - -class IpAddressMask::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_a(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_b(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_c(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_d(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_bits(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_token(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } -}; - -IpAddressMask::IpAddressMask(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:IpAddressMask) -} -IpAddressMask::IpAddressMask(const IpAddressMask& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - IpAddressMask* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.a_){} - , decltype(_impl_.b_){} - , decltype(_impl_.c_){} - , decltype(_impl_.d_){} - , decltype(_impl_.bits_){} - , decltype(_impl_.token_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.a_, &from._impl_.a_, - static_cast(reinterpret_cast(&_impl_.token_) - - reinterpret_cast(&_impl_.a_)) + sizeof(_impl_.token_)); - // @@protoc_insertion_point(copy_constructor:IpAddressMask) -} - -inline void IpAddressMask::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.a_){0u} - , decltype(_impl_.b_){0u} - , decltype(_impl_.c_){0u} - , decltype(_impl_.d_){0u} - , decltype(_impl_.bits_){0u} - , decltype(_impl_.token_){0u} - }; -} - -IpAddressMask::~IpAddressMask() { - // @@protoc_insertion_point(destructor:IpAddressMask) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void IpAddressMask::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void IpAddressMask::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void IpAddressMask::Clear() { -// @@protoc_insertion_point(message_clear_start:IpAddressMask) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - ::memset(&_impl_.a_, 0, static_cast( - reinterpret_cast(&_impl_.token_) - - reinterpret_cast(&_impl_.a_)) + sizeof(_impl_.token_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* IpAddressMask::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 a = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_a(&has_bits); - _impl_.a_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 b = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_b(&has_bits); - _impl_.b_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 c = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_c(&has_bits); - _impl_.c_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 d = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_d(&has_bits); - _impl_.d_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 bits = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_bits(&has_bits); - _impl_.bits_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 token = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_token(&has_bits); - _impl_.token_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* IpAddressMask::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:IpAddressMask) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 a = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_a(), target); - } - - // optional uint32 b = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_b(), target); - } - - // optional uint32 c = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_c(), target); - } - - // optional uint32 d = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_d(), target); - } - - // optional uint32 bits = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_bits(), target); - } - - // optional uint32 token = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_token(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:IpAddressMask) - return target; -} - -size_t IpAddressMask::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:IpAddressMask) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional uint32 a = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_a()); - } - - // optional uint32 b = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_b()); - } - - // optional uint32 c = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_c()); - } - - // optional uint32 d = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_d()); - } - - // optional uint32 bits = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_bits()); - } - - // optional uint32 token = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_token()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IpAddressMask::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - IpAddressMask::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IpAddressMask::GetClassData() const { return &_class_data_; } - - -void IpAddressMask::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:IpAddressMask) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.a_ = from._impl_.a_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.b_ = from._impl_.b_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.c_ = from._impl_.c_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.d_ = from._impl_.d_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.bits_ = from._impl_.bits_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.token_ = from._impl_.token_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void IpAddressMask::CopyFrom(const IpAddressMask& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:IpAddressMask) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool IpAddressMask::IsInitialized() const { - return true; -} - -void IpAddressMask::InternalSwap(IpAddressMask* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(IpAddressMask, _impl_.token_) - + sizeof(IpAddressMask::_impl_.token_) - - PROTOBUF_FIELD_OFFSET(IpAddressMask, _impl_.a_)>( - reinterpret_cast(&_impl_.a_), - reinterpret_cast(&other->_impl_.a_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata IpAddressMask::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[18]); -} - -// =================================================================== - -class CMsgCsgoSteamUserStatChange::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ecsgosteamuserstat(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_delta(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_absolute(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgCsgoSteamUserStatChange::CMsgCsgoSteamUserStatChange(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgCsgoSteamUserStatChange) -} -CMsgCsgoSteamUserStatChange::CMsgCsgoSteamUserStatChange(const CMsgCsgoSteamUserStatChange& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgCsgoSteamUserStatChange* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ecsgosteamuserstat_){} - , decltype(_impl_.delta_){} - , decltype(_impl_.absolute_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.ecsgosteamuserstat_, &from._impl_.ecsgosteamuserstat_, - static_cast(reinterpret_cast(&_impl_.absolute_) - - reinterpret_cast(&_impl_.ecsgosteamuserstat_)) + sizeof(_impl_.absolute_)); - // @@protoc_insertion_point(copy_constructor:CMsgCsgoSteamUserStatChange) -} - -inline void CMsgCsgoSteamUserStatChange::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ecsgosteamuserstat_){0} - , decltype(_impl_.delta_){0} - , decltype(_impl_.absolute_){false} - }; -} - -CMsgCsgoSteamUserStatChange::~CMsgCsgoSteamUserStatChange() { - // @@protoc_insertion_point(destructor:CMsgCsgoSteamUserStatChange) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgCsgoSteamUserStatChange::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgCsgoSteamUserStatChange::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgCsgoSteamUserStatChange::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgCsgoSteamUserStatChange) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.ecsgosteamuserstat_, 0, static_cast( - reinterpret_cast(&_impl_.absolute_) - - reinterpret_cast(&_impl_.ecsgosteamuserstat_)) + sizeof(_impl_.absolute_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgCsgoSteamUserStatChange::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 ecsgosteamuserstat = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_ecsgosteamuserstat(&has_bits); - _impl_.ecsgosteamuserstat_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 delta = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_delta(&has_bits); - _impl_.delta_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool absolute = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_absolute(&has_bits); - _impl_.absolute_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgCsgoSteamUserStatChange::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgCsgoSteamUserStatChange) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 ecsgosteamuserstat = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_ecsgosteamuserstat(), target); - } - - // optional int32 delta = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_delta(), target); - } - - // optional bool absolute = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_absolute(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgCsgoSteamUserStatChange) - return target; -} - -size_t CMsgCsgoSteamUserStatChange::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgCsgoSteamUserStatChange) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 ecsgosteamuserstat = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ecsgosteamuserstat()); - } - - // optional int32 delta = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_delta()); - } - - // optional bool absolute = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgCsgoSteamUserStatChange::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgCsgoSteamUserStatChange::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgCsgoSteamUserStatChange::GetClassData() const { return &_class_data_; } - - -void CMsgCsgoSteamUserStatChange::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgCsgoSteamUserStatChange) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.ecsgosteamuserstat_ = from._impl_.ecsgosteamuserstat_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.delta_ = from._impl_.delta_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.absolute_ = from._impl_.absolute_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgCsgoSteamUserStatChange::CopyFrom(const CMsgCsgoSteamUserStatChange& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgCsgoSteamUserStatChange) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgCsgoSteamUserStatChange::IsInitialized() const { - return true; -} - -void CMsgCsgoSteamUserStatChange::InternalSwap(CMsgCsgoSteamUserStatChange* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgCsgoSteamUserStatChange, _impl_.absolute_) - + sizeof(CMsgCsgoSteamUserStatChange::_impl_.absolute_) - - PROTOBUF_FIELD_OFFSET(CMsgCsgoSteamUserStatChange, _impl_.ecsgosteamuserstat_)>( - reinterpret_cast(&_impl_.ecsgosteamuserstat_), - reinterpret_cast(&other->_impl_.ecsgosteamuserstat_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgCsgoSteamUserStatChange::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[19]); -} - -// =================================================================== - -class XpProgressData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_xp_points(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_xp_category(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -XpProgressData::XpProgressData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:XpProgressData) -} -XpProgressData::XpProgressData(const XpProgressData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - XpProgressData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.xp_points_){} - , decltype(_impl_.xp_category_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.xp_points_, &from._impl_.xp_points_, - static_cast(reinterpret_cast(&_impl_.xp_category_) - - reinterpret_cast(&_impl_.xp_points_)) + sizeof(_impl_.xp_category_)); - // @@protoc_insertion_point(copy_constructor:XpProgressData) -} - -inline void XpProgressData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.xp_points_){0u} - , decltype(_impl_.xp_category_){0} - }; -} - -XpProgressData::~XpProgressData() { - // @@protoc_insertion_point(destructor:XpProgressData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void XpProgressData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void XpProgressData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void XpProgressData::Clear() { -// @@protoc_insertion_point(message_clear_start:XpProgressData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.xp_points_, 0, static_cast( - reinterpret_cast(&_impl_.xp_category_) - - reinterpret_cast(&_impl_.xp_points_)) + sizeof(_impl_.xp_category_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* XpProgressData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 xp_points = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_xp_points(&has_bits); - _impl_.xp_points_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 xp_category = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_xp_category(&has_bits); - _impl_.xp_category_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* XpProgressData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:XpProgressData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 xp_points = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_xp_points(), target); - } - - // optional int32 xp_category = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_xp_category(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:XpProgressData) - return target; -} - -size_t XpProgressData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:XpProgressData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 xp_points = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_xp_points()); - } - - // optional int32 xp_category = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_xp_category()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData XpProgressData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - XpProgressData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*XpProgressData::GetClassData() const { return &_class_data_; } - - -void XpProgressData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:XpProgressData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.xp_points_ = from._impl_.xp_points_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.xp_category_ = from._impl_.xp_category_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void XpProgressData::CopyFrom(const XpProgressData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:XpProgressData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool XpProgressData::IsInitialized() const { - return true; -} - -void XpProgressData::InternalSwap(XpProgressData* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(XpProgressData, _impl_.xp_category_) - + sizeof(XpProgressData::_impl_.xp_category_) - - PROTOBUF_FIELD_OFFSET(XpProgressData, _impl_.xp_points_)>( - reinterpret_cast(&_impl_.xp_points_), - reinterpret_cast(&other->_impl_.xp_points_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata XpProgressData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[20]); -} - -// =================================================================== - -class MatchEndItemUpdates::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_item_attr_defidx(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_item_attr_delta_value(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -MatchEndItemUpdates::MatchEndItemUpdates(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:MatchEndItemUpdates) -} -MatchEndItemUpdates::MatchEndItemUpdates(const MatchEndItemUpdates& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - MatchEndItemUpdates* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_id_){} - , decltype(_impl_.item_attr_defidx_){} - , decltype(_impl_.item_attr_delta_value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.item_id_, &from._impl_.item_id_, - static_cast(reinterpret_cast(&_impl_.item_attr_delta_value_) - - reinterpret_cast(&_impl_.item_id_)) + sizeof(_impl_.item_attr_delta_value_)); - // @@protoc_insertion_point(copy_constructor:MatchEndItemUpdates) -} - -inline void MatchEndItemUpdates::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_id_){uint64_t{0u}} - , decltype(_impl_.item_attr_defidx_){0u} - , decltype(_impl_.item_attr_delta_value_){0u} - }; -} - -MatchEndItemUpdates::~MatchEndItemUpdates() { - // @@protoc_insertion_point(destructor:MatchEndItemUpdates) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void MatchEndItemUpdates::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void MatchEndItemUpdates::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void MatchEndItemUpdates::Clear() { -// @@protoc_insertion_point(message_clear_start:MatchEndItemUpdates) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.item_id_, 0, static_cast( - reinterpret_cast(&_impl_.item_attr_delta_value_) - - reinterpret_cast(&_impl_.item_id_)) + sizeof(_impl_.item_attr_delta_value_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* MatchEndItemUpdates::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 item_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_item_id(&has_bits); - _impl_.item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 item_attr_defidx = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_item_attr_defidx(&has_bits); - _impl_.item_attr_defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 item_attr_delta_value = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_item_attr_delta_value(&has_bits); - _impl_.item_attr_delta_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* MatchEndItemUpdates::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:MatchEndItemUpdates) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 item_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_item_id(), target); - } - - // optional uint32 item_attr_defidx = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_item_attr_defidx(), target); - } - - // optional uint32 item_attr_delta_value = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_item_attr_delta_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:MatchEndItemUpdates) - return target; -} - -size_t MatchEndItemUpdates::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:MatchEndItemUpdates) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint64 item_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_id()); - } - - // optional uint32 item_attr_defidx = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_attr_defidx()); - } - - // optional uint32 item_attr_delta_value = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_item_attr_delta_value()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MatchEndItemUpdates::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - MatchEndItemUpdates::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MatchEndItemUpdates::GetClassData() const { return &_class_data_; } - - -void MatchEndItemUpdates::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:MatchEndItemUpdates) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.item_id_ = from._impl_.item_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.item_attr_defidx_ = from._impl_.item_attr_defidx_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.item_attr_delta_value_ = from._impl_.item_attr_delta_value_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void MatchEndItemUpdates::CopyFrom(const MatchEndItemUpdates& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:MatchEndItemUpdates) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool MatchEndItemUpdates::IsInitialized() const { - return true; -} - -void MatchEndItemUpdates::InternalSwap(MatchEndItemUpdates* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(MatchEndItemUpdates, _impl_.item_attr_delta_value_) - + sizeof(MatchEndItemUpdates::_impl_.item_attr_delta_value_) - - PROTOBUF_FIELD_OFFSET(MatchEndItemUpdates, _impl_.item_id_)>( - reinterpret_cast(&_impl_.item_id_), - reinterpret_cast(&other->_impl_.item_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata MatchEndItemUpdates::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[21]); -} - -// =================================================================== - -class ScoreLeaderboardData_Entry::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_tag(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_val(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -ScoreLeaderboardData_Entry::ScoreLeaderboardData_Entry(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:ScoreLeaderboardData.Entry) -} -ScoreLeaderboardData_Entry::ScoreLeaderboardData_Entry(const ScoreLeaderboardData_Entry& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ScoreLeaderboardData_Entry* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tag_){} - , decltype(_impl_.val_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.tag_, &from._impl_.tag_, - static_cast(reinterpret_cast(&_impl_.val_) - - reinterpret_cast(&_impl_.tag_)) + sizeof(_impl_.val_)); - // @@protoc_insertion_point(copy_constructor:ScoreLeaderboardData.Entry) -} - -inline void ScoreLeaderboardData_Entry::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tag_){0u} - , decltype(_impl_.val_){0u} - }; -} - -ScoreLeaderboardData_Entry::~ScoreLeaderboardData_Entry() { - // @@protoc_insertion_point(destructor:ScoreLeaderboardData.Entry) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ScoreLeaderboardData_Entry::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void ScoreLeaderboardData_Entry::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ScoreLeaderboardData_Entry::Clear() { -// @@protoc_insertion_point(message_clear_start:ScoreLeaderboardData.Entry) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.tag_, 0, static_cast( - reinterpret_cast(&_impl_.val_) - - reinterpret_cast(&_impl_.tag_)) + sizeof(_impl_.val_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ScoreLeaderboardData_Entry::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 tag = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_tag(&has_bits); - _impl_.tag_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 val = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_val(&has_bits); - _impl_.val_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ScoreLeaderboardData_Entry::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:ScoreLeaderboardData.Entry) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 tag = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_tag(), target); - } - - // optional uint32 val = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_val(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:ScoreLeaderboardData.Entry) - return target; -} - -size_t ScoreLeaderboardData_Entry::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ScoreLeaderboardData.Entry) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 tag = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tag()); - } - - // optional uint32 val = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_val()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ScoreLeaderboardData_Entry::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ScoreLeaderboardData_Entry::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ScoreLeaderboardData_Entry::GetClassData() const { return &_class_data_; } - - -void ScoreLeaderboardData_Entry::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:ScoreLeaderboardData.Entry) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.tag_ = from._impl_.tag_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.val_ = from._impl_.val_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ScoreLeaderboardData_Entry::CopyFrom(const ScoreLeaderboardData_Entry& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ScoreLeaderboardData.Entry) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ScoreLeaderboardData_Entry::IsInitialized() const { - return true; -} - -void ScoreLeaderboardData_Entry::InternalSwap(ScoreLeaderboardData_Entry* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ScoreLeaderboardData_Entry, _impl_.val_) - + sizeof(ScoreLeaderboardData_Entry::_impl_.val_) - - PROTOBUF_FIELD_OFFSET(ScoreLeaderboardData_Entry, _impl_.tag_)>( - reinterpret_cast(&_impl_.tag_), - reinterpret_cast(&other->_impl_.tag_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ScoreLeaderboardData_Entry::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[22]); -} - -// =================================================================== - -class ScoreLeaderboardData_AccountEntries::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -ScoreLeaderboardData_AccountEntries::ScoreLeaderboardData_AccountEntries(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:ScoreLeaderboardData.AccountEntries) -} -ScoreLeaderboardData_AccountEntries::ScoreLeaderboardData_AccountEntries(const ScoreLeaderboardData_AccountEntries& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ScoreLeaderboardData_AccountEntries* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entries_){from._impl_.entries_} - , decltype(_impl_.accountid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.accountid_ = from._impl_.accountid_; - // @@protoc_insertion_point(copy_constructor:ScoreLeaderboardData.AccountEntries) -} - -inline void ScoreLeaderboardData_AccountEntries::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entries_){arena} - , decltype(_impl_.accountid_){0u} - }; -} - -ScoreLeaderboardData_AccountEntries::~ScoreLeaderboardData_AccountEntries() { - // @@protoc_insertion_point(destructor:ScoreLeaderboardData.AccountEntries) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ScoreLeaderboardData_AccountEntries::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.entries_.~RepeatedPtrField(); -} - -void ScoreLeaderboardData_AccountEntries::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ScoreLeaderboardData_AccountEntries::Clear() { -// @@protoc_insertion_point(message_clear_start:ScoreLeaderboardData.AccountEntries) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.entries_.Clear(); - _impl_.accountid_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ScoreLeaderboardData_AccountEntries::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 accountid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .ScoreLeaderboardData.Entry entries = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_entries(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ScoreLeaderboardData_AccountEntries::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:ScoreLeaderboardData.AccountEntries) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); - } - - // repeated .ScoreLeaderboardData.Entry entries = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_entries_size()); i < n; i++) { - const auto& repfield = this->_internal_entries(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:ScoreLeaderboardData.AccountEntries) - return target; -} - -size_t ScoreLeaderboardData_AccountEntries::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ScoreLeaderboardData.AccountEntries) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .ScoreLeaderboardData.Entry entries = 2; - total_size += 1UL * this->_internal_entries_size(); - for (const auto& msg : this->_impl_.entries_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional uint32 accountid = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ScoreLeaderboardData_AccountEntries::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ScoreLeaderboardData_AccountEntries::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ScoreLeaderboardData_AccountEntries::GetClassData() const { return &_class_data_; } - - -void ScoreLeaderboardData_AccountEntries::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:ScoreLeaderboardData.AccountEntries) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.entries_.MergeFrom(from._impl_.entries_); - if (from._internal_has_accountid()) { - _this->_internal_set_accountid(from._internal_accountid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ScoreLeaderboardData_AccountEntries::CopyFrom(const ScoreLeaderboardData_AccountEntries& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ScoreLeaderboardData.AccountEntries) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ScoreLeaderboardData_AccountEntries::IsInitialized() const { - return true; -} - -void ScoreLeaderboardData_AccountEntries::InternalSwap(ScoreLeaderboardData_AccountEntries* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.entries_.InternalSwap(&other->_impl_.entries_); - swap(_impl_.accountid_, other->_impl_.accountid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ScoreLeaderboardData_AccountEntries::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[23]); -} - -// =================================================================== - -class ScoreLeaderboardData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_quest_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_score(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_leaderboard_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -ScoreLeaderboardData::ScoreLeaderboardData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:ScoreLeaderboardData) -} -ScoreLeaderboardData::ScoreLeaderboardData(const ScoreLeaderboardData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ScoreLeaderboardData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.accountentries_){from._impl_.accountentries_} - , decltype(_impl_.matchentries_){from._impl_.matchentries_} - , decltype(_impl_.leaderboard_name_){} - , decltype(_impl_.quest_id_){} - , decltype(_impl_.score_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.leaderboard_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.leaderboard_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_leaderboard_name()) { - _this->_impl_.leaderboard_name_.Set(from._internal_leaderboard_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.quest_id_, &from._impl_.quest_id_, - static_cast(reinterpret_cast(&_impl_.score_) - - reinterpret_cast(&_impl_.quest_id_)) + sizeof(_impl_.score_)); - // @@protoc_insertion_point(copy_constructor:ScoreLeaderboardData) -} - -inline void ScoreLeaderboardData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.accountentries_){arena} - , decltype(_impl_.matchentries_){arena} - , decltype(_impl_.leaderboard_name_){} - , decltype(_impl_.quest_id_){uint64_t{0u}} - , decltype(_impl_.score_){0u} - }; - _impl_.leaderboard_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.leaderboard_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -ScoreLeaderboardData::~ScoreLeaderboardData() { - // @@protoc_insertion_point(destructor:ScoreLeaderboardData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ScoreLeaderboardData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.accountentries_.~RepeatedPtrField(); - _impl_.matchentries_.~RepeatedPtrField(); - _impl_.leaderboard_name_.Destroy(); -} - -void ScoreLeaderboardData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ScoreLeaderboardData::Clear() { -// @@protoc_insertion_point(message_clear_start:ScoreLeaderboardData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.accountentries_.Clear(); - _impl_.matchentries_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.leaderboard_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.quest_id_, 0, static_cast( - reinterpret_cast(&_impl_.score_) - - reinterpret_cast(&_impl_.quest_id_)) + sizeof(_impl_.score_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ScoreLeaderboardData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 quest_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_quest_id(&has_bits); - _impl_.quest_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 score = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_score(&has_bits); - _impl_.score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .ScoreLeaderboardData.AccountEntries accountentries = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_accountentries(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .ScoreLeaderboardData.Entry matchentries = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_matchentries(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else - goto handle_unusual; - continue; - // optional string leaderboard_name = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_leaderboard_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "ScoreLeaderboardData.leaderboard_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ScoreLeaderboardData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:ScoreLeaderboardData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 quest_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_quest_id(), target); - } - - // optional uint32 score = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_score(), target); - } - - // repeated .ScoreLeaderboardData.AccountEntries accountentries = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_accountentries_size()); i < n; i++) { - const auto& repfield = this->_internal_accountentries(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .ScoreLeaderboardData.Entry matchentries = 5; - for (unsigned i = 0, - n = static_cast(this->_internal_matchentries_size()); i < n; i++) { - const auto& repfield = this->_internal_matchentries(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional string leaderboard_name = 6; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_leaderboard_name().data(), static_cast(this->_internal_leaderboard_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "ScoreLeaderboardData.leaderboard_name"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_leaderboard_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:ScoreLeaderboardData) - return target; -} - -size_t ScoreLeaderboardData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ScoreLeaderboardData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .ScoreLeaderboardData.AccountEntries accountentries = 3; - total_size += 1UL * this->_internal_accountentries_size(); - for (const auto& msg : this->_impl_.accountentries_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .ScoreLeaderboardData.Entry matchentries = 5; - total_size += 1UL * this->_internal_matchentries_size(); - for (const auto& msg : this->_impl_.matchentries_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string leaderboard_name = 6; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_leaderboard_name()); - } - - // optional uint64 quest_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_quest_id()); - } - - // optional uint32 score = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_score()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ScoreLeaderboardData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ScoreLeaderboardData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ScoreLeaderboardData::GetClassData() const { return &_class_data_; } - - -void ScoreLeaderboardData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:ScoreLeaderboardData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.accountentries_.MergeFrom(from._impl_.accountentries_); - _this->_impl_.matchentries_.MergeFrom(from._impl_.matchentries_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_leaderboard_name(from._internal_leaderboard_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.quest_id_ = from._impl_.quest_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.score_ = from._impl_.score_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ScoreLeaderboardData::CopyFrom(const ScoreLeaderboardData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ScoreLeaderboardData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ScoreLeaderboardData::IsInitialized() const { - return true; -} - -void ScoreLeaderboardData::InternalSwap(ScoreLeaderboardData* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.accountentries_.InternalSwap(&other->_impl_.accountentries_); - _impl_.matchentries_.InternalSwap(&other->_impl_.matchentries_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.leaderboard_name_, lhs_arena, - &other->_impl_.leaderboard_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ScoreLeaderboardData, _impl_.score_) - + sizeof(ScoreLeaderboardData::_impl_.score_) - - PROTOBUF_FIELD_OFFSET(ScoreLeaderboardData, _impl_.quest_id_)>( - reinterpret_cast(&_impl_.quest_id_), - reinterpret_cast(&other->_impl_.quest_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ScoreLeaderboardData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[24]); -} - -// =================================================================== - -class PlayerQuestData_QuestItemData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_quest_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_quest_normal_points_earned(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_quest_bonus_points_earned(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_quest_period(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_quest_type(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -PlayerQuestData_QuestItemData::PlayerQuestData_QuestItemData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:PlayerQuestData.QuestItemData) -} -PlayerQuestData_QuestItemData::PlayerQuestData_QuestItemData(const PlayerQuestData_QuestItemData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - PlayerQuestData_QuestItemData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.quest_normal_points_required_){from._impl_.quest_normal_points_required_} - , decltype(_impl_.quest_reward_xp_){from._impl_.quest_reward_xp_} - , decltype(_impl_.quest_id_){} - , decltype(_impl_.quest_normal_points_earned_){} - , decltype(_impl_.quest_bonus_points_earned_){} - , decltype(_impl_.quest_period_){} - , decltype(_impl_.quest_type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.quest_id_, &from._impl_.quest_id_, - static_cast(reinterpret_cast(&_impl_.quest_type_) - - reinterpret_cast(&_impl_.quest_id_)) + sizeof(_impl_.quest_type_)); - // @@protoc_insertion_point(copy_constructor:PlayerQuestData.QuestItemData) -} - -inline void PlayerQuestData_QuestItemData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.quest_normal_points_required_){arena} - , decltype(_impl_.quest_reward_xp_){arena} - , decltype(_impl_.quest_id_){uint64_t{0u}} - , decltype(_impl_.quest_normal_points_earned_){0} - , decltype(_impl_.quest_bonus_points_earned_){0} - , decltype(_impl_.quest_period_){0} - , decltype(_impl_.quest_type_){1} - }; -} - -PlayerQuestData_QuestItemData::~PlayerQuestData_QuestItemData() { - // @@protoc_insertion_point(destructor:PlayerQuestData.QuestItemData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void PlayerQuestData_QuestItemData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.quest_normal_points_required_.~RepeatedField(); - _impl_.quest_reward_xp_.~RepeatedField(); -} - -void PlayerQuestData_QuestItemData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void PlayerQuestData_QuestItemData::Clear() { -// @@protoc_insertion_point(message_clear_start:PlayerQuestData.QuestItemData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.quest_normal_points_required_.Clear(); - _impl_.quest_reward_xp_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.quest_id_, 0, static_cast( - reinterpret_cast(&_impl_.quest_period_) - - reinterpret_cast(&_impl_.quest_id_)) + sizeof(_impl_.quest_period_)); - _impl_.quest_type_ = 1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* PlayerQuestData_QuestItemData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 quest_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_quest_id(&has_bits); - _impl_.quest_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 quest_normal_points_earned = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_quest_normal_points_earned(&has_bits); - _impl_.quest_normal_points_earned_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 quest_bonus_points_earned = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_quest_bonus_points_earned(&has_bits); - _impl_.quest_bonus_points_earned_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 quest_normal_points_required = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_quest_normal_points_required(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<32>(ptr)); - } else if (static_cast(tag) == 34) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_quest_normal_points_required(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 quest_reward_xp = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_quest_reward_xp(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<40>(ptr)); - } else if (static_cast(tag) == 42) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_quest_reward_xp(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 quest_period = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_quest_period(&has_bits); - _impl_.quest_period_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .QuestType quest_type = 7 [default = k_EQuestType_Operation]; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::QuestType_IsValid(val))) { - _internal_set_quest_type(static_cast<::QuestType>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(7, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* PlayerQuestData_QuestItemData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:PlayerQuestData.QuestItemData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 quest_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_quest_id(), target); - } - - // optional int32 quest_normal_points_earned = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_quest_normal_points_earned(), target); - } - - // optional int32 quest_bonus_points_earned = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_quest_bonus_points_earned(), target); - } - - // repeated int32 quest_normal_points_required = 4; - for (int i = 0, n = this->_internal_quest_normal_points_required_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_quest_normal_points_required(i), target); - } - - // repeated int32 quest_reward_xp = 5; - for (int i = 0, n = this->_internal_quest_reward_xp_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_quest_reward_xp(i), target); - } - - // optional int32 quest_period = 6; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_quest_period(), target); - } - - // optional .QuestType quest_type = 7 [default = k_EQuestType_Operation]; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 7, this->_internal_quest_type(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:PlayerQuestData.QuestItemData) - return target; -} - -size_t PlayerQuestData_QuestItemData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:PlayerQuestData.QuestItemData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated int32 quest_normal_points_required = 4; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.quest_normal_points_required_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_quest_normal_points_required_size()); - total_size += data_size; - } - - // repeated int32 quest_reward_xp = 5; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.quest_reward_xp_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_quest_reward_xp_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional uint64 quest_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_quest_id()); - } - - // optional int32 quest_normal_points_earned = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_quest_normal_points_earned()); - } - - // optional int32 quest_bonus_points_earned = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_quest_bonus_points_earned()); - } - - // optional int32 quest_period = 6; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_quest_period()); - } - - // optional .QuestType quest_type = 7 [default = k_EQuestType_Operation]; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_quest_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerQuestData_QuestItemData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - PlayerQuestData_QuestItemData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerQuestData_QuestItemData::GetClassData() const { return &_class_data_; } - - -void PlayerQuestData_QuestItemData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:PlayerQuestData.QuestItemData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.quest_normal_points_required_.MergeFrom(from._impl_.quest_normal_points_required_); - _this->_impl_.quest_reward_xp_.MergeFrom(from._impl_.quest_reward_xp_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.quest_id_ = from._impl_.quest_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.quest_normal_points_earned_ = from._impl_.quest_normal_points_earned_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.quest_bonus_points_earned_ = from._impl_.quest_bonus_points_earned_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.quest_period_ = from._impl_.quest_period_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.quest_type_ = from._impl_.quest_type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void PlayerQuestData_QuestItemData::CopyFrom(const PlayerQuestData_QuestItemData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:PlayerQuestData.QuestItemData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PlayerQuestData_QuestItemData::IsInitialized() const { - return true; -} - -void PlayerQuestData_QuestItemData::InternalSwap(PlayerQuestData_QuestItemData* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.quest_normal_points_required_.InternalSwap(&other->_impl_.quest_normal_points_required_); - _impl_.quest_reward_xp_.InternalSwap(&other->_impl_.quest_reward_xp_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(PlayerQuestData_QuestItemData, _impl_.quest_period_) - + sizeof(PlayerQuestData_QuestItemData::_impl_.quest_period_) - - PROTOBUF_FIELD_OFFSET(PlayerQuestData_QuestItemData, _impl_.quest_id_)>( - reinterpret_cast(&_impl_.quest_id_), - reinterpret_cast(&other->_impl_.quest_id_)); - swap(_impl_.quest_type_, other->_impl_.quest_type_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata PlayerQuestData_QuestItemData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[25]); -} - -// =================================================================== - -class PlayerQuestData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_quester_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_time_played(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_mm_game_mode(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_operation_points_eligible(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -PlayerQuestData::PlayerQuestData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:PlayerQuestData) -} -PlayerQuestData::PlayerQuestData(const PlayerQuestData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - PlayerQuestData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.quest_item_data_){from._impl_.quest_item_data_} - , decltype(_impl_.xp_progress_data_){from._impl_.xp_progress_data_} - , decltype(_impl_.item_updates_){from._impl_.item_updates_} - , decltype(_impl_.userstatchanges_){from._impl_.userstatchanges_} - , decltype(_impl_.quester_account_id_){} - , decltype(_impl_.time_played_){} - , decltype(_impl_.mm_game_mode_){} - , decltype(_impl_.operation_points_eligible_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.quester_account_id_, &from._impl_.quester_account_id_, - static_cast(reinterpret_cast(&_impl_.operation_points_eligible_) - - reinterpret_cast(&_impl_.quester_account_id_)) + sizeof(_impl_.operation_points_eligible_)); - // @@protoc_insertion_point(copy_constructor:PlayerQuestData) -} - -inline void PlayerQuestData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.quest_item_data_){arena} - , decltype(_impl_.xp_progress_data_){arena} - , decltype(_impl_.item_updates_){arena} - , decltype(_impl_.userstatchanges_){arena} - , decltype(_impl_.quester_account_id_){0u} - , decltype(_impl_.time_played_){0u} - , decltype(_impl_.mm_game_mode_){0u} - , decltype(_impl_.operation_points_eligible_){false} - }; -} - -PlayerQuestData::~PlayerQuestData() { - // @@protoc_insertion_point(destructor:PlayerQuestData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void PlayerQuestData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.quest_item_data_.~RepeatedPtrField(); - _impl_.xp_progress_data_.~RepeatedPtrField(); - _impl_.item_updates_.~RepeatedPtrField(); - _impl_.userstatchanges_.~RepeatedPtrField(); -} - -void PlayerQuestData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void PlayerQuestData::Clear() { -// @@protoc_insertion_point(message_clear_start:PlayerQuestData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.quest_item_data_.Clear(); - _impl_.xp_progress_data_.Clear(); - _impl_.item_updates_.Clear(); - _impl_.userstatchanges_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.quester_account_id_, 0, static_cast( - reinterpret_cast(&_impl_.operation_points_eligible_) - - reinterpret_cast(&_impl_.quester_account_id_)) + sizeof(_impl_.operation_points_eligible_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* PlayerQuestData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 quester_account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_quester_account_id(&has_bits); - _impl_.quester_account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .PlayerQuestData.QuestItemData quest_item_data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_quest_item_data(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .XpProgressData xp_progress_data = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_xp_progress_data(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 time_played = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_time_played(&has_bits); - _impl_.time_played_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 mm_game_mode = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_mm_game_mode(&has_bits); - _impl_.mm_game_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .MatchEndItemUpdates item_updates = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_item_updates(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); - } else - goto handle_unusual; - continue; - // optional bool operation_points_eligible = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_operation_points_eligible(&has_bits); - _impl_.operation_points_eligible_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgCsgoSteamUserStatChange userstatchanges = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_userstatchanges(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* PlayerQuestData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:PlayerQuestData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 quester_account_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_quester_account_id(), target); - } - - // repeated .PlayerQuestData.QuestItemData quest_item_data = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_quest_item_data_size()); i < n; i++) { - const auto& repfield = this->_internal_quest_item_data(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .XpProgressData xp_progress_data = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_xp_progress_data_size()); i < n; i++) { - const auto& repfield = this->_internal_xp_progress_data(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 time_played = 4; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_time_played(), target); - } - - // optional uint32 mm_game_mode = 5; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_mm_game_mode(), target); - } - - // repeated .MatchEndItemUpdates item_updates = 6; - for (unsigned i = 0, - n = static_cast(this->_internal_item_updates_size()); i < n; i++) { - const auto& repfield = this->_internal_item_updates(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional bool operation_points_eligible = 7; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_operation_points_eligible(), target); - } - - // repeated .CMsgCsgoSteamUserStatChange userstatchanges = 8; - for (unsigned i = 0, - n = static_cast(this->_internal_userstatchanges_size()); i < n; i++) { - const auto& repfield = this->_internal_userstatchanges(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:PlayerQuestData) - return target; -} - -size_t PlayerQuestData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:PlayerQuestData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .PlayerQuestData.QuestItemData quest_item_data = 2; - total_size += 1UL * this->_internal_quest_item_data_size(); - for (const auto& msg : this->_impl_.quest_item_data_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .XpProgressData xp_progress_data = 3; - total_size += 1UL * this->_internal_xp_progress_data_size(); - for (const auto& msg : this->_impl_.xp_progress_data_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .MatchEndItemUpdates item_updates = 6; - total_size += 1UL * this->_internal_item_updates_size(); - for (const auto& msg : this->_impl_.item_updates_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CMsgCsgoSteamUserStatChange userstatchanges = 8; - total_size += 1UL * this->_internal_userstatchanges_size(); - for (const auto& msg : this->_impl_.userstatchanges_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 quester_account_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_quester_account_id()); - } - - // optional uint32 time_played = 4; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_played()); - } - - // optional uint32 mm_game_mode = 5; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mm_game_mode()); - } - - // optional bool operation_points_eligible = 7; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerQuestData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - PlayerQuestData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerQuestData::GetClassData() const { return &_class_data_; } - - -void PlayerQuestData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:PlayerQuestData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.quest_item_data_.MergeFrom(from._impl_.quest_item_data_); - _this->_impl_.xp_progress_data_.MergeFrom(from._impl_.xp_progress_data_); - _this->_impl_.item_updates_.MergeFrom(from._impl_.item_updates_); - _this->_impl_.userstatchanges_.MergeFrom(from._impl_.userstatchanges_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.quester_account_id_ = from._impl_.quester_account_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.time_played_ = from._impl_.time_played_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.mm_game_mode_ = from._impl_.mm_game_mode_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.operation_points_eligible_ = from._impl_.operation_points_eligible_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void PlayerQuestData::CopyFrom(const PlayerQuestData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:PlayerQuestData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PlayerQuestData::IsInitialized() const { - return true; -} - -void PlayerQuestData::InternalSwap(PlayerQuestData* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.quest_item_data_.InternalSwap(&other->_impl_.quest_item_data_); - _impl_.xp_progress_data_.InternalSwap(&other->_impl_.xp_progress_data_); - _impl_.item_updates_.InternalSwap(&other->_impl_.item_updates_); - _impl_.userstatchanges_.InternalSwap(&other->_impl_.userstatchanges_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(PlayerQuestData, _impl_.operation_points_eligible_) - + sizeof(PlayerQuestData::_impl_.operation_points_eligible_) - - PROTOBUF_FIELD_OFFSET(PlayerQuestData, _impl_.quester_account_id_)>( - reinterpret_cast(&_impl_.quester_account_id_), - reinterpret_cast(&other->_impl_.quester_account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata PlayerQuestData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[26]); -} - -// =================================================================== - -class DeepPlayerStatsEntry::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_match_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_mm_game_mode(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_mapid(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_b_starting_ct(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_match_outcome(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_rounds_won(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_rounds_lost(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_stat_score(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_stat_deaths(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_stat_mvps(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_enemy_kills(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_enemy_headshots(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_enemy_2ks(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_enemy_3ks(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_enemy_4ks(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_total_damage(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_engagements_entry_count(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } - static void set_has_engagements_entry_wins(HasBits* has_bits) { - (*has_bits)[0] |= 262144u; - } - static void set_has_engagements_1v1_count(HasBits* has_bits) { - (*has_bits)[0] |= 524288u; - } - static void set_has_engagements_1v1_wins(HasBits* has_bits) { - (*has_bits)[0] |= 1048576u; - } - static void set_has_engagements_1v2_count(HasBits* has_bits) { - (*has_bits)[0] |= 2097152u; - } - static void set_has_engagements_1v2_wins(HasBits* has_bits) { - (*has_bits)[0] |= 4194304u; - } - static void set_has_utility_count(HasBits* has_bits) { - (*has_bits)[0] |= 8388608u; - } - static void set_has_utility_success(HasBits* has_bits) { - (*has_bits)[0] |= 16777216u; - } - static void set_has_flash_count(HasBits* has_bits) { - (*has_bits)[0] |= 33554432u; - } - static void set_has_flash_success(HasBits* has_bits) { - (*has_bits)[0] |= 67108864u; - } -}; - -DeepPlayerStatsEntry::DeepPlayerStatsEntry(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:DeepPlayerStatsEntry) -} -DeepPlayerStatsEntry::DeepPlayerStatsEntry(const DeepPlayerStatsEntry& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - DeepPlayerStatsEntry* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mates_){from._impl_.mates_} - , decltype(_impl_.match_id_){} - , decltype(_impl_.accountid_){} - , decltype(_impl_.mm_game_mode_){} - , decltype(_impl_.mapid_){} - , decltype(_impl_.b_starting_ct_){} - , decltype(_impl_.match_outcome_){} - , decltype(_impl_.rounds_won_){} - , decltype(_impl_.rounds_lost_){} - , decltype(_impl_.stat_score_){} - , decltype(_impl_.stat_deaths_){} - , decltype(_impl_.stat_mvps_){} - , decltype(_impl_.enemy_kills_){} - , decltype(_impl_.enemy_headshots_){} - , decltype(_impl_.enemy_2ks_){} - , decltype(_impl_.enemy_3ks_){} - , decltype(_impl_.enemy_4ks_){} - , decltype(_impl_.total_damage_){} - , decltype(_impl_.engagements_entry_count_){} - , decltype(_impl_.engagements_entry_wins_){} - , decltype(_impl_.engagements_1v1_count_){} - , decltype(_impl_.engagements_1v1_wins_){} - , decltype(_impl_.engagements_1v2_count_){} - , decltype(_impl_.engagements_1v2_wins_){} - , decltype(_impl_.utility_count_){} - , decltype(_impl_.utility_success_){} - , decltype(_impl_.flash_count_){} - , decltype(_impl_.flash_success_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.match_id_, &from._impl_.match_id_, - static_cast(reinterpret_cast(&_impl_.flash_success_) - - reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.flash_success_)); - // @@protoc_insertion_point(copy_constructor:DeepPlayerStatsEntry) -} - -inline void DeepPlayerStatsEntry::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mates_){arena} - , decltype(_impl_.match_id_){uint64_t{0u}} - , decltype(_impl_.accountid_){0u} - , decltype(_impl_.mm_game_mode_){0u} - , decltype(_impl_.mapid_){0u} - , decltype(_impl_.b_starting_ct_){false} - , decltype(_impl_.match_outcome_){0u} - , decltype(_impl_.rounds_won_){0u} - , decltype(_impl_.rounds_lost_){0u} - , decltype(_impl_.stat_score_){0u} - , decltype(_impl_.stat_deaths_){0u} - , decltype(_impl_.stat_mvps_){0u} - , decltype(_impl_.enemy_kills_){0u} - , decltype(_impl_.enemy_headshots_){0u} - , decltype(_impl_.enemy_2ks_){0u} - , decltype(_impl_.enemy_3ks_){0u} - , decltype(_impl_.enemy_4ks_){0u} - , decltype(_impl_.total_damage_){0u} - , decltype(_impl_.engagements_entry_count_){0u} - , decltype(_impl_.engagements_entry_wins_){0u} - , decltype(_impl_.engagements_1v1_count_){0u} - , decltype(_impl_.engagements_1v1_wins_){0u} - , decltype(_impl_.engagements_1v2_count_){0u} - , decltype(_impl_.engagements_1v2_wins_){0u} - , decltype(_impl_.utility_count_){0u} - , decltype(_impl_.utility_success_){0u} - , decltype(_impl_.flash_count_){0u} - , decltype(_impl_.flash_success_){0u} - }; -} - -DeepPlayerStatsEntry::~DeepPlayerStatsEntry() { - // @@protoc_insertion_point(destructor:DeepPlayerStatsEntry) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void DeepPlayerStatsEntry::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.mates_.~RepeatedField(); -} - -void DeepPlayerStatsEntry::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void DeepPlayerStatsEntry::Clear() { -// @@protoc_insertion_point(message_clear_start:DeepPlayerStatsEntry) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.mates_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.match_id_, 0, static_cast( - reinterpret_cast(&_impl_.rounds_lost_) - - reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.rounds_lost_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.stat_score_, 0, static_cast( - reinterpret_cast(&_impl_.enemy_4ks_) - - reinterpret_cast(&_impl_.stat_score_)) + sizeof(_impl_.enemy_4ks_)); - } - if (cached_has_bits & 0x00ff0000u) { - ::memset(&_impl_.total_damage_, 0, static_cast( - reinterpret_cast(&_impl_.utility_count_) - - reinterpret_cast(&_impl_.total_damage_)) + sizeof(_impl_.utility_count_)); - } - if (cached_has_bits & 0x07000000u) { - ::memset(&_impl_.utility_success_, 0, static_cast( - reinterpret_cast(&_impl_.flash_success_) - - reinterpret_cast(&_impl_.utility_success_)) + sizeof(_impl_.flash_success_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* DeepPlayerStatsEntry::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 accountid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 match_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_match_id(&has_bits); - _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 mm_game_mode = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_mm_game_mode(&has_bits); - _impl_.mm_game_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 mapid = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_mapid(&has_bits); - _impl_.mapid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool b_starting_ct = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_b_starting_ct(&has_bits); - _impl_.b_starting_ct_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 match_outcome = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_match_outcome(&has_bits); - _impl_.match_outcome_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rounds_won = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_rounds_won(&has_bits); - _impl_.rounds_won_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rounds_lost = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_rounds_lost(&has_bits); - _impl_.rounds_lost_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 stat_score = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_stat_score(&has_bits); - _impl_.stat_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 stat_deaths = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_stat_deaths(&has_bits); - _impl_.stat_deaths_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 stat_mvps = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_stat_mvps(&has_bits); - _impl_.stat_mvps_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 enemy_kills = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_enemy_kills(&has_bits); - _impl_.enemy_kills_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 enemy_headshots = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_enemy_headshots(&has_bits); - _impl_.enemy_headshots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 enemy_2ks = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_enemy_2ks(&has_bits); - _impl_.enemy_2ks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 enemy_3ks = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_enemy_3ks(&has_bits); - _impl_.enemy_3ks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 enemy_4ks = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_enemy_4ks(&has_bits); - _impl_.enemy_4ks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 total_damage = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_total_damage(&has_bits); - _impl_.total_damage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 engagements_entry_count = 23; - case 23: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 184)) { - _Internal::set_has_engagements_entry_count(&has_bits); - _impl_.engagements_entry_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 engagements_entry_wins = 24; - case 24: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 192)) { - _Internal::set_has_engagements_entry_wins(&has_bits); - _impl_.engagements_entry_wins_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 engagements_1v1_count = 25; - case 25: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 200)) { - _Internal::set_has_engagements_1v1_count(&has_bits); - _impl_.engagements_1v1_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 engagements_1v1_wins = 26; - case 26: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 208)) { - _Internal::set_has_engagements_1v1_wins(&has_bits); - _impl_.engagements_1v1_wins_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 engagements_1v2_count = 27; - case 27: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 216)) { - _Internal::set_has_engagements_1v2_count(&has_bits); - _impl_.engagements_1v2_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 engagements_1v2_wins = 28; - case 28: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 224)) { - _Internal::set_has_engagements_1v2_wins(&has_bits); - _impl_.engagements_1v2_wins_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 utility_count = 29; - case 29: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 232)) { - _Internal::set_has_utility_count(&has_bits); - _impl_.utility_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 utility_success = 30; - case 30: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 240)) { - _Internal::set_has_utility_success(&has_bits); - _impl_.utility_success_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flash_count = 32; - case 32: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { - _Internal::set_has_flash_count(&has_bits); - _impl_.flash_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flash_success = 33; - case 33: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_flash_success(&has_bits); - _impl_.flash_success_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 mates = 34; - case 34: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - ptr -= 2; - do { - ptr += 2; - _internal_add_mates(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<272>(ptr)); - } else if (static_cast(tag) == 18) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_mates(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* DeepPlayerStatsEntry::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:DeepPlayerStatsEntry) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); - } - - // optional uint64 match_id = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_match_id(), target); - } - - // optional uint32 mm_game_mode = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_mm_game_mode(), target); - } - - // optional uint32 mapid = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_mapid(), target); - } - - // optional bool b_starting_ct = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_b_starting_ct(), target); - } - - // optional uint32 match_outcome = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_match_outcome(), target); - } - - // optional uint32 rounds_won = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_rounds_won(), target); - } - - // optional uint32 rounds_lost = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_rounds_lost(), target); - } - - // optional uint32 stat_score = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_stat_score(), target); - } - - // optional uint32 stat_deaths = 12; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_stat_deaths(), target); - } - - // optional uint32 stat_mvps = 13; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_stat_mvps(), target); - } - - // optional uint32 enemy_kills = 14; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_enemy_kills(), target); - } - - // optional uint32 enemy_headshots = 15; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_enemy_headshots(), target); - } - - // optional uint32 enemy_2ks = 16; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_enemy_2ks(), target); - } - - // optional uint32 enemy_3ks = 17; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_enemy_3ks(), target); - } - - // optional uint32 enemy_4ks = 18; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_enemy_4ks(), target); - } - - // optional uint32 total_damage = 19; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_total_damage(), target); - } - - // optional uint32 engagements_entry_count = 23; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(23, this->_internal_engagements_entry_count(), target); - } - - // optional uint32 engagements_entry_wins = 24; - if (cached_has_bits & 0x00040000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(24, this->_internal_engagements_entry_wins(), target); - } - - // optional uint32 engagements_1v1_count = 25; - if (cached_has_bits & 0x00080000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(25, this->_internal_engagements_1v1_count(), target); - } - - // optional uint32 engagements_1v1_wins = 26; - if (cached_has_bits & 0x00100000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(26, this->_internal_engagements_1v1_wins(), target); - } - - // optional uint32 engagements_1v2_count = 27; - if (cached_has_bits & 0x00200000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(27, this->_internal_engagements_1v2_count(), target); - } - - // optional uint32 engagements_1v2_wins = 28; - if (cached_has_bits & 0x00400000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(28, this->_internal_engagements_1v2_wins(), target); - } - - // optional uint32 utility_count = 29; - if (cached_has_bits & 0x00800000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(29, this->_internal_utility_count(), target); - } - - // optional uint32 utility_success = 30; - if (cached_has_bits & 0x01000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(30, this->_internal_utility_success(), target); - } - - // optional uint32 flash_count = 32; - if (cached_has_bits & 0x02000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(32, this->_internal_flash_count(), target); - } - - // optional uint32 flash_success = 33; - if (cached_has_bits & 0x04000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(33, this->_internal_flash_success(), target); - } - - // repeated uint32 mates = 34; - for (int i = 0, n = this->_internal_mates_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(34, this->_internal_mates(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:DeepPlayerStatsEntry) - return target; -} - -size_t DeepPlayerStatsEntry::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:DeepPlayerStatsEntry) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 mates = 34; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.mates_); - total_size += 2 * - ::_pbi::FromIntSize(this->_internal_mates_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional uint64 match_id = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); - } - - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - // optional uint32 mm_game_mode = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mm_game_mode()); - } - - // optional uint32 mapid = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mapid()); - } - - // optional bool b_starting_ct = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 1; - } - - // optional uint32 match_outcome = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_match_outcome()); - } - - // optional uint32 rounds_won = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rounds_won()); - } - - // optional uint32 rounds_lost = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rounds_lost()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional uint32 stat_score = 9; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_stat_score()); - } - - // optional uint32 stat_deaths = 12; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_stat_deaths()); - } - - // optional uint32 stat_mvps = 13; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_stat_mvps()); - } - - // optional uint32 enemy_kills = 14; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_enemy_kills()); - } - - // optional uint32 enemy_headshots = 15; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_enemy_headshots()); - } - - // optional uint32 enemy_2ks = 16; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_enemy_2ks()); - } - - // optional uint32 enemy_3ks = 17; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_enemy_3ks()); - } - - // optional uint32 enemy_4ks = 18; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_enemy_4ks()); - } - - } - if (cached_has_bits & 0x00ff0000u) { - // optional uint32 total_damage = 19; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_total_damage()); - } - - // optional uint32 engagements_entry_count = 23; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_engagements_entry_count()); - } - - // optional uint32 engagements_entry_wins = 24; - if (cached_has_bits & 0x00040000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_engagements_entry_wins()); - } - - // optional uint32 engagements_1v1_count = 25; - if (cached_has_bits & 0x00080000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_engagements_1v1_count()); - } - - // optional uint32 engagements_1v1_wins = 26; - if (cached_has_bits & 0x00100000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_engagements_1v1_wins()); - } - - // optional uint32 engagements_1v2_count = 27; - if (cached_has_bits & 0x00200000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_engagements_1v2_count()); - } - - // optional uint32 engagements_1v2_wins = 28; - if (cached_has_bits & 0x00400000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_engagements_1v2_wins()); - } - - // optional uint32 utility_count = 29; - if (cached_has_bits & 0x00800000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_utility_count()); - } - - } - if (cached_has_bits & 0x07000000u) { - // optional uint32 utility_success = 30; - if (cached_has_bits & 0x01000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_utility_success()); - } - - // optional uint32 flash_count = 32; - if (cached_has_bits & 0x02000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_flash_count()); - } - - // optional uint32 flash_success = 33; - if (cached_has_bits & 0x04000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_flash_success()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeepPlayerStatsEntry::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - DeepPlayerStatsEntry::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeepPlayerStatsEntry::GetClassData() const { return &_class_data_; } - - -void DeepPlayerStatsEntry::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:DeepPlayerStatsEntry) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.mates_.MergeFrom(from._impl_.mates_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.match_id_ = from._impl_.match_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.accountid_ = from._impl_.accountid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.mm_game_mode_ = from._impl_.mm_game_mode_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.mapid_ = from._impl_.mapid_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.b_starting_ct_ = from._impl_.b_starting_ct_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.match_outcome_ = from._impl_.match_outcome_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.rounds_won_ = from._impl_.rounds_won_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.rounds_lost_ = from._impl_.rounds_lost_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.stat_score_ = from._impl_.stat_score_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.stat_deaths_ = from._impl_.stat_deaths_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.stat_mvps_ = from._impl_.stat_mvps_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.enemy_kills_ = from._impl_.enemy_kills_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.enemy_headshots_ = from._impl_.enemy_headshots_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.enemy_2ks_ = from._impl_.enemy_2ks_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.enemy_3ks_ = from._impl_.enemy_3ks_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.enemy_4ks_ = from._impl_.enemy_4ks_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00ff0000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.total_damage_ = from._impl_.total_damage_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.engagements_entry_count_ = from._impl_.engagements_entry_count_; - } - if (cached_has_bits & 0x00040000u) { - _this->_impl_.engagements_entry_wins_ = from._impl_.engagements_entry_wins_; - } - if (cached_has_bits & 0x00080000u) { - _this->_impl_.engagements_1v1_count_ = from._impl_.engagements_1v1_count_; - } - if (cached_has_bits & 0x00100000u) { - _this->_impl_.engagements_1v1_wins_ = from._impl_.engagements_1v1_wins_; - } - if (cached_has_bits & 0x00200000u) { - _this->_impl_.engagements_1v2_count_ = from._impl_.engagements_1v2_count_; - } - if (cached_has_bits & 0x00400000u) { - _this->_impl_.engagements_1v2_wins_ = from._impl_.engagements_1v2_wins_; - } - if (cached_has_bits & 0x00800000u) { - _this->_impl_.utility_count_ = from._impl_.utility_count_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x07000000u) { - if (cached_has_bits & 0x01000000u) { - _this->_impl_.utility_success_ = from._impl_.utility_success_; - } - if (cached_has_bits & 0x02000000u) { - _this->_impl_.flash_count_ = from._impl_.flash_count_; - } - if (cached_has_bits & 0x04000000u) { - _this->_impl_.flash_success_ = from._impl_.flash_success_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void DeepPlayerStatsEntry::CopyFrom(const DeepPlayerStatsEntry& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:DeepPlayerStatsEntry) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DeepPlayerStatsEntry::IsInitialized() const { - return true; -} - -void DeepPlayerStatsEntry::InternalSwap(DeepPlayerStatsEntry* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.mates_.InternalSwap(&other->_impl_.mates_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(DeepPlayerStatsEntry, _impl_.flash_success_) - + sizeof(DeepPlayerStatsEntry::_impl_.flash_success_) - - PROTOBUF_FIELD_OFFSET(DeepPlayerStatsEntry, _impl_.match_id_)>( - reinterpret_cast(&_impl_.match_id_), - reinterpret_cast(&other->_impl_.match_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata DeepPlayerStatsEntry::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[27]); -} - -// =================================================================== - -class DeepPlayerMatchEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_match_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_event_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_event_type(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_b_playing_ct(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_user_pos_x(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_user_pos_y(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_user_pos_z(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_user_defidx(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_other_pos_x(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_other_pos_y(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_other_pos_z(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_other_defidx(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_event_data(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } -}; - -DeepPlayerMatchEvent::DeepPlayerMatchEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:DeepPlayerMatchEvent) -} -DeepPlayerMatchEvent::DeepPlayerMatchEvent(const DeepPlayerMatchEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - DeepPlayerMatchEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.match_id_){} - , decltype(_impl_.accountid_){} - , decltype(_impl_.event_id_){} - , decltype(_impl_.event_type_){} - , decltype(_impl_.b_playing_ct_){} - , decltype(_impl_.user_pos_x_){} - , decltype(_impl_.user_pos_y_){} - , decltype(_impl_.user_defidx_){} - , decltype(_impl_.other_pos_x_){} - , decltype(_impl_.other_pos_y_){} - , decltype(_impl_.other_defidx_){} - , decltype(_impl_.user_pos_z_){} - , decltype(_impl_.other_pos_z_){} - , decltype(_impl_.event_data_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.match_id_, &from._impl_.match_id_, - static_cast(reinterpret_cast(&_impl_.event_data_) - - reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.event_data_)); - // @@protoc_insertion_point(copy_constructor:DeepPlayerMatchEvent) -} - -inline void DeepPlayerMatchEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.match_id_){uint64_t{0u}} - , decltype(_impl_.accountid_){0u} - , decltype(_impl_.event_id_){0u} - , decltype(_impl_.event_type_){0u} - , decltype(_impl_.b_playing_ct_){false} - , decltype(_impl_.user_pos_x_){0} - , decltype(_impl_.user_pos_y_){0} - , decltype(_impl_.user_defidx_){0u} - , decltype(_impl_.other_pos_x_){0} - , decltype(_impl_.other_pos_y_){0} - , decltype(_impl_.other_defidx_){0u} - , decltype(_impl_.user_pos_z_){0} - , decltype(_impl_.other_pos_z_){0} - , decltype(_impl_.event_data_){0} - }; -} - -DeepPlayerMatchEvent::~DeepPlayerMatchEvent() { - // @@protoc_insertion_point(destructor:DeepPlayerMatchEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void DeepPlayerMatchEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void DeepPlayerMatchEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void DeepPlayerMatchEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:DeepPlayerMatchEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.match_id_, 0, static_cast( - reinterpret_cast(&_impl_.user_defidx_) - - reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.user_defidx_)); - } - if (cached_has_bits & 0x00003f00u) { - ::memset(&_impl_.other_pos_x_, 0, static_cast( - reinterpret_cast(&_impl_.event_data_) - - reinterpret_cast(&_impl_.other_pos_x_)) + sizeof(_impl_.event_data_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* DeepPlayerMatchEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 accountid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 match_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_match_id(&has_bits); - _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 event_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_event_id(&has_bits); - _impl_.event_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 event_type = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_event_type(&has_bits); - _impl_.event_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool b_playing_ct = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_b_playing_ct(&has_bits); - _impl_.b_playing_ct_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 user_pos_x = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_user_pos_x(&has_bits); - _impl_.user_pos_x_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 user_pos_y = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_user_pos_y(&has_bits); - _impl_.user_pos_y_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 user_defidx = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_user_defidx(&has_bits); - _impl_.user_defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 other_pos_x = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_other_pos_x(&has_bits); - _impl_.other_pos_x_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 other_pos_y = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_other_pos_y(&has_bits); - _impl_.other_pos_y_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 other_defidx = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_other_defidx(&has_bits); - _impl_.other_defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 user_pos_z = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_user_pos_z(&has_bits); - _impl_.user_pos_z_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 other_pos_z = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_other_pos_z(&has_bits); - _impl_.other_pos_z_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 event_data = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_event_data(&has_bits); - _impl_.event_data_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* DeepPlayerMatchEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:DeepPlayerMatchEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); - } - - // optional uint64 match_id = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_match_id(), target); - } - - // optional uint32 event_id = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_event_id(), target); - } - - // optional uint32 event_type = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_event_type(), target); - } - - // optional bool b_playing_ct = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_b_playing_ct(), target); - } - - // optional int32 user_pos_x = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_user_pos_x(), target); - } - - // optional int32 user_pos_y = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_user_pos_y(), target); - } - - // optional uint32 user_defidx = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_user_defidx(), target); - } - - // optional int32 other_pos_x = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_other_pos_x(), target); - } - - // optional int32 other_pos_y = 10; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_other_pos_y(), target); - } - - // optional uint32 other_defidx = 11; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_other_defidx(), target); - } - - // optional int32 user_pos_z = 12; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_user_pos_z(), target); - } - - // optional int32 other_pos_z = 13; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_other_pos_z(), target); - } - - // optional int32 event_data = 14; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_event_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:DeepPlayerMatchEvent) - return target; -} - -size_t DeepPlayerMatchEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:DeepPlayerMatchEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional uint64 match_id = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); - } - - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - // optional uint32 event_id = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_id()); - } - - // optional uint32 event_type = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_type()); - } - - // optional bool b_playing_ct = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 1; - } - - // optional int32 user_pos_x = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_user_pos_x()); - } - - // optional int32 user_pos_y = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_user_pos_y()); - } - - // optional uint32 user_defidx = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_user_defidx()); - } - - } - if (cached_has_bits & 0x00003f00u) { - // optional int32 other_pos_x = 9; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_other_pos_x()); - } - - // optional int32 other_pos_y = 10; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_other_pos_y()); - } - - // optional uint32 other_defidx = 11; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_other_defidx()); - } - - // optional int32 user_pos_z = 12; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_user_pos_z()); - } - - // optional int32 other_pos_z = 13; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_other_pos_z()); - } - - // optional int32 event_data = 14; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_event_data()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeepPlayerMatchEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - DeepPlayerMatchEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeepPlayerMatchEvent::GetClassData() const { return &_class_data_; } - - -void DeepPlayerMatchEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:DeepPlayerMatchEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.match_id_ = from._impl_.match_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.accountid_ = from._impl_.accountid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.event_id_ = from._impl_.event_id_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.event_type_ = from._impl_.event_type_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.b_playing_ct_ = from._impl_.b_playing_ct_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.user_pos_x_ = from._impl_.user_pos_x_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.user_pos_y_ = from._impl_.user_pos_y_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.user_defidx_ = from._impl_.user_defidx_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00003f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.other_pos_x_ = from._impl_.other_pos_x_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.other_pos_y_ = from._impl_.other_pos_y_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.other_defidx_ = from._impl_.other_defidx_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.user_pos_z_ = from._impl_.user_pos_z_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.other_pos_z_ = from._impl_.other_pos_z_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.event_data_ = from._impl_.event_data_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void DeepPlayerMatchEvent::CopyFrom(const DeepPlayerMatchEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:DeepPlayerMatchEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool DeepPlayerMatchEvent::IsInitialized() const { - return true; -} - -void DeepPlayerMatchEvent::InternalSwap(DeepPlayerMatchEvent* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(DeepPlayerMatchEvent, _impl_.event_data_) - + sizeof(DeepPlayerMatchEvent::_impl_.event_data_) - - PROTOBUF_FIELD_OFFSET(DeepPlayerMatchEvent, _impl_.match_id_)>( - reinterpret_cast(&_impl_.match_id_), - reinterpret_cast(&other->_impl_.match_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata DeepPlayerMatchEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[28]); -} - -// =================================================================== - -class CMsgGC_ServerQuestUpdateData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_binary_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_mm_game_mode(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::ScoreLeaderboardData& missionlbsdata(const CMsgGC_ServerQuestUpdateData* msg); - static void set_has_missionlbsdata(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::ScoreLeaderboardData& -CMsgGC_ServerQuestUpdateData::_Internal::missionlbsdata(const CMsgGC_ServerQuestUpdateData* msg) { - return *msg->_impl_.missionlbsdata_; -} -CMsgGC_ServerQuestUpdateData::CMsgGC_ServerQuestUpdateData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGC_ServerQuestUpdateData) -} -CMsgGC_ServerQuestUpdateData::CMsgGC_ServerQuestUpdateData(const CMsgGC_ServerQuestUpdateData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGC_ServerQuestUpdateData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.player_quest_data_){from._impl_.player_quest_data_} - , decltype(_impl_.binary_data_){} - , decltype(_impl_.missionlbsdata_){nullptr} - , decltype(_impl_.mm_game_mode_){} - , decltype(_impl_.flags_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.binary_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.binary_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_binary_data()) { - _this->_impl_.binary_data_.Set(from._internal_binary_data(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_missionlbsdata()) { - _this->_impl_.missionlbsdata_ = new ::ScoreLeaderboardData(*from._impl_.missionlbsdata_); - } - ::memcpy(&_impl_.mm_game_mode_, &from._impl_.mm_game_mode_, - static_cast(reinterpret_cast(&_impl_.flags_) - - reinterpret_cast(&_impl_.mm_game_mode_)) + sizeof(_impl_.flags_)); - // @@protoc_insertion_point(copy_constructor:CMsgGC_ServerQuestUpdateData) -} - -inline void CMsgGC_ServerQuestUpdateData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.player_quest_data_){arena} - , decltype(_impl_.binary_data_){} - , decltype(_impl_.missionlbsdata_){nullptr} - , decltype(_impl_.mm_game_mode_){0u} - , decltype(_impl_.flags_){0u} - }; - _impl_.binary_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.binary_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGC_ServerQuestUpdateData::~CMsgGC_ServerQuestUpdateData() { - // @@protoc_insertion_point(destructor:CMsgGC_ServerQuestUpdateData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGC_ServerQuestUpdateData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.player_quest_data_.~RepeatedPtrField(); - _impl_.binary_data_.Destroy(); - if (this != internal_default_instance()) delete _impl_.missionlbsdata_; -} - -void CMsgGC_ServerQuestUpdateData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGC_ServerQuestUpdateData::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGC_ServerQuestUpdateData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.player_quest_data_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.binary_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.missionlbsdata_ != nullptr); - _impl_.missionlbsdata_->Clear(); - } - } - if (cached_has_bits & 0x0000000cu) { - ::memset(&_impl_.mm_game_mode_, 0, static_cast( - reinterpret_cast(&_impl_.flags_) - - reinterpret_cast(&_impl_.mm_game_mode_)) + sizeof(_impl_.flags_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGC_ServerQuestUpdateData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .PlayerQuestData player_quest_data = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_player_quest_data(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // optional bytes binary_data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_binary_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 mm_game_mode = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_mm_game_mode(&has_bits); - _impl_.mm_game_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .ScoreLeaderboardData missionlbsdata = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_missionlbsdata(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGC_ServerQuestUpdateData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGC_ServerQuestUpdateData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .PlayerQuestData player_quest_data = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_player_quest_data_size()); i < n; i++) { - const auto& repfield = this->_internal_player_quest_data(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes binary_data = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_binary_data(), target); - } - - // optional uint32 mm_game_mode = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_mm_game_mode(), target); - } - - // optional .ScoreLeaderboardData missionlbsdata = 4; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::missionlbsdata(this), - _Internal::missionlbsdata(this).GetCachedSize(), target, stream); - } - - // optional uint32 flags = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_flags(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGC_ServerQuestUpdateData) - return target; -} - -size_t CMsgGC_ServerQuestUpdateData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGC_ServerQuestUpdateData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .PlayerQuestData player_quest_data = 1; - total_size += 1UL * this->_internal_player_quest_data_size(); - for (const auto& msg : this->_impl_.player_quest_data_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional bytes binary_data = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_binary_data()); - } - - // optional .ScoreLeaderboardData missionlbsdata = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.missionlbsdata_); - } - - // optional uint32 mm_game_mode = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mm_game_mode()); - } - - // optional uint32 flags = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGC_ServerQuestUpdateData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGC_ServerQuestUpdateData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGC_ServerQuestUpdateData::GetClassData() const { return &_class_data_; } - - -void CMsgGC_ServerQuestUpdateData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGC_ServerQuestUpdateData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.player_quest_data_.MergeFrom(from._impl_.player_quest_data_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_binary_data(from._internal_binary_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_missionlbsdata()->::ScoreLeaderboardData::MergeFrom( - from._internal_missionlbsdata()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.mm_game_mode_ = from._impl_.mm_game_mode_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGC_ServerQuestUpdateData::CopyFrom(const CMsgGC_ServerQuestUpdateData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGC_ServerQuestUpdateData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGC_ServerQuestUpdateData::IsInitialized() const { - return true; -} - -void CMsgGC_ServerQuestUpdateData::InternalSwap(CMsgGC_ServerQuestUpdateData* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.player_quest_data_.InternalSwap(&other->_impl_.player_quest_data_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.binary_data_, lhs_arena, - &other->_impl_.binary_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGC_ServerQuestUpdateData, _impl_.flags_) - + sizeof(CMsgGC_ServerQuestUpdateData::_impl_.flags_) - - PROTOBUF_FIELD_OFFSET(CMsgGC_ServerQuestUpdateData, _impl_.missionlbsdata_)>( - reinterpret_cast(&_impl_.missionlbsdata_), - reinterpret_cast(&other->_impl_.missionlbsdata_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGC_ServerQuestUpdateData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[29]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_token(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_stamp(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_exchange(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_retry(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) -} -CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm(const CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.token_){} - , decltype(_impl_.stamp_){} - , decltype(_impl_.exchange_){} - , decltype(_impl_.retry_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.token_, &from._impl_.token_, - static_cast(reinterpret_cast(&_impl_.retry_) - - reinterpret_cast(&_impl_.token_)) + sizeof(_impl_.retry_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) -} - -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.token_){0u} - , decltype(_impl_.stamp_){0u} - , decltype(_impl_.exchange_){uint64_t{0u}} - , decltype(_impl_.retry_){0u} - }; -} - -CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::~CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.token_, 0, static_cast( - reinterpret_cast(&_impl_.retry_) - - reinterpret_cast(&_impl_.token_)) + sizeof(_impl_.retry_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 token = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_token(&has_bits); - _impl_.token_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 stamp = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_stamp(&has_bits); - _impl_.stamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 exchange = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_exchange(&has_bits); - _impl_.exchange_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 retry = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_retry(&has_bits); - _impl_.retry_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 token = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_token(), target); - } - - // optional uint32 stamp = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_stamp(), target); - } - - // optional uint64 exchange = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_exchange(), target); - } - - // optional uint32 retry = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_retry(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 token = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_token()); - } - - // optional uint32 stamp = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_stamp()); - } - - // optional uint64 exchange = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_exchange()); - } - - // optional uint32 retry = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_retry()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.token_ = from._impl_.token_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.stamp_ = from._impl_.stamp_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.exchange_ = from._impl_.exchange_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.retry_ = from._impl_.retry_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm, _impl_.retry_) - + sizeof(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_impl_.retry_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm, _impl_.token_)>( - reinterpret_cast(&_impl_.token_), - reinterpret_cast(&other->_impl_.token_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[30]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_viewers_external_total(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_viewers_external_steam(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCStrike15_v2_GC2ServerReservationUpdate::CMsgGCCStrike15_v2_GC2ServerReservationUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) -} -CMsgGCCStrike15_v2_GC2ServerReservationUpdate::CMsgGCCStrike15_v2_GC2ServerReservationUpdate(const CMsgGCCStrike15_v2_GC2ServerReservationUpdate& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_GC2ServerReservationUpdate* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.viewers_external_total_){} - , decltype(_impl_.viewers_external_steam_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.viewers_external_total_, &from._impl_.viewers_external_total_, - static_cast(reinterpret_cast(&_impl_.viewers_external_steam_) - - reinterpret_cast(&_impl_.viewers_external_total_)) + sizeof(_impl_.viewers_external_steam_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) -} - -inline void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.viewers_external_total_){0u} - , decltype(_impl_.viewers_external_steam_){0u} - }; -} - -CMsgGCCStrike15_v2_GC2ServerReservationUpdate::~CMsgGCCStrike15_v2_GC2ServerReservationUpdate() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.viewers_external_total_, 0, static_cast( - reinterpret_cast(&_impl_.viewers_external_steam_) - - reinterpret_cast(&_impl_.viewers_external_total_)) + sizeof(_impl_.viewers_external_steam_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 viewers_external_total = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_viewers_external_total(&has_bits); - _impl_.viewers_external_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 viewers_external_steam = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_viewers_external_steam(&has_bits); - _impl_.viewers_external_steam_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 viewers_external_total = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_viewers_external_total(), target); - } - - // optional uint32 viewers_external_steam = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_viewers_external_steam(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) - return target; -} - -size_t CMsgGCCStrike15_v2_GC2ServerReservationUpdate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 viewers_external_total = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_viewers_external_total()); - } - - // optional uint32 viewers_external_steam = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_viewers_external_steam()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_GC2ServerReservationUpdate::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GC2ServerReservationUpdate::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.viewers_external_total_ = from._impl_.viewers_external_total_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.viewers_external_steam_ = from._impl_.viewers_external_steam_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::CopyFrom(const CMsgGCCStrike15_v2_GC2ServerReservationUpdate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_GC2ServerReservationUpdate::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::InternalSwap(CMsgGCCStrike15_v2_GC2ServerReservationUpdate* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ServerReservationUpdate, _impl_.viewers_external_steam_) - + sizeof(CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_impl_.viewers_external_steam_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ServerReservationUpdate, _impl_.viewers_external_total_)>( - reinterpret_cast(&_impl_.viewers_external_total_), - reinterpret_cast(&other->_impl_.viewers_external_total_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GC2ServerReservationUpdate::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[31]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchmakingStart::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_game_type(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_ticket_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_client_version(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::TournamentMatchSetup& tournament_match(const CMsgGCCStrike15_v2_MatchmakingStart* msg); - static void set_has_tournament_match(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_prime_only(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_tv_control(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_lobby_id(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } -}; - -const ::TournamentMatchSetup& -CMsgGCCStrike15_v2_MatchmakingStart::_Internal::tournament_match(const CMsgGCCStrike15_v2_MatchmakingStart* msg) { - return *msg->_impl_.tournament_match_; -} -CMsgGCCStrike15_v2_MatchmakingStart::CMsgGCCStrike15_v2_MatchmakingStart(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchmakingStart) -} -CMsgGCCStrike15_v2_MatchmakingStart::CMsgGCCStrike15_v2_MatchmakingStart(const CMsgGCCStrike15_v2_MatchmakingStart& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchmakingStart* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_ids_){from._impl_.account_ids_} - , decltype(_impl_.ticket_data_){} - , decltype(_impl_.tournament_match_){nullptr} - , decltype(_impl_.game_type_){} - , decltype(_impl_.client_version_){} - , decltype(_impl_.prime_only_){} - , decltype(_impl_.tv_control_){} - , decltype(_impl_.lobby_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.ticket_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ticket_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_ticket_data()) { - _this->_impl_.ticket_data_.Set(from._internal_ticket_data(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_tournament_match()) { - _this->_impl_.tournament_match_ = new ::TournamentMatchSetup(*from._impl_.tournament_match_); - } - ::memcpy(&_impl_.game_type_, &from._impl_.game_type_, - static_cast(reinterpret_cast(&_impl_.lobby_id_) - - reinterpret_cast(&_impl_.game_type_)) + sizeof(_impl_.lobby_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingStart) -} - -inline void CMsgGCCStrike15_v2_MatchmakingStart::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_ids_){arena} - , decltype(_impl_.ticket_data_){} - , decltype(_impl_.tournament_match_){nullptr} - , decltype(_impl_.game_type_){0u} - , decltype(_impl_.client_version_){0u} - , decltype(_impl_.prime_only_){false} - , decltype(_impl_.tv_control_){0u} - , decltype(_impl_.lobby_id_){uint64_t{0u}} - }; - _impl_.ticket_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ticket_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_MatchmakingStart::~CMsgGCCStrike15_v2_MatchmakingStart() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingStart) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchmakingStart::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.account_ids_.~RepeatedField(); - _impl_.ticket_data_.Destroy(); - if (this != internal_default_instance()) delete _impl_.tournament_match_; -} - -void CMsgGCCStrike15_v2_MatchmakingStart::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchmakingStart::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingStart) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.account_ids_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.ticket_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.tournament_match_ != nullptr); - _impl_.tournament_match_->Clear(); - } - } - if (cached_has_bits & 0x0000007cu) { - ::memset(&_impl_.game_type_, 0, static_cast( - reinterpret_cast(&_impl_.lobby_id_) - - reinterpret_cast(&_impl_.game_type_)) + sizeof(_impl_.lobby_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchmakingStart::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated uint32 account_ids = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_account_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<8>(ptr)); - } else if (static_cast(tag) == 10) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_account_ids(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 game_type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_game_type(&has_bits); - _impl_.game_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string ticket_data = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_ticket_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_MatchmakingStart.ticket_data"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 client_version = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_client_version(&has_bits); - _impl_.client_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .TournamentMatchSetup tournament_match = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_tournament_match(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool prime_only = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_prime_only(&has_bits); - _impl_.prime_only_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tv_control = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_tv_control(&has_bits); - _impl_.tv_control_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 lobby_id = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_lobby_id(&has_bits); - _impl_.lobby_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchmakingStart::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingStart) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated uint32 account_ids = 1; - for (int i = 0, n = this->_internal_account_ids_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_ids(i), target); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 game_type = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_game_type(), target); - } - - // optional string ticket_data = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_ticket_data().data(), static_cast(this->_internal_ticket_data().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_MatchmakingStart.ticket_data"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_ticket_data(), target); - } - - // optional uint32 client_version = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_client_version(), target); - } - - // optional .TournamentMatchSetup tournament_match = 5; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::tournament_match(this), - _Internal::tournament_match(this).GetCachedSize(), target, stream); - } - - // optional bool prime_only = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_prime_only(), target); - } - - // optional uint32 tv_control = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_tv_control(), target); - } - - // optional uint64 lobby_id = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_lobby_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchmakingStart) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchmakingStart::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingStart) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 account_ids = 1; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.account_ids_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_account_ids_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional string ticket_data = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_ticket_data()); - } - - // optional .TournamentMatchSetup tournament_match = 5; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.tournament_match_); - } - - // optional uint32 game_type = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_game_type()); - } - - // optional uint32 client_version = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_version()); - } - - // optional bool prime_only = 6; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 1; - } - - // optional uint32 tv_control = 7; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_control()); - } - - // optional uint64 lobby_id = 8; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_lobby_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingStart::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchmakingStart::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingStart::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchmakingStart::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchmakingStart) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.account_ids_.MergeFrom(from._impl_.account_ids_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_ticket_data(from._internal_ticket_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_tournament_match()->::TournamentMatchSetup::MergeFrom( - from._internal_tournament_match()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.game_type_ = from._impl_.game_type_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.client_version_ = from._impl_.client_version_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.prime_only_ = from._impl_.prime_only_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.tv_control_ = from._impl_.tv_control_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.lobby_id_ = from._impl_.lobby_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchmakingStart::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingStart& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingStart) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchmakingStart::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchmakingStart::InternalSwap(CMsgGCCStrike15_v2_MatchmakingStart* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.account_ids_.InternalSwap(&other->_impl_.account_ids_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.ticket_data_, lhs_arena, - &other->_impl_.ticket_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingStart, _impl_.lobby_id_) - + sizeof(CMsgGCCStrike15_v2_MatchmakingStart::_impl_.lobby_id_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingStart, _impl_.tournament_match_)>( - reinterpret_cast(&_impl_.tournament_match_), - reinterpret_cast(&other->_impl_.tournament_match_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingStart::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[32]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchmakingStop::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_abandon(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_MatchmakingStop::CMsgGCCStrike15_v2_MatchmakingStop(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchmakingStop) -} -CMsgGCCStrike15_v2_MatchmakingStop::CMsgGCCStrike15_v2_MatchmakingStop(const CMsgGCCStrike15_v2_MatchmakingStop& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchmakingStop* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.abandon_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.abandon_ = from._impl_.abandon_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingStop) -} - -inline void CMsgGCCStrike15_v2_MatchmakingStop::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.abandon_){0} - }; -} - -CMsgGCCStrike15_v2_MatchmakingStop::~CMsgGCCStrike15_v2_MatchmakingStop() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingStop) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchmakingStop::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_MatchmakingStop::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchmakingStop::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingStop) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.abandon_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchmakingStop::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 abandon = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_abandon(&has_bits); - _impl_.abandon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchmakingStop::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingStop) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 abandon = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_abandon(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchmakingStop) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchmakingStop::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingStop) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 abandon = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_abandon()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingStop::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchmakingStop::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingStop::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchmakingStop::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchmakingStop) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_abandon()) { - _this->_internal_set_abandon(from._internal_abandon()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchmakingStop::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingStop& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingStop) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchmakingStop::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchmakingStop::InternalSwap(CMsgGCCStrike15_v2_MatchmakingStop* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.abandon_, other->_impl_.abandon_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingStop::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[33]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_region_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_region_r(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_distance(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) -} -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){} - , decltype(_impl_.region_id_){} - , decltype(_impl_.region_r_){} - , decltype(_impl_.distance_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.type_, &from._impl_.type_, - static_cast(reinterpret_cast(&_impl_.distance_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.distance_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) -} - -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){0} - , decltype(_impl_.region_id_){0} - , decltype(_impl_.region_r_){0} - , decltype(_impl_.distance_){0} - }; -} - -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::~CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.type_, 0, static_cast( - reinterpret_cast(&_impl_.distance_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.distance_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_type(&has_bits); - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 region_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_region_id(&has_bits); - _impl_.region_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float region_r = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_region_r(&has_bits); - _impl_.region_r_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float distance = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_distance(&has_bits); - _impl_.distance_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 type = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type(), target); - } - - // optional int32 region_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_region_id(), target); - } - - // optional float region_r = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_region_r(), target); - } - - // optional float distance = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_distance(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional int32 type = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); - } - - // optional int32 region_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_region_id()); - } - - // optional float region_r = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional float distance = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.type_ = from._impl_.type_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.region_id_ = from._impl_.region_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.region_r_ = from._impl_.region_r_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.distance_ = from._impl_.distance_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note, _impl_.distance_) - + sizeof(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_impl_.distance_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note, _impl_.type_)>( - reinterpret_cast(&_impl_.type_), - reinterpret_cast(&other->_impl_.type_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[34]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_offset_index(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_final_batch(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_max_ping(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_test_token(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_search_key(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_debug_message(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) -} -CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing(const CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchmakingClient2ServerPing* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gameserverpings_){from._impl_.gameserverpings_} - , decltype(_impl_.data_center_pings_){from._impl_.data_center_pings_} - , decltype(_impl_.notes_){from._impl_.notes_} - , decltype(_impl_.search_key_){} - , decltype(_impl_.debug_message_){} - , decltype(_impl_.offset_index_){} - , decltype(_impl_.final_batch_){} - , decltype(_impl_.max_ping_){} - , decltype(_impl_.test_token_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.search_key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.search_key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_search_key()) { - _this->_impl_.search_key_.Set(from._internal_search_key(), - _this->GetArenaForAllocation()); - } - _impl_.debug_message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.debug_message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_debug_message()) { - _this->_impl_.debug_message_.Set(from._internal_debug_message(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.offset_index_, &from._impl_.offset_index_, - static_cast(reinterpret_cast(&_impl_.test_token_) - - reinterpret_cast(&_impl_.offset_index_)) + sizeof(_impl_.test_token_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) -} - -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gameserverpings_){arena} - , decltype(_impl_.data_center_pings_){arena} - , decltype(_impl_.notes_){arena} - , decltype(_impl_.search_key_){} - , decltype(_impl_.debug_message_){} - , decltype(_impl_.offset_index_){0} - , decltype(_impl_.final_batch_){0} - , decltype(_impl_.max_ping_){0u} - , decltype(_impl_.test_token_){0u} - }; - _impl_.search_key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.search_key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.debug_message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.debug_message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::~CMsgGCCStrike15_v2_MatchmakingClient2ServerPing() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.gameserverpings_.~RepeatedPtrField(); - _impl_.data_center_pings_.~RepeatedPtrField(); - _impl_.notes_.~RepeatedPtrField(); - _impl_.search_key_.Destroy(); - _impl_.debug_message_.Destroy(); -} - -void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.gameserverpings_.Clear(); - _impl_.data_center_pings_.Clear(); - _impl_.notes_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.search_key_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.debug_message_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000003cu) { - ::memset(&_impl_.offset_index_, 0, static_cast( - reinterpret_cast(&_impl_.test_token_) - - reinterpret_cast(&_impl_.offset_index_)) + sizeof(_impl_.test_token_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .GameServerPing gameserverpings = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_gameserverpings(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // optional int32 offset_index = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_offset_index(&has_bits); - _impl_.offset_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 final_batch = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_final_batch(&has_bits); - _impl_.final_batch_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .DataCenterPing data_center_pings = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_data_center_pings(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 max_ping = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_max_ping(&has_bits); - _impl_.max_ping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 test_token = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - _Internal::set_has_test_token(&has_bits); - _impl_.test_token_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional bytes search_key = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_search_key(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_notes(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr)); - } else - goto handle_unusual; - continue; - // optional string debug_message = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_debug_message(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.debug_message"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .GameServerPing gameserverpings = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_gameserverpings_size()); i < n; i++) { - const auto& repfield = this->_internal_gameserverpings(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 offset_index = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_offset_index(), target); - } - - // optional int32 final_batch = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_final_batch(), target); - } - - // repeated .DataCenterPing data_center_pings = 4; - for (unsigned i = 0, - n = static_cast(this->_internal_data_center_pings_size()); i < n; i++) { - const auto& repfield = this->_internal_data_center_pings(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 max_ping = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_max_ping(), target); - } - - // optional fixed32 test_token = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_test_token(), target); - } - - // optional bytes search_key = 7; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 7, this->_internal_search_key(), target); - } - - // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 8; - for (unsigned i = 0, - n = static_cast(this->_internal_notes_size()); i < n; i++) { - const auto& repfield = this->_internal_notes(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional string debug_message = 9; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_debug_message().data(), static_cast(this->_internal_debug_message().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.debug_message"); - target = stream->WriteStringMaybeAliased( - 9, this->_internal_debug_message(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .GameServerPing gameserverpings = 1; - total_size += 1UL * this->_internal_gameserverpings_size(); - for (const auto& msg : this->_impl_.gameserverpings_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .DataCenterPing data_center_pings = 4; - total_size += 1UL * this->_internal_data_center_pings_size(); - for (const auto& msg : this->_impl_.data_center_pings_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 8; - total_size += 1UL * this->_internal_notes_size(); - for (const auto& msg : this->_impl_.notes_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional bytes search_key = 7; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_search_key()); - } - - // optional string debug_message = 9; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_debug_message()); - } - - // optional int32 offset_index = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_offset_index()); - } - - // optional int32 final_batch = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_final_batch()); - } - - // optional uint32 max_ping = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_max_ping()); - } - - // optional fixed32 test_token = 6; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.gameserverpings_.MergeFrom(from._impl_.gameserverpings_); - _this->_impl_.data_center_pings_.MergeFrom(from._impl_.data_center_pings_); - _this->_impl_.notes_.MergeFrom(from._impl_.notes_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_search_key(from._internal_search_key()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_debug_message(from._internal_debug_message()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.offset_index_ = from._impl_.offset_index_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.final_batch_ = from._impl_.final_batch_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.max_ping_ = from._impl_.max_ping_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.test_token_ = from._impl_.test_token_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::InternalSwap(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.gameserverpings_.InternalSwap(&other->_impl_.gameserverpings_); - _impl_.data_center_pings_.InternalSwap(&other->_impl_.data_center_pings_); - _impl_.notes_.InternalSwap(&other->_impl_.notes_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.search_key_, lhs_arena, - &other->_impl_.search_key_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.debug_message_, lhs_arena, - &other->_impl_.debug_message_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.test_token_) - + sizeof(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_impl_.test_token_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing, _impl_.offset_index_)>( - reinterpret_cast(&_impl_.offset_index_), - reinterpret_cast(&other->_impl_.offset_index_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[35]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_matchmaking(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_error(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::GlobalStatistics& global_stats(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* msg); - static void set_has_global_stats(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::IpAddressMask& server_ipaddress_mask(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* msg); - static void set_has_server_ipaddress_mask(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::GlobalStatistics& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_Internal::global_stats(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* msg) { - return *msg->_impl_.global_stats_; -} -const ::IpAddressMask& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_Internal::server_ipaddress_mask(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* msg) { - return *msg->_impl_.server_ipaddress_mask_; -} -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) -} -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.waiting_account_id_sessions_){from._impl_.waiting_account_id_sessions_} - , decltype(_impl_.ongoingmatch_account_id_sessions_){from._impl_.ongoingmatch_account_id_sessions_} - , decltype(_impl_.failping_account_id_sessions_){from._impl_.failping_account_id_sessions_} - , decltype(_impl_.penalty_account_id_sessions_){from._impl_.penalty_account_id_sessions_} - , decltype(_impl_.failready_account_id_sessions_){from._impl_.failready_account_id_sessions_} - , decltype(_impl_.vacbanned_account_id_sessions_){from._impl_.vacbanned_account_id_sessions_} - , decltype(_impl_.notes_){from._impl_.notes_} - , decltype(_impl_.penalty_account_id_sessions_green_){from._impl_.penalty_account_id_sessions_green_} - , decltype(_impl_.insufficientlevel_sessions_){from._impl_.insufficientlevel_sessions_} - , decltype(_impl_.vsncheck_account_id_sessions_){from._impl_.vsncheck_account_id_sessions_} - , decltype(_impl_.launcher_mismatch_sessions_){from._impl_.launcher_mismatch_sessions_} - , decltype(_impl_.insecure_account_id_sessions_){from._impl_.insecure_account_id_sessions_} - , decltype(_impl_.error_){} - , decltype(_impl_.global_stats_){nullptr} - , decltype(_impl_.server_ipaddress_mask_){nullptr} - , decltype(_impl_.matchmaking_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.error_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.error_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_error()) { - _this->_impl_.error_.Set(from._internal_error(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_global_stats()) { - _this->_impl_.global_stats_ = new ::GlobalStatistics(*from._impl_.global_stats_); - } - if (from._internal_has_server_ipaddress_mask()) { - _this->_impl_.server_ipaddress_mask_ = new ::IpAddressMask(*from._impl_.server_ipaddress_mask_); - } - _this->_impl_.matchmaking_ = from._impl_.matchmaking_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) -} - -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.waiting_account_id_sessions_){arena} - , decltype(_impl_.ongoingmatch_account_id_sessions_){arena} - , decltype(_impl_.failping_account_id_sessions_){arena} - , decltype(_impl_.penalty_account_id_sessions_){arena} - , decltype(_impl_.failready_account_id_sessions_){arena} - , decltype(_impl_.vacbanned_account_id_sessions_){arena} - , decltype(_impl_.notes_){arena} - , decltype(_impl_.penalty_account_id_sessions_green_){arena} - , decltype(_impl_.insufficientlevel_sessions_){arena} - , decltype(_impl_.vsncheck_account_id_sessions_){arena} - , decltype(_impl_.launcher_mismatch_sessions_){arena} - , decltype(_impl_.insecure_account_id_sessions_){arena} - , decltype(_impl_.error_){} - , decltype(_impl_.global_stats_){nullptr} - , decltype(_impl_.server_ipaddress_mask_){nullptr} - , decltype(_impl_.matchmaking_){0} - }; - _impl_.error_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.error_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::~CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.waiting_account_id_sessions_.~RepeatedField(); - _impl_.ongoingmatch_account_id_sessions_.~RepeatedField(); - _impl_.failping_account_id_sessions_.~RepeatedField(); - _impl_.penalty_account_id_sessions_.~RepeatedField(); - _impl_.failready_account_id_sessions_.~RepeatedField(); - _impl_.vacbanned_account_id_sessions_.~RepeatedField(); - _impl_.notes_.~RepeatedPtrField(); - _impl_.penalty_account_id_sessions_green_.~RepeatedField(); - _impl_.insufficientlevel_sessions_.~RepeatedField(); - _impl_.vsncheck_account_id_sessions_.~RepeatedField(); - _impl_.launcher_mismatch_sessions_.~RepeatedField(); - _impl_.insecure_account_id_sessions_.~RepeatedField(); - _impl_.error_.Destroy(); - if (this != internal_default_instance()) delete _impl_.global_stats_; - if (this != internal_default_instance()) delete _impl_.server_ipaddress_mask_; -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.waiting_account_id_sessions_.Clear(); - _impl_.ongoingmatch_account_id_sessions_.Clear(); - _impl_.failping_account_id_sessions_.Clear(); - _impl_.penalty_account_id_sessions_.Clear(); - _impl_.failready_account_id_sessions_.Clear(); - _impl_.vacbanned_account_id_sessions_.Clear(); - _impl_.notes_.Clear(); - _impl_.penalty_account_id_sessions_green_.Clear(); - _impl_.insufficientlevel_sessions_.Clear(); - _impl_.vsncheck_account_id_sessions_.Clear(); - _impl_.launcher_mismatch_sessions_.Clear(); - _impl_.insecure_account_id_sessions_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.error_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.global_stats_ != nullptr); - _impl_.global_stats_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.server_ipaddress_mask_ != nullptr); - _impl_.server_ipaddress_mask_->Clear(); - } - } - _impl_.matchmaking_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 matchmaking = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_matchmaking(&has_bits); - _impl_.matchmaking_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 waiting_account_id_sessions = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_waiting_account_id_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); - } else if (static_cast(tag) == 18) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_waiting_account_id_sessions(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string error = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_error(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.error"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated uint32 ongoingmatch_account_id_sessions = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_ongoingmatch_account_id_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<48>(ptr)); - } else if (static_cast(tag) == 50) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_ongoingmatch_account_id_sessions(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .GlobalStatistics global_stats = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_global_stats(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 failping_account_id_sessions = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_failping_account_id_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<64>(ptr)); - } else if (static_cast(tag) == 66) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_failping_account_id_sessions(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 penalty_account_id_sessions = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_penalty_account_id_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<72>(ptr)); - } else if (static_cast(tag) == 74) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_penalty_account_id_sessions(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 failready_account_id_sessions = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_failready_account_id_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<80>(ptr)); - } else if (static_cast(tag) == 82) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_failready_account_id_sessions(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 vacbanned_account_id_sessions = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_vacbanned_account_id_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<88>(ptr)); - } else if (static_cast(tag) == 90) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_vacbanned_account_id_sessions(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .IpAddressMask server_ipaddress_mask = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - ptr = ctx->ParseMessage(_internal_mutable_server_ipaddress_mask(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_notes(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<106>(ptr)); - } else - goto handle_unusual; - continue; - // repeated uint32 penalty_account_id_sessions_green = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_penalty_account_id_sessions_green(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<112>(ptr)); - } else if (static_cast(tag) == 114) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_penalty_account_id_sessions_green(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 insufficientlevel_sessions = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_insufficientlevel_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<120>(ptr)); - } else if (static_cast(tag) == 122) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_insufficientlevel_sessions(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 vsncheck_account_id_sessions = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - ptr -= 2; - do { - ptr += 2; - _internal_add_vsncheck_account_id_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<128>(ptr)); - } else if (static_cast(tag) == 130) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_vsncheck_account_id_sessions(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 launcher_mismatch_sessions = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - ptr -= 2; - do { - ptr += 2; - _internal_add_launcher_mismatch_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<136>(ptr)); - } else if (static_cast(tag) == 138) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_launcher_mismatch_sessions(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 insecure_account_id_sessions = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - ptr -= 2; - do { - ptr += 2; - _internal_add_insecure_account_id_sessions(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<144>(ptr)); - } else if (static_cast(tag) == 146) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_insecure_account_id_sessions(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 matchmaking = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_matchmaking(), target); - } - - // repeated uint32 waiting_account_id_sessions = 2; - for (int i = 0, n = this->_internal_waiting_account_id_sessions_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_waiting_account_id_sessions(i), target); - } - - // optional string error = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_error().data(), static_cast(this->_internal_error().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.error"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_error(), target); - } - - // repeated uint32 ongoingmatch_account_id_sessions = 6; - for (int i = 0, n = this->_internal_ongoingmatch_account_id_sessions_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_ongoingmatch_account_id_sessions(i), target); - } - - // optional .GlobalStatistics global_stats = 7; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::global_stats(this), - _Internal::global_stats(this).GetCachedSize(), target, stream); - } - - // repeated uint32 failping_account_id_sessions = 8; - for (int i = 0, n = this->_internal_failping_account_id_sessions_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_failping_account_id_sessions(i), target); - } - - // repeated uint32 penalty_account_id_sessions = 9; - for (int i = 0, n = this->_internal_penalty_account_id_sessions_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_penalty_account_id_sessions(i), target); - } - - // repeated uint32 failready_account_id_sessions = 10; - for (int i = 0, n = this->_internal_failready_account_id_sessions_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_failready_account_id_sessions(i), target); - } - - // repeated uint32 vacbanned_account_id_sessions = 11; - for (int i = 0, n = this->_internal_vacbanned_account_id_sessions_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_vacbanned_account_id_sessions(i), target); - } - - // optional .IpAddressMask server_ipaddress_mask = 12; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(12, _Internal::server_ipaddress_mask(this), - _Internal::server_ipaddress_mask(this).GetCachedSize(), target, stream); - } - - // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 13; - for (unsigned i = 0, - n = static_cast(this->_internal_notes_size()); i < n; i++) { - const auto& repfield = this->_internal_notes(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated uint32 penalty_account_id_sessions_green = 14; - for (int i = 0, n = this->_internal_penalty_account_id_sessions_green_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_penalty_account_id_sessions_green(i), target); - } - - // repeated uint32 insufficientlevel_sessions = 15; - for (int i = 0, n = this->_internal_insufficientlevel_sessions_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_insufficientlevel_sessions(i), target); - } - - // repeated uint32 vsncheck_account_id_sessions = 16; - for (int i = 0, n = this->_internal_vsncheck_account_id_sessions_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_vsncheck_account_id_sessions(i), target); - } - - // repeated uint32 launcher_mismatch_sessions = 17; - for (int i = 0, n = this->_internal_launcher_mismatch_sessions_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_launcher_mismatch_sessions(i), target); - } - - // repeated uint32 insecure_account_id_sessions = 18; - for (int i = 0, n = this->_internal_insecure_account_id_sessions_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_insecure_account_id_sessions(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 waiting_account_id_sessions = 2; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.waiting_account_id_sessions_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_waiting_account_id_sessions_size()); - total_size += data_size; - } - - // repeated uint32 ongoingmatch_account_id_sessions = 6; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.ongoingmatch_account_id_sessions_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_ongoingmatch_account_id_sessions_size()); - total_size += data_size; - } - - // repeated uint32 failping_account_id_sessions = 8; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.failping_account_id_sessions_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_failping_account_id_sessions_size()); - total_size += data_size; - } - - // repeated uint32 penalty_account_id_sessions = 9; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.penalty_account_id_sessions_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_penalty_account_id_sessions_size()); - total_size += data_size; - } - - // repeated uint32 failready_account_id_sessions = 10; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.failready_account_id_sessions_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_failready_account_id_sessions_size()); - total_size += data_size; - } - - // repeated uint32 vacbanned_account_id_sessions = 11; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.vacbanned_account_id_sessions_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_vacbanned_account_id_sessions_size()); - total_size += data_size; - } - - // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 13; - total_size += 1UL * this->_internal_notes_size(); - for (const auto& msg : this->_impl_.notes_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated uint32 penalty_account_id_sessions_green = 14; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.penalty_account_id_sessions_green_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_penalty_account_id_sessions_green_size()); - total_size += data_size; - } - - // repeated uint32 insufficientlevel_sessions = 15; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.insufficientlevel_sessions_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_insufficientlevel_sessions_size()); - total_size += data_size; - } - - // repeated uint32 vsncheck_account_id_sessions = 16; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.vsncheck_account_id_sessions_); - total_size += 2 * - ::_pbi::FromIntSize(this->_internal_vsncheck_account_id_sessions_size()); - total_size += data_size; - } - - // repeated uint32 launcher_mismatch_sessions = 17; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.launcher_mismatch_sessions_); - total_size += 2 * - ::_pbi::FromIntSize(this->_internal_launcher_mismatch_sessions_size()); - total_size += data_size; - } - - // repeated uint32 insecure_account_id_sessions = 18; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.insecure_account_id_sessions_); - total_size += 2 * - ::_pbi::FromIntSize(this->_internal_insecure_account_id_sessions_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string error = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_error()); - } - - // optional .GlobalStatistics global_stats = 7; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.global_stats_); - } - - // optional .IpAddressMask server_ipaddress_mask = 12; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.server_ipaddress_mask_); - } - - // optional int32 matchmaking = 1; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_matchmaking()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.waiting_account_id_sessions_.MergeFrom(from._impl_.waiting_account_id_sessions_); - _this->_impl_.ongoingmatch_account_id_sessions_.MergeFrom(from._impl_.ongoingmatch_account_id_sessions_); - _this->_impl_.failping_account_id_sessions_.MergeFrom(from._impl_.failping_account_id_sessions_); - _this->_impl_.penalty_account_id_sessions_.MergeFrom(from._impl_.penalty_account_id_sessions_); - _this->_impl_.failready_account_id_sessions_.MergeFrom(from._impl_.failready_account_id_sessions_); - _this->_impl_.vacbanned_account_id_sessions_.MergeFrom(from._impl_.vacbanned_account_id_sessions_); - _this->_impl_.notes_.MergeFrom(from._impl_.notes_); - _this->_impl_.penalty_account_id_sessions_green_.MergeFrom(from._impl_.penalty_account_id_sessions_green_); - _this->_impl_.insufficientlevel_sessions_.MergeFrom(from._impl_.insufficientlevel_sessions_); - _this->_impl_.vsncheck_account_id_sessions_.MergeFrom(from._impl_.vsncheck_account_id_sessions_); - _this->_impl_.launcher_mismatch_sessions_.MergeFrom(from._impl_.launcher_mismatch_sessions_); - _this->_impl_.insecure_account_id_sessions_.MergeFrom(from._impl_.insecure_account_id_sessions_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_error(from._internal_error()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_global_stats()->::GlobalStatistics::MergeFrom( - from._internal_global_stats()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_server_ipaddress_mask()->::IpAddressMask::MergeFrom( - from._internal_server_ipaddress_mask()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.matchmaking_ = from._impl_.matchmaking_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.waiting_account_id_sessions_.InternalSwap(&other->_impl_.waiting_account_id_sessions_); - _impl_.ongoingmatch_account_id_sessions_.InternalSwap(&other->_impl_.ongoingmatch_account_id_sessions_); - _impl_.failping_account_id_sessions_.InternalSwap(&other->_impl_.failping_account_id_sessions_); - _impl_.penalty_account_id_sessions_.InternalSwap(&other->_impl_.penalty_account_id_sessions_); - _impl_.failready_account_id_sessions_.InternalSwap(&other->_impl_.failready_account_id_sessions_); - _impl_.vacbanned_account_id_sessions_.InternalSwap(&other->_impl_.vacbanned_account_id_sessions_); - _impl_.notes_.InternalSwap(&other->_impl_.notes_); - _impl_.penalty_account_id_sessions_green_.InternalSwap(&other->_impl_.penalty_account_id_sessions_green_); - _impl_.insufficientlevel_sessions_.InternalSwap(&other->_impl_.insufficientlevel_sessions_); - _impl_.vsncheck_account_id_sessions_.InternalSwap(&other->_impl_.vsncheck_account_id_sessions_); - _impl_.launcher_mismatch_sessions_.InternalSwap(&other->_impl_.launcher_mismatch_sessions_); - _impl_.insecure_account_id_sessions_.InternalSwap(&other->_impl_.insecure_account_id_sessions_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.error_, lhs_arena, - &other->_impl_.error_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.matchmaking_) - + sizeof(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_impl_.matchmaking_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate, _impl_.global_stats_)>( - reinterpret_cast(&_impl_.global_stats_), - reinterpret_cast(&other->_impl_.global_stats_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[36]); -} - -// =================================================================== - -class CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_mapid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_team_id_ct(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CDataGCCStrike15_v2_TournamentMatchDraft_Entry::CDataGCCStrike15_v2_TournamentMatchDraft_Entry(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) -} -CDataGCCStrike15_v2_TournamentMatchDraft_Entry::CDataGCCStrike15_v2_TournamentMatchDraft_Entry(const CDataGCCStrike15_v2_TournamentMatchDraft_Entry& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDataGCCStrike15_v2_TournamentMatchDraft_Entry* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mapid_){} - , decltype(_impl_.team_id_ct_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.mapid_, &from._impl_.mapid_, - static_cast(reinterpret_cast(&_impl_.team_id_ct_) - - reinterpret_cast(&_impl_.mapid_)) + sizeof(_impl_.team_id_ct_)); - // @@protoc_insertion_point(copy_constructor:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) -} - -inline void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mapid_){0} - , decltype(_impl_.team_id_ct_){0} - }; -} - -CDataGCCStrike15_v2_TournamentMatchDraft_Entry::~CDataGCCStrike15_v2_TournamentMatchDraft_Entry() { - // @@protoc_insertion_point(destructor:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::Clear() { -// @@protoc_insertion_point(message_clear_start:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.mapid_, 0, static_cast( - reinterpret_cast(&_impl_.team_id_ct_) - - reinterpret_cast(&_impl_.mapid_)) + sizeof(_impl_.team_id_ct_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 mapid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_mapid(&has_bits); - _impl_.mapid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 team_id_ct = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_team_id_ct(&has_bits); - _impl_.team_id_ct_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 mapid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_mapid(), target); - } - - // optional int32 team_id_ct = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_team_id_ct(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) - return target; -} - -size_t CDataGCCStrike15_v2_TournamentMatchDraft_Entry::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional int32 mapid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mapid()); - } - - // optional int32 team_id_ct = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id_ct()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDataGCCStrike15_v2_TournamentMatchDraft_Entry::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDataGCCStrike15_v2_TournamentMatchDraft_Entry::GetClassData() const { return &_class_data_; } - - -void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.mapid_ = from._impl_.mapid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.team_id_ct_ = from._impl_.team_id_ct_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::CopyFrom(const CDataGCCStrike15_v2_TournamentMatchDraft_Entry& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDataGCCStrike15_v2_TournamentMatchDraft_Entry::IsInitialized() const { - return true; -} - -void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::InternalSwap(CDataGCCStrike15_v2_TournamentMatchDraft_Entry* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_TournamentMatchDraft_Entry, _impl_.team_id_ct_) - + sizeof(CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_impl_.team_id_ct_) - - PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_TournamentMatchDraft_Entry, _impl_.mapid_)>( - reinterpret_cast(&_impl_.mapid_), - reinterpret_cast(&other->_impl_.mapid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDataGCCStrike15_v2_TournamentMatchDraft_Entry::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[37]); -} - -// =================================================================== - -class CDataGCCStrike15_v2_TournamentMatchDraft::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_event_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_event_stage_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_team_id_0(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_team_id_1(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_maps_count(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_maps_current(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_team_id_start(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_team_id_veto1(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_team_id_pickn(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_vote_phase(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_vote_phase_start(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_vote_phase_length(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } -}; - -CDataGCCStrike15_v2_TournamentMatchDraft::CDataGCCStrike15_v2_TournamentMatchDraft(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDataGCCStrike15_v2_TournamentMatchDraft) -} -CDataGCCStrike15_v2_TournamentMatchDraft::CDataGCCStrike15_v2_TournamentMatchDraft(const CDataGCCStrike15_v2_TournamentMatchDraft& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDataGCCStrike15_v2_TournamentMatchDraft* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.drafts_){from._impl_.drafts_} - , decltype(_impl_.vote_mapid_0_){from._impl_.vote_mapid_0_} - , decltype(_impl_.vote_mapid_1_){from._impl_.vote_mapid_1_} - , decltype(_impl_.vote_mapid_2_){from._impl_.vote_mapid_2_} - , decltype(_impl_.vote_mapid_3_){from._impl_.vote_mapid_3_} - , decltype(_impl_.vote_mapid_4_){from._impl_.vote_mapid_4_} - , decltype(_impl_.vote_mapid_5_){from._impl_.vote_mapid_5_} - , decltype(_impl_.vote_starting_side_){from._impl_.vote_starting_side_} - , decltype(_impl_.event_id_){} - , decltype(_impl_.event_stage_id_){} - , decltype(_impl_.team_id_0_){} - , decltype(_impl_.team_id_1_){} - , decltype(_impl_.maps_count_){} - , decltype(_impl_.maps_current_){} - , decltype(_impl_.team_id_start_){} - , decltype(_impl_.team_id_veto1_){} - , decltype(_impl_.team_id_pickn_){} - , decltype(_impl_.vote_phase_){} - , decltype(_impl_.vote_phase_start_){} - , decltype(_impl_.vote_phase_length_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.event_id_, &from._impl_.event_id_, - static_cast(reinterpret_cast(&_impl_.vote_phase_length_) - - reinterpret_cast(&_impl_.event_id_)) + sizeof(_impl_.vote_phase_length_)); - // @@protoc_insertion_point(copy_constructor:CDataGCCStrike15_v2_TournamentMatchDraft) -} - -inline void CDataGCCStrike15_v2_TournamentMatchDraft::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.drafts_){arena} - , decltype(_impl_.vote_mapid_0_){arena} - , decltype(_impl_.vote_mapid_1_){arena} - , decltype(_impl_.vote_mapid_2_){arena} - , decltype(_impl_.vote_mapid_3_){arena} - , decltype(_impl_.vote_mapid_4_){arena} - , decltype(_impl_.vote_mapid_5_){arena} - , decltype(_impl_.vote_starting_side_){arena} - , decltype(_impl_.event_id_){0} - , decltype(_impl_.event_stage_id_){0} - , decltype(_impl_.team_id_0_){0} - , decltype(_impl_.team_id_1_){0} - , decltype(_impl_.maps_count_){0} - , decltype(_impl_.maps_current_){0} - , decltype(_impl_.team_id_start_){0} - , decltype(_impl_.team_id_veto1_){0} - , decltype(_impl_.team_id_pickn_){0} - , decltype(_impl_.vote_phase_){0} - , decltype(_impl_.vote_phase_start_){0} - , decltype(_impl_.vote_phase_length_){0} - }; -} - -CDataGCCStrike15_v2_TournamentMatchDraft::~CDataGCCStrike15_v2_TournamentMatchDraft() { - // @@protoc_insertion_point(destructor:CDataGCCStrike15_v2_TournamentMatchDraft) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDataGCCStrike15_v2_TournamentMatchDraft::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.drafts_.~RepeatedPtrField(); - _impl_.vote_mapid_0_.~RepeatedField(); - _impl_.vote_mapid_1_.~RepeatedField(); - _impl_.vote_mapid_2_.~RepeatedField(); - _impl_.vote_mapid_3_.~RepeatedField(); - _impl_.vote_mapid_4_.~RepeatedField(); - _impl_.vote_mapid_5_.~RepeatedField(); - _impl_.vote_starting_side_.~RepeatedField(); -} - -void CDataGCCStrike15_v2_TournamentMatchDraft::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDataGCCStrike15_v2_TournamentMatchDraft::Clear() { -// @@protoc_insertion_point(message_clear_start:CDataGCCStrike15_v2_TournamentMatchDraft) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.drafts_.Clear(); - _impl_.vote_mapid_0_.Clear(); - _impl_.vote_mapid_1_.Clear(); - _impl_.vote_mapid_2_.Clear(); - _impl_.vote_mapid_3_.Clear(); - _impl_.vote_mapid_4_.Clear(); - _impl_.vote_mapid_5_.Clear(); - _impl_.vote_starting_side_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.event_id_, 0, static_cast( - reinterpret_cast(&_impl_.team_id_veto1_) - - reinterpret_cast(&_impl_.event_id_)) + sizeof(_impl_.team_id_veto1_)); - } - if (cached_has_bits & 0x00000f00u) { - ::memset(&_impl_.team_id_pickn_, 0, static_cast( - reinterpret_cast(&_impl_.vote_phase_length_) - - reinterpret_cast(&_impl_.team_id_pickn_)) + sizeof(_impl_.vote_phase_length_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDataGCCStrike15_v2_TournamentMatchDraft::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 event_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_event_id(&has_bits); - _impl_.event_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 event_stage_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_event_stage_id(&has_bits); - _impl_.event_stage_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 team_id_0 = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_team_id_0(&has_bits); - _impl_.team_id_0_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 team_id_1 = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_team_id_1(&has_bits); - _impl_.team_id_1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 maps_count = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_maps_count(&has_bits); - _impl_.maps_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 maps_current = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_maps_current(&has_bits); - _impl_.maps_current_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 team_id_start = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_team_id_start(&has_bits); - _impl_.team_id_start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 team_id_veto1 = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_team_id_veto1(&has_bits); - _impl_.team_id_veto1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 team_id_pickn = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_team_id_pickn(&has_bits); - _impl_.team_id_pickn_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CDataGCCStrike15_v2_TournamentMatchDraft.Entry drafts = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_drafts(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<82>(ptr)); - } else - goto handle_unusual; - continue; - // repeated int32 vote_mapid_0 = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_vote_mapid_0(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<88>(ptr)); - } else if (static_cast(tag) == 90) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_vote_mapid_0(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 vote_mapid_1 = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_vote_mapid_1(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<96>(ptr)); - } else if (static_cast(tag) == 98) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_vote_mapid_1(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 vote_mapid_2 = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_vote_mapid_2(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<104>(ptr)); - } else if (static_cast(tag) == 106) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_vote_mapid_2(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 vote_mapid_3 = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_vote_mapid_3(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<112>(ptr)); - } else if (static_cast(tag) == 114) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_vote_mapid_3(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 vote_mapid_4 = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_vote_mapid_4(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<120>(ptr)); - } else if (static_cast(tag) == 122) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_vote_mapid_4(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 vote_mapid_5 = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - ptr -= 2; - do { - ptr += 2; - _internal_add_vote_mapid_5(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<128>(ptr)); - } else if (static_cast(tag) == 130) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_vote_mapid_5(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 vote_starting_side = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - ptr -= 2; - do { - ptr += 2; - _internal_add_vote_starting_side(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<136>(ptr)); - } else if (static_cast(tag) == 138) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_vote_starting_side(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 vote_phase = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_vote_phase(&has_bits); - _impl_.vote_phase_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float vote_phase_start = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 157)) { - _Internal::set_has_vote_phase_start(&has_bits); - _impl_.vote_phase_start_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float vote_phase_length = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 165)) { - _Internal::set_has_vote_phase_length(&has_bits); - _impl_.vote_phase_length_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDataGCCStrike15_v2_TournamentMatchDraft::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDataGCCStrike15_v2_TournamentMatchDraft) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 event_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_event_id(), target); - } - - // optional int32 event_stage_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_event_stage_id(), target); - } - - // optional int32 team_id_0 = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_team_id_0(), target); - } - - // optional int32 team_id_1 = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_team_id_1(), target); - } - - // optional int32 maps_count = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_maps_count(), target); - } - - // optional int32 maps_current = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_maps_current(), target); - } - - // optional int32 team_id_start = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_team_id_start(), target); - } - - // optional int32 team_id_veto1 = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_team_id_veto1(), target); - } - - // optional int32 team_id_pickn = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_team_id_pickn(), target); - } - - // repeated .CDataGCCStrike15_v2_TournamentMatchDraft.Entry drafts = 10; - for (unsigned i = 0, - n = static_cast(this->_internal_drafts_size()); i < n; i++) { - const auto& repfield = this->_internal_drafts(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated int32 vote_mapid_0 = 11; - for (int i = 0, n = this->_internal_vote_mapid_0_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_vote_mapid_0(i), target); - } - - // repeated int32 vote_mapid_1 = 12; - for (int i = 0, n = this->_internal_vote_mapid_1_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_vote_mapid_1(i), target); - } - - // repeated int32 vote_mapid_2 = 13; - for (int i = 0, n = this->_internal_vote_mapid_2_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_vote_mapid_2(i), target); - } - - // repeated int32 vote_mapid_3 = 14; - for (int i = 0, n = this->_internal_vote_mapid_3_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_vote_mapid_3(i), target); - } - - // repeated int32 vote_mapid_4 = 15; - for (int i = 0, n = this->_internal_vote_mapid_4_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(15, this->_internal_vote_mapid_4(i), target); - } - - // repeated int32 vote_mapid_5 = 16; - for (int i = 0, n = this->_internal_vote_mapid_5_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(16, this->_internal_vote_mapid_5(i), target); - } - - // repeated int32 vote_starting_side = 17; - for (int i = 0, n = this->_internal_vote_starting_side_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(17, this->_internal_vote_starting_side(i), target); - } - - // optional int32 vote_phase = 18; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(18, this->_internal_vote_phase(), target); - } - - // optional float vote_phase_start = 19; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(19, this->_internal_vote_phase_start(), target); - } - - // optional float vote_phase_length = 20; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(20, this->_internal_vote_phase_length(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDataGCCStrike15_v2_TournamentMatchDraft) - return target; -} - -size_t CDataGCCStrike15_v2_TournamentMatchDraft::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDataGCCStrike15_v2_TournamentMatchDraft) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CDataGCCStrike15_v2_TournamentMatchDraft.Entry drafts = 10; - total_size += 1UL * this->_internal_drafts_size(); - for (const auto& msg : this->_impl_.drafts_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated int32 vote_mapid_0 = 11; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.vote_mapid_0_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_vote_mapid_0_size()); - total_size += data_size; - } - - // repeated int32 vote_mapid_1 = 12; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.vote_mapid_1_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_vote_mapid_1_size()); - total_size += data_size; - } - - // repeated int32 vote_mapid_2 = 13; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.vote_mapid_2_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_vote_mapid_2_size()); - total_size += data_size; - } - - // repeated int32 vote_mapid_3 = 14; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.vote_mapid_3_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_vote_mapid_3_size()); - total_size += data_size; - } - - // repeated int32 vote_mapid_4 = 15; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.vote_mapid_4_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_vote_mapid_4_size()); - total_size += data_size; - } - - // repeated int32 vote_mapid_5 = 16; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.vote_mapid_5_); - total_size += 2 * - ::_pbi::FromIntSize(this->_internal_vote_mapid_5_size()); - total_size += data_size; - } - - // repeated int32 vote_starting_side = 17; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.vote_starting_side_); - total_size += 2 * - ::_pbi::FromIntSize(this->_internal_vote_starting_side_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional int32 event_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_event_id()); - } - - // optional int32 event_stage_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_event_stage_id()); - } - - // optional int32 team_id_0 = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id_0()); - } - - // optional int32 team_id_1 = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id_1()); - } - - // optional int32 maps_count = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_maps_count()); - } - - // optional int32 maps_current = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_maps_current()); - } - - // optional int32 team_id_start = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id_start()); - } - - // optional int32 team_id_veto1 = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id_veto1()); - } - - } - if (cached_has_bits & 0x00000f00u) { - // optional int32 team_id_pickn = 9; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id_pickn()); - } - - // optional int32 vote_phase = 18; - if (cached_has_bits & 0x00000200u) { - total_size += 2 + - ::_pbi::WireFormatLite::Int32Size( - this->_internal_vote_phase()); - } - - // optional float vote_phase_start = 19; - if (cached_has_bits & 0x00000400u) { - total_size += 2 + 4; - } - - // optional float vote_phase_length = 20; - if (cached_has_bits & 0x00000800u) { - total_size += 2 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDataGCCStrike15_v2_TournamentMatchDraft::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDataGCCStrike15_v2_TournamentMatchDraft::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDataGCCStrike15_v2_TournamentMatchDraft::GetClassData() const { return &_class_data_; } - - -void CDataGCCStrike15_v2_TournamentMatchDraft::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDataGCCStrike15_v2_TournamentMatchDraft) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.drafts_.MergeFrom(from._impl_.drafts_); - _this->_impl_.vote_mapid_0_.MergeFrom(from._impl_.vote_mapid_0_); - _this->_impl_.vote_mapid_1_.MergeFrom(from._impl_.vote_mapid_1_); - _this->_impl_.vote_mapid_2_.MergeFrom(from._impl_.vote_mapid_2_); - _this->_impl_.vote_mapid_3_.MergeFrom(from._impl_.vote_mapid_3_); - _this->_impl_.vote_mapid_4_.MergeFrom(from._impl_.vote_mapid_4_); - _this->_impl_.vote_mapid_5_.MergeFrom(from._impl_.vote_mapid_5_); - _this->_impl_.vote_starting_side_.MergeFrom(from._impl_.vote_starting_side_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.event_id_ = from._impl_.event_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.event_stage_id_ = from._impl_.event_stage_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.team_id_0_ = from._impl_.team_id_0_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.team_id_1_ = from._impl_.team_id_1_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.maps_count_ = from._impl_.maps_count_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.maps_current_ = from._impl_.maps_current_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.team_id_start_ = from._impl_.team_id_start_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.team_id_veto1_ = from._impl_.team_id_veto1_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.team_id_pickn_ = from._impl_.team_id_pickn_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.vote_phase_ = from._impl_.vote_phase_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.vote_phase_start_ = from._impl_.vote_phase_start_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.vote_phase_length_ = from._impl_.vote_phase_length_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDataGCCStrike15_v2_TournamentMatchDraft::CopyFrom(const CDataGCCStrike15_v2_TournamentMatchDraft& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDataGCCStrike15_v2_TournamentMatchDraft) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDataGCCStrike15_v2_TournamentMatchDraft::IsInitialized() const { - return true; -} - -void CDataGCCStrike15_v2_TournamentMatchDraft::InternalSwap(CDataGCCStrike15_v2_TournamentMatchDraft* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.drafts_.InternalSwap(&other->_impl_.drafts_); - _impl_.vote_mapid_0_.InternalSwap(&other->_impl_.vote_mapid_0_); - _impl_.vote_mapid_1_.InternalSwap(&other->_impl_.vote_mapid_1_); - _impl_.vote_mapid_2_.InternalSwap(&other->_impl_.vote_mapid_2_); - _impl_.vote_mapid_3_.InternalSwap(&other->_impl_.vote_mapid_3_); - _impl_.vote_mapid_4_.InternalSwap(&other->_impl_.vote_mapid_4_); - _impl_.vote_mapid_5_.InternalSwap(&other->_impl_.vote_mapid_5_); - _impl_.vote_starting_side_.InternalSwap(&other->_impl_.vote_starting_side_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.vote_phase_length_) - + sizeof(CDataGCCStrike15_v2_TournamentMatchDraft::_impl_.vote_phase_length_) - - PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_TournamentMatchDraft, _impl_.event_id_)>( - reinterpret_cast(&_impl_.event_id_), - reinterpret_cast(&other->_impl_.event_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDataGCCStrike15_v2_TournamentMatchDraft::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[38]); -} - -// =================================================================== - -class CPreMatchInfoData_TeamStats::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_match_info_idxtxt(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_match_info_txt(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CPreMatchInfoData_TeamStats::CPreMatchInfoData_TeamStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPreMatchInfoData.TeamStats) -} -CPreMatchInfoData_TeamStats::CPreMatchInfoData_TeamStats(const CPreMatchInfoData_TeamStats& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPreMatchInfoData_TeamStats* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.match_info_teams_){from._impl_.match_info_teams_} - , decltype(_impl_.match_info_txt_){} - , decltype(_impl_.match_info_idxtxt_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.match_info_txt_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.match_info_txt_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_match_info_txt()) { - _this->_impl_.match_info_txt_.Set(from._internal_match_info_txt(), - _this->GetArenaForAllocation()); - } - _this->_impl_.match_info_idxtxt_ = from._impl_.match_info_idxtxt_; - // @@protoc_insertion_point(copy_constructor:CPreMatchInfoData.TeamStats) -} - -inline void CPreMatchInfoData_TeamStats::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.match_info_teams_){arena} - , decltype(_impl_.match_info_txt_){} - , decltype(_impl_.match_info_idxtxt_){0} - }; - _impl_.match_info_txt_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.match_info_txt_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CPreMatchInfoData_TeamStats::~CPreMatchInfoData_TeamStats() { - // @@protoc_insertion_point(destructor:CPreMatchInfoData.TeamStats) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPreMatchInfoData_TeamStats::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.match_info_teams_.~RepeatedPtrField(); - _impl_.match_info_txt_.Destroy(); -} - -void CPreMatchInfoData_TeamStats::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPreMatchInfoData_TeamStats::Clear() { -// @@protoc_insertion_point(message_clear_start:CPreMatchInfoData.TeamStats) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.match_info_teams_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.match_info_txt_.ClearNonDefaultToEmpty(); - } - _impl_.match_info_idxtxt_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPreMatchInfoData_TeamStats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 match_info_idxtxt = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_match_info_idxtxt(&has_bits); - _impl_.match_info_idxtxt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string match_info_txt = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_match_info_txt(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPreMatchInfoData.TeamStats.match_info_txt"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated string match_info_teams = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_match_info_teams(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPreMatchInfoData.TeamStats.match_info_teams"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPreMatchInfoData_TeamStats::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPreMatchInfoData.TeamStats) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 match_info_idxtxt = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_match_info_idxtxt(), target); - } - - // optional string match_info_txt = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_match_info_txt().data(), static_cast(this->_internal_match_info_txt().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPreMatchInfoData.TeamStats.match_info_txt"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_match_info_txt(), target); - } - - // repeated string match_info_teams = 3; - for (int i = 0, n = this->_internal_match_info_teams_size(); i < n; i++) { - const auto& s = this->_internal_match_info_teams(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPreMatchInfoData.TeamStats.match_info_teams"); - target = stream->WriteString(3, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPreMatchInfoData.TeamStats) - return target; -} - -size_t CPreMatchInfoData_TeamStats::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPreMatchInfoData.TeamStats) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string match_info_teams = 3; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.match_info_teams_.size()); - for (int i = 0, n = _impl_.match_info_teams_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.match_info_teams_.Get(i)); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string match_info_txt = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_match_info_txt()); - } - - // optional int32 match_info_idxtxt = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_match_info_idxtxt()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPreMatchInfoData_TeamStats::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPreMatchInfoData_TeamStats::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPreMatchInfoData_TeamStats::GetClassData() const { return &_class_data_; } - - -void CPreMatchInfoData_TeamStats::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPreMatchInfoData.TeamStats) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.match_info_teams_.MergeFrom(from._impl_.match_info_teams_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_match_info_txt(from._internal_match_info_txt()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.match_info_idxtxt_ = from._impl_.match_info_idxtxt_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPreMatchInfoData_TeamStats::CopyFrom(const CPreMatchInfoData_TeamStats& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPreMatchInfoData.TeamStats) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPreMatchInfoData_TeamStats::IsInitialized() const { - return true; -} - -void CPreMatchInfoData_TeamStats::InternalSwap(CPreMatchInfoData_TeamStats* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.match_info_teams_.InternalSwap(&other->_impl_.match_info_teams_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.match_info_txt_, lhs_arena, - &other->_impl_.match_info_txt_, rhs_arena - ); - swap(_impl_.match_info_idxtxt_, other->_impl_.match_info_idxtxt_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPreMatchInfoData_TeamStats::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[39]); -} - -// =================================================================== - -class CPreMatchInfoData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_predictions_pct(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CDataGCCStrike15_v2_TournamentMatchDraft& draft(const CPreMatchInfoData* msg); - static void set_has_draft(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CDataGCCStrike15_v2_TournamentMatchDraft& -CPreMatchInfoData::_Internal::draft(const CPreMatchInfoData* msg) { - return *msg->_impl_.draft_; -} -CPreMatchInfoData::CPreMatchInfoData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPreMatchInfoData) -} -CPreMatchInfoData::CPreMatchInfoData(const CPreMatchInfoData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPreMatchInfoData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.stats_){from._impl_.stats_} - , decltype(_impl_.wins_){from._impl_.wins_} - , decltype(_impl_.draft_){nullptr} - , decltype(_impl_.predictions_pct_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_draft()) { - _this->_impl_.draft_ = new ::CDataGCCStrike15_v2_TournamentMatchDraft(*from._impl_.draft_); - } - _this->_impl_.predictions_pct_ = from._impl_.predictions_pct_; - // @@protoc_insertion_point(copy_constructor:CPreMatchInfoData) -} - -inline void CPreMatchInfoData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.stats_){arena} - , decltype(_impl_.wins_){arena} - , decltype(_impl_.draft_){nullptr} - , decltype(_impl_.predictions_pct_){0} - }; -} - -CPreMatchInfoData::~CPreMatchInfoData() { - // @@protoc_insertion_point(destructor:CPreMatchInfoData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPreMatchInfoData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.stats_.~RepeatedPtrField(); - _impl_.wins_.~RepeatedField(); - if (this != internal_default_instance()) delete _impl_.draft_; -} - -void CPreMatchInfoData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPreMatchInfoData::Clear() { -// @@protoc_insertion_point(message_clear_start:CPreMatchInfoData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.stats_.Clear(); - _impl_.wins_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.draft_ != nullptr); - _impl_.draft_->Clear(); - } - _impl_.predictions_pct_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPreMatchInfoData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 predictions_pct = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_predictions_pct(&has_bits); - _impl_.predictions_pct_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CDataGCCStrike15_v2_TournamentMatchDraft draft = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_draft(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CPreMatchInfoData.TeamStats stats = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_stats(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else - goto handle_unusual; - continue; - // repeated int32 wins = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_wins(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<48>(ptr)); - } else if (static_cast(tag) == 50) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_wins(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPreMatchInfoData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPreMatchInfoData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 predictions_pct = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_predictions_pct(), target); - } - - // optional .CDataGCCStrike15_v2_TournamentMatchDraft draft = 4; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::draft(this), - _Internal::draft(this).GetCachedSize(), target, stream); - } - - // repeated .CPreMatchInfoData.TeamStats stats = 5; - for (unsigned i = 0, - n = static_cast(this->_internal_stats_size()); i < n; i++) { - const auto& repfield = this->_internal_stats(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated int32 wins = 6; - for (int i = 0, n = this->_internal_wins_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_wins(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPreMatchInfoData) - return target; -} - -size_t CPreMatchInfoData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPreMatchInfoData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CPreMatchInfoData.TeamStats stats = 5; - total_size += 1UL * this->_internal_stats_size(); - for (const auto& msg : this->_impl_.stats_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated int32 wins = 6; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.wins_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_wins_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CDataGCCStrike15_v2_TournamentMatchDraft draft = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.draft_); - } - - // optional int32 predictions_pct = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_predictions_pct()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPreMatchInfoData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPreMatchInfoData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPreMatchInfoData::GetClassData() const { return &_class_data_; } - - -void CPreMatchInfoData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPreMatchInfoData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.stats_.MergeFrom(from._impl_.stats_); - _this->_impl_.wins_.MergeFrom(from._impl_.wins_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_draft()->::CDataGCCStrike15_v2_TournamentMatchDraft::MergeFrom( - from._internal_draft()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.predictions_pct_ = from._impl_.predictions_pct_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPreMatchInfoData::CopyFrom(const CPreMatchInfoData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPreMatchInfoData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPreMatchInfoData::IsInitialized() const { - return true; -} - -void CPreMatchInfoData::InternalSwap(CPreMatchInfoData* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.stats_.InternalSwap(&other->_impl_.stats_); - _impl_.wins_.InternalSwap(&other->_impl_.wins_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPreMatchInfoData, _impl_.predictions_pct_) - + sizeof(CPreMatchInfoData::_impl_.predictions_pct_) - - PROTOBUF_FIELD_OFFSET(CPreMatchInfoData, _impl_.draft_)>( - reinterpret_cast(&_impl_.draft_), - reinterpret_cast(&other->_impl_.draft_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPreMatchInfoData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[40]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_game_type(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_match_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_server_version(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_encryption_key(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_encryption_key_pub(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_tv_master_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static const ::TournamentEvent& tournament_event(const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* msg); - static void set_has_tournament_event(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_tv_relay_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static const ::CPreMatchInfoData& pre_match_data(const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* msg); - static void set_has_pre_match_data(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_tv_control(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_socache_control(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_match_id_additional(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } -}; - -const ::TournamentEvent& -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_Internal::tournament_event(const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* msg) { - return *msg->_impl_.tournament_event_; -} -const ::CPreMatchInfoData& -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_Internal::pre_match_data(const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* msg) { - return *msg->_impl_.pre_match_data_; -} -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) -} -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_ids_){from._impl_.account_ids_} - , decltype(_impl_.rankings_){from._impl_.rankings_} - , decltype(_impl_.party_ids_){from._impl_.party_ids_} - , decltype(_impl_.whitelist_){from._impl_.whitelist_} - , decltype(_impl_.tournament_teams_){from._impl_.tournament_teams_} - , decltype(_impl_.tournament_casters_account_ids_){from._impl_.tournament_casters_account_ids_} - , decltype(_impl_.op_var_values_){from._impl_.op_var_values_} - , decltype(_impl_.teammate_colors_){from._impl_.teammate_colors_} - , decltype(_impl_.tournament_event_){nullptr} - , decltype(_impl_.pre_match_data_){nullptr} - , decltype(_impl_.match_id_){} - , decltype(_impl_.game_type_){} - , decltype(_impl_.server_version_){} - , decltype(_impl_.encryption_key_){} - , decltype(_impl_.encryption_key_pub_){} - , decltype(_impl_.tv_master_steamid_){} - , decltype(_impl_.tv_relay_steamid_){} - , decltype(_impl_.tv_control_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.socache_control_){} - , decltype(_impl_.match_id_additional_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_tournament_event()) { - _this->_impl_.tournament_event_ = new ::TournamentEvent(*from._impl_.tournament_event_); - } - if (from._internal_has_pre_match_data()) { - _this->_impl_.pre_match_data_ = new ::CPreMatchInfoData(*from._impl_.pre_match_data_); - } - ::memcpy(&_impl_.match_id_, &from._impl_.match_id_, - static_cast(reinterpret_cast(&_impl_.match_id_additional_) - - reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.match_id_additional_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) -} - -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_ids_){arena} - , decltype(_impl_.rankings_){arena} - , decltype(_impl_.party_ids_){arena} - , decltype(_impl_.whitelist_){arena} - , decltype(_impl_.tournament_teams_){arena} - , decltype(_impl_.tournament_casters_account_ids_){arena} - , decltype(_impl_.op_var_values_){arena} - , decltype(_impl_.teammate_colors_){arena} - , decltype(_impl_.tournament_event_){nullptr} - , decltype(_impl_.pre_match_data_){nullptr} - , decltype(_impl_.match_id_){uint64_t{0u}} - , decltype(_impl_.game_type_){0u} - , decltype(_impl_.server_version_){0u} - , decltype(_impl_.encryption_key_){uint64_t{0u}} - , decltype(_impl_.encryption_key_pub_){uint64_t{0u}} - , decltype(_impl_.tv_master_steamid_){uint64_t{0u}} - , decltype(_impl_.tv_relay_steamid_){uint64_t{0u}} - , decltype(_impl_.tv_control_){0u} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.socache_control_){0u} - , decltype(_impl_.match_id_additional_){0u} - }; -} - -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::~CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.account_ids_.~RepeatedField(); - _impl_.rankings_.~RepeatedPtrField(); - _impl_.party_ids_.~RepeatedField(); - _impl_.whitelist_.~RepeatedPtrField(); - _impl_.tournament_teams_.~RepeatedPtrField(); - _impl_.tournament_casters_account_ids_.~RepeatedField(); - _impl_.op_var_values_.~RepeatedPtrField(); - _impl_.teammate_colors_.~RepeatedField(); - if (this != internal_default_instance()) delete _impl_.tournament_event_; - if (this != internal_default_instance()) delete _impl_.pre_match_data_; -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.account_ids_.Clear(); - _impl_.rankings_.Clear(); - _impl_.party_ids_.Clear(); - _impl_.whitelist_.Clear(); - _impl_.tournament_teams_.Clear(); - _impl_.tournament_casters_account_ids_.Clear(); - _impl_.op_var_values_.Clear(); - _impl_.teammate_colors_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.tournament_event_ != nullptr); - _impl_.tournament_event_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.pre_match_data_ != nullptr); - _impl_.pre_match_data_->Clear(); - } - } - if (cached_has_bits & 0x000000fcu) { - ::memset(&_impl_.match_id_, 0, static_cast( - reinterpret_cast(&_impl_.tv_master_steamid_) - - reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.tv_master_steamid_)); - } - if (cached_has_bits & 0x00001f00u) { - ::memset(&_impl_.tv_relay_steamid_, 0, static_cast( - reinterpret_cast(&_impl_.match_id_additional_) - - reinterpret_cast(&_impl_.tv_relay_steamid_)) + sizeof(_impl_.match_id_additional_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated uint32 account_ids = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_account_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<8>(ptr)); - } else if (static_cast(tag) == 10) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_account_ids(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 game_type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_game_type(&has_bits); - _impl_.game_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 match_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_match_id(&has_bits); - _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 server_version = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_server_version(&has_bits); - _impl_.server_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .PlayerRankingInfo rankings = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_rankings(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint64 encryption_key = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_encryption_key(&has_bits); - _impl_.encryption_key_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 encryption_key_pub = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_encryption_key_pub(&has_bits); - _impl_.encryption_key_pub_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 party_ids = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_party_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<64>(ptr)); - } else if (static_cast(tag) == 66) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_party_ids(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .IpAddressMask whitelist = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_whitelist(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint64 tv_master_steamid = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_tv_master_steamid(&has_bits); - _impl_.tv_master_steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .TournamentEvent tournament_event = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr = ctx->ParseMessage(_internal_mutable_tournament_event(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .TournamentTeam tournament_teams = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_tournament_teams(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<98>(ptr)); - } else - goto handle_unusual; - continue; - // repeated uint32 tournament_casters_account_ids = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_tournament_casters_account_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<104>(ptr)); - } else if (static_cast(tag) == 106) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_tournament_casters_account_ids(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 tv_relay_steamid = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_tv_relay_steamid(&has_bits); - _impl_.tv_relay_steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CPreMatchInfoData pre_match_data = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - ptr = ctx->ParseMessage(_internal_mutable_pre_match_data(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tv_control = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_tv_control(&has_bits); - _impl_.tv_control_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .OperationalVarValue op_var_values = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(_internal_add_op_var_values(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<154>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 socache_control = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { - _Internal::set_has_socache_control(&has_bits); - _impl_.socache_control_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 teammate_colors = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { - ptr -= 2; - do { - ptr += 2; - _internal_add_teammate_colors(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<168>(ptr)); - } else if (static_cast(tag) == 170) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_teammate_colors(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 match_id_additional = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { - _Internal::set_has_match_id_additional(&has_bits); - _impl_.match_id_additional_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated uint32 account_ids = 1; - for (int i = 0, n = this->_internal_account_ids_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_ids(i), target); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 game_type = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_game_type(), target); - } - - // optional uint64 match_id = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_match_id(), target); - } - - // optional uint32 server_version = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_server_version(), target); - } - - // repeated .PlayerRankingInfo rankings = 5; - for (unsigned i = 0, - n = static_cast(this->_internal_rankings_size()); i < n; i++) { - const auto& repfield = this->_internal_rankings(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint64 encryption_key = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_encryption_key(), target); - } - - // optional uint64 encryption_key_pub = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_encryption_key_pub(), target); - } - - // repeated uint32 party_ids = 8; - for (int i = 0, n = this->_internal_party_ids_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_party_ids(i), target); - } - - // repeated .IpAddressMask whitelist = 9; - for (unsigned i = 0, - n = static_cast(this->_internal_whitelist_size()); i < n; i++) { - const auto& repfield = this->_internal_whitelist(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(9, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint64 tv_master_steamid = 10; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(10, this->_internal_tv_master_steamid(), target); - } - - // optional .TournamentEvent tournament_event = 11; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(11, _Internal::tournament_event(this), - _Internal::tournament_event(this).GetCachedSize(), target, stream); - } - - // repeated .TournamentTeam tournament_teams = 12; - for (unsigned i = 0, - n = static_cast(this->_internal_tournament_teams_size()); i < n; i++) { - const auto& repfield = this->_internal_tournament_teams(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(12, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated uint32 tournament_casters_account_ids = 13; - for (int i = 0, n = this->_internal_tournament_casters_account_ids_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_tournament_casters_account_ids(i), target); - } - - // optional uint64 tv_relay_steamid = 14; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(14, this->_internal_tv_relay_steamid(), target); - } - - // optional .CPreMatchInfoData pre_match_data = 15; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(15, _Internal::pre_match_data(this), - _Internal::pre_match_data(this).GetCachedSize(), target, stream); - } - - // optional uint32 tv_control = 17; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_tv_control(), target); - } - - // optional uint32 flags = 18; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_flags(), target); - } - - // repeated .OperationalVarValue op_var_values = 19; - for (unsigned i = 0, - n = static_cast(this->_internal_op_var_values_size()); i < n; i++) { - const auto& repfield = this->_internal_op_var_values(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(19, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 socache_control = 20; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_socache_control(), target); - } - - // repeated int32 teammate_colors = 21; - for (int i = 0, n = this->_internal_teammate_colors_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(21, this->_internal_teammate_colors(i), target); - } - - // optional uint32 match_id_additional = 22; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_match_id_additional(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 account_ids = 1; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.account_ids_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_account_ids_size()); - total_size += data_size; - } - - // repeated .PlayerRankingInfo rankings = 5; - total_size += 1UL * this->_internal_rankings_size(); - for (const auto& msg : this->_impl_.rankings_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated uint32 party_ids = 8; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.party_ids_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_party_ids_size()); - total_size += data_size; - } - - // repeated .IpAddressMask whitelist = 9; - total_size += 1UL * this->_internal_whitelist_size(); - for (const auto& msg : this->_impl_.whitelist_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .TournamentTeam tournament_teams = 12; - total_size += 1UL * this->_internal_tournament_teams_size(); - for (const auto& msg : this->_impl_.tournament_teams_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated uint32 tournament_casters_account_ids = 13; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.tournament_casters_account_ids_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_tournament_casters_account_ids_size()); - total_size += data_size; - } - - // repeated .OperationalVarValue op_var_values = 19; - total_size += 2UL * this->_internal_op_var_values_size(); - for (const auto& msg : this->_impl_.op_var_values_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated int32 teammate_colors = 21; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.teammate_colors_); - total_size += 2 * - ::_pbi::FromIntSize(this->_internal_teammate_colors_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional .TournamentEvent tournament_event = 11; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.tournament_event_); - } - - // optional .CPreMatchInfoData pre_match_data = 15; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.pre_match_data_); - } - - // optional uint64 match_id = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); - } - - // optional uint32 game_type = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_game_type()); - } - - // optional uint32 server_version = 4; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_version()); - } - - // optional uint64 encryption_key = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_encryption_key()); - } - - // optional uint64 encryption_key_pub = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_encryption_key_pub()); - } - - // optional uint64 tv_master_steamid = 10; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_tv_master_steamid()); - } - - } - if (cached_has_bits & 0x00001f00u) { - // optional uint64 tv_relay_steamid = 14; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_tv_relay_steamid()); - } - - // optional uint32 tv_control = 17; - if (cached_has_bits & 0x00000200u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_tv_control()); - } - - // optional uint32 flags = 18; - if (cached_has_bits & 0x00000400u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_flags()); - } - - // optional uint32 socache_control = 20; - if (cached_has_bits & 0x00000800u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_socache_control()); - } - - // optional uint32 match_id_additional = 22; - if (cached_has_bits & 0x00001000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_match_id_additional()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.account_ids_.MergeFrom(from._impl_.account_ids_); - _this->_impl_.rankings_.MergeFrom(from._impl_.rankings_); - _this->_impl_.party_ids_.MergeFrom(from._impl_.party_ids_); - _this->_impl_.whitelist_.MergeFrom(from._impl_.whitelist_); - _this->_impl_.tournament_teams_.MergeFrom(from._impl_.tournament_teams_); - _this->_impl_.tournament_casters_account_ids_.MergeFrom(from._impl_.tournament_casters_account_ids_); - _this->_impl_.op_var_values_.MergeFrom(from._impl_.op_var_values_); - _this->_impl_.teammate_colors_.MergeFrom(from._impl_.teammate_colors_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_tournament_event()->::TournamentEvent::MergeFrom( - from._internal_tournament_event()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_pre_match_data()->::CPreMatchInfoData::MergeFrom( - from._internal_pre_match_data()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.match_id_ = from._impl_.match_id_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.game_type_ = from._impl_.game_type_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.server_version_ = from._impl_.server_version_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.encryption_key_ = from._impl_.encryption_key_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.encryption_key_pub_ = from._impl_.encryption_key_pub_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.tv_master_steamid_ = from._impl_.tv_master_steamid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00001f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.tv_relay_steamid_ = from._impl_.tv_relay_steamid_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.tv_control_ = from._impl_.tv_control_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.socache_control_ = from._impl_.socache_control_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.match_id_additional_ = from._impl_.match_id_additional_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.account_ids_.InternalSwap(&other->_impl_.account_ids_); - _impl_.rankings_.InternalSwap(&other->_impl_.rankings_); - _impl_.party_ids_.InternalSwap(&other->_impl_.party_ids_); - _impl_.whitelist_.InternalSwap(&other->_impl_.whitelist_); - _impl_.tournament_teams_.InternalSwap(&other->_impl_.tournament_teams_); - _impl_.tournament_casters_account_ids_.InternalSwap(&other->_impl_.tournament_casters_account_ids_); - _impl_.op_var_values_.InternalSwap(&other->_impl_.op_var_values_); - _impl_.teammate_colors_.InternalSwap(&other->_impl_.teammate_colors_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.match_id_additional_) - + sizeof(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_impl_.match_id_additional_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve, _impl_.tournament_event_)>( - reinterpret_cast(&_impl_.tournament_event_), - reinterpret_cast(&other->_impl_.tournament_event_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[41]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_reservationid(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& reservation(const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* msg); - static void set_has_reservation(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_map(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_gc_reservation_sent(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_server_version(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static const ::ServerHltvInfo& tv_info(const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* msg); - static void set_has_tv_info(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_reward_item_attr_def_idx(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_reward_item_attr_value(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_reward_item_attr_reward_idx(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_reward_drop_list(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_tournament_tag(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_legacy_steamdatagram_port(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_steamdatagram_routing(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_test_token(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_system_load(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_cpus_online(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } -}; - -const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& -CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_Internal::reservation(const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* msg) { - return *msg->_impl_.reservation_; -} -const ::ServerHltvInfo& -CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_Internal::tv_info(const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* msg) { - return *msg->_impl_.tv_info_; -} -CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) -} -CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse(const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.reward_player_accounts_){from._impl_.reward_player_accounts_} - , decltype(_impl_.idle_player_accounts_){from._impl_.idle_player_accounts_} - , decltype(_impl_.map_){} - , decltype(_impl_.tournament_tag_){} - , decltype(_impl_.reservation_){nullptr} - , decltype(_impl_.tv_info_){nullptr} - , decltype(_impl_.reservationid_){} - , decltype(_impl_.gc_reservation_sent_){} - , decltype(_impl_.server_version_){} - , decltype(_impl_.reward_item_attr_def_idx_){} - , decltype(_impl_.reward_item_attr_value_){} - , decltype(_impl_.reward_item_attr_reward_idx_){} - , decltype(_impl_.reward_drop_list_){} - , decltype(_impl_.legacy_steamdatagram_port_){} - , decltype(_impl_.test_token_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.steamdatagram_routing_){} - , decltype(_impl_.system_load_){} - , decltype(_impl_.cpus_online_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.map_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_map()) { - _this->_impl_.map_.Set(from._internal_map(), - _this->GetArenaForAllocation()); - } - _impl_.tournament_tag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.tournament_tag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_tournament_tag()) { - _this->_impl_.tournament_tag_.Set(from._internal_tournament_tag(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_reservation()) { - _this->_impl_.reservation_ = new ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(*from._impl_.reservation_); - } - if (from._internal_has_tv_info()) { - _this->_impl_.tv_info_ = new ::ServerHltvInfo(*from._impl_.tv_info_); - } - ::memcpy(&_impl_.reservationid_, &from._impl_.reservationid_, - static_cast(reinterpret_cast(&_impl_.cpus_online_) - - reinterpret_cast(&_impl_.reservationid_)) + sizeof(_impl_.cpus_online_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) -} - -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.reward_player_accounts_){arena} - , decltype(_impl_.idle_player_accounts_){arena} - , decltype(_impl_.map_){} - , decltype(_impl_.tournament_tag_){} - , decltype(_impl_.reservation_){nullptr} - , decltype(_impl_.tv_info_){nullptr} - , decltype(_impl_.reservationid_){uint64_t{0u}} - , decltype(_impl_.gc_reservation_sent_){uint64_t{0u}} - , decltype(_impl_.server_version_){0u} - , decltype(_impl_.reward_item_attr_def_idx_){0u} - , decltype(_impl_.reward_item_attr_value_){0u} - , decltype(_impl_.reward_item_attr_reward_idx_){0u} - , decltype(_impl_.reward_drop_list_){0u} - , decltype(_impl_.legacy_steamdatagram_port_){0u} - , decltype(_impl_.test_token_){0u} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.steamdatagram_routing_){0u} - , decltype(_impl_.system_load_){0u} - , decltype(_impl_.cpus_online_){0u} - }; - _impl_.map_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.tournament_tag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.tournament_tag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::~CMsgGCCStrike15_v2_MatchmakingServerReservationResponse() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.reward_player_accounts_.~RepeatedField(); - _impl_.idle_player_accounts_.~RepeatedField(); - _impl_.map_.Destroy(); - _impl_.tournament_tag_.Destroy(); - if (this != internal_default_instance()) delete _impl_.reservation_; - if (this != internal_default_instance()) delete _impl_.tv_info_; -} - -void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.reward_player_accounts_.Clear(); - _impl_.idle_player_accounts_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.map_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.tournament_tag_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.reservation_ != nullptr); - _impl_.reservation_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.tv_info_ != nullptr); - _impl_.tv_info_->Clear(); - } - } - if (cached_has_bits & 0x000000f0u) { - ::memset(&_impl_.reservationid_, 0, static_cast( - reinterpret_cast(&_impl_.reward_item_attr_def_idx_) - - reinterpret_cast(&_impl_.reservationid_)) + sizeof(_impl_.reward_item_attr_def_idx_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.reward_item_attr_value_, 0, static_cast( - reinterpret_cast(&_impl_.system_load_) - - reinterpret_cast(&_impl_.reward_item_attr_value_)) + sizeof(_impl_.system_load_)); - } - _impl_.cpus_online_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 reservationid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_reservationid(&has_bits); - _impl_.reservationid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_reservation(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string map = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_map(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.map"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint64 gc_reservation_sent = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_gc_reservation_sent(&has_bits); - _impl_.gc_reservation_sent_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 server_version = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_server_version(&has_bits); - _impl_.server_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .ServerHltvInfo tv_info = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_tv_info(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 reward_player_accounts = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_reward_player_accounts(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<56>(ptr)); - } else if (static_cast(tag) == 58) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_reward_player_accounts(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 idle_player_accounts = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_idle_player_accounts(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<64>(ptr)); - } else if (static_cast(tag) == 66) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_idle_player_accounts(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 reward_item_attr_def_idx = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_reward_item_attr_def_idx(&has_bits); - _impl_.reward_item_attr_def_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 reward_item_attr_value = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_reward_item_attr_value(&has_bits); - _impl_.reward_item_attr_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 reward_item_attr_reward_idx = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_reward_item_attr_reward_idx(&has_bits); - _impl_.reward_item_attr_reward_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 reward_drop_list = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_reward_drop_list(&has_bits); - _impl_.reward_drop_list_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string tournament_tag = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - auto str = _internal_mutable_tournament_tag(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tournament_tag"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 legacy_steamdatagram_port = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_legacy_steamdatagram_port(&has_bits); - _impl_.legacy_steamdatagram_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 test_token = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 125)) { - _Internal::set_has_test_token(&has_bits); - _impl_.test_token_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 steamdatagram_routing = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_steamdatagram_routing(&has_bits); - _impl_.steamdatagram_routing_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 system_load = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_system_load(&has_bits); - _impl_.system_load_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 cpus_online = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_cpus_online(&has_bits); - _impl_.cpus_online_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 reservationid = 1; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_reservationid(), target); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::reservation(this), - _Internal::reservation(this).GetCachedSize(), target, stream); - } - - // optional string map = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_map().data(), static_cast(this->_internal_map().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.map"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_map(), target); - } - - // optional uint64 gc_reservation_sent = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_gc_reservation_sent(), target); - } - - // optional uint32 server_version = 5; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_server_version(), target); - } - - // optional .ServerHltvInfo tv_info = 6; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::tv_info(this), - _Internal::tv_info(this).GetCachedSize(), target, stream); - } - - // repeated uint32 reward_player_accounts = 7; - for (int i = 0, n = this->_internal_reward_player_accounts_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_reward_player_accounts(i), target); - } - - // repeated uint32 idle_player_accounts = 8; - for (int i = 0, n = this->_internal_idle_player_accounts_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_idle_player_accounts(i), target); - } - - // optional uint32 reward_item_attr_def_idx = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_reward_item_attr_def_idx(), target); - } - - // optional uint32 reward_item_attr_value = 10; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_reward_item_attr_value(), target); - } - - // optional uint32 reward_item_attr_reward_idx = 11; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_reward_item_attr_reward_idx(), target); - } - - // optional uint32 reward_drop_list = 12; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_reward_drop_list(), target); - } - - // optional string tournament_tag = 13; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_tournament_tag().data(), static_cast(this->_internal_tournament_tag().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tournament_tag"); - target = stream->WriteStringMaybeAliased( - 13, this->_internal_tournament_tag(), target); - } - - // optional uint32 legacy_steamdatagram_port = 14; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_legacy_steamdatagram_port(), target); - } - - // optional fixed32 test_token = 15; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(15, this->_internal_test_token(), target); - } - - // optional uint32 flags = 16; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_flags(), target); - } - - // optional uint32 steamdatagram_routing = 17; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_steamdatagram_routing(), target); - } - - // optional uint32 system_load = 18; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_system_load(), target); - } - - // optional uint32 cpus_online = 19; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_cpus_online(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 reward_player_accounts = 7; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.reward_player_accounts_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_reward_player_accounts_size()); - total_size += data_size; - } - - // repeated uint32 idle_player_accounts = 8; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.idle_player_accounts_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_idle_player_accounts_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string map = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_map()); - } - - // optional string tournament_tag = 13; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_tournament_tag()); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.reservation_); - } - - // optional .ServerHltvInfo tv_info = 6; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.tv_info_); - } - - // optional uint64 reservationid = 1; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_reservationid()); - } - - // optional uint64 gc_reservation_sent = 4; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_gc_reservation_sent()); - } - - // optional uint32 server_version = 5; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_version()); - } - - // optional uint32 reward_item_attr_def_idx = 9; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reward_item_attr_def_idx()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional uint32 reward_item_attr_value = 10; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reward_item_attr_value()); - } - - // optional uint32 reward_item_attr_reward_idx = 11; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reward_item_attr_reward_idx()); - } - - // optional uint32 reward_drop_list = 12; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reward_drop_list()); - } - - // optional uint32 legacy_steamdatagram_port = 14; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_legacy_steamdatagram_port()); - } - - // optional fixed32 test_token = 15; - if (cached_has_bits & 0x00001000u) { - total_size += 1 + 4; - } - - // optional uint32 flags = 16; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_flags()); - } - - // optional uint32 steamdatagram_routing = 17; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_steamdatagram_routing()); - } - - // optional uint32 system_load = 18; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_system_load()); - } - - } - // optional uint32 cpus_online = 19; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_cpus_online()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.reward_player_accounts_.MergeFrom(from._impl_.reward_player_accounts_); - _this->_impl_.idle_player_accounts_.MergeFrom(from._impl_.idle_player_accounts_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_map(from._internal_map()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_tournament_tag(from._internal_tournament_tag()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_reservation()->::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::MergeFrom( - from._internal_reservation()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_tv_info()->::ServerHltvInfo::MergeFrom( - from._internal_tv_info()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.reservationid_ = from._impl_.reservationid_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.gc_reservation_sent_ = from._impl_.gc_reservation_sent_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.server_version_ = from._impl_.server_version_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.reward_item_attr_def_idx_ = from._impl_.reward_item_attr_def_idx_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.reward_item_attr_value_ = from._impl_.reward_item_attr_value_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.reward_item_attr_reward_idx_ = from._impl_.reward_item_attr_reward_idx_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.reward_drop_list_ = from._impl_.reward_drop_list_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.legacy_steamdatagram_port_ = from._impl_.legacy_steamdatagram_port_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.test_token_ = from._impl_.test_token_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.steamdatagram_routing_ = from._impl_.steamdatagram_routing_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.system_load_ = from._impl_.system_load_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00010000u) { - _this->_internal_set_cpus_online(from._internal_cpus_online()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::InternalSwap(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.reward_player_accounts_.InternalSwap(&other->_impl_.reward_player_accounts_); - _impl_.idle_player_accounts_.InternalSwap(&other->_impl_.idle_player_accounts_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.map_, lhs_arena, - &other->_impl_.map_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.tournament_tag_, lhs_arena, - &other->_impl_.tournament_tag_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.cpus_online_) - + sizeof(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_impl_.cpus_online_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse, _impl_.reservation_)>( - reinterpret_cast(&_impl_.reservation_), - reinterpret_cast(&other->_impl_.reservation_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[42]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_serverid(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_direct_udp_ip(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_direct_udp_port(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_reservationid(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& reservation(const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* msg); - static void set_has_reservation(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_map(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_server_address(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::DataCenterPing& gs_ping(const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* msg); - static void set_has_gs_ping(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_gs_location_id(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } -}; - -const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& -CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_Internal::reservation(const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* msg) { - return *msg->_impl_.reservation_; -} -const ::DataCenterPing& -CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_Internal::gs_ping(const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* msg) { - return *msg->_impl_.gs_ping_; -} -CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) -} -CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.map_){} - , decltype(_impl_.server_address_){} - , decltype(_impl_.reservation_){nullptr} - , decltype(_impl_.gs_ping_){nullptr} - , decltype(_impl_.serverid_){} - , decltype(_impl_.direct_udp_ip_){} - , decltype(_impl_.direct_udp_port_){} - , decltype(_impl_.reservationid_){} - , decltype(_impl_.gs_location_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.map_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_map()) { - _this->_impl_.map_.Set(from._internal_map(), - _this->GetArenaForAllocation()); - } - _impl_.server_address_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.server_address_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_server_address()) { - _this->_impl_.server_address_.Set(from._internal_server_address(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_reservation()) { - _this->_impl_.reservation_ = new ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(*from._impl_.reservation_); - } - if (from._internal_has_gs_ping()) { - _this->_impl_.gs_ping_ = new ::DataCenterPing(*from._impl_.gs_ping_); - } - ::memcpy(&_impl_.serverid_, &from._impl_.serverid_, - static_cast(reinterpret_cast(&_impl_.gs_location_id_) - - reinterpret_cast(&_impl_.serverid_)) + sizeof(_impl_.gs_location_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) -} - -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.map_){} - , decltype(_impl_.server_address_){} - , decltype(_impl_.reservation_){nullptr} - , decltype(_impl_.gs_ping_){nullptr} - , decltype(_impl_.serverid_){uint64_t{0u}} - , decltype(_impl_.direct_udp_ip_){0u} - , decltype(_impl_.direct_udp_port_){0u} - , decltype(_impl_.reservationid_){uint64_t{0u}} - , decltype(_impl_.gs_location_id_){0u} - }; - _impl_.map_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.server_address_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.server_address_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::~CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.map_.Destroy(); - _impl_.server_address_.Destroy(); - if (this != internal_default_instance()) delete _impl_.reservation_; - if (this != internal_default_instance()) delete _impl_.gs_ping_; -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.map_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.server_address_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.reservation_ != nullptr); - _impl_.reservation_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.gs_ping_ != nullptr); - _impl_.gs_ping_->Clear(); - } - } - if (cached_has_bits & 0x000000f0u) { - ::memset(&_impl_.serverid_, 0, static_cast( - reinterpret_cast(&_impl_.reservationid_) - - reinterpret_cast(&_impl_.serverid_)) + sizeof(_impl_.reservationid_)); - } - _impl_.gs_location_id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 serverid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_serverid(&has_bits); - _impl_.serverid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 direct_udp_ip = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_direct_udp_ip(&has_bits); - _impl_.direct_udp_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 direct_udp_port = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_direct_udp_port(&has_bits); - _impl_.direct_udp_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 reservationid = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_reservationid(&has_bits); - _impl_.reservationid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_reservation(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string map = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_map(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.map"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string server_address = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_server_address(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.server_address"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional .DataCenterPing gs_ping = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_gs_ping(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 gs_location_id = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_gs_location_id(&has_bits); - _impl_.gs_location_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 serverid = 1; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_serverid(), target); - } - - // optional uint32 direct_udp_ip = 2; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_direct_udp_ip(), target); - } - - // optional uint32 direct_udp_port = 3; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_direct_udp_port(), target); - } - - // optional uint64 reservationid = 4; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_reservationid(), target); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 5; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::reservation(this), - _Internal::reservation(this).GetCachedSize(), target, stream); - } - - // optional string map = 6; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_map().data(), static_cast(this->_internal_map().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.map"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_map(), target); - } - - // optional string server_address = 7; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_server_address().data(), static_cast(this->_internal_server_address().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.server_address"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_server_address(), target); - } - - // optional .DataCenterPing gs_ping = 8; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, _Internal::gs_ping(this), - _Internal::gs_ping(this).GetCachedSize(), target, stream); - } - - // optional uint32 gs_location_id = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_gs_location_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string map = 6; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_map()); - } - - // optional string server_address = 7; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_server_address()); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 5; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.reservation_); - } - - // optional .DataCenterPing gs_ping = 8; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.gs_ping_); - } - - // optional uint64 serverid = 1; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_serverid()); - } - - // optional uint32 direct_udp_ip = 2; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_direct_udp_ip()); - } - - // optional uint32 direct_udp_port = 3; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_direct_udp_port()); - } - - // optional uint64 reservationid = 4; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_reservationid()); - } - - } - // optional uint32 gs_location_id = 9; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gs_location_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_map(from._internal_map()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_server_address(from._internal_server_address()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_reservation()->::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::MergeFrom( - from._internal_reservation()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_gs_ping()->::DataCenterPing::MergeFrom( - from._internal_gs_ping()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.serverid_ = from._impl_.serverid_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.direct_udp_ip_ = from._impl_.direct_udp_ip_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.direct_udp_port_ = from._impl_.direct_udp_port_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.reservationid_ = from._impl_.reservationid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_gs_location_id(from._internal_gs_location_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.map_, lhs_arena, - &other->_impl_.map_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.server_address_, lhs_arena, - &other->_impl_.server_address_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.gs_location_id_) - + sizeof(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_impl_.gs_location_id_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve, _impl_.reservation_)>( - reinterpret_cast(&_impl_.reservation_), - reinterpret_cast(&other->_impl_.reservation_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[43]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_mvp(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) -} -CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_mvp_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.account_mvp_ = from._impl_.account_mvp_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) -} - -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_mvp_){0u} - }; -} - -CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::~CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.account_mvp_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_mvp = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_mvp(&has_bits); - _impl_.account_mvp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_mvp = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_mvp(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 account_mvp = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_mvp()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_account_mvp()) { - _this->_internal_set_account_mvp(from._internal_account_mvp()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::InternalSwap(CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.account_mvp_, other->_impl_.account_mvp_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[44]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_reservationid(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& reservation(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats* msg); - static void set_has_reservation(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_map(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_round(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_round_result(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_match_result(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& confirm(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats* msg); - static void set_has_confirm(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_reservation_stage(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_match_duration(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_spectators_count(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_spectators_count_tv(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_spectators_count_lnk(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& drop_info(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats* msg); - static void set_has_drop_info(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_b_switched_teams(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_max_rounds(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_map_id(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } -}; - -const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_Internal::reservation(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats* msg) { - return *msg->_impl_.reservation_; -} -const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_Internal::confirm(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats* msg) { - return *msg->_impl_.confirm_; -} -const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_Internal::drop_info(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats* msg) { - return *msg->_impl_.drop_info_; -} -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::CMsgGCCStrike15_v2_MatchmakingServerRoundStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) -} -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::CMsgGCCStrike15_v2_MatchmakingServerRoundStats(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchmakingServerRoundStats* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.kills_){from._impl_.kills_} - , decltype(_impl_.assists_){from._impl_.assists_} - , decltype(_impl_.deaths_){from._impl_.deaths_} - , decltype(_impl_.scores_){from._impl_.scores_} - , decltype(_impl_.pings_){from._impl_.pings_} - , decltype(_impl_.team_scores_){from._impl_.team_scores_} - , decltype(_impl_.enemy_kills_){from._impl_.enemy_kills_} - , decltype(_impl_.enemy_headshots_){from._impl_.enemy_headshots_} - , decltype(_impl_.enemy_3ks_){from._impl_.enemy_3ks_} - , decltype(_impl_.enemy_4ks_){from._impl_.enemy_4ks_} - , decltype(_impl_.enemy_5ks_){from._impl_.enemy_5ks_} - , decltype(_impl_.mvps_){from._impl_.mvps_} - , decltype(_impl_.enemy_kills_agg_){from._impl_.enemy_kills_agg_} - , decltype(_impl_.enemy_2ks_){from._impl_.enemy_2ks_} - , decltype(_impl_.player_spawned_){from._impl_.player_spawned_} - , decltype(_impl_.team_spawn_count_){from._impl_.team_spawn_count_} - , decltype(_impl_.map_){} - , decltype(_impl_.reservation_){nullptr} - , decltype(_impl_.confirm_){nullptr} - , decltype(_impl_.drop_info_){nullptr} - , decltype(_impl_.reservationid_){} - , decltype(_impl_.round_){} - , decltype(_impl_.round_result_){} - , decltype(_impl_.match_result_){} - , decltype(_impl_.reservation_stage_){} - , decltype(_impl_.match_duration_){} - , decltype(_impl_.spectators_count_){} - , decltype(_impl_.spectators_count_tv_){} - , decltype(_impl_.spectators_count_lnk_){} - , decltype(_impl_.b_switched_teams_){} - , decltype(_impl_.max_rounds_){} - , decltype(_impl_.map_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.map_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_map()) { - _this->_impl_.map_.Set(from._internal_map(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_reservation()) { - _this->_impl_.reservation_ = new ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(*from._impl_.reservation_); - } - if (from._internal_has_confirm()) { - _this->_impl_.confirm_ = new ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm(*from._impl_.confirm_); - } - if (from._internal_has_drop_info()) { - _this->_impl_.drop_info_ = new ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo(*from._impl_.drop_info_); - } - ::memcpy(&_impl_.reservationid_, &from._impl_.reservationid_, - static_cast(reinterpret_cast(&_impl_.map_id_) - - reinterpret_cast(&_impl_.reservationid_)) + sizeof(_impl_.map_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) -} - -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.kills_){arena} - , decltype(_impl_.assists_){arena} - , decltype(_impl_.deaths_){arena} - , decltype(_impl_.scores_){arena} - , decltype(_impl_.pings_){arena} - , decltype(_impl_.team_scores_){arena} - , decltype(_impl_.enemy_kills_){arena} - , decltype(_impl_.enemy_headshots_){arena} - , decltype(_impl_.enemy_3ks_){arena} - , decltype(_impl_.enemy_4ks_){arena} - , decltype(_impl_.enemy_5ks_){arena} - , decltype(_impl_.mvps_){arena} - , decltype(_impl_.enemy_kills_agg_){arena} - , decltype(_impl_.enemy_2ks_){arena} - , decltype(_impl_.player_spawned_){arena} - , decltype(_impl_.team_spawn_count_){arena} - , decltype(_impl_.map_){} - , decltype(_impl_.reservation_){nullptr} - , decltype(_impl_.confirm_){nullptr} - , decltype(_impl_.drop_info_){nullptr} - , decltype(_impl_.reservationid_){uint64_t{0u}} - , decltype(_impl_.round_){0} - , decltype(_impl_.round_result_){0} - , decltype(_impl_.match_result_){0} - , decltype(_impl_.reservation_stage_){0} - , decltype(_impl_.match_duration_){0} - , decltype(_impl_.spectators_count_){0u} - , decltype(_impl_.spectators_count_tv_){0u} - , decltype(_impl_.spectators_count_lnk_){0u} - , decltype(_impl_.b_switched_teams_){false} - , decltype(_impl_.max_rounds_){0u} - , decltype(_impl_.map_id_){0} - }; - _impl_.map_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::~CMsgGCCStrike15_v2_MatchmakingServerRoundStats() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.kills_.~RepeatedField(); - _impl_.assists_.~RepeatedField(); - _impl_.deaths_.~RepeatedField(); - _impl_.scores_.~RepeatedField(); - _impl_.pings_.~RepeatedField(); - _impl_.team_scores_.~RepeatedField(); - _impl_.enemy_kills_.~RepeatedField(); - _impl_.enemy_headshots_.~RepeatedField(); - _impl_.enemy_3ks_.~RepeatedField(); - _impl_.enemy_4ks_.~RepeatedField(); - _impl_.enemy_5ks_.~RepeatedField(); - _impl_.mvps_.~RepeatedField(); - _impl_.enemy_kills_agg_.~RepeatedField(); - _impl_.enemy_2ks_.~RepeatedField(); - _impl_.player_spawned_.~RepeatedField(); - _impl_.team_spawn_count_.~RepeatedField(); - _impl_.map_.Destroy(); - if (this != internal_default_instance()) delete _impl_.reservation_; - if (this != internal_default_instance()) delete _impl_.confirm_; - if (this != internal_default_instance()) delete _impl_.drop_info_; -} - -void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.kills_.Clear(); - _impl_.assists_.Clear(); - _impl_.deaths_.Clear(); - _impl_.scores_.Clear(); - _impl_.pings_.Clear(); - _impl_.team_scores_.Clear(); - _impl_.enemy_kills_.Clear(); - _impl_.enemy_headshots_.Clear(); - _impl_.enemy_3ks_.Clear(); - _impl_.enemy_4ks_.Clear(); - _impl_.enemy_5ks_.Clear(); - _impl_.mvps_.Clear(); - _impl_.enemy_kills_agg_.Clear(); - _impl_.enemy_2ks_.Clear(); - _impl_.player_spawned_.Clear(); - _impl_.team_spawn_count_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.map_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.reservation_ != nullptr); - _impl_.reservation_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.confirm_ != nullptr); - _impl_.confirm_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.drop_info_ != nullptr); - _impl_.drop_info_->Clear(); - } - } - if (cached_has_bits & 0x000000f0u) { - ::memset(&_impl_.reservationid_, 0, static_cast( - reinterpret_cast(&_impl_.match_result_) - - reinterpret_cast(&_impl_.reservationid_)) + sizeof(_impl_.match_result_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.reservation_stage_, 0, static_cast( - reinterpret_cast(&_impl_.map_id_) - - reinterpret_cast(&_impl_.reservation_stage_)) + sizeof(_impl_.map_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 reservationid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_reservationid(&has_bits); - _impl_.reservationid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_reservation(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string map = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_map(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_MatchmakingServerRoundStats.map"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 round = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_round(&has_bits); - _impl_.round_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 kills = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_kills(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<40>(ptr)); - } else if (static_cast(tag) == 42) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_kills(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 assists = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_assists(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<48>(ptr)); - } else if (static_cast(tag) == 50) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_assists(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 deaths = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_deaths(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<56>(ptr)); - } else if (static_cast(tag) == 58) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_deaths(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 scores = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_scores(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<64>(ptr)); - } else if (static_cast(tag) == 66) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_scores(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 pings = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_pings(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<72>(ptr)); - } else if (static_cast(tag) == 74) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_pings(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 round_result = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_round_result(&has_bits); - _impl_.round_result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 match_result = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_match_result(&has_bits); - _impl_.match_result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 team_scores = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_team_scores(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<96>(ptr)); - } else if (static_cast(tag) == 98) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_team_scores(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm confirm = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr = ctx->ParseMessage(_internal_mutable_confirm(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 reservation_stage = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_reservation_stage(&has_bits); - _impl_.reservation_stage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 match_duration = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_match_duration(&has_bits); - _impl_.match_duration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 enemy_kills = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - ptr -= 2; - do { - ptr += 2; - _internal_add_enemy_kills(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<128>(ptr)); - } else if (static_cast(tag) == 130) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_enemy_kills(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 enemy_headshots = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - ptr -= 2; - do { - ptr += 2; - _internal_add_enemy_headshots(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<136>(ptr)); - } else if (static_cast(tag) == 138) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_enemy_headshots(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 enemy_3ks = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - ptr -= 2; - do { - ptr += 2; - _internal_add_enemy_3ks(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<144>(ptr)); - } else if (static_cast(tag) == 146) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_enemy_3ks(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 enemy_4ks = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - ptr -= 2; - do { - ptr += 2; - _internal_add_enemy_4ks(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<152>(ptr)); - } else if (static_cast(tag) == 154) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_enemy_4ks(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 enemy_5ks = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { - ptr -= 2; - do { - ptr += 2; - _internal_add_enemy_5ks(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<160>(ptr)); - } else if (static_cast(tag) == 162) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_enemy_5ks(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 mvps = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { - ptr -= 2; - do { - ptr += 2; - _internal_add_mvps(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<168>(ptr)); - } else if (static_cast(tag) == 170) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_mvps(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 spectators_count = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { - _Internal::set_has_spectators_count(&has_bits); - _impl_.spectators_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 spectators_count_tv = 23; - case 23: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 184)) { - _Internal::set_has_spectators_count_tv(&has_bits); - _impl_.spectators_count_tv_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 spectators_count_lnk = 24; - case 24: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 192)) { - _Internal::set_has_spectators_count_lnk(&has_bits); - _impl_.spectators_count_lnk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 enemy_kills_agg = 25; - case 25: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 200)) { - ptr -= 2; - do { - ptr += 2; - _internal_add_enemy_kills_agg(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<200>(ptr)); - } else if (static_cast(tag) == 202) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_enemy_kills_agg(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo drop_info = 26; - case 26: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 210)) { - ptr = ctx->ParseMessage(_internal_mutable_drop_info(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool b_switched_teams = 27; - case 27: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 216)) { - _Internal::set_has_b_switched_teams(&has_bits); - _impl_.b_switched_teams_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 enemy_2ks = 28; - case 28: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 224)) { - ptr -= 2; - do { - ptr += 2; - _internal_add_enemy_2ks(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<224>(ptr)); - } else if (static_cast(tag) == 226) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_enemy_2ks(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 player_spawned = 29; - case 29: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 232)) { - ptr -= 2; - do { - ptr += 2; - _internal_add_player_spawned(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<232>(ptr)); - } else if (static_cast(tag) == 234) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_player_spawned(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 team_spawn_count = 30; - case 30: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 240)) { - ptr -= 2; - do { - ptr += 2; - _internal_add_team_spawn_count(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<240>(ptr)); - } else if (static_cast(tag) == 242) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_team_spawn_count(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 max_rounds = 31; - case 31: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 248)) { - _Internal::set_has_max_rounds(&has_bits); - _impl_.max_rounds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 map_id = 32; - case 32: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { - _Internal::set_has_map_id(&has_bits); - _impl_.map_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 reservationid = 1; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_reservationid(), target); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::reservation(this), - _Internal::reservation(this).GetCachedSize(), target, stream); - } - - // optional string map = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_map().data(), static_cast(this->_internal_map().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_MatchmakingServerRoundStats.map"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_map(), target); - } - - // optional int32 round = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_round(), target); - } - - // repeated int32 kills = 5; - for (int i = 0, n = this->_internal_kills_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_kills(i), target); - } - - // repeated int32 assists = 6; - for (int i = 0, n = this->_internal_assists_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_assists(i), target); - } - - // repeated int32 deaths = 7; - for (int i = 0, n = this->_internal_deaths_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_deaths(i), target); - } - - // repeated int32 scores = 8; - for (int i = 0, n = this->_internal_scores_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_scores(i), target); - } - - // repeated int32 pings = 9; - for (int i = 0, n = this->_internal_pings_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_pings(i), target); - } - - // optional int32 round_result = 10; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_round_result(), target); - } - - // optional int32 match_result = 11; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_match_result(), target); - } - - // repeated int32 team_scores = 12; - for (int i = 0, n = this->_internal_team_scores_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_team_scores(i), target); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm confirm = 13; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, _Internal::confirm(this), - _Internal::confirm(this).GetCachedSize(), target, stream); - } - - // optional int32 reservation_stage = 14; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_reservation_stage(), target); - } - - // optional int32 match_duration = 15; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(15, this->_internal_match_duration(), target); - } - - // repeated int32 enemy_kills = 16; - for (int i = 0, n = this->_internal_enemy_kills_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(16, this->_internal_enemy_kills(i), target); - } - - // repeated int32 enemy_headshots = 17; - for (int i = 0, n = this->_internal_enemy_headshots_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(17, this->_internal_enemy_headshots(i), target); - } - - // repeated int32 enemy_3ks = 18; - for (int i = 0, n = this->_internal_enemy_3ks_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(18, this->_internal_enemy_3ks(i), target); - } - - // repeated int32 enemy_4ks = 19; - for (int i = 0, n = this->_internal_enemy_4ks_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(19, this->_internal_enemy_4ks(i), target); - } - - // repeated int32 enemy_5ks = 20; - for (int i = 0, n = this->_internal_enemy_5ks_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(20, this->_internal_enemy_5ks(i), target); - } - - // repeated int32 mvps = 21; - for (int i = 0, n = this->_internal_mvps_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(21, this->_internal_mvps(i), target); - } - - // optional uint32 spectators_count = 22; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_spectators_count(), target); - } - - // optional uint32 spectators_count_tv = 23; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(23, this->_internal_spectators_count_tv(), target); - } - - // optional uint32 spectators_count_lnk = 24; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(24, this->_internal_spectators_count_lnk(), target); - } - - // repeated int32 enemy_kills_agg = 25; - for (int i = 0, n = this->_internal_enemy_kills_agg_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(25, this->_internal_enemy_kills_agg(i), target); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo drop_info = 26; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(26, _Internal::drop_info(this), - _Internal::drop_info(this).GetCachedSize(), target, stream); - } - - // optional bool b_switched_teams = 27; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(27, this->_internal_b_switched_teams(), target); - } - - // repeated int32 enemy_2ks = 28; - for (int i = 0, n = this->_internal_enemy_2ks_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(28, this->_internal_enemy_2ks(i), target); - } - - // repeated int32 player_spawned = 29; - for (int i = 0, n = this->_internal_player_spawned_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(29, this->_internal_player_spawned(i), target); - } - - // repeated int32 team_spawn_count = 30; - for (int i = 0, n = this->_internal_team_spawn_count_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(30, this->_internal_team_spawn_count(i), target); - } - - // optional uint32 max_rounds = 31; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(31, this->_internal_max_rounds(), target); - } - - // optional int32 map_id = 32; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(32, this->_internal_map_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated int32 kills = 5; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.kills_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_kills_size()); - total_size += data_size; - } - - // repeated int32 assists = 6; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.assists_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_assists_size()); - total_size += data_size; - } - - // repeated int32 deaths = 7; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.deaths_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_deaths_size()); - total_size += data_size; - } - - // repeated int32 scores = 8; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.scores_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_scores_size()); - total_size += data_size; - } - - // repeated int32 pings = 9; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.pings_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_pings_size()); - total_size += data_size; - } - - // repeated int32 team_scores = 12; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.team_scores_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_team_scores_size()); - total_size += data_size; - } - - // repeated int32 enemy_kills = 16; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.enemy_kills_); - total_size += 2 * - ::_pbi::FromIntSize(this->_internal_enemy_kills_size()); - total_size += data_size; - } - - // repeated int32 enemy_headshots = 17; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.enemy_headshots_); - total_size += 2 * - ::_pbi::FromIntSize(this->_internal_enemy_headshots_size()); - total_size += data_size; - } - - // repeated int32 enemy_3ks = 18; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.enemy_3ks_); - total_size += 2 * - ::_pbi::FromIntSize(this->_internal_enemy_3ks_size()); - total_size += data_size; - } - - // repeated int32 enemy_4ks = 19; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.enemy_4ks_); - total_size += 2 * - ::_pbi::FromIntSize(this->_internal_enemy_4ks_size()); - total_size += data_size; - } - - // repeated int32 enemy_5ks = 20; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.enemy_5ks_); - total_size += 2 * - ::_pbi::FromIntSize(this->_internal_enemy_5ks_size()); - total_size += data_size; - } - - // repeated int32 mvps = 21; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.mvps_); - total_size += 2 * - ::_pbi::FromIntSize(this->_internal_mvps_size()); - total_size += data_size; - } - - // repeated int32 enemy_kills_agg = 25; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.enemy_kills_agg_); - total_size += 2 * - ::_pbi::FromIntSize(this->_internal_enemy_kills_agg_size()); - total_size += data_size; - } - - // repeated int32 enemy_2ks = 28; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.enemy_2ks_); - total_size += 2 * - ::_pbi::FromIntSize(this->_internal_enemy_2ks_size()); - total_size += data_size; - } - - // repeated int32 player_spawned = 29; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.player_spawned_); - total_size += 2 * - ::_pbi::FromIntSize(this->_internal_player_spawned_size()); - total_size += data_size; - } - - // repeated int32 team_spawn_count = 30; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.team_spawn_count_); - total_size += 2 * - ::_pbi::FromIntSize(this->_internal_team_spawn_count_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string map = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_map()); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.reservation_); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm confirm = 13; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.confirm_); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo drop_info = 26; - if (cached_has_bits & 0x00000008u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.drop_info_); - } - - // optional uint64 reservationid = 1; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_reservationid()); - } - - // optional int32 round = 4; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_round()); - } - - // optional int32 round_result = 10; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_round_result()); - } - - // optional int32 match_result = 11; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_match_result()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional int32 reservation_stage = 14; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reservation_stage()); - } - - // optional int32 match_duration = 15; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_match_duration()); - } - - // optional uint32 spectators_count = 22; - if (cached_has_bits & 0x00000400u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_spectators_count()); - } - - // optional uint32 spectators_count_tv = 23; - if (cached_has_bits & 0x00000800u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_spectators_count_tv()); - } - - // optional uint32 spectators_count_lnk = 24; - if (cached_has_bits & 0x00001000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_spectators_count_lnk()); - } - - // optional bool b_switched_teams = 27; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + 1; - } - - // optional uint32 max_rounds = 31; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_max_rounds()); - } - - // optional int32 map_id = 32; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + - ::_pbi::WireFormatLite::Int32Size( - this->_internal_map_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchmakingServerRoundStats::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingServerRoundStats::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.kills_.MergeFrom(from._impl_.kills_); - _this->_impl_.assists_.MergeFrom(from._impl_.assists_); - _this->_impl_.deaths_.MergeFrom(from._impl_.deaths_); - _this->_impl_.scores_.MergeFrom(from._impl_.scores_); - _this->_impl_.pings_.MergeFrom(from._impl_.pings_); - _this->_impl_.team_scores_.MergeFrom(from._impl_.team_scores_); - _this->_impl_.enemy_kills_.MergeFrom(from._impl_.enemy_kills_); - _this->_impl_.enemy_headshots_.MergeFrom(from._impl_.enemy_headshots_); - _this->_impl_.enemy_3ks_.MergeFrom(from._impl_.enemy_3ks_); - _this->_impl_.enemy_4ks_.MergeFrom(from._impl_.enemy_4ks_); - _this->_impl_.enemy_5ks_.MergeFrom(from._impl_.enemy_5ks_); - _this->_impl_.mvps_.MergeFrom(from._impl_.mvps_); - _this->_impl_.enemy_kills_agg_.MergeFrom(from._impl_.enemy_kills_agg_); - _this->_impl_.enemy_2ks_.MergeFrom(from._impl_.enemy_2ks_); - _this->_impl_.player_spawned_.MergeFrom(from._impl_.player_spawned_); - _this->_impl_.team_spawn_count_.MergeFrom(from._impl_.team_spawn_count_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_map(from._internal_map()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_reservation()->::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::MergeFrom( - from._internal_reservation()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_confirm()->::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::MergeFrom( - from._internal_confirm()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_drop_info()->::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::MergeFrom( - from._internal_drop_info()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.reservationid_ = from._impl_.reservationid_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.round_ = from._impl_.round_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.round_result_ = from._impl_.round_result_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.match_result_ = from._impl_.match_result_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.reservation_stage_ = from._impl_.reservation_stage_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.match_duration_ = from._impl_.match_duration_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.spectators_count_ = from._impl_.spectators_count_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.spectators_count_tv_ = from._impl_.spectators_count_tv_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.spectators_count_lnk_ = from._impl_.spectators_count_lnk_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.b_switched_teams_ = from._impl_.b_switched_teams_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.max_rounds_ = from._impl_.max_rounds_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.map_id_ = from._impl_.map_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::InternalSwap(CMsgGCCStrike15_v2_MatchmakingServerRoundStats* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.kills_.InternalSwap(&other->_impl_.kills_); - _impl_.assists_.InternalSwap(&other->_impl_.assists_); - _impl_.deaths_.InternalSwap(&other->_impl_.deaths_); - _impl_.scores_.InternalSwap(&other->_impl_.scores_); - _impl_.pings_.InternalSwap(&other->_impl_.pings_); - _impl_.team_scores_.InternalSwap(&other->_impl_.team_scores_); - _impl_.enemy_kills_.InternalSwap(&other->_impl_.enemy_kills_); - _impl_.enemy_headshots_.InternalSwap(&other->_impl_.enemy_headshots_); - _impl_.enemy_3ks_.InternalSwap(&other->_impl_.enemy_3ks_); - _impl_.enemy_4ks_.InternalSwap(&other->_impl_.enemy_4ks_); - _impl_.enemy_5ks_.InternalSwap(&other->_impl_.enemy_5ks_); - _impl_.mvps_.InternalSwap(&other->_impl_.mvps_); - _impl_.enemy_kills_agg_.InternalSwap(&other->_impl_.enemy_kills_agg_); - _impl_.enemy_2ks_.InternalSwap(&other->_impl_.enemy_2ks_); - _impl_.player_spawned_.InternalSwap(&other->_impl_.player_spawned_); - _impl_.team_spawn_count_.InternalSwap(&other->_impl_.team_spawn_count_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.map_, lhs_arena, - &other->_impl_.map_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.map_id_) - + sizeof(CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_impl_.map_id_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingServerRoundStats, _impl_.reservation_)>( - reinterpret_cast(&_impl_.reservation_), - reinterpret_cast(&other->_impl_.reservation_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingServerRoundStats::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[45]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchmakingClient2GCHello::_Internal { - public: -}; - -CMsgGCCStrike15_v2_MatchmakingClient2GCHello::CMsgGCCStrike15_v2_MatchmakingClient2GCHello(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchmakingClient2GCHello) -} -CMsgGCCStrike15_v2_MatchmakingClient2GCHello::CMsgGCCStrike15_v2_MatchmakingClient2GCHello(const CMsgGCCStrike15_v2_MatchmakingClient2GCHello& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CMsgGCCStrike15_v2_MatchmakingClient2GCHello* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingClient2GCHello) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingClient2GCHello::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingClient2GCHello::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingClient2GCHello::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[46]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& ongoingmatch(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg); - static void set_has_ongoingmatch(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::GlobalStatistics& global_stats(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg); - static void set_has_global_stats(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_penalty_seconds(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_penalty_reason(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_vac_banned(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static const ::PlayerRankingInfo& ranking(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg); - static void set_has_ranking(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::PlayerCommendationInfo& commendation(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg); - static void set_has_commendation(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::PlayerMedalsInfo& medals(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg); - static void set_has_medals(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static const ::TournamentEvent& my_current_event(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg); - static void set_has_my_current_event(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static const ::TournamentTeam& my_current_team(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg); - static void set_has_my_current_team(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_survey_vote(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static const ::AccountActivity& activity(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg); - static void set_has_activity(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_player_level(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_player_cur_xp(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_player_xp_bonus_flags(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_owcaseid(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } -}; - -const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& -CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_Internal::ongoingmatch(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg) { - return *msg->_impl_.ongoingmatch_; -} -const ::GlobalStatistics& -CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_Internal::global_stats(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg) { - return *msg->_impl_.global_stats_; -} -const ::PlayerRankingInfo& -CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_Internal::ranking(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg) { - return *msg->_impl_.ranking_; -} -const ::PlayerCommendationInfo& -CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_Internal::commendation(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg) { - return *msg->_impl_.commendation_; -} -const ::PlayerMedalsInfo& -CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_Internal::medals(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg) { - return *msg->_impl_.medals_; -} -const ::TournamentEvent& -CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_Internal::my_current_event(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg) { - return *msg->_impl_.my_current_event_; -} -const ::TournamentTeam& -CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_Internal::my_current_team(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg) { - return *msg->_impl_.my_current_team_; -} -const ::AccountActivity& -CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_Internal::activity(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* msg) { - return *msg->_impl_.activity_; -} -CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) -} -CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.my_current_event_teams_){from._impl_.my_current_event_teams_} - , decltype(_impl_.my_current_event_stages_){from._impl_.my_current_event_stages_} - , decltype(_impl_.rankings_){from._impl_.rankings_} - , decltype(_impl_.ongoingmatch_){nullptr} - , decltype(_impl_.global_stats_){nullptr} - , decltype(_impl_.ranking_){nullptr} - , decltype(_impl_.commendation_){nullptr} - , decltype(_impl_.medals_){nullptr} - , decltype(_impl_.my_current_event_){nullptr} - , decltype(_impl_.my_current_team_){nullptr} - , decltype(_impl_.activity_){nullptr} - , decltype(_impl_.account_id_){} - , decltype(_impl_.penalty_seconds_){} - , decltype(_impl_.penalty_reason_){} - , decltype(_impl_.vac_banned_){} - , decltype(_impl_.survey_vote_){} - , decltype(_impl_.player_level_){} - , decltype(_impl_.player_cur_xp_){} - , decltype(_impl_.player_xp_bonus_flags_){} - , decltype(_impl_.owcaseid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_ongoingmatch()) { - _this->_impl_.ongoingmatch_ = new ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(*from._impl_.ongoingmatch_); - } - if (from._internal_has_global_stats()) { - _this->_impl_.global_stats_ = new ::GlobalStatistics(*from._impl_.global_stats_); - } - if (from._internal_has_ranking()) { - _this->_impl_.ranking_ = new ::PlayerRankingInfo(*from._impl_.ranking_); - } - if (from._internal_has_commendation()) { - _this->_impl_.commendation_ = new ::PlayerCommendationInfo(*from._impl_.commendation_); - } - if (from._internal_has_medals()) { - _this->_impl_.medals_ = new ::PlayerMedalsInfo(*from._impl_.medals_); - } - if (from._internal_has_my_current_event()) { - _this->_impl_.my_current_event_ = new ::TournamentEvent(*from._impl_.my_current_event_); - } - if (from._internal_has_my_current_team()) { - _this->_impl_.my_current_team_ = new ::TournamentTeam(*from._impl_.my_current_team_); - } - if (from._internal_has_activity()) { - _this->_impl_.activity_ = new ::AccountActivity(*from._impl_.activity_); - } - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.owcaseid_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.owcaseid_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) -} - -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.my_current_event_teams_){arena} - , decltype(_impl_.my_current_event_stages_){arena} - , decltype(_impl_.rankings_){arena} - , decltype(_impl_.ongoingmatch_){nullptr} - , decltype(_impl_.global_stats_){nullptr} - , decltype(_impl_.ranking_){nullptr} - , decltype(_impl_.commendation_){nullptr} - , decltype(_impl_.medals_){nullptr} - , decltype(_impl_.my_current_event_){nullptr} - , decltype(_impl_.my_current_team_){nullptr} - , decltype(_impl_.activity_){nullptr} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.penalty_seconds_){0u} - , decltype(_impl_.penalty_reason_){0u} - , decltype(_impl_.vac_banned_){0} - , decltype(_impl_.survey_vote_){0u} - , decltype(_impl_.player_level_){0} - , decltype(_impl_.player_cur_xp_){0} - , decltype(_impl_.player_xp_bonus_flags_){0} - , decltype(_impl_.owcaseid_){uint64_t{0u}} - }; -} - -CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::~CMsgGCCStrike15_v2_MatchmakingGC2ClientHello() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.my_current_event_teams_.~RepeatedPtrField(); - _impl_.my_current_event_stages_.~RepeatedPtrField(); - _impl_.rankings_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.ongoingmatch_; - if (this != internal_default_instance()) delete _impl_.global_stats_; - if (this != internal_default_instance()) delete _impl_.ranking_; - if (this != internal_default_instance()) delete _impl_.commendation_; - if (this != internal_default_instance()) delete _impl_.medals_; - if (this != internal_default_instance()) delete _impl_.my_current_event_; - if (this != internal_default_instance()) delete _impl_.my_current_team_; - if (this != internal_default_instance()) delete _impl_.activity_; -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.my_current_event_teams_.Clear(); - _impl_.my_current_event_stages_.Clear(); - _impl_.rankings_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.ongoingmatch_ != nullptr); - _impl_.ongoingmatch_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.global_stats_ != nullptr); - _impl_.global_stats_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.ranking_ != nullptr); - _impl_.ranking_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.commendation_ != nullptr); - _impl_.commendation_->Clear(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(_impl_.medals_ != nullptr); - _impl_.medals_->Clear(); - } - if (cached_has_bits & 0x00000020u) { - GOOGLE_DCHECK(_impl_.my_current_event_ != nullptr); - _impl_.my_current_event_->Clear(); - } - if (cached_has_bits & 0x00000040u) { - GOOGLE_DCHECK(_impl_.my_current_team_ != nullptr); - _impl_.my_current_team_->Clear(); - } - if (cached_has_bits & 0x00000080u) { - GOOGLE_DCHECK(_impl_.activity_ != nullptr); - _impl_.activity_->Clear(); - } - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.player_xp_bonus_flags_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.player_xp_bonus_flags_)); - } - _impl_.owcaseid_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve ongoingmatch = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_ongoingmatch(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .GlobalStatistics global_stats = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_global_stats(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 penalty_seconds = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_penalty_seconds(&has_bits); - _impl_.penalty_seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 penalty_reason = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_penalty_reason(&has_bits); - _impl_.penalty_reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 vac_banned = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_vac_banned(&has_bits); - _impl_.vac_banned_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .PlayerRankingInfo ranking = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_ranking(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .PlayerCommendationInfo commendation = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_commendation(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .PlayerMedalsInfo medals = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr = ctx->ParseMessage(_internal_mutable_medals(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .TournamentEvent my_current_event = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr = ctx->ParseMessage(_internal_mutable_my_current_event(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .TournamentTeam my_current_event_teams = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_my_current_event_teams(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<90>(ptr)); - } else - goto handle_unusual; - continue; - // optional .TournamentTeam my_current_team = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - ptr = ctx->ParseMessage(_internal_mutable_my_current_team(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .TournamentEvent my_current_event_stages = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_my_current_event_stages(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<106>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 survey_vote = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_survey_vote(&has_bits); - _impl_.survey_vote_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .AccountActivity activity = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - ptr = ctx->ParseMessage(_internal_mutable_activity(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 player_level = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_player_level(&has_bits); - _impl_.player_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 player_cur_xp = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_player_cur_xp(&has_bits); - _impl_.player_cur_xp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 player_xp_bonus_flags = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_player_xp_bonus_flags(&has_bits); - _impl_.player_xp_bonus_flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .PlayerRankingInfo rankings = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(_internal_add_rankings(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<162>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint64 owcaseid = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { - _Internal::set_has_owcaseid(&has_bits); - _impl_.owcaseid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve ongoingmatch = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::ongoingmatch(this), - _Internal::ongoingmatch(this).GetCachedSize(), target, stream); - } - - // optional .GlobalStatistics global_stats = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::global_stats(this), - _Internal::global_stats(this).GetCachedSize(), target, stream); - } - - // optional uint32 penalty_seconds = 4; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_penalty_seconds(), target); - } - - // optional uint32 penalty_reason = 5; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_penalty_reason(), target); - } - - // optional int32 vac_banned = 6; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_vac_banned(), target); - } - - // optional .PlayerRankingInfo ranking = 7; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::ranking(this), - _Internal::ranking(this).GetCachedSize(), target, stream); - } - - // optional .PlayerCommendationInfo commendation = 8; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, _Internal::commendation(this), - _Internal::commendation(this).GetCachedSize(), target, stream); - } - - // optional .PlayerMedalsInfo medals = 9; - if (cached_has_bits & 0x00000010u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(9, _Internal::medals(this), - _Internal::medals(this).GetCachedSize(), target, stream); - } - - // optional .TournamentEvent my_current_event = 10; - if (cached_has_bits & 0x00000020u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, _Internal::my_current_event(this), - _Internal::my_current_event(this).GetCachedSize(), target, stream); - } - - // repeated .TournamentTeam my_current_event_teams = 11; - for (unsigned i = 0, - n = static_cast(this->_internal_my_current_event_teams_size()); i < n; i++) { - const auto& repfield = this->_internal_my_current_event_teams(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(11, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional .TournamentTeam my_current_team = 12; - if (cached_has_bits & 0x00000040u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(12, _Internal::my_current_team(this), - _Internal::my_current_team(this).GetCachedSize(), target, stream); - } - - // repeated .TournamentEvent my_current_event_stages = 13; - for (unsigned i = 0, - n = static_cast(this->_internal_my_current_event_stages_size()); i < n; i++) { - const auto& repfield = this->_internal_my_current_event_stages(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 survey_vote = 14; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_survey_vote(), target); - } - - // optional .AccountActivity activity = 15; - if (cached_has_bits & 0x00000080u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(15, _Internal::activity(this), - _Internal::activity(this).GetCachedSize(), target, stream); - } - - // optional int32 player_level = 17; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(17, this->_internal_player_level(), target); - } - - // optional int32 player_cur_xp = 18; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(18, this->_internal_player_cur_xp(), target); - } - - // optional int32 player_xp_bonus_flags = 19; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(19, this->_internal_player_xp_bonus_flags(), target); - } - - // repeated .PlayerRankingInfo rankings = 20; - for (unsigned i = 0, - n = static_cast(this->_internal_rankings_size()); i < n; i++) { - const auto& repfield = this->_internal_rankings(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(20, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint64 owcaseid = 21; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(21, this->_internal_owcaseid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .TournamentTeam my_current_event_teams = 11; - total_size += 1UL * this->_internal_my_current_event_teams_size(); - for (const auto& msg : this->_impl_.my_current_event_teams_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .TournamentEvent my_current_event_stages = 13; - total_size += 1UL * this->_internal_my_current_event_stages_size(); - for (const auto& msg : this->_impl_.my_current_event_stages_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .PlayerRankingInfo rankings = 20; - total_size += 2UL * this->_internal_rankings_size(); - for (const auto& msg : this->_impl_.rankings_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve ongoingmatch = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.ongoingmatch_); - } - - // optional .GlobalStatistics global_stats = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.global_stats_); - } - - // optional .PlayerRankingInfo ranking = 7; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.ranking_); - } - - // optional .PlayerCommendationInfo commendation = 8; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.commendation_); - } - - // optional .PlayerMedalsInfo medals = 9; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.medals_); - } - - // optional .TournamentEvent my_current_event = 10; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.my_current_event_); - } - - // optional .TournamentTeam my_current_team = 12; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.my_current_team_); - } - - // optional .AccountActivity activity = 15; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.activity_); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 penalty_seconds = 4; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_penalty_seconds()); - } - - // optional uint32 penalty_reason = 5; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_penalty_reason()); - } - - // optional int32 vac_banned = 6; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_vac_banned()); - } - - // optional uint32 survey_vote = 14; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_survey_vote()); - } - - // optional int32 player_level = 17; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::Int32Size( - this->_internal_player_level()); - } - - // optional int32 player_cur_xp = 18; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::Int32Size( - this->_internal_player_cur_xp()); - } - - // optional int32 player_xp_bonus_flags = 19; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + - ::_pbi::WireFormatLite::Int32Size( - this->_internal_player_xp_bonus_flags()); - } - - } - // optional uint64 owcaseid = 21; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt64Size( - this->_internal_owcaseid()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.my_current_event_teams_.MergeFrom(from._impl_.my_current_event_teams_); - _this->_impl_.my_current_event_stages_.MergeFrom(from._impl_.my_current_event_stages_); - _this->_impl_.rankings_.MergeFrom(from._impl_.rankings_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_ongoingmatch()->::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::MergeFrom( - from._internal_ongoingmatch()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_global_stats()->::GlobalStatistics::MergeFrom( - from._internal_global_stats()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_ranking()->::PlayerRankingInfo::MergeFrom( - from._internal_ranking()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_commendation()->::PlayerCommendationInfo::MergeFrom( - from._internal_commendation()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_mutable_medals()->::PlayerMedalsInfo::MergeFrom( - from._internal_medals()); - } - if (cached_has_bits & 0x00000020u) { - _this->_internal_mutable_my_current_event()->::TournamentEvent::MergeFrom( - from._internal_my_current_event()); - } - if (cached_has_bits & 0x00000040u) { - _this->_internal_mutable_my_current_team()->::TournamentTeam::MergeFrom( - from._internal_my_current_team()); - } - if (cached_has_bits & 0x00000080u) { - _this->_internal_mutable_activity()->::AccountActivity::MergeFrom( - from._internal_activity()); - } - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.penalty_seconds_ = from._impl_.penalty_seconds_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.penalty_reason_ = from._impl_.penalty_reason_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.vac_banned_ = from._impl_.vac_banned_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.survey_vote_ = from._impl_.survey_vote_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.player_level_ = from._impl_.player_level_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.player_cur_xp_ = from._impl_.player_cur_xp_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.player_xp_bonus_flags_ = from._impl_.player_xp_bonus_flags_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00010000u) { - _this->_internal_set_owcaseid(from._internal_owcaseid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.my_current_event_teams_.InternalSwap(&other->_impl_.my_current_event_teams_); - _impl_.my_current_event_stages_.InternalSwap(&other->_impl_.my_current_event_stages_); - _impl_.rankings_.InternalSwap(&other->_impl_.rankings_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.owcaseid_) - + sizeof(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_impl_.owcaseid_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello, _impl_.ongoingmatch_)>( - reinterpret_cast(&_impl_.ongoingmatch_), - reinterpret_cast(&other->_impl_.ongoingmatch_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[47]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_setting_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_setting_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) -} -CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting(const CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.setting_type_){} - , decltype(_impl_.setting_value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.setting_type_, &from._impl_.setting_type_, - static_cast(reinterpret_cast(&_impl_.setting_value_) - - reinterpret_cast(&_impl_.setting_type_)) + sizeof(_impl_.setting_value_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) -} - -inline void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.setting_type_){0u} - , decltype(_impl_.setting_value_){0u} - }; -} - -CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::~CMsgGCCStrike15_v2_AccountPrivacySettings_Setting() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.setting_type_, 0, static_cast( - reinterpret_cast(&_impl_.setting_value_) - - reinterpret_cast(&_impl_.setting_type_)) + sizeof(_impl_.setting_value_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 setting_type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_setting_type(&has_bits); - _impl_.setting_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 setting_value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_setting_value(&has_bits); - _impl_.setting_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 setting_type = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_setting_type(), target); - } - - // optional uint32 setting_value = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_setting_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) - return target; -} - -size_t CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 setting_type = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_setting_type()); - } - - // optional uint32 setting_value = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_setting_value()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.setting_type_ = from._impl_.setting_type_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.setting_value_ = from._impl_.setting_value_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::CopyFrom(const CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::InternalSwap(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting, _impl_.setting_value_) - + sizeof(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_impl_.setting_value_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting, _impl_.setting_type_)>( - reinterpret_cast(&_impl_.setting_type_), - reinterpret_cast(&other->_impl_.setting_type_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[48]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_AccountPrivacySettings::_Internal { - public: -}; - -CMsgGCCStrike15_v2_AccountPrivacySettings::CMsgGCCStrike15_v2_AccountPrivacySettings(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_AccountPrivacySettings) -} -CMsgGCCStrike15_v2_AccountPrivacySettings::CMsgGCCStrike15_v2_AccountPrivacySettings(const CMsgGCCStrike15_v2_AccountPrivacySettings& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_AccountPrivacySettings* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.settings_){from._impl_.settings_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_AccountPrivacySettings) -} - -inline void CMsgGCCStrike15_v2_AccountPrivacySettings::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.settings_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CMsgGCCStrike15_v2_AccountPrivacySettings::~CMsgGCCStrike15_v2_AccountPrivacySettings() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_AccountPrivacySettings) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_AccountPrivacySettings::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.settings_.~RepeatedPtrField(); -} - -void CMsgGCCStrike15_v2_AccountPrivacySettings::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_AccountPrivacySettings::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_AccountPrivacySettings) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.settings_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_AccountPrivacySettings::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CMsgGCCStrike15_v2_AccountPrivacySettings.Setting settings = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_settings(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_AccountPrivacySettings::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_AccountPrivacySettings) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CMsgGCCStrike15_v2_AccountPrivacySettings.Setting settings = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_settings_size()); i < n; i++) { - const auto& repfield = this->_internal_settings(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_AccountPrivacySettings) - return target; -} - -size_t CMsgGCCStrike15_v2_AccountPrivacySettings::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_AccountPrivacySettings) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgGCCStrike15_v2_AccountPrivacySettings.Setting settings = 1; - total_size += 1UL * this->_internal_settings_size(); - for (const auto& msg : this->_impl_.settings_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_AccountPrivacySettings::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_AccountPrivacySettings::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_AccountPrivacySettings::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_AccountPrivacySettings::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_AccountPrivacySettings) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.settings_.MergeFrom(from._impl_.settings_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_AccountPrivacySettings::CopyFrom(const CMsgGCCStrike15_v2_AccountPrivacySettings& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_AccountPrivacySettings) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_AccountPrivacySettings::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_AccountPrivacySettings::InternalSwap(CMsgGCCStrike15_v2_AccountPrivacySettings* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.settings_.InternalSwap(&other->_impl_.settings_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_AccountPrivacySettings::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[49]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& abandoned_match(const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* msg); - static void set_has_abandoned_match(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_penalty_seconds(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_penalty_reason(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& -CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_Internal::abandoned_match(const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* msg) { - return *msg->_impl_.abandoned_match_; -} -CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) -} -CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon(const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.abandoned_match_){nullptr} - , decltype(_impl_.account_id_){} - , decltype(_impl_.penalty_seconds_){} - , decltype(_impl_.penalty_reason_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_abandoned_match()) { - _this->_impl_.abandoned_match_ = new ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(*from._impl_.abandoned_match_); - } - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.penalty_reason_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.penalty_reason_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) -} - -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.abandoned_match_){nullptr} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.penalty_seconds_){0u} - , decltype(_impl_.penalty_reason_){0u} - }; -} - -CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::~CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.abandoned_match_; -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.abandoned_match_ != nullptr); - _impl_.abandoned_match_->Clear(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.penalty_reason_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.penalty_reason_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve abandoned_match = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_abandoned_match(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 penalty_seconds = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_penalty_seconds(&has_bits); - _impl_.penalty_seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 penalty_reason = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_penalty_reason(&has_bits); - _impl_.penalty_reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve abandoned_match = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::abandoned_match(this), - _Internal::abandoned_match(this).GetCachedSize(), target, stream); - } - - // optional uint32 penalty_seconds = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_penalty_seconds(), target); - } - - // optional uint32 penalty_reason = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_penalty_reason(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve abandoned_match = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.abandoned_match_); - } - - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 penalty_seconds = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_penalty_seconds()); - } - - // optional uint32 penalty_reason = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_penalty_reason()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_abandoned_match()->::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::MergeFrom( - from._internal_abandoned_match()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.penalty_seconds_ = from._impl_.penalty_seconds_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.penalty_reason_ = from._impl_.penalty_reason_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon, _impl_.penalty_reason_) - + sizeof(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_impl_.penalty_reason_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon, _impl_.abandoned_match_)>( - reinterpret_cast(&_impl_.abandoned_match_), - reinterpret_cast(&other->_impl_.abandoned_match_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[50]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientGCRankUpdate::_Internal { - public: -}; - -CMsgGCCStrike15_v2_ClientGCRankUpdate::CMsgGCCStrike15_v2_ClientGCRankUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientGCRankUpdate) -} -CMsgGCCStrike15_v2_ClientGCRankUpdate::CMsgGCCStrike15_v2_ClientGCRankUpdate(const CMsgGCCStrike15_v2_ClientGCRankUpdate& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientGCRankUpdate* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.rankings_){from._impl_.rankings_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientGCRankUpdate) -} - -inline void CMsgGCCStrike15_v2_ClientGCRankUpdate::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.rankings_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CMsgGCCStrike15_v2_ClientGCRankUpdate::~CMsgGCCStrike15_v2_ClientGCRankUpdate() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientGCRankUpdate) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientGCRankUpdate::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.rankings_.~RepeatedPtrField(); -} - -void CMsgGCCStrike15_v2_ClientGCRankUpdate::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientGCRankUpdate::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientGCRankUpdate) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.rankings_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientGCRankUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .PlayerRankingInfo rankings = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_rankings(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientGCRankUpdate::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientGCRankUpdate) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .PlayerRankingInfo rankings = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_rankings_size()); i < n; i++) { - const auto& repfield = this->_internal_rankings(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientGCRankUpdate) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientGCRankUpdate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientGCRankUpdate) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .PlayerRankingInfo rankings = 1; - total_size += 1UL * this->_internal_rankings_size(); - for (const auto& msg : this->_impl_.rankings_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientGCRankUpdate::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientGCRankUpdate::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientGCRankUpdate::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientGCRankUpdate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientGCRankUpdate) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.rankings_.MergeFrom(from._impl_.rankings_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientGCRankUpdate::CopyFrom(const CMsgGCCStrike15_v2_ClientGCRankUpdate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientGCRankUpdate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientGCRankUpdate::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientGCRankUpdate::InternalSwap(CMsgGCCStrike15_v2_ClientGCRankUpdate* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.rankings_.InternalSwap(&other->_impl_.rankings_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientGCRankUpdate::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[51]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_main_post_url(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) -} -CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate(const CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.main_post_url_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.main_post_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.main_post_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_main_post_url()) { - _this->_impl_.main_post_url_.Set(from._internal_main_post_url(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) -} - -inline void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.main_post_url_){} - }; - _impl_.main_post_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.main_post_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::~CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.main_post_url_.Destroy(); -} - -void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.main_post_url_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string main_post_url = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_main_post_url(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate.main_post_url"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string main_post_url = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_main_post_url().data(), static_cast(this->_internal_main_post_url().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate.main_post_url"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_main_post_url(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string main_post_url = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_main_post_url()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_main_post_url()) { - _this->_internal_set_main_post_url(from._internal_main_post_url()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::InternalSwap(CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.main_post_url_, lhs_arena, - &other->_impl_.main_post_url_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[52]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_reason(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_seconds(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_communication_cooldown(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) -} -CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty(const CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ServerNotificationForUserPenalty* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_id_){} - , decltype(_impl_.reason_){} - , decltype(_impl_.seconds_){} - , decltype(_impl_.communication_cooldown_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.communication_cooldown_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.communication_cooldown_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) -} - -inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.reason_){0u} - , decltype(_impl_.seconds_){0u} - , decltype(_impl_.communication_cooldown_){false} - }; -} - -CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::~CMsgGCCStrike15_v2_ServerNotificationForUserPenalty() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.communication_cooldown_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.communication_cooldown_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 reason = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_reason(&has_bits); - _impl_.reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 seconds = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_seconds(&has_bits); - _impl_.seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool communication_cooldown = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_communication_cooldown(&has_bits); - _impl_.communication_cooldown_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional uint32 reason = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_reason(), target); - } - - // optional uint32 seconds = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_seconds(), target); - } - - // optional bool communication_cooldown = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_communication_cooldown(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) - return target; -} - -size_t CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 reason = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reason()); - } - - // optional uint32 seconds = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds()); - } - - // optional bool communication_cooldown = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.reason_ = from._impl_.reason_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.seconds_ = from._impl_.seconds_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.communication_cooldown_ = from._impl_.communication_cooldown_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::CopyFrom(const CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::InternalSwap(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty, _impl_.communication_cooldown_) - + sizeof(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_impl_.communication_cooldown_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty, _impl_.account_id_)>( - reinterpret_cast(&_impl_.account_id_), - reinterpret_cast(&other->_impl_.account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[53]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientReportPlayer::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_rpt_aimbot(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_rpt_wallhack(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_rpt_speedhack(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_rpt_teamharm(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_rpt_textabuse(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_rpt_voiceabuse(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_match_id(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_report_from_demo(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } -}; - -CMsgGCCStrike15_v2_ClientReportPlayer::CMsgGCCStrike15_v2_ClientReportPlayer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientReportPlayer) -} -CMsgGCCStrike15_v2_ClientReportPlayer::CMsgGCCStrike15_v2_ClientReportPlayer(const CMsgGCCStrike15_v2_ClientReportPlayer& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientReportPlayer* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_id_){} - , decltype(_impl_.rpt_aimbot_){} - , decltype(_impl_.rpt_wallhack_){} - , decltype(_impl_.rpt_speedhack_){} - , decltype(_impl_.rpt_teamharm_){} - , decltype(_impl_.rpt_textabuse_){} - , decltype(_impl_.match_id_){} - , decltype(_impl_.rpt_voiceabuse_){} - , decltype(_impl_.report_from_demo_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.report_from_demo_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.report_from_demo_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientReportPlayer) -} - -inline void CMsgGCCStrike15_v2_ClientReportPlayer::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.rpt_aimbot_){0u} - , decltype(_impl_.rpt_wallhack_){0u} - , decltype(_impl_.rpt_speedhack_){0u} - , decltype(_impl_.rpt_teamharm_){0u} - , decltype(_impl_.rpt_textabuse_){0u} - , decltype(_impl_.match_id_){uint64_t{0u}} - , decltype(_impl_.rpt_voiceabuse_){0u} - , decltype(_impl_.report_from_demo_){false} - }; -} - -CMsgGCCStrike15_v2_ClientReportPlayer::~CMsgGCCStrike15_v2_ClientReportPlayer() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientReportPlayer) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientReportPlayer::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_ClientReportPlayer::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientReportPlayer::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientReportPlayer) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.rpt_voiceabuse_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.rpt_voiceabuse_)); - } - _impl_.report_from_demo_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientReportPlayer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rpt_aimbot = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_rpt_aimbot(&has_bits); - _impl_.rpt_aimbot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rpt_wallhack = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_rpt_wallhack(&has_bits); - _impl_.rpt_wallhack_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rpt_speedhack = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_rpt_speedhack(&has_bits); - _impl_.rpt_speedhack_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rpt_teamharm = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_rpt_teamharm(&has_bits); - _impl_.rpt_teamharm_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rpt_textabuse = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_rpt_textabuse(&has_bits); - _impl_.rpt_textabuse_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rpt_voiceabuse = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_rpt_voiceabuse(&has_bits); - _impl_.rpt_voiceabuse_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 match_id = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_match_id(&has_bits); - _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool report_from_demo = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_report_from_demo(&has_bits); - _impl_.report_from_demo_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientReportPlayer::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientReportPlayer) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional uint32 rpt_aimbot = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_rpt_aimbot(), target); - } - - // optional uint32 rpt_wallhack = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_rpt_wallhack(), target); - } - - // optional uint32 rpt_speedhack = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_rpt_speedhack(), target); - } - - // optional uint32 rpt_teamharm = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_rpt_teamharm(), target); - } - - // optional uint32 rpt_textabuse = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_rpt_textabuse(), target); - } - - // optional uint32 rpt_voiceabuse = 7; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_rpt_voiceabuse(), target); - } - - // optional uint64 match_id = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_match_id(), target); - } - - // optional bool report_from_demo = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_report_from_demo(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientReportPlayer) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientReportPlayer::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientReportPlayer) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 rpt_aimbot = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_aimbot()); - } - - // optional uint32 rpt_wallhack = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_wallhack()); - } - - // optional uint32 rpt_speedhack = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_speedhack()); - } - - // optional uint32 rpt_teamharm = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_teamharm()); - } - - // optional uint32 rpt_textabuse = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_textabuse()); - } - - // optional uint64 match_id = 8; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); - } - - // optional uint32 rpt_voiceabuse = 7; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_voiceabuse()); - } - - } - // optional bool report_from_demo = 9; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientReportPlayer::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientReportPlayer::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientReportPlayer::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientReportPlayer::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientReportPlayer) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.rpt_aimbot_ = from._impl_.rpt_aimbot_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.rpt_wallhack_ = from._impl_.rpt_wallhack_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.rpt_speedhack_ = from._impl_.rpt_speedhack_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.rpt_teamharm_ = from._impl_.rpt_teamharm_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.rpt_textabuse_ = from._impl_.rpt_textabuse_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.match_id_ = from._impl_.match_id_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.rpt_voiceabuse_ = from._impl_.rpt_voiceabuse_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_report_from_demo(from._internal_report_from_demo()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientReportPlayer::CopyFrom(const CMsgGCCStrike15_v2_ClientReportPlayer& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientReportPlayer) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientReportPlayer::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientReportPlayer::InternalSwap(CMsgGCCStrike15_v2_ClientReportPlayer* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.report_from_demo_) - + sizeof(CMsgGCCStrike15_v2_ClientReportPlayer::_impl_.report_from_demo_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientReportPlayer, _impl_.account_id_)>( - reinterpret_cast(&_impl_.account_id_), - reinterpret_cast(&other->_impl_.account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientReportPlayer::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[54]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientCommendPlayer::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_match_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::PlayerCommendationInfo& commendation(const CMsgGCCStrike15_v2_ClientCommendPlayer* msg); - static void set_has_commendation(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_tokens(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::PlayerCommendationInfo& -CMsgGCCStrike15_v2_ClientCommendPlayer::_Internal::commendation(const CMsgGCCStrike15_v2_ClientCommendPlayer* msg) { - return *msg->_impl_.commendation_; -} -CMsgGCCStrike15_v2_ClientCommendPlayer::CMsgGCCStrike15_v2_ClientCommendPlayer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientCommendPlayer) -} -CMsgGCCStrike15_v2_ClientCommendPlayer::CMsgGCCStrike15_v2_ClientCommendPlayer(const CMsgGCCStrike15_v2_ClientCommendPlayer& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientCommendPlayer* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.commendation_){nullptr} - , decltype(_impl_.account_id_){} - , decltype(_impl_.tokens_){} - , decltype(_impl_.match_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_commendation()) { - _this->_impl_.commendation_ = new ::PlayerCommendationInfo(*from._impl_.commendation_); - } - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.match_id_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.match_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientCommendPlayer) -} - -inline void CMsgGCCStrike15_v2_ClientCommendPlayer::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.commendation_){nullptr} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.tokens_){0u} - , decltype(_impl_.match_id_){uint64_t{0u}} - }; -} - -CMsgGCCStrike15_v2_ClientCommendPlayer::~CMsgGCCStrike15_v2_ClientCommendPlayer() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientCommendPlayer) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientCommendPlayer::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.commendation_; -} - -void CMsgGCCStrike15_v2_ClientCommendPlayer::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientCommendPlayer::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientCommendPlayer) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.commendation_ != nullptr); - _impl_.commendation_->Clear(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.match_id_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.match_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientCommendPlayer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 match_id = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_match_id(&has_bits); - _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .PlayerCommendationInfo commendation = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr = ctx->ParseMessage(_internal_mutable_commendation(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tokens = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_tokens(&has_bits); - _impl_.tokens_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientCommendPlayer::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientCommendPlayer) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional uint64 match_id = 8; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_match_id(), target); - } - - // optional .PlayerCommendationInfo commendation = 9; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(9, _Internal::commendation(this), - _Internal::commendation(this).GetCachedSize(), target, stream); - } - - // optional uint32 tokens = 10; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_tokens(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientCommendPlayer) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientCommendPlayer::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientCommendPlayer) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional .PlayerCommendationInfo commendation = 9; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.commendation_); - } - - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 tokens = 10; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tokens()); - } - - // optional uint64 match_id = 8; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientCommendPlayer::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientCommendPlayer::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientCommendPlayer::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientCommendPlayer::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientCommendPlayer) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_commendation()->::PlayerCommendationInfo::MergeFrom( - from._internal_commendation()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.tokens_ = from._impl_.tokens_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.match_id_ = from._impl_.match_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientCommendPlayer::CopyFrom(const CMsgGCCStrike15_v2_ClientCommendPlayer& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientCommendPlayer) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientCommendPlayer::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientCommendPlayer::InternalSwap(CMsgGCCStrike15_v2_ClientCommendPlayer* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientCommendPlayer, _impl_.match_id_) - + sizeof(CMsgGCCStrike15_v2_ClientCommendPlayer::_impl_.match_id_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientCommendPlayer, _impl_.commendation_)>( - reinterpret_cast(&_impl_.commendation_), - reinterpret_cast(&other->_impl_.commendation_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientCommendPlayer::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[55]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientReportServer::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_rpt_poorperf(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_rpt_abusivemodels(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_rpt_badmotd(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_rpt_listingabuse(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_rpt_inventoryabuse(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_match_id(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CMsgGCCStrike15_v2_ClientReportServer::CMsgGCCStrike15_v2_ClientReportServer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientReportServer) -} -CMsgGCCStrike15_v2_ClientReportServer::CMsgGCCStrike15_v2_ClientReportServer(const CMsgGCCStrike15_v2_ClientReportServer& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientReportServer* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.rpt_poorperf_){} - , decltype(_impl_.rpt_abusivemodels_){} - , decltype(_impl_.rpt_badmotd_){} - , decltype(_impl_.rpt_listingabuse_){} - , decltype(_impl_.match_id_){} - , decltype(_impl_.rpt_inventoryabuse_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.rpt_poorperf_, &from._impl_.rpt_poorperf_, - static_cast(reinterpret_cast(&_impl_.rpt_inventoryabuse_) - - reinterpret_cast(&_impl_.rpt_poorperf_)) + sizeof(_impl_.rpt_inventoryabuse_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientReportServer) -} - -inline void CMsgGCCStrike15_v2_ClientReportServer::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.rpt_poorperf_){0u} - , decltype(_impl_.rpt_abusivemodels_){0u} - , decltype(_impl_.rpt_badmotd_){0u} - , decltype(_impl_.rpt_listingabuse_){0u} - , decltype(_impl_.match_id_){uint64_t{0u}} - , decltype(_impl_.rpt_inventoryabuse_){0u} - }; -} - -CMsgGCCStrike15_v2_ClientReportServer::~CMsgGCCStrike15_v2_ClientReportServer() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientReportServer) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientReportServer::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_ClientReportServer::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientReportServer::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientReportServer) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - ::memset(&_impl_.rpt_poorperf_, 0, static_cast( - reinterpret_cast(&_impl_.rpt_inventoryabuse_) - - reinterpret_cast(&_impl_.rpt_poorperf_)) + sizeof(_impl_.rpt_inventoryabuse_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientReportServer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 rpt_poorperf = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_rpt_poorperf(&has_bits); - _impl_.rpt_poorperf_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rpt_abusivemodels = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_rpt_abusivemodels(&has_bits); - _impl_.rpt_abusivemodels_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rpt_badmotd = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_rpt_badmotd(&has_bits); - _impl_.rpt_badmotd_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rpt_listingabuse = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_rpt_listingabuse(&has_bits); - _impl_.rpt_listingabuse_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rpt_inventoryabuse = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_rpt_inventoryabuse(&has_bits); - _impl_.rpt_inventoryabuse_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 match_id = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_match_id(&has_bits); - _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientReportServer::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientReportServer) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 rpt_poorperf = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_rpt_poorperf(), target); - } - - // optional uint32 rpt_abusivemodels = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_rpt_abusivemodels(), target); - } - - // optional uint32 rpt_badmotd = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_rpt_badmotd(), target); - } - - // optional uint32 rpt_listingabuse = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_rpt_listingabuse(), target); - } - - // optional uint32 rpt_inventoryabuse = 5; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_rpt_inventoryabuse(), target); - } - - // optional uint64 match_id = 8; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_match_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientReportServer) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientReportServer::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientReportServer) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional uint32 rpt_poorperf = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_poorperf()); - } - - // optional uint32 rpt_abusivemodels = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_abusivemodels()); - } - - // optional uint32 rpt_badmotd = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_badmotd()); - } - - // optional uint32 rpt_listingabuse = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_listingabuse()); - } - - // optional uint64 match_id = 8; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); - } - - // optional uint32 rpt_inventoryabuse = 5; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_inventoryabuse()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientReportServer::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientReportServer::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientReportServer::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientReportServer::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientReportServer) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.rpt_poorperf_ = from._impl_.rpt_poorperf_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.rpt_abusivemodels_ = from._impl_.rpt_abusivemodels_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.rpt_badmotd_ = from._impl_.rpt_badmotd_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.rpt_listingabuse_ = from._impl_.rpt_listingabuse_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.match_id_ = from._impl_.match_id_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.rpt_inventoryabuse_ = from._impl_.rpt_inventoryabuse_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientReportServer::CopyFrom(const CMsgGCCStrike15_v2_ClientReportServer& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientReportServer) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientReportServer::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientReportServer::InternalSwap(CMsgGCCStrike15_v2_ClientReportServer* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientReportServer, _impl_.rpt_inventoryabuse_) - + sizeof(CMsgGCCStrike15_v2_ClientReportServer::_impl_.rpt_inventoryabuse_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientReportServer, _impl_.rpt_poorperf_)>( - reinterpret_cast(&_impl_.rpt_poorperf_), - reinterpret_cast(&other->_impl_.rpt_poorperf_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientReportServer::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[56]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientReportResponse::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_confirmation_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_server_ip(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_response_type(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_response_result(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_tokens(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } -}; - -CMsgGCCStrike15_v2_ClientReportResponse::CMsgGCCStrike15_v2_ClientReportResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientReportResponse) -} -CMsgGCCStrike15_v2_ClientReportResponse::CMsgGCCStrike15_v2_ClientReportResponse(const CMsgGCCStrike15_v2_ClientReportResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientReportResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.confirmation_id_){} - , decltype(_impl_.account_id_){} - , decltype(_impl_.server_ip_){} - , decltype(_impl_.response_type_){} - , decltype(_impl_.response_result_){} - , decltype(_impl_.tokens_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.confirmation_id_, &from._impl_.confirmation_id_, - static_cast(reinterpret_cast(&_impl_.tokens_) - - reinterpret_cast(&_impl_.confirmation_id_)) + sizeof(_impl_.tokens_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientReportResponse) -} - -inline void CMsgGCCStrike15_v2_ClientReportResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.confirmation_id_){uint64_t{0u}} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.server_ip_){0u} - , decltype(_impl_.response_type_){0u} - , decltype(_impl_.response_result_){0u} - , decltype(_impl_.tokens_){0u} - }; -} - -CMsgGCCStrike15_v2_ClientReportResponse::~CMsgGCCStrike15_v2_ClientReportResponse() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientReportResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientReportResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_ClientReportResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientReportResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientReportResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - ::memset(&_impl_.confirmation_id_, 0, static_cast( - reinterpret_cast(&_impl_.tokens_) - - reinterpret_cast(&_impl_.confirmation_id_)) + sizeof(_impl_.tokens_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientReportResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 confirmation_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_confirmation_id(&has_bits); - _impl_.confirmation_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 account_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 server_ip = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_server_ip(&has_bits); - _impl_.server_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 response_type = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_response_type(&has_bits); - _impl_.response_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 response_result = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_response_result(&has_bits); - _impl_.response_result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tokens = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_tokens(&has_bits); - _impl_.tokens_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientReportResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientReportResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 confirmation_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_confirmation_id(), target); - } - - // optional uint32 account_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_account_id(), target); - } - - // optional uint32 server_ip = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_server_ip(), target); - } - - // optional uint32 response_type = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_response_type(), target); - } - - // optional uint32 response_result = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_response_result(), target); - } - - // optional uint32 tokens = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_tokens(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientReportResponse) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientReportResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientReportResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional uint64 confirmation_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_confirmation_id()); - } - - // optional uint32 account_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 server_ip = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_ip()); - } - - // optional uint32 response_type = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_response_type()); - } - - // optional uint32 response_result = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_response_result()); - } - - // optional uint32 tokens = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tokens()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientReportResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientReportResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientReportResponse::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientReportResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientReportResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.confirmation_id_ = from._impl_.confirmation_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.server_ip_ = from._impl_.server_ip_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.response_type_ = from._impl_.response_type_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.response_result_ = from._impl_.response_result_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.tokens_ = from._impl_.tokens_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientReportResponse::CopyFrom(const CMsgGCCStrike15_v2_ClientReportResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientReportResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientReportResponse::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientReportResponse::InternalSwap(CMsgGCCStrike15_v2_ClientReportResponse* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientReportResponse, _impl_.tokens_) - + sizeof(CMsgGCCStrike15_v2_ClientReportResponse::_impl_.tokens_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientReportResponse, _impl_.confirmation_id_)>( - reinterpret_cast(&_impl_.confirmation_id_), - reinterpret_cast(&other->_impl_.confirmation_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientReportResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[57]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_request_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_serverid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_matchid(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_client_launcher(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) -} -CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends(const CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_ids_){from._impl_.account_ids_} - , decltype(_impl_.data_center_pings_){from._impl_.data_center_pings_} - , decltype(_impl_.serverid_){} - , decltype(_impl_.request_id_){} - , decltype(_impl_.client_launcher_){} - , decltype(_impl_.matchid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.serverid_, &from._impl_.serverid_, - static_cast(reinterpret_cast(&_impl_.matchid_) - - reinterpret_cast(&_impl_.serverid_)) + sizeof(_impl_.matchid_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) -} - -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_ids_){arena} - , decltype(_impl_.data_center_pings_){arena} - , decltype(_impl_.serverid_){uint64_t{0u}} - , decltype(_impl_.request_id_){0u} - , decltype(_impl_.client_launcher_){0u} - , decltype(_impl_.matchid_){uint64_t{0u}} - }; -} - -CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::~CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.account_ids_.~RepeatedField(); - _impl_.data_center_pings_.~RepeatedPtrField(); -} - -void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.account_ids_.Clear(); - _impl_.data_center_pings_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.serverid_, 0, static_cast( - reinterpret_cast(&_impl_.matchid_) - - reinterpret_cast(&_impl_.serverid_)) + sizeof(_impl_.matchid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 request_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_request_id(&has_bits); - _impl_.request_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 account_ids = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_account_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); - } else if (static_cast(tag) == 18) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_account_ids(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 serverid = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_serverid(&has_bits); - _impl_.serverid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 matchid = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_matchid(&has_bits); - _impl_.matchid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 client_launcher = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_client_launcher(&has_bits); - _impl_.client_launcher_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .DataCenterPing data_center_pings = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_data_center_pings(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 request_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_request_id(), target); - } - - // repeated uint32 account_ids = 2; - for (int i = 0, n = this->_internal_account_ids_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_account_ids(i), target); - } - - // optional uint64 serverid = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_serverid(), target); - } - - // optional uint64 matchid = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_matchid(), target); - } - - // optional uint32 client_launcher = 5; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_client_launcher(), target); - } - - // repeated .DataCenterPing data_center_pings = 6; - for (unsigned i = 0, - n = static_cast(this->_internal_data_center_pings_size()); i < n; i++) { - const auto& repfield = this->_internal_data_center_pings(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 account_ids = 2; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.account_ids_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_account_ids_size()); - total_size += data_size; - } - - // repeated .DataCenterPing data_center_pings = 6; - total_size += 1UL * this->_internal_data_center_pings_size(); - for (const auto& msg : this->_impl_.data_center_pings_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint64 serverid = 3; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_serverid()); - } - - // optional uint32 request_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_request_id()); - } - - // optional uint32 client_launcher = 5; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_launcher()); - } - - // optional uint64 matchid = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_matchid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.account_ids_.MergeFrom(from._impl_.account_ids_); - _this->_impl_.data_center_pings_.MergeFrom(from._impl_.data_center_pings_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.serverid_ = from._impl_.serverid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.request_id_ = from._impl_.request_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.client_launcher_ = from._impl_.client_launcher_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.matchid_ = from._impl_.matchid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::CopyFrom(const CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::InternalSwap(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.account_ids_.InternalSwap(&other->_impl_.account_ids_); - _impl_.data_center_pings_.InternalSwap(&other->_impl_.data_center_pings_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _impl_.matchid_) - + sizeof(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_impl_.matchid_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends, _impl_.serverid_)>( - reinterpret_cast(&_impl_.serverid_), - reinterpret_cast(&other->_impl_.serverid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[58]); -} - -// =================================================================== - -class WatchableMatchInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_server_ip(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_tv_port(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_tv_spectators(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_tv_time(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_tv_watch_password(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_cl_decryptdata_key(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_cl_decryptdata_key_pub(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_game_type(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_game_mapgroup(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_game_map(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_server_id(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_match_id(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_reservation_id(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } -}; - -WatchableMatchInfo::WatchableMatchInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:WatchableMatchInfo) -} -WatchableMatchInfo::WatchableMatchInfo(const WatchableMatchInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - WatchableMatchInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tv_watch_password_){} - , decltype(_impl_.game_mapgroup_){} - , decltype(_impl_.game_map_){} - , decltype(_impl_.server_ip_){} - , decltype(_impl_.tv_port_){} - , decltype(_impl_.tv_spectators_){} - , decltype(_impl_.tv_time_){} - , decltype(_impl_.cl_decryptdata_key_){} - , decltype(_impl_.cl_decryptdata_key_pub_){} - , decltype(_impl_.server_id_){} - , decltype(_impl_.match_id_){} - , decltype(_impl_.reservation_id_){} - , decltype(_impl_.game_type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.tv_watch_password_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.tv_watch_password_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_tv_watch_password()) { - _this->_impl_.tv_watch_password_.Set(from._internal_tv_watch_password(), - _this->GetArenaForAllocation()); - } - _impl_.game_mapgroup_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_mapgroup_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_game_mapgroup()) { - _this->_impl_.game_mapgroup_.Set(from._internal_game_mapgroup(), - _this->GetArenaForAllocation()); - } - _impl_.game_map_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_map_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_game_map()) { - _this->_impl_.game_map_.Set(from._internal_game_map(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.server_ip_, &from._impl_.server_ip_, - static_cast(reinterpret_cast(&_impl_.game_type_) - - reinterpret_cast(&_impl_.server_ip_)) + sizeof(_impl_.game_type_)); - // @@protoc_insertion_point(copy_constructor:WatchableMatchInfo) -} - -inline void WatchableMatchInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tv_watch_password_){} - , decltype(_impl_.game_mapgroup_){} - , decltype(_impl_.game_map_){} - , decltype(_impl_.server_ip_){0u} - , decltype(_impl_.tv_port_){0u} - , decltype(_impl_.tv_spectators_){0u} - , decltype(_impl_.tv_time_){0u} - , decltype(_impl_.cl_decryptdata_key_){uint64_t{0u}} - , decltype(_impl_.cl_decryptdata_key_pub_){uint64_t{0u}} - , decltype(_impl_.server_id_){uint64_t{0u}} - , decltype(_impl_.match_id_){uint64_t{0u}} - , decltype(_impl_.reservation_id_){uint64_t{0u}} - , decltype(_impl_.game_type_){0u} - }; - _impl_.tv_watch_password_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.tv_watch_password_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_mapgroup_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_mapgroup_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_map_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_map_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -WatchableMatchInfo::~WatchableMatchInfo() { - // @@protoc_insertion_point(destructor:WatchableMatchInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void WatchableMatchInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.tv_watch_password_.Destroy(); - _impl_.game_mapgroup_.Destroy(); - _impl_.game_map_.Destroy(); -} - -void WatchableMatchInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void WatchableMatchInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:WatchableMatchInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.tv_watch_password_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.game_mapgroup_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.game_map_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000f8u) { - ::memset(&_impl_.server_ip_, 0, static_cast( - reinterpret_cast(&_impl_.cl_decryptdata_key_) - - reinterpret_cast(&_impl_.server_ip_)) + sizeof(_impl_.cl_decryptdata_key_)); - } - if (cached_has_bits & 0x00001f00u) { - ::memset(&_impl_.cl_decryptdata_key_pub_, 0, static_cast( - reinterpret_cast(&_impl_.game_type_) - - reinterpret_cast(&_impl_.cl_decryptdata_key_pub_)) + sizeof(_impl_.game_type_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* WatchableMatchInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 server_ip = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_server_ip(&has_bits); - _impl_.server_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tv_port = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_tv_port(&has_bits); - _impl_.tv_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tv_spectators = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_tv_spectators(&has_bits); - _impl_.tv_spectators_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tv_time = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_tv_time(&has_bits); - _impl_.tv_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes tv_watch_password = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_tv_watch_password(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 cl_decryptdata_key = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_cl_decryptdata_key(&has_bits); - _impl_.cl_decryptdata_key_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 cl_decryptdata_key_pub = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_cl_decryptdata_key_pub(&has_bits); - _impl_.cl_decryptdata_key_pub_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 game_type = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_game_type(&has_bits); - _impl_.game_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string game_mapgroup = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_game_mapgroup(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "WatchableMatchInfo.game_mapgroup"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string game_map = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_game_map(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "WatchableMatchInfo.game_map"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint64 server_id = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_server_id(&has_bits); - _impl_.server_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 match_id = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_match_id(&has_bits); - _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 reservation_id = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_reservation_id(&has_bits); - _impl_.reservation_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* WatchableMatchInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:WatchableMatchInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 server_ip = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_server_ip(), target); - } - - // optional uint32 tv_port = 2; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_tv_port(), target); - } - - // optional uint32 tv_spectators = 3; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_tv_spectators(), target); - } - - // optional uint32 tv_time = 4; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_tv_time(), target); - } - - // optional bytes tv_watch_password = 5; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 5, this->_internal_tv_watch_password(), target); - } - - // optional uint64 cl_decryptdata_key = 6; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_cl_decryptdata_key(), target); - } - - // optional uint64 cl_decryptdata_key_pub = 7; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_cl_decryptdata_key_pub(), target); - } - - // optional uint32 game_type = 8; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_game_type(), target); - } - - // optional string game_mapgroup = 9; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_game_mapgroup().data(), static_cast(this->_internal_game_mapgroup().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "WatchableMatchInfo.game_mapgroup"); - target = stream->WriteStringMaybeAliased( - 9, this->_internal_game_mapgroup(), target); - } - - // optional string game_map = 10; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_game_map().data(), static_cast(this->_internal_game_map().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "WatchableMatchInfo.game_map"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_game_map(), target); - } - - // optional uint64 server_id = 11; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(11, this->_internal_server_id(), target); - } - - // optional uint64 match_id = 12; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(12, this->_internal_match_id(), target); - } - - // optional uint64 reservation_id = 13; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(13, this->_internal_reservation_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:WatchableMatchInfo) - return target; -} - -size_t WatchableMatchInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:WatchableMatchInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bytes tv_watch_password = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_tv_watch_password()); - } - - // optional string game_mapgroup = 9; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_game_mapgroup()); - } - - // optional string game_map = 10; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_game_map()); - } - - // optional uint32 server_ip = 1; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_ip()); - } - - // optional uint32 tv_port = 2; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_port()); - } - - // optional uint32 tv_spectators = 3; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_spectators()); - } - - // optional uint32 tv_time = 4; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tv_time()); - } - - // optional uint64 cl_decryptdata_key = 6; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_cl_decryptdata_key()); - } - - } - if (cached_has_bits & 0x00001f00u) { - // optional uint64 cl_decryptdata_key_pub = 7; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_cl_decryptdata_key_pub()); - } - - // optional uint64 server_id = 11; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_server_id()); - } - - // optional uint64 match_id = 12; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); - } - - // optional uint64 reservation_id = 13; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_reservation_id()); - } - - // optional uint32 game_type = 8; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_game_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData WatchableMatchInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - WatchableMatchInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*WatchableMatchInfo::GetClassData() const { return &_class_data_; } - - -void WatchableMatchInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:WatchableMatchInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_tv_watch_password(from._internal_tv_watch_password()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_game_mapgroup(from._internal_game_mapgroup()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_game_map(from._internal_game_map()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.server_ip_ = from._impl_.server_ip_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.tv_port_ = from._impl_.tv_port_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.tv_spectators_ = from._impl_.tv_spectators_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.tv_time_ = from._impl_.tv_time_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.cl_decryptdata_key_ = from._impl_.cl_decryptdata_key_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00001f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.cl_decryptdata_key_pub_ = from._impl_.cl_decryptdata_key_pub_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.server_id_ = from._impl_.server_id_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.match_id_ = from._impl_.match_id_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.reservation_id_ = from._impl_.reservation_id_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.game_type_ = from._impl_.game_type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void WatchableMatchInfo::CopyFrom(const WatchableMatchInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:WatchableMatchInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool WatchableMatchInfo::IsInitialized() const { - return true; -} - -void WatchableMatchInfo::InternalSwap(WatchableMatchInfo* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.tv_watch_password_, lhs_arena, - &other->_impl_.tv_watch_password_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.game_mapgroup_, lhs_arena, - &other->_impl_.game_mapgroup_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.game_map_, lhs_arena, - &other->_impl_.game_map_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(WatchableMatchInfo, _impl_.game_type_) - + sizeof(WatchableMatchInfo::_impl_.game_type_) - - PROTOBUF_FIELD_OFFSET(WatchableMatchInfo, _impl_.server_ip_)>( - reinterpret_cast(&_impl_.server_ip_), - reinterpret_cast(&other->_impl_.server_ip_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata WatchableMatchInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[59]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_version(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_join_token(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_join_ipp(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& res(const CMsgGCCStrike15_v2_ClientRequestJoinFriendData* msg); - static void set_has_res(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_errormsg(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& -CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_Internal::res(const CMsgGCCStrike15_v2_ClientRequestJoinFriendData* msg) { - return *msg->_impl_.res_; -} -CMsgGCCStrike15_v2_ClientRequestJoinFriendData::CMsgGCCStrike15_v2_ClientRequestJoinFriendData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) -} -CMsgGCCStrike15_v2_ClientRequestJoinFriendData::CMsgGCCStrike15_v2_ClientRequestJoinFriendData(const CMsgGCCStrike15_v2_ClientRequestJoinFriendData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientRequestJoinFriendData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.errormsg_){} - , decltype(_impl_.res_){nullptr} - , decltype(_impl_.version_){} - , decltype(_impl_.account_id_){} - , decltype(_impl_.join_token_){} - , decltype(_impl_.join_ipp_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.errormsg_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.errormsg_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_errormsg()) { - _this->_impl_.errormsg_.Set(from._internal_errormsg(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_res()) { - _this->_impl_.res_ = new ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(*from._impl_.res_); - } - ::memcpy(&_impl_.version_, &from._impl_.version_, - static_cast(reinterpret_cast(&_impl_.join_ipp_) - - reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.join_ipp_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) -} - -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.errormsg_){} - , decltype(_impl_.res_){nullptr} - , decltype(_impl_.version_){0u} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.join_token_){0u} - , decltype(_impl_.join_ipp_){0u} - }; - _impl_.errormsg_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.errormsg_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_ClientRequestJoinFriendData::~CMsgGCCStrike15_v2_ClientRequestJoinFriendData() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.errormsg_.Destroy(); - if (this != internal_default_instance()) delete _impl_.res_; -} - -void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.errormsg_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.res_ != nullptr); - _impl_.res_->Clear(); - } - } - if (cached_has_bits & 0x0000003cu) { - ::memset(&_impl_.version_, 0, static_cast( - reinterpret_cast(&_impl_.join_ipp_) - - reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.join_ipp_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 version = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_version(&has_bits); - _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 account_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 join_token = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_join_token(&has_bits); - _impl_.join_token_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 join_ipp = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_join_ipp(&has_bits); - _impl_.join_ipp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_res(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string errormsg = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_errormsg(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientRequestJoinFriendData.errormsg"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 version = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_version(), target); - } - - // optional uint32 account_id = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_account_id(), target); - } - - // optional uint32 join_token = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_join_token(), target); - } - - // optional uint32 join_ipp = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_join_ipp(), target); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 5; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::res(this), - _Internal::res(this).GetCachedSize(), target, stream); - } - - // optional string errormsg = 6; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_errormsg().data(), static_cast(this->_internal_errormsg().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_ClientRequestJoinFriendData.errormsg"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_errormsg(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientRequestJoinFriendData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional string errormsg = 6; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_errormsg()); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 5; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.res_); - } - - // optional uint32 version = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_version()); - } - - // optional uint32 account_id = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 join_token = 3; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_join_token()); - } - - // optional uint32 join_ipp = 4; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_join_ipp()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientRequestJoinFriendData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientRequestJoinFriendData::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_errormsg(from._internal_errormsg()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_res()->::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::MergeFrom( - from._internal_res()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.version_ = from._impl_.version_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.join_token_ = from._impl_.join_token_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.join_ipp_ = from._impl_.join_ipp_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::CopyFrom(const CMsgGCCStrike15_v2_ClientRequestJoinFriendData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::InternalSwap(CMsgGCCStrike15_v2_ClientRequestJoinFriendData* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.errormsg_, lhs_arena, - &other->_impl_.errormsg_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _impl_.join_ipp_) - + sizeof(CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_impl_.join_ipp_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestJoinFriendData, _impl_.res_)>( - reinterpret_cast(&_impl_.res_), - reinterpret_cast(&other->_impl_.res_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientRequestJoinFriendData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[60]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientRequestJoinServerData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_version(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_serverid(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_server_ip(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_server_port(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& res(const CMsgGCCStrike15_v2_ClientRequestJoinServerData* msg); - static void set_has_res(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_errormsg(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& -CMsgGCCStrike15_v2_ClientRequestJoinServerData::_Internal::res(const CMsgGCCStrike15_v2_ClientRequestJoinServerData* msg) { - return *msg->_impl_.res_; -} -CMsgGCCStrike15_v2_ClientRequestJoinServerData::CMsgGCCStrike15_v2_ClientRequestJoinServerData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientRequestJoinServerData) -} -CMsgGCCStrike15_v2_ClientRequestJoinServerData::CMsgGCCStrike15_v2_ClientRequestJoinServerData(const CMsgGCCStrike15_v2_ClientRequestJoinServerData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientRequestJoinServerData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.errormsg_){} - , decltype(_impl_.res_){nullptr} - , decltype(_impl_.version_){} - , decltype(_impl_.account_id_){} - , decltype(_impl_.serverid_){} - , decltype(_impl_.server_ip_){} - , decltype(_impl_.server_port_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.errormsg_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.errormsg_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_errormsg()) { - _this->_impl_.errormsg_.Set(from._internal_errormsg(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_res()) { - _this->_impl_.res_ = new ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(*from._impl_.res_); - } - ::memcpy(&_impl_.version_, &from._impl_.version_, - static_cast(reinterpret_cast(&_impl_.server_port_) - - reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.server_port_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientRequestJoinServerData) -} - -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.errormsg_){} - , decltype(_impl_.res_){nullptr} - , decltype(_impl_.version_){0u} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.serverid_){uint64_t{0u}} - , decltype(_impl_.server_ip_){0u} - , decltype(_impl_.server_port_){0u} - }; - _impl_.errormsg_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.errormsg_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_ClientRequestJoinServerData::~CMsgGCCStrike15_v2_ClientRequestJoinServerData() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientRequestJoinServerData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.errormsg_.Destroy(); - if (this != internal_default_instance()) delete _impl_.res_; -} - -void CMsgGCCStrike15_v2_ClientRequestJoinServerData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientRequestJoinServerData::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientRequestJoinServerData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.errormsg_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.res_ != nullptr); - _impl_.res_->Clear(); - } - } - if (cached_has_bits & 0x0000007cu) { - ::memset(&_impl_.version_, 0, static_cast( - reinterpret_cast(&_impl_.server_port_) - - reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.server_port_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientRequestJoinServerData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 version = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_version(&has_bits); - _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 account_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 serverid = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_serverid(&has_bits); - _impl_.serverid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 server_ip = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_server_ip(&has_bits); - _impl_.server_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 server_port = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_server_port(&has_bits); - _impl_.server_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_res(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string errormsg = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_errormsg(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientRequestJoinServerData.errormsg"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientRequestJoinServerData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientRequestJoinServerData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 version = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_version(), target); - } - - // optional uint32 account_id = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_account_id(), target); - } - - // optional uint64 serverid = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_serverid(), target); - } - - // optional uint32 server_ip = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_server_ip(), target); - } - - // optional uint32 server_port = 5; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_server_port(), target); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 6; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::res(this), - _Internal::res(this).GetCachedSize(), target, stream); - } - - // optional string errormsg = 7; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_errormsg().data(), static_cast(this->_internal_errormsg().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_ClientRequestJoinServerData.errormsg"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_errormsg(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientRequestJoinServerData) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientRequestJoinServerData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional string errormsg = 7; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_errormsg()); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 6; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.res_); - } - - // optional uint32 version = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_version()); - } - - // optional uint32 account_id = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint64 serverid = 3; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_serverid()); - } - - // optional uint32 server_ip = 4; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_ip()); - } - - // optional uint32 server_port = 5; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_port()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientRequestJoinServerData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientRequestJoinServerData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientRequestJoinServerData::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientRequestJoinServerData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientRequestJoinServerData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_errormsg(from._internal_errormsg()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_res()->::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::MergeFrom( - from._internal_res()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.version_ = from._impl_.version_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.serverid_ = from._impl_.serverid_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.server_ip_ = from._impl_.server_ip_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.server_port_ = from._impl_.server_port_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientRequestJoinServerData::CopyFrom(const CMsgGCCStrike15_v2_ClientRequestJoinServerData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientRequestJoinServerData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientRequestJoinServerData::InternalSwap(CMsgGCCStrike15_v2_ClientRequestJoinServerData* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.errormsg_, lhs_arena, - &other->_impl_.errormsg_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_.server_port_) - + sizeof(CMsgGCCStrike15_v2_ClientRequestJoinServerData::_impl_.server_port_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestJoinServerData, _impl_.res_)>( - reinterpret_cast(&_impl_.res_), - reinterpret_cast(&other->_impl_.res_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientRequestJoinServerData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[61]); -} - -// =================================================================== - -class CMsgGCCstrike15_v2_ClientRedeemMissionReward::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_campaign_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_redeem_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_redeemable_balance(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_expected_cost(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_bid_control(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CMsgGCCstrike15_v2_ClientRedeemMissionReward::CMsgGCCstrike15_v2_ClientRedeemMissionReward(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCstrike15_v2_ClientRedeemMissionReward) -} -CMsgGCCstrike15_v2_ClientRedeemMissionReward::CMsgGCCstrike15_v2_ClientRedeemMissionReward(const CMsgGCCstrike15_v2_ClientRedeemMissionReward& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCstrike15_v2_ClientRedeemMissionReward* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.campaign_id_){} - , decltype(_impl_.redeem_id_){} - , decltype(_impl_.redeemable_balance_){} - , decltype(_impl_.expected_cost_){} - , decltype(_impl_.bid_control_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.campaign_id_, &from._impl_.campaign_id_, - static_cast(reinterpret_cast(&_impl_.bid_control_) - - reinterpret_cast(&_impl_.campaign_id_)) + sizeof(_impl_.bid_control_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCstrike15_v2_ClientRedeemMissionReward) -} - -inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.campaign_id_){0u} - , decltype(_impl_.redeem_id_){0u} - , decltype(_impl_.redeemable_balance_){0u} - , decltype(_impl_.expected_cost_){0u} - , decltype(_impl_.bid_control_){0} - }; -} - -CMsgGCCstrike15_v2_ClientRedeemMissionReward::~CMsgGCCstrike15_v2_ClientRedeemMissionReward() { - // @@protoc_insertion_point(destructor:CMsgGCCstrike15_v2_ClientRedeemMissionReward) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCstrike15_v2_ClientRedeemMissionReward::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCstrike15_v2_ClientRedeemMissionReward::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCstrike15_v2_ClientRedeemMissionReward) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.campaign_id_, 0, static_cast( - reinterpret_cast(&_impl_.bid_control_) - - reinterpret_cast(&_impl_.campaign_id_)) + sizeof(_impl_.bid_control_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCstrike15_v2_ClientRedeemMissionReward::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 campaign_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_campaign_id(&has_bits); - _impl_.campaign_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 redeem_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_redeem_id(&has_bits); - _impl_.redeem_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 redeemable_balance = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_redeemable_balance(&has_bits); - _impl_.redeemable_balance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 expected_cost = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_expected_cost(&has_bits); - _impl_.expected_cost_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 bid_control = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_bid_control(&has_bits); - _impl_.bid_control_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCstrike15_v2_ClientRedeemMissionReward::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCstrike15_v2_ClientRedeemMissionReward) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 campaign_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_campaign_id(), target); - } - - // optional uint32 redeem_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_redeem_id(), target); - } - - // optional uint32 redeemable_balance = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_redeemable_balance(), target); - } - - // optional uint32 expected_cost = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_expected_cost(), target); - } - - // optional int32 bid_control = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_bid_control(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCstrike15_v2_ClientRedeemMissionReward) - return target; -} - -size_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCstrike15_v2_ClientRedeemMissionReward) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional uint32 campaign_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_campaign_id()); - } - - // optional uint32 redeem_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_redeem_id()); - } - - // optional uint32 redeemable_balance = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_redeemable_balance()); - } - - // optional uint32 expected_cost = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_expected_cost()); - } - - // optional int32 bid_control = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_bid_control()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCstrike15_v2_ClientRedeemMissionReward::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCstrike15_v2_ClientRedeemMissionReward::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCstrike15_v2_ClientRedeemMissionReward::GetClassData() const { return &_class_data_; } - - -void CMsgGCCstrike15_v2_ClientRedeemMissionReward::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCstrike15_v2_ClientRedeemMissionReward) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.campaign_id_ = from._impl_.campaign_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.redeem_id_ = from._impl_.redeem_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.redeemable_balance_ = from._impl_.redeemable_balance_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.expected_cost_ = from._impl_.expected_cost_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.bid_control_ = from._impl_.bid_control_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCstrike15_v2_ClientRedeemMissionReward::CopyFrom(const CMsgGCCstrike15_v2_ClientRedeemMissionReward& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCstrike15_v2_ClientRedeemMissionReward) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::IsInitialized() const { - return true; -} - -void CMsgGCCstrike15_v2_ClientRedeemMissionReward::InternalSwap(CMsgGCCstrike15_v2_ClientRedeemMissionReward* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCstrike15_v2_ClientRedeemMissionReward, _impl_.bid_control_) - + sizeof(CMsgGCCstrike15_v2_ClientRedeemMissionReward::_impl_.bid_control_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCstrike15_v2_ClientRedeemMissionReward, _impl_.campaign_id_)>( - reinterpret_cast(&_impl_.campaign_id_), - reinterpret_cast(&other->_impl_.campaign_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCstrike15_v2_ClientRedeemMissionReward::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[62]); -} - -// =================================================================== - -class CMsgGCCstrike15_v2_ClientRedeemFreeReward::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_generation_time(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_redeemable_balance(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCstrike15_v2_ClientRedeemFreeReward::CMsgGCCstrike15_v2_ClientRedeemFreeReward(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCstrike15_v2_ClientRedeemFreeReward) -} -CMsgGCCstrike15_v2_ClientRedeemFreeReward::CMsgGCCstrike15_v2_ClientRedeemFreeReward(const CMsgGCCstrike15_v2_ClientRedeemFreeReward& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCstrike15_v2_ClientRedeemFreeReward* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.items_){from._impl_.items_} - , decltype(_impl_.generation_time_){} - , decltype(_impl_.redeemable_balance_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.generation_time_, &from._impl_.generation_time_, - static_cast(reinterpret_cast(&_impl_.redeemable_balance_) - - reinterpret_cast(&_impl_.generation_time_)) + sizeof(_impl_.redeemable_balance_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCstrike15_v2_ClientRedeemFreeReward) -} - -inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.items_){arena} - , decltype(_impl_.generation_time_){0u} - , decltype(_impl_.redeemable_balance_){0u} - }; -} - -CMsgGCCstrike15_v2_ClientRedeemFreeReward::~CMsgGCCstrike15_v2_ClientRedeemFreeReward() { - // @@protoc_insertion_point(destructor:CMsgGCCstrike15_v2_ClientRedeemFreeReward) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.items_.~RepeatedField(); -} - -void CMsgGCCstrike15_v2_ClientRedeemFreeReward::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCstrike15_v2_ClientRedeemFreeReward::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCstrike15_v2_ClientRedeemFreeReward) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.items_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.generation_time_, 0, static_cast( - reinterpret_cast(&_impl_.redeemable_balance_) - - reinterpret_cast(&_impl_.generation_time_)) + sizeof(_impl_.redeemable_balance_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCstrike15_v2_ClientRedeemFreeReward::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 generation_time = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_generation_time(&has_bits); - _impl_.generation_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 redeemable_balance = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_redeemable_balance(&has_bits); - _impl_.redeemable_balance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint64 items = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_items(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<24>(ptr)); - } else if (static_cast(tag) == 26) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_items(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCstrike15_v2_ClientRedeemFreeReward::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCstrike15_v2_ClientRedeemFreeReward) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 generation_time = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_generation_time(), target); - } - - // optional uint32 redeemable_balance = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_redeemable_balance(), target); - } - - // repeated uint64 items = 3; - for (int i = 0, n = this->_internal_items_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_items(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCstrike15_v2_ClientRedeemFreeReward) - return target; -} - -size_t CMsgGCCstrike15_v2_ClientRedeemFreeReward::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCstrike15_v2_ClientRedeemFreeReward) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint64 items = 3; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt64Size(this->_impl_.items_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_items_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 generation_time = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_generation_time()); - } - - // optional uint32 redeemable_balance = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_redeemable_balance()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCstrike15_v2_ClientRedeemFreeReward::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCstrike15_v2_ClientRedeemFreeReward::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCstrike15_v2_ClientRedeemFreeReward::GetClassData() const { return &_class_data_; } - - -void CMsgGCCstrike15_v2_ClientRedeemFreeReward::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCstrike15_v2_ClientRedeemFreeReward) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.items_.MergeFrom(from._impl_.items_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.generation_time_ = from._impl_.generation_time_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.redeemable_balance_ = from._impl_.redeemable_balance_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCstrike15_v2_ClientRedeemFreeReward::CopyFrom(const CMsgGCCstrike15_v2_ClientRedeemFreeReward& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCstrike15_v2_ClientRedeemFreeReward) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCstrike15_v2_ClientRedeemFreeReward::IsInitialized() const { - return true; -} - -void CMsgGCCstrike15_v2_ClientRedeemFreeReward::InternalSwap(CMsgGCCstrike15_v2_ClientRedeemFreeReward* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.items_.InternalSwap(&other->_impl_.items_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCstrike15_v2_ClientRedeemFreeReward, _impl_.redeemable_balance_) - + sizeof(CMsgGCCstrike15_v2_ClientRedeemFreeReward::_impl_.redeemable_balance_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCstrike15_v2_ClientRedeemFreeReward, _impl_.generation_time_)>( - reinterpret_cast(&_impl_.generation_time_), - reinterpret_cast(&other->_impl_.generation_time_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCstrike15_v2_ClientRedeemFreeReward::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[63]); -} - -// =================================================================== - -class CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_current_xp(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_current_level(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_upgraded_defidx(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_operation_points_awarded(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_free_rewards(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_xp_trail_remaining(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_xp_trail_xp_needed(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_xp_trail_level(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } -}; - -CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) -} -CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(const CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.xp_progress_data_){from._impl_.xp_progress_data_} - , decltype(_impl_.account_id_){} - , decltype(_impl_.current_xp_){} - , decltype(_impl_.current_level_){} - , decltype(_impl_.upgraded_defidx_){} - , decltype(_impl_.operation_points_awarded_){} - , decltype(_impl_.free_rewards_){} - , decltype(_impl_.xp_trail_remaining_){} - , decltype(_impl_.xp_trail_xp_needed_){} - , decltype(_impl_.xp_trail_level_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.xp_trail_level_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.xp_trail_level_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) -} - -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.xp_progress_data_){arena} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.current_xp_){0u} - , decltype(_impl_.current_level_){0u} - , decltype(_impl_.upgraded_defidx_){0u} - , decltype(_impl_.operation_points_awarded_){0u} - , decltype(_impl_.free_rewards_){0u} - , decltype(_impl_.xp_trail_remaining_){0u} - , decltype(_impl_.xp_trail_xp_needed_){0} - , decltype(_impl_.xp_trail_level_){0u} - }; -} - -CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::~CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded() { - // @@protoc_insertion_point(destructor:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.xp_progress_data_.~RepeatedPtrField(); -} - -void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.xp_progress_data_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.xp_trail_xp_needed_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.xp_trail_xp_needed_)); - } - _impl_.xp_trail_level_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .XpProgressData xp_progress_data = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_xp_progress_data(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 account_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 current_xp = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_current_xp(&has_bits); - _impl_.current_xp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 current_level = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_current_level(&has_bits); - _impl_.current_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 upgraded_defidx = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_upgraded_defidx(&has_bits); - _impl_.upgraded_defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 operation_points_awarded = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_operation_points_awarded(&has_bits); - _impl_.operation_points_awarded_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 free_rewards = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_free_rewards(&has_bits); - _impl_.free_rewards_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 xp_trail_remaining = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_xp_trail_remaining(&has_bits); - _impl_.xp_trail_remaining_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 xp_trail_xp_needed = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_xp_trail_xp_needed(&has_bits); - _impl_.xp_trail_xp_needed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 xp_trail_level = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_xp_trail_level(&has_bits); - _impl_.xp_trail_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .XpProgressData xp_progress_data = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_xp_progress_data_size()); i < n; i++) { - const auto& repfield = this->_internal_xp_progress_data(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_account_id(), target); - } - - // optional uint32 current_xp = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_current_xp(), target); - } - - // optional uint32 current_level = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_current_level(), target); - } - - // optional uint32 upgraded_defidx = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_upgraded_defidx(), target); - } - - // optional uint32 operation_points_awarded = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_operation_points_awarded(), target); - } - - // optional uint32 free_rewards = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_free_rewards(), target); - } - - // optional uint32 xp_trail_remaining = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_xp_trail_remaining(), target); - } - - // optional int32 xp_trail_xp_needed = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_xp_trail_xp_needed(), target); - } - - // optional uint32 xp_trail_level = 10; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_xp_trail_level(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) - return target; -} - -size_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .XpProgressData xp_progress_data = 1; - total_size += 1UL * this->_internal_xp_progress_data_size(); - for (const auto& msg : this->_impl_.xp_progress_data_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional uint32 account_id = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 current_xp = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_current_xp()); - } - - // optional uint32 current_level = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_current_level()); - } - - // optional uint32 upgraded_defidx = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_upgraded_defidx()); - } - - // optional uint32 operation_points_awarded = 6; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_operation_points_awarded()); - } - - // optional uint32 free_rewards = 7; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_free_rewards()); - } - - // optional uint32 xp_trail_remaining = 8; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_xp_trail_remaining()); - } - - // optional int32 xp_trail_xp_needed = 9; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_xp_trail_xp_needed()); - } - - } - // optional uint32 xp_trail_level = 10; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_xp_trail_level()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::GetClassData() const { return &_class_data_; } - - -void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.xp_progress_data_.MergeFrom(from._impl_.xp_progress_data_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.current_xp_ = from._impl_.current_xp_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.current_level_ = from._impl_.current_level_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.upgraded_defidx_ = from._impl_.upgraded_defidx_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.operation_points_awarded_ = from._impl_.operation_points_awarded_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.free_rewards_ = from._impl_.free_rewards_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.xp_trail_remaining_ = from._impl_.xp_trail_remaining_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.xp_trail_xp_needed_ = from._impl_.xp_trail_xp_needed_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_xp_trail_level(from._internal_xp_trail_level()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::CopyFrom(const CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::IsInitialized() const { - return true; -} - -void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::InternalSwap(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.xp_progress_data_.InternalSwap(&other->_impl_.xp_progress_data_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.xp_trail_level_) - + sizeof(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_impl_.xp_trail_level_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded, _impl_.account_id_)>( - reinterpret_cast(&_impl_.account_id_), - reinterpret_cast(&other->_impl_.account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[64]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientNetworkConfig::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_ClientNetworkConfig::CMsgGCCStrike15_v2_ClientNetworkConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientNetworkConfig) -} -CMsgGCCStrike15_v2_ClientNetworkConfig::CMsgGCCStrike15_v2_ClientNetworkConfig(const CMsgGCCStrike15_v2_ClientNetworkConfig& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientNetworkConfig* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientNetworkConfig) -} - -inline void CMsgGCCStrike15_v2_ClientNetworkConfig::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - }; - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_ClientNetworkConfig::~CMsgGCCStrike15_v2_ClientNetworkConfig() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientNetworkConfig) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientNetworkConfig::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_.Destroy(); -} - -void CMsgGCCStrike15_v2_ClientNetworkConfig::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientNetworkConfig::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientNetworkConfig) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientNetworkConfig::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes data = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientNetworkConfig::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientNetworkConfig) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes data = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientNetworkConfig) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientNetworkConfig::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientNetworkConfig) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bytes data = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientNetworkConfig::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientNetworkConfig::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientNetworkConfig::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientNetworkConfig::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientNetworkConfig) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_data()) { - _this->_internal_set_data(from._internal_data()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientNetworkConfig::CopyFrom(const CMsgGCCStrike15_v2_ClientNetworkConfig& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientNetworkConfig) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientNetworkConfig::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientNetworkConfig::InternalSwap(CMsgGCCStrike15_v2_ClientNetworkConfig* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientNetworkConfig::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[65]); -} - -// =================================================================== - -class CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_begin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_end(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_frozen(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) -} -CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange(const CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.begin_){} - , decltype(_impl_.end_){} - , decltype(_impl_.frozen_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.begin_, &from._impl_.begin_, - static_cast(reinterpret_cast(&_impl_.frozen_) - - reinterpret_cast(&_impl_.begin_)) + sizeof(_impl_.frozen_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) -} - -inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.begin_){0u} - , decltype(_impl_.end_){0u} - , decltype(_impl_.frozen_){false} - }; -} - -CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::~CMsgGCCStrike15_ClientDeepStats_DeepStatsRange() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.begin_, 0, static_cast( - reinterpret_cast(&_impl_.frozen_) - - reinterpret_cast(&_impl_.begin_)) + sizeof(_impl_.frozen_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 begin = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_begin(&has_bits); - _impl_.begin_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 end = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_end(&has_bits); - _impl_.end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool frozen = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_frozen(&has_bits); - _impl_.frozen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 begin = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_begin(), target); - } - - // optional uint32 end = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_end(), target); - } - - // optional bool frozen = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_frozen(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) - return target; -} - -size_t CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 begin = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_begin()); - } - - // optional uint32 end = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_end()); - } - - // optional bool frozen = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.begin_ = from._impl_.begin_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.end_ = from._impl_.end_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.frozen_ = from._impl_.frozen_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::CopyFrom(const CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::InternalSwap(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange, _impl_.frozen_) - + sizeof(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_impl_.frozen_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange, _impl_.begin_)>( - reinterpret_cast(&_impl_.begin_), - reinterpret_cast(&other->_impl_.begin_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[66]); -} - -// =================================================================== - -class CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::DeepPlayerStatsEntry& player(const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* msg); - static void set_has_player(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::DeepPlayerStatsEntry& -CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_Internal::player(const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* msg) { - return *msg->_impl_.player_; -} -CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) -} -CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch(const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.events_){from._impl_.events_} - , decltype(_impl_.player_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_player()) { - _this->_impl_.player_ = new ::DeepPlayerStatsEntry(*from._impl_.player_); - } - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) -} - -inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.events_){arena} - , decltype(_impl_.player_){nullptr} - }; -} - -CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::~CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.events_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.player_; -} - -void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.events_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.player_ != nullptr); - _impl_.player_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .DeepPlayerStatsEntry player = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .DeepPlayerMatchEvent events = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_events(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .DeepPlayerStatsEntry player = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::player(this), - _Internal::player(this).GetCachedSize(), target, stream); - } - - // repeated .DeepPlayerMatchEvent events = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_events_size()); i < n; i++) { - const auto& repfield = this->_internal_events(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) - return target; -} - -size_t CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .DeepPlayerMatchEvent events = 2; - total_size += 1UL * this->_internal_events_size(); - for (const auto& msg : this->_impl_.events_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional .DeepPlayerStatsEntry player = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.player_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.events_.MergeFrom(from._impl_.events_); - if (from._internal_has_player()) { - _this->_internal_mutable_player()->::DeepPlayerStatsEntry::MergeFrom( - from._internal_player()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::CopyFrom(const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::InternalSwap(CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.events_.InternalSwap(&other->_impl_.events_); - swap(_impl_.player_, other->_impl_.player_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[67]); -} - -// =================================================================== - -class CMsgGCCStrike15_ClientDeepStats::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& range(const CMsgGCCStrike15_ClientDeepStats* msg); - static void set_has_range(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& -CMsgGCCStrike15_ClientDeepStats::_Internal::range(const CMsgGCCStrike15_ClientDeepStats* msg) { - return *msg->_impl_.range_; -} -CMsgGCCStrike15_ClientDeepStats::CMsgGCCStrike15_ClientDeepStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_ClientDeepStats) -} -CMsgGCCStrike15_ClientDeepStats::CMsgGCCStrike15_ClientDeepStats(const CMsgGCCStrike15_ClientDeepStats& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_ClientDeepStats* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.matches_){from._impl_.matches_} - , decltype(_impl_.range_){nullptr} - , decltype(_impl_.account_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_range()) { - _this->_impl_.range_ = new ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange(*from._impl_.range_); - } - _this->_impl_.account_id_ = from._impl_.account_id_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_ClientDeepStats) -} - -inline void CMsgGCCStrike15_ClientDeepStats::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.matches_){arena} - , decltype(_impl_.range_){nullptr} - , decltype(_impl_.account_id_){0u} - }; -} - -CMsgGCCStrike15_ClientDeepStats::~CMsgGCCStrike15_ClientDeepStats() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_ClientDeepStats) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_ClientDeepStats::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.matches_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.range_; -} - -void CMsgGCCStrike15_ClientDeepStats::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_ClientDeepStats::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_ClientDeepStats) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.matches_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.range_ != nullptr); - _impl_.range_->Clear(); - } - _impl_.account_id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_ClientDeepStats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgGCCStrike15_ClientDeepStats.DeepStatsRange range = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_range(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch matches = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_matches(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_ClientDeepStats::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_ClientDeepStats) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional .CMsgGCCStrike15_ClientDeepStats.DeepStatsRange range = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::range(this), - _Internal::range(this).GetCachedSize(), target, stream); - } - - // repeated .CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch matches = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_matches_size()); i < n; i++) { - const auto& repfield = this->_internal_matches(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_ClientDeepStats) - return target; -} - -size_t CMsgGCCStrike15_ClientDeepStats::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_ClientDeepStats) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch matches = 3; - total_size += 1UL * this->_internal_matches_size(); - for (const auto& msg : this->_impl_.matches_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgGCCStrike15_ClientDeepStats.DeepStatsRange range = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.range_); - } - - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_ClientDeepStats::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_ClientDeepStats::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_ClientDeepStats::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_ClientDeepStats::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_ClientDeepStats) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.matches_.MergeFrom(from._impl_.matches_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_range()->::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::MergeFrom( - from._internal_range()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_ClientDeepStats::CopyFrom(const CMsgGCCStrike15_ClientDeepStats& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_ClientDeepStats) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_ClientDeepStats::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_ClientDeepStats::InternalSwap(CMsgGCCStrike15_ClientDeepStats* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.matches_.InternalSwap(&other->_impl_.matches_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_ClientDeepStats, _impl_.account_id_) - + sizeof(CMsgGCCStrike15_ClientDeepStats::_impl_.account_id_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_ClientDeepStats, _impl_.range_)>( - reinterpret_cast(&_impl_.range_), - reinterpret_cast(&other->_impl_.range_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_ClientDeepStats::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[68]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_WatchInfoUsers::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_request_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_extended_timeout(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCStrike15_v2_WatchInfoUsers::CMsgGCCStrike15_v2_WatchInfoUsers(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_WatchInfoUsers) -} -CMsgGCCStrike15_v2_WatchInfoUsers::CMsgGCCStrike15_v2_WatchInfoUsers(const CMsgGCCStrike15_v2_WatchInfoUsers& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_WatchInfoUsers* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_ids_){from._impl_.account_ids_} - , decltype(_impl_.watchable_match_infos_){from._impl_.watchable_match_infos_} - , decltype(_impl_.request_id_){} - , decltype(_impl_.extended_timeout_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.request_id_, &from._impl_.request_id_, - static_cast(reinterpret_cast(&_impl_.extended_timeout_) - - reinterpret_cast(&_impl_.request_id_)) + sizeof(_impl_.extended_timeout_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_WatchInfoUsers) -} - -inline void CMsgGCCStrike15_v2_WatchInfoUsers::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_ids_){arena} - , decltype(_impl_.watchable_match_infos_){arena} - , decltype(_impl_.request_id_){0u} - , decltype(_impl_.extended_timeout_){0u} - }; -} - -CMsgGCCStrike15_v2_WatchInfoUsers::~CMsgGCCStrike15_v2_WatchInfoUsers() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_WatchInfoUsers) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_WatchInfoUsers::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.account_ids_.~RepeatedField(); - _impl_.watchable_match_infos_.~RepeatedPtrField(); -} - -void CMsgGCCStrike15_v2_WatchInfoUsers::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_WatchInfoUsers::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_WatchInfoUsers) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.account_ids_.Clear(); - _impl_.watchable_match_infos_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.request_id_, 0, static_cast( - reinterpret_cast(&_impl_.extended_timeout_) - - reinterpret_cast(&_impl_.request_id_)) + sizeof(_impl_.extended_timeout_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_WatchInfoUsers::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 request_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_request_id(&has_bits); - _impl_.request_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 account_ids = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_account_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); - } else if (static_cast(tag) == 18) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_account_ids(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .WatchableMatchInfo watchable_match_infos = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_watchable_match_infos(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 extended_timeout = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_extended_timeout(&has_bits); - _impl_.extended_timeout_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_WatchInfoUsers::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_WatchInfoUsers) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 request_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_request_id(), target); - } - - // repeated uint32 account_ids = 2; - for (int i = 0, n = this->_internal_account_ids_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_account_ids(i), target); - } - - // repeated .WatchableMatchInfo watchable_match_infos = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_watchable_match_infos_size()); i < n; i++) { - const auto& repfield = this->_internal_watchable_match_infos(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 extended_timeout = 5; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_extended_timeout(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_WatchInfoUsers) - return target; -} - -size_t CMsgGCCStrike15_v2_WatchInfoUsers::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_WatchInfoUsers) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 account_ids = 2; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.account_ids_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_account_ids_size()); - total_size += data_size; - } - - // repeated .WatchableMatchInfo watchable_match_infos = 3; - total_size += 1UL * this->_internal_watchable_match_infos_size(); - for (const auto& msg : this->_impl_.watchable_match_infos_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 request_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_request_id()); - } - - // optional uint32 extended_timeout = 5; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_extended_timeout()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_WatchInfoUsers::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_WatchInfoUsers::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_WatchInfoUsers::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_WatchInfoUsers::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_WatchInfoUsers) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.account_ids_.MergeFrom(from._impl_.account_ids_); - _this->_impl_.watchable_match_infos_.MergeFrom(from._impl_.watchable_match_infos_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.request_id_ = from._impl_.request_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.extended_timeout_ = from._impl_.extended_timeout_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_WatchInfoUsers::CopyFrom(const CMsgGCCStrike15_v2_WatchInfoUsers& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_WatchInfoUsers) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_WatchInfoUsers::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_WatchInfoUsers::InternalSwap(CMsgGCCStrike15_v2_WatchInfoUsers* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.account_ids_.InternalSwap(&other->_impl_.account_ids_); - _impl_.watchable_match_infos_.InternalSwap(&other->_impl_.watchable_match_infos_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_WatchInfoUsers, _impl_.extended_timeout_) - + sizeof(CMsgGCCStrike15_v2_WatchInfoUsers::_impl_.extended_timeout_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_WatchInfoUsers, _impl_.request_id_)>( - reinterpret_cast(&_impl_.request_id_), - reinterpret_cast(&other->_impl_.request_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_WatchInfoUsers::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[69]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_request_id__deprecated(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_request_level(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgGCCStrike15_v2_ClientRequestPlayersProfile::CMsgGCCStrike15_v2_ClientRequestPlayersProfile(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) -} -CMsgGCCStrike15_v2_ClientRequestPlayersProfile::CMsgGCCStrike15_v2_ClientRequestPlayersProfile(const CMsgGCCStrike15_v2_ClientRequestPlayersProfile& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientRequestPlayersProfile* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_ids__deprecated_){from._impl_.account_ids__deprecated_} - , decltype(_impl_.request_id__deprecated_){} - , decltype(_impl_.account_id_){} - , decltype(_impl_.request_level_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.request_id__deprecated_, &from._impl_.request_id__deprecated_, - static_cast(reinterpret_cast(&_impl_.request_level_) - - reinterpret_cast(&_impl_.request_id__deprecated_)) + sizeof(_impl_.request_level_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) -} - -inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_ids__deprecated_){arena} - , decltype(_impl_.request_id__deprecated_){0u} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.request_level_){0u} - }; -} - -CMsgGCCStrike15_v2_ClientRequestPlayersProfile::~CMsgGCCStrike15_v2_ClientRequestPlayersProfile() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.account_ids__deprecated_.~RepeatedField(); -} - -void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.account_ids__deprecated_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.request_id__deprecated_, 0, static_cast( - reinterpret_cast(&_impl_.request_level_) - - reinterpret_cast(&_impl_.request_id__deprecated_)) + sizeof(_impl_.request_level_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 request_id__deprecated = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_request_id__deprecated(&has_bits); - _impl_.request_id__deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 account_ids__deprecated = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_account_ids__deprecated(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); - } else if (static_cast(tag) == 18) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_account_ids__deprecated(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 account_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 request_level = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_request_level(&has_bits); - _impl_.request_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 request_id__deprecated = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_request_id__deprecated(), target); - } - - // repeated uint32 account_ids__deprecated = 2; - for (int i = 0, n = this->_internal_account_ids__deprecated_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_account_ids__deprecated(i), target); - } - - // optional uint32 account_id = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_account_id(), target); - } - - // optional uint32 request_level = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_request_level(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientRequestPlayersProfile::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 account_ids__deprecated = 2; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.account_ids__deprecated_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_account_ids__deprecated_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 request_id__deprecated = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_request_id__deprecated()); - } - - // optional uint32 account_id = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 request_level = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_request_level()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientRequestPlayersProfile::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientRequestPlayersProfile::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.account_ids__deprecated_.MergeFrom(from._impl_.account_ids__deprecated_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.request_id__deprecated_ = from._impl_.request_id__deprecated_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.request_level_ = from._impl_.request_level_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::CopyFrom(const CMsgGCCStrike15_v2_ClientRequestPlayersProfile& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientRequestPlayersProfile::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::InternalSwap(CMsgGCCStrike15_v2_ClientRequestPlayersProfile* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.account_ids__deprecated_.InternalSwap(&other->_impl_.account_ids__deprecated_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestPlayersProfile, _impl_.request_level_) - + sizeof(CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_impl_.request_level_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestPlayersProfile, _impl_.request_id__deprecated_)>( - reinterpret_cast(&_impl_.request_id__deprecated_), - reinterpret_cast(&other->_impl_.request_id__deprecated_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientRequestPlayersProfile::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[70]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_PlayersProfile::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_request_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_PlayersProfile::CMsgGCCStrike15_v2_PlayersProfile(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_PlayersProfile) -} -CMsgGCCStrike15_v2_PlayersProfile::CMsgGCCStrike15_v2_PlayersProfile(const CMsgGCCStrike15_v2_PlayersProfile& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_PlayersProfile* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_profiles_){from._impl_.account_profiles_} - , decltype(_impl_.request_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.request_id_ = from._impl_.request_id_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_PlayersProfile) -} - -inline void CMsgGCCStrike15_v2_PlayersProfile::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_profiles_){arena} - , decltype(_impl_.request_id_){0u} - }; -} - -CMsgGCCStrike15_v2_PlayersProfile::~CMsgGCCStrike15_v2_PlayersProfile() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_PlayersProfile) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_PlayersProfile::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.account_profiles_.~RepeatedPtrField(); -} - -void CMsgGCCStrike15_v2_PlayersProfile::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_PlayersProfile::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_PlayersProfile) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.account_profiles_.Clear(); - _impl_.request_id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_PlayersProfile::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 request_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_request_id(&has_bits); - _impl_.request_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientHello account_profiles = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_account_profiles(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_PlayersProfile::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_PlayersProfile) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 request_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_request_id(), target); - } - - // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientHello account_profiles = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_account_profiles_size()); i < n; i++) { - const auto& repfield = this->_internal_account_profiles(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_PlayersProfile) - return target; -} - -size_t CMsgGCCStrike15_v2_PlayersProfile::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_PlayersProfile) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientHello account_profiles = 2; - total_size += 1UL * this->_internal_account_profiles_size(); - for (const auto& msg : this->_impl_.account_profiles_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional uint32 request_id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_request_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_PlayersProfile::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_PlayersProfile::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_PlayersProfile::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_PlayersProfile::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_PlayersProfile) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.account_profiles_.MergeFrom(from._impl_.account_profiles_); - if (from._internal_has_request_id()) { - _this->_internal_set_request_id(from._internal_request_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_PlayersProfile::CopyFrom(const CMsgGCCStrike15_v2_PlayersProfile& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_PlayersProfile) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_PlayersProfile::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_PlayersProfile::InternalSwap(CMsgGCCStrike15_v2_PlayersProfile* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.account_profiles_.InternalSwap(&other->_impl_.account_profiles_); - swap(_impl_.request_id_, other->_impl_.request_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_PlayersProfile::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[71]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_week_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_rank_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_matches_played(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) -} -CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.week_id_){} - , decltype(_impl_.rank_id_){} - , decltype(_impl_.matches_played_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.week_id_, &from._impl_.week_id_, - static_cast(reinterpret_cast(&_impl_.matches_played_) - - reinterpret_cast(&_impl_.week_id_)) + sizeof(_impl_.matches_played_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) -} - -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.week_id_){uint64_t{0u}} - , decltype(_impl_.rank_id_){0u} - , decltype(_impl_.matches_played_){0u} - }; -} - -CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::~CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.week_id_, 0, static_cast( - reinterpret_cast(&_impl_.matches_played_) - - reinterpret_cast(&_impl_.week_id_)) + sizeof(_impl_.matches_played_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 week_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_week_id(&has_bits); - _impl_.week_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rank_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_rank_id(&has_bits); - _impl_.rank_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 matches_played = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_matches_played(&has_bits); - _impl_.matches_played_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 week_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_week_id(), target); - } - - // optional uint32 rank_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_rank_id(), target); - } - - // optional uint32 matches_played = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_matches_played(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) - return target; -} - -size_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint64 week_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_week_id()); - } - - // optional uint32 rank_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rank_id()); - } - - // optional uint32 matches_played = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_matches_played()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.week_id_ = from._impl_.week_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.rank_id_ = from._impl_.rank_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.matches_played_ = from._impl_.matches_played_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::CopyFrom(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::InternalSwap(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek, _impl_.matches_played_) - + sizeof(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_impl_.matches_played_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek, _impl_.week_id_)>( - reinterpret_cast(&_impl_.week_id_), - reinterpret_cast(&other->_impl_.week_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[72]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_map_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_wins(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_ties(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_losses(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_rounds(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_kills(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_headshots(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_assists(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_deaths(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_mvps(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_rounds_3k(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_rounds_4k(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_rounds_5k(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } -}; - -CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) -} -CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.map_id_){} - , decltype(_impl_.wins_){} - , decltype(_impl_.ties_){} - , decltype(_impl_.losses_){} - , decltype(_impl_.rounds_){} - , decltype(_impl_.kills_){} - , decltype(_impl_.headshots_){} - , decltype(_impl_.assists_){} - , decltype(_impl_.deaths_){} - , decltype(_impl_.mvps_){} - , decltype(_impl_.rounds_3k_){} - , decltype(_impl_.rounds_4k_){} - , decltype(_impl_.rounds_5k_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.map_id_, &from._impl_.map_id_, - static_cast(reinterpret_cast(&_impl_.rounds_5k_) - - reinterpret_cast(&_impl_.map_id_)) + sizeof(_impl_.rounds_5k_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) -} - -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.map_id_){0u} - , decltype(_impl_.wins_){0u} - , decltype(_impl_.ties_){0u} - , decltype(_impl_.losses_){0u} - , decltype(_impl_.rounds_){0u} - , decltype(_impl_.kills_){0u} - , decltype(_impl_.headshots_){0u} - , decltype(_impl_.assists_){0u} - , decltype(_impl_.deaths_){0u} - , decltype(_impl_.mvps_){0u} - , decltype(_impl_.rounds_3k_){0u} - , decltype(_impl_.rounds_4k_){0u} - , decltype(_impl_.rounds_5k_){0u} - }; -} - -CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::~CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.map_id_, 0, static_cast( - reinterpret_cast(&_impl_.assists_) - - reinterpret_cast(&_impl_.map_id_)) + sizeof(_impl_.assists_)); - } - if (cached_has_bits & 0x00001f00u) { - ::memset(&_impl_.deaths_, 0, static_cast( - reinterpret_cast(&_impl_.rounds_5k_) - - reinterpret_cast(&_impl_.deaths_)) + sizeof(_impl_.rounds_5k_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 map_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_map_id(&has_bits); - _impl_.map_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 wins = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_wins(&has_bits); - _impl_.wins_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ties = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_ties(&has_bits); - _impl_.ties_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 losses = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_losses(&has_bits); - _impl_.losses_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rounds = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_rounds(&has_bits); - _impl_.rounds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 kills = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_kills(&has_bits); - _impl_.kills_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 headshots = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_headshots(&has_bits); - _impl_.headshots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 assists = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_assists(&has_bits); - _impl_.assists_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 deaths = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_deaths(&has_bits); - _impl_.deaths_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 mvps = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_mvps(&has_bits); - _impl_.mvps_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rounds_3k = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_rounds_3k(&has_bits); - _impl_.rounds_3k_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rounds_4k = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_rounds_4k(&has_bits); - _impl_.rounds_4k_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rounds_5k = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_rounds_5k(&has_bits); - _impl_.rounds_5k_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 map_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_map_id(), target); - } - - // optional uint32 wins = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_wins(), target); - } - - // optional uint32 ties = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_ties(), target); - } - - // optional uint32 losses = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_losses(), target); - } - - // optional uint32 rounds = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_rounds(), target); - } - - // optional uint32 kills = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_kills(), target); - } - - // optional uint32 headshots = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_headshots(), target); - } - - // optional uint32 assists = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_assists(), target); - } - - // optional uint32 deaths = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_deaths(), target); - } - - // optional uint32 mvps = 10; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_mvps(), target); - } - - // optional uint32 rounds_3k = 11; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_rounds_3k(), target); - } - - // optional uint32 rounds_4k = 12; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_rounds_4k(), target); - } - - // optional uint32 rounds_5k = 13; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_rounds_5k(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) - return target; -} - -size_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional uint32 map_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_map_id()); - } - - // optional uint32 wins = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_wins()); - } - - // optional uint32 ties = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ties()); - } - - // optional uint32 losses = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_losses()); - } - - // optional uint32 rounds = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rounds()); - } - - // optional uint32 kills = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_kills()); - } - - // optional uint32 headshots = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_headshots()); - } - - // optional uint32 assists = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_assists()); - } - - } - if (cached_has_bits & 0x00001f00u) { - // optional uint32 deaths = 9; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_deaths()); - } - - // optional uint32 mvps = 10; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mvps()); - } - - // optional uint32 rounds_3k = 11; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rounds_3k()); - } - - // optional uint32 rounds_4k = 12; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rounds_4k()); - } - - // optional uint32 rounds_5k = 13; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rounds_5k()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.map_id_ = from._impl_.map_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.wins_ = from._impl_.wins_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.ties_ = from._impl_.ties_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.losses_ = from._impl_.losses_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.rounds_ = from._impl_.rounds_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.kills_ = from._impl_.kills_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.headshots_ = from._impl_.headshots_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.assists_ = from._impl_.assists_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00001f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.deaths_ = from._impl_.deaths_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.mvps_ = from._impl_.mvps_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.rounds_3k_ = from._impl_.rounds_3k_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.rounds_4k_ = from._impl_.rounds_4k_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.rounds_5k_ = from._impl_.rounds_5k_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::CopyFrom(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::InternalSwap(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.rounds_5k_) - + sizeof(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_impl_.rounds_5k_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap, _impl_.map_id_)>( - reinterpret_cast(&_impl_.map_id_), - reinterpret_cast(&other->_impl_.map_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[73]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_PremierSeasonSummary::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_season_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCStrike15_v2_PremierSeasonSummary::CMsgGCCStrike15_v2_PremierSeasonSummary(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_PremierSeasonSummary) -} -CMsgGCCStrike15_v2_PremierSeasonSummary::CMsgGCCStrike15_v2_PremierSeasonSummary(const CMsgGCCStrike15_v2_PremierSeasonSummary& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_PremierSeasonSummary* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_per_week_){from._impl_.data_per_week_} - , decltype(_impl_.data_per_map_){from._impl_.data_per_map_} - , decltype(_impl_.account_id_){} - , decltype(_impl_.season_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.season_id_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.season_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_PremierSeasonSummary) -} - -inline void CMsgGCCStrike15_v2_PremierSeasonSummary::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_per_week_){arena} - , decltype(_impl_.data_per_map_){arena} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.season_id_){0u} - }; -} - -CMsgGCCStrike15_v2_PremierSeasonSummary::~CMsgGCCStrike15_v2_PremierSeasonSummary() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_PremierSeasonSummary) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_PremierSeasonSummary::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_per_week_.~RepeatedPtrField(); - _impl_.data_per_map_.~RepeatedPtrField(); -} - -void CMsgGCCStrike15_v2_PremierSeasonSummary::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_PremierSeasonSummary::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_PremierSeasonSummary) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.data_per_week_.Clear(); - _impl_.data_per_map_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.season_id_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.season_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_PremierSeasonSummary::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 season_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_season_id(&has_bits); - _impl_.season_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek data_per_week = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_data_per_week(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap data_per_map = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_data_per_map(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_PremierSeasonSummary::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_PremierSeasonSummary) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional uint32 season_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_season_id(), target); - } - - // repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek data_per_week = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_data_per_week_size()); i < n; i++) { - const auto& repfield = this->_internal_data_per_week(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap data_per_map = 4; - for (unsigned i = 0, - n = static_cast(this->_internal_data_per_map_size()); i < n; i++) { - const auto& repfield = this->_internal_data_per_map(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_PremierSeasonSummary) - return target; -} - -size_t CMsgGCCStrike15_v2_PremierSeasonSummary::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_PremierSeasonSummary) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek data_per_week = 3; - total_size += 1UL * this->_internal_data_per_week_size(); - for (const auto& msg : this->_impl_.data_per_week_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap data_per_map = 4; - total_size += 1UL * this->_internal_data_per_map_size(); - for (const auto& msg : this->_impl_.data_per_map_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 season_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_season_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_PremierSeasonSummary::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_PremierSeasonSummary::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_PremierSeasonSummary::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_PremierSeasonSummary::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_PremierSeasonSummary) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.data_per_week_.MergeFrom(from._impl_.data_per_week_); - _this->_impl_.data_per_map_.MergeFrom(from._impl_.data_per_map_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.season_id_ = from._impl_.season_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_PremierSeasonSummary::CopyFrom(const CMsgGCCStrike15_v2_PremierSeasonSummary& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_PremierSeasonSummary) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_PremierSeasonSummary::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_PremierSeasonSummary::InternalSwap(CMsgGCCStrike15_v2_PremierSeasonSummary* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.data_per_week_.InternalSwap(&other->_impl_.data_per_week_); - _impl_.data_per_map_.InternalSwap(&other->_impl_.data_per_map_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PremierSeasonSummary, _impl_.season_id_) - + sizeof(CMsgGCCStrike15_v2_PremierSeasonSummary::_impl_.season_id_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PremierSeasonSummary, _impl_.account_id_)>( - reinterpret_cast(&_impl_.account_id_), - reinterpret_cast(&other->_impl_.account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_PremierSeasonSummary::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[74]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_caseid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_suspectid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_fractionid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_rpt_aimbot(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_rpt_wallhack(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_rpt_speedhack(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_rpt_teamharm(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_reason(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } -}; - -CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) -} -CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate(const CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.caseid_){} - , decltype(_impl_.suspectid_){} - , decltype(_impl_.fractionid_){} - , decltype(_impl_.rpt_aimbot_){} - , decltype(_impl_.rpt_wallhack_){} - , decltype(_impl_.rpt_speedhack_){} - , decltype(_impl_.rpt_teamharm_){} - , decltype(_impl_.reason_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.caseid_, &from._impl_.caseid_, - static_cast(reinterpret_cast(&_impl_.reason_) - - reinterpret_cast(&_impl_.caseid_)) + sizeof(_impl_.reason_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) -} - -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.caseid_){uint64_t{0u}} - , decltype(_impl_.suspectid_){0u} - , decltype(_impl_.fractionid_){0u} - , decltype(_impl_.rpt_aimbot_){0u} - , decltype(_impl_.rpt_wallhack_){0u} - , decltype(_impl_.rpt_speedhack_){0u} - , decltype(_impl_.rpt_teamharm_){0u} - , decltype(_impl_.reason_){0u} - }; -} - -CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::~CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.caseid_, 0, static_cast( - reinterpret_cast(&_impl_.reason_) - - reinterpret_cast(&_impl_.caseid_)) + sizeof(_impl_.reason_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 caseid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_caseid(&has_bits); - _impl_.caseid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 suspectid = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_suspectid(&has_bits); - _impl_.suspectid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 fractionid = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_fractionid(&has_bits); - _impl_.fractionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rpt_aimbot = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_rpt_aimbot(&has_bits); - _impl_.rpt_aimbot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rpt_wallhack = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_rpt_wallhack(&has_bits); - _impl_.rpt_wallhack_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rpt_speedhack = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_rpt_speedhack(&has_bits); - _impl_.rpt_speedhack_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rpt_teamharm = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_rpt_teamharm(&has_bits); - _impl_.rpt_teamharm_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 reason = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_reason(&has_bits); - _impl_.reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 caseid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_caseid(), target); - } - - // optional uint32 suspectid = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_suspectid(), target); - } - - // optional uint32 fractionid = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_fractionid(), target); - } - - // optional uint32 rpt_aimbot = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_rpt_aimbot(), target); - } - - // optional uint32 rpt_wallhack = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_rpt_wallhack(), target); - } - - // optional uint32 rpt_speedhack = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_rpt_speedhack(), target); - } - - // optional uint32 rpt_teamharm = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_rpt_teamharm(), target); - } - - // optional uint32 reason = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_reason(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) - return target; -} - -size_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional uint64 caseid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_caseid()); - } - - // optional uint32 suspectid = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_suspectid()); - } - - // optional uint32 fractionid = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_fractionid()); - } - - // optional uint32 rpt_aimbot = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_aimbot()); - } - - // optional uint32 rpt_wallhack = 6; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_wallhack()); - } - - // optional uint32 rpt_speedhack = 7; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_speedhack()); - } - - // optional uint32 rpt_teamharm = 8; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rpt_teamharm()); - } - - // optional uint32 reason = 9; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reason()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.caseid_ = from._impl_.caseid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.suspectid_ = from._impl_.suspectid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.fractionid_ = from._impl_.fractionid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.rpt_aimbot_ = from._impl_.rpt_aimbot_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.rpt_wallhack_ = from._impl_.rpt_wallhack_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.rpt_speedhack_ = from._impl_.rpt_speedhack_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.rpt_teamharm_ = from._impl_.rpt_teamharm_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.reason_ = from._impl_.reason_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::CopyFrom(const CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::InternalSwap(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.reason_) - + sizeof(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_impl_.reason_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate, _impl_.caseid_)>( - reinterpret_cast(&_impl_.caseid_), - reinterpret_cast(&other->_impl_.caseid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[75]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_caseid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_caseurl(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_verdict(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_throttleseconds(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_suspectid(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_fractionid(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_numrounds(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_fractionrounds(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_streakconvictions(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_reason(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } -}; - -CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) -} -CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment(const CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.caseurl_){} - , decltype(_impl_.caseid_){} - , decltype(_impl_.verdict_){} - , decltype(_impl_.timestamp_){} - , decltype(_impl_.throttleseconds_){} - , decltype(_impl_.suspectid_){} - , decltype(_impl_.fractionid_){} - , decltype(_impl_.numrounds_){} - , decltype(_impl_.fractionrounds_){} - , decltype(_impl_.streakconvictions_){} - , decltype(_impl_.reason_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.caseurl_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.caseurl_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_caseurl()) { - _this->_impl_.caseurl_.Set(from._internal_caseurl(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.caseid_, &from._impl_.caseid_, - static_cast(reinterpret_cast(&_impl_.reason_) - - reinterpret_cast(&_impl_.caseid_)) + sizeof(_impl_.reason_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) -} - -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.caseurl_){} - , decltype(_impl_.caseid_){uint64_t{0u}} - , decltype(_impl_.verdict_){0u} - , decltype(_impl_.timestamp_){0u} - , decltype(_impl_.throttleseconds_){0u} - , decltype(_impl_.suspectid_){0u} - , decltype(_impl_.fractionid_){0u} - , decltype(_impl_.numrounds_){0u} - , decltype(_impl_.fractionrounds_){0u} - , decltype(_impl_.streakconvictions_){0} - , decltype(_impl_.reason_){0u} - }; - _impl_.caseurl_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.caseurl_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::~CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.caseurl_.Destroy(); -} - -void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.caseurl_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x000000feu) { - ::memset(&_impl_.caseid_, 0, static_cast( - reinterpret_cast(&_impl_.numrounds_) - - reinterpret_cast(&_impl_.caseid_)) + sizeof(_impl_.numrounds_)); - } - if (cached_has_bits & 0x00000700u) { - ::memset(&_impl_.fractionrounds_, 0, static_cast( - reinterpret_cast(&_impl_.reason_) - - reinterpret_cast(&_impl_.fractionrounds_)) + sizeof(_impl_.reason_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 caseid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_caseid(&has_bits); - _impl_.caseid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string caseurl = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_caseurl(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.caseurl"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 verdict = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_verdict(&has_bits); - _impl_.verdict_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 timestamp = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_timestamp(&has_bits); - _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 throttleseconds = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_throttleseconds(&has_bits); - _impl_.throttleseconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 suspectid = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_suspectid(&has_bits); - _impl_.suspectid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 fractionid = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_fractionid(&has_bits); - _impl_.fractionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 numrounds = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_numrounds(&has_bits); - _impl_.numrounds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 fractionrounds = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_fractionrounds(&has_bits); - _impl_.fractionrounds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 streakconvictions = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_streakconvictions(&has_bits); - _impl_.streakconvictions_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 reason = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_reason(&has_bits); - _impl_.reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 caseid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_caseid(), target); - } - - // optional string caseurl = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_caseurl().data(), static_cast(this->_internal_caseurl().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.caseurl"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_caseurl(), target); - } - - // optional uint32 verdict = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_verdict(), target); - } - - // optional uint32 timestamp = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_timestamp(), target); - } - - // optional uint32 throttleseconds = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_throttleseconds(), target); - } - - // optional uint32 suspectid = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_suspectid(), target); - } - - // optional uint32 fractionid = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_fractionid(), target); - } - - // optional uint32 numrounds = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_numrounds(), target); - } - - // optional uint32 fractionrounds = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_fractionrounds(), target); - } - - // optional int32 streakconvictions = 10; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_streakconvictions(), target); - } - - // optional uint32 reason = 11; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_reason(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) - return target; -} - -size_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string caseurl = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_caseurl()); - } - - // optional uint64 caseid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_caseid()); - } - - // optional uint32 verdict = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_verdict()); - } - - // optional uint32 timestamp = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_timestamp()); - } - - // optional uint32 throttleseconds = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_throttleseconds()); - } - - // optional uint32 suspectid = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_suspectid()); - } - - // optional uint32 fractionid = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_fractionid()); - } - - // optional uint32 numrounds = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_numrounds()); - } - - } - if (cached_has_bits & 0x00000700u) { - // optional uint32 fractionrounds = 9; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_fractionrounds()); - } - - // optional int32 streakconvictions = 10; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_streakconvictions()); - } - - // optional uint32 reason = 11; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reason()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_caseurl(from._internal_caseurl()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.caseid_ = from._impl_.caseid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.verdict_ = from._impl_.verdict_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.timestamp_ = from._impl_.timestamp_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.throttleseconds_ = from._impl_.throttleseconds_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.suspectid_ = from._impl_.suspectid_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.fractionid_ = from._impl_.fractionid_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.numrounds_ = from._impl_.numrounds_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000700u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.fractionrounds_ = from._impl_.fractionrounds_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.streakconvictions_ = from._impl_.streakconvictions_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.reason_ = from._impl_.reason_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::CopyFrom(const CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::InternalSwap(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.caseurl_, lhs_arena, - &other->_impl_.caseurl_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.reason_) - + sizeof(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_impl_.reason_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment, _impl_.caseid_)>( - reinterpret_cast(&_impl_.caseid_), - reinterpret_cast(&other->_impl_.caseid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[76]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_caseid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_statusid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) -} -CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus(const CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.caseid_){} - , decltype(_impl_.statusid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.caseid_, &from._impl_.caseid_, - static_cast(reinterpret_cast(&_impl_.statusid_) - - reinterpret_cast(&_impl_.caseid_)) + sizeof(_impl_.statusid_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) -} - -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.caseid_){uint64_t{0u}} - , decltype(_impl_.statusid_){0u} - }; -} - -CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::~CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.caseid_, 0, static_cast( - reinterpret_cast(&_impl_.statusid_) - - reinterpret_cast(&_impl_.caseid_)) + sizeof(_impl_.statusid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 caseid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_caseid(&has_bits); - _impl_.caseid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 statusid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_statusid(&has_bits); - _impl_.statusid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 caseid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_caseid(), target); - } - - // optional uint32 statusid = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_statusid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) - return target; -} - -size_t CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 caseid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_caseid()); - } - - // optional uint32 statusid = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_statusid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.caseid_ = from._impl_.caseid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.statusid_ = from._impl_.statusid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::CopyFrom(const CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::InternalSwap(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus, _impl_.statusid_) - + sizeof(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_impl_.statusid_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus, _impl_.caseid_)>( - reinterpret_cast(&_impl_.caseid_), - reinterpret_cast(&other->_impl_.caseid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[77]); -} - -// =================================================================== - -class CClientHeaderOverwatchEvidence::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_caseid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CClientHeaderOverwatchEvidence::CClientHeaderOverwatchEvidence(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CClientHeaderOverwatchEvidence) -} -CClientHeaderOverwatchEvidence::CClientHeaderOverwatchEvidence(const CClientHeaderOverwatchEvidence& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CClientHeaderOverwatchEvidence* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.caseid_){} - , decltype(_impl_.accountid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.caseid_, &from._impl_.caseid_, - static_cast(reinterpret_cast(&_impl_.accountid_) - - reinterpret_cast(&_impl_.caseid_)) + sizeof(_impl_.accountid_)); - // @@protoc_insertion_point(copy_constructor:CClientHeaderOverwatchEvidence) -} - -inline void CClientHeaderOverwatchEvidence::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.caseid_){uint64_t{0u}} - , decltype(_impl_.accountid_){0u} - }; -} - -CClientHeaderOverwatchEvidence::~CClientHeaderOverwatchEvidence() { - // @@protoc_insertion_point(destructor:CClientHeaderOverwatchEvidence) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CClientHeaderOverwatchEvidence::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CClientHeaderOverwatchEvidence::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CClientHeaderOverwatchEvidence::Clear() { -// @@protoc_insertion_point(message_clear_start:CClientHeaderOverwatchEvidence) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.caseid_, 0, static_cast( - reinterpret_cast(&_impl_.accountid_) - - reinterpret_cast(&_impl_.caseid_)) + sizeof(_impl_.accountid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CClientHeaderOverwatchEvidence::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 accountid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 caseid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_caseid(&has_bits); - _impl_.caseid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CClientHeaderOverwatchEvidence::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CClientHeaderOverwatchEvidence) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); - } - - // optional uint64 caseid = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_caseid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CClientHeaderOverwatchEvidence) - return target; -} - -size_t CClientHeaderOverwatchEvidence::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CClientHeaderOverwatchEvidence) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 caseid = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_caseid()); - } - - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CClientHeaderOverwatchEvidence::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CClientHeaderOverwatchEvidence::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CClientHeaderOverwatchEvidence::GetClassData() const { return &_class_data_; } - - -void CClientHeaderOverwatchEvidence::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CClientHeaderOverwatchEvidence) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.caseid_ = from._impl_.caseid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.accountid_ = from._impl_.accountid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CClientHeaderOverwatchEvidence::CopyFrom(const CClientHeaderOverwatchEvidence& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CClientHeaderOverwatchEvidence) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CClientHeaderOverwatchEvidence::IsInitialized() const { - return true; -} - -void CClientHeaderOverwatchEvidence::InternalSwap(CClientHeaderOverwatchEvidence* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CClientHeaderOverwatchEvidence, _impl_.accountid_) - + sizeof(CClientHeaderOverwatchEvidence::_impl_.accountid_) - - PROTOBUF_FIELD_OFFSET(CClientHeaderOverwatchEvidence, _impl_.caseid_)>( - reinterpret_cast(&_impl_.caseid_), - reinterpret_cast(&other->_impl_.caseid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CClientHeaderOverwatchEvidence::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[78]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_GC2ClientTextMsg::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_payload(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_GC2ClientTextMsg::CMsgGCCStrike15_v2_GC2ClientTextMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_GC2ClientTextMsg) -} -CMsgGCCStrike15_v2_GC2ClientTextMsg::CMsgGCCStrike15_v2_GC2ClientTextMsg(const CMsgGCCStrike15_v2_GC2ClientTextMsg& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_GC2ClientTextMsg* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.payload_){} - , decltype(_impl_.id_){} - , decltype(_impl_.type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.payload_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.payload_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_payload()) { - _this->_impl_.payload_.Set(from._internal_payload(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.id_, &from._impl_.id_, - static_cast(reinterpret_cast(&_impl_.type_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.type_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GC2ClientTextMsg) -} - -inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.payload_){} - , decltype(_impl_.id_){0u} - , decltype(_impl_.type_){0u} - }; - _impl_.payload_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.payload_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_GC2ClientTextMsg::~CMsgGCCStrike15_v2_GC2ClientTextMsg() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GC2ClientTextMsg) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.payload_.Destroy(); -} - -void CMsgGCCStrike15_v2_GC2ClientTextMsg::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_GC2ClientTextMsg::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GC2ClientTextMsg) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.payload_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.id_, 0, static_cast( - reinterpret_cast(&_impl_.type_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.type_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_GC2ClientTextMsg::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_id(&has_bits); - _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_type(&has_bits); - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes payload = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_payload(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_GC2ClientTextMsg::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GC2ClientTextMsg) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target); - } - - // optional uint32 type = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_type(), target); - } - - // optional bytes payload = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 3, this->_internal_payload(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_GC2ClientTextMsg) - return target; -} - -size_t CMsgGCCStrike15_v2_GC2ClientTextMsg::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GC2ClientTextMsg) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional bytes payload = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_payload()); - } - - // optional uint32 id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id()); - } - - // optional uint32 type = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GC2ClientTextMsg::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_GC2ClientTextMsg::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GC2ClientTextMsg::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_GC2ClientTextMsg::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_GC2ClientTextMsg) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_payload(from._internal_payload()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.id_ = from._impl_.id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.type_ = from._impl_.type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_GC2ClientTextMsg::CopyFrom(const CMsgGCCStrike15_v2_GC2ClientTextMsg& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GC2ClientTextMsg) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_GC2ClientTextMsg::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_GC2ClientTextMsg::InternalSwap(CMsgGCCStrike15_v2_GC2ClientTextMsg* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.payload_, lhs_arena, - &other->_impl_.payload_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientTextMsg, _impl_.type_) - + sizeof(CMsgGCCStrike15_v2_GC2ClientTextMsg::_impl_.type_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientTextMsg, _impl_.id_)>( - reinterpret_cast(&_impl_.id_), - reinterpret_cast(&other->_impl_.id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GC2ClientTextMsg::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[79]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Client2GCTextMsg::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_Client2GCTextMsg::CMsgGCCStrike15_v2_Client2GCTextMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Client2GCTextMsg) -} -CMsgGCCStrike15_v2_Client2GCTextMsg::CMsgGCCStrike15_v2_Client2GCTextMsg(const CMsgGCCStrike15_v2_Client2GCTextMsg& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_Client2GCTextMsg* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){from._impl_.args_} - , decltype(_impl_.id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.id_ = from._impl_.id_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Client2GCTextMsg) -} - -inline void CMsgGCCStrike15_v2_Client2GCTextMsg::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.args_){arena} - , decltype(_impl_.id_){0u} - }; -} - -CMsgGCCStrike15_v2_Client2GCTextMsg::~CMsgGCCStrike15_v2_Client2GCTextMsg() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Client2GCTextMsg) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_Client2GCTextMsg::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.args_.~RepeatedPtrField(); -} - -void CMsgGCCStrike15_v2_Client2GCTextMsg::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_Client2GCTextMsg::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Client2GCTextMsg) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.args_.Clear(); - _impl_.id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_Client2GCTextMsg::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_id(&has_bits); - _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated bytes args = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_args(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_Client2GCTextMsg::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Client2GCTextMsg) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target); - } - - // repeated bytes args = 2; - for (int i = 0, n = this->_internal_args_size(); i < n; i++) { - const auto& s = this->_internal_args(i); - target = stream->WriteBytes(2, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_Client2GCTextMsg) - return target; -} - -size_t CMsgGCCStrike15_v2_Client2GCTextMsg::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Client2GCTextMsg) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated bytes args = 2; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.args_.size()); - for (int i = 0, n = _impl_.args_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - _impl_.args_.Get(i)); - } - - // optional uint32 id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Client2GCTextMsg::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_Client2GCTextMsg::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Client2GCTextMsg::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_Client2GCTextMsg::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_Client2GCTextMsg) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.args_.MergeFrom(from._impl_.args_); - if (from._internal_has_id()) { - _this->_internal_set_id(from._internal_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_Client2GCTextMsg::CopyFrom(const CMsgGCCStrike15_v2_Client2GCTextMsg& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Client2GCTextMsg) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_Client2GCTextMsg::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_Client2GCTextMsg::InternalSwap(CMsgGCCStrike15_v2_Client2GCTextMsg* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.args_.InternalSwap(&other->_impl_.args_); - swap(_impl_.id_, other->_impl_.id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Client2GCTextMsg::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[80]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& serverinfo(const CMsgGCCStrike15_v2_MatchEndRunRewardDrops* msg); - static void set_has_serverinfo(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgGC_ServerQuestUpdateData& match_end_quest_data(const CMsgGCCStrike15_v2_MatchEndRunRewardDrops* msg); - static void set_has_match_end_quest_data(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& -CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_Internal::serverinfo(const CMsgGCCStrike15_v2_MatchEndRunRewardDrops* msg) { - return *msg->_impl_.serverinfo_; -} -const ::CMsgGC_ServerQuestUpdateData& -CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_Internal::match_end_quest_data(const CMsgGCCStrike15_v2_MatchEndRunRewardDrops* msg) { - return *msg->_impl_.match_end_quest_data_; -} -CMsgGCCStrike15_v2_MatchEndRunRewardDrops::CMsgGCCStrike15_v2_MatchEndRunRewardDrops(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) -} -CMsgGCCStrike15_v2_MatchEndRunRewardDrops::CMsgGCCStrike15_v2_MatchEndRunRewardDrops(const CMsgGCCStrike15_v2_MatchEndRunRewardDrops& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchEndRunRewardDrops* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.serverinfo_){nullptr} - , decltype(_impl_.match_end_quest_data_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_serverinfo()) { - _this->_impl_.serverinfo_ = new ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse(*from._impl_.serverinfo_); - } - if (from._internal_has_match_end_quest_data()) { - _this->_impl_.match_end_quest_data_ = new ::CMsgGC_ServerQuestUpdateData(*from._impl_.match_end_quest_data_); - } - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) -} - -inline void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.serverinfo_){nullptr} - , decltype(_impl_.match_end_quest_data_){nullptr} - }; -} - -CMsgGCCStrike15_v2_MatchEndRunRewardDrops::~CMsgGCCStrike15_v2_MatchEndRunRewardDrops() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.serverinfo_; - if (this != internal_default_instance()) delete _impl_.match_end_quest_data_; -} - -void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.serverinfo_ != nullptr); - _impl_.serverinfo_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.match_end_quest_data_ != nullptr); - _impl_.match_end_quest_data_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgGCCStrike15_v2_MatchmakingServerReservationResponse serverinfo = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_serverinfo(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgGC_ServerQuestUpdateData match_end_quest_data = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_match_end_quest_data(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgGCCStrike15_v2_MatchmakingServerReservationResponse serverinfo = 3; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::serverinfo(this), - _Internal::serverinfo(this).GetCachedSize(), target, stream); - } - - // optional .CMsgGC_ServerQuestUpdateData match_end_quest_data = 4; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::match_end_quest_data(this), - _Internal::match_end_quest_data(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchEndRunRewardDrops::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgGCCStrike15_v2_MatchmakingServerReservationResponse serverinfo = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.serverinfo_); - } - - // optional .CMsgGC_ServerQuestUpdateData match_end_quest_data = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.match_end_quest_data_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchEndRunRewardDrops::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchEndRunRewardDrops::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_serverinfo()->::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::MergeFrom( - from._internal_serverinfo()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_match_end_quest_data()->::CMsgGC_ServerQuestUpdateData::MergeFrom( - from._internal_match_end_quest_data()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::CopyFrom(const CMsgGCCStrike15_v2_MatchEndRunRewardDrops& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchEndRunRewardDrops::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::InternalSwap(CMsgGCCStrike15_v2_MatchEndRunRewardDrops* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchEndRunRewardDrops, _impl_.match_end_quest_data_) - + sizeof(CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_impl_.match_end_quest_data_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchEndRunRewardDrops, _impl_.serverinfo_)>( - reinterpret_cast(&_impl_.serverinfo_), - reinterpret_cast(&other->_impl_.serverinfo_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchEndRunRewardDrops::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[81]); -} - -// =================================================================== - -class CEconItemPreviewDataBlock_Sticker::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_slot(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_sticker_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_wear(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_scale(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_rotation(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_tint_id(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_offset_x(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_offset_y(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_offset_z(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_pattern(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_highlight_reel(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } -}; - -CEconItemPreviewDataBlock_Sticker::CEconItemPreviewDataBlock_Sticker(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CEconItemPreviewDataBlock.Sticker) -} -CEconItemPreviewDataBlock_Sticker::CEconItemPreviewDataBlock_Sticker(const CEconItemPreviewDataBlock_Sticker& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CEconItemPreviewDataBlock_Sticker* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.slot_){} - , decltype(_impl_.sticker_id_){} - , decltype(_impl_.wear_){} - , decltype(_impl_.scale_){} - , decltype(_impl_.rotation_){} - , decltype(_impl_.tint_id_){} - , decltype(_impl_.offset_x_){} - , decltype(_impl_.offset_y_){} - , decltype(_impl_.offset_z_){} - , decltype(_impl_.pattern_){} - , decltype(_impl_.highlight_reel_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.slot_, &from._impl_.slot_, - static_cast(reinterpret_cast(&_impl_.highlight_reel_) - - reinterpret_cast(&_impl_.slot_)) + sizeof(_impl_.highlight_reel_)); - // @@protoc_insertion_point(copy_constructor:CEconItemPreviewDataBlock.Sticker) -} - -inline void CEconItemPreviewDataBlock_Sticker::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.slot_){0u} - , decltype(_impl_.sticker_id_){0u} - , decltype(_impl_.wear_){0} - , decltype(_impl_.scale_){0} - , decltype(_impl_.rotation_){0} - , decltype(_impl_.tint_id_){0u} - , decltype(_impl_.offset_x_){0} - , decltype(_impl_.offset_y_){0} - , decltype(_impl_.offset_z_){0} - , decltype(_impl_.pattern_){0u} - , decltype(_impl_.highlight_reel_){0u} - }; -} - -CEconItemPreviewDataBlock_Sticker::~CEconItemPreviewDataBlock_Sticker() { - // @@protoc_insertion_point(destructor:CEconItemPreviewDataBlock.Sticker) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CEconItemPreviewDataBlock_Sticker::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CEconItemPreviewDataBlock_Sticker::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CEconItemPreviewDataBlock_Sticker::Clear() { -// @@protoc_insertion_point(message_clear_start:CEconItemPreviewDataBlock.Sticker) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.slot_, 0, static_cast( - reinterpret_cast(&_impl_.offset_y_) - - reinterpret_cast(&_impl_.slot_)) + sizeof(_impl_.offset_y_)); - } - if (cached_has_bits & 0x00000700u) { - ::memset(&_impl_.offset_z_, 0, static_cast( - reinterpret_cast(&_impl_.highlight_reel_) - - reinterpret_cast(&_impl_.offset_z_)) + sizeof(_impl_.highlight_reel_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CEconItemPreviewDataBlock_Sticker::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 slot = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_slot(&has_bits); - _impl_.slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 sticker_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_sticker_id(&has_bits); - _impl_.sticker_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float wear = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_wear(&has_bits); - _impl_.wear_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float scale = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_scale(&has_bits); - _impl_.scale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float rotation = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_rotation(&has_bits); - _impl_.rotation_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 tint_id = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_tint_id(&has_bits); - _impl_.tint_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float offset_x = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_offset_x(&has_bits); - _impl_.offset_x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float offset_y = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { - _Internal::set_has_offset_y(&has_bits); - _impl_.offset_y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float offset_z = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_offset_z(&has_bits); - _impl_.offset_z_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 pattern = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_pattern(&has_bits); - _impl_.pattern_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 highlight_reel = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_highlight_reel(&has_bits); - _impl_.highlight_reel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CEconItemPreviewDataBlock_Sticker::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CEconItemPreviewDataBlock.Sticker) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 slot = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_slot(), target); - } - - // optional uint32 sticker_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_sticker_id(), target); - } - - // optional float wear = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_wear(), target); - } - - // optional float scale = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_scale(), target); - } - - // optional float rotation = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_rotation(), target); - } - - // optional uint32 tint_id = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_tint_id(), target); - } - - // optional float offset_x = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_offset_x(), target); - } - - // optional float offset_y = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_offset_y(), target); - } - - // optional float offset_z = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_offset_z(), target); - } - - // optional uint32 pattern = 10; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_pattern(), target); - } - - // optional uint32 highlight_reel = 11; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_highlight_reel(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CEconItemPreviewDataBlock.Sticker) - return target; -} - -size_t CEconItemPreviewDataBlock_Sticker::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CEconItemPreviewDataBlock.Sticker) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional uint32 slot = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_slot()); - } - - // optional uint32 sticker_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sticker_id()); - } - - // optional float wear = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional float scale = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - // optional float rotation = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional uint32 tint_id = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tint_id()); - } - - // optional float offset_x = 7; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional float offset_y = 8; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - if (cached_has_bits & 0x00000700u) { - // optional float offset_z = 9; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 4; - } - - // optional uint32 pattern = 10; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pattern()); - } - - // optional uint32 highlight_reel = 11; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_highlight_reel()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEconItemPreviewDataBlock_Sticker::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CEconItemPreviewDataBlock_Sticker::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEconItemPreviewDataBlock_Sticker::GetClassData() const { return &_class_data_; } - - -void CEconItemPreviewDataBlock_Sticker::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CEconItemPreviewDataBlock.Sticker) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.slot_ = from._impl_.slot_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.sticker_id_ = from._impl_.sticker_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.wear_ = from._impl_.wear_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.scale_ = from._impl_.scale_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.rotation_ = from._impl_.rotation_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.tint_id_ = from._impl_.tint_id_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.offset_x_ = from._impl_.offset_x_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.offset_y_ = from._impl_.offset_y_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000700u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.offset_z_ = from._impl_.offset_z_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.pattern_ = from._impl_.pattern_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.highlight_reel_ = from._impl_.highlight_reel_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CEconItemPreviewDataBlock_Sticker::CopyFrom(const CEconItemPreviewDataBlock_Sticker& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CEconItemPreviewDataBlock.Sticker) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CEconItemPreviewDataBlock_Sticker::IsInitialized() const { - return true; -} - -void CEconItemPreviewDataBlock_Sticker::InternalSwap(CEconItemPreviewDataBlock_Sticker* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CEconItemPreviewDataBlock_Sticker, _impl_.highlight_reel_) - + sizeof(CEconItemPreviewDataBlock_Sticker::_impl_.highlight_reel_) - - PROTOBUF_FIELD_OFFSET(CEconItemPreviewDataBlock_Sticker, _impl_.slot_)>( - reinterpret_cast(&_impl_.slot_), - reinterpret_cast(&other->_impl_.slot_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CEconItemPreviewDataBlock_Sticker::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[82]); -} - -// =================================================================== - -class CEconItemPreviewDataBlock::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_itemid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_defindex(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_paintindex(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_rarity(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_quality(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_paintwear(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_paintseed(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_killeaterscoretype(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_killeatervalue(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_customname(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_inventory(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_questid(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_dropreason(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_musicindex(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_entindex(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_petindex(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } - static void set_has_style(HasBits* has_bits) { - (*has_bits)[0] |= 262144u; - } - static void set_has_upgrade_level(HasBits* has_bits) { - (*has_bits)[0] |= 524288u; - } -}; - -CEconItemPreviewDataBlock::CEconItemPreviewDataBlock(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CEconItemPreviewDataBlock) -} -CEconItemPreviewDataBlock::CEconItemPreviewDataBlock(const CEconItemPreviewDataBlock& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CEconItemPreviewDataBlock* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.stickers_){from._impl_.stickers_} - , decltype(_impl_.keychains_){from._impl_.keychains_} - , decltype(_impl_.variations_){from._impl_.variations_} - , decltype(_impl_.customname_){} - , decltype(_impl_.itemid_){} - , decltype(_impl_.accountid_){} - , decltype(_impl_.defindex_){} - , decltype(_impl_.paintindex_){} - , decltype(_impl_.rarity_){} - , decltype(_impl_.quality_){} - , decltype(_impl_.paintwear_){} - , decltype(_impl_.paintseed_){} - , decltype(_impl_.killeaterscoretype_){} - , decltype(_impl_.killeatervalue_){} - , decltype(_impl_.inventory_){} - , decltype(_impl_.origin_){} - , decltype(_impl_.questid_){} - , decltype(_impl_.dropreason_){} - , decltype(_impl_.musicindex_){} - , decltype(_impl_.entindex_){} - , decltype(_impl_.petindex_){} - , decltype(_impl_.style_){} - , decltype(_impl_.upgrade_level_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.customname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.customname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_customname()) { - _this->_impl_.customname_.Set(from._internal_customname(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.itemid_, &from._impl_.itemid_, - static_cast(reinterpret_cast(&_impl_.upgrade_level_) - - reinterpret_cast(&_impl_.itemid_)) + sizeof(_impl_.upgrade_level_)); - // @@protoc_insertion_point(copy_constructor:CEconItemPreviewDataBlock) -} - -inline void CEconItemPreviewDataBlock::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.stickers_){arena} - , decltype(_impl_.keychains_){arena} - , decltype(_impl_.variations_){arena} - , decltype(_impl_.customname_){} - , decltype(_impl_.itemid_){uint64_t{0u}} - , decltype(_impl_.accountid_){0u} - , decltype(_impl_.defindex_){0u} - , decltype(_impl_.paintindex_){0u} - , decltype(_impl_.rarity_){0u} - , decltype(_impl_.quality_){0u} - , decltype(_impl_.paintwear_){0u} - , decltype(_impl_.paintseed_){0u} - , decltype(_impl_.killeaterscoretype_){0u} - , decltype(_impl_.killeatervalue_){0u} - , decltype(_impl_.inventory_){0u} - , decltype(_impl_.origin_){0u} - , decltype(_impl_.questid_){0u} - , decltype(_impl_.dropreason_){0u} - , decltype(_impl_.musicindex_){0u} - , decltype(_impl_.entindex_){0} - , decltype(_impl_.petindex_){0u} - , decltype(_impl_.style_){0u} - , decltype(_impl_.upgrade_level_){0u} - }; - _impl_.customname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.customname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CEconItemPreviewDataBlock::~CEconItemPreviewDataBlock() { - // @@protoc_insertion_point(destructor:CEconItemPreviewDataBlock) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CEconItemPreviewDataBlock::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.stickers_.~RepeatedPtrField(); - _impl_.keychains_.~RepeatedPtrField(); - _impl_.variations_.~RepeatedPtrField(); - _impl_.customname_.Destroy(); -} - -void CEconItemPreviewDataBlock::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CEconItemPreviewDataBlock::Clear() { -// @@protoc_insertion_point(message_clear_start:CEconItemPreviewDataBlock) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.stickers_.Clear(); - _impl_.keychains_.Clear(); - _impl_.variations_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.customname_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x000000feu) { - ::memset(&_impl_.itemid_, 0, static_cast( - reinterpret_cast(&_impl_.paintwear_) - - reinterpret_cast(&_impl_.itemid_)) + sizeof(_impl_.paintwear_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.paintseed_, 0, static_cast( - reinterpret_cast(&_impl_.musicindex_) - - reinterpret_cast(&_impl_.paintseed_)) + sizeof(_impl_.musicindex_)); - } - if (cached_has_bits & 0x000f0000u) { - ::memset(&_impl_.entindex_, 0, static_cast( - reinterpret_cast(&_impl_.upgrade_level_) - - reinterpret_cast(&_impl_.entindex_)) + sizeof(_impl_.upgrade_level_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CEconItemPreviewDataBlock::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 accountid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 itemid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_itemid(&has_bits); - _impl_.itemid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 defindex = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_defindex(&has_bits); - _impl_.defindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 paintindex = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_paintindex(&has_bits); - _impl_.paintindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rarity = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_rarity(&has_bits); - _impl_.rarity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 quality = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_quality(&has_bits); - _impl_.quality_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 paintwear = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_paintwear(&has_bits); - _impl_.paintwear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 paintseed = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_paintseed(&has_bits); - _impl_.paintseed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 killeaterscoretype = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_killeaterscoretype(&has_bits); - _impl_.killeaterscoretype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 killeatervalue = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_killeatervalue(&has_bits); - _impl_.killeatervalue_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string customname = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_customname(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CEconItemPreviewDataBlock.customname"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated .CEconItemPreviewDataBlock.Sticker stickers = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_stickers(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<98>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 inventory = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_inventory(&has_bits); - _impl_.inventory_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 origin = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_origin(&has_bits); - _impl_.origin_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 questid = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_questid(&has_bits); - _impl_.questid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 dropreason = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_dropreason(&has_bits); - _impl_.dropreason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 musicindex = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_musicindex(&has_bits); - _impl_.musicindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 entindex = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_entindex(&has_bits); - _impl_.entindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 petindex = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_petindex(&has_bits); - _impl_.petindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CEconItemPreviewDataBlock.Sticker keychains = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(_internal_add_keychains(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<162>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 style = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { - _Internal::set_has_style(&has_bits); - _impl_.style_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CEconItemPreviewDataBlock.Sticker variations = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 178)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(_internal_add_variations(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<178>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 upgrade_level = 23; - case 23: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 184)) { - _Internal::set_has_upgrade_level(&has_bits); - _impl_.upgrade_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CEconItemPreviewDataBlock::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CEconItemPreviewDataBlock) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); - } - - // optional uint64 itemid = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_itemid(), target); - } - - // optional uint32 defindex = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_defindex(), target); - } - - // optional uint32 paintindex = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_paintindex(), target); - } - - // optional uint32 rarity = 5; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_rarity(), target); - } - - // optional uint32 quality = 6; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_quality(), target); - } - - // optional uint32 paintwear = 7; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_paintwear(), target); - } - - // optional uint32 paintseed = 8; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_paintseed(), target); - } - - // optional uint32 killeaterscoretype = 9; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_killeaterscoretype(), target); - } - - // optional uint32 killeatervalue = 10; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_killeatervalue(), target); - } - - // optional string customname = 11; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_customname().data(), static_cast(this->_internal_customname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CEconItemPreviewDataBlock.customname"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_customname(), target); - } - - // repeated .CEconItemPreviewDataBlock.Sticker stickers = 12; - for (unsigned i = 0, - n = static_cast(this->_internal_stickers_size()); i < n; i++) { - const auto& repfield = this->_internal_stickers(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(12, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 inventory = 13; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_inventory(), target); - } - - // optional uint32 origin = 14; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_origin(), target); - } - - // optional uint32 questid = 15; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_questid(), target); - } - - // optional uint32 dropreason = 16; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_dropreason(), target); - } - - // optional uint32 musicindex = 17; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_musicindex(), target); - } - - // optional int32 entindex = 18; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(18, this->_internal_entindex(), target); - } - - // optional uint32 petindex = 19; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_petindex(), target); - } - - // repeated .CEconItemPreviewDataBlock.Sticker keychains = 20; - for (unsigned i = 0, - n = static_cast(this->_internal_keychains_size()); i < n; i++) { - const auto& repfield = this->_internal_keychains(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(20, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 style = 21; - if (cached_has_bits & 0x00040000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_style(), target); - } - - // repeated .CEconItemPreviewDataBlock.Sticker variations = 22; - for (unsigned i = 0, - n = static_cast(this->_internal_variations_size()); i < n; i++) { - const auto& repfield = this->_internal_variations(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(22, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 upgrade_level = 23; - if (cached_has_bits & 0x00080000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(23, this->_internal_upgrade_level(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CEconItemPreviewDataBlock) - return target; -} - -size_t CEconItemPreviewDataBlock::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CEconItemPreviewDataBlock) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CEconItemPreviewDataBlock.Sticker stickers = 12; - total_size += 1UL * this->_internal_stickers_size(); - for (const auto& msg : this->_impl_.stickers_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CEconItemPreviewDataBlock.Sticker keychains = 20; - total_size += 2UL * this->_internal_keychains_size(); - for (const auto& msg : this->_impl_.keychains_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CEconItemPreviewDataBlock.Sticker variations = 22; - total_size += 2UL * this->_internal_variations_size(); - for (const auto& msg : this->_impl_.variations_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string customname = 11; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_customname()); - } - - // optional uint64 itemid = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_itemid()); - } - - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - // optional uint32 defindex = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_defindex()); - } - - // optional uint32 paintindex = 4; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_paintindex()); - } - - // optional uint32 rarity = 5; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rarity()); - } - - // optional uint32 quality = 6; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_quality()); - } - - // optional uint32 paintwear = 7; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_paintwear()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional uint32 paintseed = 8; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_paintseed()); - } - - // optional uint32 killeaterscoretype = 9; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_killeaterscoretype()); - } - - // optional uint32 killeatervalue = 10; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_killeatervalue()); - } - - // optional uint32 inventory = 13; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_inventory()); - } - - // optional uint32 origin = 14; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_origin()); - } - - // optional uint32 questid = 15; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_questid()); - } - - // optional uint32 dropreason = 16; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_dropreason()); - } - - // optional uint32 musicindex = 17; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_musicindex()); - } - - } - if (cached_has_bits & 0x000f0000u) { - // optional int32 entindex = 18; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + - ::_pbi::WireFormatLite::Int32Size( - this->_internal_entindex()); - } - - // optional uint32 petindex = 19; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_petindex()); - } - - // optional uint32 style = 21; - if (cached_has_bits & 0x00040000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_style()); - } - - // optional uint32 upgrade_level = 23; - if (cached_has_bits & 0x00080000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_upgrade_level()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEconItemPreviewDataBlock::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CEconItemPreviewDataBlock::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEconItemPreviewDataBlock::GetClassData() const { return &_class_data_; } - - -void CEconItemPreviewDataBlock::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CEconItemPreviewDataBlock) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.stickers_.MergeFrom(from._impl_.stickers_); - _this->_impl_.keychains_.MergeFrom(from._impl_.keychains_); - _this->_impl_.variations_.MergeFrom(from._impl_.variations_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_customname(from._internal_customname()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.itemid_ = from._impl_.itemid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.accountid_ = from._impl_.accountid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.defindex_ = from._impl_.defindex_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.paintindex_ = from._impl_.paintindex_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.rarity_ = from._impl_.rarity_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.quality_ = from._impl_.quality_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.paintwear_ = from._impl_.paintwear_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.paintseed_ = from._impl_.paintseed_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.killeaterscoretype_ = from._impl_.killeaterscoretype_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.killeatervalue_ = from._impl_.killeatervalue_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.inventory_ = from._impl_.inventory_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.origin_ = from._impl_.origin_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.questid_ = from._impl_.questid_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.dropreason_ = from._impl_.dropreason_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.musicindex_ = from._impl_.musicindex_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x000f0000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.entindex_ = from._impl_.entindex_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.petindex_ = from._impl_.petindex_; - } - if (cached_has_bits & 0x00040000u) { - _this->_impl_.style_ = from._impl_.style_; - } - if (cached_has_bits & 0x00080000u) { - _this->_impl_.upgrade_level_ = from._impl_.upgrade_level_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CEconItemPreviewDataBlock::CopyFrom(const CEconItemPreviewDataBlock& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CEconItemPreviewDataBlock) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CEconItemPreviewDataBlock::IsInitialized() const { - return true; -} - -void CEconItemPreviewDataBlock::InternalSwap(CEconItemPreviewDataBlock* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.stickers_.InternalSwap(&other->_impl_.stickers_); - _impl_.keychains_.InternalSwap(&other->_impl_.keychains_); - _impl_.variations_.InternalSwap(&other->_impl_.variations_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.customname_, lhs_arena, - &other->_impl_.customname_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CEconItemPreviewDataBlock, _impl_.upgrade_level_) - + sizeof(CEconItemPreviewDataBlock::_impl_.upgrade_level_) - - PROTOBUF_FIELD_OFFSET(CEconItemPreviewDataBlock, _impl_.itemid_)>( - reinterpret_cast(&_impl_.itemid_), - reinterpret_cast(&other->_impl_.itemid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CEconItemPreviewDataBlock::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[83]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CEconItemPreviewDataBlock& iteminfo(const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* msg); - static void set_has_iteminfo(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CEconItemPreviewDataBlock& -CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::_Internal::iteminfo(const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* msg) { - return *msg->_impl_.iteminfo_; -} -CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) -} -CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification(const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.iteminfo_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_iteminfo()) { - _this->_impl_.iteminfo_ = new ::CEconItemPreviewDataBlock(*from._impl_.iteminfo_); - } - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) -} - -inline void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.iteminfo_){nullptr} - }; -} - -CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::~CMsgGCCStrike15_v2_MatchEndRewardDropsNotification() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.iteminfo_; -} - -void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.iteminfo_ != nullptr); - _impl_.iteminfo_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CEconItemPreviewDataBlock iteminfo = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_iteminfo(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CEconItemPreviewDataBlock iteminfo = 6; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::iteminfo(this), - _Internal::iteminfo(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CEconItemPreviewDataBlock iteminfo = 6; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.iteminfo_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_iteminfo()) { - _this->_internal_mutable_iteminfo()->::CEconItemPreviewDataBlock::MergeFrom( - from._internal_iteminfo()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::CopyFrom(const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::InternalSwap(CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.iteminfo_, other->_impl_.iteminfo_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[84]); -} - -// =================================================================== - -class CMsgItemAcknowledged::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CEconItemPreviewDataBlock& iteminfo(const CMsgItemAcknowledged* msg); - static void set_has_iteminfo(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CEconItemPreviewDataBlock& -CMsgItemAcknowledged::_Internal::iteminfo(const CMsgItemAcknowledged* msg) { - return *msg->_impl_.iteminfo_; -} -CMsgItemAcknowledged::CMsgItemAcknowledged(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgItemAcknowledged) -} -CMsgItemAcknowledged::CMsgItemAcknowledged(const CMsgItemAcknowledged& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgItemAcknowledged* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.iteminfo_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_iteminfo()) { - _this->_impl_.iteminfo_ = new ::CEconItemPreviewDataBlock(*from._impl_.iteminfo_); - } - // @@protoc_insertion_point(copy_constructor:CMsgItemAcknowledged) -} - -inline void CMsgItemAcknowledged::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.iteminfo_){nullptr} - }; -} - -CMsgItemAcknowledged::~CMsgItemAcknowledged() { - // @@protoc_insertion_point(destructor:CMsgItemAcknowledged) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgItemAcknowledged::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.iteminfo_; -} - -void CMsgItemAcknowledged::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgItemAcknowledged::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgItemAcknowledged) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.iteminfo_ != nullptr); - _impl_.iteminfo_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgItemAcknowledged::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CEconItemPreviewDataBlock iteminfo = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_iteminfo(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgItemAcknowledged::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgItemAcknowledged) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CEconItemPreviewDataBlock iteminfo = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::iteminfo(this), - _Internal::iteminfo(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgItemAcknowledged) - return target; -} - -size_t CMsgItemAcknowledged::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgItemAcknowledged) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CEconItemPreviewDataBlock iteminfo = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.iteminfo_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgItemAcknowledged::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgItemAcknowledged::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgItemAcknowledged::GetClassData() const { return &_class_data_; } - - -void CMsgItemAcknowledged::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgItemAcknowledged) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_iteminfo()) { - _this->_internal_mutable_iteminfo()->::CEconItemPreviewDataBlock::MergeFrom( - from._internal_iteminfo()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgItemAcknowledged::CopyFrom(const CMsgItemAcknowledged& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgItemAcknowledged) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgItemAcknowledged::IsInitialized() const { - return true; -} - -void CMsgItemAcknowledged::InternalSwap(CMsgItemAcknowledged* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.iteminfo_, other->_impl_.iteminfo_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgItemAcknowledged::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[85]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_param_s(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_param_a(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_param_d(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_param_m(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) -} -CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.param_s_){} - , decltype(_impl_.param_a_){} - , decltype(_impl_.param_d_){} - , decltype(_impl_.param_m_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.param_s_, &from._impl_.param_s_, - static_cast(reinterpret_cast(&_impl_.param_m_) - - reinterpret_cast(&_impl_.param_s_)) + sizeof(_impl_.param_m_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) -} - -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.param_s_){uint64_t{0u}} - , decltype(_impl_.param_a_){uint64_t{0u}} - , decltype(_impl_.param_d_){uint64_t{0u}} - , decltype(_impl_.param_m_){uint64_t{0u}} - }; -} - -CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::~CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.param_s_, 0, static_cast( - reinterpret_cast(&_impl_.param_m_) - - reinterpret_cast(&_impl_.param_s_)) + sizeof(_impl_.param_m_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 param_s = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_param_s(&has_bits); - _impl_.param_s_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 param_a = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_param_a(&has_bits); - _impl_.param_a_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 param_d = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_param_d(&has_bits); - _impl_.param_d_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 param_m = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_param_m(&has_bits); - _impl_.param_m_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 param_s = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_param_s(), target); - } - - // optional uint64 param_a = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_param_a(), target); - } - - // optional uint64 param_d = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_param_d(), target); - } - - // optional uint64 param_m = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_param_m(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) - return target; -} - -size_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint64 param_s = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_param_s()); - } - - // optional uint64 param_a = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_param_a()); - } - - // optional uint64 param_d = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_param_d()); - } - - // optional uint64 param_m = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_param_m()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.param_s_ = from._impl_.param_s_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.param_a_ = from._impl_.param_a_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.param_d_ = from._impl_.param_d_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.param_m_ = from._impl_.param_m_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::CopyFrom(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::InternalSwap(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest, _impl_.param_m_) - + sizeof(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_impl_.param_m_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest, _impl_.param_s_)>( - reinterpret_cast(&_impl_.param_s_), - reinterpret_cast(&other->_impl_.param_s_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[86]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CEconItemPreviewDataBlock& iteminfo(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* msg); - static void set_has_iteminfo(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CEconItemPreviewDataBlock& -CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::_Internal::iteminfo(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* msg) { - return *msg->_impl_.iteminfo_; -} -CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) -} -CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.iteminfo_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_iteminfo()) { - _this->_impl_.iteminfo_ = new ::CEconItemPreviewDataBlock(*from._impl_.iteminfo_); - } - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) -} - -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.iteminfo_){nullptr} - }; -} - -CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::~CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.iteminfo_; -} - -void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.iteminfo_ != nullptr); - _impl_.iteminfo_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CEconItemPreviewDataBlock iteminfo = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_iteminfo(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CEconItemPreviewDataBlock iteminfo = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::iteminfo(this), - _Internal::iteminfo(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) - return target; -} - -size_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CEconItemPreviewDataBlock iteminfo = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.iteminfo_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_iteminfo()) { - _this->_internal_mutable_iteminfo()->::CEconItemPreviewDataBlock::MergeFrom( - from._internal_iteminfo()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::CopyFrom(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::InternalSwap(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.iteminfo_, other->_impl_.iteminfo_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[87]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames::_Internal { - public: -}; - -CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames) -} -CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames(const CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[88]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) -} -CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser(const CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.accountid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.accountid_ = from._impl_.accountid_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) -} - -inline void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.accountid_){0u} - }; -} - -CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::~CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.accountid_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 accountid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 accountid = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_accountid()) { - _this->_internal_set_accountid(from._internal_accountid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::CopyFrom(const CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::InternalSwap(CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.accountid_, other->_impl_.accountid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[89]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) -} -CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames(const CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchListRequestRecentUserGames* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.accountid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.accountid_ = from._impl_.accountid_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) -} - -inline void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.accountid_){0u} - }; -} - -CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::~CMsgGCCStrike15_v2_MatchListRequestRecentUserGames() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.accountid_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 accountid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 accountid = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_accountid()) { - _this->_internal_set_accountid(from._internal_accountid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::CopyFrom(const CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::InternalSwap(CMsgGCCStrike15_v2_MatchListRequestRecentUserGames* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.accountid_, other->_impl_.accountid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[90]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchListRequestTournamentGames::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_eventid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_MatchListRequestTournamentGames::CMsgGCCStrike15_v2_MatchListRequestTournamentGames(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) -} -CMsgGCCStrike15_v2_MatchListRequestTournamentGames::CMsgGCCStrike15_v2_MatchListRequestTournamentGames(const CMsgGCCStrike15_v2_MatchListRequestTournamentGames& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchListRequestTournamentGames* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.eventid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.eventid_ = from._impl_.eventid_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) -} - -inline void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.eventid_){0} - }; -} - -CMsgGCCStrike15_v2_MatchListRequestTournamentGames::~CMsgGCCStrike15_v2_MatchListRequestTournamentGames() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.eventid_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchListRequestTournamentGames::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 eventid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_eventid(&has_bits); - _impl_.eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchListRequestTournamentGames::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 eventid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_eventid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchListRequestTournamentGames::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 eventid = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eventid()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchListRequestTournamentGames::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchListRequestTournamentGames::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchListRequestTournamentGames::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_eventid()) { - _this->_internal_set_eventid(from._internal_eventid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::CopyFrom(const CMsgGCCStrike15_v2_MatchListRequestTournamentGames& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchListRequestTournamentGames::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::InternalSwap(CMsgGCCStrike15_v2_MatchListRequestTournamentGames* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.eventid_, other->_impl_.eventid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchListRequestTournamentGames::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[91]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_matchid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_outcomeid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_token(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) -} -CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo(const CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchListRequestFullGameInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.matchid_){} - , decltype(_impl_.outcomeid_){} - , decltype(_impl_.token_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.matchid_, &from._impl_.matchid_, - static_cast(reinterpret_cast(&_impl_.token_) - - reinterpret_cast(&_impl_.matchid_)) + sizeof(_impl_.token_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) -} - -inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.matchid_){uint64_t{0u}} - , decltype(_impl_.outcomeid_){uint64_t{0u}} - , decltype(_impl_.token_){0u} - }; -} - -CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::~CMsgGCCStrike15_v2_MatchListRequestFullGameInfo() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.matchid_, 0, static_cast( - reinterpret_cast(&_impl_.token_) - - reinterpret_cast(&_impl_.matchid_)) + sizeof(_impl_.token_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 matchid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_matchid(&has_bits); - _impl_.matchid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 outcomeid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_outcomeid(&has_bits); - _impl_.outcomeid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 token = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_token(&has_bits); - _impl_.token_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 matchid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_matchid(), target); - } - - // optional uint64 outcomeid = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_outcomeid(), target); - } - - // optional uint32 token = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_token(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint64 matchid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_matchid()); - } - - // optional uint64 outcomeid = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_outcomeid()); - } - - // optional uint32 token = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_token()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.matchid_ = from._impl_.matchid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.outcomeid_ = from._impl_.outcomeid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.token_ = from._impl_.token_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::CopyFrom(const CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::InternalSwap(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo, _impl_.token_) - + sizeof(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_impl_.token_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo, _impl_.matchid_)>( - reinterpret_cast(&_impl_.matchid_), - reinterpret_cast(&other->_impl_.matchid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[92]); -} - -// =================================================================== - -class CDataGCCStrike15_v2_MatchInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_matchid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_matchtime(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::WatchableMatchInfo& watchablematchinfo(const CDataGCCStrike15_v2_MatchInfo* msg); - static void set_has_watchablematchinfo(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& roundstats_legacy(const CDataGCCStrike15_v2_MatchInfo* msg); - static void set_has_roundstats_legacy(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::WatchableMatchInfo& -CDataGCCStrike15_v2_MatchInfo::_Internal::watchablematchinfo(const CDataGCCStrike15_v2_MatchInfo* msg) { - return *msg->_impl_.watchablematchinfo_; -} -const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& -CDataGCCStrike15_v2_MatchInfo::_Internal::roundstats_legacy(const CDataGCCStrike15_v2_MatchInfo* msg) { - return *msg->_impl_.roundstats_legacy_; -} -CDataGCCStrike15_v2_MatchInfo::CDataGCCStrike15_v2_MatchInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDataGCCStrike15_v2_MatchInfo) -} -CDataGCCStrike15_v2_MatchInfo::CDataGCCStrike15_v2_MatchInfo(const CDataGCCStrike15_v2_MatchInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDataGCCStrike15_v2_MatchInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.roundstatsall_){from._impl_.roundstatsall_} - , decltype(_impl_.watchablematchinfo_){nullptr} - , decltype(_impl_.roundstats_legacy_){nullptr} - , decltype(_impl_.matchid_){} - , decltype(_impl_.matchtime_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_watchablematchinfo()) { - _this->_impl_.watchablematchinfo_ = new ::WatchableMatchInfo(*from._impl_.watchablematchinfo_); - } - if (from._internal_has_roundstats_legacy()) { - _this->_impl_.roundstats_legacy_ = new ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats(*from._impl_.roundstats_legacy_); - } - ::memcpy(&_impl_.matchid_, &from._impl_.matchid_, - static_cast(reinterpret_cast(&_impl_.matchtime_) - - reinterpret_cast(&_impl_.matchid_)) + sizeof(_impl_.matchtime_)); - // @@protoc_insertion_point(copy_constructor:CDataGCCStrike15_v2_MatchInfo) -} - -inline void CDataGCCStrike15_v2_MatchInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.roundstatsall_){arena} - , decltype(_impl_.watchablematchinfo_){nullptr} - , decltype(_impl_.roundstats_legacy_){nullptr} - , decltype(_impl_.matchid_){uint64_t{0u}} - , decltype(_impl_.matchtime_){0u} - }; -} - -CDataGCCStrike15_v2_MatchInfo::~CDataGCCStrike15_v2_MatchInfo() { - // @@protoc_insertion_point(destructor:CDataGCCStrike15_v2_MatchInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDataGCCStrike15_v2_MatchInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.roundstatsall_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.watchablematchinfo_; - if (this != internal_default_instance()) delete _impl_.roundstats_legacy_; -} - -void CDataGCCStrike15_v2_MatchInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDataGCCStrike15_v2_MatchInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CDataGCCStrike15_v2_MatchInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.roundstatsall_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.watchablematchinfo_ != nullptr); - _impl_.watchablematchinfo_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.roundstats_legacy_ != nullptr); - _impl_.roundstats_legacy_->Clear(); - } - } - if (cached_has_bits & 0x0000000cu) { - ::memset(&_impl_.matchid_, 0, static_cast( - reinterpret_cast(&_impl_.matchtime_) - - reinterpret_cast(&_impl_.matchid_)) + sizeof(_impl_.matchtime_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDataGCCStrike15_v2_MatchInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 matchid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_matchid(&has_bits); - _impl_.matchid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 matchtime = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_matchtime(&has_bits); - _impl_.matchtime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .WatchableMatchInfo watchablematchinfo = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_watchablematchinfo(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstats_legacy = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_roundstats_legacy(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstatsall = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_roundstatsall(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDataGCCStrike15_v2_MatchInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDataGCCStrike15_v2_MatchInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 matchid = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_matchid(), target); - } - - // optional uint32 matchtime = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_matchtime(), target); - } - - // optional .WatchableMatchInfo watchablematchinfo = 3; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::watchablematchinfo(this), - _Internal::watchablematchinfo(this).GetCachedSize(), target, stream); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstats_legacy = 4; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::roundstats_legacy(this), - _Internal::roundstats_legacy(this).GetCachedSize(), target, stream); - } - - // repeated .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstatsall = 5; - for (unsigned i = 0, - n = static_cast(this->_internal_roundstatsall_size()); i < n; i++) { - const auto& repfield = this->_internal_roundstatsall(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDataGCCStrike15_v2_MatchInfo) - return target; -} - -size_t CDataGCCStrike15_v2_MatchInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDataGCCStrike15_v2_MatchInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstatsall = 5; - total_size += 1UL * this->_internal_roundstatsall_size(); - for (const auto& msg : this->_impl_.roundstatsall_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional .WatchableMatchInfo watchablematchinfo = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.watchablematchinfo_); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstats_legacy = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.roundstats_legacy_); - } - - // optional uint64 matchid = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_matchid()); - } - - // optional uint32 matchtime = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_matchtime()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDataGCCStrike15_v2_MatchInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDataGCCStrike15_v2_MatchInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDataGCCStrike15_v2_MatchInfo::GetClassData() const { return &_class_data_; } - - -void CDataGCCStrike15_v2_MatchInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDataGCCStrike15_v2_MatchInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.roundstatsall_.MergeFrom(from._impl_.roundstatsall_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_watchablematchinfo()->::WatchableMatchInfo::MergeFrom( - from._internal_watchablematchinfo()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_roundstats_legacy()->::CMsgGCCStrike15_v2_MatchmakingServerRoundStats::MergeFrom( - from._internal_roundstats_legacy()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.matchid_ = from._impl_.matchid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.matchtime_ = from._impl_.matchtime_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDataGCCStrike15_v2_MatchInfo::CopyFrom(const CDataGCCStrike15_v2_MatchInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDataGCCStrike15_v2_MatchInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDataGCCStrike15_v2_MatchInfo::IsInitialized() const { - return true; -} - -void CDataGCCStrike15_v2_MatchInfo::InternalSwap(CDataGCCStrike15_v2_MatchInfo* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.roundstatsall_.InternalSwap(&other->_impl_.roundstatsall_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_MatchInfo, _impl_.matchtime_) - + sizeof(CDataGCCStrike15_v2_MatchInfo::_impl_.matchtime_) - - PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_MatchInfo, _impl_.watchablematchinfo_)>( - reinterpret_cast(&_impl_.watchablematchinfo_), - reinterpret_cast(&other->_impl_.watchablematchinfo_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDataGCCStrike15_v2_MatchInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[93]); -} - -// =================================================================== - -class CDataGCCStrike15_v2_TournamentGroupTeam::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_team_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_score(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_correctpick(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CDataGCCStrike15_v2_TournamentGroupTeam::CDataGCCStrike15_v2_TournamentGroupTeam(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDataGCCStrike15_v2_TournamentGroupTeam) -} -CDataGCCStrike15_v2_TournamentGroupTeam::CDataGCCStrike15_v2_TournamentGroupTeam(const CDataGCCStrike15_v2_TournamentGroupTeam& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDataGCCStrike15_v2_TournamentGroupTeam* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.team_id_){} - , decltype(_impl_.score_){} - , decltype(_impl_.correctpick_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.team_id_, &from._impl_.team_id_, - static_cast(reinterpret_cast(&_impl_.correctpick_) - - reinterpret_cast(&_impl_.team_id_)) + sizeof(_impl_.correctpick_)); - // @@protoc_insertion_point(copy_constructor:CDataGCCStrike15_v2_TournamentGroupTeam) -} - -inline void CDataGCCStrike15_v2_TournamentGroupTeam::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.team_id_){0} - , decltype(_impl_.score_){0} - , decltype(_impl_.correctpick_){false} - }; -} - -CDataGCCStrike15_v2_TournamentGroupTeam::~CDataGCCStrike15_v2_TournamentGroupTeam() { - // @@protoc_insertion_point(destructor:CDataGCCStrike15_v2_TournamentGroupTeam) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDataGCCStrike15_v2_TournamentGroupTeam::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CDataGCCStrike15_v2_TournamentGroupTeam::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDataGCCStrike15_v2_TournamentGroupTeam::Clear() { -// @@protoc_insertion_point(message_clear_start:CDataGCCStrike15_v2_TournamentGroupTeam) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.team_id_, 0, static_cast( - reinterpret_cast(&_impl_.correctpick_) - - reinterpret_cast(&_impl_.team_id_)) + sizeof(_impl_.correctpick_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDataGCCStrike15_v2_TournamentGroupTeam::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 team_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_team_id(&has_bits); - _impl_.team_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 score = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_score(&has_bits); - _impl_.score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool correctpick = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_correctpick(&has_bits); - _impl_.correctpick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDataGCCStrike15_v2_TournamentGroupTeam::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDataGCCStrike15_v2_TournamentGroupTeam) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 team_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_team_id(), target); - } - - // optional int32 score = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_score(), target); - } - - // optional bool correctpick = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_correctpick(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDataGCCStrike15_v2_TournamentGroupTeam) - return target; -} - -size_t CDataGCCStrike15_v2_TournamentGroupTeam::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDataGCCStrike15_v2_TournamentGroupTeam) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 team_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_id()); - } - - // optional int32 score = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_score()); - } - - // optional bool correctpick = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDataGCCStrike15_v2_TournamentGroupTeam::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDataGCCStrike15_v2_TournamentGroupTeam::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDataGCCStrike15_v2_TournamentGroupTeam::GetClassData() const { return &_class_data_; } - - -void CDataGCCStrike15_v2_TournamentGroupTeam::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDataGCCStrike15_v2_TournamentGroupTeam) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.team_id_ = from._impl_.team_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.score_ = from._impl_.score_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.correctpick_ = from._impl_.correctpick_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDataGCCStrike15_v2_TournamentGroupTeam::CopyFrom(const CDataGCCStrike15_v2_TournamentGroupTeam& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDataGCCStrike15_v2_TournamentGroupTeam) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDataGCCStrike15_v2_TournamentGroupTeam::IsInitialized() const { - return true; -} - -void CDataGCCStrike15_v2_TournamentGroupTeam::InternalSwap(CDataGCCStrike15_v2_TournamentGroupTeam* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_TournamentGroupTeam, _impl_.correctpick_) - + sizeof(CDataGCCStrike15_v2_TournamentGroupTeam::_impl_.correctpick_) - - PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_TournamentGroupTeam, _impl_.team_id_)>( - reinterpret_cast(&_impl_.team_id_), - reinterpret_cast(&other->_impl_.team_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDataGCCStrike15_v2_TournamentGroupTeam::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[94]); -} - -// =================================================================== - -class CDataGCCStrike15_v2_TournamentGroup_Picks::_Internal { - public: -}; - -CDataGCCStrike15_v2_TournamentGroup_Picks::CDataGCCStrike15_v2_TournamentGroup_Picks(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDataGCCStrike15_v2_TournamentGroup.Picks) -} -CDataGCCStrike15_v2_TournamentGroup_Picks::CDataGCCStrike15_v2_TournamentGroup_Picks(const CDataGCCStrike15_v2_TournamentGroup_Picks& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDataGCCStrike15_v2_TournamentGroup_Picks* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.pickids_){from._impl_.pickids_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CDataGCCStrike15_v2_TournamentGroup.Picks) -} - -inline void CDataGCCStrike15_v2_TournamentGroup_Picks::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.pickids_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CDataGCCStrike15_v2_TournamentGroup_Picks::~CDataGCCStrike15_v2_TournamentGroup_Picks() { - // @@protoc_insertion_point(destructor:CDataGCCStrike15_v2_TournamentGroup.Picks) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDataGCCStrike15_v2_TournamentGroup_Picks::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.pickids_.~RepeatedField(); -} - -void CDataGCCStrike15_v2_TournamentGroup_Picks::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDataGCCStrike15_v2_TournamentGroup_Picks::Clear() { -// @@protoc_insertion_point(message_clear_start:CDataGCCStrike15_v2_TournamentGroup.Picks) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.pickids_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDataGCCStrike15_v2_TournamentGroup_Picks::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated int32 pickids = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_pickids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<8>(ptr)); - } else if (static_cast(tag) == 10) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_pickids(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDataGCCStrike15_v2_TournamentGroup_Picks::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDataGCCStrike15_v2_TournamentGroup.Picks) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated int32 pickids = 1; - for (int i = 0, n = this->_internal_pickids_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_pickids(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDataGCCStrike15_v2_TournamentGroup.Picks) - return target; -} - -size_t CDataGCCStrike15_v2_TournamentGroup_Picks::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDataGCCStrike15_v2_TournamentGroup.Picks) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated int32 pickids = 1; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.pickids_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_pickids_size()); - total_size += data_size; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDataGCCStrike15_v2_TournamentGroup_Picks::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDataGCCStrike15_v2_TournamentGroup_Picks::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDataGCCStrike15_v2_TournamentGroup_Picks::GetClassData() const { return &_class_data_; } - - -void CDataGCCStrike15_v2_TournamentGroup_Picks::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDataGCCStrike15_v2_TournamentGroup.Picks) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.pickids_.MergeFrom(from._impl_.pickids_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDataGCCStrike15_v2_TournamentGroup_Picks::CopyFrom(const CDataGCCStrike15_v2_TournamentGroup_Picks& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDataGCCStrike15_v2_TournamentGroup.Picks) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDataGCCStrike15_v2_TournamentGroup_Picks::IsInitialized() const { - return true; -} - -void CDataGCCStrike15_v2_TournamentGroup_Picks::InternalSwap(CDataGCCStrike15_v2_TournamentGroup_Picks* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.pickids_.InternalSwap(&other->_impl_.pickids_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDataGCCStrike15_v2_TournamentGroup_Picks::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[95]); -} - -// =================================================================== - -class CDataGCCStrike15_v2_TournamentGroup::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_groupid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_desc(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_picks__deprecated(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_picklockuntiltime(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_pickableteams(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_points_per_pick(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } -}; - -CDataGCCStrike15_v2_TournamentGroup::CDataGCCStrike15_v2_TournamentGroup(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDataGCCStrike15_v2_TournamentGroup) -} -CDataGCCStrike15_v2_TournamentGroup::CDataGCCStrike15_v2_TournamentGroup(const CDataGCCStrike15_v2_TournamentGroup& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDataGCCStrike15_v2_TournamentGroup* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.teams_){from._impl_.teams_} - , decltype(_impl_.stage_ids_){from._impl_.stage_ids_} - , decltype(_impl_.picks_){from._impl_.picks_} - , decltype(_impl_.name_){} - , decltype(_impl_.desc_){} - , decltype(_impl_.groupid_){} - , decltype(_impl_.picks__deprecated_){} - , decltype(_impl_.picklockuntiltime_){} - , decltype(_impl_.pickableteams_){} - , decltype(_impl_.points_per_pick_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.desc_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.desc_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_desc()) { - _this->_impl_.desc_.Set(from._internal_desc(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.groupid_, &from._impl_.groupid_, - static_cast(reinterpret_cast(&_impl_.points_per_pick_) - - reinterpret_cast(&_impl_.groupid_)) + sizeof(_impl_.points_per_pick_)); - // @@protoc_insertion_point(copy_constructor:CDataGCCStrike15_v2_TournamentGroup) -} - -inline void CDataGCCStrike15_v2_TournamentGroup::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.teams_){arena} - , decltype(_impl_.stage_ids_){arena} - , decltype(_impl_.picks_){arena} - , decltype(_impl_.name_){} - , decltype(_impl_.desc_){} - , decltype(_impl_.groupid_){0u} - , decltype(_impl_.picks__deprecated_){0u} - , decltype(_impl_.picklockuntiltime_){0u} - , decltype(_impl_.pickableteams_){0u} - , decltype(_impl_.points_per_pick_){0u} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.desc_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.desc_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CDataGCCStrike15_v2_TournamentGroup::~CDataGCCStrike15_v2_TournamentGroup() { - // @@protoc_insertion_point(destructor:CDataGCCStrike15_v2_TournamentGroup) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDataGCCStrike15_v2_TournamentGroup::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.teams_.~RepeatedPtrField(); - _impl_.stage_ids_.~RepeatedField(); - _impl_.picks_.~RepeatedPtrField(); - _impl_.name_.Destroy(); - _impl_.desc_.Destroy(); -} - -void CDataGCCStrike15_v2_TournamentGroup::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDataGCCStrike15_v2_TournamentGroup::Clear() { -// @@protoc_insertion_point(message_clear_start:CDataGCCStrike15_v2_TournamentGroup) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.teams_.Clear(); - _impl_.stage_ids_.Clear(); - _impl_.picks_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.desc_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000007cu) { - ::memset(&_impl_.groupid_, 0, static_cast( - reinterpret_cast(&_impl_.points_per_pick_) - - reinterpret_cast(&_impl_.groupid_)) + sizeof(_impl_.points_per_pick_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDataGCCStrike15_v2_TournamentGroup::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 groupid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_groupid(&has_bits); - _impl_.groupid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDataGCCStrike15_v2_TournamentGroup.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string desc = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_desc(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDataGCCStrike15_v2_TournamentGroup.desc"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 picks__deprecated = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_picks__deprecated(&has_bits); - _impl_.picks__deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CDataGCCStrike15_v2_TournamentGroupTeam teams = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_teams(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else - goto handle_unusual; - continue; - // repeated int32 stage_ids = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_stage_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<48>(ptr)); - } else if (static_cast(tag) == 50) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_stage_ids(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 picklockuntiltime = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_picklockuntiltime(&has_bits); - _impl_.picklockuntiltime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 pickableteams = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_pickableteams(&has_bits); - _impl_.pickableteams_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 points_per_pick = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_points_per_pick(&has_bits); - _impl_.points_per_pick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CDataGCCStrike15_v2_TournamentGroup.Picks picks = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_picks(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<82>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDataGCCStrike15_v2_TournamentGroup::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDataGCCStrike15_v2_TournamentGroup) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 groupid = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_groupid(), target); - } - - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDataGCCStrike15_v2_TournamentGroup.name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_name(), target); - } - - // optional string desc = 3; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_desc().data(), static_cast(this->_internal_desc().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDataGCCStrike15_v2_TournamentGroup.desc"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_desc(), target); - } - - // optional uint32 picks__deprecated = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_picks__deprecated(), target); - } - - // repeated .CDataGCCStrike15_v2_TournamentGroupTeam teams = 5; - for (unsigned i = 0, - n = static_cast(this->_internal_teams_size()); i < n; i++) { - const auto& repfield = this->_internal_teams(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated int32 stage_ids = 6; - for (int i = 0, n = this->_internal_stage_ids_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_stage_ids(i), target); - } - - // optional uint32 picklockuntiltime = 7; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_picklockuntiltime(), target); - } - - // optional uint32 pickableteams = 8; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_pickableteams(), target); - } - - // optional uint32 points_per_pick = 9; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_points_per_pick(), target); - } - - // repeated .CDataGCCStrike15_v2_TournamentGroup.Picks picks = 10; - for (unsigned i = 0, - n = static_cast(this->_internal_picks_size()); i < n; i++) { - const auto& repfield = this->_internal_picks(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDataGCCStrike15_v2_TournamentGroup) - return target; -} - -size_t CDataGCCStrike15_v2_TournamentGroup::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDataGCCStrike15_v2_TournamentGroup) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CDataGCCStrike15_v2_TournamentGroupTeam teams = 5; - total_size += 1UL * this->_internal_teams_size(); - for (const auto& msg : this->_impl_.teams_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated int32 stage_ids = 6; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.stage_ids_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_stage_ids_size()); - total_size += data_size; - } - - // repeated .CDataGCCStrike15_v2_TournamentGroup.Picks picks = 10; - total_size += 1UL * this->_internal_picks_size(); - for (const auto& msg : this->_impl_.picks_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional string desc = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_desc()); - } - - // optional uint32 groupid = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_groupid()); - } - - // optional uint32 picks__deprecated = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_picks__deprecated()); - } - - // optional uint32 picklockuntiltime = 7; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_picklockuntiltime()); - } - - // optional uint32 pickableteams = 8; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pickableteams()); - } - - // optional uint32 points_per_pick = 9; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_points_per_pick()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDataGCCStrike15_v2_TournamentGroup::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDataGCCStrike15_v2_TournamentGroup::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDataGCCStrike15_v2_TournamentGroup::GetClassData() const { return &_class_data_; } - - -void CDataGCCStrike15_v2_TournamentGroup::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDataGCCStrike15_v2_TournamentGroup) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.teams_.MergeFrom(from._impl_.teams_); - _this->_impl_.stage_ids_.MergeFrom(from._impl_.stage_ids_); - _this->_impl_.picks_.MergeFrom(from._impl_.picks_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_desc(from._internal_desc()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.groupid_ = from._impl_.groupid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.picks__deprecated_ = from._impl_.picks__deprecated_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.picklockuntiltime_ = from._impl_.picklockuntiltime_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.pickableteams_ = from._impl_.pickableteams_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.points_per_pick_ = from._impl_.points_per_pick_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDataGCCStrike15_v2_TournamentGroup::CopyFrom(const CDataGCCStrike15_v2_TournamentGroup& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDataGCCStrike15_v2_TournamentGroup) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDataGCCStrike15_v2_TournamentGroup::IsInitialized() const { - return true; -} - -void CDataGCCStrike15_v2_TournamentGroup::InternalSwap(CDataGCCStrike15_v2_TournamentGroup* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.teams_.InternalSwap(&other->_impl_.teams_); - _impl_.stage_ids_.InternalSwap(&other->_impl_.stage_ids_); - _impl_.picks_.InternalSwap(&other->_impl_.picks_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.desc_, lhs_arena, - &other->_impl_.desc_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_TournamentGroup, _impl_.points_per_pick_) - + sizeof(CDataGCCStrike15_v2_TournamentGroup::_impl_.points_per_pick_) - - PROTOBUF_FIELD_OFFSET(CDataGCCStrike15_v2_TournamentGroup, _impl_.groupid_)>( - reinterpret_cast(&_impl_.groupid_), - reinterpret_cast(&other->_impl_.groupid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDataGCCStrike15_v2_TournamentGroup::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[96]); -} - -// =================================================================== - -class CDataGCCStrike15_v2_TournamentSection::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_sectionid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_desc(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CDataGCCStrike15_v2_TournamentSection::CDataGCCStrike15_v2_TournamentSection(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDataGCCStrike15_v2_TournamentSection) -} -CDataGCCStrike15_v2_TournamentSection::CDataGCCStrike15_v2_TournamentSection(const CDataGCCStrike15_v2_TournamentSection& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDataGCCStrike15_v2_TournamentSection* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.groups_){from._impl_.groups_} - , decltype(_impl_.name_){} - , decltype(_impl_.desc_){} - , decltype(_impl_.sectionid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.desc_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.desc_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_desc()) { - _this->_impl_.desc_.Set(from._internal_desc(), - _this->GetArenaForAllocation()); - } - _this->_impl_.sectionid_ = from._impl_.sectionid_; - // @@protoc_insertion_point(copy_constructor:CDataGCCStrike15_v2_TournamentSection) -} - -inline void CDataGCCStrike15_v2_TournamentSection::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.groups_){arena} - , decltype(_impl_.name_){} - , decltype(_impl_.desc_){} - , decltype(_impl_.sectionid_){0u} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.desc_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.desc_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CDataGCCStrike15_v2_TournamentSection::~CDataGCCStrike15_v2_TournamentSection() { - // @@protoc_insertion_point(destructor:CDataGCCStrike15_v2_TournamentSection) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDataGCCStrike15_v2_TournamentSection::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.groups_.~RepeatedPtrField(); - _impl_.name_.Destroy(); - _impl_.desc_.Destroy(); -} - -void CDataGCCStrike15_v2_TournamentSection::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDataGCCStrike15_v2_TournamentSection::Clear() { -// @@protoc_insertion_point(message_clear_start:CDataGCCStrike15_v2_TournamentSection) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.groups_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.desc_.ClearNonDefaultToEmpty(); - } - } - _impl_.sectionid_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDataGCCStrike15_v2_TournamentSection::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 sectionid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_sectionid(&has_bits); - _impl_.sectionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDataGCCStrike15_v2_TournamentSection.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string desc = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_desc(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDataGCCStrike15_v2_TournamentSection.desc"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated .CDataGCCStrike15_v2_TournamentGroup groups = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_groups(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDataGCCStrike15_v2_TournamentSection::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDataGCCStrike15_v2_TournamentSection) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 sectionid = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_sectionid(), target); - } - - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDataGCCStrike15_v2_TournamentSection.name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_name(), target); - } - - // optional string desc = 3; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_desc().data(), static_cast(this->_internal_desc().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDataGCCStrike15_v2_TournamentSection.desc"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_desc(), target); - } - - // repeated .CDataGCCStrike15_v2_TournamentGroup groups = 4; - for (unsigned i = 0, - n = static_cast(this->_internal_groups_size()); i < n; i++) { - const auto& repfield = this->_internal_groups(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDataGCCStrike15_v2_TournamentSection) - return target; -} - -size_t CDataGCCStrike15_v2_TournamentSection::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDataGCCStrike15_v2_TournamentSection) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CDataGCCStrike15_v2_TournamentGroup groups = 4; - total_size += 1UL * this->_internal_groups_size(); - for (const auto& msg : this->_impl_.groups_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional string desc = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_desc()); - } - - // optional uint32 sectionid = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sectionid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDataGCCStrike15_v2_TournamentSection::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDataGCCStrike15_v2_TournamentSection::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDataGCCStrike15_v2_TournamentSection::GetClassData() const { return &_class_data_; } - - -void CDataGCCStrike15_v2_TournamentSection::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDataGCCStrike15_v2_TournamentSection) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.groups_.MergeFrom(from._impl_.groups_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_desc(from._internal_desc()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.sectionid_ = from._impl_.sectionid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDataGCCStrike15_v2_TournamentSection::CopyFrom(const CDataGCCStrike15_v2_TournamentSection& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDataGCCStrike15_v2_TournamentSection) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDataGCCStrike15_v2_TournamentSection::IsInitialized() const { - return true; -} - -void CDataGCCStrike15_v2_TournamentSection::InternalSwap(CDataGCCStrike15_v2_TournamentSection* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.groups_.InternalSwap(&other->_impl_.groups_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.desc_, lhs_arena, - &other->_impl_.desc_, rhs_arena - ); - swap(_impl_.sectionid_, other->_impl_.sectionid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDataGCCStrike15_v2_TournamentSection::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[97]); -} - -// =================================================================== - -class CDataGCCStrike15_v2_TournamentInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::TournamentEvent& tournament_event(const CDataGCCStrike15_v2_TournamentInfo* msg); - static void set_has_tournament_event(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::TournamentEvent& -CDataGCCStrike15_v2_TournamentInfo::_Internal::tournament_event(const CDataGCCStrike15_v2_TournamentInfo* msg) { - return *msg->_impl_.tournament_event_; -} -CDataGCCStrike15_v2_TournamentInfo::CDataGCCStrike15_v2_TournamentInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDataGCCStrike15_v2_TournamentInfo) -} -CDataGCCStrike15_v2_TournamentInfo::CDataGCCStrike15_v2_TournamentInfo(const CDataGCCStrike15_v2_TournamentInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDataGCCStrike15_v2_TournamentInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sections_){from._impl_.sections_} - , decltype(_impl_.tournament_teams_){from._impl_.tournament_teams_} - , decltype(_impl_.tournament_event_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_tournament_event()) { - _this->_impl_.tournament_event_ = new ::TournamentEvent(*from._impl_.tournament_event_); - } - // @@protoc_insertion_point(copy_constructor:CDataGCCStrike15_v2_TournamentInfo) -} - -inline void CDataGCCStrike15_v2_TournamentInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sections_){arena} - , decltype(_impl_.tournament_teams_){arena} - , decltype(_impl_.tournament_event_){nullptr} - }; -} - -CDataGCCStrike15_v2_TournamentInfo::~CDataGCCStrike15_v2_TournamentInfo() { - // @@protoc_insertion_point(destructor:CDataGCCStrike15_v2_TournamentInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDataGCCStrike15_v2_TournamentInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.sections_.~RepeatedPtrField(); - _impl_.tournament_teams_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.tournament_event_; -} - -void CDataGCCStrike15_v2_TournamentInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDataGCCStrike15_v2_TournamentInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CDataGCCStrike15_v2_TournamentInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.sections_.Clear(); - _impl_.tournament_teams_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.tournament_event_ != nullptr); - _impl_.tournament_event_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDataGCCStrike15_v2_TournamentInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CDataGCCStrike15_v2_TournamentSection sections = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_sections(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // optional .TournamentEvent tournament_event = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_tournament_event(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .TournamentTeam tournament_teams = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_tournament_teams(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDataGCCStrike15_v2_TournamentInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDataGCCStrike15_v2_TournamentInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CDataGCCStrike15_v2_TournamentSection sections = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_sections_size()); i < n; i++) { - const auto& repfield = this->_internal_sections(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional .TournamentEvent tournament_event = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::tournament_event(this), - _Internal::tournament_event(this).GetCachedSize(), target, stream); - } - - // repeated .TournamentTeam tournament_teams = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_tournament_teams_size()); i < n; i++) { - const auto& repfield = this->_internal_tournament_teams(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDataGCCStrike15_v2_TournamentInfo) - return target; -} - -size_t CDataGCCStrike15_v2_TournamentInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDataGCCStrike15_v2_TournamentInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CDataGCCStrike15_v2_TournamentSection sections = 1; - total_size += 1UL * this->_internal_sections_size(); - for (const auto& msg : this->_impl_.sections_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .TournamentTeam tournament_teams = 3; - total_size += 1UL * this->_internal_tournament_teams_size(); - for (const auto& msg : this->_impl_.tournament_teams_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional .TournamentEvent tournament_event = 2; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.tournament_event_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDataGCCStrike15_v2_TournamentInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDataGCCStrike15_v2_TournamentInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDataGCCStrike15_v2_TournamentInfo::GetClassData() const { return &_class_data_; } - - -void CDataGCCStrike15_v2_TournamentInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDataGCCStrike15_v2_TournamentInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.sections_.MergeFrom(from._impl_.sections_); - _this->_impl_.tournament_teams_.MergeFrom(from._impl_.tournament_teams_); - if (from._internal_has_tournament_event()) { - _this->_internal_mutable_tournament_event()->::TournamentEvent::MergeFrom( - from._internal_tournament_event()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDataGCCStrike15_v2_TournamentInfo::CopyFrom(const CDataGCCStrike15_v2_TournamentInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDataGCCStrike15_v2_TournamentInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDataGCCStrike15_v2_TournamentInfo::IsInitialized() const { - return true; -} - -void CDataGCCStrike15_v2_TournamentInfo::InternalSwap(CDataGCCStrike15_v2_TournamentInfo* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.sections_.InternalSwap(&other->_impl_.sections_); - _impl_.tournament_teams_.InternalSwap(&other->_impl_.tournament_teams_); - swap(_impl_.tournament_event_, other->_impl_.tournament_event_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDataGCCStrike15_v2_TournamentInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[98]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchList::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_msgrequestid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_servertime(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CDataGCCStrike15_v2_TournamentInfo& tournamentinfo(const CMsgGCCStrike15_v2_MatchList* msg); - static void set_has_tournamentinfo(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CDataGCCStrike15_v2_TournamentInfo& -CMsgGCCStrike15_v2_MatchList::_Internal::tournamentinfo(const CMsgGCCStrike15_v2_MatchList* msg) { - return *msg->_impl_.tournamentinfo_; -} -CMsgGCCStrike15_v2_MatchList::CMsgGCCStrike15_v2_MatchList(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchList) -} -CMsgGCCStrike15_v2_MatchList::CMsgGCCStrike15_v2_MatchList(const CMsgGCCStrike15_v2_MatchList& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchList* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.matches_){from._impl_.matches_} - , decltype(_impl_.streams_){from._impl_.streams_} - , decltype(_impl_.tournamentinfo_){nullptr} - , decltype(_impl_.msgrequestid_){} - , decltype(_impl_.accountid_){} - , decltype(_impl_.servertime_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_tournamentinfo()) { - _this->_impl_.tournamentinfo_ = new ::CDataGCCStrike15_v2_TournamentInfo(*from._impl_.tournamentinfo_); - } - ::memcpy(&_impl_.msgrequestid_, &from._impl_.msgrequestid_, - static_cast(reinterpret_cast(&_impl_.servertime_) - - reinterpret_cast(&_impl_.msgrequestid_)) + sizeof(_impl_.servertime_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchList) -} - -inline void CMsgGCCStrike15_v2_MatchList::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.matches_){arena} - , decltype(_impl_.streams_){arena} - , decltype(_impl_.tournamentinfo_){nullptr} - , decltype(_impl_.msgrequestid_){0u} - , decltype(_impl_.accountid_){0u} - , decltype(_impl_.servertime_){0u} - }; -} - -CMsgGCCStrike15_v2_MatchList::~CMsgGCCStrike15_v2_MatchList() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchList) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchList::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.matches_.~RepeatedPtrField(); - _impl_.streams_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.tournamentinfo_; -} - -void CMsgGCCStrike15_v2_MatchList::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchList::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchList) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.matches_.Clear(); - _impl_.streams_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.tournamentinfo_ != nullptr); - _impl_.tournamentinfo_->Clear(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.msgrequestid_, 0, static_cast( - reinterpret_cast(&_impl_.servertime_) - - reinterpret_cast(&_impl_.msgrequestid_)) + sizeof(_impl_.servertime_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 msgrequestid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_msgrequestid(&has_bits); - _impl_.msgrequestid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 accountid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 servertime = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_servertime(&has_bits); - _impl_.servertime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CDataGCCStrike15_v2_MatchInfo matches = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_matches(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .TournamentTeam streams = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_streams(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else - goto handle_unusual; - continue; - // optional .CDataGCCStrike15_v2_TournamentInfo tournamentinfo = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_tournamentinfo(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchList::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchList) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 msgrequestid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_msgrequestid(), target); - } - - // optional uint32 accountid = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_accountid(), target); - } - - // optional uint32 servertime = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_servertime(), target); - } - - // repeated .CDataGCCStrike15_v2_MatchInfo matches = 4; - for (unsigned i = 0, - n = static_cast(this->_internal_matches_size()); i < n; i++) { - const auto& repfield = this->_internal_matches(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .TournamentTeam streams = 5; - for (unsigned i = 0, - n = static_cast(this->_internal_streams_size()); i < n; i++) { - const auto& repfield = this->_internal_streams(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional .CDataGCCStrike15_v2_TournamentInfo tournamentinfo = 6; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::tournamentinfo(this), - _Internal::tournamentinfo(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchList) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchList) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CDataGCCStrike15_v2_MatchInfo matches = 4; - total_size += 1UL * this->_internal_matches_size(); - for (const auto& msg : this->_impl_.matches_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .TournamentTeam streams = 5; - total_size += 1UL * this->_internal_streams_size(); - for (const auto& msg : this->_impl_.streams_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional .CDataGCCStrike15_v2_TournamentInfo tournamentinfo = 6; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.tournamentinfo_); - } - - // optional uint32 msgrequestid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_msgrequestid()); - } - - // optional uint32 accountid = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - // optional uint32 servertime = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_servertime()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchList::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchList::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchList::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchList::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchList) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.matches_.MergeFrom(from._impl_.matches_); - _this->_impl_.streams_.MergeFrom(from._impl_.streams_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_tournamentinfo()->::CDataGCCStrike15_v2_TournamentInfo::MergeFrom( - from._internal_tournamentinfo()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.msgrequestid_ = from._impl_.msgrequestid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.accountid_ = from._impl_.accountid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.servertime_ = from._impl_.servertime_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchList::CopyFrom(const CMsgGCCStrike15_v2_MatchList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchList::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchList::InternalSwap(CMsgGCCStrike15_v2_MatchList* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.matches_.InternalSwap(&other->_impl_.matches_); - _impl_.streams_.InternalSwap(&other->_impl_.streams_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchList, _impl_.servertime_) - + sizeof(CMsgGCCStrike15_v2_MatchList::_impl_.servertime_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchList, _impl_.tournamentinfo_)>( - reinterpret_cast(&_impl_.tournamentinfo_), - reinterpret_cast(&other->_impl_.tournamentinfo_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchList::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[99]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_eventid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) -} -CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt(const CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.matches_){from._impl_.matches_} - , decltype(_impl_.eventid_){} - , decltype(_impl_.accountid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.eventid_, &from._impl_.eventid_, - static_cast(reinterpret_cast(&_impl_.accountid_) - - reinterpret_cast(&_impl_.eventid_)) + sizeof(_impl_.accountid_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) -} - -inline void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.matches_){arena} - , decltype(_impl_.eventid_){0} - , decltype(_impl_.accountid_){0u} - }; -} - -CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::~CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.matches_.~RepeatedPtrField(); -} - -void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.matches_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.eventid_, 0, static_cast( - reinterpret_cast(&_impl_.accountid_) - - reinterpret_cast(&_impl_.eventid_)) + sizeof(_impl_.accountid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 eventid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_eventid(&has_bits); - _impl_.eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CDataGCCStrike15_v2_MatchInfo matches = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_matches(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 accountid = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 eventid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_eventid(), target); - } - - // repeated .CDataGCCStrike15_v2_MatchInfo matches = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_matches_size()); i < n; i++) { - const auto& repfield = this->_internal_matches(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 accountid = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_accountid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CDataGCCStrike15_v2_MatchInfo matches = 2; - total_size += 1UL * this->_internal_matches_size(); - for (const auto& msg : this->_impl_.matches_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional int32 eventid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eventid()); - } - - // optional uint32 accountid = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.matches_.MergeFrom(from._impl_.matches_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.eventid_ = from._impl_.eventid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.accountid_ = from._impl_.accountid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::CopyFrom(const CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::InternalSwap(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.matches_.InternalSwap(&other->_impl_.matches_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt, _impl_.accountid_) - + sizeof(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_impl_.accountid_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt, _impl_.eventid_)>( - reinterpret_cast(&_impl_.eventid_), - reinterpret_cast(&other->_impl_.eventid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[100]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_sectionid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_groupid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_index(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_teamid(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_itemid(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) -} -CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick(const CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sectionid_){} - , decltype(_impl_.groupid_){} - , decltype(_impl_.index_){} - , decltype(_impl_.teamid_){} - , decltype(_impl_.itemid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.sectionid_, &from._impl_.sectionid_, - static_cast(reinterpret_cast(&_impl_.itemid_) - - reinterpret_cast(&_impl_.sectionid_)) + sizeof(_impl_.itemid_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) -} - -inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sectionid_){0} - , decltype(_impl_.groupid_){0} - , decltype(_impl_.index_){0} - , decltype(_impl_.teamid_){0} - , decltype(_impl_.itemid_){uint64_t{0u}} - }; -} - -CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::~CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.sectionid_, 0, static_cast( - reinterpret_cast(&_impl_.itemid_) - - reinterpret_cast(&_impl_.sectionid_)) + sizeof(_impl_.itemid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 sectionid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_sectionid(&has_bits); - _impl_.sectionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 groupid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_groupid(&has_bits); - _impl_.groupid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 index = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_index(&has_bits); - _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 teamid = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_teamid(&has_bits); - _impl_.teamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 itemid = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_itemid(&has_bits); - _impl_.itemid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 sectionid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_sectionid(), target); - } - - // optional int32 groupid = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_groupid(), target); - } - - // optional int32 index = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_index(), target); - } - - // optional int32 teamid = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_teamid(), target); - } - - // optional uint64 itemid = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_itemid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) - return target; -} - -size_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional int32 sectionid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sectionid()); - } - - // optional int32 groupid = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_groupid()); - } - - // optional int32 index = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_index()); - } - - // optional int32 teamid = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_teamid()); - } - - // optional uint64 itemid = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_itemid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.sectionid_ = from._impl_.sectionid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.groupid_ = from._impl_.groupid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.index_ = from._impl_.index_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.teamid_ = from._impl_.teamid_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.itemid_ = from._impl_.itemid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::CopyFrom(const CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::InternalSwap(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick, _impl_.itemid_) - + sizeof(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_impl_.itemid_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick, _impl_.sectionid_)>( - reinterpret_cast(&_impl_.sectionid_), - reinterpret_cast(&other->_impl_.sectionid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[101]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Predictions::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_event_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_Predictions::CMsgGCCStrike15_v2_Predictions(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Predictions) -} -CMsgGCCStrike15_v2_Predictions::CMsgGCCStrike15_v2_Predictions(const CMsgGCCStrike15_v2_Predictions& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_Predictions* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.group_match_team_picks_){from._impl_.group_match_team_picks_} - , decltype(_impl_.event_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.event_id_ = from._impl_.event_id_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Predictions) -} - -inline void CMsgGCCStrike15_v2_Predictions::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.group_match_team_picks_){arena} - , decltype(_impl_.event_id_){0u} - }; -} - -CMsgGCCStrike15_v2_Predictions::~CMsgGCCStrike15_v2_Predictions() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Predictions) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_Predictions::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.group_match_team_picks_.~RepeatedPtrField(); -} - -void CMsgGCCStrike15_v2_Predictions::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_Predictions::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Predictions) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.group_match_team_picks_.Clear(); - _impl_.event_id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_Predictions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 event_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_event_id(&has_bits); - _impl_.event_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick group_match_team_picks = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_group_match_team_picks(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_Predictions::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Predictions) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 event_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_event_id(), target); - } - - // repeated .CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick group_match_team_picks = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_group_match_team_picks_size()); i < n; i++) { - const auto& repfield = this->_internal_group_match_team_picks(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_Predictions) - return target; -} - -size_t CMsgGCCStrike15_v2_Predictions::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Predictions) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick group_match_team_picks = 2; - total_size += 1UL * this->_internal_group_match_team_picks_size(); - for (const auto& msg : this->_impl_.group_match_team_picks_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional uint32 event_id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Predictions::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_Predictions::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Predictions::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_Predictions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_Predictions) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.group_match_team_picks_.MergeFrom(from._impl_.group_match_team_picks_); - if (from._internal_has_event_id()) { - _this->_internal_set_event_id(from._internal_event_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_Predictions::CopyFrom(const CMsgGCCStrike15_v2_Predictions& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Predictions) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_Predictions::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_Predictions::InternalSwap(CMsgGCCStrike15_v2_Predictions* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.group_match_team_picks_.InternalSwap(&other->_impl_.group_match_team_picks_); - swap(_impl_.event_id_, other->_impl_.event_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Predictions::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[102]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Fantasy_FantasySlot::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_pick(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_itemid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgGCCStrike15_v2_Fantasy_FantasySlot::CMsgGCCStrike15_v2_Fantasy_FantasySlot(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Fantasy.FantasySlot) -} -CMsgGCCStrike15_v2_Fantasy_FantasySlot::CMsgGCCStrike15_v2_Fantasy_FantasySlot(const CMsgGCCStrike15_v2_Fantasy_FantasySlot& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_Fantasy_FantasySlot* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){} - , decltype(_impl_.pick_){} - , decltype(_impl_.itemid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.type_, &from._impl_.type_, - static_cast(reinterpret_cast(&_impl_.itemid_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.itemid_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Fantasy.FantasySlot) -} - -inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){0} - , decltype(_impl_.pick_){0} - , decltype(_impl_.itemid_){uint64_t{0u}} - }; -} - -CMsgGCCStrike15_v2_Fantasy_FantasySlot::~CMsgGCCStrike15_v2_Fantasy_FantasySlot() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Fantasy.FantasySlot) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_Fantasy_FantasySlot::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_Fantasy_FantasySlot::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Fantasy.FantasySlot) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.type_, 0, static_cast( - reinterpret_cast(&_impl_.itemid_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.itemid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_Fantasy_FantasySlot::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_type(&has_bits); - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 pick = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_pick(&has_bits); - _impl_.pick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 itemid = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_itemid(&has_bits); - _impl_.itemid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_Fantasy_FantasySlot::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Fantasy.FantasySlot) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 type = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type(), target); - } - - // optional int32 pick = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_pick(), target); - } - - // optional uint64 itemid = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_itemid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_Fantasy.FantasySlot) - return target; -} - -size_t CMsgGCCStrike15_v2_Fantasy_FantasySlot::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Fantasy.FantasySlot) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 type = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); - } - - // optional int32 pick = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pick()); - } - - // optional uint64 itemid = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_itemid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Fantasy_FantasySlot::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_Fantasy_FantasySlot::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Fantasy_FantasySlot::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_Fantasy_FantasySlot::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_Fantasy.FantasySlot) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.type_ = from._impl_.type_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.pick_ = from._impl_.pick_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.itemid_ = from._impl_.itemid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_Fantasy_FantasySlot::CopyFrom(const CMsgGCCStrike15_v2_Fantasy_FantasySlot& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Fantasy.FantasySlot) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_Fantasy_FantasySlot::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_Fantasy_FantasySlot::InternalSwap(CMsgGCCStrike15_v2_Fantasy_FantasySlot* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Fantasy_FantasySlot, _impl_.itemid_) - + sizeof(CMsgGCCStrike15_v2_Fantasy_FantasySlot::_impl_.itemid_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Fantasy_FantasySlot, _impl_.type_)>( - reinterpret_cast(&_impl_.type_), - reinterpret_cast(&other->_impl_.type_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Fantasy_FantasySlot::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[103]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_sectionid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_Fantasy_FantasyTeam::CMsgGCCStrike15_v2_Fantasy_FantasyTeam(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) -} -CMsgGCCStrike15_v2_Fantasy_FantasyTeam::CMsgGCCStrike15_v2_Fantasy_FantasyTeam(const CMsgGCCStrike15_v2_Fantasy_FantasyTeam& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_Fantasy_FantasyTeam* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.slots_){from._impl_.slots_} - , decltype(_impl_.sectionid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.sectionid_ = from._impl_.sectionid_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) -} - -inline void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.slots_){arena} - , decltype(_impl_.sectionid_){0} - }; -} - -CMsgGCCStrike15_v2_Fantasy_FantasyTeam::~CMsgGCCStrike15_v2_Fantasy_FantasyTeam() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.slots_.~RepeatedPtrField(); -} - -void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.slots_.Clear(); - _impl_.sectionid_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 sectionid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_sectionid(&has_bits); - _impl_.sectionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgGCCStrike15_v2_Fantasy.FantasySlot slots = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_slots(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 sectionid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_sectionid(), target); - } - - // repeated .CMsgGCCStrike15_v2_Fantasy.FantasySlot slots = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_slots_size()); i < n; i++) { - const auto& repfield = this->_internal_slots(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) - return target; -} - -size_t CMsgGCCStrike15_v2_Fantasy_FantasyTeam::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgGCCStrike15_v2_Fantasy.FantasySlot slots = 2; - total_size += 1UL * this->_internal_slots_size(); - for (const auto& msg : this->_impl_.slots_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional int32 sectionid = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sectionid()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_Fantasy_FantasyTeam::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Fantasy_FantasyTeam::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.slots_.MergeFrom(from._impl_.slots_); - if (from._internal_has_sectionid()) { - _this->_internal_set_sectionid(from._internal_sectionid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::CopyFrom(const CMsgGCCStrike15_v2_Fantasy_FantasyTeam& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_Fantasy_FantasyTeam::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::InternalSwap(CMsgGCCStrike15_v2_Fantasy_FantasyTeam* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.slots_.InternalSwap(&other->_impl_.slots_); - swap(_impl_.sectionid_, other->_impl_.sectionid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Fantasy_FantasyTeam::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[104]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Fantasy::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_event_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_Fantasy::CMsgGCCStrike15_v2_Fantasy(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Fantasy) -} -CMsgGCCStrike15_v2_Fantasy::CMsgGCCStrike15_v2_Fantasy(const CMsgGCCStrike15_v2_Fantasy& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_Fantasy* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.teams_){from._impl_.teams_} - , decltype(_impl_.event_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.event_id_ = from._impl_.event_id_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Fantasy) -} - -inline void CMsgGCCStrike15_v2_Fantasy::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.teams_){arena} - , decltype(_impl_.event_id_){0u} - }; -} - -CMsgGCCStrike15_v2_Fantasy::~CMsgGCCStrike15_v2_Fantasy() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Fantasy) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_Fantasy::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.teams_.~RepeatedPtrField(); -} - -void CMsgGCCStrike15_v2_Fantasy::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_Fantasy::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Fantasy) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.teams_.Clear(); - _impl_.event_id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_Fantasy::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 event_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_event_id(&has_bits); - _impl_.event_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgGCCStrike15_v2_Fantasy.FantasyTeam teams = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_teams(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_Fantasy::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Fantasy) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 event_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_event_id(), target); - } - - // repeated .CMsgGCCStrike15_v2_Fantasy.FantasyTeam teams = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_teams_size()); i < n; i++) { - const auto& repfield = this->_internal_teams(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_Fantasy) - return target; -} - -size_t CMsgGCCStrike15_v2_Fantasy::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Fantasy) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgGCCStrike15_v2_Fantasy.FantasyTeam teams = 2; - total_size += 1UL * this->_internal_teams_size(); - for (const auto& msg : this->_impl_.teams_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional uint32 event_id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Fantasy::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_Fantasy::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Fantasy::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_Fantasy::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_Fantasy) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.teams_.MergeFrom(from._impl_.teams_); - if (from._internal_has_event_id()) { - _this->_internal_set_event_id(from._internal_event_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_Fantasy::CopyFrom(const CMsgGCCStrike15_v2_Fantasy& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Fantasy) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_Fantasy::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_Fantasy::InternalSwap(CMsgGCCStrike15_v2_Fantasy* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.teams_.InternalSwap(&other->_impl_.teams_); - swap(_impl_.event_id_, other->_impl_.event_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Fantasy::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[105]); -} - -// =================================================================== - -class CAttribute_String::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CAttribute_String::CAttribute_String(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CAttribute_String) -} -CAttribute_String::CAttribute_String(const CAttribute_String& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CAttribute_String* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_value()) { - _this->_impl_.value_.Set(from._internal_value(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CAttribute_String) -} - -inline void CAttribute_String::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.value_){} - }; - _impl_.value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CAttribute_String::~CAttribute_String() { - // @@protoc_insertion_point(destructor:CAttribute_String) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CAttribute_String::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.value_.Destroy(); -} - -void CAttribute_String::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CAttribute_String::Clear() { -// @@protoc_insertion_point(message_clear_start:CAttribute_String) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.value_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CAttribute_String::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string value = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_value(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CAttribute_String.value"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CAttribute_String::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CAttribute_String) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string value = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_value().data(), static_cast(this->_internal_value().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CAttribute_String.value"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CAttribute_String) - return target; -} - -size_t CAttribute_String::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CAttribute_String) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string value = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_value()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CAttribute_String::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CAttribute_String::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CAttribute_String::GetClassData() const { return &_class_data_; } - - -void CAttribute_String::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CAttribute_String) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_value()) { - _this->_internal_set_value(from._internal_value()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CAttribute_String::CopyFrom(const CAttribute_String& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CAttribute_String) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CAttribute_String::IsInitialized() const { - return true; -} - -void CAttribute_String::InternalSwap(CAttribute_String* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.value_, lhs_arena, - &other->_impl_.value_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CAttribute_String::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[106]); -} - -// =================================================================== - -class CMsgLegacySource1ClientWelcome_Location::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_latitude(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_longitude(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_country(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgLegacySource1ClientWelcome_Location::CMsgLegacySource1ClientWelcome_Location(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgLegacySource1ClientWelcome.Location) -} -CMsgLegacySource1ClientWelcome_Location::CMsgLegacySource1ClientWelcome_Location(const CMsgLegacySource1ClientWelcome_Location& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgLegacySource1ClientWelcome_Location* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.country_){} - , decltype(_impl_.latitude_){} - , decltype(_impl_.longitude_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.country_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.country_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_country()) { - _this->_impl_.country_.Set(from._internal_country(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.latitude_, &from._impl_.latitude_, - static_cast(reinterpret_cast(&_impl_.longitude_) - - reinterpret_cast(&_impl_.latitude_)) + sizeof(_impl_.longitude_)); - // @@protoc_insertion_point(copy_constructor:CMsgLegacySource1ClientWelcome.Location) -} - -inline void CMsgLegacySource1ClientWelcome_Location::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.country_){} - , decltype(_impl_.latitude_){0} - , decltype(_impl_.longitude_){0} - }; - _impl_.country_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.country_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgLegacySource1ClientWelcome_Location::~CMsgLegacySource1ClientWelcome_Location() { - // @@protoc_insertion_point(destructor:CMsgLegacySource1ClientWelcome.Location) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgLegacySource1ClientWelcome_Location::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.country_.Destroy(); -} - -void CMsgLegacySource1ClientWelcome_Location::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgLegacySource1ClientWelcome_Location::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgLegacySource1ClientWelcome.Location) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.country_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.latitude_, 0, static_cast( - reinterpret_cast(&_impl_.longitude_) - - reinterpret_cast(&_impl_.latitude_)) + sizeof(_impl_.longitude_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgLegacySource1ClientWelcome_Location::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float latitude = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_latitude(&has_bits); - _impl_.latitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float longitude = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_longitude(&has_bits); - _impl_.longitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional string country = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_country(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgLegacySource1ClientWelcome.Location.country"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgLegacySource1ClientWelcome_Location::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgLegacySource1ClientWelcome.Location) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float latitude = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_latitude(), target); - } - - // optional float longitude = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_longitude(), target); - } - - // optional string country = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_country().data(), static_cast(this->_internal_country().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgLegacySource1ClientWelcome.Location.country"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_country(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgLegacySource1ClientWelcome.Location) - return target; -} - -size_t CMsgLegacySource1ClientWelcome_Location::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgLegacySource1ClientWelcome.Location) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string country = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_country()); - } - - // optional float latitude = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float longitude = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgLegacySource1ClientWelcome_Location::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgLegacySource1ClientWelcome_Location::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgLegacySource1ClientWelcome_Location::GetClassData() const { return &_class_data_; } - - -void CMsgLegacySource1ClientWelcome_Location::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgLegacySource1ClientWelcome.Location) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_country(from._internal_country()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.latitude_ = from._impl_.latitude_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.longitude_ = from._impl_.longitude_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgLegacySource1ClientWelcome_Location::CopyFrom(const CMsgLegacySource1ClientWelcome_Location& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgLegacySource1ClientWelcome.Location) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgLegacySource1ClientWelcome_Location::IsInitialized() const { - return true; -} - -void CMsgLegacySource1ClientWelcome_Location::InternalSwap(CMsgLegacySource1ClientWelcome_Location* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.country_, lhs_arena, - &other->_impl_.country_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgLegacySource1ClientWelcome_Location, _impl_.longitude_) - + sizeof(CMsgLegacySource1ClientWelcome_Location::_impl_.longitude_) - - PROTOBUF_FIELD_OFFSET(CMsgLegacySource1ClientWelcome_Location, _impl_.latitude_)>( - reinterpret_cast(&_impl_.latitude_), - reinterpret_cast(&other->_impl_.latitude_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgLegacySource1ClientWelcome_Location::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[107]); -} - -// =================================================================== - -class CMsgLegacySource1ClientWelcome::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_version(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_game_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgLegacySource1ClientWelcome_Location& location(const CMsgLegacySource1ClientWelcome* msg); - static void set_has_location(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_game_data2(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_rtime32_gc_welcome_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_currency(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_balance(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_balance_url(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_txn_country_code(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::CMsgLegacySource1ClientWelcome_Location& -CMsgLegacySource1ClientWelcome::_Internal::location(const CMsgLegacySource1ClientWelcome* msg) { - return *msg->_impl_.location_; -} -void CMsgLegacySource1ClientWelcome::clear_outofdate_subscribed_caches() { - _impl_.outofdate_subscribed_caches_.Clear(); -} -void CMsgLegacySource1ClientWelcome::clear_uptodate_subscribed_caches() { - _impl_.uptodate_subscribed_caches_.Clear(); -} -CMsgLegacySource1ClientWelcome::CMsgLegacySource1ClientWelcome(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgLegacySource1ClientWelcome) -} -CMsgLegacySource1ClientWelcome::CMsgLegacySource1ClientWelcome(const CMsgLegacySource1ClientWelcome& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgLegacySource1ClientWelcome* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.outofdate_subscribed_caches_){from._impl_.outofdate_subscribed_caches_} - , decltype(_impl_.uptodate_subscribed_caches_){from._impl_.uptodate_subscribed_caches_} - , decltype(_impl_.game_data_){} - , decltype(_impl_.game_data2_){} - , decltype(_impl_.balance_url_){} - , decltype(_impl_.txn_country_code_){} - , decltype(_impl_.location_){nullptr} - , decltype(_impl_.version_){} - , decltype(_impl_.rtime32_gc_welcome_timestamp_){} - , decltype(_impl_.currency_){} - , decltype(_impl_.balance_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.game_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_game_data()) { - _this->_impl_.game_data_.Set(from._internal_game_data(), - _this->GetArenaForAllocation()); - } - _impl_.game_data2_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_data2_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_game_data2()) { - _this->_impl_.game_data2_.Set(from._internal_game_data2(), - _this->GetArenaForAllocation()); - } - _impl_.balance_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.balance_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_balance_url()) { - _this->_impl_.balance_url_.Set(from._internal_balance_url(), - _this->GetArenaForAllocation()); - } - _impl_.txn_country_code_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.txn_country_code_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_txn_country_code()) { - _this->_impl_.txn_country_code_.Set(from._internal_txn_country_code(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_location()) { - _this->_impl_.location_ = new ::CMsgLegacySource1ClientWelcome_Location(*from._impl_.location_); - } - ::memcpy(&_impl_.version_, &from._impl_.version_, - static_cast(reinterpret_cast(&_impl_.balance_) - - reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.balance_)); - // @@protoc_insertion_point(copy_constructor:CMsgLegacySource1ClientWelcome) -} - -inline void CMsgLegacySource1ClientWelcome::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.outofdate_subscribed_caches_){arena} - , decltype(_impl_.uptodate_subscribed_caches_){arena} - , decltype(_impl_.game_data_){} - , decltype(_impl_.game_data2_){} - , decltype(_impl_.balance_url_){} - , decltype(_impl_.txn_country_code_){} - , decltype(_impl_.location_){nullptr} - , decltype(_impl_.version_){0u} - , decltype(_impl_.rtime32_gc_welcome_timestamp_){0u} - , decltype(_impl_.currency_){0u} - , decltype(_impl_.balance_){0u} - }; - _impl_.game_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_data2_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_data2_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.balance_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.balance_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.txn_country_code_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.txn_country_code_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgLegacySource1ClientWelcome::~CMsgLegacySource1ClientWelcome() { - // @@protoc_insertion_point(destructor:CMsgLegacySource1ClientWelcome) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgLegacySource1ClientWelcome::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.outofdate_subscribed_caches_.~RepeatedPtrField(); - _impl_.uptodate_subscribed_caches_.~RepeatedPtrField(); - _impl_.game_data_.Destroy(); - _impl_.game_data2_.Destroy(); - _impl_.balance_url_.Destroy(); - _impl_.txn_country_code_.Destroy(); - if (this != internal_default_instance()) delete _impl_.location_; -} - -void CMsgLegacySource1ClientWelcome::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgLegacySource1ClientWelcome::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgLegacySource1ClientWelcome) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.outofdate_subscribed_caches_.Clear(); - _impl_.uptodate_subscribed_caches_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.game_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.game_data2_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.balance_url_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.txn_country_code_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(_impl_.location_ != nullptr); - _impl_.location_->Clear(); - } - } - if (cached_has_bits & 0x000000e0u) { - ::memset(&_impl_.version_, 0, static_cast( - reinterpret_cast(&_impl_.currency_) - - reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.currency_)); - } - _impl_.balance_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgLegacySource1ClientWelcome::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 version = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_version(&has_bits); - _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes game_data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_game_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_outofdate_subscribed_caches(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_uptodate_subscribed_caches(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - // optional .CMsgLegacySource1ClientWelcome.Location location = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_location(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes game_data2 = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_game_data2(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rtime32_gc_welcome_timestamp = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_rtime32_gc_welcome_timestamp(&has_bits); - _impl_.rtime32_gc_welcome_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 currency = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_currency(&has_bits); - _impl_.currency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 balance = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_balance(&has_bits); - _impl_.balance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string balance_url = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_balance_url(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgLegacySource1ClientWelcome.balance_url"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string txn_country_code = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_txn_country_code(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgLegacySource1ClientWelcome.txn_country_code"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgLegacySource1ClientWelcome::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgLegacySource1ClientWelcome) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 version = 1; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_version(), target); - } - - // optional bytes game_data = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_game_data(), target); - } - - // repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_outofdate_subscribed_caches_size()); i < n; i++) { - const auto& repfield = this->_internal_outofdate_subscribed_caches(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; - for (unsigned i = 0, - n = static_cast(this->_internal_uptodate_subscribed_caches_size()); i < n; i++) { - const auto& repfield = this->_internal_uptodate_subscribed_caches(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional .CMsgLegacySource1ClientWelcome.Location location = 5; - if (cached_has_bits & 0x00000010u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::location(this), - _Internal::location(this).GetCachedSize(), target, stream); - } - - // optional bytes game_data2 = 6; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 6, this->_internal_game_data2(), target); - } - - // optional uint32 rtime32_gc_welcome_timestamp = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_rtime32_gc_welcome_timestamp(), target); - } - - // optional uint32 currency = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_currency(), target); - } - - // optional uint32 balance = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_balance(), target); - } - - // optional string balance_url = 10; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_balance_url().data(), static_cast(this->_internal_balance_url().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgLegacySource1ClientWelcome.balance_url"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_balance_url(), target); - } - - // optional string txn_country_code = 11; - if (cached_has_bits & 0x00000008u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_txn_country_code().data(), static_cast(this->_internal_txn_country_code().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgLegacySource1ClientWelcome.txn_country_code"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_txn_country_code(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgLegacySource1ClientWelcome) - return target; -} - -size_t CMsgLegacySource1ClientWelcome::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgLegacySource1ClientWelcome) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; - total_size += 1UL * this->_internal_outofdate_subscribed_caches_size(); - for (const auto& msg : this->_impl_.outofdate_subscribed_caches_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; - total_size += 1UL * this->_internal_uptodate_subscribed_caches_size(); - for (const auto& msg : this->_impl_.uptodate_subscribed_caches_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bytes game_data = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_game_data()); - } - - // optional bytes game_data2 = 6; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_game_data2()); - } - - // optional string balance_url = 10; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_balance_url()); - } - - // optional string txn_country_code = 11; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_txn_country_code()); - } - - // optional .CMsgLegacySource1ClientWelcome.Location location = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.location_); - } - - // optional uint32 version = 1; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_version()); - } - - // optional uint32 rtime32_gc_welcome_timestamp = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rtime32_gc_welcome_timestamp()); - } - - // optional uint32 currency = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_currency()); - } - - } - // optional uint32 balance = 9; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_balance()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgLegacySource1ClientWelcome::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgLegacySource1ClientWelcome::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgLegacySource1ClientWelcome::GetClassData() const { return &_class_data_; } - - -void CMsgLegacySource1ClientWelcome::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgLegacySource1ClientWelcome) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.outofdate_subscribed_caches_.MergeFrom(from._impl_.outofdate_subscribed_caches_); - _this->_impl_.uptodate_subscribed_caches_.MergeFrom(from._impl_.uptodate_subscribed_caches_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_game_data(from._internal_game_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_game_data2(from._internal_game_data2()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_balance_url(from._internal_balance_url()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_txn_country_code(from._internal_txn_country_code()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_mutable_location()->::CMsgLegacySource1ClientWelcome_Location::MergeFrom( - from._internal_location()); - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.version_ = from._impl_.version_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.rtime32_gc_welcome_timestamp_ = from._impl_.rtime32_gc_welcome_timestamp_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.currency_ = from._impl_.currency_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_balance(from._internal_balance()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgLegacySource1ClientWelcome::CopyFrom(const CMsgLegacySource1ClientWelcome& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgLegacySource1ClientWelcome) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgLegacySource1ClientWelcome::IsInitialized() const { - return true; -} - -void CMsgLegacySource1ClientWelcome::InternalSwap(CMsgLegacySource1ClientWelcome* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.outofdate_subscribed_caches_.InternalSwap(&other->_impl_.outofdate_subscribed_caches_); - _impl_.uptodate_subscribed_caches_.InternalSwap(&other->_impl_.uptodate_subscribed_caches_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.game_data_, lhs_arena, - &other->_impl_.game_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.game_data2_, lhs_arena, - &other->_impl_.game_data2_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.balance_url_, lhs_arena, - &other->_impl_.balance_url_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.txn_country_code_, lhs_arena, - &other->_impl_.txn_country_code_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgLegacySource1ClientWelcome, _impl_.balance_) - + sizeof(CMsgLegacySource1ClientWelcome::_impl_.balance_) - - PROTOBUF_FIELD_OFFSET(CMsgLegacySource1ClientWelcome, _impl_.location_)>( - reinterpret_cast(&_impl_.location_), - reinterpret_cast(&other->_impl_.location_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgLegacySource1ClientWelcome::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[108]); -} - -// =================================================================== - -class CMsgCStrike15Welcome::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_store_item_hash(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_timeplayedconsecutively(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_time_first_played(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_last_time_played(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_last_ip_address(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_gscookieid(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_uniqueid(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } -}; - -CMsgCStrike15Welcome::CMsgCStrike15Welcome(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgCStrike15Welcome) -} -CMsgCStrike15Welcome::CMsgCStrike15Welcome(const CMsgCStrike15Welcome& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgCStrike15Welcome* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.store_item_hash_){} - , decltype(_impl_.timeplayedconsecutively_){} - , decltype(_impl_.time_first_played_){} - , decltype(_impl_.last_time_played_){} - , decltype(_impl_.gscookieid_){} - , decltype(_impl_.uniqueid_){} - , decltype(_impl_.last_ip_address_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.store_item_hash_, &from._impl_.store_item_hash_, - static_cast(reinterpret_cast(&_impl_.last_ip_address_) - - reinterpret_cast(&_impl_.store_item_hash_)) + sizeof(_impl_.last_ip_address_)); - // @@protoc_insertion_point(copy_constructor:CMsgCStrike15Welcome) -} - -inline void CMsgCStrike15Welcome::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.store_item_hash_){0u} - , decltype(_impl_.timeplayedconsecutively_){0u} - , decltype(_impl_.time_first_played_){0u} - , decltype(_impl_.last_time_played_){0u} - , decltype(_impl_.gscookieid_){uint64_t{0u}} - , decltype(_impl_.uniqueid_){uint64_t{0u}} - , decltype(_impl_.last_ip_address_){0u} - }; -} - -CMsgCStrike15Welcome::~CMsgCStrike15Welcome() { - // @@protoc_insertion_point(destructor:CMsgCStrike15Welcome) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgCStrike15Welcome::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgCStrike15Welcome::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgCStrike15Welcome::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgCStrike15Welcome) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - ::memset(&_impl_.store_item_hash_, 0, static_cast( - reinterpret_cast(&_impl_.last_ip_address_) - - reinterpret_cast(&_impl_.store_item_hash_)) + sizeof(_impl_.last_ip_address_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgCStrike15Welcome::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 store_item_hash = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_store_item_hash(&has_bits); - _impl_.store_item_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 timeplayedconsecutively = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_timeplayedconsecutively(&has_bits); - _impl_.timeplayedconsecutively_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 time_first_played = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_time_first_played(&has_bits); - _impl_.time_first_played_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 last_time_played = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_last_time_played(&has_bits); - _impl_.last_time_played_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 last_ip_address = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_last_ip_address(&has_bits); - _impl_.last_ip_address_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 gscookieid = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_gscookieid(&has_bits); - _impl_.gscookieid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 uniqueid = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_uniqueid(&has_bits); - _impl_.uniqueid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgCStrike15Welcome::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgCStrike15Welcome) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 store_item_hash = 5; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_store_item_hash(), target); - } - - // optional uint32 timeplayedconsecutively = 6; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_timeplayedconsecutively(), target); - } - - // optional uint32 time_first_played = 10; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_time_first_played(), target); - } - - // optional uint32 last_time_played = 12; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_last_time_played(), target); - } - - // optional uint32 last_ip_address = 13; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_last_ip_address(), target); - } - - // optional uint64 gscookieid = 18; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(18, this->_internal_gscookieid(), target); - } - - // optional uint64 uniqueid = 19; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(19, this->_internal_uniqueid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgCStrike15Welcome) - return target; -} - -size_t CMsgCStrike15Welcome::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgCStrike15Welcome) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional uint32 store_item_hash = 5; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_store_item_hash()); - } - - // optional uint32 timeplayedconsecutively = 6; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_timeplayedconsecutively()); - } - - // optional uint32 time_first_played = 10; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_first_played()); - } - - // optional uint32 last_time_played = 12; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_last_time_played()); - } - - // optional uint64 gscookieid = 18; - if (cached_has_bits & 0x00000010u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt64Size( - this->_internal_gscookieid()); - } - - // optional uint64 uniqueid = 19; - if (cached_has_bits & 0x00000020u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt64Size( - this->_internal_uniqueid()); - } - - // optional uint32 last_ip_address = 13; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_last_ip_address()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgCStrike15Welcome::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgCStrike15Welcome::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgCStrike15Welcome::GetClassData() const { return &_class_data_; } - - -void CMsgCStrike15Welcome::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgCStrike15Welcome) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.store_item_hash_ = from._impl_.store_item_hash_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.timeplayedconsecutively_ = from._impl_.timeplayedconsecutively_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.time_first_played_ = from._impl_.time_first_played_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.last_time_played_ = from._impl_.last_time_played_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.gscookieid_ = from._impl_.gscookieid_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.uniqueid_ = from._impl_.uniqueid_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.last_ip_address_ = from._impl_.last_ip_address_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgCStrike15Welcome::CopyFrom(const CMsgCStrike15Welcome& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgCStrike15Welcome) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgCStrike15Welcome::IsInitialized() const { - return true; -} - -void CMsgCStrike15Welcome::InternalSwap(CMsgCStrike15Welcome* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgCStrike15Welcome, _impl_.last_ip_address_) - + sizeof(CMsgCStrike15Welcome::_impl_.last_ip_address_) - - PROTOBUF_FIELD_OFFSET(CMsgCStrike15Welcome, _impl_.store_item_hash_)>( - reinterpret_cast(&_impl_.store_item_hash_), - reinterpret_cast(&other->_impl_.store_item_hash_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgCStrike15Welcome::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[109]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_value_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_value_int(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_server_addr(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_server_port(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) -} -CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo(const CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientVarValueNotificationInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.choked_blocks_){from._impl_.choked_blocks_} - , decltype(_impl_.value_name_){} - , decltype(_impl_.value_int_){} - , decltype(_impl_.server_addr_){} - , decltype(_impl_.server_port_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.value_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_value_name()) { - _this->_impl_.value_name_.Set(from._internal_value_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.value_int_, &from._impl_.value_int_, - static_cast(reinterpret_cast(&_impl_.server_port_) - - reinterpret_cast(&_impl_.value_int_)) + sizeof(_impl_.server_port_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) -} - -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.choked_blocks_){arena} - , decltype(_impl_.value_name_){} - , decltype(_impl_.value_int_){0} - , decltype(_impl_.server_addr_){0u} - , decltype(_impl_.server_port_){0u} - }; - _impl_.value_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::~CMsgGCCStrike15_v2_ClientVarValueNotificationInfo() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.choked_blocks_.~RepeatedPtrField(); - _impl_.value_name_.Destroy(); -} - -void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.choked_blocks_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.value_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.value_int_, 0, static_cast( - reinterpret_cast(&_impl_.server_port_) - - reinterpret_cast(&_impl_.value_int_)) + sizeof(_impl_.server_port_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string value_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_value_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.value_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 value_int = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_value_int(&has_bits); - _impl_.value_int_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 server_addr = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_server_addr(&has_bits); - _impl_.server_addr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 server_port = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_server_port(&has_bits); - _impl_.server_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated string choked_blocks = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_choked_blocks(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string value_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_value_name().data(), static_cast(this->_internal_value_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.value_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_value_name(), target); - } - - // optional int32 value_int = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_value_int(), target); - } - - // optional uint32 server_addr = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_server_addr(), target); - } - - // optional uint32 server_port = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_server_port(), target); - } - - // repeated string choked_blocks = 5; - for (int i = 0, n = this->_internal_choked_blocks_size(); i < n; i++) { - const auto& s = this->_internal_choked_blocks(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks"); - target = stream->WriteString(5, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string choked_blocks = 5; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.choked_blocks_.size()); - for (int i = 0, n = _impl_.choked_blocks_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.choked_blocks_.Get(i)); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string value_name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_value_name()); - } - - // optional int32 value_int = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_value_int()); - } - - // optional uint32 server_addr = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_addr()); - } - - // optional uint32 server_port = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_port()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.choked_blocks_.MergeFrom(from._impl_.choked_blocks_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_value_name(from._internal_value_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.value_int_ = from._impl_.value_int_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.server_addr_ = from._impl_.server_addr_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.server_port_ = from._impl_.server_port_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::CopyFrom(const CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::InternalSwap(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.choked_blocks_.InternalSwap(&other->_impl_.choked_blocks_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.value_name_, lhs_arena, - &other->_impl_.value_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo, _impl_.server_port_) - + sizeof(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_impl_.server_port_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo, _impl_.value_int_)>( - reinterpret_cast(&_impl_.value_int_), - reinterpret_cast(&other->_impl_.value_int_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[110]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) -} -CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo(const CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ServerVarValueNotificationInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.viewangles_){from._impl_.viewangles_} - , decltype(_impl_.userdata_){from._impl_.userdata_} - , decltype(_impl_.accountid_){} - , decltype(_impl_.type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.accountid_, &from._impl_.accountid_, - static_cast(reinterpret_cast(&_impl_.type_) - - reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.type_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) -} - -inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.viewangles_){arena} - , decltype(_impl_.userdata_){arena} - , decltype(_impl_.accountid_){0u} - , decltype(_impl_.type_){0u} - }; -} - -CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::~CMsgGCCStrike15_v2_ServerVarValueNotificationInfo() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.viewangles_.~RepeatedField(); - _impl_.userdata_.~RepeatedField(); -} - -void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.viewangles_.Clear(); - _impl_.userdata_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.accountid_, 0, static_cast( - reinterpret_cast(&_impl_.type_) - - reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.type_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 accountid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 viewangles = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_viewangles(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); - } else if (static_cast(tag) == 18) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_viewangles(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 type = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_type(&has_bits); - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 userdata = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_userdata(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<32>(ptr)); - } else if (static_cast(tag) == 34) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_userdata(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); - } - - // repeated uint32 viewangles = 2; - for (int i = 0, n = this->_internal_viewangles_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_viewangles(i), target); - } - - // optional uint32 type = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_type(), target); - } - - // repeated uint32 userdata = 4; - for (int i = 0, n = this->_internal_userdata_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_userdata(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) - return target; -} - -size_t CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 viewangles = 2; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.viewangles_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_viewangles_size()); - total_size += data_size; - } - - // repeated uint32 userdata = 4; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.userdata_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_userdata_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - // optional uint32 type = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.viewangles_.MergeFrom(from._impl_.viewangles_); - _this->_impl_.userdata_.MergeFrom(from._impl_.userdata_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.accountid_ = from._impl_.accountid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.type_ = from._impl_.type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::CopyFrom(const CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::InternalSwap(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.viewangles_.InternalSwap(&other->_impl_.viewangles_); - _impl_.userdata_.InternalSwap(&other->_impl_.userdata_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo, _impl_.type_) - + sizeof(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_impl_.type_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo, _impl_.accountid_)>( - reinterpret_cast(&_impl_.accountid_), - reinterpret_cast(&other->_impl_.accountid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[111]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_GiftsLeaderboardRequest::_Internal { - public: -}; - -CMsgGCCStrike15_v2_GiftsLeaderboardRequest::CMsgGCCStrike15_v2_GiftsLeaderboardRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_GiftsLeaderboardRequest) -} -CMsgGCCStrike15_v2_GiftsLeaderboardRequest::CMsgGCCStrike15_v2_GiftsLeaderboardRequest(const CMsgGCCStrike15_v2_GiftsLeaderboardRequest& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CMsgGCCStrike15_v2_GiftsLeaderboardRequest* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GiftsLeaderboardRequest) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GiftsLeaderboardRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GiftsLeaderboardRequest::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GiftsLeaderboardRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[112]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_gifts(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) -} -CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.accountid_){} - , decltype(_impl_.gifts_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.accountid_, &from._impl_.accountid_, - static_cast(reinterpret_cast(&_impl_.gifts_) - - reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.gifts_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) -} - -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.accountid_){0u} - , decltype(_impl_.gifts_){0u} - }; -} - -CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::~CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.accountid_, 0, static_cast( - reinterpret_cast(&_impl_.gifts_) - - reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.gifts_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 accountid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 gifts = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_gifts(&has_bits); - _impl_.gifts_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); - } - - // optional uint32 gifts = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_gifts(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) - return target; -} - -size_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - // optional uint32 gifts = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gifts()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.accountid_ = from._impl_.accountid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.gifts_ = from._impl_.gifts_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::CopyFrom(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::InternalSwap(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry, _impl_.gifts_) - + sizeof(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_impl_.gifts_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry, _impl_.accountid_)>( - reinterpret_cast(&_impl_.accountid_), - reinterpret_cast(&other->_impl_.accountid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[113]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_servertime(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_time_period_seconds(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_total_gifts_given(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_total_givers(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgGCCStrike15_v2_GiftsLeaderboardResponse::CMsgGCCStrike15_v2_GiftsLeaderboardResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) -} -CMsgGCCStrike15_v2_GiftsLeaderboardResponse::CMsgGCCStrike15_v2_GiftsLeaderboardResponse(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_GiftsLeaderboardResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entries_){from._impl_.entries_} - , decltype(_impl_.servertime_){} - , decltype(_impl_.time_period_seconds_){} - , decltype(_impl_.total_gifts_given_){} - , decltype(_impl_.total_givers_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.servertime_, &from._impl_.servertime_, - static_cast(reinterpret_cast(&_impl_.total_givers_) - - reinterpret_cast(&_impl_.servertime_)) + sizeof(_impl_.total_givers_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) -} - -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entries_){arena} - , decltype(_impl_.servertime_){0u} - , decltype(_impl_.time_period_seconds_){0u} - , decltype(_impl_.total_gifts_given_){0u} - , decltype(_impl_.total_givers_){0u} - }; -} - -CMsgGCCStrike15_v2_GiftsLeaderboardResponse::~CMsgGCCStrike15_v2_GiftsLeaderboardResponse() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.entries_.~RepeatedPtrField(); -} - -void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.entries_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.servertime_, 0, static_cast( - reinterpret_cast(&_impl_.total_givers_) - - reinterpret_cast(&_impl_.servertime_)) + sizeof(_impl_.total_givers_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 servertime = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_servertime(&has_bits); - _impl_.servertime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 time_period_seconds = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_time_period_seconds(&has_bits); - _impl_.time_period_seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 total_gifts_given = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_total_gifts_given(&has_bits); - _impl_.total_gifts_given_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 total_givers = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_total_givers(&has_bits); - _impl_.total_givers_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry entries = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_entries(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 servertime = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_servertime(), target); - } - - // optional uint32 time_period_seconds = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_time_period_seconds(), target); - } - - // optional uint32 total_gifts_given = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_total_gifts_given(), target); - } - - // optional uint32 total_givers = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_total_givers(), target); - } - - // repeated .CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry entries = 5; - for (unsigned i = 0, - n = static_cast(this->_internal_entries_size()); i < n; i++) { - const auto& repfield = this->_internal_entries(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) - return target; -} - -size_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry entries = 5; - total_size += 1UL * this->_internal_entries_size(); - for (const auto& msg : this->_impl_.entries_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 servertime = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_servertime()); - } - - // optional uint32 time_period_seconds = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_period_seconds()); - } - - // optional uint32 total_gifts_given = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_total_gifts_given()); - } - - // optional uint32 total_givers = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_total_givers()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_GiftsLeaderboardResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GiftsLeaderboardResponse::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.entries_.MergeFrom(from._impl_.entries_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.servertime_ = from._impl_.servertime_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.time_period_seconds_ = from._impl_.time_period_seconds_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.total_gifts_given_ = from._impl_.total_gifts_given_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.total_givers_ = from._impl_.total_givers_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::CopyFrom(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::InternalSwap(CMsgGCCStrike15_v2_GiftsLeaderboardResponse* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.entries_.InternalSwap(&other->_impl_.entries_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GiftsLeaderboardResponse, _impl_.total_givers_) - + sizeof(CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_impl_.total_givers_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GiftsLeaderboardResponse, _impl_.servertime_)>( - reinterpret_cast(&_impl_.servertime_), - reinterpret_cast(&other->_impl_.servertime_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GiftsLeaderboardResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[114]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_survey_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_vote(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCStrike15_v2_ClientSubmitSurveyVote::CMsgGCCStrike15_v2_ClientSubmitSurveyVote(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) -} -CMsgGCCStrike15_v2_ClientSubmitSurveyVote::CMsgGCCStrike15_v2_ClientSubmitSurveyVote(const CMsgGCCStrike15_v2_ClientSubmitSurveyVote& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientSubmitSurveyVote* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.survey_id_){} - , decltype(_impl_.vote_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.survey_id_, &from._impl_.survey_id_, - static_cast(reinterpret_cast(&_impl_.vote_) - - reinterpret_cast(&_impl_.survey_id_)) + sizeof(_impl_.vote_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) -} - -inline void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.survey_id_){0u} - , decltype(_impl_.vote_){0u} - }; -} - -CMsgGCCStrike15_v2_ClientSubmitSurveyVote::~CMsgGCCStrike15_v2_ClientSubmitSurveyVote() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.survey_id_, 0, static_cast( - reinterpret_cast(&_impl_.vote_) - - reinterpret_cast(&_impl_.survey_id_)) + sizeof(_impl_.vote_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 survey_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_survey_id(&has_bits); - _impl_.survey_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 vote = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_vote(&has_bits); - _impl_.vote_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 survey_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_survey_id(), target); - } - - // optional uint32 vote = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_vote(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientSubmitSurveyVote::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 survey_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_survey_id()); - } - - // optional uint32 vote = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_vote()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientSubmitSurveyVote::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientSubmitSurveyVote::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.survey_id_ = from._impl_.survey_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.vote_ = from._impl_.vote_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::CopyFrom(const CMsgGCCStrike15_v2_ClientSubmitSurveyVote& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientSubmitSurveyVote::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::InternalSwap(CMsgGCCStrike15_v2_ClientSubmitSurveyVote* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientSubmitSurveyVote, _impl_.vote_) - + sizeof(CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_impl_.vote_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientSubmitSurveyVote, _impl_.survey_id_)>( - reinterpret_cast(&_impl_.survey_id_), - reinterpret_cast(&other->_impl_.survey_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientSubmitSurveyVote::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[115]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Server2GCClientValidate::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_Server2GCClientValidate::CMsgGCCStrike15_v2_Server2GCClientValidate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Server2GCClientValidate) -} -CMsgGCCStrike15_v2_Server2GCClientValidate::CMsgGCCStrike15_v2_Server2GCClientValidate(const CMsgGCCStrike15_v2_Server2GCClientValidate& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_Server2GCClientValidate* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.accountid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.accountid_ = from._impl_.accountid_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Server2GCClientValidate) -} - -inline void CMsgGCCStrike15_v2_Server2GCClientValidate::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.accountid_){0u} - }; -} - -CMsgGCCStrike15_v2_Server2GCClientValidate::~CMsgGCCStrike15_v2_Server2GCClientValidate() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Server2GCClientValidate) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_Server2GCClientValidate::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_Server2GCClientValidate::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_Server2GCClientValidate::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Server2GCClientValidate) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.accountid_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_Server2GCClientValidate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 accountid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_Server2GCClientValidate::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Server2GCClientValidate) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_Server2GCClientValidate) - return target; -} - -size_t CMsgGCCStrike15_v2_Server2GCClientValidate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Server2GCClientValidate) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 accountid = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Server2GCClientValidate::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_Server2GCClientValidate::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Server2GCClientValidate::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_Server2GCClientValidate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_Server2GCClientValidate) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_accountid()) { - _this->_internal_set_accountid(from._internal_accountid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_Server2GCClientValidate::CopyFrom(const CMsgGCCStrike15_v2_Server2GCClientValidate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Server2GCClientValidate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_Server2GCClientValidate::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_Server2GCClientValidate::InternalSwap(CMsgGCCStrike15_v2_Server2GCClientValidate* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.accountid_, other->_impl_.accountid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Server2GCClientValidate::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[116]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_eventid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_stageid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_game_type(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgGCCStrike15_v2_GC2ClientTournamentInfo::CMsgGCCStrike15_v2_GC2ClientTournamentInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) -} -CMsgGCCStrike15_v2_GC2ClientTournamentInfo::CMsgGCCStrike15_v2_GC2ClientTournamentInfo(const CMsgGCCStrike15_v2_GC2ClientTournamentInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_GC2ClientTournamentInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.teamids_){from._impl_.teamids_} - , decltype(_impl_.eventid_){} - , decltype(_impl_.stageid_){} - , decltype(_impl_.game_type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.eventid_, &from._impl_.eventid_, - static_cast(reinterpret_cast(&_impl_.game_type_) - - reinterpret_cast(&_impl_.eventid_)) + sizeof(_impl_.game_type_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) -} - -inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.teamids_){arena} - , decltype(_impl_.eventid_){0u} - , decltype(_impl_.stageid_){0u} - , decltype(_impl_.game_type_){0u} - }; -} - -CMsgGCCStrike15_v2_GC2ClientTournamentInfo::~CMsgGCCStrike15_v2_GC2ClientTournamentInfo() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.teamids_.~RepeatedField(); -} - -void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.teamids_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.eventid_, 0, static_cast( - reinterpret_cast(&_impl_.game_type_) - - reinterpret_cast(&_impl_.eventid_)) + sizeof(_impl_.game_type_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 eventid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_eventid(&has_bits); - _impl_.eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 stageid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_stageid(&has_bits); - _impl_.stageid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 game_type = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_game_type(&has_bits); - _impl_.game_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 teamids = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_teamids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<32>(ptr)); - } else if (static_cast(tag) == 34) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_teamids(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 eventid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_eventid(), target); - } - - // optional uint32 stageid = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_stageid(), target); - } - - // optional uint32 game_type = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_game_type(), target); - } - - // repeated uint32 teamids = 4; - for (int i = 0, n = this->_internal_teamids_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_teamids(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) - return target; -} - -size_t CMsgGCCStrike15_v2_GC2ClientTournamentInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 teamids = 4; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.teamids_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_teamids_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 eventid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_eventid()); - } - - // optional uint32 stageid = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_stageid()); - } - - // optional uint32 game_type = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_game_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_GC2ClientTournamentInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GC2ClientTournamentInfo::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.teamids_.MergeFrom(from._impl_.teamids_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.eventid_ = from._impl_.eventid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.stageid_ = from._impl_.stageid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.game_type_ = from._impl_.game_type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::CopyFrom(const CMsgGCCStrike15_v2_GC2ClientTournamentInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_GC2ClientTournamentInfo::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::InternalSwap(CMsgGCCStrike15_v2_GC2ClientTournamentInfo* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.teamids_.InternalSwap(&other->_impl_.teamids_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientTournamentInfo, _impl_.game_type_) - + sizeof(CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_impl_.game_type_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientTournamentInfo, _impl_.eventid_)>( - reinterpret_cast(&_impl_.eventid_), - reinterpret_cast(&other->_impl_.eventid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GC2ClientTournamentInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[117]); -} - -// =================================================================== - -class CSOEconCoupon::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_entryid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_defidx(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_expiration_date(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CSOEconCoupon::CSOEconCoupon(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOEconCoupon) -} -CSOEconCoupon::CSOEconCoupon(const CSOEconCoupon& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOEconCoupon* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entryid_){} - , decltype(_impl_.defidx_){} - , decltype(_impl_.expiration_date_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.entryid_, &from._impl_.entryid_, - static_cast(reinterpret_cast(&_impl_.expiration_date_) - - reinterpret_cast(&_impl_.entryid_)) + sizeof(_impl_.expiration_date_)); - // @@protoc_insertion_point(copy_constructor:CSOEconCoupon) -} - -inline void CSOEconCoupon::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entryid_){0u} - , decltype(_impl_.defidx_){0u} - , decltype(_impl_.expiration_date_){0u} - }; -} - -CSOEconCoupon::~CSOEconCoupon() { - // @@protoc_insertion_point(destructor:CSOEconCoupon) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOEconCoupon::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSOEconCoupon::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOEconCoupon::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOEconCoupon) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.entryid_, 0, static_cast( - reinterpret_cast(&_impl_.expiration_date_) - - reinterpret_cast(&_impl_.entryid_)) + sizeof(_impl_.expiration_date_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOEconCoupon::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 entryid = 1 [(.key_field) = true]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_entryid(&has_bits); - _impl_.entryid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 defidx = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_defidx(&has_bits); - _impl_.defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 expiration_date = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_expiration_date(&has_bits); - _impl_.expiration_date_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOEconCoupon::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOEconCoupon) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 entryid = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_entryid(), target); - } - - // optional uint32 defidx = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_defidx(), target); - } - - // optional fixed32 expiration_date = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_expiration_date(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOEconCoupon) - return target; -} - -size_t CSOEconCoupon::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOEconCoupon) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 entryid = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entryid()); - } - - // optional uint32 defidx = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_defidx()); - } - - // optional fixed32 expiration_date = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOEconCoupon::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOEconCoupon::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOEconCoupon::GetClassData() const { return &_class_data_; } - - -void CSOEconCoupon::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOEconCoupon) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.entryid_ = from._impl_.entryid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.defidx_ = from._impl_.defidx_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.expiration_date_ = from._impl_.expiration_date_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOEconCoupon::CopyFrom(const CSOEconCoupon& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOEconCoupon) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOEconCoupon::IsInitialized() const { - return true; -} - -void CSOEconCoupon::InternalSwap(CSOEconCoupon* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOEconCoupon, _impl_.expiration_date_) - + sizeof(CSOEconCoupon::_impl_.expiration_date_) - - PROTOBUF_FIELD_OFFSET(CSOEconCoupon, _impl_.entryid_)>( - reinterpret_cast(&_impl_.entryid_), - reinterpret_cast(&other->_impl_.entryid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOEconCoupon::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[118]); -} - -// =================================================================== - -class CSOAccountItemPersonalStore::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_generation_time(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_redeemable_balance(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CSOAccountItemPersonalStore::CSOAccountItemPersonalStore(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOAccountItemPersonalStore) -} -CSOAccountItemPersonalStore::CSOAccountItemPersonalStore(const CSOAccountItemPersonalStore& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOAccountItemPersonalStore* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.items_){from._impl_.items_} - , decltype(_impl_.generation_time_){} - , decltype(_impl_.redeemable_balance_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.generation_time_, &from._impl_.generation_time_, - static_cast(reinterpret_cast(&_impl_.redeemable_balance_) - - reinterpret_cast(&_impl_.generation_time_)) + sizeof(_impl_.redeemable_balance_)); - // @@protoc_insertion_point(copy_constructor:CSOAccountItemPersonalStore) -} - -inline void CSOAccountItemPersonalStore::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.items_){arena} - , decltype(_impl_.generation_time_){0u} - , decltype(_impl_.redeemable_balance_){0u} - }; -} - -CSOAccountItemPersonalStore::~CSOAccountItemPersonalStore() { - // @@protoc_insertion_point(destructor:CSOAccountItemPersonalStore) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOAccountItemPersonalStore::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.items_.~RepeatedField(); -} - -void CSOAccountItemPersonalStore::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOAccountItemPersonalStore::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOAccountItemPersonalStore) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.items_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.generation_time_, 0, static_cast( - reinterpret_cast(&_impl_.redeemable_balance_) - - reinterpret_cast(&_impl_.generation_time_)) + sizeof(_impl_.redeemable_balance_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOAccountItemPersonalStore::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 generation_time = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_generation_time(&has_bits); - _impl_.generation_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 redeemable_balance = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_redeemable_balance(&has_bits); - _impl_.redeemable_balance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint64 items = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_items(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<24>(ptr)); - } else if (static_cast(tag) == 26) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_items(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOAccountItemPersonalStore::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOAccountItemPersonalStore) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 generation_time = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_generation_time(), target); - } - - // optional uint32 redeemable_balance = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_redeemable_balance(), target); - } - - // repeated uint64 items = 3; - for (int i = 0, n = this->_internal_items_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_items(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOAccountItemPersonalStore) - return target; -} - -size_t CSOAccountItemPersonalStore::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOAccountItemPersonalStore) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint64 items = 3; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt64Size(this->_impl_.items_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_items_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 generation_time = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_generation_time()); - } - - // optional uint32 redeemable_balance = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_redeemable_balance()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOAccountItemPersonalStore::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOAccountItemPersonalStore::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOAccountItemPersonalStore::GetClassData() const { return &_class_data_; } - - -void CSOAccountItemPersonalStore::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOAccountItemPersonalStore) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.items_.MergeFrom(from._impl_.items_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.generation_time_ = from._impl_.generation_time_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.redeemable_balance_ = from._impl_.redeemable_balance_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOAccountItemPersonalStore::CopyFrom(const CSOAccountItemPersonalStore& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOAccountItemPersonalStore) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOAccountItemPersonalStore::IsInitialized() const { - return true; -} - -void CSOAccountItemPersonalStore::InternalSwap(CSOAccountItemPersonalStore* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.items_.InternalSwap(&other->_impl_.items_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOAccountItemPersonalStore, _impl_.redeemable_balance_) - + sizeof(CSOAccountItemPersonalStore::_impl_.redeemable_balance_) - - PROTOBUF_FIELD_OFFSET(CSOAccountItemPersonalStore, _impl_.generation_time_)>( - reinterpret_cast(&_impl_.generation_time_), - reinterpret_cast(&other->_impl_.generation_time_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOAccountItemPersonalStore::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[119]); -} - -// =================================================================== - -class CSOAccountXpShop::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_generation_time(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_redeemable_balance(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CSOAccountXpShop::CSOAccountXpShop(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOAccountXpShop) -} -CSOAccountXpShop::CSOAccountXpShop(const CSOAccountXpShop& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOAccountXpShop* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.xp_tracks_){from._impl_.xp_tracks_} - , decltype(_impl_.generation_time_){} - , decltype(_impl_.redeemable_balance_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.generation_time_, &from._impl_.generation_time_, - static_cast(reinterpret_cast(&_impl_.redeemable_balance_) - - reinterpret_cast(&_impl_.generation_time_)) + sizeof(_impl_.redeemable_balance_)); - // @@protoc_insertion_point(copy_constructor:CSOAccountXpShop) -} - -inline void CSOAccountXpShop::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.xp_tracks_){arena} - , decltype(_impl_.generation_time_){0u} - , decltype(_impl_.redeemable_balance_){0u} - }; -} - -CSOAccountXpShop::~CSOAccountXpShop() { - // @@protoc_insertion_point(destructor:CSOAccountXpShop) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOAccountXpShop::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.xp_tracks_.~RepeatedField(); -} - -void CSOAccountXpShop::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOAccountXpShop::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOAccountXpShop) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.xp_tracks_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.generation_time_, 0, static_cast( - reinterpret_cast(&_impl_.redeemable_balance_) - - reinterpret_cast(&_impl_.generation_time_)) + sizeof(_impl_.redeemable_balance_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOAccountXpShop::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 generation_time = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_generation_time(&has_bits); - _impl_.generation_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 redeemable_balance = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_redeemable_balance(&has_bits); - _impl_.redeemable_balance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 xp_tracks = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_xp_tracks(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<24>(ptr)); - } else if (static_cast(tag) == 26) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_xp_tracks(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOAccountXpShop::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOAccountXpShop) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 generation_time = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_generation_time(), target); - } - - // optional uint32 redeemable_balance = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_redeemable_balance(), target); - } - - // repeated uint32 xp_tracks = 3; - for (int i = 0, n = this->_internal_xp_tracks_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_xp_tracks(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOAccountXpShop) - return target; -} - -size_t CSOAccountXpShop::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOAccountXpShop) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 xp_tracks = 3; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.xp_tracks_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_xp_tracks_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 generation_time = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_generation_time()); - } - - // optional uint32 redeemable_balance = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_redeemable_balance()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOAccountXpShop::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOAccountXpShop::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOAccountXpShop::GetClassData() const { return &_class_data_; } - - -void CSOAccountXpShop::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOAccountXpShop) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.xp_tracks_.MergeFrom(from._impl_.xp_tracks_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.generation_time_ = from._impl_.generation_time_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.redeemable_balance_ = from._impl_.redeemable_balance_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOAccountXpShop::CopyFrom(const CSOAccountXpShop& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOAccountXpShop) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOAccountXpShop::IsInitialized() const { - return true; -} - -void CSOAccountXpShop::InternalSwap(CSOAccountXpShop* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.xp_tracks_.InternalSwap(&other->_impl_.xp_tracks_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOAccountXpShop, _impl_.redeemable_balance_) - + sizeof(CSOAccountXpShop::_impl_.redeemable_balance_) - - PROTOBUF_FIELD_OFFSET(CSOAccountXpShop, _impl_.generation_time_)>( - reinterpret_cast(&_impl_.generation_time_), - reinterpret_cast(&other->_impl_.generation_time_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOAccountXpShop::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[120]); -} - -// =================================================================== - -class CSOAccountXpShopBids::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_campaign_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_redeem_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_expected_cost(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_generation_time(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CSOAccountXpShopBids::CSOAccountXpShopBids(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOAccountXpShopBids) -} -CSOAccountXpShopBids::CSOAccountXpShopBids(const CSOAccountXpShopBids& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOAccountXpShopBids* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.campaign_id_){} - , decltype(_impl_.redeem_id_){} - , decltype(_impl_.expected_cost_){} - , decltype(_impl_.generation_time_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.campaign_id_, &from._impl_.campaign_id_, - static_cast(reinterpret_cast(&_impl_.generation_time_) - - reinterpret_cast(&_impl_.campaign_id_)) + sizeof(_impl_.generation_time_)); - // @@protoc_insertion_point(copy_constructor:CSOAccountXpShopBids) -} - -inline void CSOAccountXpShopBids::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.campaign_id_){0u} - , decltype(_impl_.redeem_id_){0u} - , decltype(_impl_.expected_cost_){0u} - , decltype(_impl_.generation_time_){0u} - }; -} - -CSOAccountXpShopBids::~CSOAccountXpShopBids() { - // @@protoc_insertion_point(destructor:CSOAccountXpShopBids) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOAccountXpShopBids::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSOAccountXpShopBids::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOAccountXpShopBids::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOAccountXpShopBids) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.campaign_id_, 0, static_cast( - reinterpret_cast(&_impl_.generation_time_) - - reinterpret_cast(&_impl_.campaign_id_)) + sizeof(_impl_.generation_time_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOAccountXpShopBids::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 campaign_id = 1 [(.key_field) = true]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_campaign_id(&has_bits); - _impl_.campaign_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 redeem_id = 2 [(.key_field) = true]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_redeem_id(&has_bits); - _impl_.redeem_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 expected_cost = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_expected_cost(&has_bits); - _impl_.expected_cost_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 generation_time = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_generation_time(&has_bits); - _impl_.generation_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOAccountXpShopBids::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOAccountXpShopBids) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 campaign_id = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_campaign_id(), target); - } - - // optional uint32 redeem_id = 2 [(.key_field) = true]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_redeem_id(), target); - } - - // optional uint32 expected_cost = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_expected_cost(), target); - } - - // optional uint32 generation_time = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_generation_time(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOAccountXpShopBids) - return target; -} - -size_t CSOAccountXpShopBids::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOAccountXpShopBids) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 campaign_id = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_campaign_id()); - } - - // optional uint32 redeem_id = 2 [(.key_field) = true]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_redeem_id()); - } - - // optional uint32 expected_cost = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_expected_cost()); - } - - // optional uint32 generation_time = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_generation_time()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOAccountXpShopBids::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOAccountXpShopBids::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOAccountXpShopBids::GetClassData() const { return &_class_data_; } - - -void CSOAccountXpShopBids::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOAccountXpShopBids) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.campaign_id_ = from._impl_.campaign_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.redeem_id_ = from._impl_.redeem_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.expected_cost_ = from._impl_.expected_cost_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.generation_time_ = from._impl_.generation_time_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOAccountXpShopBids::CopyFrom(const CSOAccountXpShopBids& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOAccountXpShopBids) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOAccountXpShopBids::IsInitialized() const { - return true; -} - -void CSOAccountXpShopBids::InternalSwap(CSOAccountXpShopBids* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOAccountXpShopBids, _impl_.generation_time_) - + sizeof(CSOAccountXpShopBids::_impl_.generation_time_) - - PROTOBUF_FIELD_OFFSET(CSOAccountXpShopBids, _impl_.campaign_id_)>( - reinterpret_cast(&_impl_.campaign_id_), - reinterpret_cast(&other->_impl_.campaign_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOAccountXpShopBids::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[121]); -} - -// =================================================================== - -class CSOVolatileItemOffer::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_defidx(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSOVolatileItemOffer::CSOVolatileItemOffer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOVolatileItemOffer) -} -CSOVolatileItemOffer::CSOVolatileItemOffer(const CSOVolatileItemOffer& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOVolatileItemOffer* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.faux_itemid_){from._impl_.faux_itemid_} - , decltype(_impl_.generation_time_){from._impl_.generation_time_} - , decltype(_impl_.defidx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.defidx_ = from._impl_.defidx_; - // @@protoc_insertion_point(copy_constructor:CSOVolatileItemOffer) -} - -inline void CSOVolatileItemOffer::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.faux_itemid_){arena} - , decltype(_impl_.generation_time_){arena} - , decltype(_impl_.defidx_){0u} - }; -} - -CSOVolatileItemOffer::~CSOVolatileItemOffer() { - // @@protoc_insertion_point(destructor:CSOVolatileItemOffer) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOVolatileItemOffer::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.faux_itemid_.~RepeatedField(); - _impl_.generation_time_.~RepeatedField(); -} - -void CSOVolatileItemOffer::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOVolatileItemOffer::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOVolatileItemOffer) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.faux_itemid_.Clear(); - _impl_.generation_time_.Clear(); - _impl_.defidx_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOVolatileItemOffer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 defidx = 1 [(.key_field) = true]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_defidx(&has_bits); - _impl_.defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint64 faux_itemid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_faux_itemid(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); - } else if (static_cast(tag) == 18) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_faux_itemid(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 generation_time = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_generation_time(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<24>(ptr)); - } else if (static_cast(tag) == 26) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_generation_time(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOVolatileItemOffer::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOVolatileItemOffer) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 defidx = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_defidx(), target); - } - - // repeated uint64 faux_itemid = 2; - for (int i = 0, n = this->_internal_faux_itemid_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_faux_itemid(i), target); - } - - // repeated uint32 generation_time = 3; - for (int i = 0, n = this->_internal_generation_time_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_generation_time(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOVolatileItemOffer) - return target; -} - -size_t CSOVolatileItemOffer::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOVolatileItemOffer) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint64 faux_itemid = 2; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt64Size(this->_impl_.faux_itemid_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_faux_itemid_size()); - total_size += data_size; - } - - // repeated uint32 generation_time = 3; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.generation_time_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_generation_time_size()); - total_size += data_size; - } - - // optional uint32 defidx = 1 [(.key_field) = true]; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_defidx()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOVolatileItemOffer::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOVolatileItemOffer::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOVolatileItemOffer::GetClassData() const { return &_class_data_; } - - -void CSOVolatileItemOffer::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOVolatileItemOffer) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.faux_itemid_.MergeFrom(from._impl_.faux_itemid_); - _this->_impl_.generation_time_.MergeFrom(from._impl_.generation_time_); - if (from._internal_has_defidx()) { - _this->_internal_set_defidx(from._internal_defidx()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOVolatileItemOffer::CopyFrom(const CSOVolatileItemOffer& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOVolatileItemOffer) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOVolatileItemOffer::IsInitialized() const { - return true; -} - -void CSOVolatileItemOffer::InternalSwap(CSOVolatileItemOffer* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.faux_itemid_.InternalSwap(&other->_impl_.faux_itemid_); - _impl_.generation_time_.InternalSwap(&other->_impl_.generation_time_); - swap(_impl_.defidx_, other->_impl_.defidx_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOVolatileItemOffer::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[122]); -} - -// =================================================================== - -class CSOVolatileItemClaimedRewards::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_defidx(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSOVolatileItemClaimedRewards::CSOVolatileItemClaimedRewards(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOVolatileItemClaimedRewards) -} -CSOVolatileItemClaimedRewards::CSOVolatileItemClaimedRewards(const CSOVolatileItemClaimedRewards& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOVolatileItemClaimedRewards* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.reward_){from._impl_.reward_} - , decltype(_impl_.generation_time_){from._impl_.generation_time_} - , decltype(_impl_.defidx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.defidx_ = from._impl_.defidx_; - // @@protoc_insertion_point(copy_constructor:CSOVolatileItemClaimedRewards) -} - -inline void CSOVolatileItemClaimedRewards::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.reward_){arena} - , decltype(_impl_.generation_time_){arena} - , decltype(_impl_.defidx_){0u} - }; -} - -CSOVolatileItemClaimedRewards::~CSOVolatileItemClaimedRewards() { - // @@protoc_insertion_point(destructor:CSOVolatileItemClaimedRewards) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOVolatileItemClaimedRewards::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.reward_.~RepeatedField(); - _impl_.generation_time_.~RepeatedField(); -} - -void CSOVolatileItemClaimedRewards::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOVolatileItemClaimedRewards::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOVolatileItemClaimedRewards) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.reward_.Clear(); - _impl_.generation_time_.Clear(); - _impl_.defidx_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOVolatileItemClaimedRewards::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 defidx = 1 [(.key_field) = true]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_defidx(&has_bits); - _impl_.defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 reward = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_reward(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); - } else if (static_cast(tag) == 18) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_reward(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 generation_time = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_generation_time(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<24>(ptr)); - } else if (static_cast(tag) == 26) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_generation_time(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOVolatileItemClaimedRewards::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOVolatileItemClaimedRewards) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 defidx = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_defidx(), target); - } - - // repeated uint32 reward = 2; - for (int i = 0, n = this->_internal_reward_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_reward(i), target); - } - - // repeated uint32 generation_time = 3; - for (int i = 0, n = this->_internal_generation_time_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_generation_time(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOVolatileItemClaimedRewards) - return target; -} - -size_t CSOVolatileItemClaimedRewards::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOVolatileItemClaimedRewards) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 reward = 2; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.reward_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_reward_size()); - total_size += data_size; - } - - // repeated uint32 generation_time = 3; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.generation_time_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_generation_time_size()); - total_size += data_size; - } - - // optional uint32 defidx = 1 [(.key_field) = true]; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_defidx()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOVolatileItemClaimedRewards::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOVolatileItemClaimedRewards::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOVolatileItemClaimedRewards::GetClassData() const { return &_class_data_; } - - -void CSOVolatileItemClaimedRewards::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOVolatileItemClaimedRewards) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.reward_.MergeFrom(from._impl_.reward_); - _this->_impl_.generation_time_.MergeFrom(from._impl_.generation_time_); - if (from._internal_has_defidx()) { - _this->_internal_set_defidx(from._internal_defidx()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOVolatileItemClaimedRewards::CopyFrom(const CSOVolatileItemClaimedRewards& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOVolatileItemClaimedRewards) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOVolatileItemClaimedRewards::IsInitialized() const { - return true; -} - -void CSOVolatileItemClaimedRewards::InternalSwap(CSOVolatileItemClaimedRewards* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.reward_.InternalSwap(&other->_impl_.reward_); - _impl_.generation_time_.InternalSwap(&other->_impl_.generation_time_); - swap(_impl_.defidx_, other->_impl_.defidx_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOVolatileItemClaimedRewards::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[123]); -} - -// =================================================================== - -class CSOAccountKeychainRemoveToolCharges::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_charges(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSOAccountKeychainRemoveToolCharges::CSOAccountKeychainRemoveToolCharges(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOAccountKeychainRemoveToolCharges) -} -CSOAccountKeychainRemoveToolCharges::CSOAccountKeychainRemoveToolCharges(const CSOAccountKeychainRemoveToolCharges& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOAccountKeychainRemoveToolCharges* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.charges_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.charges_ = from._impl_.charges_; - // @@protoc_insertion_point(copy_constructor:CSOAccountKeychainRemoveToolCharges) -} - -inline void CSOAccountKeychainRemoveToolCharges::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.charges_){0u} - }; -} - -CSOAccountKeychainRemoveToolCharges::~CSOAccountKeychainRemoveToolCharges() { - // @@protoc_insertion_point(destructor:CSOAccountKeychainRemoveToolCharges) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOAccountKeychainRemoveToolCharges::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSOAccountKeychainRemoveToolCharges::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOAccountKeychainRemoveToolCharges::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOAccountKeychainRemoveToolCharges) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.charges_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOAccountKeychainRemoveToolCharges::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 charges = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_charges(&has_bits); - _impl_.charges_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOAccountKeychainRemoveToolCharges::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOAccountKeychainRemoveToolCharges) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 charges = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_charges(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOAccountKeychainRemoveToolCharges) - return target; -} - -size_t CSOAccountKeychainRemoveToolCharges::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOAccountKeychainRemoveToolCharges) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 charges = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_charges()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOAccountKeychainRemoveToolCharges::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOAccountKeychainRemoveToolCharges::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOAccountKeychainRemoveToolCharges::GetClassData() const { return &_class_data_; } - - -void CSOAccountKeychainRemoveToolCharges::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOAccountKeychainRemoveToolCharges) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_charges()) { - _this->_internal_set_charges(from._internal_charges()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOAccountKeychainRemoveToolCharges::CopyFrom(const CSOAccountKeychainRemoveToolCharges& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOAccountKeychainRemoveToolCharges) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOAccountKeychainRemoveToolCharges::IsInitialized() const { - return true; -} - -void CSOAccountKeychainRemoveToolCharges::InternalSwap(CSOAccountKeychainRemoveToolCharges* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.charges_, other->_impl_.charges_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOAccountKeychainRemoveToolCharges::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[124]); -} - -// =================================================================== - -class CSOQuestProgress::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_questid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_points_remaining(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_bonus_points(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CSOQuestProgress::CSOQuestProgress(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOQuestProgress) -} -CSOQuestProgress::CSOQuestProgress(const CSOQuestProgress& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOQuestProgress* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.questid_){} - , decltype(_impl_.points_remaining_){} - , decltype(_impl_.bonus_points_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.questid_, &from._impl_.questid_, - static_cast(reinterpret_cast(&_impl_.bonus_points_) - - reinterpret_cast(&_impl_.questid_)) + sizeof(_impl_.bonus_points_)); - // @@protoc_insertion_point(copy_constructor:CSOQuestProgress) -} - -inline void CSOQuestProgress::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.questid_){0u} - , decltype(_impl_.points_remaining_){0u} - , decltype(_impl_.bonus_points_){0u} - }; -} - -CSOQuestProgress::~CSOQuestProgress() { - // @@protoc_insertion_point(destructor:CSOQuestProgress) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOQuestProgress::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSOQuestProgress::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOQuestProgress::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOQuestProgress) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.questid_, 0, static_cast( - reinterpret_cast(&_impl_.bonus_points_) - - reinterpret_cast(&_impl_.questid_)) + sizeof(_impl_.bonus_points_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOQuestProgress::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 questid = 1 [(.key_field) = true]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_questid(&has_bits); - _impl_.questid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 points_remaining = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_points_remaining(&has_bits); - _impl_.points_remaining_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 bonus_points = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_bonus_points(&has_bits); - _impl_.bonus_points_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOQuestProgress::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOQuestProgress) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 questid = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_questid(), target); - } - - // optional uint32 points_remaining = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_points_remaining(), target); - } - - // optional uint32 bonus_points = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_bonus_points(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOQuestProgress) - return target; -} - -size_t CSOQuestProgress::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOQuestProgress) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 questid = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_questid()); - } - - // optional uint32 points_remaining = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_points_remaining()); - } - - // optional uint32 bonus_points = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_bonus_points()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOQuestProgress::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOQuestProgress::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOQuestProgress::GetClassData() const { return &_class_data_; } - - -void CSOQuestProgress::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOQuestProgress) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.questid_ = from._impl_.questid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.points_remaining_ = from._impl_.points_remaining_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.bonus_points_ = from._impl_.bonus_points_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOQuestProgress::CopyFrom(const CSOQuestProgress& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOQuestProgress) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOQuestProgress::IsInitialized() const { - return true; -} - -void CSOQuestProgress::InternalSwap(CSOQuestProgress* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOQuestProgress, _impl_.bonus_points_) - + sizeof(CSOQuestProgress::_impl_.bonus_points_) - - PROTOBUF_FIELD_OFFSET(CSOQuestProgress, _impl_.questid_)>( - reinterpret_cast(&_impl_.questid_), - reinterpret_cast(&other->_impl_.questid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOQuestProgress::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[125]); -} - -// =================================================================== - -class CSOAccountSeasonalOperation::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_season_value(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_tier_unlocked(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_premium_tiers(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_mission_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_missions_completed(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_redeemable_balance(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_season_pass_time(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } -}; - -CSOAccountSeasonalOperation::CSOAccountSeasonalOperation(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOAccountSeasonalOperation) -} -CSOAccountSeasonalOperation::CSOAccountSeasonalOperation(const CSOAccountSeasonalOperation& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOAccountSeasonalOperation* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.season_value_){} - , decltype(_impl_.tier_unlocked_){} - , decltype(_impl_.premium_tiers_){} - , decltype(_impl_.mission_id_){} - , decltype(_impl_.missions_completed_){} - , decltype(_impl_.redeemable_balance_){} - , decltype(_impl_.season_pass_time_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.season_value_, &from._impl_.season_value_, - static_cast(reinterpret_cast(&_impl_.season_pass_time_) - - reinterpret_cast(&_impl_.season_value_)) + sizeof(_impl_.season_pass_time_)); - // @@protoc_insertion_point(copy_constructor:CSOAccountSeasonalOperation) -} - -inline void CSOAccountSeasonalOperation::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.season_value_){0u} - , decltype(_impl_.tier_unlocked_){0u} - , decltype(_impl_.premium_tiers_){0u} - , decltype(_impl_.mission_id_){0u} - , decltype(_impl_.missions_completed_){0u} - , decltype(_impl_.redeemable_balance_){0u} - , decltype(_impl_.season_pass_time_){0u} - }; -} - -CSOAccountSeasonalOperation::~CSOAccountSeasonalOperation() { - // @@protoc_insertion_point(destructor:CSOAccountSeasonalOperation) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOAccountSeasonalOperation::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSOAccountSeasonalOperation::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOAccountSeasonalOperation::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOAccountSeasonalOperation) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - ::memset(&_impl_.season_value_, 0, static_cast( - reinterpret_cast(&_impl_.season_pass_time_) - - reinterpret_cast(&_impl_.season_value_)) + sizeof(_impl_.season_pass_time_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOAccountSeasonalOperation::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 season_value = 1 [(.key_field) = true]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_season_value(&has_bits); - _impl_.season_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tier_unlocked = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_tier_unlocked(&has_bits); - _impl_.tier_unlocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 premium_tiers = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_premium_tiers(&has_bits); - _impl_.premium_tiers_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 mission_id = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_mission_id(&has_bits); - _impl_.mission_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 missions_completed = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_missions_completed(&has_bits); - _impl_.missions_completed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 redeemable_balance = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_redeemable_balance(&has_bits); - _impl_.redeemable_balance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 season_pass_time = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_season_pass_time(&has_bits); - _impl_.season_pass_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOAccountSeasonalOperation::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOAccountSeasonalOperation) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 season_value = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_season_value(), target); - } - - // optional uint32 tier_unlocked = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_tier_unlocked(), target); - } - - // optional uint32 premium_tiers = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_premium_tiers(), target); - } - - // optional uint32 mission_id = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_mission_id(), target); - } - - // optional uint32 missions_completed = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_missions_completed(), target); - } - - // optional uint32 redeemable_balance = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_redeemable_balance(), target); - } - - // optional uint32 season_pass_time = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_season_pass_time(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOAccountSeasonalOperation) - return target; -} - -size_t CSOAccountSeasonalOperation::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOAccountSeasonalOperation) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional uint32 season_value = 1 [(.key_field) = true]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_season_value()); - } - - // optional uint32 tier_unlocked = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tier_unlocked()); - } - - // optional uint32 premium_tiers = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_premium_tiers()); - } - - // optional uint32 mission_id = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mission_id()); - } - - // optional uint32 missions_completed = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_missions_completed()); - } - - // optional uint32 redeemable_balance = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_redeemable_balance()); - } - - // optional uint32 season_pass_time = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_season_pass_time()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOAccountSeasonalOperation::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOAccountSeasonalOperation::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOAccountSeasonalOperation::GetClassData() const { return &_class_data_; } - - -void CSOAccountSeasonalOperation::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOAccountSeasonalOperation) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.season_value_ = from._impl_.season_value_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.tier_unlocked_ = from._impl_.tier_unlocked_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.premium_tiers_ = from._impl_.premium_tiers_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.mission_id_ = from._impl_.mission_id_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.missions_completed_ = from._impl_.missions_completed_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.redeemable_balance_ = from._impl_.redeemable_balance_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.season_pass_time_ = from._impl_.season_pass_time_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOAccountSeasonalOperation::CopyFrom(const CSOAccountSeasonalOperation& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOAccountSeasonalOperation) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOAccountSeasonalOperation::IsInitialized() const { - return true; -} - -void CSOAccountSeasonalOperation::InternalSwap(CSOAccountSeasonalOperation* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOAccountSeasonalOperation, _impl_.season_pass_time_) - + sizeof(CSOAccountSeasonalOperation::_impl_.season_pass_time_) - - PROTOBUF_FIELD_OFFSET(CSOAccountSeasonalOperation, _impl_.season_value_)>( - reinterpret_cast(&_impl_.season_value_), - reinterpret_cast(&other->_impl_.season_value_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOAccountSeasonalOperation::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[126]); -} - -// =================================================================== - -class CSOAccountRecurringSubscription::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_time_next_cycle(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_time_initiated(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CSOAccountRecurringSubscription::CSOAccountRecurringSubscription(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOAccountRecurringSubscription) -} -CSOAccountRecurringSubscription::CSOAccountRecurringSubscription(const CSOAccountRecurringSubscription& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOAccountRecurringSubscription* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.time_next_cycle_){} - , decltype(_impl_.time_initiated_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.time_next_cycle_, &from._impl_.time_next_cycle_, - static_cast(reinterpret_cast(&_impl_.time_initiated_) - - reinterpret_cast(&_impl_.time_next_cycle_)) + sizeof(_impl_.time_initiated_)); - // @@protoc_insertion_point(copy_constructor:CSOAccountRecurringSubscription) -} - -inline void CSOAccountRecurringSubscription::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.time_next_cycle_){0u} - , decltype(_impl_.time_initiated_){0u} - }; -} - -CSOAccountRecurringSubscription::~CSOAccountRecurringSubscription() { - // @@protoc_insertion_point(destructor:CSOAccountRecurringSubscription) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOAccountRecurringSubscription::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSOAccountRecurringSubscription::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOAccountRecurringSubscription::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOAccountRecurringSubscription) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.time_next_cycle_, 0, static_cast( - reinterpret_cast(&_impl_.time_initiated_) - - reinterpret_cast(&_impl_.time_next_cycle_)) + sizeof(_impl_.time_initiated_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOAccountRecurringSubscription::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 time_next_cycle = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_time_next_cycle(&has_bits); - _impl_.time_next_cycle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 time_initiated = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_time_initiated(&has_bits); - _impl_.time_initiated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOAccountRecurringSubscription::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOAccountRecurringSubscription) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 time_next_cycle = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_time_next_cycle(), target); - } - - // optional uint32 time_initiated = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_time_initiated(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOAccountRecurringSubscription) - return target; -} - -size_t CSOAccountRecurringSubscription::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOAccountRecurringSubscription) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 time_next_cycle = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_next_cycle()); - } - - // optional uint32 time_initiated = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_initiated()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOAccountRecurringSubscription::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOAccountRecurringSubscription::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOAccountRecurringSubscription::GetClassData() const { return &_class_data_; } - - -void CSOAccountRecurringSubscription::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOAccountRecurringSubscription) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.time_next_cycle_ = from._impl_.time_next_cycle_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.time_initiated_ = from._impl_.time_initiated_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOAccountRecurringSubscription::CopyFrom(const CSOAccountRecurringSubscription& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOAccountRecurringSubscription) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOAccountRecurringSubscription::IsInitialized() const { - return true; -} - -void CSOAccountRecurringSubscription::InternalSwap(CSOAccountRecurringSubscription* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOAccountRecurringSubscription, _impl_.time_initiated_) - + sizeof(CSOAccountRecurringSubscription::_impl_.time_initiated_) - - PROTOBUF_FIELD_OFFSET(CSOAccountRecurringSubscription, _impl_.time_next_cycle_)>( - reinterpret_cast(&_impl_.time_next_cycle_), - reinterpret_cast(&other->_impl_.time_next_cycle_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOAccountRecurringSubscription::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[127]); -} - -// =================================================================== - -class CSOGameAccountSteamChina::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_time_last_update(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_time_comms_ban(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_time_play_ban(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CSOGameAccountSteamChina::CSOGameAccountSteamChina(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOGameAccountSteamChina) -} -CSOGameAccountSteamChina::CSOGameAccountSteamChina(const CSOGameAccountSteamChina& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOGameAccountSteamChina* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.time_last_update_){} - , decltype(_impl_.time_comms_ban_){} - , decltype(_impl_.time_play_ban_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.time_last_update_, &from._impl_.time_last_update_, - static_cast(reinterpret_cast(&_impl_.time_play_ban_) - - reinterpret_cast(&_impl_.time_last_update_)) + sizeof(_impl_.time_play_ban_)); - // @@protoc_insertion_point(copy_constructor:CSOGameAccountSteamChina) -} - -inline void CSOGameAccountSteamChina::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.time_last_update_){0u} - , decltype(_impl_.time_comms_ban_){0u} - , decltype(_impl_.time_play_ban_){0u} - }; -} - -CSOGameAccountSteamChina::~CSOGameAccountSteamChina() { - // @@protoc_insertion_point(destructor:CSOGameAccountSteamChina) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOGameAccountSteamChina::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSOGameAccountSteamChina::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOGameAccountSteamChina::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOGameAccountSteamChina) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.time_last_update_, 0, static_cast( - reinterpret_cast(&_impl_.time_play_ban_) - - reinterpret_cast(&_impl_.time_last_update_)) + sizeof(_impl_.time_play_ban_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOGameAccountSteamChina::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 time_last_update = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_time_last_update(&has_bits); - _impl_.time_last_update_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 time_comms_ban = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_time_comms_ban(&has_bits); - _impl_.time_comms_ban_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 time_play_ban = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_time_play_ban(&has_bits); - _impl_.time_play_ban_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOGameAccountSteamChina::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOGameAccountSteamChina) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 time_last_update = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_time_last_update(), target); - } - - // optional uint32 time_comms_ban = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_time_comms_ban(), target); - } - - // optional uint32 time_play_ban = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_time_play_ban(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOGameAccountSteamChina) - return target; -} - -size_t CSOGameAccountSteamChina::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOGameAccountSteamChina) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 time_last_update = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_last_update()); - } - - // optional uint32 time_comms_ban = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_comms_ban()); - } - - // optional uint32 time_play_ban = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_play_ban()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOGameAccountSteamChina::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOGameAccountSteamChina::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOGameAccountSteamChina::GetClassData() const { return &_class_data_; } - - -void CSOGameAccountSteamChina::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOGameAccountSteamChina) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.time_last_update_ = from._impl_.time_last_update_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.time_comms_ban_ = from._impl_.time_comms_ban_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.time_play_ban_ = from._impl_.time_play_ban_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOGameAccountSteamChina::CopyFrom(const CSOGameAccountSteamChina& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOGameAccountSteamChina) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOGameAccountSteamChina::IsInitialized() const { - return true; -} - -void CSOGameAccountSteamChina::InternalSwap(CSOGameAccountSteamChina* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOGameAccountSteamChina, _impl_.time_play_ban_) - + sizeof(CSOGameAccountSteamChina::_impl_.time_play_ban_) - - PROTOBUF_FIELD_OFFSET(CSOGameAccountSteamChina, _impl_.time_last_update_)>( - reinterpret_cast(&_impl_.time_last_update_), - reinterpret_cast(&other->_impl_.time_last_update_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOGameAccountSteamChina::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[128]); -} - -// =================================================================== - -class CSOPersonaDataPublic::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_player_level(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::PlayerCommendationInfo& commendation(const CSOPersonaDataPublic* msg); - static void set_has_commendation(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_elevated_state(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_xp_trail_timestamp_refresh(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_xp_trail_level(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -const ::PlayerCommendationInfo& -CSOPersonaDataPublic::_Internal::commendation(const CSOPersonaDataPublic* msg) { - return *msg->_impl_.commendation_; -} -CSOPersonaDataPublic::CSOPersonaDataPublic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOPersonaDataPublic) -} -CSOPersonaDataPublic::CSOPersonaDataPublic(const CSOPersonaDataPublic& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOPersonaDataPublic* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.commendation_){nullptr} - , decltype(_impl_.player_level_){} - , decltype(_impl_.elevated_state_){} - , decltype(_impl_.xp_trail_timestamp_refresh_){} - , decltype(_impl_.xp_trail_level_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_commendation()) { - _this->_impl_.commendation_ = new ::PlayerCommendationInfo(*from._impl_.commendation_); - } - ::memcpy(&_impl_.player_level_, &from._impl_.player_level_, - static_cast(reinterpret_cast(&_impl_.xp_trail_level_) - - reinterpret_cast(&_impl_.player_level_)) + sizeof(_impl_.xp_trail_level_)); - // @@protoc_insertion_point(copy_constructor:CSOPersonaDataPublic) -} - -inline void CSOPersonaDataPublic::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.commendation_){nullptr} - , decltype(_impl_.player_level_){0} - , decltype(_impl_.elevated_state_){false} - , decltype(_impl_.xp_trail_timestamp_refresh_){0u} - , decltype(_impl_.xp_trail_level_){0u} - }; -} - -CSOPersonaDataPublic::~CSOPersonaDataPublic() { - // @@protoc_insertion_point(destructor:CSOPersonaDataPublic) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOPersonaDataPublic::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.commendation_; -} - -void CSOPersonaDataPublic::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOPersonaDataPublic::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOPersonaDataPublic) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.commendation_ != nullptr); - _impl_.commendation_->Clear(); - } - if (cached_has_bits & 0x0000001eu) { - ::memset(&_impl_.player_level_, 0, static_cast( - reinterpret_cast(&_impl_.xp_trail_level_) - - reinterpret_cast(&_impl_.player_level_)) + sizeof(_impl_.xp_trail_level_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOPersonaDataPublic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 player_level = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_player_level(&has_bits); - _impl_.player_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .PlayerCommendationInfo commendation = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_commendation(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool elevated_state = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_elevated_state(&has_bits); - _impl_.elevated_state_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 xp_trail_timestamp_refresh = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_xp_trail_timestamp_refresh(&has_bits); - _impl_.xp_trail_timestamp_refresh_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 xp_trail_level = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_xp_trail_level(&has_bits); - _impl_.xp_trail_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOPersonaDataPublic::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOPersonaDataPublic) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 player_level = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_player_level(), target); - } - - // optional .PlayerCommendationInfo commendation = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::commendation(this), - _Internal::commendation(this).GetCachedSize(), target, stream); - } - - // optional bool elevated_state = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_elevated_state(), target); - } - - // optional uint32 xp_trail_timestamp_refresh = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_xp_trail_timestamp_refresh(), target); - } - - // optional uint32 xp_trail_level = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_xp_trail_level(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOPersonaDataPublic) - return target; -} - -size_t CSOPersonaDataPublic::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOPersonaDataPublic) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional .PlayerCommendationInfo commendation = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.commendation_); - } - - // optional int32 player_level = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_level()); - } - - // optional bool elevated_state = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional uint32 xp_trail_timestamp_refresh = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_xp_trail_timestamp_refresh()); - } - - // optional uint32 xp_trail_level = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_xp_trail_level()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOPersonaDataPublic::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOPersonaDataPublic::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOPersonaDataPublic::GetClassData() const { return &_class_data_; } - - -void CSOPersonaDataPublic::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOPersonaDataPublic) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_commendation()->::PlayerCommendationInfo::MergeFrom( - from._internal_commendation()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.player_level_ = from._impl_.player_level_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.elevated_state_ = from._impl_.elevated_state_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.xp_trail_timestamp_refresh_ = from._impl_.xp_trail_timestamp_refresh_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.xp_trail_level_ = from._impl_.xp_trail_level_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOPersonaDataPublic::CopyFrom(const CSOPersonaDataPublic& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOPersonaDataPublic) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOPersonaDataPublic::IsInitialized() const { - return true; -} - -void CSOPersonaDataPublic::InternalSwap(CSOPersonaDataPublic* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOPersonaDataPublic, _impl_.xp_trail_level_) - + sizeof(CSOPersonaDataPublic::_impl_.xp_trail_level_) - - PROTOBUF_FIELD_OFFSET(CSOPersonaDataPublic, _impl_.commendation_)>( - reinterpret_cast(&_impl_.commendation_), - reinterpret_cast(&other->_impl_.commendation_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOPersonaDataPublic::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[129]); -} - -// =================================================================== - -class CSOAccountRecurringMission::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_mission_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_period(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_progress(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CSOAccountRecurringMission::CSOAccountRecurringMission(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSOAccountRecurringMission) -} -CSOAccountRecurringMission::CSOAccountRecurringMission(const CSOAccountRecurringMission& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSOAccountRecurringMission* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_id_){} - , decltype(_impl_.mission_id_){} - , decltype(_impl_.period_){} - , decltype(_impl_.progress_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.progress_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.progress_)); - // @@protoc_insertion_point(copy_constructor:CSOAccountRecurringMission) -} - -inline void CSOAccountRecurringMission::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.mission_id_){0u} - , decltype(_impl_.period_){0u} - , decltype(_impl_.progress_){0u} - }; -} - -CSOAccountRecurringMission::~CSOAccountRecurringMission() { - // @@protoc_insertion_point(destructor:CSOAccountRecurringMission) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSOAccountRecurringMission::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSOAccountRecurringMission::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSOAccountRecurringMission::Clear() { -// @@protoc_insertion_point(message_clear_start:CSOAccountRecurringMission) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.progress_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.progress_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSOAccountRecurringMission::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 mission_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_mission_id(&has_bits); - _impl_.mission_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 period = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_period(&has_bits); - _impl_.period_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 progress = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_progress(&has_bits); - _impl_.progress_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSOAccountRecurringMission::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSOAccountRecurringMission) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional uint32 mission_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_mission_id(), target); - } - - // optional uint32 period = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_period(), target); - } - - // optional uint32 progress = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_progress(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSOAccountRecurringMission) - return target; -} - -size_t CSOAccountRecurringMission::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSOAccountRecurringMission) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional uint32 mission_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mission_id()); - } - - // optional uint32 period = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_period()); - } - - // optional uint32 progress = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_progress()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSOAccountRecurringMission::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSOAccountRecurringMission::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSOAccountRecurringMission::GetClassData() const { return &_class_data_; } - - -void CSOAccountRecurringMission::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSOAccountRecurringMission) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.mission_id_ = from._impl_.mission_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.period_ = from._impl_.period_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.progress_ = from._impl_.progress_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSOAccountRecurringMission::CopyFrom(const CSOAccountRecurringMission& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSOAccountRecurringMission) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSOAccountRecurringMission::IsInitialized() const { - return true; -} - -void CSOAccountRecurringMission::InternalSwap(CSOAccountRecurringMission* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSOAccountRecurringMission, _impl_.progress_) - + sizeof(CSOAccountRecurringMission::_impl_.progress_) - - PROTOBUF_FIELD_OFFSET(CSOAccountRecurringMission, _impl_.account_id_)>( - reinterpret_cast(&_impl_.account_id_), - reinterpret_cast(&other->_impl_.account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSOAccountRecurringMission::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[130]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CSOAccountXpShop& prematch(const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* msg); - static void set_has_prematch(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CSOAccountXpShop& postmatch(const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* msg); - static void set_has_postmatch(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_current_xp(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_current_level(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::CSOAccountXpShop& -CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_Internal::prematch(const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* msg) { - return *msg->_impl_.prematch_; -} -const ::CSOAccountXpShop& -CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_Internal::postmatch(const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* msg) { - return *msg->_impl_.postmatch_; -} -CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) -} -CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop(const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.prematch_){nullptr} - , decltype(_impl_.postmatch_){nullptr} - , decltype(_impl_.current_xp_){} - , decltype(_impl_.current_level_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_prematch()) { - _this->_impl_.prematch_ = new ::CSOAccountXpShop(*from._impl_.prematch_); - } - if (from._internal_has_postmatch()) { - _this->_impl_.postmatch_ = new ::CSOAccountXpShop(*from._impl_.postmatch_); - } - ::memcpy(&_impl_.current_xp_, &from._impl_.current_xp_, - static_cast(reinterpret_cast(&_impl_.current_level_) - - reinterpret_cast(&_impl_.current_xp_)) + sizeof(_impl_.current_level_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) -} - -inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.prematch_){nullptr} - , decltype(_impl_.postmatch_){nullptr} - , decltype(_impl_.current_xp_){0u} - , decltype(_impl_.current_level_){0u} - }; -} - -CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::~CMsgGCCStrike15_v2_GC2ClientNotifyXPShop() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.prematch_; - if (this != internal_default_instance()) delete _impl_.postmatch_; -} - -void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.prematch_ != nullptr); - _impl_.prematch_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.postmatch_ != nullptr); - _impl_.postmatch_->Clear(); - } - } - if (cached_has_bits & 0x0000000cu) { - ::memset(&_impl_.current_xp_, 0, static_cast( - reinterpret_cast(&_impl_.current_level_) - - reinterpret_cast(&_impl_.current_xp_)) + sizeof(_impl_.current_level_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CSOAccountXpShop prematch = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_prematch(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CSOAccountXpShop postmatch = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_postmatch(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 current_xp = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_current_xp(&has_bits); - _impl_.current_xp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 current_level = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_current_level(&has_bits); - _impl_.current_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CSOAccountXpShop prematch = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::prematch(this), - _Internal::prematch(this).GetCachedSize(), target, stream); - } - - // optional .CSOAccountXpShop postmatch = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::postmatch(this), - _Internal::postmatch(this).GetCachedSize(), target, stream); - } - - // optional uint32 current_xp = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_current_xp(), target); - } - - // optional uint32 current_level = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_current_level(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) - return target; -} - -size_t CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional .CSOAccountXpShop prematch = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.prematch_); - } - - // optional .CSOAccountXpShop postmatch = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.postmatch_); - } - - // optional uint32 current_xp = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_current_xp()); - } - - // optional uint32 current_level = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_current_level()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_prematch()->::CSOAccountXpShop::MergeFrom( - from._internal_prematch()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_postmatch()->::CSOAccountXpShop::MergeFrom( - from._internal_postmatch()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.current_xp_ = from._impl_.current_xp_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.current_level_ = from._impl_.current_level_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::CopyFrom(const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::InternalSwap(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop, _impl_.current_level_) - + sizeof(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_impl_.current_level_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop, _impl_.prematch_)>( - reinterpret_cast(&_impl_.prematch_), - reinterpret_cast(&other->_impl_.prematch_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[131]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Client2GcAckXPShopTracks::_Internal { - public: -}; - -CMsgGCCStrike15_v2_Client2GcAckXPShopTracks::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Client2GcAckXPShopTracks) -} -CMsgGCCStrike15_v2_Client2GcAckXPShopTracks::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks(const CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CMsgGCCStrike15_v2_Client2GcAckXPShopTracks* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Client2GcAckXPShopTracks) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Client2GcAckXPShopTracks::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Client2GcAckXPShopTracks::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Client2GcAckXPShopTracks::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[132]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_gs_location_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_data_center_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_num_locked_in(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_num_found_nearby(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_note_level(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) -} -CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats(const CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gs_location_id_){} - , decltype(_impl_.data_center_id_){} - , decltype(_impl_.num_locked_in_){} - , decltype(_impl_.num_found_nearby_){} - , decltype(_impl_.note_level_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.gs_location_id_, &from._impl_.gs_location_id_, - static_cast(reinterpret_cast(&_impl_.note_level_) - - reinterpret_cast(&_impl_.gs_location_id_)) + sizeof(_impl_.note_level_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) -} - -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gs_location_id_){0u} - , decltype(_impl_.data_center_id_){0u} - , decltype(_impl_.num_locked_in_){0u} - , decltype(_impl_.num_found_nearby_){0u} - , decltype(_impl_.note_level_){0u} - }; -} - -CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::~CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.gs_location_id_, 0, static_cast( - reinterpret_cast(&_impl_.note_level_) - - reinterpret_cast(&_impl_.gs_location_id_)) + sizeof(_impl_.note_level_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 gs_location_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_gs_location_id(&has_bits); - _impl_.gs_location_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 data_center_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_data_center_id(&has_bits); - _impl_.data_center_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 num_locked_in = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_num_locked_in(&has_bits); - _impl_.num_locked_in_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 num_found_nearby = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_num_found_nearby(&has_bits); - _impl_.num_found_nearby_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 note_level = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_note_level(&has_bits); - _impl_.note_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 gs_location_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_gs_location_id(), target); - } - - // optional uint32 data_center_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_data_center_id(), target); - } - - // optional uint32 num_locked_in = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_num_locked_in(), target); - } - - // optional uint32 num_found_nearby = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_num_found_nearby(), target); - } - - // optional uint32 note_level = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_note_level(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) - return target; -} - -size_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional uint32 gs_location_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gs_location_id()); - } - - // optional uint32 data_center_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_data_center_id()); - } - - // optional uint32 num_locked_in = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_locked_in()); - } - - // optional uint32 num_found_nearby = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_found_nearby()); - } - - // optional uint32 note_level = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_note_level()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.gs_location_id_ = from._impl_.gs_location_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.data_center_id_ = from._impl_.data_center_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.num_locked_in_ = from._impl_.num_locked_in_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.num_found_nearby_ = from._impl_.num_found_nearby_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.note_level_ = from._impl_.note_level_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats, _impl_.note_level_) - + sizeof(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_impl_.note_level_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats, _impl_.gs_location_id_)>( - reinterpret_cast(&_impl_.gs_location_id_), - reinterpret_cast(&other->_impl_.gs_location_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[133]); -} - -// =================================================================== - -class CMsgGC_GlobalGame_Subscribe::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ticket(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGC_GlobalGame_Subscribe::CMsgGC_GlobalGame_Subscribe(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGC_GlobalGame_Subscribe) -} -CMsgGC_GlobalGame_Subscribe::CMsgGC_GlobalGame_Subscribe(const CMsgGC_GlobalGame_Subscribe& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGC_GlobalGame_Subscribe* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ticket_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.ticket_ = from._impl_.ticket_; - // @@protoc_insertion_point(copy_constructor:CMsgGC_GlobalGame_Subscribe) -} - -inline void CMsgGC_GlobalGame_Subscribe::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ticket_){uint64_t{0u}} - }; -} - -CMsgGC_GlobalGame_Subscribe::~CMsgGC_GlobalGame_Subscribe() { - // @@protoc_insertion_point(destructor:CMsgGC_GlobalGame_Subscribe) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGC_GlobalGame_Subscribe::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGC_GlobalGame_Subscribe::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGC_GlobalGame_Subscribe::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGC_GlobalGame_Subscribe) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.ticket_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGC_GlobalGame_Subscribe::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 ticket = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_ticket(&has_bits); - _impl_.ticket_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGC_GlobalGame_Subscribe::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGC_GlobalGame_Subscribe) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 ticket = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_ticket(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGC_GlobalGame_Subscribe) - return target; -} - -size_t CMsgGC_GlobalGame_Subscribe::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGC_GlobalGame_Subscribe) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint64 ticket = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ticket()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGC_GlobalGame_Subscribe::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGC_GlobalGame_Subscribe::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGC_GlobalGame_Subscribe::GetClassData() const { return &_class_data_; } - - -void CMsgGC_GlobalGame_Subscribe::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGC_GlobalGame_Subscribe) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_ticket()) { - _this->_internal_set_ticket(from._internal_ticket()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGC_GlobalGame_Subscribe::CopyFrom(const CMsgGC_GlobalGame_Subscribe& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGC_GlobalGame_Subscribe) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGC_GlobalGame_Subscribe::IsInitialized() const { - return true; -} - -void CMsgGC_GlobalGame_Subscribe::InternalSwap(CMsgGC_GlobalGame_Subscribe* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.ticket_, other->_impl_.ticket_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGC_GlobalGame_Subscribe::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[134]); -} - -// =================================================================== - -class CMsgGC_GlobalGame_Unsubscribe::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_timeleft(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGC_GlobalGame_Unsubscribe::CMsgGC_GlobalGame_Unsubscribe(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGC_GlobalGame_Unsubscribe) -} -CMsgGC_GlobalGame_Unsubscribe::CMsgGC_GlobalGame_Unsubscribe(const CMsgGC_GlobalGame_Unsubscribe& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGC_GlobalGame_Unsubscribe* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.timeleft_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.timeleft_ = from._impl_.timeleft_; - // @@protoc_insertion_point(copy_constructor:CMsgGC_GlobalGame_Unsubscribe) -} - -inline void CMsgGC_GlobalGame_Unsubscribe::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.timeleft_){0} - }; -} - -CMsgGC_GlobalGame_Unsubscribe::~CMsgGC_GlobalGame_Unsubscribe() { - // @@protoc_insertion_point(destructor:CMsgGC_GlobalGame_Unsubscribe) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGC_GlobalGame_Unsubscribe::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGC_GlobalGame_Unsubscribe::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGC_GlobalGame_Unsubscribe::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGC_GlobalGame_Unsubscribe) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.timeleft_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGC_GlobalGame_Unsubscribe::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 timeleft = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_timeleft(&has_bits); - _impl_.timeleft_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGC_GlobalGame_Unsubscribe::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGC_GlobalGame_Unsubscribe) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 timeleft = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_timeleft(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGC_GlobalGame_Unsubscribe) - return target; -} - -size_t CMsgGC_GlobalGame_Unsubscribe::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGC_GlobalGame_Unsubscribe) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 timeleft = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_timeleft()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGC_GlobalGame_Unsubscribe::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGC_GlobalGame_Unsubscribe::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGC_GlobalGame_Unsubscribe::GetClassData() const { return &_class_data_; } - - -void CMsgGC_GlobalGame_Unsubscribe::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGC_GlobalGame_Unsubscribe) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_timeleft()) { - _this->_internal_set_timeleft(from._internal_timeleft()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGC_GlobalGame_Unsubscribe::CopyFrom(const CMsgGC_GlobalGame_Unsubscribe& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGC_GlobalGame_Unsubscribe) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGC_GlobalGame_Unsubscribe::IsInitialized() const { - return true; -} - -void CMsgGC_GlobalGame_Unsubscribe::InternalSwap(CMsgGC_GlobalGame_Unsubscribe* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.timeleft_, other->_impl_.timeleft_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGC_GlobalGame_Unsubscribe::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[135]); -} - -// =================================================================== - -class CMsgGC_GlobalGame_Play::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ticket(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_gametimems(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_msperpoint(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgGC_GlobalGame_Play::CMsgGC_GlobalGame_Play(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGC_GlobalGame_Play) -} -CMsgGC_GlobalGame_Play::CMsgGC_GlobalGame_Play(const CMsgGC_GlobalGame_Play& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGC_GlobalGame_Play* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ticket_){} - , decltype(_impl_.gametimems_){} - , decltype(_impl_.msperpoint_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.ticket_, &from._impl_.ticket_, - static_cast(reinterpret_cast(&_impl_.msperpoint_) - - reinterpret_cast(&_impl_.ticket_)) + sizeof(_impl_.msperpoint_)); - // @@protoc_insertion_point(copy_constructor:CMsgGC_GlobalGame_Play) -} - -inline void CMsgGC_GlobalGame_Play::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ticket_){uint64_t{0u}} - , decltype(_impl_.gametimems_){0u} - , decltype(_impl_.msperpoint_){0u} - }; -} - -CMsgGC_GlobalGame_Play::~CMsgGC_GlobalGame_Play() { - // @@protoc_insertion_point(destructor:CMsgGC_GlobalGame_Play) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGC_GlobalGame_Play::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGC_GlobalGame_Play::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGC_GlobalGame_Play::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGC_GlobalGame_Play) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.ticket_, 0, static_cast( - reinterpret_cast(&_impl_.msperpoint_) - - reinterpret_cast(&_impl_.ticket_)) + sizeof(_impl_.msperpoint_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGC_GlobalGame_Play::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 ticket = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_ticket(&has_bits); - _impl_.ticket_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 gametimems = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_gametimems(&has_bits); - _impl_.gametimems_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 msperpoint = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_msperpoint(&has_bits); - _impl_.msperpoint_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGC_GlobalGame_Play::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGC_GlobalGame_Play) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 ticket = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_ticket(), target); - } - - // optional uint32 gametimems = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_gametimems(), target); - } - - // optional uint32 msperpoint = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_msperpoint(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGC_GlobalGame_Play) - return target; -} - -size_t CMsgGC_GlobalGame_Play::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGC_GlobalGame_Play) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint64 ticket = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ticket()); - } - - // optional uint32 gametimems = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gametimems()); - } - - // optional uint32 msperpoint = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_msperpoint()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGC_GlobalGame_Play::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGC_GlobalGame_Play::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGC_GlobalGame_Play::GetClassData() const { return &_class_data_; } - - -void CMsgGC_GlobalGame_Play::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGC_GlobalGame_Play) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.ticket_ = from._impl_.ticket_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.gametimems_ = from._impl_.gametimems_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.msperpoint_ = from._impl_.msperpoint_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGC_GlobalGame_Play::CopyFrom(const CMsgGC_GlobalGame_Play& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGC_GlobalGame_Play) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGC_GlobalGame_Play::IsInitialized() const { - return true; -} - -void CMsgGC_GlobalGame_Play::InternalSwap(CMsgGC_GlobalGame_Play* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGC_GlobalGame_Play, _impl_.msperpoint_) - + sizeof(CMsgGC_GlobalGame_Play::_impl_.msperpoint_) - - PROTOBUF_FIELD_OFFSET(CMsgGC_GlobalGame_Play, _impl_.ticket_)>( - reinterpret_cast(&_impl_.ticket_), - reinterpret_cast(&other->_impl_.ticket_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGC_GlobalGame_Play::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[136]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_AcknowledgePenalty::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_acknowledged(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_AcknowledgePenalty::CMsgGCCStrike15_v2_AcknowledgePenalty(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_AcknowledgePenalty) -} -CMsgGCCStrike15_v2_AcknowledgePenalty::CMsgGCCStrike15_v2_AcknowledgePenalty(const CMsgGCCStrike15_v2_AcknowledgePenalty& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_AcknowledgePenalty* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.acknowledged_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.acknowledged_ = from._impl_.acknowledged_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_AcknowledgePenalty) -} - -inline void CMsgGCCStrike15_v2_AcknowledgePenalty::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.acknowledged_){0} - }; -} - -CMsgGCCStrike15_v2_AcknowledgePenalty::~CMsgGCCStrike15_v2_AcknowledgePenalty() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_AcknowledgePenalty) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_AcknowledgePenalty::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_AcknowledgePenalty::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_AcknowledgePenalty::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_AcknowledgePenalty) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.acknowledged_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_AcknowledgePenalty::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 acknowledged = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_acknowledged(&has_bits); - _impl_.acknowledged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_AcknowledgePenalty::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_AcknowledgePenalty) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 acknowledged = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_acknowledged(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_AcknowledgePenalty) - return target; -} - -size_t CMsgGCCStrike15_v2_AcknowledgePenalty::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_AcknowledgePenalty) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 acknowledged = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_acknowledged()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_AcknowledgePenalty::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_AcknowledgePenalty::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_AcknowledgePenalty::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_AcknowledgePenalty::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_AcknowledgePenalty) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_acknowledged()) { - _this->_internal_set_acknowledged(from._internal_acknowledged()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_AcknowledgePenalty::CopyFrom(const CMsgGCCStrike15_v2_AcknowledgePenalty& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_AcknowledgePenalty) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_AcknowledgePenalty::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_AcknowledgePenalty::InternalSwap(CMsgGCCStrike15_v2_AcknowledgePenalty* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.acknowledged_, other->_impl_.acknowledged_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_AcknowledgePenalty::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[137]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_defindex(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_upgradeid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_hours(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_prestigetime(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) -} -CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin(const CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.upgradeid_){} - , decltype(_impl_.defindex_){} - , decltype(_impl_.hours_){} - , decltype(_impl_.prestigetime_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.upgradeid_, &from._impl_.upgradeid_, - static_cast(reinterpret_cast(&_impl_.prestigetime_) - - reinterpret_cast(&_impl_.upgradeid_)) + sizeof(_impl_.prestigetime_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) -} - -inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.upgradeid_){uint64_t{0u}} - , decltype(_impl_.defindex_){0u} - , decltype(_impl_.hours_){0u} - , decltype(_impl_.prestigetime_){0u} - }; -} - -CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::~CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.upgradeid_, 0, static_cast( - reinterpret_cast(&_impl_.prestigetime_) - - reinterpret_cast(&_impl_.upgradeid_)) + sizeof(_impl_.prestigetime_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 defindex = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_defindex(&has_bits); - _impl_.defindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 upgradeid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_upgradeid(&has_bits); - _impl_.upgradeid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 hours = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_hours(&has_bits); - _impl_.hours_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 prestigetime = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_prestigetime(&has_bits); - _impl_.prestigetime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 defindex = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_defindex(), target); - } - - // optional uint64 upgradeid = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_upgradeid(), target); - } - - // optional uint32 hours = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_hours(), target); - } - - // optional uint32 prestigetime = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_prestigetime(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) - return target; -} - -size_t CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint64 upgradeid = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_upgradeid()); - } - - // optional uint32 defindex = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_defindex()); - } - - // optional uint32 hours = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_hours()); - } - - // optional uint32 prestigetime = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_prestigetime()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.upgradeid_ = from._impl_.upgradeid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.defindex_ = from._impl_.defindex_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.hours_ = from._impl_.hours_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.prestigetime_ = from._impl_.prestigetime_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::CopyFrom(const CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::InternalSwap(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin, _impl_.prestigetime_) - + sizeof(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_impl_.prestigetime_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin, _impl_.upgradeid_)>( - reinterpret_cast(&_impl_.upgradeid_), - reinterpret_cast(&other->_impl_.upgradeid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[138]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Client2GCStreamUnlock::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ticket(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_os(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCStrike15_v2_Client2GCStreamUnlock::CMsgGCCStrike15_v2_Client2GCStreamUnlock(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Client2GCStreamUnlock) -} -CMsgGCCStrike15_v2_Client2GCStreamUnlock::CMsgGCCStrike15_v2_Client2GCStreamUnlock(const CMsgGCCStrike15_v2_Client2GCStreamUnlock& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_Client2GCStreamUnlock* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ticket_){} - , decltype(_impl_.os_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.ticket_, &from._impl_.ticket_, - static_cast(reinterpret_cast(&_impl_.os_) - - reinterpret_cast(&_impl_.ticket_)) + sizeof(_impl_.os_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Client2GCStreamUnlock) -} - -inline void CMsgGCCStrike15_v2_Client2GCStreamUnlock::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ticket_){uint64_t{0u}} - , decltype(_impl_.os_){0} - }; -} - -CMsgGCCStrike15_v2_Client2GCStreamUnlock::~CMsgGCCStrike15_v2_Client2GCStreamUnlock() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Client2GCStreamUnlock) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_Client2GCStreamUnlock::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_Client2GCStreamUnlock::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_Client2GCStreamUnlock::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Client2GCStreamUnlock) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.ticket_, 0, static_cast( - reinterpret_cast(&_impl_.os_) - - reinterpret_cast(&_impl_.ticket_)) + sizeof(_impl_.os_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_Client2GCStreamUnlock::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 ticket = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_ticket(&has_bits); - _impl_.ticket_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 os = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_os(&has_bits); - _impl_.os_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_Client2GCStreamUnlock::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Client2GCStreamUnlock) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 ticket = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_ticket(), target); - } - - // optional int32 os = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_os(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_Client2GCStreamUnlock) - return target; -} - -size_t CMsgGCCStrike15_v2_Client2GCStreamUnlock::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Client2GCStreamUnlock) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 ticket = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ticket()); - } - - // optional int32 os = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_os()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Client2GCStreamUnlock::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_Client2GCStreamUnlock::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Client2GCStreamUnlock::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_Client2GCStreamUnlock::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_Client2GCStreamUnlock) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.ticket_ = from._impl_.ticket_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.os_ = from._impl_.os_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_Client2GCStreamUnlock::CopyFrom(const CMsgGCCStrike15_v2_Client2GCStreamUnlock& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Client2GCStreamUnlock) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_Client2GCStreamUnlock::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_Client2GCStreamUnlock::InternalSwap(CMsgGCCStrike15_v2_Client2GCStreamUnlock* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Client2GCStreamUnlock, _impl_.os_) - + sizeof(CMsgGCCStrike15_v2_Client2GCStreamUnlock::_impl_.os_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Client2GCStreamUnlock, _impl_.ticket_)>( - reinterpret_cast(&_impl_.ticket_), - reinterpret_cast(&other->_impl_.ticket_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Client2GCStreamUnlock::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[139]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientToGCRequestElevate::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_stage(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_ClientToGCRequestElevate::CMsgGCCStrike15_v2_ClientToGCRequestElevate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientToGCRequestElevate) -} -CMsgGCCStrike15_v2_ClientToGCRequestElevate::CMsgGCCStrike15_v2_ClientToGCRequestElevate(const CMsgGCCStrike15_v2_ClientToGCRequestElevate& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientToGCRequestElevate* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.stage_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.stage_ = from._impl_.stage_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientToGCRequestElevate) -} - -inline void CMsgGCCStrike15_v2_ClientToGCRequestElevate::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.stage_){0u} - }; -} - -CMsgGCCStrike15_v2_ClientToGCRequestElevate::~CMsgGCCStrike15_v2_ClientToGCRequestElevate() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientToGCRequestElevate) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientToGCRequestElevate::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_ClientToGCRequestElevate::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientToGCRequestElevate::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientToGCRequestElevate) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.stage_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientToGCRequestElevate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 stage = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_stage(&has_bits); - _impl_.stage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientToGCRequestElevate::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientToGCRequestElevate) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 stage = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_stage(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientToGCRequestElevate) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientToGCRequestElevate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientToGCRequestElevate) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 stage = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_stage()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientToGCRequestElevate::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientToGCRequestElevate::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientToGCRequestElevate::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientToGCRequestElevate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientToGCRequestElevate) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_stage()) { - _this->_internal_set_stage(from._internal_stage()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientToGCRequestElevate::CopyFrom(const CMsgGCCStrike15_v2_ClientToGCRequestElevate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientToGCRequestElevate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientToGCRequestElevate::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientToGCRequestElevate::InternalSwap(CMsgGCCStrike15_v2_ClientToGCRequestElevate* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.stage_, other->_impl_.stage_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientToGCRequestElevate::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[140]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientToGCChat::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_match_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_text(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_ClientToGCChat::CMsgGCCStrike15_v2_ClientToGCChat(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientToGCChat) -} -CMsgGCCStrike15_v2_ClientToGCChat::CMsgGCCStrike15_v2_ClientToGCChat(const CMsgGCCStrike15_v2_ClientToGCChat& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientToGCChat* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - , decltype(_impl_.match_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_text()) { - _this->_impl_.text_.Set(from._internal_text(), - _this->GetArenaForAllocation()); - } - _this->_impl_.match_id_ = from._impl_.match_id_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientToGCChat) -} - -inline void CMsgGCCStrike15_v2_ClientToGCChat::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - , decltype(_impl_.match_id_){uint64_t{0u}} - }; - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_ClientToGCChat::~CMsgGCCStrike15_v2_ClientToGCChat() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientToGCChat) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientToGCChat::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.text_.Destroy(); -} - -void CMsgGCCStrike15_v2_ClientToGCChat::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientToGCChat::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientToGCChat) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.text_.ClearNonDefaultToEmpty(); - } - _impl_.match_id_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientToGCChat::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 match_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_match_id(&has_bits); - _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string text = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_text(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientToGCChat.text"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientToGCChat::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientToGCChat) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 match_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_match_id(), target); - } - - // optional string text = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_text().data(), static_cast(this->_internal_text().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_ClientToGCChat.text"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_text(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientToGCChat) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientToGCChat::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientToGCChat) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string text = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_text()); - } - - // optional uint64 match_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientToGCChat::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientToGCChat::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientToGCChat::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientToGCChat::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientToGCChat) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_text(from._internal_text()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.match_id_ = from._impl_.match_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientToGCChat::CopyFrom(const CMsgGCCStrike15_v2_ClientToGCChat& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientToGCChat) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientToGCChat::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientToGCChat::InternalSwap(CMsgGCCStrike15_v2_ClientToGCChat* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.text_, lhs_arena, - &other->_impl_.text_, rhs_arena - ); - swap(_impl_.match_id_, other->_impl_.match_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientToGCChat::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[141]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_GCToClientChat::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_text(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_GCToClientChat::CMsgGCCStrike15_v2_GCToClientChat(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_GCToClientChat) -} -CMsgGCCStrike15_v2_GCToClientChat::CMsgGCCStrike15_v2_GCToClientChat(const CMsgGCCStrike15_v2_GCToClientChat& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_GCToClientChat* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - , decltype(_impl_.account_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_text()) { - _this->_impl_.text_.Set(from._internal_text(), - _this->GetArenaForAllocation()); - } - _this->_impl_.account_id_ = from._impl_.account_id_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GCToClientChat) -} - -inline void CMsgGCCStrike15_v2_GCToClientChat::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - , decltype(_impl_.account_id_){0u} - }; - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_GCToClientChat::~CMsgGCCStrike15_v2_GCToClientChat() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GCToClientChat) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_GCToClientChat::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.text_.Destroy(); -} - -void CMsgGCCStrike15_v2_GCToClientChat::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_GCToClientChat::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GCToClientChat) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.text_.ClearNonDefaultToEmpty(); - } - _impl_.account_id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_GCToClientChat::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string text = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_text(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GCToClientChat.text"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_GCToClientChat::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GCToClientChat) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional string text = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_text().data(), static_cast(this->_internal_text().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_GCToClientChat.text"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_text(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_GCToClientChat) - return target; -} - -size_t CMsgGCCStrike15_v2_GCToClientChat::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GCToClientChat) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string text = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_text()); - } - - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GCToClientChat::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_GCToClientChat::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GCToClientChat::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_GCToClientChat::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_GCToClientChat) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_text(from._internal_text()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_GCToClientChat::CopyFrom(const CMsgGCCStrike15_v2_GCToClientChat& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GCToClientChat) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_GCToClientChat::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_GCToClientChat::InternalSwap(CMsgGCCStrike15_v2_GCToClientChat* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.text_, lhs_arena, - &other->_impl_.text_, rhs_arena - ); - swap(_impl_.account_id_, other->_impl_.account_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GCToClientChat::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[142]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientAuthKeyCode::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_eventid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_code(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_ClientAuthKeyCode::CMsgGCCStrike15_v2_ClientAuthKeyCode(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientAuthKeyCode) -} -CMsgGCCStrike15_v2_ClientAuthKeyCode::CMsgGCCStrike15_v2_ClientAuthKeyCode(const CMsgGCCStrike15_v2_ClientAuthKeyCode& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientAuthKeyCode* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.code_){} - , decltype(_impl_.eventid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.code_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.code_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_code()) { - _this->_impl_.code_.Set(from._internal_code(), - _this->GetArenaForAllocation()); - } - _this->_impl_.eventid_ = from._impl_.eventid_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientAuthKeyCode) -} - -inline void CMsgGCCStrike15_v2_ClientAuthKeyCode::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.code_){} - , decltype(_impl_.eventid_){0u} - }; - _impl_.code_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.code_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_ClientAuthKeyCode::~CMsgGCCStrike15_v2_ClientAuthKeyCode() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientAuthKeyCode) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientAuthKeyCode::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.code_.Destroy(); -} - -void CMsgGCCStrike15_v2_ClientAuthKeyCode::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientAuthKeyCode::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientAuthKeyCode) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.code_.ClearNonDefaultToEmpty(); - } - _impl_.eventid_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientAuthKeyCode::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 eventid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_eventid(&has_bits); - _impl_.eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string code = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_code(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientAuthKeyCode.code"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientAuthKeyCode::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientAuthKeyCode) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 eventid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_eventid(), target); - } - - // optional string code = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_code().data(), static_cast(this->_internal_code().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_ClientAuthKeyCode.code"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_code(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientAuthKeyCode) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientAuthKeyCode::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientAuthKeyCode) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string code = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_code()); - } - - // optional uint32 eventid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_eventid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientAuthKeyCode::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientAuthKeyCode::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientAuthKeyCode::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientAuthKeyCode::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientAuthKeyCode) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_code(from._internal_code()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.eventid_ = from._impl_.eventid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientAuthKeyCode::CopyFrom(const CMsgGCCStrike15_v2_ClientAuthKeyCode& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientAuthKeyCode) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientAuthKeyCode::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientAuthKeyCode::InternalSwap(CMsgGCCStrike15_v2_ClientAuthKeyCode* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.code_, lhs_arena, - &other->_impl_.code_, rhs_arena - ); - swap(_impl_.eventid_, other->_impl_.eventid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientAuthKeyCode::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[143]); -} - -// =================================================================== - -class CMsgGCCStrike15_GotvSyncPacket::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CEngineGotvSyncPacket& data(const CMsgGCCStrike15_GotvSyncPacket* msg); - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CEngineGotvSyncPacket& -CMsgGCCStrike15_GotvSyncPacket::_Internal::data(const CMsgGCCStrike15_GotvSyncPacket* msg) { - return *msg->_impl_.data_; -} -void CMsgGCCStrike15_GotvSyncPacket::clear_data() { - if (_impl_.data_ != nullptr) _impl_.data_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CMsgGCCStrike15_GotvSyncPacket::CMsgGCCStrike15_GotvSyncPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_GotvSyncPacket) -} -CMsgGCCStrike15_GotvSyncPacket::CMsgGCCStrike15_GotvSyncPacket(const CMsgGCCStrike15_GotvSyncPacket& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_GotvSyncPacket* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_data()) { - _this->_impl_.data_ = new ::CEngineGotvSyncPacket(*from._impl_.data_); - } - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_GotvSyncPacket) -} - -inline void CMsgGCCStrike15_GotvSyncPacket::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){nullptr} - }; -} - -CMsgGCCStrike15_GotvSyncPacket::~CMsgGCCStrike15_GotvSyncPacket() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_GotvSyncPacket) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_GotvSyncPacket::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.data_; -} - -void CMsgGCCStrike15_GotvSyncPacket::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_GotvSyncPacket::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_GotvSyncPacket) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.data_ != nullptr); - _impl_.data_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_GotvSyncPacket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CEngineGotvSyncPacket data = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_data(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_GotvSyncPacket::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_GotvSyncPacket) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CEngineGotvSyncPacket data = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::data(this), - _Internal::data(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_GotvSyncPacket) - return target; -} - -size_t CMsgGCCStrike15_GotvSyncPacket::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_GotvSyncPacket) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CEngineGotvSyncPacket data = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.data_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_GotvSyncPacket::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_GotvSyncPacket::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_GotvSyncPacket::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_GotvSyncPacket::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_GotvSyncPacket) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_data()) { - _this->_internal_mutable_data()->::CEngineGotvSyncPacket::MergeFrom( - from._internal_data()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_GotvSyncPacket::CopyFrom(const CMsgGCCStrike15_GotvSyncPacket& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_GotvSyncPacket) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_GotvSyncPacket::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_GotvSyncPacket::InternalSwap(CMsgGCCStrike15_GotvSyncPacket* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.data_, other->_impl_.data_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_GotvSyncPacket::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[144]); -} - -// =================================================================== - -class PlayerDecalDigitalSignature::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_signature(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_rtime(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_tx_defidx(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_entindex(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_hitbox(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_creationtime(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_equipslot(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_trace_id(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_tint_id(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } -}; - -PlayerDecalDigitalSignature::PlayerDecalDigitalSignature(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:PlayerDecalDigitalSignature) -} -PlayerDecalDigitalSignature::PlayerDecalDigitalSignature(const PlayerDecalDigitalSignature& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - PlayerDecalDigitalSignature* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.endpos_){from._impl_.endpos_} - , decltype(_impl_.startpos_){from._impl_.startpos_} - , decltype(_impl_.left_){from._impl_.left_} - , decltype(_impl_.normal_){from._impl_.normal_} - , decltype(_impl_.signature_){} - , decltype(_impl_.accountid_){} - , decltype(_impl_.rtime_){} - , decltype(_impl_.tx_defidx_){} - , decltype(_impl_.entindex_){} - , decltype(_impl_.hitbox_){} - , decltype(_impl_.creationtime_){} - , decltype(_impl_.equipslot_){} - , decltype(_impl_.trace_id_){} - , decltype(_impl_.tint_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.signature_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_signature()) { - _this->_impl_.signature_.Set(from._internal_signature(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.accountid_, &from._impl_.accountid_, - static_cast(reinterpret_cast(&_impl_.tint_id_) - - reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.tint_id_)); - // @@protoc_insertion_point(copy_constructor:PlayerDecalDigitalSignature) -} - -inline void PlayerDecalDigitalSignature::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.endpos_){arena} - , decltype(_impl_.startpos_){arena} - , decltype(_impl_.left_){arena} - , decltype(_impl_.normal_){arena} - , decltype(_impl_.signature_){} - , decltype(_impl_.accountid_){0u} - , decltype(_impl_.rtime_){0u} - , decltype(_impl_.tx_defidx_){0u} - , decltype(_impl_.entindex_){0} - , decltype(_impl_.hitbox_){0u} - , decltype(_impl_.creationtime_){0} - , decltype(_impl_.equipslot_){0u} - , decltype(_impl_.trace_id_){0u} - , decltype(_impl_.tint_id_){0u} - }; - _impl_.signature_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -PlayerDecalDigitalSignature::~PlayerDecalDigitalSignature() { - // @@protoc_insertion_point(destructor:PlayerDecalDigitalSignature) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void PlayerDecalDigitalSignature::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.endpos_.~RepeatedField(); - _impl_.startpos_.~RepeatedField(); - _impl_.left_.~RepeatedField(); - _impl_.normal_.~RepeatedField(); - _impl_.signature_.Destroy(); -} - -void PlayerDecalDigitalSignature::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void PlayerDecalDigitalSignature::Clear() { -// @@protoc_insertion_point(message_clear_start:PlayerDecalDigitalSignature) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.endpos_.Clear(); - _impl_.startpos_.Clear(); - _impl_.left_.Clear(); - _impl_.normal_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.signature_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x000000feu) { - ::memset(&_impl_.accountid_, 0, static_cast( - reinterpret_cast(&_impl_.equipslot_) - - reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.equipslot_)); - } - if (cached_has_bits & 0x00000300u) { - ::memset(&_impl_.trace_id_, 0, static_cast( - reinterpret_cast(&_impl_.tint_id_) - - reinterpret_cast(&_impl_.trace_id_)) + sizeof(_impl_.tint_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* PlayerDecalDigitalSignature::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes signature = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_signature(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 accountid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rtime = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_rtime(&has_bits); - _impl_.rtime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated float endpos = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_endpos(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(float); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<37>(ptr)); - } else if (static_cast(tag) == 34) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_endpos(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated float startpos = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_startpos(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(float); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<45>(ptr)); - } else if (static_cast(tag) == 42) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_startpos(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated float left = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_left(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(float); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<53>(ptr)); - } else if (static_cast(tag) == 50) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_left(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tx_defidx = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_tx_defidx(&has_bits); - _impl_.tx_defidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 entindex = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_entindex(&has_bits); - _impl_.entindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 hitbox = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_hitbox(&has_bits); - _impl_.hitbox_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float creationtime = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { - _Internal::set_has_creationtime(&has_bits); - _impl_.creationtime_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 equipslot = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_equipslot(&has_bits); - _impl_.equipslot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 trace_id = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_trace_id(&has_bits); - _impl_.trace_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated float normal = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 109)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_normal(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(float); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<109>(ptr)); - } else if (static_cast(tag) == 106) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_normal(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tint_id = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_tint_id(&has_bits); - _impl_.tint_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* PlayerDecalDigitalSignature::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:PlayerDecalDigitalSignature) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes signature = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_signature(), target); - } - - // optional uint32 accountid = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_accountid(), target); - } - - // optional uint32 rtime = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_rtime(), target); - } - - // repeated float endpos = 4; - for (int i = 0, n = this->_internal_endpos_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_endpos(i), target); - } - - // repeated float startpos = 5; - for (int i = 0, n = this->_internal_startpos_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_startpos(i), target); - } - - // repeated float left = 6; - for (int i = 0, n = this->_internal_left_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_left(i), target); - } - - // optional uint32 tx_defidx = 7; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_tx_defidx(), target); - } - - // optional int32 entindex = 8; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_entindex(), target); - } - - // optional uint32 hitbox = 9; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_hitbox(), target); - } - - // optional float creationtime = 10; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(10, this->_internal_creationtime(), target); - } - - // optional uint32 equipslot = 11; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_equipslot(), target); - } - - // optional uint32 trace_id = 12; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_trace_id(), target); - } - - // repeated float normal = 13; - for (int i = 0, n = this->_internal_normal_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(13, this->_internal_normal(i), target); - } - - // optional uint32 tint_id = 14; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_tint_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:PlayerDecalDigitalSignature) - return target; -} - -size_t PlayerDecalDigitalSignature::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:PlayerDecalDigitalSignature) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated float endpos = 4; - { - unsigned int count = static_cast(this->_internal_endpos_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_endpos_size()); - total_size += data_size; - } - - // repeated float startpos = 5; - { - unsigned int count = static_cast(this->_internal_startpos_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_startpos_size()); - total_size += data_size; - } - - // repeated float left = 6; - { - unsigned int count = static_cast(this->_internal_left_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_left_size()); - total_size += data_size; - } - - // repeated float normal = 13; - { - unsigned int count = static_cast(this->_internal_normal_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_normal_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bytes signature = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_signature()); - } - - // optional uint32 accountid = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - // optional uint32 rtime = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rtime()); - } - - // optional uint32 tx_defidx = 7; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tx_defidx()); - } - - // optional int32 entindex = 8; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entindex()); - } - - // optional uint32 hitbox = 9; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_hitbox()); - } - - // optional float creationtime = 10; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional uint32 equipslot = 11; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_equipslot()); - } - - } - if (cached_has_bits & 0x00000300u) { - // optional uint32 trace_id = 12; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_trace_id()); - } - - // optional uint32 tint_id = 14; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tint_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerDecalDigitalSignature::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - PlayerDecalDigitalSignature::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerDecalDigitalSignature::GetClassData() const { return &_class_data_; } - - -void PlayerDecalDigitalSignature::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:PlayerDecalDigitalSignature) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.endpos_.MergeFrom(from._impl_.endpos_); - _this->_impl_.startpos_.MergeFrom(from._impl_.startpos_); - _this->_impl_.left_.MergeFrom(from._impl_.left_); - _this->_impl_.normal_.MergeFrom(from._impl_.normal_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_signature(from._internal_signature()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.accountid_ = from._impl_.accountid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.rtime_ = from._impl_.rtime_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.tx_defidx_ = from._impl_.tx_defidx_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.entindex_ = from._impl_.entindex_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.hitbox_ = from._impl_.hitbox_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.creationtime_ = from._impl_.creationtime_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.equipslot_ = from._impl_.equipslot_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000300u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.trace_id_ = from._impl_.trace_id_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.tint_id_ = from._impl_.tint_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void PlayerDecalDigitalSignature::CopyFrom(const PlayerDecalDigitalSignature& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:PlayerDecalDigitalSignature) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PlayerDecalDigitalSignature::IsInitialized() const { - return true; -} - -void PlayerDecalDigitalSignature::InternalSwap(PlayerDecalDigitalSignature* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.endpos_.InternalSwap(&other->_impl_.endpos_); - _impl_.startpos_.InternalSwap(&other->_impl_.startpos_); - _impl_.left_.InternalSwap(&other->_impl_.left_); - _impl_.normal_.InternalSwap(&other->_impl_.normal_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.signature_, lhs_arena, - &other->_impl_.signature_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(PlayerDecalDigitalSignature, _impl_.tint_id_) - + sizeof(PlayerDecalDigitalSignature::_impl_.tint_id_) - - PROTOBUF_FIELD_OFFSET(PlayerDecalDigitalSignature, _impl_.accountid_)>( - reinterpret_cast(&_impl_.accountid_), - reinterpret_cast(&other->_impl_.accountid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata PlayerDecalDigitalSignature::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[145]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientPlayerDecalSign::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::PlayerDecalDigitalSignature& data(const CMsgGCCStrike15_v2_ClientPlayerDecalSign* msg); - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_itemid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::PlayerDecalDigitalSignature& -CMsgGCCStrike15_v2_ClientPlayerDecalSign::_Internal::data(const CMsgGCCStrike15_v2_ClientPlayerDecalSign* msg) { - return *msg->_impl_.data_; -} -CMsgGCCStrike15_v2_ClientPlayerDecalSign::CMsgGCCStrike15_v2_ClientPlayerDecalSign(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientPlayerDecalSign) -} -CMsgGCCStrike15_v2_ClientPlayerDecalSign::CMsgGCCStrike15_v2_ClientPlayerDecalSign(const CMsgGCCStrike15_v2_ClientPlayerDecalSign& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientPlayerDecalSign* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){nullptr} - , decltype(_impl_.itemid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_data()) { - _this->_impl_.data_ = new ::PlayerDecalDigitalSignature(*from._impl_.data_); - } - _this->_impl_.itemid_ = from._impl_.itemid_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientPlayerDecalSign) -} - -inline void CMsgGCCStrike15_v2_ClientPlayerDecalSign::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){nullptr} - , decltype(_impl_.itemid_){uint64_t{0u}} - }; -} - -CMsgGCCStrike15_v2_ClientPlayerDecalSign::~CMsgGCCStrike15_v2_ClientPlayerDecalSign() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientPlayerDecalSign) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientPlayerDecalSign::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.data_; -} - -void CMsgGCCStrike15_v2_ClientPlayerDecalSign::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientPlayerDecalSign::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientPlayerDecalSign) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.data_ != nullptr); - _impl_.data_->Clear(); - } - _impl_.itemid_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientPlayerDecalSign::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .PlayerDecalDigitalSignature data = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_data(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 itemid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_itemid(&has_bits); - _impl_.itemid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientPlayerDecalSign::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientPlayerDecalSign) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .PlayerDecalDigitalSignature data = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::data(this), - _Internal::data(this).GetCachedSize(), target, stream); - } - - // optional uint64 itemid = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_itemid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientPlayerDecalSign) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientPlayerDecalSign::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientPlayerDecalSign) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .PlayerDecalDigitalSignature data = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.data_); - } - - // optional uint64 itemid = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_itemid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientPlayerDecalSign::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientPlayerDecalSign::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientPlayerDecalSign::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientPlayerDecalSign::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientPlayerDecalSign) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_data()->::PlayerDecalDigitalSignature::MergeFrom( - from._internal_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.itemid_ = from._impl_.itemid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientPlayerDecalSign::CopyFrom(const CMsgGCCStrike15_v2_ClientPlayerDecalSign& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientPlayerDecalSign) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientPlayerDecalSign::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientPlayerDecalSign::InternalSwap(CMsgGCCStrike15_v2_ClientPlayerDecalSign* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientPlayerDecalSign, _impl_.itemid_) - + sizeof(CMsgGCCStrike15_v2_ClientPlayerDecalSign::_impl_.itemid_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientPlayerDecalSign, _impl_.data_)>( - reinterpret_cast(&_impl_.data_), - reinterpret_cast(&other->_impl_.data_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientPlayerDecalSign::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[146]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_BetaEnrollment::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_eresult(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_BetaEnrollment::CMsgGCCStrike15_v2_BetaEnrollment(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_BetaEnrollment) -} -CMsgGCCStrike15_v2_BetaEnrollment::CMsgGCCStrike15_v2_BetaEnrollment(const CMsgGCCStrike15_v2_BetaEnrollment& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_BetaEnrollment* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.eresult_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.eresult_ = from._impl_.eresult_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_BetaEnrollment) -} - -inline void CMsgGCCStrike15_v2_BetaEnrollment::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.eresult_){0u} - }; -} - -CMsgGCCStrike15_v2_BetaEnrollment::~CMsgGCCStrike15_v2_BetaEnrollment() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_BetaEnrollment) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_BetaEnrollment::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_BetaEnrollment::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_BetaEnrollment::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_BetaEnrollment) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.eresult_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_BetaEnrollment::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 eresult = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_eresult(&has_bits); - _impl_.eresult_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_BetaEnrollment::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_BetaEnrollment) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 eresult = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_eresult(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_BetaEnrollment) - return target; -} - -size_t CMsgGCCStrike15_v2_BetaEnrollment::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_BetaEnrollment) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 eresult = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_eresult()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_BetaEnrollment::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_BetaEnrollment::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_BetaEnrollment::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_BetaEnrollment::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_BetaEnrollment) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_eresult()) { - _this->_internal_set_eresult(from._internal_eresult()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_BetaEnrollment::CopyFrom(const CMsgGCCStrike15_v2_BetaEnrollment& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_BetaEnrollment) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_BetaEnrollment::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_BetaEnrollment::InternalSwap(CMsgGCCStrike15_v2_BetaEnrollment* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.eresult_, other->_impl_.eresult_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_BetaEnrollment::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[147]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientLogonFatalError::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_errorcode(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_message(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_country(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCStrike15_v2_ClientLogonFatalError::CMsgGCCStrike15_v2_ClientLogonFatalError(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientLogonFatalError) -} -CMsgGCCStrike15_v2_ClientLogonFatalError::CMsgGCCStrike15_v2_ClientLogonFatalError(const CMsgGCCStrike15_v2_ClientLogonFatalError& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientLogonFatalError* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.message_){} - , decltype(_impl_.country_){} - , decltype(_impl_.errorcode_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_message()) { - _this->_impl_.message_.Set(from._internal_message(), - _this->GetArenaForAllocation()); - } - _impl_.country_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.country_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_country()) { - _this->_impl_.country_.Set(from._internal_country(), - _this->GetArenaForAllocation()); - } - _this->_impl_.errorcode_ = from._impl_.errorcode_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientLogonFatalError) -} - -inline void CMsgGCCStrike15_v2_ClientLogonFatalError::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.message_){} - , decltype(_impl_.country_){} - , decltype(_impl_.errorcode_){0u} - }; - _impl_.message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.country_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.country_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_ClientLogonFatalError::~CMsgGCCStrike15_v2_ClientLogonFatalError() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientLogonFatalError) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientLogonFatalError::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.message_.Destroy(); - _impl_.country_.Destroy(); -} - -void CMsgGCCStrike15_v2_ClientLogonFatalError::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientLogonFatalError::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientLogonFatalError) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.message_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.country_.ClearNonDefaultToEmpty(); - } - } - _impl_.errorcode_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientLogonFatalError::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 errorcode = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_errorcode(&has_bits); - _impl_.errorcode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string message = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_message(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientLogonFatalError.message"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string country = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_country(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientLogonFatalError.country"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientLogonFatalError::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientLogonFatalError) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 errorcode = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_errorcode(), target); - } - - // optional string message = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_message().data(), static_cast(this->_internal_message().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_ClientLogonFatalError.message"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_message(), target); - } - - // optional string country = 3; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_country().data(), static_cast(this->_internal_country().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_ClientLogonFatalError.country"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_country(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientLogonFatalError) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientLogonFatalError::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientLogonFatalError) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string message = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_message()); - } - - // optional string country = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_country()); - } - - // optional uint32 errorcode = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_errorcode()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientLogonFatalError::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientLogonFatalError::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientLogonFatalError::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientLogonFatalError::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientLogonFatalError) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_message(from._internal_message()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_country(from._internal_country()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.errorcode_ = from._impl_.errorcode_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientLogonFatalError::CopyFrom(const CMsgGCCStrike15_v2_ClientLogonFatalError& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientLogonFatalError) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientLogonFatalError::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientLogonFatalError::InternalSwap(CMsgGCCStrike15_v2_ClientLogonFatalError* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.message_, lhs_arena, - &other->_impl_.message_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.country_, lhs_arena, - &other->_impl_.country_, rhs_arena - ); - swap(_impl_.errorcode_, other->_impl_.errorcode_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientLogonFatalError::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[148]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientPollState::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_pollid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_ClientPollState::CMsgGCCStrike15_v2_ClientPollState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientPollState) -} -CMsgGCCStrike15_v2_ClientPollState::CMsgGCCStrike15_v2_ClientPollState(const CMsgGCCStrike15_v2_ClientPollState& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientPollState* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.names_){from._impl_.names_} - , decltype(_impl_.values_){from._impl_.values_} - , decltype(_impl_.pollid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.pollid_ = from._impl_.pollid_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientPollState) -} - -inline void CMsgGCCStrike15_v2_ClientPollState::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.names_){arena} - , decltype(_impl_.values_){arena} - , decltype(_impl_.pollid_){0u} - }; -} - -CMsgGCCStrike15_v2_ClientPollState::~CMsgGCCStrike15_v2_ClientPollState() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientPollState) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientPollState::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.names_.~RepeatedPtrField(); - _impl_.values_.~RepeatedField(); -} - -void CMsgGCCStrike15_v2_ClientPollState::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientPollState::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientPollState) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.names_.Clear(); - _impl_.values_.Clear(); - _impl_.pollid_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientPollState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 pollid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_pollid(&has_bits); - _impl_.pollid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated string names = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_names(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientPollState.names"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // repeated int32 values = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_values(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<24>(ptr)); - } else if (static_cast(tag) == 26) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_values(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientPollState::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientPollState) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 pollid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_pollid(), target); - } - - // repeated string names = 2; - for (int i = 0, n = this->_internal_names_size(); i < n; i++) { - const auto& s = this->_internal_names(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_ClientPollState.names"); - target = stream->WriteString(2, s, target); - } - - // repeated int32 values = 3; - for (int i = 0, n = this->_internal_values_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_values(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientPollState) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientPollState::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientPollState) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string names = 2; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.names_.size()); - for (int i = 0, n = _impl_.names_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.names_.Get(i)); - } - - // repeated int32 values = 3; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.values_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_values_size()); - total_size += data_size; - } - - // optional uint32 pollid = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pollid()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientPollState::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientPollState::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientPollState::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientPollState::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientPollState) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.names_.MergeFrom(from._impl_.names_); - _this->_impl_.values_.MergeFrom(from._impl_.values_); - if (from._internal_has_pollid()) { - _this->_internal_set_pollid(from._internal_pollid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientPollState::CopyFrom(const CMsgGCCStrike15_v2_ClientPollState& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientPollState) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientPollState::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientPollState::InternalSwap(CMsgGCCStrike15_v2_ClientPollState* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.names_.InternalSwap(&other->_impl_.names_); - _impl_.values_.InternalSwap(&other->_impl_.values_); - swap(_impl_.pollid_, other->_impl_.pollid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientPollState::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[149]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Party_Register::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_ver(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_apr(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_ark(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_nby(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_grp(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_slots(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_launcher(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_game_type(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } -}; - -CMsgGCCStrike15_v2_Party_Register::CMsgGCCStrike15_v2_Party_Register(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Party_Register) -} -CMsgGCCStrike15_v2_Party_Register::CMsgGCCStrike15_v2_Party_Register(const CMsgGCCStrike15_v2_Party_Register& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_Party_Register* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.id_){} - , decltype(_impl_.ver_){} - , decltype(_impl_.apr_){} - , decltype(_impl_.ark_){} - , decltype(_impl_.nby_){} - , decltype(_impl_.grp_){} - , decltype(_impl_.slots_){} - , decltype(_impl_.launcher_){} - , decltype(_impl_.game_type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.id_, &from._impl_.id_, - static_cast(reinterpret_cast(&_impl_.game_type_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.game_type_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Party_Register) -} - -inline void CMsgGCCStrike15_v2_Party_Register::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.id_){0u} - , decltype(_impl_.ver_){0u} - , decltype(_impl_.apr_){0u} - , decltype(_impl_.ark_){0u} - , decltype(_impl_.nby_){0u} - , decltype(_impl_.grp_){0u} - , decltype(_impl_.slots_){0u} - , decltype(_impl_.launcher_){0u} - , decltype(_impl_.game_type_){0u} - }; -} - -CMsgGCCStrike15_v2_Party_Register::~CMsgGCCStrike15_v2_Party_Register() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Party_Register) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_Party_Register::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_Party_Register::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_Party_Register::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Party_Register) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.id_, 0, static_cast( - reinterpret_cast(&_impl_.launcher_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.launcher_)); - } - _impl_.game_type_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_Party_Register::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_id(&has_bits); - _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ver = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_ver(&has_bits); - _impl_.ver_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 apr = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_apr(&has_bits); - _impl_.apr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ark = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_ark(&has_bits); - _impl_.ark_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 nby = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_nby(&has_bits); - _impl_.nby_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 grp = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_grp(&has_bits); - _impl_.grp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 slots = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_slots(&has_bits); - _impl_.slots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 launcher = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_launcher(&has_bits); - _impl_.launcher_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 game_type = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_game_type(&has_bits); - _impl_.game_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_Party_Register::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Party_Register) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target); - } - - // optional uint32 ver = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_ver(), target); - } - - // optional uint32 apr = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_apr(), target); - } - - // optional uint32 ark = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_ark(), target); - } - - // optional uint32 nby = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_nby(), target); - } - - // optional uint32 grp = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_grp(), target); - } - - // optional uint32 slots = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_slots(), target); - } - - // optional uint32 launcher = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_launcher(), target); - } - - // optional uint32 game_type = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_game_type(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_Party_Register) - return target; -} - -size_t CMsgGCCStrike15_v2_Party_Register::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Party_Register) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional uint32 id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id()); - } - - // optional uint32 ver = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ver()); - } - - // optional uint32 apr = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_apr()); - } - - // optional uint32 ark = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ark()); - } - - // optional uint32 nby = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_nby()); - } - - // optional uint32 grp = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_grp()); - } - - // optional uint32 slots = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_slots()); - } - - // optional uint32 launcher = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_launcher()); - } - - } - // optional uint32 game_type = 9; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_game_type()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Party_Register::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_Party_Register::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Party_Register::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_Party_Register::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_Party_Register) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.id_ = from._impl_.id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.ver_ = from._impl_.ver_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.apr_ = from._impl_.apr_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.ark_ = from._impl_.ark_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.nby_ = from._impl_.nby_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.grp_ = from._impl_.grp_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.slots_ = from._impl_.slots_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.launcher_ = from._impl_.launcher_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_game_type(from._internal_game_type()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_Party_Register::CopyFrom(const CMsgGCCStrike15_v2_Party_Register& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Party_Register) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_Party_Register::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_Party_Register::InternalSwap(CMsgGCCStrike15_v2_Party_Register* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Party_Register, _impl_.game_type_) - + sizeof(CMsgGCCStrike15_v2_Party_Register::_impl_.game_type_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Party_Register, _impl_.id_)>( - reinterpret_cast(&_impl_.id_), - reinterpret_cast(&other->_impl_.id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Party_Register::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[150]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Party_Search::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ver(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_apr(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_ark(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_launcher(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_game_type(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CMsgGCCStrike15_v2_Party_Search::CMsgGCCStrike15_v2_Party_Search(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Party_Search) -} -CMsgGCCStrike15_v2_Party_Search::CMsgGCCStrike15_v2_Party_Search(const CMsgGCCStrike15_v2_Party_Search& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_Party_Search* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.grps_){from._impl_.grps_} - , decltype(_impl_.ver_){} - , decltype(_impl_.apr_){} - , decltype(_impl_.ark_){} - , decltype(_impl_.launcher_){} - , decltype(_impl_.game_type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.ver_, &from._impl_.ver_, - static_cast(reinterpret_cast(&_impl_.game_type_) - - reinterpret_cast(&_impl_.ver_)) + sizeof(_impl_.game_type_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Party_Search) -} - -inline void CMsgGCCStrike15_v2_Party_Search::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.grps_){arena} - , decltype(_impl_.ver_){0u} - , decltype(_impl_.apr_){0u} - , decltype(_impl_.ark_){0u} - , decltype(_impl_.launcher_){0u} - , decltype(_impl_.game_type_){0u} - }; -} - -CMsgGCCStrike15_v2_Party_Search::~CMsgGCCStrike15_v2_Party_Search() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Party_Search) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_Party_Search::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.grps_.~RepeatedField(); -} - -void CMsgGCCStrike15_v2_Party_Search::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_Party_Search::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Party_Search) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.grps_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.ver_, 0, static_cast( - reinterpret_cast(&_impl_.game_type_) - - reinterpret_cast(&_impl_.ver_)) + sizeof(_impl_.game_type_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_Party_Search::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 ver = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_ver(&has_bits); - _impl_.ver_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 apr = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_apr(&has_bits); - _impl_.apr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ark = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_ark(&has_bits); - _impl_.ark_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 grps = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_grps(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<32>(ptr)); - } else if (static_cast(tag) == 34) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_grps(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 launcher = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_launcher(&has_bits); - _impl_.launcher_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 game_type = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_game_type(&has_bits); - _impl_.game_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_Party_Search::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Party_Search) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 ver = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_ver(), target); - } - - // optional uint32 apr = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_apr(), target); - } - - // optional uint32 ark = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_ark(), target); - } - - // repeated uint32 grps = 4; - for (int i = 0, n = this->_internal_grps_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_grps(i), target); - } - - // optional uint32 launcher = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_launcher(), target); - } - - // optional uint32 game_type = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_game_type(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_Party_Search) - return target; -} - -size_t CMsgGCCStrike15_v2_Party_Search::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Party_Search) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 grps = 4; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.grps_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_grps_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional uint32 ver = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ver()); - } - - // optional uint32 apr = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_apr()); - } - - // optional uint32 ark = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ark()); - } - - // optional uint32 launcher = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_launcher()); - } - - // optional uint32 game_type = 6; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_game_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Party_Search::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_Party_Search::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Party_Search::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_Party_Search::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_Party_Search) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.grps_.MergeFrom(from._impl_.grps_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.ver_ = from._impl_.ver_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.apr_ = from._impl_.apr_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.ark_ = from._impl_.ark_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.launcher_ = from._impl_.launcher_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.game_type_ = from._impl_.game_type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_Party_Search::CopyFrom(const CMsgGCCStrike15_v2_Party_Search& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Party_Search) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_Party_Search::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_Party_Search::InternalSwap(CMsgGCCStrike15_v2_Party_Search* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.grps_.InternalSwap(&other->_impl_.grps_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Party_Search, _impl_.game_type_) - + sizeof(CMsgGCCStrike15_v2_Party_Search::_impl_.game_type_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Party_Search, _impl_.ver_)>( - reinterpret_cast(&_impl_.ver_), - reinterpret_cast(&other->_impl_.ver_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Party_Search::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[151]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Party_SearchResults_Entry::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_grp(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_game_type(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_apr(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_ark(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_loc(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } -}; - -CMsgGCCStrike15_v2_Party_SearchResults_Entry::CMsgGCCStrike15_v2_Party_SearchResults_Entry(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Party_SearchResults.Entry) -} -CMsgGCCStrike15_v2_Party_SearchResults_Entry::CMsgGCCStrike15_v2_Party_SearchResults_Entry(const CMsgGCCStrike15_v2_Party_SearchResults_Entry& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_Party_SearchResults_Entry* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.id_){} - , decltype(_impl_.grp_){} - , decltype(_impl_.game_type_){} - , decltype(_impl_.apr_){} - , decltype(_impl_.ark_){} - , decltype(_impl_.loc_){} - , decltype(_impl_.accountid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.id_, &from._impl_.id_, - static_cast(reinterpret_cast(&_impl_.accountid_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.accountid_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Party_SearchResults.Entry) -} - -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.id_){0u} - , decltype(_impl_.grp_){0u} - , decltype(_impl_.game_type_){0u} - , decltype(_impl_.apr_){0u} - , decltype(_impl_.ark_){0u} - , decltype(_impl_.loc_){0u} - , decltype(_impl_.accountid_){0u} - }; -} - -CMsgGCCStrike15_v2_Party_SearchResults_Entry::~CMsgGCCStrike15_v2_Party_SearchResults_Entry() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Party_SearchResults.Entry) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_Party_SearchResults_Entry::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_Party_SearchResults_Entry::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Party_SearchResults.Entry) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - ::memset(&_impl_.id_, 0, static_cast( - reinterpret_cast(&_impl_.accountid_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.accountid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_Party_SearchResults_Entry::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_id(&has_bits); - _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 grp = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_grp(&has_bits); - _impl_.grp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 game_type = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_game_type(&has_bits); - _impl_.game_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 apr = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_apr(&has_bits); - _impl_.apr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ark = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_ark(&has_bits); - _impl_.ark_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 loc = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_loc(&has_bits); - _impl_.loc_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 accountid = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_Party_SearchResults_Entry::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Party_SearchResults.Entry) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target); - } - - // optional uint32 grp = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_grp(), target); - } - - // optional uint32 game_type = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_game_type(), target); - } - - // optional uint32 apr = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_apr(), target); - } - - // optional uint32 ark = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_ark(), target); - } - - // optional uint32 loc = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_loc(), target); - } - - // optional uint32 accountid = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_accountid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_Party_SearchResults.Entry) - return target; -} - -size_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Party_SearchResults.Entry) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional uint32 id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id()); - } - - // optional uint32 grp = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_grp()); - } - - // optional uint32 game_type = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_game_type()); - } - - // optional uint32 apr = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_apr()); - } - - // optional uint32 ark = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ark()); - } - - // optional uint32 loc = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_loc()); - } - - // optional uint32 accountid = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Party_SearchResults_Entry::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_Party_SearchResults_Entry::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Party_SearchResults_Entry::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_Party_SearchResults_Entry::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_Party_SearchResults.Entry) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.id_ = from._impl_.id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.grp_ = from._impl_.grp_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.game_type_ = from._impl_.game_type_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.apr_ = from._impl_.apr_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.ark_ = from._impl_.ark_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.loc_ = from._impl_.loc_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.accountid_ = from._impl_.accountid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_Party_SearchResults_Entry::CopyFrom(const CMsgGCCStrike15_v2_Party_SearchResults_Entry& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Party_SearchResults.Entry) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_Party_SearchResults_Entry::InternalSwap(CMsgGCCStrike15_v2_Party_SearchResults_Entry* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_.accountid_) - + sizeof(CMsgGCCStrike15_v2_Party_SearchResults_Entry::_impl_.accountid_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Party_SearchResults_Entry, _impl_.id_)>( - reinterpret_cast(&_impl_.id_), - reinterpret_cast(&other->_impl_.id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Party_SearchResults_Entry::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[152]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Party_SearchResults::_Internal { - public: -}; - -CMsgGCCStrike15_v2_Party_SearchResults::CMsgGCCStrike15_v2_Party_SearchResults(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Party_SearchResults) -} -CMsgGCCStrike15_v2_Party_SearchResults::CMsgGCCStrike15_v2_Party_SearchResults(const CMsgGCCStrike15_v2_Party_SearchResults& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_Party_SearchResults* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.entries_){from._impl_.entries_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Party_SearchResults) -} - -inline void CMsgGCCStrike15_v2_Party_SearchResults::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.entries_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CMsgGCCStrike15_v2_Party_SearchResults::~CMsgGCCStrike15_v2_Party_SearchResults() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Party_SearchResults) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_Party_SearchResults::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.entries_.~RepeatedPtrField(); -} - -void CMsgGCCStrike15_v2_Party_SearchResults::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_Party_SearchResults::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Party_SearchResults) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.entries_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_Party_SearchResults::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CMsgGCCStrike15_v2_Party_SearchResults.Entry entries = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_entries(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_Party_SearchResults::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Party_SearchResults) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CMsgGCCStrike15_v2_Party_SearchResults.Entry entries = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_entries_size()); i < n; i++) { - const auto& repfield = this->_internal_entries(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_Party_SearchResults) - return target; -} - -size_t CMsgGCCStrike15_v2_Party_SearchResults::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Party_SearchResults) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgGCCStrike15_v2_Party_SearchResults.Entry entries = 1; - total_size += 1UL * this->_internal_entries_size(); - for (const auto& msg : this->_impl_.entries_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Party_SearchResults::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_Party_SearchResults::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Party_SearchResults::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_Party_SearchResults::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_Party_SearchResults) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.entries_.MergeFrom(from._impl_.entries_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_Party_SearchResults::CopyFrom(const CMsgGCCStrike15_v2_Party_SearchResults& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Party_SearchResults) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_Party_SearchResults::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_Party_SearchResults::InternalSwap(CMsgGCCStrike15_v2_Party_SearchResults* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.entries_.InternalSwap(&other->_impl_.entries_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Party_SearchResults::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[153]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Party_Invite::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_lobbyid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCStrike15_v2_Party_Invite::CMsgGCCStrike15_v2_Party_Invite(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Party_Invite) -} -CMsgGCCStrike15_v2_Party_Invite::CMsgGCCStrike15_v2_Party_Invite(const CMsgGCCStrike15_v2_Party_Invite& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_Party_Invite* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.accountid_){} - , decltype(_impl_.lobbyid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.accountid_, &from._impl_.accountid_, - static_cast(reinterpret_cast(&_impl_.lobbyid_) - - reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.lobbyid_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Party_Invite) -} - -inline void CMsgGCCStrike15_v2_Party_Invite::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.accountid_){0u} - , decltype(_impl_.lobbyid_){0u} - }; -} - -CMsgGCCStrike15_v2_Party_Invite::~CMsgGCCStrike15_v2_Party_Invite() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Party_Invite) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_Party_Invite::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_Party_Invite::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_Party_Invite::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Party_Invite) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.accountid_, 0, static_cast( - reinterpret_cast(&_impl_.lobbyid_) - - reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.lobbyid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_Party_Invite::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 accountid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 lobbyid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_lobbyid(&has_bits); - _impl_.lobbyid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_Party_Invite::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Party_Invite) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); - } - - // optional uint32 lobbyid = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_lobbyid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_Party_Invite) - return target; -} - -size_t CMsgGCCStrike15_v2_Party_Invite::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Party_Invite) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - // optional uint32 lobbyid = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lobbyid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Party_Invite::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_Party_Invite::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Party_Invite::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_Party_Invite::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_Party_Invite) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.accountid_ = from._impl_.accountid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.lobbyid_ = from._impl_.lobbyid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_Party_Invite::CopyFrom(const CMsgGCCStrike15_v2_Party_Invite& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Party_Invite) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_Party_Invite::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_Party_Invite::InternalSwap(CMsgGCCStrike15_v2_Party_Invite* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Party_Invite, _impl_.lobbyid_) - + sizeof(CMsgGCCStrike15_v2_Party_Invite::_impl_.lobbyid_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Party_Invite, _impl_.accountid_)>( - reinterpret_cast(&_impl_.accountid_), - reinterpret_cast(&other->_impl_.accountid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Party_Invite::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[154]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_rtcoplay(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_online(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) -} -CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player(const CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.accountid_){} - , decltype(_impl_.rtcoplay_){} - , decltype(_impl_.online_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.accountid_, &from._impl_.accountid_, - static_cast(reinterpret_cast(&_impl_.online_) - - reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.online_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) -} - -inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.accountid_){0u} - , decltype(_impl_.rtcoplay_){0u} - , decltype(_impl_.online_){false} - }; -} - -CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::~CMsgGCCStrike15_v2_Account_RequestCoPlays_Player() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.accountid_, 0, static_cast( - reinterpret_cast(&_impl_.online_) - - reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.online_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 accountid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rtcoplay = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_rtcoplay(&has_bits); - _impl_.rtcoplay_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool online = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_online(&has_bits); - _impl_.online_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); - } - - // optional uint32 rtcoplay = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_rtcoplay(), target); - } - - // optional bool online = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_online(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) - return target; -} - -size_t CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - // optional uint32 rtcoplay = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rtcoplay()); - } - - // optional bool online = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.accountid_ = from._impl_.accountid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.rtcoplay_ = from._impl_.rtcoplay_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.online_ = from._impl_.online_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::CopyFrom(const CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::InternalSwap(CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Account_RequestCoPlays_Player, _impl_.online_) - + sizeof(CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_impl_.online_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_Account_RequestCoPlays_Player, _impl_.accountid_)>( - reinterpret_cast(&_impl_.accountid_), - reinterpret_cast(&other->_impl_.accountid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[155]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_Account_RequestCoPlays::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_servertime(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_Account_RequestCoPlays::CMsgGCCStrike15_v2_Account_RequestCoPlays(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_Account_RequestCoPlays) -} -CMsgGCCStrike15_v2_Account_RequestCoPlays::CMsgGCCStrike15_v2_Account_RequestCoPlays(const CMsgGCCStrike15_v2_Account_RequestCoPlays& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_Account_RequestCoPlays* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.players_){from._impl_.players_} - , decltype(_impl_.servertime_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.servertime_ = from._impl_.servertime_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_Account_RequestCoPlays) -} - -inline void CMsgGCCStrike15_v2_Account_RequestCoPlays::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.players_){arena} - , decltype(_impl_.servertime_){0u} - }; -} - -CMsgGCCStrike15_v2_Account_RequestCoPlays::~CMsgGCCStrike15_v2_Account_RequestCoPlays() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_Account_RequestCoPlays) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_Account_RequestCoPlays::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.players_.~RepeatedPtrField(); -} - -void CMsgGCCStrike15_v2_Account_RequestCoPlays::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_Account_RequestCoPlays::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_Account_RequestCoPlays) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.players_.Clear(); - _impl_.servertime_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_Account_RequestCoPlays::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CMsgGCCStrike15_v2_Account_RequestCoPlays.Player players = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_players(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 servertime = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_servertime(&has_bits); - _impl_.servertime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_Account_RequestCoPlays::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_Account_RequestCoPlays) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CMsgGCCStrike15_v2_Account_RequestCoPlays.Player players = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_players_size()); i < n; i++) { - const auto& repfield = this->_internal_players(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 servertime = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_servertime(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_Account_RequestCoPlays) - return target; -} - -size_t CMsgGCCStrike15_v2_Account_RequestCoPlays::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_Account_RequestCoPlays) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgGCCStrike15_v2_Account_RequestCoPlays.Player players = 1; - total_size += 1UL * this->_internal_players_size(); - for (const auto& msg : this->_impl_.players_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional uint32 servertime = 2; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_servertime()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_Account_RequestCoPlays::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_Account_RequestCoPlays::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_Account_RequestCoPlays::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_Account_RequestCoPlays::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_Account_RequestCoPlays) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.players_.MergeFrom(from._impl_.players_); - if (from._internal_has_servertime()) { - _this->_internal_set_servertime(from._internal_servertime()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_Account_RequestCoPlays::CopyFrom(const CMsgGCCStrike15_v2_Account_RequestCoPlays& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_Account_RequestCoPlays) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_Account_RequestCoPlays::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_Account_RequestCoPlays::InternalSwap(CMsgGCCStrike15_v2_Account_RequestCoPlays* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.players_.InternalSwap(&other->_impl_.players_); - swap(_impl_.servertime_, other->_impl_.servertime_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_Account_RequestCoPlays::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[156]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientToGCRequestTicket::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_authorized_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_authorized_public_ip(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_gameserver_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_gameserver_sdr_routing(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_ClientToGCRequestTicket::CMsgGCCStrike15_v2_ClientToGCRequestTicket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientToGCRequestTicket) -} -CMsgGCCStrike15_v2_ClientToGCRequestTicket::CMsgGCCStrike15_v2_ClientToGCRequestTicket(const CMsgGCCStrike15_v2_ClientToGCRequestTicket& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientToGCRequestTicket* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gameserver_sdr_routing_){} - , decltype(_impl_.authorized_steam_id_){} - , decltype(_impl_.gameserver_steam_id_){} - , decltype(_impl_.authorized_public_ip_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.gameserver_sdr_routing_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gameserver_sdr_routing_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_gameserver_sdr_routing()) { - _this->_impl_.gameserver_sdr_routing_.Set(from._internal_gameserver_sdr_routing(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.authorized_steam_id_, &from._impl_.authorized_steam_id_, - static_cast(reinterpret_cast(&_impl_.authorized_public_ip_) - - reinterpret_cast(&_impl_.authorized_steam_id_)) + sizeof(_impl_.authorized_public_ip_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientToGCRequestTicket) -} - -inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gameserver_sdr_routing_){} - , decltype(_impl_.authorized_steam_id_){uint64_t{0u}} - , decltype(_impl_.gameserver_steam_id_){uint64_t{0u}} - , decltype(_impl_.authorized_public_ip_){0u} - }; - _impl_.gameserver_sdr_routing_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gameserver_sdr_routing_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_ClientToGCRequestTicket::~CMsgGCCStrike15_v2_ClientToGCRequestTicket() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientToGCRequestTicket) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.gameserver_sdr_routing_.Destroy(); -} - -void CMsgGCCStrike15_v2_ClientToGCRequestTicket::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientToGCRequestTicket::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientToGCRequestTicket) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.gameserver_sdr_routing_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.authorized_steam_id_, 0, static_cast( - reinterpret_cast(&_impl_.authorized_public_ip_) - - reinterpret_cast(&_impl_.authorized_steam_id_)) + sizeof(_impl_.authorized_public_ip_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientToGCRequestTicket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 authorized_steam_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_authorized_steam_id(&has_bits); - _impl_.authorized_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional fixed32 authorized_public_ip = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_authorized_public_ip(&has_bits); - _impl_.authorized_public_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 gameserver_steam_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_gameserver_steam_id(&has_bits); - _impl_.gameserver_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional string gameserver_sdr_routing = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_gameserver_sdr_routing(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientToGCRequestTicket.gameserver_sdr_routing"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientToGCRequestTicket::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientToGCRequestTicket) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 authorized_steam_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_authorized_steam_id(), target); - } - - // optional fixed32 authorized_public_ip = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_authorized_public_ip(), target); - } - - // optional fixed64 gameserver_steam_id = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_gameserver_steam_id(), target); - } - - // optional string gameserver_sdr_routing = 5; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_gameserver_sdr_routing().data(), static_cast(this->_internal_gameserver_sdr_routing().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_ClientToGCRequestTicket.gameserver_sdr_routing"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_gameserver_sdr_routing(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientToGCRequestTicket) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientToGCRequestTicket::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientToGCRequestTicket) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string gameserver_sdr_routing = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_gameserver_sdr_routing()); - } - - // optional fixed64 authorized_steam_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - // optional fixed64 gameserver_steam_id = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 8; - } - - // optional fixed32 authorized_public_ip = 2; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientToGCRequestTicket::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientToGCRequestTicket::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientToGCRequestTicket::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientToGCRequestTicket::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientToGCRequestTicket) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_gameserver_sdr_routing(from._internal_gameserver_sdr_routing()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.authorized_steam_id_ = from._impl_.authorized_steam_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.gameserver_steam_id_ = from._impl_.gameserver_steam_id_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.authorized_public_ip_ = from._impl_.authorized_public_ip_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientToGCRequestTicket::CopyFrom(const CMsgGCCStrike15_v2_ClientToGCRequestTicket& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientToGCRequestTicket) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientToGCRequestTicket::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientToGCRequestTicket::InternalSwap(CMsgGCCStrike15_v2_ClientToGCRequestTicket* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.gameserver_sdr_routing_, lhs_arena, - &other->_impl_.gameserver_sdr_routing_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientToGCRequestTicket, _impl_.authorized_public_ip_) - + sizeof(CMsgGCCStrike15_v2_ClientToGCRequestTicket::_impl_.authorized_public_ip_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientToGCRequestTicket, _impl_.authorized_steam_id_)>( - reinterpret_cast(&_impl_.authorized_steam_id_), - reinterpret_cast(&other->_impl_.authorized_steam_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientToGCRequestTicket::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[157]); -} - -// =================================================================== - -class CMsgGCToClientSteamDatagramTicket::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_serialized_ticket(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCToClientSteamDatagramTicket::CMsgGCToClientSteamDatagramTicket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCToClientSteamDatagramTicket) -} -CMsgGCToClientSteamDatagramTicket::CMsgGCToClientSteamDatagramTicket(const CMsgGCToClientSteamDatagramTicket& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCToClientSteamDatagramTicket* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.serialized_ticket_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.serialized_ticket_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.serialized_ticket_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_serialized_ticket()) { - _this->_impl_.serialized_ticket_.Set(from._internal_serialized_ticket(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CMsgGCToClientSteamDatagramTicket) -} - -inline void CMsgGCToClientSteamDatagramTicket::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.serialized_ticket_){} - }; - _impl_.serialized_ticket_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.serialized_ticket_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCToClientSteamDatagramTicket::~CMsgGCToClientSteamDatagramTicket() { - // @@protoc_insertion_point(destructor:CMsgGCToClientSteamDatagramTicket) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCToClientSteamDatagramTicket::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.serialized_ticket_.Destroy(); -} - -void CMsgGCToClientSteamDatagramTicket::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCToClientSteamDatagramTicket::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCToClientSteamDatagramTicket) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.serialized_ticket_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCToClientSteamDatagramTicket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes serialized_ticket = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { - auto str = _internal_mutable_serialized_ticket(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCToClientSteamDatagramTicket::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCToClientSteamDatagramTicket) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes serialized_ticket = 16; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 16, this->_internal_serialized_ticket(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCToClientSteamDatagramTicket) - return target; -} - -size_t CMsgGCToClientSteamDatagramTicket::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCToClientSteamDatagramTicket) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bytes serialized_ticket = 16; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_serialized_ticket()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCToClientSteamDatagramTicket::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCToClientSteamDatagramTicket::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCToClientSteamDatagramTicket::GetClassData() const { return &_class_data_; } - - -void CMsgGCToClientSteamDatagramTicket::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCToClientSteamDatagramTicket) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_serialized_ticket()) { - _this->_internal_set_serialized_ticket(from._internal_serialized_ticket()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCToClientSteamDatagramTicket::CopyFrom(const CMsgGCToClientSteamDatagramTicket& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCToClientSteamDatagramTicket) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCToClientSteamDatagramTicket::IsInitialized() const { - return true; -} - -void CMsgGCToClientSteamDatagramTicket::InternalSwap(CMsgGCToClientSteamDatagramTicket* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.serialized_ticket_, lhs_arena, - &other->_impl_.serialized_ticket_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCToClientSteamDatagramTicket::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[158]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientRequestOffers::_Internal { - public: -}; - -CMsgGCCStrike15_v2_ClientRequestOffers::CMsgGCCStrike15_v2_ClientRequestOffers(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientRequestOffers) -} -CMsgGCCStrike15_v2_ClientRequestOffers::CMsgGCCStrike15_v2_ClientRequestOffers(const CMsgGCCStrike15_v2_ClientRequestOffers& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CMsgGCCStrike15_v2_ClientRequestOffers* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientRequestOffers) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientRequestOffers::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientRequestOffers::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientRequestOffers::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[159]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientRequestSouvenir::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_itemid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_matchid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_eventid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgGCCStrike15_v2_ClientRequestSouvenir::CMsgGCCStrike15_v2_ClientRequestSouvenir(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientRequestSouvenir) -} -CMsgGCCStrike15_v2_ClientRequestSouvenir::CMsgGCCStrike15_v2_ClientRequestSouvenir(const CMsgGCCStrike15_v2_ClientRequestSouvenir& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientRequestSouvenir* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.itemid_){} - , decltype(_impl_.matchid_){} - , decltype(_impl_.eventid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.itemid_, &from._impl_.itemid_, - static_cast(reinterpret_cast(&_impl_.eventid_) - - reinterpret_cast(&_impl_.itemid_)) + sizeof(_impl_.eventid_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientRequestSouvenir) -} - -inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.itemid_){uint64_t{0u}} - , decltype(_impl_.matchid_){uint64_t{0u}} - , decltype(_impl_.eventid_){0} - }; -} - -CMsgGCCStrike15_v2_ClientRequestSouvenir::~CMsgGCCStrike15_v2_ClientRequestSouvenir() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientRequestSouvenir) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_ClientRequestSouvenir::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientRequestSouvenir::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientRequestSouvenir) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.itemid_, 0, static_cast( - reinterpret_cast(&_impl_.eventid_) - - reinterpret_cast(&_impl_.itemid_)) + sizeof(_impl_.eventid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientRequestSouvenir::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 itemid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_itemid(&has_bits); - _impl_.itemid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 matchid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_matchid(&has_bits); - _impl_.matchid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 eventid = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_eventid(&has_bits); - _impl_.eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientRequestSouvenir::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientRequestSouvenir) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 itemid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_itemid(), target); - } - - // optional uint64 matchid = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_matchid(), target); - } - - // optional int32 eventid = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_eventid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientRequestSouvenir) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientRequestSouvenir::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientRequestSouvenir) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint64 itemid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_itemid()); - } - - // optional uint64 matchid = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_matchid()); - } - - // optional int32 eventid = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eventid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientRequestSouvenir::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientRequestSouvenir::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientRequestSouvenir::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientRequestSouvenir::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientRequestSouvenir) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.itemid_ = from._impl_.itemid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.matchid_ = from._impl_.matchid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.eventid_ = from._impl_.eventid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientRequestSouvenir::CopyFrom(const CMsgGCCStrike15_v2_ClientRequestSouvenir& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientRequestSouvenir) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientRequestSouvenir::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientRequestSouvenir::InternalSwap(CMsgGCCStrike15_v2_ClientRequestSouvenir* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestSouvenir, _impl_.eventid_) - + sizeof(CMsgGCCStrike15_v2_ClientRequestSouvenir::_impl_.eventid_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientRequestSouvenir, _impl_.itemid_)>( - reinterpret_cast(&_impl_.itemid_), - reinterpret_cast(&other->_impl_.itemid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientRequestSouvenir::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[160]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientAccountBalance::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_amount(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_url(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_ClientAccountBalance::CMsgGCCStrike15_v2_ClientAccountBalance(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientAccountBalance) -} -CMsgGCCStrike15_v2_ClientAccountBalance::CMsgGCCStrike15_v2_ClientAccountBalance(const CMsgGCCStrike15_v2_ClientAccountBalance& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientAccountBalance* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.url_){} - , decltype(_impl_.amount_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_url()) { - _this->_impl_.url_.Set(from._internal_url(), - _this->GetArenaForAllocation()); - } - _this->_impl_.amount_ = from._impl_.amount_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientAccountBalance) -} - -inline void CMsgGCCStrike15_v2_ClientAccountBalance::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.url_){} - , decltype(_impl_.amount_){uint64_t{0u}} - }; - _impl_.url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_ClientAccountBalance::~CMsgGCCStrike15_v2_ClientAccountBalance() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientAccountBalance) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientAccountBalance::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.url_.Destroy(); -} - -void CMsgGCCStrike15_v2_ClientAccountBalance::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientAccountBalance::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientAccountBalance) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.url_.ClearNonDefaultToEmpty(); - } - _impl_.amount_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientAccountBalance::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 amount = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_amount(&has_bits); - _impl_.amount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string url = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_url(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientAccountBalance.url"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientAccountBalance::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientAccountBalance) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 amount = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_amount(), target); - } - - // optional string url = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_url().data(), static_cast(this->_internal_url().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_ClientAccountBalance.url"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_url(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientAccountBalance) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientAccountBalance::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientAccountBalance) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string url = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_url()); - } - - // optional uint64 amount = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_amount()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientAccountBalance::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientAccountBalance::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientAccountBalance::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientAccountBalance::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientAccountBalance) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_url(from._internal_url()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.amount_ = from._impl_.amount_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientAccountBalance::CopyFrom(const CMsgGCCStrike15_v2_ClientAccountBalance& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientAccountBalance) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientAccountBalance::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientAccountBalance::InternalSwap(CMsgGCCStrike15_v2_ClientAccountBalance* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.url_, lhs_arena, - &other->_impl_.url_, rhs_arena - ); - swap(_impl_.amount_, other->_impl_.amount_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientAccountBalance::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[161]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientPartyJoinRelay::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_lobbyid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_ClientPartyJoinRelay::CMsgGCCStrike15_v2_ClientPartyJoinRelay(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientPartyJoinRelay) -} -CMsgGCCStrike15_v2_ClientPartyJoinRelay::CMsgGCCStrike15_v2_ClientPartyJoinRelay(const CMsgGCCStrike15_v2_ClientPartyJoinRelay& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientPartyJoinRelay* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.lobbyid_){} - , decltype(_impl_.accountid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.lobbyid_, &from._impl_.lobbyid_, - static_cast(reinterpret_cast(&_impl_.accountid_) - - reinterpret_cast(&_impl_.lobbyid_)) + sizeof(_impl_.accountid_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientPartyJoinRelay) -} - -inline void CMsgGCCStrike15_v2_ClientPartyJoinRelay::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.lobbyid_){uint64_t{0u}} - , decltype(_impl_.accountid_){0u} - }; -} - -CMsgGCCStrike15_v2_ClientPartyJoinRelay::~CMsgGCCStrike15_v2_ClientPartyJoinRelay() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientPartyJoinRelay) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientPartyJoinRelay::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_ClientPartyJoinRelay::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientPartyJoinRelay::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientPartyJoinRelay) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.lobbyid_, 0, static_cast( - reinterpret_cast(&_impl_.accountid_) - - reinterpret_cast(&_impl_.lobbyid_)) + sizeof(_impl_.accountid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientPartyJoinRelay::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 accountid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 lobbyid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_lobbyid(&has_bits); - _impl_.lobbyid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientPartyJoinRelay::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientPartyJoinRelay) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); - } - - // optional uint64 lobbyid = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_lobbyid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientPartyJoinRelay) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientPartyJoinRelay::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientPartyJoinRelay) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 lobbyid = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_lobbyid()); - } - - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientPartyJoinRelay::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientPartyJoinRelay::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientPartyJoinRelay::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientPartyJoinRelay::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientPartyJoinRelay) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.lobbyid_ = from._impl_.lobbyid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.accountid_ = from._impl_.accountid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientPartyJoinRelay::CopyFrom(const CMsgGCCStrike15_v2_ClientPartyJoinRelay& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientPartyJoinRelay) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientPartyJoinRelay::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientPartyJoinRelay::InternalSwap(CMsgGCCStrike15_v2_ClientPartyJoinRelay* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientPartyJoinRelay, _impl_.accountid_) - + sizeof(CMsgGCCStrike15_v2_ClientPartyJoinRelay::_impl_.accountid_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientPartyJoinRelay, _impl_.lobbyid_)>( - reinterpret_cast(&_impl_.lobbyid_), - reinterpret_cast(&other->_impl_.lobbyid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientPartyJoinRelay::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[162]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_warntype(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCStrike15_v2_ClientPartyWarning_Entry::CMsgGCCStrike15_v2_ClientPartyWarning_Entry(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) -} -CMsgGCCStrike15_v2_ClientPartyWarning_Entry::CMsgGCCStrike15_v2_ClientPartyWarning_Entry(const CMsgGCCStrike15_v2_ClientPartyWarning_Entry& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientPartyWarning_Entry* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.accountid_){} - , decltype(_impl_.warntype_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.accountid_, &from._impl_.accountid_, - static_cast(reinterpret_cast(&_impl_.warntype_) - - reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.warntype_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) -} - -inline void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.accountid_){0u} - , decltype(_impl_.warntype_){0u} - }; -} - -CMsgGCCStrike15_v2_ClientPartyWarning_Entry::~CMsgGCCStrike15_v2_ClientPartyWarning_Entry() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.accountid_, 0, static_cast( - reinterpret_cast(&_impl_.warntype_) - - reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.warntype_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 accountid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 warntype = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_warntype(&has_bits); - _impl_.warntype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); - } - - // optional uint32 warntype = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_warntype(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientPartyWarning_Entry::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - // optional uint32 warntype = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_warntype()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientPartyWarning_Entry::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientPartyWarning_Entry::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.accountid_ = from._impl_.accountid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.warntype_ = from._impl_.warntype_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::CopyFrom(const CMsgGCCStrike15_v2_ClientPartyWarning_Entry& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientPartyWarning_Entry::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::InternalSwap(CMsgGCCStrike15_v2_ClientPartyWarning_Entry* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientPartyWarning_Entry, _impl_.warntype_) - + sizeof(CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_impl_.warntype_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientPartyWarning_Entry, _impl_.accountid_)>( - reinterpret_cast(&_impl_.accountid_), - reinterpret_cast(&other->_impl_.accountid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientPartyWarning_Entry::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[163]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientPartyWarning::_Internal { - public: -}; - -CMsgGCCStrike15_v2_ClientPartyWarning::CMsgGCCStrike15_v2_ClientPartyWarning(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientPartyWarning) -} -CMsgGCCStrike15_v2_ClientPartyWarning::CMsgGCCStrike15_v2_ClientPartyWarning(const CMsgGCCStrike15_v2_ClientPartyWarning& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientPartyWarning* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.entries_){from._impl_.entries_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientPartyWarning) -} - -inline void CMsgGCCStrike15_v2_ClientPartyWarning::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.entries_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CMsgGCCStrike15_v2_ClientPartyWarning::~CMsgGCCStrike15_v2_ClientPartyWarning() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientPartyWarning) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientPartyWarning::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.entries_.~RepeatedPtrField(); -} - -void CMsgGCCStrike15_v2_ClientPartyWarning::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientPartyWarning::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientPartyWarning) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.entries_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientPartyWarning::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CMsgGCCStrike15_v2_ClientPartyWarning.Entry entries = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_entries(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientPartyWarning::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientPartyWarning) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CMsgGCCStrike15_v2_ClientPartyWarning.Entry entries = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_entries_size()); i < n; i++) { - const auto& repfield = this->_internal_entries(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientPartyWarning) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientPartyWarning::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientPartyWarning) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgGCCStrike15_v2_ClientPartyWarning.Entry entries = 1; - total_size += 1UL * this->_internal_entries_size(); - for (const auto& msg : this->_impl_.entries_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientPartyWarning::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientPartyWarning::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientPartyWarning::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientPartyWarning::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientPartyWarning) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.entries_.MergeFrom(from._impl_.entries_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientPartyWarning::CopyFrom(const CMsgGCCStrike15_v2_ClientPartyWarning& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientPartyWarning) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientPartyWarning::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientPartyWarning::InternalSwap(CMsgGCCStrike15_v2_ClientPartyWarning* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.entries_.InternalSwap(&other->_impl_.entries_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientPartyWarning::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[164]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_SetEventFavorite::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_eventid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_is_favorite(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCStrike15_v2_SetEventFavorite::CMsgGCCStrike15_v2_SetEventFavorite(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_SetEventFavorite) -} -CMsgGCCStrike15_v2_SetEventFavorite::CMsgGCCStrike15_v2_SetEventFavorite(const CMsgGCCStrike15_v2_SetEventFavorite& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_SetEventFavorite* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.eventid_){} - , decltype(_impl_.is_favorite_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.eventid_, &from._impl_.eventid_, - static_cast(reinterpret_cast(&_impl_.is_favorite_) - - reinterpret_cast(&_impl_.eventid_)) + sizeof(_impl_.is_favorite_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_SetEventFavorite) -} - -inline void CMsgGCCStrike15_v2_SetEventFavorite::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.eventid_){uint64_t{0u}} - , decltype(_impl_.is_favorite_){false} - }; -} - -CMsgGCCStrike15_v2_SetEventFavorite::~CMsgGCCStrike15_v2_SetEventFavorite() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_SetEventFavorite) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_SetEventFavorite::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_SetEventFavorite::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_SetEventFavorite::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_SetEventFavorite) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.eventid_, 0, static_cast( - reinterpret_cast(&_impl_.is_favorite_) - - reinterpret_cast(&_impl_.eventid_)) + sizeof(_impl_.is_favorite_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_SetEventFavorite::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 eventid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_eventid(&has_bits); - _impl_.eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_favorite = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_is_favorite(&has_bits); - _impl_.is_favorite_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_SetEventFavorite::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_SetEventFavorite) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 eventid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_eventid(), target); - } - - // optional bool is_favorite = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_is_favorite(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_SetEventFavorite) - return target; -} - -size_t CMsgGCCStrike15_v2_SetEventFavorite::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_SetEventFavorite) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 eventid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_eventid()); - } - - // optional bool is_favorite = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_SetEventFavorite::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_SetEventFavorite::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_SetEventFavorite::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_SetEventFavorite::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_SetEventFavorite) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.eventid_ = from._impl_.eventid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.is_favorite_ = from._impl_.is_favorite_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_SetEventFavorite::CopyFrom(const CMsgGCCStrike15_v2_SetEventFavorite& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_SetEventFavorite) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_SetEventFavorite::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_SetEventFavorite::InternalSwap(CMsgGCCStrike15_v2_SetEventFavorite* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_SetEventFavorite, _impl_.is_favorite_) - + sizeof(CMsgGCCStrike15_v2_SetEventFavorite::_impl_.is_favorite_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_SetEventFavorite, _impl_.eventid_)>( - reinterpret_cast(&_impl_.eventid_), - reinterpret_cast(&other->_impl_.eventid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_SetEventFavorite::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[165]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_GetEventFavorites_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_all_events(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_GetEventFavorites_Request::CMsgGCCStrike15_v2_GetEventFavorites_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_GetEventFavorites_Request) -} -CMsgGCCStrike15_v2_GetEventFavorites_Request::CMsgGCCStrike15_v2_GetEventFavorites_Request(const CMsgGCCStrike15_v2_GetEventFavorites_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_GetEventFavorites_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.all_events_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.all_events_ = from._impl_.all_events_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GetEventFavorites_Request) -} - -inline void CMsgGCCStrike15_v2_GetEventFavorites_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.all_events_){false} - }; -} - -CMsgGCCStrike15_v2_GetEventFavorites_Request::~CMsgGCCStrike15_v2_GetEventFavorites_Request() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GetEventFavorites_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_GetEventFavorites_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCCStrike15_v2_GetEventFavorites_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_GetEventFavorites_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GetEventFavorites_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.all_events_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_GetEventFavorites_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool all_events = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_all_events(&has_bits); - _impl_.all_events_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_GetEventFavorites_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GetEventFavorites_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool all_events = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_all_events(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_GetEventFavorites_Request) - return target; -} - -size_t CMsgGCCStrike15_v2_GetEventFavorites_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GetEventFavorites_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bool all_events = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GetEventFavorites_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_GetEventFavorites_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GetEventFavorites_Request::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_GetEventFavorites_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_GetEventFavorites_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_all_events()) { - _this->_internal_set_all_events(from._internal_all_events()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_GetEventFavorites_Request::CopyFrom(const CMsgGCCStrike15_v2_GetEventFavorites_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GetEventFavorites_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_GetEventFavorites_Request::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_GetEventFavorites_Request::InternalSwap(CMsgGCCStrike15_v2_GetEventFavorites_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.all_events_, other->_impl_.all_events_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GetEventFavorites_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[166]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_GetEventFavorites_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_all_events(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_json_favorites(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_json_featured(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCStrike15_v2_GetEventFavorites_Response::CMsgGCCStrike15_v2_GetEventFavorites_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_GetEventFavorites_Response) -} -CMsgGCCStrike15_v2_GetEventFavorites_Response::CMsgGCCStrike15_v2_GetEventFavorites_Response(const CMsgGCCStrike15_v2_GetEventFavorites_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_GetEventFavorites_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.json_favorites_){} - , decltype(_impl_.json_featured_){} - , decltype(_impl_.all_events_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.json_favorites_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.json_favorites_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_json_favorites()) { - _this->_impl_.json_favorites_.Set(from._internal_json_favorites(), - _this->GetArenaForAllocation()); - } - _impl_.json_featured_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.json_featured_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_json_featured()) { - _this->_impl_.json_featured_.Set(from._internal_json_featured(), - _this->GetArenaForAllocation()); - } - _this->_impl_.all_events_ = from._impl_.all_events_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GetEventFavorites_Response) -} - -inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.json_favorites_){} - , decltype(_impl_.json_featured_){} - , decltype(_impl_.all_events_){false} - }; - _impl_.json_favorites_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.json_favorites_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.json_featured_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.json_featured_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_GetEventFavorites_Response::~CMsgGCCStrike15_v2_GetEventFavorites_Response() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GetEventFavorites_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.json_favorites_.Destroy(); - _impl_.json_featured_.Destroy(); -} - -void CMsgGCCStrike15_v2_GetEventFavorites_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_GetEventFavorites_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GetEventFavorites_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.json_favorites_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.json_featured_.ClearNonDefaultToEmpty(); - } - } - _impl_.all_events_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_GetEventFavorites_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool all_events = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_all_events(&has_bits); - _impl_.all_events_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string json_favorites = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_json_favorites(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GetEventFavorites_Response.json_favorites"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string json_featured = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_json_featured(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GetEventFavorites_Response.json_featured"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_GetEventFavorites_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GetEventFavorites_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool all_events = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_all_events(), target); - } - - // optional string json_favorites = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_json_favorites().data(), static_cast(this->_internal_json_favorites().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_GetEventFavorites_Response.json_favorites"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_json_favorites(), target); - } - - // optional string json_featured = 3; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_json_featured().data(), static_cast(this->_internal_json_featured().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_GetEventFavorites_Response.json_featured"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_json_featured(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_GetEventFavorites_Response) - return target; -} - -size_t CMsgGCCStrike15_v2_GetEventFavorites_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GetEventFavorites_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string json_favorites = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_json_favorites()); - } - - // optional string json_featured = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_json_featured()); - } - - // optional bool all_events = 1; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GetEventFavorites_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_GetEventFavorites_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GetEventFavorites_Response::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_GetEventFavorites_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_GetEventFavorites_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_json_favorites(from._internal_json_favorites()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_json_featured(from._internal_json_featured()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.all_events_ = from._impl_.all_events_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_GetEventFavorites_Response::CopyFrom(const CMsgGCCStrike15_v2_GetEventFavorites_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GetEventFavorites_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_GetEventFavorites_Response::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_GetEventFavorites_Response::InternalSwap(CMsgGCCStrike15_v2_GetEventFavorites_Response* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.json_favorites_, lhs_arena, - &other->_impl_.json_favorites_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.json_featured_, lhs_arena, - &other->_impl_.json_featured_, rhs_arena - ); - swap(_impl_.all_events_, other->_impl_.all_events_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GetEventFavorites_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[167]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientPerfReport_Entry::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_perfcounter(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_length(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_reference(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_actual(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_sourceid(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_status(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } -}; - -CMsgGCCStrike15_v2_ClientPerfReport_Entry::CMsgGCCStrike15_v2_ClientPerfReport_Entry(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientPerfReport.Entry) -} -CMsgGCCStrike15_v2_ClientPerfReport_Entry::CMsgGCCStrike15_v2_ClientPerfReport_Entry(const CMsgGCCStrike15_v2_ClientPerfReport_Entry& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientPerfReport_Entry* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.reference_){} - , decltype(_impl_.actual_){} - , decltype(_impl_.perfcounter_){} - , decltype(_impl_.length_){} - , decltype(_impl_.sourceid_){} - , decltype(_impl_.status_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.reference_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.reference_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_reference()) { - _this->_impl_.reference_.Set(from._internal_reference(), - _this->GetArenaForAllocation()); - } - _impl_.actual_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.actual_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_actual()) { - _this->_impl_.actual_.Set(from._internal_actual(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.perfcounter_, &from._impl_.perfcounter_, - static_cast(reinterpret_cast(&_impl_.status_) - - reinterpret_cast(&_impl_.perfcounter_)) + sizeof(_impl_.status_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientPerfReport.Entry) -} - -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.reference_){} - , decltype(_impl_.actual_){} - , decltype(_impl_.perfcounter_){0u} - , decltype(_impl_.length_){0u} - , decltype(_impl_.sourceid_){0u} - , decltype(_impl_.status_){0u} - }; - _impl_.reference_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.reference_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.actual_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.actual_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_ClientPerfReport_Entry::~CMsgGCCStrike15_v2_ClientPerfReport_Entry() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientPerfReport.Entry) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.reference_.Destroy(); - _impl_.actual_.Destroy(); -} - -void CMsgGCCStrike15_v2_ClientPerfReport_Entry::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientPerfReport_Entry::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientPerfReport.Entry) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.reference_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.actual_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000003cu) { - ::memset(&_impl_.perfcounter_, 0, static_cast( - reinterpret_cast(&_impl_.status_) - - reinterpret_cast(&_impl_.perfcounter_)) + sizeof(_impl_.status_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientPerfReport_Entry::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 perfcounter = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_perfcounter(&has_bits); - _impl_.perfcounter_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 length = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_length(&has_bits); - _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes reference = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_reference(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes actual = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_actual(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 sourceid = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_sourceid(&has_bits); - _impl_.sourceid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 status = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_status(&has_bits); - _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientPerfReport_Entry::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientPerfReport.Entry) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 perfcounter = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_perfcounter(), target); - } - - // optional uint32 length = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_length(), target); - } - - // optional bytes reference = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 3, this->_internal_reference(), target); - } - - // optional bytes actual = 4; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 4, this->_internal_actual(), target); - } - - // optional uint32 sourceid = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_sourceid(), target); - } - - // optional uint32 status = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_status(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientPerfReport.Entry) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientPerfReport_Entry::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientPerfReport.Entry) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional bytes reference = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_reference()); - } - - // optional bytes actual = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_actual()); - } - - // optional uint32 perfcounter = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_perfcounter()); - } - - // optional uint32 length = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_length()); - } - - // optional uint32 sourceid = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sourceid()); - } - - // optional uint32 status = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_status()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientPerfReport_Entry::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientPerfReport_Entry::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientPerfReport_Entry::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientPerfReport_Entry::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientPerfReport.Entry) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_reference(from._internal_reference()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_actual(from._internal_actual()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.perfcounter_ = from._impl_.perfcounter_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.length_ = from._impl_.length_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.sourceid_ = from._impl_.sourceid_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.status_ = from._impl_.status_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientPerfReport_Entry::CopyFrom(const CMsgGCCStrike15_v2_ClientPerfReport_Entry& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientPerfReport.Entry) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientPerfReport_Entry::InternalSwap(CMsgGCCStrike15_v2_ClientPerfReport_Entry* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.reference_, lhs_arena, - &other->_impl_.reference_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.actual_, lhs_arena, - &other->_impl_.actual_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientPerfReport_Entry, _impl_.status_) - + sizeof(CMsgGCCStrike15_v2_ClientPerfReport_Entry::_impl_.status_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientPerfReport_Entry, _impl_.perfcounter_)>( - reinterpret_cast(&_impl_.perfcounter_), - reinterpret_cast(&other->_impl_.perfcounter_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientPerfReport_Entry::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[168]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientPerfReport::_Internal { - public: -}; - -CMsgGCCStrike15_v2_ClientPerfReport::CMsgGCCStrike15_v2_ClientPerfReport(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientPerfReport) -} -CMsgGCCStrike15_v2_ClientPerfReport::CMsgGCCStrike15_v2_ClientPerfReport(const CMsgGCCStrike15_v2_ClientPerfReport& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientPerfReport* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.entries_){from._impl_.entries_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientPerfReport) -} - -inline void CMsgGCCStrike15_v2_ClientPerfReport::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.entries_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CMsgGCCStrike15_v2_ClientPerfReport::~CMsgGCCStrike15_v2_ClientPerfReport() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientPerfReport) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientPerfReport::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.entries_.~RepeatedPtrField(); -} - -void CMsgGCCStrike15_v2_ClientPerfReport::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientPerfReport::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientPerfReport) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.entries_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientPerfReport::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CMsgGCCStrike15_v2_ClientPerfReport.Entry entries = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_entries(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientPerfReport::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientPerfReport) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CMsgGCCStrike15_v2_ClientPerfReport.Entry entries = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_entries_size()); i < n; i++) { - const auto& repfield = this->_internal_entries(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientPerfReport) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientPerfReport::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientPerfReport) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgGCCStrike15_v2_ClientPerfReport.Entry entries = 1; - total_size += 1UL * this->_internal_entries_size(); - for (const auto& msg : this->_impl_.entries_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientPerfReport::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientPerfReport::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientPerfReport::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientPerfReport::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientPerfReport) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.entries_.MergeFrom(from._impl_.entries_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientPerfReport::CopyFrom(const CMsgGCCStrike15_v2_ClientPerfReport& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientPerfReport) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientPerfReport::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientPerfReport::InternalSwap(CMsgGCCStrike15_v2_ClientPerfReport* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.entries_.InternalSwap(&other->_impl_.entries_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientPerfReport::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[169]); -} - -// =================================================================== - -class CVDiagnostic::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_extended(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_string_value(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CVDiagnostic::CVDiagnostic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CVDiagnostic) -} -CVDiagnostic::CVDiagnostic(const CVDiagnostic& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CVDiagnostic* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.string_value_){} - , decltype(_impl_.id_){} - , decltype(_impl_.extended_){} - , decltype(_impl_.value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.string_value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.string_value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_string_value()) { - _this->_impl_.string_value_.Set(from._internal_string_value(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.id_, &from._impl_.id_, - static_cast(reinterpret_cast(&_impl_.value_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.value_)); - // @@protoc_insertion_point(copy_constructor:CVDiagnostic) -} - -inline void CVDiagnostic::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.string_value_){} - , decltype(_impl_.id_){0u} - , decltype(_impl_.extended_){0u} - , decltype(_impl_.value_){uint64_t{0u}} - }; - _impl_.string_value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.string_value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CVDiagnostic::~CVDiagnostic() { - // @@protoc_insertion_point(destructor:CVDiagnostic) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CVDiagnostic::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.string_value_.Destroy(); -} - -void CVDiagnostic::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CVDiagnostic::Clear() { -// @@protoc_insertion_point(message_clear_start:CVDiagnostic) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.string_value_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.id_, 0, static_cast( - reinterpret_cast(&_impl_.value_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.value_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CVDiagnostic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_id(&has_bits); - _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 extended = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_extended(&has_bits); - _impl_.extended_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 value = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_value(&has_bits); - _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string string_value = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_string_value(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CVDiagnostic.string_value"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CVDiagnostic::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CVDiagnostic) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target); - } - - // optional uint32 extended = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_extended(), target); - } - - // optional uint64 value = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_value(), target); - } - - // optional string string_value = 4; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_string_value().data(), static_cast(this->_internal_string_value().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CVDiagnostic.string_value"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_string_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CVDiagnostic) - return target; -} - -size_t CVDiagnostic::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CVDiagnostic) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string string_value = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_string_value()); - } - - // optional uint32 id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id()); - } - - // optional uint32 extended = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_extended()); - } - - // optional uint64 value = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_value()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CVDiagnostic::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CVDiagnostic::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CVDiagnostic::GetClassData() const { return &_class_data_; } - - -void CVDiagnostic::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CVDiagnostic) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_string_value(from._internal_string_value()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.id_ = from._impl_.id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.extended_ = from._impl_.extended_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.value_ = from._impl_.value_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CVDiagnostic::CopyFrom(const CVDiagnostic& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CVDiagnostic) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CVDiagnostic::IsInitialized() const { - return true; -} - -void CVDiagnostic::InternalSwap(CVDiagnostic* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.string_value_, lhs_arena, - &other->_impl_.string_value_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CVDiagnostic, _impl_.value_) - + sizeof(CVDiagnostic::_impl_.value_) - - PROTOBUF_FIELD_OFFSET(CVDiagnostic, _impl_.id_)>( - reinterpret_cast(&_impl_.id_), - reinterpret_cast(&other->_impl_.id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CVDiagnostic::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[170]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_ClientReportValidation::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_file_report(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_command_line(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_total_files(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_internal_error(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_trust_time(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_count_pending(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_count_completed(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_process_id(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_osversion(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_clientreportversion(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_status_id(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_diagnostic1(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_diagnostic2(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_diagnostic3(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_last_launch_data(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_report_count(HasBits* has_bits) { - (*has_bits)[0] |= 262144u; - } - static void set_has_client_time(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_diagnostic4(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_diagnostic5(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } -}; - -CMsgGCCStrike15_v2_ClientReportValidation::CMsgGCCStrike15_v2_ClientReportValidation(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_ClientReportValidation) -} -CMsgGCCStrike15_v2_ClientReportValidation::CMsgGCCStrike15_v2_ClientReportValidation(const CMsgGCCStrike15_v2_ClientReportValidation& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_ClientReportValidation* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.diagnostics_){from._impl_.diagnostics_} - , decltype(_impl_.file_report_){} - , decltype(_impl_.command_line_){} - , decltype(_impl_.last_launch_data_){} - , decltype(_impl_.total_files_){} - , decltype(_impl_.internal_error_){} - , decltype(_impl_.trust_time_){} - , decltype(_impl_.count_pending_){} - , decltype(_impl_.count_completed_){} - , decltype(_impl_.process_id_){} - , decltype(_impl_.osversion_){} - , decltype(_impl_.clientreportversion_){} - , decltype(_impl_.status_id_){} - , decltype(_impl_.diagnostic1_){} - , decltype(_impl_.diagnostic2_){} - , decltype(_impl_.diagnostic3_){} - , decltype(_impl_.client_time_){} - , decltype(_impl_.diagnostic4_){} - , decltype(_impl_.diagnostic5_){} - , decltype(_impl_.report_count_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.file_report_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.file_report_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_file_report()) { - _this->_impl_.file_report_.Set(from._internal_file_report(), - _this->GetArenaForAllocation()); - } - _impl_.command_line_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.command_line_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_command_line()) { - _this->_impl_.command_line_.Set(from._internal_command_line(), - _this->GetArenaForAllocation()); - } - _impl_.last_launch_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.last_launch_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_last_launch_data()) { - _this->_impl_.last_launch_data_.Set(from._internal_last_launch_data(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.total_files_, &from._impl_.total_files_, - static_cast(reinterpret_cast(&_impl_.report_count_) - - reinterpret_cast(&_impl_.total_files_)) + sizeof(_impl_.report_count_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_ClientReportValidation) -} - -inline void CMsgGCCStrike15_v2_ClientReportValidation::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.diagnostics_){arena} - , decltype(_impl_.file_report_){} - , decltype(_impl_.command_line_){} - , decltype(_impl_.last_launch_data_){} - , decltype(_impl_.total_files_){0u} - , decltype(_impl_.internal_error_){0u} - , decltype(_impl_.trust_time_){0u} - , decltype(_impl_.count_pending_){0u} - , decltype(_impl_.count_completed_){0u} - , decltype(_impl_.process_id_){0u} - , decltype(_impl_.osversion_){0} - , decltype(_impl_.clientreportversion_){0u} - , decltype(_impl_.status_id_){0u} - , decltype(_impl_.diagnostic1_){0u} - , decltype(_impl_.diagnostic2_){uint64_t{0u}} - , decltype(_impl_.diagnostic3_){uint64_t{0u}} - , decltype(_impl_.client_time_){uint64_t{0u}} - , decltype(_impl_.diagnostic4_){uint64_t{0u}} - , decltype(_impl_.diagnostic5_){uint64_t{0u}} - , decltype(_impl_.report_count_){0u} - }; - _impl_.file_report_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.file_report_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.command_line_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.command_line_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.last_launch_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.last_launch_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_ClientReportValidation::~CMsgGCCStrike15_v2_ClientReportValidation() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_ClientReportValidation) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_ClientReportValidation::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.diagnostics_.~RepeatedPtrField(); - _impl_.file_report_.Destroy(); - _impl_.command_line_.Destroy(); - _impl_.last_launch_data_.Destroy(); -} - -void CMsgGCCStrike15_v2_ClientReportValidation::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_ClientReportValidation::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_ClientReportValidation) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.diagnostics_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.file_report_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.command_line_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.last_launch_data_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000f8u) { - ::memset(&_impl_.total_files_, 0, static_cast( - reinterpret_cast(&_impl_.count_completed_) - - reinterpret_cast(&_impl_.total_files_)) + sizeof(_impl_.count_completed_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.process_id_, 0, static_cast( - reinterpret_cast(&_impl_.client_time_) - - reinterpret_cast(&_impl_.process_id_)) + sizeof(_impl_.client_time_)); - } - if (cached_has_bits & 0x00070000u) { - ::memset(&_impl_.diagnostic4_, 0, static_cast( - reinterpret_cast(&_impl_.report_count_) - - reinterpret_cast(&_impl_.diagnostic4_)) + sizeof(_impl_.report_count_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_ClientReportValidation::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string file_report = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_file_report(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientReportValidation.file_report"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string command_line = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_command_line(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientReportValidation.command_line"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 total_files = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_total_files(&has_bits); - _impl_.total_files_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 internal_error = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_internal_error(&has_bits); - _impl_.internal_error_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 trust_time = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_trust_time(&has_bits); - _impl_.trust_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 count_pending = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_count_pending(&has_bits); - _impl_.count_pending_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 count_completed = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_count_completed(&has_bits); - _impl_.count_completed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 process_id = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_process_id(&has_bits); - _impl_.process_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 osversion = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_osversion(&has_bits); - _impl_.osversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 clientreportversion = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_clientreportversion(&has_bits); - _impl_.clientreportversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 status_id = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_status_id(&has_bits); - _impl_.status_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 diagnostic1 = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_diagnostic1(&has_bits); - _impl_.diagnostic1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 diagnostic2 = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_diagnostic2(&has_bits); - _impl_.diagnostic2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 diagnostic3 = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_diagnostic3(&has_bits); - _impl_.diagnostic3_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string last_launch_data = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - auto str = _internal_mutable_last_launch_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_ClientReportValidation.last_launch_data"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 report_count = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_report_count(&has_bits); - _impl_.report_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 client_time = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_client_time(&has_bits); - _impl_.client_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 diagnostic4 = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_diagnostic4(&has_bits); - _impl_.diagnostic4_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 diagnostic5 = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_diagnostic5(&has_bits); - _impl_.diagnostic5_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CVDiagnostic diagnostics = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(_internal_add_diagnostics(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<162>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_ClientReportValidation::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_ClientReportValidation) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string file_report = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_file_report().data(), static_cast(this->_internal_file_report().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_ClientReportValidation.file_report"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_file_report(), target); - } - - // optional string command_line = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_command_line().data(), static_cast(this->_internal_command_line().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_ClientReportValidation.command_line"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_command_line(), target); - } - - // optional uint32 total_files = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_total_files(), target); - } - - // optional uint32 internal_error = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_internal_error(), target); - } - - // optional uint32 trust_time = 5; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_trust_time(), target); - } - - // optional uint32 count_pending = 6; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_count_pending(), target); - } - - // optional uint32 count_completed = 7; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_count_completed(), target); - } - - // optional uint32 process_id = 8; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_process_id(), target); - } - - // optional int32 osversion = 9; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_osversion(), target); - } - - // optional uint32 clientreportversion = 10; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_clientreportversion(), target); - } - - // optional uint32 status_id = 11; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_status_id(), target); - } - - // optional uint32 diagnostic1 = 12; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_diagnostic1(), target); - } - - // optional uint64 diagnostic2 = 13; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(13, this->_internal_diagnostic2(), target); - } - - // optional uint64 diagnostic3 = 14; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(14, this->_internal_diagnostic3(), target); - } - - // optional string last_launch_data = 15; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_last_launch_data().data(), static_cast(this->_internal_last_launch_data().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_ClientReportValidation.last_launch_data"); - target = stream->WriteStringMaybeAliased( - 15, this->_internal_last_launch_data(), target); - } - - // optional uint32 report_count = 16; - if (cached_has_bits & 0x00040000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_report_count(), target); - } - - // optional uint64 client_time = 17; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(17, this->_internal_client_time(), target); - } - - // optional uint64 diagnostic4 = 18; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(18, this->_internal_diagnostic4(), target); - } - - // optional uint64 diagnostic5 = 19; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(19, this->_internal_diagnostic5(), target); - } - - // repeated .CVDiagnostic diagnostics = 20; - for (unsigned i = 0, - n = static_cast(this->_internal_diagnostics_size()); i < n; i++) { - const auto& repfield = this->_internal_diagnostics(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(20, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_ClientReportValidation) - return target; -} - -size_t CMsgGCCStrike15_v2_ClientReportValidation::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_ClientReportValidation) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CVDiagnostic diagnostics = 20; - total_size += 2UL * this->_internal_diagnostics_size(); - for (const auto& msg : this->_impl_.diagnostics_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string file_report = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_file_report()); - } - - // optional string command_line = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_command_line()); - } - - // optional string last_launch_data = 15; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_last_launch_data()); - } - - // optional uint32 total_files = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_total_files()); - } - - // optional uint32 internal_error = 4; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_internal_error()); - } - - // optional uint32 trust_time = 5; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_trust_time()); - } - - // optional uint32 count_pending = 6; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_count_pending()); - } - - // optional uint32 count_completed = 7; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_count_completed()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional uint32 process_id = 8; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_process_id()); - } - - // optional int32 osversion = 9; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_osversion()); - } - - // optional uint32 clientreportversion = 10; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_clientreportversion()); - } - - // optional uint32 status_id = 11; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_status_id()); - } - - // optional uint32 diagnostic1 = 12; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_diagnostic1()); - } - - // optional uint64 diagnostic2 = 13; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_diagnostic2()); - } - - // optional uint64 diagnostic3 = 14; - if (cached_has_bits & 0x00004000u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_diagnostic3()); - } - - // optional uint64 client_time = 17; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt64Size( - this->_internal_client_time()); - } - - } - if (cached_has_bits & 0x00070000u) { - // optional uint64 diagnostic4 = 18; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt64Size( - this->_internal_diagnostic4()); - } - - // optional uint64 diagnostic5 = 19; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt64Size( - this->_internal_diagnostic5()); - } - - // optional uint32 report_count = 16; - if (cached_has_bits & 0x00040000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_report_count()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_ClientReportValidation::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_ClientReportValidation::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_ClientReportValidation::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_ClientReportValidation::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_ClientReportValidation) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.diagnostics_.MergeFrom(from._impl_.diagnostics_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_file_report(from._internal_file_report()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_command_line(from._internal_command_line()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_last_launch_data(from._internal_last_launch_data()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.total_files_ = from._impl_.total_files_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.internal_error_ = from._impl_.internal_error_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.trust_time_ = from._impl_.trust_time_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.count_pending_ = from._impl_.count_pending_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.count_completed_ = from._impl_.count_completed_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.process_id_ = from._impl_.process_id_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.osversion_ = from._impl_.osversion_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.clientreportversion_ = from._impl_.clientreportversion_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.status_id_ = from._impl_.status_id_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.diagnostic1_ = from._impl_.diagnostic1_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.diagnostic2_ = from._impl_.diagnostic2_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.diagnostic3_ = from._impl_.diagnostic3_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.client_time_ = from._impl_.client_time_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00070000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.diagnostic4_ = from._impl_.diagnostic4_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.diagnostic5_ = from._impl_.diagnostic5_; - } - if (cached_has_bits & 0x00040000u) { - _this->_impl_.report_count_ = from._impl_.report_count_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_ClientReportValidation::CopyFrom(const CMsgGCCStrike15_v2_ClientReportValidation& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_ClientReportValidation) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_ClientReportValidation::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_ClientReportValidation::InternalSwap(CMsgGCCStrike15_v2_ClientReportValidation* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.diagnostics_.InternalSwap(&other->_impl_.diagnostics_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.file_report_, lhs_arena, - &other->_impl_.file_report_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.command_line_, lhs_arena, - &other->_impl_.command_line_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.last_launch_data_, lhs_arena, - &other->_impl_.last_launch_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientReportValidation, _impl_.report_count_) - + sizeof(CMsgGCCStrike15_v2_ClientReportValidation::_impl_.report_count_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_ClientReportValidation, _impl_.total_files_)>( - reinterpret_cast(&_impl_.total_files_), - reinterpret_cast(&other->_impl_.total_files_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_ClientReportValidation::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[171]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_file_report(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_offer_insecure_mode(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_offer_secure_mode(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_show_unsigned_ui(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_kick_user(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_show_trusted_ui(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_show_warning_not_trusted(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_show_warning_not_trusted_2(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_files_prevented_trusted(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) -} -CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode(const CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.file_report_){} - , decltype(_impl_.files_prevented_trusted_){} - , decltype(_impl_.offer_insecure_mode_){} - , decltype(_impl_.offer_secure_mode_){} - , decltype(_impl_.show_unsigned_ui_){} - , decltype(_impl_.kick_user_){} - , decltype(_impl_.show_trusted_ui_){} - , decltype(_impl_.show_warning_not_trusted_){} - , decltype(_impl_.show_warning_not_trusted_2_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.file_report_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.file_report_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_file_report()) { - _this->_impl_.file_report_.Set(from._internal_file_report(), - _this->GetArenaForAllocation()); - } - _impl_.files_prevented_trusted_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.files_prevented_trusted_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_files_prevented_trusted()) { - _this->_impl_.files_prevented_trusted_.Set(from._internal_files_prevented_trusted(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.offer_insecure_mode_, &from._impl_.offer_insecure_mode_, - static_cast(reinterpret_cast(&_impl_.show_warning_not_trusted_2_) - - reinterpret_cast(&_impl_.offer_insecure_mode_)) + sizeof(_impl_.show_warning_not_trusted_2_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) -} - -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.file_report_){} - , decltype(_impl_.files_prevented_trusted_){} - , decltype(_impl_.offer_insecure_mode_){false} - , decltype(_impl_.offer_secure_mode_){false} - , decltype(_impl_.show_unsigned_ui_){false} - , decltype(_impl_.kick_user_){false} - , decltype(_impl_.show_trusted_ui_){false} - , decltype(_impl_.show_warning_not_trusted_){false} - , decltype(_impl_.show_warning_not_trusted_2_){false} - }; - _impl_.file_report_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.file_report_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.files_prevented_trusted_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.files_prevented_trusted_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::~CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.file_report_.Destroy(); - _impl_.files_prevented_trusted_.Destroy(); -} - -void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.file_report_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.files_prevented_trusted_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000fcu) { - ::memset(&_impl_.offer_insecure_mode_, 0, static_cast( - reinterpret_cast(&_impl_.show_warning_not_trusted_) - - reinterpret_cast(&_impl_.offer_insecure_mode_)) + sizeof(_impl_.show_warning_not_trusted_)); - } - _impl_.show_warning_not_trusted_2_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string file_report = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_file_report(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.file_report"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool offer_insecure_mode = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_offer_insecure_mode(&has_bits); - _impl_.offer_insecure_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool offer_secure_mode = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_offer_secure_mode(&has_bits); - _impl_.offer_secure_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool show_unsigned_ui = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_show_unsigned_ui(&has_bits); - _impl_.show_unsigned_ui_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool kick_user = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_kick_user(&has_bits); - _impl_.kick_user_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool show_trusted_ui = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_show_trusted_ui(&has_bits); - _impl_.show_trusted_ui_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool show_warning_not_trusted = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_show_warning_not_trusted(&has_bits); - _impl_.show_warning_not_trusted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool show_warning_not_trusted_2 = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_show_warning_not_trusted_2(&has_bits); - _impl_.show_warning_not_trusted_2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string files_prevented_trusted = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_files_prevented_trusted(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.files_prevented_trusted"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string file_report = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_file_report().data(), static_cast(this->_internal_file_report().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.file_report"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_file_report(), target); - } - - // optional bool offer_insecure_mode = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_offer_insecure_mode(), target); - } - - // optional bool offer_secure_mode = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_offer_secure_mode(), target); - } - - // optional bool show_unsigned_ui = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_show_unsigned_ui(), target); - } - - // optional bool kick_user = 5; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_kick_user(), target); - } - - // optional bool show_trusted_ui = 6; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_show_trusted_ui(), target); - } - - // optional bool show_warning_not_trusted = 7; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_show_warning_not_trusted(), target); - } - - // optional bool show_warning_not_trusted_2 = 8; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_show_warning_not_trusted_2(), target); - } - - // optional string files_prevented_trusted = 9; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_files_prevented_trusted().data(), static_cast(this->_internal_files_prevented_trusted().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.files_prevented_trusted"); - target = stream->WriteStringMaybeAliased( - 9, this->_internal_files_prevented_trusted(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) - return target; -} - -size_t CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string file_report = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_file_report()); - } - - // optional string files_prevented_trusted = 9; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_files_prevented_trusted()); - } - - // optional bool offer_insecure_mode = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional bool offer_secure_mode = 3; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - // optional bool show_unsigned_ui = 4; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 1; - } - - // optional bool kick_user = 5; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 1; - } - - // optional bool show_trusted_ui = 6; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 1; - } - - // optional bool show_warning_not_trusted = 7; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 1; - } - - } - // optional bool show_warning_not_trusted_2 = 8; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_file_report(from._internal_file_report()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_files_prevented_trusted(from._internal_files_prevented_trusted()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.offer_insecure_mode_ = from._impl_.offer_insecure_mode_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.offer_secure_mode_ = from._impl_.offer_secure_mode_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.show_unsigned_ui_ = from._impl_.show_unsigned_ui_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.kick_user_ = from._impl_.kick_user_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.show_trusted_ui_ = from._impl_.show_trusted_ui_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.show_warning_not_trusted_ = from._impl_.show_warning_not_trusted_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_show_warning_not_trusted_2(from._internal_show_warning_not_trusted_2()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::CopyFrom(const CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::InternalSwap(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.file_report_, lhs_arena, - &other->_impl_.file_report_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.files_prevented_trusted_, lhs_arena, - &other->_impl_.files_prevented_trusted_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.show_warning_not_trusted_2_) - + sizeof(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_impl_.show_warning_not_trusted_2_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode, _impl_.offer_insecure_mode_)>( - reinterpret_cast(&_impl_.offer_insecure_mode_), - reinterpret_cast(&other->_impl_.offer_insecure_mode_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[172]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_GC2ClientRequestValidation::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_full_report(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_module(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_GC2ClientRequestValidation::CMsgGCCStrike15_v2_GC2ClientRequestValidation(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_GC2ClientRequestValidation) -} -CMsgGCCStrike15_v2_GC2ClientRequestValidation::CMsgGCCStrike15_v2_GC2ClientRequestValidation(const CMsgGCCStrike15_v2_GC2ClientRequestValidation& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_GC2ClientRequestValidation* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.module_){} - , decltype(_impl_.full_report_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.module_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.module_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_module()) { - _this->_impl_.module_.Set(from._internal_module(), - _this->GetArenaForAllocation()); - } - _this->_impl_.full_report_ = from._impl_.full_report_; - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GC2ClientRequestValidation) -} - -inline void CMsgGCCStrike15_v2_GC2ClientRequestValidation::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.module_){} - , decltype(_impl_.full_report_){false} - }; - _impl_.module_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.module_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_GC2ClientRequestValidation::~CMsgGCCStrike15_v2_GC2ClientRequestValidation() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GC2ClientRequestValidation) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_GC2ClientRequestValidation::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.module_.Destroy(); -} - -void CMsgGCCStrike15_v2_GC2ClientRequestValidation::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_GC2ClientRequestValidation::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GC2ClientRequestValidation) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.module_.ClearNonDefaultToEmpty(); - } - _impl_.full_report_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_GC2ClientRequestValidation::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool full_report = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_full_report(&has_bits); - _impl_.full_report_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string module = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_module(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GC2ClientRequestValidation.module"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_GC2ClientRequestValidation::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GC2ClientRequestValidation) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool full_report = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_full_report(), target); - } - - // optional string module = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_module().data(), static_cast(this->_internal_module().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_GC2ClientRequestValidation.module"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_module(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_GC2ClientRequestValidation) - return target; -} - -size_t CMsgGCCStrike15_v2_GC2ClientRequestValidation::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GC2ClientRequestValidation) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string module = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_module()); - } - - // optional bool full_report = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GC2ClientRequestValidation::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_GC2ClientRequestValidation::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GC2ClientRequestValidation::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_GC2ClientRequestValidation::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_GC2ClientRequestValidation) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_module(from._internal_module()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.full_report_ = from._impl_.full_report_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_GC2ClientRequestValidation::CopyFrom(const CMsgGCCStrike15_v2_GC2ClientRequestValidation& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GC2ClientRequestValidation) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_GC2ClientRequestValidation::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_GC2ClientRequestValidation::InternalSwap(CMsgGCCStrike15_v2_GC2ClientRequestValidation* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.module_, lhs_arena, - &other->_impl_.module_, rhs_arena - ); - swap(_impl_.full_report_, other->_impl_.full_report_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GC2ClientRequestValidation::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[173]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_GC2ClientInitSystem::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_load(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_outputname(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_key_data(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_sha_hash(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_cookie(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_manifest(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_system_package(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_load_system(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } -}; - -CMsgGCCStrike15_v2_GC2ClientInitSystem::CMsgGCCStrike15_v2_GC2ClientInitSystem(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_GC2ClientInitSystem) -} -CMsgGCCStrike15_v2_GC2ClientInitSystem::CMsgGCCStrike15_v2_GC2ClientInitSystem(const CMsgGCCStrike15_v2_GC2ClientInitSystem& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_GC2ClientInitSystem* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.outputname_){} - , decltype(_impl_.key_data_){} - , decltype(_impl_.sha_hash_){} - , decltype(_impl_.manifest_){} - , decltype(_impl_.system_package_){} - , decltype(_impl_.load_){} - , decltype(_impl_.load_system_){} - , decltype(_impl_.cookie_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.outputname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.outputname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_outputname()) { - _this->_impl_.outputname_.Set(from._internal_outputname(), - _this->GetArenaForAllocation()); - } - _impl_.key_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.key_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_key_data()) { - _this->_impl_.key_data_.Set(from._internal_key_data(), - _this->GetArenaForAllocation()); - } - _impl_.sha_hash_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sha_hash_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_sha_hash()) { - _this->_impl_.sha_hash_.Set(from._internal_sha_hash(), - _this->GetArenaForAllocation()); - } - _impl_.manifest_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.manifest_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_manifest()) { - _this->_impl_.manifest_.Set(from._internal_manifest(), - _this->GetArenaForAllocation()); - } - _impl_.system_package_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.system_package_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_system_package()) { - _this->_impl_.system_package_.Set(from._internal_system_package(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.load_, &from._impl_.load_, - static_cast(reinterpret_cast(&_impl_.cookie_) - - reinterpret_cast(&_impl_.load_)) + sizeof(_impl_.cookie_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GC2ClientInitSystem) -} - -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.outputname_){} - , decltype(_impl_.key_data_){} - , decltype(_impl_.sha_hash_){} - , decltype(_impl_.manifest_){} - , decltype(_impl_.system_package_){} - , decltype(_impl_.load_){false} - , decltype(_impl_.load_system_){false} - , decltype(_impl_.cookie_){0} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.outputname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.outputname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.key_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.key_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sha_hash_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sha_hash_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.manifest_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.manifest_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.system_package_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.system_package_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_GC2ClientInitSystem::~CMsgGCCStrike15_v2_GC2ClientInitSystem() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GC2ClientInitSystem) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); - _impl_.outputname_.Destroy(); - _impl_.key_data_.Destroy(); - _impl_.sha_hash_.Destroy(); - _impl_.manifest_.Destroy(); - _impl_.system_package_.Destroy(); -} - -void CMsgGCCStrike15_v2_GC2ClientInitSystem::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_GC2ClientInitSystem::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GC2ClientInitSystem) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.outputname_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.key_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.sha_hash_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000010u) { - _impl_.manifest_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000020u) { - _impl_.system_package_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000c0u) { - ::memset(&_impl_.load_, 0, static_cast( - reinterpret_cast(&_impl_.load_system_) - - reinterpret_cast(&_impl_.load_)) + sizeof(_impl_.load_system_)); - } - _impl_.cookie_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_GC2ClientInitSystem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool load = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_load(&has_bits); - _impl_.load_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GC2ClientInitSystem.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string outputname = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_outputname(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GC2ClientInitSystem.outputname"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bytes key_data = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_key_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes sha_hash = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_sha_hash(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 cookie = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_cookie(&has_bits); - _impl_.cookie_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string manifest = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_manifest(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GC2ClientInitSystem.manifest"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bytes system_package = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_system_package(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool load_system = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_load_system(&has_bits); - _impl_.load_system_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_GC2ClientInitSystem::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GC2ClientInitSystem) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool load = 1; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_load(), target); - } - - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_GC2ClientInitSystem.name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_name(), target); - } - - // optional string outputname = 3; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_outputname().data(), static_cast(this->_internal_outputname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_GC2ClientInitSystem.outputname"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_outputname(), target); - } - - // optional bytes key_data = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->WriteBytesMaybeAliased( - 4, this->_internal_key_data(), target); - } - - // optional bytes sha_hash = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->WriteBytesMaybeAliased( - 5, this->_internal_sha_hash(), target); - } - - // optional int32 cookie = 6; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_cookie(), target); - } - - // optional string manifest = 7; - if (cached_has_bits & 0x00000010u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_manifest().data(), static_cast(this->_internal_manifest().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_GC2ClientInitSystem.manifest"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_manifest(), target); - } - - // optional bytes system_package = 8; - if (cached_has_bits & 0x00000020u) { - target = stream->WriteBytesMaybeAliased( - 8, this->_internal_system_package(), target); - } - - // optional bool load_system = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_load_system(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_GC2ClientInitSystem) - return target; -} - -size_t CMsgGCCStrike15_v2_GC2ClientInitSystem::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GC2ClientInitSystem) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional string outputname = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_outputname()); - } - - // optional bytes key_data = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_key_data()); - } - - // optional bytes sha_hash = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_sha_hash()); - } - - // optional string manifest = 7; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_manifest()); - } - - // optional bytes system_package = 8; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_system_package()); - } - - // optional bool load = 1; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 1; - } - - // optional bool load_system = 9; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 1; - } - - } - // optional int32 cookie = 6; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_cookie()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GC2ClientInitSystem::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_GC2ClientInitSystem::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GC2ClientInitSystem::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_GC2ClientInitSystem::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_GC2ClientInitSystem) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_outputname(from._internal_outputname()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_key_data(from._internal_key_data()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_sha_hash(from._internal_sha_hash()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_set_manifest(from._internal_manifest()); - } - if (cached_has_bits & 0x00000020u) { - _this->_internal_set_system_package(from._internal_system_package()); - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.load_ = from._impl_.load_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.load_system_ = from._impl_.load_system_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_cookie(from._internal_cookie()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_GC2ClientInitSystem::CopyFrom(const CMsgGCCStrike15_v2_GC2ClientInitSystem& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GC2ClientInitSystem) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_GC2ClientInitSystem::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_GC2ClientInitSystem::InternalSwap(CMsgGCCStrike15_v2_GC2ClientInitSystem* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.outputname_, lhs_arena, - &other->_impl_.outputname_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.key_data_, lhs_arena, - &other->_impl_.key_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.sha_hash_, lhs_arena, - &other->_impl_.sha_hash_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.manifest_, lhs_arena, - &other->_impl_.manifest_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.system_package_, lhs_arena, - &other->_impl_.system_package_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.cookie_) - + sizeof(CMsgGCCStrike15_v2_GC2ClientInitSystem::_impl_.cookie_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientInitSystem, _impl_.load_)>( - reinterpret_cast(&_impl_.load_), - reinterpret_cast(&other->_impl_.load_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GC2ClientInitSystem::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[174]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_success(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_diagnostic(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_sha_hash(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_response(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_error_code1(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_error_code2(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_handle(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_einit_result(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_aux_system1(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_aux_system2(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } -}; - -CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) -} -CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response(const CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_GC2ClientInitSystem_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.diagnostic_){} - , decltype(_impl_.sha_hash_){} - , decltype(_impl_.success_){} - , decltype(_impl_.response_){} - , decltype(_impl_.error_code1_){} - , decltype(_impl_.error_code2_){} - , decltype(_impl_.handle_){} - , decltype(_impl_.einit_result_){} - , decltype(_impl_.aux_system1_){} - , decltype(_impl_.aux_system2_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.diagnostic_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.diagnostic_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_diagnostic()) { - _this->_impl_.diagnostic_.Set(from._internal_diagnostic(), - _this->GetArenaForAllocation()); - } - _impl_.sha_hash_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sha_hash_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_sha_hash()) { - _this->_impl_.sha_hash_.Set(from._internal_sha_hash(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.success_, &from._impl_.success_, - static_cast(reinterpret_cast(&_impl_.aux_system2_) - - reinterpret_cast(&_impl_.success_)) + sizeof(_impl_.aux_system2_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) -} - -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.diagnostic_){} - , decltype(_impl_.sha_hash_){} - , decltype(_impl_.success_){false} - , decltype(_impl_.response_){0} - , decltype(_impl_.error_code1_){0} - , decltype(_impl_.error_code2_){0} - , decltype(_impl_.handle_){int64_t{0}} - , decltype(_impl_.einit_result_){0} - , decltype(_impl_.aux_system1_){0} - , decltype(_impl_.aux_system2_){0} - }; - _impl_.diagnostic_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.diagnostic_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sha_hash_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sha_hash_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::~CMsgGCCStrike15_v2_GC2ClientInitSystem_Response() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.diagnostic_.Destroy(); - _impl_.sha_hash_.Destroy(); -} - -void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.diagnostic_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.sha_hash_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000fcu) { - ::memset(&_impl_.success_, 0, static_cast( - reinterpret_cast(&_impl_.einit_result_) - - reinterpret_cast(&_impl_.success_)) + sizeof(_impl_.einit_result_)); - } - if (cached_has_bits & 0x00000300u) { - ::memset(&_impl_.aux_system1_, 0, static_cast( - reinterpret_cast(&_impl_.aux_system2_) - - reinterpret_cast(&_impl_.aux_system1_)) + sizeof(_impl_.aux_system2_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool success = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_success(&has_bits); - _impl_.success_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string diagnostic = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_diagnostic(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.diagnostic"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bytes sha_hash = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_sha_hash(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 response = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_response(&has_bits); - _impl_.response_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 error_code1 = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_error_code1(&has_bits); - _impl_.error_code1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 error_code2 = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_error_code2(&has_bits); - _impl_.error_code2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 handle = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_handle(&has_bits); - _impl_.handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .EInitSystemResult einit_result = 8 [default = k_EInitSystemResult_Invalid]; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::EInitSystemResult_IsValid(val))) { - _internal_set_einit_result(static_cast<::EInitSystemResult>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(8, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional int32 aux_system1 = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_aux_system1(&has_bits); - _impl_.aux_system1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 aux_system2 = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_aux_system2(&has_bits); - _impl_.aux_system2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool success = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_success(), target); - } - - // optional string diagnostic = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_diagnostic().data(), static_cast(this->_internal_diagnostic().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.diagnostic"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_diagnostic(), target); - } - - // optional bytes sha_hash = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 3, this->_internal_sha_hash(), target); - } - - // optional int32 response = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_response(), target); - } - - // optional int32 error_code1 = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_error_code1(), target); - } - - // optional int32 error_code2 = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_error_code2(), target); - } - - // optional int64 handle = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(7, this->_internal_handle(), target); - } - - // optional .EInitSystemResult einit_result = 8 [default = k_EInitSystemResult_Invalid]; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 8, this->_internal_einit_result(), target); - } - - // optional int32 aux_system1 = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_aux_system1(), target); - } - - // optional int32 aux_system2 = 10; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_aux_system2(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) - return target; -} - -size_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string diagnostic = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_diagnostic()); - } - - // optional bytes sha_hash = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_sha_hash()); - } - - // optional bool success = 1; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional int32 response = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_response()); - } - - // optional int32 error_code1 = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_error_code1()); - } - - // optional int32 error_code2 = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_error_code2()); - } - - // optional int64 handle = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_handle()); - } - - // optional .EInitSystemResult einit_result = 8 [default = k_EInitSystemResult_Invalid]; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_einit_result()); - } - - } - if (cached_has_bits & 0x00000300u) { - // optional int32 aux_system1 = 9; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_aux_system1()); - } - - // optional int32 aux_system2 = 10; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_aux_system2()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_diagnostic(from._internal_diagnostic()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_sha_hash(from._internal_sha_hash()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.success_ = from._impl_.success_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.response_ = from._impl_.response_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.error_code1_ = from._impl_.error_code1_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.error_code2_ = from._impl_.error_code2_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.handle_ = from._impl_.handle_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.einit_result_ = from._impl_.einit_result_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000300u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.aux_system1_ = from._impl_.aux_system1_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.aux_system2_ = from._impl_.aux_system2_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::CopyFrom(const CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::InternalSwap(CMsgGCCStrike15_v2_GC2ClientInitSystem_Response* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.diagnostic_, lhs_arena, - &other->_impl_.diagnostic_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.sha_hash_, lhs_arena, - &other->_impl_.sha_hash_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.aux_system2_) - + sizeof(CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_impl_.aux_system2_) - - PROTOBUF_FIELD_OFFSET(CMsgGCCStrike15_v2_GC2ClientInitSystem_Response, _impl_.success_)>( - reinterpret_cast(&_impl_.success_), - reinterpret_cast(&other->_impl_.success_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[175]); -} - -// =================================================================== - -class CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_leaderboard_safe_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) -} -CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName(const CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.leaderboard_safe_name_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.leaderboard_safe_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.leaderboard_safe_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_leaderboard_safe_name()) { - _this->_impl_.leaderboard_safe_name_.Set(from._internal_leaderboard_safe_name(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) -} - -inline void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.leaderboard_safe_name_){} - }; - _impl_.leaderboard_safe_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.leaderboard_safe_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::~CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName() { - // @@protoc_insertion_point(destructor:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.leaderboard_safe_name_.Destroy(); -} - -void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.leaderboard_safe_name_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string leaderboard_safe_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_leaderboard_safe_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName.leaderboard_safe_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string leaderboard_safe_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_leaderboard_safe_name().data(), static_cast(this->_internal_leaderboard_safe_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName.leaderboard_safe_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_leaderboard_safe_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) - return target; -} - -size_t CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string leaderboard_safe_name = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_leaderboard_safe_name()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::GetClassData() const { return &_class_data_; } - - -void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_leaderboard_safe_name()) { - _this->_internal_set_leaderboard_safe_name(from._internal_leaderboard_safe_name()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::CopyFrom(const CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::IsInitialized() const { - return true; -} - -void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::InternalSwap(CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.leaderboard_safe_name_, lhs_arena, - &other->_impl_.leaderboard_safe_name_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[176]); -} - -// =================================================================== - -class CMsgRequestRecurringMissionSchedule::_Internal { - public: -}; - -CMsgRequestRecurringMissionSchedule::CMsgRequestRecurringMissionSchedule(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CMsgRequestRecurringMissionSchedule) -} -CMsgRequestRecurringMissionSchedule::CMsgRequestRecurringMissionSchedule(const CMsgRequestRecurringMissionSchedule& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CMsgRequestRecurringMissionSchedule* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgRequestRecurringMissionSchedule) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgRequestRecurringMissionSchedule::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgRequestRecurringMissionSchedule::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgRequestRecurringMissionSchedule::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[177]); -} - -// =================================================================== - -class CMsgRecurringMissionSchema_MissionTemplateList::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_period(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgRecurringMissionSchema_MissionTemplateList::CMsgRecurringMissionSchema_MissionTemplateList(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgRecurringMissionSchema.MissionTemplateList) -} -CMsgRecurringMissionSchema_MissionTemplateList::CMsgRecurringMissionSchema_MissionTemplateList(const CMsgRecurringMissionSchema_MissionTemplateList& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgRecurringMissionSchema_MissionTemplateList* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mission_templates_){from._impl_.mission_templates_} - , decltype(_impl_.period_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.period_ = from._impl_.period_; - // @@protoc_insertion_point(copy_constructor:CMsgRecurringMissionSchema.MissionTemplateList) -} - -inline void CMsgRecurringMissionSchema_MissionTemplateList::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mission_templates_){arena} - , decltype(_impl_.period_){0u} - }; -} - -CMsgRecurringMissionSchema_MissionTemplateList::~CMsgRecurringMissionSchema_MissionTemplateList() { - // @@protoc_insertion_point(destructor:CMsgRecurringMissionSchema.MissionTemplateList) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgRecurringMissionSchema_MissionTemplateList::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.mission_templates_.~RepeatedPtrField(); -} - -void CMsgRecurringMissionSchema_MissionTemplateList::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgRecurringMissionSchema_MissionTemplateList::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgRecurringMissionSchema.MissionTemplateList) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.mission_templates_.Clear(); - _impl_.period_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgRecurringMissionSchema_MissionTemplateList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 period = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_period(&has_bits); - _impl_.period_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated bytes mission_templates = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_mission_templates(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgRecurringMissionSchema_MissionTemplateList::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgRecurringMissionSchema.MissionTemplateList) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 period = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_period(), target); - } - - // repeated bytes mission_templates = 2; - for (int i = 0, n = this->_internal_mission_templates_size(); i < n; i++) { - const auto& s = this->_internal_mission_templates(i); - target = stream->WriteBytes(2, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgRecurringMissionSchema.MissionTemplateList) - return target; -} - -size_t CMsgRecurringMissionSchema_MissionTemplateList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgRecurringMissionSchema.MissionTemplateList) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated bytes mission_templates = 2; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.mission_templates_.size()); - for (int i = 0, n = _impl_.mission_templates_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - _impl_.mission_templates_.Get(i)); - } - - // optional uint32 period = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_period()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgRecurringMissionSchema_MissionTemplateList::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgRecurringMissionSchema_MissionTemplateList::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgRecurringMissionSchema_MissionTemplateList::GetClassData() const { return &_class_data_; } - - -void CMsgRecurringMissionSchema_MissionTemplateList::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgRecurringMissionSchema.MissionTemplateList) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.mission_templates_.MergeFrom(from._impl_.mission_templates_); - if (from._internal_has_period()) { - _this->_internal_set_period(from._internal_period()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgRecurringMissionSchema_MissionTemplateList::CopyFrom(const CMsgRecurringMissionSchema_MissionTemplateList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgRecurringMissionSchema.MissionTemplateList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgRecurringMissionSchema_MissionTemplateList::IsInitialized() const { - return true; -} - -void CMsgRecurringMissionSchema_MissionTemplateList::InternalSwap(CMsgRecurringMissionSchema_MissionTemplateList* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.mission_templates_.InternalSwap(&other->_impl_.mission_templates_); - swap(_impl_.period_, other->_impl_.period_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgRecurringMissionSchema_MissionTemplateList::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[178]); -} - -// =================================================================== - -class CMsgRecurringMissionSchema::_Internal { - public: -}; - -CMsgRecurringMissionSchema::CMsgRecurringMissionSchema(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgRecurringMissionSchema) -} -CMsgRecurringMissionSchema::CMsgRecurringMissionSchema(const CMsgRecurringMissionSchema& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgRecurringMissionSchema* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.missions_){from._impl_.missions_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgRecurringMissionSchema) -} - -inline void CMsgRecurringMissionSchema::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.missions_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CMsgRecurringMissionSchema::~CMsgRecurringMissionSchema() { - // @@protoc_insertion_point(destructor:CMsgRecurringMissionSchema) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgRecurringMissionSchema::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.missions_.~RepeatedPtrField(); -} - -void CMsgRecurringMissionSchema::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgRecurringMissionSchema::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgRecurringMissionSchema) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.missions_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgRecurringMissionSchema::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CMsgRecurringMissionSchema.MissionTemplateList missions = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_missions(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgRecurringMissionSchema::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgRecurringMissionSchema) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CMsgRecurringMissionSchema.MissionTemplateList missions = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_missions_size()); i < n; i++) { - const auto& repfield = this->_internal_missions(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgRecurringMissionSchema) - return target; -} - -size_t CMsgRecurringMissionSchema::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgRecurringMissionSchema) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgRecurringMissionSchema.MissionTemplateList missions = 1; - total_size += 1UL * this->_internal_missions_size(); - for (const auto& msg : this->_impl_.missions_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgRecurringMissionSchema::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgRecurringMissionSchema::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgRecurringMissionSchema::GetClassData() const { return &_class_data_; } - - -void CMsgRecurringMissionSchema::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgRecurringMissionSchema) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.missions_.MergeFrom(from._impl_.missions_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgRecurringMissionSchema::CopyFrom(const CMsgRecurringMissionSchema& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgRecurringMissionSchema) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgRecurringMissionSchema::IsInitialized() const { - return true; -} - -void CMsgRecurringMissionSchema::InternalSwap(CMsgRecurringMissionSchema* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.missions_.InternalSwap(&other->_impl_.missions_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgRecurringMissionSchema::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fgcmessages_2eproto_getter, &descriptor_table_cstrike15_5fgcmessages_2eproto_once, - file_level_metadata_cstrike15_5fgcmessages_2eproto[179]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::GameServerPing* -Arena::CreateMaybeMessage< ::GameServerPing >(Arena* arena) { - return Arena::CreateMessageInternal< ::GameServerPing >(arena); -} -template<> PROTOBUF_NOINLINE ::DataCenterPing* -Arena::CreateMaybeMessage< ::DataCenterPing >(Arena* arena) { - return Arena::CreateMessageInternal< ::DataCenterPing >(arena); -} -template<> PROTOBUF_NOINLINE ::DetailedSearchStatistic* -Arena::CreateMaybeMessage< ::DetailedSearchStatistic >(Arena* arena) { - return Arena::CreateMessageInternal< ::DetailedSearchStatistic >(arena); -} -template<> PROTOBUF_NOINLINE ::TournamentPlayer* -Arena::CreateMaybeMessage< ::TournamentPlayer >(Arena* arena) { - return Arena::CreateMessageInternal< ::TournamentPlayer >(arena); -} -template<> PROTOBUF_NOINLINE ::TournamentTeam* -Arena::CreateMaybeMessage< ::TournamentTeam >(Arena* arena) { - return Arena::CreateMessageInternal< ::TournamentTeam >(arena); -} -template<> PROTOBUF_NOINLINE ::TournamentEvent* -Arena::CreateMaybeMessage< ::TournamentEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::TournamentEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::GlobalStatistics* -Arena::CreateMaybeMessage< ::GlobalStatistics >(Arena* arena) { - return Arena::CreateMessageInternal< ::GlobalStatistics >(arena); -} -template<> PROTOBUF_NOINLINE ::OperationalStatisticDescription* -Arena::CreateMaybeMessage< ::OperationalStatisticDescription >(Arena* arena) { - return Arena::CreateMessageInternal< ::OperationalStatisticDescription >(arena); -} -template<> PROTOBUF_NOINLINE ::OperationalStatisticElement* -Arena::CreateMaybeMessage< ::OperationalStatisticElement >(Arena* arena) { - return Arena::CreateMessageInternal< ::OperationalStatisticElement >(arena); -} -template<> PROTOBUF_NOINLINE ::OperationalStatisticsPacket* -Arena::CreateMaybeMessage< ::OperationalStatisticsPacket >(Arena* arena) { - return Arena::CreateMessageInternal< ::OperationalStatisticsPacket >(arena); -} -template<> PROTOBUF_NOINLINE ::OperationalVarValue* -Arena::CreateMaybeMessage< ::OperationalVarValue >(Arena* arena) { - return Arena::CreateMessageInternal< ::OperationalVarValue >(arena); -} -template<> PROTOBUF_NOINLINE ::PlayerRankingInfo_PerMapRank* -Arena::CreateMaybeMessage< ::PlayerRankingInfo_PerMapRank >(Arena* arena) { - return Arena::CreateMessageInternal< ::PlayerRankingInfo_PerMapRank >(arena); -} -template<> PROTOBUF_NOINLINE ::PlayerRankingInfo* -Arena::CreateMaybeMessage< ::PlayerRankingInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::PlayerRankingInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::PlayerCommendationInfo* -Arena::CreateMaybeMessage< ::PlayerCommendationInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::PlayerCommendationInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::PlayerMedalsInfo* -Arena::CreateMaybeMessage< ::PlayerMedalsInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::PlayerMedalsInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::AccountActivity* -Arena::CreateMaybeMessage< ::AccountActivity >(Arena* arena) { - return Arena::CreateMessageInternal< ::AccountActivity >(arena); -} -template<> PROTOBUF_NOINLINE ::TournamentMatchSetup* -Arena::CreateMaybeMessage< ::TournamentMatchSetup >(Arena* arena) { - return Arena::CreateMessageInternal< ::TournamentMatchSetup >(arena); -} -template<> PROTOBUF_NOINLINE ::ServerHltvInfo* -Arena::CreateMaybeMessage< ::ServerHltvInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::ServerHltvInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::IpAddressMask* -Arena::CreateMaybeMessage< ::IpAddressMask >(Arena* arena) { - return Arena::CreateMessageInternal< ::IpAddressMask >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgCsgoSteamUserStatChange* -Arena::CreateMaybeMessage< ::CMsgCsgoSteamUserStatChange >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgCsgoSteamUserStatChange >(arena); -} -template<> PROTOBUF_NOINLINE ::XpProgressData* -Arena::CreateMaybeMessage< ::XpProgressData >(Arena* arena) { - return Arena::CreateMessageInternal< ::XpProgressData >(arena); -} -template<> PROTOBUF_NOINLINE ::MatchEndItemUpdates* -Arena::CreateMaybeMessage< ::MatchEndItemUpdates >(Arena* arena) { - return Arena::CreateMessageInternal< ::MatchEndItemUpdates >(arena); -} -template<> PROTOBUF_NOINLINE ::ScoreLeaderboardData_Entry* -Arena::CreateMaybeMessage< ::ScoreLeaderboardData_Entry >(Arena* arena) { - return Arena::CreateMessageInternal< ::ScoreLeaderboardData_Entry >(arena); -} -template<> PROTOBUF_NOINLINE ::ScoreLeaderboardData_AccountEntries* -Arena::CreateMaybeMessage< ::ScoreLeaderboardData_AccountEntries >(Arena* arena) { - return Arena::CreateMessageInternal< ::ScoreLeaderboardData_AccountEntries >(arena); -} -template<> PROTOBUF_NOINLINE ::ScoreLeaderboardData* -Arena::CreateMaybeMessage< ::ScoreLeaderboardData >(Arena* arena) { - return Arena::CreateMessageInternal< ::ScoreLeaderboardData >(arena); -} -template<> PROTOBUF_NOINLINE ::PlayerQuestData_QuestItemData* -Arena::CreateMaybeMessage< ::PlayerQuestData_QuestItemData >(Arena* arena) { - return Arena::CreateMessageInternal< ::PlayerQuestData_QuestItemData >(arena); -} -template<> PROTOBUF_NOINLINE ::PlayerQuestData* -Arena::CreateMaybeMessage< ::PlayerQuestData >(Arena* arena) { - return Arena::CreateMessageInternal< ::PlayerQuestData >(arena); -} -template<> PROTOBUF_NOINLINE ::DeepPlayerStatsEntry* -Arena::CreateMaybeMessage< ::DeepPlayerStatsEntry >(Arena* arena) { - return Arena::CreateMessageInternal< ::DeepPlayerStatsEntry >(arena); -} -template<> PROTOBUF_NOINLINE ::DeepPlayerMatchEvent* -Arena::CreateMaybeMessage< ::DeepPlayerMatchEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::DeepPlayerMatchEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGC_ServerQuestUpdateData* -Arena::CreateMaybeMessage< ::CMsgGC_ServerQuestUpdateData >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGC_ServerQuestUpdateData >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GC2ServerReservationUpdate* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GC2ServerReservationUpdate >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GC2ServerReservationUpdate >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingStart* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingStart >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingStart >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingStop* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingStop >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingStop >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate >(arena); -} -template<> PROTOBUF_NOINLINE ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry* -Arena::CreateMaybeMessage< ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry >(arena); -} -template<> PROTOBUF_NOINLINE ::CDataGCCStrike15_v2_TournamentMatchDraft* -Arena::CreateMaybeMessage< ::CDataGCCStrike15_v2_TournamentMatchDraft >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDataGCCStrike15_v2_TournamentMatchDraft >(arena); -} -template<> PROTOBUF_NOINLINE ::CPreMatchInfoData_TeamStats* -Arena::CreateMaybeMessage< ::CPreMatchInfoData_TeamStats >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPreMatchInfoData_TeamStats >(arena); -} -template<> PROTOBUF_NOINLINE ::CPreMatchInfoData* -Arena::CreateMaybeMessage< ::CPreMatchInfoData >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPreMatchInfoData >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingClient2GCHello* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingClient2GCHello >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingClient2GCHello >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_AccountPrivacySettings* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_AccountPrivacySettings >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_AccountPrivacySettings >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientGCRankUpdate* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientGCRankUpdate >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientGCRankUpdate >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientReportPlayer* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientReportPlayer >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientReportPlayer >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientCommendPlayer* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientCommendPlayer >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientCommendPlayer >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientReportServer* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientReportServer >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientReportServer >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientReportResponse* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientReportResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientReportResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends >(arena); -} -template<> PROTOBUF_NOINLINE ::WatchableMatchInfo* -Arena::CreateMaybeMessage< ::WatchableMatchInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::WatchableMatchInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientRequestJoinFriendData* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientRequestJoinFriendData >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientRequestJoinFriendData >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientRequestJoinServerData* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientRequestJoinServerData >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientRequestJoinServerData >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCstrike15_v2_ClientRedeemMissionReward* -Arena::CreateMaybeMessage< ::CMsgGCCstrike15_v2_ClientRedeemMissionReward >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCstrike15_v2_ClientRedeemMissionReward >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCstrike15_v2_ClientRedeemFreeReward* -Arena::CreateMaybeMessage< ::CMsgGCCstrike15_v2_ClientRedeemFreeReward >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCstrike15_v2_ClientRedeemFreeReward >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* -Arena::CreateMaybeMessage< ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientNetworkConfig* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientNetworkConfig >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientNetworkConfig >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_ClientDeepStats* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_ClientDeepStats >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_ClientDeepStats >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_WatchInfoUsers* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_WatchInfoUsers >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_WatchInfoUsers >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientRequestPlayersProfile* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientRequestPlayersProfile >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientRequestPlayersProfile >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_PlayersProfile* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_PlayersProfile >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_PlayersProfile >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_PremierSeasonSummary* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_PremierSeasonSummary >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_PremierSeasonSummary >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus >(arena); -} -template<> PROTOBUF_NOINLINE ::CClientHeaderOverwatchEvidence* -Arena::CreateMaybeMessage< ::CClientHeaderOverwatchEvidence >(Arena* arena) { - return Arena::CreateMessageInternal< ::CClientHeaderOverwatchEvidence >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GC2ClientTextMsg* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GC2ClientTextMsg >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GC2ClientTextMsg >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Client2GCTextMsg* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Client2GCTextMsg >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Client2GCTextMsg >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchEndRunRewardDrops* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchEndRunRewardDrops >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchEndRunRewardDrops >(arena); -} -template<> PROTOBUF_NOINLINE ::CEconItemPreviewDataBlock_Sticker* -Arena::CreateMaybeMessage< ::CEconItemPreviewDataBlock_Sticker >(Arena* arena) { - return Arena::CreateMessageInternal< ::CEconItemPreviewDataBlock_Sticker >(arena); -} -template<> PROTOBUF_NOINLINE ::CEconItemPreviewDataBlock* -Arena::CreateMaybeMessage< ::CEconItemPreviewDataBlock >(Arena* arena) { - return Arena::CreateMessageInternal< ::CEconItemPreviewDataBlock >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgItemAcknowledged* -Arena::CreateMaybeMessage< ::CMsgItemAcknowledged >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgItemAcknowledged >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchListRequestTournamentGames* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchListRequestTournamentGames >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchListRequestTournamentGames >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CDataGCCStrike15_v2_MatchInfo* -Arena::CreateMaybeMessage< ::CDataGCCStrike15_v2_MatchInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDataGCCStrike15_v2_MatchInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CDataGCCStrike15_v2_TournamentGroupTeam* -Arena::CreateMaybeMessage< ::CDataGCCStrike15_v2_TournamentGroupTeam >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDataGCCStrike15_v2_TournamentGroupTeam >(arena); -} -template<> PROTOBUF_NOINLINE ::CDataGCCStrike15_v2_TournamentGroup_Picks* -Arena::CreateMaybeMessage< ::CDataGCCStrike15_v2_TournamentGroup_Picks >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDataGCCStrike15_v2_TournamentGroup_Picks >(arena); -} -template<> PROTOBUF_NOINLINE ::CDataGCCStrike15_v2_TournamentGroup* -Arena::CreateMaybeMessage< ::CDataGCCStrike15_v2_TournamentGroup >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDataGCCStrike15_v2_TournamentGroup >(arena); -} -template<> PROTOBUF_NOINLINE ::CDataGCCStrike15_v2_TournamentSection* -Arena::CreateMaybeMessage< ::CDataGCCStrike15_v2_TournamentSection >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDataGCCStrike15_v2_TournamentSection >(arena); -} -template<> PROTOBUF_NOINLINE ::CDataGCCStrike15_v2_TournamentInfo* -Arena::CreateMaybeMessage< ::CDataGCCStrike15_v2_TournamentInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDataGCCStrike15_v2_TournamentInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchList* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchList >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchList >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Predictions* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Predictions >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Predictions >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Fantasy_FantasySlot* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Fantasy_FantasySlot >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Fantasy_FantasySlot >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Fantasy* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Fantasy >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Fantasy >(arena); -} -template<> PROTOBUF_NOINLINE ::CAttribute_String* -Arena::CreateMaybeMessage< ::CAttribute_String >(Arena* arena) { - return Arena::CreateMessageInternal< ::CAttribute_String >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgLegacySource1ClientWelcome_Location* -Arena::CreateMaybeMessage< ::CMsgLegacySource1ClientWelcome_Location >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgLegacySource1ClientWelcome_Location >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgLegacySource1ClientWelcome* -Arena::CreateMaybeMessage< ::CMsgLegacySource1ClientWelcome >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgLegacySource1ClientWelcome >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgCStrike15Welcome* -Arena::CreateMaybeMessage< ::CMsgCStrike15Welcome >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgCStrike15Welcome >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GiftsLeaderboardRequest* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GiftsLeaderboardRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GiftsLeaderboardRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientSubmitSurveyVote* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientSubmitSurveyVote >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientSubmitSurveyVote >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Server2GCClientValidate* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Server2GCClientValidate >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Server2GCClientValidate >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GC2ClientTournamentInfo* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GC2ClientTournamentInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GC2ClientTournamentInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOEconCoupon* -Arena::CreateMaybeMessage< ::CSOEconCoupon >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOEconCoupon >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOAccountItemPersonalStore* -Arena::CreateMaybeMessage< ::CSOAccountItemPersonalStore >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOAccountItemPersonalStore >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOAccountXpShop* -Arena::CreateMaybeMessage< ::CSOAccountXpShop >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOAccountXpShop >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOAccountXpShopBids* -Arena::CreateMaybeMessage< ::CSOAccountXpShopBids >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOAccountXpShopBids >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOVolatileItemOffer* -Arena::CreateMaybeMessage< ::CSOVolatileItemOffer >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOVolatileItemOffer >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOVolatileItemClaimedRewards* -Arena::CreateMaybeMessage< ::CSOVolatileItemClaimedRewards >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOVolatileItemClaimedRewards >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOAccountKeychainRemoveToolCharges* -Arena::CreateMaybeMessage< ::CSOAccountKeychainRemoveToolCharges >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOAccountKeychainRemoveToolCharges >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOQuestProgress* -Arena::CreateMaybeMessage< ::CSOQuestProgress >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOQuestProgress >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOAccountSeasonalOperation* -Arena::CreateMaybeMessage< ::CSOAccountSeasonalOperation >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOAccountSeasonalOperation >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOAccountRecurringSubscription* -Arena::CreateMaybeMessage< ::CSOAccountRecurringSubscription >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOAccountRecurringSubscription >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOGameAccountSteamChina* -Arena::CreateMaybeMessage< ::CSOGameAccountSteamChina >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOGameAccountSteamChina >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOPersonaDataPublic* -Arena::CreateMaybeMessage< ::CSOPersonaDataPublic >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOPersonaDataPublic >(arena); -} -template<> PROTOBUF_NOINLINE ::CSOAccountRecurringMission* -Arena::CreateMaybeMessage< ::CSOAccountRecurringMission >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSOAccountRecurringMission >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGC_GlobalGame_Subscribe* -Arena::CreateMaybeMessage< ::CMsgGC_GlobalGame_Subscribe >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGC_GlobalGame_Subscribe >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGC_GlobalGame_Unsubscribe* -Arena::CreateMaybeMessage< ::CMsgGC_GlobalGame_Unsubscribe >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGC_GlobalGame_Unsubscribe >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGC_GlobalGame_Play* -Arena::CreateMaybeMessage< ::CMsgGC_GlobalGame_Play >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGC_GlobalGame_Play >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_AcknowledgePenalty* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_AcknowledgePenalty >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_AcknowledgePenalty >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Client2GCStreamUnlock* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Client2GCStreamUnlock >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Client2GCStreamUnlock >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientToGCRequestElevate* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientToGCRequestElevate >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientToGCRequestElevate >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientToGCChat* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientToGCChat >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientToGCChat >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GCToClientChat* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GCToClientChat >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GCToClientChat >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientAuthKeyCode* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientAuthKeyCode >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientAuthKeyCode >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_GotvSyncPacket* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_GotvSyncPacket >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_GotvSyncPacket >(arena); -} -template<> PROTOBUF_NOINLINE ::PlayerDecalDigitalSignature* -Arena::CreateMaybeMessage< ::PlayerDecalDigitalSignature >(Arena* arena) { - return Arena::CreateMessageInternal< ::PlayerDecalDigitalSignature >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientPlayerDecalSign* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientPlayerDecalSign >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientPlayerDecalSign >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_BetaEnrollment* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_BetaEnrollment >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_BetaEnrollment >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientLogonFatalError* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientLogonFatalError >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientLogonFatalError >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientPollState* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientPollState >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientPollState >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Party_Register* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Party_Register >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Party_Register >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Party_Search* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Party_Search >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Party_Search >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Party_SearchResults_Entry* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Party_SearchResults_Entry >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Party_SearchResults_Entry >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Party_SearchResults* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Party_SearchResults >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Party_SearchResults >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Party_Invite* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Party_Invite >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Party_Invite >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_Account_RequestCoPlays* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_Account_RequestCoPlays >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_Account_RequestCoPlays >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientToGCRequestTicket* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientToGCRequestTicket >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientToGCRequestTicket >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCToClientSteamDatagramTicket* -Arena::CreateMaybeMessage< ::CMsgGCToClientSteamDatagramTicket >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCToClientSteamDatagramTicket >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientRequestOffers* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientRequestOffers >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientRequestOffers >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientRequestSouvenir* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientRequestSouvenir >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientRequestSouvenir >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientAccountBalance* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientAccountBalance >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientAccountBalance >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientPartyJoinRelay* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientPartyJoinRelay >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientPartyJoinRelay >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientPartyWarning* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientPartyWarning >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientPartyWarning >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_SetEventFavorite* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_SetEventFavorite >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_SetEventFavorite >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GetEventFavorites_Request* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GetEventFavorites_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GetEventFavorites_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GetEventFavorites_Response* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GetEventFavorites_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GetEventFavorites_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientPerfReport_Entry* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientPerfReport_Entry >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientPerfReport_Entry >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientPerfReport* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientPerfReport >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientPerfReport >(arena); -} -template<> PROTOBUF_NOINLINE ::CVDiagnostic* -Arena::CreateMaybeMessage< ::CVDiagnostic >(Arena* arena) { - return Arena::CreateMessageInternal< ::CVDiagnostic >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_ClientReportValidation* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_ClientReportValidation >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_ClientReportValidation >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GC2ClientRequestValidation* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GC2ClientRequestValidation >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GC2ClientRequestValidation >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GC2ClientInitSystem* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GC2ClientInitSystem >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GC2ClientInitSystem >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName* -Arena::CreateMaybeMessage< ::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgRequestRecurringMissionSchedule* -Arena::CreateMaybeMessage< ::CMsgRequestRecurringMissionSchedule >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgRequestRecurringMissionSchedule >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgRecurringMissionSchema_MissionTemplateList* -Arena::CreateMaybeMessage< ::CMsgRecurringMissionSchema_MissionTemplateList >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgRecurringMissionSchema_MissionTemplateList >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgRecurringMissionSchema* -Arena::CreateMaybeMessage< ::CMsgRecurringMissionSchema >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgRecurringMissionSchema >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/cstrike15_gcmessages.pb.h b/protobuf/generated/cstrike15_gcmessages.pb.h deleted file mode 100644 index ac02236b7..000000000 --- a/protobuf/generated/cstrike15_gcmessages.pb.h +++ /dev/null @@ -1,75486 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: cstrike15_gcmessages.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_cstrike15_5fgcmessages_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_cstrike15_5fgcmessages_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "steammessages.pb.h" -#include "engine_gcmessages.pb.h" -#include "gcsdk_gcmessages.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_cstrike15_5fgcmessages_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_cstrike15_5fgcmessages_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_cstrike15_5fgcmessages_2eproto; -class AccountActivity; -struct AccountActivityDefaultTypeInternal; -extern AccountActivityDefaultTypeInternal _AccountActivity_default_instance_; -class CAttribute_String; -struct CAttribute_StringDefaultTypeInternal; -extern CAttribute_StringDefaultTypeInternal _CAttribute_String_default_instance_; -class CClientHeaderOverwatchEvidence; -struct CClientHeaderOverwatchEvidenceDefaultTypeInternal; -extern CClientHeaderOverwatchEvidenceDefaultTypeInternal _CClientHeaderOverwatchEvidence_default_instance_; -class CDataGCCStrike15_v2_MatchInfo; -struct CDataGCCStrike15_v2_MatchInfoDefaultTypeInternal; -extern CDataGCCStrike15_v2_MatchInfoDefaultTypeInternal _CDataGCCStrike15_v2_MatchInfo_default_instance_; -class CDataGCCStrike15_v2_TournamentGroup; -struct CDataGCCStrike15_v2_TournamentGroupDefaultTypeInternal; -extern CDataGCCStrike15_v2_TournamentGroupDefaultTypeInternal _CDataGCCStrike15_v2_TournamentGroup_default_instance_; -class CDataGCCStrike15_v2_TournamentGroupTeam; -struct CDataGCCStrike15_v2_TournamentGroupTeamDefaultTypeInternal; -extern CDataGCCStrike15_v2_TournamentGroupTeamDefaultTypeInternal _CDataGCCStrike15_v2_TournamentGroupTeam_default_instance_; -class CDataGCCStrike15_v2_TournamentGroup_Picks; -struct CDataGCCStrike15_v2_TournamentGroup_PicksDefaultTypeInternal; -extern CDataGCCStrike15_v2_TournamentGroup_PicksDefaultTypeInternal _CDataGCCStrike15_v2_TournamentGroup_Picks_default_instance_; -class CDataGCCStrike15_v2_TournamentInfo; -struct CDataGCCStrike15_v2_TournamentInfoDefaultTypeInternal; -extern CDataGCCStrike15_v2_TournamentInfoDefaultTypeInternal _CDataGCCStrike15_v2_TournamentInfo_default_instance_; -class CDataGCCStrike15_v2_TournamentMatchDraft; -struct CDataGCCStrike15_v2_TournamentMatchDraftDefaultTypeInternal; -extern CDataGCCStrike15_v2_TournamentMatchDraftDefaultTypeInternal _CDataGCCStrike15_v2_TournamentMatchDraft_default_instance_; -class CDataGCCStrike15_v2_TournamentMatchDraft_Entry; -struct CDataGCCStrike15_v2_TournamentMatchDraft_EntryDefaultTypeInternal; -extern CDataGCCStrike15_v2_TournamentMatchDraft_EntryDefaultTypeInternal _CDataGCCStrike15_v2_TournamentMatchDraft_Entry_default_instance_; -class CDataGCCStrike15_v2_TournamentSection; -struct CDataGCCStrike15_v2_TournamentSectionDefaultTypeInternal; -extern CDataGCCStrike15_v2_TournamentSectionDefaultTypeInternal _CDataGCCStrike15_v2_TournamentSection_default_instance_; -class CEconItemPreviewDataBlock; -struct CEconItemPreviewDataBlockDefaultTypeInternal; -extern CEconItemPreviewDataBlockDefaultTypeInternal _CEconItemPreviewDataBlock_default_instance_; -class CEconItemPreviewDataBlock_Sticker; -struct CEconItemPreviewDataBlock_StickerDefaultTypeInternal; -extern CEconItemPreviewDataBlock_StickerDefaultTypeInternal _CEconItemPreviewDataBlock_Sticker_default_instance_; -class CMsgCStrike15Welcome; -struct CMsgCStrike15WelcomeDefaultTypeInternal; -extern CMsgCStrike15WelcomeDefaultTypeInternal _CMsgCStrike15Welcome_default_instance_; -class CMsgCsgoSteamUserStatChange; -struct CMsgCsgoSteamUserStatChangeDefaultTypeInternal; -extern CMsgCsgoSteamUserStatChangeDefaultTypeInternal _CMsgCsgoSteamUserStatChange_default_instance_; -class CMsgGCCStrike15_ClientDeepStats; -struct CMsgGCCStrike15_ClientDeepStatsDefaultTypeInternal; -extern CMsgGCCStrike15_ClientDeepStatsDefaultTypeInternal _CMsgGCCStrike15_ClientDeepStats_default_instance_; -class CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch; -struct CMsgGCCStrike15_ClientDeepStats_DeepStatsMatchDefaultTypeInternal; -extern CMsgGCCStrike15_ClientDeepStats_DeepStatsMatchDefaultTypeInternal _CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch_default_instance_; -class CMsgGCCStrike15_ClientDeepStats_DeepStatsRange; -struct CMsgGCCStrike15_ClientDeepStats_DeepStatsRangeDefaultTypeInternal; -extern CMsgGCCStrike15_ClientDeepStats_DeepStatsRangeDefaultTypeInternal _CMsgGCCStrike15_ClientDeepStats_DeepStatsRange_default_instance_; -class CMsgGCCStrike15_GotvSyncPacket; -struct CMsgGCCStrike15_GotvSyncPacketDefaultTypeInternal; -extern CMsgGCCStrike15_GotvSyncPacketDefaultTypeInternal _CMsgGCCStrike15_GotvSyncPacket_default_instance_; -class CMsgGCCStrike15_v2_AccountPrivacySettings; -struct CMsgGCCStrike15_v2_AccountPrivacySettingsDefaultTypeInternal; -extern CMsgGCCStrike15_v2_AccountPrivacySettingsDefaultTypeInternal _CMsgGCCStrike15_v2_AccountPrivacySettings_default_instance_; -class CMsgGCCStrike15_v2_AccountPrivacySettings_Setting; -struct CMsgGCCStrike15_v2_AccountPrivacySettings_SettingDefaultTypeInternal; -extern CMsgGCCStrike15_v2_AccountPrivacySettings_SettingDefaultTypeInternal _CMsgGCCStrike15_v2_AccountPrivacySettings_Setting_default_instance_; -class CMsgGCCStrike15_v2_Account_RequestCoPlays; -struct CMsgGCCStrike15_v2_Account_RequestCoPlaysDefaultTypeInternal; -extern CMsgGCCStrike15_v2_Account_RequestCoPlaysDefaultTypeInternal _CMsgGCCStrike15_v2_Account_RequestCoPlays_default_instance_; -class CMsgGCCStrike15_v2_Account_RequestCoPlays_Player; -struct CMsgGCCStrike15_v2_Account_RequestCoPlays_PlayerDefaultTypeInternal; -extern CMsgGCCStrike15_v2_Account_RequestCoPlays_PlayerDefaultTypeInternal _CMsgGCCStrike15_v2_Account_RequestCoPlays_Player_default_instance_; -class CMsgGCCStrike15_v2_AcknowledgePenalty; -struct CMsgGCCStrike15_v2_AcknowledgePenaltyDefaultTypeInternal; -extern CMsgGCCStrike15_v2_AcknowledgePenaltyDefaultTypeInternal _CMsgGCCStrike15_v2_AcknowledgePenalty_default_instance_; -class CMsgGCCStrike15_v2_BetaEnrollment; -struct CMsgGCCStrike15_v2_BetaEnrollmentDefaultTypeInternal; -extern CMsgGCCStrike15_v2_BetaEnrollmentDefaultTypeInternal _CMsgGCCStrike15_v2_BetaEnrollment_default_instance_; -class CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest; -struct CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequestDefaultTypeInternal; -extern CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequestDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest_default_instance_; -class CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse; -struct CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponseDefaultTypeInternal; -extern CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponseDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse_default_instance_; -class CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin; -struct CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoinDefaultTypeInternal; -extern CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoinDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin_default_instance_; -class CMsgGCCStrike15_v2_Client2GCStreamUnlock; -struct CMsgGCCStrike15_v2_Client2GCStreamUnlockDefaultTypeInternal; -extern CMsgGCCStrike15_v2_Client2GCStreamUnlockDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCStreamUnlock_default_instance_; -class CMsgGCCStrike15_v2_Client2GCTextMsg; -struct CMsgGCCStrike15_v2_Client2GCTextMsgDefaultTypeInternal; -extern CMsgGCCStrike15_v2_Client2GCTextMsgDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GCTextMsg_default_instance_; -class CMsgGCCStrike15_v2_Client2GcAckXPShopTracks; -struct CMsgGCCStrike15_v2_Client2GcAckXPShopTracksDefaultTypeInternal; -extern CMsgGCCStrike15_v2_Client2GcAckXPShopTracksDefaultTypeInternal _CMsgGCCStrike15_v2_Client2GcAckXPShopTracks_default_instance_; -class CMsgGCCStrike15_v2_ClientAccountBalance; -struct CMsgGCCStrike15_v2_ClientAccountBalanceDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientAccountBalanceDefaultTypeInternal _CMsgGCCStrike15_v2_ClientAccountBalance_default_instance_; -class CMsgGCCStrike15_v2_ClientAuthKeyCode; -struct CMsgGCCStrike15_v2_ClientAuthKeyCodeDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientAuthKeyCodeDefaultTypeInternal _CMsgGCCStrike15_v2_ClientAuthKeyCode_default_instance_; -class CMsgGCCStrike15_v2_ClientCommendPlayer; -struct CMsgGCCStrike15_v2_ClientCommendPlayerDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientCommendPlayerDefaultTypeInternal _CMsgGCCStrike15_v2_ClientCommendPlayer_default_instance_; -class CMsgGCCStrike15_v2_ClientGCRankUpdate; -struct CMsgGCCStrike15_v2_ClientGCRankUpdateDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientGCRankUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_ClientGCRankUpdate_default_instance_; -class CMsgGCCStrike15_v2_ClientLogonFatalError; -struct CMsgGCCStrike15_v2_ClientLogonFatalErrorDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientLogonFatalErrorDefaultTypeInternal _CMsgGCCStrike15_v2_ClientLogonFatalError_default_instance_; -class CMsgGCCStrike15_v2_ClientNetworkConfig; -struct CMsgGCCStrike15_v2_ClientNetworkConfigDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientNetworkConfigDefaultTypeInternal _CMsgGCCStrike15_v2_ClientNetworkConfig_default_instance_; -class CMsgGCCStrike15_v2_ClientPartyJoinRelay; -struct CMsgGCCStrike15_v2_ClientPartyJoinRelayDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientPartyJoinRelayDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPartyJoinRelay_default_instance_; -class CMsgGCCStrike15_v2_ClientPartyWarning; -struct CMsgGCCStrike15_v2_ClientPartyWarningDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientPartyWarningDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPartyWarning_default_instance_; -class CMsgGCCStrike15_v2_ClientPartyWarning_Entry; -struct CMsgGCCStrike15_v2_ClientPartyWarning_EntryDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientPartyWarning_EntryDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPartyWarning_Entry_default_instance_; -class CMsgGCCStrike15_v2_ClientPerfReport; -struct CMsgGCCStrike15_v2_ClientPerfReportDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientPerfReportDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPerfReport_default_instance_; -class CMsgGCCStrike15_v2_ClientPerfReport_Entry; -struct CMsgGCCStrike15_v2_ClientPerfReport_EntryDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientPerfReport_EntryDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPerfReport_Entry_default_instance_; -class CMsgGCCStrike15_v2_ClientPlayerDecalSign; -struct CMsgGCCStrike15_v2_ClientPlayerDecalSignDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientPlayerDecalSignDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPlayerDecalSign_default_instance_; -class CMsgGCCStrike15_v2_ClientPollState; -struct CMsgGCCStrike15_v2_ClientPollStateDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientPollStateDefaultTypeInternal _CMsgGCCStrike15_v2_ClientPollState_default_instance_; -class CMsgGCCStrike15_v2_ClientReportPlayer; -struct CMsgGCCStrike15_v2_ClientReportPlayerDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientReportPlayerDefaultTypeInternal _CMsgGCCStrike15_v2_ClientReportPlayer_default_instance_; -class CMsgGCCStrike15_v2_ClientReportResponse; -struct CMsgGCCStrike15_v2_ClientReportResponseDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientReportResponseDefaultTypeInternal _CMsgGCCStrike15_v2_ClientReportResponse_default_instance_; -class CMsgGCCStrike15_v2_ClientReportServer; -struct CMsgGCCStrike15_v2_ClientReportServerDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientReportServerDefaultTypeInternal _CMsgGCCStrike15_v2_ClientReportServer_default_instance_; -class CMsgGCCStrike15_v2_ClientReportValidation; -struct CMsgGCCStrike15_v2_ClientReportValidationDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientReportValidationDefaultTypeInternal _CMsgGCCStrike15_v2_ClientReportValidation_default_instance_; -class CMsgGCCStrike15_v2_ClientRequestJoinFriendData; -struct CMsgGCCStrike15_v2_ClientRequestJoinFriendDataDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientRequestJoinFriendDataDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestJoinFriendData_default_instance_; -class CMsgGCCStrike15_v2_ClientRequestJoinServerData; -struct CMsgGCCStrike15_v2_ClientRequestJoinServerDataDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientRequestJoinServerDataDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestJoinServerData_default_instance_; -class CMsgGCCStrike15_v2_ClientRequestOffers; -struct CMsgGCCStrike15_v2_ClientRequestOffersDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientRequestOffersDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestOffers_default_instance_; -class CMsgGCCStrike15_v2_ClientRequestPlayersProfile; -struct CMsgGCCStrike15_v2_ClientRequestPlayersProfileDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientRequestPlayersProfileDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestPlayersProfile_default_instance_; -class CMsgGCCStrike15_v2_ClientRequestSouvenir; -struct CMsgGCCStrike15_v2_ClientRequestSouvenirDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientRequestSouvenirDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestSouvenir_default_instance_; -class CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends; -struct CMsgGCCStrike15_v2_ClientRequestWatchInfoFriendsDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientRequestWatchInfoFriendsDefaultTypeInternal _CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends_default_instance_; -class CMsgGCCStrike15_v2_ClientSubmitSurveyVote; -struct CMsgGCCStrike15_v2_ClientSubmitSurveyVoteDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientSubmitSurveyVoteDefaultTypeInternal _CMsgGCCStrike15_v2_ClientSubmitSurveyVote_default_instance_; -class CMsgGCCStrike15_v2_ClientToGCChat; -struct CMsgGCCStrike15_v2_ClientToGCChatDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientToGCChatDefaultTypeInternal _CMsgGCCStrike15_v2_ClientToGCChat_default_instance_; -class CMsgGCCStrike15_v2_ClientToGCRequestElevate; -struct CMsgGCCStrike15_v2_ClientToGCRequestElevateDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientToGCRequestElevateDefaultTypeInternal _CMsgGCCStrike15_v2_ClientToGCRequestElevate_default_instance_; -class CMsgGCCStrike15_v2_ClientToGCRequestTicket; -struct CMsgGCCStrike15_v2_ClientToGCRequestTicketDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientToGCRequestTicketDefaultTypeInternal _CMsgGCCStrike15_v2_ClientToGCRequestTicket_default_instance_; -class CMsgGCCStrike15_v2_ClientVarValueNotificationInfo; -struct CMsgGCCStrike15_v2_ClientVarValueNotificationInfoDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ClientVarValueNotificationInfoDefaultTypeInternal _CMsgGCCStrike15_v2_ClientVarValueNotificationInfo_default_instance_; -class CMsgGCCStrike15_v2_Fantasy; -struct CMsgGCCStrike15_v2_FantasyDefaultTypeInternal; -extern CMsgGCCStrike15_v2_FantasyDefaultTypeInternal _CMsgGCCStrike15_v2_Fantasy_default_instance_; -class CMsgGCCStrike15_v2_Fantasy_FantasySlot; -struct CMsgGCCStrike15_v2_Fantasy_FantasySlotDefaultTypeInternal; -extern CMsgGCCStrike15_v2_Fantasy_FantasySlotDefaultTypeInternal _CMsgGCCStrike15_v2_Fantasy_FantasySlot_default_instance_; -class CMsgGCCStrike15_v2_Fantasy_FantasyTeam; -struct CMsgGCCStrike15_v2_Fantasy_FantasyTeamDefaultTypeInternal; -extern CMsgGCCStrike15_v2_Fantasy_FantasyTeamDefaultTypeInternal _CMsgGCCStrike15_v2_Fantasy_FantasyTeam_default_instance_; -class CMsgGCCStrike15_v2_GC2ClientInitSystem; -struct CMsgGCCStrike15_v2_GC2ClientInitSystemDefaultTypeInternal; -extern CMsgGCCStrike15_v2_GC2ClientInitSystemDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientInitSystem_default_instance_; -class CMsgGCCStrike15_v2_GC2ClientInitSystem_Response; -struct CMsgGCCStrike15_v2_GC2ClientInitSystem_ResponseDefaultTypeInternal; -extern CMsgGCCStrike15_v2_GC2ClientInitSystem_ResponseDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientInitSystem_Response_default_instance_; -class CMsgGCCStrike15_v2_GC2ClientNotifyXPShop; -struct CMsgGCCStrike15_v2_GC2ClientNotifyXPShopDefaultTypeInternal; -extern CMsgGCCStrike15_v2_GC2ClientNotifyXPShopDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientNotifyXPShop_default_instance_; -class CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode; -struct CMsgGCCStrike15_v2_GC2ClientRefuseSecureModeDefaultTypeInternal; -extern CMsgGCCStrike15_v2_GC2ClientRefuseSecureModeDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode_default_instance_; -class CMsgGCCStrike15_v2_GC2ClientRequestValidation; -struct CMsgGCCStrike15_v2_GC2ClientRequestValidationDefaultTypeInternal; -extern CMsgGCCStrike15_v2_GC2ClientRequestValidationDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientRequestValidation_default_instance_; -class CMsgGCCStrike15_v2_GC2ClientTextMsg; -struct CMsgGCCStrike15_v2_GC2ClientTextMsgDefaultTypeInternal; -extern CMsgGCCStrike15_v2_GC2ClientTextMsgDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientTextMsg_default_instance_; -class CMsgGCCStrike15_v2_GC2ClientTournamentInfo; -struct CMsgGCCStrike15_v2_GC2ClientTournamentInfoDefaultTypeInternal; -extern CMsgGCCStrike15_v2_GC2ClientTournamentInfoDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ClientTournamentInfo_default_instance_; -class CMsgGCCStrike15_v2_GC2ServerReservationUpdate; -struct CMsgGCCStrike15_v2_GC2ServerReservationUpdateDefaultTypeInternal; -extern CMsgGCCStrike15_v2_GC2ServerReservationUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_GC2ServerReservationUpdate_default_instance_; -class CMsgGCCStrike15_v2_GCToClientChat; -struct CMsgGCCStrike15_v2_GCToClientChatDefaultTypeInternal; -extern CMsgGCCStrike15_v2_GCToClientChatDefaultTypeInternal _CMsgGCCStrike15_v2_GCToClientChat_default_instance_; -class CMsgGCCStrike15_v2_GetEventFavorites_Request; -struct CMsgGCCStrike15_v2_GetEventFavorites_RequestDefaultTypeInternal; -extern CMsgGCCStrike15_v2_GetEventFavorites_RequestDefaultTypeInternal _CMsgGCCStrike15_v2_GetEventFavorites_Request_default_instance_; -class CMsgGCCStrike15_v2_GetEventFavorites_Response; -struct CMsgGCCStrike15_v2_GetEventFavorites_ResponseDefaultTypeInternal; -extern CMsgGCCStrike15_v2_GetEventFavorites_ResponseDefaultTypeInternal _CMsgGCCStrike15_v2_GetEventFavorites_Response_default_instance_; -class CMsgGCCStrike15_v2_GiftsLeaderboardRequest; -struct CMsgGCCStrike15_v2_GiftsLeaderboardRequestDefaultTypeInternal; -extern CMsgGCCStrike15_v2_GiftsLeaderboardRequestDefaultTypeInternal _CMsgGCCStrike15_v2_GiftsLeaderboardRequest_default_instance_; -class CMsgGCCStrike15_v2_GiftsLeaderboardResponse; -struct CMsgGCCStrike15_v2_GiftsLeaderboardResponseDefaultTypeInternal; -extern CMsgGCCStrike15_v2_GiftsLeaderboardResponseDefaultTypeInternal _CMsgGCCStrike15_v2_GiftsLeaderboardResponse_default_instance_; -class CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry; -struct CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntryDefaultTypeInternal; -extern CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntryDefaultTypeInternal _CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry_default_instance_; -class CMsgGCCStrike15_v2_MatchEndRewardDropsNotification; -struct CMsgGCCStrike15_v2_MatchEndRewardDropsNotificationDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchEndRewardDropsNotificationDefaultTypeInternal _CMsgGCCStrike15_v2_MatchEndRewardDropsNotification_default_instance_; -class CMsgGCCStrike15_v2_MatchEndRunRewardDrops; -struct CMsgGCCStrike15_v2_MatchEndRunRewardDropsDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchEndRunRewardDropsDefaultTypeInternal _CMsgGCCStrike15_v2_MatchEndRunRewardDrops_default_instance_; -class CMsgGCCStrike15_v2_MatchList; -struct CMsgGCCStrike15_v2_MatchListDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchListDefaultTypeInternal _CMsgGCCStrike15_v2_MatchList_default_instance_; -class CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames; -struct CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGamesDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGamesDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames_default_instance_; -class CMsgGCCStrike15_v2_MatchListRequestFullGameInfo; -struct CMsgGCCStrike15_v2_MatchListRequestFullGameInfoDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchListRequestFullGameInfoDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestFullGameInfo_default_instance_; -class CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser; -struct CMsgGCCStrike15_v2_MatchListRequestLiveGameForUserDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchListRequestLiveGameForUserDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser_default_instance_; -class CMsgGCCStrike15_v2_MatchListRequestRecentUserGames; -struct CMsgGCCStrike15_v2_MatchListRequestRecentUserGamesDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchListRequestRecentUserGamesDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestRecentUserGames_default_instance_; -class CMsgGCCStrike15_v2_MatchListRequestTournamentGames; -struct CMsgGCCStrike15_v2_MatchListRequestTournamentGamesDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchListRequestTournamentGamesDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListRequestTournamentGames_default_instance_; -class CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt; -struct CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmtDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmtDefaultTypeInternal _CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt_default_instance_; -class CMsgGCCStrike15_v2_MatchmakingClient2GCHello; -struct CMsgGCCStrike15_v2_MatchmakingClient2GCHelloDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchmakingClient2GCHelloDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingClient2GCHello_default_instance_; -class CMsgGCCStrike15_v2_MatchmakingClient2ServerPing; -struct CMsgGCCStrike15_v2_MatchmakingClient2ServerPingDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchmakingClient2ServerPingDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingClient2ServerPing_default_instance_; -class CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon; -struct CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandonDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandonDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon_default_instance_; -class CMsgGCCStrike15_v2_MatchmakingGC2ClientHello; -struct CMsgGCCStrike15_v2_MatchmakingGC2ClientHelloDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchmakingGC2ClientHelloDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientHello_default_instance_; -class CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve; -struct CMsgGCCStrike15_v2_MatchmakingGC2ClientReserveDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchmakingGC2ClientReserveDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve_default_instance_; -class CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats; -struct CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStatsDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStatsDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats_default_instance_; -class CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate; -struct CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdateDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_default_instance_; -class CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note; -struct CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_NoteDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_NoteDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note_default_instance_; -class CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm; -struct CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirmDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirmDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm_default_instance_; -class CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve; -struct CMsgGCCStrike15_v2_MatchmakingGC2ServerReserveDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchmakingGC2ServerReserveDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve_default_instance_; -class CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate; -struct CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdateDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate_default_instance_; -class CMsgGCCStrike15_v2_MatchmakingServerReservationResponse; -struct CMsgGCCStrike15_v2_MatchmakingServerReservationResponseDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchmakingServerReservationResponseDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingServerReservationResponse_default_instance_; -class CMsgGCCStrike15_v2_MatchmakingServerRoundStats; -struct CMsgGCCStrike15_v2_MatchmakingServerRoundStatsDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchmakingServerRoundStatsDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingServerRoundStats_default_instance_; -class CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo; -struct CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfoDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfoDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo_default_instance_; -class CMsgGCCStrike15_v2_MatchmakingStart; -struct CMsgGCCStrike15_v2_MatchmakingStartDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchmakingStartDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingStart_default_instance_; -class CMsgGCCStrike15_v2_MatchmakingStop; -struct CMsgGCCStrike15_v2_MatchmakingStopDefaultTypeInternal; -extern CMsgGCCStrike15_v2_MatchmakingStopDefaultTypeInternal _CMsgGCCStrike15_v2_MatchmakingStop_default_instance_; -class CMsgGCCStrike15_v2_Party_Invite; -struct CMsgGCCStrike15_v2_Party_InviteDefaultTypeInternal; -extern CMsgGCCStrike15_v2_Party_InviteDefaultTypeInternal _CMsgGCCStrike15_v2_Party_Invite_default_instance_; -class CMsgGCCStrike15_v2_Party_Register; -struct CMsgGCCStrike15_v2_Party_RegisterDefaultTypeInternal; -extern CMsgGCCStrike15_v2_Party_RegisterDefaultTypeInternal _CMsgGCCStrike15_v2_Party_Register_default_instance_; -class CMsgGCCStrike15_v2_Party_Search; -struct CMsgGCCStrike15_v2_Party_SearchDefaultTypeInternal; -extern CMsgGCCStrike15_v2_Party_SearchDefaultTypeInternal _CMsgGCCStrike15_v2_Party_Search_default_instance_; -class CMsgGCCStrike15_v2_Party_SearchResults; -struct CMsgGCCStrike15_v2_Party_SearchResultsDefaultTypeInternal; -extern CMsgGCCStrike15_v2_Party_SearchResultsDefaultTypeInternal _CMsgGCCStrike15_v2_Party_SearchResults_default_instance_; -class CMsgGCCStrike15_v2_Party_SearchResults_Entry; -struct CMsgGCCStrike15_v2_Party_SearchResults_EntryDefaultTypeInternal; -extern CMsgGCCStrike15_v2_Party_SearchResults_EntryDefaultTypeInternal _CMsgGCCStrike15_v2_Party_SearchResults_Entry_default_instance_; -class CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment; -struct CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignmentDefaultTypeInternal; -extern CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignmentDefaultTypeInternal _CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment_default_instance_; -class CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus; -struct CMsgGCCStrike15_v2_PlayerOverwatchCaseStatusDefaultTypeInternal; -extern CMsgGCCStrike15_v2_PlayerOverwatchCaseStatusDefaultTypeInternal _CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus_default_instance_; -class CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate; -struct CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdateDefaultTypeInternal; -extern CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdateDefaultTypeInternal _CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate_default_instance_; -class CMsgGCCStrike15_v2_PlayersProfile; -struct CMsgGCCStrike15_v2_PlayersProfileDefaultTypeInternal; -extern CMsgGCCStrike15_v2_PlayersProfileDefaultTypeInternal _CMsgGCCStrike15_v2_PlayersProfile_default_instance_; -class CMsgGCCStrike15_v2_Predictions; -struct CMsgGCCStrike15_v2_PredictionsDefaultTypeInternal; -extern CMsgGCCStrike15_v2_PredictionsDefaultTypeInternal _CMsgGCCStrike15_v2_Predictions_default_instance_; -class CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick; -struct CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPickDefaultTypeInternal; -extern CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPickDefaultTypeInternal _CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick_default_instance_; -class CMsgGCCStrike15_v2_PremierSeasonSummary; -struct CMsgGCCStrike15_v2_PremierSeasonSummaryDefaultTypeInternal; -extern CMsgGCCStrike15_v2_PremierSeasonSummaryDefaultTypeInternal _CMsgGCCStrike15_v2_PremierSeasonSummary_default_instance_; -class CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap; -struct CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMapDefaultTypeInternal; -extern CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMapDefaultTypeInternal _CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap_default_instance_; -class CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek; -struct CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeekDefaultTypeInternal; -extern CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeekDefaultTypeInternal _CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek_default_instance_; -class CMsgGCCStrike15_v2_Server2GCClientValidate; -struct CMsgGCCStrike15_v2_Server2GCClientValidateDefaultTypeInternal; -extern CMsgGCCStrike15_v2_Server2GCClientValidateDefaultTypeInternal _CMsgGCCStrike15_v2_Server2GCClientValidate_default_instance_; -class CMsgGCCStrike15_v2_ServerNotificationForUserPenalty; -struct CMsgGCCStrike15_v2_ServerNotificationForUserPenaltyDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ServerNotificationForUserPenaltyDefaultTypeInternal _CMsgGCCStrike15_v2_ServerNotificationForUserPenalty_default_instance_; -class CMsgGCCStrike15_v2_ServerVarValueNotificationInfo; -struct CMsgGCCStrike15_v2_ServerVarValueNotificationInfoDefaultTypeInternal; -extern CMsgGCCStrike15_v2_ServerVarValueNotificationInfoDefaultTypeInternal _CMsgGCCStrike15_v2_ServerVarValueNotificationInfo_default_instance_; -class CMsgGCCStrike15_v2_SetEventFavorite; -struct CMsgGCCStrike15_v2_SetEventFavoriteDefaultTypeInternal; -extern CMsgGCCStrike15_v2_SetEventFavoriteDefaultTypeInternal _CMsgGCCStrike15_v2_SetEventFavorite_default_instance_; -class CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName; -struct CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeNameDefaultTypeInternal; -extern CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeNameDefaultTypeInternal _CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName_default_instance_; -class CMsgGCCStrike15_v2_WatchInfoUsers; -struct CMsgGCCStrike15_v2_WatchInfoUsersDefaultTypeInternal; -extern CMsgGCCStrike15_v2_WatchInfoUsersDefaultTypeInternal _CMsgGCCStrike15_v2_WatchInfoUsers_default_instance_; -class CMsgGCCstrike15_v2_ClientRedeemFreeReward; -struct CMsgGCCstrike15_v2_ClientRedeemFreeRewardDefaultTypeInternal; -extern CMsgGCCstrike15_v2_ClientRedeemFreeRewardDefaultTypeInternal _CMsgGCCstrike15_v2_ClientRedeemFreeReward_default_instance_; -class CMsgGCCstrike15_v2_ClientRedeemMissionReward; -struct CMsgGCCstrike15_v2_ClientRedeemMissionRewardDefaultTypeInternal; -extern CMsgGCCstrike15_v2_ClientRedeemMissionRewardDefaultTypeInternal _CMsgGCCstrike15_v2_ClientRedeemMissionReward_default_instance_; -class CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded; -struct CMsgGCCstrike15_v2_GC2ServerNotifyXPRewardedDefaultTypeInternal; -extern CMsgGCCstrike15_v2_GC2ServerNotifyXPRewardedDefaultTypeInternal _CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_default_instance_; -class CMsgGCToClientSteamDatagramTicket; -struct CMsgGCToClientSteamDatagramTicketDefaultTypeInternal; -extern CMsgGCToClientSteamDatagramTicketDefaultTypeInternal _CMsgGCToClientSteamDatagramTicket_default_instance_; -class CMsgGC_GlobalGame_Play; -struct CMsgGC_GlobalGame_PlayDefaultTypeInternal; -extern CMsgGC_GlobalGame_PlayDefaultTypeInternal _CMsgGC_GlobalGame_Play_default_instance_; -class CMsgGC_GlobalGame_Subscribe; -struct CMsgGC_GlobalGame_SubscribeDefaultTypeInternal; -extern CMsgGC_GlobalGame_SubscribeDefaultTypeInternal _CMsgGC_GlobalGame_Subscribe_default_instance_; -class CMsgGC_GlobalGame_Unsubscribe; -struct CMsgGC_GlobalGame_UnsubscribeDefaultTypeInternal; -extern CMsgGC_GlobalGame_UnsubscribeDefaultTypeInternal _CMsgGC_GlobalGame_Unsubscribe_default_instance_; -class CMsgGC_ServerQuestUpdateData; -struct CMsgGC_ServerQuestUpdateDataDefaultTypeInternal; -extern CMsgGC_ServerQuestUpdateDataDefaultTypeInternal _CMsgGC_ServerQuestUpdateData_default_instance_; -class CMsgItemAcknowledged; -struct CMsgItemAcknowledgedDefaultTypeInternal; -extern CMsgItemAcknowledgedDefaultTypeInternal _CMsgItemAcknowledged_default_instance_; -class CMsgLegacySource1ClientWelcome; -struct CMsgLegacySource1ClientWelcomeDefaultTypeInternal; -extern CMsgLegacySource1ClientWelcomeDefaultTypeInternal _CMsgLegacySource1ClientWelcome_default_instance_; -class CMsgLegacySource1ClientWelcome_Location; -struct CMsgLegacySource1ClientWelcome_LocationDefaultTypeInternal; -extern CMsgLegacySource1ClientWelcome_LocationDefaultTypeInternal _CMsgLegacySource1ClientWelcome_Location_default_instance_; -class CMsgRecurringMissionSchema; -struct CMsgRecurringMissionSchemaDefaultTypeInternal; -extern CMsgRecurringMissionSchemaDefaultTypeInternal _CMsgRecurringMissionSchema_default_instance_; -class CMsgRecurringMissionSchema_MissionTemplateList; -struct CMsgRecurringMissionSchema_MissionTemplateListDefaultTypeInternal; -extern CMsgRecurringMissionSchema_MissionTemplateListDefaultTypeInternal _CMsgRecurringMissionSchema_MissionTemplateList_default_instance_; -class CMsgRequestRecurringMissionSchedule; -struct CMsgRequestRecurringMissionScheduleDefaultTypeInternal; -extern CMsgRequestRecurringMissionScheduleDefaultTypeInternal _CMsgRequestRecurringMissionSchedule_default_instance_; -class CPreMatchInfoData; -struct CPreMatchInfoDataDefaultTypeInternal; -extern CPreMatchInfoDataDefaultTypeInternal _CPreMatchInfoData_default_instance_; -class CPreMatchInfoData_TeamStats; -struct CPreMatchInfoData_TeamStatsDefaultTypeInternal; -extern CPreMatchInfoData_TeamStatsDefaultTypeInternal _CPreMatchInfoData_TeamStats_default_instance_; -class CSOAccountItemPersonalStore; -struct CSOAccountItemPersonalStoreDefaultTypeInternal; -extern CSOAccountItemPersonalStoreDefaultTypeInternal _CSOAccountItemPersonalStore_default_instance_; -class CSOAccountKeychainRemoveToolCharges; -struct CSOAccountKeychainRemoveToolChargesDefaultTypeInternal; -extern CSOAccountKeychainRemoveToolChargesDefaultTypeInternal _CSOAccountKeychainRemoveToolCharges_default_instance_; -class CSOAccountRecurringMission; -struct CSOAccountRecurringMissionDefaultTypeInternal; -extern CSOAccountRecurringMissionDefaultTypeInternal _CSOAccountRecurringMission_default_instance_; -class CSOAccountRecurringSubscription; -struct CSOAccountRecurringSubscriptionDefaultTypeInternal; -extern CSOAccountRecurringSubscriptionDefaultTypeInternal _CSOAccountRecurringSubscription_default_instance_; -class CSOAccountSeasonalOperation; -struct CSOAccountSeasonalOperationDefaultTypeInternal; -extern CSOAccountSeasonalOperationDefaultTypeInternal _CSOAccountSeasonalOperation_default_instance_; -class CSOAccountXpShop; -struct CSOAccountXpShopDefaultTypeInternal; -extern CSOAccountXpShopDefaultTypeInternal _CSOAccountXpShop_default_instance_; -class CSOAccountXpShopBids; -struct CSOAccountXpShopBidsDefaultTypeInternal; -extern CSOAccountXpShopBidsDefaultTypeInternal _CSOAccountXpShopBids_default_instance_; -class CSOEconCoupon; -struct CSOEconCouponDefaultTypeInternal; -extern CSOEconCouponDefaultTypeInternal _CSOEconCoupon_default_instance_; -class CSOGameAccountSteamChina; -struct CSOGameAccountSteamChinaDefaultTypeInternal; -extern CSOGameAccountSteamChinaDefaultTypeInternal _CSOGameAccountSteamChina_default_instance_; -class CSOPersonaDataPublic; -struct CSOPersonaDataPublicDefaultTypeInternal; -extern CSOPersonaDataPublicDefaultTypeInternal _CSOPersonaDataPublic_default_instance_; -class CSOQuestProgress; -struct CSOQuestProgressDefaultTypeInternal; -extern CSOQuestProgressDefaultTypeInternal _CSOQuestProgress_default_instance_; -class CSOVolatileItemClaimedRewards; -struct CSOVolatileItemClaimedRewardsDefaultTypeInternal; -extern CSOVolatileItemClaimedRewardsDefaultTypeInternal _CSOVolatileItemClaimedRewards_default_instance_; -class CSOVolatileItemOffer; -struct CSOVolatileItemOfferDefaultTypeInternal; -extern CSOVolatileItemOfferDefaultTypeInternal _CSOVolatileItemOffer_default_instance_; -class CVDiagnostic; -struct CVDiagnosticDefaultTypeInternal; -extern CVDiagnosticDefaultTypeInternal _CVDiagnostic_default_instance_; -class DataCenterPing; -struct DataCenterPingDefaultTypeInternal; -extern DataCenterPingDefaultTypeInternal _DataCenterPing_default_instance_; -class DeepPlayerMatchEvent; -struct DeepPlayerMatchEventDefaultTypeInternal; -extern DeepPlayerMatchEventDefaultTypeInternal _DeepPlayerMatchEvent_default_instance_; -class DeepPlayerStatsEntry; -struct DeepPlayerStatsEntryDefaultTypeInternal; -extern DeepPlayerStatsEntryDefaultTypeInternal _DeepPlayerStatsEntry_default_instance_; -class DetailedSearchStatistic; -struct DetailedSearchStatisticDefaultTypeInternal; -extern DetailedSearchStatisticDefaultTypeInternal _DetailedSearchStatistic_default_instance_; -class GameServerPing; -struct GameServerPingDefaultTypeInternal; -extern GameServerPingDefaultTypeInternal _GameServerPing_default_instance_; -class GlobalStatistics; -struct GlobalStatisticsDefaultTypeInternal; -extern GlobalStatisticsDefaultTypeInternal _GlobalStatistics_default_instance_; -class IpAddressMask; -struct IpAddressMaskDefaultTypeInternal; -extern IpAddressMaskDefaultTypeInternal _IpAddressMask_default_instance_; -class MatchEndItemUpdates; -struct MatchEndItemUpdatesDefaultTypeInternal; -extern MatchEndItemUpdatesDefaultTypeInternal _MatchEndItemUpdates_default_instance_; -class OperationalStatisticDescription; -struct OperationalStatisticDescriptionDefaultTypeInternal; -extern OperationalStatisticDescriptionDefaultTypeInternal _OperationalStatisticDescription_default_instance_; -class OperationalStatisticElement; -struct OperationalStatisticElementDefaultTypeInternal; -extern OperationalStatisticElementDefaultTypeInternal _OperationalStatisticElement_default_instance_; -class OperationalStatisticsPacket; -struct OperationalStatisticsPacketDefaultTypeInternal; -extern OperationalStatisticsPacketDefaultTypeInternal _OperationalStatisticsPacket_default_instance_; -class OperationalVarValue; -struct OperationalVarValueDefaultTypeInternal; -extern OperationalVarValueDefaultTypeInternal _OperationalVarValue_default_instance_; -class PlayerCommendationInfo; -struct PlayerCommendationInfoDefaultTypeInternal; -extern PlayerCommendationInfoDefaultTypeInternal _PlayerCommendationInfo_default_instance_; -class PlayerDecalDigitalSignature; -struct PlayerDecalDigitalSignatureDefaultTypeInternal; -extern PlayerDecalDigitalSignatureDefaultTypeInternal _PlayerDecalDigitalSignature_default_instance_; -class PlayerMedalsInfo; -struct PlayerMedalsInfoDefaultTypeInternal; -extern PlayerMedalsInfoDefaultTypeInternal _PlayerMedalsInfo_default_instance_; -class PlayerQuestData; -struct PlayerQuestDataDefaultTypeInternal; -extern PlayerQuestDataDefaultTypeInternal _PlayerQuestData_default_instance_; -class PlayerQuestData_QuestItemData; -struct PlayerQuestData_QuestItemDataDefaultTypeInternal; -extern PlayerQuestData_QuestItemDataDefaultTypeInternal _PlayerQuestData_QuestItemData_default_instance_; -class PlayerRankingInfo; -struct PlayerRankingInfoDefaultTypeInternal; -extern PlayerRankingInfoDefaultTypeInternal _PlayerRankingInfo_default_instance_; -class PlayerRankingInfo_PerMapRank; -struct PlayerRankingInfo_PerMapRankDefaultTypeInternal; -extern PlayerRankingInfo_PerMapRankDefaultTypeInternal _PlayerRankingInfo_PerMapRank_default_instance_; -class ScoreLeaderboardData; -struct ScoreLeaderboardDataDefaultTypeInternal; -extern ScoreLeaderboardDataDefaultTypeInternal _ScoreLeaderboardData_default_instance_; -class ScoreLeaderboardData_AccountEntries; -struct ScoreLeaderboardData_AccountEntriesDefaultTypeInternal; -extern ScoreLeaderboardData_AccountEntriesDefaultTypeInternal _ScoreLeaderboardData_AccountEntries_default_instance_; -class ScoreLeaderboardData_Entry; -struct ScoreLeaderboardData_EntryDefaultTypeInternal; -extern ScoreLeaderboardData_EntryDefaultTypeInternal _ScoreLeaderboardData_Entry_default_instance_; -class ServerHltvInfo; -struct ServerHltvInfoDefaultTypeInternal; -extern ServerHltvInfoDefaultTypeInternal _ServerHltvInfo_default_instance_; -class TournamentEvent; -struct TournamentEventDefaultTypeInternal; -extern TournamentEventDefaultTypeInternal _TournamentEvent_default_instance_; -class TournamentMatchSetup; -struct TournamentMatchSetupDefaultTypeInternal; -extern TournamentMatchSetupDefaultTypeInternal _TournamentMatchSetup_default_instance_; -class TournamentPlayer; -struct TournamentPlayerDefaultTypeInternal; -extern TournamentPlayerDefaultTypeInternal _TournamentPlayer_default_instance_; -class TournamentTeam; -struct TournamentTeamDefaultTypeInternal; -extern TournamentTeamDefaultTypeInternal _TournamentTeam_default_instance_; -class WatchableMatchInfo; -struct WatchableMatchInfoDefaultTypeInternal; -extern WatchableMatchInfoDefaultTypeInternal _WatchableMatchInfo_default_instance_; -class XpProgressData; -struct XpProgressDataDefaultTypeInternal; -extern XpProgressDataDefaultTypeInternal _XpProgressData_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::AccountActivity* Arena::CreateMaybeMessage<::AccountActivity>(Arena*); -template<> ::CAttribute_String* Arena::CreateMaybeMessage<::CAttribute_String>(Arena*); -template<> ::CClientHeaderOverwatchEvidence* Arena::CreateMaybeMessage<::CClientHeaderOverwatchEvidence>(Arena*); -template<> ::CDataGCCStrike15_v2_MatchInfo* Arena::CreateMaybeMessage<::CDataGCCStrike15_v2_MatchInfo>(Arena*); -template<> ::CDataGCCStrike15_v2_TournamentGroup* Arena::CreateMaybeMessage<::CDataGCCStrike15_v2_TournamentGroup>(Arena*); -template<> ::CDataGCCStrike15_v2_TournamentGroupTeam* Arena::CreateMaybeMessage<::CDataGCCStrike15_v2_TournamentGroupTeam>(Arena*); -template<> ::CDataGCCStrike15_v2_TournamentGroup_Picks* Arena::CreateMaybeMessage<::CDataGCCStrike15_v2_TournamentGroup_Picks>(Arena*); -template<> ::CDataGCCStrike15_v2_TournamentInfo* Arena::CreateMaybeMessage<::CDataGCCStrike15_v2_TournamentInfo>(Arena*); -template<> ::CDataGCCStrike15_v2_TournamentMatchDraft* Arena::CreateMaybeMessage<::CDataGCCStrike15_v2_TournamentMatchDraft>(Arena*); -template<> ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry* Arena::CreateMaybeMessage<::CDataGCCStrike15_v2_TournamentMatchDraft_Entry>(Arena*); -template<> ::CDataGCCStrike15_v2_TournamentSection* Arena::CreateMaybeMessage<::CDataGCCStrike15_v2_TournamentSection>(Arena*); -template<> ::CEconItemPreviewDataBlock* Arena::CreateMaybeMessage<::CEconItemPreviewDataBlock>(Arena*); -template<> ::CEconItemPreviewDataBlock_Sticker* Arena::CreateMaybeMessage<::CEconItemPreviewDataBlock_Sticker>(Arena*); -template<> ::CMsgCStrike15Welcome* Arena::CreateMaybeMessage<::CMsgCStrike15Welcome>(Arena*); -template<> ::CMsgCsgoSteamUserStatChange* Arena::CreateMaybeMessage<::CMsgCsgoSteamUserStatChange>(Arena*); -template<> ::CMsgGCCStrike15_ClientDeepStats* Arena::CreateMaybeMessage<::CMsgGCCStrike15_ClientDeepStats>(Arena*); -template<> ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* Arena::CreateMaybeMessage<::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch>(Arena*); -template<> ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* Arena::CreateMaybeMessage<::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange>(Arena*); -template<> ::CMsgGCCStrike15_GotvSyncPacket* Arena::CreateMaybeMessage<::CMsgGCCStrike15_GotvSyncPacket>(Arena*); -template<> ::CMsgGCCStrike15_v2_AccountPrivacySettings* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_AccountPrivacySettings>(Arena*); -template<> ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting>(Arena*); -template<> ::CMsgGCCStrike15_v2_Account_RequestCoPlays* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Account_RequestCoPlays>(Arena*); -template<> ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player>(Arena*); -template<> ::CMsgGCCStrike15_v2_AcknowledgePenalty* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_AcknowledgePenalty>(Arena*); -template<> ::CMsgGCCStrike15_v2_BetaEnrollment* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_BetaEnrollment>(Arena*); -template<> ::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest>(Arena*); -template<> ::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse>(Arena*); -template<> ::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin>(Arena*); -template<> ::CMsgGCCStrike15_v2_Client2GCStreamUnlock* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Client2GCStreamUnlock>(Arena*); -template<> ::CMsgGCCStrike15_v2_Client2GCTextMsg* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Client2GCTextMsg>(Arena*); -template<> ::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Client2GcAckXPShopTracks>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientAccountBalance* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientAccountBalance>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientAuthKeyCode* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientAuthKeyCode>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientCommendPlayer* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientCommendPlayer>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientGCRankUpdate* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientGCRankUpdate>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientLogonFatalError* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientLogonFatalError>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientNetworkConfig* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientNetworkConfig>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientPartyJoinRelay* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientPartyJoinRelay>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientPartyWarning* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientPartyWarning>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientPartyWarning_Entry>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientPerfReport* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientPerfReport>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientPerfReport_Entry* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientPerfReport_Entry>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientPlayerDecalSign* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientPlayerDecalSign>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientPollState* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientPollState>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientReportPlayer* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientReportPlayer>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientReportResponse* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientReportResponse>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientReportServer* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientReportServer>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientReportValidation* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientReportValidation>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientRequestJoinFriendData* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientRequestJoinFriendData>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientRequestJoinServerData* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientRequestJoinServerData>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientRequestOffers* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientRequestOffers>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientRequestPlayersProfile* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientRequestPlayersProfile>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientRequestSouvenir* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientRequestSouvenir>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientSubmitSurveyVote* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientSubmitSurveyVote>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientToGCChat* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientToGCChat>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientToGCRequestElevate* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientToGCRequestElevate>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientToGCRequestTicket* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientToGCRequestTicket>(Arena*); -template<> ::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ClientVarValueNotificationInfo>(Arena*); -template<> ::CMsgGCCStrike15_v2_Fantasy* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Fantasy>(Arena*); -template<> ::CMsgGCCStrike15_v2_Fantasy_FantasySlot* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Fantasy_FantasySlot>(Arena*); -template<> ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Fantasy_FantasyTeam>(Arena*); -template<> ::CMsgGCCStrike15_v2_GC2ClientInitSystem* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GC2ClientInitSystem>(Arena*); -template<> ::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GC2ClientInitSystem_Response>(Arena*); -template<> ::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GC2ClientNotifyXPShop>(Arena*); -template<> ::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode>(Arena*); -template<> ::CMsgGCCStrike15_v2_GC2ClientRequestValidation* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GC2ClientRequestValidation>(Arena*); -template<> ::CMsgGCCStrike15_v2_GC2ClientTextMsg* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GC2ClientTextMsg>(Arena*); -template<> ::CMsgGCCStrike15_v2_GC2ClientTournamentInfo* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GC2ClientTournamentInfo>(Arena*); -template<> ::CMsgGCCStrike15_v2_GC2ServerReservationUpdate* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GC2ServerReservationUpdate>(Arena*); -template<> ::CMsgGCCStrike15_v2_GCToClientChat* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GCToClientChat>(Arena*); -template<> ::CMsgGCCStrike15_v2_GetEventFavorites_Request* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GetEventFavorites_Request>(Arena*); -template<> ::CMsgGCCStrike15_v2_GetEventFavorites_Response* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GetEventFavorites_Response>(Arena*); -template<> ::CMsgGCCStrike15_v2_GiftsLeaderboardRequest* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GiftsLeaderboardRequest>(Arena*); -template<> ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GiftsLeaderboardResponse>(Arena*); -template<> ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchEndRewardDropsNotification>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchEndRunRewardDrops* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchEndRunRewardDrops>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchList* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchList>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchListRequestFullGameInfo>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchListRequestRecentUserGames>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchListRequestTournamentGames* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchListRequestTournamentGames>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchmakingClient2GCHello* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingClient2GCHello>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingClient2ServerPing>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingServerRoundStats>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchmakingStart* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingStart>(Arena*); -template<> ::CMsgGCCStrike15_v2_MatchmakingStop* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingStop>(Arena*); -template<> ::CMsgGCCStrike15_v2_Party_Invite* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Party_Invite>(Arena*); -template<> ::CMsgGCCStrike15_v2_Party_Register* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Party_Register>(Arena*); -template<> ::CMsgGCCStrike15_v2_Party_Search* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Party_Search>(Arena*); -template<> ::CMsgGCCStrike15_v2_Party_SearchResults* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Party_SearchResults>(Arena*); -template<> ::CMsgGCCStrike15_v2_Party_SearchResults_Entry* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Party_SearchResults_Entry>(Arena*); -template<> ::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment>(Arena*); -template<> ::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus>(Arena*); -template<> ::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate>(Arena*); -template<> ::CMsgGCCStrike15_v2_PlayersProfile* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_PlayersProfile>(Arena*); -template<> ::CMsgGCCStrike15_v2_Predictions* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Predictions>(Arena*); -template<> ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick>(Arena*); -template<> ::CMsgGCCStrike15_v2_PremierSeasonSummary* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_PremierSeasonSummary>(Arena*); -template<> ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap>(Arena*); -template<> ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek>(Arena*); -template<> ::CMsgGCCStrike15_v2_Server2GCClientValidate* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_Server2GCClientValidate>(Arena*); -template<> ::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ServerNotificationForUserPenalty>(Arena*); -template<> ::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_ServerVarValueNotificationInfo>(Arena*); -template<> ::CMsgGCCStrike15_v2_SetEventFavorite* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_SetEventFavorite>(Arena*); -template<> ::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName>(Arena*); -template<> ::CMsgGCCStrike15_v2_WatchInfoUsers* Arena::CreateMaybeMessage<::CMsgGCCStrike15_v2_WatchInfoUsers>(Arena*); -template<> ::CMsgGCCstrike15_v2_ClientRedeemFreeReward* Arena::CreateMaybeMessage<::CMsgGCCstrike15_v2_ClientRedeemFreeReward>(Arena*); -template<> ::CMsgGCCstrike15_v2_ClientRedeemMissionReward* Arena::CreateMaybeMessage<::CMsgGCCstrike15_v2_ClientRedeemMissionReward>(Arena*); -template<> ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* Arena::CreateMaybeMessage<::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded>(Arena*); -template<> ::CMsgGCToClientSteamDatagramTicket* Arena::CreateMaybeMessage<::CMsgGCToClientSteamDatagramTicket>(Arena*); -template<> ::CMsgGC_GlobalGame_Play* Arena::CreateMaybeMessage<::CMsgGC_GlobalGame_Play>(Arena*); -template<> ::CMsgGC_GlobalGame_Subscribe* Arena::CreateMaybeMessage<::CMsgGC_GlobalGame_Subscribe>(Arena*); -template<> ::CMsgGC_GlobalGame_Unsubscribe* Arena::CreateMaybeMessage<::CMsgGC_GlobalGame_Unsubscribe>(Arena*); -template<> ::CMsgGC_ServerQuestUpdateData* Arena::CreateMaybeMessage<::CMsgGC_ServerQuestUpdateData>(Arena*); -template<> ::CMsgItemAcknowledged* Arena::CreateMaybeMessage<::CMsgItemAcknowledged>(Arena*); -template<> ::CMsgLegacySource1ClientWelcome* Arena::CreateMaybeMessage<::CMsgLegacySource1ClientWelcome>(Arena*); -template<> ::CMsgLegacySource1ClientWelcome_Location* Arena::CreateMaybeMessage<::CMsgLegacySource1ClientWelcome_Location>(Arena*); -template<> ::CMsgRecurringMissionSchema* Arena::CreateMaybeMessage<::CMsgRecurringMissionSchema>(Arena*); -template<> ::CMsgRecurringMissionSchema_MissionTemplateList* Arena::CreateMaybeMessage<::CMsgRecurringMissionSchema_MissionTemplateList>(Arena*); -template<> ::CMsgRequestRecurringMissionSchedule* Arena::CreateMaybeMessage<::CMsgRequestRecurringMissionSchedule>(Arena*); -template<> ::CPreMatchInfoData* Arena::CreateMaybeMessage<::CPreMatchInfoData>(Arena*); -template<> ::CPreMatchInfoData_TeamStats* Arena::CreateMaybeMessage<::CPreMatchInfoData_TeamStats>(Arena*); -template<> ::CSOAccountItemPersonalStore* Arena::CreateMaybeMessage<::CSOAccountItemPersonalStore>(Arena*); -template<> ::CSOAccountKeychainRemoveToolCharges* Arena::CreateMaybeMessage<::CSOAccountKeychainRemoveToolCharges>(Arena*); -template<> ::CSOAccountRecurringMission* Arena::CreateMaybeMessage<::CSOAccountRecurringMission>(Arena*); -template<> ::CSOAccountRecurringSubscription* Arena::CreateMaybeMessage<::CSOAccountRecurringSubscription>(Arena*); -template<> ::CSOAccountSeasonalOperation* Arena::CreateMaybeMessage<::CSOAccountSeasonalOperation>(Arena*); -template<> ::CSOAccountXpShop* Arena::CreateMaybeMessage<::CSOAccountXpShop>(Arena*); -template<> ::CSOAccountXpShopBids* Arena::CreateMaybeMessage<::CSOAccountXpShopBids>(Arena*); -template<> ::CSOEconCoupon* Arena::CreateMaybeMessage<::CSOEconCoupon>(Arena*); -template<> ::CSOGameAccountSteamChina* Arena::CreateMaybeMessage<::CSOGameAccountSteamChina>(Arena*); -template<> ::CSOPersonaDataPublic* Arena::CreateMaybeMessage<::CSOPersonaDataPublic>(Arena*); -template<> ::CSOQuestProgress* Arena::CreateMaybeMessage<::CSOQuestProgress>(Arena*); -template<> ::CSOVolatileItemClaimedRewards* Arena::CreateMaybeMessage<::CSOVolatileItemClaimedRewards>(Arena*); -template<> ::CSOVolatileItemOffer* Arena::CreateMaybeMessage<::CSOVolatileItemOffer>(Arena*); -template<> ::CVDiagnostic* Arena::CreateMaybeMessage<::CVDiagnostic>(Arena*); -template<> ::DataCenterPing* Arena::CreateMaybeMessage<::DataCenterPing>(Arena*); -template<> ::DeepPlayerMatchEvent* Arena::CreateMaybeMessage<::DeepPlayerMatchEvent>(Arena*); -template<> ::DeepPlayerStatsEntry* Arena::CreateMaybeMessage<::DeepPlayerStatsEntry>(Arena*); -template<> ::DetailedSearchStatistic* Arena::CreateMaybeMessage<::DetailedSearchStatistic>(Arena*); -template<> ::GameServerPing* Arena::CreateMaybeMessage<::GameServerPing>(Arena*); -template<> ::GlobalStatistics* Arena::CreateMaybeMessage<::GlobalStatistics>(Arena*); -template<> ::IpAddressMask* Arena::CreateMaybeMessage<::IpAddressMask>(Arena*); -template<> ::MatchEndItemUpdates* Arena::CreateMaybeMessage<::MatchEndItemUpdates>(Arena*); -template<> ::OperationalStatisticDescription* Arena::CreateMaybeMessage<::OperationalStatisticDescription>(Arena*); -template<> ::OperationalStatisticElement* Arena::CreateMaybeMessage<::OperationalStatisticElement>(Arena*); -template<> ::OperationalStatisticsPacket* Arena::CreateMaybeMessage<::OperationalStatisticsPacket>(Arena*); -template<> ::OperationalVarValue* Arena::CreateMaybeMessage<::OperationalVarValue>(Arena*); -template<> ::PlayerCommendationInfo* Arena::CreateMaybeMessage<::PlayerCommendationInfo>(Arena*); -template<> ::PlayerDecalDigitalSignature* Arena::CreateMaybeMessage<::PlayerDecalDigitalSignature>(Arena*); -template<> ::PlayerMedalsInfo* Arena::CreateMaybeMessage<::PlayerMedalsInfo>(Arena*); -template<> ::PlayerQuestData* Arena::CreateMaybeMessage<::PlayerQuestData>(Arena*); -template<> ::PlayerQuestData_QuestItemData* Arena::CreateMaybeMessage<::PlayerQuestData_QuestItemData>(Arena*); -template<> ::PlayerRankingInfo* Arena::CreateMaybeMessage<::PlayerRankingInfo>(Arena*); -template<> ::PlayerRankingInfo_PerMapRank* Arena::CreateMaybeMessage<::PlayerRankingInfo_PerMapRank>(Arena*); -template<> ::ScoreLeaderboardData* Arena::CreateMaybeMessage<::ScoreLeaderboardData>(Arena*); -template<> ::ScoreLeaderboardData_AccountEntries* Arena::CreateMaybeMessage<::ScoreLeaderboardData_AccountEntries>(Arena*); -template<> ::ScoreLeaderboardData_Entry* Arena::CreateMaybeMessage<::ScoreLeaderboardData_Entry>(Arena*); -template<> ::ServerHltvInfo* Arena::CreateMaybeMessage<::ServerHltvInfo>(Arena*); -template<> ::TournamentEvent* Arena::CreateMaybeMessage<::TournamentEvent>(Arena*); -template<> ::TournamentMatchSetup* Arena::CreateMaybeMessage<::TournamentMatchSetup>(Arena*); -template<> ::TournamentPlayer* Arena::CreateMaybeMessage<::TournamentPlayer>(Arena*); -template<> ::TournamentTeam* Arena::CreateMaybeMessage<::TournamentTeam>(Arena*); -template<> ::WatchableMatchInfo* Arena::CreateMaybeMessage<::WatchableMatchInfo>(Arena*); -template<> ::XpProgressData* Arena::CreateMaybeMessage<::XpProgressData>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum ECsgoGCMsg : int { - k_EMsgGCCStrike15_v2_Base = 9100, - k_EMsgGCCStrike15_v2_MatchmakingStart = 9101, - k_EMsgGCCStrike15_v2_MatchmakingStop = 9102, - k_EMsgGCCStrike15_v2_MatchmakingClient2ServerPing = 9103, - k_EMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate = 9104, - k_EMsgGCCStrike15_v2_MatchmakingServerReservationResponse = 9106, - k_EMsgGCCStrike15_v2_MatchmakingGC2ClientReserve = 9107, - k_EMsgGCCStrike15_v2_MatchmakingClient2GCHello = 9109, - k_EMsgGCCStrike15_v2_MatchmakingGC2ClientHello = 9110, - k_EMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon = 9112, - k_EMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate = 9117, - k_EMsgGCCStrike15_v2_ServerNotificationForUserPenalty = 9118, - k_EMsgGCCStrike15_v2_ClientReportPlayer = 9119, - k_EMsgGCCStrike15_v2_ClientReportServer = 9120, - k_EMsgGCCStrike15_v2_ClientCommendPlayer = 9121, - k_EMsgGCCStrike15_v2_ClientReportResponse = 9122, - k_EMsgGCCStrike15_v2_ClientCommendPlayerQuery = 9123, - k_EMsgGCCStrike15_v2_ClientCommendPlayerQueryResponse = 9124, - k_EMsgGCCStrike15_v2_WatchInfoUsers = 9126, - k_EMsgGCCStrike15_v2_ClientRequestPlayersProfile = 9127, - k_EMsgGCCStrike15_v2_PlayersProfile = 9128, - k_EMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate = 9131, - k_EMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment = 9132, - k_EMsgGCCStrike15_v2_PlayerOverwatchCaseStatus = 9133, - k_EMsgGCCStrike15_v2_GC2ClientTextMsg = 9134, - k_EMsgGCCStrike15_v2_Client2GCTextMsg = 9135, - k_EMsgGCCStrike15_v2_MatchEndRunRewardDrops = 9136, - k_EMsgGCCStrike15_v2_MatchEndRewardDropsNotification = 9137, - k_EMsgGCCStrike15_v2_ClientRequestWatchInfoFriends2 = 9138, - k_EMsgGCCStrike15_v2_MatchList = 9139, - k_EMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames = 9140, - k_EMsgGCCStrike15_v2_MatchListRequestRecentUserGames = 9141, - k_EMsgGCCStrike15_v2_GC2ServerReservationUpdate = 9142, - k_EMsgGCCStrike15_v2_ClientVarValueNotificationInfo = 9144, - k_EMsgGCCStrike15_v2_MatchListRequestTournamentGames = 9146, - k_EMsgGCCStrike15_v2_MatchListRequestFullGameInfo = 9147, - k_EMsgGCCStrike15_v2_GiftsLeaderboardRequest = 9148, - k_EMsgGCCStrike15_v2_GiftsLeaderboardResponse = 9149, - k_EMsgGCCStrike15_v2_ServerVarValueNotificationInfo = 9150, - k_EMsgGCCStrike15_v2_ClientSubmitSurveyVote = 9152, - k_EMsgGCCStrike15_v2_Server2GCClientValidate = 9153, - k_EMsgGCCStrike15_v2_MatchListRequestLiveGameForUser = 9154, - k_EMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest = 9156, - k_EMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse = 9157, - k_EMsgGCCStrike15_v2_AccountPrivacySettings = 9158, - k_EMsgGCCStrike15_v2_SetMyActivityInfo = 9159, - k_EMsgGCCStrike15_v2_MatchListRequestTournamentPredictions = 9160, - k_EMsgGCCStrike15_v2_MatchListUploadTournamentPredictions = 9161, - k_EMsgGCCStrike15_v2_DraftSummary = 9162, - k_EMsgGCCStrike15_v2_ClientRequestJoinFriendData = 9163, - k_EMsgGCCStrike15_v2_ClientRequestJoinServerData = 9164, - k_EMsgGCCStrike15_v2_GC2ClientTournamentInfo = 9167, - k_EMsgGC_GlobalGame_Subscribe = 9168, - k_EMsgGC_GlobalGame_Unsubscribe = 9169, - k_EMsgGC_GlobalGame_Play = 9170, - k_EMsgGCCStrike15_v2_AcknowledgePenalty = 9171, - k_EMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin = 9172, - k_EMsgGCCStrike15_v2_GC2ClientGlobalStats = 9173, - k_EMsgGCCStrike15_v2_Client2GCStreamUnlock = 9174, - k_EMsgGCCStrike15_v2_FantasyRequestClientData = 9175, - k_EMsgGCCStrike15_v2_FantasyUpdateClientData = 9176, - k_EMsgGCCStrike15_v2_GCToClientSteamdatagramTicket = 9177, - k_EMsgGCCStrike15_v2_ClientToGCRequestTicket = 9178, - k_EMsgGCCStrike15_v2_ClientToGCRequestElevate = 9179, - k_EMsgGCCStrike15_v2_GlobalChat = 9180, - k_EMsgGCCStrike15_v2_GlobalChat_Subscribe = 9181, - k_EMsgGCCStrike15_v2_GlobalChat_Unsubscribe = 9182, - k_EMsgGCCStrike15_v2_ClientAuthKeyCode = 9183, - k_EMsgGCCStrike15_v2_GotvSyncPacket = 9184, - k_EMsgGCCStrike15_v2_ClientPlayerDecalSign = 9185, - k_EMsgGCCStrike15_v2_ClientLogonFatalError = 9187, - k_EMsgGCCStrike15_v2_ClientPollState = 9188, - k_EMsgGCCStrike15_v2_Party_Register = 9189, - k_EMsgGCCStrike15_v2_Party_Unregister = 9190, - k_EMsgGCCStrike15_v2_Party_Search = 9191, - k_EMsgGCCStrike15_v2_Party_Invite = 9192, - k_EMsgGCCStrike15_v2_Account_RequestCoPlays = 9193, - k_EMsgGCCStrike15_v2_ClientGCRankUpdate = 9194, - k_EMsgGCCStrike15_v2_ClientRequestOffers = 9195, - k_EMsgGCCStrike15_v2_ClientAccountBalance = 9196, - k_EMsgGCCStrike15_v2_ClientPartyJoinRelay = 9197, - k_EMsgGCCStrike15_v2_ClientPartyWarning = 9198, - k_EMsgGCCStrike15_v2_SetEventFavorite = 9200, - k_EMsgGCCStrike15_v2_GetEventFavorites_Request = 9201, - k_EMsgGCCStrike15_v2_ClientPerfReport = 9202, - k_EMsgGCCStrike15_v2_GetEventFavorites_Response = 9203, - k_EMsgGCCStrike15_v2_ClientRequestSouvenir = 9204, - k_EMsgGCCStrike15_v2_ClientReportValidation = 9205, - k_EMsgGCCStrike15_v2_GC2ClientRefuseSecureMode = 9206, - k_EMsgGCCStrike15_v2_GC2ClientRequestValidation = 9207, - k_EMsgGCCStrike15_v2_ClientRedeemMissionReward = 9209, - k_EMsgGCCStrike15_ClientDeepStats = 9210, - k_EMsgGCCStrike15_StartAgreementSessionInGame = 9211, - k_EMsgGCCStrike15_v2_GC2ClientInitSystem = 9212, - k_EMsgGCCStrike15_v2_GC2ClientInitSystem_Response = 9213, - k_EMsgGCCStrike15_v2_PrivateQueues = 9214, - k_EMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt = 9215, - k_EMsgGCCStrike15_v2_BetaEnrollment = 9217, - k_EMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName = 9218, - k_EMsgGCCStrike15_v2_ClientRedeemFreeReward = 9219, - k_EMsgGCCStrike15_v2_ClientNetworkConfig = 9220, - k_EMsgGCCStrike15_v2_GC2ClientNotifyXPShop = 9221, - k_EMsgGCCStrike15_v2_Client2GcAckXPShopTracks = 9222, - k_EMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats = 9223, - k_EMsgGCCStrike15_v2_PremierSeasonSummary = 9224, - k_EMsgGCCStrike15_v2_RequestRecurringMissionSchedule = 9225, - k_EMsgGCCStrike15_v2_RecurringMissionSchema = 9226, - k_EMsgGCCStrike15_v2_VolatileItemClaimReward = 9227 -}; -bool ECsgoGCMsg_IsValid(int value); -constexpr ECsgoGCMsg ECsgoGCMsg_MIN = k_EMsgGCCStrike15_v2_Base; -constexpr ECsgoGCMsg ECsgoGCMsg_MAX = k_EMsgGCCStrike15_v2_VolatileItemClaimReward; -constexpr int ECsgoGCMsg_ARRAYSIZE = ECsgoGCMsg_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECsgoGCMsg_descriptor(); -template -inline const std::string& ECsgoGCMsg_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ECsgoGCMsg_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ECsgoGCMsg_descriptor(), enum_t_value); -} -inline bool ECsgoGCMsg_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ECsgoGCMsg* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ECsgoGCMsg_descriptor(), name, value); -} -enum ECsgoSteamUserStat : int { - k_ECsgoSteamUserStat_XpEarnedGames = 1, - k_ECsgoSteamUserStat_MatchWinsCompetitive = 2, - k_ECsgoSteamUserStat_SurvivedDangerZone = 3 -}; -bool ECsgoSteamUserStat_IsValid(int value); -constexpr ECsgoSteamUserStat ECsgoSteamUserStat_MIN = k_ECsgoSteamUserStat_XpEarnedGames; -constexpr ECsgoSteamUserStat ECsgoSteamUserStat_MAX = k_ECsgoSteamUserStat_SurvivedDangerZone; -constexpr int ECsgoSteamUserStat_ARRAYSIZE = ECsgoSteamUserStat_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECsgoSteamUserStat_descriptor(); -template -inline const std::string& ECsgoSteamUserStat_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ECsgoSteamUserStat_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ECsgoSteamUserStat_descriptor(), enum_t_value); -} -inline bool ECsgoSteamUserStat_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ECsgoSteamUserStat* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ECsgoSteamUserStat_descriptor(), name, value); -} -enum QuestType : int { - k_EQuestType_Operation = 1, - k_EQuestType_RecurringMission = 2 -}; -bool QuestType_IsValid(int value); -constexpr QuestType QuestType_MIN = k_EQuestType_Operation; -constexpr QuestType QuestType_MAX = k_EQuestType_RecurringMission; -constexpr int QuestType_ARRAYSIZE = QuestType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* QuestType_descriptor(); -template -inline const std::string& QuestType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function QuestType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - QuestType_descriptor(), enum_t_value); -} -inline bool QuestType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, QuestType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - QuestType_descriptor(), name, value); -} -enum EClientReportingVersion : int { - k_EClientReportingVersion_OldVersion = 0, - k_EClientReportingVersion_BetaVersion = 1, - k_EClientReportingVersion_SupportsTrustedMode = 2 -}; -bool EClientReportingVersion_IsValid(int value); -constexpr EClientReportingVersion EClientReportingVersion_MIN = k_EClientReportingVersion_OldVersion; -constexpr EClientReportingVersion EClientReportingVersion_MAX = k_EClientReportingVersion_SupportsTrustedMode; -constexpr int EClientReportingVersion_ARRAYSIZE = EClientReportingVersion_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EClientReportingVersion_descriptor(); -template -inline const std::string& EClientReportingVersion_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EClientReportingVersion_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EClientReportingVersion_descriptor(), enum_t_value); -} -inline bool EClientReportingVersion_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EClientReportingVersion* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EClientReportingVersion_descriptor(), name, value); -} -enum EInitSystemResult : int { - k_EInitSystemResult_Invalid = 0, - k_EInitSystemResult_Success = 1, - k_EInitSystemResult_None = 2, - k_EInitSystemResult_NotFound = 3, - k_EInitSystemResult_Existing = 4, - k_EInitSystemResult_FailedOpen = 5, - k_EInitSystemResult_Mismatch = 6, - k_EInitSystemResult_FailedInit = 7, - k_EInitSystemResult_Max = 8 -}; -bool EInitSystemResult_IsValid(int value); -constexpr EInitSystemResult EInitSystemResult_MIN = k_EInitSystemResult_Invalid; -constexpr EInitSystemResult EInitSystemResult_MAX = k_EInitSystemResult_Max; -constexpr int EInitSystemResult_ARRAYSIZE = EInitSystemResult_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EInitSystemResult_descriptor(); -template -inline const std::string& EInitSystemResult_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EInitSystemResult_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EInitSystemResult_descriptor(), enum_t_value); -} -inline bool EInitSystemResult_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EInitSystemResult* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EInitSystemResult_descriptor(), name, value); -} -// =================================================================== - -class GameServerPing : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:GameServerPing) */ { - public: - inline GameServerPing() : GameServerPing(nullptr) {} - ~GameServerPing() override; - explicit PROTOBUF_CONSTEXPR GameServerPing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - GameServerPing(const GameServerPing& from); - GameServerPing(GameServerPing&& from) noexcept - : GameServerPing() { - *this = ::std::move(from); - } - - inline GameServerPing& operator=(const GameServerPing& from) { - CopyFrom(from); - return *this; - } - inline GameServerPing& operator=(GameServerPing&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GameServerPing& default_instance() { - return *internal_default_instance(); - } - static inline const GameServerPing* internal_default_instance() { - return reinterpret_cast( - &_GameServerPing_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(GameServerPing& a, GameServerPing& b) { - a.Swap(&b); - } - inline void Swap(GameServerPing* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GameServerPing* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GameServerPing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GameServerPing& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const GameServerPing& from) { - GameServerPing::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(GameServerPing* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "GameServerPing"; - } - protected: - explicit GameServerPing(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPingFieldNumber = 2, - kIpFieldNumber = 3, - kInstancesFieldNumber = 5, - }; - // optional int32 ping = 2; - bool has_ping() const; - private: - bool _internal_has_ping() const; - public: - void clear_ping(); - int32_t ping() const; - void set_ping(int32_t value); - private: - int32_t _internal_ping() const; - void _internal_set_ping(int32_t value); - public: - - // optional uint32 ip = 3; - bool has_ip() const; - private: - bool _internal_has_ip() const; - public: - void clear_ip(); - uint32_t ip() const; - void set_ip(uint32_t value); - private: - uint32_t _internal_ip() const; - void _internal_set_ip(uint32_t value); - public: - - // optional uint32 instances = 5; - bool has_instances() const; - private: - bool _internal_has_instances() const; - public: - void clear_instances(); - uint32_t instances() const; - void set_instances(uint32_t value); - private: - uint32_t _internal_instances() const; - void _internal_set_instances(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:GameServerPing) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t ping_; - uint32_t ip_; - uint32_t instances_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class DataCenterPing : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:DataCenterPing) */ { - public: - inline DataCenterPing() : DataCenterPing(nullptr) {} - ~DataCenterPing() override; - explicit PROTOBUF_CONSTEXPR DataCenterPing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - DataCenterPing(const DataCenterPing& from); - DataCenterPing(DataCenterPing&& from) noexcept - : DataCenterPing() { - *this = ::std::move(from); - } - - inline DataCenterPing& operator=(const DataCenterPing& from) { - CopyFrom(from); - return *this; - } - inline DataCenterPing& operator=(DataCenterPing&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const DataCenterPing& default_instance() { - return *internal_default_instance(); - } - static inline const DataCenterPing* internal_default_instance() { - return reinterpret_cast( - &_DataCenterPing_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(DataCenterPing& a, DataCenterPing& b) { - a.Swap(&b); - } - inline void Swap(DataCenterPing* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DataCenterPing* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DataCenterPing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DataCenterPing& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const DataCenterPing& from) { - DataCenterPing::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(DataCenterPing* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "DataCenterPing"; - } - protected: - explicit DataCenterPing(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataCenterIdFieldNumber = 1, - kPingFieldNumber = 2, - }; - // optional fixed32 data_center_id = 1; - bool has_data_center_id() const; - private: - bool _internal_has_data_center_id() const; - public: - void clear_data_center_id(); - uint32_t data_center_id() const; - void set_data_center_id(uint32_t value); - private: - uint32_t _internal_data_center_id() const; - void _internal_set_data_center_id(uint32_t value); - public: - - // optional sint32 ping = 2; - bool has_ping() const; - private: - bool _internal_has_ping() const; - public: - void clear_ping(); - int32_t ping() const; - void set_ping(int32_t value); - private: - int32_t _internal_ping() const; - void _internal_set_ping(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:DataCenterPing) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t data_center_id_; - int32_t ping_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class DetailedSearchStatistic : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:DetailedSearchStatistic) */ { - public: - inline DetailedSearchStatistic() : DetailedSearchStatistic(nullptr) {} - ~DetailedSearchStatistic() override; - explicit PROTOBUF_CONSTEXPR DetailedSearchStatistic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - DetailedSearchStatistic(const DetailedSearchStatistic& from); - DetailedSearchStatistic(DetailedSearchStatistic&& from) noexcept - : DetailedSearchStatistic() { - *this = ::std::move(from); - } - - inline DetailedSearchStatistic& operator=(const DetailedSearchStatistic& from) { - CopyFrom(from); - return *this; - } - inline DetailedSearchStatistic& operator=(DetailedSearchStatistic&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const DetailedSearchStatistic& default_instance() { - return *internal_default_instance(); - } - static inline const DetailedSearchStatistic* internal_default_instance() { - return reinterpret_cast( - &_DetailedSearchStatistic_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(DetailedSearchStatistic& a, DetailedSearchStatistic& b) { - a.Swap(&b); - } - inline void Swap(DetailedSearchStatistic* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DetailedSearchStatistic* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DetailedSearchStatistic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DetailedSearchStatistic& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const DetailedSearchStatistic& from) { - DetailedSearchStatistic::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(DetailedSearchStatistic* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "DetailedSearchStatistic"; - } - protected: - explicit DetailedSearchStatistic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGameTypeFieldNumber = 1, - kSearchTimeAvgFieldNumber = 2, - kPlayersSearchingFieldNumber = 4, - }; - // optional uint32 game_type = 1; - bool has_game_type() const; - private: - bool _internal_has_game_type() const; - public: - void clear_game_type(); - uint32_t game_type() const; - void set_game_type(uint32_t value); - private: - uint32_t _internal_game_type() const; - void _internal_set_game_type(uint32_t value); - public: - - // optional uint32 search_time_avg = 2; - bool has_search_time_avg() const; - private: - bool _internal_has_search_time_avg() const; - public: - void clear_search_time_avg(); - uint32_t search_time_avg() const; - void set_search_time_avg(uint32_t value); - private: - uint32_t _internal_search_time_avg() const; - void _internal_set_search_time_avg(uint32_t value); - public: - - // optional uint32 players_searching = 4; - bool has_players_searching() const; - private: - bool _internal_has_players_searching() const; - public: - void clear_players_searching(); - uint32_t players_searching() const; - void set_players_searching(uint32_t value); - private: - uint32_t _internal_players_searching() const; - void _internal_set_players_searching(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:DetailedSearchStatistic) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t game_type_; - uint32_t search_time_avg_; - uint32_t players_searching_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class TournamentPlayer : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:TournamentPlayer) */ { - public: - inline TournamentPlayer() : TournamentPlayer(nullptr) {} - ~TournamentPlayer() override; - explicit PROTOBUF_CONSTEXPR TournamentPlayer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TournamentPlayer(const TournamentPlayer& from); - TournamentPlayer(TournamentPlayer&& from) noexcept - : TournamentPlayer() { - *this = ::std::move(from); - } - - inline TournamentPlayer& operator=(const TournamentPlayer& from) { - CopyFrom(from); - return *this; - } - inline TournamentPlayer& operator=(TournamentPlayer&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TournamentPlayer& default_instance() { - return *internal_default_instance(); - } - static inline const TournamentPlayer* internal_default_instance() { - return reinterpret_cast( - &_TournamentPlayer_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(TournamentPlayer& a, TournamentPlayer& b) { - a.Swap(&b); - } - inline void Swap(TournamentPlayer* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TournamentPlayer* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TournamentPlayer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TournamentPlayer& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TournamentPlayer& from) { - TournamentPlayer::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TournamentPlayer* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "TournamentPlayer"; - } - protected: - explicit TournamentPlayer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPlayerNickFieldNumber = 2, - kPlayerNameFieldNumber = 3, - kPlayerFlagFieldNumber = 5, - kPlayerLocationFieldNumber = 6, - kPlayerDescFieldNumber = 7, - kAccountIdFieldNumber = 1, - kPlayerDobFieldNumber = 4, - }; - // optional string player_nick = 2; - bool has_player_nick() const; - private: - bool _internal_has_player_nick() const; - public: - void clear_player_nick(); - const std::string& player_nick() const; - template - void set_player_nick(ArgT0&& arg0, ArgT... args); - std::string* mutable_player_nick(); - PROTOBUF_NODISCARD std::string* release_player_nick(); - void set_allocated_player_nick(std::string* player_nick); - private: - const std::string& _internal_player_nick() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_player_nick(const std::string& value); - std::string* _internal_mutable_player_nick(); - public: - - // optional string player_name = 3; - bool has_player_name() const; - private: - bool _internal_has_player_name() const; - public: - void clear_player_name(); - const std::string& player_name() const; - template - void set_player_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_player_name(); - PROTOBUF_NODISCARD std::string* release_player_name(); - void set_allocated_player_name(std::string* player_name); - private: - const std::string& _internal_player_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_player_name(const std::string& value); - std::string* _internal_mutable_player_name(); - public: - - // optional string player_flag = 5; - bool has_player_flag() const; - private: - bool _internal_has_player_flag() const; - public: - void clear_player_flag(); - const std::string& player_flag() const; - template - void set_player_flag(ArgT0&& arg0, ArgT... args); - std::string* mutable_player_flag(); - PROTOBUF_NODISCARD std::string* release_player_flag(); - void set_allocated_player_flag(std::string* player_flag); - private: - const std::string& _internal_player_flag() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_player_flag(const std::string& value); - std::string* _internal_mutable_player_flag(); - public: - - // optional string player_location = 6; - bool has_player_location() const; - private: - bool _internal_has_player_location() const; - public: - void clear_player_location(); - const std::string& player_location() const; - template - void set_player_location(ArgT0&& arg0, ArgT... args); - std::string* mutable_player_location(); - PROTOBUF_NODISCARD std::string* release_player_location(); - void set_allocated_player_location(std::string* player_location); - private: - const std::string& _internal_player_location() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_player_location(const std::string& value); - std::string* _internal_mutable_player_location(); - public: - - // optional string player_desc = 7; - bool has_player_desc() const; - private: - bool _internal_has_player_desc() const; - public: - void clear_player_desc(); - const std::string& player_desc() const; - template - void set_player_desc(ArgT0&& arg0, ArgT... args); - std::string* mutable_player_desc(); - PROTOBUF_NODISCARD std::string* release_player_desc(); - void set_allocated_player_desc(std::string* player_desc); - private: - const std::string& _internal_player_desc() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_player_desc(const std::string& value); - std::string* _internal_mutable_player_desc(); - public: - - // optional uint32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 player_dob = 4; - bool has_player_dob() const; - private: - bool _internal_has_player_dob() const; - public: - void clear_player_dob(); - uint32_t player_dob() const; - void set_player_dob(uint32_t value); - private: - uint32_t _internal_player_dob() const; - void _internal_set_player_dob(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:TournamentPlayer) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr player_nick_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr player_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr player_flag_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr player_location_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr player_desc_; - uint32_t account_id_; - uint32_t player_dob_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class TournamentTeam : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:TournamentTeam) */ { - public: - inline TournamentTeam() : TournamentTeam(nullptr) {} - ~TournamentTeam() override; - explicit PROTOBUF_CONSTEXPR TournamentTeam(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TournamentTeam(const TournamentTeam& from); - TournamentTeam(TournamentTeam&& from) noexcept - : TournamentTeam() { - *this = ::std::move(from); - } - - inline TournamentTeam& operator=(const TournamentTeam& from) { - CopyFrom(from); - return *this; - } - inline TournamentTeam& operator=(TournamentTeam&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TournamentTeam& default_instance() { - return *internal_default_instance(); - } - static inline const TournamentTeam* internal_default_instance() { - return reinterpret_cast( - &_TournamentTeam_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(TournamentTeam& a, TournamentTeam& b) { - a.Swap(&b); - } - inline void Swap(TournamentTeam* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TournamentTeam* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TournamentTeam* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TournamentTeam& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TournamentTeam& from) { - TournamentTeam::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TournamentTeam* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "TournamentTeam"; - } - protected: - explicit TournamentTeam(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPlayersFieldNumber = 5, - kTeamTagFieldNumber = 2, - kTeamFlagFieldNumber = 3, - kTeamNameFieldNumber = 4, - kTeamIdFieldNumber = 1, - }; - // repeated .TournamentPlayer players = 5; - int players_size() const; - private: - int _internal_players_size() const; - public: - void clear_players(); - ::TournamentPlayer* mutable_players(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentPlayer >* - mutable_players(); - private: - const ::TournamentPlayer& _internal_players(int index) const; - ::TournamentPlayer* _internal_add_players(); - public: - const ::TournamentPlayer& players(int index) const; - ::TournamentPlayer* add_players(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentPlayer >& - players() const; - - // optional string team_tag = 2; - bool has_team_tag() const; - private: - bool _internal_has_team_tag() const; - public: - void clear_team_tag(); - const std::string& team_tag() const; - template - void set_team_tag(ArgT0&& arg0, ArgT... args); - std::string* mutable_team_tag(); - PROTOBUF_NODISCARD std::string* release_team_tag(); - void set_allocated_team_tag(std::string* team_tag); - private: - const std::string& _internal_team_tag() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_team_tag(const std::string& value); - std::string* _internal_mutable_team_tag(); - public: - - // optional string team_flag = 3; - bool has_team_flag() const; - private: - bool _internal_has_team_flag() const; - public: - void clear_team_flag(); - const std::string& team_flag() const; - template - void set_team_flag(ArgT0&& arg0, ArgT... args); - std::string* mutable_team_flag(); - PROTOBUF_NODISCARD std::string* release_team_flag(); - void set_allocated_team_flag(std::string* team_flag); - private: - const std::string& _internal_team_flag() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_team_flag(const std::string& value); - std::string* _internal_mutable_team_flag(); - public: - - // optional string team_name = 4; - bool has_team_name() const; - private: - bool _internal_has_team_name() const; - public: - void clear_team_name(); - const std::string& team_name() const; - template - void set_team_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_team_name(); - PROTOBUF_NODISCARD std::string* release_team_name(); - void set_allocated_team_name(std::string* team_name); - private: - const std::string& _internal_team_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_team_name(const std::string& value); - std::string* _internal_mutable_team_name(); - public: - - // optional int32 team_id = 1; - bool has_team_id() const; - private: - bool _internal_has_team_id() const; - public: - void clear_team_id(); - int32_t team_id() const; - void set_team_id(int32_t value); - private: - int32_t _internal_team_id() const; - void _internal_set_team_id(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:TournamentTeam) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentPlayer > players_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr team_tag_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr team_flag_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr team_name_; - int32_t team_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class TournamentEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:TournamentEvent) */ { - public: - inline TournamentEvent() : TournamentEvent(nullptr) {} - ~TournamentEvent() override; - explicit PROTOBUF_CONSTEXPR TournamentEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TournamentEvent(const TournamentEvent& from); - TournamentEvent(TournamentEvent&& from) noexcept - : TournamentEvent() { - *this = ::std::move(from); - } - - inline TournamentEvent& operator=(const TournamentEvent& from) { - CopyFrom(from); - return *this; - } - inline TournamentEvent& operator=(TournamentEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TournamentEvent& default_instance() { - return *internal_default_instance(); - } - static inline const TournamentEvent* internal_default_instance() { - return reinterpret_cast( - &_TournamentEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(TournamentEvent& a, TournamentEvent& b) { - a.Swap(&b); - } - inline void Swap(TournamentEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TournamentEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TournamentEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TournamentEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TournamentEvent& from) { - TournamentEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TournamentEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "TournamentEvent"; - } - protected: - explicit TournamentEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEventTagFieldNumber = 2, - kEventNameFieldNumber = 3, - kEventStageNameFieldNumber = 8, - kEventIdFieldNumber = 1, - kEventTimeStartFieldNumber = 4, - kEventTimeEndFieldNumber = 5, - kEventPublicFieldNumber = 6, - kEventStageIdFieldNumber = 7, - kActiveSectionIdFieldNumber = 9, - }; - // optional string event_tag = 2; - bool has_event_tag() const; - private: - bool _internal_has_event_tag() const; - public: - void clear_event_tag(); - const std::string& event_tag() const; - template - void set_event_tag(ArgT0&& arg0, ArgT... args); - std::string* mutable_event_tag(); - PROTOBUF_NODISCARD std::string* release_event_tag(); - void set_allocated_event_tag(std::string* event_tag); - private: - const std::string& _internal_event_tag() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_tag(const std::string& value); - std::string* _internal_mutable_event_tag(); - public: - - // optional string event_name = 3; - bool has_event_name() const; - private: - bool _internal_has_event_name() const; - public: - void clear_event_name(); - const std::string& event_name() const; - template - void set_event_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_event_name(); - PROTOBUF_NODISCARD std::string* release_event_name(); - void set_allocated_event_name(std::string* event_name); - private: - const std::string& _internal_event_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_name(const std::string& value); - std::string* _internal_mutable_event_name(); - public: - - // optional string event_stage_name = 8; - bool has_event_stage_name() const; - private: - bool _internal_has_event_stage_name() const; - public: - void clear_event_stage_name(); - const std::string& event_stage_name() const; - template - void set_event_stage_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_event_stage_name(); - PROTOBUF_NODISCARD std::string* release_event_stage_name(); - void set_allocated_event_stage_name(std::string* event_stage_name); - private: - const std::string& _internal_event_stage_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_stage_name(const std::string& value); - std::string* _internal_mutable_event_stage_name(); - public: - - // optional int32 event_id = 1; - bool has_event_id() const; - private: - bool _internal_has_event_id() const; - public: - void clear_event_id(); - int32_t event_id() const; - void set_event_id(int32_t value); - private: - int32_t _internal_event_id() const; - void _internal_set_event_id(int32_t value); - public: - - // optional uint32 event_time_start = 4; - bool has_event_time_start() const; - private: - bool _internal_has_event_time_start() const; - public: - void clear_event_time_start(); - uint32_t event_time_start() const; - void set_event_time_start(uint32_t value); - private: - uint32_t _internal_event_time_start() const; - void _internal_set_event_time_start(uint32_t value); - public: - - // optional uint32 event_time_end = 5; - bool has_event_time_end() const; - private: - bool _internal_has_event_time_end() const; - public: - void clear_event_time_end(); - uint32_t event_time_end() const; - void set_event_time_end(uint32_t value); - private: - uint32_t _internal_event_time_end() const; - void _internal_set_event_time_end(uint32_t value); - public: - - // optional int32 event_public = 6; - bool has_event_public() const; - private: - bool _internal_has_event_public() const; - public: - void clear_event_public(); - int32_t event_public() const; - void set_event_public(int32_t value); - private: - int32_t _internal_event_public() const; - void _internal_set_event_public(int32_t value); - public: - - // optional int32 event_stage_id = 7; - bool has_event_stage_id() const; - private: - bool _internal_has_event_stage_id() const; - public: - void clear_event_stage_id(); - int32_t event_stage_id() const; - void set_event_stage_id(int32_t value); - private: - int32_t _internal_event_stage_id() const; - void _internal_set_event_stage_id(int32_t value); - public: - - // optional uint32 active_section_id = 9; - bool has_active_section_id() const; - private: - bool _internal_has_active_section_id() const; - public: - void clear_active_section_id(); - uint32_t active_section_id() const; - void set_active_section_id(uint32_t value); - private: - uint32_t _internal_active_section_id() const; - void _internal_set_active_section_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:TournamentEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_tag_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_stage_name_; - int32_t event_id_; - uint32_t event_time_start_; - uint32_t event_time_end_; - int32_t event_public_; - int32_t event_stage_id_; - uint32_t active_section_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class GlobalStatistics : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:GlobalStatistics) */ { - public: - inline GlobalStatistics() : GlobalStatistics(nullptr) {} - ~GlobalStatistics() override; - explicit PROTOBUF_CONSTEXPR GlobalStatistics(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - GlobalStatistics(const GlobalStatistics& from); - GlobalStatistics(GlobalStatistics&& from) noexcept - : GlobalStatistics() { - *this = ::std::move(from); - } - - inline GlobalStatistics& operator=(const GlobalStatistics& from) { - CopyFrom(from); - return *this; - } - inline GlobalStatistics& operator=(GlobalStatistics&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GlobalStatistics& default_instance() { - return *internal_default_instance(); - } - static inline const GlobalStatistics* internal_default_instance() { - return reinterpret_cast( - &_GlobalStatistics_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(GlobalStatistics& a, GlobalStatistics& b) { - a.Swap(&b); - } - inline void Swap(GlobalStatistics* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GlobalStatistics* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GlobalStatistics* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const GlobalStatistics& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const GlobalStatistics& from) { - GlobalStatistics::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(GlobalStatistics* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "GlobalStatistics"; - } - protected: - explicit GlobalStatistics(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSearchStatisticsFieldNumber = 7, - kMainPostUrlFieldNumber = 8, - kPlayersOnlineFieldNumber = 1, - kServersOnlineFieldNumber = 2, - kPlayersSearchingFieldNumber = 3, - kServersAvailableFieldNumber = 4, - kOngoingMatchesFieldNumber = 5, - kSearchTimeAvgFieldNumber = 6, - kRequiredAppidVersionFieldNumber = 9, - kPricesheetVersionFieldNumber = 10, - kTwitchStreamsVersionFieldNumber = 11, - kActiveTournamentEventidFieldNumber = 12, - kActiveSurveyIdFieldNumber = 13, - kRtime32CurFieldNumber = 14, - kRequiredAppidVersion2FieldNumber = 16, - }; - // repeated .DetailedSearchStatistic search_statistics = 7; - int search_statistics_size() const; - private: - int _internal_search_statistics_size() const; - public: - void clear_search_statistics(); - ::DetailedSearchStatistic* mutable_search_statistics(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DetailedSearchStatistic >* - mutable_search_statistics(); - private: - const ::DetailedSearchStatistic& _internal_search_statistics(int index) const; - ::DetailedSearchStatistic* _internal_add_search_statistics(); - public: - const ::DetailedSearchStatistic& search_statistics(int index) const; - ::DetailedSearchStatistic* add_search_statistics(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DetailedSearchStatistic >& - search_statistics() const; - - // optional string main_post_url = 8; - bool has_main_post_url() const; - private: - bool _internal_has_main_post_url() const; - public: - void clear_main_post_url(); - const std::string& main_post_url() const; - template - void set_main_post_url(ArgT0&& arg0, ArgT... args); - std::string* mutable_main_post_url(); - PROTOBUF_NODISCARD std::string* release_main_post_url(); - void set_allocated_main_post_url(std::string* main_post_url); - private: - const std::string& _internal_main_post_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_main_post_url(const std::string& value); - std::string* _internal_mutable_main_post_url(); - public: - - // optional uint32 players_online = 1; - bool has_players_online() const; - private: - bool _internal_has_players_online() const; - public: - void clear_players_online(); - uint32_t players_online() const; - void set_players_online(uint32_t value); - private: - uint32_t _internal_players_online() const; - void _internal_set_players_online(uint32_t value); - public: - - // optional uint32 servers_online = 2; - bool has_servers_online() const; - private: - bool _internal_has_servers_online() const; - public: - void clear_servers_online(); - uint32_t servers_online() const; - void set_servers_online(uint32_t value); - private: - uint32_t _internal_servers_online() const; - void _internal_set_servers_online(uint32_t value); - public: - - // optional uint32 players_searching = 3; - bool has_players_searching() const; - private: - bool _internal_has_players_searching() const; - public: - void clear_players_searching(); - uint32_t players_searching() const; - void set_players_searching(uint32_t value); - private: - uint32_t _internal_players_searching() const; - void _internal_set_players_searching(uint32_t value); - public: - - // optional uint32 servers_available = 4; - bool has_servers_available() const; - private: - bool _internal_has_servers_available() const; - public: - void clear_servers_available(); - uint32_t servers_available() const; - void set_servers_available(uint32_t value); - private: - uint32_t _internal_servers_available() const; - void _internal_set_servers_available(uint32_t value); - public: - - // optional uint32 ongoing_matches = 5; - bool has_ongoing_matches() const; - private: - bool _internal_has_ongoing_matches() const; - public: - void clear_ongoing_matches(); - uint32_t ongoing_matches() const; - void set_ongoing_matches(uint32_t value); - private: - uint32_t _internal_ongoing_matches() const; - void _internal_set_ongoing_matches(uint32_t value); - public: - - // optional uint32 search_time_avg = 6; - bool has_search_time_avg() const; - private: - bool _internal_has_search_time_avg() const; - public: - void clear_search_time_avg(); - uint32_t search_time_avg() const; - void set_search_time_avg(uint32_t value); - private: - uint32_t _internal_search_time_avg() const; - void _internal_set_search_time_avg(uint32_t value); - public: - - // optional uint32 required_appid_version = 9; - bool has_required_appid_version() const; - private: - bool _internal_has_required_appid_version() const; - public: - void clear_required_appid_version(); - uint32_t required_appid_version() const; - void set_required_appid_version(uint32_t value); - private: - uint32_t _internal_required_appid_version() const; - void _internal_set_required_appid_version(uint32_t value); - public: - - // optional uint32 pricesheet_version = 10; - bool has_pricesheet_version() const; - private: - bool _internal_has_pricesheet_version() const; - public: - void clear_pricesheet_version(); - uint32_t pricesheet_version() const; - void set_pricesheet_version(uint32_t value); - private: - uint32_t _internal_pricesheet_version() const; - void _internal_set_pricesheet_version(uint32_t value); - public: - - // optional uint32 twitch_streams_version = 11; - bool has_twitch_streams_version() const; - private: - bool _internal_has_twitch_streams_version() const; - public: - void clear_twitch_streams_version(); - uint32_t twitch_streams_version() const; - void set_twitch_streams_version(uint32_t value); - private: - uint32_t _internal_twitch_streams_version() const; - void _internal_set_twitch_streams_version(uint32_t value); - public: - - // optional uint32 active_tournament_eventid = 12; - bool has_active_tournament_eventid() const; - private: - bool _internal_has_active_tournament_eventid() const; - public: - void clear_active_tournament_eventid(); - uint32_t active_tournament_eventid() const; - void set_active_tournament_eventid(uint32_t value); - private: - uint32_t _internal_active_tournament_eventid() const; - void _internal_set_active_tournament_eventid(uint32_t value); - public: - - // optional uint32 active_survey_id = 13; - bool has_active_survey_id() const; - private: - bool _internal_has_active_survey_id() const; - public: - void clear_active_survey_id(); - uint32_t active_survey_id() const; - void set_active_survey_id(uint32_t value); - private: - uint32_t _internal_active_survey_id() const; - void _internal_set_active_survey_id(uint32_t value); - public: - - // optional uint32 rtime32_cur = 14; - bool has_rtime32_cur() const; - private: - bool _internal_has_rtime32_cur() const; - public: - void clear_rtime32_cur(); - uint32_t rtime32_cur() const; - void set_rtime32_cur(uint32_t value); - private: - uint32_t _internal_rtime32_cur() const; - void _internal_set_rtime32_cur(uint32_t value); - public: - - // optional uint32 required_appid_version2 = 16; - bool has_required_appid_version2() const; - private: - bool _internal_has_required_appid_version2() const; - public: - void clear_required_appid_version2(); - uint32_t required_appid_version2() const; - void set_required_appid_version2(uint32_t value); - private: - uint32_t _internal_required_appid_version2() const; - void _internal_set_required_appid_version2(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:GlobalStatistics) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DetailedSearchStatistic > search_statistics_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr main_post_url_; - uint32_t players_online_; - uint32_t servers_online_; - uint32_t players_searching_; - uint32_t servers_available_; - uint32_t ongoing_matches_; - uint32_t search_time_avg_; - uint32_t required_appid_version_; - uint32_t pricesheet_version_; - uint32_t twitch_streams_version_; - uint32_t active_tournament_eventid_; - uint32_t active_survey_id_; - uint32_t rtime32_cur_; - uint32_t required_appid_version2_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class OperationalStatisticDescription : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:OperationalStatisticDescription) */ { - public: - inline OperationalStatisticDescription() : OperationalStatisticDescription(nullptr) {} - ~OperationalStatisticDescription() override; - explicit PROTOBUF_CONSTEXPR OperationalStatisticDescription(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - OperationalStatisticDescription(const OperationalStatisticDescription& from); - OperationalStatisticDescription(OperationalStatisticDescription&& from) noexcept - : OperationalStatisticDescription() { - *this = ::std::move(from); - } - - inline OperationalStatisticDescription& operator=(const OperationalStatisticDescription& from) { - CopyFrom(from); - return *this; - } - inline OperationalStatisticDescription& operator=(OperationalStatisticDescription&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const OperationalStatisticDescription& default_instance() { - return *internal_default_instance(); - } - static inline const OperationalStatisticDescription* internal_default_instance() { - return reinterpret_cast( - &_OperationalStatisticDescription_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(OperationalStatisticDescription& a, OperationalStatisticDescription& b) { - a.Swap(&b); - } - inline void Swap(OperationalStatisticDescription* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(OperationalStatisticDescription* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - OperationalStatisticDescription* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const OperationalStatisticDescription& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const OperationalStatisticDescription& from) { - OperationalStatisticDescription::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(OperationalStatisticDescription* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "OperationalStatisticDescription"; - } - protected: - explicit OperationalStatisticDescription(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 1, - kIdkeyFieldNumber = 2, - }; - // optional string name = 1; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional uint32 idkey = 2; - bool has_idkey() const; - private: - bool _internal_has_idkey() const; - public: - void clear_idkey(); - uint32_t idkey() const; - void set_idkey(uint32_t value); - private: - uint32_t _internal_idkey() const; - void _internal_set_idkey(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:OperationalStatisticDescription) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - uint32_t idkey_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class OperationalStatisticElement : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:OperationalStatisticElement) */ { - public: - inline OperationalStatisticElement() : OperationalStatisticElement(nullptr) {} - ~OperationalStatisticElement() override; - explicit PROTOBUF_CONSTEXPR OperationalStatisticElement(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - OperationalStatisticElement(const OperationalStatisticElement& from); - OperationalStatisticElement(OperationalStatisticElement&& from) noexcept - : OperationalStatisticElement() { - *this = ::std::move(from); - } - - inline OperationalStatisticElement& operator=(const OperationalStatisticElement& from) { - CopyFrom(from); - return *this; - } - inline OperationalStatisticElement& operator=(OperationalStatisticElement&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const OperationalStatisticElement& default_instance() { - return *internal_default_instance(); - } - static inline const OperationalStatisticElement* internal_default_instance() { - return reinterpret_cast( - &_OperationalStatisticElement_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(OperationalStatisticElement& a, OperationalStatisticElement& b) { - a.Swap(&b); - } - inline void Swap(OperationalStatisticElement* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(OperationalStatisticElement* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - OperationalStatisticElement* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const OperationalStatisticElement& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const OperationalStatisticElement& from) { - OperationalStatisticElement::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(OperationalStatisticElement* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "OperationalStatisticElement"; - } - protected: - explicit OperationalStatisticElement(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kValuesFieldNumber = 2, - kIdkeyFieldNumber = 1, - }; - // repeated int32 values = 2; - int values_size() const; - private: - int _internal_values_size() const; - public: - void clear_values(); - private: - int32_t _internal_values(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_values() const; - void _internal_add_values(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_values(); - public: - int32_t values(int index) const; - void set_values(int index, int32_t value); - void add_values(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - values() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_values(); - - // optional uint32 idkey = 1; - bool has_idkey() const; - private: - bool _internal_has_idkey() const; - public: - void clear_idkey(); - uint32_t idkey() const; - void set_idkey(uint32_t value); - private: - uint32_t _internal_idkey() const; - void _internal_set_idkey(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:OperationalStatisticElement) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > values_; - uint32_t idkey_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class OperationalStatisticsPacket : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:OperationalStatisticsPacket) */ { - public: - inline OperationalStatisticsPacket() : OperationalStatisticsPacket(nullptr) {} - ~OperationalStatisticsPacket() override; - explicit PROTOBUF_CONSTEXPR OperationalStatisticsPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - OperationalStatisticsPacket(const OperationalStatisticsPacket& from); - OperationalStatisticsPacket(OperationalStatisticsPacket&& from) noexcept - : OperationalStatisticsPacket() { - *this = ::std::move(from); - } - - inline OperationalStatisticsPacket& operator=(const OperationalStatisticsPacket& from) { - CopyFrom(from); - return *this; - } - inline OperationalStatisticsPacket& operator=(OperationalStatisticsPacket&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const OperationalStatisticsPacket& default_instance() { - return *internal_default_instance(); - } - static inline const OperationalStatisticsPacket* internal_default_instance() { - return reinterpret_cast( - &_OperationalStatisticsPacket_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(OperationalStatisticsPacket& a, OperationalStatisticsPacket& b) { - a.Swap(&b); - } - inline void Swap(OperationalStatisticsPacket* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(OperationalStatisticsPacket* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - OperationalStatisticsPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const OperationalStatisticsPacket& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const OperationalStatisticsPacket& from) { - OperationalStatisticsPacket::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(OperationalStatisticsPacket* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "OperationalStatisticsPacket"; - } - protected: - explicit OperationalStatisticsPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kValuesFieldNumber = 3, - kPacketidFieldNumber = 1, - kMstimestampFieldNumber = 2, - }; - // repeated .OperationalStatisticElement values = 3; - int values_size() const; - private: - int _internal_values_size() const; - public: - void clear_values(); - ::OperationalStatisticElement* mutable_values(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalStatisticElement >* - mutable_values(); - private: - const ::OperationalStatisticElement& _internal_values(int index) const; - ::OperationalStatisticElement* _internal_add_values(); - public: - const ::OperationalStatisticElement& values(int index) const; - ::OperationalStatisticElement* add_values(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalStatisticElement >& - values() const; - - // optional int32 packetid = 1; - bool has_packetid() const; - private: - bool _internal_has_packetid() const; - public: - void clear_packetid(); - int32_t packetid() const; - void set_packetid(int32_t value); - private: - int32_t _internal_packetid() const; - void _internal_set_packetid(int32_t value); - public: - - // optional int32 mstimestamp = 2; - bool has_mstimestamp() const; - private: - bool _internal_has_mstimestamp() const; - public: - void clear_mstimestamp(); - int32_t mstimestamp() const; - void set_mstimestamp(int32_t value); - private: - int32_t _internal_mstimestamp() const; - void _internal_set_mstimestamp(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:OperationalStatisticsPacket) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalStatisticElement > values_; - int32_t packetid_; - int32_t mstimestamp_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class OperationalVarValue : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:OperationalVarValue) */ { - public: - inline OperationalVarValue() : OperationalVarValue(nullptr) {} - ~OperationalVarValue() override; - explicit PROTOBUF_CONSTEXPR OperationalVarValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - OperationalVarValue(const OperationalVarValue& from); - OperationalVarValue(OperationalVarValue&& from) noexcept - : OperationalVarValue() { - *this = ::std::move(from); - } - - inline OperationalVarValue& operator=(const OperationalVarValue& from) { - CopyFrom(from); - return *this; - } - inline OperationalVarValue& operator=(OperationalVarValue&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const OperationalVarValue& default_instance() { - return *internal_default_instance(); - } - static inline const OperationalVarValue* internal_default_instance() { - return reinterpret_cast( - &_OperationalVarValue_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(OperationalVarValue& a, OperationalVarValue& b) { - a.Swap(&b); - } - inline void Swap(OperationalVarValue* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(OperationalVarValue* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - OperationalVarValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const OperationalVarValue& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const OperationalVarValue& from) { - OperationalVarValue::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(OperationalVarValue* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "OperationalVarValue"; - } - protected: - explicit OperationalVarValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 1, - kSvalueFieldNumber = 4, - kIvalueFieldNumber = 2, - kFvalueFieldNumber = 3, - }; - // optional string name = 1; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional bytes svalue = 4; - bool has_svalue() const; - private: - bool _internal_has_svalue() const; - public: - void clear_svalue(); - const std::string& svalue() const; - template - void set_svalue(ArgT0&& arg0, ArgT... args); - std::string* mutable_svalue(); - PROTOBUF_NODISCARD std::string* release_svalue(); - void set_allocated_svalue(std::string* svalue); - private: - const std::string& _internal_svalue() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_svalue(const std::string& value); - std::string* _internal_mutable_svalue(); - public: - - // optional int32 ivalue = 2; - bool has_ivalue() const; - private: - bool _internal_has_ivalue() const; - public: - void clear_ivalue(); - int32_t ivalue() const; - void set_ivalue(int32_t value); - private: - int32_t _internal_ivalue() const; - void _internal_set_ivalue(int32_t value); - public: - - // optional float fvalue = 3; - bool has_fvalue() const; - private: - bool _internal_has_fvalue() const; - public: - void clear_fvalue(); - float fvalue() const; - void set_fvalue(float value); - private: - float _internal_fvalue() const; - void _internal_set_fvalue(float value); - public: - - // @@protoc_insertion_point(class_scope:OperationalVarValue) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr svalue_; - int32_t ivalue_; - float fvalue_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class PlayerRankingInfo_PerMapRank : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PlayerRankingInfo.PerMapRank) */ { - public: - inline PlayerRankingInfo_PerMapRank() : PlayerRankingInfo_PerMapRank(nullptr) {} - ~PlayerRankingInfo_PerMapRank() override; - explicit PROTOBUF_CONSTEXPR PlayerRankingInfo_PerMapRank(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - PlayerRankingInfo_PerMapRank(const PlayerRankingInfo_PerMapRank& from); - PlayerRankingInfo_PerMapRank(PlayerRankingInfo_PerMapRank&& from) noexcept - : PlayerRankingInfo_PerMapRank() { - *this = ::std::move(from); - } - - inline PlayerRankingInfo_PerMapRank& operator=(const PlayerRankingInfo_PerMapRank& from) { - CopyFrom(from); - return *this; - } - inline PlayerRankingInfo_PerMapRank& operator=(PlayerRankingInfo_PerMapRank&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const PlayerRankingInfo_PerMapRank& default_instance() { - return *internal_default_instance(); - } - static inline const PlayerRankingInfo_PerMapRank* internal_default_instance() { - return reinterpret_cast( - &_PlayerRankingInfo_PerMapRank_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(PlayerRankingInfo_PerMapRank& a, PlayerRankingInfo_PerMapRank& b) { - a.Swap(&b); - } - inline void Swap(PlayerRankingInfo_PerMapRank* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(PlayerRankingInfo_PerMapRank* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - PlayerRankingInfo_PerMapRank* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const PlayerRankingInfo_PerMapRank& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const PlayerRankingInfo_PerMapRank& from) { - PlayerRankingInfo_PerMapRank::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(PlayerRankingInfo_PerMapRank* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "PlayerRankingInfo.PerMapRank"; - } - protected: - explicit PlayerRankingInfo_PerMapRank(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMapIdFieldNumber = 1, - kRankIdFieldNumber = 2, - kWinsFieldNumber = 3, - }; - // optional uint32 map_id = 1; - bool has_map_id() const; - private: - bool _internal_has_map_id() const; - public: - void clear_map_id(); - uint32_t map_id() const; - void set_map_id(uint32_t value); - private: - uint32_t _internal_map_id() const; - void _internal_set_map_id(uint32_t value); - public: - - // optional uint32 rank_id = 2; - bool has_rank_id() const; - private: - bool _internal_has_rank_id() const; - public: - void clear_rank_id(); - uint32_t rank_id() const; - void set_rank_id(uint32_t value); - private: - uint32_t _internal_rank_id() const; - void _internal_set_rank_id(uint32_t value); - public: - - // optional uint32 wins = 3; - bool has_wins() const; - private: - bool _internal_has_wins() const; - public: - void clear_wins(); - uint32_t wins() const; - void set_wins(uint32_t value); - private: - uint32_t _internal_wins() const; - void _internal_set_wins(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:PlayerRankingInfo.PerMapRank) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t map_id_; - uint32_t rank_id_; - uint32_t wins_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class PlayerRankingInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PlayerRankingInfo) */ { - public: - inline PlayerRankingInfo() : PlayerRankingInfo(nullptr) {} - ~PlayerRankingInfo() override; - explicit PROTOBUF_CONSTEXPR PlayerRankingInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - PlayerRankingInfo(const PlayerRankingInfo& from); - PlayerRankingInfo(PlayerRankingInfo&& from) noexcept - : PlayerRankingInfo() { - *this = ::std::move(from); - } - - inline PlayerRankingInfo& operator=(const PlayerRankingInfo& from) { - CopyFrom(from); - return *this; - } - inline PlayerRankingInfo& operator=(PlayerRankingInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const PlayerRankingInfo& default_instance() { - return *internal_default_instance(); - } - static inline const PlayerRankingInfo* internal_default_instance() { - return reinterpret_cast( - &_PlayerRankingInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(PlayerRankingInfo& a, PlayerRankingInfo& b) { - a.Swap(&b); - } - inline void Swap(PlayerRankingInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(PlayerRankingInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - PlayerRankingInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const PlayerRankingInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const PlayerRankingInfo& from) { - PlayerRankingInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(PlayerRankingInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "PlayerRankingInfo"; - } - protected: - explicit PlayerRankingInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef PlayerRankingInfo_PerMapRank PerMapRank; - - // accessors ------------------------------------------------------- - - enum : int { - kPerMapRankFieldNumber = 13, - kLeaderboardNameFieldNumber = 9, - kAccountIdFieldNumber = 1, - kRankIdFieldNumber = 2, - kWinsFieldNumber = 3, - kRankChangeFieldNumber = 4, - kRankTypeIdFieldNumber = 6, - kTvControlFieldNumber = 7, - kRankWindowStatsFieldNumber = 8, - kRankIfWinFieldNumber = 10, - kRankIfLoseFieldNumber = 11, - kRankIfTieFieldNumber = 12, - kLeaderboardNameStatusFieldNumber = 14, - kHighestRankFieldNumber = 15, - kRankExpiryFieldNumber = 16, - }; - // repeated .PlayerRankingInfo.PerMapRank per_map_rank = 13; - int per_map_rank_size() const; - private: - int _internal_per_map_rank_size() const; - public: - void clear_per_map_rank(); - ::PlayerRankingInfo_PerMapRank* mutable_per_map_rank(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo_PerMapRank >* - mutable_per_map_rank(); - private: - const ::PlayerRankingInfo_PerMapRank& _internal_per_map_rank(int index) const; - ::PlayerRankingInfo_PerMapRank* _internal_add_per_map_rank(); - public: - const ::PlayerRankingInfo_PerMapRank& per_map_rank(int index) const; - ::PlayerRankingInfo_PerMapRank* add_per_map_rank(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo_PerMapRank >& - per_map_rank() const; - - // optional string leaderboard_name = 9; - bool has_leaderboard_name() const; - private: - bool _internal_has_leaderboard_name() const; - public: - void clear_leaderboard_name(); - const std::string& leaderboard_name() const; - template - void set_leaderboard_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_leaderboard_name(); - PROTOBUF_NODISCARD std::string* release_leaderboard_name(); - void set_allocated_leaderboard_name(std::string* leaderboard_name); - private: - const std::string& _internal_leaderboard_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_leaderboard_name(const std::string& value); - std::string* _internal_mutable_leaderboard_name(); - public: - - // optional uint32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 rank_id = 2; - bool has_rank_id() const; - private: - bool _internal_has_rank_id() const; - public: - void clear_rank_id(); - uint32_t rank_id() const; - void set_rank_id(uint32_t value); - private: - uint32_t _internal_rank_id() const; - void _internal_set_rank_id(uint32_t value); - public: - - // optional uint32 wins = 3; - bool has_wins() const; - private: - bool _internal_has_wins() const; - public: - void clear_wins(); - uint32_t wins() const; - void set_wins(uint32_t value); - private: - uint32_t _internal_wins() const; - void _internal_set_wins(uint32_t value); - public: - - // optional float rank_change = 4; - bool has_rank_change() const; - private: - bool _internal_has_rank_change() const; - public: - void clear_rank_change(); - float rank_change() const; - void set_rank_change(float value); - private: - float _internal_rank_change() const; - void _internal_set_rank_change(float value); - public: - - // optional uint32 rank_type_id = 6; - bool has_rank_type_id() const; - private: - bool _internal_has_rank_type_id() const; - public: - void clear_rank_type_id(); - uint32_t rank_type_id() const; - void set_rank_type_id(uint32_t value); - private: - uint32_t _internal_rank_type_id() const; - void _internal_set_rank_type_id(uint32_t value); - public: - - // optional uint32 tv_control = 7; - bool has_tv_control() const; - private: - bool _internal_has_tv_control() const; - public: - void clear_tv_control(); - uint32_t tv_control() const; - void set_tv_control(uint32_t value); - private: - uint32_t _internal_tv_control() const; - void _internal_set_tv_control(uint32_t value); - public: - - // optional uint64 rank_window_stats = 8; - bool has_rank_window_stats() const; - private: - bool _internal_has_rank_window_stats() const; - public: - void clear_rank_window_stats(); - uint64_t rank_window_stats() const; - void set_rank_window_stats(uint64_t value); - private: - uint64_t _internal_rank_window_stats() const; - void _internal_set_rank_window_stats(uint64_t value); - public: - - // optional uint32 rank_if_win = 10; - bool has_rank_if_win() const; - private: - bool _internal_has_rank_if_win() const; - public: - void clear_rank_if_win(); - uint32_t rank_if_win() const; - void set_rank_if_win(uint32_t value); - private: - uint32_t _internal_rank_if_win() const; - void _internal_set_rank_if_win(uint32_t value); - public: - - // optional uint32 rank_if_lose = 11; - bool has_rank_if_lose() const; - private: - bool _internal_has_rank_if_lose() const; - public: - void clear_rank_if_lose(); - uint32_t rank_if_lose() const; - void set_rank_if_lose(uint32_t value); - private: - uint32_t _internal_rank_if_lose() const; - void _internal_set_rank_if_lose(uint32_t value); - public: - - // optional uint32 rank_if_tie = 12; - bool has_rank_if_tie() const; - private: - bool _internal_has_rank_if_tie() const; - public: - void clear_rank_if_tie(); - uint32_t rank_if_tie() const; - void set_rank_if_tie(uint32_t value); - private: - uint32_t _internal_rank_if_tie() const; - void _internal_set_rank_if_tie(uint32_t value); - public: - - // optional uint32 leaderboard_name_status = 14; - bool has_leaderboard_name_status() const; - private: - bool _internal_has_leaderboard_name_status() const; - public: - void clear_leaderboard_name_status(); - uint32_t leaderboard_name_status() const; - void set_leaderboard_name_status(uint32_t value); - private: - uint32_t _internal_leaderboard_name_status() const; - void _internal_set_leaderboard_name_status(uint32_t value); - public: - - // optional uint32 highest_rank = 15; - bool has_highest_rank() const; - private: - bool _internal_has_highest_rank() const; - public: - void clear_highest_rank(); - uint32_t highest_rank() const; - void set_highest_rank(uint32_t value); - private: - uint32_t _internal_highest_rank() const; - void _internal_set_highest_rank(uint32_t value); - public: - - // optional uint32 rank_expiry = 16; - bool has_rank_expiry() const; - private: - bool _internal_has_rank_expiry() const; - public: - void clear_rank_expiry(); - uint32_t rank_expiry() const; - void set_rank_expiry(uint32_t value); - private: - uint32_t _internal_rank_expiry() const; - void _internal_set_rank_expiry(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:PlayerRankingInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo_PerMapRank > per_map_rank_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr leaderboard_name_; - uint32_t account_id_; - uint32_t rank_id_; - uint32_t wins_; - float rank_change_; - uint32_t rank_type_id_; - uint32_t tv_control_; - uint64_t rank_window_stats_; - uint32_t rank_if_win_; - uint32_t rank_if_lose_; - uint32_t rank_if_tie_; - uint32_t leaderboard_name_status_; - uint32_t highest_rank_; - uint32_t rank_expiry_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class PlayerCommendationInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PlayerCommendationInfo) */ { - public: - inline PlayerCommendationInfo() : PlayerCommendationInfo(nullptr) {} - ~PlayerCommendationInfo() override; - explicit PROTOBUF_CONSTEXPR PlayerCommendationInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - PlayerCommendationInfo(const PlayerCommendationInfo& from); - PlayerCommendationInfo(PlayerCommendationInfo&& from) noexcept - : PlayerCommendationInfo() { - *this = ::std::move(from); - } - - inline PlayerCommendationInfo& operator=(const PlayerCommendationInfo& from) { - CopyFrom(from); - return *this; - } - inline PlayerCommendationInfo& operator=(PlayerCommendationInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const PlayerCommendationInfo& default_instance() { - return *internal_default_instance(); - } - static inline const PlayerCommendationInfo* internal_default_instance() { - return reinterpret_cast( - &_PlayerCommendationInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - friend void swap(PlayerCommendationInfo& a, PlayerCommendationInfo& b) { - a.Swap(&b); - } - inline void Swap(PlayerCommendationInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(PlayerCommendationInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - PlayerCommendationInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const PlayerCommendationInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const PlayerCommendationInfo& from) { - PlayerCommendationInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(PlayerCommendationInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "PlayerCommendationInfo"; - } - protected: - explicit PlayerCommendationInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCmdFriendlyFieldNumber = 1, - kCmdTeachingFieldNumber = 2, - kCmdLeaderFieldNumber = 4, - }; - // optional uint32 cmd_friendly = 1; - bool has_cmd_friendly() const; - private: - bool _internal_has_cmd_friendly() const; - public: - void clear_cmd_friendly(); - uint32_t cmd_friendly() const; - void set_cmd_friendly(uint32_t value); - private: - uint32_t _internal_cmd_friendly() const; - void _internal_set_cmd_friendly(uint32_t value); - public: - - // optional uint32 cmd_teaching = 2; - bool has_cmd_teaching() const; - private: - bool _internal_has_cmd_teaching() const; - public: - void clear_cmd_teaching(); - uint32_t cmd_teaching() const; - void set_cmd_teaching(uint32_t value); - private: - uint32_t _internal_cmd_teaching() const; - void _internal_set_cmd_teaching(uint32_t value); - public: - - // optional uint32 cmd_leader = 4; - bool has_cmd_leader() const; - private: - bool _internal_has_cmd_leader() const; - public: - void clear_cmd_leader(); - uint32_t cmd_leader() const; - void set_cmd_leader(uint32_t value); - private: - uint32_t _internal_cmd_leader() const; - void _internal_set_cmd_leader(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:PlayerCommendationInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t cmd_friendly_; - uint32_t cmd_teaching_; - uint32_t cmd_leader_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class PlayerMedalsInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PlayerMedalsInfo) */ { - public: - inline PlayerMedalsInfo() : PlayerMedalsInfo(nullptr) {} - ~PlayerMedalsInfo() override; - explicit PROTOBUF_CONSTEXPR PlayerMedalsInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - PlayerMedalsInfo(const PlayerMedalsInfo& from); - PlayerMedalsInfo(PlayerMedalsInfo&& from) noexcept - : PlayerMedalsInfo() { - *this = ::std::move(from); - } - - inline PlayerMedalsInfo& operator=(const PlayerMedalsInfo& from) { - CopyFrom(from); - return *this; - } - inline PlayerMedalsInfo& operator=(PlayerMedalsInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const PlayerMedalsInfo& default_instance() { - return *internal_default_instance(); - } - static inline const PlayerMedalsInfo* internal_default_instance() { - return reinterpret_cast( - &_PlayerMedalsInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - friend void swap(PlayerMedalsInfo& a, PlayerMedalsInfo& b) { - a.Swap(&b); - } - inline void Swap(PlayerMedalsInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(PlayerMedalsInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - PlayerMedalsInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const PlayerMedalsInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const PlayerMedalsInfo& from) { - PlayerMedalsInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(PlayerMedalsInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "PlayerMedalsInfo"; - } - protected: - explicit PlayerMedalsInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDisplayItemsDefidxFieldNumber = 7, - kFeaturedDisplayItemDefidxFieldNumber = 8, - }; - // repeated uint32 display_items_defidx = 7; - int display_items_defidx_size() const; - private: - int _internal_display_items_defidx_size() const; - public: - void clear_display_items_defidx(); - private: - uint32_t _internal_display_items_defidx(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_display_items_defidx() const; - void _internal_add_display_items_defidx(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_display_items_defidx(); - public: - uint32_t display_items_defidx(int index) const; - void set_display_items_defidx(int index, uint32_t value); - void add_display_items_defidx(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - display_items_defidx() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_display_items_defidx(); - - // optional uint32 featured_display_item_defidx = 8; - bool has_featured_display_item_defidx() const; - private: - bool _internal_has_featured_display_item_defidx() const; - public: - void clear_featured_display_item_defidx(); - uint32_t featured_display_item_defidx() const; - void set_featured_display_item_defidx(uint32_t value); - private: - uint32_t _internal_featured_display_item_defidx() const; - void _internal_set_featured_display_item_defidx(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:PlayerMedalsInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > display_items_defidx_; - uint32_t featured_display_item_defidx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class AccountActivity : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:AccountActivity) */ { - public: - inline AccountActivity() : AccountActivity(nullptr) {} - ~AccountActivity() override; - explicit PROTOBUF_CONSTEXPR AccountActivity(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - AccountActivity(const AccountActivity& from); - AccountActivity(AccountActivity&& from) noexcept - : AccountActivity() { - *this = ::std::move(from); - } - - inline AccountActivity& operator=(const AccountActivity& from) { - CopyFrom(from); - return *this; - } - inline AccountActivity& operator=(AccountActivity&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const AccountActivity& default_instance() { - return *internal_default_instance(); - } - static inline const AccountActivity* internal_default_instance() { - return reinterpret_cast( - &_AccountActivity_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - friend void swap(AccountActivity& a, AccountActivity& b) { - a.Swap(&b); - } - inline void Swap(AccountActivity* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(AccountActivity* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - AccountActivity* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const AccountActivity& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const AccountActivity& from) { - AccountActivity::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(AccountActivity* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "AccountActivity"; - } - protected: - explicit AccountActivity(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kActivityFieldNumber = 1, - kModeFieldNumber = 2, - kMatchidFieldNumber = 4, - kMapFieldNumber = 3, - }; - // optional uint32 activity = 1; - bool has_activity() const; - private: - bool _internal_has_activity() const; - public: - void clear_activity(); - uint32_t activity() const; - void set_activity(uint32_t value); - private: - uint32_t _internal_activity() const; - void _internal_set_activity(uint32_t value); - public: - - // optional uint32 mode = 2; - bool has_mode() const; - private: - bool _internal_has_mode() const; - public: - void clear_mode(); - uint32_t mode() const; - void set_mode(uint32_t value); - private: - uint32_t _internal_mode() const; - void _internal_set_mode(uint32_t value); - public: - - // optional uint64 matchid = 4; - bool has_matchid() const; - private: - bool _internal_has_matchid() const; - public: - void clear_matchid(); - uint64_t matchid() const; - void set_matchid(uint64_t value); - private: - uint64_t _internal_matchid() const; - void _internal_set_matchid(uint64_t value); - public: - - // optional uint32 map = 3; - bool has_map() const; - private: - bool _internal_has_map() const; - public: - void clear_map(); - uint32_t map() const; - void set_map(uint32_t value); - private: - uint32_t _internal_map() const; - void _internal_set_map(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:AccountActivity) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t activity_; - uint32_t mode_; - uint64_t matchid_; - uint32_t map_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class TournamentMatchSetup : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:TournamentMatchSetup) */ { - public: - inline TournamentMatchSetup() : TournamentMatchSetup(nullptr) {} - ~TournamentMatchSetup() override; - explicit PROTOBUF_CONSTEXPR TournamentMatchSetup(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - TournamentMatchSetup(const TournamentMatchSetup& from); - TournamentMatchSetup(TournamentMatchSetup&& from) noexcept - : TournamentMatchSetup() { - *this = ::std::move(from); - } - - inline TournamentMatchSetup& operator=(const TournamentMatchSetup& from) { - CopyFrom(from); - return *this; - } - inline TournamentMatchSetup& operator=(TournamentMatchSetup&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const TournamentMatchSetup& default_instance() { - return *internal_default_instance(); - } - static inline const TournamentMatchSetup* internal_default_instance() { - return reinterpret_cast( - &_TournamentMatchSetup_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - friend void swap(TournamentMatchSetup& a, TournamentMatchSetup& b) { - a.Swap(&b); - } - inline void Swap(TournamentMatchSetup* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TournamentMatchSetup* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TournamentMatchSetup* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const TournamentMatchSetup& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const TournamentMatchSetup& from) { - TournamentMatchSetup::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(TournamentMatchSetup* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "TournamentMatchSetup"; - } - protected: - explicit TournamentMatchSetup(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEventIdFieldNumber = 1, - kTeamIdCtFieldNumber = 2, - kTeamIdTFieldNumber = 3, - kEventStageIdFieldNumber = 4, - }; - // optional int32 event_id = 1; - bool has_event_id() const; - private: - bool _internal_has_event_id() const; - public: - void clear_event_id(); - int32_t event_id() const; - void set_event_id(int32_t value); - private: - int32_t _internal_event_id() const; - void _internal_set_event_id(int32_t value); - public: - - // optional int32 team_id_ct = 2; - bool has_team_id_ct() const; - private: - bool _internal_has_team_id_ct() const; - public: - void clear_team_id_ct(); - int32_t team_id_ct() const; - void set_team_id_ct(int32_t value); - private: - int32_t _internal_team_id_ct() const; - void _internal_set_team_id_ct(int32_t value); - public: - - // optional int32 team_id_t = 3; - bool has_team_id_t() const; - private: - bool _internal_has_team_id_t() const; - public: - void clear_team_id_t(); - int32_t team_id_t() const; - void set_team_id_t(int32_t value); - private: - int32_t _internal_team_id_t() const; - void _internal_set_team_id_t(int32_t value); - public: - - // optional int32 event_stage_id = 4; - bool has_event_stage_id() const; - private: - bool _internal_has_event_stage_id() const; - public: - void clear_event_stage_id(); - int32_t event_stage_id() const; - void set_event_stage_id(int32_t value); - private: - int32_t _internal_event_stage_id() const; - void _internal_set_event_stage_id(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:TournamentMatchSetup) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t event_id_; - int32_t team_id_ct_; - int32_t team_id_t_; - int32_t event_stage_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class ServerHltvInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ServerHltvInfo) */ { - public: - inline ServerHltvInfo() : ServerHltvInfo(nullptr) {} - ~ServerHltvInfo() override; - explicit PROTOBUF_CONSTEXPR ServerHltvInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ServerHltvInfo(const ServerHltvInfo& from); - ServerHltvInfo(ServerHltvInfo&& from) noexcept - : ServerHltvInfo() { - *this = ::std::move(from); - } - - inline ServerHltvInfo& operator=(const ServerHltvInfo& from) { - CopyFrom(from); - return *this; - } - inline ServerHltvInfo& operator=(ServerHltvInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ServerHltvInfo& default_instance() { - return *internal_default_instance(); - } - static inline const ServerHltvInfo* internal_default_instance() { - return reinterpret_cast( - &_ServerHltvInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - friend void swap(ServerHltvInfo& a, ServerHltvInfo& b) { - a.Swap(&b); - } - inline void Swap(ServerHltvInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ServerHltvInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ServerHltvInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ServerHltvInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ServerHltvInfo& from) { - ServerHltvInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ServerHltvInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "ServerHltvInfo"; - } - protected: - explicit ServerHltvInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGameMapgroupFieldNumber = 9, - kGameMapFieldNumber = 10, - kTvWatchKeyFieldNumber = 2, - kTvUdpPortFieldNumber = 1, - kTvSlotsFieldNumber = 3, - kTvClientsFieldNumber = 4, - kTvProxiesFieldNumber = 5, - kTvTimeFieldNumber = 6, - kGameTypeFieldNumber = 8, - kTvMasterSteamidFieldNumber = 11, - kTvLocalSlotsFieldNumber = 12, - kTvLocalClientsFieldNumber = 13, - kTvLocalProxiesFieldNumber = 14, - kTvRelaySlotsFieldNumber = 15, - kTvRelayClientsFieldNumber = 16, - kTvRelayProxiesFieldNumber = 17, - kTvRelayAddressFieldNumber = 18, - kTvRelayPortFieldNumber = 19, - kTvRelaySteamidFieldNumber = 20, - kFlagsFieldNumber = 21, - }; - // optional string game_mapgroup = 9; - bool has_game_mapgroup() const; - private: - bool _internal_has_game_mapgroup() const; - public: - void clear_game_mapgroup(); - const std::string& game_mapgroup() const; - template - void set_game_mapgroup(ArgT0&& arg0, ArgT... args); - std::string* mutable_game_mapgroup(); - PROTOBUF_NODISCARD std::string* release_game_mapgroup(); - void set_allocated_game_mapgroup(std::string* game_mapgroup); - private: - const std::string& _internal_game_mapgroup() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_mapgroup(const std::string& value); - std::string* _internal_mutable_game_mapgroup(); - public: - - // optional string game_map = 10; - bool has_game_map() const; - private: - bool _internal_has_game_map() const; - public: - void clear_game_map(); - const std::string& game_map() const; - template - void set_game_map(ArgT0&& arg0, ArgT... args); - std::string* mutable_game_map(); - PROTOBUF_NODISCARD std::string* release_game_map(); - void set_allocated_game_map(std::string* game_map); - private: - const std::string& _internal_game_map() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_map(const std::string& value); - std::string* _internal_mutable_game_map(); - public: - - // optional uint64 tv_watch_key = 2; - bool has_tv_watch_key() const; - private: - bool _internal_has_tv_watch_key() const; - public: - void clear_tv_watch_key(); - uint64_t tv_watch_key() const; - void set_tv_watch_key(uint64_t value); - private: - uint64_t _internal_tv_watch_key() const; - void _internal_set_tv_watch_key(uint64_t value); - public: - - // optional uint32 tv_udp_port = 1; - bool has_tv_udp_port() const; - private: - bool _internal_has_tv_udp_port() const; - public: - void clear_tv_udp_port(); - uint32_t tv_udp_port() const; - void set_tv_udp_port(uint32_t value); - private: - uint32_t _internal_tv_udp_port() const; - void _internal_set_tv_udp_port(uint32_t value); - public: - - // optional uint32 tv_slots = 3; - bool has_tv_slots() const; - private: - bool _internal_has_tv_slots() const; - public: - void clear_tv_slots(); - uint32_t tv_slots() const; - void set_tv_slots(uint32_t value); - private: - uint32_t _internal_tv_slots() const; - void _internal_set_tv_slots(uint32_t value); - public: - - // optional uint32 tv_clients = 4; - bool has_tv_clients() const; - private: - bool _internal_has_tv_clients() const; - public: - void clear_tv_clients(); - uint32_t tv_clients() const; - void set_tv_clients(uint32_t value); - private: - uint32_t _internal_tv_clients() const; - void _internal_set_tv_clients(uint32_t value); - public: - - // optional uint32 tv_proxies = 5; - bool has_tv_proxies() const; - private: - bool _internal_has_tv_proxies() const; - public: - void clear_tv_proxies(); - uint32_t tv_proxies() const; - void set_tv_proxies(uint32_t value); - private: - uint32_t _internal_tv_proxies() const; - void _internal_set_tv_proxies(uint32_t value); - public: - - // optional uint32 tv_time = 6; - bool has_tv_time() const; - private: - bool _internal_has_tv_time() const; - public: - void clear_tv_time(); - uint32_t tv_time() const; - void set_tv_time(uint32_t value); - private: - uint32_t _internal_tv_time() const; - void _internal_set_tv_time(uint32_t value); - public: - - // optional uint32 game_type = 8; - bool has_game_type() const; - private: - bool _internal_has_game_type() const; - public: - void clear_game_type(); - uint32_t game_type() const; - void set_game_type(uint32_t value); - private: - uint32_t _internal_game_type() const; - void _internal_set_game_type(uint32_t value); - public: - - // optional uint64 tv_master_steamid = 11; - bool has_tv_master_steamid() const; - private: - bool _internal_has_tv_master_steamid() const; - public: - void clear_tv_master_steamid(); - uint64_t tv_master_steamid() const; - void set_tv_master_steamid(uint64_t value); - private: - uint64_t _internal_tv_master_steamid() const; - void _internal_set_tv_master_steamid(uint64_t value); - public: - - // optional uint32 tv_local_slots = 12; - bool has_tv_local_slots() const; - private: - bool _internal_has_tv_local_slots() const; - public: - void clear_tv_local_slots(); - uint32_t tv_local_slots() const; - void set_tv_local_slots(uint32_t value); - private: - uint32_t _internal_tv_local_slots() const; - void _internal_set_tv_local_slots(uint32_t value); - public: - - // optional uint32 tv_local_clients = 13; - bool has_tv_local_clients() const; - private: - bool _internal_has_tv_local_clients() const; - public: - void clear_tv_local_clients(); - uint32_t tv_local_clients() const; - void set_tv_local_clients(uint32_t value); - private: - uint32_t _internal_tv_local_clients() const; - void _internal_set_tv_local_clients(uint32_t value); - public: - - // optional uint32 tv_local_proxies = 14; - bool has_tv_local_proxies() const; - private: - bool _internal_has_tv_local_proxies() const; - public: - void clear_tv_local_proxies(); - uint32_t tv_local_proxies() const; - void set_tv_local_proxies(uint32_t value); - private: - uint32_t _internal_tv_local_proxies() const; - void _internal_set_tv_local_proxies(uint32_t value); - public: - - // optional uint32 tv_relay_slots = 15; - bool has_tv_relay_slots() const; - private: - bool _internal_has_tv_relay_slots() const; - public: - void clear_tv_relay_slots(); - uint32_t tv_relay_slots() const; - void set_tv_relay_slots(uint32_t value); - private: - uint32_t _internal_tv_relay_slots() const; - void _internal_set_tv_relay_slots(uint32_t value); - public: - - // optional uint32 tv_relay_clients = 16; - bool has_tv_relay_clients() const; - private: - bool _internal_has_tv_relay_clients() const; - public: - void clear_tv_relay_clients(); - uint32_t tv_relay_clients() const; - void set_tv_relay_clients(uint32_t value); - private: - uint32_t _internal_tv_relay_clients() const; - void _internal_set_tv_relay_clients(uint32_t value); - public: - - // optional uint32 tv_relay_proxies = 17; - bool has_tv_relay_proxies() const; - private: - bool _internal_has_tv_relay_proxies() const; - public: - void clear_tv_relay_proxies(); - uint32_t tv_relay_proxies() const; - void set_tv_relay_proxies(uint32_t value); - private: - uint32_t _internal_tv_relay_proxies() const; - void _internal_set_tv_relay_proxies(uint32_t value); - public: - - // optional uint32 tv_relay_address = 18; - bool has_tv_relay_address() const; - private: - bool _internal_has_tv_relay_address() const; - public: - void clear_tv_relay_address(); - uint32_t tv_relay_address() const; - void set_tv_relay_address(uint32_t value); - private: - uint32_t _internal_tv_relay_address() const; - void _internal_set_tv_relay_address(uint32_t value); - public: - - // optional uint32 tv_relay_port = 19; - bool has_tv_relay_port() const; - private: - bool _internal_has_tv_relay_port() const; - public: - void clear_tv_relay_port(); - uint32_t tv_relay_port() const; - void set_tv_relay_port(uint32_t value); - private: - uint32_t _internal_tv_relay_port() const; - void _internal_set_tv_relay_port(uint32_t value); - public: - - // optional uint64 tv_relay_steamid = 20; - bool has_tv_relay_steamid() const; - private: - bool _internal_has_tv_relay_steamid() const; - public: - void clear_tv_relay_steamid(); - uint64_t tv_relay_steamid() const; - void set_tv_relay_steamid(uint64_t value); - private: - uint64_t _internal_tv_relay_steamid() const; - void _internal_set_tv_relay_steamid(uint64_t value); - public: - - // optional uint32 flags = 21; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:ServerHltvInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_mapgroup_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_map_; - uint64_t tv_watch_key_; - uint32_t tv_udp_port_; - uint32_t tv_slots_; - uint32_t tv_clients_; - uint32_t tv_proxies_; - uint32_t tv_time_; - uint32_t game_type_; - uint64_t tv_master_steamid_; - uint32_t tv_local_slots_; - uint32_t tv_local_clients_; - uint32_t tv_local_proxies_; - uint32_t tv_relay_slots_; - uint32_t tv_relay_clients_; - uint32_t tv_relay_proxies_; - uint32_t tv_relay_address_; - uint32_t tv_relay_port_; - uint64_t tv_relay_steamid_; - uint32_t flags_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class IpAddressMask : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:IpAddressMask) */ { - public: - inline IpAddressMask() : IpAddressMask(nullptr) {} - ~IpAddressMask() override; - explicit PROTOBUF_CONSTEXPR IpAddressMask(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - IpAddressMask(const IpAddressMask& from); - IpAddressMask(IpAddressMask&& from) noexcept - : IpAddressMask() { - *this = ::std::move(from); - } - - inline IpAddressMask& operator=(const IpAddressMask& from) { - CopyFrom(from); - return *this; - } - inline IpAddressMask& operator=(IpAddressMask&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const IpAddressMask& default_instance() { - return *internal_default_instance(); - } - static inline const IpAddressMask* internal_default_instance() { - return reinterpret_cast( - &_IpAddressMask_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - friend void swap(IpAddressMask& a, IpAddressMask& b) { - a.Swap(&b); - } - inline void Swap(IpAddressMask* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(IpAddressMask* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - IpAddressMask* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const IpAddressMask& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const IpAddressMask& from) { - IpAddressMask::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(IpAddressMask* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "IpAddressMask"; - } - protected: - explicit IpAddressMask(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAFieldNumber = 1, - kBFieldNumber = 2, - kCFieldNumber = 3, - kDFieldNumber = 4, - kBitsFieldNumber = 5, - kTokenFieldNumber = 6, - }; - // optional uint32 a = 1; - bool has_a() const; - private: - bool _internal_has_a() const; - public: - void clear_a(); - uint32_t a() const; - void set_a(uint32_t value); - private: - uint32_t _internal_a() const; - void _internal_set_a(uint32_t value); - public: - - // optional uint32 b = 2; - bool has_b() const; - private: - bool _internal_has_b() const; - public: - void clear_b(); - uint32_t b() const; - void set_b(uint32_t value); - private: - uint32_t _internal_b() const; - void _internal_set_b(uint32_t value); - public: - - // optional uint32 c = 3; - bool has_c() const; - private: - bool _internal_has_c() const; - public: - void clear_c(); - uint32_t c() const; - void set_c(uint32_t value); - private: - uint32_t _internal_c() const; - void _internal_set_c(uint32_t value); - public: - - // optional uint32 d = 4; - bool has_d() const; - private: - bool _internal_has_d() const; - public: - void clear_d(); - uint32_t d() const; - void set_d(uint32_t value); - private: - uint32_t _internal_d() const; - void _internal_set_d(uint32_t value); - public: - - // optional uint32 bits = 5; - bool has_bits() const; - private: - bool _internal_has_bits() const; - public: - void clear_bits(); - uint32_t bits() const; - void set_bits(uint32_t value); - private: - uint32_t _internal_bits() const; - void _internal_set_bits(uint32_t value); - public: - - // optional uint32 token = 6; - bool has_token() const; - private: - bool _internal_has_token() const; - public: - void clear_token(); - uint32_t token() const; - void set_token(uint32_t value); - private: - uint32_t _internal_token() const; - void _internal_set_token(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:IpAddressMask) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t a_; - uint32_t b_; - uint32_t c_; - uint32_t d_; - uint32_t bits_; - uint32_t token_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgCsgoSteamUserStatChange : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgCsgoSteamUserStatChange) */ { - public: - inline CMsgCsgoSteamUserStatChange() : CMsgCsgoSteamUserStatChange(nullptr) {} - ~CMsgCsgoSteamUserStatChange() override; - explicit PROTOBUF_CONSTEXPR CMsgCsgoSteamUserStatChange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgCsgoSteamUserStatChange(const CMsgCsgoSteamUserStatChange& from); - CMsgCsgoSteamUserStatChange(CMsgCsgoSteamUserStatChange&& from) noexcept - : CMsgCsgoSteamUserStatChange() { - *this = ::std::move(from); - } - - inline CMsgCsgoSteamUserStatChange& operator=(const CMsgCsgoSteamUserStatChange& from) { - CopyFrom(from); - return *this; - } - inline CMsgCsgoSteamUserStatChange& operator=(CMsgCsgoSteamUserStatChange&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgCsgoSteamUserStatChange& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgCsgoSteamUserStatChange* internal_default_instance() { - return reinterpret_cast( - &_CMsgCsgoSteamUserStatChange_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - friend void swap(CMsgCsgoSteamUserStatChange& a, CMsgCsgoSteamUserStatChange& b) { - a.Swap(&b); - } - inline void Swap(CMsgCsgoSteamUserStatChange* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgCsgoSteamUserStatChange* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgCsgoSteamUserStatChange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgCsgoSteamUserStatChange& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgCsgoSteamUserStatChange& from) { - CMsgCsgoSteamUserStatChange::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgCsgoSteamUserStatChange* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgCsgoSteamUserStatChange"; - } - protected: - explicit CMsgCsgoSteamUserStatChange(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEcsgosteamuserstatFieldNumber = 1, - kDeltaFieldNumber = 2, - kAbsoluteFieldNumber = 3, - }; - // optional int32 ecsgosteamuserstat = 1; - bool has_ecsgosteamuserstat() const; - private: - bool _internal_has_ecsgosteamuserstat() const; - public: - void clear_ecsgosteamuserstat(); - int32_t ecsgosteamuserstat() const; - void set_ecsgosteamuserstat(int32_t value); - private: - int32_t _internal_ecsgosteamuserstat() const; - void _internal_set_ecsgosteamuserstat(int32_t value); - public: - - // optional int32 delta = 2; - bool has_delta() const; - private: - bool _internal_has_delta() const; - public: - void clear_delta(); - int32_t delta() const; - void set_delta(int32_t value); - private: - int32_t _internal_delta() const; - void _internal_set_delta(int32_t value); - public: - - // optional bool absolute = 3; - bool has_absolute() const; - private: - bool _internal_has_absolute() const; - public: - void clear_absolute(); - bool absolute() const; - void set_absolute(bool value); - private: - bool _internal_absolute() const; - void _internal_set_absolute(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgCsgoSteamUserStatChange) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t ecsgosteamuserstat_; - int32_t delta_; - bool absolute_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class XpProgressData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:XpProgressData) */ { - public: - inline XpProgressData() : XpProgressData(nullptr) {} - ~XpProgressData() override; - explicit PROTOBUF_CONSTEXPR XpProgressData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - XpProgressData(const XpProgressData& from); - XpProgressData(XpProgressData&& from) noexcept - : XpProgressData() { - *this = ::std::move(from); - } - - inline XpProgressData& operator=(const XpProgressData& from) { - CopyFrom(from); - return *this; - } - inline XpProgressData& operator=(XpProgressData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const XpProgressData& default_instance() { - return *internal_default_instance(); - } - static inline const XpProgressData* internal_default_instance() { - return reinterpret_cast( - &_XpProgressData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 20; - - friend void swap(XpProgressData& a, XpProgressData& b) { - a.Swap(&b); - } - inline void Swap(XpProgressData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(XpProgressData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - XpProgressData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const XpProgressData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const XpProgressData& from) { - XpProgressData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(XpProgressData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "XpProgressData"; - } - protected: - explicit XpProgressData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kXpPointsFieldNumber = 1, - kXpCategoryFieldNumber = 2, - }; - // optional uint32 xp_points = 1; - bool has_xp_points() const; - private: - bool _internal_has_xp_points() const; - public: - void clear_xp_points(); - uint32_t xp_points() const; - void set_xp_points(uint32_t value); - private: - uint32_t _internal_xp_points() const; - void _internal_set_xp_points(uint32_t value); - public: - - // optional int32 xp_category = 2; - bool has_xp_category() const; - private: - bool _internal_has_xp_category() const; - public: - void clear_xp_category(); - int32_t xp_category() const; - void set_xp_category(int32_t value); - private: - int32_t _internal_xp_category() const; - void _internal_set_xp_category(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:XpProgressData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t xp_points_; - int32_t xp_category_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class MatchEndItemUpdates : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MatchEndItemUpdates) */ { - public: - inline MatchEndItemUpdates() : MatchEndItemUpdates(nullptr) {} - ~MatchEndItemUpdates() override; - explicit PROTOBUF_CONSTEXPR MatchEndItemUpdates(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - MatchEndItemUpdates(const MatchEndItemUpdates& from); - MatchEndItemUpdates(MatchEndItemUpdates&& from) noexcept - : MatchEndItemUpdates() { - *this = ::std::move(from); - } - - inline MatchEndItemUpdates& operator=(const MatchEndItemUpdates& from) { - CopyFrom(from); - return *this; - } - inline MatchEndItemUpdates& operator=(MatchEndItemUpdates&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const MatchEndItemUpdates& default_instance() { - return *internal_default_instance(); - } - static inline const MatchEndItemUpdates* internal_default_instance() { - return reinterpret_cast( - &_MatchEndItemUpdates_default_instance_); - } - static constexpr int kIndexInFileMessages = - 21; - - friend void swap(MatchEndItemUpdates& a, MatchEndItemUpdates& b) { - a.Swap(&b); - } - inline void Swap(MatchEndItemUpdates* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(MatchEndItemUpdates* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - MatchEndItemUpdates* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const MatchEndItemUpdates& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const MatchEndItemUpdates& from) { - MatchEndItemUpdates::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(MatchEndItemUpdates* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MatchEndItemUpdates"; - } - protected: - explicit MatchEndItemUpdates(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemIdFieldNumber = 1, - kItemAttrDefidxFieldNumber = 2, - kItemAttrDeltaValueFieldNumber = 3, - }; - // optional uint64 item_id = 1; - bool has_item_id() const; - private: - bool _internal_has_item_id() const; - public: - void clear_item_id(); - uint64_t item_id() const; - void set_item_id(uint64_t value); - private: - uint64_t _internal_item_id() const; - void _internal_set_item_id(uint64_t value); - public: - - // optional uint32 item_attr_defidx = 2; - bool has_item_attr_defidx() const; - private: - bool _internal_has_item_attr_defidx() const; - public: - void clear_item_attr_defidx(); - uint32_t item_attr_defidx() const; - void set_item_attr_defidx(uint32_t value); - private: - uint32_t _internal_item_attr_defidx() const; - void _internal_set_item_attr_defidx(uint32_t value); - public: - - // optional uint32 item_attr_delta_value = 3; - bool has_item_attr_delta_value() const; - private: - bool _internal_has_item_attr_delta_value() const; - public: - void clear_item_attr_delta_value(); - uint32_t item_attr_delta_value() const; - void set_item_attr_delta_value(uint32_t value); - private: - uint32_t _internal_item_attr_delta_value() const; - void _internal_set_item_attr_delta_value(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:MatchEndItemUpdates) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t item_id_; - uint32_t item_attr_defidx_; - uint32_t item_attr_delta_value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class ScoreLeaderboardData_Entry : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ScoreLeaderboardData.Entry) */ { - public: - inline ScoreLeaderboardData_Entry() : ScoreLeaderboardData_Entry(nullptr) {} - ~ScoreLeaderboardData_Entry() override; - explicit PROTOBUF_CONSTEXPR ScoreLeaderboardData_Entry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ScoreLeaderboardData_Entry(const ScoreLeaderboardData_Entry& from); - ScoreLeaderboardData_Entry(ScoreLeaderboardData_Entry&& from) noexcept - : ScoreLeaderboardData_Entry() { - *this = ::std::move(from); - } - - inline ScoreLeaderboardData_Entry& operator=(const ScoreLeaderboardData_Entry& from) { - CopyFrom(from); - return *this; - } - inline ScoreLeaderboardData_Entry& operator=(ScoreLeaderboardData_Entry&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ScoreLeaderboardData_Entry& default_instance() { - return *internal_default_instance(); - } - static inline const ScoreLeaderboardData_Entry* internal_default_instance() { - return reinterpret_cast( - &_ScoreLeaderboardData_Entry_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - friend void swap(ScoreLeaderboardData_Entry& a, ScoreLeaderboardData_Entry& b) { - a.Swap(&b); - } - inline void Swap(ScoreLeaderboardData_Entry* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ScoreLeaderboardData_Entry* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ScoreLeaderboardData_Entry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ScoreLeaderboardData_Entry& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ScoreLeaderboardData_Entry& from) { - ScoreLeaderboardData_Entry::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ScoreLeaderboardData_Entry* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "ScoreLeaderboardData.Entry"; - } - protected: - explicit ScoreLeaderboardData_Entry(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTagFieldNumber = 1, - kValFieldNumber = 2, - }; - // optional uint32 tag = 1; - bool has_tag() const; - private: - bool _internal_has_tag() const; - public: - void clear_tag(); - uint32_t tag() const; - void set_tag(uint32_t value); - private: - uint32_t _internal_tag() const; - void _internal_set_tag(uint32_t value); - public: - - // optional uint32 val = 2; - bool has_val() const; - private: - bool _internal_has_val() const; - public: - void clear_val(); - uint32_t val() const; - void set_val(uint32_t value); - private: - uint32_t _internal_val() const; - void _internal_set_val(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:ScoreLeaderboardData.Entry) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t tag_; - uint32_t val_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class ScoreLeaderboardData_AccountEntries : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ScoreLeaderboardData.AccountEntries) */ { - public: - inline ScoreLeaderboardData_AccountEntries() : ScoreLeaderboardData_AccountEntries(nullptr) {} - ~ScoreLeaderboardData_AccountEntries() override; - explicit PROTOBUF_CONSTEXPR ScoreLeaderboardData_AccountEntries(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ScoreLeaderboardData_AccountEntries(const ScoreLeaderboardData_AccountEntries& from); - ScoreLeaderboardData_AccountEntries(ScoreLeaderboardData_AccountEntries&& from) noexcept - : ScoreLeaderboardData_AccountEntries() { - *this = ::std::move(from); - } - - inline ScoreLeaderboardData_AccountEntries& operator=(const ScoreLeaderboardData_AccountEntries& from) { - CopyFrom(from); - return *this; - } - inline ScoreLeaderboardData_AccountEntries& operator=(ScoreLeaderboardData_AccountEntries&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ScoreLeaderboardData_AccountEntries& default_instance() { - return *internal_default_instance(); - } - static inline const ScoreLeaderboardData_AccountEntries* internal_default_instance() { - return reinterpret_cast( - &_ScoreLeaderboardData_AccountEntries_default_instance_); - } - static constexpr int kIndexInFileMessages = - 23; - - friend void swap(ScoreLeaderboardData_AccountEntries& a, ScoreLeaderboardData_AccountEntries& b) { - a.Swap(&b); - } - inline void Swap(ScoreLeaderboardData_AccountEntries* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ScoreLeaderboardData_AccountEntries* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ScoreLeaderboardData_AccountEntries* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ScoreLeaderboardData_AccountEntries& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ScoreLeaderboardData_AccountEntries& from) { - ScoreLeaderboardData_AccountEntries::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ScoreLeaderboardData_AccountEntries* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "ScoreLeaderboardData.AccountEntries"; - } - protected: - explicit ScoreLeaderboardData_AccountEntries(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEntriesFieldNumber = 2, - kAccountidFieldNumber = 1, - }; - // repeated .ScoreLeaderboardData.Entry entries = 2; - int entries_size() const; - private: - int _internal_entries_size() const; - public: - void clear_entries(); - ::ScoreLeaderboardData_Entry* mutable_entries(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry >* - mutable_entries(); - private: - const ::ScoreLeaderboardData_Entry& _internal_entries(int index) const; - ::ScoreLeaderboardData_Entry* _internal_add_entries(); - public: - const ::ScoreLeaderboardData_Entry& entries(int index) const; - ::ScoreLeaderboardData_Entry* add_entries(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry >& - entries() const; - - // optional uint32 accountid = 1; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:ScoreLeaderboardData.AccountEntries) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry > entries_; - uint32_t accountid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class ScoreLeaderboardData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ScoreLeaderboardData) */ { - public: - inline ScoreLeaderboardData() : ScoreLeaderboardData(nullptr) {} - ~ScoreLeaderboardData() override; - explicit PROTOBUF_CONSTEXPR ScoreLeaderboardData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ScoreLeaderboardData(const ScoreLeaderboardData& from); - ScoreLeaderboardData(ScoreLeaderboardData&& from) noexcept - : ScoreLeaderboardData() { - *this = ::std::move(from); - } - - inline ScoreLeaderboardData& operator=(const ScoreLeaderboardData& from) { - CopyFrom(from); - return *this; - } - inline ScoreLeaderboardData& operator=(ScoreLeaderboardData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ScoreLeaderboardData& default_instance() { - return *internal_default_instance(); - } - static inline const ScoreLeaderboardData* internal_default_instance() { - return reinterpret_cast( - &_ScoreLeaderboardData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 24; - - friend void swap(ScoreLeaderboardData& a, ScoreLeaderboardData& b) { - a.Swap(&b); - } - inline void Swap(ScoreLeaderboardData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ScoreLeaderboardData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ScoreLeaderboardData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ScoreLeaderboardData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ScoreLeaderboardData& from) { - ScoreLeaderboardData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ScoreLeaderboardData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "ScoreLeaderboardData"; - } - protected: - explicit ScoreLeaderboardData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef ScoreLeaderboardData_Entry Entry; - typedef ScoreLeaderboardData_AccountEntries AccountEntries; - - // accessors ------------------------------------------------------- - - enum : int { - kAccountentriesFieldNumber = 3, - kMatchentriesFieldNumber = 5, - kLeaderboardNameFieldNumber = 6, - kQuestIdFieldNumber = 1, - kScoreFieldNumber = 2, - }; - // repeated .ScoreLeaderboardData.AccountEntries accountentries = 3; - int accountentries_size() const; - private: - int _internal_accountentries_size() const; - public: - void clear_accountentries(); - ::ScoreLeaderboardData_AccountEntries* mutable_accountentries(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_AccountEntries >* - mutable_accountentries(); - private: - const ::ScoreLeaderboardData_AccountEntries& _internal_accountentries(int index) const; - ::ScoreLeaderboardData_AccountEntries* _internal_add_accountentries(); - public: - const ::ScoreLeaderboardData_AccountEntries& accountentries(int index) const; - ::ScoreLeaderboardData_AccountEntries* add_accountentries(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_AccountEntries >& - accountentries() const; - - // repeated .ScoreLeaderboardData.Entry matchentries = 5; - int matchentries_size() const; - private: - int _internal_matchentries_size() const; - public: - void clear_matchentries(); - ::ScoreLeaderboardData_Entry* mutable_matchentries(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry >* - mutable_matchentries(); - private: - const ::ScoreLeaderboardData_Entry& _internal_matchentries(int index) const; - ::ScoreLeaderboardData_Entry* _internal_add_matchentries(); - public: - const ::ScoreLeaderboardData_Entry& matchentries(int index) const; - ::ScoreLeaderboardData_Entry* add_matchentries(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry >& - matchentries() const; - - // optional string leaderboard_name = 6; - bool has_leaderboard_name() const; - private: - bool _internal_has_leaderboard_name() const; - public: - void clear_leaderboard_name(); - const std::string& leaderboard_name() const; - template - void set_leaderboard_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_leaderboard_name(); - PROTOBUF_NODISCARD std::string* release_leaderboard_name(); - void set_allocated_leaderboard_name(std::string* leaderboard_name); - private: - const std::string& _internal_leaderboard_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_leaderboard_name(const std::string& value); - std::string* _internal_mutable_leaderboard_name(); - public: - - // optional uint64 quest_id = 1; - bool has_quest_id() const; - private: - bool _internal_has_quest_id() const; - public: - void clear_quest_id(); - uint64_t quest_id() const; - void set_quest_id(uint64_t value); - private: - uint64_t _internal_quest_id() const; - void _internal_set_quest_id(uint64_t value); - public: - - // optional uint32 score = 2; - bool has_score() const; - private: - bool _internal_has_score() const; - public: - void clear_score(); - uint32_t score() const; - void set_score(uint32_t value); - private: - uint32_t _internal_score() const; - void _internal_set_score(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:ScoreLeaderboardData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_AccountEntries > accountentries_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry > matchentries_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr leaderboard_name_; - uint64_t quest_id_; - uint32_t score_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class PlayerQuestData_QuestItemData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PlayerQuestData.QuestItemData) */ { - public: - inline PlayerQuestData_QuestItemData() : PlayerQuestData_QuestItemData(nullptr) {} - ~PlayerQuestData_QuestItemData() override; - explicit PROTOBUF_CONSTEXPR PlayerQuestData_QuestItemData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - PlayerQuestData_QuestItemData(const PlayerQuestData_QuestItemData& from); - PlayerQuestData_QuestItemData(PlayerQuestData_QuestItemData&& from) noexcept - : PlayerQuestData_QuestItemData() { - *this = ::std::move(from); - } - - inline PlayerQuestData_QuestItemData& operator=(const PlayerQuestData_QuestItemData& from) { - CopyFrom(from); - return *this; - } - inline PlayerQuestData_QuestItemData& operator=(PlayerQuestData_QuestItemData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const PlayerQuestData_QuestItemData& default_instance() { - return *internal_default_instance(); - } - static inline const PlayerQuestData_QuestItemData* internal_default_instance() { - return reinterpret_cast( - &_PlayerQuestData_QuestItemData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 25; - - friend void swap(PlayerQuestData_QuestItemData& a, PlayerQuestData_QuestItemData& b) { - a.Swap(&b); - } - inline void Swap(PlayerQuestData_QuestItemData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(PlayerQuestData_QuestItemData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - PlayerQuestData_QuestItemData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const PlayerQuestData_QuestItemData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const PlayerQuestData_QuestItemData& from) { - PlayerQuestData_QuestItemData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(PlayerQuestData_QuestItemData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "PlayerQuestData.QuestItemData"; - } - protected: - explicit PlayerQuestData_QuestItemData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kQuestNormalPointsRequiredFieldNumber = 4, - kQuestRewardXpFieldNumber = 5, - kQuestIdFieldNumber = 1, - kQuestNormalPointsEarnedFieldNumber = 2, - kQuestBonusPointsEarnedFieldNumber = 3, - kQuestPeriodFieldNumber = 6, - kQuestTypeFieldNumber = 7, - }; - // repeated int32 quest_normal_points_required = 4; - int quest_normal_points_required_size() const; - private: - int _internal_quest_normal_points_required_size() const; - public: - void clear_quest_normal_points_required(); - private: - int32_t _internal_quest_normal_points_required(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_quest_normal_points_required() const; - void _internal_add_quest_normal_points_required(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_quest_normal_points_required(); - public: - int32_t quest_normal_points_required(int index) const; - void set_quest_normal_points_required(int index, int32_t value); - void add_quest_normal_points_required(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - quest_normal_points_required() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_quest_normal_points_required(); - - // repeated int32 quest_reward_xp = 5; - int quest_reward_xp_size() const; - private: - int _internal_quest_reward_xp_size() const; - public: - void clear_quest_reward_xp(); - private: - int32_t _internal_quest_reward_xp(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_quest_reward_xp() const; - void _internal_add_quest_reward_xp(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_quest_reward_xp(); - public: - int32_t quest_reward_xp(int index) const; - void set_quest_reward_xp(int index, int32_t value); - void add_quest_reward_xp(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - quest_reward_xp() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_quest_reward_xp(); - - // optional uint64 quest_id = 1; - bool has_quest_id() const; - private: - bool _internal_has_quest_id() const; - public: - void clear_quest_id(); - uint64_t quest_id() const; - void set_quest_id(uint64_t value); - private: - uint64_t _internal_quest_id() const; - void _internal_set_quest_id(uint64_t value); - public: - - // optional int32 quest_normal_points_earned = 2; - bool has_quest_normal_points_earned() const; - private: - bool _internal_has_quest_normal_points_earned() const; - public: - void clear_quest_normal_points_earned(); - int32_t quest_normal_points_earned() const; - void set_quest_normal_points_earned(int32_t value); - private: - int32_t _internal_quest_normal_points_earned() const; - void _internal_set_quest_normal_points_earned(int32_t value); - public: - - // optional int32 quest_bonus_points_earned = 3; - bool has_quest_bonus_points_earned() const; - private: - bool _internal_has_quest_bonus_points_earned() const; - public: - void clear_quest_bonus_points_earned(); - int32_t quest_bonus_points_earned() const; - void set_quest_bonus_points_earned(int32_t value); - private: - int32_t _internal_quest_bonus_points_earned() const; - void _internal_set_quest_bonus_points_earned(int32_t value); - public: - - // optional int32 quest_period = 6; - bool has_quest_period() const; - private: - bool _internal_has_quest_period() const; - public: - void clear_quest_period(); - int32_t quest_period() const; - void set_quest_period(int32_t value); - private: - int32_t _internal_quest_period() const; - void _internal_set_quest_period(int32_t value); - public: - - // optional .QuestType quest_type = 7 [default = k_EQuestType_Operation]; - bool has_quest_type() const; - private: - bool _internal_has_quest_type() const; - public: - void clear_quest_type(); - ::QuestType quest_type() const; - void set_quest_type(::QuestType value); - private: - ::QuestType _internal_quest_type() const; - void _internal_set_quest_type(::QuestType value); - public: - - // @@protoc_insertion_point(class_scope:PlayerQuestData.QuestItemData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > quest_normal_points_required_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > quest_reward_xp_; - uint64_t quest_id_; - int32_t quest_normal_points_earned_; - int32_t quest_bonus_points_earned_; - int32_t quest_period_; - int quest_type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class PlayerQuestData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PlayerQuestData) */ { - public: - inline PlayerQuestData() : PlayerQuestData(nullptr) {} - ~PlayerQuestData() override; - explicit PROTOBUF_CONSTEXPR PlayerQuestData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - PlayerQuestData(const PlayerQuestData& from); - PlayerQuestData(PlayerQuestData&& from) noexcept - : PlayerQuestData() { - *this = ::std::move(from); - } - - inline PlayerQuestData& operator=(const PlayerQuestData& from) { - CopyFrom(from); - return *this; - } - inline PlayerQuestData& operator=(PlayerQuestData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const PlayerQuestData& default_instance() { - return *internal_default_instance(); - } - static inline const PlayerQuestData* internal_default_instance() { - return reinterpret_cast( - &_PlayerQuestData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 26; - - friend void swap(PlayerQuestData& a, PlayerQuestData& b) { - a.Swap(&b); - } - inline void Swap(PlayerQuestData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(PlayerQuestData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - PlayerQuestData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const PlayerQuestData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const PlayerQuestData& from) { - PlayerQuestData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(PlayerQuestData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "PlayerQuestData"; - } - protected: - explicit PlayerQuestData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef PlayerQuestData_QuestItemData QuestItemData; - - // accessors ------------------------------------------------------- - - enum : int { - kQuestItemDataFieldNumber = 2, - kXpProgressDataFieldNumber = 3, - kItemUpdatesFieldNumber = 6, - kUserstatchangesFieldNumber = 8, - kQuesterAccountIdFieldNumber = 1, - kTimePlayedFieldNumber = 4, - kMmGameModeFieldNumber = 5, - kOperationPointsEligibleFieldNumber = 7, - }; - // repeated .PlayerQuestData.QuestItemData quest_item_data = 2; - int quest_item_data_size() const; - private: - int _internal_quest_item_data_size() const; - public: - void clear_quest_item_data(); - ::PlayerQuestData_QuestItemData* mutable_quest_item_data(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData_QuestItemData >* - mutable_quest_item_data(); - private: - const ::PlayerQuestData_QuestItemData& _internal_quest_item_data(int index) const; - ::PlayerQuestData_QuestItemData* _internal_add_quest_item_data(); - public: - const ::PlayerQuestData_QuestItemData& quest_item_data(int index) const; - ::PlayerQuestData_QuestItemData* add_quest_item_data(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData_QuestItemData >& - quest_item_data() const; - - // repeated .XpProgressData xp_progress_data = 3; - int xp_progress_data_size() const; - private: - int _internal_xp_progress_data_size() const; - public: - void clear_xp_progress_data(); - ::XpProgressData* mutable_xp_progress_data(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData >* - mutable_xp_progress_data(); - private: - const ::XpProgressData& _internal_xp_progress_data(int index) const; - ::XpProgressData* _internal_add_xp_progress_data(); - public: - const ::XpProgressData& xp_progress_data(int index) const; - ::XpProgressData* add_xp_progress_data(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData >& - xp_progress_data() const; - - // repeated .MatchEndItemUpdates item_updates = 6; - int item_updates_size() const; - private: - int _internal_item_updates_size() const; - public: - void clear_item_updates(); - ::MatchEndItemUpdates* mutable_item_updates(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MatchEndItemUpdates >* - mutable_item_updates(); - private: - const ::MatchEndItemUpdates& _internal_item_updates(int index) const; - ::MatchEndItemUpdates* _internal_add_item_updates(); - public: - const ::MatchEndItemUpdates& item_updates(int index) const; - ::MatchEndItemUpdates* add_item_updates(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MatchEndItemUpdates >& - item_updates() const; - - // repeated .CMsgCsgoSteamUserStatChange userstatchanges = 8; - int userstatchanges_size() const; - private: - int _internal_userstatchanges_size() const; - public: - void clear_userstatchanges(); - ::CMsgCsgoSteamUserStatChange* mutable_userstatchanges(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgCsgoSteamUserStatChange >* - mutable_userstatchanges(); - private: - const ::CMsgCsgoSteamUserStatChange& _internal_userstatchanges(int index) const; - ::CMsgCsgoSteamUserStatChange* _internal_add_userstatchanges(); - public: - const ::CMsgCsgoSteamUserStatChange& userstatchanges(int index) const; - ::CMsgCsgoSteamUserStatChange* add_userstatchanges(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgCsgoSteamUserStatChange >& - userstatchanges() const; - - // optional uint32 quester_account_id = 1; - bool has_quester_account_id() const; - private: - bool _internal_has_quester_account_id() const; - public: - void clear_quester_account_id(); - uint32_t quester_account_id() const; - void set_quester_account_id(uint32_t value); - private: - uint32_t _internal_quester_account_id() const; - void _internal_set_quester_account_id(uint32_t value); - public: - - // optional uint32 time_played = 4; - bool has_time_played() const; - private: - bool _internal_has_time_played() const; - public: - void clear_time_played(); - uint32_t time_played() const; - void set_time_played(uint32_t value); - private: - uint32_t _internal_time_played() const; - void _internal_set_time_played(uint32_t value); - public: - - // optional uint32 mm_game_mode = 5; - bool has_mm_game_mode() const; - private: - bool _internal_has_mm_game_mode() const; - public: - void clear_mm_game_mode(); - uint32_t mm_game_mode() const; - void set_mm_game_mode(uint32_t value); - private: - uint32_t _internal_mm_game_mode() const; - void _internal_set_mm_game_mode(uint32_t value); - public: - - // optional bool operation_points_eligible = 7; - bool has_operation_points_eligible() const; - private: - bool _internal_has_operation_points_eligible() const; - public: - void clear_operation_points_eligible(); - bool operation_points_eligible() const; - void set_operation_points_eligible(bool value); - private: - bool _internal_operation_points_eligible() const; - void _internal_set_operation_points_eligible(bool value); - public: - - // @@protoc_insertion_point(class_scope:PlayerQuestData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData_QuestItemData > quest_item_data_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData > xp_progress_data_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MatchEndItemUpdates > item_updates_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgCsgoSteamUserStatChange > userstatchanges_; - uint32_t quester_account_id_; - uint32_t time_played_; - uint32_t mm_game_mode_; - bool operation_points_eligible_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class DeepPlayerStatsEntry : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:DeepPlayerStatsEntry) */ { - public: - inline DeepPlayerStatsEntry() : DeepPlayerStatsEntry(nullptr) {} - ~DeepPlayerStatsEntry() override; - explicit PROTOBUF_CONSTEXPR DeepPlayerStatsEntry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - DeepPlayerStatsEntry(const DeepPlayerStatsEntry& from); - DeepPlayerStatsEntry(DeepPlayerStatsEntry&& from) noexcept - : DeepPlayerStatsEntry() { - *this = ::std::move(from); - } - - inline DeepPlayerStatsEntry& operator=(const DeepPlayerStatsEntry& from) { - CopyFrom(from); - return *this; - } - inline DeepPlayerStatsEntry& operator=(DeepPlayerStatsEntry&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const DeepPlayerStatsEntry& default_instance() { - return *internal_default_instance(); - } - static inline const DeepPlayerStatsEntry* internal_default_instance() { - return reinterpret_cast( - &_DeepPlayerStatsEntry_default_instance_); - } - static constexpr int kIndexInFileMessages = - 27; - - friend void swap(DeepPlayerStatsEntry& a, DeepPlayerStatsEntry& b) { - a.Swap(&b); - } - inline void Swap(DeepPlayerStatsEntry* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DeepPlayerStatsEntry* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DeepPlayerStatsEntry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DeepPlayerStatsEntry& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const DeepPlayerStatsEntry& from) { - DeepPlayerStatsEntry::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(DeepPlayerStatsEntry* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "DeepPlayerStatsEntry"; - } - protected: - explicit DeepPlayerStatsEntry(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMatesFieldNumber = 34, - kMatchIdFieldNumber = 2, - kAccountidFieldNumber = 1, - kMmGameModeFieldNumber = 3, - kMapidFieldNumber = 4, - kBStartingCtFieldNumber = 5, - kMatchOutcomeFieldNumber = 6, - kRoundsWonFieldNumber = 7, - kRoundsLostFieldNumber = 8, - kStatScoreFieldNumber = 9, - kStatDeathsFieldNumber = 12, - kStatMvpsFieldNumber = 13, - kEnemyKillsFieldNumber = 14, - kEnemyHeadshotsFieldNumber = 15, - kEnemy2KsFieldNumber = 16, - kEnemy3KsFieldNumber = 17, - kEnemy4KsFieldNumber = 18, - kTotalDamageFieldNumber = 19, - kEngagementsEntryCountFieldNumber = 23, - kEngagementsEntryWinsFieldNumber = 24, - kEngagements1V1CountFieldNumber = 25, - kEngagements1V1WinsFieldNumber = 26, - kEngagements1V2CountFieldNumber = 27, - kEngagements1V2WinsFieldNumber = 28, - kUtilityCountFieldNumber = 29, - kUtilitySuccessFieldNumber = 30, - kFlashCountFieldNumber = 32, - kFlashSuccessFieldNumber = 33, - }; - // repeated uint32 mates = 34; - int mates_size() const; - private: - int _internal_mates_size() const; - public: - void clear_mates(); - private: - uint32_t _internal_mates(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_mates() const; - void _internal_add_mates(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_mates(); - public: - uint32_t mates(int index) const; - void set_mates(int index, uint32_t value); - void add_mates(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - mates() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_mates(); - - // optional uint64 match_id = 2; - bool has_match_id() const; - private: - bool _internal_has_match_id() const; - public: - void clear_match_id(); - uint64_t match_id() const; - void set_match_id(uint64_t value); - private: - uint64_t _internal_match_id() const; - void _internal_set_match_id(uint64_t value); - public: - - // optional uint32 accountid = 1; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // optional uint32 mm_game_mode = 3; - bool has_mm_game_mode() const; - private: - bool _internal_has_mm_game_mode() const; - public: - void clear_mm_game_mode(); - uint32_t mm_game_mode() const; - void set_mm_game_mode(uint32_t value); - private: - uint32_t _internal_mm_game_mode() const; - void _internal_set_mm_game_mode(uint32_t value); - public: - - // optional uint32 mapid = 4; - bool has_mapid() const; - private: - bool _internal_has_mapid() const; - public: - void clear_mapid(); - uint32_t mapid() const; - void set_mapid(uint32_t value); - private: - uint32_t _internal_mapid() const; - void _internal_set_mapid(uint32_t value); - public: - - // optional bool b_starting_ct = 5; - bool has_b_starting_ct() const; - private: - bool _internal_has_b_starting_ct() const; - public: - void clear_b_starting_ct(); - bool b_starting_ct() const; - void set_b_starting_ct(bool value); - private: - bool _internal_b_starting_ct() const; - void _internal_set_b_starting_ct(bool value); - public: - - // optional uint32 match_outcome = 6; - bool has_match_outcome() const; - private: - bool _internal_has_match_outcome() const; - public: - void clear_match_outcome(); - uint32_t match_outcome() const; - void set_match_outcome(uint32_t value); - private: - uint32_t _internal_match_outcome() const; - void _internal_set_match_outcome(uint32_t value); - public: - - // optional uint32 rounds_won = 7; - bool has_rounds_won() const; - private: - bool _internal_has_rounds_won() const; - public: - void clear_rounds_won(); - uint32_t rounds_won() const; - void set_rounds_won(uint32_t value); - private: - uint32_t _internal_rounds_won() const; - void _internal_set_rounds_won(uint32_t value); - public: - - // optional uint32 rounds_lost = 8; - bool has_rounds_lost() const; - private: - bool _internal_has_rounds_lost() const; - public: - void clear_rounds_lost(); - uint32_t rounds_lost() const; - void set_rounds_lost(uint32_t value); - private: - uint32_t _internal_rounds_lost() const; - void _internal_set_rounds_lost(uint32_t value); - public: - - // optional uint32 stat_score = 9; - bool has_stat_score() const; - private: - bool _internal_has_stat_score() const; - public: - void clear_stat_score(); - uint32_t stat_score() const; - void set_stat_score(uint32_t value); - private: - uint32_t _internal_stat_score() const; - void _internal_set_stat_score(uint32_t value); - public: - - // optional uint32 stat_deaths = 12; - bool has_stat_deaths() const; - private: - bool _internal_has_stat_deaths() const; - public: - void clear_stat_deaths(); - uint32_t stat_deaths() const; - void set_stat_deaths(uint32_t value); - private: - uint32_t _internal_stat_deaths() const; - void _internal_set_stat_deaths(uint32_t value); - public: - - // optional uint32 stat_mvps = 13; - bool has_stat_mvps() const; - private: - bool _internal_has_stat_mvps() const; - public: - void clear_stat_mvps(); - uint32_t stat_mvps() const; - void set_stat_mvps(uint32_t value); - private: - uint32_t _internal_stat_mvps() const; - void _internal_set_stat_mvps(uint32_t value); - public: - - // optional uint32 enemy_kills = 14; - bool has_enemy_kills() const; - private: - bool _internal_has_enemy_kills() const; - public: - void clear_enemy_kills(); - uint32_t enemy_kills() const; - void set_enemy_kills(uint32_t value); - private: - uint32_t _internal_enemy_kills() const; - void _internal_set_enemy_kills(uint32_t value); - public: - - // optional uint32 enemy_headshots = 15; - bool has_enemy_headshots() const; - private: - bool _internal_has_enemy_headshots() const; - public: - void clear_enemy_headshots(); - uint32_t enemy_headshots() const; - void set_enemy_headshots(uint32_t value); - private: - uint32_t _internal_enemy_headshots() const; - void _internal_set_enemy_headshots(uint32_t value); - public: - - // optional uint32 enemy_2ks = 16; - bool has_enemy_2ks() const; - private: - bool _internal_has_enemy_2ks() const; - public: - void clear_enemy_2ks(); - uint32_t enemy_2ks() const; - void set_enemy_2ks(uint32_t value); - private: - uint32_t _internal_enemy_2ks() const; - void _internal_set_enemy_2ks(uint32_t value); - public: - - // optional uint32 enemy_3ks = 17; - bool has_enemy_3ks() const; - private: - bool _internal_has_enemy_3ks() const; - public: - void clear_enemy_3ks(); - uint32_t enemy_3ks() const; - void set_enemy_3ks(uint32_t value); - private: - uint32_t _internal_enemy_3ks() const; - void _internal_set_enemy_3ks(uint32_t value); - public: - - // optional uint32 enemy_4ks = 18; - bool has_enemy_4ks() const; - private: - bool _internal_has_enemy_4ks() const; - public: - void clear_enemy_4ks(); - uint32_t enemy_4ks() const; - void set_enemy_4ks(uint32_t value); - private: - uint32_t _internal_enemy_4ks() const; - void _internal_set_enemy_4ks(uint32_t value); - public: - - // optional uint32 total_damage = 19; - bool has_total_damage() const; - private: - bool _internal_has_total_damage() const; - public: - void clear_total_damage(); - uint32_t total_damage() const; - void set_total_damage(uint32_t value); - private: - uint32_t _internal_total_damage() const; - void _internal_set_total_damage(uint32_t value); - public: - - // optional uint32 engagements_entry_count = 23; - bool has_engagements_entry_count() const; - private: - bool _internal_has_engagements_entry_count() const; - public: - void clear_engagements_entry_count(); - uint32_t engagements_entry_count() const; - void set_engagements_entry_count(uint32_t value); - private: - uint32_t _internal_engagements_entry_count() const; - void _internal_set_engagements_entry_count(uint32_t value); - public: - - // optional uint32 engagements_entry_wins = 24; - bool has_engagements_entry_wins() const; - private: - bool _internal_has_engagements_entry_wins() const; - public: - void clear_engagements_entry_wins(); - uint32_t engagements_entry_wins() const; - void set_engagements_entry_wins(uint32_t value); - private: - uint32_t _internal_engagements_entry_wins() const; - void _internal_set_engagements_entry_wins(uint32_t value); - public: - - // optional uint32 engagements_1v1_count = 25; - bool has_engagements_1v1_count() const; - private: - bool _internal_has_engagements_1v1_count() const; - public: - void clear_engagements_1v1_count(); - uint32_t engagements_1v1_count() const; - void set_engagements_1v1_count(uint32_t value); - private: - uint32_t _internal_engagements_1v1_count() const; - void _internal_set_engagements_1v1_count(uint32_t value); - public: - - // optional uint32 engagements_1v1_wins = 26; - bool has_engagements_1v1_wins() const; - private: - bool _internal_has_engagements_1v1_wins() const; - public: - void clear_engagements_1v1_wins(); - uint32_t engagements_1v1_wins() const; - void set_engagements_1v1_wins(uint32_t value); - private: - uint32_t _internal_engagements_1v1_wins() const; - void _internal_set_engagements_1v1_wins(uint32_t value); - public: - - // optional uint32 engagements_1v2_count = 27; - bool has_engagements_1v2_count() const; - private: - bool _internal_has_engagements_1v2_count() const; - public: - void clear_engagements_1v2_count(); - uint32_t engagements_1v2_count() const; - void set_engagements_1v2_count(uint32_t value); - private: - uint32_t _internal_engagements_1v2_count() const; - void _internal_set_engagements_1v2_count(uint32_t value); - public: - - // optional uint32 engagements_1v2_wins = 28; - bool has_engagements_1v2_wins() const; - private: - bool _internal_has_engagements_1v2_wins() const; - public: - void clear_engagements_1v2_wins(); - uint32_t engagements_1v2_wins() const; - void set_engagements_1v2_wins(uint32_t value); - private: - uint32_t _internal_engagements_1v2_wins() const; - void _internal_set_engagements_1v2_wins(uint32_t value); - public: - - // optional uint32 utility_count = 29; - bool has_utility_count() const; - private: - bool _internal_has_utility_count() const; - public: - void clear_utility_count(); - uint32_t utility_count() const; - void set_utility_count(uint32_t value); - private: - uint32_t _internal_utility_count() const; - void _internal_set_utility_count(uint32_t value); - public: - - // optional uint32 utility_success = 30; - bool has_utility_success() const; - private: - bool _internal_has_utility_success() const; - public: - void clear_utility_success(); - uint32_t utility_success() const; - void set_utility_success(uint32_t value); - private: - uint32_t _internal_utility_success() const; - void _internal_set_utility_success(uint32_t value); - public: - - // optional uint32 flash_count = 32; - bool has_flash_count() const; - private: - bool _internal_has_flash_count() const; - public: - void clear_flash_count(); - uint32_t flash_count() const; - void set_flash_count(uint32_t value); - private: - uint32_t _internal_flash_count() const; - void _internal_set_flash_count(uint32_t value); - public: - - // optional uint32 flash_success = 33; - bool has_flash_success() const; - private: - bool _internal_has_flash_success() const; - public: - void clear_flash_success(); - uint32_t flash_success() const; - void set_flash_success(uint32_t value); - private: - uint32_t _internal_flash_success() const; - void _internal_set_flash_success(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:DeepPlayerStatsEntry) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > mates_; - uint64_t match_id_; - uint32_t accountid_; - uint32_t mm_game_mode_; - uint32_t mapid_; - bool b_starting_ct_; - uint32_t match_outcome_; - uint32_t rounds_won_; - uint32_t rounds_lost_; - uint32_t stat_score_; - uint32_t stat_deaths_; - uint32_t stat_mvps_; - uint32_t enemy_kills_; - uint32_t enemy_headshots_; - uint32_t enemy_2ks_; - uint32_t enemy_3ks_; - uint32_t enemy_4ks_; - uint32_t total_damage_; - uint32_t engagements_entry_count_; - uint32_t engagements_entry_wins_; - uint32_t engagements_1v1_count_; - uint32_t engagements_1v1_wins_; - uint32_t engagements_1v2_count_; - uint32_t engagements_1v2_wins_; - uint32_t utility_count_; - uint32_t utility_success_; - uint32_t flash_count_; - uint32_t flash_success_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class DeepPlayerMatchEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:DeepPlayerMatchEvent) */ { - public: - inline DeepPlayerMatchEvent() : DeepPlayerMatchEvent(nullptr) {} - ~DeepPlayerMatchEvent() override; - explicit PROTOBUF_CONSTEXPR DeepPlayerMatchEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - DeepPlayerMatchEvent(const DeepPlayerMatchEvent& from); - DeepPlayerMatchEvent(DeepPlayerMatchEvent&& from) noexcept - : DeepPlayerMatchEvent() { - *this = ::std::move(from); - } - - inline DeepPlayerMatchEvent& operator=(const DeepPlayerMatchEvent& from) { - CopyFrom(from); - return *this; - } - inline DeepPlayerMatchEvent& operator=(DeepPlayerMatchEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const DeepPlayerMatchEvent& default_instance() { - return *internal_default_instance(); - } - static inline const DeepPlayerMatchEvent* internal_default_instance() { - return reinterpret_cast( - &_DeepPlayerMatchEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 28; - - friend void swap(DeepPlayerMatchEvent& a, DeepPlayerMatchEvent& b) { - a.Swap(&b); - } - inline void Swap(DeepPlayerMatchEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DeepPlayerMatchEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DeepPlayerMatchEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const DeepPlayerMatchEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const DeepPlayerMatchEvent& from) { - DeepPlayerMatchEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(DeepPlayerMatchEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "DeepPlayerMatchEvent"; - } - protected: - explicit DeepPlayerMatchEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMatchIdFieldNumber = 2, - kAccountidFieldNumber = 1, - kEventIdFieldNumber = 3, - kEventTypeFieldNumber = 4, - kBPlayingCtFieldNumber = 5, - kUserPosXFieldNumber = 6, - kUserPosYFieldNumber = 7, - kUserDefidxFieldNumber = 8, - kOtherPosXFieldNumber = 9, - kOtherPosYFieldNumber = 10, - kOtherDefidxFieldNumber = 11, - kUserPosZFieldNumber = 12, - kOtherPosZFieldNumber = 13, - kEventDataFieldNumber = 14, - }; - // optional uint64 match_id = 2; - bool has_match_id() const; - private: - bool _internal_has_match_id() const; - public: - void clear_match_id(); - uint64_t match_id() const; - void set_match_id(uint64_t value); - private: - uint64_t _internal_match_id() const; - void _internal_set_match_id(uint64_t value); - public: - - // optional uint32 accountid = 1; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // optional uint32 event_id = 3; - bool has_event_id() const; - private: - bool _internal_has_event_id() const; - public: - void clear_event_id(); - uint32_t event_id() const; - void set_event_id(uint32_t value); - private: - uint32_t _internal_event_id() const; - void _internal_set_event_id(uint32_t value); - public: - - // optional uint32 event_type = 4; - bool has_event_type() const; - private: - bool _internal_has_event_type() const; - public: - void clear_event_type(); - uint32_t event_type() const; - void set_event_type(uint32_t value); - private: - uint32_t _internal_event_type() const; - void _internal_set_event_type(uint32_t value); - public: - - // optional bool b_playing_ct = 5; - bool has_b_playing_ct() const; - private: - bool _internal_has_b_playing_ct() const; - public: - void clear_b_playing_ct(); - bool b_playing_ct() const; - void set_b_playing_ct(bool value); - private: - bool _internal_b_playing_ct() const; - void _internal_set_b_playing_ct(bool value); - public: - - // optional int32 user_pos_x = 6; - bool has_user_pos_x() const; - private: - bool _internal_has_user_pos_x() const; - public: - void clear_user_pos_x(); - int32_t user_pos_x() const; - void set_user_pos_x(int32_t value); - private: - int32_t _internal_user_pos_x() const; - void _internal_set_user_pos_x(int32_t value); - public: - - // optional int32 user_pos_y = 7; - bool has_user_pos_y() const; - private: - bool _internal_has_user_pos_y() const; - public: - void clear_user_pos_y(); - int32_t user_pos_y() const; - void set_user_pos_y(int32_t value); - private: - int32_t _internal_user_pos_y() const; - void _internal_set_user_pos_y(int32_t value); - public: - - // optional uint32 user_defidx = 8; - bool has_user_defidx() const; - private: - bool _internal_has_user_defidx() const; - public: - void clear_user_defidx(); - uint32_t user_defidx() const; - void set_user_defidx(uint32_t value); - private: - uint32_t _internal_user_defidx() const; - void _internal_set_user_defidx(uint32_t value); - public: - - // optional int32 other_pos_x = 9; - bool has_other_pos_x() const; - private: - bool _internal_has_other_pos_x() const; - public: - void clear_other_pos_x(); - int32_t other_pos_x() const; - void set_other_pos_x(int32_t value); - private: - int32_t _internal_other_pos_x() const; - void _internal_set_other_pos_x(int32_t value); - public: - - // optional int32 other_pos_y = 10; - bool has_other_pos_y() const; - private: - bool _internal_has_other_pos_y() const; - public: - void clear_other_pos_y(); - int32_t other_pos_y() const; - void set_other_pos_y(int32_t value); - private: - int32_t _internal_other_pos_y() const; - void _internal_set_other_pos_y(int32_t value); - public: - - // optional uint32 other_defidx = 11; - bool has_other_defidx() const; - private: - bool _internal_has_other_defidx() const; - public: - void clear_other_defidx(); - uint32_t other_defidx() const; - void set_other_defidx(uint32_t value); - private: - uint32_t _internal_other_defidx() const; - void _internal_set_other_defidx(uint32_t value); - public: - - // optional int32 user_pos_z = 12; - bool has_user_pos_z() const; - private: - bool _internal_has_user_pos_z() const; - public: - void clear_user_pos_z(); - int32_t user_pos_z() const; - void set_user_pos_z(int32_t value); - private: - int32_t _internal_user_pos_z() const; - void _internal_set_user_pos_z(int32_t value); - public: - - // optional int32 other_pos_z = 13; - bool has_other_pos_z() const; - private: - bool _internal_has_other_pos_z() const; - public: - void clear_other_pos_z(); - int32_t other_pos_z() const; - void set_other_pos_z(int32_t value); - private: - int32_t _internal_other_pos_z() const; - void _internal_set_other_pos_z(int32_t value); - public: - - // optional int32 event_data = 14; - bool has_event_data() const; - private: - bool _internal_has_event_data() const; - public: - void clear_event_data(); - int32_t event_data() const; - void set_event_data(int32_t value); - private: - int32_t _internal_event_data() const; - void _internal_set_event_data(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:DeepPlayerMatchEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t match_id_; - uint32_t accountid_; - uint32_t event_id_; - uint32_t event_type_; - bool b_playing_ct_; - int32_t user_pos_x_; - int32_t user_pos_y_; - uint32_t user_defidx_; - int32_t other_pos_x_; - int32_t other_pos_y_; - uint32_t other_defidx_; - int32_t user_pos_z_; - int32_t other_pos_z_; - int32_t event_data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGC_ServerQuestUpdateData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGC_ServerQuestUpdateData) */ { - public: - inline CMsgGC_ServerQuestUpdateData() : CMsgGC_ServerQuestUpdateData(nullptr) {} - ~CMsgGC_ServerQuestUpdateData() override; - explicit PROTOBUF_CONSTEXPR CMsgGC_ServerQuestUpdateData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGC_ServerQuestUpdateData(const CMsgGC_ServerQuestUpdateData& from); - CMsgGC_ServerQuestUpdateData(CMsgGC_ServerQuestUpdateData&& from) noexcept - : CMsgGC_ServerQuestUpdateData() { - *this = ::std::move(from); - } - - inline CMsgGC_ServerQuestUpdateData& operator=(const CMsgGC_ServerQuestUpdateData& from) { - CopyFrom(from); - return *this; - } - inline CMsgGC_ServerQuestUpdateData& operator=(CMsgGC_ServerQuestUpdateData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGC_ServerQuestUpdateData& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGC_ServerQuestUpdateData* internal_default_instance() { - return reinterpret_cast( - &_CMsgGC_ServerQuestUpdateData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 29; - - friend void swap(CMsgGC_ServerQuestUpdateData& a, CMsgGC_ServerQuestUpdateData& b) { - a.Swap(&b); - } - inline void Swap(CMsgGC_ServerQuestUpdateData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGC_ServerQuestUpdateData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGC_ServerQuestUpdateData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGC_ServerQuestUpdateData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGC_ServerQuestUpdateData& from) { - CMsgGC_ServerQuestUpdateData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGC_ServerQuestUpdateData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGC_ServerQuestUpdateData"; - } - protected: - explicit CMsgGC_ServerQuestUpdateData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPlayerQuestDataFieldNumber = 1, - kBinaryDataFieldNumber = 2, - kMissionlbsdataFieldNumber = 4, - kMmGameModeFieldNumber = 3, - kFlagsFieldNumber = 5, - }; - // repeated .PlayerQuestData player_quest_data = 1; - int player_quest_data_size() const; - private: - int _internal_player_quest_data_size() const; - public: - void clear_player_quest_data(); - ::PlayerQuestData* mutable_player_quest_data(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData >* - mutable_player_quest_data(); - private: - const ::PlayerQuestData& _internal_player_quest_data(int index) const; - ::PlayerQuestData* _internal_add_player_quest_data(); - public: - const ::PlayerQuestData& player_quest_data(int index) const; - ::PlayerQuestData* add_player_quest_data(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData >& - player_quest_data() const; - - // optional bytes binary_data = 2; - bool has_binary_data() const; - private: - bool _internal_has_binary_data() const; - public: - void clear_binary_data(); - const std::string& binary_data() const; - template - void set_binary_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_binary_data(); - PROTOBUF_NODISCARD std::string* release_binary_data(); - void set_allocated_binary_data(std::string* binary_data); - private: - const std::string& _internal_binary_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_binary_data(const std::string& value); - std::string* _internal_mutable_binary_data(); - public: - - // optional .ScoreLeaderboardData missionlbsdata = 4; - bool has_missionlbsdata() const; - private: - bool _internal_has_missionlbsdata() const; - public: - void clear_missionlbsdata(); - const ::ScoreLeaderboardData& missionlbsdata() const; - PROTOBUF_NODISCARD ::ScoreLeaderboardData* release_missionlbsdata(); - ::ScoreLeaderboardData* mutable_missionlbsdata(); - void set_allocated_missionlbsdata(::ScoreLeaderboardData* missionlbsdata); - private: - const ::ScoreLeaderboardData& _internal_missionlbsdata() const; - ::ScoreLeaderboardData* _internal_mutable_missionlbsdata(); - public: - void unsafe_arena_set_allocated_missionlbsdata( - ::ScoreLeaderboardData* missionlbsdata); - ::ScoreLeaderboardData* unsafe_arena_release_missionlbsdata(); - - // optional uint32 mm_game_mode = 3; - bool has_mm_game_mode() const; - private: - bool _internal_has_mm_game_mode() const; - public: - void clear_mm_game_mode(); - uint32_t mm_game_mode() const; - void set_mm_game_mode(uint32_t value); - private: - uint32_t _internal_mm_game_mode() const; - void _internal_set_mm_game_mode(uint32_t value); - public: - - // optional uint32 flags = 5; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGC_ServerQuestUpdateData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData > player_quest_data_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr binary_data_; - ::ScoreLeaderboardData* missionlbsdata_; - uint32_t mm_game_mode_; - uint32_t flags_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) */ { - public: - inline CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm() : CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm(nullptr) {} - ~CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm(const CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& from); - CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm&& from) noexcept - : CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& operator=(const CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& operator=(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm_default_instance_); - } - static constexpr int kIndexInFileMessages = - 30; - - friend void swap(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& a, CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& from) { - CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTokenFieldNumber = 1, - kStampFieldNumber = 2, - kExchangeFieldNumber = 3, - kRetryFieldNumber = 4, - }; - // optional uint32 token = 1; - bool has_token() const; - private: - bool _internal_has_token() const; - public: - void clear_token(); - uint32_t token() const; - void set_token(uint32_t value); - private: - uint32_t _internal_token() const; - void _internal_set_token(uint32_t value); - public: - - // optional uint32 stamp = 2; - bool has_stamp() const; - private: - bool _internal_has_stamp() const; - public: - void clear_stamp(); - uint32_t stamp() const; - void set_stamp(uint32_t value); - private: - uint32_t _internal_stamp() const; - void _internal_set_stamp(uint32_t value); - public: - - // optional uint64 exchange = 3; - bool has_exchange() const; - private: - bool _internal_has_exchange() const; - public: - void clear_exchange(); - uint64_t exchange() const; - void set_exchange(uint64_t value); - private: - uint64_t _internal_exchange() const; - void _internal_set_exchange(uint64_t value); - public: - - // optional uint32 retry = 4; - bool has_retry() const; - private: - bool _internal_has_retry() const; - public: - void clear_retry(); - uint32_t retry() const; - void set_retry(uint32_t value); - private: - uint32_t _internal_retry() const; - void _internal_set_retry(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t token_; - uint32_t stamp_; - uint64_t exchange_; - uint32_t retry_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_GC2ServerReservationUpdate : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) */ { - public: - inline CMsgGCCStrike15_v2_GC2ServerReservationUpdate() : CMsgGCCStrike15_v2_GC2ServerReservationUpdate(nullptr) {} - ~CMsgGCCStrike15_v2_GC2ServerReservationUpdate() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ServerReservationUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_GC2ServerReservationUpdate(const CMsgGCCStrike15_v2_GC2ServerReservationUpdate& from); - CMsgGCCStrike15_v2_GC2ServerReservationUpdate(CMsgGCCStrike15_v2_GC2ServerReservationUpdate&& from) noexcept - : CMsgGCCStrike15_v2_GC2ServerReservationUpdate() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_GC2ServerReservationUpdate& operator=(const CMsgGCCStrike15_v2_GC2ServerReservationUpdate& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_GC2ServerReservationUpdate& operator=(CMsgGCCStrike15_v2_GC2ServerReservationUpdate&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_GC2ServerReservationUpdate& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_GC2ServerReservationUpdate* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_GC2ServerReservationUpdate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 31; - - friend void swap(CMsgGCCStrike15_v2_GC2ServerReservationUpdate& a, CMsgGCCStrike15_v2_GC2ServerReservationUpdate& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_GC2ServerReservationUpdate* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_GC2ServerReservationUpdate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_GC2ServerReservationUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_GC2ServerReservationUpdate& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_GC2ServerReservationUpdate& from) { - CMsgGCCStrike15_v2_GC2ServerReservationUpdate::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_GC2ServerReservationUpdate* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_GC2ServerReservationUpdate"; - } - protected: - explicit CMsgGCCStrike15_v2_GC2ServerReservationUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kViewersExternalTotalFieldNumber = 1, - kViewersExternalSteamFieldNumber = 2, - }; - // optional uint32 viewers_external_total = 1; - bool has_viewers_external_total() const; - private: - bool _internal_has_viewers_external_total() const; - public: - void clear_viewers_external_total(); - uint32_t viewers_external_total() const; - void set_viewers_external_total(uint32_t value); - private: - uint32_t _internal_viewers_external_total() const; - void _internal_set_viewers_external_total(uint32_t value); - public: - - // optional uint32 viewers_external_steam = 2; - bool has_viewers_external_steam() const; - private: - bool _internal_has_viewers_external_steam() const; - public: - void clear_viewers_external_steam(); - uint32_t viewers_external_steam() const; - void set_viewers_external_steam(uint32_t value); - private: - uint32_t _internal_viewers_external_steam() const; - void _internal_set_viewers_external_steam(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GC2ServerReservationUpdate) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t viewers_external_total_; - uint32_t viewers_external_steam_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchmakingStart : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingStart) */ { - public: - inline CMsgGCCStrike15_v2_MatchmakingStart() : CMsgGCCStrike15_v2_MatchmakingStart(nullptr) {} - ~CMsgGCCStrike15_v2_MatchmakingStart() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingStart(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchmakingStart(const CMsgGCCStrike15_v2_MatchmakingStart& from); - CMsgGCCStrike15_v2_MatchmakingStart(CMsgGCCStrike15_v2_MatchmakingStart&& from) noexcept - : CMsgGCCStrike15_v2_MatchmakingStart() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchmakingStart& operator=(const CMsgGCCStrike15_v2_MatchmakingStart& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchmakingStart& operator=(CMsgGCCStrike15_v2_MatchmakingStart&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchmakingStart& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchmakingStart* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchmakingStart_default_instance_); - } - static constexpr int kIndexInFileMessages = - 32; - - friend void swap(CMsgGCCStrike15_v2_MatchmakingStart& a, CMsgGCCStrike15_v2_MatchmakingStart& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchmakingStart* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchmakingStart* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchmakingStart* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingStart& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingStart& from) { - CMsgGCCStrike15_v2_MatchmakingStart::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchmakingStart* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchmakingStart"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchmakingStart(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountIdsFieldNumber = 1, - kTicketDataFieldNumber = 3, - kTournamentMatchFieldNumber = 5, - kGameTypeFieldNumber = 2, - kClientVersionFieldNumber = 4, - kPrimeOnlyFieldNumber = 6, - kTvControlFieldNumber = 7, - kLobbyIdFieldNumber = 8, - }; - // repeated uint32 account_ids = 1; - int account_ids_size() const; - private: - int _internal_account_ids_size() const; - public: - void clear_account_ids(); - private: - uint32_t _internal_account_ids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_account_ids() const; - void _internal_add_account_ids(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_account_ids(); - public: - uint32_t account_ids(int index) const; - void set_account_ids(int index, uint32_t value); - void add_account_ids(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - account_ids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_account_ids(); - - // optional string ticket_data = 3; - bool has_ticket_data() const; - private: - bool _internal_has_ticket_data() const; - public: - void clear_ticket_data(); - const std::string& ticket_data() const; - template - void set_ticket_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_ticket_data(); - PROTOBUF_NODISCARD std::string* release_ticket_data(); - void set_allocated_ticket_data(std::string* ticket_data); - private: - const std::string& _internal_ticket_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_ticket_data(const std::string& value); - std::string* _internal_mutable_ticket_data(); - public: - - // optional .TournamentMatchSetup tournament_match = 5; - bool has_tournament_match() const; - private: - bool _internal_has_tournament_match() const; - public: - void clear_tournament_match(); - const ::TournamentMatchSetup& tournament_match() const; - PROTOBUF_NODISCARD ::TournamentMatchSetup* release_tournament_match(); - ::TournamentMatchSetup* mutable_tournament_match(); - void set_allocated_tournament_match(::TournamentMatchSetup* tournament_match); - private: - const ::TournamentMatchSetup& _internal_tournament_match() const; - ::TournamentMatchSetup* _internal_mutable_tournament_match(); - public: - void unsafe_arena_set_allocated_tournament_match( - ::TournamentMatchSetup* tournament_match); - ::TournamentMatchSetup* unsafe_arena_release_tournament_match(); - - // optional uint32 game_type = 2; - bool has_game_type() const; - private: - bool _internal_has_game_type() const; - public: - void clear_game_type(); - uint32_t game_type() const; - void set_game_type(uint32_t value); - private: - uint32_t _internal_game_type() const; - void _internal_set_game_type(uint32_t value); - public: - - // optional uint32 client_version = 4; - bool has_client_version() const; - private: - bool _internal_has_client_version() const; - public: - void clear_client_version(); - uint32_t client_version() const; - void set_client_version(uint32_t value); - private: - uint32_t _internal_client_version() const; - void _internal_set_client_version(uint32_t value); - public: - - // optional bool prime_only = 6; - bool has_prime_only() const; - private: - bool _internal_has_prime_only() const; - public: - void clear_prime_only(); - bool prime_only() const; - void set_prime_only(bool value); - private: - bool _internal_prime_only() const; - void _internal_set_prime_only(bool value); - public: - - // optional uint32 tv_control = 7; - bool has_tv_control() const; - private: - bool _internal_has_tv_control() const; - public: - void clear_tv_control(); - uint32_t tv_control() const; - void set_tv_control(uint32_t value); - private: - uint32_t _internal_tv_control() const; - void _internal_set_tv_control(uint32_t value); - public: - - // optional uint64 lobby_id = 8; - bool has_lobby_id() const; - private: - bool _internal_has_lobby_id() const; - public: - void clear_lobby_id(); - uint64_t lobby_id() const; - void set_lobby_id(uint64_t value); - private: - uint64_t _internal_lobby_id() const; - void _internal_set_lobby_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingStart) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > account_ids_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ticket_data_; - ::TournamentMatchSetup* tournament_match_; - uint32_t game_type_; - uint32_t client_version_; - bool prime_only_; - uint32_t tv_control_; - uint64_t lobby_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchmakingStop : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingStop) */ { - public: - inline CMsgGCCStrike15_v2_MatchmakingStop() : CMsgGCCStrike15_v2_MatchmakingStop(nullptr) {} - ~CMsgGCCStrike15_v2_MatchmakingStop() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingStop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchmakingStop(const CMsgGCCStrike15_v2_MatchmakingStop& from); - CMsgGCCStrike15_v2_MatchmakingStop(CMsgGCCStrike15_v2_MatchmakingStop&& from) noexcept - : CMsgGCCStrike15_v2_MatchmakingStop() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchmakingStop& operator=(const CMsgGCCStrike15_v2_MatchmakingStop& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchmakingStop& operator=(CMsgGCCStrike15_v2_MatchmakingStop&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchmakingStop& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchmakingStop* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchmakingStop_default_instance_); - } - static constexpr int kIndexInFileMessages = - 33; - - friend void swap(CMsgGCCStrike15_v2_MatchmakingStop& a, CMsgGCCStrike15_v2_MatchmakingStop& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchmakingStop* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchmakingStop* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchmakingStop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingStop& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingStop& from) { - CMsgGCCStrike15_v2_MatchmakingStop::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchmakingStop* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchmakingStop"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchmakingStop(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAbandonFieldNumber = 1, - }; - // optional int32 abandon = 1; - bool has_abandon() const; - private: - bool _internal_has_abandon() const; - public: - void clear_abandon(); - int32_t abandon() const; - void set_abandon(int32_t value); - private: - int32_t _internal_abandon() const; - void _internal_set_abandon(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingStop) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t abandon_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) */ { - public: - inline CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note() : CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note(nullptr) {} - ~CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& from); - CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note&& from) noexcept - : CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& operator=(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& operator=(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note_default_instance_); - } - static constexpr int kIndexInFileMessages = - 34; - - friend void swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& a, CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& from) { - CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTypeFieldNumber = 1, - kRegionIdFieldNumber = 2, - kRegionRFieldNumber = 3, - kDistanceFieldNumber = 4, - }; - // optional int32 type = 1; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - int32_t type() const; - void set_type(int32_t value); - private: - int32_t _internal_type() const; - void _internal_set_type(int32_t value); - public: - - // optional int32 region_id = 2; - bool has_region_id() const; - private: - bool _internal_has_region_id() const; - public: - void clear_region_id(); - int32_t region_id() const; - void set_region_id(int32_t value); - private: - int32_t _internal_region_id() const; - void _internal_set_region_id(int32_t value); - public: - - // optional float region_r = 3; - bool has_region_r() const; - private: - bool _internal_has_region_r() const; - public: - void clear_region_r(); - float region_r() const; - void set_region_r(float value); - private: - float _internal_region_r() const; - void _internal_set_region_r(float value); - public: - - // optional float distance = 4; - bool has_distance() const; - private: - bool _internal_has_distance() const; - public: - void clear_distance(); - float distance() const; - void set_distance(float value); - private: - float _internal_distance() const; - void _internal_set_distance(float value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t type_; - int32_t region_id_; - float region_r_; - float distance_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchmakingClient2ServerPing : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) */ { - public: - inline CMsgGCCStrike15_v2_MatchmakingClient2ServerPing() : CMsgGCCStrike15_v2_MatchmakingClient2ServerPing(nullptr) {} - ~CMsgGCCStrike15_v2_MatchmakingClient2ServerPing() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingClient2ServerPing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchmakingClient2ServerPing(const CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& from); - CMsgGCCStrike15_v2_MatchmakingClient2ServerPing(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing&& from) noexcept - : CMsgGCCStrike15_v2_MatchmakingClient2ServerPing() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& operator=(const CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& operator=(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchmakingClient2ServerPing* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchmakingClient2ServerPing_default_instance_); - } - static constexpr int kIndexInFileMessages = - 35; - - friend void swap(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& a, CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchmakingClient2ServerPing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingClient2ServerPing& from) { - CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchmakingClient2ServerPing* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchmakingClient2ServerPing"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchmakingClient2ServerPing(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGameserverpingsFieldNumber = 1, - kDataCenterPingsFieldNumber = 4, - kNotesFieldNumber = 8, - kSearchKeyFieldNumber = 7, - kDebugMessageFieldNumber = 9, - kOffsetIndexFieldNumber = 2, - kFinalBatchFieldNumber = 3, - kMaxPingFieldNumber = 5, - kTestTokenFieldNumber = 6, - }; - // repeated .GameServerPing gameserverpings = 1; - int gameserverpings_size() const; - private: - int _internal_gameserverpings_size() const; - public: - void clear_gameserverpings(); - ::GameServerPing* mutable_gameserverpings(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::GameServerPing >* - mutable_gameserverpings(); - private: - const ::GameServerPing& _internal_gameserverpings(int index) const; - ::GameServerPing* _internal_add_gameserverpings(); - public: - const ::GameServerPing& gameserverpings(int index) const; - ::GameServerPing* add_gameserverpings(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::GameServerPing >& - gameserverpings() const; - - // repeated .DataCenterPing data_center_pings = 4; - int data_center_pings_size() const; - private: - int _internal_data_center_pings_size() const; - public: - void clear_data_center_pings(); - ::DataCenterPing* mutable_data_center_pings(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing >* - mutable_data_center_pings(); - private: - const ::DataCenterPing& _internal_data_center_pings(int index) const; - ::DataCenterPing* _internal_add_data_center_pings(); - public: - const ::DataCenterPing& data_center_pings(int index) const; - ::DataCenterPing* add_data_center_pings(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing >& - data_center_pings() const; - - // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 8; - int notes_size() const; - private: - int _internal_notes_size() const; - public: - void clear_notes(); - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* mutable_notes(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >* - mutable_notes(); - private: - const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& _internal_notes(int index) const; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* _internal_add_notes(); - public: - const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& notes(int index) const; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* add_notes(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >& - notes() const; - - // optional bytes search_key = 7; - bool has_search_key() const; - private: - bool _internal_has_search_key() const; - public: - void clear_search_key(); - const std::string& search_key() const; - template - void set_search_key(ArgT0&& arg0, ArgT... args); - std::string* mutable_search_key(); - PROTOBUF_NODISCARD std::string* release_search_key(); - void set_allocated_search_key(std::string* search_key); - private: - const std::string& _internal_search_key() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_search_key(const std::string& value); - std::string* _internal_mutable_search_key(); - public: - - // optional string debug_message = 9; - bool has_debug_message() const; - private: - bool _internal_has_debug_message() const; - public: - void clear_debug_message(); - const std::string& debug_message() const; - template - void set_debug_message(ArgT0&& arg0, ArgT... args); - std::string* mutable_debug_message(); - PROTOBUF_NODISCARD std::string* release_debug_message(); - void set_allocated_debug_message(std::string* debug_message); - private: - const std::string& _internal_debug_message() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_debug_message(const std::string& value); - std::string* _internal_mutable_debug_message(); - public: - - // optional int32 offset_index = 2; - bool has_offset_index() const; - private: - bool _internal_has_offset_index() const; - public: - void clear_offset_index(); - int32_t offset_index() const; - void set_offset_index(int32_t value); - private: - int32_t _internal_offset_index() const; - void _internal_set_offset_index(int32_t value); - public: - - // optional int32 final_batch = 3; - bool has_final_batch() const; - private: - bool _internal_has_final_batch() const; - public: - void clear_final_batch(); - int32_t final_batch() const; - void set_final_batch(int32_t value); - private: - int32_t _internal_final_batch() const; - void _internal_set_final_batch(int32_t value); - public: - - // optional uint32 max_ping = 5; - bool has_max_ping() const; - private: - bool _internal_has_max_ping() const; - public: - void clear_max_ping(); - uint32_t max_ping() const; - void set_max_ping(uint32_t value); - private: - uint32_t _internal_max_ping() const; - void _internal_set_max_ping(uint32_t value); - public: - - // optional fixed32 test_token = 6; - bool has_test_token() const; - private: - bool _internal_has_test_token() const; - public: - void clear_test_token(); - uint32_t test_token() const; - void set_test_token(uint32_t value); - private: - uint32_t _internal_test_token() const; - void _internal_set_test_token(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::GameServerPing > gameserverpings_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing > data_center_pings_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note > notes_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr search_key_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr debug_message_; - int32_t offset_index_; - int32_t final_batch_; - uint32_t max_ping_; - uint32_t test_token_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) */ { - public: - inline CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate() : CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate(nullptr) {} - ~CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& from); - CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate&& from) noexcept - : CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& operator=(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& operator=(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 36; - - friend void swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& a, CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate& from) { - CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kWaitingAccountIdSessionsFieldNumber = 2, - kOngoingmatchAccountIdSessionsFieldNumber = 6, - kFailpingAccountIdSessionsFieldNumber = 8, - kPenaltyAccountIdSessionsFieldNumber = 9, - kFailreadyAccountIdSessionsFieldNumber = 10, - kVacbannedAccountIdSessionsFieldNumber = 11, - kNotesFieldNumber = 13, - kPenaltyAccountIdSessionsGreenFieldNumber = 14, - kInsufficientlevelSessionsFieldNumber = 15, - kVsncheckAccountIdSessionsFieldNumber = 16, - kLauncherMismatchSessionsFieldNumber = 17, - kInsecureAccountIdSessionsFieldNumber = 18, - kErrorFieldNumber = 3, - kGlobalStatsFieldNumber = 7, - kServerIpaddressMaskFieldNumber = 12, - kMatchmakingFieldNumber = 1, - }; - // repeated uint32 waiting_account_id_sessions = 2; - int waiting_account_id_sessions_size() const; - private: - int _internal_waiting_account_id_sessions_size() const; - public: - void clear_waiting_account_id_sessions(); - private: - uint32_t _internal_waiting_account_id_sessions(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_waiting_account_id_sessions() const; - void _internal_add_waiting_account_id_sessions(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_waiting_account_id_sessions(); - public: - uint32_t waiting_account_id_sessions(int index) const; - void set_waiting_account_id_sessions(int index, uint32_t value); - void add_waiting_account_id_sessions(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - waiting_account_id_sessions() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_waiting_account_id_sessions(); - - // repeated uint32 ongoingmatch_account_id_sessions = 6; - int ongoingmatch_account_id_sessions_size() const; - private: - int _internal_ongoingmatch_account_id_sessions_size() const; - public: - void clear_ongoingmatch_account_id_sessions(); - private: - uint32_t _internal_ongoingmatch_account_id_sessions(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_ongoingmatch_account_id_sessions() const; - void _internal_add_ongoingmatch_account_id_sessions(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_ongoingmatch_account_id_sessions(); - public: - uint32_t ongoingmatch_account_id_sessions(int index) const; - void set_ongoingmatch_account_id_sessions(int index, uint32_t value); - void add_ongoingmatch_account_id_sessions(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - ongoingmatch_account_id_sessions() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_ongoingmatch_account_id_sessions(); - - // repeated uint32 failping_account_id_sessions = 8; - int failping_account_id_sessions_size() const; - private: - int _internal_failping_account_id_sessions_size() const; - public: - void clear_failping_account_id_sessions(); - private: - uint32_t _internal_failping_account_id_sessions(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_failping_account_id_sessions() const; - void _internal_add_failping_account_id_sessions(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_failping_account_id_sessions(); - public: - uint32_t failping_account_id_sessions(int index) const; - void set_failping_account_id_sessions(int index, uint32_t value); - void add_failping_account_id_sessions(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - failping_account_id_sessions() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_failping_account_id_sessions(); - - // repeated uint32 penalty_account_id_sessions = 9; - int penalty_account_id_sessions_size() const; - private: - int _internal_penalty_account_id_sessions_size() const; - public: - void clear_penalty_account_id_sessions(); - private: - uint32_t _internal_penalty_account_id_sessions(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_penalty_account_id_sessions() const; - void _internal_add_penalty_account_id_sessions(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_penalty_account_id_sessions(); - public: - uint32_t penalty_account_id_sessions(int index) const; - void set_penalty_account_id_sessions(int index, uint32_t value); - void add_penalty_account_id_sessions(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - penalty_account_id_sessions() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_penalty_account_id_sessions(); - - // repeated uint32 failready_account_id_sessions = 10; - int failready_account_id_sessions_size() const; - private: - int _internal_failready_account_id_sessions_size() const; - public: - void clear_failready_account_id_sessions(); - private: - uint32_t _internal_failready_account_id_sessions(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_failready_account_id_sessions() const; - void _internal_add_failready_account_id_sessions(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_failready_account_id_sessions(); - public: - uint32_t failready_account_id_sessions(int index) const; - void set_failready_account_id_sessions(int index, uint32_t value); - void add_failready_account_id_sessions(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - failready_account_id_sessions() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_failready_account_id_sessions(); - - // repeated uint32 vacbanned_account_id_sessions = 11; - int vacbanned_account_id_sessions_size() const; - private: - int _internal_vacbanned_account_id_sessions_size() const; - public: - void clear_vacbanned_account_id_sessions(); - private: - uint32_t _internal_vacbanned_account_id_sessions(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_vacbanned_account_id_sessions() const; - void _internal_add_vacbanned_account_id_sessions(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_vacbanned_account_id_sessions(); - public: - uint32_t vacbanned_account_id_sessions(int index) const; - void set_vacbanned_account_id_sessions(int index, uint32_t value); - void add_vacbanned_account_id_sessions(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - vacbanned_account_id_sessions() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_vacbanned_account_id_sessions(); - - // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 13; - int notes_size() const; - private: - int _internal_notes_size() const; - public: - void clear_notes(); - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* mutable_notes(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >* - mutable_notes(); - private: - const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& _internal_notes(int index) const; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* _internal_add_notes(); - public: - const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& notes(int index) const; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* add_notes(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >& - notes() const; - - // repeated uint32 penalty_account_id_sessions_green = 14; - int penalty_account_id_sessions_green_size() const; - private: - int _internal_penalty_account_id_sessions_green_size() const; - public: - void clear_penalty_account_id_sessions_green(); - private: - uint32_t _internal_penalty_account_id_sessions_green(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_penalty_account_id_sessions_green() const; - void _internal_add_penalty_account_id_sessions_green(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_penalty_account_id_sessions_green(); - public: - uint32_t penalty_account_id_sessions_green(int index) const; - void set_penalty_account_id_sessions_green(int index, uint32_t value); - void add_penalty_account_id_sessions_green(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - penalty_account_id_sessions_green() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_penalty_account_id_sessions_green(); - - // repeated uint32 insufficientlevel_sessions = 15; - int insufficientlevel_sessions_size() const; - private: - int _internal_insufficientlevel_sessions_size() const; - public: - void clear_insufficientlevel_sessions(); - private: - uint32_t _internal_insufficientlevel_sessions(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_insufficientlevel_sessions() const; - void _internal_add_insufficientlevel_sessions(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_insufficientlevel_sessions(); - public: - uint32_t insufficientlevel_sessions(int index) const; - void set_insufficientlevel_sessions(int index, uint32_t value); - void add_insufficientlevel_sessions(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - insufficientlevel_sessions() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_insufficientlevel_sessions(); - - // repeated uint32 vsncheck_account_id_sessions = 16; - int vsncheck_account_id_sessions_size() const; - private: - int _internal_vsncheck_account_id_sessions_size() const; - public: - void clear_vsncheck_account_id_sessions(); - private: - uint32_t _internal_vsncheck_account_id_sessions(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_vsncheck_account_id_sessions() const; - void _internal_add_vsncheck_account_id_sessions(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_vsncheck_account_id_sessions(); - public: - uint32_t vsncheck_account_id_sessions(int index) const; - void set_vsncheck_account_id_sessions(int index, uint32_t value); - void add_vsncheck_account_id_sessions(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - vsncheck_account_id_sessions() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_vsncheck_account_id_sessions(); - - // repeated uint32 launcher_mismatch_sessions = 17; - int launcher_mismatch_sessions_size() const; - private: - int _internal_launcher_mismatch_sessions_size() const; - public: - void clear_launcher_mismatch_sessions(); - private: - uint32_t _internal_launcher_mismatch_sessions(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_launcher_mismatch_sessions() const; - void _internal_add_launcher_mismatch_sessions(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_launcher_mismatch_sessions(); - public: - uint32_t launcher_mismatch_sessions(int index) const; - void set_launcher_mismatch_sessions(int index, uint32_t value); - void add_launcher_mismatch_sessions(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - launcher_mismatch_sessions() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_launcher_mismatch_sessions(); - - // repeated uint32 insecure_account_id_sessions = 18; - int insecure_account_id_sessions_size() const; - private: - int _internal_insecure_account_id_sessions_size() const; - public: - void clear_insecure_account_id_sessions(); - private: - uint32_t _internal_insecure_account_id_sessions(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_insecure_account_id_sessions() const; - void _internal_add_insecure_account_id_sessions(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_insecure_account_id_sessions(); - public: - uint32_t insecure_account_id_sessions(int index) const; - void set_insecure_account_id_sessions(int index, uint32_t value); - void add_insecure_account_id_sessions(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - insecure_account_id_sessions() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_insecure_account_id_sessions(); - - // optional string error = 3; - bool has_error() const; - private: - bool _internal_has_error() const; - public: - void clear_error(); - const std::string& error() const; - template - void set_error(ArgT0&& arg0, ArgT... args); - std::string* mutable_error(); - PROTOBUF_NODISCARD std::string* release_error(); - void set_allocated_error(std::string* error); - private: - const std::string& _internal_error() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_error(const std::string& value); - std::string* _internal_mutable_error(); - public: - - // optional .GlobalStatistics global_stats = 7; - bool has_global_stats() const; - private: - bool _internal_has_global_stats() const; - public: - void clear_global_stats(); - const ::GlobalStatistics& global_stats() const; - PROTOBUF_NODISCARD ::GlobalStatistics* release_global_stats(); - ::GlobalStatistics* mutable_global_stats(); - void set_allocated_global_stats(::GlobalStatistics* global_stats); - private: - const ::GlobalStatistics& _internal_global_stats() const; - ::GlobalStatistics* _internal_mutable_global_stats(); - public: - void unsafe_arena_set_allocated_global_stats( - ::GlobalStatistics* global_stats); - ::GlobalStatistics* unsafe_arena_release_global_stats(); - - // optional .IpAddressMask server_ipaddress_mask = 12; - bool has_server_ipaddress_mask() const; - private: - bool _internal_has_server_ipaddress_mask() const; - public: - void clear_server_ipaddress_mask(); - const ::IpAddressMask& server_ipaddress_mask() const; - PROTOBUF_NODISCARD ::IpAddressMask* release_server_ipaddress_mask(); - ::IpAddressMask* mutable_server_ipaddress_mask(); - void set_allocated_server_ipaddress_mask(::IpAddressMask* server_ipaddress_mask); - private: - const ::IpAddressMask& _internal_server_ipaddress_mask() const; - ::IpAddressMask* _internal_mutable_server_ipaddress_mask(); - public: - void unsafe_arena_set_allocated_server_ipaddress_mask( - ::IpAddressMask* server_ipaddress_mask); - ::IpAddressMask* unsafe_arena_release_server_ipaddress_mask(); - - // optional int32 matchmaking = 1; - bool has_matchmaking() const; - private: - bool _internal_has_matchmaking() const; - public: - void clear_matchmaking(); - int32_t matchmaking() const; - void set_matchmaking(int32_t value); - private: - int32_t _internal_matchmaking() const; - void _internal_set_matchmaking(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > waiting_account_id_sessions_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > ongoingmatch_account_id_sessions_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > failping_account_id_sessions_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > penalty_account_id_sessions_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > failready_account_id_sessions_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > vacbanned_account_id_sessions_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note > notes_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > penalty_account_id_sessions_green_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > insufficientlevel_sessions_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > vsncheck_account_id_sessions_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > launcher_mismatch_sessions_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > insecure_account_id_sessions_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_; - ::GlobalStatistics* global_stats_; - ::IpAddressMask* server_ipaddress_mask_; - int32_t matchmaking_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CDataGCCStrike15_v2_TournamentMatchDraft_Entry : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) */ { - public: - inline CDataGCCStrike15_v2_TournamentMatchDraft_Entry() : CDataGCCStrike15_v2_TournamentMatchDraft_Entry(nullptr) {} - ~CDataGCCStrike15_v2_TournamentMatchDraft_Entry() override; - explicit PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentMatchDraft_Entry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDataGCCStrike15_v2_TournamentMatchDraft_Entry(const CDataGCCStrike15_v2_TournamentMatchDraft_Entry& from); - CDataGCCStrike15_v2_TournamentMatchDraft_Entry(CDataGCCStrike15_v2_TournamentMatchDraft_Entry&& from) noexcept - : CDataGCCStrike15_v2_TournamentMatchDraft_Entry() { - *this = ::std::move(from); - } - - inline CDataGCCStrike15_v2_TournamentMatchDraft_Entry& operator=(const CDataGCCStrike15_v2_TournamentMatchDraft_Entry& from) { - CopyFrom(from); - return *this; - } - inline CDataGCCStrike15_v2_TournamentMatchDraft_Entry& operator=(CDataGCCStrike15_v2_TournamentMatchDraft_Entry&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDataGCCStrike15_v2_TournamentMatchDraft_Entry& default_instance() { - return *internal_default_instance(); - } - static inline const CDataGCCStrike15_v2_TournamentMatchDraft_Entry* internal_default_instance() { - return reinterpret_cast( - &_CDataGCCStrike15_v2_TournamentMatchDraft_Entry_default_instance_); - } - static constexpr int kIndexInFileMessages = - 37; - - friend void swap(CDataGCCStrike15_v2_TournamentMatchDraft_Entry& a, CDataGCCStrike15_v2_TournamentMatchDraft_Entry& b) { - a.Swap(&b); - } - inline void Swap(CDataGCCStrike15_v2_TournamentMatchDraft_Entry* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDataGCCStrike15_v2_TournamentMatchDraft_Entry* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDataGCCStrike15_v2_TournamentMatchDraft_Entry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDataGCCStrike15_v2_TournamentMatchDraft_Entry& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDataGCCStrike15_v2_TournamentMatchDraft_Entry& from) { - CDataGCCStrike15_v2_TournamentMatchDraft_Entry::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDataGCCStrike15_v2_TournamentMatchDraft_Entry* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDataGCCStrike15_v2_TournamentMatchDraft.Entry"; - } - protected: - explicit CDataGCCStrike15_v2_TournamentMatchDraft_Entry(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMapidFieldNumber = 1, - kTeamIdCtFieldNumber = 2, - }; - // optional int32 mapid = 1; - bool has_mapid() const; - private: - bool _internal_has_mapid() const; - public: - void clear_mapid(); - int32_t mapid() const; - void set_mapid(int32_t value); - private: - int32_t _internal_mapid() const; - void _internal_set_mapid(int32_t value); - public: - - // optional int32 team_id_ct = 2; - bool has_team_id_ct() const; - private: - bool _internal_has_team_id_ct() const; - public: - void clear_team_id_ct(); - int32_t team_id_ct() const; - void set_team_id_ct(int32_t value); - private: - int32_t _internal_team_id_ct() const; - void _internal_set_team_id_ct(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CDataGCCStrike15_v2_TournamentMatchDraft.Entry) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t mapid_; - int32_t team_id_ct_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CDataGCCStrike15_v2_TournamentMatchDraft : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDataGCCStrike15_v2_TournamentMatchDraft) */ { - public: - inline CDataGCCStrike15_v2_TournamentMatchDraft() : CDataGCCStrike15_v2_TournamentMatchDraft(nullptr) {} - ~CDataGCCStrike15_v2_TournamentMatchDraft() override; - explicit PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentMatchDraft(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDataGCCStrike15_v2_TournamentMatchDraft(const CDataGCCStrike15_v2_TournamentMatchDraft& from); - CDataGCCStrike15_v2_TournamentMatchDraft(CDataGCCStrike15_v2_TournamentMatchDraft&& from) noexcept - : CDataGCCStrike15_v2_TournamentMatchDraft() { - *this = ::std::move(from); - } - - inline CDataGCCStrike15_v2_TournamentMatchDraft& operator=(const CDataGCCStrike15_v2_TournamentMatchDraft& from) { - CopyFrom(from); - return *this; - } - inline CDataGCCStrike15_v2_TournamentMatchDraft& operator=(CDataGCCStrike15_v2_TournamentMatchDraft&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDataGCCStrike15_v2_TournamentMatchDraft& default_instance() { - return *internal_default_instance(); - } - static inline const CDataGCCStrike15_v2_TournamentMatchDraft* internal_default_instance() { - return reinterpret_cast( - &_CDataGCCStrike15_v2_TournamentMatchDraft_default_instance_); - } - static constexpr int kIndexInFileMessages = - 38; - - friend void swap(CDataGCCStrike15_v2_TournamentMatchDraft& a, CDataGCCStrike15_v2_TournamentMatchDraft& b) { - a.Swap(&b); - } - inline void Swap(CDataGCCStrike15_v2_TournamentMatchDraft* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDataGCCStrike15_v2_TournamentMatchDraft* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDataGCCStrike15_v2_TournamentMatchDraft* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDataGCCStrike15_v2_TournamentMatchDraft& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDataGCCStrike15_v2_TournamentMatchDraft& from) { - CDataGCCStrike15_v2_TournamentMatchDraft::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDataGCCStrike15_v2_TournamentMatchDraft* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDataGCCStrike15_v2_TournamentMatchDraft"; - } - protected: - explicit CDataGCCStrike15_v2_TournamentMatchDraft(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CDataGCCStrike15_v2_TournamentMatchDraft_Entry Entry; - - // accessors ------------------------------------------------------- - - enum : int { - kDraftsFieldNumber = 10, - kVoteMapid0FieldNumber = 11, - kVoteMapid1FieldNumber = 12, - kVoteMapid2FieldNumber = 13, - kVoteMapid3FieldNumber = 14, - kVoteMapid4FieldNumber = 15, - kVoteMapid5FieldNumber = 16, - kVoteStartingSideFieldNumber = 17, - kEventIdFieldNumber = 1, - kEventStageIdFieldNumber = 2, - kTeamId0FieldNumber = 3, - kTeamId1FieldNumber = 4, - kMapsCountFieldNumber = 5, - kMapsCurrentFieldNumber = 6, - kTeamIdStartFieldNumber = 7, - kTeamIdVeto1FieldNumber = 8, - kTeamIdPicknFieldNumber = 9, - kVotePhaseFieldNumber = 18, - kVotePhaseStartFieldNumber = 19, - kVotePhaseLengthFieldNumber = 20, - }; - // repeated .CDataGCCStrike15_v2_TournamentMatchDraft.Entry drafts = 10; - int drafts_size() const; - private: - int _internal_drafts_size() const; - public: - void clear_drafts(); - ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry* mutable_drafts(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry >* - mutable_drafts(); - private: - const ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry& _internal_drafts(int index) const; - ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry* _internal_add_drafts(); - public: - const ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry& drafts(int index) const; - ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry* add_drafts(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry >& - drafts() const; - - // repeated int32 vote_mapid_0 = 11; - int vote_mapid_0_size() const; - private: - int _internal_vote_mapid_0_size() const; - public: - void clear_vote_mapid_0(); - private: - int32_t _internal_vote_mapid_0(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_vote_mapid_0() const; - void _internal_add_vote_mapid_0(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_vote_mapid_0(); - public: - int32_t vote_mapid_0(int index) const; - void set_vote_mapid_0(int index, int32_t value); - void add_vote_mapid_0(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - vote_mapid_0() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_vote_mapid_0(); - - // repeated int32 vote_mapid_1 = 12; - int vote_mapid_1_size() const; - private: - int _internal_vote_mapid_1_size() const; - public: - void clear_vote_mapid_1(); - private: - int32_t _internal_vote_mapid_1(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_vote_mapid_1() const; - void _internal_add_vote_mapid_1(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_vote_mapid_1(); - public: - int32_t vote_mapid_1(int index) const; - void set_vote_mapid_1(int index, int32_t value); - void add_vote_mapid_1(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - vote_mapid_1() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_vote_mapid_1(); - - // repeated int32 vote_mapid_2 = 13; - int vote_mapid_2_size() const; - private: - int _internal_vote_mapid_2_size() const; - public: - void clear_vote_mapid_2(); - private: - int32_t _internal_vote_mapid_2(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_vote_mapid_2() const; - void _internal_add_vote_mapid_2(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_vote_mapid_2(); - public: - int32_t vote_mapid_2(int index) const; - void set_vote_mapid_2(int index, int32_t value); - void add_vote_mapid_2(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - vote_mapid_2() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_vote_mapid_2(); - - // repeated int32 vote_mapid_3 = 14; - int vote_mapid_3_size() const; - private: - int _internal_vote_mapid_3_size() const; - public: - void clear_vote_mapid_3(); - private: - int32_t _internal_vote_mapid_3(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_vote_mapid_3() const; - void _internal_add_vote_mapid_3(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_vote_mapid_3(); - public: - int32_t vote_mapid_3(int index) const; - void set_vote_mapid_3(int index, int32_t value); - void add_vote_mapid_3(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - vote_mapid_3() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_vote_mapid_3(); - - // repeated int32 vote_mapid_4 = 15; - int vote_mapid_4_size() const; - private: - int _internal_vote_mapid_4_size() const; - public: - void clear_vote_mapid_4(); - private: - int32_t _internal_vote_mapid_4(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_vote_mapid_4() const; - void _internal_add_vote_mapid_4(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_vote_mapid_4(); - public: - int32_t vote_mapid_4(int index) const; - void set_vote_mapid_4(int index, int32_t value); - void add_vote_mapid_4(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - vote_mapid_4() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_vote_mapid_4(); - - // repeated int32 vote_mapid_5 = 16; - int vote_mapid_5_size() const; - private: - int _internal_vote_mapid_5_size() const; - public: - void clear_vote_mapid_5(); - private: - int32_t _internal_vote_mapid_5(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_vote_mapid_5() const; - void _internal_add_vote_mapid_5(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_vote_mapid_5(); - public: - int32_t vote_mapid_5(int index) const; - void set_vote_mapid_5(int index, int32_t value); - void add_vote_mapid_5(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - vote_mapid_5() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_vote_mapid_5(); - - // repeated int32 vote_starting_side = 17; - int vote_starting_side_size() const; - private: - int _internal_vote_starting_side_size() const; - public: - void clear_vote_starting_side(); - private: - int32_t _internal_vote_starting_side(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_vote_starting_side() const; - void _internal_add_vote_starting_side(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_vote_starting_side(); - public: - int32_t vote_starting_side(int index) const; - void set_vote_starting_side(int index, int32_t value); - void add_vote_starting_side(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - vote_starting_side() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_vote_starting_side(); - - // optional int32 event_id = 1; - bool has_event_id() const; - private: - bool _internal_has_event_id() const; - public: - void clear_event_id(); - int32_t event_id() const; - void set_event_id(int32_t value); - private: - int32_t _internal_event_id() const; - void _internal_set_event_id(int32_t value); - public: - - // optional int32 event_stage_id = 2; - bool has_event_stage_id() const; - private: - bool _internal_has_event_stage_id() const; - public: - void clear_event_stage_id(); - int32_t event_stage_id() const; - void set_event_stage_id(int32_t value); - private: - int32_t _internal_event_stage_id() const; - void _internal_set_event_stage_id(int32_t value); - public: - - // optional int32 team_id_0 = 3; - bool has_team_id_0() const; - private: - bool _internal_has_team_id_0() const; - public: - void clear_team_id_0(); - int32_t team_id_0() const; - void set_team_id_0(int32_t value); - private: - int32_t _internal_team_id_0() const; - void _internal_set_team_id_0(int32_t value); - public: - - // optional int32 team_id_1 = 4; - bool has_team_id_1() const; - private: - bool _internal_has_team_id_1() const; - public: - void clear_team_id_1(); - int32_t team_id_1() const; - void set_team_id_1(int32_t value); - private: - int32_t _internal_team_id_1() const; - void _internal_set_team_id_1(int32_t value); - public: - - // optional int32 maps_count = 5; - bool has_maps_count() const; - private: - bool _internal_has_maps_count() const; - public: - void clear_maps_count(); - int32_t maps_count() const; - void set_maps_count(int32_t value); - private: - int32_t _internal_maps_count() const; - void _internal_set_maps_count(int32_t value); - public: - - // optional int32 maps_current = 6; - bool has_maps_current() const; - private: - bool _internal_has_maps_current() const; - public: - void clear_maps_current(); - int32_t maps_current() const; - void set_maps_current(int32_t value); - private: - int32_t _internal_maps_current() const; - void _internal_set_maps_current(int32_t value); - public: - - // optional int32 team_id_start = 7; - bool has_team_id_start() const; - private: - bool _internal_has_team_id_start() const; - public: - void clear_team_id_start(); - int32_t team_id_start() const; - void set_team_id_start(int32_t value); - private: - int32_t _internal_team_id_start() const; - void _internal_set_team_id_start(int32_t value); - public: - - // optional int32 team_id_veto1 = 8; - bool has_team_id_veto1() const; - private: - bool _internal_has_team_id_veto1() const; - public: - void clear_team_id_veto1(); - int32_t team_id_veto1() const; - void set_team_id_veto1(int32_t value); - private: - int32_t _internal_team_id_veto1() const; - void _internal_set_team_id_veto1(int32_t value); - public: - - // optional int32 team_id_pickn = 9; - bool has_team_id_pickn() const; - private: - bool _internal_has_team_id_pickn() const; - public: - void clear_team_id_pickn(); - int32_t team_id_pickn() const; - void set_team_id_pickn(int32_t value); - private: - int32_t _internal_team_id_pickn() const; - void _internal_set_team_id_pickn(int32_t value); - public: - - // optional int32 vote_phase = 18; - bool has_vote_phase() const; - private: - bool _internal_has_vote_phase() const; - public: - void clear_vote_phase(); - int32_t vote_phase() const; - void set_vote_phase(int32_t value); - private: - int32_t _internal_vote_phase() const; - void _internal_set_vote_phase(int32_t value); - public: - - // optional float vote_phase_start = 19; - bool has_vote_phase_start() const; - private: - bool _internal_has_vote_phase_start() const; - public: - void clear_vote_phase_start(); - float vote_phase_start() const; - void set_vote_phase_start(float value); - private: - float _internal_vote_phase_start() const; - void _internal_set_vote_phase_start(float value); - public: - - // optional float vote_phase_length = 20; - bool has_vote_phase_length() const; - private: - bool _internal_has_vote_phase_length() const; - public: - void clear_vote_phase_length(); - float vote_phase_length() const; - void set_vote_phase_length(float value); - private: - float _internal_vote_phase_length() const; - void _internal_set_vote_phase_length(float value); - public: - - // @@protoc_insertion_point(class_scope:CDataGCCStrike15_v2_TournamentMatchDraft) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry > drafts_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > vote_mapid_0_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > vote_mapid_1_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > vote_mapid_2_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > vote_mapid_3_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > vote_mapid_4_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > vote_mapid_5_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > vote_starting_side_; - int32_t event_id_; - int32_t event_stage_id_; - int32_t team_id_0_; - int32_t team_id_1_; - int32_t maps_count_; - int32_t maps_current_; - int32_t team_id_start_; - int32_t team_id_veto1_; - int32_t team_id_pickn_; - int32_t vote_phase_; - float vote_phase_start_; - float vote_phase_length_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CPreMatchInfoData_TeamStats : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPreMatchInfoData.TeamStats) */ { - public: - inline CPreMatchInfoData_TeamStats() : CPreMatchInfoData_TeamStats(nullptr) {} - ~CPreMatchInfoData_TeamStats() override; - explicit PROTOBUF_CONSTEXPR CPreMatchInfoData_TeamStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPreMatchInfoData_TeamStats(const CPreMatchInfoData_TeamStats& from); - CPreMatchInfoData_TeamStats(CPreMatchInfoData_TeamStats&& from) noexcept - : CPreMatchInfoData_TeamStats() { - *this = ::std::move(from); - } - - inline CPreMatchInfoData_TeamStats& operator=(const CPreMatchInfoData_TeamStats& from) { - CopyFrom(from); - return *this; - } - inline CPreMatchInfoData_TeamStats& operator=(CPreMatchInfoData_TeamStats&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPreMatchInfoData_TeamStats& default_instance() { - return *internal_default_instance(); - } - static inline const CPreMatchInfoData_TeamStats* internal_default_instance() { - return reinterpret_cast( - &_CPreMatchInfoData_TeamStats_default_instance_); - } - static constexpr int kIndexInFileMessages = - 39; - - friend void swap(CPreMatchInfoData_TeamStats& a, CPreMatchInfoData_TeamStats& b) { - a.Swap(&b); - } - inline void Swap(CPreMatchInfoData_TeamStats* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPreMatchInfoData_TeamStats* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPreMatchInfoData_TeamStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPreMatchInfoData_TeamStats& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPreMatchInfoData_TeamStats& from) { - CPreMatchInfoData_TeamStats::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPreMatchInfoData_TeamStats* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPreMatchInfoData.TeamStats"; - } - protected: - explicit CPreMatchInfoData_TeamStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMatchInfoTeamsFieldNumber = 3, - kMatchInfoTxtFieldNumber = 2, - kMatchInfoIdxtxtFieldNumber = 1, - }; - // repeated string match_info_teams = 3; - int match_info_teams_size() const; - private: - int _internal_match_info_teams_size() const; - public: - void clear_match_info_teams(); - const std::string& match_info_teams(int index) const; - std::string* mutable_match_info_teams(int index); - void set_match_info_teams(int index, const std::string& value); - void set_match_info_teams(int index, std::string&& value); - void set_match_info_teams(int index, const char* value); - void set_match_info_teams(int index, const char* value, size_t size); - std::string* add_match_info_teams(); - void add_match_info_teams(const std::string& value); - void add_match_info_teams(std::string&& value); - void add_match_info_teams(const char* value); - void add_match_info_teams(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& match_info_teams() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_match_info_teams(); - private: - const std::string& _internal_match_info_teams(int index) const; - std::string* _internal_add_match_info_teams(); - public: - - // optional string match_info_txt = 2; - bool has_match_info_txt() const; - private: - bool _internal_has_match_info_txt() const; - public: - void clear_match_info_txt(); - const std::string& match_info_txt() const; - template - void set_match_info_txt(ArgT0&& arg0, ArgT... args); - std::string* mutable_match_info_txt(); - PROTOBUF_NODISCARD std::string* release_match_info_txt(); - void set_allocated_match_info_txt(std::string* match_info_txt); - private: - const std::string& _internal_match_info_txt() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_match_info_txt(const std::string& value); - std::string* _internal_mutable_match_info_txt(); - public: - - // optional int32 match_info_idxtxt = 1; - bool has_match_info_idxtxt() const; - private: - bool _internal_has_match_info_idxtxt() const; - public: - void clear_match_info_idxtxt(); - int32_t match_info_idxtxt() const; - void set_match_info_idxtxt(int32_t value); - private: - int32_t _internal_match_info_idxtxt() const; - void _internal_set_match_info_idxtxt(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPreMatchInfoData.TeamStats) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField match_info_teams_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr match_info_txt_; - int32_t match_info_idxtxt_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CPreMatchInfoData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPreMatchInfoData) */ { - public: - inline CPreMatchInfoData() : CPreMatchInfoData(nullptr) {} - ~CPreMatchInfoData() override; - explicit PROTOBUF_CONSTEXPR CPreMatchInfoData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPreMatchInfoData(const CPreMatchInfoData& from); - CPreMatchInfoData(CPreMatchInfoData&& from) noexcept - : CPreMatchInfoData() { - *this = ::std::move(from); - } - - inline CPreMatchInfoData& operator=(const CPreMatchInfoData& from) { - CopyFrom(from); - return *this; - } - inline CPreMatchInfoData& operator=(CPreMatchInfoData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPreMatchInfoData& default_instance() { - return *internal_default_instance(); - } - static inline const CPreMatchInfoData* internal_default_instance() { - return reinterpret_cast( - &_CPreMatchInfoData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 40; - - friend void swap(CPreMatchInfoData& a, CPreMatchInfoData& b) { - a.Swap(&b); - } - inline void Swap(CPreMatchInfoData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPreMatchInfoData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPreMatchInfoData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPreMatchInfoData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPreMatchInfoData& from) { - CPreMatchInfoData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPreMatchInfoData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPreMatchInfoData"; - } - protected: - explicit CPreMatchInfoData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CPreMatchInfoData_TeamStats TeamStats; - - // accessors ------------------------------------------------------- - - enum : int { - kStatsFieldNumber = 5, - kWinsFieldNumber = 6, - kDraftFieldNumber = 4, - kPredictionsPctFieldNumber = 1, - }; - // repeated .CPreMatchInfoData.TeamStats stats = 5; - int stats_size() const; - private: - int _internal_stats_size() const; - public: - void clear_stats(); - ::CPreMatchInfoData_TeamStats* mutable_stats(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPreMatchInfoData_TeamStats >* - mutable_stats(); - private: - const ::CPreMatchInfoData_TeamStats& _internal_stats(int index) const; - ::CPreMatchInfoData_TeamStats* _internal_add_stats(); - public: - const ::CPreMatchInfoData_TeamStats& stats(int index) const; - ::CPreMatchInfoData_TeamStats* add_stats(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPreMatchInfoData_TeamStats >& - stats() const; - - // repeated int32 wins = 6; - int wins_size() const; - private: - int _internal_wins_size() const; - public: - void clear_wins(); - private: - int32_t _internal_wins(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_wins() const; - void _internal_add_wins(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_wins(); - public: - int32_t wins(int index) const; - void set_wins(int index, int32_t value); - void add_wins(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - wins() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_wins(); - - // optional .CDataGCCStrike15_v2_TournamentMatchDraft draft = 4; - bool has_draft() const; - private: - bool _internal_has_draft() const; - public: - void clear_draft(); - const ::CDataGCCStrike15_v2_TournamentMatchDraft& draft() const; - PROTOBUF_NODISCARD ::CDataGCCStrike15_v2_TournamentMatchDraft* release_draft(); - ::CDataGCCStrike15_v2_TournamentMatchDraft* mutable_draft(); - void set_allocated_draft(::CDataGCCStrike15_v2_TournamentMatchDraft* draft); - private: - const ::CDataGCCStrike15_v2_TournamentMatchDraft& _internal_draft() const; - ::CDataGCCStrike15_v2_TournamentMatchDraft* _internal_mutable_draft(); - public: - void unsafe_arena_set_allocated_draft( - ::CDataGCCStrike15_v2_TournamentMatchDraft* draft); - ::CDataGCCStrike15_v2_TournamentMatchDraft* unsafe_arena_release_draft(); - - // optional int32 predictions_pct = 1; - bool has_predictions_pct() const; - private: - bool _internal_has_predictions_pct() const; - public: - void clear_predictions_pct(); - int32_t predictions_pct() const; - void set_predictions_pct(int32_t value); - private: - int32_t _internal_predictions_pct() const; - void _internal_set_predictions_pct(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPreMatchInfoData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPreMatchInfoData_TeamStats > stats_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > wins_; - ::CDataGCCStrike15_v2_TournamentMatchDraft* draft_; - int32_t predictions_pct_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) */ { - public: - inline CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve() : CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(nullptr) {} - ~CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& from); - CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve&& from) noexcept - : CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& operator=(const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& operator=(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve_default_instance_); - } - static constexpr int kIndexInFileMessages = - 41; - - friend void swap(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& a, CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& from) { - CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountIdsFieldNumber = 1, - kRankingsFieldNumber = 5, - kPartyIdsFieldNumber = 8, - kWhitelistFieldNumber = 9, - kTournamentTeamsFieldNumber = 12, - kTournamentCastersAccountIdsFieldNumber = 13, - kOpVarValuesFieldNumber = 19, - kTeammateColorsFieldNumber = 21, - kTournamentEventFieldNumber = 11, - kPreMatchDataFieldNumber = 15, - kMatchIdFieldNumber = 3, - kGameTypeFieldNumber = 2, - kServerVersionFieldNumber = 4, - kEncryptionKeyFieldNumber = 6, - kEncryptionKeyPubFieldNumber = 7, - kTvMasterSteamidFieldNumber = 10, - kTvRelaySteamidFieldNumber = 14, - kTvControlFieldNumber = 17, - kFlagsFieldNumber = 18, - kSocacheControlFieldNumber = 20, - kMatchIdAdditionalFieldNumber = 22, - }; - // repeated uint32 account_ids = 1; - int account_ids_size() const; - private: - int _internal_account_ids_size() const; - public: - void clear_account_ids(); - private: - uint32_t _internal_account_ids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_account_ids() const; - void _internal_add_account_ids(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_account_ids(); - public: - uint32_t account_ids(int index) const; - void set_account_ids(int index, uint32_t value); - void add_account_ids(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - account_ids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_account_ids(); - - // repeated .PlayerRankingInfo rankings = 5; - int rankings_size() const; - private: - int _internal_rankings_size() const; - public: - void clear_rankings(); - ::PlayerRankingInfo* mutable_rankings(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >* - mutable_rankings(); - private: - const ::PlayerRankingInfo& _internal_rankings(int index) const; - ::PlayerRankingInfo* _internal_add_rankings(); - public: - const ::PlayerRankingInfo& rankings(int index) const; - ::PlayerRankingInfo* add_rankings(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >& - rankings() const; - - // repeated uint32 party_ids = 8; - int party_ids_size() const; - private: - int _internal_party_ids_size() const; - public: - void clear_party_ids(); - private: - uint32_t _internal_party_ids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_party_ids() const; - void _internal_add_party_ids(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_party_ids(); - public: - uint32_t party_ids(int index) const; - void set_party_ids(int index, uint32_t value); - void add_party_ids(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - party_ids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_party_ids(); - - // repeated .IpAddressMask whitelist = 9; - int whitelist_size() const; - private: - int _internal_whitelist_size() const; - public: - void clear_whitelist(); - ::IpAddressMask* mutable_whitelist(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::IpAddressMask >* - mutable_whitelist(); - private: - const ::IpAddressMask& _internal_whitelist(int index) const; - ::IpAddressMask* _internal_add_whitelist(); - public: - const ::IpAddressMask& whitelist(int index) const; - ::IpAddressMask* add_whitelist(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::IpAddressMask >& - whitelist() const; - - // repeated .TournamentTeam tournament_teams = 12; - int tournament_teams_size() const; - private: - int _internal_tournament_teams_size() const; - public: - void clear_tournament_teams(); - ::TournamentTeam* mutable_tournament_teams(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >* - mutable_tournament_teams(); - private: - const ::TournamentTeam& _internal_tournament_teams(int index) const; - ::TournamentTeam* _internal_add_tournament_teams(); - public: - const ::TournamentTeam& tournament_teams(int index) const; - ::TournamentTeam* add_tournament_teams(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >& - tournament_teams() const; - - // repeated uint32 tournament_casters_account_ids = 13; - int tournament_casters_account_ids_size() const; - private: - int _internal_tournament_casters_account_ids_size() const; - public: - void clear_tournament_casters_account_ids(); - private: - uint32_t _internal_tournament_casters_account_ids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_tournament_casters_account_ids() const; - void _internal_add_tournament_casters_account_ids(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_tournament_casters_account_ids(); - public: - uint32_t tournament_casters_account_ids(int index) const; - void set_tournament_casters_account_ids(int index, uint32_t value); - void add_tournament_casters_account_ids(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - tournament_casters_account_ids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_tournament_casters_account_ids(); - - // repeated .OperationalVarValue op_var_values = 19; - int op_var_values_size() const; - private: - int _internal_op_var_values_size() const; - public: - void clear_op_var_values(); - ::OperationalVarValue* mutable_op_var_values(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalVarValue >* - mutable_op_var_values(); - private: - const ::OperationalVarValue& _internal_op_var_values(int index) const; - ::OperationalVarValue* _internal_add_op_var_values(); - public: - const ::OperationalVarValue& op_var_values(int index) const; - ::OperationalVarValue* add_op_var_values(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalVarValue >& - op_var_values() const; - - // repeated int32 teammate_colors = 21; - int teammate_colors_size() const; - private: - int _internal_teammate_colors_size() const; - public: - void clear_teammate_colors(); - private: - int32_t _internal_teammate_colors(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_teammate_colors() const; - void _internal_add_teammate_colors(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_teammate_colors(); - public: - int32_t teammate_colors(int index) const; - void set_teammate_colors(int index, int32_t value); - void add_teammate_colors(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - teammate_colors() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_teammate_colors(); - - // optional .TournamentEvent tournament_event = 11; - bool has_tournament_event() const; - private: - bool _internal_has_tournament_event() const; - public: - void clear_tournament_event(); - const ::TournamentEvent& tournament_event() const; - PROTOBUF_NODISCARD ::TournamentEvent* release_tournament_event(); - ::TournamentEvent* mutable_tournament_event(); - void set_allocated_tournament_event(::TournamentEvent* tournament_event); - private: - const ::TournamentEvent& _internal_tournament_event() const; - ::TournamentEvent* _internal_mutable_tournament_event(); - public: - void unsafe_arena_set_allocated_tournament_event( - ::TournamentEvent* tournament_event); - ::TournamentEvent* unsafe_arena_release_tournament_event(); - - // optional .CPreMatchInfoData pre_match_data = 15; - bool has_pre_match_data() const; - private: - bool _internal_has_pre_match_data() const; - public: - void clear_pre_match_data(); - const ::CPreMatchInfoData& pre_match_data() const; - PROTOBUF_NODISCARD ::CPreMatchInfoData* release_pre_match_data(); - ::CPreMatchInfoData* mutable_pre_match_data(); - void set_allocated_pre_match_data(::CPreMatchInfoData* pre_match_data); - private: - const ::CPreMatchInfoData& _internal_pre_match_data() const; - ::CPreMatchInfoData* _internal_mutable_pre_match_data(); - public: - void unsafe_arena_set_allocated_pre_match_data( - ::CPreMatchInfoData* pre_match_data); - ::CPreMatchInfoData* unsafe_arena_release_pre_match_data(); - - // optional uint64 match_id = 3; - bool has_match_id() const; - private: - bool _internal_has_match_id() const; - public: - void clear_match_id(); - uint64_t match_id() const; - void set_match_id(uint64_t value); - private: - uint64_t _internal_match_id() const; - void _internal_set_match_id(uint64_t value); - public: - - // optional uint32 game_type = 2; - bool has_game_type() const; - private: - bool _internal_has_game_type() const; - public: - void clear_game_type(); - uint32_t game_type() const; - void set_game_type(uint32_t value); - private: - uint32_t _internal_game_type() const; - void _internal_set_game_type(uint32_t value); - public: - - // optional uint32 server_version = 4; - bool has_server_version() const; - private: - bool _internal_has_server_version() const; - public: - void clear_server_version(); - uint32_t server_version() const; - void set_server_version(uint32_t value); - private: - uint32_t _internal_server_version() const; - void _internal_set_server_version(uint32_t value); - public: - - // optional uint64 encryption_key = 6; - bool has_encryption_key() const; - private: - bool _internal_has_encryption_key() const; - public: - void clear_encryption_key(); - uint64_t encryption_key() const; - void set_encryption_key(uint64_t value); - private: - uint64_t _internal_encryption_key() const; - void _internal_set_encryption_key(uint64_t value); - public: - - // optional uint64 encryption_key_pub = 7; - bool has_encryption_key_pub() const; - private: - bool _internal_has_encryption_key_pub() const; - public: - void clear_encryption_key_pub(); - uint64_t encryption_key_pub() const; - void set_encryption_key_pub(uint64_t value); - private: - uint64_t _internal_encryption_key_pub() const; - void _internal_set_encryption_key_pub(uint64_t value); - public: - - // optional uint64 tv_master_steamid = 10; - bool has_tv_master_steamid() const; - private: - bool _internal_has_tv_master_steamid() const; - public: - void clear_tv_master_steamid(); - uint64_t tv_master_steamid() const; - void set_tv_master_steamid(uint64_t value); - private: - uint64_t _internal_tv_master_steamid() const; - void _internal_set_tv_master_steamid(uint64_t value); - public: - - // optional uint64 tv_relay_steamid = 14; - bool has_tv_relay_steamid() const; - private: - bool _internal_has_tv_relay_steamid() const; - public: - void clear_tv_relay_steamid(); - uint64_t tv_relay_steamid() const; - void set_tv_relay_steamid(uint64_t value); - private: - uint64_t _internal_tv_relay_steamid() const; - void _internal_set_tv_relay_steamid(uint64_t value); - public: - - // optional uint32 tv_control = 17; - bool has_tv_control() const; - private: - bool _internal_has_tv_control() const; - public: - void clear_tv_control(); - uint32_t tv_control() const; - void set_tv_control(uint32_t value); - private: - uint32_t _internal_tv_control() const; - void _internal_set_tv_control(uint32_t value); - public: - - // optional uint32 flags = 18; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional uint32 socache_control = 20; - bool has_socache_control() const; - private: - bool _internal_has_socache_control() const; - public: - void clear_socache_control(); - uint32_t socache_control() const; - void set_socache_control(uint32_t value); - private: - uint32_t _internal_socache_control() const; - void _internal_set_socache_control(uint32_t value); - public: - - // optional uint32 match_id_additional = 22; - bool has_match_id_additional() const; - private: - bool _internal_has_match_id_additional() const; - public: - void clear_match_id_additional(); - uint32_t match_id_additional() const; - void set_match_id_additional(uint32_t value); - private: - uint32_t _internal_match_id_additional() const; - void _internal_set_match_id_additional(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > account_ids_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo > rankings_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > party_ids_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::IpAddressMask > whitelist_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam > tournament_teams_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > tournament_casters_account_ids_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalVarValue > op_var_values_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > teammate_colors_; - ::TournamentEvent* tournament_event_; - ::CPreMatchInfoData* pre_match_data_; - uint64_t match_id_; - uint32_t game_type_; - uint32_t server_version_; - uint64_t encryption_key_; - uint64_t encryption_key_pub_; - uint64_t tv_master_steamid_; - uint64_t tv_relay_steamid_; - uint32_t tv_control_; - uint32_t flags_; - uint32_t socache_control_; - uint32_t match_id_additional_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchmakingServerReservationResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) */ { - public: - inline CMsgGCCStrike15_v2_MatchmakingServerReservationResponse() : CMsgGCCStrike15_v2_MatchmakingServerReservationResponse(nullptr) {} - ~CMsgGCCStrike15_v2_MatchmakingServerReservationResponse() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingServerReservationResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchmakingServerReservationResponse(const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& from); - CMsgGCCStrike15_v2_MatchmakingServerReservationResponse(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse&& from) noexcept - : CMsgGCCStrike15_v2_MatchmakingServerReservationResponse() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& operator=(const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& operator=(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchmakingServerReservationResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 42; - - friend void swap(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& a, CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& from) { - CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchmakingServerReservationResponse"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchmakingServerReservationResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRewardPlayerAccountsFieldNumber = 7, - kIdlePlayerAccountsFieldNumber = 8, - kMapFieldNumber = 3, - kTournamentTagFieldNumber = 13, - kReservationFieldNumber = 2, - kTvInfoFieldNumber = 6, - kReservationidFieldNumber = 1, - kGcReservationSentFieldNumber = 4, - kServerVersionFieldNumber = 5, - kRewardItemAttrDefIdxFieldNumber = 9, - kRewardItemAttrValueFieldNumber = 10, - kRewardItemAttrRewardIdxFieldNumber = 11, - kRewardDropListFieldNumber = 12, - kLegacySteamdatagramPortFieldNumber = 14, - kTestTokenFieldNumber = 15, - kFlagsFieldNumber = 16, - kSteamdatagramRoutingFieldNumber = 17, - kSystemLoadFieldNumber = 18, - kCpusOnlineFieldNumber = 19, - }; - // repeated uint32 reward_player_accounts = 7; - int reward_player_accounts_size() const; - private: - int _internal_reward_player_accounts_size() const; - public: - void clear_reward_player_accounts(); - private: - uint32_t _internal_reward_player_accounts(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_reward_player_accounts() const; - void _internal_add_reward_player_accounts(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_reward_player_accounts(); - public: - uint32_t reward_player_accounts(int index) const; - void set_reward_player_accounts(int index, uint32_t value); - void add_reward_player_accounts(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - reward_player_accounts() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_reward_player_accounts(); - - // repeated uint32 idle_player_accounts = 8; - int idle_player_accounts_size() const; - private: - int _internal_idle_player_accounts_size() const; - public: - void clear_idle_player_accounts(); - private: - uint32_t _internal_idle_player_accounts(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_idle_player_accounts() const; - void _internal_add_idle_player_accounts(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_idle_player_accounts(); - public: - uint32_t idle_player_accounts(int index) const; - void set_idle_player_accounts(int index, uint32_t value); - void add_idle_player_accounts(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - idle_player_accounts() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_idle_player_accounts(); - - // optional string map = 3; - bool has_map() const; - private: - bool _internal_has_map() const; - public: - void clear_map(); - const std::string& map() const; - template - void set_map(ArgT0&& arg0, ArgT... args); - std::string* mutable_map(); - PROTOBUF_NODISCARD std::string* release_map(); - void set_allocated_map(std::string* map); - private: - const std::string& _internal_map() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_map(const std::string& value); - std::string* _internal_mutable_map(); - public: - - // optional string tournament_tag = 13; - bool has_tournament_tag() const; - private: - bool _internal_has_tournament_tag() const; - public: - void clear_tournament_tag(); - const std::string& tournament_tag() const; - template - void set_tournament_tag(ArgT0&& arg0, ArgT... args); - std::string* mutable_tournament_tag(); - PROTOBUF_NODISCARD std::string* release_tournament_tag(); - void set_allocated_tournament_tag(std::string* tournament_tag); - private: - const std::string& _internal_tournament_tag() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_tournament_tag(const std::string& value); - std::string* _internal_mutable_tournament_tag(); - public: - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; - bool has_reservation() const; - private: - bool _internal_has_reservation() const; - public: - void clear_reservation(); - const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& reservation() const; - PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* release_reservation(); - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* mutable_reservation(); - void set_allocated_reservation(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation); - private: - const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& _internal_reservation() const; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* _internal_mutable_reservation(); - public: - void unsafe_arena_set_allocated_reservation( - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation); - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* unsafe_arena_release_reservation(); - - // optional .ServerHltvInfo tv_info = 6; - bool has_tv_info() const; - private: - bool _internal_has_tv_info() const; - public: - void clear_tv_info(); - const ::ServerHltvInfo& tv_info() const; - PROTOBUF_NODISCARD ::ServerHltvInfo* release_tv_info(); - ::ServerHltvInfo* mutable_tv_info(); - void set_allocated_tv_info(::ServerHltvInfo* tv_info); - private: - const ::ServerHltvInfo& _internal_tv_info() const; - ::ServerHltvInfo* _internal_mutable_tv_info(); - public: - void unsafe_arena_set_allocated_tv_info( - ::ServerHltvInfo* tv_info); - ::ServerHltvInfo* unsafe_arena_release_tv_info(); - - // optional uint64 reservationid = 1; - bool has_reservationid() const; - private: - bool _internal_has_reservationid() const; - public: - void clear_reservationid(); - uint64_t reservationid() const; - void set_reservationid(uint64_t value); - private: - uint64_t _internal_reservationid() const; - void _internal_set_reservationid(uint64_t value); - public: - - // optional uint64 gc_reservation_sent = 4; - bool has_gc_reservation_sent() const; - private: - bool _internal_has_gc_reservation_sent() const; - public: - void clear_gc_reservation_sent(); - uint64_t gc_reservation_sent() const; - void set_gc_reservation_sent(uint64_t value); - private: - uint64_t _internal_gc_reservation_sent() const; - void _internal_set_gc_reservation_sent(uint64_t value); - public: - - // optional uint32 server_version = 5; - bool has_server_version() const; - private: - bool _internal_has_server_version() const; - public: - void clear_server_version(); - uint32_t server_version() const; - void set_server_version(uint32_t value); - private: - uint32_t _internal_server_version() const; - void _internal_set_server_version(uint32_t value); - public: - - // optional uint32 reward_item_attr_def_idx = 9; - bool has_reward_item_attr_def_idx() const; - private: - bool _internal_has_reward_item_attr_def_idx() const; - public: - void clear_reward_item_attr_def_idx(); - uint32_t reward_item_attr_def_idx() const; - void set_reward_item_attr_def_idx(uint32_t value); - private: - uint32_t _internal_reward_item_attr_def_idx() const; - void _internal_set_reward_item_attr_def_idx(uint32_t value); - public: - - // optional uint32 reward_item_attr_value = 10; - bool has_reward_item_attr_value() const; - private: - bool _internal_has_reward_item_attr_value() const; - public: - void clear_reward_item_attr_value(); - uint32_t reward_item_attr_value() const; - void set_reward_item_attr_value(uint32_t value); - private: - uint32_t _internal_reward_item_attr_value() const; - void _internal_set_reward_item_attr_value(uint32_t value); - public: - - // optional uint32 reward_item_attr_reward_idx = 11; - bool has_reward_item_attr_reward_idx() const; - private: - bool _internal_has_reward_item_attr_reward_idx() const; - public: - void clear_reward_item_attr_reward_idx(); - uint32_t reward_item_attr_reward_idx() const; - void set_reward_item_attr_reward_idx(uint32_t value); - private: - uint32_t _internal_reward_item_attr_reward_idx() const; - void _internal_set_reward_item_attr_reward_idx(uint32_t value); - public: - - // optional uint32 reward_drop_list = 12; - bool has_reward_drop_list() const; - private: - bool _internal_has_reward_drop_list() const; - public: - void clear_reward_drop_list(); - uint32_t reward_drop_list() const; - void set_reward_drop_list(uint32_t value); - private: - uint32_t _internal_reward_drop_list() const; - void _internal_set_reward_drop_list(uint32_t value); - public: - - // optional uint32 legacy_steamdatagram_port = 14; - bool has_legacy_steamdatagram_port() const; - private: - bool _internal_has_legacy_steamdatagram_port() const; - public: - void clear_legacy_steamdatagram_port(); - uint32_t legacy_steamdatagram_port() const; - void set_legacy_steamdatagram_port(uint32_t value); - private: - uint32_t _internal_legacy_steamdatagram_port() const; - void _internal_set_legacy_steamdatagram_port(uint32_t value); - public: - - // optional fixed32 test_token = 15; - bool has_test_token() const; - private: - bool _internal_has_test_token() const; - public: - void clear_test_token(); - uint32_t test_token() const; - void set_test_token(uint32_t value); - private: - uint32_t _internal_test_token() const; - void _internal_set_test_token(uint32_t value); - public: - - // optional uint32 flags = 16; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional uint32 steamdatagram_routing = 17; - bool has_steamdatagram_routing() const; - private: - bool _internal_has_steamdatagram_routing() const; - public: - void clear_steamdatagram_routing(); - uint32_t steamdatagram_routing() const; - void set_steamdatagram_routing(uint32_t value); - private: - uint32_t _internal_steamdatagram_routing() const; - void _internal_set_steamdatagram_routing(uint32_t value); - public: - - // optional uint32 system_load = 18; - bool has_system_load() const; - private: - bool _internal_has_system_load() const; - public: - void clear_system_load(); - uint32_t system_load() const; - void set_system_load(uint32_t value); - private: - uint32_t _internal_system_load() const; - void _internal_set_system_load(uint32_t value); - public: - - // optional uint32 cpus_online = 19; - bool has_cpus_online() const; - private: - bool _internal_has_cpus_online() const; - public: - void clear_cpus_online(); - uint32_t cpus_online() const; - void set_cpus_online(uint32_t value); - private: - uint32_t _internal_cpus_online() const; - void _internal_set_cpus_online(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > reward_player_accounts_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > idle_player_accounts_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tournament_tag_; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation_; - ::ServerHltvInfo* tv_info_; - uint64_t reservationid_; - uint64_t gc_reservation_sent_; - uint32_t server_version_; - uint32_t reward_item_attr_def_idx_; - uint32_t reward_item_attr_value_; - uint32_t reward_item_attr_reward_idx_; - uint32_t reward_drop_list_; - uint32_t legacy_steamdatagram_port_; - uint32_t test_token_; - uint32_t flags_; - uint32_t steamdatagram_routing_; - uint32_t system_load_; - uint32_t cpus_online_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) */ { - public: - inline CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve() : CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(nullptr) {} - ~CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& from); - CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve&& from) noexcept - : CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& operator=(const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& operator=(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve_default_instance_); - } - static constexpr int kIndexInFileMessages = - 43; - - friend void swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& a, CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& from) { - CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMapFieldNumber = 6, - kServerAddressFieldNumber = 7, - kReservationFieldNumber = 5, - kGsPingFieldNumber = 8, - kServeridFieldNumber = 1, - kDirectUdpIpFieldNumber = 2, - kDirectUdpPortFieldNumber = 3, - kReservationidFieldNumber = 4, - kGsLocationIdFieldNumber = 9, - }; - // optional string map = 6; - bool has_map() const; - private: - bool _internal_has_map() const; - public: - void clear_map(); - const std::string& map() const; - template - void set_map(ArgT0&& arg0, ArgT... args); - std::string* mutable_map(); - PROTOBUF_NODISCARD std::string* release_map(); - void set_allocated_map(std::string* map); - private: - const std::string& _internal_map() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_map(const std::string& value); - std::string* _internal_mutable_map(); - public: - - // optional string server_address = 7; - bool has_server_address() const; - private: - bool _internal_has_server_address() const; - public: - void clear_server_address(); - const std::string& server_address() const; - template - void set_server_address(ArgT0&& arg0, ArgT... args); - std::string* mutable_server_address(); - PROTOBUF_NODISCARD std::string* release_server_address(); - void set_allocated_server_address(std::string* server_address); - private: - const std::string& _internal_server_address() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_server_address(const std::string& value); - std::string* _internal_mutable_server_address(); - public: - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 5; - bool has_reservation() const; - private: - bool _internal_has_reservation() const; - public: - void clear_reservation(); - const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& reservation() const; - PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* release_reservation(); - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* mutable_reservation(); - void set_allocated_reservation(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation); - private: - const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& _internal_reservation() const; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* _internal_mutable_reservation(); - public: - void unsafe_arena_set_allocated_reservation( - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation); - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* unsafe_arena_release_reservation(); - - // optional .DataCenterPing gs_ping = 8; - bool has_gs_ping() const; - private: - bool _internal_has_gs_ping() const; - public: - void clear_gs_ping(); - const ::DataCenterPing& gs_ping() const; - PROTOBUF_NODISCARD ::DataCenterPing* release_gs_ping(); - ::DataCenterPing* mutable_gs_ping(); - void set_allocated_gs_ping(::DataCenterPing* gs_ping); - private: - const ::DataCenterPing& _internal_gs_ping() const; - ::DataCenterPing* _internal_mutable_gs_ping(); - public: - void unsafe_arena_set_allocated_gs_ping( - ::DataCenterPing* gs_ping); - ::DataCenterPing* unsafe_arena_release_gs_ping(); - - // optional uint64 serverid = 1; - bool has_serverid() const; - private: - bool _internal_has_serverid() const; - public: - void clear_serverid(); - uint64_t serverid() const; - void set_serverid(uint64_t value); - private: - uint64_t _internal_serverid() const; - void _internal_set_serverid(uint64_t value); - public: - - // optional uint32 direct_udp_ip = 2; - bool has_direct_udp_ip() const; - private: - bool _internal_has_direct_udp_ip() const; - public: - void clear_direct_udp_ip(); - uint32_t direct_udp_ip() const; - void set_direct_udp_ip(uint32_t value); - private: - uint32_t _internal_direct_udp_ip() const; - void _internal_set_direct_udp_ip(uint32_t value); - public: - - // optional uint32 direct_udp_port = 3; - bool has_direct_udp_port() const; - private: - bool _internal_has_direct_udp_port() const; - public: - void clear_direct_udp_port(); - uint32_t direct_udp_port() const; - void set_direct_udp_port(uint32_t value); - private: - uint32_t _internal_direct_udp_port() const; - void _internal_set_direct_udp_port(uint32_t value); - public: - - // optional uint64 reservationid = 4; - bool has_reservationid() const; - private: - bool _internal_has_reservationid() const; - public: - void clear_reservationid(); - uint64_t reservationid() const; - void set_reservationid(uint64_t value); - private: - uint64_t _internal_reservationid() const; - void _internal_set_reservationid(uint64_t value); - public: - - // optional uint32 gs_location_id = 9; - bool has_gs_location_id() const; - private: - bool _internal_has_gs_location_id() const; - public: - void clear_gs_location_id(); - uint32_t gs_location_id() const; - void set_gs_location_id(uint32_t value); - private: - uint32_t _internal_gs_location_id() const; - void _internal_set_gs_location_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr server_address_; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation_; - ::DataCenterPing* gs_ping_; - uint64_t serverid_; - uint32_t direct_udp_ip_; - uint32_t direct_udp_port_; - uint64_t reservationid_; - uint32_t gs_location_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) */ { - public: - inline CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo() : CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo(nullptr) {} - ~CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& from); - CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo(CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo&& from) noexcept - : CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& operator=(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& operator=(CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 44; - - friend void swap(CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& a, CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& from) { - CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountMvpFieldNumber = 1, - }; - // optional uint32 account_mvp = 1; - bool has_account_mvp() const; - private: - bool _internal_has_account_mvp() const; - public: - void clear_account_mvp(); - uint32_t account_mvp() const; - void set_account_mvp(uint32_t value); - private: - uint32_t _internal_account_mvp() const; - void _internal_set_account_mvp(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t account_mvp_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchmakingServerRoundStats : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) */ { - public: - inline CMsgGCCStrike15_v2_MatchmakingServerRoundStats() : CMsgGCCStrike15_v2_MatchmakingServerRoundStats(nullptr) {} - ~CMsgGCCStrike15_v2_MatchmakingServerRoundStats() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingServerRoundStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchmakingServerRoundStats(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats& from); - CMsgGCCStrike15_v2_MatchmakingServerRoundStats(CMsgGCCStrike15_v2_MatchmakingServerRoundStats&& from) noexcept - : CMsgGCCStrike15_v2_MatchmakingServerRoundStats() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchmakingServerRoundStats& operator=(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchmakingServerRoundStats& operator=(CMsgGCCStrike15_v2_MatchmakingServerRoundStats&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchmakingServerRoundStats& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchmakingServerRoundStats* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchmakingServerRoundStats_default_instance_); - } - static constexpr int kIndexInFileMessages = - 45; - - friend void swap(CMsgGCCStrike15_v2_MatchmakingServerRoundStats& a, CMsgGCCStrike15_v2_MatchmakingServerRoundStats& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchmakingServerRoundStats* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchmakingServerRoundStats* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchmakingServerRoundStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingServerRoundStats& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingServerRoundStats& from) { - CMsgGCCStrike15_v2_MatchmakingServerRoundStats::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchmakingServerRoundStats* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchmakingServerRoundStats"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchmakingServerRoundStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo DropInfo; - - // accessors ------------------------------------------------------- - - enum : int { - kKillsFieldNumber = 5, - kAssistsFieldNumber = 6, - kDeathsFieldNumber = 7, - kScoresFieldNumber = 8, - kPingsFieldNumber = 9, - kTeamScoresFieldNumber = 12, - kEnemyKillsFieldNumber = 16, - kEnemyHeadshotsFieldNumber = 17, - kEnemy3KsFieldNumber = 18, - kEnemy4KsFieldNumber = 19, - kEnemy5KsFieldNumber = 20, - kMvpsFieldNumber = 21, - kEnemyKillsAggFieldNumber = 25, - kEnemy2KsFieldNumber = 28, - kPlayerSpawnedFieldNumber = 29, - kTeamSpawnCountFieldNumber = 30, - kMapFieldNumber = 3, - kReservationFieldNumber = 2, - kConfirmFieldNumber = 13, - kDropInfoFieldNumber = 26, - kReservationidFieldNumber = 1, - kRoundFieldNumber = 4, - kRoundResultFieldNumber = 10, - kMatchResultFieldNumber = 11, - kReservationStageFieldNumber = 14, - kMatchDurationFieldNumber = 15, - kSpectatorsCountFieldNumber = 22, - kSpectatorsCountTvFieldNumber = 23, - kSpectatorsCountLnkFieldNumber = 24, - kBSwitchedTeamsFieldNumber = 27, - kMaxRoundsFieldNumber = 31, - kMapIdFieldNumber = 32, - }; - // repeated int32 kills = 5; - int kills_size() const; - private: - int _internal_kills_size() const; - public: - void clear_kills(); - private: - int32_t _internal_kills(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_kills() const; - void _internal_add_kills(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_kills(); - public: - int32_t kills(int index) const; - void set_kills(int index, int32_t value); - void add_kills(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - kills() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_kills(); - - // repeated int32 assists = 6; - int assists_size() const; - private: - int _internal_assists_size() const; - public: - void clear_assists(); - private: - int32_t _internal_assists(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_assists() const; - void _internal_add_assists(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_assists(); - public: - int32_t assists(int index) const; - void set_assists(int index, int32_t value); - void add_assists(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - assists() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_assists(); - - // repeated int32 deaths = 7; - int deaths_size() const; - private: - int _internal_deaths_size() const; - public: - void clear_deaths(); - private: - int32_t _internal_deaths(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_deaths() const; - void _internal_add_deaths(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_deaths(); - public: - int32_t deaths(int index) const; - void set_deaths(int index, int32_t value); - void add_deaths(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - deaths() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_deaths(); - - // repeated int32 scores = 8; - int scores_size() const; - private: - int _internal_scores_size() const; - public: - void clear_scores(); - private: - int32_t _internal_scores(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_scores() const; - void _internal_add_scores(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_scores(); - public: - int32_t scores(int index) const; - void set_scores(int index, int32_t value); - void add_scores(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - scores() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_scores(); - - // repeated int32 pings = 9; - int pings_size() const; - private: - int _internal_pings_size() const; - public: - void clear_pings(); - private: - int32_t _internal_pings(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_pings() const; - void _internal_add_pings(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_pings(); - public: - int32_t pings(int index) const; - void set_pings(int index, int32_t value); - void add_pings(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - pings() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_pings(); - - // repeated int32 team_scores = 12; - int team_scores_size() const; - private: - int _internal_team_scores_size() const; - public: - void clear_team_scores(); - private: - int32_t _internal_team_scores(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_team_scores() const; - void _internal_add_team_scores(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_team_scores(); - public: - int32_t team_scores(int index) const; - void set_team_scores(int index, int32_t value); - void add_team_scores(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - team_scores() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_team_scores(); - - // repeated int32 enemy_kills = 16; - int enemy_kills_size() const; - private: - int _internal_enemy_kills_size() const; - public: - void clear_enemy_kills(); - private: - int32_t _internal_enemy_kills(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_enemy_kills() const; - void _internal_add_enemy_kills(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_enemy_kills(); - public: - int32_t enemy_kills(int index) const; - void set_enemy_kills(int index, int32_t value); - void add_enemy_kills(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - enemy_kills() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_enemy_kills(); - - // repeated int32 enemy_headshots = 17; - int enemy_headshots_size() const; - private: - int _internal_enemy_headshots_size() const; - public: - void clear_enemy_headshots(); - private: - int32_t _internal_enemy_headshots(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_enemy_headshots() const; - void _internal_add_enemy_headshots(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_enemy_headshots(); - public: - int32_t enemy_headshots(int index) const; - void set_enemy_headshots(int index, int32_t value); - void add_enemy_headshots(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - enemy_headshots() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_enemy_headshots(); - - // repeated int32 enemy_3ks = 18; - int enemy_3ks_size() const; - private: - int _internal_enemy_3ks_size() const; - public: - void clear_enemy_3ks(); - private: - int32_t _internal_enemy_3ks(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_enemy_3ks() const; - void _internal_add_enemy_3ks(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_enemy_3ks(); - public: - int32_t enemy_3ks(int index) const; - void set_enemy_3ks(int index, int32_t value); - void add_enemy_3ks(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - enemy_3ks() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_enemy_3ks(); - - // repeated int32 enemy_4ks = 19; - int enemy_4ks_size() const; - private: - int _internal_enemy_4ks_size() const; - public: - void clear_enemy_4ks(); - private: - int32_t _internal_enemy_4ks(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_enemy_4ks() const; - void _internal_add_enemy_4ks(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_enemy_4ks(); - public: - int32_t enemy_4ks(int index) const; - void set_enemy_4ks(int index, int32_t value); - void add_enemy_4ks(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - enemy_4ks() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_enemy_4ks(); - - // repeated int32 enemy_5ks = 20; - int enemy_5ks_size() const; - private: - int _internal_enemy_5ks_size() const; - public: - void clear_enemy_5ks(); - private: - int32_t _internal_enemy_5ks(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_enemy_5ks() const; - void _internal_add_enemy_5ks(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_enemy_5ks(); - public: - int32_t enemy_5ks(int index) const; - void set_enemy_5ks(int index, int32_t value); - void add_enemy_5ks(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - enemy_5ks() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_enemy_5ks(); - - // repeated int32 mvps = 21; - int mvps_size() const; - private: - int _internal_mvps_size() const; - public: - void clear_mvps(); - private: - int32_t _internal_mvps(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_mvps() const; - void _internal_add_mvps(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_mvps(); - public: - int32_t mvps(int index) const; - void set_mvps(int index, int32_t value); - void add_mvps(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - mvps() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_mvps(); - - // repeated int32 enemy_kills_agg = 25; - int enemy_kills_agg_size() const; - private: - int _internal_enemy_kills_agg_size() const; - public: - void clear_enemy_kills_agg(); - private: - int32_t _internal_enemy_kills_agg(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_enemy_kills_agg() const; - void _internal_add_enemy_kills_agg(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_enemy_kills_agg(); - public: - int32_t enemy_kills_agg(int index) const; - void set_enemy_kills_agg(int index, int32_t value); - void add_enemy_kills_agg(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - enemy_kills_agg() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_enemy_kills_agg(); - - // repeated int32 enemy_2ks = 28; - int enemy_2ks_size() const; - private: - int _internal_enemy_2ks_size() const; - public: - void clear_enemy_2ks(); - private: - int32_t _internal_enemy_2ks(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_enemy_2ks() const; - void _internal_add_enemy_2ks(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_enemy_2ks(); - public: - int32_t enemy_2ks(int index) const; - void set_enemy_2ks(int index, int32_t value); - void add_enemy_2ks(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - enemy_2ks() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_enemy_2ks(); - - // repeated int32 player_spawned = 29; - int player_spawned_size() const; - private: - int _internal_player_spawned_size() const; - public: - void clear_player_spawned(); - private: - int32_t _internal_player_spawned(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_player_spawned() const; - void _internal_add_player_spawned(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_player_spawned(); - public: - int32_t player_spawned(int index) const; - void set_player_spawned(int index, int32_t value); - void add_player_spawned(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - player_spawned() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_player_spawned(); - - // repeated int32 team_spawn_count = 30; - int team_spawn_count_size() const; - private: - int _internal_team_spawn_count_size() const; - public: - void clear_team_spawn_count(); - private: - int32_t _internal_team_spawn_count(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_team_spawn_count() const; - void _internal_add_team_spawn_count(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_team_spawn_count(); - public: - int32_t team_spawn_count(int index) const; - void set_team_spawn_count(int index, int32_t value); - void add_team_spawn_count(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - team_spawn_count() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_team_spawn_count(); - - // optional string map = 3; - bool has_map() const; - private: - bool _internal_has_map() const; - public: - void clear_map(); - const std::string& map() const; - template - void set_map(ArgT0&& arg0, ArgT... args); - std::string* mutable_map(); - PROTOBUF_NODISCARD std::string* release_map(); - void set_allocated_map(std::string* map); - private: - const std::string& _internal_map() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_map(const std::string& value); - std::string* _internal_mutable_map(); - public: - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; - bool has_reservation() const; - private: - bool _internal_has_reservation() const; - public: - void clear_reservation(); - const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& reservation() const; - PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* release_reservation(); - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* mutable_reservation(); - void set_allocated_reservation(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation); - private: - const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& _internal_reservation() const; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* _internal_mutable_reservation(); - public: - void unsafe_arena_set_allocated_reservation( - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation); - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* unsafe_arena_release_reservation(); - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm confirm = 13; - bool has_confirm() const; - private: - bool _internal_has_confirm() const; - public: - void clear_confirm(); - const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& confirm() const; - PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* release_confirm(); - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* mutable_confirm(); - void set_allocated_confirm(::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* confirm); - private: - const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& _internal_confirm() const; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* _internal_mutable_confirm(); - public: - void unsafe_arena_set_allocated_confirm( - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* confirm); - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* unsafe_arena_release_confirm(); - - // optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo drop_info = 26; - bool has_drop_info() const; - private: - bool _internal_has_drop_info() const; - public: - void clear_drop_info(); - const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& drop_info() const; - PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* release_drop_info(); - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* mutable_drop_info(); - void set_allocated_drop_info(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* drop_info); - private: - const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& _internal_drop_info() const; - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* _internal_mutable_drop_info(); - public: - void unsafe_arena_set_allocated_drop_info( - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* drop_info); - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* unsafe_arena_release_drop_info(); - - // optional uint64 reservationid = 1; - bool has_reservationid() const; - private: - bool _internal_has_reservationid() const; - public: - void clear_reservationid(); - uint64_t reservationid() const; - void set_reservationid(uint64_t value); - private: - uint64_t _internal_reservationid() const; - void _internal_set_reservationid(uint64_t value); - public: - - // optional int32 round = 4; - bool has_round() const; - private: - bool _internal_has_round() const; - public: - void clear_round(); - int32_t round() const; - void set_round(int32_t value); - private: - int32_t _internal_round() const; - void _internal_set_round(int32_t value); - public: - - // optional int32 round_result = 10; - bool has_round_result() const; - private: - bool _internal_has_round_result() const; - public: - void clear_round_result(); - int32_t round_result() const; - void set_round_result(int32_t value); - private: - int32_t _internal_round_result() const; - void _internal_set_round_result(int32_t value); - public: - - // optional int32 match_result = 11; - bool has_match_result() const; - private: - bool _internal_has_match_result() const; - public: - void clear_match_result(); - int32_t match_result() const; - void set_match_result(int32_t value); - private: - int32_t _internal_match_result() const; - void _internal_set_match_result(int32_t value); - public: - - // optional int32 reservation_stage = 14; - bool has_reservation_stage() const; - private: - bool _internal_has_reservation_stage() const; - public: - void clear_reservation_stage(); - int32_t reservation_stage() const; - void set_reservation_stage(int32_t value); - private: - int32_t _internal_reservation_stage() const; - void _internal_set_reservation_stage(int32_t value); - public: - - // optional int32 match_duration = 15; - bool has_match_duration() const; - private: - bool _internal_has_match_duration() const; - public: - void clear_match_duration(); - int32_t match_duration() const; - void set_match_duration(int32_t value); - private: - int32_t _internal_match_duration() const; - void _internal_set_match_duration(int32_t value); - public: - - // optional uint32 spectators_count = 22; - bool has_spectators_count() const; - private: - bool _internal_has_spectators_count() const; - public: - void clear_spectators_count(); - uint32_t spectators_count() const; - void set_spectators_count(uint32_t value); - private: - uint32_t _internal_spectators_count() const; - void _internal_set_spectators_count(uint32_t value); - public: - - // optional uint32 spectators_count_tv = 23; - bool has_spectators_count_tv() const; - private: - bool _internal_has_spectators_count_tv() const; - public: - void clear_spectators_count_tv(); - uint32_t spectators_count_tv() const; - void set_spectators_count_tv(uint32_t value); - private: - uint32_t _internal_spectators_count_tv() const; - void _internal_set_spectators_count_tv(uint32_t value); - public: - - // optional uint32 spectators_count_lnk = 24; - bool has_spectators_count_lnk() const; - private: - bool _internal_has_spectators_count_lnk() const; - public: - void clear_spectators_count_lnk(); - uint32_t spectators_count_lnk() const; - void set_spectators_count_lnk(uint32_t value); - private: - uint32_t _internal_spectators_count_lnk() const; - void _internal_set_spectators_count_lnk(uint32_t value); - public: - - // optional bool b_switched_teams = 27; - bool has_b_switched_teams() const; - private: - bool _internal_has_b_switched_teams() const; - public: - void clear_b_switched_teams(); - bool b_switched_teams() const; - void set_b_switched_teams(bool value); - private: - bool _internal_b_switched_teams() const; - void _internal_set_b_switched_teams(bool value); - public: - - // optional uint32 max_rounds = 31; - bool has_max_rounds() const; - private: - bool _internal_has_max_rounds() const; - public: - void clear_max_rounds(); - uint32_t max_rounds() const; - void set_max_rounds(uint32_t value); - private: - uint32_t _internal_max_rounds() const; - void _internal_set_max_rounds(uint32_t value); - public: - - // optional int32 map_id = 32; - bool has_map_id() const; - private: - bool _internal_has_map_id() const; - public: - void clear_map_id(); - int32_t map_id() const; - void set_map_id(int32_t value); - private: - int32_t _internal_map_id() const; - void _internal_set_map_id(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingServerRoundStats) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > kills_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > assists_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > deaths_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > scores_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > pings_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > team_scores_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > enemy_kills_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > enemy_headshots_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > enemy_3ks_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > enemy_4ks_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > enemy_5ks_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > mvps_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > enemy_kills_agg_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > enemy_2ks_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > player_spawned_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > team_spawn_count_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation_; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* confirm_; - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* drop_info_; - uint64_t reservationid_; - int32_t round_; - int32_t round_result_; - int32_t match_result_; - int32_t reservation_stage_; - int32_t match_duration_; - uint32_t spectators_count_; - uint32_t spectators_count_tv_; - uint32_t spectators_count_lnk_; - bool b_switched_teams_; - uint32_t max_rounds_; - int32_t map_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchmakingClient2GCHello : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingClient2GCHello) */ { - public: - inline CMsgGCCStrike15_v2_MatchmakingClient2GCHello() : CMsgGCCStrike15_v2_MatchmakingClient2GCHello(nullptr) {} - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingClient2GCHello(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchmakingClient2GCHello(const CMsgGCCStrike15_v2_MatchmakingClient2GCHello& from); - CMsgGCCStrike15_v2_MatchmakingClient2GCHello(CMsgGCCStrike15_v2_MatchmakingClient2GCHello&& from) noexcept - : CMsgGCCStrike15_v2_MatchmakingClient2GCHello() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchmakingClient2GCHello& operator=(const CMsgGCCStrike15_v2_MatchmakingClient2GCHello& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchmakingClient2GCHello& operator=(CMsgGCCStrike15_v2_MatchmakingClient2GCHello&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchmakingClient2GCHello& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchmakingClient2GCHello* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchmakingClient2GCHello_default_instance_); - } - static constexpr int kIndexInFileMessages = - 46; - - friend void swap(CMsgGCCStrike15_v2_MatchmakingClient2GCHello& a, CMsgGCCStrike15_v2_MatchmakingClient2GCHello& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchmakingClient2GCHello* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchmakingClient2GCHello* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchmakingClient2GCHello* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingClient2GCHello& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CMsgGCCStrike15_v2_MatchmakingClient2GCHello& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchmakingClient2GCHello"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchmakingClient2GCHello(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingClient2GCHello) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchmakingGC2ClientHello : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) */ { - public: - inline CMsgGCCStrike15_v2_MatchmakingGC2ClientHello() : CMsgGCCStrike15_v2_MatchmakingGC2ClientHello(nullptr) {} - ~CMsgGCCStrike15_v2_MatchmakingGC2ClientHello() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientHello(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchmakingGC2ClientHello(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& from); - CMsgGCCStrike15_v2_MatchmakingGC2ClientHello(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello&& from) noexcept - : CMsgGCCStrike15_v2_MatchmakingGC2ClientHello() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& operator=(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& operator=(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchmakingGC2ClientHello_default_instance_); - } - static constexpr int kIndexInFileMessages = - 47; - - friend void swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& a, CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& from) { - CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchmakingGC2ClientHello"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchmakingGC2ClientHello(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMyCurrentEventTeamsFieldNumber = 11, - kMyCurrentEventStagesFieldNumber = 13, - kRankingsFieldNumber = 20, - kOngoingmatchFieldNumber = 2, - kGlobalStatsFieldNumber = 3, - kRankingFieldNumber = 7, - kCommendationFieldNumber = 8, - kMedalsFieldNumber = 9, - kMyCurrentEventFieldNumber = 10, - kMyCurrentTeamFieldNumber = 12, - kActivityFieldNumber = 15, - kAccountIdFieldNumber = 1, - kPenaltySecondsFieldNumber = 4, - kPenaltyReasonFieldNumber = 5, - kVacBannedFieldNumber = 6, - kSurveyVoteFieldNumber = 14, - kPlayerLevelFieldNumber = 17, - kPlayerCurXpFieldNumber = 18, - kPlayerXpBonusFlagsFieldNumber = 19, - kOwcaseidFieldNumber = 21, - }; - // repeated .TournamentTeam my_current_event_teams = 11; - int my_current_event_teams_size() const; - private: - int _internal_my_current_event_teams_size() const; - public: - void clear_my_current_event_teams(); - ::TournamentTeam* mutable_my_current_event_teams(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >* - mutable_my_current_event_teams(); - private: - const ::TournamentTeam& _internal_my_current_event_teams(int index) const; - ::TournamentTeam* _internal_add_my_current_event_teams(); - public: - const ::TournamentTeam& my_current_event_teams(int index) const; - ::TournamentTeam* add_my_current_event_teams(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >& - my_current_event_teams() const; - - // repeated .TournamentEvent my_current_event_stages = 13; - int my_current_event_stages_size() const; - private: - int _internal_my_current_event_stages_size() const; - public: - void clear_my_current_event_stages(); - ::TournamentEvent* mutable_my_current_event_stages(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentEvent >* - mutable_my_current_event_stages(); - private: - const ::TournamentEvent& _internal_my_current_event_stages(int index) const; - ::TournamentEvent* _internal_add_my_current_event_stages(); - public: - const ::TournamentEvent& my_current_event_stages(int index) const; - ::TournamentEvent* add_my_current_event_stages(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentEvent >& - my_current_event_stages() const; - - // repeated .PlayerRankingInfo rankings = 20; - int rankings_size() const; - private: - int _internal_rankings_size() const; - public: - void clear_rankings(); - ::PlayerRankingInfo* mutable_rankings(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >* - mutable_rankings(); - private: - const ::PlayerRankingInfo& _internal_rankings(int index) const; - ::PlayerRankingInfo* _internal_add_rankings(); - public: - const ::PlayerRankingInfo& rankings(int index) const; - ::PlayerRankingInfo* add_rankings(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >& - rankings() const; - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve ongoingmatch = 2; - bool has_ongoingmatch() const; - private: - bool _internal_has_ongoingmatch() const; - public: - void clear_ongoingmatch(); - const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& ongoingmatch() const; - PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* release_ongoingmatch(); - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* mutable_ongoingmatch(); - void set_allocated_ongoingmatch(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* ongoingmatch); - private: - const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& _internal_ongoingmatch() const; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* _internal_mutable_ongoingmatch(); - public: - void unsafe_arena_set_allocated_ongoingmatch( - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* ongoingmatch); - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* unsafe_arena_release_ongoingmatch(); - - // optional .GlobalStatistics global_stats = 3; - bool has_global_stats() const; - private: - bool _internal_has_global_stats() const; - public: - void clear_global_stats(); - const ::GlobalStatistics& global_stats() const; - PROTOBUF_NODISCARD ::GlobalStatistics* release_global_stats(); - ::GlobalStatistics* mutable_global_stats(); - void set_allocated_global_stats(::GlobalStatistics* global_stats); - private: - const ::GlobalStatistics& _internal_global_stats() const; - ::GlobalStatistics* _internal_mutable_global_stats(); - public: - void unsafe_arena_set_allocated_global_stats( - ::GlobalStatistics* global_stats); - ::GlobalStatistics* unsafe_arena_release_global_stats(); - - // optional .PlayerRankingInfo ranking = 7; - bool has_ranking() const; - private: - bool _internal_has_ranking() const; - public: - void clear_ranking(); - const ::PlayerRankingInfo& ranking() const; - PROTOBUF_NODISCARD ::PlayerRankingInfo* release_ranking(); - ::PlayerRankingInfo* mutable_ranking(); - void set_allocated_ranking(::PlayerRankingInfo* ranking); - private: - const ::PlayerRankingInfo& _internal_ranking() const; - ::PlayerRankingInfo* _internal_mutable_ranking(); - public: - void unsafe_arena_set_allocated_ranking( - ::PlayerRankingInfo* ranking); - ::PlayerRankingInfo* unsafe_arena_release_ranking(); - - // optional .PlayerCommendationInfo commendation = 8; - bool has_commendation() const; - private: - bool _internal_has_commendation() const; - public: - void clear_commendation(); - const ::PlayerCommendationInfo& commendation() const; - PROTOBUF_NODISCARD ::PlayerCommendationInfo* release_commendation(); - ::PlayerCommendationInfo* mutable_commendation(); - void set_allocated_commendation(::PlayerCommendationInfo* commendation); - private: - const ::PlayerCommendationInfo& _internal_commendation() const; - ::PlayerCommendationInfo* _internal_mutable_commendation(); - public: - void unsafe_arena_set_allocated_commendation( - ::PlayerCommendationInfo* commendation); - ::PlayerCommendationInfo* unsafe_arena_release_commendation(); - - // optional .PlayerMedalsInfo medals = 9; - bool has_medals() const; - private: - bool _internal_has_medals() const; - public: - void clear_medals(); - const ::PlayerMedalsInfo& medals() const; - PROTOBUF_NODISCARD ::PlayerMedalsInfo* release_medals(); - ::PlayerMedalsInfo* mutable_medals(); - void set_allocated_medals(::PlayerMedalsInfo* medals); - private: - const ::PlayerMedalsInfo& _internal_medals() const; - ::PlayerMedalsInfo* _internal_mutable_medals(); - public: - void unsafe_arena_set_allocated_medals( - ::PlayerMedalsInfo* medals); - ::PlayerMedalsInfo* unsafe_arena_release_medals(); - - // optional .TournamentEvent my_current_event = 10; - bool has_my_current_event() const; - private: - bool _internal_has_my_current_event() const; - public: - void clear_my_current_event(); - const ::TournamentEvent& my_current_event() const; - PROTOBUF_NODISCARD ::TournamentEvent* release_my_current_event(); - ::TournamentEvent* mutable_my_current_event(); - void set_allocated_my_current_event(::TournamentEvent* my_current_event); - private: - const ::TournamentEvent& _internal_my_current_event() const; - ::TournamentEvent* _internal_mutable_my_current_event(); - public: - void unsafe_arena_set_allocated_my_current_event( - ::TournamentEvent* my_current_event); - ::TournamentEvent* unsafe_arena_release_my_current_event(); - - // optional .TournamentTeam my_current_team = 12; - bool has_my_current_team() const; - private: - bool _internal_has_my_current_team() const; - public: - void clear_my_current_team(); - const ::TournamentTeam& my_current_team() const; - PROTOBUF_NODISCARD ::TournamentTeam* release_my_current_team(); - ::TournamentTeam* mutable_my_current_team(); - void set_allocated_my_current_team(::TournamentTeam* my_current_team); - private: - const ::TournamentTeam& _internal_my_current_team() const; - ::TournamentTeam* _internal_mutable_my_current_team(); - public: - void unsafe_arena_set_allocated_my_current_team( - ::TournamentTeam* my_current_team); - ::TournamentTeam* unsafe_arena_release_my_current_team(); - - // optional .AccountActivity activity = 15; - bool has_activity() const; - private: - bool _internal_has_activity() const; - public: - void clear_activity(); - const ::AccountActivity& activity() const; - PROTOBUF_NODISCARD ::AccountActivity* release_activity(); - ::AccountActivity* mutable_activity(); - void set_allocated_activity(::AccountActivity* activity); - private: - const ::AccountActivity& _internal_activity() const; - ::AccountActivity* _internal_mutable_activity(); - public: - void unsafe_arena_set_allocated_activity( - ::AccountActivity* activity); - ::AccountActivity* unsafe_arena_release_activity(); - - // optional uint32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 penalty_seconds = 4; - bool has_penalty_seconds() const; - private: - bool _internal_has_penalty_seconds() const; - public: - void clear_penalty_seconds(); - uint32_t penalty_seconds() const; - void set_penalty_seconds(uint32_t value); - private: - uint32_t _internal_penalty_seconds() const; - void _internal_set_penalty_seconds(uint32_t value); - public: - - // optional uint32 penalty_reason = 5; - bool has_penalty_reason() const; - private: - bool _internal_has_penalty_reason() const; - public: - void clear_penalty_reason(); - uint32_t penalty_reason() const; - void set_penalty_reason(uint32_t value); - private: - uint32_t _internal_penalty_reason() const; - void _internal_set_penalty_reason(uint32_t value); - public: - - // optional int32 vac_banned = 6; - bool has_vac_banned() const; - private: - bool _internal_has_vac_banned() const; - public: - void clear_vac_banned(); - int32_t vac_banned() const; - void set_vac_banned(int32_t value); - private: - int32_t _internal_vac_banned() const; - void _internal_set_vac_banned(int32_t value); - public: - - // optional uint32 survey_vote = 14; - bool has_survey_vote() const; - private: - bool _internal_has_survey_vote() const; - public: - void clear_survey_vote(); - uint32_t survey_vote() const; - void set_survey_vote(uint32_t value); - private: - uint32_t _internal_survey_vote() const; - void _internal_set_survey_vote(uint32_t value); - public: - - // optional int32 player_level = 17; - bool has_player_level() const; - private: - bool _internal_has_player_level() const; - public: - void clear_player_level(); - int32_t player_level() const; - void set_player_level(int32_t value); - private: - int32_t _internal_player_level() const; - void _internal_set_player_level(int32_t value); - public: - - // optional int32 player_cur_xp = 18; - bool has_player_cur_xp() const; - private: - bool _internal_has_player_cur_xp() const; - public: - void clear_player_cur_xp(); - int32_t player_cur_xp() const; - void set_player_cur_xp(int32_t value); - private: - int32_t _internal_player_cur_xp() const; - void _internal_set_player_cur_xp(int32_t value); - public: - - // optional int32 player_xp_bonus_flags = 19; - bool has_player_xp_bonus_flags() const; - private: - bool _internal_has_player_xp_bonus_flags() const; - public: - void clear_player_xp_bonus_flags(); - int32_t player_xp_bonus_flags() const; - void set_player_xp_bonus_flags(int32_t value); - private: - int32_t _internal_player_xp_bonus_flags() const; - void _internal_set_player_xp_bonus_flags(int32_t value); - public: - - // optional uint64 owcaseid = 21; - bool has_owcaseid() const; - private: - bool _internal_has_owcaseid() const; - public: - void clear_owcaseid(); - uint64_t owcaseid() const; - void set_owcaseid(uint64_t value); - private: - uint64_t _internal_owcaseid() const; - void _internal_set_owcaseid(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam > my_current_event_teams_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentEvent > my_current_event_stages_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo > rankings_; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* ongoingmatch_; - ::GlobalStatistics* global_stats_; - ::PlayerRankingInfo* ranking_; - ::PlayerCommendationInfo* commendation_; - ::PlayerMedalsInfo* medals_; - ::TournamentEvent* my_current_event_; - ::TournamentTeam* my_current_team_; - ::AccountActivity* activity_; - uint32_t account_id_; - uint32_t penalty_seconds_; - uint32_t penalty_reason_; - int32_t vac_banned_; - uint32_t survey_vote_; - int32_t player_level_; - int32_t player_cur_xp_; - int32_t player_xp_bonus_flags_; - uint64_t owcaseid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_AccountPrivacySettings_Setting : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) */ { - public: - inline CMsgGCCStrike15_v2_AccountPrivacySettings_Setting() : CMsgGCCStrike15_v2_AccountPrivacySettings_Setting(nullptr) {} - ~CMsgGCCStrike15_v2_AccountPrivacySettings_Setting() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_AccountPrivacySettings_Setting(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_AccountPrivacySettings_Setting(const CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& from); - CMsgGCCStrike15_v2_AccountPrivacySettings_Setting(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting&& from) noexcept - : CMsgGCCStrike15_v2_AccountPrivacySettings_Setting() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& operator=(const CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& operator=(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_AccountPrivacySettings_Setting_default_instance_); - } - static constexpr int kIndexInFileMessages = - 48; - - friend void swap(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& a, CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& from) { - CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_AccountPrivacySettings.Setting"; - } - protected: - explicit CMsgGCCStrike15_v2_AccountPrivacySettings_Setting(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSettingTypeFieldNumber = 1, - kSettingValueFieldNumber = 2, - }; - // optional uint32 setting_type = 1; - bool has_setting_type() const; - private: - bool _internal_has_setting_type() const; - public: - void clear_setting_type(); - uint32_t setting_type() const; - void set_setting_type(uint32_t value); - private: - uint32_t _internal_setting_type() const; - void _internal_set_setting_type(uint32_t value); - public: - - // optional uint32 setting_value = 2; - bool has_setting_value() const; - private: - bool _internal_has_setting_value() const; - public: - void clear_setting_value(); - uint32_t setting_value() const; - void set_setting_value(uint32_t value); - private: - uint32_t _internal_setting_value() const; - void _internal_set_setting_value(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t setting_type_; - uint32_t setting_value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_AccountPrivacySettings : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_AccountPrivacySettings) */ { - public: - inline CMsgGCCStrike15_v2_AccountPrivacySettings() : CMsgGCCStrike15_v2_AccountPrivacySettings(nullptr) {} - ~CMsgGCCStrike15_v2_AccountPrivacySettings() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_AccountPrivacySettings(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_AccountPrivacySettings(const CMsgGCCStrike15_v2_AccountPrivacySettings& from); - CMsgGCCStrike15_v2_AccountPrivacySettings(CMsgGCCStrike15_v2_AccountPrivacySettings&& from) noexcept - : CMsgGCCStrike15_v2_AccountPrivacySettings() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_AccountPrivacySettings& operator=(const CMsgGCCStrike15_v2_AccountPrivacySettings& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_AccountPrivacySettings& operator=(CMsgGCCStrike15_v2_AccountPrivacySettings&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_AccountPrivacySettings& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_AccountPrivacySettings* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_AccountPrivacySettings_default_instance_); - } - static constexpr int kIndexInFileMessages = - 49; - - friend void swap(CMsgGCCStrike15_v2_AccountPrivacySettings& a, CMsgGCCStrike15_v2_AccountPrivacySettings& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_AccountPrivacySettings* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_AccountPrivacySettings* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_AccountPrivacySettings* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_AccountPrivacySettings& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_AccountPrivacySettings& from) { - CMsgGCCStrike15_v2_AccountPrivacySettings::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_AccountPrivacySettings* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_AccountPrivacySettings"; - } - protected: - explicit CMsgGCCStrike15_v2_AccountPrivacySettings(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgGCCStrike15_v2_AccountPrivacySettings_Setting Setting; - - // accessors ------------------------------------------------------- - - enum : int { - kSettingsFieldNumber = 1, - }; - // repeated .CMsgGCCStrike15_v2_AccountPrivacySettings.Setting settings = 1; - int settings_size() const; - private: - int _internal_settings_size() const; - public: - void clear_settings(); - ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* mutable_settings(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting >* - mutable_settings(); - private: - const ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& _internal_settings(int index) const; - ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* _internal_add_settings(); - public: - const ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& settings(int index) const; - ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* add_settings(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting >& - settings() const; - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_AccountPrivacySettings) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting > settings_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) */ { - public: - inline CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon() : CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon(nullptr) {} - ~CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon(const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& from); - CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon&& from) noexcept - : CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& operator=(const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& operator=(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon_default_instance_); - } - static constexpr int kIndexInFileMessages = - 50; - - friend void swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& a, CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon& from) { - CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAbandonedMatchFieldNumber = 2, - kAccountIdFieldNumber = 1, - kPenaltySecondsFieldNumber = 3, - kPenaltyReasonFieldNumber = 4, - }; - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve abandoned_match = 2; - bool has_abandoned_match() const; - private: - bool _internal_has_abandoned_match() const; - public: - void clear_abandoned_match(); - const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& abandoned_match() const; - PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* release_abandoned_match(); - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* mutable_abandoned_match(); - void set_allocated_abandoned_match(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* abandoned_match); - private: - const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& _internal_abandoned_match() const; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* _internal_mutable_abandoned_match(); - public: - void unsafe_arena_set_allocated_abandoned_match( - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* abandoned_match); - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* unsafe_arena_release_abandoned_match(); - - // optional uint32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 penalty_seconds = 3; - bool has_penalty_seconds() const; - private: - bool _internal_has_penalty_seconds() const; - public: - void clear_penalty_seconds(); - uint32_t penalty_seconds() const; - void set_penalty_seconds(uint32_t value); - private: - uint32_t _internal_penalty_seconds() const; - void _internal_set_penalty_seconds(uint32_t value); - public: - - // optional uint32 penalty_reason = 4; - bool has_penalty_reason() const; - private: - bool _internal_has_penalty_reason() const; - public: - void clear_penalty_reason(); - uint32_t penalty_reason() const; - void set_penalty_reason(uint32_t value); - private: - uint32_t _internal_penalty_reason() const; - void _internal_set_penalty_reason(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* abandoned_match_; - uint32_t account_id_; - uint32_t penalty_seconds_; - uint32_t penalty_reason_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientGCRankUpdate : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientGCRankUpdate) */ { - public: - inline CMsgGCCStrike15_v2_ClientGCRankUpdate() : CMsgGCCStrike15_v2_ClientGCRankUpdate(nullptr) {} - ~CMsgGCCStrike15_v2_ClientGCRankUpdate() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientGCRankUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientGCRankUpdate(const CMsgGCCStrike15_v2_ClientGCRankUpdate& from); - CMsgGCCStrike15_v2_ClientGCRankUpdate(CMsgGCCStrike15_v2_ClientGCRankUpdate&& from) noexcept - : CMsgGCCStrike15_v2_ClientGCRankUpdate() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientGCRankUpdate& operator=(const CMsgGCCStrike15_v2_ClientGCRankUpdate& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientGCRankUpdate& operator=(CMsgGCCStrike15_v2_ClientGCRankUpdate&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientGCRankUpdate& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientGCRankUpdate* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientGCRankUpdate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 51; - - friend void swap(CMsgGCCStrike15_v2_ClientGCRankUpdate& a, CMsgGCCStrike15_v2_ClientGCRankUpdate& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientGCRankUpdate* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientGCRankUpdate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientGCRankUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientGCRankUpdate& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientGCRankUpdate& from) { - CMsgGCCStrike15_v2_ClientGCRankUpdate::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientGCRankUpdate* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientGCRankUpdate"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientGCRankUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRankingsFieldNumber = 1, - }; - // repeated .PlayerRankingInfo rankings = 1; - int rankings_size() const; - private: - int _internal_rankings_size() const; - public: - void clear_rankings(); - ::PlayerRankingInfo* mutable_rankings(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >* - mutable_rankings(); - private: - const ::PlayerRankingInfo& _internal_rankings(int index) const; - ::PlayerRankingInfo* _internal_add_rankings(); - public: - const ::PlayerRankingInfo& rankings(int index) const; - ::PlayerRankingInfo* add_rankings(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >& - rankings() const; - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientGCRankUpdate) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo > rankings_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) */ { - public: - inline CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate() : CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate(nullptr) {} - ~CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate(const CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& from); - CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate(CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate&& from) noexcept - : CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& operator=(const CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& operator=(CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 52; - - friend void swap(CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& a, CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate& from) { - CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMainPostUrlFieldNumber = 1, - }; - // optional string main_post_url = 1; - bool has_main_post_url() const; - private: - bool _internal_has_main_post_url() const; - public: - void clear_main_post_url(); - const std::string& main_post_url() const; - template - void set_main_post_url(ArgT0&& arg0, ArgT... args); - std::string* mutable_main_post_url(); - PROTOBUF_NODISCARD std::string* release_main_post_url(); - void set_allocated_main_post_url(std::string* main_post_url); - private: - const std::string& _internal_main_post_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_main_post_url(const std::string& value); - std::string* _internal_mutable_main_post_url(); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr main_post_url_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ServerNotificationForUserPenalty : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) */ { - public: - inline CMsgGCCStrike15_v2_ServerNotificationForUserPenalty() : CMsgGCCStrike15_v2_ServerNotificationForUserPenalty(nullptr) {} - ~CMsgGCCStrike15_v2_ServerNotificationForUserPenalty() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ServerNotificationForUserPenalty(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ServerNotificationForUserPenalty(const CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& from); - CMsgGCCStrike15_v2_ServerNotificationForUserPenalty(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty&& from) noexcept - : CMsgGCCStrike15_v2_ServerNotificationForUserPenalty() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& operator=(const CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& operator=(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ServerNotificationForUserPenalty* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ServerNotificationForUserPenalty_default_instance_); - } - static constexpr int kIndexInFileMessages = - 53; - - friend void swap(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& a, CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ServerNotificationForUserPenalty* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ServerNotificationForUserPenalty& from) { - CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ServerNotificationForUserPenalty* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ServerNotificationForUserPenalty"; - } - protected: - explicit CMsgGCCStrike15_v2_ServerNotificationForUserPenalty(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountIdFieldNumber = 1, - kReasonFieldNumber = 2, - kSecondsFieldNumber = 3, - kCommunicationCooldownFieldNumber = 4, - }; - // optional uint32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 reason = 2; - bool has_reason() const; - private: - bool _internal_has_reason() const; - public: - void clear_reason(); - uint32_t reason() const; - void set_reason(uint32_t value); - private: - uint32_t _internal_reason() const; - void _internal_set_reason(uint32_t value); - public: - - // optional uint32 seconds = 3; - bool has_seconds() const; - private: - bool _internal_has_seconds() const; - public: - void clear_seconds(); - uint32_t seconds() const; - void set_seconds(uint32_t value); - private: - uint32_t _internal_seconds() const; - void _internal_set_seconds(uint32_t value); - public: - - // optional bool communication_cooldown = 4; - bool has_communication_cooldown() const; - private: - bool _internal_has_communication_cooldown() const; - public: - void clear_communication_cooldown(); - bool communication_cooldown() const; - void set_communication_cooldown(bool value); - private: - bool _internal_communication_cooldown() const; - void _internal_set_communication_cooldown(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t account_id_; - uint32_t reason_; - uint32_t seconds_; - bool communication_cooldown_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientReportPlayer : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientReportPlayer) */ { - public: - inline CMsgGCCStrike15_v2_ClientReportPlayer() : CMsgGCCStrike15_v2_ClientReportPlayer(nullptr) {} - ~CMsgGCCStrike15_v2_ClientReportPlayer() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportPlayer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientReportPlayer(const CMsgGCCStrike15_v2_ClientReportPlayer& from); - CMsgGCCStrike15_v2_ClientReportPlayer(CMsgGCCStrike15_v2_ClientReportPlayer&& from) noexcept - : CMsgGCCStrike15_v2_ClientReportPlayer() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientReportPlayer& operator=(const CMsgGCCStrike15_v2_ClientReportPlayer& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientReportPlayer& operator=(CMsgGCCStrike15_v2_ClientReportPlayer&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientReportPlayer& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientReportPlayer* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientReportPlayer_default_instance_); - } - static constexpr int kIndexInFileMessages = - 54; - - friend void swap(CMsgGCCStrike15_v2_ClientReportPlayer& a, CMsgGCCStrike15_v2_ClientReportPlayer& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientReportPlayer* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientReportPlayer* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientReportPlayer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientReportPlayer& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientReportPlayer& from) { - CMsgGCCStrike15_v2_ClientReportPlayer::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientReportPlayer* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientReportPlayer"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientReportPlayer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountIdFieldNumber = 1, - kRptAimbotFieldNumber = 2, - kRptWallhackFieldNumber = 3, - kRptSpeedhackFieldNumber = 4, - kRptTeamharmFieldNumber = 5, - kRptTextabuseFieldNumber = 6, - kMatchIdFieldNumber = 8, - kRptVoiceabuseFieldNumber = 7, - kReportFromDemoFieldNumber = 9, - }; - // optional uint32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 rpt_aimbot = 2; - bool has_rpt_aimbot() const; - private: - bool _internal_has_rpt_aimbot() const; - public: - void clear_rpt_aimbot(); - uint32_t rpt_aimbot() const; - void set_rpt_aimbot(uint32_t value); - private: - uint32_t _internal_rpt_aimbot() const; - void _internal_set_rpt_aimbot(uint32_t value); - public: - - // optional uint32 rpt_wallhack = 3; - bool has_rpt_wallhack() const; - private: - bool _internal_has_rpt_wallhack() const; - public: - void clear_rpt_wallhack(); - uint32_t rpt_wallhack() const; - void set_rpt_wallhack(uint32_t value); - private: - uint32_t _internal_rpt_wallhack() const; - void _internal_set_rpt_wallhack(uint32_t value); - public: - - // optional uint32 rpt_speedhack = 4; - bool has_rpt_speedhack() const; - private: - bool _internal_has_rpt_speedhack() const; - public: - void clear_rpt_speedhack(); - uint32_t rpt_speedhack() const; - void set_rpt_speedhack(uint32_t value); - private: - uint32_t _internal_rpt_speedhack() const; - void _internal_set_rpt_speedhack(uint32_t value); - public: - - // optional uint32 rpt_teamharm = 5; - bool has_rpt_teamharm() const; - private: - bool _internal_has_rpt_teamharm() const; - public: - void clear_rpt_teamharm(); - uint32_t rpt_teamharm() const; - void set_rpt_teamharm(uint32_t value); - private: - uint32_t _internal_rpt_teamharm() const; - void _internal_set_rpt_teamharm(uint32_t value); - public: - - // optional uint32 rpt_textabuse = 6; - bool has_rpt_textabuse() const; - private: - bool _internal_has_rpt_textabuse() const; - public: - void clear_rpt_textabuse(); - uint32_t rpt_textabuse() const; - void set_rpt_textabuse(uint32_t value); - private: - uint32_t _internal_rpt_textabuse() const; - void _internal_set_rpt_textabuse(uint32_t value); - public: - - // optional uint64 match_id = 8; - bool has_match_id() const; - private: - bool _internal_has_match_id() const; - public: - void clear_match_id(); - uint64_t match_id() const; - void set_match_id(uint64_t value); - private: - uint64_t _internal_match_id() const; - void _internal_set_match_id(uint64_t value); - public: - - // optional uint32 rpt_voiceabuse = 7; - bool has_rpt_voiceabuse() const; - private: - bool _internal_has_rpt_voiceabuse() const; - public: - void clear_rpt_voiceabuse(); - uint32_t rpt_voiceabuse() const; - void set_rpt_voiceabuse(uint32_t value); - private: - uint32_t _internal_rpt_voiceabuse() const; - void _internal_set_rpt_voiceabuse(uint32_t value); - public: - - // optional bool report_from_demo = 9; - bool has_report_from_demo() const; - private: - bool _internal_has_report_from_demo() const; - public: - void clear_report_from_demo(); - bool report_from_demo() const; - void set_report_from_demo(bool value); - private: - bool _internal_report_from_demo() const; - void _internal_set_report_from_demo(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientReportPlayer) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t account_id_; - uint32_t rpt_aimbot_; - uint32_t rpt_wallhack_; - uint32_t rpt_speedhack_; - uint32_t rpt_teamharm_; - uint32_t rpt_textabuse_; - uint64_t match_id_; - uint32_t rpt_voiceabuse_; - bool report_from_demo_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientCommendPlayer : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientCommendPlayer) */ { - public: - inline CMsgGCCStrike15_v2_ClientCommendPlayer() : CMsgGCCStrike15_v2_ClientCommendPlayer(nullptr) {} - ~CMsgGCCStrike15_v2_ClientCommendPlayer() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientCommendPlayer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientCommendPlayer(const CMsgGCCStrike15_v2_ClientCommendPlayer& from); - CMsgGCCStrike15_v2_ClientCommendPlayer(CMsgGCCStrike15_v2_ClientCommendPlayer&& from) noexcept - : CMsgGCCStrike15_v2_ClientCommendPlayer() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientCommendPlayer& operator=(const CMsgGCCStrike15_v2_ClientCommendPlayer& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientCommendPlayer& operator=(CMsgGCCStrike15_v2_ClientCommendPlayer&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientCommendPlayer& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientCommendPlayer* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientCommendPlayer_default_instance_); - } - static constexpr int kIndexInFileMessages = - 55; - - friend void swap(CMsgGCCStrike15_v2_ClientCommendPlayer& a, CMsgGCCStrike15_v2_ClientCommendPlayer& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientCommendPlayer* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientCommendPlayer* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientCommendPlayer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientCommendPlayer& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientCommendPlayer& from) { - CMsgGCCStrike15_v2_ClientCommendPlayer::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientCommendPlayer* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientCommendPlayer"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientCommendPlayer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCommendationFieldNumber = 9, - kAccountIdFieldNumber = 1, - kTokensFieldNumber = 10, - kMatchIdFieldNumber = 8, - }; - // optional .PlayerCommendationInfo commendation = 9; - bool has_commendation() const; - private: - bool _internal_has_commendation() const; - public: - void clear_commendation(); - const ::PlayerCommendationInfo& commendation() const; - PROTOBUF_NODISCARD ::PlayerCommendationInfo* release_commendation(); - ::PlayerCommendationInfo* mutable_commendation(); - void set_allocated_commendation(::PlayerCommendationInfo* commendation); - private: - const ::PlayerCommendationInfo& _internal_commendation() const; - ::PlayerCommendationInfo* _internal_mutable_commendation(); - public: - void unsafe_arena_set_allocated_commendation( - ::PlayerCommendationInfo* commendation); - ::PlayerCommendationInfo* unsafe_arena_release_commendation(); - - // optional uint32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 tokens = 10; - bool has_tokens() const; - private: - bool _internal_has_tokens() const; - public: - void clear_tokens(); - uint32_t tokens() const; - void set_tokens(uint32_t value); - private: - uint32_t _internal_tokens() const; - void _internal_set_tokens(uint32_t value); - public: - - // optional uint64 match_id = 8; - bool has_match_id() const; - private: - bool _internal_has_match_id() const; - public: - void clear_match_id(); - uint64_t match_id() const; - void set_match_id(uint64_t value); - private: - uint64_t _internal_match_id() const; - void _internal_set_match_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientCommendPlayer) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PlayerCommendationInfo* commendation_; - uint32_t account_id_; - uint32_t tokens_; - uint64_t match_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientReportServer : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientReportServer) */ { - public: - inline CMsgGCCStrike15_v2_ClientReportServer() : CMsgGCCStrike15_v2_ClientReportServer(nullptr) {} - ~CMsgGCCStrike15_v2_ClientReportServer() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportServer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientReportServer(const CMsgGCCStrike15_v2_ClientReportServer& from); - CMsgGCCStrike15_v2_ClientReportServer(CMsgGCCStrike15_v2_ClientReportServer&& from) noexcept - : CMsgGCCStrike15_v2_ClientReportServer() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientReportServer& operator=(const CMsgGCCStrike15_v2_ClientReportServer& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientReportServer& operator=(CMsgGCCStrike15_v2_ClientReportServer&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientReportServer& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientReportServer* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientReportServer_default_instance_); - } - static constexpr int kIndexInFileMessages = - 56; - - friend void swap(CMsgGCCStrike15_v2_ClientReportServer& a, CMsgGCCStrike15_v2_ClientReportServer& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientReportServer* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientReportServer* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientReportServer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientReportServer& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientReportServer& from) { - CMsgGCCStrike15_v2_ClientReportServer::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientReportServer* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientReportServer"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientReportServer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRptPoorperfFieldNumber = 1, - kRptAbusivemodelsFieldNumber = 2, - kRptBadmotdFieldNumber = 3, - kRptListingabuseFieldNumber = 4, - kMatchIdFieldNumber = 8, - kRptInventoryabuseFieldNumber = 5, - }; - // optional uint32 rpt_poorperf = 1; - bool has_rpt_poorperf() const; - private: - bool _internal_has_rpt_poorperf() const; - public: - void clear_rpt_poorperf(); - uint32_t rpt_poorperf() const; - void set_rpt_poorperf(uint32_t value); - private: - uint32_t _internal_rpt_poorperf() const; - void _internal_set_rpt_poorperf(uint32_t value); - public: - - // optional uint32 rpt_abusivemodels = 2; - bool has_rpt_abusivemodels() const; - private: - bool _internal_has_rpt_abusivemodels() const; - public: - void clear_rpt_abusivemodels(); - uint32_t rpt_abusivemodels() const; - void set_rpt_abusivemodels(uint32_t value); - private: - uint32_t _internal_rpt_abusivemodels() const; - void _internal_set_rpt_abusivemodels(uint32_t value); - public: - - // optional uint32 rpt_badmotd = 3; - bool has_rpt_badmotd() const; - private: - bool _internal_has_rpt_badmotd() const; - public: - void clear_rpt_badmotd(); - uint32_t rpt_badmotd() const; - void set_rpt_badmotd(uint32_t value); - private: - uint32_t _internal_rpt_badmotd() const; - void _internal_set_rpt_badmotd(uint32_t value); - public: - - // optional uint32 rpt_listingabuse = 4; - bool has_rpt_listingabuse() const; - private: - bool _internal_has_rpt_listingabuse() const; - public: - void clear_rpt_listingabuse(); - uint32_t rpt_listingabuse() const; - void set_rpt_listingabuse(uint32_t value); - private: - uint32_t _internal_rpt_listingabuse() const; - void _internal_set_rpt_listingabuse(uint32_t value); - public: - - // optional uint64 match_id = 8; - bool has_match_id() const; - private: - bool _internal_has_match_id() const; - public: - void clear_match_id(); - uint64_t match_id() const; - void set_match_id(uint64_t value); - private: - uint64_t _internal_match_id() const; - void _internal_set_match_id(uint64_t value); - public: - - // optional uint32 rpt_inventoryabuse = 5; - bool has_rpt_inventoryabuse() const; - private: - bool _internal_has_rpt_inventoryabuse() const; - public: - void clear_rpt_inventoryabuse(); - uint32_t rpt_inventoryabuse() const; - void set_rpt_inventoryabuse(uint32_t value); - private: - uint32_t _internal_rpt_inventoryabuse() const; - void _internal_set_rpt_inventoryabuse(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientReportServer) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t rpt_poorperf_; - uint32_t rpt_abusivemodels_; - uint32_t rpt_badmotd_; - uint32_t rpt_listingabuse_; - uint64_t match_id_; - uint32_t rpt_inventoryabuse_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientReportResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientReportResponse) */ { - public: - inline CMsgGCCStrike15_v2_ClientReportResponse() : CMsgGCCStrike15_v2_ClientReportResponse(nullptr) {} - ~CMsgGCCStrike15_v2_ClientReportResponse() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientReportResponse(const CMsgGCCStrike15_v2_ClientReportResponse& from); - CMsgGCCStrike15_v2_ClientReportResponse(CMsgGCCStrike15_v2_ClientReportResponse&& from) noexcept - : CMsgGCCStrike15_v2_ClientReportResponse() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientReportResponse& operator=(const CMsgGCCStrike15_v2_ClientReportResponse& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientReportResponse& operator=(CMsgGCCStrike15_v2_ClientReportResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientReportResponse& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientReportResponse* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientReportResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 57; - - friend void swap(CMsgGCCStrike15_v2_ClientReportResponse& a, CMsgGCCStrike15_v2_ClientReportResponse& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientReportResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientReportResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientReportResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientReportResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientReportResponse& from) { - CMsgGCCStrike15_v2_ClientReportResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientReportResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientReportResponse"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientReportResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kConfirmationIdFieldNumber = 1, - kAccountIdFieldNumber = 2, - kServerIpFieldNumber = 3, - kResponseTypeFieldNumber = 4, - kResponseResultFieldNumber = 5, - kTokensFieldNumber = 6, - }; - // optional uint64 confirmation_id = 1; - bool has_confirmation_id() const; - private: - bool _internal_has_confirmation_id() const; - public: - void clear_confirmation_id(); - uint64_t confirmation_id() const; - void set_confirmation_id(uint64_t value); - private: - uint64_t _internal_confirmation_id() const; - void _internal_set_confirmation_id(uint64_t value); - public: - - // optional uint32 account_id = 2; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 server_ip = 3; - bool has_server_ip() const; - private: - bool _internal_has_server_ip() const; - public: - void clear_server_ip(); - uint32_t server_ip() const; - void set_server_ip(uint32_t value); - private: - uint32_t _internal_server_ip() const; - void _internal_set_server_ip(uint32_t value); - public: - - // optional uint32 response_type = 4; - bool has_response_type() const; - private: - bool _internal_has_response_type() const; - public: - void clear_response_type(); - uint32_t response_type() const; - void set_response_type(uint32_t value); - private: - uint32_t _internal_response_type() const; - void _internal_set_response_type(uint32_t value); - public: - - // optional uint32 response_result = 5; - bool has_response_result() const; - private: - bool _internal_has_response_result() const; - public: - void clear_response_result(); - uint32_t response_result() const; - void set_response_result(uint32_t value); - private: - uint32_t _internal_response_result() const; - void _internal_set_response_result(uint32_t value); - public: - - // optional uint32 tokens = 6; - bool has_tokens() const; - private: - bool _internal_has_tokens() const; - public: - void clear_tokens(); - uint32_t tokens() const; - void set_tokens(uint32_t value); - private: - uint32_t _internal_tokens() const; - void _internal_set_tokens(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientReportResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t confirmation_id_; - uint32_t account_id_; - uint32_t server_ip_; - uint32_t response_type_; - uint32_t response_result_; - uint32_t tokens_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) */ { - public: - inline CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends() : CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends(nullptr) {} - ~CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends(const CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& from); - CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends&& from) noexcept - : CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& operator=(const CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& operator=(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends_default_instance_); - } - static constexpr int kIndexInFileMessages = - 58; - - friend void swap(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& a, CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends& from) { - CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountIdsFieldNumber = 2, - kDataCenterPingsFieldNumber = 6, - kServeridFieldNumber = 3, - kRequestIdFieldNumber = 1, - kClientLauncherFieldNumber = 5, - kMatchidFieldNumber = 4, - }; - // repeated uint32 account_ids = 2; - int account_ids_size() const; - private: - int _internal_account_ids_size() const; - public: - void clear_account_ids(); - private: - uint32_t _internal_account_ids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_account_ids() const; - void _internal_add_account_ids(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_account_ids(); - public: - uint32_t account_ids(int index) const; - void set_account_ids(int index, uint32_t value); - void add_account_ids(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - account_ids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_account_ids(); - - // repeated .DataCenterPing data_center_pings = 6; - int data_center_pings_size() const; - private: - int _internal_data_center_pings_size() const; - public: - void clear_data_center_pings(); - ::DataCenterPing* mutable_data_center_pings(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing >* - mutable_data_center_pings(); - private: - const ::DataCenterPing& _internal_data_center_pings(int index) const; - ::DataCenterPing* _internal_add_data_center_pings(); - public: - const ::DataCenterPing& data_center_pings(int index) const; - ::DataCenterPing* add_data_center_pings(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing >& - data_center_pings() const; - - // optional uint64 serverid = 3; - bool has_serverid() const; - private: - bool _internal_has_serverid() const; - public: - void clear_serverid(); - uint64_t serverid() const; - void set_serverid(uint64_t value); - private: - uint64_t _internal_serverid() const; - void _internal_set_serverid(uint64_t value); - public: - - // optional uint32 request_id = 1; - bool has_request_id() const; - private: - bool _internal_has_request_id() const; - public: - void clear_request_id(); - uint32_t request_id() const; - void set_request_id(uint32_t value); - private: - uint32_t _internal_request_id() const; - void _internal_set_request_id(uint32_t value); - public: - - // optional uint32 client_launcher = 5; - bool has_client_launcher() const; - private: - bool _internal_has_client_launcher() const; - public: - void clear_client_launcher(); - uint32_t client_launcher() const; - void set_client_launcher(uint32_t value); - private: - uint32_t _internal_client_launcher() const; - void _internal_set_client_launcher(uint32_t value); - public: - - // optional uint64 matchid = 4; - bool has_matchid() const; - private: - bool _internal_has_matchid() const; - public: - void clear_matchid(); - uint64_t matchid() const; - void set_matchid(uint64_t value); - private: - uint64_t _internal_matchid() const; - void _internal_set_matchid(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > account_ids_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing > data_center_pings_; - uint64_t serverid_; - uint32_t request_id_; - uint32_t client_launcher_; - uint64_t matchid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class WatchableMatchInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:WatchableMatchInfo) */ { - public: - inline WatchableMatchInfo() : WatchableMatchInfo(nullptr) {} - ~WatchableMatchInfo() override; - explicit PROTOBUF_CONSTEXPR WatchableMatchInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - WatchableMatchInfo(const WatchableMatchInfo& from); - WatchableMatchInfo(WatchableMatchInfo&& from) noexcept - : WatchableMatchInfo() { - *this = ::std::move(from); - } - - inline WatchableMatchInfo& operator=(const WatchableMatchInfo& from) { - CopyFrom(from); - return *this; - } - inline WatchableMatchInfo& operator=(WatchableMatchInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const WatchableMatchInfo& default_instance() { - return *internal_default_instance(); - } - static inline const WatchableMatchInfo* internal_default_instance() { - return reinterpret_cast( - &_WatchableMatchInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 59; - - friend void swap(WatchableMatchInfo& a, WatchableMatchInfo& b) { - a.Swap(&b); - } - inline void Swap(WatchableMatchInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(WatchableMatchInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - WatchableMatchInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const WatchableMatchInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const WatchableMatchInfo& from) { - WatchableMatchInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(WatchableMatchInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "WatchableMatchInfo"; - } - protected: - explicit WatchableMatchInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTvWatchPasswordFieldNumber = 5, - kGameMapgroupFieldNumber = 9, - kGameMapFieldNumber = 10, - kServerIpFieldNumber = 1, - kTvPortFieldNumber = 2, - kTvSpectatorsFieldNumber = 3, - kTvTimeFieldNumber = 4, - kClDecryptdataKeyFieldNumber = 6, - kClDecryptdataKeyPubFieldNumber = 7, - kServerIdFieldNumber = 11, - kMatchIdFieldNumber = 12, - kReservationIdFieldNumber = 13, - kGameTypeFieldNumber = 8, - }; - // optional bytes tv_watch_password = 5; - bool has_tv_watch_password() const; - private: - bool _internal_has_tv_watch_password() const; - public: - void clear_tv_watch_password(); - const std::string& tv_watch_password() const; - template - void set_tv_watch_password(ArgT0&& arg0, ArgT... args); - std::string* mutable_tv_watch_password(); - PROTOBUF_NODISCARD std::string* release_tv_watch_password(); - void set_allocated_tv_watch_password(std::string* tv_watch_password); - private: - const std::string& _internal_tv_watch_password() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_tv_watch_password(const std::string& value); - std::string* _internal_mutable_tv_watch_password(); - public: - - // optional string game_mapgroup = 9; - bool has_game_mapgroup() const; - private: - bool _internal_has_game_mapgroup() const; - public: - void clear_game_mapgroup(); - const std::string& game_mapgroup() const; - template - void set_game_mapgroup(ArgT0&& arg0, ArgT... args); - std::string* mutable_game_mapgroup(); - PROTOBUF_NODISCARD std::string* release_game_mapgroup(); - void set_allocated_game_mapgroup(std::string* game_mapgroup); - private: - const std::string& _internal_game_mapgroup() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_mapgroup(const std::string& value); - std::string* _internal_mutable_game_mapgroup(); - public: - - // optional string game_map = 10; - bool has_game_map() const; - private: - bool _internal_has_game_map() const; - public: - void clear_game_map(); - const std::string& game_map() const; - template - void set_game_map(ArgT0&& arg0, ArgT... args); - std::string* mutable_game_map(); - PROTOBUF_NODISCARD std::string* release_game_map(); - void set_allocated_game_map(std::string* game_map); - private: - const std::string& _internal_game_map() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_map(const std::string& value); - std::string* _internal_mutable_game_map(); - public: - - // optional uint32 server_ip = 1; - bool has_server_ip() const; - private: - bool _internal_has_server_ip() const; - public: - void clear_server_ip(); - uint32_t server_ip() const; - void set_server_ip(uint32_t value); - private: - uint32_t _internal_server_ip() const; - void _internal_set_server_ip(uint32_t value); - public: - - // optional uint32 tv_port = 2; - bool has_tv_port() const; - private: - bool _internal_has_tv_port() const; - public: - void clear_tv_port(); - uint32_t tv_port() const; - void set_tv_port(uint32_t value); - private: - uint32_t _internal_tv_port() const; - void _internal_set_tv_port(uint32_t value); - public: - - // optional uint32 tv_spectators = 3; - bool has_tv_spectators() const; - private: - bool _internal_has_tv_spectators() const; - public: - void clear_tv_spectators(); - uint32_t tv_spectators() const; - void set_tv_spectators(uint32_t value); - private: - uint32_t _internal_tv_spectators() const; - void _internal_set_tv_spectators(uint32_t value); - public: - - // optional uint32 tv_time = 4; - bool has_tv_time() const; - private: - bool _internal_has_tv_time() const; - public: - void clear_tv_time(); - uint32_t tv_time() const; - void set_tv_time(uint32_t value); - private: - uint32_t _internal_tv_time() const; - void _internal_set_tv_time(uint32_t value); - public: - - // optional uint64 cl_decryptdata_key = 6; - bool has_cl_decryptdata_key() const; - private: - bool _internal_has_cl_decryptdata_key() const; - public: - void clear_cl_decryptdata_key(); - uint64_t cl_decryptdata_key() const; - void set_cl_decryptdata_key(uint64_t value); - private: - uint64_t _internal_cl_decryptdata_key() const; - void _internal_set_cl_decryptdata_key(uint64_t value); - public: - - // optional uint64 cl_decryptdata_key_pub = 7; - bool has_cl_decryptdata_key_pub() const; - private: - bool _internal_has_cl_decryptdata_key_pub() const; - public: - void clear_cl_decryptdata_key_pub(); - uint64_t cl_decryptdata_key_pub() const; - void set_cl_decryptdata_key_pub(uint64_t value); - private: - uint64_t _internal_cl_decryptdata_key_pub() const; - void _internal_set_cl_decryptdata_key_pub(uint64_t value); - public: - - // optional uint64 server_id = 11; - bool has_server_id() const; - private: - bool _internal_has_server_id() const; - public: - void clear_server_id(); - uint64_t server_id() const; - void set_server_id(uint64_t value); - private: - uint64_t _internal_server_id() const; - void _internal_set_server_id(uint64_t value); - public: - - // optional uint64 match_id = 12; - bool has_match_id() const; - private: - bool _internal_has_match_id() const; - public: - void clear_match_id(); - uint64_t match_id() const; - void set_match_id(uint64_t value); - private: - uint64_t _internal_match_id() const; - void _internal_set_match_id(uint64_t value); - public: - - // optional uint64 reservation_id = 13; - bool has_reservation_id() const; - private: - bool _internal_has_reservation_id() const; - public: - void clear_reservation_id(); - uint64_t reservation_id() const; - void set_reservation_id(uint64_t value); - private: - uint64_t _internal_reservation_id() const; - void _internal_set_reservation_id(uint64_t value); - public: - - // optional uint32 game_type = 8; - bool has_game_type() const; - private: - bool _internal_has_game_type() const; - public: - void clear_game_type(); - uint32_t game_type() const; - void set_game_type(uint32_t value); - private: - uint32_t _internal_game_type() const; - void _internal_set_game_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:WatchableMatchInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tv_watch_password_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_mapgroup_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_map_; - uint32_t server_ip_; - uint32_t tv_port_; - uint32_t tv_spectators_; - uint32_t tv_time_; - uint64_t cl_decryptdata_key_; - uint64_t cl_decryptdata_key_pub_; - uint64_t server_id_; - uint64_t match_id_; - uint64_t reservation_id_; - uint32_t game_type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientRequestJoinFriendData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) */ { - public: - inline CMsgGCCStrike15_v2_ClientRequestJoinFriendData() : CMsgGCCStrike15_v2_ClientRequestJoinFriendData(nullptr) {} - ~CMsgGCCStrike15_v2_ClientRequestJoinFriendData() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestJoinFriendData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientRequestJoinFriendData(const CMsgGCCStrike15_v2_ClientRequestJoinFriendData& from); - CMsgGCCStrike15_v2_ClientRequestJoinFriendData(CMsgGCCStrike15_v2_ClientRequestJoinFriendData&& from) noexcept - : CMsgGCCStrike15_v2_ClientRequestJoinFriendData() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientRequestJoinFriendData& operator=(const CMsgGCCStrike15_v2_ClientRequestJoinFriendData& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientRequestJoinFriendData& operator=(CMsgGCCStrike15_v2_ClientRequestJoinFriendData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientRequestJoinFriendData& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientRequestJoinFriendData* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientRequestJoinFriendData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 60; - - friend void swap(CMsgGCCStrike15_v2_ClientRequestJoinFriendData& a, CMsgGCCStrike15_v2_ClientRequestJoinFriendData& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientRequestJoinFriendData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientRequestJoinFriendData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientRequestJoinFriendData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientRequestJoinFriendData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientRequestJoinFriendData& from) { - CMsgGCCStrike15_v2_ClientRequestJoinFriendData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientRequestJoinFriendData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientRequestJoinFriendData"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientRequestJoinFriendData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kErrormsgFieldNumber = 6, - kResFieldNumber = 5, - kVersionFieldNumber = 1, - kAccountIdFieldNumber = 2, - kJoinTokenFieldNumber = 3, - kJoinIppFieldNumber = 4, - }; - // optional string errormsg = 6; - bool has_errormsg() const; - private: - bool _internal_has_errormsg() const; - public: - void clear_errormsg(); - const std::string& errormsg() const; - template - void set_errormsg(ArgT0&& arg0, ArgT... args); - std::string* mutable_errormsg(); - PROTOBUF_NODISCARD std::string* release_errormsg(); - void set_allocated_errormsg(std::string* errormsg); - private: - const std::string& _internal_errormsg() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_errormsg(const std::string& value); - std::string* _internal_mutable_errormsg(); - public: - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 5; - bool has_res() const; - private: - bool _internal_has_res() const; - public: - void clear_res(); - const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& res() const; - PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* release_res(); - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* mutable_res(); - void set_allocated_res(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res); - private: - const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& _internal_res() const; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* _internal_mutable_res(); - public: - void unsafe_arena_set_allocated_res( - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res); - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* unsafe_arena_release_res(); - - // optional uint32 version = 1; - bool has_version() const; - private: - bool _internal_has_version() const; - public: - void clear_version(); - uint32_t version() const; - void set_version(uint32_t value); - private: - uint32_t _internal_version() const; - void _internal_set_version(uint32_t value); - public: - - // optional uint32 account_id = 2; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 join_token = 3; - bool has_join_token() const; - private: - bool _internal_has_join_token() const; - public: - void clear_join_token(); - uint32_t join_token() const; - void set_join_token(uint32_t value); - private: - uint32_t _internal_join_token() const; - void _internal_set_join_token(uint32_t value); - public: - - // optional uint32 join_ipp = 4; - bool has_join_ipp() const; - private: - bool _internal_has_join_ipp() const; - public: - void clear_join_ipp(); - uint32_t join_ipp() const; - void set_join_ipp(uint32_t value); - private: - uint32_t _internal_join_ipp() const; - void _internal_set_join_ipp(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientRequestJoinFriendData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr errormsg_; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res_; - uint32_t version_; - uint32_t account_id_; - uint32_t join_token_; - uint32_t join_ipp_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientRequestJoinServerData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientRequestJoinServerData) */ { - public: - inline CMsgGCCStrike15_v2_ClientRequestJoinServerData() : CMsgGCCStrike15_v2_ClientRequestJoinServerData(nullptr) {} - ~CMsgGCCStrike15_v2_ClientRequestJoinServerData() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestJoinServerData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientRequestJoinServerData(const CMsgGCCStrike15_v2_ClientRequestJoinServerData& from); - CMsgGCCStrike15_v2_ClientRequestJoinServerData(CMsgGCCStrike15_v2_ClientRequestJoinServerData&& from) noexcept - : CMsgGCCStrike15_v2_ClientRequestJoinServerData() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientRequestJoinServerData& operator=(const CMsgGCCStrike15_v2_ClientRequestJoinServerData& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientRequestJoinServerData& operator=(CMsgGCCStrike15_v2_ClientRequestJoinServerData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientRequestJoinServerData& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientRequestJoinServerData* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientRequestJoinServerData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 61; - - friend void swap(CMsgGCCStrike15_v2_ClientRequestJoinServerData& a, CMsgGCCStrike15_v2_ClientRequestJoinServerData& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientRequestJoinServerData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientRequestJoinServerData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientRequestJoinServerData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientRequestJoinServerData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientRequestJoinServerData& from) { - CMsgGCCStrike15_v2_ClientRequestJoinServerData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientRequestJoinServerData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientRequestJoinServerData"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientRequestJoinServerData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kErrormsgFieldNumber = 7, - kResFieldNumber = 6, - kVersionFieldNumber = 1, - kAccountIdFieldNumber = 2, - kServeridFieldNumber = 3, - kServerIpFieldNumber = 4, - kServerPortFieldNumber = 5, - }; - // optional string errormsg = 7; - bool has_errormsg() const; - private: - bool _internal_has_errormsg() const; - public: - void clear_errormsg(); - const std::string& errormsg() const; - template - void set_errormsg(ArgT0&& arg0, ArgT... args); - std::string* mutable_errormsg(); - PROTOBUF_NODISCARD std::string* release_errormsg(); - void set_allocated_errormsg(std::string* errormsg); - private: - const std::string& _internal_errormsg() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_errormsg(const std::string& value); - std::string* _internal_mutable_errormsg(); - public: - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 6; - bool has_res() const; - private: - bool _internal_has_res() const; - public: - void clear_res(); - const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& res() const; - PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* release_res(); - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* mutable_res(); - void set_allocated_res(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res); - private: - const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& _internal_res() const; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* _internal_mutable_res(); - public: - void unsafe_arena_set_allocated_res( - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res); - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* unsafe_arena_release_res(); - - // optional uint32 version = 1; - bool has_version() const; - private: - bool _internal_has_version() const; - public: - void clear_version(); - uint32_t version() const; - void set_version(uint32_t value); - private: - uint32_t _internal_version() const; - void _internal_set_version(uint32_t value); - public: - - // optional uint32 account_id = 2; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint64 serverid = 3; - bool has_serverid() const; - private: - bool _internal_has_serverid() const; - public: - void clear_serverid(); - uint64_t serverid() const; - void set_serverid(uint64_t value); - private: - uint64_t _internal_serverid() const; - void _internal_set_serverid(uint64_t value); - public: - - // optional uint32 server_ip = 4; - bool has_server_ip() const; - private: - bool _internal_has_server_ip() const; - public: - void clear_server_ip(); - uint32_t server_ip() const; - void set_server_ip(uint32_t value); - private: - uint32_t _internal_server_ip() const; - void _internal_set_server_ip(uint32_t value); - public: - - // optional uint32 server_port = 5; - bool has_server_port() const; - private: - bool _internal_has_server_port() const; - public: - void clear_server_port(); - uint32_t server_port() const; - void set_server_port(uint32_t value); - private: - uint32_t _internal_server_port() const; - void _internal_set_server_port(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientRequestJoinServerData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr errormsg_; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res_; - uint32_t version_; - uint32_t account_id_; - uint64_t serverid_; - uint32_t server_ip_; - uint32_t server_port_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCstrike15_v2_ClientRedeemMissionReward : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCstrike15_v2_ClientRedeemMissionReward) */ { - public: - inline CMsgGCCstrike15_v2_ClientRedeemMissionReward() : CMsgGCCstrike15_v2_ClientRedeemMissionReward(nullptr) {} - ~CMsgGCCstrike15_v2_ClientRedeemMissionReward() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCstrike15_v2_ClientRedeemMissionReward(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCstrike15_v2_ClientRedeemMissionReward(const CMsgGCCstrike15_v2_ClientRedeemMissionReward& from); - CMsgGCCstrike15_v2_ClientRedeemMissionReward(CMsgGCCstrike15_v2_ClientRedeemMissionReward&& from) noexcept - : CMsgGCCstrike15_v2_ClientRedeemMissionReward() { - *this = ::std::move(from); - } - - inline CMsgGCCstrike15_v2_ClientRedeemMissionReward& operator=(const CMsgGCCstrike15_v2_ClientRedeemMissionReward& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCstrike15_v2_ClientRedeemMissionReward& operator=(CMsgGCCstrike15_v2_ClientRedeemMissionReward&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCstrike15_v2_ClientRedeemMissionReward& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCstrike15_v2_ClientRedeemMissionReward* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCstrike15_v2_ClientRedeemMissionReward_default_instance_); - } - static constexpr int kIndexInFileMessages = - 62; - - friend void swap(CMsgGCCstrike15_v2_ClientRedeemMissionReward& a, CMsgGCCstrike15_v2_ClientRedeemMissionReward& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCstrike15_v2_ClientRedeemMissionReward* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCstrike15_v2_ClientRedeemMissionReward* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCstrike15_v2_ClientRedeemMissionReward* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCstrike15_v2_ClientRedeemMissionReward& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCstrike15_v2_ClientRedeemMissionReward& from) { - CMsgGCCstrike15_v2_ClientRedeemMissionReward::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCstrike15_v2_ClientRedeemMissionReward* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCstrike15_v2_ClientRedeemMissionReward"; - } - protected: - explicit CMsgGCCstrike15_v2_ClientRedeemMissionReward(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCampaignIdFieldNumber = 1, - kRedeemIdFieldNumber = 2, - kRedeemableBalanceFieldNumber = 3, - kExpectedCostFieldNumber = 4, - kBidControlFieldNumber = 5, - }; - // optional uint32 campaign_id = 1; - bool has_campaign_id() const; - private: - bool _internal_has_campaign_id() const; - public: - void clear_campaign_id(); - uint32_t campaign_id() const; - void set_campaign_id(uint32_t value); - private: - uint32_t _internal_campaign_id() const; - void _internal_set_campaign_id(uint32_t value); - public: - - // optional uint32 redeem_id = 2; - bool has_redeem_id() const; - private: - bool _internal_has_redeem_id() const; - public: - void clear_redeem_id(); - uint32_t redeem_id() const; - void set_redeem_id(uint32_t value); - private: - uint32_t _internal_redeem_id() const; - void _internal_set_redeem_id(uint32_t value); - public: - - // optional uint32 redeemable_balance = 3; - bool has_redeemable_balance() const; - private: - bool _internal_has_redeemable_balance() const; - public: - void clear_redeemable_balance(); - uint32_t redeemable_balance() const; - void set_redeemable_balance(uint32_t value); - private: - uint32_t _internal_redeemable_balance() const; - void _internal_set_redeemable_balance(uint32_t value); - public: - - // optional uint32 expected_cost = 4; - bool has_expected_cost() const; - private: - bool _internal_has_expected_cost() const; - public: - void clear_expected_cost(); - uint32_t expected_cost() const; - void set_expected_cost(uint32_t value); - private: - uint32_t _internal_expected_cost() const; - void _internal_set_expected_cost(uint32_t value); - public: - - // optional int32 bid_control = 5; - bool has_bid_control() const; - private: - bool _internal_has_bid_control() const; - public: - void clear_bid_control(); - int32_t bid_control() const; - void set_bid_control(int32_t value); - private: - int32_t _internal_bid_control() const; - void _internal_set_bid_control(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCstrike15_v2_ClientRedeemMissionReward) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t campaign_id_; - uint32_t redeem_id_; - uint32_t redeemable_balance_; - uint32_t expected_cost_; - int32_t bid_control_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCstrike15_v2_ClientRedeemFreeReward : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCstrike15_v2_ClientRedeemFreeReward) */ { - public: - inline CMsgGCCstrike15_v2_ClientRedeemFreeReward() : CMsgGCCstrike15_v2_ClientRedeemFreeReward(nullptr) {} - ~CMsgGCCstrike15_v2_ClientRedeemFreeReward() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCstrike15_v2_ClientRedeemFreeReward(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCstrike15_v2_ClientRedeemFreeReward(const CMsgGCCstrike15_v2_ClientRedeemFreeReward& from); - CMsgGCCstrike15_v2_ClientRedeemFreeReward(CMsgGCCstrike15_v2_ClientRedeemFreeReward&& from) noexcept - : CMsgGCCstrike15_v2_ClientRedeemFreeReward() { - *this = ::std::move(from); - } - - inline CMsgGCCstrike15_v2_ClientRedeemFreeReward& operator=(const CMsgGCCstrike15_v2_ClientRedeemFreeReward& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCstrike15_v2_ClientRedeemFreeReward& operator=(CMsgGCCstrike15_v2_ClientRedeemFreeReward&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCstrike15_v2_ClientRedeemFreeReward& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCstrike15_v2_ClientRedeemFreeReward* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCstrike15_v2_ClientRedeemFreeReward_default_instance_); - } - static constexpr int kIndexInFileMessages = - 63; - - friend void swap(CMsgGCCstrike15_v2_ClientRedeemFreeReward& a, CMsgGCCstrike15_v2_ClientRedeemFreeReward& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCstrike15_v2_ClientRedeemFreeReward* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCstrike15_v2_ClientRedeemFreeReward* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCstrike15_v2_ClientRedeemFreeReward* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCstrike15_v2_ClientRedeemFreeReward& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCstrike15_v2_ClientRedeemFreeReward& from) { - CMsgGCCstrike15_v2_ClientRedeemFreeReward::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCstrike15_v2_ClientRedeemFreeReward* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCstrike15_v2_ClientRedeemFreeReward"; - } - protected: - explicit CMsgGCCstrike15_v2_ClientRedeemFreeReward(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemsFieldNumber = 3, - kGenerationTimeFieldNumber = 1, - kRedeemableBalanceFieldNumber = 2, - }; - // repeated uint64 items = 3; - int items_size() const; - private: - int _internal_items_size() const; - public: - void clear_items(); - private: - uint64_t _internal_items(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - _internal_items() const; - void _internal_add_items(uint64_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - _internal_mutable_items(); - public: - uint64_t items(int index) const; - void set_items(int index, uint64_t value); - void add_items(uint64_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - items() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - mutable_items(); - - // optional uint32 generation_time = 1; - bool has_generation_time() const; - private: - bool _internal_has_generation_time() const; - public: - void clear_generation_time(); - uint32_t generation_time() const; - void set_generation_time(uint32_t value); - private: - uint32_t _internal_generation_time() const; - void _internal_set_generation_time(uint32_t value); - public: - - // optional uint32 redeemable_balance = 2; - bool has_redeemable_balance() const; - private: - bool _internal_has_redeemable_balance() const; - public: - void clear_redeemable_balance(); - uint32_t redeemable_balance() const; - void set_redeemable_balance(uint32_t value); - private: - uint32_t _internal_redeemable_balance() const; - void _internal_set_redeemable_balance(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCstrike15_v2_ClientRedeemFreeReward) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > items_; - uint32_t generation_time_; - uint32_t redeemable_balance_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) */ { - public: - inline CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded() : CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(nullptr) {} - ~CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(const CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& from); - CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded&& from) noexcept - : CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded() { - *this = ::std::move(from); - } - - inline CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& operator=(const CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& operator=(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_default_instance_); - } - static constexpr int kIndexInFileMessages = - 64; - - friend void swap(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& a, CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& from) { - CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded"; - } - protected: - explicit CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kXpProgressDataFieldNumber = 1, - kAccountIdFieldNumber = 2, - kCurrentXpFieldNumber = 3, - kCurrentLevelFieldNumber = 4, - kUpgradedDefidxFieldNumber = 5, - kOperationPointsAwardedFieldNumber = 6, - kFreeRewardsFieldNumber = 7, - kXpTrailRemainingFieldNumber = 8, - kXpTrailXpNeededFieldNumber = 9, - kXpTrailLevelFieldNumber = 10, - }; - // repeated .XpProgressData xp_progress_data = 1; - int xp_progress_data_size() const; - private: - int _internal_xp_progress_data_size() const; - public: - void clear_xp_progress_data(); - ::XpProgressData* mutable_xp_progress_data(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData >* - mutable_xp_progress_data(); - private: - const ::XpProgressData& _internal_xp_progress_data(int index) const; - ::XpProgressData* _internal_add_xp_progress_data(); - public: - const ::XpProgressData& xp_progress_data(int index) const; - ::XpProgressData* add_xp_progress_data(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData >& - xp_progress_data() const; - - // optional uint32 account_id = 2; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 current_xp = 3; - bool has_current_xp() const; - private: - bool _internal_has_current_xp() const; - public: - void clear_current_xp(); - uint32_t current_xp() const; - void set_current_xp(uint32_t value); - private: - uint32_t _internal_current_xp() const; - void _internal_set_current_xp(uint32_t value); - public: - - // optional uint32 current_level = 4; - bool has_current_level() const; - private: - bool _internal_has_current_level() const; - public: - void clear_current_level(); - uint32_t current_level() const; - void set_current_level(uint32_t value); - private: - uint32_t _internal_current_level() const; - void _internal_set_current_level(uint32_t value); - public: - - // optional uint32 upgraded_defidx = 5; - bool has_upgraded_defidx() const; - private: - bool _internal_has_upgraded_defidx() const; - public: - void clear_upgraded_defidx(); - uint32_t upgraded_defidx() const; - void set_upgraded_defidx(uint32_t value); - private: - uint32_t _internal_upgraded_defidx() const; - void _internal_set_upgraded_defidx(uint32_t value); - public: - - // optional uint32 operation_points_awarded = 6; - bool has_operation_points_awarded() const; - private: - bool _internal_has_operation_points_awarded() const; - public: - void clear_operation_points_awarded(); - uint32_t operation_points_awarded() const; - void set_operation_points_awarded(uint32_t value); - private: - uint32_t _internal_operation_points_awarded() const; - void _internal_set_operation_points_awarded(uint32_t value); - public: - - // optional uint32 free_rewards = 7; - bool has_free_rewards() const; - private: - bool _internal_has_free_rewards() const; - public: - void clear_free_rewards(); - uint32_t free_rewards() const; - void set_free_rewards(uint32_t value); - private: - uint32_t _internal_free_rewards() const; - void _internal_set_free_rewards(uint32_t value); - public: - - // optional uint32 xp_trail_remaining = 8; - bool has_xp_trail_remaining() const; - private: - bool _internal_has_xp_trail_remaining() const; - public: - void clear_xp_trail_remaining(); - uint32_t xp_trail_remaining() const; - void set_xp_trail_remaining(uint32_t value); - private: - uint32_t _internal_xp_trail_remaining() const; - void _internal_set_xp_trail_remaining(uint32_t value); - public: - - // optional int32 xp_trail_xp_needed = 9; - bool has_xp_trail_xp_needed() const; - private: - bool _internal_has_xp_trail_xp_needed() const; - public: - void clear_xp_trail_xp_needed(); - int32_t xp_trail_xp_needed() const; - void set_xp_trail_xp_needed(int32_t value); - private: - int32_t _internal_xp_trail_xp_needed() const; - void _internal_set_xp_trail_xp_needed(int32_t value); - public: - - // optional uint32 xp_trail_level = 10; - bool has_xp_trail_level() const; - private: - bool _internal_has_xp_trail_level() const; - public: - void clear_xp_trail_level(); - uint32_t xp_trail_level() const; - void set_xp_trail_level(uint32_t value); - private: - uint32_t _internal_xp_trail_level() const; - void _internal_set_xp_trail_level(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData > xp_progress_data_; - uint32_t account_id_; - uint32_t current_xp_; - uint32_t current_level_; - uint32_t upgraded_defidx_; - uint32_t operation_points_awarded_; - uint32_t free_rewards_; - uint32_t xp_trail_remaining_; - int32_t xp_trail_xp_needed_; - uint32_t xp_trail_level_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientNetworkConfig : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientNetworkConfig) */ { - public: - inline CMsgGCCStrike15_v2_ClientNetworkConfig() : CMsgGCCStrike15_v2_ClientNetworkConfig(nullptr) {} - ~CMsgGCCStrike15_v2_ClientNetworkConfig() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientNetworkConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientNetworkConfig(const CMsgGCCStrike15_v2_ClientNetworkConfig& from); - CMsgGCCStrike15_v2_ClientNetworkConfig(CMsgGCCStrike15_v2_ClientNetworkConfig&& from) noexcept - : CMsgGCCStrike15_v2_ClientNetworkConfig() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientNetworkConfig& operator=(const CMsgGCCStrike15_v2_ClientNetworkConfig& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientNetworkConfig& operator=(CMsgGCCStrike15_v2_ClientNetworkConfig&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientNetworkConfig& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientNetworkConfig* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientNetworkConfig_default_instance_); - } - static constexpr int kIndexInFileMessages = - 65; - - friend void swap(CMsgGCCStrike15_v2_ClientNetworkConfig& a, CMsgGCCStrike15_v2_ClientNetworkConfig& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientNetworkConfig* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientNetworkConfig* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientNetworkConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientNetworkConfig& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientNetworkConfig& from) { - CMsgGCCStrike15_v2_ClientNetworkConfig::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientNetworkConfig* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientNetworkConfig"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientNetworkConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 1, - }; - // optional bytes data = 1; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientNetworkConfig) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_ClientDeepStats_DeepStatsRange : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) */ { - public: - inline CMsgGCCStrike15_ClientDeepStats_DeepStatsRange() : CMsgGCCStrike15_ClientDeepStats_DeepStatsRange(nullptr) {} - ~CMsgGCCStrike15_ClientDeepStats_DeepStatsRange() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_ClientDeepStats_DeepStatsRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_ClientDeepStats_DeepStatsRange(const CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& from); - CMsgGCCStrike15_ClientDeepStats_DeepStatsRange(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange&& from) noexcept - : CMsgGCCStrike15_ClientDeepStats_DeepStatsRange() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& operator=(const CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& operator=(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_ClientDeepStats_DeepStatsRange_default_instance_); - } - static constexpr int kIndexInFileMessages = - 66; - - friend void swap(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& a, CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& from) { - CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_ClientDeepStats.DeepStatsRange"; - } - protected: - explicit CMsgGCCStrike15_ClientDeepStats_DeepStatsRange(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBeginFieldNumber = 1, - kEndFieldNumber = 2, - kFrozenFieldNumber = 3, - }; - // optional uint32 begin = 1; - bool has_begin() const; - private: - bool _internal_has_begin() const; - public: - void clear_begin(); - uint32_t begin() const; - void set_begin(uint32_t value); - private: - uint32_t _internal_begin() const; - void _internal_set_begin(uint32_t value); - public: - - // optional uint32 end = 2; - bool has_end() const; - private: - bool _internal_has_end() const; - public: - void clear_end(); - uint32_t end() const; - void set_end(uint32_t value); - private: - uint32_t _internal_end() const; - void _internal_set_end(uint32_t value); - public: - - // optional bool frozen = 3; - bool has_frozen() const; - private: - bool _internal_has_frozen() const; - public: - void clear_frozen(); - bool frozen() const; - void set_frozen(bool value); - private: - bool _internal_frozen() const; - void _internal_set_frozen(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t begin_; - uint32_t end_; - bool frozen_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) */ { - public: - inline CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch() : CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch(nullptr) {} - ~CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch(const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& from); - CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch(CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch&& from) noexcept - : CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& operator=(const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& operator=(CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch_default_instance_); - } - static constexpr int kIndexInFileMessages = - 67; - - friend void swap(CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& a, CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& from) { - CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch"; - } - protected: - explicit CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEventsFieldNumber = 2, - kPlayerFieldNumber = 1, - }; - // repeated .DeepPlayerMatchEvent events = 2; - int events_size() const; - private: - int _internal_events_size() const; - public: - void clear_events(); - ::DeepPlayerMatchEvent* mutable_events(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DeepPlayerMatchEvent >* - mutable_events(); - private: - const ::DeepPlayerMatchEvent& _internal_events(int index) const; - ::DeepPlayerMatchEvent* _internal_add_events(); - public: - const ::DeepPlayerMatchEvent& events(int index) const; - ::DeepPlayerMatchEvent* add_events(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DeepPlayerMatchEvent >& - events() const; - - // optional .DeepPlayerStatsEntry player = 1; - bool has_player() const; - private: - bool _internal_has_player() const; - public: - void clear_player(); - const ::DeepPlayerStatsEntry& player() const; - PROTOBUF_NODISCARD ::DeepPlayerStatsEntry* release_player(); - ::DeepPlayerStatsEntry* mutable_player(); - void set_allocated_player(::DeepPlayerStatsEntry* player); - private: - const ::DeepPlayerStatsEntry& _internal_player() const; - ::DeepPlayerStatsEntry* _internal_mutable_player(); - public: - void unsafe_arena_set_allocated_player( - ::DeepPlayerStatsEntry* player); - ::DeepPlayerStatsEntry* unsafe_arena_release_player(); - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DeepPlayerMatchEvent > events_; - ::DeepPlayerStatsEntry* player_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_ClientDeepStats : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_ClientDeepStats) */ { - public: - inline CMsgGCCStrike15_ClientDeepStats() : CMsgGCCStrike15_ClientDeepStats(nullptr) {} - ~CMsgGCCStrike15_ClientDeepStats() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_ClientDeepStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_ClientDeepStats(const CMsgGCCStrike15_ClientDeepStats& from); - CMsgGCCStrike15_ClientDeepStats(CMsgGCCStrike15_ClientDeepStats&& from) noexcept - : CMsgGCCStrike15_ClientDeepStats() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_ClientDeepStats& operator=(const CMsgGCCStrike15_ClientDeepStats& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_ClientDeepStats& operator=(CMsgGCCStrike15_ClientDeepStats&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_ClientDeepStats& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_ClientDeepStats* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_ClientDeepStats_default_instance_); - } - static constexpr int kIndexInFileMessages = - 68; - - friend void swap(CMsgGCCStrike15_ClientDeepStats& a, CMsgGCCStrike15_ClientDeepStats& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_ClientDeepStats* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_ClientDeepStats* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_ClientDeepStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_ClientDeepStats& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_ClientDeepStats& from) { - CMsgGCCStrike15_ClientDeepStats::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_ClientDeepStats* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_ClientDeepStats"; - } - protected: - explicit CMsgGCCStrike15_ClientDeepStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgGCCStrike15_ClientDeepStats_DeepStatsRange DeepStatsRange; - typedef CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch DeepStatsMatch; - - // accessors ------------------------------------------------------- - - enum : int { - kMatchesFieldNumber = 3, - kRangeFieldNumber = 2, - kAccountIdFieldNumber = 1, - }; - // repeated .CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch matches = 3; - int matches_size() const; - private: - int _internal_matches_size() const; - public: - void clear_matches(); - ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* mutable_matches(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch >* - mutable_matches(); - private: - const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& _internal_matches(int index) const; - ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* _internal_add_matches(); - public: - const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& matches(int index) const; - ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* add_matches(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch >& - matches() const; - - // optional .CMsgGCCStrike15_ClientDeepStats.DeepStatsRange range = 2; - bool has_range() const; - private: - bool _internal_has_range() const; - public: - void clear_range(); - const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& range() const; - PROTOBUF_NODISCARD ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* release_range(); - ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* mutable_range(); - void set_allocated_range(::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* range); - private: - const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& _internal_range() const; - ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* _internal_mutable_range(); - public: - void unsafe_arena_set_allocated_range( - ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* range); - ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* unsafe_arena_release_range(); - - // optional uint32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_ClientDeepStats) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch > matches_; - ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* range_; - uint32_t account_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_WatchInfoUsers : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_WatchInfoUsers) */ { - public: - inline CMsgGCCStrike15_v2_WatchInfoUsers() : CMsgGCCStrike15_v2_WatchInfoUsers(nullptr) {} - ~CMsgGCCStrike15_v2_WatchInfoUsers() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_WatchInfoUsers(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_WatchInfoUsers(const CMsgGCCStrike15_v2_WatchInfoUsers& from); - CMsgGCCStrike15_v2_WatchInfoUsers(CMsgGCCStrike15_v2_WatchInfoUsers&& from) noexcept - : CMsgGCCStrike15_v2_WatchInfoUsers() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_WatchInfoUsers& operator=(const CMsgGCCStrike15_v2_WatchInfoUsers& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_WatchInfoUsers& operator=(CMsgGCCStrike15_v2_WatchInfoUsers&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_WatchInfoUsers& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_WatchInfoUsers* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_WatchInfoUsers_default_instance_); - } - static constexpr int kIndexInFileMessages = - 69; - - friend void swap(CMsgGCCStrike15_v2_WatchInfoUsers& a, CMsgGCCStrike15_v2_WatchInfoUsers& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_WatchInfoUsers* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_WatchInfoUsers* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_WatchInfoUsers* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_WatchInfoUsers& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_WatchInfoUsers& from) { - CMsgGCCStrike15_v2_WatchInfoUsers::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_WatchInfoUsers* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_WatchInfoUsers"; - } - protected: - explicit CMsgGCCStrike15_v2_WatchInfoUsers(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountIdsFieldNumber = 2, - kWatchableMatchInfosFieldNumber = 3, - kRequestIdFieldNumber = 1, - kExtendedTimeoutFieldNumber = 5, - }; - // repeated uint32 account_ids = 2; - int account_ids_size() const; - private: - int _internal_account_ids_size() const; - public: - void clear_account_ids(); - private: - uint32_t _internal_account_ids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_account_ids() const; - void _internal_add_account_ids(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_account_ids(); - public: - uint32_t account_ids(int index) const; - void set_account_ids(int index, uint32_t value); - void add_account_ids(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - account_ids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_account_ids(); - - // repeated .WatchableMatchInfo watchable_match_infos = 3; - int watchable_match_infos_size() const; - private: - int _internal_watchable_match_infos_size() const; - public: - void clear_watchable_match_infos(); - ::WatchableMatchInfo* mutable_watchable_match_infos(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::WatchableMatchInfo >* - mutable_watchable_match_infos(); - private: - const ::WatchableMatchInfo& _internal_watchable_match_infos(int index) const; - ::WatchableMatchInfo* _internal_add_watchable_match_infos(); - public: - const ::WatchableMatchInfo& watchable_match_infos(int index) const; - ::WatchableMatchInfo* add_watchable_match_infos(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::WatchableMatchInfo >& - watchable_match_infos() const; - - // optional uint32 request_id = 1; - bool has_request_id() const; - private: - bool _internal_has_request_id() const; - public: - void clear_request_id(); - uint32_t request_id() const; - void set_request_id(uint32_t value); - private: - uint32_t _internal_request_id() const; - void _internal_set_request_id(uint32_t value); - public: - - // optional uint32 extended_timeout = 5; - bool has_extended_timeout() const; - private: - bool _internal_has_extended_timeout() const; - public: - void clear_extended_timeout(); - uint32_t extended_timeout() const; - void set_extended_timeout(uint32_t value); - private: - uint32_t _internal_extended_timeout() const; - void _internal_set_extended_timeout(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_WatchInfoUsers) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > account_ids_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::WatchableMatchInfo > watchable_match_infos_; - uint32_t request_id_; - uint32_t extended_timeout_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientRequestPlayersProfile : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) */ { - public: - inline CMsgGCCStrike15_v2_ClientRequestPlayersProfile() : CMsgGCCStrike15_v2_ClientRequestPlayersProfile(nullptr) {} - ~CMsgGCCStrike15_v2_ClientRequestPlayersProfile() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestPlayersProfile(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientRequestPlayersProfile(const CMsgGCCStrike15_v2_ClientRequestPlayersProfile& from); - CMsgGCCStrike15_v2_ClientRequestPlayersProfile(CMsgGCCStrike15_v2_ClientRequestPlayersProfile&& from) noexcept - : CMsgGCCStrike15_v2_ClientRequestPlayersProfile() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientRequestPlayersProfile& operator=(const CMsgGCCStrike15_v2_ClientRequestPlayersProfile& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientRequestPlayersProfile& operator=(CMsgGCCStrike15_v2_ClientRequestPlayersProfile&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientRequestPlayersProfile& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientRequestPlayersProfile* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientRequestPlayersProfile_default_instance_); - } - static constexpr int kIndexInFileMessages = - 70; - - friend void swap(CMsgGCCStrike15_v2_ClientRequestPlayersProfile& a, CMsgGCCStrike15_v2_ClientRequestPlayersProfile& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientRequestPlayersProfile* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientRequestPlayersProfile* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientRequestPlayersProfile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientRequestPlayersProfile& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientRequestPlayersProfile& from) { - CMsgGCCStrike15_v2_ClientRequestPlayersProfile::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientRequestPlayersProfile* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientRequestPlayersProfile"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientRequestPlayersProfile(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountIdsDeprecatedFieldNumber = 2, - kRequestIdDeprecatedFieldNumber = 1, - kAccountIdFieldNumber = 3, - kRequestLevelFieldNumber = 4, - }; - // repeated uint32 account_ids__deprecated = 2; - int account_ids__deprecated_size() const; - private: - int _internal_account_ids__deprecated_size() const; - public: - void clear_account_ids__deprecated(); - private: - uint32_t _internal_account_ids__deprecated(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_account_ids__deprecated() const; - void _internal_add_account_ids__deprecated(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_account_ids__deprecated(); - public: - uint32_t account_ids__deprecated(int index) const; - void set_account_ids__deprecated(int index, uint32_t value); - void add_account_ids__deprecated(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - account_ids__deprecated() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_account_ids__deprecated(); - - // optional uint32 request_id__deprecated = 1; - bool has_request_id__deprecated() const; - private: - bool _internal_has_request_id__deprecated() const; - public: - void clear_request_id__deprecated(); - uint32_t request_id__deprecated() const; - void set_request_id__deprecated(uint32_t value); - private: - uint32_t _internal_request_id__deprecated() const; - void _internal_set_request_id__deprecated(uint32_t value); - public: - - // optional uint32 account_id = 3; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 request_level = 4; - bool has_request_level() const; - private: - bool _internal_has_request_level() const; - public: - void clear_request_level(); - uint32_t request_level() const; - void set_request_level(uint32_t value); - private: - uint32_t _internal_request_level() const; - void _internal_set_request_level(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientRequestPlayersProfile) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > account_ids__deprecated_; - uint32_t request_id__deprecated_; - uint32_t account_id_; - uint32_t request_level_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_PlayersProfile : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_PlayersProfile) */ { - public: - inline CMsgGCCStrike15_v2_PlayersProfile() : CMsgGCCStrike15_v2_PlayersProfile(nullptr) {} - ~CMsgGCCStrike15_v2_PlayersProfile() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayersProfile(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_PlayersProfile(const CMsgGCCStrike15_v2_PlayersProfile& from); - CMsgGCCStrike15_v2_PlayersProfile(CMsgGCCStrike15_v2_PlayersProfile&& from) noexcept - : CMsgGCCStrike15_v2_PlayersProfile() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_PlayersProfile& operator=(const CMsgGCCStrike15_v2_PlayersProfile& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_PlayersProfile& operator=(CMsgGCCStrike15_v2_PlayersProfile&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_PlayersProfile& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_PlayersProfile* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_PlayersProfile_default_instance_); - } - static constexpr int kIndexInFileMessages = - 71; - - friend void swap(CMsgGCCStrike15_v2_PlayersProfile& a, CMsgGCCStrike15_v2_PlayersProfile& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_PlayersProfile* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_PlayersProfile* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_PlayersProfile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_PlayersProfile& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_PlayersProfile& from) { - CMsgGCCStrike15_v2_PlayersProfile::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_PlayersProfile* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_PlayersProfile"; - } - protected: - explicit CMsgGCCStrike15_v2_PlayersProfile(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountProfilesFieldNumber = 2, - kRequestIdFieldNumber = 1, - }; - // repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientHello account_profiles = 2; - int account_profiles_size() const; - private: - int _internal_account_profiles_size() const; - public: - void clear_account_profiles(); - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* mutable_account_profiles(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello >* - mutable_account_profiles(); - private: - const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& _internal_account_profiles(int index) const; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* _internal_add_account_profiles(); - public: - const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& account_profiles(int index) const; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* add_account_profiles(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello >& - account_profiles() const; - - // optional uint32 request_id = 1; - bool has_request_id() const; - private: - bool _internal_has_request_id() const; - public: - void clear_request_id(); - uint32_t request_id() const; - void set_request_id(uint32_t value); - private: - uint32_t _internal_request_id() const; - void _internal_set_request_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_PlayersProfile) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello > account_profiles_; - uint32_t request_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) */ { - public: - inline CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek() : CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek(nullptr) {} - ~CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& from); - CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek&& from) noexcept - : CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& operator=(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& operator=(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek_default_instance_); - } - static constexpr int kIndexInFileMessages = - 72; - - friend void swap(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& a, CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& from) { - CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek"; - } - protected: - explicit CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kWeekIdFieldNumber = 1, - kRankIdFieldNumber = 2, - kMatchesPlayedFieldNumber = 3, - }; - // optional uint64 week_id = 1; - bool has_week_id() const; - private: - bool _internal_has_week_id() const; - public: - void clear_week_id(); - uint64_t week_id() const; - void set_week_id(uint64_t value); - private: - uint64_t _internal_week_id() const; - void _internal_set_week_id(uint64_t value); - public: - - // optional uint32 rank_id = 2; - bool has_rank_id() const; - private: - bool _internal_has_rank_id() const; - public: - void clear_rank_id(); - uint32_t rank_id() const; - void set_rank_id(uint32_t value); - private: - uint32_t _internal_rank_id() const; - void _internal_set_rank_id(uint32_t value); - public: - - // optional uint32 matches_played = 3; - bool has_matches_played() const; - private: - bool _internal_has_matches_played() const; - public: - void clear_matches_played(); - uint32_t matches_played() const; - void set_matches_played(uint32_t value); - private: - uint32_t _internal_matches_played() const; - void _internal_set_matches_played(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t week_id_; - uint32_t rank_id_; - uint32_t matches_played_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) */ { - public: - inline CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap() : CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap(nullptr) {} - ~CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& from); - CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap&& from) noexcept - : CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& operator=(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& operator=(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap_default_instance_); - } - static constexpr int kIndexInFileMessages = - 73; - - friend void swap(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& a, CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& from) { - CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap"; - } - protected: - explicit CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMapIdFieldNumber = 1, - kWinsFieldNumber = 2, - kTiesFieldNumber = 3, - kLossesFieldNumber = 4, - kRoundsFieldNumber = 5, - kKillsFieldNumber = 6, - kHeadshotsFieldNumber = 7, - kAssistsFieldNumber = 8, - kDeathsFieldNumber = 9, - kMvpsFieldNumber = 10, - kRounds3KFieldNumber = 11, - kRounds4KFieldNumber = 12, - kRounds5KFieldNumber = 13, - }; - // optional uint32 map_id = 1; - bool has_map_id() const; - private: - bool _internal_has_map_id() const; - public: - void clear_map_id(); - uint32_t map_id() const; - void set_map_id(uint32_t value); - private: - uint32_t _internal_map_id() const; - void _internal_set_map_id(uint32_t value); - public: - - // optional uint32 wins = 2; - bool has_wins() const; - private: - bool _internal_has_wins() const; - public: - void clear_wins(); - uint32_t wins() const; - void set_wins(uint32_t value); - private: - uint32_t _internal_wins() const; - void _internal_set_wins(uint32_t value); - public: - - // optional uint32 ties = 3; - bool has_ties() const; - private: - bool _internal_has_ties() const; - public: - void clear_ties(); - uint32_t ties() const; - void set_ties(uint32_t value); - private: - uint32_t _internal_ties() const; - void _internal_set_ties(uint32_t value); - public: - - // optional uint32 losses = 4; - bool has_losses() const; - private: - bool _internal_has_losses() const; - public: - void clear_losses(); - uint32_t losses() const; - void set_losses(uint32_t value); - private: - uint32_t _internal_losses() const; - void _internal_set_losses(uint32_t value); - public: - - // optional uint32 rounds = 5; - bool has_rounds() const; - private: - bool _internal_has_rounds() const; - public: - void clear_rounds(); - uint32_t rounds() const; - void set_rounds(uint32_t value); - private: - uint32_t _internal_rounds() const; - void _internal_set_rounds(uint32_t value); - public: - - // optional uint32 kills = 6; - bool has_kills() const; - private: - bool _internal_has_kills() const; - public: - void clear_kills(); - uint32_t kills() const; - void set_kills(uint32_t value); - private: - uint32_t _internal_kills() const; - void _internal_set_kills(uint32_t value); - public: - - // optional uint32 headshots = 7; - bool has_headshots() const; - private: - bool _internal_has_headshots() const; - public: - void clear_headshots(); - uint32_t headshots() const; - void set_headshots(uint32_t value); - private: - uint32_t _internal_headshots() const; - void _internal_set_headshots(uint32_t value); - public: - - // optional uint32 assists = 8; - bool has_assists() const; - private: - bool _internal_has_assists() const; - public: - void clear_assists(); - uint32_t assists() const; - void set_assists(uint32_t value); - private: - uint32_t _internal_assists() const; - void _internal_set_assists(uint32_t value); - public: - - // optional uint32 deaths = 9; - bool has_deaths() const; - private: - bool _internal_has_deaths() const; - public: - void clear_deaths(); - uint32_t deaths() const; - void set_deaths(uint32_t value); - private: - uint32_t _internal_deaths() const; - void _internal_set_deaths(uint32_t value); - public: - - // optional uint32 mvps = 10; - bool has_mvps() const; - private: - bool _internal_has_mvps() const; - public: - void clear_mvps(); - uint32_t mvps() const; - void set_mvps(uint32_t value); - private: - uint32_t _internal_mvps() const; - void _internal_set_mvps(uint32_t value); - public: - - // optional uint32 rounds_3k = 11; - bool has_rounds_3k() const; - private: - bool _internal_has_rounds_3k() const; - public: - void clear_rounds_3k(); - uint32_t rounds_3k() const; - void set_rounds_3k(uint32_t value); - private: - uint32_t _internal_rounds_3k() const; - void _internal_set_rounds_3k(uint32_t value); - public: - - // optional uint32 rounds_4k = 12; - bool has_rounds_4k() const; - private: - bool _internal_has_rounds_4k() const; - public: - void clear_rounds_4k(); - uint32_t rounds_4k() const; - void set_rounds_4k(uint32_t value); - private: - uint32_t _internal_rounds_4k() const; - void _internal_set_rounds_4k(uint32_t value); - public: - - // optional uint32 rounds_5k = 13; - bool has_rounds_5k() const; - private: - bool _internal_has_rounds_5k() const; - public: - void clear_rounds_5k(); - uint32_t rounds_5k() const; - void set_rounds_5k(uint32_t value); - private: - uint32_t _internal_rounds_5k() const; - void _internal_set_rounds_5k(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t map_id_; - uint32_t wins_; - uint32_t ties_; - uint32_t losses_; - uint32_t rounds_; - uint32_t kills_; - uint32_t headshots_; - uint32_t assists_; - uint32_t deaths_; - uint32_t mvps_; - uint32_t rounds_3k_; - uint32_t rounds_4k_; - uint32_t rounds_5k_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_PremierSeasonSummary : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_PremierSeasonSummary) */ { - public: - inline CMsgGCCStrike15_v2_PremierSeasonSummary() : CMsgGCCStrike15_v2_PremierSeasonSummary(nullptr) {} - ~CMsgGCCStrike15_v2_PremierSeasonSummary() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PremierSeasonSummary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_PremierSeasonSummary(const CMsgGCCStrike15_v2_PremierSeasonSummary& from); - CMsgGCCStrike15_v2_PremierSeasonSummary(CMsgGCCStrike15_v2_PremierSeasonSummary&& from) noexcept - : CMsgGCCStrike15_v2_PremierSeasonSummary() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_PremierSeasonSummary& operator=(const CMsgGCCStrike15_v2_PremierSeasonSummary& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_PremierSeasonSummary& operator=(CMsgGCCStrike15_v2_PremierSeasonSummary&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_PremierSeasonSummary& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_PremierSeasonSummary* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_PremierSeasonSummary_default_instance_); - } - static constexpr int kIndexInFileMessages = - 74; - - friend void swap(CMsgGCCStrike15_v2_PremierSeasonSummary& a, CMsgGCCStrike15_v2_PremierSeasonSummary& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_PremierSeasonSummary* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_PremierSeasonSummary* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_PremierSeasonSummary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_PremierSeasonSummary& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_PremierSeasonSummary& from) { - CMsgGCCStrike15_v2_PremierSeasonSummary::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_PremierSeasonSummary* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_PremierSeasonSummary"; - } - protected: - explicit CMsgGCCStrike15_v2_PremierSeasonSummary(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek DataPerWeek; - typedef CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap DataPerMap; - - // accessors ------------------------------------------------------- - - enum : int { - kDataPerWeekFieldNumber = 3, - kDataPerMapFieldNumber = 4, - kAccountIdFieldNumber = 1, - kSeasonIdFieldNumber = 2, - }; - // repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek data_per_week = 3; - int data_per_week_size() const; - private: - int _internal_data_per_week_size() const; - public: - void clear_data_per_week(); - ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* mutable_data_per_week(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek >* - mutable_data_per_week(); - private: - const ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& _internal_data_per_week(int index) const; - ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* _internal_add_data_per_week(); - public: - const ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& data_per_week(int index) const; - ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* add_data_per_week(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek >& - data_per_week() const; - - // repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap data_per_map = 4; - int data_per_map_size() const; - private: - int _internal_data_per_map_size() const; - public: - void clear_data_per_map(); - ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* mutable_data_per_map(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap >* - mutable_data_per_map(); - private: - const ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& _internal_data_per_map(int index) const; - ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* _internal_add_data_per_map(); - public: - const ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& data_per_map(int index) const; - ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* add_data_per_map(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap >& - data_per_map() const; - - // optional uint32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 season_id = 2; - bool has_season_id() const; - private: - bool _internal_has_season_id() const; - public: - void clear_season_id(); - uint32_t season_id() const; - void set_season_id(uint32_t value); - private: - uint32_t _internal_season_id() const; - void _internal_set_season_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_PremierSeasonSummary) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek > data_per_week_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap > data_per_map_; - uint32_t account_id_; - uint32_t season_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) */ { - public: - inline CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate() : CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate(nullptr) {} - ~CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate(const CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& from); - CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate&& from) noexcept - : CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& operator=(const CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& operator=(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 75; - - friend void swap(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& a, CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate& from) { - CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate"; - } - protected: - explicit CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCaseidFieldNumber = 1, - kSuspectidFieldNumber = 3, - kFractionidFieldNumber = 4, - kRptAimbotFieldNumber = 5, - kRptWallhackFieldNumber = 6, - kRptSpeedhackFieldNumber = 7, - kRptTeamharmFieldNumber = 8, - kReasonFieldNumber = 9, - }; - // optional uint64 caseid = 1; - bool has_caseid() const; - private: - bool _internal_has_caseid() const; - public: - void clear_caseid(); - uint64_t caseid() const; - void set_caseid(uint64_t value); - private: - uint64_t _internal_caseid() const; - void _internal_set_caseid(uint64_t value); - public: - - // optional uint32 suspectid = 3; - bool has_suspectid() const; - private: - bool _internal_has_suspectid() const; - public: - void clear_suspectid(); - uint32_t suspectid() const; - void set_suspectid(uint32_t value); - private: - uint32_t _internal_suspectid() const; - void _internal_set_suspectid(uint32_t value); - public: - - // optional uint32 fractionid = 4; - bool has_fractionid() const; - private: - bool _internal_has_fractionid() const; - public: - void clear_fractionid(); - uint32_t fractionid() const; - void set_fractionid(uint32_t value); - private: - uint32_t _internal_fractionid() const; - void _internal_set_fractionid(uint32_t value); - public: - - // optional uint32 rpt_aimbot = 5; - bool has_rpt_aimbot() const; - private: - bool _internal_has_rpt_aimbot() const; - public: - void clear_rpt_aimbot(); - uint32_t rpt_aimbot() const; - void set_rpt_aimbot(uint32_t value); - private: - uint32_t _internal_rpt_aimbot() const; - void _internal_set_rpt_aimbot(uint32_t value); - public: - - // optional uint32 rpt_wallhack = 6; - bool has_rpt_wallhack() const; - private: - bool _internal_has_rpt_wallhack() const; - public: - void clear_rpt_wallhack(); - uint32_t rpt_wallhack() const; - void set_rpt_wallhack(uint32_t value); - private: - uint32_t _internal_rpt_wallhack() const; - void _internal_set_rpt_wallhack(uint32_t value); - public: - - // optional uint32 rpt_speedhack = 7; - bool has_rpt_speedhack() const; - private: - bool _internal_has_rpt_speedhack() const; - public: - void clear_rpt_speedhack(); - uint32_t rpt_speedhack() const; - void set_rpt_speedhack(uint32_t value); - private: - uint32_t _internal_rpt_speedhack() const; - void _internal_set_rpt_speedhack(uint32_t value); - public: - - // optional uint32 rpt_teamharm = 8; - bool has_rpt_teamharm() const; - private: - bool _internal_has_rpt_teamharm() const; - public: - void clear_rpt_teamharm(); - uint32_t rpt_teamharm() const; - void set_rpt_teamharm(uint32_t value); - private: - uint32_t _internal_rpt_teamharm() const; - void _internal_set_rpt_teamharm(uint32_t value); - public: - - // optional uint32 reason = 9; - bool has_reason() const; - private: - bool _internal_has_reason() const; - public: - void clear_reason(); - uint32_t reason() const; - void set_reason(uint32_t value); - private: - uint32_t _internal_reason() const; - void _internal_set_reason(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t caseid_; - uint32_t suspectid_; - uint32_t fractionid_; - uint32_t rpt_aimbot_; - uint32_t rpt_wallhack_; - uint32_t rpt_speedhack_; - uint32_t rpt_teamharm_; - uint32_t reason_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) */ { - public: - inline CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment() : CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment(nullptr) {} - ~CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment(const CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& from); - CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment&& from) noexcept - : CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& operator=(const CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& operator=(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment_default_instance_); - } - static constexpr int kIndexInFileMessages = - 76; - - friend void swap(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& a, CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment& from) { - CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment"; - } - protected: - explicit CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCaseurlFieldNumber = 2, - kCaseidFieldNumber = 1, - kVerdictFieldNumber = 3, - kTimestampFieldNumber = 4, - kThrottlesecondsFieldNumber = 5, - kSuspectidFieldNumber = 6, - kFractionidFieldNumber = 7, - kNumroundsFieldNumber = 8, - kFractionroundsFieldNumber = 9, - kStreakconvictionsFieldNumber = 10, - kReasonFieldNumber = 11, - }; - // optional string caseurl = 2; - bool has_caseurl() const; - private: - bool _internal_has_caseurl() const; - public: - void clear_caseurl(); - const std::string& caseurl() const; - template - void set_caseurl(ArgT0&& arg0, ArgT... args); - std::string* mutable_caseurl(); - PROTOBUF_NODISCARD std::string* release_caseurl(); - void set_allocated_caseurl(std::string* caseurl); - private: - const std::string& _internal_caseurl() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_caseurl(const std::string& value); - std::string* _internal_mutable_caseurl(); - public: - - // optional uint64 caseid = 1; - bool has_caseid() const; - private: - bool _internal_has_caseid() const; - public: - void clear_caseid(); - uint64_t caseid() const; - void set_caseid(uint64_t value); - private: - uint64_t _internal_caseid() const; - void _internal_set_caseid(uint64_t value); - public: - - // optional uint32 verdict = 3; - bool has_verdict() const; - private: - bool _internal_has_verdict() const; - public: - void clear_verdict(); - uint32_t verdict() const; - void set_verdict(uint32_t value); - private: - uint32_t _internal_verdict() const; - void _internal_set_verdict(uint32_t value); - public: - - // optional uint32 timestamp = 4; - bool has_timestamp() const; - private: - bool _internal_has_timestamp() const; - public: - void clear_timestamp(); - uint32_t timestamp() const; - void set_timestamp(uint32_t value); - private: - uint32_t _internal_timestamp() const; - void _internal_set_timestamp(uint32_t value); - public: - - // optional uint32 throttleseconds = 5; - bool has_throttleseconds() const; - private: - bool _internal_has_throttleseconds() const; - public: - void clear_throttleseconds(); - uint32_t throttleseconds() const; - void set_throttleseconds(uint32_t value); - private: - uint32_t _internal_throttleseconds() const; - void _internal_set_throttleseconds(uint32_t value); - public: - - // optional uint32 suspectid = 6; - bool has_suspectid() const; - private: - bool _internal_has_suspectid() const; - public: - void clear_suspectid(); - uint32_t suspectid() const; - void set_suspectid(uint32_t value); - private: - uint32_t _internal_suspectid() const; - void _internal_set_suspectid(uint32_t value); - public: - - // optional uint32 fractionid = 7; - bool has_fractionid() const; - private: - bool _internal_has_fractionid() const; - public: - void clear_fractionid(); - uint32_t fractionid() const; - void set_fractionid(uint32_t value); - private: - uint32_t _internal_fractionid() const; - void _internal_set_fractionid(uint32_t value); - public: - - // optional uint32 numrounds = 8; - bool has_numrounds() const; - private: - bool _internal_has_numrounds() const; - public: - void clear_numrounds(); - uint32_t numrounds() const; - void set_numrounds(uint32_t value); - private: - uint32_t _internal_numrounds() const; - void _internal_set_numrounds(uint32_t value); - public: - - // optional uint32 fractionrounds = 9; - bool has_fractionrounds() const; - private: - bool _internal_has_fractionrounds() const; - public: - void clear_fractionrounds(); - uint32_t fractionrounds() const; - void set_fractionrounds(uint32_t value); - private: - uint32_t _internal_fractionrounds() const; - void _internal_set_fractionrounds(uint32_t value); - public: - - // optional int32 streakconvictions = 10; - bool has_streakconvictions() const; - private: - bool _internal_has_streakconvictions() const; - public: - void clear_streakconvictions(); - int32_t streakconvictions() const; - void set_streakconvictions(int32_t value); - private: - int32_t _internal_streakconvictions() const; - void _internal_set_streakconvictions(int32_t value); - public: - - // optional uint32 reason = 11; - bool has_reason() const; - private: - bool _internal_has_reason() const; - public: - void clear_reason(); - uint32_t reason() const; - void set_reason(uint32_t value); - private: - uint32_t _internal_reason() const; - void _internal_set_reason(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr caseurl_; - uint64_t caseid_; - uint32_t verdict_; - uint32_t timestamp_; - uint32_t throttleseconds_; - uint32_t suspectid_; - uint32_t fractionid_; - uint32_t numrounds_; - uint32_t fractionrounds_; - int32_t streakconvictions_; - uint32_t reason_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) */ { - public: - inline CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus() : CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus(nullptr) {} - ~CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus(const CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& from); - CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus&& from) noexcept - : CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& operator=(const CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& operator=(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus_default_instance_); - } - static constexpr int kIndexInFileMessages = - 77; - - friend void swap(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& a, CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus& from) { - CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus"; - } - protected: - explicit CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCaseidFieldNumber = 1, - kStatusidFieldNumber = 2, - }; - // optional uint64 caseid = 1; - bool has_caseid() const; - private: - bool _internal_has_caseid() const; - public: - void clear_caseid(); - uint64_t caseid() const; - void set_caseid(uint64_t value); - private: - uint64_t _internal_caseid() const; - void _internal_set_caseid(uint64_t value); - public: - - // optional uint32 statusid = 2; - bool has_statusid() const; - private: - bool _internal_has_statusid() const; - public: - void clear_statusid(); - uint32_t statusid() const; - void set_statusid(uint32_t value); - private: - uint32_t _internal_statusid() const; - void _internal_set_statusid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t caseid_; - uint32_t statusid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CClientHeaderOverwatchEvidence : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CClientHeaderOverwatchEvidence) */ { - public: - inline CClientHeaderOverwatchEvidence() : CClientHeaderOverwatchEvidence(nullptr) {} - ~CClientHeaderOverwatchEvidence() override; - explicit PROTOBUF_CONSTEXPR CClientHeaderOverwatchEvidence(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CClientHeaderOverwatchEvidence(const CClientHeaderOverwatchEvidence& from); - CClientHeaderOverwatchEvidence(CClientHeaderOverwatchEvidence&& from) noexcept - : CClientHeaderOverwatchEvidence() { - *this = ::std::move(from); - } - - inline CClientHeaderOverwatchEvidence& operator=(const CClientHeaderOverwatchEvidence& from) { - CopyFrom(from); - return *this; - } - inline CClientHeaderOverwatchEvidence& operator=(CClientHeaderOverwatchEvidence&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CClientHeaderOverwatchEvidence& default_instance() { - return *internal_default_instance(); - } - static inline const CClientHeaderOverwatchEvidence* internal_default_instance() { - return reinterpret_cast( - &_CClientHeaderOverwatchEvidence_default_instance_); - } - static constexpr int kIndexInFileMessages = - 78; - - friend void swap(CClientHeaderOverwatchEvidence& a, CClientHeaderOverwatchEvidence& b) { - a.Swap(&b); - } - inline void Swap(CClientHeaderOverwatchEvidence* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CClientHeaderOverwatchEvidence* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CClientHeaderOverwatchEvidence* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CClientHeaderOverwatchEvidence& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CClientHeaderOverwatchEvidence& from) { - CClientHeaderOverwatchEvidence::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CClientHeaderOverwatchEvidence* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CClientHeaderOverwatchEvidence"; - } - protected: - explicit CClientHeaderOverwatchEvidence(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCaseidFieldNumber = 2, - kAccountidFieldNumber = 1, - }; - // optional uint64 caseid = 2; - bool has_caseid() const; - private: - bool _internal_has_caseid() const; - public: - void clear_caseid(); - uint64_t caseid() const; - void set_caseid(uint64_t value); - private: - uint64_t _internal_caseid() const; - void _internal_set_caseid(uint64_t value); - public: - - // optional uint32 accountid = 1; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CClientHeaderOverwatchEvidence) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t caseid_; - uint32_t accountid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_GC2ClientTextMsg : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GC2ClientTextMsg) */ { - public: - inline CMsgGCCStrike15_v2_GC2ClientTextMsg() : CMsgGCCStrike15_v2_GC2ClientTextMsg(nullptr) {} - ~CMsgGCCStrike15_v2_GC2ClientTextMsg() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientTextMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_GC2ClientTextMsg(const CMsgGCCStrike15_v2_GC2ClientTextMsg& from); - CMsgGCCStrike15_v2_GC2ClientTextMsg(CMsgGCCStrike15_v2_GC2ClientTextMsg&& from) noexcept - : CMsgGCCStrike15_v2_GC2ClientTextMsg() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_GC2ClientTextMsg& operator=(const CMsgGCCStrike15_v2_GC2ClientTextMsg& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_GC2ClientTextMsg& operator=(CMsgGCCStrike15_v2_GC2ClientTextMsg&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_GC2ClientTextMsg& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_GC2ClientTextMsg* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_GC2ClientTextMsg_default_instance_); - } - static constexpr int kIndexInFileMessages = - 79; - - friend void swap(CMsgGCCStrike15_v2_GC2ClientTextMsg& a, CMsgGCCStrike15_v2_GC2ClientTextMsg& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_GC2ClientTextMsg* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_GC2ClientTextMsg* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_GC2ClientTextMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_GC2ClientTextMsg& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_GC2ClientTextMsg& from) { - CMsgGCCStrike15_v2_GC2ClientTextMsg::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_GC2ClientTextMsg* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_GC2ClientTextMsg"; - } - protected: - explicit CMsgGCCStrike15_v2_GC2ClientTextMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPayloadFieldNumber = 3, - kIdFieldNumber = 1, - kTypeFieldNumber = 2, - }; - // optional bytes payload = 3; - bool has_payload() const; - private: - bool _internal_has_payload() const; - public: - void clear_payload(); - const std::string& payload() const; - template - void set_payload(ArgT0&& arg0, ArgT... args); - std::string* mutable_payload(); - PROTOBUF_NODISCARD std::string* release_payload(); - void set_allocated_payload(std::string* payload); - private: - const std::string& _internal_payload() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_payload(const std::string& value); - std::string* _internal_mutable_payload(); - public: - - // optional uint32 id = 1; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - uint32_t id() const; - void set_id(uint32_t value); - private: - uint32_t _internal_id() const; - void _internal_set_id(uint32_t value); - public: - - // optional uint32 type = 2; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - uint32_t type() const; - void set_type(uint32_t value); - private: - uint32_t _internal_type() const; - void _internal_set_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GC2ClientTextMsg) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr payload_; - uint32_t id_; - uint32_t type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Client2GCTextMsg : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Client2GCTextMsg) */ { - public: - inline CMsgGCCStrike15_v2_Client2GCTextMsg() : CMsgGCCStrike15_v2_Client2GCTextMsg(nullptr) {} - ~CMsgGCCStrike15_v2_Client2GCTextMsg() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCTextMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Client2GCTextMsg(const CMsgGCCStrike15_v2_Client2GCTextMsg& from); - CMsgGCCStrike15_v2_Client2GCTextMsg(CMsgGCCStrike15_v2_Client2GCTextMsg&& from) noexcept - : CMsgGCCStrike15_v2_Client2GCTextMsg() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Client2GCTextMsg& operator=(const CMsgGCCStrike15_v2_Client2GCTextMsg& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Client2GCTextMsg& operator=(CMsgGCCStrike15_v2_Client2GCTextMsg&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Client2GCTextMsg& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Client2GCTextMsg* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Client2GCTextMsg_default_instance_); - } - static constexpr int kIndexInFileMessages = - 80; - - friend void swap(CMsgGCCStrike15_v2_Client2GCTextMsg& a, CMsgGCCStrike15_v2_Client2GCTextMsg& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Client2GCTextMsg* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Client2GCTextMsg* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Client2GCTextMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_Client2GCTextMsg& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_Client2GCTextMsg& from) { - CMsgGCCStrike15_v2_Client2GCTextMsg::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_Client2GCTextMsg* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Client2GCTextMsg"; - } - protected: - explicit CMsgGCCStrike15_v2_Client2GCTextMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kArgsFieldNumber = 2, - kIdFieldNumber = 1, - }; - // repeated bytes args = 2; - int args_size() const; - private: - int _internal_args_size() const; - public: - void clear_args(); - const std::string& args(int index) const; - std::string* mutable_args(int index); - void set_args(int index, const std::string& value); - void set_args(int index, std::string&& value); - void set_args(int index, const char* value); - void set_args(int index, const void* value, size_t size); - std::string* add_args(); - void add_args(const std::string& value); - void add_args(std::string&& value); - void add_args(const char* value); - void add_args(const void* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& args() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_args(); - private: - const std::string& _internal_args(int index) const; - std::string* _internal_add_args(); - public: - - // optional uint32 id = 1; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - uint32_t id() const; - void set_id(uint32_t value); - private: - uint32_t _internal_id() const; - void _internal_set_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Client2GCTextMsg) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField args_; - uint32_t id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchEndRunRewardDrops : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) */ { - public: - inline CMsgGCCStrike15_v2_MatchEndRunRewardDrops() : CMsgGCCStrike15_v2_MatchEndRunRewardDrops(nullptr) {} - ~CMsgGCCStrike15_v2_MatchEndRunRewardDrops() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchEndRunRewardDrops(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchEndRunRewardDrops(const CMsgGCCStrike15_v2_MatchEndRunRewardDrops& from); - CMsgGCCStrike15_v2_MatchEndRunRewardDrops(CMsgGCCStrike15_v2_MatchEndRunRewardDrops&& from) noexcept - : CMsgGCCStrike15_v2_MatchEndRunRewardDrops() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchEndRunRewardDrops& operator=(const CMsgGCCStrike15_v2_MatchEndRunRewardDrops& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchEndRunRewardDrops& operator=(CMsgGCCStrike15_v2_MatchEndRunRewardDrops&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchEndRunRewardDrops& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchEndRunRewardDrops* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchEndRunRewardDrops_default_instance_); - } - static constexpr int kIndexInFileMessages = - 81; - - friend void swap(CMsgGCCStrike15_v2_MatchEndRunRewardDrops& a, CMsgGCCStrike15_v2_MatchEndRunRewardDrops& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchEndRunRewardDrops* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchEndRunRewardDrops* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchEndRunRewardDrops* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchEndRunRewardDrops& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchEndRunRewardDrops& from) { - CMsgGCCStrike15_v2_MatchEndRunRewardDrops::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchEndRunRewardDrops* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchEndRunRewardDrops"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchEndRunRewardDrops(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kServerinfoFieldNumber = 3, - kMatchEndQuestDataFieldNumber = 4, - }; - // optional .CMsgGCCStrike15_v2_MatchmakingServerReservationResponse serverinfo = 3; - bool has_serverinfo() const; - private: - bool _internal_has_serverinfo() const; - public: - void clear_serverinfo(); - const ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& serverinfo() const; - PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* release_serverinfo(); - ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* mutable_serverinfo(); - void set_allocated_serverinfo(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* serverinfo); - private: - const ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& _internal_serverinfo() const; - ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* _internal_mutable_serverinfo(); - public: - void unsafe_arena_set_allocated_serverinfo( - ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* serverinfo); - ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* unsafe_arena_release_serverinfo(); - - // optional .CMsgGC_ServerQuestUpdateData match_end_quest_data = 4; - bool has_match_end_quest_data() const; - private: - bool _internal_has_match_end_quest_data() const; - public: - void clear_match_end_quest_data(); - const ::CMsgGC_ServerQuestUpdateData& match_end_quest_data() const; - PROTOBUF_NODISCARD ::CMsgGC_ServerQuestUpdateData* release_match_end_quest_data(); - ::CMsgGC_ServerQuestUpdateData* mutable_match_end_quest_data(); - void set_allocated_match_end_quest_data(::CMsgGC_ServerQuestUpdateData* match_end_quest_data); - private: - const ::CMsgGC_ServerQuestUpdateData& _internal_match_end_quest_data() const; - ::CMsgGC_ServerQuestUpdateData* _internal_mutable_match_end_quest_data(); - public: - void unsafe_arena_set_allocated_match_end_quest_data( - ::CMsgGC_ServerQuestUpdateData* match_end_quest_data); - ::CMsgGC_ServerQuestUpdateData* unsafe_arena_release_match_end_quest_data(); - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchEndRunRewardDrops) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* serverinfo_; - ::CMsgGC_ServerQuestUpdateData* match_end_quest_data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CEconItemPreviewDataBlock_Sticker : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEconItemPreviewDataBlock.Sticker) */ { - public: - inline CEconItemPreviewDataBlock_Sticker() : CEconItemPreviewDataBlock_Sticker(nullptr) {} - ~CEconItemPreviewDataBlock_Sticker() override; - explicit PROTOBUF_CONSTEXPR CEconItemPreviewDataBlock_Sticker(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CEconItemPreviewDataBlock_Sticker(const CEconItemPreviewDataBlock_Sticker& from); - CEconItemPreviewDataBlock_Sticker(CEconItemPreviewDataBlock_Sticker&& from) noexcept - : CEconItemPreviewDataBlock_Sticker() { - *this = ::std::move(from); - } - - inline CEconItemPreviewDataBlock_Sticker& operator=(const CEconItemPreviewDataBlock_Sticker& from) { - CopyFrom(from); - return *this; - } - inline CEconItemPreviewDataBlock_Sticker& operator=(CEconItemPreviewDataBlock_Sticker&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CEconItemPreviewDataBlock_Sticker& default_instance() { - return *internal_default_instance(); - } - static inline const CEconItemPreviewDataBlock_Sticker* internal_default_instance() { - return reinterpret_cast( - &_CEconItemPreviewDataBlock_Sticker_default_instance_); - } - static constexpr int kIndexInFileMessages = - 82; - - friend void swap(CEconItemPreviewDataBlock_Sticker& a, CEconItemPreviewDataBlock_Sticker& b) { - a.Swap(&b); - } - inline void Swap(CEconItemPreviewDataBlock_Sticker* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CEconItemPreviewDataBlock_Sticker* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CEconItemPreviewDataBlock_Sticker* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CEconItemPreviewDataBlock_Sticker& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CEconItemPreviewDataBlock_Sticker& from) { - CEconItemPreviewDataBlock_Sticker::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CEconItemPreviewDataBlock_Sticker* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CEconItemPreviewDataBlock.Sticker"; - } - protected: - explicit CEconItemPreviewDataBlock_Sticker(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSlotFieldNumber = 1, - kStickerIdFieldNumber = 2, - kWearFieldNumber = 3, - kScaleFieldNumber = 4, - kRotationFieldNumber = 5, - kTintIdFieldNumber = 6, - kOffsetXFieldNumber = 7, - kOffsetYFieldNumber = 8, - kOffsetZFieldNumber = 9, - kPatternFieldNumber = 10, - kHighlightReelFieldNumber = 11, - }; - // optional uint32 slot = 1; - bool has_slot() const; - private: - bool _internal_has_slot() const; - public: - void clear_slot(); - uint32_t slot() const; - void set_slot(uint32_t value); - private: - uint32_t _internal_slot() const; - void _internal_set_slot(uint32_t value); - public: - - // optional uint32 sticker_id = 2; - bool has_sticker_id() const; - private: - bool _internal_has_sticker_id() const; - public: - void clear_sticker_id(); - uint32_t sticker_id() const; - void set_sticker_id(uint32_t value); - private: - uint32_t _internal_sticker_id() const; - void _internal_set_sticker_id(uint32_t value); - public: - - // optional float wear = 3; - bool has_wear() const; - private: - bool _internal_has_wear() const; - public: - void clear_wear(); - float wear() const; - void set_wear(float value); - private: - float _internal_wear() const; - void _internal_set_wear(float value); - public: - - // optional float scale = 4; - bool has_scale() const; - private: - bool _internal_has_scale() const; - public: - void clear_scale(); - float scale() const; - void set_scale(float value); - private: - float _internal_scale() const; - void _internal_set_scale(float value); - public: - - // optional float rotation = 5; - bool has_rotation() const; - private: - bool _internal_has_rotation() const; - public: - void clear_rotation(); - float rotation() const; - void set_rotation(float value); - private: - float _internal_rotation() const; - void _internal_set_rotation(float value); - public: - - // optional uint32 tint_id = 6; - bool has_tint_id() const; - private: - bool _internal_has_tint_id() const; - public: - void clear_tint_id(); - uint32_t tint_id() const; - void set_tint_id(uint32_t value); - private: - uint32_t _internal_tint_id() const; - void _internal_set_tint_id(uint32_t value); - public: - - // optional float offset_x = 7; - bool has_offset_x() const; - private: - bool _internal_has_offset_x() const; - public: - void clear_offset_x(); - float offset_x() const; - void set_offset_x(float value); - private: - float _internal_offset_x() const; - void _internal_set_offset_x(float value); - public: - - // optional float offset_y = 8; - bool has_offset_y() const; - private: - bool _internal_has_offset_y() const; - public: - void clear_offset_y(); - float offset_y() const; - void set_offset_y(float value); - private: - float _internal_offset_y() const; - void _internal_set_offset_y(float value); - public: - - // optional float offset_z = 9; - bool has_offset_z() const; - private: - bool _internal_has_offset_z() const; - public: - void clear_offset_z(); - float offset_z() const; - void set_offset_z(float value); - private: - float _internal_offset_z() const; - void _internal_set_offset_z(float value); - public: - - // optional uint32 pattern = 10; - bool has_pattern() const; - private: - bool _internal_has_pattern() const; - public: - void clear_pattern(); - uint32_t pattern() const; - void set_pattern(uint32_t value); - private: - uint32_t _internal_pattern() const; - void _internal_set_pattern(uint32_t value); - public: - - // optional uint32 highlight_reel = 11; - bool has_highlight_reel() const; - private: - bool _internal_has_highlight_reel() const; - public: - void clear_highlight_reel(); - uint32_t highlight_reel() const; - void set_highlight_reel(uint32_t value); - private: - uint32_t _internal_highlight_reel() const; - void _internal_set_highlight_reel(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CEconItemPreviewDataBlock.Sticker) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t slot_; - uint32_t sticker_id_; - float wear_; - float scale_; - float rotation_; - uint32_t tint_id_; - float offset_x_; - float offset_y_; - float offset_z_; - uint32_t pattern_; - uint32_t highlight_reel_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CEconItemPreviewDataBlock : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEconItemPreviewDataBlock) */ { - public: - inline CEconItemPreviewDataBlock() : CEconItemPreviewDataBlock(nullptr) {} - ~CEconItemPreviewDataBlock() override; - explicit PROTOBUF_CONSTEXPR CEconItemPreviewDataBlock(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CEconItemPreviewDataBlock(const CEconItemPreviewDataBlock& from); - CEconItemPreviewDataBlock(CEconItemPreviewDataBlock&& from) noexcept - : CEconItemPreviewDataBlock() { - *this = ::std::move(from); - } - - inline CEconItemPreviewDataBlock& operator=(const CEconItemPreviewDataBlock& from) { - CopyFrom(from); - return *this; - } - inline CEconItemPreviewDataBlock& operator=(CEconItemPreviewDataBlock&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CEconItemPreviewDataBlock& default_instance() { - return *internal_default_instance(); - } - static inline const CEconItemPreviewDataBlock* internal_default_instance() { - return reinterpret_cast( - &_CEconItemPreviewDataBlock_default_instance_); - } - static constexpr int kIndexInFileMessages = - 83; - - friend void swap(CEconItemPreviewDataBlock& a, CEconItemPreviewDataBlock& b) { - a.Swap(&b); - } - inline void Swap(CEconItemPreviewDataBlock* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CEconItemPreviewDataBlock* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CEconItemPreviewDataBlock* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CEconItemPreviewDataBlock& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CEconItemPreviewDataBlock& from) { - CEconItemPreviewDataBlock::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CEconItemPreviewDataBlock* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CEconItemPreviewDataBlock"; - } - protected: - explicit CEconItemPreviewDataBlock(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CEconItemPreviewDataBlock_Sticker Sticker; - - // accessors ------------------------------------------------------- - - enum : int { - kStickersFieldNumber = 12, - kKeychainsFieldNumber = 20, - kVariationsFieldNumber = 22, - kCustomnameFieldNumber = 11, - kItemidFieldNumber = 2, - kAccountidFieldNumber = 1, - kDefindexFieldNumber = 3, - kPaintindexFieldNumber = 4, - kRarityFieldNumber = 5, - kQualityFieldNumber = 6, - kPaintwearFieldNumber = 7, - kPaintseedFieldNumber = 8, - kKilleaterscoretypeFieldNumber = 9, - kKilleatervalueFieldNumber = 10, - kInventoryFieldNumber = 13, - kOriginFieldNumber = 14, - kQuestidFieldNumber = 15, - kDropreasonFieldNumber = 16, - kMusicindexFieldNumber = 17, - kEntindexFieldNumber = 18, - kPetindexFieldNumber = 19, - kStyleFieldNumber = 21, - kUpgradeLevelFieldNumber = 23, - }; - // repeated .CEconItemPreviewDataBlock.Sticker stickers = 12; - int stickers_size() const; - private: - int _internal_stickers_size() const; - public: - void clear_stickers(); - ::CEconItemPreviewDataBlock_Sticker* mutable_stickers(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >* - mutable_stickers(); - private: - const ::CEconItemPreviewDataBlock_Sticker& _internal_stickers(int index) const; - ::CEconItemPreviewDataBlock_Sticker* _internal_add_stickers(); - public: - const ::CEconItemPreviewDataBlock_Sticker& stickers(int index) const; - ::CEconItemPreviewDataBlock_Sticker* add_stickers(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >& - stickers() const; - - // repeated .CEconItemPreviewDataBlock.Sticker keychains = 20; - int keychains_size() const; - private: - int _internal_keychains_size() const; - public: - void clear_keychains(); - ::CEconItemPreviewDataBlock_Sticker* mutable_keychains(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >* - mutable_keychains(); - private: - const ::CEconItemPreviewDataBlock_Sticker& _internal_keychains(int index) const; - ::CEconItemPreviewDataBlock_Sticker* _internal_add_keychains(); - public: - const ::CEconItemPreviewDataBlock_Sticker& keychains(int index) const; - ::CEconItemPreviewDataBlock_Sticker* add_keychains(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >& - keychains() const; - - // repeated .CEconItemPreviewDataBlock.Sticker variations = 22; - int variations_size() const; - private: - int _internal_variations_size() const; - public: - void clear_variations(); - ::CEconItemPreviewDataBlock_Sticker* mutable_variations(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >* - mutable_variations(); - private: - const ::CEconItemPreviewDataBlock_Sticker& _internal_variations(int index) const; - ::CEconItemPreviewDataBlock_Sticker* _internal_add_variations(); - public: - const ::CEconItemPreviewDataBlock_Sticker& variations(int index) const; - ::CEconItemPreviewDataBlock_Sticker* add_variations(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >& - variations() const; - - // optional string customname = 11; - bool has_customname() const; - private: - bool _internal_has_customname() const; - public: - void clear_customname(); - const std::string& customname() const; - template - void set_customname(ArgT0&& arg0, ArgT... args); - std::string* mutable_customname(); - PROTOBUF_NODISCARD std::string* release_customname(); - void set_allocated_customname(std::string* customname); - private: - const std::string& _internal_customname() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_customname(const std::string& value); - std::string* _internal_mutable_customname(); - public: - - // optional uint64 itemid = 2; - bool has_itemid() const; - private: - bool _internal_has_itemid() const; - public: - void clear_itemid(); - uint64_t itemid() const; - void set_itemid(uint64_t value); - private: - uint64_t _internal_itemid() const; - void _internal_set_itemid(uint64_t value); - public: - - // optional uint32 accountid = 1; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // optional uint32 defindex = 3; - bool has_defindex() const; - private: - bool _internal_has_defindex() const; - public: - void clear_defindex(); - uint32_t defindex() const; - void set_defindex(uint32_t value); - private: - uint32_t _internal_defindex() const; - void _internal_set_defindex(uint32_t value); - public: - - // optional uint32 paintindex = 4; - bool has_paintindex() const; - private: - bool _internal_has_paintindex() const; - public: - void clear_paintindex(); - uint32_t paintindex() const; - void set_paintindex(uint32_t value); - private: - uint32_t _internal_paintindex() const; - void _internal_set_paintindex(uint32_t value); - public: - - // optional uint32 rarity = 5; - bool has_rarity() const; - private: - bool _internal_has_rarity() const; - public: - void clear_rarity(); - uint32_t rarity() const; - void set_rarity(uint32_t value); - private: - uint32_t _internal_rarity() const; - void _internal_set_rarity(uint32_t value); - public: - - // optional uint32 quality = 6; - bool has_quality() const; - private: - bool _internal_has_quality() const; - public: - void clear_quality(); - uint32_t quality() const; - void set_quality(uint32_t value); - private: - uint32_t _internal_quality() const; - void _internal_set_quality(uint32_t value); - public: - - // optional uint32 paintwear = 7; - bool has_paintwear() const; - private: - bool _internal_has_paintwear() const; - public: - void clear_paintwear(); - uint32_t paintwear() const; - void set_paintwear(uint32_t value); - private: - uint32_t _internal_paintwear() const; - void _internal_set_paintwear(uint32_t value); - public: - - // optional uint32 paintseed = 8; - bool has_paintseed() const; - private: - bool _internal_has_paintseed() const; - public: - void clear_paintseed(); - uint32_t paintseed() const; - void set_paintseed(uint32_t value); - private: - uint32_t _internal_paintseed() const; - void _internal_set_paintseed(uint32_t value); - public: - - // optional uint32 killeaterscoretype = 9; - bool has_killeaterscoretype() const; - private: - bool _internal_has_killeaterscoretype() const; - public: - void clear_killeaterscoretype(); - uint32_t killeaterscoretype() const; - void set_killeaterscoretype(uint32_t value); - private: - uint32_t _internal_killeaterscoretype() const; - void _internal_set_killeaterscoretype(uint32_t value); - public: - - // optional uint32 killeatervalue = 10; - bool has_killeatervalue() const; - private: - bool _internal_has_killeatervalue() const; - public: - void clear_killeatervalue(); - uint32_t killeatervalue() const; - void set_killeatervalue(uint32_t value); - private: - uint32_t _internal_killeatervalue() const; - void _internal_set_killeatervalue(uint32_t value); - public: - - // optional uint32 inventory = 13; - bool has_inventory() const; - private: - bool _internal_has_inventory() const; - public: - void clear_inventory(); - uint32_t inventory() const; - void set_inventory(uint32_t value); - private: - uint32_t _internal_inventory() const; - void _internal_set_inventory(uint32_t value); - public: - - // optional uint32 origin = 14; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - uint32_t origin() const; - void set_origin(uint32_t value); - private: - uint32_t _internal_origin() const; - void _internal_set_origin(uint32_t value); - public: - - // optional uint32 questid = 15; - bool has_questid() const; - private: - bool _internal_has_questid() const; - public: - void clear_questid(); - uint32_t questid() const; - void set_questid(uint32_t value); - private: - uint32_t _internal_questid() const; - void _internal_set_questid(uint32_t value); - public: - - // optional uint32 dropreason = 16; - bool has_dropreason() const; - private: - bool _internal_has_dropreason() const; - public: - void clear_dropreason(); - uint32_t dropreason() const; - void set_dropreason(uint32_t value); - private: - uint32_t _internal_dropreason() const; - void _internal_set_dropreason(uint32_t value); - public: - - // optional uint32 musicindex = 17; - bool has_musicindex() const; - private: - bool _internal_has_musicindex() const; - public: - void clear_musicindex(); - uint32_t musicindex() const; - void set_musicindex(uint32_t value); - private: - uint32_t _internal_musicindex() const; - void _internal_set_musicindex(uint32_t value); - public: - - // optional int32 entindex = 18; - bool has_entindex() const; - private: - bool _internal_has_entindex() const; - public: - void clear_entindex(); - int32_t entindex() const; - void set_entindex(int32_t value); - private: - int32_t _internal_entindex() const; - void _internal_set_entindex(int32_t value); - public: - - // optional uint32 petindex = 19; - bool has_petindex() const; - private: - bool _internal_has_petindex() const; - public: - void clear_petindex(); - uint32_t petindex() const; - void set_petindex(uint32_t value); - private: - uint32_t _internal_petindex() const; - void _internal_set_petindex(uint32_t value); - public: - - // optional uint32 style = 21; - bool has_style() const; - private: - bool _internal_has_style() const; - public: - void clear_style(); - uint32_t style() const; - void set_style(uint32_t value); - private: - uint32_t _internal_style() const; - void _internal_set_style(uint32_t value); - public: - - // optional uint32 upgrade_level = 23; - bool has_upgrade_level() const; - private: - bool _internal_has_upgrade_level() const; - public: - void clear_upgrade_level(); - uint32_t upgrade_level() const; - void set_upgrade_level(uint32_t value); - private: - uint32_t _internal_upgrade_level() const; - void _internal_set_upgrade_level(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CEconItemPreviewDataBlock) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker > stickers_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker > keychains_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker > variations_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr customname_; - uint64_t itemid_; - uint32_t accountid_; - uint32_t defindex_; - uint32_t paintindex_; - uint32_t rarity_; - uint32_t quality_; - uint32_t paintwear_; - uint32_t paintseed_; - uint32_t killeaterscoretype_; - uint32_t killeatervalue_; - uint32_t inventory_; - uint32_t origin_; - uint32_t questid_; - uint32_t dropreason_; - uint32_t musicindex_; - int32_t entindex_; - uint32_t petindex_; - uint32_t style_; - uint32_t upgrade_level_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchEndRewardDropsNotification : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) */ { - public: - inline CMsgGCCStrike15_v2_MatchEndRewardDropsNotification() : CMsgGCCStrike15_v2_MatchEndRewardDropsNotification(nullptr) {} - ~CMsgGCCStrike15_v2_MatchEndRewardDropsNotification() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchEndRewardDropsNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchEndRewardDropsNotification(const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& from); - CMsgGCCStrike15_v2_MatchEndRewardDropsNotification(CMsgGCCStrike15_v2_MatchEndRewardDropsNotification&& from) noexcept - : CMsgGCCStrike15_v2_MatchEndRewardDropsNotification() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& operator=(const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& operator=(CMsgGCCStrike15_v2_MatchEndRewardDropsNotification&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchEndRewardDropsNotification_default_instance_); - } - static constexpr int kIndexInFileMessages = - 84; - - friend void swap(CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& a, CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchEndRewardDropsNotification& from) { - CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchEndRewardDropsNotification* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchEndRewardDropsNotification"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchEndRewardDropsNotification(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIteminfoFieldNumber = 6, - }; - // optional .CEconItemPreviewDataBlock iteminfo = 6; - bool has_iteminfo() const; - private: - bool _internal_has_iteminfo() const; - public: - void clear_iteminfo(); - const ::CEconItemPreviewDataBlock& iteminfo() const; - PROTOBUF_NODISCARD ::CEconItemPreviewDataBlock* release_iteminfo(); - ::CEconItemPreviewDataBlock* mutable_iteminfo(); - void set_allocated_iteminfo(::CEconItemPreviewDataBlock* iteminfo); - private: - const ::CEconItemPreviewDataBlock& _internal_iteminfo() const; - ::CEconItemPreviewDataBlock* _internal_mutable_iteminfo(); - public: - void unsafe_arena_set_allocated_iteminfo( - ::CEconItemPreviewDataBlock* iteminfo); - ::CEconItemPreviewDataBlock* unsafe_arena_release_iteminfo(); - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CEconItemPreviewDataBlock* iteminfo_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgItemAcknowledged : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgItemAcknowledged) */ { - public: - inline CMsgItemAcknowledged() : CMsgItemAcknowledged(nullptr) {} - ~CMsgItemAcknowledged() override; - explicit PROTOBUF_CONSTEXPR CMsgItemAcknowledged(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgItemAcknowledged(const CMsgItemAcknowledged& from); - CMsgItemAcknowledged(CMsgItemAcknowledged&& from) noexcept - : CMsgItemAcknowledged() { - *this = ::std::move(from); - } - - inline CMsgItemAcknowledged& operator=(const CMsgItemAcknowledged& from) { - CopyFrom(from); - return *this; - } - inline CMsgItemAcknowledged& operator=(CMsgItemAcknowledged&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgItemAcknowledged& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgItemAcknowledged* internal_default_instance() { - return reinterpret_cast( - &_CMsgItemAcknowledged_default_instance_); - } - static constexpr int kIndexInFileMessages = - 85; - - friend void swap(CMsgItemAcknowledged& a, CMsgItemAcknowledged& b) { - a.Swap(&b); - } - inline void Swap(CMsgItemAcknowledged* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgItemAcknowledged* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgItemAcknowledged* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgItemAcknowledged& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgItemAcknowledged& from) { - CMsgItemAcknowledged::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgItemAcknowledged* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgItemAcknowledged"; - } - protected: - explicit CMsgItemAcknowledged(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIteminfoFieldNumber = 1, - }; - // optional .CEconItemPreviewDataBlock iteminfo = 1; - bool has_iteminfo() const; - private: - bool _internal_has_iteminfo() const; - public: - void clear_iteminfo(); - const ::CEconItemPreviewDataBlock& iteminfo() const; - PROTOBUF_NODISCARD ::CEconItemPreviewDataBlock* release_iteminfo(); - ::CEconItemPreviewDataBlock* mutable_iteminfo(); - void set_allocated_iteminfo(::CEconItemPreviewDataBlock* iteminfo); - private: - const ::CEconItemPreviewDataBlock& _internal_iteminfo() const; - ::CEconItemPreviewDataBlock* _internal_mutable_iteminfo(); - public: - void unsafe_arena_set_allocated_iteminfo( - ::CEconItemPreviewDataBlock* iteminfo); - ::CEconItemPreviewDataBlock* unsafe_arena_release_iteminfo(); - - // @@protoc_insertion_point(class_scope:CMsgItemAcknowledged) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CEconItemPreviewDataBlock* iteminfo_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) */ { - public: - inline CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest() : CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest(nullptr) {} - ~CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& from); - CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest&& from) noexcept - : CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& operator=(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& operator=(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 86; - - friend void swap(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& a, CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest& from) { - CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest"; - } - protected: - explicit CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kParamSFieldNumber = 1, - kParamAFieldNumber = 2, - kParamDFieldNumber = 3, - kParamMFieldNumber = 4, - }; - // optional uint64 param_s = 1; - bool has_param_s() const; - private: - bool _internal_has_param_s() const; - public: - void clear_param_s(); - uint64_t param_s() const; - void set_param_s(uint64_t value); - private: - uint64_t _internal_param_s() const; - void _internal_set_param_s(uint64_t value); - public: - - // optional uint64 param_a = 2; - bool has_param_a() const; - private: - bool _internal_has_param_a() const; - public: - void clear_param_a(); - uint64_t param_a() const; - void set_param_a(uint64_t value); - private: - uint64_t _internal_param_a() const; - void _internal_set_param_a(uint64_t value); - public: - - // optional uint64 param_d = 3; - bool has_param_d() const; - private: - bool _internal_has_param_d() const; - public: - void clear_param_d(); - uint64_t param_d() const; - void set_param_d(uint64_t value); - private: - uint64_t _internal_param_d() const; - void _internal_set_param_d(uint64_t value); - public: - - // optional uint64 param_m = 4; - bool has_param_m() const; - private: - bool _internal_has_param_m() const; - public: - void clear_param_m(); - uint64_t param_m() const; - void set_param_m(uint64_t value); - private: - uint64_t _internal_param_m() const; - void _internal_set_param_m(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t param_s_; - uint64_t param_a_; - uint64_t param_d_; - uint64_t param_m_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) */ { - public: - inline CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse() : CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse(nullptr) {} - ~CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& from); - CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse&& from) noexcept - : CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& operator=(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& operator=(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 87; - - friend void swap(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& a, CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse& from) { - CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse"; - } - protected: - explicit CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIteminfoFieldNumber = 1, - }; - // optional .CEconItemPreviewDataBlock iteminfo = 1; - bool has_iteminfo() const; - private: - bool _internal_has_iteminfo() const; - public: - void clear_iteminfo(); - const ::CEconItemPreviewDataBlock& iteminfo() const; - PROTOBUF_NODISCARD ::CEconItemPreviewDataBlock* release_iteminfo(); - ::CEconItemPreviewDataBlock* mutable_iteminfo(); - void set_allocated_iteminfo(::CEconItemPreviewDataBlock* iteminfo); - private: - const ::CEconItemPreviewDataBlock& _internal_iteminfo() const; - ::CEconItemPreviewDataBlock* _internal_mutable_iteminfo(); - public: - void unsafe_arena_set_allocated_iteminfo( - ::CEconItemPreviewDataBlock* iteminfo); - ::CEconItemPreviewDataBlock* unsafe_arena_release_iteminfo(); - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CEconItemPreviewDataBlock* iteminfo_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames) */ { - public: - inline CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames() : CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames(nullptr) {} - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames(const CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& from); - CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames(CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames&& from) noexcept - : CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& operator=(const CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& operator=(CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames_default_instance_); - } - static constexpr int kIndexInFileMessages = - 88; - - friend void swap(CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& a, CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) */ { - public: - inline CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser() : CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser(nullptr) {} - ~CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser(const CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& from); - CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser(CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser&& from) noexcept - : CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& operator=(const CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& operator=(CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser_default_instance_); - } - static constexpr int kIndexInFileMessages = - 89; - - friend void swap(CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& a, CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser& from) { - CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountidFieldNumber = 1, - }; - // optional uint32 accountid = 1; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t accountid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchListRequestRecentUserGames : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) */ { - public: - inline CMsgGCCStrike15_v2_MatchListRequestRecentUserGames() : CMsgGCCStrike15_v2_MatchListRequestRecentUserGames(nullptr) {} - ~CMsgGCCStrike15_v2_MatchListRequestRecentUserGames() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestRecentUserGames(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchListRequestRecentUserGames(const CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& from); - CMsgGCCStrike15_v2_MatchListRequestRecentUserGames(CMsgGCCStrike15_v2_MatchListRequestRecentUserGames&& from) noexcept - : CMsgGCCStrike15_v2_MatchListRequestRecentUserGames() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& operator=(const CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& operator=(CMsgGCCStrike15_v2_MatchListRequestRecentUserGames&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchListRequestRecentUserGames* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchListRequestRecentUserGames_default_instance_); - } - static constexpr int kIndexInFileMessages = - 90; - - friend void swap(CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& a, CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchListRequestRecentUserGames* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchListRequestRecentUserGames* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchListRequestRecentUserGames* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchListRequestRecentUserGames& from) { - CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchListRequestRecentUserGames* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchListRequestRecentUserGames"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchListRequestRecentUserGames(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountidFieldNumber = 1, - }; - // optional uint32 accountid = 1; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t accountid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchListRequestTournamentGames : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) */ { - public: - inline CMsgGCCStrike15_v2_MatchListRequestTournamentGames() : CMsgGCCStrike15_v2_MatchListRequestTournamentGames(nullptr) {} - ~CMsgGCCStrike15_v2_MatchListRequestTournamentGames() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestTournamentGames(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchListRequestTournamentGames(const CMsgGCCStrike15_v2_MatchListRequestTournamentGames& from); - CMsgGCCStrike15_v2_MatchListRequestTournamentGames(CMsgGCCStrike15_v2_MatchListRequestTournamentGames&& from) noexcept - : CMsgGCCStrike15_v2_MatchListRequestTournamentGames() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchListRequestTournamentGames& operator=(const CMsgGCCStrike15_v2_MatchListRequestTournamentGames& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchListRequestTournamentGames& operator=(CMsgGCCStrike15_v2_MatchListRequestTournamentGames&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchListRequestTournamentGames& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchListRequestTournamentGames* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchListRequestTournamentGames_default_instance_); - } - static constexpr int kIndexInFileMessages = - 91; - - friend void swap(CMsgGCCStrike15_v2_MatchListRequestTournamentGames& a, CMsgGCCStrike15_v2_MatchListRequestTournamentGames& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchListRequestTournamentGames* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchListRequestTournamentGames* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchListRequestTournamentGames* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchListRequestTournamentGames& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchListRequestTournamentGames& from) { - CMsgGCCStrike15_v2_MatchListRequestTournamentGames::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchListRequestTournamentGames* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchListRequestTournamentGames"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchListRequestTournamentGames(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEventidFieldNumber = 1, - }; - // optional int32 eventid = 1; - bool has_eventid() const; - private: - bool _internal_has_eventid() const; - public: - void clear_eventid(); - int32_t eventid() const; - void set_eventid(int32_t value); - private: - int32_t _internal_eventid() const; - void _internal_set_eventid(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchListRequestTournamentGames) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t eventid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchListRequestFullGameInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) */ { - public: - inline CMsgGCCStrike15_v2_MatchListRequestFullGameInfo() : CMsgGCCStrike15_v2_MatchListRequestFullGameInfo(nullptr) {} - ~CMsgGCCStrike15_v2_MatchListRequestFullGameInfo() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListRequestFullGameInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchListRequestFullGameInfo(const CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& from); - CMsgGCCStrike15_v2_MatchListRequestFullGameInfo(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo&& from) noexcept - : CMsgGCCStrike15_v2_MatchListRequestFullGameInfo() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& operator=(const CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& operator=(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchListRequestFullGameInfo* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchListRequestFullGameInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 92; - - friend void swap(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& a, CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchListRequestFullGameInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchListRequestFullGameInfo& from) { - CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchListRequestFullGameInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchListRequestFullGameInfo"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchListRequestFullGameInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMatchidFieldNumber = 1, - kOutcomeidFieldNumber = 2, - kTokenFieldNumber = 3, - }; - // optional uint64 matchid = 1; - bool has_matchid() const; - private: - bool _internal_has_matchid() const; - public: - void clear_matchid(); - uint64_t matchid() const; - void set_matchid(uint64_t value); - private: - uint64_t _internal_matchid() const; - void _internal_set_matchid(uint64_t value); - public: - - // optional uint64 outcomeid = 2; - bool has_outcomeid() const; - private: - bool _internal_has_outcomeid() const; - public: - void clear_outcomeid(); - uint64_t outcomeid() const; - void set_outcomeid(uint64_t value); - private: - uint64_t _internal_outcomeid() const; - void _internal_set_outcomeid(uint64_t value); - public: - - // optional uint32 token = 3; - bool has_token() const; - private: - bool _internal_has_token() const; - public: - void clear_token(); - uint32_t token() const; - void set_token(uint32_t value); - private: - uint32_t _internal_token() const; - void _internal_set_token(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t matchid_; - uint64_t outcomeid_; - uint32_t token_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CDataGCCStrike15_v2_MatchInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDataGCCStrike15_v2_MatchInfo) */ { - public: - inline CDataGCCStrike15_v2_MatchInfo() : CDataGCCStrike15_v2_MatchInfo(nullptr) {} - ~CDataGCCStrike15_v2_MatchInfo() override; - explicit PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_MatchInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDataGCCStrike15_v2_MatchInfo(const CDataGCCStrike15_v2_MatchInfo& from); - CDataGCCStrike15_v2_MatchInfo(CDataGCCStrike15_v2_MatchInfo&& from) noexcept - : CDataGCCStrike15_v2_MatchInfo() { - *this = ::std::move(from); - } - - inline CDataGCCStrike15_v2_MatchInfo& operator=(const CDataGCCStrike15_v2_MatchInfo& from) { - CopyFrom(from); - return *this; - } - inline CDataGCCStrike15_v2_MatchInfo& operator=(CDataGCCStrike15_v2_MatchInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDataGCCStrike15_v2_MatchInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CDataGCCStrike15_v2_MatchInfo* internal_default_instance() { - return reinterpret_cast( - &_CDataGCCStrike15_v2_MatchInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 93; - - friend void swap(CDataGCCStrike15_v2_MatchInfo& a, CDataGCCStrike15_v2_MatchInfo& b) { - a.Swap(&b); - } - inline void Swap(CDataGCCStrike15_v2_MatchInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDataGCCStrike15_v2_MatchInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDataGCCStrike15_v2_MatchInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDataGCCStrike15_v2_MatchInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDataGCCStrike15_v2_MatchInfo& from) { - CDataGCCStrike15_v2_MatchInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDataGCCStrike15_v2_MatchInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDataGCCStrike15_v2_MatchInfo"; - } - protected: - explicit CDataGCCStrike15_v2_MatchInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRoundstatsallFieldNumber = 5, - kWatchablematchinfoFieldNumber = 3, - kRoundstatsLegacyFieldNumber = 4, - kMatchidFieldNumber = 1, - kMatchtimeFieldNumber = 2, - }; - // repeated .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstatsall = 5; - int roundstatsall_size() const; - private: - int _internal_roundstatsall_size() const; - public: - void clear_roundstatsall(); - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* mutable_roundstatsall(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats >* - mutable_roundstatsall(); - private: - const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& _internal_roundstatsall(int index) const; - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* _internal_add_roundstatsall(); - public: - const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& roundstatsall(int index) const; - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* add_roundstatsall(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats >& - roundstatsall() const; - - // optional .WatchableMatchInfo watchablematchinfo = 3; - bool has_watchablematchinfo() const; - private: - bool _internal_has_watchablematchinfo() const; - public: - void clear_watchablematchinfo(); - const ::WatchableMatchInfo& watchablematchinfo() const; - PROTOBUF_NODISCARD ::WatchableMatchInfo* release_watchablematchinfo(); - ::WatchableMatchInfo* mutable_watchablematchinfo(); - void set_allocated_watchablematchinfo(::WatchableMatchInfo* watchablematchinfo); - private: - const ::WatchableMatchInfo& _internal_watchablematchinfo() const; - ::WatchableMatchInfo* _internal_mutable_watchablematchinfo(); - public: - void unsafe_arena_set_allocated_watchablematchinfo( - ::WatchableMatchInfo* watchablematchinfo); - ::WatchableMatchInfo* unsafe_arena_release_watchablematchinfo(); - - // optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstats_legacy = 4; - bool has_roundstats_legacy() const; - private: - bool _internal_has_roundstats_legacy() const; - public: - void clear_roundstats_legacy(); - const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& roundstats_legacy() const; - PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* release_roundstats_legacy(); - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* mutable_roundstats_legacy(); - void set_allocated_roundstats_legacy(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* roundstats_legacy); - private: - const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& _internal_roundstats_legacy() const; - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* _internal_mutable_roundstats_legacy(); - public: - void unsafe_arena_set_allocated_roundstats_legacy( - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* roundstats_legacy); - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* unsafe_arena_release_roundstats_legacy(); - - // optional uint64 matchid = 1; - bool has_matchid() const; - private: - bool _internal_has_matchid() const; - public: - void clear_matchid(); - uint64_t matchid() const; - void set_matchid(uint64_t value); - private: - uint64_t _internal_matchid() const; - void _internal_set_matchid(uint64_t value); - public: - - // optional uint32 matchtime = 2; - bool has_matchtime() const; - private: - bool _internal_has_matchtime() const; - public: - void clear_matchtime(); - uint32_t matchtime() const; - void set_matchtime(uint32_t value); - private: - uint32_t _internal_matchtime() const; - void _internal_set_matchtime(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CDataGCCStrike15_v2_MatchInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats > roundstatsall_; - ::WatchableMatchInfo* watchablematchinfo_; - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* roundstats_legacy_; - uint64_t matchid_; - uint32_t matchtime_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CDataGCCStrike15_v2_TournamentGroupTeam : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDataGCCStrike15_v2_TournamentGroupTeam) */ { - public: - inline CDataGCCStrike15_v2_TournamentGroupTeam() : CDataGCCStrike15_v2_TournamentGroupTeam(nullptr) {} - ~CDataGCCStrike15_v2_TournamentGroupTeam() override; - explicit PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentGroupTeam(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDataGCCStrike15_v2_TournamentGroupTeam(const CDataGCCStrike15_v2_TournamentGroupTeam& from); - CDataGCCStrike15_v2_TournamentGroupTeam(CDataGCCStrike15_v2_TournamentGroupTeam&& from) noexcept - : CDataGCCStrike15_v2_TournamentGroupTeam() { - *this = ::std::move(from); - } - - inline CDataGCCStrike15_v2_TournamentGroupTeam& operator=(const CDataGCCStrike15_v2_TournamentGroupTeam& from) { - CopyFrom(from); - return *this; - } - inline CDataGCCStrike15_v2_TournamentGroupTeam& operator=(CDataGCCStrike15_v2_TournamentGroupTeam&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDataGCCStrike15_v2_TournamentGroupTeam& default_instance() { - return *internal_default_instance(); - } - static inline const CDataGCCStrike15_v2_TournamentGroupTeam* internal_default_instance() { - return reinterpret_cast( - &_CDataGCCStrike15_v2_TournamentGroupTeam_default_instance_); - } - static constexpr int kIndexInFileMessages = - 94; - - friend void swap(CDataGCCStrike15_v2_TournamentGroupTeam& a, CDataGCCStrike15_v2_TournamentGroupTeam& b) { - a.Swap(&b); - } - inline void Swap(CDataGCCStrike15_v2_TournamentGroupTeam* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDataGCCStrike15_v2_TournamentGroupTeam* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDataGCCStrike15_v2_TournamentGroupTeam* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDataGCCStrike15_v2_TournamentGroupTeam& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDataGCCStrike15_v2_TournamentGroupTeam& from) { - CDataGCCStrike15_v2_TournamentGroupTeam::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDataGCCStrike15_v2_TournamentGroupTeam* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDataGCCStrike15_v2_TournamentGroupTeam"; - } - protected: - explicit CDataGCCStrike15_v2_TournamentGroupTeam(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTeamIdFieldNumber = 1, - kScoreFieldNumber = 2, - kCorrectpickFieldNumber = 3, - }; - // optional int32 team_id = 1; - bool has_team_id() const; - private: - bool _internal_has_team_id() const; - public: - void clear_team_id(); - int32_t team_id() const; - void set_team_id(int32_t value); - private: - int32_t _internal_team_id() const; - void _internal_set_team_id(int32_t value); - public: - - // optional int32 score = 2; - bool has_score() const; - private: - bool _internal_has_score() const; - public: - void clear_score(); - int32_t score() const; - void set_score(int32_t value); - private: - int32_t _internal_score() const; - void _internal_set_score(int32_t value); - public: - - // optional bool correctpick = 3; - bool has_correctpick() const; - private: - bool _internal_has_correctpick() const; - public: - void clear_correctpick(); - bool correctpick() const; - void set_correctpick(bool value); - private: - bool _internal_correctpick() const; - void _internal_set_correctpick(bool value); - public: - - // @@protoc_insertion_point(class_scope:CDataGCCStrike15_v2_TournamentGroupTeam) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t team_id_; - int32_t score_; - bool correctpick_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CDataGCCStrike15_v2_TournamentGroup_Picks : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDataGCCStrike15_v2_TournamentGroup.Picks) */ { - public: - inline CDataGCCStrike15_v2_TournamentGroup_Picks() : CDataGCCStrike15_v2_TournamentGroup_Picks(nullptr) {} - ~CDataGCCStrike15_v2_TournamentGroup_Picks() override; - explicit PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentGroup_Picks(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDataGCCStrike15_v2_TournamentGroup_Picks(const CDataGCCStrike15_v2_TournamentGroup_Picks& from); - CDataGCCStrike15_v2_TournamentGroup_Picks(CDataGCCStrike15_v2_TournamentGroup_Picks&& from) noexcept - : CDataGCCStrike15_v2_TournamentGroup_Picks() { - *this = ::std::move(from); - } - - inline CDataGCCStrike15_v2_TournamentGroup_Picks& operator=(const CDataGCCStrike15_v2_TournamentGroup_Picks& from) { - CopyFrom(from); - return *this; - } - inline CDataGCCStrike15_v2_TournamentGroup_Picks& operator=(CDataGCCStrike15_v2_TournamentGroup_Picks&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDataGCCStrike15_v2_TournamentGroup_Picks& default_instance() { - return *internal_default_instance(); - } - static inline const CDataGCCStrike15_v2_TournamentGroup_Picks* internal_default_instance() { - return reinterpret_cast( - &_CDataGCCStrike15_v2_TournamentGroup_Picks_default_instance_); - } - static constexpr int kIndexInFileMessages = - 95; - - friend void swap(CDataGCCStrike15_v2_TournamentGroup_Picks& a, CDataGCCStrike15_v2_TournamentGroup_Picks& b) { - a.Swap(&b); - } - inline void Swap(CDataGCCStrike15_v2_TournamentGroup_Picks* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDataGCCStrike15_v2_TournamentGroup_Picks* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDataGCCStrike15_v2_TournamentGroup_Picks* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDataGCCStrike15_v2_TournamentGroup_Picks& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDataGCCStrike15_v2_TournamentGroup_Picks& from) { - CDataGCCStrike15_v2_TournamentGroup_Picks::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDataGCCStrike15_v2_TournamentGroup_Picks* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDataGCCStrike15_v2_TournamentGroup.Picks"; - } - protected: - explicit CDataGCCStrike15_v2_TournamentGroup_Picks(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPickidsFieldNumber = 1, - }; - // repeated int32 pickids = 1; - int pickids_size() const; - private: - int _internal_pickids_size() const; - public: - void clear_pickids(); - private: - int32_t _internal_pickids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_pickids() const; - void _internal_add_pickids(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_pickids(); - public: - int32_t pickids(int index) const; - void set_pickids(int index, int32_t value); - void add_pickids(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - pickids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_pickids(); - - // @@protoc_insertion_point(class_scope:CDataGCCStrike15_v2_TournamentGroup.Picks) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > pickids_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CDataGCCStrike15_v2_TournamentGroup : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDataGCCStrike15_v2_TournamentGroup) */ { - public: - inline CDataGCCStrike15_v2_TournamentGroup() : CDataGCCStrike15_v2_TournamentGroup(nullptr) {} - ~CDataGCCStrike15_v2_TournamentGroup() override; - explicit PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentGroup(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDataGCCStrike15_v2_TournamentGroup(const CDataGCCStrike15_v2_TournamentGroup& from); - CDataGCCStrike15_v2_TournamentGroup(CDataGCCStrike15_v2_TournamentGroup&& from) noexcept - : CDataGCCStrike15_v2_TournamentGroup() { - *this = ::std::move(from); - } - - inline CDataGCCStrike15_v2_TournamentGroup& operator=(const CDataGCCStrike15_v2_TournamentGroup& from) { - CopyFrom(from); - return *this; - } - inline CDataGCCStrike15_v2_TournamentGroup& operator=(CDataGCCStrike15_v2_TournamentGroup&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDataGCCStrike15_v2_TournamentGroup& default_instance() { - return *internal_default_instance(); - } - static inline const CDataGCCStrike15_v2_TournamentGroup* internal_default_instance() { - return reinterpret_cast( - &_CDataGCCStrike15_v2_TournamentGroup_default_instance_); - } - static constexpr int kIndexInFileMessages = - 96; - - friend void swap(CDataGCCStrike15_v2_TournamentGroup& a, CDataGCCStrike15_v2_TournamentGroup& b) { - a.Swap(&b); - } - inline void Swap(CDataGCCStrike15_v2_TournamentGroup* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDataGCCStrike15_v2_TournamentGroup* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDataGCCStrike15_v2_TournamentGroup* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDataGCCStrike15_v2_TournamentGroup& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDataGCCStrike15_v2_TournamentGroup& from) { - CDataGCCStrike15_v2_TournamentGroup::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDataGCCStrike15_v2_TournamentGroup* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDataGCCStrike15_v2_TournamentGroup"; - } - protected: - explicit CDataGCCStrike15_v2_TournamentGroup(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CDataGCCStrike15_v2_TournamentGroup_Picks Picks; - - // accessors ------------------------------------------------------- - - enum : int { - kTeamsFieldNumber = 5, - kStageIdsFieldNumber = 6, - kPicksFieldNumber = 10, - kNameFieldNumber = 2, - kDescFieldNumber = 3, - kGroupidFieldNumber = 1, - kPicksDeprecatedFieldNumber = 4, - kPicklockuntiltimeFieldNumber = 7, - kPickableteamsFieldNumber = 8, - kPointsPerPickFieldNumber = 9, - }; - // repeated .CDataGCCStrike15_v2_TournamentGroupTeam teams = 5; - int teams_size() const; - private: - int _internal_teams_size() const; - public: - void clear_teams(); - ::CDataGCCStrike15_v2_TournamentGroupTeam* mutable_teams(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroupTeam >* - mutable_teams(); - private: - const ::CDataGCCStrike15_v2_TournamentGroupTeam& _internal_teams(int index) const; - ::CDataGCCStrike15_v2_TournamentGroupTeam* _internal_add_teams(); - public: - const ::CDataGCCStrike15_v2_TournamentGroupTeam& teams(int index) const; - ::CDataGCCStrike15_v2_TournamentGroupTeam* add_teams(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroupTeam >& - teams() const; - - // repeated int32 stage_ids = 6; - int stage_ids_size() const; - private: - int _internal_stage_ids_size() const; - public: - void clear_stage_ids(); - private: - int32_t _internal_stage_ids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_stage_ids() const; - void _internal_add_stage_ids(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_stage_ids(); - public: - int32_t stage_ids(int index) const; - void set_stage_ids(int index, int32_t value); - void add_stage_ids(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - stage_ids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_stage_ids(); - - // repeated .CDataGCCStrike15_v2_TournamentGroup.Picks picks = 10; - int picks_size() const; - private: - int _internal_picks_size() const; - public: - void clear_picks(); - ::CDataGCCStrike15_v2_TournamentGroup_Picks* mutable_picks(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup_Picks >* - mutable_picks(); - private: - const ::CDataGCCStrike15_v2_TournamentGroup_Picks& _internal_picks(int index) const; - ::CDataGCCStrike15_v2_TournamentGroup_Picks* _internal_add_picks(); - public: - const ::CDataGCCStrike15_v2_TournamentGroup_Picks& picks(int index) const; - ::CDataGCCStrike15_v2_TournamentGroup_Picks* add_picks(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup_Picks >& - picks() const; - - // optional string name = 2; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional string desc = 3; - bool has_desc() const; - private: - bool _internal_has_desc() const; - public: - void clear_desc(); - const std::string& desc() const; - template - void set_desc(ArgT0&& arg0, ArgT... args); - std::string* mutable_desc(); - PROTOBUF_NODISCARD std::string* release_desc(); - void set_allocated_desc(std::string* desc); - private: - const std::string& _internal_desc() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_desc(const std::string& value); - std::string* _internal_mutable_desc(); - public: - - // optional uint32 groupid = 1; - bool has_groupid() const; - private: - bool _internal_has_groupid() const; - public: - void clear_groupid(); - uint32_t groupid() const; - void set_groupid(uint32_t value); - private: - uint32_t _internal_groupid() const; - void _internal_set_groupid(uint32_t value); - public: - - // optional uint32 picks__deprecated = 4; - bool has_picks__deprecated() const; - private: - bool _internal_has_picks__deprecated() const; - public: - void clear_picks__deprecated(); - uint32_t picks__deprecated() const; - void set_picks__deprecated(uint32_t value); - private: - uint32_t _internal_picks__deprecated() const; - void _internal_set_picks__deprecated(uint32_t value); - public: - - // optional uint32 picklockuntiltime = 7; - bool has_picklockuntiltime() const; - private: - bool _internal_has_picklockuntiltime() const; - public: - void clear_picklockuntiltime(); - uint32_t picklockuntiltime() const; - void set_picklockuntiltime(uint32_t value); - private: - uint32_t _internal_picklockuntiltime() const; - void _internal_set_picklockuntiltime(uint32_t value); - public: - - // optional uint32 pickableteams = 8; - bool has_pickableteams() const; - private: - bool _internal_has_pickableteams() const; - public: - void clear_pickableteams(); - uint32_t pickableteams() const; - void set_pickableteams(uint32_t value); - private: - uint32_t _internal_pickableteams() const; - void _internal_set_pickableteams(uint32_t value); - public: - - // optional uint32 points_per_pick = 9; - bool has_points_per_pick() const; - private: - bool _internal_has_points_per_pick() const; - public: - void clear_points_per_pick(); - uint32_t points_per_pick() const; - void set_points_per_pick(uint32_t value); - private: - uint32_t _internal_points_per_pick() const; - void _internal_set_points_per_pick(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CDataGCCStrike15_v2_TournamentGroup) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroupTeam > teams_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > stage_ids_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup_Picks > picks_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr desc_; - uint32_t groupid_; - uint32_t picks__deprecated_; - uint32_t picklockuntiltime_; - uint32_t pickableteams_; - uint32_t points_per_pick_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CDataGCCStrike15_v2_TournamentSection : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDataGCCStrike15_v2_TournamentSection) */ { - public: - inline CDataGCCStrike15_v2_TournamentSection() : CDataGCCStrike15_v2_TournamentSection(nullptr) {} - ~CDataGCCStrike15_v2_TournamentSection() override; - explicit PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentSection(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDataGCCStrike15_v2_TournamentSection(const CDataGCCStrike15_v2_TournamentSection& from); - CDataGCCStrike15_v2_TournamentSection(CDataGCCStrike15_v2_TournamentSection&& from) noexcept - : CDataGCCStrike15_v2_TournamentSection() { - *this = ::std::move(from); - } - - inline CDataGCCStrike15_v2_TournamentSection& operator=(const CDataGCCStrike15_v2_TournamentSection& from) { - CopyFrom(from); - return *this; - } - inline CDataGCCStrike15_v2_TournamentSection& operator=(CDataGCCStrike15_v2_TournamentSection&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDataGCCStrike15_v2_TournamentSection& default_instance() { - return *internal_default_instance(); - } - static inline const CDataGCCStrike15_v2_TournamentSection* internal_default_instance() { - return reinterpret_cast( - &_CDataGCCStrike15_v2_TournamentSection_default_instance_); - } - static constexpr int kIndexInFileMessages = - 97; - - friend void swap(CDataGCCStrike15_v2_TournamentSection& a, CDataGCCStrike15_v2_TournamentSection& b) { - a.Swap(&b); - } - inline void Swap(CDataGCCStrike15_v2_TournamentSection* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDataGCCStrike15_v2_TournamentSection* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDataGCCStrike15_v2_TournamentSection* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDataGCCStrike15_v2_TournamentSection& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDataGCCStrike15_v2_TournamentSection& from) { - CDataGCCStrike15_v2_TournamentSection::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDataGCCStrike15_v2_TournamentSection* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDataGCCStrike15_v2_TournamentSection"; - } - protected: - explicit CDataGCCStrike15_v2_TournamentSection(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGroupsFieldNumber = 4, - kNameFieldNumber = 2, - kDescFieldNumber = 3, - kSectionidFieldNumber = 1, - }; - // repeated .CDataGCCStrike15_v2_TournamentGroup groups = 4; - int groups_size() const; - private: - int _internal_groups_size() const; - public: - void clear_groups(); - ::CDataGCCStrike15_v2_TournamentGroup* mutable_groups(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup >* - mutable_groups(); - private: - const ::CDataGCCStrike15_v2_TournamentGroup& _internal_groups(int index) const; - ::CDataGCCStrike15_v2_TournamentGroup* _internal_add_groups(); - public: - const ::CDataGCCStrike15_v2_TournamentGroup& groups(int index) const; - ::CDataGCCStrike15_v2_TournamentGroup* add_groups(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup >& - groups() const; - - // optional string name = 2; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional string desc = 3; - bool has_desc() const; - private: - bool _internal_has_desc() const; - public: - void clear_desc(); - const std::string& desc() const; - template - void set_desc(ArgT0&& arg0, ArgT... args); - std::string* mutable_desc(); - PROTOBUF_NODISCARD std::string* release_desc(); - void set_allocated_desc(std::string* desc); - private: - const std::string& _internal_desc() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_desc(const std::string& value); - std::string* _internal_mutable_desc(); - public: - - // optional uint32 sectionid = 1; - bool has_sectionid() const; - private: - bool _internal_has_sectionid() const; - public: - void clear_sectionid(); - uint32_t sectionid() const; - void set_sectionid(uint32_t value); - private: - uint32_t _internal_sectionid() const; - void _internal_set_sectionid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CDataGCCStrike15_v2_TournamentSection) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup > groups_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr desc_; - uint32_t sectionid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CDataGCCStrike15_v2_TournamentInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDataGCCStrike15_v2_TournamentInfo) */ { - public: - inline CDataGCCStrike15_v2_TournamentInfo() : CDataGCCStrike15_v2_TournamentInfo(nullptr) {} - ~CDataGCCStrike15_v2_TournamentInfo() override; - explicit PROTOBUF_CONSTEXPR CDataGCCStrike15_v2_TournamentInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDataGCCStrike15_v2_TournamentInfo(const CDataGCCStrike15_v2_TournamentInfo& from); - CDataGCCStrike15_v2_TournamentInfo(CDataGCCStrike15_v2_TournamentInfo&& from) noexcept - : CDataGCCStrike15_v2_TournamentInfo() { - *this = ::std::move(from); - } - - inline CDataGCCStrike15_v2_TournamentInfo& operator=(const CDataGCCStrike15_v2_TournamentInfo& from) { - CopyFrom(from); - return *this; - } - inline CDataGCCStrike15_v2_TournamentInfo& operator=(CDataGCCStrike15_v2_TournamentInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDataGCCStrike15_v2_TournamentInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CDataGCCStrike15_v2_TournamentInfo* internal_default_instance() { - return reinterpret_cast( - &_CDataGCCStrike15_v2_TournamentInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 98; - - friend void swap(CDataGCCStrike15_v2_TournamentInfo& a, CDataGCCStrike15_v2_TournamentInfo& b) { - a.Swap(&b); - } - inline void Swap(CDataGCCStrike15_v2_TournamentInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDataGCCStrike15_v2_TournamentInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDataGCCStrike15_v2_TournamentInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDataGCCStrike15_v2_TournamentInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDataGCCStrike15_v2_TournamentInfo& from) { - CDataGCCStrike15_v2_TournamentInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDataGCCStrike15_v2_TournamentInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDataGCCStrike15_v2_TournamentInfo"; - } - protected: - explicit CDataGCCStrike15_v2_TournamentInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSectionsFieldNumber = 1, - kTournamentTeamsFieldNumber = 3, - kTournamentEventFieldNumber = 2, - }; - // repeated .CDataGCCStrike15_v2_TournamentSection sections = 1; - int sections_size() const; - private: - int _internal_sections_size() const; - public: - void clear_sections(); - ::CDataGCCStrike15_v2_TournamentSection* mutable_sections(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentSection >* - mutable_sections(); - private: - const ::CDataGCCStrike15_v2_TournamentSection& _internal_sections(int index) const; - ::CDataGCCStrike15_v2_TournamentSection* _internal_add_sections(); - public: - const ::CDataGCCStrike15_v2_TournamentSection& sections(int index) const; - ::CDataGCCStrike15_v2_TournamentSection* add_sections(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentSection >& - sections() const; - - // repeated .TournamentTeam tournament_teams = 3; - int tournament_teams_size() const; - private: - int _internal_tournament_teams_size() const; - public: - void clear_tournament_teams(); - ::TournamentTeam* mutable_tournament_teams(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >* - mutable_tournament_teams(); - private: - const ::TournamentTeam& _internal_tournament_teams(int index) const; - ::TournamentTeam* _internal_add_tournament_teams(); - public: - const ::TournamentTeam& tournament_teams(int index) const; - ::TournamentTeam* add_tournament_teams(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >& - tournament_teams() const; - - // optional .TournamentEvent tournament_event = 2; - bool has_tournament_event() const; - private: - bool _internal_has_tournament_event() const; - public: - void clear_tournament_event(); - const ::TournamentEvent& tournament_event() const; - PROTOBUF_NODISCARD ::TournamentEvent* release_tournament_event(); - ::TournamentEvent* mutable_tournament_event(); - void set_allocated_tournament_event(::TournamentEvent* tournament_event); - private: - const ::TournamentEvent& _internal_tournament_event() const; - ::TournamentEvent* _internal_mutable_tournament_event(); - public: - void unsafe_arena_set_allocated_tournament_event( - ::TournamentEvent* tournament_event); - ::TournamentEvent* unsafe_arena_release_tournament_event(); - - // @@protoc_insertion_point(class_scope:CDataGCCStrike15_v2_TournamentInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentSection > sections_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam > tournament_teams_; - ::TournamentEvent* tournament_event_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchList : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchList) */ { - public: - inline CMsgGCCStrike15_v2_MatchList() : CMsgGCCStrike15_v2_MatchList(nullptr) {} - ~CMsgGCCStrike15_v2_MatchList() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchList(const CMsgGCCStrike15_v2_MatchList& from); - CMsgGCCStrike15_v2_MatchList(CMsgGCCStrike15_v2_MatchList&& from) noexcept - : CMsgGCCStrike15_v2_MatchList() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchList& operator=(const CMsgGCCStrike15_v2_MatchList& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchList& operator=(CMsgGCCStrike15_v2_MatchList&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchList& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchList* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 99; - - friend void swap(CMsgGCCStrike15_v2_MatchList& a, CMsgGCCStrike15_v2_MatchList& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchList* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchList* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchList& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchList& from) { - CMsgGCCStrike15_v2_MatchList::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchList* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchList"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchList(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMatchesFieldNumber = 4, - kStreamsFieldNumber = 5, - kTournamentinfoFieldNumber = 6, - kMsgrequestidFieldNumber = 1, - kAccountidFieldNumber = 2, - kServertimeFieldNumber = 3, - }; - // repeated .CDataGCCStrike15_v2_MatchInfo matches = 4; - int matches_size() const; - private: - int _internal_matches_size() const; - public: - void clear_matches(); - ::CDataGCCStrike15_v2_MatchInfo* mutable_matches(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo >* - mutable_matches(); - private: - const ::CDataGCCStrike15_v2_MatchInfo& _internal_matches(int index) const; - ::CDataGCCStrike15_v2_MatchInfo* _internal_add_matches(); - public: - const ::CDataGCCStrike15_v2_MatchInfo& matches(int index) const; - ::CDataGCCStrike15_v2_MatchInfo* add_matches(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo >& - matches() const; - - // repeated .TournamentTeam streams = 5; - int streams_size() const; - private: - int _internal_streams_size() const; - public: - void clear_streams(); - ::TournamentTeam* mutable_streams(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >* - mutable_streams(); - private: - const ::TournamentTeam& _internal_streams(int index) const; - ::TournamentTeam* _internal_add_streams(); - public: - const ::TournamentTeam& streams(int index) const; - ::TournamentTeam* add_streams(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >& - streams() const; - - // optional .CDataGCCStrike15_v2_TournamentInfo tournamentinfo = 6; - bool has_tournamentinfo() const; - private: - bool _internal_has_tournamentinfo() const; - public: - void clear_tournamentinfo(); - const ::CDataGCCStrike15_v2_TournamentInfo& tournamentinfo() const; - PROTOBUF_NODISCARD ::CDataGCCStrike15_v2_TournamentInfo* release_tournamentinfo(); - ::CDataGCCStrike15_v2_TournamentInfo* mutable_tournamentinfo(); - void set_allocated_tournamentinfo(::CDataGCCStrike15_v2_TournamentInfo* tournamentinfo); - private: - const ::CDataGCCStrike15_v2_TournamentInfo& _internal_tournamentinfo() const; - ::CDataGCCStrike15_v2_TournamentInfo* _internal_mutable_tournamentinfo(); - public: - void unsafe_arena_set_allocated_tournamentinfo( - ::CDataGCCStrike15_v2_TournamentInfo* tournamentinfo); - ::CDataGCCStrike15_v2_TournamentInfo* unsafe_arena_release_tournamentinfo(); - - // optional uint32 msgrequestid = 1; - bool has_msgrequestid() const; - private: - bool _internal_has_msgrequestid() const; - public: - void clear_msgrequestid(); - uint32_t msgrequestid() const; - void set_msgrequestid(uint32_t value); - private: - uint32_t _internal_msgrequestid() const; - void _internal_set_msgrequestid(uint32_t value); - public: - - // optional uint32 accountid = 2; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // optional uint32 servertime = 3; - bool has_servertime() const; - private: - bool _internal_has_servertime() const; - public: - void clear_servertime(); - uint32_t servertime() const; - void set_servertime(uint32_t value); - private: - uint32_t _internal_servertime() const; - void _internal_set_servertime(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchList) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo > matches_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam > streams_; - ::CDataGCCStrike15_v2_TournamentInfo* tournamentinfo_; - uint32_t msgrequestid_; - uint32_t accountid_; - uint32_t servertime_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) */ { - public: - inline CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt() : CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt(nullptr) {} - ~CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt(const CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& from); - CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt&& from) noexcept - : CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& operator=(const CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& operator=(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 100; - - friend void swap(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& a, CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt& from) { - CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMatchesFieldNumber = 2, - kEventidFieldNumber = 1, - kAccountidFieldNumber = 3, - }; - // repeated .CDataGCCStrike15_v2_MatchInfo matches = 2; - int matches_size() const; - private: - int _internal_matches_size() const; - public: - void clear_matches(); - ::CDataGCCStrike15_v2_MatchInfo* mutable_matches(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo >* - mutable_matches(); - private: - const ::CDataGCCStrike15_v2_MatchInfo& _internal_matches(int index) const; - ::CDataGCCStrike15_v2_MatchInfo* _internal_add_matches(); - public: - const ::CDataGCCStrike15_v2_MatchInfo& matches(int index) const; - ::CDataGCCStrike15_v2_MatchInfo* add_matches(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo >& - matches() const; - - // optional int32 eventid = 1; - bool has_eventid() const; - private: - bool _internal_has_eventid() const; - public: - void clear_eventid(); - int32_t eventid() const; - void set_eventid(int32_t value); - private: - int32_t _internal_eventid() const; - void _internal_set_eventid(int32_t value); - public: - - // optional uint32 accountid = 3; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo > matches_; - int32_t eventid_; - uint32_t accountid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) */ { - public: - inline CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick() : CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick(nullptr) {} - ~CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick(const CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& from); - CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick&& from) noexcept - : CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& operator=(const CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& operator=(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick_default_instance_); - } - static constexpr int kIndexInFileMessages = - 101; - - friend void swap(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& a, CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& from) { - CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick"; - } - protected: - explicit CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSectionidFieldNumber = 1, - kGroupidFieldNumber = 2, - kIndexFieldNumber = 3, - kTeamidFieldNumber = 4, - kItemidFieldNumber = 5, - }; - // optional int32 sectionid = 1; - bool has_sectionid() const; - private: - bool _internal_has_sectionid() const; - public: - void clear_sectionid(); - int32_t sectionid() const; - void set_sectionid(int32_t value); - private: - int32_t _internal_sectionid() const; - void _internal_set_sectionid(int32_t value); - public: - - // optional int32 groupid = 2; - bool has_groupid() const; - private: - bool _internal_has_groupid() const; - public: - void clear_groupid(); - int32_t groupid() const; - void set_groupid(int32_t value); - private: - int32_t _internal_groupid() const; - void _internal_set_groupid(int32_t value); - public: - - // optional int32 index = 3; - bool has_index() const; - private: - bool _internal_has_index() const; - public: - void clear_index(); - int32_t index() const; - void set_index(int32_t value); - private: - int32_t _internal_index() const; - void _internal_set_index(int32_t value); - public: - - // optional int32 teamid = 4; - bool has_teamid() const; - private: - bool _internal_has_teamid() const; - public: - void clear_teamid(); - int32_t teamid() const; - void set_teamid(int32_t value); - private: - int32_t _internal_teamid() const; - void _internal_set_teamid(int32_t value); - public: - - // optional uint64 itemid = 5; - bool has_itemid() const; - private: - bool _internal_has_itemid() const; - public: - void clear_itemid(); - uint64_t itemid() const; - void set_itemid(uint64_t value); - private: - uint64_t _internal_itemid() const; - void _internal_set_itemid(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t sectionid_; - int32_t groupid_; - int32_t index_; - int32_t teamid_; - uint64_t itemid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Predictions : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Predictions) */ { - public: - inline CMsgGCCStrike15_v2_Predictions() : CMsgGCCStrike15_v2_Predictions(nullptr) {} - ~CMsgGCCStrike15_v2_Predictions() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Predictions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Predictions(const CMsgGCCStrike15_v2_Predictions& from); - CMsgGCCStrike15_v2_Predictions(CMsgGCCStrike15_v2_Predictions&& from) noexcept - : CMsgGCCStrike15_v2_Predictions() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Predictions& operator=(const CMsgGCCStrike15_v2_Predictions& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Predictions& operator=(CMsgGCCStrike15_v2_Predictions&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Predictions& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Predictions* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Predictions_default_instance_); - } - static constexpr int kIndexInFileMessages = - 102; - - friend void swap(CMsgGCCStrike15_v2_Predictions& a, CMsgGCCStrike15_v2_Predictions& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Predictions* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Predictions* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Predictions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_Predictions& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_Predictions& from) { - CMsgGCCStrike15_v2_Predictions::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_Predictions* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Predictions"; - } - protected: - explicit CMsgGCCStrike15_v2_Predictions(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick GroupMatchTeamPick; - - // accessors ------------------------------------------------------- - - enum : int { - kGroupMatchTeamPicksFieldNumber = 2, - kEventIdFieldNumber = 1, - }; - // repeated .CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick group_match_team_picks = 2; - int group_match_team_picks_size() const; - private: - int _internal_group_match_team_picks_size() const; - public: - void clear_group_match_team_picks(); - ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* mutable_group_match_team_picks(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick >* - mutable_group_match_team_picks(); - private: - const ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& _internal_group_match_team_picks(int index) const; - ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* _internal_add_group_match_team_picks(); - public: - const ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& group_match_team_picks(int index) const; - ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* add_group_match_team_picks(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick >& - group_match_team_picks() const; - - // optional uint32 event_id = 1; - bool has_event_id() const; - private: - bool _internal_has_event_id() const; - public: - void clear_event_id(); - uint32_t event_id() const; - void set_event_id(uint32_t value); - private: - uint32_t _internal_event_id() const; - void _internal_set_event_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Predictions) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick > group_match_team_picks_; - uint32_t event_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Fantasy_FantasySlot : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Fantasy.FantasySlot) */ { - public: - inline CMsgGCCStrike15_v2_Fantasy_FantasySlot() : CMsgGCCStrike15_v2_Fantasy_FantasySlot(nullptr) {} - ~CMsgGCCStrike15_v2_Fantasy_FantasySlot() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Fantasy_FantasySlot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Fantasy_FantasySlot(const CMsgGCCStrike15_v2_Fantasy_FantasySlot& from); - CMsgGCCStrike15_v2_Fantasy_FantasySlot(CMsgGCCStrike15_v2_Fantasy_FantasySlot&& from) noexcept - : CMsgGCCStrike15_v2_Fantasy_FantasySlot() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Fantasy_FantasySlot& operator=(const CMsgGCCStrike15_v2_Fantasy_FantasySlot& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Fantasy_FantasySlot& operator=(CMsgGCCStrike15_v2_Fantasy_FantasySlot&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Fantasy_FantasySlot& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Fantasy_FantasySlot* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Fantasy_FantasySlot_default_instance_); - } - static constexpr int kIndexInFileMessages = - 103; - - friend void swap(CMsgGCCStrike15_v2_Fantasy_FantasySlot& a, CMsgGCCStrike15_v2_Fantasy_FantasySlot& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Fantasy_FantasySlot* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Fantasy_FantasySlot* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Fantasy_FantasySlot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_Fantasy_FantasySlot& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_Fantasy_FantasySlot& from) { - CMsgGCCStrike15_v2_Fantasy_FantasySlot::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_Fantasy_FantasySlot* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Fantasy.FantasySlot"; - } - protected: - explicit CMsgGCCStrike15_v2_Fantasy_FantasySlot(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTypeFieldNumber = 1, - kPickFieldNumber = 2, - kItemidFieldNumber = 3, - }; - // optional int32 type = 1; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - int32_t type() const; - void set_type(int32_t value); - private: - int32_t _internal_type() const; - void _internal_set_type(int32_t value); - public: - - // optional int32 pick = 2; - bool has_pick() const; - private: - bool _internal_has_pick() const; - public: - void clear_pick(); - int32_t pick() const; - void set_pick(int32_t value); - private: - int32_t _internal_pick() const; - void _internal_set_pick(int32_t value); - public: - - // optional uint64 itemid = 3; - bool has_itemid() const; - private: - bool _internal_has_itemid() const; - public: - void clear_itemid(); - uint64_t itemid() const; - void set_itemid(uint64_t value); - private: - uint64_t _internal_itemid() const; - void _internal_set_itemid(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Fantasy.FantasySlot) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t type_; - int32_t pick_; - uint64_t itemid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Fantasy_FantasyTeam : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) */ { - public: - inline CMsgGCCStrike15_v2_Fantasy_FantasyTeam() : CMsgGCCStrike15_v2_Fantasy_FantasyTeam(nullptr) {} - ~CMsgGCCStrike15_v2_Fantasy_FantasyTeam() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Fantasy_FantasyTeam(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Fantasy_FantasyTeam(const CMsgGCCStrike15_v2_Fantasy_FantasyTeam& from); - CMsgGCCStrike15_v2_Fantasy_FantasyTeam(CMsgGCCStrike15_v2_Fantasy_FantasyTeam&& from) noexcept - : CMsgGCCStrike15_v2_Fantasy_FantasyTeam() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Fantasy_FantasyTeam& operator=(const CMsgGCCStrike15_v2_Fantasy_FantasyTeam& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Fantasy_FantasyTeam& operator=(CMsgGCCStrike15_v2_Fantasy_FantasyTeam&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Fantasy_FantasyTeam& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Fantasy_FantasyTeam* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Fantasy_FantasyTeam_default_instance_); - } - static constexpr int kIndexInFileMessages = - 104; - - friend void swap(CMsgGCCStrike15_v2_Fantasy_FantasyTeam& a, CMsgGCCStrike15_v2_Fantasy_FantasyTeam& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Fantasy_FantasyTeam* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Fantasy_FantasyTeam* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Fantasy_FantasyTeam* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_Fantasy_FantasyTeam& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_Fantasy_FantasyTeam& from) { - CMsgGCCStrike15_v2_Fantasy_FantasyTeam::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_Fantasy_FantasyTeam* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Fantasy.FantasyTeam"; - } - protected: - explicit CMsgGCCStrike15_v2_Fantasy_FantasyTeam(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSlotsFieldNumber = 2, - kSectionidFieldNumber = 1, - }; - // repeated .CMsgGCCStrike15_v2_Fantasy.FantasySlot slots = 2; - int slots_size() const; - private: - int _internal_slots_size() const; - public: - void clear_slots(); - ::CMsgGCCStrike15_v2_Fantasy_FantasySlot* mutable_slots(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasySlot >* - mutable_slots(); - private: - const ::CMsgGCCStrike15_v2_Fantasy_FantasySlot& _internal_slots(int index) const; - ::CMsgGCCStrike15_v2_Fantasy_FantasySlot* _internal_add_slots(); - public: - const ::CMsgGCCStrike15_v2_Fantasy_FantasySlot& slots(int index) const; - ::CMsgGCCStrike15_v2_Fantasy_FantasySlot* add_slots(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasySlot >& - slots() const; - - // optional int32 sectionid = 1; - bool has_sectionid() const; - private: - bool _internal_has_sectionid() const; - public: - void clear_sectionid(); - int32_t sectionid() const; - void set_sectionid(int32_t value); - private: - int32_t _internal_sectionid() const; - void _internal_set_sectionid(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Fantasy.FantasyTeam) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasySlot > slots_; - int32_t sectionid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Fantasy : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Fantasy) */ { - public: - inline CMsgGCCStrike15_v2_Fantasy() : CMsgGCCStrike15_v2_Fantasy(nullptr) {} - ~CMsgGCCStrike15_v2_Fantasy() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Fantasy(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Fantasy(const CMsgGCCStrike15_v2_Fantasy& from); - CMsgGCCStrike15_v2_Fantasy(CMsgGCCStrike15_v2_Fantasy&& from) noexcept - : CMsgGCCStrike15_v2_Fantasy() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Fantasy& operator=(const CMsgGCCStrike15_v2_Fantasy& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Fantasy& operator=(CMsgGCCStrike15_v2_Fantasy&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Fantasy& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Fantasy* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Fantasy_default_instance_); - } - static constexpr int kIndexInFileMessages = - 105; - - friend void swap(CMsgGCCStrike15_v2_Fantasy& a, CMsgGCCStrike15_v2_Fantasy& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Fantasy* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Fantasy* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Fantasy* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_Fantasy& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_Fantasy& from) { - CMsgGCCStrike15_v2_Fantasy::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_Fantasy* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Fantasy"; - } - protected: - explicit CMsgGCCStrike15_v2_Fantasy(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgGCCStrike15_v2_Fantasy_FantasySlot FantasySlot; - typedef CMsgGCCStrike15_v2_Fantasy_FantasyTeam FantasyTeam; - - // accessors ------------------------------------------------------- - - enum : int { - kTeamsFieldNumber = 2, - kEventIdFieldNumber = 1, - }; - // repeated .CMsgGCCStrike15_v2_Fantasy.FantasyTeam teams = 2; - int teams_size() const; - private: - int _internal_teams_size() const; - public: - void clear_teams(); - ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam* mutable_teams(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam >* - mutable_teams(); - private: - const ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam& _internal_teams(int index) const; - ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam* _internal_add_teams(); - public: - const ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam& teams(int index) const; - ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam* add_teams(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam >& - teams() const; - - // optional uint32 event_id = 1; - bool has_event_id() const; - private: - bool _internal_has_event_id() const; - public: - void clear_event_id(); - uint32_t event_id() const; - void set_event_id(uint32_t value); - private: - uint32_t _internal_event_id() const; - void _internal_set_event_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Fantasy) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam > teams_; - uint32_t event_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CAttribute_String : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CAttribute_String) */ { - public: - inline CAttribute_String() : CAttribute_String(nullptr) {} - ~CAttribute_String() override; - explicit PROTOBUF_CONSTEXPR CAttribute_String(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CAttribute_String(const CAttribute_String& from); - CAttribute_String(CAttribute_String&& from) noexcept - : CAttribute_String() { - *this = ::std::move(from); - } - - inline CAttribute_String& operator=(const CAttribute_String& from) { - CopyFrom(from); - return *this; - } - inline CAttribute_String& operator=(CAttribute_String&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CAttribute_String& default_instance() { - return *internal_default_instance(); - } - static inline const CAttribute_String* internal_default_instance() { - return reinterpret_cast( - &_CAttribute_String_default_instance_); - } - static constexpr int kIndexInFileMessages = - 106; - - friend void swap(CAttribute_String& a, CAttribute_String& b) { - a.Swap(&b); - } - inline void Swap(CAttribute_String* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CAttribute_String* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CAttribute_String* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CAttribute_String& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CAttribute_String& from) { - CAttribute_String::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CAttribute_String* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CAttribute_String"; - } - protected: - explicit CAttribute_String(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kValueFieldNumber = 1, - }; - // optional string value = 1; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - const std::string& value() const; - template - void set_value(ArgT0&& arg0, ArgT... args); - std::string* mutable_value(); - PROTOBUF_NODISCARD std::string* release_value(); - void set_allocated_value(std::string* value); - private: - const std::string& _internal_value() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); - std::string* _internal_mutable_value(); - public: - - // @@protoc_insertion_point(class_scope:CAttribute_String) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgLegacySource1ClientWelcome_Location : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgLegacySource1ClientWelcome.Location) */ { - public: - inline CMsgLegacySource1ClientWelcome_Location() : CMsgLegacySource1ClientWelcome_Location(nullptr) {} - ~CMsgLegacySource1ClientWelcome_Location() override; - explicit PROTOBUF_CONSTEXPR CMsgLegacySource1ClientWelcome_Location(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgLegacySource1ClientWelcome_Location(const CMsgLegacySource1ClientWelcome_Location& from); - CMsgLegacySource1ClientWelcome_Location(CMsgLegacySource1ClientWelcome_Location&& from) noexcept - : CMsgLegacySource1ClientWelcome_Location() { - *this = ::std::move(from); - } - - inline CMsgLegacySource1ClientWelcome_Location& operator=(const CMsgLegacySource1ClientWelcome_Location& from) { - CopyFrom(from); - return *this; - } - inline CMsgLegacySource1ClientWelcome_Location& operator=(CMsgLegacySource1ClientWelcome_Location&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgLegacySource1ClientWelcome_Location& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgLegacySource1ClientWelcome_Location* internal_default_instance() { - return reinterpret_cast( - &_CMsgLegacySource1ClientWelcome_Location_default_instance_); - } - static constexpr int kIndexInFileMessages = - 107; - - friend void swap(CMsgLegacySource1ClientWelcome_Location& a, CMsgLegacySource1ClientWelcome_Location& b) { - a.Swap(&b); - } - inline void Swap(CMsgLegacySource1ClientWelcome_Location* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgLegacySource1ClientWelcome_Location* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgLegacySource1ClientWelcome_Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgLegacySource1ClientWelcome_Location& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgLegacySource1ClientWelcome_Location& from) { - CMsgLegacySource1ClientWelcome_Location::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgLegacySource1ClientWelcome_Location* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgLegacySource1ClientWelcome.Location"; - } - protected: - explicit CMsgLegacySource1ClientWelcome_Location(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCountryFieldNumber = 3, - kLatitudeFieldNumber = 1, - kLongitudeFieldNumber = 2, - }; - // optional string country = 3; - bool has_country() const; - private: - bool _internal_has_country() const; - public: - void clear_country(); - const std::string& country() const; - template - void set_country(ArgT0&& arg0, ArgT... args); - std::string* mutable_country(); - PROTOBUF_NODISCARD std::string* release_country(); - void set_allocated_country(std::string* country); - private: - const std::string& _internal_country() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_country(const std::string& value); - std::string* _internal_mutable_country(); - public: - - // optional float latitude = 1; - bool has_latitude() const; - private: - bool _internal_has_latitude() const; - public: - void clear_latitude(); - float latitude() const; - void set_latitude(float value); - private: - float _internal_latitude() const; - void _internal_set_latitude(float value); - public: - - // optional float longitude = 2; - bool has_longitude() const; - private: - bool _internal_has_longitude() const; - public: - void clear_longitude(); - float longitude() const; - void set_longitude(float value); - private: - float _internal_longitude() const; - void _internal_set_longitude(float value); - public: - - // @@protoc_insertion_point(class_scope:CMsgLegacySource1ClientWelcome.Location) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr country_; - float latitude_; - float longitude_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgLegacySource1ClientWelcome : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgLegacySource1ClientWelcome) */ { - public: - inline CMsgLegacySource1ClientWelcome() : CMsgLegacySource1ClientWelcome(nullptr) {} - ~CMsgLegacySource1ClientWelcome() override; - explicit PROTOBUF_CONSTEXPR CMsgLegacySource1ClientWelcome(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgLegacySource1ClientWelcome(const CMsgLegacySource1ClientWelcome& from); - CMsgLegacySource1ClientWelcome(CMsgLegacySource1ClientWelcome&& from) noexcept - : CMsgLegacySource1ClientWelcome() { - *this = ::std::move(from); - } - - inline CMsgLegacySource1ClientWelcome& operator=(const CMsgLegacySource1ClientWelcome& from) { - CopyFrom(from); - return *this; - } - inline CMsgLegacySource1ClientWelcome& operator=(CMsgLegacySource1ClientWelcome&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgLegacySource1ClientWelcome& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgLegacySource1ClientWelcome* internal_default_instance() { - return reinterpret_cast( - &_CMsgLegacySource1ClientWelcome_default_instance_); - } - static constexpr int kIndexInFileMessages = - 108; - - friend void swap(CMsgLegacySource1ClientWelcome& a, CMsgLegacySource1ClientWelcome& b) { - a.Swap(&b); - } - inline void Swap(CMsgLegacySource1ClientWelcome* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgLegacySource1ClientWelcome* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgLegacySource1ClientWelcome* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgLegacySource1ClientWelcome& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgLegacySource1ClientWelcome& from) { - CMsgLegacySource1ClientWelcome::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgLegacySource1ClientWelcome* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgLegacySource1ClientWelcome"; - } - protected: - explicit CMsgLegacySource1ClientWelcome(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgLegacySource1ClientWelcome_Location Location; - - // accessors ------------------------------------------------------- - - enum : int { - kOutofdateSubscribedCachesFieldNumber = 3, - kUptodateSubscribedCachesFieldNumber = 4, - kGameDataFieldNumber = 2, - kGameData2FieldNumber = 6, - kBalanceUrlFieldNumber = 10, - kTxnCountryCodeFieldNumber = 11, - kLocationFieldNumber = 5, - kVersionFieldNumber = 1, - kRtime32GcWelcomeTimestampFieldNumber = 7, - kCurrencyFieldNumber = 8, - kBalanceFieldNumber = 9, - }; - // repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; - int outofdate_subscribed_caches_size() const; - private: - int _internal_outofdate_subscribed_caches_size() const; - public: - void clear_outofdate_subscribed_caches(); - ::CMsgSOCacheSubscribed* mutable_outofdate_subscribed_caches(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed >* - mutable_outofdate_subscribed_caches(); - private: - const ::CMsgSOCacheSubscribed& _internal_outofdate_subscribed_caches(int index) const; - ::CMsgSOCacheSubscribed* _internal_add_outofdate_subscribed_caches(); - public: - const ::CMsgSOCacheSubscribed& outofdate_subscribed_caches(int index) const; - ::CMsgSOCacheSubscribed* add_outofdate_subscribed_caches(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed >& - outofdate_subscribed_caches() const; - - // repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; - int uptodate_subscribed_caches_size() const; - private: - int _internal_uptodate_subscribed_caches_size() const; - public: - void clear_uptodate_subscribed_caches(); - ::CMsgSOCacheSubscriptionCheck* mutable_uptodate_subscribed_caches(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck >* - mutable_uptodate_subscribed_caches(); - private: - const ::CMsgSOCacheSubscriptionCheck& _internal_uptodate_subscribed_caches(int index) const; - ::CMsgSOCacheSubscriptionCheck* _internal_add_uptodate_subscribed_caches(); - public: - const ::CMsgSOCacheSubscriptionCheck& uptodate_subscribed_caches(int index) const; - ::CMsgSOCacheSubscriptionCheck* add_uptodate_subscribed_caches(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck >& - uptodate_subscribed_caches() const; - - // optional bytes game_data = 2; - bool has_game_data() const; - private: - bool _internal_has_game_data() const; - public: - void clear_game_data(); - const std::string& game_data() const; - template - void set_game_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_game_data(); - PROTOBUF_NODISCARD std::string* release_game_data(); - void set_allocated_game_data(std::string* game_data); - private: - const std::string& _internal_game_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_data(const std::string& value); - std::string* _internal_mutable_game_data(); - public: - - // optional bytes game_data2 = 6; - bool has_game_data2() const; - private: - bool _internal_has_game_data2() const; - public: - void clear_game_data2(); - const std::string& game_data2() const; - template - void set_game_data2(ArgT0&& arg0, ArgT... args); - std::string* mutable_game_data2(); - PROTOBUF_NODISCARD std::string* release_game_data2(); - void set_allocated_game_data2(std::string* game_data2); - private: - const std::string& _internal_game_data2() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_data2(const std::string& value); - std::string* _internal_mutable_game_data2(); - public: - - // optional string balance_url = 10; - bool has_balance_url() const; - private: - bool _internal_has_balance_url() const; - public: - void clear_balance_url(); - const std::string& balance_url() const; - template - void set_balance_url(ArgT0&& arg0, ArgT... args); - std::string* mutable_balance_url(); - PROTOBUF_NODISCARD std::string* release_balance_url(); - void set_allocated_balance_url(std::string* balance_url); - private: - const std::string& _internal_balance_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_balance_url(const std::string& value); - std::string* _internal_mutable_balance_url(); - public: - - // optional string txn_country_code = 11; - bool has_txn_country_code() const; - private: - bool _internal_has_txn_country_code() const; - public: - void clear_txn_country_code(); - const std::string& txn_country_code() const; - template - void set_txn_country_code(ArgT0&& arg0, ArgT... args); - std::string* mutable_txn_country_code(); - PROTOBUF_NODISCARD std::string* release_txn_country_code(); - void set_allocated_txn_country_code(std::string* txn_country_code); - private: - const std::string& _internal_txn_country_code() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_txn_country_code(const std::string& value); - std::string* _internal_mutable_txn_country_code(); - public: - - // optional .CMsgLegacySource1ClientWelcome.Location location = 5; - bool has_location() const; - private: - bool _internal_has_location() const; - public: - void clear_location(); - const ::CMsgLegacySource1ClientWelcome_Location& location() const; - PROTOBUF_NODISCARD ::CMsgLegacySource1ClientWelcome_Location* release_location(); - ::CMsgLegacySource1ClientWelcome_Location* mutable_location(); - void set_allocated_location(::CMsgLegacySource1ClientWelcome_Location* location); - private: - const ::CMsgLegacySource1ClientWelcome_Location& _internal_location() const; - ::CMsgLegacySource1ClientWelcome_Location* _internal_mutable_location(); - public: - void unsafe_arena_set_allocated_location( - ::CMsgLegacySource1ClientWelcome_Location* location); - ::CMsgLegacySource1ClientWelcome_Location* unsafe_arena_release_location(); - - // optional uint32 version = 1; - bool has_version() const; - private: - bool _internal_has_version() const; - public: - void clear_version(); - uint32_t version() const; - void set_version(uint32_t value); - private: - uint32_t _internal_version() const; - void _internal_set_version(uint32_t value); - public: - - // optional uint32 rtime32_gc_welcome_timestamp = 7; - bool has_rtime32_gc_welcome_timestamp() const; - private: - bool _internal_has_rtime32_gc_welcome_timestamp() const; - public: - void clear_rtime32_gc_welcome_timestamp(); - uint32_t rtime32_gc_welcome_timestamp() const; - void set_rtime32_gc_welcome_timestamp(uint32_t value); - private: - uint32_t _internal_rtime32_gc_welcome_timestamp() const; - void _internal_set_rtime32_gc_welcome_timestamp(uint32_t value); - public: - - // optional uint32 currency = 8; - bool has_currency() const; - private: - bool _internal_has_currency() const; - public: - void clear_currency(); - uint32_t currency() const; - void set_currency(uint32_t value); - private: - uint32_t _internal_currency() const; - void _internal_set_currency(uint32_t value); - public: - - // optional uint32 balance = 9; - bool has_balance() const; - private: - bool _internal_has_balance() const; - public: - void clear_balance(); - uint32_t balance() const; - void set_balance(uint32_t value); - private: - uint32_t _internal_balance() const; - void _internal_set_balance(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgLegacySource1ClientWelcome) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed > outofdate_subscribed_caches_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck > uptodate_subscribed_caches_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_data_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_data2_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr balance_url_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr txn_country_code_; - ::CMsgLegacySource1ClientWelcome_Location* location_; - uint32_t version_; - uint32_t rtime32_gc_welcome_timestamp_; - uint32_t currency_; - uint32_t balance_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgCStrike15Welcome : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgCStrike15Welcome) */ { - public: - inline CMsgCStrike15Welcome() : CMsgCStrike15Welcome(nullptr) {} - ~CMsgCStrike15Welcome() override; - explicit PROTOBUF_CONSTEXPR CMsgCStrike15Welcome(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgCStrike15Welcome(const CMsgCStrike15Welcome& from); - CMsgCStrike15Welcome(CMsgCStrike15Welcome&& from) noexcept - : CMsgCStrike15Welcome() { - *this = ::std::move(from); - } - - inline CMsgCStrike15Welcome& operator=(const CMsgCStrike15Welcome& from) { - CopyFrom(from); - return *this; - } - inline CMsgCStrike15Welcome& operator=(CMsgCStrike15Welcome&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgCStrike15Welcome& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgCStrike15Welcome* internal_default_instance() { - return reinterpret_cast( - &_CMsgCStrike15Welcome_default_instance_); - } - static constexpr int kIndexInFileMessages = - 109; - - friend void swap(CMsgCStrike15Welcome& a, CMsgCStrike15Welcome& b) { - a.Swap(&b); - } - inline void Swap(CMsgCStrike15Welcome* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgCStrike15Welcome* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgCStrike15Welcome* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgCStrike15Welcome& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgCStrike15Welcome& from) { - CMsgCStrike15Welcome::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgCStrike15Welcome* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgCStrike15Welcome"; - } - protected: - explicit CMsgCStrike15Welcome(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStoreItemHashFieldNumber = 5, - kTimeplayedconsecutivelyFieldNumber = 6, - kTimeFirstPlayedFieldNumber = 10, - kLastTimePlayedFieldNumber = 12, - kGscookieidFieldNumber = 18, - kUniqueidFieldNumber = 19, - kLastIpAddressFieldNumber = 13, - }; - // optional uint32 store_item_hash = 5; - bool has_store_item_hash() const; - private: - bool _internal_has_store_item_hash() const; - public: - void clear_store_item_hash(); - uint32_t store_item_hash() const; - void set_store_item_hash(uint32_t value); - private: - uint32_t _internal_store_item_hash() const; - void _internal_set_store_item_hash(uint32_t value); - public: - - // optional uint32 timeplayedconsecutively = 6; - bool has_timeplayedconsecutively() const; - private: - bool _internal_has_timeplayedconsecutively() const; - public: - void clear_timeplayedconsecutively(); - uint32_t timeplayedconsecutively() const; - void set_timeplayedconsecutively(uint32_t value); - private: - uint32_t _internal_timeplayedconsecutively() const; - void _internal_set_timeplayedconsecutively(uint32_t value); - public: - - // optional uint32 time_first_played = 10; - bool has_time_first_played() const; - private: - bool _internal_has_time_first_played() const; - public: - void clear_time_first_played(); - uint32_t time_first_played() const; - void set_time_first_played(uint32_t value); - private: - uint32_t _internal_time_first_played() const; - void _internal_set_time_first_played(uint32_t value); - public: - - // optional uint32 last_time_played = 12; - bool has_last_time_played() const; - private: - bool _internal_has_last_time_played() const; - public: - void clear_last_time_played(); - uint32_t last_time_played() const; - void set_last_time_played(uint32_t value); - private: - uint32_t _internal_last_time_played() const; - void _internal_set_last_time_played(uint32_t value); - public: - - // optional uint64 gscookieid = 18; - bool has_gscookieid() const; - private: - bool _internal_has_gscookieid() const; - public: - void clear_gscookieid(); - uint64_t gscookieid() const; - void set_gscookieid(uint64_t value); - private: - uint64_t _internal_gscookieid() const; - void _internal_set_gscookieid(uint64_t value); - public: - - // optional uint64 uniqueid = 19; - bool has_uniqueid() const; - private: - bool _internal_has_uniqueid() const; - public: - void clear_uniqueid(); - uint64_t uniqueid() const; - void set_uniqueid(uint64_t value); - private: - uint64_t _internal_uniqueid() const; - void _internal_set_uniqueid(uint64_t value); - public: - - // optional uint32 last_ip_address = 13; - bool has_last_ip_address() const; - private: - bool _internal_has_last_ip_address() const; - public: - void clear_last_ip_address(); - uint32_t last_ip_address() const; - void set_last_ip_address(uint32_t value); - private: - uint32_t _internal_last_ip_address() const; - void _internal_set_last_ip_address(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgCStrike15Welcome) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t store_item_hash_; - uint32_t timeplayedconsecutively_; - uint32_t time_first_played_; - uint32_t last_time_played_; - uint64_t gscookieid_; - uint64_t uniqueid_; - uint32_t last_ip_address_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientVarValueNotificationInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) */ { - public: - inline CMsgGCCStrike15_v2_ClientVarValueNotificationInfo() : CMsgGCCStrike15_v2_ClientVarValueNotificationInfo(nullptr) {} - ~CMsgGCCStrike15_v2_ClientVarValueNotificationInfo() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientVarValueNotificationInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientVarValueNotificationInfo(const CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& from); - CMsgGCCStrike15_v2_ClientVarValueNotificationInfo(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo&& from) noexcept - : CMsgGCCStrike15_v2_ClientVarValueNotificationInfo() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& operator=(const CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& operator=(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientVarValueNotificationInfo* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientVarValueNotificationInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 110; - - friend void swap(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& a, CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientVarValueNotificationInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientVarValueNotificationInfo& from) { - CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientVarValueNotificationInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientVarValueNotificationInfo"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientVarValueNotificationInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kChokedBlocksFieldNumber = 5, - kValueNameFieldNumber = 1, - kValueIntFieldNumber = 2, - kServerAddrFieldNumber = 3, - kServerPortFieldNumber = 4, - }; - // repeated string choked_blocks = 5; - int choked_blocks_size() const; - private: - int _internal_choked_blocks_size() const; - public: - void clear_choked_blocks(); - const std::string& choked_blocks(int index) const; - std::string* mutable_choked_blocks(int index); - void set_choked_blocks(int index, const std::string& value); - void set_choked_blocks(int index, std::string&& value); - void set_choked_blocks(int index, const char* value); - void set_choked_blocks(int index, const char* value, size_t size); - std::string* add_choked_blocks(); - void add_choked_blocks(const std::string& value); - void add_choked_blocks(std::string&& value); - void add_choked_blocks(const char* value); - void add_choked_blocks(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& choked_blocks() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_choked_blocks(); - private: - const std::string& _internal_choked_blocks(int index) const; - std::string* _internal_add_choked_blocks(); - public: - - // optional string value_name = 1; - bool has_value_name() const; - private: - bool _internal_has_value_name() const; - public: - void clear_value_name(); - const std::string& value_name() const; - template - void set_value_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_value_name(); - PROTOBUF_NODISCARD std::string* release_value_name(); - void set_allocated_value_name(std::string* value_name); - private: - const std::string& _internal_value_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_value_name(const std::string& value); - std::string* _internal_mutable_value_name(); - public: - - // optional int32 value_int = 2; - bool has_value_int() const; - private: - bool _internal_has_value_int() const; - public: - void clear_value_int(); - int32_t value_int() const; - void set_value_int(int32_t value); - private: - int32_t _internal_value_int() const; - void _internal_set_value_int(int32_t value); - public: - - // optional uint32 server_addr = 3; - bool has_server_addr() const; - private: - bool _internal_has_server_addr() const; - public: - void clear_server_addr(); - uint32_t server_addr() const; - void set_server_addr(uint32_t value); - private: - uint32_t _internal_server_addr() const; - void _internal_set_server_addr(uint32_t value); - public: - - // optional uint32 server_port = 4; - bool has_server_port() const; - private: - bool _internal_has_server_port() const; - public: - void clear_server_port(); - uint32_t server_port() const; - void set_server_port(uint32_t value); - private: - uint32_t _internal_server_port() const; - void _internal_set_server_port(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField choked_blocks_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_name_; - int32_t value_int_; - uint32_t server_addr_; - uint32_t server_port_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ServerVarValueNotificationInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) */ { - public: - inline CMsgGCCStrike15_v2_ServerVarValueNotificationInfo() : CMsgGCCStrike15_v2_ServerVarValueNotificationInfo(nullptr) {} - ~CMsgGCCStrike15_v2_ServerVarValueNotificationInfo() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ServerVarValueNotificationInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ServerVarValueNotificationInfo(const CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& from); - CMsgGCCStrike15_v2_ServerVarValueNotificationInfo(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo&& from) noexcept - : CMsgGCCStrike15_v2_ServerVarValueNotificationInfo() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& operator=(const CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& operator=(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ServerVarValueNotificationInfo* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ServerVarValueNotificationInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 111; - - friend void swap(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& a, CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ServerVarValueNotificationInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ServerVarValueNotificationInfo& from) { - CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ServerVarValueNotificationInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ServerVarValueNotificationInfo"; - } - protected: - explicit CMsgGCCStrike15_v2_ServerVarValueNotificationInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kViewanglesFieldNumber = 2, - kUserdataFieldNumber = 4, - kAccountidFieldNumber = 1, - kTypeFieldNumber = 3, - }; - // repeated uint32 viewangles = 2; - int viewangles_size() const; - private: - int _internal_viewangles_size() const; - public: - void clear_viewangles(); - private: - uint32_t _internal_viewangles(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_viewangles() const; - void _internal_add_viewangles(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_viewangles(); - public: - uint32_t viewangles(int index) const; - void set_viewangles(int index, uint32_t value); - void add_viewangles(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - viewangles() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_viewangles(); - - // repeated uint32 userdata = 4; - int userdata_size() const; - private: - int _internal_userdata_size() const; - public: - void clear_userdata(); - private: - uint32_t _internal_userdata(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_userdata() const; - void _internal_add_userdata(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_userdata(); - public: - uint32_t userdata(int index) const; - void set_userdata(int index, uint32_t value); - void add_userdata(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - userdata() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_userdata(); - - // optional uint32 accountid = 1; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // optional uint32 type = 3; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - uint32_t type() const; - void set_type(uint32_t value); - private: - uint32_t _internal_type() const; - void _internal_set_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > viewangles_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > userdata_; - uint32_t accountid_; - uint32_t type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_GiftsLeaderboardRequest : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GiftsLeaderboardRequest) */ { - public: - inline CMsgGCCStrike15_v2_GiftsLeaderboardRequest() : CMsgGCCStrike15_v2_GiftsLeaderboardRequest(nullptr) {} - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GiftsLeaderboardRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_GiftsLeaderboardRequest(const CMsgGCCStrike15_v2_GiftsLeaderboardRequest& from); - CMsgGCCStrike15_v2_GiftsLeaderboardRequest(CMsgGCCStrike15_v2_GiftsLeaderboardRequest&& from) noexcept - : CMsgGCCStrike15_v2_GiftsLeaderboardRequest() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_GiftsLeaderboardRequest& operator=(const CMsgGCCStrike15_v2_GiftsLeaderboardRequest& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_GiftsLeaderboardRequest& operator=(CMsgGCCStrike15_v2_GiftsLeaderboardRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_GiftsLeaderboardRequest& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_GiftsLeaderboardRequest* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_GiftsLeaderboardRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 112; - - friend void swap(CMsgGCCStrike15_v2_GiftsLeaderboardRequest& a, CMsgGCCStrike15_v2_GiftsLeaderboardRequest& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_GiftsLeaderboardRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_GiftsLeaderboardRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_GiftsLeaderboardRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CMsgGCCStrike15_v2_GiftsLeaderboardRequest& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CMsgGCCStrike15_v2_GiftsLeaderboardRequest& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_GiftsLeaderboardRequest"; - } - protected: - explicit CMsgGCCStrike15_v2_GiftsLeaderboardRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GiftsLeaderboardRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) */ { - public: - inline CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry() : CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry(nullptr) {} - ~CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& from); - CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry&& from) noexcept - : CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& operator=(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& operator=(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry_default_instance_); - } - static constexpr int kIndexInFileMessages = - 113; - - friend void swap(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& a, CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& from) { - CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry"; - } - protected: - explicit CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountidFieldNumber = 1, - kGiftsFieldNumber = 2, - }; - // optional uint32 accountid = 1; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // optional uint32 gifts = 2; - bool has_gifts() const; - private: - bool _internal_has_gifts() const; - public: - void clear_gifts(); - uint32_t gifts() const; - void set_gifts(uint32_t value); - private: - uint32_t _internal_gifts() const; - void _internal_set_gifts(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t accountid_; - uint32_t gifts_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_GiftsLeaderboardResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) */ { - public: - inline CMsgGCCStrike15_v2_GiftsLeaderboardResponse() : CMsgGCCStrike15_v2_GiftsLeaderboardResponse(nullptr) {} - ~CMsgGCCStrike15_v2_GiftsLeaderboardResponse() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GiftsLeaderboardResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_GiftsLeaderboardResponse(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse& from); - CMsgGCCStrike15_v2_GiftsLeaderboardResponse(CMsgGCCStrike15_v2_GiftsLeaderboardResponse&& from) noexcept - : CMsgGCCStrike15_v2_GiftsLeaderboardResponse() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_GiftsLeaderboardResponse& operator=(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_GiftsLeaderboardResponse& operator=(CMsgGCCStrike15_v2_GiftsLeaderboardResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_GiftsLeaderboardResponse& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_GiftsLeaderboardResponse* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_GiftsLeaderboardResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 114; - - friend void swap(CMsgGCCStrike15_v2_GiftsLeaderboardResponse& a, CMsgGCCStrike15_v2_GiftsLeaderboardResponse& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_GiftsLeaderboardResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_GiftsLeaderboardResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_GiftsLeaderboardResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_GiftsLeaderboardResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_GiftsLeaderboardResponse& from) { - CMsgGCCStrike15_v2_GiftsLeaderboardResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_GiftsLeaderboardResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_GiftsLeaderboardResponse"; - } - protected: - explicit CMsgGCCStrike15_v2_GiftsLeaderboardResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry GiftLeaderboardEntry; - - // accessors ------------------------------------------------------- - - enum : int { - kEntriesFieldNumber = 5, - kServertimeFieldNumber = 1, - kTimePeriodSecondsFieldNumber = 2, - kTotalGiftsGivenFieldNumber = 3, - kTotalGiversFieldNumber = 4, - }; - // repeated .CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry entries = 5; - int entries_size() const; - private: - int _internal_entries_size() const; - public: - void clear_entries(); - ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* mutable_entries(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry >* - mutable_entries(); - private: - const ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& _internal_entries(int index) const; - ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* _internal_add_entries(); - public: - const ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& entries(int index) const; - ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* add_entries(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry >& - entries() const; - - // optional uint32 servertime = 1; - bool has_servertime() const; - private: - bool _internal_has_servertime() const; - public: - void clear_servertime(); - uint32_t servertime() const; - void set_servertime(uint32_t value); - private: - uint32_t _internal_servertime() const; - void _internal_set_servertime(uint32_t value); - public: - - // optional uint32 time_period_seconds = 2; - bool has_time_period_seconds() const; - private: - bool _internal_has_time_period_seconds() const; - public: - void clear_time_period_seconds(); - uint32_t time_period_seconds() const; - void set_time_period_seconds(uint32_t value); - private: - uint32_t _internal_time_period_seconds() const; - void _internal_set_time_period_seconds(uint32_t value); - public: - - // optional uint32 total_gifts_given = 3; - bool has_total_gifts_given() const; - private: - bool _internal_has_total_gifts_given() const; - public: - void clear_total_gifts_given(); - uint32_t total_gifts_given() const; - void set_total_gifts_given(uint32_t value); - private: - uint32_t _internal_total_gifts_given() const; - void _internal_set_total_gifts_given(uint32_t value); - public: - - // optional uint32 total_givers = 4; - bool has_total_givers() const; - private: - bool _internal_has_total_givers() const; - public: - void clear_total_givers(); - uint32_t total_givers() const; - void set_total_givers(uint32_t value); - private: - uint32_t _internal_total_givers() const; - void _internal_set_total_givers(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GiftsLeaderboardResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry > entries_; - uint32_t servertime_; - uint32_t time_period_seconds_; - uint32_t total_gifts_given_; - uint32_t total_givers_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientSubmitSurveyVote : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) */ { - public: - inline CMsgGCCStrike15_v2_ClientSubmitSurveyVote() : CMsgGCCStrike15_v2_ClientSubmitSurveyVote(nullptr) {} - ~CMsgGCCStrike15_v2_ClientSubmitSurveyVote() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientSubmitSurveyVote(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientSubmitSurveyVote(const CMsgGCCStrike15_v2_ClientSubmitSurveyVote& from); - CMsgGCCStrike15_v2_ClientSubmitSurveyVote(CMsgGCCStrike15_v2_ClientSubmitSurveyVote&& from) noexcept - : CMsgGCCStrike15_v2_ClientSubmitSurveyVote() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientSubmitSurveyVote& operator=(const CMsgGCCStrike15_v2_ClientSubmitSurveyVote& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientSubmitSurveyVote& operator=(CMsgGCCStrike15_v2_ClientSubmitSurveyVote&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientSubmitSurveyVote& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientSubmitSurveyVote* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientSubmitSurveyVote_default_instance_); - } - static constexpr int kIndexInFileMessages = - 115; - - friend void swap(CMsgGCCStrike15_v2_ClientSubmitSurveyVote& a, CMsgGCCStrike15_v2_ClientSubmitSurveyVote& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientSubmitSurveyVote* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientSubmitSurveyVote* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientSubmitSurveyVote* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientSubmitSurveyVote& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientSubmitSurveyVote& from) { - CMsgGCCStrike15_v2_ClientSubmitSurveyVote::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientSubmitSurveyVote* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientSubmitSurveyVote"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientSubmitSurveyVote(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSurveyIdFieldNumber = 1, - kVoteFieldNumber = 2, - }; - // optional uint32 survey_id = 1; - bool has_survey_id() const; - private: - bool _internal_has_survey_id() const; - public: - void clear_survey_id(); - uint32_t survey_id() const; - void set_survey_id(uint32_t value); - private: - uint32_t _internal_survey_id() const; - void _internal_set_survey_id(uint32_t value); - public: - - // optional uint32 vote = 2; - bool has_vote() const; - private: - bool _internal_has_vote() const; - public: - void clear_vote(); - uint32_t vote() const; - void set_vote(uint32_t value); - private: - uint32_t _internal_vote() const; - void _internal_set_vote(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientSubmitSurveyVote) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t survey_id_; - uint32_t vote_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Server2GCClientValidate : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Server2GCClientValidate) */ { - public: - inline CMsgGCCStrike15_v2_Server2GCClientValidate() : CMsgGCCStrike15_v2_Server2GCClientValidate(nullptr) {} - ~CMsgGCCStrike15_v2_Server2GCClientValidate() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Server2GCClientValidate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Server2GCClientValidate(const CMsgGCCStrike15_v2_Server2GCClientValidate& from); - CMsgGCCStrike15_v2_Server2GCClientValidate(CMsgGCCStrike15_v2_Server2GCClientValidate&& from) noexcept - : CMsgGCCStrike15_v2_Server2GCClientValidate() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Server2GCClientValidate& operator=(const CMsgGCCStrike15_v2_Server2GCClientValidate& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Server2GCClientValidate& operator=(CMsgGCCStrike15_v2_Server2GCClientValidate&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Server2GCClientValidate& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Server2GCClientValidate* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Server2GCClientValidate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 116; - - friend void swap(CMsgGCCStrike15_v2_Server2GCClientValidate& a, CMsgGCCStrike15_v2_Server2GCClientValidate& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Server2GCClientValidate* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Server2GCClientValidate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Server2GCClientValidate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_Server2GCClientValidate& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_Server2GCClientValidate& from) { - CMsgGCCStrike15_v2_Server2GCClientValidate::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_Server2GCClientValidate* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Server2GCClientValidate"; - } - protected: - explicit CMsgGCCStrike15_v2_Server2GCClientValidate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountidFieldNumber = 1, - }; - // optional uint32 accountid = 1; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Server2GCClientValidate) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t accountid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_GC2ClientTournamentInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) */ { - public: - inline CMsgGCCStrike15_v2_GC2ClientTournamentInfo() : CMsgGCCStrike15_v2_GC2ClientTournamentInfo(nullptr) {} - ~CMsgGCCStrike15_v2_GC2ClientTournamentInfo() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientTournamentInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_GC2ClientTournamentInfo(const CMsgGCCStrike15_v2_GC2ClientTournamentInfo& from); - CMsgGCCStrike15_v2_GC2ClientTournamentInfo(CMsgGCCStrike15_v2_GC2ClientTournamentInfo&& from) noexcept - : CMsgGCCStrike15_v2_GC2ClientTournamentInfo() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_GC2ClientTournamentInfo& operator=(const CMsgGCCStrike15_v2_GC2ClientTournamentInfo& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_GC2ClientTournamentInfo& operator=(CMsgGCCStrike15_v2_GC2ClientTournamentInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_GC2ClientTournamentInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_GC2ClientTournamentInfo* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_GC2ClientTournamentInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 117; - - friend void swap(CMsgGCCStrike15_v2_GC2ClientTournamentInfo& a, CMsgGCCStrike15_v2_GC2ClientTournamentInfo& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_GC2ClientTournamentInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_GC2ClientTournamentInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_GC2ClientTournamentInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_GC2ClientTournamentInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_GC2ClientTournamentInfo& from) { - CMsgGCCStrike15_v2_GC2ClientTournamentInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_GC2ClientTournamentInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_GC2ClientTournamentInfo"; - } - protected: - explicit CMsgGCCStrike15_v2_GC2ClientTournamentInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTeamidsFieldNumber = 4, - kEventidFieldNumber = 1, - kStageidFieldNumber = 2, - kGameTypeFieldNumber = 3, - }; - // repeated uint32 teamids = 4; - int teamids_size() const; - private: - int _internal_teamids_size() const; - public: - void clear_teamids(); - private: - uint32_t _internal_teamids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_teamids() const; - void _internal_add_teamids(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_teamids(); - public: - uint32_t teamids(int index) const; - void set_teamids(int index, uint32_t value); - void add_teamids(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - teamids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_teamids(); - - // optional uint32 eventid = 1; - bool has_eventid() const; - private: - bool _internal_has_eventid() const; - public: - void clear_eventid(); - uint32_t eventid() const; - void set_eventid(uint32_t value); - private: - uint32_t _internal_eventid() const; - void _internal_set_eventid(uint32_t value); - public: - - // optional uint32 stageid = 2; - bool has_stageid() const; - private: - bool _internal_has_stageid() const; - public: - void clear_stageid(); - uint32_t stageid() const; - void set_stageid(uint32_t value); - private: - uint32_t _internal_stageid() const; - void _internal_set_stageid(uint32_t value); - public: - - // optional uint32 game_type = 3; - bool has_game_type() const; - private: - bool _internal_has_game_type() const; - public: - void clear_game_type(); - uint32_t game_type() const; - void set_game_type(uint32_t value); - private: - uint32_t _internal_game_type() const; - void _internal_set_game_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GC2ClientTournamentInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > teamids_; - uint32_t eventid_; - uint32_t stageid_; - uint32_t game_type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOEconCoupon : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOEconCoupon) */ { - public: - inline CSOEconCoupon() : CSOEconCoupon(nullptr) {} - ~CSOEconCoupon() override; - explicit PROTOBUF_CONSTEXPR CSOEconCoupon(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOEconCoupon(const CSOEconCoupon& from); - CSOEconCoupon(CSOEconCoupon&& from) noexcept - : CSOEconCoupon() { - *this = ::std::move(from); - } - - inline CSOEconCoupon& operator=(const CSOEconCoupon& from) { - CopyFrom(from); - return *this; - } - inline CSOEconCoupon& operator=(CSOEconCoupon&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOEconCoupon& default_instance() { - return *internal_default_instance(); - } - static inline const CSOEconCoupon* internal_default_instance() { - return reinterpret_cast( - &_CSOEconCoupon_default_instance_); - } - static constexpr int kIndexInFileMessages = - 118; - - friend void swap(CSOEconCoupon& a, CSOEconCoupon& b) { - a.Swap(&b); - } - inline void Swap(CSOEconCoupon* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOEconCoupon* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOEconCoupon* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOEconCoupon& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOEconCoupon& from) { - CSOEconCoupon::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOEconCoupon* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOEconCoupon"; - } - protected: - explicit CSOEconCoupon(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEntryidFieldNumber = 1, - kDefidxFieldNumber = 2, - kExpirationDateFieldNumber = 3, - }; - // optional uint32 entryid = 1 [(.key_field) = true]; - bool has_entryid() const; - private: - bool _internal_has_entryid() const; - public: - void clear_entryid(); - uint32_t entryid() const; - void set_entryid(uint32_t value); - private: - uint32_t _internal_entryid() const; - void _internal_set_entryid(uint32_t value); - public: - - // optional uint32 defidx = 2; - bool has_defidx() const; - private: - bool _internal_has_defidx() const; - public: - void clear_defidx(); - uint32_t defidx() const; - void set_defidx(uint32_t value); - private: - uint32_t _internal_defidx() const; - void _internal_set_defidx(uint32_t value); - public: - - // optional fixed32 expiration_date = 3; - bool has_expiration_date() const; - private: - bool _internal_has_expiration_date() const; - public: - void clear_expiration_date(); - uint32_t expiration_date() const; - void set_expiration_date(uint32_t value); - private: - uint32_t _internal_expiration_date() const; - void _internal_set_expiration_date(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOEconCoupon) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t entryid_; - uint32_t defidx_; - uint32_t expiration_date_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOAccountItemPersonalStore : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOAccountItemPersonalStore) */ { - public: - inline CSOAccountItemPersonalStore() : CSOAccountItemPersonalStore(nullptr) {} - ~CSOAccountItemPersonalStore() override; - explicit PROTOBUF_CONSTEXPR CSOAccountItemPersonalStore(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOAccountItemPersonalStore(const CSOAccountItemPersonalStore& from); - CSOAccountItemPersonalStore(CSOAccountItemPersonalStore&& from) noexcept - : CSOAccountItemPersonalStore() { - *this = ::std::move(from); - } - - inline CSOAccountItemPersonalStore& operator=(const CSOAccountItemPersonalStore& from) { - CopyFrom(from); - return *this; - } - inline CSOAccountItemPersonalStore& operator=(CSOAccountItemPersonalStore&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOAccountItemPersonalStore& default_instance() { - return *internal_default_instance(); - } - static inline const CSOAccountItemPersonalStore* internal_default_instance() { - return reinterpret_cast( - &_CSOAccountItemPersonalStore_default_instance_); - } - static constexpr int kIndexInFileMessages = - 119; - - friend void swap(CSOAccountItemPersonalStore& a, CSOAccountItemPersonalStore& b) { - a.Swap(&b); - } - inline void Swap(CSOAccountItemPersonalStore* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOAccountItemPersonalStore* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOAccountItemPersonalStore* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOAccountItemPersonalStore& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOAccountItemPersonalStore& from) { - CSOAccountItemPersonalStore::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOAccountItemPersonalStore* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOAccountItemPersonalStore"; - } - protected: - explicit CSOAccountItemPersonalStore(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemsFieldNumber = 3, - kGenerationTimeFieldNumber = 1, - kRedeemableBalanceFieldNumber = 2, - }; - // repeated uint64 items = 3; - int items_size() const; - private: - int _internal_items_size() const; - public: - void clear_items(); - private: - uint64_t _internal_items(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - _internal_items() const; - void _internal_add_items(uint64_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - _internal_mutable_items(); - public: - uint64_t items(int index) const; - void set_items(int index, uint64_t value); - void add_items(uint64_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - items() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - mutable_items(); - - // optional uint32 generation_time = 1; - bool has_generation_time() const; - private: - bool _internal_has_generation_time() const; - public: - void clear_generation_time(); - uint32_t generation_time() const; - void set_generation_time(uint32_t value); - private: - uint32_t _internal_generation_time() const; - void _internal_set_generation_time(uint32_t value); - public: - - // optional uint32 redeemable_balance = 2; - bool has_redeemable_balance() const; - private: - bool _internal_has_redeemable_balance() const; - public: - void clear_redeemable_balance(); - uint32_t redeemable_balance() const; - void set_redeemable_balance(uint32_t value); - private: - uint32_t _internal_redeemable_balance() const; - void _internal_set_redeemable_balance(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOAccountItemPersonalStore) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > items_; - uint32_t generation_time_; - uint32_t redeemable_balance_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOAccountXpShop : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOAccountXpShop) */ { - public: - inline CSOAccountXpShop() : CSOAccountXpShop(nullptr) {} - ~CSOAccountXpShop() override; - explicit PROTOBUF_CONSTEXPR CSOAccountXpShop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOAccountXpShop(const CSOAccountXpShop& from); - CSOAccountXpShop(CSOAccountXpShop&& from) noexcept - : CSOAccountXpShop() { - *this = ::std::move(from); - } - - inline CSOAccountXpShop& operator=(const CSOAccountXpShop& from) { - CopyFrom(from); - return *this; - } - inline CSOAccountXpShop& operator=(CSOAccountXpShop&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOAccountXpShop& default_instance() { - return *internal_default_instance(); - } - static inline const CSOAccountXpShop* internal_default_instance() { - return reinterpret_cast( - &_CSOAccountXpShop_default_instance_); - } - static constexpr int kIndexInFileMessages = - 120; - - friend void swap(CSOAccountXpShop& a, CSOAccountXpShop& b) { - a.Swap(&b); - } - inline void Swap(CSOAccountXpShop* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOAccountXpShop* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOAccountXpShop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOAccountXpShop& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOAccountXpShop& from) { - CSOAccountXpShop::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOAccountXpShop* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOAccountXpShop"; - } - protected: - explicit CSOAccountXpShop(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kXpTracksFieldNumber = 3, - kGenerationTimeFieldNumber = 1, - kRedeemableBalanceFieldNumber = 2, - }; - // repeated uint32 xp_tracks = 3; - int xp_tracks_size() const; - private: - int _internal_xp_tracks_size() const; - public: - void clear_xp_tracks(); - private: - uint32_t _internal_xp_tracks(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_xp_tracks() const; - void _internal_add_xp_tracks(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_xp_tracks(); - public: - uint32_t xp_tracks(int index) const; - void set_xp_tracks(int index, uint32_t value); - void add_xp_tracks(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - xp_tracks() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_xp_tracks(); - - // optional uint32 generation_time = 1; - bool has_generation_time() const; - private: - bool _internal_has_generation_time() const; - public: - void clear_generation_time(); - uint32_t generation_time() const; - void set_generation_time(uint32_t value); - private: - uint32_t _internal_generation_time() const; - void _internal_set_generation_time(uint32_t value); - public: - - // optional uint32 redeemable_balance = 2; - bool has_redeemable_balance() const; - private: - bool _internal_has_redeemable_balance() const; - public: - void clear_redeemable_balance(); - uint32_t redeemable_balance() const; - void set_redeemable_balance(uint32_t value); - private: - uint32_t _internal_redeemable_balance() const; - void _internal_set_redeemable_balance(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOAccountXpShop) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > xp_tracks_; - uint32_t generation_time_; - uint32_t redeemable_balance_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOAccountXpShopBids : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOAccountXpShopBids) */ { - public: - inline CSOAccountXpShopBids() : CSOAccountXpShopBids(nullptr) {} - ~CSOAccountXpShopBids() override; - explicit PROTOBUF_CONSTEXPR CSOAccountXpShopBids(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOAccountXpShopBids(const CSOAccountXpShopBids& from); - CSOAccountXpShopBids(CSOAccountXpShopBids&& from) noexcept - : CSOAccountXpShopBids() { - *this = ::std::move(from); - } - - inline CSOAccountXpShopBids& operator=(const CSOAccountXpShopBids& from) { - CopyFrom(from); - return *this; - } - inline CSOAccountXpShopBids& operator=(CSOAccountXpShopBids&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOAccountXpShopBids& default_instance() { - return *internal_default_instance(); - } - static inline const CSOAccountXpShopBids* internal_default_instance() { - return reinterpret_cast( - &_CSOAccountXpShopBids_default_instance_); - } - static constexpr int kIndexInFileMessages = - 121; - - friend void swap(CSOAccountXpShopBids& a, CSOAccountXpShopBids& b) { - a.Swap(&b); - } - inline void Swap(CSOAccountXpShopBids* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOAccountXpShopBids* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOAccountXpShopBids* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOAccountXpShopBids& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOAccountXpShopBids& from) { - CSOAccountXpShopBids::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOAccountXpShopBids* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOAccountXpShopBids"; - } - protected: - explicit CSOAccountXpShopBids(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCampaignIdFieldNumber = 1, - kRedeemIdFieldNumber = 2, - kExpectedCostFieldNumber = 3, - kGenerationTimeFieldNumber = 4, - }; - // optional uint32 campaign_id = 1 [(.key_field) = true]; - bool has_campaign_id() const; - private: - bool _internal_has_campaign_id() const; - public: - void clear_campaign_id(); - uint32_t campaign_id() const; - void set_campaign_id(uint32_t value); - private: - uint32_t _internal_campaign_id() const; - void _internal_set_campaign_id(uint32_t value); - public: - - // optional uint32 redeem_id = 2 [(.key_field) = true]; - bool has_redeem_id() const; - private: - bool _internal_has_redeem_id() const; - public: - void clear_redeem_id(); - uint32_t redeem_id() const; - void set_redeem_id(uint32_t value); - private: - uint32_t _internal_redeem_id() const; - void _internal_set_redeem_id(uint32_t value); - public: - - // optional uint32 expected_cost = 3; - bool has_expected_cost() const; - private: - bool _internal_has_expected_cost() const; - public: - void clear_expected_cost(); - uint32_t expected_cost() const; - void set_expected_cost(uint32_t value); - private: - uint32_t _internal_expected_cost() const; - void _internal_set_expected_cost(uint32_t value); - public: - - // optional uint32 generation_time = 4; - bool has_generation_time() const; - private: - bool _internal_has_generation_time() const; - public: - void clear_generation_time(); - uint32_t generation_time() const; - void set_generation_time(uint32_t value); - private: - uint32_t _internal_generation_time() const; - void _internal_set_generation_time(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOAccountXpShopBids) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t campaign_id_; - uint32_t redeem_id_; - uint32_t expected_cost_; - uint32_t generation_time_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOVolatileItemOffer : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOVolatileItemOffer) */ { - public: - inline CSOVolatileItemOffer() : CSOVolatileItemOffer(nullptr) {} - ~CSOVolatileItemOffer() override; - explicit PROTOBUF_CONSTEXPR CSOVolatileItemOffer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOVolatileItemOffer(const CSOVolatileItemOffer& from); - CSOVolatileItemOffer(CSOVolatileItemOffer&& from) noexcept - : CSOVolatileItemOffer() { - *this = ::std::move(from); - } - - inline CSOVolatileItemOffer& operator=(const CSOVolatileItemOffer& from) { - CopyFrom(from); - return *this; - } - inline CSOVolatileItemOffer& operator=(CSOVolatileItemOffer&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOVolatileItemOffer& default_instance() { - return *internal_default_instance(); - } - static inline const CSOVolatileItemOffer* internal_default_instance() { - return reinterpret_cast( - &_CSOVolatileItemOffer_default_instance_); - } - static constexpr int kIndexInFileMessages = - 122; - - friend void swap(CSOVolatileItemOffer& a, CSOVolatileItemOffer& b) { - a.Swap(&b); - } - inline void Swap(CSOVolatileItemOffer* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOVolatileItemOffer* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOVolatileItemOffer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOVolatileItemOffer& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOVolatileItemOffer& from) { - CSOVolatileItemOffer::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOVolatileItemOffer* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOVolatileItemOffer"; - } - protected: - explicit CSOVolatileItemOffer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFauxItemidFieldNumber = 2, - kGenerationTimeFieldNumber = 3, - kDefidxFieldNumber = 1, - }; - // repeated uint64 faux_itemid = 2; - int faux_itemid_size() const; - private: - int _internal_faux_itemid_size() const; - public: - void clear_faux_itemid(); - private: - uint64_t _internal_faux_itemid(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - _internal_faux_itemid() const; - void _internal_add_faux_itemid(uint64_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - _internal_mutable_faux_itemid(); - public: - uint64_t faux_itemid(int index) const; - void set_faux_itemid(int index, uint64_t value); - void add_faux_itemid(uint64_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - faux_itemid() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - mutable_faux_itemid(); - - // repeated uint32 generation_time = 3; - int generation_time_size() const; - private: - int _internal_generation_time_size() const; - public: - void clear_generation_time(); - private: - uint32_t _internal_generation_time(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_generation_time() const; - void _internal_add_generation_time(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_generation_time(); - public: - uint32_t generation_time(int index) const; - void set_generation_time(int index, uint32_t value); - void add_generation_time(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - generation_time() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_generation_time(); - - // optional uint32 defidx = 1 [(.key_field) = true]; - bool has_defidx() const; - private: - bool _internal_has_defidx() const; - public: - void clear_defidx(); - uint32_t defidx() const; - void set_defidx(uint32_t value); - private: - uint32_t _internal_defidx() const; - void _internal_set_defidx(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOVolatileItemOffer) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > faux_itemid_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > generation_time_; - uint32_t defidx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOVolatileItemClaimedRewards : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOVolatileItemClaimedRewards) */ { - public: - inline CSOVolatileItemClaimedRewards() : CSOVolatileItemClaimedRewards(nullptr) {} - ~CSOVolatileItemClaimedRewards() override; - explicit PROTOBUF_CONSTEXPR CSOVolatileItemClaimedRewards(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOVolatileItemClaimedRewards(const CSOVolatileItemClaimedRewards& from); - CSOVolatileItemClaimedRewards(CSOVolatileItemClaimedRewards&& from) noexcept - : CSOVolatileItemClaimedRewards() { - *this = ::std::move(from); - } - - inline CSOVolatileItemClaimedRewards& operator=(const CSOVolatileItemClaimedRewards& from) { - CopyFrom(from); - return *this; - } - inline CSOVolatileItemClaimedRewards& operator=(CSOVolatileItemClaimedRewards&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOVolatileItemClaimedRewards& default_instance() { - return *internal_default_instance(); - } - static inline const CSOVolatileItemClaimedRewards* internal_default_instance() { - return reinterpret_cast( - &_CSOVolatileItemClaimedRewards_default_instance_); - } - static constexpr int kIndexInFileMessages = - 123; - - friend void swap(CSOVolatileItemClaimedRewards& a, CSOVolatileItemClaimedRewards& b) { - a.Swap(&b); - } - inline void Swap(CSOVolatileItemClaimedRewards* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOVolatileItemClaimedRewards* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOVolatileItemClaimedRewards* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOVolatileItemClaimedRewards& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOVolatileItemClaimedRewards& from) { - CSOVolatileItemClaimedRewards::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOVolatileItemClaimedRewards* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOVolatileItemClaimedRewards"; - } - protected: - explicit CSOVolatileItemClaimedRewards(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRewardFieldNumber = 2, - kGenerationTimeFieldNumber = 3, - kDefidxFieldNumber = 1, - }; - // repeated uint32 reward = 2; - int reward_size() const; - private: - int _internal_reward_size() const; - public: - void clear_reward(); - private: - uint32_t _internal_reward(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_reward() const; - void _internal_add_reward(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_reward(); - public: - uint32_t reward(int index) const; - void set_reward(int index, uint32_t value); - void add_reward(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - reward() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_reward(); - - // repeated uint32 generation_time = 3; - int generation_time_size() const; - private: - int _internal_generation_time_size() const; - public: - void clear_generation_time(); - private: - uint32_t _internal_generation_time(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_generation_time() const; - void _internal_add_generation_time(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_generation_time(); - public: - uint32_t generation_time(int index) const; - void set_generation_time(int index, uint32_t value); - void add_generation_time(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - generation_time() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_generation_time(); - - // optional uint32 defidx = 1 [(.key_field) = true]; - bool has_defidx() const; - private: - bool _internal_has_defidx() const; - public: - void clear_defidx(); - uint32_t defidx() const; - void set_defidx(uint32_t value); - private: - uint32_t _internal_defidx() const; - void _internal_set_defidx(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOVolatileItemClaimedRewards) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > reward_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > generation_time_; - uint32_t defidx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOAccountKeychainRemoveToolCharges : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOAccountKeychainRemoveToolCharges) */ { - public: - inline CSOAccountKeychainRemoveToolCharges() : CSOAccountKeychainRemoveToolCharges(nullptr) {} - ~CSOAccountKeychainRemoveToolCharges() override; - explicit PROTOBUF_CONSTEXPR CSOAccountKeychainRemoveToolCharges(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOAccountKeychainRemoveToolCharges(const CSOAccountKeychainRemoveToolCharges& from); - CSOAccountKeychainRemoveToolCharges(CSOAccountKeychainRemoveToolCharges&& from) noexcept - : CSOAccountKeychainRemoveToolCharges() { - *this = ::std::move(from); - } - - inline CSOAccountKeychainRemoveToolCharges& operator=(const CSOAccountKeychainRemoveToolCharges& from) { - CopyFrom(from); - return *this; - } - inline CSOAccountKeychainRemoveToolCharges& operator=(CSOAccountKeychainRemoveToolCharges&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOAccountKeychainRemoveToolCharges& default_instance() { - return *internal_default_instance(); - } - static inline const CSOAccountKeychainRemoveToolCharges* internal_default_instance() { - return reinterpret_cast( - &_CSOAccountKeychainRemoveToolCharges_default_instance_); - } - static constexpr int kIndexInFileMessages = - 124; - - friend void swap(CSOAccountKeychainRemoveToolCharges& a, CSOAccountKeychainRemoveToolCharges& b) { - a.Swap(&b); - } - inline void Swap(CSOAccountKeychainRemoveToolCharges* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOAccountKeychainRemoveToolCharges* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOAccountKeychainRemoveToolCharges* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOAccountKeychainRemoveToolCharges& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOAccountKeychainRemoveToolCharges& from) { - CSOAccountKeychainRemoveToolCharges::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOAccountKeychainRemoveToolCharges* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOAccountKeychainRemoveToolCharges"; - } - protected: - explicit CSOAccountKeychainRemoveToolCharges(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kChargesFieldNumber = 1, - }; - // optional uint32 charges = 1; - bool has_charges() const; - private: - bool _internal_has_charges() const; - public: - void clear_charges(); - uint32_t charges() const; - void set_charges(uint32_t value); - private: - uint32_t _internal_charges() const; - void _internal_set_charges(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOAccountKeychainRemoveToolCharges) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t charges_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOQuestProgress : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOQuestProgress) */ { - public: - inline CSOQuestProgress() : CSOQuestProgress(nullptr) {} - ~CSOQuestProgress() override; - explicit PROTOBUF_CONSTEXPR CSOQuestProgress(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOQuestProgress(const CSOQuestProgress& from); - CSOQuestProgress(CSOQuestProgress&& from) noexcept - : CSOQuestProgress() { - *this = ::std::move(from); - } - - inline CSOQuestProgress& operator=(const CSOQuestProgress& from) { - CopyFrom(from); - return *this; - } - inline CSOQuestProgress& operator=(CSOQuestProgress&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOQuestProgress& default_instance() { - return *internal_default_instance(); - } - static inline const CSOQuestProgress* internal_default_instance() { - return reinterpret_cast( - &_CSOQuestProgress_default_instance_); - } - static constexpr int kIndexInFileMessages = - 125; - - friend void swap(CSOQuestProgress& a, CSOQuestProgress& b) { - a.Swap(&b); - } - inline void Swap(CSOQuestProgress* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOQuestProgress* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOQuestProgress* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOQuestProgress& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOQuestProgress& from) { - CSOQuestProgress::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOQuestProgress* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOQuestProgress"; - } - protected: - explicit CSOQuestProgress(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kQuestidFieldNumber = 1, - kPointsRemainingFieldNumber = 2, - kBonusPointsFieldNumber = 3, - }; - // optional uint32 questid = 1 [(.key_field) = true]; - bool has_questid() const; - private: - bool _internal_has_questid() const; - public: - void clear_questid(); - uint32_t questid() const; - void set_questid(uint32_t value); - private: - uint32_t _internal_questid() const; - void _internal_set_questid(uint32_t value); - public: - - // optional uint32 points_remaining = 2; - bool has_points_remaining() const; - private: - bool _internal_has_points_remaining() const; - public: - void clear_points_remaining(); - uint32_t points_remaining() const; - void set_points_remaining(uint32_t value); - private: - uint32_t _internal_points_remaining() const; - void _internal_set_points_remaining(uint32_t value); - public: - - // optional uint32 bonus_points = 3; - bool has_bonus_points() const; - private: - bool _internal_has_bonus_points() const; - public: - void clear_bonus_points(); - uint32_t bonus_points() const; - void set_bonus_points(uint32_t value); - private: - uint32_t _internal_bonus_points() const; - void _internal_set_bonus_points(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOQuestProgress) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t questid_; - uint32_t points_remaining_; - uint32_t bonus_points_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOAccountSeasonalOperation : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOAccountSeasonalOperation) */ { - public: - inline CSOAccountSeasonalOperation() : CSOAccountSeasonalOperation(nullptr) {} - ~CSOAccountSeasonalOperation() override; - explicit PROTOBUF_CONSTEXPR CSOAccountSeasonalOperation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOAccountSeasonalOperation(const CSOAccountSeasonalOperation& from); - CSOAccountSeasonalOperation(CSOAccountSeasonalOperation&& from) noexcept - : CSOAccountSeasonalOperation() { - *this = ::std::move(from); - } - - inline CSOAccountSeasonalOperation& operator=(const CSOAccountSeasonalOperation& from) { - CopyFrom(from); - return *this; - } - inline CSOAccountSeasonalOperation& operator=(CSOAccountSeasonalOperation&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOAccountSeasonalOperation& default_instance() { - return *internal_default_instance(); - } - static inline const CSOAccountSeasonalOperation* internal_default_instance() { - return reinterpret_cast( - &_CSOAccountSeasonalOperation_default_instance_); - } - static constexpr int kIndexInFileMessages = - 126; - - friend void swap(CSOAccountSeasonalOperation& a, CSOAccountSeasonalOperation& b) { - a.Swap(&b); - } - inline void Swap(CSOAccountSeasonalOperation* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOAccountSeasonalOperation* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOAccountSeasonalOperation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOAccountSeasonalOperation& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOAccountSeasonalOperation& from) { - CSOAccountSeasonalOperation::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOAccountSeasonalOperation* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOAccountSeasonalOperation"; - } - protected: - explicit CSOAccountSeasonalOperation(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSeasonValueFieldNumber = 1, - kTierUnlockedFieldNumber = 2, - kPremiumTiersFieldNumber = 3, - kMissionIdFieldNumber = 4, - kMissionsCompletedFieldNumber = 5, - kRedeemableBalanceFieldNumber = 6, - kSeasonPassTimeFieldNumber = 7, - }; - // optional uint32 season_value = 1 [(.key_field) = true]; - bool has_season_value() const; - private: - bool _internal_has_season_value() const; - public: - void clear_season_value(); - uint32_t season_value() const; - void set_season_value(uint32_t value); - private: - uint32_t _internal_season_value() const; - void _internal_set_season_value(uint32_t value); - public: - - // optional uint32 tier_unlocked = 2; - bool has_tier_unlocked() const; - private: - bool _internal_has_tier_unlocked() const; - public: - void clear_tier_unlocked(); - uint32_t tier_unlocked() const; - void set_tier_unlocked(uint32_t value); - private: - uint32_t _internal_tier_unlocked() const; - void _internal_set_tier_unlocked(uint32_t value); - public: - - // optional uint32 premium_tiers = 3; - bool has_premium_tiers() const; - private: - bool _internal_has_premium_tiers() const; - public: - void clear_premium_tiers(); - uint32_t premium_tiers() const; - void set_premium_tiers(uint32_t value); - private: - uint32_t _internal_premium_tiers() const; - void _internal_set_premium_tiers(uint32_t value); - public: - - // optional uint32 mission_id = 4; - bool has_mission_id() const; - private: - bool _internal_has_mission_id() const; - public: - void clear_mission_id(); - uint32_t mission_id() const; - void set_mission_id(uint32_t value); - private: - uint32_t _internal_mission_id() const; - void _internal_set_mission_id(uint32_t value); - public: - - // optional uint32 missions_completed = 5; - bool has_missions_completed() const; - private: - bool _internal_has_missions_completed() const; - public: - void clear_missions_completed(); - uint32_t missions_completed() const; - void set_missions_completed(uint32_t value); - private: - uint32_t _internal_missions_completed() const; - void _internal_set_missions_completed(uint32_t value); - public: - - // optional uint32 redeemable_balance = 6; - bool has_redeemable_balance() const; - private: - bool _internal_has_redeemable_balance() const; - public: - void clear_redeemable_balance(); - uint32_t redeemable_balance() const; - void set_redeemable_balance(uint32_t value); - private: - uint32_t _internal_redeemable_balance() const; - void _internal_set_redeemable_balance(uint32_t value); - public: - - // optional uint32 season_pass_time = 7; - bool has_season_pass_time() const; - private: - bool _internal_has_season_pass_time() const; - public: - void clear_season_pass_time(); - uint32_t season_pass_time() const; - void set_season_pass_time(uint32_t value); - private: - uint32_t _internal_season_pass_time() const; - void _internal_set_season_pass_time(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOAccountSeasonalOperation) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t season_value_; - uint32_t tier_unlocked_; - uint32_t premium_tiers_; - uint32_t mission_id_; - uint32_t missions_completed_; - uint32_t redeemable_balance_; - uint32_t season_pass_time_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOAccountRecurringSubscription : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOAccountRecurringSubscription) */ { - public: - inline CSOAccountRecurringSubscription() : CSOAccountRecurringSubscription(nullptr) {} - ~CSOAccountRecurringSubscription() override; - explicit PROTOBUF_CONSTEXPR CSOAccountRecurringSubscription(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOAccountRecurringSubscription(const CSOAccountRecurringSubscription& from); - CSOAccountRecurringSubscription(CSOAccountRecurringSubscription&& from) noexcept - : CSOAccountRecurringSubscription() { - *this = ::std::move(from); - } - - inline CSOAccountRecurringSubscription& operator=(const CSOAccountRecurringSubscription& from) { - CopyFrom(from); - return *this; - } - inline CSOAccountRecurringSubscription& operator=(CSOAccountRecurringSubscription&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOAccountRecurringSubscription& default_instance() { - return *internal_default_instance(); - } - static inline const CSOAccountRecurringSubscription* internal_default_instance() { - return reinterpret_cast( - &_CSOAccountRecurringSubscription_default_instance_); - } - static constexpr int kIndexInFileMessages = - 127; - - friend void swap(CSOAccountRecurringSubscription& a, CSOAccountRecurringSubscription& b) { - a.Swap(&b); - } - inline void Swap(CSOAccountRecurringSubscription* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOAccountRecurringSubscription* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOAccountRecurringSubscription* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOAccountRecurringSubscription& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOAccountRecurringSubscription& from) { - CSOAccountRecurringSubscription::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOAccountRecurringSubscription* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOAccountRecurringSubscription"; - } - protected: - explicit CSOAccountRecurringSubscription(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTimeNextCycleFieldNumber = 1, - kTimeInitiatedFieldNumber = 2, - }; - // optional uint32 time_next_cycle = 1; - bool has_time_next_cycle() const; - private: - bool _internal_has_time_next_cycle() const; - public: - void clear_time_next_cycle(); - uint32_t time_next_cycle() const; - void set_time_next_cycle(uint32_t value); - private: - uint32_t _internal_time_next_cycle() const; - void _internal_set_time_next_cycle(uint32_t value); - public: - - // optional uint32 time_initiated = 2; - bool has_time_initiated() const; - private: - bool _internal_has_time_initiated() const; - public: - void clear_time_initiated(); - uint32_t time_initiated() const; - void set_time_initiated(uint32_t value); - private: - uint32_t _internal_time_initiated() const; - void _internal_set_time_initiated(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOAccountRecurringSubscription) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t time_next_cycle_; - uint32_t time_initiated_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOGameAccountSteamChina : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOGameAccountSteamChina) */ { - public: - inline CSOGameAccountSteamChina() : CSOGameAccountSteamChina(nullptr) {} - ~CSOGameAccountSteamChina() override; - explicit PROTOBUF_CONSTEXPR CSOGameAccountSteamChina(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOGameAccountSteamChina(const CSOGameAccountSteamChina& from); - CSOGameAccountSteamChina(CSOGameAccountSteamChina&& from) noexcept - : CSOGameAccountSteamChina() { - *this = ::std::move(from); - } - - inline CSOGameAccountSteamChina& operator=(const CSOGameAccountSteamChina& from) { - CopyFrom(from); - return *this; - } - inline CSOGameAccountSteamChina& operator=(CSOGameAccountSteamChina&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOGameAccountSteamChina& default_instance() { - return *internal_default_instance(); - } - static inline const CSOGameAccountSteamChina* internal_default_instance() { - return reinterpret_cast( - &_CSOGameAccountSteamChina_default_instance_); - } - static constexpr int kIndexInFileMessages = - 128; - - friend void swap(CSOGameAccountSteamChina& a, CSOGameAccountSteamChina& b) { - a.Swap(&b); - } - inline void Swap(CSOGameAccountSteamChina* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOGameAccountSteamChina* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOGameAccountSteamChina* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOGameAccountSteamChina& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOGameAccountSteamChina& from) { - CSOGameAccountSteamChina::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOGameAccountSteamChina* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOGameAccountSteamChina"; - } - protected: - explicit CSOGameAccountSteamChina(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTimeLastUpdateFieldNumber = 1, - kTimeCommsBanFieldNumber = 2, - kTimePlayBanFieldNumber = 3, - }; - // optional uint32 time_last_update = 1; - bool has_time_last_update() const; - private: - bool _internal_has_time_last_update() const; - public: - void clear_time_last_update(); - uint32_t time_last_update() const; - void set_time_last_update(uint32_t value); - private: - uint32_t _internal_time_last_update() const; - void _internal_set_time_last_update(uint32_t value); - public: - - // optional uint32 time_comms_ban = 2; - bool has_time_comms_ban() const; - private: - bool _internal_has_time_comms_ban() const; - public: - void clear_time_comms_ban(); - uint32_t time_comms_ban() const; - void set_time_comms_ban(uint32_t value); - private: - uint32_t _internal_time_comms_ban() const; - void _internal_set_time_comms_ban(uint32_t value); - public: - - // optional uint32 time_play_ban = 3; - bool has_time_play_ban() const; - private: - bool _internal_has_time_play_ban() const; - public: - void clear_time_play_ban(); - uint32_t time_play_ban() const; - void set_time_play_ban(uint32_t value); - private: - uint32_t _internal_time_play_ban() const; - void _internal_set_time_play_ban(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOGameAccountSteamChina) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t time_last_update_; - uint32_t time_comms_ban_; - uint32_t time_play_ban_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOPersonaDataPublic : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOPersonaDataPublic) */ { - public: - inline CSOPersonaDataPublic() : CSOPersonaDataPublic(nullptr) {} - ~CSOPersonaDataPublic() override; - explicit PROTOBUF_CONSTEXPR CSOPersonaDataPublic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOPersonaDataPublic(const CSOPersonaDataPublic& from); - CSOPersonaDataPublic(CSOPersonaDataPublic&& from) noexcept - : CSOPersonaDataPublic() { - *this = ::std::move(from); - } - - inline CSOPersonaDataPublic& operator=(const CSOPersonaDataPublic& from) { - CopyFrom(from); - return *this; - } - inline CSOPersonaDataPublic& operator=(CSOPersonaDataPublic&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOPersonaDataPublic& default_instance() { - return *internal_default_instance(); - } - static inline const CSOPersonaDataPublic* internal_default_instance() { - return reinterpret_cast( - &_CSOPersonaDataPublic_default_instance_); - } - static constexpr int kIndexInFileMessages = - 129; - - friend void swap(CSOPersonaDataPublic& a, CSOPersonaDataPublic& b) { - a.Swap(&b); - } - inline void Swap(CSOPersonaDataPublic* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOPersonaDataPublic* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOPersonaDataPublic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOPersonaDataPublic& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOPersonaDataPublic& from) { - CSOPersonaDataPublic::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOPersonaDataPublic* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOPersonaDataPublic"; - } - protected: - explicit CSOPersonaDataPublic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCommendationFieldNumber = 2, - kPlayerLevelFieldNumber = 1, - kElevatedStateFieldNumber = 3, - kXpTrailTimestampRefreshFieldNumber = 4, - kXpTrailLevelFieldNumber = 5, - }; - // optional .PlayerCommendationInfo commendation = 2; - bool has_commendation() const; - private: - bool _internal_has_commendation() const; - public: - void clear_commendation(); - const ::PlayerCommendationInfo& commendation() const; - PROTOBUF_NODISCARD ::PlayerCommendationInfo* release_commendation(); - ::PlayerCommendationInfo* mutable_commendation(); - void set_allocated_commendation(::PlayerCommendationInfo* commendation); - private: - const ::PlayerCommendationInfo& _internal_commendation() const; - ::PlayerCommendationInfo* _internal_mutable_commendation(); - public: - void unsafe_arena_set_allocated_commendation( - ::PlayerCommendationInfo* commendation); - ::PlayerCommendationInfo* unsafe_arena_release_commendation(); - - // optional int32 player_level = 1; - bool has_player_level() const; - private: - bool _internal_has_player_level() const; - public: - void clear_player_level(); - int32_t player_level() const; - void set_player_level(int32_t value); - private: - int32_t _internal_player_level() const; - void _internal_set_player_level(int32_t value); - public: - - // optional bool elevated_state = 3; - bool has_elevated_state() const; - private: - bool _internal_has_elevated_state() const; - public: - void clear_elevated_state(); - bool elevated_state() const; - void set_elevated_state(bool value); - private: - bool _internal_elevated_state() const; - void _internal_set_elevated_state(bool value); - public: - - // optional uint32 xp_trail_timestamp_refresh = 4; - bool has_xp_trail_timestamp_refresh() const; - private: - bool _internal_has_xp_trail_timestamp_refresh() const; - public: - void clear_xp_trail_timestamp_refresh(); - uint32_t xp_trail_timestamp_refresh() const; - void set_xp_trail_timestamp_refresh(uint32_t value); - private: - uint32_t _internal_xp_trail_timestamp_refresh() const; - void _internal_set_xp_trail_timestamp_refresh(uint32_t value); - public: - - // optional uint32 xp_trail_level = 5; - bool has_xp_trail_level() const; - private: - bool _internal_has_xp_trail_level() const; - public: - void clear_xp_trail_level(); - uint32_t xp_trail_level() const; - void set_xp_trail_level(uint32_t value); - private: - uint32_t _internal_xp_trail_level() const; - void _internal_set_xp_trail_level(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOPersonaDataPublic) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PlayerCommendationInfo* commendation_; - int32_t player_level_; - bool elevated_state_; - uint32_t xp_trail_timestamp_refresh_; - uint32_t xp_trail_level_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSOAccountRecurringMission : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSOAccountRecurringMission) */ { - public: - inline CSOAccountRecurringMission() : CSOAccountRecurringMission(nullptr) {} - ~CSOAccountRecurringMission() override; - explicit PROTOBUF_CONSTEXPR CSOAccountRecurringMission(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSOAccountRecurringMission(const CSOAccountRecurringMission& from); - CSOAccountRecurringMission(CSOAccountRecurringMission&& from) noexcept - : CSOAccountRecurringMission() { - *this = ::std::move(from); - } - - inline CSOAccountRecurringMission& operator=(const CSOAccountRecurringMission& from) { - CopyFrom(from); - return *this; - } - inline CSOAccountRecurringMission& operator=(CSOAccountRecurringMission&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSOAccountRecurringMission& default_instance() { - return *internal_default_instance(); - } - static inline const CSOAccountRecurringMission* internal_default_instance() { - return reinterpret_cast( - &_CSOAccountRecurringMission_default_instance_); - } - static constexpr int kIndexInFileMessages = - 130; - - friend void swap(CSOAccountRecurringMission& a, CSOAccountRecurringMission& b) { - a.Swap(&b); - } - inline void Swap(CSOAccountRecurringMission* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSOAccountRecurringMission* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSOAccountRecurringMission* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSOAccountRecurringMission& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSOAccountRecurringMission& from) { - CSOAccountRecurringMission::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSOAccountRecurringMission* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSOAccountRecurringMission"; - } - protected: - explicit CSOAccountRecurringMission(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountIdFieldNumber = 1, - kMissionIdFieldNumber = 2, - kPeriodFieldNumber = 3, - kProgressFieldNumber = 4, - }; - // optional uint32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional uint32 mission_id = 2; - bool has_mission_id() const; - private: - bool _internal_has_mission_id() const; - public: - void clear_mission_id(); - uint32_t mission_id() const; - void set_mission_id(uint32_t value); - private: - uint32_t _internal_mission_id() const; - void _internal_set_mission_id(uint32_t value); - public: - - // optional uint32 period = 3; - bool has_period() const; - private: - bool _internal_has_period() const; - public: - void clear_period(); - uint32_t period() const; - void set_period(uint32_t value); - private: - uint32_t _internal_period() const; - void _internal_set_period(uint32_t value); - public: - - // optional uint32 progress = 4; - bool has_progress() const; - private: - bool _internal_has_progress() const; - public: - void clear_progress(); - uint32_t progress() const; - void set_progress(uint32_t value); - private: - uint32_t _internal_progress() const; - void _internal_set_progress(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSOAccountRecurringMission) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t account_id_; - uint32_t mission_id_; - uint32_t period_; - uint32_t progress_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_GC2ClientNotifyXPShop : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) */ { - public: - inline CMsgGCCStrike15_v2_GC2ClientNotifyXPShop() : CMsgGCCStrike15_v2_GC2ClientNotifyXPShop(nullptr) {} - ~CMsgGCCStrike15_v2_GC2ClientNotifyXPShop() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientNotifyXPShop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_GC2ClientNotifyXPShop(const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& from); - CMsgGCCStrike15_v2_GC2ClientNotifyXPShop(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop&& from) noexcept - : CMsgGCCStrike15_v2_GC2ClientNotifyXPShop() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& operator=(const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& operator=(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_GC2ClientNotifyXPShop_default_instance_); - } - static constexpr int kIndexInFileMessages = - 131; - - friend void swap(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& a, CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_GC2ClientNotifyXPShop& from) { - CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_GC2ClientNotifyXPShop* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_GC2ClientNotifyXPShop"; - } - protected: - explicit CMsgGCCStrike15_v2_GC2ClientNotifyXPShop(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPrematchFieldNumber = 1, - kPostmatchFieldNumber = 2, - kCurrentXpFieldNumber = 3, - kCurrentLevelFieldNumber = 4, - }; - // optional .CSOAccountXpShop prematch = 1; - bool has_prematch() const; - private: - bool _internal_has_prematch() const; - public: - void clear_prematch(); - const ::CSOAccountXpShop& prematch() const; - PROTOBUF_NODISCARD ::CSOAccountXpShop* release_prematch(); - ::CSOAccountXpShop* mutable_prematch(); - void set_allocated_prematch(::CSOAccountXpShop* prematch); - private: - const ::CSOAccountXpShop& _internal_prematch() const; - ::CSOAccountXpShop* _internal_mutable_prematch(); - public: - void unsafe_arena_set_allocated_prematch( - ::CSOAccountXpShop* prematch); - ::CSOAccountXpShop* unsafe_arena_release_prematch(); - - // optional .CSOAccountXpShop postmatch = 2; - bool has_postmatch() const; - private: - bool _internal_has_postmatch() const; - public: - void clear_postmatch(); - const ::CSOAccountXpShop& postmatch() const; - PROTOBUF_NODISCARD ::CSOAccountXpShop* release_postmatch(); - ::CSOAccountXpShop* mutable_postmatch(); - void set_allocated_postmatch(::CSOAccountXpShop* postmatch); - private: - const ::CSOAccountXpShop& _internal_postmatch() const; - ::CSOAccountXpShop* _internal_mutable_postmatch(); - public: - void unsafe_arena_set_allocated_postmatch( - ::CSOAccountXpShop* postmatch); - ::CSOAccountXpShop* unsafe_arena_release_postmatch(); - - // optional uint32 current_xp = 3; - bool has_current_xp() const; - private: - bool _internal_has_current_xp() const; - public: - void clear_current_xp(); - uint32_t current_xp() const; - void set_current_xp(uint32_t value); - private: - uint32_t _internal_current_xp() const; - void _internal_set_current_xp(uint32_t value); - public: - - // optional uint32 current_level = 4; - bool has_current_level() const; - private: - bool _internal_has_current_level() const; - public: - void clear_current_level(); - uint32_t current_level() const; - void set_current_level(uint32_t value); - private: - uint32_t _internal_current_level() const; - void _internal_set_current_level(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CSOAccountXpShop* prematch_; - ::CSOAccountXpShop* postmatch_; - uint32_t current_xp_; - uint32_t current_level_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Client2GcAckXPShopTracks : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Client2GcAckXPShopTracks) */ { - public: - inline CMsgGCCStrike15_v2_Client2GcAckXPShopTracks() : CMsgGCCStrike15_v2_Client2GcAckXPShopTracks(nullptr) {} - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GcAckXPShopTracks(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Client2GcAckXPShopTracks(const CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& from); - CMsgGCCStrike15_v2_Client2GcAckXPShopTracks(CMsgGCCStrike15_v2_Client2GcAckXPShopTracks&& from) noexcept - : CMsgGCCStrike15_v2_Client2GcAckXPShopTracks() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& operator=(const CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& operator=(CMsgGCCStrike15_v2_Client2GcAckXPShopTracks&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Client2GcAckXPShopTracks* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Client2GcAckXPShopTracks_default_instance_); - } - static constexpr int kIndexInFileMessages = - 132; - - friend void swap(CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& a, CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Client2GcAckXPShopTracks* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Client2GcAckXPShopTracks* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Client2GcAckXPShopTracks* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CMsgGCCStrike15_v2_Client2GcAckXPShopTracks& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Client2GcAckXPShopTracks"; - } - protected: - explicit CMsgGCCStrike15_v2_Client2GcAckXPShopTracks(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Client2GcAckXPShopTracks) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) */ { - public: - inline CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats() : CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats(nullptr) {} - ~CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats(const CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& from); - CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats&& from) noexcept - : CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& operator=(const CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& operator=(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats_default_instance_); - } - static constexpr int kIndexInFileMessages = - 133; - - friend void swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& a, CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats& from) { - CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats"; - } - protected: - explicit CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGsLocationIdFieldNumber = 1, - kDataCenterIdFieldNumber = 2, - kNumLockedInFieldNumber = 3, - kNumFoundNearbyFieldNumber = 4, - kNoteLevelFieldNumber = 5, - }; - // optional uint32 gs_location_id = 1; - bool has_gs_location_id() const; - private: - bool _internal_has_gs_location_id() const; - public: - void clear_gs_location_id(); - uint32_t gs_location_id() const; - void set_gs_location_id(uint32_t value); - private: - uint32_t _internal_gs_location_id() const; - void _internal_set_gs_location_id(uint32_t value); - public: - - // optional uint32 data_center_id = 2; - bool has_data_center_id() const; - private: - bool _internal_has_data_center_id() const; - public: - void clear_data_center_id(); - uint32_t data_center_id() const; - void set_data_center_id(uint32_t value); - private: - uint32_t _internal_data_center_id() const; - void _internal_set_data_center_id(uint32_t value); - public: - - // optional uint32 num_locked_in = 3; - bool has_num_locked_in() const; - private: - bool _internal_has_num_locked_in() const; - public: - void clear_num_locked_in(); - uint32_t num_locked_in() const; - void set_num_locked_in(uint32_t value); - private: - uint32_t _internal_num_locked_in() const; - void _internal_set_num_locked_in(uint32_t value); - public: - - // optional uint32 num_found_nearby = 4; - bool has_num_found_nearby() const; - private: - bool _internal_has_num_found_nearby() const; - public: - void clear_num_found_nearby(); - uint32_t num_found_nearby() const; - void set_num_found_nearby(uint32_t value); - private: - uint32_t _internal_num_found_nearby() const; - void _internal_set_num_found_nearby(uint32_t value); - public: - - // optional uint32 note_level = 5; - bool has_note_level() const; - private: - bool _internal_has_note_level() const; - public: - void clear_note_level(); - uint32_t note_level() const; - void set_note_level(uint32_t value); - private: - uint32_t _internal_note_level() const; - void _internal_set_note_level(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t gs_location_id_; - uint32_t data_center_id_; - uint32_t num_locked_in_; - uint32_t num_found_nearby_; - uint32_t note_level_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGC_GlobalGame_Subscribe : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGC_GlobalGame_Subscribe) */ { - public: - inline CMsgGC_GlobalGame_Subscribe() : CMsgGC_GlobalGame_Subscribe(nullptr) {} - ~CMsgGC_GlobalGame_Subscribe() override; - explicit PROTOBUF_CONSTEXPR CMsgGC_GlobalGame_Subscribe(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGC_GlobalGame_Subscribe(const CMsgGC_GlobalGame_Subscribe& from); - CMsgGC_GlobalGame_Subscribe(CMsgGC_GlobalGame_Subscribe&& from) noexcept - : CMsgGC_GlobalGame_Subscribe() { - *this = ::std::move(from); - } - - inline CMsgGC_GlobalGame_Subscribe& operator=(const CMsgGC_GlobalGame_Subscribe& from) { - CopyFrom(from); - return *this; - } - inline CMsgGC_GlobalGame_Subscribe& operator=(CMsgGC_GlobalGame_Subscribe&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGC_GlobalGame_Subscribe& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGC_GlobalGame_Subscribe* internal_default_instance() { - return reinterpret_cast( - &_CMsgGC_GlobalGame_Subscribe_default_instance_); - } - static constexpr int kIndexInFileMessages = - 134; - - friend void swap(CMsgGC_GlobalGame_Subscribe& a, CMsgGC_GlobalGame_Subscribe& b) { - a.Swap(&b); - } - inline void Swap(CMsgGC_GlobalGame_Subscribe* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGC_GlobalGame_Subscribe* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGC_GlobalGame_Subscribe* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGC_GlobalGame_Subscribe& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGC_GlobalGame_Subscribe& from) { - CMsgGC_GlobalGame_Subscribe::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGC_GlobalGame_Subscribe* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGC_GlobalGame_Subscribe"; - } - protected: - explicit CMsgGC_GlobalGame_Subscribe(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTicketFieldNumber = 1, - }; - // optional uint64 ticket = 1; - bool has_ticket() const; - private: - bool _internal_has_ticket() const; - public: - void clear_ticket(); - uint64_t ticket() const; - void set_ticket(uint64_t value); - private: - uint64_t _internal_ticket() const; - void _internal_set_ticket(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGC_GlobalGame_Subscribe) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t ticket_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGC_GlobalGame_Unsubscribe : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGC_GlobalGame_Unsubscribe) */ { - public: - inline CMsgGC_GlobalGame_Unsubscribe() : CMsgGC_GlobalGame_Unsubscribe(nullptr) {} - ~CMsgGC_GlobalGame_Unsubscribe() override; - explicit PROTOBUF_CONSTEXPR CMsgGC_GlobalGame_Unsubscribe(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGC_GlobalGame_Unsubscribe(const CMsgGC_GlobalGame_Unsubscribe& from); - CMsgGC_GlobalGame_Unsubscribe(CMsgGC_GlobalGame_Unsubscribe&& from) noexcept - : CMsgGC_GlobalGame_Unsubscribe() { - *this = ::std::move(from); - } - - inline CMsgGC_GlobalGame_Unsubscribe& operator=(const CMsgGC_GlobalGame_Unsubscribe& from) { - CopyFrom(from); - return *this; - } - inline CMsgGC_GlobalGame_Unsubscribe& operator=(CMsgGC_GlobalGame_Unsubscribe&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGC_GlobalGame_Unsubscribe& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGC_GlobalGame_Unsubscribe* internal_default_instance() { - return reinterpret_cast( - &_CMsgGC_GlobalGame_Unsubscribe_default_instance_); - } - static constexpr int kIndexInFileMessages = - 135; - - friend void swap(CMsgGC_GlobalGame_Unsubscribe& a, CMsgGC_GlobalGame_Unsubscribe& b) { - a.Swap(&b); - } - inline void Swap(CMsgGC_GlobalGame_Unsubscribe* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGC_GlobalGame_Unsubscribe* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGC_GlobalGame_Unsubscribe* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGC_GlobalGame_Unsubscribe& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGC_GlobalGame_Unsubscribe& from) { - CMsgGC_GlobalGame_Unsubscribe::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGC_GlobalGame_Unsubscribe* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGC_GlobalGame_Unsubscribe"; - } - protected: - explicit CMsgGC_GlobalGame_Unsubscribe(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTimeleftFieldNumber = 1, - }; - // optional int32 timeleft = 1; - bool has_timeleft() const; - private: - bool _internal_has_timeleft() const; - public: - void clear_timeleft(); - int32_t timeleft() const; - void set_timeleft(int32_t value); - private: - int32_t _internal_timeleft() const; - void _internal_set_timeleft(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGC_GlobalGame_Unsubscribe) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t timeleft_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGC_GlobalGame_Play : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGC_GlobalGame_Play) */ { - public: - inline CMsgGC_GlobalGame_Play() : CMsgGC_GlobalGame_Play(nullptr) {} - ~CMsgGC_GlobalGame_Play() override; - explicit PROTOBUF_CONSTEXPR CMsgGC_GlobalGame_Play(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGC_GlobalGame_Play(const CMsgGC_GlobalGame_Play& from); - CMsgGC_GlobalGame_Play(CMsgGC_GlobalGame_Play&& from) noexcept - : CMsgGC_GlobalGame_Play() { - *this = ::std::move(from); - } - - inline CMsgGC_GlobalGame_Play& operator=(const CMsgGC_GlobalGame_Play& from) { - CopyFrom(from); - return *this; - } - inline CMsgGC_GlobalGame_Play& operator=(CMsgGC_GlobalGame_Play&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGC_GlobalGame_Play& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGC_GlobalGame_Play* internal_default_instance() { - return reinterpret_cast( - &_CMsgGC_GlobalGame_Play_default_instance_); - } - static constexpr int kIndexInFileMessages = - 136; - - friend void swap(CMsgGC_GlobalGame_Play& a, CMsgGC_GlobalGame_Play& b) { - a.Swap(&b); - } - inline void Swap(CMsgGC_GlobalGame_Play* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGC_GlobalGame_Play* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGC_GlobalGame_Play* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGC_GlobalGame_Play& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGC_GlobalGame_Play& from) { - CMsgGC_GlobalGame_Play::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGC_GlobalGame_Play* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGC_GlobalGame_Play"; - } - protected: - explicit CMsgGC_GlobalGame_Play(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTicketFieldNumber = 1, - kGametimemsFieldNumber = 2, - kMsperpointFieldNumber = 3, - }; - // optional uint64 ticket = 1; - bool has_ticket() const; - private: - bool _internal_has_ticket() const; - public: - void clear_ticket(); - uint64_t ticket() const; - void set_ticket(uint64_t value); - private: - uint64_t _internal_ticket() const; - void _internal_set_ticket(uint64_t value); - public: - - // optional uint32 gametimems = 2; - bool has_gametimems() const; - private: - bool _internal_has_gametimems() const; - public: - void clear_gametimems(); - uint32_t gametimems() const; - void set_gametimems(uint32_t value); - private: - uint32_t _internal_gametimems() const; - void _internal_set_gametimems(uint32_t value); - public: - - // optional uint32 msperpoint = 3; - bool has_msperpoint() const; - private: - bool _internal_has_msperpoint() const; - public: - void clear_msperpoint(); - uint32_t msperpoint() const; - void set_msperpoint(uint32_t value); - private: - uint32_t _internal_msperpoint() const; - void _internal_set_msperpoint(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGC_GlobalGame_Play) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t ticket_; - uint32_t gametimems_; - uint32_t msperpoint_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_AcknowledgePenalty : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_AcknowledgePenalty) */ { - public: - inline CMsgGCCStrike15_v2_AcknowledgePenalty() : CMsgGCCStrike15_v2_AcknowledgePenalty(nullptr) {} - ~CMsgGCCStrike15_v2_AcknowledgePenalty() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_AcknowledgePenalty(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_AcknowledgePenalty(const CMsgGCCStrike15_v2_AcknowledgePenalty& from); - CMsgGCCStrike15_v2_AcknowledgePenalty(CMsgGCCStrike15_v2_AcknowledgePenalty&& from) noexcept - : CMsgGCCStrike15_v2_AcknowledgePenalty() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_AcknowledgePenalty& operator=(const CMsgGCCStrike15_v2_AcknowledgePenalty& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_AcknowledgePenalty& operator=(CMsgGCCStrike15_v2_AcknowledgePenalty&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_AcknowledgePenalty& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_AcknowledgePenalty* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_AcknowledgePenalty_default_instance_); - } - static constexpr int kIndexInFileMessages = - 137; - - friend void swap(CMsgGCCStrike15_v2_AcknowledgePenalty& a, CMsgGCCStrike15_v2_AcknowledgePenalty& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_AcknowledgePenalty* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_AcknowledgePenalty* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_AcknowledgePenalty* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_AcknowledgePenalty& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_AcknowledgePenalty& from) { - CMsgGCCStrike15_v2_AcknowledgePenalty::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_AcknowledgePenalty* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_AcknowledgePenalty"; - } - protected: - explicit CMsgGCCStrike15_v2_AcknowledgePenalty(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAcknowledgedFieldNumber = 1, - }; - // optional int32 acknowledged = 1; - bool has_acknowledged() const; - private: - bool _internal_has_acknowledged() const; - public: - void clear_acknowledged(); - int32_t acknowledged() const; - void set_acknowledged(int32_t value); - private: - int32_t _internal_acknowledged() const; - void _internal_set_acknowledged(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_AcknowledgePenalty) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t acknowledged_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) */ { - public: - inline CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin() : CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin(nullptr) {} - ~CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin(const CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& from); - CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin&& from) noexcept - : CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& operator=(const CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& operator=(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin_default_instance_); - } - static constexpr int kIndexInFileMessages = - 138; - - friend void swap(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& a, CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin& from) { - CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin"; - } - protected: - explicit CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kUpgradeidFieldNumber = 2, - kDefindexFieldNumber = 1, - kHoursFieldNumber = 3, - kPrestigetimeFieldNumber = 4, - }; - // optional uint64 upgradeid = 2; - bool has_upgradeid() const; - private: - bool _internal_has_upgradeid() const; - public: - void clear_upgradeid(); - uint64_t upgradeid() const; - void set_upgradeid(uint64_t value); - private: - uint64_t _internal_upgradeid() const; - void _internal_set_upgradeid(uint64_t value); - public: - - // optional uint32 defindex = 1; - bool has_defindex() const; - private: - bool _internal_has_defindex() const; - public: - void clear_defindex(); - uint32_t defindex() const; - void set_defindex(uint32_t value); - private: - uint32_t _internal_defindex() const; - void _internal_set_defindex(uint32_t value); - public: - - // optional uint32 hours = 3; - bool has_hours() const; - private: - bool _internal_has_hours() const; - public: - void clear_hours(); - uint32_t hours() const; - void set_hours(uint32_t value); - private: - uint32_t _internal_hours() const; - void _internal_set_hours(uint32_t value); - public: - - // optional uint32 prestigetime = 4; - bool has_prestigetime() const; - private: - bool _internal_has_prestigetime() const; - public: - void clear_prestigetime(); - uint32_t prestigetime() const; - void set_prestigetime(uint32_t value); - private: - uint32_t _internal_prestigetime() const; - void _internal_set_prestigetime(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t upgradeid_; - uint32_t defindex_; - uint32_t hours_; - uint32_t prestigetime_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Client2GCStreamUnlock : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Client2GCStreamUnlock) */ { - public: - inline CMsgGCCStrike15_v2_Client2GCStreamUnlock() : CMsgGCCStrike15_v2_Client2GCStreamUnlock(nullptr) {} - ~CMsgGCCStrike15_v2_Client2GCStreamUnlock() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Client2GCStreamUnlock(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Client2GCStreamUnlock(const CMsgGCCStrike15_v2_Client2GCStreamUnlock& from); - CMsgGCCStrike15_v2_Client2GCStreamUnlock(CMsgGCCStrike15_v2_Client2GCStreamUnlock&& from) noexcept - : CMsgGCCStrike15_v2_Client2GCStreamUnlock() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Client2GCStreamUnlock& operator=(const CMsgGCCStrike15_v2_Client2GCStreamUnlock& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Client2GCStreamUnlock& operator=(CMsgGCCStrike15_v2_Client2GCStreamUnlock&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Client2GCStreamUnlock& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Client2GCStreamUnlock* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Client2GCStreamUnlock_default_instance_); - } - static constexpr int kIndexInFileMessages = - 139; - - friend void swap(CMsgGCCStrike15_v2_Client2GCStreamUnlock& a, CMsgGCCStrike15_v2_Client2GCStreamUnlock& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Client2GCStreamUnlock* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Client2GCStreamUnlock* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Client2GCStreamUnlock* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_Client2GCStreamUnlock& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_Client2GCStreamUnlock& from) { - CMsgGCCStrike15_v2_Client2GCStreamUnlock::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_Client2GCStreamUnlock* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Client2GCStreamUnlock"; - } - protected: - explicit CMsgGCCStrike15_v2_Client2GCStreamUnlock(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTicketFieldNumber = 1, - kOsFieldNumber = 2, - }; - // optional uint64 ticket = 1; - bool has_ticket() const; - private: - bool _internal_has_ticket() const; - public: - void clear_ticket(); - uint64_t ticket() const; - void set_ticket(uint64_t value); - private: - uint64_t _internal_ticket() const; - void _internal_set_ticket(uint64_t value); - public: - - // optional int32 os = 2; - bool has_os() const; - private: - bool _internal_has_os() const; - public: - void clear_os(); - int32_t os() const; - void set_os(int32_t value); - private: - int32_t _internal_os() const; - void _internal_set_os(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Client2GCStreamUnlock) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t ticket_; - int32_t os_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientToGCRequestElevate : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientToGCRequestElevate) */ { - public: - inline CMsgGCCStrike15_v2_ClientToGCRequestElevate() : CMsgGCCStrike15_v2_ClientToGCRequestElevate(nullptr) {} - ~CMsgGCCStrike15_v2_ClientToGCRequestElevate() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientToGCRequestElevate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientToGCRequestElevate(const CMsgGCCStrike15_v2_ClientToGCRequestElevate& from); - CMsgGCCStrike15_v2_ClientToGCRequestElevate(CMsgGCCStrike15_v2_ClientToGCRequestElevate&& from) noexcept - : CMsgGCCStrike15_v2_ClientToGCRequestElevate() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientToGCRequestElevate& operator=(const CMsgGCCStrike15_v2_ClientToGCRequestElevate& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientToGCRequestElevate& operator=(CMsgGCCStrike15_v2_ClientToGCRequestElevate&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientToGCRequestElevate& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientToGCRequestElevate* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientToGCRequestElevate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 140; - - friend void swap(CMsgGCCStrike15_v2_ClientToGCRequestElevate& a, CMsgGCCStrike15_v2_ClientToGCRequestElevate& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientToGCRequestElevate* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientToGCRequestElevate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientToGCRequestElevate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientToGCRequestElevate& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientToGCRequestElevate& from) { - CMsgGCCStrike15_v2_ClientToGCRequestElevate::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientToGCRequestElevate* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientToGCRequestElevate"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientToGCRequestElevate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStageFieldNumber = 1, - }; - // optional uint32 stage = 1; - bool has_stage() const; - private: - bool _internal_has_stage() const; - public: - void clear_stage(); - uint32_t stage() const; - void set_stage(uint32_t value); - private: - uint32_t _internal_stage() const; - void _internal_set_stage(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientToGCRequestElevate) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t stage_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientToGCChat : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientToGCChat) */ { - public: - inline CMsgGCCStrike15_v2_ClientToGCChat() : CMsgGCCStrike15_v2_ClientToGCChat(nullptr) {} - ~CMsgGCCStrike15_v2_ClientToGCChat() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientToGCChat(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientToGCChat(const CMsgGCCStrike15_v2_ClientToGCChat& from); - CMsgGCCStrike15_v2_ClientToGCChat(CMsgGCCStrike15_v2_ClientToGCChat&& from) noexcept - : CMsgGCCStrike15_v2_ClientToGCChat() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientToGCChat& operator=(const CMsgGCCStrike15_v2_ClientToGCChat& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientToGCChat& operator=(CMsgGCCStrike15_v2_ClientToGCChat&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientToGCChat& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientToGCChat* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientToGCChat_default_instance_); - } - static constexpr int kIndexInFileMessages = - 141; - - friend void swap(CMsgGCCStrike15_v2_ClientToGCChat& a, CMsgGCCStrike15_v2_ClientToGCChat& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientToGCChat* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientToGCChat* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientToGCChat* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientToGCChat& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientToGCChat& from) { - CMsgGCCStrike15_v2_ClientToGCChat::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientToGCChat* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientToGCChat"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientToGCChat(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTextFieldNumber = 2, - kMatchIdFieldNumber = 1, - }; - // optional string text = 2; - bool has_text() const; - private: - bool _internal_has_text() const; - public: - void clear_text(); - const std::string& text() const; - template - void set_text(ArgT0&& arg0, ArgT... args); - std::string* mutable_text(); - PROTOBUF_NODISCARD std::string* release_text(); - void set_allocated_text(std::string* text); - private: - const std::string& _internal_text() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value); - std::string* _internal_mutable_text(); - public: - - // optional uint64 match_id = 1; - bool has_match_id() const; - private: - bool _internal_has_match_id() const; - public: - void clear_match_id(); - uint64_t match_id() const; - void set_match_id(uint64_t value); - private: - uint64_t _internal_match_id() const; - void _internal_set_match_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientToGCChat) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; - uint64_t match_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_GCToClientChat : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GCToClientChat) */ { - public: - inline CMsgGCCStrike15_v2_GCToClientChat() : CMsgGCCStrike15_v2_GCToClientChat(nullptr) {} - ~CMsgGCCStrike15_v2_GCToClientChat() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GCToClientChat(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_GCToClientChat(const CMsgGCCStrike15_v2_GCToClientChat& from); - CMsgGCCStrike15_v2_GCToClientChat(CMsgGCCStrike15_v2_GCToClientChat&& from) noexcept - : CMsgGCCStrike15_v2_GCToClientChat() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_GCToClientChat& operator=(const CMsgGCCStrike15_v2_GCToClientChat& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_GCToClientChat& operator=(CMsgGCCStrike15_v2_GCToClientChat&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_GCToClientChat& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_GCToClientChat* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_GCToClientChat_default_instance_); - } - static constexpr int kIndexInFileMessages = - 142; - - friend void swap(CMsgGCCStrike15_v2_GCToClientChat& a, CMsgGCCStrike15_v2_GCToClientChat& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_GCToClientChat* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_GCToClientChat* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_GCToClientChat* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_GCToClientChat& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_GCToClientChat& from) { - CMsgGCCStrike15_v2_GCToClientChat::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_GCToClientChat* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_GCToClientChat"; - } - protected: - explicit CMsgGCCStrike15_v2_GCToClientChat(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTextFieldNumber = 2, - kAccountIdFieldNumber = 1, - }; - // optional string text = 2; - bool has_text() const; - private: - bool _internal_has_text() const; - public: - void clear_text(); - const std::string& text() const; - template - void set_text(ArgT0&& arg0, ArgT... args); - std::string* mutable_text(); - PROTOBUF_NODISCARD std::string* release_text(); - void set_allocated_text(std::string* text); - private: - const std::string& _internal_text() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value); - std::string* _internal_mutable_text(); - public: - - // optional uint32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GCToClientChat) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; - uint32_t account_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientAuthKeyCode : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientAuthKeyCode) */ { - public: - inline CMsgGCCStrike15_v2_ClientAuthKeyCode() : CMsgGCCStrike15_v2_ClientAuthKeyCode(nullptr) {} - ~CMsgGCCStrike15_v2_ClientAuthKeyCode() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientAuthKeyCode(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientAuthKeyCode(const CMsgGCCStrike15_v2_ClientAuthKeyCode& from); - CMsgGCCStrike15_v2_ClientAuthKeyCode(CMsgGCCStrike15_v2_ClientAuthKeyCode&& from) noexcept - : CMsgGCCStrike15_v2_ClientAuthKeyCode() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientAuthKeyCode& operator=(const CMsgGCCStrike15_v2_ClientAuthKeyCode& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientAuthKeyCode& operator=(CMsgGCCStrike15_v2_ClientAuthKeyCode&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientAuthKeyCode& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientAuthKeyCode* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientAuthKeyCode_default_instance_); - } - static constexpr int kIndexInFileMessages = - 143; - - friend void swap(CMsgGCCStrike15_v2_ClientAuthKeyCode& a, CMsgGCCStrike15_v2_ClientAuthKeyCode& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientAuthKeyCode* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientAuthKeyCode* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientAuthKeyCode* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientAuthKeyCode& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientAuthKeyCode& from) { - CMsgGCCStrike15_v2_ClientAuthKeyCode::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientAuthKeyCode* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientAuthKeyCode"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientAuthKeyCode(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCodeFieldNumber = 2, - kEventidFieldNumber = 1, - }; - // optional string code = 2; - bool has_code() const; - private: - bool _internal_has_code() const; - public: - void clear_code(); - const std::string& code() const; - template - void set_code(ArgT0&& arg0, ArgT... args); - std::string* mutable_code(); - PROTOBUF_NODISCARD std::string* release_code(); - void set_allocated_code(std::string* code); - private: - const std::string& _internal_code() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_code(const std::string& value); - std::string* _internal_mutable_code(); - public: - - // optional uint32 eventid = 1; - bool has_eventid() const; - private: - bool _internal_has_eventid() const; - public: - void clear_eventid(); - uint32_t eventid() const; - void set_eventid(uint32_t value); - private: - uint32_t _internal_eventid() const; - void _internal_set_eventid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientAuthKeyCode) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr code_; - uint32_t eventid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_GotvSyncPacket : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_GotvSyncPacket) */ { - public: - inline CMsgGCCStrike15_GotvSyncPacket() : CMsgGCCStrike15_GotvSyncPacket(nullptr) {} - ~CMsgGCCStrike15_GotvSyncPacket() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_GotvSyncPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_GotvSyncPacket(const CMsgGCCStrike15_GotvSyncPacket& from); - CMsgGCCStrike15_GotvSyncPacket(CMsgGCCStrike15_GotvSyncPacket&& from) noexcept - : CMsgGCCStrike15_GotvSyncPacket() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_GotvSyncPacket& operator=(const CMsgGCCStrike15_GotvSyncPacket& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_GotvSyncPacket& operator=(CMsgGCCStrike15_GotvSyncPacket&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_GotvSyncPacket& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_GotvSyncPacket* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_GotvSyncPacket_default_instance_); - } - static constexpr int kIndexInFileMessages = - 144; - - friend void swap(CMsgGCCStrike15_GotvSyncPacket& a, CMsgGCCStrike15_GotvSyncPacket& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_GotvSyncPacket* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_GotvSyncPacket* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_GotvSyncPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_GotvSyncPacket& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_GotvSyncPacket& from) { - CMsgGCCStrike15_GotvSyncPacket::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_GotvSyncPacket* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_GotvSyncPacket"; - } - protected: - explicit CMsgGCCStrike15_GotvSyncPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 1, - }; - // optional .CEngineGotvSyncPacket data = 1; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const ::CEngineGotvSyncPacket& data() const; - PROTOBUF_NODISCARD ::CEngineGotvSyncPacket* release_data(); - ::CEngineGotvSyncPacket* mutable_data(); - void set_allocated_data(::CEngineGotvSyncPacket* data); - private: - const ::CEngineGotvSyncPacket& _internal_data() const; - ::CEngineGotvSyncPacket* _internal_mutable_data(); - public: - void unsafe_arena_set_allocated_data( - ::CEngineGotvSyncPacket* data); - ::CEngineGotvSyncPacket* unsafe_arena_release_data(); - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_GotvSyncPacket) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CEngineGotvSyncPacket* data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class PlayerDecalDigitalSignature : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PlayerDecalDigitalSignature) */ { - public: - inline PlayerDecalDigitalSignature() : PlayerDecalDigitalSignature(nullptr) {} - ~PlayerDecalDigitalSignature() override; - explicit PROTOBUF_CONSTEXPR PlayerDecalDigitalSignature(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - PlayerDecalDigitalSignature(const PlayerDecalDigitalSignature& from); - PlayerDecalDigitalSignature(PlayerDecalDigitalSignature&& from) noexcept - : PlayerDecalDigitalSignature() { - *this = ::std::move(from); - } - - inline PlayerDecalDigitalSignature& operator=(const PlayerDecalDigitalSignature& from) { - CopyFrom(from); - return *this; - } - inline PlayerDecalDigitalSignature& operator=(PlayerDecalDigitalSignature&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const PlayerDecalDigitalSignature& default_instance() { - return *internal_default_instance(); - } - static inline const PlayerDecalDigitalSignature* internal_default_instance() { - return reinterpret_cast( - &_PlayerDecalDigitalSignature_default_instance_); - } - static constexpr int kIndexInFileMessages = - 145; - - friend void swap(PlayerDecalDigitalSignature& a, PlayerDecalDigitalSignature& b) { - a.Swap(&b); - } - inline void Swap(PlayerDecalDigitalSignature* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(PlayerDecalDigitalSignature* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - PlayerDecalDigitalSignature* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const PlayerDecalDigitalSignature& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const PlayerDecalDigitalSignature& from) { - PlayerDecalDigitalSignature::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(PlayerDecalDigitalSignature* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "PlayerDecalDigitalSignature"; - } - protected: - explicit PlayerDecalDigitalSignature(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEndposFieldNumber = 4, - kStartposFieldNumber = 5, - kLeftFieldNumber = 6, - kNormalFieldNumber = 13, - kSignatureFieldNumber = 1, - kAccountidFieldNumber = 2, - kRtimeFieldNumber = 3, - kTxDefidxFieldNumber = 7, - kEntindexFieldNumber = 8, - kHitboxFieldNumber = 9, - kCreationtimeFieldNumber = 10, - kEquipslotFieldNumber = 11, - kTraceIdFieldNumber = 12, - kTintIdFieldNumber = 14, - }; - // repeated float endpos = 4; - int endpos_size() const; - private: - int _internal_endpos_size() const; - public: - void clear_endpos(); - private: - float _internal_endpos(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& - _internal_endpos() const; - void _internal_add_endpos(float value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* - _internal_mutable_endpos(); - public: - float endpos(int index) const; - void set_endpos(int index, float value); - void add_endpos(float value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& - endpos() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* - mutable_endpos(); - - // repeated float startpos = 5; - int startpos_size() const; - private: - int _internal_startpos_size() const; - public: - void clear_startpos(); - private: - float _internal_startpos(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& - _internal_startpos() const; - void _internal_add_startpos(float value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* - _internal_mutable_startpos(); - public: - float startpos(int index) const; - void set_startpos(int index, float value); - void add_startpos(float value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& - startpos() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* - mutable_startpos(); - - // repeated float left = 6; - int left_size() const; - private: - int _internal_left_size() const; - public: - void clear_left(); - private: - float _internal_left(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& - _internal_left() const; - void _internal_add_left(float value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* - _internal_mutable_left(); - public: - float left(int index) const; - void set_left(int index, float value); - void add_left(float value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& - left() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* - mutable_left(); - - // repeated float normal = 13; - int normal_size() const; - private: - int _internal_normal_size() const; - public: - void clear_normal(); - private: - float _internal_normal(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& - _internal_normal() const; - void _internal_add_normal(float value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* - _internal_mutable_normal(); - public: - float normal(int index) const; - void set_normal(int index, float value); - void add_normal(float value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& - normal() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* - mutable_normal(); - - // optional bytes signature = 1; - bool has_signature() const; - private: - bool _internal_has_signature() const; - public: - void clear_signature(); - const std::string& signature() const; - template - void set_signature(ArgT0&& arg0, ArgT... args); - std::string* mutable_signature(); - PROTOBUF_NODISCARD std::string* release_signature(); - void set_allocated_signature(std::string* signature); - private: - const std::string& _internal_signature() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_signature(const std::string& value); - std::string* _internal_mutable_signature(); - public: - - // optional uint32 accountid = 2; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // optional uint32 rtime = 3; - bool has_rtime() const; - private: - bool _internal_has_rtime() const; - public: - void clear_rtime(); - uint32_t rtime() const; - void set_rtime(uint32_t value); - private: - uint32_t _internal_rtime() const; - void _internal_set_rtime(uint32_t value); - public: - - // optional uint32 tx_defidx = 7; - bool has_tx_defidx() const; - private: - bool _internal_has_tx_defidx() const; - public: - void clear_tx_defidx(); - uint32_t tx_defidx() const; - void set_tx_defidx(uint32_t value); - private: - uint32_t _internal_tx_defidx() const; - void _internal_set_tx_defidx(uint32_t value); - public: - - // optional int32 entindex = 8; - bool has_entindex() const; - private: - bool _internal_has_entindex() const; - public: - void clear_entindex(); - int32_t entindex() const; - void set_entindex(int32_t value); - private: - int32_t _internal_entindex() const; - void _internal_set_entindex(int32_t value); - public: - - // optional uint32 hitbox = 9; - bool has_hitbox() const; - private: - bool _internal_has_hitbox() const; - public: - void clear_hitbox(); - uint32_t hitbox() const; - void set_hitbox(uint32_t value); - private: - uint32_t _internal_hitbox() const; - void _internal_set_hitbox(uint32_t value); - public: - - // optional float creationtime = 10; - bool has_creationtime() const; - private: - bool _internal_has_creationtime() const; - public: - void clear_creationtime(); - float creationtime() const; - void set_creationtime(float value); - private: - float _internal_creationtime() const; - void _internal_set_creationtime(float value); - public: - - // optional uint32 equipslot = 11; - bool has_equipslot() const; - private: - bool _internal_has_equipslot() const; - public: - void clear_equipslot(); - uint32_t equipslot() const; - void set_equipslot(uint32_t value); - private: - uint32_t _internal_equipslot() const; - void _internal_set_equipslot(uint32_t value); - public: - - // optional uint32 trace_id = 12; - bool has_trace_id() const; - private: - bool _internal_has_trace_id() const; - public: - void clear_trace_id(); - uint32_t trace_id() const; - void set_trace_id(uint32_t value); - private: - uint32_t _internal_trace_id() const; - void _internal_set_trace_id(uint32_t value); - public: - - // optional uint32 tint_id = 14; - bool has_tint_id() const; - private: - bool _internal_has_tint_id() const; - public: - void clear_tint_id(); - uint32_t tint_id() const; - void set_tint_id(uint32_t value); - private: - uint32_t _internal_tint_id() const; - void _internal_set_tint_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:PlayerDecalDigitalSignature) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > endpos_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > startpos_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > left_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > normal_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signature_; - uint32_t accountid_; - uint32_t rtime_; - uint32_t tx_defidx_; - int32_t entindex_; - uint32_t hitbox_; - float creationtime_; - uint32_t equipslot_; - uint32_t trace_id_; - uint32_t tint_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientPlayerDecalSign : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientPlayerDecalSign) */ { - public: - inline CMsgGCCStrike15_v2_ClientPlayerDecalSign() : CMsgGCCStrike15_v2_ClientPlayerDecalSign(nullptr) {} - ~CMsgGCCStrike15_v2_ClientPlayerDecalSign() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPlayerDecalSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientPlayerDecalSign(const CMsgGCCStrike15_v2_ClientPlayerDecalSign& from); - CMsgGCCStrike15_v2_ClientPlayerDecalSign(CMsgGCCStrike15_v2_ClientPlayerDecalSign&& from) noexcept - : CMsgGCCStrike15_v2_ClientPlayerDecalSign() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientPlayerDecalSign& operator=(const CMsgGCCStrike15_v2_ClientPlayerDecalSign& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientPlayerDecalSign& operator=(CMsgGCCStrike15_v2_ClientPlayerDecalSign&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientPlayerDecalSign& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientPlayerDecalSign* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientPlayerDecalSign_default_instance_); - } - static constexpr int kIndexInFileMessages = - 146; - - friend void swap(CMsgGCCStrike15_v2_ClientPlayerDecalSign& a, CMsgGCCStrike15_v2_ClientPlayerDecalSign& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientPlayerDecalSign* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientPlayerDecalSign* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientPlayerDecalSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientPlayerDecalSign& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientPlayerDecalSign& from) { - CMsgGCCStrike15_v2_ClientPlayerDecalSign::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientPlayerDecalSign* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientPlayerDecalSign"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientPlayerDecalSign(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 1, - kItemidFieldNumber = 2, - }; - // optional .PlayerDecalDigitalSignature data = 1; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const ::PlayerDecalDigitalSignature& data() const; - PROTOBUF_NODISCARD ::PlayerDecalDigitalSignature* release_data(); - ::PlayerDecalDigitalSignature* mutable_data(); - void set_allocated_data(::PlayerDecalDigitalSignature* data); - private: - const ::PlayerDecalDigitalSignature& _internal_data() const; - ::PlayerDecalDigitalSignature* _internal_mutable_data(); - public: - void unsafe_arena_set_allocated_data( - ::PlayerDecalDigitalSignature* data); - ::PlayerDecalDigitalSignature* unsafe_arena_release_data(); - - // optional uint64 itemid = 2; - bool has_itemid() const; - private: - bool _internal_has_itemid() const; - public: - void clear_itemid(); - uint64_t itemid() const; - void set_itemid(uint64_t value); - private: - uint64_t _internal_itemid() const; - void _internal_set_itemid(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientPlayerDecalSign) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PlayerDecalDigitalSignature* data_; - uint64_t itemid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_BetaEnrollment : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_BetaEnrollment) */ { - public: - inline CMsgGCCStrike15_v2_BetaEnrollment() : CMsgGCCStrike15_v2_BetaEnrollment(nullptr) {} - ~CMsgGCCStrike15_v2_BetaEnrollment() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_BetaEnrollment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_BetaEnrollment(const CMsgGCCStrike15_v2_BetaEnrollment& from); - CMsgGCCStrike15_v2_BetaEnrollment(CMsgGCCStrike15_v2_BetaEnrollment&& from) noexcept - : CMsgGCCStrike15_v2_BetaEnrollment() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_BetaEnrollment& operator=(const CMsgGCCStrike15_v2_BetaEnrollment& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_BetaEnrollment& operator=(CMsgGCCStrike15_v2_BetaEnrollment&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_BetaEnrollment& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_BetaEnrollment* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_BetaEnrollment_default_instance_); - } - static constexpr int kIndexInFileMessages = - 147; - - friend void swap(CMsgGCCStrike15_v2_BetaEnrollment& a, CMsgGCCStrike15_v2_BetaEnrollment& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_BetaEnrollment* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_BetaEnrollment* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_BetaEnrollment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_BetaEnrollment& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_BetaEnrollment& from) { - CMsgGCCStrike15_v2_BetaEnrollment::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_BetaEnrollment* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_BetaEnrollment"; - } - protected: - explicit CMsgGCCStrike15_v2_BetaEnrollment(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEresultFieldNumber = 1, - }; - // optional uint32 eresult = 1; - bool has_eresult() const; - private: - bool _internal_has_eresult() const; - public: - void clear_eresult(); - uint32_t eresult() const; - void set_eresult(uint32_t value); - private: - uint32_t _internal_eresult() const; - void _internal_set_eresult(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_BetaEnrollment) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t eresult_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientLogonFatalError : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientLogonFatalError) */ { - public: - inline CMsgGCCStrike15_v2_ClientLogonFatalError() : CMsgGCCStrike15_v2_ClientLogonFatalError(nullptr) {} - ~CMsgGCCStrike15_v2_ClientLogonFatalError() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientLogonFatalError(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientLogonFatalError(const CMsgGCCStrike15_v2_ClientLogonFatalError& from); - CMsgGCCStrike15_v2_ClientLogonFatalError(CMsgGCCStrike15_v2_ClientLogonFatalError&& from) noexcept - : CMsgGCCStrike15_v2_ClientLogonFatalError() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientLogonFatalError& operator=(const CMsgGCCStrike15_v2_ClientLogonFatalError& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientLogonFatalError& operator=(CMsgGCCStrike15_v2_ClientLogonFatalError&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientLogonFatalError& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientLogonFatalError* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientLogonFatalError_default_instance_); - } - static constexpr int kIndexInFileMessages = - 148; - - friend void swap(CMsgGCCStrike15_v2_ClientLogonFatalError& a, CMsgGCCStrike15_v2_ClientLogonFatalError& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientLogonFatalError* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientLogonFatalError* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientLogonFatalError* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientLogonFatalError& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientLogonFatalError& from) { - CMsgGCCStrike15_v2_ClientLogonFatalError::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientLogonFatalError* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientLogonFatalError"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientLogonFatalError(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMessageFieldNumber = 2, - kCountryFieldNumber = 3, - kErrorcodeFieldNumber = 1, - }; - // optional string message = 2; - bool has_message() const; - private: - bool _internal_has_message() const; - public: - void clear_message(); - const std::string& message() const; - template - void set_message(ArgT0&& arg0, ArgT... args); - std::string* mutable_message(); - PROTOBUF_NODISCARD std::string* release_message(); - void set_allocated_message(std::string* message); - private: - const std::string& _internal_message() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value); - std::string* _internal_mutable_message(); - public: - - // optional string country = 3; - bool has_country() const; - private: - bool _internal_has_country() const; - public: - void clear_country(); - const std::string& country() const; - template - void set_country(ArgT0&& arg0, ArgT... args); - std::string* mutable_country(); - PROTOBUF_NODISCARD std::string* release_country(); - void set_allocated_country(std::string* country); - private: - const std::string& _internal_country() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_country(const std::string& value); - std::string* _internal_mutable_country(); - public: - - // optional uint32 errorcode = 1; - bool has_errorcode() const; - private: - bool _internal_has_errorcode() const; - public: - void clear_errorcode(); - uint32_t errorcode() const; - void set_errorcode(uint32_t value); - private: - uint32_t _internal_errorcode() const; - void _internal_set_errorcode(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientLogonFatalError) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr country_; - uint32_t errorcode_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientPollState : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientPollState) */ { - public: - inline CMsgGCCStrike15_v2_ClientPollState() : CMsgGCCStrike15_v2_ClientPollState(nullptr) {} - ~CMsgGCCStrike15_v2_ClientPollState() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPollState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientPollState(const CMsgGCCStrike15_v2_ClientPollState& from); - CMsgGCCStrike15_v2_ClientPollState(CMsgGCCStrike15_v2_ClientPollState&& from) noexcept - : CMsgGCCStrike15_v2_ClientPollState() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientPollState& operator=(const CMsgGCCStrike15_v2_ClientPollState& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientPollState& operator=(CMsgGCCStrike15_v2_ClientPollState&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientPollState& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientPollState* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientPollState_default_instance_); - } - static constexpr int kIndexInFileMessages = - 149; - - friend void swap(CMsgGCCStrike15_v2_ClientPollState& a, CMsgGCCStrike15_v2_ClientPollState& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientPollState* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientPollState* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientPollState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientPollState& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientPollState& from) { - CMsgGCCStrike15_v2_ClientPollState::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientPollState* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientPollState"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientPollState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNamesFieldNumber = 2, - kValuesFieldNumber = 3, - kPollidFieldNumber = 1, - }; - // repeated string names = 2; - int names_size() const; - private: - int _internal_names_size() const; - public: - void clear_names(); - const std::string& names(int index) const; - std::string* mutable_names(int index); - void set_names(int index, const std::string& value); - void set_names(int index, std::string&& value); - void set_names(int index, const char* value); - void set_names(int index, const char* value, size_t size); - std::string* add_names(); - void add_names(const std::string& value); - void add_names(std::string&& value); - void add_names(const char* value); - void add_names(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& names() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_names(); - private: - const std::string& _internal_names(int index) const; - std::string* _internal_add_names(); - public: - - // repeated int32 values = 3; - int values_size() const; - private: - int _internal_values_size() const; - public: - void clear_values(); - private: - int32_t _internal_values(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_values() const; - void _internal_add_values(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_values(); - public: - int32_t values(int index) const; - void set_values(int index, int32_t value); - void add_values(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - values() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_values(); - - // optional uint32 pollid = 1; - bool has_pollid() const; - private: - bool _internal_has_pollid() const; - public: - void clear_pollid(); - uint32_t pollid() const; - void set_pollid(uint32_t value); - private: - uint32_t _internal_pollid() const; - void _internal_set_pollid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientPollState) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField names_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > values_; - uint32_t pollid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Party_Register : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Party_Register) */ { - public: - inline CMsgGCCStrike15_v2_Party_Register() : CMsgGCCStrike15_v2_Party_Register(nullptr) {} - ~CMsgGCCStrike15_v2_Party_Register() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_Register(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Party_Register(const CMsgGCCStrike15_v2_Party_Register& from); - CMsgGCCStrike15_v2_Party_Register(CMsgGCCStrike15_v2_Party_Register&& from) noexcept - : CMsgGCCStrike15_v2_Party_Register() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Party_Register& operator=(const CMsgGCCStrike15_v2_Party_Register& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Party_Register& operator=(CMsgGCCStrike15_v2_Party_Register&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Party_Register& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Party_Register* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Party_Register_default_instance_); - } - static constexpr int kIndexInFileMessages = - 150; - - friend void swap(CMsgGCCStrike15_v2_Party_Register& a, CMsgGCCStrike15_v2_Party_Register& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Party_Register* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Party_Register* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Party_Register* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_Party_Register& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_Party_Register& from) { - CMsgGCCStrike15_v2_Party_Register::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_Party_Register* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Party_Register"; - } - protected: - explicit CMsgGCCStrike15_v2_Party_Register(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIdFieldNumber = 1, - kVerFieldNumber = 2, - kAprFieldNumber = 3, - kArkFieldNumber = 4, - kNbyFieldNumber = 5, - kGrpFieldNumber = 6, - kSlotsFieldNumber = 7, - kLauncherFieldNumber = 8, - kGameTypeFieldNumber = 9, - }; - // optional uint32 id = 1; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - uint32_t id() const; - void set_id(uint32_t value); - private: - uint32_t _internal_id() const; - void _internal_set_id(uint32_t value); - public: - - // optional uint32 ver = 2; - bool has_ver() const; - private: - bool _internal_has_ver() const; - public: - void clear_ver(); - uint32_t ver() const; - void set_ver(uint32_t value); - private: - uint32_t _internal_ver() const; - void _internal_set_ver(uint32_t value); - public: - - // optional uint32 apr = 3; - bool has_apr() const; - private: - bool _internal_has_apr() const; - public: - void clear_apr(); - uint32_t apr() const; - void set_apr(uint32_t value); - private: - uint32_t _internal_apr() const; - void _internal_set_apr(uint32_t value); - public: - - // optional uint32 ark = 4; - bool has_ark() const; - private: - bool _internal_has_ark() const; - public: - void clear_ark(); - uint32_t ark() const; - void set_ark(uint32_t value); - private: - uint32_t _internal_ark() const; - void _internal_set_ark(uint32_t value); - public: - - // optional uint32 nby = 5; - bool has_nby() const; - private: - bool _internal_has_nby() const; - public: - void clear_nby(); - uint32_t nby() const; - void set_nby(uint32_t value); - private: - uint32_t _internal_nby() const; - void _internal_set_nby(uint32_t value); - public: - - // optional uint32 grp = 6; - bool has_grp() const; - private: - bool _internal_has_grp() const; - public: - void clear_grp(); - uint32_t grp() const; - void set_grp(uint32_t value); - private: - uint32_t _internal_grp() const; - void _internal_set_grp(uint32_t value); - public: - - // optional uint32 slots = 7; - bool has_slots() const; - private: - bool _internal_has_slots() const; - public: - void clear_slots(); - uint32_t slots() const; - void set_slots(uint32_t value); - private: - uint32_t _internal_slots() const; - void _internal_set_slots(uint32_t value); - public: - - // optional uint32 launcher = 8; - bool has_launcher() const; - private: - bool _internal_has_launcher() const; - public: - void clear_launcher(); - uint32_t launcher() const; - void set_launcher(uint32_t value); - private: - uint32_t _internal_launcher() const; - void _internal_set_launcher(uint32_t value); - public: - - // optional uint32 game_type = 9; - bool has_game_type() const; - private: - bool _internal_has_game_type() const; - public: - void clear_game_type(); - uint32_t game_type() const; - void set_game_type(uint32_t value); - private: - uint32_t _internal_game_type() const; - void _internal_set_game_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Party_Register) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t id_; - uint32_t ver_; - uint32_t apr_; - uint32_t ark_; - uint32_t nby_; - uint32_t grp_; - uint32_t slots_; - uint32_t launcher_; - uint32_t game_type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Party_Search : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Party_Search) */ { - public: - inline CMsgGCCStrike15_v2_Party_Search() : CMsgGCCStrike15_v2_Party_Search(nullptr) {} - ~CMsgGCCStrike15_v2_Party_Search() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_Search(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Party_Search(const CMsgGCCStrike15_v2_Party_Search& from); - CMsgGCCStrike15_v2_Party_Search(CMsgGCCStrike15_v2_Party_Search&& from) noexcept - : CMsgGCCStrike15_v2_Party_Search() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Party_Search& operator=(const CMsgGCCStrike15_v2_Party_Search& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Party_Search& operator=(CMsgGCCStrike15_v2_Party_Search&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Party_Search& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Party_Search* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Party_Search_default_instance_); - } - static constexpr int kIndexInFileMessages = - 151; - - friend void swap(CMsgGCCStrike15_v2_Party_Search& a, CMsgGCCStrike15_v2_Party_Search& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Party_Search* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Party_Search* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Party_Search* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_Party_Search& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_Party_Search& from) { - CMsgGCCStrike15_v2_Party_Search::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_Party_Search* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Party_Search"; - } - protected: - explicit CMsgGCCStrike15_v2_Party_Search(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGrpsFieldNumber = 4, - kVerFieldNumber = 1, - kAprFieldNumber = 2, - kArkFieldNumber = 3, - kLauncherFieldNumber = 5, - kGameTypeFieldNumber = 6, - }; - // repeated uint32 grps = 4; - int grps_size() const; - private: - int _internal_grps_size() const; - public: - void clear_grps(); - private: - uint32_t _internal_grps(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_grps() const; - void _internal_add_grps(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_grps(); - public: - uint32_t grps(int index) const; - void set_grps(int index, uint32_t value); - void add_grps(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - grps() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_grps(); - - // optional uint32 ver = 1; - bool has_ver() const; - private: - bool _internal_has_ver() const; - public: - void clear_ver(); - uint32_t ver() const; - void set_ver(uint32_t value); - private: - uint32_t _internal_ver() const; - void _internal_set_ver(uint32_t value); - public: - - // optional uint32 apr = 2; - bool has_apr() const; - private: - bool _internal_has_apr() const; - public: - void clear_apr(); - uint32_t apr() const; - void set_apr(uint32_t value); - private: - uint32_t _internal_apr() const; - void _internal_set_apr(uint32_t value); - public: - - // optional uint32 ark = 3; - bool has_ark() const; - private: - bool _internal_has_ark() const; - public: - void clear_ark(); - uint32_t ark() const; - void set_ark(uint32_t value); - private: - uint32_t _internal_ark() const; - void _internal_set_ark(uint32_t value); - public: - - // optional uint32 launcher = 5; - bool has_launcher() const; - private: - bool _internal_has_launcher() const; - public: - void clear_launcher(); - uint32_t launcher() const; - void set_launcher(uint32_t value); - private: - uint32_t _internal_launcher() const; - void _internal_set_launcher(uint32_t value); - public: - - // optional uint32 game_type = 6; - bool has_game_type() const; - private: - bool _internal_has_game_type() const; - public: - void clear_game_type(); - uint32_t game_type() const; - void set_game_type(uint32_t value); - private: - uint32_t _internal_game_type() const; - void _internal_set_game_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Party_Search) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > grps_; - uint32_t ver_; - uint32_t apr_; - uint32_t ark_; - uint32_t launcher_; - uint32_t game_type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Party_SearchResults_Entry : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Party_SearchResults.Entry) */ { - public: - inline CMsgGCCStrike15_v2_Party_SearchResults_Entry() : CMsgGCCStrike15_v2_Party_SearchResults_Entry(nullptr) {} - ~CMsgGCCStrike15_v2_Party_SearchResults_Entry() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_SearchResults_Entry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Party_SearchResults_Entry(const CMsgGCCStrike15_v2_Party_SearchResults_Entry& from); - CMsgGCCStrike15_v2_Party_SearchResults_Entry(CMsgGCCStrike15_v2_Party_SearchResults_Entry&& from) noexcept - : CMsgGCCStrike15_v2_Party_SearchResults_Entry() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Party_SearchResults_Entry& operator=(const CMsgGCCStrike15_v2_Party_SearchResults_Entry& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Party_SearchResults_Entry& operator=(CMsgGCCStrike15_v2_Party_SearchResults_Entry&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Party_SearchResults_Entry& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Party_SearchResults_Entry* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Party_SearchResults_Entry_default_instance_); - } - static constexpr int kIndexInFileMessages = - 152; - - friend void swap(CMsgGCCStrike15_v2_Party_SearchResults_Entry& a, CMsgGCCStrike15_v2_Party_SearchResults_Entry& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Party_SearchResults_Entry* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Party_SearchResults_Entry* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Party_SearchResults_Entry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_Party_SearchResults_Entry& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_Party_SearchResults_Entry& from) { - CMsgGCCStrike15_v2_Party_SearchResults_Entry::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_Party_SearchResults_Entry* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Party_SearchResults.Entry"; - } - protected: - explicit CMsgGCCStrike15_v2_Party_SearchResults_Entry(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIdFieldNumber = 1, - kGrpFieldNumber = 2, - kGameTypeFieldNumber = 3, - kAprFieldNumber = 4, - kArkFieldNumber = 5, - kLocFieldNumber = 6, - kAccountidFieldNumber = 7, - }; - // optional uint32 id = 1; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - uint32_t id() const; - void set_id(uint32_t value); - private: - uint32_t _internal_id() const; - void _internal_set_id(uint32_t value); - public: - - // optional uint32 grp = 2; - bool has_grp() const; - private: - bool _internal_has_grp() const; - public: - void clear_grp(); - uint32_t grp() const; - void set_grp(uint32_t value); - private: - uint32_t _internal_grp() const; - void _internal_set_grp(uint32_t value); - public: - - // optional uint32 game_type = 3; - bool has_game_type() const; - private: - bool _internal_has_game_type() const; - public: - void clear_game_type(); - uint32_t game_type() const; - void set_game_type(uint32_t value); - private: - uint32_t _internal_game_type() const; - void _internal_set_game_type(uint32_t value); - public: - - // optional uint32 apr = 4; - bool has_apr() const; - private: - bool _internal_has_apr() const; - public: - void clear_apr(); - uint32_t apr() const; - void set_apr(uint32_t value); - private: - uint32_t _internal_apr() const; - void _internal_set_apr(uint32_t value); - public: - - // optional uint32 ark = 5; - bool has_ark() const; - private: - bool _internal_has_ark() const; - public: - void clear_ark(); - uint32_t ark() const; - void set_ark(uint32_t value); - private: - uint32_t _internal_ark() const; - void _internal_set_ark(uint32_t value); - public: - - // optional uint32 loc = 6; - bool has_loc() const; - private: - bool _internal_has_loc() const; - public: - void clear_loc(); - uint32_t loc() const; - void set_loc(uint32_t value); - private: - uint32_t _internal_loc() const; - void _internal_set_loc(uint32_t value); - public: - - // optional uint32 accountid = 7; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Party_SearchResults.Entry) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t id_; - uint32_t grp_; - uint32_t game_type_; - uint32_t apr_; - uint32_t ark_; - uint32_t loc_; - uint32_t accountid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Party_SearchResults : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Party_SearchResults) */ { - public: - inline CMsgGCCStrike15_v2_Party_SearchResults() : CMsgGCCStrike15_v2_Party_SearchResults(nullptr) {} - ~CMsgGCCStrike15_v2_Party_SearchResults() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_SearchResults(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Party_SearchResults(const CMsgGCCStrike15_v2_Party_SearchResults& from); - CMsgGCCStrike15_v2_Party_SearchResults(CMsgGCCStrike15_v2_Party_SearchResults&& from) noexcept - : CMsgGCCStrike15_v2_Party_SearchResults() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Party_SearchResults& operator=(const CMsgGCCStrike15_v2_Party_SearchResults& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Party_SearchResults& operator=(CMsgGCCStrike15_v2_Party_SearchResults&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Party_SearchResults& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Party_SearchResults* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Party_SearchResults_default_instance_); - } - static constexpr int kIndexInFileMessages = - 153; - - friend void swap(CMsgGCCStrike15_v2_Party_SearchResults& a, CMsgGCCStrike15_v2_Party_SearchResults& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Party_SearchResults* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Party_SearchResults* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Party_SearchResults* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_Party_SearchResults& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_Party_SearchResults& from) { - CMsgGCCStrike15_v2_Party_SearchResults::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_Party_SearchResults* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Party_SearchResults"; - } - protected: - explicit CMsgGCCStrike15_v2_Party_SearchResults(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgGCCStrike15_v2_Party_SearchResults_Entry Entry; - - // accessors ------------------------------------------------------- - - enum : int { - kEntriesFieldNumber = 1, - }; - // repeated .CMsgGCCStrike15_v2_Party_SearchResults.Entry entries = 1; - int entries_size() const; - private: - int _internal_entries_size() const; - public: - void clear_entries(); - ::CMsgGCCStrike15_v2_Party_SearchResults_Entry* mutable_entries(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Party_SearchResults_Entry >* - mutable_entries(); - private: - const ::CMsgGCCStrike15_v2_Party_SearchResults_Entry& _internal_entries(int index) const; - ::CMsgGCCStrike15_v2_Party_SearchResults_Entry* _internal_add_entries(); - public: - const ::CMsgGCCStrike15_v2_Party_SearchResults_Entry& entries(int index) const; - ::CMsgGCCStrike15_v2_Party_SearchResults_Entry* add_entries(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Party_SearchResults_Entry >& - entries() const; - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Party_SearchResults) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Party_SearchResults_Entry > entries_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Party_Invite : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Party_Invite) */ { - public: - inline CMsgGCCStrike15_v2_Party_Invite() : CMsgGCCStrike15_v2_Party_Invite(nullptr) {} - ~CMsgGCCStrike15_v2_Party_Invite() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Party_Invite(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Party_Invite(const CMsgGCCStrike15_v2_Party_Invite& from); - CMsgGCCStrike15_v2_Party_Invite(CMsgGCCStrike15_v2_Party_Invite&& from) noexcept - : CMsgGCCStrike15_v2_Party_Invite() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Party_Invite& operator=(const CMsgGCCStrike15_v2_Party_Invite& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Party_Invite& operator=(CMsgGCCStrike15_v2_Party_Invite&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Party_Invite& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Party_Invite* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Party_Invite_default_instance_); - } - static constexpr int kIndexInFileMessages = - 154; - - friend void swap(CMsgGCCStrike15_v2_Party_Invite& a, CMsgGCCStrike15_v2_Party_Invite& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Party_Invite* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Party_Invite* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Party_Invite* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_Party_Invite& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_Party_Invite& from) { - CMsgGCCStrike15_v2_Party_Invite::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_Party_Invite* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Party_Invite"; - } - protected: - explicit CMsgGCCStrike15_v2_Party_Invite(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountidFieldNumber = 1, - kLobbyidFieldNumber = 2, - }; - // optional uint32 accountid = 1; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // optional uint32 lobbyid = 2; - bool has_lobbyid() const; - private: - bool _internal_has_lobbyid() const; - public: - void clear_lobbyid(); - uint32_t lobbyid() const; - void set_lobbyid(uint32_t value); - private: - uint32_t _internal_lobbyid() const; - void _internal_set_lobbyid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Party_Invite) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t accountid_; - uint32_t lobbyid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Account_RequestCoPlays_Player : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) */ { - public: - inline CMsgGCCStrike15_v2_Account_RequestCoPlays_Player() : CMsgGCCStrike15_v2_Account_RequestCoPlays_Player(nullptr) {} - ~CMsgGCCStrike15_v2_Account_RequestCoPlays_Player() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Account_RequestCoPlays_Player(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Account_RequestCoPlays_Player(const CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& from); - CMsgGCCStrike15_v2_Account_RequestCoPlays_Player(CMsgGCCStrike15_v2_Account_RequestCoPlays_Player&& from) noexcept - : CMsgGCCStrike15_v2_Account_RequestCoPlays_Player() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& operator=(const CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& operator=(CMsgGCCStrike15_v2_Account_RequestCoPlays_Player&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Account_RequestCoPlays_Player_default_instance_); - } - static constexpr int kIndexInFileMessages = - 155; - - friend void swap(CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& a, CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& from) { - CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Account_RequestCoPlays.Player"; - } - protected: - explicit CMsgGCCStrike15_v2_Account_RequestCoPlays_Player(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountidFieldNumber = 1, - kRtcoplayFieldNumber = 2, - kOnlineFieldNumber = 3, - }; - // optional uint32 accountid = 1; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // optional uint32 rtcoplay = 2; - bool has_rtcoplay() const; - private: - bool _internal_has_rtcoplay() const; - public: - void clear_rtcoplay(); - uint32_t rtcoplay() const; - void set_rtcoplay(uint32_t value); - private: - uint32_t _internal_rtcoplay() const; - void _internal_set_rtcoplay(uint32_t value); - public: - - // optional bool online = 3; - bool has_online() const; - private: - bool _internal_has_online() const; - public: - void clear_online(); - bool online() const; - void set_online(bool value); - private: - bool _internal_online() const; - void _internal_set_online(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t accountid_; - uint32_t rtcoplay_; - bool online_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_Account_RequestCoPlays : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_Account_RequestCoPlays) */ { - public: - inline CMsgGCCStrike15_v2_Account_RequestCoPlays() : CMsgGCCStrike15_v2_Account_RequestCoPlays(nullptr) {} - ~CMsgGCCStrike15_v2_Account_RequestCoPlays() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_Account_RequestCoPlays(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_Account_RequestCoPlays(const CMsgGCCStrike15_v2_Account_RequestCoPlays& from); - CMsgGCCStrike15_v2_Account_RequestCoPlays(CMsgGCCStrike15_v2_Account_RequestCoPlays&& from) noexcept - : CMsgGCCStrike15_v2_Account_RequestCoPlays() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_Account_RequestCoPlays& operator=(const CMsgGCCStrike15_v2_Account_RequestCoPlays& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_Account_RequestCoPlays& operator=(CMsgGCCStrike15_v2_Account_RequestCoPlays&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_Account_RequestCoPlays& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_Account_RequestCoPlays* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_Account_RequestCoPlays_default_instance_); - } - static constexpr int kIndexInFileMessages = - 156; - - friend void swap(CMsgGCCStrike15_v2_Account_RequestCoPlays& a, CMsgGCCStrike15_v2_Account_RequestCoPlays& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_Account_RequestCoPlays* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_Account_RequestCoPlays* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_Account_RequestCoPlays* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_Account_RequestCoPlays& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_Account_RequestCoPlays& from) { - CMsgGCCStrike15_v2_Account_RequestCoPlays::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_Account_RequestCoPlays* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_Account_RequestCoPlays"; - } - protected: - explicit CMsgGCCStrike15_v2_Account_RequestCoPlays(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgGCCStrike15_v2_Account_RequestCoPlays_Player Player; - - // accessors ------------------------------------------------------- - - enum : int { - kPlayersFieldNumber = 1, - kServertimeFieldNumber = 2, - }; - // repeated .CMsgGCCStrike15_v2_Account_RequestCoPlays.Player players = 1; - int players_size() const; - private: - int _internal_players_size() const; - public: - void clear_players(); - ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* mutable_players(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player >* - mutable_players(); - private: - const ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& _internal_players(int index) const; - ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* _internal_add_players(); - public: - const ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& players(int index) const; - ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* add_players(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player >& - players() const; - - // optional uint32 servertime = 2; - bool has_servertime() const; - private: - bool _internal_has_servertime() const; - public: - void clear_servertime(); - uint32_t servertime() const; - void set_servertime(uint32_t value); - private: - uint32_t _internal_servertime() const; - void _internal_set_servertime(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_Account_RequestCoPlays) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player > players_; - uint32_t servertime_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientToGCRequestTicket : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientToGCRequestTicket) */ { - public: - inline CMsgGCCStrike15_v2_ClientToGCRequestTicket() : CMsgGCCStrike15_v2_ClientToGCRequestTicket(nullptr) {} - ~CMsgGCCStrike15_v2_ClientToGCRequestTicket() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientToGCRequestTicket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientToGCRequestTicket(const CMsgGCCStrike15_v2_ClientToGCRequestTicket& from); - CMsgGCCStrike15_v2_ClientToGCRequestTicket(CMsgGCCStrike15_v2_ClientToGCRequestTicket&& from) noexcept - : CMsgGCCStrike15_v2_ClientToGCRequestTicket() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientToGCRequestTicket& operator=(const CMsgGCCStrike15_v2_ClientToGCRequestTicket& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientToGCRequestTicket& operator=(CMsgGCCStrike15_v2_ClientToGCRequestTicket&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientToGCRequestTicket& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientToGCRequestTicket* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientToGCRequestTicket_default_instance_); - } - static constexpr int kIndexInFileMessages = - 157; - - friend void swap(CMsgGCCStrike15_v2_ClientToGCRequestTicket& a, CMsgGCCStrike15_v2_ClientToGCRequestTicket& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientToGCRequestTicket* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientToGCRequestTicket* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientToGCRequestTicket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientToGCRequestTicket& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientToGCRequestTicket& from) { - CMsgGCCStrike15_v2_ClientToGCRequestTicket::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientToGCRequestTicket* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientToGCRequestTicket"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientToGCRequestTicket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGameserverSdrRoutingFieldNumber = 5, - kAuthorizedSteamIdFieldNumber = 1, - kGameserverSteamIdFieldNumber = 3, - kAuthorizedPublicIpFieldNumber = 2, - }; - // optional string gameserver_sdr_routing = 5; - bool has_gameserver_sdr_routing() const; - private: - bool _internal_has_gameserver_sdr_routing() const; - public: - void clear_gameserver_sdr_routing(); - const std::string& gameserver_sdr_routing() const; - template - void set_gameserver_sdr_routing(ArgT0&& arg0, ArgT... args); - std::string* mutable_gameserver_sdr_routing(); - PROTOBUF_NODISCARD std::string* release_gameserver_sdr_routing(); - void set_allocated_gameserver_sdr_routing(std::string* gameserver_sdr_routing); - private: - const std::string& _internal_gameserver_sdr_routing() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_gameserver_sdr_routing(const std::string& value); - std::string* _internal_mutable_gameserver_sdr_routing(); - public: - - // optional fixed64 authorized_steam_id = 1; - bool has_authorized_steam_id() const; - private: - bool _internal_has_authorized_steam_id() const; - public: - void clear_authorized_steam_id(); - uint64_t authorized_steam_id() const; - void set_authorized_steam_id(uint64_t value); - private: - uint64_t _internal_authorized_steam_id() const; - void _internal_set_authorized_steam_id(uint64_t value); - public: - - // optional fixed64 gameserver_steam_id = 3; - bool has_gameserver_steam_id() const; - private: - bool _internal_has_gameserver_steam_id() const; - public: - void clear_gameserver_steam_id(); - uint64_t gameserver_steam_id() const; - void set_gameserver_steam_id(uint64_t value); - private: - uint64_t _internal_gameserver_steam_id() const; - void _internal_set_gameserver_steam_id(uint64_t value); - public: - - // optional fixed32 authorized_public_ip = 2; - bool has_authorized_public_ip() const; - private: - bool _internal_has_authorized_public_ip() const; - public: - void clear_authorized_public_ip(); - uint32_t authorized_public_ip() const; - void set_authorized_public_ip(uint32_t value); - private: - uint32_t _internal_authorized_public_ip() const; - void _internal_set_authorized_public_ip(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientToGCRequestTicket) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gameserver_sdr_routing_; - uint64_t authorized_steam_id_; - uint64_t gameserver_steam_id_; - uint32_t authorized_public_ip_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCToClientSteamDatagramTicket : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCToClientSteamDatagramTicket) */ { - public: - inline CMsgGCToClientSteamDatagramTicket() : CMsgGCToClientSteamDatagramTicket(nullptr) {} - ~CMsgGCToClientSteamDatagramTicket() override; - explicit PROTOBUF_CONSTEXPR CMsgGCToClientSteamDatagramTicket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCToClientSteamDatagramTicket(const CMsgGCToClientSteamDatagramTicket& from); - CMsgGCToClientSteamDatagramTicket(CMsgGCToClientSteamDatagramTicket&& from) noexcept - : CMsgGCToClientSteamDatagramTicket() { - *this = ::std::move(from); - } - - inline CMsgGCToClientSteamDatagramTicket& operator=(const CMsgGCToClientSteamDatagramTicket& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCToClientSteamDatagramTicket& operator=(CMsgGCToClientSteamDatagramTicket&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCToClientSteamDatagramTicket& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCToClientSteamDatagramTicket* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCToClientSteamDatagramTicket_default_instance_); - } - static constexpr int kIndexInFileMessages = - 158; - - friend void swap(CMsgGCToClientSteamDatagramTicket& a, CMsgGCToClientSteamDatagramTicket& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCToClientSteamDatagramTicket* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCToClientSteamDatagramTicket* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCToClientSteamDatagramTicket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCToClientSteamDatagramTicket& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCToClientSteamDatagramTicket& from) { - CMsgGCToClientSteamDatagramTicket::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCToClientSteamDatagramTicket* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCToClientSteamDatagramTicket"; - } - protected: - explicit CMsgGCToClientSteamDatagramTicket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSerializedTicketFieldNumber = 16, - }; - // optional bytes serialized_ticket = 16; - bool has_serialized_ticket() const; - private: - bool _internal_has_serialized_ticket() const; - public: - void clear_serialized_ticket(); - const std::string& serialized_ticket() const; - template - void set_serialized_ticket(ArgT0&& arg0, ArgT... args); - std::string* mutable_serialized_ticket(); - PROTOBUF_NODISCARD std::string* release_serialized_ticket(); - void set_allocated_serialized_ticket(std::string* serialized_ticket); - private: - const std::string& _internal_serialized_ticket() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_serialized_ticket(const std::string& value); - std::string* _internal_mutable_serialized_ticket(); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCToClientSteamDatagramTicket) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serialized_ticket_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientRequestOffers : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientRequestOffers) */ { - public: - inline CMsgGCCStrike15_v2_ClientRequestOffers() : CMsgGCCStrike15_v2_ClientRequestOffers(nullptr) {} - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestOffers(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientRequestOffers(const CMsgGCCStrike15_v2_ClientRequestOffers& from); - CMsgGCCStrike15_v2_ClientRequestOffers(CMsgGCCStrike15_v2_ClientRequestOffers&& from) noexcept - : CMsgGCCStrike15_v2_ClientRequestOffers() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientRequestOffers& operator=(const CMsgGCCStrike15_v2_ClientRequestOffers& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientRequestOffers& operator=(CMsgGCCStrike15_v2_ClientRequestOffers&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientRequestOffers& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientRequestOffers* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientRequestOffers_default_instance_); - } - static constexpr int kIndexInFileMessages = - 159; - - friend void swap(CMsgGCCStrike15_v2_ClientRequestOffers& a, CMsgGCCStrike15_v2_ClientRequestOffers& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientRequestOffers* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientRequestOffers* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientRequestOffers* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CMsgGCCStrike15_v2_ClientRequestOffers& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CMsgGCCStrike15_v2_ClientRequestOffers& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientRequestOffers"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientRequestOffers(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientRequestOffers) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientRequestSouvenir : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientRequestSouvenir) */ { - public: - inline CMsgGCCStrike15_v2_ClientRequestSouvenir() : CMsgGCCStrike15_v2_ClientRequestSouvenir(nullptr) {} - ~CMsgGCCStrike15_v2_ClientRequestSouvenir() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientRequestSouvenir(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientRequestSouvenir(const CMsgGCCStrike15_v2_ClientRequestSouvenir& from); - CMsgGCCStrike15_v2_ClientRequestSouvenir(CMsgGCCStrike15_v2_ClientRequestSouvenir&& from) noexcept - : CMsgGCCStrike15_v2_ClientRequestSouvenir() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientRequestSouvenir& operator=(const CMsgGCCStrike15_v2_ClientRequestSouvenir& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientRequestSouvenir& operator=(CMsgGCCStrike15_v2_ClientRequestSouvenir&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientRequestSouvenir& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientRequestSouvenir* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientRequestSouvenir_default_instance_); - } - static constexpr int kIndexInFileMessages = - 160; - - friend void swap(CMsgGCCStrike15_v2_ClientRequestSouvenir& a, CMsgGCCStrike15_v2_ClientRequestSouvenir& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientRequestSouvenir* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientRequestSouvenir* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientRequestSouvenir* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientRequestSouvenir& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientRequestSouvenir& from) { - CMsgGCCStrike15_v2_ClientRequestSouvenir::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientRequestSouvenir* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientRequestSouvenir"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientRequestSouvenir(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemidFieldNumber = 1, - kMatchidFieldNumber = 2, - kEventidFieldNumber = 3, - }; - // optional uint64 itemid = 1; - bool has_itemid() const; - private: - bool _internal_has_itemid() const; - public: - void clear_itemid(); - uint64_t itemid() const; - void set_itemid(uint64_t value); - private: - uint64_t _internal_itemid() const; - void _internal_set_itemid(uint64_t value); - public: - - // optional uint64 matchid = 2; - bool has_matchid() const; - private: - bool _internal_has_matchid() const; - public: - void clear_matchid(); - uint64_t matchid() const; - void set_matchid(uint64_t value); - private: - uint64_t _internal_matchid() const; - void _internal_set_matchid(uint64_t value); - public: - - // optional int32 eventid = 3; - bool has_eventid() const; - private: - bool _internal_has_eventid() const; - public: - void clear_eventid(); - int32_t eventid() const; - void set_eventid(int32_t value); - private: - int32_t _internal_eventid() const; - void _internal_set_eventid(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientRequestSouvenir) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t itemid_; - uint64_t matchid_; - int32_t eventid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientAccountBalance : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientAccountBalance) */ { - public: - inline CMsgGCCStrike15_v2_ClientAccountBalance() : CMsgGCCStrike15_v2_ClientAccountBalance(nullptr) {} - ~CMsgGCCStrike15_v2_ClientAccountBalance() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientAccountBalance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientAccountBalance(const CMsgGCCStrike15_v2_ClientAccountBalance& from); - CMsgGCCStrike15_v2_ClientAccountBalance(CMsgGCCStrike15_v2_ClientAccountBalance&& from) noexcept - : CMsgGCCStrike15_v2_ClientAccountBalance() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientAccountBalance& operator=(const CMsgGCCStrike15_v2_ClientAccountBalance& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientAccountBalance& operator=(CMsgGCCStrike15_v2_ClientAccountBalance&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientAccountBalance& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientAccountBalance* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientAccountBalance_default_instance_); - } - static constexpr int kIndexInFileMessages = - 161; - - friend void swap(CMsgGCCStrike15_v2_ClientAccountBalance& a, CMsgGCCStrike15_v2_ClientAccountBalance& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientAccountBalance* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientAccountBalance* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientAccountBalance* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientAccountBalance& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientAccountBalance& from) { - CMsgGCCStrike15_v2_ClientAccountBalance::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientAccountBalance* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientAccountBalance"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientAccountBalance(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kUrlFieldNumber = 2, - kAmountFieldNumber = 1, - }; - // optional string url = 2; - bool has_url() const; - private: - bool _internal_has_url() const; - public: - void clear_url(); - const std::string& url() const; - template - void set_url(ArgT0&& arg0, ArgT... args); - std::string* mutable_url(); - PROTOBUF_NODISCARD std::string* release_url(); - void set_allocated_url(std::string* url); - private: - const std::string& _internal_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value); - std::string* _internal_mutable_url(); - public: - - // optional uint64 amount = 1; - bool has_amount() const; - private: - bool _internal_has_amount() const; - public: - void clear_amount(); - uint64_t amount() const; - void set_amount(uint64_t value); - private: - uint64_t _internal_amount() const; - void _internal_set_amount(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientAccountBalance) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; - uint64_t amount_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientPartyJoinRelay : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientPartyJoinRelay) */ { - public: - inline CMsgGCCStrike15_v2_ClientPartyJoinRelay() : CMsgGCCStrike15_v2_ClientPartyJoinRelay(nullptr) {} - ~CMsgGCCStrike15_v2_ClientPartyJoinRelay() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPartyJoinRelay(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientPartyJoinRelay(const CMsgGCCStrike15_v2_ClientPartyJoinRelay& from); - CMsgGCCStrike15_v2_ClientPartyJoinRelay(CMsgGCCStrike15_v2_ClientPartyJoinRelay&& from) noexcept - : CMsgGCCStrike15_v2_ClientPartyJoinRelay() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientPartyJoinRelay& operator=(const CMsgGCCStrike15_v2_ClientPartyJoinRelay& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientPartyJoinRelay& operator=(CMsgGCCStrike15_v2_ClientPartyJoinRelay&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientPartyJoinRelay& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientPartyJoinRelay* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientPartyJoinRelay_default_instance_); - } - static constexpr int kIndexInFileMessages = - 162; - - friend void swap(CMsgGCCStrike15_v2_ClientPartyJoinRelay& a, CMsgGCCStrike15_v2_ClientPartyJoinRelay& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientPartyJoinRelay* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientPartyJoinRelay* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientPartyJoinRelay* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientPartyJoinRelay& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientPartyJoinRelay& from) { - CMsgGCCStrike15_v2_ClientPartyJoinRelay::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientPartyJoinRelay* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientPartyJoinRelay"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientPartyJoinRelay(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLobbyidFieldNumber = 2, - kAccountidFieldNumber = 1, - }; - // optional uint64 lobbyid = 2; - bool has_lobbyid() const; - private: - bool _internal_has_lobbyid() const; - public: - void clear_lobbyid(); - uint64_t lobbyid() const; - void set_lobbyid(uint64_t value); - private: - uint64_t _internal_lobbyid() const; - void _internal_set_lobbyid(uint64_t value); - public: - - // optional uint32 accountid = 1; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientPartyJoinRelay) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t lobbyid_; - uint32_t accountid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientPartyWarning_Entry : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) */ { - public: - inline CMsgGCCStrike15_v2_ClientPartyWarning_Entry() : CMsgGCCStrike15_v2_ClientPartyWarning_Entry(nullptr) {} - ~CMsgGCCStrike15_v2_ClientPartyWarning_Entry() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPartyWarning_Entry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientPartyWarning_Entry(const CMsgGCCStrike15_v2_ClientPartyWarning_Entry& from); - CMsgGCCStrike15_v2_ClientPartyWarning_Entry(CMsgGCCStrike15_v2_ClientPartyWarning_Entry&& from) noexcept - : CMsgGCCStrike15_v2_ClientPartyWarning_Entry() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientPartyWarning_Entry& operator=(const CMsgGCCStrike15_v2_ClientPartyWarning_Entry& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientPartyWarning_Entry& operator=(CMsgGCCStrike15_v2_ClientPartyWarning_Entry&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientPartyWarning_Entry& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientPartyWarning_Entry* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientPartyWarning_Entry_default_instance_); - } - static constexpr int kIndexInFileMessages = - 163; - - friend void swap(CMsgGCCStrike15_v2_ClientPartyWarning_Entry& a, CMsgGCCStrike15_v2_ClientPartyWarning_Entry& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientPartyWarning_Entry* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientPartyWarning_Entry* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientPartyWarning_Entry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientPartyWarning_Entry& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientPartyWarning_Entry& from) { - CMsgGCCStrike15_v2_ClientPartyWarning_Entry::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientPartyWarning_Entry* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientPartyWarning.Entry"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientPartyWarning_Entry(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountidFieldNumber = 1, - kWarntypeFieldNumber = 2, - }; - // optional uint32 accountid = 1; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // optional uint32 warntype = 2; - bool has_warntype() const; - private: - bool _internal_has_warntype() const; - public: - void clear_warntype(); - uint32_t warntype() const; - void set_warntype(uint32_t value); - private: - uint32_t _internal_warntype() const; - void _internal_set_warntype(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientPartyWarning.Entry) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t accountid_; - uint32_t warntype_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientPartyWarning : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientPartyWarning) */ { - public: - inline CMsgGCCStrike15_v2_ClientPartyWarning() : CMsgGCCStrike15_v2_ClientPartyWarning(nullptr) {} - ~CMsgGCCStrike15_v2_ClientPartyWarning() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPartyWarning(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientPartyWarning(const CMsgGCCStrike15_v2_ClientPartyWarning& from); - CMsgGCCStrike15_v2_ClientPartyWarning(CMsgGCCStrike15_v2_ClientPartyWarning&& from) noexcept - : CMsgGCCStrike15_v2_ClientPartyWarning() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientPartyWarning& operator=(const CMsgGCCStrike15_v2_ClientPartyWarning& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientPartyWarning& operator=(CMsgGCCStrike15_v2_ClientPartyWarning&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientPartyWarning& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientPartyWarning* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientPartyWarning_default_instance_); - } - static constexpr int kIndexInFileMessages = - 164; - - friend void swap(CMsgGCCStrike15_v2_ClientPartyWarning& a, CMsgGCCStrike15_v2_ClientPartyWarning& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientPartyWarning* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientPartyWarning* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientPartyWarning* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientPartyWarning& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientPartyWarning& from) { - CMsgGCCStrike15_v2_ClientPartyWarning::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientPartyWarning* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientPartyWarning"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientPartyWarning(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgGCCStrike15_v2_ClientPartyWarning_Entry Entry; - - // accessors ------------------------------------------------------- - - enum : int { - kEntriesFieldNumber = 1, - }; - // repeated .CMsgGCCStrike15_v2_ClientPartyWarning.Entry entries = 1; - int entries_size() const; - private: - int _internal_entries_size() const; - public: - void clear_entries(); - ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry* mutable_entries(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry >* - mutable_entries(); - private: - const ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry& _internal_entries(int index) const; - ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry* _internal_add_entries(); - public: - const ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry& entries(int index) const; - ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry* add_entries(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry >& - entries() const; - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientPartyWarning) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry > entries_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_SetEventFavorite : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_SetEventFavorite) */ { - public: - inline CMsgGCCStrike15_v2_SetEventFavorite() : CMsgGCCStrike15_v2_SetEventFavorite(nullptr) {} - ~CMsgGCCStrike15_v2_SetEventFavorite() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_SetEventFavorite(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_SetEventFavorite(const CMsgGCCStrike15_v2_SetEventFavorite& from); - CMsgGCCStrike15_v2_SetEventFavorite(CMsgGCCStrike15_v2_SetEventFavorite&& from) noexcept - : CMsgGCCStrike15_v2_SetEventFavorite() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_SetEventFavorite& operator=(const CMsgGCCStrike15_v2_SetEventFavorite& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_SetEventFavorite& operator=(CMsgGCCStrike15_v2_SetEventFavorite&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_SetEventFavorite& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_SetEventFavorite* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_SetEventFavorite_default_instance_); - } - static constexpr int kIndexInFileMessages = - 165; - - friend void swap(CMsgGCCStrike15_v2_SetEventFavorite& a, CMsgGCCStrike15_v2_SetEventFavorite& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_SetEventFavorite* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_SetEventFavorite* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_SetEventFavorite* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_SetEventFavorite& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_SetEventFavorite& from) { - CMsgGCCStrike15_v2_SetEventFavorite::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_SetEventFavorite* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_SetEventFavorite"; - } - protected: - explicit CMsgGCCStrike15_v2_SetEventFavorite(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEventidFieldNumber = 1, - kIsFavoriteFieldNumber = 2, - }; - // optional uint64 eventid = 1; - bool has_eventid() const; - private: - bool _internal_has_eventid() const; - public: - void clear_eventid(); - uint64_t eventid() const; - void set_eventid(uint64_t value); - private: - uint64_t _internal_eventid() const; - void _internal_set_eventid(uint64_t value); - public: - - // optional bool is_favorite = 2; - bool has_is_favorite() const; - private: - bool _internal_has_is_favorite() const; - public: - void clear_is_favorite(); - bool is_favorite() const; - void set_is_favorite(bool value); - private: - bool _internal_is_favorite() const; - void _internal_set_is_favorite(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_SetEventFavorite) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t eventid_; - bool is_favorite_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_GetEventFavorites_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GetEventFavorites_Request) */ { - public: - inline CMsgGCCStrike15_v2_GetEventFavorites_Request() : CMsgGCCStrike15_v2_GetEventFavorites_Request(nullptr) {} - ~CMsgGCCStrike15_v2_GetEventFavorites_Request() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GetEventFavorites_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_GetEventFavorites_Request(const CMsgGCCStrike15_v2_GetEventFavorites_Request& from); - CMsgGCCStrike15_v2_GetEventFavorites_Request(CMsgGCCStrike15_v2_GetEventFavorites_Request&& from) noexcept - : CMsgGCCStrike15_v2_GetEventFavorites_Request() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_GetEventFavorites_Request& operator=(const CMsgGCCStrike15_v2_GetEventFavorites_Request& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_GetEventFavorites_Request& operator=(CMsgGCCStrike15_v2_GetEventFavorites_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_GetEventFavorites_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_GetEventFavorites_Request* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_GetEventFavorites_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 166; - - friend void swap(CMsgGCCStrike15_v2_GetEventFavorites_Request& a, CMsgGCCStrike15_v2_GetEventFavorites_Request& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_GetEventFavorites_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_GetEventFavorites_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_GetEventFavorites_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_GetEventFavorites_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_GetEventFavorites_Request& from) { - CMsgGCCStrike15_v2_GetEventFavorites_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_GetEventFavorites_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_GetEventFavorites_Request"; - } - protected: - explicit CMsgGCCStrike15_v2_GetEventFavorites_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAllEventsFieldNumber = 1, - }; - // optional bool all_events = 1; - bool has_all_events() const; - private: - bool _internal_has_all_events() const; - public: - void clear_all_events(); - bool all_events() const; - void set_all_events(bool value); - private: - bool _internal_all_events() const; - void _internal_set_all_events(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GetEventFavorites_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool all_events_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_GetEventFavorites_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GetEventFavorites_Response) */ { - public: - inline CMsgGCCStrike15_v2_GetEventFavorites_Response() : CMsgGCCStrike15_v2_GetEventFavorites_Response(nullptr) {} - ~CMsgGCCStrike15_v2_GetEventFavorites_Response() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GetEventFavorites_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_GetEventFavorites_Response(const CMsgGCCStrike15_v2_GetEventFavorites_Response& from); - CMsgGCCStrike15_v2_GetEventFavorites_Response(CMsgGCCStrike15_v2_GetEventFavorites_Response&& from) noexcept - : CMsgGCCStrike15_v2_GetEventFavorites_Response() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_GetEventFavorites_Response& operator=(const CMsgGCCStrike15_v2_GetEventFavorites_Response& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_GetEventFavorites_Response& operator=(CMsgGCCStrike15_v2_GetEventFavorites_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_GetEventFavorites_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_GetEventFavorites_Response* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_GetEventFavorites_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 167; - - friend void swap(CMsgGCCStrike15_v2_GetEventFavorites_Response& a, CMsgGCCStrike15_v2_GetEventFavorites_Response& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_GetEventFavorites_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_GetEventFavorites_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_GetEventFavorites_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_GetEventFavorites_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_GetEventFavorites_Response& from) { - CMsgGCCStrike15_v2_GetEventFavorites_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_GetEventFavorites_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_GetEventFavorites_Response"; - } - protected: - explicit CMsgGCCStrike15_v2_GetEventFavorites_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kJsonFavoritesFieldNumber = 2, - kJsonFeaturedFieldNumber = 3, - kAllEventsFieldNumber = 1, - }; - // optional string json_favorites = 2; - bool has_json_favorites() const; - private: - bool _internal_has_json_favorites() const; - public: - void clear_json_favorites(); - const std::string& json_favorites() const; - template - void set_json_favorites(ArgT0&& arg0, ArgT... args); - std::string* mutable_json_favorites(); - PROTOBUF_NODISCARD std::string* release_json_favorites(); - void set_allocated_json_favorites(std::string* json_favorites); - private: - const std::string& _internal_json_favorites() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_favorites(const std::string& value); - std::string* _internal_mutable_json_favorites(); - public: - - // optional string json_featured = 3; - bool has_json_featured() const; - private: - bool _internal_has_json_featured() const; - public: - void clear_json_featured(); - const std::string& json_featured() const; - template - void set_json_featured(ArgT0&& arg0, ArgT... args); - std::string* mutable_json_featured(); - PROTOBUF_NODISCARD std::string* release_json_featured(); - void set_allocated_json_featured(std::string* json_featured); - private: - const std::string& _internal_json_featured() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_featured(const std::string& value); - std::string* _internal_mutable_json_featured(); - public: - - // optional bool all_events = 1; - bool has_all_events() const; - private: - bool _internal_has_all_events() const; - public: - void clear_all_events(); - bool all_events() const; - void set_all_events(bool value); - private: - bool _internal_all_events() const; - void _internal_set_all_events(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GetEventFavorites_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr json_favorites_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr json_featured_; - bool all_events_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientPerfReport_Entry : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientPerfReport.Entry) */ { - public: - inline CMsgGCCStrike15_v2_ClientPerfReport_Entry() : CMsgGCCStrike15_v2_ClientPerfReport_Entry(nullptr) {} - ~CMsgGCCStrike15_v2_ClientPerfReport_Entry() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPerfReport_Entry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientPerfReport_Entry(const CMsgGCCStrike15_v2_ClientPerfReport_Entry& from); - CMsgGCCStrike15_v2_ClientPerfReport_Entry(CMsgGCCStrike15_v2_ClientPerfReport_Entry&& from) noexcept - : CMsgGCCStrike15_v2_ClientPerfReport_Entry() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientPerfReport_Entry& operator=(const CMsgGCCStrike15_v2_ClientPerfReport_Entry& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientPerfReport_Entry& operator=(CMsgGCCStrike15_v2_ClientPerfReport_Entry&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientPerfReport_Entry& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientPerfReport_Entry* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientPerfReport_Entry_default_instance_); - } - static constexpr int kIndexInFileMessages = - 168; - - friend void swap(CMsgGCCStrike15_v2_ClientPerfReport_Entry& a, CMsgGCCStrike15_v2_ClientPerfReport_Entry& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientPerfReport_Entry* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientPerfReport_Entry* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientPerfReport_Entry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientPerfReport_Entry& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientPerfReport_Entry& from) { - CMsgGCCStrike15_v2_ClientPerfReport_Entry::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientPerfReport_Entry* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientPerfReport.Entry"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientPerfReport_Entry(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kReferenceFieldNumber = 3, - kActualFieldNumber = 4, - kPerfcounterFieldNumber = 1, - kLengthFieldNumber = 2, - kSourceidFieldNumber = 5, - kStatusFieldNumber = 6, - }; - // optional bytes reference = 3; - bool has_reference() const; - private: - bool _internal_has_reference() const; - public: - void clear_reference(); - const std::string& reference() const; - template - void set_reference(ArgT0&& arg0, ArgT... args); - std::string* mutable_reference(); - PROTOBUF_NODISCARD std::string* release_reference(); - void set_allocated_reference(std::string* reference); - private: - const std::string& _internal_reference() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_reference(const std::string& value); - std::string* _internal_mutable_reference(); - public: - - // optional bytes actual = 4; - bool has_actual() const; - private: - bool _internal_has_actual() const; - public: - void clear_actual(); - const std::string& actual() const; - template - void set_actual(ArgT0&& arg0, ArgT... args); - std::string* mutable_actual(); - PROTOBUF_NODISCARD std::string* release_actual(); - void set_allocated_actual(std::string* actual); - private: - const std::string& _internal_actual() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_actual(const std::string& value); - std::string* _internal_mutable_actual(); - public: - - // optional uint32 perfcounter = 1; - bool has_perfcounter() const; - private: - bool _internal_has_perfcounter() const; - public: - void clear_perfcounter(); - uint32_t perfcounter() const; - void set_perfcounter(uint32_t value); - private: - uint32_t _internal_perfcounter() const; - void _internal_set_perfcounter(uint32_t value); - public: - - // optional uint32 length = 2; - bool has_length() const; - private: - bool _internal_has_length() const; - public: - void clear_length(); - uint32_t length() const; - void set_length(uint32_t value); - private: - uint32_t _internal_length() const; - void _internal_set_length(uint32_t value); - public: - - // optional uint32 sourceid = 5; - bool has_sourceid() const; - private: - bool _internal_has_sourceid() const; - public: - void clear_sourceid(); - uint32_t sourceid() const; - void set_sourceid(uint32_t value); - private: - uint32_t _internal_sourceid() const; - void _internal_set_sourceid(uint32_t value); - public: - - // optional uint32 status = 6; - bool has_status() const; - private: - bool _internal_has_status() const; - public: - void clear_status(); - uint32_t status() const; - void set_status(uint32_t value); - private: - uint32_t _internal_status() const; - void _internal_set_status(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientPerfReport.Entry) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr reference_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr actual_; - uint32_t perfcounter_; - uint32_t length_; - uint32_t sourceid_; - uint32_t status_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientPerfReport : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientPerfReport) */ { - public: - inline CMsgGCCStrike15_v2_ClientPerfReport() : CMsgGCCStrike15_v2_ClientPerfReport(nullptr) {} - ~CMsgGCCStrike15_v2_ClientPerfReport() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientPerfReport(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientPerfReport(const CMsgGCCStrike15_v2_ClientPerfReport& from); - CMsgGCCStrike15_v2_ClientPerfReport(CMsgGCCStrike15_v2_ClientPerfReport&& from) noexcept - : CMsgGCCStrike15_v2_ClientPerfReport() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientPerfReport& operator=(const CMsgGCCStrike15_v2_ClientPerfReport& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientPerfReport& operator=(CMsgGCCStrike15_v2_ClientPerfReport&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientPerfReport& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientPerfReport* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientPerfReport_default_instance_); - } - static constexpr int kIndexInFileMessages = - 169; - - friend void swap(CMsgGCCStrike15_v2_ClientPerfReport& a, CMsgGCCStrike15_v2_ClientPerfReport& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientPerfReport* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientPerfReport* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientPerfReport* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientPerfReport& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientPerfReport& from) { - CMsgGCCStrike15_v2_ClientPerfReport::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientPerfReport* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientPerfReport"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientPerfReport(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgGCCStrike15_v2_ClientPerfReport_Entry Entry; - - // accessors ------------------------------------------------------- - - enum : int { - kEntriesFieldNumber = 1, - }; - // repeated .CMsgGCCStrike15_v2_ClientPerfReport.Entry entries = 1; - int entries_size() const; - private: - int _internal_entries_size() const; - public: - void clear_entries(); - ::CMsgGCCStrike15_v2_ClientPerfReport_Entry* mutable_entries(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPerfReport_Entry >* - mutable_entries(); - private: - const ::CMsgGCCStrike15_v2_ClientPerfReport_Entry& _internal_entries(int index) const; - ::CMsgGCCStrike15_v2_ClientPerfReport_Entry* _internal_add_entries(); - public: - const ::CMsgGCCStrike15_v2_ClientPerfReport_Entry& entries(int index) const; - ::CMsgGCCStrike15_v2_ClientPerfReport_Entry* add_entries(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPerfReport_Entry >& - entries() const; - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientPerfReport) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPerfReport_Entry > entries_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CVDiagnostic : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CVDiagnostic) */ { - public: - inline CVDiagnostic() : CVDiagnostic(nullptr) {} - ~CVDiagnostic() override; - explicit PROTOBUF_CONSTEXPR CVDiagnostic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CVDiagnostic(const CVDiagnostic& from); - CVDiagnostic(CVDiagnostic&& from) noexcept - : CVDiagnostic() { - *this = ::std::move(from); - } - - inline CVDiagnostic& operator=(const CVDiagnostic& from) { - CopyFrom(from); - return *this; - } - inline CVDiagnostic& operator=(CVDiagnostic&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CVDiagnostic& default_instance() { - return *internal_default_instance(); - } - static inline const CVDiagnostic* internal_default_instance() { - return reinterpret_cast( - &_CVDiagnostic_default_instance_); - } - static constexpr int kIndexInFileMessages = - 170; - - friend void swap(CVDiagnostic& a, CVDiagnostic& b) { - a.Swap(&b); - } - inline void Swap(CVDiagnostic* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CVDiagnostic* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CVDiagnostic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CVDiagnostic& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CVDiagnostic& from) { - CVDiagnostic::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CVDiagnostic* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CVDiagnostic"; - } - protected: - explicit CVDiagnostic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStringValueFieldNumber = 4, - kIdFieldNumber = 1, - kExtendedFieldNumber = 2, - kValueFieldNumber = 3, - }; - // optional string string_value = 4; - bool has_string_value() const; - private: - bool _internal_has_string_value() const; - public: - void clear_string_value(); - const std::string& string_value() const; - template - void set_string_value(ArgT0&& arg0, ArgT... args); - std::string* mutable_string_value(); - PROTOBUF_NODISCARD std::string* release_string_value(); - void set_allocated_string_value(std::string* string_value); - private: - const std::string& _internal_string_value() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value); - std::string* _internal_mutable_string_value(); - public: - - // optional uint32 id = 1; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - uint32_t id() const; - void set_id(uint32_t value); - private: - uint32_t _internal_id() const; - void _internal_set_id(uint32_t value); - public: - - // optional uint32 extended = 2; - bool has_extended() const; - private: - bool _internal_has_extended() const; - public: - void clear_extended(); - uint32_t extended() const; - void set_extended(uint32_t value); - private: - uint32_t _internal_extended() const; - void _internal_set_extended(uint32_t value); - public: - - // optional uint64 value = 3; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - uint64_t value() const; - void set_value(uint64_t value); - private: - uint64_t _internal_value() const; - void _internal_set_value(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CVDiagnostic) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_; - uint32_t id_; - uint32_t extended_; - uint64_t value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_ClientReportValidation : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_ClientReportValidation) */ { - public: - inline CMsgGCCStrike15_v2_ClientReportValidation() : CMsgGCCStrike15_v2_ClientReportValidation(nullptr) {} - ~CMsgGCCStrike15_v2_ClientReportValidation() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_ClientReportValidation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_ClientReportValidation(const CMsgGCCStrike15_v2_ClientReportValidation& from); - CMsgGCCStrike15_v2_ClientReportValidation(CMsgGCCStrike15_v2_ClientReportValidation&& from) noexcept - : CMsgGCCStrike15_v2_ClientReportValidation() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_ClientReportValidation& operator=(const CMsgGCCStrike15_v2_ClientReportValidation& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_ClientReportValidation& operator=(CMsgGCCStrike15_v2_ClientReportValidation&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_ClientReportValidation& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_ClientReportValidation* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_ClientReportValidation_default_instance_); - } - static constexpr int kIndexInFileMessages = - 171; - - friend void swap(CMsgGCCStrike15_v2_ClientReportValidation& a, CMsgGCCStrike15_v2_ClientReportValidation& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_ClientReportValidation* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_ClientReportValidation* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_ClientReportValidation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_ClientReportValidation& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_ClientReportValidation& from) { - CMsgGCCStrike15_v2_ClientReportValidation::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_ClientReportValidation* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_ClientReportValidation"; - } - protected: - explicit CMsgGCCStrike15_v2_ClientReportValidation(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDiagnosticsFieldNumber = 20, - kFileReportFieldNumber = 1, - kCommandLineFieldNumber = 2, - kLastLaunchDataFieldNumber = 15, - kTotalFilesFieldNumber = 3, - kInternalErrorFieldNumber = 4, - kTrustTimeFieldNumber = 5, - kCountPendingFieldNumber = 6, - kCountCompletedFieldNumber = 7, - kProcessIdFieldNumber = 8, - kOsversionFieldNumber = 9, - kClientreportversionFieldNumber = 10, - kStatusIdFieldNumber = 11, - kDiagnostic1FieldNumber = 12, - kDiagnostic2FieldNumber = 13, - kDiagnostic3FieldNumber = 14, - kClientTimeFieldNumber = 17, - kDiagnostic4FieldNumber = 18, - kDiagnostic5FieldNumber = 19, - kReportCountFieldNumber = 16, - }; - // repeated .CVDiagnostic diagnostics = 20; - int diagnostics_size() const; - private: - int _internal_diagnostics_size() const; - public: - void clear_diagnostics(); - ::CVDiagnostic* mutable_diagnostics(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CVDiagnostic >* - mutable_diagnostics(); - private: - const ::CVDiagnostic& _internal_diagnostics(int index) const; - ::CVDiagnostic* _internal_add_diagnostics(); - public: - const ::CVDiagnostic& diagnostics(int index) const; - ::CVDiagnostic* add_diagnostics(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CVDiagnostic >& - diagnostics() const; - - // optional string file_report = 1; - bool has_file_report() const; - private: - bool _internal_has_file_report() const; - public: - void clear_file_report(); - const std::string& file_report() const; - template - void set_file_report(ArgT0&& arg0, ArgT... args); - std::string* mutable_file_report(); - PROTOBUF_NODISCARD std::string* release_file_report(); - void set_allocated_file_report(std::string* file_report); - private: - const std::string& _internal_file_report() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_report(const std::string& value); - std::string* _internal_mutable_file_report(); - public: - - // optional string command_line = 2; - bool has_command_line() const; - private: - bool _internal_has_command_line() const; - public: - void clear_command_line(); - const std::string& command_line() const; - template - void set_command_line(ArgT0&& arg0, ArgT... args); - std::string* mutable_command_line(); - PROTOBUF_NODISCARD std::string* release_command_line(); - void set_allocated_command_line(std::string* command_line); - private: - const std::string& _internal_command_line() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_command_line(const std::string& value); - std::string* _internal_mutable_command_line(); - public: - - // optional string last_launch_data = 15; - bool has_last_launch_data() const; - private: - bool _internal_has_last_launch_data() const; - public: - void clear_last_launch_data(); - const std::string& last_launch_data() const; - template - void set_last_launch_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_last_launch_data(); - PROTOBUF_NODISCARD std::string* release_last_launch_data(); - void set_allocated_last_launch_data(std::string* last_launch_data); - private: - const std::string& _internal_last_launch_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_last_launch_data(const std::string& value); - std::string* _internal_mutable_last_launch_data(); - public: - - // optional uint32 total_files = 3; - bool has_total_files() const; - private: - bool _internal_has_total_files() const; - public: - void clear_total_files(); - uint32_t total_files() const; - void set_total_files(uint32_t value); - private: - uint32_t _internal_total_files() const; - void _internal_set_total_files(uint32_t value); - public: - - // optional uint32 internal_error = 4; - bool has_internal_error() const; - private: - bool _internal_has_internal_error() const; - public: - void clear_internal_error(); - uint32_t internal_error() const; - void set_internal_error(uint32_t value); - private: - uint32_t _internal_internal_error() const; - void _internal_set_internal_error(uint32_t value); - public: - - // optional uint32 trust_time = 5; - bool has_trust_time() const; - private: - bool _internal_has_trust_time() const; - public: - void clear_trust_time(); - uint32_t trust_time() const; - void set_trust_time(uint32_t value); - private: - uint32_t _internal_trust_time() const; - void _internal_set_trust_time(uint32_t value); - public: - - // optional uint32 count_pending = 6; - bool has_count_pending() const; - private: - bool _internal_has_count_pending() const; - public: - void clear_count_pending(); - uint32_t count_pending() const; - void set_count_pending(uint32_t value); - private: - uint32_t _internal_count_pending() const; - void _internal_set_count_pending(uint32_t value); - public: - - // optional uint32 count_completed = 7; - bool has_count_completed() const; - private: - bool _internal_has_count_completed() const; - public: - void clear_count_completed(); - uint32_t count_completed() const; - void set_count_completed(uint32_t value); - private: - uint32_t _internal_count_completed() const; - void _internal_set_count_completed(uint32_t value); - public: - - // optional uint32 process_id = 8; - bool has_process_id() const; - private: - bool _internal_has_process_id() const; - public: - void clear_process_id(); - uint32_t process_id() const; - void set_process_id(uint32_t value); - private: - uint32_t _internal_process_id() const; - void _internal_set_process_id(uint32_t value); - public: - - // optional int32 osversion = 9; - bool has_osversion() const; - private: - bool _internal_has_osversion() const; - public: - void clear_osversion(); - int32_t osversion() const; - void set_osversion(int32_t value); - private: - int32_t _internal_osversion() const; - void _internal_set_osversion(int32_t value); - public: - - // optional uint32 clientreportversion = 10; - bool has_clientreportversion() const; - private: - bool _internal_has_clientreportversion() const; - public: - void clear_clientreportversion(); - uint32_t clientreportversion() const; - void set_clientreportversion(uint32_t value); - private: - uint32_t _internal_clientreportversion() const; - void _internal_set_clientreportversion(uint32_t value); - public: - - // optional uint32 status_id = 11; - bool has_status_id() const; - private: - bool _internal_has_status_id() const; - public: - void clear_status_id(); - uint32_t status_id() const; - void set_status_id(uint32_t value); - private: - uint32_t _internal_status_id() const; - void _internal_set_status_id(uint32_t value); - public: - - // optional uint32 diagnostic1 = 12; - bool has_diagnostic1() const; - private: - bool _internal_has_diagnostic1() const; - public: - void clear_diagnostic1(); - uint32_t diagnostic1() const; - void set_diagnostic1(uint32_t value); - private: - uint32_t _internal_diagnostic1() const; - void _internal_set_diagnostic1(uint32_t value); - public: - - // optional uint64 diagnostic2 = 13; - bool has_diagnostic2() const; - private: - bool _internal_has_diagnostic2() const; - public: - void clear_diagnostic2(); - uint64_t diagnostic2() const; - void set_diagnostic2(uint64_t value); - private: - uint64_t _internal_diagnostic2() const; - void _internal_set_diagnostic2(uint64_t value); - public: - - // optional uint64 diagnostic3 = 14; - bool has_diagnostic3() const; - private: - bool _internal_has_diagnostic3() const; - public: - void clear_diagnostic3(); - uint64_t diagnostic3() const; - void set_diagnostic3(uint64_t value); - private: - uint64_t _internal_diagnostic3() const; - void _internal_set_diagnostic3(uint64_t value); - public: - - // optional uint64 client_time = 17; - bool has_client_time() const; - private: - bool _internal_has_client_time() const; - public: - void clear_client_time(); - uint64_t client_time() const; - void set_client_time(uint64_t value); - private: - uint64_t _internal_client_time() const; - void _internal_set_client_time(uint64_t value); - public: - - // optional uint64 diagnostic4 = 18; - bool has_diagnostic4() const; - private: - bool _internal_has_diagnostic4() const; - public: - void clear_diagnostic4(); - uint64_t diagnostic4() const; - void set_diagnostic4(uint64_t value); - private: - uint64_t _internal_diagnostic4() const; - void _internal_set_diagnostic4(uint64_t value); - public: - - // optional uint64 diagnostic5 = 19; - bool has_diagnostic5() const; - private: - bool _internal_has_diagnostic5() const; - public: - void clear_diagnostic5(); - uint64_t diagnostic5() const; - void set_diagnostic5(uint64_t value); - private: - uint64_t _internal_diagnostic5() const; - void _internal_set_diagnostic5(uint64_t value); - public: - - // optional uint32 report_count = 16; - bool has_report_count() const; - private: - bool _internal_has_report_count() const; - public: - void clear_report_count(); - uint32_t report_count() const; - void set_report_count(uint32_t value); - private: - uint32_t _internal_report_count() const; - void _internal_set_report_count(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_ClientReportValidation) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CVDiagnostic > diagnostics_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_report_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_line_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr last_launch_data_; - uint32_t total_files_; - uint32_t internal_error_; - uint32_t trust_time_; - uint32_t count_pending_; - uint32_t count_completed_; - uint32_t process_id_; - int32_t osversion_; - uint32_t clientreportversion_; - uint32_t status_id_; - uint32_t diagnostic1_; - uint64_t diagnostic2_; - uint64_t diagnostic3_; - uint64_t client_time_; - uint64_t diagnostic4_; - uint64_t diagnostic5_; - uint32_t report_count_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) */ { - public: - inline CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode() : CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode(nullptr) {} - ~CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode(const CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& from); - CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode&& from) noexcept - : CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& operator=(const CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& operator=(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode_default_instance_); - } - static constexpr int kIndexInFileMessages = - 172; - - friend void swap(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& a, CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode& from) { - CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode"; - } - protected: - explicit CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFileReportFieldNumber = 1, - kFilesPreventedTrustedFieldNumber = 9, - kOfferInsecureModeFieldNumber = 2, - kOfferSecureModeFieldNumber = 3, - kShowUnsignedUiFieldNumber = 4, - kKickUserFieldNumber = 5, - kShowTrustedUiFieldNumber = 6, - kShowWarningNotTrustedFieldNumber = 7, - kShowWarningNotTrusted2FieldNumber = 8, - }; - // optional string file_report = 1; - bool has_file_report() const; - private: - bool _internal_has_file_report() const; - public: - void clear_file_report(); - const std::string& file_report() const; - template - void set_file_report(ArgT0&& arg0, ArgT... args); - std::string* mutable_file_report(); - PROTOBUF_NODISCARD std::string* release_file_report(); - void set_allocated_file_report(std::string* file_report); - private: - const std::string& _internal_file_report() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_report(const std::string& value); - std::string* _internal_mutable_file_report(); - public: - - // optional string files_prevented_trusted = 9; - bool has_files_prevented_trusted() const; - private: - bool _internal_has_files_prevented_trusted() const; - public: - void clear_files_prevented_trusted(); - const std::string& files_prevented_trusted() const; - template - void set_files_prevented_trusted(ArgT0&& arg0, ArgT... args); - std::string* mutable_files_prevented_trusted(); - PROTOBUF_NODISCARD std::string* release_files_prevented_trusted(); - void set_allocated_files_prevented_trusted(std::string* files_prevented_trusted); - private: - const std::string& _internal_files_prevented_trusted() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_files_prevented_trusted(const std::string& value); - std::string* _internal_mutable_files_prevented_trusted(); - public: - - // optional bool offer_insecure_mode = 2; - bool has_offer_insecure_mode() const; - private: - bool _internal_has_offer_insecure_mode() const; - public: - void clear_offer_insecure_mode(); - bool offer_insecure_mode() const; - void set_offer_insecure_mode(bool value); - private: - bool _internal_offer_insecure_mode() const; - void _internal_set_offer_insecure_mode(bool value); - public: - - // optional bool offer_secure_mode = 3; - bool has_offer_secure_mode() const; - private: - bool _internal_has_offer_secure_mode() const; - public: - void clear_offer_secure_mode(); - bool offer_secure_mode() const; - void set_offer_secure_mode(bool value); - private: - bool _internal_offer_secure_mode() const; - void _internal_set_offer_secure_mode(bool value); - public: - - // optional bool show_unsigned_ui = 4; - bool has_show_unsigned_ui() const; - private: - bool _internal_has_show_unsigned_ui() const; - public: - void clear_show_unsigned_ui(); - bool show_unsigned_ui() const; - void set_show_unsigned_ui(bool value); - private: - bool _internal_show_unsigned_ui() const; - void _internal_set_show_unsigned_ui(bool value); - public: - - // optional bool kick_user = 5; - bool has_kick_user() const; - private: - bool _internal_has_kick_user() const; - public: - void clear_kick_user(); - bool kick_user() const; - void set_kick_user(bool value); - private: - bool _internal_kick_user() const; - void _internal_set_kick_user(bool value); - public: - - // optional bool show_trusted_ui = 6; - bool has_show_trusted_ui() const; - private: - bool _internal_has_show_trusted_ui() const; - public: - void clear_show_trusted_ui(); - bool show_trusted_ui() const; - void set_show_trusted_ui(bool value); - private: - bool _internal_show_trusted_ui() const; - void _internal_set_show_trusted_ui(bool value); - public: - - // optional bool show_warning_not_trusted = 7; - bool has_show_warning_not_trusted() const; - private: - bool _internal_has_show_warning_not_trusted() const; - public: - void clear_show_warning_not_trusted(); - bool show_warning_not_trusted() const; - void set_show_warning_not_trusted(bool value); - private: - bool _internal_show_warning_not_trusted() const; - void _internal_set_show_warning_not_trusted(bool value); - public: - - // optional bool show_warning_not_trusted_2 = 8; - bool has_show_warning_not_trusted_2() const; - private: - bool _internal_has_show_warning_not_trusted_2() const; - public: - void clear_show_warning_not_trusted_2(); - bool show_warning_not_trusted_2() const; - void set_show_warning_not_trusted_2(bool value); - private: - bool _internal_show_warning_not_trusted_2() const; - void _internal_set_show_warning_not_trusted_2(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_report_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr files_prevented_trusted_; - bool offer_insecure_mode_; - bool offer_secure_mode_; - bool show_unsigned_ui_; - bool kick_user_; - bool show_trusted_ui_; - bool show_warning_not_trusted_; - bool show_warning_not_trusted_2_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_GC2ClientRequestValidation : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GC2ClientRequestValidation) */ { - public: - inline CMsgGCCStrike15_v2_GC2ClientRequestValidation() : CMsgGCCStrike15_v2_GC2ClientRequestValidation(nullptr) {} - ~CMsgGCCStrike15_v2_GC2ClientRequestValidation() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientRequestValidation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_GC2ClientRequestValidation(const CMsgGCCStrike15_v2_GC2ClientRequestValidation& from); - CMsgGCCStrike15_v2_GC2ClientRequestValidation(CMsgGCCStrike15_v2_GC2ClientRequestValidation&& from) noexcept - : CMsgGCCStrike15_v2_GC2ClientRequestValidation() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_GC2ClientRequestValidation& operator=(const CMsgGCCStrike15_v2_GC2ClientRequestValidation& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_GC2ClientRequestValidation& operator=(CMsgGCCStrike15_v2_GC2ClientRequestValidation&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_GC2ClientRequestValidation& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_GC2ClientRequestValidation* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_GC2ClientRequestValidation_default_instance_); - } - static constexpr int kIndexInFileMessages = - 173; - - friend void swap(CMsgGCCStrike15_v2_GC2ClientRequestValidation& a, CMsgGCCStrike15_v2_GC2ClientRequestValidation& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_GC2ClientRequestValidation* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_GC2ClientRequestValidation* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_GC2ClientRequestValidation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_GC2ClientRequestValidation& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_GC2ClientRequestValidation& from) { - CMsgGCCStrike15_v2_GC2ClientRequestValidation::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_GC2ClientRequestValidation* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_GC2ClientRequestValidation"; - } - protected: - explicit CMsgGCCStrike15_v2_GC2ClientRequestValidation(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kModuleFieldNumber = 2, - kFullReportFieldNumber = 1, - }; - // optional string module = 2; - bool has_module() const; - private: - bool _internal_has_module() const; - public: - void clear_module(); - const std::string& module() const; - template - void set_module(ArgT0&& arg0, ArgT... args); - std::string* mutable_module(); - PROTOBUF_NODISCARD std::string* release_module(); - void set_allocated_module(std::string* module); - private: - const std::string& _internal_module() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_module(const std::string& value); - std::string* _internal_mutable_module(); - public: - - // optional bool full_report = 1; - bool has_full_report() const; - private: - bool _internal_has_full_report() const; - public: - void clear_full_report(); - bool full_report() const; - void set_full_report(bool value); - private: - bool _internal_full_report() const; - void _internal_set_full_report(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GC2ClientRequestValidation) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr module_; - bool full_report_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_GC2ClientInitSystem : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GC2ClientInitSystem) */ { - public: - inline CMsgGCCStrike15_v2_GC2ClientInitSystem() : CMsgGCCStrike15_v2_GC2ClientInitSystem(nullptr) {} - ~CMsgGCCStrike15_v2_GC2ClientInitSystem() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientInitSystem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_GC2ClientInitSystem(const CMsgGCCStrike15_v2_GC2ClientInitSystem& from); - CMsgGCCStrike15_v2_GC2ClientInitSystem(CMsgGCCStrike15_v2_GC2ClientInitSystem&& from) noexcept - : CMsgGCCStrike15_v2_GC2ClientInitSystem() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_GC2ClientInitSystem& operator=(const CMsgGCCStrike15_v2_GC2ClientInitSystem& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_GC2ClientInitSystem& operator=(CMsgGCCStrike15_v2_GC2ClientInitSystem&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_GC2ClientInitSystem& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_GC2ClientInitSystem* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_GC2ClientInitSystem_default_instance_); - } - static constexpr int kIndexInFileMessages = - 174; - - friend void swap(CMsgGCCStrike15_v2_GC2ClientInitSystem& a, CMsgGCCStrike15_v2_GC2ClientInitSystem& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_GC2ClientInitSystem* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_GC2ClientInitSystem* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_GC2ClientInitSystem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_GC2ClientInitSystem& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_GC2ClientInitSystem& from) { - CMsgGCCStrike15_v2_GC2ClientInitSystem::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_GC2ClientInitSystem* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_GC2ClientInitSystem"; - } - protected: - explicit CMsgGCCStrike15_v2_GC2ClientInitSystem(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 2, - kOutputnameFieldNumber = 3, - kKeyDataFieldNumber = 4, - kShaHashFieldNumber = 5, - kManifestFieldNumber = 7, - kSystemPackageFieldNumber = 8, - kLoadFieldNumber = 1, - kLoadSystemFieldNumber = 9, - kCookieFieldNumber = 6, - }; - // optional string name = 2; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional string outputname = 3; - bool has_outputname() const; - private: - bool _internal_has_outputname() const; - public: - void clear_outputname(); - const std::string& outputname() const; - template - void set_outputname(ArgT0&& arg0, ArgT... args); - std::string* mutable_outputname(); - PROTOBUF_NODISCARD std::string* release_outputname(); - void set_allocated_outputname(std::string* outputname); - private: - const std::string& _internal_outputname() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_outputname(const std::string& value); - std::string* _internal_mutable_outputname(); - public: - - // optional bytes key_data = 4; - bool has_key_data() const; - private: - bool _internal_has_key_data() const; - public: - void clear_key_data(); - const std::string& key_data() const; - template - void set_key_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_key_data(); - PROTOBUF_NODISCARD std::string* release_key_data(); - void set_allocated_key_data(std::string* key_data); - private: - const std::string& _internal_key_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_key_data(const std::string& value); - std::string* _internal_mutable_key_data(); - public: - - // optional bytes sha_hash = 5; - bool has_sha_hash() const; - private: - bool _internal_has_sha_hash() const; - public: - void clear_sha_hash(); - const std::string& sha_hash() const; - template - void set_sha_hash(ArgT0&& arg0, ArgT... args); - std::string* mutable_sha_hash(); - PROTOBUF_NODISCARD std::string* release_sha_hash(); - void set_allocated_sha_hash(std::string* sha_hash); - private: - const std::string& _internal_sha_hash() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_sha_hash(const std::string& value); - std::string* _internal_mutable_sha_hash(); - public: - - // optional string manifest = 7; - bool has_manifest() const; - private: - bool _internal_has_manifest() const; - public: - void clear_manifest(); - const std::string& manifest() const; - template - void set_manifest(ArgT0&& arg0, ArgT... args); - std::string* mutable_manifest(); - PROTOBUF_NODISCARD std::string* release_manifest(); - void set_allocated_manifest(std::string* manifest); - private: - const std::string& _internal_manifest() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_manifest(const std::string& value); - std::string* _internal_mutable_manifest(); - public: - - // optional bytes system_package = 8; - bool has_system_package() const; - private: - bool _internal_has_system_package() const; - public: - void clear_system_package(); - const std::string& system_package() const; - template - void set_system_package(ArgT0&& arg0, ArgT... args); - std::string* mutable_system_package(); - PROTOBUF_NODISCARD std::string* release_system_package(); - void set_allocated_system_package(std::string* system_package); - private: - const std::string& _internal_system_package() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_system_package(const std::string& value); - std::string* _internal_mutable_system_package(); - public: - - // optional bool load = 1; - bool has_load() const; - private: - bool _internal_has_load() const; - public: - void clear_load(); - bool load() const; - void set_load(bool value); - private: - bool _internal_load() const; - void _internal_set_load(bool value); - public: - - // optional bool load_system = 9; - bool has_load_system() const; - private: - bool _internal_has_load_system() const; - public: - void clear_load_system(); - bool load_system() const; - void set_load_system(bool value); - private: - bool _internal_load_system() const; - void _internal_set_load_system(bool value); - public: - - // optional int32 cookie = 6; - bool has_cookie() const; - private: - bool _internal_has_cookie() const; - public: - void clear_cookie(); - int32_t cookie() const; - void set_cookie(int32_t value); - private: - int32_t _internal_cookie() const; - void _internal_set_cookie(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GC2ClientInitSystem) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr outputname_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_data_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sha_hash_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr manifest_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr system_package_; - bool load_; - bool load_system_; - int32_t cookie_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_GC2ClientInitSystem_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) */ { - public: - inline CMsgGCCStrike15_v2_GC2ClientInitSystem_Response() : CMsgGCCStrike15_v2_GC2ClientInitSystem_Response(nullptr) {} - ~CMsgGCCStrike15_v2_GC2ClientInitSystem_Response() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_GC2ClientInitSystem_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_GC2ClientInitSystem_Response(const CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& from); - CMsgGCCStrike15_v2_GC2ClientInitSystem_Response(CMsgGCCStrike15_v2_GC2ClientInitSystem_Response&& from) noexcept - : CMsgGCCStrike15_v2_GC2ClientInitSystem_Response() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& operator=(const CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& operator=(CMsgGCCStrike15_v2_GC2ClientInitSystem_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_GC2ClientInitSystem_Response* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_GC2ClientInitSystem_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 175; - - friend void swap(CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& a, CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_GC2ClientInitSystem_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_GC2ClientInitSystem_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_GC2ClientInitSystem_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_GC2ClientInitSystem_Response& from) { - CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_GC2ClientInitSystem_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_GC2ClientInitSystem_Response"; - } - protected: - explicit CMsgGCCStrike15_v2_GC2ClientInitSystem_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDiagnosticFieldNumber = 2, - kShaHashFieldNumber = 3, - kSuccessFieldNumber = 1, - kResponseFieldNumber = 4, - kErrorCode1FieldNumber = 5, - kErrorCode2FieldNumber = 6, - kHandleFieldNumber = 7, - kEinitResultFieldNumber = 8, - kAuxSystem1FieldNumber = 9, - kAuxSystem2FieldNumber = 10, - }; - // optional string diagnostic = 2; - bool has_diagnostic() const; - private: - bool _internal_has_diagnostic() const; - public: - void clear_diagnostic(); - const std::string& diagnostic() const; - template - void set_diagnostic(ArgT0&& arg0, ArgT... args); - std::string* mutable_diagnostic(); - PROTOBUF_NODISCARD std::string* release_diagnostic(); - void set_allocated_diagnostic(std::string* diagnostic); - private: - const std::string& _internal_diagnostic() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_diagnostic(const std::string& value); - std::string* _internal_mutable_diagnostic(); - public: - - // optional bytes sha_hash = 3; - bool has_sha_hash() const; - private: - bool _internal_has_sha_hash() const; - public: - void clear_sha_hash(); - const std::string& sha_hash() const; - template - void set_sha_hash(ArgT0&& arg0, ArgT... args); - std::string* mutable_sha_hash(); - PROTOBUF_NODISCARD std::string* release_sha_hash(); - void set_allocated_sha_hash(std::string* sha_hash); - private: - const std::string& _internal_sha_hash() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_sha_hash(const std::string& value); - std::string* _internal_mutable_sha_hash(); - public: - - // optional bool success = 1; - bool has_success() const; - private: - bool _internal_has_success() const; - public: - void clear_success(); - bool success() const; - void set_success(bool value); - private: - bool _internal_success() const; - void _internal_set_success(bool value); - public: - - // optional int32 response = 4; - bool has_response() const; - private: - bool _internal_has_response() const; - public: - void clear_response(); - int32_t response() const; - void set_response(int32_t value); - private: - int32_t _internal_response() const; - void _internal_set_response(int32_t value); - public: - - // optional int32 error_code1 = 5; - bool has_error_code1() const; - private: - bool _internal_has_error_code1() const; - public: - void clear_error_code1(); - int32_t error_code1() const; - void set_error_code1(int32_t value); - private: - int32_t _internal_error_code1() const; - void _internal_set_error_code1(int32_t value); - public: - - // optional int32 error_code2 = 6; - bool has_error_code2() const; - private: - bool _internal_has_error_code2() const; - public: - void clear_error_code2(); - int32_t error_code2() const; - void set_error_code2(int32_t value); - private: - int32_t _internal_error_code2() const; - void _internal_set_error_code2(int32_t value); - public: - - // optional int64 handle = 7; - bool has_handle() const; - private: - bool _internal_has_handle() const; - public: - void clear_handle(); - int64_t handle() const; - void set_handle(int64_t value); - private: - int64_t _internal_handle() const; - void _internal_set_handle(int64_t value); - public: - - // optional .EInitSystemResult einit_result = 8 [default = k_EInitSystemResult_Invalid]; - bool has_einit_result() const; - private: - bool _internal_has_einit_result() const; - public: - void clear_einit_result(); - ::EInitSystemResult einit_result() const; - void set_einit_result(::EInitSystemResult value); - private: - ::EInitSystemResult _internal_einit_result() const; - void _internal_set_einit_result(::EInitSystemResult value); - public: - - // optional int32 aux_system1 = 9; - bool has_aux_system1() const; - private: - bool _internal_has_aux_system1() const; - public: - void clear_aux_system1(); - int32_t aux_system1() const; - void set_aux_system1(int32_t value); - private: - int32_t _internal_aux_system1() const; - void _internal_set_aux_system1(int32_t value); - public: - - // optional int32 aux_system2 = 10; - bool has_aux_system2() const; - private: - bool _internal_has_aux_system2() const; - public: - void clear_aux_system2(); - int32_t aux_system2() const; - void set_aux_system2(int32_t value); - private: - int32_t _internal_aux_system2() const; - void _internal_set_aux_system2(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr diagnostic_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sha_hash_; - bool success_; - int32_t response_; - int32_t error_code1_; - int32_t error_code2_; - int64_t handle_; - int einit_result_; - int32_t aux_system1_; - int32_t aux_system2_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) */ { - public: - inline CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName() : CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName(nullptr) {} - ~CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName() override; - explicit PROTOBUF_CONSTEXPR CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName(const CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& from); - CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName(CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName&& from) noexcept - : CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName() { - *this = ::std::move(from); - } - - inline CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& operator=(const CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& operator=(CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName_default_instance_); - } - static constexpr int kIndexInFileMessages = - 176; - - friend void swap(CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& a, CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName& from) { - CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName"; - } - protected: - explicit CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLeaderboardSafeNameFieldNumber = 1, - }; - // optional string leaderboard_safe_name = 1; - bool has_leaderboard_safe_name() const; - private: - bool _internal_has_leaderboard_safe_name() const; - public: - void clear_leaderboard_safe_name(); - const std::string& leaderboard_safe_name() const; - template - void set_leaderboard_safe_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_leaderboard_safe_name(); - PROTOBUF_NODISCARD std::string* release_leaderboard_safe_name(); - void set_allocated_leaderboard_safe_name(std::string* leaderboard_safe_name); - private: - const std::string& _internal_leaderboard_safe_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_leaderboard_safe_name(const std::string& value); - std::string* _internal_mutable_leaderboard_safe_name(); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr leaderboard_safe_name_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgRequestRecurringMissionSchedule : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CMsgRequestRecurringMissionSchedule) */ { - public: - inline CMsgRequestRecurringMissionSchedule() : CMsgRequestRecurringMissionSchedule(nullptr) {} - explicit PROTOBUF_CONSTEXPR CMsgRequestRecurringMissionSchedule(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgRequestRecurringMissionSchedule(const CMsgRequestRecurringMissionSchedule& from); - CMsgRequestRecurringMissionSchedule(CMsgRequestRecurringMissionSchedule&& from) noexcept - : CMsgRequestRecurringMissionSchedule() { - *this = ::std::move(from); - } - - inline CMsgRequestRecurringMissionSchedule& operator=(const CMsgRequestRecurringMissionSchedule& from) { - CopyFrom(from); - return *this; - } - inline CMsgRequestRecurringMissionSchedule& operator=(CMsgRequestRecurringMissionSchedule&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgRequestRecurringMissionSchedule& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgRequestRecurringMissionSchedule* internal_default_instance() { - return reinterpret_cast( - &_CMsgRequestRecurringMissionSchedule_default_instance_); - } - static constexpr int kIndexInFileMessages = - 177; - - friend void swap(CMsgRequestRecurringMissionSchedule& a, CMsgRequestRecurringMissionSchedule& b) { - a.Swap(&b); - } - inline void Swap(CMsgRequestRecurringMissionSchedule* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgRequestRecurringMissionSchedule* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgRequestRecurringMissionSchedule* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CMsgRequestRecurringMissionSchedule& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CMsgRequestRecurringMissionSchedule& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgRequestRecurringMissionSchedule"; - } - protected: - explicit CMsgRequestRecurringMissionSchedule(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CMsgRequestRecurringMissionSchedule) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgRecurringMissionSchema_MissionTemplateList : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgRecurringMissionSchema.MissionTemplateList) */ { - public: - inline CMsgRecurringMissionSchema_MissionTemplateList() : CMsgRecurringMissionSchema_MissionTemplateList(nullptr) {} - ~CMsgRecurringMissionSchema_MissionTemplateList() override; - explicit PROTOBUF_CONSTEXPR CMsgRecurringMissionSchema_MissionTemplateList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgRecurringMissionSchema_MissionTemplateList(const CMsgRecurringMissionSchema_MissionTemplateList& from); - CMsgRecurringMissionSchema_MissionTemplateList(CMsgRecurringMissionSchema_MissionTemplateList&& from) noexcept - : CMsgRecurringMissionSchema_MissionTemplateList() { - *this = ::std::move(from); - } - - inline CMsgRecurringMissionSchema_MissionTemplateList& operator=(const CMsgRecurringMissionSchema_MissionTemplateList& from) { - CopyFrom(from); - return *this; - } - inline CMsgRecurringMissionSchema_MissionTemplateList& operator=(CMsgRecurringMissionSchema_MissionTemplateList&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgRecurringMissionSchema_MissionTemplateList& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgRecurringMissionSchema_MissionTemplateList* internal_default_instance() { - return reinterpret_cast( - &_CMsgRecurringMissionSchema_MissionTemplateList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 178; - - friend void swap(CMsgRecurringMissionSchema_MissionTemplateList& a, CMsgRecurringMissionSchema_MissionTemplateList& b) { - a.Swap(&b); - } - inline void Swap(CMsgRecurringMissionSchema_MissionTemplateList* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgRecurringMissionSchema_MissionTemplateList* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgRecurringMissionSchema_MissionTemplateList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgRecurringMissionSchema_MissionTemplateList& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgRecurringMissionSchema_MissionTemplateList& from) { - CMsgRecurringMissionSchema_MissionTemplateList::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgRecurringMissionSchema_MissionTemplateList* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgRecurringMissionSchema.MissionTemplateList"; - } - protected: - explicit CMsgRecurringMissionSchema_MissionTemplateList(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMissionTemplatesFieldNumber = 2, - kPeriodFieldNumber = 1, - }; - // repeated bytes mission_templates = 2; - int mission_templates_size() const; - private: - int _internal_mission_templates_size() const; - public: - void clear_mission_templates(); - const std::string& mission_templates(int index) const; - std::string* mutable_mission_templates(int index); - void set_mission_templates(int index, const std::string& value); - void set_mission_templates(int index, std::string&& value); - void set_mission_templates(int index, const char* value); - void set_mission_templates(int index, const void* value, size_t size); - std::string* add_mission_templates(); - void add_mission_templates(const std::string& value); - void add_mission_templates(std::string&& value); - void add_mission_templates(const char* value); - void add_mission_templates(const void* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& mission_templates() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_mission_templates(); - private: - const std::string& _internal_mission_templates(int index) const; - std::string* _internal_add_mission_templates(); - public: - - // optional uint32 period = 1; - bool has_period() const; - private: - bool _internal_has_period() const; - public: - void clear_period(); - uint32_t period() const; - void set_period(uint32_t value); - private: - uint32_t _internal_period() const; - void _internal_set_period(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgRecurringMissionSchema.MissionTemplateList) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField mission_templates_; - uint32_t period_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgRecurringMissionSchema : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgRecurringMissionSchema) */ { - public: - inline CMsgRecurringMissionSchema() : CMsgRecurringMissionSchema(nullptr) {} - ~CMsgRecurringMissionSchema() override; - explicit PROTOBUF_CONSTEXPR CMsgRecurringMissionSchema(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgRecurringMissionSchema(const CMsgRecurringMissionSchema& from); - CMsgRecurringMissionSchema(CMsgRecurringMissionSchema&& from) noexcept - : CMsgRecurringMissionSchema() { - *this = ::std::move(from); - } - - inline CMsgRecurringMissionSchema& operator=(const CMsgRecurringMissionSchema& from) { - CopyFrom(from); - return *this; - } - inline CMsgRecurringMissionSchema& operator=(CMsgRecurringMissionSchema&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgRecurringMissionSchema& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgRecurringMissionSchema* internal_default_instance() { - return reinterpret_cast( - &_CMsgRecurringMissionSchema_default_instance_); - } - static constexpr int kIndexInFileMessages = - 179; - - friend void swap(CMsgRecurringMissionSchema& a, CMsgRecurringMissionSchema& b) { - a.Swap(&b); - } - inline void Swap(CMsgRecurringMissionSchema* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgRecurringMissionSchema* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgRecurringMissionSchema* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgRecurringMissionSchema& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgRecurringMissionSchema& from) { - CMsgRecurringMissionSchema::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgRecurringMissionSchema* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgRecurringMissionSchema"; - } - protected: - explicit CMsgRecurringMissionSchema(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgRecurringMissionSchema_MissionTemplateList MissionTemplateList; - - // accessors ------------------------------------------------------- - - enum : int { - kMissionsFieldNumber = 1, - }; - // repeated .CMsgRecurringMissionSchema.MissionTemplateList missions = 1; - int missions_size() const; - private: - int _internal_missions_size() const; - public: - void clear_missions(); - ::CMsgRecurringMissionSchema_MissionTemplateList* mutable_missions(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRecurringMissionSchema_MissionTemplateList >* - mutable_missions(); - private: - const ::CMsgRecurringMissionSchema_MissionTemplateList& _internal_missions(int index) const; - ::CMsgRecurringMissionSchema_MissionTemplateList* _internal_add_missions(); - public: - const ::CMsgRecurringMissionSchema_MissionTemplateList& missions(int index) const; - ::CMsgRecurringMissionSchema_MissionTemplateList* add_missions(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRecurringMissionSchema_MissionTemplateList >& - missions() const; - - // @@protoc_insertion_point(class_scope:CMsgRecurringMissionSchema) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRecurringMissionSchema_MissionTemplateList > missions_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fgcmessages_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// GameServerPing - -// optional int32 ping = 2; -inline bool GameServerPing::_internal_has_ping() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool GameServerPing::has_ping() const { - return _internal_has_ping(); -} -inline void GameServerPing::clear_ping() { - _impl_.ping_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t GameServerPing::_internal_ping() const { - return _impl_.ping_; -} -inline int32_t GameServerPing::ping() const { - // @@protoc_insertion_point(field_get:GameServerPing.ping) - return _internal_ping(); -} -inline void GameServerPing::_internal_set_ping(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ping_ = value; -} -inline void GameServerPing::set_ping(int32_t value) { - _internal_set_ping(value); - // @@protoc_insertion_point(field_set:GameServerPing.ping) -} - -// optional uint32 ip = 3; -inline bool GameServerPing::_internal_has_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool GameServerPing::has_ip() const { - return _internal_has_ip(); -} -inline void GameServerPing::clear_ip() { - _impl_.ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t GameServerPing::_internal_ip() const { - return _impl_.ip_; -} -inline uint32_t GameServerPing::ip() const { - // @@protoc_insertion_point(field_get:GameServerPing.ip) - return _internal_ip(); -} -inline void GameServerPing::_internal_set_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.ip_ = value; -} -inline void GameServerPing::set_ip(uint32_t value) { - _internal_set_ip(value); - // @@protoc_insertion_point(field_set:GameServerPing.ip) -} - -// optional uint32 instances = 5; -inline bool GameServerPing::_internal_has_instances() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool GameServerPing::has_instances() const { - return _internal_has_instances(); -} -inline void GameServerPing::clear_instances() { - _impl_.instances_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t GameServerPing::_internal_instances() const { - return _impl_.instances_; -} -inline uint32_t GameServerPing::instances() const { - // @@protoc_insertion_point(field_get:GameServerPing.instances) - return _internal_instances(); -} -inline void GameServerPing::_internal_set_instances(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.instances_ = value; -} -inline void GameServerPing::set_instances(uint32_t value) { - _internal_set_instances(value); - // @@protoc_insertion_point(field_set:GameServerPing.instances) -} - -// ------------------------------------------------------------------- - -// DataCenterPing - -// optional fixed32 data_center_id = 1; -inline bool DataCenterPing::_internal_has_data_center_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool DataCenterPing::has_data_center_id() const { - return _internal_has_data_center_id(); -} -inline void DataCenterPing::clear_data_center_id() { - _impl_.data_center_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t DataCenterPing::_internal_data_center_id() const { - return _impl_.data_center_id_; -} -inline uint32_t DataCenterPing::data_center_id() const { - // @@protoc_insertion_point(field_get:DataCenterPing.data_center_id) - return _internal_data_center_id(); -} -inline void DataCenterPing::_internal_set_data_center_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_center_id_ = value; -} -inline void DataCenterPing::set_data_center_id(uint32_t value) { - _internal_set_data_center_id(value); - // @@protoc_insertion_point(field_set:DataCenterPing.data_center_id) -} - -// optional sint32 ping = 2; -inline bool DataCenterPing::_internal_has_ping() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool DataCenterPing::has_ping() const { - return _internal_has_ping(); -} -inline void DataCenterPing::clear_ping() { - _impl_.ping_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t DataCenterPing::_internal_ping() const { - return _impl_.ping_; -} -inline int32_t DataCenterPing::ping() const { - // @@protoc_insertion_point(field_get:DataCenterPing.ping) - return _internal_ping(); -} -inline void DataCenterPing::_internal_set_ping(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.ping_ = value; -} -inline void DataCenterPing::set_ping(int32_t value) { - _internal_set_ping(value); - // @@protoc_insertion_point(field_set:DataCenterPing.ping) -} - -// ------------------------------------------------------------------- - -// DetailedSearchStatistic - -// optional uint32 game_type = 1; -inline bool DetailedSearchStatistic::_internal_has_game_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool DetailedSearchStatistic::has_game_type() const { - return _internal_has_game_type(); -} -inline void DetailedSearchStatistic::clear_game_type() { - _impl_.game_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t DetailedSearchStatistic::_internal_game_type() const { - return _impl_.game_type_; -} -inline uint32_t DetailedSearchStatistic::game_type() const { - // @@protoc_insertion_point(field_get:DetailedSearchStatistic.game_type) - return _internal_game_type(); -} -inline void DetailedSearchStatistic::_internal_set_game_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.game_type_ = value; -} -inline void DetailedSearchStatistic::set_game_type(uint32_t value) { - _internal_set_game_type(value); - // @@protoc_insertion_point(field_set:DetailedSearchStatistic.game_type) -} - -// optional uint32 search_time_avg = 2; -inline bool DetailedSearchStatistic::_internal_has_search_time_avg() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool DetailedSearchStatistic::has_search_time_avg() const { - return _internal_has_search_time_avg(); -} -inline void DetailedSearchStatistic::clear_search_time_avg() { - _impl_.search_time_avg_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t DetailedSearchStatistic::_internal_search_time_avg() const { - return _impl_.search_time_avg_; -} -inline uint32_t DetailedSearchStatistic::search_time_avg() const { - // @@protoc_insertion_point(field_get:DetailedSearchStatistic.search_time_avg) - return _internal_search_time_avg(); -} -inline void DetailedSearchStatistic::_internal_set_search_time_avg(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.search_time_avg_ = value; -} -inline void DetailedSearchStatistic::set_search_time_avg(uint32_t value) { - _internal_set_search_time_avg(value); - // @@protoc_insertion_point(field_set:DetailedSearchStatistic.search_time_avg) -} - -// optional uint32 players_searching = 4; -inline bool DetailedSearchStatistic::_internal_has_players_searching() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool DetailedSearchStatistic::has_players_searching() const { - return _internal_has_players_searching(); -} -inline void DetailedSearchStatistic::clear_players_searching() { - _impl_.players_searching_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t DetailedSearchStatistic::_internal_players_searching() const { - return _impl_.players_searching_; -} -inline uint32_t DetailedSearchStatistic::players_searching() const { - // @@protoc_insertion_point(field_get:DetailedSearchStatistic.players_searching) - return _internal_players_searching(); -} -inline void DetailedSearchStatistic::_internal_set_players_searching(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.players_searching_ = value; -} -inline void DetailedSearchStatistic::set_players_searching(uint32_t value) { - _internal_set_players_searching(value); - // @@protoc_insertion_point(field_set:DetailedSearchStatistic.players_searching) -} - -// ------------------------------------------------------------------- - -// TournamentPlayer - -// optional uint32 account_id = 1; -inline bool TournamentPlayer::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool TournamentPlayer::has_account_id() const { - return _internal_has_account_id(); -} -inline void TournamentPlayer::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t TournamentPlayer::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t TournamentPlayer::account_id() const { - // @@protoc_insertion_point(field_get:TournamentPlayer.account_id) - return _internal_account_id(); -} -inline void TournamentPlayer::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.account_id_ = value; -} -inline void TournamentPlayer::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:TournamentPlayer.account_id) -} - -// optional string player_nick = 2; -inline bool TournamentPlayer::_internal_has_player_nick() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool TournamentPlayer::has_player_nick() const { - return _internal_has_player_nick(); -} -inline void TournamentPlayer::clear_player_nick() { - _impl_.player_nick_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& TournamentPlayer::player_nick() const { - // @@protoc_insertion_point(field_get:TournamentPlayer.player_nick) - return _internal_player_nick(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void TournamentPlayer::set_player_nick(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.player_nick_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:TournamentPlayer.player_nick) -} -inline std::string* TournamentPlayer::mutable_player_nick() { - std::string* _s = _internal_mutable_player_nick(); - // @@protoc_insertion_point(field_mutable:TournamentPlayer.player_nick) - return _s; -} -inline const std::string& TournamentPlayer::_internal_player_nick() const { - return _impl_.player_nick_.Get(); -} -inline void TournamentPlayer::_internal_set_player_nick(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.player_nick_.Set(value, GetArenaForAllocation()); -} -inline std::string* TournamentPlayer::_internal_mutable_player_nick() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.player_nick_.Mutable(GetArenaForAllocation()); -} -inline std::string* TournamentPlayer::release_player_nick() { - // @@protoc_insertion_point(field_release:TournamentPlayer.player_nick) - if (!_internal_has_player_nick()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.player_nick_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.player_nick_.IsDefault()) { - _impl_.player_nick_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void TournamentPlayer::set_allocated_player_nick(std::string* player_nick) { - if (player_nick != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.player_nick_.SetAllocated(player_nick, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.player_nick_.IsDefault()) { - _impl_.player_nick_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:TournamentPlayer.player_nick) -} - -// optional string player_name = 3; -inline bool TournamentPlayer::_internal_has_player_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool TournamentPlayer::has_player_name() const { - return _internal_has_player_name(); -} -inline void TournamentPlayer::clear_player_name() { - _impl_.player_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& TournamentPlayer::player_name() const { - // @@protoc_insertion_point(field_get:TournamentPlayer.player_name) - return _internal_player_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void TournamentPlayer::set_player_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.player_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:TournamentPlayer.player_name) -} -inline std::string* TournamentPlayer::mutable_player_name() { - std::string* _s = _internal_mutable_player_name(); - // @@protoc_insertion_point(field_mutable:TournamentPlayer.player_name) - return _s; -} -inline const std::string& TournamentPlayer::_internal_player_name() const { - return _impl_.player_name_.Get(); -} -inline void TournamentPlayer::_internal_set_player_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.player_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* TournamentPlayer::_internal_mutable_player_name() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.player_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* TournamentPlayer::release_player_name() { - // @@protoc_insertion_point(field_release:TournamentPlayer.player_name) - if (!_internal_has_player_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.player_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.player_name_.IsDefault()) { - _impl_.player_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void TournamentPlayer::set_allocated_player_name(std::string* player_name) { - if (player_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.player_name_.SetAllocated(player_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.player_name_.IsDefault()) { - _impl_.player_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:TournamentPlayer.player_name) -} - -// optional uint32 player_dob = 4; -inline bool TournamentPlayer::_internal_has_player_dob() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool TournamentPlayer::has_player_dob() const { - return _internal_has_player_dob(); -} -inline void TournamentPlayer::clear_player_dob() { - _impl_.player_dob_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t TournamentPlayer::_internal_player_dob() const { - return _impl_.player_dob_; -} -inline uint32_t TournamentPlayer::player_dob() const { - // @@protoc_insertion_point(field_get:TournamentPlayer.player_dob) - return _internal_player_dob(); -} -inline void TournamentPlayer::_internal_set_player_dob(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.player_dob_ = value; -} -inline void TournamentPlayer::set_player_dob(uint32_t value) { - _internal_set_player_dob(value); - // @@protoc_insertion_point(field_set:TournamentPlayer.player_dob) -} - -// optional string player_flag = 5; -inline bool TournamentPlayer::_internal_has_player_flag() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool TournamentPlayer::has_player_flag() const { - return _internal_has_player_flag(); -} -inline void TournamentPlayer::clear_player_flag() { - _impl_.player_flag_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& TournamentPlayer::player_flag() const { - // @@protoc_insertion_point(field_get:TournamentPlayer.player_flag) - return _internal_player_flag(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void TournamentPlayer::set_player_flag(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.player_flag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:TournamentPlayer.player_flag) -} -inline std::string* TournamentPlayer::mutable_player_flag() { - std::string* _s = _internal_mutable_player_flag(); - // @@protoc_insertion_point(field_mutable:TournamentPlayer.player_flag) - return _s; -} -inline const std::string& TournamentPlayer::_internal_player_flag() const { - return _impl_.player_flag_.Get(); -} -inline void TournamentPlayer::_internal_set_player_flag(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.player_flag_.Set(value, GetArenaForAllocation()); -} -inline std::string* TournamentPlayer::_internal_mutable_player_flag() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.player_flag_.Mutable(GetArenaForAllocation()); -} -inline std::string* TournamentPlayer::release_player_flag() { - // @@protoc_insertion_point(field_release:TournamentPlayer.player_flag) - if (!_internal_has_player_flag()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.player_flag_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.player_flag_.IsDefault()) { - _impl_.player_flag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void TournamentPlayer::set_allocated_player_flag(std::string* player_flag) { - if (player_flag != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.player_flag_.SetAllocated(player_flag, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.player_flag_.IsDefault()) { - _impl_.player_flag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:TournamentPlayer.player_flag) -} - -// optional string player_location = 6; -inline bool TournamentPlayer::_internal_has_player_location() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool TournamentPlayer::has_player_location() const { - return _internal_has_player_location(); -} -inline void TournamentPlayer::clear_player_location() { - _impl_.player_location_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& TournamentPlayer::player_location() const { - // @@protoc_insertion_point(field_get:TournamentPlayer.player_location) - return _internal_player_location(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void TournamentPlayer::set_player_location(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.player_location_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:TournamentPlayer.player_location) -} -inline std::string* TournamentPlayer::mutable_player_location() { - std::string* _s = _internal_mutable_player_location(); - // @@protoc_insertion_point(field_mutable:TournamentPlayer.player_location) - return _s; -} -inline const std::string& TournamentPlayer::_internal_player_location() const { - return _impl_.player_location_.Get(); -} -inline void TournamentPlayer::_internal_set_player_location(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.player_location_.Set(value, GetArenaForAllocation()); -} -inline std::string* TournamentPlayer::_internal_mutable_player_location() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.player_location_.Mutable(GetArenaForAllocation()); -} -inline std::string* TournamentPlayer::release_player_location() { - // @@protoc_insertion_point(field_release:TournamentPlayer.player_location) - if (!_internal_has_player_location()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.player_location_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.player_location_.IsDefault()) { - _impl_.player_location_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void TournamentPlayer::set_allocated_player_location(std::string* player_location) { - if (player_location != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.player_location_.SetAllocated(player_location, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.player_location_.IsDefault()) { - _impl_.player_location_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:TournamentPlayer.player_location) -} - -// optional string player_desc = 7; -inline bool TournamentPlayer::_internal_has_player_desc() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool TournamentPlayer::has_player_desc() const { - return _internal_has_player_desc(); -} -inline void TournamentPlayer::clear_player_desc() { - _impl_.player_desc_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const std::string& TournamentPlayer::player_desc() const { - // @@protoc_insertion_point(field_get:TournamentPlayer.player_desc) - return _internal_player_desc(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void TournamentPlayer::set_player_desc(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.player_desc_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:TournamentPlayer.player_desc) -} -inline std::string* TournamentPlayer::mutable_player_desc() { - std::string* _s = _internal_mutable_player_desc(); - // @@protoc_insertion_point(field_mutable:TournamentPlayer.player_desc) - return _s; -} -inline const std::string& TournamentPlayer::_internal_player_desc() const { - return _impl_.player_desc_.Get(); -} -inline void TournamentPlayer::_internal_set_player_desc(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.player_desc_.Set(value, GetArenaForAllocation()); -} -inline std::string* TournamentPlayer::_internal_mutable_player_desc() { - _impl_._has_bits_[0] |= 0x00000010u; - return _impl_.player_desc_.Mutable(GetArenaForAllocation()); -} -inline std::string* TournamentPlayer::release_player_desc() { - // @@protoc_insertion_point(field_release:TournamentPlayer.player_desc) - if (!_internal_has_player_desc()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000010u; - auto* p = _impl_.player_desc_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.player_desc_.IsDefault()) { - _impl_.player_desc_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void TournamentPlayer::set_allocated_player_desc(std::string* player_desc) { - if (player_desc != nullptr) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.player_desc_.SetAllocated(player_desc, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.player_desc_.IsDefault()) { - _impl_.player_desc_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:TournamentPlayer.player_desc) -} - -// ------------------------------------------------------------------- - -// TournamentTeam - -// optional int32 team_id = 1; -inline bool TournamentTeam::_internal_has_team_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool TournamentTeam::has_team_id() const { - return _internal_has_team_id(); -} -inline void TournamentTeam::clear_team_id() { - _impl_.team_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t TournamentTeam::_internal_team_id() const { - return _impl_.team_id_; -} -inline int32_t TournamentTeam::team_id() const { - // @@protoc_insertion_point(field_get:TournamentTeam.team_id) - return _internal_team_id(); -} -inline void TournamentTeam::_internal_set_team_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.team_id_ = value; -} -inline void TournamentTeam::set_team_id(int32_t value) { - _internal_set_team_id(value); - // @@protoc_insertion_point(field_set:TournamentTeam.team_id) -} - -// optional string team_tag = 2; -inline bool TournamentTeam::_internal_has_team_tag() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool TournamentTeam::has_team_tag() const { - return _internal_has_team_tag(); -} -inline void TournamentTeam::clear_team_tag() { - _impl_.team_tag_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& TournamentTeam::team_tag() const { - // @@protoc_insertion_point(field_get:TournamentTeam.team_tag) - return _internal_team_tag(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void TournamentTeam::set_team_tag(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.team_tag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:TournamentTeam.team_tag) -} -inline std::string* TournamentTeam::mutable_team_tag() { - std::string* _s = _internal_mutable_team_tag(); - // @@protoc_insertion_point(field_mutable:TournamentTeam.team_tag) - return _s; -} -inline const std::string& TournamentTeam::_internal_team_tag() const { - return _impl_.team_tag_.Get(); -} -inline void TournamentTeam::_internal_set_team_tag(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.team_tag_.Set(value, GetArenaForAllocation()); -} -inline std::string* TournamentTeam::_internal_mutable_team_tag() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.team_tag_.Mutable(GetArenaForAllocation()); -} -inline std::string* TournamentTeam::release_team_tag() { - // @@protoc_insertion_point(field_release:TournamentTeam.team_tag) - if (!_internal_has_team_tag()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.team_tag_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.team_tag_.IsDefault()) { - _impl_.team_tag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void TournamentTeam::set_allocated_team_tag(std::string* team_tag) { - if (team_tag != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.team_tag_.SetAllocated(team_tag, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.team_tag_.IsDefault()) { - _impl_.team_tag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:TournamentTeam.team_tag) -} - -// optional string team_flag = 3; -inline bool TournamentTeam::_internal_has_team_flag() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool TournamentTeam::has_team_flag() const { - return _internal_has_team_flag(); -} -inline void TournamentTeam::clear_team_flag() { - _impl_.team_flag_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& TournamentTeam::team_flag() const { - // @@protoc_insertion_point(field_get:TournamentTeam.team_flag) - return _internal_team_flag(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void TournamentTeam::set_team_flag(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.team_flag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:TournamentTeam.team_flag) -} -inline std::string* TournamentTeam::mutable_team_flag() { - std::string* _s = _internal_mutable_team_flag(); - // @@protoc_insertion_point(field_mutable:TournamentTeam.team_flag) - return _s; -} -inline const std::string& TournamentTeam::_internal_team_flag() const { - return _impl_.team_flag_.Get(); -} -inline void TournamentTeam::_internal_set_team_flag(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.team_flag_.Set(value, GetArenaForAllocation()); -} -inline std::string* TournamentTeam::_internal_mutable_team_flag() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.team_flag_.Mutable(GetArenaForAllocation()); -} -inline std::string* TournamentTeam::release_team_flag() { - // @@protoc_insertion_point(field_release:TournamentTeam.team_flag) - if (!_internal_has_team_flag()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.team_flag_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.team_flag_.IsDefault()) { - _impl_.team_flag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void TournamentTeam::set_allocated_team_flag(std::string* team_flag) { - if (team_flag != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.team_flag_.SetAllocated(team_flag, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.team_flag_.IsDefault()) { - _impl_.team_flag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:TournamentTeam.team_flag) -} - -// optional string team_name = 4; -inline bool TournamentTeam::_internal_has_team_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool TournamentTeam::has_team_name() const { - return _internal_has_team_name(); -} -inline void TournamentTeam::clear_team_name() { - _impl_.team_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& TournamentTeam::team_name() const { - // @@protoc_insertion_point(field_get:TournamentTeam.team_name) - return _internal_team_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void TournamentTeam::set_team_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.team_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:TournamentTeam.team_name) -} -inline std::string* TournamentTeam::mutable_team_name() { - std::string* _s = _internal_mutable_team_name(); - // @@protoc_insertion_point(field_mutable:TournamentTeam.team_name) - return _s; -} -inline const std::string& TournamentTeam::_internal_team_name() const { - return _impl_.team_name_.Get(); -} -inline void TournamentTeam::_internal_set_team_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.team_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* TournamentTeam::_internal_mutable_team_name() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.team_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* TournamentTeam::release_team_name() { - // @@protoc_insertion_point(field_release:TournamentTeam.team_name) - if (!_internal_has_team_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.team_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.team_name_.IsDefault()) { - _impl_.team_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void TournamentTeam::set_allocated_team_name(std::string* team_name) { - if (team_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.team_name_.SetAllocated(team_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.team_name_.IsDefault()) { - _impl_.team_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:TournamentTeam.team_name) -} - -// repeated .TournamentPlayer players = 5; -inline int TournamentTeam::_internal_players_size() const { - return _impl_.players_.size(); -} -inline int TournamentTeam::players_size() const { - return _internal_players_size(); -} -inline void TournamentTeam::clear_players() { - _impl_.players_.Clear(); -} -inline ::TournamentPlayer* TournamentTeam::mutable_players(int index) { - // @@protoc_insertion_point(field_mutable:TournamentTeam.players) - return _impl_.players_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentPlayer >* -TournamentTeam::mutable_players() { - // @@protoc_insertion_point(field_mutable_list:TournamentTeam.players) - return &_impl_.players_; -} -inline const ::TournamentPlayer& TournamentTeam::_internal_players(int index) const { - return _impl_.players_.Get(index); -} -inline const ::TournamentPlayer& TournamentTeam::players(int index) const { - // @@protoc_insertion_point(field_get:TournamentTeam.players) - return _internal_players(index); -} -inline ::TournamentPlayer* TournamentTeam::_internal_add_players() { - return _impl_.players_.Add(); -} -inline ::TournamentPlayer* TournamentTeam::add_players() { - ::TournamentPlayer* _add = _internal_add_players(); - // @@protoc_insertion_point(field_add:TournamentTeam.players) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentPlayer >& -TournamentTeam::players() const { - // @@protoc_insertion_point(field_list:TournamentTeam.players) - return _impl_.players_; -} - -// ------------------------------------------------------------------- - -// TournamentEvent - -// optional int32 event_id = 1; -inline bool TournamentEvent::_internal_has_event_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool TournamentEvent::has_event_id() const { - return _internal_has_event_id(); -} -inline void TournamentEvent::clear_event_id() { - _impl_.event_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t TournamentEvent::_internal_event_id() const { - return _impl_.event_id_; -} -inline int32_t TournamentEvent::event_id() const { - // @@protoc_insertion_point(field_get:TournamentEvent.event_id) - return _internal_event_id(); -} -inline void TournamentEvent::_internal_set_event_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.event_id_ = value; -} -inline void TournamentEvent::set_event_id(int32_t value) { - _internal_set_event_id(value); - // @@protoc_insertion_point(field_set:TournamentEvent.event_id) -} - -// optional string event_tag = 2; -inline bool TournamentEvent::_internal_has_event_tag() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool TournamentEvent::has_event_tag() const { - return _internal_has_event_tag(); -} -inline void TournamentEvent::clear_event_tag() { - _impl_.event_tag_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& TournamentEvent::event_tag() const { - // @@protoc_insertion_point(field_get:TournamentEvent.event_tag) - return _internal_event_tag(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void TournamentEvent::set_event_tag(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_tag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:TournamentEvent.event_tag) -} -inline std::string* TournamentEvent::mutable_event_tag() { - std::string* _s = _internal_mutable_event_tag(); - // @@protoc_insertion_point(field_mutable:TournamentEvent.event_tag) - return _s; -} -inline const std::string& TournamentEvent::_internal_event_tag() const { - return _impl_.event_tag_.Get(); -} -inline void TournamentEvent::_internal_set_event_tag(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_tag_.Set(value, GetArenaForAllocation()); -} -inline std::string* TournamentEvent::_internal_mutable_event_tag() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.event_tag_.Mutable(GetArenaForAllocation()); -} -inline std::string* TournamentEvent::release_event_tag() { - // @@protoc_insertion_point(field_release:TournamentEvent.event_tag) - if (!_internal_has_event_tag()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.event_tag_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_tag_.IsDefault()) { - _impl_.event_tag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void TournamentEvent::set_allocated_event_tag(std::string* event_tag) { - if (event_tag != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.event_tag_.SetAllocated(event_tag, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_tag_.IsDefault()) { - _impl_.event_tag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:TournamentEvent.event_tag) -} - -// optional string event_name = 3; -inline bool TournamentEvent::_internal_has_event_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool TournamentEvent::has_event_name() const { - return _internal_has_event_name(); -} -inline void TournamentEvent::clear_event_name() { - _impl_.event_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& TournamentEvent::event_name() const { - // @@protoc_insertion_point(field_get:TournamentEvent.event_name) - return _internal_event_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void TournamentEvent::set_event_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.event_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:TournamentEvent.event_name) -} -inline std::string* TournamentEvent::mutable_event_name() { - std::string* _s = _internal_mutable_event_name(); - // @@protoc_insertion_point(field_mutable:TournamentEvent.event_name) - return _s; -} -inline const std::string& TournamentEvent::_internal_event_name() const { - return _impl_.event_name_.Get(); -} -inline void TournamentEvent::_internal_set_event_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.event_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* TournamentEvent::_internal_mutable_event_name() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.event_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* TournamentEvent::release_event_name() { - // @@protoc_insertion_point(field_release:TournamentEvent.event_name) - if (!_internal_has_event_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.event_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_name_.IsDefault()) { - _impl_.event_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void TournamentEvent::set_allocated_event_name(std::string* event_name) { - if (event_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.event_name_.SetAllocated(event_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_name_.IsDefault()) { - _impl_.event_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:TournamentEvent.event_name) -} - -// optional uint32 event_time_start = 4; -inline bool TournamentEvent::_internal_has_event_time_start() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool TournamentEvent::has_event_time_start() const { - return _internal_has_event_time_start(); -} -inline void TournamentEvent::clear_event_time_start() { - _impl_.event_time_start_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t TournamentEvent::_internal_event_time_start() const { - return _impl_.event_time_start_; -} -inline uint32_t TournamentEvent::event_time_start() const { - // @@protoc_insertion_point(field_get:TournamentEvent.event_time_start) - return _internal_event_time_start(); -} -inline void TournamentEvent::_internal_set_event_time_start(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.event_time_start_ = value; -} -inline void TournamentEvent::set_event_time_start(uint32_t value) { - _internal_set_event_time_start(value); - // @@protoc_insertion_point(field_set:TournamentEvent.event_time_start) -} - -// optional uint32 event_time_end = 5; -inline bool TournamentEvent::_internal_has_event_time_end() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool TournamentEvent::has_event_time_end() const { - return _internal_has_event_time_end(); -} -inline void TournamentEvent::clear_event_time_end() { - _impl_.event_time_end_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t TournamentEvent::_internal_event_time_end() const { - return _impl_.event_time_end_; -} -inline uint32_t TournamentEvent::event_time_end() const { - // @@protoc_insertion_point(field_get:TournamentEvent.event_time_end) - return _internal_event_time_end(); -} -inline void TournamentEvent::_internal_set_event_time_end(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.event_time_end_ = value; -} -inline void TournamentEvent::set_event_time_end(uint32_t value) { - _internal_set_event_time_end(value); - // @@protoc_insertion_point(field_set:TournamentEvent.event_time_end) -} - -// optional int32 event_public = 6; -inline bool TournamentEvent::_internal_has_event_public() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool TournamentEvent::has_event_public() const { - return _internal_has_event_public(); -} -inline void TournamentEvent::clear_event_public() { - _impl_.event_public_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t TournamentEvent::_internal_event_public() const { - return _impl_.event_public_; -} -inline int32_t TournamentEvent::event_public() const { - // @@protoc_insertion_point(field_get:TournamentEvent.event_public) - return _internal_event_public(); -} -inline void TournamentEvent::_internal_set_event_public(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.event_public_ = value; -} -inline void TournamentEvent::set_event_public(int32_t value) { - _internal_set_event_public(value); - // @@protoc_insertion_point(field_set:TournamentEvent.event_public) -} - -// optional int32 event_stage_id = 7; -inline bool TournamentEvent::_internal_has_event_stage_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool TournamentEvent::has_event_stage_id() const { - return _internal_has_event_stage_id(); -} -inline void TournamentEvent::clear_event_stage_id() { - _impl_.event_stage_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t TournamentEvent::_internal_event_stage_id() const { - return _impl_.event_stage_id_; -} -inline int32_t TournamentEvent::event_stage_id() const { - // @@protoc_insertion_point(field_get:TournamentEvent.event_stage_id) - return _internal_event_stage_id(); -} -inline void TournamentEvent::_internal_set_event_stage_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.event_stage_id_ = value; -} -inline void TournamentEvent::set_event_stage_id(int32_t value) { - _internal_set_event_stage_id(value); - // @@protoc_insertion_point(field_set:TournamentEvent.event_stage_id) -} - -// optional string event_stage_name = 8; -inline bool TournamentEvent::_internal_has_event_stage_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool TournamentEvent::has_event_stage_name() const { - return _internal_has_event_stage_name(); -} -inline void TournamentEvent::clear_event_stage_name() { - _impl_.event_stage_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& TournamentEvent::event_stage_name() const { - // @@protoc_insertion_point(field_get:TournamentEvent.event_stage_name) - return _internal_event_stage_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void TournamentEvent::set_event_stage_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.event_stage_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:TournamentEvent.event_stage_name) -} -inline std::string* TournamentEvent::mutable_event_stage_name() { - std::string* _s = _internal_mutable_event_stage_name(); - // @@protoc_insertion_point(field_mutable:TournamentEvent.event_stage_name) - return _s; -} -inline const std::string& TournamentEvent::_internal_event_stage_name() const { - return _impl_.event_stage_name_.Get(); -} -inline void TournamentEvent::_internal_set_event_stage_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.event_stage_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* TournamentEvent::_internal_mutable_event_stage_name() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.event_stage_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* TournamentEvent::release_event_stage_name() { - // @@protoc_insertion_point(field_release:TournamentEvent.event_stage_name) - if (!_internal_has_event_stage_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.event_stage_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_stage_name_.IsDefault()) { - _impl_.event_stage_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void TournamentEvent::set_allocated_event_stage_name(std::string* event_stage_name) { - if (event_stage_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.event_stage_name_.SetAllocated(event_stage_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_stage_name_.IsDefault()) { - _impl_.event_stage_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:TournamentEvent.event_stage_name) -} - -// optional uint32 active_section_id = 9; -inline bool TournamentEvent::_internal_has_active_section_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool TournamentEvent::has_active_section_id() const { - return _internal_has_active_section_id(); -} -inline void TournamentEvent::clear_active_section_id() { - _impl_.active_section_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t TournamentEvent::_internal_active_section_id() const { - return _impl_.active_section_id_; -} -inline uint32_t TournamentEvent::active_section_id() const { - // @@protoc_insertion_point(field_get:TournamentEvent.active_section_id) - return _internal_active_section_id(); -} -inline void TournamentEvent::_internal_set_active_section_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.active_section_id_ = value; -} -inline void TournamentEvent::set_active_section_id(uint32_t value) { - _internal_set_active_section_id(value); - // @@protoc_insertion_point(field_set:TournamentEvent.active_section_id) -} - -// ------------------------------------------------------------------- - -// GlobalStatistics - -// optional uint32 players_online = 1; -inline bool GlobalStatistics::_internal_has_players_online() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool GlobalStatistics::has_players_online() const { - return _internal_has_players_online(); -} -inline void GlobalStatistics::clear_players_online() { - _impl_.players_online_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t GlobalStatistics::_internal_players_online() const { - return _impl_.players_online_; -} -inline uint32_t GlobalStatistics::players_online() const { - // @@protoc_insertion_point(field_get:GlobalStatistics.players_online) - return _internal_players_online(); -} -inline void GlobalStatistics::_internal_set_players_online(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.players_online_ = value; -} -inline void GlobalStatistics::set_players_online(uint32_t value) { - _internal_set_players_online(value); - // @@protoc_insertion_point(field_set:GlobalStatistics.players_online) -} - -// optional uint32 servers_online = 2; -inline bool GlobalStatistics::_internal_has_servers_online() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool GlobalStatistics::has_servers_online() const { - return _internal_has_servers_online(); -} -inline void GlobalStatistics::clear_servers_online() { - _impl_.servers_online_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t GlobalStatistics::_internal_servers_online() const { - return _impl_.servers_online_; -} -inline uint32_t GlobalStatistics::servers_online() const { - // @@protoc_insertion_point(field_get:GlobalStatistics.servers_online) - return _internal_servers_online(); -} -inline void GlobalStatistics::_internal_set_servers_online(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.servers_online_ = value; -} -inline void GlobalStatistics::set_servers_online(uint32_t value) { - _internal_set_servers_online(value); - // @@protoc_insertion_point(field_set:GlobalStatistics.servers_online) -} - -// optional uint32 players_searching = 3; -inline bool GlobalStatistics::_internal_has_players_searching() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool GlobalStatistics::has_players_searching() const { - return _internal_has_players_searching(); -} -inline void GlobalStatistics::clear_players_searching() { - _impl_.players_searching_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t GlobalStatistics::_internal_players_searching() const { - return _impl_.players_searching_; -} -inline uint32_t GlobalStatistics::players_searching() const { - // @@protoc_insertion_point(field_get:GlobalStatistics.players_searching) - return _internal_players_searching(); -} -inline void GlobalStatistics::_internal_set_players_searching(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.players_searching_ = value; -} -inline void GlobalStatistics::set_players_searching(uint32_t value) { - _internal_set_players_searching(value); - // @@protoc_insertion_point(field_set:GlobalStatistics.players_searching) -} - -// optional uint32 servers_available = 4; -inline bool GlobalStatistics::_internal_has_servers_available() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool GlobalStatistics::has_servers_available() const { - return _internal_has_servers_available(); -} -inline void GlobalStatistics::clear_servers_available() { - _impl_.servers_available_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t GlobalStatistics::_internal_servers_available() const { - return _impl_.servers_available_; -} -inline uint32_t GlobalStatistics::servers_available() const { - // @@protoc_insertion_point(field_get:GlobalStatistics.servers_available) - return _internal_servers_available(); -} -inline void GlobalStatistics::_internal_set_servers_available(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.servers_available_ = value; -} -inline void GlobalStatistics::set_servers_available(uint32_t value) { - _internal_set_servers_available(value); - // @@protoc_insertion_point(field_set:GlobalStatistics.servers_available) -} - -// optional uint32 ongoing_matches = 5; -inline bool GlobalStatistics::_internal_has_ongoing_matches() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool GlobalStatistics::has_ongoing_matches() const { - return _internal_has_ongoing_matches(); -} -inline void GlobalStatistics::clear_ongoing_matches() { - _impl_.ongoing_matches_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t GlobalStatistics::_internal_ongoing_matches() const { - return _impl_.ongoing_matches_; -} -inline uint32_t GlobalStatistics::ongoing_matches() const { - // @@protoc_insertion_point(field_get:GlobalStatistics.ongoing_matches) - return _internal_ongoing_matches(); -} -inline void GlobalStatistics::_internal_set_ongoing_matches(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.ongoing_matches_ = value; -} -inline void GlobalStatistics::set_ongoing_matches(uint32_t value) { - _internal_set_ongoing_matches(value); - // @@protoc_insertion_point(field_set:GlobalStatistics.ongoing_matches) -} - -// optional uint32 search_time_avg = 6; -inline bool GlobalStatistics::_internal_has_search_time_avg() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool GlobalStatistics::has_search_time_avg() const { - return _internal_has_search_time_avg(); -} -inline void GlobalStatistics::clear_search_time_avg() { - _impl_.search_time_avg_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t GlobalStatistics::_internal_search_time_avg() const { - return _impl_.search_time_avg_; -} -inline uint32_t GlobalStatistics::search_time_avg() const { - // @@protoc_insertion_point(field_get:GlobalStatistics.search_time_avg) - return _internal_search_time_avg(); -} -inline void GlobalStatistics::_internal_set_search_time_avg(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.search_time_avg_ = value; -} -inline void GlobalStatistics::set_search_time_avg(uint32_t value) { - _internal_set_search_time_avg(value); - // @@protoc_insertion_point(field_set:GlobalStatistics.search_time_avg) -} - -// repeated .DetailedSearchStatistic search_statistics = 7; -inline int GlobalStatistics::_internal_search_statistics_size() const { - return _impl_.search_statistics_.size(); -} -inline int GlobalStatistics::search_statistics_size() const { - return _internal_search_statistics_size(); -} -inline void GlobalStatistics::clear_search_statistics() { - _impl_.search_statistics_.Clear(); -} -inline ::DetailedSearchStatistic* GlobalStatistics::mutable_search_statistics(int index) { - // @@protoc_insertion_point(field_mutable:GlobalStatistics.search_statistics) - return _impl_.search_statistics_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DetailedSearchStatistic >* -GlobalStatistics::mutable_search_statistics() { - // @@protoc_insertion_point(field_mutable_list:GlobalStatistics.search_statistics) - return &_impl_.search_statistics_; -} -inline const ::DetailedSearchStatistic& GlobalStatistics::_internal_search_statistics(int index) const { - return _impl_.search_statistics_.Get(index); -} -inline const ::DetailedSearchStatistic& GlobalStatistics::search_statistics(int index) const { - // @@protoc_insertion_point(field_get:GlobalStatistics.search_statistics) - return _internal_search_statistics(index); -} -inline ::DetailedSearchStatistic* GlobalStatistics::_internal_add_search_statistics() { - return _impl_.search_statistics_.Add(); -} -inline ::DetailedSearchStatistic* GlobalStatistics::add_search_statistics() { - ::DetailedSearchStatistic* _add = _internal_add_search_statistics(); - // @@protoc_insertion_point(field_add:GlobalStatistics.search_statistics) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DetailedSearchStatistic >& -GlobalStatistics::search_statistics() const { - // @@protoc_insertion_point(field_list:GlobalStatistics.search_statistics) - return _impl_.search_statistics_; -} - -// optional string main_post_url = 8; -inline bool GlobalStatistics::_internal_has_main_post_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool GlobalStatistics::has_main_post_url() const { - return _internal_has_main_post_url(); -} -inline void GlobalStatistics::clear_main_post_url() { - _impl_.main_post_url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& GlobalStatistics::main_post_url() const { - // @@protoc_insertion_point(field_get:GlobalStatistics.main_post_url) - return _internal_main_post_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void GlobalStatistics::set_main_post_url(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.main_post_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:GlobalStatistics.main_post_url) -} -inline std::string* GlobalStatistics::mutable_main_post_url() { - std::string* _s = _internal_mutable_main_post_url(); - // @@protoc_insertion_point(field_mutable:GlobalStatistics.main_post_url) - return _s; -} -inline const std::string& GlobalStatistics::_internal_main_post_url() const { - return _impl_.main_post_url_.Get(); -} -inline void GlobalStatistics::_internal_set_main_post_url(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.main_post_url_.Set(value, GetArenaForAllocation()); -} -inline std::string* GlobalStatistics::_internal_mutable_main_post_url() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.main_post_url_.Mutable(GetArenaForAllocation()); -} -inline std::string* GlobalStatistics::release_main_post_url() { - // @@protoc_insertion_point(field_release:GlobalStatistics.main_post_url) - if (!_internal_has_main_post_url()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.main_post_url_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.main_post_url_.IsDefault()) { - _impl_.main_post_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void GlobalStatistics::set_allocated_main_post_url(std::string* main_post_url) { - if (main_post_url != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.main_post_url_.SetAllocated(main_post_url, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.main_post_url_.IsDefault()) { - _impl_.main_post_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:GlobalStatistics.main_post_url) -} - -// optional uint32 required_appid_version = 9; -inline bool GlobalStatistics::_internal_has_required_appid_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool GlobalStatistics::has_required_appid_version() const { - return _internal_has_required_appid_version(); -} -inline void GlobalStatistics::clear_required_appid_version() { - _impl_.required_appid_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t GlobalStatistics::_internal_required_appid_version() const { - return _impl_.required_appid_version_; -} -inline uint32_t GlobalStatistics::required_appid_version() const { - // @@protoc_insertion_point(field_get:GlobalStatistics.required_appid_version) - return _internal_required_appid_version(); -} -inline void GlobalStatistics::_internal_set_required_appid_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.required_appid_version_ = value; -} -inline void GlobalStatistics::set_required_appid_version(uint32_t value) { - _internal_set_required_appid_version(value); - // @@protoc_insertion_point(field_set:GlobalStatistics.required_appid_version) -} - -// optional uint32 pricesheet_version = 10; -inline bool GlobalStatistics::_internal_has_pricesheet_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool GlobalStatistics::has_pricesheet_version() const { - return _internal_has_pricesheet_version(); -} -inline void GlobalStatistics::clear_pricesheet_version() { - _impl_.pricesheet_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t GlobalStatistics::_internal_pricesheet_version() const { - return _impl_.pricesheet_version_; -} -inline uint32_t GlobalStatistics::pricesheet_version() const { - // @@protoc_insertion_point(field_get:GlobalStatistics.pricesheet_version) - return _internal_pricesheet_version(); -} -inline void GlobalStatistics::_internal_set_pricesheet_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.pricesheet_version_ = value; -} -inline void GlobalStatistics::set_pricesheet_version(uint32_t value) { - _internal_set_pricesheet_version(value); - // @@protoc_insertion_point(field_set:GlobalStatistics.pricesheet_version) -} - -// optional uint32 twitch_streams_version = 11; -inline bool GlobalStatistics::_internal_has_twitch_streams_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool GlobalStatistics::has_twitch_streams_version() const { - return _internal_has_twitch_streams_version(); -} -inline void GlobalStatistics::clear_twitch_streams_version() { - _impl_.twitch_streams_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t GlobalStatistics::_internal_twitch_streams_version() const { - return _impl_.twitch_streams_version_; -} -inline uint32_t GlobalStatistics::twitch_streams_version() const { - // @@protoc_insertion_point(field_get:GlobalStatistics.twitch_streams_version) - return _internal_twitch_streams_version(); -} -inline void GlobalStatistics::_internal_set_twitch_streams_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.twitch_streams_version_ = value; -} -inline void GlobalStatistics::set_twitch_streams_version(uint32_t value) { - _internal_set_twitch_streams_version(value); - // @@protoc_insertion_point(field_set:GlobalStatistics.twitch_streams_version) -} - -// optional uint32 active_tournament_eventid = 12; -inline bool GlobalStatistics::_internal_has_active_tournament_eventid() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool GlobalStatistics::has_active_tournament_eventid() const { - return _internal_has_active_tournament_eventid(); -} -inline void GlobalStatistics::clear_active_tournament_eventid() { - _impl_.active_tournament_eventid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t GlobalStatistics::_internal_active_tournament_eventid() const { - return _impl_.active_tournament_eventid_; -} -inline uint32_t GlobalStatistics::active_tournament_eventid() const { - // @@protoc_insertion_point(field_get:GlobalStatistics.active_tournament_eventid) - return _internal_active_tournament_eventid(); -} -inline void GlobalStatistics::_internal_set_active_tournament_eventid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.active_tournament_eventid_ = value; -} -inline void GlobalStatistics::set_active_tournament_eventid(uint32_t value) { - _internal_set_active_tournament_eventid(value); - // @@protoc_insertion_point(field_set:GlobalStatistics.active_tournament_eventid) -} - -// optional uint32 active_survey_id = 13; -inline bool GlobalStatistics::_internal_has_active_survey_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool GlobalStatistics::has_active_survey_id() const { - return _internal_has_active_survey_id(); -} -inline void GlobalStatistics::clear_active_survey_id() { - _impl_.active_survey_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t GlobalStatistics::_internal_active_survey_id() const { - return _impl_.active_survey_id_; -} -inline uint32_t GlobalStatistics::active_survey_id() const { - // @@protoc_insertion_point(field_get:GlobalStatistics.active_survey_id) - return _internal_active_survey_id(); -} -inline void GlobalStatistics::_internal_set_active_survey_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.active_survey_id_ = value; -} -inline void GlobalStatistics::set_active_survey_id(uint32_t value) { - _internal_set_active_survey_id(value); - // @@protoc_insertion_point(field_set:GlobalStatistics.active_survey_id) -} - -// optional uint32 rtime32_cur = 14; -inline bool GlobalStatistics::_internal_has_rtime32_cur() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool GlobalStatistics::has_rtime32_cur() const { - return _internal_has_rtime32_cur(); -} -inline void GlobalStatistics::clear_rtime32_cur() { - _impl_.rtime32_cur_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t GlobalStatistics::_internal_rtime32_cur() const { - return _impl_.rtime32_cur_; -} -inline uint32_t GlobalStatistics::rtime32_cur() const { - // @@protoc_insertion_point(field_get:GlobalStatistics.rtime32_cur) - return _internal_rtime32_cur(); -} -inline void GlobalStatistics::_internal_set_rtime32_cur(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.rtime32_cur_ = value; -} -inline void GlobalStatistics::set_rtime32_cur(uint32_t value) { - _internal_set_rtime32_cur(value); - // @@protoc_insertion_point(field_set:GlobalStatistics.rtime32_cur) -} - -// optional uint32 required_appid_version2 = 16; -inline bool GlobalStatistics::_internal_has_required_appid_version2() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool GlobalStatistics::has_required_appid_version2() const { - return _internal_has_required_appid_version2(); -} -inline void GlobalStatistics::clear_required_appid_version2() { - _impl_.required_appid_version2_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t GlobalStatistics::_internal_required_appid_version2() const { - return _impl_.required_appid_version2_; -} -inline uint32_t GlobalStatistics::required_appid_version2() const { - // @@protoc_insertion_point(field_get:GlobalStatistics.required_appid_version2) - return _internal_required_appid_version2(); -} -inline void GlobalStatistics::_internal_set_required_appid_version2(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.required_appid_version2_ = value; -} -inline void GlobalStatistics::set_required_appid_version2(uint32_t value) { - _internal_set_required_appid_version2(value); - // @@protoc_insertion_point(field_set:GlobalStatistics.required_appid_version2) -} - -// ------------------------------------------------------------------- - -// OperationalStatisticDescription - -// optional string name = 1; -inline bool OperationalStatisticDescription::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool OperationalStatisticDescription::has_name() const { - return _internal_has_name(); -} -inline void OperationalStatisticDescription::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& OperationalStatisticDescription::name() const { - // @@protoc_insertion_point(field_get:OperationalStatisticDescription.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void OperationalStatisticDescription::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:OperationalStatisticDescription.name) -} -inline std::string* OperationalStatisticDescription::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:OperationalStatisticDescription.name) - return _s; -} -inline const std::string& OperationalStatisticDescription::_internal_name() const { - return _impl_.name_.Get(); -} -inline void OperationalStatisticDescription::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* OperationalStatisticDescription::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* OperationalStatisticDescription::release_name() { - // @@protoc_insertion_point(field_release:OperationalStatisticDescription.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void OperationalStatisticDescription::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:OperationalStatisticDescription.name) -} - -// optional uint32 idkey = 2; -inline bool OperationalStatisticDescription::_internal_has_idkey() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool OperationalStatisticDescription::has_idkey() const { - return _internal_has_idkey(); -} -inline void OperationalStatisticDescription::clear_idkey() { - _impl_.idkey_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t OperationalStatisticDescription::_internal_idkey() const { - return _impl_.idkey_; -} -inline uint32_t OperationalStatisticDescription::idkey() const { - // @@protoc_insertion_point(field_get:OperationalStatisticDescription.idkey) - return _internal_idkey(); -} -inline void OperationalStatisticDescription::_internal_set_idkey(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.idkey_ = value; -} -inline void OperationalStatisticDescription::set_idkey(uint32_t value) { - _internal_set_idkey(value); - // @@protoc_insertion_point(field_set:OperationalStatisticDescription.idkey) -} - -// ------------------------------------------------------------------- - -// OperationalStatisticElement - -// optional uint32 idkey = 1; -inline bool OperationalStatisticElement::_internal_has_idkey() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool OperationalStatisticElement::has_idkey() const { - return _internal_has_idkey(); -} -inline void OperationalStatisticElement::clear_idkey() { - _impl_.idkey_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t OperationalStatisticElement::_internal_idkey() const { - return _impl_.idkey_; -} -inline uint32_t OperationalStatisticElement::idkey() const { - // @@protoc_insertion_point(field_get:OperationalStatisticElement.idkey) - return _internal_idkey(); -} -inline void OperationalStatisticElement::_internal_set_idkey(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.idkey_ = value; -} -inline void OperationalStatisticElement::set_idkey(uint32_t value) { - _internal_set_idkey(value); - // @@protoc_insertion_point(field_set:OperationalStatisticElement.idkey) -} - -// repeated int32 values = 2; -inline int OperationalStatisticElement::_internal_values_size() const { - return _impl_.values_.size(); -} -inline int OperationalStatisticElement::values_size() const { - return _internal_values_size(); -} -inline void OperationalStatisticElement::clear_values() { - _impl_.values_.Clear(); -} -inline int32_t OperationalStatisticElement::_internal_values(int index) const { - return _impl_.values_.Get(index); -} -inline int32_t OperationalStatisticElement::values(int index) const { - // @@protoc_insertion_point(field_get:OperationalStatisticElement.values) - return _internal_values(index); -} -inline void OperationalStatisticElement::set_values(int index, int32_t value) { - _impl_.values_.Set(index, value); - // @@protoc_insertion_point(field_set:OperationalStatisticElement.values) -} -inline void OperationalStatisticElement::_internal_add_values(int32_t value) { - _impl_.values_.Add(value); -} -inline void OperationalStatisticElement::add_values(int32_t value) { - _internal_add_values(value); - // @@protoc_insertion_point(field_add:OperationalStatisticElement.values) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -OperationalStatisticElement::_internal_values() const { - return _impl_.values_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -OperationalStatisticElement::values() const { - // @@protoc_insertion_point(field_list:OperationalStatisticElement.values) - return _internal_values(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -OperationalStatisticElement::_internal_mutable_values() { - return &_impl_.values_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -OperationalStatisticElement::mutable_values() { - // @@protoc_insertion_point(field_mutable_list:OperationalStatisticElement.values) - return _internal_mutable_values(); -} - -// ------------------------------------------------------------------- - -// OperationalStatisticsPacket - -// optional int32 packetid = 1; -inline bool OperationalStatisticsPacket::_internal_has_packetid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool OperationalStatisticsPacket::has_packetid() const { - return _internal_has_packetid(); -} -inline void OperationalStatisticsPacket::clear_packetid() { - _impl_.packetid_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t OperationalStatisticsPacket::_internal_packetid() const { - return _impl_.packetid_; -} -inline int32_t OperationalStatisticsPacket::packetid() const { - // @@protoc_insertion_point(field_get:OperationalStatisticsPacket.packetid) - return _internal_packetid(); -} -inline void OperationalStatisticsPacket::_internal_set_packetid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.packetid_ = value; -} -inline void OperationalStatisticsPacket::set_packetid(int32_t value) { - _internal_set_packetid(value); - // @@protoc_insertion_point(field_set:OperationalStatisticsPacket.packetid) -} - -// optional int32 mstimestamp = 2; -inline bool OperationalStatisticsPacket::_internal_has_mstimestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool OperationalStatisticsPacket::has_mstimestamp() const { - return _internal_has_mstimestamp(); -} -inline void OperationalStatisticsPacket::clear_mstimestamp() { - _impl_.mstimestamp_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t OperationalStatisticsPacket::_internal_mstimestamp() const { - return _impl_.mstimestamp_; -} -inline int32_t OperationalStatisticsPacket::mstimestamp() const { - // @@protoc_insertion_point(field_get:OperationalStatisticsPacket.mstimestamp) - return _internal_mstimestamp(); -} -inline void OperationalStatisticsPacket::_internal_set_mstimestamp(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.mstimestamp_ = value; -} -inline void OperationalStatisticsPacket::set_mstimestamp(int32_t value) { - _internal_set_mstimestamp(value); - // @@protoc_insertion_point(field_set:OperationalStatisticsPacket.mstimestamp) -} - -// repeated .OperationalStatisticElement values = 3; -inline int OperationalStatisticsPacket::_internal_values_size() const { - return _impl_.values_.size(); -} -inline int OperationalStatisticsPacket::values_size() const { - return _internal_values_size(); -} -inline void OperationalStatisticsPacket::clear_values() { - _impl_.values_.Clear(); -} -inline ::OperationalStatisticElement* OperationalStatisticsPacket::mutable_values(int index) { - // @@protoc_insertion_point(field_mutable:OperationalStatisticsPacket.values) - return _impl_.values_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalStatisticElement >* -OperationalStatisticsPacket::mutable_values() { - // @@protoc_insertion_point(field_mutable_list:OperationalStatisticsPacket.values) - return &_impl_.values_; -} -inline const ::OperationalStatisticElement& OperationalStatisticsPacket::_internal_values(int index) const { - return _impl_.values_.Get(index); -} -inline const ::OperationalStatisticElement& OperationalStatisticsPacket::values(int index) const { - // @@protoc_insertion_point(field_get:OperationalStatisticsPacket.values) - return _internal_values(index); -} -inline ::OperationalStatisticElement* OperationalStatisticsPacket::_internal_add_values() { - return _impl_.values_.Add(); -} -inline ::OperationalStatisticElement* OperationalStatisticsPacket::add_values() { - ::OperationalStatisticElement* _add = _internal_add_values(); - // @@protoc_insertion_point(field_add:OperationalStatisticsPacket.values) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalStatisticElement >& -OperationalStatisticsPacket::values() const { - // @@protoc_insertion_point(field_list:OperationalStatisticsPacket.values) - return _impl_.values_; -} - -// ------------------------------------------------------------------- - -// OperationalVarValue - -// optional string name = 1; -inline bool OperationalVarValue::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool OperationalVarValue::has_name() const { - return _internal_has_name(); -} -inline void OperationalVarValue::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& OperationalVarValue::name() const { - // @@protoc_insertion_point(field_get:OperationalVarValue.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void OperationalVarValue::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:OperationalVarValue.name) -} -inline std::string* OperationalVarValue::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:OperationalVarValue.name) - return _s; -} -inline const std::string& OperationalVarValue::_internal_name() const { - return _impl_.name_.Get(); -} -inline void OperationalVarValue::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* OperationalVarValue::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* OperationalVarValue::release_name() { - // @@protoc_insertion_point(field_release:OperationalVarValue.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void OperationalVarValue::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:OperationalVarValue.name) -} - -// optional int32 ivalue = 2; -inline bool OperationalVarValue::_internal_has_ivalue() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool OperationalVarValue::has_ivalue() const { - return _internal_has_ivalue(); -} -inline void OperationalVarValue::clear_ivalue() { - _impl_.ivalue_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t OperationalVarValue::_internal_ivalue() const { - return _impl_.ivalue_; -} -inline int32_t OperationalVarValue::ivalue() const { - // @@protoc_insertion_point(field_get:OperationalVarValue.ivalue) - return _internal_ivalue(); -} -inline void OperationalVarValue::_internal_set_ivalue(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.ivalue_ = value; -} -inline void OperationalVarValue::set_ivalue(int32_t value) { - _internal_set_ivalue(value); - // @@protoc_insertion_point(field_set:OperationalVarValue.ivalue) -} - -// optional float fvalue = 3; -inline bool OperationalVarValue::_internal_has_fvalue() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool OperationalVarValue::has_fvalue() const { - return _internal_has_fvalue(); -} -inline void OperationalVarValue::clear_fvalue() { - _impl_.fvalue_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float OperationalVarValue::_internal_fvalue() const { - return _impl_.fvalue_; -} -inline float OperationalVarValue::fvalue() const { - // @@protoc_insertion_point(field_get:OperationalVarValue.fvalue) - return _internal_fvalue(); -} -inline void OperationalVarValue::_internal_set_fvalue(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.fvalue_ = value; -} -inline void OperationalVarValue::set_fvalue(float value) { - _internal_set_fvalue(value); - // @@protoc_insertion_point(field_set:OperationalVarValue.fvalue) -} - -// optional bytes svalue = 4; -inline bool OperationalVarValue::_internal_has_svalue() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool OperationalVarValue::has_svalue() const { - return _internal_has_svalue(); -} -inline void OperationalVarValue::clear_svalue() { - _impl_.svalue_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& OperationalVarValue::svalue() const { - // @@protoc_insertion_point(field_get:OperationalVarValue.svalue) - return _internal_svalue(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void OperationalVarValue::set_svalue(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.svalue_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:OperationalVarValue.svalue) -} -inline std::string* OperationalVarValue::mutable_svalue() { - std::string* _s = _internal_mutable_svalue(); - // @@protoc_insertion_point(field_mutable:OperationalVarValue.svalue) - return _s; -} -inline const std::string& OperationalVarValue::_internal_svalue() const { - return _impl_.svalue_.Get(); -} -inline void OperationalVarValue::_internal_set_svalue(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.svalue_.Set(value, GetArenaForAllocation()); -} -inline std::string* OperationalVarValue::_internal_mutable_svalue() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.svalue_.Mutable(GetArenaForAllocation()); -} -inline std::string* OperationalVarValue::release_svalue() { - // @@protoc_insertion_point(field_release:OperationalVarValue.svalue) - if (!_internal_has_svalue()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.svalue_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.svalue_.IsDefault()) { - _impl_.svalue_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void OperationalVarValue::set_allocated_svalue(std::string* svalue) { - if (svalue != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.svalue_.SetAllocated(svalue, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.svalue_.IsDefault()) { - _impl_.svalue_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:OperationalVarValue.svalue) -} - -// ------------------------------------------------------------------- - -// PlayerRankingInfo_PerMapRank - -// optional uint32 map_id = 1; -inline bool PlayerRankingInfo_PerMapRank::_internal_has_map_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool PlayerRankingInfo_PerMapRank::has_map_id() const { - return _internal_has_map_id(); -} -inline void PlayerRankingInfo_PerMapRank::clear_map_id() { - _impl_.map_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t PlayerRankingInfo_PerMapRank::_internal_map_id() const { - return _impl_.map_id_; -} -inline uint32_t PlayerRankingInfo_PerMapRank::map_id() const { - // @@protoc_insertion_point(field_get:PlayerRankingInfo.PerMapRank.map_id) - return _internal_map_id(); -} -inline void PlayerRankingInfo_PerMapRank::_internal_set_map_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.map_id_ = value; -} -inline void PlayerRankingInfo_PerMapRank::set_map_id(uint32_t value) { - _internal_set_map_id(value); - // @@protoc_insertion_point(field_set:PlayerRankingInfo.PerMapRank.map_id) -} - -// optional uint32 rank_id = 2; -inline bool PlayerRankingInfo_PerMapRank::_internal_has_rank_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool PlayerRankingInfo_PerMapRank::has_rank_id() const { - return _internal_has_rank_id(); -} -inline void PlayerRankingInfo_PerMapRank::clear_rank_id() { - _impl_.rank_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t PlayerRankingInfo_PerMapRank::_internal_rank_id() const { - return _impl_.rank_id_; -} -inline uint32_t PlayerRankingInfo_PerMapRank::rank_id() const { - // @@protoc_insertion_point(field_get:PlayerRankingInfo.PerMapRank.rank_id) - return _internal_rank_id(); -} -inline void PlayerRankingInfo_PerMapRank::_internal_set_rank_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.rank_id_ = value; -} -inline void PlayerRankingInfo_PerMapRank::set_rank_id(uint32_t value) { - _internal_set_rank_id(value); - // @@protoc_insertion_point(field_set:PlayerRankingInfo.PerMapRank.rank_id) -} - -// optional uint32 wins = 3; -inline bool PlayerRankingInfo_PerMapRank::_internal_has_wins() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool PlayerRankingInfo_PerMapRank::has_wins() const { - return _internal_has_wins(); -} -inline void PlayerRankingInfo_PerMapRank::clear_wins() { - _impl_.wins_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t PlayerRankingInfo_PerMapRank::_internal_wins() const { - return _impl_.wins_; -} -inline uint32_t PlayerRankingInfo_PerMapRank::wins() const { - // @@protoc_insertion_point(field_get:PlayerRankingInfo.PerMapRank.wins) - return _internal_wins(); -} -inline void PlayerRankingInfo_PerMapRank::_internal_set_wins(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.wins_ = value; -} -inline void PlayerRankingInfo_PerMapRank::set_wins(uint32_t value) { - _internal_set_wins(value); - // @@protoc_insertion_point(field_set:PlayerRankingInfo.PerMapRank.wins) -} - -// ------------------------------------------------------------------- - -// PlayerRankingInfo - -// optional uint32 account_id = 1; -inline bool PlayerRankingInfo::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool PlayerRankingInfo::has_account_id() const { - return _internal_has_account_id(); -} -inline void PlayerRankingInfo::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t PlayerRankingInfo::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t PlayerRankingInfo::account_id() const { - // @@protoc_insertion_point(field_get:PlayerRankingInfo.account_id) - return _internal_account_id(); -} -inline void PlayerRankingInfo::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.account_id_ = value; -} -inline void PlayerRankingInfo::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:PlayerRankingInfo.account_id) -} - -// optional uint32 rank_id = 2; -inline bool PlayerRankingInfo::_internal_has_rank_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool PlayerRankingInfo::has_rank_id() const { - return _internal_has_rank_id(); -} -inline void PlayerRankingInfo::clear_rank_id() { - _impl_.rank_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t PlayerRankingInfo::_internal_rank_id() const { - return _impl_.rank_id_; -} -inline uint32_t PlayerRankingInfo::rank_id() const { - // @@protoc_insertion_point(field_get:PlayerRankingInfo.rank_id) - return _internal_rank_id(); -} -inline void PlayerRankingInfo::_internal_set_rank_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.rank_id_ = value; -} -inline void PlayerRankingInfo::set_rank_id(uint32_t value) { - _internal_set_rank_id(value); - // @@protoc_insertion_point(field_set:PlayerRankingInfo.rank_id) -} - -// optional uint32 wins = 3; -inline bool PlayerRankingInfo::_internal_has_wins() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool PlayerRankingInfo::has_wins() const { - return _internal_has_wins(); -} -inline void PlayerRankingInfo::clear_wins() { - _impl_.wins_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t PlayerRankingInfo::_internal_wins() const { - return _impl_.wins_; -} -inline uint32_t PlayerRankingInfo::wins() const { - // @@protoc_insertion_point(field_get:PlayerRankingInfo.wins) - return _internal_wins(); -} -inline void PlayerRankingInfo::_internal_set_wins(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.wins_ = value; -} -inline void PlayerRankingInfo::set_wins(uint32_t value) { - _internal_set_wins(value); - // @@protoc_insertion_point(field_set:PlayerRankingInfo.wins) -} - -// optional float rank_change = 4; -inline bool PlayerRankingInfo::_internal_has_rank_change() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool PlayerRankingInfo::has_rank_change() const { - return _internal_has_rank_change(); -} -inline void PlayerRankingInfo::clear_rank_change() { - _impl_.rank_change_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float PlayerRankingInfo::_internal_rank_change() const { - return _impl_.rank_change_; -} -inline float PlayerRankingInfo::rank_change() const { - // @@protoc_insertion_point(field_get:PlayerRankingInfo.rank_change) - return _internal_rank_change(); -} -inline void PlayerRankingInfo::_internal_set_rank_change(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.rank_change_ = value; -} -inline void PlayerRankingInfo::set_rank_change(float value) { - _internal_set_rank_change(value); - // @@protoc_insertion_point(field_set:PlayerRankingInfo.rank_change) -} - -// optional uint32 rank_type_id = 6; -inline bool PlayerRankingInfo::_internal_has_rank_type_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool PlayerRankingInfo::has_rank_type_id() const { - return _internal_has_rank_type_id(); -} -inline void PlayerRankingInfo::clear_rank_type_id() { - _impl_.rank_type_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t PlayerRankingInfo::_internal_rank_type_id() const { - return _impl_.rank_type_id_; -} -inline uint32_t PlayerRankingInfo::rank_type_id() const { - // @@protoc_insertion_point(field_get:PlayerRankingInfo.rank_type_id) - return _internal_rank_type_id(); -} -inline void PlayerRankingInfo::_internal_set_rank_type_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.rank_type_id_ = value; -} -inline void PlayerRankingInfo::set_rank_type_id(uint32_t value) { - _internal_set_rank_type_id(value); - // @@protoc_insertion_point(field_set:PlayerRankingInfo.rank_type_id) -} - -// optional uint32 tv_control = 7; -inline bool PlayerRankingInfo::_internal_has_tv_control() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool PlayerRankingInfo::has_tv_control() const { - return _internal_has_tv_control(); -} -inline void PlayerRankingInfo::clear_tv_control() { - _impl_.tv_control_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t PlayerRankingInfo::_internal_tv_control() const { - return _impl_.tv_control_; -} -inline uint32_t PlayerRankingInfo::tv_control() const { - // @@protoc_insertion_point(field_get:PlayerRankingInfo.tv_control) - return _internal_tv_control(); -} -inline void PlayerRankingInfo::_internal_set_tv_control(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.tv_control_ = value; -} -inline void PlayerRankingInfo::set_tv_control(uint32_t value) { - _internal_set_tv_control(value); - // @@protoc_insertion_point(field_set:PlayerRankingInfo.tv_control) -} - -// optional uint64 rank_window_stats = 8; -inline bool PlayerRankingInfo::_internal_has_rank_window_stats() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool PlayerRankingInfo::has_rank_window_stats() const { - return _internal_has_rank_window_stats(); -} -inline void PlayerRankingInfo::clear_rank_window_stats() { - _impl_.rank_window_stats_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint64_t PlayerRankingInfo::_internal_rank_window_stats() const { - return _impl_.rank_window_stats_; -} -inline uint64_t PlayerRankingInfo::rank_window_stats() const { - // @@protoc_insertion_point(field_get:PlayerRankingInfo.rank_window_stats) - return _internal_rank_window_stats(); -} -inline void PlayerRankingInfo::_internal_set_rank_window_stats(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.rank_window_stats_ = value; -} -inline void PlayerRankingInfo::set_rank_window_stats(uint64_t value) { - _internal_set_rank_window_stats(value); - // @@protoc_insertion_point(field_set:PlayerRankingInfo.rank_window_stats) -} - -// optional string leaderboard_name = 9; -inline bool PlayerRankingInfo::_internal_has_leaderboard_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool PlayerRankingInfo::has_leaderboard_name() const { - return _internal_has_leaderboard_name(); -} -inline void PlayerRankingInfo::clear_leaderboard_name() { - _impl_.leaderboard_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& PlayerRankingInfo::leaderboard_name() const { - // @@protoc_insertion_point(field_get:PlayerRankingInfo.leaderboard_name) - return _internal_leaderboard_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PlayerRankingInfo::set_leaderboard_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.leaderboard_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PlayerRankingInfo.leaderboard_name) -} -inline std::string* PlayerRankingInfo::mutable_leaderboard_name() { - std::string* _s = _internal_mutable_leaderboard_name(); - // @@protoc_insertion_point(field_mutable:PlayerRankingInfo.leaderboard_name) - return _s; -} -inline const std::string& PlayerRankingInfo::_internal_leaderboard_name() const { - return _impl_.leaderboard_name_.Get(); -} -inline void PlayerRankingInfo::_internal_set_leaderboard_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.leaderboard_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* PlayerRankingInfo::_internal_mutable_leaderboard_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.leaderboard_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* PlayerRankingInfo::release_leaderboard_name() { - // @@protoc_insertion_point(field_release:PlayerRankingInfo.leaderboard_name) - if (!_internal_has_leaderboard_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.leaderboard_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.leaderboard_name_.IsDefault()) { - _impl_.leaderboard_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PlayerRankingInfo::set_allocated_leaderboard_name(std::string* leaderboard_name) { - if (leaderboard_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.leaderboard_name_.SetAllocated(leaderboard_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.leaderboard_name_.IsDefault()) { - _impl_.leaderboard_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PlayerRankingInfo.leaderboard_name) -} - -// optional uint32 rank_if_win = 10; -inline bool PlayerRankingInfo::_internal_has_rank_if_win() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool PlayerRankingInfo::has_rank_if_win() const { - return _internal_has_rank_if_win(); -} -inline void PlayerRankingInfo::clear_rank_if_win() { - _impl_.rank_if_win_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t PlayerRankingInfo::_internal_rank_if_win() const { - return _impl_.rank_if_win_; -} -inline uint32_t PlayerRankingInfo::rank_if_win() const { - // @@protoc_insertion_point(field_get:PlayerRankingInfo.rank_if_win) - return _internal_rank_if_win(); -} -inline void PlayerRankingInfo::_internal_set_rank_if_win(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.rank_if_win_ = value; -} -inline void PlayerRankingInfo::set_rank_if_win(uint32_t value) { - _internal_set_rank_if_win(value); - // @@protoc_insertion_point(field_set:PlayerRankingInfo.rank_if_win) -} - -// optional uint32 rank_if_lose = 11; -inline bool PlayerRankingInfo::_internal_has_rank_if_lose() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool PlayerRankingInfo::has_rank_if_lose() const { - return _internal_has_rank_if_lose(); -} -inline void PlayerRankingInfo::clear_rank_if_lose() { - _impl_.rank_if_lose_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t PlayerRankingInfo::_internal_rank_if_lose() const { - return _impl_.rank_if_lose_; -} -inline uint32_t PlayerRankingInfo::rank_if_lose() const { - // @@protoc_insertion_point(field_get:PlayerRankingInfo.rank_if_lose) - return _internal_rank_if_lose(); -} -inline void PlayerRankingInfo::_internal_set_rank_if_lose(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.rank_if_lose_ = value; -} -inline void PlayerRankingInfo::set_rank_if_lose(uint32_t value) { - _internal_set_rank_if_lose(value); - // @@protoc_insertion_point(field_set:PlayerRankingInfo.rank_if_lose) -} - -// optional uint32 rank_if_tie = 12; -inline bool PlayerRankingInfo::_internal_has_rank_if_tie() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool PlayerRankingInfo::has_rank_if_tie() const { - return _internal_has_rank_if_tie(); -} -inline void PlayerRankingInfo::clear_rank_if_tie() { - _impl_.rank_if_tie_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t PlayerRankingInfo::_internal_rank_if_tie() const { - return _impl_.rank_if_tie_; -} -inline uint32_t PlayerRankingInfo::rank_if_tie() const { - // @@protoc_insertion_point(field_get:PlayerRankingInfo.rank_if_tie) - return _internal_rank_if_tie(); -} -inline void PlayerRankingInfo::_internal_set_rank_if_tie(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.rank_if_tie_ = value; -} -inline void PlayerRankingInfo::set_rank_if_tie(uint32_t value) { - _internal_set_rank_if_tie(value); - // @@protoc_insertion_point(field_set:PlayerRankingInfo.rank_if_tie) -} - -// repeated .PlayerRankingInfo.PerMapRank per_map_rank = 13; -inline int PlayerRankingInfo::_internal_per_map_rank_size() const { - return _impl_.per_map_rank_.size(); -} -inline int PlayerRankingInfo::per_map_rank_size() const { - return _internal_per_map_rank_size(); -} -inline void PlayerRankingInfo::clear_per_map_rank() { - _impl_.per_map_rank_.Clear(); -} -inline ::PlayerRankingInfo_PerMapRank* PlayerRankingInfo::mutable_per_map_rank(int index) { - // @@protoc_insertion_point(field_mutable:PlayerRankingInfo.per_map_rank) - return _impl_.per_map_rank_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo_PerMapRank >* -PlayerRankingInfo::mutable_per_map_rank() { - // @@protoc_insertion_point(field_mutable_list:PlayerRankingInfo.per_map_rank) - return &_impl_.per_map_rank_; -} -inline const ::PlayerRankingInfo_PerMapRank& PlayerRankingInfo::_internal_per_map_rank(int index) const { - return _impl_.per_map_rank_.Get(index); -} -inline const ::PlayerRankingInfo_PerMapRank& PlayerRankingInfo::per_map_rank(int index) const { - // @@protoc_insertion_point(field_get:PlayerRankingInfo.per_map_rank) - return _internal_per_map_rank(index); -} -inline ::PlayerRankingInfo_PerMapRank* PlayerRankingInfo::_internal_add_per_map_rank() { - return _impl_.per_map_rank_.Add(); -} -inline ::PlayerRankingInfo_PerMapRank* PlayerRankingInfo::add_per_map_rank() { - ::PlayerRankingInfo_PerMapRank* _add = _internal_add_per_map_rank(); - // @@protoc_insertion_point(field_add:PlayerRankingInfo.per_map_rank) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo_PerMapRank >& -PlayerRankingInfo::per_map_rank() const { - // @@protoc_insertion_point(field_list:PlayerRankingInfo.per_map_rank) - return _impl_.per_map_rank_; -} - -// optional uint32 leaderboard_name_status = 14; -inline bool PlayerRankingInfo::_internal_has_leaderboard_name_status() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool PlayerRankingInfo::has_leaderboard_name_status() const { - return _internal_has_leaderboard_name_status(); -} -inline void PlayerRankingInfo::clear_leaderboard_name_status() { - _impl_.leaderboard_name_status_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t PlayerRankingInfo::_internal_leaderboard_name_status() const { - return _impl_.leaderboard_name_status_; -} -inline uint32_t PlayerRankingInfo::leaderboard_name_status() const { - // @@protoc_insertion_point(field_get:PlayerRankingInfo.leaderboard_name_status) - return _internal_leaderboard_name_status(); -} -inline void PlayerRankingInfo::_internal_set_leaderboard_name_status(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.leaderboard_name_status_ = value; -} -inline void PlayerRankingInfo::set_leaderboard_name_status(uint32_t value) { - _internal_set_leaderboard_name_status(value); - // @@protoc_insertion_point(field_set:PlayerRankingInfo.leaderboard_name_status) -} - -// optional uint32 highest_rank = 15; -inline bool PlayerRankingInfo::_internal_has_highest_rank() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool PlayerRankingInfo::has_highest_rank() const { - return _internal_has_highest_rank(); -} -inline void PlayerRankingInfo::clear_highest_rank() { - _impl_.highest_rank_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t PlayerRankingInfo::_internal_highest_rank() const { - return _impl_.highest_rank_; -} -inline uint32_t PlayerRankingInfo::highest_rank() const { - // @@protoc_insertion_point(field_get:PlayerRankingInfo.highest_rank) - return _internal_highest_rank(); -} -inline void PlayerRankingInfo::_internal_set_highest_rank(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.highest_rank_ = value; -} -inline void PlayerRankingInfo::set_highest_rank(uint32_t value) { - _internal_set_highest_rank(value); - // @@protoc_insertion_point(field_set:PlayerRankingInfo.highest_rank) -} - -// optional uint32 rank_expiry = 16; -inline bool PlayerRankingInfo::_internal_has_rank_expiry() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool PlayerRankingInfo::has_rank_expiry() const { - return _internal_has_rank_expiry(); -} -inline void PlayerRankingInfo::clear_rank_expiry() { - _impl_.rank_expiry_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t PlayerRankingInfo::_internal_rank_expiry() const { - return _impl_.rank_expiry_; -} -inline uint32_t PlayerRankingInfo::rank_expiry() const { - // @@protoc_insertion_point(field_get:PlayerRankingInfo.rank_expiry) - return _internal_rank_expiry(); -} -inline void PlayerRankingInfo::_internal_set_rank_expiry(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.rank_expiry_ = value; -} -inline void PlayerRankingInfo::set_rank_expiry(uint32_t value) { - _internal_set_rank_expiry(value); - // @@protoc_insertion_point(field_set:PlayerRankingInfo.rank_expiry) -} - -// ------------------------------------------------------------------- - -// PlayerCommendationInfo - -// optional uint32 cmd_friendly = 1; -inline bool PlayerCommendationInfo::_internal_has_cmd_friendly() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool PlayerCommendationInfo::has_cmd_friendly() const { - return _internal_has_cmd_friendly(); -} -inline void PlayerCommendationInfo::clear_cmd_friendly() { - _impl_.cmd_friendly_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t PlayerCommendationInfo::_internal_cmd_friendly() const { - return _impl_.cmd_friendly_; -} -inline uint32_t PlayerCommendationInfo::cmd_friendly() const { - // @@protoc_insertion_point(field_get:PlayerCommendationInfo.cmd_friendly) - return _internal_cmd_friendly(); -} -inline void PlayerCommendationInfo::_internal_set_cmd_friendly(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.cmd_friendly_ = value; -} -inline void PlayerCommendationInfo::set_cmd_friendly(uint32_t value) { - _internal_set_cmd_friendly(value); - // @@protoc_insertion_point(field_set:PlayerCommendationInfo.cmd_friendly) -} - -// optional uint32 cmd_teaching = 2; -inline bool PlayerCommendationInfo::_internal_has_cmd_teaching() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool PlayerCommendationInfo::has_cmd_teaching() const { - return _internal_has_cmd_teaching(); -} -inline void PlayerCommendationInfo::clear_cmd_teaching() { - _impl_.cmd_teaching_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t PlayerCommendationInfo::_internal_cmd_teaching() const { - return _impl_.cmd_teaching_; -} -inline uint32_t PlayerCommendationInfo::cmd_teaching() const { - // @@protoc_insertion_point(field_get:PlayerCommendationInfo.cmd_teaching) - return _internal_cmd_teaching(); -} -inline void PlayerCommendationInfo::_internal_set_cmd_teaching(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.cmd_teaching_ = value; -} -inline void PlayerCommendationInfo::set_cmd_teaching(uint32_t value) { - _internal_set_cmd_teaching(value); - // @@protoc_insertion_point(field_set:PlayerCommendationInfo.cmd_teaching) -} - -// optional uint32 cmd_leader = 4; -inline bool PlayerCommendationInfo::_internal_has_cmd_leader() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool PlayerCommendationInfo::has_cmd_leader() const { - return _internal_has_cmd_leader(); -} -inline void PlayerCommendationInfo::clear_cmd_leader() { - _impl_.cmd_leader_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t PlayerCommendationInfo::_internal_cmd_leader() const { - return _impl_.cmd_leader_; -} -inline uint32_t PlayerCommendationInfo::cmd_leader() const { - // @@protoc_insertion_point(field_get:PlayerCommendationInfo.cmd_leader) - return _internal_cmd_leader(); -} -inline void PlayerCommendationInfo::_internal_set_cmd_leader(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.cmd_leader_ = value; -} -inline void PlayerCommendationInfo::set_cmd_leader(uint32_t value) { - _internal_set_cmd_leader(value); - // @@protoc_insertion_point(field_set:PlayerCommendationInfo.cmd_leader) -} - -// ------------------------------------------------------------------- - -// PlayerMedalsInfo - -// repeated uint32 display_items_defidx = 7; -inline int PlayerMedalsInfo::_internal_display_items_defidx_size() const { - return _impl_.display_items_defidx_.size(); -} -inline int PlayerMedalsInfo::display_items_defidx_size() const { - return _internal_display_items_defidx_size(); -} -inline void PlayerMedalsInfo::clear_display_items_defidx() { - _impl_.display_items_defidx_.Clear(); -} -inline uint32_t PlayerMedalsInfo::_internal_display_items_defidx(int index) const { - return _impl_.display_items_defidx_.Get(index); -} -inline uint32_t PlayerMedalsInfo::display_items_defidx(int index) const { - // @@protoc_insertion_point(field_get:PlayerMedalsInfo.display_items_defidx) - return _internal_display_items_defidx(index); -} -inline void PlayerMedalsInfo::set_display_items_defidx(int index, uint32_t value) { - _impl_.display_items_defidx_.Set(index, value); - // @@protoc_insertion_point(field_set:PlayerMedalsInfo.display_items_defidx) -} -inline void PlayerMedalsInfo::_internal_add_display_items_defidx(uint32_t value) { - _impl_.display_items_defidx_.Add(value); -} -inline void PlayerMedalsInfo::add_display_items_defidx(uint32_t value) { - _internal_add_display_items_defidx(value); - // @@protoc_insertion_point(field_add:PlayerMedalsInfo.display_items_defidx) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -PlayerMedalsInfo::_internal_display_items_defidx() const { - return _impl_.display_items_defidx_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -PlayerMedalsInfo::display_items_defidx() const { - // @@protoc_insertion_point(field_list:PlayerMedalsInfo.display_items_defidx) - return _internal_display_items_defidx(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -PlayerMedalsInfo::_internal_mutable_display_items_defidx() { - return &_impl_.display_items_defidx_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -PlayerMedalsInfo::mutable_display_items_defidx() { - // @@protoc_insertion_point(field_mutable_list:PlayerMedalsInfo.display_items_defidx) - return _internal_mutable_display_items_defidx(); -} - -// optional uint32 featured_display_item_defidx = 8; -inline bool PlayerMedalsInfo::_internal_has_featured_display_item_defidx() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool PlayerMedalsInfo::has_featured_display_item_defidx() const { - return _internal_has_featured_display_item_defidx(); -} -inline void PlayerMedalsInfo::clear_featured_display_item_defidx() { - _impl_.featured_display_item_defidx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t PlayerMedalsInfo::_internal_featured_display_item_defidx() const { - return _impl_.featured_display_item_defidx_; -} -inline uint32_t PlayerMedalsInfo::featured_display_item_defidx() const { - // @@protoc_insertion_point(field_get:PlayerMedalsInfo.featured_display_item_defidx) - return _internal_featured_display_item_defidx(); -} -inline void PlayerMedalsInfo::_internal_set_featured_display_item_defidx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.featured_display_item_defidx_ = value; -} -inline void PlayerMedalsInfo::set_featured_display_item_defidx(uint32_t value) { - _internal_set_featured_display_item_defidx(value); - // @@protoc_insertion_point(field_set:PlayerMedalsInfo.featured_display_item_defidx) -} - -// ------------------------------------------------------------------- - -// AccountActivity - -// optional uint32 activity = 1; -inline bool AccountActivity::_internal_has_activity() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool AccountActivity::has_activity() const { - return _internal_has_activity(); -} -inline void AccountActivity::clear_activity() { - _impl_.activity_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t AccountActivity::_internal_activity() const { - return _impl_.activity_; -} -inline uint32_t AccountActivity::activity() const { - // @@protoc_insertion_point(field_get:AccountActivity.activity) - return _internal_activity(); -} -inline void AccountActivity::_internal_set_activity(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.activity_ = value; -} -inline void AccountActivity::set_activity(uint32_t value) { - _internal_set_activity(value); - // @@protoc_insertion_point(field_set:AccountActivity.activity) -} - -// optional uint32 mode = 2; -inline bool AccountActivity::_internal_has_mode() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool AccountActivity::has_mode() const { - return _internal_has_mode(); -} -inline void AccountActivity::clear_mode() { - _impl_.mode_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t AccountActivity::_internal_mode() const { - return _impl_.mode_; -} -inline uint32_t AccountActivity::mode() const { - // @@protoc_insertion_point(field_get:AccountActivity.mode) - return _internal_mode(); -} -inline void AccountActivity::_internal_set_mode(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.mode_ = value; -} -inline void AccountActivity::set_mode(uint32_t value) { - _internal_set_mode(value); - // @@protoc_insertion_point(field_set:AccountActivity.mode) -} - -// optional uint32 map = 3; -inline bool AccountActivity::_internal_has_map() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool AccountActivity::has_map() const { - return _internal_has_map(); -} -inline void AccountActivity::clear_map() { - _impl_.map_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t AccountActivity::_internal_map() const { - return _impl_.map_; -} -inline uint32_t AccountActivity::map() const { - // @@protoc_insertion_point(field_get:AccountActivity.map) - return _internal_map(); -} -inline void AccountActivity::_internal_set_map(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.map_ = value; -} -inline void AccountActivity::set_map(uint32_t value) { - _internal_set_map(value); - // @@protoc_insertion_point(field_set:AccountActivity.map) -} - -// optional uint64 matchid = 4; -inline bool AccountActivity::_internal_has_matchid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool AccountActivity::has_matchid() const { - return _internal_has_matchid(); -} -inline void AccountActivity::clear_matchid() { - _impl_.matchid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t AccountActivity::_internal_matchid() const { - return _impl_.matchid_; -} -inline uint64_t AccountActivity::matchid() const { - // @@protoc_insertion_point(field_get:AccountActivity.matchid) - return _internal_matchid(); -} -inline void AccountActivity::_internal_set_matchid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.matchid_ = value; -} -inline void AccountActivity::set_matchid(uint64_t value) { - _internal_set_matchid(value); - // @@protoc_insertion_point(field_set:AccountActivity.matchid) -} - -// ------------------------------------------------------------------- - -// TournamentMatchSetup - -// optional int32 event_id = 1; -inline bool TournamentMatchSetup::_internal_has_event_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool TournamentMatchSetup::has_event_id() const { - return _internal_has_event_id(); -} -inline void TournamentMatchSetup::clear_event_id() { - _impl_.event_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t TournamentMatchSetup::_internal_event_id() const { - return _impl_.event_id_; -} -inline int32_t TournamentMatchSetup::event_id() const { - // @@protoc_insertion_point(field_get:TournamentMatchSetup.event_id) - return _internal_event_id(); -} -inline void TournamentMatchSetup::_internal_set_event_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_id_ = value; -} -inline void TournamentMatchSetup::set_event_id(int32_t value) { - _internal_set_event_id(value); - // @@protoc_insertion_point(field_set:TournamentMatchSetup.event_id) -} - -// optional int32 team_id_ct = 2; -inline bool TournamentMatchSetup::_internal_has_team_id_ct() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool TournamentMatchSetup::has_team_id_ct() const { - return _internal_has_team_id_ct(); -} -inline void TournamentMatchSetup::clear_team_id_ct() { - _impl_.team_id_ct_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t TournamentMatchSetup::_internal_team_id_ct() const { - return _impl_.team_id_ct_; -} -inline int32_t TournamentMatchSetup::team_id_ct() const { - // @@protoc_insertion_point(field_get:TournamentMatchSetup.team_id_ct) - return _internal_team_id_ct(); -} -inline void TournamentMatchSetup::_internal_set_team_id_ct(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.team_id_ct_ = value; -} -inline void TournamentMatchSetup::set_team_id_ct(int32_t value) { - _internal_set_team_id_ct(value); - // @@protoc_insertion_point(field_set:TournamentMatchSetup.team_id_ct) -} - -// optional int32 team_id_t = 3; -inline bool TournamentMatchSetup::_internal_has_team_id_t() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool TournamentMatchSetup::has_team_id_t() const { - return _internal_has_team_id_t(); -} -inline void TournamentMatchSetup::clear_team_id_t() { - _impl_.team_id_t_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t TournamentMatchSetup::_internal_team_id_t() const { - return _impl_.team_id_t_; -} -inline int32_t TournamentMatchSetup::team_id_t() const { - // @@protoc_insertion_point(field_get:TournamentMatchSetup.team_id_t) - return _internal_team_id_t(); -} -inline void TournamentMatchSetup::_internal_set_team_id_t(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.team_id_t_ = value; -} -inline void TournamentMatchSetup::set_team_id_t(int32_t value) { - _internal_set_team_id_t(value); - // @@protoc_insertion_point(field_set:TournamentMatchSetup.team_id_t) -} - -// optional int32 event_stage_id = 4; -inline bool TournamentMatchSetup::_internal_has_event_stage_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool TournamentMatchSetup::has_event_stage_id() const { - return _internal_has_event_stage_id(); -} -inline void TournamentMatchSetup::clear_event_stage_id() { - _impl_.event_stage_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t TournamentMatchSetup::_internal_event_stage_id() const { - return _impl_.event_stage_id_; -} -inline int32_t TournamentMatchSetup::event_stage_id() const { - // @@protoc_insertion_point(field_get:TournamentMatchSetup.event_stage_id) - return _internal_event_stage_id(); -} -inline void TournamentMatchSetup::_internal_set_event_stage_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.event_stage_id_ = value; -} -inline void TournamentMatchSetup::set_event_stage_id(int32_t value) { - _internal_set_event_stage_id(value); - // @@protoc_insertion_point(field_set:TournamentMatchSetup.event_stage_id) -} - -// ------------------------------------------------------------------- - -// ServerHltvInfo - -// optional uint32 tv_udp_port = 1; -inline bool ServerHltvInfo::_internal_has_tv_udp_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool ServerHltvInfo::has_tv_udp_port() const { - return _internal_has_tv_udp_port(); -} -inline void ServerHltvInfo::clear_tv_udp_port() { - _impl_.tv_udp_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t ServerHltvInfo::_internal_tv_udp_port() const { - return _impl_.tv_udp_port_; -} -inline uint32_t ServerHltvInfo::tv_udp_port() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_udp_port) - return _internal_tv_udp_port(); -} -inline void ServerHltvInfo::_internal_set_tv_udp_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.tv_udp_port_ = value; -} -inline void ServerHltvInfo::set_tv_udp_port(uint32_t value) { - _internal_set_tv_udp_port(value); - // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_udp_port) -} - -// optional uint64 tv_watch_key = 2; -inline bool ServerHltvInfo::_internal_has_tv_watch_key() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool ServerHltvInfo::has_tv_watch_key() const { - return _internal_has_tv_watch_key(); -} -inline void ServerHltvInfo::clear_tv_watch_key() { - _impl_.tv_watch_key_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t ServerHltvInfo::_internal_tv_watch_key() const { - return _impl_.tv_watch_key_; -} -inline uint64_t ServerHltvInfo::tv_watch_key() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_watch_key) - return _internal_tv_watch_key(); -} -inline void ServerHltvInfo::_internal_set_tv_watch_key(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.tv_watch_key_ = value; -} -inline void ServerHltvInfo::set_tv_watch_key(uint64_t value) { - _internal_set_tv_watch_key(value); - // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_watch_key) -} - -// optional uint32 tv_slots = 3; -inline bool ServerHltvInfo::_internal_has_tv_slots() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool ServerHltvInfo::has_tv_slots() const { - return _internal_has_tv_slots(); -} -inline void ServerHltvInfo::clear_tv_slots() { - _impl_.tv_slots_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t ServerHltvInfo::_internal_tv_slots() const { - return _impl_.tv_slots_; -} -inline uint32_t ServerHltvInfo::tv_slots() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_slots) - return _internal_tv_slots(); -} -inline void ServerHltvInfo::_internal_set_tv_slots(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.tv_slots_ = value; -} -inline void ServerHltvInfo::set_tv_slots(uint32_t value) { - _internal_set_tv_slots(value); - // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_slots) -} - -// optional uint32 tv_clients = 4; -inline bool ServerHltvInfo::_internal_has_tv_clients() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool ServerHltvInfo::has_tv_clients() const { - return _internal_has_tv_clients(); -} -inline void ServerHltvInfo::clear_tv_clients() { - _impl_.tv_clients_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t ServerHltvInfo::_internal_tv_clients() const { - return _impl_.tv_clients_; -} -inline uint32_t ServerHltvInfo::tv_clients() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_clients) - return _internal_tv_clients(); -} -inline void ServerHltvInfo::_internal_set_tv_clients(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.tv_clients_ = value; -} -inline void ServerHltvInfo::set_tv_clients(uint32_t value) { - _internal_set_tv_clients(value); - // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_clients) -} - -// optional uint32 tv_proxies = 5; -inline bool ServerHltvInfo::_internal_has_tv_proxies() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool ServerHltvInfo::has_tv_proxies() const { - return _internal_has_tv_proxies(); -} -inline void ServerHltvInfo::clear_tv_proxies() { - _impl_.tv_proxies_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t ServerHltvInfo::_internal_tv_proxies() const { - return _impl_.tv_proxies_; -} -inline uint32_t ServerHltvInfo::tv_proxies() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_proxies) - return _internal_tv_proxies(); -} -inline void ServerHltvInfo::_internal_set_tv_proxies(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.tv_proxies_ = value; -} -inline void ServerHltvInfo::set_tv_proxies(uint32_t value) { - _internal_set_tv_proxies(value); - // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_proxies) -} - -// optional uint32 tv_time = 6; -inline bool ServerHltvInfo::_internal_has_tv_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool ServerHltvInfo::has_tv_time() const { - return _internal_has_tv_time(); -} -inline void ServerHltvInfo::clear_tv_time() { - _impl_.tv_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t ServerHltvInfo::_internal_tv_time() const { - return _impl_.tv_time_; -} -inline uint32_t ServerHltvInfo::tv_time() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_time) - return _internal_tv_time(); -} -inline void ServerHltvInfo::_internal_set_tv_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.tv_time_ = value; -} -inline void ServerHltvInfo::set_tv_time(uint32_t value) { - _internal_set_tv_time(value); - // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_time) -} - -// optional uint32 game_type = 8; -inline bool ServerHltvInfo::_internal_has_game_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool ServerHltvInfo::has_game_type() const { - return _internal_has_game_type(); -} -inline void ServerHltvInfo::clear_game_type() { - _impl_.game_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t ServerHltvInfo::_internal_game_type() const { - return _impl_.game_type_; -} -inline uint32_t ServerHltvInfo::game_type() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.game_type) - return _internal_game_type(); -} -inline void ServerHltvInfo::_internal_set_game_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.game_type_ = value; -} -inline void ServerHltvInfo::set_game_type(uint32_t value) { - _internal_set_game_type(value); - // @@protoc_insertion_point(field_set:ServerHltvInfo.game_type) -} - -// optional string game_mapgroup = 9; -inline bool ServerHltvInfo::_internal_has_game_mapgroup() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool ServerHltvInfo::has_game_mapgroup() const { - return _internal_has_game_mapgroup(); -} -inline void ServerHltvInfo::clear_game_mapgroup() { - _impl_.game_mapgroup_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& ServerHltvInfo::game_mapgroup() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.game_mapgroup) - return _internal_game_mapgroup(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ServerHltvInfo::set_game_mapgroup(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.game_mapgroup_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:ServerHltvInfo.game_mapgroup) -} -inline std::string* ServerHltvInfo::mutable_game_mapgroup() { - std::string* _s = _internal_mutable_game_mapgroup(); - // @@protoc_insertion_point(field_mutable:ServerHltvInfo.game_mapgroup) - return _s; -} -inline const std::string& ServerHltvInfo::_internal_game_mapgroup() const { - return _impl_.game_mapgroup_.Get(); -} -inline void ServerHltvInfo::_internal_set_game_mapgroup(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.game_mapgroup_.Set(value, GetArenaForAllocation()); -} -inline std::string* ServerHltvInfo::_internal_mutable_game_mapgroup() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.game_mapgroup_.Mutable(GetArenaForAllocation()); -} -inline std::string* ServerHltvInfo::release_game_mapgroup() { - // @@protoc_insertion_point(field_release:ServerHltvInfo.game_mapgroup) - if (!_internal_has_game_mapgroup()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.game_mapgroup_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_mapgroup_.IsDefault()) { - _impl_.game_mapgroup_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void ServerHltvInfo::set_allocated_game_mapgroup(std::string* game_mapgroup) { - if (game_mapgroup != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.game_mapgroup_.SetAllocated(game_mapgroup, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_mapgroup_.IsDefault()) { - _impl_.game_mapgroup_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:ServerHltvInfo.game_mapgroup) -} - -// optional string game_map = 10; -inline bool ServerHltvInfo::_internal_has_game_map() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool ServerHltvInfo::has_game_map() const { - return _internal_has_game_map(); -} -inline void ServerHltvInfo::clear_game_map() { - _impl_.game_map_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& ServerHltvInfo::game_map() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.game_map) - return _internal_game_map(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ServerHltvInfo::set_game_map(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.game_map_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:ServerHltvInfo.game_map) -} -inline std::string* ServerHltvInfo::mutable_game_map() { - std::string* _s = _internal_mutable_game_map(); - // @@protoc_insertion_point(field_mutable:ServerHltvInfo.game_map) - return _s; -} -inline const std::string& ServerHltvInfo::_internal_game_map() const { - return _impl_.game_map_.Get(); -} -inline void ServerHltvInfo::_internal_set_game_map(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.game_map_.Set(value, GetArenaForAllocation()); -} -inline std::string* ServerHltvInfo::_internal_mutable_game_map() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.game_map_.Mutable(GetArenaForAllocation()); -} -inline std::string* ServerHltvInfo::release_game_map() { - // @@protoc_insertion_point(field_release:ServerHltvInfo.game_map) - if (!_internal_has_game_map()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.game_map_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_map_.IsDefault()) { - _impl_.game_map_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void ServerHltvInfo::set_allocated_game_map(std::string* game_map) { - if (game_map != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.game_map_.SetAllocated(game_map, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_map_.IsDefault()) { - _impl_.game_map_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:ServerHltvInfo.game_map) -} - -// optional uint64 tv_master_steamid = 11; -inline bool ServerHltvInfo::_internal_has_tv_master_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool ServerHltvInfo::has_tv_master_steamid() const { - return _internal_has_tv_master_steamid(); -} -inline void ServerHltvInfo::clear_tv_master_steamid() { - _impl_.tv_master_steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint64_t ServerHltvInfo::_internal_tv_master_steamid() const { - return _impl_.tv_master_steamid_; -} -inline uint64_t ServerHltvInfo::tv_master_steamid() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_master_steamid) - return _internal_tv_master_steamid(); -} -inline void ServerHltvInfo::_internal_set_tv_master_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.tv_master_steamid_ = value; -} -inline void ServerHltvInfo::set_tv_master_steamid(uint64_t value) { - _internal_set_tv_master_steamid(value); - // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_master_steamid) -} - -// optional uint32 tv_local_slots = 12; -inline bool ServerHltvInfo::_internal_has_tv_local_slots() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool ServerHltvInfo::has_tv_local_slots() const { - return _internal_has_tv_local_slots(); -} -inline void ServerHltvInfo::clear_tv_local_slots() { - _impl_.tv_local_slots_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t ServerHltvInfo::_internal_tv_local_slots() const { - return _impl_.tv_local_slots_; -} -inline uint32_t ServerHltvInfo::tv_local_slots() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_local_slots) - return _internal_tv_local_slots(); -} -inline void ServerHltvInfo::_internal_set_tv_local_slots(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.tv_local_slots_ = value; -} -inline void ServerHltvInfo::set_tv_local_slots(uint32_t value) { - _internal_set_tv_local_slots(value); - // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_local_slots) -} - -// optional uint32 tv_local_clients = 13; -inline bool ServerHltvInfo::_internal_has_tv_local_clients() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool ServerHltvInfo::has_tv_local_clients() const { - return _internal_has_tv_local_clients(); -} -inline void ServerHltvInfo::clear_tv_local_clients() { - _impl_.tv_local_clients_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t ServerHltvInfo::_internal_tv_local_clients() const { - return _impl_.tv_local_clients_; -} -inline uint32_t ServerHltvInfo::tv_local_clients() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_local_clients) - return _internal_tv_local_clients(); -} -inline void ServerHltvInfo::_internal_set_tv_local_clients(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.tv_local_clients_ = value; -} -inline void ServerHltvInfo::set_tv_local_clients(uint32_t value) { - _internal_set_tv_local_clients(value); - // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_local_clients) -} - -// optional uint32 tv_local_proxies = 14; -inline bool ServerHltvInfo::_internal_has_tv_local_proxies() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool ServerHltvInfo::has_tv_local_proxies() const { - return _internal_has_tv_local_proxies(); -} -inline void ServerHltvInfo::clear_tv_local_proxies() { - _impl_.tv_local_proxies_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t ServerHltvInfo::_internal_tv_local_proxies() const { - return _impl_.tv_local_proxies_; -} -inline uint32_t ServerHltvInfo::tv_local_proxies() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_local_proxies) - return _internal_tv_local_proxies(); -} -inline void ServerHltvInfo::_internal_set_tv_local_proxies(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.tv_local_proxies_ = value; -} -inline void ServerHltvInfo::set_tv_local_proxies(uint32_t value) { - _internal_set_tv_local_proxies(value); - // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_local_proxies) -} - -// optional uint32 tv_relay_slots = 15; -inline bool ServerHltvInfo::_internal_has_tv_relay_slots() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool ServerHltvInfo::has_tv_relay_slots() const { - return _internal_has_tv_relay_slots(); -} -inline void ServerHltvInfo::clear_tv_relay_slots() { - _impl_.tv_relay_slots_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t ServerHltvInfo::_internal_tv_relay_slots() const { - return _impl_.tv_relay_slots_; -} -inline uint32_t ServerHltvInfo::tv_relay_slots() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_relay_slots) - return _internal_tv_relay_slots(); -} -inline void ServerHltvInfo::_internal_set_tv_relay_slots(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.tv_relay_slots_ = value; -} -inline void ServerHltvInfo::set_tv_relay_slots(uint32_t value) { - _internal_set_tv_relay_slots(value); - // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_relay_slots) -} - -// optional uint32 tv_relay_clients = 16; -inline bool ServerHltvInfo::_internal_has_tv_relay_clients() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool ServerHltvInfo::has_tv_relay_clients() const { - return _internal_has_tv_relay_clients(); -} -inline void ServerHltvInfo::clear_tv_relay_clients() { - _impl_.tv_relay_clients_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t ServerHltvInfo::_internal_tv_relay_clients() const { - return _impl_.tv_relay_clients_; -} -inline uint32_t ServerHltvInfo::tv_relay_clients() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_relay_clients) - return _internal_tv_relay_clients(); -} -inline void ServerHltvInfo::_internal_set_tv_relay_clients(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.tv_relay_clients_ = value; -} -inline void ServerHltvInfo::set_tv_relay_clients(uint32_t value) { - _internal_set_tv_relay_clients(value); - // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_relay_clients) -} - -// optional uint32 tv_relay_proxies = 17; -inline bool ServerHltvInfo::_internal_has_tv_relay_proxies() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool ServerHltvInfo::has_tv_relay_proxies() const { - return _internal_has_tv_relay_proxies(); -} -inline void ServerHltvInfo::clear_tv_relay_proxies() { - _impl_.tv_relay_proxies_ = 0u; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint32_t ServerHltvInfo::_internal_tv_relay_proxies() const { - return _impl_.tv_relay_proxies_; -} -inline uint32_t ServerHltvInfo::tv_relay_proxies() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_relay_proxies) - return _internal_tv_relay_proxies(); -} -inline void ServerHltvInfo::_internal_set_tv_relay_proxies(uint32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.tv_relay_proxies_ = value; -} -inline void ServerHltvInfo::set_tv_relay_proxies(uint32_t value) { - _internal_set_tv_relay_proxies(value); - // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_relay_proxies) -} - -// optional uint32 tv_relay_address = 18; -inline bool ServerHltvInfo::_internal_has_tv_relay_address() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool ServerHltvInfo::has_tv_relay_address() const { - return _internal_has_tv_relay_address(); -} -inline void ServerHltvInfo::clear_tv_relay_address() { - _impl_.tv_relay_address_ = 0u; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline uint32_t ServerHltvInfo::_internal_tv_relay_address() const { - return _impl_.tv_relay_address_; -} -inline uint32_t ServerHltvInfo::tv_relay_address() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_relay_address) - return _internal_tv_relay_address(); -} -inline void ServerHltvInfo::_internal_set_tv_relay_address(uint32_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.tv_relay_address_ = value; -} -inline void ServerHltvInfo::set_tv_relay_address(uint32_t value) { - _internal_set_tv_relay_address(value); - // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_relay_address) -} - -// optional uint32 tv_relay_port = 19; -inline bool ServerHltvInfo::_internal_has_tv_relay_port() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool ServerHltvInfo::has_tv_relay_port() const { - return _internal_has_tv_relay_port(); -} -inline void ServerHltvInfo::clear_tv_relay_port() { - _impl_.tv_relay_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline uint32_t ServerHltvInfo::_internal_tv_relay_port() const { - return _impl_.tv_relay_port_; -} -inline uint32_t ServerHltvInfo::tv_relay_port() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_relay_port) - return _internal_tv_relay_port(); -} -inline void ServerHltvInfo::_internal_set_tv_relay_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.tv_relay_port_ = value; -} -inline void ServerHltvInfo::set_tv_relay_port(uint32_t value) { - _internal_set_tv_relay_port(value); - // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_relay_port) -} - -// optional uint64 tv_relay_steamid = 20; -inline bool ServerHltvInfo::_internal_has_tv_relay_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; - return value; -} -inline bool ServerHltvInfo::has_tv_relay_steamid() const { - return _internal_has_tv_relay_steamid(); -} -inline void ServerHltvInfo::clear_tv_relay_steamid() { - _impl_.tv_relay_steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00040000u; -} -inline uint64_t ServerHltvInfo::_internal_tv_relay_steamid() const { - return _impl_.tv_relay_steamid_; -} -inline uint64_t ServerHltvInfo::tv_relay_steamid() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.tv_relay_steamid) - return _internal_tv_relay_steamid(); -} -inline void ServerHltvInfo::_internal_set_tv_relay_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00040000u; - _impl_.tv_relay_steamid_ = value; -} -inline void ServerHltvInfo::set_tv_relay_steamid(uint64_t value) { - _internal_set_tv_relay_steamid(value); - // @@protoc_insertion_point(field_set:ServerHltvInfo.tv_relay_steamid) -} - -// optional uint32 flags = 21; -inline bool ServerHltvInfo::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; - return value; -} -inline bool ServerHltvInfo::has_flags() const { - return _internal_has_flags(); -} -inline void ServerHltvInfo::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00080000u; -} -inline uint32_t ServerHltvInfo::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t ServerHltvInfo::flags() const { - // @@protoc_insertion_point(field_get:ServerHltvInfo.flags) - return _internal_flags(); -} -inline void ServerHltvInfo::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00080000u; - _impl_.flags_ = value; -} -inline void ServerHltvInfo::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:ServerHltvInfo.flags) -} - -// ------------------------------------------------------------------- - -// IpAddressMask - -// optional uint32 a = 1; -inline bool IpAddressMask::_internal_has_a() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool IpAddressMask::has_a() const { - return _internal_has_a(); -} -inline void IpAddressMask::clear_a() { - _impl_.a_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t IpAddressMask::_internal_a() const { - return _impl_.a_; -} -inline uint32_t IpAddressMask::a() const { - // @@protoc_insertion_point(field_get:IpAddressMask.a) - return _internal_a(); -} -inline void IpAddressMask::_internal_set_a(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.a_ = value; -} -inline void IpAddressMask::set_a(uint32_t value) { - _internal_set_a(value); - // @@protoc_insertion_point(field_set:IpAddressMask.a) -} - -// optional uint32 b = 2; -inline bool IpAddressMask::_internal_has_b() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool IpAddressMask::has_b() const { - return _internal_has_b(); -} -inline void IpAddressMask::clear_b() { - _impl_.b_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t IpAddressMask::_internal_b() const { - return _impl_.b_; -} -inline uint32_t IpAddressMask::b() const { - // @@protoc_insertion_point(field_get:IpAddressMask.b) - return _internal_b(); -} -inline void IpAddressMask::_internal_set_b(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.b_ = value; -} -inline void IpAddressMask::set_b(uint32_t value) { - _internal_set_b(value); - // @@protoc_insertion_point(field_set:IpAddressMask.b) -} - -// optional uint32 c = 3; -inline bool IpAddressMask::_internal_has_c() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool IpAddressMask::has_c() const { - return _internal_has_c(); -} -inline void IpAddressMask::clear_c() { - _impl_.c_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t IpAddressMask::_internal_c() const { - return _impl_.c_; -} -inline uint32_t IpAddressMask::c() const { - // @@protoc_insertion_point(field_get:IpAddressMask.c) - return _internal_c(); -} -inline void IpAddressMask::_internal_set_c(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.c_ = value; -} -inline void IpAddressMask::set_c(uint32_t value) { - _internal_set_c(value); - // @@protoc_insertion_point(field_set:IpAddressMask.c) -} - -// optional uint32 d = 4; -inline bool IpAddressMask::_internal_has_d() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool IpAddressMask::has_d() const { - return _internal_has_d(); -} -inline void IpAddressMask::clear_d() { - _impl_.d_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t IpAddressMask::_internal_d() const { - return _impl_.d_; -} -inline uint32_t IpAddressMask::d() const { - // @@protoc_insertion_point(field_get:IpAddressMask.d) - return _internal_d(); -} -inline void IpAddressMask::_internal_set_d(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.d_ = value; -} -inline void IpAddressMask::set_d(uint32_t value) { - _internal_set_d(value); - // @@protoc_insertion_point(field_set:IpAddressMask.d) -} - -// optional uint32 bits = 5; -inline bool IpAddressMask::_internal_has_bits() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool IpAddressMask::has_bits() const { - return _internal_has_bits(); -} -inline void IpAddressMask::clear_bits() { - _impl_.bits_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t IpAddressMask::_internal_bits() const { - return _impl_.bits_; -} -inline uint32_t IpAddressMask::bits() const { - // @@protoc_insertion_point(field_get:IpAddressMask.bits) - return _internal_bits(); -} -inline void IpAddressMask::_internal_set_bits(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.bits_ = value; -} -inline void IpAddressMask::set_bits(uint32_t value) { - _internal_set_bits(value); - // @@protoc_insertion_point(field_set:IpAddressMask.bits) -} - -// optional uint32 token = 6; -inline bool IpAddressMask::_internal_has_token() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool IpAddressMask::has_token() const { - return _internal_has_token(); -} -inline void IpAddressMask::clear_token() { - _impl_.token_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t IpAddressMask::_internal_token() const { - return _impl_.token_; -} -inline uint32_t IpAddressMask::token() const { - // @@protoc_insertion_point(field_get:IpAddressMask.token) - return _internal_token(); -} -inline void IpAddressMask::_internal_set_token(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.token_ = value; -} -inline void IpAddressMask::set_token(uint32_t value) { - _internal_set_token(value); - // @@protoc_insertion_point(field_set:IpAddressMask.token) -} - -// ------------------------------------------------------------------- - -// CMsgCsgoSteamUserStatChange - -// optional int32 ecsgosteamuserstat = 1; -inline bool CMsgCsgoSteamUserStatChange::_internal_has_ecsgosteamuserstat() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgCsgoSteamUserStatChange::has_ecsgosteamuserstat() const { - return _internal_has_ecsgosteamuserstat(); -} -inline void CMsgCsgoSteamUserStatChange::clear_ecsgosteamuserstat() { - _impl_.ecsgosteamuserstat_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CMsgCsgoSteamUserStatChange::_internal_ecsgosteamuserstat() const { - return _impl_.ecsgosteamuserstat_; -} -inline int32_t CMsgCsgoSteamUserStatChange::ecsgosteamuserstat() const { - // @@protoc_insertion_point(field_get:CMsgCsgoSteamUserStatChange.ecsgosteamuserstat) - return _internal_ecsgosteamuserstat(); -} -inline void CMsgCsgoSteamUserStatChange::_internal_set_ecsgosteamuserstat(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ecsgosteamuserstat_ = value; -} -inline void CMsgCsgoSteamUserStatChange::set_ecsgosteamuserstat(int32_t value) { - _internal_set_ecsgosteamuserstat(value); - // @@protoc_insertion_point(field_set:CMsgCsgoSteamUserStatChange.ecsgosteamuserstat) -} - -// optional int32 delta = 2; -inline bool CMsgCsgoSteamUserStatChange::_internal_has_delta() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgCsgoSteamUserStatChange::has_delta() const { - return _internal_has_delta(); -} -inline void CMsgCsgoSteamUserStatChange::clear_delta() { - _impl_.delta_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgCsgoSteamUserStatChange::_internal_delta() const { - return _impl_.delta_; -} -inline int32_t CMsgCsgoSteamUserStatChange::delta() const { - // @@protoc_insertion_point(field_get:CMsgCsgoSteamUserStatChange.delta) - return _internal_delta(); -} -inline void CMsgCsgoSteamUserStatChange::_internal_set_delta(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.delta_ = value; -} -inline void CMsgCsgoSteamUserStatChange::set_delta(int32_t value) { - _internal_set_delta(value); - // @@protoc_insertion_point(field_set:CMsgCsgoSteamUserStatChange.delta) -} - -// optional bool absolute = 3; -inline bool CMsgCsgoSteamUserStatChange::_internal_has_absolute() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgCsgoSteamUserStatChange::has_absolute() const { - return _internal_has_absolute(); -} -inline void CMsgCsgoSteamUserStatChange::clear_absolute() { - _impl_.absolute_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CMsgCsgoSteamUserStatChange::_internal_absolute() const { - return _impl_.absolute_; -} -inline bool CMsgCsgoSteamUserStatChange::absolute() const { - // @@protoc_insertion_point(field_get:CMsgCsgoSteamUserStatChange.absolute) - return _internal_absolute(); -} -inline void CMsgCsgoSteamUserStatChange::_internal_set_absolute(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.absolute_ = value; -} -inline void CMsgCsgoSteamUserStatChange::set_absolute(bool value) { - _internal_set_absolute(value); - // @@protoc_insertion_point(field_set:CMsgCsgoSteamUserStatChange.absolute) -} - -// ------------------------------------------------------------------- - -// XpProgressData - -// optional uint32 xp_points = 1; -inline bool XpProgressData::_internal_has_xp_points() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool XpProgressData::has_xp_points() const { - return _internal_has_xp_points(); -} -inline void XpProgressData::clear_xp_points() { - _impl_.xp_points_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t XpProgressData::_internal_xp_points() const { - return _impl_.xp_points_; -} -inline uint32_t XpProgressData::xp_points() const { - // @@protoc_insertion_point(field_get:XpProgressData.xp_points) - return _internal_xp_points(); -} -inline void XpProgressData::_internal_set_xp_points(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.xp_points_ = value; -} -inline void XpProgressData::set_xp_points(uint32_t value) { - _internal_set_xp_points(value); - // @@protoc_insertion_point(field_set:XpProgressData.xp_points) -} - -// optional int32 xp_category = 2; -inline bool XpProgressData::_internal_has_xp_category() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool XpProgressData::has_xp_category() const { - return _internal_has_xp_category(); -} -inline void XpProgressData::clear_xp_category() { - _impl_.xp_category_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t XpProgressData::_internal_xp_category() const { - return _impl_.xp_category_; -} -inline int32_t XpProgressData::xp_category() const { - // @@protoc_insertion_point(field_get:XpProgressData.xp_category) - return _internal_xp_category(); -} -inline void XpProgressData::_internal_set_xp_category(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.xp_category_ = value; -} -inline void XpProgressData::set_xp_category(int32_t value) { - _internal_set_xp_category(value); - // @@protoc_insertion_point(field_set:XpProgressData.xp_category) -} - -// ------------------------------------------------------------------- - -// MatchEndItemUpdates - -// optional uint64 item_id = 1; -inline bool MatchEndItemUpdates::_internal_has_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool MatchEndItemUpdates::has_item_id() const { - return _internal_has_item_id(); -} -inline void MatchEndItemUpdates::clear_item_id() { - _impl_.item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t MatchEndItemUpdates::_internal_item_id() const { - return _impl_.item_id_; -} -inline uint64_t MatchEndItemUpdates::item_id() const { - // @@protoc_insertion_point(field_get:MatchEndItemUpdates.item_id) - return _internal_item_id(); -} -inline void MatchEndItemUpdates::_internal_set_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.item_id_ = value; -} -inline void MatchEndItemUpdates::set_item_id(uint64_t value) { - _internal_set_item_id(value); - // @@protoc_insertion_point(field_set:MatchEndItemUpdates.item_id) -} - -// optional uint32 item_attr_defidx = 2; -inline bool MatchEndItemUpdates::_internal_has_item_attr_defidx() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool MatchEndItemUpdates::has_item_attr_defidx() const { - return _internal_has_item_attr_defidx(); -} -inline void MatchEndItemUpdates::clear_item_attr_defidx() { - _impl_.item_attr_defidx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t MatchEndItemUpdates::_internal_item_attr_defidx() const { - return _impl_.item_attr_defidx_; -} -inline uint32_t MatchEndItemUpdates::item_attr_defidx() const { - // @@protoc_insertion_point(field_get:MatchEndItemUpdates.item_attr_defidx) - return _internal_item_attr_defidx(); -} -inline void MatchEndItemUpdates::_internal_set_item_attr_defidx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.item_attr_defidx_ = value; -} -inline void MatchEndItemUpdates::set_item_attr_defidx(uint32_t value) { - _internal_set_item_attr_defidx(value); - // @@protoc_insertion_point(field_set:MatchEndItemUpdates.item_attr_defidx) -} - -// optional uint32 item_attr_delta_value = 3; -inline bool MatchEndItemUpdates::_internal_has_item_attr_delta_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool MatchEndItemUpdates::has_item_attr_delta_value() const { - return _internal_has_item_attr_delta_value(); -} -inline void MatchEndItemUpdates::clear_item_attr_delta_value() { - _impl_.item_attr_delta_value_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t MatchEndItemUpdates::_internal_item_attr_delta_value() const { - return _impl_.item_attr_delta_value_; -} -inline uint32_t MatchEndItemUpdates::item_attr_delta_value() const { - // @@protoc_insertion_point(field_get:MatchEndItemUpdates.item_attr_delta_value) - return _internal_item_attr_delta_value(); -} -inline void MatchEndItemUpdates::_internal_set_item_attr_delta_value(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.item_attr_delta_value_ = value; -} -inline void MatchEndItemUpdates::set_item_attr_delta_value(uint32_t value) { - _internal_set_item_attr_delta_value(value); - // @@protoc_insertion_point(field_set:MatchEndItemUpdates.item_attr_delta_value) -} - -// ------------------------------------------------------------------- - -// ScoreLeaderboardData_Entry - -// optional uint32 tag = 1; -inline bool ScoreLeaderboardData_Entry::_internal_has_tag() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool ScoreLeaderboardData_Entry::has_tag() const { - return _internal_has_tag(); -} -inline void ScoreLeaderboardData_Entry::clear_tag() { - _impl_.tag_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t ScoreLeaderboardData_Entry::_internal_tag() const { - return _impl_.tag_; -} -inline uint32_t ScoreLeaderboardData_Entry::tag() const { - // @@protoc_insertion_point(field_get:ScoreLeaderboardData.Entry.tag) - return _internal_tag(); -} -inline void ScoreLeaderboardData_Entry::_internal_set_tag(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.tag_ = value; -} -inline void ScoreLeaderboardData_Entry::set_tag(uint32_t value) { - _internal_set_tag(value); - // @@protoc_insertion_point(field_set:ScoreLeaderboardData.Entry.tag) -} - -// optional uint32 val = 2; -inline bool ScoreLeaderboardData_Entry::_internal_has_val() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool ScoreLeaderboardData_Entry::has_val() const { - return _internal_has_val(); -} -inline void ScoreLeaderboardData_Entry::clear_val() { - _impl_.val_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t ScoreLeaderboardData_Entry::_internal_val() const { - return _impl_.val_; -} -inline uint32_t ScoreLeaderboardData_Entry::val() const { - // @@protoc_insertion_point(field_get:ScoreLeaderboardData.Entry.val) - return _internal_val(); -} -inline void ScoreLeaderboardData_Entry::_internal_set_val(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.val_ = value; -} -inline void ScoreLeaderboardData_Entry::set_val(uint32_t value) { - _internal_set_val(value); - // @@protoc_insertion_point(field_set:ScoreLeaderboardData.Entry.val) -} - -// ------------------------------------------------------------------- - -// ScoreLeaderboardData_AccountEntries - -// optional uint32 accountid = 1; -inline bool ScoreLeaderboardData_AccountEntries::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool ScoreLeaderboardData_AccountEntries::has_accountid() const { - return _internal_has_accountid(); -} -inline void ScoreLeaderboardData_AccountEntries::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t ScoreLeaderboardData_AccountEntries::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t ScoreLeaderboardData_AccountEntries::accountid() const { - // @@protoc_insertion_point(field_get:ScoreLeaderboardData.AccountEntries.accountid) - return _internal_accountid(); -} -inline void ScoreLeaderboardData_AccountEntries::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.accountid_ = value; -} -inline void ScoreLeaderboardData_AccountEntries::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:ScoreLeaderboardData.AccountEntries.accountid) -} - -// repeated .ScoreLeaderboardData.Entry entries = 2; -inline int ScoreLeaderboardData_AccountEntries::_internal_entries_size() const { - return _impl_.entries_.size(); -} -inline int ScoreLeaderboardData_AccountEntries::entries_size() const { - return _internal_entries_size(); -} -inline void ScoreLeaderboardData_AccountEntries::clear_entries() { - _impl_.entries_.Clear(); -} -inline ::ScoreLeaderboardData_Entry* ScoreLeaderboardData_AccountEntries::mutable_entries(int index) { - // @@protoc_insertion_point(field_mutable:ScoreLeaderboardData.AccountEntries.entries) - return _impl_.entries_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry >* -ScoreLeaderboardData_AccountEntries::mutable_entries() { - // @@protoc_insertion_point(field_mutable_list:ScoreLeaderboardData.AccountEntries.entries) - return &_impl_.entries_; -} -inline const ::ScoreLeaderboardData_Entry& ScoreLeaderboardData_AccountEntries::_internal_entries(int index) const { - return _impl_.entries_.Get(index); -} -inline const ::ScoreLeaderboardData_Entry& ScoreLeaderboardData_AccountEntries::entries(int index) const { - // @@protoc_insertion_point(field_get:ScoreLeaderboardData.AccountEntries.entries) - return _internal_entries(index); -} -inline ::ScoreLeaderboardData_Entry* ScoreLeaderboardData_AccountEntries::_internal_add_entries() { - return _impl_.entries_.Add(); -} -inline ::ScoreLeaderboardData_Entry* ScoreLeaderboardData_AccountEntries::add_entries() { - ::ScoreLeaderboardData_Entry* _add = _internal_add_entries(); - // @@protoc_insertion_point(field_add:ScoreLeaderboardData.AccountEntries.entries) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry >& -ScoreLeaderboardData_AccountEntries::entries() const { - // @@protoc_insertion_point(field_list:ScoreLeaderboardData.AccountEntries.entries) - return _impl_.entries_; -} - -// ------------------------------------------------------------------- - -// ScoreLeaderboardData - -// optional uint64 quest_id = 1; -inline bool ScoreLeaderboardData::_internal_has_quest_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool ScoreLeaderboardData::has_quest_id() const { - return _internal_has_quest_id(); -} -inline void ScoreLeaderboardData::clear_quest_id() { - _impl_.quest_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t ScoreLeaderboardData::_internal_quest_id() const { - return _impl_.quest_id_; -} -inline uint64_t ScoreLeaderboardData::quest_id() const { - // @@protoc_insertion_point(field_get:ScoreLeaderboardData.quest_id) - return _internal_quest_id(); -} -inline void ScoreLeaderboardData::_internal_set_quest_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.quest_id_ = value; -} -inline void ScoreLeaderboardData::set_quest_id(uint64_t value) { - _internal_set_quest_id(value); - // @@protoc_insertion_point(field_set:ScoreLeaderboardData.quest_id) -} - -// optional uint32 score = 2; -inline bool ScoreLeaderboardData::_internal_has_score() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool ScoreLeaderboardData::has_score() const { - return _internal_has_score(); -} -inline void ScoreLeaderboardData::clear_score() { - _impl_.score_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t ScoreLeaderboardData::_internal_score() const { - return _impl_.score_; -} -inline uint32_t ScoreLeaderboardData::score() const { - // @@protoc_insertion_point(field_get:ScoreLeaderboardData.score) - return _internal_score(); -} -inline void ScoreLeaderboardData::_internal_set_score(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.score_ = value; -} -inline void ScoreLeaderboardData::set_score(uint32_t value) { - _internal_set_score(value); - // @@protoc_insertion_point(field_set:ScoreLeaderboardData.score) -} - -// repeated .ScoreLeaderboardData.AccountEntries accountentries = 3; -inline int ScoreLeaderboardData::_internal_accountentries_size() const { - return _impl_.accountentries_.size(); -} -inline int ScoreLeaderboardData::accountentries_size() const { - return _internal_accountentries_size(); -} -inline void ScoreLeaderboardData::clear_accountentries() { - _impl_.accountentries_.Clear(); -} -inline ::ScoreLeaderboardData_AccountEntries* ScoreLeaderboardData::mutable_accountentries(int index) { - // @@protoc_insertion_point(field_mutable:ScoreLeaderboardData.accountentries) - return _impl_.accountentries_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_AccountEntries >* -ScoreLeaderboardData::mutable_accountentries() { - // @@protoc_insertion_point(field_mutable_list:ScoreLeaderboardData.accountentries) - return &_impl_.accountentries_; -} -inline const ::ScoreLeaderboardData_AccountEntries& ScoreLeaderboardData::_internal_accountentries(int index) const { - return _impl_.accountentries_.Get(index); -} -inline const ::ScoreLeaderboardData_AccountEntries& ScoreLeaderboardData::accountentries(int index) const { - // @@protoc_insertion_point(field_get:ScoreLeaderboardData.accountentries) - return _internal_accountentries(index); -} -inline ::ScoreLeaderboardData_AccountEntries* ScoreLeaderboardData::_internal_add_accountentries() { - return _impl_.accountentries_.Add(); -} -inline ::ScoreLeaderboardData_AccountEntries* ScoreLeaderboardData::add_accountentries() { - ::ScoreLeaderboardData_AccountEntries* _add = _internal_add_accountentries(); - // @@protoc_insertion_point(field_add:ScoreLeaderboardData.accountentries) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_AccountEntries >& -ScoreLeaderboardData::accountentries() const { - // @@protoc_insertion_point(field_list:ScoreLeaderboardData.accountentries) - return _impl_.accountentries_; -} - -// repeated .ScoreLeaderboardData.Entry matchentries = 5; -inline int ScoreLeaderboardData::_internal_matchentries_size() const { - return _impl_.matchentries_.size(); -} -inline int ScoreLeaderboardData::matchentries_size() const { - return _internal_matchentries_size(); -} -inline void ScoreLeaderboardData::clear_matchentries() { - _impl_.matchentries_.Clear(); -} -inline ::ScoreLeaderboardData_Entry* ScoreLeaderboardData::mutable_matchentries(int index) { - // @@protoc_insertion_point(field_mutable:ScoreLeaderboardData.matchentries) - return _impl_.matchentries_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry >* -ScoreLeaderboardData::mutable_matchentries() { - // @@protoc_insertion_point(field_mutable_list:ScoreLeaderboardData.matchentries) - return &_impl_.matchentries_; -} -inline const ::ScoreLeaderboardData_Entry& ScoreLeaderboardData::_internal_matchentries(int index) const { - return _impl_.matchentries_.Get(index); -} -inline const ::ScoreLeaderboardData_Entry& ScoreLeaderboardData::matchentries(int index) const { - // @@protoc_insertion_point(field_get:ScoreLeaderboardData.matchentries) - return _internal_matchentries(index); -} -inline ::ScoreLeaderboardData_Entry* ScoreLeaderboardData::_internal_add_matchentries() { - return _impl_.matchentries_.Add(); -} -inline ::ScoreLeaderboardData_Entry* ScoreLeaderboardData::add_matchentries() { - ::ScoreLeaderboardData_Entry* _add = _internal_add_matchentries(); - // @@protoc_insertion_point(field_add:ScoreLeaderboardData.matchentries) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ScoreLeaderboardData_Entry >& -ScoreLeaderboardData::matchentries() const { - // @@protoc_insertion_point(field_list:ScoreLeaderboardData.matchentries) - return _impl_.matchentries_; -} - -// optional string leaderboard_name = 6; -inline bool ScoreLeaderboardData::_internal_has_leaderboard_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool ScoreLeaderboardData::has_leaderboard_name() const { - return _internal_has_leaderboard_name(); -} -inline void ScoreLeaderboardData::clear_leaderboard_name() { - _impl_.leaderboard_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& ScoreLeaderboardData::leaderboard_name() const { - // @@protoc_insertion_point(field_get:ScoreLeaderboardData.leaderboard_name) - return _internal_leaderboard_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void ScoreLeaderboardData::set_leaderboard_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.leaderboard_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:ScoreLeaderboardData.leaderboard_name) -} -inline std::string* ScoreLeaderboardData::mutable_leaderboard_name() { - std::string* _s = _internal_mutable_leaderboard_name(); - // @@protoc_insertion_point(field_mutable:ScoreLeaderboardData.leaderboard_name) - return _s; -} -inline const std::string& ScoreLeaderboardData::_internal_leaderboard_name() const { - return _impl_.leaderboard_name_.Get(); -} -inline void ScoreLeaderboardData::_internal_set_leaderboard_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.leaderboard_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* ScoreLeaderboardData::_internal_mutable_leaderboard_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.leaderboard_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* ScoreLeaderboardData::release_leaderboard_name() { - // @@protoc_insertion_point(field_release:ScoreLeaderboardData.leaderboard_name) - if (!_internal_has_leaderboard_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.leaderboard_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.leaderboard_name_.IsDefault()) { - _impl_.leaderboard_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void ScoreLeaderboardData::set_allocated_leaderboard_name(std::string* leaderboard_name) { - if (leaderboard_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.leaderboard_name_.SetAllocated(leaderboard_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.leaderboard_name_.IsDefault()) { - _impl_.leaderboard_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:ScoreLeaderboardData.leaderboard_name) -} - -// ------------------------------------------------------------------- - -// PlayerQuestData_QuestItemData - -// optional uint64 quest_id = 1; -inline bool PlayerQuestData_QuestItemData::_internal_has_quest_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool PlayerQuestData_QuestItemData::has_quest_id() const { - return _internal_has_quest_id(); -} -inline void PlayerQuestData_QuestItemData::clear_quest_id() { - _impl_.quest_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t PlayerQuestData_QuestItemData::_internal_quest_id() const { - return _impl_.quest_id_; -} -inline uint64_t PlayerQuestData_QuestItemData::quest_id() const { - // @@protoc_insertion_point(field_get:PlayerQuestData.QuestItemData.quest_id) - return _internal_quest_id(); -} -inline void PlayerQuestData_QuestItemData::_internal_set_quest_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.quest_id_ = value; -} -inline void PlayerQuestData_QuestItemData::set_quest_id(uint64_t value) { - _internal_set_quest_id(value); - // @@protoc_insertion_point(field_set:PlayerQuestData.QuestItemData.quest_id) -} - -// optional int32 quest_normal_points_earned = 2; -inline bool PlayerQuestData_QuestItemData::_internal_has_quest_normal_points_earned() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool PlayerQuestData_QuestItemData::has_quest_normal_points_earned() const { - return _internal_has_quest_normal_points_earned(); -} -inline void PlayerQuestData_QuestItemData::clear_quest_normal_points_earned() { - _impl_.quest_normal_points_earned_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t PlayerQuestData_QuestItemData::_internal_quest_normal_points_earned() const { - return _impl_.quest_normal_points_earned_; -} -inline int32_t PlayerQuestData_QuestItemData::quest_normal_points_earned() const { - // @@protoc_insertion_point(field_get:PlayerQuestData.QuestItemData.quest_normal_points_earned) - return _internal_quest_normal_points_earned(); -} -inline void PlayerQuestData_QuestItemData::_internal_set_quest_normal_points_earned(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.quest_normal_points_earned_ = value; -} -inline void PlayerQuestData_QuestItemData::set_quest_normal_points_earned(int32_t value) { - _internal_set_quest_normal_points_earned(value); - // @@protoc_insertion_point(field_set:PlayerQuestData.QuestItemData.quest_normal_points_earned) -} - -// optional int32 quest_bonus_points_earned = 3; -inline bool PlayerQuestData_QuestItemData::_internal_has_quest_bonus_points_earned() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool PlayerQuestData_QuestItemData::has_quest_bonus_points_earned() const { - return _internal_has_quest_bonus_points_earned(); -} -inline void PlayerQuestData_QuestItemData::clear_quest_bonus_points_earned() { - _impl_.quest_bonus_points_earned_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t PlayerQuestData_QuestItemData::_internal_quest_bonus_points_earned() const { - return _impl_.quest_bonus_points_earned_; -} -inline int32_t PlayerQuestData_QuestItemData::quest_bonus_points_earned() const { - // @@protoc_insertion_point(field_get:PlayerQuestData.QuestItemData.quest_bonus_points_earned) - return _internal_quest_bonus_points_earned(); -} -inline void PlayerQuestData_QuestItemData::_internal_set_quest_bonus_points_earned(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.quest_bonus_points_earned_ = value; -} -inline void PlayerQuestData_QuestItemData::set_quest_bonus_points_earned(int32_t value) { - _internal_set_quest_bonus_points_earned(value); - // @@protoc_insertion_point(field_set:PlayerQuestData.QuestItemData.quest_bonus_points_earned) -} - -// repeated int32 quest_normal_points_required = 4; -inline int PlayerQuestData_QuestItemData::_internal_quest_normal_points_required_size() const { - return _impl_.quest_normal_points_required_.size(); -} -inline int PlayerQuestData_QuestItemData::quest_normal_points_required_size() const { - return _internal_quest_normal_points_required_size(); -} -inline void PlayerQuestData_QuestItemData::clear_quest_normal_points_required() { - _impl_.quest_normal_points_required_.Clear(); -} -inline int32_t PlayerQuestData_QuestItemData::_internal_quest_normal_points_required(int index) const { - return _impl_.quest_normal_points_required_.Get(index); -} -inline int32_t PlayerQuestData_QuestItemData::quest_normal_points_required(int index) const { - // @@protoc_insertion_point(field_get:PlayerQuestData.QuestItemData.quest_normal_points_required) - return _internal_quest_normal_points_required(index); -} -inline void PlayerQuestData_QuestItemData::set_quest_normal_points_required(int index, int32_t value) { - _impl_.quest_normal_points_required_.Set(index, value); - // @@protoc_insertion_point(field_set:PlayerQuestData.QuestItemData.quest_normal_points_required) -} -inline void PlayerQuestData_QuestItemData::_internal_add_quest_normal_points_required(int32_t value) { - _impl_.quest_normal_points_required_.Add(value); -} -inline void PlayerQuestData_QuestItemData::add_quest_normal_points_required(int32_t value) { - _internal_add_quest_normal_points_required(value); - // @@protoc_insertion_point(field_add:PlayerQuestData.QuestItemData.quest_normal_points_required) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -PlayerQuestData_QuestItemData::_internal_quest_normal_points_required() const { - return _impl_.quest_normal_points_required_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -PlayerQuestData_QuestItemData::quest_normal_points_required() const { - // @@protoc_insertion_point(field_list:PlayerQuestData.QuestItemData.quest_normal_points_required) - return _internal_quest_normal_points_required(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -PlayerQuestData_QuestItemData::_internal_mutable_quest_normal_points_required() { - return &_impl_.quest_normal_points_required_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -PlayerQuestData_QuestItemData::mutable_quest_normal_points_required() { - // @@protoc_insertion_point(field_mutable_list:PlayerQuestData.QuestItemData.quest_normal_points_required) - return _internal_mutable_quest_normal_points_required(); -} - -// repeated int32 quest_reward_xp = 5; -inline int PlayerQuestData_QuestItemData::_internal_quest_reward_xp_size() const { - return _impl_.quest_reward_xp_.size(); -} -inline int PlayerQuestData_QuestItemData::quest_reward_xp_size() const { - return _internal_quest_reward_xp_size(); -} -inline void PlayerQuestData_QuestItemData::clear_quest_reward_xp() { - _impl_.quest_reward_xp_.Clear(); -} -inline int32_t PlayerQuestData_QuestItemData::_internal_quest_reward_xp(int index) const { - return _impl_.quest_reward_xp_.Get(index); -} -inline int32_t PlayerQuestData_QuestItemData::quest_reward_xp(int index) const { - // @@protoc_insertion_point(field_get:PlayerQuestData.QuestItemData.quest_reward_xp) - return _internal_quest_reward_xp(index); -} -inline void PlayerQuestData_QuestItemData::set_quest_reward_xp(int index, int32_t value) { - _impl_.quest_reward_xp_.Set(index, value); - // @@protoc_insertion_point(field_set:PlayerQuestData.QuestItemData.quest_reward_xp) -} -inline void PlayerQuestData_QuestItemData::_internal_add_quest_reward_xp(int32_t value) { - _impl_.quest_reward_xp_.Add(value); -} -inline void PlayerQuestData_QuestItemData::add_quest_reward_xp(int32_t value) { - _internal_add_quest_reward_xp(value); - // @@protoc_insertion_point(field_add:PlayerQuestData.QuestItemData.quest_reward_xp) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -PlayerQuestData_QuestItemData::_internal_quest_reward_xp() const { - return _impl_.quest_reward_xp_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -PlayerQuestData_QuestItemData::quest_reward_xp() const { - // @@protoc_insertion_point(field_list:PlayerQuestData.QuestItemData.quest_reward_xp) - return _internal_quest_reward_xp(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -PlayerQuestData_QuestItemData::_internal_mutable_quest_reward_xp() { - return &_impl_.quest_reward_xp_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -PlayerQuestData_QuestItemData::mutable_quest_reward_xp() { - // @@protoc_insertion_point(field_mutable_list:PlayerQuestData.QuestItemData.quest_reward_xp) - return _internal_mutable_quest_reward_xp(); -} - -// optional int32 quest_period = 6; -inline bool PlayerQuestData_QuestItemData::_internal_has_quest_period() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool PlayerQuestData_QuestItemData::has_quest_period() const { - return _internal_has_quest_period(); -} -inline void PlayerQuestData_QuestItemData::clear_quest_period() { - _impl_.quest_period_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t PlayerQuestData_QuestItemData::_internal_quest_period() const { - return _impl_.quest_period_; -} -inline int32_t PlayerQuestData_QuestItemData::quest_period() const { - // @@protoc_insertion_point(field_get:PlayerQuestData.QuestItemData.quest_period) - return _internal_quest_period(); -} -inline void PlayerQuestData_QuestItemData::_internal_set_quest_period(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.quest_period_ = value; -} -inline void PlayerQuestData_QuestItemData::set_quest_period(int32_t value) { - _internal_set_quest_period(value); - // @@protoc_insertion_point(field_set:PlayerQuestData.QuestItemData.quest_period) -} - -// optional .QuestType quest_type = 7 [default = k_EQuestType_Operation]; -inline bool PlayerQuestData_QuestItemData::_internal_has_quest_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool PlayerQuestData_QuestItemData::has_quest_type() const { - return _internal_has_quest_type(); -} -inline void PlayerQuestData_QuestItemData::clear_quest_type() { - _impl_.quest_type_ = 1; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline ::QuestType PlayerQuestData_QuestItemData::_internal_quest_type() const { - return static_cast< ::QuestType >(_impl_.quest_type_); -} -inline ::QuestType PlayerQuestData_QuestItemData::quest_type() const { - // @@protoc_insertion_point(field_get:PlayerQuestData.QuestItemData.quest_type) - return _internal_quest_type(); -} -inline void PlayerQuestData_QuestItemData::_internal_set_quest_type(::QuestType value) { - assert(::QuestType_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.quest_type_ = value; -} -inline void PlayerQuestData_QuestItemData::set_quest_type(::QuestType value) { - _internal_set_quest_type(value); - // @@protoc_insertion_point(field_set:PlayerQuestData.QuestItemData.quest_type) -} - -// ------------------------------------------------------------------- - -// PlayerQuestData - -// optional uint32 quester_account_id = 1; -inline bool PlayerQuestData::_internal_has_quester_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool PlayerQuestData::has_quester_account_id() const { - return _internal_has_quester_account_id(); -} -inline void PlayerQuestData::clear_quester_account_id() { - _impl_.quester_account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t PlayerQuestData::_internal_quester_account_id() const { - return _impl_.quester_account_id_; -} -inline uint32_t PlayerQuestData::quester_account_id() const { - // @@protoc_insertion_point(field_get:PlayerQuestData.quester_account_id) - return _internal_quester_account_id(); -} -inline void PlayerQuestData::_internal_set_quester_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.quester_account_id_ = value; -} -inline void PlayerQuestData::set_quester_account_id(uint32_t value) { - _internal_set_quester_account_id(value); - // @@protoc_insertion_point(field_set:PlayerQuestData.quester_account_id) -} - -// repeated .PlayerQuestData.QuestItemData quest_item_data = 2; -inline int PlayerQuestData::_internal_quest_item_data_size() const { - return _impl_.quest_item_data_.size(); -} -inline int PlayerQuestData::quest_item_data_size() const { - return _internal_quest_item_data_size(); -} -inline void PlayerQuestData::clear_quest_item_data() { - _impl_.quest_item_data_.Clear(); -} -inline ::PlayerQuestData_QuestItemData* PlayerQuestData::mutable_quest_item_data(int index) { - // @@protoc_insertion_point(field_mutable:PlayerQuestData.quest_item_data) - return _impl_.quest_item_data_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData_QuestItemData >* -PlayerQuestData::mutable_quest_item_data() { - // @@protoc_insertion_point(field_mutable_list:PlayerQuestData.quest_item_data) - return &_impl_.quest_item_data_; -} -inline const ::PlayerQuestData_QuestItemData& PlayerQuestData::_internal_quest_item_data(int index) const { - return _impl_.quest_item_data_.Get(index); -} -inline const ::PlayerQuestData_QuestItemData& PlayerQuestData::quest_item_data(int index) const { - // @@protoc_insertion_point(field_get:PlayerQuestData.quest_item_data) - return _internal_quest_item_data(index); -} -inline ::PlayerQuestData_QuestItemData* PlayerQuestData::_internal_add_quest_item_data() { - return _impl_.quest_item_data_.Add(); -} -inline ::PlayerQuestData_QuestItemData* PlayerQuestData::add_quest_item_data() { - ::PlayerQuestData_QuestItemData* _add = _internal_add_quest_item_data(); - // @@protoc_insertion_point(field_add:PlayerQuestData.quest_item_data) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData_QuestItemData >& -PlayerQuestData::quest_item_data() const { - // @@protoc_insertion_point(field_list:PlayerQuestData.quest_item_data) - return _impl_.quest_item_data_; -} - -// repeated .XpProgressData xp_progress_data = 3; -inline int PlayerQuestData::_internal_xp_progress_data_size() const { - return _impl_.xp_progress_data_.size(); -} -inline int PlayerQuestData::xp_progress_data_size() const { - return _internal_xp_progress_data_size(); -} -inline void PlayerQuestData::clear_xp_progress_data() { - _impl_.xp_progress_data_.Clear(); -} -inline ::XpProgressData* PlayerQuestData::mutable_xp_progress_data(int index) { - // @@protoc_insertion_point(field_mutable:PlayerQuestData.xp_progress_data) - return _impl_.xp_progress_data_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData >* -PlayerQuestData::mutable_xp_progress_data() { - // @@protoc_insertion_point(field_mutable_list:PlayerQuestData.xp_progress_data) - return &_impl_.xp_progress_data_; -} -inline const ::XpProgressData& PlayerQuestData::_internal_xp_progress_data(int index) const { - return _impl_.xp_progress_data_.Get(index); -} -inline const ::XpProgressData& PlayerQuestData::xp_progress_data(int index) const { - // @@protoc_insertion_point(field_get:PlayerQuestData.xp_progress_data) - return _internal_xp_progress_data(index); -} -inline ::XpProgressData* PlayerQuestData::_internal_add_xp_progress_data() { - return _impl_.xp_progress_data_.Add(); -} -inline ::XpProgressData* PlayerQuestData::add_xp_progress_data() { - ::XpProgressData* _add = _internal_add_xp_progress_data(); - // @@protoc_insertion_point(field_add:PlayerQuestData.xp_progress_data) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData >& -PlayerQuestData::xp_progress_data() const { - // @@protoc_insertion_point(field_list:PlayerQuestData.xp_progress_data) - return _impl_.xp_progress_data_; -} - -// optional uint32 time_played = 4; -inline bool PlayerQuestData::_internal_has_time_played() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool PlayerQuestData::has_time_played() const { - return _internal_has_time_played(); -} -inline void PlayerQuestData::clear_time_played() { - _impl_.time_played_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t PlayerQuestData::_internal_time_played() const { - return _impl_.time_played_; -} -inline uint32_t PlayerQuestData::time_played() const { - // @@protoc_insertion_point(field_get:PlayerQuestData.time_played) - return _internal_time_played(); -} -inline void PlayerQuestData::_internal_set_time_played(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.time_played_ = value; -} -inline void PlayerQuestData::set_time_played(uint32_t value) { - _internal_set_time_played(value); - // @@protoc_insertion_point(field_set:PlayerQuestData.time_played) -} - -// optional uint32 mm_game_mode = 5; -inline bool PlayerQuestData::_internal_has_mm_game_mode() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool PlayerQuestData::has_mm_game_mode() const { - return _internal_has_mm_game_mode(); -} -inline void PlayerQuestData::clear_mm_game_mode() { - _impl_.mm_game_mode_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t PlayerQuestData::_internal_mm_game_mode() const { - return _impl_.mm_game_mode_; -} -inline uint32_t PlayerQuestData::mm_game_mode() const { - // @@protoc_insertion_point(field_get:PlayerQuestData.mm_game_mode) - return _internal_mm_game_mode(); -} -inline void PlayerQuestData::_internal_set_mm_game_mode(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.mm_game_mode_ = value; -} -inline void PlayerQuestData::set_mm_game_mode(uint32_t value) { - _internal_set_mm_game_mode(value); - // @@protoc_insertion_point(field_set:PlayerQuestData.mm_game_mode) -} - -// repeated .MatchEndItemUpdates item_updates = 6; -inline int PlayerQuestData::_internal_item_updates_size() const { - return _impl_.item_updates_.size(); -} -inline int PlayerQuestData::item_updates_size() const { - return _internal_item_updates_size(); -} -inline void PlayerQuestData::clear_item_updates() { - _impl_.item_updates_.Clear(); -} -inline ::MatchEndItemUpdates* PlayerQuestData::mutable_item_updates(int index) { - // @@protoc_insertion_point(field_mutable:PlayerQuestData.item_updates) - return _impl_.item_updates_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MatchEndItemUpdates >* -PlayerQuestData::mutable_item_updates() { - // @@protoc_insertion_point(field_mutable_list:PlayerQuestData.item_updates) - return &_impl_.item_updates_; -} -inline const ::MatchEndItemUpdates& PlayerQuestData::_internal_item_updates(int index) const { - return _impl_.item_updates_.Get(index); -} -inline const ::MatchEndItemUpdates& PlayerQuestData::item_updates(int index) const { - // @@protoc_insertion_point(field_get:PlayerQuestData.item_updates) - return _internal_item_updates(index); -} -inline ::MatchEndItemUpdates* PlayerQuestData::_internal_add_item_updates() { - return _impl_.item_updates_.Add(); -} -inline ::MatchEndItemUpdates* PlayerQuestData::add_item_updates() { - ::MatchEndItemUpdates* _add = _internal_add_item_updates(); - // @@protoc_insertion_point(field_add:PlayerQuestData.item_updates) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MatchEndItemUpdates >& -PlayerQuestData::item_updates() const { - // @@protoc_insertion_point(field_list:PlayerQuestData.item_updates) - return _impl_.item_updates_; -} - -// optional bool operation_points_eligible = 7; -inline bool PlayerQuestData::_internal_has_operation_points_eligible() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool PlayerQuestData::has_operation_points_eligible() const { - return _internal_has_operation_points_eligible(); -} -inline void PlayerQuestData::clear_operation_points_eligible() { - _impl_.operation_points_eligible_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool PlayerQuestData::_internal_operation_points_eligible() const { - return _impl_.operation_points_eligible_; -} -inline bool PlayerQuestData::operation_points_eligible() const { - // @@protoc_insertion_point(field_get:PlayerQuestData.operation_points_eligible) - return _internal_operation_points_eligible(); -} -inline void PlayerQuestData::_internal_set_operation_points_eligible(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.operation_points_eligible_ = value; -} -inline void PlayerQuestData::set_operation_points_eligible(bool value) { - _internal_set_operation_points_eligible(value); - // @@protoc_insertion_point(field_set:PlayerQuestData.operation_points_eligible) -} - -// repeated .CMsgCsgoSteamUserStatChange userstatchanges = 8; -inline int PlayerQuestData::_internal_userstatchanges_size() const { - return _impl_.userstatchanges_.size(); -} -inline int PlayerQuestData::userstatchanges_size() const { - return _internal_userstatchanges_size(); -} -inline void PlayerQuestData::clear_userstatchanges() { - _impl_.userstatchanges_.Clear(); -} -inline ::CMsgCsgoSteamUserStatChange* PlayerQuestData::mutable_userstatchanges(int index) { - // @@protoc_insertion_point(field_mutable:PlayerQuestData.userstatchanges) - return _impl_.userstatchanges_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgCsgoSteamUserStatChange >* -PlayerQuestData::mutable_userstatchanges() { - // @@protoc_insertion_point(field_mutable_list:PlayerQuestData.userstatchanges) - return &_impl_.userstatchanges_; -} -inline const ::CMsgCsgoSteamUserStatChange& PlayerQuestData::_internal_userstatchanges(int index) const { - return _impl_.userstatchanges_.Get(index); -} -inline const ::CMsgCsgoSteamUserStatChange& PlayerQuestData::userstatchanges(int index) const { - // @@protoc_insertion_point(field_get:PlayerQuestData.userstatchanges) - return _internal_userstatchanges(index); -} -inline ::CMsgCsgoSteamUserStatChange* PlayerQuestData::_internal_add_userstatchanges() { - return _impl_.userstatchanges_.Add(); -} -inline ::CMsgCsgoSteamUserStatChange* PlayerQuestData::add_userstatchanges() { - ::CMsgCsgoSteamUserStatChange* _add = _internal_add_userstatchanges(); - // @@protoc_insertion_point(field_add:PlayerQuestData.userstatchanges) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgCsgoSteamUserStatChange >& -PlayerQuestData::userstatchanges() const { - // @@protoc_insertion_point(field_list:PlayerQuestData.userstatchanges) - return _impl_.userstatchanges_; -} - -// ------------------------------------------------------------------- - -// DeepPlayerStatsEntry - -// optional uint32 accountid = 1; -inline bool DeepPlayerStatsEntry::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_accountid() const { - return _internal_has_accountid(); -} -inline void DeepPlayerStatsEntry::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t DeepPlayerStatsEntry::accountid() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.accountid) - return _internal_accountid(); -} -inline void DeepPlayerStatsEntry::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.accountid_ = value; -} -inline void DeepPlayerStatsEntry::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.accountid) -} - -// optional uint64 match_id = 2; -inline bool DeepPlayerStatsEntry::_internal_has_match_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_match_id() const { - return _internal_has_match_id(); -} -inline void DeepPlayerStatsEntry::clear_match_id() { - _impl_.match_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t DeepPlayerStatsEntry::_internal_match_id() const { - return _impl_.match_id_; -} -inline uint64_t DeepPlayerStatsEntry::match_id() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.match_id) - return _internal_match_id(); -} -inline void DeepPlayerStatsEntry::_internal_set_match_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.match_id_ = value; -} -inline void DeepPlayerStatsEntry::set_match_id(uint64_t value) { - _internal_set_match_id(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.match_id) -} - -// optional uint32 mm_game_mode = 3; -inline bool DeepPlayerStatsEntry::_internal_has_mm_game_mode() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_mm_game_mode() const { - return _internal_has_mm_game_mode(); -} -inline void DeepPlayerStatsEntry::clear_mm_game_mode() { - _impl_.mm_game_mode_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_mm_game_mode() const { - return _impl_.mm_game_mode_; -} -inline uint32_t DeepPlayerStatsEntry::mm_game_mode() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.mm_game_mode) - return _internal_mm_game_mode(); -} -inline void DeepPlayerStatsEntry::_internal_set_mm_game_mode(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.mm_game_mode_ = value; -} -inline void DeepPlayerStatsEntry::set_mm_game_mode(uint32_t value) { - _internal_set_mm_game_mode(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.mm_game_mode) -} - -// optional uint32 mapid = 4; -inline bool DeepPlayerStatsEntry::_internal_has_mapid() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_mapid() const { - return _internal_has_mapid(); -} -inline void DeepPlayerStatsEntry::clear_mapid() { - _impl_.mapid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_mapid() const { - return _impl_.mapid_; -} -inline uint32_t DeepPlayerStatsEntry::mapid() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.mapid) - return _internal_mapid(); -} -inline void DeepPlayerStatsEntry::_internal_set_mapid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.mapid_ = value; -} -inline void DeepPlayerStatsEntry::set_mapid(uint32_t value) { - _internal_set_mapid(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.mapid) -} - -// optional bool b_starting_ct = 5; -inline bool DeepPlayerStatsEntry::_internal_has_b_starting_ct() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_b_starting_ct() const { - return _internal_has_b_starting_ct(); -} -inline void DeepPlayerStatsEntry::clear_b_starting_ct() { - _impl_.b_starting_ct_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool DeepPlayerStatsEntry::_internal_b_starting_ct() const { - return _impl_.b_starting_ct_; -} -inline bool DeepPlayerStatsEntry::b_starting_ct() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.b_starting_ct) - return _internal_b_starting_ct(); -} -inline void DeepPlayerStatsEntry::_internal_set_b_starting_ct(bool value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.b_starting_ct_ = value; -} -inline void DeepPlayerStatsEntry::set_b_starting_ct(bool value) { - _internal_set_b_starting_ct(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.b_starting_ct) -} - -// optional uint32 match_outcome = 6; -inline bool DeepPlayerStatsEntry::_internal_has_match_outcome() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_match_outcome() const { - return _internal_has_match_outcome(); -} -inline void DeepPlayerStatsEntry::clear_match_outcome() { - _impl_.match_outcome_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_match_outcome() const { - return _impl_.match_outcome_; -} -inline uint32_t DeepPlayerStatsEntry::match_outcome() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.match_outcome) - return _internal_match_outcome(); -} -inline void DeepPlayerStatsEntry::_internal_set_match_outcome(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.match_outcome_ = value; -} -inline void DeepPlayerStatsEntry::set_match_outcome(uint32_t value) { - _internal_set_match_outcome(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.match_outcome) -} - -// optional uint32 rounds_won = 7; -inline bool DeepPlayerStatsEntry::_internal_has_rounds_won() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_rounds_won() const { - return _internal_has_rounds_won(); -} -inline void DeepPlayerStatsEntry::clear_rounds_won() { - _impl_.rounds_won_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_rounds_won() const { - return _impl_.rounds_won_; -} -inline uint32_t DeepPlayerStatsEntry::rounds_won() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.rounds_won) - return _internal_rounds_won(); -} -inline void DeepPlayerStatsEntry::_internal_set_rounds_won(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.rounds_won_ = value; -} -inline void DeepPlayerStatsEntry::set_rounds_won(uint32_t value) { - _internal_set_rounds_won(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.rounds_won) -} - -// optional uint32 rounds_lost = 8; -inline bool DeepPlayerStatsEntry::_internal_has_rounds_lost() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_rounds_lost() const { - return _internal_has_rounds_lost(); -} -inline void DeepPlayerStatsEntry::clear_rounds_lost() { - _impl_.rounds_lost_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_rounds_lost() const { - return _impl_.rounds_lost_; -} -inline uint32_t DeepPlayerStatsEntry::rounds_lost() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.rounds_lost) - return _internal_rounds_lost(); -} -inline void DeepPlayerStatsEntry::_internal_set_rounds_lost(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.rounds_lost_ = value; -} -inline void DeepPlayerStatsEntry::set_rounds_lost(uint32_t value) { - _internal_set_rounds_lost(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.rounds_lost) -} - -// optional uint32 stat_score = 9; -inline bool DeepPlayerStatsEntry::_internal_has_stat_score() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_stat_score() const { - return _internal_has_stat_score(); -} -inline void DeepPlayerStatsEntry::clear_stat_score() { - _impl_.stat_score_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_stat_score() const { - return _impl_.stat_score_; -} -inline uint32_t DeepPlayerStatsEntry::stat_score() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.stat_score) - return _internal_stat_score(); -} -inline void DeepPlayerStatsEntry::_internal_set_stat_score(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.stat_score_ = value; -} -inline void DeepPlayerStatsEntry::set_stat_score(uint32_t value) { - _internal_set_stat_score(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.stat_score) -} - -// optional uint32 stat_deaths = 12; -inline bool DeepPlayerStatsEntry::_internal_has_stat_deaths() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_stat_deaths() const { - return _internal_has_stat_deaths(); -} -inline void DeepPlayerStatsEntry::clear_stat_deaths() { - _impl_.stat_deaths_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_stat_deaths() const { - return _impl_.stat_deaths_; -} -inline uint32_t DeepPlayerStatsEntry::stat_deaths() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.stat_deaths) - return _internal_stat_deaths(); -} -inline void DeepPlayerStatsEntry::_internal_set_stat_deaths(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.stat_deaths_ = value; -} -inline void DeepPlayerStatsEntry::set_stat_deaths(uint32_t value) { - _internal_set_stat_deaths(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.stat_deaths) -} - -// optional uint32 stat_mvps = 13; -inline bool DeepPlayerStatsEntry::_internal_has_stat_mvps() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_stat_mvps() const { - return _internal_has_stat_mvps(); -} -inline void DeepPlayerStatsEntry::clear_stat_mvps() { - _impl_.stat_mvps_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_stat_mvps() const { - return _impl_.stat_mvps_; -} -inline uint32_t DeepPlayerStatsEntry::stat_mvps() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.stat_mvps) - return _internal_stat_mvps(); -} -inline void DeepPlayerStatsEntry::_internal_set_stat_mvps(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.stat_mvps_ = value; -} -inline void DeepPlayerStatsEntry::set_stat_mvps(uint32_t value) { - _internal_set_stat_mvps(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.stat_mvps) -} - -// optional uint32 enemy_kills = 14; -inline bool DeepPlayerStatsEntry::_internal_has_enemy_kills() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_enemy_kills() const { - return _internal_has_enemy_kills(); -} -inline void DeepPlayerStatsEntry::clear_enemy_kills() { - _impl_.enemy_kills_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_enemy_kills() const { - return _impl_.enemy_kills_; -} -inline uint32_t DeepPlayerStatsEntry::enemy_kills() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.enemy_kills) - return _internal_enemy_kills(); -} -inline void DeepPlayerStatsEntry::_internal_set_enemy_kills(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.enemy_kills_ = value; -} -inline void DeepPlayerStatsEntry::set_enemy_kills(uint32_t value) { - _internal_set_enemy_kills(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.enemy_kills) -} - -// optional uint32 enemy_headshots = 15; -inline bool DeepPlayerStatsEntry::_internal_has_enemy_headshots() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_enemy_headshots() const { - return _internal_has_enemy_headshots(); -} -inline void DeepPlayerStatsEntry::clear_enemy_headshots() { - _impl_.enemy_headshots_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_enemy_headshots() const { - return _impl_.enemy_headshots_; -} -inline uint32_t DeepPlayerStatsEntry::enemy_headshots() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.enemy_headshots) - return _internal_enemy_headshots(); -} -inline void DeepPlayerStatsEntry::_internal_set_enemy_headshots(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.enemy_headshots_ = value; -} -inline void DeepPlayerStatsEntry::set_enemy_headshots(uint32_t value) { - _internal_set_enemy_headshots(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.enemy_headshots) -} - -// optional uint32 enemy_2ks = 16; -inline bool DeepPlayerStatsEntry::_internal_has_enemy_2ks() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_enemy_2ks() const { - return _internal_has_enemy_2ks(); -} -inline void DeepPlayerStatsEntry::clear_enemy_2ks() { - _impl_.enemy_2ks_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_enemy_2ks() const { - return _impl_.enemy_2ks_; -} -inline uint32_t DeepPlayerStatsEntry::enemy_2ks() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.enemy_2ks) - return _internal_enemy_2ks(); -} -inline void DeepPlayerStatsEntry::_internal_set_enemy_2ks(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.enemy_2ks_ = value; -} -inline void DeepPlayerStatsEntry::set_enemy_2ks(uint32_t value) { - _internal_set_enemy_2ks(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.enemy_2ks) -} - -// optional uint32 enemy_3ks = 17; -inline bool DeepPlayerStatsEntry::_internal_has_enemy_3ks() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_enemy_3ks() const { - return _internal_has_enemy_3ks(); -} -inline void DeepPlayerStatsEntry::clear_enemy_3ks() { - _impl_.enemy_3ks_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_enemy_3ks() const { - return _impl_.enemy_3ks_; -} -inline uint32_t DeepPlayerStatsEntry::enemy_3ks() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.enemy_3ks) - return _internal_enemy_3ks(); -} -inline void DeepPlayerStatsEntry::_internal_set_enemy_3ks(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.enemy_3ks_ = value; -} -inline void DeepPlayerStatsEntry::set_enemy_3ks(uint32_t value) { - _internal_set_enemy_3ks(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.enemy_3ks) -} - -// optional uint32 enemy_4ks = 18; -inline bool DeepPlayerStatsEntry::_internal_has_enemy_4ks() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_enemy_4ks() const { - return _internal_has_enemy_4ks(); -} -inline void DeepPlayerStatsEntry::clear_enemy_4ks() { - _impl_.enemy_4ks_ = 0u; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_enemy_4ks() const { - return _impl_.enemy_4ks_; -} -inline uint32_t DeepPlayerStatsEntry::enemy_4ks() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.enemy_4ks) - return _internal_enemy_4ks(); -} -inline void DeepPlayerStatsEntry::_internal_set_enemy_4ks(uint32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.enemy_4ks_ = value; -} -inline void DeepPlayerStatsEntry::set_enemy_4ks(uint32_t value) { - _internal_set_enemy_4ks(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.enemy_4ks) -} - -// optional uint32 total_damage = 19; -inline bool DeepPlayerStatsEntry::_internal_has_total_damage() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_total_damage() const { - return _internal_has_total_damage(); -} -inline void DeepPlayerStatsEntry::clear_total_damage() { - _impl_.total_damage_ = 0u; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_total_damage() const { - return _impl_.total_damage_; -} -inline uint32_t DeepPlayerStatsEntry::total_damage() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.total_damage) - return _internal_total_damage(); -} -inline void DeepPlayerStatsEntry::_internal_set_total_damage(uint32_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.total_damage_ = value; -} -inline void DeepPlayerStatsEntry::set_total_damage(uint32_t value) { - _internal_set_total_damage(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.total_damage) -} - -// optional uint32 engagements_entry_count = 23; -inline bool DeepPlayerStatsEntry::_internal_has_engagements_entry_count() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_engagements_entry_count() const { - return _internal_has_engagements_entry_count(); -} -inline void DeepPlayerStatsEntry::clear_engagements_entry_count() { - _impl_.engagements_entry_count_ = 0u; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_engagements_entry_count() const { - return _impl_.engagements_entry_count_; -} -inline uint32_t DeepPlayerStatsEntry::engagements_entry_count() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.engagements_entry_count) - return _internal_engagements_entry_count(); -} -inline void DeepPlayerStatsEntry::_internal_set_engagements_entry_count(uint32_t value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.engagements_entry_count_ = value; -} -inline void DeepPlayerStatsEntry::set_engagements_entry_count(uint32_t value) { - _internal_set_engagements_entry_count(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.engagements_entry_count) -} - -// optional uint32 engagements_entry_wins = 24; -inline bool DeepPlayerStatsEntry::_internal_has_engagements_entry_wins() const { - bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_engagements_entry_wins() const { - return _internal_has_engagements_entry_wins(); -} -inline void DeepPlayerStatsEntry::clear_engagements_entry_wins() { - _impl_.engagements_entry_wins_ = 0u; - _impl_._has_bits_[0] &= ~0x00040000u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_engagements_entry_wins() const { - return _impl_.engagements_entry_wins_; -} -inline uint32_t DeepPlayerStatsEntry::engagements_entry_wins() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.engagements_entry_wins) - return _internal_engagements_entry_wins(); -} -inline void DeepPlayerStatsEntry::_internal_set_engagements_entry_wins(uint32_t value) { - _impl_._has_bits_[0] |= 0x00040000u; - _impl_.engagements_entry_wins_ = value; -} -inline void DeepPlayerStatsEntry::set_engagements_entry_wins(uint32_t value) { - _internal_set_engagements_entry_wins(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.engagements_entry_wins) -} - -// optional uint32 engagements_1v1_count = 25; -inline bool DeepPlayerStatsEntry::_internal_has_engagements_1v1_count() const { - bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_engagements_1v1_count() const { - return _internal_has_engagements_1v1_count(); -} -inline void DeepPlayerStatsEntry::clear_engagements_1v1_count() { - _impl_.engagements_1v1_count_ = 0u; - _impl_._has_bits_[0] &= ~0x00080000u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_engagements_1v1_count() const { - return _impl_.engagements_1v1_count_; -} -inline uint32_t DeepPlayerStatsEntry::engagements_1v1_count() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.engagements_1v1_count) - return _internal_engagements_1v1_count(); -} -inline void DeepPlayerStatsEntry::_internal_set_engagements_1v1_count(uint32_t value) { - _impl_._has_bits_[0] |= 0x00080000u; - _impl_.engagements_1v1_count_ = value; -} -inline void DeepPlayerStatsEntry::set_engagements_1v1_count(uint32_t value) { - _internal_set_engagements_1v1_count(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.engagements_1v1_count) -} - -// optional uint32 engagements_1v1_wins = 26; -inline bool DeepPlayerStatsEntry::_internal_has_engagements_1v1_wins() const { - bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_engagements_1v1_wins() const { - return _internal_has_engagements_1v1_wins(); -} -inline void DeepPlayerStatsEntry::clear_engagements_1v1_wins() { - _impl_.engagements_1v1_wins_ = 0u; - _impl_._has_bits_[0] &= ~0x00100000u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_engagements_1v1_wins() const { - return _impl_.engagements_1v1_wins_; -} -inline uint32_t DeepPlayerStatsEntry::engagements_1v1_wins() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.engagements_1v1_wins) - return _internal_engagements_1v1_wins(); -} -inline void DeepPlayerStatsEntry::_internal_set_engagements_1v1_wins(uint32_t value) { - _impl_._has_bits_[0] |= 0x00100000u; - _impl_.engagements_1v1_wins_ = value; -} -inline void DeepPlayerStatsEntry::set_engagements_1v1_wins(uint32_t value) { - _internal_set_engagements_1v1_wins(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.engagements_1v1_wins) -} - -// optional uint32 engagements_1v2_count = 27; -inline bool DeepPlayerStatsEntry::_internal_has_engagements_1v2_count() const { - bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_engagements_1v2_count() const { - return _internal_has_engagements_1v2_count(); -} -inline void DeepPlayerStatsEntry::clear_engagements_1v2_count() { - _impl_.engagements_1v2_count_ = 0u; - _impl_._has_bits_[0] &= ~0x00200000u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_engagements_1v2_count() const { - return _impl_.engagements_1v2_count_; -} -inline uint32_t DeepPlayerStatsEntry::engagements_1v2_count() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.engagements_1v2_count) - return _internal_engagements_1v2_count(); -} -inline void DeepPlayerStatsEntry::_internal_set_engagements_1v2_count(uint32_t value) { - _impl_._has_bits_[0] |= 0x00200000u; - _impl_.engagements_1v2_count_ = value; -} -inline void DeepPlayerStatsEntry::set_engagements_1v2_count(uint32_t value) { - _internal_set_engagements_1v2_count(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.engagements_1v2_count) -} - -// optional uint32 engagements_1v2_wins = 28; -inline bool DeepPlayerStatsEntry::_internal_has_engagements_1v2_wins() const { - bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_engagements_1v2_wins() const { - return _internal_has_engagements_1v2_wins(); -} -inline void DeepPlayerStatsEntry::clear_engagements_1v2_wins() { - _impl_.engagements_1v2_wins_ = 0u; - _impl_._has_bits_[0] &= ~0x00400000u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_engagements_1v2_wins() const { - return _impl_.engagements_1v2_wins_; -} -inline uint32_t DeepPlayerStatsEntry::engagements_1v2_wins() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.engagements_1v2_wins) - return _internal_engagements_1v2_wins(); -} -inline void DeepPlayerStatsEntry::_internal_set_engagements_1v2_wins(uint32_t value) { - _impl_._has_bits_[0] |= 0x00400000u; - _impl_.engagements_1v2_wins_ = value; -} -inline void DeepPlayerStatsEntry::set_engagements_1v2_wins(uint32_t value) { - _internal_set_engagements_1v2_wins(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.engagements_1v2_wins) -} - -// optional uint32 utility_count = 29; -inline bool DeepPlayerStatsEntry::_internal_has_utility_count() const { - bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_utility_count() const { - return _internal_has_utility_count(); -} -inline void DeepPlayerStatsEntry::clear_utility_count() { - _impl_.utility_count_ = 0u; - _impl_._has_bits_[0] &= ~0x00800000u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_utility_count() const { - return _impl_.utility_count_; -} -inline uint32_t DeepPlayerStatsEntry::utility_count() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.utility_count) - return _internal_utility_count(); -} -inline void DeepPlayerStatsEntry::_internal_set_utility_count(uint32_t value) { - _impl_._has_bits_[0] |= 0x00800000u; - _impl_.utility_count_ = value; -} -inline void DeepPlayerStatsEntry::set_utility_count(uint32_t value) { - _internal_set_utility_count(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.utility_count) -} - -// optional uint32 utility_success = 30; -inline bool DeepPlayerStatsEntry::_internal_has_utility_success() const { - bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_utility_success() const { - return _internal_has_utility_success(); -} -inline void DeepPlayerStatsEntry::clear_utility_success() { - _impl_.utility_success_ = 0u; - _impl_._has_bits_[0] &= ~0x01000000u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_utility_success() const { - return _impl_.utility_success_; -} -inline uint32_t DeepPlayerStatsEntry::utility_success() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.utility_success) - return _internal_utility_success(); -} -inline void DeepPlayerStatsEntry::_internal_set_utility_success(uint32_t value) { - _impl_._has_bits_[0] |= 0x01000000u; - _impl_.utility_success_ = value; -} -inline void DeepPlayerStatsEntry::set_utility_success(uint32_t value) { - _internal_set_utility_success(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.utility_success) -} - -// optional uint32 flash_count = 32; -inline bool DeepPlayerStatsEntry::_internal_has_flash_count() const { - bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_flash_count() const { - return _internal_has_flash_count(); -} -inline void DeepPlayerStatsEntry::clear_flash_count() { - _impl_.flash_count_ = 0u; - _impl_._has_bits_[0] &= ~0x02000000u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_flash_count() const { - return _impl_.flash_count_; -} -inline uint32_t DeepPlayerStatsEntry::flash_count() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.flash_count) - return _internal_flash_count(); -} -inline void DeepPlayerStatsEntry::_internal_set_flash_count(uint32_t value) { - _impl_._has_bits_[0] |= 0x02000000u; - _impl_.flash_count_ = value; -} -inline void DeepPlayerStatsEntry::set_flash_count(uint32_t value) { - _internal_set_flash_count(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.flash_count) -} - -// optional uint32 flash_success = 33; -inline bool DeepPlayerStatsEntry::_internal_has_flash_success() const { - bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0; - return value; -} -inline bool DeepPlayerStatsEntry::has_flash_success() const { - return _internal_has_flash_success(); -} -inline void DeepPlayerStatsEntry::clear_flash_success() { - _impl_.flash_success_ = 0u; - _impl_._has_bits_[0] &= ~0x04000000u; -} -inline uint32_t DeepPlayerStatsEntry::_internal_flash_success() const { - return _impl_.flash_success_; -} -inline uint32_t DeepPlayerStatsEntry::flash_success() const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.flash_success) - return _internal_flash_success(); -} -inline void DeepPlayerStatsEntry::_internal_set_flash_success(uint32_t value) { - _impl_._has_bits_[0] |= 0x04000000u; - _impl_.flash_success_ = value; -} -inline void DeepPlayerStatsEntry::set_flash_success(uint32_t value) { - _internal_set_flash_success(value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.flash_success) -} - -// repeated uint32 mates = 34; -inline int DeepPlayerStatsEntry::_internal_mates_size() const { - return _impl_.mates_.size(); -} -inline int DeepPlayerStatsEntry::mates_size() const { - return _internal_mates_size(); -} -inline void DeepPlayerStatsEntry::clear_mates() { - _impl_.mates_.Clear(); -} -inline uint32_t DeepPlayerStatsEntry::_internal_mates(int index) const { - return _impl_.mates_.Get(index); -} -inline uint32_t DeepPlayerStatsEntry::mates(int index) const { - // @@protoc_insertion_point(field_get:DeepPlayerStatsEntry.mates) - return _internal_mates(index); -} -inline void DeepPlayerStatsEntry::set_mates(int index, uint32_t value) { - _impl_.mates_.Set(index, value); - // @@protoc_insertion_point(field_set:DeepPlayerStatsEntry.mates) -} -inline void DeepPlayerStatsEntry::_internal_add_mates(uint32_t value) { - _impl_.mates_.Add(value); -} -inline void DeepPlayerStatsEntry::add_mates(uint32_t value) { - _internal_add_mates(value); - // @@protoc_insertion_point(field_add:DeepPlayerStatsEntry.mates) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -DeepPlayerStatsEntry::_internal_mates() const { - return _impl_.mates_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -DeepPlayerStatsEntry::mates() const { - // @@protoc_insertion_point(field_list:DeepPlayerStatsEntry.mates) - return _internal_mates(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -DeepPlayerStatsEntry::_internal_mutable_mates() { - return &_impl_.mates_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -DeepPlayerStatsEntry::mutable_mates() { - // @@protoc_insertion_point(field_mutable_list:DeepPlayerStatsEntry.mates) - return _internal_mutable_mates(); -} - -// ------------------------------------------------------------------- - -// DeepPlayerMatchEvent - -// optional uint32 accountid = 1; -inline bool DeepPlayerMatchEvent::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool DeepPlayerMatchEvent::has_accountid() const { - return _internal_has_accountid(); -} -inline void DeepPlayerMatchEvent::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t DeepPlayerMatchEvent::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t DeepPlayerMatchEvent::accountid() const { - // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.accountid) - return _internal_accountid(); -} -inline void DeepPlayerMatchEvent::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.accountid_ = value; -} -inline void DeepPlayerMatchEvent::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.accountid) -} - -// optional uint64 match_id = 2; -inline bool DeepPlayerMatchEvent::_internal_has_match_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool DeepPlayerMatchEvent::has_match_id() const { - return _internal_has_match_id(); -} -inline void DeepPlayerMatchEvent::clear_match_id() { - _impl_.match_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t DeepPlayerMatchEvent::_internal_match_id() const { - return _impl_.match_id_; -} -inline uint64_t DeepPlayerMatchEvent::match_id() const { - // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.match_id) - return _internal_match_id(); -} -inline void DeepPlayerMatchEvent::_internal_set_match_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.match_id_ = value; -} -inline void DeepPlayerMatchEvent::set_match_id(uint64_t value) { - _internal_set_match_id(value); - // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.match_id) -} - -// optional uint32 event_id = 3; -inline bool DeepPlayerMatchEvent::_internal_has_event_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool DeepPlayerMatchEvent::has_event_id() const { - return _internal_has_event_id(); -} -inline void DeepPlayerMatchEvent::clear_event_id() { - _impl_.event_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t DeepPlayerMatchEvent::_internal_event_id() const { - return _impl_.event_id_; -} -inline uint32_t DeepPlayerMatchEvent::event_id() const { - // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.event_id) - return _internal_event_id(); -} -inline void DeepPlayerMatchEvent::_internal_set_event_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.event_id_ = value; -} -inline void DeepPlayerMatchEvent::set_event_id(uint32_t value) { - _internal_set_event_id(value); - // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.event_id) -} - -// optional uint32 event_type = 4; -inline bool DeepPlayerMatchEvent::_internal_has_event_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool DeepPlayerMatchEvent::has_event_type() const { - return _internal_has_event_type(); -} -inline void DeepPlayerMatchEvent::clear_event_type() { - _impl_.event_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t DeepPlayerMatchEvent::_internal_event_type() const { - return _impl_.event_type_; -} -inline uint32_t DeepPlayerMatchEvent::event_type() const { - // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.event_type) - return _internal_event_type(); -} -inline void DeepPlayerMatchEvent::_internal_set_event_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.event_type_ = value; -} -inline void DeepPlayerMatchEvent::set_event_type(uint32_t value) { - _internal_set_event_type(value); - // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.event_type) -} - -// optional bool b_playing_ct = 5; -inline bool DeepPlayerMatchEvent::_internal_has_b_playing_ct() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool DeepPlayerMatchEvent::has_b_playing_ct() const { - return _internal_has_b_playing_ct(); -} -inline void DeepPlayerMatchEvent::clear_b_playing_ct() { - _impl_.b_playing_ct_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool DeepPlayerMatchEvent::_internal_b_playing_ct() const { - return _impl_.b_playing_ct_; -} -inline bool DeepPlayerMatchEvent::b_playing_ct() const { - // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.b_playing_ct) - return _internal_b_playing_ct(); -} -inline void DeepPlayerMatchEvent::_internal_set_b_playing_ct(bool value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.b_playing_ct_ = value; -} -inline void DeepPlayerMatchEvent::set_b_playing_ct(bool value) { - _internal_set_b_playing_ct(value); - // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.b_playing_ct) -} - -// optional int32 user_pos_x = 6; -inline bool DeepPlayerMatchEvent::_internal_has_user_pos_x() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool DeepPlayerMatchEvent::has_user_pos_x() const { - return _internal_has_user_pos_x(); -} -inline void DeepPlayerMatchEvent::clear_user_pos_x() { - _impl_.user_pos_x_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t DeepPlayerMatchEvent::_internal_user_pos_x() const { - return _impl_.user_pos_x_; -} -inline int32_t DeepPlayerMatchEvent::user_pos_x() const { - // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.user_pos_x) - return _internal_user_pos_x(); -} -inline void DeepPlayerMatchEvent::_internal_set_user_pos_x(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.user_pos_x_ = value; -} -inline void DeepPlayerMatchEvent::set_user_pos_x(int32_t value) { - _internal_set_user_pos_x(value); - // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.user_pos_x) -} - -// optional int32 user_pos_y = 7; -inline bool DeepPlayerMatchEvent::_internal_has_user_pos_y() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool DeepPlayerMatchEvent::has_user_pos_y() const { - return _internal_has_user_pos_y(); -} -inline void DeepPlayerMatchEvent::clear_user_pos_y() { - _impl_.user_pos_y_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t DeepPlayerMatchEvent::_internal_user_pos_y() const { - return _impl_.user_pos_y_; -} -inline int32_t DeepPlayerMatchEvent::user_pos_y() const { - // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.user_pos_y) - return _internal_user_pos_y(); -} -inline void DeepPlayerMatchEvent::_internal_set_user_pos_y(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.user_pos_y_ = value; -} -inline void DeepPlayerMatchEvent::set_user_pos_y(int32_t value) { - _internal_set_user_pos_y(value); - // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.user_pos_y) -} - -// optional int32 user_pos_z = 12; -inline bool DeepPlayerMatchEvent::_internal_has_user_pos_z() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool DeepPlayerMatchEvent::has_user_pos_z() const { - return _internal_has_user_pos_z(); -} -inline void DeepPlayerMatchEvent::clear_user_pos_z() { - _impl_.user_pos_z_ = 0; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline int32_t DeepPlayerMatchEvent::_internal_user_pos_z() const { - return _impl_.user_pos_z_; -} -inline int32_t DeepPlayerMatchEvent::user_pos_z() const { - // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.user_pos_z) - return _internal_user_pos_z(); -} -inline void DeepPlayerMatchEvent::_internal_set_user_pos_z(int32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.user_pos_z_ = value; -} -inline void DeepPlayerMatchEvent::set_user_pos_z(int32_t value) { - _internal_set_user_pos_z(value); - // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.user_pos_z) -} - -// optional uint32 user_defidx = 8; -inline bool DeepPlayerMatchEvent::_internal_has_user_defidx() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool DeepPlayerMatchEvent::has_user_defidx() const { - return _internal_has_user_defidx(); -} -inline void DeepPlayerMatchEvent::clear_user_defidx() { - _impl_.user_defidx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t DeepPlayerMatchEvent::_internal_user_defidx() const { - return _impl_.user_defidx_; -} -inline uint32_t DeepPlayerMatchEvent::user_defidx() const { - // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.user_defidx) - return _internal_user_defidx(); -} -inline void DeepPlayerMatchEvent::_internal_set_user_defidx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.user_defidx_ = value; -} -inline void DeepPlayerMatchEvent::set_user_defidx(uint32_t value) { - _internal_set_user_defidx(value); - // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.user_defidx) -} - -// optional int32 other_pos_x = 9; -inline bool DeepPlayerMatchEvent::_internal_has_other_pos_x() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool DeepPlayerMatchEvent::has_other_pos_x() const { - return _internal_has_other_pos_x(); -} -inline void DeepPlayerMatchEvent::clear_other_pos_x() { - _impl_.other_pos_x_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t DeepPlayerMatchEvent::_internal_other_pos_x() const { - return _impl_.other_pos_x_; -} -inline int32_t DeepPlayerMatchEvent::other_pos_x() const { - // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.other_pos_x) - return _internal_other_pos_x(); -} -inline void DeepPlayerMatchEvent::_internal_set_other_pos_x(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.other_pos_x_ = value; -} -inline void DeepPlayerMatchEvent::set_other_pos_x(int32_t value) { - _internal_set_other_pos_x(value); - // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.other_pos_x) -} - -// optional int32 other_pos_y = 10; -inline bool DeepPlayerMatchEvent::_internal_has_other_pos_y() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool DeepPlayerMatchEvent::has_other_pos_y() const { - return _internal_has_other_pos_y(); -} -inline void DeepPlayerMatchEvent::clear_other_pos_y() { - _impl_.other_pos_y_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline int32_t DeepPlayerMatchEvent::_internal_other_pos_y() const { - return _impl_.other_pos_y_; -} -inline int32_t DeepPlayerMatchEvent::other_pos_y() const { - // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.other_pos_y) - return _internal_other_pos_y(); -} -inline void DeepPlayerMatchEvent::_internal_set_other_pos_y(int32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.other_pos_y_ = value; -} -inline void DeepPlayerMatchEvent::set_other_pos_y(int32_t value) { - _internal_set_other_pos_y(value); - // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.other_pos_y) -} - -// optional int32 other_pos_z = 13; -inline bool DeepPlayerMatchEvent::_internal_has_other_pos_z() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool DeepPlayerMatchEvent::has_other_pos_z() const { - return _internal_has_other_pos_z(); -} -inline void DeepPlayerMatchEvent::clear_other_pos_z() { - _impl_.other_pos_z_ = 0; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline int32_t DeepPlayerMatchEvent::_internal_other_pos_z() const { - return _impl_.other_pos_z_; -} -inline int32_t DeepPlayerMatchEvent::other_pos_z() const { - // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.other_pos_z) - return _internal_other_pos_z(); -} -inline void DeepPlayerMatchEvent::_internal_set_other_pos_z(int32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.other_pos_z_ = value; -} -inline void DeepPlayerMatchEvent::set_other_pos_z(int32_t value) { - _internal_set_other_pos_z(value); - // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.other_pos_z) -} - -// optional uint32 other_defidx = 11; -inline bool DeepPlayerMatchEvent::_internal_has_other_defidx() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool DeepPlayerMatchEvent::has_other_defidx() const { - return _internal_has_other_defidx(); -} -inline void DeepPlayerMatchEvent::clear_other_defidx() { - _impl_.other_defidx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t DeepPlayerMatchEvent::_internal_other_defidx() const { - return _impl_.other_defidx_; -} -inline uint32_t DeepPlayerMatchEvent::other_defidx() const { - // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.other_defidx) - return _internal_other_defidx(); -} -inline void DeepPlayerMatchEvent::_internal_set_other_defidx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.other_defidx_ = value; -} -inline void DeepPlayerMatchEvent::set_other_defidx(uint32_t value) { - _internal_set_other_defidx(value); - // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.other_defidx) -} - -// optional int32 event_data = 14; -inline bool DeepPlayerMatchEvent::_internal_has_event_data() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool DeepPlayerMatchEvent::has_event_data() const { - return _internal_has_event_data(); -} -inline void DeepPlayerMatchEvent::clear_event_data() { - _impl_.event_data_ = 0; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline int32_t DeepPlayerMatchEvent::_internal_event_data() const { - return _impl_.event_data_; -} -inline int32_t DeepPlayerMatchEvent::event_data() const { - // @@protoc_insertion_point(field_get:DeepPlayerMatchEvent.event_data) - return _internal_event_data(); -} -inline void DeepPlayerMatchEvent::_internal_set_event_data(int32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.event_data_ = value; -} -inline void DeepPlayerMatchEvent::set_event_data(int32_t value) { - _internal_set_event_data(value); - // @@protoc_insertion_point(field_set:DeepPlayerMatchEvent.event_data) -} - -// ------------------------------------------------------------------- - -// CMsgGC_ServerQuestUpdateData - -// repeated .PlayerQuestData player_quest_data = 1; -inline int CMsgGC_ServerQuestUpdateData::_internal_player_quest_data_size() const { - return _impl_.player_quest_data_.size(); -} -inline int CMsgGC_ServerQuestUpdateData::player_quest_data_size() const { - return _internal_player_quest_data_size(); -} -inline void CMsgGC_ServerQuestUpdateData::clear_player_quest_data() { - _impl_.player_quest_data_.Clear(); -} -inline ::PlayerQuestData* CMsgGC_ServerQuestUpdateData::mutable_player_quest_data(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGC_ServerQuestUpdateData.player_quest_data) - return _impl_.player_quest_data_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData >* -CMsgGC_ServerQuestUpdateData::mutable_player_quest_data() { - // @@protoc_insertion_point(field_mutable_list:CMsgGC_ServerQuestUpdateData.player_quest_data) - return &_impl_.player_quest_data_; -} -inline const ::PlayerQuestData& CMsgGC_ServerQuestUpdateData::_internal_player_quest_data(int index) const { - return _impl_.player_quest_data_.Get(index); -} -inline const ::PlayerQuestData& CMsgGC_ServerQuestUpdateData::player_quest_data(int index) const { - // @@protoc_insertion_point(field_get:CMsgGC_ServerQuestUpdateData.player_quest_data) - return _internal_player_quest_data(index); -} -inline ::PlayerQuestData* CMsgGC_ServerQuestUpdateData::_internal_add_player_quest_data() { - return _impl_.player_quest_data_.Add(); -} -inline ::PlayerQuestData* CMsgGC_ServerQuestUpdateData::add_player_quest_data() { - ::PlayerQuestData* _add = _internal_add_player_quest_data(); - // @@protoc_insertion_point(field_add:CMsgGC_ServerQuestUpdateData.player_quest_data) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerQuestData >& -CMsgGC_ServerQuestUpdateData::player_quest_data() const { - // @@protoc_insertion_point(field_list:CMsgGC_ServerQuestUpdateData.player_quest_data) - return _impl_.player_quest_data_; -} - -// optional bytes binary_data = 2; -inline bool CMsgGC_ServerQuestUpdateData::_internal_has_binary_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGC_ServerQuestUpdateData::has_binary_data() const { - return _internal_has_binary_data(); -} -inline void CMsgGC_ServerQuestUpdateData::clear_binary_data() { - _impl_.binary_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGC_ServerQuestUpdateData::binary_data() const { - // @@protoc_insertion_point(field_get:CMsgGC_ServerQuestUpdateData.binary_data) - return _internal_binary_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGC_ServerQuestUpdateData::set_binary_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.binary_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGC_ServerQuestUpdateData.binary_data) -} -inline std::string* CMsgGC_ServerQuestUpdateData::mutable_binary_data() { - std::string* _s = _internal_mutable_binary_data(); - // @@protoc_insertion_point(field_mutable:CMsgGC_ServerQuestUpdateData.binary_data) - return _s; -} -inline const std::string& CMsgGC_ServerQuestUpdateData::_internal_binary_data() const { - return _impl_.binary_data_.Get(); -} -inline void CMsgGC_ServerQuestUpdateData::_internal_set_binary_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.binary_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGC_ServerQuestUpdateData::_internal_mutable_binary_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.binary_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGC_ServerQuestUpdateData::release_binary_data() { - // @@protoc_insertion_point(field_release:CMsgGC_ServerQuestUpdateData.binary_data) - if (!_internal_has_binary_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.binary_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.binary_data_.IsDefault()) { - _impl_.binary_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGC_ServerQuestUpdateData::set_allocated_binary_data(std::string* binary_data) { - if (binary_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.binary_data_.SetAllocated(binary_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.binary_data_.IsDefault()) { - _impl_.binary_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGC_ServerQuestUpdateData.binary_data) -} - -// optional uint32 mm_game_mode = 3; -inline bool CMsgGC_ServerQuestUpdateData::_internal_has_mm_game_mode() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGC_ServerQuestUpdateData::has_mm_game_mode() const { - return _internal_has_mm_game_mode(); -} -inline void CMsgGC_ServerQuestUpdateData::clear_mm_game_mode() { - _impl_.mm_game_mode_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGC_ServerQuestUpdateData::_internal_mm_game_mode() const { - return _impl_.mm_game_mode_; -} -inline uint32_t CMsgGC_ServerQuestUpdateData::mm_game_mode() const { - // @@protoc_insertion_point(field_get:CMsgGC_ServerQuestUpdateData.mm_game_mode) - return _internal_mm_game_mode(); -} -inline void CMsgGC_ServerQuestUpdateData::_internal_set_mm_game_mode(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.mm_game_mode_ = value; -} -inline void CMsgGC_ServerQuestUpdateData::set_mm_game_mode(uint32_t value) { - _internal_set_mm_game_mode(value); - // @@protoc_insertion_point(field_set:CMsgGC_ServerQuestUpdateData.mm_game_mode) -} - -// optional .ScoreLeaderboardData missionlbsdata = 4; -inline bool CMsgGC_ServerQuestUpdateData::_internal_has_missionlbsdata() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.missionlbsdata_ != nullptr); - return value; -} -inline bool CMsgGC_ServerQuestUpdateData::has_missionlbsdata() const { - return _internal_has_missionlbsdata(); -} -inline void CMsgGC_ServerQuestUpdateData::clear_missionlbsdata() { - if (_impl_.missionlbsdata_ != nullptr) _impl_.missionlbsdata_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::ScoreLeaderboardData& CMsgGC_ServerQuestUpdateData::_internal_missionlbsdata() const { - const ::ScoreLeaderboardData* p = _impl_.missionlbsdata_; - return p != nullptr ? *p : reinterpret_cast( - ::_ScoreLeaderboardData_default_instance_); -} -inline const ::ScoreLeaderboardData& CMsgGC_ServerQuestUpdateData::missionlbsdata() const { - // @@protoc_insertion_point(field_get:CMsgGC_ServerQuestUpdateData.missionlbsdata) - return _internal_missionlbsdata(); -} -inline void CMsgGC_ServerQuestUpdateData::unsafe_arena_set_allocated_missionlbsdata( - ::ScoreLeaderboardData* missionlbsdata) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.missionlbsdata_); - } - _impl_.missionlbsdata_ = missionlbsdata; - if (missionlbsdata) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGC_ServerQuestUpdateData.missionlbsdata) -} -inline ::ScoreLeaderboardData* CMsgGC_ServerQuestUpdateData::release_missionlbsdata() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::ScoreLeaderboardData* temp = _impl_.missionlbsdata_; - _impl_.missionlbsdata_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::ScoreLeaderboardData* CMsgGC_ServerQuestUpdateData::unsafe_arena_release_missionlbsdata() { - // @@protoc_insertion_point(field_release:CMsgGC_ServerQuestUpdateData.missionlbsdata) - _impl_._has_bits_[0] &= ~0x00000002u; - ::ScoreLeaderboardData* temp = _impl_.missionlbsdata_; - _impl_.missionlbsdata_ = nullptr; - return temp; -} -inline ::ScoreLeaderboardData* CMsgGC_ServerQuestUpdateData::_internal_mutable_missionlbsdata() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.missionlbsdata_ == nullptr) { - auto* p = CreateMaybeMessage<::ScoreLeaderboardData>(GetArenaForAllocation()); - _impl_.missionlbsdata_ = p; - } - return _impl_.missionlbsdata_; -} -inline ::ScoreLeaderboardData* CMsgGC_ServerQuestUpdateData::mutable_missionlbsdata() { - ::ScoreLeaderboardData* _msg = _internal_mutable_missionlbsdata(); - // @@protoc_insertion_point(field_mutable:CMsgGC_ServerQuestUpdateData.missionlbsdata) - return _msg; -} -inline void CMsgGC_ServerQuestUpdateData::set_allocated_missionlbsdata(::ScoreLeaderboardData* missionlbsdata) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.missionlbsdata_; - } - if (missionlbsdata) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(missionlbsdata); - if (message_arena != submessage_arena) { - missionlbsdata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, missionlbsdata, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.missionlbsdata_ = missionlbsdata; - // @@protoc_insertion_point(field_set_allocated:CMsgGC_ServerQuestUpdateData.missionlbsdata) -} - -// optional uint32 flags = 5; -inline bool CMsgGC_ServerQuestUpdateData::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGC_ServerQuestUpdateData::has_flags() const { - return _internal_has_flags(); -} -inline void CMsgGC_ServerQuestUpdateData::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGC_ServerQuestUpdateData::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CMsgGC_ServerQuestUpdateData::flags() const { - // @@protoc_insertion_point(field_get:CMsgGC_ServerQuestUpdateData.flags) - return _internal_flags(); -} -inline void CMsgGC_ServerQuestUpdateData::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.flags_ = value; -} -inline void CMsgGC_ServerQuestUpdateData::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CMsgGC_ServerQuestUpdateData.flags) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm - -// optional uint32 token = 1; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_has_token() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::has_token() const { - return _internal_has_token(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::clear_token() { - _impl_.token_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_token() const { - return _impl_.token_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::token() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm.token) - return _internal_token(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_set_token(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.token_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::set_token(uint32_t value) { - _internal_set_token(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm.token) -} - -// optional uint32 stamp = 2; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_has_stamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::has_stamp() const { - return _internal_has_stamp(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::clear_stamp() { - _impl_.stamp_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_stamp() const { - return _impl_.stamp_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::stamp() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm.stamp) - return _internal_stamp(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_set_stamp(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.stamp_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::set_stamp(uint32_t value) { - _internal_set_stamp(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm.stamp) -} - -// optional uint64 exchange = 3; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_has_exchange() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::has_exchange() const { - return _internal_has_exchange(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::clear_exchange() { - _impl_.exchange_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_exchange() const { - return _impl_.exchange_; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::exchange() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm.exchange) - return _internal_exchange(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_set_exchange(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.exchange_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::set_exchange(uint64_t value) { - _internal_set_exchange(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm.exchange) -} - -// optional uint32 retry = 4; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_has_retry() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::has_retry() const { - return _internal_has_retry(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::clear_retry() { - _impl_.retry_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_retry() const { - return _impl_.retry_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::retry() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm.retry) - return _internal_retry(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::_internal_set_retry(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.retry_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm::set_retry(uint32_t value) { - _internal_set_retry(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm.retry) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_GC2ServerReservationUpdate - -// optional uint32 viewers_external_total = 1; -inline bool CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_internal_has_viewers_external_total() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ServerReservationUpdate::has_viewers_external_total() const { - return _internal_has_viewers_external_total(); -} -inline void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::clear_viewers_external_total() { - _impl_.viewers_external_total_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_internal_viewers_external_total() const { - return _impl_.viewers_external_total_; -} -inline uint32_t CMsgGCCStrike15_v2_GC2ServerReservationUpdate::viewers_external_total() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ServerReservationUpdate.viewers_external_total) - return _internal_viewers_external_total(); -} -inline void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_internal_set_viewers_external_total(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.viewers_external_total_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::set_viewers_external_total(uint32_t value) { - _internal_set_viewers_external_total(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ServerReservationUpdate.viewers_external_total) -} - -// optional uint32 viewers_external_steam = 2; -inline bool CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_internal_has_viewers_external_steam() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ServerReservationUpdate::has_viewers_external_steam() const { - return _internal_has_viewers_external_steam(); -} -inline void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::clear_viewers_external_steam() { - _impl_.viewers_external_steam_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_internal_viewers_external_steam() const { - return _impl_.viewers_external_steam_; -} -inline uint32_t CMsgGCCStrike15_v2_GC2ServerReservationUpdate::viewers_external_steam() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ServerReservationUpdate.viewers_external_steam) - return _internal_viewers_external_steam(); -} -inline void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::_internal_set_viewers_external_steam(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.viewers_external_steam_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ServerReservationUpdate::set_viewers_external_steam(uint32_t value) { - _internal_set_viewers_external_steam(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ServerReservationUpdate.viewers_external_steam) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchmakingStart - -// repeated uint32 account_ids = 1; -inline int CMsgGCCStrike15_v2_MatchmakingStart::_internal_account_ids_size() const { - return _impl_.account_ids_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingStart::account_ids_size() const { - return _internal_account_ids_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::clear_account_ids() { - _impl_.account_ids_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingStart::_internal_account_ids(int index) const { - return _impl_.account_ids_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingStart::account_ids(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingStart.account_ids) - return _internal_account_ids(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::set_account_ids(int index, uint32_t value) { - _impl_.account_ids_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingStart.account_ids) -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::_internal_add_account_ids(uint32_t value) { - _impl_.account_ids_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::add_account_ids(uint32_t value) { - _internal_add_account_ids(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingStart.account_ids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingStart::_internal_account_ids() const { - return _impl_.account_ids_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingStart::account_ids() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingStart.account_ids) - return _internal_account_ids(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingStart::_internal_mutable_account_ids() { - return &_impl_.account_ids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingStart::mutable_account_ids() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingStart.account_ids) - return _internal_mutable_account_ids(); -} - -// optional uint32 game_type = 2; -inline bool CMsgGCCStrike15_v2_MatchmakingStart::_internal_has_game_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingStart::has_game_type() const { - return _internal_has_game_type(); -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::clear_game_type() { - _impl_.game_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingStart::_internal_game_type() const { - return _impl_.game_type_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingStart::game_type() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingStart.game_type) - return _internal_game_type(); -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::_internal_set_game_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.game_type_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::set_game_type(uint32_t value) { - _internal_set_game_type(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingStart.game_type) -} - -// optional string ticket_data = 3; -inline bool CMsgGCCStrike15_v2_MatchmakingStart::_internal_has_ticket_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingStart::has_ticket_data() const { - return _internal_has_ticket_data(); -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::clear_ticket_data() { - _impl_.ticket_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingStart::ticket_data() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingStart.ticket_data) - return _internal_ticket_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_MatchmakingStart::set_ticket_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ticket_data_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingStart.ticket_data) -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingStart::mutable_ticket_data() { - std::string* _s = _internal_mutable_ticket_data(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingStart.ticket_data) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingStart::_internal_ticket_data() const { - return _impl_.ticket_data_.Get(); -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::_internal_set_ticket_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ticket_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingStart::_internal_mutable_ticket_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.ticket_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingStart::release_ticket_data() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingStart.ticket_data) - if (!_internal_has_ticket_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.ticket_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ticket_data_.IsDefault()) { - _impl_.ticket_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::set_allocated_ticket_data(std::string* ticket_data) { - if (ticket_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.ticket_data_.SetAllocated(ticket_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ticket_data_.IsDefault()) { - _impl_.ticket_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingStart.ticket_data) -} - -// optional uint32 client_version = 4; -inline bool CMsgGCCStrike15_v2_MatchmakingStart::_internal_has_client_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingStart::has_client_version() const { - return _internal_has_client_version(); -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::clear_client_version() { - _impl_.client_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingStart::_internal_client_version() const { - return _impl_.client_version_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingStart::client_version() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingStart.client_version) - return _internal_client_version(); -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::_internal_set_client_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.client_version_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::set_client_version(uint32_t value) { - _internal_set_client_version(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingStart.client_version) -} - -// optional .TournamentMatchSetup tournament_match = 5; -inline bool CMsgGCCStrike15_v2_MatchmakingStart::_internal_has_tournament_match() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.tournament_match_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingStart::has_tournament_match() const { - return _internal_has_tournament_match(); -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::clear_tournament_match() { - if (_impl_.tournament_match_ != nullptr) _impl_.tournament_match_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::TournamentMatchSetup& CMsgGCCStrike15_v2_MatchmakingStart::_internal_tournament_match() const { - const ::TournamentMatchSetup* p = _impl_.tournament_match_; - return p != nullptr ? *p : reinterpret_cast( - ::_TournamentMatchSetup_default_instance_); -} -inline const ::TournamentMatchSetup& CMsgGCCStrike15_v2_MatchmakingStart::tournament_match() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingStart.tournament_match) - return _internal_tournament_match(); -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::unsafe_arena_set_allocated_tournament_match( - ::TournamentMatchSetup* tournament_match) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tournament_match_); - } - _impl_.tournament_match_ = tournament_match; - if (tournament_match) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingStart.tournament_match) -} -inline ::TournamentMatchSetup* CMsgGCCStrike15_v2_MatchmakingStart::release_tournament_match() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::TournamentMatchSetup* temp = _impl_.tournament_match_; - _impl_.tournament_match_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::TournamentMatchSetup* CMsgGCCStrike15_v2_MatchmakingStart::unsafe_arena_release_tournament_match() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingStart.tournament_match) - _impl_._has_bits_[0] &= ~0x00000002u; - ::TournamentMatchSetup* temp = _impl_.tournament_match_; - _impl_.tournament_match_ = nullptr; - return temp; -} -inline ::TournamentMatchSetup* CMsgGCCStrike15_v2_MatchmakingStart::_internal_mutable_tournament_match() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.tournament_match_ == nullptr) { - auto* p = CreateMaybeMessage<::TournamentMatchSetup>(GetArenaForAllocation()); - _impl_.tournament_match_ = p; - } - return _impl_.tournament_match_; -} -inline ::TournamentMatchSetup* CMsgGCCStrike15_v2_MatchmakingStart::mutable_tournament_match() { - ::TournamentMatchSetup* _msg = _internal_mutable_tournament_match(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingStart.tournament_match) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::set_allocated_tournament_match(::TournamentMatchSetup* tournament_match) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.tournament_match_; - } - if (tournament_match) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(tournament_match); - if (message_arena != submessage_arena) { - tournament_match = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, tournament_match, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.tournament_match_ = tournament_match; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingStart.tournament_match) -} - -// optional bool prime_only = 6; -inline bool CMsgGCCStrike15_v2_MatchmakingStart::_internal_has_prime_only() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingStart::has_prime_only() const { - return _internal_has_prime_only(); -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::clear_prime_only() { - _impl_.prime_only_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool CMsgGCCStrike15_v2_MatchmakingStart::_internal_prime_only() const { - return _impl_.prime_only_; -} -inline bool CMsgGCCStrike15_v2_MatchmakingStart::prime_only() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingStart.prime_only) - return _internal_prime_only(); -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::_internal_set_prime_only(bool value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.prime_only_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::set_prime_only(bool value) { - _internal_set_prime_only(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingStart.prime_only) -} - -// optional uint32 tv_control = 7; -inline bool CMsgGCCStrike15_v2_MatchmakingStart::_internal_has_tv_control() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingStart::has_tv_control() const { - return _internal_has_tv_control(); -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::clear_tv_control() { - _impl_.tv_control_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingStart::_internal_tv_control() const { - return _impl_.tv_control_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingStart::tv_control() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingStart.tv_control) - return _internal_tv_control(); -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::_internal_set_tv_control(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.tv_control_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::set_tv_control(uint32_t value) { - _internal_set_tv_control(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingStart.tv_control) -} - -// optional uint64 lobby_id = 8; -inline bool CMsgGCCStrike15_v2_MatchmakingStart::_internal_has_lobby_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingStart::has_lobby_id() const { - return _internal_has_lobby_id(); -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::clear_lobby_id() { - _impl_.lobby_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingStart::_internal_lobby_id() const { - return _impl_.lobby_id_; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingStart::lobby_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingStart.lobby_id) - return _internal_lobby_id(); -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::_internal_set_lobby_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.lobby_id_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingStart::set_lobby_id(uint64_t value) { - _internal_set_lobby_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingStart.lobby_id) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchmakingStop - -// optional int32 abandon = 1; -inline bool CMsgGCCStrike15_v2_MatchmakingStop::_internal_has_abandon() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingStop::has_abandon() const { - return _internal_has_abandon(); -} -inline void CMsgGCCStrike15_v2_MatchmakingStop::clear_abandon() { - _impl_.abandon_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingStop::_internal_abandon() const { - return _impl_.abandon_; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingStop::abandon() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingStop.abandon) - return _internal_abandon(); -} -inline void CMsgGCCStrike15_v2_MatchmakingStop::_internal_set_abandon(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.abandon_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingStop::set_abandon(int32_t value) { - _internal_set_abandon(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingStop.abandon) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note - -// optional int32 type = 1; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::has_type() const { - return _internal_has_type(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::clear_type() { - _impl_.type_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_type() const { - return _impl_.type_; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::type() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note.type) - return _internal_type(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_set_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.type_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::set_type(int32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note.type) -} - -// optional int32 region_id = 2; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_has_region_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::has_region_id() const { - return _internal_has_region_id(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::clear_region_id() { - _impl_.region_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_region_id() const { - return _impl_.region_id_; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::region_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note.region_id) - return _internal_region_id(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_set_region_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.region_id_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::set_region_id(int32_t value) { - _internal_set_region_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note.region_id) -} - -// optional float region_r = 3; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_has_region_r() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::has_region_r() const { - return _internal_has_region_r(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::clear_region_r() { - _impl_.region_r_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_region_r() const { - return _impl_.region_r_; -} -inline float CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::region_r() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note.region_r) - return _internal_region_r(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_set_region_r(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.region_r_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::set_region_r(float value) { - _internal_set_region_r(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note.region_r) -} - -// optional float distance = 4; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_has_distance() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::has_distance() const { - return _internal_has_distance(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::clear_distance() { - _impl_.distance_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_distance() const { - return _impl_.distance_; -} -inline float CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::distance() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note.distance) - return _internal_distance(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::_internal_set_distance(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.distance_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note::set_distance(float value) { - _internal_set_distance(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note.distance) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchmakingClient2ServerPing - -// repeated .GameServerPing gameserverpings = 1; -inline int CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_gameserverpings_size() const { - return _impl_.gameserverpings_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::gameserverpings_size() const { - return _internal_gameserverpings_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::clear_gameserverpings() { - _impl_.gameserverpings_.Clear(); -} -inline ::GameServerPing* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::mutable_gameserverpings(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.gameserverpings) - return _impl_.gameserverpings_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::GameServerPing >* -CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::mutable_gameserverpings() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.gameserverpings) - return &_impl_.gameserverpings_; -} -inline const ::GameServerPing& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_gameserverpings(int index) const { - return _impl_.gameserverpings_.Get(index); -} -inline const ::GameServerPing& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::gameserverpings(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.gameserverpings) - return _internal_gameserverpings(index); -} -inline ::GameServerPing* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_add_gameserverpings() { - return _impl_.gameserverpings_.Add(); -} -inline ::GameServerPing* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::add_gameserverpings() { - ::GameServerPing* _add = _internal_add_gameserverpings(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.gameserverpings) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::GameServerPing >& -CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::gameserverpings() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.gameserverpings) - return _impl_.gameserverpings_; -} - -// optional int32 offset_index = 2; -inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_has_offset_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::has_offset_index() const { - return _internal_has_offset_index(); -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::clear_offset_index() { - _impl_.offset_index_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_offset_index() const { - return _impl_.offset_index_; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::offset_index() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.offset_index) - return _internal_offset_index(); -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_set_offset_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.offset_index_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::set_offset_index(int32_t value) { - _internal_set_offset_index(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.offset_index) -} - -// optional int32 final_batch = 3; -inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_has_final_batch() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::has_final_batch() const { - return _internal_has_final_batch(); -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::clear_final_batch() { - _impl_.final_batch_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_final_batch() const { - return _impl_.final_batch_; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::final_batch() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.final_batch) - return _internal_final_batch(); -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_set_final_batch(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.final_batch_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::set_final_batch(int32_t value) { - _internal_set_final_batch(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.final_batch) -} - -// repeated .DataCenterPing data_center_pings = 4; -inline int CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_data_center_pings_size() const { - return _impl_.data_center_pings_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::data_center_pings_size() const { - return _internal_data_center_pings_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::clear_data_center_pings() { - _impl_.data_center_pings_.Clear(); -} -inline ::DataCenterPing* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::mutable_data_center_pings(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.data_center_pings) - return _impl_.data_center_pings_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing >* -CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::mutable_data_center_pings() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.data_center_pings) - return &_impl_.data_center_pings_; -} -inline const ::DataCenterPing& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_data_center_pings(int index) const { - return _impl_.data_center_pings_.Get(index); -} -inline const ::DataCenterPing& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::data_center_pings(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.data_center_pings) - return _internal_data_center_pings(index); -} -inline ::DataCenterPing* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_add_data_center_pings() { - return _impl_.data_center_pings_.Add(); -} -inline ::DataCenterPing* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::add_data_center_pings() { - ::DataCenterPing* _add = _internal_add_data_center_pings(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.data_center_pings) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing >& -CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::data_center_pings() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.data_center_pings) - return _impl_.data_center_pings_; -} - -// optional uint32 max_ping = 5; -inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_has_max_ping() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::has_max_ping() const { - return _internal_has_max_ping(); -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::clear_max_ping() { - _impl_.max_ping_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_max_ping() const { - return _impl_.max_ping_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::max_ping() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.max_ping) - return _internal_max_ping(); -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_set_max_ping(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.max_ping_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::set_max_ping(uint32_t value) { - _internal_set_max_ping(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.max_ping) -} - -// optional fixed32 test_token = 6; -inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_has_test_token() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::has_test_token() const { - return _internal_has_test_token(); -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::clear_test_token() { - _impl_.test_token_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_test_token() const { - return _impl_.test_token_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::test_token() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.test_token) - return _internal_test_token(); -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_set_test_token(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.test_token_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::set_test_token(uint32_t value) { - _internal_set_test_token(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.test_token) -} - -// optional bytes search_key = 7; -inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_has_search_key() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::has_search_key() const { - return _internal_has_search_key(); -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::clear_search_key() { - _impl_.search_key_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::search_key() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.search_key) - return _internal_search_key(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::set_search_key(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.search_key_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.search_key) -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::mutable_search_key() { - std::string* _s = _internal_mutable_search_key(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.search_key) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_search_key() const { - return _impl_.search_key_.Get(); -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_set_search_key(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.search_key_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_mutable_search_key() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.search_key_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::release_search_key() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.search_key) - if (!_internal_has_search_key()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.search_key_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.search_key_.IsDefault()) { - _impl_.search_key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::set_allocated_search_key(std::string* search_key) { - if (search_key != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.search_key_.SetAllocated(search_key, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.search_key_.IsDefault()) { - _impl_.search_key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.search_key) -} - -// repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 8; -inline int CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_notes_size() const { - return _impl_.notes_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::notes_size() const { - return _internal_notes_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::clear_notes() { - _impl_.notes_.Clear(); -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::mutable_notes(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.notes) - return _impl_.notes_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >* -CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::mutable_notes() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.notes) - return &_impl_.notes_; -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_notes(int index) const { - return _impl_.notes_.Get(index); -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::notes(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.notes) - return _internal_notes(index); -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_add_notes() { - return _impl_.notes_.Add(); -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::add_notes() { - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* _add = _internal_add_notes(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.notes) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >& -CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::notes() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.notes) - return _impl_.notes_; -} - -// optional string debug_message = 9; -inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_has_debug_message() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::has_debug_message() const { - return _internal_has_debug_message(); -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::clear_debug_message() { - _impl_.debug_message_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::debug_message() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.debug_message) - return _internal_debug_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::set_debug_message(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.debug_message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.debug_message) -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::mutable_debug_message() { - std::string* _s = _internal_mutable_debug_message(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.debug_message) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_debug_message() const { - return _impl_.debug_message_.Get(); -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_set_debug_message(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.debug_message_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::_internal_mutable_debug_message() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.debug_message_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::release_debug_message() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.debug_message) - if (!_internal_has_debug_message()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.debug_message_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.debug_message_.IsDefault()) { - _impl_.debug_message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_MatchmakingClient2ServerPing::set_allocated_debug_message(std::string* debug_message) { - if (debug_message != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.debug_message_.SetAllocated(debug_message, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.debug_message_.IsDefault()) { - _impl_.debug_message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingClient2ServerPing.debug_message) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate - -// optional int32 matchmaking = 1; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_has_matchmaking() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::has_matchmaking() const { - return _internal_has_matchmaking(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_matchmaking() { - _impl_.matchmaking_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_matchmaking() const { - return _impl_.matchmaking_; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::matchmaking() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.matchmaking) - return _internal_matchmaking(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_set_matchmaking(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.matchmaking_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_matchmaking(int32_t value) { - _internal_set_matchmaking(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.matchmaking) -} - -// repeated uint32 waiting_account_id_sessions = 2; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_waiting_account_id_sessions_size() const { - return _impl_.waiting_account_id_sessions_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::waiting_account_id_sessions_size() const { - return _internal_waiting_account_id_sessions_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_waiting_account_id_sessions() { - _impl_.waiting_account_id_sessions_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_waiting_account_id_sessions(int index) const { - return _impl_.waiting_account_id_sessions_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::waiting_account_id_sessions(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.waiting_account_id_sessions) - return _internal_waiting_account_id_sessions(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_waiting_account_id_sessions(int index, uint32_t value) { - _impl_.waiting_account_id_sessions_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.waiting_account_id_sessions) -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_waiting_account_id_sessions(uint32_t value) { - _impl_.waiting_account_id_sessions_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_waiting_account_id_sessions(uint32_t value) { - _internal_add_waiting_account_id_sessions(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.waiting_account_id_sessions) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_waiting_account_id_sessions() const { - return _impl_.waiting_account_id_sessions_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::waiting_account_id_sessions() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.waiting_account_id_sessions) - return _internal_waiting_account_id_sessions(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_waiting_account_id_sessions() { - return &_impl_.waiting_account_id_sessions_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_waiting_account_id_sessions() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.waiting_account_id_sessions) - return _internal_mutable_waiting_account_id_sessions(); -} - -// optional string error = 3; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_has_error() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::has_error() const { - return _internal_has_error(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_error() { - _impl_.error_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::error() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.error) - return _internal_error(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_error(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.error_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.error) -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_error() { - std::string* _s = _internal_mutable_error(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.error) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_error() const { - return _impl_.error_.Get(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_set_error(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.error_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_error() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.error_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::release_error() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.error) - if (!_internal_has_error()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.error_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.error_.IsDefault()) { - _impl_.error_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_allocated_error(std::string* error) { - if (error != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.error_.SetAllocated(error, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.error_.IsDefault()) { - _impl_.error_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.error) -} - -// repeated uint32 ongoingmatch_account_id_sessions = 6; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_ongoingmatch_account_id_sessions_size() const { - return _impl_.ongoingmatch_account_id_sessions_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::ongoingmatch_account_id_sessions_size() const { - return _internal_ongoingmatch_account_id_sessions_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_ongoingmatch_account_id_sessions() { - _impl_.ongoingmatch_account_id_sessions_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_ongoingmatch_account_id_sessions(int index) const { - return _impl_.ongoingmatch_account_id_sessions_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::ongoingmatch_account_id_sessions(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.ongoingmatch_account_id_sessions) - return _internal_ongoingmatch_account_id_sessions(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_ongoingmatch_account_id_sessions(int index, uint32_t value) { - _impl_.ongoingmatch_account_id_sessions_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.ongoingmatch_account_id_sessions) -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_ongoingmatch_account_id_sessions(uint32_t value) { - _impl_.ongoingmatch_account_id_sessions_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_ongoingmatch_account_id_sessions(uint32_t value) { - _internal_add_ongoingmatch_account_id_sessions(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.ongoingmatch_account_id_sessions) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_ongoingmatch_account_id_sessions() const { - return _impl_.ongoingmatch_account_id_sessions_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::ongoingmatch_account_id_sessions() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.ongoingmatch_account_id_sessions) - return _internal_ongoingmatch_account_id_sessions(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_ongoingmatch_account_id_sessions() { - return &_impl_.ongoingmatch_account_id_sessions_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_ongoingmatch_account_id_sessions() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.ongoingmatch_account_id_sessions) - return _internal_mutable_ongoingmatch_account_id_sessions(); -} - -// optional .GlobalStatistics global_stats = 7; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_has_global_stats() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.global_stats_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::has_global_stats() const { - return _internal_has_global_stats(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_global_stats() { - if (_impl_.global_stats_ != nullptr) _impl_.global_stats_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::GlobalStatistics& CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_global_stats() const { - const ::GlobalStatistics* p = _impl_.global_stats_; - return p != nullptr ? *p : reinterpret_cast( - ::_GlobalStatistics_default_instance_); -} -inline const ::GlobalStatistics& CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::global_stats() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.global_stats) - return _internal_global_stats(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::unsafe_arena_set_allocated_global_stats( - ::GlobalStatistics* global_stats) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.global_stats_); - } - _impl_.global_stats_ = global_stats; - if (global_stats) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.global_stats) -} -inline ::GlobalStatistics* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::release_global_stats() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::GlobalStatistics* temp = _impl_.global_stats_; - _impl_.global_stats_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::GlobalStatistics* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::unsafe_arena_release_global_stats() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.global_stats) - _impl_._has_bits_[0] &= ~0x00000002u; - ::GlobalStatistics* temp = _impl_.global_stats_; - _impl_.global_stats_ = nullptr; - return temp; -} -inline ::GlobalStatistics* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_global_stats() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.global_stats_ == nullptr) { - auto* p = CreateMaybeMessage<::GlobalStatistics>(GetArenaForAllocation()); - _impl_.global_stats_ = p; - } - return _impl_.global_stats_; -} -inline ::GlobalStatistics* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_global_stats() { - ::GlobalStatistics* _msg = _internal_mutable_global_stats(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.global_stats) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_allocated_global_stats(::GlobalStatistics* global_stats) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.global_stats_; - } - if (global_stats) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(global_stats); - if (message_arena != submessage_arena) { - global_stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, global_stats, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.global_stats_ = global_stats; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.global_stats) -} - -// repeated uint32 failping_account_id_sessions = 8; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_failping_account_id_sessions_size() const { - return _impl_.failping_account_id_sessions_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::failping_account_id_sessions_size() const { - return _internal_failping_account_id_sessions_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_failping_account_id_sessions() { - _impl_.failping_account_id_sessions_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_failping_account_id_sessions(int index) const { - return _impl_.failping_account_id_sessions_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::failping_account_id_sessions(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failping_account_id_sessions) - return _internal_failping_account_id_sessions(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_failping_account_id_sessions(int index, uint32_t value) { - _impl_.failping_account_id_sessions_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failping_account_id_sessions) -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_failping_account_id_sessions(uint32_t value) { - _impl_.failping_account_id_sessions_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_failping_account_id_sessions(uint32_t value) { - _internal_add_failping_account_id_sessions(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failping_account_id_sessions) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_failping_account_id_sessions() const { - return _impl_.failping_account_id_sessions_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::failping_account_id_sessions() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failping_account_id_sessions) - return _internal_failping_account_id_sessions(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_failping_account_id_sessions() { - return &_impl_.failping_account_id_sessions_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_failping_account_id_sessions() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failping_account_id_sessions) - return _internal_mutable_failping_account_id_sessions(); -} - -// repeated uint32 penalty_account_id_sessions = 9; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_penalty_account_id_sessions_size() const { - return _impl_.penalty_account_id_sessions_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::penalty_account_id_sessions_size() const { - return _internal_penalty_account_id_sessions_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_penalty_account_id_sessions() { - _impl_.penalty_account_id_sessions_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_penalty_account_id_sessions(int index) const { - return _impl_.penalty_account_id_sessions_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::penalty_account_id_sessions(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions) - return _internal_penalty_account_id_sessions(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_penalty_account_id_sessions(int index, uint32_t value) { - _impl_.penalty_account_id_sessions_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions) -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_penalty_account_id_sessions(uint32_t value) { - _impl_.penalty_account_id_sessions_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_penalty_account_id_sessions(uint32_t value) { - _internal_add_penalty_account_id_sessions(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_penalty_account_id_sessions() const { - return _impl_.penalty_account_id_sessions_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::penalty_account_id_sessions() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions) - return _internal_penalty_account_id_sessions(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_penalty_account_id_sessions() { - return &_impl_.penalty_account_id_sessions_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_penalty_account_id_sessions() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions) - return _internal_mutable_penalty_account_id_sessions(); -} - -// repeated uint32 failready_account_id_sessions = 10; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_failready_account_id_sessions_size() const { - return _impl_.failready_account_id_sessions_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::failready_account_id_sessions_size() const { - return _internal_failready_account_id_sessions_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_failready_account_id_sessions() { - _impl_.failready_account_id_sessions_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_failready_account_id_sessions(int index) const { - return _impl_.failready_account_id_sessions_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::failready_account_id_sessions(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failready_account_id_sessions) - return _internal_failready_account_id_sessions(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_failready_account_id_sessions(int index, uint32_t value) { - _impl_.failready_account_id_sessions_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failready_account_id_sessions) -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_failready_account_id_sessions(uint32_t value) { - _impl_.failready_account_id_sessions_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_failready_account_id_sessions(uint32_t value) { - _internal_add_failready_account_id_sessions(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failready_account_id_sessions) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_failready_account_id_sessions() const { - return _impl_.failready_account_id_sessions_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::failready_account_id_sessions() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failready_account_id_sessions) - return _internal_failready_account_id_sessions(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_failready_account_id_sessions() { - return &_impl_.failready_account_id_sessions_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_failready_account_id_sessions() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.failready_account_id_sessions) - return _internal_mutable_failready_account_id_sessions(); -} - -// repeated uint32 vacbanned_account_id_sessions = 11; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_vacbanned_account_id_sessions_size() const { - return _impl_.vacbanned_account_id_sessions_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::vacbanned_account_id_sessions_size() const { - return _internal_vacbanned_account_id_sessions_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_vacbanned_account_id_sessions() { - _impl_.vacbanned_account_id_sessions_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_vacbanned_account_id_sessions(int index) const { - return _impl_.vacbanned_account_id_sessions_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::vacbanned_account_id_sessions(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vacbanned_account_id_sessions) - return _internal_vacbanned_account_id_sessions(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_vacbanned_account_id_sessions(int index, uint32_t value) { - _impl_.vacbanned_account_id_sessions_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vacbanned_account_id_sessions) -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_vacbanned_account_id_sessions(uint32_t value) { - _impl_.vacbanned_account_id_sessions_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_vacbanned_account_id_sessions(uint32_t value) { - _internal_add_vacbanned_account_id_sessions(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vacbanned_account_id_sessions) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_vacbanned_account_id_sessions() const { - return _impl_.vacbanned_account_id_sessions_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::vacbanned_account_id_sessions() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vacbanned_account_id_sessions) - return _internal_vacbanned_account_id_sessions(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_vacbanned_account_id_sessions() { - return &_impl_.vacbanned_account_id_sessions_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_vacbanned_account_id_sessions() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vacbanned_account_id_sessions) - return _internal_mutable_vacbanned_account_id_sessions(); -} - -// optional .IpAddressMask server_ipaddress_mask = 12; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_has_server_ipaddress_mask() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.server_ipaddress_mask_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::has_server_ipaddress_mask() const { - return _internal_has_server_ipaddress_mask(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_server_ipaddress_mask() { - if (_impl_.server_ipaddress_mask_ != nullptr) _impl_.server_ipaddress_mask_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::IpAddressMask& CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_server_ipaddress_mask() const { - const ::IpAddressMask* p = _impl_.server_ipaddress_mask_; - return p != nullptr ? *p : reinterpret_cast( - ::_IpAddressMask_default_instance_); -} -inline const ::IpAddressMask& CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::server_ipaddress_mask() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.server_ipaddress_mask) - return _internal_server_ipaddress_mask(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::unsafe_arena_set_allocated_server_ipaddress_mask( - ::IpAddressMask* server_ipaddress_mask) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.server_ipaddress_mask_); - } - _impl_.server_ipaddress_mask_ = server_ipaddress_mask; - if (server_ipaddress_mask) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.server_ipaddress_mask) -} -inline ::IpAddressMask* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::release_server_ipaddress_mask() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::IpAddressMask* temp = _impl_.server_ipaddress_mask_; - _impl_.server_ipaddress_mask_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::IpAddressMask* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::unsafe_arena_release_server_ipaddress_mask() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.server_ipaddress_mask) - _impl_._has_bits_[0] &= ~0x00000004u; - ::IpAddressMask* temp = _impl_.server_ipaddress_mask_; - _impl_.server_ipaddress_mask_ = nullptr; - return temp; -} -inline ::IpAddressMask* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_server_ipaddress_mask() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.server_ipaddress_mask_ == nullptr) { - auto* p = CreateMaybeMessage<::IpAddressMask>(GetArenaForAllocation()); - _impl_.server_ipaddress_mask_ = p; - } - return _impl_.server_ipaddress_mask_; -} -inline ::IpAddressMask* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_server_ipaddress_mask() { - ::IpAddressMask* _msg = _internal_mutable_server_ipaddress_mask(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.server_ipaddress_mask) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_allocated_server_ipaddress_mask(::IpAddressMask* server_ipaddress_mask) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.server_ipaddress_mask_; - } - if (server_ipaddress_mask) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(server_ipaddress_mask); - if (message_arena != submessage_arena) { - server_ipaddress_mask = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, server_ipaddress_mask, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.server_ipaddress_mask_ = server_ipaddress_mask; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.server_ipaddress_mask) -} - -// repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note notes = 13; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_notes_size() const { - return _impl_.notes_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::notes_size() const { - return _internal_notes_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_notes() { - _impl_.notes_.Clear(); -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_notes(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.notes) - return _impl_.notes_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_notes() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.notes) - return &_impl_.notes_; -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_notes(int index) const { - return _impl_.notes_.Get(index); -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note& CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::notes(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.notes) - return _internal_notes(index); -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_notes() { - return _impl_.notes_.Add(); -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_notes() { - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note* _add = _internal_add_notes(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.notes) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate_Note >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::notes() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.notes) - return _impl_.notes_; -} - -// repeated uint32 penalty_account_id_sessions_green = 14; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_penalty_account_id_sessions_green_size() const { - return _impl_.penalty_account_id_sessions_green_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::penalty_account_id_sessions_green_size() const { - return _internal_penalty_account_id_sessions_green_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_penalty_account_id_sessions_green() { - _impl_.penalty_account_id_sessions_green_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_penalty_account_id_sessions_green(int index) const { - return _impl_.penalty_account_id_sessions_green_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::penalty_account_id_sessions_green(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions_green) - return _internal_penalty_account_id_sessions_green(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_penalty_account_id_sessions_green(int index, uint32_t value) { - _impl_.penalty_account_id_sessions_green_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions_green) -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_penalty_account_id_sessions_green(uint32_t value) { - _impl_.penalty_account_id_sessions_green_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_penalty_account_id_sessions_green(uint32_t value) { - _internal_add_penalty_account_id_sessions_green(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions_green) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_penalty_account_id_sessions_green() const { - return _impl_.penalty_account_id_sessions_green_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::penalty_account_id_sessions_green() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions_green) - return _internal_penalty_account_id_sessions_green(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_penalty_account_id_sessions_green() { - return &_impl_.penalty_account_id_sessions_green_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_penalty_account_id_sessions_green() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.penalty_account_id_sessions_green) - return _internal_mutable_penalty_account_id_sessions_green(); -} - -// repeated uint32 insufficientlevel_sessions = 15; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_insufficientlevel_sessions_size() const { - return _impl_.insufficientlevel_sessions_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::insufficientlevel_sessions_size() const { - return _internal_insufficientlevel_sessions_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_insufficientlevel_sessions() { - _impl_.insufficientlevel_sessions_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_insufficientlevel_sessions(int index) const { - return _impl_.insufficientlevel_sessions_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::insufficientlevel_sessions(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insufficientlevel_sessions) - return _internal_insufficientlevel_sessions(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_insufficientlevel_sessions(int index, uint32_t value) { - _impl_.insufficientlevel_sessions_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insufficientlevel_sessions) -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_insufficientlevel_sessions(uint32_t value) { - _impl_.insufficientlevel_sessions_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_insufficientlevel_sessions(uint32_t value) { - _internal_add_insufficientlevel_sessions(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insufficientlevel_sessions) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_insufficientlevel_sessions() const { - return _impl_.insufficientlevel_sessions_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::insufficientlevel_sessions() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insufficientlevel_sessions) - return _internal_insufficientlevel_sessions(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_insufficientlevel_sessions() { - return &_impl_.insufficientlevel_sessions_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_insufficientlevel_sessions() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insufficientlevel_sessions) - return _internal_mutable_insufficientlevel_sessions(); -} - -// repeated uint32 vsncheck_account_id_sessions = 16; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_vsncheck_account_id_sessions_size() const { - return _impl_.vsncheck_account_id_sessions_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::vsncheck_account_id_sessions_size() const { - return _internal_vsncheck_account_id_sessions_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_vsncheck_account_id_sessions() { - _impl_.vsncheck_account_id_sessions_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_vsncheck_account_id_sessions(int index) const { - return _impl_.vsncheck_account_id_sessions_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::vsncheck_account_id_sessions(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vsncheck_account_id_sessions) - return _internal_vsncheck_account_id_sessions(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_vsncheck_account_id_sessions(int index, uint32_t value) { - _impl_.vsncheck_account_id_sessions_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vsncheck_account_id_sessions) -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_vsncheck_account_id_sessions(uint32_t value) { - _impl_.vsncheck_account_id_sessions_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_vsncheck_account_id_sessions(uint32_t value) { - _internal_add_vsncheck_account_id_sessions(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vsncheck_account_id_sessions) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_vsncheck_account_id_sessions() const { - return _impl_.vsncheck_account_id_sessions_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::vsncheck_account_id_sessions() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vsncheck_account_id_sessions) - return _internal_vsncheck_account_id_sessions(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_vsncheck_account_id_sessions() { - return &_impl_.vsncheck_account_id_sessions_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_vsncheck_account_id_sessions() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.vsncheck_account_id_sessions) - return _internal_mutable_vsncheck_account_id_sessions(); -} - -// repeated uint32 launcher_mismatch_sessions = 17; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_launcher_mismatch_sessions_size() const { - return _impl_.launcher_mismatch_sessions_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::launcher_mismatch_sessions_size() const { - return _internal_launcher_mismatch_sessions_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_launcher_mismatch_sessions() { - _impl_.launcher_mismatch_sessions_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_launcher_mismatch_sessions(int index) const { - return _impl_.launcher_mismatch_sessions_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::launcher_mismatch_sessions(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.launcher_mismatch_sessions) - return _internal_launcher_mismatch_sessions(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_launcher_mismatch_sessions(int index, uint32_t value) { - _impl_.launcher_mismatch_sessions_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.launcher_mismatch_sessions) -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_launcher_mismatch_sessions(uint32_t value) { - _impl_.launcher_mismatch_sessions_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_launcher_mismatch_sessions(uint32_t value) { - _internal_add_launcher_mismatch_sessions(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.launcher_mismatch_sessions) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_launcher_mismatch_sessions() const { - return _impl_.launcher_mismatch_sessions_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::launcher_mismatch_sessions() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.launcher_mismatch_sessions) - return _internal_launcher_mismatch_sessions(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_launcher_mismatch_sessions() { - return &_impl_.launcher_mismatch_sessions_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_launcher_mismatch_sessions() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.launcher_mismatch_sessions) - return _internal_mutable_launcher_mismatch_sessions(); -} - -// repeated uint32 insecure_account_id_sessions = 18; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_insecure_account_id_sessions_size() const { - return _impl_.insecure_account_id_sessions_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::insecure_account_id_sessions_size() const { - return _internal_insecure_account_id_sessions_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::clear_insecure_account_id_sessions() { - _impl_.insecure_account_id_sessions_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_insecure_account_id_sessions(int index) const { - return _impl_.insecure_account_id_sessions_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::insecure_account_id_sessions(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insecure_account_id_sessions) - return _internal_insecure_account_id_sessions(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::set_insecure_account_id_sessions(int index, uint32_t value) { - _impl_.insecure_account_id_sessions_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insecure_account_id_sessions) -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_add_insecure_account_id_sessions(uint32_t value) { - _impl_.insecure_account_id_sessions_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::add_insecure_account_id_sessions(uint32_t value) { - _internal_add_insecure_account_id_sessions(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insecure_account_id_sessions) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_insecure_account_id_sessions() const { - return _impl_.insecure_account_id_sessions_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::insecure_account_id_sessions() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insecure_account_id_sessions) - return _internal_insecure_account_id_sessions(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::_internal_mutable_insecure_account_id_sessions() { - return &_impl_.insecure_account_id_sessions_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate::mutable_insecure_account_id_sessions() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientUpdate.insecure_account_id_sessions) - return _internal_mutable_insecure_account_id_sessions(); -} - -// ------------------------------------------------------------------- - -// CDataGCCStrike15_v2_TournamentMatchDraft_Entry - -// optional int32 mapid = 1; -inline bool CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_internal_has_mapid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentMatchDraft_Entry::has_mapid() const { - return _internal_has_mapid(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::clear_mapid() { - _impl_.mapid_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_internal_mapid() const { - return _impl_.mapid_; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft_Entry::mapid() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.Entry.mapid) - return _internal_mapid(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_internal_set_mapid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.mapid_ = value; -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::set_mapid(int32_t value) { - _internal_set_mapid(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.Entry.mapid) -} - -// optional int32 team_id_ct = 2; -inline bool CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_internal_has_team_id_ct() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentMatchDraft_Entry::has_team_id_ct() const { - return _internal_has_team_id_ct(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::clear_team_id_ct() { - _impl_.team_id_ct_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_internal_team_id_ct() const { - return _impl_.team_id_ct_; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft_Entry::team_id_ct() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.Entry.team_id_ct) - return _internal_team_id_ct(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::_internal_set_team_id_ct(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.team_id_ct_ = value; -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft_Entry::set_team_id_ct(int32_t value) { - _internal_set_team_id_ct(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.Entry.team_id_ct) -} - -// ------------------------------------------------------------------- - -// CDataGCCStrike15_v2_TournamentMatchDraft - -// optional int32 event_id = 1; -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_event_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_event_id() const { - return _internal_has_event_id(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_event_id() { - _impl_.event_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_event_id() const { - return _impl_.event_id_; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::event_id() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.event_id) - return _internal_event_id(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_event_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_id_ = value; -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_event_id(int32_t value) { - _internal_set_event_id(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.event_id) -} - -// optional int32 event_stage_id = 2; -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_event_stage_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_event_stage_id() const { - return _internal_has_event_stage_id(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_event_stage_id() { - _impl_.event_stage_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_event_stage_id() const { - return _impl_.event_stage_id_; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::event_stage_id() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.event_stage_id) - return _internal_event_stage_id(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_event_stage_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.event_stage_id_ = value; -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_event_stage_id(int32_t value) { - _internal_set_event_stage_id(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.event_stage_id) -} - -// optional int32 team_id_0 = 3; -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_team_id_0() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_team_id_0() const { - return _internal_has_team_id_0(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_team_id_0() { - _impl_.team_id_0_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_team_id_0() const { - return _impl_.team_id_0_; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::team_id_0() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_0) - return _internal_team_id_0(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_team_id_0(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.team_id_0_ = value; -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_team_id_0(int32_t value) { - _internal_set_team_id_0(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_0) -} - -// optional int32 team_id_1 = 4; -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_team_id_1() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_team_id_1() const { - return _internal_has_team_id_1(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_team_id_1() { - _impl_.team_id_1_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_team_id_1() const { - return _impl_.team_id_1_; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::team_id_1() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_1) - return _internal_team_id_1(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_team_id_1(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.team_id_1_ = value; -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_team_id_1(int32_t value) { - _internal_set_team_id_1(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_1) -} - -// optional int32 maps_count = 5; -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_maps_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_maps_count() const { - return _internal_has_maps_count(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_maps_count() { - _impl_.maps_count_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_maps_count() const { - return _impl_.maps_count_; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::maps_count() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.maps_count) - return _internal_maps_count(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_maps_count(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.maps_count_ = value; -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_maps_count(int32_t value) { - _internal_set_maps_count(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.maps_count) -} - -// optional int32 maps_current = 6; -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_maps_current() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_maps_current() const { - return _internal_has_maps_current(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_maps_current() { - _impl_.maps_current_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_maps_current() const { - return _impl_.maps_current_; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::maps_current() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.maps_current) - return _internal_maps_current(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_maps_current(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.maps_current_ = value; -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_maps_current(int32_t value) { - _internal_set_maps_current(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.maps_current) -} - -// optional int32 team_id_start = 7; -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_team_id_start() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_team_id_start() const { - return _internal_has_team_id_start(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_team_id_start() { - _impl_.team_id_start_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_team_id_start() const { - return _impl_.team_id_start_; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::team_id_start() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_start) - return _internal_team_id_start(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_team_id_start(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.team_id_start_ = value; -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_team_id_start(int32_t value) { - _internal_set_team_id_start(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_start) -} - -// optional int32 team_id_veto1 = 8; -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_team_id_veto1() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_team_id_veto1() const { - return _internal_has_team_id_veto1(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_team_id_veto1() { - _impl_.team_id_veto1_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_team_id_veto1() const { - return _impl_.team_id_veto1_; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::team_id_veto1() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_veto1) - return _internal_team_id_veto1(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_team_id_veto1(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.team_id_veto1_ = value; -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_team_id_veto1(int32_t value) { - _internal_set_team_id_veto1(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_veto1) -} - -// optional int32 team_id_pickn = 9; -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_team_id_pickn() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_team_id_pickn() const { - return _internal_has_team_id_pickn(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_team_id_pickn() { - _impl_.team_id_pickn_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_team_id_pickn() const { - return _impl_.team_id_pickn_; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::team_id_pickn() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_pickn) - return _internal_team_id_pickn(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_team_id_pickn(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.team_id_pickn_ = value; -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_team_id_pickn(int32_t value) { - _internal_set_team_id_pickn(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.team_id_pickn) -} - -// repeated .CDataGCCStrike15_v2_TournamentMatchDraft.Entry drafts = 10; -inline int CDataGCCStrike15_v2_TournamentMatchDraft::_internal_drafts_size() const { - return _impl_.drafts_.size(); -} -inline int CDataGCCStrike15_v2_TournamentMatchDraft::drafts_size() const { - return _internal_drafts_size(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_drafts() { - _impl_.drafts_.Clear(); -} -inline ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry* CDataGCCStrike15_v2_TournamentMatchDraft::mutable_drafts(int index) { - // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentMatchDraft.drafts) - return _impl_.drafts_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry >* -CDataGCCStrike15_v2_TournamentMatchDraft::mutable_drafts() { - // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentMatchDraft.drafts) - return &_impl_.drafts_; -} -inline const ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry& CDataGCCStrike15_v2_TournamentMatchDraft::_internal_drafts(int index) const { - return _impl_.drafts_.Get(index); -} -inline const ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry& CDataGCCStrike15_v2_TournamentMatchDraft::drafts(int index) const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.drafts) - return _internal_drafts(index); -} -inline ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry* CDataGCCStrike15_v2_TournamentMatchDraft::_internal_add_drafts() { - return _impl_.drafts_.Add(); -} -inline ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry* CDataGCCStrike15_v2_TournamentMatchDraft::add_drafts() { - ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry* _add = _internal_add_drafts(); - // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentMatchDraft.drafts) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentMatchDraft_Entry >& -CDataGCCStrike15_v2_TournamentMatchDraft::drafts() const { - // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentMatchDraft.drafts) - return _impl_.drafts_; -} - -// repeated int32 vote_mapid_0 = 11; -inline int CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_0_size() const { - return _impl_.vote_mapid_0_.size(); -} -inline int CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_0_size() const { - return _internal_vote_mapid_0_size(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_mapid_0() { - _impl_.vote_mapid_0_.Clear(); -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_0(int index) const { - return _impl_.vote_mapid_0_.Get(index); -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_0(int index) const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_0) - return _internal_vote_mapid_0(index); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_mapid_0(int index, int32_t value) { - _impl_.vote_mapid_0_.Set(index, value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_0) -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_add_vote_mapid_0(int32_t value) { - _impl_.vote_mapid_0_.Add(value); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::add_vote_mapid_0(int32_t value) { - _internal_add_vote_mapid_0(value); - // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_0) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_0() const { - return _impl_.vote_mapid_0_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_0() const { - // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_0) - return _internal_vote_mapid_0(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CDataGCCStrike15_v2_TournamentMatchDraft::_internal_mutable_vote_mapid_0() { - return &_impl_.vote_mapid_0_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CDataGCCStrike15_v2_TournamentMatchDraft::mutable_vote_mapid_0() { - // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_0) - return _internal_mutable_vote_mapid_0(); -} - -// repeated int32 vote_mapid_1 = 12; -inline int CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_1_size() const { - return _impl_.vote_mapid_1_.size(); -} -inline int CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_1_size() const { - return _internal_vote_mapid_1_size(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_mapid_1() { - _impl_.vote_mapid_1_.Clear(); -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_1(int index) const { - return _impl_.vote_mapid_1_.Get(index); -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_1(int index) const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_1) - return _internal_vote_mapid_1(index); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_mapid_1(int index, int32_t value) { - _impl_.vote_mapid_1_.Set(index, value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_1) -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_add_vote_mapid_1(int32_t value) { - _impl_.vote_mapid_1_.Add(value); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::add_vote_mapid_1(int32_t value) { - _internal_add_vote_mapid_1(value); - // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_1) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_1() const { - return _impl_.vote_mapid_1_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_1() const { - // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_1) - return _internal_vote_mapid_1(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CDataGCCStrike15_v2_TournamentMatchDraft::_internal_mutable_vote_mapid_1() { - return &_impl_.vote_mapid_1_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CDataGCCStrike15_v2_TournamentMatchDraft::mutable_vote_mapid_1() { - // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_1) - return _internal_mutable_vote_mapid_1(); -} - -// repeated int32 vote_mapid_2 = 13; -inline int CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_2_size() const { - return _impl_.vote_mapid_2_.size(); -} -inline int CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_2_size() const { - return _internal_vote_mapid_2_size(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_mapid_2() { - _impl_.vote_mapid_2_.Clear(); -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_2(int index) const { - return _impl_.vote_mapid_2_.Get(index); -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_2(int index) const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_2) - return _internal_vote_mapid_2(index); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_mapid_2(int index, int32_t value) { - _impl_.vote_mapid_2_.Set(index, value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_2) -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_add_vote_mapid_2(int32_t value) { - _impl_.vote_mapid_2_.Add(value); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::add_vote_mapid_2(int32_t value) { - _internal_add_vote_mapid_2(value); - // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_2) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_2() const { - return _impl_.vote_mapid_2_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_2() const { - // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_2) - return _internal_vote_mapid_2(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CDataGCCStrike15_v2_TournamentMatchDraft::_internal_mutable_vote_mapid_2() { - return &_impl_.vote_mapid_2_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CDataGCCStrike15_v2_TournamentMatchDraft::mutable_vote_mapid_2() { - // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_2) - return _internal_mutable_vote_mapid_2(); -} - -// repeated int32 vote_mapid_3 = 14; -inline int CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_3_size() const { - return _impl_.vote_mapid_3_.size(); -} -inline int CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_3_size() const { - return _internal_vote_mapid_3_size(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_mapid_3() { - _impl_.vote_mapid_3_.Clear(); -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_3(int index) const { - return _impl_.vote_mapid_3_.Get(index); -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_3(int index) const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_3) - return _internal_vote_mapid_3(index); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_mapid_3(int index, int32_t value) { - _impl_.vote_mapid_3_.Set(index, value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_3) -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_add_vote_mapid_3(int32_t value) { - _impl_.vote_mapid_3_.Add(value); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::add_vote_mapid_3(int32_t value) { - _internal_add_vote_mapid_3(value); - // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_3) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_3() const { - return _impl_.vote_mapid_3_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_3() const { - // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_3) - return _internal_vote_mapid_3(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CDataGCCStrike15_v2_TournamentMatchDraft::_internal_mutable_vote_mapid_3() { - return &_impl_.vote_mapid_3_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CDataGCCStrike15_v2_TournamentMatchDraft::mutable_vote_mapid_3() { - // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_3) - return _internal_mutable_vote_mapid_3(); -} - -// repeated int32 vote_mapid_4 = 15; -inline int CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_4_size() const { - return _impl_.vote_mapid_4_.size(); -} -inline int CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_4_size() const { - return _internal_vote_mapid_4_size(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_mapid_4() { - _impl_.vote_mapid_4_.Clear(); -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_4(int index) const { - return _impl_.vote_mapid_4_.Get(index); -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_4(int index) const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_4) - return _internal_vote_mapid_4(index); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_mapid_4(int index, int32_t value) { - _impl_.vote_mapid_4_.Set(index, value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_4) -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_add_vote_mapid_4(int32_t value) { - _impl_.vote_mapid_4_.Add(value); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::add_vote_mapid_4(int32_t value) { - _internal_add_vote_mapid_4(value); - // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_4) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_4() const { - return _impl_.vote_mapid_4_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_4() const { - // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_4) - return _internal_vote_mapid_4(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CDataGCCStrike15_v2_TournamentMatchDraft::_internal_mutable_vote_mapid_4() { - return &_impl_.vote_mapid_4_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CDataGCCStrike15_v2_TournamentMatchDraft::mutable_vote_mapid_4() { - // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_4) - return _internal_mutable_vote_mapid_4(); -} - -// repeated int32 vote_mapid_5 = 16; -inline int CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_5_size() const { - return _impl_.vote_mapid_5_.size(); -} -inline int CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_5_size() const { - return _internal_vote_mapid_5_size(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_mapid_5() { - _impl_.vote_mapid_5_.Clear(); -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_5(int index) const { - return _impl_.vote_mapid_5_.Get(index); -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_5(int index) const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_5) - return _internal_vote_mapid_5(index); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_mapid_5(int index, int32_t value) { - _impl_.vote_mapid_5_.Set(index, value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_5) -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_add_vote_mapid_5(int32_t value) { - _impl_.vote_mapid_5_.Add(value); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::add_vote_mapid_5(int32_t value) { - _internal_add_vote_mapid_5(value); - // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_5) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_mapid_5() const { - return _impl_.vote_mapid_5_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CDataGCCStrike15_v2_TournamentMatchDraft::vote_mapid_5() const { - // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_5) - return _internal_vote_mapid_5(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CDataGCCStrike15_v2_TournamentMatchDraft::_internal_mutable_vote_mapid_5() { - return &_impl_.vote_mapid_5_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CDataGCCStrike15_v2_TournamentMatchDraft::mutable_vote_mapid_5() { - // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_mapid_5) - return _internal_mutable_vote_mapid_5(); -} - -// repeated int32 vote_starting_side = 17; -inline int CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_starting_side_size() const { - return _impl_.vote_starting_side_.size(); -} -inline int CDataGCCStrike15_v2_TournamentMatchDraft::vote_starting_side_size() const { - return _internal_vote_starting_side_size(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_starting_side() { - _impl_.vote_starting_side_.Clear(); -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_starting_side(int index) const { - return _impl_.vote_starting_side_.Get(index); -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::vote_starting_side(int index) const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_starting_side) - return _internal_vote_starting_side(index); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_starting_side(int index, int32_t value) { - _impl_.vote_starting_side_.Set(index, value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_starting_side) -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_add_vote_starting_side(int32_t value) { - _impl_.vote_starting_side_.Add(value); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::add_vote_starting_side(int32_t value) { - _internal_add_vote_starting_side(value); - // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentMatchDraft.vote_starting_side) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_starting_side() const { - return _impl_.vote_starting_side_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CDataGCCStrike15_v2_TournamentMatchDraft::vote_starting_side() const { - // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_starting_side) - return _internal_vote_starting_side(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CDataGCCStrike15_v2_TournamentMatchDraft::_internal_mutable_vote_starting_side() { - return &_impl_.vote_starting_side_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CDataGCCStrike15_v2_TournamentMatchDraft::mutable_vote_starting_side() { - // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentMatchDraft.vote_starting_side) - return _internal_mutable_vote_starting_side(); -} - -// optional int32 vote_phase = 18; -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_vote_phase() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_vote_phase() const { - return _internal_has_vote_phase(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_phase() { - _impl_.vote_phase_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_phase() const { - return _impl_.vote_phase_; -} -inline int32_t CDataGCCStrike15_v2_TournamentMatchDraft::vote_phase() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_phase) - return _internal_vote_phase(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_vote_phase(int32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.vote_phase_ = value; -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_phase(int32_t value) { - _internal_set_vote_phase(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_phase) -} - -// optional float vote_phase_start = 19; -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_vote_phase_start() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_vote_phase_start() const { - return _internal_has_vote_phase_start(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_phase_start() { - _impl_.vote_phase_start_ = 0; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline float CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_phase_start() const { - return _impl_.vote_phase_start_; -} -inline float CDataGCCStrike15_v2_TournamentMatchDraft::vote_phase_start() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_phase_start) - return _internal_vote_phase_start(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_vote_phase_start(float value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.vote_phase_start_ = value; -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_phase_start(float value) { - _internal_set_vote_phase_start(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_phase_start) -} - -// optional float vote_phase_length = 20; -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::_internal_has_vote_phase_length() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentMatchDraft::has_vote_phase_length() const { - return _internal_has_vote_phase_length(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::clear_vote_phase_length() { - _impl_.vote_phase_length_ = 0; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline float CDataGCCStrike15_v2_TournamentMatchDraft::_internal_vote_phase_length() const { - return _impl_.vote_phase_length_; -} -inline float CDataGCCStrike15_v2_TournamentMatchDraft::vote_phase_length() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentMatchDraft.vote_phase_length) - return _internal_vote_phase_length(); -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::_internal_set_vote_phase_length(float value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.vote_phase_length_ = value; -} -inline void CDataGCCStrike15_v2_TournamentMatchDraft::set_vote_phase_length(float value) { - _internal_set_vote_phase_length(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentMatchDraft.vote_phase_length) -} - -// ------------------------------------------------------------------- - -// CPreMatchInfoData_TeamStats - -// optional int32 match_info_idxtxt = 1; -inline bool CPreMatchInfoData_TeamStats::_internal_has_match_info_idxtxt() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPreMatchInfoData_TeamStats::has_match_info_idxtxt() const { - return _internal_has_match_info_idxtxt(); -} -inline void CPreMatchInfoData_TeamStats::clear_match_info_idxtxt() { - _impl_.match_info_idxtxt_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CPreMatchInfoData_TeamStats::_internal_match_info_idxtxt() const { - return _impl_.match_info_idxtxt_; -} -inline int32_t CPreMatchInfoData_TeamStats::match_info_idxtxt() const { - // @@protoc_insertion_point(field_get:CPreMatchInfoData.TeamStats.match_info_idxtxt) - return _internal_match_info_idxtxt(); -} -inline void CPreMatchInfoData_TeamStats::_internal_set_match_info_idxtxt(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.match_info_idxtxt_ = value; -} -inline void CPreMatchInfoData_TeamStats::set_match_info_idxtxt(int32_t value) { - _internal_set_match_info_idxtxt(value); - // @@protoc_insertion_point(field_set:CPreMatchInfoData.TeamStats.match_info_idxtxt) -} - -// optional string match_info_txt = 2; -inline bool CPreMatchInfoData_TeamStats::_internal_has_match_info_txt() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPreMatchInfoData_TeamStats::has_match_info_txt() const { - return _internal_has_match_info_txt(); -} -inline void CPreMatchInfoData_TeamStats::clear_match_info_txt() { - _impl_.match_info_txt_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CPreMatchInfoData_TeamStats::match_info_txt() const { - // @@protoc_insertion_point(field_get:CPreMatchInfoData.TeamStats.match_info_txt) - return _internal_match_info_txt(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPreMatchInfoData_TeamStats::set_match_info_txt(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.match_info_txt_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPreMatchInfoData.TeamStats.match_info_txt) -} -inline std::string* CPreMatchInfoData_TeamStats::mutable_match_info_txt() { - std::string* _s = _internal_mutable_match_info_txt(); - // @@protoc_insertion_point(field_mutable:CPreMatchInfoData.TeamStats.match_info_txt) - return _s; -} -inline const std::string& CPreMatchInfoData_TeamStats::_internal_match_info_txt() const { - return _impl_.match_info_txt_.Get(); -} -inline void CPreMatchInfoData_TeamStats::_internal_set_match_info_txt(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.match_info_txt_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPreMatchInfoData_TeamStats::_internal_mutable_match_info_txt() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.match_info_txt_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPreMatchInfoData_TeamStats::release_match_info_txt() { - // @@protoc_insertion_point(field_release:CPreMatchInfoData.TeamStats.match_info_txt) - if (!_internal_has_match_info_txt()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.match_info_txt_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.match_info_txt_.IsDefault()) { - _impl_.match_info_txt_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPreMatchInfoData_TeamStats::set_allocated_match_info_txt(std::string* match_info_txt) { - if (match_info_txt != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.match_info_txt_.SetAllocated(match_info_txt, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.match_info_txt_.IsDefault()) { - _impl_.match_info_txt_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPreMatchInfoData.TeamStats.match_info_txt) -} - -// repeated string match_info_teams = 3; -inline int CPreMatchInfoData_TeamStats::_internal_match_info_teams_size() const { - return _impl_.match_info_teams_.size(); -} -inline int CPreMatchInfoData_TeamStats::match_info_teams_size() const { - return _internal_match_info_teams_size(); -} -inline void CPreMatchInfoData_TeamStats::clear_match_info_teams() { - _impl_.match_info_teams_.Clear(); -} -inline std::string* CPreMatchInfoData_TeamStats::add_match_info_teams() { - std::string* _s = _internal_add_match_info_teams(); - // @@protoc_insertion_point(field_add_mutable:CPreMatchInfoData.TeamStats.match_info_teams) - return _s; -} -inline const std::string& CPreMatchInfoData_TeamStats::_internal_match_info_teams(int index) const { - return _impl_.match_info_teams_.Get(index); -} -inline const std::string& CPreMatchInfoData_TeamStats::match_info_teams(int index) const { - // @@protoc_insertion_point(field_get:CPreMatchInfoData.TeamStats.match_info_teams) - return _internal_match_info_teams(index); -} -inline std::string* CPreMatchInfoData_TeamStats::mutable_match_info_teams(int index) { - // @@protoc_insertion_point(field_mutable:CPreMatchInfoData.TeamStats.match_info_teams) - return _impl_.match_info_teams_.Mutable(index); -} -inline void CPreMatchInfoData_TeamStats::set_match_info_teams(int index, const std::string& value) { - _impl_.match_info_teams_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CPreMatchInfoData.TeamStats.match_info_teams) -} -inline void CPreMatchInfoData_TeamStats::set_match_info_teams(int index, std::string&& value) { - _impl_.match_info_teams_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CPreMatchInfoData.TeamStats.match_info_teams) -} -inline void CPreMatchInfoData_TeamStats::set_match_info_teams(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.match_info_teams_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CPreMatchInfoData.TeamStats.match_info_teams) -} -inline void CPreMatchInfoData_TeamStats::set_match_info_teams(int index, const char* value, size_t size) { - _impl_.match_info_teams_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CPreMatchInfoData.TeamStats.match_info_teams) -} -inline std::string* CPreMatchInfoData_TeamStats::_internal_add_match_info_teams() { - return _impl_.match_info_teams_.Add(); -} -inline void CPreMatchInfoData_TeamStats::add_match_info_teams(const std::string& value) { - _impl_.match_info_teams_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CPreMatchInfoData.TeamStats.match_info_teams) -} -inline void CPreMatchInfoData_TeamStats::add_match_info_teams(std::string&& value) { - _impl_.match_info_teams_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CPreMatchInfoData.TeamStats.match_info_teams) -} -inline void CPreMatchInfoData_TeamStats::add_match_info_teams(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.match_info_teams_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CPreMatchInfoData.TeamStats.match_info_teams) -} -inline void CPreMatchInfoData_TeamStats::add_match_info_teams(const char* value, size_t size) { - _impl_.match_info_teams_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CPreMatchInfoData.TeamStats.match_info_teams) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CPreMatchInfoData_TeamStats::match_info_teams() const { - // @@protoc_insertion_point(field_list:CPreMatchInfoData.TeamStats.match_info_teams) - return _impl_.match_info_teams_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CPreMatchInfoData_TeamStats::mutable_match_info_teams() { - // @@protoc_insertion_point(field_mutable_list:CPreMatchInfoData.TeamStats.match_info_teams) - return &_impl_.match_info_teams_; -} - -// ------------------------------------------------------------------- - -// CPreMatchInfoData - -// optional int32 predictions_pct = 1; -inline bool CPreMatchInfoData::_internal_has_predictions_pct() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPreMatchInfoData::has_predictions_pct() const { - return _internal_has_predictions_pct(); -} -inline void CPreMatchInfoData::clear_predictions_pct() { - _impl_.predictions_pct_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CPreMatchInfoData::_internal_predictions_pct() const { - return _impl_.predictions_pct_; -} -inline int32_t CPreMatchInfoData::predictions_pct() const { - // @@protoc_insertion_point(field_get:CPreMatchInfoData.predictions_pct) - return _internal_predictions_pct(); -} -inline void CPreMatchInfoData::_internal_set_predictions_pct(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.predictions_pct_ = value; -} -inline void CPreMatchInfoData::set_predictions_pct(int32_t value) { - _internal_set_predictions_pct(value); - // @@protoc_insertion_point(field_set:CPreMatchInfoData.predictions_pct) -} - -// optional .CDataGCCStrike15_v2_TournamentMatchDraft draft = 4; -inline bool CPreMatchInfoData::_internal_has_draft() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.draft_ != nullptr); - return value; -} -inline bool CPreMatchInfoData::has_draft() const { - return _internal_has_draft(); -} -inline void CPreMatchInfoData::clear_draft() { - if (_impl_.draft_ != nullptr) _impl_.draft_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CDataGCCStrike15_v2_TournamentMatchDraft& CPreMatchInfoData::_internal_draft() const { - const ::CDataGCCStrike15_v2_TournamentMatchDraft* p = _impl_.draft_; - return p != nullptr ? *p : reinterpret_cast( - ::_CDataGCCStrike15_v2_TournamentMatchDraft_default_instance_); -} -inline const ::CDataGCCStrike15_v2_TournamentMatchDraft& CPreMatchInfoData::draft() const { - // @@protoc_insertion_point(field_get:CPreMatchInfoData.draft) - return _internal_draft(); -} -inline void CPreMatchInfoData::unsafe_arena_set_allocated_draft( - ::CDataGCCStrike15_v2_TournamentMatchDraft* draft) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.draft_); - } - _impl_.draft_ = draft; - if (draft) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CPreMatchInfoData.draft) -} -inline ::CDataGCCStrike15_v2_TournamentMatchDraft* CPreMatchInfoData::release_draft() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CDataGCCStrike15_v2_TournamentMatchDraft* temp = _impl_.draft_; - _impl_.draft_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CDataGCCStrike15_v2_TournamentMatchDraft* CPreMatchInfoData::unsafe_arena_release_draft() { - // @@protoc_insertion_point(field_release:CPreMatchInfoData.draft) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CDataGCCStrike15_v2_TournamentMatchDraft* temp = _impl_.draft_; - _impl_.draft_ = nullptr; - return temp; -} -inline ::CDataGCCStrike15_v2_TournamentMatchDraft* CPreMatchInfoData::_internal_mutable_draft() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.draft_ == nullptr) { - auto* p = CreateMaybeMessage<::CDataGCCStrike15_v2_TournamentMatchDraft>(GetArenaForAllocation()); - _impl_.draft_ = p; - } - return _impl_.draft_; -} -inline ::CDataGCCStrike15_v2_TournamentMatchDraft* CPreMatchInfoData::mutable_draft() { - ::CDataGCCStrike15_v2_TournamentMatchDraft* _msg = _internal_mutable_draft(); - // @@protoc_insertion_point(field_mutable:CPreMatchInfoData.draft) - return _msg; -} -inline void CPreMatchInfoData::set_allocated_draft(::CDataGCCStrike15_v2_TournamentMatchDraft* draft) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.draft_; - } - if (draft) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(draft); - if (message_arena != submessage_arena) { - draft = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, draft, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.draft_ = draft; - // @@protoc_insertion_point(field_set_allocated:CPreMatchInfoData.draft) -} - -// repeated .CPreMatchInfoData.TeamStats stats = 5; -inline int CPreMatchInfoData::_internal_stats_size() const { - return _impl_.stats_.size(); -} -inline int CPreMatchInfoData::stats_size() const { - return _internal_stats_size(); -} -inline void CPreMatchInfoData::clear_stats() { - _impl_.stats_.Clear(); -} -inline ::CPreMatchInfoData_TeamStats* CPreMatchInfoData::mutable_stats(int index) { - // @@protoc_insertion_point(field_mutable:CPreMatchInfoData.stats) - return _impl_.stats_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPreMatchInfoData_TeamStats >* -CPreMatchInfoData::mutable_stats() { - // @@protoc_insertion_point(field_mutable_list:CPreMatchInfoData.stats) - return &_impl_.stats_; -} -inline const ::CPreMatchInfoData_TeamStats& CPreMatchInfoData::_internal_stats(int index) const { - return _impl_.stats_.Get(index); -} -inline const ::CPreMatchInfoData_TeamStats& CPreMatchInfoData::stats(int index) const { - // @@protoc_insertion_point(field_get:CPreMatchInfoData.stats) - return _internal_stats(index); -} -inline ::CPreMatchInfoData_TeamStats* CPreMatchInfoData::_internal_add_stats() { - return _impl_.stats_.Add(); -} -inline ::CPreMatchInfoData_TeamStats* CPreMatchInfoData::add_stats() { - ::CPreMatchInfoData_TeamStats* _add = _internal_add_stats(); - // @@protoc_insertion_point(field_add:CPreMatchInfoData.stats) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPreMatchInfoData_TeamStats >& -CPreMatchInfoData::stats() const { - // @@protoc_insertion_point(field_list:CPreMatchInfoData.stats) - return _impl_.stats_; -} - -// repeated int32 wins = 6; -inline int CPreMatchInfoData::_internal_wins_size() const { - return _impl_.wins_.size(); -} -inline int CPreMatchInfoData::wins_size() const { - return _internal_wins_size(); -} -inline void CPreMatchInfoData::clear_wins() { - _impl_.wins_.Clear(); -} -inline int32_t CPreMatchInfoData::_internal_wins(int index) const { - return _impl_.wins_.Get(index); -} -inline int32_t CPreMatchInfoData::wins(int index) const { - // @@protoc_insertion_point(field_get:CPreMatchInfoData.wins) - return _internal_wins(index); -} -inline void CPreMatchInfoData::set_wins(int index, int32_t value) { - _impl_.wins_.Set(index, value); - // @@protoc_insertion_point(field_set:CPreMatchInfoData.wins) -} -inline void CPreMatchInfoData::_internal_add_wins(int32_t value) { - _impl_.wins_.Add(value); -} -inline void CPreMatchInfoData::add_wins(int32_t value) { - _internal_add_wins(value); - // @@protoc_insertion_point(field_add:CPreMatchInfoData.wins) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CPreMatchInfoData::_internal_wins() const { - return _impl_.wins_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CPreMatchInfoData::wins() const { - // @@protoc_insertion_point(field_list:CPreMatchInfoData.wins) - return _internal_wins(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CPreMatchInfoData::_internal_mutable_wins() { - return &_impl_.wins_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CPreMatchInfoData::mutable_wins() { - // @@protoc_insertion_point(field_mutable_list:CPreMatchInfoData.wins) - return _internal_mutable_wins(); -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve - -// repeated uint32 account_ids = 1; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_account_ids_size() const { - return _impl_.account_ids_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::account_ids_size() const { - return _internal_account_ids_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_account_ids() { - _impl_.account_ids_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_account_ids(int index) const { - return _impl_.account_ids_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::account_ids(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.account_ids) - return _internal_account_ids(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_account_ids(int index, uint32_t value) { - _impl_.account_ids_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.account_ids) -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_add_account_ids(uint32_t value) { - _impl_.account_ids_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::add_account_ids(uint32_t value) { - _internal_add_account_ids(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.account_ids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_account_ids() const { - return _impl_.account_ids_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::account_ids() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.account_ids) - return _internal_account_ids(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_mutable_account_ids() { - return &_impl_.account_ids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_account_ids() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.account_ids) - return _internal_mutable_account_ids(); -} - -// optional uint32 game_type = 2; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_game_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_game_type() const { - return _internal_has_game_type(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_game_type() { - _impl_.game_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_game_type() const { - return _impl_.game_type_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::game_type() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.game_type) - return _internal_game_type(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_game_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.game_type_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_game_type(uint32_t value) { - _internal_set_game_type(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.game_type) -} - -// optional uint64 match_id = 3; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_match_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_match_id() const { - return _internal_has_match_id(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_match_id() { - _impl_.match_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_match_id() const { - return _impl_.match_id_; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::match_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.match_id) - return _internal_match_id(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_match_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.match_id_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_match_id(uint64_t value) { - _internal_set_match_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.match_id) -} - -// optional uint32 server_version = 4; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_server_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_server_version() const { - return _internal_has_server_version(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_server_version() { - _impl_.server_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_server_version() const { - return _impl_.server_version_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::server_version() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.server_version) - return _internal_server_version(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_server_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.server_version_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_server_version(uint32_t value) { - _internal_set_server_version(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.server_version) -} - -// optional uint32 flags = 18; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_flags() const { - return _internal_has_flags(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::flags() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.flags) - return _internal_flags(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.flags_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.flags) -} - -// repeated .PlayerRankingInfo rankings = 5; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_rankings_size() const { - return _impl_.rankings_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::rankings_size() const { - return _internal_rankings_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_rankings() { - _impl_.rankings_.Clear(); -} -inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_rankings(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.rankings) - return _impl_.rankings_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >* -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_rankings() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.rankings) - return &_impl_.rankings_; -} -inline const ::PlayerRankingInfo& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_rankings(int index) const { - return _impl_.rankings_.Get(index); -} -inline const ::PlayerRankingInfo& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::rankings(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.rankings) - return _internal_rankings(index); -} -inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_add_rankings() { - return _impl_.rankings_.Add(); -} -inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::add_rankings() { - ::PlayerRankingInfo* _add = _internal_add_rankings(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.rankings) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >& -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::rankings() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.rankings) - return _impl_.rankings_; -} - -// optional uint64 encryption_key = 6; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_encryption_key() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_encryption_key() const { - return _internal_has_encryption_key(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_encryption_key() { - _impl_.encryption_key_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_encryption_key() const { - return _impl_.encryption_key_; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::encryption_key() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.encryption_key) - return _internal_encryption_key(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_encryption_key(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.encryption_key_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_encryption_key(uint64_t value) { - _internal_set_encryption_key(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.encryption_key) -} - -// optional uint64 encryption_key_pub = 7; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_encryption_key_pub() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_encryption_key_pub() const { - return _internal_has_encryption_key_pub(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_encryption_key_pub() { - _impl_.encryption_key_pub_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_encryption_key_pub() const { - return _impl_.encryption_key_pub_; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::encryption_key_pub() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.encryption_key_pub) - return _internal_encryption_key_pub(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_encryption_key_pub(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.encryption_key_pub_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_encryption_key_pub(uint64_t value) { - _internal_set_encryption_key_pub(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.encryption_key_pub) -} - -// repeated uint32 party_ids = 8; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_party_ids_size() const { - return _impl_.party_ids_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::party_ids_size() const { - return _internal_party_ids_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_party_ids() { - _impl_.party_ids_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_party_ids(int index) const { - return _impl_.party_ids_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::party_ids(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.party_ids) - return _internal_party_ids(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_party_ids(int index, uint32_t value) { - _impl_.party_ids_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.party_ids) -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_add_party_ids(uint32_t value) { - _impl_.party_ids_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::add_party_ids(uint32_t value) { - _internal_add_party_ids(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.party_ids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_party_ids() const { - return _impl_.party_ids_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::party_ids() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.party_ids) - return _internal_party_ids(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_mutable_party_ids() { - return &_impl_.party_ids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_party_ids() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.party_ids) - return _internal_mutable_party_ids(); -} - -// repeated .IpAddressMask whitelist = 9; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_whitelist_size() const { - return _impl_.whitelist_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::whitelist_size() const { - return _internal_whitelist_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_whitelist() { - _impl_.whitelist_.Clear(); -} -inline ::IpAddressMask* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_whitelist(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.whitelist) - return _impl_.whitelist_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::IpAddressMask >* -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_whitelist() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.whitelist) - return &_impl_.whitelist_; -} -inline const ::IpAddressMask& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_whitelist(int index) const { - return _impl_.whitelist_.Get(index); -} -inline const ::IpAddressMask& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::whitelist(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.whitelist) - return _internal_whitelist(index); -} -inline ::IpAddressMask* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_add_whitelist() { - return _impl_.whitelist_.Add(); -} -inline ::IpAddressMask* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::add_whitelist() { - ::IpAddressMask* _add = _internal_add_whitelist(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.whitelist) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::IpAddressMask >& -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::whitelist() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.whitelist) - return _impl_.whitelist_; -} - -// optional uint64 tv_master_steamid = 10; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_tv_master_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_tv_master_steamid() const { - return _internal_has_tv_master_steamid(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_tv_master_steamid() { - _impl_.tv_master_steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_tv_master_steamid() const { - return _impl_.tv_master_steamid_; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tv_master_steamid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tv_master_steamid) - return _internal_tv_master_steamid(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_tv_master_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.tv_master_steamid_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_tv_master_steamid(uint64_t value) { - _internal_set_tv_master_steamid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tv_master_steamid) -} - -// optional .TournamentEvent tournament_event = 11; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_tournament_event() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.tournament_event_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_tournament_event() const { - return _internal_has_tournament_event(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_tournament_event() { - if (_impl_.tournament_event_ != nullptr) _impl_.tournament_event_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::TournamentEvent& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_tournament_event() const { - const ::TournamentEvent* p = _impl_.tournament_event_; - return p != nullptr ? *p : reinterpret_cast( - ::_TournamentEvent_default_instance_); -} -inline const ::TournamentEvent& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tournament_event() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_event) - return _internal_tournament_event(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::unsafe_arena_set_allocated_tournament_event( - ::TournamentEvent* tournament_event) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tournament_event_); - } - _impl_.tournament_event_ = tournament_event; - if (tournament_event) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_event) -} -inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::release_tournament_event() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::TournamentEvent* temp = _impl_.tournament_event_; - _impl_.tournament_event_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::unsafe_arena_release_tournament_event() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_event) - _impl_._has_bits_[0] &= ~0x00000001u; - ::TournamentEvent* temp = _impl_.tournament_event_; - _impl_.tournament_event_ = nullptr; - return temp; -} -inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_mutable_tournament_event() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.tournament_event_ == nullptr) { - auto* p = CreateMaybeMessage<::TournamentEvent>(GetArenaForAllocation()); - _impl_.tournament_event_ = p; - } - return _impl_.tournament_event_; -} -inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_tournament_event() { - ::TournamentEvent* _msg = _internal_mutable_tournament_event(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_event) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_allocated_tournament_event(::TournamentEvent* tournament_event) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.tournament_event_; - } - if (tournament_event) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(tournament_event); - if (message_arena != submessage_arena) { - tournament_event = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, tournament_event, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.tournament_event_ = tournament_event; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_event) -} - -// repeated .TournamentTeam tournament_teams = 12; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_tournament_teams_size() const { - return _impl_.tournament_teams_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tournament_teams_size() const { - return _internal_tournament_teams_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_tournament_teams() { - _impl_.tournament_teams_.Clear(); -} -inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_tournament_teams(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_teams) - return _impl_.tournament_teams_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >* -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_tournament_teams() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_teams) - return &_impl_.tournament_teams_; -} -inline const ::TournamentTeam& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_tournament_teams(int index) const { - return _impl_.tournament_teams_.Get(index); -} -inline const ::TournamentTeam& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tournament_teams(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_teams) - return _internal_tournament_teams(index); -} -inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_add_tournament_teams() { - return _impl_.tournament_teams_.Add(); -} -inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::add_tournament_teams() { - ::TournamentTeam* _add = _internal_add_tournament_teams(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_teams) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >& -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tournament_teams() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_teams) - return _impl_.tournament_teams_; -} - -// repeated uint32 tournament_casters_account_ids = 13; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_tournament_casters_account_ids_size() const { - return _impl_.tournament_casters_account_ids_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tournament_casters_account_ids_size() const { - return _internal_tournament_casters_account_ids_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_tournament_casters_account_ids() { - _impl_.tournament_casters_account_ids_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_tournament_casters_account_ids(int index) const { - return _impl_.tournament_casters_account_ids_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tournament_casters_account_ids(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_casters_account_ids) - return _internal_tournament_casters_account_ids(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_tournament_casters_account_ids(int index, uint32_t value) { - _impl_.tournament_casters_account_ids_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_casters_account_ids) -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_add_tournament_casters_account_ids(uint32_t value) { - _impl_.tournament_casters_account_ids_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::add_tournament_casters_account_ids(uint32_t value) { - _internal_add_tournament_casters_account_ids(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_casters_account_ids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_tournament_casters_account_ids() const { - return _impl_.tournament_casters_account_ids_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tournament_casters_account_ids() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_casters_account_ids) - return _internal_tournament_casters_account_ids(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_mutable_tournament_casters_account_ids() { - return &_impl_.tournament_casters_account_ids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_tournament_casters_account_ids() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tournament_casters_account_ids) - return _internal_mutable_tournament_casters_account_ids(); -} - -// optional uint64 tv_relay_steamid = 14; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_tv_relay_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_tv_relay_steamid() const { - return _internal_has_tv_relay_steamid(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_tv_relay_steamid() { - _impl_.tv_relay_steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_tv_relay_steamid() const { - return _impl_.tv_relay_steamid_; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tv_relay_steamid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tv_relay_steamid) - return _internal_tv_relay_steamid(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_tv_relay_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.tv_relay_steamid_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_tv_relay_steamid(uint64_t value) { - _internal_set_tv_relay_steamid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tv_relay_steamid) -} - -// optional .CPreMatchInfoData pre_match_data = 15; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_pre_match_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.pre_match_data_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_pre_match_data() const { - return _internal_has_pre_match_data(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_pre_match_data() { - if (_impl_.pre_match_data_ != nullptr) _impl_.pre_match_data_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CPreMatchInfoData& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_pre_match_data() const { - const ::CPreMatchInfoData* p = _impl_.pre_match_data_; - return p != nullptr ? *p : reinterpret_cast( - ::_CPreMatchInfoData_default_instance_); -} -inline const ::CPreMatchInfoData& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::pre_match_data() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.pre_match_data) - return _internal_pre_match_data(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::unsafe_arena_set_allocated_pre_match_data( - ::CPreMatchInfoData* pre_match_data) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pre_match_data_); - } - _impl_.pre_match_data_ = pre_match_data; - if (pre_match_data) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.pre_match_data) -} -inline ::CPreMatchInfoData* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::release_pre_match_data() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CPreMatchInfoData* temp = _impl_.pre_match_data_; - _impl_.pre_match_data_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CPreMatchInfoData* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::unsafe_arena_release_pre_match_data() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.pre_match_data) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CPreMatchInfoData* temp = _impl_.pre_match_data_; - _impl_.pre_match_data_ = nullptr; - return temp; -} -inline ::CPreMatchInfoData* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_mutable_pre_match_data() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.pre_match_data_ == nullptr) { - auto* p = CreateMaybeMessage<::CPreMatchInfoData>(GetArenaForAllocation()); - _impl_.pre_match_data_ = p; - } - return _impl_.pre_match_data_; -} -inline ::CPreMatchInfoData* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_pre_match_data() { - ::CPreMatchInfoData* _msg = _internal_mutable_pre_match_data(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.pre_match_data) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_allocated_pre_match_data(::CPreMatchInfoData* pre_match_data) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.pre_match_data_; - } - if (pre_match_data) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(pre_match_data); - if (message_arena != submessage_arena) { - pre_match_data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, pre_match_data, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.pre_match_data_ = pre_match_data; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.pre_match_data) -} - -// optional uint32 tv_control = 17; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_tv_control() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_tv_control() const { - return _internal_has_tv_control(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_tv_control() { - _impl_.tv_control_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_tv_control() const { - return _impl_.tv_control_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::tv_control() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tv_control) - return _internal_tv_control(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_tv_control(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.tv_control_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_tv_control(uint32_t value) { - _internal_set_tv_control(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.tv_control) -} - -// repeated .OperationalVarValue op_var_values = 19; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_op_var_values_size() const { - return _impl_.op_var_values_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::op_var_values_size() const { - return _internal_op_var_values_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_op_var_values() { - _impl_.op_var_values_.Clear(); -} -inline ::OperationalVarValue* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_op_var_values(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.op_var_values) - return _impl_.op_var_values_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalVarValue >* -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_op_var_values() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.op_var_values) - return &_impl_.op_var_values_; -} -inline const ::OperationalVarValue& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_op_var_values(int index) const { - return _impl_.op_var_values_.Get(index); -} -inline const ::OperationalVarValue& CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::op_var_values(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.op_var_values) - return _internal_op_var_values(index); -} -inline ::OperationalVarValue* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_add_op_var_values() { - return _impl_.op_var_values_.Add(); -} -inline ::OperationalVarValue* CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::add_op_var_values() { - ::OperationalVarValue* _add = _internal_add_op_var_values(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.op_var_values) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OperationalVarValue >& -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::op_var_values() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.op_var_values) - return _impl_.op_var_values_; -} - -// optional uint32 socache_control = 20; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_socache_control() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_socache_control() const { - return _internal_has_socache_control(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_socache_control() { - _impl_.socache_control_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_socache_control() const { - return _impl_.socache_control_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::socache_control() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.socache_control) - return _internal_socache_control(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_socache_control(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.socache_control_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_socache_control(uint32_t value) { - _internal_set_socache_control(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.socache_control) -} - -// repeated int32 teammate_colors = 21; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_teammate_colors_size() const { - return _impl_.teammate_colors_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::teammate_colors_size() const { - return _internal_teammate_colors_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_teammate_colors() { - _impl_.teammate_colors_.Clear(); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_teammate_colors(int index) const { - return _impl_.teammate_colors_.Get(index); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::teammate_colors(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.teammate_colors) - return _internal_teammate_colors(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_teammate_colors(int index, int32_t value) { - _impl_.teammate_colors_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.teammate_colors) -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_add_teammate_colors(int32_t value) { - _impl_.teammate_colors_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::add_teammate_colors(int32_t value) { - _internal_add_teammate_colors(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.teammate_colors) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_teammate_colors() const { - return _impl_.teammate_colors_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::teammate_colors() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.teammate_colors) - return _internal_teammate_colors(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_mutable_teammate_colors() { - return &_impl_.teammate_colors_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::mutable_teammate_colors() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.teammate_colors) - return _internal_mutable_teammate_colors(); -} - -// optional uint32 match_id_additional = 22; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_has_match_id_additional() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::has_match_id_additional() const { - return _internal_has_match_id_additional(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::clear_match_id_additional() { - _impl_.match_id_additional_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_match_id_additional() const { - return _impl_.match_id_additional_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::match_id_additional() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.match_id_additional) - return _internal_match_id_additional(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::_internal_set_match_id_additional(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.match_id_additional_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::set_match_id_additional(uint32_t value) { - _internal_set_match_id_additional(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve.match_id_additional) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchmakingServerReservationResponse - -// optional uint64 reservationid = 1; -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_reservationid() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_reservationid() const { - return _internal_has_reservationid(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_reservationid() { - _impl_.reservationid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_reservationid() const { - return _impl_.reservationid_; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::reservationid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reservationid) - return _internal_reservationid(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_reservationid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.reservationid_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_reservationid(uint64_t value) { - _internal_set_reservationid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reservationid) -} - -// optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_reservation() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.reservation_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_reservation() const { - return _internal_has_reservation(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_reservation() { - if (_impl_.reservation_ != nullptr) _impl_.reservation_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_reservation() const { - const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* p = _impl_.reservation_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve_default_instance_); -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::reservation() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reservation) - return _internal_reservation(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::unsafe_arena_set_allocated_reservation( - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.reservation_); - } - _impl_.reservation_ = reservation; - if (reservation) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reservation) -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::release_reservation() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* temp = _impl_.reservation_; - _impl_.reservation_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::unsafe_arena_release_reservation() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reservation) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* temp = _impl_.reservation_; - _impl_.reservation_ = nullptr; - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_mutable_reservation() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.reservation_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve>(GetArenaForAllocation()); - _impl_.reservation_ = p; - } - return _impl_.reservation_; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::mutable_reservation() { - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* _msg = _internal_mutable_reservation(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reservation) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_allocated_reservation(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.reservation_; - } - if (reservation) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(reservation); - if (message_arena != submessage_arena) { - reservation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, reservation, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.reservation_ = reservation; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reservation) -} - -// optional string map = 3; -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_map() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_map() const { - return _internal_has_map(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_map() { - _impl_.map_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::map() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.map) - return _internal_map(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_map(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.map_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.map) -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::mutable_map() { - std::string* _s = _internal_mutable_map(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.map) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_map() const { - return _impl_.map_.Get(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_map(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.map_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_mutable_map() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.map_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::release_map() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.map) - if (!_internal_has_map()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.map_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.map_.IsDefault()) { - _impl_.map_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_allocated_map(std::string* map) { - if (map != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.map_.SetAllocated(map, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.map_.IsDefault()) { - _impl_.map_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.map) -} - -// optional uint64 gc_reservation_sent = 4; -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_gc_reservation_sent() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_gc_reservation_sent() const { - return _internal_has_gc_reservation_sent(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_gc_reservation_sent() { - _impl_.gc_reservation_sent_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_gc_reservation_sent() const { - return _impl_.gc_reservation_sent_; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::gc_reservation_sent() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.gc_reservation_sent) - return _internal_gc_reservation_sent(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_gc_reservation_sent(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.gc_reservation_sent_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_gc_reservation_sent(uint64_t value) { - _internal_set_gc_reservation_sent(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.gc_reservation_sent) -} - -// optional uint32 server_version = 5; -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_server_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_server_version() const { - return _internal_has_server_version(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_server_version() { - _impl_.server_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_server_version() const { - return _impl_.server_version_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::server_version() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.server_version) - return _internal_server_version(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_server_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.server_version_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_server_version(uint32_t value) { - _internal_set_server_version(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.server_version) -} - -// optional .ServerHltvInfo tv_info = 6; -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_tv_info() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.tv_info_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_tv_info() const { - return _internal_has_tv_info(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_tv_info() { - if (_impl_.tv_info_ != nullptr) _impl_.tv_info_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::ServerHltvInfo& CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_tv_info() const { - const ::ServerHltvInfo* p = _impl_.tv_info_; - return p != nullptr ? *p : reinterpret_cast( - ::_ServerHltvInfo_default_instance_); -} -inline const ::ServerHltvInfo& CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::tv_info() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tv_info) - return _internal_tv_info(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::unsafe_arena_set_allocated_tv_info( - ::ServerHltvInfo* tv_info) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tv_info_); - } - _impl_.tv_info_ = tv_info; - if (tv_info) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tv_info) -} -inline ::ServerHltvInfo* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::release_tv_info() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::ServerHltvInfo* temp = _impl_.tv_info_; - _impl_.tv_info_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::ServerHltvInfo* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::unsafe_arena_release_tv_info() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tv_info) - _impl_._has_bits_[0] &= ~0x00000008u; - ::ServerHltvInfo* temp = _impl_.tv_info_; - _impl_.tv_info_ = nullptr; - return temp; -} -inline ::ServerHltvInfo* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_mutable_tv_info() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.tv_info_ == nullptr) { - auto* p = CreateMaybeMessage<::ServerHltvInfo>(GetArenaForAllocation()); - _impl_.tv_info_ = p; - } - return _impl_.tv_info_; -} -inline ::ServerHltvInfo* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::mutable_tv_info() { - ::ServerHltvInfo* _msg = _internal_mutable_tv_info(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tv_info) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_allocated_tv_info(::ServerHltvInfo* tv_info) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.tv_info_; - } - if (tv_info) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(tv_info); - if (message_arena != submessage_arena) { - tv_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, tv_info, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.tv_info_ = tv_info; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tv_info) -} - -// repeated uint32 reward_player_accounts = 7; -inline int CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_reward_player_accounts_size() const { - return _impl_.reward_player_accounts_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::reward_player_accounts_size() const { - return _internal_reward_player_accounts_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_reward_player_accounts() { - _impl_.reward_player_accounts_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_reward_player_accounts(int index) const { - return _impl_.reward_player_accounts_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::reward_player_accounts(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_player_accounts) - return _internal_reward_player_accounts(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_reward_player_accounts(int index, uint32_t value) { - _impl_.reward_player_accounts_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_player_accounts) -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_add_reward_player_accounts(uint32_t value) { - _impl_.reward_player_accounts_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::add_reward_player_accounts(uint32_t value) { - _internal_add_reward_player_accounts(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_player_accounts) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_reward_player_accounts() const { - return _impl_.reward_player_accounts_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::reward_player_accounts() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_player_accounts) - return _internal_reward_player_accounts(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_mutable_reward_player_accounts() { - return &_impl_.reward_player_accounts_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::mutable_reward_player_accounts() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_player_accounts) - return _internal_mutable_reward_player_accounts(); -} - -// repeated uint32 idle_player_accounts = 8; -inline int CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_idle_player_accounts_size() const { - return _impl_.idle_player_accounts_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::idle_player_accounts_size() const { - return _internal_idle_player_accounts_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_idle_player_accounts() { - _impl_.idle_player_accounts_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_idle_player_accounts(int index) const { - return _impl_.idle_player_accounts_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::idle_player_accounts(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.idle_player_accounts) - return _internal_idle_player_accounts(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_idle_player_accounts(int index, uint32_t value) { - _impl_.idle_player_accounts_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.idle_player_accounts) -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_add_idle_player_accounts(uint32_t value) { - _impl_.idle_player_accounts_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::add_idle_player_accounts(uint32_t value) { - _internal_add_idle_player_accounts(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.idle_player_accounts) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_idle_player_accounts() const { - return _impl_.idle_player_accounts_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::idle_player_accounts() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.idle_player_accounts) - return _internal_idle_player_accounts(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_mutable_idle_player_accounts() { - return &_impl_.idle_player_accounts_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::mutable_idle_player_accounts() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.idle_player_accounts) - return _internal_mutable_idle_player_accounts(); -} - -// optional uint32 reward_item_attr_def_idx = 9; -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_reward_item_attr_def_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_reward_item_attr_def_idx() const { - return _internal_has_reward_item_attr_def_idx(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_reward_item_attr_def_idx() { - _impl_.reward_item_attr_def_idx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_reward_item_attr_def_idx() const { - return _impl_.reward_item_attr_def_idx_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::reward_item_attr_def_idx() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_item_attr_def_idx) - return _internal_reward_item_attr_def_idx(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_reward_item_attr_def_idx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.reward_item_attr_def_idx_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_reward_item_attr_def_idx(uint32_t value) { - _internal_set_reward_item_attr_def_idx(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_item_attr_def_idx) -} - -// optional uint32 reward_item_attr_value = 10; -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_reward_item_attr_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_reward_item_attr_value() const { - return _internal_has_reward_item_attr_value(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_reward_item_attr_value() { - _impl_.reward_item_attr_value_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_reward_item_attr_value() const { - return _impl_.reward_item_attr_value_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::reward_item_attr_value() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_item_attr_value) - return _internal_reward_item_attr_value(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_reward_item_attr_value(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.reward_item_attr_value_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_reward_item_attr_value(uint32_t value) { - _internal_set_reward_item_attr_value(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_item_attr_value) -} - -// optional uint32 reward_item_attr_reward_idx = 11; -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_reward_item_attr_reward_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_reward_item_attr_reward_idx() const { - return _internal_has_reward_item_attr_reward_idx(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_reward_item_attr_reward_idx() { - _impl_.reward_item_attr_reward_idx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_reward_item_attr_reward_idx() const { - return _impl_.reward_item_attr_reward_idx_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::reward_item_attr_reward_idx() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_item_attr_reward_idx) - return _internal_reward_item_attr_reward_idx(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_reward_item_attr_reward_idx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.reward_item_attr_reward_idx_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_reward_item_attr_reward_idx(uint32_t value) { - _internal_set_reward_item_attr_reward_idx(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_item_attr_reward_idx) -} - -// optional uint32 reward_drop_list = 12; -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_reward_drop_list() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_reward_drop_list() const { - return _internal_has_reward_drop_list(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_reward_drop_list() { - _impl_.reward_drop_list_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_reward_drop_list() const { - return _impl_.reward_drop_list_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::reward_drop_list() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_drop_list) - return _internal_reward_drop_list(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_reward_drop_list(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.reward_drop_list_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_reward_drop_list(uint32_t value) { - _internal_set_reward_drop_list(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.reward_drop_list) -} - -// optional string tournament_tag = 13; -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_tournament_tag() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_tournament_tag() const { - return _internal_has_tournament_tag(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_tournament_tag() { - _impl_.tournament_tag_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::tournament_tag() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tournament_tag) - return _internal_tournament_tag(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_tournament_tag(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.tournament_tag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tournament_tag) -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::mutable_tournament_tag() { - std::string* _s = _internal_mutable_tournament_tag(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tournament_tag) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_tournament_tag() const { - return _impl_.tournament_tag_.Get(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_tournament_tag(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.tournament_tag_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_mutable_tournament_tag() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.tournament_tag_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::release_tournament_tag() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tournament_tag) - if (!_internal_has_tournament_tag()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.tournament_tag_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.tournament_tag_.IsDefault()) { - _impl_.tournament_tag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_allocated_tournament_tag(std::string* tournament_tag) { - if (tournament_tag != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.tournament_tag_.SetAllocated(tournament_tag, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.tournament_tag_.IsDefault()) { - _impl_.tournament_tag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.tournament_tag) -} - -// optional uint32 legacy_steamdatagram_port = 14; -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_legacy_steamdatagram_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_legacy_steamdatagram_port() const { - return _internal_has_legacy_steamdatagram_port(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_legacy_steamdatagram_port() { - _impl_.legacy_steamdatagram_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_legacy_steamdatagram_port() const { - return _impl_.legacy_steamdatagram_port_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::legacy_steamdatagram_port() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.legacy_steamdatagram_port) - return _internal_legacy_steamdatagram_port(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_legacy_steamdatagram_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.legacy_steamdatagram_port_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_legacy_steamdatagram_port(uint32_t value) { - _internal_set_legacy_steamdatagram_port(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.legacy_steamdatagram_port) -} - -// optional uint32 steamdatagram_routing = 17; -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_steamdatagram_routing() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_steamdatagram_routing() const { - return _internal_has_steamdatagram_routing(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_steamdatagram_routing() { - _impl_.steamdatagram_routing_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_steamdatagram_routing() const { - return _impl_.steamdatagram_routing_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::steamdatagram_routing() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.steamdatagram_routing) - return _internal_steamdatagram_routing(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_steamdatagram_routing(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.steamdatagram_routing_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_steamdatagram_routing(uint32_t value) { - _internal_set_steamdatagram_routing(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.steamdatagram_routing) -} - -// optional fixed32 test_token = 15; -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_test_token() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_test_token() const { - return _internal_has_test_token(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_test_token() { - _impl_.test_token_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_test_token() const { - return _impl_.test_token_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::test_token() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.test_token) - return _internal_test_token(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_test_token(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.test_token_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_test_token(uint32_t value) { - _internal_set_test_token(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.test_token) -} - -// optional uint32 flags = 16; -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_flags() const { - return _internal_has_flags(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::flags() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.flags) - return _internal_flags(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.flags_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.flags) -} - -// optional uint32 system_load = 18; -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_system_load() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_system_load() const { - return _internal_has_system_load(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_system_load() { - _impl_.system_load_ = 0u; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_system_load() const { - return _impl_.system_load_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::system_load() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.system_load) - return _internal_system_load(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_system_load(uint32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.system_load_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_system_load(uint32_t value) { - _internal_set_system_load(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.system_load) -} - -// optional uint32 cpus_online = 19; -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_has_cpus_online() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::has_cpus_online() const { - return _internal_has_cpus_online(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::clear_cpus_online() { - _impl_.cpus_online_ = 0u; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_cpus_online() const { - return _impl_.cpus_online_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::cpus_online() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.cpus_online) - return _internal_cpus_online(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::_internal_set_cpus_online(uint32_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.cpus_online_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerReservationResponse::set_cpus_online(uint32_t value) { - _internal_set_cpus_online(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerReservationResponse.cpus_online) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve - -// optional uint64 serverid = 1; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_has_serverid() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::has_serverid() const { - return _internal_has_serverid(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::clear_serverid() { - _impl_.serverid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_serverid() const { - return _impl_.serverid_; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::serverid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.serverid) - return _internal_serverid(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_set_serverid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.serverid_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_serverid(uint64_t value) { - _internal_set_serverid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.serverid) -} - -// optional uint32 direct_udp_ip = 2; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_has_direct_udp_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::has_direct_udp_ip() const { - return _internal_has_direct_udp_ip(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::clear_direct_udp_ip() { - _impl_.direct_udp_ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_direct_udp_ip() const { - return _impl_.direct_udp_ip_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::direct_udp_ip() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.direct_udp_ip) - return _internal_direct_udp_ip(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_set_direct_udp_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.direct_udp_ip_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_direct_udp_ip(uint32_t value) { - _internal_set_direct_udp_ip(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.direct_udp_ip) -} - -// optional uint32 direct_udp_port = 3; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_has_direct_udp_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::has_direct_udp_port() const { - return _internal_has_direct_udp_port(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::clear_direct_udp_port() { - _impl_.direct_udp_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_direct_udp_port() const { - return _impl_.direct_udp_port_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::direct_udp_port() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.direct_udp_port) - return _internal_direct_udp_port(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_set_direct_udp_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.direct_udp_port_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_direct_udp_port(uint32_t value) { - _internal_set_direct_udp_port(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.direct_udp_port) -} - -// optional uint64 reservationid = 4; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_has_reservationid() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::has_reservationid() const { - return _internal_has_reservationid(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::clear_reservationid() { - _impl_.reservationid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_reservationid() const { - return _impl_.reservationid_; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::reservationid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.reservationid) - return _internal_reservationid(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_set_reservationid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.reservationid_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_reservationid(uint64_t value) { - _internal_set_reservationid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.reservationid) -} - -// optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 5; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_has_reservation() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.reservation_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::has_reservation() const { - return _internal_has_reservation(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::clear_reservation() { - if (_impl_.reservation_ != nullptr) _impl_.reservation_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_reservation() const { - const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* p = _impl_.reservation_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve_default_instance_); -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::reservation() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.reservation) - return _internal_reservation(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::unsafe_arena_set_allocated_reservation( - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.reservation_); - } - _impl_.reservation_ = reservation; - if (reservation) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.reservation) -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::release_reservation() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* temp = _impl_.reservation_; - _impl_.reservation_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::unsafe_arena_release_reservation() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.reservation) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* temp = _impl_.reservation_; - _impl_.reservation_ = nullptr; - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_mutable_reservation() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.reservation_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve>(GetArenaForAllocation()); - _impl_.reservation_ = p; - } - return _impl_.reservation_; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::mutable_reservation() { - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* _msg = _internal_mutable_reservation(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.reservation) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_allocated_reservation(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.reservation_; - } - if (reservation) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(reservation); - if (message_arena != submessage_arena) { - reservation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, reservation, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.reservation_ = reservation; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.reservation) -} - -// optional string map = 6; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_has_map() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::has_map() const { - return _internal_has_map(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::clear_map() { - _impl_.map_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::map() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.map) - return _internal_map(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_map(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.map_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.map) -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::mutable_map() { - std::string* _s = _internal_mutable_map(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.map) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_map() const { - return _impl_.map_.Get(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_set_map(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.map_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_mutable_map() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.map_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::release_map() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.map) - if (!_internal_has_map()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.map_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.map_.IsDefault()) { - _impl_.map_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_allocated_map(std::string* map) { - if (map != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.map_.SetAllocated(map, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.map_.IsDefault()) { - _impl_.map_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.map) -} - -// optional string server_address = 7; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_has_server_address() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::has_server_address() const { - return _internal_has_server_address(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::clear_server_address() { - _impl_.server_address_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::server_address() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.server_address) - return _internal_server_address(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_server_address(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.server_address_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.server_address) -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::mutable_server_address() { - std::string* _s = _internal_mutable_server_address(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.server_address) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_server_address() const { - return _impl_.server_address_.Get(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_set_server_address(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.server_address_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_mutable_server_address() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.server_address_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::release_server_address() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.server_address) - if (!_internal_has_server_address()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.server_address_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.server_address_.IsDefault()) { - _impl_.server_address_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_allocated_server_address(std::string* server_address) { - if (server_address != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.server_address_.SetAllocated(server_address, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.server_address_.IsDefault()) { - _impl_.server_address_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.server_address) -} - -// optional .DataCenterPing gs_ping = 8; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_has_gs_ping() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.gs_ping_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::has_gs_ping() const { - return _internal_has_gs_ping(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::clear_gs_ping() { - if (_impl_.gs_ping_ != nullptr) _impl_.gs_ping_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::DataCenterPing& CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_gs_ping() const { - const ::DataCenterPing* p = _impl_.gs_ping_; - return p != nullptr ? *p : reinterpret_cast( - ::_DataCenterPing_default_instance_); -} -inline const ::DataCenterPing& CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::gs_ping() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.gs_ping) - return _internal_gs_ping(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::unsafe_arena_set_allocated_gs_ping( - ::DataCenterPing* gs_ping) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.gs_ping_); - } - _impl_.gs_ping_ = gs_ping; - if (gs_ping) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.gs_ping) -} -inline ::DataCenterPing* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::release_gs_ping() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::DataCenterPing* temp = _impl_.gs_ping_; - _impl_.gs_ping_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::DataCenterPing* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::unsafe_arena_release_gs_ping() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.gs_ping) - _impl_._has_bits_[0] &= ~0x00000008u; - ::DataCenterPing* temp = _impl_.gs_ping_; - _impl_.gs_ping_ = nullptr; - return temp; -} -inline ::DataCenterPing* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_mutable_gs_ping() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.gs_ping_ == nullptr) { - auto* p = CreateMaybeMessage<::DataCenterPing>(GetArenaForAllocation()); - _impl_.gs_ping_ = p; - } - return _impl_.gs_ping_; -} -inline ::DataCenterPing* CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::mutable_gs_ping() { - ::DataCenterPing* _msg = _internal_mutable_gs_ping(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.gs_ping) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_allocated_gs_ping(::DataCenterPing* gs_ping) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.gs_ping_; - } - if (gs_ping) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(gs_ping); - if (message_arena != submessage_arena) { - gs_ping = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, gs_ping, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.gs_ping_ = gs_ping; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.gs_ping) -} - -// optional uint32 gs_location_id = 9; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_has_gs_location_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::has_gs_location_id() const { - return _internal_has_gs_location_id(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::clear_gs_location_id() { - _impl_.gs_location_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_gs_location_id() const { - return _impl_.gs_location_id_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::gs_location_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.gs_location_id) - return _internal_gs_location_id(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::_internal_set_gs_location_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.gs_location_id_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve::set_gs_location_id(uint32_t value) { - _internal_set_gs_location_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve.gs_location_id) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo - -// optional uint32 account_mvp = 1; -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::_internal_has_account_mvp() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::has_account_mvp() const { - return _internal_has_account_mvp(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::clear_account_mvp() { - _impl_.account_mvp_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::_internal_account_mvp() const { - return _impl_.account_mvp_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::account_mvp() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo.account_mvp) - return _internal_account_mvp(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::_internal_set_account_mvp(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.account_mvp_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo::set_account_mvp(uint32_t value) { - _internal_set_account_mvp(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo.account_mvp) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchmakingServerRoundStats - -// optional uint64 reservationid = 1; -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_reservationid() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_reservationid() const { - return _internal_has_reservationid(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_reservationid() { - _impl_.reservationid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_reservationid() const { - return _impl_.reservationid_; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::reservationid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.reservationid) - return _internal_reservationid(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_reservationid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.reservationid_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_reservationid(uint64_t value) { - _internal_set_reservationid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.reservationid) -} - -// optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_reservation() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.reservation_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_reservation() const { - return _internal_has_reservation(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_reservation() { - if (_impl_.reservation_ != nullptr) _impl_.reservation_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_reservation() const { - const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* p = _impl_.reservation_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve_default_instance_); -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& CMsgGCCStrike15_v2_MatchmakingServerRoundStats::reservation() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.reservation) - return _internal_reservation(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::unsafe_arena_set_allocated_reservation( - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.reservation_); - } - _impl_.reservation_ = reservation; - if (reservation) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.reservation) -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::release_reservation() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* temp = _impl_.reservation_; - _impl_.reservation_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::unsafe_arena_release_reservation() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.reservation) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* temp = _impl_.reservation_; - _impl_.reservation_ = nullptr; - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_reservation() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.reservation_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve>(GetArenaForAllocation()); - _impl_.reservation_ = p; - } - return _impl_.reservation_; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_reservation() { - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* _msg = _internal_mutable_reservation(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.reservation) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_allocated_reservation(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.reservation_; - } - if (reservation) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(reservation); - if (message_arena != submessage_arena) { - reservation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, reservation, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.reservation_ = reservation; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.reservation) -} - -// optional string map = 3; -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_map() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_map() const { - return _internal_has_map(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_map() { - _impl_.map_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingServerRoundStats::map() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.map) - return _internal_map(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_map(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.map_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.map) -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_map() { - std::string* _s = _internal_mutable_map(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.map) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_map() const { - return _impl_.map_.Get(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_map(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.map_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_map() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.map_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::release_map() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.map) - if (!_internal_has_map()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.map_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.map_.IsDefault()) { - _impl_.map_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_allocated_map(std::string* map) { - if (map != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.map_.SetAllocated(map, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.map_.IsDefault()) { - _impl_.map_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.map) -} - -// optional int32 round = 4; -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_round() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_round() const { - return _internal_has_round(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_round() { - _impl_.round_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_round() const { - return _impl_.round_; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::round() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.round) - return _internal_round(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_round(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.round_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_round(int32_t value) { - _internal_set_round(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.round) -} - -// repeated int32 kills = 5; -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_kills_size() const { - return _impl_.kills_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::kills_size() const { - return _internal_kills_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_kills() { - _impl_.kills_.Clear(); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_kills(int index) const { - return _impl_.kills_.Get(index); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::kills(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.kills) - return _internal_kills(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_kills(int index, int32_t value) { - _impl_.kills_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.kills) -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_kills(int32_t value) { - _impl_.kills_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_kills(int32_t value) { - _internal_add_kills(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.kills) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_kills() const { - return _impl_.kills_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::kills() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.kills) - return _internal_kills(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_kills() { - return &_impl_.kills_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_kills() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.kills) - return _internal_mutable_kills(); -} - -// repeated int32 assists = 6; -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_assists_size() const { - return _impl_.assists_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::assists_size() const { - return _internal_assists_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_assists() { - _impl_.assists_.Clear(); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_assists(int index) const { - return _impl_.assists_.Get(index); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::assists(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.assists) - return _internal_assists(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_assists(int index, int32_t value) { - _impl_.assists_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.assists) -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_assists(int32_t value) { - _impl_.assists_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_assists(int32_t value) { - _internal_add_assists(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.assists) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_assists() const { - return _impl_.assists_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::assists() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.assists) - return _internal_assists(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_assists() { - return &_impl_.assists_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_assists() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.assists) - return _internal_mutable_assists(); -} - -// repeated int32 deaths = 7; -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_deaths_size() const { - return _impl_.deaths_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::deaths_size() const { - return _internal_deaths_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_deaths() { - _impl_.deaths_.Clear(); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_deaths(int index) const { - return _impl_.deaths_.Get(index); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::deaths(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.deaths) - return _internal_deaths(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_deaths(int index, int32_t value) { - _impl_.deaths_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.deaths) -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_deaths(int32_t value) { - _impl_.deaths_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_deaths(int32_t value) { - _internal_add_deaths(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.deaths) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_deaths() const { - return _impl_.deaths_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::deaths() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.deaths) - return _internal_deaths(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_deaths() { - return &_impl_.deaths_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_deaths() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.deaths) - return _internal_mutable_deaths(); -} - -// repeated int32 scores = 8; -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_scores_size() const { - return _impl_.scores_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::scores_size() const { - return _internal_scores_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_scores() { - _impl_.scores_.Clear(); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_scores(int index) const { - return _impl_.scores_.Get(index); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::scores(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.scores) - return _internal_scores(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_scores(int index, int32_t value) { - _impl_.scores_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.scores) -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_scores(int32_t value) { - _impl_.scores_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_scores(int32_t value) { - _internal_add_scores(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.scores) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_scores() const { - return _impl_.scores_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::scores() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.scores) - return _internal_scores(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_scores() { - return &_impl_.scores_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_scores() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.scores) - return _internal_mutable_scores(); -} - -// repeated int32 pings = 9; -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_pings_size() const { - return _impl_.pings_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::pings_size() const { - return _internal_pings_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_pings() { - _impl_.pings_.Clear(); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_pings(int index) const { - return _impl_.pings_.Get(index); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::pings(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.pings) - return _internal_pings(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_pings(int index, int32_t value) { - _impl_.pings_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.pings) -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_pings(int32_t value) { - _impl_.pings_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_pings(int32_t value) { - _internal_add_pings(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.pings) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_pings() const { - return _impl_.pings_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::pings() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.pings) - return _internal_pings(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_pings() { - return &_impl_.pings_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_pings() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.pings) - return _internal_mutable_pings(); -} - -// optional int32 round_result = 10; -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_round_result() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_round_result() const { - return _internal_has_round_result(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_round_result() { - _impl_.round_result_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_round_result() const { - return _impl_.round_result_; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::round_result() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.round_result) - return _internal_round_result(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_round_result(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.round_result_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_round_result(int32_t value) { - _internal_set_round_result(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.round_result) -} - -// optional int32 match_result = 11; -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_match_result() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_match_result() const { - return _internal_has_match_result(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_match_result() { - _impl_.match_result_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_match_result() const { - return _impl_.match_result_; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::match_result() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.match_result) - return _internal_match_result(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_match_result(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.match_result_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_match_result(int32_t value) { - _internal_set_match_result(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.match_result) -} - -// repeated int32 team_scores = 12; -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_team_scores_size() const { - return _impl_.team_scores_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::team_scores_size() const { - return _internal_team_scores_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_team_scores() { - _impl_.team_scores_.Clear(); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_team_scores(int index) const { - return _impl_.team_scores_.Get(index); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::team_scores(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_scores) - return _internal_team_scores(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_team_scores(int index, int32_t value) { - _impl_.team_scores_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_scores) -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_team_scores(int32_t value) { - _impl_.team_scores_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_team_scores(int32_t value) { - _internal_add_team_scores(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_scores) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_team_scores() const { - return _impl_.team_scores_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::team_scores() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_scores) - return _internal_team_scores(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_team_scores() { - return &_impl_.team_scores_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_team_scores() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_scores) - return _internal_mutable_team_scores(); -} - -// optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm confirm = 13; -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_confirm() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.confirm_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_confirm() const { - return _internal_has_confirm(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_confirm() { - if (_impl_.confirm_ != nullptr) _impl_.confirm_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_confirm() const { - const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* p = _impl_.confirm_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm_default_instance_); -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm& CMsgGCCStrike15_v2_MatchmakingServerRoundStats::confirm() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.confirm) - return _internal_confirm(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::unsafe_arena_set_allocated_confirm( - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* confirm) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.confirm_); - } - _impl_.confirm_ = confirm; - if (confirm) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.confirm) -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::release_confirm() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* temp = _impl_.confirm_; - _impl_.confirm_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::unsafe_arena_release_confirm() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.confirm) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* temp = _impl_.confirm_; - _impl_.confirm_ = nullptr; - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_confirm() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.confirm_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm>(GetArenaForAllocation()); - _impl_.confirm_ = p; - } - return _impl_.confirm_; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_confirm() { - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* _msg = _internal_mutable_confirm(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.confirm) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_allocated_confirm(::CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm* confirm) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.confirm_; - } - if (confirm) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(confirm); - if (message_arena != submessage_arena) { - confirm = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, confirm, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.confirm_ = confirm; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.confirm) -} - -// optional int32 reservation_stage = 14; -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_reservation_stage() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_reservation_stage() const { - return _internal_has_reservation_stage(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_reservation_stage() { - _impl_.reservation_stage_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_reservation_stage() const { - return _impl_.reservation_stage_; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::reservation_stage() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.reservation_stage) - return _internal_reservation_stage(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_reservation_stage(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.reservation_stage_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_reservation_stage(int32_t value) { - _internal_set_reservation_stage(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.reservation_stage) -} - -// optional int32 match_duration = 15; -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_match_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_match_duration() const { - return _internal_has_match_duration(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_match_duration() { - _impl_.match_duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_match_duration() const { - return _impl_.match_duration_; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::match_duration() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.match_duration) - return _internal_match_duration(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_match_duration(int32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.match_duration_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_match_duration(int32_t value) { - _internal_set_match_duration(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.match_duration) -} - -// repeated int32 enemy_kills = 16; -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_kills_size() const { - return _impl_.enemy_kills_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_kills_size() const { - return _internal_enemy_kills_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_enemy_kills() { - _impl_.enemy_kills_.Clear(); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_kills(int index) const { - return _impl_.enemy_kills_.Get(index); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_kills(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills) - return _internal_enemy_kills(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_enemy_kills(int index, int32_t value) { - _impl_.enemy_kills_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills) -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_enemy_kills(int32_t value) { - _impl_.enemy_kills_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_enemy_kills(int32_t value) { - _internal_add_enemy_kills(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_kills() const { - return _impl_.enemy_kills_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_kills() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills) - return _internal_enemy_kills(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_enemy_kills() { - return &_impl_.enemy_kills_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_enemy_kills() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills) - return _internal_mutable_enemy_kills(); -} - -// repeated int32 enemy_headshots = 17; -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_headshots_size() const { - return _impl_.enemy_headshots_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_headshots_size() const { - return _internal_enemy_headshots_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_enemy_headshots() { - _impl_.enemy_headshots_.Clear(); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_headshots(int index) const { - return _impl_.enemy_headshots_.Get(index); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_headshots(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_headshots) - return _internal_enemy_headshots(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_enemy_headshots(int index, int32_t value) { - _impl_.enemy_headshots_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_headshots) -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_enemy_headshots(int32_t value) { - _impl_.enemy_headshots_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_enemy_headshots(int32_t value) { - _internal_add_enemy_headshots(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_headshots) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_headshots() const { - return _impl_.enemy_headshots_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_headshots() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_headshots) - return _internal_enemy_headshots(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_enemy_headshots() { - return &_impl_.enemy_headshots_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_enemy_headshots() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_headshots) - return _internal_mutable_enemy_headshots(); -} - -// repeated int32 enemy_3ks = 18; -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_3ks_size() const { - return _impl_.enemy_3ks_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_3ks_size() const { - return _internal_enemy_3ks_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_enemy_3ks() { - _impl_.enemy_3ks_.Clear(); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_3ks(int index) const { - return _impl_.enemy_3ks_.Get(index); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_3ks(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_3ks) - return _internal_enemy_3ks(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_enemy_3ks(int index, int32_t value) { - _impl_.enemy_3ks_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_3ks) -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_enemy_3ks(int32_t value) { - _impl_.enemy_3ks_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_enemy_3ks(int32_t value) { - _internal_add_enemy_3ks(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_3ks) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_3ks() const { - return _impl_.enemy_3ks_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_3ks() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_3ks) - return _internal_enemy_3ks(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_enemy_3ks() { - return &_impl_.enemy_3ks_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_enemy_3ks() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_3ks) - return _internal_mutable_enemy_3ks(); -} - -// repeated int32 enemy_4ks = 19; -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_4ks_size() const { - return _impl_.enemy_4ks_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_4ks_size() const { - return _internal_enemy_4ks_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_enemy_4ks() { - _impl_.enemy_4ks_.Clear(); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_4ks(int index) const { - return _impl_.enemy_4ks_.Get(index); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_4ks(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_4ks) - return _internal_enemy_4ks(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_enemy_4ks(int index, int32_t value) { - _impl_.enemy_4ks_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_4ks) -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_enemy_4ks(int32_t value) { - _impl_.enemy_4ks_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_enemy_4ks(int32_t value) { - _internal_add_enemy_4ks(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_4ks) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_4ks() const { - return _impl_.enemy_4ks_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_4ks() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_4ks) - return _internal_enemy_4ks(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_enemy_4ks() { - return &_impl_.enemy_4ks_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_enemy_4ks() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_4ks) - return _internal_mutable_enemy_4ks(); -} - -// repeated int32 enemy_5ks = 20; -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_5ks_size() const { - return _impl_.enemy_5ks_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_5ks_size() const { - return _internal_enemy_5ks_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_enemy_5ks() { - _impl_.enemy_5ks_.Clear(); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_5ks(int index) const { - return _impl_.enemy_5ks_.Get(index); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_5ks(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_5ks) - return _internal_enemy_5ks(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_enemy_5ks(int index, int32_t value) { - _impl_.enemy_5ks_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_5ks) -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_enemy_5ks(int32_t value) { - _impl_.enemy_5ks_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_enemy_5ks(int32_t value) { - _internal_add_enemy_5ks(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_5ks) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_5ks() const { - return _impl_.enemy_5ks_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_5ks() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_5ks) - return _internal_enemy_5ks(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_enemy_5ks() { - return &_impl_.enemy_5ks_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_enemy_5ks() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_5ks) - return _internal_mutable_enemy_5ks(); -} - -// repeated int32 mvps = 21; -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mvps_size() const { - return _impl_.mvps_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mvps_size() const { - return _internal_mvps_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_mvps() { - _impl_.mvps_.Clear(); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mvps(int index) const { - return _impl_.mvps_.Get(index); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mvps(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.mvps) - return _internal_mvps(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_mvps(int index, int32_t value) { - _impl_.mvps_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.mvps) -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_mvps(int32_t value) { - _impl_.mvps_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_mvps(int32_t value) { - _internal_add_mvps(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.mvps) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mvps() const { - return _impl_.mvps_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mvps() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.mvps) - return _internal_mvps(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_mvps() { - return &_impl_.mvps_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_mvps() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.mvps) - return _internal_mutable_mvps(); -} - -// optional uint32 spectators_count = 22; -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_spectators_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_spectators_count() const { - return _internal_has_spectators_count(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_spectators_count() { - _impl_.spectators_count_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_spectators_count() const { - return _impl_.spectators_count_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::spectators_count() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.spectators_count) - return _internal_spectators_count(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_spectators_count(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.spectators_count_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_spectators_count(uint32_t value) { - _internal_set_spectators_count(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.spectators_count) -} - -// optional uint32 spectators_count_tv = 23; -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_spectators_count_tv() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_spectators_count_tv() const { - return _internal_has_spectators_count_tv(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_spectators_count_tv() { - _impl_.spectators_count_tv_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_spectators_count_tv() const { - return _impl_.spectators_count_tv_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::spectators_count_tv() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.spectators_count_tv) - return _internal_spectators_count_tv(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_spectators_count_tv(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.spectators_count_tv_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_spectators_count_tv(uint32_t value) { - _internal_set_spectators_count_tv(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.spectators_count_tv) -} - -// optional uint32 spectators_count_lnk = 24; -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_spectators_count_lnk() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_spectators_count_lnk() const { - return _internal_has_spectators_count_lnk(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_spectators_count_lnk() { - _impl_.spectators_count_lnk_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_spectators_count_lnk() const { - return _impl_.spectators_count_lnk_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::spectators_count_lnk() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.spectators_count_lnk) - return _internal_spectators_count_lnk(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_spectators_count_lnk(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.spectators_count_lnk_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_spectators_count_lnk(uint32_t value) { - _internal_set_spectators_count_lnk(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.spectators_count_lnk) -} - -// repeated int32 enemy_kills_agg = 25; -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_kills_agg_size() const { - return _impl_.enemy_kills_agg_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_kills_agg_size() const { - return _internal_enemy_kills_agg_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_enemy_kills_agg() { - _impl_.enemy_kills_agg_.Clear(); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_kills_agg(int index) const { - return _impl_.enemy_kills_agg_.Get(index); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_kills_agg(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills_agg) - return _internal_enemy_kills_agg(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_enemy_kills_agg(int index, int32_t value) { - _impl_.enemy_kills_agg_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills_agg) -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_enemy_kills_agg(int32_t value) { - _impl_.enemy_kills_agg_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_enemy_kills_agg(int32_t value) { - _internal_add_enemy_kills_agg(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills_agg) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_kills_agg() const { - return _impl_.enemy_kills_agg_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_kills_agg() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills_agg) - return _internal_enemy_kills_agg(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_enemy_kills_agg() { - return &_impl_.enemy_kills_agg_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_enemy_kills_agg() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_kills_agg) - return _internal_mutable_enemy_kills_agg(); -} - -// optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats.DropInfo drop_info = 26; -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_drop_info() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.drop_info_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_drop_info() const { - return _internal_has_drop_info(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_drop_info() { - if (_impl_.drop_info_ != nullptr) _impl_.drop_info_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_drop_info() const { - const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* p = _impl_.drop_info_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo_default_instance_); -} -inline const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo& CMsgGCCStrike15_v2_MatchmakingServerRoundStats::drop_info() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.drop_info) - return _internal_drop_info(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::unsafe_arena_set_allocated_drop_info( - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* drop_info) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.drop_info_); - } - _impl_.drop_info_ = drop_info; - if (drop_info) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.drop_info) -} -inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::release_drop_info() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* temp = _impl_.drop_info_; - _impl_.drop_info_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::unsafe_arena_release_drop_info() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.drop_info) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* temp = _impl_.drop_info_; - _impl_.drop_info_ = nullptr; - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_drop_info() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.drop_info_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo>(GetArenaForAllocation()); - _impl_.drop_info_ = p; - } - return _impl_.drop_info_; -} -inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_drop_info() { - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* _msg = _internal_mutable_drop_info(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.drop_info) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_allocated_drop_info(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats_DropInfo* drop_info) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.drop_info_; - } - if (drop_info) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(drop_info); - if (message_arena != submessage_arena) { - drop_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, drop_info, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.drop_info_ = drop_info; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.drop_info) -} - -// optional bool b_switched_teams = 27; -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_b_switched_teams() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_b_switched_teams() const { - return _internal_has_b_switched_teams(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_b_switched_teams() { - _impl_.b_switched_teams_ = false; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_b_switched_teams() const { - return _impl_.b_switched_teams_; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::b_switched_teams() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.b_switched_teams) - return _internal_b_switched_teams(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_b_switched_teams(bool value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.b_switched_teams_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_b_switched_teams(bool value) { - _internal_set_b_switched_teams(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.b_switched_teams) -} - -// repeated int32 enemy_2ks = 28; -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_2ks_size() const { - return _impl_.enemy_2ks_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_2ks_size() const { - return _internal_enemy_2ks_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_enemy_2ks() { - _impl_.enemy_2ks_.Clear(); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_2ks(int index) const { - return _impl_.enemy_2ks_.Get(index); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_2ks(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_2ks) - return _internal_enemy_2ks(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_enemy_2ks(int index, int32_t value) { - _impl_.enemy_2ks_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_2ks) -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_enemy_2ks(int32_t value) { - _impl_.enemy_2ks_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_enemy_2ks(int32_t value) { - _internal_add_enemy_2ks(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_2ks) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_enemy_2ks() const { - return _impl_.enemy_2ks_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::enemy_2ks() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_2ks) - return _internal_enemy_2ks(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_enemy_2ks() { - return &_impl_.enemy_2ks_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_enemy_2ks() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.enemy_2ks) - return _internal_mutable_enemy_2ks(); -} - -// repeated int32 player_spawned = 29; -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_player_spawned_size() const { - return _impl_.player_spawned_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::player_spawned_size() const { - return _internal_player_spawned_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_player_spawned() { - _impl_.player_spawned_.Clear(); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_player_spawned(int index) const { - return _impl_.player_spawned_.Get(index); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::player_spawned(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.player_spawned) - return _internal_player_spawned(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_player_spawned(int index, int32_t value) { - _impl_.player_spawned_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.player_spawned) -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_player_spawned(int32_t value) { - _impl_.player_spawned_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_player_spawned(int32_t value) { - _internal_add_player_spawned(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.player_spawned) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_player_spawned() const { - return _impl_.player_spawned_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::player_spawned() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.player_spawned) - return _internal_player_spawned(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_player_spawned() { - return &_impl_.player_spawned_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_player_spawned() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.player_spawned) - return _internal_mutable_player_spawned(); -} - -// repeated int32 team_spawn_count = 30; -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_team_spawn_count_size() const { - return _impl_.team_spawn_count_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingServerRoundStats::team_spawn_count_size() const { - return _internal_team_spawn_count_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_team_spawn_count() { - _impl_.team_spawn_count_.Clear(); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_team_spawn_count(int index) const { - return _impl_.team_spawn_count_.Get(index); -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::team_spawn_count(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_spawn_count) - return _internal_team_spawn_count(index); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_team_spawn_count(int index, int32_t value) { - _impl_.team_spawn_count_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_spawn_count) -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_add_team_spawn_count(int32_t value) { - _impl_.team_spawn_count_.Add(value); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::add_team_spawn_count(int32_t value) { - _internal_add_team_spawn_count(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_spawn_count) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_team_spawn_count() const { - return _impl_.team_spawn_count_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::team_spawn_count() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_spawn_count) - return _internal_team_spawn_count(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_mutable_team_spawn_count() { - return &_impl_.team_spawn_count_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_MatchmakingServerRoundStats::mutable_team_spawn_count() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.team_spawn_count) - return _internal_mutable_team_spawn_count(); -} - -// optional uint32 max_rounds = 31; -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_max_rounds() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_max_rounds() const { - return _internal_has_max_rounds(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_max_rounds() { - _impl_.max_rounds_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_max_rounds() const { - return _impl_.max_rounds_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::max_rounds() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.max_rounds) - return _internal_max_rounds(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_max_rounds(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.max_rounds_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_max_rounds(uint32_t value) { - _internal_set_max_rounds(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.max_rounds) -} - -// optional int32 map_id = 32; -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_has_map_id() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingServerRoundStats::has_map_id() const { - return _internal_has_map_id(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::clear_map_id() { - _impl_.map_id_ = 0; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_map_id() const { - return _impl_.map_id_; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingServerRoundStats::map_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.map_id) - return _internal_map_id(); -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::_internal_set_map_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.map_id_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingServerRoundStats::set_map_id(int32_t value) { - _internal_set_map_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingServerRoundStats.map_id) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchmakingClient2GCHello - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchmakingGC2ClientHello - -// optional uint32 account_id = 1; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_account_id() const { - return _internal_has_account_id(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::account_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.account_id) - return _internal_account_id(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.account_id_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.account_id) -} - -// optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve ongoingmatch = 2; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_ongoingmatch() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.ongoingmatch_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_ongoingmatch() const { - return _internal_has_ongoingmatch(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_ongoingmatch() { - if (_impl_.ongoingmatch_ != nullptr) _impl_.ongoingmatch_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_ongoingmatch() const { - const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* p = _impl_.ongoingmatch_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve_default_instance_); -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::ongoingmatch() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ongoingmatch) - return _internal_ongoingmatch(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_set_allocated_ongoingmatch( - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* ongoingmatch) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ongoingmatch_); - } - _impl_.ongoingmatch_ = ongoingmatch; - if (ongoingmatch) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ongoingmatch) -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::release_ongoingmatch() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* temp = _impl_.ongoingmatch_; - _impl_.ongoingmatch_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_release_ongoingmatch() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ongoingmatch) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* temp = _impl_.ongoingmatch_; - _impl_.ongoingmatch_ = nullptr; - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_mutable_ongoingmatch() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.ongoingmatch_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve>(GetArenaForAllocation()); - _impl_.ongoingmatch_ = p; - } - return _impl_.ongoingmatch_; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_ongoingmatch() { - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* _msg = _internal_mutable_ongoingmatch(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ongoingmatch) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_allocated_ongoingmatch(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* ongoingmatch) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.ongoingmatch_; - } - if (ongoingmatch) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ongoingmatch); - if (message_arena != submessage_arena) { - ongoingmatch = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, ongoingmatch, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.ongoingmatch_ = ongoingmatch; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ongoingmatch) -} - -// optional .GlobalStatistics global_stats = 3; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_global_stats() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.global_stats_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_global_stats() const { - return _internal_has_global_stats(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_global_stats() { - if (_impl_.global_stats_ != nullptr) _impl_.global_stats_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::GlobalStatistics& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_global_stats() const { - const ::GlobalStatistics* p = _impl_.global_stats_; - return p != nullptr ? *p : reinterpret_cast( - ::_GlobalStatistics_default_instance_); -} -inline const ::GlobalStatistics& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::global_stats() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.global_stats) - return _internal_global_stats(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_set_allocated_global_stats( - ::GlobalStatistics* global_stats) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.global_stats_); - } - _impl_.global_stats_ = global_stats; - if (global_stats) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.global_stats) -} -inline ::GlobalStatistics* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::release_global_stats() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::GlobalStatistics* temp = _impl_.global_stats_; - _impl_.global_stats_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::GlobalStatistics* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_release_global_stats() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.global_stats) - _impl_._has_bits_[0] &= ~0x00000002u; - ::GlobalStatistics* temp = _impl_.global_stats_; - _impl_.global_stats_ = nullptr; - return temp; -} -inline ::GlobalStatistics* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_mutable_global_stats() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.global_stats_ == nullptr) { - auto* p = CreateMaybeMessage<::GlobalStatistics>(GetArenaForAllocation()); - _impl_.global_stats_ = p; - } - return _impl_.global_stats_; -} -inline ::GlobalStatistics* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_global_stats() { - ::GlobalStatistics* _msg = _internal_mutable_global_stats(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.global_stats) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_allocated_global_stats(::GlobalStatistics* global_stats) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.global_stats_; - } - if (global_stats) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(global_stats); - if (message_arena != submessage_arena) { - global_stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, global_stats, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.global_stats_ = global_stats; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.global_stats) -} - -// optional uint32 penalty_seconds = 4; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_penalty_seconds() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_penalty_seconds() const { - return _internal_has_penalty_seconds(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_penalty_seconds() { - _impl_.penalty_seconds_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_penalty_seconds() const { - return _impl_.penalty_seconds_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::penalty_seconds() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.penalty_seconds) - return _internal_penalty_seconds(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_set_penalty_seconds(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.penalty_seconds_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_penalty_seconds(uint32_t value) { - _internal_set_penalty_seconds(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.penalty_seconds) -} - -// optional uint32 penalty_reason = 5; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_penalty_reason() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_penalty_reason() const { - return _internal_has_penalty_reason(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_penalty_reason() { - _impl_.penalty_reason_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_penalty_reason() const { - return _impl_.penalty_reason_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::penalty_reason() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.penalty_reason) - return _internal_penalty_reason(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_set_penalty_reason(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.penalty_reason_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_penalty_reason(uint32_t value) { - _internal_set_penalty_reason(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.penalty_reason) -} - -// optional int32 vac_banned = 6; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_vac_banned() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_vac_banned() const { - return _internal_has_vac_banned(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_vac_banned() { - _impl_.vac_banned_ = 0; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_vac_banned() const { - return _impl_.vac_banned_; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::vac_banned() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.vac_banned) - return _internal_vac_banned(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_set_vac_banned(int32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.vac_banned_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_vac_banned(int32_t value) { - _internal_set_vac_banned(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.vac_banned) -} - -// optional .PlayerRankingInfo ranking = 7; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_ranking() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.ranking_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_ranking() const { - return _internal_has_ranking(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_ranking() { - if (_impl_.ranking_ != nullptr) _impl_.ranking_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::PlayerRankingInfo& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_ranking() const { - const ::PlayerRankingInfo* p = _impl_.ranking_; - return p != nullptr ? *p : reinterpret_cast( - ::_PlayerRankingInfo_default_instance_); -} -inline const ::PlayerRankingInfo& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::ranking() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ranking) - return _internal_ranking(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_set_allocated_ranking( - ::PlayerRankingInfo* ranking) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ranking_); - } - _impl_.ranking_ = ranking; - if (ranking) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ranking) -} -inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::release_ranking() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::PlayerRankingInfo* temp = _impl_.ranking_; - _impl_.ranking_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_release_ranking() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ranking) - _impl_._has_bits_[0] &= ~0x00000004u; - ::PlayerRankingInfo* temp = _impl_.ranking_; - _impl_.ranking_ = nullptr; - return temp; -} -inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_mutable_ranking() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.ranking_ == nullptr) { - auto* p = CreateMaybeMessage<::PlayerRankingInfo>(GetArenaForAllocation()); - _impl_.ranking_ = p; - } - return _impl_.ranking_; -} -inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_ranking() { - ::PlayerRankingInfo* _msg = _internal_mutable_ranking(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ranking) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_allocated_ranking(::PlayerRankingInfo* ranking) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.ranking_; - } - if (ranking) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ranking); - if (message_arena != submessage_arena) { - ranking = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, ranking, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.ranking_ = ranking; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.ranking) -} - -// optional .PlayerCommendationInfo commendation = 8; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_commendation() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.commendation_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_commendation() const { - return _internal_has_commendation(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_commendation() { - if (_impl_.commendation_ != nullptr) _impl_.commendation_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::PlayerCommendationInfo& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_commendation() const { - const ::PlayerCommendationInfo* p = _impl_.commendation_; - return p != nullptr ? *p : reinterpret_cast( - ::_PlayerCommendationInfo_default_instance_); -} -inline const ::PlayerCommendationInfo& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::commendation() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.commendation) - return _internal_commendation(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_set_allocated_commendation( - ::PlayerCommendationInfo* commendation) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.commendation_); - } - _impl_.commendation_ = commendation; - if (commendation) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.commendation) -} -inline ::PlayerCommendationInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::release_commendation() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::PlayerCommendationInfo* temp = _impl_.commendation_; - _impl_.commendation_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::PlayerCommendationInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_release_commendation() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.commendation) - _impl_._has_bits_[0] &= ~0x00000008u; - ::PlayerCommendationInfo* temp = _impl_.commendation_; - _impl_.commendation_ = nullptr; - return temp; -} -inline ::PlayerCommendationInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_mutable_commendation() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.commendation_ == nullptr) { - auto* p = CreateMaybeMessage<::PlayerCommendationInfo>(GetArenaForAllocation()); - _impl_.commendation_ = p; - } - return _impl_.commendation_; -} -inline ::PlayerCommendationInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_commendation() { - ::PlayerCommendationInfo* _msg = _internal_mutable_commendation(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.commendation) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_allocated_commendation(::PlayerCommendationInfo* commendation) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.commendation_; - } - if (commendation) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(commendation); - if (message_arena != submessage_arena) { - commendation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, commendation, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.commendation_ = commendation; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.commendation) -} - -// optional .PlayerMedalsInfo medals = 9; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_medals() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.medals_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_medals() const { - return _internal_has_medals(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_medals() { - if (_impl_.medals_ != nullptr) _impl_.medals_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const ::PlayerMedalsInfo& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_medals() const { - const ::PlayerMedalsInfo* p = _impl_.medals_; - return p != nullptr ? *p : reinterpret_cast( - ::_PlayerMedalsInfo_default_instance_); -} -inline const ::PlayerMedalsInfo& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::medals() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.medals) - return _internal_medals(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_set_allocated_medals( - ::PlayerMedalsInfo* medals) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.medals_); - } - _impl_.medals_ = medals; - if (medals) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.medals) -} -inline ::PlayerMedalsInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::release_medals() { - _impl_._has_bits_[0] &= ~0x00000010u; - ::PlayerMedalsInfo* temp = _impl_.medals_; - _impl_.medals_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::PlayerMedalsInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_release_medals() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.medals) - _impl_._has_bits_[0] &= ~0x00000010u; - ::PlayerMedalsInfo* temp = _impl_.medals_; - _impl_.medals_ = nullptr; - return temp; -} -inline ::PlayerMedalsInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_mutable_medals() { - _impl_._has_bits_[0] |= 0x00000010u; - if (_impl_.medals_ == nullptr) { - auto* p = CreateMaybeMessage<::PlayerMedalsInfo>(GetArenaForAllocation()); - _impl_.medals_ = p; - } - return _impl_.medals_; -} -inline ::PlayerMedalsInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_medals() { - ::PlayerMedalsInfo* _msg = _internal_mutable_medals(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.medals) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_allocated_medals(::PlayerMedalsInfo* medals) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.medals_; - } - if (medals) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(medals); - if (message_arena != submessage_arena) { - medals = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, medals, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.medals_ = medals; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.medals) -} - -// optional .TournamentEvent my_current_event = 10; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_my_current_event() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - PROTOBUF_ASSUME(!value || _impl_.my_current_event_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_my_current_event() const { - return _internal_has_my_current_event(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_my_current_event() { - if (_impl_.my_current_event_ != nullptr) _impl_.my_current_event_->Clear(); - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline const ::TournamentEvent& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_my_current_event() const { - const ::TournamentEvent* p = _impl_.my_current_event_; - return p != nullptr ? *p : reinterpret_cast( - ::_TournamentEvent_default_instance_); -} -inline const ::TournamentEvent& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::my_current_event() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event) - return _internal_my_current_event(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_set_allocated_my_current_event( - ::TournamentEvent* my_current_event) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.my_current_event_); - } - _impl_.my_current_event_ = my_current_event; - if (my_current_event) { - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event) -} -inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::release_my_current_event() { - _impl_._has_bits_[0] &= ~0x00000020u; - ::TournamentEvent* temp = _impl_.my_current_event_; - _impl_.my_current_event_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_release_my_current_event() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event) - _impl_._has_bits_[0] &= ~0x00000020u; - ::TournamentEvent* temp = _impl_.my_current_event_; - _impl_.my_current_event_ = nullptr; - return temp; -} -inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_mutable_my_current_event() { - _impl_._has_bits_[0] |= 0x00000020u; - if (_impl_.my_current_event_ == nullptr) { - auto* p = CreateMaybeMessage<::TournamentEvent>(GetArenaForAllocation()); - _impl_.my_current_event_ = p; - } - return _impl_.my_current_event_; -} -inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_my_current_event() { - ::TournamentEvent* _msg = _internal_mutable_my_current_event(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_allocated_my_current_event(::TournamentEvent* my_current_event) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.my_current_event_; - } - if (my_current_event) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(my_current_event); - if (message_arena != submessage_arena) { - my_current_event = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, my_current_event, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - _impl_.my_current_event_ = my_current_event; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event) -} - -// repeated .TournamentTeam my_current_event_teams = 11; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_my_current_event_teams_size() const { - return _impl_.my_current_event_teams_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::my_current_event_teams_size() const { - return _internal_my_current_event_teams_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_my_current_event_teams() { - _impl_.my_current_event_teams_.Clear(); -} -inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_my_current_event_teams(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_teams) - return _impl_.my_current_event_teams_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_my_current_event_teams() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_teams) - return &_impl_.my_current_event_teams_; -} -inline const ::TournamentTeam& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_my_current_event_teams(int index) const { - return _impl_.my_current_event_teams_.Get(index); -} -inline const ::TournamentTeam& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::my_current_event_teams(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_teams) - return _internal_my_current_event_teams(index); -} -inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_add_my_current_event_teams() { - return _impl_.my_current_event_teams_.Add(); -} -inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::add_my_current_event_teams() { - ::TournamentTeam* _add = _internal_add_my_current_event_teams(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_teams) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::my_current_event_teams() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_teams) - return _impl_.my_current_event_teams_; -} - -// optional .TournamentTeam my_current_team = 12; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_my_current_team() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - PROTOBUF_ASSUME(!value || _impl_.my_current_team_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_my_current_team() const { - return _internal_has_my_current_team(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_my_current_team() { - if (_impl_.my_current_team_ != nullptr) _impl_.my_current_team_->Clear(); - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline const ::TournamentTeam& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_my_current_team() const { - const ::TournamentTeam* p = _impl_.my_current_team_; - return p != nullptr ? *p : reinterpret_cast( - ::_TournamentTeam_default_instance_); -} -inline const ::TournamentTeam& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::my_current_team() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_team) - return _internal_my_current_team(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_set_allocated_my_current_team( - ::TournamentTeam* my_current_team) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.my_current_team_); - } - _impl_.my_current_team_ = my_current_team; - if (my_current_team) { - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_team) -} -inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::release_my_current_team() { - _impl_._has_bits_[0] &= ~0x00000040u; - ::TournamentTeam* temp = _impl_.my_current_team_; - _impl_.my_current_team_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_release_my_current_team() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_team) - _impl_._has_bits_[0] &= ~0x00000040u; - ::TournamentTeam* temp = _impl_.my_current_team_; - _impl_.my_current_team_ = nullptr; - return temp; -} -inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_mutable_my_current_team() { - _impl_._has_bits_[0] |= 0x00000040u; - if (_impl_.my_current_team_ == nullptr) { - auto* p = CreateMaybeMessage<::TournamentTeam>(GetArenaForAllocation()); - _impl_.my_current_team_ = p; - } - return _impl_.my_current_team_; -} -inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_my_current_team() { - ::TournamentTeam* _msg = _internal_mutable_my_current_team(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_team) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_allocated_my_current_team(::TournamentTeam* my_current_team) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.my_current_team_; - } - if (my_current_team) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(my_current_team); - if (message_arena != submessage_arena) { - my_current_team = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, my_current_team, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - _impl_.my_current_team_ = my_current_team; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_team) -} - -// repeated .TournamentEvent my_current_event_stages = 13; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_my_current_event_stages_size() const { - return _impl_.my_current_event_stages_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::my_current_event_stages_size() const { - return _internal_my_current_event_stages_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_my_current_event_stages() { - _impl_.my_current_event_stages_.Clear(); -} -inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_my_current_event_stages(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_stages) - return _impl_.my_current_event_stages_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentEvent >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_my_current_event_stages() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_stages) - return &_impl_.my_current_event_stages_; -} -inline const ::TournamentEvent& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_my_current_event_stages(int index) const { - return _impl_.my_current_event_stages_.Get(index); -} -inline const ::TournamentEvent& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::my_current_event_stages(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_stages) - return _internal_my_current_event_stages(index); -} -inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_add_my_current_event_stages() { - return _impl_.my_current_event_stages_.Add(); -} -inline ::TournamentEvent* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::add_my_current_event_stages() { - ::TournamentEvent* _add = _internal_add_my_current_event_stages(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_stages) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentEvent >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::my_current_event_stages() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.my_current_event_stages) - return _impl_.my_current_event_stages_; -} - -// optional uint32 survey_vote = 14; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_survey_vote() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_survey_vote() const { - return _internal_has_survey_vote(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_survey_vote() { - _impl_.survey_vote_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_survey_vote() const { - return _impl_.survey_vote_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::survey_vote() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.survey_vote) - return _internal_survey_vote(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_set_survey_vote(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.survey_vote_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_survey_vote(uint32_t value) { - _internal_set_survey_vote(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.survey_vote) -} - -// optional .AccountActivity activity = 15; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_activity() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - PROTOBUF_ASSUME(!value || _impl_.activity_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_activity() const { - return _internal_has_activity(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_activity() { - if (_impl_.activity_ != nullptr) _impl_.activity_->Clear(); - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline const ::AccountActivity& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_activity() const { - const ::AccountActivity* p = _impl_.activity_; - return p != nullptr ? *p : reinterpret_cast( - ::_AccountActivity_default_instance_); -} -inline const ::AccountActivity& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::activity() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.activity) - return _internal_activity(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_set_allocated_activity( - ::AccountActivity* activity) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.activity_); - } - _impl_.activity_ = activity; - if (activity) { - _impl_._has_bits_[0] |= 0x00000080u; - } else { - _impl_._has_bits_[0] &= ~0x00000080u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.activity) -} -inline ::AccountActivity* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::release_activity() { - _impl_._has_bits_[0] &= ~0x00000080u; - ::AccountActivity* temp = _impl_.activity_; - _impl_.activity_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::AccountActivity* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::unsafe_arena_release_activity() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.activity) - _impl_._has_bits_[0] &= ~0x00000080u; - ::AccountActivity* temp = _impl_.activity_; - _impl_.activity_ = nullptr; - return temp; -} -inline ::AccountActivity* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_mutable_activity() { - _impl_._has_bits_[0] |= 0x00000080u; - if (_impl_.activity_ == nullptr) { - auto* p = CreateMaybeMessage<::AccountActivity>(GetArenaForAllocation()); - _impl_.activity_ = p; - } - return _impl_.activity_; -} -inline ::AccountActivity* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_activity() { - ::AccountActivity* _msg = _internal_mutable_activity(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.activity) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_allocated_activity(::AccountActivity* activity) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.activity_; - } - if (activity) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(activity); - if (message_arena != submessage_arena) { - activity = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, activity, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000080u; - } else { - _impl_._has_bits_[0] &= ~0x00000080u; - } - _impl_.activity_ = activity; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.activity) -} - -// optional int32 player_level = 17; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_player_level() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_player_level() const { - return _internal_has_player_level(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_player_level() { - _impl_.player_level_ = 0; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_player_level() const { - return _impl_.player_level_; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::player_level() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.player_level) - return _internal_player_level(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_set_player_level(int32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.player_level_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_player_level(int32_t value) { - _internal_set_player_level(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.player_level) -} - -// optional int32 player_cur_xp = 18; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_player_cur_xp() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_player_cur_xp() const { - return _internal_has_player_cur_xp(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_player_cur_xp() { - _impl_.player_cur_xp_ = 0; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_player_cur_xp() const { - return _impl_.player_cur_xp_; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::player_cur_xp() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.player_cur_xp) - return _internal_player_cur_xp(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_set_player_cur_xp(int32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.player_cur_xp_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_player_cur_xp(int32_t value) { - _internal_set_player_cur_xp(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.player_cur_xp) -} - -// optional int32 player_xp_bonus_flags = 19; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_player_xp_bonus_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_player_xp_bonus_flags() const { - return _internal_has_player_xp_bonus_flags(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_player_xp_bonus_flags() { - _impl_.player_xp_bonus_flags_ = 0; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_player_xp_bonus_flags() const { - return _impl_.player_xp_bonus_flags_; -} -inline int32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::player_xp_bonus_flags() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.player_xp_bonus_flags) - return _internal_player_xp_bonus_flags(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_set_player_xp_bonus_flags(int32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.player_xp_bonus_flags_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_player_xp_bonus_flags(int32_t value) { - _internal_set_player_xp_bonus_flags(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.player_xp_bonus_flags) -} - -// repeated .PlayerRankingInfo rankings = 20; -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_rankings_size() const { - return _impl_.rankings_.size(); -} -inline int CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::rankings_size() const { - return _internal_rankings_size(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_rankings() { - _impl_.rankings_.Clear(); -} -inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_rankings(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.rankings) - return _impl_.rankings_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >* -CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::mutable_rankings() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.rankings) - return &_impl_.rankings_; -} -inline const ::PlayerRankingInfo& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_rankings(int index) const { - return _impl_.rankings_.Get(index); -} -inline const ::PlayerRankingInfo& CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::rankings(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.rankings) - return _internal_rankings(index); -} -inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_add_rankings() { - return _impl_.rankings_.Add(); -} -inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::add_rankings() { - ::PlayerRankingInfo* _add = _internal_add_rankings(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.rankings) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >& -CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::rankings() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.rankings) - return _impl_.rankings_; -} - -// optional uint64 owcaseid = 21; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_has_owcaseid() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::has_owcaseid() const { - return _internal_has_owcaseid(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::clear_owcaseid() { - _impl_.owcaseid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_owcaseid() const { - return _impl_.owcaseid_; -} -inline uint64_t CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::owcaseid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.owcaseid) - return _internal_owcaseid(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::_internal_set_owcaseid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.owcaseid_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientHello::set_owcaseid(uint64_t value) { - _internal_set_owcaseid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientHello.owcaseid) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_AccountPrivacySettings_Setting - -// optional uint32 setting_type = 1; -inline bool CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_internal_has_setting_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::has_setting_type() const { - return _internal_has_setting_type(); -} -inline void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::clear_setting_type() { - _impl_.setting_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_internal_setting_type() const { - return _impl_.setting_type_; -} -inline uint32_t CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::setting_type() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting.setting_type) - return _internal_setting_type(); -} -inline void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_internal_set_setting_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.setting_type_ = value; -} -inline void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::set_setting_type(uint32_t value) { - _internal_set_setting_type(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting.setting_type) -} - -// optional uint32 setting_value = 2; -inline bool CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_internal_has_setting_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::has_setting_value() const { - return _internal_has_setting_value(); -} -inline void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::clear_setting_value() { - _impl_.setting_value_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_internal_setting_value() const { - return _impl_.setting_value_; -} -inline uint32_t CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::setting_value() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting.setting_value) - return _internal_setting_value(); -} -inline void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::_internal_set_setting_value(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.setting_value_ = value; -} -inline void CMsgGCCStrike15_v2_AccountPrivacySettings_Setting::set_setting_value(uint32_t value) { - _internal_set_setting_value(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_AccountPrivacySettings.Setting.setting_value) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_AccountPrivacySettings - -// repeated .CMsgGCCStrike15_v2_AccountPrivacySettings.Setting settings = 1; -inline int CMsgGCCStrike15_v2_AccountPrivacySettings::_internal_settings_size() const { - return _impl_.settings_.size(); -} -inline int CMsgGCCStrike15_v2_AccountPrivacySettings::settings_size() const { - return _internal_settings_size(); -} -inline void CMsgGCCStrike15_v2_AccountPrivacySettings::clear_settings() { - _impl_.settings_.Clear(); -} -inline ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* CMsgGCCStrike15_v2_AccountPrivacySettings::mutable_settings(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_AccountPrivacySettings.settings) - return _impl_.settings_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting >* -CMsgGCCStrike15_v2_AccountPrivacySettings::mutable_settings() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_AccountPrivacySettings.settings) - return &_impl_.settings_; -} -inline const ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& CMsgGCCStrike15_v2_AccountPrivacySettings::_internal_settings(int index) const { - return _impl_.settings_.Get(index); -} -inline const ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting& CMsgGCCStrike15_v2_AccountPrivacySettings::settings(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_AccountPrivacySettings.settings) - return _internal_settings(index); -} -inline ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* CMsgGCCStrike15_v2_AccountPrivacySettings::_internal_add_settings() { - return _impl_.settings_.Add(); -} -inline ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* CMsgGCCStrike15_v2_AccountPrivacySettings::add_settings() { - ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting* _add = _internal_add_settings(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_AccountPrivacySettings.settings) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_AccountPrivacySettings_Setting >& -CMsgGCCStrike15_v2_AccountPrivacySettings::settings() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_AccountPrivacySettings.settings) - return _impl_.settings_; -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon - -// optional uint32 account_id = 1; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::has_account_id() const { - return _internal_has_account_id(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::account_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.account_id) - return _internal_account_id(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.account_id_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.account_id) -} - -// optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve abandoned_match = 2; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_has_abandoned_match() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.abandoned_match_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::has_abandoned_match() const { - return _internal_has_abandoned_match(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::clear_abandoned_match() { - if (_impl_.abandoned_match_ != nullptr) _impl_.abandoned_match_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_abandoned_match() const { - const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* p = _impl_.abandoned_match_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve_default_instance_); -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::abandoned_match() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.abandoned_match) - return _internal_abandoned_match(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::unsafe_arena_set_allocated_abandoned_match( - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* abandoned_match) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.abandoned_match_); - } - _impl_.abandoned_match_ = abandoned_match; - if (abandoned_match) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.abandoned_match) -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::release_abandoned_match() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* temp = _impl_.abandoned_match_; - _impl_.abandoned_match_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::unsafe_arena_release_abandoned_match() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.abandoned_match) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* temp = _impl_.abandoned_match_; - _impl_.abandoned_match_ = nullptr; - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_mutable_abandoned_match() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.abandoned_match_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve>(GetArenaForAllocation()); - _impl_.abandoned_match_ = p; - } - return _impl_.abandoned_match_; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::mutable_abandoned_match() { - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* _msg = _internal_mutable_abandoned_match(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.abandoned_match) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::set_allocated_abandoned_match(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* abandoned_match) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.abandoned_match_; - } - if (abandoned_match) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(abandoned_match); - if (message_arena != submessage_arena) { - abandoned_match = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, abandoned_match, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.abandoned_match_ = abandoned_match; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.abandoned_match) -} - -// optional uint32 penalty_seconds = 3; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_has_penalty_seconds() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::has_penalty_seconds() const { - return _internal_has_penalty_seconds(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::clear_penalty_seconds() { - _impl_.penalty_seconds_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_penalty_seconds() const { - return _impl_.penalty_seconds_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::penalty_seconds() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.penalty_seconds) - return _internal_penalty_seconds(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_set_penalty_seconds(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.penalty_seconds_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::set_penalty_seconds(uint32_t value) { - _internal_set_penalty_seconds(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.penalty_seconds) -} - -// optional uint32 penalty_reason = 4; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_has_penalty_reason() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::has_penalty_reason() const { - return _internal_has_penalty_reason(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::clear_penalty_reason() { - _impl_.penalty_reason_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_penalty_reason() const { - return _impl_.penalty_reason_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::penalty_reason() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.penalty_reason) - return _internal_penalty_reason(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::_internal_set_penalty_reason(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.penalty_reason_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon::set_penalty_reason(uint32_t value) { - _internal_set_penalty_reason(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientAbandon.penalty_reason) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientGCRankUpdate - -// repeated .PlayerRankingInfo rankings = 1; -inline int CMsgGCCStrike15_v2_ClientGCRankUpdate::_internal_rankings_size() const { - return _impl_.rankings_.size(); -} -inline int CMsgGCCStrike15_v2_ClientGCRankUpdate::rankings_size() const { - return _internal_rankings_size(); -} -inline void CMsgGCCStrike15_v2_ClientGCRankUpdate::clear_rankings() { - _impl_.rankings_.Clear(); -} -inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_ClientGCRankUpdate::mutable_rankings(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientGCRankUpdate.rankings) - return _impl_.rankings_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >* -CMsgGCCStrike15_v2_ClientGCRankUpdate::mutable_rankings() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientGCRankUpdate.rankings) - return &_impl_.rankings_; -} -inline const ::PlayerRankingInfo& CMsgGCCStrike15_v2_ClientGCRankUpdate::_internal_rankings(int index) const { - return _impl_.rankings_.Get(index); -} -inline const ::PlayerRankingInfo& CMsgGCCStrike15_v2_ClientGCRankUpdate::rankings(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientGCRankUpdate.rankings) - return _internal_rankings(index); -} -inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_ClientGCRankUpdate::_internal_add_rankings() { - return _impl_.rankings_.Add(); -} -inline ::PlayerRankingInfo* CMsgGCCStrike15_v2_ClientGCRankUpdate::add_rankings() { - ::PlayerRankingInfo* _add = _internal_add_rankings(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientGCRankUpdate.rankings) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerRankingInfo >& -CMsgGCCStrike15_v2_ClientGCRankUpdate::rankings() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientGCRankUpdate.rankings) - return _impl_.rankings_; -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate - -// optional string main_post_url = 1; -inline bool CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::_internal_has_main_post_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::has_main_post_url() const { - return _internal_has_main_post_url(); -} -inline void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::clear_main_post_url() { - _impl_.main_post_url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::main_post_url() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate.main_post_url) - return _internal_main_post_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::set_main_post_url(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.main_post_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate.main_post_url) -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::mutable_main_post_url() { - std::string* _s = _internal_mutable_main_post_url(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate.main_post_url) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::_internal_main_post_url() const { - return _impl_.main_post_url_.Get(); -} -inline void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::_internal_set_main_post_url(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.main_post_url_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::_internal_mutable_main_post_url() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.main_post_url_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::release_main_post_url() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate.main_post_url) - if (!_internal_has_main_post_url()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.main_post_url_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.main_post_url_.IsDefault()) { - _impl_.main_post_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate::set_allocated_main_post_url(std::string* main_post_url) { - if (main_post_url != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.main_post_url_.SetAllocated(main_post_url, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.main_post_url_.IsDefault()) { - _impl_.main_post_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchmakingOperator2GCBlogUpdate.main_post_url) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ServerNotificationForUserPenalty - -// optional uint32 account_id = 1; -inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::has_account_id() const { - return _internal_has_account_id(); -} -inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::account_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty.account_id) - return _internal_account_id(); -} -inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.account_id_ = value; -} -inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty.account_id) -} - -// optional uint32 reason = 2; -inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_has_reason() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::has_reason() const { - return _internal_has_reason(); -} -inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::clear_reason() { - _impl_.reason_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_reason() const { - return _impl_.reason_; -} -inline uint32_t CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::reason() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty.reason) - return _internal_reason(); -} -inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_set_reason(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.reason_ = value; -} -inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::set_reason(uint32_t value) { - _internal_set_reason(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty.reason) -} - -// optional uint32 seconds = 3; -inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_has_seconds() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::has_seconds() const { - return _internal_has_seconds(); -} -inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::clear_seconds() { - _impl_.seconds_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_seconds() const { - return _impl_.seconds_; -} -inline uint32_t CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::seconds() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty.seconds) - return _internal_seconds(); -} -inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_set_seconds(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.seconds_ = value; -} -inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::set_seconds(uint32_t value) { - _internal_set_seconds(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty.seconds) -} - -// optional bool communication_cooldown = 4; -inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_has_communication_cooldown() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::has_communication_cooldown() const { - return _internal_has_communication_cooldown(); -} -inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::clear_communication_cooldown() { - _impl_.communication_cooldown_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_communication_cooldown() const { - return _impl_.communication_cooldown_; -} -inline bool CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::communication_cooldown() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty.communication_cooldown) - return _internal_communication_cooldown(); -} -inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::_internal_set_communication_cooldown(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.communication_cooldown_ = value; -} -inline void CMsgGCCStrike15_v2_ServerNotificationForUserPenalty::set_communication_cooldown(bool value) { - _internal_set_communication_cooldown(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ServerNotificationForUserPenalty.communication_cooldown) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientReportPlayer - -// optional uint32 account_id = 1; -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::has_account_id() const { - return _internal_has_account_id(); -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::account_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportPlayer.account_id) - return _internal_account_id(); -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.account_id_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportPlayer.account_id) -} - -// optional uint32 rpt_aimbot = 2; -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_has_rpt_aimbot() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::has_rpt_aimbot() const { - return _internal_has_rpt_aimbot(); -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::clear_rpt_aimbot() { - _impl_.rpt_aimbot_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::_internal_rpt_aimbot() const { - return _impl_.rpt_aimbot_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::rpt_aimbot() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_aimbot) - return _internal_rpt_aimbot(); -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::_internal_set_rpt_aimbot(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.rpt_aimbot_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::set_rpt_aimbot(uint32_t value) { - _internal_set_rpt_aimbot(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_aimbot) -} - -// optional uint32 rpt_wallhack = 3; -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_has_rpt_wallhack() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::has_rpt_wallhack() const { - return _internal_has_rpt_wallhack(); -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::clear_rpt_wallhack() { - _impl_.rpt_wallhack_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::_internal_rpt_wallhack() const { - return _impl_.rpt_wallhack_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::rpt_wallhack() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_wallhack) - return _internal_rpt_wallhack(); -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::_internal_set_rpt_wallhack(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.rpt_wallhack_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::set_rpt_wallhack(uint32_t value) { - _internal_set_rpt_wallhack(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_wallhack) -} - -// optional uint32 rpt_speedhack = 4; -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_has_rpt_speedhack() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::has_rpt_speedhack() const { - return _internal_has_rpt_speedhack(); -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::clear_rpt_speedhack() { - _impl_.rpt_speedhack_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::_internal_rpt_speedhack() const { - return _impl_.rpt_speedhack_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::rpt_speedhack() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_speedhack) - return _internal_rpt_speedhack(); -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::_internal_set_rpt_speedhack(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.rpt_speedhack_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::set_rpt_speedhack(uint32_t value) { - _internal_set_rpt_speedhack(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_speedhack) -} - -// optional uint32 rpt_teamharm = 5; -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_has_rpt_teamharm() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::has_rpt_teamharm() const { - return _internal_has_rpt_teamharm(); -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::clear_rpt_teamharm() { - _impl_.rpt_teamharm_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::_internal_rpt_teamharm() const { - return _impl_.rpt_teamharm_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::rpt_teamharm() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_teamharm) - return _internal_rpt_teamharm(); -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::_internal_set_rpt_teamharm(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.rpt_teamharm_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::set_rpt_teamharm(uint32_t value) { - _internal_set_rpt_teamharm(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_teamharm) -} - -// optional uint32 rpt_textabuse = 6; -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_has_rpt_textabuse() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::has_rpt_textabuse() const { - return _internal_has_rpt_textabuse(); -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::clear_rpt_textabuse() { - _impl_.rpt_textabuse_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::_internal_rpt_textabuse() const { - return _impl_.rpt_textabuse_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::rpt_textabuse() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_textabuse) - return _internal_rpt_textabuse(); -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::_internal_set_rpt_textabuse(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.rpt_textabuse_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::set_rpt_textabuse(uint32_t value) { - _internal_set_rpt_textabuse(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_textabuse) -} - -// optional uint32 rpt_voiceabuse = 7; -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_has_rpt_voiceabuse() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::has_rpt_voiceabuse() const { - return _internal_has_rpt_voiceabuse(); -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::clear_rpt_voiceabuse() { - _impl_.rpt_voiceabuse_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::_internal_rpt_voiceabuse() const { - return _impl_.rpt_voiceabuse_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportPlayer::rpt_voiceabuse() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_voiceabuse) - return _internal_rpt_voiceabuse(); -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::_internal_set_rpt_voiceabuse(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.rpt_voiceabuse_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::set_rpt_voiceabuse(uint32_t value) { - _internal_set_rpt_voiceabuse(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportPlayer.rpt_voiceabuse) -} - -// optional uint64 match_id = 8; -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_has_match_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::has_match_id() const { - return _internal_has_match_id(); -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::clear_match_id() { - _impl_.match_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientReportPlayer::_internal_match_id() const { - return _impl_.match_id_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientReportPlayer::match_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportPlayer.match_id) - return _internal_match_id(); -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::_internal_set_match_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.match_id_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::set_match_id(uint64_t value) { - _internal_set_match_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportPlayer.match_id) -} - -// optional bool report_from_demo = 9; -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_has_report_from_demo() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::has_report_from_demo() const { - return _internal_has_report_from_demo(); -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::clear_report_from_demo() { - _impl_.report_from_demo_ = false; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::_internal_report_from_demo() const { - return _impl_.report_from_demo_; -} -inline bool CMsgGCCStrike15_v2_ClientReportPlayer::report_from_demo() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportPlayer.report_from_demo) - return _internal_report_from_demo(); -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::_internal_set_report_from_demo(bool value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.report_from_demo_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportPlayer::set_report_from_demo(bool value) { - _internal_set_report_from_demo(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportPlayer.report_from_demo) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientCommendPlayer - -// optional uint32 account_id = 1; -inline bool CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientCommendPlayer::has_account_id() const { - return _internal_has_account_id(); -} -inline void CMsgGCCStrike15_v2_ClientCommendPlayer::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientCommendPlayer::account_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientCommendPlayer.account_id) - return _internal_account_id(); -} -inline void CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.account_id_ = value; -} -inline void CMsgGCCStrike15_v2_ClientCommendPlayer::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientCommendPlayer.account_id) -} - -// optional uint64 match_id = 8; -inline bool CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_has_match_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientCommendPlayer::has_match_id() const { - return _internal_has_match_id(); -} -inline void CMsgGCCStrike15_v2_ClientCommendPlayer::clear_match_id() { - _impl_.match_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_match_id() const { - return _impl_.match_id_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientCommendPlayer::match_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientCommendPlayer.match_id) - return _internal_match_id(); -} -inline void CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_set_match_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.match_id_ = value; -} -inline void CMsgGCCStrike15_v2_ClientCommendPlayer::set_match_id(uint64_t value) { - _internal_set_match_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientCommendPlayer.match_id) -} - -// optional .PlayerCommendationInfo commendation = 9; -inline bool CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_has_commendation() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.commendation_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_ClientCommendPlayer::has_commendation() const { - return _internal_has_commendation(); -} -inline void CMsgGCCStrike15_v2_ClientCommendPlayer::clear_commendation() { - if (_impl_.commendation_ != nullptr) _impl_.commendation_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::PlayerCommendationInfo& CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_commendation() const { - const ::PlayerCommendationInfo* p = _impl_.commendation_; - return p != nullptr ? *p : reinterpret_cast( - ::_PlayerCommendationInfo_default_instance_); -} -inline const ::PlayerCommendationInfo& CMsgGCCStrike15_v2_ClientCommendPlayer::commendation() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientCommendPlayer.commendation) - return _internal_commendation(); -} -inline void CMsgGCCStrike15_v2_ClientCommendPlayer::unsafe_arena_set_allocated_commendation( - ::PlayerCommendationInfo* commendation) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.commendation_); - } - _impl_.commendation_ = commendation; - if (commendation) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_ClientCommendPlayer.commendation) -} -inline ::PlayerCommendationInfo* CMsgGCCStrike15_v2_ClientCommendPlayer::release_commendation() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::PlayerCommendationInfo* temp = _impl_.commendation_; - _impl_.commendation_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::PlayerCommendationInfo* CMsgGCCStrike15_v2_ClientCommendPlayer::unsafe_arena_release_commendation() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientCommendPlayer.commendation) - _impl_._has_bits_[0] &= ~0x00000001u; - ::PlayerCommendationInfo* temp = _impl_.commendation_; - _impl_.commendation_ = nullptr; - return temp; -} -inline ::PlayerCommendationInfo* CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_mutable_commendation() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.commendation_ == nullptr) { - auto* p = CreateMaybeMessage<::PlayerCommendationInfo>(GetArenaForAllocation()); - _impl_.commendation_ = p; - } - return _impl_.commendation_; -} -inline ::PlayerCommendationInfo* CMsgGCCStrike15_v2_ClientCommendPlayer::mutable_commendation() { - ::PlayerCommendationInfo* _msg = _internal_mutable_commendation(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientCommendPlayer.commendation) - return _msg; -} -inline void CMsgGCCStrike15_v2_ClientCommendPlayer::set_allocated_commendation(::PlayerCommendationInfo* commendation) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.commendation_; - } - if (commendation) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(commendation); - if (message_arena != submessage_arena) { - commendation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, commendation, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.commendation_ = commendation; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientCommendPlayer.commendation) -} - -// optional uint32 tokens = 10; -inline bool CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_has_tokens() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientCommendPlayer::has_tokens() const { - return _internal_has_tokens(); -} -inline void CMsgGCCStrike15_v2_ClientCommendPlayer::clear_tokens() { - _impl_.tokens_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_tokens() const { - return _impl_.tokens_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientCommendPlayer::tokens() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientCommendPlayer.tokens) - return _internal_tokens(); -} -inline void CMsgGCCStrike15_v2_ClientCommendPlayer::_internal_set_tokens(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.tokens_ = value; -} -inline void CMsgGCCStrike15_v2_ClientCommendPlayer::set_tokens(uint32_t value) { - _internal_set_tokens(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientCommendPlayer.tokens) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientReportServer - -// optional uint32 rpt_poorperf = 1; -inline bool CMsgGCCStrike15_v2_ClientReportServer::_internal_has_rpt_poorperf() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportServer::has_rpt_poorperf() const { - return _internal_has_rpt_poorperf(); -} -inline void CMsgGCCStrike15_v2_ClientReportServer::clear_rpt_poorperf() { - _impl_.rpt_poorperf_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::_internal_rpt_poorperf() const { - return _impl_.rpt_poorperf_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::rpt_poorperf() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportServer.rpt_poorperf) - return _internal_rpt_poorperf(); -} -inline void CMsgGCCStrike15_v2_ClientReportServer::_internal_set_rpt_poorperf(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.rpt_poorperf_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportServer::set_rpt_poorperf(uint32_t value) { - _internal_set_rpt_poorperf(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportServer.rpt_poorperf) -} - -// optional uint32 rpt_abusivemodels = 2; -inline bool CMsgGCCStrike15_v2_ClientReportServer::_internal_has_rpt_abusivemodels() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportServer::has_rpt_abusivemodels() const { - return _internal_has_rpt_abusivemodels(); -} -inline void CMsgGCCStrike15_v2_ClientReportServer::clear_rpt_abusivemodels() { - _impl_.rpt_abusivemodels_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::_internal_rpt_abusivemodels() const { - return _impl_.rpt_abusivemodels_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::rpt_abusivemodels() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportServer.rpt_abusivemodels) - return _internal_rpt_abusivemodels(); -} -inline void CMsgGCCStrike15_v2_ClientReportServer::_internal_set_rpt_abusivemodels(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.rpt_abusivemodels_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportServer::set_rpt_abusivemodels(uint32_t value) { - _internal_set_rpt_abusivemodels(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportServer.rpt_abusivemodels) -} - -// optional uint32 rpt_badmotd = 3; -inline bool CMsgGCCStrike15_v2_ClientReportServer::_internal_has_rpt_badmotd() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportServer::has_rpt_badmotd() const { - return _internal_has_rpt_badmotd(); -} -inline void CMsgGCCStrike15_v2_ClientReportServer::clear_rpt_badmotd() { - _impl_.rpt_badmotd_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::_internal_rpt_badmotd() const { - return _impl_.rpt_badmotd_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::rpt_badmotd() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportServer.rpt_badmotd) - return _internal_rpt_badmotd(); -} -inline void CMsgGCCStrike15_v2_ClientReportServer::_internal_set_rpt_badmotd(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.rpt_badmotd_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportServer::set_rpt_badmotd(uint32_t value) { - _internal_set_rpt_badmotd(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportServer.rpt_badmotd) -} - -// optional uint32 rpt_listingabuse = 4; -inline bool CMsgGCCStrike15_v2_ClientReportServer::_internal_has_rpt_listingabuse() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportServer::has_rpt_listingabuse() const { - return _internal_has_rpt_listingabuse(); -} -inline void CMsgGCCStrike15_v2_ClientReportServer::clear_rpt_listingabuse() { - _impl_.rpt_listingabuse_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::_internal_rpt_listingabuse() const { - return _impl_.rpt_listingabuse_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::rpt_listingabuse() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportServer.rpt_listingabuse) - return _internal_rpt_listingabuse(); -} -inline void CMsgGCCStrike15_v2_ClientReportServer::_internal_set_rpt_listingabuse(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.rpt_listingabuse_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportServer::set_rpt_listingabuse(uint32_t value) { - _internal_set_rpt_listingabuse(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportServer.rpt_listingabuse) -} - -// optional uint32 rpt_inventoryabuse = 5; -inline bool CMsgGCCStrike15_v2_ClientReportServer::_internal_has_rpt_inventoryabuse() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportServer::has_rpt_inventoryabuse() const { - return _internal_has_rpt_inventoryabuse(); -} -inline void CMsgGCCStrike15_v2_ClientReportServer::clear_rpt_inventoryabuse() { - _impl_.rpt_inventoryabuse_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::_internal_rpt_inventoryabuse() const { - return _impl_.rpt_inventoryabuse_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportServer::rpt_inventoryabuse() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportServer.rpt_inventoryabuse) - return _internal_rpt_inventoryabuse(); -} -inline void CMsgGCCStrike15_v2_ClientReportServer::_internal_set_rpt_inventoryabuse(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.rpt_inventoryabuse_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportServer::set_rpt_inventoryabuse(uint32_t value) { - _internal_set_rpt_inventoryabuse(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportServer.rpt_inventoryabuse) -} - -// optional uint64 match_id = 8; -inline bool CMsgGCCStrike15_v2_ClientReportServer::_internal_has_match_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportServer::has_match_id() const { - return _internal_has_match_id(); -} -inline void CMsgGCCStrike15_v2_ClientReportServer::clear_match_id() { - _impl_.match_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientReportServer::_internal_match_id() const { - return _impl_.match_id_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientReportServer::match_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportServer.match_id) - return _internal_match_id(); -} -inline void CMsgGCCStrike15_v2_ClientReportServer::_internal_set_match_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.match_id_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportServer::set_match_id(uint64_t value) { - _internal_set_match_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportServer.match_id) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientReportResponse - -// optional uint64 confirmation_id = 1; -inline bool CMsgGCCStrike15_v2_ClientReportResponse::_internal_has_confirmation_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportResponse::has_confirmation_id() const { - return _internal_has_confirmation_id(); -} -inline void CMsgGCCStrike15_v2_ClientReportResponse::clear_confirmation_id() { - _impl_.confirmation_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientReportResponse::_internal_confirmation_id() const { - return _impl_.confirmation_id_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientReportResponse::confirmation_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportResponse.confirmation_id) - return _internal_confirmation_id(); -} -inline void CMsgGCCStrike15_v2_ClientReportResponse::_internal_set_confirmation_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.confirmation_id_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportResponse::set_confirmation_id(uint64_t value) { - _internal_set_confirmation_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportResponse.confirmation_id) -} - -// optional uint32 account_id = 2; -inline bool CMsgGCCStrike15_v2_ClientReportResponse::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportResponse::has_account_id() const { - return _internal_has_account_id(); -} -inline void CMsgGCCStrike15_v2_ClientReportResponse::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::account_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportResponse.account_id) - return _internal_account_id(); -} -inline void CMsgGCCStrike15_v2_ClientReportResponse::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.account_id_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportResponse::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportResponse.account_id) -} - -// optional uint32 server_ip = 3; -inline bool CMsgGCCStrike15_v2_ClientReportResponse::_internal_has_server_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportResponse::has_server_ip() const { - return _internal_has_server_ip(); -} -inline void CMsgGCCStrike15_v2_ClientReportResponse::clear_server_ip() { - _impl_.server_ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::_internal_server_ip() const { - return _impl_.server_ip_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::server_ip() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportResponse.server_ip) - return _internal_server_ip(); -} -inline void CMsgGCCStrike15_v2_ClientReportResponse::_internal_set_server_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.server_ip_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportResponse::set_server_ip(uint32_t value) { - _internal_set_server_ip(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportResponse.server_ip) -} - -// optional uint32 response_type = 4; -inline bool CMsgGCCStrike15_v2_ClientReportResponse::_internal_has_response_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportResponse::has_response_type() const { - return _internal_has_response_type(); -} -inline void CMsgGCCStrike15_v2_ClientReportResponse::clear_response_type() { - _impl_.response_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::_internal_response_type() const { - return _impl_.response_type_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::response_type() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportResponse.response_type) - return _internal_response_type(); -} -inline void CMsgGCCStrike15_v2_ClientReportResponse::_internal_set_response_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.response_type_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportResponse::set_response_type(uint32_t value) { - _internal_set_response_type(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportResponse.response_type) -} - -// optional uint32 response_result = 5; -inline bool CMsgGCCStrike15_v2_ClientReportResponse::_internal_has_response_result() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportResponse::has_response_result() const { - return _internal_has_response_result(); -} -inline void CMsgGCCStrike15_v2_ClientReportResponse::clear_response_result() { - _impl_.response_result_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::_internal_response_result() const { - return _impl_.response_result_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::response_result() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportResponse.response_result) - return _internal_response_result(); -} -inline void CMsgGCCStrike15_v2_ClientReportResponse::_internal_set_response_result(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.response_result_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportResponse::set_response_result(uint32_t value) { - _internal_set_response_result(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportResponse.response_result) -} - -// optional uint32 tokens = 6; -inline bool CMsgGCCStrike15_v2_ClientReportResponse::_internal_has_tokens() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportResponse::has_tokens() const { - return _internal_has_tokens(); -} -inline void CMsgGCCStrike15_v2_ClientReportResponse::clear_tokens() { - _impl_.tokens_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::_internal_tokens() const { - return _impl_.tokens_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportResponse::tokens() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportResponse.tokens) - return _internal_tokens(); -} -inline void CMsgGCCStrike15_v2_ClientReportResponse::_internal_set_tokens(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.tokens_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportResponse::set_tokens(uint32_t value) { - _internal_set_tokens(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportResponse.tokens) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends - -// optional uint32 request_id = 1; -inline bool CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_has_request_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::has_request_id() const { - return _internal_has_request_id(); -} -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::clear_request_id() { - _impl_.request_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_request_id() const { - return _impl_.request_id_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::request_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.request_id) - return _internal_request_id(); -} -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_set_request_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.request_id_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::set_request_id(uint32_t value) { - _internal_set_request_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.request_id) -} - -// repeated uint32 account_ids = 2; -inline int CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_account_ids_size() const { - return _impl_.account_ids_.size(); -} -inline int CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::account_ids_size() const { - return _internal_account_ids_size(); -} -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::clear_account_ids() { - _impl_.account_ids_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_account_ids(int index) const { - return _impl_.account_ids_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::account_ids(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.account_ids) - return _internal_account_ids(index); -} -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::set_account_ids(int index, uint32_t value) { - _impl_.account_ids_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.account_ids) -} -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_add_account_ids(uint32_t value) { - _impl_.account_ids_.Add(value); -} -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::add_account_ids(uint32_t value) { - _internal_add_account_ids(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.account_ids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_account_ids() const { - return _impl_.account_ids_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::account_ids() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.account_ids) - return _internal_account_ids(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_mutable_account_ids() { - return &_impl_.account_ids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::mutable_account_ids() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.account_ids) - return _internal_mutable_account_ids(); -} - -// optional uint64 serverid = 3; -inline bool CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_has_serverid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::has_serverid() const { - return _internal_has_serverid(); -} -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::clear_serverid() { - _impl_.serverid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_serverid() const { - return _impl_.serverid_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::serverid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.serverid) - return _internal_serverid(); -} -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_set_serverid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.serverid_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::set_serverid(uint64_t value) { - _internal_set_serverid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.serverid) -} - -// optional uint64 matchid = 4; -inline bool CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_has_matchid() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::has_matchid() const { - return _internal_has_matchid(); -} -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::clear_matchid() { - _impl_.matchid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_matchid() const { - return _impl_.matchid_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::matchid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.matchid) - return _internal_matchid(); -} -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_set_matchid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.matchid_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::set_matchid(uint64_t value) { - _internal_set_matchid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.matchid) -} - -// optional uint32 client_launcher = 5; -inline bool CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_has_client_launcher() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::has_client_launcher() const { - return _internal_has_client_launcher(); -} -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::clear_client_launcher() { - _impl_.client_launcher_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_client_launcher() const { - return _impl_.client_launcher_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::client_launcher() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.client_launcher) - return _internal_client_launcher(); -} -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_set_client_launcher(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.client_launcher_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::set_client_launcher(uint32_t value) { - _internal_set_client_launcher(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.client_launcher) -} - -// repeated .DataCenterPing data_center_pings = 6; -inline int CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_data_center_pings_size() const { - return _impl_.data_center_pings_.size(); -} -inline int CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::data_center_pings_size() const { - return _internal_data_center_pings_size(); -} -inline void CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::clear_data_center_pings() { - _impl_.data_center_pings_.Clear(); -} -inline ::DataCenterPing* CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::mutable_data_center_pings(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.data_center_pings) - return _impl_.data_center_pings_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing >* -CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::mutable_data_center_pings() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.data_center_pings) - return &_impl_.data_center_pings_; -} -inline const ::DataCenterPing& CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_data_center_pings(int index) const { - return _impl_.data_center_pings_.Get(index); -} -inline const ::DataCenterPing& CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::data_center_pings(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.data_center_pings) - return _internal_data_center_pings(index); -} -inline ::DataCenterPing* CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::_internal_add_data_center_pings() { - return _impl_.data_center_pings_.Add(); -} -inline ::DataCenterPing* CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::add_data_center_pings() { - ::DataCenterPing* _add = _internal_add_data_center_pings(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.data_center_pings) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DataCenterPing >& -CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends::data_center_pings() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientRequestWatchInfoFriends.data_center_pings) - return _impl_.data_center_pings_; -} - -// ------------------------------------------------------------------- - -// WatchableMatchInfo - -// optional uint32 server_ip = 1; -inline bool WatchableMatchInfo::_internal_has_server_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool WatchableMatchInfo::has_server_ip() const { - return _internal_has_server_ip(); -} -inline void WatchableMatchInfo::clear_server_ip() { - _impl_.server_ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t WatchableMatchInfo::_internal_server_ip() const { - return _impl_.server_ip_; -} -inline uint32_t WatchableMatchInfo::server_ip() const { - // @@protoc_insertion_point(field_get:WatchableMatchInfo.server_ip) - return _internal_server_ip(); -} -inline void WatchableMatchInfo::_internal_set_server_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.server_ip_ = value; -} -inline void WatchableMatchInfo::set_server_ip(uint32_t value) { - _internal_set_server_ip(value); - // @@protoc_insertion_point(field_set:WatchableMatchInfo.server_ip) -} - -// optional uint32 tv_port = 2; -inline bool WatchableMatchInfo::_internal_has_tv_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool WatchableMatchInfo::has_tv_port() const { - return _internal_has_tv_port(); -} -inline void WatchableMatchInfo::clear_tv_port() { - _impl_.tv_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t WatchableMatchInfo::_internal_tv_port() const { - return _impl_.tv_port_; -} -inline uint32_t WatchableMatchInfo::tv_port() const { - // @@protoc_insertion_point(field_get:WatchableMatchInfo.tv_port) - return _internal_tv_port(); -} -inline void WatchableMatchInfo::_internal_set_tv_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.tv_port_ = value; -} -inline void WatchableMatchInfo::set_tv_port(uint32_t value) { - _internal_set_tv_port(value); - // @@protoc_insertion_point(field_set:WatchableMatchInfo.tv_port) -} - -// optional uint32 tv_spectators = 3; -inline bool WatchableMatchInfo::_internal_has_tv_spectators() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool WatchableMatchInfo::has_tv_spectators() const { - return _internal_has_tv_spectators(); -} -inline void WatchableMatchInfo::clear_tv_spectators() { - _impl_.tv_spectators_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t WatchableMatchInfo::_internal_tv_spectators() const { - return _impl_.tv_spectators_; -} -inline uint32_t WatchableMatchInfo::tv_spectators() const { - // @@protoc_insertion_point(field_get:WatchableMatchInfo.tv_spectators) - return _internal_tv_spectators(); -} -inline void WatchableMatchInfo::_internal_set_tv_spectators(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.tv_spectators_ = value; -} -inline void WatchableMatchInfo::set_tv_spectators(uint32_t value) { - _internal_set_tv_spectators(value); - // @@protoc_insertion_point(field_set:WatchableMatchInfo.tv_spectators) -} - -// optional uint32 tv_time = 4; -inline bool WatchableMatchInfo::_internal_has_tv_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool WatchableMatchInfo::has_tv_time() const { - return _internal_has_tv_time(); -} -inline void WatchableMatchInfo::clear_tv_time() { - _impl_.tv_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t WatchableMatchInfo::_internal_tv_time() const { - return _impl_.tv_time_; -} -inline uint32_t WatchableMatchInfo::tv_time() const { - // @@protoc_insertion_point(field_get:WatchableMatchInfo.tv_time) - return _internal_tv_time(); -} -inline void WatchableMatchInfo::_internal_set_tv_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.tv_time_ = value; -} -inline void WatchableMatchInfo::set_tv_time(uint32_t value) { - _internal_set_tv_time(value); - // @@protoc_insertion_point(field_set:WatchableMatchInfo.tv_time) -} - -// optional bytes tv_watch_password = 5; -inline bool WatchableMatchInfo::_internal_has_tv_watch_password() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool WatchableMatchInfo::has_tv_watch_password() const { - return _internal_has_tv_watch_password(); -} -inline void WatchableMatchInfo::clear_tv_watch_password() { - _impl_.tv_watch_password_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& WatchableMatchInfo::tv_watch_password() const { - // @@protoc_insertion_point(field_get:WatchableMatchInfo.tv_watch_password) - return _internal_tv_watch_password(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void WatchableMatchInfo::set_tv_watch_password(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.tv_watch_password_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:WatchableMatchInfo.tv_watch_password) -} -inline std::string* WatchableMatchInfo::mutable_tv_watch_password() { - std::string* _s = _internal_mutable_tv_watch_password(); - // @@protoc_insertion_point(field_mutable:WatchableMatchInfo.tv_watch_password) - return _s; -} -inline const std::string& WatchableMatchInfo::_internal_tv_watch_password() const { - return _impl_.tv_watch_password_.Get(); -} -inline void WatchableMatchInfo::_internal_set_tv_watch_password(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.tv_watch_password_.Set(value, GetArenaForAllocation()); -} -inline std::string* WatchableMatchInfo::_internal_mutable_tv_watch_password() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.tv_watch_password_.Mutable(GetArenaForAllocation()); -} -inline std::string* WatchableMatchInfo::release_tv_watch_password() { - // @@protoc_insertion_point(field_release:WatchableMatchInfo.tv_watch_password) - if (!_internal_has_tv_watch_password()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.tv_watch_password_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.tv_watch_password_.IsDefault()) { - _impl_.tv_watch_password_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void WatchableMatchInfo::set_allocated_tv_watch_password(std::string* tv_watch_password) { - if (tv_watch_password != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.tv_watch_password_.SetAllocated(tv_watch_password, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.tv_watch_password_.IsDefault()) { - _impl_.tv_watch_password_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:WatchableMatchInfo.tv_watch_password) -} - -// optional uint64 cl_decryptdata_key = 6; -inline bool WatchableMatchInfo::_internal_has_cl_decryptdata_key() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool WatchableMatchInfo::has_cl_decryptdata_key() const { - return _internal_has_cl_decryptdata_key(); -} -inline void WatchableMatchInfo::clear_cl_decryptdata_key() { - _impl_.cl_decryptdata_key_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint64_t WatchableMatchInfo::_internal_cl_decryptdata_key() const { - return _impl_.cl_decryptdata_key_; -} -inline uint64_t WatchableMatchInfo::cl_decryptdata_key() const { - // @@protoc_insertion_point(field_get:WatchableMatchInfo.cl_decryptdata_key) - return _internal_cl_decryptdata_key(); -} -inline void WatchableMatchInfo::_internal_set_cl_decryptdata_key(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.cl_decryptdata_key_ = value; -} -inline void WatchableMatchInfo::set_cl_decryptdata_key(uint64_t value) { - _internal_set_cl_decryptdata_key(value); - // @@protoc_insertion_point(field_set:WatchableMatchInfo.cl_decryptdata_key) -} - -// optional uint64 cl_decryptdata_key_pub = 7; -inline bool WatchableMatchInfo::_internal_has_cl_decryptdata_key_pub() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool WatchableMatchInfo::has_cl_decryptdata_key_pub() const { - return _internal_has_cl_decryptdata_key_pub(); -} -inline void WatchableMatchInfo::clear_cl_decryptdata_key_pub() { - _impl_.cl_decryptdata_key_pub_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint64_t WatchableMatchInfo::_internal_cl_decryptdata_key_pub() const { - return _impl_.cl_decryptdata_key_pub_; -} -inline uint64_t WatchableMatchInfo::cl_decryptdata_key_pub() const { - // @@protoc_insertion_point(field_get:WatchableMatchInfo.cl_decryptdata_key_pub) - return _internal_cl_decryptdata_key_pub(); -} -inline void WatchableMatchInfo::_internal_set_cl_decryptdata_key_pub(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.cl_decryptdata_key_pub_ = value; -} -inline void WatchableMatchInfo::set_cl_decryptdata_key_pub(uint64_t value) { - _internal_set_cl_decryptdata_key_pub(value); - // @@protoc_insertion_point(field_set:WatchableMatchInfo.cl_decryptdata_key_pub) -} - -// optional uint32 game_type = 8; -inline bool WatchableMatchInfo::_internal_has_game_type() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool WatchableMatchInfo::has_game_type() const { - return _internal_has_game_type(); -} -inline void WatchableMatchInfo::clear_game_type() { - _impl_.game_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t WatchableMatchInfo::_internal_game_type() const { - return _impl_.game_type_; -} -inline uint32_t WatchableMatchInfo::game_type() const { - // @@protoc_insertion_point(field_get:WatchableMatchInfo.game_type) - return _internal_game_type(); -} -inline void WatchableMatchInfo::_internal_set_game_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.game_type_ = value; -} -inline void WatchableMatchInfo::set_game_type(uint32_t value) { - _internal_set_game_type(value); - // @@protoc_insertion_point(field_set:WatchableMatchInfo.game_type) -} - -// optional string game_mapgroup = 9; -inline bool WatchableMatchInfo::_internal_has_game_mapgroup() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool WatchableMatchInfo::has_game_mapgroup() const { - return _internal_has_game_mapgroup(); -} -inline void WatchableMatchInfo::clear_game_mapgroup() { - _impl_.game_mapgroup_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& WatchableMatchInfo::game_mapgroup() const { - // @@protoc_insertion_point(field_get:WatchableMatchInfo.game_mapgroup) - return _internal_game_mapgroup(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void WatchableMatchInfo::set_game_mapgroup(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.game_mapgroup_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:WatchableMatchInfo.game_mapgroup) -} -inline std::string* WatchableMatchInfo::mutable_game_mapgroup() { - std::string* _s = _internal_mutable_game_mapgroup(); - // @@protoc_insertion_point(field_mutable:WatchableMatchInfo.game_mapgroup) - return _s; -} -inline const std::string& WatchableMatchInfo::_internal_game_mapgroup() const { - return _impl_.game_mapgroup_.Get(); -} -inline void WatchableMatchInfo::_internal_set_game_mapgroup(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.game_mapgroup_.Set(value, GetArenaForAllocation()); -} -inline std::string* WatchableMatchInfo::_internal_mutable_game_mapgroup() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.game_mapgroup_.Mutable(GetArenaForAllocation()); -} -inline std::string* WatchableMatchInfo::release_game_mapgroup() { - // @@protoc_insertion_point(field_release:WatchableMatchInfo.game_mapgroup) - if (!_internal_has_game_mapgroup()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.game_mapgroup_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_mapgroup_.IsDefault()) { - _impl_.game_mapgroup_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void WatchableMatchInfo::set_allocated_game_mapgroup(std::string* game_mapgroup) { - if (game_mapgroup != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.game_mapgroup_.SetAllocated(game_mapgroup, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_mapgroup_.IsDefault()) { - _impl_.game_mapgroup_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:WatchableMatchInfo.game_mapgroup) -} - -// optional string game_map = 10; -inline bool WatchableMatchInfo::_internal_has_game_map() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool WatchableMatchInfo::has_game_map() const { - return _internal_has_game_map(); -} -inline void WatchableMatchInfo::clear_game_map() { - _impl_.game_map_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& WatchableMatchInfo::game_map() const { - // @@protoc_insertion_point(field_get:WatchableMatchInfo.game_map) - return _internal_game_map(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void WatchableMatchInfo::set_game_map(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.game_map_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:WatchableMatchInfo.game_map) -} -inline std::string* WatchableMatchInfo::mutable_game_map() { - std::string* _s = _internal_mutable_game_map(); - // @@protoc_insertion_point(field_mutable:WatchableMatchInfo.game_map) - return _s; -} -inline const std::string& WatchableMatchInfo::_internal_game_map() const { - return _impl_.game_map_.Get(); -} -inline void WatchableMatchInfo::_internal_set_game_map(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.game_map_.Set(value, GetArenaForAllocation()); -} -inline std::string* WatchableMatchInfo::_internal_mutable_game_map() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.game_map_.Mutable(GetArenaForAllocation()); -} -inline std::string* WatchableMatchInfo::release_game_map() { - // @@protoc_insertion_point(field_release:WatchableMatchInfo.game_map) - if (!_internal_has_game_map()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.game_map_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_map_.IsDefault()) { - _impl_.game_map_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void WatchableMatchInfo::set_allocated_game_map(std::string* game_map) { - if (game_map != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.game_map_.SetAllocated(game_map, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_map_.IsDefault()) { - _impl_.game_map_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:WatchableMatchInfo.game_map) -} - -// optional uint64 server_id = 11; -inline bool WatchableMatchInfo::_internal_has_server_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool WatchableMatchInfo::has_server_id() const { - return _internal_has_server_id(); -} -inline void WatchableMatchInfo::clear_server_id() { - _impl_.server_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint64_t WatchableMatchInfo::_internal_server_id() const { - return _impl_.server_id_; -} -inline uint64_t WatchableMatchInfo::server_id() const { - // @@protoc_insertion_point(field_get:WatchableMatchInfo.server_id) - return _internal_server_id(); -} -inline void WatchableMatchInfo::_internal_set_server_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.server_id_ = value; -} -inline void WatchableMatchInfo::set_server_id(uint64_t value) { - _internal_set_server_id(value); - // @@protoc_insertion_point(field_set:WatchableMatchInfo.server_id) -} - -// optional uint64 match_id = 12; -inline bool WatchableMatchInfo::_internal_has_match_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool WatchableMatchInfo::has_match_id() const { - return _internal_has_match_id(); -} -inline void WatchableMatchInfo::clear_match_id() { - _impl_.match_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint64_t WatchableMatchInfo::_internal_match_id() const { - return _impl_.match_id_; -} -inline uint64_t WatchableMatchInfo::match_id() const { - // @@protoc_insertion_point(field_get:WatchableMatchInfo.match_id) - return _internal_match_id(); -} -inline void WatchableMatchInfo::_internal_set_match_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.match_id_ = value; -} -inline void WatchableMatchInfo::set_match_id(uint64_t value) { - _internal_set_match_id(value); - // @@protoc_insertion_point(field_set:WatchableMatchInfo.match_id) -} - -// optional uint64 reservation_id = 13; -inline bool WatchableMatchInfo::_internal_has_reservation_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool WatchableMatchInfo::has_reservation_id() const { - return _internal_has_reservation_id(); -} -inline void WatchableMatchInfo::clear_reservation_id() { - _impl_.reservation_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint64_t WatchableMatchInfo::_internal_reservation_id() const { - return _impl_.reservation_id_; -} -inline uint64_t WatchableMatchInfo::reservation_id() const { - // @@protoc_insertion_point(field_get:WatchableMatchInfo.reservation_id) - return _internal_reservation_id(); -} -inline void WatchableMatchInfo::_internal_set_reservation_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.reservation_id_ = value; -} -inline void WatchableMatchInfo::set_reservation_id(uint64_t value) { - _internal_set_reservation_id(value); - // @@protoc_insertion_point(field_set:WatchableMatchInfo.reservation_id) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientRequestJoinFriendData - -// optional uint32 version = 1; -inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_has_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::has_version() const { - return _internal_has_version(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::clear_version() { - _impl_.version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_version() const { - return _impl_.version_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinFriendData::version() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.version) - return _internal_version(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_set_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.version_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::set_version(uint32_t value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.version) -} - -// optional uint32 account_id = 2; -inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::has_account_id() const { - return _internal_has_account_id(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinFriendData::account_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.account_id) - return _internal_account_id(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.account_id_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.account_id) -} - -// optional uint32 join_token = 3; -inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_has_join_token() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::has_join_token() const { - return _internal_has_join_token(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::clear_join_token() { - _impl_.join_token_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_join_token() const { - return _impl_.join_token_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinFriendData::join_token() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.join_token) - return _internal_join_token(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_set_join_token(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.join_token_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::set_join_token(uint32_t value) { - _internal_set_join_token(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.join_token) -} - -// optional uint32 join_ipp = 4; -inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_has_join_ipp() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::has_join_ipp() const { - return _internal_has_join_ipp(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::clear_join_ipp() { - _impl_.join_ipp_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_join_ipp() const { - return _impl_.join_ipp_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinFriendData::join_ipp() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.join_ipp) - return _internal_join_ipp(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_set_join_ipp(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.join_ipp_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::set_join_ipp(uint32_t value) { - _internal_set_join_ipp(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.join_ipp) -} - -// optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 5; -inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_has_res() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.res_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::has_res() const { - return _internal_has_res(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::clear_res() { - if (_impl_.res_ != nullptr) _impl_.res_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_res() const { - const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* p = _impl_.res_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve_default_instance_); -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& CMsgGCCStrike15_v2_ClientRequestJoinFriendData::res() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.res) - return _internal_res(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::unsafe_arena_set_allocated_res( - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.res_); - } - _impl_.res_ = res; - if (res) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.res) -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_ClientRequestJoinFriendData::release_res() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* temp = _impl_.res_; - _impl_.res_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_ClientRequestJoinFriendData::unsafe_arena_release_res() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.res) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* temp = _impl_.res_; - _impl_.res_ = nullptr; - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_mutable_res() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.res_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve>(GetArenaForAllocation()); - _impl_.res_ = p; - } - return _impl_.res_; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_ClientRequestJoinFriendData::mutable_res() { - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* _msg = _internal_mutable_res(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.res) - return _msg; -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::set_allocated_res(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.res_; - } - if (res) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(res); - if (message_arena != submessage_arena) { - res = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, res, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.res_ = res; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.res) -} - -// optional string errormsg = 6; -inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_has_errormsg() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestJoinFriendData::has_errormsg() const { - return _internal_has_errormsg(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::clear_errormsg() { - _impl_.errormsg_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_ClientRequestJoinFriendData::errormsg() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.errormsg) - return _internal_errormsg(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::set_errormsg(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.errormsg_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.errormsg) -} -inline std::string* CMsgGCCStrike15_v2_ClientRequestJoinFriendData::mutable_errormsg() { - std::string* _s = _internal_mutable_errormsg(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.errormsg) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_errormsg() const { - return _impl_.errormsg_.Get(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_set_errormsg(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.errormsg_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientRequestJoinFriendData::_internal_mutable_errormsg() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.errormsg_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientRequestJoinFriendData::release_errormsg() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.errormsg) - if (!_internal_has_errormsg()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.errormsg_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.errormsg_.IsDefault()) { - _impl_.errormsg_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinFriendData::set_allocated_errormsg(std::string* errormsg) { - if (errormsg != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.errormsg_.SetAllocated(errormsg, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.errormsg_.IsDefault()) { - _impl_.errormsg_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientRequestJoinFriendData.errormsg) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientRequestJoinServerData - -// optional uint32 version = 1; -inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_has_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::has_version() const { - return _internal_has_version(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::clear_version() { - _impl_.version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_version() const { - return _impl_.version_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::version() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinServerData.version) - return _internal_version(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_set_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.version_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::set_version(uint32_t value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinServerData.version) -} - -// optional uint32 account_id = 2; -inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::has_account_id() const { - return _internal_has_account_id(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::account_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinServerData.account_id) - return _internal_account_id(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.account_id_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinServerData.account_id) -} - -// optional uint64 serverid = 3; -inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_has_serverid() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::has_serverid() const { - return _internal_has_serverid(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::clear_serverid() { - _impl_.serverid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_serverid() const { - return _impl_.serverid_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::serverid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinServerData.serverid) - return _internal_serverid(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_set_serverid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.serverid_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::set_serverid(uint64_t value) { - _internal_set_serverid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinServerData.serverid) -} - -// optional uint32 server_ip = 4; -inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_has_server_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::has_server_ip() const { - return _internal_has_server_ip(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::clear_server_ip() { - _impl_.server_ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_server_ip() const { - return _impl_.server_ip_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::server_ip() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinServerData.server_ip) - return _internal_server_ip(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_set_server_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.server_ip_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::set_server_ip(uint32_t value) { - _internal_set_server_ip(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinServerData.server_ip) -} - -// optional uint32 server_port = 5; -inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_has_server_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::has_server_port() const { - return _internal_has_server_port(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::clear_server_port() { - _impl_.server_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_server_port() const { - return _impl_.server_port_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestJoinServerData::server_port() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinServerData.server_port) - return _internal_server_port(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_set_server_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.server_port_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::set_server_port(uint32_t value) { - _internal_set_server_port(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinServerData.server_port) -} - -// optional .CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve res = 6; -inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_has_res() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.res_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::has_res() const { - return _internal_has_res(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::clear_res() { - if (_impl_.res_ != nullptr) _impl_.res_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_res() const { - const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* p = _impl_.res_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve_default_instance_); -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve& CMsgGCCStrike15_v2_ClientRequestJoinServerData::res() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinServerData.res) - return _internal_res(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::unsafe_arena_set_allocated_res( - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.res_); - } - _impl_.res_ = res; - if (res) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_ClientRequestJoinServerData.res) -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_ClientRequestJoinServerData::release_res() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* temp = _impl_.res_; - _impl_.res_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_ClientRequestJoinServerData::unsafe_arena_release_res() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientRequestJoinServerData.res) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* temp = _impl_.res_; - _impl_.res_ = nullptr; - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_mutable_res() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.res_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve>(GetArenaForAllocation()); - _impl_.res_ = p; - } - return _impl_.res_; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* CMsgGCCStrike15_v2_ClientRequestJoinServerData::mutable_res() { - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* _msg = _internal_mutable_res(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientRequestJoinServerData.res) - return _msg; -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::set_allocated_res(::CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve* res) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.res_; - } - if (res) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(res); - if (message_arena != submessage_arena) { - res = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, res, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.res_ = res; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientRequestJoinServerData.res) -} - -// optional string errormsg = 7; -inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_has_errormsg() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestJoinServerData::has_errormsg() const { - return _internal_has_errormsg(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::clear_errormsg() { - _impl_.errormsg_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_ClientRequestJoinServerData::errormsg() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestJoinServerData.errormsg) - return _internal_errormsg(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_ClientRequestJoinServerData::set_errormsg(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.errormsg_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestJoinServerData.errormsg) -} -inline std::string* CMsgGCCStrike15_v2_ClientRequestJoinServerData::mutable_errormsg() { - std::string* _s = _internal_mutable_errormsg(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientRequestJoinServerData.errormsg) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_errormsg() const { - return _impl_.errormsg_.Get(); -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_set_errormsg(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.errormsg_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientRequestJoinServerData::_internal_mutable_errormsg() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.errormsg_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientRequestJoinServerData::release_errormsg() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientRequestJoinServerData.errormsg) - if (!_internal_has_errormsg()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.errormsg_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.errormsg_.IsDefault()) { - _impl_.errormsg_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_ClientRequestJoinServerData::set_allocated_errormsg(std::string* errormsg) { - if (errormsg != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.errormsg_.SetAllocated(errormsg, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.errormsg_.IsDefault()) { - _impl_.errormsg_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientRequestJoinServerData.errormsg) -} - -// ------------------------------------------------------------------- - -// CMsgGCCstrike15_v2_ClientRedeemMissionReward - -// optional uint32 campaign_id = 1; -inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_has_campaign_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::has_campaign_id() const { - return _internal_has_campaign_id(); -} -inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::clear_campaign_id() { - _impl_.campaign_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_campaign_id() const { - return _impl_.campaign_id_; -} -inline uint32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::campaign_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_ClientRedeemMissionReward.campaign_id) - return _internal_campaign_id(); -} -inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_set_campaign_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.campaign_id_ = value; -} -inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::set_campaign_id(uint32_t value) { - _internal_set_campaign_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_ClientRedeemMissionReward.campaign_id) -} - -// optional uint32 redeem_id = 2; -inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_has_redeem_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::has_redeem_id() const { - return _internal_has_redeem_id(); -} -inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::clear_redeem_id() { - _impl_.redeem_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_redeem_id() const { - return _impl_.redeem_id_; -} -inline uint32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::redeem_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_ClientRedeemMissionReward.redeem_id) - return _internal_redeem_id(); -} -inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_set_redeem_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.redeem_id_ = value; -} -inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::set_redeem_id(uint32_t value) { - _internal_set_redeem_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_ClientRedeemMissionReward.redeem_id) -} - -// optional uint32 redeemable_balance = 3; -inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_has_redeemable_balance() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::has_redeemable_balance() const { - return _internal_has_redeemable_balance(); -} -inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::clear_redeemable_balance() { - _impl_.redeemable_balance_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_redeemable_balance() const { - return _impl_.redeemable_balance_; -} -inline uint32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::redeemable_balance() const { - // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_ClientRedeemMissionReward.redeemable_balance) - return _internal_redeemable_balance(); -} -inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_set_redeemable_balance(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.redeemable_balance_ = value; -} -inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::set_redeemable_balance(uint32_t value) { - _internal_set_redeemable_balance(value); - // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_ClientRedeemMissionReward.redeemable_balance) -} - -// optional uint32 expected_cost = 4; -inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_has_expected_cost() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::has_expected_cost() const { - return _internal_has_expected_cost(); -} -inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::clear_expected_cost() { - _impl_.expected_cost_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_expected_cost() const { - return _impl_.expected_cost_; -} -inline uint32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::expected_cost() const { - // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_ClientRedeemMissionReward.expected_cost) - return _internal_expected_cost(); -} -inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_set_expected_cost(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.expected_cost_ = value; -} -inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::set_expected_cost(uint32_t value) { - _internal_set_expected_cost(value); - // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_ClientRedeemMissionReward.expected_cost) -} - -// optional int32 bid_control = 5; -inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_has_bid_control() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCstrike15_v2_ClientRedeemMissionReward::has_bid_control() const { - return _internal_has_bid_control(); -} -inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::clear_bid_control() { - _impl_.bid_control_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_bid_control() const { - return _impl_.bid_control_; -} -inline int32_t CMsgGCCstrike15_v2_ClientRedeemMissionReward::bid_control() const { - // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_ClientRedeemMissionReward.bid_control) - return _internal_bid_control(); -} -inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::_internal_set_bid_control(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.bid_control_ = value; -} -inline void CMsgGCCstrike15_v2_ClientRedeemMissionReward::set_bid_control(int32_t value) { - _internal_set_bid_control(value); - // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_ClientRedeemMissionReward.bid_control) -} - -// ------------------------------------------------------------------- - -// CMsgGCCstrike15_v2_ClientRedeemFreeReward - -// optional uint32 generation_time = 1; -inline bool CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_has_generation_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCstrike15_v2_ClientRedeemFreeReward::has_generation_time() const { - return _internal_has_generation_time(); -} -inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::clear_generation_time() { - _impl_.generation_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_generation_time() const { - return _impl_.generation_time_; -} -inline uint32_t CMsgGCCstrike15_v2_ClientRedeemFreeReward::generation_time() const { - // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_ClientRedeemFreeReward.generation_time) - return _internal_generation_time(); -} -inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_set_generation_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.generation_time_ = value; -} -inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::set_generation_time(uint32_t value) { - _internal_set_generation_time(value); - // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_ClientRedeemFreeReward.generation_time) -} - -// optional uint32 redeemable_balance = 2; -inline bool CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_has_redeemable_balance() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCstrike15_v2_ClientRedeemFreeReward::has_redeemable_balance() const { - return _internal_has_redeemable_balance(); -} -inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::clear_redeemable_balance() { - _impl_.redeemable_balance_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_redeemable_balance() const { - return _impl_.redeemable_balance_; -} -inline uint32_t CMsgGCCstrike15_v2_ClientRedeemFreeReward::redeemable_balance() const { - // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_ClientRedeemFreeReward.redeemable_balance) - return _internal_redeemable_balance(); -} -inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_set_redeemable_balance(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.redeemable_balance_ = value; -} -inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::set_redeemable_balance(uint32_t value) { - _internal_set_redeemable_balance(value); - // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_ClientRedeemFreeReward.redeemable_balance) -} - -// repeated uint64 items = 3; -inline int CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_items_size() const { - return _impl_.items_.size(); -} -inline int CMsgGCCstrike15_v2_ClientRedeemFreeReward::items_size() const { - return _internal_items_size(); -} -inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::clear_items() { - _impl_.items_.Clear(); -} -inline uint64_t CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_items(int index) const { - return _impl_.items_.Get(index); -} -inline uint64_t CMsgGCCstrike15_v2_ClientRedeemFreeReward::items(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_ClientRedeemFreeReward.items) - return _internal_items(index); -} -inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::set_items(int index, uint64_t value) { - _impl_.items_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_ClientRedeemFreeReward.items) -} -inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_add_items(uint64_t value) { - _impl_.items_.Add(value); -} -inline void CMsgGCCstrike15_v2_ClientRedeemFreeReward::add_items(uint64_t value) { - _internal_add_items(value); - // @@protoc_insertion_point(field_add:CMsgGCCstrike15_v2_ClientRedeemFreeReward.items) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_items() const { - return _impl_.items_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CMsgGCCstrike15_v2_ClientRedeemFreeReward::items() const { - // @@protoc_insertion_point(field_list:CMsgGCCstrike15_v2_ClientRedeemFreeReward.items) - return _internal_items(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CMsgGCCstrike15_v2_ClientRedeemFreeReward::_internal_mutable_items() { - return &_impl_.items_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CMsgGCCstrike15_v2_ClientRedeemFreeReward::mutable_items() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCstrike15_v2_ClientRedeemFreeReward.items) - return _internal_mutable_items(); -} - -// ------------------------------------------------------------------- - -// CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded - -// repeated .XpProgressData xp_progress_data = 1; -inline int CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_xp_progress_data_size() const { - return _impl_.xp_progress_data_.size(); -} -inline int CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::xp_progress_data_size() const { - return _internal_xp_progress_data_size(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_xp_progress_data() { - _impl_.xp_progress_data_.Clear(); -} -inline ::XpProgressData* CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::mutable_xp_progress_data(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_progress_data) - return _impl_.xp_progress_data_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData >* -CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::mutable_xp_progress_data() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_progress_data) - return &_impl_.xp_progress_data_; -} -inline const ::XpProgressData& CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_xp_progress_data(int index) const { - return _impl_.xp_progress_data_.Get(index); -} -inline const ::XpProgressData& CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::xp_progress_data(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_progress_data) - return _internal_xp_progress_data(index); -} -inline ::XpProgressData* CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_add_xp_progress_data() { - return _impl_.xp_progress_data_.Add(); -} -inline ::XpProgressData* CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::add_xp_progress_data() { - ::XpProgressData* _add = _internal_add_xp_progress_data(); - // @@protoc_insertion_point(field_add:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_progress_data) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::XpProgressData >& -CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::xp_progress_data() const { - // @@protoc_insertion_point(field_list:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_progress_data) - return _impl_.xp_progress_data_; -} - -// optional uint32 account_id = 2; -inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::has_account_id() const { - return _internal_has_account_id(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::account_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.account_id) - return _internal_account_id(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.account_id_ = value; -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.account_id) -} - -// optional uint32 current_xp = 3; -inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_has_current_xp() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::has_current_xp() const { - return _internal_has_current_xp(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_current_xp() { - _impl_.current_xp_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_current_xp() const { - return _impl_.current_xp_; -} -inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::current_xp() const { - // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.current_xp) - return _internal_current_xp(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_set_current_xp(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.current_xp_ = value; -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::set_current_xp(uint32_t value) { - _internal_set_current_xp(value); - // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.current_xp) -} - -// optional uint32 current_level = 4; -inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_has_current_level() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::has_current_level() const { - return _internal_has_current_level(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_current_level() { - _impl_.current_level_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_current_level() const { - return _impl_.current_level_; -} -inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::current_level() const { - // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.current_level) - return _internal_current_level(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_set_current_level(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.current_level_ = value; -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::set_current_level(uint32_t value) { - _internal_set_current_level(value); - // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.current_level) -} - -// optional uint32 upgraded_defidx = 5; -inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_has_upgraded_defidx() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::has_upgraded_defidx() const { - return _internal_has_upgraded_defidx(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_upgraded_defidx() { - _impl_.upgraded_defidx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_upgraded_defidx() const { - return _impl_.upgraded_defidx_; -} -inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::upgraded_defidx() const { - // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.upgraded_defidx) - return _internal_upgraded_defidx(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_set_upgraded_defidx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.upgraded_defidx_ = value; -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::set_upgraded_defidx(uint32_t value) { - _internal_set_upgraded_defidx(value); - // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.upgraded_defidx) -} - -// optional uint32 operation_points_awarded = 6; -inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_has_operation_points_awarded() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::has_operation_points_awarded() const { - return _internal_has_operation_points_awarded(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_operation_points_awarded() { - _impl_.operation_points_awarded_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_operation_points_awarded() const { - return _impl_.operation_points_awarded_; -} -inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::operation_points_awarded() const { - // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.operation_points_awarded) - return _internal_operation_points_awarded(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_set_operation_points_awarded(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.operation_points_awarded_ = value; -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::set_operation_points_awarded(uint32_t value) { - _internal_set_operation_points_awarded(value); - // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.operation_points_awarded) -} - -// optional uint32 free_rewards = 7; -inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_has_free_rewards() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::has_free_rewards() const { - return _internal_has_free_rewards(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_free_rewards() { - _impl_.free_rewards_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_free_rewards() const { - return _impl_.free_rewards_; -} -inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::free_rewards() const { - // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.free_rewards) - return _internal_free_rewards(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_set_free_rewards(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.free_rewards_ = value; -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::set_free_rewards(uint32_t value) { - _internal_set_free_rewards(value); - // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.free_rewards) -} - -// optional uint32 xp_trail_remaining = 8; -inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_has_xp_trail_remaining() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::has_xp_trail_remaining() const { - return _internal_has_xp_trail_remaining(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_xp_trail_remaining() { - _impl_.xp_trail_remaining_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_xp_trail_remaining() const { - return _impl_.xp_trail_remaining_; -} -inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::xp_trail_remaining() const { - // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_trail_remaining) - return _internal_xp_trail_remaining(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_set_xp_trail_remaining(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.xp_trail_remaining_ = value; -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::set_xp_trail_remaining(uint32_t value) { - _internal_set_xp_trail_remaining(value); - // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_trail_remaining) -} - -// optional int32 xp_trail_xp_needed = 9; -inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_has_xp_trail_xp_needed() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::has_xp_trail_xp_needed() const { - return _internal_has_xp_trail_xp_needed(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_xp_trail_xp_needed() { - _impl_.xp_trail_xp_needed_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_xp_trail_xp_needed() const { - return _impl_.xp_trail_xp_needed_; -} -inline int32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::xp_trail_xp_needed() const { - // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_trail_xp_needed) - return _internal_xp_trail_xp_needed(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_set_xp_trail_xp_needed(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.xp_trail_xp_needed_ = value; -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::set_xp_trail_xp_needed(int32_t value) { - _internal_set_xp_trail_xp_needed(value); - // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_trail_xp_needed) -} - -// optional uint32 xp_trail_level = 10; -inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_has_xp_trail_level() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::has_xp_trail_level() const { - return _internal_has_xp_trail_level(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::clear_xp_trail_level() { - _impl_.xp_trail_level_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_xp_trail_level() const { - return _impl_.xp_trail_level_; -} -inline uint32_t CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::xp_trail_level() const { - // @@protoc_insertion_point(field_get:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_trail_level) - return _internal_xp_trail_level(); -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::_internal_set_xp_trail_level(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.xp_trail_level_ = value; -} -inline void CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::set_xp_trail_level(uint32_t value) { - _internal_set_xp_trail_level(value); - // @@protoc_insertion_point(field_set:CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded.xp_trail_level) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientNetworkConfig - -// optional bytes data = 1; -inline bool CMsgGCCStrike15_v2_ClientNetworkConfig::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientNetworkConfig::has_data() const { - return _internal_has_data(); -} -inline void CMsgGCCStrike15_v2_ClientNetworkConfig::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_ClientNetworkConfig::data() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientNetworkConfig.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_ClientNetworkConfig::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientNetworkConfig.data) -} -inline std::string* CMsgGCCStrike15_v2_ClientNetworkConfig::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientNetworkConfig.data) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_ClientNetworkConfig::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CMsgGCCStrike15_v2_ClientNetworkConfig::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientNetworkConfig::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientNetworkConfig::release_data() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientNetworkConfig.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_ClientNetworkConfig::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientNetworkConfig.data) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_ClientDeepStats_DeepStatsRange - -// optional uint32 begin = 1; -inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_internal_has_begin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::has_begin() const { - return _internal_has_begin(); -} -inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::clear_begin() { - _impl_.begin_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_internal_begin() const { - return _impl_.begin_; -} -inline uint32_t CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::begin() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange.begin) - return _internal_begin(); -} -inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_internal_set_begin(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.begin_ = value; -} -inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::set_begin(uint32_t value) { - _internal_set_begin(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange.begin) -} - -// optional uint32 end = 2; -inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_internal_has_end() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::has_end() const { - return _internal_has_end(); -} -inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::clear_end() { - _impl_.end_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_internal_end() const { - return _impl_.end_; -} -inline uint32_t CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::end() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange.end) - return _internal_end(); -} -inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_internal_set_end(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.end_ = value; -} -inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::set_end(uint32_t value) { - _internal_set_end(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange.end) -} - -// optional bool frozen = 3; -inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_internal_has_frozen() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::has_frozen() const { - return _internal_has_frozen(); -} -inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::clear_frozen() { - _impl_.frozen_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_internal_frozen() const { - return _impl_.frozen_; -} -inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::frozen() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange.frozen) - return _internal_frozen(); -} -inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::_internal_set_frozen(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.frozen_ = value; -} -inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsRange::set_frozen(bool value) { - _internal_set_frozen(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_ClientDeepStats.DeepStatsRange.frozen) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch - -// optional .DeepPlayerStatsEntry player = 1; -inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_internal_has_player() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.player_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::has_player() const { - return _internal_has_player(); -} -inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::clear_player() { - if (_impl_.player_ != nullptr) _impl_.player_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::DeepPlayerStatsEntry& CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_internal_player() const { - const ::DeepPlayerStatsEntry* p = _impl_.player_; - return p != nullptr ? *p : reinterpret_cast( - ::_DeepPlayerStatsEntry_default_instance_); -} -inline const ::DeepPlayerStatsEntry& CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::player() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.player) - return _internal_player(); -} -inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::unsafe_arena_set_allocated_player( - ::DeepPlayerStatsEntry* player) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); - } - _impl_.player_ = player; - if (player) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.player) -} -inline ::DeepPlayerStatsEntry* CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::release_player() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::DeepPlayerStatsEntry* temp = _impl_.player_; - _impl_.player_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::DeepPlayerStatsEntry* CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::unsafe_arena_release_player() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.player) - _impl_._has_bits_[0] &= ~0x00000001u; - ::DeepPlayerStatsEntry* temp = _impl_.player_; - _impl_.player_ = nullptr; - return temp; -} -inline ::DeepPlayerStatsEntry* CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_internal_mutable_player() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.player_ == nullptr) { - auto* p = CreateMaybeMessage<::DeepPlayerStatsEntry>(GetArenaForAllocation()); - _impl_.player_ = p; - } - return _impl_.player_; -} -inline ::DeepPlayerStatsEntry* CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::mutable_player() { - ::DeepPlayerStatsEntry* _msg = _internal_mutable_player(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.player) - return _msg; -} -inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::set_allocated_player(::DeepPlayerStatsEntry* player) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.player_; - } - if (player) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); - if (message_arena != submessage_arena) { - player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, player, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.player_ = player; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.player) -} - -// repeated .DeepPlayerMatchEvent events = 2; -inline int CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_internal_events_size() const { - return _impl_.events_.size(); -} -inline int CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::events_size() const { - return _internal_events_size(); -} -inline void CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::clear_events() { - _impl_.events_.Clear(); -} -inline ::DeepPlayerMatchEvent* CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::mutable_events(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.events) - return _impl_.events_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DeepPlayerMatchEvent >* -CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::mutable_events() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.events) - return &_impl_.events_; -} -inline const ::DeepPlayerMatchEvent& CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_internal_events(int index) const { - return _impl_.events_.Get(index); -} -inline const ::DeepPlayerMatchEvent& CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::events(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.events) - return _internal_events(index); -} -inline ::DeepPlayerMatchEvent* CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::_internal_add_events() { - return _impl_.events_.Add(); -} -inline ::DeepPlayerMatchEvent* CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::add_events() { - ::DeepPlayerMatchEvent* _add = _internal_add_events(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.events) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::DeepPlayerMatchEvent >& -CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch::events() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch.events) - return _impl_.events_; -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_ClientDeepStats - -// optional uint32 account_id = 1; -inline bool CMsgGCCStrike15_ClientDeepStats::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_ClientDeepStats::has_account_id() const { - return _internal_has_account_id(); -} -inline void CMsgGCCStrike15_ClientDeepStats::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_ClientDeepStats::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CMsgGCCStrike15_ClientDeepStats::account_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_ClientDeepStats.account_id) - return _internal_account_id(); -} -inline void CMsgGCCStrike15_ClientDeepStats::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.account_id_ = value; -} -inline void CMsgGCCStrike15_ClientDeepStats::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_ClientDeepStats.account_id) -} - -// optional .CMsgGCCStrike15_ClientDeepStats.DeepStatsRange range = 2; -inline bool CMsgGCCStrike15_ClientDeepStats::_internal_has_range() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.range_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_ClientDeepStats::has_range() const { - return _internal_has_range(); -} -inline void CMsgGCCStrike15_ClientDeepStats::clear_range() { - if (_impl_.range_ != nullptr) _impl_.range_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& CMsgGCCStrike15_ClientDeepStats::_internal_range() const { - const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* p = _impl_.range_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgGCCStrike15_ClientDeepStats_DeepStatsRange_default_instance_); -} -inline const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange& CMsgGCCStrike15_ClientDeepStats::range() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_ClientDeepStats.range) - return _internal_range(); -} -inline void CMsgGCCStrike15_ClientDeepStats::unsafe_arena_set_allocated_range( - ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* range) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.range_); - } - _impl_.range_ = range; - if (range) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_ClientDeepStats.range) -} -inline ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* CMsgGCCStrike15_ClientDeepStats::release_range() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* temp = _impl_.range_; - _impl_.range_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* CMsgGCCStrike15_ClientDeepStats::unsafe_arena_release_range() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_ClientDeepStats.range) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* temp = _impl_.range_; - _impl_.range_ = nullptr; - return temp; -} -inline ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* CMsgGCCStrike15_ClientDeepStats::_internal_mutable_range() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.range_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange>(GetArenaForAllocation()); - _impl_.range_ = p; - } - return _impl_.range_; -} -inline ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* CMsgGCCStrike15_ClientDeepStats::mutable_range() { - ::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* _msg = _internal_mutable_range(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_ClientDeepStats.range) - return _msg; -} -inline void CMsgGCCStrike15_ClientDeepStats::set_allocated_range(::CMsgGCCStrike15_ClientDeepStats_DeepStatsRange* range) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.range_; - } - if (range) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(range); - if (message_arena != submessage_arena) { - range = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, range, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.range_ = range; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_ClientDeepStats.range) -} - -// repeated .CMsgGCCStrike15_ClientDeepStats.DeepStatsMatch matches = 3; -inline int CMsgGCCStrike15_ClientDeepStats::_internal_matches_size() const { - return _impl_.matches_.size(); -} -inline int CMsgGCCStrike15_ClientDeepStats::matches_size() const { - return _internal_matches_size(); -} -inline void CMsgGCCStrike15_ClientDeepStats::clear_matches() { - _impl_.matches_.Clear(); -} -inline ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* CMsgGCCStrike15_ClientDeepStats::mutable_matches(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_ClientDeepStats.matches) - return _impl_.matches_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch >* -CMsgGCCStrike15_ClientDeepStats::mutable_matches() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_ClientDeepStats.matches) - return &_impl_.matches_; -} -inline const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& CMsgGCCStrike15_ClientDeepStats::_internal_matches(int index) const { - return _impl_.matches_.Get(index); -} -inline const ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch& CMsgGCCStrike15_ClientDeepStats::matches(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_ClientDeepStats.matches) - return _internal_matches(index); -} -inline ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* CMsgGCCStrike15_ClientDeepStats::_internal_add_matches() { - return _impl_.matches_.Add(); -} -inline ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* CMsgGCCStrike15_ClientDeepStats::add_matches() { - ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch* _add = _internal_add_matches(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_ClientDeepStats.matches) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_ClientDeepStats_DeepStatsMatch >& -CMsgGCCStrike15_ClientDeepStats::matches() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_ClientDeepStats.matches) - return _impl_.matches_; -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_WatchInfoUsers - -// optional uint32 request_id = 1; -inline bool CMsgGCCStrike15_v2_WatchInfoUsers::_internal_has_request_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_WatchInfoUsers::has_request_id() const { - return _internal_has_request_id(); -} -inline void CMsgGCCStrike15_v2_WatchInfoUsers::clear_request_id() { - _impl_.request_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_WatchInfoUsers::_internal_request_id() const { - return _impl_.request_id_; -} -inline uint32_t CMsgGCCStrike15_v2_WatchInfoUsers::request_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_WatchInfoUsers.request_id) - return _internal_request_id(); -} -inline void CMsgGCCStrike15_v2_WatchInfoUsers::_internal_set_request_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.request_id_ = value; -} -inline void CMsgGCCStrike15_v2_WatchInfoUsers::set_request_id(uint32_t value) { - _internal_set_request_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_WatchInfoUsers.request_id) -} - -// repeated uint32 account_ids = 2; -inline int CMsgGCCStrike15_v2_WatchInfoUsers::_internal_account_ids_size() const { - return _impl_.account_ids_.size(); -} -inline int CMsgGCCStrike15_v2_WatchInfoUsers::account_ids_size() const { - return _internal_account_ids_size(); -} -inline void CMsgGCCStrike15_v2_WatchInfoUsers::clear_account_ids() { - _impl_.account_ids_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_WatchInfoUsers::_internal_account_ids(int index) const { - return _impl_.account_ids_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_WatchInfoUsers::account_ids(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_WatchInfoUsers.account_ids) - return _internal_account_ids(index); -} -inline void CMsgGCCStrike15_v2_WatchInfoUsers::set_account_ids(int index, uint32_t value) { - _impl_.account_ids_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_WatchInfoUsers.account_ids) -} -inline void CMsgGCCStrike15_v2_WatchInfoUsers::_internal_add_account_ids(uint32_t value) { - _impl_.account_ids_.Add(value); -} -inline void CMsgGCCStrike15_v2_WatchInfoUsers::add_account_ids(uint32_t value) { - _internal_add_account_ids(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_WatchInfoUsers.account_ids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_WatchInfoUsers::_internal_account_ids() const { - return _impl_.account_ids_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_WatchInfoUsers::account_ids() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_WatchInfoUsers.account_ids) - return _internal_account_ids(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_WatchInfoUsers::_internal_mutable_account_ids() { - return &_impl_.account_ids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_WatchInfoUsers::mutable_account_ids() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_WatchInfoUsers.account_ids) - return _internal_mutable_account_ids(); -} - -// repeated .WatchableMatchInfo watchable_match_infos = 3; -inline int CMsgGCCStrike15_v2_WatchInfoUsers::_internal_watchable_match_infos_size() const { - return _impl_.watchable_match_infos_.size(); -} -inline int CMsgGCCStrike15_v2_WatchInfoUsers::watchable_match_infos_size() const { - return _internal_watchable_match_infos_size(); -} -inline void CMsgGCCStrike15_v2_WatchInfoUsers::clear_watchable_match_infos() { - _impl_.watchable_match_infos_.Clear(); -} -inline ::WatchableMatchInfo* CMsgGCCStrike15_v2_WatchInfoUsers::mutable_watchable_match_infos(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_WatchInfoUsers.watchable_match_infos) - return _impl_.watchable_match_infos_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::WatchableMatchInfo >* -CMsgGCCStrike15_v2_WatchInfoUsers::mutable_watchable_match_infos() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_WatchInfoUsers.watchable_match_infos) - return &_impl_.watchable_match_infos_; -} -inline const ::WatchableMatchInfo& CMsgGCCStrike15_v2_WatchInfoUsers::_internal_watchable_match_infos(int index) const { - return _impl_.watchable_match_infos_.Get(index); -} -inline const ::WatchableMatchInfo& CMsgGCCStrike15_v2_WatchInfoUsers::watchable_match_infos(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_WatchInfoUsers.watchable_match_infos) - return _internal_watchable_match_infos(index); -} -inline ::WatchableMatchInfo* CMsgGCCStrike15_v2_WatchInfoUsers::_internal_add_watchable_match_infos() { - return _impl_.watchable_match_infos_.Add(); -} -inline ::WatchableMatchInfo* CMsgGCCStrike15_v2_WatchInfoUsers::add_watchable_match_infos() { - ::WatchableMatchInfo* _add = _internal_add_watchable_match_infos(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_WatchInfoUsers.watchable_match_infos) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::WatchableMatchInfo >& -CMsgGCCStrike15_v2_WatchInfoUsers::watchable_match_infos() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_WatchInfoUsers.watchable_match_infos) - return _impl_.watchable_match_infos_; -} - -// optional uint32 extended_timeout = 5; -inline bool CMsgGCCStrike15_v2_WatchInfoUsers::_internal_has_extended_timeout() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_WatchInfoUsers::has_extended_timeout() const { - return _internal_has_extended_timeout(); -} -inline void CMsgGCCStrike15_v2_WatchInfoUsers::clear_extended_timeout() { - _impl_.extended_timeout_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_WatchInfoUsers::_internal_extended_timeout() const { - return _impl_.extended_timeout_; -} -inline uint32_t CMsgGCCStrike15_v2_WatchInfoUsers::extended_timeout() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_WatchInfoUsers.extended_timeout) - return _internal_extended_timeout(); -} -inline void CMsgGCCStrike15_v2_WatchInfoUsers::_internal_set_extended_timeout(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.extended_timeout_ = value; -} -inline void CMsgGCCStrike15_v2_WatchInfoUsers::set_extended_timeout(uint32_t value) { - _internal_set_extended_timeout(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_WatchInfoUsers.extended_timeout) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientRequestPlayersProfile - -// optional uint32 request_id__deprecated = 1; -inline bool CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_has_request_id__deprecated() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestPlayersProfile::has_request_id__deprecated() const { - return _internal_has_request_id__deprecated(); -} -inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::clear_request_id__deprecated() { - _impl_.request_id__deprecated_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_request_id__deprecated() const { - return _impl_.request_id__deprecated_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestPlayersProfile::request_id__deprecated() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.request_id__deprecated) - return _internal_request_id__deprecated(); -} -inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_set_request_id__deprecated(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.request_id__deprecated_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::set_request_id__deprecated(uint32_t value) { - _internal_set_request_id__deprecated(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.request_id__deprecated) -} - -// repeated uint32 account_ids__deprecated = 2; -inline int CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_account_ids__deprecated_size() const { - return _impl_.account_ids__deprecated_.size(); -} -inline int CMsgGCCStrike15_v2_ClientRequestPlayersProfile::account_ids__deprecated_size() const { - return _internal_account_ids__deprecated_size(); -} -inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::clear_account_ids__deprecated() { - _impl_.account_ids__deprecated_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_account_ids__deprecated(int index) const { - return _impl_.account_ids__deprecated_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestPlayersProfile::account_ids__deprecated(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.account_ids__deprecated) - return _internal_account_ids__deprecated(index); -} -inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::set_account_ids__deprecated(int index, uint32_t value) { - _impl_.account_ids__deprecated_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.account_ids__deprecated) -} -inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_add_account_ids__deprecated(uint32_t value) { - _impl_.account_ids__deprecated_.Add(value); -} -inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::add_account_ids__deprecated(uint32_t value) { - _internal_add_account_ids__deprecated(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.account_ids__deprecated) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_account_ids__deprecated() const { - return _impl_.account_ids__deprecated_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_ClientRequestPlayersProfile::account_ids__deprecated() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.account_ids__deprecated) - return _internal_account_ids__deprecated(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_mutable_account_ids__deprecated() { - return &_impl_.account_ids__deprecated_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_ClientRequestPlayersProfile::mutable_account_ids__deprecated() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.account_ids__deprecated) - return _internal_mutable_account_ids__deprecated(); -} - -// optional uint32 account_id = 3; -inline bool CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestPlayersProfile::has_account_id() const { - return _internal_has_account_id(); -} -inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestPlayersProfile::account_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.account_id) - return _internal_account_id(); -} -inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.account_id_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.account_id) -} - -// optional uint32 request_level = 4; -inline bool CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_has_request_level() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestPlayersProfile::has_request_level() const { - return _internal_has_request_level(); -} -inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::clear_request_level() { - _impl_.request_level_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_request_level() const { - return _impl_.request_level_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientRequestPlayersProfile::request_level() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.request_level) - return _internal_request_level(); -} -inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::_internal_set_request_level(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.request_level_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestPlayersProfile::set_request_level(uint32_t value) { - _internal_set_request_level(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestPlayersProfile.request_level) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_PlayersProfile - -// optional uint32 request_id = 1; -inline bool CMsgGCCStrike15_v2_PlayersProfile::_internal_has_request_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayersProfile::has_request_id() const { - return _internal_has_request_id(); -} -inline void CMsgGCCStrike15_v2_PlayersProfile::clear_request_id() { - _impl_.request_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_PlayersProfile::_internal_request_id() const { - return _impl_.request_id_; -} -inline uint32_t CMsgGCCStrike15_v2_PlayersProfile::request_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayersProfile.request_id) - return _internal_request_id(); -} -inline void CMsgGCCStrike15_v2_PlayersProfile::_internal_set_request_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.request_id_ = value; -} -inline void CMsgGCCStrike15_v2_PlayersProfile::set_request_id(uint32_t value) { - _internal_set_request_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayersProfile.request_id) -} - -// repeated .CMsgGCCStrike15_v2_MatchmakingGC2ClientHello account_profiles = 2; -inline int CMsgGCCStrike15_v2_PlayersProfile::_internal_account_profiles_size() const { - return _impl_.account_profiles_.size(); -} -inline int CMsgGCCStrike15_v2_PlayersProfile::account_profiles_size() const { - return _internal_account_profiles_size(); -} -inline void CMsgGCCStrike15_v2_PlayersProfile::clear_account_profiles() { - _impl_.account_profiles_.Clear(); -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* CMsgGCCStrike15_v2_PlayersProfile::mutable_account_profiles(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_PlayersProfile.account_profiles) - return _impl_.account_profiles_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello >* -CMsgGCCStrike15_v2_PlayersProfile::mutable_account_profiles() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_PlayersProfile.account_profiles) - return &_impl_.account_profiles_; -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& CMsgGCCStrike15_v2_PlayersProfile::_internal_account_profiles(int index) const { - return _impl_.account_profiles_.Get(index); -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello& CMsgGCCStrike15_v2_PlayersProfile::account_profiles(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayersProfile.account_profiles) - return _internal_account_profiles(index); -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* CMsgGCCStrike15_v2_PlayersProfile::_internal_add_account_profiles() { - return _impl_.account_profiles_.Add(); -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* CMsgGCCStrike15_v2_PlayersProfile::add_account_profiles() { - ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello* _add = _internal_add_account_profiles(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_PlayersProfile.account_profiles) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingGC2ClientHello >& -CMsgGCCStrike15_v2_PlayersProfile::account_profiles() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_PlayersProfile.account_profiles) - return _impl_.account_profiles_; -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek - -// optional uint64 week_id = 1; -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_internal_has_week_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::has_week_id() const { - return _internal_has_week_id(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::clear_week_id() { - _impl_.week_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_internal_week_id() const { - return _impl_.week_id_; -} -inline uint64_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::week_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek.week_id) - return _internal_week_id(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_internal_set_week_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.week_id_ = value; -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::set_week_id(uint64_t value) { - _internal_set_week_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek.week_id) -} - -// optional uint32 rank_id = 2; -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_internal_has_rank_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::has_rank_id() const { - return _internal_has_rank_id(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::clear_rank_id() { - _impl_.rank_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_internal_rank_id() const { - return _impl_.rank_id_; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::rank_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek.rank_id) - return _internal_rank_id(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_internal_set_rank_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.rank_id_ = value; -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::set_rank_id(uint32_t value) { - _internal_set_rank_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek.rank_id) -} - -// optional uint32 matches_played = 3; -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_internal_has_matches_played() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::has_matches_played() const { - return _internal_has_matches_played(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::clear_matches_played() { - _impl_.matches_played_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_internal_matches_played() const { - return _impl_.matches_played_; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::matches_played() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek.matches_played) - return _internal_matches_played(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::_internal_set_matches_played(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.matches_played_ = value; -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek::set_matches_played(uint32_t value) { - _internal_set_matches_played(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek.matches_played) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap - -// optional uint32 map_id = 1; -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_map_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_map_id() const { - return _internal_has_map_id(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_map_id() { - _impl_.map_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_map_id() const { - return _impl_.map_id_; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::map_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.map_id) - return _internal_map_id(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_map_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.map_id_ = value; -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_map_id(uint32_t value) { - _internal_set_map_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.map_id) -} - -// optional uint32 wins = 2; -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_wins() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_wins() const { - return _internal_has_wins(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_wins() { - _impl_.wins_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_wins() const { - return _impl_.wins_; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::wins() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.wins) - return _internal_wins(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_wins(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.wins_ = value; -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_wins(uint32_t value) { - _internal_set_wins(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.wins) -} - -// optional uint32 ties = 3; -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_ties() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_ties() const { - return _internal_has_ties(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_ties() { - _impl_.ties_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_ties() const { - return _impl_.ties_; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::ties() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.ties) - return _internal_ties(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_ties(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.ties_ = value; -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_ties(uint32_t value) { - _internal_set_ties(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.ties) -} - -// optional uint32 losses = 4; -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_losses() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_losses() const { - return _internal_has_losses(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_losses() { - _impl_.losses_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_losses() const { - return _impl_.losses_; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::losses() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.losses) - return _internal_losses(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_losses(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.losses_ = value; -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_losses(uint32_t value) { - _internal_set_losses(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.losses) -} - -// optional uint32 rounds = 5; -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_rounds() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_rounds() const { - return _internal_has_rounds(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_rounds() { - _impl_.rounds_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_rounds() const { - return _impl_.rounds_; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::rounds() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.rounds) - return _internal_rounds(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_rounds(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.rounds_ = value; -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_rounds(uint32_t value) { - _internal_set_rounds(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.rounds) -} - -// optional uint32 kills = 6; -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_kills() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_kills() const { - return _internal_has_kills(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_kills() { - _impl_.kills_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_kills() const { - return _impl_.kills_; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::kills() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.kills) - return _internal_kills(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_kills(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.kills_ = value; -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_kills(uint32_t value) { - _internal_set_kills(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.kills) -} - -// optional uint32 headshots = 7; -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_headshots() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_headshots() const { - return _internal_has_headshots(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_headshots() { - _impl_.headshots_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_headshots() const { - return _impl_.headshots_; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::headshots() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.headshots) - return _internal_headshots(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_headshots(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.headshots_ = value; -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_headshots(uint32_t value) { - _internal_set_headshots(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.headshots) -} - -// optional uint32 assists = 8; -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_assists() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_assists() const { - return _internal_has_assists(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_assists() { - _impl_.assists_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_assists() const { - return _impl_.assists_; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::assists() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.assists) - return _internal_assists(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_assists(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.assists_ = value; -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_assists(uint32_t value) { - _internal_set_assists(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.assists) -} - -// optional uint32 deaths = 9; -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_deaths() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_deaths() const { - return _internal_has_deaths(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_deaths() { - _impl_.deaths_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_deaths() const { - return _impl_.deaths_; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::deaths() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.deaths) - return _internal_deaths(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_deaths(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.deaths_ = value; -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_deaths(uint32_t value) { - _internal_set_deaths(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.deaths) -} - -// optional uint32 mvps = 10; -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_mvps() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_mvps() const { - return _internal_has_mvps(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_mvps() { - _impl_.mvps_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_mvps() const { - return _impl_.mvps_; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::mvps() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.mvps) - return _internal_mvps(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_mvps(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.mvps_ = value; -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_mvps(uint32_t value) { - _internal_set_mvps(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.mvps) -} - -// optional uint32 rounds_3k = 11; -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_rounds_3k() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_rounds_3k() const { - return _internal_has_rounds_3k(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_rounds_3k() { - _impl_.rounds_3k_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_rounds_3k() const { - return _impl_.rounds_3k_; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::rounds_3k() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.rounds_3k) - return _internal_rounds_3k(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_rounds_3k(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.rounds_3k_ = value; -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_rounds_3k(uint32_t value) { - _internal_set_rounds_3k(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.rounds_3k) -} - -// optional uint32 rounds_4k = 12; -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_rounds_4k() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_rounds_4k() const { - return _internal_has_rounds_4k(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_rounds_4k() { - _impl_.rounds_4k_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_rounds_4k() const { - return _impl_.rounds_4k_; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::rounds_4k() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.rounds_4k) - return _internal_rounds_4k(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_rounds_4k(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.rounds_4k_ = value; -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_rounds_4k(uint32_t value) { - _internal_set_rounds_4k(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.rounds_4k) -} - -// optional uint32 rounds_5k = 13; -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_has_rounds_5k() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::has_rounds_5k() const { - return _internal_has_rounds_5k(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::clear_rounds_5k() { - _impl_.rounds_5k_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_rounds_5k() const { - return _impl_.rounds_5k_; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::rounds_5k() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.rounds_5k) - return _internal_rounds_5k(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::_internal_set_rounds_5k(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.rounds_5k_ = value; -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap::set_rounds_5k(uint32_t value) { - _internal_set_rounds_5k(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap.rounds_5k) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_PremierSeasonSummary - -// optional uint32 account_id = 1; -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary::has_account_id() const { - return _internal_has_account_id(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary::account_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.account_id) - return _internal_account_id(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.account_id_ = value; -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.account_id) -} - -// optional uint32 season_id = 2; -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_has_season_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PremierSeasonSummary::has_season_id() const { - return _internal_has_season_id(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary::clear_season_id() { - _impl_.season_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_season_id() const { - return _impl_.season_id_; -} -inline uint32_t CMsgGCCStrike15_v2_PremierSeasonSummary::season_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.season_id) - return _internal_season_id(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_set_season_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.season_id_ = value; -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary::set_season_id(uint32_t value) { - _internal_set_season_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PremierSeasonSummary.season_id) -} - -// repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerWeek data_per_week = 3; -inline int CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_data_per_week_size() const { - return _impl_.data_per_week_.size(); -} -inline int CMsgGCCStrike15_v2_PremierSeasonSummary::data_per_week_size() const { - return _internal_data_per_week_size(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary::clear_data_per_week() { - _impl_.data_per_week_.Clear(); -} -inline ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* CMsgGCCStrike15_v2_PremierSeasonSummary::mutable_data_per_week(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_week) - return _impl_.data_per_week_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek >* -CMsgGCCStrike15_v2_PremierSeasonSummary::mutable_data_per_week() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_week) - return &_impl_.data_per_week_; -} -inline const ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_data_per_week(int index) const { - return _impl_.data_per_week_.Get(index); -} -inline const ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek& CMsgGCCStrike15_v2_PremierSeasonSummary::data_per_week(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_week) - return _internal_data_per_week(index); -} -inline ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_add_data_per_week() { - return _impl_.data_per_week_.Add(); -} -inline ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* CMsgGCCStrike15_v2_PremierSeasonSummary::add_data_per_week() { - ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek* _add = _internal_add_data_per_week(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_week) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerWeek >& -CMsgGCCStrike15_v2_PremierSeasonSummary::data_per_week() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_week) - return _impl_.data_per_week_; -} - -// repeated .CMsgGCCStrike15_v2_PremierSeasonSummary.DataPerMap data_per_map = 4; -inline int CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_data_per_map_size() const { - return _impl_.data_per_map_.size(); -} -inline int CMsgGCCStrike15_v2_PremierSeasonSummary::data_per_map_size() const { - return _internal_data_per_map_size(); -} -inline void CMsgGCCStrike15_v2_PremierSeasonSummary::clear_data_per_map() { - _impl_.data_per_map_.Clear(); -} -inline ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* CMsgGCCStrike15_v2_PremierSeasonSummary::mutable_data_per_map(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_map) - return _impl_.data_per_map_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap >* -CMsgGCCStrike15_v2_PremierSeasonSummary::mutable_data_per_map() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_map) - return &_impl_.data_per_map_; -} -inline const ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_data_per_map(int index) const { - return _impl_.data_per_map_.Get(index); -} -inline const ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap& CMsgGCCStrike15_v2_PremierSeasonSummary::data_per_map(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_map) - return _internal_data_per_map(index); -} -inline ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* CMsgGCCStrike15_v2_PremierSeasonSummary::_internal_add_data_per_map() { - return _impl_.data_per_map_.Add(); -} -inline ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* CMsgGCCStrike15_v2_PremierSeasonSummary::add_data_per_map() { - ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap* _add = _internal_add_data_per_map(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_map) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_PremierSeasonSummary_DataPerMap >& -CMsgGCCStrike15_v2_PremierSeasonSummary::data_per_map() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_PremierSeasonSummary.data_per_map) - return _impl_.data_per_map_; -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate - -// optional uint64 caseid = 1; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_has_caseid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::has_caseid() const { - return _internal_has_caseid(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::clear_caseid() { - _impl_.caseid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_caseid() const { - return _impl_.caseid_; -} -inline uint64_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::caseid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.caseid) - return _internal_caseid(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_set_caseid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.caseid_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::set_caseid(uint64_t value) { - _internal_set_caseid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.caseid) -} - -// optional uint32 suspectid = 3; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_has_suspectid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::has_suspectid() const { - return _internal_has_suspectid(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::clear_suspectid() { - _impl_.suspectid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_suspectid() const { - return _impl_.suspectid_; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::suspectid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.suspectid) - return _internal_suspectid(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_set_suspectid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.suspectid_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::set_suspectid(uint32_t value) { - _internal_set_suspectid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.suspectid) -} - -// optional uint32 fractionid = 4; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_has_fractionid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::has_fractionid() const { - return _internal_has_fractionid(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::clear_fractionid() { - _impl_.fractionid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_fractionid() const { - return _impl_.fractionid_; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::fractionid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.fractionid) - return _internal_fractionid(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_set_fractionid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.fractionid_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::set_fractionid(uint32_t value) { - _internal_set_fractionid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.fractionid) -} - -// optional uint32 rpt_aimbot = 5; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_has_rpt_aimbot() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::has_rpt_aimbot() const { - return _internal_has_rpt_aimbot(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::clear_rpt_aimbot() { - _impl_.rpt_aimbot_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_rpt_aimbot() const { - return _impl_.rpt_aimbot_; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::rpt_aimbot() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.rpt_aimbot) - return _internal_rpt_aimbot(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_set_rpt_aimbot(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.rpt_aimbot_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::set_rpt_aimbot(uint32_t value) { - _internal_set_rpt_aimbot(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.rpt_aimbot) -} - -// optional uint32 rpt_wallhack = 6; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_has_rpt_wallhack() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::has_rpt_wallhack() const { - return _internal_has_rpt_wallhack(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::clear_rpt_wallhack() { - _impl_.rpt_wallhack_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_rpt_wallhack() const { - return _impl_.rpt_wallhack_; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::rpt_wallhack() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.rpt_wallhack) - return _internal_rpt_wallhack(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_set_rpt_wallhack(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.rpt_wallhack_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::set_rpt_wallhack(uint32_t value) { - _internal_set_rpt_wallhack(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.rpt_wallhack) -} - -// optional uint32 rpt_speedhack = 7; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_has_rpt_speedhack() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::has_rpt_speedhack() const { - return _internal_has_rpt_speedhack(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::clear_rpt_speedhack() { - _impl_.rpt_speedhack_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_rpt_speedhack() const { - return _impl_.rpt_speedhack_; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::rpt_speedhack() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.rpt_speedhack) - return _internal_rpt_speedhack(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_set_rpt_speedhack(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.rpt_speedhack_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::set_rpt_speedhack(uint32_t value) { - _internal_set_rpt_speedhack(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.rpt_speedhack) -} - -// optional uint32 rpt_teamharm = 8; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_has_rpt_teamharm() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::has_rpt_teamharm() const { - return _internal_has_rpt_teamharm(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::clear_rpt_teamharm() { - _impl_.rpt_teamharm_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_rpt_teamharm() const { - return _impl_.rpt_teamharm_; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::rpt_teamharm() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.rpt_teamharm) - return _internal_rpt_teamharm(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_set_rpt_teamharm(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.rpt_teamharm_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::set_rpt_teamharm(uint32_t value) { - _internal_set_rpt_teamharm(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.rpt_teamharm) -} - -// optional uint32 reason = 9; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_has_reason() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::has_reason() const { - return _internal_has_reason(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::clear_reason() { - _impl_.reason_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_reason() const { - return _impl_.reason_; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::reason() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.reason) - return _internal_reason(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::_internal_set_reason(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.reason_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate::set_reason(uint32_t value) { - _internal_set_reason(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseUpdate.reason) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment - -// optional uint64 caseid = 1; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_caseid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_caseid() const { - return _internal_has_caseid(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_caseid() { - _impl_.caseid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_caseid() const { - return _impl_.caseid_; -} -inline uint64_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::caseid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.caseid) - return _internal_caseid(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_caseid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.caseid_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_caseid(uint64_t value) { - _internal_set_caseid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.caseid) -} - -// optional string caseurl = 2; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_caseurl() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_caseurl() const { - return _internal_has_caseurl(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_caseurl() { - _impl_.caseurl_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::caseurl() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.caseurl) - return _internal_caseurl(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_caseurl(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.caseurl_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.caseurl) -} -inline std::string* CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::mutable_caseurl() { - std::string* _s = _internal_mutable_caseurl(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.caseurl) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_caseurl() const { - return _impl_.caseurl_.Get(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_caseurl(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.caseurl_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_mutable_caseurl() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.caseurl_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::release_caseurl() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.caseurl) - if (!_internal_has_caseurl()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.caseurl_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.caseurl_.IsDefault()) { - _impl_.caseurl_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_allocated_caseurl(std::string* caseurl) { - if (caseurl != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.caseurl_.SetAllocated(caseurl, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.caseurl_.IsDefault()) { - _impl_.caseurl_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.caseurl) -} - -// optional uint32 verdict = 3; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_verdict() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_verdict() const { - return _internal_has_verdict(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_verdict() { - _impl_.verdict_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_verdict() const { - return _impl_.verdict_; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::verdict() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.verdict) - return _internal_verdict(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_verdict(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.verdict_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_verdict(uint32_t value) { - _internal_set_verdict(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.verdict) -} - -// optional uint32 timestamp = 4; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_timestamp() const { - return _internal_has_timestamp(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_timestamp() { - _impl_.timestamp_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_timestamp() const { - return _impl_.timestamp_; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::timestamp() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.timestamp) - return _internal_timestamp(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_timestamp(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.timestamp_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_timestamp(uint32_t value) { - _internal_set_timestamp(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.timestamp) -} - -// optional uint32 throttleseconds = 5; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_throttleseconds() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_throttleseconds() const { - return _internal_has_throttleseconds(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_throttleseconds() { - _impl_.throttleseconds_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_throttleseconds() const { - return _impl_.throttleseconds_; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::throttleseconds() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.throttleseconds) - return _internal_throttleseconds(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_throttleseconds(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.throttleseconds_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_throttleseconds(uint32_t value) { - _internal_set_throttleseconds(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.throttleseconds) -} - -// optional uint32 suspectid = 6; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_suspectid() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_suspectid() const { - return _internal_has_suspectid(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_suspectid() { - _impl_.suspectid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_suspectid() const { - return _impl_.suspectid_; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::suspectid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.suspectid) - return _internal_suspectid(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_suspectid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.suspectid_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_suspectid(uint32_t value) { - _internal_set_suspectid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.suspectid) -} - -// optional uint32 fractionid = 7; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_fractionid() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_fractionid() const { - return _internal_has_fractionid(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_fractionid() { - _impl_.fractionid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_fractionid() const { - return _impl_.fractionid_; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::fractionid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.fractionid) - return _internal_fractionid(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_fractionid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.fractionid_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_fractionid(uint32_t value) { - _internal_set_fractionid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.fractionid) -} - -// optional uint32 numrounds = 8; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_numrounds() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_numrounds() const { - return _internal_has_numrounds(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_numrounds() { - _impl_.numrounds_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_numrounds() const { - return _impl_.numrounds_; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::numrounds() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.numrounds) - return _internal_numrounds(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_numrounds(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.numrounds_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_numrounds(uint32_t value) { - _internal_set_numrounds(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.numrounds) -} - -// optional uint32 fractionrounds = 9; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_fractionrounds() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_fractionrounds() const { - return _internal_has_fractionrounds(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_fractionrounds() { - _impl_.fractionrounds_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_fractionrounds() const { - return _impl_.fractionrounds_; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::fractionrounds() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.fractionrounds) - return _internal_fractionrounds(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_fractionrounds(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.fractionrounds_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_fractionrounds(uint32_t value) { - _internal_set_fractionrounds(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.fractionrounds) -} - -// optional int32 streakconvictions = 10; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_streakconvictions() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_streakconvictions() const { - return _internal_has_streakconvictions(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_streakconvictions() { - _impl_.streakconvictions_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline int32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_streakconvictions() const { - return _impl_.streakconvictions_; -} -inline int32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::streakconvictions() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.streakconvictions) - return _internal_streakconvictions(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_streakconvictions(int32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.streakconvictions_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_streakconvictions(int32_t value) { - _internal_set_streakconvictions(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.streakconvictions) -} - -// optional uint32 reason = 11; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_has_reason() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::has_reason() const { - return _internal_has_reason(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::clear_reason() { - _impl_.reason_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_reason() const { - return _impl_.reason_; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::reason() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.reason) - return _internal_reason(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::_internal_set_reason(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.reason_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment::set_reason(uint32_t value) { - _internal_set_reason(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseAssignment.reason) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus - -// optional uint64 caseid = 1; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_internal_has_caseid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::has_caseid() const { - return _internal_has_caseid(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::clear_caseid() { - _impl_.caseid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_internal_caseid() const { - return _impl_.caseid_; -} -inline uint64_t CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::caseid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus.caseid) - return _internal_caseid(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_internal_set_caseid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.caseid_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::set_caseid(uint64_t value) { - _internal_set_caseid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus.caseid) -} - -// optional uint32 statusid = 2; -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_internal_has_statusid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::has_statusid() const { - return _internal_has_statusid(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::clear_statusid() { - _impl_.statusid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_internal_statusid() const { - return _impl_.statusid_; -} -inline uint32_t CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::statusid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus.statusid) - return _internal_statusid(); -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::_internal_set_statusid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.statusid_ = value; -} -inline void CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus::set_statusid(uint32_t value) { - _internal_set_statusid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_PlayerOverwatchCaseStatus.statusid) -} - -// ------------------------------------------------------------------- - -// CClientHeaderOverwatchEvidence - -// optional uint32 accountid = 1; -inline bool CClientHeaderOverwatchEvidence::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CClientHeaderOverwatchEvidence::has_accountid() const { - return _internal_has_accountid(); -} -inline void CClientHeaderOverwatchEvidence::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CClientHeaderOverwatchEvidence::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t CClientHeaderOverwatchEvidence::accountid() const { - // @@protoc_insertion_point(field_get:CClientHeaderOverwatchEvidence.accountid) - return _internal_accountid(); -} -inline void CClientHeaderOverwatchEvidence::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.accountid_ = value; -} -inline void CClientHeaderOverwatchEvidence::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:CClientHeaderOverwatchEvidence.accountid) -} - -// optional uint64 caseid = 2; -inline bool CClientHeaderOverwatchEvidence::_internal_has_caseid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CClientHeaderOverwatchEvidence::has_caseid() const { - return _internal_has_caseid(); -} -inline void CClientHeaderOverwatchEvidence::clear_caseid() { - _impl_.caseid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CClientHeaderOverwatchEvidence::_internal_caseid() const { - return _impl_.caseid_; -} -inline uint64_t CClientHeaderOverwatchEvidence::caseid() const { - // @@protoc_insertion_point(field_get:CClientHeaderOverwatchEvidence.caseid) - return _internal_caseid(); -} -inline void CClientHeaderOverwatchEvidence::_internal_set_caseid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.caseid_ = value; -} -inline void CClientHeaderOverwatchEvidence::set_caseid(uint64_t value) { - _internal_set_caseid(value); - // @@protoc_insertion_point(field_set:CClientHeaderOverwatchEvidence.caseid) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_GC2ClientTextMsg - -// optional uint32 id = 1; -inline bool CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientTextMsg::has_id() const { - return _internal_has_id(); -} -inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::clear_id() { - _impl_.id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_id() const { - return _impl_.id_; -} -inline uint32_t CMsgGCCStrike15_v2_GC2ClientTextMsg::id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientTextMsg.id) - return _internal_id(); -} -inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_set_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.id_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::set_id(uint32_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientTextMsg.id) -} - -// optional uint32 type = 2; -inline bool CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientTextMsg::has_type() const { - return _internal_has_type(); -} -inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::clear_type() { - _impl_.type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_type() const { - return _impl_.type_; -} -inline uint32_t CMsgGCCStrike15_v2_GC2ClientTextMsg::type() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientTextMsg.type) - return _internal_type(); -} -inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_set_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.type_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::set_type(uint32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientTextMsg.type) -} - -// optional bytes payload = 3; -inline bool CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_has_payload() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientTextMsg::has_payload() const { - return _internal_has_payload(); -} -inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::clear_payload() { - _impl_.payload_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientTextMsg::payload() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientTextMsg.payload) - return _internal_payload(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_GC2ClientTextMsg::set_payload(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.payload_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientTextMsg.payload) -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientTextMsg::mutable_payload() { - std::string* _s = _internal_mutable_payload(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientTextMsg.payload) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_payload() const { - return _impl_.payload_.Get(); -} -inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_set_payload(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.payload_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientTextMsg::_internal_mutable_payload() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.payload_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientTextMsg::release_payload() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientTextMsg.payload) - if (!_internal_has_payload()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.payload_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.payload_.IsDefault()) { - _impl_.payload_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_GC2ClientTextMsg::set_allocated_payload(std::string* payload) { - if (payload != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.payload_.SetAllocated(payload, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.payload_.IsDefault()) { - _impl_.payload_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientTextMsg.payload) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Client2GCTextMsg - -// optional uint32 id = 1; -inline bool CMsgGCCStrike15_v2_Client2GCTextMsg::_internal_has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Client2GCTextMsg::has_id() const { - return _internal_has_id(); -} -inline void CMsgGCCStrike15_v2_Client2GCTextMsg::clear_id() { - _impl_.id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_Client2GCTextMsg::_internal_id() const { - return _impl_.id_; -} -inline uint32_t CMsgGCCStrike15_v2_Client2GCTextMsg::id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCTextMsg.id) - return _internal_id(); -} -inline void CMsgGCCStrike15_v2_Client2GCTextMsg::_internal_set_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.id_ = value; -} -inline void CMsgGCCStrike15_v2_Client2GCTextMsg::set_id(uint32_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCTextMsg.id) -} - -// repeated bytes args = 2; -inline int CMsgGCCStrike15_v2_Client2GCTextMsg::_internal_args_size() const { - return _impl_.args_.size(); -} -inline int CMsgGCCStrike15_v2_Client2GCTextMsg::args_size() const { - return _internal_args_size(); -} -inline void CMsgGCCStrike15_v2_Client2GCTextMsg::clear_args() { - _impl_.args_.Clear(); -} -inline std::string* CMsgGCCStrike15_v2_Client2GCTextMsg::add_args() { - std::string* _s = _internal_add_args(); - // @@protoc_insertion_point(field_add_mutable:CMsgGCCStrike15_v2_Client2GCTextMsg.args) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_Client2GCTextMsg::_internal_args(int index) const { - return _impl_.args_.Get(index); -} -inline const std::string& CMsgGCCStrike15_v2_Client2GCTextMsg::args(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCTextMsg.args) - return _internal_args(index); -} -inline std::string* CMsgGCCStrike15_v2_Client2GCTextMsg::mutable_args(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_Client2GCTextMsg.args) - return _impl_.args_.Mutable(index); -} -inline void CMsgGCCStrike15_v2_Client2GCTextMsg::set_args(int index, const std::string& value) { - _impl_.args_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCTextMsg.args) -} -inline void CMsgGCCStrike15_v2_Client2GCTextMsg::set_args(int index, std::string&& value) { - _impl_.args_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCTextMsg.args) -} -inline void CMsgGCCStrike15_v2_Client2GCTextMsg::set_args(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.args_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CMsgGCCStrike15_v2_Client2GCTextMsg.args) -} -inline void CMsgGCCStrike15_v2_Client2GCTextMsg::set_args(int index, const void* value, size_t size) { - _impl_.args_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CMsgGCCStrike15_v2_Client2GCTextMsg.args) -} -inline std::string* CMsgGCCStrike15_v2_Client2GCTextMsg::_internal_add_args() { - return _impl_.args_.Add(); -} -inline void CMsgGCCStrike15_v2_Client2GCTextMsg::add_args(const std::string& value) { - _impl_.args_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_Client2GCTextMsg.args) -} -inline void CMsgGCCStrike15_v2_Client2GCTextMsg::add_args(std::string&& value) { - _impl_.args_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_Client2GCTextMsg.args) -} -inline void CMsgGCCStrike15_v2_Client2GCTextMsg::add_args(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.args_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CMsgGCCStrike15_v2_Client2GCTextMsg.args) -} -inline void CMsgGCCStrike15_v2_Client2GCTextMsg::add_args(const void* value, size_t size) { - _impl_.args_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CMsgGCCStrike15_v2_Client2GCTextMsg.args) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CMsgGCCStrike15_v2_Client2GCTextMsg::args() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_Client2GCTextMsg.args) - return _impl_.args_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CMsgGCCStrike15_v2_Client2GCTextMsg::mutable_args() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_Client2GCTextMsg.args) - return &_impl_.args_; -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchEndRunRewardDrops - -// optional .CMsgGCCStrike15_v2_MatchmakingServerReservationResponse serverinfo = 3; -inline bool CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_internal_has_serverinfo() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.serverinfo_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchEndRunRewardDrops::has_serverinfo() const { - return _internal_has_serverinfo(); -} -inline void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::clear_serverinfo() { - if (_impl_.serverinfo_ != nullptr) _impl_.serverinfo_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_internal_serverinfo() const { - const ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* p = _impl_.serverinfo_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgGCCStrike15_v2_MatchmakingServerReservationResponse_default_instance_); -} -inline const ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse& CMsgGCCStrike15_v2_MatchEndRunRewardDrops::serverinfo() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.serverinfo) - return _internal_serverinfo(); -} -inline void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::unsafe_arena_set_allocated_serverinfo( - ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* serverinfo) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.serverinfo_); - } - _impl_.serverinfo_ = serverinfo; - if (serverinfo) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.serverinfo) -} -inline ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::release_serverinfo() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* temp = _impl_.serverinfo_; - _impl_.serverinfo_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::unsafe_arena_release_serverinfo() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.serverinfo) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* temp = _impl_.serverinfo_; - _impl_.serverinfo_ = nullptr; - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_internal_mutable_serverinfo() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.serverinfo_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse>(GetArenaForAllocation()); - _impl_.serverinfo_ = p; - } - return _impl_.serverinfo_; -} -inline ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::mutable_serverinfo() { - ::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* _msg = _internal_mutable_serverinfo(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.serverinfo) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::set_allocated_serverinfo(::CMsgGCCStrike15_v2_MatchmakingServerReservationResponse* serverinfo) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.serverinfo_; - } - if (serverinfo) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(serverinfo); - if (message_arena != submessage_arena) { - serverinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, serverinfo, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.serverinfo_ = serverinfo; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.serverinfo) -} - -// optional .CMsgGC_ServerQuestUpdateData match_end_quest_data = 4; -inline bool CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_internal_has_match_end_quest_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.match_end_quest_data_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchEndRunRewardDrops::has_match_end_quest_data() const { - return _internal_has_match_end_quest_data(); -} -inline void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::clear_match_end_quest_data() { - if (_impl_.match_end_quest_data_ != nullptr) _impl_.match_end_quest_data_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CMsgGC_ServerQuestUpdateData& CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_internal_match_end_quest_data() const { - const ::CMsgGC_ServerQuestUpdateData* p = _impl_.match_end_quest_data_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgGC_ServerQuestUpdateData_default_instance_); -} -inline const ::CMsgGC_ServerQuestUpdateData& CMsgGCCStrike15_v2_MatchEndRunRewardDrops::match_end_quest_data() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.match_end_quest_data) - return _internal_match_end_quest_data(); -} -inline void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::unsafe_arena_set_allocated_match_end_quest_data( - ::CMsgGC_ServerQuestUpdateData* match_end_quest_data) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.match_end_quest_data_); - } - _impl_.match_end_quest_data_ = match_end_quest_data; - if (match_end_quest_data) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.match_end_quest_data) -} -inline ::CMsgGC_ServerQuestUpdateData* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::release_match_end_quest_data() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgGC_ServerQuestUpdateData* temp = _impl_.match_end_quest_data_; - _impl_.match_end_quest_data_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgGC_ServerQuestUpdateData* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::unsafe_arena_release_match_end_quest_data() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.match_end_quest_data) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgGC_ServerQuestUpdateData* temp = _impl_.match_end_quest_data_; - _impl_.match_end_quest_data_ = nullptr; - return temp; -} -inline ::CMsgGC_ServerQuestUpdateData* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::_internal_mutable_match_end_quest_data() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.match_end_quest_data_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgGC_ServerQuestUpdateData>(GetArenaForAllocation()); - _impl_.match_end_quest_data_ = p; - } - return _impl_.match_end_quest_data_; -} -inline ::CMsgGC_ServerQuestUpdateData* CMsgGCCStrike15_v2_MatchEndRunRewardDrops::mutable_match_end_quest_data() { - ::CMsgGC_ServerQuestUpdateData* _msg = _internal_mutable_match_end_quest_data(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.match_end_quest_data) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchEndRunRewardDrops::set_allocated_match_end_quest_data(::CMsgGC_ServerQuestUpdateData* match_end_quest_data) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.match_end_quest_data_; - } - if (match_end_quest_data) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(match_end_quest_data); - if (message_arena != submessage_arena) { - match_end_quest_data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, match_end_quest_data, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.match_end_quest_data_ = match_end_quest_data; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchEndRunRewardDrops.match_end_quest_data) -} - -// ------------------------------------------------------------------- - -// CEconItemPreviewDataBlock_Sticker - -// optional uint32 slot = 1; -inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock_Sticker::has_slot() const { - return _internal_has_slot(); -} -inline void CEconItemPreviewDataBlock_Sticker::clear_slot() { - _impl_.slot_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CEconItemPreviewDataBlock_Sticker::_internal_slot() const { - return _impl_.slot_; -} -inline uint32_t CEconItemPreviewDataBlock_Sticker::slot() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.slot) - return _internal_slot(); -} -inline void CEconItemPreviewDataBlock_Sticker::_internal_set_slot(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.slot_ = value; -} -inline void CEconItemPreviewDataBlock_Sticker::set_slot(uint32_t value) { - _internal_set_slot(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.slot) -} - -// optional uint32 sticker_id = 2; -inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_sticker_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock_Sticker::has_sticker_id() const { - return _internal_has_sticker_id(); -} -inline void CEconItemPreviewDataBlock_Sticker::clear_sticker_id() { - _impl_.sticker_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CEconItemPreviewDataBlock_Sticker::_internal_sticker_id() const { - return _impl_.sticker_id_; -} -inline uint32_t CEconItemPreviewDataBlock_Sticker::sticker_id() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.sticker_id) - return _internal_sticker_id(); -} -inline void CEconItemPreviewDataBlock_Sticker::_internal_set_sticker_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.sticker_id_ = value; -} -inline void CEconItemPreviewDataBlock_Sticker::set_sticker_id(uint32_t value) { - _internal_set_sticker_id(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.sticker_id) -} - -// optional float wear = 3; -inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_wear() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock_Sticker::has_wear() const { - return _internal_has_wear(); -} -inline void CEconItemPreviewDataBlock_Sticker::clear_wear() { - _impl_.wear_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CEconItemPreviewDataBlock_Sticker::_internal_wear() const { - return _impl_.wear_; -} -inline float CEconItemPreviewDataBlock_Sticker::wear() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.wear) - return _internal_wear(); -} -inline void CEconItemPreviewDataBlock_Sticker::_internal_set_wear(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.wear_ = value; -} -inline void CEconItemPreviewDataBlock_Sticker::set_wear(float value) { - _internal_set_wear(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.wear) -} - -// optional float scale = 4; -inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_scale() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock_Sticker::has_scale() const { - return _internal_has_scale(); -} -inline void CEconItemPreviewDataBlock_Sticker::clear_scale() { - _impl_.scale_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CEconItemPreviewDataBlock_Sticker::_internal_scale() const { - return _impl_.scale_; -} -inline float CEconItemPreviewDataBlock_Sticker::scale() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.scale) - return _internal_scale(); -} -inline void CEconItemPreviewDataBlock_Sticker::_internal_set_scale(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.scale_ = value; -} -inline void CEconItemPreviewDataBlock_Sticker::set_scale(float value) { - _internal_set_scale(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.scale) -} - -// optional float rotation = 5; -inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_rotation() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock_Sticker::has_rotation() const { - return _internal_has_rotation(); -} -inline void CEconItemPreviewDataBlock_Sticker::clear_rotation() { - _impl_.rotation_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float CEconItemPreviewDataBlock_Sticker::_internal_rotation() const { - return _impl_.rotation_; -} -inline float CEconItemPreviewDataBlock_Sticker::rotation() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.rotation) - return _internal_rotation(); -} -inline void CEconItemPreviewDataBlock_Sticker::_internal_set_rotation(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.rotation_ = value; -} -inline void CEconItemPreviewDataBlock_Sticker::set_rotation(float value) { - _internal_set_rotation(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.rotation) -} - -// optional uint32 tint_id = 6; -inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_tint_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock_Sticker::has_tint_id() const { - return _internal_has_tint_id(); -} -inline void CEconItemPreviewDataBlock_Sticker::clear_tint_id() { - _impl_.tint_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CEconItemPreviewDataBlock_Sticker::_internal_tint_id() const { - return _impl_.tint_id_; -} -inline uint32_t CEconItemPreviewDataBlock_Sticker::tint_id() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.tint_id) - return _internal_tint_id(); -} -inline void CEconItemPreviewDataBlock_Sticker::_internal_set_tint_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.tint_id_ = value; -} -inline void CEconItemPreviewDataBlock_Sticker::set_tint_id(uint32_t value) { - _internal_set_tint_id(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.tint_id) -} - -// optional float offset_x = 7; -inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_offset_x() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock_Sticker::has_offset_x() const { - return _internal_has_offset_x(); -} -inline void CEconItemPreviewDataBlock_Sticker::clear_offset_x() { - _impl_.offset_x_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline float CEconItemPreviewDataBlock_Sticker::_internal_offset_x() const { - return _impl_.offset_x_; -} -inline float CEconItemPreviewDataBlock_Sticker::offset_x() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.offset_x) - return _internal_offset_x(); -} -inline void CEconItemPreviewDataBlock_Sticker::_internal_set_offset_x(float value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.offset_x_ = value; -} -inline void CEconItemPreviewDataBlock_Sticker::set_offset_x(float value) { - _internal_set_offset_x(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.offset_x) -} - -// optional float offset_y = 8; -inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_offset_y() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock_Sticker::has_offset_y() const { - return _internal_has_offset_y(); -} -inline void CEconItemPreviewDataBlock_Sticker::clear_offset_y() { - _impl_.offset_y_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline float CEconItemPreviewDataBlock_Sticker::_internal_offset_y() const { - return _impl_.offset_y_; -} -inline float CEconItemPreviewDataBlock_Sticker::offset_y() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.offset_y) - return _internal_offset_y(); -} -inline void CEconItemPreviewDataBlock_Sticker::_internal_set_offset_y(float value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.offset_y_ = value; -} -inline void CEconItemPreviewDataBlock_Sticker::set_offset_y(float value) { - _internal_set_offset_y(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.offset_y) -} - -// optional float offset_z = 9; -inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_offset_z() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock_Sticker::has_offset_z() const { - return _internal_has_offset_z(); -} -inline void CEconItemPreviewDataBlock_Sticker::clear_offset_z() { - _impl_.offset_z_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline float CEconItemPreviewDataBlock_Sticker::_internal_offset_z() const { - return _impl_.offset_z_; -} -inline float CEconItemPreviewDataBlock_Sticker::offset_z() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.offset_z) - return _internal_offset_z(); -} -inline void CEconItemPreviewDataBlock_Sticker::_internal_set_offset_z(float value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.offset_z_ = value; -} -inline void CEconItemPreviewDataBlock_Sticker::set_offset_z(float value) { - _internal_set_offset_z(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.offset_z) -} - -// optional uint32 pattern = 10; -inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_pattern() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock_Sticker::has_pattern() const { - return _internal_has_pattern(); -} -inline void CEconItemPreviewDataBlock_Sticker::clear_pattern() { - _impl_.pattern_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CEconItemPreviewDataBlock_Sticker::_internal_pattern() const { - return _impl_.pattern_; -} -inline uint32_t CEconItemPreviewDataBlock_Sticker::pattern() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.pattern) - return _internal_pattern(); -} -inline void CEconItemPreviewDataBlock_Sticker::_internal_set_pattern(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.pattern_ = value; -} -inline void CEconItemPreviewDataBlock_Sticker::set_pattern(uint32_t value) { - _internal_set_pattern(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.pattern) -} - -// optional uint32 highlight_reel = 11; -inline bool CEconItemPreviewDataBlock_Sticker::_internal_has_highlight_reel() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock_Sticker::has_highlight_reel() const { - return _internal_has_highlight_reel(); -} -inline void CEconItemPreviewDataBlock_Sticker::clear_highlight_reel() { - _impl_.highlight_reel_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CEconItemPreviewDataBlock_Sticker::_internal_highlight_reel() const { - return _impl_.highlight_reel_; -} -inline uint32_t CEconItemPreviewDataBlock_Sticker::highlight_reel() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.Sticker.highlight_reel) - return _internal_highlight_reel(); -} -inline void CEconItemPreviewDataBlock_Sticker::_internal_set_highlight_reel(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.highlight_reel_ = value; -} -inline void CEconItemPreviewDataBlock_Sticker::set_highlight_reel(uint32_t value) { - _internal_set_highlight_reel(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.Sticker.highlight_reel) -} - -// ------------------------------------------------------------------- - -// CEconItemPreviewDataBlock - -// optional uint32 accountid = 1; -inline bool CEconItemPreviewDataBlock::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_accountid() const { - return _internal_has_accountid(); -} -inline void CEconItemPreviewDataBlock::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CEconItemPreviewDataBlock::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t CEconItemPreviewDataBlock::accountid() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.accountid) - return _internal_accountid(); -} -inline void CEconItemPreviewDataBlock::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.accountid_ = value; -} -inline void CEconItemPreviewDataBlock::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.accountid) -} - -// optional uint64 itemid = 2; -inline bool CEconItemPreviewDataBlock::_internal_has_itemid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_itemid() const { - return _internal_has_itemid(); -} -inline void CEconItemPreviewDataBlock::clear_itemid() { - _impl_.itemid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CEconItemPreviewDataBlock::_internal_itemid() const { - return _impl_.itemid_; -} -inline uint64_t CEconItemPreviewDataBlock::itemid() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.itemid) - return _internal_itemid(); -} -inline void CEconItemPreviewDataBlock::_internal_set_itemid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.itemid_ = value; -} -inline void CEconItemPreviewDataBlock::set_itemid(uint64_t value) { - _internal_set_itemid(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.itemid) -} - -// optional uint32 defindex = 3; -inline bool CEconItemPreviewDataBlock::_internal_has_defindex() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_defindex() const { - return _internal_has_defindex(); -} -inline void CEconItemPreviewDataBlock::clear_defindex() { - _impl_.defindex_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CEconItemPreviewDataBlock::_internal_defindex() const { - return _impl_.defindex_; -} -inline uint32_t CEconItemPreviewDataBlock::defindex() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.defindex) - return _internal_defindex(); -} -inline void CEconItemPreviewDataBlock::_internal_set_defindex(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.defindex_ = value; -} -inline void CEconItemPreviewDataBlock::set_defindex(uint32_t value) { - _internal_set_defindex(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.defindex) -} - -// optional uint32 paintindex = 4; -inline bool CEconItemPreviewDataBlock::_internal_has_paintindex() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_paintindex() const { - return _internal_has_paintindex(); -} -inline void CEconItemPreviewDataBlock::clear_paintindex() { - _impl_.paintindex_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CEconItemPreviewDataBlock::_internal_paintindex() const { - return _impl_.paintindex_; -} -inline uint32_t CEconItemPreviewDataBlock::paintindex() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.paintindex) - return _internal_paintindex(); -} -inline void CEconItemPreviewDataBlock::_internal_set_paintindex(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.paintindex_ = value; -} -inline void CEconItemPreviewDataBlock::set_paintindex(uint32_t value) { - _internal_set_paintindex(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.paintindex) -} - -// optional uint32 rarity = 5; -inline bool CEconItemPreviewDataBlock::_internal_has_rarity() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_rarity() const { - return _internal_has_rarity(); -} -inline void CEconItemPreviewDataBlock::clear_rarity() { - _impl_.rarity_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CEconItemPreviewDataBlock::_internal_rarity() const { - return _impl_.rarity_; -} -inline uint32_t CEconItemPreviewDataBlock::rarity() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.rarity) - return _internal_rarity(); -} -inline void CEconItemPreviewDataBlock::_internal_set_rarity(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.rarity_ = value; -} -inline void CEconItemPreviewDataBlock::set_rarity(uint32_t value) { - _internal_set_rarity(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.rarity) -} - -// optional uint32 quality = 6; -inline bool CEconItemPreviewDataBlock::_internal_has_quality() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_quality() const { - return _internal_has_quality(); -} -inline void CEconItemPreviewDataBlock::clear_quality() { - _impl_.quality_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CEconItemPreviewDataBlock::_internal_quality() const { - return _impl_.quality_; -} -inline uint32_t CEconItemPreviewDataBlock::quality() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.quality) - return _internal_quality(); -} -inline void CEconItemPreviewDataBlock::_internal_set_quality(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.quality_ = value; -} -inline void CEconItemPreviewDataBlock::set_quality(uint32_t value) { - _internal_set_quality(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.quality) -} - -// optional uint32 paintwear = 7; -inline bool CEconItemPreviewDataBlock::_internal_has_paintwear() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_paintwear() const { - return _internal_has_paintwear(); -} -inline void CEconItemPreviewDataBlock::clear_paintwear() { - _impl_.paintwear_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CEconItemPreviewDataBlock::_internal_paintwear() const { - return _impl_.paintwear_; -} -inline uint32_t CEconItemPreviewDataBlock::paintwear() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.paintwear) - return _internal_paintwear(); -} -inline void CEconItemPreviewDataBlock::_internal_set_paintwear(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.paintwear_ = value; -} -inline void CEconItemPreviewDataBlock::set_paintwear(uint32_t value) { - _internal_set_paintwear(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.paintwear) -} - -// optional uint32 paintseed = 8; -inline bool CEconItemPreviewDataBlock::_internal_has_paintseed() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_paintseed() const { - return _internal_has_paintseed(); -} -inline void CEconItemPreviewDataBlock::clear_paintseed() { - _impl_.paintseed_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CEconItemPreviewDataBlock::_internal_paintseed() const { - return _impl_.paintseed_; -} -inline uint32_t CEconItemPreviewDataBlock::paintseed() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.paintseed) - return _internal_paintseed(); -} -inline void CEconItemPreviewDataBlock::_internal_set_paintseed(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.paintseed_ = value; -} -inline void CEconItemPreviewDataBlock::set_paintseed(uint32_t value) { - _internal_set_paintseed(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.paintseed) -} - -// optional uint32 killeaterscoretype = 9; -inline bool CEconItemPreviewDataBlock::_internal_has_killeaterscoretype() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_killeaterscoretype() const { - return _internal_has_killeaterscoretype(); -} -inline void CEconItemPreviewDataBlock::clear_killeaterscoretype() { - _impl_.killeaterscoretype_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CEconItemPreviewDataBlock::_internal_killeaterscoretype() const { - return _impl_.killeaterscoretype_; -} -inline uint32_t CEconItemPreviewDataBlock::killeaterscoretype() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.killeaterscoretype) - return _internal_killeaterscoretype(); -} -inline void CEconItemPreviewDataBlock::_internal_set_killeaterscoretype(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.killeaterscoretype_ = value; -} -inline void CEconItemPreviewDataBlock::set_killeaterscoretype(uint32_t value) { - _internal_set_killeaterscoretype(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.killeaterscoretype) -} - -// optional uint32 killeatervalue = 10; -inline bool CEconItemPreviewDataBlock::_internal_has_killeatervalue() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_killeatervalue() const { - return _internal_has_killeatervalue(); -} -inline void CEconItemPreviewDataBlock::clear_killeatervalue() { - _impl_.killeatervalue_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CEconItemPreviewDataBlock::_internal_killeatervalue() const { - return _impl_.killeatervalue_; -} -inline uint32_t CEconItemPreviewDataBlock::killeatervalue() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.killeatervalue) - return _internal_killeatervalue(); -} -inline void CEconItemPreviewDataBlock::_internal_set_killeatervalue(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.killeatervalue_ = value; -} -inline void CEconItemPreviewDataBlock::set_killeatervalue(uint32_t value) { - _internal_set_killeatervalue(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.killeatervalue) -} - -// optional string customname = 11; -inline bool CEconItemPreviewDataBlock::_internal_has_customname() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_customname() const { - return _internal_has_customname(); -} -inline void CEconItemPreviewDataBlock::clear_customname() { - _impl_.customname_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CEconItemPreviewDataBlock::customname() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.customname) - return _internal_customname(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CEconItemPreviewDataBlock::set_customname(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.customname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.customname) -} -inline std::string* CEconItemPreviewDataBlock::mutable_customname() { - std::string* _s = _internal_mutable_customname(); - // @@protoc_insertion_point(field_mutable:CEconItemPreviewDataBlock.customname) - return _s; -} -inline const std::string& CEconItemPreviewDataBlock::_internal_customname() const { - return _impl_.customname_.Get(); -} -inline void CEconItemPreviewDataBlock::_internal_set_customname(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.customname_.Set(value, GetArenaForAllocation()); -} -inline std::string* CEconItemPreviewDataBlock::_internal_mutable_customname() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.customname_.Mutable(GetArenaForAllocation()); -} -inline std::string* CEconItemPreviewDataBlock::release_customname() { - // @@protoc_insertion_point(field_release:CEconItemPreviewDataBlock.customname) - if (!_internal_has_customname()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.customname_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.customname_.IsDefault()) { - _impl_.customname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CEconItemPreviewDataBlock::set_allocated_customname(std::string* customname) { - if (customname != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.customname_.SetAllocated(customname, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.customname_.IsDefault()) { - _impl_.customname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CEconItemPreviewDataBlock.customname) -} - -// repeated .CEconItemPreviewDataBlock.Sticker stickers = 12; -inline int CEconItemPreviewDataBlock::_internal_stickers_size() const { - return _impl_.stickers_.size(); -} -inline int CEconItemPreviewDataBlock::stickers_size() const { - return _internal_stickers_size(); -} -inline void CEconItemPreviewDataBlock::clear_stickers() { - _impl_.stickers_.Clear(); -} -inline ::CEconItemPreviewDataBlock_Sticker* CEconItemPreviewDataBlock::mutable_stickers(int index) { - // @@protoc_insertion_point(field_mutable:CEconItemPreviewDataBlock.stickers) - return _impl_.stickers_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >* -CEconItemPreviewDataBlock::mutable_stickers() { - // @@protoc_insertion_point(field_mutable_list:CEconItemPreviewDataBlock.stickers) - return &_impl_.stickers_; -} -inline const ::CEconItemPreviewDataBlock_Sticker& CEconItemPreviewDataBlock::_internal_stickers(int index) const { - return _impl_.stickers_.Get(index); -} -inline const ::CEconItemPreviewDataBlock_Sticker& CEconItemPreviewDataBlock::stickers(int index) const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.stickers) - return _internal_stickers(index); -} -inline ::CEconItemPreviewDataBlock_Sticker* CEconItemPreviewDataBlock::_internal_add_stickers() { - return _impl_.stickers_.Add(); -} -inline ::CEconItemPreviewDataBlock_Sticker* CEconItemPreviewDataBlock::add_stickers() { - ::CEconItemPreviewDataBlock_Sticker* _add = _internal_add_stickers(); - // @@protoc_insertion_point(field_add:CEconItemPreviewDataBlock.stickers) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >& -CEconItemPreviewDataBlock::stickers() const { - // @@protoc_insertion_point(field_list:CEconItemPreviewDataBlock.stickers) - return _impl_.stickers_; -} - -// optional uint32 inventory = 13; -inline bool CEconItemPreviewDataBlock::_internal_has_inventory() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_inventory() const { - return _internal_has_inventory(); -} -inline void CEconItemPreviewDataBlock::clear_inventory() { - _impl_.inventory_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CEconItemPreviewDataBlock::_internal_inventory() const { - return _impl_.inventory_; -} -inline uint32_t CEconItemPreviewDataBlock::inventory() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.inventory) - return _internal_inventory(); -} -inline void CEconItemPreviewDataBlock::_internal_set_inventory(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.inventory_ = value; -} -inline void CEconItemPreviewDataBlock::set_inventory(uint32_t value) { - _internal_set_inventory(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.inventory) -} - -// optional uint32 origin = 14; -inline bool CEconItemPreviewDataBlock::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_origin() const { - return _internal_has_origin(); -} -inline void CEconItemPreviewDataBlock::clear_origin() { - _impl_.origin_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CEconItemPreviewDataBlock::_internal_origin() const { - return _impl_.origin_; -} -inline uint32_t CEconItemPreviewDataBlock::origin() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.origin) - return _internal_origin(); -} -inline void CEconItemPreviewDataBlock::_internal_set_origin(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.origin_ = value; -} -inline void CEconItemPreviewDataBlock::set_origin(uint32_t value) { - _internal_set_origin(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.origin) -} - -// optional uint32 questid = 15; -inline bool CEconItemPreviewDataBlock::_internal_has_questid() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_questid() const { - return _internal_has_questid(); -} -inline void CEconItemPreviewDataBlock::clear_questid() { - _impl_.questid_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CEconItemPreviewDataBlock::_internal_questid() const { - return _impl_.questid_; -} -inline uint32_t CEconItemPreviewDataBlock::questid() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.questid) - return _internal_questid(); -} -inline void CEconItemPreviewDataBlock::_internal_set_questid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.questid_ = value; -} -inline void CEconItemPreviewDataBlock::set_questid(uint32_t value) { - _internal_set_questid(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.questid) -} - -// optional uint32 dropreason = 16; -inline bool CEconItemPreviewDataBlock::_internal_has_dropreason() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_dropreason() const { - return _internal_has_dropreason(); -} -inline void CEconItemPreviewDataBlock::clear_dropreason() { - _impl_.dropreason_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CEconItemPreviewDataBlock::_internal_dropreason() const { - return _impl_.dropreason_; -} -inline uint32_t CEconItemPreviewDataBlock::dropreason() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.dropreason) - return _internal_dropreason(); -} -inline void CEconItemPreviewDataBlock::_internal_set_dropreason(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.dropreason_ = value; -} -inline void CEconItemPreviewDataBlock::set_dropreason(uint32_t value) { - _internal_set_dropreason(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.dropreason) -} - -// optional uint32 musicindex = 17; -inline bool CEconItemPreviewDataBlock::_internal_has_musicindex() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_musicindex() const { - return _internal_has_musicindex(); -} -inline void CEconItemPreviewDataBlock::clear_musicindex() { - _impl_.musicindex_ = 0u; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint32_t CEconItemPreviewDataBlock::_internal_musicindex() const { - return _impl_.musicindex_; -} -inline uint32_t CEconItemPreviewDataBlock::musicindex() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.musicindex) - return _internal_musicindex(); -} -inline void CEconItemPreviewDataBlock::_internal_set_musicindex(uint32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.musicindex_ = value; -} -inline void CEconItemPreviewDataBlock::set_musicindex(uint32_t value) { - _internal_set_musicindex(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.musicindex) -} - -// optional int32 entindex = 18; -inline bool CEconItemPreviewDataBlock::_internal_has_entindex() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_entindex() const { - return _internal_has_entindex(); -} -inline void CEconItemPreviewDataBlock::clear_entindex() { - _impl_.entindex_ = 0; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline int32_t CEconItemPreviewDataBlock::_internal_entindex() const { - return _impl_.entindex_; -} -inline int32_t CEconItemPreviewDataBlock::entindex() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.entindex) - return _internal_entindex(); -} -inline void CEconItemPreviewDataBlock::_internal_set_entindex(int32_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.entindex_ = value; -} -inline void CEconItemPreviewDataBlock::set_entindex(int32_t value) { - _internal_set_entindex(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.entindex) -} - -// optional uint32 petindex = 19; -inline bool CEconItemPreviewDataBlock::_internal_has_petindex() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_petindex() const { - return _internal_has_petindex(); -} -inline void CEconItemPreviewDataBlock::clear_petindex() { - _impl_.petindex_ = 0u; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline uint32_t CEconItemPreviewDataBlock::_internal_petindex() const { - return _impl_.petindex_; -} -inline uint32_t CEconItemPreviewDataBlock::petindex() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.petindex) - return _internal_petindex(); -} -inline void CEconItemPreviewDataBlock::_internal_set_petindex(uint32_t value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.petindex_ = value; -} -inline void CEconItemPreviewDataBlock::set_petindex(uint32_t value) { - _internal_set_petindex(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.petindex) -} - -// repeated .CEconItemPreviewDataBlock.Sticker keychains = 20; -inline int CEconItemPreviewDataBlock::_internal_keychains_size() const { - return _impl_.keychains_.size(); -} -inline int CEconItemPreviewDataBlock::keychains_size() const { - return _internal_keychains_size(); -} -inline void CEconItemPreviewDataBlock::clear_keychains() { - _impl_.keychains_.Clear(); -} -inline ::CEconItemPreviewDataBlock_Sticker* CEconItemPreviewDataBlock::mutable_keychains(int index) { - // @@protoc_insertion_point(field_mutable:CEconItemPreviewDataBlock.keychains) - return _impl_.keychains_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >* -CEconItemPreviewDataBlock::mutable_keychains() { - // @@protoc_insertion_point(field_mutable_list:CEconItemPreviewDataBlock.keychains) - return &_impl_.keychains_; -} -inline const ::CEconItemPreviewDataBlock_Sticker& CEconItemPreviewDataBlock::_internal_keychains(int index) const { - return _impl_.keychains_.Get(index); -} -inline const ::CEconItemPreviewDataBlock_Sticker& CEconItemPreviewDataBlock::keychains(int index) const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.keychains) - return _internal_keychains(index); -} -inline ::CEconItemPreviewDataBlock_Sticker* CEconItemPreviewDataBlock::_internal_add_keychains() { - return _impl_.keychains_.Add(); -} -inline ::CEconItemPreviewDataBlock_Sticker* CEconItemPreviewDataBlock::add_keychains() { - ::CEconItemPreviewDataBlock_Sticker* _add = _internal_add_keychains(); - // @@protoc_insertion_point(field_add:CEconItemPreviewDataBlock.keychains) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >& -CEconItemPreviewDataBlock::keychains() const { - // @@protoc_insertion_point(field_list:CEconItemPreviewDataBlock.keychains) - return _impl_.keychains_; -} - -// optional uint32 style = 21; -inline bool CEconItemPreviewDataBlock::_internal_has_style() const { - bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_style() const { - return _internal_has_style(); -} -inline void CEconItemPreviewDataBlock::clear_style() { - _impl_.style_ = 0u; - _impl_._has_bits_[0] &= ~0x00040000u; -} -inline uint32_t CEconItemPreviewDataBlock::_internal_style() const { - return _impl_.style_; -} -inline uint32_t CEconItemPreviewDataBlock::style() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.style) - return _internal_style(); -} -inline void CEconItemPreviewDataBlock::_internal_set_style(uint32_t value) { - _impl_._has_bits_[0] |= 0x00040000u; - _impl_.style_ = value; -} -inline void CEconItemPreviewDataBlock::set_style(uint32_t value) { - _internal_set_style(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.style) -} - -// repeated .CEconItemPreviewDataBlock.Sticker variations = 22; -inline int CEconItemPreviewDataBlock::_internal_variations_size() const { - return _impl_.variations_.size(); -} -inline int CEconItemPreviewDataBlock::variations_size() const { - return _internal_variations_size(); -} -inline void CEconItemPreviewDataBlock::clear_variations() { - _impl_.variations_.Clear(); -} -inline ::CEconItemPreviewDataBlock_Sticker* CEconItemPreviewDataBlock::mutable_variations(int index) { - // @@protoc_insertion_point(field_mutable:CEconItemPreviewDataBlock.variations) - return _impl_.variations_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >* -CEconItemPreviewDataBlock::mutable_variations() { - // @@protoc_insertion_point(field_mutable_list:CEconItemPreviewDataBlock.variations) - return &_impl_.variations_; -} -inline const ::CEconItemPreviewDataBlock_Sticker& CEconItemPreviewDataBlock::_internal_variations(int index) const { - return _impl_.variations_.Get(index); -} -inline const ::CEconItemPreviewDataBlock_Sticker& CEconItemPreviewDataBlock::variations(int index) const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.variations) - return _internal_variations(index); -} -inline ::CEconItemPreviewDataBlock_Sticker* CEconItemPreviewDataBlock::_internal_add_variations() { - return _impl_.variations_.Add(); -} -inline ::CEconItemPreviewDataBlock_Sticker* CEconItemPreviewDataBlock::add_variations() { - ::CEconItemPreviewDataBlock_Sticker* _add = _internal_add_variations(); - // @@protoc_insertion_point(field_add:CEconItemPreviewDataBlock.variations) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock_Sticker >& -CEconItemPreviewDataBlock::variations() const { - // @@protoc_insertion_point(field_list:CEconItemPreviewDataBlock.variations) - return _impl_.variations_; -} - -// optional uint32 upgrade_level = 23; -inline bool CEconItemPreviewDataBlock::_internal_has_upgrade_level() const { - bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; - return value; -} -inline bool CEconItemPreviewDataBlock::has_upgrade_level() const { - return _internal_has_upgrade_level(); -} -inline void CEconItemPreviewDataBlock::clear_upgrade_level() { - _impl_.upgrade_level_ = 0u; - _impl_._has_bits_[0] &= ~0x00080000u; -} -inline uint32_t CEconItemPreviewDataBlock::_internal_upgrade_level() const { - return _impl_.upgrade_level_; -} -inline uint32_t CEconItemPreviewDataBlock::upgrade_level() const { - // @@protoc_insertion_point(field_get:CEconItemPreviewDataBlock.upgrade_level) - return _internal_upgrade_level(); -} -inline void CEconItemPreviewDataBlock::_internal_set_upgrade_level(uint32_t value) { - _impl_._has_bits_[0] |= 0x00080000u; - _impl_.upgrade_level_ = value; -} -inline void CEconItemPreviewDataBlock::set_upgrade_level(uint32_t value) { - _internal_set_upgrade_level(value); - // @@protoc_insertion_point(field_set:CEconItemPreviewDataBlock.upgrade_level) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchEndRewardDropsNotification - -// optional .CEconItemPreviewDataBlock iteminfo = 6; -inline bool CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::_internal_has_iteminfo() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.iteminfo_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::has_iteminfo() const { - return _internal_has_iteminfo(); -} -inline void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::clear_iteminfo() { - if (_impl_.iteminfo_ != nullptr) _impl_.iteminfo_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CEconItemPreviewDataBlock& CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::_internal_iteminfo() const { - const ::CEconItemPreviewDataBlock* p = _impl_.iteminfo_; - return p != nullptr ? *p : reinterpret_cast( - ::_CEconItemPreviewDataBlock_default_instance_); -} -inline const ::CEconItemPreviewDataBlock& CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::iteminfo() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification.iteminfo) - return _internal_iteminfo(); -} -inline void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::unsafe_arena_set_allocated_iteminfo( - ::CEconItemPreviewDataBlock* iteminfo) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.iteminfo_); - } - _impl_.iteminfo_ = iteminfo; - if (iteminfo) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification.iteminfo) -} -inline ::CEconItemPreviewDataBlock* CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::release_iteminfo() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CEconItemPreviewDataBlock* temp = _impl_.iteminfo_; - _impl_.iteminfo_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CEconItemPreviewDataBlock* CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::unsafe_arena_release_iteminfo() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification.iteminfo) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CEconItemPreviewDataBlock* temp = _impl_.iteminfo_; - _impl_.iteminfo_ = nullptr; - return temp; -} -inline ::CEconItemPreviewDataBlock* CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::_internal_mutable_iteminfo() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.iteminfo_ == nullptr) { - auto* p = CreateMaybeMessage<::CEconItemPreviewDataBlock>(GetArenaForAllocation()); - _impl_.iteminfo_ = p; - } - return _impl_.iteminfo_; -} -inline ::CEconItemPreviewDataBlock* CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::mutable_iteminfo() { - ::CEconItemPreviewDataBlock* _msg = _internal_mutable_iteminfo(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification.iteminfo) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchEndRewardDropsNotification::set_allocated_iteminfo(::CEconItemPreviewDataBlock* iteminfo) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.iteminfo_; - } - if (iteminfo) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(iteminfo); - if (message_arena != submessage_arena) { - iteminfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, iteminfo, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.iteminfo_ = iteminfo; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchEndRewardDropsNotification.iteminfo) -} - -// ------------------------------------------------------------------- - -// CMsgItemAcknowledged - -// optional .CEconItemPreviewDataBlock iteminfo = 1; -inline bool CMsgItemAcknowledged::_internal_has_iteminfo() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.iteminfo_ != nullptr); - return value; -} -inline bool CMsgItemAcknowledged::has_iteminfo() const { - return _internal_has_iteminfo(); -} -inline void CMsgItemAcknowledged::clear_iteminfo() { - if (_impl_.iteminfo_ != nullptr) _impl_.iteminfo_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CEconItemPreviewDataBlock& CMsgItemAcknowledged::_internal_iteminfo() const { - const ::CEconItemPreviewDataBlock* p = _impl_.iteminfo_; - return p != nullptr ? *p : reinterpret_cast( - ::_CEconItemPreviewDataBlock_default_instance_); -} -inline const ::CEconItemPreviewDataBlock& CMsgItemAcknowledged::iteminfo() const { - // @@protoc_insertion_point(field_get:CMsgItemAcknowledged.iteminfo) - return _internal_iteminfo(); -} -inline void CMsgItemAcknowledged::unsafe_arena_set_allocated_iteminfo( - ::CEconItemPreviewDataBlock* iteminfo) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.iteminfo_); - } - _impl_.iteminfo_ = iteminfo; - if (iteminfo) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgItemAcknowledged.iteminfo) -} -inline ::CEconItemPreviewDataBlock* CMsgItemAcknowledged::release_iteminfo() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CEconItemPreviewDataBlock* temp = _impl_.iteminfo_; - _impl_.iteminfo_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CEconItemPreviewDataBlock* CMsgItemAcknowledged::unsafe_arena_release_iteminfo() { - // @@protoc_insertion_point(field_release:CMsgItemAcknowledged.iteminfo) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CEconItemPreviewDataBlock* temp = _impl_.iteminfo_; - _impl_.iteminfo_ = nullptr; - return temp; -} -inline ::CEconItemPreviewDataBlock* CMsgItemAcknowledged::_internal_mutable_iteminfo() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.iteminfo_ == nullptr) { - auto* p = CreateMaybeMessage<::CEconItemPreviewDataBlock>(GetArenaForAllocation()); - _impl_.iteminfo_ = p; - } - return _impl_.iteminfo_; -} -inline ::CEconItemPreviewDataBlock* CMsgItemAcknowledged::mutable_iteminfo() { - ::CEconItemPreviewDataBlock* _msg = _internal_mutable_iteminfo(); - // @@protoc_insertion_point(field_mutable:CMsgItemAcknowledged.iteminfo) - return _msg; -} -inline void CMsgItemAcknowledged::set_allocated_iteminfo(::CEconItemPreviewDataBlock* iteminfo) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.iteminfo_; - } - if (iteminfo) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(iteminfo); - if (message_arena != submessage_arena) { - iteminfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, iteminfo, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.iteminfo_ = iteminfo; - // @@protoc_insertion_point(field_set_allocated:CMsgItemAcknowledged.iteminfo) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest - -// optional uint64 param_s = 1; -inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_has_param_s() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::has_param_s() const { - return _internal_has_param_s(); -} -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::clear_param_s() { - _impl_.param_s_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_param_s() const { - return _impl_.param_s_; -} -inline uint64_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::param_s() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest.param_s) - return _internal_param_s(); -} -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_set_param_s(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.param_s_ = value; -} -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::set_param_s(uint64_t value) { - _internal_set_param_s(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest.param_s) -} - -// optional uint64 param_a = 2; -inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_has_param_a() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::has_param_a() const { - return _internal_has_param_a(); -} -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::clear_param_a() { - _impl_.param_a_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_param_a() const { - return _impl_.param_a_; -} -inline uint64_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::param_a() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest.param_a) - return _internal_param_a(); -} -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_set_param_a(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.param_a_ = value; -} -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::set_param_a(uint64_t value) { - _internal_set_param_a(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest.param_a) -} - -// optional uint64 param_d = 3; -inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_has_param_d() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::has_param_d() const { - return _internal_has_param_d(); -} -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::clear_param_d() { - _impl_.param_d_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_param_d() const { - return _impl_.param_d_; -} -inline uint64_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::param_d() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest.param_d) - return _internal_param_d(); -} -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_set_param_d(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.param_d_ = value; -} -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::set_param_d(uint64_t value) { - _internal_set_param_d(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest.param_d) -} - -// optional uint64 param_m = 4; -inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_has_param_m() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::has_param_m() const { - return _internal_has_param_m(); -} -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::clear_param_m() { - _impl_.param_m_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_param_m() const { - return _impl_.param_m_; -} -inline uint64_t CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::param_m() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest.param_m) - return _internal_param_m(); -} -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::_internal_set_param_m(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.param_m_ = value; -} -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest::set_param_m(uint64_t value) { - _internal_set_param_m(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockRequest.param_m) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse - -// optional .CEconItemPreviewDataBlock iteminfo = 1; -inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::_internal_has_iteminfo() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.iteminfo_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::has_iteminfo() const { - return _internal_has_iteminfo(); -} -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::clear_iteminfo() { - if (_impl_.iteminfo_ != nullptr) _impl_.iteminfo_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CEconItemPreviewDataBlock& CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::_internal_iteminfo() const { - const ::CEconItemPreviewDataBlock* p = _impl_.iteminfo_; - return p != nullptr ? *p : reinterpret_cast( - ::_CEconItemPreviewDataBlock_default_instance_); -} -inline const ::CEconItemPreviewDataBlock& CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::iteminfo() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse.iteminfo) - return _internal_iteminfo(); -} -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::unsafe_arena_set_allocated_iteminfo( - ::CEconItemPreviewDataBlock* iteminfo) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.iteminfo_); - } - _impl_.iteminfo_ = iteminfo; - if (iteminfo) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse.iteminfo) -} -inline ::CEconItemPreviewDataBlock* CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::release_iteminfo() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CEconItemPreviewDataBlock* temp = _impl_.iteminfo_; - _impl_.iteminfo_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CEconItemPreviewDataBlock* CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::unsafe_arena_release_iteminfo() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse.iteminfo) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CEconItemPreviewDataBlock* temp = _impl_.iteminfo_; - _impl_.iteminfo_ = nullptr; - return temp; -} -inline ::CEconItemPreviewDataBlock* CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::_internal_mutable_iteminfo() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.iteminfo_ == nullptr) { - auto* p = CreateMaybeMessage<::CEconItemPreviewDataBlock>(GetArenaForAllocation()); - _impl_.iteminfo_ = p; - } - return _impl_.iteminfo_; -} -inline ::CEconItemPreviewDataBlock* CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::mutable_iteminfo() { - ::CEconItemPreviewDataBlock* _msg = _internal_mutable_iteminfo(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse.iteminfo) - return _msg; -} -inline void CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse::set_allocated_iteminfo(::CEconItemPreviewDataBlock* iteminfo) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.iteminfo_; - } - if (iteminfo) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(iteminfo); - if (message_arena != submessage_arena) { - iteminfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, iteminfo, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.iteminfo_ = iteminfo; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_Client2GCEconPreviewDataBlockResponse.iteminfo) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchListRequestCurrentLiveGames - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser - -// optional uint32 accountid = 1; -inline bool CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::has_accountid() const { - return _internal_has_accountid(); -} -inline void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::accountid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser.accountid) - return _internal_accountid(); -} -inline void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.accountid_ = value; -} -inline void CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchListRequestLiveGameForUser.accountid) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchListRequestRecentUserGames - -// optional uint32 accountid = 1; -inline bool CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::has_accountid() const { - return _internal_has_accountid(); -} -inline void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::accountid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames.accountid) - return _internal_accountid(); -} -inline void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.accountid_ = value; -} -inline void CMsgGCCStrike15_v2_MatchListRequestRecentUserGames::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchListRequestRecentUserGames.accountid) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchListRequestTournamentGames - -// optional int32 eventid = 1; -inline bool CMsgGCCStrike15_v2_MatchListRequestTournamentGames::_internal_has_eventid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchListRequestTournamentGames::has_eventid() const { - return _internal_has_eventid(); -} -inline void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::clear_eventid() { - _impl_.eventid_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CMsgGCCStrike15_v2_MatchListRequestTournamentGames::_internal_eventid() const { - return _impl_.eventid_; -} -inline int32_t CMsgGCCStrike15_v2_MatchListRequestTournamentGames::eventid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchListRequestTournamentGames.eventid) - return _internal_eventid(); -} -inline void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::_internal_set_eventid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.eventid_ = value; -} -inline void CMsgGCCStrike15_v2_MatchListRequestTournamentGames::set_eventid(int32_t value) { - _internal_set_eventid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchListRequestTournamentGames.eventid) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchListRequestFullGameInfo - -// optional uint64 matchid = 1; -inline bool CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_internal_has_matchid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::has_matchid() const { - return _internal_has_matchid(); -} -inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::clear_matchid() { - _impl_.matchid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_internal_matchid() const { - return _impl_.matchid_; -} -inline uint64_t CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::matchid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo.matchid) - return _internal_matchid(); -} -inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_internal_set_matchid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.matchid_ = value; -} -inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::set_matchid(uint64_t value) { - _internal_set_matchid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo.matchid) -} - -// optional uint64 outcomeid = 2; -inline bool CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_internal_has_outcomeid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::has_outcomeid() const { - return _internal_has_outcomeid(); -} -inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::clear_outcomeid() { - _impl_.outcomeid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_internal_outcomeid() const { - return _impl_.outcomeid_; -} -inline uint64_t CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::outcomeid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo.outcomeid) - return _internal_outcomeid(); -} -inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_internal_set_outcomeid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.outcomeid_ = value; -} -inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::set_outcomeid(uint64_t value) { - _internal_set_outcomeid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo.outcomeid) -} - -// optional uint32 token = 3; -inline bool CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_internal_has_token() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::has_token() const { - return _internal_has_token(); -} -inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::clear_token() { - _impl_.token_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_internal_token() const { - return _impl_.token_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::token() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo.token) - return _internal_token(); -} -inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::_internal_set_token(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.token_ = value; -} -inline void CMsgGCCStrike15_v2_MatchListRequestFullGameInfo::set_token(uint32_t value) { - _internal_set_token(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchListRequestFullGameInfo.token) -} - -// ------------------------------------------------------------------- - -// CDataGCCStrike15_v2_MatchInfo - -// optional uint64 matchid = 1; -inline bool CDataGCCStrike15_v2_MatchInfo::_internal_has_matchid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_MatchInfo::has_matchid() const { - return _internal_has_matchid(); -} -inline void CDataGCCStrike15_v2_MatchInfo::clear_matchid() { - _impl_.matchid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CDataGCCStrike15_v2_MatchInfo::_internal_matchid() const { - return _impl_.matchid_; -} -inline uint64_t CDataGCCStrike15_v2_MatchInfo::matchid() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_MatchInfo.matchid) - return _internal_matchid(); -} -inline void CDataGCCStrike15_v2_MatchInfo::_internal_set_matchid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.matchid_ = value; -} -inline void CDataGCCStrike15_v2_MatchInfo::set_matchid(uint64_t value) { - _internal_set_matchid(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_MatchInfo.matchid) -} - -// optional uint32 matchtime = 2; -inline bool CDataGCCStrike15_v2_MatchInfo::_internal_has_matchtime() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_MatchInfo::has_matchtime() const { - return _internal_has_matchtime(); -} -inline void CDataGCCStrike15_v2_MatchInfo::clear_matchtime() { - _impl_.matchtime_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CDataGCCStrike15_v2_MatchInfo::_internal_matchtime() const { - return _impl_.matchtime_; -} -inline uint32_t CDataGCCStrike15_v2_MatchInfo::matchtime() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_MatchInfo.matchtime) - return _internal_matchtime(); -} -inline void CDataGCCStrike15_v2_MatchInfo::_internal_set_matchtime(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.matchtime_ = value; -} -inline void CDataGCCStrike15_v2_MatchInfo::set_matchtime(uint32_t value) { - _internal_set_matchtime(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_MatchInfo.matchtime) -} - -// optional .WatchableMatchInfo watchablematchinfo = 3; -inline bool CDataGCCStrike15_v2_MatchInfo::_internal_has_watchablematchinfo() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.watchablematchinfo_ != nullptr); - return value; -} -inline bool CDataGCCStrike15_v2_MatchInfo::has_watchablematchinfo() const { - return _internal_has_watchablematchinfo(); -} -inline void CDataGCCStrike15_v2_MatchInfo::clear_watchablematchinfo() { - if (_impl_.watchablematchinfo_ != nullptr) _impl_.watchablematchinfo_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::WatchableMatchInfo& CDataGCCStrike15_v2_MatchInfo::_internal_watchablematchinfo() const { - const ::WatchableMatchInfo* p = _impl_.watchablematchinfo_; - return p != nullptr ? *p : reinterpret_cast( - ::_WatchableMatchInfo_default_instance_); -} -inline const ::WatchableMatchInfo& CDataGCCStrike15_v2_MatchInfo::watchablematchinfo() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_MatchInfo.watchablematchinfo) - return _internal_watchablematchinfo(); -} -inline void CDataGCCStrike15_v2_MatchInfo::unsafe_arena_set_allocated_watchablematchinfo( - ::WatchableMatchInfo* watchablematchinfo) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.watchablematchinfo_); - } - _impl_.watchablematchinfo_ = watchablematchinfo; - if (watchablematchinfo) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CDataGCCStrike15_v2_MatchInfo.watchablematchinfo) -} -inline ::WatchableMatchInfo* CDataGCCStrike15_v2_MatchInfo::release_watchablematchinfo() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::WatchableMatchInfo* temp = _impl_.watchablematchinfo_; - _impl_.watchablematchinfo_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::WatchableMatchInfo* CDataGCCStrike15_v2_MatchInfo::unsafe_arena_release_watchablematchinfo() { - // @@protoc_insertion_point(field_release:CDataGCCStrike15_v2_MatchInfo.watchablematchinfo) - _impl_._has_bits_[0] &= ~0x00000001u; - ::WatchableMatchInfo* temp = _impl_.watchablematchinfo_; - _impl_.watchablematchinfo_ = nullptr; - return temp; -} -inline ::WatchableMatchInfo* CDataGCCStrike15_v2_MatchInfo::_internal_mutable_watchablematchinfo() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.watchablematchinfo_ == nullptr) { - auto* p = CreateMaybeMessage<::WatchableMatchInfo>(GetArenaForAllocation()); - _impl_.watchablematchinfo_ = p; - } - return _impl_.watchablematchinfo_; -} -inline ::WatchableMatchInfo* CDataGCCStrike15_v2_MatchInfo::mutable_watchablematchinfo() { - ::WatchableMatchInfo* _msg = _internal_mutable_watchablematchinfo(); - // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_MatchInfo.watchablematchinfo) - return _msg; -} -inline void CDataGCCStrike15_v2_MatchInfo::set_allocated_watchablematchinfo(::WatchableMatchInfo* watchablematchinfo) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.watchablematchinfo_; - } - if (watchablematchinfo) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(watchablematchinfo); - if (message_arena != submessage_arena) { - watchablematchinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, watchablematchinfo, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.watchablematchinfo_ = watchablematchinfo; - // @@protoc_insertion_point(field_set_allocated:CDataGCCStrike15_v2_MatchInfo.watchablematchinfo) -} - -// optional .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstats_legacy = 4; -inline bool CDataGCCStrike15_v2_MatchInfo::_internal_has_roundstats_legacy() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.roundstats_legacy_ != nullptr); - return value; -} -inline bool CDataGCCStrike15_v2_MatchInfo::has_roundstats_legacy() const { - return _internal_has_roundstats_legacy(); -} -inline void CDataGCCStrike15_v2_MatchInfo::clear_roundstats_legacy() { - if (_impl_.roundstats_legacy_ != nullptr) _impl_.roundstats_legacy_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& CDataGCCStrike15_v2_MatchInfo::_internal_roundstats_legacy() const { - const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* p = _impl_.roundstats_legacy_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgGCCStrike15_v2_MatchmakingServerRoundStats_default_instance_); -} -inline const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& CDataGCCStrike15_v2_MatchInfo::roundstats_legacy() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_MatchInfo.roundstats_legacy) - return _internal_roundstats_legacy(); -} -inline void CDataGCCStrike15_v2_MatchInfo::unsafe_arena_set_allocated_roundstats_legacy( - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* roundstats_legacy) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.roundstats_legacy_); - } - _impl_.roundstats_legacy_ = roundstats_legacy; - if (roundstats_legacy) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CDataGCCStrike15_v2_MatchInfo.roundstats_legacy) -} -inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* CDataGCCStrike15_v2_MatchInfo::release_roundstats_legacy() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* temp = _impl_.roundstats_legacy_; - _impl_.roundstats_legacy_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* CDataGCCStrike15_v2_MatchInfo::unsafe_arena_release_roundstats_legacy() { - // @@protoc_insertion_point(field_release:CDataGCCStrike15_v2_MatchInfo.roundstats_legacy) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* temp = _impl_.roundstats_legacy_; - _impl_.roundstats_legacy_ = nullptr; - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* CDataGCCStrike15_v2_MatchInfo::_internal_mutable_roundstats_legacy() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.roundstats_legacy_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingServerRoundStats>(GetArenaForAllocation()); - _impl_.roundstats_legacy_ = p; - } - return _impl_.roundstats_legacy_; -} -inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* CDataGCCStrike15_v2_MatchInfo::mutable_roundstats_legacy() { - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* _msg = _internal_mutable_roundstats_legacy(); - // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_MatchInfo.roundstats_legacy) - return _msg; -} -inline void CDataGCCStrike15_v2_MatchInfo::set_allocated_roundstats_legacy(::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* roundstats_legacy) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.roundstats_legacy_; - } - if (roundstats_legacy) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(roundstats_legacy); - if (message_arena != submessage_arena) { - roundstats_legacy = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, roundstats_legacy, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.roundstats_legacy_ = roundstats_legacy; - // @@protoc_insertion_point(field_set_allocated:CDataGCCStrike15_v2_MatchInfo.roundstats_legacy) -} - -// repeated .CMsgGCCStrike15_v2_MatchmakingServerRoundStats roundstatsall = 5; -inline int CDataGCCStrike15_v2_MatchInfo::_internal_roundstatsall_size() const { - return _impl_.roundstatsall_.size(); -} -inline int CDataGCCStrike15_v2_MatchInfo::roundstatsall_size() const { - return _internal_roundstatsall_size(); -} -inline void CDataGCCStrike15_v2_MatchInfo::clear_roundstatsall() { - _impl_.roundstatsall_.Clear(); -} -inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* CDataGCCStrike15_v2_MatchInfo::mutable_roundstatsall(int index) { - // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_MatchInfo.roundstatsall) - return _impl_.roundstatsall_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats >* -CDataGCCStrike15_v2_MatchInfo::mutable_roundstatsall() { - // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_MatchInfo.roundstatsall) - return &_impl_.roundstatsall_; -} -inline const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& CDataGCCStrike15_v2_MatchInfo::_internal_roundstatsall(int index) const { - return _impl_.roundstatsall_.Get(index); -} -inline const ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats& CDataGCCStrike15_v2_MatchInfo::roundstatsall(int index) const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_MatchInfo.roundstatsall) - return _internal_roundstatsall(index); -} -inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* CDataGCCStrike15_v2_MatchInfo::_internal_add_roundstatsall() { - return _impl_.roundstatsall_.Add(); -} -inline ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* CDataGCCStrike15_v2_MatchInfo::add_roundstatsall() { - ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats* _add = _internal_add_roundstatsall(); - // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_MatchInfo.roundstatsall) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_MatchmakingServerRoundStats >& -CDataGCCStrike15_v2_MatchInfo::roundstatsall() const { - // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_MatchInfo.roundstatsall) - return _impl_.roundstatsall_; -} - -// ------------------------------------------------------------------- - -// CDataGCCStrike15_v2_TournamentGroupTeam - -// optional int32 team_id = 1; -inline bool CDataGCCStrike15_v2_TournamentGroupTeam::_internal_has_team_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentGroupTeam::has_team_id() const { - return _internal_has_team_id(); -} -inline void CDataGCCStrike15_v2_TournamentGroupTeam::clear_team_id() { - _impl_.team_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CDataGCCStrike15_v2_TournamentGroupTeam::_internal_team_id() const { - return _impl_.team_id_; -} -inline int32_t CDataGCCStrike15_v2_TournamentGroupTeam::team_id() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroupTeam.team_id) - return _internal_team_id(); -} -inline void CDataGCCStrike15_v2_TournamentGroupTeam::_internal_set_team_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.team_id_ = value; -} -inline void CDataGCCStrike15_v2_TournamentGroupTeam::set_team_id(int32_t value) { - _internal_set_team_id(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroupTeam.team_id) -} - -// optional int32 score = 2; -inline bool CDataGCCStrike15_v2_TournamentGroupTeam::_internal_has_score() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentGroupTeam::has_score() const { - return _internal_has_score(); -} -inline void CDataGCCStrike15_v2_TournamentGroupTeam::clear_score() { - _impl_.score_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CDataGCCStrike15_v2_TournamentGroupTeam::_internal_score() const { - return _impl_.score_; -} -inline int32_t CDataGCCStrike15_v2_TournamentGroupTeam::score() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroupTeam.score) - return _internal_score(); -} -inline void CDataGCCStrike15_v2_TournamentGroupTeam::_internal_set_score(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.score_ = value; -} -inline void CDataGCCStrike15_v2_TournamentGroupTeam::set_score(int32_t value) { - _internal_set_score(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroupTeam.score) -} - -// optional bool correctpick = 3; -inline bool CDataGCCStrike15_v2_TournamentGroupTeam::_internal_has_correctpick() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentGroupTeam::has_correctpick() const { - return _internal_has_correctpick(); -} -inline void CDataGCCStrike15_v2_TournamentGroupTeam::clear_correctpick() { - _impl_.correctpick_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CDataGCCStrike15_v2_TournamentGroupTeam::_internal_correctpick() const { - return _impl_.correctpick_; -} -inline bool CDataGCCStrike15_v2_TournamentGroupTeam::correctpick() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroupTeam.correctpick) - return _internal_correctpick(); -} -inline void CDataGCCStrike15_v2_TournamentGroupTeam::_internal_set_correctpick(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.correctpick_ = value; -} -inline void CDataGCCStrike15_v2_TournamentGroupTeam::set_correctpick(bool value) { - _internal_set_correctpick(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroupTeam.correctpick) -} - -// ------------------------------------------------------------------- - -// CDataGCCStrike15_v2_TournamentGroup_Picks - -// repeated int32 pickids = 1; -inline int CDataGCCStrike15_v2_TournamentGroup_Picks::_internal_pickids_size() const { - return _impl_.pickids_.size(); -} -inline int CDataGCCStrike15_v2_TournamentGroup_Picks::pickids_size() const { - return _internal_pickids_size(); -} -inline void CDataGCCStrike15_v2_TournamentGroup_Picks::clear_pickids() { - _impl_.pickids_.Clear(); -} -inline int32_t CDataGCCStrike15_v2_TournamentGroup_Picks::_internal_pickids(int index) const { - return _impl_.pickids_.Get(index); -} -inline int32_t CDataGCCStrike15_v2_TournamentGroup_Picks::pickids(int index) const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.Picks.pickids) - return _internal_pickids(index); -} -inline void CDataGCCStrike15_v2_TournamentGroup_Picks::set_pickids(int index, int32_t value) { - _impl_.pickids_.Set(index, value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroup.Picks.pickids) -} -inline void CDataGCCStrike15_v2_TournamentGroup_Picks::_internal_add_pickids(int32_t value) { - _impl_.pickids_.Add(value); -} -inline void CDataGCCStrike15_v2_TournamentGroup_Picks::add_pickids(int32_t value) { - _internal_add_pickids(value); - // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentGroup.Picks.pickids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CDataGCCStrike15_v2_TournamentGroup_Picks::_internal_pickids() const { - return _impl_.pickids_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CDataGCCStrike15_v2_TournamentGroup_Picks::pickids() const { - // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentGroup.Picks.pickids) - return _internal_pickids(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CDataGCCStrike15_v2_TournamentGroup_Picks::_internal_mutable_pickids() { - return &_impl_.pickids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CDataGCCStrike15_v2_TournamentGroup_Picks::mutable_pickids() { - // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentGroup.Picks.pickids) - return _internal_mutable_pickids(); -} - -// ------------------------------------------------------------------- - -// CDataGCCStrike15_v2_TournamentGroup - -// optional uint32 groupid = 1; -inline bool CDataGCCStrike15_v2_TournamentGroup::_internal_has_groupid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentGroup::has_groupid() const { - return _internal_has_groupid(); -} -inline void CDataGCCStrike15_v2_TournamentGroup::clear_groupid() { - _impl_.groupid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CDataGCCStrike15_v2_TournamentGroup::_internal_groupid() const { - return _impl_.groupid_; -} -inline uint32_t CDataGCCStrike15_v2_TournamentGroup::groupid() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.groupid) - return _internal_groupid(); -} -inline void CDataGCCStrike15_v2_TournamentGroup::_internal_set_groupid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.groupid_ = value; -} -inline void CDataGCCStrike15_v2_TournamentGroup::set_groupid(uint32_t value) { - _internal_set_groupid(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroup.groupid) -} - -// optional string name = 2; -inline bool CDataGCCStrike15_v2_TournamentGroup::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentGroup::has_name() const { - return _internal_has_name(); -} -inline void CDataGCCStrike15_v2_TournamentGroup::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CDataGCCStrike15_v2_TournamentGroup::name() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDataGCCStrike15_v2_TournamentGroup::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroup.name) -} -inline std::string* CDataGCCStrike15_v2_TournamentGroup::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentGroup.name) - return _s; -} -inline const std::string& CDataGCCStrike15_v2_TournamentGroup::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CDataGCCStrike15_v2_TournamentGroup::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDataGCCStrike15_v2_TournamentGroup::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDataGCCStrike15_v2_TournamentGroup::release_name() { - // @@protoc_insertion_point(field_release:CDataGCCStrike15_v2_TournamentGroup.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDataGCCStrike15_v2_TournamentGroup::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDataGCCStrike15_v2_TournamentGroup.name) -} - -// optional string desc = 3; -inline bool CDataGCCStrike15_v2_TournamentGroup::_internal_has_desc() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentGroup::has_desc() const { - return _internal_has_desc(); -} -inline void CDataGCCStrike15_v2_TournamentGroup::clear_desc() { - _impl_.desc_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CDataGCCStrike15_v2_TournamentGroup::desc() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.desc) - return _internal_desc(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDataGCCStrike15_v2_TournamentGroup::set_desc(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.desc_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroup.desc) -} -inline std::string* CDataGCCStrike15_v2_TournamentGroup::mutable_desc() { - std::string* _s = _internal_mutable_desc(); - // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentGroup.desc) - return _s; -} -inline const std::string& CDataGCCStrike15_v2_TournamentGroup::_internal_desc() const { - return _impl_.desc_.Get(); -} -inline void CDataGCCStrike15_v2_TournamentGroup::_internal_set_desc(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.desc_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDataGCCStrike15_v2_TournamentGroup::_internal_mutable_desc() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.desc_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDataGCCStrike15_v2_TournamentGroup::release_desc() { - // @@protoc_insertion_point(field_release:CDataGCCStrike15_v2_TournamentGroup.desc) - if (!_internal_has_desc()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.desc_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.desc_.IsDefault()) { - _impl_.desc_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDataGCCStrike15_v2_TournamentGroup::set_allocated_desc(std::string* desc) { - if (desc != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.desc_.SetAllocated(desc, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.desc_.IsDefault()) { - _impl_.desc_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDataGCCStrike15_v2_TournamentGroup.desc) -} - -// optional uint32 picks__deprecated = 4; -inline bool CDataGCCStrike15_v2_TournamentGroup::_internal_has_picks__deprecated() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentGroup::has_picks__deprecated() const { - return _internal_has_picks__deprecated(); -} -inline void CDataGCCStrike15_v2_TournamentGroup::clear_picks__deprecated() { - _impl_.picks__deprecated_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CDataGCCStrike15_v2_TournamentGroup::_internal_picks__deprecated() const { - return _impl_.picks__deprecated_; -} -inline uint32_t CDataGCCStrike15_v2_TournamentGroup::picks__deprecated() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.picks__deprecated) - return _internal_picks__deprecated(); -} -inline void CDataGCCStrike15_v2_TournamentGroup::_internal_set_picks__deprecated(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.picks__deprecated_ = value; -} -inline void CDataGCCStrike15_v2_TournamentGroup::set_picks__deprecated(uint32_t value) { - _internal_set_picks__deprecated(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroup.picks__deprecated) -} - -// repeated .CDataGCCStrike15_v2_TournamentGroupTeam teams = 5; -inline int CDataGCCStrike15_v2_TournamentGroup::_internal_teams_size() const { - return _impl_.teams_.size(); -} -inline int CDataGCCStrike15_v2_TournamentGroup::teams_size() const { - return _internal_teams_size(); -} -inline void CDataGCCStrike15_v2_TournamentGroup::clear_teams() { - _impl_.teams_.Clear(); -} -inline ::CDataGCCStrike15_v2_TournamentGroupTeam* CDataGCCStrike15_v2_TournamentGroup::mutable_teams(int index) { - // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentGroup.teams) - return _impl_.teams_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroupTeam >* -CDataGCCStrike15_v2_TournamentGroup::mutable_teams() { - // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentGroup.teams) - return &_impl_.teams_; -} -inline const ::CDataGCCStrike15_v2_TournamentGroupTeam& CDataGCCStrike15_v2_TournamentGroup::_internal_teams(int index) const { - return _impl_.teams_.Get(index); -} -inline const ::CDataGCCStrike15_v2_TournamentGroupTeam& CDataGCCStrike15_v2_TournamentGroup::teams(int index) const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.teams) - return _internal_teams(index); -} -inline ::CDataGCCStrike15_v2_TournamentGroupTeam* CDataGCCStrike15_v2_TournamentGroup::_internal_add_teams() { - return _impl_.teams_.Add(); -} -inline ::CDataGCCStrike15_v2_TournamentGroupTeam* CDataGCCStrike15_v2_TournamentGroup::add_teams() { - ::CDataGCCStrike15_v2_TournamentGroupTeam* _add = _internal_add_teams(); - // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentGroup.teams) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroupTeam >& -CDataGCCStrike15_v2_TournamentGroup::teams() const { - // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentGroup.teams) - return _impl_.teams_; -} - -// repeated int32 stage_ids = 6; -inline int CDataGCCStrike15_v2_TournamentGroup::_internal_stage_ids_size() const { - return _impl_.stage_ids_.size(); -} -inline int CDataGCCStrike15_v2_TournamentGroup::stage_ids_size() const { - return _internal_stage_ids_size(); -} -inline void CDataGCCStrike15_v2_TournamentGroup::clear_stage_ids() { - _impl_.stage_ids_.Clear(); -} -inline int32_t CDataGCCStrike15_v2_TournamentGroup::_internal_stage_ids(int index) const { - return _impl_.stage_ids_.Get(index); -} -inline int32_t CDataGCCStrike15_v2_TournamentGroup::stage_ids(int index) const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.stage_ids) - return _internal_stage_ids(index); -} -inline void CDataGCCStrike15_v2_TournamentGroup::set_stage_ids(int index, int32_t value) { - _impl_.stage_ids_.Set(index, value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroup.stage_ids) -} -inline void CDataGCCStrike15_v2_TournamentGroup::_internal_add_stage_ids(int32_t value) { - _impl_.stage_ids_.Add(value); -} -inline void CDataGCCStrike15_v2_TournamentGroup::add_stage_ids(int32_t value) { - _internal_add_stage_ids(value); - // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentGroup.stage_ids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CDataGCCStrike15_v2_TournamentGroup::_internal_stage_ids() const { - return _impl_.stage_ids_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CDataGCCStrike15_v2_TournamentGroup::stage_ids() const { - // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentGroup.stage_ids) - return _internal_stage_ids(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CDataGCCStrike15_v2_TournamentGroup::_internal_mutable_stage_ids() { - return &_impl_.stage_ids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CDataGCCStrike15_v2_TournamentGroup::mutable_stage_ids() { - // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentGroup.stage_ids) - return _internal_mutable_stage_ids(); -} - -// optional uint32 picklockuntiltime = 7; -inline bool CDataGCCStrike15_v2_TournamentGroup::_internal_has_picklockuntiltime() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentGroup::has_picklockuntiltime() const { - return _internal_has_picklockuntiltime(); -} -inline void CDataGCCStrike15_v2_TournamentGroup::clear_picklockuntiltime() { - _impl_.picklockuntiltime_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CDataGCCStrike15_v2_TournamentGroup::_internal_picklockuntiltime() const { - return _impl_.picklockuntiltime_; -} -inline uint32_t CDataGCCStrike15_v2_TournamentGroup::picklockuntiltime() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.picklockuntiltime) - return _internal_picklockuntiltime(); -} -inline void CDataGCCStrike15_v2_TournamentGroup::_internal_set_picklockuntiltime(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.picklockuntiltime_ = value; -} -inline void CDataGCCStrike15_v2_TournamentGroup::set_picklockuntiltime(uint32_t value) { - _internal_set_picklockuntiltime(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroup.picklockuntiltime) -} - -// optional uint32 pickableteams = 8; -inline bool CDataGCCStrike15_v2_TournamentGroup::_internal_has_pickableteams() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentGroup::has_pickableteams() const { - return _internal_has_pickableteams(); -} -inline void CDataGCCStrike15_v2_TournamentGroup::clear_pickableteams() { - _impl_.pickableteams_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CDataGCCStrike15_v2_TournamentGroup::_internal_pickableteams() const { - return _impl_.pickableteams_; -} -inline uint32_t CDataGCCStrike15_v2_TournamentGroup::pickableteams() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.pickableteams) - return _internal_pickableteams(); -} -inline void CDataGCCStrike15_v2_TournamentGroup::_internal_set_pickableteams(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.pickableteams_ = value; -} -inline void CDataGCCStrike15_v2_TournamentGroup::set_pickableteams(uint32_t value) { - _internal_set_pickableteams(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroup.pickableteams) -} - -// optional uint32 points_per_pick = 9; -inline bool CDataGCCStrike15_v2_TournamentGroup::_internal_has_points_per_pick() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentGroup::has_points_per_pick() const { - return _internal_has_points_per_pick(); -} -inline void CDataGCCStrike15_v2_TournamentGroup::clear_points_per_pick() { - _impl_.points_per_pick_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CDataGCCStrike15_v2_TournamentGroup::_internal_points_per_pick() const { - return _impl_.points_per_pick_; -} -inline uint32_t CDataGCCStrike15_v2_TournamentGroup::points_per_pick() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.points_per_pick) - return _internal_points_per_pick(); -} -inline void CDataGCCStrike15_v2_TournamentGroup::_internal_set_points_per_pick(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.points_per_pick_ = value; -} -inline void CDataGCCStrike15_v2_TournamentGroup::set_points_per_pick(uint32_t value) { - _internal_set_points_per_pick(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentGroup.points_per_pick) -} - -// repeated .CDataGCCStrike15_v2_TournamentGroup.Picks picks = 10; -inline int CDataGCCStrike15_v2_TournamentGroup::_internal_picks_size() const { - return _impl_.picks_.size(); -} -inline int CDataGCCStrike15_v2_TournamentGroup::picks_size() const { - return _internal_picks_size(); -} -inline void CDataGCCStrike15_v2_TournamentGroup::clear_picks() { - _impl_.picks_.Clear(); -} -inline ::CDataGCCStrike15_v2_TournamentGroup_Picks* CDataGCCStrike15_v2_TournamentGroup::mutable_picks(int index) { - // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentGroup.picks) - return _impl_.picks_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup_Picks >* -CDataGCCStrike15_v2_TournamentGroup::mutable_picks() { - // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentGroup.picks) - return &_impl_.picks_; -} -inline const ::CDataGCCStrike15_v2_TournamentGroup_Picks& CDataGCCStrike15_v2_TournamentGroup::_internal_picks(int index) const { - return _impl_.picks_.Get(index); -} -inline const ::CDataGCCStrike15_v2_TournamentGroup_Picks& CDataGCCStrike15_v2_TournamentGroup::picks(int index) const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentGroup.picks) - return _internal_picks(index); -} -inline ::CDataGCCStrike15_v2_TournamentGroup_Picks* CDataGCCStrike15_v2_TournamentGroup::_internal_add_picks() { - return _impl_.picks_.Add(); -} -inline ::CDataGCCStrike15_v2_TournamentGroup_Picks* CDataGCCStrike15_v2_TournamentGroup::add_picks() { - ::CDataGCCStrike15_v2_TournamentGroup_Picks* _add = _internal_add_picks(); - // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentGroup.picks) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup_Picks >& -CDataGCCStrike15_v2_TournamentGroup::picks() const { - // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentGroup.picks) - return _impl_.picks_; -} - -// ------------------------------------------------------------------- - -// CDataGCCStrike15_v2_TournamentSection - -// optional uint32 sectionid = 1; -inline bool CDataGCCStrike15_v2_TournamentSection::_internal_has_sectionid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentSection::has_sectionid() const { - return _internal_has_sectionid(); -} -inline void CDataGCCStrike15_v2_TournamentSection::clear_sectionid() { - _impl_.sectionid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CDataGCCStrike15_v2_TournamentSection::_internal_sectionid() const { - return _impl_.sectionid_; -} -inline uint32_t CDataGCCStrike15_v2_TournamentSection::sectionid() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentSection.sectionid) - return _internal_sectionid(); -} -inline void CDataGCCStrike15_v2_TournamentSection::_internal_set_sectionid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.sectionid_ = value; -} -inline void CDataGCCStrike15_v2_TournamentSection::set_sectionid(uint32_t value) { - _internal_set_sectionid(value); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentSection.sectionid) -} - -// optional string name = 2; -inline bool CDataGCCStrike15_v2_TournamentSection::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentSection::has_name() const { - return _internal_has_name(); -} -inline void CDataGCCStrike15_v2_TournamentSection::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CDataGCCStrike15_v2_TournamentSection::name() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentSection.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDataGCCStrike15_v2_TournamentSection::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentSection.name) -} -inline std::string* CDataGCCStrike15_v2_TournamentSection::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentSection.name) - return _s; -} -inline const std::string& CDataGCCStrike15_v2_TournamentSection::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CDataGCCStrike15_v2_TournamentSection::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDataGCCStrike15_v2_TournamentSection::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDataGCCStrike15_v2_TournamentSection::release_name() { - // @@protoc_insertion_point(field_release:CDataGCCStrike15_v2_TournamentSection.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDataGCCStrike15_v2_TournamentSection::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDataGCCStrike15_v2_TournamentSection.name) -} - -// optional string desc = 3; -inline bool CDataGCCStrike15_v2_TournamentSection::_internal_has_desc() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CDataGCCStrike15_v2_TournamentSection::has_desc() const { - return _internal_has_desc(); -} -inline void CDataGCCStrike15_v2_TournamentSection::clear_desc() { - _impl_.desc_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CDataGCCStrike15_v2_TournamentSection::desc() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentSection.desc) - return _internal_desc(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDataGCCStrike15_v2_TournamentSection::set_desc(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.desc_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDataGCCStrike15_v2_TournamentSection.desc) -} -inline std::string* CDataGCCStrike15_v2_TournamentSection::mutable_desc() { - std::string* _s = _internal_mutable_desc(); - // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentSection.desc) - return _s; -} -inline const std::string& CDataGCCStrike15_v2_TournamentSection::_internal_desc() const { - return _impl_.desc_.Get(); -} -inline void CDataGCCStrike15_v2_TournamentSection::_internal_set_desc(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.desc_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDataGCCStrike15_v2_TournamentSection::_internal_mutable_desc() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.desc_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDataGCCStrike15_v2_TournamentSection::release_desc() { - // @@protoc_insertion_point(field_release:CDataGCCStrike15_v2_TournamentSection.desc) - if (!_internal_has_desc()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.desc_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.desc_.IsDefault()) { - _impl_.desc_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDataGCCStrike15_v2_TournamentSection::set_allocated_desc(std::string* desc) { - if (desc != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.desc_.SetAllocated(desc, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.desc_.IsDefault()) { - _impl_.desc_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDataGCCStrike15_v2_TournamentSection.desc) -} - -// repeated .CDataGCCStrike15_v2_TournamentGroup groups = 4; -inline int CDataGCCStrike15_v2_TournamentSection::_internal_groups_size() const { - return _impl_.groups_.size(); -} -inline int CDataGCCStrike15_v2_TournamentSection::groups_size() const { - return _internal_groups_size(); -} -inline void CDataGCCStrike15_v2_TournamentSection::clear_groups() { - _impl_.groups_.Clear(); -} -inline ::CDataGCCStrike15_v2_TournamentGroup* CDataGCCStrike15_v2_TournamentSection::mutable_groups(int index) { - // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentSection.groups) - return _impl_.groups_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup >* -CDataGCCStrike15_v2_TournamentSection::mutable_groups() { - // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentSection.groups) - return &_impl_.groups_; -} -inline const ::CDataGCCStrike15_v2_TournamentGroup& CDataGCCStrike15_v2_TournamentSection::_internal_groups(int index) const { - return _impl_.groups_.Get(index); -} -inline const ::CDataGCCStrike15_v2_TournamentGroup& CDataGCCStrike15_v2_TournamentSection::groups(int index) const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentSection.groups) - return _internal_groups(index); -} -inline ::CDataGCCStrike15_v2_TournamentGroup* CDataGCCStrike15_v2_TournamentSection::_internal_add_groups() { - return _impl_.groups_.Add(); -} -inline ::CDataGCCStrike15_v2_TournamentGroup* CDataGCCStrike15_v2_TournamentSection::add_groups() { - ::CDataGCCStrike15_v2_TournamentGroup* _add = _internal_add_groups(); - // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentSection.groups) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentGroup >& -CDataGCCStrike15_v2_TournamentSection::groups() const { - // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentSection.groups) - return _impl_.groups_; -} - -// ------------------------------------------------------------------- - -// CDataGCCStrike15_v2_TournamentInfo - -// repeated .CDataGCCStrike15_v2_TournamentSection sections = 1; -inline int CDataGCCStrike15_v2_TournamentInfo::_internal_sections_size() const { - return _impl_.sections_.size(); -} -inline int CDataGCCStrike15_v2_TournamentInfo::sections_size() const { - return _internal_sections_size(); -} -inline void CDataGCCStrike15_v2_TournamentInfo::clear_sections() { - _impl_.sections_.Clear(); -} -inline ::CDataGCCStrike15_v2_TournamentSection* CDataGCCStrike15_v2_TournamentInfo::mutable_sections(int index) { - // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentInfo.sections) - return _impl_.sections_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentSection >* -CDataGCCStrike15_v2_TournamentInfo::mutable_sections() { - // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentInfo.sections) - return &_impl_.sections_; -} -inline const ::CDataGCCStrike15_v2_TournamentSection& CDataGCCStrike15_v2_TournamentInfo::_internal_sections(int index) const { - return _impl_.sections_.Get(index); -} -inline const ::CDataGCCStrike15_v2_TournamentSection& CDataGCCStrike15_v2_TournamentInfo::sections(int index) const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentInfo.sections) - return _internal_sections(index); -} -inline ::CDataGCCStrike15_v2_TournamentSection* CDataGCCStrike15_v2_TournamentInfo::_internal_add_sections() { - return _impl_.sections_.Add(); -} -inline ::CDataGCCStrike15_v2_TournamentSection* CDataGCCStrike15_v2_TournamentInfo::add_sections() { - ::CDataGCCStrike15_v2_TournamentSection* _add = _internal_add_sections(); - // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentInfo.sections) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_TournamentSection >& -CDataGCCStrike15_v2_TournamentInfo::sections() const { - // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentInfo.sections) - return _impl_.sections_; -} - -// optional .TournamentEvent tournament_event = 2; -inline bool CDataGCCStrike15_v2_TournamentInfo::_internal_has_tournament_event() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.tournament_event_ != nullptr); - return value; -} -inline bool CDataGCCStrike15_v2_TournamentInfo::has_tournament_event() const { - return _internal_has_tournament_event(); -} -inline void CDataGCCStrike15_v2_TournamentInfo::clear_tournament_event() { - if (_impl_.tournament_event_ != nullptr) _impl_.tournament_event_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::TournamentEvent& CDataGCCStrike15_v2_TournamentInfo::_internal_tournament_event() const { - const ::TournamentEvent* p = _impl_.tournament_event_; - return p != nullptr ? *p : reinterpret_cast( - ::_TournamentEvent_default_instance_); -} -inline const ::TournamentEvent& CDataGCCStrike15_v2_TournamentInfo::tournament_event() const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentInfo.tournament_event) - return _internal_tournament_event(); -} -inline void CDataGCCStrike15_v2_TournamentInfo::unsafe_arena_set_allocated_tournament_event( - ::TournamentEvent* tournament_event) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tournament_event_); - } - _impl_.tournament_event_ = tournament_event; - if (tournament_event) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CDataGCCStrike15_v2_TournamentInfo.tournament_event) -} -inline ::TournamentEvent* CDataGCCStrike15_v2_TournamentInfo::release_tournament_event() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::TournamentEvent* temp = _impl_.tournament_event_; - _impl_.tournament_event_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::TournamentEvent* CDataGCCStrike15_v2_TournamentInfo::unsafe_arena_release_tournament_event() { - // @@protoc_insertion_point(field_release:CDataGCCStrike15_v2_TournamentInfo.tournament_event) - _impl_._has_bits_[0] &= ~0x00000001u; - ::TournamentEvent* temp = _impl_.tournament_event_; - _impl_.tournament_event_ = nullptr; - return temp; -} -inline ::TournamentEvent* CDataGCCStrike15_v2_TournamentInfo::_internal_mutable_tournament_event() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.tournament_event_ == nullptr) { - auto* p = CreateMaybeMessage<::TournamentEvent>(GetArenaForAllocation()); - _impl_.tournament_event_ = p; - } - return _impl_.tournament_event_; -} -inline ::TournamentEvent* CDataGCCStrike15_v2_TournamentInfo::mutable_tournament_event() { - ::TournamentEvent* _msg = _internal_mutable_tournament_event(); - // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentInfo.tournament_event) - return _msg; -} -inline void CDataGCCStrike15_v2_TournamentInfo::set_allocated_tournament_event(::TournamentEvent* tournament_event) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.tournament_event_; - } - if (tournament_event) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(tournament_event); - if (message_arena != submessage_arena) { - tournament_event = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, tournament_event, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.tournament_event_ = tournament_event; - // @@protoc_insertion_point(field_set_allocated:CDataGCCStrike15_v2_TournamentInfo.tournament_event) -} - -// repeated .TournamentTeam tournament_teams = 3; -inline int CDataGCCStrike15_v2_TournamentInfo::_internal_tournament_teams_size() const { - return _impl_.tournament_teams_.size(); -} -inline int CDataGCCStrike15_v2_TournamentInfo::tournament_teams_size() const { - return _internal_tournament_teams_size(); -} -inline void CDataGCCStrike15_v2_TournamentInfo::clear_tournament_teams() { - _impl_.tournament_teams_.Clear(); -} -inline ::TournamentTeam* CDataGCCStrike15_v2_TournamentInfo::mutable_tournament_teams(int index) { - // @@protoc_insertion_point(field_mutable:CDataGCCStrike15_v2_TournamentInfo.tournament_teams) - return _impl_.tournament_teams_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >* -CDataGCCStrike15_v2_TournamentInfo::mutable_tournament_teams() { - // @@protoc_insertion_point(field_mutable_list:CDataGCCStrike15_v2_TournamentInfo.tournament_teams) - return &_impl_.tournament_teams_; -} -inline const ::TournamentTeam& CDataGCCStrike15_v2_TournamentInfo::_internal_tournament_teams(int index) const { - return _impl_.tournament_teams_.Get(index); -} -inline const ::TournamentTeam& CDataGCCStrike15_v2_TournamentInfo::tournament_teams(int index) const { - // @@protoc_insertion_point(field_get:CDataGCCStrike15_v2_TournamentInfo.tournament_teams) - return _internal_tournament_teams(index); -} -inline ::TournamentTeam* CDataGCCStrike15_v2_TournamentInfo::_internal_add_tournament_teams() { - return _impl_.tournament_teams_.Add(); -} -inline ::TournamentTeam* CDataGCCStrike15_v2_TournamentInfo::add_tournament_teams() { - ::TournamentTeam* _add = _internal_add_tournament_teams(); - // @@protoc_insertion_point(field_add:CDataGCCStrike15_v2_TournamentInfo.tournament_teams) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >& -CDataGCCStrike15_v2_TournamentInfo::tournament_teams() const { - // @@protoc_insertion_point(field_list:CDataGCCStrike15_v2_TournamentInfo.tournament_teams) - return _impl_.tournament_teams_; -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchList - -// optional uint32 msgrequestid = 1; -inline bool CMsgGCCStrike15_v2_MatchList::_internal_has_msgrequestid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchList::has_msgrequestid() const { - return _internal_has_msgrequestid(); -} -inline void CMsgGCCStrike15_v2_MatchList::clear_msgrequestid() { - _impl_.msgrequestid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchList::_internal_msgrequestid() const { - return _impl_.msgrequestid_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchList::msgrequestid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchList.msgrequestid) - return _internal_msgrequestid(); -} -inline void CMsgGCCStrike15_v2_MatchList::_internal_set_msgrequestid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.msgrequestid_ = value; -} -inline void CMsgGCCStrike15_v2_MatchList::set_msgrequestid(uint32_t value) { - _internal_set_msgrequestid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchList.msgrequestid) -} - -// optional uint32 accountid = 2; -inline bool CMsgGCCStrike15_v2_MatchList::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchList::has_accountid() const { - return _internal_has_accountid(); -} -inline void CMsgGCCStrike15_v2_MatchList::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchList::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchList::accountid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchList.accountid) - return _internal_accountid(); -} -inline void CMsgGCCStrike15_v2_MatchList::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.accountid_ = value; -} -inline void CMsgGCCStrike15_v2_MatchList::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchList.accountid) -} - -// optional uint32 servertime = 3; -inline bool CMsgGCCStrike15_v2_MatchList::_internal_has_servertime() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchList::has_servertime() const { - return _internal_has_servertime(); -} -inline void CMsgGCCStrike15_v2_MatchList::clear_servertime() { - _impl_.servertime_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchList::_internal_servertime() const { - return _impl_.servertime_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchList::servertime() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchList.servertime) - return _internal_servertime(); -} -inline void CMsgGCCStrike15_v2_MatchList::_internal_set_servertime(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.servertime_ = value; -} -inline void CMsgGCCStrike15_v2_MatchList::set_servertime(uint32_t value) { - _internal_set_servertime(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchList.servertime) -} - -// repeated .CDataGCCStrike15_v2_MatchInfo matches = 4; -inline int CMsgGCCStrike15_v2_MatchList::_internal_matches_size() const { - return _impl_.matches_.size(); -} -inline int CMsgGCCStrike15_v2_MatchList::matches_size() const { - return _internal_matches_size(); -} -inline void CMsgGCCStrike15_v2_MatchList::clear_matches() { - _impl_.matches_.Clear(); -} -inline ::CDataGCCStrike15_v2_MatchInfo* CMsgGCCStrike15_v2_MatchList::mutable_matches(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchList.matches) - return _impl_.matches_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo >* -CMsgGCCStrike15_v2_MatchList::mutable_matches() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchList.matches) - return &_impl_.matches_; -} -inline const ::CDataGCCStrike15_v2_MatchInfo& CMsgGCCStrike15_v2_MatchList::_internal_matches(int index) const { - return _impl_.matches_.Get(index); -} -inline const ::CDataGCCStrike15_v2_MatchInfo& CMsgGCCStrike15_v2_MatchList::matches(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchList.matches) - return _internal_matches(index); -} -inline ::CDataGCCStrike15_v2_MatchInfo* CMsgGCCStrike15_v2_MatchList::_internal_add_matches() { - return _impl_.matches_.Add(); -} -inline ::CDataGCCStrike15_v2_MatchInfo* CMsgGCCStrike15_v2_MatchList::add_matches() { - ::CDataGCCStrike15_v2_MatchInfo* _add = _internal_add_matches(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchList.matches) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo >& -CMsgGCCStrike15_v2_MatchList::matches() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchList.matches) - return _impl_.matches_; -} - -// repeated .TournamentTeam streams = 5; -inline int CMsgGCCStrike15_v2_MatchList::_internal_streams_size() const { - return _impl_.streams_.size(); -} -inline int CMsgGCCStrike15_v2_MatchList::streams_size() const { - return _internal_streams_size(); -} -inline void CMsgGCCStrike15_v2_MatchList::clear_streams() { - _impl_.streams_.Clear(); -} -inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchList::mutable_streams(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchList.streams) - return _impl_.streams_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >* -CMsgGCCStrike15_v2_MatchList::mutable_streams() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchList.streams) - return &_impl_.streams_; -} -inline const ::TournamentTeam& CMsgGCCStrike15_v2_MatchList::_internal_streams(int index) const { - return _impl_.streams_.Get(index); -} -inline const ::TournamentTeam& CMsgGCCStrike15_v2_MatchList::streams(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchList.streams) - return _internal_streams(index); -} -inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchList::_internal_add_streams() { - return _impl_.streams_.Add(); -} -inline ::TournamentTeam* CMsgGCCStrike15_v2_MatchList::add_streams() { - ::TournamentTeam* _add = _internal_add_streams(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchList.streams) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::TournamentTeam >& -CMsgGCCStrike15_v2_MatchList::streams() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchList.streams) - return _impl_.streams_; -} - -// optional .CDataGCCStrike15_v2_TournamentInfo tournamentinfo = 6; -inline bool CMsgGCCStrike15_v2_MatchList::_internal_has_tournamentinfo() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.tournamentinfo_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_MatchList::has_tournamentinfo() const { - return _internal_has_tournamentinfo(); -} -inline void CMsgGCCStrike15_v2_MatchList::clear_tournamentinfo() { - if (_impl_.tournamentinfo_ != nullptr) _impl_.tournamentinfo_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CDataGCCStrike15_v2_TournamentInfo& CMsgGCCStrike15_v2_MatchList::_internal_tournamentinfo() const { - const ::CDataGCCStrike15_v2_TournamentInfo* p = _impl_.tournamentinfo_; - return p != nullptr ? *p : reinterpret_cast( - ::_CDataGCCStrike15_v2_TournamentInfo_default_instance_); -} -inline const ::CDataGCCStrike15_v2_TournamentInfo& CMsgGCCStrike15_v2_MatchList::tournamentinfo() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchList.tournamentinfo) - return _internal_tournamentinfo(); -} -inline void CMsgGCCStrike15_v2_MatchList::unsafe_arena_set_allocated_tournamentinfo( - ::CDataGCCStrike15_v2_TournamentInfo* tournamentinfo) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tournamentinfo_); - } - _impl_.tournamentinfo_ = tournamentinfo; - if (tournamentinfo) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_MatchList.tournamentinfo) -} -inline ::CDataGCCStrike15_v2_TournamentInfo* CMsgGCCStrike15_v2_MatchList::release_tournamentinfo() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CDataGCCStrike15_v2_TournamentInfo* temp = _impl_.tournamentinfo_; - _impl_.tournamentinfo_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CDataGCCStrike15_v2_TournamentInfo* CMsgGCCStrike15_v2_MatchList::unsafe_arena_release_tournamentinfo() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_MatchList.tournamentinfo) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CDataGCCStrike15_v2_TournamentInfo* temp = _impl_.tournamentinfo_; - _impl_.tournamentinfo_ = nullptr; - return temp; -} -inline ::CDataGCCStrike15_v2_TournamentInfo* CMsgGCCStrike15_v2_MatchList::_internal_mutable_tournamentinfo() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.tournamentinfo_ == nullptr) { - auto* p = CreateMaybeMessage<::CDataGCCStrike15_v2_TournamentInfo>(GetArenaForAllocation()); - _impl_.tournamentinfo_ = p; - } - return _impl_.tournamentinfo_; -} -inline ::CDataGCCStrike15_v2_TournamentInfo* CMsgGCCStrike15_v2_MatchList::mutable_tournamentinfo() { - ::CDataGCCStrike15_v2_TournamentInfo* _msg = _internal_mutable_tournamentinfo(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchList.tournamentinfo) - return _msg; -} -inline void CMsgGCCStrike15_v2_MatchList::set_allocated_tournamentinfo(::CDataGCCStrike15_v2_TournamentInfo* tournamentinfo) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.tournamentinfo_; - } - if (tournamentinfo) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(tournamentinfo); - if (message_arena != submessage_arena) { - tournamentinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, tournamentinfo, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.tournamentinfo_ = tournamentinfo; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_MatchList.tournamentinfo) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt - -// optional int32 eventid = 1; -inline bool CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_internal_has_eventid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::has_eventid() const { - return _internal_has_eventid(); -} -inline void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::clear_eventid() { - _impl_.eventid_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_internal_eventid() const { - return _impl_.eventid_; -} -inline int32_t CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::eventid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt.eventid) - return _internal_eventid(); -} -inline void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_internal_set_eventid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.eventid_ = value; -} -inline void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::set_eventid(int32_t value) { - _internal_set_eventid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt.eventid) -} - -// repeated .CDataGCCStrike15_v2_MatchInfo matches = 2; -inline int CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_internal_matches_size() const { - return _impl_.matches_.size(); -} -inline int CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::matches_size() const { - return _internal_matches_size(); -} -inline void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::clear_matches() { - _impl_.matches_.Clear(); -} -inline ::CDataGCCStrike15_v2_MatchInfo* CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::mutable_matches(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt.matches) - return _impl_.matches_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo >* -CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::mutable_matches() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt.matches) - return &_impl_.matches_; -} -inline const ::CDataGCCStrike15_v2_MatchInfo& CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_internal_matches(int index) const { - return _impl_.matches_.Get(index); -} -inline const ::CDataGCCStrike15_v2_MatchInfo& CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::matches(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt.matches) - return _internal_matches(index); -} -inline ::CDataGCCStrike15_v2_MatchInfo* CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_internal_add_matches() { - return _impl_.matches_.Add(); -} -inline ::CDataGCCStrike15_v2_MatchInfo* CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::add_matches() { - ::CDataGCCStrike15_v2_MatchInfo* _add = _internal_add_matches(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt.matches) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDataGCCStrike15_v2_MatchInfo >& -CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::matches() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt.matches) - return _impl_.matches_; -} - -// optional uint32 accountid = 3; -inline bool CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::has_accountid() const { - return _internal_has_accountid(); -} -inline void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::accountid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt.accountid) - return _internal_accountid(); -} -inline void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.accountid_ = value; -} -inline void CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt.accountid) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick - -// optional int32 sectionid = 1; -inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_has_sectionid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::has_sectionid() const { - return _internal_has_sectionid(); -} -inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::clear_sectionid() { - _impl_.sectionid_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_sectionid() const { - return _impl_.sectionid_; -} -inline int32_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::sectionid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.sectionid) - return _internal_sectionid(); -} -inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_set_sectionid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sectionid_ = value; -} -inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::set_sectionid(int32_t value) { - _internal_set_sectionid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.sectionid) -} - -// optional int32 groupid = 2; -inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_has_groupid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::has_groupid() const { - return _internal_has_groupid(); -} -inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::clear_groupid() { - _impl_.groupid_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_groupid() const { - return _impl_.groupid_; -} -inline int32_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::groupid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.groupid) - return _internal_groupid(); -} -inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_set_groupid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.groupid_ = value; -} -inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::set_groupid(int32_t value) { - _internal_set_groupid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.groupid) -} - -// optional int32 index = 3; -inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_has_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::has_index() const { - return _internal_has_index(); -} -inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::clear_index() { - _impl_.index_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_index() const { - return _impl_.index_; -} -inline int32_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::index() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.index) - return _internal_index(); -} -inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_set_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.index_ = value; -} -inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::set_index(int32_t value) { - _internal_set_index(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.index) -} - -// optional int32 teamid = 4; -inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_has_teamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::has_teamid() const { - return _internal_has_teamid(); -} -inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::clear_teamid() { - _impl_.teamid_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_teamid() const { - return _impl_.teamid_; -} -inline int32_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::teamid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.teamid) - return _internal_teamid(); -} -inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_set_teamid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.teamid_ = value; -} -inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::set_teamid(int32_t value) { - _internal_set_teamid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.teamid) -} - -// optional uint64 itemid = 5; -inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_has_itemid() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::has_itemid() const { - return _internal_has_itemid(); -} -inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::clear_itemid() { - _impl_.itemid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_itemid() const { - return _impl_.itemid_; -} -inline uint64_t CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::itemid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.itemid) - return _internal_itemid(); -} -inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::_internal_set_itemid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.itemid_ = value; -} -inline void CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick::set_itemid(uint64_t value) { - _internal_set_itemid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick.itemid) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Predictions - -// optional uint32 event_id = 1; -inline bool CMsgGCCStrike15_v2_Predictions::_internal_has_event_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Predictions::has_event_id() const { - return _internal_has_event_id(); -} -inline void CMsgGCCStrike15_v2_Predictions::clear_event_id() { - _impl_.event_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_Predictions::_internal_event_id() const { - return _impl_.event_id_; -} -inline uint32_t CMsgGCCStrike15_v2_Predictions::event_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Predictions.event_id) - return _internal_event_id(); -} -inline void CMsgGCCStrike15_v2_Predictions::_internal_set_event_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_id_ = value; -} -inline void CMsgGCCStrike15_v2_Predictions::set_event_id(uint32_t value) { - _internal_set_event_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Predictions.event_id) -} - -// repeated .CMsgGCCStrike15_v2_Predictions.GroupMatchTeamPick group_match_team_picks = 2; -inline int CMsgGCCStrike15_v2_Predictions::_internal_group_match_team_picks_size() const { - return _impl_.group_match_team_picks_.size(); -} -inline int CMsgGCCStrike15_v2_Predictions::group_match_team_picks_size() const { - return _internal_group_match_team_picks_size(); -} -inline void CMsgGCCStrike15_v2_Predictions::clear_group_match_team_picks() { - _impl_.group_match_team_picks_.Clear(); -} -inline ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* CMsgGCCStrike15_v2_Predictions::mutable_group_match_team_picks(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_Predictions.group_match_team_picks) - return _impl_.group_match_team_picks_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick >* -CMsgGCCStrike15_v2_Predictions::mutable_group_match_team_picks() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_Predictions.group_match_team_picks) - return &_impl_.group_match_team_picks_; -} -inline const ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& CMsgGCCStrike15_v2_Predictions::_internal_group_match_team_picks(int index) const { - return _impl_.group_match_team_picks_.Get(index); -} -inline const ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick& CMsgGCCStrike15_v2_Predictions::group_match_team_picks(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Predictions.group_match_team_picks) - return _internal_group_match_team_picks(index); -} -inline ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* CMsgGCCStrike15_v2_Predictions::_internal_add_group_match_team_picks() { - return _impl_.group_match_team_picks_.Add(); -} -inline ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* CMsgGCCStrike15_v2_Predictions::add_group_match_team_picks() { - ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick* _add = _internal_add_group_match_team_picks(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_Predictions.group_match_team_picks) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Predictions_GroupMatchTeamPick >& -CMsgGCCStrike15_v2_Predictions::group_match_team_picks() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_Predictions.group_match_team_picks) - return _impl_.group_match_team_picks_; -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Fantasy_FantasySlot - -// optional int32 type = 1; -inline bool CMsgGCCStrike15_v2_Fantasy_FantasySlot::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Fantasy_FantasySlot::has_type() const { - return _internal_has_type(); -} -inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::clear_type() { - _impl_.type_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CMsgGCCStrike15_v2_Fantasy_FantasySlot::_internal_type() const { - return _impl_.type_; -} -inline int32_t CMsgGCCStrike15_v2_Fantasy_FantasySlot::type() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Fantasy.FantasySlot.type) - return _internal_type(); -} -inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::_internal_set_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.type_ = value; -} -inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::set_type(int32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Fantasy.FantasySlot.type) -} - -// optional int32 pick = 2; -inline bool CMsgGCCStrike15_v2_Fantasy_FantasySlot::_internal_has_pick() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Fantasy_FantasySlot::has_pick() const { - return _internal_has_pick(); -} -inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::clear_pick() { - _impl_.pick_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgGCCStrike15_v2_Fantasy_FantasySlot::_internal_pick() const { - return _impl_.pick_; -} -inline int32_t CMsgGCCStrike15_v2_Fantasy_FantasySlot::pick() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Fantasy.FantasySlot.pick) - return _internal_pick(); -} -inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::_internal_set_pick(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.pick_ = value; -} -inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::set_pick(int32_t value) { - _internal_set_pick(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Fantasy.FantasySlot.pick) -} - -// optional uint64 itemid = 3; -inline bool CMsgGCCStrike15_v2_Fantasy_FantasySlot::_internal_has_itemid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Fantasy_FantasySlot::has_itemid() const { - return _internal_has_itemid(); -} -inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::clear_itemid() { - _impl_.itemid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgGCCStrike15_v2_Fantasy_FantasySlot::_internal_itemid() const { - return _impl_.itemid_; -} -inline uint64_t CMsgGCCStrike15_v2_Fantasy_FantasySlot::itemid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Fantasy.FantasySlot.itemid) - return _internal_itemid(); -} -inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::_internal_set_itemid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.itemid_ = value; -} -inline void CMsgGCCStrike15_v2_Fantasy_FantasySlot::set_itemid(uint64_t value) { - _internal_set_itemid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Fantasy.FantasySlot.itemid) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Fantasy_FantasyTeam - -// optional int32 sectionid = 1; -inline bool CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_internal_has_sectionid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Fantasy_FantasyTeam::has_sectionid() const { - return _internal_has_sectionid(); -} -inline void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::clear_sectionid() { - _impl_.sectionid_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_internal_sectionid() const { - return _impl_.sectionid_; -} -inline int32_t CMsgGCCStrike15_v2_Fantasy_FantasyTeam::sectionid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Fantasy.FantasyTeam.sectionid) - return _internal_sectionid(); -} -inline void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_internal_set_sectionid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sectionid_ = value; -} -inline void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::set_sectionid(int32_t value) { - _internal_set_sectionid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Fantasy.FantasyTeam.sectionid) -} - -// repeated .CMsgGCCStrike15_v2_Fantasy.FantasySlot slots = 2; -inline int CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_internal_slots_size() const { - return _impl_.slots_.size(); -} -inline int CMsgGCCStrike15_v2_Fantasy_FantasyTeam::slots_size() const { - return _internal_slots_size(); -} -inline void CMsgGCCStrike15_v2_Fantasy_FantasyTeam::clear_slots() { - _impl_.slots_.Clear(); -} -inline ::CMsgGCCStrike15_v2_Fantasy_FantasySlot* CMsgGCCStrike15_v2_Fantasy_FantasyTeam::mutable_slots(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_Fantasy.FantasyTeam.slots) - return _impl_.slots_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasySlot >* -CMsgGCCStrike15_v2_Fantasy_FantasyTeam::mutable_slots() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_Fantasy.FantasyTeam.slots) - return &_impl_.slots_; -} -inline const ::CMsgGCCStrike15_v2_Fantasy_FantasySlot& CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_internal_slots(int index) const { - return _impl_.slots_.Get(index); -} -inline const ::CMsgGCCStrike15_v2_Fantasy_FantasySlot& CMsgGCCStrike15_v2_Fantasy_FantasyTeam::slots(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Fantasy.FantasyTeam.slots) - return _internal_slots(index); -} -inline ::CMsgGCCStrike15_v2_Fantasy_FantasySlot* CMsgGCCStrike15_v2_Fantasy_FantasyTeam::_internal_add_slots() { - return _impl_.slots_.Add(); -} -inline ::CMsgGCCStrike15_v2_Fantasy_FantasySlot* CMsgGCCStrike15_v2_Fantasy_FantasyTeam::add_slots() { - ::CMsgGCCStrike15_v2_Fantasy_FantasySlot* _add = _internal_add_slots(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_Fantasy.FantasyTeam.slots) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasySlot >& -CMsgGCCStrike15_v2_Fantasy_FantasyTeam::slots() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_Fantasy.FantasyTeam.slots) - return _impl_.slots_; -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Fantasy - -// optional uint32 event_id = 1; -inline bool CMsgGCCStrike15_v2_Fantasy::_internal_has_event_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Fantasy::has_event_id() const { - return _internal_has_event_id(); -} -inline void CMsgGCCStrike15_v2_Fantasy::clear_event_id() { - _impl_.event_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_Fantasy::_internal_event_id() const { - return _impl_.event_id_; -} -inline uint32_t CMsgGCCStrike15_v2_Fantasy::event_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Fantasy.event_id) - return _internal_event_id(); -} -inline void CMsgGCCStrike15_v2_Fantasy::_internal_set_event_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_id_ = value; -} -inline void CMsgGCCStrike15_v2_Fantasy::set_event_id(uint32_t value) { - _internal_set_event_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Fantasy.event_id) -} - -// repeated .CMsgGCCStrike15_v2_Fantasy.FantasyTeam teams = 2; -inline int CMsgGCCStrike15_v2_Fantasy::_internal_teams_size() const { - return _impl_.teams_.size(); -} -inline int CMsgGCCStrike15_v2_Fantasy::teams_size() const { - return _internal_teams_size(); -} -inline void CMsgGCCStrike15_v2_Fantasy::clear_teams() { - _impl_.teams_.Clear(); -} -inline ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam* CMsgGCCStrike15_v2_Fantasy::mutable_teams(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_Fantasy.teams) - return _impl_.teams_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam >* -CMsgGCCStrike15_v2_Fantasy::mutable_teams() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_Fantasy.teams) - return &_impl_.teams_; -} -inline const ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam& CMsgGCCStrike15_v2_Fantasy::_internal_teams(int index) const { - return _impl_.teams_.Get(index); -} -inline const ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam& CMsgGCCStrike15_v2_Fantasy::teams(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Fantasy.teams) - return _internal_teams(index); -} -inline ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam* CMsgGCCStrike15_v2_Fantasy::_internal_add_teams() { - return _impl_.teams_.Add(); -} -inline ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam* CMsgGCCStrike15_v2_Fantasy::add_teams() { - ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam* _add = _internal_add_teams(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_Fantasy.teams) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Fantasy_FantasyTeam >& -CMsgGCCStrike15_v2_Fantasy::teams() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_Fantasy.teams) - return _impl_.teams_; -} - -// ------------------------------------------------------------------- - -// CAttribute_String - -// optional string value = 1; -inline bool CAttribute_String::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CAttribute_String::has_value() const { - return _internal_has_value(); -} -inline void CAttribute_String::clear_value() { - _impl_.value_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CAttribute_String::value() const { - // @@protoc_insertion_point(field_get:CAttribute_String.value) - return _internal_value(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CAttribute_String::set_value(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CAttribute_String.value) -} -inline std::string* CAttribute_String::mutable_value() { - std::string* _s = _internal_mutable_value(); - // @@protoc_insertion_point(field_mutable:CAttribute_String.value) - return _s; -} -inline const std::string& CAttribute_String::_internal_value() const { - return _impl_.value_.Get(); -} -inline void CAttribute_String::_internal_set_value(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.value_.Set(value, GetArenaForAllocation()); -} -inline std::string* CAttribute_String::_internal_mutable_value() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.value_.Mutable(GetArenaForAllocation()); -} -inline std::string* CAttribute_String::release_value() { - // @@protoc_insertion_point(field_release:CAttribute_String.value) - if (!_internal_has_value()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.value_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_.IsDefault()) { - _impl_.value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CAttribute_String::set_allocated_value(std::string* value) { - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.value_.SetAllocated(value, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_.IsDefault()) { - _impl_.value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CAttribute_String.value) -} - -// ------------------------------------------------------------------- - -// CMsgLegacySource1ClientWelcome_Location - -// optional float latitude = 1; -inline bool CMsgLegacySource1ClientWelcome_Location::_internal_has_latitude() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgLegacySource1ClientWelcome_Location::has_latitude() const { - return _internal_has_latitude(); -} -inline void CMsgLegacySource1ClientWelcome_Location::clear_latitude() { - _impl_.latitude_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CMsgLegacySource1ClientWelcome_Location::_internal_latitude() const { - return _impl_.latitude_; -} -inline float CMsgLegacySource1ClientWelcome_Location::latitude() const { - // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.Location.latitude) - return _internal_latitude(); -} -inline void CMsgLegacySource1ClientWelcome_Location::_internal_set_latitude(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.latitude_ = value; -} -inline void CMsgLegacySource1ClientWelcome_Location::set_latitude(float value) { - _internal_set_latitude(value); - // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.Location.latitude) -} - -// optional float longitude = 2; -inline bool CMsgLegacySource1ClientWelcome_Location::_internal_has_longitude() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgLegacySource1ClientWelcome_Location::has_longitude() const { - return _internal_has_longitude(); -} -inline void CMsgLegacySource1ClientWelcome_Location::clear_longitude() { - _impl_.longitude_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CMsgLegacySource1ClientWelcome_Location::_internal_longitude() const { - return _impl_.longitude_; -} -inline float CMsgLegacySource1ClientWelcome_Location::longitude() const { - // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.Location.longitude) - return _internal_longitude(); -} -inline void CMsgLegacySource1ClientWelcome_Location::_internal_set_longitude(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.longitude_ = value; -} -inline void CMsgLegacySource1ClientWelcome_Location::set_longitude(float value) { - _internal_set_longitude(value); - // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.Location.longitude) -} - -// optional string country = 3; -inline bool CMsgLegacySource1ClientWelcome_Location::_internal_has_country() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgLegacySource1ClientWelcome_Location::has_country() const { - return _internal_has_country(); -} -inline void CMsgLegacySource1ClientWelcome_Location::clear_country() { - _impl_.country_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgLegacySource1ClientWelcome_Location::country() const { - // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.Location.country) - return _internal_country(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgLegacySource1ClientWelcome_Location::set_country(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.country_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.Location.country) -} -inline std::string* CMsgLegacySource1ClientWelcome_Location::mutable_country() { - std::string* _s = _internal_mutable_country(); - // @@protoc_insertion_point(field_mutable:CMsgLegacySource1ClientWelcome.Location.country) - return _s; -} -inline const std::string& CMsgLegacySource1ClientWelcome_Location::_internal_country() const { - return _impl_.country_.Get(); -} -inline void CMsgLegacySource1ClientWelcome_Location::_internal_set_country(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.country_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgLegacySource1ClientWelcome_Location::_internal_mutable_country() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.country_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgLegacySource1ClientWelcome_Location::release_country() { - // @@protoc_insertion_point(field_release:CMsgLegacySource1ClientWelcome.Location.country) - if (!_internal_has_country()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.country_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.country_.IsDefault()) { - _impl_.country_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgLegacySource1ClientWelcome_Location::set_allocated_country(std::string* country) { - if (country != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.country_.SetAllocated(country, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.country_.IsDefault()) { - _impl_.country_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgLegacySource1ClientWelcome.Location.country) -} - -// ------------------------------------------------------------------- - -// CMsgLegacySource1ClientWelcome - -// optional uint32 version = 1; -inline bool CMsgLegacySource1ClientWelcome::_internal_has_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgLegacySource1ClientWelcome::has_version() const { - return _internal_has_version(); -} -inline void CMsgLegacySource1ClientWelcome::clear_version() { - _impl_.version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgLegacySource1ClientWelcome::_internal_version() const { - return _impl_.version_; -} -inline uint32_t CMsgLegacySource1ClientWelcome::version() const { - // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.version) - return _internal_version(); -} -inline void CMsgLegacySource1ClientWelcome::_internal_set_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.version_ = value; -} -inline void CMsgLegacySource1ClientWelcome::set_version(uint32_t value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.version) -} - -// optional bytes game_data = 2; -inline bool CMsgLegacySource1ClientWelcome::_internal_has_game_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgLegacySource1ClientWelcome::has_game_data() const { - return _internal_has_game_data(); -} -inline void CMsgLegacySource1ClientWelcome::clear_game_data() { - _impl_.game_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgLegacySource1ClientWelcome::game_data() const { - // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.game_data) - return _internal_game_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgLegacySource1ClientWelcome::set_game_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.game_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.game_data) -} -inline std::string* CMsgLegacySource1ClientWelcome::mutable_game_data() { - std::string* _s = _internal_mutable_game_data(); - // @@protoc_insertion_point(field_mutable:CMsgLegacySource1ClientWelcome.game_data) - return _s; -} -inline const std::string& CMsgLegacySource1ClientWelcome::_internal_game_data() const { - return _impl_.game_data_.Get(); -} -inline void CMsgLegacySource1ClientWelcome::_internal_set_game_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.game_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgLegacySource1ClientWelcome::_internal_mutable_game_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.game_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgLegacySource1ClientWelcome::release_game_data() { - // @@protoc_insertion_point(field_release:CMsgLegacySource1ClientWelcome.game_data) - if (!_internal_has_game_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.game_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_data_.IsDefault()) { - _impl_.game_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgLegacySource1ClientWelcome::set_allocated_game_data(std::string* game_data) { - if (game_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.game_data_.SetAllocated(game_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_data_.IsDefault()) { - _impl_.game_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgLegacySource1ClientWelcome.game_data) -} - -// repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; -inline int CMsgLegacySource1ClientWelcome::_internal_outofdate_subscribed_caches_size() const { - return _impl_.outofdate_subscribed_caches_.size(); -} -inline int CMsgLegacySource1ClientWelcome::outofdate_subscribed_caches_size() const { - return _internal_outofdate_subscribed_caches_size(); -} -inline ::CMsgSOCacheSubscribed* CMsgLegacySource1ClientWelcome::mutable_outofdate_subscribed_caches(int index) { - // @@protoc_insertion_point(field_mutable:CMsgLegacySource1ClientWelcome.outofdate_subscribed_caches) - return _impl_.outofdate_subscribed_caches_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed >* -CMsgLegacySource1ClientWelcome::mutable_outofdate_subscribed_caches() { - // @@protoc_insertion_point(field_mutable_list:CMsgLegacySource1ClientWelcome.outofdate_subscribed_caches) - return &_impl_.outofdate_subscribed_caches_; -} -inline const ::CMsgSOCacheSubscribed& CMsgLegacySource1ClientWelcome::_internal_outofdate_subscribed_caches(int index) const { - return _impl_.outofdate_subscribed_caches_.Get(index); -} -inline const ::CMsgSOCacheSubscribed& CMsgLegacySource1ClientWelcome::outofdate_subscribed_caches(int index) const { - // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.outofdate_subscribed_caches) - return _internal_outofdate_subscribed_caches(index); -} -inline ::CMsgSOCacheSubscribed* CMsgLegacySource1ClientWelcome::_internal_add_outofdate_subscribed_caches() { - return _impl_.outofdate_subscribed_caches_.Add(); -} -inline ::CMsgSOCacheSubscribed* CMsgLegacySource1ClientWelcome::add_outofdate_subscribed_caches() { - ::CMsgSOCacheSubscribed* _add = _internal_add_outofdate_subscribed_caches(); - // @@protoc_insertion_point(field_add:CMsgLegacySource1ClientWelcome.outofdate_subscribed_caches) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed >& -CMsgLegacySource1ClientWelcome::outofdate_subscribed_caches() const { - // @@protoc_insertion_point(field_list:CMsgLegacySource1ClientWelcome.outofdate_subscribed_caches) - return _impl_.outofdate_subscribed_caches_; -} - -// repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; -inline int CMsgLegacySource1ClientWelcome::_internal_uptodate_subscribed_caches_size() const { - return _impl_.uptodate_subscribed_caches_.size(); -} -inline int CMsgLegacySource1ClientWelcome::uptodate_subscribed_caches_size() const { - return _internal_uptodate_subscribed_caches_size(); -} -inline ::CMsgSOCacheSubscriptionCheck* CMsgLegacySource1ClientWelcome::mutable_uptodate_subscribed_caches(int index) { - // @@protoc_insertion_point(field_mutable:CMsgLegacySource1ClientWelcome.uptodate_subscribed_caches) - return _impl_.uptodate_subscribed_caches_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck >* -CMsgLegacySource1ClientWelcome::mutable_uptodate_subscribed_caches() { - // @@protoc_insertion_point(field_mutable_list:CMsgLegacySource1ClientWelcome.uptodate_subscribed_caches) - return &_impl_.uptodate_subscribed_caches_; -} -inline const ::CMsgSOCacheSubscriptionCheck& CMsgLegacySource1ClientWelcome::_internal_uptodate_subscribed_caches(int index) const { - return _impl_.uptodate_subscribed_caches_.Get(index); -} -inline const ::CMsgSOCacheSubscriptionCheck& CMsgLegacySource1ClientWelcome::uptodate_subscribed_caches(int index) const { - // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.uptodate_subscribed_caches) - return _internal_uptodate_subscribed_caches(index); -} -inline ::CMsgSOCacheSubscriptionCheck* CMsgLegacySource1ClientWelcome::_internal_add_uptodate_subscribed_caches() { - return _impl_.uptodate_subscribed_caches_.Add(); -} -inline ::CMsgSOCacheSubscriptionCheck* CMsgLegacySource1ClientWelcome::add_uptodate_subscribed_caches() { - ::CMsgSOCacheSubscriptionCheck* _add = _internal_add_uptodate_subscribed_caches(); - // @@protoc_insertion_point(field_add:CMsgLegacySource1ClientWelcome.uptodate_subscribed_caches) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck >& -CMsgLegacySource1ClientWelcome::uptodate_subscribed_caches() const { - // @@protoc_insertion_point(field_list:CMsgLegacySource1ClientWelcome.uptodate_subscribed_caches) - return _impl_.uptodate_subscribed_caches_; -} - -// optional .CMsgLegacySource1ClientWelcome.Location location = 5; -inline bool CMsgLegacySource1ClientWelcome::_internal_has_location() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.location_ != nullptr); - return value; -} -inline bool CMsgLegacySource1ClientWelcome::has_location() const { - return _internal_has_location(); -} -inline void CMsgLegacySource1ClientWelcome::clear_location() { - if (_impl_.location_ != nullptr) _impl_.location_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const ::CMsgLegacySource1ClientWelcome_Location& CMsgLegacySource1ClientWelcome::_internal_location() const { - const ::CMsgLegacySource1ClientWelcome_Location* p = _impl_.location_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgLegacySource1ClientWelcome_Location_default_instance_); -} -inline const ::CMsgLegacySource1ClientWelcome_Location& CMsgLegacySource1ClientWelcome::location() const { - // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.location) - return _internal_location(); -} -inline void CMsgLegacySource1ClientWelcome::unsafe_arena_set_allocated_location( - ::CMsgLegacySource1ClientWelcome_Location* location) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_); - } - _impl_.location_ = location; - if (location) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgLegacySource1ClientWelcome.location) -} -inline ::CMsgLegacySource1ClientWelcome_Location* CMsgLegacySource1ClientWelcome::release_location() { - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgLegacySource1ClientWelcome_Location* temp = _impl_.location_; - _impl_.location_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgLegacySource1ClientWelcome_Location* CMsgLegacySource1ClientWelcome::unsafe_arena_release_location() { - // @@protoc_insertion_point(field_release:CMsgLegacySource1ClientWelcome.location) - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgLegacySource1ClientWelcome_Location* temp = _impl_.location_; - _impl_.location_ = nullptr; - return temp; -} -inline ::CMsgLegacySource1ClientWelcome_Location* CMsgLegacySource1ClientWelcome::_internal_mutable_location() { - _impl_._has_bits_[0] |= 0x00000010u; - if (_impl_.location_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgLegacySource1ClientWelcome_Location>(GetArenaForAllocation()); - _impl_.location_ = p; - } - return _impl_.location_; -} -inline ::CMsgLegacySource1ClientWelcome_Location* CMsgLegacySource1ClientWelcome::mutable_location() { - ::CMsgLegacySource1ClientWelcome_Location* _msg = _internal_mutable_location(); - // @@protoc_insertion_point(field_mutable:CMsgLegacySource1ClientWelcome.location) - return _msg; -} -inline void CMsgLegacySource1ClientWelcome::set_allocated_location(::CMsgLegacySource1ClientWelcome_Location* location) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.location_; - } - if (location) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(location); - if (message_arena != submessage_arena) { - location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, location, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.location_ = location; - // @@protoc_insertion_point(field_set_allocated:CMsgLegacySource1ClientWelcome.location) -} - -// optional bytes game_data2 = 6; -inline bool CMsgLegacySource1ClientWelcome::_internal_has_game_data2() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgLegacySource1ClientWelcome::has_game_data2() const { - return _internal_has_game_data2(); -} -inline void CMsgLegacySource1ClientWelcome::clear_game_data2() { - _impl_.game_data2_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgLegacySource1ClientWelcome::game_data2() const { - // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.game_data2) - return _internal_game_data2(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgLegacySource1ClientWelcome::set_game_data2(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.game_data2_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.game_data2) -} -inline std::string* CMsgLegacySource1ClientWelcome::mutable_game_data2() { - std::string* _s = _internal_mutable_game_data2(); - // @@protoc_insertion_point(field_mutable:CMsgLegacySource1ClientWelcome.game_data2) - return _s; -} -inline const std::string& CMsgLegacySource1ClientWelcome::_internal_game_data2() const { - return _impl_.game_data2_.Get(); -} -inline void CMsgLegacySource1ClientWelcome::_internal_set_game_data2(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.game_data2_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgLegacySource1ClientWelcome::_internal_mutable_game_data2() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.game_data2_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgLegacySource1ClientWelcome::release_game_data2() { - // @@protoc_insertion_point(field_release:CMsgLegacySource1ClientWelcome.game_data2) - if (!_internal_has_game_data2()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.game_data2_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_data2_.IsDefault()) { - _impl_.game_data2_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgLegacySource1ClientWelcome::set_allocated_game_data2(std::string* game_data2) { - if (game_data2 != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.game_data2_.SetAllocated(game_data2, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_data2_.IsDefault()) { - _impl_.game_data2_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgLegacySource1ClientWelcome.game_data2) -} - -// optional uint32 rtime32_gc_welcome_timestamp = 7; -inline bool CMsgLegacySource1ClientWelcome::_internal_has_rtime32_gc_welcome_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgLegacySource1ClientWelcome::has_rtime32_gc_welcome_timestamp() const { - return _internal_has_rtime32_gc_welcome_timestamp(); -} -inline void CMsgLegacySource1ClientWelcome::clear_rtime32_gc_welcome_timestamp() { - _impl_.rtime32_gc_welcome_timestamp_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgLegacySource1ClientWelcome::_internal_rtime32_gc_welcome_timestamp() const { - return _impl_.rtime32_gc_welcome_timestamp_; -} -inline uint32_t CMsgLegacySource1ClientWelcome::rtime32_gc_welcome_timestamp() const { - // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.rtime32_gc_welcome_timestamp) - return _internal_rtime32_gc_welcome_timestamp(); -} -inline void CMsgLegacySource1ClientWelcome::_internal_set_rtime32_gc_welcome_timestamp(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.rtime32_gc_welcome_timestamp_ = value; -} -inline void CMsgLegacySource1ClientWelcome::set_rtime32_gc_welcome_timestamp(uint32_t value) { - _internal_set_rtime32_gc_welcome_timestamp(value); - // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.rtime32_gc_welcome_timestamp) -} - -// optional uint32 currency = 8; -inline bool CMsgLegacySource1ClientWelcome::_internal_has_currency() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgLegacySource1ClientWelcome::has_currency() const { - return _internal_has_currency(); -} -inline void CMsgLegacySource1ClientWelcome::clear_currency() { - _impl_.currency_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgLegacySource1ClientWelcome::_internal_currency() const { - return _impl_.currency_; -} -inline uint32_t CMsgLegacySource1ClientWelcome::currency() const { - // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.currency) - return _internal_currency(); -} -inline void CMsgLegacySource1ClientWelcome::_internal_set_currency(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.currency_ = value; -} -inline void CMsgLegacySource1ClientWelcome::set_currency(uint32_t value) { - _internal_set_currency(value); - // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.currency) -} - -// optional uint32 balance = 9; -inline bool CMsgLegacySource1ClientWelcome::_internal_has_balance() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgLegacySource1ClientWelcome::has_balance() const { - return _internal_has_balance(); -} -inline void CMsgLegacySource1ClientWelcome::clear_balance() { - _impl_.balance_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgLegacySource1ClientWelcome::_internal_balance() const { - return _impl_.balance_; -} -inline uint32_t CMsgLegacySource1ClientWelcome::balance() const { - // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.balance) - return _internal_balance(); -} -inline void CMsgLegacySource1ClientWelcome::_internal_set_balance(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.balance_ = value; -} -inline void CMsgLegacySource1ClientWelcome::set_balance(uint32_t value) { - _internal_set_balance(value); - // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.balance) -} - -// optional string balance_url = 10; -inline bool CMsgLegacySource1ClientWelcome::_internal_has_balance_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgLegacySource1ClientWelcome::has_balance_url() const { - return _internal_has_balance_url(); -} -inline void CMsgLegacySource1ClientWelcome::clear_balance_url() { - _impl_.balance_url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgLegacySource1ClientWelcome::balance_url() const { - // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.balance_url) - return _internal_balance_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgLegacySource1ClientWelcome::set_balance_url(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.balance_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.balance_url) -} -inline std::string* CMsgLegacySource1ClientWelcome::mutable_balance_url() { - std::string* _s = _internal_mutable_balance_url(); - // @@protoc_insertion_point(field_mutable:CMsgLegacySource1ClientWelcome.balance_url) - return _s; -} -inline const std::string& CMsgLegacySource1ClientWelcome::_internal_balance_url() const { - return _impl_.balance_url_.Get(); -} -inline void CMsgLegacySource1ClientWelcome::_internal_set_balance_url(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.balance_url_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgLegacySource1ClientWelcome::_internal_mutable_balance_url() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.balance_url_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgLegacySource1ClientWelcome::release_balance_url() { - // @@protoc_insertion_point(field_release:CMsgLegacySource1ClientWelcome.balance_url) - if (!_internal_has_balance_url()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.balance_url_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.balance_url_.IsDefault()) { - _impl_.balance_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgLegacySource1ClientWelcome::set_allocated_balance_url(std::string* balance_url) { - if (balance_url != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.balance_url_.SetAllocated(balance_url, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.balance_url_.IsDefault()) { - _impl_.balance_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgLegacySource1ClientWelcome.balance_url) -} - -// optional string txn_country_code = 11; -inline bool CMsgLegacySource1ClientWelcome::_internal_has_txn_country_code() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgLegacySource1ClientWelcome::has_txn_country_code() const { - return _internal_has_txn_country_code(); -} -inline void CMsgLegacySource1ClientWelcome::clear_txn_country_code() { - _impl_.txn_country_code_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CMsgLegacySource1ClientWelcome::txn_country_code() const { - // @@protoc_insertion_point(field_get:CMsgLegacySource1ClientWelcome.txn_country_code) - return _internal_txn_country_code(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgLegacySource1ClientWelcome::set_txn_country_code(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.txn_country_code_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgLegacySource1ClientWelcome.txn_country_code) -} -inline std::string* CMsgLegacySource1ClientWelcome::mutable_txn_country_code() { - std::string* _s = _internal_mutable_txn_country_code(); - // @@protoc_insertion_point(field_mutable:CMsgLegacySource1ClientWelcome.txn_country_code) - return _s; -} -inline const std::string& CMsgLegacySource1ClientWelcome::_internal_txn_country_code() const { - return _impl_.txn_country_code_.Get(); -} -inline void CMsgLegacySource1ClientWelcome::_internal_set_txn_country_code(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.txn_country_code_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgLegacySource1ClientWelcome::_internal_mutable_txn_country_code() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.txn_country_code_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgLegacySource1ClientWelcome::release_txn_country_code() { - // @@protoc_insertion_point(field_release:CMsgLegacySource1ClientWelcome.txn_country_code) - if (!_internal_has_txn_country_code()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.txn_country_code_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.txn_country_code_.IsDefault()) { - _impl_.txn_country_code_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgLegacySource1ClientWelcome::set_allocated_txn_country_code(std::string* txn_country_code) { - if (txn_country_code != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.txn_country_code_.SetAllocated(txn_country_code, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.txn_country_code_.IsDefault()) { - _impl_.txn_country_code_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgLegacySource1ClientWelcome.txn_country_code) -} - -// ------------------------------------------------------------------- - -// CMsgCStrike15Welcome - -// optional uint32 store_item_hash = 5; -inline bool CMsgCStrike15Welcome::_internal_has_store_item_hash() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgCStrike15Welcome::has_store_item_hash() const { - return _internal_has_store_item_hash(); -} -inline void CMsgCStrike15Welcome::clear_store_item_hash() { - _impl_.store_item_hash_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgCStrike15Welcome::_internal_store_item_hash() const { - return _impl_.store_item_hash_; -} -inline uint32_t CMsgCStrike15Welcome::store_item_hash() const { - // @@protoc_insertion_point(field_get:CMsgCStrike15Welcome.store_item_hash) - return _internal_store_item_hash(); -} -inline void CMsgCStrike15Welcome::_internal_set_store_item_hash(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.store_item_hash_ = value; -} -inline void CMsgCStrike15Welcome::set_store_item_hash(uint32_t value) { - _internal_set_store_item_hash(value); - // @@protoc_insertion_point(field_set:CMsgCStrike15Welcome.store_item_hash) -} - -// optional uint32 timeplayedconsecutively = 6; -inline bool CMsgCStrike15Welcome::_internal_has_timeplayedconsecutively() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgCStrike15Welcome::has_timeplayedconsecutively() const { - return _internal_has_timeplayedconsecutively(); -} -inline void CMsgCStrike15Welcome::clear_timeplayedconsecutively() { - _impl_.timeplayedconsecutively_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgCStrike15Welcome::_internal_timeplayedconsecutively() const { - return _impl_.timeplayedconsecutively_; -} -inline uint32_t CMsgCStrike15Welcome::timeplayedconsecutively() const { - // @@protoc_insertion_point(field_get:CMsgCStrike15Welcome.timeplayedconsecutively) - return _internal_timeplayedconsecutively(); -} -inline void CMsgCStrike15Welcome::_internal_set_timeplayedconsecutively(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.timeplayedconsecutively_ = value; -} -inline void CMsgCStrike15Welcome::set_timeplayedconsecutively(uint32_t value) { - _internal_set_timeplayedconsecutively(value); - // @@protoc_insertion_point(field_set:CMsgCStrike15Welcome.timeplayedconsecutively) -} - -// optional uint32 time_first_played = 10; -inline bool CMsgCStrike15Welcome::_internal_has_time_first_played() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgCStrike15Welcome::has_time_first_played() const { - return _internal_has_time_first_played(); -} -inline void CMsgCStrike15Welcome::clear_time_first_played() { - _impl_.time_first_played_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgCStrike15Welcome::_internal_time_first_played() const { - return _impl_.time_first_played_; -} -inline uint32_t CMsgCStrike15Welcome::time_first_played() const { - // @@protoc_insertion_point(field_get:CMsgCStrike15Welcome.time_first_played) - return _internal_time_first_played(); -} -inline void CMsgCStrike15Welcome::_internal_set_time_first_played(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.time_first_played_ = value; -} -inline void CMsgCStrike15Welcome::set_time_first_played(uint32_t value) { - _internal_set_time_first_played(value); - // @@protoc_insertion_point(field_set:CMsgCStrike15Welcome.time_first_played) -} - -// optional uint32 last_time_played = 12; -inline bool CMsgCStrike15Welcome::_internal_has_last_time_played() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgCStrike15Welcome::has_last_time_played() const { - return _internal_has_last_time_played(); -} -inline void CMsgCStrike15Welcome::clear_last_time_played() { - _impl_.last_time_played_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgCStrike15Welcome::_internal_last_time_played() const { - return _impl_.last_time_played_; -} -inline uint32_t CMsgCStrike15Welcome::last_time_played() const { - // @@protoc_insertion_point(field_get:CMsgCStrike15Welcome.last_time_played) - return _internal_last_time_played(); -} -inline void CMsgCStrike15Welcome::_internal_set_last_time_played(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.last_time_played_ = value; -} -inline void CMsgCStrike15Welcome::set_last_time_played(uint32_t value) { - _internal_set_last_time_played(value); - // @@protoc_insertion_point(field_set:CMsgCStrike15Welcome.last_time_played) -} - -// optional uint32 last_ip_address = 13; -inline bool CMsgCStrike15Welcome::_internal_has_last_ip_address() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgCStrike15Welcome::has_last_ip_address() const { - return _internal_has_last_ip_address(); -} -inline void CMsgCStrike15Welcome::clear_last_ip_address() { - _impl_.last_ip_address_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgCStrike15Welcome::_internal_last_ip_address() const { - return _impl_.last_ip_address_; -} -inline uint32_t CMsgCStrike15Welcome::last_ip_address() const { - // @@protoc_insertion_point(field_get:CMsgCStrike15Welcome.last_ip_address) - return _internal_last_ip_address(); -} -inline void CMsgCStrike15Welcome::_internal_set_last_ip_address(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.last_ip_address_ = value; -} -inline void CMsgCStrike15Welcome::set_last_ip_address(uint32_t value) { - _internal_set_last_ip_address(value); - // @@protoc_insertion_point(field_set:CMsgCStrike15Welcome.last_ip_address) -} - -// optional uint64 gscookieid = 18; -inline bool CMsgCStrike15Welcome::_internal_has_gscookieid() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgCStrike15Welcome::has_gscookieid() const { - return _internal_has_gscookieid(); -} -inline void CMsgCStrike15Welcome::clear_gscookieid() { - _impl_.gscookieid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CMsgCStrike15Welcome::_internal_gscookieid() const { - return _impl_.gscookieid_; -} -inline uint64_t CMsgCStrike15Welcome::gscookieid() const { - // @@protoc_insertion_point(field_get:CMsgCStrike15Welcome.gscookieid) - return _internal_gscookieid(); -} -inline void CMsgCStrike15Welcome::_internal_set_gscookieid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.gscookieid_ = value; -} -inline void CMsgCStrike15Welcome::set_gscookieid(uint64_t value) { - _internal_set_gscookieid(value); - // @@protoc_insertion_point(field_set:CMsgCStrike15Welcome.gscookieid) -} - -// optional uint64 uniqueid = 19; -inline bool CMsgCStrike15Welcome::_internal_has_uniqueid() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgCStrike15Welcome::has_uniqueid() const { - return _internal_has_uniqueid(); -} -inline void CMsgCStrike15Welcome::clear_uniqueid() { - _impl_.uniqueid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint64_t CMsgCStrike15Welcome::_internal_uniqueid() const { - return _impl_.uniqueid_; -} -inline uint64_t CMsgCStrike15Welcome::uniqueid() const { - // @@protoc_insertion_point(field_get:CMsgCStrike15Welcome.uniqueid) - return _internal_uniqueid(); -} -inline void CMsgCStrike15Welcome::_internal_set_uniqueid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.uniqueid_ = value; -} -inline void CMsgCStrike15Welcome::set_uniqueid(uint64_t value) { - _internal_set_uniqueid(value); - // @@protoc_insertion_point(field_set:CMsgCStrike15Welcome.uniqueid) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientVarValueNotificationInfo - -// optional string value_name = 1; -inline bool CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_has_value_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::has_value_name() const { - return _internal_has_value_name(); -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::clear_value_name() { - _impl_.value_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::value_name() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.value_name) - return _internal_value_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::set_value_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.value_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.value_name) -} -inline std::string* CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::mutable_value_name() { - std::string* _s = _internal_mutable_value_name(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.value_name) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_value_name() const { - return _impl_.value_name_.Get(); -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_set_value_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.value_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_mutable_value_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.value_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::release_value_name() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.value_name) - if (!_internal_has_value_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.value_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_name_.IsDefault()) { - _impl_.value_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::set_allocated_value_name(std::string* value_name) { - if (value_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.value_name_.SetAllocated(value_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_name_.IsDefault()) { - _impl_.value_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.value_name) -} - -// optional int32 value_int = 2; -inline bool CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_has_value_int() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::has_value_int() const { - return _internal_has_value_int(); -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::clear_value_int() { - _impl_.value_int_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_value_int() const { - return _impl_.value_int_; -} -inline int32_t CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::value_int() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.value_int) - return _internal_value_int(); -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_set_value_int(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.value_int_ = value; -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::set_value_int(int32_t value) { - _internal_set_value_int(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.value_int) -} - -// optional uint32 server_addr = 3; -inline bool CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_has_server_addr() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::has_server_addr() const { - return _internal_has_server_addr(); -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::clear_server_addr() { - _impl_.server_addr_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_server_addr() const { - return _impl_.server_addr_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::server_addr() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.server_addr) - return _internal_server_addr(); -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_set_server_addr(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.server_addr_ = value; -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::set_server_addr(uint32_t value) { - _internal_set_server_addr(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.server_addr) -} - -// optional uint32 server_port = 4; -inline bool CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_has_server_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::has_server_port() const { - return _internal_has_server_port(); -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::clear_server_port() { - _impl_.server_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_server_port() const { - return _impl_.server_port_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::server_port() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.server_port) - return _internal_server_port(); -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_set_server_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.server_port_ = value; -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::set_server_port(uint32_t value) { - _internal_set_server_port(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.server_port) -} - -// repeated string choked_blocks = 5; -inline int CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_choked_blocks_size() const { - return _impl_.choked_blocks_.size(); -} -inline int CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::choked_blocks_size() const { - return _internal_choked_blocks_size(); -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::clear_choked_blocks() { - _impl_.choked_blocks_.Clear(); -} -inline std::string* CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::add_choked_blocks() { - std::string* _s = _internal_add_choked_blocks(); - // @@protoc_insertion_point(field_add_mutable:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_choked_blocks(int index) const { - return _impl_.choked_blocks_.Get(index); -} -inline const std::string& CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::choked_blocks(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) - return _internal_choked_blocks(index); -} -inline std::string* CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::mutable_choked_blocks(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) - return _impl_.choked_blocks_.Mutable(index); -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::set_choked_blocks(int index, const std::string& value) { - _impl_.choked_blocks_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::set_choked_blocks(int index, std::string&& value) { - _impl_.choked_blocks_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::set_choked_blocks(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.choked_blocks_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::set_choked_blocks(int index, const char* value, size_t size) { - _impl_.choked_blocks_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) -} -inline std::string* CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::_internal_add_choked_blocks() { - return _impl_.choked_blocks_.Add(); -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::add_choked_blocks(const std::string& value) { - _impl_.choked_blocks_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::add_choked_blocks(std::string&& value) { - _impl_.choked_blocks_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::add_choked_blocks(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.choked_blocks_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) -} -inline void CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::add_choked_blocks(const char* value, size_t size) { - _impl_.choked_blocks_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::choked_blocks() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) - return _impl_.choked_blocks_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CMsgGCCStrike15_v2_ClientVarValueNotificationInfo::mutable_choked_blocks() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientVarValueNotificationInfo.choked_blocks) - return &_impl_.choked_blocks_; -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ServerVarValueNotificationInfo - -// optional uint32 accountid = 1; -inline bool CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::has_accountid() const { - return _internal_has_accountid(); -} -inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::accountid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.accountid) - return _internal_accountid(); -} -inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.accountid_ = value; -} -inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.accountid) -} - -// repeated uint32 viewangles = 2; -inline int CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_viewangles_size() const { - return _impl_.viewangles_.size(); -} -inline int CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::viewangles_size() const { - return _internal_viewangles_size(); -} -inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::clear_viewangles() { - _impl_.viewangles_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_viewangles(int index) const { - return _impl_.viewangles_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::viewangles(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.viewangles) - return _internal_viewangles(index); -} -inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::set_viewangles(int index, uint32_t value) { - _impl_.viewangles_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.viewangles) -} -inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_add_viewangles(uint32_t value) { - _impl_.viewangles_.Add(value); -} -inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::add_viewangles(uint32_t value) { - _internal_add_viewangles(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.viewangles) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_viewangles() const { - return _impl_.viewangles_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::viewangles() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.viewangles) - return _internal_viewangles(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_mutable_viewangles() { - return &_impl_.viewangles_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::mutable_viewangles() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.viewangles) - return _internal_mutable_viewangles(); -} - -// optional uint32 type = 3; -inline bool CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::has_type() const { - return _internal_has_type(); -} -inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::clear_type() { - _impl_.type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_type() const { - return _impl_.type_; -} -inline uint32_t CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::type() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.type) - return _internal_type(); -} -inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_set_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.type_ = value; -} -inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::set_type(uint32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.type) -} - -// repeated uint32 userdata = 4; -inline int CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_userdata_size() const { - return _impl_.userdata_.size(); -} -inline int CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::userdata_size() const { - return _internal_userdata_size(); -} -inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::clear_userdata() { - _impl_.userdata_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_userdata(int index) const { - return _impl_.userdata_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::userdata(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.userdata) - return _internal_userdata(index); -} -inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::set_userdata(int index, uint32_t value) { - _impl_.userdata_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.userdata) -} -inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_add_userdata(uint32_t value) { - _impl_.userdata_.Add(value); -} -inline void CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::add_userdata(uint32_t value) { - _internal_add_userdata(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.userdata) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_userdata() const { - return _impl_.userdata_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::userdata() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.userdata) - return _internal_userdata(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::_internal_mutable_userdata() { - return &_impl_.userdata_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_ServerVarValueNotificationInfo::mutable_userdata() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ServerVarValueNotificationInfo.userdata) - return _internal_mutable_userdata(); -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_GiftsLeaderboardRequest - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry - -// optional uint32 accountid = 1; -inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::has_accountid() const { - return _internal_has_accountid(); -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::accountid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry.accountid) - return _internal_accountid(); -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.accountid_ = value; -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry.accountid) -} - -// optional uint32 gifts = 2; -inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_internal_has_gifts() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::has_gifts() const { - return _internal_has_gifts(); -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::clear_gifts() { - _impl_.gifts_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_internal_gifts() const { - return _impl_.gifts_; -} -inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::gifts() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry.gifts) - return _internal_gifts(); -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::_internal_set_gifts(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.gifts_ = value; -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry::set_gifts(uint32_t value) { - _internal_set_gifts(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry.gifts) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_GiftsLeaderboardResponse - -// optional uint32 servertime = 1; -inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_has_servertime() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse::has_servertime() const { - return _internal_has_servertime(); -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::clear_servertime() { - _impl_.servertime_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_servertime() const { - return _impl_.servertime_; -} -inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse::servertime() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.servertime) - return _internal_servertime(); -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_set_servertime(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.servertime_ = value; -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::set_servertime(uint32_t value) { - _internal_set_servertime(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.servertime) -} - -// optional uint32 time_period_seconds = 2; -inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_has_time_period_seconds() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse::has_time_period_seconds() const { - return _internal_has_time_period_seconds(); -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::clear_time_period_seconds() { - _impl_.time_period_seconds_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_time_period_seconds() const { - return _impl_.time_period_seconds_; -} -inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse::time_period_seconds() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.time_period_seconds) - return _internal_time_period_seconds(); -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_set_time_period_seconds(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.time_period_seconds_ = value; -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::set_time_period_seconds(uint32_t value) { - _internal_set_time_period_seconds(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.time_period_seconds) -} - -// optional uint32 total_gifts_given = 3; -inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_has_total_gifts_given() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse::has_total_gifts_given() const { - return _internal_has_total_gifts_given(); -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::clear_total_gifts_given() { - _impl_.total_gifts_given_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_total_gifts_given() const { - return _impl_.total_gifts_given_; -} -inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse::total_gifts_given() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.total_gifts_given) - return _internal_total_gifts_given(); -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_set_total_gifts_given(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.total_gifts_given_ = value; -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::set_total_gifts_given(uint32_t value) { - _internal_set_total_gifts_given(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.total_gifts_given) -} - -// optional uint32 total_givers = 4; -inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_has_total_givers() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GiftsLeaderboardResponse::has_total_givers() const { - return _internal_has_total_givers(); -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::clear_total_givers() { - _impl_.total_givers_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_total_givers() const { - return _impl_.total_givers_; -} -inline uint32_t CMsgGCCStrike15_v2_GiftsLeaderboardResponse::total_givers() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.total_givers) - return _internal_total_givers(); -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_set_total_givers(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.total_givers_ = value; -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::set_total_givers(uint32_t value) { - _internal_set_total_givers(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.total_givers) -} - -// repeated .CMsgGCCStrike15_v2_GiftsLeaderboardResponse.GiftLeaderboardEntry entries = 5; -inline int CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_entries_size() const { - return _impl_.entries_.size(); -} -inline int CMsgGCCStrike15_v2_GiftsLeaderboardResponse::entries_size() const { - return _internal_entries_size(); -} -inline void CMsgGCCStrike15_v2_GiftsLeaderboardResponse::clear_entries() { - _impl_.entries_.Clear(); -} -inline ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* CMsgGCCStrike15_v2_GiftsLeaderboardResponse::mutable_entries(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.entries) - return _impl_.entries_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry >* -CMsgGCCStrike15_v2_GiftsLeaderboardResponse::mutable_entries() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.entries) - return &_impl_.entries_; -} -inline const ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_entries(int index) const { - return _impl_.entries_.Get(index); -} -inline const ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry& CMsgGCCStrike15_v2_GiftsLeaderboardResponse::entries(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.entries) - return _internal_entries(index); -} -inline ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* CMsgGCCStrike15_v2_GiftsLeaderboardResponse::_internal_add_entries() { - return _impl_.entries_.Add(); -} -inline ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* CMsgGCCStrike15_v2_GiftsLeaderboardResponse::add_entries() { - ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry* _add = _internal_add_entries(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.entries) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_GiftsLeaderboardResponse_GiftLeaderboardEntry >& -CMsgGCCStrike15_v2_GiftsLeaderboardResponse::entries() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_GiftsLeaderboardResponse.entries) - return _impl_.entries_; -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientSubmitSurveyVote - -// optional uint32 survey_id = 1; -inline bool CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_internal_has_survey_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientSubmitSurveyVote::has_survey_id() const { - return _internal_has_survey_id(); -} -inline void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::clear_survey_id() { - _impl_.survey_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_internal_survey_id() const { - return _impl_.survey_id_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientSubmitSurveyVote::survey_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientSubmitSurveyVote.survey_id) - return _internal_survey_id(); -} -inline void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_internal_set_survey_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.survey_id_ = value; -} -inline void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::set_survey_id(uint32_t value) { - _internal_set_survey_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientSubmitSurveyVote.survey_id) -} - -// optional uint32 vote = 2; -inline bool CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_internal_has_vote() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientSubmitSurveyVote::has_vote() const { - return _internal_has_vote(); -} -inline void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::clear_vote() { - _impl_.vote_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_internal_vote() const { - return _impl_.vote_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientSubmitSurveyVote::vote() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientSubmitSurveyVote.vote) - return _internal_vote(); -} -inline void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::_internal_set_vote(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.vote_ = value; -} -inline void CMsgGCCStrike15_v2_ClientSubmitSurveyVote::set_vote(uint32_t value) { - _internal_set_vote(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientSubmitSurveyVote.vote) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Server2GCClientValidate - -// optional uint32 accountid = 1; -inline bool CMsgGCCStrike15_v2_Server2GCClientValidate::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Server2GCClientValidate::has_accountid() const { - return _internal_has_accountid(); -} -inline void CMsgGCCStrike15_v2_Server2GCClientValidate::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_Server2GCClientValidate::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t CMsgGCCStrike15_v2_Server2GCClientValidate::accountid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Server2GCClientValidate.accountid) - return _internal_accountid(); -} -inline void CMsgGCCStrike15_v2_Server2GCClientValidate::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.accountid_ = value; -} -inline void CMsgGCCStrike15_v2_Server2GCClientValidate::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Server2GCClientValidate.accountid) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_GC2ClientTournamentInfo - -// optional uint32 eventid = 1; -inline bool CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_has_eventid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientTournamentInfo::has_eventid() const { - return _internal_has_eventid(); -} -inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::clear_eventid() { - _impl_.eventid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_eventid() const { - return _impl_.eventid_; -} -inline uint32_t CMsgGCCStrike15_v2_GC2ClientTournamentInfo::eventid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.eventid) - return _internal_eventid(); -} -inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_set_eventid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.eventid_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::set_eventid(uint32_t value) { - _internal_set_eventid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.eventid) -} - -// optional uint32 stageid = 2; -inline bool CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_has_stageid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientTournamentInfo::has_stageid() const { - return _internal_has_stageid(); -} -inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::clear_stageid() { - _impl_.stageid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_stageid() const { - return _impl_.stageid_; -} -inline uint32_t CMsgGCCStrike15_v2_GC2ClientTournamentInfo::stageid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.stageid) - return _internal_stageid(); -} -inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_set_stageid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.stageid_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::set_stageid(uint32_t value) { - _internal_set_stageid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.stageid) -} - -// optional uint32 game_type = 3; -inline bool CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_has_game_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientTournamentInfo::has_game_type() const { - return _internal_has_game_type(); -} -inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::clear_game_type() { - _impl_.game_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_game_type() const { - return _impl_.game_type_; -} -inline uint32_t CMsgGCCStrike15_v2_GC2ClientTournamentInfo::game_type() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.game_type) - return _internal_game_type(); -} -inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_set_game_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.game_type_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::set_game_type(uint32_t value) { - _internal_set_game_type(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.game_type) -} - -// repeated uint32 teamids = 4; -inline int CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_teamids_size() const { - return _impl_.teamids_.size(); -} -inline int CMsgGCCStrike15_v2_GC2ClientTournamentInfo::teamids_size() const { - return _internal_teamids_size(); -} -inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::clear_teamids() { - _impl_.teamids_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_teamids(int index) const { - return _impl_.teamids_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_GC2ClientTournamentInfo::teamids(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.teamids) - return _internal_teamids(index); -} -inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::set_teamids(int index, uint32_t value) { - _impl_.teamids_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.teamids) -} -inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_add_teamids(uint32_t value) { - _impl_.teamids_.Add(value); -} -inline void CMsgGCCStrike15_v2_GC2ClientTournamentInfo::add_teamids(uint32_t value) { - _internal_add_teamids(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.teamids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_teamids() const { - return _impl_.teamids_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_GC2ClientTournamentInfo::teamids() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.teamids) - return _internal_teamids(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_GC2ClientTournamentInfo::_internal_mutable_teamids() { - return &_impl_.teamids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_GC2ClientTournamentInfo::mutable_teamids() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_GC2ClientTournamentInfo.teamids) - return _internal_mutable_teamids(); -} - -// ------------------------------------------------------------------- - -// CSOEconCoupon - -// optional uint32 entryid = 1 [(.key_field) = true]; -inline bool CSOEconCoupon::_internal_has_entryid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOEconCoupon::has_entryid() const { - return _internal_has_entryid(); -} -inline void CSOEconCoupon::clear_entryid() { - _impl_.entryid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOEconCoupon::_internal_entryid() const { - return _impl_.entryid_; -} -inline uint32_t CSOEconCoupon::entryid() const { - // @@protoc_insertion_point(field_get:CSOEconCoupon.entryid) - return _internal_entryid(); -} -inline void CSOEconCoupon::_internal_set_entryid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.entryid_ = value; -} -inline void CSOEconCoupon::set_entryid(uint32_t value) { - _internal_set_entryid(value); - // @@protoc_insertion_point(field_set:CSOEconCoupon.entryid) -} - -// optional uint32 defidx = 2; -inline bool CSOEconCoupon::_internal_has_defidx() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOEconCoupon::has_defidx() const { - return _internal_has_defidx(); -} -inline void CSOEconCoupon::clear_defidx() { - _impl_.defidx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSOEconCoupon::_internal_defidx() const { - return _impl_.defidx_; -} -inline uint32_t CSOEconCoupon::defidx() const { - // @@protoc_insertion_point(field_get:CSOEconCoupon.defidx) - return _internal_defidx(); -} -inline void CSOEconCoupon::_internal_set_defidx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.defidx_ = value; -} -inline void CSOEconCoupon::set_defidx(uint32_t value) { - _internal_set_defidx(value); - // @@protoc_insertion_point(field_set:CSOEconCoupon.defidx) -} - -// optional fixed32 expiration_date = 3; -inline bool CSOEconCoupon::_internal_has_expiration_date() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOEconCoupon::has_expiration_date() const { - return _internal_has_expiration_date(); -} -inline void CSOEconCoupon::clear_expiration_date() { - _impl_.expiration_date_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CSOEconCoupon::_internal_expiration_date() const { - return _impl_.expiration_date_; -} -inline uint32_t CSOEconCoupon::expiration_date() const { - // @@protoc_insertion_point(field_get:CSOEconCoupon.expiration_date) - return _internal_expiration_date(); -} -inline void CSOEconCoupon::_internal_set_expiration_date(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.expiration_date_ = value; -} -inline void CSOEconCoupon::set_expiration_date(uint32_t value) { - _internal_set_expiration_date(value); - // @@protoc_insertion_point(field_set:CSOEconCoupon.expiration_date) -} - -// ------------------------------------------------------------------- - -// CSOAccountItemPersonalStore - -// optional uint32 generation_time = 1; -inline bool CSOAccountItemPersonalStore::_internal_has_generation_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOAccountItemPersonalStore::has_generation_time() const { - return _internal_has_generation_time(); -} -inline void CSOAccountItemPersonalStore::clear_generation_time() { - _impl_.generation_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOAccountItemPersonalStore::_internal_generation_time() const { - return _impl_.generation_time_; -} -inline uint32_t CSOAccountItemPersonalStore::generation_time() const { - // @@protoc_insertion_point(field_get:CSOAccountItemPersonalStore.generation_time) - return _internal_generation_time(); -} -inline void CSOAccountItemPersonalStore::_internal_set_generation_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.generation_time_ = value; -} -inline void CSOAccountItemPersonalStore::set_generation_time(uint32_t value) { - _internal_set_generation_time(value); - // @@protoc_insertion_point(field_set:CSOAccountItemPersonalStore.generation_time) -} - -// optional uint32 redeemable_balance = 2; -inline bool CSOAccountItemPersonalStore::_internal_has_redeemable_balance() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOAccountItemPersonalStore::has_redeemable_balance() const { - return _internal_has_redeemable_balance(); -} -inline void CSOAccountItemPersonalStore::clear_redeemable_balance() { - _impl_.redeemable_balance_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSOAccountItemPersonalStore::_internal_redeemable_balance() const { - return _impl_.redeemable_balance_; -} -inline uint32_t CSOAccountItemPersonalStore::redeemable_balance() const { - // @@protoc_insertion_point(field_get:CSOAccountItemPersonalStore.redeemable_balance) - return _internal_redeemable_balance(); -} -inline void CSOAccountItemPersonalStore::_internal_set_redeemable_balance(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.redeemable_balance_ = value; -} -inline void CSOAccountItemPersonalStore::set_redeemable_balance(uint32_t value) { - _internal_set_redeemable_balance(value); - // @@protoc_insertion_point(field_set:CSOAccountItemPersonalStore.redeemable_balance) -} - -// repeated uint64 items = 3; -inline int CSOAccountItemPersonalStore::_internal_items_size() const { - return _impl_.items_.size(); -} -inline int CSOAccountItemPersonalStore::items_size() const { - return _internal_items_size(); -} -inline void CSOAccountItemPersonalStore::clear_items() { - _impl_.items_.Clear(); -} -inline uint64_t CSOAccountItemPersonalStore::_internal_items(int index) const { - return _impl_.items_.Get(index); -} -inline uint64_t CSOAccountItemPersonalStore::items(int index) const { - // @@protoc_insertion_point(field_get:CSOAccountItemPersonalStore.items) - return _internal_items(index); -} -inline void CSOAccountItemPersonalStore::set_items(int index, uint64_t value) { - _impl_.items_.Set(index, value); - // @@protoc_insertion_point(field_set:CSOAccountItemPersonalStore.items) -} -inline void CSOAccountItemPersonalStore::_internal_add_items(uint64_t value) { - _impl_.items_.Add(value); -} -inline void CSOAccountItemPersonalStore::add_items(uint64_t value) { - _internal_add_items(value); - // @@protoc_insertion_point(field_add:CSOAccountItemPersonalStore.items) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CSOAccountItemPersonalStore::_internal_items() const { - return _impl_.items_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CSOAccountItemPersonalStore::items() const { - // @@protoc_insertion_point(field_list:CSOAccountItemPersonalStore.items) - return _internal_items(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CSOAccountItemPersonalStore::_internal_mutable_items() { - return &_impl_.items_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CSOAccountItemPersonalStore::mutable_items() { - // @@protoc_insertion_point(field_mutable_list:CSOAccountItemPersonalStore.items) - return _internal_mutable_items(); -} - -// ------------------------------------------------------------------- - -// CSOAccountXpShop - -// optional uint32 generation_time = 1; -inline bool CSOAccountXpShop::_internal_has_generation_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOAccountXpShop::has_generation_time() const { - return _internal_has_generation_time(); -} -inline void CSOAccountXpShop::clear_generation_time() { - _impl_.generation_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOAccountXpShop::_internal_generation_time() const { - return _impl_.generation_time_; -} -inline uint32_t CSOAccountXpShop::generation_time() const { - // @@protoc_insertion_point(field_get:CSOAccountXpShop.generation_time) - return _internal_generation_time(); -} -inline void CSOAccountXpShop::_internal_set_generation_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.generation_time_ = value; -} -inline void CSOAccountXpShop::set_generation_time(uint32_t value) { - _internal_set_generation_time(value); - // @@protoc_insertion_point(field_set:CSOAccountXpShop.generation_time) -} - -// optional uint32 redeemable_balance = 2; -inline bool CSOAccountXpShop::_internal_has_redeemable_balance() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOAccountXpShop::has_redeemable_balance() const { - return _internal_has_redeemable_balance(); -} -inline void CSOAccountXpShop::clear_redeemable_balance() { - _impl_.redeemable_balance_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSOAccountXpShop::_internal_redeemable_balance() const { - return _impl_.redeemable_balance_; -} -inline uint32_t CSOAccountXpShop::redeemable_balance() const { - // @@protoc_insertion_point(field_get:CSOAccountXpShop.redeemable_balance) - return _internal_redeemable_balance(); -} -inline void CSOAccountXpShop::_internal_set_redeemable_balance(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.redeemable_balance_ = value; -} -inline void CSOAccountXpShop::set_redeemable_balance(uint32_t value) { - _internal_set_redeemable_balance(value); - // @@protoc_insertion_point(field_set:CSOAccountXpShop.redeemable_balance) -} - -// repeated uint32 xp_tracks = 3; -inline int CSOAccountXpShop::_internal_xp_tracks_size() const { - return _impl_.xp_tracks_.size(); -} -inline int CSOAccountXpShop::xp_tracks_size() const { - return _internal_xp_tracks_size(); -} -inline void CSOAccountXpShop::clear_xp_tracks() { - _impl_.xp_tracks_.Clear(); -} -inline uint32_t CSOAccountXpShop::_internal_xp_tracks(int index) const { - return _impl_.xp_tracks_.Get(index); -} -inline uint32_t CSOAccountXpShop::xp_tracks(int index) const { - // @@protoc_insertion_point(field_get:CSOAccountXpShop.xp_tracks) - return _internal_xp_tracks(index); -} -inline void CSOAccountXpShop::set_xp_tracks(int index, uint32_t value) { - _impl_.xp_tracks_.Set(index, value); - // @@protoc_insertion_point(field_set:CSOAccountXpShop.xp_tracks) -} -inline void CSOAccountXpShop::_internal_add_xp_tracks(uint32_t value) { - _impl_.xp_tracks_.Add(value); -} -inline void CSOAccountXpShop::add_xp_tracks(uint32_t value) { - _internal_add_xp_tracks(value); - // @@protoc_insertion_point(field_add:CSOAccountXpShop.xp_tracks) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CSOAccountXpShop::_internal_xp_tracks() const { - return _impl_.xp_tracks_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CSOAccountXpShop::xp_tracks() const { - // @@protoc_insertion_point(field_list:CSOAccountXpShop.xp_tracks) - return _internal_xp_tracks(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CSOAccountXpShop::_internal_mutable_xp_tracks() { - return &_impl_.xp_tracks_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CSOAccountXpShop::mutable_xp_tracks() { - // @@protoc_insertion_point(field_mutable_list:CSOAccountXpShop.xp_tracks) - return _internal_mutable_xp_tracks(); -} - -// ------------------------------------------------------------------- - -// CSOAccountXpShopBids - -// optional uint32 campaign_id = 1 [(.key_field) = true]; -inline bool CSOAccountXpShopBids::_internal_has_campaign_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOAccountXpShopBids::has_campaign_id() const { - return _internal_has_campaign_id(); -} -inline void CSOAccountXpShopBids::clear_campaign_id() { - _impl_.campaign_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOAccountXpShopBids::_internal_campaign_id() const { - return _impl_.campaign_id_; -} -inline uint32_t CSOAccountXpShopBids::campaign_id() const { - // @@protoc_insertion_point(field_get:CSOAccountXpShopBids.campaign_id) - return _internal_campaign_id(); -} -inline void CSOAccountXpShopBids::_internal_set_campaign_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.campaign_id_ = value; -} -inline void CSOAccountXpShopBids::set_campaign_id(uint32_t value) { - _internal_set_campaign_id(value); - // @@protoc_insertion_point(field_set:CSOAccountXpShopBids.campaign_id) -} - -// optional uint32 redeem_id = 2 [(.key_field) = true]; -inline bool CSOAccountXpShopBids::_internal_has_redeem_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOAccountXpShopBids::has_redeem_id() const { - return _internal_has_redeem_id(); -} -inline void CSOAccountXpShopBids::clear_redeem_id() { - _impl_.redeem_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSOAccountXpShopBids::_internal_redeem_id() const { - return _impl_.redeem_id_; -} -inline uint32_t CSOAccountXpShopBids::redeem_id() const { - // @@protoc_insertion_point(field_get:CSOAccountXpShopBids.redeem_id) - return _internal_redeem_id(); -} -inline void CSOAccountXpShopBids::_internal_set_redeem_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.redeem_id_ = value; -} -inline void CSOAccountXpShopBids::set_redeem_id(uint32_t value) { - _internal_set_redeem_id(value); - // @@protoc_insertion_point(field_set:CSOAccountXpShopBids.redeem_id) -} - -// optional uint32 expected_cost = 3; -inline bool CSOAccountXpShopBids::_internal_has_expected_cost() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOAccountXpShopBids::has_expected_cost() const { - return _internal_has_expected_cost(); -} -inline void CSOAccountXpShopBids::clear_expected_cost() { - _impl_.expected_cost_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CSOAccountXpShopBids::_internal_expected_cost() const { - return _impl_.expected_cost_; -} -inline uint32_t CSOAccountXpShopBids::expected_cost() const { - // @@protoc_insertion_point(field_get:CSOAccountXpShopBids.expected_cost) - return _internal_expected_cost(); -} -inline void CSOAccountXpShopBids::_internal_set_expected_cost(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.expected_cost_ = value; -} -inline void CSOAccountXpShopBids::set_expected_cost(uint32_t value) { - _internal_set_expected_cost(value); - // @@protoc_insertion_point(field_set:CSOAccountXpShopBids.expected_cost) -} - -// optional uint32 generation_time = 4; -inline bool CSOAccountXpShopBids::_internal_has_generation_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSOAccountXpShopBids::has_generation_time() const { - return _internal_has_generation_time(); -} -inline void CSOAccountXpShopBids::clear_generation_time() { - _impl_.generation_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CSOAccountXpShopBids::_internal_generation_time() const { - return _impl_.generation_time_; -} -inline uint32_t CSOAccountXpShopBids::generation_time() const { - // @@protoc_insertion_point(field_get:CSOAccountXpShopBids.generation_time) - return _internal_generation_time(); -} -inline void CSOAccountXpShopBids::_internal_set_generation_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.generation_time_ = value; -} -inline void CSOAccountXpShopBids::set_generation_time(uint32_t value) { - _internal_set_generation_time(value); - // @@protoc_insertion_point(field_set:CSOAccountXpShopBids.generation_time) -} - -// ------------------------------------------------------------------- - -// CSOVolatileItemOffer - -// optional uint32 defidx = 1 [(.key_field) = true]; -inline bool CSOVolatileItemOffer::_internal_has_defidx() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOVolatileItemOffer::has_defidx() const { - return _internal_has_defidx(); -} -inline void CSOVolatileItemOffer::clear_defidx() { - _impl_.defidx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOVolatileItemOffer::_internal_defidx() const { - return _impl_.defidx_; -} -inline uint32_t CSOVolatileItemOffer::defidx() const { - // @@protoc_insertion_point(field_get:CSOVolatileItemOffer.defidx) - return _internal_defidx(); -} -inline void CSOVolatileItemOffer::_internal_set_defidx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.defidx_ = value; -} -inline void CSOVolatileItemOffer::set_defidx(uint32_t value) { - _internal_set_defidx(value); - // @@protoc_insertion_point(field_set:CSOVolatileItemOffer.defidx) -} - -// repeated uint64 faux_itemid = 2; -inline int CSOVolatileItemOffer::_internal_faux_itemid_size() const { - return _impl_.faux_itemid_.size(); -} -inline int CSOVolatileItemOffer::faux_itemid_size() const { - return _internal_faux_itemid_size(); -} -inline void CSOVolatileItemOffer::clear_faux_itemid() { - _impl_.faux_itemid_.Clear(); -} -inline uint64_t CSOVolatileItemOffer::_internal_faux_itemid(int index) const { - return _impl_.faux_itemid_.Get(index); -} -inline uint64_t CSOVolatileItemOffer::faux_itemid(int index) const { - // @@protoc_insertion_point(field_get:CSOVolatileItemOffer.faux_itemid) - return _internal_faux_itemid(index); -} -inline void CSOVolatileItemOffer::set_faux_itemid(int index, uint64_t value) { - _impl_.faux_itemid_.Set(index, value); - // @@protoc_insertion_point(field_set:CSOVolatileItemOffer.faux_itemid) -} -inline void CSOVolatileItemOffer::_internal_add_faux_itemid(uint64_t value) { - _impl_.faux_itemid_.Add(value); -} -inline void CSOVolatileItemOffer::add_faux_itemid(uint64_t value) { - _internal_add_faux_itemid(value); - // @@protoc_insertion_point(field_add:CSOVolatileItemOffer.faux_itemid) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CSOVolatileItemOffer::_internal_faux_itemid() const { - return _impl_.faux_itemid_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CSOVolatileItemOffer::faux_itemid() const { - // @@protoc_insertion_point(field_list:CSOVolatileItemOffer.faux_itemid) - return _internal_faux_itemid(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CSOVolatileItemOffer::_internal_mutable_faux_itemid() { - return &_impl_.faux_itemid_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CSOVolatileItemOffer::mutable_faux_itemid() { - // @@protoc_insertion_point(field_mutable_list:CSOVolatileItemOffer.faux_itemid) - return _internal_mutable_faux_itemid(); -} - -// repeated uint32 generation_time = 3; -inline int CSOVolatileItemOffer::_internal_generation_time_size() const { - return _impl_.generation_time_.size(); -} -inline int CSOVolatileItemOffer::generation_time_size() const { - return _internal_generation_time_size(); -} -inline void CSOVolatileItemOffer::clear_generation_time() { - _impl_.generation_time_.Clear(); -} -inline uint32_t CSOVolatileItemOffer::_internal_generation_time(int index) const { - return _impl_.generation_time_.Get(index); -} -inline uint32_t CSOVolatileItemOffer::generation_time(int index) const { - // @@protoc_insertion_point(field_get:CSOVolatileItemOffer.generation_time) - return _internal_generation_time(index); -} -inline void CSOVolatileItemOffer::set_generation_time(int index, uint32_t value) { - _impl_.generation_time_.Set(index, value); - // @@protoc_insertion_point(field_set:CSOVolatileItemOffer.generation_time) -} -inline void CSOVolatileItemOffer::_internal_add_generation_time(uint32_t value) { - _impl_.generation_time_.Add(value); -} -inline void CSOVolatileItemOffer::add_generation_time(uint32_t value) { - _internal_add_generation_time(value); - // @@protoc_insertion_point(field_add:CSOVolatileItemOffer.generation_time) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CSOVolatileItemOffer::_internal_generation_time() const { - return _impl_.generation_time_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CSOVolatileItemOffer::generation_time() const { - // @@protoc_insertion_point(field_list:CSOVolatileItemOffer.generation_time) - return _internal_generation_time(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CSOVolatileItemOffer::_internal_mutable_generation_time() { - return &_impl_.generation_time_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CSOVolatileItemOffer::mutable_generation_time() { - // @@protoc_insertion_point(field_mutable_list:CSOVolatileItemOffer.generation_time) - return _internal_mutable_generation_time(); -} - -// ------------------------------------------------------------------- - -// CSOVolatileItemClaimedRewards - -// optional uint32 defidx = 1 [(.key_field) = true]; -inline bool CSOVolatileItemClaimedRewards::_internal_has_defidx() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOVolatileItemClaimedRewards::has_defidx() const { - return _internal_has_defidx(); -} -inline void CSOVolatileItemClaimedRewards::clear_defidx() { - _impl_.defidx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOVolatileItemClaimedRewards::_internal_defidx() const { - return _impl_.defidx_; -} -inline uint32_t CSOVolatileItemClaimedRewards::defidx() const { - // @@protoc_insertion_point(field_get:CSOVolatileItemClaimedRewards.defidx) - return _internal_defidx(); -} -inline void CSOVolatileItemClaimedRewards::_internal_set_defidx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.defidx_ = value; -} -inline void CSOVolatileItemClaimedRewards::set_defidx(uint32_t value) { - _internal_set_defidx(value); - // @@protoc_insertion_point(field_set:CSOVolatileItemClaimedRewards.defidx) -} - -// repeated uint32 reward = 2; -inline int CSOVolatileItemClaimedRewards::_internal_reward_size() const { - return _impl_.reward_.size(); -} -inline int CSOVolatileItemClaimedRewards::reward_size() const { - return _internal_reward_size(); -} -inline void CSOVolatileItemClaimedRewards::clear_reward() { - _impl_.reward_.Clear(); -} -inline uint32_t CSOVolatileItemClaimedRewards::_internal_reward(int index) const { - return _impl_.reward_.Get(index); -} -inline uint32_t CSOVolatileItemClaimedRewards::reward(int index) const { - // @@protoc_insertion_point(field_get:CSOVolatileItemClaimedRewards.reward) - return _internal_reward(index); -} -inline void CSOVolatileItemClaimedRewards::set_reward(int index, uint32_t value) { - _impl_.reward_.Set(index, value); - // @@protoc_insertion_point(field_set:CSOVolatileItemClaimedRewards.reward) -} -inline void CSOVolatileItemClaimedRewards::_internal_add_reward(uint32_t value) { - _impl_.reward_.Add(value); -} -inline void CSOVolatileItemClaimedRewards::add_reward(uint32_t value) { - _internal_add_reward(value); - // @@protoc_insertion_point(field_add:CSOVolatileItemClaimedRewards.reward) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CSOVolatileItemClaimedRewards::_internal_reward() const { - return _impl_.reward_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CSOVolatileItemClaimedRewards::reward() const { - // @@protoc_insertion_point(field_list:CSOVolatileItemClaimedRewards.reward) - return _internal_reward(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CSOVolatileItemClaimedRewards::_internal_mutable_reward() { - return &_impl_.reward_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CSOVolatileItemClaimedRewards::mutable_reward() { - // @@protoc_insertion_point(field_mutable_list:CSOVolatileItemClaimedRewards.reward) - return _internal_mutable_reward(); -} - -// repeated uint32 generation_time = 3; -inline int CSOVolatileItemClaimedRewards::_internal_generation_time_size() const { - return _impl_.generation_time_.size(); -} -inline int CSOVolatileItemClaimedRewards::generation_time_size() const { - return _internal_generation_time_size(); -} -inline void CSOVolatileItemClaimedRewards::clear_generation_time() { - _impl_.generation_time_.Clear(); -} -inline uint32_t CSOVolatileItemClaimedRewards::_internal_generation_time(int index) const { - return _impl_.generation_time_.Get(index); -} -inline uint32_t CSOVolatileItemClaimedRewards::generation_time(int index) const { - // @@protoc_insertion_point(field_get:CSOVolatileItemClaimedRewards.generation_time) - return _internal_generation_time(index); -} -inline void CSOVolatileItemClaimedRewards::set_generation_time(int index, uint32_t value) { - _impl_.generation_time_.Set(index, value); - // @@protoc_insertion_point(field_set:CSOVolatileItemClaimedRewards.generation_time) -} -inline void CSOVolatileItemClaimedRewards::_internal_add_generation_time(uint32_t value) { - _impl_.generation_time_.Add(value); -} -inline void CSOVolatileItemClaimedRewards::add_generation_time(uint32_t value) { - _internal_add_generation_time(value); - // @@protoc_insertion_point(field_add:CSOVolatileItemClaimedRewards.generation_time) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CSOVolatileItemClaimedRewards::_internal_generation_time() const { - return _impl_.generation_time_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CSOVolatileItemClaimedRewards::generation_time() const { - // @@protoc_insertion_point(field_list:CSOVolatileItemClaimedRewards.generation_time) - return _internal_generation_time(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CSOVolatileItemClaimedRewards::_internal_mutable_generation_time() { - return &_impl_.generation_time_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CSOVolatileItemClaimedRewards::mutable_generation_time() { - // @@protoc_insertion_point(field_mutable_list:CSOVolatileItemClaimedRewards.generation_time) - return _internal_mutable_generation_time(); -} - -// ------------------------------------------------------------------- - -// CSOAccountKeychainRemoveToolCharges - -// optional uint32 charges = 1; -inline bool CSOAccountKeychainRemoveToolCharges::_internal_has_charges() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOAccountKeychainRemoveToolCharges::has_charges() const { - return _internal_has_charges(); -} -inline void CSOAccountKeychainRemoveToolCharges::clear_charges() { - _impl_.charges_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOAccountKeychainRemoveToolCharges::_internal_charges() const { - return _impl_.charges_; -} -inline uint32_t CSOAccountKeychainRemoveToolCharges::charges() const { - // @@protoc_insertion_point(field_get:CSOAccountKeychainRemoveToolCharges.charges) - return _internal_charges(); -} -inline void CSOAccountKeychainRemoveToolCharges::_internal_set_charges(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.charges_ = value; -} -inline void CSOAccountKeychainRemoveToolCharges::set_charges(uint32_t value) { - _internal_set_charges(value); - // @@protoc_insertion_point(field_set:CSOAccountKeychainRemoveToolCharges.charges) -} - -// ------------------------------------------------------------------- - -// CSOQuestProgress - -// optional uint32 questid = 1 [(.key_field) = true]; -inline bool CSOQuestProgress::_internal_has_questid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOQuestProgress::has_questid() const { - return _internal_has_questid(); -} -inline void CSOQuestProgress::clear_questid() { - _impl_.questid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOQuestProgress::_internal_questid() const { - return _impl_.questid_; -} -inline uint32_t CSOQuestProgress::questid() const { - // @@protoc_insertion_point(field_get:CSOQuestProgress.questid) - return _internal_questid(); -} -inline void CSOQuestProgress::_internal_set_questid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.questid_ = value; -} -inline void CSOQuestProgress::set_questid(uint32_t value) { - _internal_set_questid(value); - // @@protoc_insertion_point(field_set:CSOQuestProgress.questid) -} - -// optional uint32 points_remaining = 2; -inline bool CSOQuestProgress::_internal_has_points_remaining() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOQuestProgress::has_points_remaining() const { - return _internal_has_points_remaining(); -} -inline void CSOQuestProgress::clear_points_remaining() { - _impl_.points_remaining_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSOQuestProgress::_internal_points_remaining() const { - return _impl_.points_remaining_; -} -inline uint32_t CSOQuestProgress::points_remaining() const { - // @@protoc_insertion_point(field_get:CSOQuestProgress.points_remaining) - return _internal_points_remaining(); -} -inline void CSOQuestProgress::_internal_set_points_remaining(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.points_remaining_ = value; -} -inline void CSOQuestProgress::set_points_remaining(uint32_t value) { - _internal_set_points_remaining(value); - // @@protoc_insertion_point(field_set:CSOQuestProgress.points_remaining) -} - -// optional uint32 bonus_points = 3; -inline bool CSOQuestProgress::_internal_has_bonus_points() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOQuestProgress::has_bonus_points() const { - return _internal_has_bonus_points(); -} -inline void CSOQuestProgress::clear_bonus_points() { - _impl_.bonus_points_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CSOQuestProgress::_internal_bonus_points() const { - return _impl_.bonus_points_; -} -inline uint32_t CSOQuestProgress::bonus_points() const { - // @@protoc_insertion_point(field_get:CSOQuestProgress.bonus_points) - return _internal_bonus_points(); -} -inline void CSOQuestProgress::_internal_set_bonus_points(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.bonus_points_ = value; -} -inline void CSOQuestProgress::set_bonus_points(uint32_t value) { - _internal_set_bonus_points(value); - // @@protoc_insertion_point(field_set:CSOQuestProgress.bonus_points) -} - -// ------------------------------------------------------------------- - -// CSOAccountSeasonalOperation - -// optional uint32 season_value = 1 [(.key_field) = true]; -inline bool CSOAccountSeasonalOperation::_internal_has_season_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOAccountSeasonalOperation::has_season_value() const { - return _internal_has_season_value(); -} -inline void CSOAccountSeasonalOperation::clear_season_value() { - _impl_.season_value_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOAccountSeasonalOperation::_internal_season_value() const { - return _impl_.season_value_; -} -inline uint32_t CSOAccountSeasonalOperation::season_value() const { - // @@protoc_insertion_point(field_get:CSOAccountSeasonalOperation.season_value) - return _internal_season_value(); -} -inline void CSOAccountSeasonalOperation::_internal_set_season_value(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.season_value_ = value; -} -inline void CSOAccountSeasonalOperation::set_season_value(uint32_t value) { - _internal_set_season_value(value); - // @@protoc_insertion_point(field_set:CSOAccountSeasonalOperation.season_value) -} - -// optional uint32 tier_unlocked = 2; -inline bool CSOAccountSeasonalOperation::_internal_has_tier_unlocked() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOAccountSeasonalOperation::has_tier_unlocked() const { - return _internal_has_tier_unlocked(); -} -inline void CSOAccountSeasonalOperation::clear_tier_unlocked() { - _impl_.tier_unlocked_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSOAccountSeasonalOperation::_internal_tier_unlocked() const { - return _impl_.tier_unlocked_; -} -inline uint32_t CSOAccountSeasonalOperation::tier_unlocked() const { - // @@protoc_insertion_point(field_get:CSOAccountSeasonalOperation.tier_unlocked) - return _internal_tier_unlocked(); -} -inline void CSOAccountSeasonalOperation::_internal_set_tier_unlocked(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.tier_unlocked_ = value; -} -inline void CSOAccountSeasonalOperation::set_tier_unlocked(uint32_t value) { - _internal_set_tier_unlocked(value); - // @@protoc_insertion_point(field_set:CSOAccountSeasonalOperation.tier_unlocked) -} - -// optional uint32 premium_tiers = 3; -inline bool CSOAccountSeasonalOperation::_internal_has_premium_tiers() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOAccountSeasonalOperation::has_premium_tiers() const { - return _internal_has_premium_tiers(); -} -inline void CSOAccountSeasonalOperation::clear_premium_tiers() { - _impl_.premium_tiers_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CSOAccountSeasonalOperation::_internal_premium_tiers() const { - return _impl_.premium_tiers_; -} -inline uint32_t CSOAccountSeasonalOperation::premium_tiers() const { - // @@protoc_insertion_point(field_get:CSOAccountSeasonalOperation.premium_tiers) - return _internal_premium_tiers(); -} -inline void CSOAccountSeasonalOperation::_internal_set_premium_tiers(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.premium_tiers_ = value; -} -inline void CSOAccountSeasonalOperation::set_premium_tiers(uint32_t value) { - _internal_set_premium_tiers(value); - // @@protoc_insertion_point(field_set:CSOAccountSeasonalOperation.premium_tiers) -} - -// optional uint32 mission_id = 4; -inline bool CSOAccountSeasonalOperation::_internal_has_mission_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSOAccountSeasonalOperation::has_mission_id() const { - return _internal_has_mission_id(); -} -inline void CSOAccountSeasonalOperation::clear_mission_id() { - _impl_.mission_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CSOAccountSeasonalOperation::_internal_mission_id() const { - return _impl_.mission_id_; -} -inline uint32_t CSOAccountSeasonalOperation::mission_id() const { - // @@protoc_insertion_point(field_get:CSOAccountSeasonalOperation.mission_id) - return _internal_mission_id(); -} -inline void CSOAccountSeasonalOperation::_internal_set_mission_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.mission_id_ = value; -} -inline void CSOAccountSeasonalOperation::set_mission_id(uint32_t value) { - _internal_set_mission_id(value); - // @@protoc_insertion_point(field_set:CSOAccountSeasonalOperation.mission_id) -} - -// optional uint32 missions_completed = 5; -inline bool CSOAccountSeasonalOperation::_internal_has_missions_completed() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSOAccountSeasonalOperation::has_missions_completed() const { - return _internal_has_missions_completed(); -} -inline void CSOAccountSeasonalOperation::clear_missions_completed() { - _impl_.missions_completed_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CSOAccountSeasonalOperation::_internal_missions_completed() const { - return _impl_.missions_completed_; -} -inline uint32_t CSOAccountSeasonalOperation::missions_completed() const { - // @@protoc_insertion_point(field_get:CSOAccountSeasonalOperation.missions_completed) - return _internal_missions_completed(); -} -inline void CSOAccountSeasonalOperation::_internal_set_missions_completed(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.missions_completed_ = value; -} -inline void CSOAccountSeasonalOperation::set_missions_completed(uint32_t value) { - _internal_set_missions_completed(value); - // @@protoc_insertion_point(field_set:CSOAccountSeasonalOperation.missions_completed) -} - -// optional uint32 redeemable_balance = 6; -inline bool CSOAccountSeasonalOperation::_internal_has_redeemable_balance() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSOAccountSeasonalOperation::has_redeemable_balance() const { - return _internal_has_redeemable_balance(); -} -inline void CSOAccountSeasonalOperation::clear_redeemable_balance() { - _impl_.redeemable_balance_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CSOAccountSeasonalOperation::_internal_redeemable_balance() const { - return _impl_.redeemable_balance_; -} -inline uint32_t CSOAccountSeasonalOperation::redeemable_balance() const { - // @@protoc_insertion_point(field_get:CSOAccountSeasonalOperation.redeemable_balance) - return _internal_redeemable_balance(); -} -inline void CSOAccountSeasonalOperation::_internal_set_redeemable_balance(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.redeemable_balance_ = value; -} -inline void CSOAccountSeasonalOperation::set_redeemable_balance(uint32_t value) { - _internal_set_redeemable_balance(value); - // @@protoc_insertion_point(field_set:CSOAccountSeasonalOperation.redeemable_balance) -} - -// optional uint32 season_pass_time = 7; -inline bool CSOAccountSeasonalOperation::_internal_has_season_pass_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CSOAccountSeasonalOperation::has_season_pass_time() const { - return _internal_has_season_pass_time(); -} -inline void CSOAccountSeasonalOperation::clear_season_pass_time() { - _impl_.season_pass_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CSOAccountSeasonalOperation::_internal_season_pass_time() const { - return _impl_.season_pass_time_; -} -inline uint32_t CSOAccountSeasonalOperation::season_pass_time() const { - // @@protoc_insertion_point(field_get:CSOAccountSeasonalOperation.season_pass_time) - return _internal_season_pass_time(); -} -inline void CSOAccountSeasonalOperation::_internal_set_season_pass_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.season_pass_time_ = value; -} -inline void CSOAccountSeasonalOperation::set_season_pass_time(uint32_t value) { - _internal_set_season_pass_time(value); - // @@protoc_insertion_point(field_set:CSOAccountSeasonalOperation.season_pass_time) -} - -// ------------------------------------------------------------------- - -// CSOAccountRecurringSubscription - -// optional uint32 time_next_cycle = 1; -inline bool CSOAccountRecurringSubscription::_internal_has_time_next_cycle() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOAccountRecurringSubscription::has_time_next_cycle() const { - return _internal_has_time_next_cycle(); -} -inline void CSOAccountRecurringSubscription::clear_time_next_cycle() { - _impl_.time_next_cycle_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOAccountRecurringSubscription::_internal_time_next_cycle() const { - return _impl_.time_next_cycle_; -} -inline uint32_t CSOAccountRecurringSubscription::time_next_cycle() const { - // @@protoc_insertion_point(field_get:CSOAccountRecurringSubscription.time_next_cycle) - return _internal_time_next_cycle(); -} -inline void CSOAccountRecurringSubscription::_internal_set_time_next_cycle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.time_next_cycle_ = value; -} -inline void CSOAccountRecurringSubscription::set_time_next_cycle(uint32_t value) { - _internal_set_time_next_cycle(value); - // @@protoc_insertion_point(field_set:CSOAccountRecurringSubscription.time_next_cycle) -} - -// optional uint32 time_initiated = 2; -inline bool CSOAccountRecurringSubscription::_internal_has_time_initiated() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOAccountRecurringSubscription::has_time_initiated() const { - return _internal_has_time_initiated(); -} -inline void CSOAccountRecurringSubscription::clear_time_initiated() { - _impl_.time_initiated_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSOAccountRecurringSubscription::_internal_time_initiated() const { - return _impl_.time_initiated_; -} -inline uint32_t CSOAccountRecurringSubscription::time_initiated() const { - // @@protoc_insertion_point(field_get:CSOAccountRecurringSubscription.time_initiated) - return _internal_time_initiated(); -} -inline void CSOAccountRecurringSubscription::_internal_set_time_initiated(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.time_initiated_ = value; -} -inline void CSOAccountRecurringSubscription::set_time_initiated(uint32_t value) { - _internal_set_time_initiated(value); - // @@protoc_insertion_point(field_set:CSOAccountRecurringSubscription.time_initiated) -} - -// ------------------------------------------------------------------- - -// CSOGameAccountSteamChina - -// optional uint32 time_last_update = 1; -inline bool CSOGameAccountSteamChina::_internal_has_time_last_update() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOGameAccountSteamChina::has_time_last_update() const { - return _internal_has_time_last_update(); -} -inline void CSOGameAccountSteamChina::clear_time_last_update() { - _impl_.time_last_update_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOGameAccountSteamChina::_internal_time_last_update() const { - return _impl_.time_last_update_; -} -inline uint32_t CSOGameAccountSteamChina::time_last_update() const { - // @@protoc_insertion_point(field_get:CSOGameAccountSteamChina.time_last_update) - return _internal_time_last_update(); -} -inline void CSOGameAccountSteamChina::_internal_set_time_last_update(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.time_last_update_ = value; -} -inline void CSOGameAccountSteamChina::set_time_last_update(uint32_t value) { - _internal_set_time_last_update(value); - // @@protoc_insertion_point(field_set:CSOGameAccountSteamChina.time_last_update) -} - -// optional uint32 time_comms_ban = 2; -inline bool CSOGameAccountSteamChina::_internal_has_time_comms_ban() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOGameAccountSteamChina::has_time_comms_ban() const { - return _internal_has_time_comms_ban(); -} -inline void CSOGameAccountSteamChina::clear_time_comms_ban() { - _impl_.time_comms_ban_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSOGameAccountSteamChina::_internal_time_comms_ban() const { - return _impl_.time_comms_ban_; -} -inline uint32_t CSOGameAccountSteamChina::time_comms_ban() const { - // @@protoc_insertion_point(field_get:CSOGameAccountSteamChina.time_comms_ban) - return _internal_time_comms_ban(); -} -inline void CSOGameAccountSteamChina::_internal_set_time_comms_ban(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.time_comms_ban_ = value; -} -inline void CSOGameAccountSteamChina::set_time_comms_ban(uint32_t value) { - _internal_set_time_comms_ban(value); - // @@protoc_insertion_point(field_set:CSOGameAccountSteamChina.time_comms_ban) -} - -// optional uint32 time_play_ban = 3; -inline bool CSOGameAccountSteamChina::_internal_has_time_play_ban() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOGameAccountSteamChina::has_time_play_ban() const { - return _internal_has_time_play_ban(); -} -inline void CSOGameAccountSteamChina::clear_time_play_ban() { - _impl_.time_play_ban_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CSOGameAccountSteamChina::_internal_time_play_ban() const { - return _impl_.time_play_ban_; -} -inline uint32_t CSOGameAccountSteamChina::time_play_ban() const { - // @@protoc_insertion_point(field_get:CSOGameAccountSteamChina.time_play_ban) - return _internal_time_play_ban(); -} -inline void CSOGameAccountSteamChina::_internal_set_time_play_ban(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.time_play_ban_ = value; -} -inline void CSOGameAccountSteamChina::set_time_play_ban(uint32_t value) { - _internal_set_time_play_ban(value); - // @@protoc_insertion_point(field_set:CSOGameAccountSteamChina.time_play_ban) -} - -// ------------------------------------------------------------------- - -// CSOPersonaDataPublic - -// optional int32 player_level = 1; -inline bool CSOPersonaDataPublic::_internal_has_player_level() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOPersonaDataPublic::has_player_level() const { - return _internal_has_player_level(); -} -inline void CSOPersonaDataPublic::clear_player_level() { - _impl_.player_level_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSOPersonaDataPublic::_internal_player_level() const { - return _impl_.player_level_; -} -inline int32_t CSOPersonaDataPublic::player_level() const { - // @@protoc_insertion_point(field_get:CSOPersonaDataPublic.player_level) - return _internal_player_level(); -} -inline void CSOPersonaDataPublic::_internal_set_player_level(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.player_level_ = value; -} -inline void CSOPersonaDataPublic::set_player_level(int32_t value) { - _internal_set_player_level(value); - // @@protoc_insertion_point(field_set:CSOPersonaDataPublic.player_level) -} - -// optional .PlayerCommendationInfo commendation = 2; -inline bool CSOPersonaDataPublic::_internal_has_commendation() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.commendation_ != nullptr); - return value; -} -inline bool CSOPersonaDataPublic::has_commendation() const { - return _internal_has_commendation(); -} -inline void CSOPersonaDataPublic::clear_commendation() { - if (_impl_.commendation_ != nullptr) _impl_.commendation_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::PlayerCommendationInfo& CSOPersonaDataPublic::_internal_commendation() const { - const ::PlayerCommendationInfo* p = _impl_.commendation_; - return p != nullptr ? *p : reinterpret_cast( - ::_PlayerCommendationInfo_default_instance_); -} -inline const ::PlayerCommendationInfo& CSOPersonaDataPublic::commendation() const { - // @@protoc_insertion_point(field_get:CSOPersonaDataPublic.commendation) - return _internal_commendation(); -} -inline void CSOPersonaDataPublic::unsafe_arena_set_allocated_commendation( - ::PlayerCommendationInfo* commendation) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.commendation_); - } - _impl_.commendation_ = commendation; - if (commendation) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSOPersonaDataPublic.commendation) -} -inline ::PlayerCommendationInfo* CSOPersonaDataPublic::release_commendation() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::PlayerCommendationInfo* temp = _impl_.commendation_; - _impl_.commendation_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::PlayerCommendationInfo* CSOPersonaDataPublic::unsafe_arena_release_commendation() { - // @@protoc_insertion_point(field_release:CSOPersonaDataPublic.commendation) - _impl_._has_bits_[0] &= ~0x00000001u; - ::PlayerCommendationInfo* temp = _impl_.commendation_; - _impl_.commendation_ = nullptr; - return temp; -} -inline ::PlayerCommendationInfo* CSOPersonaDataPublic::_internal_mutable_commendation() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.commendation_ == nullptr) { - auto* p = CreateMaybeMessage<::PlayerCommendationInfo>(GetArenaForAllocation()); - _impl_.commendation_ = p; - } - return _impl_.commendation_; -} -inline ::PlayerCommendationInfo* CSOPersonaDataPublic::mutable_commendation() { - ::PlayerCommendationInfo* _msg = _internal_mutable_commendation(); - // @@protoc_insertion_point(field_mutable:CSOPersonaDataPublic.commendation) - return _msg; -} -inline void CSOPersonaDataPublic::set_allocated_commendation(::PlayerCommendationInfo* commendation) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.commendation_; - } - if (commendation) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(commendation); - if (message_arena != submessage_arena) { - commendation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, commendation, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.commendation_ = commendation; - // @@protoc_insertion_point(field_set_allocated:CSOPersonaDataPublic.commendation) -} - -// optional bool elevated_state = 3; -inline bool CSOPersonaDataPublic::_internal_has_elevated_state() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOPersonaDataPublic::has_elevated_state() const { - return _internal_has_elevated_state(); -} -inline void CSOPersonaDataPublic::clear_elevated_state() { - _impl_.elevated_state_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CSOPersonaDataPublic::_internal_elevated_state() const { - return _impl_.elevated_state_; -} -inline bool CSOPersonaDataPublic::elevated_state() const { - // @@protoc_insertion_point(field_get:CSOPersonaDataPublic.elevated_state) - return _internal_elevated_state(); -} -inline void CSOPersonaDataPublic::_internal_set_elevated_state(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.elevated_state_ = value; -} -inline void CSOPersonaDataPublic::set_elevated_state(bool value) { - _internal_set_elevated_state(value); - // @@protoc_insertion_point(field_set:CSOPersonaDataPublic.elevated_state) -} - -// optional uint32 xp_trail_timestamp_refresh = 4; -inline bool CSOPersonaDataPublic::_internal_has_xp_trail_timestamp_refresh() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSOPersonaDataPublic::has_xp_trail_timestamp_refresh() const { - return _internal_has_xp_trail_timestamp_refresh(); -} -inline void CSOPersonaDataPublic::clear_xp_trail_timestamp_refresh() { - _impl_.xp_trail_timestamp_refresh_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CSOPersonaDataPublic::_internal_xp_trail_timestamp_refresh() const { - return _impl_.xp_trail_timestamp_refresh_; -} -inline uint32_t CSOPersonaDataPublic::xp_trail_timestamp_refresh() const { - // @@protoc_insertion_point(field_get:CSOPersonaDataPublic.xp_trail_timestamp_refresh) - return _internal_xp_trail_timestamp_refresh(); -} -inline void CSOPersonaDataPublic::_internal_set_xp_trail_timestamp_refresh(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.xp_trail_timestamp_refresh_ = value; -} -inline void CSOPersonaDataPublic::set_xp_trail_timestamp_refresh(uint32_t value) { - _internal_set_xp_trail_timestamp_refresh(value); - // @@protoc_insertion_point(field_set:CSOPersonaDataPublic.xp_trail_timestamp_refresh) -} - -// optional uint32 xp_trail_level = 5; -inline bool CSOPersonaDataPublic::_internal_has_xp_trail_level() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSOPersonaDataPublic::has_xp_trail_level() const { - return _internal_has_xp_trail_level(); -} -inline void CSOPersonaDataPublic::clear_xp_trail_level() { - _impl_.xp_trail_level_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CSOPersonaDataPublic::_internal_xp_trail_level() const { - return _impl_.xp_trail_level_; -} -inline uint32_t CSOPersonaDataPublic::xp_trail_level() const { - // @@protoc_insertion_point(field_get:CSOPersonaDataPublic.xp_trail_level) - return _internal_xp_trail_level(); -} -inline void CSOPersonaDataPublic::_internal_set_xp_trail_level(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.xp_trail_level_ = value; -} -inline void CSOPersonaDataPublic::set_xp_trail_level(uint32_t value) { - _internal_set_xp_trail_level(value); - // @@protoc_insertion_point(field_set:CSOPersonaDataPublic.xp_trail_level) -} - -// ------------------------------------------------------------------- - -// CSOAccountRecurringMission - -// optional uint32 account_id = 1; -inline bool CSOAccountRecurringMission::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSOAccountRecurringMission::has_account_id() const { - return _internal_has_account_id(); -} -inline void CSOAccountRecurringMission::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSOAccountRecurringMission::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CSOAccountRecurringMission::account_id() const { - // @@protoc_insertion_point(field_get:CSOAccountRecurringMission.account_id) - return _internal_account_id(); -} -inline void CSOAccountRecurringMission::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.account_id_ = value; -} -inline void CSOAccountRecurringMission::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CSOAccountRecurringMission.account_id) -} - -// optional uint32 mission_id = 2; -inline bool CSOAccountRecurringMission::_internal_has_mission_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSOAccountRecurringMission::has_mission_id() const { - return _internal_has_mission_id(); -} -inline void CSOAccountRecurringMission::clear_mission_id() { - _impl_.mission_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSOAccountRecurringMission::_internal_mission_id() const { - return _impl_.mission_id_; -} -inline uint32_t CSOAccountRecurringMission::mission_id() const { - // @@protoc_insertion_point(field_get:CSOAccountRecurringMission.mission_id) - return _internal_mission_id(); -} -inline void CSOAccountRecurringMission::_internal_set_mission_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.mission_id_ = value; -} -inline void CSOAccountRecurringMission::set_mission_id(uint32_t value) { - _internal_set_mission_id(value); - // @@protoc_insertion_point(field_set:CSOAccountRecurringMission.mission_id) -} - -// optional uint32 period = 3; -inline bool CSOAccountRecurringMission::_internal_has_period() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSOAccountRecurringMission::has_period() const { - return _internal_has_period(); -} -inline void CSOAccountRecurringMission::clear_period() { - _impl_.period_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CSOAccountRecurringMission::_internal_period() const { - return _impl_.period_; -} -inline uint32_t CSOAccountRecurringMission::period() const { - // @@protoc_insertion_point(field_get:CSOAccountRecurringMission.period) - return _internal_period(); -} -inline void CSOAccountRecurringMission::_internal_set_period(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.period_ = value; -} -inline void CSOAccountRecurringMission::set_period(uint32_t value) { - _internal_set_period(value); - // @@protoc_insertion_point(field_set:CSOAccountRecurringMission.period) -} - -// optional uint32 progress = 4; -inline bool CSOAccountRecurringMission::_internal_has_progress() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSOAccountRecurringMission::has_progress() const { - return _internal_has_progress(); -} -inline void CSOAccountRecurringMission::clear_progress() { - _impl_.progress_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CSOAccountRecurringMission::_internal_progress() const { - return _impl_.progress_; -} -inline uint32_t CSOAccountRecurringMission::progress() const { - // @@protoc_insertion_point(field_get:CSOAccountRecurringMission.progress) - return _internal_progress(); -} -inline void CSOAccountRecurringMission::_internal_set_progress(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.progress_ = value; -} -inline void CSOAccountRecurringMission::set_progress(uint32_t value) { - _internal_set_progress(value); - // @@protoc_insertion_point(field_set:CSOAccountRecurringMission.progress) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_GC2ClientNotifyXPShop - -// optional .CSOAccountXpShop prematch = 1; -inline bool CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_has_prematch() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.prematch_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::has_prematch() const { - return _internal_has_prematch(); -} -inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::clear_prematch() { - if (_impl_.prematch_ != nullptr) _impl_.prematch_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CSOAccountXpShop& CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_prematch() const { - const ::CSOAccountXpShop* p = _impl_.prematch_; - return p != nullptr ? *p : reinterpret_cast( - ::_CSOAccountXpShop_default_instance_); -} -inline const ::CSOAccountXpShop& CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::prematch() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.prematch) - return _internal_prematch(); -} -inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::unsafe_arena_set_allocated_prematch( - ::CSOAccountXpShop* prematch) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.prematch_); - } - _impl_.prematch_ = prematch; - if (prematch) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.prematch) -} -inline ::CSOAccountXpShop* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::release_prematch() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CSOAccountXpShop* temp = _impl_.prematch_; - _impl_.prematch_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CSOAccountXpShop* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::unsafe_arena_release_prematch() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.prematch) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CSOAccountXpShop* temp = _impl_.prematch_; - _impl_.prematch_ = nullptr; - return temp; -} -inline ::CSOAccountXpShop* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_mutable_prematch() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.prematch_ == nullptr) { - auto* p = CreateMaybeMessage<::CSOAccountXpShop>(GetArenaForAllocation()); - _impl_.prematch_ = p; - } - return _impl_.prematch_; -} -inline ::CSOAccountXpShop* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::mutable_prematch() { - ::CSOAccountXpShop* _msg = _internal_mutable_prematch(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.prematch) - return _msg; -} -inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::set_allocated_prematch(::CSOAccountXpShop* prematch) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.prematch_; - } - if (prematch) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(prematch); - if (message_arena != submessage_arena) { - prematch = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, prematch, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.prematch_ = prematch; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.prematch) -} - -// optional .CSOAccountXpShop postmatch = 2; -inline bool CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_has_postmatch() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.postmatch_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::has_postmatch() const { - return _internal_has_postmatch(); -} -inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::clear_postmatch() { - if (_impl_.postmatch_ != nullptr) _impl_.postmatch_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CSOAccountXpShop& CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_postmatch() const { - const ::CSOAccountXpShop* p = _impl_.postmatch_; - return p != nullptr ? *p : reinterpret_cast( - ::_CSOAccountXpShop_default_instance_); -} -inline const ::CSOAccountXpShop& CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::postmatch() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.postmatch) - return _internal_postmatch(); -} -inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::unsafe_arena_set_allocated_postmatch( - ::CSOAccountXpShop* postmatch) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.postmatch_); - } - _impl_.postmatch_ = postmatch; - if (postmatch) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.postmatch) -} -inline ::CSOAccountXpShop* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::release_postmatch() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CSOAccountXpShop* temp = _impl_.postmatch_; - _impl_.postmatch_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CSOAccountXpShop* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::unsafe_arena_release_postmatch() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.postmatch) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CSOAccountXpShop* temp = _impl_.postmatch_; - _impl_.postmatch_ = nullptr; - return temp; -} -inline ::CSOAccountXpShop* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_mutable_postmatch() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.postmatch_ == nullptr) { - auto* p = CreateMaybeMessage<::CSOAccountXpShop>(GetArenaForAllocation()); - _impl_.postmatch_ = p; - } - return _impl_.postmatch_; -} -inline ::CSOAccountXpShop* CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::mutable_postmatch() { - ::CSOAccountXpShop* _msg = _internal_mutable_postmatch(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.postmatch) - return _msg; -} -inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::set_allocated_postmatch(::CSOAccountXpShop* postmatch) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.postmatch_; - } - if (postmatch) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(postmatch); - if (message_arena != submessage_arena) { - postmatch = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, postmatch, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.postmatch_ = postmatch; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.postmatch) -} - -// optional uint32 current_xp = 3; -inline bool CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_has_current_xp() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::has_current_xp() const { - return _internal_has_current_xp(); -} -inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::clear_current_xp() { - _impl_.current_xp_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_current_xp() const { - return _impl_.current_xp_; -} -inline uint32_t CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::current_xp() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.current_xp) - return _internal_current_xp(); -} -inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_set_current_xp(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.current_xp_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::set_current_xp(uint32_t value) { - _internal_set_current_xp(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.current_xp) -} - -// optional uint32 current_level = 4; -inline bool CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_has_current_level() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::has_current_level() const { - return _internal_has_current_level(); -} -inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::clear_current_level() { - _impl_.current_level_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_current_level() const { - return _impl_.current_level_; -} -inline uint32_t CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::current_level() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.current_level) - return _internal_current_level(); -} -inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::_internal_set_current_level(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.current_level_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientNotifyXPShop::set_current_level(uint32_t value) { - _internal_set_current_level(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientNotifyXPShop.current_level) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Client2GcAckXPShopTracks - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats - -// optional uint32 gs_location_id = 1; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_has_gs_location_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::has_gs_location_id() const { - return _internal_has_gs_location_id(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::clear_gs_location_id() { - _impl_.gs_location_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_gs_location_id() const { - return _impl_.gs_location_id_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::gs_location_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.gs_location_id) - return _internal_gs_location_id(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_set_gs_location_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.gs_location_id_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::set_gs_location_id(uint32_t value) { - _internal_set_gs_location_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.gs_location_id) -} - -// optional uint32 data_center_id = 2; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_has_data_center_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::has_data_center_id() const { - return _internal_has_data_center_id(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::clear_data_center_id() { - _impl_.data_center_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_data_center_id() const { - return _impl_.data_center_id_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::data_center_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.data_center_id) - return _internal_data_center_id(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_set_data_center_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.data_center_id_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::set_data_center_id(uint32_t value) { - _internal_set_data_center_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.data_center_id) -} - -// optional uint32 num_locked_in = 3; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_has_num_locked_in() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::has_num_locked_in() const { - return _internal_has_num_locked_in(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::clear_num_locked_in() { - _impl_.num_locked_in_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_num_locked_in() const { - return _impl_.num_locked_in_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::num_locked_in() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.num_locked_in) - return _internal_num_locked_in(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_set_num_locked_in(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.num_locked_in_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::set_num_locked_in(uint32_t value) { - _internal_set_num_locked_in(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.num_locked_in) -} - -// optional uint32 num_found_nearby = 4; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_has_num_found_nearby() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::has_num_found_nearby() const { - return _internal_has_num_found_nearby(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::clear_num_found_nearby() { - _impl_.num_found_nearby_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_num_found_nearby() const { - return _impl_.num_found_nearby_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::num_found_nearby() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.num_found_nearby) - return _internal_num_found_nearby(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_set_num_found_nearby(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.num_found_nearby_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::set_num_found_nearby(uint32_t value) { - _internal_set_num_found_nearby(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.num_found_nearby) -} - -// optional uint32 note_level = 5; -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_has_note_level() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::has_note_level() const { - return _internal_has_note_level(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::clear_note_level() { - _impl_.note_level_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_note_level() const { - return _impl_.note_level_; -} -inline uint32_t CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::note_level() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.note_level) - return _internal_note_level(); -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::_internal_set_note_level(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.note_level_ = value; -} -inline void CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats::set_note_level(uint32_t value) { - _internal_set_note_level(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_MatchmakingGC2ClientSearchStats.note_level) -} - -// ------------------------------------------------------------------- - -// CMsgGC_GlobalGame_Subscribe - -// optional uint64 ticket = 1; -inline bool CMsgGC_GlobalGame_Subscribe::_internal_has_ticket() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGC_GlobalGame_Subscribe::has_ticket() const { - return _internal_has_ticket(); -} -inline void CMsgGC_GlobalGame_Subscribe::clear_ticket() { - _impl_.ticket_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGC_GlobalGame_Subscribe::_internal_ticket() const { - return _impl_.ticket_; -} -inline uint64_t CMsgGC_GlobalGame_Subscribe::ticket() const { - // @@protoc_insertion_point(field_get:CMsgGC_GlobalGame_Subscribe.ticket) - return _internal_ticket(); -} -inline void CMsgGC_GlobalGame_Subscribe::_internal_set_ticket(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ticket_ = value; -} -inline void CMsgGC_GlobalGame_Subscribe::set_ticket(uint64_t value) { - _internal_set_ticket(value); - // @@protoc_insertion_point(field_set:CMsgGC_GlobalGame_Subscribe.ticket) -} - -// ------------------------------------------------------------------- - -// CMsgGC_GlobalGame_Unsubscribe - -// optional int32 timeleft = 1; -inline bool CMsgGC_GlobalGame_Unsubscribe::_internal_has_timeleft() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGC_GlobalGame_Unsubscribe::has_timeleft() const { - return _internal_has_timeleft(); -} -inline void CMsgGC_GlobalGame_Unsubscribe::clear_timeleft() { - _impl_.timeleft_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CMsgGC_GlobalGame_Unsubscribe::_internal_timeleft() const { - return _impl_.timeleft_; -} -inline int32_t CMsgGC_GlobalGame_Unsubscribe::timeleft() const { - // @@protoc_insertion_point(field_get:CMsgGC_GlobalGame_Unsubscribe.timeleft) - return _internal_timeleft(); -} -inline void CMsgGC_GlobalGame_Unsubscribe::_internal_set_timeleft(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.timeleft_ = value; -} -inline void CMsgGC_GlobalGame_Unsubscribe::set_timeleft(int32_t value) { - _internal_set_timeleft(value); - // @@protoc_insertion_point(field_set:CMsgGC_GlobalGame_Unsubscribe.timeleft) -} - -// ------------------------------------------------------------------- - -// CMsgGC_GlobalGame_Play - -// optional uint64 ticket = 1; -inline bool CMsgGC_GlobalGame_Play::_internal_has_ticket() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGC_GlobalGame_Play::has_ticket() const { - return _internal_has_ticket(); -} -inline void CMsgGC_GlobalGame_Play::clear_ticket() { - _impl_.ticket_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGC_GlobalGame_Play::_internal_ticket() const { - return _impl_.ticket_; -} -inline uint64_t CMsgGC_GlobalGame_Play::ticket() const { - // @@protoc_insertion_point(field_get:CMsgGC_GlobalGame_Play.ticket) - return _internal_ticket(); -} -inline void CMsgGC_GlobalGame_Play::_internal_set_ticket(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ticket_ = value; -} -inline void CMsgGC_GlobalGame_Play::set_ticket(uint64_t value) { - _internal_set_ticket(value); - // @@protoc_insertion_point(field_set:CMsgGC_GlobalGame_Play.ticket) -} - -// optional uint32 gametimems = 2; -inline bool CMsgGC_GlobalGame_Play::_internal_has_gametimems() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGC_GlobalGame_Play::has_gametimems() const { - return _internal_has_gametimems(); -} -inline void CMsgGC_GlobalGame_Play::clear_gametimems() { - _impl_.gametimems_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGC_GlobalGame_Play::_internal_gametimems() const { - return _impl_.gametimems_; -} -inline uint32_t CMsgGC_GlobalGame_Play::gametimems() const { - // @@protoc_insertion_point(field_get:CMsgGC_GlobalGame_Play.gametimems) - return _internal_gametimems(); -} -inline void CMsgGC_GlobalGame_Play::_internal_set_gametimems(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.gametimems_ = value; -} -inline void CMsgGC_GlobalGame_Play::set_gametimems(uint32_t value) { - _internal_set_gametimems(value); - // @@protoc_insertion_point(field_set:CMsgGC_GlobalGame_Play.gametimems) -} - -// optional uint32 msperpoint = 3; -inline bool CMsgGC_GlobalGame_Play::_internal_has_msperpoint() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGC_GlobalGame_Play::has_msperpoint() const { - return _internal_has_msperpoint(); -} -inline void CMsgGC_GlobalGame_Play::clear_msperpoint() { - _impl_.msperpoint_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGC_GlobalGame_Play::_internal_msperpoint() const { - return _impl_.msperpoint_; -} -inline uint32_t CMsgGC_GlobalGame_Play::msperpoint() const { - // @@protoc_insertion_point(field_get:CMsgGC_GlobalGame_Play.msperpoint) - return _internal_msperpoint(); -} -inline void CMsgGC_GlobalGame_Play::_internal_set_msperpoint(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.msperpoint_ = value; -} -inline void CMsgGC_GlobalGame_Play::set_msperpoint(uint32_t value) { - _internal_set_msperpoint(value); - // @@protoc_insertion_point(field_set:CMsgGC_GlobalGame_Play.msperpoint) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_AcknowledgePenalty - -// optional int32 acknowledged = 1; -inline bool CMsgGCCStrike15_v2_AcknowledgePenalty::_internal_has_acknowledged() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_AcknowledgePenalty::has_acknowledged() const { - return _internal_has_acknowledged(); -} -inline void CMsgGCCStrike15_v2_AcknowledgePenalty::clear_acknowledged() { - _impl_.acknowledged_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CMsgGCCStrike15_v2_AcknowledgePenalty::_internal_acknowledged() const { - return _impl_.acknowledged_; -} -inline int32_t CMsgGCCStrike15_v2_AcknowledgePenalty::acknowledged() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_AcknowledgePenalty.acknowledged) - return _internal_acknowledged(); -} -inline void CMsgGCCStrike15_v2_AcknowledgePenalty::_internal_set_acknowledged(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.acknowledged_ = value; -} -inline void CMsgGCCStrike15_v2_AcknowledgePenalty::set_acknowledged(int32_t value) { - _internal_set_acknowledged(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_AcknowledgePenalty.acknowledged) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin - -// optional uint32 defindex = 1; -inline bool CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_has_defindex() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::has_defindex() const { - return _internal_has_defindex(); -} -inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::clear_defindex() { - _impl_.defindex_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_defindex() const { - return _impl_.defindex_; -} -inline uint32_t CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::defindex() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin.defindex) - return _internal_defindex(); -} -inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_set_defindex(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.defindex_ = value; -} -inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::set_defindex(uint32_t value) { - _internal_set_defindex(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin.defindex) -} - -// optional uint64 upgradeid = 2; -inline bool CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_has_upgradeid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::has_upgradeid() const { - return _internal_has_upgradeid(); -} -inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::clear_upgradeid() { - _impl_.upgradeid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_upgradeid() const { - return _impl_.upgradeid_; -} -inline uint64_t CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::upgradeid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin.upgradeid) - return _internal_upgradeid(); -} -inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_set_upgradeid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.upgradeid_ = value; -} -inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::set_upgradeid(uint64_t value) { - _internal_set_upgradeid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin.upgradeid) -} - -// optional uint32 hours = 3; -inline bool CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_has_hours() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::has_hours() const { - return _internal_has_hours(); -} -inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::clear_hours() { - _impl_.hours_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_hours() const { - return _impl_.hours_; -} -inline uint32_t CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::hours() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin.hours) - return _internal_hours(); -} -inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_set_hours(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.hours_ = value; -} -inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::set_hours(uint32_t value) { - _internal_set_hours(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin.hours) -} - -// optional uint32 prestigetime = 4; -inline bool CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_has_prestigetime() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::has_prestigetime() const { - return _internal_has_prestigetime(); -} -inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::clear_prestigetime() { - _impl_.prestigetime_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_prestigetime() const { - return _impl_.prestigetime_; -} -inline uint32_t CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::prestigetime() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin.prestigetime) - return _internal_prestigetime(); -} -inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::_internal_set_prestigetime(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.prestigetime_ = value; -} -inline void CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin::set_prestigetime(uint32_t value) { - _internal_set_prestigetime(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCRequestPrestigeCoin.prestigetime) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Client2GCStreamUnlock - -// optional uint64 ticket = 1; -inline bool CMsgGCCStrike15_v2_Client2GCStreamUnlock::_internal_has_ticket() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Client2GCStreamUnlock::has_ticket() const { - return _internal_has_ticket(); -} -inline void CMsgGCCStrike15_v2_Client2GCStreamUnlock::clear_ticket() { - _impl_.ticket_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCCStrike15_v2_Client2GCStreamUnlock::_internal_ticket() const { - return _impl_.ticket_; -} -inline uint64_t CMsgGCCStrike15_v2_Client2GCStreamUnlock::ticket() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCStreamUnlock.ticket) - return _internal_ticket(); -} -inline void CMsgGCCStrike15_v2_Client2GCStreamUnlock::_internal_set_ticket(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ticket_ = value; -} -inline void CMsgGCCStrike15_v2_Client2GCStreamUnlock::set_ticket(uint64_t value) { - _internal_set_ticket(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCStreamUnlock.ticket) -} - -// optional int32 os = 2; -inline bool CMsgGCCStrike15_v2_Client2GCStreamUnlock::_internal_has_os() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Client2GCStreamUnlock::has_os() const { - return _internal_has_os(); -} -inline void CMsgGCCStrike15_v2_Client2GCStreamUnlock::clear_os() { - _impl_.os_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgGCCStrike15_v2_Client2GCStreamUnlock::_internal_os() const { - return _impl_.os_; -} -inline int32_t CMsgGCCStrike15_v2_Client2GCStreamUnlock::os() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Client2GCStreamUnlock.os) - return _internal_os(); -} -inline void CMsgGCCStrike15_v2_Client2GCStreamUnlock::_internal_set_os(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.os_ = value; -} -inline void CMsgGCCStrike15_v2_Client2GCStreamUnlock::set_os(int32_t value) { - _internal_set_os(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Client2GCStreamUnlock.os) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientToGCRequestElevate - -// optional uint32 stage = 1; -inline bool CMsgGCCStrike15_v2_ClientToGCRequestElevate::_internal_has_stage() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientToGCRequestElevate::has_stage() const { - return _internal_has_stage(); -} -inline void CMsgGCCStrike15_v2_ClientToGCRequestElevate::clear_stage() { - _impl_.stage_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientToGCRequestElevate::_internal_stage() const { - return _impl_.stage_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientToGCRequestElevate::stage() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientToGCRequestElevate.stage) - return _internal_stage(); -} -inline void CMsgGCCStrike15_v2_ClientToGCRequestElevate::_internal_set_stage(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.stage_ = value; -} -inline void CMsgGCCStrike15_v2_ClientToGCRequestElevate::set_stage(uint32_t value) { - _internal_set_stage(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientToGCRequestElevate.stage) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientToGCChat - -// optional uint64 match_id = 1; -inline bool CMsgGCCStrike15_v2_ClientToGCChat::_internal_has_match_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientToGCChat::has_match_id() const { - return _internal_has_match_id(); -} -inline void CMsgGCCStrike15_v2_ClientToGCChat::clear_match_id() { - _impl_.match_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientToGCChat::_internal_match_id() const { - return _impl_.match_id_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientToGCChat::match_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientToGCChat.match_id) - return _internal_match_id(); -} -inline void CMsgGCCStrike15_v2_ClientToGCChat::_internal_set_match_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.match_id_ = value; -} -inline void CMsgGCCStrike15_v2_ClientToGCChat::set_match_id(uint64_t value) { - _internal_set_match_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientToGCChat.match_id) -} - -// optional string text = 2; -inline bool CMsgGCCStrike15_v2_ClientToGCChat::_internal_has_text() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientToGCChat::has_text() const { - return _internal_has_text(); -} -inline void CMsgGCCStrike15_v2_ClientToGCChat::clear_text() { - _impl_.text_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_ClientToGCChat::text() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientToGCChat.text) - return _internal_text(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_ClientToGCChat::set_text(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientToGCChat.text) -} -inline std::string* CMsgGCCStrike15_v2_ClientToGCChat::mutable_text() { - std::string* _s = _internal_mutable_text(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientToGCChat.text) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_ClientToGCChat::_internal_text() const { - return _impl_.text_.Get(); -} -inline void CMsgGCCStrike15_v2_ClientToGCChat::_internal_set_text(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientToGCChat::_internal_mutable_text() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.text_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientToGCChat::release_text() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientToGCChat.text) - if (!_internal_has_text()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.text_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_ClientToGCChat::set_allocated_text(std::string* text) { - if (text != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.text_.SetAllocated(text, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientToGCChat.text) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_GCToClientChat - -// optional uint32 account_id = 1; -inline bool CMsgGCCStrike15_v2_GCToClientChat::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GCToClientChat::has_account_id() const { - return _internal_has_account_id(); -} -inline void CMsgGCCStrike15_v2_GCToClientChat::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_GCToClientChat::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CMsgGCCStrike15_v2_GCToClientChat::account_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GCToClientChat.account_id) - return _internal_account_id(); -} -inline void CMsgGCCStrike15_v2_GCToClientChat::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.account_id_ = value; -} -inline void CMsgGCCStrike15_v2_GCToClientChat::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GCToClientChat.account_id) -} - -// optional string text = 2; -inline bool CMsgGCCStrike15_v2_GCToClientChat::_internal_has_text() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GCToClientChat::has_text() const { - return _internal_has_text(); -} -inline void CMsgGCCStrike15_v2_GCToClientChat::clear_text() { - _impl_.text_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_GCToClientChat::text() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GCToClientChat.text) - return _internal_text(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_GCToClientChat::set_text(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GCToClientChat.text) -} -inline std::string* CMsgGCCStrike15_v2_GCToClientChat::mutable_text() { - std::string* _s = _internal_mutable_text(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GCToClientChat.text) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_GCToClientChat::_internal_text() const { - return _impl_.text_.Get(); -} -inline void CMsgGCCStrike15_v2_GCToClientChat::_internal_set_text(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GCToClientChat::_internal_mutable_text() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.text_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GCToClientChat::release_text() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GCToClientChat.text) - if (!_internal_has_text()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.text_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_GCToClientChat::set_allocated_text(std::string* text) { - if (text != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.text_.SetAllocated(text, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GCToClientChat.text) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientAuthKeyCode - -// optional uint32 eventid = 1; -inline bool CMsgGCCStrike15_v2_ClientAuthKeyCode::_internal_has_eventid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientAuthKeyCode::has_eventid() const { - return _internal_has_eventid(); -} -inline void CMsgGCCStrike15_v2_ClientAuthKeyCode::clear_eventid() { - _impl_.eventid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientAuthKeyCode::_internal_eventid() const { - return _impl_.eventid_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientAuthKeyCode::eventid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientAuthKeyCode.eventid) - return _internal_eventid(); -} -inline void CMsgGCCStrike15_v2_ClientAuthKeyCode::_internal_set_eventid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.eventid_ = value; -} -inline void CMsgGCCStrike15_v2_ClientAuthKeyCode::set_eventid(uint32_t value) { - _internal_set_eventid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientAuthKeyCode.eventid) -} - -// optional string code = 2; -inline bool CMsgGCCStrike15_v2_ClientAuthKeyCode::_internal_has_code() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientAuthKeyCode::has_code() const { - return _internal_has_code(); -} -inline void CMsgGCCStrike15_v2_ClientAuthKeyCode::clear_code() { - _impl_.code_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_ClientAuthKeyCode::code() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientAuthKeyCode.code) - return _internal_code(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_ClientAuthKeyCode::set_code(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.code_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientAuthKeyCode.code) -} -inline std::string* CMsgGCCStrike15_v2_ClientAuthKeyCode::mutable_code() { - std::string* _s = _internal_mutable_code(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientAuthKeyCode.code) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_ClientAuthKeyCode::_internal_code() const { - return _impl_.code_.Get(); -} -inline void CMsgGCCStrike15_v2_ClientAuthKeyCode::_internal_set_code(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.code_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientAuthKeyCode::_internal_mutable_code() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.code_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientAuthKeyCode::release_code() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientAuthKeyCode.code) - if (!_internal_has_code()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.code_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.code_.IsDefault()) { - _impl_.code_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_ClientAuthKeyCode::set_allocated_code(std::string* code) { - if (code != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.code_.SetAllocated(code, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.code_.IsDefault()) { - _impl_.code_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientAuthKeyCode.code) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_GotvSyncPacket - -// optional .CEngineGotvSyncPacket data = 1; -inline bool CMsgGCCStrike15_GotvSyncPacket::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.data_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_GotvSyncPacket::has_data() const { - return _internal_has_data(); -} -inline const ::CEngineGotvSyncPacket& CMsgGCCStrike15_GotvSyncPacket::_internal_data() const { - const ::CEngineGotvSyncPacket* p = _impl_.data_; - return p != nullptr ? *p : reinterpret_cast( - ::_CEngineGotvSyncPacket_default_instance_); -} -inline const ::CEngineGotvSyncPacket& CMsgGCCStrike15_GotvSyncPacket::data() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_GotvSyncPacket.data) - return _internal_data(); -} -inline void CMsgGCCStrike15_GotvSyncPacket::unsafe_arena_set_allocated_data( - ::CEngineGotvSyncPacket* data) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); - } - _impl_.data_ = data; - if (data) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_GotvSyncPacket.data) -} -inline ::CEngineGotvSyncPacket* CMsgGCCStrike15_GotvSyncPacket::release_data() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CEngineGotvSyncPacket* temp = _impl_.data_; - _impl_.data_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CEngineGotvSyncPacket* CMsgGCCStrike15_GotvSyncPacket::unsafe_arena_release_data() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_GotvSyncPacket.data) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CEngineGotvSyncPacket* temp = _impl_.data_; - _impl_.data_ = nullptr; - return temp; -} -inline ::CEngineGotvSyncPacket* CMsgGCCStrike15_GotvSyncPacket::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.data_ == nullptr) { - auto* p = CreateMaybeMessage<::CEngineGotvSyncPacket>(GetArenaForAllocation()); - _impl_.data_ = p; - } - return _impl_.data_; -} -inline ::CEngineGotvSyncPacket* CMsgGCCStrike15_GotvSyncPacket::mutable_data() { - ::CEngineGotvSyncPacket* _msg = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_GotvSyncPacket.data) - return _msg; -} -inline void CMsgGCCStrike15_GotvSyncPacket::set_allocated_data(::CEngineGotvSyncPacket* data) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); - } - if (data) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(data)); - if (message_arena != submessage_arena) { - data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, data, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_ = data; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_GotvSyncPacket.data) -} - -// ------------------------------------------------------------------- - -// PlayerDecalDigitalSignature - -// optional bytes signature = 1; -inline bool PlayerDecalDigitalSignature::_internal_has_signature() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool PlayerDecalDigitalSignature::has_signature() const { - return _internal_has_signature(); -} -inline void PlayerDecalDigitalSignature::clear_signature() { - _impl_.signature_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& PlayerDecalDigitalSignature::signature() const { - // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.signature) - return _internal_signature(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PlayerDecalDigitalSignature::set_signature(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.signature_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.signature) -} -inline std::string* PlayerDecalDigitalSignature::mutable_signature() { - std::string* _s = _internal_mutable_signature(); - // @@protoc_insertion_point(field_mutable:PlayerDecalDigitalSignature.signature) - return _s; -} -inline const std::string& PlayerDecalDigitalSignature::_internal_signature() const { - return _impl_.signature_.Get(); -} -inline void PlayerDecalDigitalSignature::_internal_set_signature(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.signature_.Set(value, GetArenaForAllocation()); -} -inline std::string* PlayerDecalDigitalSignature::_internal_mutable_signature() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.signature_.Mutable(GetArenaForAllocation()); -} -inline std::string* PlayerDecalDigitalSignature::release_signature() { - // @@protoc_insertion_point(field_release:PlayerDecalDigitalSignature.signature) - if (!_internal_has_signature()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.signature_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.signature_.IsDefault()) { - _impl_.signature_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PlayerDecalDigitalSignature::set_allocated_signature(std::string* signature) { - if (signature != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.signature_.SetAllocated(signature, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.signature_.IsDefault()) { - _impl_.signature_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PlayerDecalDigitalSignature.signature) -} - -// optional uint32 accountid = 2; -inline bool PlayerDecalDigitalSignature::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool PlayerDecalDigitalSignature::has_accountid() const { - return _internal_has_accountid(); -} -inline void PlayerDecalDigitalSignature::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t PlayerDecalDigitalSignature::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t PlayerDecalDigitalSignature::accountid() const { - // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.accountid) - return _internal_accountid(); -} -inline void PlayerDecalDigitalSignature::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.accountid_ = value; -} -inline void PlayerDecalDigitalSignature::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.accountid) -} - -// optional uint32 rtime = 3; -inline bool PlayerDecalDigitalSignature::_internal_has_rtime() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool PlayerDecalDigitalSignature::has_rtime() const { - return _internal_has_rtime(); -} -inline void PlayerDecalDigitalSignature::clear_rtime() { - _impl_.rtime_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t PlayerDecalDigitalSignature::_internal_rtime() const { - return _impl_.rtime_; -} -inline uint32_t PlayerDecalDigitalSignature::rtime() const { - // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.rtime) - return _internal_rtime(); -} -inline void PlayerDecalDigitalSignature::_internal_set_rtime(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.rtime_ = value; -} -inline void PlayerDecalDigitalSignature::set_rtime(uint32_t value) { - _internal_set_rtime(value); - // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.rtime) -} - -// repeated float endpos = 4; -inline int PlayerDecalDigitalSignature::_internal_endpos_size() const { - return _impl_.endpos_.size(); -} -inline int PlayerDecalDigitalSignature::endpos_size() const { - return _internal_endpos_size(); -} -inline void PlayerDecalDigitalSignature::clear_endpos() { - _impl_.endpos_.Clear(); -} -inline float PlayerDecalDigitalSignature::_internal_endpos(int index) const { - return _impl_.endpos_.Get(index); -} -inline float PlayerDecalDigitalSignature::endpos(int index) const { - // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.endpos) - return _internal_endpos(index); -} -inline void PlayerDecalDigitalSignature::set_endpos(int index, float value) { - _impl_.endpos_.Set(index, value); - // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.endpos) -} -inline void PlayerDecalDigitalSignature::_internal_add_endpos(float value) { - _impl_.endpos_.Add(value); -} -inline void PlayerDecalDigitalSignature::add_endpos(float value) { - _internal_add_endpos(value); - // @@protoc_insertion_point(field_add:PlayerDecalDigitalSignature.endpos) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& -PlayerDecalDigitalSignature::_internal_endpos() const { - return _impl_.endpos_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& -PlayerDecalDigitalSignature::endpos() const { - // @@protoc_insertion_point(field_list:PlayerDecalDigitalSignature.endpos) - return _internal_endpos(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* -PlayerDecalDigitalSignature::_internal_mutable_endpos() { - return &_impl_.endpos_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* -PlayerDecalDigitalSignature::mutable_endpos() { - // @@protoc_insertion_point(field_mutable_list:PlayerDecalDigitalSignature.endpos) - return _internal_mutable_endpos(); -} - -// repeated float startpos = 5; -inline int PlayerDecalDigitalSignature::_internal_startpos_size() const { - return _impl_.startpos_.size(); -} -inline int PlayerDecalDigitalSignature::startpos_size() const { - return _internal_startpos_size(); -} -inline void PlayerDecalDigitalSignature::clear_startpos() { - _impl_.startpos_.Clear(); -} -inline float PlayerDecalDigitalSignature::_internal_startpos(int index) const { - return _impl_.startpos_.Get(index); -} -inline float PlayerDecalDigitalSignature::startpos(int index) const { - // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.startpos) - return _internal_startpos(index); -} -inline void PlayerDecalDigitalSignature::set_startpos(int index, float value) { - _impl_.startpos_.Set(index, value); - // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.startpos) -} -inline void PlayerDecalDigitalSignature::_internal_add_startpos(float value) { - _impl_.startpos_.Add(value); -} -inline void PlayerDecalDigitalSignature::add_startpos(float value) { - _internal_add_startpos(value); - // @@protoc_insertion_point(field_add:PlayerDecalDigitalSignature.startpos) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& -PlayerDecalDigitalSignature::_internal_startpos() const { - return _impl_.startpos_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& -PlayerDecalDigitalSignature::startpos() const { - // @@protoc_insertion_point(field_list:PlayerDecalDigitalSignature.startpos) - return _internal_startpos(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* -PlayerDecalDigitalSignature::_internal_mutable_startpos() { - return &_impl_.startpos_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* -PlayerDecalDigitalSignature::mutable_startpos() { - // @@protoc_insertion_point(field_mutable_list:PlayerDecalDigitalSignature.startpos) - return _internal_mutable_startpos(); -} - -// repeated float left = 6; -inline int PlayerDecalDigitalSignature::_internal_left_size() const { - return _impl_.left_.size(); -} -inline int PlayerDecalDigitalSignature::left_size() const { - return _internal_left_size(); -} -inline void PlayerDecalDigitalSignature::clear_left() { - _impl_.left_.Clear(); -} -inline float PlayerDecalDigitalSignature::_internal_left(int index) const { - return _impl_.left_.Get(index); -} -inline float PlayerDecalDigitalSignature::left(int index) const { - // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.left) - return _internal_left(index); -} -inline void PlayerDecalDigitalSignature::set_left(int index, float value) { - _impl_.left_.Set(index, value); - // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.left) -} -inline void PlayerDecalDigitalSignature::_internal_add_left(float value) { - _impl_.left_.Add(value); -} -inline void PlayerDecalDigitalSignature::add_left(float value) { - _internal_add_left(value); - // @@protoc_insertion_point(field_add:PlayerDecalDigitalSignature.left) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& -PlayerDecalDigitalSignature::_internal_left() const { - return _impl_.left_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& -PlayerDecalDigitalSignature::left() const { - // @@protoc_insertion_point(field_list:PlayerDecalDigitalSignature.left) - return _internal_left(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* -PlayerDecalDigitalSignature::_internal_mutable_left() { - return &_impl_.left_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* -PlayerDecalDigitalSignature::mutable_left() { - // @@protoc_insertion_point(field_mutable_list:PlayerDecalDigitalSignature.left) - return _internal_mutable_left(); -} - -// optional uint32 tx_defidx = 7; -inline bool PlayerDecalDigitalSignature::_internal_has_tx_defidx() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool PlayerDecalDigitalSignature::has_tx_defidx() const { - return _internal_has_tx_defidx(); -} -inline void PlayerDecalDigitalSignature::clear_tx_defidx() { - _impl_.tx_defidx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t PlayerDecalDigitalSignature::_internal_tx_defidx() const { - return _impl_.tx_defidx_; -} -inline uint32_t PlayerDecalDigitalSignature::tx_defidx() const { - // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.tx_defidx) - return _internal_tx_defidx(); -} -inline void PlayerDecalDigitalSignature::_internal_set_tx_defidx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.tx_defidx_ = value; -} -inline void PlayerDecalDigitalSignature::set_tx_defidx(uint32_t value) { - _internal_set_tx_defidx(value); - // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.tx_defidx) -} - -// optional int32 entindex = 8; -inline bool PlayerDecalDigitalSignature::_internal_has_entindex() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool PlayerDecalDigitalSignature::has_entindex() const { - return _internal_has_entindex(); -} -inline void PlayerDecalDigitalSignature::clear_entindex() { - _impl_.entindex_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t PlayerDecalDigitalSignature::_internal_entindex() const { - return _impl_.entindex_; -} -inline int32_t PlayerDecalDigitalSignature::entindex() const { - // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.entindex) - return _internal_entindex(); -} -inline void PlayerDecalDigitalSignature::_internal_set_entindex(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.entindex_ = value; -} -inline void PlayerDecalDigitalSignature::set_entindex(int32_t value) { - _internal_set_entindex(value); - // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.entindex) -} - -// optional uint32 hitbox = 9; -inline bool PlayerDecalDigitalSignature::_internal_has_hitbox() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool PlayerDecalDigitalSignature::has_hitbox() const { - return _internal_has_hitbox(); -} -inline void PlayerDecalDigitalSignature::clear_hitbox() { - _impl_.hitbox_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t PlayerDecalDigitalSignature::_internal_hitbox() const { - return _impl_.hitbox_; -} -inline uint32_t PlayerDecalDigitalSignature::hitbox() const { - // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.hitbox) - return _internal_hitbox(); -} -inline void PlayerDecalDigitalSignature::_internal_set_hitbox(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.hitbox_ = value; -} -inline void PlayerDecalDigitalSignature::set_hitbox(uint32_t value) { - _internal_set_hitbox(value); - // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.hitbox) -} - -// optional float creationtime = 10; -inline bool PlayerDecalDigitalSignature::_internal_has_creationtime() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool PlayerDecalDigitalSignature::has_creationtime() const { - return _internal_has_creationtime(); -} -inline void PlayerDecalDigitalSignature::clear_creationtime() { - _impl_.creationtime_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline float PlayerDecalDigitalSignature::_internal_creationtime() const { - return _impl_.creationtime_; -} -inline float PlayerDecalDigitalSignature::creationtime() const { - // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.creationtime) - return _internal_creationtime(); -} -inline void PlayerDecalDigitalSignature::_internal_set_creationtime(float value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.creationtime_ = value; -} -inline void PlayerDecalDigitalSignature::set_creationtime(float value) { - _internal_set_creationtime(value); - // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.creationtime) -} - -// optional uint32 equipslot = 11; -inline bool PlayerDecalDigitalSignature::_internal_has_equipslot() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool PlayerDecalDigitalSignature::has_equipslot() const { - return _internal_has_equipslot(); -} -inline void PlayerDecalDigitalSignature::clear_equipslot() { - _impl_.equipslot_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t PlayerDecalDigitalSignature::_internal_equipslot() const { - return _impl_.equipslot_; -} -inline uint32_t PlayerDecalDigitalSignature::equipslot() const { - // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.equipslot) - return _internal_equipslot(); -} -inline void PlayerDecalDigitalSignature::_internal_set_equipslot(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.equipslot_ = value; -} -inline void PlayerDecalDigitalSignature::set_equipslot(uint32_t value) { - _internal_set_equipslot(value); - // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.equipslot) -} - -// optional uint32 trace_id = 12; -inline bool PlayerDecalDigitalSignature::_internal_has_trace_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool PlayerDecalDigitalSignature::has_trace_id() const { - return _internal_has_trace_id(); -} -inline void PlayerDecalDigitalSignature::clear_trace_id() { - _impl_.trace_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t PlayerDecalDigitalSignature::_internal_trace_id() const { - return _impl_.trace_id_; -} -inline uint32_t PlayerDecalDigitalSignature::trace_id() const { - // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.trace_id) - return _internal_trace_id(); -} -inline void PlayerDecalDigitalSignature::_internal_set_trace_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.trace_id_ = value; -} -inline void PlayerDecalDigitalSignature::set_trace_id(uint32_t value) { - _internal_set_trace_id(value); - // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.trace_id) -} - -// repeated float normal = 13; -inline int PlayerDecalDigitalSignature::_internal_normal_size() const { - return _impl_.normal_.size(); -} -inline int PlayerDecalDigitalSignature::normal_size() const { - return _internal_normal_size(); -} -inline void PlayerDecalDigitalSignature::clear_normal() { - _impl_.normal_.Clear(); -} -inline float PlayerDecalDigitalSignature::_internal_normal(int index) const { - return _impl_.normal_.Get(index); -} -inline float PlayerDecalDigitalSignature::normal(int index) const { - // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.normal) - return _internal_normal(index); -} -inline void PlayerDecalDigitalSignature::set_normal(int index, float value) { - _impl_.normal_.Set(index, value); - // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.normal) -} -inline void PlayerDecalDigitalSignature::_internal_add_normal(float value) { - _impl_.normal_.Add(value); -} -inline void PlayerDecalDigitalSignature::add_normal(float value) { - _internal_add_normal(value); - // @@protoc_insertion_point(field_add:PlayerDecalDigitalSignature.normal) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& -PlayerDecalDigitalSignature::_internal_normal() const { - return _impl_.normal_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& -PlayerDecalDigitalSignature::normal() const { - // @@protoc_insertion_point(field_list:PlayerDecalDigitalSignature.normal) - return _internal_normal(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* -PlayerDecalDigitalSignature::_internal_mutable_normal() { - return &_impl_.normal_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* -PlayerDecalDigitalSignature::mutable_normal() { - // @@protoc_insertion_point(field_mutable_list:PlayerDecalDigitalSignature.normal) - return _internal_mutable_normal(); -} - -// optional uint32 tint_id = 14; -inline bool PlayerDecalDigitalSignature::_internal_has_tint_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool PlayerDecalDigitalSignature::has_tint_id() const { - return _internal_has_tint_id(); -} -inline void PlayerDecalDigitalSignature::clear_tint_id() { - _impl_.tint_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t PlayerDecalDigitalSignature::_internal_tint_id() const { - return _impl_.tint_id_; -} -inline uint32_t PlayerDecalDigitalSignature::tint_id() const { - // @@protoc_insertion_point(field_get:PlayerDecalDigitalSignature.tint_id) - return _internal_tint_id(); -} -inline void PlayerDecalDigitalSignature::_internal_set_tint_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.tint_id_ = value; -} -inline void PlayerDecalDigitalSignature::set_tint_id(uint32_t value) { - _internal_set_tint_id(value); - // @@protoc_insertion_point(field_set:PlayerDecalDigitalSignature.tint_id) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientPlayerDecalSign - -// optional .PlayerDecalDigitalSignature data = 1; -inline bool CMsgGCCStrike15_v2_ClientPlayerDecalSign::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.data_ != nullptr); - return value; -} -inline bool CMsgGCCStrike15_v2_ClientPlayerDecalSign::has_data() const { - return _internal_has_data(); -} -inline void CMsgGCCStrike15_v2_ClientPlayerDecalSign::clear_data() { - if (_impl_.data_ != nullptr) _impl_.data_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::PlayerDecalDigitalSignature& CMsgGCCStrike15_v2_ClientPlayerDecalSign::_internal_data() const { - const ::PlayerDecalDigitalSignature* p = _impl_.data_; - return p != nullptr ? *p : reinterpret_cast( - ::_PlayerDecalDigitalSignature_default_instance_); -} -inline const ::PlayerDecalDigitalSignature& CMsgGCCStrike15_v2_ClientPlayerDecalSign::data() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPlayerDecalSign.data) - return _internal_data(); -} -inline void CMsgGCCStrike15_v2_ClientPlayerDecalSign::unsafe_arena_set_allocated_data( - ::PlayerDecalDigitalSignature* data) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); - } - _impl_.data_ = data; - if (data) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgGCCStrike15_v2_ClientPlayerDecalSign.data) -} -inline ::PlayerDecalDigitalSignature* CMsgGCCStrike15_v2_ClientPlayerDecalSign::release_data() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::PlayerDecalDigitalSignature* temp = _impl_.data_; - _impl_.data_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::PlayerDecalDigitalSignature* CMsgGCCStrike15_v2_ClientPlayerDecalSign::unsafe_arena_release_data() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientPlayerDecalSign.data) - _impl_._has_bits_[0] &= ~0x00000001u; - ::PlayerDecalDigitalSignature* temp = _impl_.data_; - _impl_.data_ = nullptr; - return temp; -} -inline ::PlayerDecalDigitalSignature* CMsgGCCStrike15_v2_ClientPlayerDecalSign::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.data_ == nullptr) { - auto* p = CreateMaybeMessage<::PlayerDecalDigitalSignature>(GetArenaForAllocation()); - _impl_.data_ = p; - } - return _impl_.data_; -} -inline ::PlayerDecalDigitalSignature* CMsgGCCStrike15_v2_ClientPlayerDecalSign::mutable_data() { - ::PlayerDecalDigitalSignature* _msg = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientPlayerDecalSign.data) - return _msg; -} -inline void CMsgGCCStrike15_v2_ClientPlayerDecalSign::set_allocated_data(::PlayerDecalDigitalSignature* data) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.data_; - } - if (data) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(data); - if (message_arena != submessage_arena) { - data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, data, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_ = data; - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientPlayerDecalSign.data) -} - -// optional uint64 itemid = 2; -inline bool CMsgGCCStrike15_v2_ClientPlayerDecalSign::_internal_has_itemid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientPlayerDecalSign::has_itemid() const { - return _internal_has_itemid(); -} -inline void CMsgGCCStrike15_v2_ClientPlayerDecalSign::clear_itemid() { - _impl_.itemid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientPlayerDecalSign::_internal_itemid() const { - return _impl_.itemid_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientPlayerDecalSign::itemid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPlayerDecalSign.itemid) - return _internal_itemid(); -} -inline void CMsgGCCStrike15_v2_ClientPlayerDecalSign::_internal_set_itemid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.itemid_ = value; -} -inline void CMsgGCCStrike15_v2_ClientPlayerDecalSign::set_itemid(uint64_t value) { - _internal_set_itemid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPlayerDecalSign.itemid) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_BetaEnrollment - -// optional uint32 eresult = 1; -inline bool CMsgGCCStrike15_v2_BetaEnrollment::_internal_has_eresult() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_BetaEnrollment::has_eresult() const { - return _internal_has_eresult(); -} -inline void CMsgGCCStrike15_v2_BetaEnrollment::clear_eresult() { - _impl_.eresult_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_BetaEnrollment::_internal_eresult() const { - return _impl_.eresult_; -} -inline uint32_t CMsgGCCStrike15_v2_BetaEnrollment::eresult() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_BetaEnrollment.eresult) - return _internal_eresult(); -} -inline void CMsgGCCStrike15_v2_BetaEnrollment::_internal_set_eresult(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.eresult_ = value; -} -inline void CMsgGCCStrike15_v2_BetaEnrollment::set_eresult(uint32_t value) { - _internal_set_eresult(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_BetaEnrollment.eresult) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientLogonFatalError - -// optional uint32 errorcode = 1; -inline bool CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_has_errorcode() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientLogonFatalError::has_errorcode() const { - return _internal_has_errorcode(); -} -inline void CMsgGCCStrike15_v2_ClientLogonFatalError::clear_errorcode() { - _impl_.errorcode_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_errorcode() const { - return _impl_.errorcode_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientLogonFatalError::errorcode() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientLogonFatalError.errorcode) - return _internal_errorcode(); -} -inline void CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_set_errorcode(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.errorcode_ = value; -} -inline void CMsgGCCStrike15_v2_ClientLogonFatalError::set_errorcode(uint32_t value) { - _internal_set_errorcode(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientLogonFatalError.errorcode) -} - -// optional string message = 2; -inline bool CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_has_message() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientLogonFatalError::has_message() const { - return _internal_has_message(); -} -inline void CMsgGCCStrike15_v2_ClientLogonFatalError::clear_message() { - _impl_.message_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_ClientLogonFatalError::message() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientLogonFatalError.message) - return _internal_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_ClientLogonFatalError::set_message(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientLogonFatalError.message) -} -inline std::string* CMsgGCCStrike15_v2_ClientLogonFatalError::mutable_message() { - std::string* _s = _internal_mutable_message(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientLogonFatalError.message) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_message() const { - return _impl_.message_.Get(); -} -inline void CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_set_message(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.message_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_mutable_message() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.message_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientLogonFatalError::release_message() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientLogonFatalError.message) - if (!_internal_has_message()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.message_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_ClientLogonFatalError::set_allocated_message(std::string* message) { - if (message != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.message_.SetAllocated(message, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientLogonFatalError.message) -} - -// optional string country = 3; -inline bool CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_has_country() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientLogonFatalError::has_country() const { - return _internal_has_country(); -} -inline void CMsgGCCStrike15_v2_ClientLogonFatalError::clear_country() { - _impl_.country_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgGCCStrike15_v2_ClientLogonFatalError::country() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientLogonFatalError.country) - return _internal_country(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_ClientLogonFatalError::set_country(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.country_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientLogonFatalError.country) -} -inline std::string* CMsgGCCStrike15_v2_ClientLogonFatalError::mutable_country() { - std::string* _s = _internal_mutable_country(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientLogonFatalError.country) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_country() const { - return _impl_.country_.Get(); -} -inline void CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_set_country(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.country_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientLogonFatalError::_internal_mutable_country() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.country_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientLogonFatalError::release_country() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientLogonFatalError.country) - if (!_internal_has_country()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.country_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.country_.IsDefault()) { - _impl_.country_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_ClientLogonFatalError::set_allocated_country(std::string* country) { - if (country != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.country_.SetAllocated(country, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.country_.IsDefault()) { - _impl_.country_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientLogonFatalError.country) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientPollState - -// optional uint32 pollid = 1; -inline bool CMsgGCCStrike15_v2_ClientPollState::_internal_has_pollid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientPollState::has_pollid() const { - return _internal_has_pollid(); -} -inline void CMsgGCCStrike15_v2_ClientPollState::clear_pollid() { - _impl_.pollid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientPollState::_internal_pollid() const { - return _impl_.pollid_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientPollState::pollid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPollState.pollid) - return _internal_pollid(); -} -inline void CMsgGCCStrike15_v2_ClientPollState::_internal_set_pollid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.pollid_ = value; -} -inline void CMsgGCCStrike15_v2_ClientPollState::set_pollid(uint32_t value) { - _internal_set_pollid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPollState.pollid) -} - -// repeated string names = 2; -inline int CMsgGCCStrike15_v2_ClientPollState::_internal_names_size() const { - return _impl_.names_.size(); -} -inline int CMsgGCCStrike15_v2_ClientPollState::names_size() const { - return _internal_names_size(); -} -inline void CMsgGCCStrike15_v2_ClientPollState::clear_names() { - _impl_.names_.Clear(); -} -inline std::string* CMsgGCCStrike15_v2_ClientPollState::add_names() { - std::string* _s = _internal_add_names(); - // @@protoc_insertion_point(field_add_mutable:CMsgGCCStrike15_v2_ClientPollState.names) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_ClientPollState::_internal_names(int index) const { - return _impl_.names_.Get(index); -} -inline const std::string& CMsgGCCStrike15_v2_ClientPollState::names(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPollState.names) - return _internal_names(index); -} -inline std::string* CMsgGCCStrike15_v2_ClientPollState::mutable_names(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientPollState.names) - return _impl_.names_.Mutable(index); -} -inline void CMsgGCCStrike15_v2_ClientPollState::set_names(int index, const std::string& value) { - _impl_.names_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPollState.names) -} -inline void CMsgGCCStrike15_v2_ClientPollState::set_names(int index, std::string&& value) { - _impl_.names_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPollState.names) -} -inline void CMsgGCCStrike15_v2_ClientPollState::set_names(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.names_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CMsgGCCStrike15_v2_ClientPollState.names) -} -inline void CMsgGCCStrike15_v2_ClientPollState::set_names(int index, const char* value, size_t size) { - _impl_.names_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CMsgGCCStrike15_v2_ClientPollState.names) -} -inline std::string* CMsgGCCStrike15_v2_ClientPollState::_internal_add_names() { - return _impl_.names_.Add(); -} -inline void CMsgGCCStrike15_v2_ClientPollState::add_names(const std::string& value) { - _impl_.names_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientPollState.names) -} -inline void CMsgGCCStrike15_v2_ClientPollState::add_names(std::string&& value) { - _impl_.names_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientPollState.names) -} -inline void CMsgGCCStrike15_v2_ClientPollState::add_names(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.names_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CMsgGCCStrike15_v2_ClientPollState.names) -} -inline void CMsgGCCStrike15_v2_ClientPollState::add_names(const char* value, size_t size) { - _impl_.names_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CMsgGCCStrike15_v2_ClientPollState.names) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CMsgGCCStrike15_v2_ClientPollState::names() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientPollState.names) - return _impl_.names_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CMsgGCCStrike15_v2_ClientPollState::mutable_names() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientPollState.names) - return &_impl_.names_; -} - -// repeated int32 values = 3; -inline int CMsgGCCStrike15_v2_ClientPollState::_internal_values_size() const { - return _impl_.values_.size(); -} -inline int CMsgGCCStrike15_v2_ClientPollState::values_size() const { - return _internal_values_size(); -} -inline void CMsgGCCStrike15_v2_ClientPollState::clear_values() { - _impl_.values_.Clear(); -} -inline int32_t CMsgGCCStrike15_v2_ClientPollState::_internal_values(int index) const { - return _impl_.values_.Get(index); -} -inline int32_t CMsgGCCStrike15_v2_ClientPollState::values(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPollState.values) - return _internal_values(index); -} -inline void CMsgGCCStrike15_v2_ClientPollState::set_values(int index, int32_t value) { - _impl_.values_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPollState.values) -} -inline void CMsgGCCStrike15_v2_ClientPollState::_internal_add_values(int32_t value) { - _impl_.values_.Add(value); -} -inline void CMsgGCCStrike15_v2_ClientPollState::add_values(int32_t value) { - _internal_add_values(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientPollState.values) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_ClientPollState::_internal_values() const { - return _impl_.values_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CMsgGCCStrike15_v2_ClientPollState::values() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientPollState.values) - return _internal_values(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_ClientPollState::_internal_mutable_values() { - return &_impl_.values_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CMsgGCCStrike15_v2_ClientPollState::mutable_values() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientPollState.values) - return _internal_mutable_values(); -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Party_Register - -// optional uint32 id = 1; -inline bool CMsgGCCStrike15_v2_Party_Register::_internal_has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_Register::has_id() const { - return _internal_has_id(); -} -inline void CMsgGCCStrike15_v2_Party_Register::clear_id() { - _impl_.id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Register::_internal_id() const { - return _impl_.id_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Register::id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Register.id) - return _internal_id(); -} -inline void CMsgGCCStrike15_v2_Party_Register::_internal_set_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.id_ = value; -} -inline void CMsgGCCStrike15_v2_Party_Register::set_id(uint32_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Register.id) -} - -// optional uint32 ver = 2; -inline bool CMsgGCCStrike15_v2_Party_Register::_internal_has_ver() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_Register::has_ver() const { - return _internal_has_ver(); -} -inline void CMsgGCCStrike15_v2_Party_Register::clear_ver() { - _impl_.ver_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Register::_internal_ver() const { - return _impl_.ver_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Register::ver() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Register.ver) - return _internal_ver(); -} -inline void CMsgGCCStrike15_v2_Party_Register::_internal_set_ver(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.ver_ = value; -} -inline void CMsgGCCStrike15_v2_Party_Register::set_ver(uint32_t value) { - _internal_set_ver(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Register.ver) -} - -// optional uint32 apr = 3; -inline bool CMsgGCCStrike15_v2_Party_Register::_internal_has_apr() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_Register::has_apr() const { - return _internal_has_apr(); -} -inline void CMsgGCCStrike15_v2_Party_Register::clear_apr() { - _impl_.apr_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Register::_internal_apr() const { - return _impl_.apr_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Register::apr() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Register.apr) - return _internal_apr(); -} -inline void CMsgGCCStrike15_v2_Party_Register::_internal_set_apr(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.apr_ = value; -} -inline void CMsgGCCStrike15_v2_Party_Register::set_apr(uint32_t value) { - _internal_set_apr(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Register.apr) -} - -// optional uint32 ark = 4; -inline bool CMsgGCCStrike15_v2_Party_Register::_internal_has_ark() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_Register::has_ark() const { - return _internal_has_ark(); -} -inline void CMsgGCCStrike15_v2_Party_Register::clear_ark() { - _impl_.ark_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Register::_internal_ark() const { - return _impl_.ark_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Register::ark() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Register.ark) - return _internal_ark(); -} -inline void CMsgGCCStrike15_v2_Party_Register::_internal_set_ark(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.ark_ = value; -} -inline void CMsgGCCStrike15_v2_Party_Register::set_ark(uint32_t value) { - _internal_set_ark(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Register.ark) -} - -// optional uint32 nby = 5; -inline bool CMsgGCCStrike15_v2_Party_Register::_internal_has_nby() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_Register::has_nby() const { - return _internal_has_nby(); -} -inline void CMsgGCCStrike15_v2_Party_Register::clear_nby() { - _impl_.nby_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Register::_internal_nby() const { - return _impl_.nby_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Register::nby() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Register.nby) - return _internal_nby(); -} -inline void CMsgGCCStrike15_v2_Party_Register::_internal_set_nby(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.nby_ = value; -} -inline void CMsgGCCStrike15_v2_Party_Register::set_nby(uint32_t value) { - _internal_set_nby(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Register.nby) -} - -// optional uint32 grp = 6; -inline bool CMsgGCCStrike15_v2_Party_Register::_internal_has_grp() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_Register::has_grp() const { - return _internal_has_grp(); -} -inline void CMsgGCCStrike15_v2_Party_Register::clear_grp() { - _impl_.grp_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Register::_internal_grp() const { - return _impl_.grp_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Register::grp() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Register.grp) - return _internal_grp(); -} -inline void CMsgGCCStrike15_v2_Party_Register::_internal_set_grp(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.grp_ = value; -} -inline void CMsgGCCStrike15_v2_Party_Register::set_grp(uint32_t value) { - _internal_set_grp(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Register.grp) -} - -// optional uint32 slots = 7; -inline bool CMsgGCCStrike15_v2_Party_Register::_internal_has_slots() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_Register::has_slots() const { - return _internal_has_slots(); -} -inline void CMsgGCCStrike15_v2_Party_Register::clear_slots() { - _impl_.slots_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Register::_internal_slots() const { - return _impl_.slots_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Register::slots() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Register.slots) - return _internal_slots(); -} -inline void CMsgGCCStrike15_v2_Party_Register::_internal_set_slots(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.slots_ = value; -} -inline void CMsgGCCStrike15_v2_Party_Register::set_slots(uint32_t value) { - _internal_set_slots(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Register.slots) -} - -// optional uint32 launcher = 8; -inline bool CMsgGCCStrike15_v2_Party_Register::_internal_has_launcher() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_Register::has_launcher() const { - return _internal_has_launcher(); -} -inline void CMsgGCCStrike15_v2_Party_Register::clear_launcher() { - _impl_.launcher_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Register::_internal_launcher() const { - return _impl_.launcher_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Register::launcher() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Register.launcher) - return _internal_launcher(); -} -inline void CMsgGCCStrike15_v2_Party_Register::_internal_set_launcher(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.launcher_ = value; -} -inline void CMsgGCCStrike15_v2_Party_Register::set_launcher(uint32_t value) { - _internal_set_launcher(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Register.launcher) -} - -// optional uint32 game_type = 9; -inline bool CMsgGCCStrike15_v2_Party_Register::_internal_has_game_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_Register::has_game_type() const { - return _internal_has_game_type(); -} -inline void CMsgGCCStrike15_v2_Party_Register::clear_game_type() { - _impl_.game_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Register::_internal_game_type() const { - return _impl_.game_type_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Register::game_type() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Register.game_type) - return _internal_game_type(); -} -inline void CMsgGCCStrike15_v2_Party_Register::_internal_set_game_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.game_type_ = value; -} -inline void CMsgGCCStrike15_v2_Party_Register::set_game_type(uint32_t value) { - _internal_set_game_type(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Register.game_type) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Party_Search - -// optional uint32 ver = 1; -inline bool CMsgGCCStrike15_v2_Party_Search::_internal_has_ver() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_Search::has_ver() const { - return _internal_has_ver(); -} -inline void CMsgGCCStrike15_v2_Party_Search::clear_ver() { - _impl_.ver_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Search::_internal_ver() const { - return _impl_.ver_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Search::ver() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Search.ver) - return _internal_ver(); -} -inline void CMsgGCCStrike15_v2_Party_Search::_internal_set_ver(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ver_ = value; -} -inline void CMsgGCCStrike15_v2_Party_Search::set_ver(uint32_t value) { - _internal_set_ver(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Search.ver) -} - -// optional uint32 apr = 2; -inline bool CMsgGCCStrike15_v2_Party_Search::_internal_has_apr() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_Search::has_apr() const { - return _internal_has_apr(); -} -inline void CMsgGCCStrike15_v2_Party_Search::clear_apr() { - _impl_.apr_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Search::_internal_apr() const { - return _impl_.apr_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Search::apr() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Search.apr) - return _internal_apr(); -} -inline void CMsgGCCStrike15_v2_Party_Search::_internal_set_apr(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.apr_ = value; -} -inline void CMsgGCCStrike15_v2_Party_Search::set_apr(uint32_t value) { - _internal_set_apr(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Search.apr) -} - -// optional uint32 ark = 3; -inline bool CMsgGCCStrike15_v2_Party_Search::_internal_has_ark() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_Search::has_ark() const { - return _internal_has_ark(); -} -inline void CMsgGCCStrike15_v2_Party_Search::clear_ark() { - _impl_.ark_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Search::_internal_ark() const { - return _impl_.ark_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Search::ark() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Search.ark) - return _internal_ark(); -} -inline void CMsgGCCStrike15_v2_Party_Search::_internal_set_ark(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.ark_ = value; -} -inline void CMsgGCCStrike15_v2_Party_Search::set_ark(uint32_t value) { - _internal_set_ark(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Search.ark) -} - -// repeated uint32 grps = 4; -inline int CMsgGCCStrike15_v2_Party_Search::_internal_grps_size() const { - return _impl_.grps_.size(); -} -inline int CMsgGCCStrike15_v2_Party_Search::grps_size() const { - return _internal_grps_size(); -} -inline void CMsgGCCStrike15_v2_Party_Search::clear_grps() { - _impl_.grps_.Clear(); -} -inline uint32_t CMsgGCCStrike15_v2_Party_Search::_internal_grps(int index) const { - return _impl_.grps_.Get(index); -} -inline uint32_t CMsgGCCStrike15_v2_Party_Search::grps(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Search.grps) - return _internal_grps(index); -} -inline void CMsgGCCStrike15_v2_Party_Search::set_grps(int index, uint32_t value) { - _impl_.grps_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Search.grps) -} -inline void CMsgGCCStrike15_v2_Party_Search::_internal_add_grps(uint32_t value) { - _impl_.grps_.Add(value); -} -inline void CMsgGCCStrike15_v2_Party_Search::add_grps(uint32_t value) { - _internal_add_grps(value); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_Party_Search.grps) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_Party_Search::_internal_grps() const { - return _impl_.grps_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCCStrike15_v2_Party_Search::grps() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_Party_Search.grps) - return _internal_grps(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_Party_Search::_internal_mutable_grps() { - return &_impl_.grps_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCCStrike15_v2_Party_Search::mutable_grps() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_Party_Search.grps) - return _internal_mutable_grps(); -} - -// optional uint32 launcher = 5; -inline bool CMsgGCCStrike15_v2_Party_Search::_internal_has_launcher() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_Search::has_launcher() const { - return _internal_has_launcher(); -} -inline void CMsgGCCStrike15_v2_Party_Search::clear_launcher() { - _impl_.launcher_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Search::_internal_launcher() const { - return _impl_.launcher_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Search::launcher() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Search.launcher) - return _internal_launcher(); -} -inline void CMsgGCCStrike15_v2_Party_Search::_internal_set_launcher(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.launcher_ = value; -} -inline void CMsgGCCStrike15_v2_Party_Search::set_launcher(uint32_t value) { - _internal_set_launcher(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Search.launcher) -} - -// optional uint32 game_type = 6; -inline bool CMsgGCCStrike15_v2_Party_Search::_internal_has_game_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_Search::has_game_type() const { - return _internal_has_game_type(); -} -inline void CMsgGCCStrike15_v2_Party_Search::clear_game_type() { - _impl_.game_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Search::_internal_game_type() const { - return _impl_.game_type_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Search::game_type() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Search.game_type) - return _internal_game_type(); -} -inline void CMsgGCCStrike15_v2_Party_Search::_internal_set_game_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.game_type_ = value; -} -inline void CMsgGCCStrike15_v2_Party_Search::set_game_type(uint32_t value) { - _internal_set_game_type(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Search.game_type) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Party_SearchResults_Entry - -// optional uint32 id = 1; -inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::has_id() const { - return _internal_has_id(); -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::clear_id() { - _impl_.id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_id() const { - return _impl_.id_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_SearchResults.Entry.id) - return _internal_id(); -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_set_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.id_ = value; -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::set_id(uint32_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_SearchResults.Entry.id) -} - -// optional uint32 grp = 2; -inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_has_grp() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::has_grp() const { - return _internal_has_grp(); -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::clear_grp() { - _impl_.grp_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_grp() const { - return _impl_.grp_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::grp() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_SearchResults.Entry.grp) - return _internal_grp(); -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_set_grp(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.grp_ = value; -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::set_grp(uint32_t value) { - _internal_set_grp(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_SearchResults.Entry.grp) -} - -// optional uint32 game_type = 3; -inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_has_game_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::has_game_type() const { - return _internal_has_game_type(); -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::clear_game_type() { - _impl_.game_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_game_type() const { - return _impl_.game_type_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::game_type() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_SearchResults.Entry.game_type) - return _internal_game_type(); -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_set_game_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.game_type_ = value; -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::set_game_type(uint32_t value) { - _internal_set_game_type(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_SearchResults.Entry.game_type) -} - -// optional uint32 apr = 4; -inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_has_apr() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::has_apr() const { - return _internal_has_apr(); -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::clear_apr() { - _impl_.apr_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_apr() const { - return _impl_.apr_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::apr() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_SearchResults.Entry.apr) - return _internal_apr(); -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_set_apr(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.apr_ = value; -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::set_apr(uint32_t value) { - _internal_set_apr(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_SearchResults.Entry.apr) -} - -// optional uint32 ark = 5; -inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_has_ark() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::has_ark() const { - return _internal_has_ark(); -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::clear_ark() { - _impl_.ark_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_ark() const { - return _impl_.ark_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::ark() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_SearchResults.Entry.ark) - return _internal_ark(); -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_set_ark(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.ark_ = value; -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::set_ark(uint32_t value) { - _internal_set_ark(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_SearchResults.Entry.ark) -} - -// optional uint32 loc = 6; -inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_has_loc() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::has_loc() const { - return _internal_has_loc(); -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::clear_loc() { - _impl_.loc_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_loc() const { - return _impl_.loc_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::loc() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_SearchResults.Entry.loc) - return _internal_loc(); -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_set_loc(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.loc_ = value; -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::set_loc(uint32_t value) { - _internal_set_loc(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_SearchResults.Entry.loc) -} - -// optional uint32 accountid = 7; -inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_SearchResults_Entry::has_accountid() const { - return _internal_has_accountid(); -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_SearchResults_Entry::accountid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_SearchResults.Entry.accountid) - return _internal_accountid(); -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.accountid_ = value; -} -inline void CMsgGCCStrike15_v2_Party_SearchResults_Entry::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_SearchResults.Entry.accountid) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Party_SearchResults - -// repeated .CMsgGCCStrike15_v2_Party_SearchResults.Entry entries = 1; -inline int CMsgGCCStrike15_v2_Party_SearchResults::_internal_entries_size() const { - return _impl_.entries_.size(); -} -inline int CMsgGCCStrike15_v2_Party_SearchResults::entries_size() const { - return _internal_entries_size(); -} -inline void CMsgGCCStrike15_v2_Party_SearchResults::clear_entries() { - _impl_.entries_.Clear(); -} -inline ::CMsgGCCStrike15_v2_Party_SearchResults_Entry* CMsgGCCStrike15_v2_Party_SearchResults::mutable_entries(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_Party_SearchResults.entries) - return _impl_.entries_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Party_SearchResults_Entry >* -CMsgGCCStrike15_v2_Party_SearchResults::mutable_entries() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_Party_SearchResults.entries) - return &_impl_.entries_; -} -inline const ::CMsgGCCStrike15_v2_Party_SearchResults_Entry& CMsgGCCStrike15_v2_Party_SearchResults::_internal_entries(int index) const { - return _impl_.entries_.Get(index); -} -inline const ::CMsgGCCStrike15_v2_Party_SearchResults_Entry& CMsgGCCStrike15_v2_Party_SearchResults::entries(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_SearchResults.entries) - return _internal_entries(index); -} -inline ::CMsgGCCStrike15_v2_Party_SearchResults_Entry* CMsgGCCStrike15_v2_Party_SearchResults::_internal_add_entries() { - return _impl_.entries_.Add(); -} -inline ::CMsgGCCStrike15_v2_Party_SearchResults_Entry* CMsgGCCStrike15_v2_Party_SearchResults::add_entries() { - ::CMsgGCCStrike15_v2_Party_SearchResults_Entry* _add = _internal_add_entries(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_Party_SearchResults.entries) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Party_SearchResults_Entry >& -CMsgGCCStrike15_v2_Party_SearchResults::entries() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_Party_SearchResults.entries) - return _impl_.entries_; -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Party_Invite - -// optional uint32 accountid = 1; -inline bool CMsgGCCStrike15_v2_Party_Invite::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_Invite::has_accountid() const { - return _internal_has_accountid(); -} -inline void CMsgGCCStrike15_v2_Party_Invite::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Invite::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Invite::accountid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Invite.accountid) - return _internal_accountid(); -} -inline void CMsgGCCStrike15_v2_Party_Invite::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.accountid_ = value; -} -inline void CMsgGCCStrike15_v2_Party_Invite::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Invite.accountid) -} - -// optional uint32 lobbyid = 2; -inline bool CMsgGCCStrike15_v2_Party_Invite::_internal_has_lobbyid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Party_Invite::has_lobbyid() const { - return _internal_has_lobbyid(); -} -inline void CMsgGCCStrike15_v2_Party_Invite::clear_lobbyid() { - _impl_.lobbyid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Invite::_internal_lobbyid() const { - return _impl_.lobbyid_; -} -inline uint32_t CMsgGCCStrike15_v2_Party_Invite::lobbyid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Party_Invite.lobbyid) - return _internal_lobbyid(); -} -inline void CMsgGCCStrike15_v2_Party_Invite::_internal_set_lobbyid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.lobbyid_ = value; -} -inline void CMsgGCCStrike15_v2_Party_Invite::set_lobbyid(uint32_t value) { - _internal_set_lobbyid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Party_Invite.lobbyid) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Account_RequestCoPlays_Player - -// optional uint32 accountid = 1; -inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::has_accountid() const { - return _internal_has_accountid(); -} -inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::accountid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player.accountid) - return _internal_accountid(); -} -inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.accountid_ = value; -} -inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player.accountid) -} - -// optional uint32 rtcoplay = 2; -inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_internal_has_rtcoplay() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::has_rtcoplay() const { - return _internal_has_rtcoplay(); -} -inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::clear_rtcoplay() { - _impl_.rtcoplay_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_internal_rtcoplay() const { - return _impl_.rtcoplay_; -} -inline uint32_t CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::rtcoplay() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player.rtcoplay) - return _internal_rtcoplay(); -} -inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_internal_set_rtcoplay(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.rtcoplay_ = value; -} -inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::set_rtcoplay(uint32_t value) { - _internal_set_rtcoplay(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player.rtcoplay) -} - -// optional bool online = 3; -inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_internal_has_online() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::has_online() const { - return _internal_has_online(); -} -inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::clear_online() { - _impl_.online_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_internal_online() const { - return _impl_.online_; -} -inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::online() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player.online) - return _internal_online(); -} -inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::_internal_set_online(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.online_ = value; -} -inline void CMsgGCCStrike15_v2_Account_RequestCoPlays_Player::set_online(bool value) { - _internal_set_online(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Account_RequestCoPlays.Player.online) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_Account_RequestCoPlays - -// repeated .CMsgGCCStrike15_v2_Account_RequestCoPlays.Player players = 1; -inline int CMsgGCCStrike15_v2_Account_RequestCoPlays::_internal_players_size() const { - return _impl_.players_.size(); -} -inline int CMsgGCCStrike15_v2_Account_RequestCoPlays::players_size() const { - return _internal_players_size(); -} -inline void CMsgGCCStrike15_v2_Account_RequestCoPlays::clear_players() { - _impl_.players_.Clear(); -} -inline ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* CMsgGCCStrike15_v2_Account_RequestCoPlays::mutable_players(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_Account_RequestCoPlays.players) - return _impl_.players_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player >* -CMsgGCCStrike15_v2_Account_RequestCoPlays::mutable_players() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_Account_RequestCoPlays.players) - return &_impl_.players_; -} -inline const ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& CMsgGCCStrike15_v2_Account_RequestCoPlays::_internal_players(int index) const { - return _impl_.players_.Get(index); -} -inline const ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player& CMsgGCCStrike15_v2_Account_RequestCoPlays::players(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Account_RequestCoPlays.players) - return _internal_players(index); -} -inline ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* CMsgGCCStrike15_v2_Account_RequestCoPlays::_internal_add_players() { - return _impl_.players_.Add(); -} -inline ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* CMsgGCCStrike15_v2_Account_RequestCoPlays::add_players() { - ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player* _add = _internal_add_players(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_Account_RequestCoPlays.players) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_Account_RequestCoPlays_Player >& -CMsgGCCStrike15_v2_Account_RequestCoPlays::players() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_Account_RequestCoPlays.players) - return _impl_.players_; -} - -// optional uint32 servertime = 2; -inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays::_internal_has_servertime() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_Account_RequestCoPlays::has_servertime() const { - return _internal_has_servertime(); -} -inline void CMsgGCCStrike15_v2_Account_RequestCoPlays::clear_servertime() { - _impl_.servertime_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_Account_RequestCoPlays::_internal_servertime() const { - return _impl_.servertime_; -} -inline uint32_t CMsgGCCStrike15_v2_Account_RequestCoPlays::servertime() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_Account_RequestCoPlays.servertime) - return _internal_servertime(); -} -inline void CMsgGCCStrike15_v2_Account_RequestCoPlays::_internal_set_servertime(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.servertime_ = value; -} -inline void CMsgGCCStrike15_v2_Account_RequestCoPlays::set_servertime(uint32_t value) { - _internal_set_servertime(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_Account_RequestCoPlays.servertime) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientToGCRequestTicket - -// optional fixed64 authorized_steam_id = 1; -inline bool CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_has_authorized_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientToGCRequestTicket::has_authorized_steam_id() const { - return _internal_has_authorized_steam_id(); -} -inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::clear_authorized_steam_id() { - _impl_.authorized_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_authorized_steam_id() const { - return _impl_.authorized_steam_id_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientToGCRequestTicket::authorized_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientToGCRequestTicket.authorized_steam_id) - return _internal_authorized_steam_id(); -} -inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_set_authorized_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.authorized_steam_id_ = value; -} -inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::set_authorized_steam_id(uint64_t value) { - _internal_set_authorized_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientToGCRequestTicket.authorized_steam_id) -} - -// optional fixed32 authorized_public_ip = 2; -inline bool CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_has_authorized_public_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientToGCRequestTicket::has_authorized_public_ip() const { - return _internal_has_authorized_public_ip(); -} -inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::clear_authorized_public_ip() { - _impl_.authorized_public_ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_authorized_public_ip() const { - return _impl_.authorized_public_ip_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientToGCRequestTicket::authorized_public_ip() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientToGCRequestTicket.authorized_public_ip) - return _internal_authorized_public_ip(); -} -inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_set_authorized_public_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.authorized_public_ip_ = value; -} -inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::set_authorized_public_ip(uint32_t value) { - _internal_set_authorized_public_ip(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientToGCRequestTicket.authorized_public_ip) -} - -// optional fixed64 gameserver_steam_id = 3; -inline bool CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_has_gameserver_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientToGCRequestTicket::has_gameserver_steam_id() const { - return _internal_has_gameserver_steam_id(); -} -inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::clear_gameserver_steam_id() { - _impl_.gameserver_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_gameserver_steam_id() const { - return _impl_.gameserver_steam_id_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientToGCRequestTicket::gameserver_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientToGCRequestTicket.gameserver_steam_id) - return _internal_gameserver_steam_id(); -} -inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_set_gameserver_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.gameserver_steam_id_ = value; -} -inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::set_gameserver_steam_id(uint64_t value) { - _internal_set_gameserver_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientToGCRequestTicket.gameserver_steam_id) -} - -// optional string gameserver_sdr_routing = 5; -inline bool CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_has_gameserver_sdr_routing() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientToGCRequestTicket::has_gameserver_sdr_routing() const { - return _internal_has_gameserver_sdr_routing(); -} -inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::clear_gameserver_sdr_routing() { - _impl_.gameserver_sdr_routing_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_ClientToGCRequestTicket::gameserver_sdr_routing() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientToGCRequestTicket.gameserver_sdr_routing) - return _internal_gameserver_sdr_routing(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_ClientToGCRequestTicket::set_gameserver_sdr_routing(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.gameserver_sdr_routing_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientToGCRequestTicket.gameserver_sdr_routing) -} -inline std::string* CMsgGCCStrike15_v2_ClientToGCRequestTicket::mutable_gameserver_sdr_routing() { - std::string* _s = _internal_mutable_gameserver_sdr_routing(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientToGCRequestTicket.gameserver_sdr_routing) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_gameserver_sdr_routing() const { - return _impl_.gameserver_sdr_routing_.Get(); -} -inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_set_gameserver_sdr_routing(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.gameserver_sdr_routing_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientToGCRequestTicket::_internal_mutable_gameserver_sdr_routing() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.gameserver_sdr_routing_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientToGCRequestTicket::release_gameserver_sdr_routing() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientToGCRequestTicket.gameserver_sdr_routing) - if (!_internal_has_gameserver_sdr_routing()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.gameserver_sdr_routing_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gameserver_sdr_routing_.IsDefault()) { - _impl_.gameserver_sdr_routing_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_ClientToGCRequestTicket::set_allocated_gameserver_sdr_routing(std::string* gameserver_sdr_routing) { - if (gameserver_sdr_routing != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.gameserver_sdr_routing_.SetAllocated(gameserver_sdr_routing, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gameserver_sdr_routing_.IsDefault()) { - _impl_.gameserver_sdr_routing_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientToGCRequestTicket.gameserver_sdr_routing) -} - -// ------------------------------------------------------------------- - -// CMsgGCToClientSteamDatagramTicket - -// optional bytes serialized_ticket = 16; -inline bool CMsgGCToClientSteamDatagramTicket::_internal_has_serialized_ticket() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCToClientSteamDatagramTicket::has_serialized_ticket() const { - return _internal_has_serialized_ticket(); -} -inline void CMsgGCToClientSteamDatagramTicket::clear_serialized_ticket() { - _impl_.serialized_ticket_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCToClientSteamDatagramTicket::serialized_ticket() const { - // @@protoc_insertion_point(field_get:CMsgGCToClientSteamDatagramTicket.serialized_ticket) - return _internal_serialized_ticket(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCToClientSteamDatagramTicket::set_serialized_ticket(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.serialized_ticket_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCToClientSteamDatagramTicket.serialized_ticket) -} -inline std::string* CMsgGCToClientSteamDatagramTicket::mutable_serialized_ticket() { - std::string* _s = _internal_mutable_serialized_ticket(); - // @@protoc_insertion_point(field_mutable:CMsgGCToClientSteamDatagramTicket.serialized_ticket) - return _s; -} -inline const std::string& CMsgGCToClientSteamDatagramTicket::_internal_serialized_ticket() const { - return _impl_.serialized_ticket_.Get(); -} -inline void CMsgGCToClientSteamDatagramTicket::_internal_set_serialized_ticket(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.serialized_ticket_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCToClientSteamDatagramTicket::_internal_mutable_serialized_ticket() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.serialized_ticket_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCToClientSteamDatagramTicket::release_serialized_ticket() { - // @@protoc_insertion_point(field_release:CMsgGCToClientSteamDatagramTicket.serialized_ticket) - if (!_internal_has_serialized_ticket()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.serialized_ticket_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.serialized_ticket_.IsDefault()) { - _impl_.serialized_ticket_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCToClientSteamDatagramTicket::set_allocated_serialized_ticket(std::string* serialized_ticket) { - if (serialized_ticket != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.serialized_ticket_.SetAllocated(serialized_ticket, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.serialized_ticket_.IsDefault()) { - _impl_.serialized_ticket_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCToClientSteamDatagramTicket.serialized_ticket) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientRequestOffers - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientRequestSouvenir - -// optional uint64 itemid = 1; -inline bool CMsgGCCStrike15_v2_ClientRequestSouvenir::_internal_has_itemid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestSouvenir::has_itemid() const { - return _internal_has_itemid(); -} -inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::clear_itemid() { - _impl_.itemid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientRequestSouvenir::_internal_itemid() const { - return _impl_.itemid_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientRequestSouvenir::itemid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestSouvenir.itemid) - return _internal_itemid(); -} -inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::_internal_set_itemid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.itemid_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::set_itemid(uint64_t value) { - _internal_set_itemid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestSouvenir.itemid) -} - -// optional uint64 matchid = 2; -inline bool CMsgGCCStrike15_v2_ClientRequestSouvenir::_internal_has_matchid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestSouvenir::has_matchid() const { - return _internal_has_matchid(); -} -inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::clear_matchid() { - _impl_.matchid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientRequestSouvenir::_internal_matchid() const { - return _impl_.matchid_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientRequestSouvenir::matchid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestSouvenir.matchid) - return _internal_matchid(); -} -inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::_internal_set_matchid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.matchid_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::set_matchid(uint64_t value) { - _internal_set_matchid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestSouvenir.matchid) -} - -// optional int32 eventid = 3; -inline bool CMsgGCCStrike15_v2_ClientRequestSouvenir::_internal_has_eventid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientRequestSouvenir::has_eventid() const { - return _internal_has_eventid(); -} -inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::clear_eventid() { - _impl_.eventid_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CMsgGCCStrike15_v2_ClientRequestSouvenir::_internal_eventid() const { - return _impl_.eventid_; -} -inline int32_t CMsgGCCStrike15_v2_ClientRequestSouvenir::eventid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientRequestSouvenir.eventid) - return _internal_eventid(); -} -inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::_internal_set_eventid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.eventid_ = value; -} -inline void CMsgGCCStrike15_v2_ClientRequestSouvenir::set_eventid(int32_t value) { - _internal_set_eventid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientRequestSouvenir.eventid) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientAccountBalance - -// optional uint64 amount = 1; -inline bool CMsgGCCStrike15_v2_ClientAccountBalance::_internal_has_amount() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientAccountBalance::has_amount() const { - return _internal_has_amount(); -} -inline void CMsgGCCStrike15_v2_ClientAccountBalance::clear_amount() { - _impl_.amount_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientAccountBalance::_internal_amount() const { - return _impl_.amount_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientAccountBalance::amount() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientAccountBalance.amount) - return _internal_amount(); -} -inline void CMsgGCCStrike15_v2_ClientAccountBalance::_internal_set_amount(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.amount_ = value; -} -inline void CMsgGCCStrike15_v2_ClientAccountBalance::set_amount(uint64_t value) { - _internal_set_amount(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientAccountBalance.amount) -} - -// optional string url = 2; -inline bool CMsgGCCStrike15_v2_ClientAccountBalance::_internal_has_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientAccountBalance::has_url() const { - return _internal_has_url(); -} -inline void CMsgGCCStrike15_v2_ClientAccountBalance::clear_url() { - _impl_.url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_ClientAccountBalance::url() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientAccountBalance.url) - return _internal_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_ClientAccountBalance::set_url(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientAccountBalance.url) -} -inline std::string* CMsgGCCStrike15_v2_ClientAccountBalance::mutable_url() { - std::string* _s = _internal_mutable_url(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientAccountBalance.url) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_ClientAccountBalance::_internal_url() const { - return _impl_.url_.Get(); -} -inline void CMsgGCCStrike15_v2_ClientAccountBalance::_internal_set_url(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.url_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientAccountBalance::_internal_mutable_url() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.url_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientAccountBalance::release_url() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientAccountBalance.url) - if (!_internal_has_url()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.url_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.url_.IsDefault()) { - _impl_.url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_ClientAccountBalance::set_allocated_url(std::string* url) { - if (url != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.url_.SetAllocated(url, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.url_.IsDefault()) { - _impl_.url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientAccountBalance.url) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientPartyJoinRelay - -// optional uint32 accountid = 1; -inline bool CMsgGCCStrike15_v2_ClientPartyJoinRelay::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientPartyJoinRelay::has_accountid() const { - return _internal_has_accountid(); -} -inline void CMsgGCCStrike15_v2_ClientPartyJoinRelay::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientPartyJoinRelay::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientPartyJoinRelay::accountid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPartyJoinRelay.accountid) - return _internal_accountid(); -} -inline void CMsgGCCStrike15_v2_ClientPartyJoinRelay::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.accountid_ = value; -} -inline void CMsgGCCStrike15_v2_ClientPartyJoinRelay::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPartyJoinRelay.accountid) -} - -// optional uint64 lobbyid = 2; -inline bool CMsgGCCStrike15_v2_ClientPartyJoinRelay::_internal_has_lobbyid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientPartyJoinRelay::has_lobbyid() const { - return _internal_has_lobbyid(); -} -inline void CMsgGCCStrike15_v2_ClientPartyJoinRelay::clear_lobbyid() { - _impl_.lobbyid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientPartyJoinRelay::_internal_lobbyid() const { - return _impl_.lobbyid_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientPartyJoinRelay::lobbyid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPartyJoinRelay.lobbyid) - return _internal_lobbyid(); -} -inline void CMsgGCCStrike15_v2_ClientPartyJoinRelay::_internal_set_lobbyid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.lobbyid_ = value; -} -inline void CMsgGCCStrike15_v2_ClientPartyJoinRelay::set_lobbyid(uint64_t value) { - _internal_set_lobbyid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPartyJoinRelay.lobbyid) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientPartyWarning_Entry - -// optional uint32 accountid = 1; -inline bool CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientPartyWarning_Entry::has_accountid() const { - return _internal_has_accountid(); -} -inline void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientPartyWarning_Entry::accountid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPartyWarning.Entry.accountid) - return _internal_accountid(); -} -inline void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.accountid_ = value; -} -inline void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPartyWarning.Entry.accountid) -} - -// optional uint32 warntype = 2; -inline bool CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_internal_has_warntype() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientPartyWarning_Entry::has_warntype() const { - return _internal_has_warntype(); -} -inline void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::clear_warntype() { - _impl_.warntype_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_internal_warntype() const { - return _impl_.warntype_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientPartyWarning_Entry::warntype() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPartyWarning.Entry.warntype) - return _internal_warntype(); -} -inline void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::_internal_set_warntype(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.warntype_ = value; -} -inline void CMsgGCCStrike15_v2_ClientPartyWarning_Entry::set_warntype(uint32_t value) { - _internal_set_warntype(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPartyWarning.Entry.warntype) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientPartyWarning - -// repeated .CMsgGCCStrike15_v2_ClientPartyWarning.Entry entries = 1; -inline int CMsgGCCStrike15_v2_ClientPartyWarning::_internal_entries_size() const { - return _impl_.entries_.size(); -} -inline int CMsgGCCStrike15_v2_ClientPartyWarning::entries_size() const { - return _internal_entries_size(); -} -inline void CMsgGCCStrike15_v2_ClientPartyWarning::clear_entries() { - _impl_.entries_.Clear(); -} -inline ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry* CMsgGCCStrike15_v2_ClientPartyWarning::mutable_entries(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientPartyWarning.entries) - return _impl_.entries_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry >* -CMsgGCCStrike15_v2_ClientPartyWarning::mutable_entries() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientPartyWarning.entries) - return &_impl_.entries_; -} -inline const ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry& CMsgGCCStrike15_v2_ClientPartyWarning::_internal_entries(int index) const { - return _impl_.entries_.Get(index); -} -inline const ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry& CMsgGCCStrike15_v2_ClientPartyWarning::entries(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPartyWarning.entries) - return _internal_entries(index); -} -inline ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry* CMsgGCCStrike15_v2_ClientPartyWarning::_internal_add_entries() { - return _impl_.entries_.Add(); -} -inline ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry* CMsgGCCStrike15_v2_ClientPartyWarning::add_entries() { - ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry* _add = _internal_add_entries(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientPartyWarning.entries) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPartyWarning_Entry >& -CMsgGCCStrike15_v2_ClientPartyWarning::entries() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientPartyWarning.entries) - return _impl_.entries_; -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_SetEventFavorite - -// optional uint64 eventid = 1; -inline bool CMsgGCCStrike15_v2_SetEventFavorite::_internal_has_eventid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_SetEventFavorite::has_eventid() const { - return _internal_has_eventid(); -} -inline void CMsgGCCStrike15_v2_SetEventFavorite::clear_eventid() { - _impl_.eventid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCCStrike15_v2_SetEventFavorite::_internal_eventid() const { - return _impl_.eventid_; -} -inline uint64_t CMsgGCCStrike15_v2_SetEventFavorite::eventid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_SetEventFavorite.eventid) - return _internal_eventid(); -} -inline void CMsgGCCStrike15_v2_SetEventFavorite::_internal_set_eventid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.eventid_ = value; -} -inline void CMsgGCCStrike15_v2_SetEventFavorite::set_eventid(uint64_t value) { - _internal_set_eventid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_SetEventFavorite.eventid) -} - -// optional bool is_favorite = 2; -inline bool CMsgGCCStrike15_v2_SetEventFavorite::_internal_has_is_favorite() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_SetEventFavorite::has_is_favorite() const { - return _internal_has_is_favorite(); -} -inline void CMsgGCCStrike15_v2_SetEventFavorite::clear_is_favorite() { - _impl_.is_favorite_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CMsgGCCStrike15_v2_SetEventFavorite::_internal_is_favorite() const { - return _impl_.is_favorite_; -} -inline bool CMsgGCCStrike15_v2_SetEventFavorite::is_favorite() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_SetEventFavorite.is_favorite) - return _internal_is_favorite(); -} -inline void CMsgGCCStrike15_v2_SetEventFavorite::_internal_set_is_favorite(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.is_favorite_ = value; -} -inline void CMsgGCCStrike15_v2_SetEventFavorite::set_is_favorite(bool value) { - _internal_set_is_favorite(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_SetEventFavorite.is_favorite) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_GetEventFavorites_Request - -// optional bool all_events = 1; -inline bool CMsgGCCStrike15_v2_GetEventFavorites_Request::_internal_has_all_events() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GetEventFavorites_Request::has_all_events() const { - return _internal_has_all_events(); -} -inline void CMsgGCCStrike15_v2_GetEventFavorites_Request::clear_all_events() { - _impl_.all_events_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CMsgGCCStrike15_v2_GetEventFavorites_Request::_internal_all_events() const { - return _impl_.all_events_; -} -inline bool CMsgGCCStrike15_v2_GetEventFavorites_Request::all_events() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GetEventFavorites_Request.all_events) - return _internal_all_events(); -} -inline void CMsgGCCStrike15_v2_GetEventFavorites_Request::_internal_set_all_events(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.all_events_ = value; -} -inline void CMsgGCCStrike15_v2_GetEventFavorites_Request::set_all_events(bool value) { - _internal_set_all_events(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GetEventFavorites_Request.all_events) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_GetEventFavorites_Response - -// optional bool all_events = 1; -inline bool CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_has_all_events() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GetEventFavorites_Response::has_all_events() const { - return _internal_has_all_events(); -} -inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::clear_all_events() { - _impl_.all_events_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_all_events() const { - return _impl_.all_events_; -} -inline bool CMsgGCCStrike15_v2_GetEventFavorites_Response::all_events() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GetEventFavorites_Response.all_events) - return _internal_all_events(); -} -inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_set_all_events(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.all_events_ = value; -} -inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::set_all_events(bool value) { - _internal_set_all_events(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GetEventFavorites_Response.all_events) -} - -// optional string json_favorites = 2; -inline bool CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_has_json_favorites() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GetEventFavorites_Response::has_json_favorites() const { - return _internal_has_json_favorites(); -} -inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::clear_json_favorites() { - _impl_.json_favorites_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_GetEventFavorites_Response::json_favorites() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_favorites) - return _internal_json_favorites(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_GetEventFavorites_Response::set_json_favorites(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.json_favorites_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_favorites) -} -inline std::string* CMsgGCCStrike15_v2_GetEventFavorites_Response::mutable_json_favorites() { - std::string* _s = _internal_mutable_json_favorites(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_favorites) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_json_favorites() const { - return _impl_.json_favorites_.Get(); -} -inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_set_json_favorites(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.json_favorites_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_mutable_json_favorites() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.json_favorites_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GetEventFavorites_Response::release_json_favorites() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_favorites) - if (!_internal_has_json_favorites()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.json_favorites_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.json_favorites_.IsDefault()) { - _impl_.json_favorites_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::set_allocated_json_favorites(std::string* json_favorites) { - if (json_favorites != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.json_favorites_.SetAllocated(json_favorites, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.json_favorites_.IsDefault()) { - _impl_.json_favorites_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_favorites) -} - -// optional string json_featured = 3; -inline bool CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_has_json_featured() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GetEventFavorites_Response::has_json_featured() const { - return _internal_has_json_featured(); -} -inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::clear_json_featured() { - _impl_.json_featured_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgGCCStrike15_v2_GetEventFavorites_Response::json_featured() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_featured) - return _internal_json_featured(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_GetEventFavorites_Response::set_json_featured(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.json_featured_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_featured) -} -inline std::string* CMsgGCCStrike15_v2_GetEventFavorites_Response::mutable_json_featured() { - std::string* _s = _internal_mutable_json_featured(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_featured) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_json_featured() const { - return _impl_.json_featured_.Get(); -} -inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_set_json_featured(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.json_featured_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GetEventFavorites_Response::_internal_mutable_json_featured() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.json_featured_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GetEventFavorites_Response::release_json_featured() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_featured) - if (!_internal_has_json_featured()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.json_featured_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.json_featured_.IsDefault()) { - _impl_.json_featured_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_GetEventFavorites_Response::set_allocated_json_featured(std::string* json_featured) { - if (json_featured != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.json_featured_.SetAllocated(json_featured, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.json_featured_.IsDefault()) { - _impl_.json_featured_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GetEventFavorites_Response.json_featured) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientPerfReport_Entry - -// optional uint32 perfcounter = 1; -inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_has_perfcounter() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::has_perfcounter() const { - return _internal_has_perfcounter(); -} -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::clear_perfcounter() { - _impl_.perfcounter_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_perfcounter() const { - return _impl_.perfcounter_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientPerfReport_Entry::perfcounter() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPerfReport.Entry.perfcounter) - return _internal_perfcounter(); -} -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_set_perfcounter(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.perfcounter_ = value; -} -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::set_perfcounter(uint32_t value) { - _internal_set_perfcounter(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPerfReport.Entry.perfcounter) -} - -// optional uint32 length = 2; -inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_has_length() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::has_length() const { - return _internal_has_length(); -} -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::clear_length() { - _impl_.length_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_length() const { - return _impl_.length_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientPerfReport_Entry::length() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPerfReport.Entry.length) - return _internal_length(); -} -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_set_length(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.length_ = value; -} -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::set_length(uint32_t value) { - _internal_set_length(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPerfReport.Entry.length) -} - -// optional bytes reference = 3; -inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_has_reference() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::has_reference() const { - return _internal_has_reference(); -} -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::clear_reference() { - _impl_.reference_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_ClientPerfReport_Entry::reference() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPerfReport.Entry.reference) - return _internal_reference(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_ClientPerfReport_Entry::set_reference(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.reference_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPerfReport.Entry.reference) -} -inline std::string* CMsgGCCStrike15_v2_ClientPerfReport_Entry::mutable_reference() { - std::string* _s = _internal_mutable_reference(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientPerfReport.Entry.reference) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_reference() const { - return _impl_.reference_.Get(); -} -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_set_reference(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.reference_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_mutable_reference() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.reference_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientPerfReport_Entry::release_reference() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientPerfReport.Entry.reference) - if (!_internal_has_reference()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.reference_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.reference_.IsDefault()) { - _impl_.reference_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::set_allocated_reference(std::string* reference) { - if (reference != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.reference_.SetAllocated(reference, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.reference_.IsDefault()) { - _impl_.reference_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientPerfReport.Entry.reference) -} - -// optional bytes actual = 4; -inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_has_actual() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::has_actual() const { - return _internal_has_actual(); -} -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::clear_actual() { - _impl_.actual_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgGCCStrike15_v2_ClientPerfReport_Entry::actual() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPerfReport.Entry.actual) - return _internal_actual(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_ClientPerfReport_Entry::set_actual(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.actual_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPerfReport.Entry.actual) -} -inline std::string* CMsgGCCStrike15_v2_ClientPerfReport_Entry::mutable_actual() { - std::string* _s = _internal_mutable_actual(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientPerfReport.Entry.actual) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_actual() const { - return _impl_.actual_.Get(); -} -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_set_actual(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.actual_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_mutable_actual() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.actual_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientPerfReport_Entry::release_actual() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientPerfReport.Entry.actual) - if (!_internal_has_actual()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.actual_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.actual_.IsDefault()) { - _impl_.actual_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::set_allocated_actual(std::string* actual) { - if (actual != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.actual_.SetAllocated(actual, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.actual_.IsDefault()) { - _impl_.actual_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientPerfReport.Entry.actual) -} - -// optional uint32 sourceid = 5; -inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_has_sourceid() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::has_sourceid() const { - return _internal_has_sourceid(); -} -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::clear_sourceid() { - _impl_.sourceid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_sourceid() const { - return _impl_.sourceid_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientPerfReport_Entry::sourceid() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPerfReport.Entry.sourceid) - return _internal_sourceid(); -} -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_set_sourceid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.sourceid_ = value; -} -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::set_sourceid(uint32_t value) { - _internal_set_sourceid(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPerfReport.Entry.sourceid) -} - -// optional uint32 status = 6; -inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_has_status() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientPerfReport_Entry::has_status() const { - return _internal_has_status(); -} -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::clear_status() { - _impl_.status_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_status() const { - return _impl_.status_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientPerfReport_Entry::status() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPerfReport.Entry.status) - return _internal_status(); -} -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::_internal_set_status(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.status_ = value; -} -inline void CMsgGCCStrike15_v2_ClientPerfReport_Entry::set_status(uint32_t value) { - _internal_set_status(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientPerfReport.Entry.status) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientPerfReport - -// repeated .CMsgGCCStrike15_v2_ClientPerfReport.Entry entries = 1; -inline int CMsgGCCStrike15_v2_ClientPerfReport::_internal_entries_size() const { - return _impl_.entries_.size(); -} -inline int CMsgGCCStrike15_v2_ClientPerfReport::entries_size() const { - return _internal_entries_size(); -} -inline void CMsgGCCStrike15_v2_ClientPerfReport::clear_entries() { - _impl_.entries_.Clear(); -} -inline ::CMsgGCCStrike15_v2_ClientPerfReport_Entry* CMsgGCCStrike15_v2_ClientPerfReport::mutable_entries(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientPerfReport.entries) - return _impl_.entries_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPerfReport_Entry >* -CMsgGCCStrike15_v2_ClientPerfReport::mutable_entries() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientPerfReport.entries) - return &_impl_.entries_; -} -inline const ::CMsgGCCStrike15_v2_ClientPerfReport_Entry& CMsgGCCStrike15_v2_ClientPerfReport::_internal_entries(int index) const { - return _impl_.entries_.Get(index); -} -inline const ::CMsgGCCStrike15_v2_ClientPerfReport_Entry& CMsgGCCStrike15_v2_ClientPerfReport::entries(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientPerfReport.entries) - return _internal_entries(index); -} -inline ::CMsgGCCStrike15_v2_ClientPerfReport_Entry* CMsgGCCStrike15_v2_ClientPerfReport::_internal_add_entries() { - return _impl_.entries_.Add(); -} -inline ::CMsgGCCStrike15_v2_ClientPerfReport_Entry* CMsgGCCStrike15_v2_ClientPerfReport::add_entries() { - ::CMsgGCCStrike15_v2_ClientPerfReport_Entry* _add = _internal_add_entries(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientPerfReport.entries) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgGCCStrike15_v2_ClientPerfReport_Entry >& -CMsgGCCStrike15_v2_ClientPerfReport::entries() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientPerfReport.entries) - return _impl_.entries_; -} - -// ------------------------------------------------------------------- - -// CVDiagnostic - -// optional uint32 id = 1; -inline bool CVDiagnostic::_internal_has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CVDiagnostic::has_id() const { - return _internal_has_id(); -} -inline void CVDiagnostic::clear_id() { - _impl_.id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CVDiagnostic::_internal_id() const { - return _impl_.id_; -} -inline uint32_t CVDiagnostic::id() const { - // @@protoc_insertion_point(field_get:CVDiagnostic.id) - return _internal_id(); -} -inline void CVDiagnostic::_internal_set_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.id_ = value; -} -inline void CVDiagnostic::set_id(uint32_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:CVDiagnostic.id) -} - -// optional uint32 extended = 2; -inline bool CVDiagnostic::_internal_has_extended() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CVDiagnostic::has_extended() const { - return _internal_has_extended(); -} -inline void CVDiagnostic::clear_extended() { - _impl_.extended_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CVDiagnostic::_internal_extended() const { - return _impl_.extended_; -} -inline uint32_t CVDiagnostic::extended() const { - // @@protoc_insertion_point(field_get:CVDiagnostic.extended) - return _internal_extended(); -} -inline void CVDiagnostic::_internal_set_extended(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.extended_ = value; -} -inline void CVDiagnostic::set_extended(uint32_t value) { - _internal_set_extended(value); - // @@protoc_insertion_point(field_set:CVDiagnostic.extended) -} - -// optional uint64 value = 3; -inline bool CVDiagnostic::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CVDiagnostic::has_value() const { - return _internal_has_value(); -} -inline void CVDiagnostic::clear_value() { - _impl_.value_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CVDiagnostic::_internal_value() const { - return _impl_.value_; -} -inline uint64_t CVDiagnostic::value() const { - // @@protoc_insertion_point(field_get:CVDiagnostic.value) - return _internal_value(); -} -inline void CVDiagnostic::_internal_set_value(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.value_ = value; -} -inline void CVDiagnostic::set_value(uint64_t value) { - _internal_set_value(value); - // @@protoc_insertion_point(field_set:CVDiagnostic.value) -} - -// optional string string_value = 4; -inline bool CVDiagnostic::_internal_has_string_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CVDiagnostic::has_string_value() const { - return _internal_has_string_value(); -} -inline void CVDiagnostic::clear_string_value() { - _impl_.string_value_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CVDiagnostic::string_value() const { - // @@protoc_insertion_point(field_get:CVDiagnostic.string_value) - return _internal_string_value(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CVDiagnostic::set_string_value(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.string_value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CVDiagnostic.string_value) -} -inline std::string* CVDiagnostic::mutable_string_value() { - std::string* _s = _internal_mutable_string_value(); - // @@protoc_insertion_point(field_mutable:CVDiagnostic.string_value) - return _s; -} -inline const std::string& CVDiagnostic::_internal_string_value() const { - return _impl_.string_value_.Get(); -} -inline void CVDiagnostic::_internal_set_string_value(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.string_value_.Set(value, GetArenaForAllocation()); -} -inline std::string* CVDiagnostic::_internal_mutable_string_value() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.string_value_.Mutable(GetArenaForAllocation()); -} -inline std::string* CVDiagnostic::release_string_value() { - // @@protoc_insertion_point(field_release:CVDiagnostic.string_value) - if (!_internal_has_string_value()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.string_value_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.string_value_.IsDefault()) { - _impl_.string_value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CVDiagnostic::set_allocated_string_value(std::string* string_value) { - if (string_value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.string_value_.SetAllocated(string_value, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.string_value_.IsDefault()) { - _impl_.string_value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CVDiagnostic.string_value) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_ClientReportValidation - -// optional string file_report = 1; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_file_report() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_file_report() const { - return _internal_has_file_report(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_file_report() { - _impl_.file_report_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_ClientReportValidation::file_report() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.file_report) - return _internal_file_report(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_ClientReportValidation::set_file_report(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.file_report_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.file_report) -} -inline std::string* CMsgGCCStrike15_v2_ClientReportValidation::mutable_file_report() { - std::string* _s = _internal_mutable_file_report(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientReportValidation.file_report) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_ClientReportValidation::_internal_file_report() const { - return _impl_.file_report_.Get(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_file_report(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.file_report_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientReportValidation::_internal_mutable_file_report() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.file_report_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientReportValidation::release_file_report() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientReportValidation.file_report) - if (!_internal_has_file_report()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.file_report_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.file_report_.IsDefault()) { - _impl_.file_report_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_allocated_file_report(std::string* file_report) { - if (file_report != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.file_report_.SetAllocated(file_report, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.file_report_.IsDefault()) { - _impl_.file_report_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientReportValidation.file_report) -} - -// optional string command_line = 2; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_command_line() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_command_line() const { - return _internal_has_command_line(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_command_line() { - _impl_.command_line_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgGCCStrike15_v2_ClientReportValidation::command_line() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.command_line) - return _internal_command_line(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_ClientReportValidation::set_command_line(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.command_line_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.command_line) -} -inline std::string* CMsgGCCStrike15_v2_ClientReportValidation::mutable_command_line() { - std::string* _s = _internal_mutable_command_line(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientReportValidation.command_line) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_ClientReportValidation::_internal_command_line() const { - return _impl_.command_line_.Get(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_command_line(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.command_line_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientReportValidation::_internal_mutable_command_line() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.command_line_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientReportValidation::release_command_line() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientReportValidation.command_line) - if (!_internal_has_command_line()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.command_line_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.command_line_.IsDefault()) { - _impl_.command_line_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_allocated_command_line(std::string* command_line) { - if (command_line != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.command_line_.SetAllocated(command_line, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.command_line_.IsDefault()) { - _impl_.command_line_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientReportValidation.command_line) -} - -// optional uint32 total_files = 3; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_total_files() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_total_files() const { - return _internal_has_total_files(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_total_files() { - _impl_.total_files_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_total_files() const { - return _impl_.total_files_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::total_files() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.total_files) - return _internal_total_files(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_total_files(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.total_files_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_total_files(uint32_t value) { - _internal_set_total_files(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.total_files) -} - -// optional uint32 internal_error = 4; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_internal_error() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_internal_error() const { - return _internal_has_internal_error(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_internal_error() { - _impl_.internal_error_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_internal_error() const { - return _impl_.internal_error_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::internal_error() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.internal_error) - return _internal_internal_error(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_internal_error(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.internal_error_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_internal_error(uint32_t value) { - _internal_set_internal_error(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.internal_error) -} - -// optional uint32 trust_time = 5; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_trust_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_trust_time() const { - return _internal_has_trust_time(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_trust_time() { - _impl_.trust_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_trust_time() const { - return _impl_.trust_time_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::trust_time() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.trust_time) - return _internal_trust_time(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_trust_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.trust_time_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_trust_time(uint32_t value) { - _internal_set_trust_time(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.trust_time) -} - -// optional uint32 count_pending = 6; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_count_pending() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_count_pending() const { - return _internal_has_count_pending(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_count_pending() { - _impl_.count_pending_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_count_pending() const { - return _impl_.count_pending_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::count_pending() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.count_pending) - return _internal_count_pending(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_count_pending(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.count_pending_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_count_pending(uint32_t value) { - _internal_set_count_pending(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.count_pending) -} - -// optional uint32 count_completed = 7; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_count_completed() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_count_completed() const { - return _internal_has_count_completed(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_count_completed() { - _impl_.count_completed_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_count_completed() const { - return _impl_.count_completed_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::count_completed() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.count_completed) - return _internal_count_completed(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_count_completed(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.count_completed_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_count_completed(uint32_t value) { - _internal_set_count_completed(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.count_completed) -} - -// optional uint32 process_id = 8; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_process_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_process_id() const { - return _internal_has_process_id(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_process_id() { - _impl_.process_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_process_id() const { - return _impl_.process_id_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::process_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.process_id) - return _internal_process_id(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_process_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.process_id_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_process_id(uint32_t value) { - _internal_set_process_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.process_id) -} - -// optional int32 osversion = 9; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_osversion() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_osversion() const { - return _internal_has_osversion(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_osversion() { - _impl_.osversion_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline int32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_osversion() const { - return _impl_.osversion_; -} -inline int32_t CMsgGCCStrike15_v2_ClientReportValidation::osversion() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.osversion) - return _internal_osversion(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_osversion(int32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.osversion_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_osversion(int32_t value) { - _internal_set_osversion(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.osversion) -} - -// optional uint32 clientreportversion = 10; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_clientreportversion() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_clientreportversion() const { - return _internal_has_clientreportversion(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_clientreportversion() { - _impl_.clientreportversion_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_clientreportversion() const { - return _impl_.clientreportversion_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::clientreportversion() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.clientreportversion) - return _internal_clientreportversion(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_clientreportversion(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.clientreportversion_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_clientreportversion(uint32_t value) { - _internal_set_clientreportversion(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.clientreportversion) -} - -// optional uint32 status_id = 11; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_status_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_status_id() const { - return _internal_has_status_id(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_status_id() { - _impl_.status_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_status_id() const { - return _impl_.status_id_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::status_id() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.status_id) - return _internal_status_id(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_status_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.status_id_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_status_id(uint32_t value) { - _internal_set_status_id(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.status_id) -} - -// optional uint32 diagnostic1 = 12; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_diagnostic1() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_diagnostic1() const { - return _internal_has_diagnostic1(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_diagnostic1() { - _impl_.diagnostic1_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_diagnostic1() const { - return _impl_.diagnostic1_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::diagnostic1() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic1) - return _internal_diagnostic1(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_diagnostic1(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.diagnostic1_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_diagnostic1(uint32_t value) { - _internal_set_diagnostic1(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic1) -} - -// optional uint64 diagnostic2 = 13; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_diagnostic2() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_diagnostic2() const { - return _internal_has_diagnostic2(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_diagnostic2() { - _impl_.diagnostic2_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_diagnostic2() const { - return _impl_.diagnostic2_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::diagnostic2() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic2) - return _internal_diagnostic2(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_diagnostic2(uint64_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.diagnostic2_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_diagnostic2(uint64_t value) { - _internal_set_diagnostic2(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic2) -} - -// optional uint64 diagnostic3 = 14; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_diagnostic3() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_diagnostic3() const { - return _internal_has_diagnostic3(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_diagnostic3() { - _impl_.diagnostic3_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_diagnostic3() const { - return _impl_.diagnostic3_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::diagnostic3() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic3) - return _internal_diagnostic3(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_diagnostic3(uint64_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.diagnostic3_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_diagnostic3(uint64_t value) { - _internal_set_diagnostic3(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic3) -} - -// optional string last_launch_data = 15; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_last_launch_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_last_launch_data() const { - return _internal_has_last_launch_data(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_last_launch_data() { - _impl_.last_launch_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgGCCStrike15_v2_ClientReportValidation::last_launch_data() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.last_launch_data) - return _internal_last_launch_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_ClientReportValidation::set_last_launch_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.last_launch_data_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.last_launch_data) -} -inline std::string* CMsgGCCStrike15_v2_ClientReportValidation::mutable_last_launch_data() { - std::string* _s = _internal_mutable_last_launch_data(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientReportValidation.last_launch_data) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_ClientReportValidation::_internal_last_launch_data() const { - return _impl_.last_launch_data_.Get(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_last_launch_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.last_launch_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientReportValidation::_internal_mutable_last_launch_data() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.last_launch_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_ClientReportValidation::release_last_launch_data() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_ClientReportValidation.last_launch_data) - if (!_internal_has_last_launch_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.last_launch_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.last_launch_data_.IsDefault()) { - _impl_.last_launch_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_allocated_last_launch_data(std::string* last_launch_data) { - if (last_launch_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.last_launch_data_.SetAllocated(last_launch_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.last_launch_data_.IsDefault()) { - _impl_.last_launch_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_ClientReportValidation.last_launch_data) -} - -// optional uint32 report_count = 16; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_report_count() const { - bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_report_count() const { - return _internal_has_report_count(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_report_count() { - _impl_.report_count_ = 0u; - _impl_._has_bits_[0] &= ~0x00040000u; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_report_count() const { - return _impl_.report_count_; -} -inline uint32_t CMsgGCCStrike15_v2_ClientReportValidation::report_count() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.report_count) - return _internal_report_count(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_report_count(uint32_t value) { - _impl_._has_bits_[0] |= 0x00040000u; - _impl_.report_count_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_report_count(uint32_t value) { - _internal_set_report_count(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.report_count) -} - -// optional uint64 client_time = 17; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_client_time() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_client_time() const { - return _internal_has_client_time(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_client_time() { - _impl_.client_time_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_client_time() const { - return _impl_.client_time_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::client_time() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.client_time) - return _internal_client_time(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_client_time(uint64_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.client_time_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_client_time(uint64_t value) { - _internal_set_client_time(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.client_time) -} - -// optional uint64 diagnostic4 = 18; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_diagnostic4() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_diagnostic4() const { - return _internal_has_diagnostic4(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_diagnostic4() { - _impl_.diagnostic4_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_diagnostic4() const { - return _impl_.diagnostic4_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::diagnostic4() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic4) - return _internal_diagnostic4(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_diagnostic4(uint64_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.diagnostic4_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_diagnostic4(uint64_t value) { - _internal_set_diagnostic4(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic4) -} - -// optional uint64 diagnostic5 = 19; -inline bool CMsgGCCStrike15_v2_ClientReportValidation::_internal_has_diagnostic5() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_ClientReportValidation::has_diagnostic5() const { - return _internal_has_diagnostic5(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_diagnostic5() { - _impl_.diagnostic5_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::_internal_diagnostic5() const { - return _impl_.diagnostic5_; -} -inline uint64_t CMsgGCCStrike15_v2_ClientReportValidation::diagnostic5() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic5) - return _internal_diagnostic5(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::_internal_set_diagnostic5(uint64_t value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.diagnostic5_ = value; -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::set_diagnostic5(uint64_t value) { - _internal_set_diagnostic5(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_ClientReportValidation.diagnostic5) -} - -// repeated .CVDiagnostic diagnostics = 20; -inline int CMsgGCCStrike15_v2_ClientReportValidation::_internal_diagnostics_size() const { - return _impl_.diagnostics_.size(); -} -inline int CMsgGCCStrike15_v2_ClientReportValidation::diagnostics_size() const { - return _internal_diagnostics_size(); -} -inline void CMsgGCCStrike15_v2_ClientReportValidation::clear_diagnostics() { - _impl_.diagnostics_.Clear(); -} -inline ::CVDiagnostic* CMsgGCCStrike15_v2_ClientReportValidation::mutable_diagnostics(int index) { - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_ClientReportValidation.diagnostics) - return _impl_.diagnostics_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CVDiagnostic >* -CMsgGCCStrike15_v2_ClientReportValidation::mutable_diagnostics() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCCStrike15_v2_ClientReportValidation.diagnostics) - return &_impl_.diagnostics_; -} -inline const ::CVDiagnostic& CMsgGCCStrike15_v2_ClientReportValidation::_internal_diagnostics(int index) const { - return _impl_.diagnostics_.Get(index); -} -inline const ::CVDiagnostic& CMsgGCCStrike15_v2_ClientReportValidation::diagnostics(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_ClientReportValidation.diagnostics) - return _internal_diagnostics(index); -} -inline ::CVDiagnostic* CMsgGCCStrike15_v2_ClientReportValidation::_internal_add_diagnostics() { - return _impl_.diagnostics_.Add(); -} -inline ::CVDiagnostic* CMsgGCCStrike15_v2_ClientReportValidation::add_diagnostics() { - ::CVDiagnostic* _add = _internal_add_diagnostics(); - // @@protoc_insertion_point(field_add:CMsgGCCStrike15_v2_ClientReportValidation.diagnostics) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CVDiagnostic >& -CMsgGCCStrike15_v2_ClientReportValidation::diagnostics() const { - // @@protoc_insertion_point(field_list:CMsgGCCStrike15_v2_ClientReportValidation.diagnostics) - return _impl_.diagnostics_; -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode - -// optional string file_report = 1; -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_has_file_report() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::has_file_report() const { - return _internal_has_file_report(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::clear_file_report() { - _impl_.file_report_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::file_report() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.file_report) - return _internal_file_report(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_file_report(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.file_report_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.file_report) -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::mutable_file_report() { - std::string* _s = _internal_mutable_file_report(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.file_report) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_file_report() const { - return _impl_.file_report_.Get(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_set_file_report(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.file_report_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_mutable_file_report() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.file_report_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::release_file_report() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.file_report) - if (!_internal_has_file_report()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.file_report_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.file_report_.IsDefault()) { - _impl_.file_report_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_allocated_file_report(std::string* file_report) { - if (file_report != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.file_report_.SetAllocated(file_report, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.file_report_.IsDefault()) { - _impl_.file_report_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.file_report) -} - -// optional bool offer_insecure_mode = 2; -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_has_offer_insecure_mode() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::has_offer_insecure_mode() const { - return _internal_has_offer_insecure_mode(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::clear_offer_insecure_mode() { - _impl_.offer_insecure_mode_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_offer_insecure_mode() const { - return _impl_.offer_insecure_mode_; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::offer_insecure_mode() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.offer_insecure_mode) - return _internal_offer_insecure_mode(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_set_offer_insecure_mode(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.offer_insecure_mode_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_offer_insecure_mode(bool value) { - _internal_set_offer_insecure_mode(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.offer_insecure_mode) -} - -// optional bool offer_secure_mode = 3; -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_has_offer_secure_mode() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::has_offer_secure_mode() const { - return _internal_has_offer_secure_mode(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::clear_offer_secure_mode() { - _impl_.offer_secure_mode_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_offer_secure_mode() const { - return _impl_.offer_secure_mode_; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::offer_secure_mode() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.offer_secure_mode) - return _internal_offer_secure_mode(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_set_offer_secure_mode(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.offer_secure_mode_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_offer_secure_mode(bool value) { - _internal_set_offer_secure_mode(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.offer_secure_mode) -} - -// optional bool show_unsigned_ui = 4; -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_has_show_unsigned_ui() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::has_show_unsigned_ui() const { - return _internal_has_show_unsigned_ui(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::clear_show_unsigned_ui() { - _impl_.show_unsigned_ui_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_show_unsigned_ui() const { - return _impl_.show_unsigned_ui_; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::show_unsigned_ui() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.show_unsigned_ui) - return _internal_show_unsigned_ui(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_set_show_unsigned_ui(bool value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.show_unsigned_ui_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_show_unsigned_ui(bool value) { - _internal_set_show_unsigned_ui(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.show_unsigned_ui) -} - -// optional bool kick_user = 5; -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_has_kick_user() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::has_kick_user() const { - return _internal_has_kick_user(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::clear_kick_user() { - _impl_.kick_user_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_kick_user() const { - return _impl_.kick_user_; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::kick_user() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.kick_user) - return _internal_kick_user(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_set_kick_user(bool value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.kick_user_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_kick_user(bool value) { - _internal_set_kick_user(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.kick_user) -} - -// optional bool show_trusted_ui = 6; -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_has_show_trusted_ui() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::has_show_trusted_ui() const { - return _internal_has_show_trusted_ui(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::clear_show_trusted_ui() { - _impl_.show_trusted_ui_ = false; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_show_trusted_ui() const { - return _impl_.show_trusted_ui_; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::show_trusted_ui() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.show_trusted_ui) - return _internal_show_trusted_ui(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_set_show_trusted_ui(bool value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.show_trusted_ui_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_show_trusted_ui(bool value) { - _internal_set_show_trusted_ui(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.show_trusted_ui) -} - -// optional bool show_warning_not_trusted = 7; -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_has_show_warning_not_trusted() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::has_show_warning_not_trusted() const { - return _internal_has_show_warning_not_trusted(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::clear_show_warning_not_trusted() { - _impl_.show_warning_not_trusted_ = false; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_show_warning_not_trusted() const { - return _impl_.show_warning_not_trusted_; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::show_warning_not_trusted() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.show_warning_not_trusted) - return _internal_show_warning_not_trusted(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_set_show_warning_not_trusted(bool value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.show_warning_not_trusted_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_show_warning_not_trusted(bool value) { - _internal_set_show_warning_not_trusted(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.show_warning_not_trusted) -} - -// optional bool show_warning_not_trusted_2 = 8; -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_has_show_warning_not_trusted_2() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::has_show_warning_not_trusted_2() const { - return _internal_has_show_warning_not_trusted_2(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::clear_show_warning_not_trusted_2() { - _impl_.show_warning_not_trusted_2_ = false; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_show_warning_not_trusted_2() const { - return _impl_.show_warning_not_trusted_2_; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::show_warning_not_trusted_2() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.show_warning_not_trusted_2) - return _internal_show_warning_not_trusted_2(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_set_show_warning_not_trusted_2(bool value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.show_warning_not_trusted_2_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_show_warning_not_trusted_2(bool value) { - _internal_set_show_warning_not_trusted_2(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.show_warning_not_trusted_2) -} - -// optional string files_prevented_trusted = 9; -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_has_files_prevented_trusted() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::has_files_prevented_trusted() const { - return _internal_has_files_prevented_trusted(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::clear_files_prevented_trusted() { - _impl_.files_prevented_trusted_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::files_prevented_trusted() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.files_prevented_trusted) - return _internal_files_prevented_trusted(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_files_prevented_trusted(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.files_prevented_trusted_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.files_prevented_trusted) -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::mutable_files_prevented_trusted() { - std::string* _s = _internal_mutable_files_prevented_trusted(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.files_prevented_trusted) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_files_prevented_trusted() const { - return _impl_.files_prevented_trusted_.Get(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_set_files_prevented_trusted(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.files_prevented_trusted_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::_internal_mutable_files_prevented_trusted() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.files_prevented_trusted_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::release_files_prevented_trusted() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.files_prevented_trusted) - if (!_internal_has_files_prevented_trusted()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.files_prevented_trusted_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.files_prevented_trusted_.IsDefault()) { - _impl_.files_prevented_trusted_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode::set_allocated_files_prevented_trusted(std::string* files_prevented_trusted) { - if (files_prevented_trusted != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.files_prevented_trusted_.SetAllocated(files_prevented_trusted, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.files_prevented_trusted_.IsDefault()) { - _impl_.files_prevented_trusted_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientRefuseSecureMode.files_prevented_trusted) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_GC2ClientRequestValidation - -// optional bool full_report = 1; -inline bool CMsgGCCStrike15_v2_GC2ClientRequestValidation::_internal_has_full_report() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRequestValidation::has_full_report() const { - return _internal_has_full_report(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRequestValidation::clear_full_report() { - _impl_.full_report_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRequestValidation::_internal_full_report() const { - return _impl_.full_report_; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRequestValidation::full_report() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRequestValidation.full_report) - return _internal_full_report(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRequestValidation::_internal_set_full_report(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.full_report_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientRequestValidation::set_full_report(bool value) { - _internal_set_full_report(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRequestValidation.full_report) -} - -// optional string module = 2; -inline bool CMsgGCCStrike15_v2_GC2ClientRequestValidation::_internal_has_module() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientRequestValidation::has_module() const { - return _internal_has_module(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRequestValidation::clear_module() { - _impl_.module_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientRequestValidation::module() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientRequestValidation.module) - return _internal_module(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_GC2ClientRequestValidation::set_module(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.module_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientRequestValidation.module) -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientRequestValidation::mutable_module() { - std::string* _s = _internal_mutable_module(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientRequestValidation.module) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientRequestValidation::_internal_module() const { - return _impl_.module_.Get(); -} -inline void CMsgGCCStrike15_v2_GC2ClientRequestValidation::_internal_set_module(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.module_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientRequestValidation::_internal_mutable_module() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.module_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientRequestValidation::release_module() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientRequestValidation.module) - if (!_internal_has_module()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.module_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.module_.IsDefault()) { - _impl_.module_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_GC2ClientRequestValidation::set_allocated_module(std::string* module) { - if (module != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.module_.SetAllocated(module, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.module_.IsDefault()) { - _impl_.module_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientRequestValidation.module) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_GC2ClientInitSystem - -// optional bool load = 1; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_has_load() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::has_load() const { - return _internal_has_load(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::clear_load() { - _impl_.load_ = false; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_load() const { - return _impl_.load_; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::load() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem.load) - return _internal_load(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_set_load(bool value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.load_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_load(bool value) { - _internal_set_load(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem.load) -} - -// optional string name = 2; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::has_name() const { - return _internal_has_name(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::name() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem.name) -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientInitSystem.name) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::release_name() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientInitSystem.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientInitSystem.name) -} - -// optional string outputname = 3; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_has_outputname() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::has_outputname() const { - return _internal_has_outputname(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::clear_outputname() { - _impl_.outputname_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::outputname() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem.outputname) - return _internal_outputname(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_outputname(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.outputname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem.outputname) -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::mutable_outputname() { - std::string* _s = _internal_mutable_outputname(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientInitSystem.outputname) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_outputname() const { - return _impl_.outputname_.Get(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_set_outputname(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.outputname_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_mutable_outputname() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.outputname_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::release_outputname() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientInitSystem.outputname) - if (!_internal_has_outputname()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.outputname_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.outputname_.IsDefault()) { - _impl_.outputname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_allocated_outputname(std::string* outputname) { - if (outputname != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.outputname_.SetAllocated(outputname, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.outputname_.IsDefault()) { - _impl_.outputname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientInitSystem.outputname) -} - -// optional bytes key_data = 4; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_has_key_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::has_key_data() const { - return _internal_has_key_data(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::clear_key_data() { - _impl_.key_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::key_data() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem.key_data) - return _internal_key_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_key_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.key_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem.key_data) -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::mutable_key_data() { - std::string* _s = _internal_mutable_key_data(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientInitSystem.key_data) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_key_data() const { - return _impl_.key_data_.Get(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_set_key_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.key_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_mutable_key_data() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.key_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::release_key_data() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientInitSystem.key_data) - if (!_internal_has_key_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.key_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.key_data_.IsDefault()) { - _impl_.key_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_allocated_key_data(std::string* key_data) { - if (key_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.key_data_.SetAllocated(key_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.key_data_.IsDefault()) { - _impl_.key_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientInitSystem.key_data) -} - -// optional bytes sha_hash = 5; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_has_sha_hash() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::has_sha_hash() const { - return _internal_has_sha_hash(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::clear_sha_hash() { - _impl_.sha_hash_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::sha_hash() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem.sha_hash) - return _internal_sha_hash(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_sha_hash(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.sha_hash_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem.sha_hash) -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::mutable_sha_hash() { - std::string* _s = _internal_mutable_sha_hash(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientInitSystem.sha_hash) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_sha_hash() const { - return _impl_.sha_hash_.Get(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_set_sha_hash(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.sha_hash_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_mutable_sha_hash() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.sha_hash_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::release_sha_hash() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientInitSystem.sha_hash) - if (!_internal_has_sha_hash()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.sha_hash_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sha_hash_.IsDefault()) { - _impl_.sha_hash_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_allocated_sha_hash(std::string* sha_hash) { - if (sha_hash != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.sha_hash_.SetAllocated(sha_hash, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sha_hash_.IsDefault()) { - _impl_.sha_hash_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientInitSystem.sha_hash) -} - -// optional int32 cookie = 6; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_has_cookie() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::has_cookie() const { - return _internal_has_cookie(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::clear_cookie() { - _impl_.cookie_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_cookie() const { - return _impl_.cookie_; -} -inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem::cookie() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem.cookie) - return _internal_cookie(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_set_cookie(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.cookie_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_cookie(int32_t value) { - _internal_set_cookie(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem.cookie) -} - -// optional string manifest = 7; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_has_manifest() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::has_manifest() const { - return _internal_has_manifest(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::clear_manifest() { - _impl_.manifest_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::manifest() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem.manifest) - return _internal_manifest(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_manifest(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.manifest_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem.manifest) -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::mutable_manifest() { - std::string* _s = _internal_mutable_manifest(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientInitSystem.manifest) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_manifest() const { - return _impl_.manifest_.Get(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_set_manifest(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.manifest_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_mutable_manifest() { - _impl_._has_bits_[0] |= 0x00000010u; - return _impl_.manifest_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::release_manifest() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientInitSystem.manifest) - if (!_internal_has_manifest()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000010u; - auto* p = _impl_.manifest_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.manifest_.IsDefault()) { - _impl_.manifest_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_allocated_manifest(std::string* manifest) { - if (manifest != nullptr) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.manifest_.SetAllocated(manifest, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.manifest_.IsDefault()) { - _impl_.manifest_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientInitSystem.manifest) -} - -// optional bytes system_package = 8; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_has_system_package() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::has_system_package() const { - return _internal_has_system_package(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::clear_system_package() { - _impl_.system_package_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::system_package() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem.system_package) - return _internal_system_package(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_system_package(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.system_package_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem.system_package) -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::mutable_system_package() { - std::string* _s = _internal_mutable_system_package(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientInitSystem.system_package) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_system_package() const { - return _impl_.system_package_.Get(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_set_system_package(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.system_package_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_mutable_system_package() { - _impl_._has_bits_[0] |= 0x00000020u; - return _impl_.system_package_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem::release_system_package() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientInitSystem.system_package) - if (!_internal_has_system_package()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000020u; - auto* p = _impl_.system_package_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.system_package_.IsDefault()) { - _impl_.system_package_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_allocated_system_package(std::string* system_package) { - if (system_package != nullptr) { - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - _impl_.system_package_.SetAllocated(system_package, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.system_package_.IsDefault()) { - _impl_.system_package_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientInitSystem.system_package) -} - -// optional bool load_system = 9; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_has_load_system() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::has_load_system() const { - return _internal_has_load_system(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::clear_load_system() { - _impl_.load_system_ = false; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_load_system() const { - return _impl_.load_system_; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem::load_system() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem.load_system) - return _internal_load_system(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::_internal_set_load_system(bool value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.load_system_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem::set_load_system(bool value) { - _internal_set_load_system(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem.load_system) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_GC2ClientInitSystem_Response - -// optional bool success = 1; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_success() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_success() const { - return _internal_has_success(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_success() { - _impl_.success_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_success() const { - return _impl_.success_; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::success() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.success) - return _internal_success(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_success(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.success_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_success(bool value) { - _internal_set_success(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.success) -} - -// optional string diagnostic = 2; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_diagnostic() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_diagnostic() const { - return _internal_has_diagnostic(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_diagnostic() { - _impl_.diagnostic_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::diagnostic() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.diagnostic) - return _internal_diagnostic(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_diagnostic(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.diagnostic_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.diagnostic) -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::mutable_diagnostic() { - std::string* _s = _internal_mutable_diagnostic(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.diagnostic) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_diagnostic() const { - return _impl_.diagnostic_.Get(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_diagnostic(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.diagnostic_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_mutable_diagnostic() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.diagnostic_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::release_diagnostic() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.diagnostic) - if (!_internal_has_diagnostic()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.diagnostic_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.diagnostic_.IsDefault()) { - _impl_.diagnostic_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_allocated_diagnostic(std::string* diagnostic) { - if (diagnostic != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.diagnostic_.SetAllocated(diagnostic, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.diagnostic_.IsDefault()) { - _impl_.diagnostic_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.diagnostic) -} - -// optional bytes sha_hash = 3; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_sha_hash() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_sha_hash() const { - return _internal_has_sha_hash(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_sha_hash() { - _impl_.sha_hash_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::sha_hash() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.sha_hash) - return _internal_sha_hash(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_sha_hash(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.sha_hash_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.sha_hash) -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::mutable_sha_hash() { - std::string* _s = _internal_mutable_sha_hash(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.sha_hash) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_sha_hash() const { - return _impl_.sha_hash_.Get(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_sha_hash(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.sha_hash_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_mutable_sha_hash() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.sha_hash_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::release_sha_hash() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.sha_hash) - if (!_internal_has_sha_hash()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.sha_hash_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sha_hash_.IsDefault()) { - _impl_.sha_hash_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_allocated_sha_hash(std::string* sha_hash) { - if (sha_hash != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.sha_hash_.SetAllocated(sha_hash, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sha_hash_.IsDefault()) { - _impl_.sha_hash_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.sha_hash) -} - -// optional int32 response = 4; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_response() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_response() const { - return _internal_has_response(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_response() { - _impl_.response_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_response() const { - return _impl_.response_; -} -inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::response() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.response) - return _internal_response(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_response(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.response_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_response(int32_t value) { - _internal_set_response(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.response) -} - -// optional int32 error_code1 = 5; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_error_code1() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_error_code1() const { - return _internal_has_error_code1(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_error_code1() { - _impl_.error_code1_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_error_code1() const { - return _impl_.error_code1_; -} -inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::error_code1() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.error_code1) - return _internal_error_code1(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_error_code1(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.error_code1_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_error_code1(int32_t value) { - _internal_set_error_code1(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.error_code1) -} - -// optional int32 error_code2 = 6; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_error_code2() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_error_code2() const { - return _internal_has_error_code2(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_error_code2() { - _impl_.error_code2_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_error_code2() const { - return _impl_.error_code2_; -} -inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::error_code2() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.error_code2) - return _internal_error_code2(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_error_code2(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.error_code2_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_error_code2(int32_t value) { - _internal_set_error_code2(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.error_code2) -} - -// optional int64 handle = 7; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_handle() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_handle() const { - return _internal_has_handle(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_handle() { - _impl_.handle_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int64_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_handle() const { - return _impl_.handle_; -} -inline int64_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::handle() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.handle) - return _internal_handle(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_handle(int64_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.handle_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_handle(int64_t value) { - _internal_set_handle(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.handle) -} - -// optional .EInitSystemResult einit_result = 8 [default = k_EInitSystemResult_Invalid]; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_einit_result() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_einit_result() const { - return _internal_has_einit_result(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_einit_result() { - _impl_.einit_result_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline ::EInitSystemResult CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_einit_result() const { - return static_cast< ::EInitSystemResult >(_impl_.einit_result_); -} -inline ::EInitSystemResult CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::einit_result() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.einit_result) - return _internal_einit_result(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_einit_result(::EInitSystemResult value) { - assert(::EInitSystemResult_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.einit_result_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_einit_result(::EInitSystemResult value) { - _internal_set_einit_result(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.einit_result) -} - -// optional int32 aux_system1 = 9; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_aux_system1() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_aux_system1() const { - return _internal_has_aux_system1(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_aux_system1() { - _impl_.aux_system1_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_aux_system1() const { - return _impl_.aux_system1_; -} -inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::aux_system1() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.aux_system1) - return _internal_aux_system1(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_aux_system1(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.aux_system1_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_aux_system1(int32_t value) { - _internal_set_aux_system1(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.aux_system1) -} - -// optional int32 aux_system2 = 10; -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_has_aux_system2() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::has_aux_system2() const { - return _internal_has_aux_system2(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::clear_aux_system2() { - _impl_.aux_system2_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_aux_system2() const { - return _impl_.aux_system2_; -} -inline int32_t CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::aux_system2() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.aux_system2) - return _internal_aux_system2(); -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::_internal_set_aux_system2(int32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.aux_system2_ = value; -} -inline void CMsgGCCStrike15_v2_GC2ClientInitSystem_Response::set_aux_system2(int32_t value) { - _internal_set_aux_system2(value); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_GC2ClientInitSystem_Response.aux_system2) -} - -// ------------------------------------------------------------------- - -// CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName - -// optional string leaderboard_safe_name = 1; -inline bool CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::_internal_has_leaderboard_safe_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::has_leaderboard_safe_name() const { - return _internal_has_leaderboard_safe_name(); -} -inline void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::clear_leaderboard_safe_name() { - _impl_.leaderboard_safe_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::leaderboard_safe_name() const { - // @@protoc_insertion_point(field_get:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName.leaderboard_safe_name) - return _internal_leaderboard_safe_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::set_leaderboard_safe_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.leaderboard_safe_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName.leaderboard_safe_name) -} -inline std::string* CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::mutable_leaderboard_safe_name() { - std::string* _s = _internal_mutable_leaderboard_safe_name(); - // @@protoc_insertion_point(field_mutable:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName.leaderboard_safe_name) - return _s; -} -inline const std::string& CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::_internal_leaderboard_safe_name() const { - return _impl_.leaderboard_safe_name_.Get(); -} -inline void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::_internal_set_leaderboard_safe_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.leaderboard_safe_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::_internal_mutable_leaderboard_safe_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.leaderboard_safe_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::release_leaderboard_safe_name() { - // @@protoc_insertion_point(field_release:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName.leaderboard_safe_name) - if (!_internal_has_leaderboard_safe_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.leaderboard_safe_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.leaderboard_safe_name_.IsDefault()) { - _impl_.leaderboard_safe_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName::set_allocated_leaderboard_safe_name(std::string* leaderboard_safe_name) { - if (leaderboard_safe_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.leaderboard_safe_name_.SetAllocated(leaderboard_safe_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.leaderboard_safe_name_.IsDefault()) { - _impl_.leaderboard_safe_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName.leaderboard_safe_name) -} - -// ------------------------------------------------------------------- - -// CMsgRequestRecurringMissionSchedule - -// ------------------------------------------------------------------- - -// CMsgRecurringMissionSchema_MissionTemplateList - -// optional uint32 period = 1; -inline bool CMsgRecurringMissionSchema_MissionTemplateList::_internal_has_period() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgRecurringMissionSchema_MissionTemplateList::has_period() const { - return _internal_has_period(); -} -inline void CMsgRecurringMissionSchema_MissionTemplateList::clear_period() { - _impl_.period_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgRecurringMissionSchema_MissionTemplateList::_internal_period() const { - return _impl_.period_; -} -inline uint32_t CMsgRecurringMissionSchema_MissionTemplateList::period() const { - // @@protoc_insertion_point(field_get:CMsgRecurringMissionSchema.MissionTemplateList.period) - return _internal_period(); -} -inline void CMsgRecurringMissionSchema_MissionTemplateList::_internal_set_period(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.period_ = value; -} -inline void CMsgRecurringMissionSchema_MissionTemplateList::set_period(uint32_t value) { - _internal_set_period(value); - // @@protoc_insertion_point(field_set:CMsgRecurringMissionSchema.MissionTemplateList.period) -} - -// repeated bytes mission_templates = 2; -inline int CMsgRecurringMissionSchema_MissionTemplateList::_internal_mission_templates_size() const { - return _impl_.mission_templates_.size(); -} -inline int CMsgRecurringMissionSchema_MissionTemplateList::mission_templates_size() const { - return _internal_mission_templates_size(); -} -inline void CMsgRecurringMissionSchema_MissionTemplateList::clear_mission_templates() { - _impl_.mission_templates_.Clear(); -} -inline std::string* CMsgRecurringMissionSchema_MissionTemplateList::add_mission_templates() { - std::string* _s = _internal_add_mission_templates(); - // @@protoc_insertion_point(field_add_mutable:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) - return _s; -} -inline const std::string& CMsgRecurringMissionSchema_MissionTemplateList::_internal_mission_templates(int index) const { - return _impl_.mission_templates_.Get(index); -} -inline const std::string& CMsgRecurringMissionSchema_MissionTemplateList::mission_templates(int index) const { - // @@protoc_insertion_point(field_get:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) - return _internal_mission_templates(index); -} -inline std::string* CMsgRecurringMissionSchema_MissionTemplateList::mutable_mission_templates(int index) { - // @@protoc_insertion_point(field_mutable:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) - return _impl_.mission_templates_.Mutable(index); -} -inline void CMsgRecurringMissionSchema_MissionTemplateList::set_mission_templates(int index, const std::string& value) { - _impl_.mission_templates_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) -} -inline void CMsgRecurringMissionSchema_MissionTemplateList::set_mission_templates(int index, std::string&& value) { - _impl_.mission_templates_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) -} -inline void CMsgRecurringMissionSchema_MissionTemplateList::set_mission_templates(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.mission_templates_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) -} -inline void CMsgRecurringMissionSchema_MissionTemplateList::set_mission_templates(int index, const void* value, size_t size) { - _impl_.mission_templates_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) -} -inline std::string* CMsgRecurringMissionSchema_MissionTemplateList::_internal_add_mission_templates() { - return _impl_.mission_templates_.Add(); -} -inline void CMsgRecurringMissionSchema_MissionTemplateList::add_mission_templates(const std::string& value) { - _impl_.mission_templates_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) -} -inline void CMsgRecurringMissionSchema_MissionTemplateList::add_mission_templates(std::string&& value) { - _impl_.mission_templates_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) -} -inline void CMsgRecurringMissionSchema_MissionTemplateList::add_mission_templates(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.mission_templates_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) -} -inline void CMsgRecurringMissionSchema_MissionTemplateList::add_mission_templates(const void* value, size_t size) { - _impl_.mission_templates_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CMsgRecurringMissionSchema_MissionTemplateList::mission_templates() const { - // @@protoc_insertion_point(field_list:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) - return _impl_.mission_templates_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CMsgRecurringMissionSchema_MissionTemplateList::mutable_mission_templates() { - // @@protoc_insertion_point(field_mutable_list:CMsgRecurringMissionSchema.MissionTemplateList.mission_templates) - return &_impl_.mission_templates_; -} - -// ------------------------------------------------------------------- - -// CMsgRecurringMissionSchema - -// repeated .CMsgRecurringMissionSchema.MissionTemplateList missions = 1; -inline int CMsgRecurringMissionSchema::_internal_missions_size() const { - return _impl_.missions_.size(); -} -inline int CMsgRecurringMissionSchema::missions_size() const { - return _internal_missions_size(); -} -inline void CMsgRecurringMissionSchema::clear_missions() { - _impl_.missions_.Clear(); -} -inline ::CMsgRecurringMissionSchema_MissionTemplateList* CMsgRecurringMissionSchema::mutable_missions(int index) { - // @@protoc_insertion_point(field_mutable:CMsgRecurringMissionSchema.missions) - return _impl_.missions_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRecurringMissionSchema_MissionTemplateList >* -CMsgRecurringMissionSchema::mutable_missions() { - // @@protoc_insertion_point(field_mutable_list:CMsgRecurringMissionSchema.missions) - return &_impl_.missions_; -} -inline const ::CMsgRecurringMissionSchema_MissionTemplateList& CMsgRecurringMissionSchema::_internal_missions(int index) const { - return _impl_.missions_.Get(index); -} -inline const ::CMsgRecurringMissionSchema_MissionTemplateList& CMsgRecurringMissionSchema::missions(int index) const { - // @@protoc_insertion_point(field_get:CMsgRecurringMissionSchema.missions) - return _internal_missions(index); -} -inline ::CMsgRecurringMissionSchema_MissionTemplateList* CMsgRecurringMissionSchema::_internal_add_missions() { - return _impl_.missions_.Add(); -} -inline ::CMsgRecurringMissionSchema_MissionTemplateList* CMsgRecurringMissionSchema::add_missions() { - ::CMsgRecurringMissionSchema_MissionTemplateList* _add = _internal_add_missions(); - // @@protoc_insertion_point(field_add:CMsgRecurringMissionSchema.missions) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRecurringMissionSchema_MissionTemplateList >& -CMsgRecurringMissionSchema::missions() const { - // @@protoc_insertion_point(field_list:CMsgRecurringMissionSchema.missions) - return _impl_.missions_; -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::ECsgoGCMsg> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ECsgoGCMsg>() { - return ::ECsgoGCMsg_descriptor(); -} -template <> struct is_proto_enum< ::ECsgoSteamUserStat> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ECsgoSteamUserStat>() { - return ::ECsgoSteamUserStat_descriptor(); -} -template <> struct is_proto_enum< ::QuestType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::QuestType>() { - return ::QuestType_descriptor(); -} -template <> struct is_proto_enum< ::EClientReportingVersion> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EClientReportingVersion>() { - return ::EClientReportingVersion_descriptor(); -} -template <> struct is_proto_enum< ::EInitSystemResult> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EInitSystemResult>() { - return ::EInitSystemResult_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_cstrike15_5fgcmessages_2eproto diff --git a/protobuf/generated/cstrike15_usermessages.pb.cc b/protobuf/generated/cstrike15_usermessages.pb.cc deleted file mode 100644 index d8c7f5d75..000000000 --- a/protobuf/generated/cstrike15_usermessages.pb.cc +++ /dev/null @@ -1,27684 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: cstrike15_usermessages.proto - -#include "cstrike15_usermessages.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CCSUsrMsg_VGUIMenu_Keys::CCSUsrMsg_VGUIMenu_Keys( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CCSUsrMsg_VGUIMenu_KeysDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_VGUIMenu_KeysDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_VGUIMenu_KeysDefaultTypeInternal() {} - union { - CCSUsrMsg_VGUIMenu_Keys _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_VGUIMenu_KeysDefaultTypeInternal _CCSUsrMsg_VGUIMenu_Keys_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_VGUIMenu::CCSUsrMsg_VGUIMenu( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.keys_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.show_)*/false} {} -struct CCSUsrMsg_VGUIMenuDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_VGUIMenuDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_VGUIMenuDefaultTypeInternal() {} - union { - CCSUsrMsg_VGUIMenu _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_VGUIMenuDefaultTypeInternal _CCSUsrMsg_VGUIMenu_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_Geiger::CCSUsrMsg_Geiger( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.range_)*/0} {} -struct CCSUsrMsg_GeigerDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_GeigerDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_GeigerDefaultTypeInternal() {} - union { - CCSUsrMsg_Geiger _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_GeigerDefaultTypeInternal _CCSUsrMsg_Geiger_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_Train::CCSUsrMsg_Train( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.train_)*/0} {} -struct CCSUsrMsg_TrainDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_TrainDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_TrainDefaultTypeInternal() {} - union { - CCSUsrMsg_Train _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_TrainDefaultTypeInternal _CCSUsrMsg_Train_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_HudText::CCSUsrMsg_HudText( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CCSUsrMsg_HudTextDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_HudTextDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_HudTextDefaultTypeInternal() {} - union { - CCSUsrMsg_HudText _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_HudTextDefaultTypeInternal _CCSUsrMsg_HudText_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_HudMsg::CCSUsrMsg_HudMsg( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.pos_)*/nullptr - , /*decltype(_impl_.clr1_)*/nullptr - , /*decltype(_impl_.clr2_)*/nullptr - , /*decltype(_impl_.channel_)*/0 - , /*decltype(_impl_.effect_)*/0 - , /*decltype(_impl_.fade_in_time_)*/0 - , /*decltype(_impl_.fade_out_time_)*/0 - , /*decltype(_impl_.hold_time_)*/0 - , /*decltype(_impl_.fx_time_)*/0} {} -struct CCSUsrMsg_HudMsgDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_HudMsgDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_HudMsgDefaultTypeInternal() {} - union { - CCSUsrMsg_HudMsg _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_HudMsgDefaultTypeInternal _CCSUsrMsg_HudMsg_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_Shake::CCSUsrMsg_Shake( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.command_)*/0 - , /*decltype(_impl_.local_amplitude_)*/0 - , /*decltype(_impl_.frequency_)*/0 - , /*decltype(_impl_.duration_)*/0} {} -struct CCSUsrMsg_ShakeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_ShakeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_ShakeDefaultTypeInternal() {} - union { - CCSUsrMsg_Shake _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ShakeDefaultTypeInternal _CCSUsrMsg_Shake_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_Fade::CCSUsrMsg_Fade( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.clr_)*/nullptr - , /*decltype(_impl_.duration_)*/0 - , /*decltype(_impl_.hold_time_)*/0 - , /*decltype(_impl_.flags_)*/0} {} -struct CCSUsrMsg_FadeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_FadeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_FadeDefaultTypeInternal() {} - union { - CCSUsrMsg_Fade _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_FadeDefaultTypeInternal _CCSUsrMsg_Fade_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_Rumble::CCSUsrMsg_Rumble( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.index_)*/0 - , /*decltype(_impl_.data_)*/0 - , /*decltype(_impl_.flags_)*/0} {} -struct CCSUsrMsg_RumbleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_RumbleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_RumbleDefaultTypeInternal() {} - union { - CCSUsrMsg_Rumble _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RumbleDefaultTypeInternal _CCSUsrMsg_Rumble_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_CloseCaption::CCSUsrMsg_CloseCaption( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.cctoken_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.hash_)*/0u - , /*decltype(_impl_.duration_)*/0 - , /*decltype(_impl_.from_player_)*/false} {} -struct CCSUsrMsg_CloseCaptionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_CloseCaptionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_CloseCaptionDefaultTypeInternal() {} - union { - CCSUsrMsg_CloseCaption _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_CloseCaptionDefaultTypeInternal _CCSUsrMsg_CloseCaption_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_CloseCaptionDirect::CCSUsrMsg_CloseCaptionDirect( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.hash_)*/0u - , /*decltype(_impl_.duration_)*/0 - , /*decltype(_impl_.from_player_)*/false} {} -struct CCSUsrMsg_CloseCaptionDirectDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_CloseCaptionDirectDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_CloseCaptionDirectDefaultTypeInternal() {} - union { - CCSUsrMsg_CloseCaptionDirect _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_CloseCaptionDirectDefaultTypeInternal _CCSUsrMsg_CloseCaptionDirect_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_SendAudio::CCSUsrMsg_SendAudio( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.radio_sound_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CCSUsrMsg_SendAudioDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_SendAudioDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_SendAudioDefaultTypeInternal() {} - union { - CCSUsrMsg_SendAudio _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SendAudioDefaultTypeInternal _CCSUsrMsg_SendAudio_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_RawAudio::CCSUsrMsg_RawAudio( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.voice_filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.pitch_)*/0 - , /*decltype(_impl_.duration_)*/0 - , /*decltype(_impl_.entidx_)*/-1} {} -struct CCSUsrMsg_RawAudioDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_RawAudioDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_RawAudioDefaultTypeInternal() {} - union { - CCSUsrMsg_RawAudio _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RawAudioDefaultTypeInternal _CCSUsrMsg_RawAudio_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_VoiceMask_PlayerMask::CCSUsrMsg_VoiceMask_PlayerMask( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.game_rules_mask_)*/0 - , /*decltype(_impl_.ban_masks_)*/0} {} -struct CCSUsrMsg_VoiceMask_PlayerMaskDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_VoiceMask_PlayerMaskDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_VoiceMask_PlayerMaskDefaultTypeInternal() {} - union { - CCSUsrMsg_VoiceMask_PlayerMask _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_VoiceMask_PlayerMaskDefaultTypeInternal _CCSUsrMsg_VoiceMask_PlayerMask_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_VoiceMask::CCSUsrMsg_VoiceMask( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.player_masks_)*/{} - , /*decltype(_impl_.player_mod_enable_)*/false} {} -struct CCSUsrMsg_VoiceMaskDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_VoiceMaskDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_VoiceMaskDefaultTypeInternal() {} - union { - CCSUsrMsg_VoiceMask _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_VoiceMaskDefaultTypeInternal _CCSUsrMsg_VoiceMask_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_Damage::CCSUsrMsg_Damage( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.inflictor_world_pos_)*/nullptr - , /*decltype(_impl_.amount_)*/0 - , /*decltype(_impl_.victim_entindex_)*/-1} {} -struct CCSUsrMsg_DamageDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_DamageDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_DamageDefaultTypeInternal() {} - union { - CCSUsrMsg_Damage _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_DamageDefaultTypeInternal _CCSUsrMsg_Damage_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_RadioText::CCSUsrMsg_RadioText( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.params_)*/{} - , /*decltype(_impl_.msg_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.msg_dst_)*/0 - , /*decltype(_impl_.client_)*/-1} {} -struct CCSUsrMsg_RadioTextDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_RadioTextDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_RadioTextDefaultTypeInternal() {} - union { - CCSUsrMsg_RadioText _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RadioTextDefaultTypeInternal _CCSUsrMsg_RadioText_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_HintText::CCSUsrMsg_HintText( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CCSUsrMsg_HintTextDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_HintTextDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_HintTextDefaultTypeInternal() {} - union { - CCSUsrMsg_HintText _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_HintTextDefaultTypeInternal _CCSUsrMsg_HintText_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_KeyHintText::CCSUsrMsg_KeyHintText( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.messages_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CCSUsrMsg_KeyHintTextDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_KeyHintTextDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_KeyHintTextDefaultTypeInternal() {} - union { - CCSUsrMsg_KeyHintText _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_KeyHintTextDefaultTypeInternal _CCSUsrMsg_KeyHintText_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.class_id_)*/0 - , /*decltype(_impl_.origin_x_)*/0 - , /*decltype(_impl_.origin_y_)*/0 - , /*decltype(_impl_.origin_z_)*/0 - , /*decltype(_impl_.angle_y_)*/0 - , /*decltype(_impl_.defuser_)*/false - , /*decltype(_impl_.player_has_defuser_)*/false - , /*decltype(_impl_.player_has_c4_)*/false - , /*decltype(_impl_.entity_idx_)*/-1} {} -struct CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdateDefaultTypeInternal() {} - union { - CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdateDefaultTypeInternal _CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_ProcessSpottedEntityUpdate::CCSUsrMsg_ProcessSpottedEntityUpdate( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.entity_updates_)*/{} - , /*decltype(_impl_.new_update_)*/false} {} -struct CCSUsrMsg_ProcessSpottedEntityUpdateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_ProcessSpottedEntityUpdateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_ProcessSpottedEntityUpdateDefaultTypeInternal() {} - union { - CCSUsrMsg_ProcessSpottedEntityUpdate _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ProcessSpottedEntityUpdateDefaultTypeInternal _CCSUsrMsg_ProcessSpottedEntityUpdate_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerItemDrops::CCSUsrMsg_SendPlayerItemDrops( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.entity_updates_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CCSUsrMsg_SendPlayerItemDropsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerItemDropsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_SendPlayerItemDropsDefaultTypeInternal() {} - union { - CCSUsrMsg_SendPlayerItemDrops _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SendPlayerItemDropsDefaultTypeInternal _CCSUsrMsg_SendPlayerItemDrops_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerItemFound::CCSUsrMsg_SendPlayerItemFound( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.iteminfo_)*/nullptr - , /*decltype(_impl_.playerslot_)*/-1} {} -struct CCSUsrMsg_SendPlayerItemFoundDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerItemFoundDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_SendPlayerItemFoundDefaultTypeInternal() {} - union { - CCSUsrMsg_SendPlayerItemFound _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SendPlayerItemFoundDefaultTypeInternal _CCSUsrMsg_SendPlayerItemFound_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_ReloadEffect::CCSUsrMsg_ReloadEffect( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.actanim_)*/0 - , /*decltype(_impl_.origin_x_)*/0 - , /*decltype(_impl_.origin_y_)*/0 - , /*decltype(_impl_.origin_z_)*/0 - , /*decltype(_impl_.entidx_)*/-1} {} -struct CCSUsrMsg_ReloadEffectDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_ReloadEffectDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_ReloadEffectDefaultTypeInternal() {} - union { - CCSUsrMsg_ReloadEffect _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ReloadEffectDefaultTypeInternal _CCSUsrMsg_ReloadEffect_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_WeaponSound::CCSUsrMsg_WeaponSound( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.sound_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.origin_x_)*/0 - , /*decltype(_impl_.origin_y_)*/0 - , /*decltype(_impl_.origin_z_)*/0 - , /*decltype(_impl_.game_timestamp_)*/0 - , /*decltype(_impl_.source_soundscapeid_)*/0u - , /*decltype(_impl_.entidx_)*/-1} {} -struct CCSUsrMsg_WeaponSoundDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_WeaponSoundDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_WeaponSoundDefaultTypeInternal() {} - union { - CCSUsrMsg_WeaponSound _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_WeaponSoundDefaultTypeInternal _CCSUsrMsg_WeaponSound_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_UpdateScreenHealthBar::CCSUsrMsg_UpdateScreenHealthBar( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.healthratio_old_)*/0 - , /*decltype(_impl_.healthratio_new_)*/0 - , /*decltype(_impl_.style_)*/0 - , /*decltype(_impl_.entidx_)*/-1} {} -struct CCSUsrMsg_UpdateScreenHealthBarDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_UpdateScreenHealthBarDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_UpdateScreenHealthBarDefaultTypeInternal() {} - union { - CCSUsrMsg_UpdateScreenHealthBar _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_UpdateScreenHealthBarDefaultTypeInternal _CCSUsrMsg_UpdateScreenHealthBar_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_EntityOutlineHighlight::CCSUsrMsg_EntityOutlineHighlight( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.removehighlight_)*/false - , /*decltype(_impl_.entidx_)*/-1} {} -struct CCSUsrMsg_EntityOutlineHighlightDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_EntityOutlineHighlightDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_EntityOutlineHighlightDefaultTypeInternal() {} - union { - CCSUsrMsg_EntityOutlineHighlight _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_EntityOutlineHighlightDefaultTypeInternal _CCSUsrMsg_EntityOutlineHighlight_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_AdjustMoney::CCSUsrMsg_AdjustMoney( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.amount_)*/0} {} -struct CCSUsrMsg_AdjustMoneyDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_AdjustMoneyDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_AdjustMoneyDefaultTypeInternal() {} - union { - CCSUsrMsg_AdjustMoney _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_AdjustMoneyDefaultTypeInternal _CCSUsrMsg_AdjustMoney_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_ReportHit::CCSUsrMsg_ReportHit( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.pos_x_)*/0 - , /*decltype(_impl_.pos_y_)*/0 - , /*decltype(_impl_.pos_z_)*/0 - , /*decltype(_impl_.timestamp_)*/0} {} -struct CCSUsrMsg_ReportHitDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_ReportHitDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_ReportHitDefaultTypeInternal() {} - union { - CCSUsrMsg_ReportHit _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ReportHitDefaultTypeInternal _CCSUsrMsg_ReportHit_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_KillCam::CCSUsrMsg_KillCam( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.obs_mode_)*/0 - , /*decltype(_impl_.first_target_)*/-1 - , /*decltype(_impl_.second_target_)*/-1} {} -struct CCSUsrMsg_KillCamDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_KillCamDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_KillCamDefaultTypeInternal() {} - union { - CCSUsrMsg_KillCam _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_KillCamDefaultTypeInternal _CCSUsrMsg_KillCam_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_DesiredTimescale::CCSUsrMsg_DesiredTimescale( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.desired_timescale_)*/0 - , /*decltype(_impl_.duration_realtime_sec_)*/0 - , /*decltype(_impl_.interpolator_type_)*/0 - , /*decltype(_impl_.start_blend_time_)*/0} {} -struct CCSUsrMsg_DesiredTimescaleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_DesiredTimescaleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_DesiredTimescaleDefaultTypeInternal() {} - union { - CCSUsrMsg_DesiredTimescale _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_DesiredTimescaleDefaultTypeInternal _CCSUsrMsg_DesiredTimescale_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_CurrentTimescale::CCSUsrMsg_CurrentTimescale( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.cur_timescale_)*/0} {} -struct CCSUsrMsg_CurrentTimescaleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_CurrentTimescaleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_CurrentTimescaleDefaultTypeInternal() {} - union { - CCSUsrMsg_CurrentTimescale _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_CurrentTimescaleDefaultTypeInternal _CCSUsrMsg_CurrentTimescale_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_AchievementEvent::CCSUsrMsg_AchievementEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.achievement_)*/0 - , /*decltype(_impl_.count_)*/0 - , /*decltype(_impl_.user_id_)*/0} {} -struct CCSUsrMsg_AchievementEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_AchievementEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_AchievementEventDefaultTypeInternal() {} - union { - CCSUsrMsg_AchievementEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_AchievementEventDefaultTypeInternal _CCSUsrMsg_AchievementEvent_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_MatchEndConditions::CCSUsrMsg_MatchEndConditions( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.fraglimit_)*/0 - , /*decltype(_impl_.mp_maxrounds_)*/0 - , /*decltype(_impl_.mp_winlimit_)*/0 - , /*decltype(_impl_.mp_timelimit_)*/0} {} -struct CCSUsrMsg_MatchEndConditionsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_MatchEndConditionsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_MatchEndConditionsDefaultTypeInternal() {} - union { - CCSUsrMsg_MatchEndConditions _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_MatchEndConditionsDefaultTypeInternal _CCSUsrMsg_MatchEndConditions_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_PlayerStatsUpdate_Stat::CCSUsrMsg_PlayerStatsUpdate_Stat( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.idx_)*/0 - , /*decltype(_impl_.delta_)*/0} {} -struct CCSUsrMsg_PlayerStatsUpdate_StatDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_PlayerStatsUpdate_StatDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_PlayerStatsUpdate_StatDefaultTypeInternal() {} - union { - CCSUsrMsg_PlayerStatsUpdate_Stat _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_PlayerStatsUpdate_StatDefaultTypeInternal _CCSUsrMsg_PlayerStatsUpdate_Stat_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_PlayerStatsUpdate::CCSUsrMsg_PlayerStatsUpdate( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.stats_)*/{} - , /*decltype(_impl_.version_)*/0 - , /*decltype(_impl_.ehandle_)*/0u - , /*decltype(_impl_.crc_)*/0} {} -struct CCSUsrMsg_PlayerStatsUpdateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_PlayerStatsUpdateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_PlayerStatsUpdateDefaultTypeInternal() {} - union { - CCSUsrMsg_PlayerStatsUpdate _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_PlayerStatsUpdateDefaultTypeInternal _CCSUsrMsg_PlayerStatsUpdate_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_QuestProgress::CCSUsrMsg_QuestProgress( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.quest_id_)*/0u - , /*decltype(_impl_.normal_points_)*/0u - , /*decltype(_impl_.bonus_points_)*/0u - , /*decltype(_impl_.is_event_quest_)*/false} {} -struct CCSUsrMsg_QuestProgressDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_QuestProgressDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_QuestProgressDefaultTypeInternal() {} - union { - CCSUsrMsg_QuestProgress _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_QuestProgressDefaultTypeInternal _CCSUsrMsg_QuestProgress_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_ScoreLeaderboardData::CCSUsrMsg_ScoreLeaderboardData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/nullptr} {} -struct CCSUsrMsg_ScoreLeaderboardDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_ScoreLeaderboardDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_ScoreLeaderboardDataDefaultTypeInternal() {} - union { - CCSUsrMsg_ScoreLeaderboardData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ScoreLeaderboardDataDefaultTypeInternal _CCSUsrMsg_ScoreLeaderboardData_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_PlayerDecalDigitalSignature::CCSUsrMsg_PlayerDecalDigitalSignature( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/nullptr} {} -struct CCSUsrMsg_PlayerDecalDigitalSignatureDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_PlayerDecalDigitalSignatureDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_PlayerDecalDigitalSignatureDefaultTypeInternal() {} - union { - CCSUsrMsg_PlayerDecalDigitalSignature _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_PlayerDecalDigitalSignatureDefaultTypeInternal _CCSUsrMsg_PlayerDecalDigitalSignature_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_XRankGet::CCSUsrMsg_XRankGet( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.mode_idx_)*/0 - , /*decltype(_impl_.controller_)*/0} {} -struct CCSUsrMsg_XRankGetDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_XRankGetDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_XRankGetDefaultTypeInternal() {} - union { - CCSUsrMsg_XRankGet _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_XRankGetDefaultTypeInternal _CCSUsrMsg_XRankGet_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_XRankUpd::CCSUsrMsg_XRankUpd( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.mode_idx_)*/0 - , /*decltype(_impl_.controller_)*/0 - , /*decltype(_impl_.ranking_)*/0} {} -struct CCSUsrMsg_XRankUpdDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_XRankUpdDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_XRankUpdDefaultTypeInternal() {} - union { - CCSUsrMsg_XRankUpd _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_XRankUpdDefaultTypeInternal _CCSUsrMsg_XRankUpd_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_CallVoteFailed::CCSUsrMsg_CallVoteFailed( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.reason_)*/0 - , /*decltype(_impl_.time_)*/0} {} -struct CCSUsrMsg_CallVoteFailedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_CallVoteFailedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_CallVoteFailedDefaultTypeInternal() {} - union { - CCSUsrMsg_CallVoteFailed _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_CallVoteFailedDefaultTypeInternal _CCSUsrMsg_CallVoteFailed_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_VoteStart::CCSUsrMsg_VoteStart( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.disp_str_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.details_str_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.other_team_str_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.team_)*/0 - , /*decltype(_impl_.vote_type_)*/0 - , /*decltype(_impl_.is_yes_no_vote_)*/false - , /*decltype(_impl_.player_slot_)*/-1 - , /*decltype(_impl_.player_slot_target_)*/-1} {} -struct CCSUsrMsg_VoteStartDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_VoteStartDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_VoteStartDefaultTypeInternal() {} - union { - CCSUsrMsg_VoteStart _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_VoteStartDefaultTypeInternal _CCSUsrMsg_VoteStart_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_VotePass::CCSUsrMsg_VotePass( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.disp_str_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.details_str_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.team_)*/0 - , /*decltype(_impl_.vote_type_)*/0} {} -struct CCSUsrMsg_VotePassDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_VotePassDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_VotePassDefaultTypeInternal() {} - union { - CCSUsrMsg_VotePass _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_VotePassDefaultTypeInternal _CCSUsrMsg_VotePass_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_VoteFailed::CCSUsrMsg_VoteFailed( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.team_)*/0 - , /*decltype(_impl_.reason_)*/0} {} -struct CCSUsrMsg_VoteFailedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_VoteFailedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_VoteFailedDefaultTypeInternal() {} - union { - CCSUsrMsg_VoteFailed _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_VoteFailedDefaultTypeInternal _CCSUsrMsg_VoteFailed_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_VoteSetup::CCSUsrMsg_VoteSetup( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.potential_issues_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CCSUsrMsg_VoteSetupDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_VoteSetupDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_VoteSetupDefaultTypeInternal() {} - union { - CCSUsrMsg_VoteSetup _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_VoteSetupDefaultTypeInternal _CCSUsrMsg_VoteSetup_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_SendLastKillerDamageToClient::CCSUsrMsg_SendLastKillerDamageToClient( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.num_hits_given_)*/0 - , /*decltype(_impl_.damage_given_)*/0 - , /*decltype(_impl_.num_hits_taken_)*/0 - , /*decltype(_impl_.damage_taken_)*/0 - , /*decltype(_impl_.actual_damage_given_)*/0 - , /*decltype(_impl_.actual_damage_taken_)*/0} {} -struct CCSUsrMsg_SendLastKillerDamageToClientDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_SendLastKillerDamageToClientDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_SendLastKillerDamageToClientDefaultTypeInternal() {} - union { - CCSUsrMsg_SendLastKillerDamageToClient _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SendLastKillerDamageToClientDefaultTypeInternal _CCSUsrMsg_SendLastKillerDamageToClient_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_ServerRankUpdate_RankUpdate::CCSUsrMsg_ServerRankUpdate_RankUpdate( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.account_id_)*/0 - , /*decltype(_impl_.rank_old_)*/0 - , /*decltype(_impl_.rank_new_)*/0 - , /*decltype(_impl_.num_wins_)*/0 - , /*decltype(_impl_.rank_change_)*/0 - , /*decltype(_impl_.rank_type_id_)*/0} {} -struct CCSUsrMsg_ServerRankUpdate_RankUpdateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_ServerRankUpdate_RankUpdateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_ServerRankUpdate_RankUpdateDefaultTypeInternal() {} - union { - CCSUsrMsg_ServerRankUpdate_RankUpdate _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ServerRankUpdate_RankUpdateDefaultTypeInternal _CCSUsrMsg_ServerRankUpdate_RankUpdate_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_ServerRankUpdate::CCSUsrMsg_ServerRankUpdate( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.rank_update_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CCSUsrMsg_ServerRankUpdateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_ServerRankUpdateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_ServerRankUpdateDefaultTypeInternal() {} - union { - CCSUsrMsg_ServerRankUpdate _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ServerRankUpdateDefaultTypeInternal _CCSUsrMsg_ServerRankUpdate_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_XpUpdate::CCSUsrMsg_XpUpdate( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/nullptr} {} -struct CCSUsrMsg_XpUpdateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_XpUpdateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_XpUpdateDefaultTypeInternal() {} - union { - CCSUsrMsg_XpUpdate _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_XpUpdateDefaultTypeInternal _CCSUsrMsg_XpUpdate_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_ItemPickup::CCSUsrMsg_ItemPickup( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.item_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CCSUsrMsg_ItemPickupDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_ItemPickupDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_ItemPickupDefaultTypeInternal() {} - union { - CCSUsrMsg_ItemPickup _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ItemPickupDefaultTypeInternal _CCSUsrMsg_ItemPickup_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_ShowMenu::CCSUsrMsg_ShowMenu( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.menu_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.bits_valid_slots_)*/0 - , /*decltype(_impl_.display_time_)*/0} {} -struct CCSUsrMsg_ShowMenuDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_ShowMenuDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_ShowMenuDefaultTypeInternal() {} - union { - CCSUsrMsg_ShowMenu _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ShowMenuDefaultTypeInternal _CCSUsrMsg_ShowMenu_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_BarTime::CCSUsrMsg_BarTime( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.time_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CCSUsrMsg_BarTimeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_BarTimeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_BarTimeDefaultTypeInternal() {} - union { - CCSUsrMsg_BarTime _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_BarTimeDefaultTypeInternal _CCSUsrMsg_BarTime_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_AmmoDenied::CCSUsrMsg_AmmoDenied( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ammoidx_)*/0} {} -struct CCSUsrMsg_AmmoDeniedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_AmmoDeniedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_AmmoDeniedDefaultTypeInternal() {} - union { - CCSUsrMsg_AmmoDenied _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_AmmoDeniedDefaultTypeInternal _CCSUsrMsg_AmmoDenied_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_MarkAchievement::CCSUsrMsg_MarkAchievement( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.achievement_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CCSUsrMsg_MarkAchievementDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_MarkAchievementDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_MarkAchievementDefaultTypeInternal() {} - union { - CCSUsrMsg_MarkAchievement _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_MarkAchievementDefaultTypeInternal _CCSUsrMsg_MarkAchievement_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_MatchStatsUpdate::CCSUsrMsg_MatchStatsUpdate( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.update_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CCSUsrMsg_MatchStatsUpdateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_MatchStatsUpdateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_MatchStatsUpdateDefaultTypeInternal() {} - union { - CCSUsrMsg_MatchStatsUpdate _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_MatchStatsUpdateDefaultTypeInternal _CCSUsrMsg_MatchStatsUpdate_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_ItemDrop::CCSUsrMsg_ItemDrop( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.itemid_)*/int64_t{0} - , /*decltype(_impl_.death_)*/false} {} -struct CCSUsrMsg_ItemDropDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_ItemDropDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_ItemDropDefaultTypeInternal() {} - union { - CCSUsrMsg_ItemDrop _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ItemDropDefaultTypeInternal _CCSUsrMsg_ItemDrop_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_RoundBackupFilenames::CCSUsrMsg_RoundBackupFilenames( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.nicename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.count_)*/0 - , /*decltype(_impl_.index_)*/0} {} -struct CCSUsrMsg_RoundBackupFilenamesDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_RoundBackupFilenamesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_RoundBackupFilenamesDefaultTypeInternal() {} - union { - CCSUsrMsg_RoundBackupFilenames _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RoundBackupFilenamesDefaultTypeInternal _CCSUsrMsg_RoundBackupFilenames_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_SSUI::CCSUsrMsg_SSUI( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.show_)*/false - , /*decltype(_impl_.start_time_)*/0 - , /*decltype(_impl_.end_time_)*/0} {} -struct CCSUsrMsg_SSUIDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_SSUIDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_SSUIDefaultTypeInternal() {} - union { - CCSUsrMsg_SSUI _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SSUIDefaultTypeInternal _CCSUsrMsg_SSUI_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats_Fact::CCSUsrMsg_SurvivalStats_Fact( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.type_)*/0 - , /*decltype(_impl_.display_)*/0 - , /*decltype(_impl_.value_)*/0 - , /*decltype(_impl_.interestingness_)*/0} {} -struct CCSUsrMsg_SurvivalStats_FactDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats_FactDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_SurvivalStats_FactDefaultTypeInternal() {} - union { - CCSUsrMsg_SurvivalStats_Fact _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SurvivalStats_FactDefaultTypeInternal _CCSUsrMsg_SurvivalStats_Fact_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats_Placement::CCSUsrMsg_SurvivalStats_Placement( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.xuid_)*/uint64_t{0u} - , /*decltype(_impl_.teamnumber_)*/0 - , /*decltype(_impl_.placement_)*/0} {} -struct CCSUsrMsg_SurvivalStats_PlacementDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats_PlacementDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_SurvivalStats_PlacementDefaultTypeInternal() {} - union { - CCSUsrMsg_SurvivalStats_Placement _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SurvivalStats_PlacementDefaultTypeInternal _CCSUsrMsg_SurvivalStats_Placement_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats_Damage::CCSUsrMsg_SurvivalStats_Damage( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.xuid_)*/uint64_t{0u} - , /*decltype(_impl_.to_)*/0 - , /*decltype(_impl_.to_hits_)*/0 - , /*decltype(_impl_.from_)*/0 - , /*decltype(_impl_.from_hits_)*/0} {} -struct CCSUsrMsg_SurvivalStats_DamageDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats_DamageDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_SurvivalStats_DamageDefaultTypeInternal() {} - union { - CCSUsrMsg_SurvivalStats_Damage _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SurvivalStats_DamageDefaultTypeInternal _CCSUsrMsg_SurvivalStats_Damage_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats::CCSUsrMsg_SurvivalStats( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.facts_)*/{} - , /*decltype(_impl_.users_)*/{} - , /*decltype(_impl_.damages_)*/{} - , /*decltype(_impl_.xuid_)*/uint64_t{0u} - , /*decltype(_impl_.ticknumber_)*/0} {} -struct CCSUsrMsg_SurvivalStatsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStatsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_SurvivalStatsDefaultTypeInternal() {} - union { - CCSUsrMsg_SurvivalStats _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SurvivalStatsDefaultTypeInternal _CCSUsrMsg_SurvivalStats_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.eaccolade_)*/0 - , /*decltype(_impl_.value_)*/0 - , /*decltype(_impl_.position_)*/0} {} -struct CCSUsrMsg_EndOfMatchAllPlayersData_AccoladeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_EndOfMatchAllPlayersData_AccoladeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_EndOfMatchAllPlayersData_AccoladeDefaultTypeInternal() {} - union { - CCSUsrMsg_EndOfMatchAllPlayersData_Accolade _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_EndOfMatchAllPlayersData_AccoladeDefaultTypeInternal _CCSUsrMsg_EndOfMatchAllPlayersData_Accolade_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.items_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.nomination_)*/nullptr - , /*decltype(_impl_.xuid_)*/uint64_t{0u} - , /*decltype(_impl_.teamnumber_)*/0 - , /*decltype(_impl_.playercolor_)*/0 - , /*decltype(_impl_.isbot_)*/false - , /*decltype(_impl_.slot_)*/-1} {} -struct CCSUsrMsg_EndOfMatchAllPlayersData_PlayerDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_EndOfMatchAllPlayersData_PlayerDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_EndOfMatchAllPlayersData_PlayerDataDefaultTypeInternal() {} - union { - CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_EndOfMatchAllPlayersData_PlayerDataDefaultTypeInternal _CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_EndOfMatchAllPlayersData::CCSUsrMsg_EndOfMatchAllPlayersData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.allplayerdata_)*/{} - , /*decltype(_impl_.scene_)*/0} {} -struct CCSUsrMsg_EndOfMatchAllPlayersDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_EndOfMatchAllPlayersDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_EndOfMatchAllPlayersDataDefaultTypeInternal() {} - union { - CCSUsrMsg_EndOfMatchAllPlayersData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_EndOfMatchAllPlayersDataDefaultTypeInternal _CCSUsrMsg_EndOfMatchAllPlayersData_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent_Victim::CCSUsrMsg_RoundEndReportData_RerEvent_Victim( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.team_number_)*/0 - , /*decltype(_impl_.color_)*/0 - , /*decltype(_impl_.xuid_)*/uint64_t{0u} - , /*decltype(_impl_.is_bot_)*/false - , /*decltype(_impl_.is_dead_)*/false - , /*decltype(_impl_.playerslot_)*/-1} {} -struct CCSUsrMsg_RoundEndReportData_RerEvent_VictimDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent_VictimDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_RoundEndReportData_RerEvent_VictimDefaultTypeInternal() {} - union { - CCSUsrMsg_RoundEndReportData_RerEvent_Victim _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RoundEndReportData_RerEvent_VictimDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_RerEvent_Victim_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent_Objective::CCSUsrMsg_RoundEndReportData_RerEvent_Objective( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.type_)*/0} {} -struct CCSUsrMsg_RoundEndReportData_RerEvent_ObjectiveDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent_ObjectiveDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_RoundEndReportData_RerEvent_ObjectiveDefaultTypeInternal() {} - union { - CCSUsrMsg_RoundEndReportData_RerEvent_Objective _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RoundEndReportData_RerEvent_ObjectiveDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_RerEvent_Objective_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent_Damage::CCSUsrMsg_RoundEndReportData_RerEvent_Damage( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.other_xuid_)*/uint64_t{0u} - , /*decltype(_impl_.health_removed_)*/0 - , /*decltype(_impl_.num_hits_)*/0 - , /*decltype(_impl_.return_health_removed_)*/0 - , /*decltype(_impl_.return_num_hits_)*/0 - , /*decltype(_impl_.other_playerslot_)*/-1} {} -struct CCSUsrMsg_RoundEndReportData_RerEvent_DamageDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent_DamageDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_RoundEndReportData_RerEvent_DamageDefaultTypeInternal() {} - union { - CCSUsrMsg_RoundEndReportData_RerEvent_Damage _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RoundEndReportData_RerEvent_DamageDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_RerEvent_Damage_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent::CCSUsrMsg_RoundEndReportData_RerEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.all_damage_data_)*/{} - , /*decltype(_impl_.victim_data_)*/nullptr - , /*decltype(_impl_.objective_data_)*/nullptr - , /*decltype(_impl_.timestamp_)*/0 - , /*decltype(_impl_.terrorist_odds_)*/0 - , /*decltype(_impl_.ct_alive_)*/0 - , /*decltype(_impl_.t_alive_)*/0} {} -struct CCSUsrMsg_RoundEndReportData_RerEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_RoundEndReportData_RerEventDefaultTypeInternal() {} - union { - CCSUsrMsg_RoundEndReportData_RerEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RoundEndReportData_RerEventDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_RerEvent_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_InitialConditions::CCSUsrMsg_RoundEndReportData_InitialConditions( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ct_equip_value_)*/0 - , /*decltype(_impl_.t_equip_value_)*/0 - , /*decltype(_impl_.terrorist_odds_)*/0} {} -struct CCSUsrMsg_RoundEndReportData_InitialConditionsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_InitialConditionsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_RoundEndReportData_InitialConditionsDefaultTypeInternal() {} - union { - CCSUsrMsg_RoundEndReportData_InitialConditions _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RoundEndReportData_InitialConditionsDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_InitialConditions_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData::CCSUsrMsg_RoundEndReportData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.all_rer_event_data_)*/{} - , /*decltype(_impl_.init_conditions_)*/nullptr} {} -struct CCSUsrMsg_RoundEndReportDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_RoundEndReportDataDefaultTypeInternal() {} - union { - CCSUsrMsg_RoundEndReportData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RoundEndReportDataDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_PostRoundDamageReport::CCSUsrMsg_PostRoundDamageReport( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.other_xuid_)*/uint64_t{0u} - , /*decltype(_impl_.given_kill_type_)*/0 - , /*decltype(_impl_.given_health_removed_)*/0 - , /*decltype(_impl_.given_num_hits_)*/0 - , /*decltype(_impl_.taken_kill_type_)*/0 - , /*decltype(_impl_.taken_health_removed_)*/0 - , /*decltype(_impl_.taken_num_hits_)*/0} {} -struct CCSUsrMsg_PostRoundDamageReportDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_PostRoundDamageReportDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_PostRoundDamageReportDefaultTypeInternal() {} - union { - CCSUsrMsg_PostRoundDamageReport _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_PostRoundDamageReportDefaultTypeInternal _CCSUsrMsg_PostRoundDamageReport_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_CurrentRoundOdds::CCSUsrMsg_CurrentRoundOdds( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.odds_)*/0} {} -struct CCSUsrMsg_CurrentRoundOddsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_CurrentRoundOddsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_CurrentRoundOddsDefaultTypeInternal() {} - union { - CCSUsrMsg_CurrentRoundOdds _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_CurrentRoundOddsDefaultTypeInternal _CCSUsrMsg_CurrentRoundOdds_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_DeepStats::CCSUsrMsg_DeepStats( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.stats_)*/nullptr} {} -struct CCSUsrMsg_DeepStatsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_DeepStatsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_DeepStatsDefaultTypeInternal() {} - union { - CCSUsrMsg_DeepStats _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_DeepStatsDefaultTypeInternal _CCSUsrMsg_DeepStats_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_ShootInfo::CCSUsrMsg_ShootInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.hitbox_transforms_)*/{} - , /*decltype(_impl_.shoot_pos_)*/nullptr - , /*decltype(_impl_.shoot_dir_)*/nullptr - , /*decltype(_impl_.frame_number_)*/0} {} -struct CCSUsrMsg_ShootInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_ShootInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_ShootInfoDefaultTypeInternal() {} - union { - CCSUsrMsg_ShootInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ShootInfoDefaultTypeInternal _CCSUsrMsg_ShootInfo_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_ResetHud::CCSUsrMsg_ResetHud( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.reset_)*/false} {} -struct CCSUsrMsg_ResetHudDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_ResetHudDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_ResetHudDefaultTypeInternal() {} - union { - CCSUsrMsg_ResetHud _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ResetHudDefaultTypeInternal _CCSUsrMsg_ResetHud_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_GameTitle::CCSUsrMsg_GameTitle( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.dummy_)*/0} {} -struct CCSUsrMsg_GameTitleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_GameTitleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_GameTitleDefaultTypeInternal() {} - union { - CCSUsrMsg_GameTitle _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_GameTitleDefaultTypeInternal _CCSUsrMsg_GameTitle_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_RequestState::CCSUsrMsg_RequestState( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.dummy_)*/0} {} -struct CCSUsrMsg_RequestStateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_RequestStateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_RequestStateDefaultTypeInternal() {} - union { - CCSUsrMsg_RequestState _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RequestStateDefaultTypeInternal _CCSUsrMsg_RequestState_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_StopSpectatorMode::CCSUsrMsg_StopSpectatorMode( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.dummy_)*/0} {} -struct CCSUsrMsg_StopSpectatorModeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_StopSpectatorModeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_StopSpectatorModeDefaultTypeInternal() {} - union { - CCSUsrMsg_StopSpectatorMode _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_StopSpectatorModeDefaultTypeInternal _CCSUsrMsg_StopSpectatorMode_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_DisconnectToLobby::CCSUsrMsg_DisconnectToLobby( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.dummy_)*/0} {} -struct CCSUsrMsg_DisconnectToLobbyDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_DisconnectToLobbyDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_DisconnectToLobbyDefaultTypeInternal() {} - union { - CCSUsrMsg_DisconnectToLobby _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_DisconnectToLobbyDefaultTypeInternal _CCSUsrMsg_DisconnectToLobby_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_ClientInfo::CCSUsrMsg_ClientInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.dummy_)*/0} {} -struct CCSUsrMsg_ClientInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_ClientInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_ClientInfoDefaultTypeInternal() {} - union { - CCSUsrMsg_ClientInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ClientInfoDefaultTypeInternal _CCSUsrMsg_ClientInfo_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_ServerRankRevealAll::CCSUsrMsg_ServerRankRevealAll( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.reservation_)*/nullptr - , /*decltype(_impl_.seconds_till_shutdown_)*/0} {} -struct CCSUsrMsg_ServerRankRevealAllDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_ServerRankRevealAllDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_ServerRankRevealAllDefaultTypeInternal() {} - union { - CCSUsrMsg_ServerRankRevealAll _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_ServerRankRevealAllDefaultTypeInternal _CCSUsrMsg_ServerRankRevealAll_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsgPreMatchSayText::CCSUsrMsgPreMatchSayText( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.all_chat_)*/false} {} -struct CCSUsrMsgPreMatchSayTextDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsgPreMatchSayTextDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsgPreMatchSayTextDefaultTypeInternal() {} - union { - CCSUsrMsgPreMatchSayText _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsgPreMatchSayTextDefaultTypeInternal _CCSUsrMsgPreMatchSayText_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_CounterStrafe::CCSUsrMsg_CounterStrafe( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.press_to_release_ns_)*/0 - , /*decltype(_impl_.total_keys_down_)*/0} {} -struct CCSUsrMsg_CounterStrafeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_CounterStrafeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_CounterStrafeDefaultTypeInternal() {} - union { - CCSUsrMsg_CounterStrafe _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_CounterStrafeDefaultTypeInternal _CCSUsrMsg_CounterStrafe_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_DamagePrediction::CCSUsrMsg_DamagePrediction( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.shoot_pos_)*/nullptr - , /*decltype(_impl_.shoot_dir_)*/nullptr - , /*decltype(_impl_.aim_punch_)*/nullptr - , /*decltype(_impl_.command_num_)*/0 - , /*decltype(_impl_.pellet_idx_)*/0 - , /*decltype(_impl_.victim_slot_)*/0 - , /*decltype(_impl_.victim_starting_health_)*/0 - , /*decltype(_impl_.victim_damage_)*/0} {} -struct CCSUsrMsg_DamagePredictionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_DamagePredictionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_DamagePredictionDefaultTypeInternal() {} - union { - CCSUsrMsg_DamagePrediction _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_DamagePredictionDefaultTypeInternal _CCSUsrMsg_DamagePrediction_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_RecurringMissionSchema::CCSUsrMsg_RecurringMissionSchema( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.mission_schema_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.period_)*/0u} {} -struct CCSUsrMsg_RecurringMissionSchemaDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_RecurringMissionSchemaDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_RecurringMissionSchemaDefaultTypeInternal() {} - union { - CCSUsrMsg_RecurringMissionSchema _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_RecurringMissionSchemaDefaultTypeInternal _CCSUsrMsg_RecurringMissionSchema_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerLoadout_LoadoutItem::CCSUsrMsg_SendPlayerLoadout_LoadoutItem( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.econ_item_)*/nullptr - , /*decltype(_impl_.team_)*/0 - , /*decltype(_impl_.slot_)*/0} {} -struct CCSUsrMsg_SendPlayerLoadout_LoadoutItemDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerLoadout_LoadoutItemDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_SendPlayerLoadout_LoadoutItemDefaultTypeInternal() {} - union { - CCSUsrMsg_SendPlayerLoadout_LoadoutItem _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SendPlayerLoadout_LoadoutItemDefaultTypeInternal _CCSUsrMsg_SendPlayerLoadout_LoadoutItem_default_instance_; -PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerLoadout::CCSUsrMsg_SendPlayerLoadout( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.loadout_)*/{} - , /*decltype(_impl_.playerslot_)*/-1} {} -struct CCSUsrMsg_SendPlayerLoadoutDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerLoadoutDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCSUsrMsg_SendPlayerLoadoutDefaultTypeInternal() {} - union { - CCSUsrMsg_SendPlayerLoadout _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCSUsrMsg_SendPlayerLoadoutDefaultTypeInternal _CCSUsrMsg_SendPlayerLoadout_default_instance_; -static ::_pb::Metadata file_level_metadata_cstrike15_5fusermessages_2eproto[89]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_cstrike15_5fusermessages_2eproto[2]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_cstrike15_5fusermessages_2eproto = nullptr; - -const uint32_t TableStruct_cstrike15_5fusermessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VGUIMenu_Keys, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VGUIMenu_Keys, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VGUIMenu_Keys, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VGUIMenu_Keys, _impl_.value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VGUIMenu, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VGUIMenu, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VGUIMenu, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VGUIMenu, _impl_.show_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VGUIMenu, _impl_.keys_), - 0, - 1, - ~0u, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Geiger, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Geiger, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Geiger, _impl_.range_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Train, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Train, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Train, _impl_.train_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudText, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudText, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudText, _impl_.text_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.channel_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.pos_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.clr1_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.clr2_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.effect_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.fade_in_time_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.fade_out_time_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.hold_time_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.fx_time_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HudMsg, _impl_.text_), - 4, - 1, - 2, - 3, - 5, - 6, - 7, - 8, - 9, - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Shake, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Shake, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Shake, _impl_.command_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Shake, _impl_.local_amplitude_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Shake, _impl_.frequency_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Shake, _impl_.duration_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Fade, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Fade, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Fade, _impl_.duration_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Fade, _impl_.hold_time_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Fade, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Fade, _impl_.clr_), - 1, - 2, - 3, - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Rumble, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Rumble, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Rumble, _impl_.index_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Rumble, _impl_.data_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Rumble, _impl_.flags_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaption, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaption, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaption, _impl_.hash_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaption, _impl_.duration_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaption, _impl_.from_player_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaption, _impl_.cctoken_), - 1, - 2, - 3, - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaptionDirect, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaptionDirect, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaptionDirect, _impl_.hash_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaptionDirect, _impl_.duration_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CloseCaptionDirect, _impl_.from_player_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendAudio, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendAudio, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendAudio, _impl_.radio_sound_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RawAudio, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RawAudio, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RawAudio, _impl_.pitch_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RawAudio, _impl_.entidx_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RawAudio, _impl_.duration_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RawAudio, _impl_.voice_filename_), - 1, - 3, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoiceMask_PlayerMask, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoiceMask_PlayerMask, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoiceMask_PlayerMask, _impl_.game_rules_mask_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoiceMask_PlayerMask, _impl_.ban_masks_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoiceMask, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoiceMask, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoiceMask, _impl_.player_masks_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoiceMask, _impl_.player_mod_enable_), - ~0u, - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Damage, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Damage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Damage, _impl_.amount_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Damage, _impl_.inflictor_world_pos_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_Damage, _impl_.victim_entindex_), - 1, - 0, - 2, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RadioText, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RadioText, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RadioText, _impl_.msg_dst_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RadioText, _impl_.client_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RadioText, _impl_.msg_name_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RadioText, _impl_.params_), - 1, - 2, - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HintText, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HintText, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_HintText, _impl_.message_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_KeyHintText, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_KeyHintText, _impl_.messages_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.entity_idx_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.class_id_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.origin_x_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.origin_y_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.origin_z_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.angle_y_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.defuser_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.player_has_defuser_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.player_has_c4_), - 8, - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate, _impl_.new_update_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ProcessSpottedEntityUpdate, _impl_.entity_updates_), - 0, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerItemDrops, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerItemDrops, _impl_.entity_updates_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerItemFound, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerItemFound, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerItemFound, _impl_.iteminfo_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerItemFound, _impl_.playerslot_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReloadEffect, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReloadEffect, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReloadEffect, _impl_.entidx_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReloadEffect, _impl_.actanim_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReloadEffect, _impl_.origin_x_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReloadEffect, _impl_.origin_y_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReloadEffect, _impl_.origin_z_), - 4, - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_WeaponSound, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_WeaponSound, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_WeaponSound, _impl_.entidx_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_WeaponSound, _impl_.origin_x_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_WeaponSound, _impl_.origin_y_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_WeaponSound, _impl_.origin_z_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_WeaponSound, _impl_.sound_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_WeaponSound, _impl_.game_timestamp_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_WeaponSound, _impl_.source_soundscapeid_), - 6, - 1, - 2, - 3, - 0, - 4, - 5, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_UpdateScreenHealthBar, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_UpdateScreenHealthBar, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_UpdateScreenHealthBar, _impl_.entidx_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_UpdateScreenHealthBar, _impl_.healthratio_old_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_UpdateScreenHealthBar, _impl_.healthratio_new_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_UpdateScreenHealthBar, _impl_.style_), - 3, - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EntityOutlineHighlight, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EntityOutlineHighlight, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EntityOutlineHighlight, _impl_.entidx_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EntityOutlineHighlight, _impl_.removehighlight_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AdjustMoney, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AdjustMoney, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AdjustMoney, _impl_.amount_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReportHit, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReportHit, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReportHit, _impl_.pos_x_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReportHit, _impl_.pos_y_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReportHit, _impl_.timestamp_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ReportHit, _impl_.pos_z_), - 0, - 1, - 3, - 2, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_KillCam, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_KillCam, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_KillCam, _impl_.obs_mode_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_KillCam, _impl_.first_target_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_KillCam, _impl_.second_target_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DesiredTimescale, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DesiredTimescale, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DesiredTimescale, _impl_.desired_timescale_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DesiredTimescale, _impl_.duration_realtime_sec_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DesiredTimescale, _impl_.interpolator_type_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DesiredTimescale, _impl_.start_blend_time_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CurrentTimescale, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CurrentTimescale, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CurrentTimescale, _impl_.cur_timescale_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AchievementEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AchievementEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AchievementEvent, _impl_.achievement_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AchievementEvent, _impl_.count_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AchievementEvent, _impl_.user_id_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MatchEndConditions, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MatchEndConditions, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MatchEndConditions, _impl_.fraglimit_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MatchEndConditions, _impl_.mp_maxrounds_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MatchEndConditions, _impl_.mp_winlimit_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MatchEndConditions, _impl_.mp_timelimit_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate_Stat, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate_Stat, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate_Stat, _impl_.idx_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate_Stat, _impl_.delta_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate, _impl_.version_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate, _impl_.stats_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate, _impl_.ehandle_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerStatsUpdate, _impl_.crc_), - 0, - ~0u, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_QuestProgress, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_QuestProgress, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_QuestProgress, _impl_.quest_id_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_QuestProgress, _impl_.normal_points_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_QuestProgress, _impl_.bonus_points_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_QuestProgress, _impl_.is_event_quest_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ScoreLeaderboardData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ScoreLeaderboardData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ScoreLeaderboardData, _impl_.data_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerDecalDigitalSignature, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerDecalDigitalSignature, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PlayerDecalDigitalSignature, _impl_.data_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XRankGet, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XRankGet, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XRankGet, _impl_.mode_idx_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XRankGet, _impl_.controller_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XRankUpd, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XRankUpd, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XRankUpd, _impl_.mode_idx_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XRankUpd, _impl_.controller_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XRankUpd, _impl_.ranking_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CallVoteFailed, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CallVoteFailed, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CallVoteFailed, _impl_.reason_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CallVoteFailed, _impl_.time_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _impl_.team_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _impl_.player_slot_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _impl_.vote_type_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _impl_.disp_str_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _impl_.details_str_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _impl_.other_team_str_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _impl_.is_yes_no_vote_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteStart, _impl_.player_slot_target_), - 3, - 6, - 4, - 0, - 1, - 2, - 5, - 7, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VotePass, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VotePass, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VotePass, _impl_.team_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VotePass, _impl_.vote_type_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VotePass, _impl_.disp_str_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VotePass, _impl_.details_str_), - 2, - 3, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteFailed, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteFailed, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteFailed, _impl_.team_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteFailed, _impl_.reason_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteSetup, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_VoteSetup, _impl_.potential_issues_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendLastKillerDamageToClient, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendLastKillerDamageToClient, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendLastKillerDamageToClient, _impl_.num_hits_given_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendLastKillerDamageToClient, _impl_.damage_given_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendLastKillerDamageToClient, _impl_.num_hits_taken_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendLastKillerDamageToClient, _impl_.damage_taken_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendLastKillerDamageToClient, _impl_.actual_damage_given_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendLastKillerDamageToClient, _impl_.actual_damage_taken_), - 0, - 1, - 2, - 3, - 4, - 5, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate_RankUpdate, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate_RankUpdate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate_RankUpdate, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate_RankUpdate, _impl_.rank_old_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate_RankUpdate, _impl_.rank_new_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate_RankUpdate, _impl_.num_wins_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate_RankUpdate, _impl_.rank_change_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate_RankUpdate, _impl_.rank_type_id_), - 0, - 1, - 2, - 3, - 4, - 5, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankUpdate, _impl_.rank_update_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XpUpdate, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XpUpdate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_XpUpdate, _impl_.data_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ItemPickup, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ItemPickup, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ItemPickup, _impl_.item_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShowMenu, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShowMenu, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShowMenu, _impl_.bits_valid_slots_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShowMenu, _impl_.display_time_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShowMenu, _impl_.menu_string_), - 1, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_BarTime, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_BarTime, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_BarTime, _impl_.time_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AmmoDenied, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AmmoDenied, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_AmmoDenied, _impl_.ammoidx_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MarkAchievement, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MarkAchievement, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MarkAchievement, _impl_.achievement_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MatchStatsUpdate, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MatchStatsUpdate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_MatchStatsUpdate, _impl_.update_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ItemDrop, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ItemDrop, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ItemDrop, _impl_.itemid_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ItemDrop, _impl_.death_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundBackupFilenames, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundBackupFilenames, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundBackupFilenames, _impl_.count_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundBackupFilenames, _impl_.index_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundBackupFilenames, _impl_.filename_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundBackupFilenames, _impl_.nicename_), - 2, - 3, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SSUI, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SSUI, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SSUI, _impl_.show_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SSUI, _impl_.start_time_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SSUI, _impl_.end_time_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Fact, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Fact, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Fact, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Fact, _impl_.display_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Fact, _impl_.value_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Fact, _impl_.interestingness_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Placement, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Placement, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Placement, _impl_.xuid_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Placement, _impl_.teamnumber_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Placement, _impl_.placement_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Damage, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Damage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Damage, _impl_.xuid_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Damage, _impl_.to_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Damage, _impl_.to_hits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Damage, _impl_.from_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats_Damage, _impl_.from_hits_), - 0, - 1, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats, _impl_.xuid_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats, _impl_.facts_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats, _impl_.users_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats, _impl_.damages_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SurvivalStats, _impl_.ticknumber_), - 0, - ~0u, - ~0u, - ~0u, - 1, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade, _impl_.eaccolade_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade, _impl_.value_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade, _impl_.position_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.slot_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.xuid_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.teamnumber_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.nomination_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.items_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.playercolor_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.isbot_), - 6, - 2, - 0, - 3, - 1, - ~0u, - 4, - 5, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData, _impl_.allplayerdata_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_EndOfMatchAllPlayersData, _impl_.scene_), - ~0u, - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _impl_.team_number_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _impl_.playerslot_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _impl_.xuid_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _impl_.color_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _impl_.is_bot_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _impl_.is_dead_), - 0, - 5, - 2, - 1, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Objective, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Objective, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Objective, _impl_.type_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _impl_.other_playerslot_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _impl_.other_xuid_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _impl_.health_removed_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _impl_.num_hits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _impl_.return_health_removed_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _impl_.return_num_hits_), - 5, - 0, - 1, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent, _impl_.timestamp_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent, _impl_.terrorist_odds_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent, _impl_.ct_alive_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent, _impl_.t_alive_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent, _impl_.victim_data_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent, _impl_.objective_data_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_RerEvent, _impl_.all_damage_data_), - 2, - 3, - 4, - 5, - 0, - 1, - ~0u, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_InitialConditions, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_InitialConditions, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_InitialConditions, _impl_.ct_equip_value_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_InitialConditions, _impl_.t_equip_value_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData_InitialConditions, _impl_.terrorist_odds_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData, _impl_.init_conditions_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RoundEndReportData, _impl_.all_rer_event_data_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PostRoundDamageReport, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PostRoundDamageReport, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PostRoundDamageReport, _impl_.other_xuid_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PostRoundDamageReport, _impl_.given_kill_type_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PostRoundDamageReport, _impl_.given_health_removed_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PostRoundDamageReport, _impl_.given_num_hits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PostRoundDamageReport, _impl_.taken_kill_type_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PostRoundDamageReport, _impl_.taken_health_removed_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_PostRoundDamageReport, _impl_.taken_num_hits_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CurrentRoundOdds, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CurrentRoundOdds, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CurrentRoundOdds, _impl_.odds_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DeepStats, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DeepStats, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DeepStats, _impl_.stats_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShootInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShootInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShootInfo, _impl_.frame_number_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShootInfo, _impl_.hitbox_transforms_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShootInfo, _impl_.shoot_pos_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ShootInfo, _impl_.shoot_dir_), - 2, - ~0u, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ResetHud, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ResetHud, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ResetHud, _impl_.reset_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_GameTitle, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_GameTitle, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_GameTitle, _impl_.dummy_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RequestState, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RequestState, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RequestState, _impl_.dummy_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_StopSpectatorMode, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_StopSpectatorMode, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_StopSpectatorMode, _impl_.dummy_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DisconnectToLobby, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DisconnectToLobby, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DisconnectToLobby, _impl_.dummy_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ClientInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ClientInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ClientInfo, _impl_.dummy_), - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankRevealAll, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankRevealAll, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankRevealAll, _impl_.seconds_till_shutdown_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_ServerRankRevealAll, _impl_.reservation_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsgPreMatchSayText, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsgPreMatchSayText, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsgPreMatchSayText, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsgPreMatchSayText, _impl_.text_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsgPreMatchSayText, _impl_.all_chat_), - 1, - 0, - 2, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CounterStrafe, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CounterStrafe, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CounterStrafe, _impl_.press_to_release_ns_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_CounterStrafe, _impl_.total_keys_down_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _impl_.command_num_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _impl_.pellet_idx_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _impl_.victim_slot_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _impl_.victim_starting_health_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _impl_.victim_damage_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _impl_.shoot_pos_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _impl_.shoot_dir_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_DamagePrediction, _impl_.aim_punch_), - 3, - 4, - 5, - 6, - 7, - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RecurringMissionSchema, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RecurringMissionSchema, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RecurringMissionSchema, _impl_.period_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_RecurringMissionSchema, _impl_.mission_schema_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerLoadout_LoadoutItem, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerLoadout_LoadoutItem, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerLoadout_LoadoutItem, _impl_.econ_item_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerLoadout_LoadoutItem, _impl_.team_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerLoadout_LoadoutItem, _impl_.slot_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerLoadout, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerLoadout, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerLoadout, _impl_.loadout_), - PROTOBUF_FIELD_OFFSET(::CCSUsrMsg_SendPlayerLoadout, _impl_.playerslot_), - ~0u, - 0, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 8, -1, sizeof(::CCSUsrMsg_VGUIMenu_Keys)}, - { 10, 19, -1, sizeof(::CCSUsrMsg_VGUIMenu)}, - { 22, 29, -1, sizeof(::CCSUsrMsg_Geiger)}, - { 30, 37, -1, sizeof(::CCSUsrMsg_Train)}, - { 38, 45, -1, sizeof(::CCSUsrMsg_HudText)}, - { 46, 62, -1, sizeof(::CCSUsrMsg_HudMsg)}, - { 72, 82, -1, sizeof(::CCSUsrMsg_Shake)}, - { 86, 96, -1, sizeof(::CCSUsrMsg_Fade)}, - { 100, 109, -1, sizeof(::CCSUsrMsg_Rumble)}, - { 112, 122, -1, sizeof(::CCSUsrMsg_CloseCaption)}, - { 126, 135, -1, sizeof(::CCSUsrMsg_CloseCaptionDirect)}, - { 138, 145, -1, sizeof(::CCSUsrMsg_SendAudio)}, - { 146, 156, -1, sizeof(::CCSUsrMsg_RawAudio)}, - { 160, 168, -1, sizeof(::CCSUsrMsg_VoiceMask_PlayerMask)}, - { 170, 178, -1, sizeof(::CCSUsrMsg_VoiceMask)}, - { 180, 189, -1, sizeof(::CCSUsrMsg_Damage)}, - { 192, 202, -1, sizeof(::CCSUsrMsg_RadioText)}, - { 206, 213, -1, sizeof(::CCSUsrMsg_HintText)}, - { 214, -1, -1, sizeof(::CCSUsrMsg_KeyHintText)}, - { 221, 236, -1, sizeof(::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate)}, - { 245, 253, -1, sizeof(::CCSUsrMsg_ProcessSpottedEntityUpdate)}, - { 255, -1, -1, sizeof(::CCSUsrMsg_SendPlayerItemDrops)}, - { 262, 270, -1, sizeof(::CCSUsrMsg_SendPlayerItemFound)}, - { 272, 283, -1, sizeof(::CCSUsrMsg_ReloadEffect)}, - { 288, 301, -1, sizeof(::CCSUsrMsg_WeaponSound)}, - { 308, 318, -1, sizeof(::CCSUsrMsg_UpdateScreenHealthBar)}, - { 322, 330, -1, sizeof(::CCSUsrMsg_EntityOutlineHighlight)}, - { 332, 339, -1, sizeof(::CCSUsrMsg_AdjustMoney)}, - { 340, 350, -1, sizeof(::CCSUsrMsg_ReportHit)}, - { 354, 363, -1, sizeof(::CCSUsrMsg_KillCam)}, - { 366, 376, -1, sizeof(::CCSUsrMsg_DesiredTimescale)}, - { 380, 387, -1, sizeof(::CCSUsrMsg_CurrentTimescale)}, - { 388, 397, -1, sizeof(::CCSUsrMsg_AchievementEvent)}, - { 400, 410, -1, sizeof(::CCSUsrMsg_MatchEndConditions)}, - { 414, 422, -1, sizeof(::CCSUsrMsg_PlayerStatsUpdate_Stat)}, - { 424, 434, -1, sizeof(::CCSUsrMsg_PlayerStatsUpdate)}, - { 438, 448, -1, sizeof(::CCSUsrMsg_QuestProgress)}, - { 452, 459, -1, sizeof(::CCSUsrMsg_ScoreLeaderboardData)}, - { 460, 467, -1, sizeof(::CCSUsrMsg_PlayerDecalDigitalSignature)}, - { 468, 476, -1, sizeof(::CCSUsrMsg_XRankGet)}, - { 478, 487, -1, sizeof(::CCSUsrMsg_XRankUpd)}, - { 490, 498, -1, sizeof(::CCSUsrMsg_CallVoteFailed)}, - { 500, 514, -1, sizeof(::CCSUsrMsg_VoteStart)}, - { 522, 532, -1, sizeof(::CCSUsrMsg_VotePass)}, - { 536, 544, -1, sizeof(::CCSUsrMsg_VoteFailed)}, - { 546, -1, -1, sizeof(::CCSUsrMsg_VoteSetup)}, - { 553, 565, -1, sizeof(::CCSUsrMsg_SendLastKillerDamageToClient)}, - { 571, 583, -1, sizeof(::CCSUsrMsg_ServerRankUpdate_RankUpdate)}, - { 589, -1, -1, sizeof(::CCSUsrMsg_ServerRankUpdate)}, - { 596, 603, -1, sizeof(::CCSUsrMsg_XpUpdate)}, - { 604, 611, -1, sizeof(::CCSUsrMsg_ItemPickup)}, - { 612, 621, -1, sizeof(::CCSUsrMsg_ShowMenu)}, - { 624, 631, -1, sizeof(::CCSUsrMsg_BarTime)}, - { 632, 639, -1, sizeof(::CCSUsrMsg_AmmoDenied)}, - { 640, 647, -1, sizeof(::CCSUsrMsg_MarkAchievement)}, - { 648, 655, -1, sizeof(::CCSUsrMsg_MatchStatsUpdate)}, - { 656, 664, -1, sizeof(::CCSUsrMsg_ItemDrop)}, - { 666, 676, -1, sizeof(::CCSUsrMsg_RoundBackupFilenames)}, - { 680, 689, -1, sizeof(::CCSUsrMsg_SSUI)}, - { 692, 702, -1, sizeof(::CCSUsrMsg_SurvivalStats_Fact)}, - { 706, 715, -1, sizeof(::CCSUsrMsg_SurvivalStats_Placement)}, - { 718, 729, -1, sizeof(::CCSUsrMsg_SurvivalStats_Damage)}, - { 734, 745, -1, sizeof(::CCSUsrMsg_SurvivalStats)}, - { 750, 759, -1, sizeof(::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade)}, - { 762, 776, -1, sizeof(::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData)}, - { 784, 792, -1, sizeof(::CCSUsrMsg_EndOfMatchAllPlayersData)}, - { 794, 806, -1, sizeof(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim)}, - { 812, 819, -1, sizeof(::CCSUsrMsg_RoundEndReportData_RerEvent_Objective)}, - { 820, 832, -1, sizeof(::CCSUsrMsg_RoundEndReportData_RerEvent_Damage)}, - { 838, 851, -1, sizeof(::CCSUsrMsg_RoundEndReportData_RerEvent)}, - { 858, 867, -1, sizeof(::CCSUsrMsg_RoundEndReportData_InitialConditions)}, - { 870, 878, -1, sizeof(::CCSUsrMsg_RoundEndReportData)}, - { 880, 893, -1, sizeof(::CCSUsrMsg_PostRoundDamageReport)}, - { 900, 907, -1, sizeof(::CCSUsrMsg_CurrentRoundOdds)}, - { 908, 915, -1, sizeof(::CCSUsrMsg_DeepStats)}, - { 916, 926, -1, sizeof(::CCSUsrMsg_ShootInfo)}, - { 930, 937, -1, sizeof(::CCSUsrMsg_ResetHud)}, - { 938, 945, -1, sizeof(::CCSUsrMsg_GameTitle)}, - { 946, 953, -1, sizeof(::CCSUsrMsg_RequestState)}, - { 954, 961, -1, sizeof(::CCSUsrMsg_StopSpectatorMode)}, - { 962, 969, -1, sizeof(::CCSUsrMsg_DisconnectToLobby)}, - { 970, 977, -1, sizeof(::CCSUsrMsg_ClientInfo)}, - { 978, 986, -1, sizeof(::CCSUsrMsg_ServerRankRevealAll)}, - { 988, 997, -1, sizeof(::CCSUsrMsgPreMatchSayText)}, - { 1000, 1008, -1, sizeof(::CCSUsrMsg_CounterStrafe)}, - { 1010, 1024, -1, sizeof(::CCSUsrMsg_DamagePrediction)}, - { 1032, 1040, -1, sizeof(::CCSUsrMsg_RecurringMissionSchema)}, - { 1042, 1051, -1, sizeof(::CCSUsrMsg_SendPlayerLoadout_LoadoutItem)}, - { 1054, 1062, -1, sizeof(::CCSUsrMsg_SendPlayerLoadout)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CCSUsrMsg_VGUIMenu_Keys_default_instance_._instance, - &::_CCSUsrMsg_VGUIMenu_default_instance_._instance, - &::_CCSUsrMsg_Geiger_default_instance_._instance, - &::_CCSUsrMsg_Train_default_instance_._instance, - &::_CCSUsrMsg_HudText_default_instance_._instance, - &::_CCSUsrMsg_HudMsg_default_instance_._instance, - &::_CCSUsrMsg_Shake_default_instance_._instance, - &::_CCSUsrMsg_Fade_default_instance_._instance, - &::_CCSUsrMsg_Rumble_default_instance_._instance, - &::_CCSUsrMsg_CloseCaption_default_instance_._instance, - &::_CCSUsrMsg_CloseCaptionDirect_default_instance_._instance, - &::_CCSUsrMsg_SendAudio_default_instance_._instance, - &::_CCSUsrMsg_RawAudio_default_instance_._instance, - &::_CCSUsrMsg_VoiceMask_PlayerMask_default_instance_._instance, - &::_CCSUsrMsg_VoiceMask_default_instance_._instance, - &::_CCSUsrMsg_Damage_default_instance_._instance, - &::_CCSUsrMsg_RadioText_default_instance_._instance, - &::_CCSUsrMsg_HintText_default_instance_._instance, - &::_CCSUsrMsg_KeyHintText_default_instance_._instance, - &::_CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_default_instance_._instance, - &::_CCSUsrMsg_ProcessSpottedEntityUpdate_default_instance_._instance, - &::_CCSUsrMsg_SendPlayerItemDrops_default_instance_._instance, - &::_CCSUsrMsg_SendPlayerItemFound_default_instance_._instance, - &::_CCSUsrMsg_ReloadEffect_default_instance_._instance, - &::_CCSUsrMsg_WeaponSound_default_instance_._instance, - &::_CCSUsrMsg_UpdateScreenHealthBar_default_instance_._instance, - &::_CCSUsrMsg_EntityOutlineHighlight_default_instance_._instance, - &::_CCSUsrMsg_AdjustMoney_default_instance_._instance, - &::_CCSUsrMsg_ReportHit_default_instance_._instance, - &::_CCSUsrMsg_KillCam_default_instance_._instance, - &::_CCSUsrMsg_DesiredTimescale_default_instance_._instance, - &::_CCSUsrMsg_CurrentTimescale_default_instance_._instance, - &::_CCSUsrMsg_AchievementEvent_default_instance_._instance, - &::_CCSUsrMsg_MatchEndConditions_default_instance_._instance, - &::_CCSUsrMsg_PlayerStatsUpdate_Stat_default_instance_._instance, - &::_CCSUsrMsg_PlayerStatsUpdate_default_instance_._instance, - &::_CCSUsrMsg_QuestProgress_default_instance_._instance, - &::_CCSUsrMsg_ScoreLeaderboardData_default_instance_._instance, - &::_CCSUsrMsg_PlayerDecalDigitalSignature_default_instance_._instance, - &::_CCSUsrMsg_XRankGet_default_instance_._instance, - &::_CCSUsrMsg_XRankUpd_default_instance_._instance, - &::_CCSUsrMsg_CallVoteFailed_default_instance_._instance, - &::_CCSUsrMsg_VoteStart_default_instance_._instance, - &::_CCSUsrMsg_VotePass_default_instance_._instance, - &::_CCSUsrMsg_VoteFailed_default_instance_._instance, - &::_CCSUsrMsg_VoteSetup_default_instance_._instance, - &::_CCSUsrMsg_SendLastKillerDamageToClient_default_instance_._instance, - &::_CCSUsrMsg_ServerRankUpdate_RankUpdate_default_instance_._instance, - &::_CCSUsrMsg_ServerRankUpdate_default_instance_._instance, - &::_CCSUsrMsg_XpUpdate_default_instance_._instance, - &::_CCSUsrMsg_ItemPickup_default_instance_._instance, - &::_CCSUsrMsg_ShowMenu_default_instance_._instance, - &::_CCSUsrMsg_BarTime_default_instance_._instance, - &::_CCSUsrMsg_AmmoDenied_default_instance_._instance, - &::_CCSUsrMsg_MarkAchievement_default_instance_._instance, - &::_CCSUsrMsg_MatchStatsUpdate_default_instance_._instance, - &::_CCSUsrMsg_ItemDrop_default_instance_._instance, - &::_CCSUsrMsg_RoundBackupFilenames_default_instance_._instance, - &::_CCSUsrMsg_SSUI_default_instance_._instance, - &::_CCSUsrMsg_SurvivalStats_Fact_default_instance_._instance, - &::_CCSUsrMsg_SurvivalStats_Placement_default_instance_._instance, - &::_CCSUsrMsg_SurvivalStats_Damage_default_instance_._instance, - &::_CCSUsrMsg_SurvivalStats_default_instance_._instance, - &::_CCSUsrMsg_EndOfMatchAllPlayersData_Accolade_default_instance_._instance, - &::_CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData_default_instance_._instance, - &::_CCSUsrMsg_EndOfMatchAllPlayersData_default_instance_._instance, - &::_CCSUsrMsg_RoundEndReportData_RerEvent_Victim_default_instance_._instance, - &::_CCSUsrMsg_RoundEndReportData_RerEvent_Objective_default_instance_._instance, - &::_CCSUsrMsg_RoundEndReportData_RerEvent_Damage_default_instance_._instance, - &::_CCSUsrMsg_RoundEndReportData_RerEvent_default_instance_._instance, - &::_CCSUsrMsg_RoundEndReportData_InitialConditions_default_instance_._instance, - &::_CCSUsrMsg_RoundEndReportData_default_instance_._instance, - &::_CCSUsrMsg_PostRoundDamageReport_default_instance_._instance, - &::_CCSUsrMsg_CurrentRoundOdds_default_instance_._instance, - &::_CCSUsrMsg_DeepStats_default_instance_._instance, - &::_CCSUsrMsg_ShootInfo_default_instance_._instance, - &::_CCSUsrMsg_ResetHud_default_instance_._instance, - &::_CCSUsrMsg_GameTitle_default_instance_._instance, - &::_CCSUsrMsg_RequestState_default_instance_._instance, - &::_CCSUsrMsg_StopSpectatorMode_default_instance_._instance, - &::_CCSUsrMsg_DisconnectToLobby_default_instance_._instance, - &::_CCSUsrMsg_ClientInfo_default_instance_._instance, - &::_CCSUsrMsg_ServerRankRevealAll_default_instance_._instance, - &::_CCSUsrMsgPreMatchSayText_default_instance_._instance, - &::_CCSUsrMsg_CounterStrafe_default_instance_._instance, - &::_CCSUsrMsg_DamagePrediction_default_instance_._instance, - &::_CCSUsrMsg_RecurringMissionSchema_default_instance_._instance, - &::_CCSUsrMsg_SendPlayerLoadout_LoadoutItem_default_instance_._instance, - &::_CCSUsrMsg_SendPlayerLoadout_default_instance_._instance, -}; - -const char descriptor_table_protodef_cstrike15_5fusermessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\034cstrike15_usermessages.proto\032\026networkb" - "asetypes.proto\032\032cstrike15_gcmessages.pro" - "to\"}\n\022CCSUsrMsg_VGUIMenu\022\014\n\004name\030\001 \001(\t\022\014" - "\n\004show\030\002 \001(\010\022&\n\004keys\030\003 \003(\0132\030.CCSUsrMsg_V" - "GUIMenu.Keys\032#\n\004Keys\022\014\n\004name\030\001 \001(\t\022\r\n\005va" - "lue\030\002 \001(\t\"!\n\020CCSUsrMsg_Geiger\022\r\n\005range\030\001" - " \001(\005\" \n\017CCSUsrMsg_Train\022\r\n\005train\030\001 \001(\005\"!" - "\n\021CCSUsrMsg_HudText\022\014\n\004text\030\001 \001(\t\"\340\001\n\020CC" - "SUsrMsg_HudMsg\022\017\n\007channel\030\001 \001(\005\022\032\n\003pos\030\002" - " \001(\0132\r.CMsgVector2D\022\027\n\004clr1\030\003 \001(\0132\t.CMsg" - "RGBA\022\027\n\004clr2\030\004 \001(\0132\t.CMsgRGBA\022\016\n\006effect\030" - "\005 \001(\005\022\024\n\014fade_in_time\030\006 \001(\002\022\025\n\rfade_out_" - "time\030\007 \001(\002\022\021\n\thold_time\030\t \001(\002\022\017\n\007fx_time" - "\030\n \001(\002\022\014\n\004text\030\013 \001(\t\"`\n\017CCSUsrMsg_Shake\022" - "\017\n\007command\030\001 \001(\005\022\027\n\017local_amplitude\030\002 \001(" - "\002\022\021\n\tfrequency\030\003 \001(\002\022\020\n\010duration\030\004 \001(\002\"\\" - "\n\016CCSUsrMsg_Fade\022\020\n\010duration\030\001 \001(\005\022\021\n\tho" - "ld_time\030\002 \001(\005\022\r\n\005flags\030\003 \001(\005\022\026\n\003clr\030\004 \001(" - "\0132\t.CMsgRGBA\">\n\020CCSUsrMsg_Rumble\022\r\n\005inde" - "x\030\001 \001(\005\022\014\n\004data\030\002 \001(\005\022\r\n\005flags\030\003 \001(\005\"^\n\026" - "CCSUsrMsg_CloseCaption\022\014\n\004hash\030\001 \001(\r\022\020\n\010" - "duration\030\002 \001(\005\022\023\n\013from_player\030\003 \001(\010\022\017\n\007c" - "ctoken\030\004 \001(\t\"S\n\034CCSUsrMsg_CloseCaptionDi" - "rect\022\014\n\004hash\030\001 \001(\r\022\020\n\010duration\030\002 \001(\005\022\023\n\013" - "from_player\030\003 \001(\010\"*\n\023CCSUsrMsg_SendAudio" - "\022\023\n\013radio_sound\030\001 \001(\t\"a\n\022CCSUsrMsg_RawAu" - "dio\022\r\n\005pitch\030\001 \001(\005\022\022\n\006entidx\030\002 \001(\005:\002-1\022\020" - "\n\010duration\030\003 \001(\002\022\026\n\016voice_filename\030\004 \001(\t" - "\"\241\001\n\023CCSUsrMsg_VoiceMask\0225\n\014player_masks" - "\030\001 \003(\0132\037.CCSUsrMsg_VoiceMask.PlayerMask\022" - "\031\n\021player_mod_enable\030\002 \001(\010\0328\n\nPlayerMask" - "\022\027\n\017game_rules_mask\030\001 \001(\005\022\021\n\tban_masks\030\002" - " \001(\005\"i\n\020CCSUsrMsg_Damage\022\016\n\006amount\030\001 \001(\005" - "\022(\n\023inflictor_world_pos\030\002 \001(\0132\013.CMsgVect" - "or\022\033\n\017victim_entindex\030\003 \001(\005:\002-1\"\\\n\023CCSUs" - "rMsg_RadioText\022\017\n\007msg_dst\030\001 \001(\005\022\022\n\006clien" - "t\030\002 \001(\005:\002-1\022\020\n\010msg_name\030\003 \001(\t\022\016\n\006params\030" - "\004 \003(\t\"%\n\022CCSUsrMsg_HintText\022\017\n\007message\030\001" - " \001(\t\")\n\025CCSUsrMsg_KeyHintText\022\020\n\010message" - "s\030\001 \003(\t\"\332\002\n$CCSUsrMsg_ProcessSpottedEnti" - "tyUpdate\022\022\n\nnew_update\030\001 \001(\010\022Q\n\016entity_u" - "pdates\030\002 \003(\01329.CCSUsrMsg_ProcessSpottedE" - "ntityUpdate.SpottedEntityUpdate\032\312\001\n\023Spot" - "tedEntityUpdate\022\026\n\nentity_idx\030\001 \001(\005:\002-1\022" - "\020\n\010class_id\030\002 \001(\005\022\020\n\010origin_x\030\003 \001(\005\022\020\n\010o" - "rigin_y\030\004 \001(\005\022\020\n\010origin_z\030\005 \001(\005\022\017\n\007angle" - "_y\030\006 \001(\005\022\017\n\007defuser\030\007 \001(\010\022\032\n\022player_has_" - "defuser\030\010 \001(\010\022\025\n\rplayer_has_c4\030\t \001(\010\"S\n\035" - "CCSUsrMsg_SendPlayerItemDrops\0222\n\016entity_" - "updates\030\001 \003(\0132\032.CEconItemPreviewDataBloc" - "k\"e\n\035CCSUsrMsg_SendPlayerItemFound\022,\n\010it" - "eminfo\030\001 \001(\0132\032.CEconItemPreviewDataBlock" - "\022\026\n\nplayerslot\030\002 \001(\005:\002-1\"s\n\026CCSUsrMsg_Re" - "loadEffect\022\022\n\006entidx\030\001 \001(\005:\002-1\022\017\n\007actani" - "m\030\002 \001(\005\022\020\n\010origin_x\030\003 \001(\002\022\020\n\010origin_y\030\004 " - "\001(\002\022\020\n\010origin_z\030\005 \001(\002\"\245\001\n\025CCSUsrMsg_Weap" - "onSound\022\022\n\006entidx\030\001 \001(\005:\002-1\022\020\n\010origin_x\030" - "\002 \001(\002\022\020\n\010origin_y\030\003 \001(\002\022\020\n\010origin_z\030\004 \001(" - "\002\022\r\n\005sound\030\005 \001(\t\022\026\n\016game_timestamp\030\006 \001(\002" - "\022\033\n\023source_soundscapeid\030\007 \001(\007\"v\n\037CCSUsrM" - "sg_UpdateScreenHealthBar\022\022\n\006entidx\030\001 \001(\005" - ":\002-1\022\027\n\017healthratio_old\030\002 \001(\002\022\027\n\017healthr" - "atio_new\030\003 \001(\002\022\r\n\005style\030\004 \001(\005\"O\n CCSUsrM" - "sg_EntityOutlineHighlight\022\022\n\006entidx\030\001 \001(" - "\005:\002-1\022\027\n\017removehighlight\030\002 \001(\010\"\'\n\025CCSUsr" - "Msg_AdjustMoney\022\016\n\006amount\030\001 \001(\005\"U\n\023CCSUs" - "rMsg_ReportHit\022\r\n\005pos_x\030\001 \001(\002\022\r\n\005pos_y\030\002" - " \001(\002\022\021\n\ttimestamp\030\004 \001(\002\022\r\n\005pos_z\030\003 \001(\002\"Z" - "\n\021CCSUsrMsg_KillCam\022\020\n\010obs_mode\030\001 \001(\005\022\030\n" - "\014first_target\030\002 \001(\005:\002-1\022\031\n\rsecond_target" - "\030\003 \001(\005:\002-1\"\213\001\n\032CCSUsrMsg_DesiredTimescal" - "e\022\031\n\021desired_timescale\030\001 \001(\002\022\035\n\025duration" - "_realtime_sec\030\002 \001(\002\022\031\n\021interpolator_type" - "\030\003 \001(\005\022\030\n\020start_blend_time\030\004 \001(\002\"3\n\032CCSU" - "srMsg_CurrentTimescale\022\025\n\rcur_timescale\030" - "\001 \001(\002\"Q\n\032CCSUsrMsg_AchievementEvent\022\023\n\013a" - "chievement\030\001 \001(\005\022\r\n\005count\030\002 \001(\005\022\017\n\007user_" - "id\030\003 \001(\005\"r\n\034CCSUsrMsg_MatchEndConditions" - "\022\021\n\tfraglimit\030\001 \001(\005\022\024\n\014mp_maxrounds\030\002 \001(" - "\005\022\023\n\013mp_winlimit\030\003 \001(\005\022\024\n\014mp_timelimit\030\004" - " \001(\002\"\242\001\n\033CCSUsrMsg_PlayerStatsUpdate\022\017\n\007" - "version\030\001 \001(\005\0220\n\005stats\030\004 \003(\0132!.CCSUsrMsg" - "_PlayerStatsUpdate.Stat\022\017\n\007ehandle\030\005 \001(\r" - "\022\013\n\003crc\030\006 \001(\005\032\"\n\004Stat\022\013\n\003idx\030\001 \001(\005\022\r\n\005de" - "lta\030\002 \001(\005\"p\n\027CCSUsrMsg_QuestProgress\022\020\n\010" - "quest_id\030\001 \001(\r\022\025\n\rnormal_points\030\002 \001(\r\022\024\n" - "\014bonus_points\030\003 \001(\r\022\026\n\016is_event_quest\030\004 " - "\001(\010\"E\n\036CCSUsrMsg_ScoreLeaderboardData\022#\n" - "\004data\030\001 \001(\0132\025.ScoreLeaderboardData\"S\n%CC" - "SUsrMsg_PlayerDecalDigitalSignature\022*\n\004d" - "ata\030\001 \001(\0132\034.PlayerDecalDigitalSignature\"" - ":\n\022CCSUsrMsg_XRankGet\022\020\n\010mode_idx\030\001 \001(\005\022" - "\022\n\ncontroller\030\002 \001(\005\"K\n\022CCSUsrMsg_XRankUp" - "d\022\020\n\010mode_idx\030\001 \001(\005\022\022\n\ncontroller\030\002 \001(\005\022" - "\017\n\007ranking\030\003 \001(\005\"8\n\030CCSUsrMsg_CallVoteFa" - "iled\022\016\n\006reason\030\001 \001(\005\022\014\n\004time\030\002 \001(\005\"\306\001\n\023C" - "CSUsrMsg_VoteStart\022\014\n\004team\030\001 \001(\005\022\027\n\013play" - "er_slot\030\002 \001(\005:\002-1\022\021\n\tvote_type\030\003 \001(\005\022\020\n\010" - "disp_str\030\004 \001(\t\022\023\n\013details_str\030\005 \001(\t\022\026\n\016o" - "ther_team_str\030\006 \001(\t\022\026\n\016is_yes_no_vote\030\007 " - "\001(\010\022\036\n\022player_slot_target\030\010 \001(\005:\002-1\"\\\n\022C" - "CSUsrMsg_VotePass\022\014\n\004team\030\001 \001(\005\022\021\n\tvote_" - "type\030\002 \001(\005\022\020\n\010disp_str\030\003 \001(\t\022\023\n\013details_" - "str\030\004 \001(\t\"4\n\024CCSUsrMsg_VoteFailed\022\014\n\004tea" - "m\030\001 \001(\005\022\016\n\006reason\030\002 \001(\005\"/\n\023CCSUsrMsg_Vot" - "eSetup\022\030\n\020potential_issues\030\001 \003(\t\"\276\001\n&CCS" - "UsrMsg_SendLastKillerDamageToClient\022\026\n\016n" - "um_hits_given\030\001 \001(\005\022\024\n\014damage_given\030\002 \001(" - "\005\022\026\n\016num_hits_taken\030\003 \001(\005\022\024\n\014damage_take" - "n\030\004 \001(\005\022\033\n\023actual_damage_given\030\005 \001(\005\022\033\n\023" - "actual_damage_taken\030\006 \001(\005\"\335\001\n\032CCSUsrMsg_" - "ServerRankUpdate\022;\n\013rank_update\030\001 \003(\0132&." - "CCSUsrMsg_ServerRankUpdate.RankUpdate\032\201\001" - "\n\nRankUpdate\022\022\n\naccount_id\030\001 \001(\005\022\020\n\010rank" - "_old\030\002 \001(\005\022\020\n\010rank_new\030\003 \001(\005\022\020\n\010num_wins" - "\030\004 \001(\005\022\023\n\013rank_change\030\005 \001(\002\022\024\n\014rank_type" - "_id\030\006 \001(\005\"Q\n\022CCSUsrMsg_XpUpdate\022;\n\004data\030" - "\001 \001(\0132-.CMsgGCCstrike15_v2_GC2ServerNoti" - "fyXPRewarded\"$\n\024CCSUsrMsg_ItemPickup\022\014\n\004" - "item\030\001 \001(\t\"Y\n\022CCSUsrMsg_ShowMenu\022\030\n\020bits" - "_valid_slots\030\001 \001(\005\022\024\n\014display_time\030\002 \001(\005" - "\022\023\n\013menu_string\030\003 \001(\t\"!\n\021CCSUsrMsg_BarTi" - "me\022\014\n\004time\030\001 \001(\t\"\'\n\024CCSUsrMsg_AmmoDenied" - "\022\017\n\007ammoidx\030\001 \001(\005\"0\n\031CCSUsrMsg_MarkAchie" - "vement\022\023\n\013achievement\030\001 \001(\t\",\n\032CCSUsrMsg" - "_MatchStatsUpdate\022\016\n\006update\030\001 \001(\t\"3\n\022CCS" - "UsrMsg_ItemDrop\022\016\n\006itemid\030\001 \001(\003\022\r\n\005death" - "\030\002 \001(\010\"b\n\036CCSUsrMsg_RoundBackupFilenames" - "\022\r\n\005count\030\001 \001(\005\022\r\n\005index\030\002 \001(\005\022\020\n\010filena" - "me\030\003 \001(\t\022\020\n\010nicename\030\004 \001(\t\"D\n\016CCSUsrMsg_" - "SSUI\022\014\n\004show\030\001 \001(\010\022\022\n\nstart_time\030\002 \001(\002\022\020" - "\n\010end_time\030\003 \001(\002\"\265\003\n\027CCSUsrMsg_SurvivalS" - "tats\022\014\n\004xuid\030\001 \001(\004\022,\n\005facts\030\002 \003(\0132\035.CCSU" - "srMsg_SurvivalStats.Fact\0221\n\005users\030\003 \003(\0132" - "\".CCSUsrMsg_SurvivalStats.Placement\0220\n\007d" - "amages\030\005 \003(\0132\037.CCSUsrMsg_SurvivalStats.D" - "amage\022\022\n\nticknumber\030\004 \001(\005\032M\n\004Fact\022\014\n\004typ" - "e\030\001 \001(\005\022\017\n\007display\030\002 \001(\005\022\r\n\005value\030\003 \001(\005\022" - "\027\n\017interestingness\030\004 \001(\002\032@\n\tPlacement\022\014\n" - "\004xuid\030\001 \001(\004\022\022\n\nteamnumber\030\002 \001(\005\022\021\n\tplace" - "ment\030\003 \001(\005\032T\n\006Damage\022\014\n\004xuid\030\001 \001(\004\022\n\n\002to" - "\030\002 \001(\005\022\017\n\007to_hits\030\003 \001(\005\022\014\n\004from\030\004 \001(\005\022\021\n" - "\tfrom_hits\030\005 \001(\005\"\234\003\n\"CCSUsrMsg_EndOfMatc" - "hAllPlayersData\022E\n\rallplayerdata\030\001 \003(\0132." - ".CCSUsrMsg_EndOfMatchAllPlayersData.Play" - "erData\022\r\n\005scene\030\002 \001(\005\032>\n\010Accolade\022\021\n\teac" - "colade\030\001 \001(\005\022\r\n\005value\030\002 \001(\002\022\020\n\010position\030" - "\003 \001(\005\032\337\001\n\nPlayerData\022\020\n\004slot\030\001 \001(\005:\002-1\022\014" - "\n\004xuid\030\002 \001(\004\022\014\n\004name\030\003 \001(\t\022\022\n\nteamnumber" - "\030\004 \001(\005\022@\n\nnomination\030\005 \001(\0132,.CCSUsrMsg_E" - "ndOfMatchAllPlayersData.Accolade\022)\n\005item" - "s\030\006 \003(\0132\032.CEconItemPreviewDataBlock\022\023\n\013p" - "layercolor\030\007 \001(\005\022\r\n\005isbot\030\010 \001(\010\"\350\006\n\034CCSU" - "srMsg_RoundEndReportData\022H\n\017init_conditi" - "ons\030\001 \001(\0132/.CCSUsrMsg_RoundEndReportData" - ".InitialConditions\022B\n\022all_rer_event_data" - "\030\002 \003(\0132&.CCSUsrMsg_RoundEndReportData.Re" - "rEvent\032\335\004\n\010RerEvent\022\021\n\ttimestamp\030\001 \001(\002\022\026" - "\n\016terrorist_odds\030\002 \001(\005\022\020\n\010ct_alive\030\003 \001(\005" - "\022\017\n\007t_alive\030\004 \001(\005\022B\n\013victim_data\030\005 \001(\0132-" - ".CCSUsrMsg_RoundEndReportData.RerEvent.V" - "ictim\022H\n\016objective_data\030\006 \001(\01320.CCSUsrMs" - "g_RoundEndReportData.RerEvent.Objective\022" - "F\n\017all_damage_data\030\007 \003(\0132-.CCSUsrMsg_Rou" - "ndEndReportData.RerEvent.Damage\032s\n\006Victi" - "m\022\023\n\013team_number\030\001 \001(\005\022\026\n\nplayerslot\030\002 \001" - "(\005:\002-1\022\014\n\004xuid\030\003 \001(\004\022\r\n\005color\030\004 \001(\005\022\016\n\006i" - "s_bot\030\005 \001(\010\022\017\n\007is_dead\030\006 \001(\010\032\031\n\tObjectiv" - "e\022\014\n\004type\030\001 \001(\005\032\234\001\n\006Damage\022\034\n\020other_play" - "erslot\030\001 \001(\005:\002-1\022\022\n\nother_xuid\030\002 \001(\004\022\026\n\016" - "health_removed\030\003 \001(\005\022\020\n\010num_hits\030\004 \001(\005\022\035" - "\n\025return_health_removed\030\005 \001(\005\022\027\n\017return_" - "num_hits\030\006 \001(\005\032Z\n\021InitialConditions\022\026\n\016c" - "t_equip_value\030\001 \001(\005\022\025\n\rt_equip_value\030\002 \001" - "(\005\022\026\n\016terrorist_odds\030\003 \001(\005\"\323\001\n\037CCSUsrMsg" - "_PostRoundDamageReport\022\022\n\nother_xuid\030\001 \001" - "(\004\022\027\n\017given_kill_type\030\002 \001(\005\022\034\n\024given_hea" - "lth_removed\030\003 \001(\005\022\026\n\016given_num_hits\030\004 \001(" - "\005\022\027\n\017taken_kill_type\030\005 \001(\005\022\034\n\024taken_heal" - "th_removed\030\006 \001(\005\022\026\n\016taken_num_hits\030\007 \001(\005" - "\"*\n\032CCSUsrMsg_CurrentRoundOdds\022\014\n\004odds\030\001" - " \001(\005\"F\n\023CCSUsrMsg_DeepStats\022/\n\005stats\030\001 \001" - "(\0132 .CMsgGCCStrike15_ClientDeepStats\"\226\001\n" - "\023CCSUsrMsg_ShootInfo\022\024\n\014frame_number\030\001 \001" - "(\005\022)\n\021hitbox_transforms\030\002 \003(\0132\016.CMsgTran" - "sform\022\036\n\tshoot_pos\030\003 \001(\0132\013.CMsgVector\022\036\n" - "\tshoot_dir\030\004 \001(\0132\013.CMsgQAngle\"#\n\022CCSUsrM" - "sg_ResetHud\022\r\n\005reset\030\001 \001(\010\"$\n\023CCSUsrMsg_" - "GameTitle\022\r\n\005dummy\030\001 \001(\005\"\'\n\026CCSUsrMsg_Re" - "questState\022\r\n\005dummy\030\001 \001(\005\",\n\033CCSUsrMsg_S" - "topSpectatorMode\022\r\n\005dummy\030\001 \001(\005\",\n\033CCSUs" - "rMsg_DisconnectToLobby\022\r\n\005dummy\030\001 \001(\005\"%\n" - "\024CCSUsrMsg_ClientInfo\022\r\n\005dummy\030\001 \001(\005\"\204\001\n" - "\035CCSUsrMsg_ServerRankRevealAll\022\035\n\025second" - "s_till_shutdown\030\001 \001(\005\022D\n\013reservation\030\002 \001" - "(\0132/.CMsgGCCStrike15_v2_MatchmakingGC2Se" - "rverReserve\"N\n\030CCSUsrMsgPreMatchSayText\022" - "\022\n\naccount_id\030\001 \001(\r\022\014\n\004text\030\002 \001(\t\022\020\n\010all" - "_chat\030\003 \001(\010\"O\n\027CCSUsrMsg_CounterStrafe\022\033" - "\n\023press_to_release_ns\030\001 \001(\005\022\027\n\017total_key" - "s_down\030\002 \001(\005\"\361\001\n\032CCSUsrMsg_DamagePredict" - "ion\022\023\n\013command_num\030\001 \001(\005\022\022\n\npellet_idx\030\002" - " \001(\005\022\023\n\013victim_slot\030\003 \001(\005\022\036\n\026victim_star" - "ting_health\030\004 \001(\005\022\025\n\rvictim_damage\030\005 \001(\005" - "\022\036\n\tshoot_pos\030\006 \001(\0132\013.CMsgVector\022\036\n\tshoo" - "t_dir\030\007 \001(\0132\013.CMsgQAngle\022\036\n\taim_punch\030\010 " - "\001(\0132\013.CMsgQAngle\"J\n CCSUsrMsg_RecurringM" - "issionSchema\022\016\n\006period\030\001 \001(\r\022\026\n\016mission_" - "schema\030\002 \001(\014\"\312\001\n\033CCSUsrMsg_SendPlayerLoa" - "dout\0229\n\007loadout\030\001 \003(\0132(.CCSUsrMsg_SendPl" - "ayerLoadout.LoadoutItem\022\026\n\nplayerslot\030\002 " - "\001(\005:\002-1\032X\n\013LoadoutItem\022-\n\tecon_item\030\001 \001(" - "\0132\032.CEconItemPreviewDataBlock\022\014\n\004team\030\002 " - "\001(\005\022\014\n\004slot\030\003 \001(\005*\323\017\n\026ECstrike15UserMess" - "ages\022\023\n\016CS_UM_VGUIMenu\020\255\002\022\021\n\014CS_UM_Geige" - "r\020\256\002\022\020\n\013CS_UM_Train\020\257\002\022\022\n\rCS_UM_HudText\020" - "\260\002\022\022\n\rCS_UM_SayText\020\261\002\022\023\n\016CS_UM_SayText2" - "\020\262\002\022\022\n\rCS_UM_TextMsg\020\263\002\022\021\n\014CS_UM_HudMsg\020" - "\264\002\022\023\n\016CS_UM_ResetHud\020\265\002\022\024\n\017CS_UM_GameTit" - "le\020\266\002\022\020\n\013CS_UM_Shake\020\270\002\022\017\n\nCS_UM_Fade\020\271\002" - "\022\021\n\014CS_UM_Rumble\020\272\002\022\027\n\022CS_UM_CloseCaptio" - "n\020\273\002\022\035\n\030CS_UM_CloseCaptionDirect\020\274\002\022\024\n\017C" - "S_UM_SendAudio\020\275\002\022\023\n\016CS_UM_RawAudio\020\276\002\022\024" - "\n\017CS_UM_VoiceMask\020\277\002\022\027\n\022CS_UM_RequestSta" - "te\020\300\002\022\021\n\014CS_UM_Damage\020\301\002\022\024\n\017CS_UM_RadioT" - "ext\020\302\002\022\023\n\016CS_UM_HintText\020\303\002\022\026\n\021CS_UM_Key" - "HintText\020\304\002\022%\n CS_UM_ProcessSpottedEntit" - "yUpdate\020\305\002\022\027\n\022CS_UM_ReloadEffect\020\306\002\022\026\n\021C" - "S_UM_AdjustMoney\020\307\002\022\032\n\025CS_UM_UpdateTeamM" - "oney\020\310\002\022\034\n\027CS_UM_StopSpectatorMode\020\311\002\022\022\n" - "\rCS_UM_KillCam\020\312\002\022\033\n\026CS_UM_DesiredTimesc" - "ale\020\313\002\022\033\n\026CS_UM_CurrentTimescale\020\314\002\022\033\n\026C" - "S_UM_AchievementEvent\020\315\002\022\035\n\030CS_UM_MatchE" - "ndConditions\020\316\002\022\034\n\027CS_UM_DisconnectToLob" - "by\020\317\002\022\034\n\027CS_UM_PlayerStatsUpdate\020\320\002\022\025\n\020C" - "S_UM_ClientInfo\020\323\002\022\023\n\016CS_UM_XRankGet\020\324\002\022" - "\023\n\016CS_UM_XRankUpd\020\325\002\022\031\n\024CS_UM_CallVoteFa" - "iled\020\331\002\022\024\n\017CS_UM_VoteStart\020\332\002\022\023\n\016CS_UM_V" - "otePass\020\333\002\022\025\n\020CS_UM_VoteFailed\020\334\002\022\024\n\017CS_" - "UM_VoteSetup\020\335\002\022\036\n\031CS_UM_ServerRankRevea" - "lAll\020\336\002\022\'\n\"CS_UM_SendLastKillerDamageToC" - "lient\020\337\002\022\033\n\026CS_UM_ServerRankUpdate\020\340\002\022\025\n" - "\020CS_UM_ItemPickup\020\341\002\022\023\n\016CS_UM_ShowMenu\020\342" - "\002\022\022\n\rCS_UM_BarTime\020\343\002\022\025\n\020CS_UM_AmmoDenie" - "d\020\344\002\022\032\n\025CS_UM_MarkAchievement\020\345\002\022\033\n\026CS_U" - "M_MatchStatsUpdate\020\346\002\022\023\n\016CS_UM_ItemDrop\020" - "\347\002\022\036\n\031CS_UM_SendPlayerItemDrops\020\351\002\022\037\n\032CS" - "_UM_RoundBackupFilenames\020\352\002\022\036\n\031CS_UM_Sen" - "dPlayerItemFound\020\353\002\022\024\n\017CS_UM_ReportHit\020\354" - "\002\022\023\n\016CS_UM_XpUpdate\020\355\002\022\030\n\023CS_UM_QuestPro" - "gress\020\356\002\022\037\n\032CS_UM_ScoreLeaderboardData\020\357" - "\002\022&\n!CS_UM_PlayerDecalDigitalSignature\020\360" - "\002\022\026\n\021CS_UM_WeaponSound\020\361\002\022 \n\033CS_UM_Updat" - "eScreenHealthBar\020\362\002\022!\n\034CS_UM_EntityOutli" - "neHighlight\020\363\002\022\017\n\nCS_UM_SSUI\020\364\002\022\030\n\023CS_UM" - "_SurvivalStats\020\365\002\022\035\n\030CS_UM_DisconnectToL" - "obby2\020\366\002\022#\n\036CS_UM_EndOfMatchAllPlayersDa" - "ta\020\367\002\022 \n\033CS_UM_PostRoundDamageReport\020\370\002\022" - "\035\n\030CS_UM_RoundEndReportData\020\373\002\022\033\n\026CS_UM_" - "CurrentRoundOdds\020\374\002\022\024\n\017CS_UM_DeepStats\020\375" - "\002\022\024\n\017CS_UM_ShootInfo\020\377\002\022\030\n\023CS_UM_Counter" - "Strafe\020\201\003\022\033\n\026CS_UM_DamagePrediction\020\202\003\022!" - "\n\034CS_UM_RecurringMissionSchema\020\203\003\022\034\n\027CS_" - "UM_SendPlayerLoadout\020\204\003*\210\001\n\"ECSUsrMsg_Di" - "sconnectToLobby_Action\0220\n,k_ECSUsrMsg_Di" - "sconnectToLobby_Action_Default\020\000\0220\n,k_EC" - "SUsrMsg_DisconnectToLobby_Action_GoQueue" - "\020\001" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_cstrike15_5fusermessages_2eproto_deps[2] = { - &::descriptor_table_cstrike15_5fgcmessages_2eproto, - &::descriptor_table_networkbasetypes_2eproto, -}; -static ::_pbi::once_flag descriptor_table_cstrike15_5fusermessages_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_cstrike15_5fusermessages_2eproto = { - false, false, 10682, descriptor_table_protodef_cstrike15_5fusermessages_2eproto, - "cstrike15_usermessages.proto", - &descriptor_table_cstrike15_5fusermessages_2eproto_once, descriptor_table_cstrike15_5fusermessages_2eproto_deps, 2, 89, - schemas, file_default_instances, TableStruct_cstrike15_5fusermessages_2eproto::offsets, - file_level_metadata_cstrike15_5fusermessages_2eproto, file_level_enum_descriptors_cstrike15_5fusermessages_2eproto, - file_level_service_descriptors_cstrike15_5fusermessages_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_cstrike15_5fusermessages_2eproto_getter() { - return &descriptor_table_cstrike15_5fusermessages_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_cstrike15_5fusermessages_2eproto(&descriptor_table_cstrike15_5fusermessages_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECstrike15UserMessages_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_cstrike15_5fusermessages_2eproto); - return file_level_enum_descriptors_cstrike15_5fusermessages_2eproto[0]; -} -bool ECstrike15UserMessages_IsValid(int value) { - switch (value) { - case 301: - case 302: - case 303: - case 304: - case 305: - case 306: - case 307: - case 308: - case 309: - case 310: - case 312: - case 313: - case 314: - case 315: - case 316: - case 317: - case 318: - case 319: - case 320: - case 321: - case 322: - case 323: - case 324: - case 325: - case 326: - case 327: - case 328: - case 329: - case 330: - case 331: - case 332: - case 333: - case 334: - case 335: - case 336: - case 339: - case 340: - case 341: - case 345: - case 346: - case 347: - case 348: - case 349: - case 350: - case 351: - case 352: - case 353: - case 354: - case 355: - case 356: - case 357: - case 358: - case 359: - case 361: - case 362: - case 363: - case 364: - case 365: - case 366: - case 367: - case 368: - case 369: - case 370: - case 371: - case 372: - case 373: - case 374: - case 375: - case 376: - case 379: - case 380: - case 381: - case 383: - case 385: - case 386: - case 387: - case 388: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECSUsrMsg_DisconnectToLobby_Action_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_cstrike15_5fusermessages_2eproto); - return file_level_enum_descriptors_cstrike15_5fusermessages_2eproto[1]; -} -bool ECSUsrMsg_DisconnectToLobby_Action_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CCSUsrMsg_VGUIMenu_Keys::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCSUsrMsg_VGUIMenu_Keys::CCSUsrMsg_VGUIMenu_Keys(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_VGUIMenu.Keys) -} -CCSUsrMsg_VGUIMenu_Keys::CCSUsrMsg_VGUIMenu_Keys(const CCSUsrMsg_VGUIMenu_Keys& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_VGUIMenu_Keys* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_value()) { - _this->_impl_.value_.Set(from._internal_value(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_VGUIMenu.Keys) -} - -inline void CCSUsrMsg_VGUIMenu_Keys::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.value_){} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_VGUIMenu_Keys::~CCSUsrMsg_VGUIMenu_Keys() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_VGUIMenu.Keys) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_VGUIMenu_Keys::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); - _impl_.value_.Destroy(); -} - -void CCSUsrMsg_VGUIMenu_Keys::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_VGUIMenu_Keys::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_VGUIMenu.Keys) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.value_.ClearNonDefaultToEmpty(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_VGUIMenu_Keys::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_VGUIMenu.Keys.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_value(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_VGUIMenu.Keys.value"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_VGUIMenu_Keys::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_VGUIMenu.Keys) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_VGUIMenu.Keys.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // optional string value = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_value().data(), static_cast(this->_internal_value().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_VGUIMenu.Keys.value"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_VGUIMenu.Keys) - return target; -} - -size_t CCSUsrMsg_VGUIMenu_Keys::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_VGUIMenu.Keys) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional string value = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_value()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_VGUIMenu_Keys::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_VGUIMenu_Keys::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_VGUIMenu_Keys::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_VGUIMenu_Keys::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_VGUIMenu.Keys) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_value(from._internal_value()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_VGUIMenu_Keys::CopyFrom(const CCSUsrMsg_VGUIMenu_Keys& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_VGUIMenu.Keys) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_VGUIMenu_Keys::IsInitialized() const { - return true; -} - -void CCSUsrMsg_VGUIMenu_Keys::InternalSwap(CCSUsrMsg_VGUIMenu_Keys* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.value_, lhs_arena, - &other->_impl_.value_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_VGUIMenu_Keys::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[0]); -} - -// =================================================================== - -class CCSUsrMsg_VGUIMenu::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_show(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCSUsrMsg_VGUIMenu::CCSUsrMsg_VGUIMenu(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_VGUIMenu) -} -CCSUsrMsg_VGUIMenu::CCSUsrMsg_VGUIMenu(const CCSUsrMsg_VGUIMenu& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_VGUIMenu* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.keys_){from._impl_.keys_} - , decltype(_impl_.name_){} - , decltype(_impl_.show_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _this->_impl_.show_ = from._impl_.show_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_VGUIMenu) -} - -inline void CCSUsrMsg_VGUIMenu::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.keys_){arena} - , decltype(_impl_.name_){} - , decltype(_impl_.show_){false} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_VGUIMenu::~CCSUsrMsg_VGUIMenu() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_VGUIMenu) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_VGUIMenu::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.keys_.~RepeatedPtrField(); - _impl_.name_.Destroy(); -} - -void CCSUsrMsg_VGUIMenu::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_VGUIMenu::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_VGUIMenu) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.keys_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - _impl_.show_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_VGUIMenu::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_VGUIMenu.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool show = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_show(&has_bits); - _impl_.show_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CCSUsrMsg_VGUIMenu.Keys keys = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_keys(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_VGUIMenu::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_VGUIMenu) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_VGUIMenu.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // optional bool show = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_show(), target); - } - - // repeated .CCSUsrMsg_VGUIMenu.Keys keys = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_keys_size()); i < n; i++) { - const auto& repfield = this->_internal_keys(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_VGUIMenu) - return target; -} - -size_t CCSUsrMsg_VGUIMenu::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_VGUIMenu) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CCSUsrMsg_VGUIMenu.Keys keys = 3; - total_size += 1UL * this->_internal_keys_size(); - for (const auto& msg : this->_impl_.keys_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional bool show = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_VGUIMenu::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_VGUIMenu::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_VGUIMenu::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_VGUIMenu::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_VGUIMenu) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.keys_.MergeFrom(from._impl_.keys_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.show_ = from._impl_.show_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_VGUIMenu::CopyFrom(const CCSUsrMsg_VGUIMenu& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_VGUIMenu) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_VGUIMenu::IsInitialized() const { - return true; -} - -void CCSUsrMsg_VGUIMenu::InternalSwap(CCSUsrMsg_VGUIMenu* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.keys_.InternalSwap(&other->_impl_.keys_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - swap(_impl_.show_, other->_impl_.show_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_VGUIMenu::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[1]); -} - -// =================================================================== - -class CCSUsrMsg_Geiger::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_range(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_Geiger::CCSUsrMsg_Geiger(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_Geiger) -} -CCSUsrMsg_Geiger::CCSUsrMsg_Geiger(const CCSUsrMsg_Geiger& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_Geiger* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.range_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.range_ = from._impl_.range_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_Geiger) -} - -inline void CCSUsrMsg_Geiger::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.range_){0} - }; -} - -CCSUsrMsg_Geiger::~CCSUsrMsg_Geiger() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_Geiger) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_Geiger::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_Geiger::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_Geiger::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_Geiger) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.range_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_Geiger::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 range = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_range(&has_bits); - _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_Geiger::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_Geiger) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 range = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_range(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_Geiger) - return target; -} - -size_t CCSUsrMsg_Geiger::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_Geiger) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 range = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_range()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_Geiger::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_Geiger::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_Geiger::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_Geiger::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_Geiger) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_range()) { - _this->_internal_set_range(from._internal_range()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_Geiger::CopyFrom(const CCSUsrMsg_Geiger& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_Geiger) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_Geiger::IsInitialized() const { - return true; -} - -void CCSUsrMsg_Geiger::InternalSwap(CCSUsrMsg_Geiger* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.range_, other->_impl_.range_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_Geiger::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[2]); -} - -// =================================================================== - -class CCSUsrMsg_Train::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_train(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_Train::CCSUsrMsg_Train(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_Train) -} -CCSUsrMsg_Train::CCSUsrMsg_Train(const CCSUsrMsg_Train& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_Train* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.train_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.train_ = from._impl_.train_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_Train) -} - -inline void CCSUsrMsg_Train::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.train_){0} - }; -} - -CCSUsrMsg_Train::~CCSUsrMsg_Train() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_Train) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_Train::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_Train::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_Train::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_Train) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.train_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_Train::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 train = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_train(&has_bits); - _impl_.train_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_Train::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_Train) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 train = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_train(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_Train) - return target; -} - -size_t CCSUsrMsg_Train::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_Train) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 train = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_train()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_Train::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_Train::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_Train::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_Train::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_Train) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_train()) { - _this->_internal_set_train(from._internal_train()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_Train::CopyFrom(const CCSUsrMsg_Train& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_Train) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_Train::IsInitialized() const { - return true; -} - -void CCSUsrMsg_Train::InternalSwap(CCSUsrMsg_Train* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.train_, other->_impl_.train_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_Train::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[3]); -} - -// =================================================================== - -class CCSUsrMsg_HudText::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_text(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_HudText::CCSUsrMsg_HudText(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_HudText) -} -CCSUsrMsg_HudText::CCSUsrMsg_HudText(const CCSUsrMsg_HudText& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_HudText* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_text()) { - _this->_impl_.text_.Set(from._internal_text(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_HudText) -} - -inline void CCSUsrMsg_HudText::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - }; - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_HudText::~CCSUsrMsg_HudText() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_HudText) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_HudText::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.text_.Destroy(); -} - -void CCSUsrMsg_HudText::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_HudText::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_HudText) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.text_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_HudText::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string text = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_text(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_HudText.text"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_HudText::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_HudText) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string text = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_text().data(), static_cast(this->_internal_text().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_HudText.text"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_text(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_HudText) - return target; -} - -size_t CCSUsrMsg_HudText::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_HudText) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string text = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_text()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_HudText::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_HudText::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_HudText::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_HudText::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_HudText) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_text()) { - _this->_internal_set_text(from._internal_text()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_HudText::CopyFrom(const CCSUsrMsg_HudText& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_HudText) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_HudText::IsInitialized() const { - return true; -} - -void CCSUsrMsg_HudText::InternalSwap(CCSUsrMsg_HudText* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.text_, lhs_arena, - &other->_impl_.text_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_HudText::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[4]); -} - -// =================================================================== - -class CCSUsrMsg_HudMsg::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_channel(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static const ::CMsgVector2D& pos(const CCSUsrMsg_HudMsg* msg); - static void set_has_pos(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgRGBA& clr1(const CCSUsrMsg_HudMsg* msg); - static void set_has_clr1(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgRGBA& clr2(const CCSUsrMsg_HudMsg* msg); - static void set_has_clr2(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_effect(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_fade_in_time(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_fade_out_time(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_hold_time(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_fx_time(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_text(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgVector2D& -CCSUsrMsg_HudMsg::_Internal::pos(const CCSUsrMsg_HudMsg* msg) { - return *msg->_impl_.pos_; -} -const ::CMsgRGBA& -CCSUsrMsg_HudMsg::_Internal::clr1(const CCSUsrMsg_HudMsg* msg) { - return *msg->_impl_.clr1_; -} -const ::CMsgRGBA& -CCSUsrMsg_HudMsg::_Internal::clr2(const CCSUsrMsg_HudMsg* msg) { - return *msg->_impl_.clr2_; -} -void CCSUsrMsg_HudMsg::clear_pos() { - if (_impl_.pos_ != nullptr) _impl_.pos_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CCSUsrMsg_HudMsg::clear_clr1() { - if (_impl_.clr1_ != nullptr) _impl_.clr1_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -void CCSUsrMsg_HudMsg::clear_clr2() { - if (_impl_.clr2_ != nullptr) _impl_.clr2_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -CCSUsrMsg_HudMsg::CCSUsrMsg_HudMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_HudMsg) -} -CCSUsrMsg_HudMsg::CCSUsrMsg_HudMsg(const CCSUsrMsg_HudMsg& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_HudMsg* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - , decltype(_impl_.pos_){nullptr} - , decltype(_impl_.clr1_){nullptr} - , decltype(_impl_.clr2_){nullptr} - , decltype(_impl_.channel_){} - , decltype(_impl_.effect_){} - , decltype(_impl_.fade_in_time_){} - , decltype(_impl_.fade_out_time_){} - , decltype(_impl_.hold_time_){} - , decltype(_impl_.fx_time_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_text()) { - _this->_impl_.text_.Set(from._internal_text(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_pos()) { - _this->_impl_.pos_ = new ::CMsgVector2D(*from._impl_.pos_); - } - if (from._internal_has_clr1()) { - _this->_impl_.clr1_ = new ::CMsgRGBA(*from._impl_.clr1_); - } - if (from._internal_has_clr2()) { - _this->_impl_.clr2_ = new ::CMsgRGBA(*from._impl_.clr2_); - } - ::memcpy(&_impl_.channel_, &from._impl_.channel_, - static_cast(reinterpret_cast(&_impl_.fx_time_) - - reinterpret_cast(&_impl_.channel_)) + sizeof(_impl_.fx_time_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_HudMsg) -} - -inline void CCSUsrMsg_HudMsg::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - , decltype(_impl_.pos_){nullptr} - , decltype(_impl_.clr1_){nullptr} - , decltype(_impl_.clr2_){nullptr} - , decltype(_impl_.channel_){0} - , decltype(_impl_.effect_){0} - , decltype(_impl_.fade_in_time_){0} - , decltype(_impl_.fade_out_time_){0} - , decltype(_impl_.hold_time_){0} - , decltype(_impl_.fx_time_){0} - }; - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_HudMsg::~CCSUsrMsg_HudMsg() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_HudMsg) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_HudMsg::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.text_.Destroy(); - if (this != internal_default_instance()) delete _impl_.pos_; - if (this != internal_default_instance()) delete _impl_.clr1_; - if (this != internal_default_instance()) delete _impl_.clr2_; -} - -void CCSUsrMsg_HudMsg::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_HudMsg::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_HudMsg) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.text_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.pos_ != nullptr); - _impl_.pos_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.clr1_ != nullptr); - _impl_.clr1_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.clr2_ != nullptr); - _impl_.clr2_->Clear(); - } - } - if (cached_has_bits & 0x000000f0u) { - ::memset(&_impl_.channel_, 0, static_cast( - reinterpret_cast(&_impl_.fade_out_time_) - - reinterpret_cast(&_impl_.channel_)) + sizeof(_impl_.fade_out_time_)); - } - if (cached_has_bits & 0x00000300u) { - ::memset(&_impl_.hold_time_, 0, static_cast( - reinterpret_cast(&_impl_.fx_time_) - - reinterpret_cast(&_impl_.hold_time_)) + sizeof(_impl_.fx_time_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_HudMsg::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 channel = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_channel(&has_bits); - _impl_.channel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector2D pos = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_pos(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgRGBA clr1 = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_clr1(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgRGBA clr2 = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_clr2(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 effect = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_effect(&has_bits); - _impl_.effect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float fade_in_time = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - _Internal::set_has_fade_in_time(&has_bits); - _impl_.fade_in_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float fade_out_time = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_fade_out_time(&has_bits); - _impl_.fade_out_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float hold_time = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_hold_time(&has_bits); - _impl_.hold_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float fx_time = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { - _Internal::set_has_fx_time(&has_bits); - _impl_.fx_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional string text = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_text(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_HudMsg.text"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_HudMsg::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_HudMsg) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 channel = 1; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_channel(), target); - } - - // optional .CMsgVector2D pos = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::pos(this), - _Internal::pos(this).GetCachedSize(), target, stream); - } - - // optional .CMsgRGBA clr1 = 3; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::clr1(this), - _Internal::clr1(this).GetCachedSize(), target, stream); - } - - // optional .CMsgRGBA clr2 = 4; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::clr2(this), - _Internal::clr2(this).GetCachedSize(), target, stream); - } - - // optional int32 effect = 5; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_effect(), target); - } - - // optional float fade_in_time = 6; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_fade_in_time(), target); - } - - // optional float fade_out_time = 7; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_fade_out_time(), target); - } - - // optional float hold_time = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_hold_time(), target); - } - - // optional float fx_time = 10; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(10, this->_internal_fx_time(), target); - } - - // optional string text = 11; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_text().data(), static_cast(this->_internal_text().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_HudMsg.text"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_text(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_HudMsg) - return target; -} - -size_t CCSUsrMsg_HudMsg::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_HudMsg) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string text = 11; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_text()); - } - - // optional .CMsgVector2D pos = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.pos_); - } - - // optional .CMsgRGBA clr1 = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.clr1_); - } - - // optional .CMsgRGBA clr2 = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.clr2_); - } - - // optional int32 channel = 1; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_channel()); - } - - // optional int32 effect = 5; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_effect()); - } - - // optional float fade_in_time = 6; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional float fade_out_time = 7; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - if (cached_has_bits & 0x00000300u) { - // optional float hold_time = 9; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 4; - } - - // optional float fx_time = 10; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_HudMsg::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_HudMsg::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_HudMsg::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_HudMsg::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_HudMsg) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_text(from._internal_text()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_pos()->::CMsgVector2D::MergeFrom( - from._internal_pos()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_clr1()->::CMsgRGBA::MergeFrom( - from._internal_clr1()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_clr2()->::CMsgRGBA::MergeFrom( - from._internal_clr2()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.channel_ = from._impl_.channel_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.effect_ = from._impl_.effect_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.fade_in_time_ = from._impl_.fade_in_time_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.fade_out_time_ = from._impl_.fade_out_time_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000300u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.hold_time_ = from._impl_.hold_time_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.fx_time_ = from._impl_.fx_time_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_HudMsg::CopyFrom(const CCSUsrMsg_HudMsg& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_HudMsg) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_HudMsg::IsInitialized() const { - return true; -} - -void CCSUsrMsg_HudMsg::InternalSwap(CCSUsrMsg_HudMsg* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.text_, lhs_arena, - &other->_impl_.text_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_HudMsg, _impl_.fx_time_) - + sizeof(CCSUsrMsg_HudMsg::_impl_.fx_time_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_HudMsg, _impl_.pos_)>( - reinterpret_cast(&_impl_.pos_), - reinterpret_cast(&other->_impl_.pos_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_HudMsg::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[5]); -} - -// =================================================================== - -class CCSUsrMsg_Shake::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_command(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_local_amplitude(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_frequency(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_duration(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CCSUsrMsg_Shake::CCSUsrMsg_Shake(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_Shake) -} -CCSUsrMsg_Shake::CCSUsrMsg_Shake(const CCSUsrMsg_Shake& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_Shake* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.command_){} - , decltype(_impl_.local_amplitude_){} - , decltype(_impl_.frequency_){} - , decltype(_impl_.duration_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.command_, &from._impl_.command_, - static_cast(reinterpret_cast(&_impl_.duration_) - - reinterpret_cast(&_impl_.command_)) + sizeof(_impl_.duration_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_Shake) -} - -inline void CCSUsrMsg_Shake::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.command_){0} - , decltype(_impl_.local_amplitude_){0} - , decltype(_impl_.frequency_){0} - , decltype(_impl_.duration_){0} - }; -} - -CCSUsrMsg_Shake::~CCSUsrMsg_Shake() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_Shake) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_Shake::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_Shake::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_Shake::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_Shake) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.command_, 0, static_cast( - reinterpret_cast(&_impl_.duration_) - - reinterpret_cast(&_impl_.command_)) + sizeof(_impl_.duration_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_Shake::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 command = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_command(&has_bits); - _impl_.command_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float local_amplitude = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_local_amplitude(&has_bits); - _impl_.local_amplitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float frequency = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_frequency(&has_bits); - _impl_.frequency_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float duration = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_duration(&has_bits); - _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_Shake::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_Shake) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 command = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_command(), target); - } - - // optional float local_amplitude = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_local_amplitude(), target); - } - - // optional float frequency = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_frequency(), target); - } - - // optional float duration = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_duration(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_Shake) - return target; -} - -size_t CCSUsrMsg_Shake::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_Shake) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional int32 command = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_command()); - } - - // optional float local_amplitude = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float frequency = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional float duration = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_Shake::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_Shake::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_Shake::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_Shake::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_Shake) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.command_ = from._impl_.command_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.local_amplitude_ = from._impl_.local_amplitude_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.frequency_ = from._impl_.frequency_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.duration_ = from._impl_.duration_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_Shake::CopyFrom(const CCSUsrMsg_Shake& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_Shake) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_Shake::IsInitialized() const { - return true; -} - -void CCSUsrMsg_Shake::InternalSwap(CCSUsrMsg_Shake* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_Shake, _impl_.duration_) - + sizeof(CCSUsrMsg_Shake::_impl_.duration_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_Shake, _impl_.command_)>( - reinterpret_cast(&_impl_.command_), - reinterpret_cast(&other->_impl_.command_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_Shake::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[6]); -} - -// =================================================================== - -class CCSUsrMsg_Fade::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_duration(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_hold_time(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CMsgRGBA& clr(const CCSUsrMsg_Fade* msg); - static void set_has_clr(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgRGBA& -CCSUsrMsg_Fade::_Internal::clr(const CCSUsrMsg_Fade* msg) { - return *msg->_impl_.clr_; -} -void CCSUsrMsg_Fade::clear_clr() { - if (_impl_.clr_ != nullptr) _impl_.clr_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CCSUsrMsg_Fade::CCSUsrMsg_Fade(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_Fade) -} -CCSUsrMsg_Fade::CCSUsrMsg_Fade(const CCSUsrMsg_Fade& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_Fade* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.clr_){nullptr} - , decltype(_impl_.duration_){} - , decltype(_impl_.hold_time_){} - , decltype(_impl_.flags_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_clr()) { - _this->_impl_.clr_ = new ::CMsgRGBA(*from._impl_.clr_); - } - ::memcpy(&_impl_.duration_, &from._impl_.duration_, - static_cast(reinterpret_cast(&_impl_.flags_) - - reinterpret_cast(&_impl_.duration_)) + sizeof(_impl_.flags_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_Fade) -} - -inline void CCSUsrMsg_Fade::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.clr_){nullptr} - , decltype(_impl_.duration_){0} - , decltype(_impl_.hold_time_){0} - , decltype(_impl_.flags_){0} - }; -} - -CCSUsrMsg_Fade::~CCSUsrMsg_Fade() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_Fade) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_Fade::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.clr_; -} - -void CCSUsrMsg_Fade::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_Fade::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_Fade) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.clr_ != nullptr); - _impl_.clr_->Clear(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.duration_, 0, static_cast( - reinterpret_cast(&_impl_.flags_) - - reinterpret_cast(&_impl_.duration_)) + sizeof(_impl_.flags_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_Fade::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 duration = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_duration(&has_bits); - _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 hold_time = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_hold_time(&has_bits); - _impl_.hold_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 flags = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgRGBA clr = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_clr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_Fade::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_Fade) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 duration = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_duration(), target); - } - - // optional int32 hold_time = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_hold_time(), target); - } - - // optional int32 flags = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_flags(), target); - } - - // optional .CMsgRGBA clr = 4; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::clr(this), - _Internal::clr(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_Fade) - return target; -} - -size_t CCSUsrMsg_Fade::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_Fade) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional .CMsgRGBA clr = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.clr_); - } - - // optional int32 duration = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_duration()); - } - - // optional int32 hold_time = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_hold_time()); - } - - // optional int32 flags = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_flags()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_Fade::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_Fade::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_Fade::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_Fade::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_Fade) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_clr()->::CMsgRGBA::MergeFrom( - from._internal_clr()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.duration_ = from._impl_.duration_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.hold_time_ = from._impl_.hold_time_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_Fade::CopyFrom(const CCSUsrMsg_Fade& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_Fade) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_Fade::IsInitialized() const { - return true; -} - -void CCSUsrMsg_Fade::InternalSwap(CCSUsrMsg_Fade* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_Fade, _impl_.flags_) - + sizeof(CCSUsrMsg_Fade::_impl_.flags_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_Fade, _impl_.clr_)>( - reinterpret_cast(&_impl_.clr_), - reinterpret_cast(&other->_impl_.clr_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_Fade::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[7]); -} - -// =================================================================== - -class CCSUsrMsg_Rumble::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_index(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CCSUsrMsg_Rumble::CCSUsrMsg_Rumble(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_Rumble) -} -CCSUsrMsg_Rumble::CCSUsrMsg_Rumble(const CCSUsrMsg_Rumble& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_Rumble* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.index_){} - , decltype(_impl_.data_){} - , decltype(_impl_.flags_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.index_, &from._impl_.index_, - static_cast(reinterpret_cast(&_impl_.flags_) - - reinterpret_cast(&_impl_.index_)) + sizeof(_impl_.flags_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_Rumble) -} - -inline void CCSUsrMsg_Rumble::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.index_){0} - , decltype(_impl_.data_){0} - , decltype(_impl_.flags_){0} - }; -} - -CCSUsrMsg_Rumble::~CCSUsrMsg_Rumble() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_Rumble) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_Rumble::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_Rumble::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_Rumble::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_Rumble) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.index_, 0, static_cast( - reinterpret_cast(&_impl_.flags_) - - reinterpret_cast(&_impl_.index_)) + sizeof(_impl_.flags_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_Rumble::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 index = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_index(&has_bits); - _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_data(&has_bits); - _impl_.data_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 flags = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_Rumble::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_Rumble) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 index = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_index(), target); - } - - // optional int32 data = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_data(), target); - } - - // optional int32 flags = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_flags(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_Rumble) - return target; -} - -size_t CCSUsrMsg_Rumble::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_Rumble) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 index = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_index()); - } - - // optional int32 data = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_data()); - } - - // optional int32 flags = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_flags()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_Rumble::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_Rumble::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_Rumble::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_Rumble::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_Rumble) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.index_ = from._impl_.index_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.data_ = from._impl_.data_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_Rumble::CopyFrom(const CCSUsrMsg_Rumble& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_Rumble) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_Rumble::IsInitialized() const { - return true; -} - -void CCSUsrMsg_Rumble::InternalSwap(CCSUsrMsg_Rumble* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_Rumble, _impl_.flags_) - + sizeof(CCSUsrMsg_Rumble::_impl_.flags_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_Rumble, _impl_.index_)>( - reinterpret_cast(&_impl_.index_), - reinterpret_cast(&other->_impl_.index_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_Rumble::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[8]); -} - -// =================================================================== - -class CCSUsrMsg_CloseCaption::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_hash(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_duration(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_from_player(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_cctoken(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_CloseCaption::CCSUsrMsg_CloseCaption(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_CloseCaption) -} -CCSUsrMsg_CloseCaption::CCSUsrMsg_CloseCaption(const CCSUsrMsg_CloseCaption& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_CloseCaption* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cctoken_){} - , decltype(_impl_.hash_){} - , decltype(_impl_.duration_){} - , decltype(_impl_.from_player_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.cctoken_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cctoken_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_cctoken()) { - _this->_impl_.cctoken_.Set(from._internal_cctoken(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.hash_, &from._impl_.hash_, - static_cast(reinterpret_cast(&_impl_.from_player_) - - reinterpret_cast(&_impl_.hash_)) + sizeof(_impl_.from_player_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_CloseCaption) -} - -inline void CCSUsrMsg_CloseCaption::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cctoken_){} - , decltype(_impl_.hash_){0u} - , decltype(_impl_.duration_){0} - , decltype(_impl_.from_player_){false} - }; - _impl_.cctoken_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cctoken_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_CloseCaption::~CCSUsrMsg_CloseCaption() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_CloseCaption) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_CloseCaption::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.cctoken_.Destroy(); -} - -void CCSUsrMsg_CloseCaption::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_CloseCaption::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_CloseCaption) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.cctoken_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.hash_, 0, static_cast( - reinterpret_cast(&_impl_.from_player_) - - reinterpret_cast(&_impl_.hash_)) + sizeof(_impl_.from_player_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_CloseCaption::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 hash = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_hash(&has_bits); - _impl_.hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 duration = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_duration(&has_bits); - _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool from_player = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_from_player(&has_bits); - _impl_.from_player_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string cctoken = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_cctoken(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_CloseCaption.cctoken"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_CloseCaption::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_CloseCaption) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 hash = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_hash(), target); - } - - // optional int32 duration = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_duration(), target); - } - - // optional bool from_player = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_from_player(), target); - } - - // optional string cctoken = 4; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_cctoken().data(), static_cast(this->_internal_cctoken().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_CloseCaption.cctoken"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_cctoken(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_CloseCaption) - return target; -} - -size_t CCSUsrMsg_CloseCaption::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_CloseCaption) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string cctoken = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_cctoken()); - } - - // optional uint32 hash = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_hash()); - } - - // optional int32 duration = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_duration()); - } - - // optional bool from_player = 3; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_CloseCaption::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_CloseCaption::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_CloseCaption::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_CloseCaption::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_CloseCaption) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_cctoken(from._internal_cctoken()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.hash_ = from._impl_.hash_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.duration_ = from._impl_.duration_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.from_player_ = from._impl_.from_player_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_CloseCaption::CopyFrom(const CCSUsrMsg_CloseCaption& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_CloseCaption) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_CloseCaption::IsInitialized() const { - return true; -} - -void CCSUsrMsg_CloseCaption::InternalSwap(CCSUsrMsg_CloseCaption* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.cctoken_, lhs_arena, - &other->_impl_.cctoken_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_CloseCaption, _impl_.from_player_) - + sizeof(CCSUsrMsg_CloseCaption::_impl_.from_player_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_CloseCaption, _impl_.hash_)>( - reinterpret_cast(&_impl_.hash_), - reinterpret_cast(&other->_impl_.hash_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_CloseCaption::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[9]); -} - -// =================================================================== - -class CCSUsrMsg_CloseCaptionDirect::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_hash(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_duration(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_from_player(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CCSUsrMsg_CloseCaptionDirect::CCSUsrMsg_CloseCaptionDirect(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_CloseCaptionDirect) -} -CCSUsrMsg_CloseCaptionDirect::CCSUsrMsg_CloseCaptionDirect(const CCSUsrMsg_CloseCaptionDirect& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_CloseCaptionDirect* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hash_){} - , decltype(_impl_.duration_){} - , decltype(_impl_.from_player_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.hash_, &from._impl_.hash_, - static_cast(reinterpret_cast(&_impl_.from_player_) - - reinterpret_cast(&_impl_.hash_)) + sizeof(_impl_.from_player_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_CloseCaptionDirect) -} - -inline void CCSUsrMsg_CloseCaptionDirect::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hash_){0u} - , decltype(_impl_.duration_){0} - , decltype(_impl_.from_player_){false} - }; -} - -CCSUsrMsg_CloseCaptionDirect::~CCSUsrMsg_CloseCaptionDirect() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_CloseCaptionDirect) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_CloseCaptionDirect::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_CloseCaptionDirect::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_CloseCaptionDirect::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_CloseCaptionDirect) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.hash_, 0, static_cast( - reinterpret_cast(&_impl_.from_player_) - - reinterpret_cast(&_impl_.hash_)) + sizeof(_impl_.from_player_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_CloseCaptionDirect::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 hash = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_hash(&has_bits); - _impl_.hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 duration = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_duration(&has_bits); - _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool from_player = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_from_player(&has_bits); - _impl_.from_player_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_CloseCaptionDirect::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_CloseCaptionDirect) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 hash = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_hash(), target); - } - - // optional int32 duration = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_duration(), target); - } - - // optional bool from_player = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_from_player(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_CloseCaptionDirect) - return target; -} - -size_t CCSUsrMsg_CloseCaptionDirect::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_CloseCaptionDirect) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 hash = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_hash()); - } - - // optional int32 duration = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_duration()); - } - - // optional bool from_player = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_CloseCaptionDirect::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_CloseCaptionDirect::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_CloseCaptionDirect::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_CloseCaptionDirect::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_CloseCaptionDirect) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.hash_ = from._impl_.hash_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.duration_ = from._impl_.duration_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.from_player_ = from._impl_.from_player_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_CloseCaptionDirect::CopyFrom(const CCSUsrMsg_CloseCaptionDirect& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_CloseCaptionDirect) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_CloseCaptionDirect::IsInitialized() const { - return true; -} - -void CCSUsrMsg_CloseCaptionDirect::InternalSwap(CCSUsrMsg_CloseCaptionDirect* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_CloseCaptionDirect, _impl_.from_player_) - + sizeof(CCSUsrMsg_CloseCaptionDirect::_impl_.from_player_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_CloseCaptionDirect, _impl_.hash_)>( - reinterpret_cast(&_impl_.hash_), - reinterpret_cast(&other->_impl_.hash_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_CloseCaptionDirect::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[10]); -} - -// =================================================================== - -class CCSUsrMsg_SendAudio::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_radio_sound(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_SendAudio::CCSUsrMsg_SendAudio(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_SendAudio) -} -CCSUsrMsg_SendAudio::CCSUsrMsg_SendAudio(const CCSUsrMsg_SendAudio& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_SendAudio* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.radio_sound_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.radio_sound_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.radio_sound_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_radio_sound()) { - _this->_impl_.radio_sound_.Set(from._internal_radio_sound(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SendAudio) -} - -inline void CCSUsrMsg_SendAudio::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.radio_sound_){} - }; - _impl_.radio_sound_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.radio_sound_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_SendAudio::~CCSUsrMsg_SendAudio() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_SendAudio) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_SendAudio::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.radio_sound_.Destroy(); -} - -void CCSUsrMsg_SendAudio::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_SendAudio::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SendAudio) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.radio_sound_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_SendAudio::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string radio_sound = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_radio_sound(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_SendAudio.radio_sound"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_SendAudio::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SendAudio) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string radio_sound = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_radio_sound().data(), static_cast(this->_internal_radio_sound().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_SendAudio.radio_sound"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_radio_sound(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_SendAudio) - return target; -} - -size_t CCSUsrMsg_SendAudio::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SendAudio) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string radio_sound = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_radio_sound()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SendAudio::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_SendAudio::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SendAudio::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_SendAudio::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_SendAudio) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_radio_sound()) { - _this->_internal_set_radio_sound(from._internal_radio_sound()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_SendAudio::CopyFrom(const CCSUsrMsg_SendAudio& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SendAudio) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_SendAudio::IsInitialized() const { - return true; -} - -void CCSUsrMsg_SendAudio::InternalSwap(CCSUsrMsg_SendAudio* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.radio_sound_, lhs_arena, - &other->_impl_.radio_sound_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SendAudio::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[11]); -} - -// =================================================================== - -class CCSUsrMsg_RawAudio::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_pitch(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_entidx(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_duration(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_voice_filename(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_RawAudio::CCSUsrMsg_RawAudio(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_RawAudio) -} -CCSUsrMsg_RawAudio::CCSUsrMsg_RawAudio(const CCSUsrMsg_RawAudio& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_RawAudio* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.voice_filename_){} - , decltype(_impl_.pitch_){} - , decltype(_impl_.duration_){} - , decltype(_impl_.entidx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.voice_filename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.voice_filename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_voice_filename()) { - _this->_impl_.voice_filename_.Set(from._internal_voice_filename(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.pitch_, &from._impl_.pitch_, - static_cast(reinterpret_cast(&_impl_.entidx_) - - reinterpret_cast(&_impl_.pitch_)) + sizeof(_impl_.entidx_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RawAudio) -} - -inline void CCSUsrMsg_RawAudio::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.voice_filename_){} - , decltype(_impl_.pitch_){0} - , decltype(_impl_.duration_){0} - , decltype(_impl_.entidx_){-1} - }; - _impl_.voice_filename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.voice_filename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_RawAudio::~CCSUsrMsg_RawAudio() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_RawAudio) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_RawAudio::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.voice_filename_.Destroy(); -} - -void CCSUsrMsg_RawAudio::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_RawAudio::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RawAudio) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.voice_filename_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.pitch_, 0, static_cast( - reinterpret_cast(&_impl_.duration_) - - reinterpret_cast(&_impl_.pitch_)) + sizeof(_impl_.duration_)); - _impl_.entidx_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_RawAudio::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 pitch = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_pitch(&has_bits); - _impl_.pitch_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 entidx = 2 [default = -1]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_entidx(&has_bits); - _impl_.entidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float duration = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_duration(&has_bits); - _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional string voice_filename = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_voice_filename(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_RawAudio.voice_filename"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_RawAudio::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RawAudio) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 pitch = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_pitch(), target); - } - - // optional int32 entidx = 2 [default = -1]; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_entidx(), target); - } - - // optional float duration = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_duration(), target); - } - - // optional string voice_filename = 4; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_voice_filename().data(), static_cast(this->_internal_voice_filename().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_RawAudio.voice_filename"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_voice_filename(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_RawAudio) - return target; -} - -size_t CCSUsrMsg_RawAudio::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RawAudio) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string voice_filename = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_voice_filename()); - } - - // optional int32 pitch = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pitch()); - } - - // optional float duration = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional int32 entidx = 2 [default = -1]; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entidx()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RawAudio::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_RawAudio::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RawAudio::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_RawAudio::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_RawAudio) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_voice_filename(from._internal_voice_filename()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.pitch_ = from._impl_.pitch_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.duration_ = from._impl_.duration_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.entidx_ = from._impl_.entidx_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_RawAudio::CopyFrom(const CCSUsrMsg_RawAudio& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RawAudio) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_RawAudio::IsInitialized() const { - return true; -} - -void CCSUsrMsg_RawAudio::InternalSwap(CCSUsrMsg_RawAudio* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.voice_filename_, lhs_arena, - &other->_impl_.voice_filename_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RawAudio, _impl_.duration_) - + sizeof(CCSUsrMsg_RawAudio::_impl_.duration_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RawAudio, _impl_.pitch_)>( - reinterpret_cast(&_impl_.pitch_), - reinterpret_cast(&other->_impl_.pitch_)); - swap(_impl_.entidx_, other->_impl_.entidx_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RawAudio::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[12]); -} - -// =================================================================== - -class CCSUsrMsg_VoiceMask_PlayerMask::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_game_rules_mask(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_ban_masks(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCSUsrMsg_VoiceMask_PlayerMask::CCSUsrMsg_VoiceMask_PlayerMask(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_VoiceMask.PlayerMask) -} -CCSUsrMsg_VoiceMask_PlayerMask::CCSUsrMsg_VoiceMask_PlayerMask(const CCSUsrMsg_VoiceMask_PlayerMask& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_VoiceMask_PlayerMask* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.game_rules_mask_){} - , decltype(_impl_.ban_masks_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.game_rules_mask_, &from._impl_.game_rules_mask_, - static_cast(reinterpret_cast(&_impl_.ban_masks_) - - reinterpret_cast(&_impl_.game_rules_mask_)) + sizeof(_impl_.ban_masks_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_VoiceMask.PlayerMask) -} - -inline void CCSUsrMsg_VoiceMask_PlayerMask::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.game_rules_mask_){0} - , decltype(_impl_.ban_masks_){0} - }; -} - -CCSUsrMsg_VoiceMask_PlayerMask::~CCSUsrMsg_VoiceMask_PlayerMask() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_VoiceMask.PlayerMask) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_VoiceMask_PlayerMask::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_VoiceMask_PlayerMask::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_VoiceMask_PlayerMask::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_VoiceMask.PlayerMask) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.game_rules_mask_, 0, static_cast( - reinterpret_cast(&_impl_.ban_masks_) - - reinterpret_cast(&_impl_.game_rules_mask_)) + sizeof(_impl_.ban_masks_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_VoiceMask_PlayerMask::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 game_rules_mask = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_game_rules_mask(&has_bits); - _impl_.game_rules_mask_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 ban_masks = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_ban_masks(&has_bits); - _impl_.ban_masks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_VoiceMask_PlayerMask::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_VoiceMask.PlayerMask) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 game_rules_mask = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_game_rules_mask(), target); - } - - // optional int32 ban_masks = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_ban_masks(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_VoiceMask.PlayerMask) - return target; -} - -size_t CCSUsrMsg_VoiceMask_PlayerMask::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_VoiceMask.PlayerMask) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional int32 game_rules_mask = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_game_rules_mask()); - } - - // optional int32 ban_masks = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ban_masks()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_VoiceMask_PlayerMask::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_VoiceMask_PlayerMask::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_VoiceMask_PlayerMask::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_VoiceMask_PlayerMask::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_VoiceMask.PlayerMask) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.game_rules_mask_ = from._impl_.game_rules_mask_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.ban_masks_ = from._impl_.ban_masks_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_VoiceMask_PlayerMask::CopyFrom(const CCSUsrMsg_VoiceMask_PlayerMask& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_VoiceMask.PlayerMask) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_VoiceMask_PlayerMask::IsInitialized() const { - return true; -} - -void CCSUsrMsg_VoiceMask_PlayerMask::InternalSwap(CCSUsrMsg_VoiceMask_PlayerMask* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_VoiceMask_PlayerMask, _impl_.ban_masks_) - + sizeof(CCSUsrMsg_VoiceMask_PlayerMask::_impl_.ban_masks_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_VoiceMask_PlayerMask, _impl_.game_rules_mask_)>( - reinterpret_cast(&_impl_.game_rules_mask_), - reinterpret_cast(&other->_impl_.game_rules_mask_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_VoiceMask_PlayerMask::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[13]); -} - -// =================================================================== - -class CCSUsrMsg_VoiceMask::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_player_mod_enable(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_VoiceMask::CCSUsrMsg_VoiceMask(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_VoiceMask) -} -CCSUsrMsg_VoiceMask::CCSUsrMsg_VoiceMask(const CCSUsrMsg_VoiceMask& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_VoiceMask* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.player_masks_){from._impl_.player_masks_} - , decltype(_impl_.player_mod_enable_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.player_mod_enable_ = from._impl_.player_mod_enable_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_VoiceMask) -} - -inline void CCSUsrMsg_VoiceMask::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.player_masks_){arena} - , decltype(_impl_.player_mod_enable_){false} - }; -} - -CCSUsrMsg_VoiceMask::~CCSUsrMsg_VoiceMask() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_VoiceMask) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_VoiceMask::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.player_masks_.~RepeatedPtrField(); -} - -void CCSUsrMsg_VoiceMask::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_VoiceMask::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_VoiceMask) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.player_masks_.Clear(); - _impl_.player_mod_enable_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_VoiceMask::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CCSUsrMsg_VoiceMask.PlayerMask player_masks = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_player_masks(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // optional bool player_mod_enable = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_player_mod_enable(&has_bits); - _impl_.player_mod_enable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_VoiceMask::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_VoiceMask) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CCSUsrMsg_VoiceMask.PlayerMask player_masks = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_player_masks_size()); i < n; i++) { - const auto& repfield = this->_internal_player_masks(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool player_mod_enable = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_player_mod_enable(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_VoiceMask) - return target; -} - -size_t CCSUsrMsg_VoiceMask::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_VoiceMask) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CCSUsrMsg_VoiceMask.PlayerMask player_masks = 1; - total_size += 1UL * this->_internal_player_masks_size(); - for (const auto& msg : this->_impl_.player_masks_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional bool player_mod_enable = 2; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_VoiceMask::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_VoiceMask::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_VoiceMask::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_VoiceMask::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_VoiceMask) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.player_masks_.MergeFrom(from._impl_.player_masks_); - if (from._internal_has_player_mod_enable()) { - _this->_internal_set_player_mod_enable(from._internal_player_mod_enable()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_VoiceMask::CopyFrom(const CCSUsrMsg_VoiceMask& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_VoiceMask) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_VoiceMask::IsInitialized() const { - return true; -} - -void CCSUsrMsg_VoiceMask::InternalSwap(CCSUsrMsg_VoiceMask* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.player_masks_.InternalSwap(&other->_impl_.player_masks_); - swap(_impl_.player_mod_enable_, other->_impl_.player_mod_enable_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_VoiceMask::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[14]); -} - -// =================================================================== - -class CCSUsrMsg_Damage::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_amount(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgVector& inflictor_world_pos(const CCSUsrMsg_Damage* msg); - static void set_has_inflictor_world_pos(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_victim_entindex(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::CMsgVector& -CCSUsrMsg_Damage::_Internal::inflictor_world_pos(const CCSUsrMsg_Damage* msg) { - return *msg->_impl_.inflictor_world_pos_; -} -void CCSUsrMsg_Damage::clear_inflictor_world_pos() { - if (_impl_.inflictor_world_pos_ != nullptr) _impl_.inflictor_world_pos_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CCSUsrMsg_Damage::CCSUsrMsg_Damage(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_Damage) -} -CCSUsrMsg_Damage::CCSUsrMsg_Damage(const CCSUsrMsg_Damage& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_Damage* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.inflictor_world_pos_){nullptr} - , decltype(_impl_.amount_){} - , decltype(_impl_.victim_entindex_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_inflictor_world_pos()) { - _this->_impl_.inflictor_world_pos_ = new ::CMsgVector(*from._impl_.inflictor_world_pos_); - } - ::memcpy(&_impl_.amount_, &from._impl_.amount_, - static_cast(reinterpret_cast(&_impl_.victim_entindex_) - - reinterpret_cast(&_impl_.amount_)) + sizeof(_impl_.victim_entindex_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_Damage) -} - -inline void CCSUsrMsg_Damage::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.inflictor_world_pos_){nullptr} - , decltype(_impl_.amount_){0} - , decltype(_impl_.victim_entindex_){-1} - }; -} - -CCSUsrMsg_Damage::~CCSUsrMsg_Damage() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_Damage) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_Damage::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.inflictor_world_pos_; -} - -void CCSUsrMsg_Damage::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_Damage::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_Damage) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.inflictor_world_pos_ != nullptr); - _impl_.inflictor_world_pos_->Clear(); - } - if (cached_has_bits & 0x00000006u) { - _impl_.amount_ = 0; - _impl_.victim_entindex_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_Damage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 amount = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_amount(&has_bits); - _impl_.amount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector inflictor_world_pos = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_inflictor_world_pos(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 victim_entindex = 3 [default = -1]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_victim_entindex(&has_bits); - _impl_.victim_entindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_Damage::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_Damage) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 amount = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_amount(), target); - } - - // optional .CMsgVector inflictor_world_pos = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::inflictor_world_pos(this), - _Internal::inflictor_world_pos(this).GetCachedSize(), target, stream); - } - - // optional int32 victim_entindex = 3 [default = -1]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_victim_entindex(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_Damage) - return target; -} - -size_t CCSUsrMsg_Damage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_Damage) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .CMsgVector inflictor_world_pos = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.inflictor_world_pos_); - } - - // optional int32 amount = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_amount()); - } - - // optional int32 victim_entindex = 3 [default = -1]; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_victim_entindex()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_Damage::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_Damage::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_Damage::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_Damage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_Damage) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_inflictor_world_pos()->::CMsgVector::MergeFrom( - from._internal_inflictor_world_pos()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.amount_ = from._impl_.amount_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.victim_entindex_ = from._impl_.victim_entindex_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_Damage::CopyFrom(const CCSUsrMsg_Damage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_Damage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_Damage::IsInitialized() const { - return true; -} - -void CCSUsrMsg_Damage::InternalSwap(CCSUsrMsg_Damage* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_Damage, _impl_.amount_) - + sizeof(CCSUsrMsg_Damage::_impl_.amount_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_Damage, _impl_.inflictor_world_pos_)>( - reinterpret_cast(&_impl_.inflictor_world_pos_), - reinterpret_cast(&other->_impl_.inflictor_world_pos_)); - swap(_impl_.victim_entindex_, other->_impl_.victim_entindex_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_Damage::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[15]); -} - -// =================================================================== - -class CCSUsrMsg_RadioText::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_msg_dst(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_client(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_msg_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_RadioText::CCSUsrMsg_RadioText(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_RadioText) -} -CCSUsrMsg_RadioText::CCSUsrMsg_RadioText(const CCSUsrMsg_RadioText& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_RadioText* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.params_){from._impl_.params_} - , decltype(_impl_.msg_name_){} - , decltype(_impl_.msg_dst_){} - , decltype(_impl_.client_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.msg_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.msg_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_msg_name()) { - _this->_impl_.msg_name_.Set(from._internal_msg_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.msg_dst_, &from._impl_.msg_dst_, - static_cast(reinterpret_cast(&_impl_.client_) - - reinterpret_cast(&_impl_.msg_dst_)) + sizeof(_impl_.client_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RadioText) -} - -inline void CCSUsrMsg_RadioText::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.params_){arena} - , decltype(_impl_.msg_name_){} - , decltype(_impl_.msg_dst_){0} - , decltype(_impl_.client_){-1} - }; - _impl_.msg_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.msg_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_RadioText::~CCSUsrMsg_RadioText() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_RadioText) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_RadioText::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.params_.~RepeatedPtrField(); - _impl_.msg_name_.Destroy(); -} - -void CCSUsrMsg_RadioText::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_RadioText::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RadioText) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.params_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.msg_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - _impl_.msg_dst_ = 0; - _impl_.client_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_RadioText::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 msg_dst = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_msg_dst(&has_bits); - _impl_.msg_dst_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 client = 2 [default = -1]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_client(&has_bits); - _impl_.client_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string msg_name = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_msg_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_RadioText.msg_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated string params = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_params(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_RadioText.params"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_RadioText::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RadioText) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 msg_dst = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_msg_dst(), target); - } - - // optional int32 client = 2 [default = -1]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_client(), target); - } - - // optional string msg_name = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_msg_name().data(), static_cast(this->_internal_msg_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_RadioText.msg_name"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_msg_name(), target); - } - - // repeated string params = 4; - for (int i = 0, n = this->_internal_params_size(); i < n; i++) { - const auto& s = this->_internal_params(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_RadioText.params"); - target = stream->WriteString(4, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_RadioText) - return target; -} - -size_t CCSUsrMsg_RadioText::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RadioText) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string params = 4; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.params_.size()); - for (int i = 0, n = _impl_.params_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.params_.Get(i)); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string msg_name = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_msg_name()); - } - - // optional int32 msg_dst = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_msg_dst()); - } - - // optional int32 client = 2 [default = -1]; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_client()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RadioText::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_RadioText::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RadioText::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_RadioText::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_RadioText) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.params_.MergeFrom(from._impl_.params_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_msg_name(from._internal_msg_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.msg_dst_ = from._impl_.msg_dst_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.client_ = from._impl_.client_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_RadioText::CopyFrom(const CCSUsrMsg_RadioText& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RadioText) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_RadioText::IsInitialized() const { - return true; -} - -void CCSUsrMsg_RadioText::InternalSwap(CCSUsrMsg_RadioText* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.params_.InternalSwap(&other->_impl_.params_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.msg_name_, lhs_arena, - &other->_impl_.msg_name_, rhs_arena - ); - swap(_impl_.msg_dst_, other->_impl_.msg_dst_); - swap(_impl_.client_, other->_impl_.client_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RadioText::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[16]); -} - -// =================================================================== - -class CCSUsrMsg_HintText::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_message(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_HintText::CCSUsrMsg_HintText(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_HintText) -} -CCSUsrMsg_HintText::CCSUsrMsg_HintText(const CCSUsrMsg_HintText& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_HintText* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.message_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_message()) { - _this->_impl_.message_.Set(from._internal_message(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_HintText) -} - -inline void CCSUsrMsg_HintText::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.message_){} - }; - _impl_.message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_HintText::~CCSUsrMsg_HintText() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_HintText) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_HintText::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.message_.Destroy(); -} - -void CCSUsrMsg_HintText::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_HintText::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_HintText) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.message_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_HintText::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string message = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_message(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_HintText.message"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_HintText::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_HintText) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string message = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_message().data(), static_cast(this->_internal_message().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_HintText.message"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_message(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_HintText) - return target; -} - -size_t CCSUsrMsg_HintText::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_HintText) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string message = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_message()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_HintText::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_HintText::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_HintText::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_HintText::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_HintText) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_message()) { - _this->_internal_set_message(from._internal_message()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_HintText::CopyFrom(const CCSUsrMsg_HintText& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_HintText) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_HintText::IsInitialized() const { - return true; -} - -void CCSUsrMsg_HintText::InternalSwap(CCSUsrMsg_HintText* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.message_, lhs_arena, - &other->_impl_.message_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_HintText::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[17]); -} - -// =================================================================== - -class CCSUsrMsg_KeyHintText::_Internal { - public: -}; - -CCSUsrMsg_KeyHintText::CCSUsrMsg_KeyHintText(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_KeyHintText) -} -CCSUsrMsg_KeyHintText::CCSUsrMsg_KeyHintText(const CCSUsrMsg_KeyHintText& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_KeyHintText* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.messages_){from._impl_.messages_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_KeyHintText) -} - -inline void CCSUsrMsg_KeyHintText::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.messages_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CCSUsrMsg_KeyHintText::~CCSUsrMsg_KeyHintText() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_KeyHintText) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_KeyHintText::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.messages_.~RepeatedPtrField(); -} - -void CCSUsrMsg_KeyHintText::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_KeyHintText::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_KeyHintText) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.messages_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_KeyHintText::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated string messages = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_messages(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_KeyHintText.messages"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_KeyHintText::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_KeyHintText) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string messages = 1; - for (int i = 0, n = this->_internal_messages_size(); i < n; i++) { - const auto& s = this->_internal_messages(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_KeyHintText.messages"); - target = stream->WriteString(1, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_KeyHintText) - return target; -} - -size_t CCSUsrMsg_KeyHintText::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_KeyHintText) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string messages = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.messages_.size()); - for (int i = 0, n = _impl_.messages_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.messages_.Get(i)); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_KeyHintText::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_KeyHintText::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_KeyHintText::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_KeyHintText::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_KeyHintText) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.messages_.MergeFrom(from._impl_.messages_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_KeyHintText::CopyFrom(const CCSUsrMsg_KeyHintText& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_KeyHintText) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_KeyHintText::IsInitialized() const { - return true; -} - -void CCSUsrMsg_KeyHintText::InternalSwap(CCSUsrMsg_KeyHintText* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.messages_.InternalSwap(&other->_impl_.messages_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_KeyHintText::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[18]); -} - -// =================================================================== - -class CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_entity_idx(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_class_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_origin_x(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_origin_y(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_origin_z(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_angle_y(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_defuser(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_player_has_defuser(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_player_has_c4(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } -}; - -CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) -} -CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate(const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.class_id_){} - , decltype(_impl_.origin_x_){} - , decltype(_impl_.origin_y_){} - , decltype(_impl_.origin_z_){} - , decltype(_impl_.angle_y_){} - , decltype(_impl_.defuser_){} - , decltype(_impl_.player_has_defuser_){} - , decltype(_impl_.player_has_c4_){} - , decltype(_impl_.entity_idx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.class_id_, &from._impl_.class_id_, - static_cast(reinterpret_cast(&_impl_.entity_idx_) - - reinterpret_cast(&_impl_.class_id_)) + sizeof(_impl_.entity_idx_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) -} - -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.class_id_){0} - , decltype(_impl_.origin_x_){0} - , decltype(_impl_.origin_y_){0} - , decltype(_impl_.origin_z_){0} - , decltype(_impl_.angle_y_){0} - , decltype(_impl_.defuser_){false} - , decltype(_impl_.player_has_defuser_){false} - , decltype(_impl_.player_has_c4_){false} - , decltype(_impl_.entity_idx_){-1} - }; -} - -CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::~CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.class_id_, 0, static_cast( - reinterpret_cast(&_impl_.player_has_c4_) - - reinterpret_cast(&_impl_.class_id_)) + sizeof(_impl_.player_has_c4_)); - } - _impl_.entity_idx_ = -1; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 entity_idx = 1 [default = -1]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_entity_idx(&has_bits); - _impl_.entity_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 class_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_class_id(&has_bits); - _impl_.class_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 origin_x = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_origin_x(&has_bits); - _impl_.origin_x_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 origin_y = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_origin_y(&has_bits); - _impl_.origin_y_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 origin_z = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_origin_z(&has_bits); - _impl_.origin_z_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 angle_y = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_angle_y(&has_bits); - _impl_.angle_y_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool defuser = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_defuser(&has_bits); - _impl_.defuser_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool player_has_defuser = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_player_has_defuser(&has_bits); - _impl_.player_has_defuser_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool player_has_c4 = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_player_has_c4(&has_bits); - _impl_.player_has_c4_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 entity_idx = 1 [default = -1]; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entity_idx(), target); - } - - // optional int32 class_id = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_class_id(), target); - } - - // optional int32 origin_x = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_origin_x(), target); - } - - // optional int32 origin_y = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_origin_y(), target); - } - - // optional int32 origin_z = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_origin_z(), target); - } - - // optional int32 angle_y = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_angle_y(), target); - } - - // optional bool defuser = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_defuser(), target); - } - - // optional bool player_has_defuser = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_player_has_defuser(), target); - } - - // optional bool player_has_c4 = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_player_has_c4(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) - return target; -} - -size_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional int32 class_id = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_class_id()); - } - - // optional int32 origin_x = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_origin_x()); - } - - // optional int32 origin_y = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_origin_y()); - } - - // optional int32 origin_z = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_origin_z()); - } - - // optional int32 angle_y = 6; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_angle_y()); - } - - // optional bool defuser = 7; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 1; - } - - // optional bool player_has_defuser = 8; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 1; - } - - // optional bool player_has_c4 = 9; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 1; - } - - } - // optional int32 entity_idx = 1 [default = -1]; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entity_idx()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.class_id_ = from._impl_.class_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.origin_x_ = from._impl_.origin_x_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.origin_y_ = from._impl_.origin_y_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.origin_z_ = from._impl_.origin_z_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.angle_y_ = from._impl_.angle_y_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.defuser_ = from._impl_.defuser_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.player_has_defuser_ = from._impl_.player_has_defuser_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.player_has_c4_ = from._impl_.player_has_c4_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_entity_idx(from._internal_entity_idx()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::CopyFrom(const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::IsInitialized() const { - return true; -} - -void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::InternalSwap(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.player_has_c4_) - + sizeof(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_impl_.player_has_c4_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate, _impl_.class_id_)>( - reinterpret_cast(&_impl_.class_id_), - reinterpret_cast(&other->_impl_.class_id_)); - swap(_impl_.entity_idx_, other->_impl_.entity_idx_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[19]); -} - -// =================================================================== - -class CCSUsrMsg_ProcessSpottedEntityUpdate::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_new_update(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_ProcessSpottedEntityUpdate::CCSUsrMsg_ProcessSpottedEntityUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_ProcessSpottedEntityUpdate) -} -CCSUsrMsg_ProcessSpottedEntityUpdate::CCSUsrMsg_ProcessSpottedEntityUpdate(const CCSUsrMsg_ProcessSpottedEntityUpdate& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_ProcessSpottedEntityUpdate* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entity_updates_){from._impl_.entity_updates_} - , decltype(_impl_.new_update_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.new_update_ = from._impl_.new_update_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ProcessSpottedEntityUpdate) -} - -inline void CCSUsrMsg_ProcessSpottedEntityUpdate::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entity_updates_){arena} - , decltype(_impl_.new_update_){false} - }; -} - -CCSUsrMsg_ProcessSpottedEntityUpdate::~CCSUsrMsg_ProcessSpottedEntityUpdate() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_ProcessSpottedEntityUpdate) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_ProcessSpottedEntityUpdate::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.entity_updates_.~RepeatedPtrField(); -} - -void CCSUsrMsg_ProcessSpottedEntityUpdate::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_ProcessSpottedEntityUpdate::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ProcessSpottedEntityUpdate) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.entity_updates_.Clear(); - _impl_.new_update_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_ProcessSpottedEntityUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool new_update = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_new_update(&has_bits); - _impl_.new_update_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate entity_updates = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_entity_updates(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_ProcessSpottedEntityUpdate::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ProcessSpottedEntityUpdate) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool new_update = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_new_update(), target); - } - - // repeated .CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate entity_updates = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_entity_updates_size()); i < n; i++) { - const auto& repfield = this->_internal_entity_updates(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_ProcessSpottedEntityUpdate) - return target; -} - -size_t CCSUsrMsg_ProcessSpottedEntityUpdate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ProcessSpottedEntityUpdate) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate entity_updates = 2; - total_size += 1UL * this->_internal_entity_updates_size(); - for (const auto& msg : this->_impl_.entity_updates_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional bool new_update = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ProcessSpottedEntityUpdate::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_ProcessSpottedEntityUpdate::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ProcessSpottedEntityUpdate::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_ProcessSpottedEntityUpdate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_ProcessSpottedEntityUpdate) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.entity_updates_.MergeFrom(from._impl_.entity_updates_); - if (from._internal_has_new_update()) { - _this->_internal_set_new_update(from._internal_new_update()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_ProcessSpottedEntityUpdate::CopyFrom(const CCSUsrMsg_ProcessSpottedEntityUpdate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ProcessSpottedEntityUpdate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_ProcessSpottedEntityUpdate::IsInitialized() const { - return true; -} - -void CCSUsrMsg_ProcessSpottedEntityUpdate::InternalSwap(CCSUsrMsg_ProcessSpottedEntityUpdate* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.entity_updates_.InternalSwap(&other->_impl_.entity_updates_); - swap(_impl_.new_update_, other->_impl_.new_update_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ProcessSpottedEntityUpdate::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[20]); -} - -// =================================================================== - -class CCSUsrMsg_SendPlayerItemDrops::_Internal { - public: -}; - -void CCSUsrMsg_SendPlayerItemDrops::clear_entity_updates() { - _impl_.entity_updates_.Clear(); -} -CCSUsrMsg_SendPlayerItemDrops::CCSUsrMsg_SendPlayerItemDrops(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_SendPlayerItemDrops) -} -CCSUsrMsg_SendPlayerItemDrops::CCSUsrMsg_SendPlayerItemDrops(const CCSUsrMsg_SendPlayerItemDrops& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_SendPlayerItemDrops* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.entity_updates_){from._impl_.entity_updates_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SendPlayerItemDrops) -} - -inline void CCSUsrMsg_SendPlayerItemDrops::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.entity_updates_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CCSUsrMsg_SendPlayerItemDrops::~CCSUsrMsg_SendPlayerItemDrops() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_SendPlayerItemDrops) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_SendPlayerItemDrops::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.entity_updates_.~RepeatedPtrField(); -} - -void CCSUsrMsg_SendPlayerItemDrops::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_SendPlayerItemDrops::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SendPlayerItemDrops) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.entity_updates_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_SendPlayerItemDrops::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CEconItemPreviewDataBlock entity_updates = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_entity_updates(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_SendPlayerItemDrops::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SendPlayerItemDrops) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CEconItemPreviewDataBlock entity_updates = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_entity_updates_size()); i < n; i++) { - const auto& repfield = this->_internal_entity_updates(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_SendPlayerItemDrops) - return target; -} - -size_t CCSUsrMsg_SendPlayerItemDrops::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SendPlayerItemDrops) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CEconItemPreviewDataBlock entity_updates = 1; - total_size += 1UL * this->_internal_entity_updates_size(); - for (const auto& msg : this->_impl_.entity_updates_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SendPlayerItemDrops::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_SendPlayerItemDrops::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SendPlayerItemDrops::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_SendPlayerItemDrops::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_SendPlayerItemDrops) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.entity_updates_.MergeFrom(from._impl_.entity_updates_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_SendPlayerItemDrops::CopyFrom(const CCSUsrMsg_SendPlayerItemDrops& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SendPlayerItemDrops) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_SendPlayerItemDrops::IsInitialized() const { - return true; -} - -void CCSUsrMsg_SendPlayerItemDrops::InternalSwap(CCSUsrMsg_SendPlayerItemDrops* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.entity_updates_.InternalSwap(&other->_impl_.entity_updates_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SendPlayerItemDrops::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[21]); -} - -// =================================================================== - -class CCSUsrMsg_SendPlayerItemFound::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CEconItemPreviewDataBlock& iteminfo(const CCSUsrMsg_SendPlayerItemFound* msg); - static void set_has_iteminfo(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_playerslot(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CEconItemPreviewDataBlock& -CCSUsrMsg_SendPlayerItemFound::_Internal::iteminfo(const CCSUsrMsg_SendPlayerItemFound* msg) { - return *msg->_impl_.iteminfo_; -} -void CCSUsrMsg_SendPlayerItemFound::clear_iteminfo() { - if (_impl_.iteminfo_ != nullptr) _impl_.iteminfo_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CCSUsrMsg_SendPlayerItemFound::CCSUsrMsg_SendPlayerItemFound(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_SendPlayerItemFound) -} -CCSUsrMsg_SendPlayerItemFound::CCSUsrMsg_SendPlayerItemFound(const CCSUsrMsg_SendPlayerItemFound& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_SendPlayerItemFound* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.iteminfo_){nullptr} - , decltype(_impl_.playerslot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_iteminfo()) { - _this->_impl_.iteminfo_ = new ::CEconItemPreviewDataBlock(*from._impl_.iteminfo_); - } - _this->_impl_.playerslot_ = from._impl_.playerslot_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SendPlayerItemFound) -} - -inline void CCSUsrMsg_SendPlayerItemFound::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.iteminfo_){nullptr} - , decltype(_impl_.playerslot_){-1} - }; -} - -CCSUsrMsg_SendPlayerItemFound::~CCSUsrMsg_SendPlayerItemFound() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_SendPlayerItemFound) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_SendPlayerItemFound::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.iteminfo_; -} - -void CCSUsrMsg_SendPlayerItemFound::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_SendPlayerItemFound::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SendPlayerItemFound) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.iteminfo_ != nullptr); - _impl_.iteminfo_->Clear(); - } - _impl_.playerslot_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_SendPlayerItemFound::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CEconItemPreviewDataBlock iteminfo = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_iteminfo(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 playerslot = 2 [default = -1]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_playerslot(&has_bits); - _impl_.playerslot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_SendPlayerItemFound::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SendPlayerItemFound) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CEconItemPreviewDataBlock iteminfo = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::iteminfo(this), - _Internal::iteminfo(this).GetCachedSize(), target, stream); - } - - // optional int32 playerslot = 2 [default = -1]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_playerslot(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_SendPlayerItemFound) - return target; -} - -size_t CCSUsrMsg_SendPlayerItemFound::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SendPlayerItemFound) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CEconItemPreviewDataBlock iteminfo = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.iteminfo_); - } - - // optional int32 playerslot = 2 [default = -1]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playerslot()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SendPlayerItemFound::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_SendPlayerItemFound::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SendPlayerItemFound::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_SendPlayerItemFound::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_SendPlayerItemFound) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_iteminfo()->::CEconItemPreviewDataBlock::MergeFrom( - from._internal_iteminfo()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.playerslot_ = from._impl_.playerslot_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_SendPlayerItemFound::CopyFrom(const CCSUsrMsg_SendPlayerItemFound& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SendPlayerItemFound) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_SendPlayerItemFound::IsInitialized() const { - return true; -} - -void CCSUsrMsg_SendPlayerItemFound::InternalSwap(CCSUsrMsg_SendPlayerItemFound* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.iteminfo_, other->_impl_.iteminfo_); - swap(_impl_.playerslot_, other->_impl_.playerslot_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SendPlayerItemFound::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[22]); -} - -// =================================================================== - -class CCSUsrMsg_ReloadEffect::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_entidx(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_actanim(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_origin_x(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_origin_y(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_origin_z(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CCSUsrMsg_ReloadEffect::CCSUsrMsg_ReloadEffect(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_ReloadEffect) -} -CCSUsrMsg_ReloadEffect::CCSUsrMsg_ReloadEffect(const CCSUsrMsg_ReloadEffect& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_ReloadEffect* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.actanim_){} - , decltype(_impl_.origin_x_){} - , decltype(_impl_.origin_y_){} - , decltype(_impl_.origin_z_){} - , decltype(_impl_.entidx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.actanim_, &from._impl_.actanim_, - static_cast(reinterpret_cast(&_impl_.entidx_) - - reinterpret_cast(&_impl_.actanim_)) + sizeof(_impl_.entidx_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ReloadEffect) -} - -inline void CCSUsrMsg_ReloadEffect::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.actanim_){0} - , decltype(_impl_.origin_x_){0} - , decltype(_impl_.origin_y_){0} - , decltype(_impl_.origin_z_){0} - , decltype(_impl_.entidx_){-1} - }; -} - -CCSUsrMsg_ReloadEffect::~CCSUsrMsg_ReloadEffect() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_ReloadEffect) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_ReloadEffect::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_ReloadEffect::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_ReloadEffect::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ReloadEffect) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.actanim_, 0, static_cast( - reinterpret_cast(&_impl_.origin_z_) - - reinterpret_cast(&_impl_.actanim_)) + sizeof(_impl_.origin_z_)); - _impl_.entidx_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_ReloadEffect::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 entidx = 1 [default = -1]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_entidx(&has_bits); - _impl_.entidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 actanim = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_actanim(&has_bits); - _impl_.actanim_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float origin_x = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_origin_x(&has_bits); - _impl_.origin_x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float origin_y = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_origin_y(&has_bits); - _impl_.origin_y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float origin_z = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_origin_z(&has_bits); - _impl_.origin_z_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_ReloadEffect::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ReloadEffect) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 entidx = 1 [default = -1]; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entidx(), target); - } - - // optional int32 actanim = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_actanim(), target); - } - - // optional float origin_x = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_origin_x(), target); - } - - // optional float origin_y = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_origin_y(), target); - } - - // optional float origin_z = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_origin_z(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_ReloadEffect) - return target; -} - -size_t CCSUsrMsg_ReloadEffect::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ReloadEffect) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional int32 actanim = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_actanim()); - } - - // optional float origin_x = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float origin_y = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional float origin_z = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - // optional int32 entidx = 1 [default = -1]; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entidx()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ReloadEffect::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_ReloadEffect::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ReloadEffect::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_ReloadEffect::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_ReloadEffect) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.actanim_ = from._impl_.actanim_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.origin_x_ = from._impl_.origin_x_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.origin_y_ = from._impl_.origin_y_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.origin_z_ = from._impl_.origin_z_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.entidx_ = from._impl_.entidx_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_ReloadEffect::CopyFrom(const CCSUsrMsg_ReloadEffect& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ReloadEffect) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_ReloadEffect::IsInitialized() const { - return true; -} - -void CCSUsrMsg_ReloadEffect::InternalSwap(CCSUsrMsg_ReloadEffect* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ReloadEffect, _impl_.origin_z_) - + sizeof(CCSUsrMsg_ReloadEffect::_impl_.origin_z_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ReloadEffect, _impl_.actanim_)>( - reinterpret_cast(&_impl_.actanim_), - reinterpret_cast(&other->_impl_.actanim_)); - swap(_impl_.entidx_, other->_impl_.entidx_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ReloadEffect::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[23]); -} - -// =================================================================== - -class CCSUsrMsg_WeaponSound::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_entidx(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_origin_x(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_origin_y(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_origin_z(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_sound(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_game_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_source_soundscapeid(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } -}; - -CCSUsrMsg_WeaponSound::CCSUsrMsg_WeaponSound(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_WeaponSound) -} -CCSUsrMsg_WeaponSound::CCSUsrMsg_WeaponSound(const CCSUsrMsg_WeaponSound& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_WeaponSound* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sound_){} - , decltype(_impl_.origin_x_){} - , decltype(_impl_.origin_y_){} - , decltype(_impl_.origin_z_){} - , decltype(_impl_.game_timestamp_){} - , decltype(_impl_.source_soundscapeid_){} - , decltype(_impl_.entidx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.sound_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sound_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_sound()) { - _this->_impl_.sound_.Set(from._internal_sound(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.origin_x_, &from._impl_.origin_x_, - static_cast(reinterpret_cast(&_impl_.entidx_) - - reinterpret_cast(&_impl_.origin_x_)) + sizeof(_impl_.entidx_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_WeaponSound) -} - -inline void CCSUsrMsg_WeaponSound::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sound_){} - , decltype(_impl_.origin_x_){0} - , decltype(_impl_.origin_y_){0} - , decltype(_impl_.origin_z_){0} - , decltype(_impl_.game_timestamp_){0} - , decltype(_impl_.source_soundscapeid_){0u} - , decltype(_impl_.entidx_){-1} - }; - _impl_.sound_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sound_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_WeaponSound::~CCSUsrMsg_WeaponSound() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_WeaponSound) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_WeaponSound::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.sound_.Destroy(); -} - -void CCSUsrMsg_WeaponSound::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_WeaponSound::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_WeaponSound) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.sound_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000007eu) { - ::memset(&_impl_.origin_x_, 0, static_cast( - reinterpret_cast(&_impl_.source_soundscapeid_) - - reinterpret_cast(&_impl_.origin_x_)) + sizeof(_impl_.source_soundscapeid_)); - _impl_.entidx_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_WeaponSound::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 entidx = 1 [default = -1]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_entidx(&has_bits); - _impl_.entidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float origin_x = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_origin_x(&has_bits); - _impl_.origin_x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float origin_y = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_origin_y(&has_bits); - _impl_.origin_y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float origin_z = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_origin_z(&has_bits); - _impl_.origin_z_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional string sound = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_sound(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_WeaponSound.sound"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional float game_timestamp = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - _Internal::set_has_game_timestamp(&has_bits); - _impl_.game_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional fixed32 source_soundscapeid = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_source_soundscapeid(&has_bits); - _impl_.source_soundscapeid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_WeaponSound::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_WeaponSound) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 entidx = 1 [default = -1]; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entidx(), target); - } - - // optional float origin_x = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_origin_x(), target); - } - - // optional float origin_y = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_origin_y(), target); - } - - // optional float origin_z = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_origin_z(), target); - } - - // optional string sound = 5; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_sound().data(), static_cast(this->_internal_sound().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_WeaponSound.sound"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_sound(), target); - } - - // optional float game_timestamp = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_game_timestamp(), target); - } - - // optional fixed32 source_soundscapeid = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_source_soundscapeid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_WeaponSound) - return target; -} - -size_t CCSUsrMsg_WeaponSound::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_WeaponSound) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional string sound = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_sound()); - } - - // optional float origin_x = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float origin_y = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional float origin_z = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - // optional float game_timestamp = 6; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional fixed32 source_soundscapeid = 7; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional int32 entidx = 1 [default = -1]; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entidx()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_WeaponSound::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_WeaponSound::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_WeaponSound::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_WeaponSound::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_WeaponSound) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_sound(from._internal_sound()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.origin_x_ = from._impl_.origin_x_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.origin_y_ = from._impl_.origin_y_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.origin_z_ = from._impl_.origin_z_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.game_timestamp_ = from._impl_.game_timestamp_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.source_soundscapeid_ = from._impl_.source_soundscapeid_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.entidx_ = from._impl_.entidx_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_WeaponSound::CopyFrom(const CCSUsrMsg_WeaponSound& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_WeaponSound) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_WeaponSound::IsInitialized() const { - return true; -} - -void CCSUsrMsg_WeaponSound::InternalSwap(CCSUsrMsg_WeaponSound* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.sound_, lhs_arena, - &other->_impl_.sound_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_WeaponSound, _impl_.source_soundscapeid_) - + sizeof(CCSUsrMsg_WeaponSound::_impl_.source_soundscapeid_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_WeaponSound, _impl_.origin_x_)>( - reinterpret_cast(&_impl_.origin_x_), - reinterpret_cast(&other->_impl_.origin_x_)); - swap(_impl_.entidx_, other->_impl_.entidx_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_WeaponSound::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[24]); -} - -// =================================================================== - -class CCSUsrMsg_UpdateScreenHealthBar::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_entidx(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_healthratio_old(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_healthratio_new(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_style(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CCSUsrMsg_UpdateScreenHealthBar::CCSUsrMsg_UpdateScreenHealthBar(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_UpdateScreenHealthBar) -} -CCSUsrMsg_UpdateScreenHealthBar::CCSUsrMsg_UpdateScreenHealthBar(const CCSUsrMsg_UpdateScreenHealthBar& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_UpdateScreenHealthBar* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.healthratio_old_){} - , decltype(_impl_.healthratio_new_){} - , decltype(_impl_.style_){} - , decltype(_impl_.entidx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.healthratio_old_, &from._impl_.healthratio_old_, - static_cast(reinterpret_cast(&_impl_.entidx_) - - reinterpret_cast(&_impl_.healthratio_old_)) + sizeof(_impl_.entidx_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_UpdateScreenHealthBar) -} - -inline void CCSUsrMsg_UpdateScreenHealthBar::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.healthratio_old_){0} - , decltype(_impl_.healthratio_new_){0} - , decltype(_impl_.style_){0} - , decltype(_impl_.entidx_){-1} - }; -} - -CCSUsrMsg_UpdateScreenHealthBar::~CCSUsrMsg_UpdateScreenHealthBar() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_UpdateScreenHealthBar) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_UpdateScreenHealthBar::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_UpdateScreenHealthBar::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_UpdateScreenHealthBar::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_UpdateScreenHealthBar) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.healthratio_old_, 0, static_cast( - reinterpret_cast(&_impl_.style_) - - reinterpret_cast(&_impl_.healthratio_old_)) + sizeof(_impl_.style_)); - _impl_.entidx_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_UpdateScreenHealthBar::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 entidx = 1 [default = -1]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_entidx(&has_bits); - _impl_.entidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float healthratio_old = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_healthratio_old(&has_bits); - _impl_.healthratio_old_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float healthratio_new = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_healthratio_new(&has_bits); - _impl_.healthratio_new_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 style = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_style(&has_bits); - _impl_.style_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_UpdateScreenHealthBar::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_UpdateScreenHealthBar) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 entidx = 1 [default = -1]; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entidx(), target); - } - - // optional float healthratio_old = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_healthratio_old(), target); - } - - // optional float healthratio_new = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_healthratio_new(), target); - } - - // optional int32 style = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_style(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_UpdateScreenHealthBar) - return target; -} - -size_t CCSUsrMsg_UpdateScreenHealthBar::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_UpdateScreenHealthBar) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional float healthratio_old = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional float healthratio_new = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional int32 style = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_style()); - } - - // optional int32 entidx = 1 [default = -1]; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entidx()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_UpdateScreenHealthBar::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_UpdateScreenHealthBar::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_UpdateScreenHealthBar::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_UpdateScreenHealthBar::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_UpdateScreenHealthBar) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.healthratio_old_ = from._impl_.healthratio_old_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.healthratio_new_ = from._impl_.healthratio_new_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.style_ = from._impl_.style_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.entidx_ = from._impl_.entidx_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_UpdateScreenHealthBar::CopyFrom(const CCSUsrMsg_UpdateScreenHealthBar& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_UpdateScreenHealthBar) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_UpdateScreenHealthBar::IsInitialized() const { - return true; -} - -void CCSUsrMsg_UpdateScreenHealthBar::InternalSwap(CCSUsrMsg_UpdateScreenHealthBar* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_UpdateScreenHealthBar, _impl_.style_) - + sizeof(CCSUsrMsg_UpdateScreenHealthBar::_impl_.style_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_UpdateScreenHealthBar, _impl_.healthratio_old_)>( - reinterpret_cast(&_impl_.healthratio_old_), - reinterpret_cast(&other->_impl_.healthratio_old_)); - swap(_impl_.entidx_, other->_impl_.entidx_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_UpdateScreenHealthBar::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[25]); -} - -// =================================================================== - -class CCSUsrMsg_EntityOutlineHighlight::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_entidx(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_removehighlight(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_EntityOutlineHighlight::CCSUsrMsg_EntityOutlineHighlight(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_EntityOutlineHighlight) -} -CCSUsrMsg_EntityOutlineHighlight::CCSUsrMsg_EntityOutlineHighlight(const CCSUsrMsg_EntityOutlineHighlight& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_EntityOutlineHighlight* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.removehighlight_){} - , decltype(_impl_.entidx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.removehighlight_, &from._impl_.removehighlight_, - static_cast(reinterpret_cast(&_impl_.entidx_) - - reinterpret_cast(&_impl_.removehighlight_)) + sizeof(_impl_.entidx_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_EntityOutlineHighlight) -} - -inline void CCSUsrMsg_EntityOutlineHighlight::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.removehighlight_){false} - , decltype(_impl_.entidx_){-1} - }; -} - -CCSUsrMsg_EntityOutlineHighlight::~CCSUsrMsg_EntityOutlineHighlight() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_EntityOutlineHighlight) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_EntityOutlineHighlight::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_EntityOutlineHighlight::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_EntityOutlineHighlight::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_EntityOutlineHighlight) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - _impl_.removehighlight_ = false; - _impl_.entidx_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_EntityOutlineHighlight::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 entidx = 1 [default = -1]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_entidx(&has_bits); - _impl_.entidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool removehighlight = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_removehighlight(&has_bits); - _impl_.removehighlight_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_EntityOutlineHighlight::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_EntityOutlineHighlight) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 entidx = 1 [default = -1]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entidx(), target); - } - - // optional bool removehighlight = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_removehighlight(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_EntityOutlineHighlight) - return target; -} - -size_t CCSUsrMsg_EntityOutlineHighlight::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_EntityOutlineHighlight) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bool removehighlight = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - // optional int32 entidx = 1 [default = -1]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entidx()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_EntityOutlineHighlight::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_EntityOutlineHighlight::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_EntityOutlineHighlight::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_EntityOutlineHighlight::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_EntityOutlineHighlight) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.removehighlight_ = from._impl_.removehighlight_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.entidx_ = from._impl_.entidx_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_EntityOutlineHighlight::CopyFrom(const CCSUsrMsg_EntityOutlineHighlight& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_EntityOutlineHighlight) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_EntityOutlineHighlight::IsInitialized() const { - return true; -} - -void CCSUsrMsg_EntityOutlineHighlight::InternalSwap(CCSUsrMsg_EntityOutlineHighlight* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.removehighlight_, other->_impl_.removehighlight_); - swap(_impl_.entidx_, other->_impl_.entidx_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_EntityOutlineHighlight::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[26]); -} - -// =================================================================== - -class CCSUsrMsg_AdjustMoney::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_amount(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_AdjustMoney::CCSUsrMsg_AdjustMoney(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_AdjustMoney) -} -CCSUsrMsg_AdjustMoney::CCSUsrMsg_AdjustMoney(const CCSUsrMsg_AdjustMoney& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_AdjustMoney* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.amount_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.amount_ = from._impl_.amount_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_AdjustMoney) -} - -inline void CCSUsrMsg_AdjustMoney::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.amount_){0} - }; -} - -CCSUsrMsg_AdjustMoney::~CCSUsrMsg_AdjustMoney() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_AdjustMoney) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_AdjustMoney::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_AdjustMoney::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_AdjustMoney::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_AdjustMoney) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.amount_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_AdjustMoney::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 amount = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_amount(&has_bits); - _impl_.amount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_AdjustMoney::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_AdjustMoney) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 amount = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_amount(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_AdjustMoney) - return target; -} - -size_t CCSUsrMsg_AdjustMoney::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_AdjustMoney) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 amount = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_amount()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_AdjustMoney::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_AdjustMoney::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_AdjustMoney::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_AdjustMoney::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_AdjustMoney) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_amount()) { - _this->_internal_set_amount(from._internal_amount()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_AdjustMoney::CopyFrom(const CCSUsrMsg_AdjustMoney& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_AdjustMoney) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_AdjustMoney::IsInitialized() const { - return true; -} - -void CCSUsrMsg_AdjustMoney::InternalSwap(CCSUsrMsg_AdjustMoney* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.amount_, other->_impl_.amount_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_AdjustMoney::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[27]); -} - -// =================================================================== - -class CCSUsrMsg_ReportHit::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_pos_x(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_pos_y(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_pos_z(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CCSUsrMsg_ReportHit::CCSUsrMsg_ReportHit(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_ReportHit) -} -CCSUsrMsg_ReportHit::CCSUsrMsg_ReportHit(const CCSUsrMsg_ReportHit& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_ReportHit* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pos_x_){} - , decltype(_impl_.pos_y_){} - , decltype(_impl_.pos_z_){} - , decltype(_impl_.timestamp_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.pos_x_, &from._impl_.pos_x_, - static_cast(reinterpret_cast(&_impl_.timestamp_) - - reinterpret_cast(&_impl_.pos_x_)) + sizeof(_impl_.timestamp_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ReportHit) -} - -inline void CCSUsrMsg_ReportHit::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pos_x_){0} - , decltype(_impl_.pos_y_){0} - , decltype(_impl_.pos_z_){0} - , decltype(_impl_.timestamp_){0} - }; -} - -CCSUsrMsg_ReportHit::~CCSUsrMsg_ReportHit() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_ReportHit) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_ReportHit::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_ReportHit::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_ReportHit::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ReportHit) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.pos_x_, 0, static_cast( - reinterpret_cast(&_impl_.timestamp_) - - reinterpret_cast(&_impl_.pos_x_)) + sizeof(_impl_.timestamp_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_ReportHit::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float pos_x = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_pos_x(&has_bits); - _impl_.pos_x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float pos_y = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_pos_y(&has_bits); - _impl_.pos_y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float pos_z = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_pos_z(&has_bits); - _impl_.pos_z_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float timestamp = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_timestamp(&has_bits); - _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_ReportHit::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ReportHit) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float pos_x = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_pos_x(), target); - } - - // optional float pos_y = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_pos_y(), target); - } - - // optional float pos_z = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_pos_z(), target); - } - - // optional float timestamp = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_timestamp(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_ReportHit) - return target; -} - -size_t CCSUsrMsg_ReportHit::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ReportHit) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional float pos_x = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional float pos_y = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float pos_z = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional float timestamp = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ReportHit::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_ReportHit::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ReportHit::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_ReportHit::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_ReportHit) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.pos_x_ = from._impl_.pos_x_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.pos_y_ = from._impl_.pos_y_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.pos_z_ = from._impl_.pos_z_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.timestamp_ = from._impl_.timestamp_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_ReportHit::CopyFrom(const CCSUsrMsg_ReportHit& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ReportHit) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_ReportHit::IsInitialized() const { - return true; -} - -void CCSUsrMsg_ReportHit::InternalSwap(CCSUsrMsg_ReportHit* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ReportHit, _impl_.timestamp_) - + sizeof(CCSUsrMsg_ReportHit::_impl_.timestamp_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ReportHit, _impl_.pos_x_)>( - reinterpret_cast(&_impl_.pos_x_), - reinterpret_cast(&other->_impl_.pos_x_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ReportHit::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[28]); -} - -// =================================================================== - -class CCSUsrMsg_KillCam::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_obs_mode(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_first_target(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_second_target(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CCSUsrMsg_KillCam::CCSUsrMsg_KillCam(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_KillCam) -} -CCSUsrMsg_KillCam::CCSUsrMsg_KillCam(const CCSUsrMsg_KillCam& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_KillCam* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.obs_mode_){} - , decltype(_impl_.first_target_){} - , decltype(_impl_.second_target_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.obs_mode_, &from._impl_.obs_mode_, - static_cast(reinterpret_cast(&_impl_.second_target_) - - reinterpret_cast(&_impl_.obs_mode_)) + sizeof(_impl_.second_target_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_KillCam) -} - -inline void CCSUsrMsg_KillCam::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.obs_mode_){0} - , decltype(_impl_.first_target_){-1} - , decltype(_impl_.second_target_){-1} - }; -} - -CCSUsrMsg_KillCam::~CCSUsrMsg_KillCam() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_KillCam) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_KillCam::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_KillCam::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_KillCam::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_KillCam) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - _impl_.obs_mode_ = 0; - _impl_.first_target_ = -1; - _impl_.second_target_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_KillCam::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 obs_mode = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_obs_mode(&has_bits); - _impl_.obs_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 first_target = 2 [default = -1]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_first_target(&has_bits); - _impl_.first_target_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 second_target = 3 [default = -1]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_second_target(&has_bits); - _impl_.second_target_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_KillCam::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_KillCam) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 obs_mode = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_obs_mode(), target); - } - - // optional int32 first_target = 2 [default = -1]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_first_target(), target); - } - - // optional int32 second_target = 3 [default = -1]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_second_target(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_KillCam) - return target; -} - -size_t CCSUsrMsg_KillCam::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_KillCam) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 obs_mode = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_obs_mode()); - } - - // optional int32 first_target = 2 [default = -1]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_first_target()); - } - - // optional int32 second_target = 3 [default = -1]; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_second_target()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_KillCam::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_KillCam::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_KillCam::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_KillCam::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_KillCam) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.obs_mode_ = from._impl_.obs_mode_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.first_target_ = from._impl_.first_target_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.second_target_ = from._impl_.second_target_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_KillCam::CopyFrom(const CCSUsrMsg_KillCam& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_KillCam) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_KillCam::IsInitialized() const { - return true; -} - -void CCSUsrMsg_KillCam::InternalSwap(CCSUsrMsg_KillCam* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.obs_mode_, other->_impl_.obs_mode_); - swap(_impl_.first_target_, other->_impl_.first_target_); - swap(_impl_.second_target_, other->_impl_.second_target_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_KillCam::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[29]); -} - -// =================================================================== - -class CCSUsrMsg_DesiredTimescale::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_desired_timescale(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_duration_realtime_sec(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_interpolator_type(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_start_blend_time(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CCSUsrMsg_DesiredTimescale::CCSUsrMsg_DesiredTimescale(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_DesiredTimescale) -} -CCSUsrMsg_DesiredTimescale::CCSUsrMsg_DesiredTimescale(const CCSUsrMsg_DesiredTimescale& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_DesiredTimescale* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.desired_timescale_){} - , decltype(_impl_.duration_realtime_sec_){} - , decltype(_impl_.interpolator_type_){} - , decltype(_impl_.start_blend_time_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.desired_timescale_, &from._impl_.desired_timescale_, - static_cast(reinterpret_cast(&_impl_.start_blend_time_) - - reinterpret_cast(&_impl_.desired_timescale_)) + sizeof(_impl_.start_blend_time_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_DesiredTimescale) -} - -inline void CCSUsrMsg_DesiredTimescale::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.desired_timescale_){0} - , decltype(_impl_.duration_realtime_sec_){0} - , decltype(_impl_.interpolator_type_){0} - , decltype(_impl_.start_blend_time_){0} - }; -} - -CCSUsrMsg_DesiredTimescale::~CCSUsrMsg_DesiredTimescale() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_DesiredTimescale) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_DesiredTimescale::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_DesiredTimescale::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_DesiredTimescale::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_DesiredTimescale) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.desired_timescale_, 0, static_cast( - reinterpret_cast(&_impl_.start_blend_time_) - - reinterpret_cast(&_impl_.desired_timescale_)) + sizeof(_impl_.start_blend_time_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_DesiredTimescale::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float desired_timescale = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_desired_timescale(&has_bits); - _impl_.desired_timescale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float duration_realtime_sec = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_duration_realtime_sec(&has_bits); - _impl_.duration_realtime_sec_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 interpolator_type = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_interpolator_type(&has_bits); - _impl_.interpolator_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float start_blend_time = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_start_blend_time(&has_bits); - _impl_.start_blend_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_DesiredTimescale::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_DesiredTimescale) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float desired_timescale = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_desired_timescale(), target); - } - - // optional float duration_realtime_sec = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_duration_realtime_sec(), target); - } - - // optional int32 interpolator_type = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_interpolator_type(), target); - } - - // optional float start_blend_time = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_start_blend_time(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_DesiredTimescale) - return target; -} - -size_t CCSUsrMsg_DesiredTimescale::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_DesiredTimescale) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional float desired_timescale = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional float duration_realtime_sec = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional int32 interpolator_type = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_interpolator_type()); - } - - // optional float start_blend_time = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_DesiredTimescale::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_DesiredTimescale::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_DesiredTimescale::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_DesiredTimescale::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_DesiredTimescale) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.desired_timescale_ = from._impl_.desired_timescale_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.duration_realtime_sec_ = from._impl_.duration_realtime_sec_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.interpolator_type_ = from._impl_.interpolator_type_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.start_blend_time_ = from._impl_.start_blend_time_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_DesiredTimescale::CopyFrom(const CCSUsrMsg_DesiredTimescale& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_DesiredTimescale) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_DesiredTimescale::IsInitialized() const { - return true; -} - -void CCSUsrMsg_DesiredTimescale::InternalSwap(CCSUsrMsg_DesiredTimescale* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_DesiredTimescale, _impl_.start_blend_time_) - + sizeof(CCSUsrMsg_DesiredTimescale::_impl_.start_blend_time_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_DesiredTimescale, _impl_.desired_timescale_)>( - reinterpret_cast(&_impl_.desired_timescale_), - reinterpret_cast(&other->_impl_.desired_timescale_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_DesiredTimescale::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[30]); -} - -// =================================================================== - -class CCSUsrMsg_CurrentTimescale::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_cur_timescale(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_CurrentTimescale::CCSUsrMsg_CurrentTimescale(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_CurrentTimescale) -} -CCSUsrMsg_CurrentTimescale::CCSUsrMsg_CurrentTimescale(const CCSUsrMsg_CurrentTimescale& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_CurrentTimescale* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cur_timescale_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.cur_timescale_ = from._impl_.cur_timescale_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_CurrentTimescale) -} - -inline void CCSUsrMsg_CurrentTimescale::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cur_timescale_){0} - }; -} - -CCSUsrMsg_CurrentTimescale::~CCSUsrMsg_CurrentTimescale() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_CurrentTimescale) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_CurrentTimescale::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_CurrentTimescale::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_CurrentTimescale::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_CurrentTimescale) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.cur_timescale_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_CurrentTimescale::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float cur_timescale = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_cur_timescale(&has_bits); - _impl_.cur_timescale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_CurrentTimescale::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_CurrentTimescale) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float cur_timescale = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_cur_timescale(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_CurrentTimescale) - return target; -} - -size_t CCSUsrMsg_CurrentTimescale::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_CurrentTimescale) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional float cur_timescale = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_CurrentTimescale::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_CurrentTimescale::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_CurrentTimescale::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_CurrentTimescale::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_CurrentTimescale) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_cur_timescale()) { - _this->_internal_set_cur_timescale(from._internal_cur_timescale()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_CurrentTimescale::CopyFrom(const CCSUsrMsg_CurrentTimescale& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_CurrentTimescale) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_CurrentTimescale::IsInitialized() const { - return true; -} - -void CCSUsrMsg_CurrentTimescale::InternalSwap(CCSUsrMsg_CurrentTimescale* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.cur_timescale_, other->_impl_.cur_timescale_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_CurrentTimescale::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[31]); -} - -// =================================================================== - -class CCSUsrMsg_AchievementEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_achievement(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_count(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_user_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CCSUsrMsg_AchievementEvent::CCSUsrMsg_AchievementEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_AchievementEvent) -} -CCSUsrMsg_AchievementEvent::CCSUsrMsg_AchievementEvent(const CCSUsrMsg_AchievementEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_AchievementEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.achievement_){} - , decltype(_impl_.count_){} - , decltype(_impl_.user_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.achievement_, &from._impl_.achievement_, - static_cast(reinterpret_cast(&_impl_.user_id_) - - reinterpret_cast(&_impl_.achievement_)) + sizeof(_impl_.user_id_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_AchievementEvent) -} - -inline void CCSUsrMsg_AchievementEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.achievement_){0} - , decltype(_impl_.count_){0} - , decltype(_impl_.user_id_){0} - }; -} - -CCSUsrMsg_AchievementEvent::~CCSUsrMsg_AchievementEvent() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_AchievementEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_AchievementEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_AchievementEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_AchievementEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_AchievementEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.achievement_, 0, static_cast( - reinterpret_cast(&_impl_.user_id_) - - reinterpret_cast(&_impl_.achievement_)) + sizeof(_impl_.user_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_AchievementEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 achievement = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_achievement(&has_bits); - _impl_.achievement_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 count = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_count(&has_bits); - _impl_.count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 user_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_user_id(&has_bits); - _impl_.user_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_AchievementEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_AchievementEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 achievement = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_achievement(), target); - } - - // optional int32 count = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_count(), target); - } - - // optional int32 user_id = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_user_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_AchievementEvent) - return target; -} - -size_t CCSUsrMsg_AchievementEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_AchievementEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 achievement = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_achievement()); - } - - // optional int32 count = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_count()); - } - - // optional int32 user_id = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_user_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_AchievementEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_AchievementEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_AchievementEvent::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_AchievementEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_AchievementEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.achievement_ = from._impl_.achievement_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.count_ = from._impl_.count_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.user_id_ = from._impl_.user_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_AchievementEvent::CopyFrom(const CCSUsrMsg_AchievementEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_AchievementEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_AchievementEvent::IsInitialized() const { - return true; -} - -void CCSUsrMsg_AchievementEvent::InternalSwap(CCSUsrMsg_AchievementEvent* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_AchievementEvent, _impl_.user_id_) - + sizeof(CCSUsrMsg_AchievementEvent::_impl_.user_id_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_AchievementEvent, _impl_.achievement_)>( - reinterpret_cast(&_impl_.achievement_), - reinterpret_cast(&other->_impl_.achievement_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_AchievementEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[32]); -} - -// =================================================================== - -class CCSUsrMsg_MatchEndConditions::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_fraglimit(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_mp_maxrounds(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_mp_winlimit(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_mp_timelimit(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CCSUsrMsg_MatchEndConditions::CCSUsrMsg_MatchEndConditions(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_MatchEndConditions) -} -CCSUsrMsg_MatchEndConditions::CCSUsrMsg_MatchEndConditions(const CCSUsrMsg_MatchEndConditions& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_MatchEndConditions* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.fraglimit_){} - , decltype(_impl_.mp_maxrounds_){} - , decltype(_impl_.mp_winlimit_){} - , decltype(_impl_.mp_timelimit_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.fraglimit_, &from._impl_.fraglimit_, - static_cast(reinterpret_cast(&_impl_.mp_timelimit_) - - reinterpret_cast(&_impl_.fraglimit_)) + sizeof(_impl_.mp_timelimit_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_MatchEndConditions) -} - -inline void CCSUsrMsg_MatchEndConditions::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.fraglimit_){0} - , decltype(_impl_.mp_maxrounds_){0} - , decltype(_impl_.mp_winlimit_){0} - , decltype(_impl_.mp_timelimit_){0} - }; -} - -CCSUsrMsg_MatchEndConditions::~CCSUsrMsg_MatchEndConditions() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_MatchEndConditions) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_MatchEndConditions::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_MatchEndConditions::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_MatchEndConditions::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_MatchEndConditions) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.fraglimit_, 0, static_cast( - reinterpret_cast(&_impl_.mp_timelimit_) - - reinterpret_cast(&_impl_.fraglimit_)) + sizeof(_impl_.mp_timelimit_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_MatchEndConditions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 fraglimit = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_fraglimit(&has_bits); - _impl_.fraglimit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 mp_maxrounds = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_mp_maxrounds(&has_bits); - _impl_.mp_maxrounds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 mp_winlimit = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_mp_winlimit(&has_bits); - _impl_.mp_winlimit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float mp_timelimit = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_mp_timelimit(&has_bits); - _impl_.mp_timelimit_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_MatchEndConditions::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_MatchEndConditions) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 fraglimit = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_fraglimit(), target); - } - - // optional int32 mp_maxrounds = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_mp_maxrounds(), target); - } - - // optional int32 mp_winlimit = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_mp_winlimit(), target); - } - - // optional float mp_timelimit = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_mp_timelimit(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_MatchEndConditions) - return target; -} - -size_t CCSUsrMsg_MatchEndConditions::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_MatchEndConditions) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional int32 fraglimit = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_fraglimit()); - } - - // optional int32 mp_maxrounds = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mp_maxrounds()); - } - - // optional int32 mp_winlimit = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mp_winlimit()); - } - - // optional float mp_timelimit = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_MatchEndConditions::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_MatchEndConditions::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_MatchEndConditions::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_MatchEndConditions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_MatchEndConditions) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.fraglimit_ = from._impl_.fraglimit_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.mp_maxrounds_ = from._impl_.mp_maxrounds_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.mp_winlimit_ = from._impl_.mp_winlimit_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.mp_timelimit_ = from._impl_.mp_timelimit_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_MatchEndConditions::CopyFrom(const CCSUsrMsg_MatchEndConditions& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_MatchEndConditions) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_MatchEndConditions::IsInitialized() const { - return true; -} - -void CCSUsrMsg_MatchEndConditions::InternalSwap(CCSUsrMsg_MatchEndConditions* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_MatchEndConditions, _impl_.mp_timelimit_) - + sizeof(CCSUsrMsg_MatchEndConditions::_impl_.mp_timelimit_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_MatchEndConditions, _impl_.fraglimit_)>( - reinterpret_cast(&_impl_.fraglimit_), - reinterpret_cast(&other->_impl_.fraglimit_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_MatchEndConditions::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[33]); -} - -// =================================================================== - -class CCSUsrMsg_PlayerStatsUpdate_Stat::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_idx(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_delta(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCSUsrMsg_PlayerStatsUpdate_Stat::CCSUsrMsg_PlayerStatsUpdate_Stat(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_PlayerStatsUpdate.Stat) -} -CCSUsrMsg_PlayerStatsUpdate_Stat::CCSUsrMsg_PlayerStatsUpdate_Stat(const CCSUsrMsg_PlayerStatsUpdate_Stat& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_PlayerStatsUpdate_Stat* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.idx_){} - , decltype(_impl_.delta_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.idx_, &from._impl_.idx_, - static_cast(reinterpret_cast(&_impl_.delta_) - - reinterpret_cast(&_impl_.idx_)) + sizeof(_impl_.delta_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_PlayerStatsUpdate.Stat) -} - -inline void CCSUsrMsg_PlayerStatsUpdate_Stat::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.idx_){0} - , decltype(_impl_.delta_){0} - }; -} - -CCSUsrMsg_PlayerStatsUpdate_Stat::~CCSUsrMsg_PlayerStatsUpdate_Stat() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_PlayerStatsUpdate.Stat) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_PlayerStatsUpdate_Stat::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_PlayerStatsUpdate_Stat::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_PlayerStatsUpdate_Stat::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_PlayerStatsUpdate.Stat) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.idx_, 0, static_cast( - reinterpret_cast(&_impl_.delta_) - - reinterpret_cast(&_impl_.idx_)) + sizeof(_impl_.delta_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_PlayerStatsUpdate_Stat::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 idx = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_idx(&has_bits); - _impl_.idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 delta = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_delta(&has_bits); - _impl_.delta_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_PlayerStatsUpdate_Stat::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_PlayerStatsUpdate.Stat) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 idx = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_idx(), target); - } - - // optional int32 delta = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_delta(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_PlayerStatsUpdate.Stat) - return target; -} - -size_t CCSUsrMsg_PlayerStatsUpdate_Stat::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_PlayerStatsUpdate.Stat) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional int32 idx = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_idx()); - } - - // optional int32 delta = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_delta()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_PlayerStatsUpdate_Stat::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_PlayerStatsUpdate_Stat::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_PlayerStatsUpdate_Stat::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_PlayerStatsUpdate_Stat::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_PlayerStatsUpdate.Stat) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.idx_ = from._impl_.idx_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.delta_ = from._impl_.delta_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_PlayerStatsUpdate_Stat::CopyFrom(const CCSUsrMsg_PlayerStatsUpdate_Stat& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_PlayerStatsUpdate.Stat) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_PlayerStatsUpdate_Stat::IsInitialized() const { - return true; -} - -void CCSUsrMsg_PlayerStatsUpdate_Stat::InternalSwap(CCSUsrMsg_PlayerStatsUpdate_Stat* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_PlayerStatsUpdate_Stat, _impl_.delta_) - + sizeof(CCSUsrMsg_PlayerStatsUpdate_Stat::_impl_.delta_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_PlayerStatsUpdate_Stat, _impl_.idx_)>( - reinterpret_cast(&_impl_.idx_), - reinterpret_cast(&other->_impl_.idx_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_PlayerStatsUpdate_Stat::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[34]); -} - -// =================================================================== - -class CCSUsrMsg_PlayerStatsUpdate::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_version(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_ehandle(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_crc(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CCSUsrMsg_PlayerStatsUpdate::CCSUsrMsg_PlayerStatsUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_PlayerStatsUpdate) -} -CCSUsrMsg_PlayerStatsUpdate::CCSUsrMsg_PlayerStatsUpdate(const CCSUsrMsg_PlayerStatsUpdate& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_PlayerStatsUpdate* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.stats_){from._impl_.stats_} - , decltype(_impl_.version_){} - , decltype(_impl_.ehandle_){} - , decltype(_impl_.crc_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.version_, &from._impl_.version_, - static_cast(reinterpret_cast(&_impl_.crc_) - - reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.crc_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_PlayerStatsUpdate) -} - -inline void CCSUsrMsg_PlayerStatsUpdate::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.stats_){arena} - , decltype(_impl_.version_){0} - , decltype(_impl_.ehandle_){0u} - , decltype(_impl_.crc_){0} - }; -} - -CCSUsrMsg_PlayerStatsUpdate::~CCSUsrMsg_PlayerStatsUpdate() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_PlayerStatsUpdate) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_PlayerStatsUpdate::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.stats_.~RepeatedPtrField(); -} - -void CCSUsrMsg_PlayerStatsUpdate::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_PlayerStatsUpdate::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_PlayerStatsUpdate) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.stats_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.version_, 0, static_cast( - reinterpret_cast(&_impl_.crc_) - - reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.crc_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_PlayerStatsUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 version = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_version(&has_bits); - _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CCSUsrMsg_PlayerStatsUpdate.Stat stats = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_stats(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 ehandle = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_ehandle(&has_bits); - _impl_.ehandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 crc = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_crc(&has_bits); - _impl_.crc_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_PlayerStatsUpdate::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_PlayerStatsUpdate) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 version = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_version(), target); - } - - // repeated .CCSUsrMsg_PlayerStatsUpdate.Stat stats = 4; - for (unsigned i = 0, - n = static_cast(this->_internal_stats_size()); i < n; i++) { - const auto& repfield = this->_internal_stats(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 ehandle = 5; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_ehandle(), target); - } - - // optional int32 crc = 6; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_crc(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_PlayerStatsUpdate) - return target; -} - -size_t CCSUsrMsg_PlayerStatsUpdate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_PlayerStatsUpdate) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CCSUsrMsg_PlayerStatsUpdate.Stat stats = 4; - total_size += 1UL * this->_internal_stats_size(); - for (const auto& msg : this->_impl_.stats_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 version = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_version()); - } - - // optional uint32 ehandle = 5; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ehandle()); - } - - // optional int32 crc = 6; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_crc()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_PlayerStatsUpdate::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_PlayerStatsUpdate::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_PlayerStatsUpdate::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_PlayerStatsUpdate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_PlayerStatsUpdate) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.stats_.MergeFrom(from._impl_.stats_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.version_ = from._impl_.version_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.ehandle_ = from._impl_.ehandle_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.crc_ = from._impl_.crc_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_PlayerStatsUpdate::CopyFrom(const CCSUsrMsg_PlayerStatsUpdate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_PlayerStatsUpdate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_PlayerStatsUpdate::IsInitialized() const { - return true; -} - -void CCSUsrMsg_PlayerStatsUpdate::InternalSwap(CCSUsrMsg_PlayerStatsUpdate* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.stats_.InternalSwap(&other->_impl_.stats_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_PlayerStatsUpdate, _impl_.crc_) - + sizeof(CCSUsrMsg_PlayerStatsUpdate::_impl_.crc_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_PlayerStatsUpdate, _impl_.version_)>( - reinterpret_cast(&_impl_.version_), - reinterpret_cast(&other->_impl_.version_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_PlayerStatsUpdate::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[35]); -} - -// =================================================================== - -class CCSUsrMsg_QuestProgress::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_quest_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_normal_points(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_bonus_points(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_is_event_quest(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CCSUsrMsg_QuestProgress::CCSUsrMsg_QuestProgress(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_QuestProgress) -} -CCSUsrMsg_QuestProgress::CCSUsrMsg_QuestProgress(const CCSUsrMsg_QuestProgress& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_QuestProgress* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.quest_id_){} - , decltype(_impl_.normal_points_){} - , decltype(_impl_.bonus_points_){} - , decltype(_impl_.is_event_quest_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.quest_id_, &from._impl_.quest_id_, - static_cast(reinterpret_cast(&_impl_.is_event_quest_) - - reinterpret_cast(&_impl_.quest_id_)) + sizeof(_impl_.is_event_quest_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_QuestProgress) -} - -inline void CCSUsrMsg_QuestProgress::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.quest_id_){0u} - , decltype(_impl_.normal_points_){0u} - , decltype(_impl_.bonus_points_){0u} - , decltype(_impl_.is_event_quest_){false} - }; -} - -CCSUsrMsg_QuestProgress::~CCSUsrMsg_QuestProgress() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_QuestProgress) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_QuestProgress::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_QuestProgress::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_QuestProgress::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_QuestProgress) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.quest_id_, 0, static_cast( - reinterpret_cast(&_impl_.is_event_quest_) - - reinterpret_cast(&_impl_.quest_id_)) + sizeof(_impl_.is_event_quest_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_QuestProgress::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 quest_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_quest_id(&has_bits); - _impl_.quest_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 normal_points = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_normal_points(&has_bits); - _impl_.normal_points_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 bonus_points = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_bonus_points(&has_bits); - _impl_.bonus_points_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_event_quest = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_is_event_quest(&has_bits); - _impl_.is_event_quest_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_QuestProgress::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_QuestProgress) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 quest_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_quest_id(), target); - } - - // optional uint32 normal_points = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_normal_points(), target); - } - - // optional uint32 bonus_points = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_bonus_points(), target); - } - - // optional bool is_event_quest = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_is_event_quest(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_QuestProgress) - return target; -} - -size_t CCSUsrMsg_QuestProgress::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_QuestProgress) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 quest_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_quest_id()); - } - - // optional uint32 normal_points = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_normal_points()); - } - - // optional uint32 bonus_points = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_bonus_points()); - } - - // optional bool is_event_quest = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_QuestProgress::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_QuestProgress::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_QuestProgress::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_QuestProgress::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_QuestProgress) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.quest_id_ = from._impl_.quest_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.normal_points_ = from._impl_.normal_points_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.bonus_points_ = from._impl_.bonus_points_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.is_event_quest_ = from._impl_.is_event_quest_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_QuestProgress::CopyFrom(const CCSUsrMsg_QuestProgress& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_QuestProgress) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_QuestProgress::IsInitialized() const { - return true; -} - -void CCSUsrMsg_QuestProgress::InternalSwap(CCSUsrMsg_QuestProgress* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_QuestProgress, _impl_.is_event_quest_) - + sizeof(CCSUsrMsg_QuestProgress::_impl_.is_event_quest_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_QuestProgress, _impl_.quest_id_)>( - reinterpret_cast(&_impl_.quest_id_), - reinterpret_cast(&other->_impl_.quest_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_QuestProgress::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[36]); -} - -// =================================================================== - -class CCSUsrMsg_ScoreLeaderboardData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::ScoreLeaderboardData& data(const CCSUsrMsg_ScoreLeaderboardData* msg); - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::ScoreLeaderboardData& -CCSUsrMsg_ScoreLeaderboardData::_Internal::data(const CCSUsrMsg_ScoreLeaderboardData* msg) { - return *msg->_impl_.data_; -} -void CCSUsrMsg_ScoreLeaderboardData::clear_data() { - if (_impl_.data_ != nullptr) _impl_.data_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CCSUsrMsg_ScoreLeaderboardData::CCSUsrMsg_ScoreLeaderboardData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_ScoreLeaderboardData) -} -CCSUsrMsg_ScoreLeaderboardData::CCSUsrMsg_ScoreLeaderboardData(const CCSUsrMsg_ScoreLeaderboardData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_ScoreLeaderboardData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_data()) { - _this->_impl_.data_ = new ::ScoreLeaderboardData(*from._impl_.data_); - } - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ScoreLeaderboardData) -} - -inline void CCSUsrMsg_ScoreLeaderboardData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){nullptr} - }; -} - -CCSUsrMsg_ScoreLeaderboardData::~CCSUsrMsg_ScoreLeaderboardData() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_ScoreLeaderboardData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_ScoreLeaderboardData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.data_; -} - -void CCSUsrMsg_ScoreLeaderboardData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_ScoreLeaderboardData::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ScoreLeaderboardData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.data_ != nullptr); - _impl_.data_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_ScoreLeaderboardData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .ScoreLeaderboardData data = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_data(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_ScoreLeaderboardData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ScoreLeaderboardData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .ScoreLeaderboardData data = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::data(this), - _Internal::data(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_ScoreLeaderboardData) - return target; -} - -size_t CCSUsrMsg_ScoreLeaderboardData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ScoreLeaderboardData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .ScoreLeaderboardData data = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.data_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ScoreLeaderboardData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_ScoreLeaderboardData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ScoreLeaderboardData::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_ScoreLeaderboardData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_ScoreLeaderboardData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_data()) { - _this->_internal_mutable_data()->::ScoreLeaderboardData::MergeFrom( - from._internal_data()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_ScoreLeaderboardData::CopyFrom(const CCSUsrMsg_ScoreLeaderboardData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ScoreLeaderboardData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_ScoreLeaderboardData::IsInitialized() const { - return true; -} - -void CCSUsrMsg_ScoreLeaderboardData::InternalSwap(CCSUsrMsg_ScoreLeaderboardData* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.data_, other->_impl_.data_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ScoreLeaderboardData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[37]); -} - -// =================================================================== - -class CCSUsrMsg_PlayerDecalDigitalSignature::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::PlayerDecalDigitalSignature& data(const CCSUsrMsg_PlayerDecalDigitalSignature* msg); - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::PlayerDecalDigitalSignature& -CCSUsrMsg_PlayerDecalDigitalSignature::_Internal::data(const CCSUsrMsg_PlayerDecalDigitalSignature* msg) { - return *msg->_impl_.data_; -} -void CCSUsrMsg_PlayerDecalDigitalSignature::clear_data() { - if (_impl_.data_ != nullptr) _impl_.data_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CCSUsrMsg_PlayerDecalDigitalSignature::CCSUsrMsg_PlayerDecalDigitalSignature(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_PlayerDecalDigitalSignature) -} -CCSUsrMsg_PlayerDecalDigitalSignature::CCSUsrMsg_PlayerDecalDigitalSignature(const CCSUsrMsg_PlayerDecalDigitalSignature& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_PlayerDecalDigitalSignature* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_data()) { - _this->_impl_.data_ = new ::PlayerDecalDigitalSignature(*from._impl_.data_); - } - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_PlayerDecalDigitalSignature) -} - -inline void CCSUsrMsg_PlayerDecalDigitalSignature::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){nullptr} - }; -} - -CCSUsrMsg_PlayerDecalDigitalSignature::~CCSUsrMsg_PlayerDecalDigitalSignature() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_PlayerDecalDigitalSignature) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_PlayerDecalDigitalSignature::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.data_; -} - -void CCSUsrMsg_PlayerDecalDigitalSignature::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_PlayerDecalDigitalSignature::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_PlayerDecalDigitalSignature) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.data_ != nullptr); - _impl_.data_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_PlayerDecalDigitalSignature::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .PlayerDecalDigitalSignature data = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_data(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_PlayerDecalDigitalSignature::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_PlayerDecalDigitalSignature) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .PlayerDecalDigitalSignature data = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::data(this), - _Internal::data(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_PlayerDecalDigitalSignature) - return target; -} - -size_t CCSUsrMsg_PlayerDecalDigitalSignature::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_PlayerDecalDigitalSignature) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .PlayerDecalDigitalSignature data = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.data_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_PlayerDecalDigitalSignature::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_PlayerDecalDigitalSignature::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_PlayerDecalDigitalSignature::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_PlayerDecalDigitalSignature::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_PlayerDecalDigitalSignature) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_data()) { - _this->_internal_mutable_data()->::PlayerDecalDigitalSignature::MergeFrom( - from._internal_data()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_PlayerDecalDigitalSignature::CopyFrom(const CCSUsrMsg_PlayerDecalDigitalSignature& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_PlayerDecalDigitalSignature) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_PlayerDecalDigitalSignature::IsInitialized() const { - return true; -} - -void CCSUsrMsg_PlayerDecalDigitalSignature::InternalSwap(CCSUsrMsg_PlayerDecalDigitalSignature* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.data_, other->_impl_.data_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_PlayerDecalDigitalSignature::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[38]); -} - -// =================================================================== - -class CCSUsrMsg_XRankGet::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_mode_idx(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_controller(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCSUsrMsg_XRankGet::CCSUsrMsg_XRankGet(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_XRankGet) -} -CCSUsrMsg_XRankGet::CCSUsrMsg_XRankGet(const CCSUsrMsg_XRankGet& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_XRankGet* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mode_idx_){} - , decltype(_impl_.controller_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.mode_idx_, &from._impl_.mode_idx_, - static_cast(reinterpret_cast(&_impl_.controller_) - - reinterpret_cast(&_impl_.mode_idx_)) + sizeof(_impl_.controller_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_XRankGet) -} - -inline void CCSUsrMsg_XRankGet::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mode_idx_){0} - , decltype(_impl_.controller_){0} - }; -} - -CCSUsrMsg_XRankGet::~CCSUsrMsg_XRankGet() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_XRankGet) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_XRankGet::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_XRankGet::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_XRankGet::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_XRankGet) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.mode_idx_, 0, static_cast( - reinterpret_cast(&_impl_.controller_) - - reinterpret_cast(&_impl_.mode_idx_)) + sizeof(_impl_.controller_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_XRankGet::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 mode_idx = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_mode_idx(&has_bits); - _impl_.mode_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 controller = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_controller(&has_bits); - _impl_.controller_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_XRankGet::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_XRankGet) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 mode_idx = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_mode_idx(), target); - } - - // optional int32 controller = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_controller(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_XRankGet) - return target; -} - -size_t CCSUsrMsg_XRankGet::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_XRankGet) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional int32 mode_idx = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mode_idx()); - } - - // optional int32 controller = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_controller()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_XRankGet::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_XRankGet::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_XRankGet::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_XRankGet::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_XRankGet) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.mode_idx_ = from._impl_.mode_idx_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.controller_ = from._impl_.controller_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_XRankGet::CopyFrom(const CCSUsrMsg_XRankGet& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_XRankGet) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_XRankGet::IsInitialized() const { - return true; -} - -void CCSUsrMsg_XRankGet::InternalSwap(CCSUsrMsg_XRankGet* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_XRankGet, _impl_.controller_) - + sizeof(CCSUsrMsg_XRankGet::_impl_.controller_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_XRankGet, _impl_.mode_idx_)>( - reinterpret_cast(&_impl_.mode_idx_), - reinterpret_cast(&other->_impl_.mode_idx_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_XRankGet::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[39]); -} - -// =================================================================== - -class CCSUsrMsg_XRankUpd::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_mode_idx(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_controller(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_ranking(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CCSUsrMsg_XRankUpd::CCSUsrMsg_XRankUpd(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_XRankUpd) -} -CCSUsrMsg_XRankUpd::CCSUsrMsg_XRankUpd(const CCSUsrMsg_XRankUpd& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_XRankUpd* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mode_idx_){} - , decltype(_impl_.controller_){} - , decltype(_impl_.ranking_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.mode_idx_, &from._impl_.mode_idx_, - static_cast(reinterpret_cast(&_impl_.ranking_) - - reinterpret_cast(&_impl_.mode_idx_)) + sizeof(_impl_.ranking_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_XRankUpd) -} - -inline void CCSUsrMsg_XRankUpd::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mode_idx_){0} - , decltype(_impl_.controller_){0} - , decltype(_impl_.ranking_){0} - }; -} - -CCSUsrMsg_XRankUpd::~CCSUsrMsg_XRankUpd() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_XRankUpd) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_XRankUpd::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_XRankUpd::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_XRankUpd::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_XRankUpd) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.mode_idx_, 0, static_cast( - reinterpret_cast(&_impl_.ranking_) - - reinterpret_cast(&_impl_.mode_idx_)) + sizeof(_impl_.ranking_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_XRankUpd::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 mode_idx = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_mode_idx(&has_bits); - _impl_.mode_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 controller = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_controller(&has_bits); - _impl_.controller_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 ranking = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_ranking(&has_bits); - _impl_.ranking_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_XRankUpd::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_XRankUpd) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 mode_idx = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_mode_idx(), target); - } - - // optional int32 controller = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_controller(), target); - } - - // optional int32 ranking = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_ranking(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_XRankUpd) - return target; -} - -size_t CCSUsrMsg_XRankUpd::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_XRankUpd) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 mode_idx = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mode_idx()); - } - - // optional int32 controller = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_controller()); - } - - // optional int32 ranking = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ranking()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_XRankUpd::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_XRankUpd::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_XRankUpd::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_XRankUpd::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_XRankUpd) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.mode_idx_ = from._impl_.mode_idx_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.controller_ = from._impl_.controller_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.ranking_ = from._impl_.ranking_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_XRankUpd::CopyFrom(const CCSUsrMsg_XRankUpd& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_XRankUpd) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_XRankUpd::IsInitialized() const { - return true; -} - -void CCSUsrMsg_XRankUpd::InternalSwap(CCSUsrMsg_XRankUpd* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_XRankUpd, _impl_.ranking_) - + sizeof(CCSUsrMsg_XRankUpd::_impl_.ranking_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_XRankUpd, _impl_.mode_idx_)>( - reinterpret_cast(&_impl_.mode_idx_), - reinterpret_cast(&other->_impl_.mode_idx_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_XRankUpd::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[40]); -} - -// =================================================================== - -class CCSUsrMsg_CallVoteFailed::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_reason(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_time(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCSUsrMsg_CallVoteFailed::CCSUsrMsg_CallVoteFailed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_CallVoteFailed) -} -CCSUsrMsg_CallVoteFailed::CCSUsrMsg_CallVoteFailed(const CCSUsrMsg_CallVoteFailed& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_CallVoteFailed* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.reason_){} - , decltype(_impl_.time_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.reason_, &from._impl_.reason_, - static_cast(reinterpret_cast(&_impl_.time_) - - reinterpret_cast(&_impl_.reason_)) + sizeof(_impl_.time_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_CallVoteFailed) -} - -inline void CCSUsrMsg_CallVoteFailed::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.reason_){0} - , decltype(_impl_.time_){0} - }; -} - -CCSUsrMsg_CallVoteFailed::~CCSUsrMsg_CallVoteFailed() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_CallVoteFailed) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_CallVoteFailed::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_CallVoteFailed::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_CallVoteFailed::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_CallVoteFailed) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.reason_, 0, static_cast( - reinterpret_cast(&_impl_.time_) - - reinterpret_cast(&_impl_.reason_)) + sizeof(_impl_.time_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_CallVoteFailed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 reason = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_reason(&has_bits); - _impl_.reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 time = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_time(&has_bits); - _impl_.time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_CallVoteFailed::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_CallVoteFailed) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 reason = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_reason(), target); - } - - // optional int32 time = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_time(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_CallVoteFailed) - return target; -} - -size_t CCSUsrMsg_CallVoteFailed::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_CallVoteFailed) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional int32 reason = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reason()); - } - - // optional int32 time = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_time()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_CallVoteFailed::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_CallVoteFailed::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_CallVoteFailed::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_CallVoteFailed::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_CallVoteFailed) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.reason_ = from._impl_.reason_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.time_ = from._impl_.time_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_CallVoteFailed::CopyFrom(const CCSUsrMsg_CallVoteFailed& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_CallVoteFailed) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_CallVoteFailed::IsInitialized() const { - return true; -} - -void CCSUsrMsg_CallVoteFailed::InternalSwap(CCSUsrMsg_CallVoteFailed* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_CallVoteFailed, _impl_.time_) - + sizeof(CCSUsrMsg_CallVoteFailed::_impl_.time_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_CallVoteFailed, _impl_.reason_)>( - reinterpret_cast(&_impl_.reason_), - reinterpret_cast(&other->_impl_.reason_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_CallVoteFailed::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[41]); -} - -// =================================================================== - -class CCSUsrMsg_VoteStart::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_team(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_player_slot(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_vote_type(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_disp_str(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_details_str(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_other_team_str(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_is_yes_no_vote(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_player_slot_target(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } -}; - -CCSUsrMsg_VoteStart::CCSUsrMsg_VoteStart(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_VoteStart) -} -CCSUsrMsg_VoteStart::CCSUsrMsg_VoteStart(const CCSUsrMsg_VoteStart& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_VoteStart* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.disp_str_){} - , decltype(_impl_.details_str_){} - , decltype(_impl_.other_team_str_){} - , decltype(_impl_.team_){} - , decltype(_impl_.vote_type_){} - , decltype(_impl_.is_yes_no_vote_){} - , decltype(_impl_.player_slot_){} - , decltype(_impl_.player_slot_target_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.disp_str_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.disp_str_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_disp_str()) { - _this->_impl_.disp_str_.Set(from._internal_disp_str(), - _this->GetArenaForAllocation()); - } - _impl_.details_str_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.details_str_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_details_str()) { - _this->_impl_.details_str_.Set(from._internal_details_str(), - _this->GetArenaForAllocation()); - } - _impl_.other_team_str_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.other_team_str_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_other_team_str()) { - _this->_impl_.other_team_str_.Set(from._internal_other_team_str(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.team_, &from._impl_.team_, - static_cast(reinterpret_cast(&_impl_.player_slot_target_) - - reinterpret_cast(&_impl_.team_)) + sizeof(_impl_.player_slot_target_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_VoteStart) -} - -inline void CCSUsrMsg_VoteStart::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.disp_str_){} - , decltype(_impl_.details_str_){} - , decltype(_impl_.other_team_str_){} - , decltype(_impl_.team_){0} - , decltype(_impl_.vote_type_){0} - , decltype(_impl_.is_yes_no_vote_){false} - , decltype(_impl_.player_slot_){-1} - , decltype(_impl_.player_slot_target_){-1} - }; - _impl_.disp_str_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.disp_str_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.details_str_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.details_str_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.other_team_str_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.other_team_str_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_VoteStart::~CCSUsrMsg_VoteStart() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_VoteStart) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_VoteStart::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.disp_str_.Destroy(); - _impl_.details_str_.Destroy(); - _impl_.other_team_str_.Destroy(); -} - -void CCSUsrMsg_VoteStart::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_VoteStart::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_VoteStart) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.disp_str_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.details_str_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.other_team_str_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000f8u) { - ::memset(&_impl_.team_, 0, static_cast( - reinterpret_cast(&_impl_.is_yes_no_vote_) - - reinterpret_cast(&_impl_.team_)) + sizeof(_impl_.is_yes_no_vote_)); - _impl_.player_slot_ = -1; - _impl_.player_slot_target_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_VoteStart::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 team = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_team(&has_bits); - _impl_.team_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 player_slot = 2 [default = -1]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_player_slot(&has_bits); - _impl_.player_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 vote_type = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_vote_type(&has_bits); - _impl_.vote_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string disp_str = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_disp_str(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_VoteStart.disp_str"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string details_str = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_details_str(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_VoteStart.details_str"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string other_team_str = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_other_team_str(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_VoteStart.other_team_str"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool is_yes_no_vote = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_is_yes_no_vote(&has_bits); - _impl_.is_yes_no_vote_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 player_slot_target = 8 [default = -1]; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_player_slot_target(&has_bits); - _impl_.player_slot_target_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_VoteStart::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_VoteStart) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 team = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_team(), target); - } - - // optional int32 player_slot = 2 [default = -1]; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_player_slot(), target); - } - - // optional int32 vote_type = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_vote_type(), target); - } - - // optional string disp_str = 4; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_disp_str().data(), static_cast(this->_internal_disp_str().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_VoteStart.disp_str"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_disp_str(), target); - } - - // optional string details_str = 5; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_details_str().data(), static_cast(this->_internal_details_str().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_VoteStart.details_str"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_details_str(), target); - } - - // optional string other_team_str = 6; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_other_team_str().data(), static_cast(this->_internal_other_team_str().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_VoteStart.other_team_str"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_other_team_str(), target); - } - - // optional bool is_yes_no_vote = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_is_yes_no_vote(), target); - } - - // optional int32 player_slot_target = 8 [default = -1]; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_player_slot_target(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_VoteStart) - return target; -} - -size_t CCSUsrMsg_VoteStart::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_VoteStart) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string disp_str = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_disp_str()); - } - - // optional string details_str = 5; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_details_str()); - } - - // optional string other_team_str = 6; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_other_team_str()); - } - - // optional int32 team = 1; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team()); - } - - // optional int32 vote_type = 3; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_vote_type()); - } - - // optional bool is_yes_no_vote = 7; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 1; - } - - // optional int32 player_slot = 2 [default = -1]; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_slot()); - } - - // optional int32 player_slot_target = 8 [default = -1]; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_slot_target()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_VoteStart::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_VoteStart::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_VoteStart::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_VoteStart::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_VoteStart) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_disp_str(from._internal_disp_str()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_details_str(from._internal_details_str()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_other_team_str(from._internal_other_team_str()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.team_ = from._impl_.team_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.vote_type_ = from._impl_.vote_type_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.is_yes_no_vote_ = from._impl_.is_yes_no_vote_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.player_slot_ = from._impl_.player_slot_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.player_slot_target_ = from._impl_.player_slot_target_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_VoteStart::CopyFrom(const CCSUsrMsg_VoteStart& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_VoteStart) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_VoteStart::IsInitialized() const { - return true; -} - -void CCSUsrMsg_VoteStart::InternalSwap(CCSUsrMsg_VoteStart* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.disp_str_, lhs_arena, - &other->_impl_.disp_str_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.details_str_, lhs_arena, - &other->_impl_.details_str_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.other_team_str_, lhs_arena, - &other->_impl_.other_team_str_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_VoteStart, _impl_.is_yes_no_vote_) - + sizeof(CCSUsrMsg_VoteStart::_impl_.is_yes_no_vote_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_VoteStart, _impl_.team_)>( - reinterpret_cast(&_impl_.team_), - reinterpret_cast(&other->_impl_.team_)); - swap(_impl_.player_slot_, other->_impl_.player_slot_); - swap(_impl_.player_slot_target_, other->_impl_.player_slot_target_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_VoteStart::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[42]); -} - -// =================================================================== - -class CCSUsrMsg_VotePass::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_team(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_vote_type(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_disp_str(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_details_str(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCSUsrMsg_VotePass::CCSUsrMsg_VotePass(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_VotePass) -} -CCSUsrMsg_VotePass::CCSUsrMsg_VotePass(const CCSUsrMsg_VotePass& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_VotePass* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.disp_str_){} - , decltype(_impl_.details_str_){} - , decltype(_impl_.team_){} - , decltype(_impl_.vote_type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.disp_str_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.disp_str_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_disp_str()) { - _this->_impl_.disp_str_.Set(from._internal_disp_str(), - _this->GetArenaForAllocation()); - } - _impl_.details_str_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.details_str_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_details_str()) { - _this->_impl_.details_str_.Set(from._internal_details_str(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.team_, &from._impl_.team_, - static_cast(reinterpret_cast(&_impl_.vote_type_) - - reinterpret_cast(&_impl_.team_)) + sizeof(_impl_.vote_type_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_VotePass) -} - -inline void CCSUsrMsg_VotePass::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.disp_str_){} - , decltype(_impl_.details_str_){} - , decltype(_impl_.team_){0} - , decltype(_impl_.vote_type_){0} - }; - _impl_.disp_str_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.disp_str_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.details_str_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.details_str_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_VotePass::~CCSUsrMsg_VotePass() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_VotePass) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_VotePass::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.disp_str_.Destroy(); - _impl_.details_str_.Destroy(); -} - -void CCSUsrMsg_VotePass::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_VotePass::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_VotePass) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.disp_str_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.details_str_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000000cu) { - ::memset(&_impl_.team_, 0, static_cast( - reinterpret_cast(&_impl_.vote_type_) - - reinterpret_cast(&_impl_.team_)) + sizeof(_impl_.vote_type_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_VotePass::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 team = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_team(&has_bits); - _impl_.team_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 vote_type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_vote_type(&has_bits); - _impl_.vote_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string disp_str = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_disp_str(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_VotePass.disp_str"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string details_str = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_details_str(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_VotePass.details_str"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_VotePass::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_VotePass) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 team = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_team(), target); - } - - // optional int32 vote_type = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_vote_type(), target); - } - - // optional string disp_str = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_disp_str().data(), static_cast(this->_internal_disp_str().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_VotePass.disp_str"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_disp_str(), target); - } - - // optional string details_str = 4; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_details_str().data(), static_cast(this->_internal_details_str().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_VotePass.details_str"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_details_str(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_VotePass) - return target; -} - -size_t CCSUsrMsg_VotePass::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_VotePass) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string disp_str = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_disp_str()); - } - - // optional string details_str = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_details_str()); - } - - // optional int32 team = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team()); - } - - // optional int32 vote_type = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_vote_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_VotePass::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_VotePass::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_VotePass::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_VotePass::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_VotePass) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_disp_str(from._internal_disp_str()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_details_str(from._internal_details_str()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.team_ = from._impl_.team_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.vote_type_ = from._impl_.vote_type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_VotePass::CopyFrom(const CCSUsrMsg_VotePass& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_VotePass) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_VotePass::IsInitialized() const { - return true; -} - -void CCSUsrMsg_VotePass::InternalSwap(CCSUsrMsg_VotePass* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.disp_str_, lhs_arena, - &other->_impl_.disp_str_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.details_str_, lhs_arena, - &other->_impl_.details_str_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_VotePass, _impl_.vote_type_) - + sizeof(CCSUsrMsg_VotePass::_impl_.vote_type_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_VotePass, _impl_.team_)>( - reinterpret_cast(&_impl_.team_), - reinterpret_cast(&other->_impl_.team_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_VotePass::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[43]); -} - -// =================================================================== - -class CCSUsrMsg_VoteFailed::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_team(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_reason(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCSUsrMsg_VoteFailed::CCSUsrMsg_VoteFailed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_VoteFailed) -} -CCSUsrMsg_VoteFailed::CCSUsrMsg_VoteFailed(const CCSUsrMsg_VoteFailed& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_VoteFailed* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.team_){} - , decltype(_impl_.reason_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.team_, &from._impl_.team_, - static_cast(reinterpret_cast(&_impl_.reason_) - - reinterpret_cast(&_impl_.team_)) + sizeof(_impl_.reason_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_VoteFailed) -} - -inline void CCSUsrMsg_VoteFailed::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.team_){0} - , decltype(_impl_.reason_){0} - }; -} - -CCSUsrMsg_VoteFailed::~CCSUsrMsg_VoteFailed() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_VoteFailed) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_VoteFailed::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_VoteFailed::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_VoteFailed::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_VoteFailed) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.team_, 0, static_cast( - reinterpret_cast(&_impl_.reason_) - - reinterpret_cast(&_impl_.team_)) + sizeof(_impl_.reason_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_VoteFailed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 team = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_team(&has_bits); - _impl_.team_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 reason = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_reason(&has_bits); - _impl_.reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_VoteFailed::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_VoteFailed) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 team = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_team(), target); - } - - // optional int32 reason = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_reason(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_VoteFailed) - return target; -} - -size_t CCSUsrMsg_VoteFailed::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_VoteFailed) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional int32 team = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team()); - } - - // optional int32 reason = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reason()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_VoteFailed::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_VoteFailed::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_VoteFailed::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_VoteFailed::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_VoteFailed) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.team_ = from._impl_.team_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.reason_ = from._impl_.reason_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_VoteFailed::CopyFrom(const CCSUsrMsg_VoteFailed& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_VoteFailed) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_VoteFailed::IsInitialized() const { - return true; -} - -void CCSUsrMsg_VoteFailed::InternalSwap(CCSUsrMsg_VoteFailed* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_VoteFailed, _impl_.reason_) - + sizeof(CCSUsrMsg_VoteFailed::_impl_.reason_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_VoteFailed, _impl_.team_)>( - reinterpret_cast(&_impl_.team_), - reinterpret_cast(&other->_impl_.team_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_VoteFailed::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[44]); -} - -// =================================================================== - -class CCSUsrMsg_VoteSetup::_Internal { - public: -}; - -CCSUsrMsg_VoteSetup::CCSUsrMsg_VoteSetup(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_VoteSetup) -} -CCSUsrMsg_VoteSetup::CCSUsrMsg_VoteSetup(const CCSUsrMsg_VoteSetup& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_VoteSetup* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.potential_issues_){from._impl_.potential_issues_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_VoteSetup) -} - -inline void CCSUsrMsg_VoteSetup::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.potential_issues_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CCSUsrMsg_VoteSetup::~CCSUsrMsg_VoteSetup() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_VoteSetup) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_VoteSetup::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.potential_issues_.~RepeatedPtrField(); -} - -void CCSUsrMsg_VoteSetup::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_VoteSetup::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_VoteSetup) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.potential_issues_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_VoteSetup::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated string potential_issues = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_potential_issues(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_VoteSetup.potential_issues"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_VoteSetup::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_VoteSetup) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string potential_issues = 1; - for (int i = 0, n = this->_internal_potential_issues_size(); i < n; i++) { - const auto& s = this->_internal_potential_issues(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_VoteSetup.potential_issues"); - target = stream->WriteString(1, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_VoteSetup) - return target; -} - -size_t CCSUsrMsg_VoteSetup::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_VoteSetup) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string potential_issues = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.potential_issues_.size()); - for (int i = 0, n = _impl_.potential_issues_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.potential_issues_.Get(i)); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_VoteSetup::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_VoteSetup::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_VoteSetup::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_VoteSetup::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_VoteSetup) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.potential_issues_.MergeFrom(from._impl_.potential_issues_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_VoteSetup::CopyFrom(const CCSUsrMsg_VoteSetup& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_VoteSetup) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_VoteSetup::IsInitialized() const { - return true; -} - -void CCSUsrMsg_VoteSetup::InternalSwap(CCSUsrMsg_VoteSetup* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.potential_issues_.InternalSwap(&other->_impl_.potential_issues_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_VoteSetup::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[45]); -} - -// =================================================================== - -class CCSUsrMsg_SendLastKillerDamageToClient::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_num_hits_given(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_damage_given(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_num_hits_taken(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_damage_taken(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_actual_damage_given(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_actual_damage_taken(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } -}; - -CCSUsrMsg_SendLastKillerDamageToClient::CCSUsrMsg_SendLastKillerDamageToClient(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_SendLastKillerDamageToClient) -} -CCSUsrMsg_SendLastKillerDamageToClient::CCSUsrMsg_SendLastKillerDamageToClient(const CCSUsrMsg_SendLastKillerDamageToClient& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_SendLastKillerDamageToClient* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.num_hits_given_){} - , decltype(_impl_.damage_given_){} - , decltype(_impl_.num_hits_taken_){} - , decltype(_impl_.damage_taken_){} - , decltype(_impl_.actual_damage_given_){} - , decltype(_impl_.actual_damage_taken_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.num_hits_given_, &from._impl_.num_hits_given_, - static_cast(reinterpret_cast(&_impl_.actual_damage_taken_) - - reinterpret_cast(&_impl_.num_hits_given_)) + sizeof(_impl_.actual_damage_taken_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SendLastKillerDamageToClient) -} - -inline void CCSUsrMsg_SendLastKillerDamageToClient::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.num_hits_given_){0} - , decltype(_impl_.damage_given_){0} - , decltype(_impl_.num_hits_taken_){0} - , decltype(_impl_.damage_taken_){0} - , decltype(_impl_.actual_damage_given_){0} - , decltype(_impl_.actual_damage_taken_){0} - }; -} - -CCSUsrMsg_SendLastKillerDamageToClient::~CCSUsrMsg_SendLastKillerDamageToClient() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_SendLastKillerDamageToClient) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_SendLastKillerDamageToClient::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_SendLastKillerDamageToClient::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_SendLastKillerDamageToClient::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SendLastKillerDamageToClient) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - ::memset(&_impl_.num_hits_given_, 0, static_cast( - reinterpret_cast(&_impl_.actual_damage_taken_) - - reinterpret_cast(&_impl_.num_hits_given_)) + sizeof(_impl_.actual_damage_taken_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_SendLastKillerDamageToClient::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 num_hits_given = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_num_hits_given(&has_bits); - _impl_.num_hits_given_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 damage_given = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_damage_given(&has_bits); - _impl_.damage_given_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 num_hits_taken = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_num_hits_taken(&has_bits); - _impl_.num_hits_taken_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 damage_taken = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_damage_taken(&has_bits); - _impl_.damage_taken_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 actual_damage_given = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_actual_damage_given(&has_bits); - _impl_.actual_damage_given_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 actual_damage_taken = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_actual_damage_taken(&has_bits); - _impl_.actual_damage_taken_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_SendLastKillerDamageToClient::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SendLastKillerDamageToClient) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 num_hits_given = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_num_hits_given(), target); - } - - // optional int32 damage_given = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_damage_given(), target); - } - - // optional int32 num_hits_taken = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_num_hits_taken(), target); - } - - // optional int32 damage_taken = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_damage_taken(), target); - } - - // optional int32 actual_damage_given = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_actual_damage_given(), target); - } - - // optional int32 actual_damage_taken = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_actual_damage_taken(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_SendLastKillerDamageToClient) - return target; -} - -size_t CCSUsrMsg_SendLastKillerDamageToClient::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SendLastKillerDamageToClient) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional int32 num_hits_given = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_hits_given()); - } - - // optional int32 damage_given = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_damage_given()); - } - - // optional int32 num_hits_taken = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_hits_taken()); - } - - // optional int32 damage_taken = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_damage_taken()); - } - - // optional int32 actual_damage_given = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_actual_damage_given()); - } - - // optional int32 actual_damage_taken = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_actual_damage_taken()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SendLastKillerDamageToClient::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_SendLastKillerDamageToClient::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SendLastKillerDamageToClient::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_SendLastKillerDamageToClient::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_SendLastKillerDamageToClient) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.num_hits_given_ = from._impl_.num_hits_given_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.damage_given_ = from._impl_.damage_given_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.num_hits_taken_ = from._impl_.num_hits_taken_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.damage_taken_ = from._impl_.damage_taken_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.actual_damage_given_ = from._impl_.actual_damage_given_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.actual_damage_taken_ = from._impl_.actual_damage_taken_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_SendLastKillerDamageToClient::CopyFrom(const CCSUsrMsg_SendLastKillerDamageToClient& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SendLastKillerDamageToClient) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_SendLastKillerDamageToClient::IsInitialized() const { - return true; -} - -void CCSUsrMsg_SendLastKillerDamageToClient::InternalSwap(CCSUsrMsg_SendLastKillerDamageToClient* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SendLastKillerDamageToClient, _impl_.actual_damage_taken_) - + sizeof(CCSUsrMsg_SendLastKillerDamageToClient::_impl_.actual_damage_taken_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SendLastKillerDamageToClient, _impl_.num_hits_given_)>( - reinterpret_cast(&_impl_.num_hits_given_), - reinterpret_cast(&other->_impl_.num_hits_given_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SendLastKillerDamageToClient::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[46]); -} - -// =================================================================== - -class CCSUsrMsg_ServerRankUpdate_RankUpdate::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_rank_old(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_rank_new(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_num_wins(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_rank_change(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_rank_type_id(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } -}; - -CCSUsrMsg_ServerRankUpdate_RankUpdate::CCSUsrMsg_ServerRankUpdate_RankUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_ServerRankUpdate.RankUpdate) -} -CCSUsrMsg_ServerRankUpdate_RankUpdate::CCSUsrMsg_ServerRankUpdate_RankUpdate(const CCSUsrMsg_ServerRankUpdate_RankUpdate& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_ServerRankUpdate_RankUpdate* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_id_){} - , decltype(_impl_.rank_old_){} - , decltype(_impl_.rank_new_){} - , decltype(_impl_.num_wins_){} - , decltype(_impl_.rank_change_){} - , decltype(_impl_.rank_type_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.rank_type_id_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.rank_type_id_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ServerRankUpdate.RankUpdate) -} - -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_id_){0} - , decltype(_impl_.rank_old_){0} - , decltype(_impl_.rank_new_){0} - , decltype(_impl_.num_wins_){0} - , decltype(_impl_.rank_change_){0} - , decltype(_impl_.rank_type_id_){0} - }; -} - -CCSUsrMsg_ServerRankUpdate_RankUpdate::~CCSUsrMsg_ServerRankUpdate_RankUpdate() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_ServerRankUpdate.RankUpdate) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_ServerRankUpdate_RankUpdate::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_ServerRankUpdate_RankUpdate::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ServerRankUpdate.RankUpdate) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.rank_type_id_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.rank_type_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_ServerRankUpdate_RankUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 rank_old = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_rank_old(&has_bits); - _impl_.rank_old_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 rank_new = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_rank_new(&has_bits); - _impl_.rank_new_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 num_wins = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_num_wins(&has_bits); - _impl_.num_wins_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float rank_change = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_rank_change(&has_bits); - _impl_.rank_change_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 rank_type_id = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_rank_type_id(&has_bits); - _impl_.rank_type_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_ServerRankUpdate_RankUpdate::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ServerRankUpdate.RankUpdate) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 account_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional int32 rank_old = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_rank_old(), target); - } - - // optional int32 rank_new = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_rank_new(), target); - } - - // optional int32 num_wins = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_num_wins(), target); - } - - // optional float rank_change = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_rank_change(), target); - } - - // optional int32 rank_type_id = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_rank_type_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_ServerRankUpdate.RankUpdate) - return target; -} - -size_t CCSUsrMsg_ServerRankUpdate_RankUpdate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ServerRankUpdate.RankUpdate) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional int32 account_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_account_id()); - } - - // optional int32 rank_old = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_rank_old()); - } - - // optional int32 rank_new = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_rank_new()); - } - - // optional int32 num_wins = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_wins()); - } - - // optional float rank_change = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional int32 rank_type_id = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_rank_type_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ServerRankUpdate_RankUpdate::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_ServerRankUpdate_RankUpdate::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ServerRankUpdate_RankUpdate::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_ServerRankUpdate_RankUpdate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_ServerRankUpdate.RankUpdate) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.rank_old_ = from._impl_.rank_old_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.rank_new_ = from._impl_.rank_new_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.num_wins_ = from._impl_.num_wins_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.rank_change_ = from._impl_.rank_change_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.rank_type_id_ = from._impl_.rank_type_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_ServerRankUpdate_RankUpdate::CopyFrom(const CCSUsrMsg_ServerRankUpdate_RankUpdate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ServerRankUpdate.RankUpdate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_ServerRankUpdate_RankUpdate::IsInitialized() const { - return true; -} - -void CCSUsrMsg_ServerRankUpdate_RankUpdate::InternalSwap(CCSUsrMsg_ServerRankUpdate_RankUpdate* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ServerRankUpdate_RankUpdate, _impl_.rank_type_id_) - + sizeof(CCSUsrMsg_ServerRankUpdate_RankUpdate::_impl_.rank_type_id_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ServerRankUpdate_RankUpdate, _impl_.account_id_)>( - reinterpret_cast(&_impl_.account_id_), - reinterpret_cast(&other->_impl_.account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ServerRankUpdate_RankUpdate::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[47]); -} - -// =================================================================== - -class CCSUsrMsg_ServerRankUpdate::_Internal { - public: -}; - -CCSUsrMsg_ServerRankUpdate::CCSUsrMsg_ServerRankUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_ServerRankUpdate) -} -CCSUsrMsg_ServerRankUpdate::CCSUsrMsg_ServerRankUpdate(const CCSUsrMsg_ServerRankUpdate& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_ServerRankUpdate* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.rank_update_){from._impl_.rank_update_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ServerRankUpdate) -} - -inline void CCSUsrMsg_ServerRankUpdate::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.rank_update_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CCSUsrMsg_ServerRankUpdate::~CCSUsrMsg_ServerRankUpdate() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_ServerRankUpdate) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_ServerRankUpdate::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.rank_update_.~RepeatedPtrField(); -} - -void CCSUsrMsg_ServerRankUpdate::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_ServerRankUpdate::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ServerRankUpdate) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.rank_update_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_ServerRankUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CCSUsrMsg_ServerRankUpdate.RankUpdate rank_update = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_rank_update(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_ServerRankUpdate::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ServerRankUpdate) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CCSUsrMsg_ServerRankUpdate.RankUpdate rank_update = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_rank_update_size()); i < n; i++) { - const auto& repfield = this->_internal_rank_update(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_ServerRankUpdate) - return target; -} - -size_t CCSUsrMsg_ServerRankUpdate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ServerRankUpdate) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CCSUsrMsg_ServerRankUpdate.RankUpdate rank_update = 1; - total_size += 1UL * this->_internal_rank_update_size(); - for (const auto& msg : this->_impl_.rank_update_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ServerRankUpdate::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_ServerRankUpdate::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ServerRankUpdate::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_ServerRankUpdate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_ServerRankUpdate) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.rank_update_.MergeFrom(from._impl_.rank_update_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_ServerRankUpdate::CopyFrom(const CCSUsrMsg_ServerRankUpdate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ServerRankUpdate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_ServerRankUpdate::IsInitialized() const { - return true; -} - -void CCSUsrMsg_ServerRankUpdate::InternalSwap(CCSUsrMsg_ServerRankUpdate* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.rank_update_.InternalSwap(&other->_impl_.rank_update_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ServerRankUpdate::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[48]); -} - -// =================================================================== - -class CCSUsrMsg_XpUpdate::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& data(const CCSUsrMsg_XpUpdate* msg); - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& -CCSUsrMsg_XpUpdate::_Internal::data(const CCSUsrMsg_XpUpdate* msg) { - return *msg->_impl_.data_; -} -void CCSUsrMsg_XpUpdate::clear_data() { - if (_impl_.data_ != nullptr) _impl_.data_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CCSUsrMsg_XpUpdate::CCSUsrMsg_XpUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_XpUpdate) -} -CCSUsrMsg_XpUpdate::CCSUsrMsg_XpUpdate(const CCSUsrMsg_XpUpdate& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_XpUpdate* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_data()) { - _this->_impl_.data_ = new ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded(*from._impl_.data_); - } - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_XpUpdate) -} - -inline void CCSUsrMsg_XpUpdate::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){nullptr} - }; -} - -CCSUsrMsg_XpUpdate::~CCSUsrMsg_XpUpdate() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_XpUpdate) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_XpUpdate::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.data_; -} - -void CCSUsrMsg_XpUpdate::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_XpUpdate::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_XpUpdate) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.data_ != nullptr); - _impl_.data_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_XpUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded data = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_data(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_XpUpdate::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_XpUpdate) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded data = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::data(this), - _Internal::data(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_XpUpdate) - return target; -} - -size_t CCSUsrMsg_XpUpdate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_XpUpdate) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded data = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.data_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_XpUpdate::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_XpUpdate::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_XpUpdate::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_XpUpdate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_XpUpdate) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_data()) { - _this->_internal_mutable_data()->::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded::MergeFrom( - from._internal_data()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_XpUpdate::CopyFrom(const CCSUsrMsg_XpUpdate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_XpUpdate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_XpUpdate::IsInitialized() const { - return true; -} - -void CCSUsrMsg_XpUpdate::InternalSwap(CCSUsrMsg_XpUpdate* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.data_, other->_impl_.data_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_XpUpdate::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[49]); -} - -// =================================================================== - -class CCSUsrMsg_ItemPickup::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_item(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_ItemPickup::CCSUsrMsg_ItemPickup(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_ItemPickup) -} -CCSUsrMsg_ItemPickup::CCSUsrMsg_ItemPickup(const CCSUsrMsg_ItemPickup& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_ItemPickup* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.item_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.item_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_item()) { - _this->_impl_.item_.Set(from._internal_item(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ItemPickup) -} - -inline void CCSUsrMsg_ItemPickup::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_){} - }; - _impl_.item_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.item_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_ItemPickup::~CCSUsrMsg_ItemPickup() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_ItemPickup) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_ItemPickup::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.item_.Destroy(); -} - -void CCSUsrMsg_ItemPickup::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_ItemPickup::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ItemPickup) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.item_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_ItemPickup::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string item = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_item(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_ItemPickup.item"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_ItemPickup::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ItemPickup) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string item = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_item().data(), static_cast(this->_internal_item().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_ItemPickup.item"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_item(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_ItemPickup) - return target; -} - -size_t CCSUsrMsg_ItemPickup::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ItemPickup) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string item = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_item()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ItemPickup::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_ItemPickup::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ItemPickup::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_ItemPickup::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_ItemPickup) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_item()) { - _this->_internal_set_item(from._internal_item()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_ItemPickup::CopyFrom(const CCSUsrMsg_ItemPickup& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ItemPickup) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_ItemPickup::IsInitialized() const { - return true; -} - -void CCSUsrMsg_ItemPickup::InternalSwap(CCSUsrMsg_ItemPickup* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.item_, lhs_arena, - &other->_impl_.item_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ItemPickup::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[50]); -} - -// =================================================================== - -class CCSUsrMsg_ShowMenu::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_bits_valid_slots(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_display_time(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_menu_string(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_ShowMenu::CCSUsrMsg_ShowMenu(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_ShowMenu) -} -CCSUsrMsg_ShowMenu::CCSUsrMsg_ShowMenu(const CCSUsrMsg_ShowMenu& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_ShowMenu* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.menu_string_){} - , decltype(_impl_.bits_valid_slots_){} - , decltype(_impl_.display_time_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.menu_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.menu_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_menu_string()) { - _this->_impl_.menu_string_.Set(from._internal_menu_string(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.bits_valid_slots_, &from._impl_.bits_valid_slots_, - static_cast(reinterpret_cast(&_impl_.display_time_) - - reinterpret_cast(&_impl_.bits_valid_slots_)) + sizeof(_impl_.display_time_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ShowMenu) -} - -inline void CCSUsrMsg_ShowMenu::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.menu_string_){} - , decltype(_impl_.bits_valid_slots_){0} - , decltype(_impl_.display_time_){0} - }; - _impl_.menu_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.menu_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_ShowMenu::~CCSUsrMsg_ShowMenu() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_ShowMenu) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_ShowMenu::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.menu_string_.Destroy(); -} - -void CCSUsrMsg_ShowMenu::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_ShowMenu::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ShowMenu) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.menu_string_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.bits_valid_slots_, 0, static_cast( - reinterpret_cast(&_impl_.display_time_) - - reinterpret_cast(&_impl_.bits_valid_slots_)) + sizeof(_impl_.display_time_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_ShowMenu::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 bits_valid_slots = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_bits_valid_slots(&has_bits); - _impl_.bits_valid_slots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 display_time = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_display_time(&has_bits); - _impl_.display_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string menu_string = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_menu_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_ShowMenu.menu_string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_ShowMenu::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ShowMenu) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 bits_valid_slots = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_bits_valid_slots(), target); - } - - // optional int32 display_time = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_display_time(), target); - } - - // optional string menu_string = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_menu_string().data(), static_cast(this->_internal_menu_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_ShowMenu.menu_string"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_menu_string(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_ShowMenu) - return target; -} - -size_t CCSUsrMsg_ShowMenu::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ShowMenu) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string menu_string = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_menu_string()); - } - - // optional int32 bits_valid_slots = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_bits_valid_slots()); - } - - // optional int32 display_time = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_display_time()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ShowMenu::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_ShowMenu::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ShowMenu::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_ShowMenu::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_ShowMenu) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_menu_string(from._internal_menu_string()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.bits_valid_slots_ = from._impl_.bits_valid_slots_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.display_time_ = from._impl_.display_time_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_ShowMenu::CopyFrom(const CCSUsrMsg_ShowMenu& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ShowMenu) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_ShowMenu::IsInitialized() const { - return true; -} - -void CCSUsrMsg_ShowMenu::InternalSwap(CCSUsrMsg_ShowMenu* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.menu_string_, lhs_arena, - &other->_impl_.menu_string_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ShowMenu, _impl_.display_time_) - + sizeof(CCSUsrMsg_ShowMenu::_impl_.display_time_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ShowMenu, _impl_.bits_valid_slots_)>( - reinterpret_cast(&_impl_.bits_valid_slots_), - reinterpret_cast(&other->_impl_.bits_valid_slots_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ShowMenu::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[51]); -} - -// =================================================================== - -class CCSUsrMsg_BarTime::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_time(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_BarTime::CCSUsrMsg_BarTime(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_BarTime) -} -CCSUsrMsg_BarTime::CCSUsrMsg_BarTime(const CCSUsrMsg_BarTime& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_BarTime* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.time_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.time_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.time_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_time()) { - _this->_impl_.time_.Set(from._internal_time(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_BarTime) -} - -inline void CCSUsrMsg_BarTime::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.time_){} - }; - _impl_.time_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.time_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_BarTime::~CCSUsrMsg_BarTime() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_BarTime) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_BarTime::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.time_.Destroy(); -} - -void CCSUsrMsg_BarTime::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_BarTime::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_BarTime) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.time_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_BarTime::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string time = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_time(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_BarTime.time"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_BarTime::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_BarTime) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string time = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_time().data(), static_cast(this->_internal_time().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_BarTime.time"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_time(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_BarTime) - return target; -} - -size_t CCSUsrMsg_BarTime::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_BarTime) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string time = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_time()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_BarTime::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_BarTime::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_BarTime::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_BarTime::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_BarTime) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_time()) { - _this->_internal_set_time(from._internal_time()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_BarTime::CopyFrom(const CCSUsrMsg_BarTime& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_BarTime) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_BarTime::IsInitialized() const { - return true; -} - -void CCSUsrMsg_BarTime::InternalSwap(CCSUsrMsg_BarTime* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.time_, lhs_arena, - &other->_impl_.time_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_BarTime::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[52]); -} - -// =================================================================== - -class CCSUsrMsg_AmmoDenied::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ammoidx(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_AmmoDenied::CCSUsrMsg_AmmoDenied(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_AmmoDenied) -} -CCSUsrMsg_AmmoDenied::CCSUsrMsg_AmmoDenied(const CCSUsrMsg_AmmoDenied& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_AmmoDenied* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ammoidx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.ammoidx_ = from._impl_.ammoidx_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_AmmoDenied) -} - -inline void CCSUsrMsg_AmmoDenied::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ammoidx_){0} - }; -} - -CCSUsrMsg_AmmoDenied::~CCSUsrMsg_AmmoDenied() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_AmmoDenied) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_AmmoDenied::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_AmmoDenied::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_AmmoDenied::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_AmmoDenied) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.ammoidx_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_AmmoDenied::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 ammoidx = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_ammoidx(&has_bits); - _impl_.ammoidx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_AmmoDenied::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_AmmoDenied) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 ammoidx = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_ammoidx(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_AmmoDenied) - return target; -} - -size_t CCSUsrMsg_AmmoDenied::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_AmmoDenied) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 ammoidx = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ammoidx()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_AmmoDenied::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_AmmoDenied::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_AmmoDenied::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_AmmoDenied::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_AmmoDenied) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_ammoidx()) { - _this->_internal_set_ammoidx(from._internal_ammoidx()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_AmmoDenied::CopyFrom(const CCSUsrMsg_AmmoDenied& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_AmmoDenied) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_AmmoDenied::IsInitialized() const { - return true; -} - -void CCSUsrMsg_AmmoDenied::InternalSwap(CCSUsrMsg_AmmoDenied* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.ammoidx_, other->_impl_.ammoidx_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_AmmoDenied::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[53]); -} - -// =================================================================== - -class CCSUsrMsg_MarkAchievement::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_achievement(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_MarkAchievement::CCSUsrMsg_MarkAchievement(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_MarkAchievement) -} -CCSUsrMsg_MarkAchievement::CCSUsrMsg_MarkAchievement(const CCSUsrMsg_MarkAchievement& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_MarkAchievement* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.achievement_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.achievement_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.achievement_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_achievement()) { - _this->_impl_.achievement_.Set(from._internal_achievement(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_MarkAchievement) -} - -inline void CCSUsrMsg_MarkAchievement::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.achievement_){} - }; - _impl_.achievement_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.achievement_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_MarkAchievement::~CCSUsrMsg_MarkAchievement() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_MarkAchievement) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_MarkAchievement::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.achievement_.Destroy(); -} - -void CCSUsrMsg_MarkAchievement::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_MarkAchievement::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_MarkAchievement) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.achievement_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_MarkAchievement::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string achievement = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_achievement(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_MarkAchievement.achievement"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_MarkAchievement::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_MarkAchievement) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string achievement = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_achievement().data(), static_cast(this->_internal_achievement().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_MarkAchievement.achievement"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_achievement(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_MarkAchievement) - return target; -} - -size_t CCSUsrMsg_MarkAchievement::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_MarkAchievement) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string achievement = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_achievement()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_MarkAchievement::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_MarkAchievement::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_MarkAchievement::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_MarkAchievement::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_MarkAchievement) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_achievement()) { - _this->_internal_set_achievement(from._internal_achievement()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_MarkAchievement::CopyFrom(const CCSUsrMsg_MarkAchievement& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_MarkAchievement) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_MarkAchievement::IsInitialized() const { - return true; -} - -void CCSUsrMsg_MarkAchievement::InternalSwap(CCSUsrMsg_MarkAchievement* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.achievement_, lhs_arena, - &other->_impl_.achievement_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_MarkAchievement::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[54]); -} - -// =================================================================== - -class CCSUsrMsg_MatchStatsUpdate::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_update(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_MatchStatsUpdate::CCSUsrMsg_MatchStatsUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_MatchStatsUpdate) -} -CCSUsrMsg_MatchStatsUpdate::CCSUsrMsg_MatchStatsUpdate(const CCSUsrMsg_MatchStatsUpdate& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_MatchStatsUpdate* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.update_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.update_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.update_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_update()) { - _this->_impl_.update_.Set(from._internal_update(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_MatchStatsUpdate) -} - -inline void CCSUsrMsg_MatchStatsUpdate::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.update_){} - }; - _impl_.update_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.update_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_MatchStatsUpdate::~CCSUsrMsg_MatchStatsUpdate() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_MatchStatsUpdate) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_MatchStatsUpdate::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.update_.Destroy(); -} - -void CCSUsrMsg_MatchStatsUpdate::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_MatchStatsUpdate::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_MatchStatsUpdate) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.update_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_MatchStatsUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string update = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_update(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_MatchStatsUpdate.update"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_MatchStatsUpdate::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_MatchStatsUpdate) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string update = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_update().data(), static_cast(this->_internal_update().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_MatchStatsUpdate.update"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_update(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_MatchStatsUpdate) - return target; -} - -size_t CCSUsrMsg_MatchStatsUpdate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_MatchStatsUpdate) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string update = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_update()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_MatchStatsUpdate::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_MatchStatsUpdate::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_MatchStatsUpdate::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_MatchStatsUpdate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_MatchStatsUpdate) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_update()) { - _this->_internal_set_update(from._internal_update()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_MatchStatsUpdate::CopyFrom(const CCSUsrMsg_MatchStatsUpdate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_MatchStatsUpdate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_MatchStatsUpdate::IsInitialized() const { - return true; -} - -void CCSUsrMsg_MatchStatsUpdate::InternalSwap(CCSUsrMsg_MatchStatsUpdate* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.update_, lhs_arena, - &other->_impl_.update_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_MatchStatsUpdate::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[55]); -} - -// =================================================================== - -class CCSUsrMsg_ItemDrop::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_itemid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_death(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCSUsrMsg_ItemDrop::CCSUsrMsg_ItemDrop(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_ItemDrop) -} -CCSUsrMsg_ItemDrop::CCSUsrMsg_ItemDrop(const CCSUsrMsg_ItemDrop& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_ItemDrop* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.itemid_){} - , decltype(_impl_.death_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.itemid_, &from._impl_.itemid_, - static_cast(reinterpret_cast(&_impl_.death_) - - reinterpret_cast(&_impl_.itemid_)) + sizeof(_impl_.death_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ItemDrop) -} - -inline void CCSUsrMsg_ItemDrop::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.itemid_){int64_t{0}} - , decltype(_impl_.death_){false} - }; -} - -CCSUsrMsg_ItemDrop::~CCSUsrMsg_ItemDrop() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_ItemDrop) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_ItemDrop::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_ItemDrop::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_ItemDrop::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ItemDrop) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.itemid_, 0, static_cast( - reinterpret_cast(&_impl_.death_) - - reinterpret_cast(&_impl_.itemid_)) + sizeof(_impl_.death_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_ItemDrop::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int64 itemid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_itemid(&has_bits); - _impl_.itemid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool death = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_death(&has_bits); - _impl_.death_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_ItemDrop::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ItemDrop) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int64 itemid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(1, this->_internal_itemid(), target); - } - - // optional bool death = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_death(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_ItemDrop) - return target; -} - -size_t CCSUsrMsg_ItemDrop::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ItemDrop) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional int64 itemid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_itemid()); - } - - // optional bool death = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ItemDrop::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_ItemDrop::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ItemDrop::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_ItemDrop::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_ItemDrop) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.itemid_ = from._impl_.itemid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.death_ = from._impl_.death_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_ItemDrop::CopyFrom(const CCSUsrMsg_ItemDrop& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ItemDrop) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_ItemDrop::IsInitialized() const { - return true; -} - -void CCSUsrMsg_ItemDrop::InternalSwap(CCSUsrMsg_ItemDrop* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ItemDrop, _impl_.death_) - + sizeof(CCSUsrMsg_ItemDrop::_impl_.death_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ItemDrop, _impl_.itemid_)>( - reinterpret_cast(&_impl_.itemid_), - reinterpret_cast(&other->_impl_.itemid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ItemDrop::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[56]); -} - -// =================================================================== - -class CCSUsrMsg_RoundBackupFilenames::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_count(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_index(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_filename(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_nicename(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCSUsrMsg_RoundBackupFilenames::CCSUsrMsg_RoundBackupFilenames(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_RoundBackupFilenames) -} -CCSUsrMsg_RoundBackupFilenames::CCSUsrMsg_RoundBackupFilenames(const CCSUsrMsg_RoundBackupFilenames& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_RoundBackupFilenames* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.filename_){} - , decltype(_impl_.nicename_){} - , decltype(_impl_.count_){} - , decltype(_impl_.index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.filename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.filename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_filename()) { - _this->_impl_.filename_.Set(from._internal_filename(), - _this->GetArenaForAllocation()); - } - _impl_.nicename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nicename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_nicename()) { - _this->_impl_.nicename_.Set(from._internal_nicename(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.count_, &from._impl_.count_, - static_cast(reinterpret_cast(&_impl_.index_) - - reinterpret_cast(&_impl_.count_)) + sizeof(_impl_.index_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RoundBackupFilenames) -} - -inline void CCSUsrMsg_RoundBackupFilenames::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.filename_){} - , decltype(_impl_.nicename_){} - , decltype(_impl_.count_){0} - , decltype(_impl_.index_){0} - }; - _impl_.filename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.filename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nicename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nicename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_RoundBackupFilenames::~CCSUsrMsg_RoundBackupFilenames() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_RoundBackupFilenames) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_RoundBackupFilenames::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.filename_.Destroy(); - _impl_.nicename_.Destroy(); -} - -void CCSUsrMsg_RoundBackupFilenames::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_RoundBackupFilenames::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RoundBackupFilenames) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.filename_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.nicename_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000000cu) { - ::memset(&_impl_.count_, 0, static_cast( - reinterpret_cast(&_impl_.index_) - - reinterpret_cast(&_impl_.count_)) + sizeof(_impl_.index_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_RoundBackupFilenames::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 count = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_count(&has_bits); - _impl_.count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 index = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_index(&has_bits); - _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string filename = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_filename(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_RoundBackupFilenames.filename"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string nicename = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_nicename(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_RoundBackupFilenames.nicename"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_RoundBackupFilenames::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RoundBackupFilenames) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 count = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_count(), target); - } - - // optional int32 index = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_index(), target); - } - - // optional string filename = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_filename().data(), static_cast(this->_internal_filename().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_RoundBackupFilenames.filename"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_filename(), target); - } - - // optional string nicename = 4; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_nicename().data(), static_cast(this->_internal_nicename().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_RoundBackupFilenames.nicename"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_nicename(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_RoundBackupFilenames) - return target; -} - -size_t CCSUsrMsg_RoundBackupFilenames::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RoundBackupFilenames) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string filename = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_filename()); - } - - // optional string nicename = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_nicename()); - } - - // optional int32 count = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_count()); - } - - // optional int32 index = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RoundBackupFilenames::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_RoundBackupFilenames::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RoundBackupFilenames::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_RoundBackupFilenames::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_RoundBackupFilenames) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_filename(from._internal_filename()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_nicename(from._internal_nicename()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.count_ = from._impl_.count_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.index_ = from._impl_.index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_RoundBackupFilenames::CopyFrom(const CCSUsrMsg_RoundBackupFilenames& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RoundBackupFilenames) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_RoundBackupFilenames::IsInitialized() const { - return true; -} - -void CCSUsrMsg_RoundBackupFilenames::InternalSwap(CCSUsrMsg_RoundBackupFilenames* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.filename_, lhs_arena, - &other->_impl_.filename_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.nicename_, lhs_arena, - &other->_impl_.nicename_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundBackupFilenames, _impl_.index_) - + sizeof(CCSUsrMsg_RoundBackupFilenames::_impl_.index_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundBackupFilenames, _impl_.count_)>( - reinterpret_cast(&_impl_.count_), - reinterpret_cast(&other->_impl_.count_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RoundBackupFilenames::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[57]); -} - -// =================================================================== - -class CCSUsrMsg_SSUI::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_show(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_start_time(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_end_time(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CCSUsrMsg_SSUI::CCSUsrMsg_SSUI(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_SSUI) -} -CCSUsrMsg_SSUI::CCSUsrMsg_SSUI(const CCSUsrMsg_SSUI& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_SSUI* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.show_){} - , decltype(_impl_.start_time_){} - , decltype(_impl_.end_time_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.show_, &from._impl_.show_, - static_cast(reinterpret_cast(&_impl_.end_time_) - - reinterpret_cast(&_impl_.show_)) + sizeof(_impl_.end_time_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SSUI) -} - -inline void CCSUsrMsg_SSUI::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.show_){false} - , decltype(_impl_.start_time_){0} - , decltype(_impl_.end_time_){0} - }; -} - -CCSUsrMsg_SSUI::~CCSUsrMsg_SSUI() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_SSUI) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_SSUI::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_SSUI::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_SSUI::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SSUI) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.show_, 0, static_cast( - reinterpret_cast(&_impl_.end_time_) - - reinterpret_cast(&_impl_.show_)) + sizeof(_impl_.end_time_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_SSUI::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool show = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_show(&has_bits); - _impl_.show_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float start_time = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_start_time(&has_bits); - _impl_.start_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float end_time = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_end_time(&has_bits); - _impl_.end_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_SSUI::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SSUI) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool show = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_show(), target); - } - - // optional float start_time = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_start_time(), target); - } - - // optional float end_time = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_end_time(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_SSUI) - return target; -} - -size_t CCSUsrMsg_SSUI::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SSUI) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional bool show = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - // optional float start_time = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float end_time = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SSUI::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_SSUI::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SSUI::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_SSUI::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_SSUI) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.show_ = from._impl_.show_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.start_time_ = from._impl_.start_time_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.end_time_ = from._impl_.end_time_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_SSUI::CopyFrom(const CCSUsrMsg_SSUI& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SSUI) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_SSUI::IsInitialized() const { - return true; -} - -void CCSUsrMsg_SSUI::InternalSwap(CCSUsrMsg_SSUI* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SSUI, _impl_.end_time_) - + sizeof(CCSUsrMsg_SSUI::_impl_.end_time_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SSUI, _impl_.show_)>( - reinterpret_cast(&_impl_.show_), - reinterpret_cast(&other->_impl_.show_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SSUI::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[58]); -} - -// =================================================================== - -class CCSUsrMsg_SurvivalStats_Fact::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_display(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_interestingness(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CCSUsrMsg_SurvivalStats_Fact::CCSUsrMsg_SurvivalStats_Fact(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_SurvivalStats.Fact) -} -CCSUsrMsg_SurvivalStats_Fact::CCSUsrMsg_SurvivalStats_Fact(const CCSUsrMsg_SurvivalStats_Fact& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_SurvivalStats_Fact* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){} - , decltype(_impl_.display_){} - , decltype(_impl_.value_){} - , decltype(_impl_.interestingness_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.type_, &from._impl_.type_, - static_cast(reinterpret_cast(&_impl_.interestingness_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.interestingness_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SurvivalStats.Fact) -} - -inline void CCSUsrMsg_SurvivalStats_Fact::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){0} - , decltype(_impl_.display_){0} - , decltype(_impl_.value_){0} - , decltype(_impl_.interestingness_){0} - }; -} - -CCSUsrMsg_SurvivalStats_Fact::~CCSUsrMsg_SurvivalStats_Fact() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_SurvivalStats.Fact) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_SurvivalStats_Fact::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_SurvivalStats_Fact::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_SurvivalStats_Fact::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SurvivalStats.Fact) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.type_, 0, static_cast( - reinterpret_cast(&_impl_.interestingness_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.interestingness_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_SurvivalStats_Fact::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_type(&has_bits); - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 display = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_display(&has_bits); - _impl_.display_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 value = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_value(&has_bits); - _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float interestingness = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_interestingness(&has_bits); - _impl_.interestingness_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_SurvivalStats_Fact::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SurvivalStats.Fact) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 type = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type(), target); - } - - // optional int32 display = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_display(), target); - } - - // optional int32 value = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_value(), target); - } - - // optional float interestingness = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_interestingness(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_SurvivalStats.Fact) - return target; -} - -size_t CCSUsrMsg_SurvivalStats_Fact::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SurvivalStats.Fact) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional int32 type = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); - } - - // optional int32 display = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_display()); - } - - // optional int32 value = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_value()); - } - - // optional float interestingness = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SurvivalStats_Fact::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_SurvivalStats_Fact::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SurvivalStats_Fact::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_SurvivalStats_Fact::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_SurvivalStats.Fact) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.type_ = from._impl_.type_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.display_ = from._impl_.display_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.value_ = from._impl_.value_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.interestingness_ = from._impl_.interestingness_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_SurvivalStats_Fact::CopyFrom(const CCSUsrMsg_SurvivalStats_Fact& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SurvivalStats.Fact) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_SurvivalStats_Fact::IsInitialized() const { - return true; -} - -void CCSUsrMsg_SurvivalStats_Fact::InternalSwap(CCSUsrMsg_SurvivalStats_Fact* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SurvivalStats_Fact, _impl_.interestingness_) - + sizeof(CCSUsrMsg_SurvivalStats_Fact::_impl_.interestingness_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SurvivalStats_Fact, _impl_.type_)>( - reinterpret_cast(&_impl_.type_), - reinterpret_cast(&other->_impl_.type_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SurvivalStats_Fact::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[59]); -} - -// =================================================================== - -class CCSUsrMsg_SurvivalStats_Placement::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_xuid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_teamnumber(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_placement(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CCSUsrMsg_SurvivalStats_Placement::CCSUsrMsg_SurvivalStats_Placement(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_SurvivalStats.Placement) -} -CCSUsrMsg_SurvivalStats_Placement::CCSUsrMsg_SurvivalStats_Placement(const CCSUsrMsg_SurvivalStats_Placement& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_SurvivalStats_Placement* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.xuid_){} - , decltype(_impl_.teamnumber_){} - , decltype(_impl_.placement_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.xuid_, &from._impl_.xuid_, - static_cast(reinterpret_cast(&_impl_.placement_) - - reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.placement_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SurvivalStats.Placement) -} - -inline void CCSUsrMsg_SurvivalStats_Placement::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.xuid_){uint64_t{0u}} - , decltype(_impl_.teamnumber_){0} - , decltype(_impl_.placement_){0} - }; -} - -CCSUsrMsg_SurvivalStats_Placement::~CCSUsrMsg_SurvivalStats_Placement() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_SurvivalStats.Placement) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_SurvivalStats_Placement::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_SurvivalStats_Placement::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_SurvivalStats_Placement::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SurvivalStats.Placement) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.xuid_, 0, static_cast( - reinterpret_cast(&_impl_.placement_) - - reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.placement_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_SurvivalStats_Placement::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 xuid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_xuid(&has_bits); - _impl_.xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 teamnumber = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_teamnumber(&has_bits); - _impl_.teamnumber_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 placement = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_placement(&has_bits); - _impl_.placement_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_SurvivalStats_Placement::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SurvivalStats.Placement) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 xuid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_xuid(), target); - } - - // optional int32 teamnumber = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_teamnumber(), target); - } - - // optional int32 placement = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_placement(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_SurvivalStats.Placement) - return target; -} - -size_t CCSUsrMsg_SurvivalStats_Placement::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SurvivalStats.Placement) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint64 xuid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_xuid()); - } - - // optional int32 teamnumber = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_teamnumber()); - } - - // optional int32 placement = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_placement()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SurvivalStats_Placement::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_SurvivalStats_Placement::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SurvivalStats_Placement::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_SurvivalStats_Placement::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_SurvivalStats.Placement) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.xuid_ = from._impl_.xuid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.teamnumber_ = from._impl_.teamnumber_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.placement_ = from._impl_.placement_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_SurvivalStats_Placement::CopyFrom(const CCSUsrMsg_SurvivalStats_Placement& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SurvivalStats.Placement) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_SurvivalStats_Placement::IsInitialized() const { - return true; -} - -void CCSUsrMsg_SurvivalStats_Placement::InternalSwap(CCSUsrMsg_SurvivalStats_Placement* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SurvivalStats_Placement, _impl_.placement_) - + sizeof(CCSUsrMsg_SurvivalStats_Placement::_impl_.placement_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SurvivalStats_Placement, _impl_.xuid_)>( - reinterpret_cast(&_impl_.xuid_), - reinterpret_cast(&other->_impl_.xuid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SurvivalStats_Placement::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[60]); -} - -// =================================================================== - -class CCSUsrMsg_SurvivalStats_Damage::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_xuid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_to(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_to_hits(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_from(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_from_hits(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CCSUsrMsg_SurvivalStats_Damage::CCSUsrMsg_SurvivalStats_Damage(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_SurvivalStats.Damage) -} -CCSUsrMsg_SurvivalStats_Damage::CCSUsrMsg_SurvivalStats_Damage(const CCSUsrMsg_SurvivalStats_Damage& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_SurvivalStats_Damage* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.xuid_){} - , decltype(_impl_.to_){} - , decltype(_impl_.to_hits_){} - , decltype(_impl_.from_){} - , decltype(_impl_.from_hits_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.xuid_, &from._impl_.xuid_, - static_cast(reinterpret_cast(&_impl_.from_hits_) - - reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.from_hits_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SurvivalStats.Damage) -} - -inline void CCSUsrMsg_SurvivalStats_Damage::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.xuid_){uint64_t{0u}} - , decltype(_impl_.to_){0} - , decltype(_impl_.to_hits_){0} - , decltype(_impl_.from_){0} - , decltype(_impl_.from_hits_){0} - }; -} - -CCSUsrMsg_SurvivalStats_Damage::~CCSUsrMsg_SurvivalStats_Damage() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_SurvivalStats.Damage) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_SurvivalStats_Damage::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_SurvivalStats_Damage::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_SurvivalStats_Damage::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SurvivalStats.Damage) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.xuid_, 0, static_cast( - reinterpret_cast(&_impl_.from_hits_) - - reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.from_hits_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_SurvivalStats_Damage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 xuid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_xuid(&has_bits); - _impl_.xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 to = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_to(&has_bits); - _impl_.to_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 to_hits = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_to_hits(&has_bits); - _impl_.to_hits_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 from = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_from(&has_bits); - _impl_.from_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 from_hits = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_from_hits(&has_bits); - _impl_.from_hits_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_SurvivalStats_Damage::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SurvivalStats.Damage) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 xuid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_xuid(), target); - } - - // optional int32 to = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_to(), target); - } - - // optional int32 to_hits = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_to_hits(), target); - } - - // optional int32 from = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_from(), target); - } - - // optional int32 from_hits = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_from_hits(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_SurvivalStats.Damage) - return target; -} - -size_t CCSUsrMsg_SurvivalStats_Damage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SurvivalStats.Damage) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional uint64 xuid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_xuid()); - } - - // optional int32 to = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_to()); - } - - // optional int32 to_hits = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_to_hits()); - } - - // optional int32 from = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_from()); - } - - // optional int32 from_hits = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_from_hits()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SurvivalStats_Damage::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_SurvivalStats_Damage::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SurvivalStats_Damage::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_SurvivalStats_Damage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_SurvivalStats.Damage) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.xuid_ = from._impl_.xuid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.to_ = from._impl_.to_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.to_hits_ = from._impl_.to_hits_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.from_ = from._impl_.from_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.from_hits_ = from._impl_.from_hits_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_SurvivalStats_Damage::CopyFrom(const CCSUsrMsg_SurvivalStats_Damage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SurvivalStats.Damage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_SurvivalStats_Damage::IsInitialized() const { - return true; -} - -void CCSUsrMsg_SurvivalStats_Damage::InternalSwap(CCSUsrMsg_SurvivalStats_Damage* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SurvivalStats_Damage, _impl_.from_hits_) - + sizeof(CCSUsrMsg_SurvivalStats_Damage::_impl_.from_hits_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SurvivalStats_Damage, _impl_.xuid_)>( - reinterpret_cast(&_impl_.xuid_), - reinterpret_cast(&other->_impl_.xuid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SurvivalStats_Damage::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[61]); -} - -// =================================================================== - -class CCSUsrMsg_SurvivalStats::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_xuid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_ticknumber(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCSUsrMsg_SurvivalStats::CCSUsrMsg_SurvivalStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_SurvivalStats) -} -CCSUsrMsg_SurvivalStats::CCSUsrMsg_SurvivalStats(const CCSUsrMsg_SurvivalStats& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_SurvivalStats* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.facts_){from._impl_.facts_} - , decltype(_impl_.users_){from._impl_.users_} - , decltype(_impl_.damages_){from._impl_.damages_} - , decltype(_impl_.xuid_){} - , decltype(_impl_.ticknumber_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.xuid_, &from._impl_.xuid_, - static_cast(reinterpret_cast(&_impl_.ticknumber_) - - reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.ticknumber_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SurvivalStats) -} - -inline void CCSUsrMsg_SurvivalStats::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.facts_){arena} - , decltype(_impl_.users_){arena} - , decltype(_impl_.damages_){arena} - , decltype(_impl_.xuid_){uint64_t{0u}} - , decltype(_impl_.ticknumber_){0} - }; -} - -CCSUsrMsg_SurvivalStats::~CCSUsrMsg_SurvivalStats() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_SurvivalStats) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_SurvivalStats::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.facts_.~RepeatedPtrField(); - _impl_.users_.~RepeatedPtrField(); - _impl_.damages_.~RepeatedPtrField(); -} - -void CCSUsrMsg_SurvivalStats::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_SurvivalStats::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SurvivalStats) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.facts_.Clear(); - _impl_.users_.Clear(); - _impl_.damages_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.xuid_, 0, static_cast( - reinterpret_cast(&_impl_.ticknumber_) - - reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.ticknumber_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_SurvivalStats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 xuid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_xuid(&has_bits); - _impl_.xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CCSUsrMsg_SurvivalStats.Fact facts = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_facts(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CCSUsrMsg_SurvivalStats.Placement users = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_users(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // optional int32 ticknumber = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_ticknumber(&has_bits); - _impl_.ticknumber_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CCSUsrMsg_SurvivalStats.Damage damages = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_damages(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_SurvivalStats::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SurvivalStats) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 xuid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_xuid(), target); - } - - // repeated .CCSUsrMsg_SurvivalStats.Fact facts = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_facts_size()); i < n; i++) { - const auto& repfield = this->_internal_facts(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CCSUsrMsg_SurvivalStats.Placement users = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_users_size()); i < n; i++) { - const auto& repfield = this->_internal_users(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional int32 ticknumber = 4; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_ticknumber(), target); - } - - // repeated .CCSUsrMsg_SurvivalStats.Damage damages = 5; - for (unsigned i = 0, - n = static_cast(this->_internal_damages_size()); i < n; i++) { - const auto& repfield = this->_internal_damages(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_SurvivalStats) - return target; -} - -size_t CCSUsrMsg_SurvivalStats::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SurvivalStats) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CCSUsrMsg_SurvivalStats.Fact facts = 2; - total_size += 1UL * this->_internal_facts_size(); - for (const auto& msg : this->_impl_.facts_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CCSUsrMsg_SurvivalStats.Placement users = 3; - total_size += 1UL * this->_internal_users_size(); - for (const auto& msg : this->_impl_.users_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CCSUsrMsg_SurvivalStats.Damage damages = 5; - total_size += 1UL * this->_internal_damages_size(); - for (const auto& msg : this->_impl_.damages_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 xuid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_xuid()); - } - - // optional int32 ticknumber = 4; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ticknumber()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SurvivalStats::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_SurvivalStats::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SurvivalStats::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_SurvivalStats::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_SurvivalStats) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.facts_.MergeFrom(from._impl_.facts_); - _this->_impl_.users_.MergeFrom(from._impl_.users_); - _this->_impl_.damages_.MergeFrom(from._impl_.damages_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.xuid_ = from._impl_.xuid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.ticknumber_ = from._impl_.ticknumber_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_SurvivalStats::CopyFrom(const CCSUsrMsg_SurvivalStats& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SurvivalStats) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_SurvivalStats::IsInitialized() const { - return true; -} - -void CCSUsrMsg_SurvivalStats::InternalSwap(CCSUsrMsg_SurvivalStats* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.facts_.InternalSwap(&other->_impl_.facts_); - _impl_.users_.InternalSwap(&other->_impl_.users_); - _impl_.damages_.InternalSwap(&other->_impl_.damages_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SurvivalStats, _impl_.ticknumber_) - + sizeof(CCSUsrMsg_SurvivalStats::_impl_.ticknumber_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SurvivalStats, _impl_.xuid_)>( - reinterpret_cast(&_impl_.xuid_), - reinterpret_cast(&other->_impl_.xuid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SurvivalStats::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[62]); -} - -// =================================================================== - -class CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_eaccolade(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_position(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) -} -CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade(const CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.eaccolade_){} - , decltype(_impl_.value_){} - , decltype(_impl_.position_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.eaccolade_, &from._impl_.eaccolade_, - static_cast(reinterpret_cast(&_impl_.position_) - - reinterpret_cast(&_impl_.eaccolade_)) + sizeof(_impl_.position_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) -} - -inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.eaccolade_){0} - , decltype(_impl_.value_){0} - , decltype(_impl_.position_){0} - }; -} - -CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::~CCSUsrMsg_EndOfMatchAllPlayersData_Accolade() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.eaccolade_, 0, static_cast( - reinterpret_cast(&_impl_.position_) - - reinterpret_cast(&_impl_.eaccolade_)) + sizeof(_impl_.position_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 eaccolade = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_eaccolade(&has_bits); - _impl_.eaccolade_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_value(&has_bits); - _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 position = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_position(&has_bits); - _impl_.position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 eaccolade = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_eaccolade(), target); - } - - // optional float value = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_value(), target); - } - - // optional int32 position = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_position(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) - return target; -} - -size_t CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 eaccolade = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eaccolade()); - } - - // optional float value = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional int32 position = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_position()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.eaccolade_ = from._impl_.eaccolade_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.value_ = from._impl_.value_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.position_ = from._impl_.position_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::CopyFrom(const CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::IsInitialized() const { - return true; -} - -void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::InternalSwap(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade, _impl_.position_) - + sizeof(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_impl_.position_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade, _impl_.eaccolade_)>( - reinterpret_cast(&_impl_.eaccolade_), - reinterpret_cast(&other->_impl_.eaccolade_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[63]); -} - -// =================================================================== - -class CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_slot(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_xuid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_teamnumber(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& nomination(const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* msg); - static void set_has_nomination(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_playercolor(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_isbot(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } -}; - -const ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& -CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_Internal::nomination(const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* msg) { - return *msg->_impl_.nomination_; -} -void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::clear_items() { - _impl_.items_.Clear(); -} -CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) -} -CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData(const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.items_){from._impl_.items_} - , decltype(_impl_.name_){} - , decltype(_impl_.nomination_){nullptr} - , decltype(_impl_.xuid_){} - , decltype(_impl_.teamnumber_){} - , decltype(_impl_.playercolor_){} - , decltype(_impl_.isbot_){} - , decltype(_impl_.slot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_nomination()) { - _this->_impl_.nomination_ = new ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade(*from._impl_.nomination_); - } - ::memcpy(&_impl_.xuid_, &from._impl_.xuid_, - static_cast(reinterpret_cast(&_impl_.slot_) - - reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.slot_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) -} - -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.items_){arena} - , decltype(_impl_.name_){} - , decltype(_impl_.nomination_){nullptr} - , decltype(_impl_.xuid_){uint64_t{0u}} - , decltype(_impl_.teamnumber_){0} - , decltype(_impl_.playercolor_){0} - , decltype(_impl_.isbot_){false} - , decltype(_impl_.slot_){-1} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::~CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.items_.~RepeatedPtrField(); - _impl_.name_.Destroy(); - if (this != internal_default_instance()) delete _impl_.nomination_; -} - -void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.items_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.nomination_ != nullptr); - _impl_.nomination_->Clear(); - } - } - if (cached_has_bits & 0x0000007cu) { - ::memset(&_impl_.xuid_, 0, static_cast( - reinterpret_cast(&_impl_.isbot_) - - reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.isbot_)); - _impl_.slot_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 slot = 1 [default = -1]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_slot(&has_bits); - _impl_.slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 xuid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_xuid(&has_bits); - _impl_.xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 teamnumber = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_teamnumber(&has_bits); - _impl_.teamnumber_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CCSUsrMsg_EndOfMatchAllPlayersData.Accolade nomination = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_nomination(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CEconItemPreviewDataBlock items = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_items(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); - } else - goto handle_unusual; - continue; - // optional int32 playercolor = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_playercolor(&has_bits); - _impl_.playercolor_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool isbot = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_isbot(&has_bits); - _impl_.isbot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 slot = 1 [default = -1]; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_slot(), target); - } - - // optional uint64 xuid = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_xuid(), target); - } - - // optional string name = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.name"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_name(), target); - } - - // optional int32 teamnumber = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_teamnumber(), target); - } - - // optional .CCSUsrMsg_EndOfMatchAllPlayersData.Accolade nomination = 5; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::nomination(this), - _Internal::nomination(this).GetCachedSize(), target, stream); - } - - // repeated .CEconItemPreviewDataBlock items = 6; - for (unsigned i = 0, - n = static_cast(this->_internal_items_size()); i < n; i++) { - const auto& repfield = this->_internal_items(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional int32 playercolor = 7; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_playercolor(), target); - } - - // optional bool isbot = 8; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_isbot(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) - return target; -} - -size_t CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CEconItemPreviewDataBlock items = 6; - total_size += 1UL * this->_internal_items_size(); - for (const auto& msg : this->_impl_.items_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional string name = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional .CCSUsrMsg_EndOfMatchAllPlayersData.Accolade nomination = 5; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.nomination_); - } - - // optional uint64 xuid = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_xuid()); - } - - // optional int32 teamnumber = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_teamnumber()); - } - - // optional int32 playercolor = 7; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playercolor()); - } - - // optional bool isbot = 8; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 1; - } - - // optional int32 slot = 1 [default = -1]; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_slot()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.items_.MergeFrom(from._impl_.items_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_nomination()->::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::MergeFrom( - from._internal_nomination()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.xuid_ = from._impl_.xuid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.teamnumber_ = from._impl_.teamnumber_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.playercolor_ = from._impl_.playercolor_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.isbot_ = from._impl_.isbot_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.slot_ = from._impl_.slot_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::CopyFrom(const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::IsInitialized() const { - return true; -} - -void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::InternalSwap(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.items_.InternalSwap(&other->_impl_.items_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.isbot_) - + sizeof(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_impl_.isbot_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData, _impl_.nomination_)>( - reinterpret_cast(&_impl_.nomination_), - reinterpret_cast(&other->_impl_.nomination_)); - swap(_impl_.slot_, other->_impl_.slot_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[64]); -} - -// =================================================================== - -class CCSUsrMsg_EndOfMatchAllPlayersData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_scene(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_EndOfMatchAllPlayersData::CCSUsrMsg_EndOfMatchAllPlayersData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_EndOfMatchAllPlayersData) -} -CCSUsrMsg_EndOfMatchAllPlayersData::CCSUsrMsg_EndOfMatchAllPlayersData(const CCSUsrMsg_EndOfMatchAllPlayersData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_EndOfMatchAllPlayersData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.allplayerdata_){from._impl_.allplayerdata_} - , decltype(_impl_.scene_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.scene_ = from._impl_.scene_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_EndOfMatchAllPlayersData) -} - -inline void CCSUsrMsg_EndOfMatchAllPlayersData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.allplayerdata_){arena} - , decltype(_impl_.scene_){0} - }; -} - -CCSUsrMsg_EndOfMatchAllPlayersData::~CCSUsrMsg_EndOfMatchAllPlayersData() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_EndOfMatchAllPlayersData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_EndOfMatchAllPlayersData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.allplayerdata_.~RepeatedPtrField(); -} - -void CCSUsrMsg_EndOfMatchAllPlayersData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_EndOfMatchAllPlayersData::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_EndOfMatchAllPlayersData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.allplayerdata_.Clear(); - _impl_.scene_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_EndOfMatchAllPlayersData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData allplayerdata = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_allplayerdata(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // optional int32 scene = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_scene(&has_bits); - _impl_.scene_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_EndOfMatchAllPlayersData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_EndOfMatchAllPlayersData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData allplayerdata = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_allplayerdata_size()); i < n; i++) { - const auto& repfield = this->_internal_allplayerdata(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 scene = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_scene(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_EndOfMatchAllPlayersData) - return target; -} - -size_t CCSUsrMsg_EndOfMatchAllPlayersData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_EndOfMatchAllPlayersData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData allplayerdata = 1; - total_size += 1UL * this->_internal_allplayerdata_size(); - for (const auto& msg : this->_impl_.allplayerdata_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional int32 scene = 2; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_scene()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_EndOfMatchAllPlayersData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_EndOfMatchAllPlayersData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_EndOfMatchAllPlayersData::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_EndOfMatchAllPlayersData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_EndOfMatchAllPlayersData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.allplayerdata_.MergeFrom(from._impl_.allplayerdata_); - if (from._internal_has_scene()) { - _this->_internal_set_scene(from._internal_scene()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_EndOfMatchAllPlayersData::CopyFrom(const CCSUsrMsg_EndOfMatchAllPlayersData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_EndOfMatchAllPlayersData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_EndOfMatchAllPlayersData::IsInitialized() const { - return true; -} - -void CCSUsrMsg_EndOfMatchAllPlayersData::InternalSwap(CCSUsrMsg_EndOfMatchAllPlayersData* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.allplayerdata_.InternalSwap(&other->_impl_.allplayerdata_); - swap(_impl_.scene_, other->_impl_.scene_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_EndOfMatchAllPlayersData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[65]); -} - -// =================================================================== - -class CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_team_number(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_playerslot(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_xuid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_color(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_is_bot(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_is_dead(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CCSUsrMsg_RoundEndReportData_RerEvent_Victim::CCSUsrMsg_RoundEndReportData_RerEvent_Victim(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) -} -CCSUsrMsg_RoundEndReportData_RerEvent_Victim::CCSUsrMsg_RoundEndReportData_RerEvent_Victim(const CCSUsrMsg_RoundEndReportData_RerEvent_Victim& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_RoundEndReportData_RerEvent_Victim* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.team_number_){} - , decltype(_impl_.color_){} - , decltype(_impl_.xuid_){} - , decltype(_impl_.is_bot_){} - , decltype(_impl_.is_dead_){} - , decltype(_impl_.playerslot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.team_number_, &from._impl_.team_number_, - static_cast(reinterpret_cast(&_impl_.playerslot_) - - reinterpret_cast(&_impl_.team_number_)) + sizeof(_impl_.playerslot_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) -} - -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.team_number_){0} - , decltype(_impl_.color_){0} - , decltype(_impl_.xuid_){uint64_t{0u}} - , decltype(_impl_.is_bot_){false} - , decltype(_impl_.is_dead_){false} - , decltype(_impl_.playerslot_){-1} - }; -} - -CCSUsrMsg_RoundEndReportData_RerEvent_Victim::~CCSUsrMsg_RoundEndReportData_RerEvent_Victim() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - ::memset(&_impl_.team_number_, 0, static_cast( - reinterpret_cast(&_impl_.is_dead_) - - reinterpret_cast(&_impl_.team_number_)) + sizeof(_impl_.is_dead_)); - _impl_.playerslot_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 team_number = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_team_number(&has_bits); - _impl_.team_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 playerslot = 2 [default = -1]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_playerslot(&has_bits); - _impl_.playerslot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 xuid = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_xuid(&has_bits); - _impl_.xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 color = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_color(&has_bits); - _impl_.color_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_bot = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_is_bot(&has_bits); - _impl_.is_bot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_dead = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_is_dead(&has_bits); - _impl_.is_dead_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 team_number = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_team_number(), target); - } - - // optional int32 playerslot = 2 [default = -1]; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_playerslot(), target); - } - - // optional uint64 xuid = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_xuid(), target); - } - - // optional int32 color = 4; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_color(), target); - } - - // optional bool is_bot = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_is_bot(), target); - } - - // optional bool is_dead = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_is_dead(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) - return target; -} - -size_t CCSUsrMsg_RoundEndReportData_RerEvent_Victim::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional int32 team_number = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_number()); - } - - // optional int32 color = 4; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_color()); - } - - // optional uint64 xuid = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_xuid()); - } - - // optional bool is_bot = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - // optional bool is_dead = 6; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 1; - } - - // optional int32 playerslot = 2 [default = -1]; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playerslot()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_RoundEndReportData_RerEvent_Victim::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RoundEndReportData_RerEvent_Victim::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.team_number_ = from._impl_.team_number_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.color_ = from._impl_.color_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.xuid_ = from._impl_.xuid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.is_bot_ = from._impl_.is_bot_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.is_dead_ = from._impl_.is_dead_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.playerslot_ = from._impl_.playerslot_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::CopyFrom(const CCSUsrMsg_RoundEndReportData_RerEvent_Victim& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::IsInitialized() const { - return true; -} - -void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::InternalSwap(CCSUsrMsg_RoundEndReportData_RerEvent_Victim* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _impl_.is_dead_) - + sizeof(CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_impl_.is_dead_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundEndReportData_RerEvent_Victim, _impl_.team_number_)>( - reinterpret_cast(&_impl_.team_number_), - reinterpret_cast(&other->_impl_.team_number_)); - swap(_impl_.playerslot_, other->_impl_.playerslot_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RoundEndReportData_RerEvent_Victim::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[66]); -} - -// =================================================================== - -class CCSUsrMsg_RoundEndReportData_RerEvent_Objective::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_RoundEndReportData_RerEvent_Objective::CCSUsrMsg_RoundEndReportData_RerEvent_Objective(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) -} -CCSUsrMsg_RoundEndReportData_RerEvent_Objective::CCSUsrMsg_RoundEndReportData_RerEvent_Objective(const CCSUsrMsg_RoundEndReportData_RerEvent_Objective& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_RoundEndReportData_RerEvent_Objective* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.type_ = from._impl_.type_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) -} - -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){0} - }; -} - -CCSUsrMsg_RoundEndReportData_RerEvent_Objective::~CCSUsrMsg_RoundEndReportData_RerEvent_Objective() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.type_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_RoundEndReportData_RerEvent_Objective::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_type(&has_bits); - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_RoundEndReportData_RerEvent_Objective::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 type = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) - return target; -} - -size_t CCSUsrMsg_RoundEndReportData_RerEvent_Objective::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 type = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RoundEndReportData_RerEvent_Objective::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_RoundEndReportData_RerEvent_Objective::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RoundEndReportData_RerEvent_Objective::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_type()) { - _this->_internal_set_type(from._internal_type()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::CopyFrom(const CCSUsrMsg_RoundEndReportData_RerEvent_Objective& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_RoundEndReportData_RerEvent_Objective::IsInitialized() const { - return true; -} - -void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::InternalSwap(CCSUsrMsg_RoundEndReportData_RerEvent_Objective* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.type_, other->_impl_.type_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RoundEndReportData_RerEvent_Objective::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[67]); -} - -// =================================================================== - -class CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_other_playerslot(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_other_xuid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_health_removed(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_num_hits(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_return_health_removed(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_return_num_hits(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CCSUsrMsg_RoundEndReportData_RerEvent_Damage::CCSUsrMsg_RoundEndReportData_RerEvent_Damage(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) -} -CCSUsrMsg_RoundEndReportData_RerEvent_Damage::CCSUsrMsg_RoundEndReportData_RerEvent_Damage(const CCSUsrMsg_RoundEndReportData_RerEvent_Damage& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_RoundEndReportData_RerEvent_Damage* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.other_xuid_){} - , decltype(_impl_.health_removed_){} - , decltype(_impl_.num_hits_){} - , decltype(_impl_.return_health_removed_){} - , decltype(_impl_.return_num_hits_){} - , decltype(_impl_.other_playerslot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.other_xuid_, &from._impl_.other_xuid_, - static_cast(reinterpret_cast(&_impl_.other_playerslot_) - - reinterpret_cast(&_impl_.other_xuid_)) + sizeof(_impl_.other_playerslot_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) -} - -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.other_xuid_){uint64_t{0u}} - , decltype(_impl_.health_removed_){0} - , decltype(_impl_.num_hits_){0} - , decltype(_impl_.return_health_removed_){0} - , decltype(_impl_.return_num_hits_){0} - , decltype(_impl_.other_playerslot_){-1} - }; -} - -CCSUsrMsg_RoundEndReportData_RerEvent_Damage::~CCSUsrMsg_RoundEndReportData_RerEvent_Damage() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - ::memset(&_impl_.other_xuid_, 0, static_cast( - reinterpret_cast(&_impl_.return_num_hits_) - - reinterpret_cast(&_impl_.other_xuid_)) + sizeof(_impl_.return_num_hits_)); - _impl_.other_playerslot_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 other_playerslot = 1 [default = -1]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_other_playerslot(&has_bits); - _impl_.other_playerslot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 other_xuid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_other_xuid(&has_bits); - _impl_.other_xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 health_removed = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_health_removed(&has_bits); - _impl_.health_removed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 num_hits = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_num_hits(&has_bits); - _impl_.num_hits_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 return_health_removed = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_return_health_removed(&has_bits); - _impl_.return_health_removed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 return_num_hits = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_return_num_hits(&has_bits); - _impl_.return_num_hits_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 other_playerslot = 1 [default = -1]; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_other_playerslot(), target); - } - - // optional uint64 other_xuid = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_other_xuid(), target); - } - - // optional int32 health_removed = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_health_removed(), target); - } - - // optional int32 num_hits = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_num_hits(), target); - } - - // optional int32 return_health_removed = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_return_health_removed(), target); - } - - // optional int32 return_num_hits = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_return_num_hits(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) - return target; -} - -size_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional uint64 other_xuid = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_other_xuid()); - } - - // optional int32 health_removed = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_health_removed()); - } - - // optional int32 num_hits = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_hits()); - } - - // optional int32 return_health_removed = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_return_health_removed()); - } - - // optional int32 return_num_hits = 6; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_return_num_hits()); - } - - // optional int32 other_playerslot = 1 [default = -1]; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_other_playerslot()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_RoundEndReportData_RerEvent_Damage::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RoundEndReportData_RerEvent_Damage::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.other_xuid_ = from._impl_.other_xuid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.health_removed_ = from._impl_.health_removed_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.num_hits_ = from._impl_.num_hits_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.return_health_removed_ = from._impl_.return_health_removed_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.return_num_hits_ = from._impl_.return_num_hits_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.other_playerslot_ = from._impl_.other_playerslot_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::CopyFrom(const CCSUsrMsg_RoundEndReportData_RerEvent_Damage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::IsInitialized() const { - return true; -} - -void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::InternalSwap(CCSUsrMsg_RoundEndReportData_RerEvent_Damage* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _impl_.return_num_hits_) - + sizeof(CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_impl_.return_num_hits_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundEndReportData_RerEvent_Damage, _impl_.other_xuid_)>( - reinterpret_cast(&_impl_.other_xuid_), - reinterpret_cast(&other->_impl_.other_xuid_)); - swap(_impl_.other_playerslot_, other->_impl_.other_playerslot_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RoundEndReportData_RerEvent_Damage::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[68]); -} - -// =================================================================== - -class CCSUsrMsg_RoundEndReportData_RerEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_terrorist_odds(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_ct_alive(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_t_alive(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static const ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim& victim_data(const CCSUsrMsg_RoundEndReportData_RerEvent* msg); - static void set_has_victim_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective& objective_data(const CCSUsrMsg_RoundEndReportData_RerEvent* msg); - static void set_has_objective_data(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim& -CCSUsrMsg_RoundEndReportData_RerEvent::_Internal::victim_data(const CCSUsrMsg_RoundEndReportData_RerEvent* msg) { - return *msg->_impl_.victim_data_; -} -const ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective& -CCSUsrMsg_RoundEndReportData_RerEvent::_Internal::objective_data(const CCSUsrMsg_RoundEndReportData_RerEvent* msg) { - return *msg->_impl_.objective_data_; -} -CCSUsrMsg_RoundEndReportData_RerEvent::CCSUsrMsg_RoundEndReportData_RerEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_RoundEndReportData.RerEvent) -} -CCSUsrMsg_RoundEndReportData_RerEvent::CCSUsrMsg_RoundEndReportData_RerEvent(const CCSUsrMsg_RoundEndReportData_RerEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_RoundEndReportData_RerEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.all_damage_data_){from._impl_.all_damage_data_} - , decltype(_impl_.victim_data_){nullptr} - , decltype(_impl_.objective_data_){nullptr} - , decltype(_impl_.timestamp_){} - , decltype(_impl_.terrorist_odds_){} - , decltype(_impl_.ct_alive_){} - , decltype(_impl_.t_alive_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_victim_data()) { - _this->_impl_.victim_data_ = new ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim(*from._impl_.victim_data_); - } - if (from._internal_has_objective_data()) { - _this->_impl_.objective_data_ = new ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective(*from._impl_.objective_data_); - } - ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_, - static_cast(reinterpret_cast(&_impl_.t_alive_) - - reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.t_alive_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RoundEndReportData.RerEvent) -} - -inline void CCSUsrMsg_RoundEndReportData_RerEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.all_damage_data_){arena} - , decltype(_impl_.victim_data_){nullptr} - , decltype(_impl_.objective_data_){nullptr} - , decltype(_impl_.timestamp_){0} - , decltype(_impl_.terrorist_odds_){0} - , decltype(_impl_.ct_alive_){0} - , decltype(_impl_.t_alive_){0} - }; -} - -CCSUsrMsg_RoundEndReportData_RerEvent::~CCSUsrMsg_RoundEndReportData_RerEvent() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_RoundEndReportData.RerEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_RoundEndReportData_RerEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.all_damage_data_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.victim_data_; - if (this != internal_default_instance()) delete _impl_.objective_data_; -} - -void CCSUsrMsg_RoundEndReportData_RerEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_RoundEndReportData_RerEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RoundEndReportData.RerEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.all_damage_data_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.victim_data_ != nullptr); - _impl_.victim_data_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.objective_data_ != nullptr); - _impl_.objective_data_->Clear(); - } - } - if (cached_has_bits & 0x0000003cu) { - ::memset(&_impl_.timestamp_, 0, static_cast( - reinterpret_cast(&_impl_.t_alive_) - - reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.t_alive_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_RoundEndReportData_RerEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float timestamp = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_timestamp(&has_bits); - _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 terrorist_odds = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_terrorist_odds(&has_bits); - _impl_.terrorist_odds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 ct_alive = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_ct_alive(&has_bits); - _impl_.ct_alive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 t_alive = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_t_alive(&has_bits); - _impl_.t_alive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CCSUsrMsg_RoundEndReportData.RerEvent.Victim victim_data = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_victim_data(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CCSUsrMsg_RoundEndReportData.RerEvent.Objective objective_data = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_objective_data(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CCSUsrMsg_RoundEndReportData.RerEvent.Damage all_damage_data = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_all_damage_data(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_RoundEndReportData_RerEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RoundEndReportData.RerEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float timestamp = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_timestamp(), target); - } - - // optional int32 terrorist_odds = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_terrorist_odds(), target); - } - - // optional int32 ct_alive = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_ct_alive(), target); - } - - // optional int32 t_alive = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_t_alive(), target); - } - - // optional .CCSUsrMsg_RoundEndReportData.RerEvent.Victim victim_data = 5; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::victim_data(this), - _Internal::victim_data(this).GetCachedSize(), target, stream); - } - - // optional .CCSUsrMsg_RoundEndReportData.RerEvent.Objective objective_data = 6; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::objective_data(this), - _Internal::objective_data(this).GetCachedSize(), target, stream); - } - - // repeated .CCSUsrMsg_RoundEndReportData.RerEvent.Damage all_damage_data = 7; - for (unsigned i = 0, - n = static_cast(this->_internal_all_damage_data_size()); i < n; i++) { - const auto& repfield = this->_internal_all_damage_data(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_RoundEndReportData.RerEvent) - return target; -} - -size_t CCSUsrMsg_RoundEndReportData_RerEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RoundEndReportData.RerEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CCSUsrMsg_RoundEndReportData.RerEvent.Damage all_damage_data = 7; - total_size += 1UL * this->_internal_all_damage_data_size(); - for (const auto& msg : this->_impl_.all_damage_data_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional .CCSUsrMsg_RoundEndReportData.RerEvent.Victim victim_data = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.victim_data_); - } - - // optional .CCSUsrMsg_RoundEndReportData.RerEvent.Objective objective_data = 6; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.objective_data_); - } - - // optional float timestamp = 1; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional int32 terrorist_odds = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_terrorist_odds()); - } - - // optional int32 ct_alive = 3; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ct_alive()); - } - - // optional int32 t_alive = 4; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_t_alive()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RoundEndReportData_RerEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_RoundEndReportData_RerEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RoundEndReportData_RerEvent::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_RoundEndReportData_RerEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_RoundEndReportData.RerEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.all_damage_data_.MergeFrom(from._impl_.all_damage_data_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_victim_data()->::CCSUsrMsg_RoundEndReportData_RerEvent_Victim::MergeFrom( - from._internal_victim_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_objective_data()->::CCSUsrMsg_RoundEndReportData_RerEvent_Objective::MergeFrom( - from._internal_objective_data()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.timestamp_ = from._impl_.timestamp_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.terrorist_odds_ = from._impl_.terrorist_odds_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.ct_alive_ = from._impl_.ct_alive_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.t_alive_ = from._impl_.t_alive_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_RoundEndReportData_RerEvent::CopyFrom(const CCSUsrMsg_RoundEndReportData_RerEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RoundEndReportData.RerEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_RoundEndReportData_RerEvent::IsInitialized() const { - return true; -} - -void CCSUsrMsg_RoundEndReportData_RerEvent::InternalSwap(CCSUsrMsg_RoundEndReportData_RerEvent* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.all_damage_data_.InternalSwap(&other->_impl_.all_damage_data_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundEndReportData_RerEvent, _impl_.t_alive_) - + sizeof(CCSUsrMsg_RoundEndReportData_RerEvent::_impl_.t_alive_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundEndReportData_RerEvent, _impl_.victim_data_)>( - reinterpret_cast(&_impl_.victim_data_), - reinterpret_cast(&other->_impl_.victim_data_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RoundEndReportData_RerEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[69]); -} - -// =================================================================== - -class CCSUsrMsg_RoundEndReportData_InitialConditions::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ct_equip_value(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_t_equip_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_terrorist_odds(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CCSUsrMsg_RoundEndReportData_InitialConditions::CCSUsrMsg_RoundEndReportData_InitialConditions(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_RoundEndReportData.InitialConditions) -} -CCSUsrMsg_RoundEndReportData_InitialConditions::CCSUsrMsg_RoundEndReportData_InitialConditions(const CCSUsrMsg_RoundEndReportData_InitialConditions& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_RoundEndReportData_InitialConditions* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ct_equip_value_){} - , decltype(_impl_.t_equip_value_){} - , decltype(_impl_.terrorist_odds_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.ct_equip_value_, &from._impl_.ct_equip_value_, - static_cast(reinterpret_cast(&_impl_.terrorist_odds_) - - reinterpret_cast(&_impl_.ct_equip_value_)) + sizeof(_impl_.terrorist_odds_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RoundEndReportData.InitialConditions) -} - -inline void CCSUsrMsg_RoundEndReportData_InitialConditions::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ct_equip_value_){0} - , decltype(_impl_.t_equip_value_){0} - , decltype(_impl_.terrorist_odds_){0} - }; -} - -CCSUsrMsg_RoundEndReportData_InitialConditions::~CCSUsrMsg_RoundEndReportData_InitialConditions() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_RoundEndReportData.InitialConditions) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_RoundEndReportData_InitialConditions::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_RoundEndReportData_InitialConditions::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_RoundEndReportData_InitialConditions::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RoundEndReportData.InitialConditions) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.ct_equip_value_, 0, static_cast( - reinterpret_cast(&_impl_.terrorist_odds_) - - reinterpret_cast(&_impl_.ct_equip_value_)) + sizeof(_impl_.terrorist_odds_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_RoundEndReportData_InitialConditions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 ct_equip_value = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_ct_equip_value(&has_bits); - _impl_.ct_equip_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 t_equip_value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_t_equip_value(&has_bits); - _impl_.t_equip_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 terrorist_odds = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_terrorist_odds(&has_bits); - _impl_.terrorist_odds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_RoundEndReportData_InitialConditions::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RoundEndReportData.InitialConditions) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 ct_equip_value = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_ct_equip_value(), target); - } - - // optional int32 t_equip_value = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_t_equip_value(), target); - } - - // optional int32 terrorist_odds = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_terrorist_odds(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_RoundEndReportData.InitialConditions) - return target; -} - -size_t CCSUsrMsg_RoundEndReportData_InitialConditions::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RoundEndReportData.InitialConditions) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 ct_equip_value = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ct_equip_value()); - } - - // optional int32 t_equip_value = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_t_equip_value()); - } - - // optional int32 terrorist_odds = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_terrorist_odds()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RoundEndReportData_InitialConditions::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_RoundEndReportData_InitialConditions::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RoundEndReportData_InitialConditions::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_RoundEndReportData_InitialConditions::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_RoundEndReportData.InitialConditions) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.ct_equip_value_ = from._impl_.ct_equip_value_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.t_equip_value_ = from._impl_.t_equip_value_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.terrorist_odds_ = from._impl_.terrorist_odds_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_RoundEndReportData_InitialConditions::CopyFrom(const CCSUsrMsg_RoundEndReportData_InitialConditions& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RoundEndReportData.InitialConditions) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_RoundEndReportData_InitialConditions::IsInitialized() const { - return true; -} - -void CCSUsrMsg_RoundEndReportData_InitialConditions::InternalSwap(CCSUsrMsg_RoundEndReportData_InitialConditions* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundEndReportData_InitialConditions, _impl_.terrorist_odds_) - + sizeof(CCSUsrMsg_RoundEndReportData_InitialConditions::_impl_.terrorist_odds_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_RoundEndReportData_InitialConditions, _impl_.ct_equip_value_)>( - reinterpret_cast(&_impl_.ct_equip_value_), - reinterpret_cast(&other->_impl_.ct_equip_value_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RoundEndReportData_InitialConditions::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[70]); -} - -// =================================================================== - -class CCSUsrMsg_RoundEndReportData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CCSUsrMsg_RoundEndReportData_InitialConditions& init_conditions(const CCSUsrMsg_RoundEndReportData* msg); - static void set_has_init_conditions(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CCSUsrMsg_RoundEndReportData_InitialConditions& -CCSUsrMsg_RoundEndReportData::_Internal::init_conditions(const CCSUsrMsg_RoundEndReportData* msg) { - return *msg->_impl_.init_conditions_; -} -CCSUsrMsg_RoundEndReportData::CCSUsrMsg_RoundEndReportData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_RoundEndReportData) -} -CCSUsrMsg_RoundEndReportData::CCSUsrMsg_RoundEndReportData(const CCSUsrMsg_RoundEndReportData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_RoundEndReportData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.all_rer_event_data_){from._impl_.all_rer_event_data_} - , decltype(_impl_.init_conditions_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_init_conditions()) { - _this->_impl_.init_conditions_ = new ::CCSUsrMsg_RoundEndReportData_InitialConditions(*from._impl_.init_conditions_); - } - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RoundEndReportData) -} - -inline void CCSUsrMsg_RoundEndReportData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.all_rer_event_data_){arena} - , decltype(_impl_.init_conditions_){nullptr} - }; -} - -CCSUsrMsg_RoundEndReportData::~CCSUsrMsg_RoundEndReportData() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_RoundEndReportData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_RoundEndReportData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.all_rer_event_data_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.init_conditions_; -} - -void CCSUsrMsg_RoundEndReportData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_RoundEndReportData::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RoundEndReportData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.all_rer_event_data_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.init_conditions_ != nullptr); - _impl_.init_conditions_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_RoundEndReportData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CCSUsrMsg_RoundEndReportData.InitialConditions init_conditions = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_init_conditions(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CCSUsrMsg_RoundEndReportData.RerEvent all_rer_event_data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_all_rer_event_data(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_RoundEndReportData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RoundEndReportData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CCSUsrMsg_RoundEndReportData.InitialConditions init_conditions = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::init_conditions(this), - _Internal::init_conditions(this).GetCachedSize(), target, stream); - } - - // repeated .CCSUsrMsg_RoundEndReportData.RerEvent all_rer_event_data = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_all_rer_event_data_size()); i < n; i++) { - const auto& repfield = this->_internal_all_rer_event_data(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_RoundEndReportData) - return target; -} - -size_t CCSUsrMsg_RoundEndReportData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RoundEndReportData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CCSUsrMsg_RoundEndReportData.RerEvent all_rer_event_data = 2; - total_size += 1UL * this->_internal_all_rer_event_data_size(); - for (const auto& msg : this->_impl_.all_rer_event_data_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional .CCSUsrMsg_RoundEndReportData.InitialConditions init_conditions = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.init_conditions_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RoundEndReportData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_RoundEndReportData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RoundEndReportData::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_RoundEndReportData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_RoundEndReportData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.all_rer_event_data_.MergeFrom(from._impl_.all_rer_event_data_); - if (from._internal_has_init_conditions()) { - _this->_internal_mutable_init_conditions()->::CCSUsrMsg_RoundEndReportData_InitialConditions::MergeFrom( - from._internal_init_conditions()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_RoundEndReportData::CopyFrom(const CCSUsrMsg_RoundEndReportData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RoundEndReportData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_RoundEndReportData::IsInitialized() const { - return true; -} - -void CCSUsrMsg_RoundEndReportData::InternalSwap(CCSUsrMsg_RoundEndReportData* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.all_rer_event_data_.InternalSwap(&other->_impl_.all_rer_event_data_); - swap(_impl_.init_conditions_, other->_impl_.init_conditions_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RoundEndReportData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[71]); -} - -// =================================================================== - -class CCSUsrMsg_PostRoundDamageReport::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_other_xuid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_given_kill_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_given_health_removed(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_given_num_hits(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_taken_kill_type(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_taken_health_removed(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_taken_num_hits(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } -}; - -CCSUsrMsg_PostRoundDamageReport::CCSUsrMsg_PostRoundDamageReport(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_PostRoundDamageReport) -} -CCSUsrMsg_PostRoundDamageReport::CCSUsrMsg_PostRoundDamageReport(const CCSUsrMsg_PostRoundDamageReport& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_PostRoundDamageReport* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.other_xuid_){} - , decltype(_impl_.given_kill_type_){} - , decltype(_impl_.given_health_removed_){} - , decltype(_impl_.given_num_hits_){} - , decltype(_impl_.taken_kill_type_){} - , decltype(_impl_.taken_health_removed_){} - , decltype(_impl_.taken_num_hits_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.other_xuid_, &from._impl_.other_xuid_, - static_cast(reinterpret_cast(&_impl_.taken_num_hits_) - - reinterpret_cast(&_impl_.other_xuid_)) + sizeof(_impl_.taken_num_hits_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_PostRoundDamageReport) -} - -inline void CCSUsrMsg_PostRoundDamageReport::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.other_xuid_){uint64_t{0u}} - , decltype(_impl_.given_kill_type_){0} - , decltype(_impl_.given_health_removed_){0} - , decltype(_impl_.given_num_hits_){0} - , decltype(_impl_.taken_kill_type_){0} - , decltype(_impl_.taken_health_removed_){0} - , decltype(_impl_.taken_num_hits_){0} - }; -} - -CCSUsrMsg_PostRoundDamageReport::~CCSUsrMsg_PostRoundDamageReport() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_PostRoundDamageReport) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_PostRoundDamageReport::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_PostRoundDamageReport::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_PostRoundDamageReport::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_PostRoundDamageReport) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - ::memset(&_impl_.other_xuid_, 0, static_cast( - reinterpret_cast(&_impl_.taken_num_hits_) - - reinterpret_cast(&_impl_.other_xuid_)) + sizeof(_impl_.taken_num_hits_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_PostRoundDamageReport::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 other_xuid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_other_xuid(&has_bits); - _impl_.other_xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 given_kill_type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_given_kill_type(&has_bits); - _impl_.given_kill_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 given_health_removed = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_given_health_removed(&has_bits); - _impl_.given_health_removed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 given_num_hits = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_given_num_hits(&has_bits); - _impl_.given_num_hits_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 taken_kill_type = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_taken_kill_type(&has_bits); - _impl_.taken_kill_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 taken_health_removed = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_taken_health_removed(&has_bits); - _impl_.taken_health_removed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 taken_num_hits = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_taken_num_hits(&has_bits); - _impl_.taken_num_hits_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_PostRoundDamageReport::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_PostRoundDamageReport) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 other_xuid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_other_xuid(), target); - } - - // optional int32 given_kill_type = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_given_kill_type(), target); - } - - // optional int32 given_health_removed = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_given_health_removed(), target); - } - - // optional int32 given_num_hits = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_given_num_hits(), target); - } - - // optional int32 taken_kill_type = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_taken_kill_type(), target); - } - - // optional int32 taken_health_removed = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_taken_health_removed(), target); - } - - // optional int32 taken_num_hits = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_taken_num_hits(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_PostRoundDamageReport) - return target; -} - -size_t CCSUsrMsg_PostRoundDamageReport::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_PostRoundDamageReport) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional uint64 other_xuid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_other_xuid()); - } - - // optional int32 given_kill_type = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_given_kill_type()); - } - - // optional int32 given_health_removed = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_given_health_removed()); - } - - // optional int32 given_num_hits = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_given_num_hits()); - } - - // optional int32 taken_kill_type = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_taken_kill_type()); - } - - // optional int32 taken_health_removed = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_taken_health_removed()); - } - - // optional int32 taken_num_hits = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_taken_num_hits()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_PostRoundDamageReport::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_PostRoundDamageReport::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_PostRoundDamageReport::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_PostRoundDamageReport::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_PostRoundDamageReport) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.other_xuid_ = from._impl_.other_xuid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.given_kill_type_ = from._impl_.given_kill_type_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.given_health_removed_ = from._impl_.given_health_removed_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.given_num_hits_ = from._impl_.given_num_hits_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.taken_kill_type_ = from._impl_.taken_kill_type_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.taken_health_removed_ = from._impl_.taken_health_removed_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.taken_num_hits_ = from._impl_.taken_num_hits_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_PostRoundDamageReport::CopyFrom(const CCSUsrMsg_PostRoundDamageReport& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_PostRoundDamageReport) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_PostRoundDamageReport::IsInitialized() const { - return true; -} - -void CCSUsrMsg_PostRoundDamageReport::InternalSwap(CCSUsrMsg_PostRoundDamageReport* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_PostRoundDamageReport, _impl_.taken_num_hits_) - + sizeof(CCSUsrMsg_PostRoundDamageReport::_impl_.taken_num_hits_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_PostRoundDamageReport, _impl_.other_xuid_)>( - reinterpret_cast(&_impl_.other_xuid_), - reinterpret_cast(&other->_impl_.other_xuid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_PostRoundDamageReport::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[72]); -} - -// =================================================================== - -class CCSUsrMsg_CurrentRoundOdds::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_odds(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_CurrentRoundOdds::CCSUsrMsg_CurrentRoundOdds(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_CurrentRoundOdds) -} -CCSUsrMsg_CurrentRoundOdds::CCSUsrMsg_CurrentRoundOdds(const CCSUsrMsg_CurrentRoundOdds& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_CurrentRoundOdds* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.odds_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.odds_ = from._impl_.odds_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_CurrentRoundOdds) -} - -inline void CCSUsrMsg_CurrentRoundOdds::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.odds_){0} - }; -} - -CCSUsrMsg_CurrentRoundOdds::~CCSUsrMsg_CurrentRoundOdds() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_CurrentRoundOdds) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_CurrentRoundOdds::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_CurrentRoundOdds::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_CurrentRoundOdds::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_CurrentRoundOdds) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.odds_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_CurrentRoundOdds::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 odds = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_odds(&has_bits); - _impl_.odds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_CurrentRoundOdds::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_CurrentRoundOdds) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 odds = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_odds(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_CurrentRoundOdds) - return target; -} - -size_t CCSUsrMsg_CurrentRoundOdds::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_CurrentRoundOdds) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 odds = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_odds()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_CurrentRoundOdds::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_CurrentRoundOdds::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_CurrentRoundOdds::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_CurrentRoundOdds::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_CurrentRoundOdds) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_odds()) { - _this->_internal_set_odds(from._internal_odds()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_CurrentRoundOdds::CopyFrom(const CCSUsrMsg_CurrentRoundOdds& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_CurrentRoundOdds) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_CurrentRoundOdds::IsInitialized() const { - return true; -} - -void CCSUsrMsg_CurrentRoundOdds::InternalSwap(CCSUsrMsg_CurrentRoundOdds* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.odds_, other->_impl_.odds_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_CurrentRoundOdds::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[73]); -} - -// =================================================================== - -class CCSUsrMsg_DeepStats::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgGCCStrike15_ClientDeepStats& stats(const CCSUsrMsg_DeepStats* msg); - static void set_has_stats(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgGCCStrike15_ClientDeepStats& -CCSUsrMsg_DeepStats::_Internal::stats(const CCSUsrMsg_DeepStats* msg) { - return *msg->_impl_.stats_; -} -void CCSUsrMsg_DeepStats::clear_stats() { - if (_impl_.stats_ != nullptr) _impl_.stats_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CCSUsrMsg_DeepStats::CCSUsrMsg_DeepStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_DeepStats) -} -CCSUsrMsg_DeepStats::CCSUsrMsg_DeepStats(const CCSUsrMsg_DeepStats& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_DeepStats* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.stats_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_stats()) { - _this->_impl_.stats_ = new ::CMsgGCCStrike15_ClientDeepStats(*from._impl_.stats_); - } - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_DeepStats) -} - -inline void CCSUsrMsg_DeepStats::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.stats_){nullptr} - }; -} - -CCSUsrMsg_DeepStats::~CCSUsrMsg_DeepStats() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_DeepStats) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_DeepStats::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.stats_; -} - -void CCSUsrMsg_DeepStats::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_DeepStats::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_DeepStats) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.stats_ != nullptr); - _impl_.stats_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_DeepStats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgGCCStrike15_ClientDeepStats stats = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_DeepStats::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_DeepStats) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgGCCStrike15_ClientDeepStats stats = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::stats(this), - _Internal::stats(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_DeepStats) - return target; -} - -size_t CCSUsrMsg_DeepStats::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_DeepStats) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CMsgGCCStrike15_ClientDeepStats stats = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stats_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_DeepStats::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_DeepStats::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_DeepStats::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_DeepStats::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_DeepStats) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_stats()) { - _this->_internal_mutable_stats()->::CMsgGCCStrike15_ClientDeepStats::MergeFrom( - from._internal_stats()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_DeepStats::CopyFrom(const CCSUsrMsg_DeepStats& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_DeepStats) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_DeepStats::IsInitialized() const { - return true; -} - -void CCSUsrMsg_DeepStats::InternalSwap(CCSUsrMsg_DeepStats* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.stats_, other->_impl_.stats_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_DeepStats::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[74]); -} - -// =================================================================== - -class CCSUsrMsg_ShootInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_frame_number(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgVector& shoot_pos(const CCSUsrMsg_ShootInfo* msg); - static void set_has_shoot_pos(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgQAngle& shoot_dir(const CCSUsrMsg_ShootInfo* msg); - static void set_has_shoot_dir(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgVector& -CCSUsrMsg_ShootInfo::_Internal::shoot_pos(const CCSUsrMsg_ShootInfo* msg) { - return *msg->_impl_.shoot_pos_; -} -const ::CMsgQAngle& -CCSUsrMsg_ShootInfo::_Internal::shoot_dir(const CCSUsrMsg_ShootInfo* msg) { - return *msg->_impl_.shoot_dir_; -} -void CCSUsrMsg_ShootInfo::clear_hitbox_transforms() { - _impl_.hitbox_transforms_.Clear(); -} -void CCSUsrMsg_ShootInfo::clear_shoot_pos() { - if (_impl_.shoot_pos_ != nullptr) _impl_.shoot_pos_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CCSUsrMsg_ShootInfo::clear_shoot_dir() { - if (_impl_.shoot_dir_ != nullptr) _impl_.shoot_dir_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CCSUsrMsg_ShootInfo::CCSUsrMsg_ShootInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_ShootInfo) -} -CCSUsrMsg_ShootInfo::CCSUsrMsg_ShootInfo(const CCSUsrMsg_ShootInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_ShootInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hitbox_transforms_){from._impl_.hitbox_transforms_} - , decltype(_impl_.shoot_pos_){nullptr} - , decltype(_impl_.shoot_dir_){nullptr} - , decltype(_impl_.frame_number_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_shoot_pos()) { - _this->_impl_.shoot_pos_ = new ::CMsgVector(*from._impl_.shoot_pos_); - } - if (from._internal_has_shoot_dir()) { - _this->_impl_.shoot_dir_ = new ::CMsgQAngle(*from._impl_.shoot_dir_); - } - _this->_impl_.frame_number_ = from._impl_.frame_number_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ShootInfo) -} - -inline void CCSUsrMsg_ShootInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hitbox_transforms_){arena} - , decltype(_impl_.shoot_pos_){nullptr} - , decltype(_impl_.shoot_dir_){nullptr} - , decltype(_impl_.frame_number_){0} - }; -} - -CCSUsrMsg_ShootInfo::~CCSUsrMsg_ShootInfo() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_ShootInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_ShootInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.hitbox_transforms_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.shoot_pos_; - if (this != internal_default_instance()) delete _impl_.shoot_dir_; -} - -void CCSUsrMsg_ShootInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_ShootInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ShootInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.hitbox_transforms_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.shoot_pos_ != nullptr); - _impl_.shoot_pos_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.shoot_dir_ != nullptr); - _impl_.shoot_dir_->Clear(); - } - } - _impl_.frame_number_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_ShootInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 frame_number = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_frame_number(&has_bits); - _impl_.frame_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgTransform hitbox_transforms = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_hitbox_transforms(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional .CMsgVector shoot_pos = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_shoot_pos(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle shoot_dir = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_shoot_dir(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_ShootInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ShootInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 frame_number = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_frame_number(), target); - } - - // repeated .CMsgTransform hitbox_transforms = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_hitbox_transforms_size()); i < n; i++) { - const auto& repfield = this->_internal_hitbox_transforms(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional .CMsgVector shoot_pos = 3; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::shoot_pos(this), - _Internal::shoot_pos(this).GetCachedSize(), target, stream); - } - - // optional .CMsgQAngle shoot_dir = 4; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::shoot_dir(this), - _Internal::shoot_dir(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_ShootInfo) - return target; -} - -size_t CCSUsrMsg_ShootInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ShootInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgTransform hitbox_transforms = 2; - total_size += 1UL * this->_internal_hitbox_transforms_size(); - for (const auto& msg : this->_impl_.hitbox_transforms_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .CMsgVector shoot_pos = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.shoot_pos_); - } - - // optional .CMsgQAngle shoot_dir = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.shoot_dir_); - } - - // optional int32 frame_number = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_frame_number()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ShootInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_ShootInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ShootInfo::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_ShootInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_ShootInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.hitbox_transforms_.MergeFrom(from._impl_.hitbox_transforms_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_shoot_pos()->::CMsgVector::MergeFrom( - from._internal_shoot_pos()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_shoot_dir()->::CMsgQAngle::MergeFrom( - from._internal_shoot_dir()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.frame_number_ = from._impl_.frame_number_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_ShootInfo::CopyFrom(const CCSUsrMsg_ShootInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ShootInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_ShootInfo::IsInitialized() const { - return true; -} - -void CCSUsrMsg_ShootInfo::InternalSwap(CCSUsrMsg_ShootInfo* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.hitbox_transforms_.InternalSwap(&other->_impl_.hitbox_transforms_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ShootInfo, _impl_.frame_number_) - + sizeof(CCSUsrMsg_ShootInfo::_impl_.frame_number_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ShootInfo, _impl_.shoot_pos_)>( - reinterpret_cast(&_impl_.shoot_pos_), - reinterpret_cast(&other->_impl_.shoot_pos_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ShootInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[75]); -} - -// =================================================================== - -class CCSUsrMsg_ResetHud::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_reset(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_ResetHud::CCSUsrMsg_ResetHud(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_ResetHud) -} -CCSUsrMsg_ResetHud::CCSUsrMsg_ResetHud(const CCSUsrMsg_ResetHud& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_ResetHud* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.reset_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.reset_ = from._impl_.reset_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ResetHud) -} - -inline void CCSUsrMsg_ResetHud::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.reset_){false} - }; -} - -CCSUsrMsg_ResetHud::~CCSUsrMsg_ResetHud() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_ResetHud) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_ResetHud::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_ResetHud::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_ResetHud::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ResetHud) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.reset_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_ResetHud::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool reset = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_reset(&has_bits); - _impl_.reset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_ResetHud::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ResetHud) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool reset = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_reset(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_ResetHud) - return target; -} - -size_t CCSUsrMsg_ResetHud::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ResetHud) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bool reset = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ResetHud::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_ResetHud::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ResetHud::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_ResetHud::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_ResetHud) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_reset()) { - _this->_internal_set_reset(from._internal_reset()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_ResetHud::CopyFrom(const CCSUsrMsg_ResetHud& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ResetHud) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_ResetHud::IsInitialized() const { - return true; -} - -void CCSUsrMsg_ResetHud::InternalSwap(CCSUsrMsg_ResetHud* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.reset_, other->_impl_.reset_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ResetHud::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[76]); -} - -// =================================================================== - -class CCSUsrMsg_GameTitle::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_dummy(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_GameTitle::CCSUsrMsg_GameTitle(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_GameTitle) -} -CCSUsrMsg_GameTitle::CCSUsrMsg_GameTitle(const CCSUsrMsg_GameTitle& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_GameTitle* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.dummy_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.dummy_ = from._impl_.dummy_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_GameTitle) -} - -inline void CCSUsrMsg_GameTitle::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.dummy_){0} - }; -} - -CCSUsrMsg_GameTitle::~CCSUsrMsg_GameTitle() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_GameTitle) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_GameTitle::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_GameTitle::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_GameTitle::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_GameTitle) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.dummy_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_GameTitle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 dummy = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_dummy(&has_bits); - _impl_.dummy_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_GameTitle::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_GameTitle) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 dummy = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_dummy(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_GameTitle) - return target; -} - -size_t CCSUsrMsg_GameTitle::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_GameTitle) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 dummy = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dummy()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_GameTitle::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_GameTitle::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_GameTitle::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_GameTitle::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_GameTitle) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_dummy()) { - _this->_internal_set_dummy(from._internal_dummy()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_GameTitle::CopyFrom(const CCSUsrMsg_GameTitle& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_GameTitle) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_GameTitle::IsInitialized() const { - return true; -} - -void CCSUsrMsg_GameTitle::InternalSwap(CCSUsrMsg_GameTitle* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.dummy_, other->_impl_.dummy_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_GameTitle::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[77]); -} - -// =================================================================== - -class CCSUsrMsg_RequestState::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_dummy(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_RequestState::CCSUsrMsg_RequestState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_RequestState) -} -CCSUsrMsg_RequestState::CCSUsrMsg_RequestState(const CCSUsrMsg_RequestState& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_RequestState* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.dummy_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.dummy_ = from._impl_.dummy_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RequestState) -} - -inline void CCSUsrMsg_RequestState::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.dummy_){0} - }; -} - -CCSUsrMsg_RequestState::~CCSUsrMsg_RequestState() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_RequestState) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_RequestState::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_RequestState::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_RequestState::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RequestState) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.dummy_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_RequestState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 dummy = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_dummy(&has_bits); - _impl_.dummy_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_RequestState::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RequestState) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 dummy = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_dummy(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_RequestState) - return target; -} - -size_t CCSUsrMsg_RequestState::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RequestState) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 dummy = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dummy()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RequestState::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_RequestState::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RequestState::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_RequestState::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_RequestState) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_dummy()) { - _this->_internal_set_dummy(from._internal_dummy()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_RequestState::CopyFrom(const CCSUsrMsg_RequestState& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RequestState) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_RequestState::IsInitialized() const { - return true; -} - -void CCSUsrMsg_RequestState::InternalSwap(CCSUsrMsg_RequestState* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.dummy_, other->_impl_.dummy_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RequestState::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[78]); -} - -// =================================================================== - -class CCSUsrMsg_StopSpectatorMode::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_dummy(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_StopSpectatorMode::CCSUsrMsg_StopSpectatorMode(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_StopSpectatorMode) -} -CCSUsrMsg_StopSpectatorMode::CCSUsrMsg_StopSpectatorMode(const CCSUsrMsg_StopSpectatorMode& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_StopSpectatorMode* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.dummy_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.dummy_ = from._impl_.dummy_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_StopSpectatorMode) -} - -inline void CCSUsrMsg_StopSpectatorMode::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.dummy_){0} - }; -} - -CCSUsrMsg_StopSpectatorMode::~CCSUsrMsg_StopSpectatorMode() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_StopSpectatorMode) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_StopSpectatorMode::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_StopSpectatorMode::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_StopSpectatorMode::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_StopSpectatorMode) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.dummy_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_StopSpectatorMode::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 dummy = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_dummy(&has_bits); - _impl_.dummy_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_StopSpectatorMode::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_StopSpectatorMode) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 dummy = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_dummy(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_StopSpectatorMode) - return target; -} - -size_t CCSUsrMsg_StopSpectatorMode::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_StopSpectatorMode) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 dummy = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dummy()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_StopSpectatorMode::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_StopSpectatorMode::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_StopSpectatorMode::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_StopSpectatorMode::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_StopSpectatorMode) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_dummy()) { - _this->_internal_set_dummy(from._internal_dummy()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_StopSpectatorMode::CopyFrom(const CCSUsrMsg_StopSpectatorMode& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_StopSpectatorMode) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_StopSpectatorMode::IsInitialized() const { - return true; -} - -void CCSUsrMsg_StopSpectatorMode::InternalSwap(CCSUsrMsg_StopSpectatorMode* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.dummy_, other->_impl_.dummy_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_StopSpectatorMode::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[79]); -} - -// =================================================================== - -class CCSUsrMsg_DisconnectToLobby::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_dummy(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_DisconnectToLobby::CCSUsrMsg_DisconnectToLobby(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_DisconnectToLobby) -} -CCSUsrMsg_DisconnectToLobby::CCSUsrMsg_DisconnectToLobby(const CCSUsrMsg_DisconnectToLobby& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_DisconnectToLobby* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.dummy_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.dummy_ = from._impl_.dummy_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_DisconnectToLobby) -} - -inline void CCSUsrMsg_DisconnectToLobby::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.dummy_){0} - }; -} - -CCSUsrMsg_DisconnectToLobby::~CCSUsrMsg_DisconnectToLobby() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_DisconnectToLobby) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_DisconnectToLobby::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_DisconnectToLobby::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_DisconnectToLobby::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_DisconnectToLobby) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.dummy_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_DisconnectToLobby::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 dummy = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_dummy(&has_bits); - _impl_.dummy_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_DisconnectToLobby::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_DisconnectToLobby) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 dummy = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_dummy(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_DisconnectToLobby) - return target; -} - -size_t CCSUsrMsg_DisconnectToLobby::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_DisconnectToLobby) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 dummy = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dummy()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_DisconnectToLobby::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_DisconnectToLobby::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_DisconnectToLobby::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_DisconnectToLobby::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_DisconnectToLobby) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_dummy()) { - _this->_internal_set_dummy(from._internal_dummy()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_DisconnectToLobby::CopyFrom(const CCSUsrMsg_DisconnectToLobby& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_DisconnectToLobby) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_DisconnectToLobby::IsInitialized() const { - return true; -} - -void CCSUsrMsg_DisconnectToLobby::InternalSwap(CCSUsrMsg_DisconnectToLobby* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.dummy_, other->_impl_.dummy_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_DisconnectToLobby::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[80]); -} - -// =================================================================== - -class CCSUsrMsg_ClientInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_dummy(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_ClientInfo::CCSUsrMsg_ClientInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_ClientInfo) -} -CCSUsrMsg_ClientInfo::CCSUsrMsg_ClientInfo(const CCSUsrMsg_ClientInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_ClientInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.dummy_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.dummy_ = from._impl_.dummy_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ClientInfo) -} - -inline void CCSUsrMsg_ClientInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.dummy_){0} - }; -} - -CCSUsrMsg_ClientInfo::~CCSUsrMsg_ClientInfo() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_ClientInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_ClientInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_ClientInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_ClientInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ClientInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.dummy_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_ClientInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 dummy = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_dummy(&has_bits); - _impl_.dummy_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_ClientInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ClientInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 dummy = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_dummy(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_ClientInfo) - return target; -} - -size_t CCSUsrMsg_ClientInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ClientInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 dummy = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dummy()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ClientInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_ClientInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ClientInfo::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_ClientInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_ClientInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_dummy()) { - _this->_internal_set_dummy(from._internal_dummy()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_ClientInfo::CopyFrom(const CCSUsrMsg_ClientInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ClientInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_ClientInfo::IsInitialized() const { - return true; -} - -void CCSUsrMsg_ClientInfo::InternalSwap(CCSUsrMsg_ClientInfo* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.dummy_, other->_impl_.dummy_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ClientInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[81]); -} - -// =================================================================== - -class CCSUsrMsg_ServerRankRevealAll::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_seconds_till_shutdown(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& reservation(const CCSUsrMsg_ServerRankRevealAll* msg); - static void set_has_reservation(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& -CCSUsrMsg_ServerRankRevealAll::_Internal::reservation(const CCSUsrMsg_ServerRankRevealAll* msg) { - return *msg->_impl_.reservation_; -} -void CCSUsrMsg_ServerRankRevealAll::clear_reservation() { - if (_impl_.reservation_ != nullptr) _impl_.reservation_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CCSUsrMsg_ServerRankRevealAll::CCSUsrMsg_ServerRankRevealAll(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_ServerRankRevealAll) -} -CCSUsrMsg_ServerRankRevealAll::CCSUsrMsg_ServerRankRevealAll(const CCSUsrMsg_ServerRankRevealAll& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_ServerRankRevealAll* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.reservation_){nullptr} - , decltype(_impl_.seconds_till_shutdown_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_reservation()) { - _this->_impl_.reservation_ = new ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve(*from._impl_.reservation_); - } - _this->_impl_.seconds_till_shutdown_ = from._impl_.seconds_till_shutdown_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_ServerRankRevealAll) -} - -inline void CCSUsrMsg_ServerRankRevealAll::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.reservation_){nullptr} - , decltype(_impl_.seconds_till_shutdown_){0} - }; -} - -CCSUsrMsg_ServerRankRevealAll::~CCSUsrMsg_ServerRankRevealAll() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_ServerRankRevealAll) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_ServerRankRevealAll::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.reservation_; -} - -void CCSUsrMsg_ServerRankRevealAll::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_ServerRankRevealAll::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_ServerRankRevealAll) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.reservation_ != nullptr); - _impl_.reservation_->Clear(); - } - _impl_.seconds_till_shutdown_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_ServerRankRevealAll::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 seconds_till_shutdown = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_seconds_till_shutdown(&has_bits); - _impl_.seconds_till_shutdown_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_reservation(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_ServerRankRevealAll::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_ServerRankRevealAll) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 seconds_till_shutdown = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_seconds_till_shutdown(), target); - } - - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::reservation(this), - _Internal::reservation(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_ServerRankRevealAll) - return target; -} - -size_t CCSUsrMsg_ServerRankRevealAll::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_ServerRankRevealAll) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.reservation_); - } - - // optional int32 seconds_till_shutdown = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_seconds_till_shutdown()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_ServerRankRevealAll::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_ServerRankRevealAll::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_ServerRankRevealAll::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_ServerRankRevealAll::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_ServerRankRevealAll) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_reservation()->::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve::MergeFrom( - from._internal_reservation()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.seconds_till_shutdown_ = from._impl_.seconds_till_shutdown_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_ServerRankRevealAll::CopyFrom(const CCSUsrMsg_ServerRankRevealAll& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_ServerRankRevealAll) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_ServerRankRevealAll::IsInitialized() const { - return true; -} - -void CCSUsrMsg_ServerRankRevealAll::InternalSwap(CCSUsrMsg_ServerRankRevealAll* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ServerRankRevealAll, _impl_.seconds_till_shutdown_) - + sizeof(CCSUsrMsg_ServerRankRevealAll::_impl_.seconds_till_shutdown_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_ServerRankRevealAll, _impl_.reservation_)>( - reinterpret_cast(&_impl_.reservation_), - reinterpret_cast(&other->_impl_.reservation_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_ServerRankRevealAll::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[82]); -} - -// =================================================================== - -class CCSUsrMsgPreMatchSayText::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_text(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_all_chat(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CCSUsrMsgPreMatchSayText::CCSUsrMsgPreMatchSayText(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsgPreMatchSayText) -} -CCSUsrMsgPreMatchSayText::CCSUsrMsgPreMatchSayText(const CCSUsrMsgPreMatchSayText& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsgPreMatchSayText* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - , decltype(_impl_.account_id_){} - , decltype(_impl_.all_chat_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_text()) { - _this->_impl_.text_.Set(from._internal_text(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.all_chat_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.all_chat_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsgPreMatchSayText) -} - -inline void CCSUsrMsgPreMatchSayText::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.all_chat_){false} - }; - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsgPreMatchSayText::~CCSUsrMsgPreMatchSayText() { - // @@protoc_insertion_point(destructor:CCSUsrMsgPreMatchSayText) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsgPreMatchSayText::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.text_.Destroy(); -} - -void CCSUsrMsgPreMatchSayText::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsgPreMatchSayText::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsgPreMatchSayText) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.text_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.all_chat_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.all_chat_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsgPreMatchSayText::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string text = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_text(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCSUsrMsgPreMatchSayText.text"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool all_chat = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_all_chat(&has_bits); - _impl_.all_chat_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsgPreMatchSayText::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsgPreMatchSayText) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional string text = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_text().data(), static_cast(this->_internal_text().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCSUsrMsgPreMatchSayText.text"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_text(), target); - } - - // optional bool all_chat = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_all_chat(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsgPreMatchSayText) - return target; -} - -size_t CCSUsrMsgPreMatchSayText::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsgPreMatchSayText) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string text = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_text()); - } - - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional bool all_chat = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsgPreMatchSayText::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsgPreMatchSayText::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsgPreMatchSayText::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsgPreMatchSayText::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsgPreMatchSayText) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_text(from._internal_text()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.all_chat_ = from._impl_.all_chat_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsgPreMatchSayText::CopyFrom(const CCSUsrMsgPreMatchSayText& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsgPreMatchSayText) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsgPreMatchSayText::IsInitialized() const { - return true; -} - -void CCSUsrMsgPreMatchSayText::InternalSwap(CCSUsrMsgPreMatchSayText* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.text_, lhs_arena, - &other->_impl_.text_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsgPreMatchSayText, _impl_.all_chat_) - + sizeof(CCSUsrMsgPreMatchSayText::_impl_.all_chat_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsgPreMatchSayText, _impl_.account_id_)>( - reinterpret_cast(&_impl_.account_id_), - reinterpret_cast(&other->_impl_.account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsgPreMatchSayText::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[83]); -} - -// =================================================================== - -class CCSUsrMsg_CounterStrafe::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_press_to_release_ns(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_total_keys_down(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCSUsrMsg_CounterStrafe::CCSUsrMsg_CounterStrafe(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_CounterStrafe) -} -CCSUsrMsg_CounterStrafe::CCSUsrMsg_CounterStrafe(const CCSUsrMsg_CounterStrafe& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_CounterStrafe* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.press_to_release_ns_){} - , decltype(_impl_.total_keys_down_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.press_to_release_ns_, &from._impl_.press_to_release_ns_, - static_cast(reinterpret_cast(&_impl_.total_keys_down_) - - reinterpret_cast(&_impl_.press_to_release_ns_)) + sizeof(_impl_.total_keys_down_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_CounterStrafe) -} - -inline void CCSUsrMsg_CounterStrafe::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.press_to_release_ns_){0} - , decltype(_impl_.total_keys_down_){0} - }; -} - -CCSUsrMsg_CounterStrafe::~CCSUsrMsg_CounterStrafe() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_CounterStrafe) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_CounterStrafe::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCSUsrMsg_CounterStrafe::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_CounterStrafe::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_CounterStrafe) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.press_to_release_ns_, 0, static_cast( - reinterpret_cast(&_impl_.total_keys_down_) - - reinterpret_cast(&_impl_.press_to_release_ns_)) + sizeof(_impl_.total_keys_down_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_CounterStrafe::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 press_to_release_ns = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_press_to_release_ns(&has_bits); - _impl_.press_to_release_ns_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 total_keys_down = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_total_keys_down(&has_bits); - _impl_.total_keys_down_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_CounterStrafe::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_CounterStrafe) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 press_to_release_ns = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_press_to_release_ns(), target); - } - - // optional int32 total_keys_down = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_total_keys_down(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_CounterStrafe) - return target; -} - -size_t CCSUsrMsg_CounterStrafe::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_CounterStrafe) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional int32 press_to_release_ns = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_press_to_release_ns()); - } - - // optional int32 total_keys_down = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_total_keys_down()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_CounterStrafe::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_CounterStrafe::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_CounterStrafe::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_CounterStrafe::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_CounterStrafe) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.press_to_release_ns_ = from._impl_.press_to_release_ns_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.total_keys_down_ = from._impl_.total_keys_down_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_CounterStrafe::CopyFrom(const CCSUsrMsg_CounterStrafe& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_CounterStrafe) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_CounterStrafe::IsInitialized() const { - return true; -} - -void CCSUsrMsg_CounterStrafe::InternalSwap(CCSUsrMsg_CounterStrafe* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_CounterStrafe, _impl_.total_keys_down_) - + sizeof(CCSUsrMsg_CounterStrafe::_impl_.total_keys_down_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_CounterStrafe, _impl_.press_to_release_ns_)>( - reinterpret_cast(&_impl_.press_to_release_ns_), - reinterpret_cast(&other->_impl_.press_to_release_ns_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_CounterStrafe::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[84]); -} - -// =================================================================== - -class CCSUsrMsg_DamagePrediction::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_command_num(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_pellet_idx(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_victim_slot(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_victim_starting_health(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_victim_damage(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static const ::CMsgVector& shoot_pos(const CCSUsrMsg_DamagePrediction* msg); - static void set_has_shoot_pos(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgQAngle& shoot_dir(const CCSUsrMsg_DamagePrediction* msg); - static void set_has_shoot_dir(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgQAngle& aim_punch(const CCSUsrMsg_DamagePrediction* msg); - static void set_has_aim_punch(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::CMsgVector& -CCSUsrMsg_DamagePrediction::_Internal::shoot_pos(const CCSUsrMsg_DamagePrediction* msg) { - return *msg->_impl_.shoot_pos_; -} -const ::CMsgQAngle& -CCSUsrMsg_DamagePrediction::_Internal::shoot_dir(const CCSUsrMsg_DamagePrediction* msg) { - return *msg->_impl_.shoot_dir_; -} -const ::CMsgQAngle& -CCSUsrMsg_DamagePrediction::_Internal::aim_punch(const CCSUsrMsg_DamagePrediction* msg) { - return *msg->_impl_.aim_punch_; -} -void CCSUsrMsg_DamagePrediction::clear_shoot_pos() { - if (_impl_.shoot_pos_ != nullptr) _impl_.shoot_pos_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CCSUsrMsg_DamagePrediction::clear_shoot_dir() { - if (_impl_.shoot_dir_ != nullptr) _impl_.shoot_dir_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CCSUsrMsg_DamagePrediction::clear_aim_punch() { - if (_impl_.aim_punch_ != nullptr) _impl_.aim_punch_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -CCSUsrMsg_DamagePrediction::CCSUsrMsg_DamagePrediction(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_DamagePrediction) -} -CCSUsrMsg_DamagePrediction::CCSUsrMsg_DamagePrediction(const CCSUsrMsg_DamagePrediction& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_DamagePrediction* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.shoot_pos_){nullptr} - , decltype(_impl_.shoot_dir_){nullptr} - , decltype(_impl_.aim_punch_){nullptr} - , decltype(_impl_.command_num_){} - , decltype(_impl_.pellet_idx_){} - , decltype(_impl_.victim_slot_){} - , decltype(_impl_.victim_starting_health_){} - , decltype(_impl_.victim_damage_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_shoot_pos()) { - _this->_impl_.shoot_pos_ = new ::CMsgVector(*from._impl_.shoot_pos_); - } - if (from._internal_has_shoot_dir()) { - _this->_impl_.shoot_dir_ = new ::CMsgQAngle(*from._impl_.shoot_dir_); - } - if (from._internal_has_aim_punch()) { - _this->_impl_.aim_punch_ = new ::CMsgQAngle(*from._impl_.aim_punch_); - } - ::memcpy(&_impl_.command_num_, &from._impl_.command_num_, - static_cast(reinterpret_cast(&_impl_.victim_damage_) - - reinterpret_cast(&_impl_.command_num_)) + sizeof(_impl_.victim_damage_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_DamagePrediction) -} - -inline void CCSUsrMsg_DamagePrediction::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.shoot_pos_){nullptr} - , decltype(_impl_.shoot_dir_){nullptr} - , decltype(_impl_.aim_punch_){nullptr} - , decltype(_impl_.command_num_){0} - , decltype(_impl_.pellet_idx_){0} - , decltype(_impl_.victim_slot_){0} - , decltype(_impl_.victim_starting_health_){0} - , decltype(_impl_.victim_damage_){0} - }; -} - -CCSUsrMsg_DamagePrediction::~CCSUsrMsg_DamagePrediction() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_DamagePrediction) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_DamagePrediction::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.shoot_pos_; - if (this != internal_default_instance()) delete _impl_.shoot_dir_; - if (this != internal_default_instance()) delete _impl_.aim_punch_; -} - -void CCSUsrMsg_DamagePrediction::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_DamagePrediction::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_DamagePrediction) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.shoot_pos_ != nullptr); - _impl_.shoot_pos_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.shoot_dir_ != nullptr); - _impl_.shoot_dir_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.aim_punch_ != nullptr); - _impl_.aim_punch_->Clear(); - } - } - if (cached_has_bits & 0x000000f8u) { - ::memset(&_impl_.command_num_, 0, static_cast( - reinterpret_cast(&_impl_.victim_damage_) - - reinterpret_cast(&_impl_.command_num_)) + sizeof(_impl_.victim_damage_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_DamagePrediction::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 command_num = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_command_num(&has_bits); - _impl_.command_num_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 pellet_idx = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_pellet_idx(&has_bits); - _impl_.pellet_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 victim_slot = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_victim_slot(&has_bits); - _impl_.victim_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 victim_starting_health = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_victim_starting_health(&has_bits); - _impl_.victim_starting_health_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 victim_damage = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_victim_damage(&has_bits); - _impl_.victim_damage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector shoot_pos = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_shoot_pos(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle shoot_dir = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_shoot_dir(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle aim_punch = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_aim_punch(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_DamagePrediction::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_DamagePrediction) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 command_num = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_command_num(), target); - } - - // optional int32 pellet_idx = 2; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_pellet_idx(), target); - } - - // optional int32 victim_slot = 3; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_victim_slot(), target); - } - - // optional int32 victim_starting_health = 4; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_victim_starting_health(), target); - } - - // optional int32 victim_damage = 5; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_victim_damage(), target); - } - - // optional .CMsgVector shoot_pos = 6; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::shoot_pos(this), - _Internal::shoot_pos(this).GetCachedSize(), target, stream); - } - - // optional .CMsgQAngle shoot_dir = 7; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::shoot_dir(this), - _Internal::shoot_dir(this).GetCachedSize(), target, stream); - } - - // optional .CMsgQAngle aim_punch = 8; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, _Internal::aim_punch(this), - _Internal::aim_punch(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_DamagePrediction) - return target; -} - -size_t CCSUsrMsg_DamagePrediction::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_DamagePrediction) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional .CMsgVector shoot_pos = 6; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.shoot_pos_); - } - - // optional .CMsgQAngle shoot_dir = 7; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.shoot_dir_); - } - - // optional .CMsgQAngle aim_punch = 8; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.aim_punch_); - } - - // optional int32 command_num = 1; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_command_num()); - } - - // optional int32 pellet_idx = 2; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pellet_idx()); - } - - // optional int32 victim_slot = 3; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_victim_slot()); - } - - // optional int32 victim_starting_health = 4; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_victim_starting_health()); - } - - // optional int32 victim_damage = 5; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_victim_damage()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_DamagePrediction::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_DamagePrediction::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_DamagePrediction::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_DamagePrediction::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_DamagePrediction) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_shoot_pos()->::CMsgVector::MergeFrom( - from._internal_shoot_pos()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_shoot_dir()->::CMsgQAngle::MergeFrom( - from._internal_shoot_dir()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_aim_punch()->::CMsgQAngle::MergeFrom( - from._internal_aim_punch()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.command_num_ = from._impl_.command_num_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.pellet_idx_ = from._impl_.pellet_idx_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.victim_slot_ = from._impl_.victim_slot_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.victim_starting_health_ = from._impl_.victim_starting_health_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.victim_damage_ = from._impl_.victim_damage_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_DamagePrediction::CopyFrom(const CCSUsrMsg_DamagePrediction& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_DamagePrediction) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_DamagePrediction::IsInitialized() const { - return true; -} - -void CCSUsrMsg_DamagePrediction::InternalSwap(CCSUsrMsg_DamagePrediction* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_DamagePrediction, _impl_.victim_damage_) - + sizeof(CCSUsrMsg_DamagePrediction::_impl_.victim_damage_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_DamagePrediction, _impl_.shoot_pos_)>( - reinterpret_cast(&_impl_.shoot_pos_), - reinterpret_cast(&other->_impl_.shoot_pos_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_DamagePrediction::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[85]); -} - -// =================================================================== - -class CCSUsrMsg_RecurringMissionSchema::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_period(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_mission_schema(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_RecurringMissionSchema::CCSUsrMsg_RecurringMissionSchema(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_RecurringMissionSchema) -} -CCSUsrMsg_RecurringMissionSchema::CCSUsrMsg_RecurringMissionSchema(const CCSUsrMsg_RecurringMissionSchema& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_RecurringMissionSchema* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mission_schema_){} - , decltype(_impl_.period_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.mission_schema_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mission_schema_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_mission_schema()) { - _this->_impl_.mission_schema_.Set(from._internal_mission_schema(), - _this->GetArenaForAllocation()); - } - _this->_impl_.period_ = from._impl_.period_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_RecurringMissionSchema) -} - -inline void CCSUsrMsg_RecurringMissionSchema::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mission_schema_){} - , decltype(_impl_.period_){0u} - }; - _impl_.mission_schema_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mission_schema_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCSUsrMsg_RecurringMissionSchema::~CCSUsrMsg_RecurringMissionSchema() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_RecurringMissionSchema) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_RecurringMissionSchema::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.mission_schema_.Destroy(); -} - -void CCSUsrMsg_RecurringMissionSchema::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_RecurringMissionSchema::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_RecurringMissionSchema) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.mission_schema_.ClearNonDefaultToEmpty(); - } - _impl_.period_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_RecurringMissionSchema::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 period = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_period(&has_bits); - _impl_.period_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes mission_schema = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_mission_schema(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_RecurringMissionSchema::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_RecurringMissionSchema) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 period = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_period(), target); - } - - // optional bytes mission_schema = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_mission_schema(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_RecurringMissionSchema) - return target; -} - -size_t CCSUsrMsg_RecurringMissionSchema::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_RecurringMissionSchema) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bytes mission_schema = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_mission_schema()); - } - - // optional uint32 period = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_period()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_RecurringMissionSchema::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_RecurringMissionSchema::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_RecurringMissionSchema::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_RecurringMissionSchema::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_RecurringMissionSchema) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_mission_schema(from._internal_mission_schema()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.period_ = from._impl_.period_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_RecurringMissionSchema::CopyFrom(const CCSUsrMsg_RecurringMissionSchema& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_RecurringMissionSchema) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_RecurringMissionSchema::IsInitialized() const { - return true; -} - -void CCSUsrMsg_RecurringMissionSchema::InternalSwap(CCSUsrMsg_RecurringMissionSchema* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.mission_schema_, lhs_arena, - &other->_impl_.mission_schema_, rhs_arena - ); - swap(_impl_.period_, other->_impl_.period_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_RecurringMissionSchema::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[86]); -} - -// =================================================================== - -class CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CEconItemPreviewDataBlock& econ_item(const CCSUsrMsg_SendPlayerLoadout_LoadoutItem* msg); - static void set_has_econ_item(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_team(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_slot(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::CEconItemPreviewDataBlock& -CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_Internal::econ_item(const CCSUsrMsg_SendPlayerLoadout_LoadoutItem* msg) { - return *msg->_impl_.econ_item_; -} -void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::clear_econ_item() { - if (_impl_.econ_item_ != nullptr) _impl_.econ_item_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CCSUsrMsg_SendPlayerLoadout_LoadoutItem::CCSUsrMsg_SendPlayerLoadout_LoadoutItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) -} -CCSUsrMsg_SendPlayerLoadout_LoadoutItem::CCSUsrMsg_SendPlayerLoadout_LoadoutItem(const CCSUsrMsg_SendPlayerLoadout_LoadoutItem& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_SendPlayerLoadout_LoadoutItem* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.econ_item_){nullptr} - , decltype(_impl_.team_){} - , decltype(_impl_.slot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_econ_item()) { - _this->_impl_.econ_item_ = new ::CEconItemPreviewDataBlock(*from._impl_.econ_item_); - } - ::memcpy(&_impl_.team_, &from._impl_.team_, - static_cast(reinterpret_cast(&_impl_.slot_) - - reinterpret_cast(&_impl_.team_)) + sizeof(_impl_.slot_)); - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) -} - -inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.econ_item_){nullptr} - , decltype(_impl_.team_){0} - , decltype(_impl_.slot_){0} - }; -} - -CCSUsrMsg_SendPlayerLoadout_LoadoutItem::~CCSUsrMsg_SendPlayerLoadout_LoadoutItem() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.econ_item_; -} - -void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.econ_item_ != nullptr); - _impl_.econ_item_->Clear(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.team_, 0, static_cast( - reinterpret_cast(&_impl_.slot_) - - reinterpret_cast(&_impl_.team_)) + sizeof(_impl_.slot_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CEconItemPreviewDataBlock econ_item = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_econ_item(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 team = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_team(&has_bits); - _impl_.team_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 slot = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_slot(&has_bits); - _impl_.slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CEconItemPreviewDataBlock econ_item = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::econ_item(this), - _Internal::econ_item(this).GetCachedSize(), target, stream); - } - - // optional int32 team = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_team(), target); - } - - // optional int32 slot = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_slot(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) - return target; -} - -size_t CCSUsrMsg_SendPlayerLoadout_LoadoutItem::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .CEconItemPreviewDataBlock econ_item = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.econ_item_); - } - - // optional int32 team = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team()); - } - - // optional int32 slot = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_slot()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_SendPlayerLoadout_LoadoutItem::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SendPlayerLoadout_LoadoutItem::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_econ_item()->::CEconItemPreviewDataBlock::MergeFrom( - from._internal_econ_item()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.team_ = from._impl_.team_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.slot_ = from._impl_.slot_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::CopyFrom(const CCSUsrMsg_SendPlayerLoadout_LoadoutItem& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_SendPlayerLoadout_LoadoutItem::IsInitialized() const { - return true; -} - -void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::InternalSwap(CCSUsrMsg_SendPlayerLoadout_LoadoutItem* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SendPlayerLoadout_LoadoutItem, _impl_.slot_) - + sizeof(CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_impl_.slot_) - - PROTOBUF_FIELD_OFFSET(CCSUsrMsg_SendPlayerLoadout_LoadoutItem, _impl_.econ_item_)>( - reinterpret_cast(&_impl_.econ_item_), - reinterpret_cast(&other->_impl_.econ_item_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SendPlayerLoadout_LoadoutItem::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[87]); -} - -// =================================================================== - -class CCSUsrMsg_SendPlayerLoadout::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_playerslot(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCSUsrMsg_SendPlayerLoadout::CCSUsrMsg_SendPlayerLoadout(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCSUsrMsg_SendPlayerLoadout) -} -CCSUsrMsg_SendPlayerLoadout::CCSUsrMsg_SendPlayerLoadout(const CCSUsrMsg_SendPlayerLoadout& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCSUsrMsg_SendPlayerLoadout* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.loadout_){from._impl_.loadout_} - , decltype(_impl_.playerslot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.playerslot_ = from._impl_.playerslot_; - // @@protoc_insertion_point(copy_constructor:CCSUsrMsg_SendPlayerLoadout) -} - -inline void CCSUsrMsg_SendPlayerLoadout::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.loadout_){arena} - , decltype(_impl_.playerslot_){-1} - }; -} - -CCSUsrMsg_SendPlayerLoadout::~CCSUsrMsg_SendPlayerLoadout() { - // @@protoc_insertion_point(destructor:CCSUsrMsg_SendPlayerLoadout) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCSUsrMsg_SendPlayerLoadout::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.loadout_.~RepeatedPtrField(); -} - -void CCSUsrMsg_SendPlayerLoadout::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCSUsrMsg_SendPlayerLoadout::Clear() { -// @@protoc_insertion_point(message_clear_start:CCSUsrMsg_SendPlayerLoadout) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.loadout_.Clear(); - _impl_.playerslot_ = -1; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCSUsrMsg_SendPlayerLoadout::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CCSUsrMsg_SendPlayerLoadout.LoadoutItem loadout = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_loadout(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // optional int32 playerslot = 2 [default = -1]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_playerslot(&has_bits); - _impl_.playerslot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCSUsrMsg_SendPlayerLoadout::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCSUsrMsg_SendPlayerLoadout) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CCSUsrMsg_SendPlayerLoadout.LoadoutItem loadout = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_loadout_size()); i < n; i++) { - const auto& repfield = this->_internal_loadout(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 playerslot = 2 [default = -1]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_playerslot(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCSUsrMsg_SendPlayerLoadout) - return target; -} - -size_t CCSUsrMsg_SendPlayerLoadout::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCSUsrMsg_SendPlayerLoadout) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CCSUsrMsg_SendPlayerLoadout.LoadoutItem loadout = 1; - total_size += 1UL * this->_internal_loadout_size(); - for (const auto& msg : this->_impl_.loadout_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional int32 playerslot = 2 [default = -1]; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playerslot()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCSUsrMsg_SendPlayerLoadout::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCSUsrMsg_SendPlayerLoadout::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCSUsrMsg_SendPlayerLoadout::GetClassData() const { return &_class_data_; } - - -void CCSUsrMsg_SendPlayerLoadout::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCSUsrMsg_SendPlayerLoadout) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.loadout_.MergeFrom(from._impl_.loadout_); - if (from._internal_has_playerslot()) { - _this->_internal_set_playerslot(from._internal_playerslot()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCSUsrMsg_SendPlayerLoadout::CopyFrom(const CCSUsrMsg_SendPlayerLoadout& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCSUsrMsg_SendPlayerLoadout) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCSUsrMsg_SendPlayerLoadout::IsInitialized() const { - return true; -} - -void CCSUsrMsg_SendPlayerLoadout::InternalSwap(CCSUsrMsg_SendPlayerLoadout* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.loadout_.InternalSwap(&other->_impl_.loadout_); - swap(_impl_.playerslot_, other->_impl_.playerslot_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCSUsrMsg_SendPlayerLoadout::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_cstrike15_5fusermessages_2eproto_getter, &descriptor_table_cstrike15_5fusermessages_2eproto_once, - file_level_metadata_cstrike15_5fusermessages_2eproto[88]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_VGUIMenu_Keys* -Arena::CreateMaybeMessage< ::CCSUsrMsg_VGUIMenu_Keys >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_VGUIMenu_Keys >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_VGUIMenu* -Arena::CreateMaybeMessage< ::CCSUsrMsg_VGUIMenu >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_VGUIMenu >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_Geiger* -Arena::CreateMaybeMessage< ::CCSUsrMsg_Geiger >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_Geiger >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_Train* -Arena::CreateMaybeMessage< ::CCSUsrMsg_Train >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_Train >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_HudText* -Arena::CreateMaybeMessage< ::CCSUsrMsg_HudText >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_HudText >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_HudMsg* -Arena::CreateMaybeMessage< ::CCSUsrMsg_HudMsg >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_HudMsg >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_Shake* -Arena::CreateMaybeMessage< ::CCSUsrMsg_Shake >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_Shake >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_Fade* -Arena::CreateMaybeMessage< ::CCSUsrMsg_Fade >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_Fade >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_Rumble* -Arena::CreateMaybeMessage< ::CCSUsrMsg_Rumble >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_Rumble >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_CloseCaption* -Arena::CreateMaybeMessage< ::CCSUsrMsg_CloseCaption >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_CloseCaption >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_CloseCaptionDirect* -Arena::CreateMaybeMessage< ::CCSUsrMsg_CloseCaptionDirect >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_CloseCaptionDirect >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SendAudio* -Arena::CreateMaybeMessage< ::CCSUsrMsg_SendAudio >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_SendAudio >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RawAudio* -Arena::CreateMaybeMessage< ::CCSUsrMsg_RawAudio >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_RawAudio >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_VoiceMask_PlayerMask* -Arena::CreateMaybeMessage< ::CCSUsrMsg_VoiceMask_PlayerMask >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_VoiceMask_PlayerMask >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_VoiceMask* -Arena::CreateMaybeMessage< ::CCSUsrMsg_VoiceMask >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_VoiceMask >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_Damage* -Arena::CreateMaybeMessage< ::CCSUsrMsg_Damage >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_Damage >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RadioText* -Arena::CreateMaybeMessage< ::CCSUsrMsg_RadioText >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_RadioText >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_HintText* -Arena::CreateMaybeMessage< ::CCSUsrMsg_HintText >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_HintText >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_KeyHintText* -Arena::CreateMaybeMessage< ::CCSUsrMsg_KeyHintText >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_KeyHintText >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* -Arena::CreateMaybeMessage< ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ProcessSpottedEntityUpdate* -Arena::CreateMaybeMessage< ::CCSUsrMsg_ProcessSpottedEntityUpdate >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_ProcessSpottedEntityUpdate >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SendPlayerItemDrops* -Arena::CreateMaybeMessage< ::CCSUsrMsg_SendPlayerItemDrops >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_SendPlayerItemDrops >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SendPlayerItemFound* -Arena::CreateMaybeMessage< ::CCSUsrMsg_SendPlayerItemFound >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_SendPlayerItemFound >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ReloadEffect* -Arena::CreateMaybeMessage< ::CCSUsrMsg_ReloadEffect >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_ReloadEffect >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_WeaponSound* -Arena::CreateMaybeMessage< ::CCSUsrMsg_WeaponSound >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_WeaponSound >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_UpdateScreenHealthBar* -Arena::CreateMaybeMessage< ::CCSUsrMsg_UpdateScreenHealthBar >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_UpdateScreenHealthBar >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_EntityOutlineHighlight* -Arena::CreateMaybeMessage< ::CCSUsrMsg_EntityOutlineHighlight >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_EntityOutlineHighlight >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_AdjustMoney* -Arena::CreateMaybeMessage< ::CCSUsrMsg_AdjustMoney >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_AdjustMoney >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ReportHit* -Arena::CreateMaybeMessage< ::CCSUsrMsg_ReportHit >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_ReportHit >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_KillCam* -Arena::CreateMaybeMessage< ::CCSUsrMsg_KillCam >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_KillCam >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_DesiredTimescale* -Arena::CreateMaybeMessage< ::CCSUsrMsg_DesiredTimescale >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_DesiredTimescale >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_CurrentTimescale* -Arena::CreateMaybeMessage< ::CCSUsrMsg_CurrentTimescale >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_CurrentTimescale >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_AchievementEvent* -Arena::CreateMaybeMessage< ::CCSUsrMsg_AchievementEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_AchievementEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_MatchEndConditions* -Arena::CreateMaybeMessage< ::CCSUsrMsg_MatchEndConditions >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_MatchEndConditions >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_PlayerStatsUpdate_Stat* -Arena::CreateMaybeMessage< ::CCSUsrMsg_PlayerStatsUpdate_Stat >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_PlayerStatsUpdate_Stat >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_PlayerStatsUpdate* -Arena::CreateMaybeMessage< ::CCSUsrMsg_PlayerStatsUpdate >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_PlayerStatsUpdate >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_QuestProgress* -Arena::CreateMaybeMessage< ::CCSUsrMsg_QuestProgress >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_QuestProgress >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ScoreLeaderboardData* -Arena::CreateMaybeMessage< ::CCSUsrMsg_ScoreLeaderboardData >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_ScoreLeaderboardData >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_PlayerDecalDigitalSignature* -Arena::CreateMaybeMessage< ::CCSUsrMsg_PlayerDecalDigitalSignature >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_PlayerDecalDigitalSignature >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_XRankGet* -Arena::CreateMaybeMessage< ::CCSUsrMsg_XRankGet >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_XRankGet >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_XRankUpd* -Arena::CreateMaybeMessage< ::CCSUsrMsg_XRankUpd >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_XRankUpd >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_CallVoteFailed* -Arena::CreateMaybeMessage< ::CCSUsrMsg_CallVoteFailed >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_CallVoteFailed >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_VoteStart* -Arena::CreateMaybeMessage< ::CCSUsrMsg_VoteStart >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_VoteStart >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_VotePass* -Arena::CreateMaybeMessage< ::CCSUsrMsg_VotePass >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_VotePass >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_VoteFailed* -Arena::CreateMaybeMessage< ::CCSUsrMsg_VoteFailed >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_VoteFailed >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_VoteSetup* -Arena::CreateMaybeMessage< ::CCSUsrMsg_VoteSetup >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_VoteSetup >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SendLastKillerDamageToClient* -Arena::CreateMaybeMessage< ::CCSUsrMsg_SendLastKillerDamageToClient >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_SendLastKillerDamageToClient >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ServerRankUpdate_RankUpdate* -Arena::CreateMaybeMessage< ::CCSUsrMsg_ServerRankUpdate_RankUpdate >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_ServerRankUpdate_RankUpdate >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ServerRankUpdate* -Arena::CreateMaybeMessage< ::CCSUsrMsg_ServerRankUpdate >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_ServerRankUpdate >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_XpUpdate* -Arena::CreateMaybeMessage< ::CCSUsrMsg_XpUpdate >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_XpUpdate >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ItemPickup* -Arena::CreateMaybeMessage< ::CCSUsrMsg_ItemPickup >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_ItemPickup >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ShowMenu* -Arena::CreateMaybeMessage< ::CCSUsrMsg_ShowMenu >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_ShowMenu >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_BarTime* -Arena::CreateMaybeMessage< ::CCSUsrMsg_BarTime >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_BarTime >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_AmmoDenied* -Arena::CreateMaybeMessage< ::CCSUsrMsg_AmmoDenied >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_AmmoDenied >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_MarkAchievement* -Arena::CreateMaybeMessage< ::CCSUsrMsg_MarkAchievement >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_MarkAchievement >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_MatchStatsUpdate* -Arena::CreateMaybeMessage< ::CCSUsrMsg_MatchStatsUpdate >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_MatchStatsUpdate >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ItemDrop* -Arena::CreateMaybeMessage< ::CCSUsrMsg_ItemDrop >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_ItemDrop >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RoundBackupFilenames* -Arena::CreateMaybeMessage< ::CCSUsrMsg_RoundBackupFilenames >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_RoundBackupFilenames >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SSUI* -Arena::CreateMaybeMessage< ::CCSUsrMsg_SSUI >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_SSUI >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SurvivalStats_Fact* -Arena::CreateMaybeMessage< ::CCSUsrMsg_SurvivalStats_Fact >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_SurvivalStats_Fact >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SurvivalStats_Placement* -Arena::CreateMaybeMessage< ::CCSUsrMsg_SurvivalStats_Placement >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_SurvivalStats_Placement >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SurvivalStats_Damage* -Arena::CreateMaybeMessage< ::CCSUsrMsg_SurvivalStats_Damage >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_SurvivalStats_Damage >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SurvivalStats* -Arena::CreateMaybeMessage< ::CCSUsrMsg_SurvivalStats >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_SurvivalStats >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* -Arena::CreateMaybeMessage< ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* -Arena::CreateMaybeMessage< ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_EndOfMatchAllPlayersData* -Arena::CreateMaybeMessage< ::CCSUsrMsg_EndOfMatchAllPlayersData >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_EndOfMatchAllPlayersData >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* -Arena::CreateMaybeMessage< ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* -Arena::CreateMaybeMessage< ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage* -Arena::CreateMaybeMessage< ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RoundEndReportData_RerEvent* -Arena::CreateMaybeMessage< ::CCSUsrMsg_RoundEndReportData_RerEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_RoundEndReportData_RerEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RoundEndReportData_InitialConditions* -Arena::CreateMaybeMessage< ::CCSUsrMsg_RoundEndReportData_InitialConditions >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_RoundEndReportData_InitialConditions >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RoundEndReportData* -Arena::CreateMaybeMessage< ::CCSUsrMsg_RoundEndReportData >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_RoundEndReportData >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_PostRoundDamageReport* -Arena::CreateMaybeMessage< ::CCSUsrMsg_PostRoundDamageReport >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_PostRoundDamageReport >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_CurrentRoundOdds* -Arena::CreateMaybeMessage< ::CCSUsrMsg_CurrentRoundOdds >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_CurrentRoundOdds >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_DeepStats* -Arena::CreateMaybeMessage< ::CCSUsrMsg_DeepStats >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_DeepStats >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ShootInfo* -Arena::CreateMaybeMessage< ::CCSUsrMsg_ShootInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_ShootInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ResetHud* -Arena::CreateMaybeMessage< ::CCSUsrMsg_ResetHud >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_ResetHud >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_GameTitle* -Arena::CreateMaybeMessage< ::CCSUsrMsg_GameTitle >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_GameTitle >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RequestState* -Arena::CreateMaybeMessage< ::CCSUsrMsg_RequestState >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_RequestState >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_StopSpectatorMode* -Arena::CreateMaybeMessage< ::CCSUsrMsg_StopSpectatorMode >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_StopSpectatorMode >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_DisconnectToLobby* -Arena::CreateMaybeMessage< ::CCSUsrMsg_DisconnectToLobby >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_DisconnectToLobby >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ClientInfo* -Arena::CreateMaybeMessage< ::CCSUsrMsg_ClientInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_ClientInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_ServerRankRevealAll* -Arena::CreateMaybeMessage< ::CCSUsrMsg_ServerRankRevealAll >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_ServerRankRevealAll >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsgPreMatchSayText* -Arena::CreateMaybeMessage< ::CCSUsrMsgPreMatchSayText >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsgPreMatchSayText >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_CounterStrafe* -Arena::CreateMaybeMessage< ::CCSUsrMsg_CounterStrafe >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_CounterStrafe >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_DamagePrediction* -Arena::CreateMaybeMessage< ::CCSUsrMsg_DamagePrediction >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_DamagePrediction >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_RecurringMissionSchema* -Arena::CreateMaybeMessage< ::CCSUsrMsg_RecurringMissionSchema >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_RecurringMissionSchema >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem* -Arena::CreateMaybeMessage< ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem >(arena); -} -template<> PROTOBUF_NOINLINE ::CCSUsrMsg_SendPlayerLoadout* -Arena::CreateMaybeMessage< ::CCSUsrMsg_SendPlayerLoadout >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCSUsrMsg_SendPlayerLoadout >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/cstrike15_usermessages.pb.h b/protobuf/generated/cstrike15_usermessages.pb.h deleted file mode 100644 index 579d1590e..000000000 --- a/protobuf/generated/cstrike15_usermessages.pb.h +++ /dev/null @@ -1,28448 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: cstrike15_usermessages.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_cstrike15_5fusermessages_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_cstrike15_5fusermessages_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "networkbasetypes.pb.h" -#include "cstrike15_gcmessages.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_cstrike15_5fusermessages_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_cstrike15_5fusermessages_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_cstrike15_5fusermessages_2eproto; -class CCSUsrMsgPreMatchSayText; -struct CCSUsrMsgPreMatchSayTextDefaultTypeInternal; -extern CCSUsrMsgPreMatchSayTextDefaultTypeInternal _CCSUsrMsgPreMatchSayText_default_instance_; -class CCSUsrMsg_AchievementEvent; -struct CCSUsrMsg_AchievementEventDefaultTypeInternal; -extern CCSUsrMsg_AchievementEventDefaultTypeInternal _CCSUsrMsg_AchievementEvent_default_instance_; -class CCSUsrMsg_AdjustMoney; -struct CCSUsrMsg_AdjustMoneyDefaultTypeInternal; -extern CCSUsrMsg_AdjustMoneyDefaultTypeInternal _CCSUsrMsg_AdjustMoney_default_instance_; -class CCSUsrMsg_AmmoDenied; -struct CCSUsrMsg_AmmoDeniedDefaultTypeInternal; -extern CCSUsrMsg_AmmoDeniedDefaultTypeInternal _CCSUsrMsg_AmmoDenied_default_instance_; -class CCSUsrMsg_BarTime; -struct CCSUsrMsg_BarTimeDefaultTypeInternal; -extern CCSUsrMsg_BarTimeDefaultTypeInternal _CCSUsrMsg_BarTime_default_instance_; -class CCSUsrMsg_CallVoteFailed; -struct CCSUsrMsg_CallVoteFailedDefaultTypeInternal; -extern CCSUsrMsg_CallVoteFailedDefaultTypeInternal _CCSUsrMsg_CallVoteFailed_default_instance_; -class CCSUsrMsg_ClientInfo; -struct CCSUsrMsg_ClientInfoDefaultTypeInternal; -extern CCSUsrMsg_ClientInfoDefaultTypeInternal _CCSUsrMsg_ClientInfo_default_instance_; -class CCSUsrMsg_CloseCaption; -struct CCSUsrMsg_CloseCaptionDefaultTypeInternal; -extern CCSUsrMsg_CloseCaptionDefaultTypeInternal _CCSUsrMsg_CloseCaption_default_instance_; -class CCSUsrMsg_CloseCaptionDirect; -struct CCSUsrMsg_CloseCaptionDirectDefaultTypeInternal; -extern CCSUsrMsg_CloseCaptionDirectDefaultTypeInternal _CCSUsrMsg_CloseCaptionDirect_default_instance_; -class CCSUsrMsg_CounterStrafe; -struct CCSUsrMsg_CounterStrafeDefaultTypeInternal; -extern CCSUsrMsg_CounterStrafeDefaultTypeInternal _CCSUsrMsg_CounterStrafe_default_instance_; -class CCSUsrMsg_CurrentRoundOdds; -struct CCSUsrMsg_CurrentRoundOddsDefaultTypeInternal; -extern CCSUsrMsg_CurrentRoundOddsDefaultTypeInternal _CCSUsrMsg_CurrentRoundOdds_default_instance_; -class CCSUsrMsg_CurrentTimescale; -struct CCSUsrMsg_CurrentTimescaleDefaultTypeInternal; -extern CCSUsrMsg_CurrentTimescaleDefaultTypeInternal _CCSUsrMsg_CurrentTimescale_default_instance_; -class CCSUsrMsg_Damage; -struct CCSUsrMsg_DamageDefaultTypeInternal; -extern CCSUsrMsg_DamageDefaultTypeInternal _CCSUsrMsg_Damage_default_instance_; -class CCSUsrMsg_DamagePrediction; -struct CCSUsrMsg_DamagePredictionDefaultTypeInternal; -extern CCSUsrMsg_DamagePredictionDefaultTypeInternal _CCSUsrMsg_DamagePrediction_default_instance_; -class CCSUsrMsg_DeepStats; -struct CCSUsrMsg_DeepStatsDefaultTypeInternal; -extern CCSUsrMsg_DeepStatsDefaultTypeInternal _CCSUsrMsg_DeepStats_default_instance_; -class CCSUsrMsg_DesiredTimescale; -struct CCSUsrMsg_DesiredTimescaleDefaultTypeInternal; -extern CCSUsrMsg_DesiredTimescaleDefaultTypeInternal _CCSUsrMsg_DesiredTimescale_default_instance_; -class CCSUsrMsg_DisconnectToLobby; -struct CCSUsrMsg_DisconnectToLobbyDefaultTypeInternal; -extern CCSUsrMsg_DisconnectToLobbyDefaultTypeInternal _CCSUsrMsg_DisconnectToLobby_default_instance_; -class CCSUsrMsg_EndOfMatchAllPlayersData; -struct CCSUsrMsg_EndOfMatchAllPlayersDataDefaultTypeInternal; -extern CCSUsrMsg_EndOfMatchAllPlayersDataDefaultTypeInternal _CCSUsrMsg_EndOfMatchAllPlayersData_default_instance_; -class CCSUsrMsg_EndOfMatchAllPlayersData_Accolade; -struct CCSUsrMsg_EndOfMatchAllPlayersData_AccoladeDefaultTypeInternal; -extern CCSUsrMsg_EndOfMatchAllPlayersData_AccoladeDefaultTypeInternal _CCSUsrMsg_EndOfMatchAllPlayersData_Accolade_default_instance_; -class CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData; -struct CCSUsrMsg_EndOfMatchAllPlayersData_PlayerDataDefaultTypeInternal; -extern CCSUsrMsg_EndOfMatchAllPlayersData_PlayerDataDefaultTypeInternal _CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData_default_instance_; -class CCSUsrMsg_EntityOutlineHighlight; -struct CCSUsrMsg_EntityOutlineHighlightDefaultTypeInternal; -extern CCSUsrMsg_EntityOutlineHighlightDefaultTypeInternal _CCSUsrMsg_EntityOutlineHighlight_default_instance_; -class CCSUsrMsg_Fade; -struct CCSUsrMsg_FadeDefaultTypeInternal; -extern CCSUsrMsg_FadeDefaultTypeInternal _CCSUsrMsg_Fade_default_instance_; -class CCSUsrMsg_GameTitle; -struct CCSUsrMsg_GameTitleDefaultTypeInternal; -extern CCSUsrMsg_GameTitleDefaultTypeInternal _CCSUsrMsg_GameTitle_default_instance_; -class CCSUsrMsg_Geiger; -struct CCSUsrMsg_GeigerDefaultTypeInternal; -extern CCSUsrMsg_GeigerDefaultTypeInternal _CCSUsrMsg_Geiger_default_instance_; -class CCSUsrMsg_HintText; -struct CCSUsrMsg_HintTextDefaultTypeInternal; -extern CCSUsrMsg_HintTextDefaultTypeInternal _CCSUsrMsg_HintText_default_instance_; -class CCSUsrMsg_HudMsg; -struct CCSUsrMsg_HudMsgDefaultTypeInternal; -extern CCSUsrMsg_HudMsgDefaultTypeInternal _CCSUsrMsg_HudMsg_default_instance_; -class CCSUsrMsg_HudText; -struct CCSUsrMsg_HudTextDefaultTypeInternal; -extern CCSUsrMsg_HudTextDefaultTypeInternal _CCSUsrMsg_HudText_default_instance_; -class CCSUsrMsg_ItemDrop; -struct CCSUsrMsg_ItemDropDefaultTypeInternal; -extern CCSUsrMsg_ItemDropDefaultTypeInternal _CCSUsrMsg_ItemDrop_default_instance_; -class CCSUsrMsg_ItemPickup; -struct CCSUsrMsg_ItemPickupDefaultTypeInternal; -extern CCSUsrMsg_ItemPickupDefaultTypeInternal _CCSUsrMsg_ItemPickup_default_instance_; -class CCSUsrMsg_KeyHintText; -struct CCSUsrMsg_KeyHintTextDefaultTypeInternal; -extern CCSUsrMsg_KeyHintTextDefaultTypeInternal _CCSUsrMsg_KeyHintText_default_instance_; -class CCSUsrMsg_KillCam; -struct CCSUsrMsg_KillCamDefaultTypeInternal; -extern CCSUsrMsg_KillCamDefaultTypeInternal _CCSUsrMsg_KillCam_default_instance_; -class CCSUsrMsg_MarkAchievement; -struct CCSUsrMsg_MarkAchievementDefaultTypeInternal; -extern CCSUsrMsg_MarkAchievementDefaultTypeInternal _CCSUsrMsg_MarkAchievement_default_instance_; -class CCSUsrMsg_MatchEndConditions; -struct CCSUsrMsg_MatchEndConditionsDefaultTypeInternal; -extern CCSUsrMsg_MatchEndConditionsDefaultTypeInternal _CCSUsrMsg_MatchEndConditions_default_instance_; -class CCSUsrMsg_MatchStatsUpdate; -struct CCSUsrMsg_MatchStatsUpdateDefaultTypeInternal; -extern CCSUsrMsg_MatchStatsUpdateDefaultTypeInternal _CCSUsrMsg_MatchStatsUpdate_default_instance_; -class CCSUsrMsg_PlayerDecalDigitalSignature; -struct CCSUsrMsg_PlayerDecalDigitalSignatureDefaultTypeInternal; -extern CCSUsrMsg_PlayerDecalDigitalSignatureDefaultTypeInternal _CCSUsrMsg_PlayerDecalDigitalSignature_default_instance_; -class CCSUsrMsg_PlayerStatsUpdate; -struct CCSUsrMsg_PlayerStatsUpdateDefaultTypeInternal; -extern CCSUsrMsg_PlayerStatsUpdateDefaultTypeInternal _CCSUsrMsg_PlayerStatsUpdate_default_instance_; -class CCSUsrMsg_PlayerStatsUpdate_Stat; -struct CCSUsrMsg_PlayerStatsUpdate_StatDefaultTypeInternal; -extern CCSUsrMsg_PlayerStatsUpdate_StatDefaultTypeInternal _CCSUsrMsg_PlayerStatsUpdate_Stat_default_instance_; -class CCSUsrMsg_PostRoundDamageReport; -struct CCSUsrMsg_PostRoundDamageReportDefaultTypeInternal; -extern CCSUsrMsg_PostRoundDamageReportDefaultTypeInternal _CCSUsrMsg_PostRoundDamageReport_default_instance_; -class CCSUsrMsg_ProcessSpottedEntityUpdate; -struct CCSUsrMsg_ProcessSpottedEntityUpdateDefaultTypeInternal; -extern CCSUsrMsg_ProcessSpottedEntityUpdateDefaultTypeInternal _CCSUsrMsg_ProcessSpottedEntityUpdate_default_instance_; -class CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate; -struct CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdateDefaultTypeInternal; -extern CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdateDefaultTypeInternal _CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_default_instance_; -class CCSUsrMsg_QuestProgress; -struct CCSUsrMsg_QuestProgressDefaultTypeInternal; -extern CCSUsrMsg_QuestProgressDefaultTypeInternal _CCSUsrMsg_QuestProgress_default_instance_; -class CCSUsrMsg_RadioText; -struct CCSUsrMsg_RadioTextDefaultTypeInternal; -extern CCSUsrMsg_RadioTextDefaultTypeInternal _CCSUsrMsg_RadioText_default_instance_; -class CCSUsrMsg_RawAudio; -struct CCSUsrMsg_RawAudioDefaultTypeInternal; -extern CCSUsrMsg_RawAudioDefaultTypeInternal _CCSUsrMsg_RawAudio_default_instance_; -class CCSUsrMsg_RecurringMissionSchema; -struct CCSUsrMsg_RecurringMissionSchemaDefaultTypeInternal; -extern CCSUsrMsg_RecurringMissionSchemaDefaultTypeInternal _CCSUsrMsg_RecurringMissionSchema_default_instance_; -class CCSUsrMsg_ReloadEffect; -struct CCSUsrMsg_ReloadEffectDefaultTypeInternal; -extern CCSUsrMsg_ReloadEffectDefaultTypeInternal _CCSUsrMsg_ReloadEffect_default_instance_; -class CCSUsrMsg_ReportHit; -struct CCSUsrMsg_ReportHitDefaultTypeInternal; -extern CCSUsrMsg_ReportHitDefaultTypeInternal _CCSUsrMsg_ReportHit_default_instance_; -class CCSUsrMsg_RequestState; -struct CCSUsrMsg_RequestStateDefaultTypeInternal; -extern CCSUsrMsg_RequestStateDefaultTypeInternal _CCSUsrMsg_RequestState_default_instance_; -class CCSUsrMsg_ResetHud; -struct CCSUsrMsg_ResetHudDefaultTypeInternal; -extern CCSUsrMsg_ResetHudDefaultTypeInternal _CCSUsrMsg_ResetHud_default_instance_; -class CCSUsrMsg_RoundBackupFilenames; -struct CCSUsrMsg_RoundBackupFilenamesDefaultTypeInternal; -extern CCSUsrMsg_RoundBackupFilenamesDefaultTypeInternal _CCSUsrMsg_RoundBackupFilenames_default_instance_; -class CCSUsrMsg_RoundEndReportData; -struct CCSUsrMsg_RoundEndReportDataDefaultTypeInternal; -extern CCSUsrMsg_RoundEndReportDataDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_default_instance_; -class CCSUsrMsg_RoundEndReportData_InitialConditions; -struct CCSUsrMsg_RoundEndReportData_InitialConditionsDefaultTypeInternal; -extern CCSUsrMsg_RoundEndReportData_InitialConditionsDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_InitialConditions_default_instance_; -class CCSUsrMsg_RoundEndReportData_RerEvent; -struct CCSUsrMsg_RoundEndReportData_RerEventDefaultTypeInternal; -extern CCSUsrMsg_RoundEndReportData_RerEventDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_RerEvent_default_instance_; -class CCSUsrMsg_RoundEndReportData_RerEvent_Damage; -struct CCSUsrMsg_RoundEndReportData_RerEvent_DamageDefaultTypeInternal; -extern CCSUsrMsg_RoundEndReportData_RerEvent_DamageDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_RerEvent_Damage_default_instance_; -class CCSUsrMsg_RoundEndReportData_RerEvent_Objective; -struct CCSUsrMsg_RoundEndReportData_RerEvent_ObjectiveDefaultTypeInternal; -extern CCSUsrMsg_RoundEndReportData_RerEvent_ObjectiveDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_RerEvent_Objective_default_instance_; -class CCSUsrMsg_RoundEndReportData_RerEvent_Victim; -struct CCSUsrMsg_RoundEndReportData_RerEvent_VictimDefaultTypeInternal; -extern CCSUsrMsg_RoundEndReportData_RerEvent_VictimDefaultTypeInternal _CCSUsrMsg_RoundEndReportData_RerEvent_Victim_default_instance_; -class CCSUsrMsg_Rumble; -struct CCSUsrMsg_RumbleDefaultTypeInternal; -extern CCSUsrMsg_RumbleDefaultTypeInternal _CCSUsrMsg_Rumble_default_instance_; -class CCSUsrMsg_SSUI; -struct CCSUsrMsg_SSUIDefaultTypeInternal; -extern CCSUsrMsg_SSUIDefaultTypeInternal _CCSUsrMsg_SSUI_default_instance_; -class CCSUsrMsg_ScoreLeaderboardData; -struct CCSUsrMsg_ScoreLeaderboardDataDefaultTypeInternal; -extern CCSUsrMsg_ScoreLeaderboardDataDefaultTypeInternal _CCSUsrMsg_ScoreLeaderboardData_default_instance_; -class CCSUsrMsg_SendAudio; -struct CCSUsrMsg_SendAudioDefaultTypeInternal; -extern CCSUsrMsg_SendAudioDefaultTypeInternal _CCSUsrMsg_SendAudio_default_instance_; -class CCSUsrMsg_SendLastKillerDamageToClient; -struct CCSUsrMsg_SendLastKillerDamageToClientDefaultTypeInternal; -extern CCSUsrMsg_SendLastKillerDamageToClientDefaultTypeInternal _CCSUsrMsg_SendLastKillerDamageToClient_default_instance_; -class CCSUsrMsg_SendPlayerItemDrops; -struct CCSUsrMsg_SendPlayerItemDropsDefaultTypeInternal; -extern CCSUsrMsg_SendPlayerItemDropsDefaultTypeInternal _CCSUsrMsg_SendPlayerItemDrops_default_instance_; -class CCSUsrMsg_SendPlayerItemFound; -struct CCSUsrMsg_SendPlayerItemFoundDefaultTypeInternal; -extern CCSUsrMsg_SendPlayerItemFoundDefaultTypeInternal _CCSUsrMsg_SendPlayerItemFound_default_instance_; -class CCSUsrMsg_SendPlayerLoadout; -struct CCSUsrMsg_SendPlayerLoadoutDefaultTypeInternal; -extern CCSUsrMsg_SendPlayerLoadoutDefaultTypeInternal _CCSUsrMsg_SendPlayerLoadout_default_instance_; -class CCSUsrMsg_SendPlayerLoadout_LoadoutItem; -struct CCSUsrMsg_SendPlayerLoadout_LoadoutItemDefaultTypeInternal; -extern CCSUsrMsg_SendPlayerLoadout_LoadoutItemDefaultTypeInternal _CCSUsrMsg_SendPlayerLoadout_LoadoutItem_default_instance_; -class CCSUsrMsg_ServerRankRevealAll; -struct CCSUsrMsg_ServerRankRevealAllDefaultTypeInternal; -extern CCSUsrMsg_ServerRankRevealAllDefaultTypeInternal _CCSUsrMsg_ServerRankRevealAll_default_instance_; -class CCSUsrMsg_ServerRankUpdate; -struct CCSUsrMsg_ServerRankUpdateDefaultTypeInternal; -extern CCSUsrMsg_ServerRankUpdateDefaultTypeInternal _CCSUsrMsg_ServerRankUpdate_default_instance_; -class CCSUsrMsg_ServerRankUpdate_RankUpdate; -struct CCSUsrMsg_ServerRankUpdate_RankUpdateDefaultTypeInternal; -extern CCSUsrMsg_ServerRankUpdate_RankUpdateDefaultTypeInternal _CCSUsrMsg_ServerRankUpdate_RankUpdate_default_instance_; -class CCSUsrMsg_Shake; -struct CCSUsrMsg_ShakeDefaultTypeInternal; -extern CCSUsrMsg_ShakeDefaultTypeInternal _CCSUsrMsg_Shake_default_instance_; -class CCSUsrMsg_ShootInfo; -struct CCSUsrMsg_ShootInfoDefaultTypeInternal; -extern CCSUsrMsg_ShootInfoDefaultTypeInternal _CCSUsrMsg_ShootInfo_default_instance_; -class CCSUsrMsg_ShowMenu; -struct CCSUsrMsg_ShowMenuDefaultTypeInternal; -extern CCSUsrMsg_ShowMenuDefaultTypeInternal _CCSUsrMsg_ShowMenu_default_instance_; -class CCSUsrMsg_StopSpectatorMode; -struct CCSUsrMsg_StopSpectatorModeDefaultTypeInternal; -extern CCSUsrMsg_StopSpectatorModeDefaultTypeInternal _CCSUsrMsg_StopSpectatorMode_default_instance_; -class CCSUsrMsg_SurvivalStats; -struct CCSUsrMsg_SurvivalStatsDefaultTypeInternal; -extern CCSUsrMsg_SurvivalStatsDefaultTypeInternal _CCSUsrMsg_SurvivalStats_default_instance_; -class CCSUsrMsg_SurvivalStats_Damage; -struct CCSUsrMsg_SurvivalStats_DamageDefaultTypeInternal; -extern CCSUsrMsg_SurvivalStats_DamageDefaultTypeInternal _CCSUsrMsg_SurvivalStats_Damage_default_instance_; -class CCSUsrMsg_SurvivalStats_Fact; -struct CCSUsrMsg_SurvivalStats_FactDefaultTypeInternal; -extern CCSUsrMsg_SurvivalStats_FactDefaultTypeInternal _CCSUsrMsg_SurvivalStats_Fact_default_instance_; -class CCSUsrMsg_SurvivalStats_Placement; -struct CCSUsrMsg_SurvivalStats_PlacementDefaultTypeInternal; -extern CCSUsrMsg_SurvivalStats_PlacementDefaultTypeInternal _CCSUsrMsg_SurvivalStats_Placement_default_instance_; -class CCSUsrMsg_Train; -struct CCSUsrMsg_TrainDefaultTypeInternal; -extern CCSUsrMsg_TrainDefaultTypeInternal _CCSUsrMsg_Train_default_instance_; -class CCSUsrMsg_UpdateScreenHealthBar; -struct CCSUsrMsg_UpdateScreenHealthBarDefaultTypeInternal; -extern CCSUsrMsg_UpdateScreenHealthBarDefaultTypeInternal _CCSUsrMsg_UpdateScreenHealthBar_default_instance_; -class CCSUsrMsg_VGUIMenu; -struct CCSUsrMsg_VGUIMenuDefaultTypeInternal; -extern CCSUsrMsg_VGUIMenuDefaultTypeInternal _CCSUsrMsg_VGUIMenu_default_instance_; -class CCSUsrMsg_VGUIMenu_Keys; -struct CCSUsrMsg_VGUIMenu_KeysDefaultTypeInternal; -extern CCSUsrMsg_VGUIMenu_KeysDefaultTypeInternal _CCSUsrMsg_VGUIMenu_Keys_default_instance_; -class CCSUsrMsg_VoiceMask; -struct CCSUsrMsg_VoiceMaskDefaultTypeInternal; -extern CCSUsrMsg_VoiceMaskDefaultTypeInternal _CCSUsrMsg_VoiceMask_default_instance_; -class CCSUsrMsg_VoiceMask_PlayerMask; -struct CCSUsrMsg_VoiceMask_PlayerMaskDefaultTypeInternal; -extern CCSUsrMsg_VoiceMask_PlayerMaskDefaultTypeInternal _CCSUsrMsg_VoiceMask_PlayerMask_default_instance_; -class CCSUsrMsg_VoteFailed; -struct CCSUsrMsg_VoteFailedDefaultTypeInternal; -extern CCSUsrMsg_VoteFailedDefaultTypeInternal _CCSUsrMsg_VoteFailed_default_instance_; -class CCSUsrMsg_VotePass; -struct CCSUsrMsg_VotePassDefaultTypeInternal; -extern CCSUsrMsg_VotePassDefaultTypeInternal _CCSUsrMsg_VotePass_default_instance_; -class CCSUsrMsg_VoteSetup; -struct CCSUsrMsg_VoteSetupDefaultTypeInternal; -extern CCSUsrMsg_VoteSetupDefaultTypeInternal _CCSUsrMsg_VoteSetup_default_instance_; -class CCSUsrMsg_VoteStart; -struct CCSUsrMsg_VoteStartDefaultTypeInternal; -extern CCSUsrMsg_VoteStartDefaultTypeInternal _CCSUsrMsg_VoteStart_default_instance_; -class CCSUsrMsg_WeaponSound; -struct CCSUsrMsg_WeaponSoundDefaultTypeInternal; -extern CCSUsrMsg_WeaponSoundDefaultTypeInternal _CCSUsrMsg_WeaponSound_default_instance_; -class CCSUsrMsg_XRankGet; -struct CCSUsrMsg_XRankGetDefaultTypeInternal; -extern CCSUsrMsg_XRankGetDefaultTypeInternal _CCSUsrMsg_XRankGet_default_instance_; -class CCSUsrMsg_XRankUpd; -struct CCSUsrMsg_XRankUpdDefaultTypeInternal; -extern CCSUsrMsg_XRankUpdDefaultTypeInternal _CCSUsrMsg_XRankUpd_default_instance_; -class CCSUsrMsg_XpUpdate; -struct CCSUsrMsg_XpUpdateDefaultTypeInternal; -extern CCSUsrMsg_XpUpdateDefaultTypeInternal _CCSUsrMsg_XpUpdate_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CCSUsrMsgPreMatchSayText* Arena::CreateMaybeMessage<::CCSUsrMsgPreMatchSayText>(Arena*); -template<> ::CCSUsrMsg_AchievementEvent* Arena::CreateMaybeMessage<::CCSUsrMsg_AchievementEvent>(Arena*); -template<> ::CCSUsrMsg_AdjustMoney* Arena::CreateMaybeMessage<::CCSUsrMsg_AdjustMoney>(Arena*); -template<> ::CCSUsrMsg_AmmoDenied* Arena::CreateMaybeMessage<::CCSUsrMsg_AmmoDenied>(Arena*); -template<> ::CCSUsrMsg_BarTime* Arena::CreateMaybeMessage<::CCSUsrMsg_BarTime>(Arena*); -template<> ::CCSUsrMsg_CallVoteFailed* Arena::CreateMaybeMessage<::CCSUsrMsg_CallVoteFailed>(Arena*); -template<> ::CCSUsrMsg_ClientInfo* Arena::CreateMaybeMessage<::CCSUsrMsg_ClientInfo>(Arena*); -template<> ::CCSUsrMsg_CloseCaption* Arena::CreateMaybeMessage<::CCSUsrMsg_CloseCaption>(Arena*); -template<> ::CCSUsrMsg_CloseCaptionDirect* Arena::CreateMaybeMessage<::CCSUsrMsg_CloseCaptionDirect>(Arena*); -template<> ::CCSUsrMsg_CounterStrafe* Arena::CreateMaybeMessage<::CCSUsrMsg_CounterStrafe>(Arena*); -template<> ::CCSUsrMsg_CurrentRoundOdds* Arena::CreateMaybeMessage<::CCSUsrMsg_CurrentRoundOdds>(Arena*); -template<> ::CCSUsrMsg_CurrentTimescale* Arena::CreateMaybeMessage<::CCSUsrMsg_CurrentTimescale>(Arena*); -template<> ::CCSUsrMsg_Damage* Arena::CreateMaybeMessage<::CCSUsrMsg_Damage>(Arena*); -template<> ::CCSUsrMsg_DamagePrediction* Arena::CreateMaybeMessage<::CCSUsrMsg_DamagePrediction>(Arena*); -template<> ::CCSUsrMsg_DeepStats* Arena::CreateMaybeMessage<::CCSUsrMsg_DeepStats>(Arena*); -template<> ::CCSUsrMsg_DesiredTimescale* Arena::CreateMaybeMessage<::CCSUsrMsg_DesiredTimescale>(Arena*); -template<> ::CCSUsrMsg_DisconnectToLobby* Arena::CreateMaybeMessage<::CCSUsrMsg_DisconnectToLobby>(Arena*); -template<> ::CCSUsrMsg_EndOfMatchAllPlayersData* Arena::CreateMaybeMessage<::CCSUsrMsg_EndOfMatchAllPlayersData>(Arena*); -template<> ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* Arena::CreateMaybeMessage<::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade>(Arena*); -template<> ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* Arena::CreateMaybeMessage<::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData>(Arena*); -template<> ::CCSUsrMsg_EntityOutlineHighlight* Arena::CreateMaybeMessage<::CCSUsrMsg_EntityOutlineHighlight>(Arena*); -template<> ::CCSUsrMsg_Fade* Arena::CreateMaybeMessage<::CCSUsrMsg_Fade>(Arena*); -template<> ::CCSUsrMsg_GameTitle* Arena::CreateMaybeMessage<::CCSUsrMsg_GameTitle>(Arena*); -template<> ::CCSUsrMsg_Geiger* Arena::CreateMaybeMessage<::CCSUsrMsg_Geiger>(Arena*); -template<> ::CCSUsrMsg_HintText* Arena::CreateMaybeMessage<::CCSUsrMsg_HintText>(Arena*); -template<> ::CCSUsrMsg_HudMsg* Arena::CreateMaybeMessage<::CCSUsrMsg_HudMsg>(Arena*); -template<> ::CCSUsrMsg_HudText* Arena::CreateMaybeMessage<::CCSUsrMsg_HudText>(Arena*); -template<> ::CCSUsrMsg_ItemDrop* Arena::CreateMaybeMessage<::CCSUsrMsg_ItemDrop>(Arena*); -template<> ::CCSUsrMsg_ItemPickup* Arena::CreateMaybeMessage<::CCSUsrMsg_ItemPickup>(Arena*); -template<> ::CCSUsrMsg_KeyHintText* Arena::CreateMaybeMessage<::CCSUsrMsg_KeyHintText>(Arena*); -template<> ::CCSUsrMsg_KillCam* Arena::CreateMaybeMessage<::CCSUsrMsg_KillCam>(Arena*); -template<> ::CCSUsrMsg_MarkAchievement* Arena::CreateMaybeMessage<::CCSUsrMsg_MarkAchievement>(Arena*); -template<> ::CCSUsrMsg_MatchEndConditions* Arena::CreateMaybeMessage<::CCSUsrMsg_MatchEndConditions>(Arena*); -template<> ::CCSUsrMsg_MatchStatsUpdate* Arena::CreateMaybeMessage<::CCSUsrMsg_MatchStatsUpdate>(Arena*); -template<> ::CCSUsrMsg_PlayerDecalDigitalSignature* Arena::CreateMaybeMessage<::CCSUsrMsg_PlayerDecalDigitalSignature>(Arena*); -template<> ::CCSUsrMsg_PlayerStatsUpdate* Arena::CreateMaybeMessage<::CCSUsrMsg_PlayerStatsUpdate>(Arena*); -template<> ::CCSUsrMsg_PlayerStatsUpdate_Stat* Arena::CreateMaybeMessage<::CCSUsrMsg_PlayerStatsUpdate_Stat>(Arena*); -template<> ::CCSUsrMsg_PostRoundDamageReport* Arena::CreateMaybeMessage<::CCSUsrMsg_PostRoundDamageReport>(Arena*); -template<> ::CCSUsrMsg_ProcessSpottedEntityUpdate* Arena::CreateMaybeMessage<::CCSUsrMsg_ProcessSpottedEntityUpdate>(Arena*); -template<> ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* Arena::CreateMaybeMessage<::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate>(Arena*); -template<> ::CCSUsrMsg_QuestProgress* Arena::CreateMaybeMessage<::CCSUsrMsg_QuestProgress>(Arena*); -template<> ::CCSUsrMsg_RadioText* Arena::CreateMaybeMessage<::CCSUsrMsg_RadioText>(Arena*); -template<> ::CCSUsrMsg_RawAudio* Arena::CreateMaybeMessage<::CCSUsrMsg_RawAudio>(Arena*); -template<> ::CCSUsrMsg_RecurringMissionSchema* Arena::CreateMaybeMessage<::CCSUsrMsg_RecurringMissionSchema>(Arena*); -template<> ::CCSUsrMsg_ReloadEffect* Arena::CreateMaybeMessage<::CCSUsrMsg_ReloadEffect>(Arena*); -template<> ::CCSUsrMsg_ReportHit* Arena::CreateMaybeMessage<::CCSUsrMsg_ReportHit>(Arena*); -template<> ::CCSUsrMsg_RequestState* Arena::CreateMaybeMessage<::CCSUsrMsg_RequestState>(Arena*); -template<> ::CCSUsrMsg_ResetHud* Arena::CreateMaybeMessage<::CCSUsrMsg_ResetHud>(Arena*); -template<> ::CCSUsrMsg_RoundBackupFilenames* Arena::CreateMaybeMessage<::CCSUsrMsg_RoundBackupFilenames>(Arena*); -template<> ::CCSUsrMsg_RoundEndReportData* Arena::CreateMaybeMessage<::CCSUsrMsg_RoundEndReportData>(Arena*); -template<> ::CCSUsrMsg_RoundEndReportData_InitialConditions* Arena::CreateMaybeMessage<::CCSUsrMsg_RoundEndReportData_InitialConditions>(Arena*); -template<> ::CCSUsrMsg_RoundEndReportData_RerEvent* Arena::CreateMaybeMessage<::CCSUsrMsg_RoundEndReportData_RerEvent>(Arena*); -template<> ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage* Arena::CreateMaybeMessage<::CCSUsrMsg_RoundEndReportData_RerEvent_Damage>(Arena*); -template<> ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* Arena::CreateMaybeMessage<::CCSUsrMsg_RoundEndReportData_RerEvent_Objective>(Arena*); -template<> ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* Arena::CreateMaybeMessage<::CCSUsrMsg_RoundEndReportData_RerEvent_Victim>(Arena*); -template<> ::CCSUsrMsg_Rumble* Arena::CreateMaybeMessage<::CCSUsrMsg_Rumble>(Arena*); -template<> ::CCSUsrMsg_SSUI* Arena::CreateMaybeMessage<::CCSUsrMsg_SSUI>(Arena*); -template<> ::CCSUsrMsg_ScoreLeaderboardData* Arena::CreateMaybeMessage<::CCSUsrMsg_ScoreLeaderboardData>(Arena*); -template<> ::CCSUsrMsg_SendAudio* Arena::CreateMaybeMessage<::CCSUsrMsg_SendAudio>(Arena*); -template<> ::CCSUsrMsg_SendLastKillerDamageToClient* Arena::CreateMaybeMessage<::CCSUsrMsg_SendLastKillerDamageToClient>(Arena*); -template<> ::CCSUsrMsg_SendPlayerItemDrops* Arena::CreateMaybeMessage<::CCSUsrMsg_SendPlayerItemDrops>(Arena*); -template<> ::CCSUsrMsg_SendPlayerItemFound* Arena::CreateMaybeMessage<::CCSUsrMsg_SendPlayerItemFound>(Arena*); -template<> ::CCSUsrMsg_SendPlayerLoadout* Arena::CreateMaybeMessage<::CCSUsrMsg_SendPlayerLoadout>(Arena*); -template<> ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem* Arena::CreateMaybeMessage<::CCSUsrMsg_SendPlayerLoadout_LoadoutItem>(Arena*); -template<> ::CCSUsrMsg_ServerRankRevealAll* Arena::CreateMaybeMessage<::CCSUsrMsg_ServerRankRevealAll>(Arena*); -template<> ::CCSUsrMsg_ServerRankUpdate* Arena::CreateMaybeMessage<::CCSUsrMsg_ServerRankUpdate>(Arena*); -template<> ::CCSUsrMsg_ServerRankUpdate_RankUpdate* Arena::CreateMaybeMessage<::CCSUsrMsg_ServerRankUpdate_RankUpdate>(Arena*); -template<> ::CCSUsrMsg_Shake* Arena::CreateMaybeMessage<::CCSUsrMsg_Shake>(Arena*); -template<> ::CCSUsrMsg_ShootInfo* Arena::CreateMaybeMessage<::CCSUsrMsg_ShootInfo>(Arena*); -template<> ::CCSUsrMsg_ShowMenu* Arena::CreateMaybeMessage<::CCSUsrMsg_ShowMenu>(Arena*); -template<> ::CCSUsrMsg_StopSpectatorMode* Arena::CreateMaybeMessage<::CCSUsrMsg_StopSpectatorMode>(Arena*); -template<> ::CCSUsrMsg_SurvivalStats* Arena::CreateMaybeMessage<::CCSUsrMsg_SurvivalStats>(Arena*); -template<> ::CCSUsrMsg_SurvivalStats_Damage* Arena::CreateMaybeMessage<::CCSUsrMsg_SurvivalStats_Damage>(Arena*); -template<> ::CCSUsrMsg_SurvivalStats_Fact* Arena::CreateMaybeMessage<::CCSUsrMsg_SurvivalStats_Fact>(Arena*); -template<> ::CCSUsrMsg_SurvivalStats_Placement* Arena::CreateMaybeMessage<::CCSUsrMsg_SurvivalStats_Placement>(Arena*); -template<> ::CCSUsrMsg_Train* Arena::CreateMaybeMessage<::CCSUsrMsg_Train>(Arena*); -template<> ::CCSUsrMsg_UpdateScreenHealthBar* Arena::CreateMaybeMessage<::CCSUsrMsg_UpdateScreenHealthBar>(Arena*); -template<> ::CCSUsrMsg_VGUIMenu* Arena::CreateMaybeMessage<::CCSUsrMsg_VGUIMenu>(Arena*); -template<> ::CCSUsrMsg_VGUIMenu_Keys* Arena::CreateMaybeMessage<::CCSUsrMsg_VGUIMenu_Keys>(Arena*); -template<> ::CCSUsrMsg_VoiceMask* Arena::CreateMaybeMessage<::CCSUsrMsg_VoiceMask>(Arena*); -template<> ::CCSUsrMsg_VoiceMask_PlayerMask* Arena::CreateMaybeMessage<::CCSUsrMsg_VoiceMask_PlayerMask>(Arena*); -template<> ::CCSUsrMsg_VoteFailed* Arena::CreateMaybeMessage<::CCSUsrMsg_VoteFailed>(Arena*); -template<> ::CCSUsrMsg_VotePass* Arena::CreateMaybeMessage<::CCSUsrMsg_VotePass>(Arena*); -template<> ::CCSUsrMsg_VoteSetup* Arena::CreateMaybeMessage<::CCSUsrMsg_VoteSetup>(Arena*); -template<> ::CCSUsrMsg_VoteStart* Arena::CreateMaybeMessage<::CCSUsrMsg_VoteStart>(Arena*); -template<> ::CCSUsrMsg_WeaponSound* Arena::CreateMaybeMessage<::CCSUsrMsg_WeaponSound>(Arena*); -template<> ::CCSUsrMsg_XRankGet* Arena::CreateMaybeMessage<::CCSUsrMsg_XRankGet>(Arena*); -template<> ::CCSUsrMsg_XRankUpd* Arena::CreateMaybeMessage<::CCSUsrMsg_XRankUpd>(Arena*); -template<> ::CCSUsrMsg_XpUpdate* Arena::CreateMaybeMessage<::CCSUsrMsg_XpUpdate>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum ECstrike15UserMessages : int { - CS_UM_VGUIMenu = 301, - CS_UM_Geiger = 302, - CS_UM_Train = 303, - CS_UM_HudText = 304, - CS_UM_SayText = 305, - CS_UM_SayText2 = 306, - CS_UM_TextMsg = 307, - CS_UM_HudMsg = 308, - CS_UM_ResetHud = 309, - CS_UM_GameTitle = 310, - CS_UM_Shake = 312, - CS_UM_Fade = 313, - CS_UM_Rumble = 314, - CS_UM_CloseCaption = 315, - CS_UM_CloseCaptionDirect = 316, - CS_UM_SendAudio = 317, - CS_UM_RawAudio = 318, - CS_UM_VoiceMask = 319, - CS_UM_RequestState = 320, - CS_UM_Damage = 321, - CS_UM_RadioText = 322, - CS_UM_HintText = 323, - CS_UM_KeyHintText = 324, - CS_UM_ProcessSpottedEntityUpdate = 325, - CS_UM_ReloadEffect = 326, - CS_UM_AdjustMoney = 327, - CS_UM_UpdateTeamMoney = 328, - CS_UM_StopSpectatorMode = 329, - CS_UM_KillCam = 330, - CS_UM_DesiredTimescale = 331, - CS_UM_CurrentTimescale = 332, - CS_UM_AchievementEvent = 333, - CS_UM_MatchEndConditions = 334, - CS_UM_DisconnectToLobby = 335, - CS_UM_PlayerStatsUpdate = 336, - CS_UM_ClientInfo = 339, - CS_UM_XRankGet = 340, - CS_UM_XRankUpd = 341, - CS_UM_CallVoteFailed = 345, - CS_UM_VoteStart = 346, - CS_UM_VotePass = 347, - CS_UM_VoteFailed = 348, - CS_UM_VoteSetup = 349, - CS_UM_ServerRankRevealAll = 350, - CS_UM_SendLastKillerDamageToClient = 351, - CS_UM_ServerRankUpdate = 352, - CS_UM_ItemPickup = 353, - CS_UM_ShowMenu = 354, - CS_UM_BarTime = 355, - CS_UM_AmmoDenied = 356, - CS_UM_MarkAchievement = 357, - CS_UM_MatchStatsUpdate = 358, - CS_UM_ItemDrop = 359, - CS_UM_SendPlayerItemDrops = 361, - CS_UM_RoundBackupFilenames = 362, - CS_UM_SendPlayerItemFound = 363, - CS_UM_ReportHit = 364, - CS_UM_XpUpdate = 365, - CS_UM_QuestProgress = 366, - CS_UM_ScoreLeaderboardData = 367, - CS_UM_PlayerDecalDigitalSignature = 368, - CS_UM_WeaponSound = 369, - CS_UM_UpdateScreenHealthBar = 370, - CS_UM_EntityOutlineHighlight = 371, - CS_UM_SSUI = 372, - CS_UM_SurvivalStats = 373, - CS_UM_DisconnectToLobby2 = 374, - CS_UM_EndOfMatchAllPlayersData = 375, - CS_UM_PostRoundDamageReport = 376, - CS_UM_RoundEndReportData = 379, - CS_UM_CurrentRoundOdds = 380, - CS_UM_DeepStats = 381, - CS_UM_ShootInfo = 383, - CS_UM_CounterStrafe = 385, - CS_UM_DamagePrediction = 386, - CS_UM_RecurringMissionSchema = 387, - CS_UM_SendPlayerLoadout = 388 -}; -bool ECstrike15UserMessages_IsValid(int value); -constexpr ECstrike15UserMessages ECstrike15UserMessages_MIN = CS_UM_VGUIMenu; -constexpr ECstrike15UserMessages ECstrike15UserMessages_MAX = CS_UM_SendPlayerLoadout; -constexpr int ECstrike15UserMessages_ARRAYSIZE = ECstrike15UserMessages_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECstrike15UserMessages_descriptor(); -template -inline const std::string& ECstrike15UserMessages_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ECstrike15UserMessages_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ECstrike15UserMessages_descriptor(), enum_t_value); -} -inline bool ECstrike15UserMessages_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ECstrike15UserMessages* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ECstrike15UserMessages_descriptor(), name, value); -} -enum ECSUsrMsg_DisconnectToLobby_Action : int { - k_ECSUsrMsg_DisconnectToLobby_Action_Default = 0, - k_ECSUsrMsg_DisconnectToLobby_Action_GoQueue = 1 -}; -bool ECSUsrMsg_DisconnectToLobby_Action_IsValid(int value); -constexpr ECSUsrMsg_DisconnectToLobby_Action ECSUsrMsg_DisconnectToLobby_Action_MIN = k_ECSUsrMsg_DisconnectToLobby_Action_Default; -constexpr ECSUsrMsg_DisconnectToLobby_Action ECSUsrMsg_DisconnectToLobby_Action_MAX = k_ECSUsrMsg_DisconnectToLobby_Action_GoQueue; -constexpr int ECSUsrMsg_DisconnectToLobby_Action_ARRAYSIZE = ECSUsrMsg_DisconnectToLobby_Action_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECSUsrMsg_DisconnectToLobby_Action_descriptor(); -template -inline const std::string& ECSUsrMsg_DisconnectToLobby_Action_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ECSUsrMsg_DisconnectToLobby_Action_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ECSUsrMsg_DisconnectToLobby_Action_descriptor(), enum_t_value); -} -inline bool ECSUsrMsg_DisconnectToLobby_Action_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ECSUsrMsg_DisconnectToLobby_Action* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ECSUsrMsg_DisconnectToLobby_Action_descriptor(), name, value); -} -// =================================================================== - -class CCSUsrMsg_VGUIMenu_Keys : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_VGUIMenu.Keys) */ { - public: - inline CCSUsrMsg_VGUIMenu_Keys() : CCSUsrMsg_VGUIMenu_Keys(nullptr) {} - ~CCSUsrMsg_VGUIMenu_Keys() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_VGUIMenu_Keys(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_VGUIMenu_Keys(const CCSUsrMsg_VGUIMenu_Keys& from); - CCSUsrMsg_VGUIMenu_Keys(CCSUsrMsg_VGUIMenu_Keys&& from) noexcept - : CCSUsrMsg_VGUIMenu_Keys() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_VGUIMenu_Keys& operator=(const CCSUsrMsg_VGUIMenu_Keys& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_VGUIMenu_Keys& operator=(CCSUsrMsg_VGUIMenu_Keys&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_VGUIMenu_Keys& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_VGUIMenu_Keys* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_VGUIMenu_Keys_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CCSUsrMsg_VGUIMenu_Keys& a, CCSUsrMsg_VGUIMenu_Keys& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_VGUIMenu_Keys* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_VGUIMenu_Keys* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_VGUIMenu_Keys* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_VGUIMenu_Keys& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_VGUIMenu_Keys& from) { - CCSUsrMsg_VGUIMenu_Keys::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_VGUIMenu_Keys* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_VGUIMenu.Keys"; - } - protected: - explicit CCSUsrMsg_VGUIMenu_Keys(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 1, - kValueFieldNumber = 2, - }; - // optional string name = 1; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional string value = 2; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - const std::string& value() const; - template - void set_value(ArgT0&& arg0, ArgT... args); - std::string* mutable_value(); - PROTOBUF_NODISCARD std::string* release_value(); - void set_allocated_value(std::string* value); - private: - const std::string& _internal_value() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); - std::string* _internal_mutable_value(); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_VGUIMenu.Keys) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_VGUIMenu : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_VGUIMenu) */ { - public: - inline CCSUsrMsg_VGUIMenu() : CCSUsrMsg_VGUIMenu(nullptr) {} - ~CCSUsrMsg_VGUIMenu() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_VGUIMenu(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_VGUIMenu(const CCSUsrMsg_VGUIMenu& from); - CCSUsrMsg_VGUIMenu(CCSUsrMsg_VGUIMenu&& from) noexcept - : CCSUsrMsg_VGUIMenu() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_VGUIMenu& operator=(const CCSUsrMsg_VGUIMenu& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_VGUIMenu& operator=(CCSUsrMsg_VGUIMenu&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_VGUIMenu& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_VGUIMenu* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_VGUIMenu_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CCSUsrMsg_VGUIMenu& a, CCSUsrMsg_VGUIMenu& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_VGUIMenu* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_VGUIMenu* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_VGUIMenu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_VGUIMenu& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_VGUIMenu& from) { - CCSUsrMsg_VGUIMenu::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_VGUIMenu* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_VGUIMenu"; - } - protected: - explicit CCSUsrMsg_VGUIMenu(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CCSUsrMsg_VGUIMenu_Keys Keys; - - // accessors ------------------------------------------------------- - - enum : int { - kKeysFieldNumber = 3, - kNameFieldNumber = 1, - kShowFieldNumber = 2, - }; - // repeated .CCSUsrMsg_VGUIMenu.Keys keys = 3; - int keys_size() const; - private: - int _internal_keys_size() const; - public: - void clear_keys(); - ::CCSUsrMsg_VGUIMenu_Keys* mutable_keys(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VGUIMenu_Keys >* - mutable_keys(); - private: - const ::CCSUsrMsg_VGUIMenu_Keys& _internal_keys(int index) const; - ::CCSUsrMsg_VGUIMenu_Keys* _internal_add_keys(); - public: - const ::CCSUsrMsg_VGUIMenu_Keys& keys(int index) const; - ::CCSUsrMsg_VGUIMenu_Keys* add_keys(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VGUIMenu_Keys >& - keys() const; - - // optional string name = 1; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional bool show = 2; - bool has_show() const; - private: - bool _internal_has_show() const; - public: - void clear_show(); - bool show() const; - void set_show(bool value); - private: - bool _internal_show() const; - void _internal_set_show(bool value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_VGUIMenu) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VGUIMenu_Keys > keys_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - bool show_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_Geiger : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_Geiger) */ { - public: - inline CCSUsrMsg_Geiger() : CCSUsrMsg_Geiger(nullptr) {} - ~CCSUsrMsg_Geiger() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_Geiger(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_Geiger(const CCSUsrMsg_Geiger& from); - CCSUsrMsg_Geiger(CCSUsrMsg_Geiger&& from) noexcept - : CCSUsrMsg_Geiger() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_Geiger& operator=(const CCSUsrMsg_Geiger& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_Geiger& operator=(CCSUsrMsg_Geiger&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_Geiger& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_Geiger* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_Geiger_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CCSUsrMsg_Geiger& a, CCSUsrMsg_Geiger& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_Geiger* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_Geiger* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_Geiger* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_Geiger& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_Geiger& from) { - CCSUsrMsg_Geiger::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_Geiger* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_Geiger"; - } - protected: - explicit CCSUsrMsg_Geiger(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRangeFieldNumber = 1, - }; - // optional int32 range = 1; - bool has_range() const; - private: - bool _internal_has_range() const; - public: - void clear_range(); - int32_t range() const; - void set_range(int32_t value); - private: - int32_t _internal_range() const; - void _internal_set_range(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_Geiger) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t range_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_Train : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_Train) */ { - public: - inline CCSUsrMsg_Train() : CCSUsrMsg_Train(nullptr) {} - ~CCSUsrMsg_Train() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_Train(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_Train(const CCSUsrMsg_Train& from); - CCSUsrMsg_Train(CCSUsrMsg_Train&& from) noexcept - : CCSUsrMsg_Train() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_Train& operator=(const CCSUsrMsg_Train& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_Train& operator=(CCSUsrMsg_Train&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_Train& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_Train* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_Train_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CCSUsrMsg_Train& a, CCSUsrMsg_Train& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_Train* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_Train* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_Train* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_Train& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_Train& from) { - CCSUsrMsg_Train::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_Train* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_Train"; - } - protected: - explicit CCSUsrMsg_Train(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTrainFieldNumber = 1, - }; - // optional int32 train = 1; - bool has_train() const; - private: - bool _internal_has_train() const; - public: - void clear_train(); - int32_t train() const; - void set_train(int32_t value); - private: - int32_t _internal_train() const; - void _internal_set_train(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_Train) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t train_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_HudText : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_HudText) */ { - public: - inline CCSUsrMsg_HudText() : CCSUsrMsg_HudText(nullptr) {} - ~CCSUsrMsg_HudText() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_HudText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_HudText(const CCSUsrMsg_HudText& from); - CCSUsrMsg_HudText(CCSUsrMsg_HudText&& from) noexcept - : CCSUsrMsg_HudText() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_HudText& operator=(const CCSUsrMsg_HudText& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_HudText& operator=(CCSUsrMsg_HudText&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_HudText& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_HudText* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_HudText_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CCSUsrMsg_HudText& a, CCSUsrMsg_HudText& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_HudText* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_HudText* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_HudText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_HudText& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_HudText& from) { - CCSUsrMsg_HudText::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_HudText* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_HudText"; - } - protected: - explicit CCSUsrMsg_HudText(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTextFieldNumber = 1, - }; - // optional string text = 1; - bool has_text() const; - private: - bool _internal_has_text() const; - public: - void clear_text(); - const std::string& text() const; - template - void set_text(ArgT0&& arg0, ArgT... args); - std::string* mutable_text(); - PROTOBUF_NODISCARD std::string* release_text(); - void set_allocated_text(std::string* text); - private: - const std::string& _internal_text() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value); - std::string* _internal_mutable_text(); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_HudText) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_HudMsg : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_HudMsg) */ { - public: - inline CCSUsrMsg_HudMsg() : CCSUsrMsg_HudMsg(nullptr) {} - ~CCSUsrMsg_HudMsg() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_HudMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_HudMsg(const CCSUsrMsg_HudMsg& from); - CCSUsrMsg_HudMsg(CCSUsrMsg_HudMsg&& from) noexcept - : CCSUsrMsg_HudMsg() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_HudMsg& operator=(const CCSUsrMsg_HudMsg& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_HudMsg& operator=(CCSUsrMsg_HudMsg&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_HudMsg& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_HudMsg* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_HudMsg_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CCSUsrMsg_HudMsg& a, CCSUsrMsg_HudMsg& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_HudMsg* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_HudMsg* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_HudMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_HudMsg& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_HudMsg& from) { - CCSUsrMsg_HudMsg::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_HudMsg* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_HudMsg"; - } - protected: - explicit CCSUsrMsg_HudMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTextFieldNumber = 11, - kPosFieldNumber = 2, - kClr1FieldNumber = 3, - kClr2FieldNumber = 4, - kChannelFieldNumber = 1, - kEffectFieldNumber = 5, - kFadeInTimeFieldNumber = 6, - kFadeOutTimeFieldNumber = 7, - kHoldTimeFieldNumber = 9, - kFxTimeFieldNumber = 10, - }; - // optional string text = 11; - bool has_text() const; - private: - bool _internal_has_text() const; - public: - void clear_text(); - const std::string& text() const; - template - void set_text(ArgT0&& arg0, ArgT... args); - std::string* mutable_text(); - PROTOBUF_NODISCARD std::string* release_text(); - void set_allocated_text(std::string* text); - private: - const std::string& _internal_text() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value); - std::string* _internal_mutable_text(); - public: - - // optional .CMsgVector2D pos = 2; - bool has_pos() const; - private: - bool _internal_has_pos() const; - public: - void clear_pos(); - const ::CMsgVector2D& pos() const; - PROTOBUF_NODISCARD ::CMsgVector2D* release_pos(); - ::CMsgVector2D* mutable_pos(); - void set_allocated_pos(::CMsgVector2D* pos); - private: - const ::CMsgVector2D& _internal_pos() const; - ::CMsgVector2D* _internal_mutable_pos(); - public: - void unsafe_arena_set_allocated_pos( - ::CMsgVector2D* pos); - ::CMsgVector2D* unsafe_arena_release_pos(); - - // optional .CMsgRGBA clr1 = 3; - bool has_clr1() const; - private: - bool _internal_has_clr1() const; - public: - void clear_clr1(); - const ::CMsgRGBA& clr1() const; - PROTOBUF_NODISCARD ::CMsgRGBA* release_clr1(); - ::CMsgRGBA* mutable_clr1(); - void set_allocated_clr1(::CMsgRGBA* clr1); - private: - const ::CMsgRGBA& _internal_clr1() const; - ::CMsgRGBA* _internal_mutable_clr1(); - public: - void unsafe_arena_set_allocated_clr1( - ::CMsgRGBA* clr1); - ::CMsgRGBA* unsafe_arena_release_clr1(); - - // optional .CMsgRGBA clr2 = 4; - bool has_clr2() const; - private: - bool _internal_has_clr2() const; - public: - void clear_clr2(); - const ::CMsgRGBA& clr2() const; - PROTOBUF_NODISCARD ::CMsgRGBA* release_clr2(); - ::CMsgRGBA* mutable_clr2(); - void set_allocated_clr2(::CMsgRGBA* clr2); - private: - const ::CMsgRGBA& _internal_clr2() const; - ::CMsgRGBA* _internal_mutable_clr2(); - public: - void unsafe_arena_set_allocated_clr2( - ::CMsgRGBA* clr2); - ::CMsgRGBA* unsafe_arena_release_clr2(); - - // optional int32 channel = 1; - bool has_channel() const; - private: - bool _internal_has_channel() const; - public: - void clear_channel(); - int32_t channel() const; - void set_channel(int32_t value); - private: - int32_t _internal_channel() const; - void _internal_set_channel(int32_t value); - public: - - // optional int32 effect = 5; - bool has_effect() const; - private: - bool _internal_has_effect() const; - public: - void clear_effect(); - int32_t effect() const; - void set_effect(int32_t value); - private: - int32_t _internal_effect() const; - void _internal_set_effect(int32_t value); - public: - - // optional float fade_in_time = 6; - bool has_fade_in_time() const; - private: - bool _internal_has_fade_in_time() const; - public: - void clear_fade_in_time(); - float fade_in_time() const; - void set_fade_in_time(float value); - private: - float _internal_fade_in_time() const; - void _internal_set_fade_in_time(float value); - public: - - // optional float fade_out_time = 7; - bool has_fade_out_time() const; - private: - bool _internal_has_fade_out_time() const; - public: - void clear_fade_out_time(); - float fade_out_time() const; - void set_fade_out_time(float value); - private: - float _internal_fade_out_time() const; - void _internal_set_fade_out_time(float value); - public: - - // optional float hold_time = 9; - bool has_hold_time() const; - private: - bool _internal_has_hold_time() const; - public: - void clear_hold_time(); - float hold_time() const; - void set_hold_time(float value); - private: - float _internal_hold_time() const; - void _internal_set_hold_time(float value); - public: - - // optional float fx_time = 10; - bool has_fx_time() const; - private: - bool _internal_has_fx_time() const; - public: - void clear_fx_time(); - float fx_time() const; - void set_fx_time(float value); - private: - float _internal_fx_time() const; - void _internal_set_fx_time(float value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_HudMsg) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; - ::CMsgVector2D* pos_; - ::CMsgRGBA* clr1_; - ::CMsgRGBA* clr2_; - int32_t channel_; - int32_t effect_; - float fade_in_time_; - float fade_out_time_; - float hold_time_; - float fx_time_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_Shake : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_Shake) */ { - public: - inline CCSUsrMsg_Shake() : CCSUsrMsg_Shake(nullptr) {} - ~CCSUsrMsg_Shake() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_Shake(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_Shake(const CCSUsrMsg_Shake& from); - CCSUsrMsg_Shake(CCSUsrMsg_Shake&& from) noexcept - : CCSUsrMsg_Shake() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_Shake& operator=(const CCSUsrMsg_Shake& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_Shake& operator=(CCSUsrMsg_Shake&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_Shake& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_Shake* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_Shake_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CCSUsrMsg_Shake& a, CCSUsrMsg_Shake& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_Shake* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_Shake* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_Shake* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_Shake& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_Shake& from) { - CCSUsrMsg_Shake::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_Shake* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_Shake"; - } - protected: - explicit CCSUsrMsg_Shake(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCommandFieldNumber = 1, - kLocalAmplitudeFieldNumber = 2, - kFrequencyFieldNumber = 3, - kDurationFieldNumber = 4, - }; - // optional int32 command = 1; - bool has_command() const; - private: - bool _internal_has_command() const; - public: - void clear_command(); - int32_t command() const; - void set_command(int32_t value); - private: - int32_t _internal_command() const; - void _internal_set_command(int32_t value); - public: - - // optional float local_amplitude = 2; - bool has_local_amplitude() const; - private: - bool _internal_has_local_amplitude() const; - public: - void clear_local_amplitude(); - float local_amplitude() const; - void set_local_amplitude(float value); - private: - float _internal_local_amplitude() const; - void _internal_set_local_amplitude(float value); - public: - - // optional float frequency = 3; - bool has_frequency() const; - private: - bool _internal_has_frequency() const; - public: - void clear_frequency(); - float frequency() const; - void set_frequency(float value); - private: - float _internal_frequency() const; - void _internal_set_frequency(float value); - public: - - // optional float duration = 4; - bool has_duration() const; - private: - bool _internal_has_duration() const; - public: - void clear_duration(); - float duration() const; - void set_duration(float value); - private: - float _internal_duration() const; - void _internal_set_duration(float value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_Shake) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t command_; - float local_amplitude_; - float frequency_; - float duration_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_Fade : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_Fade) */ { - public: - inline CCSUsrMsg_Fade() : CCSUsrMsg_Fade(nullptr) {} - ~CCSUsrMsg_Fade() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_Fade(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_Fade(const CCSUsrMsg_Fade& from); - CCSUsrMsg_Fade(CCSUsrMsg_Fade&& from) noexcept - : CCSUsrMsg_Fade() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_Fade& operator=(const CCSUsrMsg_Fade& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_Fade& operator=(CCSUsrMsg_Fade&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_Fade& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_Fade* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_Fade_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(CCSUsrMsg_Fade& a, CCSUsrMsg_Fade& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_Fade* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_Fade* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_Fade* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_Fade& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_Fade& from) { - CCSUsrMsg_Fade::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_Fade* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_Fade"; - } - protected: - explicit CCSUsrMsg_Fade(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kClrFieldNumber = 4, - kDurationFieldNumber = 1, - kHoldTimeFieldNumber = 2, - kFlagsFieldNumber = 3, - }; - // optional .CMsgRGBA clr = 4; - bool has_clr() const; - private: - bool _internal_has_clr() const; - public: - void clear_clr(); - const ::CMsgRGBA& clr() const; - PROTOBUF_NODISCARD ::CMsgRGBA* release_clr(); - ::CMsgRGBA* mutable_clr(); - void set_allocated_clr(::CMsgRGBA* clr); - private: - const ::CMsgRGBA& _internal_clr() const; - ::CMsgRGBA* _internal_mutable_clr(); - public: - void unsafe_arena_set_allocated_clr( - ::CMsgRGBA* clr); - ::CMsgRGBA* unsafe_arena_release_clr(); - - // optional int32 duration = 1; - bool has_duration() const; - private: - bool _internal_has_duration() const; - public: - void clear_duration(); - int32_t duration() const; - void set_duration(int32_t value); - private: - int32_t _internal_duration() const; - void _internal_set_duration(int32_t value); - public: - - // optional int32 hold_time = 2; - bool has_hold_time() const; - private: - bool _internal_has_hold_time() const; - public: - void clear_hold_time(); - int32_t hold_time() const; - void set_hold_time(int32_t value); - private: - int32_t _internal_hold_time() const; - void _internal_set_hold_time(int32_t value); - public: - - // optional int32 flags = 3; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - int32_t flags() const; - void set_flags(int32_t value); - private: - int32_t _internal_flags() const; - void _internal_set_flags(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_Fade) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgRGBA* clr_; - int32_t duration_; - int32_t hold_time_; - int32_t flags_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_Rumble : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_Rumble) */ { - public: - inline CCSUsrMsg_Rumble() : CCSUsrMsg_Rumble(nullptr) {} - ~CCSUsrMsg_Rumble() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_Rumble(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_Rumble(const CCSUsrMsg_Rumble& from); - CCSUsrMsg_Rumble(CCSUsrMsg_Rumble&& from) noexcept - : CCSUsrMsg_Rumble() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_Rumble& operator=(const CCSUsrMsg_Rumble& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_Rumble& operator=(CCSUsrMsg_Rumble&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_Rumble& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_Rumble* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_Rumble_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(CCSUsrMsg_Rumble& a, CCSUsrMsg_Rumble& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_Rumble* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_Rumble* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_Rumble* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_Rumble& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_Rumble& from) { - CCSUsrMsg_Rumble::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_Rumble* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_Rumble"; - } - protected: - explicit CCSUsrMsg_Rumble(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIndexFieldNumber = 1, - kDataFieldNumber = 2, - kFlagsFieldNumber = 3, - }; - // optional int32 index = 1; - bool has_index() const; - private: - bool _internal_has_index() const; - public: - void clear_index(); - int32_t index() const; - void set_index(int32_t value); - private: - int32_t _internal_index() const; - void _internal_set_index(int32_t value); - public: - - // optional int32 data = 2; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - int32_t data() const; - void set_data(int32_t value); - private: - int32_t _internal_data() const; - void _internal_set_data(int32_t value); - public: - - // optional int32 flags = 3; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - int32_t flags() const; - void set_flags(int32_t value); - private: - int32_t _internal_flags() const; - void _internal_set_flags(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_Rumble) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t index_; - int32_t data_; - int32_t flags_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_CloseCaption : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_CloseCaption) */ { - public: - inline CCSUsrMsg_CloseCaption() : CCSUsrMsg_CloseCaption(nullptr) {} - ~CCSUsrMsg_CloseCaption() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_CloseCaption(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_CloseCaption(const CCSUsrMsg_CloseCaption& from); - CCSUsrMsg_CloseCaption(CCSUsrMsg_CloseCaption&& from) noexcept - : CCSUsrMsg_CloseCaption() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_CloseCaption& operator=(const CCSUsrMsg_CloseCaption& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_CloseCaption& operator=(CCSUsrMsg_CloseCaption&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_CloseCaption& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_CloseCaption* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_CloseCaption_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(CCSUsrMsg_CloseCaption& a, CCSUsrMsg_CloseCaption& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_CloseCaption* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_CloseCaption* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_CloseCaption* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_CloseCaption& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_CloseCaption& from) { - CCSUsrMsg_CloseCaption::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_CloseCaption* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_CloseCaption"; - } - protected: - explicit CCSUsrMsg_CloseCaption(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCctokenFieldNumber = 4, - kHashFieldNumber = 1, - kDurationFieldNumber = 2, - kFromPlayerFieldNumber = 3, - }; - // optional string cctoken = 4; - bool has_cctoken() const; - private: - bool _internal_has_cctoken() const; - public: - void clear_cctoken(); - const std::string& cctoken() const; - template - void set_cctoken(ArgT0&& arg0, ArgT... args); - std::string* mutable_cctoken(); - PROTOBUF_NODISCARD std::string* release_cctoken(); - void set_allocated_cctoken(std::string* cctoken); - private: - const std::string& _internal_cctoken() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_cctoken(const std::string& value); - std::string* _internal_mutable_cctoken(); - public: - - // optional uint32 hash = 1; - bool has_hash() const; - private: - bool _internal_has_hash() const; - public: - void clear_hash(); - uint32_t hash() const; - void set_hash(uint32_t value); - private: - uint32_t _internal_hash() const; - void _internal_set_hash(uint32_t value); - public: - - // optional int32 duration = 2; - bool has_duration() const; - private: - bool _internal_has_duration() const; - public: - void clear_duration(); - int32_t duration() const; - void set_duration(int32_t value); - private: - int32_t _internal_duration() const; - void _internal_set_duration(int32_t value); - public: - - // optional bool from_player = 3; - bool has_from_player() const; - private: - bool _internal_has_from_player() const; - public: - void clear_from_player(); - bool from_player() const; - void set_from_player(bool value); - private: - bool _internal_from_player() const; - void _internal_set_from_player(bool value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_CloseCaption) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cctoken_; - uint32_t hash_; - int32_t duration_; - bool from_player_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_CloseCaptionDirect : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_CloseCaptionDirect) */ { - public: - inline CCSUsrMsg_CloseCaptionDirect() : CCSUsrMsg_CloseCaptionDirect(nullptr) {} - ~CCSUsrMsg_CloseCaptionDirect() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_CloseCaptionDirect(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_CloseCaptionDirect(const CCSUsrMsg_CloseCaptionDirect& from); - CCSUsrMsg_CloseCaptionDirect(CCSUsrMsg_CloseCaptionDirect&& from) noexcept - : CCSUsrMsg_CloseCaptionDirect() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_CloseCaptionDirect& operator=(const CCSUsrMsg_CloseCaptionDirect& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_CloseCaptionDirect& operator=(CCSUsrMsg_CloseCaptionDirect&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_CloseCaptionDirect& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_CloseCaptionDirect* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_CloseCaptionDirect_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(CCSUsrMsg_CloseCaptionDirect& a, CCSUsrMsg_CloseCaptionDirect& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_CloseCaptionDirect* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_CloseCaptionDirect* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_CloseCaptionDirect* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_CloseCaptionDirect& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_CloseCaptionDirect& from) { - CCSUsrMsg_CloseCaptionDirect::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_CloseCaptionDirect* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_CloseCaptionDirect"; - } - protected: - explicit CCSUsrMsg_CloseCaptionDirect(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kHashFieldNumber = 1, - kDurationFieldNumber = 2, - kFromPlayerFieldNumber = 3, - }; - // optional uint32 hash = 1; - bool has_hash() const; - private: - bool _internal_has_hash() const; - public: - void clear_hash(); - uint32_t hash() const; - void set_hash(uint32_t value); - private: - uint32_t _internal_hash() const; - void _internal_set_hash(uint32_t value); - public: - - // optional int32 duration = 2; - bool has_duration() const; - private: - bool _internal_has_duration() const; - public: - void clear_duration(); - int32_t duration() const; - void set_duration(int32_t value); - private: - int32_t _internal_duration() const; - void _internal_set_duration(int32_t value); - public: - - // optional bool from_player = 3; - bool has_from_player() const; - private: - bool _internal_has_from_player() const; - public: - void clear_from_player(); - bool from_player() const; - void set_from_player(bool value); - private: - bool _internal_from_player() const; - void _internal_set_from_player(bool value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_CloseCaptionDirect) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t hash_; - int32_t duration_; - bool from_player_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_SendAudio : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SendAudio) */ { - public: - inline CCSUsrMsg_SendAudio() : CCSUsrMsg_SendAudio(nullptr) {} - ~CCSUsrMsg_SendAudio() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SendAudio(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_SendAudio(const CCSUsrMsg_SendAudio& from); - CCSUsrMsg_SendAudio(CCSUsrMsg_SendAudio&& from) noexcept - : CCSUsrMsg_SendAudio() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_SendAudio& operator=(const CCSUsrMsg_SendAudio& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_SendAudio& operator=(CCSUsrMsg_SendAudio&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_SendAudio& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_SendAudio* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_SendAudio_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(CCSUsrMsg_SendAudio& a, CCSUsrMsg_SendAudio& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_SendAudio* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_SendAudio* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_SendAudio* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_SendAudio& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_SendAudio& from) { - CCSUsrMsg_SendAudio::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_SendAudio* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_SendAudio"; - } - protected: - explicit CCSUsrMsg_SendAudio(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRadioSoundFieldNumber = 1, - }; - // optional string radio_sound = 1; - bool has_radio_sound() const; - private: - bool _internal_has_radio_sound() const; - public: - void clear_radio_sound(); - const std::string& radio_sound() const; - template - void set_radio_sound(ArgT0&& arg0, ArgT... args); - std::string* mutable_radio_sound(); - PROTOBUF_NODISCARD std::string* release_radio_sound(); - void set_allocated_radio_sound(std::string* radio_sound); - private: - const std::string& _internal_radio_sound() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_radio_sound(const std::string& value); - std::string* _internal_mutable_radio_sound(); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_SendAudio) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr radio_sound_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_RawAudio : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RawAudio) */ { - public: - inline CCSUsrMsg_RawAudio() : CCSUsrMsg_RawAudio(nullptr) {} - ~CCSUsrMsg_RawAudio() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RawAudio(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_RawAudio(const CCSUsrMsg_RawAudio& from); - CCSUsrMsg_RawAudio(CCSUsrMsg_RawAudio&& from) noexcept - : CCSUsrMsg_RawAudio() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_RawAudio& operator=(const CCSUsrMsg_RawAudio& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_RawAudio& operator=(CCSUsrMsg_RawAudio&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_RawAudio& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_RawAudio* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_RawAudio_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(CCSUsrMsg_RawAudio& a, CCSUsrMsg_RawAudio& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_RawAudio* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_RawAudio* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_RawAudio* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_RawAudio& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_RawAudio& from) { - CCSUsrMsg_RawAudio::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_RawAudio* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_RawAudio"; - } - protected: - explicit CCSUsrMsg_RawAudio(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kVoiceFilenameFieldNumber = 4, - kPitchFieldNumber = 1, - kDurationFieldNumber = 3, - kEntidxFieldNumber = 2, - }; - // optional string voice_filename = 4; - bool has_voice_filename() const; - private: - bool _internal_has_voice_filename() const; - public: - void clear_voice_filename(); - const std::string& voice_filename() const; - template - void set_voice_filename(ArgT0&& arg0, ArgT... args); - std::string* mutable_voice_filename(); - PROTOBUF_NODISCARD std::string* release_voice_filename(); - void set_allocated_voice_filename(std::string* voice_filename); - private: - const std::string& _internal_voice_filename() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_voice_filename(const std::string& value); - std::string* _internal_mutable_voice_filename(); - public: - - // optional int32 pitch = 1; - bool has_pitch() const; - private: - bool _internal_has_pitch() const; - public: - void clear_pitch(); - int32_t pitch() const; - void set_pitch(int32_t value); - private: - int32_t _internal_pitch() const; - void _internal_set_pitch(int32_t value); - public: - - // optional float duration = 3; - bool has_duration() const; - private: - bool _internal_has_duration() const; - public: - void clear_duration(); - float duration() const; - void set_duration(float value); - private: - float _internal_duration() const; - void _internal_set_duration(float value); - public: - - // optional int32 entidx = 2 [default = -1]; - bool has_entidx() const; - private: - bool _internal_has_entidx() const; - public: - void clear_entidx(); - int32_t entidx() const; - void set_entidx(int32_t value); - private: - int32_t _internal_entidx() const; - void _internal_set_entidx(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_RawAudio) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr voice_filename_; - int32_t pitch_; - float duration_; - int32_t entidx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_VoiceMask_PlayerMask : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_VoiceMask.PlayerMask) */ { - public: - inline CCSUsrMsg_VoiceMask_PlayerMask() : CCSUsrMsg_VoiceMask_PlayerMask(nullptr) {} - ~CCSUsrMsg_VoiceMask_PlayerMask() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_VoiceMask_PlayerMask(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_VoiceMask_PlayerMask(const CCSUsrMsg_VoiceMask_PlayerMask& from); - CCSUsrMsg_VoiceMask_PlayerMask(CCSUsrMsg_VoiceMask_PlayerMask&& from) noexcept - : CCSUsrMsg_VoiceMask_PlayerMask() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_VoiceMask_PlayerMask& operator=(const CCSUsrMsg_VoiceMask_PlayerMask& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_VoiceMask_PlayerMask& operator=(CCSUsrMsg_VoiceMask_PlayerMask&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_VoiceMask_PlayerMask& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_VoiceMask_PlayerMask* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_VoiceMask_PlayerMask_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - friend void swap(CCSUsrMsg_VoiceMask_PlayerMask& a, CCSUsrMsg_VoiceMask_PlayerMask& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_VoiceMask_PlayerMask* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_VoiceMask_PlayerMask* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_VoiceMask_PlayerMask* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_VoiceMask_PlayerMask& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_VoiceMask_PlayerMask& from) { - CCSUsrMsg_VoiceMask_PlayerMask::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_VoiceMask_PlayerMask* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_VoiceMask.PlayerMask"; - } - protected: - explicit CCSUsrMsg_VoiceMask_PlayerMask(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGameRulesMaskFieldNumber = 1, - kBanMasksFieldNumber = 2, - }; - // optional int32 game_rules_mask = 1; - bool has_game_rules_mask() const; - private: - bool _internal_has_game_rules_mask() const; - public: - void clear_game_rules_mask(); - int32_t game_rules_mask() const; - void set_game_rules_mask(int32_t value); - private: - int32_t _internal_game_rules_mask() const; - void _internal_set_game_rules_mask(int32_t value); - public: - - // optional int32 ban_masks = 2; - bool has_ban_masks() const; - private: - bool _internal_has_ban_masks() const; - public: - void clear_ban_masks(); - int32_t ban_masks() const; - void set_ban_masks(int32_t value); - private: - int32_t _internal_ban_masks() const; - void _internal_set_ban_masks(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_VoiceMask.PlayerMask) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t game_rules_mask_; - int32_t ban_masks_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_VoiceMask : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_VoiceMask) */ { - public: - inline CCSUsrMsg_VoiceMask() : CCSUsrMsg_VoiceMask(nullptr) {} - ~CCSUsrMsg_VoiceMask() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_VoiceMask(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_VoiceMask(const CCSUsrMsg_VoiceMask& from); - CCSUsrMsg_VoiceMask(CCSUsrMsg_VoiceMask&& from) noexcept - : CCSUsrMsg_VoiceMask() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_VoiceMask& operator=(const CCSUsrMsg_VoiceMask& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_VoiceMask& operator=(CCSUsrMsg_VoiceMask&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_VoiceMask& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_VoiceMask* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_VoiceMask_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - friend void swap(CCSUsrMsg_VoiceMask& a, CCSUsrMsg_VoiceMask& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_VoiceMask* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_VoiceMask* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_VoiceMask* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_VoiceMask& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_VoiceMask& from) { - CCSUsrMsg_VoiceMask::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_VoiceMask* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_VoiceMask"; - } - protected: - explicit CCSUsrMsg_VoiceMask(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CCSUsrMsg_VoiceMask_PlayerMask PlayerMask; - - // accessors ------------------------------------------------------- - - enum : int { - kPlayerMasksFieldNumber = 1, - kPlayerModEnableFieldNumber = 2, - }; - // repeated .CCSUsrMsg_VoiceMask.PlayerMask player_masks = 1; - int player_masks_size() const; - private: - int _internal_player_masks_size() const; - public: - void clear_player_masks(); - ::CCSUsrMsg_VoiceMask_PlayerMask* mutable_player_masks(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VoiceMask_PlayerMask >* - mutable_player_masks(); - private: - const ::CCSUsrMsg_VoiceMask_PlayerMask& _internal_player_masks(int index) const; - ::CCSUsrMsg_VoiceMask_PlayerMask* _internal_add_player_masks(); - public: - const ::CCSUsrMsg_VoiceMask_PlayerMask& player_masks(int index) const; - ::CCSUsrMsg_VoiceMask_PlayerMask* add_player_masks(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VoiceMask_PlayerMask >& - player_masks() const; - - // optional bool player_mod_enable = 2; - bool has_player_mod_enable() const; - private: - bool _internal_has_player_mod_enable() const; - public: - void clear_player_mod_enable(); - bool player_mod_enable() const; - void set_player_mod_enable(bool value); - private: - bool _internal_player_mod_enable() const; - void _internal_set_player_mod_enable(bool value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_VoiceMask) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VoiceMask_PlayerMask > player_masks_; - bool player_mod_enable_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_Damage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_Damage) */ { - public: - inline CCSUsrMsg_Damage() : CCSUsrMsg_Damage(nullptr) {} - ~CCSUsrMsg_Damage() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_Damage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_Damage(const CCSUsrMsg_Damage& from); - CCSUsrMsg_Damage(CCSUsrMsg_Damage&& from) noexcept - : CCSUsrMsg_Damage() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_Damage& operator=(const CCSUsrMsg_Damage& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_Damage& operator=(CCSUsrMsg_Damage&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_Damage& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_Damage* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_Damage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - friend void swap(CCSUsrMsg_Damage& a, CCSUsrMsg_Damage& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_Damage* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_Damage* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_Damage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_Damage& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_Damage& from) { - CCSUsrMsg_Damage::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_Damage* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_Damage"; - } - protected: - explicit CCSUsrMsg_Damage(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kInflictorWorldPosFieldNumber = 2, - kAmountFieldNumber = 1, - kVictimEntindexFieldNumber = 3, - }; - // optional .CMsgVector inflictor_world_pos = 2; - bool has_inflictor_world_pos() const; - private: - bool _internal_has_inflictor_world_pos() const; - public: - void clear_inflictor_world_pos(); - const ::CMsgVector& inflictor_world_pos() const; - PROTOBUF_NODISCARD ::CMsgVector* release_inflictor_world_pos(); - ::CMsgVector* mutable_inflictor_world_pos(); - void set_allocated_inflictor_world_pos(::CMsgVector* inflictor_world_pos); - private: - const ::CMsgVector& _internal_inflictor_world_pos() const; - ::CMsgVector* _internal_mutable_inflictor_world_pos(); - public: - void unsafe_arena_set_allocated_inflictor_world_pos( - ::CMsgVector* inflictor_world_pos); - ::CMsgVector* unsafe_arena_release_inflictor_world_pos(); - - // optional int32 amount = 1; - bool has_amount() const; - private: - bool _internal_has_amount() const; - public: - void clear_amount(); - int32_t amount() const; - void set_amount(int32_t value); - private: - int32_t _internal_amount() const; - void _internal_set_amount(int32_t value); - public: - - // optional int32 victim_entindex = 3 [default = -1]; - bool has_victim_entindex() const; - private: - bool _internal_has_victim_entindex() const; - public: - void clear_victim_entindex(); - int32_t victim_entindex() const; - void set_victim_entindex(int32_t value); - private: - int32_t _internal_victim_entindex() const; - void _internal_set_victim_entindex(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_Damage) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* inflictor_world_pos_; - int32_t amount_; - int32_t victim_entindex_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_RadioText : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RadioText) */ { - public: - inline CCSUsrMsg_RadioText() : CCSUsrMsg_RadioText(nullptr) {} - ~CCSUsrMsg_RadioText() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RadioText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_RadioText(const CCSUsrMsg_RadioText& from); - CCSUsrMsg_RadioText(CCSUsrMsg_RadioText&& from) noexcept - : CCSUsrMsg_RadioText() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_RadioText& operator=(const CCSUsrMsg_RadioText& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_RadioText& operator=(CCSUsrMsg_RadioText&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_RadioText& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_RadioText* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_RadioText_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - friend void swap(CCSUsrMsg_RadioText& a, CCSUsrMsg_RadioText& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_RadioText* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_RadioText* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_RadioText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_RadioText& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_RadioText& from) { - CCSUsrMsg_RadioText::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_RadioText* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_RadioText"; - } - protected: - explicit CCSUsrMsg_RadioText(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kParamsFieldNumber = 4, - kMsgNameFieldNumber = 3, - kMsgDstFieldNumber = 1, - kClientFieldNumber = 2, - }; - // repeated string params = 4; - int params_size() const; - private: - int _internal_params_size() const; - public: - void clear_params(); - const std::string& params(int index) const; - std::string* mutable_params(int index); - void set_params(int index, const std::string& value); - void set_params(int index, std::string&& value); - void set_params(int index, const char* value); - void set_params(int index, const char* value, size_t size); - std::string* add_params(); - void add_params(const std::string& value); - void add_params(std::string&& value); - void add_params(const char* value); - void add_params(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& params() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_params(); - private: - const std::string& _internal_params(int index) const; - std::string* _internal_add_params(); - public: - - // optional string msg_name = 3; - bool has_msg_name() const; - private: - bool _internal_has_msg_name() const; - public: - void clear_msg_name(); - const std::string& msg_name() const; - template - void set_msg_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_msg_name(); - PROTOBUF_NODISCARD std::string* release_msg_name(); - void set_allocated_msg_name(std::string* msg_name); - private: - const std::string& _internal_msg_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_msg_name(const std::string& value); - std::string* _internal_mutable_msg_name(); - public: - - // optional int32 msg_dst = 1; - bool has_msg_dst() const; - private: - bool _internal_has_msg_dst() const; - public: - void clear_msg_dst(); - int32_t msg_dst() const; - void set_msg_dst(int32_t value); - private: - int32_t _internal_msg_dst() const; - void _internal_set_msg_dst(int32_t value); - public: - - // optional int32 client = 2 [default = -1]; - bool has_client() const; - private: - bool _internal_has_client() const; - public: - void clear_client(); - int32_t client() const; - void set_client(int32_t value); - private: - int32_t _internal_client() const; - void _internal_set_client(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_RadioText) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField params_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr msg_name_; - int32_t msg_dst_; - int32_t client_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_HintText : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_HintText) */ { - public: - inline CCSUsrMsg_HintText() : CCSUsrMsg_HintText(nullptr) {} - ~CCSUsrMsg_HintText() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_HintText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_HintText(const CCSUsrMsg_HintText& from); - CCSUsrMsg_HintText(CCSUsrMsg_HintText&& from) noexcept - : CCSUsrMsg_HintText() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_HintText& operator=(const CCSUsrMsg_HintText& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_HintText& operator=(CCSUsrMsg_HintText&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_HintText& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_HintText* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_HintText_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - friend void swap(CCSUsrMsg_HintText& a, CCSUsrMsg_HintText& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_HintText* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_HintText* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_HintText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_HintText& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_HintText& from) { - CCSUsrMsg_HintText::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_HintText* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_HintText"; - } - protected: - explicit CCSUsrMsg_HintText(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMessageFieldNumber = 1, - }; - // optional string message = 1; - bool has_message() const; - private: - bool _internal_has_message() const; - public: - void clear_message(); - const std::string& message() const; - template - void set_message(ArgT0&& arg0, ArgT... args); - std::string* mutable_message(); - PROTOBUF_NODISCARD std::string* release_message(); - void set_allocated_message(std::string* message); - private: - const std::string& _internal_message() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value); - std::string* _internal_mutable_message(); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_HintText) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_KeyHintText : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_KeyHintText) */ { - public: - inline CCSUsrMsg_KeyHintText() : CCSUsrMsg_KeyHintText(nullptr) {} - ~CCSUsrMsg_KeyHintText() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_KeyHintText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_KeyHintText(const CCSUsrMsg_KeyHintText& from); - CCSUsrMsg_KeyHintText(CCSUsrMsg_KeyHintText&& from) noexcept - : CCSUsrMsg_KeyHintText() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_KeyHintText& operator=(const CCSUsrMsg_KeyHintText& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_KeyHintText& operator=(CCSUsrMsg_KeyHintText&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_KeyHintText& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_KeyHintText* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_KeyHintText_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - friend void swap(CCSUsrMsg_KeyHintText& a, CCSUsrMsg_KeyHintText& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_KeyHintText* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_KeyHintText* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_KeyHintText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_KeyHintText& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_KeyHintText& from) { - CCSUsrMsg_KeyHintText::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_KeyHintText* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_KeyHintText"; - } - protected: - explicit CCSUsrMsg_KeyHintText(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMessagesFieldNumber = 1, - }; - // repeated string messages = 1; - int messages_size() const; - private: - int _internal_messages_size() const; - public: - void clear_messages(); - const std::string& messages(int index) const; - std::string* mutable_messages(int index); - void set_messages(int index, const std::string& value); - void set_messages(int index, std::string&& value); - void set_messages(int index, const char* value); - void set_messages(int index, const char* value, size_t size); - std::string* add_messages(); - void add_messages(const std::string& value); - void add_messages(std::string&& value); - void add_messages(const char* value); - void add_messages(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& messages() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_messages(); - private: - const std::string& _internal_messages(int index) const; - std::string* _internal_add_messages(); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_KeyHintText) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField messages_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) */ { - public: - inline CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate() : CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate(nullptr) {} - ~CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate(const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& from); - CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate&& from) noexcept - : CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& operator=(const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& operator=(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - friend void swap(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& a, CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& from) { - CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate"; - } - protected: - explicit CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kClassIdFieldNumber = 2, - kOriginXFieldNumber = 3, - kOriginYFieldNumber = 4, - kOriginZFieldNumber = 5, - kAngleYFieldNumber = 6, - kDefuserFieldNumber = 7, - kPlayerHasDefuserFieldNumber = 8, - kPlayerHasC4FieldNumber = 9, - kEntityIdxFieldNumber = 1, - }; - // optional int32 class_id = 2; - bool has_class_id() const; - private: - bool _internal_has_class_id() const; - public: - void clear_class_id(); - int32_t class_id() const; - void set_class_id(int32_t value); - private: - int32_t _internal_class_id() const; - void _internal_set_class_id(int32_t value); - public: - - // optional int32 origin_x = 3; - bool has_origin_x() const; - private: - bool _internal_has_origin_x() const; - public: - void clear_origin_x(); - int32_t origin_x() const; - void set_origin_x(int32_t value); - private: - int32_t _internal_origin_x() const; - void _internal_set_origin_x(int32_t value); - public: - - // optional int32 origin_y = 4; - bool has_origin_y() const; - private: - bool _internal_has_origin_y() const; - public: - void clear_origin_y(); - int32_t origin_y() const; - void set_origin_y(int32_t value); - private: - int32_t _internal_origin_y() const; - void _internal_set_origin_y(int32_t value); - public: - - // optional int32 origin_z = 5; - bool has_origin_z() const; - private: - bool _internal_has_origin_z() const; - public: - void clear_origin_z(); - int32_t origin_z() const; - void set_origin_z(int32_t value); - private: - int32_t _internal_origin_z() const; - void _internal_set_origin_z(int32_t value); - public: - - // optional int32 angle_y = 6; - bool has_angle_y() const; - private: - bool _internal_has_angle_y() const; - public: - void clear_angle_y(); - int32_t angle_y() const; - void set_angle_y(int32_t value); - private: - int32_t _internal_angle_y() const; - void _internal_set_angle_y(int32_t value); - public: - - // optional bool defuser = 7; - bool has_defuser() const; - private: - bool _internal_has_defuser() const; - public: - void clear_defuser(); - bool defuser() const; - void set_defuser(bool value); - private: - bool _internal_defuser() const; - void _internal_set_defuser(bool value); - public: - - // optional bool player_has_defuser = 8; - bool has_player_has_defuser() const; - private: - bool _internal_has_player_has_defuser() const; - public: - void clear_player_has_defuser(); - bool player_has_defuser() const; - void set_player_has_defuser(bool value); - private: - bool _internal_player_has_defuser() const; - void _internal_set_player_has_defuser(bool value); - public: - - // optional bool player_has_c4 = 9; - bool has_player_has_c4() const; - private: - bool _internal_has_player_has_c4() const; - public: - void clear_player_has_c4(); - bool player_has_c4() const; - void set_player_has_c4(bool value); - private: - bool _internal_player_has_c4() const; - void _internal_set_player_has_c4(bool value); - public: - - // optional int32 entity_idx = 1 [default = -1]; - bool has_entity_idx() const; - private: - bool _internal_has_entity_idx() const; - public: - void clear_entity_idx(); - int32_t entity_idx() const; - void set_entity_idx(int32_t value); - private: - int32_t _internal_entity_idx() const; - void _internal_set_entity_idx(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t class_id_; - int32_t origin_x_; - int32_t origin_y_; - int32_t origin_z_; - int32_t angle_y_; - bool defuser_; - bool player_has_defuser_; - bool player_has_c4_; - int32_t entity_idx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_ProcessSpottedEntityUpdate : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ProcessSpottedEntityUpdate) */ { - public: - inline CCSUsrMsg_ProcessSpottedEntityUpdate() : CCSUsrMsg_ProcessSpottedEntityUpdate(nullptr) {} - ~CCSUsrMsg_ProcessSpottedEntityUpdate() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ProcessSpottedEntityUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_ProcessSpottedEntityUpdate(const CCSUsrMsg_ProcessSpottedEntityUpdate& from); - CCSUsrMsg_ProcessSpottedEntityUpdate(CCSUsrMsg_ProcessSpottedEntityUpdate&& from) noexcept - : CCSUsrMsg_ProcessSpottedEntityUpdate() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_ProcessSpottedEntityUpdate& operator=(const CCSUsrMsg_ProcessSpottedEntityUpdate& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_ProcessSpottedEntityUpdate& operator=(CCSUsrMsg_ProcessSpottedEntityUpdate&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_ProcessSpottedEntityUpdate& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_ProcessSpottedEntityUpdate* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_ProcessSpottedEntityUpdate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 20; - - friend void swap(CCSUsrMsg_ProcessSpottedEntityUpdate& a, CCSUsrMsg_ProcessSpottedEntityUpdate& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_ProcessSpottedEntityUpdate* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_ProcessSpottedEntityUpdate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_ProcessSpottedEntityUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_ProcessSpottedEntityUpdate& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_ProcessSpottedEntityUpdate& from) { - CCSUsrMsg_ProcessSpottedEntityUpdate::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_ProcessSpottedEntityUpdate* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_ProcessSpottedEntityUpdate"; - } - protected: - explicit CCSUsrMsg_ProcessSpottedEntityUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate SpottedEntityUpdate; - - // accessors ------------------------------------------------------- - - enum : int { - kEntityUpdatesFieldNumber = 2, - kNewUpdateFieldNumber = 1, - }; - // repeated .CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate entity_updates = 2; - int entity_updates_size() const; - private: - int _internal_entity_updates_size() const; - public: - void clear_entity_updates(); - ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* mutable_entity_updates(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate >* - mutable_entity_updates(); - private: - const ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& _internal_entity_updates(int index) const; - ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* _internal_add_entity_updates(); - public: - const ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& entity_updates(int index) const; - ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* add_entity_updates(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate >& - entity_updates() const; - - // optional bool new_update = 1; - bool has_new_update() const; - private: - bool _internal_has_new_update() const; - public: - void clear_new_update(); - bool new_update() const; - void set_new_update(bool value); - private: - bool _internal_new_update() const; - void _internal_set_new_update(bool value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_ProcessSpottedEntityUpdate) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate > entity_updates_; - bool new_update_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_SendPlayerItemDrops : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SendPlayerItemDrops) */ { - public: - inline CCSUsrMsg_SendPlayerItemDrops() : CCSUsrMsg_SendPlayerItemDrops(nullptr) {} - ~CCSUsrMsg_SendPlayerItemDrops() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerItemDrops(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_SendPlayerItemDrops(const CCSUsrMsg_SendPlayerItemDrops& from); - CCSUsrMsg_SendPlayerItemDrops(CCSUsrMsg_SendPlayerItemDrops&& from) noexcept - : CCSUsrMsg_SendPlayerItemDrops() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_SendPlayerItemDrops& operator=(const CCSUsrMsg_SendPlayerItemDrops& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_SendPlayerItemDrops& operator=(CCSUsrMsg_SendPlayerItemDrops&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_SendPlayerItemDrops& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_SendPlayerItemDrops* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_SendPlayerItemDrops_default_instance_); - } - static constexpr int kIndexInFileMessages = - 21; - - friend void swap(CCSUsrMsg_SendPlayerItemDrops& a, CCSUsrMsg_SendPlayerItemDrops& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_SendPlayerItemDrops* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_SendPlayerItemDrops* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_SendPlayerItemDrops* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_SendPlayerItemDrops& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_SendPlayerItemDrops& from) { - CCSUsrMsg_SendPlayerItemDrops::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_SendPlayerItemDrops* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_SendPlayerItemDrops"; - } - protected: - explicit CCSUsrMsg_SendPlayerItemDrops(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEntityUpdatesFieldNumber = 1, - }; - // repeated .CEconItemPreviewDataBlock entity_updates = 1; - int entity_updates_size() const; - private: - int _internal_entity_updates_size() const; - public: - void clear_entity_updates(); - ::CEconItemPreviewDataBlock* mutable_entity_updates(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock >* - mutable_entity_updates(); - private: - const ::CEconItemPreviewDataBlock& _internal_entity_updates(int index) const; - ::CEconItemPreviewDataBlock* _internal_add_entity_updates(); - public: - const ::CEconItemPreviewDataBlock& entity_updates(int index) const; - ::CEconItemPreviewDataBlock* add_entity_updates(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock >& - entity_updates() const; - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_SendPlayerItemDrops) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock > entity_updates_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_SendPlayerItemFound : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SendPlayerItemFound) */ { - public: - inline CCSUsrMsg_SendPlayerItemFound() : CCSUsrMsg_SendPlayerItemFound(nullptr) {} - ~CCSUsrMsg_SendPlayerItemFound() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerItemFound(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_SendPlayerItemFound(const CCSUsrMsg_SendPlayerItemFound& from); - CCSUsrMsg_SendPlayerItemFound(CCSUsrMsg_SendPlayerItemFound&& from) noexcept - : CCSUsrMsg_SendPlayerItemFound() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_SendPlayerItemFound& operator=(const CCSUsrMsg_SendPlayerItemFound& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_SendPlayerItemFound& operator=(CCSUsrMsg_SendPlayerItemFound&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_SendPlayerItemFound& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_SendPlayerItemFound* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_SendPlayerItemFound_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - friend void swap(CCSUsrMsg_SendPlayerItemFound& a, CCSUsrMsg_SendPlayerItemFound& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_SendPlayerItemFound* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_SendPlayerItemFound* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_SendPlayerItemFound* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_SendPlayerItemFound& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_SendPlayerItemFound& from) { - CCSUsrMsg_SendPlayerItemFound::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_SendPlayerItemFound* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_SendPlayerItemFound"; - } - protected: - explicit CCSUsrMsg_SendPlayerItemFound(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIteminfoFieldNumber = 1, - kPlayerslotFieldNumber = 2, - }; - // optional .CEconItemPreviewDataBlock iteminfo = 1; - bool has_iteminfo() const; - private: - bool _internal_has_iteminfo() const; - public: - void clear_iteminfo(); - const ::CEconItemPreviewDataBlock& iteminfo() const; - PROTOBUF_NODISCARD ::CEconItemPreviewDataBlock* release_iteminfo(); - ::CEconItemPreviewDataBlock* mutable_iteminfo(); - void set_allocated_iteminfo(::CEconItemPreviewDataBlock* iteminfo); - private: - const ::CEconItemPreviewDataBlock& _internal_iteminfo() const; - ::CEconItemPreviewDataBlock* _internal_mutable_iteminfo(); - public: - void unsafe_arena_set_allocated_iteminfo( - ::CEconItemPreviewDataBlock* iteminfo); - ::CEconItemPreviewDataBlock* unsafe_arena_release_iteminfo(); - - // optional int32 playerslot = 2 [default = -1]; - bool has_playerslot() const; - private: - bool _internal_has_playerslot() const; - public: - void clear_playerslot(); - int32_t playerslot() const; - void set_playerslot(int32_t value); - private: - int32_t _internal_playerslot() const; - void _internal_set_playerslot(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_SendPlayerItemFound) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CEconItemPreviewDataBlock* iteminfo_; - int32_t playerslot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_ReloadEffect : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ReloadEffect) */ { - public: - inline CCSUsrMsg_ReloadEffect() : CCSUsrMsg_ReloadEffect(nullptr) {} - ~CCSUsrMsg_ReloadEffect() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ReloadEffect(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_ReloadEffect(const CCSUsrMsg_ReloadEffect& from); - CCSUsrMsg_ReloadEffect(CCSUsrMsg_ReloadEffect&& from) noexcept - : CCSUsrMsg_ReloadEffect() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_ReloadEffect& operator=(const CCSUsrMsg_ReloadEffect& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_ReloadEffect& operator=(CCSUsrMsg_ReloadEffect&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_ReloadEffect& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_ReloadEffect* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_ReloadEffect_default_instance_); - } - static constexpr int kIndexInFileMessages = - 23; - - friend void swap(CCSUsrMsg_ReloadEffect& a, CCSUsrMsg_ReloadEffect& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_ReloadEffect* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_ReloadEffect* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_ReloadEffect* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_ReloadEffect& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_ReloadEffect& from) { - CCSUsrMsg_ReloadEffect::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_ReloadEffect* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_ReloadEffect"; - } - protected: - explicit CCSUsrMsg_ReloadEffect(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kActanimFieldNumber = 2, - kOriginXFieldNumber = 3, - kOriginYFieldNumber = 4, - kOriginZFieldNumber = 5, - kEntidxFieldNumber = 1, - }; - // optional int32 actanim = 2; - bool has_actanim() const; - private: - bool _internal_has_actanim() const; - public: - void clear_actanim(); - int32_t actanim() const; - void set_actanim(int32_t value); - private: - int32_t _internal_actanim() const; - void _internal_set_actanim(int32_t value); - public: - - // optional float origin_x = 3; - bool has_origin_x() const; - private: - bool _internal_has_origin_x() const; - public: - void clear_origin_x(); - float origin_x() const; - void set_origin_x(float value); - private: - float _internal_origin_x() const; - void _internal_set_origin_x(float value); - public: - - // optional float origin_y = 4; - bool has_origin_y() const; - private: - bool _internal_has_origin_y() const; - public: - void clear_origin_y(); - float origin_y() const; - void set_origin_y(float value); - private: - float _internal_origin_y() const; - void _internal_set_origin_y(float value); - public: - - // optional float origin_z = 5; - bool has_origin_z() const; - private: - bool _internal_has_origin_z() const; - public: - void clear_origin_z(); - float origin_z() const; - void set_origin_z(float value); - private: - float _internal_origin_z() const; - void _internal_set_origin_z(float value); - public: - - // optional int32 entidx = 1 [default = -1]; - bool has_entidx() const; - private: - bool _internal_has_entidx() const; - public: - void clear_entidx(); - int32_t entidx() const; - void set_entidx(int32_t value); - private: - int32_t _internal_entidx() const; - void _internal_set_entidx(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_ReloadEffect) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t actanim_; - float origin_x_; - float origin_y_; - float origin_z_; - int32_t entidx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_WeaponSound : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_WeaponSound) */ { - public: - inline CCSUsrMsg_WeaponSound() : CCSUsrMsg_WeaponSound(nullptr) {} - ~CCSUsrMsg_WeaponSound() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_WeaponSound(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_WeaponSound(const CCSUsrMsg_WeaponSound& from); - CCSUsrMsg_WeaponSound(CCSUsrMsg_WeaponSound&& from) noexcept - : CCSUsrMsg_WeaponSound() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_WeaponSound& operator=(const CCSUsrMsg_WeaponSound& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_WeaponSound& operator=(CCSUsrMsg_WeaponSound&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_WeaponSound& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_WeaponSound* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_WeaponSound_default_instance_); - } - static constexpr int kIndexInFileMessages = - 24; - - friend void swap(CCSUsrMsg_WeaponSound& a, CCSUsrMsg_WeaponSound& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_WeaponSound* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_WeaponSound* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_WeaponSound* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_WeaponSound& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_WeaponSound& from) { - CCSUsrMsg_WeaponSound::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_WeaponSound* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_WeaponSound"; - } - protected: - explicit CCSUsrMsg_WeaponSound(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSoundFieldNumber = 5, - kOriginXFieldNumber = 2, - kOriginYFieldNumber = 3, - kOriginZFieldNumber = 4, - kGameTimestampFieldNumber = 6, - kSourceSoundscapeidFieldNumber = 7, - kEntidxFieldNumber = 1, - }; - // optional string sound = 5; - bool has_sound() const; - private: - bool _internal_has_sound() const; - public: - void clear_sound(); - const std::string& sound() const; - template - void set_sound(ArgT0&& arg0, ArgT... args); - std::string* mutable_sound(); - PROTOBUF_NODISCARD std::string* release_sound(); - void set_allocated_sound(std::string* sound); - private: - const std::string& _internal_sound() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_sound(const std::string& value); - std::string* _internal_mutable_sound(); - public: - - // optional float origin_x = 2; - bool has_origin_x() const; - private: - bool _internal_has_origin_x() const; - public: - void clear_origin_x(); - float origin_x() const; - void set_origin_x(float value); - private: - float _internal_origin_x() const; - void _internal_set_origin_x(float value); - public: - - // optional float origin_y = 3; - bool has_origin_y() const; - private: - bool _internal_has_origin_y() const; - public: - void clear_origin_y(); - float origin_y() const; - void set_origin_y(float value); - private: - float _internal_origin_y() const; - void _internal_set_origin_y(float value); - public: - - // optional float origin_z = 4; - bool has_origin_z() const; - private: - bool _internal_has_origin_z() const; - public: - void clear_origin_z(); - float origin_z() const; - void set_origin_z(float value); - private: - float _internal_origin_z() const; - void _internal_set_origin_z(float value); - public: - - // optional float game_timestamp = 6; - bool has_game_timestamp() const; - private: - bool _internal_has_game_timestamp() const; - public: - void clear_game_timestamp(); - float game_timestamp() const; - void set_game_timestamp(float value); - private: - float _internal_game_timestamp() const; - void _internal_set_game_timestamp(float value); - public: - - // optional fixed32 source_soundscapeid = 7; - bool has_source_soundscapeid() const; - private: - bool _internal_has_source_soundscapeid() const; - public: - void clear_source_soundscapeid(); - uint32_t source_soundscapeid() const; - void set_source_soundscapeid(uint32_t value); - private: - uint32_t _internal_source_soundscapeid() const; - void _internal_set_source_soundscapeid(uint32_t value); - public: - - // optional int32 entidx = 1 [default = -1]; - bool has_entidx() const; - private: - bool _internal_has_entidx() const; - public: - void clear_entidx(); - int32_t entidx() const; - void set_entidx(int32_t value); - private: - int32_t _internal_entidx() const; - void _internal_set_entidx(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_WeaponSound) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sound_; - float origin_x_; - float origin_y_; - float origin_z_; - float game_timestamp_; - uint32_t source_soundscapeid_; - int32_t entidx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_UpdateScreenHealthBar : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_UpdateScreenHealthBar) */ { - public: - inline CCSUsrMsg_UpdateScreenHealthBar() : CCSUsrMsg_UpdateScreenHealthBar(nullptr) {} - ~CCSUsrMsg_UpdateScreenHealthBar() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_UpdateScreenHealthBar(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_UpdateScreenHealthBar(const CCSUsrMsg_UpdateScreenHealthBar& from); - CCSUsrMsg_UpdateScreenHealthBar(CCSUsrMsg_UpdateScreenHealthBar&& from) noexcept - : CCSUsrMsg_UpdateScreenHealthBar() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_UpdateScreenHealthBar& operator=(const CCSUsrMsg_UpdateScreenHealthBar& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_UpdateScreenHealthBar& operator=(CCSUsrMsg_UpdateScreenHealthBar&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_UpdateScreenHealthBar& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_UpdateScreenHealthBar* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_UpdateScreenHealthBar_default_instance_); - } - static constexpr int kIndexInFileMessages = - 25; - - friend void swap(CCSUsrMsg_UpdateScreenHealthBar& a, CCSUsrMsg_UpdateScreenHealthBar& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_UpdateScreenHealthBar* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_UpdateScreenHealthBar* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_UpdateScreenHealthBar* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_UpdateScreenHealthBar& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_UpdateScreenHealthBar& from) { - CCSUsrMsg_UpdateScreenHealthBar::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_UpdateScreenHealthBar* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_UpdateScreenHealthBar"; - } - protected: - explicit CCSUsrMsg_UpdateScreenHealthBar(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kHealthratioOldFieldNumber = 2, - kHealthratioNewFieldNumber = 3, - kStyleFieldNumber = 4, - kEntidxFieldNumber = 1, - }; - // optional float healthratio_old = 2; - bool has_healthratio_old() const; - private: - bool _internal_has_healthratio_old() const; - public: - void clear_healthratio_old(); - float healthratio_old() const; - void set_healthratio_old(float value); - private: - float _internal_healthratio_old() const; - void _internal_set_healthratio_old(float value); - public: - - // optional float healthratio_new = 3; - bool has_healthratio_new() const; - private: - bool _internal_has_healthratio_new() const; - public: - void clear_healthratio_new(); - float healthratio_new() const; - void set_healthratio_new(float value); - private: - float _internal_healthratio_new() const; - void _internal_set_healthratio_new(float value); - public: - - // optional int32 style = 4; - bool has_style() const; - private: - bool _internal_has_style() const; - public: - void clear_style(); - int32_t style() const; - void set_style(int32_t value); - private: - int32_t _internal_style() const; - void _internal_set_style(int32_t value); - public: - - // optional int32 entidx = 1 [default = -1]; - bool has_entidx() const; - private: - bool _internal_has_entidx() const; - public: - void clear_entidx(); - int32_t entidx() const; - void set_entidx(int32_t value); - private: - int32_t _internal_entidx() const; - void _internal_set_entidx(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_UpdateScreenHealthBar) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float healthratio_old_; - float healthratio_new_; - int32_t style_; - int32_t entidx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_EntityOutlineHighlight : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_EntityOutlineHighlight) */ { - public: - inline CCSUsrMsg_EntityOutlineHighlight() : CCSUsrMsg_EntityOutlineHighlight(nullptr) {} - ~CCSUsrMsg_EntityOutlineHighlight() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_EntityOutlineHighlight(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_EntityOutlineHighlight(const CCSUsrMsg_EntityOutlineHighlight& from); - CCSUsrMsg_EntityOutlineHighlight(CCSUsrMsg_EntityOutlineHighlight&& from) noexcept - : CCSUsrMsg_EntityOutlineHighlight() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_EntityOutlineHighlight& operator=(const CCSUsrMsg_EntityOutlineHighlight& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_EntityOutlineHighlight& operator=(CCSUsrMsg_EntityOutlineHighlight&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_EntityOutlineHighlight& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_EntityOutlineHighlight* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_EntityOutlineHighlight_default_instance_); - } - static constexpr int kIndexInFileMessages = - 26; - - friend void swap(CCSUsrMsg_EntityOutlineHighlight& a, CCSUsrMsg_EntityOutlineHighlight& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_EntityOutlineHighlight* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_EntityOutlineHighlight* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_EntityOutlineHighlight* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_EntityOutlineHighlight& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_EntityOutlineHighlight& from) { - CCSUsrMsg_EntityOutlineHighlight::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_EntityOutlineHighlight* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_EntityOutlineHighlight"; - } - protected: - explicit CCSUsrMsg_EntityOutlineHighlight(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRemovehighlightFieldNumber = 2, - kEntidxFieldNumber = 1, - }; - // optional bool removehighlight = 2; - bool has_removehighlight() const; - private: - bool _internal_has_removehighlight() const; - public: - void clear_removehighlight(); - bool removehighlight() const; - void set_removehighlight(bool value); - private: - bool _internal_removehighlight() const; - void _internal_set_removehighlight(bool value); - public: - - // optional int32 entidx = 1 [default = -1]; - bool has_entidx() const; - private: - bool _internal_has_entidx() const; - public: - void clear_entidx(); - int32_t entidx() const; - void set_entidx(int32_t value); - private: - int32_t _internal_entidx() const; - void _internal_set_entidx(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_EntityOutlineHighlight) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool removehighlight_; - int32_t entidx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_AdjustMoney : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_AdjustMoney) */ { - public: - inline CCSUsrMsg_AdjustMoney() : CCSUsrMsg_AdjustMoney(nullptr) {} - ~CCSUsrMsg_AdjustMoney() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_AdjustMoney(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_AdjustMoney(const CCSUsrMsg_AdjustMoney& from); - CCSUsrMsg_AdjustMoney(CCSUsrMsg_AdjustMoney&& from) noexcept - : CCSUsrMsg_AdjustMoney() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_AdjustMoney& operator=(const CCSUsrMsg_AdjustMoney& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_AdjustMoney& operator=(CCSUsrMsg_AdjustMoney&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_AdjustMoney& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_AdjustMoney* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_AdjustMoney_default_instance_); - } - static constexpr int kIndexInFileMessages = - 27; - - friend void swap(CCSUsrMsg_AdjustMoney& a, CCSUsrMsg_AdjustMoney& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_AdjustMoney* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_AdjustMoney* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_AdjustMoney* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_AdjustMoney& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_AdjustMoney& from) { - CCSUsrMsg_AdjustMoney::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_AdjustMoney* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_AdjustMoney"; - } - protected: - explicit CCSUsrMsg_AdjustMoney(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAmountFieldNumber = 1, - }; - // optional int32 amount = 1; - bool has_amount() const; - private: - bool _internal_has_amount() const; - public: - void clear_amount(); - int32_t amount() const; - void set_amount(int32_t value); - private: - int32_t _internal_amount() const; - void _internal_set_amount(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_AdjustMoney) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t amount_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_ReportHit : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ReportHit) */ { - public: - inline CCSUsrMsg_ReportHit() : CCSUsrMsg_ReportHit(nullptr) {} - ~CCSUsrMsg_ReportHit() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ReportHit(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_ReportHit(const CCSUsrMsg_ReportHit& from); - CCSUsrMsg_ReportHit(CCSUsrMsg_ReportHit&& from) noexcept - : CCSUsrMsg_ReportHit() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_ReportHit& operator=(const CCSUsrMsg_ReportHit& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_ReportHit& operator=(CCSUsrMsg_ReportHit&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_ReportHit& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_ReportHit* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_ReportHit_default_instance_); - } - static constexpr int kIndexInFileMessages = - 28; - - friend void swap(CCSUsrMsg_ReportHit& a, CCSUsrMsg_ReportHit& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_ReportHit* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_ReportHit* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_ReportHit* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_ReportHit& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_ReportHit& from) { - CCSUsrMsg_ReportHit::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_ReportHit* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_ReportHit"; - } - protected: - explicit CCSUsrMsg_ReportHit(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPosXFieldNumber = 1, - kPosYFieldNumber = 2, - kPosZFieldNumber = 3, - kTimestampFieldNumber = 4, - }; - // optional float pos_x = 1; - bool has_pos_x() const; - private: - bool _internal_has_pos_x() const; - public: - void clear_pos_x(); - float pos_x() const; - void set_pos_x(float value); - private: - float _internal_pos_x() const; - void _internal_set_pos_x(float value); - public: - - // optional float pos_y = 2; - bool has_pos_y() const; - private: - bool _internal_has_pos_y() const; - public: - void clear_pos_y(); - float pos_y() const; - void set_pos_y(float value); - private: - float _internal_pos_y() const; - void _internal_set_pos_y(float value); - public: - - // optional float pos_z = 3; - bool has_pos_z() const; - private: - bool _internal_has_pos_z() const; - public: - void clear_pos_z(); - float pos_z() const; - void set_pos_z(float value); - private: - float _internal_pos_z() const; - void _internal_set_pos_z(float value); - public: - - // optional float timestamp = 4; - bool has_timestamp() const; - private: - bool _internal_has_timestamp() const; - public: - void clear_timestamp(); - float timestamp() const; - void set_timestamp(float value); - private: - float _internal_timestamp() const; - void _internal_set_timestamp(float value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_ReportHit) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float pos_x_; - float pos_y_; - float pos_z_; - float timestamp_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_KillCam : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_KillCam) */ { - public: - inline CCSUsrMsg_KillCam() : CCSUsrMsg_KillCam(nullptr) {} - ~CCSUsrMsg_KillCam() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_KillCam(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_KillCam(const CCSUsrMsg_KillCam& from); - CCSUsrMsg_KillCam(CCSUsrMsg_KillCam&& from) noexcept - : CCSUsrMsg_KillCam() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_KillCam& operator=(const CCSUsrMsg_KillCam& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_KillCam& operator=(CCSUsrMsg_KillCam&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_KillCam& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_KillCam* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_KillCam_default_instance_); - } - static constexpr int kIndexInFileMessages = - 29; - - friend void swap(CCSUsrMsg_KillCam& a, CCSUsrMsg_KillCam& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_KillCam* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_KillCam* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_KillCam* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_KillCam& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_KillCam& from) { - CCSUsrMsg_KillCam::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_KillCam* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_KillCam"; - } - protected: - explicit CCSUsrMsg_KillCam(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kObsModeFieldNumber = 1, - kFirstTargetFieldNumber = 2, - kSecondTargetFieldNumber = 3, - }; - // optional int32 obs_mode = 1; - bool has_obs_mode() const; - private: - bool _internal_has_obs_mode() const; - public: - void clear_obs_mode(); - int32_t obs_mode() const; - void set_obs_mode(int32_t value); - private: - int32_t _internal_obs_mode() const; - void _internal_set_obs_mode(int32_t value); - public: - - // optional int32 first_target = 2 [default = -1]; - bool has_first_target() const; - private: - bool _internal_has_first_target() const; - public: - void clear_first_target(); - int32_t first_target() const; - void set_first_target(int32_t value); - private: - int32_t _internal_first_target() const; - void _internal_set_first_target(int32_t value); - public: - - // optional int32 second_target = 3 [default = -1]; - bool has_second_target() const; - private: - bool _internal_has_second_target() const; - public: - void clear_second_target(); - int32_t second_target() const; - void set_second_target(int32_t value); - private: - int32_t _internal_second_target() const; - void _internal_set_second_target(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_KillCam) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t obs_mode_; - int32_t first_target_; - int32_t second_target_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_DesiredTimescale : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_DesiredTimescale) */ { - public: - inline CCSUsrMsg_DesiredTimescale() : CCSUsrMsg_DesiredTimescale(nullptr) {} - ~CCSUsrMsg_DesiredTimescale() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_DesiredTimescale(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_DesiredTimescale(const CCSUsrMsg_DesiredTimescale& from); - CCSUsrMsg_DesiredTimescale(CCSUsrMsg_DesiredTimescale&& from) noexcept - : CCSUsrMsg_DesiredTimescale() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_DesiredTimescale& operator=(const CCSUsrMsg_DesiredTimescale& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_DesiredTimescale& operator=(CCSUsrMsg_DesiredTimescale&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_DesiredTimescale& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_DesiredTimescale* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_DesiredTimescale_default_instance_); - } - static constexpr int kIndexInFileMessages = - 30; - - friend void swap(CCSUsrMsg_DesiredTimescale& a, CCSUsrMsg_DesiredTimescale& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_DesiredTimescale* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_DesiredTimescale* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_DesiredTimescale* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_DesiredTimescale& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_DesiredTimescale& from) { - CCSUsrMsg_DesiredTimescale::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_DesiredTimescale* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_DesiredTimescale"; - } - protected: - explicit CCSUsrMsg_DesiredTimescale(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDesiredTimescaleFieldNumber = 1, - kDurationRealtimeSecFieldNumber = 2, - kInterpolatorTypeFieldNumber = 3, - kStartBlendTimeFieldNumber = 4, - }; - // optional float desired_timescale = 1; - bool has_desired_timescale() const; - private: - bool _internal_has_desired_timescale() const; - public: - void clear_desired_timescale(); - float desired_timescale() const; - void set_desired_timescale(float value); - private: - float _internal_desired_timescale() const; - void _internal_set_desired_timescale(float value); - public: - - // optional float duration_realtime_sec = 2; - bool has_duration_realtime_sec() const; - private: - bool _internal_has_duration_realtime_sec() const; - public: - void clear_duration_realtime_sec(); - float duration_realtime_sec() const; - void set_duration_realtime_sec(float value); - private: - float _internal_duration_realtime_sec() const; - void _internal_set_duration_realtime_sec(float value); - public: - - // optional int32 interpolator_type = 3; - bool has_interpolator_type() const; - private: - bool _internal_has_interpolator_type() const; - public: - void clear_interpolator_type(); - int32_t interpolator_type() const; - void set_interpolator_type(int32_t value); - private: - int32_t _internal_interpolator_type() const; - void _internal_set_interpolator_type(int32_t value); - public: - - // optional float start_blend_time = 4; - bool has_start_blend_time() const; - private: - bool _internal_has_start_blend_time() const; - public: - void clear_start_blend_time(); - float start_blend_time() const; - void set_start_blend_time(float value); - private: - float _internal_start_blend_time() const; - void _internal_set_start_blend_time(float value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_DesiredTimescale) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float desired_timescale_; - float duration_realtime_sec_; - int32_t interpolator_type_; - float start_blend_time_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_CurrentTimescale : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_CurrentTimescale) */ { - public: - inline CCSUsrMsg_CurrentTimescale() : CCSUsrMsg_CurrentTimescale(nullptr) {} - ~CCSUsrMsg_CurrentTimescale() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_CurrentTimescale(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_CurrentTimescale(const CCSUsrMsg_CurrentTimescale& from); - CCSUsrMsg_CurrentTimescale(CCSUsrMsg_CurrentTimescale&& from) noexcept - : CCSUsrMsg_CurrentTimescale() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_CurrentTimescale& operator=(const CCSUsrMsg_CurrentTimescale& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_CurrentTimescale& operator=(CCSUsrMsg_CurrentTimescale&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_CurrentTimescale& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_CurrentTimescale* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_CurrentTimescale_default_instance_); - } - static constexpr int kIndexInFileMessages = - 31; - - friend void swap(CCSUsrMsg_CurrentTimescale& a, CCSUsrMsg_CurrentTimescale& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_CurrentTimescale* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_CurrentTimescale* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_CurrentTimescale* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_CurrentTimescale& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_CurrentTimescale& from) { - CCSUsrMsg_CurrentTimescale::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_CurrentTimescale* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_CurrentTimescale"; - } - protected: - explicit CCSUsrMsg_CurrentTimescale(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCurTimescaleFieldNumber = 1, - }; - // optional float cur_timescale = 1; - bool has_cur_timescale() const; - private: - bool _internal_has_cur_timescale() const; - public: - void clear_cur_timescale(); - float cur_timescale() const; - void set_cur_timescale(float value); - private: - float _internal_cur_timescale() const; - void _internal_set_cur_timescale(float value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_CurrentTimescale) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float cur_timescale_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_AchievementEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_AchievementEvent) */ { - public: - inline CCSUsrMsg_AchievementEvent() : CCSUsrMsg_AchievementEvent(nullptr) {} - ~CCSUsrMsg_AchievementEvent() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_AchievementEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_AchievementEvent(const CCSUsrMsg_AchievementEvent& from); - CCSUsrMsg_AchievementEvent(CCSUsrMsg_AchievementEvent&& from) noexcept - : CCSUsrMsg_AchievementEvent() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_AchievementEvent& operator=(const CCSUsrMsg_AchievementEvent& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_AchievementEvent& operator=(CCSUsrMsg_AchievementEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_AchievementEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_AchievementEvent* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_AchievementEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 32; - - friend void swap(CCSUsrMsg_AchievementEvent& a, CCSUsrMsg_AchievementEvent& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_AchievementEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_AchievementEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_AchievementEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_AchievementEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_AchievementEvent& from) { - CCSUsrMsg_AchievementEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_AchievementEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_AchievementEvent"; - } - protected: - explicit CCSUsrMsg_AchievementEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAchievementFieldNumber = 1, - kCountFieldNumber = 2, - kUserIdFieldNumber = 3, - }; - // optional int32 achievement = 1; - bool has_achievement() const; - private: - bool _internal_has_achievement() const; - public: - void clear_achievement(); - int32_t achievement() const; - void set_achievement(int32_t value); - private: - int32_t _internal_achievement() const; - void _internal_set_achievement(int32_t value); - public: - - // optional int32 count = 2; - bool has_count() const; - private: - bool _internal_has_count() const; - public: - void clear_count(); - int32_t count() const; - void set_count(int32_t value); - private: - int32_t _internal_count() const; - void _internal_set_count(int32_t value); - public: - - // optional int32 user_id = 3; - bool has_user_id() const; - private: - bool _internal_has_user_id() const; - public: - void clear_user_id(); - int32_t user_id() const; - void set_user_id(int32_t value); - private: - int32_t _internal_user_id() const; - void _internal_set_user_id(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_AchievementEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t achievement_; - int32_t count_; - int32_t user_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_MatchEndConditions : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_MatchEndConditions) */ { - public: - inline CCSUsrMsg_MatchEndConditions() : CCSUsrMsg_MatchEndConditions(nullptr) {} - ~CCSUsrMsg_MatchEndConditions() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_MatchEndConditions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_MatchEndConditions(const CCSUsrMsg_MatchEndConditions& from); - CCSUsrMsg_MatchEndConditions(CCSUsrMsg_MatchEndConditions&& from) noexcept - : CCSUsrMsg_MatchEndConditions() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_MatchEndConditions& operator=(const CCSUsrMsg_MatchEndConditions& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_MatchEndConditions& operator=(CCSUsrMsg_MatchEndConditions&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_MatchEndConditions& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_MatchEndConditions* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_MatchEndConditions_default_instance_); - } - static constexpr int kIndexInFileMessages = - 33; - - friend void swap(CCSUsrMsg_MatchEndConditions& a, CCSUsrMsg_MatchEndConditions& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_MatchEndConditions* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_MatchEndConditions* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_MatchEndConditions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_MatchEndConditions& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_MatchEndConditions& from) { - CCSUsrMsg_MatchEndConditions::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_MatchEndConditions* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_MatchEndConditions"; - } - protected: - explicit CCSUsrMsg_MatchEndConditions(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFraglimitFieldNumber = 1, - kMpMaxroundsFieldNumber = 2, - kMpWinlimitFieldNumber = 3, - kMpTimelimitFieldNumber = 4, - }; - // optional int32 fraglimit = 1; - bool has_fraglimit() const; - private: - bool _internal_has_fraglimit() const; - public: - void clear_fraglimit(); - int32_t fraglimit() const; - void set_fraglimit(int32_t value); - private: - int32_t _internal_fraglimit() const; - void _internal_set_fraglimit(int32_t value); - public: - - // optional int32 mp_maxrounds = 2; - bool has_mp_maxrounds() const; - private: - bool _internal_has_mp_maxrounds() const; - public: - void clear_mp_maxrounds(); - int32_t mp_maxrounds() const; - void set_mp_maxrounds(int32_t value); - private: - int32_t _internal_mp_maxrounds() const; - void _internal_set_mp_maxrounds(int32_t value); - public: - - // optional int32 mp_winlimit = 3; - bool has_mp_winlimit() const; - private: - bool _internal_has_mp_winlimit() const; - public: - void clear_mp_winlimit(); - int32_t mp_winlimit() const; - void set_mp_winlimit(int32_t value); - private: - int32_t _internal_mp_winlimit() const; - void _internal_set_mp_winlimit(int32_t value); - public: - - // optional float mp_timelimit = 4; - bool has_mp_timelimit() const; - private: - bool _internal_has_mp_timelimit() const; - public: - void clear_mp_timelimit(); - float mp_timelimit() const; - void set_mp_timelimit(float value); - private: - float _internal_mp_timelimit() const; - void _internal_set_mp_timelimit(float value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_MatchEndConditions) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t fraglimit_; - int32_t mp_maxrounds_; - int32_t mp_winlimit_; - float mp_timelimit_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_PlayerStatsUpdate_Stat : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_PlayerStatsUpdate.Stat) */ { - public: - inline CCSUsrMsg_PlayerStatsUpdate_Stat() : CCSUsrMsg_PlayerStatsUpdate_Stat(nullptr) {} - ~CCSUsrMsg_PlayerStatsUpdate_Stat() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_PlayerStatsUpdate_Stat(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_PlayerStatsUpdate_Stat(const CCSUsrMsg_PlayerStatsUpdate_Stat& from); - CCSUsrMsg_PlayerStatsUpdate_Stat(CCSUsrMsg_PlayerStatsUpdate_Stat&& from) noexcept - : CCSUsrMsg_PlayerStatsUpdate_Stat() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_PlayerStatsUpdate_Stat& operator=(const CCSUsrMsg_PlayerStatsUpdate_Stat& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_PlayerStatsUpdate_Stat& operator=(CCSUsrMsg_PlayerStatsUpdate_Stat&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_PlayerStatsUpdate_Stat& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_PlayerStatsUpdate_Stat* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_PlayerStatsUpdate_Stat_default_instance_); - } - static constexpr int kIndexInFileMessages = - 34; - - friend void swap(CCSUsrMsg_PlayerStatsUpdate_Stat& a, CCSUsrMsg_PlayerStatsUpdate_Stat& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_PlayerStatsUpdate_Stat* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_PlayerStatsUpdate_Stat* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_PlayerStatsUpdate_Stat* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_PlayerStatsUpdate_Stat& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_PlayerStatsUpdate_Stat& from) { - CCSUsrMsg_PlayerStatsUpdate_Stat::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_PlayerStatsUpdate_Stat* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_PlayerStatsUpdate.Stat"; - } - protected: - explicit CCSUsrMsg_PlayerStatsUpdate_Stat(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIdxFieldNumber = 1, - kDeltaFieldNumber = 2, - }; - // optional int32 idx = 1; - bool has_idx() const; - private: - bool _internal_has_idx() const; - public: - void clear_idx(); - int32_t idx() const; - void set_idx(int32_t value); - private: - int32_t _internal_idx() const; - void _internal_set_idx(int32_t value); - public: - - // optional int32 delta = 2; - bool has_delta() const; - private: - bool _internal_has_delta() const; - public: - void clear_delta(); - int32_t delta() const; - void set_delta(int32_t value); - private: - int32_t _internal_delta() const; - void _internal_set_delta(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_PlayerStatsUpdate.Stat) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t idx_; - int32_t delta_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_PlayerStatsUpdate : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_PlayerStatsUpdate) */ { - public: - inline CCSUsrMsg_PlayerStatsUpdate() : CCSUsrMsg_PlayerStatsUpdate(nullptr) {} - ~CCSUsrMsg_PlayerStatsUpdate() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_PlayerStatsUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_PlayerStatsUpdate(const CCSUsrMsg_PlayerStatsUpdate& from); - CCSUsrMsg_PlayerStatsUpdate(CCSUsrMsg_PlayerStatsUpdate&& from) noexcept - : CCSUsrMsg_PlayerStatsUpdate() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_PlayerStatsUpdate& operator=(const CCSUsrMsg_PlayerStatsUpdate& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_PlayerStatsUpdate& operator=(CCSUsrMsg_PlayerStatsUpdate&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_PlayerStatsUpdate& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_PlayerStatsUpdate* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_PlayerStatsUpdate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 35; - - friend void swap(CCSUsrMsg_PlayerStatsUpdate& a, CCSUsrMsg_PlayerStatsUpdate& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_PlayerStatsUpdate* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_PlayerStatsUpdate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_PlayerStatsUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_PlayerStatsUpdate& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_PlayerStatsUpdate& from) { - CCSUsrMsg_PlayerStatsUpdate::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_PlayerStatsUpdate* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_PlayerStatsUpdate"; - } - protected: - explicit CCSUsrMsg_PlayerStatsUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CCSUsrMsg_PlayerStatsUpdate_Stat Stat; - - // accessors ------------------------------------------------------- - - enum : int { - kStatsFieldNumber = 4, - kVersionFieldNumber = 1, - kEhandleFieldNumber = 5, - kCrcFieldNumber = 6, - }; - // repeated .CCSUsrMsg_PlayerStatsUpdate.Stat stats = 4; - int stats_size() const; - private: - int _internal_stats_size() const; - public: - void clear_stats(); - ::CCSUsrMsg_PlayerStatsUpdate_Stat* mutable_stats(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_PlayerStatsUpdate_Stat >* - mutable_stats(); - private: - const ::CCSUsrMsg_PlayerStatsUpdate_Stat& _internal_stats(int index) const; - ::CCSUsrMsg_PlayerStatsUpdate_Stat* _internal_add_stats(); - public: - const ::CCSUsrMsg_PlayerStatsUpdate_Stat& stats(int index) const; - ::CCSUsrMsg_PlayerStatsUpdate_Stat* add_stats(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_PlayerStatsUpdate_Stat >& - stats() const; - - // optional int32 version = 1; - bool has_version() const; - private: - bool _internal_has_version() const; - public: - void clear_version(); - int32_t version() const; - void set_version(int32_t value); - private: - int32_t _internal_version() const; - void _internal_set_version(int32_t value); - public: - - // optional uint32 ehandle = 5; - bool has_ehandle() const; - private: - bool _internal_has_ehandle() const; - public: - void clear_ehandle(); - uint32_t ehandle() const; - void set_ehandle(uint32_t value); - private: - uint32_t _internal_ehandle() const; - void _internal_set_ehandle(uint32_t value); - public: - - // optional int32 crc = 6; - bool has_crc() const; - private: - bool _internal_has_crc() const; - public: - void clear_crc(); - int32_t crc() const; - void set_crc(int32_t value); - private: - int32_t _internal_crc() const; - void _internal_set_crc(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_PlayerStatsUpdate) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_PlayerStatsUpdate_Stat > stats_; - int32_t version_; - uint32_t ehandle_; - int32_t crc_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_QuestProgress : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_QuestProgress) */ { - public: - inline CCSUsrMsg_QuestProgress() : CCSUsrMsg_QuestProgress(nullptr) {} - ~CCSUsrMsg_QuestProgress() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_QuestProgress(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_QuestProgress(const CCSUsrMsg_QuestProgress& from); - CCSUsrMsg_QuestProgress(CCSUsrMsg_QuestProgress&& from) noexcept - : CCSUsrMsg_QuestProgress() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_QuestProgress& operator=(const CCSUsrMsg_QuestProgress& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_QuestProgress& operator=(CCSUsrMsg_QuestProgress&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_QuestProgress& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_QuestProgress* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_QuestProgress_default_instance_); - } - static constexpr int kIndexInFileMessages = - 36; - - friend void swap(CCSUsrMsg_QuestProgress& a, CCSUsrMsg_QuestProgress& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_QuestProgress* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_QuestProgress* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_QuestProgress* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_QuestProgress& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_QuestProgress& from) { - CCSUsrMsg_QuestProgress::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_QuestProgress* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_QuestProgress"; - } - protected: - explicit CCSUsrMsg_QuestProgress(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kQuestIdFieldNumber = 1, - kNormalPointsFieldNumber = 2, - kBonusPointsFieldNumber = 3, - kIsEventQuestFieldNumber = 4, - }; - // optional uint32 quest_id = 1; - bool has_quest_id() const; - private: - bool _internal_has_quest_id() const; - public: - void clear_quest_id(); - uint32_t quest_id() const; - void set_quest_id(uint32_t value); - private: - uint32_t _internal_quest_id() const; - void _internal_set_quest_id(uint32_t value); - public: - - // optional uint32 normal_points = 2; - bool has_normal_points() const; - private: - bool _internal_has_normal_points() const; - public: - void clear_normal_points(); - uint32_t normal_points() const; - void set_normal_points(uint32_t value); - private: - uint32_t _internal_normal_points() const; - void _internal_set_normal_points(uint32_t value); - public: - - // optional uint32 bonus_points = 3; - bool has_bonus_points() const; - private: - bool _internal_has_bonus_points() const; - public: - void clear_bonus_points(); - uint32_t bonus_points() const; - void set_bonus_points(uint32_t value); - private: - uint32_t _internal_bonus_points() const; - void _internal_set_bonus_points(uint32_t value); - public: - - // optional bool is_event_quest = 4; - bool has_is_event_quest() const; - private: - bool _internal_has_is_event_quest() const; - public: - void clear_is_event_quest(); - bool is_event_quest() const; - void set_is_event_quest(bool value); - private: - bool _internal_is_event_quest() const; - void _internal_set_is_event_quest(bool value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_QuestProgress) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t quest_id_; - uint32_t normal_points_; - uint32_t bonus_points_; - bool is_event_quest_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_ScoreLeaderboardData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ScoreLeaderboardData) */ { - public: - inline CCSUsrMsg_ScoreLeaderboardData() : CCSUsrMsg_ScoreLeaderboardData(nullptr) {} - ~CCSUsrMsg_ScoreLeaderboardData() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ScoreLeaderboardData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_ScoreLeaderboardData(const CCSUsrMsg_ScoreLeaderboardData& from); - CCSUsrMsg_ScoreLeaderboardData(CCSUsrMsg_ScoreLeaderboardData&& from) noexcept - : CCSUsrMsg_ScoreLeaderboardData() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_ScoreLeaderboardData& operator=(const CCSUsrMsg_ScoreLeaderboardData& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_ScoreLeaderboardData& operator=(CCSUsrMsg_ScoreLeaderboardData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_ScoreLeaderboardData& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_ScoreLeaderboardData* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_ScoreLeaderboardData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 37; - - friend void swap(CCSUsrMsg_ScoreLeaderboardData& a, CCSUsrMsg_ScoreLeaderboardData& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_ScoreLeaderboardData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_ScoreLeaderboardData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_ScoreLeaderboardData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_ScoreLeaderboardData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_ScoreLeaderboardData& from) { - CCSUsrMsg_ScoreLeaderboardData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_ScoreLeaderboardData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_ScoreLeaderboardData"; - } - protected: - explicit CCSUsrMsg_ScoreLeaderboardData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 1, - }; - // optional .ScoreLeaderboardData data = 1; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const ::ScoreLeaderboardData& data() const; - PROTOBUF_NODISCARD ::ScoreLeaderboardData* release_data(); - ::ScoreLeaderboardData* mutable_data(); - void set_allocated_data(::ScoreLeaderboardData* data); - private: - const ::ScoreLeaderboardData& _internal_data() const; - ::ScoreLeaderboardData* _internal_mutable_data(); - public: - void unsafe_arena_set_allocated_data( - ::ScoreLeaderboardData* data); - ::ScoreLeaderboardData* unsafe_arena_release_data(); - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_ScoreLeaderboardData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::ScoreLeaderboardData* data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_PlayerDecalDigitalSignature : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_PlayerDecalDigitalSignature) */ { - public: - inline CCSUsrMsg_PlayerDecalDigitalSignature() : CCSUsrMsg_PlayerDecalDigitalSignature(nullptr) {} - ~CCSUsrMsg_PlayerDecalDigitalSignature() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_PlayerDecalDigitalSignature(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_PlayerDecalDigitalSignature(const CCSUsrMsg_PlayerDecalDigitalSignature& from); - CCSUsrMsg_PlayerDecalDigitalSignature(CCSUsrMsg_PlayerDecalDigitalSignature&& from) noexcept - : CCSUsrMsg_PlayerDecalDigitalSignature() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_PlayerDecalDigitalSignature& operator=(const CCSUsrMsg_PlayerDecalDigitalSignature& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_PlayerDecalDigitalSignature& operator=(CCSUsrMsg_PlayerDecalDigitalSignature&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_PlayerDecalDigitalSignature& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_PlayerDecalDigitalSignature* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_PlayerDecalDigitalSignature_default_instance_); - } - static constexpr int kIndexInFileMessages = - 38; - - friend void swap(CCSUsrMsg_PlayerDecalDigitalSignature& a, CCSUsrMsg_PlayerDecalDigitalSignature& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_PlayerDecalDigitalSignature* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_PlayerDecalDigitalSignature* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_PlayerDecalDigitalSignature* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_PlayerDecalDigitalSignature& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_PlayerDecalDigitalSignature& from) { - CCSUsrMsg_PlayerDecalDigitalSignature::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_PlayerDecalDigitalSignature* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_PlayerDecalDigitalSignature"; - } - protected: - explicit CCSUsrMsg_PlayerDecalDigitalSignature(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 1, - }; - // optional .PlayerDecalDigitalSignature data = 1; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const ::PlayerDecalDigitalSignature& data() const; - PROTOBUF_NODISCARD ::PlayerDecalDigitalSignature* release_data(); - ::PlayerDecalDigitalSignature* mutable_data(); - void set_allocated_data(::PlayerDecalDigitalSignature* data); - private: - const ::PlayerDecalDigitalSignature& _internal_data() const; - ::PlayerDecalDigitalSignature* _internal_mutable_data(); - public: - void unsafe_arena_set_allocated_data( - ::PlayerDecalDigitalSignature* data); - ::PlayerDecalDigitalSignature* unsafe_arena_release_data(); - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_PlayerDecalDigitalSignature) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PlayerDecalDigitalSignature* data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_XRankGet : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_XRankGet) */ { - public: - inline CCSUsrMsg_XRankGet() : CCSUsrMsg_XRankGet(nullptr) {} - ~CCSUsrMsg_XRankGet() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_XRankGet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_XRankGet(const CCSUsrMsg_XRankGet& from); - CCSUsrMsg_XRankGet(CCSUsrMsg_XRankGet&& from) noexcept - : CCSUsrMsg_XRankGet() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_XRankGet& operator=(const CCSUsrMsg_XRankGet& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_XRankGet& operator=(CCSUsrMsg_XRankGet&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_XRankGet& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_XRankGet* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_XRankGet_default_instance_); - } - static constexpr int kIndexInFileMessages = - 39; - - friend void swap(CCSUsrMsg_XRankGet& a, CCSUsrMsg_XRankGet& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_XRankGet* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_XRankGet* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_XRankGet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_XRankGet& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_XRankGet& from) { - CCSUsrMsg_XRankGet::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_XRankGet* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_XRankGet"; - } - protected: - explicit CCSUsrMsg_XRankGet(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kModeIdxFieldNumber = 1, - kControllerFieldNumber = 2, - }; - // optional int32 mode_idx = 1; - bool has_mode_idx() const; - private: - bool _internal_has_mode_idx() const; - public: - void clear_mode_idx(); - int32_t mode_idx() const; - void set_mode_idx(int32_t value); - private: - int32_t _internal_mode_idx() const; - void _internal_set_mode_idx(int32_t value); - public: - - // optional int32 controller = 2; - bool has_controller() const; - private: - bool _internal_has_controller() const; - public: - void clear_controller(); - int32_t controller() const; - void set_controller(int32_t value); - private: - int32_t _internal_controller() const; - void _internal_set_controller(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_XRankGet) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t mode_idx_; - int32_t controller_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_XRankUpd : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_XRankUpd) */ { - public: - inline CCSUsrMsg_XRankUpd() : CCSUsrMsg_XRankUpd(nullptr) {} - ~CCSUsrMsg_XRankUpd() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_XRankUpd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_XRankUpd(const CCSUsrMsg_XRankUpd& from); - CCSUsrMsg_XRankUpd(CCSUsrMsg_XRankUpd&& from) noexcept - : CCSUsrMsg_XRankUpd() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_XRankUpd& operator=(const CCSUsrMsg_XRankUpd& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_XRankUpd& operator=(CCSUsrMsg_XRankUpd&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_XRankUpd& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_XRankUpd* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_XRankUpd_default_instance_); - } - static constexpr int kIndexInFileMessages = - 40; - - friend void swap(CCSUsrMsg_XRankUpd& a, CCSUsrMsg_XRankUpd& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_XRankUpd* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_XRankUpd* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_XRankUpd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_XRankUpd& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_XRankUpd& from) { - CCSUsrMsg_XRankUpd::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_XRankUpd* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_XRankUpd"; - } - protected: - explicit CCSUsrMsg_XRankUpd(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kModeIdxFieldNumber = 1, - kControllerFieldNumber = 2, - kRankingFieldNumber = 3, - }; - // optional int32 mode_idx = 1; - bool has_mode_idx() const; - private: - bool _internal_has_mode_idx() const; - public: - void clear_mode_idx(); - int32_t mode_idx() const; - void set_mode_idx(int32_t value); - private: - int32_t _internal_mode_idx() const; - void _internal_set_mode_idx(int32_t value); - public: - - // optional int32 controller = 2; - bool has_controller() const; - private: - bool _internal_has_controller() const; - public: - void clear_controller(); - int32_t controller() const; - void set_controller(int32_t value); - private: - int32_t _internal_controller() const; - void _internal_set_controller(int32_t value); - public: - - // optional int32 ranking = 3; - bool has_ranking() const; - private: - bool _internal_has_ranking() const; - public: - void clear_ranking(); - int32_t ranking() const; - void set_ranking(int32_t value); - private: - int32_t _internal_ranking() const; - void _internal_set_ranking(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_XRankUpd) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t mode_idx_; - int32_t controller_; - int32_t ranking_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_CallVoteFailed : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_CallVoteFailed) */ { - public: - inline CCSUsrMsg_CallVoteFailed() : CCSUsrMsg_CallVoteFailed(nullptr) {} - ~CCSUsrMsg_CallVoteFailed() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_CallVoteFailed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_CallVoteFailed(const CCSUsrMsg_CallVoteFailed& from); - CCSUsrMsg_CallVoteFailed(CCSUsrMsg_CallVoteFailed&& from) noexcept - : CCSUsrMsg_CallVoteFailed() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_CallVoteFailed& operator=(const CCSUsrMsg_CallVoteFailed& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_CallVoteFailed& operator=(CCSUsrMsg_CallVoteFailed&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_CallVoteFailed& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_CallVoteFailed* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_CallVoteFailed_default_instance_); - } - static constexpr int kIndexInFileMessages = - 41; - - friend void swap(CCSUsrMsg_CallVoteFailed& a, CCSUsrMsg_CallVoteFailed& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_CallVoteFailed* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_CallVoteFailed* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_CallVoteFailed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_CallVoteFailed& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_CallVoteFailed& from) { - CCSUsrMsg_CallVoteFailed::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_CallVoteFailed* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_CallVoteFailed"; - } - protected: - explicit CCSUsrMsg_CallVoteFailed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kReasonFieldNumber = 1, - kTimeFieldNumber = 2, - }; - // optional int32 reason = 1; - bool has_reason() const; - private: - bool _internal_has_reason() const; - public: - void clear_reason(); - int32_t reason() const; - void set_reason(int32_t value); - private: - int32_t _internal_reason() const; - void _internal_set_reason(int32_t value); - public: - - // optional int32 time = 2; - bool has_time() const; - private: - bool _internal_has_time() const; - public: - void clear_time(); - int32_t time() const; - void set_time(int32_t value); - private: - int32_t _internal_time() const; - void _internal_set_time(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_CallVoteFailed) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t reason_; - int32_t time_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_VoteStart : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_VoteStart) */ { - public: - inline CCSUsrMsg_VoteStart() : CCSUsrMsg_VoteStart(nullptr) {} - ~CCSUsrMsg_VoteStart() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_VoteStart(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_VoteStart(const CCSUsrMsg_VoteStart& from); - CCSUsrMsg_VoteStart(CCSUsrMsg_VoteStart&& from) noexcept - : CCSUsrMsg_VoteStart() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_VoteStart& operator=(const CCSUsrMsg_VoteStart& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_VoteStart& operator=(CCSUsrMsg_VoteStart&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_VoteStart& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_VoteStart* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_VoteStart_default_instance_); - } - static constexpr int kIndexInFileMessages = - 42; - - friend void swap(CCSUsrMsg_VoteStart& a, CCSUsrMsg_VoteStart& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_VoteStart* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_VoteStart* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_VoteStart* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_VoteStart& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_VoteStart& from) { - CCSUsrMsg_VoteStart::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_VoteStart* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_VoteStart"; - } - protected: - explicit CCSUsrMsg_VoteStart(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDispStrFieldNumber = 4, - kDetailsStrFieldNumber = 5, - kOtherTeamStrFieldNumber = 6, - kTeamFieldNumber = 1, - kVoteTypeFieldNumber = 3, - kIsYesNoVoteFieldNumber = 7, - kPlayerSlotFieldNumber = 2, - kPlayerSlotTargetFieldNumber = 8, - }; - // optional string disp_str = 4; - bool has_disp_str() const; - private: - bool _internal_has_disp_str() const; - public: - void clear_disp_str(); - const std::string& disp_str() const; - template - void set_disp_str(ArgT0&& arg0, ArgT... args); - std::string* mutable_disp_str(); - PROTOBUF_NODISCARD std::string* release_disp_str(); - void set_allocated_disp_str(std::string* disp_str); - private: - const std::string& _internal_disp_str() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_disp_str(const std::string& value); - std::string* _internal_mutable_disp_str(); - public: - - // optional string details_str = 5; - bool has_details_str() const; - private: - bool _internal_has_details_str() const; - public: - void clear_details_str(); - const std::string& details_str() const; - template - void set_details_str(ArgT0&& arg0, ArgT... args); - std::string* mutable_details_str(); - PROTOBUF_NODISCARD std::string* release_details_str(); - void set_allocated_details_str(std::string* details_str); - private: - const std::string& _internal_details_str() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_details_str(const std::string& value); - std::string* _internal_mutable_details_str(); - public: - - // optional string other_team_str = 6; - bool has_other_team_str() const; - private: - bool _internal_has_other_team_str() const; - public: - void clear_other_team_str(); - const std::string& other_team_str() const; - template - void set_other_team_str(ArgT0&& arg0, ArgT... args); - std::string* mutable_other_team_str(); - PROTOBUF_NODISCARD std::string* release_other_team_str(); - void set_allocated_other_team_str(std::string* other_team_str); - private: - const std::string& _internal_other_team_str() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_other_team_str(const std::string& value); - std::string* _internal_mutable_other_team_str(); - public: - - // optional int32 team = 1; - bool has_team() const; - private: - bool _internal_has_team() const; - public: - void clear_team(); - int32_t team() const; - void set_team(int32_t value); - private: - int32_t _internal_team() const; - void _internal_set_team(int32_t value); - public: - - // optional int32 vote_type = 3; - bool has_vote_type() const; - private: - bool _internal_has_vote_type() const; - public: - void clear_vote_type(); - int32_t vote_type() const; - void set_vote_type(int32_t value); - private: - int32_t _internal_vote_type() const; - void _internal_set_vote_type(int32_t value); - public: - - // optional bool is_yes_no_vote = 7; - bool has_is_yes_no_vote() const; - private: - bool _internal_has_is_yes_no_vote() const; - public: - void clear_is_yes_no_vote(); - bool is_yes_no_vote() const; - void set_is_yes_no_vote(bool value); - private: - bool _internal_is_yes_no_vote() const; - void _internal_set_is_yes_no_vote(bool value); - public: - - // optional int32 player_slot = 2 [default = -1]; - bool has_player_slot() const; - private: - bool _internal_has_player_slot() const; - public: - void clear_player_slot(); - int32_t player_slot() const; - void set_player_slot(int32_t value); - private: - int32_t _internal_player_slot() const; - void _internal_set_player_slot(int32_t value); - public: - - // optional int32 player_slot_target = 8 [default = -1]; - bool has_player_slot_target() const; - private: - bool _internal_has_player_slot_target() const; - public: - void clear_player_slot_target(); - int32_t player_slot_target() const; - void set_player_slot_target(int32_t value); - private: - int32_t _internal_player_slot_target() const; - void _internal_set_player_slot_target(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_VoteStart) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr disp_str_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr details_str_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr other_team_str_; - int32_t team_; - int32_t vote_type_; - bool is_yes_no_vote_; - int32_t player_slot_; - int32_t player_slot_target_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_VotePass : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_VotePass) */ { - public: - inline CCSUsrMsg_VotePass() : CCSUsrMsg_VotePass(nullptr) {} - ~CCSUsrMsg_VotePass() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_VotePass(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_VotePass(const CCSUsrMsg_VotePass& from); - CCSUsrMsg_VotePass(CCSUsrMsg_VotePass&& from) noexcept - : CCSUsrMsg_VotePass() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_VotePass& operator=(const CCSUsrMsg_VotePass& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_VotePass& operator=(CCSUsrMsg_VotePass&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_VotePass& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_VotePass* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_VotePass_default_instance_); - } - static constexpr int kIndexInFileMessages = - 43; - - friend void swap(CCSUsrMsg_VotePass& a, CCSUsrMsg_VotePass& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_VotePass* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_VotePass* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_VotePass* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_VotePass& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_VotePass& from) { - CCSUsrMsg_VotePass::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_VotePass* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_VotePass"; - } - protected: - explicit CCSUsrMsg_VotePass(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDispStrFieldNumber = 3, - kDetailsStrFieldNumber = 4, - kTeamFieldNumber = 1, - kVoteTypeFieldNumber = 2, - }; - // optional string disp_str = 3; - bool has_disp_str() const; - private: - bool _internal_has_disp_str() const; - public: - void clear_disp_str(); - const std::string& disp_str() const; - template - void set_disp_str(ArgT0&& arg0, ArgT... args); - std::string* mutable_disp_str(); - PROTOBUF_NODISCARD std::string* release_disp_str(); - void set_allocated_disp_str(std::string* disp_str); - private: - const std::string& _internal_disp_str() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_disp_str(const std::string& value); - std::string* _internal_mutable_disp_str(); - public: - - // optional string details_str = 4; - bool has_details_str() const; - private: - bool _internal_has_details_str() const; - public: - void clear_details_str(); - const std::string& details_str() const; - template - void set_details_str(ArgT0&& arg0, ArgT... args); - std::string* mutable_details_str(); - PROTOBUF_NODISCARD std::string* release_details_str(); - void set_allocated_details_str(std::string* details_str); - private: - const std::string& _internal_details_str() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_details_str(const std::string& value); - std::string* _internal_mutable_details_str(); - public: - - // optional int32 team = 1; - bool has_team() const; - private: - bool _internal_has_team() const; - public: - void clear_team(); - int32_t team() const; - void set_team(int32_t value); - private: - int32_t _internal_team() const; - void _internal_set_team(int32_t value); - public: - - // optional int32 vote_type = 2; - bool has_vote_type() const; - private: - bool _internal_has_vote_type() const; - public: - void clear_vote_type(); - int32_t vote_type() const; - void set_vote_type(int32_t value); - private: - int32_t _internal_vote_type() const; - void _internal_set_vote_type(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_VotePass) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr disp_str_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr details_str_; - int32_t team_; - int32_t vote_type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_VoteFailed : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_VoteFailed) */ { - public: - inline CCSUsrMsg_VoteFailed() : CCSUsrMsg_VoteFailed(nullptr) {} - ~CCSUsrMsg_VoteFailed() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_VoteFailed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_VoteFailed(const CCSUsrMsg_VoteFailed& from); - CCSUsrMsg_VoteFailed(CCSUsrMsg_VoteFailed&& from) noexcept - : CCSUsrMsg_VoteFailed() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_VoteFailed& operator=(const CCSUsrMsg_VoteFailed& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_VoteFailed& operator=(CCSUsrMsg_VoteFailed&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_VoteFailed& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_VoteFailed* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_VoteFailed_default_instance_); - } - static constexpr int kIndexInFileMessages = - 44; - - friend void swap(CCSUsrMsg_VoteFailed& a, CCSUsrMsg_VoteFailed& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_VoteFailed* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_VoteFailed* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_VoteFailed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_VoteFailed& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_VoteFailed& from) { - CCSUsrMsg_VoteFailed::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_VoteFailed* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_VoteFailed"; - } - protected: - explicit CCSUsrMsg_VoteFailed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTeamFieldNumber = 1, - kReasonFieldNumber = 2, - }; - // optional int32 team = 1; - bool has_team() const; - private: - bool _internal_has_team() const; - public: - void clear_team(); - int32_t team() const; - void set_team(int32_t value); - private: - int32_t _internal_team() const; - void _internal_set_team(int32_t value); - public: - - // optional int32 reason = 2; - bool has_reason() const; - private: - bool _internal_has_reason() const; - public: - void clear_reason(); - int32_t reason() const; - void set_reason(int32_t value); - private: - int32_t _internal_reason() const; - void _internal_set_reason(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_VoteFailed) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t team_; - int32_t reason_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_VoteSetup : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_VoteSetup) */ { - public: - inline CCSUsrMsg_VoteSetup() : CCSUsrMsg_VoteSetup(nullptr) {} - ~CCSUsrMsg_VoteSetup() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_VoteSetup(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_VoteSetup(const CCSUsrMsg_VoteSetup& from); - CCSUsrMsg_VoteSetup(CCSUsrMsg_VoteSetup&& from) noexcept - : CCSUsrMsg_VoteSetup() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_VoteSetup& operator=(const CCSUsrMsg_VoteSetup& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_VoteSetup& operator=(CCSUsrMsg_VoteSetup&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_VoteSetup& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_VoteSetup* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_VoteSetup_default_instance_); - } - static constexpr int kIndexInFileMessages = - 45; - - friend void swap(CCSUsrMsg_VoteSetup& a, CCSUsrMsg_VoteSetup& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_VoteSetup* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_VoteSetup* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_VoteSetup* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_VoteSetup& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_VoteSetup& from) { - CCSUsrMsg_VoteSetup::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_VoteSetup* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_VoteSetup"; - } - protected: - explicit CCSUsrMsg_VoteSetup(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPotentialIssuesFieldNumber = 1, - }; - // repeated string potential_issues = 1; - int potential_issues_size() const; - private: - int _internal_potential_issues_size() const; - public: - void clear_potential_issues(); - const std::string& potential_issues(int index) const; - std::string* mutable_potential_issues(int index); - void set_potential_issues(int index, const std::string& value); - void set_potential_issues(int index, std::string&& value); - void set_potential_issues(int index, const char* value); - void set_potential_issues(int index, const char* value, size_t size); - std::string* add_potential_issues(); - void add_potential_issues(const std::string& value); - void add_potential_issues(std::string&& value); - void add_potential_issues(const char* value); - void add_potential_issues(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& potential_issues() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_potential_issues(); - private: - const std::string& _internal_potential_issues(int index) const; - std::string* _internal_add_potential_issues(); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_VoteSetup) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField potential_issues_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_SendLastKillerDamageToClient : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SendLastKillerDamageToClient) */ { - public: - inline CCSUsrMsg_SendLastKillerDamageToClient() : CCSUsrMsg_SendLastKillerDamageToClient(nullptr) {} - ~CCSUsrMsg_SendLastKillerDamageToClient() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SendLastKillerDamageToClient(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_SendLastKillerDamageToClient(const CCSUsrMsg_SendLastKillerDamageToClient& from); - CCSUsrMsg_SendLastKillerDamageToClient(CCSUsrMsg_SendLastKillerDamageToClient&& from) noexcept - : CCSUsrMsg_SendLastKillerDamageToClient() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_SendLastKillerDamageToClient& operator=(const CCSUsrMsg_SendLastKillerDamageToClient& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_SendLastKillerDamageToClient& operator=(CCSUsrMsg_SendLastKillerDamageToClient&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_SendLastKillerDamageToClient& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_SendLastKillerDamageToClient* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_SendLastKillerDamageToClient_default_instance_); - } - static constexpr int kIndexInFileMessages = - 46; - - friend void swap(CCSUsrMsg_SendLastKillerDamageToClient& a, CCSUsrMsg_SendLastKillerDamageToClient& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_SendLastKillerDamageToClient* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_SendLastKillerDamageToClient* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_SendLastKillerDamageToClient* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_SendLastKillerDamageToClient& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_SendLastKillerDamageToClient& from) { - CCSUsrMsg_SendLastKillerDamageToClient::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_SendLastKillerDamageToClient* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_SendLastKillerDamageToClient"; - } - protected: - explicit CCSUsrMsg_SendLastKillerDamageToClient(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNumHitsGivenFieldNumber = 1, - kDamageGivenFieldNumber = 2, - kNumHitsTakenFieldNumber = 3, - kDamageTakenFieldNumber = 4, - kActualDamageGivenFieldNumber = 5, - kActualDamageTakenFieldNumber = 6, - }; - // optional int32 num_hits_given = 1; - bool has_num_hits_given() const; - private: - bool _internal_has_num_hits_given() const; - public: - void clear_num_hits_given(); - int32_t num_hits_given() const; - void set_num_hits_given(int32_t value); - private: - int32_t _internal_num_hits_given() const; - void _internal_set_num_hits_given(int32_t value); - public: - - // optional int32 damage_given = 2; - bool has_damage_given() const; - private: - bool _internal_has_damage_given() const; - public: - void clear_damage_given(); - int32_t damage_given() const; - void set_damage_given(int32_t value); - private: - int32_t _internal_damage_given() const; - void _internal_set_damage_given(int32_t value); - public: - - // optional int32 num_hits_taken = 3; - bool has_num_hits_taken() const; - private: - bool _internal_has_num_hits_taken() const; - public: - void clear_num_hits_taken(); - int32_t num_hits_taken() const; - void set_num_hits_taken(int32_t value); - private: - int32_t _internal_num_hits_taken() const; - void _internal_set_num_hits_taken(int32_t value); - public: - - // optional int32 damage_taken = 4; - bool has_damage_taken() const; - private: - bool _internal_has_damage_taken() const; - public: - void clear_damage_taken(); - int32_t damage_taken() const; - void set_damage_taken(int32_t value); - private: - int32_t _internal_damage_taken() const; - void _internal_set_damage_taken(int32_t value); - public: - - // optional int32 actual_damage_given = 5; - bool has_actual_damage_given() const; - private: - bool _internal_has_actual_damage_given() const; - public: - void clear_actual_damage_given(); - int32_t actual_damage_given() const; - void set_actual_damage_given(int32_t value); - private: - int32_t _internal_actual_damage_given() const; - void _internal_set_actual_damage_given(int32_t value); - public: - - // optional int32 actual_damage_taken = 6; - bool has_actual_damage_taken() const; - private: - bool _internal_has_actual_damage_taken() const; - public: - void clear_actual_damage_taken(); - int32_t actual_damage_taken() const; - void set_actual_damage_taken(int32_t value); - private: - int32_t _internal_actual_damage_taken() const; - void _internal_set_actual_damage_taken(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_SendLastKillerDamageToClient) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t num_hits_given_; - int32_t damage_given_; - int32_t num_hits_taken_; - int32_t damage_taken_; - int32_t actual_damage_given_; - int32_t actual_damage_taken_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_ServerRankUpdate_RankUpdate : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ServerRankUpdate.RankUpdate) */ { - public: - inline CCSUsrMsg_ServerRankUpdate_RankUpdate() : CCSUsrMsg_ServerRankUpdate_RankUpdate(nullptr) {} - ~CCSUsrMsg_ServerRankUpdate_RankUpdate() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ServerRankUpdate_RankUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_ServerRankUpdate_RankUpdate(const CCSUsrMsg_ServerRankUpdate_RankUpdate& from); - CCSUsrMsg_ServerRankUpdate_RankUpdate(CCSUsrMsg_ServerRankUpdate_RankUpdate&& from) noexcept - : CCSUsrMsg_ServerRankUpdate_RankUpdate() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_ServerRankUpdate_RankUpdate& operator=(const CCSUsrMsg_ServerRankUpdate_RankUpdate& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_ServerRankUpdate_RankUpdate& operator=(CCSUsrMsg_ServerRankUpdate_RankUpdate&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_ServerRankUpdate_RankUpdate& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_ServerRankUpdate_RankUpdate* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_ServerRankUpdate_RankUpdate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 47; - - friend void swap(CCSUsrMsg_ServerRankUpdate_RankUpdate& a, CCSUsrMsg_ServerRankUpdate_RankUpdate& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_ServerRankUpdate_RankUpdate* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_ServerRankUpdate_RankUpdate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_ServerRankUpdate_RankUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_ServerRankUpdate_RankUpdate& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_ServerRankUpdate_RankUpdate& from) { - CCSUsrMsg_ServerRankUpdate_RankUpdate::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_ServerRankUpdate_RankUpdate* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_ServerRankUpdate.RankUpdate"; - } - protected: - explicit CCSUsrMsg_ServerRankUpdate_RankUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountIdFieldNumber = 1, - kRankOldFieldNumber = 2, - kRankNewFieldNumber = 3, - kNumWinsFieldNumber = 4, - kRankChangeFieldNumber = 5, - kRankTypeIdFieldNumber = 6, - }; - // optional int32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - int32_t account_id() const; - void set_account_id(int32_t value); - private: - int32_t _internal_account_id() const; - void _internal_set_account_id(int32_t value); - public: - - // optional int32 rank_old = 2; - bool has_rank_old() const; - private: - bool _internal_has_rank_old() const; - public: - void clear_rank_old(); - int32_t rank_old() const; - void set_rank_old(int32_t value); - private: - int32_t _internal_rank_old() const; - void _internal_set_rank_old(int32_t value); - public: - - // optional int32 rank_new = 3; - bool has_rank_new() const; - private: - bool _internal_has_rank_new() const; - public: - void clear_rank_new(); - int32_t rank_new() const; - void set_rank_new(int32_t value); - private: - int32_t _internal_rank_new() const; - void _internal_set_rank_new(int32_t value); - public: - - // optional int32 num_wins = 4; - bool has_num_wins() const; - private: - bool _internal_has_num_wins() const; - public: - void clear_num_wins(); - int32_t num_wins() const; - void set_num_wins(int32_t value); - private: - int32_t _internal_num_wins() const; - void _internal_set_num_wins(int32_t value); - public: - - // optional float rank_change = 5; - bool has_rank_change() const; - private: - bool _internal_has_rank_change() const; - public: - void clear_rank_change(); - float rank_change() const; - void set_rank_change(float value); - private: - float _internal_rank_change() const; - void _internal_set_rank_change(float value); - public: - - // optional int32 rank_type_id = 6; - bool has_rank_type_id() const; - private: - bool _internal_has_rank_type_id() const; - public: - void clear_rank_type_id(); - int32_t rank_type_id() const; - void set_rank_type_id(int32_t value); - private: - int32_t _internal_rank_type_id() const; - void _internal_set_rank_type_id(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_ServerRankUpdate.RankUpdate) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t account_id_; - int32_t rank_old_; - int32_t rank_new_; - int32_t num_wins_; - float rank_change_; - int32_t rank_type_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_ServerRankUpdate : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ServerRankUpdate) */ { - public: - inline CCSUsrMsg_ServerRankUpdate() : CCSUsrMsg_ServerRankUpdate(nullptr) {} - ~CCSUsrMsg_ServerRankUpdate() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ServerRankUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_ServerRankUpdate(const CCSUsrMsg_ServerRankUpdate& from); - CCSUsrMsg_ServerRankUpdate(CCSUsrMsg_ServerRankUpdate&& from) noexcept - : CCSUsrMsg_ServerRankUpdate() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_ServerRankUpdate& operator=(const CCSUsrMsg_ServerRankUpdate& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_ServerRankUpdate& operator=(CCSUsrMsg_ServerRankUpdate&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_ServerRankUpdate& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_ServerRankUpdate* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_ServerRankUpdate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 48; - - friend void swap(CCSUsrMsg_ServerRankUpdate& a, CCSUsrMsg_ServerRankUpdate& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_ServerRankUpdate* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_ServerRankUpdate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_ServerRankUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_ServerRankUpdate& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_ServerRankUpdate& from) { - CCSUsrMsg_ServerRankUpdate::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_ServerRankUpdate* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_ServerRankUpdate"; - } - protected: - explicit CCSUsrMsg_ServerRankUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CCSUsrMsg_ServerRankUpdate_RankUpdate RankUpdate; - - // accessors ------------------------------------------------------- - - enum : int { - kRankUpdateFieldNumber = 1, - }; - // repeated .CCSUsrMsg_ServerRankUpdate.RankUpdate rank_update = 1; - int rank_update_size() const; - private: - int _internal_rank_update_size() const; - public: - void clear_rank_update(); - ::CCSUsrMsg_ServerRankUpdate_RankUpdate* mutable_rank_update(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ServerRankUpdate_RankUpdate >* - mutable_rank_update(); - private: - const ::CCSUsrMsg_ServerRankUpdate_RankUpdate& _internal_rank_update(int index) const; - ::CCSUsrMsg_ServerRankUpdate_RankUpdate* _internal_add_rank_update(); - public: - const ::CCSUsrMsg_ServerRankUpdate_RankUpdate& rank_update(int index) const; - ::CCSUsrMsg_ServerRankUpdate_RankUpdate* add_rank_update(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ServerRankUpdate_RankUpdate >& - rank_update() const; - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_ServerRankUpdate) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ServerRankUpdate_RankUpdate > rank_update_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_XpUpdate : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_XpUpdate) */ { - public: - inline CCSUsrMsg_XpUpdate() : CCSUsrMsg_XpUpdate(nullptr) {} - ~CCSUsrMsg_XpUpdate() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_XpUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_XpUpdate(const CCSUsrMsg_XpUpdate& from); - CCSUsrMsg_XpUpdate(CCSUsrMsg_XpUpdate&& from) noexcept - : CCSUsrMsg_XpUpdate() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_XpUpdate& operator=(const CCSUsrMsg_XpUpdate& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_XpUpdate& operator=(CCSUsrMsg_XpUpdate&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_XpUpdate& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_XpUpdate* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_XpUpdate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 49; - - friend void swap(CCSUsrMsg_XpUpdate& a, CCSUsrMsg_XpUpdate& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_XpUpdate* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_XpUpdate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_XpUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_XpUpdate& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_XpUpdate& from) { - CCSUsrMsg_XpUpdate::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_XpUpdate* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_XpUpdate"; - } - protected: - explicit CCSUsrMsg_XpUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 1, - }; - // optional .CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded data = 1; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& data() const; - PROTOBUF_NODISCARD ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* release_data(); - ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* mutable_data(); - void set_allocated_data(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* data); - private: - const ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& _internal_data() const; - ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* _internal_mutable_data(); - public: - void unsafe_arena_set_allocated_data( - ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* data); - ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* unsafe_arena_release_data(); - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_XpUpdate) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_ItemPickup : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ItemPickup) */ { - public: - inline CCSUsrMsg_ItemPickup() : CCSUsrMsg_ItemPickup(nullptr) {} - ~CCSUsrMsg_ItemPickup() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ItemPickup(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_ItemPickup(const CCSUsrMsg_ItemPickup& from); - CCSUsrMsg_ItemPickup(CCSUsrMsg_ItemPickup&& from) noexcept - : CCSUsrMsg_ItemPickup() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_ItemPickup& operator=(const CCSUsrMsg_ItemPickup& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_ItemPickup& operator=(CCSUsrMsg_ItemPickup&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_ItemPickup& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_ItemPickup* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_ItemPickup_default_instance_); - } - static constexpr int kIndexInFileMessages = - 50; - - friend void swap(CCSUsrMsg_ItemPickup& a, CCSUsrMsg_ItemPickup& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_ItemPickup* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_ItemPickup* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_ItemPickup* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_ItemPickup& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_ItemPickup& from) { - CCSUsrMsg_ItemPickup::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_ItemPickup* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_ItemPickup"; - } - protected: - explicit CCSUsrMsg_ItemPickup(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemFieldNumber = 1, - }; - // optional string item = 1; - bool has_item() const; - private: - bool _internal_has_item() const; - public: - void clear_item(); - const std::string& item() const; - template - void set_item(ArgT0&& arg0, ArgT... args); - std::string* mutable_item(); - PROTOBUF_NODISCARD std::string* release_item(); - void set_allocated_item(std::string* item); - private: - const std::string& _internal_item() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_item(const std::string& value); - std::string* _internal_mutable_item(); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_ItemPickup) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr item_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_ShowMenu : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ShowMenu) */ { - public: - inline CCSUsrMsg_ShowMenu() : CCSUsrMsg_ShowMenu(nullptr) {} - ~CCSUsrMsg_ShowMenu() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ShowMenu(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_ShowMenu(const CCSUsrMsg_ShowMenu& from); - CCSUsrMsg_ShowMenu(CCSUsrMsg_ShowMenu&& from) noexcept - : CCSUsrMsg_ShowMenu() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_ShowMenu& operator=(const CCSUsrMsg_ShowMenu& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_ShowMenu& operator=(CCSUsrMsg_ShowMenu&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_ShowMenu& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_ShowMenu* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_ShowMenu_default_instance_); - } - static constexpr int kIndexInFileMessages = - 51; - - friend void swap(CCSUsrMsg_ShowMenu& a, CCSUsrMsg_ShowMenu& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_ShowMenu* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_ShowMenu* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_ShowMenu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_ShowMenu& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_ShowMenu& from) { - CCSUsrMsg_ShowMenu::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_ShowMenu* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_ShowMenu"; - } - protected: - explicit CCSUsrMsg_ShowMenu(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMenuStringFieldNumber = 3, - kBitsValidSlotsFieldNumber = 1, - kDisplayTimeFieldNumber = 2, - }; - // optional string menu_string = 3; - bool has_menu_string() const; - private: - bool _internal_has_menu_string() const; - public: - void clear_menu_string(); - const std::string& menu_string() const; - template - void set_menu_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_menu_string(); - PROTOBUF_NODISCARD std::string* release_menu_string(); - void set_allocated_menu_string(std::string* menu_string); - private: - const std::string& _internal_menu_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_menu_string(const std::string& value); - std::string* _internal_mutable_menu_string(); - public: - - // optional int32 bits_valid_slots = 1; - bool has_bits_valid_slots() const; - private: - bool _internal_has_bits_valid_slots() const; - public: - void clear_bits_valid_slots(); - int32_t bits_valid_slots() const; - void set_bits_valid_slots(int32_t value); - private: - int32_t _internal_bits_valid_slots() const; - void _internal_set_bits_valid_slots(int32_t value); - public: - - // optional int32 display_time = 2; - bool has_display_time() const; - private: - bool _internal_has_display_time() const; - public: - void clear_display_time(); - int32_t display_time() const; - void set_display_time(int32_t value); - private: - int32_t _internal_display_time() const; - void _internal_set_display_time(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_ShowMenu) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr menu_string_; - int32_t bits_valid_slots_; - int32_t display_time_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_BarTime : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_BarTime) */ { - public: - inline CCSUsrMsg_BarTime() : CCSUsrMsg_BarTime(nullptr) {} - ~CCSUsrMsg_BarTime() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_BarTime(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_BarTime(const CCSUsrMsg_BarTime& from); - CCSUsrMsg_BarTime(CCSUsrMsg_BarTime&& from) noexcept - : CCSUsrMsg_BarTime() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_BarTime& operator=(const CCSUsrMsg_BarTime& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_BarTime& operator=(CCSUsrMsg_BarTime&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_BarTime& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_BarTime* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_BarTime_default_instance_); - } - static constexpr int kIndexInFileMessages = - 52; - - friend void swap(CCSUsrMsg_BarTime& a, CCSUsrMsg_BarTime& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_BarTime* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_BarTime* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_BarTime* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_BarTime& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_BarTime& from) { - CCSUsrMsg_BarTime::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_BarTime* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_BarTime"; - } - protected: - explicit CCSUsrMsg_BarTime(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTimeFieldNumber = 1, - }; - // optional string time = 1; - bool has_time() const; - private: - bool _internal_has_time() const; - public: - void clear_time(); - const std::string& time() const; - template - void set_time(ArgT0&& arg0, ArgT... args); - std::string* mutable_time(); - PROTOBUF_NODISCARD std::string* release_time(); - void set_allocated_time(std::string* time); - private: - const std::string& _internal_time() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_time(const std::string& value); - std::string* _internal_mutable_time(); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_BarTime) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr time_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_AmmoDenied : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_AmmoDenied) */ { - public: - inline CCSUsrMsg_AmmoDenied() : CCSUsrMsg_AmmoDenied(nullptr) {} - ~CCSUsrMsg_AmmoDenied() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_AmmoDenied(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_AmmoDenied(const CCSUsrMsg_AmmoDenied& from); - CCSUsrMsg_AmmoDenied(CCSUsrMsg_AmmoDenied&& from) noexcept - : CCSUsrMsg_AmmoDenied() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_AmmoDenied& operator=(const CCSUsrMsg_AmmoDenied& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_AmmoDenied& operator=(CCSUsrMsg_AmmoDenied&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_AmmoDenied& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_AmmoDenied* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_AmmoDenied_default_instance_); - } - static constexpr int kIndexInFileMessages = - 53; - - friend void swap(CCSUsrMsg_AmmoDenied& a, CCSUsrMsg_AmmoDenied& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_AmmoDenied* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_AmmoDenied* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_AmmoDenied* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_AmmoDenied& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_AmmoDenied& from) { - CCSUsrMsg_AmmoDenied::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_AmmoDenied* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_AmmoDenied"; - } - protected: - explicit CCSUsrMsg_AmmoDenied(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAmmoidxFieldNumber = 1, - }; - // optional int32 ammoidx = 1; - bool has_ammoidx() const; - private: - bool _internal_has_ammoidx() const; - public: - void clear_ammoidx(); - int32_t ammoidx() const; - void set_ammoidx(int32_t value); - private: - int32_t _internal_ammoidx() const; - void _internal_set_ammoidx(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_AmmoDenied) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t ammoidx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_MarkAchievement : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_MarkAchievement) */ { - public: - inline CCSUsrMsg_MarkAchievement() : CCSUsrMsg_MarkAchievement(nullptr) {} - ~CCSUsrMsg_MarkAchievement() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_MarkAchievement(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_MarkAchievement(const CCSUsrMsg_MarkAchievement& from); - CCSUsrMsg_MarkAchievement(CCSUsrMsg_MarkAchievement&& from) noexcept - : CCSUsrMsg_MarkAchievement() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_MarkAchievement& operator=(const CCSUsrMsg_MarkAchievement& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_MarkAchievement& operator=(CCSUsrMsg_MarkAchievement&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_MarkAchievement& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_MarkAchievement* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_MarkAchievement_default_instance_); - } - static constexpr int kIndexInFileMessages = - 54; - - friend void swap(CCSUsrMsg_MarkAchievement& a, CCSUsrMsg_MarkAchievement& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_MarkAchievement* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_MarkAchievement* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_MarkAchievement* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_MarkAchievement& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_MarkAchievement& from) { - CCSUsrMsg_MarkAchievement::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_MarkAchievement* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_MarkAchievement"; - } - protected: - explicit CCSUsrMsg_MarkAchievement(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAchievementFieldNumber = 1, - }; - // optional string achievement = 1; - bool has_achievement() const; - private: - bool _internal_has_achievement() const; - public: - void clear_achievement(); - const std::string& achievement() const; - template - void set_achievement(ArgT0&& arg0, ArgT... args); - std::string* mutable_achievement(); - PROTOBUF_NODISCARD std::string* release_achievement(); - void set_allocated_achievement(std::string* achievement); - private: - const std::string& _internal_achievement() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_achievement(const std::string& value); - std::string* _internal_mutable_achievement(); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_MarkAchievement) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr achievement_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_MatchStatsUpdate : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_MatchStatsUpdate) */ { - public: - inline CCSUsrMsg_MatchStatsUpdate() : CCSUsrMsg_MatchStatsUpdate(nullptr) {} - ~CCSUsrMsg_MatchStatsUpdate() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_MatchStatsUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_MatchStatsUpdate(const CCSUsrMsg_MatchStatsUpdate& from); - CCSUsrMsg_MatchStatsUpdate(CCSUsrMsg_MatchStatsUpdate&& from) noexcept - : CCSUsrMsg_MatchStatsUpdate() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_MatchStatsUpdate& operator=(const CCSUsrMsg_MatchStatsUpdate& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_MatchStatsUpdate& operator=(CCSUsrMsg_MatchStatsUpdate&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_MatchStatsUpdate& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_MatchStatsUpdate* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_MatchStatsUpdate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 55; - - friend void swap(CCSUsrMsg_MatchStatsUpdate& a, CCSUsrMsg_MatchStatsUpdate& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_MatchStatsUpdate* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_MatchStatsUpdate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_MatchStatsUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_MatchStatsUpdate& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_MatchStatsUpdate& from) { - CCSUsrMsg_MatchStatsUpdate::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_MatchStatsUpdate* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_MatchStatsUpdate"; - } - protected: - explicit CCSUsrMsg_MatchStatsUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kUpdateFieldNumber = 1, - }; - // optional string update = 1; - bool has_update() const; - private: - bool _internal_has_update() const; - public: - void clear_update(); - const std::string& update() const; - template - void set_update(ArgT0&& arg0, ArgT... args); - std::string* mutable_update(); - PROTOBUF_NODISCARD std::string* release_update(); - void set_allocated_update(std::string* update); - private: - const std::string& _internal_update() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_update(const std::string& value); - std::string* _internal_mutable_update(); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_MatchStatsUpdate) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr update_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_ItemDrop : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ItemDrop) */ { - public: - inline CCSUsrMsg_ItemDrop() : CCSUsrMsg_ItemDrop(nullptr) {} - ~CCSUsrMsg_ItemDrop() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ItemDrop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_ItemDrop(const CCSUsrMsg_ItemDrop& from); - CCSUsrMsg_ItemDrop(CCSUsrMsg_ItemDrop&& from) noexcept - : CCSUsrMsg_ItemDrop() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_ItemDrop& operator=(const CCSUsrMsg_ItemDrop& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_ItemDrop& operator=(CCSUsrMsg_ItemDrop&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_ItemDrop& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_ItemDrop* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_ItemDrop_default_instance_); - } - static constexpr int kIndexInFileMessages = - 56; - - friend void swap(CCSUsrMsg_ItemDrop& a, CCSUsrMsg_ItemDrop& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_ItemDrop* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_ItemDrop* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_ItemDrop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_ItemDrop& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_ItemDrop& from) { - CCSUsrMsg_ItemDrop::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_ItemDrop* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_ItemDrop"; - } - protected: - explicit CCSUsrMsg_ItemDrop(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemidFieldNumber = 1, - kDeathFieldNumber = 2, - }; - // optional int64 itemid = 1; - bool has_itemid() const; - private: - bool _internal_has_itemid() const; - public: - void clear_itemid(); - int64_t itemid() const; - void set_itemid(int64_t value); - private: - int64_t _internal_itemid() const; - void _internal_set_itemid(int64_t value); - public: - - // optional bool death = 2; - bool has_death() const; - private: - bool _internal_has_death() const; - public: - void clear_death(); - bool death() const; - void set_death(bool value); - private: - bool _internal_death() const; - void _internal_set_death(bool value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_ItemDrop) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int64_t itemid_; - bool death_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_RoundBackupFilenames : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RoundBackupFilenames) */ { - public: - inline CCSUsrMsg_RoundBackupFilenames() : CCSUsrMsg_RoundBackupFilenames(nullptr) {} - ~CCSUsrMsg_RoundBackupFilenames() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RoundBackupFilenames(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_RoundBackupFilenames(const CCSUsrMsg_RoundBackupFilenames& from); - CCSUsrMsg_RoundBackupFilenames(CCSUsrMsg_RoundBackupFilenames&& from) noexcept - : CCSUsrMsg_RoundBackupFilenames() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_RoundBackupFilenames& operator=(const CCSUsrMsg_RoundBackupFilenames& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_RoundBackupFilenames& operator=(CCSUsrMsg_RoundBackupFilenames&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_RoundBackupFilenames& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_RoundBackupFilenames* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_RoundBackupFilenames_default_instance_); - } - static constexpr int kIndexInFileMessages = - 57; - - friend void swap(CCSUsrMsg_RoundBackupFilenames& a, CCSUsrMsg_RoundBackupFilenames& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_RoundBackupFilenames* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_RoundBackupFilenames* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_RoundBackupFilenames* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_RoundBackupFilenames& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_RoundBackupFilenames& from) { - CCSUsrMsg_RoundBackupFilenames::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_RoundBackupFilenames* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_RoundBackupFilenames"; - } - protected: - explicit CCSUsrMsg_RoundBackupFilenames(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFilenameFieldNumber = 3, - kNicenameFieldNumber = 4, - kCountFieldNumber = 1, - kIndexFieldNumber = 2, - }; - // optional string filename = 3; - bool has_filename() const; - private: - bool _internal_has_filename() const; - public: - void clear_filename(); - const std::string& filename() const; - template - void set_filename(ArgT0&& arg0, ArgT... args); - std::string* mutable_filename(); - PROTOBUF_NODISCARD std::string* release_filename(); - void set_allocated_filename(std::string* filename); - private: - const std::string& _internal_filename() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_filename(const std::string& value); - std::string* _internal_mutable_filename(); - public: - - // optional string nicename = 4; - bool has_nicename() const; - private: - bool _internal_has_nicename() const; - public: - void clear_nicename(); - const std::string& nicename() const; - template - void set_nicename(ArgT0&& arg0, ArgT... args); - std::string* mutable_nicename(); - PROTOBUF_NODISCARD std::string* release_nicename(); - void set_allocated_nicename(std::string* nicename); - private: - const std::string& _internal_nicename() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_nicename(const std::string& value); - std::string* _internal_mutable_nicename(); - public: - - // optional int32 count = 1; - bool has_count() const; - private: - bool _internal_has_count() const; - public: - void clear_count(); - int32_t count() const; - void set_count(int32_t value); - private: - int32_t _internal_count() const; - void _internal_set_count(int32_t value); - public: - - // optional int32 index = 2; - bool has_index() const; - private: - bool _internal_has_index() const; - public: - void clear_index(); - int32_t index() const; - void set_index(int32_t value); - private: - int32_t _internal_index() const; - void _internal_set_index(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_RoundBackupFilenames) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nicename_; - int32_t count_; - int32_t index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_SSUI : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SSUI) */ { - public: - inline CCSUsrMsg_SSUI() : CCSUsrMsg_SSUI(nullptr) {} - ~CCSUsrMsg_SSUI() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SSUI(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_SSUI(const CCSUsrMsg_SSUI& from); - CCSUsrMsg_SSUI(CCSUsrMsg_SSUI&& from) noexcept - : CCSUsrMsg_SSUI() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_SSUI& operator=(const CCSUsrMsg_SSUI& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_SSUI& operator=(CCSUsrMsg_SSUI&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_SSUI& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_SSUI* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_SSUI_default_instance_); - } - static constexpr int kIndexInFileMessages = - 58; - - friend void swap(CCSUsrMsg_SSUI& a, CCSUsrMsg_SSUI& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_SSUI* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_SSUI* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_SSUI* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_SSUI& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_SSUI& from) { - CCSUsrMsg_SSUI::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_SSUI* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_SSUI"; - } - protected: - explicit CCSUsrMsg_SSUI(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kShowFieldNumber = 1, - kStartTimeFieldNumber = 2, - kEndTimeFieldNumber = 3, - }; - // optional bool show = 1; - bool has_show() const; - private: - bool _internal_has_show() const; - public: - void clear_show(); - bool show() const; - void set_show(bool value); - private: - bool _internal_show() const; - void _internal_set_show(bool value); - public: - - // optional float start_time = 2; - bool has_start_time() const; - private: - bool _internal_has_start_time() const; - public: - void clear_start_time(); - float start_time() const; - void set_start_time(float value); - private: - float _internal_start_time() const; - void _internal_set_start_time(float value); - public: - - // optional float end_time = 3; - bool has_end_time() const; - private: - bool _internal_has_end_time() const; - public: - void clear_end_time(); - float end_time() const; - void set_end_time(float value); - private: - float _internal_end_time() const; - void _internal_set_end_time(float value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_SSUI) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool show_; - float start_time_; - float end_time_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_SurvivalStats_Fact : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SurvivalStats.Fact) */ { - public: - inline CCSUsrMsg_SurvivalStats_Fact() : CCSUsrMsg_SurvivalStats_Fact(nullptr) {} - ~CCSUsrMsg_SurvivalStats_Fact() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats_Fact(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_SurvivalStats_Fact(const CCSUsrMsg_SurvivalStats_Fact& from); - CCSUsrMsg_SurvivalStats_Fact(CCSUsrMsg_SurvivalStats_Fact&& from) noexcept - : CCSUsrMsg_SurvivalStats_Fact() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_SurvivalStats_Fact& operator=(const CCSUsrMsg_SurvivalStats_Fact& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_SurvivalStats_Fact& operator=(CCSUsrMsg_SurvivalStats_Fact&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_SurvivalStats_Fact& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_SurvivalStats_Fact* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_SurvivalStats_Fact_default_instance_); - } - static constexpr int kIndexInFileMessages = - 59; - - friend void swap(CCSUsrMsg_SurvivalStats_Fact& a, CCSUsrMsg_SurvivalStats_Fact& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_SurvivalStats_Fact* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_SurvivalStats_Fact* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_SurvivalStats_Fact* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_SurvivalStats_Fact& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_SurvivalStats_Fact& from) { - CCSUsrMsg_SurvivalStats_Fact::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_SurvivalStats_Fact* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_SurvivalStats.Fact"; - } - protected: - explicit CCSUsrMsg_SurvivalStats_Fact(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTypeFieldNumber = 1, - kDisplayFieldNumber = 2, - kValueFieldNumber = 3, - kInterestingnessFieldNumber = 4, - }; - // optional int32 type = 1; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - int32_t type() const; - void set_type(int32_t value); - private: - int32_t _internal_type() const; - void _internal_set_type(int32_t value); - public: - - // optional int32 display = 2; - bool has_display() const; - private: - bool _internal_has_display() const; - public: - void clear_display(); - int32_t display() const; - void set_display(int32_t value); - private: - int32_t _internal_display() const; - void _internal_set_display(int32_t value); - public: - - // optional int32 value = 3; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - int32_t value() const; - void set_value(int32_t value); - private: - int32_t _internal_value() const; - void _internal_set_value(int32_t value); - public: - - // optional float interestingness = 4; - bool has_interestingness() const; - private: - bool _internal_has_interestingness() const; - public: - void clear_interestingness(); - float interestingness() const; - void set_interestingness(float value); - private: - float _internal_interestingness() const; - void _internal_set_interestingness(float value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_SurvivalStats.Fact) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t type_; - int32_t display_; - int32_t value_; - float interestingness_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_SurvivalStats_Placement : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SurvivalStats.Placement) */ { - public: - inline CCSUsrMsg_SurvivalStats_Placement() : CCSUsrMsg_SurvivalStats_Placement(nullptr) {} - ~CCSUsrMsg_SurvivalStats_Placement() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats_Placement(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_SurvivalStats_Placement(const CCSUsrMsg_SurvivalStats_Placement& from); - CCSUsrMsg_SurvivalStats_Placement(CCSUsrMsg_SurvivalStats_Placement&& from) noexcept - : CCSUsrMsg_SurvivalStats_Placement() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_SurvivalStats_Placement& operator=(const CCSUsrMsg_SurvivalStats_Placement& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_SurvivalStats_Placement& operator=(CCSUsrMsg_SurvivalStats_Placement&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_SurvivalStats_Placement& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_SurvivalStats_Placement* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_SurvivalStats_Placement_default_instance_); - } - static constexpr int kIndexInFileMessages = - 60; - - friend void swap(CCSUsrMsg_SurvivalStats_Placement& a, CCSUsrMsg_SurvivalStats_Placement& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_SurvivalStats_Placement* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_SurvivalStats_Placement* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_SurvivalStats_Placement* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_SurvivalStats_Placement& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_SurvivalStats_Placement& from) { - CCSUsrMsg_SurvivalStats_Placement::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_SurvivalStats_Placement* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_SurvivalStats.Placement"; - } - protected: - explicit CCSUsrMsg_SurvivalStats_Placement(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kXuidFieldNumber = 1, - kTeamnumberFieldNumber = 2, - kPlacementFieldNumber = 3, - }; - // optional uint64 xuid = 1; - bool has_xuid() const; - private: - bool _internal_has_xuid() const; - public: - void clear_xuid(); - uint64_t xuid() const; - void set_xuid(uint64_t value); - private: - uint64_t _internal_xuid() const; - void _internal_set_xuid(uint64_t value); - public: - - // optional int32 teamnumber = 2; - bool has_teamnumber() const; - private: - bool _internal_has_teamnumber() const; - public: - void clear_teamnumber(); - int32_t teamnumber() const; - void set_teamnumber(int32_t value); - private: - int32_t _internal_teamnumber() const; - void _internal_set_teamnumber(int32_t value); - public: - - // optional int32 placement = 3; - bool has_placement() const; - private: - bool _internal_has_placement() const; - public: - void clear_placement(); - int32_t placement() const; - void set_placement(int32_t value); - private: - int32_t _internal_placement() const; - void _internal_set_placement(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_SurvivalStats.Placement) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t xuid_; - int32_t teamnumber_; - int32_t placement_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_SurvivalStats_Damage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SurvivalStats.Damage) */ { - public: - inline CCSUsrMsg_SurvivalStats_Damage() : CCSUsrMsg_SurvivalStats_Damage(nullptr) {} - ~CCSUsrMsg_SurvivalStats_Damage() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats_Damage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_SurvivalStats_Damage(const CCSUsrMsg_SurvivalStats_Damage& from); - CCSUsrMsg_SurvivalStats_Damage(CCSUsrMsg_SurvivalStats_Damage&& from) noexcept - : CCSUsrMsg_SurvivalStats_Damage() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_SurvivalStats_Damage& operator=(const CCSUsrMsg_SurvivalStats_Damage& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_SurvivalStats_Damage& operator=(CCSUsrMsg_SurvivalStats_Damage&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_SurvivalStats_Damage& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_SurvivalStats_Damage* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_SurvivalStats_Damage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 61; - - friend void swap(CCSUsrMsg_SurvivalStats_Damage& a, CCSUsrMsg_SurvivalStats_Damage& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_SurvivalStats_Damage* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_SurvivalStats_Damage* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_SurvivalStats_Damage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_SurvivalStats_Damage& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_SurvivalStats_Damage& from) { - CCSUsrMsg_SurvivalStats_Damage::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_SurvivalStats_Damage* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_SurvivalStats.Damage"; - } - protected: - explicit CCSUsrMsg_SurvivalStats_Damage(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kXuidFieldNumber = 1, - kToFieldNumber = 2, - kToHitsFieldNumber = 3, - kFromFieldNumber = 4, - kFromHitsFieldNumber = 5, - }; - // optional uint64 xuid = 1; - bool has_xuid() const; - private: - bool _internal_has_xuid() const; - public: - void clear_xuid(); - uint64_t xuid() const; - void set_xuid(uint64_t value); - private: - uint64_t _internal_xuid() const; - void _internal_set_xuid(uint64_t value); - public: - - // optional int32 to = 2; - bool has_to() const; - private: - bool _internal_has_to() const; - public: - void clear_to(); - int32_t to() const; - void set_to(int32_t value); - private: - int32_t _internal_to() const; - void _internal_set_to(int32_t value); - public: - - // optional int32 to_hits = 3; - bool has_to_hits() const; - private: - bool _internal_has_to_hits() const; - public: - void clear_to_hits(); - int32_t to_hits() const; - void set_to_hits(int32_t value); - private: - int32_t _internal_to_hits() const; - void _internal_set_to_hits(int32_t value); - public: - - // optional int32 from = 4; - bool has_from() const; - private: - bool _internal_has_from() const; - public: - void clear_from(); - int32_t from() const; - void set_from(int32_t value); - private: - int32_t _internal_from() const; - void _internal_set_from(int32_t value); - public: - - // optional int32 from_hits = 5; - bool has_from_hits() const; - private: - bool _internal_has_from_hits() const; - public: - void clear_from_hits(); - int32_t from_hits() const; - void set_from_hits(int32_t value); - private: - int32_t _internal_from_hits() const; - void _internal_set_from_hits(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_SurvivalStats.Damage) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t xuid_; - int32_t to_; - int32_t to_hits_; - int32_t from_; - int32_t from_hits_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_SurvivalStats : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SurvivalStats) */ { - public: - inline CCSUsrMsg_SurvivalStats() : CCSUsrMsg_SurvivalStats(nullptr) {} - ~CCSUsrMsg_SurvivalStats() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SurvivalStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_SurvivalStats(const CCSUsrMsg_SurvivalStats& from); - CCSUsrMsg_SurvivalStats(CCSUsrMsg_SurvivalStats&& from) noexcept - : CCSUsrMsg_SurvivalStats() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_SurvivalStats& operator=(const CCSUsrMsg_SurvivalStats& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_SurvivalStats& operator=(CCSUsrMsg_SurvivalStats&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_SurvivalStats& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_SurvivalStats* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_SurvivalStats_default_instance_); - } - static constexpr int kIndexInFileMessages = - 62; - - friend void swap(CCSUsrMsg_SurvivalStats& a, CCSUsrMsg_SurvivalStats& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_SurvivalStats* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_SurvivalStats* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_SurvivalStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_SurvivalStats& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_SurvivalStats& from) { - CCSUsrMsg_SurvivalStats::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_SurvivalStats* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_SurvivalStats"; - } - protected: - explicit CCSUsrMsg_SurvivalStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CCSUsrMsg_SurvivalStats_Fact Fact; - typedef CCSUsrMsg_SurvivalStats_Placement Placement; - typedef CCSUsrMsg_SurvivalStats_Damage Damage; - - // accessors ------------------------------------------------------- - - enum : int { - kFactsFieldNumber = 2, - kUsersFieldNumber = 3, - kDamagesFieldNumber = 5, - kXuidFieldNumber = 1, - kTicknumberFieldNumber = 4, - }; - // repeated .CCSUsrMsg_SurvivalStats.Fact facts = 2; - int facts_size() const; - private: - int _internal_facts_size() const; - public: - void clear_facts(); - ::CCSUsrMsg_SurvivalStats_Fact* mutable_facts(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Fact >* - mutable_facts(); - private: - const ::CCSUsrMsg_SurvivalStats_Fact& _internal_facts(int index) const; - ::CCSUsrMsg_SurvivalStats_Fact* _internal_add_facts(); - public: - const ::CCSUsrMsg_SurvivalStats_Fact& facts(int index) const; - ::CCSUsrMsg_SurvivalStats_Fact* add_facts(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Fact >& - facts() const; - - // repeated .CCSUsrMsg_SurvivalStats.Placement users = 3; - int users_size() const; - private: - int _internal_users_size() const; - public: - void clear_users(); - ::CCSUsrMsg_SurvivalStats_Placement* mutable_users(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Placement >* - mutable_users(); - private: - const ::CCSUsrMsg_SurvivalStats_Placement& _internal_users(int index) const; - ::CCSUsrMsg_SurvivalStats_Placement* _internal_add_users(); - public: - const ::CCSUsrMsg_SurvivalStats_Placement& users(int index) const; - ::CCSUsrMsg_SurvivalStats_Placement* add_users(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Placement >& - users() const; - - // repeated .CCSUsrMsg_SurvivalStats.Damage damages = 5; - int damages_size() const; - private: - int _internal_damages_size() const; - public: - void clear_damages(); - ::CCSUsrMsg_SurvivalStats_Damage* mutable_damages(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Damage >* - mutable_damages(); - private: - const ::CCSUsrMsg_SurvivalStats_Damage& _internal_damages(int index) const; - ::CCSUsrMsg_SurvivalStats_Damage* _internal_add_damages(); - public: - const ::CCSUsrMsg_SurvivalStats_Damage& damages(int index) const; - ::CCSUsrMsg_SurvivalStats_Damage* add_damages(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Damage >& - damages() const; - - // optional uint64 xuid = 1; - bool has_xuid() const; - private: - bool _internal_has_xuid() const; - public: - void clear_xuid(); - uint64_t xuid() const; - void set_xuid(uint64_t value); - private: - uint64_t _internal_xuid() const; - void _internal_set_xuid(uint64_t value); - public: - - // optional int32 ticknumber = 4; - bool has_ticknumber() const; - private: - bool _internal_has_ticknumber() const; - public: - void clear_ticknumber(); - int32_t ticknumber() const; - void set_ticknumber(int32_t value); - private: - int32_t _internal_ticknumber() const; - void _internal_set_ticknumber(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_SurvivalStats) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Fact > facts_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Placement > users_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Damage > damages_; - uint64_t xuid_; - int32_t ticknumber_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_EndOfMatchAllPlayersData_Accolade : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) */ { - public: - inline CCSUsrMsg_EndOfMatchAllPlayersData_Accolade() : CCSUsrMsg_EndOfMatchAllPlayersData_Accolade(nullptr) {} - ~CCSUsrMsg_EndOfMatchAllPlayersData_Accolade() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_EndOfMatchAllPlayersData_Accolade(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_EndOfMatchAllPlayersData_Accolade(const CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& from); - CCSUsrMsg_EndOfMatchAllPlayersData_Accolade(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade&& from) noexcept - : CCSUsrMsg_EndOfMatchAllPlayersData_Accolade() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& operator=(const CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& operator=(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_EndOfMatchAllPlayersData_Accolade_default_instance_); - } - static constexpr int kIndexInFileMessages = - 63; - - friend void swap(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& a, CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& from) { - CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_EndOfMatchAllPlayersData.Accolade"; - } - protected: - explicit CCSUsrMsg_EndOfMatchAllPlayersData_Accolade(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEaccoladeFieldNumber = 1, - kValueFieldNumber = 2, - kPositionFieldNumber = 3, - }; - // optional int32 eaccolade = 1; - bool has_eaccolade() const; - private: - bool _internal_has_eaccolade() const; - public: - void clear_eaccolade(); - int32_t eaccolade() const; - void set_eaccolade(int32_t value); - private: - int32_t _internal_eaccolade() const; - void _internal_set_eaccolade(int32_t value); - public: - - // optional float value = 2; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - float value() const; - void set_value(float value); - private: - float _internal_value() const; - void _internal_set_value(float value); - public: - - // optional int32 position = 3; - bool has_position() const; - private: - bool _internal_has_position() const; - public: - void clear_position(); - int32_t position() const; - void set_position(int32_t value); - private: - int32_t _internal_position() const; - void _internal_set_position(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t eaccolade_; - float value_; - int32_t position_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) */ { - public: - inline CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData() : CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData(nullptr) {} - ~CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData(const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& from); - CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData&& from) noexcept - : CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& operator=(const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& operator=(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 64; - - friend void swap(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& a, CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& from) { - CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData"; - } - protected: - explicit CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemsFieldNumber = 6, - kNameFieldNumber = 3, - kNominationFieldNumber = 5, - kXuidFieldNumber = 2, - kTeamnumberFieldNumber = 4, - kPlayercolorFieldNumber = 7, - kIsbotFieldNumber = 8, - kSlotFieldNumber = 1, - }; - // repeated .CEconItemPreviewDataBlock items = 6; - int items_size() const; - private: - int _internal_items_size() const; - public: - void clear_items(); - ::CEconItemPreviewDataBlock* mutable_items(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock >* - mutable_items(); - private: - const ::CEconItemPreviewDataBlock& _internal_items(int index) const; - ::CEconItemPreviewDataBlock* _internal_add_items(); - public: - const ::CEconItemPreviewDataBlock& items(int index) const; - ::CEconItemPreviewDataBlock* add_items(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock >& - items() const; - - // optional string name = 3; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional .CCSUsrMsg_EndOfMatchAllPlayersData.Accolade nomination = 5; - bool has_nomination() const; - private: - bool _internal_has_nomination() const; - public: - void clear_nomination(); - const ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& nomination() const; - PROTOBUF_NODISCARD ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* release_nomination(); - ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* mutable_nomination(); - void set_allocated_nomination(::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* nomination); - private: - const ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& _internal_nomination() const; - ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* _internal_mutable_nomination(); - public: - void unsafe_arena_set_allocated_nomination( - ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* nomination); - ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* unsafe_arena_release_nomination(); - - // optional uint64 xuid = 2; - bool has_xuid() const; - private: - bool _internal_has_xuid() const; - public: - void clear_xuid(); - uint64_t xuid() const; - void set_xuid(uint64_t value); - private: - uint64_t _internal_xuid() const; - void _internal_set_xuid(uint64_t value); - public: - - // optional int32 teamnumber = 4; - bool has_teamnumber() const; - private: - bool _internal_has_teamnumber() const; - public: - void clear_teamnumber(); - int32_t teamnumber() const; - void set_teamnumber(int32_t value); - private: - int32_t _internal_teamnumber() const; - void _internal_set_teamnumber(int32_t value); - public: - - // optional int32 playercolor = 7; - bool has_playercolor() const; - private: - bool _internal_has_playercolor() const; - public: - void clear_playercolor(); - int32_t playercolor() const; - void set_playercolor(int32_t value); - private: - int32_t _internal_playercolor() const; - void _internal_set_playercolor(int32_t value); - public: - - // optional bool isbot = 8; - bool has_isbot() const; - private: - bool _internal_has_isbot() const; - public: - void clear_isbot(); - bool isbot() const; - void set_isbot(bool value); - private: - bool _internal_isbot() const; - void _internal_set_isbot(bool value); - public: - - // optional int32 slot = 1 [default = -1]; - bool has_slot() const; - private: - bool _internal_has_slot() const; - public: - void clear_slot(); - int32_t slot() const; - void set_slot(int32_t value); - private: - int32_t _internal_slot() const; - void _internal_set_slot(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock > items_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* nomination_; - uint64_t xuid_; - int32_t teamnumber_; - int32_t playercolor_; - bool isbot_; - int32_t slot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_EndOfMatchAllPlayersData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_EndOfMatchAllPlayersData) */ { - public: - inline CCSUsrMsg_EndOfMatchAllPlayersData() : CCSUsrMsg_EndOfMatchAllPlayersData(nullptr) {} - ~CCSUsrMsg_EndOfMatchAllPlayersData() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_EndOfMatchAllPlayersData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_EndOfMatchAllPlayersData(const CCSUsrMsg_EndOfMatchAllPlayersData& from); - CCSUsrMsg_EndOfMatchAllPlayersData(CCSUsrMsg_EndOfMatchAllPlayersData&& from) noexcept - : CCSUsrMsg_EndOfMatchAllPlayersData() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_EndOfMatchAllPlayersData& operator=(const CCSUsrMsg_EndOfMatchAllPlayersData& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_EndOfMatchAllPlayersData& operator=(CCSUsrMsg_EndOfMatchAllPlayersData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_EndOfMatchAllPlayersData& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_EndOfMatchAllPlayersData* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_EndOfMatchAllPlayersData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 65; - - friend void swap(CCSUsrMsg_EndOfMatchAllPlayersData& a, CCSUsrMsg_EndOfMatchAllPlayersData& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_EndOfMatchAllPlayersData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_EndOfMatchAllPlayersData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_EndOfMatchAllPlayersData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_EndOfMatchAllPlayersData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_EndOfMatchAllPlayersData& from) { - CCSUsrMsg_EndOfMatchAllPlayersData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_EndOfMatchAllPlayersData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_EndOfMatchAllPlayersData"; - } - protected: - explicit CCSUsrMsg_EndOfMatchAllPlayersData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CCSUsrMsg_EndOfMatchAllPlayersData_Accolade Accolade; - typedef CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData PlayerData; - - // accessors ------------------------------------------------------- - - enum : int { - kAllplayerdataFieldNumber = 1, - kSceneFieldNumber = 2, - }; - // repeated .CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData allplayerdata = 1; - int allplayerdata_size() const; - private: - int _internal_allplayerdata_size() const; - public: - void clear_allplayerdata(); - ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* mutable_allplayerdata(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData >* - mutable_allplayerdata(); - private: - const ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& _internal_allplayerdata(int index) const; - ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* _internal_add_allplayerdata(); - public: - const ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& allplayerdata(int index) const; - ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* add_allplayerdata(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData >& - allplayerdata() const; - - // optional int32 scene = 2; - bool has_scene() const; - private: - bool _internal_has_scene() const; - public: - void clear_scene(); - int32_t scene() const; - void set_scene(int32_t value); - private: - int32_t _internal_scene() const; - void _internal_set_scene(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_EndOfMatchAllPlayersData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData > allplayerdata_; - int32_t scene_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_RoundEndReportData_RerEvent_Victim : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) */ { - public: - inline CCSUsrMsg_RoundEndReportData_RerEvent_Victim() : CCSUsrMsg_RoundEndReportData_RerEvent_Victim(nullptr) {} - ~CCSUsrMsg_RoundEndReportData_RerEvent_Victim() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent_Victim(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_RoundEndReportData_RerEvent_Victim(const CCSUsrMsg_RoundEndReportData_RerEvent_Victim& from); - CCSUsrMsg_RoundEndReportData_RerEvent_Victim(CCSUsrMsg_RoundEndReportData_RerEvent_Victim&& from) noexcept - : CCSUsrMsg_RoundEndReportData_RerEvent_Victim() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_RoundEndReportData_RerEvent_Victim& operator=(const CCSUsrMsg_RoundEndReportData_RerEvent_Victim& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_RoundEndReportData_RerEvent_Victim& operator=(CCSUsrMsg_RoundEndReportData_RerEvent_Victim&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_RoundEndReportData_RerEvent_Victim& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_RoundEndReportData_RerEvent_Victim* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_RoundEndReportData_RerEvent_Victim_default_instance_); - } - static constexpr int kIndexInFileMessages = - 66; - - friend void swap(CCSUsrMsg_RoundEndReportData_RerEvent_Victim& a, CCSUsrMsg_RoundEndReportData_RerEvent_Victim& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_RoundEndReportData_RerEvent_Victim* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_RoundEndReportData_RerEvent_Victim* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_RoundEndReportData_RerEvent_Victim* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_RoundEndReportData_RerEvent_Victim& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_RoundEndReportData_RerEvent_Victim& from) { - CCSUsrMsg_RoundEndReportData_RerEvent_Victim::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_RoundEndReportData_RerEvent_Victim* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_RoundEndReportData.RerEvent.Victim"; - } - protected: - explicit CCSUsrMsg_RoundEndReportData_RerEvent_Victim(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTeamNumberFieldNumber = 1, - kColorFieldNumber = 4, - kXuidFieldNumber = 3, - kIsBotFieldNumber = 5, - kIsDeadFieldNumber = 6, - kPlayerslotFieldNumber = 2, - }; - // optional int32 team_number = 1; - bool has_team_number() const; - private: - bool _internal_has_team_number() const; - public: - void clear_team_number(); - int32_t team_number() const; - void set_team_number(int32_t value); - private: - int32_t _internal_team_number() const; - void _internal_set_team_number(int32_t value); - public: - - // optional int32 color = 4; - bool has_color() const; - private: - bool _internal_has_color() const; - public: - void clear_color(); - int32_t color() const; - void set_color(int32_t value); - private: - int32_t _internal_color() const; - void _internal_set_color(int32_t value); - public: - - // optional uint64 xuid = 3; - bool has_xuid() const; - private: - bool _internal_has_xuid() const; - public: - void clear_xuid(); - uint64_t xuid() const; - void set_xuid(uint64_t value); - private: - uint64_t _internal_xuid() const; - void _internal_set_xuid(uint64_t value); - public: - - // optional bool is_bot = 5; - bool has_is_bot() const; - private: - bool _internal_has_is_bot() const; - public: - void clear_is_bot(); - bool is_bot() const; - void set_is_bot(bool value); - private: - bool _internal_is_bot() const; - void _internal_set_is_bot(bool value); - public: - - // optional bool is_dead = 6; - bool has_is_dead() const; - private: - bool _internal_has_is_dead() const; - public: - void clear_is_dead(); - bool is_dead() const; - void set_is_dead(bool value); - private: - bool _internal_is_dead() const; - void _internal_set_is_dead(bool value); - public: - - // optional int32 playerslot = 2 [default = -1]; - bool has_playerslot() const; - private: - bool _internal_has_playerslot() const; - public: - void clear_playerslot(); - int32_t playerslot() const; - void set_playerslot(int32_t value); - private: - int32_t _internal_playerslot() const; - void _internal_set_playerslot(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_RoundEndReportData.RerEvent.Victim) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t team_number_; - int32_t color_; - uint64_t xuid_; - bool is_bot_; - bool is_dead_; - int32_t playerslot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_RoundEndReportData_RerEvent_Objective : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) */ { - public: - inline CCSUsrMsg_RoundEndReportData_RerEvent_Objective() : CCSUsrMsg_RoundEndReportData_RerEvent_Objective(nullptr) {} - ~CCSUsrMsg_RoundEndReportData_RerEvent_Objective() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent_Objective(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_RoundEndReportData_RerEvent_Objective(const CCSUsrMsg_RoundEndReportData_RerEvent_Objective& from); - CCSUsrMsg_RoundEndReportData_RerEvent_Objective(CCSUsrMsg_RoundEndReportData_RerEvent_Objective&& from) noexcept - : CCSUsrMsg_RoundEndReportData_RerEvent_Objective() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_RoundEndReportData_RerEvent_Objective& operator=(const CCSUsrMsg_RoundEndReportData_RerEvent_Objective& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_RoundEndReportData_RerEvent_Objective& operator=(CCSUsrMsg_RoundEndReportData_RerEvent_Objective&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_RoundEndReportData_RerEvent_Objective& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_RoundEndReportData_RerEvent_Objective* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_RoundEndReportData_RerEvent_Objective_default_instance_); - } - static constexpr int kIndexInFileMessages = - 67; - - friend void swap(CCSUsrMsg_RoundEndReportData_RerEvent_Objective& a, CCSUsrMsg_RoundEndReportData_RerEvent_Objective& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_RoundEndReportData_RerEvent_Objective* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_RoundEndReportData_RerEvent_Objective* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_RoundEndReportData_RerEvent_Objective* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_RoundEndReportData_RerEvent_Objective& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_RoundEndReportData_RerEvent_Objective& from) { - CCSUsrMsg_RoundEndReportData_RerEvent_Objective::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_RoundEndReportData_RerEvent_Objective* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_RoundEndReportData.RerEvent.Objective"; - } - protected: - explicit CCSUsrMsg_RoundEndReportData_RerEvent_Objective(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTypeFieldNumber = 1, - }; - // optional int32 type = 1; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - int32_t type() const; - void set_type(int32_t value); - private: - int32_t _internal_type() const; - void _internal_set_type(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_RoundEndReportData.RerEvent.Objective) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_RoundEndReportData_RerEvent_Damage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) */ { - public: - inline CCSUsrMsg_RoundEndReportData_RerEvent_Damage() : CCSUsrMsg_RoundEndReportData_RerEvent_Damage(nullptr) {} - ~CCSUsrMsg_RoundEndReportData_RerEvent_Damage() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent_Damage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_RoundEndReportData_RerEvent_Damage(const CCSUsrMsg_RoundEndReportData_RerEvent_Damage& from); - CCSUsrMsg_RoundEndReportData_RerEvent_Damage(CCSUsrMsg_RoundEndReportData_RerEvent_Damage&& from) noexcept - : CCSUsrMsg_RoundEndReportData_RerEvent_Damage() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_RoundEndReportData_RerEvent_Damage& operator=(const CCSUsrMsg_RoundEndReportData_RerEvent_Damage& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_RoundEndReportData_RerEvent_Damage& operator=(CCSUsrMsg_RoundEndReportData_RerEvent_Damage&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_RoundEndReportData_RerEvent_Damage& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_RoundEndReportData_RerEvent_Damage* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_RoundEndReportData_RerEvent_Damage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 68; - - friend void swap(CCSUsrMsg_RoundEndReportData_RerEvent_Damage& a, CCSUsrMsg_RoundEndReportData_RerEvent_Damage& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_RoundEndReportData_RerEvent_Damage* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_RoundEndReportData_RerEvent_Damage* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_RoundEndReportData_RerEvent_Damage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_RoundEndReportData_RerEvent_Damage& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_RoundEndReportData_RerEvent_Damage& from) { - CCSUsrMsg_RoundEndReportData_RerEvent_Damage::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_RoundEndReportData_RerEvent_Damage* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_RoundEndReportData.RerEvent.Damage"; - } - protected: - explicit CCSUsrMsg_RoundEndReportData_RerEvent_Damage(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOtherXuidFieldNumber = 2, - kHealthRemovedFieldNumber = 3, - kNumHitsFieldNumber = 4, - kReturnHealthRemovedFieldNumber = 5, - kReturnNumHitsFieldNumber = 6, - kOtherPlayerslotFieldNumber = 1, - }; - // optional uint64 other_xuid = 2; - bool has_other_xuid() const; - private: - bool _internal_has_other_xuid() const; - public: - void clear_other_xuid(); - uint64_t other_xuid() const; - void set_other_xuid(uint64_t value); - private: - uint64_t _internal_other_xuid() const; - void _internal_set_other_xuid(uint64_t value); - public: - - // optional int32 health_removed = 3; - bool has_health_removed() const; - private: - bool _internal_has_health_removed() const; - public: - void clear_health_removed(); - int32_t health_removed() const; - void set_health_removed(int32_t value); - private: - int32_t _internal_health_removed() const; - void _internal_set_health_removed(int32_t value); - public: - - // optional int32 num_hits = 4; - bool has_num_hits() const; - private: - bool _internal_has_num_hits() const; - public: - void clear_num_hits(); - int32_t num_hits() const; - void set_num_hits(int32_t value); - private: - int32_t _internal_num_hits() const; - void _internal_set_num_hits(int32_t value); - public: - - // optional int32 return_health_removed = 5; - bool has_return_health_removed() const; - private: - bool _internal_has_return_health_removed() const; - public: - void clear_return_health_removed(); - int32_t return_health_removed() const; - void set_return_health_removed(int32_t value); - private: - int32_t _internal_return_health_removed() const; - void _internal_set_return_health_removed(int32_t value); - public: - - // optional int32 return_num_hits = 6; - bool has_return_num_hits() const; - private: - bool _internal_has_return_num_hits() const; - public: - void clear_return_num_hits(); - int32_t return_num_hits() const; - void set_return_num_hits(int32_t value); - private: - int32_t _internal_return_num_hits() const; - void _internal_set_return_num_hits(int32_t value); - public: - - // optional int32 other_playerslot = 1 [default = -1]; - bool has_other_playerslot() const; - private: - bool _internal_has_other_playerslot() const; - public: - void clear_other_playerslot(); - int32_t other_playerslot() const; - void set_other_playerslot(int32_t value); - private: - int32_t _internal_other_playerslot() const; - void _internal_set_other_playerslot(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_RoundEndReportData.RerEvent.Damage) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t other_xuid_; - int32_t health_removed_; - int32_t num_hits_; - int32_t return_health_removed_; - int32_t return_num_hits_; - int32_t other_playerslot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_RoundEndReportData_RerEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RoundEndReportData.RerEvent) */ { - public: - inline CCSUsrMsg_RoundEndReportData_RerEvent() : CCSUsrMsg_RoundEndReportData_RerEvent(nullptr) {} - ~CCSUsrMsg_RoundEndReportData_RerEvent() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_RerEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_RoundEndReportData_RerEvent(const CCSUsrMsg_RoundEndReportData_RerEvent& from); - CCSUsrMsg_RoundEndReportData_RerEvent(CCSUsrMsg_RoundEndReportData_RerEvent&& from) noexcept - : CCSUsrMsg_RoundEndReportData_RerEvent() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_RoundEndReportData_RerEvent& operator=(const CCSUsrMsg_RoundEndReportData_RerEvent& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_RoundEndReportData_RerEvent& operator=(CCSUsrMsg_RoundEndReportData_RerEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_RoundEndReportData_RerEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_RoundEndReportData_RerEvent* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_RoundEndReportData_RerEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 69; - - friend void swap(CCSUsrMsg_RoundEndReportData_RerEvent& a, CCSUsrMsg_RoundEndReportData_RerEvent& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_RoundEndReportData_RerEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_RoundEndReportData_RerEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_RoundEndReportData_RerEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_RoundEndReportData_RerEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_RoundEndReportData_RerEvent& from) { - CCSUsrMsg_RoundEndReportData_RerEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_RoundEndReportData_RerEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_RoundEndReportData.RerEvent"; - } - protected: - explicit CCSUsrMsg_RoundEndReportData_RerEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CCSUsrMsg_RoundEndReportData_RerEvent_Victim Victim; - typedef CCSUsrMsg_RoundEndReportData_RerEvent_Objective Objective; - typedef CCSUsrMsg_RoundEndReportData_RerEvent_Damage Damage; - - // accessors ------------------------------------------------------- - - enum : int { - kAllDamageDataFieldNumber = 7, - kVictimDataFieldNumber = 5, - kObjectiveDataFieldNumber = 6, - kTimestampFieldNumber = 1, - kTerroristOddsFieldNumber = 2, - kCtAliveFieldNumber = 3, - kTAliveFieldNumber = 4, - }; - // repeated .CCSUsrMsg_RoundEndReportData.RerEvent.Damage all_damage_data = 7; - int all_damage_data_size() const; - private: - int _internal_all_damage_data_size() const; - public: - void clear_all_damage_data(); - ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage* mutable_all_damage_data(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage >* - mutable_all_damage_data(); - private: - const ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage& _internal_all_damage_data(int index) const; - ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage* _internal_add_all_damage_data(); - public: - const ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage& all_damage_data(int index) const; - ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage* add_all_damage_data(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage >& - all_damage_data() const; - - // optional .CCSUsrMsg_RoundEndReportData.RerEvent.Victim victim_data = 5; - bool has_victim_data() const; - private: - bool _internal_has_victim_data() const; - public: - void clear_victim_data(); - const ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim& victim_data() const; - PROTOBUF_NODISCARD ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* release_victim_data(); - ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* mutable_victim_data(); - void set_allocated_victim_data(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* victim_data); - private: - const ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim& _internal_victim_data() const; - ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* _internal_mutable_victim_data(); - public: - void unsafe_arena_set_allocated_victim_data( - ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* victim_data); - ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* unsafe_arena_release_victim_data(); - - // optional .CCSUsrMsg_RoundEndReportData.RerEvent.Objective objective_data = 6; - bool has_objective_data() const; - private: - bool _internal_has_objective_data() const; - public: - void clear_objective_data(); - const ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective& objective_data() const; - PROTOBUF_NODISCARD ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* release_objective_data(); - ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* mutable_objective_data(); - void set_allocated_objective_data(::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* objective_data); - private: - const ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective& _internal_objective_data() const; - ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* _internal_mutable_objective_data(); - public: - void unsafe_arena_set_allocated_objective_data( - ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* objective_data); - ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* unsafe_arena_release_objective_data(); - - // optional float timestamp = 1; - bool has_timestamp() const; - private: - bool _internal_has_timestamp() const; - public: - void clear_timestamp(); - float timestamp() const; - void set_timestamp(float value); - private: - float _internal_timestamp() const; - void _internal_set_timestamp(float value); - public: - - // optional int32 terrorist_odds = 2; - bool has_terrorist_odds() const; - private: - bool _internal_has_terrorist_odds() const; - public: - void clear_terrorist_odds(); - int32_t terrorist_odds() const; - void set_terrorist_odds(int32_t value); - private: - int32_t _internal_terrorist_odds() const; - void _internal_set_terrorist_odds(int32_t value); - public: - - // optional int32 ct_alive = 3; - bool has_ct_alive() const; - private: - bool _internal_has_ct_alive() const; - public: - void clear_ct_alive(); - int32_t ct_alive() const; - void set_ct_alive(int32_t value); - private: - int32_t _internal_ct_alive() const; - void _internal_set_ct_alive(int32_t value); - public: - - // optional int32 t_alive = 4; - bool has_t_alive() const; - private: - bool _internal_has_t_alive() const; - public: - void clear_t_alive(); - int32_t t_alive() const; - void set_t_alive(int32_t value); - private: - int32_t _internal_t_alive() const; - void _internal_set_t_alive(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_RoundEndReportData.RerEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage > all_damage_data_; - ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* victim_data_; - ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* objective_data_; - float timestamp_; - int32_t terrorist_odds_; - int32_t ct_alive_; - int32_t t_alive_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_RoundEndReportData_InitialConditions : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RoundEndReportData.InitialConditions) */ { - public: - inline CCSUsrMsg_RoundEndReportData_InitialConditions() : CCSUsrMsg_RoundEndReportData_InitialConditions(nullptr) {} - ~CCSUsrMsg_RoundEndReportData_InitialConditions() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData_InitialConditions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_RoundEndReportData_InitialConditions(const CCSUsrMsg_RoundEndReportData_InitialConditions& from); - CCSUsrMsg_RoundEndReportData_InitialConditions(CCSUsrMsg_RoundEndReportData_InitialConditions&& from) noexcept - : CCSUsrMsg_RoundEndReportData_InitialConditions() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_RoundEndReportData_InitialConditions& operator=(const CCSUsrMsg_RoundEndReportData_InitialConditions& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_RoundEndReportData_InitialConditions& operator=(CCSUsrMsg_RoundEndReportData_InitialConditions&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_RoundEndReportData_InitialConditions& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_RoundEndReportData_InitialConditions* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_RoundEndReportData_InitialConditions_default_instance_); - } - static constexpr int kIndexInFileMessages = - 70; - - friend void swap(CCSUsrMsg_RoundEndReportData_InitialConditions& a, CCSUsrMsg_RoundEndReportData_InitialConditions& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_RoundEndReportData_InitialConditions* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_RoundEndReportData_InitialConditions* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_RoundEndReportData_InitialConditions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_RoundEndReportData_InitialConditions& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_RoundEndReportData_InitialConditions& from) { - CCSUsrMsg_RoundEndReportData_InitialConditions::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_RoundEndReportData_InitialConditions* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_RoundEndReportData.InitialConditions"; - } - protected: - explicit CCSUsrMsg_RoundEndReportData_InitialConditions(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCtEquipValueFieldNumber = 1, - kTEquipValueFieldNumber = 2, - kTerroristOddsFieldNumber = 3, - }; - // optional int32 ct_equip_value = 1; - bool has_ct_equip_value() const; - private: - bool _internal_has_ct_equip_value() const; - public: - void clear_ct_equip_value(); - int32_t ct_equip_value() const; - void set_ct_equip_value(int32_t value); - private: - int32_t _internal_ct_equip_value() const; - void _internal_set_ct_equip_value(int32_t value); - public: - - // optional int32 t_equip_value = 2; - bool has_t_equip_value() const; - private: - bool _internal_has_t_equip_value() const; - public: - void clear_t_equip_value(); - int32_t t_equip_value() const; - void set_t_equip_value(int32_t value); - private: - int32_t _internal_t_equip_value() const; - void _internal_set_t_equip_value(int32_t value); - public: - - // optional int32 terrorist_odds = 3; - bool has_terrorist_odds() const; - private: - bool _internal_has_terrorist_odds() const; - public: - void clear_terrorist_odds(); - int32_t terrorist_odds() const; - void set_terrorist_odds(int32_t value); - private: - int32_t _internal_terrorist_odds() const; - void _internal_set_terrorist_odds(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_RoundEndReportData.InitialConditions) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t ct_equip_value_; - int32_t t_equip_value_; - int32_t terrorist_odds_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_RoundEndReportData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RoundEndReportData) */ { - public: - inline CCSUsrMsg_RoundEndReportData() : CCSUsrMsg_RoundEndReportData(nullptr) {} - ~CCSUsrMsg_RoundEndReportData() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RoundEndReportData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_RoundEndReportData(const CCSUsrMsg_RoundEndReportData& from); - CCSUsrMsg_RoundEndReportData(CCSUsrMsg_RoundEndReportData&& from) noexcept - : CCSUsrMsg_RoundEndReportData() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_RoundEndReportData& operator=(const CCSUsrMsg_RoundEndReportData& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_RoundEndReportData& operator=(CCSUsrMsg_RoundEndReportData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_RoundEndReportData& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_RoundEndReportData* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_RoundEndReportData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 71; - - friend void swap(CCSUsrMsg_RoundEndReportData& a, CCSUsrMsg_RoundEndReportData& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_RoundEndReportData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_RoundEndReportData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_RoundEndReportData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_RoundEndReportData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_RoundEndReportData& from) { - CCSUsrMsg_RoundEndReportData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_RoundEndReportData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_RoundEndReportData"; - } - protected: - explicit CCSUsrMsg_RoundEndReportData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CCSUsrMsg_RoundEndReportData_RerEvent RerEvent; - typedef CCSUsrMsg_RoundEndReportData_InitialConditions InitialConditions; - - // accessors ------------------------------------------------------- - - enum : int { - kAllRerEventDataFieldNumber = 2, - kInitConditionsFieldNumber = 1, - }; - // repeated .CCSUsrMsg_RoundEndReportData.RerEvent all_rer_event_data = 2; - int all_rer_event_data_size() const; - private: - int _internal_all_rer_event_data_size() const; - public: - void clear_all_rer_event_data(); - ::CCSUsrMsg_RoundEndReportData_RerEvent* mutable_all_rer_event_data(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent >* - mutable_all_rer_event_data(); - private: - const ::CCSUsrMsg_RoundEndReportData_RerEvent& _internal_all_rer_event_data(int index) const; - ::CCSUsrMsg_RoundEndReportData_RerEvent* _internal_add_all_rer_event_data(); - public: - const ::CCSUsrMsg_RoundEndReportData_RerEvent& all_rer_event_data(int index) const; - ::CCSUsrMsg_RoundEndReportData_RerEvent* add_all_rer_event_data(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent >& - all_rer_event_data() const; - - // optional .CCSUsrMsg_RoundEndReportData.InitialConditions init_conditions = 1; - bool has_init_conditions() const; - private: - bool _internal_has_init_conditions() const; - public: - void clear_init_conditions(); - const ::CCSUsrMsg_RoundEndReportData_InitialConditions& init_conditions() const; - PROTOBUF_NODISCARD ::CCSUsrMsg_RoundEndReportData_InitialConditions* release_init_conditions(); - ::CCSUsrMsg_RoundEndReportData_InitialConditions* mutable_init_conditions(); - void set_allocated_init_conditions(::CCSUsrMsg_RoundEndReportData_InitialConditions* init_conditions); - private: - const ::CCSUsrMsg_RoundEndReportData_InitialConditions& _internal_init_conditions() const; - ::CCSUsrMsg_RoundEndReportData_InitialConditions* _internal_mutable_init_conditions(); - public: - void unsafe_arena_set_allocated_init_conditions( - ::CCSUsrMsg_RoundEndReportData_InitialConditions* init_conditions); - ::CCSUsrMsg_RoundEndReportData_InitialConditions* unsafe_arena_release_init_conditions(); - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_RoundEndReportData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent > all_rer_event_data_; - ::CCSUsrMsg_RoundEndReportData_InitialConditions* init_conditions_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_PostRoundDamageReport : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_PostRoundDamageReport) */ { - public: - inline CCSUsrMsg_PostRoundDamageReport() : CCSUsrMsg_PostRoundDamageReport(nullptr) {} - ~CCSUsrMsg_PostRoundDamageReport() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_PostRoundDamageReport(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_PostRoundDamageReport(const CCSUsrMsg_PostRoundDamageReport& from); - CCSUsrMsg_PostRoundDamageReport(CCSUsrMsg_PostRoundDamageReport&& from) noexcept - : CCSUsrMsg_PostRoundDamageReport() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_PostRoundDamageReport& operator=(const CCSUsrMsg_PostRoundDamageReport& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_PostRoundDamageReport& operator=(CCSUsrMsg_PostRoundDamageReport&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_PostRoundDamageReport& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_PostRoundDamageReport* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_PostRoundDamageReport_default_instance_); - } - static constexpr int kIndexInFileMessages = - 72; - - friend void swap(CCSUsrMsg_PostRoundDamageReport& a, CCSUsrMsg_PostRoundDamageReport& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_PostRoundDamageReport* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_PostRoundDamageReport* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_PostRoundDamageReport* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_PostRoundDamageReport& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_PostRoundDamageReport& from) { - CCSUsrMsg_PostRoundDamageReport::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_PostRoundDamageReport* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_PostRoundDamageReport"; - } - protected: - explicit CCSUsrMsg_PostRoundDamageReport(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOtherXuidFieldNumber = 1, - kGivenKillTypeFieldNumber = 2, - kGivenHealthRemovedFieldNumber = 3, - kGivenNumHitsFieldNumber = 4, - kTakenKillTypeFieldNumber = 5, - kTakenHealthRemovedFieldNumber = 6, - kTakenNumHitsFieldNumber = 7, - }; - // optional uint64 other_xuid = 1; - bool has_other_xuid() const; - private: - bool _internal_has_other_xuid() const; - public: - void clear_other_xuid(); - uint64_t other_xuid() const; - void set_other_xuid(uint64_t value); - private: - uint64_t _internal_other_xuid() const; - void _internal_set_other_xuid(uint64_t value); - public: - - // optional int32 given_kill_type = 2; - bool has_given_kill_type() const; - private: - bool _internal_has_given_kill_type() const; - public: - void clear_given_kill_type(); - int32_t given_kill_type() const; - void set_given_kill_type(int32_t value); - private: - int32_t _internal_given_kill_type() const; - void _internal_set_given_kill_type(int32_t value); - public: - - // optional int32 given_health_removed = 3; - bool has_given_health_removed() const; - private: - bool _internal_has_given_health_removed() const; - public: - void clear_given_health_removed(); - int32_t given_health_removed() const; - void set_given_health_removed(int32_t value); - private: - int32_t _internal_given_health_removed() const; - void _internal_set_given_health_removed(int32_t value); - public: - - // optional int32 given_num_hits = 4; - bool has_given_num_hits() const; - private: - bool _internal_has_given_num_hits() const; - public: - void clear_given_num_hits(); - int32_t given_num_hits() const; - void set_given_num_hits(int32_t value); - private: - int32_t _internal_given_num_hits() const; - void _internal_set_given_num_hits(int32_t value); - public: - - // optional int32 taken_kill_type = 5; - bool has_taken_kill_type() const; - private: - bool _internal_has_taken_kill_type() const; - public: - void clear_taken_kill_type(); - int32_t taken_kill_type() const; - void set_taken_kill_type(int32_t value); - private: - int32_t _internal_taken_kill_type() const; - void _internal_set_taken_kill_type(int32_t value); - public: - - // optional int32 taken_health_removed = 6; - bool has_taken_health_removed() const; - private: - bool _internal_has_taken_health_removed() const; - public: - void clear_taken_health_removed(); - int32_t taken_health_removed() const; - void set_taken_health_removed(int32_t value); - private: - int32_t _internal_taken_health_removed() const; - void _internal_set_taken_health_removed(int32_t value); - public: - - // optional int32 taken_num_hits = 7; - bool has_taken_num_hits() const; - private: - bool _internal_has_taken_num_hits() const; - public: - void clear_taken_num_hits(); - int32_t taken_num_hits() const; - void set_taken_num_hits(int32_t value); - private: - int32_t _internal_taken_num_hits() const; - void _internal_set_taken_num_hits(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_PostRoundDamageReport) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t other_xuid_; - int32_t given_kill_type_; - int32_t given_health_removed_; - int32_t given_num_hits_; - int32_t taken_kill_type_; - int32_t taken_health_removed_; - int32_t taken_num_hits_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_CurrentRoundOdds : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_CurrentRoundOdds) */ { - public: - inline CCSUsrMsg_CurrentRoundOdds() : CCSUsrMsg_CurrentRoundOdds(nullptr) {} - ~CCSUsrMsg_CurrentRoundOdds() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_CurrentRoundOdds(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_CurrentRoundOdds(const CCSUsrMsg_CurrentRoundOdds& from); - CCSUsrMsg_CurrentRoundOdds(CCSUsrMsg_CurrentRoundOdds&& from) noexcept - : CCSUsrMsg_CurrentRoundOdds() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_CurrentRoundOdds& operator=(const CCSUsrMsg_CurrentRoundOdds& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_CurrentRoundOdds& operator=(CCSUsrMsg_CurrentRoundOdds&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_CurrentRoundOdds& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_CurrentRoundOdds* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_CurrentRoundOdds_default_instance_); - } - static constexpr int kIndexInFileMessages = - 73; - - friend void swap(CCSUsrMsg_CurrentRoundOdds& a, CCSUsrMsg_CurrentRoundOdds& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_CurrentRoundOdds* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_CurrentRoundOdds* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_CurrentRoundOdds* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_CurrentRoundOdds& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_CurrentRoundOdds& from) { - CCSUsrMsg_CurrentRoundOdds::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_CurrentRoundOdds* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_CurrentRoundOdds"; - } - protected: - explicit CCSUsrMsg_CurrentRoundOdds(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOddsFieldNumber = 1, - }; - // optional int32 odds = 1; - bool has_odds() const; - private: - bool _internal_has_odds() const; - public: - void clear_odds(); - int32_t odds() const; - void set_odds(int32_t value); - private: - int32_t _internal_odds() const; - void _internal_set_odds(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_CurrentRoundOdds) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t odds_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_DeepStats : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_DeepStats) */ { - public: - inline CCSUsrMsg_DeepStats() : CCSUsrMsg_DeepStats(nullptr) {} - ~CCSUsrMsg_DeepStats() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_DeepStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_DeepStats(const CCSUsrMsg_DeepStats& from); - CCSUsrMsg_DeepStats(CCSUsrMsg_DeepStats&& from) noexcept - : CCSUsrMsg_DeepStats() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_DeepStats& operator=(const CCSUsrMsg_DeepStats& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_DeepStats& operator=(CCSUsrMsg_DeepStats&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_DeepStats& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_DeepStats* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_DeepStats_default_instance_); - } - static constexpr int kIndexInFileMessages = - 74; - - friend void swap(CCSUsrMsg_DeepStats& a, CCSUsrMsg_DeepStats& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_DeepStats* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_DeepStats* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_DeepStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_DeepStats& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_DeepStats& from) { - CCSUsrMsg_DeepStats::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_DeepStats* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_DeepStats"; - } - protected: - explicit CCSUsrMsg_DeepStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStatsFieldNumber = 1, - }; - // optional .CMsgGCCStrike15_ClientDeepStats stats = 1; - bool has_stats() const; - private: - bool _internal_has_stats() const; - public: - void clear_stats(); - const ::CMsgGCCStrike15_ClientDeepStats& stats() const; - PROTOBUF_NODISCARD ::CMsgGCCStrike15_ClientDeepStats* release_stats(); - ::CMsgGCCStrike15_ClientDeepStats* mutable_stats(); - void set_allocated_stats(::CMsgGCCStrike15_ClientDeepStats* stats); - private: - const ::CMsgGCCStrike15_ClientDeepStats& _internal_stats() const; - ::CMsgGCCStrike15_ClientDeepStats* _internal_mutable_stats(); - public: - void unsafe_arena_set_allocated_stats( - ::CMsgGCCStrike15_ClientDeepStats* stats); - ::CMsgGCCStrike15_ClientDeepStats* unsafe_arena_release_stats(); - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_DeepStats) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgGCCStrike15_ClientDeepStats* stats_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_ShootInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ShootInfo) */ { - public: - inline CCSUsrMsg_ShootInfo() : CCSUsrMsg_ShootInfo(nullptr) {} - ~CCSUsrMsg_ShootInfo() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ShootInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_ShootInfo(const CCSUsrMsg_ShootInfo& from); - CCSUsrMsg_ShootInfo(CCSUsrMsg_ShootInfo&& from) noexcept - : CCSUsrMsg_ShootInfo() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_ShootInfo& operator=(const CCSUsrMsg_ShootInfo& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_ShootInfo& operator=(CCSUsrMsg_ShootInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_ShootInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_ShootInfo* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_ShootInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 75; - - friend void swap(CCSUsrMsg_ShootInfo& a, CCSUsrMsg_ShootInfo& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_ShootInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_ShootInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_ShootInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_ShootInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_ShootInfo& from) { - CCSUsrMsg_ShootInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_ShootInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_ShootInfo"; - } - protected: - explicit CCSUsrMsg_ShootInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kHitboxTransformsFieldNumber = 2, - kShootPosFieldNumber = 3, - kShootDirFieldNumber = 4, - kFrameNumberFieldNumber = 1, - }; - // repeated .CMsgTransform hitbox_transforms = 2; - int hitbox_transforms_size() const; - private: - int _internal_hitbox_transforms_size() const; - public: - void clear_hitbox_transforms(); - ::CMsgTransform* mutable_hitbox_transforms(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgTransform >* - mutable_hitbox_transforms(); - private: - const ::CMsgTransform& _internal_hitbox_transforms(int index) const; - ::CMsgTransform* _internal_add_hitbox_transforms(); - public: - const ::CMsgTransform& hitbox_transforms(int index) const; - ::CMsgTransform* add_hitbox_transforms(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgTransform >& - hitbox_transforms() const; - - // optional .CMsgVector shoot_pos = 3; - bool has_shoot_pos() const; - private: - bool _internal_has_shoot_pos() const; - public: - void clear_shoot_pos(); - const ::CMsgVector& shoot_pos() const; - PROTOBUF_NODISCARD ::CMsgVector* release_shoot_pos(); - ::CMsgVector* mutable_shoot_pos(); - void set_allocated_shoot_pos(::CMsgVector* shoot_pos); - private: - const ::CMsgVector& _internal_shoot_pos() const; - ::CMsgVector* _internal_mutable_shoot_pos(); - public: - void unsafe_arena_set_allocated_shoot_pos( - ::CMsgVector* shoot_pos); - ::CMsgVector* unsafe_arena_release_shoot_pos(); - - // optional .CMsgQAngle shoot_dir = 4; - bool has_shoot_dir() const; - private: - bool _internal_has_shoot_dir() const; - public: - void clear_shoot_dir(); - const ::CMsgQAngle& shoot_dir() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_shoot_dir(); - ::CMsgQAngle* mutable_shoot_dir(); - void set_allocated_shoot_dir(::CMsgQAngle* shoot_dir); - private: - const ::CMsgQAngle& _internal_shoot_dir() const; - ::CMsgQAngle* _internal_mutable_shoot_dir(); - public: - void unsafe_arena_set_allocated_shoot_dir( - ::CMsgQAngle* shoot_dir); - ::CMsgQAngle* unsafe_arena_release_shoot_dir(); - - // optional int32 frame_number = 1; - bool has_frame_number() const; - private: - bool _internal_has_frame_number() const; - public: - void clear_frame_number(); - int32_t frame_number() const; - void set_frame_number(int32_t value); - private: - int32_t _internal_frame_number() const; - void _internal_set_frame_number(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_ShootInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgTransform > hitbox_transforms_; - ::CMsgVector* shoot_pos_; - ::CMsgQAngle* shoot_dir_; - int32_t frame_number_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_ResetHud : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ResetHud) */ { - public: - inline CCSUsrMsg_ResetHud() : CCSUsrMsg_ResetHud(nullptr) {} - ~CCSUsrMsg_ResetHud() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ResetHud(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_ResetHud(const CCSUsrMsg_ResetHud& from); - CCSUsrMsg_ResetHud(CCSUsrMsg_ResetHud&& from) noexcept - : CCSUsrMsg_ResetHud() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_ResetHud& operator=(const CCSUsrMsg_ResetHud& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_ResetHud& operator=(CCSUsrMsg_ResetHud&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_ResetHud& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_ResetHud* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_ResetHud_default_instance_); - } - static constexpr int kIndexInFileMessages = - 76; - - friend void swap(CCSUsrMsg_ResetHud& a, CCSUsrMsg_ResetHud& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_ResetHud* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_ResetHud* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_ResetHud* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_ResetHud& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_ResetHud& from) { - CCSUsrMsg_ResetHud::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_ResetHud* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_ResetHud"; - } - protected: - explicit CCSUsrMsg_ResetHud(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kResetFieldNumber = 1, - }; - // optional bool reset = 1; - bool has_reset() const; - private: - bool _internal_has_reset() const; - public: - void clear_reset(); - bool reset() const; - void set_reset(bool value); - private: - bool _internal_reset() const; - void _internal_set_reset(bool value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_ResetHud) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool reset_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_GameTitle : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_GameTitle) */ { - public: - inline CCSUsrMsg_GameTitle() : CCSUsrMsg_GameTitle(nullptr) {} - ~CCSUsrMsg_GameTitle() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_GameTitle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_GameTitle(const CCSUsrMsg_GameTitle& from); - CCSUsrMsg_GameTitle(CCSUsrMsg_GameTitle&& from) noexcept - : CCSUsrMsg_GameTitle() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_GameTitle& operator=(const CCSUsrMsg_GameTitle& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_GameTitle& operator=(CCSUsrMsg_GameTitle&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_GameTitle& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_GameTitle* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_GameTitle_default_instance_); - } - static constexpr int kIndexInFileMessages = - 77; - - friend void swap(CCSUsrMsg_GameTitle& a, CCSUsrMsg_GameTitle& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_GameTitle* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_GameTitle* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_GameTitle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_GameTitle& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_GameTitle& from) { - CCSUsrMsg_GameTitle::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_GameTitle* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_GameTitle"; - } - protected: - explicit CCSUsrMsg_GameTitle(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDummyFieldNumber = 1, - }; - // optional int32 dummy = 1; - bool has_dummy() const; - private: - bool _internal_has_dummy() const; - public: - void clear_dummy(); - int32_t dummy() const; - void set_dummy(int32_t value); - private: - int32_t _internal_dummy() const; - void _internal_set_dummy(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_GameTitle) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t dummy_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_RequestState : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RequestState) */ { - public: - inline CCSUsrMsg_RequestState() : CCSUsrMsg_RequestState(nullptr) {} - ~CCSUsrMsg_RequestState() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RequestState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_RequestState(const CCSUsrMsg_RequestState& from); - CCSUsrMsg_RequestState(CCSUsrMsg_RequestState&& from) noexcept - : CCSUsrMsg_RequestState() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_RequestState& operator=(const CCSUsrMsg_RequestState& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_RequestState& operator=(CCSUsrMsg_RequestState&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_RequestState& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_RequestState* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_RequestState_default_instance_); - } - static constexpr int kIndexInFileMessages = - 78; - - friend void swap(CCSUsrMsg_RequestState& a, CCSUsrMsg_RequestState& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_RequestState* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_RequestState* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_RequestState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_RequestState& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_RequestState& from) { - CCSUsrMsg_RequestState::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_RequestState* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_RequestState"; - } - protected: - explicit CCSUsrMsg_RequestState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDummyFieldNumber = 1, - }; - // optional int32 dummy = 1; - bool has_dummy() const; - private: - bool _internal_has_dummy() const; - public: - void clear_dummy(); - int32_t dummy() const; - void set_dummy(int32_t value); - private: - int32_t _internal_dummy() const; - void _internal_set_dummy(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_RequestState) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t dummy_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_StopSpectatorMode : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_StopSpectatorMode) */ { - public: - inline CCSUsrMsg_StopSpectatorMode() : CCSUsrMsg_StopSpectatorMode(nullptr) {} - ~CCSUsrMsg_StopSpectatorMode() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_StopSpectatorMode(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_StopSpectatorMode(const CCSUsrMsg_StopSpectatorMode& from); - CCSUsrMsg_StopSpectatorMode(CCSUsrMsg_StopSpectatorMode&& from) noexcept - : CCSUsrMsg_StopSpectatorMode() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_StopSpectatorMode& operator=(const CCSUsrMsg_StopSpectatorMode& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_StopSpectatorMode& operator=(CCSUsrMsg_StopSpectatorMode&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_StopSpectatorMode& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_StopSpectatorMode* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_StopSpectatorMode_default_instance_); - } - static constexpr int kIndexInFileMessages = - 79; - - friend void swap(CCSUsrMsg_StopSpectatorMode& a, CCSUsrMsg_StopSpectatorMode& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_StopSpectatorMode* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_StopSpectatorMode* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_StopSpectatorMode* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_StopSpectatorMode& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_StopSpectatorMode& from) { - CCSUsrMsg_StopSpectatorMode::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_StopSpectatorMode* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_StopSpectatorMode"; - } - protected: - explicit CCSUsrMsg_StopSpectatorMode(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDummyFieldNumber = 1, - }; - // optional int32 dummy = 1; - bool has_dummy() const; - private: - bool _internal_has_dummy() const; - public: - void clear_dummy(); - int32_t dummy() const; - void set_dummy(int32_t value); - private: - int32_t _internal_dummy() const; - void _internal_set_dummy(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_StopSpectatorMode) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t dummy_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_DisconnectToLobby : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_DisconnectToLobby) */ { - public: - inline CCSUsrMsg_DisconnectToLobby() : CCSUsrMsg_DisconnectToLobby(nullptr) {} - ~CCSUsrMsg_DisconnectToLobby() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_DisconnectToLobby(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_DisconnectToLobby(const CCSUsrMsg_DisconnectToLobby& from); - CCSUsrMsg_DisconnectToLobby(CCSUsrMsg_DisconnectToLobby&& from) noexcept - : CCSUsrMsg_DisconnectToLobby() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_DisconnectToLobby& operator=(const CCSUsrMsg_DisconnectToLobby& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_DisconnectToLobby& operator=(CCSUsrMsg_DisconnectToLobby&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_DisconnectToLobby& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_DisconnectToLobby* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_DisconnectToLobby_default_instance_); - } - static constexpr int kIndexInFileMessages = - 80; - - friend void swap(CCSUsrMsg_DisconnectToLobby& a, CCSUsrMsg_DisconnectToLobby& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_DisconnectToLobby* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_DisconnectToLobby* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_DisconnectToLobby* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_DisconnectToLobby& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_DisconnectToLobby& from) { - CCSUsrMsg_DisconnectToLobby::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_DisconnectToLobby* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_DisconnectToLobby"; - } - protected: - explicit CCSUsrMsg_DisconnectToLobby(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDummyFieldNumber = 1, - }; - // optional int32 dummy = 1; - bool has_dummy() const; - private: - bool _internal_has_dummy() const; - public: - void clear_dummy(); - int32_t dummy() const; - void set_dummy(int32_t value); - private: - int32_t _internal_dummy() const; - void _internal_set_dummy(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_DisconnectToLobby) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t dummy_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_ClientInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ClientInfo) */ { - public: - inline CCSUsrMsg_ClientInfo() : CCSUsrMsg_ClientInfo(nullptr) {} - ~CCSUsrMsg_ClientInfo() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ClientInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_ClientInfo(const CCSUsrMsg_ClientInfo& from); - CCSUsrMsg_ClientInfo(CCSUsrMsg_ClientInfo&& from) noexcept - : CCSUsrMsg_ClientInfo() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_ClientInfo& operator=(const CCSUsrMsg_ClientInfo& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_ClientInfo& operator=(CCSUsrMsg_ClientInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_ClientInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_ClientInfo* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_ClientInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 81; - - friend void swap(CCSUsrMsg_ClientInfo& a, CCSUsrMsg_ClientInfo& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_ClientInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_ClientInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_ClientInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_ClientInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_ClientInfo& from) { - CCSUsrMsg_ClientInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_ClientInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_ClientInfo"; - } - protected: - explicit CCSUsrMsg_ClientInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDummyFieldNumber = 1, - }; - // optional int32 dummy = 1; - bool has_dummy() const; - private: - bool _internal_has_dummy() const; - public: - void clear_dummy(); - int32_t dummy() const; - void set_dummy(int32_t value); - private: - int32_t _internal_dummy() const; - void _internal_set_dummy(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_ClientInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t dummy_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_ServerRankRevealAll : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_ServerRankRevealAll) */ { - public: - inline CCSUsrMsg_ServerRankRevealAll() : CCSUsrMsg_ServerRankRevealAll(nullptr) {} - ~CCSUsrMsg_ServerRankRevealAll() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_ServerRankRevealAll(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_ServerRankRevealAll(const CCSUsrMsg_ServerRankRevealAll& from); - CCSUsrMsg_ServerRankRevealAll(CCSUsrMsg_ServerRankRevealAll&& from) noexcept - : CCSUsrMsg_ServerRankRevealAll() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_ServerRankRevealAll& operator=(const CCSUsrMsg_ServerRankRevealAll& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_ServerRankRevealAll& operator=(CCSUsrMsg_ServerRankRevealAll&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_ServerRankRevealAll& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_ServerRankRevealAll* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_ServerRankRevealAll_default_instance_); - } - static constexpr int kIndexInFileMessages = - 82; - - friend void swap(CCSUsrMsg_ServerRankRevealAll& a, CCSUsrMsg_ServerRankRevealAll& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_ServerRankRevealAll* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_ServerRankRevealAll* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_ServerRankRevealAll* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_ServerRankRevealAll& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_ServerRankRevealAll& from) { - CCSUsrMsg_ServerRankRevealAll::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_ServerRankRevealAll* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_ServerRankRevealAll"; - } - protected: - explicit CCSUsrMsg_ServerRankRevealAll(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kReservationFieldNumber = 2, - kSecondsTillShutdownFieldNumber = 1, - }; - // optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; - bool has_reservation() const; - private: - bool _internal_has_reservation() const; - public: - void clear_reservation(); - const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& reservation() const; - PROTOBUF_NODISCARD ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* release_reservation(); - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* mutable_reservation(); - void set_allocated_reservation(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation); - private: - const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& _internal_reservation() const; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* _internal_mutable_reservation(); - public: - void unsafe_arena_set_allocated_reservation( - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation); - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* unsafe_arena_release_reservation(); - - // optional int32 seconds_till_shutdown = 1; - bool has_seconds_till_shutdown() const; - private: - bool _internal_has_seconds_till_shutdown() const; - public: - void clear_seconds_till_shutdown(); - int32_t seconds_till_shutdown() const; - void set_seconds_till_shutdown(int32_t value); - private: - int32_t _internal_seconds_till_shutdown() const; - void _internal_set_seconds_till_shutdown(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_ServerRankRevealAll) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation_; - int32_t seconds_till_shutdown_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsgPreMatchSayText : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsgPreMatchSayText) */ { - public: - inline CCSUsrMsgPreMatchSayText() : CCSUsrMsgPreMatchSayText(nullptr) {} - ~CCSUsrMsgPreMatchSayText() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsgPreMatchSayText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsgPreMatchSayText(const CCSUsrMsgPreMatchSayText& from); - CCSUsrMsgPreMatchSayText(CCSUsrMsgPreMatchSayText&& from) noexcept - : CCSUsrMsgPreMatchSayText() { - *this = ::std::move(from); - } - - inline CCSUsrMsgPreMatchSayText& operator=(const CCSUsrMsgPreMatchSayText& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsgPreMatchSayText& operator=(CCSUsrMsgPreMatchSayText&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsgPreMatchSayText& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsgPreMatchSayText* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsgPreMatchSayText_default_instance_); - } - static constexpr int kIndexInFileMessages = - 83; - - friend void swap(CCSUsrMsgPreMatchSayText& a, CCSUsrMsgPreMatchSayText& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsgPreMatchSayText* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsgPreMatchSayText* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsgPreMatchSayText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsgPreMatchSayText& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsgPreMatchSayText& from) { - CCSUsrMsgPreMatchSayText::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsgPreMatchSayText* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsgPreMatchSayText"; - } - protected: - explicit CCSUsrMsgPreMatchSayText(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTextFieldNumber = 2, - kAccountIdFieldNumber = 1, - kAllChatFieldNumber = 3, - }; - // optional string text = 2; - bool has_text() const; - private: - bool _internal_has_text() const; - public: - void clear_text(); - const std::string& text() const; - template - void set_text(ArgT0&& arg0, ArgT... args); - std::string* mutable_text(); - PROTOBUF_NODISCARD std::string* release_text(); - void set_allocated_text(std::string* text); - private: - const std::string& _internal_text() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value); - std::string* _internal_mutable_text(); - public: - - // optional uint32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional bool all_chat = 3; - bool has_all_chat() const; - private: - bool _internal_has_all_chat() const; - public: - void clear_all_chat(); - bool all_chat() const; - void set_all_chat(bool value); - private: - bool _internal_all_chat() const; - void _internal_set_all_chat(bool value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsgPreMatchSayText) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; - uint32_t account_id_; - bool all_chat_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_CounterStrafe : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_CounterStrafe) */ { - public: - inline CCSUsrMsg_CounterStrafe() : CCSUsrMsg_CounterStrafe(nullptr) {} - ~CCSUsrMsg_CounterStrafe() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_CounterStrafe(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_CounterStrafe(const CCSUsrMsg_CounterStrafe& from); - CCSUsrMsg_CounterStrafe(CCSUsrMsg_CounterStrafe&& from) noexcept - : CCSUsrMsg_CounterStrafe() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_CounterStrafe& operator=(const CCSUsrMsg_CounterStrafe& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_CounterStrafe& operator=(CCSUsrMsg_CounterStrafe&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_CounterStrafe& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_CounterStrafe* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_CounterStrafe_default_instance_); - } - static constexpr int kIndexInFileMessages = - 84; - - friend void swap(CCSUsrMsg_CounterStrafe& a, CCSUsrMsg_CounterStrafe& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_CounterStrafe* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_CounterStrafe* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_CounterStrafe* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_CounterStrafe& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_CounterStrafe& from) { - CCSUsrMsg_CounterStrafe::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_CounterStrafe* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_CounterStrafe"; - } - protected: - explicit CCSUsrMsg_CounterStrafe(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPressToReleaseNsFieldNumber = 1, - kTotalKeysDownFieldNumber = 2, - }; - // optional int32 press_to_release_ns = 1; - bool has_press_to_release_ns() const; - private: - bool _internal_has_press_to_release_ns() const; - public: - void clear_press_to_release_ns(); - int32_t press_to_release_ns() const; - void set_press_to_release_ns(int32_t value); - private: - int32_t _internal_press_to_release_ns() const; - void _internal_set_press_to_release_ns(int32_t value); - public: - - // optional int32 total_keys_down = 2; - bool has_total_keys_down() const; - private: - bool _internal_has_total_keys_down() const; - public: - void clear_total_keys_down(); - int32_t total_keys_down() const; - void set_total_keys_down(int32_t value); - private: - int32_t _internal_total_keys_down() const; - void _internal_set_total_keys_down(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_CounterStrafe) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t press_to_release_ns_; - int32_t total_keys_down_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_DamagePrediction : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_DamagePrediction) */ { - public: - inline CCSUsrMsg_DamagePrediction() : CCSUsrMsg_DamagePrediction(nullptr) {} - ~CCSUsrMsg_DamagePrediction() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_DamagePrediction(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_DamagePrediction(const CCSUsrMsg_DamagePrediction& from); - CCSUsrMsg_DamagePrediction(CCSUsrMsg_DamagePrediction&& from) noexcept - : CCSUsrMsg_DamagePrediction() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_DamagePrediction& operator=(const CCSUsrMsg_DamagePrediction& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_DamagePrediction& operator=(CCSUsrMsg_DamagePrediction&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_DamagePrediction& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_DamagePrediction* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_DamagePrediction_default_instance_); - } - static constexpr int kIndexInFileMessages = - 85; - - friend void swap(CCSUsrMsg_DamagePrediction& a, CCSUsrMsg_DamagePrediction& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_DamagePrediction* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_DamagePrediction* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_DamagePrediction* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_DamagePrediction& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_DamagePrediction& from) { - CCSUsrMsg_DamagePrediction::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_DamagePrediction* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_DamagePrediction"; - } - protected: - explicit CCSUsrMsg_DamagePrediction(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kShootPosFieldNumber = 6, - kShootDirFieldNumber = 7, - kAimPunchFieldNumber = 8, - kCommandNumFieldNumber = 1, - kPelletIdxFieldNumber = 2, - kVictimSlotFieldNumber = 3, - kVictimStartingHealthFieldNumber = 4, - kVictimDamageFieldNumber = 5, - }; - // optional .CMsgVector shoot_pos = 6; - bool has_shoot_pos() const; - private: - bool _internal_has_shoot_pos() const; - public: - void clear_shoot_pos(); - const ::CMsgVector& shoot_pos() const; - PROTOBUF_NODISCARD ::CMsgVector* release_shoot_pos(); - ::CMsgVector* mutable_shoot_pos(); - void set_allocated_shoot_pos(::CMsgVector* shoot_pos); - private: - const ::CMsgVector& _internal_shoot_pos() const; - ::CMsgVector* _internal_mutable_shoot_pos(); - public: - void unsafe_arena_set_allocated_shoot_pos( - ::CMsgVector* shoot_pos); - ::CMsgVector* unsafe_arena_release_shoot_pos(); - - // optional .CMsgQAngle shoot_dir = 7; - bool has_shoot_dir() const; - private: - bool _internal_has_shoot_dir() const; - public: - void clear_shoot_dir(); - const ::CMsgQAngle& shoot_dir() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_shoot_dir(); - ::CMsgQAngle* mutable_shoot_dir(); - void set_allocated_shoot_dir(::CMsgQAngle* shoot_dir); - private: - const ::CMsgQAngle& _internal_shoot_dir() const; - ::CMsgQAngle* _internal_mutable_shoot_dir(); - public: - void unsafe_arena_set_allocated_shoot_dir( - ::CMsgQAngle* shoot_dir); - ::CMsgQAngle* unsafe_arena_release_shoot_dir(); - - // optional .CMsgQAngle aim_punch = 8; - bool has_aim_punch() const; - private: - bool _internal_has_aim_punch() const; - public: - void clear_aim_punch(); - const ::CMsgQAngle& aim_punch() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_aim_punch(); - ::CMsgQAngle* mutable_aim_punch(); - void set_allocated_aim_punch(::CMsgQAngle* aim_punch); - private: - const ::CMsgQAngle& _internal_aim_punch() const; - ::CMsgQAngle* _internal_mutable_aim_punch(); - public: - void unsafe_arena_set_allocated_aim_punch( - ::CMsgQAngle* aim_punch); - ::CMsgQAngle* unsafe_arena_release_aim_punch(); - - // optional int32 command_num = 1; - bool has_command_num() const; - private: - bool _internal_has_command_num() const; - public: - void clear_command_num(); - int32_t command_num() const; - void set_command_num(int32_t value); - private: - int32_t _internal_command_num() const; - void _internal_set_command_num(int32_t value); - public: - - // optional int32 pellet_idx = 2; - bool has_pellet_idx() const; - private: - bool _internal_has_pellet_idx() const; - public: - void clear_pellet_idx(); - int32_t pellet_idx() const; - void set_pellet_idx(int32_t value); - private: - int32_t _internal_pellet_idx() const; - void _internal_set_pellet_idx(int32_t value); - public: - - // optional int32 victim_slot = 3; - bool has_victim_slot() const; - private: - bool _internal_has_victim_slot() const; - public: - void clear_victim_slot(); - int32_t victim_slot() const; - void set_victim_slot(int32_t value); - private: - int32_t _internal_victim_slot() const; - void _internal_set_victim_slot(int32_t value); - public: - - // optional int32 victim_starting_health = 4; - bool has_victim_starting_health() const; - private: - bool _internal_has_victim_starting_health() const; - public: - void clear_victim_starting_health(); - int32_t victim_starting_health() const; - void set_victim_starting_health(int32_t value); - private: - int32_t _internal_victim_starting_health() const; - void _internal_set_victim_starting_health(int32_t value); - public: - - // optional int32 victim_damage = 5; - bool has_victim_damage() const; - private: - bool _internal_has_victim_damage() const; - public: - void clear_victim_damage(); - int32_t victim_damage() const; - void set_victim_damage(int32_t value); - private: - int32_t _internal_victim_damage() const; - void _internal_set_victim_damage(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_DamagePrediction) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* shoot_pos_; - ::CMsgQAngle* shoot_dir_; - ::CMsgQAngle* aim_punch_; - int32_t command_num_; - int32_t pellet_idx_; - int32_t victim_slot_; - int32_t victim_starting_health_; - int32_t victim_damage_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_RecurringMissionSchema : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_RecurringMissionSchema) */ { - public: - inline CCSUsrMsg_RecurringMissionSchema() : CCSUsrMsg_RecurringMissionSchema(nullptr) {} - ~CCSUsrMsg_RecurringMissionSchema() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_RecurringMissionSchema(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_RecurringMissionSchema(const CCSUsrMsg_RecurringMissionSchema& from); - CCSUsrMsg_RecurringMissionSchema(CCSUsrMsg_RecurringMissionSchema&& from) noexcept - : CCSUsrMsg_RecurringMissionSchema() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_RecurringMissionSchema& operator=(const CCSUsrMsg_RecurringMissionSchema& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_RecurringMissionSchema& operator=(CCSUsrMsg_RecurringMissionSchema&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_RecurringMissionSchema& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_RecurringMissionSchema* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_RecurringMissionSchema_default_instance_); - } - static constexpr int kIndexInFileMessages = - 86; - - friend void swap(CCSUsrMsg_RecurringMissionSchema& a, CCSUsrMsg_RecurringMissionSchema& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_RecurringMissionSchema* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_RecurringMissionSchema* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_RecurringMissionSchema* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_RecurringMissionSchema& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_RecurringMissionSchema& from) { - CCSUsrMsg_RecurringMissionSchema::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_RecurringMissionSchema* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_RecurringMissionSchema"; - } - protected: - explicit CCSUsrMsg_RecurringMissionSchema(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMissionSchemaFieldNumber = 2, - kPeriodFieldNumber = 1, - }; - // optional bytes mission_schema = 2; - bool has_mission_schema() const; - private: - bool _internal_has_mission_schema() const; - public: - void clear_mission_schema(); - const std::string& mission_schema() const; - template - void set_mission_schema(ArgT0&& arg0, ArgT... args); - std::string* mutable_mission_schema(); - PROTOBUF_NODISCARD std::string* release_mission_schema(); - void set_allocated_mission_schema(std::string* mission_schema); - private: - const std::string& _internal_mission_schema() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_mission_schema(const std::string& value); - std::string* _internal_mutable_mission_schema(); - public: - - // optional uint32 period = 1; - bool has_period() const; - private: - bool _internal_has_period() const; - public: - void clear_period(); - uint32_t period() const; - void set_period(uint32_t value); - private: - uint32_t _internal_period() const; - void _internal_set_period(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_RecurringMissionSchema) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mission_schema_; - uint32_t period_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_SendPlayerLoadout_LoadoutItem : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) */ { - public: - inline CCSUsrMsg_SendPlayerLoadout_LoadoutItem() : CCSUsrMsg_SendPlayerLoadout_LoadoutItem(nullptr) {} - ~CCSUsrMsg_SendPlayerLoadout_LoadoutItem() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerLoadout_LoadoutItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_SendPlayerLoadout_LoadoutItem(const CCSUsrMsg_SendPlayerLoadout_LoadoutItem& from); - CCSUsrMsg_SendPlayerLoadout_LoadoutItem(CCSUsrMsg_SendPlayerLoadout_LoadoutItem&& from) noexcept - : CCSUsrMsg_SendPlayerLoadout_LoadoutItem() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_SendPlayerLoadout_LoadoutItem& operator=(const CCSUsrMsg_SendPlayerLoadout_LoadoutItem& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_SendPlayerLoadout_LoadoutItem& operator=(CCSUsrMsg_SendPlayerLoadout_LoadoutItem&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_SendPlayerLoadout_LoadoutItem& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_SendPlayerLoadout_LoadoutItem* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_SendPlayerLoadout_LoadoutItem_default_instance_); - } - static constexpr int kIndexInFileMessages = - 87; - - friend void swap(CCSUsrMsg_SendPlayerLoadout_LoadoutItem& a, CCSUsrMsg_SendPlayerLoadout_LoadoutItem& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_SendPlayerLoadout_LoadoutItem* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_SendPlayerLoadout_LoadoutItem* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_SendPlayerLoadout_LoadoutItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_SendPlayerLoadout_LoadoutItem& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_SendPlayerLoadout_LoadoutItem& from) { - CCSUsrMsg_SendPlayerLoadout_LoadoutItem::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_SendPlayerLoadout_LoadoutItem* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_SendPlayerLoadout.LoadoutItem"; - } - protected: - explicit CCSUsrMsg_SendPlayerLoadout_LoadoutItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEconItemFieldNumber = 1, - kTeamFieldNumber = 2, - kSlotFieldNumber = 3, - }; - // optional .CEconItemPreviewDataBlock econ_item = 1; - bool has_econ_item() const; - private: - bool _internal_has_econ_item() const; - public: - void clear_econ_item(); - const ::CEconItemPreviewDataBlock& econ_item() const; - PROTOBUF_NODISCARD ::CEconItemPreviewDataBlock* release_econ_item(); - ::CEconItemPreviewDataBlock* mutable_econ_item(); - void set_allocated_econ_item(::CEconItemPreviewDataBlock* econ_item); - private: - const ::CEconItemPreviewDataBlock& _internal_econ_item() const; - ::CEconItemPreviewDataBlock* _internal_mutable_econ_item(); - public: - void unsafe_arena_set_allocated_econ_item( - ::CEconItemPreviewDataBlock* econ_item); - ::CEconItemPreviewDataBlock* unsafe_arena_release_econ_item(); - - // optional int32 team = 2; - bool has_team() const; - private: - bool _internal_has_team() const; - public: - void clear_team(); - int32_t team() const; - void set_team(int32_t value); - private: - int32_t _internal_team() const; - void _internal_set_team(int32_t value); - public: - - // optional int32 slot = 3; - bool has_slot() const; - private: - bool _internal_has_slot() const; - public: - void clear_slot(); - int32_t slot() const; - void set_slot(int32_t value); - private: - int32_t _internal_slot() const; - void _internal_set_slot(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_SendPlayerLoadout.LoadoutItem) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CEconItemPreviewDataBlock* econ_item_; - int32_t team_; - int32_t slot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCSUsrMsg_SendPlayerLoadout : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCSUsrMsg_SendPlayerLoadout) */ { - public: - inline CCSUsrMsg_SendPlayerLoadout() : CCSUsrMsg_SendPlayerLoadout(nullptr) {} - ~CCSUsrMsg_SendPlayerLoadout() override; - explicit PROTOBUF_CONSTEXPR CCSUsrMsg_SendPlayerLoadout(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCSUsrMsg_SendPlayerLoadout(const CCSUsrMsg_SendPlayerLoadout& from); - CCSUsrMsg_SendPlayerLoadout(CCSUsrMsg_SendPlayerLoadout&& from) noexcept - : CCSUsrMsg_SendPlayerLoadout() { - *this = ::std::move(from); - } - - inline CCSUsrMsg_SendPlayerLoadout& operator=(const CCSUsrMsg_SendPlayerLoadout& from) { - CopyFrom(from); - return *this; - } - inline CCSUsrMsg_SendPlayerLoadout& operator=(CCSUsrMsg_SendPlayerLoadout&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCSUsrMsg_SendPlayerLoadout& default_instance() { - return *internal_default_instance(); - } - static inline const CCSUsrMsg_SendPlayerLoadout* internal_default_instance() { - return reinterpret_cast( - &_CCSUsrMsg_SendPlayerLoadout_default_instance_); - } - static constexpr int kIndexInFileMessages = - 88; - - friend void swap(CCSUsrMsg_SendPlayerLoadout& a, CCSUsrMsg_SendPlayerLoadout& b) { - a.Swap(&b); - } - inline void Swap(CCSUsrMsg_SendPlayerLoadout* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCSUsrMsg_SendPlayerLoadout* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCSUsrMsg_SendPlayerLoadout* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCSUsrMsg_SendPlayerLoadout& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCSUsrMsg_SendPlayerLoadout& from) { - CCSUsrMsg_SendPlayerLoadout::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCSUsrMsg_SendPlayerLoadout* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCSUsrMsg_SendPlayerLoadout"; - } - protected: - explicit CCSUsrMsg_SendPlayerLoadout(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CCSUsrMsg_SendPlayerLoadout_LoadoutItem LoadoutItem; - - // accessors ------------------------------------------------------- - - enum : int { - kLoadoutFieldNumber = 1, - kPlayerslotFieldNumber = 2, - }; - // repeated .CCSUsrMsg_SendPlayerLoadout.LoadoutItem loadout = 1; - int loadout_size() const; - private: - int _internal_loadout_size() const; - public: - void clear_loadout(); - ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem* mutable_loadout(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem >* - mutable_loadout(); - private: - const ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem& _internal_loadout(int index) const; - ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem* _internal_add_loadout(); - public: - const ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem& loadout(int index) const; - ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem* add_loadout(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem >& - loadout() const; - - // optional int32 playerslot = 2 [default = -1]; - bool has_playerslot() const; - private: - bool _internal_has_playerslot() const; - public: - void clear_playerslot(); - int32_t playerslot() const; - void set_playerslot(int32_t value); - private: - int32_t _internal_playerslot() const; - void _internal_set_playerslot(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCSUsrMsg_SendPlayerLoadout) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem > loadout_; - int32_t playerslot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_cstrike15_5fusermessages_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CCSUsrMsg_VGUIMenu_Keys - -// optional string name = 1; -inline bool CCSUsrMsg_VGUIMenu_Keys::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_VGUIMenu_Keys::has_name() const { - return _internal_has_name(); -} -inline void CCSUsrMsg_VGUIMenu_Keys::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_VGUIMenu_Keys::name() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VGUIMenu.Keys.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_VGUIMenu_Keys::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VGUIMenu.Keys.name) -} -inline std::string* CCSUsrMsg_VGUIMenu_Keys::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VGUIMenu.Keys.name) - return _s; -} -inline const std::string& CCSUsrMsg_VGUIMenu_Keys::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CCSUsrMsg_VGUIMenu_Keys::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_VGUIMenu_Keys::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_VGUIMenu_Keys::release_name() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_VGUIMenu.Keys.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_VGUIMenu_Keys::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_VGUIMenu.Keys.name) -} - -// optional string value = 2; -inline bool CCSUsrMsg_VGUIMenu_Keys::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_VGUIMenu_Keys::has_value() const { - return _internal_has_value(); -} -inline void CCSUsrMsg_VGUIMenu_Keys::clear_value() { - _impl_.value_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CCSUsrMsg_VGUIMenu_Keys::value() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VGUIMenu.Keys.value) - return _internal_value(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_VGUIMenu_Keys::set_value(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VGUIMenu.Keys.value) -} -inline std::string* CCSUsrMsg_VGUIMenu_Keys::mutable_value() { - std::string* _s = _internal_mutable_value(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VGUIMenu.Keys.value) - return _s; -} -inline const std::string& CCSUsrMsg_VGUIMenu_Keys::_internal_value() const { - return _impl_.value_.Get(); -} -inline void CCSUsrMsg_VGUIMenu_Keys::_internal_set_value(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.value_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_VGUIMenu_Keys::_internal_mutable_value() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.value_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_VGUIMenu_Keys::release_value() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_VGUIMenu.Keys.value) - if (!_internal_has_value()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.value_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_.IsDefault()) { - _impl_.value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_VGUIMenu_Keys::set_allocated_value(std::string* value) { - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.value_.SetAllocated(value, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_.IsDefault()) { - _impl_.value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_VGUIMenu.Keys.value) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_VGUIMenu - -// optional string name = 1; -inline bool CCSUsrMsg_VGUIMenu::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_VGUIMenu::has_name() const { - return _internal_has_name(); -} -inline void CCSUsrMsg_VGUIMenu::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_VGUIMenu::name() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VGUIMenu.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_VGUIMenu::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VGUIMenu.name) -} -inline std::string* CCSUsrMsg_VGUIMenu::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VGUIMenu.name) - return _s; -} -inline const std::string& CCSUsrMsg_VGUIMenu::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CCSUsrMsg_VGUIMenu::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_VGUIMenu::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_VGUIMenu::release_name() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_VGUIMenu.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_VGUIMenu::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_VGUIMenu.name) -} - -// optional bool show = 2; -inline bool CCSUsrMsg_VGUIMenu::_internal_has_show() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_VGUIMenu::has_show() const { - return _internal_has_show(); -} -inline void CCSUsrMsg_VGUIMenu::clear_show() { - _impl_.show_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CCSUsrMsg_VGUIMenu::_internal_show() const { - return _impl_.show_; -} -inline bool CCSUsrMsg_VGUIMenu::show() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VGUIMenu.show) - return _internal_show(); -} -inline void CCSUsrMsg_VGUIMenu::_internal_set_show(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.show_ = value; -} -inline void CCSUsrMsg_VGUIMenu::set_show(bool value) { - _internal_set_show(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VGUIMenu.show) -} - -// repeated .CCSUsrMsg_VGUIMenu.Keys keys = 3; -inline int CCSUsrMsg_VGUIMenu::_internal_keys_size() const { - return _impl_.keys_.size(); -} -inline int CCSUsrMsg_VGUIMenu::keys_size() const { - return _internal_keys_size(); -} -inline void CCSUsrMsg_VGUIMenu::clear_keys() { - _impl_.keys_.Clear(); -} -inline ::CCSUsrMsg_VGUIMenu_Keys* CCSUsrMsg_VGUIMenu::mutable_keys(int index) { - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VGUIMenu.keys) - return _impl_.keys_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VGUIMenu_Keys >* -CCSUsrMsg_VGUIMenu::mutable_keys() { - // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_VGUIMenu.keys) - return &_impl_.keys_; -} -inline const ::CCSUsrMsg_VGUIMenu_Keys& CCSUsrMsg_VGUIMenu::_internal_keys(int index) const { - return _impl_.keys_.Get(index); -} -inline const ::CCSUsrMsg_VGUIMenu_Keys& CCSUsrMsg_VGUIMenu::keys(int index) const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VGUIMenu.keys) - return _internal_keys(index); -} -inline ::CCSUsrMsg_VGUIMenu_Keys* CCSUsrMsg_VGUIMenu::_internal_add_keys() { - return _impl_.keys_.Add(); -} -inline ::CCSUsrMsg_VGUIMenu_Keys* CCSUsrMsg_VGUIMenu::add_keys() { - ::CCSUsrMsg_VGUIMenu_Keys* _add = _internal_add_keys(); - // @@protoc_insertion_point(field_add:CCSUsrMsg_VGUIMenu.keys) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VGUIMenu_Keys >& -CCSUsrMsg_VGUIMenu::keys() const { - // @@protoc_insertion_point(field_list:CCSUsrMsg_VGUIMenu.keys) - return _impl_.keys_; -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_Geiger - -// optional int32 range = 1; -inline bool CCSUsrMsg_Geiger::_internal_has_range() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_Geiger::has_range() const { - return _internal_has_range(); -} -inline void CCSUsrMsg_Geiger::clear_range() { - _impl_.range_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_Geiger::_internal_range() const { - return _impl_.range_; -} -inline int32_t CCSUsrMsg_Geiger::range() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_Geiger.range) - return _internal_range(); -} -inline void CCSUsrMsg_Geiger::_internal_set_range(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.range_ = value; -} -inline void CCSUsrMsg_Geiger::set_range(int32_t value) { - _internal_set_range(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_Geiger.range) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_Train - -// optional int32 train = 1; -inline bool CCSUsrMsg_Train::_internal_has_train() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_Train::has_train() const { - return _internal_has_train(); -} -inline void CCSUsrMsg_Train::clear_train() { - _impl_.train_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_Train::_internal_train() const { - return _impl_.train_; -} -inline int32_t CCSUsrMsg_Train::train() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_Train.train) - return _internal_train(); -} -inline void CCSUsrMsg_Train::_internal_set_train(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.train_ = value; -} -inline void CCSUsrMsg_Train::set_train(int32_t value) { - _internal_set_train(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_Train.train) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_HudText - -// optional string text = 1; -inline bool CCSUsrMsg_HudText::_internal_has_text() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_HudText::has_text() const { - return _internal_has_text(); -} -inline void CCSUsrMsg_HudText::clear_text() { - _impl_.text_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_HudText::text() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_HudText.text) - return _internal_text(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_HudText::set_text(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_HudText.text) -} -inline std::string* CCSUsrMsg_HudText::mutable_text() { - std::string* _s = _internal_mutable_text(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_HudText.text) - return _s; -} -inline const std::string& CCSUsrMsg_HudText::_internal_text() const { - return _impl_.text_.Get(); -} -inline void CCSUsrMsg_HudText::_internal_set_text(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_HudText::_internal_mutable_text() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.text_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_HudText::release_text() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_HudText.text) - if (!_internal_has_text()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.text_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_HudText::set_allocated_text(std::string* text) { - if (text != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.text_.SetAllocated(text, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_HudText.text) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_HudMsg - -// optional int32 channel = 1; -inline bool CCSUsrMsg_HudMsg::_internal_has_channel() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CCSUsrMsg_HudMsg::has_channel() const { - return _internal_has_channel(); -} -inline void CCSUsrMsg_HudMsg::clear_channel() { - _impl_.channel_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CCSUsrMsg_HudMsg::_internal_channel() const { - return _impl_.channel_; -} -inline int32_t CCSUsrMsg_HudMsg::channel() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.channel) - return _internal_channel(); -} -inline void CCSUsrMsg_HudMsg::_internal_set_channel(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.channel_ = value; -} -inline void CCSUsrMsg_HudMsg::set_channel(int32_t value) { - _internal_set_channel(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_HudMsg.channel) -} - -// optional .CMsgVector2D pos = 2; -inline bool CCSUsrMsg_HudMsg::_internal_has_pos() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.pos_ != nullptr); - return value; -} -inline bool CCSUsrMsg_HudMsg::has_pos() const { - return _internal_has_pos(); -} -inline const ::CMsgVector2D& CCSUsrMsg_HudMsg::_internal_pos() const { - const ::CMsgVector2D* p = _impl_.pos_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector2D_default_instance_); -} -inline const ::CMsgVector2D& CCSUsrMsg_HudMsg::pos() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.pos) - return _internal_pos(); -} -inline void CCSUsrMsg_HudMsg::unsafe_arena_set_allocated_pos( - ::CMsgVector2D* pos) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); - } - _impl_.pos_ = pos; - if (pos) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_HudMsg.pos) -} -inline ::CMsgVector2D* CCSUsrMsg_HudMsg::release_pos() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector2D* temp = _impl_.pos_; - _impl_.pos_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector2D* CCSUsrMsg_HudMsg::unsafe_arena_release_pos() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_HudMsg.pos) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector2D* temp = _impl_.pos_; - _impl_.pos_ = nullptr; - return temp; -} -inline ::CMsgVector2D* CCSUsrMsg_HudMsg::_internal_mutable_pos() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.pos_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector2D>(GetArenaForAllocation()); - _impl_.pos_ = p; - } - return _impl_.pos_; -} -inline ::CMsgVector2D* CCSUsrMsg_HudMsg::mutable_pos() { - ::CMsgVector2D* _msg = _internal_mutable_pos(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_HudMsg.pos) - return _msg; -} -inline void CCSUsrMsg_HudMsg::set_allocated_pos(::CMsgVector2D* pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); - } - if (pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pos)); - if (message_arena != submessage_arena) { - pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, pos, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.pos_ = pos; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_HudMsg.pos) -} - -// optional .CMsgRGBA clr1 = 3; -inline bool CCSUsrMsg_HudMsg::_internal_has_clr1() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.clr1_ != nullptr); - return value; -} -inline bool CCSUsrMsg_HudMsg::has_clr1() const { - return _internal_has_clr1(); -} -inline const ::CMsgRGBA& CCSUsrMsg_HudMsg::_internal_clr1() const { - const ::CMsgRGBA* p = _impl_.clr1_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgRGBA_default_instance_); -} -inline const ::CMsgRGBA& CCSUsrMsg_HudMsg::clr1() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.clr1) - return _internal_clr1(); -} -inline void CCSUsrMsg_HudMsg::unsafe_arena_set_allocated_clr1( - ::CMsgRGBA* clr1) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.clr1_); - } - _impl_.clr1_ = clr1; - if (clr1) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_HudMsg.clr1) -} -inline ::CMsgRGBA* CCSUsrMsg_HudMsg::release_clr1() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgRGBA* temp = _impl_.clr1_; - _impl_.clr1_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgRGBA* CCSUsrMsg_HudMsg::unsafe_arena_release_clr1() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_HudMsg.clr1) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgRGBA* temp = _impl_.clr1_; - _impl_.clr1_ = nullptr; - return temp; -} -inline ::CMsgRGBA* CCSUsrMsg_HudMsg::_internal_mutable_clr1() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.clr1_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgRGBA>(GetArenaForAllocation()); - _impl_.clr1_ = p; - } - return _impl_.clr1_; -} -inline ::CMsgRGBA* CCSUsrMsg_HudMsg::mutable_clr1() { - ::CMsgRGBA* _msg = _internal_mutable_clr1(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_HudMsg.clr1) - return _msg; -} -inline void CCSUsrMsg_HudMsg::set_allocated_clr1(::CMsgRGBA* clr1) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.clr1_); - } - if (clr1) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(clr1)); - if (message_arena != submessage_arena) { - clr1 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, clr1, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.clr1_ = clr1; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_HudMsg.clr1) -} - -// optional .CMsgRGBA clr2 = 4; -inline bool CCSUsrMsg_HudMsg::_internal_has_clr2() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.clr2_ != nullptr); - return value; -} -inline bool CCSUsrMsg_HudMsg::has_clr2() const { - return _internal_has_clr2(); -} -inline const ::CMsgRGBA& CCSUsrMsg_HudMsg::_internal_clr2() const { - const ::CMsgRGBA* p = _impl_.clr2_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgRGBA_default_instance_); -} -inline const ::CMsgRGBA& CCSUsrMsg_HudMsg::clr2() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.clr2) - return _internal_clr2(); -} -inline void CCSUsrMsg_HudMsg::unsafe_arena_set_allocated_clr2( - ::CMsgRGBA* clr2) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.clr2_); - } - _impl_.clr2_ = clr2; - if (clr2) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_HudMsg.clr2) -} -inline ::CMsgRGBA* CCSUsrMsg_HudMsg::release_clr2() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgRGBA* temp = _impl_.clr2_; - _impl_.clr2_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgRGBA* CCSUsrMsg_HudMsg::unsafe_arena_release_clr2() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_HudMsg.clr2) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgRGBA* temp = _impl_.clr2_; - _impl_.clr2_ = nullptr; - return temp; -} -inline ::CMsgRGBA* CCSUsrMsg_HudMsg::_internal_mutable_clr2() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.clr2_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgRGBA>(GetArenaForAllocation()); - _impl_.clr2_ = p; - } - return _impl_.clr2_; -} -inline ::CMsgRGBA* CCSUsrMsg_HudMsg::mutable_clr2() { - ::CMsgRGBA* _msg = _internal_mutable_clr2(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_HudMsg.clr2) - return _msg; -} -inline void CCSUsrMsg_HudMsg::set_allocated_clr2(::CMsgRGBA* clr2) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.clr2_); - } - if (clr2) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(clr2)); - if (message_arena != submessage_arena) { - clr2 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, clr2, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.clr2_ = clr2; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_HudMsg.clr2) -} - -// optional int32 effect = 5; -inline bool CCSUsrMsg_HudMsg::_internal_has_effect() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CCSUsrMsg_HudMsg::has_effect() const { - return _internal_has_effect(); -} -inline void CCSUsrMsg_HudMsg::clear_effect() { - _impl_.effect_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CCSUsrMsg_HudMsg::_internal_effect() const { - return _impl_.effect_; -} -inline int32_t CCSUsrMsg_HudMsg::effect() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.effect) - return _internal_effect(); -} -inline void CCSUsrMsg_HudMsg::_internal_set_effect(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.effect_ = value; -} -inline void CCSUsrMsg_HudMsg::set_effect(int32_t value) { - _internal_set_effect(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_HudMsg.effect) -} - -// optional float fade_in_time = 6; -inline bool CCSUsrMsg_HudMsg::_internal_has_fade_in_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CCSUsrMsg_HudMsg::has_fade_in_time() const { - return _internal_has_fade_in_time(); -} -inline void CCSUsrMsg_HudMsg::clear_fade_in_time() { - _impl_.fade_in_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline float CCSUsrMsg_HudMsg::_internal_fade_in_time() const { - return _impl_.fade_in_time_; -} -inline float CCSUsrMsg_HudMsg::fade_in_time() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.fade_in_time) - return _internal_fade_in_time(); -} -inline void CCSUsrMsg_HudMsg::_internal_set_fade_in_time(float value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.fade_in_time_ = value; -} -inline void CCSUsrMsg_HudMsg::set_fade_in_time(float value) { - _internal_set_fade_in_time(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_HudMsg.fade_in_time) -} - -// optional float fade_out_time = 7; -inline bool CCSUsrMsg_HudMsg::_internal_has_fade_out_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CCSUsrMsg_HudMsg::has_fade_out_time() const { - return _internal_has_fade_out_time(); -} -inline void CCSUsrMsg_HudMsg::clear_fade_out_time() { - _impl_.fade_out_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline float CCSUsrMsg_HudMsg::_internal_fade_out_time() const { - return _impl_.fade_out_time_; -} -inline float CCSUsrMsg_HudMsg::fade_out_time() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.fade_out_time) - return _internal_fade_out_time(); -} -inline void CCSUsrMsg_HudMsg::_internal_set_fade_out_time(float value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.fade_out_time_ = value; -} -inline void CCSUsrMsg_HudMsg::set_fade_out_time(float value) { - _internal_set_fade_out_time(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_HudMsg.fade_out_time) -} - -// optional float hold_time = 9; -inline bool CCSUsrMsg_HudMsg::_internal_has_hold_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CCSUsrMsg_HudMsg::has_hold_time() const { - return _internal_has_hold_time(); -} -inline void CCSUsrMsg_HudMsg::clear_hold_time() { - _impl_.hold_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline float CCSUsrMsg_HudMsg::_internal_hold_time() const { - return _impl_.hold_time_; -} -inline float CCSUsrMsg_HudMsg::hold_time() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.hold_time) - return _internal_hold_time(); -} -inline void CCSUsrMsg_HudMsg::_internal_set_hold_time(float value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.hold_time_ = value; -} -inline void CCSUsrMsg_HudMsg::set_hold_time(float value) { - _internal_set_hold_time(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_HudMsg.hold_time) -} - -// optional float fx_time = 10; -inline bool CCSUsrMsg_HudMsg::_internal_has_fx_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CCSUsrMsg_HudMsg::has_fx_time() const { - return _internal_has_fx_time(); -} -inline void CCSUsrMsg_HudMsg::clear_fx_time() { - _impl_.fx_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline float CCSUsrMsg_HudMsg::_internal_fx_time() const { - return _impl_.fx_time_; -} -inline float CCSUsrMsg_HudMsg::fx_time() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.fx_time) - return _internal_fx_time(); -} -inline void CCSUsrMsg_HudMsg::_internal_set_fx_time(float value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.fx_time_ = value; -} -inline void CCSUsrMsg_HudMsg::set_fx_time(float value) { - _internal_set_fx_time(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_HudMsg.fx_time) -} - -// optional string text = 11; -inline bool CCSUsrMsg_HudMsg::_internal_has_text() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_HudMsg::has_text() const { - return _internal_has_text(); -} -inline void CCSUsrMsg_HudMsg::clear_text() { - _impl_.text_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_HudMsg::text() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_HudMsg.text) - return _internal_text(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_HudMsg::set_text(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_HudMsg.text) -} -inline std::string* CCSUsrMsg_HudMsg::mutable_text() { - std::string* _s = _internal_mutable_text(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_HudMsg.text) - return _s; -} -inline const std::string& CCSUsrMsg_HudMsg::_internal_text() const { - return _impl_.text_.Get(); -} -inline void CCSUsrMsg_HudMsg::_internal_set_text(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_HudMsg::_internal_mutable_text() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.text_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_HudMsg::release_text() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_HudMsg.text) - if (!_internal_has_text()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.text_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_HudMsg::set_allocated_text(std::string* text) { - if (text != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.text_.SetAllocated(text, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_HudMsg.text) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_Shake - -// optional int32 command = 1; -inline bool CCSUsrMsg_Shake::_internal_has_command() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_Shake::has_command() const { - return _internal_has_command(); -} -inline void CCSUsrMsg_Shake::clear_command() { - _impl_.command_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_Shake::_internal_command() const { - return _impl_.command_; -} -inline int32_t CCSUsrMsg_Shake::command() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_Shake.command) - return _internal_command(); -} -inline void CCSUsrMsg_Shake::_internal_set_command(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.command_ = value; -} -inline void CCSUsrMsg_Shake::set_command(int32_t value) { - _internal_set_command(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_Shake.command) -} - -// optional float local_amplitude = 2; -inline bool CCSUsrMsg_Shake::_internal_has_local_amplitude() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_Shake::has_local_amplitude() const { - return _internal_has_local_amplitude(); -} -inline void CCSUsrMsg_Shake::clear_local_amplitude() { - _impl_.local_amplitude_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CCSUsrMsg_Shake::_internal_local_amplitude() const { - return _impl_.local_amplitude_; -} -inline float CCSUsrMsg_Shake::local_amplitude() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_Shake.local_amplitude) - return _internal_local_amplitude(); -} -inline void CCSUsrMsg_Shake::_internal_set_local_amplitude(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.local_amplitude_ = value; -} -inline void CCSUsrMsg_Shake::set_local_amplitude(float value) { - _internal_set_local_amplitude(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_Shake.local_amplitude) -} - -// optional float frequency = 3; -inline bool CCSUsrMsg_Shake::_internal_has_frequency() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_Shake::has_frequency() const { - return _internal_has_frequency(); -} -inline void CCSUsrMsg_Shake::clear_frequency() { - _impl_.frequency_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CCSUsrMsg_Shake::_internal_frequency() const { - return _impl_.frequency_; -} -inline float CCSUsrMsg_Shake::frequency() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_Shake.frequency) - return _internal_frequency(); -} -inline void CCSUsrMsg_Shake::_internal_set_frequency(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.frequency_ = value; -} -inline void CCSUsrMsg_Shake::set_frequency(float value) { - _internal_set_frequency(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_Shake.frequency) -} - -// optional float duration = 4; -inline bool CCSUsrMsg_Shake::_internal_has_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_Shake::has_duration() const { - return _internal_has_duration(); -} -inline void CCSUsrMsg_Shake::clear_duration() { - _impl_.duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CCSUsrMsg_Shake::_internal_duration() const { - return _impl_.duration_; -} -inline float CCSUsrMsg_Shake::duration() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_Shake.duration) - return _internal_duration(); -} -inline void CCSUsrMsg_Shake::_internal_set_duration(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.duration_ = value; -} -inline void CCSUsrMsg_Shake::set_duration(float value) { - _internal_set_duration(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_Shake.duration) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_Fade - -// optional int32 duration = 1; -inline bool CCSUsrMsg_Fade::_internal_has_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_Fade::has_duration() const { - return _internal_has_duration(); -} -inline void CCSUsrMsg_Fade::clear_duration() { - _impl_.duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_Fade::_internal_duration() const { - return _impl_.duration_; -} -inline int32_t CCSUsrMsg_Fade::duration() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_Fade.duration) - return _internal_duration(); -} -inline void CCSUsrMsg_Fade::_internal_set_duration(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.duration_ = value; -} -inline void CCSUsrMsg_Fade::set_duration(int32_t value) { - _internal_set_duration(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_Fade.duration) -} - -// optional int32 hold_time = 2; -inline bool CCSUsrMsg_Fade::_internal_has_hold_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_Fade::has_hold_time() const { - return _internal_has_hold_time(); -} -inline void CCSUsrMsg_Fade::clear_hold_time() { - _impl_.hold_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_Fade::_internal_hold_time() const { - return _impl_.hold_time_; -} -inline int32_t CCSUsrMsg_Fade::hold_time() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_Fade.hold_time) - return _internal_hold_time(); -} -inline void CCSUsrMsg_Fade::_internal_set_hold_time(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.hold_time_ = value; -} -inline void CCSUsrMsg_Fade::set_hold_time(int32_t value) { - _internal_set_hold_time(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_Fade.hold_time) -} - -// optional int32 flags = 3; -inline bool CCSUsrMsg_Fade::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_Fade::has_flags() const { - return _internal_has_flags(); -} -inline void CCSUsrMsg_Fade::clear_flags() { - _impl_.flags_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CCSUsrMsg_Fade::_internal_flags() const { - return _impl_.flags_; -} -inline int32_t CCSUsrMsg_Fade::flags() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_Fade.flags) - return _internal_flags(); -} -inline void CCSUsrMsg_Fade::_internal_set_flags(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.flags_ = value; -} -inline void CCSUsrMsg_Fade::set_flags(int32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_Fade.flags) -} - -// optional .CMsgRGBA clr = 4; -inline bool CCSUsrMsg_Fade::_internal_has_clr() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.clr_ != nullptr); - return value; -} -inline bool CCSUsrMsg_Fade::has_clr() const { - return _internal_has_clr(); -} -inline const ::CMsgRGBA& CCSUsrMsg_Fade::_internal_clr() const { - const ::CMsgRGBA* p = _impl_.clr_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgRGBA_default_instance_); -} -inline const ::CMsgRGBA& CCSUsrMsg_Fade::clr() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_Fade.clr) - return _internal_clr(); -} -inline void CCSUsrMsg_Fade::unsafe_arena_set_allocated_clr( - ::CMsgRGBA* clr) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.clr_); - } - _impl_.clr_ = clr; - if (clr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_Fade.clr) -} -inline ::CMsgRGBA* CCSUsrMsg_Fade::release_clr() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgRGBA* temp = _impl_.clr_; - _impl_.clr_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgRGBA* CCSUsrMsg_Fade::unsafe_arena_release_clr() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_Fade.clr) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgRGBA* temp = _impl_.clr_; - _impl_.clr_ = nullptr; - return temp; -} -inline ::CMsgRGBA* CCSUsrMsg_Fade::_internal_mutable_clr() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.clr_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgRGBA>(GetArenaForAllocation()); - _impl_.clr_ = p; - } - return _impl_.clr_; -} -inline ::CMsgRGBA* CCSUsrMsg_Fade::mutable_clr() { - ::CMsgRGBA* _msg = _internal_mutable_clr(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_Fade.clr) - return _msg; -} -inline void CCSUsrMsg_Fade::set_allocated_clr(::CMsgRGBA* clr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.clr_); - } - if (clr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(clr)); - if (message_arena != submessage_arena) { - clr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, clr, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.clr_ = clr; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_Fade.clr) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_Rumble - -// optional int32 index = 1; -inline bool CCSUsrMsg_Rumble::_internal_has_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_Rumble::has_index() const { - return _internal_has_index(); -} -inline void CCSUsrMsg_Rumble::clear_index() { - _impl_.index_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_Rumble::_internal_index() const { - return _impl_.index_; -} -inline int32_t CCSUsrMsg_Rumble::index() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_Rumble.index) - return _internal_index(); -} -inline void CCSUsrMsg_Rumble::_internal_set_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.index_ = value; -} -inline void CCSUsrMsg_Rumble::set_index(int32_t value) { - _internal_set_index(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_Rumble.index) -} - -// optional int32 data = 2; -inline bool CCSUsrMsg_Rumble::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_Rumble::has_data() const { - return _internal_has_data(); -} -inline void CCSUsrMsg_Rumble::clear_data() { - _impl_.data_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_Rumble::_internal_data() const { - return _impl_.data_; -} -inline int32_t CCSUsrMsg_Rumble::data() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_Rumble.data) - return _internal_data(); -} -inline void CCSUsrMsg_Rumble::_internal_set_data(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.data_ = value; -} -inline void CCSUsrMsg_Rumble::set_data(int32_t value) { - _internal_set_data(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_Rumble.data) -} - -// optional int32 flags = 3; -inline bool CCSUsrMsg_Rumble::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_Rumble::has_flags() const { - return _internal_has_flags(); -} -inline void CCSUsrMsg_Rumble::clear_flags() { - _impl_.flags_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_Rumble::_internal_flags() const { - return _impl_.flags_; -} -inline int32_t CCSUsrMsg_Rumble::flags() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_Rumble.flags) - return _internal_flags(); -} -inline void CCSUsrMsg_Rumble::_internal_set_flags(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.flags_ = value; -} -inline void CCSUsrMsg_Rumble::set_flags(int32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_Rumble.flags) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_CloseCaption - -// optional uint32 hash = 1; -inline bool CCSUsrMsg_CloseCaption::_internal_has_hash() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_CloseCaption::has_hash() const { - return _internal_has_hash(); -} -inline void CCSUsrMsg_CloseCaption::clear_hash() { - _impl_.hash_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CCSUsrMsg_CloseCaption::_internal_hash() const { - return _impl_.hash_; -} -inline uint32_t CCSUsrMsg_CloseCaption::hash() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_CloseCaption.hash) - return _internal_hash(); -} -inline void CCSUsrMsg_CloseCaption::_internal_set_hash(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.hash_ = value; -} -inline void CCSUsrMsg_CloseCaption::set_hash(uint32_t value) { - _internal_set_hash(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_CloseCaption.hash) -} - -// optional int32 duration = 2; -inline bool CCSUsrMsg_CloseCaption::_internal_has_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_CloseCaption::has_duration() const { - return _internal_has_duration(); -} -inline void CCSUsrMsg_CloseCaption::clear_duration() { - _impl_.duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_CloseCaption::_internal_duration() const { - return _impl_.duration_; -} -inline int32_t CCSUsrMsg_CloseCaption::duration() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_CloseCaption.duration) - return _internal_duration(); -} -inline void CCSUsrMsg_CloseCaption::_internal_set_duration(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.duration_ = value; -} -inline void CCSUsrMsg_CloseCaption::set_duration(int32_t value) { - _internal_set_duration(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_CloseCaption.duration) -} - -// optional bool from_player = 3; -inline bool CCSUsrMsg_CloseCaption::_internal_has_from_player() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_CloseCaption::has_from_player() const { - return _internal_has_from_player(); -} -inline void CCSUsrMsg_CloseCaption::clear_from_player() { - _impl_.from_player_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CCSUsrMsg_CloseCaption::_internal_from_player() const { - return _impl_.from_player_; -} -inline bool CCSUsrMsg_CloseCaption::from_player() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_CloseCaption.from_player) - return _internal_from_player(); -} -inline void CCSUsrMsg_CloseCaption::_internal_set_from_player(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.from_player_ = value; -} -inline void CCSUsrMsg_CloseCaption::set_from_player(bool value) { - _internal_set_from_player(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_CloseCaption.from_player) -} - -// optional string cctoken = 4; -inline bool CCSUsrMsg_CloseCaption::_internal_has_cctoken() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_CloseCaption::has_cctoken() const { - return _internal_has_cctoken(); -} -inline void CCSUsrMsg_CloseCaption::clear_cctoken() { - _impl_.cctoken_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_CloseCaption::cctoken() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_CloseCaption.cctoken) - return _internal_cctoken(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_CloseCaption::set_cctoken(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.cctoken_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_CloseCaption.cctoken) -} -inline std::string* CCSUsrMsg_CloseCaption::mutable_cctoken() { - std::string* _s = _internal_mutable_cctoken(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_CloseCaption.cctoken) - return _s; -} -inline const std::string& CCSUsrMsg_CloseCaption::_internal_cctoken() const { - return _impl_.cctoken_.Get(); -} -inline void CCSUsrMsg_CloseCaption::_internal_set_cctoken(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.cctoken_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_CloseCaption::_internal_mutable_cctoken() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.cctoken_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_CloseCaption::release_cctoken() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_CloseCaption.cctoken) - if (!_internal_has_cctoken()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.cctoken_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cctoken_.IsDefault()) { - _impl_.cctoken_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_CloseCaption::set_allocated_cctoken(std::string* cctoken) { - if (cctoken != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.cctoken_.SetAllocated(cctoken, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cctoken_.IsDefault()) { - _impl_.cctoken_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_CloseCaption.cctoken) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_CloseCaptionDirect - -// optional uint32 hash = 1; -inline bool CCSUsrMsg_CloseCaptionDirect::_internal_has_hash() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_CloseCaptionDirect::has_hash() const { - return _internal_has_hash(); -} -inline void CCSUsrMsg_CloseCaptionDirect::clear_hash() { - _impl_.hash_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CCSUsrMsg_CloseCaptionDirect::_internal_hash() const { - return _impl_.hash_; -} -inline uint32_t CCSUsrMsg_CloseCaptionDirect::hash() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_CloseCaptionDirect.hash) - return _internal_hash(); -} -inline void CCSUsrMsg_CloseCaptionDirect::_internal_set_hash(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.hash_ = value; -} -inline void CCSUsrMsg_CloseCaptionDirect::set_hash(uint32_t value) { - _internal_set_hash(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_CloseCaptionDirect.hash) -} - -// optional int32 duration = 2; -inline bool CCSUsrMsg_CloseCaptionDirect::_internal_has_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_CloseCaptionDirect::has_duration() const { - return _internal_has_duration(); -} -inline void CCSUsrMsg_CloseCaptionDirect::clear_duration() { - _impl_.duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_CloseCaptionDirect::_internal_duration() const { - return _impl_.duration_; -} -inline int32_t CCSUsrMsg_CloseCaptionDirect::duration() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_CloseCaptionDirect.duration) - return _internal_duration(); -} -inline void CCSUsrMsg_CloseCaptionDirect::_internal_set_duration(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.duration_ = value; -} -inline void CCSUsrMsg_CloseCaptionDirect::set_duration(int32_t value) { - _internal_set_duration(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_CloseCaptionDirect.duration) -} - -// optional bool from_player = 3; -inline bool CCSUsrMsg_CloseCaptionDirect::_internal_has_from_player() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_CloseCaptionDirect::has_from_player() const { - return _internal_has_from_player(); -} -inline void CCSUsrMsg_CloseCaptionDirect::clear_from_player() { - _impl_.from_player_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CCSUsrMsg_CloseCaptionDirect::_internal_from_player() const { - return _impl_.from_player_; -} -inline bool CCSUsrMsg_CloseCaptionDirect::from_player() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_CloseCaptionDirect.from_player) - return _internal_from_player(); -} -inline void CCSUsrMsg_CloseCaptionDirect::_internal_set_from_player(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.from_player_ = value; -} -inline void CCSUsrMsg_CloseCaptionDirect::set_from_player(bool value) { - _internal_set_from_player(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_CloseCaptionDirect.from_player) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_SendAudio - -// optional string radio_sound = 1; -inline bool CCSUsrMsg_SendAudio::_internal_has_radio_sound() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_SendAudio::has_radio_sound() const { - return _internal_has_radio_sound(); -} -inline void CCSUsrMsg_SendAudio::clear_radio_sound() { - _impl_.radio_sound_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_SendAudio::radio_sound() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SendAudio.radio_sound) - return _internal_radio_sound(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_SendAudio::set_radio_sound(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.radio_sound_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SendAudio.radio_sound) -} -inline std::string* CCSUsrMsg_SendAudio::mutable_radio_sound() { - std::string* _s = _internal_mutable_radio_sound(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_SendAudio.radio_sound) - return _s; -} -inline const std::string& CCSUsrMsg_SendAudio::_internal_radio_sound() const { - return _impl_.radio_sound_.Get(); -} -inline void CCSUsrMsg_SendAudio::_internal_set_radio_sound(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.radio_sound_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_SendAudio::_internal_mutable_radio_sound() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.radio_sound_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_SendAudio::release_radio_sound() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_SendAudio.radio_sound) - if (!_internal_has_radio_sound()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.radio_sound_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.radio_sound_.IsDefault()) { - _impl_.radio_sound_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_SendAudio::set_allocated_radio_sound(std::string* radio_sound) { - if (radio_sound != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.radio_sound_.SetAllocated(radio_sound, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.radio_sound_.IsDefault()) { - _impl_.radio_sound_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_SendAudio.radio_sound) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_RawAudio - -// optional int32 pitch = 1; -inline bool CCSUsrMsg_RawAudio::_internal_has_pitch() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_RawAudio::has_pitch() const { - return _internal_has_pitch(); -} -inline void CCSUsrMsg_RawAudio::clear_pitch() { - _impl_.pitch_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_RawAudio::_internal_pitch() const { - return _impl_.pitch_; -} -inline int32_t CCSUsrMsg_RawAudio::pitch() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RawAudio.pitch) - return _internal_pitch(); -} -inline void CCSUsrMsg_RawAudio::_internal_set_pitch(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.pitch_ = value; -} -inline void CCSUsrMsg_RawAudio::set_pitch(int32_t value) { - _internal_set_pitch(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RawAudio.pitch) -} - -// optional int32 entidx = 2 [default = -1]; -inline bool CCSUsrMsg_RawAudio::_internal_has_entidx() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_RawAudio::has_entidx() const { - return _internal_has_entidx(); -} -inline void CCSUsrMsg_RawAudio::clear_entidx() { - _impl_.entidx_ = -1; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CCSUsrMsg_RawAudio::_internal_entidx() const { - return _impl_.entidx_; -} -inline int32_t CCSUsrMsg_RawAudio::entidx() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RawAudio.entidx) - return _internal_entidx(); -} -inline void CCSUsrMsg_RawAudio::_internal_set_entidx(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.entidx_ = value; -} -inline void CCSUsrMsg_RawAudio::set_entidx(int32_t value) { - _internal_set_entidx(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RawAudio.entidx) -} - -// optional float duration = 3; -inline bool CCSUsrMsg_RawAudio::_internal_has_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_RawAudio::has_duration() const { - return _internal_has_duration(); -} -inline void CCSUsrMsg_RawAudio::clear_duration() { - _impl_.duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CCSUsrMsg_RawAudio::_internal_duration() const { - return _impl_.duration_; -} -inline float CCSUsrMsg_RawAudio::duration() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RawAudio.duration) - return _internal_duration(); -} -inline void CCSUsrMsg_RawAudio::_internal_set_duration(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.duration_ = value; -} -inline void CCSUsrMsg_RawAudio::set_duration(float value) { - _internal_set_duration(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RawAudio.duration) -} - -// optional string voice_filename = 4; -inline bool CCSUsrMsg_RawAudio::_internal_has_voice_filename() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_RawAudio::has_voice_filename() const { - return _internal_has_voice_filename(); -} -inline void CCSUsrMsg_RawAudio::clear_voice_filename() { - _impl_.voice_filename_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_RawAudio::voice_filename() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RawAudio.voice_filename) - return _internal_voice_filename(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_RawAudio::set_voice_filename(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.voice_filename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RawAudio.voice_filename) -} -inline std::string* CCSUsrMsg_RawAudio::mutable_voice_filename() { - std::string* _s = _internal_mutable_voice_filename(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RawAudio.voice_filename) - return _s; -} -inline const std::string& CCSUsrMsg_RawAudio::_internal_voice_filename() const { - return _impl_.voice_filename_.Get(); -} -inline void CCSUsrMsg_RawAudio::_internal_set_voice_filename(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.voice_filename_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_RawAudio::_internal_mutable_voice_filename() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.voice_filename_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_RawAudio::release_voice_filename() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_RawAudio.voice_filename) - if (!_internal_has_voice_filename()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.voice_filename_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.voice_filename_.IsDefault()) { - _impl_.voice_filename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_RawAudio::set_allocated_voice_filename(std::string* voice_filename) { - if (voice_filename != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.voice_filename_.SetAllocated(voice_filename, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.voice_filename_.IsDefault()) { - _impl_.voice_filename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_RawAudio.voice_filename) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_VoiceMask_PlayerMask - -// optional int32 game_rules_mask = 1; -inline bool CCSUsrMsg_VoiceMask_PlayerMask::_internal_has_game_rules_mask() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_VoiceMask_PlayerMask::has_game_rules_mask() const { - return _internal_has_game_rules_mask(); -} -inline void CCSUsrMsg_VoiceMask_PlayerMask::clear_game_rules_mask() { - _impl_.game_rules_mask_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_VoiceMask_PlayerMask::_internal_game_rules_mask() const { - return _impl_.game_rules_mask_; -} -inline int32_t CCSUsrMsg_VoiceMask_PlayerMask::game_rules_mask() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VoiceMask.PlayerMask.game_rules_mask) - return _internal_game_rules_mask(); -} -inline void CCSUsrMsg_VoiceMask_PlayerMask::_internal_set_game_rules_mask(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.game_rules_mask_ = value; -} -inline void CCSUsrMsg_VoiceMask_PlayerMask::set_game_rules_mask(int32_t value) { - _internal_set_game_rules_mask(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VoiceMask.PlayerMask.game_rules_mask) -} - -// optional int32 ban_masks = 2; -inline bool CCSUsrMsg_VoiceMask_PlayerMask::_internal_has_ban_masks() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_VoiceMask_PlayerMask::has_ban_masks() const { - return _internal_has_ban_masks(); -} -inline void CCSUsrMsg_VoiceMask_PlayerMask::clear_ban_masks() { - _impl_.ban_masks_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_VoiceMask_PlayerMask::_internal_ban_masks() const { - return _impl_.ban_masks_; -} -inline int32_t CCSUsrMsg_VoiceMask_PlayerMask::ban_masks() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VoiceMask.PlayerMask.ban_masks) - return _internal_ban_masks(); -} -inline void CCSUsrMsg_VoiceMask_PlayerMask::_internal_set_ban_masks(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.ban_masks_ = value; -} -inline void CCSUsrMsg_VoiceMask_PlayerMask::set_ban_masks(int32_t value) { - _internal_set_ban_masks(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VoiceMask.PlayerMask.ban_masks) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_VoiceMask - -// repeated .CCSUsrMsg_VoiceMask.PlayerMask player_masks = 1; -inline int CCSUsrMsg_VoiceMask::_internal_player_masks_size() const { - return _impl_.player_masks_.size(); -} -inline int CCSUsrMsg_VoiceMask::player_masks_size() const { - return _internal_player_masks_size(); -} -inline void CCSUsrMsg_VoiceMask::clear_player_masks() { - _impl_.player_masks_.Clear(); -} -inline ::CCSUsrMsg_VoiceMask_PlayerMask* CCSUsrMsg_VoiceMask::mutable_player_masks(int index) { - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VoiceMask.player_masks) - return _impl_.player_masks_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VoiceMask_PlayerMask >* -CCSUsrMsg_VoiceMask::mutable_player_masks() { - // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_VoiceMask.player_masks) - return &_impl_.player_masks_; -} -inline const ::CCSUsrMsg_VoiceMask_PlayerMask& CCSUsrMsg_VoiceMask::_internal_player_masks(int index) const { - return _impl_.player_masks_.Get(index); -} -inline const ::CCSUsrMsg_VoiceMask_PlayerMask& CCSUsrMsg_VoiceMask::player_masks(int index) const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VoiceMask.player_masks) - return _internal_player_masks(index); -} -inline ::CCSUsrMsg_VoiceMask_PlayerMask* CCSUsrMsg_VoiceMask::_internal_add_player_masks() { - return _impl_.player_masks_.Add(); -} -inline ::CCSUsrMsg_VoiceMask_PlayerMask* CCSUsrMsg_VoiceMask::add_player_masks() { - ::CCSUsrMsg_VoiceMask_PlayerMask* _add = _internal_add_player_masks(); - // @@protoc_insertion_point(field_add:CCSUsrMsg_VoiceMask.player_masks) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_VoiceMask_PlayerMask >& -CCSUsrMsg_VoiceMask::player_masks() const { - // @@protoc_insertion_point(field_list:CCSUsrMsg_VoiceMask.player_masks) - return _impl_.player_masks_; -} - -// optional bool player_mod_enable = 2; -inline bool CCSUsrMsg_VoiceMask::_internal_has_player_mod_enable() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_VoiceMask::has_player_mod_enable() const { - return _internal_has_player_mod_enable(); -} -inline void CCSUsrMsg_VoiceMask::clear_player_mod_enable() { - _impl_.player_mod_enable_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CCSUsrMsg_VoiceMask::_internal_player_mod_enable() const { - return _impl_.player_mod_enable_; -} -inline bool CCSUsrMsg_VoiceMask::player_mod_enable() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VoiceMask.player_mod_enable) - return _internal_player_mod_enable(); -} -inline void CCSUsrMsg_VoiceMask::_internal_set_player_mod_enable(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.player_mod_enable_ = value; -} -inline void CCSUsrMsg_VoiceMask::set_player_mod_enable(bool value) { - _internal_set_player_mod_enable(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VoiceMask.player_mod_enable) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_Damage - -// optional int32 amount = 1; -inline bool CCSUsrMsg_Damage::_internal_has_amount() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_Damage::has_amount() const { - return _internal_has_amount(); -} -inline void CCSUsrMsg_Damage::clear_amount() { - _impl_.amount_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_Damage::_internal_amount() const { - return _impl_.amount_; -} -inline int32_t CCSUsrMsg_Damage::amount() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_Damage.amount) - return _internal_amount(); -} -inline void CCSUsrMsg_Damage::_internal_set_amount(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.amount_ = value; -} -inline void CCSUsrMsg_Damage::set_amount(int32_t value) { - _internal_set_amount(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_Damage.amount) -} - -// optional .CMsgVector inflictor_world_pos = 2; -inline bool CCSUsrMsg_Damage::_internal_has_inflictor_world_pos() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.inflictor_world_pos_ != nullptr); - return value; -} -inline bool CCSUsrMsg_Damage::has_inflictor_world_pos() const { - return _internal_has_inflictor_world_pos(); -} -inline const ::CMsgVector& CCSUsrMsg_Damage::_internal_inflictor_world_pos() const { - const ::CMsgVector* p = _impl_.inflictor_world_pos_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CCSUsrMsg_Damage::inflictor_world_pos() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_Damage.inflictor_world_pos) - return _internal_inflictor_world_pos(); -} -inline void CCSUsrMsg_Damage::unsafe_arena_set_allocated_inflictor_world_pos( - ::CMsgVector* inflictor_world_pos) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.inflictor_world_pos_); - } - _impl_.inflictor_world_pos_ = inflictor_world_pos; - if (inflictor_world_pos) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_Damage.inflictor_world_pos) -} -inline ::CMsgVector* CCSUsrMsg_Damage::release_inflictor_world_pos() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.inflictor_world_pos_; - _impl_.inflictor_world_pos_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CCSUsrMsg_Damage::unsafe_arena_release_inflictor_world_pos() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_Damage.inflictor_world_pos) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.inflictor_world_pos_; - _impl_.inflictor_world_pos_ = nullptr; - return temp; -} -inline ::CMsgVector* CCSUsrMsg_Damage::_internal_mutable_inflictor_world_pos() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.inflictor_world_pos_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.inflictor_world_pos_ = p; - } - return _impl_.inflictor_world_pos_; -} -inline ::CMsgVector* CCSUsrMsg_Damage::mutable_inflictor_world_pos() { - ::CMsgVector* _msg = _internal_mutable_inflictor_world_pos(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_Damage.inflictor_world_pos) - return _msg; -} -inline void CCSUsrMsg_Damage::set_allocated_inflictor_world_pos(::CMsgVector* inflictor_world_pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.inflictor_world_pos_); - } - if (inflictor_world_pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(inflictor_world_pos)); - if (message_arena != submessage_arena) { - inflictor_world_pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, inflictor_world_pos, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.inflictor_world_pos_ = inflictor_world_pos; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_Damage.inflictor_world_pos) -} - -// optional int32 victim_entindex = 3 [default = -1]; -inline bool CCSUsrMsg_Damage::_internal_has_victim_entindex() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_Damage::has_victim_entindex() const { - return _internal_has_victim_entindex(); -} -inline void CCSUsrMsg_Damage::clear_victim_entindex() { - _impl_.victim_entindex_ = -1; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_Damage::_internal_victim_entindex() const { - return _impl_.victim_entindex_; -} -inline int32_t CCSUsrMsg_Damage::victim_entindex() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_Damage.victim_entindex) - return _internal_victim_entindex(); -} -inline void CCSUsrMsg_Damage::_internal_set_victim_entindex(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.victim_entindex_ = value; -} -inline void CCSUsrMsg_Damage::set_victim_entindex(int32_t value) { - _internal_set_victim_entindex(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_Damage.victim_entindex) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_RadioText - -// optional int32 msg_dst = 1; -inline bool CCSUsrMsg_RadioText::_internal_has_msg_dst() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_RadioText::has_msg_dst() const { - return _internal_has_msg_dst(); -} -inline void CCSUsrMsg_RadioText::clear_msg_dst() { - _impl_.msg_dst_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_RadioText::_internal_msg_dst() const { - return _impl_.msg_dst_; -} -inline int32_t CCSUsrMsg_RadioText::msg_dst() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RadioText.msg_dst) - return _internal_msg_dst(); -} -inline void CCSUsrMsg_RadioText::_internal_set_msg_dst(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.msg_dst_ = value; -} -inline void CCSUsrMsg_RadioText::set_msg_dst(int32_t value) { - _internal_set_msg_dst(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RadioText.msg_dst) -} - -// optional int32 client = 2 [default = -1]; -inline bool CCSUsrMsg_RadioText::_internal_has_client() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_RadioText::has_client() const { - return _internal_has_client(); -} -inline void CCSUsrMsg_RadioText::clear_client() { - _impl_.client_ = -1; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_RadioText::_internal_client() const { - return _impl_.client_; -} -inline int32_t CCSUsrMsg_RadioText::client() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RadioText.client) - return _internal_client(); -} -inline void CCSUsrMsg_RadioText::_internal_set_client(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.client_ = value; -} -inline void CCSUsrMsg_RadioText::set_client(int32_t value) { - _internal_set_client(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RadioText.client) -} - -// optional string msg_name = 3; -inline bool CCSUsrMsg_RadioText::_internal_has_msg_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_RadioText::has_msg_name() const { - return _internal_has_msg_name(); -} -inline void CCSUsrMsg_RadioText::clear_msg_name() { - _impl_.msg_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_RadioText::msg_name() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RadioText.msg_name) - return _internal_msg_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_RadioText::set_msg_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.msg_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RadioText.msg_name) -} -inline std::string* CCSUsrMsg_RadioText::mutable_msg_name() { - std::string* _s = _internal_mutable_msg_name(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RadioText.msg_name) - return _s; -} -inline const std::string& CCSUsrMsg_RadioText::_internal_msg_name() const { - return _impl_.msg_name_.Get(); -} -inline void CCSUsrMsg_RadioText::_internal_set_msg_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.msg_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_RadioText::_internal_mutable_msg_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.msg_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_RadioText::release_msg_name() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_RadioText.msg_name) - if (!_internal_has_msg_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.msg_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.msg_name_.IsDefault()) { - _impl_.msg_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_RadioText::set_allocated_msg_name(std::string* msg_name) { - if (msg_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.msg_name_.SetAllocated(msg_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.msg_name_.IsDefault()) { - _impl_.msg_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_RadioText.msg_name) -} - -// repeated string params = 4; -inline int CCSUsrMsg_RadioText::_internal_params_size() const { - return _impl_.params_.size(); -} -inline int CCSUsrMsg_RadioText::params_size() const { - return _internal_params_size(); -} -inline void CCSUsrMsg_RadioText::clear_params() { - _impl_.params_.Clear(); -} -inline std::string* CCSUsrMsg_RadioText::add_params() { - std::string* _s = _internal_add_params(); - // @@protoc_insertion_point(field_add_mutable:CCSUsrMsg_RadioText.params) - return _s; -} -inline const std::string& CCSUsrMsg_RadioText::_internal_params(int index) const { - return _impl_.params_.Get(index); -} -inline const std::string& CCSUsrMsg_RadioText::params(int index) const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RadioText.params) - return _internal_params(index); -} -inline std::string* CCSUsrMsg_RadioText::mutable_params(int index) { - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RadioText.params) - return _impl_.params_.Mutable(index); -} -inline void CCSUsrMsg_RadioText::set_params(int index, const std::string& value) { - _impl_.params_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RadioText.params) -} -inline void CCSUsrMsg_RadioText::set_params(int index, std::string&& value) { - _impl_.params_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RadioText.params) -} -inline void CCSUsrMsg_RadioText::set_params(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.params_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CCSUsrMsg_RadioText.params) -} -inline void CCSUsrMsg_RadioText::set_params(int index, const char* value, size_t size) { - _impl_.params_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CCSUsrMsg_RadioText.params) -} -inline std::string* CCSUsrMsg_RadioText::_internal_add_params() { - return _impl_.params_.Add(); -} -inline void CCSUsrMsg_RadioText::add_params(const std::string& value) { - _impl_.params_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CCSUsrMsg_RadioText.params) -} -inline void CCSUsrMsg_RadioText::add_params(std::string&& value) { - _impl_.params_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CCSUsrMsg_RadioText.params) -} -inline void CCSUsrMsg_RadioText::add_params(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.params_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CCSUsrMsg_RadioText.params) -} -inline void CCSUsrMsg_RadioText::add_params(const char* value, size_t size) { - _impl_.params_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CCSUsrMsg_RadioText.params) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CCSUsrMsg_RadioText::params() const { - // @@protoc_insertion_point(field_list:CCSUsrMsg_RadioText.params) - return _impl_.params_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CCSUsrMsg_RadioText::mutable_params() { - // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_RadioText.params) - return &_impl_.params_; -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_HintText - -// optional string message = 1; -inline bool CCSUsrMsg_HintText::_internal_has_message() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_HintText::has_message() const { - return _internal_has_message(); -} -inline void CCSUsrMsg_HintText::clear_message() { - _impl_.message_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_HintText::message() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_HintText.message) - return _internal_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_HintText::set_message(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_HintText.message) -} -inline std::string* CCSUsrMsg_HintText::mutable_message() { - std::string* _s = _internal_mutable_message(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_HintText.message) - return _s; -} -inline const std::string& CCSUsrMsg_HintText::_internal_message() const { - return _impl_.message_.Get(); -} -inline void CCSUsrMsg_HintText::_internal_set_message(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.message_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_HintText::_internal_mutable_message() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.message_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_HintText::release_message() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_HintText.message) - if (!_internal_has_message()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.message_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_HintText::set_allocated_message(std::string* message) { - if (message != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.message_.SetAllocated(message, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_HintText.message) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_KeyHintText - -// repeated string messages = 1; -inline int CCSUsrMsg_KeyHintText::_internal_messages_size() const { - return _impl_.messages_.size(); -} -inline int CCSUsrMsg_KeyHintText::messages_size() const { - return _internal_messages_size(); -} -inline void CCSUsrMsg_KeyHintText::clear_messages() { - _impl_.messages_.Clear(); -} -inline std::string* CCSUsrMsg_KeyHintText::add_messages() { - std::string* _s = _internal_add_messages(); - // @@protoc_insertion_point(field_add_mutable:CCSUsrMsg_KeyHintText.messages) - return _s; -} -inline const std::string& CCSUsrMsg_KeyHintText::_internal_messages(int index) const { - return _impl_.messages_.Get(index); -} -inline const std::string& CCSUsrMsg_KeyHintText::messages(int index) const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_KeyHintText.messages) - return _internal_messages(index); -} -inline std::string* CCSUsrMsg_KeyHintText::mutable_messages(int index) { - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_KeyHintText.messages) - return _impl_.messages_.Mutable(index); -} -inline void CCSUsrMsg_KeyHintText::set_messages(int index, const std::string& value) { - _impl_.messages_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_KeyHintText.messages) -} -inline void CCSUsrMsg_KeyHintText::set_messages(int index, std::string&& value) { - _impl_.messages_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CCSUsrMsg_KeyHintText.messages) -} -inline void CCSUsrMsg_KeyHintText::set_messages(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.messages_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CCSUsrMsg_KeyHintText.messages) -} -inline void CCSUsrMsg_KeyHintText::set_messages(int index, const char* value, size_t size) { - _impl_.messages_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CCSUsrMsg_KeyHintText.messages) -} -inline std::string* CCSUsrMsg_KeyHintText::_internal_add_messages() { - return _impl_.messages_.Add(); -} -inline void CCSUsrMsg_KeyHintText::add_messages(const std::string& value) { - _impl_.messages_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CCSUsrMsg_KeyHintText.messages) -} -inline void CCSUsrMsg_KeyHintText::add_messages(std::string&& value) { - _impl_.messages_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CCSUsrMsg_KeyHintText.messages) -} -inline void CCSUsrMsg_KeyHintText::add_messages(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.messages_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CCSUsrMsg_KeyHintText.messages) -} -inline void CCSUsrMsg_KeyHintText::add_messages(const char* value, size_t size) { - _impl_.messages_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CCSUsrMsg_KeyHintText.messages) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CCSUsrMsg_KeyHintText::messages() const { - // @@protoc_insertion_point(field_list:CCSUsrMsg_KeyHintText.messages) - return _impl_.messages_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CCSUsrMsg_KeyHintText::mutable_messages() { - // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_KeyHintText.messages) - return &_impl_.messages_; -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate - -// optional int32 entity_idx = 1 [default = -1]; -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_has_entity_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::has_entity_idx() const { - return _internal_has_entity_idx(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::clear_entity_idx() { - _impl_.entity_idx_ = -1; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_entity_idx() const { - return _impl_.entity_idx_; -} -inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::entity_idx() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.entity_idx) - return _internal_entity_idx(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_set_entity_idx(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.entity_idx_ = value; -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::set_entity_idx(int32_t value) { - _internal_set_entity_idx(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.entity_idx) -} - -// optional int32 class_id = 2; -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_has_class_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::has_class_id() const { - return _internal_has_class_id(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::clear_class_id() { - _impl_.class_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_class_id() const { - return _impl_.class_id_; -} -inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::class_id() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.class_id) - return _internal_class_id(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_set_class_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.class_id_ = value; -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::set_class_id(int32_t value) { - _internal_set_class_id(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.class_id) -} - -// optional int32 origin_x = 3; -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_has_origin_x() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::has_origin_x() const { - return _internal_has_origin_x(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::clear_origin_x() { - _impl_.origin_x_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_origin_x() const { - return _impl_.origin_x_; -} -inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::origin_x() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.origin_x) - return _internal_origin_x(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_set_origin_x(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.origin_x_ = value; -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::set_origin_x(int32_t value) { - _internal_set_origin_x(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.origin_x) -} - -// optional int32 origin_y = 4; -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_has_origin_y() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::has_origin_y() const { - return _internal_has_origin_y(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::clear_origin_y() { - _impl_.origin_y_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_origin_y() const { - return _impl_.origin_y_; -} -inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::origin_y() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.origin_y) - return _internal_origin_y(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_set_origin_y(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.origin_y_ = value; -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::set_origin_y(int32_t value) { - _internal_set_origin_y(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.origin_y) -} - -// optional int32 origin_z = 5; -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_has_origin_z() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::has_origin_z() const { - return _internal_has_origin_z(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::clear_origin_z() { - _impl_.origin_z_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_origin_z() const { - return _impl_.origin_z_; -} -inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::origin_z() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.origin_z) - return _internal_origin_z(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_set_origin_z(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.origin_z_ = value; -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::set_origin_z(int32_t value) { - _internal_set_origin_z(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.origin_z) -} - -// optional int32 angle_y = 6; -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_has_angle_y() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::has_angle_y() const { - return _internal_has_angle_y(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::clear_angle_y() { - _impl_.angle_y_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_angle_y() const { - return _impl_.angle_y_; -} -inline int32_t CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::angle_y() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.angle_y) - return _internal_angle_y(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_set_angle_y(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.angle_y_ = value; -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::set_angle_y(int32_t value) { - _internal_set_angle_y(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.angle_y) -} - -// optional bool defuser = 7; -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_has_defuser() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::has_defuser() const { - return _internal_has_defuser(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::clear_defuser() { - _impl_.defuser_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_defuser() const { - return _impl_.defuser_; -} -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::defuser() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.defuser) - return _internal_defuser(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_set_defuser(bool value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.defuser_ = value; -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::set_defuser(bool value) { - _internal_set_defuser(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.defuser) -} - -// optional bool player_has_defuser = 8; -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_has_player_has_defuser() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::has_player_has_defuser() const { - return _internal_has_player_has_defuser(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::clear_player_has_defuser() { - _impl_.player_has_defuser_ = false; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_player_has_defuser() const { - return _impl_.player_has_defuser_; -} -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::player_has_defuser() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.player_has_defuser) - return _internal_player_has_defuser(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_set_player_has_defuser(bool value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.player_has_defuser_ = value; -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::set_player_has_defuser(bool value) { - _internal_set_player_has_defuser(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.player_has_defuser) -} - -// optional bool player_has_c4 = 9; -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_has_player_has_c4() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::has_player_has_c4() const { - return _internal_has_player_has_c4(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::clear_player_has_c4() { - _impl_.player_has_c4_ = false; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_player_has_c4() const { - return _impl_.player_has_c4_; -} -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::player_has_c4() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.player_has_c4) - return _internal_player_has_c4(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::_internal_set_player_has_c4(bool value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.player_has_c4_ = value; -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate::set_player_has_c4(bool value) { - _internal_set_player_has_c4(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate.player_has_c4) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_ProcessSpottedEntityUpdate - -// optional bool new_update = 1; -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate::_internal_has_new_update() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate::has_new_update() const { - return _internal_has_new_update(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate::clear_new_update() { - _impl_.new_update_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate::_internal_new_update() const { - return _impl_.new_update_; -} -inline bool CCSUsrMsg_ProcessSpottedEntityUpdate::new_update() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.new_update) - return _internal_new_update(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate::_internal_set_new_update(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.new_update_ = value; -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate::set_new_update(bool value) { - _internal_set_new_update(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ProcessSpottedEntityUpdate.new_update) -} - -// repeated .CCSUsrMsg_ProcessSpottedEntityUpdate.SpottedEntityUpdate entity_updates = 2; -inline int CCSUsrMsg_ProcessSpottedEntityUpdate::_internal_entity_updates_size() const { - return _impl_.entity_updates_.size(); -} -inline int CCSUsrMsg_ProcessSpottedEntityUpdate::entity_updates_size() const { - return _internal_entity_updates_size(); -} -inline void CCSUsrMsg_ProcessSpottedEntityUpdate::clear_entity_updates() { - _impl_.entity_updates_.Clear(); -} -inline ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* CCSUsrMsg_ProcessSpottedEntityUpdate::mutable_entity_updates(int index) { - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_ProcessSpottedEntityUpdate.entity_updates) - return _impl_.entity_updates_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate >* -CCSUsrMsg_ProcessSpottedEntityUpdate::mutable_entity_updates() { - // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_ProcessSpottedEntityUpdate.entity_updates) - return &_impl_.entity_updates_; -} -inline const ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& CCSUsrMsg_ProcessSpottedEntityUpdate::_internal_entity_updates(int index) const { - return _impl_.entity_updates_.Get(index); -} -inline const ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate& CCSUsrMsg_ProcessSpottedEntityUpdate::entity_updates(int index) const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ProcessSpottedEntityUpdate.entity_updates) - return _internal_entity_updates(index); -} -inline ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* CCSUsrMsg_ProcessSpottedEntityUpdate::_internal_add_entity_updates() { - return _impl_.entity_updates_.Add(); -} -inline ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* CCSUsrMsg_ProcessSpottedEntityUpdate::add_entity_updates() { - ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate* _add = _internal_add_entity_updates(); - // @@protoc_insertion_point(field_add:CCSUsrMsg_ProcessSpottedEntityUpdate.entity_updates) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ProcessSpottedEntityUpdate_SpottedEntityUpdate >& -CCSUsrMsg_ProcessSpottedEntityUpdate::entity_updates() const { - // @@protoc_insertion_point(field_list:CCSUsrMsg_ProcessSpottedEntityUpdate.entity_updates) - return _impl_.entity_updates_; -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_SendPlayerItemDrops - -// repeated .CEconItemPreviewDataBlock entity_updates = 1; -inline int CCSUsrMsg_SendPlayerItemDrops::_internal_entity_updates_size() const { - return _impl_.entity_updates_.size(); -} -inline int CCSUsrMsg_SendPlayerItemDrops::entity_updates_size() const { - return _internal_entity_updates_size(); -} -inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerItemDrops::mutable_entity_updates(int index) { - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_SendPlayerItemDrops.entity_updates) - return _impl_.entity_updates_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock >* -CCSUsrMsg_SendPlayerItemDrops::mutable_entity_updates() { - // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_SendPlayerItemDrops.entity_updates) - return &_impl_.entity_updates_; -} -inline const ::CEconItemPreviewDataBlock& CCSUsrMsg_SendPlayerItemDrops::_internal_entity_updates(int index) const { - return _impl_.entity_updates_.Get(index); -} -inline const ::CEconItemPreviewDataBlock& CCSUsrMsg_SendPlayerItemDrops::entity_updates(int index) const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SendPlayerItemDrops.entity_updates) - return _internal_entity_updates(index); -} -inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerItemDrops::_internal_add_entity_updates() { - return _impl_.entity_updates_.Add(); -} -inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerItemDrops::add_entity_updates() { - ::CEconItemPreviewDataBlock* _add = _internal_add_entity_updates(); - // @@protoc_insertion_point(field_add:CCSUsrMsg_SendPlayerItemDrops.entity_updates) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock >& -CCSUsrMsg_SendPlayerItemDrops::entity_updates() const { - // @@protoc_insertion_point(field_list:CCSUsrMsg_SendPlayerItemDrops.entity_updates) - return _impl_.entity_updates_; -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_SendPlayerItemFound - -// optional .CEconItemPreviewDataBlock iteminfo = 1; -inline bool CCSUsrMsg_SendPlayerItemFound::_internal_has_iteminfo() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.iteminfo_ != nullptr); - return value; -} -inline bool CCSUsrMsg_SendPlayerItemFound::has_iteminfo() const { - return _internal_has_iteminfo(); -} -inline const ::CEconItemPreviewDataBlock& CCSUsrMsg_SendPlayerItemFound::_internal_iteminfo() const { - const ::CEconItemPreviewDataBlock* p = _impl_.iteminfo_; - return p != nullptr ? *p : reinterpret_cast( - ::_CEconItemPreviewDataBlock_default_instance_); -} -inline const ::CEconItemPreviewDataBlock& CCSUsrMsg_SendPlayerItemFound::iteminfo() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SendPlayerItemFound.iteminfo) - return _internal_iteminfo(); -} -inline void CCSUsrMsg_SendPlayerItemFound::unsafe_arena_set_allocated_iteminfo( - ::CEconItemPreviewDataBlock* iteminfo) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.iteminfo_); - } - _impl_.iteminfo_ = iteminfo; - if (iteminfo) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_SendPlayerItemFound.iteminfo) -} -inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerItemFound::release_iteminfo() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CEconItemPreviewDataBlock* temp = _impl_.iteminfo_; - _impl_.iteminfo_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerItemFound::unsafe_arena_release_iteminfo() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_SendPlayerItemFound.iteminfo) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CEconItemPreviewDataBlock* temp = _impl_.iteminfo_; - _impl_.iteminfo_ = nullptr; - return temp; -} -inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerItemFound::_internal_mutable_iteminfo() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.iteminfo_ == nullptr) { - auto* p = CreateMaybeMessage<::CEconItemPreviewDataBlock>(GetArenaForAllocation()); - _impl_.iteminfo_ = p; - } - return _impl_.iteminfo_; -} -inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerItemFound::mutable_iteminfo() { - ::CEconItemPreviewDataBlock* _msg = _internal_mutable_iteminfo(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_SendPlayerItemFound.iteminfo) - return _msg; -} -inline void CCSUsrMsg_SendPlayerItemFound::set_allocated_iteminfo(::CEconItemPreviewDataBlock* iteminfo) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.iteminfo_); - } - if (iteminfo) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(iteminfo)); - if (message_arena != submessage_arena) { - iteminfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, iteminfo, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.iteminfo_ = iteminfo; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_SendPlayerItemFound.iteminfo) -} - -// optional int32 playerslot = 2 [default = -1]; -inline bool CCSUsrMsg_SendPlayerItemFound::_internal_has_playerslot() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_SendPlayerItemFound::has_playerslot() const { - return _internal_has_playerslot(); -} -inline void CCSUsrMsg_SendPlayerItemFound::clear_playerslot() { - _impl_.playerslot_ = -1; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_SendPlayerItemFound::_internal_playerslot() const { - return _impl_.playerslot_; -} -inline int32_t CCSUsrMsg_SendPlayerItemFound::playerslot() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SendPlayerItemFound.playerslot) - return _internal_playerslot(); -} -inline void CCSUsrMsg_SendPlayerItemFound::_internal_set_playerslot(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.playerslot_ = value; -} -inline void CCSUsrMsg_SendPlayerItemFound::set_playerslot(int32_t value) { - _internal_set_playerslot(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SendPlayerItemFound.playerslot) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_ReloadEffect - -// optional int32 entidx = 1 [default = -1]; -inline bool CCSUsrMsg_ReloadEffect::_internal_has_entidx() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CCSUsrMsg_ReloadEffect::has_entidx() const { - return _internal_has_entidx(); -} -inline void CCSUsrMsg_ReloadEffect::clear_entidx() { - _impl_.entidx_ = -1; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CCSUsrMsg_ReloadEffect::_internal_entidx() const { - return _impl_.entidx_; -} -inline int32_t CCSUsrMsg_ReloadEffect::entidx() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ReloadEffect.entidx) - return _internal_entidx(); -} -inline void CCSUsrMsg_ReloadEffect::_internal_set_entidx(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.entidx_ = value; -} -inline void CCSUsrMsg_ReloadEffect::set_entidx(int32_t value) { - _internal_set_entidx(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ReloadEffect.entidx) -} - -// optional int32 actanim = 2; -inline bool CCSUsrMsg_ReloadEffect::_internal_has_actanim() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_ReloadEffect::has_actanim() const { - return _internal_has_actanim(); -} -inline void CCSUsrMsg_ReloadEffect::clear_actanim() { - _impl_.actanim_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_ReloadEffect::_internal_actanim() const { - return _impl_.actanim_; -} -inline int32_t CCSUsrMsg_ReloadEffect::actanim() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ReloadEffect.actanim) - return _internal_actanim(); -} -inline void CCSUsrMsg_ReloadEffect::_internal_set_actanim(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.actanim_ = value; -} -inline void CCSUsrMsg_ReloadEffect::set_actanim(int32_t value) { - _internal_set_actanim(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ReloadEffect.actanim) -} - -// optional float origin_x = 3; -inline bool CCSUsrMsg_ReloadEffect::_internal_has_origin_x() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_ReloadEffect::has_origin_x() const { - return _internal_has_origin_x(); -} -inline void CCSUsrMsg_ReloadEffect::clear_origin_x() { - _impl_.origin_x_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CCSUsrMsg_ReloadEffect::_internal_origin_x() const { - return _impl_.origin_x_; -} -inline float CCSUsrMsg_ReloadEffect::origin_x() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ReloadEffect.origin_x) - return _internal_origin_x(); -} -inline void CCSUsrMsg_ReloadEffect::_internal_set_origin_x(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.origin_x_ = value; -} -inline void CCSUsrMsg_ReloadEffect::set_origin_x(float value) { - _internal_set_origin_x(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ReloadEffect.origin_x) -} - -// optional float origin_y = 4; -inline bool CCSUsrMsg_ReloadEffect::_internal_has_origin_y() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_ReloadEffect::has_origin_y() const { - return _internal_has_origin_y(); -} -inline void CCSUsrMsg_ReloadEffect::clear_origin_y() { - _impl_.origin_y_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CCSUsrMsg_ReloadEffect::_internal_origin_y() const { - return _impl_.origin_y_; -} -inline float CCSUsrMsg_ReloadEffect::origin_y() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ReloadEffect.origin_y) - return _internal_origin_y(); -} -inline void CCSUsrMsg_ReloadEffect::_internal_set_origin_y(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.origin_y_ = value; -} -inline void CCSUsrMsg_ReloadEffect::set_origin_y(float value) { - _internal_set_origin_y(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ReloadEffect.origin_y) -} - -// optional float origin_z = 5; -inline bool CCSUsrMsg_ReloadEffect::_internal_has_origin_z() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_ReloadEffect::has_origin_z() const { - return _internal_has_origin_z(); -} -inline void CCSUsrMsg_ReloadEffect::clear_origin_z() { - _impl_.origin_z_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CCSUsrMsg_ReloadEffect::_internal_origin_z() const { - return _impl_.origin_z_; -} -inline float CCSUsrMsg_ReloadEffect::origin_z() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ReloadEffect.origin_z) - return _internal_origin_z(); -} -inline void CCSUsrMsg_ReloadEffect::_internal_set_origin_z(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.origin_z_ = value; -} -inline void CCSUsrMsg_ReloadEffect::set_origin_z(float value) { - _internal_set_origin_z(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ReloadEffect.origin_z) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_WeaponSound - -// optional int32 entidx = 1 [default = -1]; -inline bool CCSUsrMsg_WeaponSound::_internal_has_entidx() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CCSUsrMsg_WeaponSound::has_entidx() const { - return _internal_has_entidx(); -} -inline void CCSUsrMsg_WeaponSound::clear_entidx() { - _impl_.entidx_ = -1; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CCSUsrMsg_WeaponSound::_internal_entidx() const { - return _impl_.entidx_; -} -inline int32_t CCSUsrMsg_WeaponSound::entidx() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_WeaponSound.entidx) - return _internal_entidx(); -} -inline void CCSUsrMsg_WeaponSound::_internal_set_entidx(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.entidx_ = value; -} -inline void CCSUsrMsg_WeaponSound::set_entidx(int32_t value) { - _internal_set_entidx(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_WeaponSound.entidx) -} - -// optional float origin_x = 2; -inline bool CCSUsrMsg_WeaponSound::_internal_has_origin_x() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_WeaponSound::has_origin_x() const { - return _internal_has_origin_x(); -} -inline void CCSUsrMsg_WeaponSound::clear_origin_x() { - _impl_.origin_x_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CCSUsrMsg_WeaponSound::_internal_origin_x() const { - return _impl_.origin_x_; -} -inline float CCSUsrMsg_WeaponSound::origin_x() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_WeaponSound.origin_x) - return _internal_origin_x(); -} -inline void CCSUsrMsg_WeaponSound::_internal_set_origin_x(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.origin_x_ = value; -} -inline void CCSUsrMsg_WeaponSound::set_origin_x(float value) { - _internal_set_origin_x(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_WeaponSound.origin_x) -} - -// optional float origin_y = 3; -inline bool CCSUsrMsg_WeaponSound::_internal_has_origin_y() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_WeaponSound::has_origin_y() const { - return _internal_has_origin_y(); -} -inline void CCSUsrMsg_WeaponSound::clear_origin_y() { - _impl_.origin_y_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CCSUsrMsg_WeaponSound::_internal_origin_y() const { - return _impl_.origin_y_; -} -inline float CCSUsrMsg_WeaponSound::origin_y() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_WeaponSound.origin_y) - return _internal_origin_y(); -} -inline void CCSUsrMsg_WeaponSound::_internal_set_origin_y(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.origin_y_ = value; -} -inline void CCSUsrMsg_WeaponSound::set_origin_y(float value) { - _internal_set_origin_y(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_WeaponSound.origin_y) -} - -// optional float origin_z = 4; -inline bool CCSUsrMsg_WeaponSound::_internal_has_origin_z() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_WeaponSound::has_origin_z() const { - return _internal_has_origin_z(); -} -inline void CCSUsrMsg_WeaponSound::clear_origin_z() { - _impl_.origin_z_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CCSUsrMsg_WeaponSound::_internal_origin_z() const { - return _impl_.origin_z_; -} -inline float CCSUsrMsg_WeaponSound::origin_z() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_WeaponSound.origin_z) - return _internal_origin_z(); -} -inline void CCSUsrMsg_WeaponSound::_internal_set_origin_z(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.origin_z_ = value; -} -inline void CCSUsrMsg_WeaponSound::set_origin_z(float value) { - _internal_set_origin_z(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_WeaponSound.origin_z) -} - -// optional string sound = 5; -inline bool CCSUsrMsg_WeaponSound::_internal_has_sound() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_WeaponSound::has_sound() const { - return _internal_has_sound(); -} -inline void CCSUsrMsg_WeaponSound::clear_sound() { - _impl_.sound_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_WeaponSound::sound() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_WeaponSound.sound) - return _internal_sound(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_WeaponSound::set_sound(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sound_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_WeaponSound.sound) -} -inline std::string* CCSUsrMsg_WeaponSound::mutable_sound() { - std::string* _s = _internal_mutable_sound(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_WeaponSound.sound) - return _s; -} -inline const std::string& CCSUsrMsg_WeaponSound::_internal_sound() const { - return _impl_.sound_.Get(); -} -inline void CCSUsrMsg_WeaponSound::_internal_set_sound(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sound_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_WeaponSound::_internal_mutable_sound() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.sound_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_WeaponSound::release_sound() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_WeaponSound.sound) - if (!_internal_has_sound()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.sound_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sound_.IsDefault()) { - _impl_.sound_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_WeaponSound::set_allocated_sound(std::string* sound) { - if (sound != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.sound_.SetAllocated(sound, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sound_.IsDefault()) { - _impl_.sound_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_WeaponSound.sound) -} - -// optional float game_timestamp = 6; -inline bool CCSUsrMsg_WeaponSound::_internal_has_game_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CCSUsrMsg_WeaponSound::has_game_timestamp() const { - return _internal_has_game_timestamp(); -} -inline void CCSUsrMsg_WeaponSound::clear_game_timestamp() { - _impl_.game_timestamp_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float CCSUsrMsg_WeaponSound::_internal_game_timestamp() const { - return _impl_.game_timestamp_; -} -inline float CCSUsrMsg_WeaponSound::game_timestamp() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_WeaponSound.game_timestamp) - return _internal_game_timestamp(); -} -inline void CCSUsrMsg_WeaponSound::_internal_set_game_timestamp(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.game_timestamp_ = value; -} -inline void CCSUsrMsg_WeaponSound::set_game_timestamp(float value) { - _internal_set_game_timestamp(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_WeaponSound.game_timestamp) -} - -// optional fixed32 source_soundscapeid = 7; -inline bool CCSUsrMsg_WeaponSound::_internal_has_source_soundscapeid() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CCSUsrMsg_WeaponSound::has_source_soundscapeid() const { - return _internal_has_source_soundscapeid(); -} -inline void CCSUsrMsg_WeaponSound::clear_source_soundscapeid() { - _impl_.source_soundscapeid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CCSUsrMsg_WeaponSound::_internal_source_soundscapeid() const { - return _impl_.source_soundscapeid_; -} -inline uint32_t CCSUsrMsg_WeaponSound::source_soundscapeid() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_WeaponSound.source_soundscapeid) - return _internal_source_soundscapeid(); -} -inline void CCSUsrMsg_WeaponSound::_internal_set_source_soundscapeid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.source_soundscapeid_ = value; -} -inline void CCSUsrMsg_WeaponSound::set_source_soundscapeid(uint32_t value) { - _internal_set_source_soundscapeid(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_WeaponSound.source_soundscapeid) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_UpdateScreenHealthBar - -// optional int32 entidx = 1 [default = -1]; -inline bool CCSUsrMsg_UpdateScreenHealthBar::_internal_has_entidx() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_UpdateScreenHealthBar::has_entidx() const { - return _internal_has_entidx(); -} -inline void CCSUsrMsg_UpdateScreenHealthBar::clear_entidx() { - _impl_.entidx_ = -1; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CCSUsrMsg_UpdateScreenHealthBar::_internal_entidx() const { - return _impl_.entidx_; -} -inline int32_t CCSUsrMsg_UpdateScreenHealthBar::entidx() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_UpdateScreenHealthBar.entidx) - return _internal_entidx(); -} -inline void CCSUsrMsg_UpdateScreenHealthBar::_internal_set_entidx(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.entidx_ = value; -} -inline void CCSUsrMsg_UpdateScreenHealthBar::set_entidx(int32_t value) { - _internal_set_entidx(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_UpdateScreenHealthBar.entidx) -} - -// optional float healthratio_old = 2; -inline bool CCSUsrMsg_UpdateScreenHealthBar::_internal_has_healthratio_old() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_UpdateScreenHealthBar::has_healthratio_old() const { - return _internal_has_healthratio_old(); -} -inline void CCSUsrMsg_UpdateScreenHealthBar::clear_healthratio_old() { - _impl_.healthratio_old_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CCSUsrMsg_UpdateScreenHealthBar::_internal_healthratio_old() const { - return _impl_.healthratio_old_; -} -inline float CCSUsrMsg_UpdateScreenHealthBar::healthratio_old() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_UpdateScreenHealthBar.healthratio_old) - return _internal_healthratio_old(); -} -inline void CCSUsrMsg_UpdateScreenHealthBar::_internal_set_healthratio_old(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.healthratio_old_ = value; -} -inline void CCSUsrMsg_UpdateScreenHealthBar::set_healthratio_old(float value) { - _internal_set_healthratio_old(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_UpdateScreenHealthBar.healthratio_old) -} - -// optional float healthratio_new = 3; -inline bool CCSUsrMsg_UpdateScreenHealthBar::_internal_has_healthratio_new() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_UpdateScreenHealthBar::has_healthratio_new() const { - return _internal_has_healthratio_new(); -} -inline void CCSUsrMsg_UpdateScreenHealthBar::clear_healthratio_new() { - _impl_.healthratio_new_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CCSUsrMsg_UpdateScreenHealthBar::_internal_healthratio_new() const { - return _impl_.healthratio_new_; -} -inline float CCSUsrMsg_UpdateScreenHealthBar::healthratio_new() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_UpdateScreenHealthBar.healthratio_new) - return _internal_healthratio_new(); -} -inline void CCSUsrMsg_UpdateScreenHealthBar::_internal_set_healthratio_new(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.healthratio_new_ = value; -} -inline void CCSUsrMsg_UpdateScreenHealthBar::set_healthratio_new(float value) { - _internal_set_healthratio_new(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_UpdateScreenHealthBar.healthratio_new) -} - -// optional int32 style = 4; -inline bool CCSUsrMsg_UpdateScreenHealthBar::_internal_has_style() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_UpdateScreenHealthBar::has_style() const { - return _internal_has_style(); -} -inline void CCSUsrMsg_UpdateScreenHealthBar::clear_style() { - _impl_.style_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_UpdateScreenHealthBar::_internal_style() const { - return _impl_.style_; -} -inline int32_t CCSUsrMsg_UpdateScreenHealthBar::style() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_UpdateScreenHealthBar.style) - return _internal_style(); -} -inline void CCSUsrMsg_UpdateScreenHealthBar::_internal_set_style(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.style_ = value; -} -inline void CCSUsrMsg_UpdateScreenHealthBar::set_style(int32_t value) { - _internal_set_style(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_UpdateScreenHealthBar.style) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_EntityOutlineHighlight - -// optional int32 entidx = 1 [default = -1]; -inline bool CCSUsrMsg_EntityOutlineHighlight::_internal_has_entidx() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_EntityOutlineHighlight::has_entidx() const { - return _internal_has_entidx(); -} -inline void CCSUsrMsg_EntityOutlineHighlight::clear_entidx() { - _impl_.entidx_ = -1; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_EntityOutlineHighlight::_internal_entidx() const { - return _impl_.entidx_; -} -inline int32_t CCSUsrMsg_EntityOutlineHighlight::entidx() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_EntityOutlineHighlight.entidx) - return _internal_entidx(); -} -inline void CCSUsrMsg_EntityOutlineHighlight::_internal_set_entidx(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.entidx_ = value; -} -inline void CCSUsrMsg_EntityOutlineHighlight::set_entidx(int32_t value) { - _internal_set_entidx(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_EntityOutlineHighlight.entidx) -} - -// optional bool removehighlight = 2; -inline bool CCSUsrMsg_EntityOutlineHighlight::_internal_has_removehighlight() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_EntityOutlineHighlight::has_removehighlight() const { - return _internal_has_removehighlight(); -} -inline void CCSUsrMsg_EntityOutlineHighlight::clear_removehighlight() { - _impl_.removehighlight_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CCSUsrMsg_EntityOutlineHighlight::_internal_removehighlight() const { - return _impl_.removehighlight_; -} -inline bool CCSUsrMsg_EntityOutlineHighlight::removehighlight() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_EntityOutlineHighlight.removehighlight) - return _internal_removehighlight(); -} -inline void CCSUsrMsg_EntityOutlineHighlight::_internal_set_removehighlight(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.removehighlight_ = value; -} -inline void CCSUsrMsg_EntityOutlineHighlight::set_removehighlight(bool value) { - _internal_set_removehighlight(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_EntityOutlineHighlight.removehighlight) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_AdjustMoney - -// optional int32 amount = 1; -inline bool CCSUsrMsg_AdjustMoney::_internal_has_amount() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_AdjustMoney::has_amount() const { - return _internal_has_amount(); -} -inline void CCSUsrMsg_AdjustMoney::clear_amount() { - _impl_.amount_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_AdjustMoney::_internal_amount() const { - return _impl_.amount_; -} -inline int32_t CCSUsrMsg_AdjustMoney::amount() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_AdjustMoney.amount) - return _internal_amount(); -} -inline void CCSUsrMsg_AdjustMoney::_internal_set_amount(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.amount_ = value; -} -inline void CCSUsrMsg_AdjustMoney::set_amount(int32_t value) { - _internal_set_amount(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_AdjustMoney.amount) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_ReportHit - -// optional float pos_x = 1; -inline bool CCSUsrMsg_ReportHit::_internal_has_pos_x() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_ReportHit::has_pos_x() const { - return _internal_has_pos_x(); -} -inline void CCSUsrMsg_ReportHit::clear_pos_x() { - _impl_.pos_x_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CCSUsrMsg_ReportHit::_internal_pos_x() const { - return _impl_.pos_x_; -} -inline float CCSUsrMsg_ReportHit::pos_x() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ReportHit.pos_x) - return _internal_pos_x(); -} -inline void CCSUsrMsg_ReportHit::_internal_set_pos_x(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.pos_x_ = value; -} -inline void CCSUsrMsg_ReportHit::set_pos_x(float value) { - _internal_set_pos_x(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ReportHit.pos_x) -} - -// optional float pos_y = 2; -inline bool CCSUsrMsg_ReportHit::_internal_has_pos_y() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_ReportHit::has_pos_y() const { - return _internal_has_pos_y(); -} -inline void CCSUsrMsg_ReportHit::clear_pos_y() { - _impl_.pos_y_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CCSUsrMsg_ReportHit::_internal_pos_y() const { - return _impl_.pos_y_; -} -inline float CCSUsrMsg_ReportHit::pos_y() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ReportHit.pos_y) - return _internal_pos_y(); -} -inline void CCSUsrMsg_ReportHit::_internal_set_pos_y(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.pos_y_ = value; -} -inline void CCSUsrMsg_ReportHit::set_pos_y(float value) { - _internal_set_pos_y(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ReportHit.pos_y) -} - -// optional float timestamp = 4; -inline bool CCSUsrMsg_ReportHit::_internal_has_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_ReportHit::has_timestamp() const { - return _internal_has_timestamp(); -} -inline void CCSUsrMsg_ReportHit::clear_timestamp() { - _impl_.timestamp_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CCSUsrMsg_ReportHit::_internal_timestamp() const { - return _impl_.timestamp_; -} -inline float CCSUsrMsg_ReportHit::timestamp() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ReportHit.timestamp) - return _internal_timestamp(); -} -inline void CCSUsrMsg_ReportHit::_internal_set_timestamp(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.timestamp_ = value; -} -inline void CCSUsrMsg_ReportHit::set_timestamp(float value) { - _internal_set_timestamp(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ReportHit.timestamp) -} - -// optional float pos_z = 3; -inline bool CCSUsrMsg_ReportHit::_internal_has_pos_z() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_ReportHit::has_pos_z() const { - return _internal_has_pos_z(); -} -inline void CCSUsrMsg_ReportHit::clear_pos_z() { - _impl_.pos_z_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CCSUsrMsg_ReportHit::_internal_pos_z() const { - return _impl_.pos_z_; -} -inline float CCSUsrMsg_ReportHit::pos_z() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ReportHit.pos_z) - return _internal_pos_z(); -} -inline void CCSUsrMsg_ReportHit::_internal_set_pos_z(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.pos_z_ = value; -} -inline void CCSUsrMsg_ReportHit::set_pos_z(float value) { - _internal_set_pos_z(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ReportHit.pos_z) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_KillCam - -// optional int32 obs_mode = 1; -inline bool CCSUsrMsg_KillCam::_internal_has_obs_mode() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_KillCam::has_obs_mode() const { - return _internal_has_obs_mode(); -} -inline void CCSUsrMsg_KillCam::clear_obs_mode() { - _impl_.obs_mode_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_KillCam::_internal_obs_mode() const { - return _impl_.obs_mode_; -} -inline int32_t CCSUsrMsg_KillCam::obs_mode() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_KillCam.obs_mode) - return _internal_obs_mode(); -} -inline void CCSUsrMsg_KillCam::_internal_set_obs_mode(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.obs_mode_ = value; -} -inline void CCSUsrMsg_KillCam::set_obs_mode(int32_t value) { - _internal_set_obs_mode(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_KillCam.obs_mode) -} - -// optional int32 first_target = 2 [default = -1]; -inline bool CCSUsrMsg_KillCam::_internal_has_first_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_KillCam::has_first_target() const { - return _internal_has_first_target(); -} -inline void CCSUsrMsg_KillCam::clear_first_target() { - _impl_.first_target_ = -1; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_KillCam::_internal_first_target() const { - return _impl_.first_target_; -} -inline int32_t CCSUsrMsg_KillCam::first_target() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_KillCam.first_target) - return _internal_first_target(); -} -inline void CCSUsrMsg_KillCam::_internal_set_first_target(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.first_target_ = value; -} -inline void CCSUsrMsg_KillCam::set_first_target(int32_t value) { - _internal_set_first_target(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_KillCam.first_target) -} - -// optional int32 second_target = 3 [default = -1]; -inline bool CCSUsrMsg_KillCam::_internal_has_second_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_KillCam::has_second_target() const { - return _internal_has_second_target(); -} -inline void CCSUsrMsg_KillCam::clear_second_target() { - _impl_.second_target_ = -1; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_KillCam::_internal_second_target() const { - return _impl_.second_target_; -} -inline int32_t CCSUsrMsg_KillCam::second_target() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_KillCam.second_target) - return _internal_second_target(); -} -inline void CCSUsrMsg_KillCam::_internal_set_second_target(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.second_target_ = value; -} -inline void CCSUsrMsg_KillCam::set_second_target(int32_t value) { - _internal_set_second_target(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_KillCam.second_target) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_DesiredTimescale - -// optional float desired_timescale = 1; -inline bool CCSUsrMsg_DesiredTimescale::_internal_has_desired_timescale() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_DesiredTimescale::has_desired_timescale() const { - return _internal_has_desired_timescale(); -} -inline void CCSUsrMsg_DesiredTimescale::clear_desired_timescale() { - _impl_.desired_timescale_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CCSUsrMsg_DesiredTimescale::_internal_desired_timescale() const { - return _impl_.desired_timescale_; -} -inline float CCSUsrMsg_DesiredTimescale::desired_timescale() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_DesiredTimescale.desired_timescale) - return _internal_desired_timescale(); -} -inline void CCSUsrMsg_DesiredTimescale::_internal_set_desired_timescale(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.desired_timescale_ = value; -} -inline void CCSUsrMsg_DesiredTimescale::set_desired_timescale(float value) { - _internal_set_desired_timescale(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_DesiredTimescale.desired_timescale) -} - -// optional float duration_realtime_sec = 2; -inline bool CCSUsrMsg_DesiredTimescale::_internal_has_duration_realtime_sec() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_DesiredTimescale::has_duration_realtime_sec() const { - return _internal_has_duration_realtime_sec(); -} -inline void CCSUsrMsg_DesiredTimescale::clear_duration_realtime_sec() { - _impl_.duration_realtime_sec_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CCSUsrMsg_DesiredTimescale::_internal_duration_realtime_sec() const { - return _impl_.duration_realtime_sec_; -} -inline float CCSUsrMsg_DesiredTimescale::duration_realtime_sec() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_DesiredTimescale.duration_realtime_sec) - return _internal_duration_realtime_sec(); -} -inline void CCSUsrMsg_DesiredTimescale::_internal_set_duration_realtime_sec(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.duration_realtime_sec_ = value; -} -inline void CCSUsrMsg_DesiredTimescale::set_duration_realtime_sec(float value) { - _internal_set_duration_realtime_sec(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_DesiredTimescale.duration_realtime_sec) -} - -// optional int32 interpolator_type = 3; -inline bool CCSUsrMsg_DesiredTimescale::_internal_has_interpolator_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_DesiredTimescale::has_interpolator_type() const { - return _internal_has_interpolator_type(); -} -inline void CCSUsrMsg_DesiredTimescale::clear_interpolator_type() { - _impl_.interpolator_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_DesiredTimescale::_internal_interpolator_type() const { - return _impl_.interpolator_type_; -} -inline int32_t CCSUsrMsg_DesiredTimescale::interpolator_type() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_DesiredTimescale.interpolator_type) - return _internal_interpolator_type(); -} -inline void CCSUsrMsg_DesiredTimescale::_internal_set_interpolator_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.interpolator_type_ = value; -} -inline void CCSUsrMsg_DesiredTimescale::set_interpolator_type(int32_t value) { - _internal_set_interpolator_type(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_DesiredTimescale.interpolator_type) -} - -// optional float start_blend_time = 4; -inline bool CCSUsrMsg_DesiredTimescale::_internal_has_start_blend_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_DesiredTimescale::has_start_blend_time() const { - return _internal_has_start_blend_time(); -} -inline void CCSUsrMsg_DesiredTimescale::clear_start_blend_time() { - _impl_.start_blend_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CCSUsrMsg_DesiredTimescale::_internal_start_blend_time() const { - return _impl_.start_blend_time_; -} -inline float CCSUsrMsg_DesiredTimescale::start_blend_time() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_DesiredTimescale.start_blend_time) - return _internal_start_blend_time(); -} -inline void CCSUsrMsg_DesiredTimescale::_internal_set_start_blend_time(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.start_blend_time_ = value; -} -inline void CCSUsrMsg_DesiredTimescale::set_start_blend_time(float value) { - _internal_set_start_blend_time(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_DesiredTimescale.start_blend_time) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_CurrentTimescale - -// optional float cur_timescale = 1; -inline bool CCSUsrMsg_CurrentTimescale::_internal_has_cur_timescale() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_CurrentTimescale::has_cur_timescale() const { - return _internal_has_cur_timescale(); -} -inline void CCSUsrMsg_CurrentTimescale::clear_cur_timescale() { - _impl_.cur_timescale_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CCSUsrMsg_CurrentTimescale::_internal_cur_timescale() const { - return _impl_.cur_timescale_; -} -inline float CCSUsrMsg_CurrentTimescale::cur_timescale() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_CurrentTimescale.cur_timescale) - return _internal_cur_timescale(); -} -inline void CCSUsrMsg_CurrentTimescale::_internal_set_cur_timescale(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.cur_timescale_ = value; -} -inline void CCSUsrMsg_CurrentTimescale::set_cur_timescale(float value) { - _internal_set_cur_timescale(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_CurrentTimescale.cur_timescale) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_AchievementEvent - -// optional int32 achievement = 1; -inline bool CCSUsrMsg_AchievementEvent::_internal_has_achievement() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_AchievementEvent::has_achievement() const { - return _internal_has_achievement(); -} -inline void CCSUsrMsg_AchievementEvent::clear_achievement() { - _impl_.achievement_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_AchievementEvent::_internal_achievement() const { - return _impl_.achievement_; -} -inline int32_t CCSUsrMsg_AchievementEvent::achievement() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_AchievementEvent.achievement) - return _internal_achievement(); -} -inline void CCSUsrMsg_AchievementEvent::_internal_set_achievement(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.achievement_ = value; -} -inline void CCSUsrMsg_AchievementEvent::set_achievement(int32_t value) { - _internal_set_achievement(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_AchievementEvent.achievement) -} - -// optional int32 count = 2; -inline bool CCSUsrMsg_AchievementEvent::_internal_has_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_AchievementEvent::has_count() const { - return _internal_has_count(); -} -inline void CCSUsrMsg_AchievementEvent::clear_count() { - _impl_.count_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_AchievementEvent::_internal_count() const { - return _impl_.count_; -} -inline int32_t CCSUsrMsg_AchievementEvent::count() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_AchievementEvent.count) - return _internal_count(); -} -inline void CCSUsrMsg_AchievementEvent::_internal_set_count(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.count_ = value; -} -inline void CCSUsrMsg_AchievementEvent::set_count(int32_t value) { - _internal_set_count(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_AchievementEvent.count) -} - -// optional int32 user_id = 3; -inline bool CCSUsrMsg_AchievementEvent::_internal_has_user_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_AchievementEvent::has_user_id() const { - return _internal_has_user_id(); -} -inline void CCSUsrMsg_AchievementEvent::clear_user_id() { - _impl_.user_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_AchievementEvent::_internal_user_id() const { - return _impl_.user_id_; -} -inline int32_t CCSUsrMsg_AchievementEvent::user_id() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_AchievementEvent.user_id) - return _internal_user_id(); -} -inline void CCSUsrMsg_AchievementEvent::_internal_set_user_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.user_id_ = value; -} -inline void CCSUsrMsg_AchievementEvent::set_user_id(int32_t value) { - _internal_set_user_id(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_AchievementEvent.user_id) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_MatchEndConditions - -// optional int32 fraglimit = 1; -inline bool CCSUsrMsg_MatchEndConditions::_internal_has_fraglimit() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_MatchEndConditions::has_fraglimit() const { - return _internal_has_fraglimit(); -} -inline void CCSUsrMsg_MatchEndConditions::clear_fraglimit() { - _impl_.fraglimit_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_MatchEndConditions::_internal_fraglimit() const { - return _impl_.fraglimit_; -} -inline int32_t CCSUsrMsg_MatchEndConditions::fraglimit() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_MatchEndConditions.fraglimit) - return _internal_fraglimit(); -} -inline void CCSUsrMsg_MatchEndConditions::_internal_set_fraglimit(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.fraglimit_ = value; -} -inline void CCSUsrMsg_MatchEndConditions::set_fraglimit(int32_t value) { - _internal_set_fraglimit(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_MatchEndConditions.fraglimit) -} - -// optional int32 mp_maxrounds = 2; -inline bool CCSUsrMsg_MatchEndConditions::_internal_has_mp_maxrounds() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_MatchEndConditions::has_mp_maxrounds() const { - return _internal_has_mp_maxrounds(); -} -inline void CCSUsrMsg_MatchEndConditions::clear_mp_maxrounds() { - _impl_.mp_maxrounds_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_MatchEndConditions::_internal_mp_maxrounds() const { - return _impl_.mp_maxrounds_; -} -inline int32_t CCSUsrMsg_MatchEndConditions::mp_maxrounds() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_MatchEndConditions.mp_maxrounds) - return _internal_mp_maxrounds(); -} -inline void CCSUsrMsg_MatchEndConditions::_internal_set_mp_maxrounds(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.mp_maxrounds_ = value; -} -inline void CCSUsrMsg_MatchEndConditions::set_mp_maxrounds(int32_t value) { - _internal_set_mp_maxrounds(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_MatchEndConditions.mp_maxrounds) -} - -// optional int32 mp_winlimit = 3; -inline bool CCSUsrMsg_MatchEndConditions::_internal_has_mp_winlimit() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_MatchEndConditions::has_mp_winlimit() const { - return _internal_has_mp_winlimit(); -} -inline void CCSUsrMsg_MatchEndConditions::clear_mp_winlimit() { - _impl_.mp_winlimit_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_MatchEndConditions::_internal_mp_winlimit() const { - return _impl_.mp_winlimit_; -} -inline int32_t CCSUsrMsg_MatchEndConditions::mp_winlimit() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_MatchEndConditions.mp_winlimit) - return _internal_mp_winlimit(); -} -inline void CCSUsrMsg_MatchEndConditions::_internal_set_mp_winlimit(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.mp_winlimit_ = value; -} -inline void CCSUsrMsg_MatchEndConditions::set_mp_winlimit(int32_t value) { - _internal_set_mp_winlimit(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_MatchEndConditions.mp_winlimit) -} - -// optional float mp_timelimit = 4; -inline bool CCSUsrMsg_MatchEndConditions::_internal_has_mp_timelimit() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_MatchEndConditions::has_mp_timelimit() const { - return _internal_has_mp_timelimit(); -} -inline void CCSUsrMsg_MatchEndConditions::clear_mp_timelimit() { - _impl_.mp_timelimit_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CCSUsrMsg_MatchEndConditions::_internal_mp_timelimit() const { - return _impl_.mp_timelimit_; -} -inline float CCSUsrMsg_MatchEndConditions::mp_timelimit() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_MatchEndConditions.mp_timelimit) - return _internal_mp_timelimit(); -} -inline void CCSUsrMsg_MatchEndConditions::_internal_set_mp_timelimit(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.mp_timelimit_ = value; -} -inline void CCSUsrMsg_MatchEndConditions::set_mp_timelimit(float value) { - _internal_set_mp_timelimit(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_MatchEndConditions.mp_timelimit) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_PlayerStatsUpdate_Stat - -// optional int32 idx = 1; -inline bool CCSUsrMsg_PlayerStatsUpdate_Stat::_internal_has_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_PlayerStatsUpdate_Stat::has_idx() const { - return _internal_has_idx(); -} -inline void CCSUsrMsg_PlayerStatsUpdate_Stat::clear_idx() { - _impl_.idx_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_PlayerStatsUpdate_Stat::_internal_idx() const { - return _impl_.idx_; -} -inline int32_t CCSUsrMsg_PlayerStatsUpdate_Stat::idx() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_PlayerStatsUpdate.Stat.idx) - return _internal_idx(); -} -inline void CCSUsrMsg_PlayerStatsUpdate_Stat::_internal_set_idx(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.idx_ = value; -} -inline void CCSUsrMsg_PlayerStatsUpdate_Stat::set_idx(int32_t value) { - _internal_set_idx(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_PlayerStatsUpdate.Stat.idx) -} - -// optional int32 delta = 2; -inline bool CCSUsrMsg_PlayerStatsUpdate_Stat::_internal_has_delta() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_PlayerStatsUpdate_Stat::has_delta() const { - return _internal_has_delta(); -} -inline void CCSUsrMsg_PlayerStatsUpdate_Stat::clear_delta() { - _impl_.delta_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_PlayerStatsUpdate_Stat::_internal_delta() const { - return _impl_.delta_; -} -inline int32_t CCSUsrMsg_PlayerStatsUpdate_Stat::delta() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_PlayerStatsUpdate.Stat.delta) - return _internal_delta(); -} -inline void CCSUsrMsg_PlayerStatsUpdate_Stat::_internal_set_delta(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.delta_ = value; -} -inline void CCSUsrMsg_PlayerStatsUpdate_Stat::set_delta(int32_t value) { - _internal_set_delta(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_PlayerStatsUpdate.Stat.delta) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_PlayerStatsUpdate - -// optional int32 version = 1; -inline bool CCSUsrMsg_PlayerStatsUpdate::_internal_has_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_PlayerStatsUpdate::has_version() const { - return _internal_has_version(); -} -inline void CCSUsrMsg_PlayerStatsUpdate::clear_version() { - _impl_.version_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_PlayerStatsUpdate::_internal_version() const { - return _impl_.version_; -} -inline int32_t CCSUsrMsg_PlayerStatsUpdate::version() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_PlayerStatsUpdate.version) - return _internal_version(); -} -inline void CCSUsrMsg_PlayerStatsUpdate::_internal_set_version(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.version_ = value; -} -inline void CCSUsrMsg_PlayerStatsUpdate::set_version(int32_t value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_PlayerStatsUpdate.version) -} - -// repeated .CCSUsrMsg_PlayerStatsUpdate.Stat stats = 4; -inline int CCSUsrMsg_PlayerStatsUpdate::_internal_stats_size() const { - return _impl_.stats_.size(); -} -inline int CCSUsrMsg_PlayerStatsUpdate::stats_size() const { - return _internal_stats_size(); -} -inline void CCSUsrMsg_PlayerStatsUpdate::clear_stats() { - _impl_.stats_.Clear(); -} -inline ::CCSUsrMsg_PlayerStatsUpdate_Stat* CCSUsrMsg_PlayerStatsUpdate::mutable_stats(int index) { - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_PlayerStatsUpdate.stats) - return _impl_.stats_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_PlayerStatsUpdate_Stat >* -CCSUsrMsg_PlayerStatsUpdate::mutable_stats() { - // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_PlayerStatsUpdate.stats) - return &_impl_.stats_; -} -inline const ::CCSUsrMsg_PlayerStatsUpdate_Stat& CCSUsrMsg_PlayerStatsUpdate::_internal_stats(int index) const { - return _impl_.stats_.Get(index); -} -inline const ::CCSUsrMsg_PlayerStatsUpdate_Stat& CCSUsrMsg_PlayerStatsUpdate::stats(int index) const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_PlayerStatsUpdate.stats) - return _internal_stats(index); -} -inline ::CCSUsrMsg_PlayerStatsUpdate_Stat* CCSUsrMsg_PlayerStatsUpdate::_internal_add_stats() { - return _impl_.stats_.Add(); -} -inline ::CCSUsrMsg_PlayerStatsUpdate_Stat* CCSUsrMsg_PlayerStatsUpdate::add_stats() { - ::CCSUsrMsg_PlayerStatsUpdate_Stat* _add = _internal_add_stats(); - // @@protoc_insertion_point(field_add:CCSUsrMsg_PlayerStatsUpdate.stats) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_PlayerStatsUpdate_Stat >& -CCSUsrMsg_PlayerStatsUpdate::stats() const { - // @@protoc_insertion_point(field_list:CCSUsrMsg_PlayerStatsUpdate.stats) - return _impl_.stats_; -} - -// optional uint32 ehandle = 5; -inline bool CCSUsrMsg_PlayerStatsUpdate::_internal_has_ehandle() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_PlayerStatsUpdate::has_ehandle() const { - return _internal_has_ehandle(); -} -inline void CCSUsrMsg_PlayerStatsUpdate::clear_ehandle() { - _impl_.ehandle_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CCSUsrMsg_PlayerStatsUpdate::_internal_ehandle() const { - return _impl_.ehandle_; -} -inline uint32_t CCSUsrMsg_PlayerStatsUpdate::ehandle() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_PlayerStatsUpdate.ehandle) - return _internal_ehandle(); -} -inline void CCSUsrMsg_PlayerStatsUpdate::_internal_set_ehandle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.ehandle_ = value; -} -inline void CCSUsrMsg_PlayerStatsUpdate::set_ehandle(uint32_t value) { - _internal_set_ehandle(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_PlayerStatsUpdate.ehandle) -} - -// optional int32 crc = 6; -inline bool CCSUsrMsg_PlayerStatsUpdate::_internal_has_crc() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_PlayerStatsUpdate::has_crc() const { - return _internal_has_crc(); -} -inline void CCSUsrMsg_PlayerStatsUpdate::clear_crc() { - _impl_.crc_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_PlayerStatsUpdate::_internal_crc() const { - return _impl_.crc_; -} -inline int32_t CCSUsrMsg_PlayerStatsUpdate::crc() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_PlayerStatsUpdate.crc) - return _internal_crc(); -} -inline void CCSUsrMsg_PlayerStatsUpdate::_internal_set_crc(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.crc_ = value; -} -inline void CCSUsrMsg_PlayerStatsUpdate::set_crc(int32_t value) { - _internal_set_crc(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_PlayerStatsUpdate.crc) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_QuestProgress - -// optional uint32 quest_id = 1; -inline bool CCSUsrMsg_QuestProgress::_internal_has_quest_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_QuestProgress::has_quest_id() const { - return _internal_has_quest_id(); -} -inline void CCSUsrMsg_QuestProgress::clear_quest_id() { - _impl_.quest_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CCSUsrMsg_QuestProgress::_internal_quest_id() const { - return _impl_.quest_id_; -} -inline uint32_t CCSUsrMsg_QuestProgress::quest_id() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_QuestProgress.quest_id) - return _internal_quest_id(); -} -inline void CCSUsrMsg_QuestProgress::_internal_set_quest_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.quest_id_ = value; -} -inline void CCSUsrMsg_QuestProgress::set_quest_id(uint32_t value) { - _internal_set_quest_id(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_QuestProgress.quest_id) -} - -// optional uint32 normal_points = 2; -inline bool CCSUsrMsg_QuestProgress::_internal_has_normal_points() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_QuestProgress::has_normal_points() const { - return _internal_has_normal_points(); -} -inline void CCSUsrMsg_QuestProgress::clear_normal_points() { - _impl_.normal_points_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CCSUsrMsg_QuestProgress::_internal_normal_points() const { - return _impl_.normal_points_; -} -inline uint32_t CCSUsrMsg_QuestProgress::normal_points() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_QuestProgress.normal_points) - return _internal_normal_points(); -} -inline void CCSUsrMsg_QuestProgress::_internal_set_normal_points(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.normal_points_ = value; -} -inline void CCSUsrMsg_QuestProgress::set_normal_points(uint32_t value) { - _internal_set_normal_points(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_QuestProgress.normal_points) -} - -// optional uint32 bonus_points = 3; -inline bool CCSUsrMsg_QuestProgress::_internal_has_bonus_points() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_QuestProgress::has_bonus_points() const { - return _internal_has_bonus_points(); -} -inline void CCSUsrMsg_QuestProgress::clear_bonus_points() { - _impl_.bonus_points_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CCSUsrMsg_QuestProgress::_internal_bonus_points() const { - return _impl_.bonus_points_; -} -inline uint32_t CCSUsrMsg_QuestProgress::bonus_points() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_QuestProgress.bonus_points) - return _internal_bonus_points(); -} -inline void CCSUsrMsg_QuestProgress::_internal_set_bonus_points(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.bonus_points_ = value; -} -inline void CCSUsrMsg_QuestProgress::set_bonus_points(uint32_t value) { - _internal_set_bonus_points(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_QuestProgress.bonus_points) -} - -// optional bool is_event_quest = 4; -inline bool CCSUsrMsg_QuestProgress::_internal_has_is_event_quest() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_QuestProgress::has_is_event_quest() const { - return _internal_has_is_event_quest(); -} -inline void CCSUsrMsg_QuestProgress::clear_is_event_quest() { - _impl_.is_event_quest_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CCSUsrMsg_QuestProgress::_internal_is_event_quest() const { - return _impl_.is_event_quest_; -} -inline bool CCSUsrMsg_QuestProgress::is_event_quest() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_QuestProgress.is_event_quest) - return _internal_is_event_quest(); -} -inline void CCSUsrMsg_QuestProgress::_internal_set_is_event_quest(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.is_event_quest_ = value; -} -inline void CCSUsrMsg_QuestProgress::set_is_event_quest(bool value) { - _internal_set_is_event_quest(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_QuestProgress.is_event_quest) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_ScoreLeaderboardData - -// optional .ScoreLeaderboardData data = 1; -inline bool CCSUsrMsg_ScoreLeaderboardData::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.data_ != nullptr); - return value; -} -inline bool CCSUsrMsg_ScoreLeaderboardData::has_data() const { - return _internal_has_data(); -} -inline const ::ScoreLeaderboardData& CCSUsrMsg_ScoreLeaderboardData::_internal_data() const { - const ::ScoreLeaderboardData* p = _impl_.data_; - return p != nullptr ? *p : reinterpret_cast( - ::_ScoreLeaderboardData_default_instance_); -} -inline const ::ScoreLeaderboardData& CCSUsrMsg_ScoreLeaderboardData::data() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ScoreLeaderboardData.data) - return _internal_data(); -} -inline void CCSUsrMsg_ScoreLeaderboardData::unsafe_arena_set_allocated_data( - ::ScoreLeaderboardData* data) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); - } - _impl_.data_ = data; - if (data) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_ScoreLeaderboardData.data) -} -inline ::ScoreLeaderboardData* CCSUsrMsg_ScoreLeaderboardData::release_data() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::ScoreLeaderboardData* temp = _impl_.data_; - _impl_.data_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::ScoreLeaderboardData* CCSUsrMsg_ScoreLeaderboardData::unsafe_arena_release_data() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_ScoreLeaderboardData.data) - _impl_._has_bits_[0] &= ~0x00000001u; - ::ScoreLeaderboardData* temp = _impl_.data_; - _impl_.data_ = nullptr; - return temp; -} -inline ::ScoreLeaderboardData* CCSUsrMsg_ScoreLeaderboardData::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.data_ == nullptr) { - auto* p = CreateMaybeMessage<::ScoreLeaderboardData>(GetArenaForAllocation()); - _impl_.data_ = p; - } - return _impl_.data_; -} -inline ::ScoreLeaderboardData* CCSUsrMsg_ScoreLeaderboardData::mutable_data() { - ::ScoreLeaderboardData* _msg = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_ScoreLeaderboardData.data) - return _msg; -} -inline void CCSUsrMsg_ScoreLeaderboardData::set_allocated_data(::ScoreLeaderboardData* data) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); - } - if (data) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(data)); - if (message_arena != submessage_arena) { - data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, data, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_ = data; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_ScoreLeaderboardData.data) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_PlayerDecalDigitalSignature - -// optional .PlayerDecalDigitalSignature data = 1; -inline bool CCSUsrMsg_PlayerDecalDigitalSignature::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.data_ != nullptr); - return value; -} -inline bool CCSUsrMsg_PlayerDecalDigitalSignature::has_data() const { - return _internal_has_data(); -} -inline const ::PlayerDecalDigitalSignature& CCSUsrMsg_PlayerDecalDigitalSignature::_internal_data() const { - const ::PlayerDecalDigitalSignature* p = _impl_.data_; - return p != nullptr ? *p : reinterpret_cast( - ::_PlayerDecalDigitalSignature_default_instance_); -} -inline const ::PlayerDecalDigitalSignature& CCSUsrMsg_PlayerDecalDigitalSignature::data() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_PlayerDecalDigitalSignature.data) - return _internal_data(); -} -inline void CCSUsrMsg_PlayerDecalDigitalSignature::unsafe_arena_set_allocated_data( - ::PlayerDecalDigitalSignature* data) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); - } - _impl_.data_ = data; - if (data) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_PlayerDecalDigitalSignature.data) -} -inline ::PlayerDecalDigitalSignature* CCSUsrMsg_PlayerDecalDigitalSignature::release_data() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::PlayerDecalDigitalSignature* temp = _impl_.data_; - _impl_.data_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::PlayerDecalDigitalSignature* CCSUsrMsg_PlayerDecalDigitalSignature::unsafe_arena_release_data() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_PlayerDecalDigitalSignature.data) - _impl_._has_bits_[0] &= ~0x00000001u; - ::PlayerDecalDigitalSignature* temp = _impl_.data_; - _impl_.data_ = nullptr; - return temp; -} -inline ::PlayerDecalDigitalSignature* CCSUsrMsg_PlayerDecalDigitalSignature::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.data_ == nullptr) { - auto* p = CreateMaybeMessage<::PlayerDecalDigitalSignature>(GetArenaForAllocation()); - _impl_.data_ = p; - } - return _impl_.data_; -} -inline ::PlayerDecalDigitalSignature* CCSUsrMsg_PlayerDecalDigitalSignature::mutable_data() { - ::PlayerDecalDigitalSignature* _msg = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_PlayerDecalDigitalSignature.data) - return _msg; -} -inline void CCSUsrMsg_PlayerDecalDigitalSignature::set_allocated_data(::PlayerDecalDigitalSignature* data) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); - } - if (data) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(data)); - if (message_arena != submessage_arena) { - data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, data, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_ = data; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_PlayerDecalDigitalSignature.data) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_XRankGet - -// optional int32 mode_idx = 1; -inline bool CCSUsrMsg_XRankGet::_internal_has_mode_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_XRankGet::has_mode_idx() const { - return _internal_has_mode_idx(); -} -inline void CCSUsrMsg_XRankGet::clear_mode_idx() { - _impl_.mode_idx_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_XRankGet::_internal_mode_idx() const { - return _impl_.mode_idx_; -} -inline int32_t CCSUsrMsg_XRankGet::mode_idx() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_XRankGet.mode_idx) - return _internal_mode_idx(); -} -inline void CCSUsrMsg_XRankGet::_internal_set_mode_idx(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.mode_idx_ = value; -} -inline void CCSUsrMsg_XRankGet::set_mode_idx(int32_t value) { - _internal_set_mode_idx(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_XRankGet.mode_idx) -} - -// optional int32 controller = 2; -inline bool CCSUsrMsg_XRankGet::_internal_has_controller() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_XRankGet::has_controller() const { - return _internal_has_controller(); -} -inline void CCSUsrMsg_XRankGet::clear_controller() { - _impl_.controller_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_XRankGet::_internal_controller() const { - return _impl_.controller_; -} -inline int32_t CCSUsrMsg_XRankGet::controller() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_XRankGet.controller) - return _internal_controller(); -} -inline void CCSUsrMsg_XRankGet::_internal_set_controller(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.controller_ = value; -} -inline void CCSUsrMsg_XRankGet::set_controller(int32_t value) { - _internal_set_controller(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_XRankGet.controller) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_XRankUpd - -// optional int32 mode_idx = 1; -inline bool CCSUsrMsg_XRankUpd::_internal_has_mode_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_XRankUpd::has_mode_idx() const { - return _internal_has_mode_idx(); -} -inline void CCSUsrMsg_XRankUpd::clear_mode_idx() { - _impl_.mode_idx_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_XRankUpd::_internal_mode_idx() const { - return _impl_.mode_idx_; -} -inline int32_t CCSUsrMsg_XRankUpd::mode_idx() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_XRankUpd.mode_idx) - return _internal_mode_idx(); -} -inline void CCSUsrMsg_XRankUpd::_internal_set_mode_idx(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.mode_idx_ = value; -} -inline void CCSUsrMsg_XRankUpd::set_mode_idx(int32_t value) { - _internal_set_mode_idx(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_XRankUpd.mode_idx) -} - -// optional int32 controller = 2; -inline bool CCSUsrMsg_XRankUpd::_internal_has_controller() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_XRankUpd::has_controller() const { - return _internal_has_controller(); -} -inline void CCSUsrMsg_XRankUpd::clear_controller() { - _impl_.controller_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_XRankUpd::_internal_controller() const { - return _impl_.controller_; -} -inline int32_t CCSUsrMsg_XRankUpd::controller() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_XRankUpd.controller) - return _internal_controller(); -} -inline void CCSUsrMsg_XRankUpd::_internal_set_controller(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.controller_ = value; -} -inline void CCSUsrMsg_XRankUpd::set_controller(int32_t value) { - _internal_set_controller(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_XRankUpd.controller) -} - -// optional int32 ranking = 3; -inline bool CCSUsrMsg_XRankUpd::_internal_has_ranking() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_XRankUpd::has_ranking() const { - return _internal_has_ranking(); -} -inline void CCSUsrMsg_XRankUpd::clear_ranking() { - _impl_.ranking_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_XRankUpd::_internal_ranking() const { - return _impl_.ranking_; -} -inline int32_t CCSUsrMsg_XRankUpd::ranking() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_XRankUpd.ranking) - return _internal_ranking(); -} -inline void CCSUsrMsg_XRankUpd::_internal_set_ranking(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.ranking_ = value; -} -inline void CCSUsrMsg_XRankUpd::set_ranking(int32_t value) { - _internal_set_ranking(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_XRankUpd.ranking) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_CallVoteFailed - -// optional int32 reason = 1; -inline bool CCSUsrMsg_CallVoteFailed::_internal_has_reason() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_CallVoteFailed::has_reason() const { - return _internal_has_reason(); -} -inline void CCSUsrMsg_CallVoteFailed::clear_reason() { - _impl_.reason_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_CallVoteFailed::_internal_reason() const { - return _impl_.reason_; -} -inline int32_t CCSUsrMsg_CallVoteFailed::reason() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_CallVoteFailed.reason) - return _internal_reason(); -} -inline void CCSUsrMsg_CallVoteFailed::_internal_set_reason(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.reason_ = value; -} -inline void CCSUsrMsg_CallVoteFailed::set_reason(int32_t value) { - _internal_set_reason(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_CallVoteFailed.reason) -} - -// optional int32 time = 2; -inline bool CCSUsrMsg_CallVoteFailed::_internal_has_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_CallVoteFailed::has_time() const { - return _internal_has_time(); -} -inline void CCSUsrMsg_CallVoteFailed::clear_time() { - _impl_.time_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_CallVoteFailed::_internal_time() const { - return _impl_.time_; -} -inline int32_t CCSUsrMsg_CallVoteFailed::time() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_CallVoteFailed.time) - return _internal_time(); -} -inline void CCSUsrMsg_CallVoteFailed::_internal_set_time(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.time_ = value; -} -inline void CCSUsrMsg_CallVoteFailed::set_time(int32_t value) { - _internal_set_time(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_CallVoteFailed.time) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_VoteStart - -// optional int32 team = 1; -inline bool CCSUsrMsg_VoteStart::_internal_has_team() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_VoteStart::has_team() const { - return _internal_has_team(); -} -inline void CCSUsrMsg_VoteStart::clear_team() { - _impl_.team_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CCSUsrMsg_VoteStart::_internal_team() const { - return _impl_.team_; -} -inline int32_t CCSUsrMsg_VoteStart::team() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteStart.team) - return _internal_team(); -} -inline void CCSUsrMsg_VoteStart::_internal_set_team(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.team_ = value; -} -inline void CCSUsrMsg_VoteStart::set_team(int32_t value) { - _internal_set_team(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteStart.team) -} - -// optional int32 player_slot = 2 [default = -1]; -inline bool CCSUsrMsg_VoteStart::_internal_has_player_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CCSUsrMsg_VoteStart::has_player_slot() const { - return _internal_has_player_slot(); -} -inline void CCSUsrMsg_VoteStart::clear_player_slot() { - _impl_.player_slot_ = -1; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CCSUsrMsg_VoteStart::_internal_player_slot() const { - return _impl_.player_slot_; -} -inline int32_t CCSUsrMsg_VoteStart::player_slot() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteStart.player_slot) - return _internal_player_slot(); -} -inline void CCSUsrMsg_VoteStart::_internal_set_player_slot(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.player_slot_ = value; -} -inline void CCSUsrMsg_VoteStart::set_player_slot(int32_t value) { - _internal_set_player_slot(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteStart.player_slot) -} - -// optional int32 vote_type = 3; -inline bool CCSUsrMsg_VoteStart::_internal_has_vote_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CCSUsrMsg_VoteStart::has_vote_type() const { - return _internal_has_vote_type(); -} -inline void CCSUsrMsg_VoteStart::clear_vote_type() { - _impl_.vote_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CCSUsrMsg_VoteStart::_internal_vote_type() const { - return _impl_.vote_type_; -} -inline int32_t CCSUsrMsg_VoteStart::vote_type() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteStart.vote_type) - return _internal_vote_type(); -} -inline void CCSUsrMsg_VoteStart::_internal_set_vote_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.vote_type_ = value; -} -inline void CCSUsrMsg_VoteStart::set_vote_type(int32_t value) { - _internal_set_vote_type(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteStart.vote_type) -} - -// optional string disp_str = 4; -inline bool CCSUsrMsg_VoteStart::_internal_has_disp_str() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_VoteStart::has_disp_str() const { - return _internal_has_disp_str(); -} -inline void CCSUsrMsg_VoteStart::clear_disp_str() { - _impl_.disp_str_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_VoteStart::disp_str() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteStart.disp_str) - return _internal_disp_str(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_VoteStart::set_disp_str(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.disp_str_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteStart.disp_str) -} -inline std::string* CCSUsrMsg_VoteStart::mutable_disp_str() { - std::string* _s = _internal_mutable_disp_str(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VoteStart.disp_str) - return _s; -} -inline const std::string& CCSUsrMsg_VoteStart::_internal_disp_str() const { - return _impl_.disp_str_.Get(); -} -inline void CCSUsrMsg_VoteStart::_internal_set_disp_str(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.disp_str_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_VoteStart::_internal_mutable_disp_str() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.disp_str_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_VoteStart::release_disp_str() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_VoteStart.disp_str) - if (!_internal_has_disp_str()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.disp_str_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.disp_str_.IsDefault()) { - _impl_.disp_str_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_VoteStart::set_allocated_disp_str(std::string* disp_str) { - if (disp_str != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.disp_str_.SetAllocated(disp_str, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.disp_str_.IsDefault()) { - _impl_.disp_str_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_VoteStart.disp_str) -} - -// optional string details_str = 5; -inline bool CCSUsrMsg_VoteStart::_internal_has_details_str() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_VoteStart::has_details_str() const { - return _internal_has_details_str(); -} -inline void CCSUsrMsg_VoteStart::clear_details_str() { - _impl_.details_str_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CCSUsrMsg_VoteStart::details_str() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteStart.details_str) - return _internal_details_str(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_VoteStart::set_details_str(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.details_str_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteStart.details_str) -} -inline std::string* CCSUsrMsg_VoteStart::mutable_details_str() { - std::string* _s = _internal_mutable_details_str(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VoteStart.details_str) - return _s; -} -inline const std::string& CCSUsrMsg_VoteStart::_internal_details_str() const { - return _impl_.details_str_.Get(); -} -inline void CCSUsrMsg_VoteStart::_internal_set_details_str(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.details_str_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_VoteStart::_internal_mutable_details_str() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.details_str_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_VoteStart::release_details_str() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_VoteStart.details_str) - if (!_internal_has_details_str()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.details_str_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.details_str_.IsDefault()) { - _impl_.details_str_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_VoteStart::set_allocated_details_str(std::string* details_str) { - if (details_str != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.details_str_.SetAllocated(details_str, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.details_str_.IsDefault()) { - _impl_.details_str_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_VoteStart.details_str) -} - -// optional string other_team_str = 6; -inline bool CCSUsrMsg_VoteStart::_internal_has_other_team_str() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_VoteStart::has_other_team_str() const { - return _internal_has_other_team_str(); -} -inline void CCSUsrMsg_VoteStart::clear_other_team_str() { - _impl_.other_team_str_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CCSUsrMsg_VoteStart::other_team_str() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteStart.other_team_str) - return _internal_other_team_str(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_VoteStart::set_other_team_str(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.other_team_str_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteStart.other_team_str) -} -inline std::string* CCSUsrMsg_VoteStart::mutable_other_team_str() { - std::string* _s = _internal_mutable_other_team_str(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VoteStart.other_team_str) - return _s; -} -inline const std::string& CCSUsrMsg_VoteStart::_internal_other_team_str() const { - return _impl_.other_team_str_.Get(); -} -inline void CCSUsrMsg_VoteStart::_internal_set_other_team_str(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.other_team_str_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_VoteStart::_internal_mutable_other_team_str() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.other_team_str_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_VoteStart::release_other_team_str() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_VoteStart.other_team_str) - if (!_internal_has_other_team_str()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.other_team_str_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.other_team_str_.IsDefault()) { - _impl_.other_team_str_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_VoteStart::set_allocated_other_team_str(std::string* other_team_str) { - if (other_team_str != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.other_team_str_.SetAllocated(other_team_str, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.other_team_str_.IsDefault()) { - _impl_.other_team_str_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_VoteStart.other_team_str) -} - -// optional bool is_yes_no_vote = 7; -inline bool CCSUsrMsg_VoteStart::_internal_has_is_yes_no_vote() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CCSUsrMsg_VoteStart::has_is_yes_no_vote() const { - return _internal_has_is_yes_no_vote(); -} -inline void CCSUsrMsg_VoteStart::clear_is_yes_no_vote() { - _impl_.is_yes_no_vote_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool CCSUsrMsg_VoteStart::_internal_is_yes_no_vote() const { - return _impl_.is_yes_no_vote_; -} -inline bool CCSUsrMsg_VoteStart::is_yes_no_vote() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteStart.is_yes_no_vote) - return _internal_is_yes_no_vote(); -} -inline void CCSUsrMsg_VoteStart::_internal_set_is_yes_no_vote(bool value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.is_yes_no_vote_ = value; -} -inline void CCSUsrMsg_VoteStart::set_is_yes_no_vote(bool value) { - _internal_set_is_yes_no_vote(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteStart.is_yes_no_vote) -} - -// optional int32 player_slot_target = 8 [default = -1]; -inline bool CCSUsrMsg_VoteStart::_internal_has_player_slot_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CCSUsrMsg_VoteStart::has_player_slot_target() const { - return _internal_has_player_slot_target(); -} -inline void CCSUsrMsg_VoteStart::clear_player_slot_target() { - _impl_.player_slot_target_ = -1; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t CCSUsrMsg_VoteStart::_internal_player_slot_target() const { - return _impl_.player_slot_target_; -} -inline int32_t CCSUsrMsg_VoteStart::player_slot_target() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteStart.player_slot_target) - return _internal_player_slot_target(); -} -inline void CCSUsrMsg_VoteStart::_internal_set_player_slot_target(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.player_slot_target_ = value; -} -inline void CCSUsrMsg_VoteStart::set_player_slot_target(int32_t value) { - _internal_set_player_slot_target(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteStart.player_slot_target) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_VotePass - -// optional int32 team = 1; -inline bool CCSUsrMsg_VotePass::_internal_has_team() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_VotePass::has_team() const { - return _internal_has_team(); -} -inline void CCSUsrMsg_VotePass::clear_team() { - _impl_.team_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_VotePass::_internal_team() const { - return _impl_.team_; -} -inline int32_t CCSUsrMsg_VotePass::team() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VotePass.team) - return _internal_team(); -} -inline void CCSUsrMsg_VotePass::_internal_set_team(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.team_ = value; -} -inline void CCSUsrMsg_VotePass::set_team(int32_t value) { - _internal_set_team(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VotePass.team) -} - -// optional int32 vote_type = 2; -inline bool CCSUsrMsg_VotePass::_internal_has_vote_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_VotePass::has_vote_type() const { - return _internal_has_vote_type(); -} -inline void CCSUsrMsg_VotePass::clear_vote_type() { - _impl_.vote_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CCSUsrMsg_VotePass::_internal_vote_type() const { - return _impl_.vote_type_; -} -inline int32_t CCSUsrMsg_VotePass::vote_type() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VotePass.vote_type) - return _internal_vote_type(); -} -inline void CCSUsrMsg_VotePass::_internal_set_vote_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.vote_type_ = value; -} -inline void CCSUsrMsg_VotePass::set_vote_type(int32_t value) { - _internal_set_vote_type(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VotePass.vote_type) -} - -// optional string disp_str = 3; -inline bool CCSUsrMsg_VotePass::_internal_has_disp_str() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_VotePass::has_disp_str() const { - return _internal_has_disp_str(); -} -inline void CCSUsrMsg_VotePass::clear_disp_str() { - _impl_.disp_str_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_VotePass::disp_str() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VotePass.disp_str) - return _internal_disp_str(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_VotePass::set_disp_str(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.disp_str_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VotePass.disp_str) -} -inline std::string* CCSUsrMsg_VotePass::mutable_disp_str() { - std::string* _s = _internal_mutable_disp_str(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VotePass.disp_str) - return _s; -} -inline const std::string& CCSUsrMsg_VotePass::_internal_disp_str() const { - return _impl_.disp_str_.Get(); -} -inline void CCSUsrMsg_VotePass::_internal_set_disp_str(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.disp_str_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_VotePass::_internal_mutable_disp_str() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.disp_str_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_VotePass::release_disp_str() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_VotePass.disp_str) - if (!_internal_has_disp_str()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.disp_str_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.disp_str_.IsDefault()) { - _impl_.disp_str_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_VotePass::set_allocated_disp_str(std::string* disp_str) { - if (disp_str != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.disp_str_.SetAllocated(disp_str, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.disp_str_.IsDefault()) { - _impl_.disp_str_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_VotePass.disp_str) -} - -// optional string details_str = 4; -inline bool CCSUsrMsg_VotePass::_internal_has_details_str() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_VotePass::has_details_str() const { - return _internal_has_details_str(); -} -inline void CCSUsrMsg_VotePass::clear_details_str() { - _impl_.details_str_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CCSUsrMsg_VotePass::details_str() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VotePass.details_str) - return _internal_details_str(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_VotePass::set_details_str(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.details_str_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VotePass.details_str) -} -inline std::string* CCSUsrMsg_VotePass::mutable_details_str() { - std::string* _s = _internal_mutable_details_str(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VotePass.details_str) - return _s; -} -inline const std::string& CCSUsrMsg_VotePass::_internal_details_str() const { - return _impl_.details_str_.Get(); -} -inline void CCSUsrMsg_VotePass::_internal_set_details_str(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.details_str_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_VotePass::_internal_mutable_details_str() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.details_str_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_VotePass::release_details_str() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_VotePass.details_str) - if (!_internal_has_details_str()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.details_str_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.details_str_.IsDefault()) { - _impl_.details_str_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_VotePass::set_allocated_details_str(std::string* details_str) { - if (details_str != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.details_str_.SetAllocated(details_str, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.details_str_.IsDefault()) { - _impl_.details_str_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_VotePass.details_str) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_VoteFailed - -// optional int32 team = 1; -inline bool CCSUsrMsg_VoteFailed::_internal_has_team() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_VoteFailed::has_team() const { - return _internal_has_team(); -} -inline void CCSUsrMsg_VoteFailed::clear_team() { - _impl_.team_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_VoteFailed::_internal_team() const { - return _impl_.team_; -} -inline int32_t CCSUsrMsg_VoteFailed::team() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteFailed.team) - return _internal_team(); -} -inline void CCSUsrMsg_VoteFailed::_internal_set_team(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.team_ = value; -} -inline void CCSUsrMsg_VoteFailed::set_team(int32_t value) { - _internal_set_team(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteFailed.team) -} - -// optional int32 reason = 2; -inline bool CCSUsrMsg_VoteFailed::_internal_has_reason() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_VoteFailed::has_reason() const { - return _internal_has_reason(); -} -inline void CCSUsrMsg_VoteFailed::clear_reason() { - _impl_.reason_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_VoteFailed::_internal_reason() const { - return _impl_.reason_; -} -inline int32_t CCSUsrMsg_VoteFailed::reason() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteFailed.reason) - return _internal_reason(); -} -inline void CCSUsrMsg_VoteFailed::_internal_set_reason(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.reason_ = value; -} -inline void CCSUsrMsg_VoteFailed::set_reason(int32_t value) { - _internal_set_reason(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteFailed.reason) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_VoteSetup - -// repeated string potential_issues = 1; -inline int CCSUsrMsg_VoteSetup::_internal_potential_issues_size() const { - return _impl_.potential_issues_.size(); -} -inline int CCSUsrMsg_VoteSetup::potential_issues_size() const { - return _internal_potential_issues_size(); -} -inline void CCSUsrMsg_VoteSetup::clear_potential_issues() { - _impl_.potential_issues_.Clear(); -} -inline std::string* CCSUsrMsg_VoteSetup::add_potential_issues() { - std::string* _s = _internal_add_potential_issues(); - // @@protoc_insertion_point(field_add_mutable:CCSUsrMsg_VoteSetup.potential_issues) - return _s; -} -inline const std::string& CCSUsrMsg_VoteSetup::_internal_potential_issues(int index) const { - return _impl_.potential_issues_.Get(index); -} -inline const std::string& CCSUsrMsg_VoteSetup::potential_issues(int index) const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_VoteSetup.potential_issues) - return _internal_potential_issues(index); -} -inline std::string* CCSUsrMsg_VoteSetup::mutable_potential_issues(int index) { - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_VoteSetup.potential_issues) - return _impl_.potential_issues_.Mutable(index); -} -inline void CCSUsrMsg_VoteSetup::set_potential_issues(int index, const std::string& value) { - _impl_.potential_issues_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteSetup.potential_issues) -} -inline void CCSUsrMsg_VoteSetup::set_potential_issues(int index, std::string&& value) { - _impl_.potential_issues_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CCSUsrMsg_VoteSetup.potential_issues) -} -inline void CCSUsrMsg_VoteSetup::set_potential_issues(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.potential_issues_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CCSUsrMsg_VoteSetup.potential_issues) -} -inline void CCSUsrMsg_VoteSetup::set_potential_issues(int index, const char* value, size_t size) { - _impl_.potential_issues_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CCSUsrMsg_VoteSetup.potential_issues) -} -inline std::string* CCSUsrMsg_VoteSetup::_internal_add_potential_issues() { - return _impl_.potential_issues_.Add(); -} -inline void CCSUsrMsg_VoteSetup::add_potential_issues(const std::string& value) { - _impl_.potential_issues_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CCSUsrMsg_VoteSetup.potential_issues) -} -inline void CCSUsrMsg_VoteSetup::add_potential_issues(std::string&& value) { - _impl_.potential_issues_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CCSUsrMsg_VoteSetup.potential_issues) -} -inline void CCSUsrMsg_VoteSetup::add_potential_issues(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.potential_issues_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CCSUsrMsg_VoteSetup.potential_issues) -} -inline void CCSUsrMsg_VoteSetup::add_potential_issues(const char* value, size_t size) { - _impl_.potential_issues_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CCSUsrMsg_VoteSetup.potential_issues) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CCSUsrMsg_VoteSetup::potential_issues() const { - // @@protoc_insertion_point(field_list:CCSUsrMsg_VoteSetup.potential_issues) - return _impl_.potential_issues_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CCSUsrMsg_VoteSetup::mutable_potential_issues() { - // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_VoteSetup.potential_issues) - return &_impl_.potential_issues_; -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_SendLastKillerDamageToClient - -// optional int32 num_hits_given = 1; -inline bool CCSUsrMsg_SendLastKillerDamageToClient::_internal_has_num_hits_given() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_SendLastKillerDamageToClient::has_num_hits_given() const { - return _internal_has_num_hits_given(); -} -inline void CCSUsrMsg_SendLastKillerDamageToClient::clear_num_hits_given() { - _impl_.num_hits_given_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::_internal_num_hits_given() const { - return _impl_.num_hits_given_; -} -inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::num_hits_given() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SendLastKillerDamageToClient.num_hits_given) - return _internal_num_hits_given(); -} -inline void CCSUsrMsg_SendLastKillerDamageToClient::_internal_set_num_hits_given(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.num_hits_given_ = value; -} -inline void CCSUsrMsg_SendLastKillerDamageToClient::set_num_hits_given(int32_t value) { - _internal_set_num_hits_given(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SendLastKillerDamageToClient.num_hits_given) -} - -// optional int32 damage_given = 2; -inline bool CCSUsrMsg_SendLastKillerDamageToClient::_internal_has_damage_given() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_SendLastKillerDamageToClient::has_damage_given() const { - return _internal_has_damage_given(); -} -inline void CCSUsrMsg_SendLastKillerDamageToClient::clear_damage_given() { - _impl_.damage_given_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::_internal_damage_given() const { - return _impl_.damage_given_; -} -inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::damage_given() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SendLastKillerDamageToClient.damage_given) - return _internal_damage_given(); -} -inline void CCSUsrMsg_SendLastKillerDamageToClient::_internal_set_damage_given(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.damage_given_ = value; -} -inline void CCSUsrMsg_SendLastKillerDamageToClient::set_damage_given(int32_t value) { - _internal_set_damage_given(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SendLastKillerDamageToClient.damage_given) -} - -// optional int32 num_hits_taken = 3; -inline bool CCSUsrMsg_SendLastKillerDamageToClient::_internal_has_num_hits_taken() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_SendLastKillerDamageToClient::has_num_hits_taken() const { - return _internal_has_num_hits_taken(); -} -inline void CCSUsrMsg_SendLastKillerDamageToClient::clear_num_hits_taken() { - _impl_.num_hits_taken_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::_internal_num_hits_taken() const { - return _impl_.num_hits_taken_; -} -inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::num_hits_taken() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SendLastKillerDamageToClient.num_hits_taken) - return _internal_num_hits_taken(); -} -inline void CCSUsrMsg_SendLastKillerDamageToClient::_internal_set_num_hits_taken(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.num_hits_taken_ = value; -} -inline void CCSUsrMsg_SendLastKillerDamageToClient::set_num_hits_taken(int32_t value) { - _internal_set_num_hits_taken(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SendLastKillerDamageToClient.num_hits_taken) -} - -// optional int32 damage_taken = 4; -inline bool CCSUsrMsg_SendLastKillerDamageToClient::_internal_has_damage_taken() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_SendLastKillerDamageToClient::has_damage_taken() const { - return _internal_has_damage_taken(); -} -inline void CCSUsrMsg_SendLastKillerDamageToClient::clear_damage_taken() { - _impl_.damage_taken_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::_internal_damage_taken() const { - return _impl_.damage_taken_; -} -inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::damage_taken() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SendLastKillerDamageToClient.damage_taken) - return _internal_damage_taken(); -} -inline void CCSUsrMsg_SendLastKillerDamageToClient::_internal_set_damage_taken(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.damage_taken_ = value; -} -inline void CCSUsrMsg_SendLastKillerDamageToClient::set_damage_taken(int32_t value) { - _internal_set_damage_taken(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SendLastKillerDamageToClient.damage_taken) -} - -// optional int32 actual_damage_given = 5; -inline bool CCSUsrMsg_SendLastKillerDamageToClient::_internal_has_actual_damage_given() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CCSUsrMsg_SendLastKillerDamageToClient::has_actual_damage_given() const { - return _internal_has_actual_damage_given(); -} -inline void CCSUsrMsg_SendLastKillerDamageToClient::clear_actual_damage_given() { - _impl_.actual_damage_given_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::_internal_actual_damage_given() const { - return _impl_.actual_damage_given_; -} -inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::actual_damage_given() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SendLastKillerDamageToClient.actual_damage_given) - return _internal_actual_damage_given(); -} -inline void CCSUsrMsg_SendLastKillerDamageToClient::_internal_set_actual_damage_given(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.actual_damage_given_ = value; -} -inline void CCSUsrMsg_SendLastKillerDamageToClient::set_actual_damage_given(int32_t value) { - _internal_set_actual_damage_given(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SendLastKillerDamageToClient.actual_damage_given) -} - -// optional int32 actual_damage_taken = 6; -inline bool CCSUsrMsg_SendLastKillerDamageToClient::_internal_has_actual_damage_taken() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CCSUsrMsg_SendLastKillerDamageToClient::has_actual_damage_taken() const { - return _internal_has_actual_damage_taken(); -} -inline void CCSUsrMsg_SendLastKillerDamageToClient::clear_actual_damage_taken() { - _impl_.actual_damage_taken_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::_internal_actual_damage_taken() const { - return _impl_.actual_damage_taken_; -} -inline int32_t CCSUsrMsg_SendLastKillerDamageToClient::actual_damage_taken() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SendLastKillerDamageToClient.actual_damage_taken) - return _internal_actual_damage_taken(); -} -inline void CCSUsrMsg_SendLastKillerDamageToClient::_internal_set_actual_damage_taken(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.actual_damage_taken_ = value; -} -inline void CCSUsrMsg_SendLastKillerDamageToClient::set_actual_damage_taken(int32_t value) { - _internal_set_actual_damage_taken(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SendLastKillerDamageToClient.actual_damage_taken) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_ServerRankUpdate_RankUpdate - -// optional int32 account_id = 1; -inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::has_account_id() const { - return _internal_has_account_id(); -} -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::clear_account_id() { - _impl_.account_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_account_id() const { - return _impl_.account_id_; -} -inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::account_id() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ServerRankUpdate.RankUpdate.account_id) - return _internal_account_id(); -} -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_set_account_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.account_id_ = value; -} -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::set_account_id(int32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ServerRankUpdate.RankUpdate.account_id) -} - -// optional int32 rank_old = 2; -inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_has_rank_old() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::has_rank_old() const { - return _internal_has_rank_old(); -} -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::clear_rank_old() { - _impl_.rank_old_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_rank_old() const { - return _impl_.rank_old_; -} -inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::rank_old() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ServerRankUpdate.RankUpdate.rank_old) - return _internal_rank_old(); -} -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_set_rank_old(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.rank_old_ = value; -} -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::set_rank_old(int32_t value) { - _internal_set_rank_old(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ServerRankUpdate.RankUpdate.rank_old) -} - -// optional int32 rank_new = 3; -inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_has_rank_new() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::has_rank_new() const { - return _internal_has_rank_new(); -} -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::clear_rank_new() { - _impl_.rank_new_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_rank_new() const { - return _impl_.rank_new_; -} -inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::rank_new() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ServerRankUpdate.RankUpdate.rank_new) - return _internal_rank_new(); -} -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_set_rank_new(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.rank_new_ = value; -} -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::set_rank_new(int32_t value) { - _internal_set_rank_new(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ServerRankUpdate.RankUpdate.rank_new) -} - -// optional int32 num_wins = 4; -inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_has_num_wins() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::has_num_wins() const { - return _internal_has_num_wins(); -} -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::clear_num_wins() { - _impl_.num_wins_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_num_wins() const { - return _impl_.num_wins_; -} -inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::num_wins() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ServerRankUpdate.RankUpdate.num_wins) - return _internal_num_wins(); -} -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_set_num_wins(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.num_wins_ = value; -} -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::set_num_wins(int32_t value) { - _internal_set_num_wins(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ServerRankUpdate.RankUpdate.num_wins) -} - -// optional float rank_change = 5; -inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_has_rank_change() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::has_rank_change() const { - return _internal_has_rank_change(); -} -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::clear_rank_change() { - _impl_.rank_change_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_rank_change() const { - return _impl_.rank_change_; -} -inline float CCSUsrMsg_ServerRankUpdate_RankUpdate::rank_change() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ServerRankUpdate.RankUpdate.rank_change) - return _internal_rank_change(); -} -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_set_rank_change(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.rank_change_ = value; -} -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::set_rank_change(float value) { - _internal_set_rank_change(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ServerRankUpdate.RankUpdate.rank_change) -} - -// optional int32 rank_type_id = 6; -inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_has_rank_type_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CCSUsrMsg_ServerRankUpdate_RankUpdate::has_rank_type_id() const { - return _internal_has_rank_type_id(); -} -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::clear_rank_type_id() { - _impl_.rank_type_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_rank_type_id() const { - return _impl_.rank_type_id_; -} -inline int32_t CCSUsrMsg_ServerRankUpdate_RankUpdate::rank_type_id() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ServerRankUpdate.RankUpdate.rank_type_id) - return _internal_rank_type_id(); -} -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::_internal_set_rank_type_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.rank_type_id_ = value; -} -inline void CCSUsrMsg_ServerRankUpdate_RankUpdate::set_rank_type_id(int32_t value) { - _internal_set_rank_type_id(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ServerRankUpdate.RankUpdate.rank_type_id) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_ServerRankUpdate - -// repeated .CCSUsrMsg_ServerRankUpdate.RankUpdate rank_update = 1; -inline int CCSUsrMsg_ServerRankUpdate::_internal_rank_update_size() const { - return _impl_.rank_update_.size(); -} -inline int CCSUsrMsg_ServerRankUpdate::rank_update_size() const { - return _internal_rank_update_size(); -} -inline void CCSUsrMsg_ServerRankUpdate::clear_rank_update() { - _impl_.rank_update_.Clear(); -} -inline ::CCSUsrMsg_ServerRankUpdate_RankUpdate* CCSUsrMsg_ServerRankUpdate::mutable_rank_update(int index) { - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_ServerRankUpdate.rank_update) - return _impl_.rank_update_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ServerRankUpdate_RankUpdate >* -CCSUsrMsg_ServerRankUpdate::mutable_rank_update() { - // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_ServerRankUpdate.rank_update) - return &_impl_.rank_update_; -} -inline const ::CCSUsrMsg_ServerRankUpdate_RankUpdate& CCSUsrMsg_ServerRankUpdate::_internal_rank_update(int index) const { - return _impl_.rank_update_.Get(index); -} -inline const ::CCSUsrMsg_ServerRankUpdate_RankUpdate& CCSUsrMsg_ServerRankUpdate::rank_update(int index) const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ServerRankUpdate.rank_update) - return _internal_rank_update(index); -} -inline ::CCSUsrMsg_ServerRankUpdate_RankUpdate* CCSUsrMsg_ServerRankUpdate::_internal_add_rank_update() { - return _impl_.rank_update_.Add(); -} -inline ::CCSUsrMsg_ServerRankUpdate_RankUpdate* CCSUsrMsg_ServerRankUpdate::add_rank_update() { - ::CCSUsrMsg_ServerRankUpdate_RankUpdate* _add = _internal_add_rank_update(); - // @@protoc_insertion_point(field_add:CCSUsrMsg_ServerRankUpdate.rank_update) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_ServerRankUpdate_RankUpdate >& -CCSUsrMsg_ServerRankUpdate::rank_update() const { - // @@protoc_insertion_point(field_list:CCSUsrMsg_ServerRankUpdate.rank_update) - return _impl_.rank_update_; -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_XpUpdate - -// optional .CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded data = 1; -inline bool CCSUsrMsg_XpUpdate::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.data_ != nullptr); - return value; -} -inline bool CCSUsrMsg_XpUpdate::has_data() const { - return _internal_has_data(); -} -inline const ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& CCSUsrMsg_XpUpdate::_internal_data() const { - const ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* p = _impl_.data_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded_default_instance_); -} -inline const ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded& CCSUsrMsg_XpUpdate::data() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_XpUpdate.data) - return _internal_data(); -} -inline void CCSUsrMsg_XpUpdate::unsafe_arena_set_allocated_data( - ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* data) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); - } - _impl_.data_ = data; - if (data) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_XpUpdate.data) -} -inline ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* CCSUsrMsg_XpUpdate::release_data() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* temp = _impl_.data_; - _impl_.data_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* CCSUsrMsg_XpUpdate::unsafe_arena_release_data() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_XpUpdate.data) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* temp = _impl_.data_; - _impl_.data_ = nullptr; - return temp; -} -inline ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* CCSUsrMsg_XpUpdate::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.data_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded>(GetArenaForAllocation()); - _impl_.data_ = p; - } - return _impl_.data_; -} -inline ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* CCSUsrMsg_XpUpdate::mutable_data() { - ::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* _msg = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_XpUpdate.data) - return _msg; -} -inline void CCSUsrMsg_XpUpdate::set_allocated_data(::CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded* data) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_); - } - if (data) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(data)); - if (message_arena != submessage_arena) { - data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, data, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_ = data; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_XpUpdate.data) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_ItemPickup - -// optional string item = 1; -inline bool CCSUsrMsg_ItemPickup::_internal_has_item() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_ItemPickup::has_item() const { - return _internal_has_item(); -} -inline void CCSUsrMsg_ItemPickup::clear_item() { - _impl_.item_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_ItemPickup::item() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ItemPickup.item) - return _internal_item(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_ItemPickup::set_item(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.item_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ItemPickup.item) -} -inline std::string* CCSUsrMsg_ItemPickup::mutable_item() { - std::string* _s = _internal_mutable_item(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_ItemPickup.item) - return _s; -} -inline const std::string& CCSUsrMsg_ItemPickup::_internal_item() const { - return _impl_.item_.Get(); -} -inline void CCSUsrMsg_ItemPickup::_internal_set_item(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.item_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_ItemPickup::_internal_mutable_item() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.item_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_ItemPickup::release_item() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_ItemPickup.item) - if (!_internal_has_item()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.item_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.item_.IsDefault()) { - _impl_.item_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_ItemPickup::set_allocated_item(std::string* item) { - if (item != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.item_.SetAllocated(item, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.item_.IsDefault()) { - _impl_.item_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_ItemPickup.item) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_ShowMenu - -// optional int32 bits_valid_slots = 1; -inline bool CCSUsrMsg_ShowMenu::_internal_has_bits_valid_slots() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_ShowMenu::has_bits_valid_slots() const { - return _internal_has_bits_valid_slots(); -} -inline void CCSUsrMsg_ShowMenu::clear_bits_valid_slots() { - _impl_.bits_valid_slots_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_ShowMenu::_internal_bits_valid_slots() const { - return _impl_.bits_valid_slots_; -} -inline int32_t CCSUsrMsg_ShowMenu::bits_valid_slots() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ShowMenu.bits_valid_slots) - return _internal_bits_valid_slots(); -} -inline void CCSUsrMsg_ShowMenu::_internal_set_bits_valid_slots(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.bits_valid_slots_ = value; -} -inline void CCSUsrMsg_ShowMenu::set_bits_valid_slots(int32_t value) { - _internal_set_bits_valid_slots(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ShowMenu.bits_valid_slots) -} - -// optional int32 display_time = 2; -inline bool CCSUsrMsg_ShowMenu::_internal_has_display_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_ShowMenu::has_display_time() const { - return _internal_has_display_time(); -} -inline void CCSUsrMsg_ShowMenu::clear_display_time() { - _impl_.display_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_ShowMenu::_internal_display_time() const { - return _impl_.display_time_; -} -inline int32_t CCSUsrMsg_ShowMenu::display_time() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ShowMenu.display_time) - return _internal_display_time(); -} -inline void CCSUsrMsg_ShowMenu::_internal_set_display_time(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.display_time_ = value; -} -inline void CCSUsrMsg_ShowMenu::set_display_time(int32_t value) { - _internal_set_display_time(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ShowMenu.display_time) -} - -// optional string menu_string = 3; -inline bool CCSUsrMsg_ShowMenu::_internal_has_menu_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_ShowMenu::has_menu_string() const { - return _internal_has_menu_string(); -} -inline void CCSUsrMsg_ShowMenu::clear_menu_string() { - _impl_.menu_string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_ShowMenu::menu_string() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ShowMenu.menu_string) - return _internal_menu_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_ShowMenu::set_menu_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.menu_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ShowMenu.menu_string) -} -inline std::string* CCSUsrMsg_ShowMenu::mutable_menu_string() { - std::string* _s = _internal_mutable_menu_string(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_ShowMenu.menu_string) - return _s; -} -inline const std::string& CCSUsrMsg_ShowMenu::_internal_menu_string() const { - return _impl_.menu_string_.Get(); -} -inline void CCSUsrMsg_ShowMenu::_internal_set_menu_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.menu_string_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_ShowMenu::_internal_mutable_menu_string() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.menu_string_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_ShowMenu::release_menu_string() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_ShowMenu.menu_string) - if (!_internal_has_menu_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.menu_string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.menu_string_.IsDefault()) { - _impl_.menu_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_ShowMenu::set_allocated_menu_string(std::string* menu_string) { - if (menu_string != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.menu_string_.SetAllocated(menu_string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.menu_string_.IsDefault()) { - _impl_.menu_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_ShowMenu.menu_string) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_BarTime - -// optional string time = 1; -inline bool CCSUsrMsg_BarTime::_internal_has_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_BarTime::has_time() const { - return _internal_has_time(); -} -inline void CCSUsrMsg_BarTime::clear_time() { - _impl_.time_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_BarTime::time() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_BarTime.time) - return _internal_time(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_BarTime::set_time(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.time_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_BarTime.time) -} -inline std::string* CCSUsrMsg_BarTime::mutable_time() { - std::string* _s = _internal_mutable_time(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_BarTime.time) - return _s; -} -inline const std::string& CCSUsrMsg_BarTime::_internal_time() const { - return _impl_.time_.Get(); -} -inline void CCSUsrMsg_BarTime::_internal_set_time(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.time_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_BarTime::_internal_mutable_time() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.time_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_BarTime::release_time() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_BarTime.time) - if (!_internal_has_time()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.time_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.time_.IsDefault()) { - _impl_.time_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_BarTime::set_allocated_time(std::string* time) { - if (time != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.time_.SetAllocated(time, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.time_.IsDefault()) { - _impl_.time_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_BarTime.time) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_AmmoDenied - -// optional int32 ammoidx = 1; -inline bool CCSUsrMsg_AmmoDenied::_internal_has_ammoidx() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_AmmoDenied::has_ammoidx() const { - return _internal_has_ammoidx(); -} -inline void CCSUsrMsg_AmmoDenied::clear_ammoidx() { - _impl_.ammoidx_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_AmmoDenied::_internal_ammoidx() const { - return _impl_.ammoidx_; -} -inline int32_t CCSUsrMsg_AmmoDenied::ammoidx() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_AmmoDenied.ammoidx) - return _internal_ammoidx(); -} -inline void CCSUsrMsg_AmmoDenied::_internal_set_ammoidx(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ammoidx_ = value; -} -inline void CCSUsrMsg_AmmoDenied::set_ammoidx(int32_t value) { - _internal_set_ammoidx(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_AmmoDenied.ammoidx) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_MarkAchievement - -// optional string achievement = 1; -inline bool CCSUsrMsg_MarkAchievement::_internal_has_achievement() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_MarkAchievement::has_achievement() const { - return _internal_has_achievement(); -} -inline void CCSUsrMsg_MarkAchievement::clear_achievement() { - _impl_.achievement_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_MarkAchievement::achievement() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_MarkAchievement.achievement) - return _internal_achievement(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_MarkAchievement::set_achievement(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.achievement_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_MarkAchievement.achievement) -} -inline std::string* CCSUsrMsg_MarkAchievement::mutable_achievement() { - std::string* _s = _internal_mutable_achievement(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_MarkAchievement.achievement) - return _s; -} -inline const std::string& CCSUsrMsg_MarkAchievement::_internal_achievement() const { - return _impl_.achievement_.Get(); -} -inline void CCSUsrMsg_MarkAchievement::_internal_set_achievement(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.achievement_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_MarkAchievement::_internal_mutable_achievement() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.achievement_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_MarkAchievement::release_achievement() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_MarkAchievement.achievement) - if (!_internal_has_achievement()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.achievement_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.achievement_.IsDefault()) { - _impl_.achievement_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_MarkAchievement::set_allocated_achievement(std::string* achievement) { - if (achievement != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.achievement_.SetAllocated(achievement, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.achievement_.IsDefault()) { - _impl_.achievement_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_MarkAchievement.achievement) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_MatchStatsUpdate - -// optional string update = 1; -inline bool CCSUsrMsg_MatchStatsUpdate::_internal_has_update() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_MatchStatsUpdate::has_update() const { - return _internal_has_update(); -} -inline void CCSUsrMsg_MatchStatsUpdate::clear_update() { - _impl_.update_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_MatchStatsUpdate::update() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_MatchStatsUpdate.update) - return _internal_update(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_MatchStatsUpdate::set_update(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.update_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_MatchStatsUpdate.update) -} -inline std::string* CCSUsrMsg_MatchStatsUpdate::mutable_update() { - std::string* _s = _internal_mutable_update(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_MatchStatsUpdate.update) - return _s; -} -inline const std::string& CCSUsrMsg_MatchStatsUpdate::_internal_update() const { - return _impl_.update_.Get(); -} -inline void CCSUsrMsg_MatchStatsUpdate::_internal_set_update(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.update_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_MatchStatsUpdate::_internal_mutable_update() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.update_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_MatchStatsUpdate::release_update() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_MatchStatsUpdate.update) - if (!_internal_has_update()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.update_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.update_.IsDefault()) { - _impl_.update_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_MatchStatsUpdate::set_allocated_update(std::string* update) { - if (update != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.update_.SetAllocated(update, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.update_.IsDefault()) { - _impl_.update_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_MatchStatsUpdate.update) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_ItemDrop - -// optional int64 itemid = 1; -inline bool CCSUsrMsg_ItemDrop::_internal_has_itemid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_ItemDrop::has_itemid() const { - return _internal_has_itemid(); -} -inline void CCSUsrMsg_ItemDrop::clear_itemid() { - _impl_.itemid_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int64_t CCSUsrMsg_ItemDrop::_internal_itemid() const { - return _impl_.itemid_; -} -inline int64_t CCSUsrMsg_ItemDrop::itemid() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ItemDrop.itemid) - return _internal_itemid(); -} -inline void CCSUsrMsg_ItemDrop::_internal_set_itemid(int64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.itemid_ = value; -} -inline void CCSUsrMsg_ItemDrop::set_itemid(int64_t value) { - _internal_set_itemid(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ItemDrop.itemid) -} - -// optional bool death = 2; -inline bool CCSUsrMsg_ItemDrop::_internal_has_death() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_ItemDrop::has_death() const { - return _internal_has_death(); -} -inline void CCSUsrMsg_ItemDrop::clear_death() { - _impl_.death_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CCSUsrMsg_ItemDrop::_internal_death() const { - return _impl_.death_; -} -inline bool CCSUsrMsg_ItemDrop::death() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ItemDrop.death) - return _internal_death(); -} -inline void CCSUsrMsg_ItemDrop::_internal_set_death(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.death_ = value; -} -inline void CCSUsrMsg_ItemDrop::set_death(bool value) { - _internal_set_death(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ItemDrop.death) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_RoundBackupFilenames - -// optional int32 count = 1; -inline bool CCSUsrMsg_RoundBackupFilenames::_internal_has_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundBackupFilenames::has_count() const { - return _internal_has_count(); -} -inline void CCSUsrMsg_RoundBackupFilenames::clear_count() { - _impl_.count_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_RoundBackupFilenames::_internal_count() const { - return _impl_.count_; -} -inline int32_t CCSUsrMsg_RoundBackupFilenames::count() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundBackupFilenames.count) - return _internal_count(); -} -inline void CCSUsrMsg_RoundBackupFilenames::_internal_set_count(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.count_ = value; -} -inline void CCSUsrMsg_RoundBackupFilenames::set_count(int32_t value) { - _internal_set_count(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundBackupFilenames.count) -} - -// optional int32 index = 2; -inline bool CCSUsrMsg_RoundBackupFilenames::_internal_has_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundBackupFilenames::has_index() const { - return _internal_has_index(); -} -inline void CCSUsrMsg_RoundBackupFilenames::clear_index() { - _impl_.index_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CCSUsrMsg_RoundBackupFilenames::_internal_index() const { - return _impl_.index_; -} -inline int32_t CCSUsrMsg_RoundBackupFilenames::index() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundBackupFilenames.index) - return _internal_index(); -} -inline void CCSUsrMsg_RoundBackupFilenames::_internal_set_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.index_ = value; -} -inline void CCSUsrMsg_RoundBackupFilenames::set_index(int32_t value) { - _internal_set_index(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundBackupFilenames.index) -} - -// optional string filename = 3; -inline bool CCSUsrMsg_RoundBackupFilenames::_internal_has_filename() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundBackupFilenames::has_filename() const { - return _internal_has_filename(); -} -inline void CCSUsrMsg_RoundBackupFilenames::clear_filename() { - _impl_.filename_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_RoundBackupFilenames::filename() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundBackupFilenames.filename) - return _internal_filename(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_RoundBackupFilenames::set_filename(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.filename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundBackupFilenames.filename) -} -inline std::string* CCSUsrMsg_RoundBackupFilenames::mutable_filename() { - std::string* _s = _internal_mutable_filename(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RoundBackupFilenames.filename) - return _s; -} -inline const std::string& CCSUsrMsg_RoundBackupFilenames::_internal_filename() const { - return _impl_.filename_.Get(); -} -inline void CCSUsrMsg_RoundBackupFilenames::_internal_set_filename(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.filename_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_RoundBackupFilenames::_internal_mutable_filename() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.filename_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_RoundBackupFilenames::release_filename() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_RoundBackupFilenames.filename) - if (!_internal_has_filename()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.filename_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.filename_.IsDefault()) { - _impl_.filename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_RoundBackupFilenames::set_allocated_filename(std::string* filename) { - if (filename != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.filename_.SetAllocated(filename, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.filename_.IsDefault()) { - _impl_.filename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_RoundBackupFilenames.filename) -} - -// optional string nicename = 4; -inline bool CCSUsrMsg_RoundBackupFilenames::_internal_has_nicename() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundBackupFilenames::has_nicename() const { - return _internal_has_nicename(); -} -inline void CCSUsrMsg_RoundBackupFilenames::clear_nicename() { - _impl_.nicename_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CCSUsrMsg_RoundBackupFilenames::nicename() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundBackupFilenames.nicename) - return _internal_nicename(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_RoundBackupFilenames::set_nicename(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.nicename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundBackupFilenames.nicename) -} -inline std::string* CCSUsrMsg_RoundBackupFilenames::mutable_nicename() { - std::string* _s = _internal_mutable_nicename(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RoundBackupFilenames.nicename) - return _s; -} -inline const std::string& CCSUsrMsg_RoundBackupFilenames::_internal_nicename() const { - return _impl_.nicename_.Get(); -} -inline void CCSUsrMsg_RoundBackupFilenames::_internal_set_nicename(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.nicename_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_RoundBackupFilenames::_internal_mutable_nicename() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.nicename_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_RoundBackupFilenames::release_nicename() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_RoundBackupFilenames.nicename) - if (!_internal_has_nicename()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.nicename_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.nicename_.IsDefault()) { - _impl_.nicename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_RoundBackupFilenames::set_allocated_nicename(std::string* nicename) { - if (nicename != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.nicename_.SetAllocated(nicename, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.nicename_.IsDefault()) { - _impl_.nicename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_RoundBackupFilenames.nicename) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_SSUI - -// optional bool show = 1; -inline bool CCSUsrMsg_SSUI::_internal_has_show() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_SSUI::has_show() const { - return _internal_has_show(); -} -inline void CCSUsrMsg_SSUI::clear_show() { - _impl_.show_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CCSUsrMsg_SSUI::_internal_show() const { - return _impl_.show_; -} -inline bool CCSUsrMsg_SSUI::show() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SSUI.show) - return _internal_show(); -} -inline void CCSUsrMsg_SSUI::_internal_set_show(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.show_ = value; -} -inline void CCSUsrMsg_SSUI::set_show(bool value) { - _internal_set_show(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SSUI.show) -} - -// optional float start_time = 2; -inline bool CCSUsrMsg_SSUI::_internal_has_start_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_SSUI::has_start_time() const { - return _internal_has_start_time(); -} -inline void CCSUsrMsg_SSUI::clear_start_time() { - _impl_.start_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CCSUsrMsg_SSUI::_internal_start_time() const { - return _impl_.start_time_; -} -inline float CCSUsrMsg_SSUI::start_time() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SSUI.start_time) - return _internal_start_time(); -} -inline void CCSUsrMsg_SSUI::_internal_set_start_time(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.start_time_ = value; -} -inline void CCSUsrMsg_SSUI::set_start_time(float value) { - _internal_set_start_time(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SSUI.start_time) -} - -// optional float end_time = 3; -inline bool CCSUsrMsg_SSUI::_internal_has_end_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_SSUI::has_end_time() const { - return _internal_has_end_time(); -} -inline void CCSUsrMsg_SSUI::clear_end_time() { - _impl_.end_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CCSUsrMsg_SSUI::_internal_end_time() const { - return _impl_.end_time_; -} -inline float CCSUsrMsg_SSUI::end_time() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SSUI.end_time) - return _internal_end_time(); -} -inline void CCSUsrMsg_SSUI::_internal_set_end_time(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.end_time_ = value; -} -inline void CCSUsrMsg_SSUI::set_end_time(float value) { - _internal_set_end_time(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SSUI.end_time) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_SurvivalStats_Fact - -// optional int32 type = 1; -inline bool CCSUsrMsg_SurvivalStats_Fact::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_SurvivalStats_Fact::has_type() const { - return _internal_has_type(); -} -inline void CCSUsrMsg_SurvivalStats_Fact::clear_type() { - _impl_.type_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_SurvivalStats_Fact::_internal_type() const { - return _impl_.type_; -} -inline int32_t CCSUsrMsg_SurvivalStats_Fact::type() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Fact.type) - return _internal_type(); -} -inline void CCSUsrMsg_SurvivalStats_Fact::_internal_set_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.type_ = value; -} -inline void CCSUsrMsg_SurvivalStats_Fact::set_type(int32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Fact.type) -} - -// optional int32 display = 2; -inline bool CCSUsrMsg_SurvivalStats_Fact::_internal_has_display() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_SurvivalStats_Fact::has_display() const { - return _internal_has_display(); -} -inline void CCSUsrMsg_SurvivalStats_Fact::clear_display() { - _impl_.display_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_SurvivalStats_Fact::_internal_display() const { - return _impl_.display_; -} -inline int32_t CCSUsrMsg_SurvivalStats_Fact::display() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Fact.display) - return _internal_display(); -} -inline void CCSUsrMsg_SurvivalStats_Fact::_internal_set_display(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.display_ = value; -} -inline void CCSUsrMsg_SurvivalStats_Fact::set_display(int32_t value) { - _internal_set_display(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Fact.display) -} - -// optional int32 value = 3; -inline bool CCSUsrMsg_SurvivalStats_Fact::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_SurvivalStats_Fact::has_value() const { - return _internal_has_value(); -} -inline void CCSUsrMsg_SurvivalStats_Fact::clear_value() { - _impl_.value_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_SurvivalStats_Fact::_internal_value() const { - return _impl_.value_; -} -inline int32_t CCSUsrMsg_SurvivalStats_Fact::value() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Fact.value) - return _internal_value(); -} -inline void CCSUsrMsg_SurvivalStats_Fact::_internal_set_value(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.value_ = value; -} -inline void CCSUsrMsg_SurvivalStats_Fact::set_value(int32_t value) { - _internal_set_value(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Fact.value) -} - -// optional float interestingness = 4; -inline bool CCSUsrMsg_SurvivalStats_Fact::_internal_has_interestingness() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_SurvivalStats_Fact::has_interestingness() const { - return _internal_has_interestingness(); -} -inline void CCSUsrMsg_SurvivalStats_Fact::clear_interestingness() { - _impl_.interestingness_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CCSUsrMsg_SurvivalStats_Fact::_internal_interestingness() const { - return _impl_.interestingness_; -} -inline float CCSUsrMsg_SurvivalStats_Fact::interestingness() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Fact.interestingness) - return _internal_interestingness(); -} -inline void CCSUsrMsg_SurvivalStats_Fact::_internal_set_interestingness(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.interestingness_ = value; -} -inline void CCSUsrMsg_SurvivalStats_Fact::set_interestingness(float value) { - _internal_set_interestingness(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Fact.interestingness) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_SurvivalStats_Placement - -// optional uint64 xuid = 1; -inline bool CCSUsrMsg_SurvivalStats_Placement::_internal_has_xuid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_SurvivalStats_Placement::has_xuid() const { - return _internal_has_xuid(); -} -inline void CCSUsrMsg_SurvivalStats_Placement::clear_xuid() { - _impl_.xuid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CCSUsrMsg_SurvivalStats_Placement::_internal_xuid() const { - return _impl_.xuid_; -} -inline uint64_t CCSUsrMsg_SurvivalStats_Placement::xuid() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Placement.xuid) - return _internal_xuid(); -} -inline void CCSUsrMsg_SurvivalStats_Placement::_internal_set_xuid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.xuid_ = value; -} -inline void CCSUsrMsg_SurvivalStats_Placement::set_xuid(uint64_t value) { - _internal_set_xuid(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Placement.xuid) -} - -// optional int32 teamnumber = 2; -inline bool CCSUsrMsg_SurvivalStats_Placement::_internal_has_teamnumber() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_SurvivalStats_Placement::has_teamnumber() const { - return _internal_has_teamnumber(); -} -inline void CCSUsrMsg_SurvivalStats_Placement::clear_teamnumber() { - _impl_.teamnumber_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_SurvivalStats_Placement::_internal_teamnumber() const { - return _impl_.teamnumber_; -} -inline int32_t CCSUsrMsg_SurvivalStats_Placement::teamnumber() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Placement.teamnumber) - return _internal_teamnumber(); -} -inline void CCSUsrMsg_SurvivalStats_Placement::_internal_set_teamnumber(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.teamnumber_ = value; -} -inline void CCSUsrMsg_SurvivalStats_Placement::set_teamnumber(int32_t value) { - _internal_set_teamnumber(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Placement.teamnumber) -} - -// optional int32 placement = 3; -inline bool CCSUsrMsg_SurvivalStats_Placement::_internal_has_placement() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_SurvivalStats_Placement::has_placement() const { - return _internal_has_placement(); -} -inline void CCSUsrMsg_SurvivalStats_Placement::clear_placement() { - _impl_.placement_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_SurvivalStats_Placement::_internal_placement() const { - return _impl_.placement_; -} -inline int32_t CCSUsrMsg_SurvivalStats_Placement::placement() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Placement.placement) - return _internal_placement(); -} -inline void CCSUsrMsg_SurvivalStats_Placement::_internal_set_placement(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.placement_ = value; -} -inline void CCSUsrMsg_SurvivalStats_Placement::set_placement(int32_t value) { - _internal_set_placement(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Placement.placement) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_SurvivalStats_Damage - -// optional uint64 xuid = 1; -inline bool CCSUsrMsg_SurvivalStats_Damage::_internal_has_xuid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_SurvivalStats_Damage::has_xuid() const { - return _internal_has_xuid(); -} -inline void CCSUsrMsg_SurvivalStats_Damage::clear_xuid() { - _impl_.xuid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CCSUsrMsg_SurvivalStats_Damage::_internal_xuid() const { - return _impl_.xuid_; -} -inline uint64_t CCSUsrMsg_SurvivalStats_Damage::xuid() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Damage.xuid) - return _internal_xuid(); -} -inline void CCSUsrMsg_SurvivalStats_Damage::_internal_set_xuid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.xuid_ = value; -} -inline void CCSUsrMsg_SurvivalStats_Damage::set_xuid(uint64_t value) { - _internal_set_xuid(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Damage.xuid) -} - -// optional int32 to = 2; -inline bool CCSUsrMsg_SurvivalStats_Damage::_internal_has_to() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_SurvivalStats_Damage::has_to() const { - return _internal_has_to(); -} -inline void CCSUsrMsg_SurvivalStats_Damage::clear_to() { - _impl_.to_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_SurvivalStats_Damage::_internal_to() const { - return _impl_.to_; -} -inline int32_t CCSUsrMsg_SurvivalStats_Damage::to() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Damage.to) - return _internal_to(); -} -inline void CCSUsrMsg_SurvivalStats_Damage::_internal_set_to(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.to_ = value; -} -inline void CCSUsrMsg_SurvivalStats_Damage::set_to(int32_t value) { - _internal_set_to(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Damage.to) -} - -// optional int32 to_hits = 3; -inline bool CCSUsrMsg_SurvivalStats_Damage::_internal_has_to_hits() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_SurvivalStats_Damage::has_to_hits() const { - return _internal_has_to_hits(); -} -inline void CCSUsrMsg_SurvivalStats_Damage::clear_to_hits() { - _impl_.to_hits_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_SurvivalStats_Damage::_internal_to_hits() const { - return _impl_.to_hits_; -} -inline int32_t CCSUsrMsg_SurvivalStats_Damage::to_hits() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Damage.to_hits) - return _internal_to_hits(); -} -inline void CCSUsrMsg_SurvivalStats_Damage::_internal_set_to_hits(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.to_hits_ = value; -} -inline void CCSUsrMsg_SurvivalStats_Damage::set_to_hits(int32_t value) { - _internal_set_to_hits(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Damage.to_hits) -} - -// optional int32 from = 4; -inline bool CCSUsrMsg_SurvivalStats_Damage::_internal_has_from() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_SurvivalStats_Damage::has_from() const { - return _internal_has_from(); -} -inline void CCSUsrMsg_SurvivalStats_Damage::clear_from() { - _impl_.from_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CCSUsrMsg_SurvivalStats_Damage::_internal_from() const { - return _impl_.from_; -} -inline int32_t CCSUsrMsg_SurvivalStats_Damage::from() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Damage.from) - return _internal_from(); -} -inline void CCSUsrMsg_SurvivalStats_Damage::_internal_set_from(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.from_ = value; -} -inline void CCSUsrMsg_SurvivalStats_Damage::set_from(int32_t value) { - _internal_set_from(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Damage.from) -} - -// optional int32 from_hits = 5; -inline bool CCSUsrMsg_SurvivalStats_Damage::_internal_has_from_hits() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CCSUsrMsg_SurvivalStats_Damage::has_from_hits() const { - return _internal_has_from_hits(); -} -inline void CCSUsrMsg_SurvivalStats_Damage::clear_from_hits() { - _impl_.from_hits_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CCSUsrMsg_SurvivalStats_Damage::_internal_from_hits() const { - return _impl_.from_hits_; -} -inline int32_t CCSUsrMsg_SurvivalStats_Damage::from_hits() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.Damage.from_hits) - return _internal_from_hits(); -} -inline void CCSUsrMsg_SurvivalStats_Damage::_internal_set_from_hits(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.from_hits_ = value; -} -inline void CCSUsrMsg_SurvivalStats_Damage::set_from_hits(int32_t value) { - _internal_set_from_hits(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.Damage.from_hits) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_SurvivalStats - -// optional uint64 xuid = 1; -inline bool CCSUsrMsg_SurvivalStats::_internal_has_xuid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_SurvivalStats::has_xuid() const { - return _internal_has_xuid(); -} -inline void CCSUsrMsg_SurvivalStats::clear_xuid() { - _impl_.xuid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CCSUsrMsg_SurvivalStats::_internal_xuid() const { - return _impl_.xuid_; -} -inline uint64_t CCSUsrMsg_SurvivalStats::xuid() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.xuid) - return _internal_xuid(); -} -inline void CCSUsrMsg_SurvivalStats::_internal_set_xuid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.xuid_ = value; -} -inline void CCSUsrMsg_SurvivalStats::set_xuid(uint64_t value) { - _internal_set_xuid(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.xuid) -} - -// repeated .CCSUsrMsg_SurvivalStats.Fact facts = 2; -inline int CCSUsrMsg_SurvivalStats::_internal_facts_size() const { - return _impl_.facts_.size(); -} -inline int CCSUsrMsg_SurvivalStats::facts_size() const { - return _internal_facts_size(); -} -inline void CCSUsrMsg_SurvivalStats::clear_facts() { - _impl_.facts_.Clear(); -} -inline ::CCSUsrMsg_SurvivalStats_Fact* CCSUsrMsg_SurvivalStats::mutable_facts(int index) { - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_SurvivalStats.facts) - return _impl_.facts_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Fact >* -CCSUsrMsg_SurvivalStats::mutable_facts() { - // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_SurvivalStats.facts) - return &_impl_.facts_; -} -inline const ::CCSUsrMsg_SurvivalStats_Fact& CCSUsrMsg_SurvivalStats::_internal_facts(int index) const { - return _impl_.facts_.Get(index); -} -inline const ::CCSUsrMsg_SurvivalStats_Fact& CCSUsrMsg_SurvivalStats::facts(int index) const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.facts) - return _internal_facts(index); -} -inline ::CCSUsrMsg_SurvivalStats_Fact* CCSUsrMsg_SurvivalStats::_internal_add_facts() { - return _impl_.facts_.Add(); -} -inline ::CCSUsrMsg_SurvivalStats_Fact* CCSUsrMsg_SurvivalStats::add_facts() { - ::CCSUsrMsg_SurvivalStats_Fact* _add = _internal_add_facts(); - // @@protoc_insertion_point(field_add:CCSUsrMsg_SurvivalStats.facts) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Fact >& -CCSUsrMsg_SurvivalStats::facts() const { - // @@protoc_insertion_point(field_list:CCSUsrMsg_SurvivalStats.facts) - return _impl_.facts_; -} - -// repeated .CCSUsrMsg_SurvivalStats.Placement users = 3; -inline int CCSUsrMsg_SurvivalStats::_internal_users_size() const { - return _impl_.users_.size(); -} -inline int CCSUsrMsg_SurvivalStats::users_size() const { - return _internal_users_size(); -} -inline void CCSUsrMsg_SurvivalStats::clear_users() { - _impl_.users_.Clear(); -} -inline ::CCSUsrMsg_SurvivalStats_Placement* CCSUsrMsg_SurvivalStats::mutable_users(int index) { - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_SurvivalStats.users) - return _impl_.users_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Placement >* -CCSUsrMsg_SurvivalStats::mutable_users() { - // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_SurvivalStats.users) - return &_impl_.users_; -} -inline const ::CCSUsrMsg_SurvivalStats_Placement& CCSUsrMsg_SurvivalStats::_internal_users(int index) const { - return _impl_.users_.Get(index); -} -inline const ::CCSUsrMsg_SurvivalStats_Placement& CCSUsrMsg_SurvivalStats::users(int index) const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.users) - return _internal_users(index); -} -inline ::CCSUsrMsg_SurvivalStats_Placement* CCSUsrMsg_SurvivalStats::_internal_add_users() { - return _impl_.users_.Add(); -} -inline ::CCSUsrMsg_SurvivalStats_Placement* CCSUsrMsg_SurvivalStats::add_users() { - ::CCSUsrMsg_SurvivalStats_Placement* _add = _internal_add_users(); - // @@protoc_insertion_point(field_add:CCSUsrMsg_SurvivalStats.users) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Placement >& -CCSUsrMsg_SurvivalStats::users() const { - // @@protoc_insertion_point(field_list:CCSUsrMsg_SurvivalStats.users) - return _impl_.users_; -} - -// repeated .CCSUsrMsg_SurvivalStats.Damage damages = 5; -inline int CCSUsrMsg_SurvivalStats::_internal_damages_size() const { - return _impl_.damages_.size(); -} -inline int CCSUsrMsg_SurvivalStats::damages_size() const { - return _internal_damages_size(); -} -inline void CCSUsrMsg_SurvivalStats::clear_damages() { - _impl_.damages_.Clear(); -} -inline ::CCSUsrMsg_SurvivalStats_Damage* CCSUsrMsg_SurvivalStats::mutable_damages(int index) { - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_SurvivalStats.damages) - return _impl_.damages_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Damage >* -CCSUsrMsg_SurvivalStats::mutable_damages() { - // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_SurvivalStats.damages) - return &_impl_.damages_; -} -inline const ::CCSUsrMsg_SurvivalStats_Damage& CCSUsrMsg_SurvivalStats::_internal_damages(int index) const { - return _impl_.damages_.Get(index); -} -inline const ::CCSUsrMsg_SurvivalStats_Damage& CCSUsrMsg_SurvivalStats::damages(int index) const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.damages) - return _internal_damages(index); -} -inline ::CCSUsrMsg_SurvivalStats_Damage* CCSUsrMsg_SurvivalStats::_internal_add_damages() { - return _impl_.damages_.Add(); -} -inline ::CCSUsrMsg_SurvivalStats_Damage* CCSUsrMsg_SurvivalStats::add_damages() { - ::CCSUsrMsg_SurvivalStats_Damage* _add = _internal_add_damages(); - // @@protoc_insertion_point(field_add:CCSUsrMsg_SurvivalStats.damages) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SurvivalStats_Damage >& -CCSUsrMsg_SurvivalStats::damages() const { - // @@protoc_insertion_point(field_list:CCSUsrMsg_SurvivalStats.damages) - return _impl_.damages_; -} - -// optional int32 ticknumber = 4; -inline bool CCSUsrMsg_SurvivalStats::_internal_has_ticknumber() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_SurvivalStats::has_ticknumber() const { - return _internal_has_ticknumber(); -} -inline void CCSUsrMsg_SurvivalStats::clear_ticknumber() { - _impl_.ticknumber_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_SurvivalStats::_internal_ticknumber() const { - return _impl_.ticknumber_; -} -inline int32_t CCSUsrMsg_SurvivalStats::ticknumber() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SurvivalStats.ticknumber) - return _internal_ticknumber(); -} -inline void CCSUsrMsg_SurvivalStats::_internal_set_ticknumber(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.ticknumber_ = value; -} -inline void CCSUsrMsg_SurvivalStats::set_ticknumber(int32_t value) { - _internal_set_ticknumber(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SurvivalStats.ticknumber) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_EndOfMatchAllPlayersData_Accolade - -// optional int32 eaccolade = 1; -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_internal_has_eaccolade() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::has_eaccolade() const { - return _internal_has_eaccolade(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::clear_eaccolade() { - _impl_.eaccolade_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_internal_eaccolade() const { - return _impl_.eaccolade_; -} -inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::eaccolade() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade.eaccolade) - return _internal_eaccolade(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_internal_set_eaccolade(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.eaccolade_ = value; -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::set_eaccolade(int32_t value) { - _internal_set_eaccolade(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade.eaccolade) -} - -// optional float value = 2; -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::has_value() const { - return _internal_has_value(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::clear_value() { - _impl_.value_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_internal_value() const { - return _impl_.value_; -} -inline float CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::value() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade.value) - return _internal_value(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_internal_set_value(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.value_ = value; -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::set_value(float value) { - _internal_set_value(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade.value) -} - -// optional int32 position = 3; -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_internal_has_position() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::has_position() const { - return _internal_has_position(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::clear_position() { - _impl_.position_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_internal_position() const { - return _impl_.position_; -} -inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::position() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade.position) - return _internal_position(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::_internal_set_position(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.position_ = value; -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_Accolade::set_position(int32_t value) { - _internal_set_position(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.Accolade.position) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData - -// optional int32 slot = 1 [default = -1]; -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_has_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::has_slot() const { - return _internal_has_slot(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::clear_slot() { - _impl_.slot_ = -1; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_slot() const { - return _impl_.slot_; -} -inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::slot() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.slot) - return _internal_slot(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_set_slot(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.slot_ = value; -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::set_slot(int32_t value) { - _internal_set_slot(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.slot) -} - -// optional uint64 xuid = 2; -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_has_xuid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::has_xuid() const { - return _internal_has_xuid(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::clear_xuid() { - _impl_.xuid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_xuid() const { - return _impl_.xuid_; -} -inline uint64_t CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::xuid() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.xuid) - return _internal_xuid(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_set_xuid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.xuid_ = value; -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::set_xuid(uint64_t value) { - _internal_set_xuid(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.xuid) -} - -// optional string name = 3; -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::has_name() const { - return _internal_has_name(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::name() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.name) -} -inline std::string* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.name) - return _s; -} -inline const std::string& CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::release_name() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.name) -} - -// optional int32 teamnumber = 4; -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_has_teamnumber() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::has_teamnumber() const { - return _internal_has_teamnumber(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::clear_teamnumber() { - _impl_.teamnumber_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_teamnumber() const { - return _impl_.teamnumber_; -} -inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::teamnumber() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.teamnumber) - return _internal_teamnumber(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_set_teamnumber(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.teamnumber_ = value; -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::set_teamnumber(int32_t value) { - _internal_set_teamnumber(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.teamnumber) -} - -// optional .CCSUsrMsg_EndOfMatchAllPlayersData.Accolade nomination = 5; -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_has_nomination() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.nomination_ != nullptr); - return value; -} -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::has_nomination() const { - return _internal_has_nomination(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::clear_nomination() { - if (_impl_.nomination_ != nullptr) _impl_.nomination_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_nomination() const { - const ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* p = _impl_.nomination_; - return p != nullptr ? *p : reinterpret_cast( - ::_CCSUsrMsg_EndOfMatchAllPlayersData_Accolade_default_instance_); -} -inline const ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade& CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::nomination() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.nomination) - return _internal_nomination(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::unsafe_arena_set_allocated_nomination( - ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* nomination) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.nomination_); - } - _impl_.nomination_ = nomination; - if (nomination) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.nomination) -} -inline ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::release_nomination() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* temp = _impl_.nomination_; - _impl_.nomination_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::unsafe_arena_release_nomination() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.nomination) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* temp = _impl_.nomination_; - _impl_.nomination_ = nullptr; - return temp; -} -inline ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_mutable_nomination() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.nomination_ == nullptr) { - auto* p = CreateMaybeMessage<::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade>(GetArenaForAllocation()); - _impl_.nomination_ = p; - } - return _impl_.nomination_; -} -inline ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::mutable_nomination() { - ::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* _msg = _internal_mutable_nomination(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.nomination) - return _msg; -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::set_allocated_nomination(::CCSUsrMsg_EndOfMatchAllPlayersData_Accolade* nomination) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.nomination_; - } - if (nomination) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(nomination); - if (message_arena != submessage_arena) { - nomination = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, nomination, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.nomination_ = nomination; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.nomination) -} - -// repeated .CEconItemPreviewDataBlock items = 6; -inline int CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_items_size() const { - return _impl_.items_.size(); -} -inline int CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::items_size() const { - return _internal_items_size(); -} -inline ::CEconItemPreviewDataBlock* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::mutable_items(int index) { - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.items) - return _impl_.items_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock >* -CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::mutable_items() { - // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.items) - return &_impl_.items_; -} -inline const ::CEconItemPreviewDataBlock& CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_items(int index) const { - return _impl_.items_.Get(index); -} -inline const ::CEconItemPreviewDataBlock& CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::items(int index) const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.items) - return _internal_items(index); -} -inline ::CEconItemPreviewDataBlock* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_add_items() { - return _impl_.items_.Add(); -} -inline ::CEconItemPreviewDataBlock* CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::add_items() { - ::CEconItemPreviewDataBlock* _add = _internal_add_items(); - // @@protoc_insertion_point(field_add:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.items) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CEconItemPreviewDataBlock >& -CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::items() const { - // @@protoc_insertion_point(field_list:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.items) - return _impl_.items_; -} - -// optional int32 playercolor = 7; -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_has_playercolor() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::has_playercolor() const { - return _internal_has_playercolor(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::clear_playercolor() { - _impl_.playercolor_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_playercolor() const { - return _impl_.playercolor_; -} -inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::playercolor() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.playercolor) - return _internal_playercolor(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_set_playercolor(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.playercolor_ = value; -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::set_playercolor(int32_t value) { - _internal_set_playercolor(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.playercolor) -} - -// optional bool isbot = 8; -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_has_isbot() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::has_isbot() const { - return _internal_has_isbot(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::clear_isbot() { - _impl_.isbot_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_isbot() const { - return _impl_.isbot_; -} -inline bool CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::isbot() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.isbot) - return _internal_isbot(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::_internal_set_isbot(bool value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.isbot_ = value; -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData::set_isbot(bool value) { - _internal_set_isbot(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData.isbot) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_EndOfMatchAllPlayersData - -// repeated .CCSUsrMsg_EndOfMatchAllPlayersData.PlayerData allplayerdata = 1; -inline int CCSUsrMsg_EndOfMatchAllPlayersData::_internal_allplayerdata_size() const { - return _impl_.allplayerdata_.size(); -} -inline int CCSUsrMsg_EndOfMatchAllPlayersData::allplayerdata_size() const { - return _internal_allplayerdata_size(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData::clear_allplayerdata() { - _impl_.allplayerdata_.Clear(); -} -inline ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* CCSUsrMsg_EndOfMatchAllPlayersData::mutable_allplayerdata(int index) { - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_EndOfMatchAllPlayersData.allplayerdata) - return _impl_.allplayerdata_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData >* -CCSUsrMsg_EndOfMatchAllPlayersData::mutable_allplayerdata() { - // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_EndOfMatchAllPlayersData.allplayerdata) - return &_impl_.allplayerdata_; -} -inline const ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& CCSUsrMsg_EndOfMatchAllPlayersData::_internal_allplayerdata(int index) const { - return _impl_.allplayerdata_.Get(index); -} -inline const ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData& CCSUsrMsg_EndOfMatchAllPlayersData::allplayerdata(int index) const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.allplayerdata) - return _internal_allplayerdata(index); -} -inline ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* CCSUsrMsg_EndOfMatchAllPlayersData::_internal_add_allplayerdata() { - return _impl_.allplayerdata_.Add(); -} -inline ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* CCSUsrMsg_EndOfMatchAllPlayersData::add_allplayerdata() { - ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData* _add = _internal_add_allplayerdata(); - // @@protoc_insertion_point(field_add:CCSUsrMsg_EndOfMatchAllPlayersData.allplayerdata) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_EndOfMatchAllPlayersData_PlayerData >& -CCSUsrMsg_EndOfMatchAllPlayersData::allplayerdata() const { - // @@protoc_insertion_point(field_list:CCSUsrMsg_EndOfMatchAllPlayersData.allplayerdata) - return _impl_.allplayerdata_; -} - -// optional int32 scene = 2; -inline bool CCSUsrMsg_EndOfMatchAllPlayersData::_internal_has_scene() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_EndOfMatchAllPlayersData::has_scene() const { - return _internal_has_scene(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData::clear_scene() { - _impl_.scene_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData::_internal_scene() const { - return _impl_.scene_; -} -inline int32_t CCSUsrMsg_EndOfMatchAllPlayersData::scene() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_EndOfMatchAllPlayersData.scene) - return _internal_scene(); -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData::_internal_set_scene(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.scene_ = value; -} -inline void CCSUsrMsg_EndOfMatchAllPlayersData::set_scene(int32_t value) { - _internal_set_scene(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_EndOfMatchAllPlayersData.scene) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_RoundEndReportData_RerEvent_Victim - -// optional int32 team_number = 1; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_has_team_number() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::has_team_number() const { - return _internal_has_team_number(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::clear_team_number() { - _impl_.team_number_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_team_number() const { - return _impl_.team_number_; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Victim::team_number() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.team_number) - return _internal_team_number(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_set_team_number(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.team_number_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::set_team_number(int32_t value) { - _internal_set_team_number(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.team_number) -} - -// optional int32 playerslot = 2 [default = -1]; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_has_playerslot() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::has_playerslot() const { - return _internal_has_playerslot(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::clear_playerslot() { - _impl_.playerslot_ = -1; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_playerslot() const { - return _impl_.playerslot_; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Victim::playerslot() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.playerslot) - return _internal_playerslot(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_set_playerslot(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.playerslot_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::set_playerslot(int32_t value) { - _internal_set_playerslot(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.playerslot) -} - -// optional uint64 xuid = 3; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_has_xuid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::has_xuid() const { - return _internal_has_xuid(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::clear_xuid() { - _impl_.xuid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_xuid() const { - return _impl_.xuid_; -} -inline uint64_t CCSUsrMsg_RoundEndReportData_RerEvent_Victim::xuid() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.xuid) - return _internal_xuid(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_set_xuid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.xuid_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::set_xuid(uint64_t value) { - _internal_set_xuid(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.xuid) -} - -// optional int32 color = 4; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_has_color() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::has_color() const { - return _internal_has_color(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::clear_color() { - _impl_.color_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_color() const { - return _impl_.color_; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Victim::color() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.color) - return _internal_color(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_set_color(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.color_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::set_color(int32_t value) { - _internal_set_color(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.color) -} - -// optional bool is_bot = 5; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_has_is_bot() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::has_is_bot() const { - return _internal_has_is_bot(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::clear_is_bot() { - _impl_.is_bot_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_is_bot() const { - return _impl_.is_bot_; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::is_bot() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.is_bot) - return _internal_is_bot(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_set_is_bot(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.is_bot_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::set_is_bot(bool value) { - _internal_set_is_bot(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.is_bot) -} - -// optional bool is_dead = 6; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_has_is_dead() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::has_is_dead() const { - return _internal_has_is_dead(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::clear_is_dead() { - _impl_.is_dead_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_is_dead() const { - return _impl_.is_dead_; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Victim::is_dead() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.is_dead) - return _internal_is_dead(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::_internal_set_is_dead(bool value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.is_dead_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Victim::set_is_dead(bool value) { - _internal_set_is_dead(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Victim.is_dead) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_RoundEndReportData_RerEvent_Objective - -// optional int32 type = 1; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Objective::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Objective::has_type() const { - return _internal_has_type(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::clear_type() { - _impl_.type_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Objective::_internal_type() const { - return _impl_.type_; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Objective::type() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Objective.type) - return _internal_type(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::_internal_set_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.type_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Objective::set_type(int32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Objective.type) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_RoundEndReportData_RerEvent_Damage - -// optional int32 other_playerslot = 1 [default = -1]; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_has_other_playerslot() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::has_other_playerslot() const { - return _internal_has_other_playerslot(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::clear_other_playerslot() { - _impl_.other_playerslot_ = -1; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_other_playerslot() const { - return _impl_.other_playerslot_; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::other_playerslot() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.other_playerslot) - return _internal_other_playerslot(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_set_other_playerslot(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.other_playerslot_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::set_other_playerslot(int32_t value) { - _internal_set_other_playerslot(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.other_playerslot) -} - -// optional uint64 other_xuid = 2; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_has_other_xuid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::has_other_xuid() const { - return _internal_has_other_xuid(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::clear_other_xuid() { - _impl_.other_xuid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_other_xuid() const { - return _impl_.other_xuid_; -} -inline uint64_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::other_xuid() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.other_xuid) - return _internal_other_xuid(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_set_other_xuid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.other_xuid_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::set_other_xuid(uint64_t value) { - _internal_set_other_xuid(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.other_xuid) -} - -// optional int32 health_removed = 3; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_has_health_removed() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::has_health_removed() const { - return _internal_has_health_removed(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::clear_health_removed() { - _impl_.health_removed_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_health_removed() const { - return _impl_.health_removed_; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::health_removed() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.health_removed) - return _internal_health_removed(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_set_health_removed(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.health_removed_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::set_health_removed(int32_t value) { - _internal_set_health_removed(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.health_removed) -} - -// optional int32 num_hits = 4; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_has_num_hits() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::has_num_hits() const { - return _internal_has_num_hits(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::clear_num_hits() { - _impl_.num_hits_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_num_hits() const { - return _impl_.num_hits_; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::num_hits() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.num_hits) - return _internal_num_hits(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_set_num_hits(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.num_hits_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::set_num_hits(int32_t value) { - _internal_set_num_hits(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.num_hits) -} - -// optional int32 return_health_removed = 5; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_has_return_health_removed() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::has_return_health_removed() const { - return _internal_has_return_health_removed(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::clear_return_health_removed() { - _impl_.return_health_removed_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_return_health_removed() const { - return _impl_.return_health_removed_; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::return_health_removed() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.return_health_removed) - return _internal_return_health_removed(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_set_return_health_removed(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.return_health_removed_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::set_return_health_removed(int32_t value) { - _internal_set_return_health_removed(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.return_health_removed) -} - -// optional int32 return_num_hits = 6; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_has_return_num_hits() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent_Damage::has_return_num_hits() const { - return _internal_has_return_num_hits(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::clear_return_num_hits() { - _impl_.return_num_hits_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_return_num_hits() const { - return _impl_.return_num_hits_; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent_Damage::return_num_hits() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.return_num_hits) - return _internal_return_num_hits(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::_internal_set_return_num_hits(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.return_num_hits_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent_Damage::set_return_num_hits(int32_t value) { - _internal_set_return_num_hits(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.Damage.return_num_hits) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_RoundEndReportData_RerEvent - -// optional float timestamp = 1; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent::_internal_has_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent::has_timestamp() const { - return _internal_has_timestamp(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::clear_timestamp() { - _impl_.timestamp_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CCSUsrMsg_RoundEndReportData_RerEvent::_internal_timestamp() const { - return _impl_.timestamp_; -} -inline float CCSUsrMsg_RoundEndReportData_RerEvent::timestamp() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.timestamp) - return _internal_timestamp(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::_internal_set_timestamp(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.timestamp_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::set_timestamp(float value) { - _internal_set_timestamp(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.timestamp) -} - -// optional int32 terrorist_odds = 2; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent::_internal_has_terrorist_odds() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent::has_terrorist_odds() const { - return _internal_has_terrorist_odds(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::clear_terrorist_odds() { - _impl_.terrorist_odds_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent::_internal_terrorist_odds() const { - return _impl_.terrorist_odds_; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent::terrorist_odds() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.terrorist_odds) - return _internal_terrorist_odds(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::_internal_set_terrorist_odds(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.terrorist_odds_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::set_terrorist_odds(int32_t value) { - _internal_set_terrorist_odds(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.terrorist_odds) -} - -// optional int32 ct_alive = 3; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent::_internal_has_ct_alive() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent::has_ct_alive() const { - return _internal_has_ct_alive(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::clear_ct_alive() { - _impl_.ct_alive_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent::_internal_ct_alive() const { - return _impl_.ct_alive_; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent::ct_alive() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.ct_alive) - return _internal_ct_alive(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::_internal_set_ct_alive(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.ct_alive_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::set_ct_alive(int32_t value) { - _internal_set_ct_alive(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.ct_alive) -} - -// optional int32 t_alive = 4; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent::_internal_has_t_alive() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent::has_t_alive() const { - return _internal_has_t_alive(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::clear_t_alive() { - _impl_.t_alive_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent::_internal_t_alive() const { - return _impl_.t_alive_; -} -inline int32_t CCSUsrMsg_RoundEndReportData_RerEvent::t_alive() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.t_alive) - return _internal_t_alive(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::_internal_set_t_alive(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.t_alive_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::set_t_alive(int32_t value) { - _internal_set_t_alive(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.RerEvent.t_alive) -} - -// optional .CCSUsrMsg_RoundEndReportData.RerEvent.Victim victim_data = 5; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent::_internal_has_victim_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.victim_data_ != nullptr); - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent::has_victim_data() const { - return _internal_has_victim_data(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::clear_victim_data() { - if (_impl_.victim_data_ != nullptr) _impl_.victim_data_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim& CCSUsrMsg_RoundEndReportData_RerEvent::_internal_victim_data() const { - const ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* p = _impl_.victim_data_; - return p != nullptr ? *p : reinterpret_cast( - ::_CCSUsrMsg_RoundEndReportData_RerEvent_Victim_default_instance_); -} -inline const ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim& CCSUsrMsg_RoundEndReportData_RerEvent::victim_data() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.victim_data) - return _internal_victim_data(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::unsafe_arena_set_allocated_victim_data( - ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* victim_data) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.victim_data_); - } - _impl_.victim_data_ = victim_data; - if (victim_data) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_RoundEndReportData.RerEvent.victim_data) -} -inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* CCSUsrMsg_RoundEndReportData_RerEvent::release_victim_data() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* temp = _impl_.victim_data_; - _impl_.victim_data_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* CCSUsrMsg_RoundEndReportData_RerEvent::unsafe_arena_release_victim_data() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_RoundEndReportData.RerEvent.victim_data) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* temp = _impl_.victim_data_; - _impl_.victim_data_ = nullptr; - return temp; -} -inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* CCSUsrMsg_RoundEndReportData_RerEvent::_internal_mutable_victim_data() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.victim_data_ == nullptr) { - auto* p = CreateMaybeMessage<::CCSUsrMsg_RoundEndReportData_RerEvent_Victim>(GetArenaForAllocation()); - _impl_.victim_data_ = p; - } - return _impl_.victim_data_; -} -inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* CCSUsrMsg_RoundEndReportData_RerEvent::mutable_victim_data() { - ::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* _msg = _internal_mutable_victim_data(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RoundEndReportData.RerEvent.victim_data) - return _msg; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::set_allocated_victim_data(::CCSUsrMsg_RoundEndReportData_RerEvent_Victim* victim_data) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.victim_data_; - } - if (victim_data) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(victim_data); - if (message_arena != submessage_arena) { - victim_data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, victim_data, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.victim_data_ = victim_data; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_RoundEndReportData.RerEvent.victim_data) -} - -// optional .CCSUsrMsg_RoundEndReportData.RerEvent.Objective objective_data = 6; -inline bool CCSUsrMsg_RoundEndReportData_RerEvent::_internal_has_objective_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.objective_data_ != nullptr); - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_RerEvent::has_objective_data() const { - return _internal_has_objective_data(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::clear_objective_data() { - if (_impl_.objective_data_ != nullptr) _impl_.objective_data_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective& CCSUsrMsg_RoundEndReportData_RerEvent::_internal_objective_data() const { - const ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* p = _impl_.objective_data_; - return p != nullptr ? *p : reinterpret_cast( - ::_CCSUsrMsg_RoundEndReportData_RerEvent_Objective_default_instance_); -} -inline const ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective& CCSUsrMsg_RoundEndReportData_RerEvent::objective_data() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.objective_data) - return _internal_objective_data(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::unsafe_arena_set_allocated_objective_data( - ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* objective_data) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.objective_data_); - } - _impl_.objective_data_ = objective_data; - if (objective_data) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_RoundEndReportData.RerEvent.objective_data) -} -inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* CCSUsrMsg_RoundEndReportData_RerEvent::release_objective_data() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* temp = _impl_.objective_data_; - _impl_.objective_data_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* CCSUsrMsg_RoundEndReportData_RerEvent::unsafe_arena_release_objective_data() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_RoundEndReportData.RerEvent.objective_data) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* temp = _impl_.objective_data_; - _impl_.objective_data_ = nullptr; - return temp; -} -inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* CCSUsrMsg_RoundEndReportData_RerEvent::_internal_mutable_objective_data() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.objective_data_ == nullptr) { - auto* p = CreateMaybeMessage<::CCSUsrMsg_RoundEndReportData_RerEvent_Objective>(GetArenaForAllocation()); - _impl_.objective_data_ = p; - } - return _impl_.objective_data_; -} -inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* CCSUsrMsg_RoundEndReportData_RerEvent::mutable_objective_data() { - ::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* _msg = _internal_mutable_objective_data(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RoundEndReportData.RerEvent.objective_data) - return _msg; -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::set_allocated_objective_data(::CCSUsrMsg_RoundEndReportData_RerEvent_Objective* objective_data) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.objective_data_; - } - if (objective_data) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(objective_data); - if (message_arena != submessage_arena) { - objective_data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, objective_data, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.objective_data_ = objective_data; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_RoundEndReportData.RerEvent.objective_data) -} - -// repeated .CCSUsrMsg_RoundEndReportData.RerEvent.Damage all_damage_data = 7; -inline int CCSUsrMsg_RoundEndReportData_RerEvent::_internal_all_damage_data_size() const { - return _impl_.all_damage_data_.size(); -} -inline int CCSUsrMsg_RoundEndReportData_RerEvent::all_damage_data_size() const { - return _internal_all_damage_data_size(); -} -inline void CCSUsrMsg_RoundEndReportData_RerEvent::clear_all_damage_data() { - _impl_.all_damage_data_.Clear(); -} -inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage* CCSUsrMsg_RoundEndReportData_RerEvent::mutable_all_damage_data(int index) { - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RoundEndReportData.RerEvent.all_damage_data) - return _impl_.all_damage_data_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage >* -CCSUsrMsg_RoundEndReportData_RerEvent::mutable_all_damage_data() { - // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_RoundEndReportData.RerEvent.all_damage_data) - return &_impl_.all_damage_data_; -} -inline const ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage& CCSUsrMsg_RoundEndReportData_RerEvent::_internal_all_damage_data(int index) const { - return _impl_.all_damage_data_.Get(index); -} -inline const ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage& CCSUsrMsg_RoundEndReportData_RerEvent::all_damage_data(int index) const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.RerEvent.all_damage_data) - return _internal_all_damage_data(index); -} -inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage* CCSUsrMsg_RoundEndReportData_RerEvent::_internal_add_all_damage_data() { - return _impl_.all_damage_data_.Add(); -} -inline ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage* CCSUsrMsg_RoundEndReportData_RerEvent::add_all_damage_data() { - ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage* _add = _internal_add_all_damage_data(); - // @@protoc_insertion_point(field_add:CCSUsrMsg_RoundEndReportData.RerEvent.all_damage_data) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent_Damage >& -CCSUsrMsg_RoundEndReportData_RerEvent::all_damage_data() const { - // @@protoc_insertion_point(field_list:CCSUsrMsg_RoundEndReportData.RerEvent.all_damage_data) - return _impl_.all_damage_data_; -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_RoundEndReportData_InitialConditions - -// optional int32 ct_equip_value = 1; -inline bool CCSUsrMsg_RoundEndReportData_InitialConditions::_internal_has_ct_equip_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_InitialConditions::has_ct_equip_value() const { - return _internal_has_ct_equip_value(); -} -inline void CCSUsrMsg_RoundEndReportData_InitialConditions::clear_ct_equip_value() { - _impl_.ct_equip_value_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_RoundEndReportData_InitialConditions::_internal_ct_equip_value() const { - return _impl_.ct_equip_value_; -} -inline int32_t CCSUsrMsg_RoundEndReportData_InitialConditions::ct_equip_value() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.InitialConditions.ct_equip_value) - return _internal_ct_equip_value(); -} -inline void CCSUsrMsg_RoundEndReportData_InitialConditions::_internal_set_ct_equip_value(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ct_equip_value_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_InitialConditions::set_ct_equip_value(int32_t value) { - _internal_set_ct_equip_value(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.InitialConditions.ct_equip_value) -} - -// optional int32 t_equip_value = 2; -inline bool CCSUsrMsg_RoundEndReportData_InitialConditions::_internal_has_t_equip_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_InitialConditions::has_t_equip_value() const { - return _internal_has_t_equip_value(); -} -inline void CCSUsrMsg_RoundEndReportData_InitialConditions::clear_t_equip_value() { - _impl_.t_equip_value_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_RoundEndReportData_InitialConditions::_internal_t_equip_value() const { - return _impl_.t_equip_value_; -} -inline int32_t CCSUsrMsg_RoundEndReportData_InitialConditions::t_equip_value() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.InitialConditions.t_equip_value) - return _internal_t_equip_value(); -} -inline void CCSUsrMsg_RoundEndReportData_InitialConditions::_internal_set_t_equip_value(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.t_equip_value_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_InitialConditions::set_t_equip_value(int32_t value) { - _internal_set_t_equip_value(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.InitialConditions.t_equip_value) -} - -// optional int32 terrorist_odds = 3; -inline bool CCSUsrMsg_RoundEndReportData_InitialConditions::_internal_has_terrorist_odds() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_RoundEndReportData_InitialConditions::has_terrorist_odds() const { - return _internal_has_terrorist_odds(); -} -inline void CCSUsrMsg_RoundEndReportData_InitialConditions::clear_terrorist_odds() { - _impl_.terrorist_odds_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_RoundEndReportData_InitialConditions::_internal_terrorist_odds() const { - return _impl_.terrorist_odds_; -} -inline int32_t CCSUsrMsg_RoundEndReportData_InitialConditions::terrorist_odds() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.InitialConditions.terrorist_odds) - return _internal_terrorist_odds(); -} -inline void CCSUsrMsg_RoundEndReportData_InitialConditions::_internal_set_terrorist_odds(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.terrorist_odds_ = value; -} -inline void CCSUsrMsg_RoundEndReportData_InitialConditions::set_terrorist_odds(int32_t value) { - _internal_set_terrorist_odds(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RoundEndReportData.InitialConditions.terrorist_odds) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_RoundEndReportData - -// optional .CCSUsrMsg_RoundEndReportData.InitialConditions init_conditions = 1; -inline bool CCSUsrMsg_RoundEndReportData::_internal_has_init_conditions() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.init_conditions_ != nullptr); - return value; -} -inline bool CCSUsrMsg_RoundEndReportData::has_init_conditions() const { - return _internal_has_init_conditions(); -} -inline void CCSUsrMsg_RoundEndReportData::clear_init_conditions() { - if (_impl_.init_conditions_ != nullptr) _impl_.init_conditions_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CCSUsrMsg_RoundEndReportData_InitialConditions& CCSUsrMsg_RoundEndReportData::_internal_init_conditions() const { - const ::CCSUsrMsg_RoundEndReportData_InitialConditions* p = _impl_.init_conditions_; - return p != nullptr ? *p : reinterpret_cast( - ::_CCSUsrMsg_RoundEndReportData_InitialConditions_default_instance_); -} -inline const ::CCSUsrMsg_RoundEndReportData_InitialConditions& CCSUsrMsg_RoundEndReportData::init_conditions() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.init_conditions) - return _internal_init_conditions(); -} -inline void CCSUsrMsg_RoundEndReportData::unsafe_arena_set_allocated_init_conditions( - ::CCSUsrMsg_RoundEndReportData_InitialConditions* init_conditions) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.init_conditions_); - } - _impl_.init_conditions_ = init_conditions; - if (init_conditions) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_RoundEndReportData.init_conditions) -} -inline ::CCSUsrMsg_RoundEndReportData_InitialConditions* CCSUsrMsg_RoundEndReportData::release_init_conditions() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CCSUsrMsg_RoundEndReportData_InitialConditions* temp = _impl_.init_conditions_; - _impl_.init_conditions_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CCSUsrMsg_RoundEndReportData_InitialConditions* CCSUsrMsg_RoundEndReportData::unsafe_arena_release_init_conditions() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_RoundEndReportData.init_conditions) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CCSUsrMsg_RoundEndReportData_InitialConditions* temp = _impl_.init_conditions_; - _impl_.init_conditions_ = nullptr; - return temp; -} -inline ::CCSUsrMsg_RoundEndReportData_InitialConditions* CCSUsrMsg_RoundEndReportData::_internal_mutable_init_conditions() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.init_conditions_ == nullptr) { - auto* p = CreateMaybeMessage<::CCSUsrMsg_RoundEndReportData_InitialConditions>(GetArenaForAllocation()); - _impl_.init_conditions_ = p; - } - return _impl_.init_conditions_; -} -inline ::CCSUsrMsg_RoundEndReportData_InitialConditions* CCSUsrMsg_RoundEndReportData::mutable_init_conditions() { - ::CCSUsrMsg_RoundEndReportData_InitialConditions* _msg = _internal_mutable_init_conditions(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RoundEndReportData.init_conditions) - return _msg; -} -inline void CCSUsrMsg_RoundEndReportData::set_allocated_init_conditions(::CCSUsrMsg_RoundEndReportData_InitialConditions* init_conditions) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.init_conditions_; - } - if (init_conditions) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(init_conditions); - if (message_arena != submessage_arena) { - init_conditions = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, init_conditions, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.init_conditions_ = init_conditions; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_RoundEndReportData.init_conditions) -} - -// repeated .CCSUsrMsg_RoundEndReportData.RerEvent all_rer_event_data = 2; -inline int CCSUsrMsg_RoundEndReportData::_internal_all_rer_event_data_size() const { - return _impl_.all_rer_event_data_.size(); -} -inline int CCSUsrMsg_RoundEndReportData::all_rer_event_data_size() const { - return _internal_all_rer_event_data_size(); -} -inline void CCSUsrMsg_RoundEndReportData::clear_all_rer_event_data() { - _impl_.all_rer_event_data_.Clear(); -} -inline ::CCSUsrMsg_RoundEndReportData_RerEvent* CCSUsrMsg_RoundEndReportData::mutable_all_rer_event_data(int index) { - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RoundEndReportData.all_rer_event_data) - return _impl_.all_rer_event_data_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent >* -CCSUsrMsg_RoundEndReportData::mutable_all_rer_event_data() { - // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_RoundEndReportData.all_rer_event_data) - return &_impl_.all_rer_event_data_; -} -inline const ::CCSUsrMsg_RoundEndReportData_RerEvent& CCSUsrMsg_RoundEndReportData::_internal_all_rer_event_data(int index) const { - return _impl_.all_rer_event_data_.Get(index); -} -inline const ::CCSUsrMsg_RoundEndReportData_RerEvent& CCSUsrMsg_RoundEndReportData::all_rer_event_data(int index) const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RoundEndReportData.all_rer_event_data) - return _internal_all_rer_event_data(index); -} -inline ::CCSUsrMsg_RoundEndReportData_RerEvent* CCSUsrMsg_RoundEndReportData::_internal_add_all_rer_event_data() { - return _impl_.all_rer_event_data_.Add(); -} -inline ::CCSUsrMsg_RoundEndReportData_RerEvent* CCSUsrMsg_RoundEndReportData::add_all_rer_event_data() { - ::CCSUsrMsg_RoundEndReportData_RerEvent* _add = _internal_add_all_rer_event_data(); - // @@protoc_insertion_point(field_add:CCSUsrMsg_RoundEndReportData.all_rer_event_data) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_RoundEndReportData_RerEvent >& -CCSUsrMsg_RoundEndReportData::all_rer_event_data() const { - // @@protoc_insertion_point(field_list:CCSUsrMsg_RoundEndReportData.all_rer_event_data) - return _impl_.all_rer_event_data_; -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_PostRoundDamageReport - -// optional uint64 other_xuid = 1; -inline bool CCSUsrMsg_PostRoundDamageReport::_internal_has_other_xuid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_PostRoundDamageReport::has_other_xuid() const { - return _internal_has_other_xuid(); -} -inline void CCSUsrMsg_PostRoundDamageReport::clear_other_xuid() { - _impl_.other_xuid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CCSUsrMsg_PostRoundDamageReport::_internal_other_xuid() const { - return _impl_.other_xuid_; -} -inline uint64_t CCSUsrMsg_PostRoundDamageReport::other_xuid() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_PostRoundDamageReport.other_xuid) - return _internal_other_xuid(); -} -inline void CCSUsrMsg_PostRoundDamageReport::_internal_set_other_xuid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.other_xuid_ = value; -} -inline void CCSUsrMsg_PostRoundDamageReport::set_other_xuid(uint64_t value) { - _internal_set_other_xuid(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_PostRoundDamageReport.other_xuid) -} - -// optional int32 given_kill_type = 2; -inline bool CCSUsrMsg_PostRoundDamageReport::_internal_has_given_kill_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_PostRoundDamageReport::has_given_kill_type() const { - return _internal_has_given_kill_type(); -} -inline void CCSUsrMsg_PostRoundDamageReport::clear_given_kill_type() { - _impl_.given_kill_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_PostRoundDamageReport::_internal_given_kill_type() const { - return _impl_.given_kill_type_; -} -inline int32_t CCSUsrMsg_PostRoundDamageReport::given_kill_type() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_PostRoundDamageReport.given_kill_type) - return _internal_given_kill_type(); -} -inline void CCSUsrMsg_PostRoundDamageReport::_internal_set_given_kill_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.given_kill_type_ = value; -} -inline void CCSUsrMsg_PostRoundDamageReport::set_given_kill_type(int32_t value) { - _internal_set_given_kill_type(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_PostRoundDamageReport.given_kill_type) -} - -// optional int32 given_health_removed = 3; -inline bool CCSUsrMsg_PostRoundDamageReport::_internal_has_given_health_removed() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_PostRoundDamageReport::has_given_health_removed() const { - return _internal_has_given_health_removed(); -} -inline void CCSUsrMsg_PostRoundDamageReport::clear_given_health_removed() { - _impl_.given_health_removed_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_PostRoundDamageReport::_internal_given_health_removed() const { - return _impl_.given_health_removed_; -} -inline int32_t CCSUsrMsg_PostRoundDamageReport::given_health_removed() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_PostRoundDamageReport.given_health_removed) - return _internal_given_health_removed(); -} -inline void CCSUsrMsg_PostRoundDamageReport::_internal_set_given_health_removed(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.given_health_removed_ = value; -} -inline void CCSUsrMsg_PostRoundDamageReport::set_given_health_removed(int32_t value) { - _internal_set_given_health_removed(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_PostRoundDamageReport.given_health_removed) -} - -// optional int32 given_num_hits = 4; -inline bool CCSUsrMsg_PostRoundDamageReport::_internal_has_given_num_hits() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_PostRoundDamageReport::has_given_num_hits() const { - return _internal_has_given_num_hits(); -} -inline void CCSUsrMsg_PostRoundDamageReport::clear_given_num_hits() { - _impl_.given_num_hits_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CCSUsrMsg_PostRoundDamageReport::_internal_given_num_hits() const { - return _impl_.given_num_hits_; -} -inline int32_t CCSUsrMsg_PostRoundDamageReport::given_num_hits() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_PostRoundDamageReport.given_num_hits) - return _internal_given_num_hits(); -} -inline void CCSUsrMsg_PostRoundDamageReport::_internal_set_given_num_hits(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.given_num_hits_ = value; -} -inline void CCSUsrMsg_PostRoundDamageReport::set_given_num_hits(int32_t value) { - _internal_set_given_num_hits(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_PostRoundDamageReport.given_num_hits) -} - -// optional int32 taken_kill_type = 5; -inline bool CCSUsrMsg_PostRoundDamageReport::_internal_has_taken_kill_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CCSUsrMsg_PostRoundDamageReport::has_taken_kill_type() const { - return _internal_has_taken_kill_type(); -} -inline void CCSUsrMsg_PostRoundDamageReport::clear_taken_kill_type() { - _impl_.taken_kill_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CCSUsrMsg_PostRoundDamageReport::_internal_taken_kill_type() const { - return _impl_.taken_kill_type_; -} -inline int32_t CCSUsrMsg_PostRoundDamageReport::taken_kill_type() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_PostRoundDamageReport.taken_kill_type) - return _internal_taken_kill_type(); -} -inline void CCSUsrMsg_PostRoundDamageReport::_internal_set_taken_kill_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.taken_kill_type_ = value; -} -inline void CCSUsrMsg_PostRoundDamageReport::set_taken_kill_type(int32_t value) { - _internal_set_taken_kill_type(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_PostRoundDamageReport.taken_kill_type) -} - -// optional int32 taken_health_removed = 6; -inline bool CCSUsrMsg_PostRoundDamageReport::_internal_has_taken_health_removed() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CCSUsrMsg_PostRoundDamageReport::has_taken_health_removed() const { - return _internal_has_taken_health_removed(); -} -inline void CCSUsrMsg_PostRoundDamageReport::clear_taken_health_removed() { - _impl_.taken_health_removed_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CCSUsrMsg_PostRoundDamageReport::_internal_taken_health_removed() const { - return _impl_.taken_health_removed_; -} -inline int32_t CCSUsrMsg_PostRoundDamageReport::taken_health_removed() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_PostRoundDamageReport.taken_health_removed) - return _internal_taken_health_removed(); -} -inline void CCSUsrMsg_PostRoundDamageReport::_internal_set_taken_health_removed(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.taken_health_removed_ = value; -} -inline void CCSUsrMsg_PostRoundDamageReport::set_taken_health_removed(int32_t value) { - _internal_set_taken_health_removed(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_PostRoundDamageReport.taken_health_removed) -} - -// optional int32 taken_num_hits = 7; -inline bool CCSUsrMsg_PostRoundDamageReport::_internal_has_taken_num_hits() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CCSUsrMsg_PostRoundDamageReport::has_taken_num_hits() const { - return _internal_has_taken_num_hits(); -} -inline void CCSUsrMsg_PostRoundDamageReport::clear_taken_num_hits() { - _impl_.taken_num_hits_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CCSUsrMsg_PostRoundDamageReport::_internal_taken_num_hits() const { - return _impl_.taken_num_hits_; -} -inline int32_t CCSUsrMsg_PostRoundDamageReport::taken_num_hits() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_PostRoundDamageReport.taken_num_hits) - return _internal_taken_num_hits(); -} -inline void CCSUsrMsg_PostRoundDamageReport::_internal_set_taken_num_hits(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.taken_num_hits_ = value; -} -inline void CCSUsrMsg_PostRoundDamageReport::set_taken_num_hits(int32_t value) { - _internal_set_taken_num_hits(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_PostRoundDamageReport.taken_num_hits) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_CurrentRoundOdds - -// optional int32 odds = 1; -inline bool CCSUsrMsg_CurrentRoundOdds::_internal_has_odds() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_CurrentRoundOdds::has_odds() const { - return _internal_has_odds(); -} -inline void CCSUsrMsg_CurrentRoundOdds::clear_odds() { - _impl_.odds_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_CurrentRoundOdds::_internal_odds() const { - return _impl_.odds_; -} -inline int32_t CCSUsrMsg_CurrentRoundOdds::odds() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_CurrentRoundOdds.odds) - return _internal_odds(); -} -inline void CCSUsrMsg_CurrentRoundOdds::_internal_set_odds(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.odds_ = value; -} -inline void CCSUsrMsg_CurrentRoundOdds::set_odds(int32_t value) { - _internal_set_odds(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_CurrentRoundOdds.odds) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_DeepStats - -// optional .CMsgGCCStrike15_ClientDeepStats stats = 1; -inline bool CCSUsrMsg_DeepStats::_internal_has_stats() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.stats_ != nullptr); - return value; -} -inline bool CCSUsrMsg_DeepStats::has_stats() const { - return _internal_has_stats(); -} -inline const ::CMsgGCCStrike15_ClientDeepStats& CCSUsrMsg_DeepStats::_internal_stats() const { - const ::CMsgGCCStrike15_ClientDeepStats* p = _impl_.stats_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgGCCStrike15_ClientDeepStats_default_instance_); -} -inline const ::CMsgGCCStrike15_ClientDeepStats& CCSUsrMsg_DeepStats::stats() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_DeepStats.stats) - return _internal_stats(); -} -inline void CCSUsrMsg_DeepStats::unsafe_arena_set_allocated_stats( - ::CMsgGCCStrike15_ClientDeepStats* stats) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.stats_); - } - _impl_.stats_ = stats; - if (stats) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_DeepStats.stats) -} -inline ::CMsgGCCStrike15_ClientDeepStats* CCSUsrMsg_DeepStats::release_stats() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgGCCStrike15_ClientDeepStats* temp = _impl_.stats_; - _impl_.stats_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgGCCStrike15_ClientDeepStats* CCSUsrMsg_DeepStats::unsafe_arena_release_stats() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_DeepStats.stats) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgGCCStrike15_ClientDeepStats* temp = _impl_.stats_; - _impl_.stats_ = nullptr; - return temp; -} -inline ::CMsgGCCStrike15_ClientDeepStats* CCSUsrMsg_DeepStats::_internal_mutable_stats() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.stats_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgGCCStrike15_ClientDeepStats>(GetArenaForAllocation()); - _impl_.stats_ = p; - } - return _impl_.stats_; -} -inline ::CMsgGCCStrike15_ClientDeepStats* CCSUsrMsg_DeepStats::mutable_stats() { - ::CMsgGCCStrike15_ClientDeepStats* _msg = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_DeepStats.stats) - return _msg; -} -inline void CCSUsrMsg_DeepStats::set_allocated_stats(::CMsgGCCStrike15_ClientDeepStats* stats) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.stats_); - } - if (stats) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats)); - if (message_arena != submessage_arena) { - stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, stats, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.stats_ = stats; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_DeepStats.stats) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_ShootInfo - -// optional int32 frame_number = 1; -inline bool CCSUsrMsg_ShootInfo::_internal_has_frame_number() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_ShootInfo::has_frame_number() const { - return _internal_has_frame_number(); -} -inline void CCSUsrMsg_ShootInfo::clear_frame_number() { - _impl_.frame_number_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_ShootInfo::_internal_frame_number() const { - return _impl_.frame_number_; -} -inline int32_t CCSUsrMsg_ShootInfo::frame_number() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ShootInfo.frame_number) - return _internal_frame_number(); -} -inline void CCSUsrMsg_ShootInfo::_internal_set_frame_number(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.frame_number_ = value; -} -inline void CCSUsrMsg_ShootInfo::set_frame_number(int32_t value) { - _internal_set_frame_number(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ShootInfo.frame_number) -} - -// repeated .CMsgTransform hitbox_transforms = 2; -inline int CCSUsrMsg_ShootInfo::_internal_hitbox_transforms_size() const { - return _impl_.hitbox_transforms_.size(); -} -inline int CCSUsrMsg_ShootInfo::hitbox_transforms_size() const { - return _internal_hitbox_transforms_size(); -} -inline ::CMsgTransform* CCSUsrMsg_ShootInfo::mutable_hitbox_transforms(int index) { - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_ShootInfo.hitbox_transforms) - return _impl_.hitbox_transforms_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgTransform >* -CCSUsrMsg_ShootInfo::mutable_hitbox_transforms() { - // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_ShootInfo.hitbox_transforms) - return &_impl_.hitbox_transforms_; -} -inline const ::CMsgTransform& CCSUsrMsg_ShootInfo::_internal_hitbox_transforms(int index) const { - return _impl_.hitbox_transforms_.Get(index); -} -inline const ::CMsgTransform& CCSUsrMsg_ShootInfo::hitbox_transforms(int index) const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ShootInfo.hitbox_transforms) - return _internal_hitbox_transforms(index); -} -inline ::CMsgTransform* CCSUsrMsg_ShootInfo::_internal_add_hitbox_transforms() { - return _impl_.hitbox_transforms_.Add(); -} -inline ::CMsgTransform* CCSUsrMsg_ShootInfo::add_hitbox_transforms() { - ::CMsgTransform* _add = _internal_add_hitbox_transforms(); - // @@protoc_insertion_point(field_add:CCSUsrMsg_ShootInfo.hitbox_transforms) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgTransform >& -CCSUsrMsg_ShootInfo::hitbox_transforms() const { - // @@protoc_insertion_point(field_list:CCSUsrMsg_ShootInfo.hitbox_transforms) - return _impl_.hitbox_transforms_; -} - -// optional .CMsgVector shoot_pos = 3; -inline bool CCSUsrMsg_ShootInfo::_internal_has_shoot_pos() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.shoot_pos_ != nullptr); - return value; -} -inline bool CCSUsrMsg_ShootInfo::has_shoot_pos() const { - return _internal_has_shoot_pos(); -} -inline const ::CMsgVector& CCSUsrMsg_ShootInfo::_internal_shoot_pos() const { - const ::CMsgVector* p = _impl_.shoot_pos_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CCSUsrMsg_ShootInfo::shoot_pos() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ShootInfo.shoot_pos) - return _internal_shoot_pos(); -} -inline void CCSUsrMsg_ShootInfo::unsafe_arena_set_allocated_shoot_pos( - ::CMsgVector* shoot_pos) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_pos_); - } - _impl_.shoot_pos_ = shoot_pos; - if (shoot_pos) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_ShootInfo.shoot_pos) -} -inline ::CMsgVector* CCSUsrMsg_ShootInfo::release_shoot_pos() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.shoot_pos_; - _impl_.shoot_pos_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CCSUsrMsg_ShootInfo::unsafe_arena_release_shoot_pos() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_ShootInfo.shoot_pos) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.shoot_pos_; - _impl_.shoot_pos_ = nullptr; - return temp; -} -inline ::CMsgVector* CCSUsrMsg_ShootInfo::_internal_mutable_shoot_pos() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.shoot_pos_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.shoot_pos_ = p; - } - return _impl_.shoot_pos_; -} -inline ::CMsgVector* CCSUsrMsg_ShootInfo::mutable_shoot_pos() { - ::CMsgVector* _msg = _internal_mutable_shoot_pos(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_ShootInfo.shoot_pos) - return _msg; -} -inline void CCSUsrMsg_ShootInfo::set_allocated_shoot_pos(::CMsgVector* shoot_pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_pos_); - } - if (shoot_pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(shoot_pos)); - if (message_arena != submessage_arena) { - shoot_pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, shoot_pos, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.shoot_pos_ = shoot_pos; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_ShootInfo.shoot_pos) -} - -// optional .CMsgQAngle shoot_dir = 4; -inline bool CCSUsrMsg_ShootInfo::_internal_has_shoot_dir() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.shoot_dir_ != nullptr); - return value; -} -inline bool CCSUsrMsg_ShootInfo::has_shoot_dir() const { - return _internal_has_shoot_dir(); -} -inline const ::CMsgQAngle& CCSUsrMsg_ShootInfo::_internal_shoot_dir() const { - const ::CMsgQAngle* p = _impl_.shoot_dir_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CCSUsrMsg_ShootInfo::shoot_dir() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ShootInfo.shoot_dir) - return _internal_shoot_dir(); -} -inline void CCSUsrMsg_ShootInfo::unsafe_arena_set_allocated_shoot_dir( - ::CMsgQAngle* shoot_dir) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_dir_); - } - _impl_.shoot_dir_ = shoot_dir; - if (shoot_dir) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_ShootInfo.shoot_dir) -} -inline ::CMsgQAngle* CCSUsrMsg_ShootInfo::release_shoot_dir() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQAngle* temp = _impl_.shoot_dir_; - _impl_.shoot_dir_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CCSUsrMsg_ShootInfo::unsafe_arena_release_shoot_dir() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_ShootInfo.shoot_dir) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQAngle* temp = _impl_.shoot_dir_; - _impl_.shoot_dir_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CCSUsrMsg_ShootInfo::_internal_mutable_shoot_dir() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.shoot_dir_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.shoot_dir_ = p; - } - return _impl_.shoot_dir_; -} -inline ::CMsgQAngle* CCSUsrMsg_ShootInfo::mutable_shoot_dir() { - ::CMsgQAngle* _msg = _internal_mutable_shoot_dir(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_ShootInfo.shoot_dir) - return _msg; -} -inline void CCSUsrMsg_ShootInfo::set_allocated_shoot_dir(::CMsgQAngle* shoot_dir) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_dir_); - } - if (shoot_dir) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(shoot_dir)); - if (message_arena != submessage_arena) { - shoot_dir = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, shoot_dir, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.shoot_dir_ = shoot_dir; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_ShootInfo.shoot_dir) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_ResetHud - -// optional bool reset = 1; -inline bool CCSUsrMsg_ResetHud::_internal_has_reset() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_ResetHud::has_reset() const { - return _internal_has_reset(); -} -inline void CCSUsrMsg_ResetHud::clear_reset() { - _impl_.reset_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CCSUsrMsg_ResetHud::_internal_reset() const { - return _impl_.reset_; -} -inline bool CCSUsrMsg_ResetHud::reset() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ResetHud.reset) - return _internal_reset(); -} -inline void CCSUsrMsg_ResetHud::_internal_set_reset(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.reset_ = value; -} -inline void CCSUsrMsg_ResetHud::set_reset(bool value) { - _internal_set_reset(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ResetHud.reset) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_GameTitle - -// optional int32 dummy = 1; -inline bool CCSUsrMsg_GameTitle::_internal_has_dummy() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_GameTitle::has_dummy() const { - return _internal_has_dummy(); -} -inline void CCSUsrMsg_GameTitle::clear_dummy() { - _impl_.dummy_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_GameTitle::_internal_dummy() const { - return _impl_.dummy_; -} -inline int32_t CCSUsrMsg_GameTitle::dummy() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_GameTitle.dummy) - return _internal_dummy(); -} -inline void CCSUsrMsg_GameTitle::_internal_set_dummy(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.dummy_ = value; -} -inline void CCSUsrMsg_GameTitle::set_dummy(int32_t value) { - _internal_set_dummy(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_GameTitle.dummy) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_RequestState - -// optional int32 dummy = 1; -inline bool CCSUsrMsg_RequestState::_internal_has_dummy() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_RequestState::has_dummy() const { - return _internal_has_dummy(); -} -inline void CCSUsrMsg_RequestState::clear_dummy() { - _impl_.dummy_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_RequestState::_internal_dummy() const { - return _impl_.dummy_; -} -inline int32_t CCSUsrMsg_RequestState::dummy() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RequestState.dummy) - return _internal_dummy(); -} -inline void CCSUsrMsg_RequestState::_internal_set_dummy(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.dummy_ = value; -} -inline void CCSUsrMsg_RequestState::set_dummy(int32_t value) { - _internal_set_dummy(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RequestState.dummy) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_StopSpectatorMode - -// optional int32 dummy = 1; -inline bool CCSUsrMsg_StopSpectatorMode::_internal_has_dummy() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_StopSpectatorMode::has_dummy() const { - return _internal_has_dummy(); -} -inline void CCSUsrMsg_StopSpectatorMode::clear_dummy() { - _impl_.dummy_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_StopSpectatorMode::_internal_dummy() const { - return _impl_.dummy_; -} -inline int32_t CCSUsrMsg_StopSpectatorMode::dummy() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_StopSpectatorMode.dummy) - return _internal_dummy(); -} -inline void CCSUsrMsg_StopSpectatorMode::_internal_set_dummy(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.dummy_ = value; -} -inline void CCSUsrMsg_StopSpectatorMode::set_dummy(int32_t value) { - _internal_set_dummy(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_StopSpectatorMode.dummy) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_DisconnectToLobby - -// optional int32 dummy = 1; -inline bool CCSUsrMsg_DisconnectToLobby::_internal_has_dummy() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_DisconnectToLobby::has_dummy() const { - return _internal_has_dummy(); -} -inline void CCSUsrMsg_DisconnectToLobby::clear_dummy() { - _impl_.dummy_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_DisconnectToLobby::_internal_dummy() const { - return _impl_.dummy_; -} -inline int32_t CCSUsrMsg_DisconnectToLobby::dummy() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_DisconnectToLobby.dummy) - return _internal_dummy(); -} -inline void CCSUsrMsg_DisconnectToLobby::_internal_set_dummy(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.dummy_ = value; -} -inline void CCSUsrMsg_DisconnectToLobby::set_dummy(int32_t value) { - _internal_set_dummy(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_DisconnectToLobby.dummy) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_ClientInfo - -// optional int32 dummy = 1; -inline bool CCSUsrMsg_ClientInfo::_internal_has_dummy() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_ClientInfo::has_dummy() const { - return _internal_has_dummy(); -} -inline void CCSUsrMsg_ClientInfo::clear_dummy() { - _impl_.dummy_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_ClientInfo::_internal_dummy() const { - return _impl_.dummy_; -} -inline int32_t CCSUsrMsg_ClientInfo::dummy() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ClientInfo.dummy) - return _internal_dummy(); -} -inline void CCSUsrMsg_ClientInfo::_internal_set_dummy(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.dummy_ = value; -} -inline void CCSUsrMsg_ClientInfo::set_dummy(int32_t value) { - _internal_set_dummy(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ClientInfo.dummy) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_ServerRankRevealAll - -// optional int32 seconds_till_shutdown = 1; -inline bool CCSUsrMsg_ServerRankRevealAll::_internal_has_seconds_till_shutdown() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_ServerRankRevealAll::has_seconds_till_shutdown() const { - return _internal_has_seconds_till_shutdown(); -} -inline void CCSUsrMsg_ServerRankRevealAll::clear_seconds_till_shutdown() { - _impl_.seconds_till_shutdown_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_ServerRankRevealAll::_internal_seconds_till_shutdown() const { - return _impl_.seconds_till_shutdown_; -} -inline int32_t CCSUsrMsg_ServerRankRevealAll::seconds_till_shutdown() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ServerRankRevealAll.seconds_till_shutdown) - return _internal_seconds_till_shutdown(); -} -inline void CCSUsrMsg_ServerRankRevealAll::_internal_set_seconds_till_shutdown(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.seconds_till_shutdown_ = value; -} -inline void CCSUsrMsg_ServerRankRevealAll::set_seconds_till_shutdown(int32_t value) { - _internal_set_seconds_till_shutdown(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_ServerRankRevealAll.seconds_till_shutdown) -} - -// optional .CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve reservation = 2; -inline bool CCSUsrMsg_ServerRankRevealAll::_internal_has_reservation() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.reservation_ != nullptr); - return value; -} -inline bool CCSUsrMsg_ServerRankRevealAll::has_reservation() const { - return _internal_has_reservation(); -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& CCSUsrMsg_ServerRankRevealAll::_internal_reservation() const { - const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* p = _impl_.reservation_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve_default_instance_); -} -inline const ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve& CCSUsrMsg_ServerRankRevealAll::reservation() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_ServerRankRevealAll.reservation) - return _internal_reservation(); -} -inline void CCSUsrMsg_ServerRankRevealAll::unsafe_arena_set_allocated_reservation( - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.reservation_); - } - _impl_.reservation_ = reservation; - if (reservation) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_ServerRankRevealAll.reservation) -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CCSUsrMsg_ServerRankRevealAll::release_reservation() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* temp = _impl_.reservation_; - _impl_.reservation_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CCSUsrMsg_ServerRankRevealAll::unsafe_arena_release_reservation() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_ServerRankRevealAll.reservation) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* temp = _impl_.reservation_; - _impl_.reservation_ = nullptr; - return temp; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CCSUsrMsg_ServerRankRevealAll::_internal_mutable_reservation() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.reservation_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve>(GetArenaForAllocation()); - _impl_.reservation_ = p; - } - return _impl_.reservation_; -} -inline ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* CCSUsrMsg_ServerRankRevealAll::mutable_reservation() { - ::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* _msg = _internal_mutable_reservation(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_ServerRankRevealAll.reservation) - return _msg; -} -inline void CCSUsrMsg_ServerRankRevealAll::set_allocated_reservation(::CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve* reservation) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.reservation_); - } - if (reservation) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(reservation)); - if (message_arena != submessage_arena) { - reservation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, reservation, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.reservation_ = reservation; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_ServerRankRevealAll.reservation) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsgPreMatchSayText - -// optional uint32 account_id = 1; -inline bool CCSUsrMsgPreMatchSayText::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsgPreMatchSayText::has_account_id() const { - return _internal_has_account_id(); -} -inline void CCSUsrMsgPreMatchSayText::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CCSUsrMsgPreMatchSayText::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CCSUsrMsgPreMatchSayText::account_id() const { - // @@protoc_insertion_point(field_get:CCSUsrMsgPreMatchSayText.account_id) - return _internal_account_id(); -} -inline void CCSUsrMsgPreMatchSayText::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.account_id_ = value; -} -inline void CCSUsrMsgPreMatchSayText::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CCSUsrMsgPreMatchSayText.account_id) -} - -// optional string text = 2; -inline bool CCSUsrMsgPreMatchSayText::_internal_has_text() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsgPreMatchSayText::has_text() const { - return _internal_has_text(); -} -inline void CCSUsrMsgPreMatchSayText::clear_text() { - _impl_.text_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsgPreMatchSayText::text() const { - // @@protoc_insertion_point(field_get:CCSUsrMsgPreMatchSayText.text) - return _internal_text(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsgPreMatchSayText::set_text(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsgPreMatchSayText.text) -} -inline std::string* CCSUsrMsgPreMatchSayText::mutable_text() { - std::string* _s = _internal_mutable_text(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsgPreMatchSayText.text) - return _s; -} -inline const std::string& CCSUsrMsgPreMatchSayText::_internal_text() const { - return _impl_.text_.Get(); -} -inline void CCSUsrMsgPreMatchSayText::_internal_set_text(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsgPreMatchSayText::_internal_mutable_text() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.text_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsgPreMatchSayText::release_text() { - // @@protoc_insertion_point(field_release:CCSUsrMsgPreMatchSayText.text) - if (!_internal_has_text()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.text_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsgPreMatchSayText::set_allocated_text(std::string* text) { - if (text != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.text_.SetAllocated(text, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsgPreMatchSayText.text) -} - -// optional bool all_chat = 3; -inline bool CCSUsrMsgPreMatchSayText::_internal_has_all_chat() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsgPreMatchSayText::has_all_chat() const { - return _internal_has_all_chat(); -} -inline void CCSUsrMsgPreMatchSayText::clear_all_chat() { - _impl_.all_chat_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CCSUsrMsgPreMatchSayText::_internal_all_chat() const { - return _impl_.all_chat_; -} -inline bool CCSUsrMsgPreMatchSayText::all_chat() const { - // @@protoc_insertion_point(field_get:CCSUsrMsgPreMatchSayText.all_chat) - return _internal_all_chat(); -} -inline void CCSUsrMsgPreMatchSayText::_internal_set_all_chat(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.all_chat_ = value; -} -inline void CCSUsrMsgPreMatchSayText::set_all_chat(bool value) { - _internal_set_all_chat(value); - // @@protoc_insertion_point(field_set:CCSUsrMsgPreMatchSayText.all_chat) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_CounterStrafe - -// optional int32 press_to_release_ns = 1; -inline bool CCSUsrMsg_CounterStrafe::_internal_has_press_to_release_ns() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_CounterStrafe::has_press_to_release_ns() const { - return _internal_has_press_to_release_ns(); -} -inline void CCSUsrMsg_CounterStrafe::clear_press_to_release_ns() { - _impl_.press_to_release_ns_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_CounterStrafe::_internal_press_to_release_ns() const { - return _impl_.press_to_release_ns_; -} -inline int32_t CCSUsrMsg_CounterStrafe::press_to_release_ns() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_CounterStrafe.press_to_release_ns) - return _internal_press_to_release_ns(); -} -inline void CCSUsrMsg_CounterStrafe::_internal_set_press_to_release_ns(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.press_to_release_ns_ = value; -} -inline void CCSUsrMsg_CounterStrafe::set_press_to_release_ns(int32_t value) { - _internal_set_press_to_release_ns(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_CounterStrafe.press_to_release_ns) -} - -// optional int32 total_keys_down = 2; -inline bool CCSUsrMsg_CounterStrafe::_internal_has_total_keys_down() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_CounterStrafe::has_total_keys_down() const { - return _internal_has_total_keys_down(); -} -inline void CCSUsrMsg_CounterStrafe::clear_total_keys_down() { - _impl_.total_keys_down_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_CounterStrafe::_internal_total_keys_down() const { - return _impl_.total_keys_down_; -} -inline int32_t CCSUsrMsg_CounterStrafe::total_keys_down() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_CounterStrafe.total_keys_down) - return _internal_total_keys_down(); -} -inline void CCSUsrMsg_CounterStrafe::_internal_set_total_keys_down(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.total_keys_down_ = value; -} -inline void CCSUsrMsg_CounterStrafe::set_total_keys_down(int32_t value) { - _internal_set_total_keys_down(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_CounterStrafe.total_keys_down) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_DamagePrediction - -// optional int32 command_num = 1; -inline bool CCSUsrMsg_DamagePrediction::_internal_has_command_num() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCSUsrMsg_DamagePrediction::has_command_num() const { - return _internal_has_command_num(); -} -inline void CCSUsrMsg_DamagePrediction::clear_command_num() { - _impl_.command_num_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CCSUsrMsg_DamagePrediction::_internal_command_num() const { - return _impl_.command_num_; -} -inline int32_t CCSUsrMsg_DamagePrediction::command_num() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_DamagePrediction.command_num) - return _internal_command_num(); -} -inline void CCSUsrMsg_DamagePrediction::_internal_set_command_num(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.command_num_ = value; -} -inline void CCSUsrMsg_DamagePrediction::set_command_num(int32_t value) { - _internal_set_command_num(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_DamagePrediction.command_num) -} - -// optional int32 pellet_idx = 2; -inline bool CCSUsrMsg_DamagePrediction::_internal_has_pellet_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CCSUsrMsg_DamagePrediction::has_pellet_idx() const { - return _internal_has_pellet_idx(); -} -inline void CCSUsrMsg_DamagePrediction::clear_pellet_idx() { - _impl_.pellet_idx_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CCSUsrMsg_DamagePrediction::_internal_pellet_idx() const { - return _impl_.pellet_idx_; -} -inline int32_t CCSUsrMsg_DamagePrediction::pellet_idx() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_DamagePrediction.pellet_idx) - return _internal_pellet_idx(); -} -inline void CCSUsrMsg_DamagePrediction::_internal_set_pellet_idx(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.pellet_idx_ = value; -} -inline void CCSUsrMsg_DamagePrediction::set_pellet_idx(int32_t value) { - _internal_set_pellet_idx(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_DamagePrediction.pellet_idx) -} - -// optional int32 victim_slot = 3; -inline bool CCSUsrMsg_DamagePrediction::_internal_has_victim_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CCSUsrMsg_DamagePrediction::has_victim_slot() const { - return _internal_has_victim_slot(); -} -inline void CCSUsrMsg_DamagePrediction::clear_victim_slot() { - _impl_.victim_slot_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CCSUsrMsg_DamagePrediction::_internal_victim_slot() const { - return _impl_.victim_slot_; -} -inline int32_t CCSUsrMsg_DamagePrediction::victim_slot() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_DamagePrediction.victim_slot) - return _internal_victim_slot(); -} -inline void CCSUsrMsg_DamagePrediction::_internal_set_victim_slot(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.victim_slot_ = value; -} -inline void CCSUsrMsg_DamagePrediction::set_victim_slot(int32_t value) { - _internal_set_victim_slot(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_DamagePrediction.victim_slot) -} - -// optional int32 victim_starting_health = 4; -inline bool CCSUsrMsg_DamagePrediction::_internal_has_victim_starting_health() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CCSUsrMsg_DamagePrediction::has_victim_starting_health() const { - return _internal_has_victim_starting_health(); -} -inline void CCSUsrMsg_DamagePrediction::clear_victim_starting_health() { - _impl_.victim_starting_health_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CCSUsrMsg_DamagePrediction::_internal_victim_starting_health() const { - return _impl_.victim_starting_health_; -} -inline int32_t CCSUsrMsg_DamagePrediction::victim_starting_health() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_DamagePrediction.victim_starting_health) - return _internal_victim_starting_health(); -} -inline void CCSUsrMsg_DamagePrediction::_internal_set_victim_starting_health(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.victim_starting_health_ = value; -} -inline void CCSUsrMsg_DamagePrediction::set_victim_starting_health(int32_t value) { - _internal_set_victim_starting_health(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_DamagePrediction.victim_starting_health) -} - -// optional int32 victim_damage = 5; -inline bool CCSUsrMsg_DamagePrediction::_internal_has_victim_damage() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CCSUsrMsg_DamagePrediction::has_victim_damage() const { - return _internal_has_victim_damage(); -} -inline void CCSUsrMsg_DamagePrediction::clear_victim_damage() { - _impl_.victim_damage_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t CCSUsrMsg_DamagePrediction::_internal_victim_damage() const { - return _impl_.victim_damage_; -} -inline int32_t CCSUsrMsg_DamagePrediction::victim_damage() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_DamagePrediction.victim_damage) - return _internal_victim_damage(); -} -inline void CCSUsrMsg_DamagePrediction::_internal_set_victim_damage(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.victim_damage_ = value; -} -inline void CCSUsrMsg_DamagePrediction::set_victim_damage(int32_t value) { - _internal_set_victim_damage(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_DamagePrediction.victim_damage) -} - -// optional .CMsgVector shoot_pos = 6; -inline bool CCSUsrMsg_DamagePrediction::_internal_has_shoot_pos() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.shoot_pos_ != nullptr); - return value; -} -inline bool CCSUsrMsg_DamagePrediction::has_shoot_pos() const { - return _internal_has_shoot_pos(); -} -inline const ::CMsgVector& CCSUsrMsg_DamagePrediction::_internal_shoot_pos() const { - const ::CMsgVector* p = _impl_.shoot_pos_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CCSUsrMsg_DamagePrediction::shoot_pos() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_DamagePrediction.shoot_pos) - return _internal_shoot_pos(); -} -inline void CCSUsrMsg_DamagePrediction::unsafe_arena_set_allocated_shoot_pos( - ::CMsgVector* shoot_pos) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_pos_); - } - _impl_.shoot_pos_ = shoot_pos; - if (shoot_pos) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_DamagePrediction.shoot_pos) -} -inline ::CMsgVector* CCSUsrMsg_DamagePrediction::release_shoot_pos() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.shoot_pos_; - _impl_.shoot_pos_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CCSUsrMsg_DamagePrediction::unsafe_arena_release_shoot_pos() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_DamagePrediction.shoot_pos) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.shoot_pos_; - _impl_.shoot_pos_ = nullptr; - return temp; -} -inline ::CMsgVector* CCSUsrMsg_DamagePrediction::_internal_mutable_shoot_pos() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.shoot_pos_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.shoot_pos_ = p; - } - return _impl_.shoot_pos_; -} -inline ::CMsgVector* CCSUsrMsg_DamagePrediction::mutable_shoot_pos() { - ::CMsgVector* _msg = _internal_mutable_shoot_pos(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_DamagePrediction.shoot_pos) - return _msg; -} -inline void CCSUsrMsg_DamagePrediction::set_allocated_shoot_pos(::CMsgVector* shoot_pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_pos_); - } - if (shoot_pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(shoot_pos)); - if (message_arena != submessage_arena) { - shoot_pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, shoot_pos, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.shoot_pos_ = shoot_pos; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_DamagePrediction.shoot_pos) -} - -// optional .CMsgQAngle shoot_dir = 7; -inline bool CCSUsrMsg_DamagePrediction::_internal_has_shoot_dir() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.shoot_dir_ != nullptr); - return value; -} -inline bool CCSUsrMsg_DamagePrediction::has_shoot_dir() const { - return _internal_has_shoot_dir(); -} -inline const ::CMsgQAngle& CCSUsrMsg_DamagePrediction::_internal_shoot_dir() const { - const ::CMsgQAngle* p = _impl_.shoot_dir_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CCSUsrMsg_DamagePrediction::shoot_dir() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_DamagePrediction.shoot_dir) - return _internal_shoot_dir(); -} -inline void CCSUsrMsg_DamagePrediction::unsafe_arena_set_allocated_shoot_dir( - ::CMsgQAngle* shoot_dir) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_dir_); - } - _impl_.shoot_dir_ = shoot_dir; - if (shoot_dir) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_DamagePrediction.shoot_dir) -} -inline ::CMsgQAngle* CCSUsrMsg_DamagePrediction::release_shoot_dir() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQAngle* temp = _impl_.shoot_dir_; - _impl_.shoot_dir_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CCSUsrMsg_DamagePrediction::unsafe_arena_release_shoot_dir() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_DamagePrediction.shoot_dir) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQAngle* temp = _impl_.shoot_dir_; - _impl_.shoot_dir_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CCSUsrMsg_DamagePrediction::_internal_mutable_shoot_dir() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.shoot_dir_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.shoot_dir_ = p; - } - return _impl_.shoot_dir_; -} -inline ::CMsgQAngle* CCSUsrMsg_DamagePrediction::mutable_shoot_dir() { - ::CMsgQAngle* _msg = _internal_mutable_shoot_dir(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_DamagePrediction.shoot_dir) - return _msg; -} -inline void CCSUsrMsg_DamagePrediction::set_allocated_shoot_dir(::CMsgQAngle* shoot_dir) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shoot_dir_); - } - if (shoot_dir) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(shoot_dir)); - if (message_arena != submessage_arena) { - shoot_dir = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, shoot_dir, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.shoot_dir_ = shoot_dir; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_DamagePrediction.shoot_dir) -} - -// optional .CMsgQAngle aim_punch = 8; -inline bool CCSUsrMsg_DamagePrediction::_internal_has_aim_punch() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.aim_punch_ != nullptr); - return value; -} -inline bool CCSUsrMsg_DamagePrediction::has_aim_punch() const { - return _internal_has_aim_punch(); -} -inline const ::CMsgQAngle& CCSUsrMsg_DamagePrediction::_internal_aim_punch() const { - const ::CMsgQAngle* p = _impl_.aim_punch_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CCSUsrMsg_DamagePrediction::aim_punch() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_DamagePrediction.aim_punch) - return _internal_aim_punch(); -} -inline void CCSUsrMsg_DamagePrediction::unsafe_arena_set_allocated_aim_punch( - ::CMsgQAngle* aim_punch) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.aim_punch_); - } - _impl_.aim_punch_ = aim_punch; - if (aim_punch) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_DamagePrediction.aim_punch) -} -inline ::CMsgQAngle* CCSUsrMsg_DamagePrediction::release_aim_punch() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgQAngle* temp = _impl_.aim_punch_; - _impl_.aim_punch_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CCSUsrMsg_DamagePrediction::unsafe_arena_release_aim_punch() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_DamagePrediction.aim_punch) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgQAngle* temp = _impl_.aim_punch_; - _impl_.aim_punch_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CCSUsrMsg_DamagePrediction::_internal_mutable_aim_punch() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.aim_punch_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.aim_punch_ = p; - } - return _impl_.aim_punch_; -} -inline ::CMsgQAngle* CCSUsrMsg_DamagePrediction::mutable_aim_punch() { - ::CMsgQAngle* _msg = _internal_mutable_aim_punch(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_DamagePrediction.aim_punch) - return _msg; -} -inline void CCSUsrMsg_DamagePrediction::set_allocated_aim_punch(::CMsgQAngle* aim_punch) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.aim_punch_); - } - if (aim_punch) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(aim_punch)); - if (message_arena != submessage_arena) { - aim_punch = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, aim_punch, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.aim_punch_ = aim_punch; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_DamagePrediction.aim_punch) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_RecurringMissionSchema - -// optional uint32 period = 1; -inline bool CCSUsrMsg_RecurringMissionSchema::_internal_has_period() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_RecurringMissionSchema::has_period() const { - return _internal_has_period(); -} -inline void CCSUsrMsg_RecurringMissionSchema::clear_period() { - _impl_.period_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CCSUsrMsg_RecurringMissionSchema::_internal_period() const { - return _impl_.period_; -} -inline uint32_t CCSUsrMsg_RecurringMissionSchema::period() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RecurringMissionSchema.period) - return _internal_period(); -} -inline void CCSUsrMsg_RecurringMissionSchema::_internal_set_period(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.period_ = value; -} -inline void CCSUsrMsg_RecurringMissionSchema::set_period(uint32_t value) { - _internal_set_period(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RecurringMissionSchema.period) -} - -// optional bytes mission_schema = 2; -inline bool CCSUsrMsg_RecurringMissionSchema::_internal_has_mission_schema() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_RecurringMissionSchema::has_mission_schema() const { - return _internal_has_mission_schema(); -} -inline void CCSUsrMsg_RecurringMissionSchema::clear_mission_schema() { - _impl_.mission_schema_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCSUsrMsg_RecurringMissionSchema::mission_schema() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_RecurringMissionSchema.mission_schema) - return _internal_mission_schema(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCSUsrMsg_RecurringMissionSchema::set_mission_schema(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.mission_schema_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCSUsrMsg_RecurringMissionSchema.mission_schema) -} -inline std::string* CCSUsrMsg_RecurringMissionSchema::mutable_mission_schema() { - std::string* _s = _internal_mutable_mission_schema(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_RecurringMissionSchema.mission_schema) - return _s; -} -inline const std::string& CCSUsrMsg_RecurringMissionSchema::_internal_mission_schema() const { - return _impl_.mission_schema_.Get(); -} -inline void CCSUsrMsg_RecurringMissionSchema::_internal_set_mission_schema(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.mission_schema_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_RecurringMissionSchema::_internal_mutable_mission_schema() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.mission_schema_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCSUsrMsg_RecurringMissionSchema::release_mission_schema() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_RecurringMissionSchema.mission_schema) - if (!_internal_has_mission_schema()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.mission_schema_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.mission_schema_.IsDefault()) { - _impl_.mission_schema_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCSUsrMsg_RecurringMissionSchema::set_allocated_mission_schema(std::string* mission_schema) { - if (mission_schema != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.mission_schema_.SetAllocated(mission_schema, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.mission_schema_.IsDefault()) { - _impl_.mission_schema_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_RecurringMissionSchema.mission_schema) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_SendPlayerLoadout_LoadoutItem - -// optional .CEconItemPreviewDataBlock econ_item = 1; -inline bool CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_internal_has_econ_item() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.econ_item_ != nullptr); - return value; -} -inline bool CCSUsrMsg_SendPlayerLoadout_LoadoutItem::has_econ_item() const { - return _internal_has_econ_item(); -} -inline const ::CEconItemPreviewDataBlock& CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_internal_econ_item() const { - const ::CEconItemPreviewDataBlock* p = _impl_.econ_item_; - return p != nullptr ? *p : reinterpret_cast( - ::_CEconItemPreviewDataBlock_default_instance_); -} -inline const ::CEconItemPreviewDataBlock& CCSUsrMsg_SendPlayerLoadout_LoadoutItem::econ_item() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SendPlayerLoadout.LoadoutItem.econ_item) - return _internal_econ_item(); -} -inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::unsafe_arena_set_allocated_econ_item( - ::CEconItemPreviewDataBlock* econ_item) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.econ_item_); - } - _impl_.econ_item_ = econ_item; - if (econ_item) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCSUsrMsg_SendPlayerLoadout.LoadoutItem.econ_item) -} -inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerLoadout_LoadoutItem::release_econ_item() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CEconItemPreviewDataBlock* temp = _impl_.econ_item_; - _impl_.econ_item_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerLoadout_LoadoutItem::unsafe_arena_release_econ_item() { - // @@protoc_insertion_point(field_release:CCSUsrMsg_SendPlayerLoadout.LoadoutItem.econ_item) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CEconItemPreviewDataBlock* temp = _impl_.econ_item_; - _impl_.econ_item_ = nullptr; - return temp; -} -inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_internal_mutable_econ_item() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.econ_item_ == nullptr) { - auto* p = CreateMaybeMessage<::CEconItemPreviewDataBlock>(GetArenaForAllocation()); - _impl_.econ_item_ = p; - } - return _impl_.econ_item_; -} -inline ::CEconItemPreviewDataBlock* CCSUsrMsg_SendPlayerLoadout_LoadoutItem::mutable_econ_item() { - ::CEconItemPreviewDataBlock* _msg = _internal_mutable_econ_item(); - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_SendPlayerLoadout.LoadoutItem.econ_item) - return _msg; -} -inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::set_allocated_econ_item(::CEconItemPreviewDataBlock* econ_item) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.econ_item_); - } - if (econ_item) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(econ_item)); - if (message_arena != submessage_arena) { - econ_item = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, econ_item, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.econ_item_ = econ_item; - // @@protoc_insertion_point(field_set_allocated:CCSUsrMsg_SendPlayerLoadout.LoadoutItem.econ_item) -} - -// optional int32 team = 2; -inline bool CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_internal_has_team() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCSUsrMsg_SendPlayerLoadout_LoadoutItem::has_team() const { - return _internal_has_team(); -} -inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::clear_team() { - _impl_.team_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_internal_team() const { - return _impl_.team_; -} -inline int32_t CCSUsrMsg_SendPlayerLoadout_LoadoutItem::team() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SendPlayerLoadout.LoadoutItem.team) - return _internal_team(); -} -inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_internal_set_team(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.team_ = value; -} -inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::set_team(int32_t value) { - _internal_set_team(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SendPlayerLoadout.LoadoutItem.team) -} - -// optional int32 slot = 3; -inline bool CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_internal_has_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCSUsrMsg_SendPlayerLoadout_LoadoutItem::has_slot() const { - return _internal_has_slot(); -} -inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::clear_slot() { - _impl_.slot_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_internal_slot() const { - return _impl_.slot_; -} -inline int32_t CCSUsrMsg_SendPlayerLoadout_LoadoutItem::slot() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SendPlayerLoadout.LoadoutItem.slot) - return _internal_slot(); -} -inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::_internal_set_slot(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.slot_ = value; -} -inline void CCSUsrMsg_SendPlayerLoadout_LoadoutItem::set_slot(int32_t value) { - _internal_set_slot(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SendPlayerLoadout.LoadoutItem.slot) -} - -// ------------------------------------------------------------------- - -// CCSUsrMsg_SendPlayerLoadout - -// repeated .CCSUsrMsg_SendPlayerLoadout.LoadoutItem loadout = 1; -inline int CCSUsrMsg_SendPlayerLoadout::_internal_loadout_size() const { - return _impl_.loadout_.size(); -} -inline int CCSUsrMsg_SendPlayerLoadout::loadout_size() const { - return _internal_loadout_size(); -} -inline void CCSUsrMsg_SendPlayerLoadout::clear_loadout() { - _impl_.loadout_.Clear(); -} -inline ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem* CCSUsrMsg_SendPlayerLoadout::mutable_loadout(int index) { - // @@protoc_insertion_point(field_mutable:CCSUsrMsg_SendPlayerLoadout.loadout) - return _impl_.loadout_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem >* -CCSUsrMsg_SendPlayerLoadout::mutable_loadout() { - // @@protoc_insertion_point(field_mutable_list:CCSUsrMsg_SendPlayerLoadout.loadout) - return &_impl_.loadout_; -} -inline const ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem& CCSUsrMsg_SendPlayerLoadout::_internal_loadout(int index) const { - return _impl_.loadout_.Get(index); -} -inline const ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem& CCSUsrMsg_SendPlayerLoadout::loadout(int index) const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SendPlayerLoadout.loadout) - return _internal_loadout(index); -} -inline ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem* CCSUsrMsg_SendPlayerLoadout::_internal_add_loadout() { - return _impl_.loadout_.Add(); -} -inline ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem* CCSUsrMsg_SendPlayerLoadout::add_loadout() { - ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem* _add = _internal_add_loadout(); - // @@protoc_insertion_point(field_add:CCSUsrMsg_SendPlayerLoadout.loadout) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCSUsrMsg_SendPlayerLoadout_LoadoutItem >& -CCSUsrMsg_SendPlayerLoadout::loadout() const { - // @@protoc_insertion_point(field_list:CCSUsrMsg_SendPlayerLoadout.loadout) - return _impl_.loadout_; -} - -// optional int32 playerslot = 2 [default = -1]; -inline bool CCSUsrMsg_SendPlayerLoadout::_internal_has_playerslot() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCSUsrMsg_SendPlayerLoadout::has_playerslot() const { - return _internal_has_playerslot(); -} -inline void CCSUsrMsg_SendPlayerLoadout::clear_playerslot() { - _impl_.playerslot_ = -1; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCSUsrMsg_SendPlayerLoadout::_internal_playerslot() const { - return _impl_.playerslot_; -} -inline int32_t CCSUsrMsg_SendPlayerLoadout::playerslot() const { - // @@protoc_insertion_point(field_get:CCSUsrMsg_SendPlayerLoadout.playerslot) - return _internal_playerslot(); -} -inline void CCSUsrMsg_SendPlayerLoadout::_internal_set_playerslot(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.playerslot_ = value; -} -inline void CCSUsrMsg_SendPlayerLoadout::set_playerslot(int32_t value) { - _internal_set_playerslot(value); - // @@protoc_insertion_point(field_set:CCSUsrMsg_SendPlayerLoadout.playerslot) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::ECstrike15UserMessages> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ECstrike15UserMessages>() { - return ::ECstrike15UserMessages_descriptor(); -} -template <> struct is_proto_enum< ::ECSUsrMsg_DisconnectToLobby_Action> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ECSUsrMsg_DisconnectToLobby_Action>() { - return ::ECSUsrMsg_DisconnectToLobby_Action_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_cstrike15_5fusermessages_2eproto diff --git a/protobuf/generated/demo.pb.cc b/protobuf/generated/demo.pb.cc deleted file mode 100644 index 24eef8f61..000000000 --- a/protobuf/generated/demo.pb.cc +++ /dev/null @@ -1,8512 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: demo.proto - -#include "demo.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CDemoFileHeader::CDemoFileHeader( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.demo_file_stamp_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.server_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.client_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.map_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.game_directory_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.addons_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.demo_version_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.demo_version_guid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.game_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.network_protocol_)*/0 - , /*decltype(_impl_.fullpackets_version_)*/0 - , /*decltype(_impl_.allow_clientside_entities_)*/false - , /*decltype(_impl_.allow_clientside_particles_)*/false - , /*decltype(_impl_.build_num_)*/0 - , /*decltype(_impl_.server_start_tick_)*/0} {} -struct CDemoFileHeaderDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoFileHeaderDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoFileHeaderDefaultTypeInternal() {} - union { - CDemoFileHeader _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoFileHeaderDefaultTypeInternal _CDemoFileHeader_default_instance_; -PROTOBUF_CONSTEXPR CGameInfo_CDotaGameInfo_CPlayerInfo::CGameInfo_CDotaGameInfo_CPlayerInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.hero_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.player_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.is_fake_client_)*/false - , /*decltype(_impl_.game_team_)*/0} {} -struct CGameInfo_CDotaGameInfo_CPlayerInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGameInfo_CDotaGameInfo_CPlayerInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGameInfo_CDotaGameInfo_CPlayerInfoDefaultTypeInternal() {} - union { - CGameInfo_CDotaGameInfo_CPlayerInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameInfo_CDotaGameInfo_CPlayerInfoDefaultTypeInternal _CGameInfo_CDotaGameInfo_CPlayerInfo_default_instance_; -PROTOBUF_CONSTEXPR CGameInfo_CDotaGameInfo_CHeroSelectEvent::CGameInfo_CDotaGameInfo_CHeroSelectEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.is_pick_)*/false - , /*decltype(_impl_.team_)*/0u - , /*decltype(_impl_.hero_id_)*/0} {} -struct CGameInfo_CDotaGameInfo_CHeroSelectEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGameInfo_CDotaGameInfo_CHeroSelectEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGameInfo_CDotaGameInfo_CHeroSelectEventDefaultTypeInternal() {} - union { - CGameInfo_CDotaGameInfo_CHeroSelectEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameInfo_CDotaGameInfo_CHeroSelectEventDefaultTypeInternal _CGameInfo_CDotaGameInfo_CHeroSelectEvent_default_instance_; -PROTOBUF_CONSTEXPR CGameInfo_CDotaGameInfo::CGameInfo_CDotaGameInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.player_info_)*/{} - , /*decltype(_impl_.picks_bans_)*/{} - , /*decltype(_impl_.radiant_team_tag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.dire_team_tag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.match_id_)*/uint64_t{0u} - , /*decltype(_impl_.game_mode_)*/0 - , /*decltype(_impl_.game_winner_)*/0 - , /*decltype(_impl_.leagueid_)*/0u - , /*decltype(_impl_.radiant_team_id_)*/0u - , /*decltype(_impl_.dire_team_id_)*/0u - , /*decltype(_impl_.end_time_)*/0u} {} -struct CGameInfo_CDotaGameInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGameInfo_CDotaGameInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGameInfo_CDotaGameInfoDefaultTypeInternal() {} - union { - CGameInfo_CDotaGameInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameInfo_CDotaGameInfoDefaultTypeInternal _CGameInfo_CDotaGameInfo_default_instance_; -PROTOBUF_CONSTEXPR CGameInfo_CCSGameInfo::CGameInfo_CCSGameInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.round_start_ticks_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CGameInfo_CCSGameInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGameInfo_CCSGameInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGameInfo_CCSGameInfoDefaultTypeInternal() {} - union { - CGameInfo_CCSGameInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameInfo_CCSGameInfoDefaultTypeInternal _CGameInfo_CCSGameInfo_default_instance_; -PROTOBUF_CONSTEXPR CGameInfo::CGameInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.dota_)*/nullptr - , /*decltype(_impl_.cs_)*/nullptr} {} -struct CGameInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGameInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGameInfoDefaultTypeInternal() {} - union { - CGameInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameInfoDefaultTypeInternal _CGameInfo_default_instance_; -PROTOBUF_CONSTEXPR CDemoFileInfo::CDemoFileInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.game_info_)*/nullptr - , /*decltype(_impl_.playback_time_)*/0 - , /*decltype(_impl_.playback_ticks_)*/0 - , /*decltype(_impl_.playback_frames_)*/0} {} -struct CDemoFileInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoFileInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoFileInfoDefaultTypeInternal() {} - union { - CDemoFileInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoFileInfoDefaultTypeInternal _CDemoFileInfo_default_instance_; -PROTOBUF_CONSTEXPR CDemoPacket::CDemoPacket( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CDemoPacketDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoPacketDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoPacketDefaultTypeInternal() {} - union { - CDemoPacket _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoPacketDefaultTypeInternal _CDemoPacket_default_instance_; -PROTOBUF_CONSTEXPR CDemoFullPacket::CDemoFullPacket( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.string_table_)*/nullptr - , /*decltype(_impl_.packet_)*/nullptr} {} -struct CDemoFullPacketDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoFullPacketDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoFullPacketDefaultTypeInternal() {} - union { - CDemoFullPacket _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoFullPacketDefaultTypeInternal _CDemoFullPacket_default_instance_; -PROTOBUF_CONSTEXPR CDemoSaveGame::CDemoSaveGame( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.signature_)*/uint64_t{0u} - , /*decltype(_impl_.version_)*/0} {} -struct CDemoSaveGameDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoSaveGameDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoSaveGameDefaultTypeInternal() {} - union { - CDemoSaveGame _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoSaveGameDefaultTypeInternal _CDemoSaveGame_default_instance_; -PROTOBUF_CONSTEXPR CDemoSyncTick::CDemoSyncTick( - ::_pbi::ConstantInitialized) {} -struct CDemoSyncTickDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoSyncTickDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoSyncTickDefaultTypeInternal() {} - union { - CDemoSyncTick _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoSyncTickDefaultTypeInternal _CDemoSyncTick_default_instance_; -PROTOBUF_CONSTEXPR CDemoConsoleCmd::CDemoConsoleCmd( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.cmdstring_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CDemoConsoleCmdDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoConsoleCmdDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoConsoleCmdDefaultTypeInternal() {} - union { - CDemoConsoleCmd _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoConsoleCmdDefaultTypeInternal _CDemoConsoleCmd_default_instance_; -PROTOBUF_CONSTEXPR CDemoSendTables::CDemoSendTables( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CDemoSendTablesDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoSendTablesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoSendTablesDefaultTypeInternal() {} - union { - CDemoSendTables _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoSendTablesDefaultTypeInternal _CDemoSendTables_default_instance_; -PROTOBUF_CONSTEXPR CDemoClassInfo_class_t::CDemoClassInfo_class_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.network_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.table_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.class_id_)*/0} {} -struct CDemoClassInfo_class_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoClassInfo_class_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoClassInfo_class_tDefaultTypeInternal() {} - union { - CDemoClassInfo_class_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoClassInfo_class_tDefaultTypeInternal _CDemoClassInfo_class_t_default_instance_; -PROTOBUF_CONSTEXPR CDemoClassInfo::CDemoClassInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.classes_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CDemoClassInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoClassInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoClassInfoDefaultTypeInternal() {} - union { - CDemoClassInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoClassInfoDefaultTypeInternal _CDemoClassInfo_default_instance_; -PROTOBUF_CONSTEXPR CDemoCustomData::CDemoCustomData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.callback_index_)*/0} {} -struct CDemoCustomDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoCustomDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoCustomDataDefaultTypeInternal() {} - union { - CDemoCustomData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoCustomDataDefaultTypeInternal _CDemoCustomData_default_instance_; -PROTOBUF_CONSTEXPR CDemoCustomDataCallbacks::CDemoCustomDataCallbacks( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.save_id_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CDemoCustomDataCallbacksDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoCustomDataCallbacksDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoCustomDataCallbacksDefaultTypeInternal() {} - union { - CDemoCustomDataCallbacks _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoCustomDataCallbacksDefaultTypeInternal _CDemoCustomDataCallbacks_default_instance_; -PROTOBUF_CONSTEXPR CDemoAnimationHeader::CDemoAnimationHeader( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.entity_id_)*/0 - , /*decltype(_impl_.tick_)*/0} {} -struct CDemoAnimationHeaderDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoAnimationHeaderDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoAnimationHeaderDefaultTypeInternal() {} - union { - CDemoAnimationHeader _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoAnimationHeaderDefaultTypeInternal _CDemoAnimationHeader_default_instance_; -PROTOBUF_CONSTEXPR CDemoAnimationData::CDemoAnimationData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.entity_id_)*/0 - , /*decltype(_impl_.start_tick_)*/0 - , /*decltype(_impl_.data_checksum_)*/int64_t{0} - , /*decltype(_impl_.end_tick_)*/0} {} -struct CDemoAnimationDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoAnimationDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoAnimationDataDefaultTypeInternal() {} - union { - CDemoAnimationData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoAnimationDataDefaultTypeInternal _CDemoAnimationData_default_instance_; -PROTOBUF_CONSTEXPR CDemoStringTables_items_t::CDemoStringTables_items_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.str_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CDemoStringTables_items_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoStringTables_items_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoStringTables_items_tDefaultTypeInternal() {} - union { - CDemoStringTables_items_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoStringTables_items_tDefaultTypeInternal _CDemoStringTables_items_t_default_instance_; -PROTOBUF_CONSTEXPR CDemoStringTables_table_t::CDemoStringTables_table_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.items_)*/{} - , /*decltype(_impl_.items_clientside_)*/{} - , /*decltype(_impl_.table_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.table_flags_)*/0} {} -struct CDemoStringTables_table_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoStringTables_table_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoStringTables_table_tDefaultTypeInternal() {} - union { - CDemoStringTables_table_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoStringTables_table_tDefaultTypeInternal _CDemoStringTables_table_t_default_instance_; -PROTOBUF_CONSTEXPR CDemoStringTables::CDemoStringTables( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.tables_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CDemoStringTablesDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoStringTablesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoStringTablesDefaultTypeInternal() {} - union { - CDemoStringTables _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoStringTablesDefaultTypeInternal _CDemoStringTables_default_instance_; -PROTOBUF_CONSTEXPR CDemoStop::CDemoStop( - ::_pbi::ConstantInitialized) {} -struct CDemoStopDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoStopDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoStopDefaultTypeInternal() {} - union { - CDemoStop _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoStopDefaultTypeInternal _CDemoStop_default_instance_; -PROTOBUF_CONSTEXPR CDemoUserCmd::CDemoUserCmd( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.cmd_number_)*/0} {} -struct CDemoUserCmdDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoUserCmdDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoUserCmdDefaultTypeInternal() {} - union { - CDemoUserCmd _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoUserCmdDefaultTypeInternal _CDemoUserCmd_default_instance_; -PROTOBUF_CONSTEXPR CDemoSpawnGroups::CDemoSpawnGroups( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.msgs_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CDemoSpawnGroupsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoSpawnGroupsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoSpawnGroupsDefaultTypeInternal() {} - union { - CDemoSpawnGroups _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoSpawnGroupsDefaultTypeInternal _CDemoSpawnGroups_default_instance_; -PROTOBUF_CONSTEXPR CDemoRecovery_DemoInitialSpawnGroupEntry::CDemoRecovery_DemoInitialSpawnGroupEntry( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.spawngrouphandle_)*/0u - , /*decltype(_impl_.was_created_)*/false} {} -struct CDemoRecovery_DemoInitialSpawnGroupEntryDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoRecovery_DemoInitialSpawnGroupEntryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoRecovery_DemoInitialSpawnGroupEntryDefaultTypeInternal() {} - union { - CDemoRecovery_DemoInitialSpawnGroupEntry _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoRecovery_DemoInitialSpawnGroupEntryDefaultTypeInternal _CDemoRecovery_DemoInitialSpawnGroupEntry_default_instance_; -PROTOBUF_CONSTEXPR CDemoRecovery::CDemoRecovery( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.spawn_group_message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.initial_spawn_group_)*/nullptr} {} -struct CDemoRecoveryDefaultTypeInternal { - PROTOBUF_CONSTEXPR CDemoRecoveryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CDemoRecoveryDefaultTypeInternal() {} - union { - CDemoRecovery _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CDemoRecoveryDefaultTypeInternal _CDemoRecovery_default_instance_; -static ::_pb::Metadata file_level_metadata_demo_2eproto[27]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_demo_2eproto[1]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_demo_2eproto = nullptr; - -const uint32_t TableStruct_demo_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.demo_file_stamp_), - PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.network_protocol_), - PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.server_name_), - PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.client_name_), - PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.map_name_), - PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.game_directory_), - PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.fullpackets_version_), - PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.allow_clientside_entities_), - PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.allow_clientside_particles_), - PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.addons_), - PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.demo_version_name_), - PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.demo_version_guid_), - PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.build_num_), - PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.game_), - PROTOBUF_FIELD_OFFSET(::CDemoFileHeader, _impl_.server_start_tick_), - 0, - 9, - 1, - 2, - 3, - 4, - 10, - 11, - 12, - 5, - 6, - 7, - 13, - 8, - 14, - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CPlayerInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CPlayerInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CPlayerInfo, _impl_.hero_name_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CPlayerInfo, _impl_.player_name_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CPlayerInfo, _impl_.is_fake_client_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CPlayerInfo, _impl_.steamid_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CPlayerInfo, _impl_.game_team_), - 0, - 1, - 3, - 2, - 4, - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CHeroSelectEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CHeroSelectEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CHeroSelectEvent, _impl_.is_pick_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CHeroSelectEvent, _impl_.team_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo_CHeroSelectEvent, _impl_.hero_id_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.match_id_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.game_mode_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.game_winner_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.player_info_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.leagueid_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.picks_bans_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.radiant_team_id_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.dire_team_id_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.radiant_team_tag_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.dire_team_tag_), - PROTOBUF_FIELD_OFFSET(::CGameInfo_CDotaGameInfo, _impl_.end_time_), - 2, - 3, - 4, - ~0u, - 5, - ~0u, - 6, - 7, - 0, - 1, - 8, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CGameInfo_CCSGameInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGameInfo_CCSGameInfo, _impl_.round_start_ticks_), - PROTOBUF_FIELD_OFFSET(::CGameInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CGameInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGameInfo, _impl_.dota_), - PROTOBUF_FIELD_OFFSET(::CGameInfo, _impl_.cs_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CDemoFileInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDemoFileInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoFileInfo, _impl_.playback_time_), - PROTOBUF_FIELD_OFFSET(::CDemoFileInfo, _impl_.playback_ticks_), - PROTOBUF_FIELD_OFFSET(::CDemoFileInfo, _impl_.playback_frames_), - PROTOBUF_FIELD_OFFSET(::CDemoFileInfo, _impl_.game_info_), - 1, - 2, - 3, - 0, - PROTOBUF_FIELD_OFFSET(::CDemoPacket, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDemoPacket, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoPacket, _impl_.data_), - 0, - PROTOBUF_FIELD_OFFSET(::CDemoFullPacket, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDemoFullPacket, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoFullPacket, _impl_.string_table_), - PROTOBUF_FIELD_OFFSET(::CDemoFullPacket, _impl_.packet_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CDemoSaveGame, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDemoSaveGame, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoSaveGame, _impl_.data_), - PROTOBUF_FIELD_OFFSET(::CDemoSaveGame, _impl_.steam_id_), - PROTOBUF_FIELD_OFFSET(::CDemoSaveGame, _impl_.signature_), - PROTOBUF_FIELD_OFFSET(::CDemoSaveGame, _impl_.version_), - 0, - 1, - 2, - 3, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CDemoSyncTick, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoConsoleCmd, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDemoConsoleCmd, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoConsoleCmd, _impl_.cmdstring_), - 0, - PROTOBUF_FIELD_OFFSET(::CDemoSendTables, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDemoSendTables, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoSendTables, _impl_.data_), - 0, - PROTOBUF_FIELD_OFFSET(::CDemoClassInfo_class_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDemoClassInfo_class_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoClassInfo_class_t, _impl_.class_id_), - PROTOBUF_FIELD_OFFSET(::CDemoClassInfo_class_t, _impl_.network_name_), - PROTOBUF_FIELD_OFFSET(::CDemoClassInfo_class_t, _impl_.table_name_), - 2, - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CDemoClassInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoClassInfo, _impl_.classes_), - PROTOBUF_FIELD_OFFSET(::CDemoCustomData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDemoCustomData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoCustomData, _impl_.callback_index_), - PROTOBUF_FIELD_OFFSET(::CDemoCustomData, _impl_.data_), - 1, - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CDemoCustomDataCallbacks, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoCustomDataCallbacks, _impl_.save_id_), - PROTOBUF_FIELD_OFFSET(::CDemoAnimationHeader, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDemoAnimationHeader, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoAnimationHeader, _impl_.entity_id_), - PROTOBUF_FIELD_OFFSET(::CDemoAnimationHeader, _impl_.tick_), - PROTOBUF_FIELD_OFFSET(::CDemoAnimationHeader, _impl_.data_), - 1, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CDemoAnimationData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDemoAnimationData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoAnimationData, _impl_.entity_id_), - PROTOBUF_FIELD_OFFSET(::CDemoAnimationData, _impl_.start_tick_), - PROTOBUF_FIELD_OFFSET(::CDemoAnimationData, _impl_.end_tick_), - PROTOBUF_FIELD_OFFSET(::CDemoAnimationData, _impl_.data_), - PROTOBUF_FIELD_OFFSET(::CDemoAnimationData, _impl_.data_checksum_), - 1, - 2, - 4, - 0, - 3, - PROTOBUF_FIELD_OFFSET(::CDemoStringTables_items_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDemoStringTables_items_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoStringTables_items_t, _impl_.str_), - PROTOBUF_FIELD_OFFSET(::CDemoStringTables_items_t, _impl_.data_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CDemoStringTables_table_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDemoStringTables_table_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoStringTables_table_t, _impl_.table_name_), - PROTOBUF_FIELD_OFFSET(::CDemoStringTables_table_t, _impl_.items_), - PROTOBUF_FIELD_OFFSET(::CDemoStringTables_table_t, _impl_.items_clientside_), - PROTOBUF_FIELD_OFFSET(::CDemoStringTables_table_t, _impl_.table_flags_), - 0, - ~0u, - ~0u, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CDemoStringTables, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoStringTables, _impl_.tables_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CDemoStop, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoUserCmd, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDemoUserCmd, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoUserCmd, _impl_.cmd_number_), - PROTOBUF_FIELD_OFFSET(::CDemoUserCmd, _impl_.data_), - 1, - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CDemoSpawnGroups, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoSpawnGroups, _impl_.msgs_), - PROTOBUF_FIELD_OFFSET(::CDemoRecovery_DemoInitialSpawnGroupEntry, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDemoRecovery_DemoInitialSpawnGroupEntry, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoRecovery_DemoInitialSpawnGroupEntry, _impl_.spawngrouphandle_), - PROTOBUF_FIELD_OFFSET(::CDemoRecovery_DemoInitialSpawnGroupEntry, _impl_.was_created_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CDemoRecovery, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CDemoRecovery, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CDemoRecovery, _impl_.initial_spawn_group_), - PROTOBUF_FIELD_OFFSET(::CDemoRecovery, _impl_.spawn_group_message_), - 1, - 0, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 21, -1, sizeof(::CDemoFileHeader)}, - { 36, 47, -1, sizeof(::CGameInfo_CDotaGameInfo_CPlayerInfo)}, - { 52, 61, -1, sizeof(::CGameInfo_CDotaGameInfo_CHeroSelectEvent)}, - { 64, 81, -1, sizeof(::CGameInfo_CDotaGameInfo)}, - { 92, -1, -1, sizeof(::CGameInfo_CCSGameInfo)}, - { 99, 107, -1, sizeof(::CGameInfo)}, - { 109, 119, -1, sizeof(::CDemoFileInfo)}, - { 123, 130, -1, sizeof(::CDemoPacket)}, - { 131, 139, -1, sizeof(::CDemoFullPacket)}, - { 141, 151, -1, sizeof(::CDemoSaveGame)}, - { 155, -1, -1, sizeof(::CDemoSyncTick)}, - { 161, 168, -1, sizeof(::CDemoConsoleCmd)}, - { 169, 176, -1, sizeof(::CDemoSendTables)}, - { 177, 186, -1, sizeof(::CDemoClassInfo_class_t)}, - { 189, -1, -1, sizeof(::CDemoClassInfo)}, - { 196, 204, -1, sizeof(::CDemoCustomData)}, - { 206, -1, -1, sizeof(::CDemoCustomDataCallbacks)}, - { 213, 222, -1, sizeof(::CDemoAnimationHeader)}, - { 225, 236, -1, sizeof(::CDemoAnimationData)}, - { 241, 249, -1, sizeof(::CDemoStringTables_items_t)}, - { 251, 261, -1, sizeof(::CDemoStringTables_table_t)}, - { 265, -1, -1, sizeof(::CDemoStringTables)}, - { 272, -1, -1, sizeof(::CDemoStop)}, - { 278, 286, -1, sizeof(::CDemoUserCmd)}, - { 288, -1, -1, sizeof(::CDemoSpawnGroups)}, - { 295, 303, -1, sizeof(::CDemoRecovery_DemoInitialSpawnGroupEntry)}, - { 305, 313, -1, sizeof(::CDemoRecovery)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CDemoFileHeader_default_instance_._instance, - &::_CGameInfo_CDotaGameInfo_CPlayerInfo_default_instance_._instance, - &::_CGameInfo_CDotaGameInfo_CHeroSelectEvent_default_instance_._instance, - &::_CGameInfo_CDotaGameInfo_default_instance_._instance, - &::_CGameInfo_CCSGameInfo_default_instance_._instance, - &::_CGameInfo_default_instance_._instance, - &::_CDemoFileInfo_default_instance_._instance, - &::_CDemoPacket_default_instance_._instance, - &::_CDemoFullPacket_default_instance_._instance, - &::_CDemoSaveGame_default_instance_._instance, - &::_CDemoSyncTick_default_instance_._instance, - &::_CDemoConsoleCmd_default_instance_._instance, - &::_CDemoSendTables_default_instance_._instance, - &::_CDemoClassInfo_class_t_default_instance_._instance, - &::_CDemoClassInfo_default_instance_._instance, - &::_CDemoCustomData_default_instance_._instance, - &::_CDemoCustomDataCallbacks_default_instance_._instance, - &::_CDemoAnimationHeader_default_instance_._instance, - &::_CDemoAnimationData_default_instance_._instance, - &::_CDemoStringTables_items_t_default_instance_._instance, - &::_CDemoStringTables_table_t_default_instance_._instance, - &::_CDemoStringTables_default_instance_._instance, - &::_CDemoStop_default_instance_._instance, - &::_CDemoUserCmd_default_instance_._instance, - &::_CDemoSpawnGroups_default_instance_._instance, - &::_CDemoRecovery_DemoInitialSpawnGroupEntry_default_instance_._instance, - &::_CDemoRecovery_default_instance_._instance, -}; - -const char descriptor_table_protodef_demo_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\ndemo.proto\"\376\002\n\017CDemoFileHeader\022\027\n\017demo" - "_file_stamp\030\001 \002(\t\022\030\n\020network_protocol\030\002 " - "\001(\005\022\023\n\013server_name\030\003 \001(\t\022\023\n\013client_name\030" - "\004 \001(\t\022\020\n\010map_name\030\005 \001(\t\022\026\n\016game_director" - "y\030\006 \001(\t\022\033\n\023fullpackets_version\030\007 \001(\005\022!\n\031" - "allow_clientside_entities\030\010 \001(\010\022\"\n\032allow" - "_clientside_particles\030\t \001(\010\022\016\n\006addons\030\n " - "\001(\t\022\031\n\021demo_version_name\030\013 \001(\t\022\031\n\021demo_v" - "ersion_guid\030\014 \001(\t\022\021\n\tbuild_num\030\r \001(\005\022\014\n\004" - "game\030\016 \001(\t\022\031\n\021server_start_tick\030\017 \001(\005\"\202\005" - "\n\tCGameInfo\022&\n\004dota\030\004 \001(\0132\030.CGameInfo.CD" - "otaGameInfo\022\"\n\002cs\030\005 \001(\0132\026.CGameInfo.CCSG" - "ameInfo\032\376\003\n\rCDotaGameInfo\022\020\n\010match_id\030\001 " - "\001(\004\022\021\n\tgame_mode\030\002 \001(\005\022\023\n\013game_winner\030\003 " - "\001(\005\0229\n\013player_info\030\004 \003(\0132$.CGameInfo.CDo" - "taGameInfo.CPlayerInfo\022\020\n\010leagueid\030\005 \001(\r" - "\022=\n\npicks_bans\030\006 \003(\0132).CGameInfo.CDotaGa" - "meInfo.CHeroSelectEvent\022\027\n\017radiant_team_" - "id\030\007 \001(\r\022\024\n\014dire_team_id\030\010 \001(\r\022\030\n\020radian" - "t_team_tag\030\t \001(\t\022\025\n\rdire_team_tag\030\n \001(\t\022" - "\020\n\010end_time\030\013 \001(\r\032q\n\013CPlayerInfo\022\021\n\thero" - "_name\030\001 \001(\t\022\023\n\013player_name\030\002 \001(\t\022\026\n\016is_f" - "ake_client\030\003 \001(\010\022\017\n\007steamid\030\004 \001(\004\022\021\n\tgam" - "e_team\030\005 \001(\005\032B\n\020CHeroSelectEvent\022\017\n\007is_p" - "ick\030\001 \001(\010\022\014\n\004team\030\002 \001(\r\022\017\n\007hero_id\030\003 \001(\005" - "\032(\n\013CCSGameInfo\022\031\n\021round_start_ticks\030\001 \003" - "(\005\"v\n\rCDemoFileInfo\022\025\n\rplayback_time\030\001 \001" - "(\002\022\026\n\016playback_ticks\030\002 \001(\005\022\027\n\017playback_f" - "rames\030\003 \001(\005\022\035\n\tgame_info\030\004 \001(\0132\n.CGameIn" - "fo\"\033\n\013CDemoPacket\022\014\n\004data\030\003 \001(\014\"Y\n\017CDemo" - "FullPacket\022(\n\014string_table\030\001 \001(\0132\022.CDemo" - "StringTables\022\034\n\006packet\030\002 \001(\0132\014.CDemoPack" - "et\"S\n\rCDemoSaveGame\022\014\n\004data\030\001 \001(\014\022\020\n\010ste" - "am_id\030\002 \001(\006\022\021\n\tsignature\030\003 \001(\006\022\017\n\007versio" - "n\030\004 \001(\005\"\017\n\rCDemoSyncTick\"$\n\017CDemoConsole" - "Cmd\022\021\n\tcmdstring\030\001 \001(\t\"\037\n\017CDemoSendTable" - "s\022\014\n\004data\030\001 \001(\014\"\201\001\n\016CDemoClassInfo\022(\n\007cl" - "asses\030\001 \003(\0132\027.CDemoClassInfo.class_t\032E\n\007" - "class_t\022\020\n\010class_id\030\001 \001(\005\022\024\n\014network_nam" - "e\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\"7\n\017CDemoCust" - "omData\022\026\n\016callback_index\030\001 \001(\005\022\014\n\004data\030\002" - " \001(\014\"+\n\030CDemoCustomDataCallbacks\022\017\n\007save" - "_id\030\001 \003(\t\"E\n\024CDemoAnimationHeader\022\021\n\tent" - "ity_id\030\001 \001(\021\022\014\n\004tick\030\002 \001(\005\022\014\n\004data\030\003 \001(\014" - "\"r\n\022CDemoAnimationData\022\021\n\tentity_id\030\001 \001(" - "\021\022\022\n\nstart_tick\030\002 \001(\005\022\020\n\010end_tick\030\003 \001(\005\022" - "\014\n\004data\030\004 \001(\014\022\025\n\rdata_checksum\030\005 \001(\003\"\373\001\n" - "\021CDemoStringTables\022*\n\006tables\030\001 \003(\0132\032.CDe" - "moStringTables.table_t\032$\n\007items_t\022\013\n\003str" - "\030\001 \001(\t\022\014\n\004data\030\002 \001(\014\032\223\001\n\007table_t\022\022\n\ntabl" - "e_name\030\001 \001(\t\022)\n\005items\030\002 \003(\0132\032.CDemoStrin" - "gTables.items_t\0224\n\020items_clientside\030\003 \003(" - "\0132\032.CDemoStringTables.items_t\022\023\n\013table_f" - "lags\030\004 \001(\005\"\013\n\tCDemoStop\"0\n\014CDemoUserCmd\022" - "\022\n\ncmd_number\030\001 \001(\005\022\014\n\004data\030\002 \001(\014\" \n\020CDe" - "moSpawnGroups\022\014\n\004msgs\030\003 \003(\014\"\301\001\n\rCDemoRec" - "overy\022F\n\023initial_spawn_group\030\001 \001(\0132).CDe" - "moRecovery.DemoInitialSpawnGroupEntry\022\033\n" - "\023spawn_group_message\030\002 \001(\014\032K\n\032DemoInitia" - "lSpawnGroupEntry\022\030\n\020spawngrouphandle\030\001 \001" - "(\r\022\023\n\013was_created\030\002 \001(\010*\306\003\n\rEDemoCommand" - "s\022\026\n\tDEM_Error\020\377\377\377\377\377\377\377\377\377\001\022\014\n\010DEM_Stop\020\000\022" - "\022\n\016DEM_FileHeader\020\001\022\020\n\014DEM_FileInfo\020\002\022\020\n" - "\014DEM_SyncTick\020\003\022\022\n\016DEM_SendTables\020\004\022\021\n\rD" - "EM_ClassInfo\020\005\022\024\n\020DEM_StringTables\020\006\022\016\n\n" - "DEM_Packet\020\007\022\024\n\020DEM_SignonPacket\020\010\022\022\n\016DE" - "M_ConsoleCmd\020\t\022\022\n\016DEM_CustomData\020\n\022\033\n\027DE" - "M_CustomDataCallbacks\020\013\022\017\n\013DEM_UserCmd\020\014" - "\022\022\n\016DEM_FullPacket\020\r\022\020\n\014DEM_SaveGame\020\016\022\023" - "\n\017DEM_SpawnGroups\020\017\022\025\n\021DEM_AnimationData" - "\020\020\022\027\n\023DEM_AnimationHeader\020\021\022\020\n\014DEM_Recov" - "ery\020\022\022\013\n\007DEM_Max\020\023\022\024\n\020DEM_IsCompressed\020@" - ; -static ::_pbi::once_flag descriptor_table_demo_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_demo_2eproto = { - false, false, 2880, descriptor_table_protodef_demo_2eproto, - "demo.proto", - &descriptor_table_demo_2eproto_once, nullptr, 0, 27, - schemas, file_default_instances, TableStruct_demo_2eproto::offsets, - file_level_metadata_demo_2eproto, file_level_enum_descriptors_demo_2eproto, - file_level_service_descriptors_demo_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_demo_2eproto_getter() { - return &descriptor_table_demo_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_demo_2eproto(&descriptor_table_demo_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EDemoCommands_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_demo_2eproto); - return file_level_enum_descriptors_demo_2eproto[0]; -} -bool EDemoCommands_IsValid(int value) { - switch (value) { - case -1: - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - case 16: - case 17: - case 18: - case 19: - case 64: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CDemoFileHeader::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_demo_file_stamp(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_network_protocol(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_server_name(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_client_name(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_map_name(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_game_directory(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_fullpackets_version(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_allow_clientside_entities(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_allow_clientside_particles(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_addons(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_demo_version_name(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_demo_version_guid(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_build_num(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_game(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_server_start_tick(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -CDemoFileHeader::CDemoFileHeader(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoFileHeader) -} -CDemoFileHeader::CDemoFileHeader(const CDemoFileHeader& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoFileHeader* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.demo_file_stamp_){} - , decltype(_impl_.server_name_){} - , decltype(_impl_.client_name_){} - , decltype(_impl_.map_name_){} - , decltype(_impl_.game_directory_){} - , decltype(_impl_.addons_){} - , decltype(_impl_.demo_version_name_){} - , decltype(_impl_.demo_version_guid_){} - , decltype(_impl_.game_){} - , decltype(_impl_.network_protocol_){} - , decltype(_impl_.fullpackets_version_){} - , decltype(_impl_.allow_clientside_entities_){} - , decltype(_impl_.allow_clientside_particles_){} - , decltype(_impl_.build_num_){} - , decltype(_impl_.server_start_tick_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.demo_file_stamp_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.demo_file_stamp_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_demo_file_stamp()) { - _this->_impl_.demo_file_stamp_.Set(from._internal_demo_file_stamp(), - _this->GetArenaForAllocation()); - } - _impl_.server_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.server_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_server_name()) { - _this->_impl_.server_name_.Set(from._internal_server_name(), - _this->GetArenaForAllocation()); - } - _impl_.client_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.client_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_client_name()) { - _this->_impl_.client_name_.Set(from._internal_client_name(), - _this->GetArenaForAllocation()); - } - _impl_.map_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_map_name()) { - _this->_impl_.map_name_.Set(from._internal_map_name(), - _this->GetArenaForAllocation()); - } - _impl_.game_directory_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_directory_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_game_directory()) { - _this->_impl_.game_directory_.Set(from._internal_game_directory(), - _this->GetArenaForAllocation()); - } - _impl_.addons_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.addons_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_addons()) { - _this->_impl_.addons_.Set(from._internal_addons(), - _this->GetArenaForAllocation()); - } - _impl_.demo_version_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.demo_version_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_demo_version_name()) { - _this->_impl_.demo_version_name_.Set(from._internal_demo_version_name(), - _this->GetArenaForAllocation()); - } - _impl_.demo_version_guid_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.demo_version_guid_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_demo_version_guid()) { - _this->_impl_.demo_version_guid_.Set(from._internal_demo_version_guid(), - _this->GetArenaForAllocation()); - } - _impl_.game_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_game()) { - _this->_impl_.game_.Set(from._internal_game(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.network_protocol_, &from._impl_.network_protocol_, - static_cast(reinterpret_cast(&_impl_.server_start_tick_) - - reinterpret_cast(&_impl_.network_protocol_)) + sizeof(_impl_.server_start_tick_)); - // @@protoc_insertion_point(copy_constructor:CDemoFileHeader) -} - -inline void CDemoFileHeader::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.demo_file_stamp_){} - , decltype(_impl_.server_name_){} - , decltype(_impl_.client_name_){} - , decltype(_impl_.map_name_){} - , decltype(_impl_.game_directory_){} - , decltype(_impl_.addons_){} - , decltype(_impl_.demo_version_name_){} - , decltype(_impl_.demo_version_guid_){} - , decltype(_impl_.game_){} - , decltype(_impl_.network_protocol_){0} - , decltype(_impl_.fullpackets_version_){0} - , decltype(_impl_.allow_clientside_entities_){false} - , decltype(_impl_.allow_clientside_particles_){false} - , decltype(_impl_.build_num_){0} - , decltype(_impl_.server_start_tick_){0} - }; - _impl_.demo_file_stamp_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.demo_file_stamp_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.server_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.server_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.client_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.client_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_directory_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_directory_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.addons_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.addons_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.demo_version_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.demo_version_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.demo_version_guid_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.demo_version_guid_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CDemoFileHeader::~CDemoFileHeader() { - // @@protoc_insertion_point(destructor:CDemoFileHeader) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoFileHeader::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.demo_file_stamp_.Destroy(); - _impl_.server_name_.Destroy(); - _impl_.client_name_.Destroy(); - _impl_.map_name_.Destroy(); - _impl_.game_directory_.Destroy(); - _impl_.addons_.Destroy(); - _impl_.demo_version_name_.Destroy(); - _impl_.demo_version_guid_.Destroy(); - _impl_.game_.Destroy(); -} - -void CDemoFileHeader::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoFileHeader::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoFileHeader) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _impl_.demo_file_stamp_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.server_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.client_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.map_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000010u) { - _impl_.game_directory_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000020u) { - _impl_.addons_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000040u) { - _impl_.demo_version_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000080u) { - _impl_.demo_version_guid_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x00000100u) { - _impl_.game_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00007e00u) { - ::memset(&_impl_.network_protocol_, 0, static_cast( - reinterpret_cast(&_impl_.server_start_tick_) - - reinterpret_cast(&_impl_.network_protocol_)) + sizeof(_impl_.server_start_tick_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoFileHeader::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required string demo_file_stamp = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_demo_file_stamp(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDemoFileHeader.demo_file_stamp"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 network_protocol = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_network_protocol(&has_bits); - _impl_.network_protocol_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string server_name = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_server_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDemoFileHeader.server_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string client_name = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_client_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDemoFileHeader.client_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string map_name = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_map_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDemoFileHeader.map_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string game_directory = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_game_directory(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDemoFileHeader.game_directory"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 fullpackets_version = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_fullpackets_version(&has_bits); - _impl_.fullpackets_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool allow_clientside_entities = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_allow_clientside_entities(&has_bits); - _impl_.allow_clientside_entities_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool allow_clientside_particles = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_allow_clientside_particles(&has_bits); - _impl_.allow_clientside_particles_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string addons = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_addons(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDemoFileHeader.addons"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string demo_version_name = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_demo_version_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDemoFileHeader.demo_version_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string demo_version_guid = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - auto str = _internal_mutable_demo_version_guid(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDemoFileHeader.demo_version_guid"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 build_num = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_build_num(&has_bits); - _impl_.build_num_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string game = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - auto str = _internal_mutable_game(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDemoFileHeader.game"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 server_start_tick = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_server_start_tick(&has_bits); - _impl_.server_start_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoFileHeader::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoFileHeader) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required string demo_file_stamp = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_demo_file_stamp().data(), static_cast(this->_internal_demo_file_stamp().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDemoFileHeader.demo_file_stamp"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_demo_file_stamp(), target); - } - - // optional int32 network_protocol = 2; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_network_protocol(), target); - } - - // optional string server_name = 3; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_server_name().data(), static_cast(this->_internal_server_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDemoFileHeader.server_name"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_server_name(), target); - } - - // optional string client_name = 4; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_client_name().data(), static_cast(this->_internal_client_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDemoFileHeader.client_name"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_client_name(), target); - } - - // optional string map_name = 5; - if (cached_has_bits & 0x00000008u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_map_name().data(), static_cast(this->_internal_map_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDemoFileHeader.map_name"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_map_name(), target); - } - - // optional string game_directory = 6; - if (cached_has_bits & 0x00000010u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_game_directory().data(), static_cast(this->_internal_game_directory().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDemoFileHeader.game_directory"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_game_directory(), target); - } - - // optional int32 fullpackets_version = 7; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_fullpackets_version(), target); - } - - // optional bool allow_clientside_entities = 8; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_allow_clientside_entities(), target); - } - - // optional bool allow_clientside_particles = 9; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_allow_clientside_particles(), target); - } - - // optional string addons = 10; - if (cached_has_bits & 0x00000020u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_addons().data(), static_cast(this->_internal_addons().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDemoFileHeader.addons"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_addons(), target); - } - - // optional string demo_version_name = 11; - if (cached_has_bits & 0x00000040u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_demo_version_name().data(), static_cast(this->_internal_demo_version_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDemoFileHeader.demo_version_name"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_demo_version_name(), target); - } - - // optional string demo_version_guid = 12; - if (cached_has_bits & 0x00000080u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_demo_version_guid().data(), static_cast(this->_internal_demo_version_guid().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDemoFileHeader.demo_version_guid"); - target = stream->WriteStringMaybeAliased( - 12, this->_internal_demo_version_guid(), target); - } - - // optional int32 build_num = 13; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_build_num(), target); - } - - // optional string game = 14; - if (cached_has_bits & 0x00000100u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_game().data(), static_cast(this->_internal_game().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDemoFileHeader.game"); - target = stream->WriteStringMaybeAliased( - 14, this->_internal_game(), target); - } - - // optional int32 server_start_tick = 15; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(15, this->_internal_server_start_tick(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoFileHeader) - return target; -} - -size_t CDemoFileHeader::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoFileHeader) - size_t total_size = 0; - - // required string demo_file_stamp = 1; - if (_internal_has_demo_file_stamp()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_demo_file_stamp()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000feu) { - // optional string server_name = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_server_name()); - } - - // optional string client_name = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_client_name()); - } - - // optional string map_name = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_map_name()); - } - - // optional string game_directory = 6; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_game_directory()); - } - - // optional string addons = 10; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_addons()); - } - - // optional string demo_version_name = 11; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_demo_version_name()); - } - - // optional string demo_version_guid = 12; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_demo_version_guid()); - } - - } - if (cached_has_bits & 0x00007f00u) { - // optional string game = 14; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_game()); - } - - // optional int32 network_protocol = 2; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_network_protocol()); - } - - // optional int32 fullpackets_version = 7; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_fullpackets_version()); - } - - // optional bool allow_clientside_entities = 8; - if (cached_has_bits & 0x00000800u) { - total_size += 1 + 1; - } - - // optional bool allow_clientside_particles = 9; - if (cached_has_bits & 0x00001000u) { - total_size += 1 + 1; - } - - // optional int32 build_num = 13; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_build_num()); - } - - // optional int32 server_start_tick = 15; - if (cached_has_bits & 0x00004000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_server_start_tick()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoFileHeader::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoFileHeader::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoFileHeader::GetClassData() const { return &_class_data_; } - - -void CDemoFileHeader::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoFileHeader) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_demo_file_stamp(from._internal_demo_file_stamp()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_server_name(from._internal_server_name()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_client_name(from._internal_client_name()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_map_name(from._internal_map_name()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_set_game_directory(from._internal_game_directory()); - } - if (cached_has_bits & 0x00000020u) { - _this->_internal_set_addons(from._internal_addons()); - } - if (cached_has_bits & 0x00000040u) { - _this->_internal_set_demo_version_name(from._internal_demo_version_name()); - } - if (cached_has_bits & 0x00000080u) { - _this->_internal_set_demo_version_guid(from._internal_demo_version_guid()); - } - } - if (cached_has_bits & 0x00007f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_game(from._internal_game()); - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.network_protocol_ = from._impl_.network_protocol_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.fullpackets_version_ = from._impl_.fullpackets_version_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.allow_clientside_entities_ = from._impl_.allow_clientside_entities_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.allow_clientside_particles_ = from._impl_.allow_clientside_particles_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.build_num_ = from._impl_.build_num_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.server_start_tick_ = from._impl_.server_start_tick_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoFileHeader::CopyFrom(const CDemoFileHeader& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoFileHeader) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoFileHeader::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void CDemoFileHeader::InternalSwap(CDemoFileHeader* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.demo_file_stamp_, lhs_arena, - &other->_impl_.demo_file_stamp_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.server_name_, lhs_arena, - &other->_impl_.server_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.client_name_, lhs_arena, - &other->_impl_.client_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.map_name_, lhs_arena, - &other->_impl_.map_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.game_directory_, lhs_arena, - &other->_impl_.game_directory_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.addons_, lhs_arena, - &other->_impl_.addons_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.demo_version_name_, lhs_arena, - &other->_impl_.demo_version_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.demo_version_guid_, lhs_arena, - &other->_impl_.demo_version_guid_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.game_, lhs_arena, - &other->_impl_.game_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CDemoFileHeader, _impl_.server_start_tick_) - + sizeof(CDemoFileHeader::_impl_.server_start_tick_) - - PROTOBUF_FIELD_OFFSET(CDemoFileHeader, _impl_.network_protocol_)>( - reinterpret_cast(&_impl_.network_protocol_), - reinterpret_cast(&other->_impl_.network_protocol_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoFileHeader::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[0]); -} - -// =================================================================== - -class CGameInfo_CDotaGameInfo_CPlayerInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_hero_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_player_name(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_is_fake_client(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_game_team(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CGameInfo_CDotaGameInfo_CPlayerInfo::CGameInfo_CDotaGameInfo_CPlayerInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CGameInfo.CDotaGameInfo.CPlayerInfo) -} -CGameInfo_CDotaGameInfo_CPlayerInfo::CGameInfo_CDotaGameInfo_CPlayerInfo(const CGameInfo_CDotaGameInfo_CPlayerInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CGameInfo_CDotaGameInfo_CPlayerInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hero_name_){} - , decltype(_impl_.player_name_){} - , decltype(_impl_.steamid_){} - , decltype(_impl_.is_fake_client_){} - , decltype(_impl_.game_team_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.hero_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.hero_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_hero_name()) { - _this->_impl_.hero_name_.Set(from._internal_hero_name(), - _this->GetArenaForAllocation()); - } - _impl_.player_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.player_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_player_name()) { - _this->_impl_.player_name_.Set(from._internal_player_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, - static_cast(reinterpret_cast(&_impl_.game_team_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.game_team_)); - // @@protoc_insertion_point(copy_constructor:CGameInfo.CDotaGameInfo.CPlayerInfo) -} - -inline void CGameInfo_CDotaGameInfo_CPlayerInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hero_name_){} - , decltype(_impl_.player_name_){} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.is_fake_client_){false} - , decltype(_impl_.game_team_){0} - }; - _impl_.hero_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.hero_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.player_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.player_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CGameInfo_CDotaGameInfo_CPlayerInfo::~CGameInfo_CDotaGameInfo_CPlayerInfo() { - // @@protoc_insertion_point(destructor:CGameInfo.CDotaGameInfo.CPlayerInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CGameInfo_CDotaGameInfo_CPlayerInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.hero_name_.Destroy(); - _impl_.player_name_.Destroy(); -} - -void CGameInfo_CDotaGameInfo_CPlayerInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CGameInfo_CDotaGameInfo_CPlayerInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CGameInfo.CDotaGameInfo.CPlayerInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.hero_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.player_name_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000001cu) { - ::memset(&_impl_.steamid_, 0, static_cast( - reinterpret_cast(&_impl_.game_team_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.game_team_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CGameInfo_CDotaGameInfo_CPlayerInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string hero_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_hero_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CGameInfo.CDotaGameInfo.CPlayerInfo.hero_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string player_name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_player_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CGameInfo.CDotaGameInfo.CPlayerInfo.player_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool is_fake_client = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_is_fake_client(&has_bits); - _impl_.is_fake_client_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 steamid = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 game_team = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_game_team(&has_bits); - _impl_.game_team_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CGameInfo_CDotaGameInfo_CPlayerInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CGameInfo.CDotaGameInfo.CPlayerInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string hero_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_hero_name().data(), static_cast(this->_internal_hero_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CGameInfo.CDotaGameInfo.CPlayerInfo.hero_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_hero_name(), target); - } - - // optional string player_name = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_player_name().data(), static_cast(this->_internal_player_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CGameInfo.CDotaGameInfo.CPlayerInfo.player_name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_player_name(), target); - } - - // optional bool is_fake_client = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_is_fake_client(), target); - } - - // optional uint64 steamid = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_steamid(), target); - } - - // optional int32 game_team = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_game_team(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CGameInfo.CDotaGameInfo.CPlayerInfo) - return target; -} - -size_t CGameInfo_CDotaGameInfo_CPlayerInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CGameInfo.CDotaGameInfo.CPlayerInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional string hero_name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_hero_name()); - } - - // optional string player_name = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_player_name()); - } - - // optional uint64 steamid = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_steamid()); - } - - // optional bool is_fake_client = 3; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - // optional int32 game_team = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_game_team()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameInfo_CDotaGameInfo_CPlayerInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CGameInfo_CDotaGameInfo_CPlayerInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameInfo_CDotaGameInfo_CPlayerInfo::GetClassData() const { return &_class_data_; } - - -void CGameInfo_CDotaGameInfo_CPlayerInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CGameInfo.CDotaGameInfo.CPlayerInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_hero_name(from._internal_hero_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_player_name(from._internal_player_name()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.is_fake_client_ = from._impl_.is_fake_client_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.game_team_ = from._impl_.game_team_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CGameInfo_CDotaGameInfo_CPlayerInfo::CopyFrom(const CGameInfo_CDotaGameInfo_CPlayerInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CGameInfo.CDotaGameInfo.CPlayerInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CGameInfo_CDotaGameInfo_CPlayerInfo::IsInitialized() const { - return true; -} - -void CGameInfo_CDotaGameInfo_CPlayerInfo::InternalSwap(CGameInfo_CDotaGameInfo_CPlayerInfo* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.hero_name_, lhs_arena, - &other->_impl_.hero_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.player_name_, lhs_arena, - &other->_impl_.player_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CGameInfo_CDotaGameInfo_CPlayerInfo, _impl_.game_team_) - + sizeof(CGameInfo_CDotaGameInfo_CPlayerInfo::_impl_.game_team_) - - PROTOBUF_FIELD_OFFSET(CGameInfo_CDotaGameInfo_CPlayerInfo, _impl_.steamid_)>( - reinterpret_cast(&_impl_.steamid_), - reinterpret_cast(&other->_impl_.steamid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CGameInfo_CDotaGameInfo_CPlayerInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[1]); -} - -// =================================================================== - -class CGameInfo_CDotaGameInfo_CHeroSelectEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_is_pick(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_team(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_hero_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CGameInfo_CDotaGameInfo_CHeroSelectEvent::CGameInfo_CDotaGameInfo_CHeroSelectEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CGameInfo.CDotaGameInfo.CHeroSelectEvent) -} -CGameInfo_CDotaGameInfo_CHeroSelectEvent::CGameInfo_CDotaGameInfo_CHeroSelectEvent(const CGameInfo_CDotaGameInfo_CHeroSelectEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CGameInfo_CDotaGameInfo_CHeroSelectEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.is_pick_){} - , decltype(_impl_.team_){} - , decltype(_impl_.hero_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.is_pick_, &from._impl_.is_pick_, - static_cast(reinterpret_cast(&_impl_.hero_id_) - - reinterpret_cast(&_impl_.is_pick_)) + sizeof(_impl_.hero_id_)); - // @@protoc_insertion_point(copy_constructor:CGameInfo.CDotaGameInfo.CHeroSelectEvent) -} - -inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.is_pick_){false} - , decltype(_impl_.team_){0u} - , decltype(_impl_.hero_id_){0} - }; -} - -CGameInfo_CDotaGameInfo_CHeroSelectEvent::~CGameInfo_CDotaGameInfo_CHeroSelectEvent() { - // @@protoc_insertion_point(destructor:CGameInfo.CDotaGameInfo.CHeroSelectEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CGameInfo_CDotaGameInfo_CHeroSelectEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CGameInfo_CDotaGameInfo_CHeroSelectEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CGameInfo.CDotaGameInfo.CHeroSelectEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.is_pick_, 0, static_cast( - reinterpret_cast(&_impl_.hero_id_) - - reinterpret_cast(&_impl_.is_pick_)) + sizeof(_impl_.hero_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CGameInfo_CDotaGameInfo_CHeroSelectEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool is_pick = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_is_pick(&has_bits); - _impl_.is_pick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 team = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_team(&has_bits); - _impl_.team_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 hero_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_hero_id(&has_bits); - _impl_.hero_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CGameInfo_CDotaGameInfo_CHeroSelectEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CGameInfo.CDotaGameInfo.CHeroSelectEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool is_pick = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_is_pick(), target); - } - - // optional uint32 team = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_team(), target); - } - - // optional int32 hero_id = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_hero_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CGameInfo.CDotaGameInfo.CHeroSelectEvent) - return target; -} - -size_t CGameInfo_CDotaGameInfo_CHeroSelectEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CGameInfo.CDotaGameInfo.CHeroSelectEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional bool is_pick = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - // optional uint32 team = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_team()); - } - - // optional int32 hero_id = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_hero_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameInfo_CDotaGameInfo_CHeroSelectEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CGameInfo_CDotaGameInfo_CHeroSelectEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameInfo_CDotaGameInfo_CHeroSelectEvent::GetClassData() const { return &_class_data_; } - - -void CGameInfo_CDotaGameInfo_CHeroSelectEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CGameInfo.CDotaGameInfo.CHeroSelectEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.is_pick_ = from._impl_.is_pick_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.team_ = from._impl_.team_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.hero_id_ = from._impl_.hero_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CGameInfo_CDotaGameInfo_CHeroSelectEvent::CopyFrom(const CGameInfo_CDotaGameInfo_CHeroSelectEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CGameInfo.CDotaGameInfo.CHeroSelectEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CGameInfo_CDotaGameInfo_CHeroSelectEvent::IsInitialized() const { - return true; -} - -void CGameInfo_CDotaGameInfo_CHeroSelectEvent::InternalSwap(CGameInfo_CDotaGameInfo_CHeroSelectEvent* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CGameInfo_CDotaGameInfo_CHeroSelectEvent, _impl_.hero_id_) - + sizeof(CGameInfo_CDotaGameInfo_CHeroSelectEvent::_impl_.hero_id_) - - PROTOBUF_FIELD_OFFSET(CGameInfo_CDotaGameInfo_CHeroSelectEvent, _impl_.is_pick_)>( - reinterpret_cast(&_impl_.is_pick_), - reinterpret_cast(&other->_impl_.is_pick_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CGameInfo_CDotaGameInfo_CHeroSelectEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[2]); -} - -// =================================================================== - -class CGameInfo_CDotaGameInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_match_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_game_mode(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_game_winner(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_leagueid(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_radiant_team_id(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_dire_team_id(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_radiant_team_tag(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_dire_team_tag(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_end_time(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } -}; - -CGameInfo_CDotaGameInfo::CGameInfo_CDotaGameInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CGameInfo.CDotaGameInfo) -} -CGameInfo_CDotaGameInfo::CGameInfo_CDotaGameInfo(const CGameInfo_CDotaGameInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CGameInfo_CDotaGameInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.player_info_){from._impl_.player_info_} - , decltype(_impl_.picks_bans_){from._impl_.picks_bans_} - , decltype(_impl_.radiant_team_tag_){} - , decltype(_impl_.dire_team_tag_){} - , decltype(_impl_.match_id_){} - , decltype(_impl_.game_mode_){} - , decltype(_impl_.game_winner_){} - , decltype(_impl_.leagueid_){} - , decltype(_impl_.radiant_team_id_){} - , decltype(_impl_.dire_team_id_){} - , decltype(_impl_.end_time_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.radiant_team_tag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.radiant_team_tag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_radiant_team_tag()) { - _this->_impl_.radiant_team_tag_.Set(from._internal_radiant_team_tag(), - _this->GetArenaForAllocation()); - } - _impl_.dire_team_tag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dire_team_tag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_dire_team_tag()) { - _this->_impl_.dire_team_tag_.Set(from._internal_dire_team_tag(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.match_id_, &from._impl_.match_id_, - static_cast(reinterpret_cast(&_impl_.end_time_) - - reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.end_time_)); - // @@protoc_insertion_point(copy_constructor:CGameInfo.CDotaGameInfo) -} - -inline void CGameInfo_CDotaGameInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.player_info_){arena} - , decltype(_impl_.picks_bans_){arena} - , decltype(_impl_.radiant_team_tag_){} - , decltype(_impl_.dire_team_tag_){} - , decltype(_impl_.match_id_){uint64_t{0u}} - , decltype(_impl_.game_mode_){0} - , decltype(_impl_.game_winner_){0} - , decltype(_impl_.leagueid_){0u} - , decltype(_impl_.radiant_team_id_){0u} - , decltype(_impl_.dire_team_id_){0u} - , decltype(_impl_.end_time_){0u} - }; - _impl_.radiant_team_tag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.radiant_team_tag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dire_team_tag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dire_team_tag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CGameInfo_CDotaGameInfo::~CGameInfo_CDotaGameInfo() { - // @@protoc_insertion_point(destructor:CGameInfo.CDotaGameInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CGameInfo_CDotaGameInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.player_info_.~RepeatedPtrField(); - _impl_.picks_bans_.~RepeatedPtrField(); - _impl_.radiant_team_tag_.Destroy(); - _impl_.dire_team_tag_.Destroy(); -} - -void CGameInfo_CDotaGameInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CGameInfo_CDotaGameInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CGameInfo.CDotaGameInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.player_info_.Clear(); - _impl_.picks_bans_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.radiant_team_tag_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.dire_team_tag_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000fcu) { - ::memset(&_impl_.match_id_, 0, static_cast( - reinterpret_cast(&_impl_.dire_team_id_) - - reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.dire_team_id_)); - } - _impl_.end_time_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CGameInfo_CDotaGameInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 match_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_match_id(&has_bits); - _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 game_mode = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_game_mode(&has_bits); - _impl_.game_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 game_winner = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_game_winner(&has_bits); - _impl_.game_winner_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_player_info(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 leagueid = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_leagueid(&has_bits); - _impl_.leagueid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_picks_bans(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 radiant_team_id = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_radiant_team_id(&has_bits); - _impl_.radiant_team_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 dire_team_id = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_dire_team_id(&has_bits); - _impl_.dire_team_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string radiant_team_tag = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_radiant_team_tag(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CGameInfo.CDotaGameInfo.radiant_team_tag"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string dire_team_tag = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_dire_team_tag(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CGameInfo.CDotaGameInfo.dire_team_tag"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 end_time = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_end_time(&has_bits); - _impl_.end_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CGameInfo_CDotaGameInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CGameInfo.CDotaGameInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 match_id = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_match_id(), target); - } - - // optional int32 game_mode = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_game_mode(), target); - } - - // optional int32 game_winner = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_game_winner(), target); - } - - // repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4; - for (unsigned i = 0, - n = static_cast(this->_internal_player_info_size()); i < n; i++) { - const auto& repfield = this->_internal_player_info(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 leagueid = 5; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_leagueid(), target); - } - - // repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6; - for (unsigned i = 0, - n = static_cast(this->_internal_picks_bans_size()); i < n; i++) { - const auto& repfield = this->_internal_picks_bans(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 radiant_team_id = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_radiant_team_id(), target); - } - - // optional uint32 dire_team_id = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_dire_team_id(), target); - } - - // optional string radiant_team_tag = 9; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_radiant_team_tag().data(), static_cast(this->_internal_radiant_team_tag().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CGameInfo.CDotaGameInfo.radiant_team_tag"); - target = stream->WriteStringMaybeAliased( - 9, this->_internal_radiant_team_tag(), target); - } - - // optional string dire_team_tag = 10; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_dire_team_tag().data(), static_cast(this->_internal_dire_team_tag().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CGameInfo.CDotaGameInfo.dire_team_tag"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_dire_team_tag(), target); - } - - // optional uint32 end_time = 11; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_end_time(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CGameInfo.CDotaGameInfo) - return target; -} - -size_t CGameInfo_CDotaGameInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CGameInfo.CDotaGameInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4; - total_size += 1UL * this->_internal_player_info_size(); - for (const auto& msg : this->_impl_.player_info_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6; - total_size += 1UL * this->_internal_picks_bans_size(); - for (const auto& msg : this->_impl_.picks_bans_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string radiant_team_tag = 9; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_radiant_team_tag()); - } - - // optional string dire_team_tag = 10; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_dire_team_tag()); - } - - // optional uint64 match_id = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); - } - - // optional int32 game_mode = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_game_mode()); - } - - // optional int32 game_winner = 3; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_game_winner()); - } - - // optional uint32 leagueid = 5; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_leagueid()); - } - - // optional uint32 radiant_team_id = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_radiant_team_id()); - } - - // optional uint32 dire_team_id = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_dire_team_id()); - } - - } - // optional uint32 end_time = 11; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_end_time()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameInfo_CDotaGameInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CGameInfo_CDotaGameInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameInfo_CDotaGameInfo::GetClassData() const { return &_class_data_; } - - -void CGameInfo_CDotaGameInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CGameInfo.CDotaGameInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.player_info_.MergeFrom(from._impl_.player_info_); - _this->_impl_.picks_bans_.MergeFrom(from._impl_.picks_bans_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_radiant_team_tag(from._internal_radiant_team_tag()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_dire_team_tag(from._internal_dire_team_tag()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.match_id_ = from._impl_.match_id_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.game_mode_ = from._impl_.game_mode_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.game_winner_ = from._impl_.game_winner_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.leagueid_ = from._impl_.leagueid_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.radiant_team_id_ = from._impl_.radiant_team_id_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.dire_team_id_ = from._impl_.dire_team_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_end_time(from._internal_end_time()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CGameInfo_CDotaGameInfo::CopyFrom(const CGameInfo_CDotaGameInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CGameInfo.CDotaGameInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CGameInfo_CDotaGameInfo::IsInitialized() const { - return true; -} - -void CGameInfo_CDotaGameInfo::InternalSwap(CGameInfo_CDotaGameInfo* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.player_info_.InternalSwap(&other->_impl_.player_info_); - _impl_.picks_bans_.InternalSwap(&other->_impl_.picks_bans_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.radiant_team_tag_, lhs_arena, - &other->_impl_.radiant_team_tag_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.dire_team_tag_, lhs_arena, - &other->_impl_.dire_team_tag_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CGameInfo_CDotaGameInfo, _impl_.end_time_) - + sizeof(CGameInfo_CDotaGameInfo::_impl_.end_time_) - - PROTOBUF_FIELD_OFFSET(CGameInfo_CDotaGameInfo, _impl_.match_id_)>( - reinterpret_cast(&_impl_.match_id_), - reinterpret_cast(&other->_impl_.match_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CGameInfo_CDotaGameInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[3]); -} - -// =================================================================== - -class CGameInfo_CCSGameInfo::_Internal { - public: -}; - -CGameInfo_CCSGameInfo::CGameInfo_CCSGameInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CGameInfo.CCSGameInfo) -} -CGameInfo_CCSGameInfo::CGameInfo_CCSGameInfo(const CGameInfo_CCSGameInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CGameInfo_CCSGameInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.round_start_ticks_){from._impl_.round_start_ticks_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CGameInfo.CCSGameInfo) -} - -inline void CGameInfo_CCSGameInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.round_start_ticks_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CGameInfo_CCSGameInfo::~CGameInfo_CCSGameInfo() { - // @@protoc_insertion_point(destructor:CGameInfo.CCSGameInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CGameInfo_CCSGameInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.round_start_ticks_.~RepeatedField(); -} - -void CGameInfo_CCSGameInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CGameInfo_CCSGameInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CGameInfo.CCSGameInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.round_start_ticks_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CGameInfo_CCSGameInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated int32 round_start_ticks = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_round_start_ticks(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<8>(ptr)); - } else if (static_cast(tag) == 10) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_round_start_ticks(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CGameInfo_CCSGameInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CGameInfo.CCSGameInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated int32 round_start_ticks = 1; - for (int i = 0, n = this->_internal_round_start_ticks_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_round_start_ticks(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CGameInfo.CCSGameInfo) - return target; -} - -size_t CGameInfo_CCSGameInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CGameInfo.CCSGameInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated int32 round_start_ticks = 1; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.round_start_ticks_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_round_start_ticks_size()); - total_size += data_size; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameInfo_CCSGameInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CGameInfo_CCSGameInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameInfo_CCSGameInfo::GetClassData() const { return &_class_data_; } - - -void CGameInfo_CCSGameInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CGameInfo.CCSGameInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.round_start_ticks_.MergeFrom(from._impl_.round_start_ticks_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CGameInfo_CCSGameInfo::CopyFrom(const CGameInfo_CCSGameInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CGameInfo.CCSGameInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CGameInfo_CCSGameInfo::IsInitialized() const { - return true; -} - -void CGameInfo_CCSGameInfo::InternalSwap(CGameInfo_CCSGameInfo* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.round_start_ticks_.InternalSwap(&other->_impl_.round_start_ticks_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CGameInfo_CCSGameInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[4]); -} - -// =================================================================== - -class CGameInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CGameInfo_CDotaGameInfo& dota(const CGameInfo* msg); - static void set_has_dota(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CGameInfo_CCSGameInfo& cs(const CGameInfo* msg); - static void set_has_cs(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CGameInfo_CDotaGameInfo& -CGameInfo::_Internal::dota(const CGameInfo* msg) { - return *msg->_impl_.dota_; -} -const ::CGameInfo_CCSGameInfo& -CGameInfo::_Internal::cs(const CGameInfo* msg) { - return *msg->_impl_.cs_; -} -CGameInfo::CGameInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CGameInfo) -} -CGameInfo::CGameInfo(const CGameInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CGameInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.dota_){nullptr} - , decltype(_impl_.cs_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_dota()) { - _this->_impl_.dota_ = new ::CGameInfo_CDotaGameInfo(*from._impl_.dota_); - } - if (from._internal_has_cs()) { - _this->_impl_.cs_ = new ::CGameInfo_CCSGameInfo(*from._impl_.cs_); - } - // @@protoc_insertion_point(copy_constructor:CGameInfo) -} - -inline void CGameInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.dota_){nullptr} - , decltype(_impl_.cs_){nullptr} - }; -} - -CGameInfo::~CGameInfo() { - // @@protoc_insertion_point(destructor:CGameInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CGameInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.dota_; - if (this != internal_default_instance()) delete _impl_.cs_; -} - -void CGameInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CGameInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CGameInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.dota_ != nullptr); - _impl_.dota_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.cs_ != nullptr); - _impl_.cs_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CGameInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CGameInfo.CDotaGameInfo dota = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_dota(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CGameInfo.CCSGameInfo cs = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_cs(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CGameInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CGameInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CGameInfo.CDotaGameInfo dota = 4; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::dota(this), - _Internal::dota(this).GetCachedSize(), target, stream); - } - - // optional .CGameInfo.CCSGameInfo cs = 5; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::cs(this), - _Internal::cs(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CGameInfo) - return target; -} - -size_t CGameInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CGameInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CGameInfo.CDotaGameInfo dota = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.dota_); - } - - // optional .CGameInfo.CCSGameInfo cs = 5; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cs_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CGameInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameInfo::GetClassData() const { return &_class_data_; } - - -void CGameInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CGameInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_dota()->::CGameInfo_CDotaGameInfo::MergeFrom( - from._internal_dota()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_cs()->::CGameInfo_CCSGameInfo::MergeFrom( - from._internal_cs()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CGameInfo::CopyFrom(const CGameInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CGameInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CGameInfo::IsInitialized() const { - return true; -} - -void CGameInfo::InternalSwap(CGameInfo* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CGameInfo, _impl_.cs_) - + sizeof(CGameInfo::_impl_.cs_) - - PROTOBUF_FIELD_OFFSET(CGameInfo, _impl_.dota_)>( - reinterpret_cast(&_impl_.dota_), - reinterpret_cast(&other->_impl_.dota_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CGameInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[5]); -} - -// =================================================================== - -class CDemoFileInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_playback_time(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_playback_ticks(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_playback_frames(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CGameInfo& game_info(const CDemoFileInfo* msg); - static void set_has_game_info(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CGameInfo& -CDemoFileInfo::_Internal::game_info(const CDemoFileInfo* msg) { - return *msg->_impl_.game_info_; -} -CDemoFileInfo::CDemoFileInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoFileInfo) -} -CDemoFileInfo::CDemoFileInfo(const CDemoFileInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoFileInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.game_info_){nullptr} - , decltype(_impl_.playback_time_){} - , decltype(_impl_.playback_ticks_){} - , decltype(_impl_.playback_frames_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_game_info()) { - _this->_impl_.game_info_ = new ::CGameInfo(*from._impl_.game_info_); - } - ::memcpy(&_impl_.playback_time_, &from._impl_.playback_time_, - static_cast(reinterpret_cast(&_impl_.playback_frames_) - - reinterpret_cast(&_impl_.playback_time_)) + sizeof(_impl_.playback_frames_)); - // @@protoc_insertion_point(copy_constructor:CDemoFileInfo) -} - -inline void CDemoFileInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.game_info_){nullptr} - , decltype(_impl_.playback_time_){0} - , decltype(_impl_.playback_ticks_){0} - , decltype(_impl_.playback_frames_){0} - }; -} - -CDemoFileInfo::~CDemoFileInfo() { - // @@protoc_insertion_point(destructor:CDemoFileInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoFileInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.game_info_; -} - -void CDemoFileInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoFileInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoFileInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.game_info_ != nullptr); - _impl_.game_info_->Clear(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.playback_time_, 0, static_cast( - reinterpret_cast(&_impl_.playback_frames_) - - reinterpret_cast(&_impl_.playback_time_)) + sizeof(_impl_.playback_frames_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoFileInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float playback_time = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_playback_time(&has_bits); - _impl_.playback_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 playback_ticks = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_playback_ticks(&has_bits); - _impl_.playback_ticks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 playback_frames = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_playback_frames(&has_bits); - _impl_.playback_frames_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CGameInfo game_info = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_game_info(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoFileInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoFileInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float playback_time = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_playback_time(), target); - } - - // optional int32 playback_ticks = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_playback_ticks(), target); - } - - // optional int32 playback_frames = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_playback_frames(), target); - } - - // optional .CGameInfo game_info = 4; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::game_info(this), - _Internal::game_info(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoFileInfo) - return target; -} - -size_t CDemoFileInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoFileInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional .CGameInfo game_info = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.game_info_); - } - - // optional float playback_time = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional int32 playback_ticks = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playback_ticks()); - } - - // optional int32 playback_frames = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playback_frames()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoFileInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoFileInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoFileInfo::GetClassData() const { return &_class_data_; } - - -void CDemoFileInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoFileInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_game_info()->::CGameInfo::MergeFrom( - from._internal_game_info()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.playback_time_ = from._impl_.playback_time_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.playback_ticks_ = from._impl_.playback_ticks_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.playback_frames_ = from._impl_.playback_frames_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoFileInfo::CopyFrom(const CDemoFileInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoFileInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoFileInfo::IsInitialized() const { - return true; -} - -void CDemoFileInfo::InternalSwap(CDemoFileInfo* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CDemoFileInfo, _impl_.playback_frames_) - + sizeof(CDemoFileInfo::_impl_.playback_frames_) - - PROTOBUF_FIELD_OFFSET(CDemoFileInfo, _impl_.game_info_)>( - reinterpret_cast(&_impl_.game_info_), - reinterpret_cast(&other->_impl_.game_info_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoFileInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[6]); -} - -// =================================================================== - -class CDemoPacket::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CDemoPacket::CDemoPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoPacket) -} -CDemoPacket::CDemoPacket(const CDemoPacket& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoPacket* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CDemoPacket) -} - -inline void CDemoPacket::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - }; - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CDemoPacket::~CDemoPacket() { - // @@protoc_insertion_point(destructor:CDemoPacket) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoPacket::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_.Destroy(); -} - -void CDemoPacket::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoPacket::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoPacket) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoPacket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes data = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoPacket::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoPacket) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes data = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 3, this->_internal_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoPacket) - return target; -} - -size_t CDemoPacket::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoPacket) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bytes data = 3; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoPacket::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoPacket::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoPacket::GetClassData() const { return &_class_data_; } - - -void CDemoPacket::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoPacket) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_data()) { - _this->_internal_set_data(from._internal_data()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoPacket::CopyFrom(const CDemoPacket& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoPacket) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoPacket::IsInitialized() const { - return true; -} - -void CDemoPacket::InternalSwap(CDemoPacket* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoPacket::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[7]); -} - -// =================================================================== - -class CDemoFullPacket::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CDemoStringTables& string_table(const CDemoFullPacket* msg); - static void set_has_string_table(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CDemoPacket& packet(const CDemoFullPacket* msg); - static void set_has_packet(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CDemoStringTables& -CDemoFullPacket::_Internal::string_table(const CDemoFullPacket* msg) { - return *msg->_impl_.string_table_; -} -const ::CDemoPacket& -CDemoFullPacket::_Internal::packet(const CDemoFullPacket* msg) { - return *msg->_impl_.packet_; -} -CDemoFullPacket::CDemoFullPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoFullPacket) -} -CDemoFullPacket::CDemoFullPacket(const CDemoFullPacket& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoFullPacket* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.string_table_){nullptr} - , decltype(_impl_.packet_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_string_table()) { - _this->_impl_.string_table_ = new ::CDemoStringTables(*from._impl_.string_table_); - } - if (from._internal_has_packet()) { - _this->_impl_.packet_ = new ::CDemoPacket(*from._impl_.packet_); - } - // @@protoc_insertion_point(copy_constructor:CDemoFullPacket) -} - -inline void CDemoFullPacket::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.string_table_){nullptr} - , decltype(_impl_.packet_){nullptr} - }; -} - -CDemoFullPacket::~CDemoFullPacket() { - // @@protoc_insertion_point(destructor:CDemoFullPacket) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoFullPacket::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.string_table_; - if (this != internal_default_instance()) delete _impl_.packet_; -} - -void CDemoFullPacket::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoFullPacket::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoFullPacket) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.string_table_ != nullptr); - _impl_.string_table_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.packet_ != nullptr); - _impl_.packet_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoFullPacket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CDemoStringTables string_table = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_string_table(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CDemoPacket packet = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_packet(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoFullPacket::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoFullPacket) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CDemoStringTables string_table = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::string_table(this), - _Internal::string_table(this).GetCachedSize(), target, stream); - } - - // optional .CDemoPacket packet = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::packet(this), - _Internal::packet(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoFullPacket) - return target; -} - -size_t CDemoFullPacket::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoFullPacket) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CDemoStringTables string_table = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.string_table_); - } - - // optional .CDemoPacket packet = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.packet_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoFullPacket::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoFullPacket::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoFullPacket::GetClassData() const { return &_class_data_; } - - -void CDemoFullPacket::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoFullPacket) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_string_table()->::CDemoStringTables::MergeFrom( - from._internal_string_table()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_packet()->::CDemoPacket::MergeFrom( - from._internal_packet()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoFullPacket::CopyFrom(const CDemoFullPacket& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoFullPacket) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoFullPacket::IsInitialized() const { - return true; -} - -void CDemoFullPacket::InternalSwap(CDemoFullPacket* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CDemoFullPacket, _impl_.packet_) - + sizeof(CDemoFullPacket::_impl_.packet_) - - PROTOBUF_FIELD_OFFSET(CDemoFullPacket, _impl_.string_table_)>( - reinterpret_cast(&_impl_.string_table_), - reinterpret_cast(&other->_impl_.string_table_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoFullPacket::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[8]); -} - -// =================================================================== - -class CDemoSaveGame::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_signature(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_version(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CDemoSaveGame::CDemoSaveGame(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoSaveGame) -} -CDemoSaveGame::CDemoSaveGame(const CDemoSaveGame& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoSaveGame* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.steam_id_){} - , decltype(_impl_.signature_){} - , decltype(_impl_.version_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.steam_id_, &from._impl_.steam_id_, - static_cast(reinterpret_cast(&_impl_.version_) - - reinterpret_cast(&_impl_.steam_id_)) + sizeof(_impl_.version_)); - // @@protoc_insertion_point(copy_constructor:CDemoSaveGame) -} - -inline void CDemoSaveGame::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.steam_id_){uint64_t{0u}} - , decltype(_impl_.signature_){uint64_t{0u}} - , decltype(_impl_.version_){0} - }; - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CDemoSaveGame::~CDemoSaveGame() { - // @@protoc_insertion_point(destructor:CDemoSaveGame) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoSaveGame::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_.Destroy(); -} - -void CDemoSaveGame::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoSaveGame::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoSaveGame) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.steam_id_, 0, static_cast( - reinterpret_cast(&_impl_.version_) - - reinterpret_cast(&_impl_.steam_id_)) + sizeof(_impl_.version_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoSaveGame::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes data = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 steam_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_steam_id(&has_bits); - _impl_.steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional fixed64 signature = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_signature(&has_bits); - _impl_.signature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional int32 version = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_version(&has_bits); - _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoSaveGame::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoSaveGame) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes data = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_data(), target); - } - - // optional fixed64 steam_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_steam_id(), target); - } - - // optional fixed64 signature = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_signature(), target); - } - - // optional int32 version = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_version(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoSaveGame) - return target; -} - -size_t CDemoSaveGame::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoSaveGame) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional bytes data = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - // optional fixed64 steam_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - // optional fixed64 signature = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 8; - } - - // optional int32 version = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_version()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoSaveGame::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoSaveGame::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoSaveGame::GetClassData() const { return &_class_data_; } - - -void CDemoSaveGame::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoSaveGame) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_data(from._internal_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.steam_id_ = from._impl_.steam_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.signature_ = from._impl_.signature_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.version_ = from._impl_.version_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoSaveGame::CopyFrom(const CDemoSaveGame& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoSaveGame) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoSaveGame::IsInitialized() const { - return true; -} - -void CDemoSaveGame::InternalSwap(CDemoSaveGame* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CDemoSaveGame, _impl_.version_) - + sizeof(CDemoSaveGame::_impl_.version_) - - PROTOBUF_FIELD_OFFSET(CDemoSaveGame, _impl_.steam_id_)>( - reinterpret_cast(&_impl_.steam_id_), - reinterpret_cast(&other->_impl_.steam_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoSaveGame::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[9]); -} - -// =================================================================== - -class CDemoSyncTick::_Internal { - public: -}; - -CDemoSyncTick::CDemoSyncTick(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CDemoSyncTick) -} -CDemoSyncTick::CDemoSyncTick(const CDemoSyncTick& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CDemoSyncTick* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CDemoSyncTick) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoSyncTick::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoSyncTick::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoSyncTick::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[10]); -} - -// =================================================================== - -class CDemoConsoleCmd::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_cmdstring(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CDemoConsoleCmd::CDemoConsoleCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoConsoleCmd) -} -CDemoConsoleCmd::CDemoConsoleCmd(const CDemoConsoleCmd& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoConsoleCmd* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cmdstring_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.cmdstring_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cmdstring_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_cmdstring()) { - _this->_impl_.cmdstring_.Set(from._internal_cmdstring(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CDemoConsoleCmd) -} - -inline void CDemoConsoleCmd::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cmdstring_){} - }; - _impl_.cmdstring_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cmdstring_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CDemoConsoleCmd::~CDemoConsoleCmd() { - // @@protoc_insertion_point(destructor:CDemoConsoleCmd) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoConsoleCmd::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.cmdstring_.Destroy(); -} - -void CDemoConsoleCmd::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoConsoleCmd::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoConsoleCmd) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.cmdstring_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoConsoleCmd::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string cmdstring = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_cmdstring(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDemoConsoleCmd.cmdstring"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoConsoleCmd::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoConsoleCmd) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string cmdstring = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_cmdstring().data(), static_cast(this->_internal_cmdstring().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDemoConsoleCmd.cmdstring"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_cmdstring(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoConsoleCmd) - return target; -} - -size_t CDemoConsoleCmd::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoConsoleCmd) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string cmdstring = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_cmdstring()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoConsoleCmd::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoConsoleCmd::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoConsoleCmd::GetClassData() const { return &_class_data_; } - - -void CDemoConsoleCmd::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoConsoleCmd) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_cmdstring()) { - _this->_internal_set_cmdstring(from._internal_cmdstring()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoConsoleCmd::CopyFrom(const CDemoConsoleCmd& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoConsoleCmd) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoConsoleCmd::IsInitialized() const { - return true; -} - -void CDemoConsoleCmd::InternalSwap(CDemoConsoleCmd* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.cmdstring_, lhs_arena, - &other->_impl_.cmdstring_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoConsoleCmd::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[11]); -} - -// =================================================================== - -class CDemoSendTables::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CDemoSendTables::CDemoSendTables(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoSendTables) -} -CDemoSendTables::CDemoSendTables(const CDemoSendTables& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoSendTables* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CDemoSendTables) -} - -inline void CDemoSendTables::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - }; - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CDemoSendTables::~CDemoSendTables() { - // @@protoc_insertion_point(destructor:CDemoSendTables) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoSendTables::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_.Destroy(); -} - -void CDemoSendTables::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoSendTables::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoSendTables) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoSendTables::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes data = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoSendTables::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoSendTables) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes data = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoSendTables) - return target; -} - -size_t CDemoSendTables::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoSendTables) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bytes data = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoSendTables::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoSendTables::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoSendTables::GetClassData() const { return &_class_data_; } - - -void CDemoSendTables::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoSendTables) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_data()) { - _this->_internal_set_data(from._internal_data()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoSendTables::CopyFrom(const CDemoSendTables& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoSendTables) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoSendTables::IsInitialized() const { - return true; -} - -void CDemoSendTables::InternalSwap(CDemoSendTables* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoSendTables::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[12]); -} - -// =================================================================== - -class CDemoClassInfo_class_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_class_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_network_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_table_name(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CDemoClassInfo_class_t::CDemoClassInfo_class_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoClassInfo.class_t) -} -CDemoClassInfo_class_t::CDemoClassInfo_class_t(const CDemoClassInfo_class_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoClassInfo_class_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.network_name_){} - , decltype(_impl_.table_name_){} - , decltype(_impl_.class_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.network_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.network_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_network_name()) { - _this->_impl_.network_name_.Set(from._internal_network_name(), - _this->GetArenaForAllocation()); - } - _impl_.table_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.table_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_table_name()) { - _this->_impl_.table_name_.Set(from._internal_table_name(), - _this->GetArenaForAllocation()); - } - _this->_impl_.class_id_ = from._impl_.class_id_; - // @@protoc_insertion_point(copy_constructor:CDemoClassInfo.class_t) -} - -inline void CDemoClassInfo_class_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.network_name_){} - , decltype(_impl_.table_name_){} - , decltype(_impl_.class_id_){0} - }; - _impl_.network_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.network_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.table_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.table_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CDemoClassInfo_class_t::~CDemoClassInfo_class_t() { - // @@protoc_insertion_point(destructor:CDemoClassInfo.class_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoClassInfo_class_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.network_name_.Destroy(); - _impl_.table_name_.Destroy(); -} - -void CDemoClassInfo_class_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoClassInfo_class_t::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoClassInfo.class_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.network_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.table_name_.ClearNonDefaultToEmpty(); - } - } - _impl_.class_id_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoClassInfo_class_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 class_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_class_id(&has_bits); - _impl_.class_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string network_name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_network_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDemoClassInfo.class_t.network_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string table_name = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_table_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDemoClassInfo.class_t.table_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoClassInfo_class_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoClassInfo.class_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 class_id = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_class_id(), target); - } - - // optional string network_name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_network_name().data(), static_cast(this->_internal_network_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDemoClassInfo.class_t.network_name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_network_name(), target); - } - - // optional string table_name = 3; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_table_name().data(), static_cast(this->_internal_table_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDemoClassInfo.class_t.table_name"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_table_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoClassInfo.class_t) - return target; -} - -size_t CDemoClassInfo_class_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoClassInfo.class_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string network_name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_network_name()); - } - - // optional string table_name = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_table_name()); - } - - // optional int32 class_id = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_class_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoClassInfo_class_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoClassInfo_class_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoClassInfo_class_t::GetClassData() const { return &_class_data_; } - - -void CDemoClassInfo_class_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoClassInfo.class_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_network_name(from._internal_network_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_table_name(from._internal_table_name()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.class_id_ = from._impl_.class_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoClassInfo_class_t::CopyFrom(const CDemoClassInfo_class_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoClassInfo.class_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoClassInfo_class_t::IsInitialized() const { - return true; -} - -void CDemoClassInfo_class_t::InternalSwap(CDemoClassInfo_class_t* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.network_name_, lhs_arena, - &other->_impl_.network_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.table_name_, lhs_arena, - &other->_impl_.table_name_, rhs_arena - ); - swap(_impl_.class_id_, other->_impl_.class_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoClassInfo_class_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[13]); -} - -// =================================================================== - -class CDemoClassInfo::_Internal { - public: -}; - -CDemoClassInfo::CDemoClassInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoClassInfo) -} -CDemoClassInfo::CDemoClassInfo(const CDemoClassInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoClassInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.classes_){from._impl_.classes_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CDemoClassInfo) -} - -inline void CDemoClassInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.classes_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CDemoClassInfo::~CDemoClassInfo() { - // @@protoc_insertion_point(destructor:CDemoClassInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoClassInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.classes_.~RepeatedPtrField(); -} - -void CDemoClassInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoClassInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoClassInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.classes_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoClassInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CDemoClassInfo.class_t classes = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_classes(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoClassInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoClassInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CDemoClassInfo.class_t classes = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_classes_size()); i < n; i++) { - const auto& repfield = this->_internal_classes(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoClassInfo) - return target; -} - -size_t CDemoClassInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoClassInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CDemoClassInfo.class_t classes = 1; - total_size += 1UL * this->_internal_classes_size(); - for (const auto& msg : this->_impl_.classes_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoClassInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoClassInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoClassInfo::GetClassData() const { return &_class_data_; } - - -void CDemoClassInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoClassInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.classes_.MergeFrom(from._impl_.classes_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoClassInfo::CopyFrom(const CDemoClassInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoClassInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoClassInfo::IsInitialized() const { - return true; -} - -void CDemoClassInfo::InternalSwap(CDemoClassInfo* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.classes_.InternalSwap(&other->_impl_.classes_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoClassInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[14]); -} - -// =================================================================== - -class CDemoCustomData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_callback_index(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CDemoCustomData::CDemoCustomData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoCustomData) -} -CDemoCustomData::CDemoCustomData(const CDemoCustomData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoCustomData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.callback_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - _this->_impl_.callback_index_ = from._impl_.callback_index_; - // @@protoc_insertion_point(copy_constructor:CDemoCustomData) -} - -inline void CDemoCustomData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.callback_index_){0} - }; - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CDemoCustomData::~CDemoCustomData() { - // @@protoc_insertion_point(destructor:CDemoCustomData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoCustomData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_.Destroy(); -} - -void CDemoCustomData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoCustomData::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoCustomData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - _impl_.callback_index_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoCustomData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 callback_index = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_callback_index(&has_bits); - _impl_.callback_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoCustomData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoCustomData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 callback_index = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_callback_index(), target); - } - - // optional bytes data = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoCustomData) - return target; -} - -size_t CDemoCustomData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoCustomData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bytes data = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - // optional int32 callback_index = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_callback_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoCustomData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoCustomData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoCustomData::GetClassData() const { return &_class_data_; } - - -void CDemoCustomData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoCustomData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_data(from._internal_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.callback_index_ = from._impl_.callback_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoCustomData::CopyFrom(const CDemoCustomData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoCustomData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoCustomData::IsInitialized() const { - return true; -} - -void CDemoCustomData::InternalSwap(CDemoCustomData* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); - swap(_impl_.callback_index_, other->_impl_.callback_index_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoCustomData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[15]); -} - -// =================================================================== - -class CDemoCustomDataCallbacks::_Internal { - public: -}; - -CDemoCustomDataCallbacks::CDemoCustomDataCallbacks(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoCustomDataCallbacks) -} -CDemoCustomDataCallbacks::CDemoCustomDataCallbacks(const CDemoCustomDataCallbacks& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoCustomDataCallbacks* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.save_id_){from._impl_.save_id_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CDemoCustomDataCallbacks) -} - -inline void CDemoCustomDataCallbacks::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.save_id_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CDemoCustomDataCallbacks::~CDemoCustomDataCallbacks() { - // @@protoc_insertion_point(destructor:CDemoCustomDataCallbacks) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoCustomDataCallbacks::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.save_id_.~RepeatedPtrField(); -} - -void CDemoCustomDataCallbacks::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoCustomDataCallbacks::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoCustomDataCallbacks) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.save_id_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoCustomDataCallbacks::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated string save_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_save_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDemoCustomDataCallbacks.save_id"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoCustomDataCallbacks::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoCustomDataCallbacks) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string save_id = 1; - for (int i = 0, n = this->_internal_save_id_size(); i < n; i++) { - const auto& s = this->_internal_save_id(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDemoCustomDataCallbacks.save_id"); - target = stream->WriteString(1, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoCustomDataCallbacks) - return target; -} - -size_t CDemoCustomDataCallbacks::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoCustomDataCallbacks) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string save_id = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.save_id_.size()); - for (int i = 0, n = _impl_.save_id_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.save_id_.Get(i)); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoCustomDataCallbacks::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoCustomDataCallbacks::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoCustomDataCallbacks::GetClassData() const { return &_class_data_; } - - -void CDemoCustomDataCallbacks::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoCustomDataCallbacks) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.save_id_.MergeFrom(from._impl_.save_id_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoCustomDataCallbacks::CopyFrom(const CDemoCustomDataCallbacks& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoCustomDataCallbacks) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoCustomDataCallbacks::IsInitialized() const { - return true; -} - -void CDemoCustomDataCallbacks::InternalSwap(CDemoCustomDataCallbacks* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.save_id_.InternalSwap(&other->_impl_.save_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoCustomDataCallbacks::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[16]); -} - -// =================================================================== - -class CDemoAnimationHeader::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_entity_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_tick(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CDemoAnimationHeader::CDemoAnimationHeader(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoAnimationHeader) -} -CDemoAnimationHeader::CDemoAnimationHeader(const CDemoAnimationHeader& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoAnimationHeader* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.entity_id_){} - , decltype(_impl_.tick_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.entity_id_, &from._impl_.entity_id_, - static_cast(reinterpret_cast(&_impl_.tick_) - - reinterpret_cast(&_impl_.entity_id_)) + sizeof(_impl_.tick_)); - // @@protoc_insertion_point(copy_constructor:CDemoAnimationHeader) -} - -inline void CDemoAnimationHeader::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.entity_id_){0} - , decltype(_impl_.tick_){0} - }; - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CDemoAnimationHeader::~CDemoAnimationHeader() { - // @@protoc_insertion_point(destructor:CDemoAnimationHeader) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoAnimationHeader::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_.Destroy(); -} - -void CDemoAnimationHeader::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoAnimationHeader::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoAnimationHeader) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.entity_id_, 0, static_cast( - reinterpret_cast(&_impl_.tick_) - - reinterpret_cast(&_impl_.entity_id_)) + sizeof(_impl_.tick_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoAnimationHeader::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional sint32 entity_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_entity_id(&has_bits); - _impl_.entity_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 tick = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_tick(&has_bits); - _impl_.tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes data = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoAnimationHeader::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoAnimationHeader) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional sint32 entity_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(1, this->_internal_entity_id(), target); - } - - // optional int32 tick = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_tick(), target); - } - - // optional bytes data = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 3, this->_internal_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoAnimationHeader) - return target; -} - -size_t CDemoAnimationHeader::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoAnimationHeader) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional bytes data = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - // optional sint32 entity_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(this->_internal_entity_id()); - } - - // optional int32 tick = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tick()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoAnimationHeader::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoAnimationHeader::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoAnimationHeader::GetClassData() const { return &_class_data_; } - - -void CDemoAnimationHeader::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoAnimationHeader) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_data(from._internal_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.entity_id_ = from._impl_.entity_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.tick_ = from._impl_.tick_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoAnimationHeader::CopyFrom(const CDemoAnimationHeader& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoAnimationHeader) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoAnimationHeader::IsInitialized() const { - return true; -} - -void CDemoAnimationHeader::InternalSwap(CDemoAnimationHeader* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CDemoAnimationHeader, _impl_.tick_) - + sizeof(CDemoAnimationHeader::_impl_.tick_) - - PROTOBUF_FIELD_OFFSET(CDemoAnimationHeader, _impl_.entity_id_)>( - reinterpret_cast(&_impl_.entity_id_), - reinterpret_cast(&other->_impl_.entity_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoAnimationHeader::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[17]); -} - -// =================================================================== - -class CDemoAnimationData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_entity_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_start_tick(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_end_tick(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_data_checksum(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CDemoAnimationData::CDemoAnimationData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoAnimationData) -} -CDemoAnimationData::CDemoAnimationData(const CDemoAnimationData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoAnimationData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.entity_id_){} - , decltype(_impl_.start_tick_){} - , decltype(_impl_.data_checksum_){} - , decltype(_impl_.end_tick_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.entity_id_, &from._impl_.entity_id_, - static_cast(reinterpret_cast(&_impl_.end_tick_) - - reinterpret_cast(&_impl_.entity_id_)) + sizeof(_impl_.end_tick_)); - // @@protoc_insertion_point(copy_constructor:CDemoAnimationData) -} - -inline void CDemoAnimationData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.entity_id_){0} - , decltype(_impl_.start_tick_){0} - , decltype(_impl_.data_checksum_){int64_t{0}} - , decltype(_impl_.end_tick_){0} - }; - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CDemoAnimationData::~CDemoAnimationData() { - // @@protoc_insertion_point(destructor:CDemoAnimationData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoAnimationData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_.Destroy(); -} - -void CDemoAnimationData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoAnimationData::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoAnimationData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000001eu) { - ::memset(&_impl_.entity_id_, 0, static_cast( - reinterpret_cast(&_impl_.end_tick_) - - reinterpret_cast(&_impl_.entity_id_)) + sizeof(_impl_.end_tick_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoAnimationData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional sint32 entity_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_entity_id(&has_bits); - _impl_.entity_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 start_tick = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_start_tick(&has_bits); - _impl_.start_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 end_tick = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_end_tick(&has_bits); - _impl_.end_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes data = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 data_checksum = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_data_checksum(&has_bits); - _impl_.data_checksum_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoAnimationData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoAnimationData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional sint32 entity_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(1, this->_internal_entity_id(), target); - } - - // optional int32 start_tick = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_start_tick(), target); - } - - // optional int32 end_tick = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_end_tick(), target); - } - - // optional bytes data = 4; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 4, this->_internal_data(), target); - } - - // optional int64 data_checksum = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(5, this->_internal_data_checksum(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoAnimationData) - return target; -} - -size_t CDemoAnimationData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoAnimationData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional bytes data = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - // optional sint32 entity_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(this->_internal_entity_id()); - } - - // optional int32 start_tick = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_start_tick()); - } - - // optional int64 data_checksum = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_data_checksum()); - } - - // optional int32 end_tick = 3; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_end_tick()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoAnimationData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoAnimationData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoAnimationData::GetClassData() const { return &_class_data_; } - - -void CDemoAnimationData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoAnimationData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_data(from._internal_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.entity_id_ = from._impl_.entity_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.start_tick_ = from._impl_.start_tick_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.data_checksum_ = from._impl_.data_checksum_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.end_tick_ = from._impl_.end_tick_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoAnimationData::CopyFrom(const CDemoAnimationData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoAnimationData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoAnimationData::IsInitialized() const { - return true; -} - -void CDemoAnimationData::InternalSwap(CDemoAnimationData* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CDemoAnimationData, _impl_.end_tick_) - + sizeof(CDemoAnimationData::_impl_.end_tick_) - - PROTOBUF_FIELD_OFFSET(CDemoAnimationData, _impl_.entity_id_)>( - reinterpret_cast(&_impl_.entity_id_), - reinterpret_cast(&other->_impl_.entity_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoAnimationData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[18]); -} - -// =================================================================== - -class CDemoStringTables_items_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_str(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CDemoStringTables_items_t::CDemoStringTables_items_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoStringTables.items_t) -} -CDemoStringTables_items_t::CDemoStringTables_items_t(const CDemoStringTables_items_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoStringTables_items_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.str_){} - , decltype(_impl_.data_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.str_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.str_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_str()) { - _this->_impl_.str_.Set(from._internal_str(), - _this->GetArenaForAllocation()); - } - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CDemoStringTables.items_t) -} - -inline void CDemoStringTables_items_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.str_){} - , decltype(_impl_.data_){} - }; - _impl_.str_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.str_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CDemoStringTables_items_t::~CDemoStringTables_items_t() { - // @@protoc_insertion_point(destructor:CDemoStringTables.items_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoStringTables_items_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.str_.Destroy(); - _impl_.data_.Destroy(); -} - -void CDemoStringTables_items_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoStringTables_items_t::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoStringTables.items_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.str_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoStringTables_items_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string str = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_str(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDemoStringTables.items_t.str"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bytes data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoStringTables_items_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoStringTables.items_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string str = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_str().data(), static_cast(this->_internal_str().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDemoStringTables.items_t.str"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_str(), target); - } - - // optional bytes data = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoStringTables.items_t) - return target; -} - -size_t CDemoStringTables_items_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoStringTables.items_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string str = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_str()); - } - - // optional bytes data = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoStringTables_items_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoStringTables_items_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoStringTables_items_t::GetClassData() const { return &_class_data_; } - - -void CDemoStringTables_items_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoStringTables.items_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_str(from._internal_str()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_data(from._internal_data()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoStringTables_items_t::CopyFrom(const CDemoStringTables_items_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoStringTables.items_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoStringTables_items_t::IsInitialized() const { - return true; -} - -void CDemoStringTables_items_t::InternalSwap(CDemoStringTables_items_t* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.str_, lhs_arena, - &other->_impl_.str_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoStringTables_items_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[19]); -} - -// =================================================================== - -class CDemoStringTables_table_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_table_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_table_flags(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CDemoStringTables_table_t::CDemoStringTables_table_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoStringTables.table_t) -} -CDemoStringTables_table_t::CDemoStringTables_table_t(const CDemoStringTables_table_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoStringTables_table_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.items_){from._impl_.items_} - , decltype(_impl_.items_clientside_){from._impl_.items_clientside_} - , decltype(_impl_.table_name_){} - , decltype(_impl_.table_flags_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.table_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.table_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_table_name()) { - _this->_impl_.table_name_.Set(from._internal_table_name(), - _this->GetArenaForAllocation()); - } - _this->_impl_.table_flags_ = from._impl_.table_flags_; - // @@protoc_insertion_point(copy_constructor:CDemoStringTables.table_t) -} - -inline void CDemoStringTables_table_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.items_){arena} - , decltype(_impl_.items_clientside_){arena} - , decltype(_impl_.table_name_){} - , decltype(_impl_.table_flags_){0} - }; - _impl_.table_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.table_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CDemoStringTables_table_t::~CDemoStringTables_table_t() { - // @@protoc_insertion_point(destructor:CDemoStringTables.table_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoStringTables_table_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.items_.~RepeatedPtrField(); - _impl_.items_clientside_.~RepeatedPtrField(); - _impl_.table_name_.Destroy(); -} - -void CDemoStringTables_table_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoStringTables_table_t::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoStringTables.table_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.items_.Clear(); - _impl_.items_clientside_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.table_name_.ClearNonDefaultToEmpty(); - } - _impl_.table_flags_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoStringTables_table_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string table_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_table_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CDemoStringTables.table_t.table_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated .CDemoStringTables.items_t items = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_items(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CDemoStringTables.items_t items_clientside = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_items_clientside(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // optional int32 table_flags = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_table_flags(&has_bits); - _impl_.table_flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoStringTables_table_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoStringTables.table_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string table_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_table_name().data(), static_cast(this->_internal_table_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CDemoStringTables.table_t.table_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_table_name(), target); - } - - // repeated .CDemoStringTables.items_t items = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_items_size()); i < n; i++) { - const auto& repfield = this->_internal_items(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CDemoStringTables.items_t items_clientside = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_items_clientside_size()); i < n; i++) { - const auto& repfield = this->_internal_items_clientside(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional int32 table_flags = 4; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_table_flags(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoStringTables.table_t) - return target; -} - -size_t CDemoStringTables_table_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoStringTables.table_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CDemoStringTables.items_t items = 2; - total_size += 1UL * this->_internal_items_size(); - for (const auto& msg : this->_impl_.items_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CDemoStringTables.items_t items_clientside = 3; - total_size += 1UL * this->_internal_items_clientside_size(); - for (const auto& msg : this->_impl_.items_clientside_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string table_name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_table_name()); - } - - // optional int32 table_flags = 4; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_table_flags()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoStringTables_table_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoStringTables_table_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoStringTables_table_t::GetClassData() const { return &_class_data_; } - - -void CDemoStringTables_table_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoStringTables.table_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.items_.MergeFrom(from._impl_.items_); - _this->_impl_.items_clientside_.MergeFrom(from._impl_.items_clientside_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_table_name(from._internal_table_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.table_flags_ = from._impl_.table_flags_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoStringTables_table_t::CopyFrom(const CDemoStringTables_table_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoStringTables.table_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoStringTables_table_t::IsInitialized() const { - return true; -} - -void CDemoStringTables_table_t::InternalSwap(CDemoStringTables_table_t* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.items_.InternalSwap(&other->_impl_.items_); - _impl_.items_clientside_.InternalSwap(&other->_impl_.items_clientside_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.table_name_, lhs_arena, - &other->_impl_.table_name_, rhs_arena - ); - swap(_impl_.table_flags_, other->_impl_.table_flags_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoStringTables_table_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[20]); -} - -// =================================================================== - -class CDemoStringTables::_Internal { - public: -}; - -CDemoStringTables::CDemoStringTables(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoStringTables) -} -CDemoStringTables::CDemoStringTables(const CDemoStringTables& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoStringTables* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.tables_){from._impl_.tables_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CDemoStringTables) -} - -inline void CDemoStringTables::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.tables_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CDemoStringTables::~CDemoStringTables() { - // @@protoc_insertion_point(destructor:CDemoStringTables) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoStringTables::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.tables_.~RepeatedPtrField(); -} - -void CDemoStringTables::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoStringTables::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoStringTables) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.tables_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoStringTables::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CDemoStringTables.table_t tables = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_tables(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoStringTables::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoStringTables) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CDemoStringTables.table_t tables = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_tables_size()); i < n; i++) { - const auto& repfield = this->_internal_tables(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoStringTables) - return target; -} - -size_t CDemoStringTables::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoStringTables) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CDemoStringTables.table_t tables = 1; - total_size += 1UL * this->_internal_tables_size(); - for (const auto& msg : this->_impl_.tables_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoStringTables::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoStringTables::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoStringTables::GetClassData() const { return &_class_data_; } - - -void CDemoStringTables::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoStringTables) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.tables_.MergeFrom(from._impl_.tables_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoStringTables::CopyFrom(const CDemoStringTables& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoStringTables) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoStringTables::IsInitialized() const { - return true; -} - -void CDemoStringTables::InternalSwap(CDemoStringTables* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.tables_.InternalSwap(&other->_impl_.tables_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoStringTables::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[21]); -} - -// =================================================================== - -class CDemoStop::_Internal { - public: -}; - -CDemoStop::CDemoStop(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CDemoStop) -} -CDemoStop::CDemoStop(const CDemoStop& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CDemoStop* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CDemoStop) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoStop::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoStop::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoStop::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[22]); -} - -// =================================================================== - -class CDemoUserCmd::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_cmd_number(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CDemoUserCmd::CDemoUserCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoUserCmd) -} -CDemoUserCmd::CDemoUserCmd(const CDemoUserCmd& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoUserCmd* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.cmd_number_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - _this->_impl_.cmd_number_ = from._impl_.cmd_number_; - // @@protoc_insertion_point(copy_constructor:CDemoUserCmd) -} - -inline void CDemoUserCmd::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.cmd_number_){0} - }; - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CDemoUserCmd::~CDemoUserCmd() { - // @@protoc_insertion_point(destructor:CDemoUserCmd) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoUserCmd::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_.Destroy(); -} - -void CDemoUserCmd::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoUserCmd::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoUserCmd) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - _impl_.cmd_number_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoUserCmd::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 cmd_number = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_cmd_number(&has_bits); - _impl_.cmd_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoUserCmd::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoUserCmd) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 cmd_number = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_cmd_number(), target); - } - - // optional bytes data = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoUserCmd) - return target; -} - -size_t CDemoUserCmd::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoUserCmd) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bytes data = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - // optional int32 cmd_number = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_cmd_number()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoUserCmd::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoUserCmd::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoUserCmd::GetClassData() const { return &_class_data_; } - - -void CDemoUserCmd::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoUserCmd) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_data(from._internal_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.cmd_number_ = from._impl_.cmd_number_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoUserCmd::CopyFrom(const CDemoUserCmd& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoUserCmd) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoUserCmd::IsInitialized() const { - return true; -} - -void CDemoUserCmd::InternalSwap(CDemoUserCmd* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); - swap(_impl_.cmd_number_, other->_impl_.cmd_number_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoUserCmd::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[23]); -} - -// =================================================================== - -class CDemoSpawnGroups::_Internal { - public: -}; - -CDemoSpawnGroups::CDemoSpawnGroups(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoSpawnGroups) -} -CDemoSpawnGroups::CDemoSpawnGroups(const CDemoSpawnGroups& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoSpawnGroups* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.msgs_){from._impl_.msgs_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CDemoSpawnGroups) -} - -inline void CDemoSpawnGroups::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.msgs_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CDemoSpawnGroups::~CDemoSpawnGroups() { - // @@protoc_insertion_point(destructor:CDemoSpawnGroups) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoSpawnGroups::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.msgs_.~RepeatedPtrField(); -} - -void CDemoSpawnGroups::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoSpawnGroups::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoSpawnGroups) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.msgs_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoSpawnGroups::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated bytes msgs = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_msgs(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoSpawnGroups::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoSpawnGroups) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated bytes msgs = 3; - for (int i = 0, n = this->_internal_msgs_size(); i < n; i++) { - const auto& s = this->_internal_msgs(i); - target = stream->WriteBytes(3, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoSpawnGroups) - return target; -} - -size_t CDemoSpawnGroups::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoSpawnGroups) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated bytes msgs = 3; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.msgs_.size()); - for (int i = 0, n = _impl_.msgs_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - _impl_.msgs_.Get(i)); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoSpawnGroups::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoSpawnGroups::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoSpawnGroups::GetClassData() const { return &_class_data_; } - - -void CDemoSpawnGroups::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoSpawnGroups) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.msgs_.MergeFrom(from._impl_.msgs_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoSpawnGroups::CopyFrom(const CDemoSpawnGroups& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoSpawnGroups) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoSpawnGroups::IsInitialized() const { - return true; -} - -void CDemoSpawnGroups::InternalSwap(CDemoSpawnGroups* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.msgs_.InternalSwap(&other->_impl_.msgs_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoSpawnGroups::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[24]); -} - -// =================================================================== - -class CDemoRecovery_DemoInitialSpawnGroupEntry::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_spawngrouphandle(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_was_created(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CDemoRecovery_DemoInitialSpawnGroupEntry::CDemoRecovery_DemoInitialSpawnGroupEntry(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoRecovery.DemoInitialSpawnGroupEntry) -} -CDemoRecovery_DemoInitialSpawnGroupEntry::CDemoRecovery_DemoInitialSpawnGroupEntry(const CDemoRecovery_DemoInitialSpawnGroupEntry& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoRecovery_DemoInitialSpawnGroupEntry* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.spawngrouphandle_){} - , decltype(_impl_.was_created_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.spawngrouphandle_, &from._impl_.spawngrouphandle_, - static_cast(reinterpret_cast(&_impl_.was_created_) - - reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.was_created_)); - // @@protoc_insertion_point(copy_constructor:CDemoRecovery.DemoInitialSpawnGroupEntry) -} - -inline void CDemoRecovery_DemoInitialSpawnGroupEntry::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.spawngrouphandle_){0u} - , decltype(_impl_.was_created_){false} - }; -} - -CDemoRecovery_DemoInitialSpawnGroupEntry::~CDemoRecovery_DemoInitialSpawnGroupEntry() { - // @@protoc_insertion_point(destructor:CDemoRecovery.DemoInitialSpawnGroupEntry) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoRecovery_DemoInitialSpawnGroupEntry::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CDemoRecovery_DemoInitialSpawnGroupEntry::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoRecovery_DemoInitialSpawnGroupEntry::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoRecovery.DemoInitialSpawnGroupEntry) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.spawngrouphandle_, 0, static_cast( - reinterpret_cast(&_impl_.was_created_) - - reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.was_created_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoRecovery_DemoInitialSpawnGroupEntry::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 spawngrouphandle = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_spawngrouphandle(&has_bits); - _impl_.spawngrouphandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool was_created = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_was_created(&has_bits); - _impl_.was_created_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoRecovery_DemoInitialSpawnGroupEntry::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoRecovery.DemoInitialSpawnGroupEntry) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 spawngrouphandle = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_spawngrouphandle(), target); - } - - // optional bool was_created = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_was_created(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoRecovery.DemoInitialSpawnGroupEntry) - return target; -} - -size_t CDemoRecovery_DemoInitialSpawnGroupEntry::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoRecovery.DemoInitialSpawnGroupEntry) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 spawngrouphandle = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_spawngrouphandle()); - } - - // optional bool was_created = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoRecovery_DemoInitialSpawnGroupEntry::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoRecovery_DemoInitialSpawnGroupEntry::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoRecovery_DemoInitialSpawnGroupEntry::GetClassData() const { return &_class_data_; } - - -void CDemoRecovery_DemoInitialSpawnGroupEntry::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoRecovery.DemoInitialSpawnGroupEntry) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.spawngrouphandle_ = from._impl_.spawngrouphandle_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.was_created_ = from._impl_.was_created_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoRecovery_DemoInitialSpawnGroupEntry::CopyFrom(const CDemoRecovery_DemoInitialSpawnGroupEntry& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoRecovery.DemoInitialSpawnGroupEntry) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoRecovery_DemoInitialSpawnGroupEntry::IsInitialized() const { - return true; -} - -void CDemoRecovery_DemoInitialSpawnGroupEntry::InternalSwap(CDemoRecovery_DemoInitialSpawnGroupEntry* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CDemoRecovery_DemoInitialSpawnGroupEntry, _impl_.was_created_) - + sizeof(CDemoRecovery_DemoInitialSpawnGroupEntry::_impl_.was_created_) - - PROTOBUF_FIELD_OFFSET(CDemoRecovery_DemoInitialSpawnGroupEntry, _impl_.spawngrouphandle_)>( - reinterpret_cast(&_impl_.spawngrouphandle_), - reinterpret_cast(&other->_impl_.spawngrouphandle_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoRecovery_DemoInitialSpawnGroupEntry::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[25]); -} - -// =================================================================== - -class CDemoRecovery::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CDemoRecovery_DemoInitialSpawnGroupEntry& initial_spawn_group(const CDemoRecovery* msg); - static void set_has_initial_spawn_group(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_spawn_group_message(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CDemoRecovery_DemoInitialSpawnGroupEntry& -CDemoRecovery::_Internal::initial_spawn_group(const CDemoRecovery* msg) { - return *msg->_impl_.initial_spawn_group_; -} -CDemoRecovery::CDemoRecovery(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CDemoRecovery) -} -CDemoRecovery::CDemoRecovery(const CDemoRecovery& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CDemoRecovery* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.spawn_group_message_){} - , decltype(_impl_.initial_spawn_group_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.spawn_group_message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.spawn_group_message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_spawn_group_message()) { - _this->_impl_.spawn_group_message_.Set(from._internal_spawn_group_message(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_initial_spawn_group()) { - _this->_impl_.initial_spawn_group_ = new ::CDemoRecovery_DemoInitialSpawnGroupEntry(*from._impl_.initial_spawn_group_); - } - // @@protoc_insertion_point(copy_constructor:CDemoRecovery) -} - -inline void CDemoRecovery::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.spawn_group_message_){} - , decltype(_impl_.initial_spawn_group_){nullptr} - }; - _impl_.spawn_group_message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.spawn_group_message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CDemoRecovery::~CDemoRecovery() { - // @@protoc_insertion_point(destructor:CDemoRecovery) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CDemoRecovery::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.spawn_group_message_.Destroy(); - if (this != internal_default_instance()) delete _impl_.initial_spawn_group_; -} - -void CDemoRecovery::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CDemoRecovery::Clear() { -// @@protoc_insertion_point(message_clear_start:CDemoRecovery) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.spawn_group_message_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.initial_spawn_group_ != nullptr); - _impl_.initial_spawn_group_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CDemoRecovery::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CDemoRecovery.DemoInitialSpawnGroupEntry initial_spawn_group = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_initial_spawn_group(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes spawn_group_message = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_spawn_group_message(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CDemoRecovery::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CDemoRecovery) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CDemoRecovery.DemoInitialSpawnGroupEntry initial_spawn_group = 1; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::initial_spawn_group(this), - _Internal::initial_spawn_group(this).GetCachedSize(), target, stream); - } - - // optional bytes spawn_group_message = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_spawn_group_message(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CDemoRecovery) - return target; -} - -size_t CDemoRecovery::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CDemoRecovery) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bytes spawn_group_message = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_spawn_group_message()); - } - - // optional .CDemoRecovery.DemoInitialSpawnGroupEntry initial_spawn_group = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.initial_spawn_group_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CDemoRecovery::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CDemoRecovery::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CDemoRecovery::GetClassData() const { return &_class_data_; } - - -void CDemoRecovery::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CDemoRecovery) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_spawn_group_message(from._internal_spawn_group_message()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_initial_spawn_group()->::CDemoRecovery_DemoInitialSpawnGroupEntry::MergeFrom( - from._internal_initial_spawn_group()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CDemoRecovery::CopyFrom(const CDemoRecovery& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CDemoRecovery) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CDemoRecovery::IsInitialized() const { - return true; -} - -void CDemoRecovery::InternalSwap(CDemoRecovery* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.spawn_group_message_, lhs_arena, - &other->_impl_.spawn_group_message_, rhs_arena - ); - swap(_impl_.initial_spawn_group_, other->_impl_.initial_spawn_group_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CDemoRecovery::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_demo_2eproto_getter, &descriptor_table_demo_2eproto_once, - file_level_metadata_demo_2eproto[26]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CDemoFileHeader* -Arena::CreateMaybeMessage< ::CDemoFileHeader >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoFileHeader >(arena); -} -template<> PROTOBUF_NOINLINE ::CGameInfo_CDotaGameInfo_CPlayerInfo* -Arena::CreateMaybeMessage< ::CGameInfo_CDotaGameInfo_CPlayerInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGameInfo_CDotaGameInfo_CPlayerInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CGameInfo_CDotaGameInfo_CHeroSelectEvent* -Arena::CreateMaybeMessage< ::CGameInfo_CDotaGameInfo_CHeroSelectEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGameInfo_CDotaGameInfo_CHeroSelectEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CGameInfo_CDotaGameInfo* -Arena::CreateMaybeMessage< ::CGameInfo_CDotaGameInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGameInfo_CDotaGameInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CGameInfo_CCSGameInfo* -Arena::CreateMaybeMessage< ::CGameInfo_CCSGameInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGameInfo_CCSGameInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CGameInfo* -Arena::CreateMaybeMessage< ::CGameInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGameInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoFileInfo* -Arena::CreateMaybeMessage< ::CDemoFileInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoFileInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoPacket* -Arena::CreateMaybeMessage< ::CDemoPacket >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoPacket >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoFullPacket* -Arena::CreateMaybeMessage< ::CDemoFullPacket >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoFullPacket >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoSaveGame* -Arena::CreateMaybeMessage< ::CDemoSaveGame >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoSaveGame >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoSyncTick* -Arena::CreateMaybeMessage< ::CDemoSyncTick >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoSyncTick >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoConsoleCmd* -Arena::CreateMaybeMessage< ::CDemoConsoleCmd >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoConsoleCmd >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoSendTables* -Arena::CreateMaybeMessage< ::CDemoSendTables >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoSendTables >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoClassInfo_class_t* -Arena::CreateMaybeMessage< ::CDemoClassInfo_class_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoClassInfo_class_t >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoClassInfo* -Arena::CreateMaybeMessage< ::CDemoClassInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoClassInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoCustomData* -Arena::CreateMaybeMessage< ::CDemoCustomData >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoCustomData >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoCustomDataCallbacks* -Arena::CreateMaybeMessage< ::CDemoCustomDataCallbacks >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoCustomDataCallbacks >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoAnimationHeader* -Arena::CreateMaybeMessage< ::CDemoAnimationHeader >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoAnimationHeader >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoAnimationData* -Arena::CreateMaybeMessage< ::CDemoAnimationData >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoAnimationData >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoStringTables_items_t* -Arena::CreateMaybeMessage< ::CDemoStringTables_items_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoStringTables_items_t >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoStringTables_table_t* -Arena::CreateMaybeMessage< ::CDemoStringTables_table_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoStringTables_table_t >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoStringTables* -Arena::CreateMaybeMessage< ::CDemoStringTables >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoStringTables >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoStop* -Arena::CreateMaybeMessage< ::CDemoStop >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoStop >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoUserCmd* -Arena::CreateMaybeMessage< ::CDemoUserCmd >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoUserCmd >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoSpawnGroups* -Arena::CreateMaybeMessage< ::CDemoSpawnGroups >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoSpawnGroups >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoRecovery_DemoInitialSpawnGroupEntry* -Arena::CreateMaybeMessage< ::CDemoRecovery_DemoInitialSpawnGroupEntry >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoRecovery_DemoInitialSpawnGroupEntry >(arena); -} -template<> PROTOBUF_NOINLINE ::CDemoRecovery* -Arena::CreateMaybeMessage< ::CDemoRecovery >(Arena* arena) { - return Arena::CreateMessageInternal< ::CDemoRecovery >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/demo.pb.h b/protobuf/generated/demo.pb.h deleted file mode 100644 index ed2734c3c..000000000 --- a/protobuf/generated/demo.pb.h +++ /dev/null @@ -1,9533 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: demo.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_demo_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_demo_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_demo_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_demo_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_demo_2eproto; -class CDemoAnimationData; -struct CDemoAnimationDataDefaultTypeInternal; -extern CDemoAnimationDataDefaultTypeInternal _CDemoAnimationData_default_instance_; -class CDemoAnimationHeader; -struct CDemoAnimationHeaderDefaultTypeInternal; -extern CDemoAnimationHeaderDefaultTypeInternal _CDemoAnimationHeader_default_instance_; -class CDemoClassInfo; -struct CDemoClassInfoDefaultTypeInternal; -extern CDemoClassInfoDefaultTypeInternal _CDemoClassInfo_default_instance_; -class CDemoClassInfo_class_t; -struct CDemoClassInfo_class_tDefaultTypeInternal; -extern CDemoClassInfo_class_tDefaultTypeInternal _CDemoClassInfo_class_t_default_instance_; -class CDemoConsoleCmd; -struct CDemoConsoleCmdDefaultTypeInternal; -extern CDemoConsoleCmdDefaultTypeInternal _CDemoConsoleCmd_default_instance_; -class CDemoCustomData; -struct CDemoCustomDataDefaultTypeInternal; -extern CDemoCustomDataDefaultTypeInternal _CDemoCustomData_default_instance_; -class CDemoCustomDataCallbacks; -struct CDemoCustomDataCallbacksDefaultTypeInternal; -extern CDemoCustomDataCallbacksDefaultTypeInternal _CDemoCustomDataCallbacks_default_instance_; -class CDemoFileHeader; -struct CDemoFileHeaderDefaultTypeInternal; -extern CDemoFileHeaderDefaultTypeInternal _CDemoFileHeader_default_instance_; -class CDemoFileInfo; -struct CDemoFileInfoDefaultTypeInternal; -extern CDemoFileInfoDefaultTypeInternal _CDemoFileInfo_default_instance_; -class CDemoFullPacket; -struct CDemoFullPacketDefaultTypeInternal; -extern CDemoFullPacketDefaultTypeInternal _CDemoFullPacket_default_instance_; -class CDemoPacket; -struct CDemoPacketDefaultTypeInternal; -extern CDemoPacketDefaultTypeInternal _CDemoPacket_default_instance_; -class CDemoRecovery; -struct CDemoRecoveryDefaultTypeInternal; -extern CDemoRecoveryDefaultTypeInternal _CDemoRecovery_default_instance_; -class CDemoRecovery_DemoInitialSpawnGroupEntry; -struct CDemoRecovery_DemoInitialSpawnGroupEntryDefaultTypeInternal; -extern CDemoRecovery_DemoInitialSpawnGroupEntryDefaultTypeInternal _CDemoRecovery_DemoInitialSpawnGroupEntry_default_instance_; -class CDemoSaveGame; -struct CDemoSaveGameDefaultTypeInternal; -extern CDemoSaveGameDefaultTypeInternal _CDemoSaveGame_default_instance_; -class CDemoSendTables; -struct CDemoSendTablesDefaultTypeInternal; -extern CDemoSendTablesDefaultTypeInternal _CDemoSendTables_default_instance_; -class CDemoSpawnGroups; -struct CDemoSpawnGroupsDefaultTypeInternal; -extern CDemoSpawnGroupsDefaultTypeInternal _CDemoSpawnGroups_default_instance_; -class CDemoStop; -struct CDemoStopDefaultTypeInternal; -extern CDemoStopDefaultTypeInternal _CDemoStop_default_instance_; -class CDemoStringTables; -struct CDemoStringTablesDefaultTypeInternal; -extern CDemoStringTablesDefaultTypeInternal _CDemoStringTables_default_instance_; -class CDemoStringTables_items_t; -struct CDemoStringTables_items_tDefaultTypeInternal; -extern CDemoStringTables_items_tDefaultTypeInternal _CDemoStringTables_items_t_default_instance_; -class CDemoStringTables_table_t; -struct CDemoStringTables_table_tDefaultTypeInternal; -extern CDemoStringTables_table_tDefaultTypeInternal _CDemoStringTables_table_t_default_instance_; -class CDemoSyncTick; -struct CDemoSyncTickDefaultTypeInternal; -extern CDemoSyncTickDefaultTypeInternal _CDemoSyncTick_default_instance_; -class CDemoUserCmd; -struct CDemoUserCmdDefaultTypeInternal; -extern CDemoUserCmdDefaultTypeInternal _CDemoUserCmd_default_instance_; -class CGameInfo; -struct CGameInfoDefaultTypeInternal; -extern CGameInfoDefaultTypeInternal _CGameInfo_default_instance_; -class CGameInfo_CCSGameInfo; -struct CGameInfo_CCSGameInfoDefaultTypeInternal; -extern CGameInfo_CCSGameInfoDefaultTypeInternal _CGameInfo_CCSGameInfo_default_instance_; -class CGameInfo_CDotaGameInfo; -struct CGameInfo_CDotaGameInfoDefaultTypeInternal; -extern CGameInfo_CDotaGameInfoDefaultTypeInternal _CGameInfo_CDotaGameInfo_default_instance_; -class CGameInfo_CDotaGameInfo_CHeroSelectEvent; -struct CGameInfo_CDotaGameInfo_CHeroSelectEventDefaultTypeInternal; -extern CGameInfo_CDotaGameInfo_CHeroSelectEventDefaultTypeInternal _CGameInfo_CDotaGameInfo_CHeroSelectEvent_default_instance_; -class CGameInfo_CDotaGameInfo_CPlayerInfo; -struct CGameInfo_CDotaGameInfo_CPlayerInfoDefaultTypeInternal; -extern CGameInfo_CDotaGameInfo_CPlayerInfoDefaultTypeInternal _CGameInfo_CDotaGameInfo_CPlayerInfo_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CDemoAnimationData* Arena::CreateMaybeMessage<::CDemoAnimationData>(Arena*); -template<> ::CDemoAnimationHeader* Arena::CreateMaybeMessage<::CDemoAnimationHeader>(Arena*); -template<> ::CDemoClassInfo* Arena::CreateMaybeMessage<::CDemoClassInfo>(Arena*); -template<> ::CDemoClassInfo_class_t* Arena::CreateMaybeMessage<::CDemoClassInfo_class_t>(Arena*); -template<> ::CDemoConsoleCmd* Arena::CreateMaybeMessage<::CDemoConsoleCmd>(Arena*); -template<> ::CDemoCustomData* Arena::CreateMaybeMessage<::CDemoCustomData>(Arena*); -template<> ::CDemoCustomDataCallbacks* Arena::CreateMaybeMessage<::CDemoCustomDataCallbacks>(Arena*); -template<> ::CDemoFileHeader* Arena::CreateMaybeMessage<::CDemoFileHeader>(Arena*); -template<> ::CDemoFileInfo* Arena::CreateMaybeMessage<::CDemoFileInfo>(Arena*); -template<> ::CDemoFullPacket* Arena::CreateMaybeMessage<::CDemoFullPacket>(Arena*); -template<> ::CDemoPacket* Arena::CreateMaybeMessage<::CDemoPacket>(Arena*); -template<> ::CDemoRecovery* Arena::CreateMaybeMessage<::CDemoRecovery>(Arena*); -template<> ::CDemoRecovery_DemoInitialSpawnGroupEntry* Arena::CreateMaybeMessage<::CDemoRecovery_DemoInitialSpawnGroupEntry>(Arena*); -template<> ::CDemoSaveGame* Arena::CreateMaybeMessage<::CDemoSaveGame>(Arena*); -template<> ::CDemoSendTables* Arena::CreateMaybeMessage<::CDemoSendTables>(Arena*); -template<> ::CDemoSpawnGroups* Arena::CreateMaybeMessage<::CDemoSpawnGroups>(Arena*); -template<> ::CDemoStop* Arena::CreateMaybeMessage<::CDemoStop>(Arena*); -template<> ::CDemoStringTables* Arena::CreateMaybeMessage<::CDemoStringTables>(Arena*); -template<> ::CDemoStringTables_items_t* Arena::CreateMaybeMessage<::CDemoStringTables_items_t>(Arena*); -template<> ::CDemoStringTables_table_t* Arena::CreateMaybeMessage<::CDemoStringTables_table_t>(Arena*); -template<> ::CDemoSyncTick* Arena::CreateMaybeMessage<::CDemoSyncTick>(Arena*); -template<> ::CDemoUserCmd* Arena::CreateMaybeMessage<::CDemoUserCmd>(Arena*); -template<> ::CGameInfo* Arena::CreateMaybeMessage<::CGameInfo>(Arena*); -template<> ::CGameInfo_CCSGameInfo* Arena::CreateMaybeMessage<::CGameInfo_CCSGameInfo>(Arena*); -template<> ::CGameInfo_CDotaGameInfo* Arena::CreateMaybeMessage<::CGameInfo_CDotaGameInfo>(Arena*); -template<> ::CGameInfo_CDotaGameInfo_CHeroSelectEvent* Arena::CreateMaybeMessage<::CGameInfo_CDotaGameInfo_CHeroSelectEvent>(Arena*); -template<> ::CGameInfo_CDotaGameInfo_CPlayerInfo* Arena::CreateMaybeMessage<::CGameInfo_CDotaGameInfo_CPlayerInfo>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum EDemoCommands : int { - DEM_Error = -1, - DEM_Stop = 0, - DEM_FileHeader = 1, - DEM_FileInfo = 2, - DEM_SyncTick = 3, - DEM_SendTables = 4, - DEM_ClassInfo = 5, - DEM_StringTables = 6, - DEM_Packet = 7, - DEM_SignonPacket = 8, - DEM_ConsoleCmd = 9, - DEM_CustomData = 10, - DEM_CustomDataCallbacks = 11, - DEM_UserCmd = 12, - DEM_FullPacket = 13, - DEM_SaveGame = 14, - DEM_SpawnGroups = 15, - DEM_AnimationData = 16, - DEM_AnimationHeader = 17, - DEM_Recovery = 18, - DEM_Max = 19, - DEM_IsCompressed = 64 -}; -bool EDemoCommands_IsValid(int value); -constexpr EDemoCommands EDemoCommands_MIN = DEM_Error; -constexpr EDemoCommands EDemoCommands_MAX = DEM_IsCompressed; -constexpr int EDemoCommands_ARRAYSIZE = EDemoCommands_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EDemoCommands_descriptor(); -template -inline const std::string& EDemoCommands_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EDemoCommands_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EDemoCommands_descriptor(), enum_t_value); -} -inline bool EDemoCommands_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EDemoCommands* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EDemoCommands_descriptor(), name, value); -} -// =================================================================== - -class CDemoFileHeader : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoFileHeader) */ { - public: - inline CDemoFileHeader() : CDemoFileHeader(nullptr) {} - ~CDemoFileHeader() override; - explicit PROTOBUF_CONSTEXPR CDemoFileHeader(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoFileHeader(const CDemoFileHeader& from); - CDemoFileHeader(CDemoFileHeader&& from) noexcept - : CDemoFileHeader() { - *this = ::std::move(from); - } - - inline CDemoFileHeader& operator=(const CDemoFileHeader& from) { - CopyFrom(from); - return *this; - } - inline CDemoFileHeader& operator=(CDemoFileHeader&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoFileHeader& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoFileHeader* internal_default_instance() { - return reinterpret_cast( - &_CDemoFileHeader_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CDemoFileHeader& a, CDemoFileHeader& b) { - a.Swap(&b); - } - inline void Swap(CDemoFileHeader* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoFileHeader* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoFileHeader* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoFileHeader& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoFileHeader& from) { - CDemoFileHeader::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoFileHeader* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoFileHeader"; - } - protected: - explicit CDemoFileHeader(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDemoFileStampFieldNumber = 1, - kServerNameFieldNumber = 3, - kClientNameFieldNumber = 4, - kMapNameFieldNumber = 5, - kGameDirectoryFieldNumber = 6, - kAddonsFieldNumber = 10, - kDemoVersionNameFieldNumber = 11, - kDemoVersionGuidFieldNumber = 12, - kGameFieldNumber = 14, - kNetworkProtocolFieldNumber = 2, - kFullpacketsVersionFieldNumber = 7, - kAllowClientsideEntitiesFieldNumber = 8, - kAllowClientsideParticlesFieldNumber = 9, - kBuildNumFieldNumber = 13, - kServerStartTickFieldNumber = 15, - }; - // required string demo_file_stamp = 1; - bool has_demo_file_stamp() const; - private: - bool _internal_has_demo_file_stamp() const; - public: - void clear_demo_file_stamp(); - const std::string& demo_file_stamp() const; - template - void set_demo_file_stamp(ArgT0&& arg0, ArgT... args); - std::string* mutable_demo_file_stamp(); - PROTOBUF_NODISCARD std::string* release_demo_file_stamp(); - void set_allocated_demo_file_stamp(std::string* demo_file_stamp); - private: - const std::string& _internal_demo_file_stamp() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_demo_file_stamp(const std::string& value); - std::string* _internal_mutable_demo_file_stamp(); - public: - - // optional string server_name = 3; - bool has_server_name() const; - private: - bool _internal_has_server_name() const; - public: - void clear_server_name(); - const std::string& server_name() const; - template - void set_server_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_server_name(); - PROTOBUF_NODISCARD std::string* release_server_name(); - void set_allocated_server_name(std::string* server_name); - private: - const std::string& _internal_server_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_server_name(const std::string& value); - std::string* _internal_mutable_server_name(); - public: - - // optional string client_name = 4; - bool has_client_name() const; - private: - bool _internal_has_client_name() const; - public: - void clear_client_name(); - const std::string& client_name() const; - template - void set_client_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_client_name(); - PROTOBUF_NODISCARD std::string* release_client_name(); - void set_allocated_client_name(std::string* client_name); - private: - const std::string& _internal_client_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_name(const std::string& value); - std::string* _internal_mutable_client_name(); - public: - - // optional string map_name = 5; - bool has_map_name() const; - private: - bool _internal_has_map_name() const; - public: - void clear_map_name(); - const std::string& map_name() const; - template - void set_map_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_map_name(); - PROTOBUF_NODISCARD std::string* release_map_name(); - void set_allocated_map_name(std::string* map_name); - private: - const std::string& _internal_map_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_map_name(const std::string& value); - std::string* _internal_mutable_map_name(); - public: - - // optional string game_directory = 6; - bool has_game_directory() const; - private: - bool _internal_has_game_directory() const; - public: - void clear_game_directory(); - const std::string& game_directory() const; - template - void set_game_directory(ArgT0&& arg0, ArgT... args); - std::string* mutable_game_directory(); - PROTOBUF_NODISCARD std::string* release_game_directory(); - void set_allocated_game_directory(std::string* game_directory); - private: - const std::string& _internal_game_directory() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_directory(const std::string& value); - std::string* _internal_mutable_game_directory(); - public: - - // optional string addons = 10; - bool has_addons() const; - private: - bool _internal_has_addons() const; - public: - void clear_addons(); - const std::string& addons() const; - template - void set_addons(ArgT0&& arg0, ArgT... args); - std::string* mutable_addons(); - PROTOBUF_NODISCARD std::string* release_addons(); - void set_allocated_addons(std::string* addons); - private: - const std::string& _internal_addons() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_addons(const std::string& value); - std::string* _internal_mutable_addons(); - public: - - // optional string demo_version_name = 11; - bool has_demo_version_name() const; - private: - bool _internal_has_demo_version_name() const; - public: - void clear_demo_version_name(); - const std::string& demo_version_name() const; - template - void set_demo_version_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_demo_version_name(); - PROTOBUF_NODISCARD std::string* release_demo_version_name(); - void set_allocated_demo_version_name(std::string* demo_version_name); - private: - const std::string& _internal_demo_version_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_demo_version_name(const std::string& value); - std::string* _internal_mutable_demo_version_name(); - public: - - // optional string demo_version_guid = 12; - bool has_demo_version_guid() const; - private: - bool _internal_has_demo_version_guid() const; - public: - void clear_demo_version_guid(); - const std::string& demo_version_guid() const; - template - void set_demo_version_guid(ArgT0&& arg0, ArgT... args); - std::string* mutable_demo_version_guid(); - PROTOBUF_NODISCARD std::string* release_demo_version_guid(); - void set_allocated_demo_version_guid(std::string* demo_version_guid); - private: - const std::string& _internal_demo_version_guid() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_demo_version_guid(const std::string& value); - std::string* _internal_mutable_demo_version_guid(); - public: - - // optional string game = 14; - bool has_game() const; - private: - bool _internal_has_game() const; - public: - void clear_game(); - const std::string& game() const; - template - void set_game(ArgT0&& arg0, ArgT... args); - std::string* mutable_game(); - PROTOBUF_NODISCARD std::string* release_game(); - void set_allocated_game(std::string* game); - private: - const std::string& _internal_game() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_game(const std::string& value); - std::string* _internal_mutable_game(); - public: - - // optional int32 network_protocol = 2; - bool has_network_protocol() const; - private: - bool _internal_has_network_protocol() const; - public: - void clear_network_protocol(); - int32_t network_protocol() const; - void set_network_protocol(int32_t value); - private: - int32_t _internal_network_protocol() const; - void _internal_set_network_protocol(int32_t value); - public: - - // optional int32 fullpackets_version = 7; - bool has_fullpackets_version() const; - private: - bool _internal_has_fullpackets_version() const; - public: - void clear_fullpackets_version(); - int32_t fullpackets_version() const; - void set_fullpackets_version(int32_t value); - private: - int32_t _internal_fullpackets_version() const; - void _internal_set_fullpackets_version(int32_t value); - public: - - // optional bool allow_clientside_entities = 8; - bool has_allow_clientside_entities() const; - private: - bool _internal_has_allow_clientside_entities() const; - public: - void clear_allow_clientside_entities(); - bool allow_clientside_entities() const; - void set_allow_clientside_entities(bool value); - private: - bool _internal_allow_clientside_entities() const; - void _internal_set_allow_clientside_entities(bool value); - public: - - // optional bool allow_clientside_particles = 9; - bool has_allow_clientside_particles() const; - private: - bool _internal_has_allow_clientside_particles() const; - public: - void clear_allow_clientside_particles(); - bool allow_clientside_particles() const; - void set_allow_clientside_particles(bool value); - private: - bool _internal_allow_clientside_particles() const; - void _internal_set_allow_clientside_particles(bool value); - public: - - // optional int32 build_num = 13; - bool has_build_num() const; - private: - bool _internal_has_build_num() const; - public: - void clear_build_num(); - int32_t build_num() const; - void set_build_num(int32_t value); - private: - int32_t _internal_build_num() const; - void _internal_set_build_num(int32_t value); - public: - - // optional int32 server_start_tick = 15; - bool has_server_start_tick() const; - private: - bool _internal_has_server_start_tick() const; - public: - void clear_server_start_tick(); - int32_t server_start_tick() const; - void set_server_start_tick(int32_t value); - private: - int32_t _internal_server_start_tick() const; - void _internal_set_server_start_tick(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CDemoFileHeader) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr demo_file_stamp_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr server_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_directory_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr addons_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr demo_version_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr demo_version_guid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_; - int32_t network_protocol_; - int32_t fullpackets_version_; - bool allow_clientside_entities_; - bool allow_clientside_particles_; - int32_t build_num_; - int32_t server_start_tick_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CGameInfo_CDotaGameInfo_CPlayerInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameInfo.CDotaGameInfo.CPlayerInfo) */ { - public: - inline CGameInfo_CDotaGameInfo_CPlayerInfo() : CGameInfo_CDotaGameInfo_CPlayerInfo(nullptr) {} - ~CGameInfo_CDotaGameInfo_CPlayerInfo() override; - explicit PROTOBUF_CONSTEXPR CGameInfo_CDotaGameInfo_CPlayerInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGameInfo_CDotaGameInfo_CPlayerInfo(const CGameInfo_CDotaGameInfo_CPlayerInfo& from); - CGameInfo_CDotaGameInfo_CPlayerInfo(CGameInfo_CDotaGameInfo_CPlayerInfo&& from) noexcept - : CGameInfo_CDotaGameInfo_CPlayerInfo() { - *this = ::std::move(from); - } - - inline CGameInfo_CDotaGameInfo_CPlayerInfo& operator=(const CGameInfo_CDotaGameInfo_CPlayerInfo& from) { - CopyFrom(from); - return *this; - } - inline CGameInfo_CDotaGameInfo_CPlayerInfo& operator=(CGameInfo_CDotaGameInfo_CPlayerInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGameInfo_CDotaGameInfo_CPlayerInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CGameInfo_CDotaGameInfo_CPlayerInfo* internal_default_instance() { - return reinterpret_cast( - &_CGameInfo_CDotaGameInfo_CPlayerInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CGameInfo_CDotaGameInfo_CPlayerInfo& a, CGameInfo_CDotaGameInfo_CPlayerInfo& b) { - a.Swap(&b); - } - inline void Swap(CGameInfo_CDotaGameInfo_CPlayerInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGameInfo_CDotaGameInfo_CPlayerInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGameInfo_CDotaGameInfo_CPlayerInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CGameInfo_CDotaGameInfo_CPlayerInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CGameInfo_CDotaGameInfo_CPlayerInfo& from) { - CGameInfo_CDotaGameInfo_CPlayerInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CGameInfo_CDotaGameInfo_CPlayerInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGameInfo.CDotaGameInfo.CPlayerInfo"; - } - protected: - explicit CGameInfo_CDotaGameInfo_CPlayerInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kHeroNameFieldNumber = 1, - kPlayerNameFieldNumber = 2, - kSteamidFieldNumber = 4, - kIsFakeClientFieldNumber = 3, - kGameTeamFieldNumber = 5, - }; - // optional string hero_name = 1; - bool has_hero_name() const; - private: - bool _internal_has_hero_name() const; - public: - void clear_hero_name(); - const std::string& hero_name() const; - template - void set_hero_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_hero_name(); - PROTOBUF_NODISCARD std::string* release_hero_name(); - void set_allocated_hero_name(std::string* hero_name); - private: - const std::string& _internal_hero_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_hero_name(const std::string& value); - std::string* _internal_mutable_hero_name(); - public: - - // optional string player_name = 2; - bool has_player_name() const; - private: - bool _internal_has_player_name() const; - public: - void clear_player_name(); - const std::string& player_name() const; - template - void set_player_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_player_name(); - PROTOBUF_NODISCARD std::string* release_player_name(); - void set_allocated_player_name(std::string* player_name); - private: - const std::string& _internal_player_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_player_name(const std::string& value); - std::string* _internal_mutable_player_name(); - public: - - // optional uint64 steamid = 4; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional bool is_fake_client = 3; - bool has_is_fake_client() const; - private: - bool _internal_has_is_fake_client() const; - public: - void clear_is_fake_client(); - bool is_fake_client() const; - void set_is_fake_client(bool value); - private: - bool _internal_is_fake_client() const; - void _internal_set_is_fake_client(bool value); - public: - - // optional int32 game_team = 5; - bool has_game_team() const; - private: - bool _internal_has_game_team() const; - public: - void clear_game_team(); - int32_t game_team() const; - void set_game_team(int32_t value); - private: - int32_t _internal_game_team() const; - void _internal_set_game_team(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CGameInfo.CDotaGameInfo.CPlayerInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hero_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr player_name_; - uint64_t steamid_; - bool is_fake_client_; - int32_t game_team_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CGameInfo_CDotaGameInfo_CHeroSelectEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameInfo.CDotaGameInfo.CHeroSelectEvent) */ { - public: - inline CGameInfo_CDotaGameInfo_CHeroSelectEvent() : CGameInfo_CDotaGameInfo_CHeroSelectEvent(nullptr) {} - ~CGameInfo_CDotaGameInfo_CHeroSelectEvent() override; - explicit PROTOBUF_CONSTEXPR CGameInfo_CDotaGameInfo_CHeroSelectEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGameInfo_CDotaGameInfo_CHeroSelectEvent(const CGameInfo_CDotaGameInfo_CHeroSelectEvent& from); - CGameInfo_CDotaGameInfo_CHeroSelectEvent(CGameInfo_CDotaGameInfo_CHeroSelectEvent&& from) noexcept - : CGameInfo_CDotaGameInfo_CHeroSelectEvent() { - *this = ::std::move(from); - } - - inline CGameInfo_CDotaGameInfo_CHeroSelectEvent& operator=(const CGameInfo_CDotaGameInfo_CHeroSelectEvent& from) { - CopyFrom(from); - return *this; - } - inline CGameInfo_CDotaGameInfo_CHeroSelectEvent& operator=(CGameInfo_CDotaGameInfo_CHeroSelectEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGameInfo_CDotaGameInfo_CHeroSelectEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CGameInfo_CDotaGameInfo_CHeroSelectEvent* internal_default_instance() { - return reinterpret_cast( - &_CGameInfo_CDotaGameInfo_CHeroSelectEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CGameInfo_CDotaGameInfo_CHeroSelectEvent& a, CGameInfo_CDotaGameInfo_CHeroSelectEvent& b) { - a.Swap(&b); - } - inline void Swap(CGameInfo_CDotaGameInfo_CHeroSelectEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGameInfo_CDotaGameInfo_CHeroSelectEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGameInfo_CDotaGameInfo_CHeroSelectEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CGameInfo_CDotaGameInfo_CHeroSelectEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CGameInfo_CDotaGameInfo_CHeroSelectEvent& from) { - CGameInfo_CDotaGameInfo_CHeroSelectEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CGameInfo_CDotaGameInfo_CHeroSelectEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGameInfo.CDotaGameInfo.CHeroSelectEvent"; - } - protected: - explicit CGameInfo_CDotaGameInfo_CHeroSelectEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIsPickFieldNumber = 1, - kTeamFieldNumber = 2, - kHeroIdFieldNumber = 3, - }; - // optional bool is_pick = 1; - bool has_is_pick() const; - private: - bool _internal_has_is_pick() const; - public: - void clear_is_pick(); - bool is_pick() const; - void set_is_pick(bool value); - private: - bool _internal_is_pick() const; - void _internal_set_is_pick(bool value); - public: - - // optional uint32 team = 2; - bool has_team() const; - private: - bool _internal_has_team() const; - public: - void clear_team(); - uint32_t team() const; - void set_team(uint32_t value); - private: - uint32_t _internal_team() const; - void _internal_set_team(uint32_t value); - public: - - // optional int32 hero_id = 3; - bool has_hero_id() const; - private: - bool _internal_has_hero_id() const; - public: - void clear_hero_id(); - int32_t hero_id() const; - void set_hero_id(int32_t value); - private: - int32_t _internal_hero_id() const; - void _internal_set_hero_id(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CGameInfo.CDotaGameInfo.CHeroSelectEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool is_pick_; - uint32_t team_; - int32_t hero_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CGameInfo_CDotaGameInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameInfo.CDotaGameInfo) */ { - public: - inline CGameInfo_CDotaGameInfo() : CGameInfo_CDotaGameInfo(nullptr) {} - ~CGameInfo_CDotaGameInfo() override; - explicit PROTOBUF_CONSTEXPR CGameInfo_CDotaGameInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGameInfo_CDotaGameInfo(const CGameInfo_CDotaGameInfo& from); - CGameInfo_CDotaGameInfo(CGameInfo_CDotaGameInfo&& from) noexcept - : CGameInfo_CDotaGameInfo() { - *this = ::std::move(from); - } - - inline CGameInfo_CDotaGameInfo& operator=(const CGameInfo_CDotaGameInfo& from) { - CopyFrom(from); - return *this; - } - inline CGameInfo_CDotaGameInfo& operator=(CGameInfo_CDotaGameInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGameInfo_CDotaGameInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CGameInfo_CDotaGameInfo* internal_default_instance() { - return reinterpret_cast( - &_CGameInfo_CDotaGameInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CGameInfo_CDotaGameInfo& a, CGameInfo_CDotaGameInfo& b) { - a.Swap(&b); - } - inline void Swap(CGameInfo_CDotaGameInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGameInfo_CDotaGameInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGameInfo_CDotaGameInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CGameInfo_CDotaGameInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CGameInfo_CDotaGameInfo& from) { - CGameInfo_CDotaGameInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CGameInfo_CDotaGameInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGameInfo.CDotaGameInfo"; - } - protected: - explicit CGameInfo_CDotaGameInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CGameInfo_CDotaGameInfo_CPlayerInfo CPlayerInfo; - typedef CGameInfo_CDotaGameInfo_CHeroSelectEvent CHeroSelectEvent; - - // accessors ------------------------------------------------------- - - enum : int { - kPlayerInfoFieldNumber = 4, - kPicksBansFieldNumber = 6, - kRadiantTeamTagFieldNumber = 9, - kDireTeamTagFieldNumber = 10, - kMatchIdFieldNumber = 1, - kGameModeFieldNumber = 2, - kGameWinnerFieldNumber = 3, - kLeagueidFieldNumber = 5, - kRadiantTeamIdFieldNumber = 7, - kDireTeamIdFieldNumber = 8, - kEndTimeFieldNumber = 11, - }; - // repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4; - int player_info_size() const; - private: - int _internal_player_info_size() const; - public: - void clear_player_info(); - ::CGameInfo_CDotaGameInfo_CPlayerInfo* mutable_player_info(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CPlayerInfo >* - mutable_player_info(); - private: - const ::CGameInfo_CDotaGameInfo_CPlayerInfo& _internal_player_info(int index) const; - ::CGameInfo_CDotaGameInfo_CPlayerInfo* _internal_add_player_info(); - public: - const ::CGameInfo_CDotaGameInfo_CPlayerInfo& player_info(int index) const; - ::CGameInfo_CDotaGameInfo_CPlayerInfo* add_player_info(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CPlayerInfo >& - player_info() const; - - // repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6; - int picks_bans_size() const; - private: - int _internal_picks_bans_size() const; - public: - void clear_picks_bans(); - ::CGameInfo_CDotaGameInfo_CHeroSelectEvent* mutable_picks_bans(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CHeroSelectEvent >* - mutable_picks_bans(); - private: - const ::CGameInfo_CDotaGameInfo_CHeroSelectEvent& _internal_picks_bans(int index) const; - ::CGameInfo_CDotaGameInfo_CHeroSelectEvent* _internal_add_picks_bans(); - public: - const ::CGameInfo_CDotaGameInfo_CHeroSelectEvent& picks_bans(int index) const; - ::CGameInfo_CDotaGameInfo_CHeroSelectEvent* add_picks_bans(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CHeroSelectEvent >& - picks_bans() const; - - // optional string radiant_team_tag = 9; - bool has_radiant_team_tag() const; - private: - bool _internal_has_radiant_team_tag() const; - public: - void clear_radiant_team_tag(); - const std::string& radiant_team_tag() const; - template - void set_radiant_team_tag(ArgT0&& arg0, ArgT... args); - std::string* mutable_radiant_team_tag(); - PROTOBUF_NODISCARD std::string* release_radiant_team_tag(); - void set_allocated_radiant_team_tag(std::string* radiant_team_tag); - private: - const std::string& _internal_radiant_team_tag() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_radiant_team_tag(const std::string& value); - std::string* _internal_mutable_radiant_team_tag(); - public: - - // optional string dire_team_tag = 10; - bool has_dire_team_tag() const; - private: - bool _internal_has_dire_team_tag() const; - public: - void clear_dire_team_tag(); - const std::string& dire_team_tag() const; - template - void set_dire_team_tag(ArgT0&& arg0, ArgT... args); - std::string* mutable_dire_team_tag(); - PROTOBUF_NODISCARD std::string* release_dire_team_tag(); - void set_allocated_dire_team_tag(std::string* dire_team_tag); - private: - const std::string& _internal_dire_team_tag() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_dire_team_tag(const std::string& value); - std::string* _internal_mutable_dire_team_tag(); - public: - - // optional uint64 match_id = 1; - bool has_match_id() const; - private: - bool _internal_has_match_id() const; - public: - void clear_match_id(); - uint64_t match_id() const; - void set_match_id(uint64_t value); - private: - uint64_t _internal_match_id() const; - void _internal_set_match_id(uint64_t value); - public: - - // optional int32 game_mode = 2; - bool has_game_mode() const; - private: - bool _internal_has_game_mode() const; - public: - void clear_game_mode(); - int32_t game_mode() const; - void set_game_mode(int32_t value); - private: - int32_t _internal_game_mode() const; - void _internal_set_game_mode(int32_t value); - public: - - // optional int32 game_winner = 3; - bool has_game_winner() const; - private: - bool _internal_has_game_winner() const; - public: - void clear_game_winner(); - int32_t game_winner() const; - void set_game_winner(int32_t value); - private: - int32_t _internal_game_winner() const; - void _internal_set_game_winner(int32_t value); - public: - - // optional uint32 leagueid = 5; - bool has_leagueid() const; - private: - bool _internal_has_leagueid() const; - public: - void clear_leagueid(); - uint32_t leagueid() const; - void set_leagueid(uint32_t value); - private: - uint32_t _internal_leagueid() const; - void _internal_set_leagueid(uint32_t value); - public: - - // optional uint32 radiant_team_id = 7; - bool has_radiant_team_id() const; - private: - bool _internal_has_radiant_team_id() const; - public: - void clear_radiant_team_id(); - uint32_t radiant_team_id() const; - void set_radiant_team_id(uint32_t value); - private: - uint32_t _internal_radiant_team_id() const; - void _internal_set_radiant_team_id(uint32_t value); - public: - - // optional uint32 dire_team_id = 8; - bool has_dire_team_id() const; - private: - bool _internal_has_dire_team_id() const; - public: - void clear_dire_team_id(); - uint32_t dire_team_id() const; - void set_dire_team_id(uint32_t value); - private: - uint32_t _internal_dire_team_id() const; - void _internal_set_dire_team_id(uint32_t value); - public: - - // optional uint32 end_time = 11; - bool has_end_time() const; - private: - bool _internal_has_end_time() const; - public: - void clear_end_time(); - uint32_t end_time() const; - void set_end_time(uint32_t value); - private: - uint32_t _internal_end_time() const; - void _internal_set_end_time(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CGameInfo.CDotaGameInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CPlayerInfo > player_info_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CHeroSelectEvent > picks_bans_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr radiant_team_tag_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dire_team_tag_; - uint64_t match_id_; - int32_t game_mode_; - int32_t game_winner_; - uint32_t leagueid_; - uint32_t radiant_team_id_; - uint32_t dire_team_id_; - uint32_t end_time_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CGameInfo_CCSGameInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameInfo.CCSGameInfo) */ { - public: - inline CGameInfo_CCSGameInfo() : CGameInfo_CCSGameInfo(nullptr) {} - ~CGameInfo_CCSGameInfo() override; - explicit PROTOBUF_CONSTEXPR CGameInfo_CCSGameInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGameInfo_CCSGameInfo(const CGameInfo_CCSGameInfo& from); - CGameInfo_CCSGameInfo(CGameInfo_CCSGameInfo&& from) noexcept - : CGameInfo_CCSGameInfo() { - *this = ::std::move(from); - } - - inline CGameInfo_CCSGameInfo& operator=(const CGameInfo_CCSGameInfo& from) { - CopyFrom(from); - return *this; - } - inline CGameInfo_CCSGameInfo& operator=(CGameInfo_CCSGameInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGameInfo_CCSGameInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CGameInfo_CCSGameInfo* internal_default_instance() { - return reinterpret_cast( - &_CGameInfo_CCSGameInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CGameInfo_CCSGameInfo& a, CGameInfo_CCSGameInfo& b) { - a.Swap(&b); - } - inline void Swap(CGameInfo_CCSGameInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGameInfo_CCSGameInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGameInfo_CCSGameInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CGameInfo_CCSGameInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CGameInfo_CCSGameInfo& from) { - CGameInfo_CCSGameInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CGameInfo_CCSGameInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGameInfo.CCSGameInfo"; - } - protected: - explicit CGameInfo_CCSGameInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRoundStartTicksFieldNumber = 1, - }; - // repeated int32 round_start_ticks = 1; - int round_start_ticks_size() const; - private: - int _internal_round_start_ticks_size() const; - public: - void clear_round_start_ticks(); - private: - int32_t _internal_round_start_ticks(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_round_start_ticks() const; - void _internal_add_round_start_ticks(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_round_start_ticks(); - public: - int32_t round_start_ticks(int index) const; - void set_round_start_ticks(int index, int32_t value); - void add_round_start_ticks(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - round_start_ticks() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_round_start_ticks(); - - // @@protoc_insertion_point(class_scope:CGameInfo.CCSGameInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > round_start_ticks_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CGameInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameInfo) */ { - public: - inline CGameInfo() : CGameInfo(nullptr) {} - ~CGameInfo() override; - explicit PROTOBUF_CONSTEXPR CGameInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGameInfo(const CGameInfo& from); - CGameInfo(CGameInfo&& from) noexcept - : CGameInfo() { - *this = ::std::move(from); - } - - inline CGameInfo& operator=(const CGameInfo& from) { - CopyFrom(from); - return *this; - } - inline CGameInfo& operator=(CGameInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGameInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CGameInfo* internal_default_instance() { - return reinterpret_cast( - &_CGameInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CGameInfo& a, CGameInfo& b) { - a.Swap(&b); - } - inline void Swap(CGameInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGameInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGameInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CGameInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CGameInfo& from) { - CGameInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CGameInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGameInfo"; - } - protected: - explicit CGameInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CGameInfo_CDotaGameInfo CDotaGameInfo; - typedef CGameInfo_CCSGameInfo CCSGameInfo; - - // accessors ------------------------------------------------------- - - enum : int { - kDotaFieldNumber = 4, - kCsFieldNumber = 5, - }; - // optional .CGameInfo.CDotaGameInfo dota = 4; - bool has_dota() const; - private: - bool _internal_has_dota() const; - public: - void clear_dota(); - const ::CGameInfo_CDotaGameInfo& dota() const; - PROTOBUF_NODISCARD ::CGameInfo_CDotaGameInfo* release_dota(); - ::CGameInfo_CDotaGameInfo* mutable_dota(); - void set_allocated_dota(::CGameInfo_CDotaGameInfo* dota); - private: - const ::CGameInfo_CDotaGameInfo& _internal_dota() const; - ::CGameInfo_CDotaGameInfo* _internal_mutable_dota(); - public: - void unsafe_arena_set_allocated_dota( - ::CGameInfo_CDotaGameInfo* dota); - ::CGameInfo_CDotaGameInfo* unsafe_arena_release_dota(); - - // optional .CGameInfo.CCSGameInfo cs = 5; - bool has_cs() const; - private: - bool _internal_has_cs() const; - public: - void clear_cs(); - const ::CGameInfo_CCSGameInfo& cs() const; - PROTOBUF_NODISCARD ::CGameInfo_CCSGameInfo* release_cs(); - ::CGameInfo_CCSGameInfo* mutable_cs(); - void set_allocated_cs(::CGameInfo_CCSGameInfo* cs); - private: - const ::CGameInfo_CCSGameInfo& _internal_cs() const; - ::CGameInfo_CCSGameInfo* _internal_mutable_cs(); - public: - void unsafe_arena_set_allocated_cs( - ::CGameInfo_CCSGameInfo* cs); - ::CGameInfo_CCSGameInfo* unsafe_arena_release_cs(); - - // @@protoc_insertion_point(class_scope:CGameInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CGameInfo_CDotaGameInfo* dota_; - ::CGameInfo_CCSGameInfo* cs_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoFileInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoFileInfo) */ { - public: - inline CDemoFileInfo() : CDemoFileInfo(nullptr) {} - ~CDemoFileInfo() override; - explicit PROTOBUF_CONSTEXPR CDemoFileInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoFileInfo(const CDemoFileInfo& from); - CDemoFileInfo(CDemoFileInfo&& from) noexcept - : CDemoFileInfo() { - *this = ::std::move(from); - } - - inline CDemoFileInfo& operator=(const CDemoFileInfo& from) { - CopyFrom(from); - return *this; - } - inline CDemoFileInfo& operator=(CDemoFileInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoFileInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoFileInfo* internal_default_instance() { - return reinterpret_cast( - &_CDemoFileInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CDemoFileInfo& a, CDemoFileInfo& b) { - a.Swap(&b); - } - inline void Swap(CDemoFileInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoFileInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoFileInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoFileInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoFileInfo& from) { - CDemoFileInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoFileInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoFileInfo"; - } - protected: - explicit CDemoFileInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGameInfoFieldNumber = 4, - kPlaybackTimeFieldNumber = 1, - kPlaybackTicksFieldNumber = 2, - kPlaybackFramesFieldNumber = 3, - }; - // optional .CGameInfo game_info = 4; - bool has_game_info() const; - private: - bool _internal_has_game_info() const; - public: - void clear_game_info(); - const ::CGameInfo& game_info() const; - PROTOBUF_NODISCARD ::CGameInfo* release_game_info(); - ::CGameInfo* mutable_game_info(); - void set_allocated_game_info(::CGameInfo* game_info); - private: - const ::CGameInfo& _internal_game_info() const; - ::CGameInfo* _internal_mutable_game_info(); - public: - void unsafe_arena_set_allocated_game_info( - ::CGameInfo* game_info); - ::CGameInfo* unsafe_arena_release_game_info(); - - // optional float playback_time = 1; - bool has_playback_time() const; - private: - bool _internal_has_playback_time() const; - public: - void clear_playback_time(); - float playback_time() const; - void set_playback_time(float value); - private: - float _internal_playback_time() const; - void _internal_set_playback_time(float value); - public: - - // optional int32 playback_ticks = 2; - bool has_playback_ticks() const; - private: - bool _internal_has_playback_ticks() const; - public: - void clear_playback_ticks(); - int32_t playback_ticks() const; - void set_playback_ticks(int32_t value); - private: - int32_t _internal_playback_ticks() const; - void _internal_set_playback_ticks(int32_t value); - public: - - // optional int32 playback_frames = 3; - bool has_playback_frames() const; - private: - bool _internal_has_playback_frames() const; - public: - void clear_playback_frames(); - int32_t playback_frames() const; - void set_playback_frames(int32_t value); - private: - int32_t _internal_playback_frames() const; - void _internal_set_playback_frames(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CDemoFileInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CGameInfo* game_info_; - float playback_time_; - int32_t playback_ticks_; - int32_t playback_frames_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoPacket : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoPacket) */ { - public: - inline CDemoPacket() : CDemoPacket(nullptr) {} - ~CDemoPacket() override; - explicit PROTOBUF_CONSTEXPR CDemoPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoPacket(const CDemoPacket& from); - CDemoPacket(CDemoPacket&& from) noexcept - : CDemoPacket() { - *this = ::std::move(from); - } - - inline CDemoPacket& operator=(const CDemoPacket& from) { - CopyFrom(from); - return *this; - } - inline CDemoPacket& operator=(CDemoPacket&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoPacket& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoPacket* internal_default_instance() { - return reinterpret_cast( - &_CDemoPacket_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(CDemoPacket& a, CDemoPacket& b) { - a.Swap(&b); - } - inline void Swap(CDemoPacket* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoPacket* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoPacket& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoPacket& from) { - CDemoPacket::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoPacket* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoPacket"; - } - protected: - explicit CDemoPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 3, - }; - // optional bytes data = 3; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // @@protoc_insertion_point(class_scope:CDemoPacket) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoFullPacket : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoFullPacket) */ { - public: - inline CDemoFullPacket() : CDemoFullPacket(nullptr) {} - ~CDemoFullPacket() override; - explicit PROTOBUF_CONSTEXPR CDemoFullPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoFullPacket(const CDemoFullPacket& from); - CDemoFullPacket(CDemoFullPacket&& from) noexcept - : CDemoFullPacket() { - *this = ::std::move(from); - } - - inline CDemoFullPacket& operator=(const CDemoFullPacket& from) { - CopyFrom(from); - return *this; - } - inline CDemoFullPacket& operator=(CDemoFullPacket&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoFullPacket& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoFullPacket* internal_default_instance() { - return reinterpret_cast( - &_CDemoFullPacket_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(CDemoFullPacket& a, CDemoFullPacket& b) { - a.Swap(&b); - } - inline void Swap(CDemoFullPacket* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoFullPacket* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoFullPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoFullPacket& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoFullPacket& from) { - CDemoFullPacket::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoFullPacket* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoFullPacket"; - } - protected: - explicit CDemoFullPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStringTableFieldNumber = 1, - kPacketFieldNumber = 2, - }; - // optional .CDemoStringTables string_table = 1; - bool has_string_table() const; - private: - bool _internal_has_string_table() const; - public: - void clear_string_table(); - const ::CDemoStringTables& string_table() const; - PROTOBUF_NODISCARD ::CDemoStringTables* release_string_table(); - ::CDemoStringTables* mutable_string_table(); - void set_allocated_string_table(::CDemoStringTables* string_table); - private: - const ::CDemoStringTables& _internal_string_table() const; - ::CDemoStringTables* _internal_mutable_string_table(); - public: - void unsafe_arena_set_allocated_string_table( - ::CDemoStringTables* string_table); - ::CDemoStringTables* unsafe_arena_release_string_table(); - - // optional .CDemoPacket packet = 2; - bool has_packet() const; - private: - bool _internal_has_packet() const; - public: - void clear_packet(); - const ::CDemoPacket& packet() const; - PROTOBUF_NODISCARD ::CDemoPacket* release_packet(); - ::CDemoPacket* mutable_packet(); - void set_allocated_packet(::CDemoPacket* packet); - private: - const ::CDemoPacket& _internal_packet() const; - ::CDemoPacket* _internal_mutable_packet(); - public: - void unsafe_arena_set_allocated_packet( - ::CDemoPacket* packet); - ::CDemoPacket* unsafe_arena_release_packet(); - - // @@protoc_insertion_point(class_scope:CDemoFullPacket) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CDemoStringTables* string_table_; - ::CDemoPacket* packet_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoSaveGame : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoSaveGame) */ { - public: - inline CDemoSaveGame() : CDemoSaveGame(nullptr) {} - ~CDemoSaveGame() override; - explicit PROTOBUF_CONSTEXPR CDemoSaveGame(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoSaveGame(const CDemoSaveGame& from); - CDemoSaveGame(CDemoSaveGame&& from) noexcept - : CDemoSaveGame() { - *this = ::std::move(from); - } - - inline CDemoSaveGame& operator=(const CDemoSaveGame& from) { - CopyFrom(from); - return *this; - } - inline CDemoSaveGame& operator=(CDemoSaveGame&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoSaveGame& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoSaveGame* internal_default_instance() { - return reinterpret_cast( - &_CDemoSaveGame_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(CDemoSaveGame& a, CDemoSaveGame& b) { - a.Swap(&b); - } - inline void Swap(CDemoSaveGame* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoSaveGame* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoSaveGame* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoSaveGame& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoSaveGame& from) { - CDemoSaveGame::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoSaveGame* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoSaveGame"; - } - protected: - explicit CDemoSaveGame(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 1, - kSteamIdFieldNumber = 2, - kSignatureFieldNumber = 3, - kVersionFieldNumber = 4, - }; - // optional bytes data = 1; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // optional fixed64 steam_id = 2; - bool has_steam_id() const; - private: - bool _internal_has_steam_id() const; - public: - void clear_steam_id(); - uint64_t steam_id() const; - void set_steam_id(uint64_t value); - private: - uint64_t _internal_steam_id() const; - void _internal_set_steam_id(uint64_t value); - public: - - // optional fixed64 signature = 3; - bool has_signature() const; - private: - bool _internal_has_signature() const; - public: - void clear_signature(); - uint64_t signature() const; - void set_signature(uint64_t value); - private: - uint64_t _internal_signature() const; - void _internal_set_signature(uint64_t value); - public: - - // optional int32 version = 4; - bool has_version() const; - private: - bool _internal_has_version() const; - public: - void clear_version(); - int32_t version() const; - void set_version(int32_t value); - private: - int32_t _internal_version() const; - void _internal_set_version(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CDemoSaveGame) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - uint64_t steam_id_; - uint64_t signature_; - int32_t version_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoSyncTick : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CDemoSyncTick) */ { - public: - inline CDemoSyncTick() : CDemoSyncTick(nullptr) {} - explicit PROTOBUF_CONSTEXPR CDemoSyncTick(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoSyncTick(const CDemoSyncTick& from); - CDemoSyncTick(CDemoSyncTick&& from) noexcept - : CDemoSyncTick() { - *this = ::std::move(from); - } - - inline CDemoSyncTick& operator=(const CDemoSyncTick& from) { - CopyFrom(from); - return *this; - } - inline CDemoSyncTick& operator=(CDemoSyncTick&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoSyncTick& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoSyncTick* internal_default_instance() { - return reinterpret_cast( - &_CDemoSyncTick_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(CDemoSyncTick& a, CDemoSyncTick& b) { - a.Swap(&b); - } - inline void Swap(CDemoSyncTick* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoSyncTick* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoSyncTick* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CDemoSyncTick& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CDemoSyncTick& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoSyncTick"; - } - protected: - explicit CDemoSyncTick(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CDemoSyncTick) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoConsoleCmd : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoConsoleCmd) */ { - public: - inline CDemoConsoleCmd() : CDemoConsoleCmd(nullptr) {} - ~CDemoConsoleCmd() override; - explicit PROTOBUF_CONSTEXPR CDemoConsoleCmd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoConsoleCmd(const CDemoConsoleCmd& from); - CDemoConsoleCmd(CDemoConsoleCmd&& from) noexcept - : CDemoConsoleCmd() { - *this = ::std::move(from); - } - - inline CDemoConsoleCmd& operator=(const CDemoConsoleCmd& from) { - CopyFrom(from); - return *this; - } - inline CDemoConsoleCmd& operator=(CDemoConsoleCmd&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoConsoleCmd& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoConsoleCmd* internal_default_instance() { - return reinterpret_cast( - &_CDemoConsoleCmd_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(CDemoConsoleCmd& a, CDemoConsoleCmd& b) { - a.Swap(&b); - } - inline void Swap(CDemoConsoleCmd* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoConsoleCmd* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoConsoleCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoConsoleCmd& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoConsoleCmd& from) { - CDemoConsoleCmd::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoConsoleCmd* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoConsoleCmd"; - } - protected: - explicit CDemoConsoleCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCmdstringFieldNumber = 1, - }; - // optional string cmdstring = 1; - bool has_cmdstring() const; - private: - bool _internal_has_cmdstring() const; - public: - void clear_cmdstring(); - const std::string& cmdstring() const; - template - void set_cmdstring(ArgT0&& arg0, ArgT... args); - std::string* mutable_cmdstring(); - PROTOBUF_NODISCARD std::string* release_cmdstring(); - void set_allocated_cmdstring(std::string* cmdstring); - private: - const std::string& _internal_cmdstring() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_cmdstring(const std::string& value); - std::string* _internal_mutable_cmdstring(); - public: - - // @@protoc_insertion_point(class_scope:CDemoConsoleCmd) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cmdstring_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoSendTables : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoSendTables) */ { - public: - inline CDemoSendTables() : CDemoSendTables(nullptr) {} - ~CDemoSendTables() override; - explicit PROTOBUF_CONSTEXPR CDemoSendTables(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoSendTables(const CDemoSendTables& from); - CDemoSendTables(CDemoSendTables&& from) noexcept - : CDemoSendTables() { - *this = ::std::move(from); - } - - inline CDemoSendTables& operator=(const CDemoSendTables& from) { - CopyFrom(from); - return *this; - } - inline CDemoSendTables& operator=(CDemoSendTables&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoSendTables& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoSendTables* internal_default_instance() { - return reinterpret_cast( - &_CDemoSendTables_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(CDemoSendTables& a, CDemoSendTables& b) { - a.Swap(&b); - } - inline void Swap(CDemoSendTables* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoSendTables* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoSendTables* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoSendTables& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoSendTables& from) { - CDemoSendTables::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoSendTables* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoSendTables"; - } - protected: - explicit CDemoSendTables(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 1, - }; - // optional bytes data = 1; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // @@protoc_insertion_point(class_scope:CDemoSendTables) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoClassInfo_class_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoClassInfo.class_t) */ { - public: - inline CDemoClassInfo_class_t() : CDemoClassInfo_class_t(nullptr) {} - ~CDemoClassInfo_class_t() override; - explicit PROTOBUF_CONSTEXPR CDemoClassInfo_class_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoClassInfo_class_t(const CDemoClassInfo_class_t& from); - CDemoClassInfo_class_t(CDemoClassInfo_class_t&& from) noexcept - : CDemoClassInfo_class_t() { - *this = ::std::move(from); - } - - inline CDemoClassInfo_class_t& operator=(const CDemoClassInfo_class_t& from) { - CopyFrom(from); - return *this; - } - inline CDemoClassInfo_class_t& operator=(CDemoClassInfo_class_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoClassInfo_class_t& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoClassInfo_class_t* internal_default_instance() { - return reinterpret_cast( - &_CDemoClassInfo_class_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - friend void swap(CDemoClassInfo_class_t& a, CDemoClassInfo_class_t& b) { - a.Swap(&b); - } - inline void Swap(CDemoClassInfo_class_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoClassInfo_class_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoClassInfo_class_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoClassInfo_class_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoClassInfo_class_t& from) { - CDemoClassInfo_class_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoClassInfo_class_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoClassInfo.class_t"; - } - protected: - explicit CDemoClassInfo_class_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNetworkNameFieldNumber = 2, - kTableNameFieldNumber = 3, - kClassIdFieldNumber = 1, - }; - // optional string network_name = 2; - bool has_network_name() const; - private: - bool _internal_has_network_name() const; - public: - void clear_network_name(); - const std::string& network_name() const; - template - void set_network_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_network_name(); - PROTOBUF_NODISCARD std::string* release_network_name(); - void set_allocated_network_name(std::string* network_name); - private: - const std::string& _internal_network_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_network_name(const std::string& value); - std::string* _internal_mutable_network_name(); - public: - - // optional string table_name = 3; - bool has_table_name() const; - private: - bool _internal_has_table_name() const; - public: - void clear_table_name(); - const std::string& table_name() const; - template - void set_table_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_table_name(); - PROTOBUF_NODISCARD std::string* release_table_name(); - void set_allocated_table_name(std::string* table_name); - private: - const std::string& _internal_table_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_table_name(const std::string& value); - std::string* _internal_mutable_table_name(); - public: - - // optional int32 class_id = 1; - bool has_class_id() const; - private: - bool _internal_has_class_id() const; - public: - void clear_class_id(); - int32_t class_id() const; - void set_class_id(int32_t value); - private: - int32_t _internal_class_id() const; - void _internal_set_class_id(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CDemoClassInfo.class_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr network_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr table_name_; - int32_t class_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoClassInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoClassInfo) */ { - public: - inline CDemoClassInfo() : CDemoClassInfo(nullptr) {} - ~CDemoClassInfo() override; - explicit PROTOBUF_CONSTEXPR CDemoClassInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoClassInfo(const CDemoClassInfo& from); - CDemoClassInfo(CDemoClassInfo&& from) noexcept - : CDemoClassInfo() { - *this = ::std::move(from); - } - - inline CDemoClassInfo& operator=(const CDemoClassInfo& from) { - CopyFrom(from); - return *this; - } - inline CDemoClassInfo& operator=(CDemoClassInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoClassInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoClassInfo* internal_default_instance() { - return reinterpret_cast( - &_CDemoClassInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - friend void swap(CDemoClassInfo& a, CDemoClassInfo& b) { - a.Swap(&b); - } - inline void Swap(CDemoClassInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoClassInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoClassInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoClassInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoClassInfo& from) { - CDemoClassInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoClassInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoClassInfo"; - } - protected: - explicit CDemoClassInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CDemoClassInfo_class_t class_t; - - // accessors ------------------------------------------------------- - - enum : int { - kClassesFieldNumber = 1, - }; - // repeated .CDemoClassInfo.class_t classes = 1; - int classes_size() const; - private: - int _internal_classes_size() const; - public: - void clear_classes(); - ::CDemoClassInfo_class_t* mutable_classes(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoClassInfo_class_t >* - mutable_classes(); - private: - const ::CDemoClassInfo_class_t& _internal_classes(int index) const; - ::CDemoClassInfo_class_t* _internal_add_classes(); - public: - const ::CDemoClassInfo_class_t& classes(int index) const; - ::CDemoClassInfo_class_t* add_classes(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoClassInfo_class_t >& - classes() const; - - // @@protoc_insertion_point(class_scope:CDemoClassInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoClassInfo_class_t > classes_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoCustomData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoCustomData) */ { - public: - inline CDemoCustomData() : CDemoCustomData(nullptr) {} - ~CDemoCustomData() override; - explicit PROTOBUF_CONSTEXPR CDemoCustomData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoCustomData(const CDemoCustomData& from); - CDemoCustomData(CDemoCustomData&& from) noexcept - : CDemoCustomData() { - *this = ::std::move(from); - } - - inline CDemoCustomData& operator=(const CDemoCustomData& from) { - CopyFrom(from); - return *this; - } - inline CDemoCustomData& operator=(CDemoCustomData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoCustomData& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoCustomData* internal_default_instance() { - return reinterpret_cast( - &_CDemoCustomData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - friend void swap(CDemoCustomData& a, CDemoCustomData& b) { - a.Swap(&b); - } - inline void Swap(CDemoCustomData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoCustomData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoCustomData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoCustomData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoCustomData& from) { - CDemoCustomData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoCustomData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoCustomData"; - } - protected: - explicit CDemoCustomData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 2, - kCallbackIndexFieldNumber = 1, - }; - // optional bytes data = 2; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // optional int32 callback_index = 1; - bool has_callback_index() const; - private: - bool _internal_has_callback_index() const; - public: - void clear_callback_index(); - int32_t callback_index() const; - void set_callback_index(int32_t value); - private: - int32_t _internal_callback_index() const; - void _internal_set_callback_index(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CDemoCustomData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - int32_t callback_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoCustomDataCallbacks : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoCustomDataCallbacks) */ { - public: - inline CDemoCustomDataCallbacks() : CDemoCustomDataCallbacks(nullptr) {} - ~CDemoCustomDataCallbacks() override; - explicit PROTOBUF_CONSTEXPR CDemoCustomDataCallbacks(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoCustomDataCallbacks(const CDemoCustomDataCallbacks& from); - CDemoCustomDataCallbacks(CDemoCustomDataCallbacks&& from) noexcept - : CDemoCustomDataCallbacks() { - *this = ::std::move(from); - } - - inline CDemoCustomDataCallbacks& operator=(const CDemoCustomDataCallbacks& from) { - CopyFrom(from); - return *this; - } - inline CDemoCustomDataCallbacks& operator=(CDemoCustomDataCallbacks&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoCustomDataCallbacks& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoCustomDataCallbacks* internal_default_instance() { - return reinterpret_cast( - &_CDemoCustomDataCallbacks_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - friend void swap(CDemoCustomDataCallbacks& a, CDemoCustomDataCallbacks& b) { - a.Swap(&b); - } - inline void Swap(CDemoCustomDataCallbacks* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoCustomDataCallbacks* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoCustomDataCallbacks* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoCustomDataCallbacks& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoCustomDataCallbacks& from) { - CDemoCustomDataCallbacks::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoCustomDataCallbacks* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoCustomDataCallbacks"; - } - protected: - explicit CDemoCustomDataCallbacks(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSaveIdFieldNumber = 1, - }; - // repeated string save_id = 1; - int save_id_size() const; - private: - int _internal_save_id_size() const; - public: - void clear_save_id(); - const std::string& save_id(int index) const; - std::string* mutable_save_id(int index); - void set_save_id(int index, const std::string& value); - void set_save_id(int index, std::string&& value); - void set_save_id(int index, const char* value); - void set_save_id(int index, const char* value, size_t size); - std::string* add_save_id(); - void add_save_id(const std::string& value); - void add_save_id(std::string&& value); - void add_save_id(const char* value); - void add_save_id(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& save_id() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_save_id(); - private: - const std::string& _internal_save_id(int index) const; - std::string* _internal_add_save_id(); - public: - - // @@protoc_insertion_point(class_scope:CDemoCustomDataCallbacks) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField save_id_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoAnimationHeader : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoAnimationHeader) */ { - public: - inline CDemoAnimationHeader() : CDemoAnimationHeader(nullptr) {} - ~CDemoAnimationHeader() override; - explicit PROTOBUF_CONSTEXPR CDemoAnimationHeader(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoAnimationHeader(const CDemoAnimationHeader& from); - CDemoAnimationHeader(CDemoAnimationHeader&& from) noexcept - : CDemoAnimationHeader() { - *this = ::std::move(from); - } - - inline CDemoAnimationHeader& operator=(const CDemoAnimationHeader& from) { - CopyFrom(from); - return *this; - } - inline CDemoAnimationHeader& operator=(CDemoAnimationHeader&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoAnimationHeader& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoAnimationHeader* internal_default_instance() { - return reinterpret_cast( - &_CDemoAnimationHeader_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - friend void swap(CDemoAnimationHeader& a, CDemoAnimationHeader& b) { - a.Swap(&b); - } - inline void Swap(CDemoAnimationHeader* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoAnimationHeader* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoAnimationHeader* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoAnimationHeader& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoAnimationHeader& from) { - CDemoAnimationHeader::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoAnimationHeader* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoAnimationHeader"; - } - protected: - explicit CDemoAnimationHeader(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 3, - kEntityIdFieldNumber = 1, - kTickFieldNumber = 2, - }; - // optional bytes data = 3; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // optional sint32 entity_id = 1; - bool has_entity_id() const; - private: - bool _internal_has_entity_id() const; - public: - void clear_entity_id(); - int32_t entity_id() const; - void set_entity_id(int32_t value); - private: - int32_t _internal_entity_id() const; - void _internal_set_entity_id(int32_t value); - public: - - // optional int32 tick = 2; - bool has_tick() const; - private: - bool _internal_has_tick() const; - public: - void clear_tick(); - int32_t tick() const; - void set_tick(int32_t value); - private: - int32_t _internal_tick() const; - void _internal_set_tick(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CDemoAnimationHeader) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - int32_t entity_id_; - int32_t tick_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoAnimationData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoAnimationData) */ { - public: - inline CDemoAnimationData() : CDemoAnimationData(nullptr) {} - ~CDemoAnimationData() override; - explicit PROTOBUF_CONSTEXPR CDemoAnimationData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoAnimationData(const CDemoAnimationData& from); - CDemoAnimationData(CDemoAnimationData&& from) noexcept - : CDemoAnimationData() { - *this = ::std::move(from); - } - - inline CDemoAnimationData& operator=(const CDemoAnimationData& from) { - CopyFrom(from); - return *this; - } - inline CDemoAnimationData& operator=(CDemoAnimationData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoAnimationData& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoAnimationData* internal_default_instance() { - return reinterpret_cast( - &_CDemoAnimationData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - friend void swap(CDemoAnimationData& a, CDemoAnimationData& b) { - a.Swap(&b); - } - inline void Swap(CDemoAnimationData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoAnimationData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoAnimationData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoAnimationData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoAnimationData& from) { - CDemoAnimationData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoAnimationData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoAnimationData"; - } - protected: - explicit CDemoAnimationData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 4, - kEntityIdFieldNumber = 1, - kStartTickFieldNumber = 2, - kDataChecksumFieldNumber = 5, - kEndTickFieldNumber = 3, - }; - // optional bytes data = 4; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // optional sint32 entity_id = 1; - bool has_entity_id() const; - private: - bool _internal_has_entity_id() const; - public: - void clear_entity_id(); - int32_t entity_id() const; - void set_entity_id(int32_t value); - private: - int32_t _internal_entity_id() const; - void _internal_set_entity_id(int32_t value); - public: - - // optional int32 start_tick = 2; - bool has_start_tick() const; - private: - bool _internal_has_start_tick() const; - public: - void clear_start_tick(); - int32_t start_tick() const; - void set_start_tick(int32_t value); - private: - int32_t _internal_start_tick() const; - void _internal_set_start_tick(int32_t value); - public: - - // optional int64 data_checksum = 5; - bool has_data_checksum() const; - private: - bool _internal_has_data_checksum() const; - public: - void clear_data_checksum(); - int64_t data_checksum() const; - void set_data_checksum(int64_t value); - private: - int64_t _internal_data_checksum() const; - void _internal_set_data_checksum(int64_t value); - public: - - // optional int32 end_tick = 3; - bool has_end_tick() const; - private: - bool _internal_has_end_tick() const; - public: - void clear_end_tick(); - int32_t end_tick() const; - void set_end_tick(int32_t value); - private: - int32_t _internal_end_tick() const; - void _internal_set_end_tick(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CDemoAnimationData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - int32_t entity_id_; - int32_t start_tick_; - int64_t data_checksum_; - int32_t end_tick_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoStringTables_items_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoStringTables.items_t) */ { - public: - inline CDemoStringTables_items_t() : CDemoStringTables_items_t(nullptr) {} - ~CDemoStringTables_items_t() override; - explicit PROTOBUF_CONSTEXPR CDemoStringTables_items_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoStringTables_items_t(const CDemoStringTables_items_t& from); - CDemoStringTables_items_t(CDemoStringTables_items_t&& from) noexcept - : CDemoStringTables_items_t() { - *this = ::std::move(from); - } - - inline CDemoStringTables_items_t& operator=(const CDemoStringTables_items_t& from) { - CopyFrom(from); - return *this; - } - inline CDemoStringTables_items_t& operator=(CDemoStringTables_items_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoStringTables_items_t& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoStringTables_items_t* internal_default_instance() { - return reinterpret_cast( - &_CDemoStringTables_items_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - friend void swap(CDemoStringTables_items_t& a, CDemoStringTables_items_t& b) { - a.Swap(&b); - } - inline void Swap(CDemoStringTables_items_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoStringTables_items_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoStringTables_items_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoStringTables_items_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoStringTables_items_t& from) { - CDemoStringTables_items_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoStringTables_items_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoStringTables.items_t"; - } - protected: - explicit CDemoStringTables_items_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStrFieldNumber = 1, - kDataFieldNumber = 2, - }; - // optional string str = 1; - bool has_str() const; - private: - bool _internal_has_str() const; - public: - void clear_str(); - const std::string& str() const; - template - void set_str(ArgT0&& arg0, ArgT... args); - std::string* mutable_str(); - PROTOBUF_NODISCARD std::string* release_str(); - void set_allocated_str(std::string* str); - private: - const std::string& _internal_str() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_str(const std::string& value); - std::string* _internal_mutable_str(); - public: - - // optional bytes data = 2; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // @@protoc_insertion_point(class_scope:CDemoStringTables.items_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr str_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoStringTables_table_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoStringTables.table_t) */ { - public: - inline CDemoStringTables_table_t() : CDemoStringTables_table_t(nullptr) {} - ~CDemoStringTables_table_t() override; - explicit PROTOBUF_CONSTEXPR CDemoStringTables_table_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoStringTables_table_t(const CDemoStringTables_table_t& from); - CDemoStringTables_table_t(CDemoStringTables_table_t&& from) noexcept - : CDemoStringTables_table_t() { - *this = ::std::move(from); - } - - inline CDemoStringTables_table_t& operator=(const CDemoStringTables_table_t& from) { - CopyFrom(from); - return *this; - } - inline CDemoStringTables_table_t& operator=(CDemoStringTables_table_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoStringTables_table_t& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoStringTables_table_t* internal_default_instance() { - return reinterpret_cast( - &_CDemoStringTables_table_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 20; - - friend void swap(CDemoStringTables_table_t& a, CDemoStringTables_table_t& b) { - a.Swap(&b); - } - inline void Swap(CDemoStringTables_table_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoStringTables_table_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoStringTables_table_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoStringTables_table_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoStringTables_table_t& from) { - CDemoStringTables_table_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoStringTables_table_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoStringTables.table_t"; - } - protected: - explicit CDemoStringTables_table_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemsFieldNumber = 2, - kItemsClientsideFieldNumber = 3, - kTableNameFieldNumber = 1, - kTableFlagsFieldNumber = 4, - }; - // repeated .CDemoStringTables.items_t items = 2; - int items_size() const; - private: - int _internal_items_size() const; - public: - void clear_items(); - ::CDemoStringTables_items_t* mutable_items(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t >* - mutable_items(); - private: - const ::CDemoStringTables_items_t& _internal_items(int index) const; - ::CDemoStringTables_items_t* _internal_add_items(); - public: - const ::CDemoStringTables_items_t& items(int index) const; - ::CDemoStringTables_items_t* add_items(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t >& - items() const; - - // repeated .CDemoStringTables.items_t items_clientside = 3; - int items_clientside_size() const; - private: - int _internal_items_clientside_size() const; - public: - void clear_items_clientside(); - ::CDemoStringTables_items_t* mutable_items_clientside(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t >* - mutable_items_clientside(); - private: - const ::CDemoStringTables_items_t& _internal_items_clientside(int index) const; - ::CDemoStringTables_items_t* _internal_add_items_clientside(); - public: - const ::CDemoStringTables_items_t& items_clientside(int index) const; - ::CDemoStringTables_items_t* add_items_clientside(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t >& - items_clientside() const; - - // optional string table_name = 1; - bool has_table_name() const; - private: - bool _internal_has_table_name() const; - public: - void clear_table_name(); - const std::string& table_name() const; - template - void set_table_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_table_name(); - PROTOBUF_NODISCARD std::string* release_table_name(); - void set_allocated_table_name(std::string* table_name); - private: - const std::string& _internal_table_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_table_name(const std::string& value); - std::string* _internal_mutable_table_name(); - public: - - // optional int32 table_flags = 4; - bool has_table_flags() const; - private: - bool _internal_has_table_flags() const; - public: - void clear_table_flags(); - int32_t table_flags() const; - void set_table_flags(int32_t value); - private: - int32_t _internal_table_flags() const; - void _internal_set_table_flags(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CDemoStringTables.table_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t > items_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t > items_clientside_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr table_name_; - int32_t table_flags_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoStringTables : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoStringTables) */ { - public: - inline CDemoStringTables() : CDemoStringTables(nullptr) {} - ~CDemoStringTables() override; - explicit PROTOBUF_CONSTEXPR CDemoStringTables(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoStringTables(const CDemoStringTables& from); - CDemoStringTables(CDemoStringTables&& from) noexcept - : CDemoStringTables() { - *this = ::std::move(from); - } - - inline CDemoStringTables& operator=(const CDemoStringTables& from) { - CopyFrom(from); - return *this; - } - inline CDemoStringTables& operator=(CDemoStringTables&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoStringTables& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoStringTables* internal_default_instance() { - return reinterpret_cast( - &_CDemoStringTables_default_instance_); - } - static constexpr int kIndexInFileMessages = - 21; - - friend void swap(CDemoStringTables& a, CDemoStringTables& b) { - a.Swap(&b); - } - inline void Swap(CDemoStringTables* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoStringTables* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoStringTables* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoStringTables& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoStringTables& from) { - CDemoStringTables::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoStringTables* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoStringTables"; - } - protected: - explicit CDemoStringTables(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CDemoStringTables_items_t items_t; - typedef CDemoStringTables_table_t table_t; - - // accessors ------------------------------------------------------- - - enum : int { - kTablesFieldNumber = 1, - }; - // repeated .CDemoStringTables.table_t tables = 1; - int tables_size() const; - private: - int _internal_tables_size() const; - public: - void clear_tables(); - ::CDemoStringTables_table_t* mutable_tables(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_table_t >* - mutable_tables(); - private: - const ::CDemoStringTables_table_t& _internal_tables(int index) const; - ::CDemoStringTables_table_t* _internal_add_tables(); - public: - const ::CDemoStringTables_table_t& tables(int index) const; - ::CDemoStringTables_table_t* add_tables(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_table_t >& - tables() const; - - // @@protoc_insertion_point(class_scope:CDemoStringTables) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_table_t > tables_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoStop : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CDemoStop) */ { - public: - inline CDemoStop() : CDemoStop(nullptr) {} - explicit PROTOBUF_CONSTEXPR CDemoStop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoStop(const CDemoStop& from); - CDemoStop(CDemoStop&& from) noexcept - : CDemoStop() { - *this = ::std::move(from); - } - - inline CDemoStop& operator=(const CDemoStop& from) { - CopyFrom(from); - return *this; - } - inline CDemoStop& operator=(CDemoStop&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoStop& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoStop* internal_default_instance() { - return reinterpret_cast( - &_CDemoStop_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - friend void swap(CDemoStop& a, CDemoStop& b) { - a.Swap(&b); - } - inline void Swap(CDemoStop* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoStop* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoStop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CDemoStop& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CDemoStop& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoStop"; - } - protected: - explicit CDemoStop(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CDemoStop) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoUserCmd : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoUserCmd) */ { - public: - inline CDemoUserCmd() : CDemoUserCmd(nullptr) {} - ~CDemoUserCmd() override; - explicit PROTOBUF_CONSTEXPR CDemoUserCmd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoUserCmd(const CDemoUserCmd& from); - CDemoUserCmd(CDemoUserCmd&& from) noexcept - : CDemoUserCmd() { - *this = ::std::move(from); - } - - inline CDemoUserCmd& operator=(const CDemoUserCmd& from) { - CopyFrom(from); - return *this; - } - inline CDemoUserCmd& operator=(CDemoUserCmd&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoUserCmd& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoUserCmd* internal_default_instance() { - return reinterpret_cast( - &_CDemoUserCmd_default_instance_); - } - static constexpr int kIndexInFileMessages = - 23; - - friend void swap(CDemoUserCmd& a, CDemoUserCmd& b) { - a.Swap(&b); - } - inline void Swap(CDemoUserCmd* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoUserCmd* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoUserCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoUserCmd& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoUserCmd& from) { - CDemoUserCmd::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoUserCmd* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoUserCmd"; - } - protected: - explicit CDemoUserCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 2, - kCmdNumberFieldNumber = 1, - }; - // optional bytes data = 2; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // optional int32 cmd_number = 1; - bool has_cmd_number() const; - private: - bool _internal_has_cmd_number() const; - public: - void clear_cmd_number(); - int32_t cmd_number() const; - void set_cmd_number(int32_t value); - private: - int32_t _internal_cmd_number() const; - void _internal_set_cmd_number(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CDemoUserCmd) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - int32_t cmd_number_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoSpawnGroups : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoSpawnGroups) */ { - public: - inline CDemoSpawnGroups() : CDemoSpawnGroups(nullptr) {} - ~CDemoSpawnGroups() override; - explicit PROTOBUF_CONSTEXPR CDemoSpawnGroups(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoSpawnGroups(const CDemoSpawnGroups& from); - CDemoSpawnGroups(CDemoSpawnGroups&& from) noexcept - : CDemoSpawnGroups() { - *this = ::std::move(from); - } - - inline CDemoSpawnGroups& operator=(const CDemoSpawnGroups& from) { - CopyFrom(from); - return *this; - } - inline CDemoSpawnGroups& operator=(CDemoSpawnGroups&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoSpawnGroups& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoSpawnGroups* internal_default_instance() { - return reinterpret_cast( - &_CDemoSpawnGroups_default_instance_); - } - static constexpr int kIndexInFileMessages = - 24; - - friend void swap(CDemoSpawnGroups& a, CDemoSpawnGroups& b) { - a.Swap(&b); - } - inline void Swap(CDemoSpawnGroups* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoSpawnGroups* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoSpawnGroups* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoSpawnGroups& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoSpawnGroups& from) { - CDemoSpawnGroups::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoSpawnGroups* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoSpawnGroups"; - } - protected: - explicit CDemoSpawnGroups(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMsgsFieldNumber = 3, - }; - // repeated bytes msgs = 3; - int msgs_size() const; - private: - int _internal_msgs_size() const; - public: - void clear_msgs(); - const std::string& msgs(int index) const; - std::string* mutable_msgs(int index); - void set_msgs(int index, const std::string& value); - void set_msgs(int index, std::string&& value); - void set_msgs(int index, const char* value); - void set_msgs(int index, const void* value, size_t size); - std::string* add_msgs(); - void add_msgs(const std::string& value); - void add_msgs(std::string&& value); - void add_msgs(const char* value); - void add_msgs(const void* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& msgs() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_msgs(); - private: - const std::string& _internal_msgs(int index) const; - std::string* _internal_add_msgs(); - public: - - // @@protoc_insertion_point(class_scope:CDemoSpawnGroups) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField msgs_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoRecovery_DemoInitialSpawnGroupEntry : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoRecovery.DemoInitialSpawnGroupEntry) */ { - public: - inline CDemoRecovery_DemoInitialSpawnGroupEntry() : CDemoRecovery_DemoInitialSpawnGroupEntry(nullptr) {} - ~CDemoRecovery_DemoInitialSpawnGroupEntry() override; - explicit PROTOBUF_CONSTEXPR CDemoRecovery_DemoInitialSpawnGroupEntry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoRecovery_DemoInitialSpawnGroupEntry(const CDemoRecovery_DemoInitialSpawnGroupEntry& from); - CDemoRecovery_DemoInitialSpawnGroupEntry(CDemoRecovery_DemoInitialSpawnGroupEntry&& from) noexcept - : CDemoRecovery_DemoInitialSpawnGroupEntry() { - *this = ::std::move(from); - } - - inline CDemoRecovery_DemoInitialSpawnGroupEntry& operator=(const CDemoRecovery_DemoInitialSpawnGroupEntry& from) { - CopyFrom(from); - return *this; - } - inline CDemoRecovery_DemoInitialSpawnGroupEntry& operator=(CDemoRecovery_DemoInitialSpawnGroupEntry&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoRecovery_DemoInitialSpawnGroupEntry& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoRecovery_DemoInitialSpawnGroupEntry* internal_default_instance() { - return reinterpret_cast( - &_CDemoRecovery_DemoInitialSpawnGroupEntry_default_instance_); - } - static constexpr int kIndexInFileMessages = - 25; - - friend void swap(CDemoRecovery_DemoInitialSpawnGroupEntry& a, CDemoRecovery_DemoInitialSpawnGroupEntry& b) { - a.Swap(&b); - } - inline void Swap(CDemoRecovery_DemoInitialSpawnGroupEntry* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoRecovery_DemoInitialSpawnGroupEntry* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoRecovery_DemoInitialSpawnGroupEntry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoRecovery_DemoInitialSpawnGroupEntry& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoRecovery_DemoInitialSpawnGroupEntry& from) { - CDemoRecovery_DemoInitialSpawnGroupEntry::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoRecovery_DemoInitialSpawnGroupEntry* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoRecovery.DemoInitialSpawnGroupEntry"; - } - protected: - explicit CDemoRecovery_DemoInitialSpawnGroupEntry(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSpawngrouphandleFieldNumber = 1, - kWasCreatedFieldNumber = 2, - }; - // optional uint32 spawngrouphandle = 1; - bool has_spawngrouphandle() const; - private: - bool _internal_has_spawngrouphandle() const; - public: - void clear_spawngrouphandle(); - uint32_t spawngrouphandle() const; - void set_spawngrouphandle(uint32_t value); - private: - uint32_t _internal_spawngrouphandle() const; - void _internal_set_spawngrouphandle(uint32_t value); - public: - - // optional bool was_created = 2; - bool has_was_created() const; - private: - bool _internal_has_was_created() const; - public: - void clear_was_created(); - bool was_created() const; - void set_was_created(bool value); - private: - bool _internal_was_created() const; - void _internal_set_was_created(bool value); - public: - - // @@protoc_insertion_point(class_scope:CDemoRecovery.DemoInitialSpawnGroupEntry) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t spawngrouphandle_; - bool was_created_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// ------------------------------------------------------------------- - -class CDemoRecovery : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CDemoRecovery) */ { - public: - inline CDemoRecovery() : CDemoRecovery(nullptr) {} - ~CDemoRecovery() override; - explicit PROTOBUF_CONSTEXPR CDemoRecovery(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CDemoRecovery(const CDemoRecovery& from); - CDemoRecovery(CDemoRecovery&& from) noexcept - : CDemoRecovery() { - *this = ::std::move(from); - } - - inline CDemoRecovery& operator=(const CDemoRecovery& from) { - CopyFrom(from); - return *this; - } - inline CDemoRecovery& operator=(CDemoRecovery&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CDemoRecovery& default_instance() { - return *internal_default_instance(); - } - static inline const CDemoRecovery* internal_default_instance() { - return reinterpret_cast( - &_CDemoRecovery_default_instance_); - } - static constexpr int kIndexInFileMessages = - 26; - - friend void swap(CDemoRecovery& a, CDemoRecovery& b) { - a.Swap(&b); - } - inline void Swap(CDemoRecovery* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CDemoRecovery* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CDemoRecovery* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CDemoRecovery& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CDemoRecovery& from) { - CDemoRecovery::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CDemoRecovery* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CDemoRecovery"; - } - protected: - explicit CDemoRecovery(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CDemoRecovery_DemoInitialSpawnGroupEntry DemoInitialSpawnGroupEntry; - - // accessors ------------------------------------------------------- - - enum : int { - kSpawnGroupMessageFieldNumber = 2, - kInitialSpawnGroupFieldNumber = 1, - }; - // optional bytes spawn_group_message = 2; - bool has_spawn_group_message() const; - private: - bool _internal_has_spawn_group_message() const; - public: - void clear_spawn_group_message(); - const std::string& spawn_group_message() const; - template - void set_spawn_group_message(ArgT0&& arg0, ArgT... args); - std::string* mutable_spawn_group_message(); - PROTOBUF_NODISCARD std::string* release_spawn_group_message(); - void set_allocated_spawn_group_message(std::string* spawn_group_message); - private: - const std::string& _internal_spawn_group_message() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_spawn_group_message(const std::string& value); - std::string* _internal_mutable_spawn_group_message(); - public: - - // optional .CDemoRecovery.DemoInitialSpawnGroupEntry initial_spawn_group = 1; - bool has_initial_spawn_group() const; - private: - bool _internal_has_initial_spawn_group() const; - public: - void clear_initial_spawn_group(); - const ::CDemoRecovery_DemoInitialSpawnGroupEntry& initial_spawn_group() const; - PROTOBUF_NODISCARD ::CDemoRecovery_DemoInitialSpawnGroupEntry* release_initial_spawn_group(); - ::CDemoRecovery_DemoInitialSpawnGroupEntry* mutable_initial_spawn_group(); - void set_allocated_initial_spawn_group(::CDemoRecovery_DemoInitialSpawnGroupEntry* initial_spawn_group); - private: - const ::CDemoRecovery_DemoInitialSpawnGroupEntry& _internal_initial_spawn_group() const; - ::CDemoRecovery_DemoInitialSpawnGroupEntry* _internal_mutable_initial_spawn_group(); - public: - void unsafe_arena_set_allocated_initial_spawn_group( - ::CDemoRecovery_DemoInitialSpawnGroupEntry* initial_spawn_group); - ::CDemoRecovery_DemoInitialSpawnGroupEntry* unsafe_arena_release_initial_spawn_group(); - - // @@protoc_insertion_point(class_scope:CDemoRecovery) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr spawn_group_message_; - ::CDemoRecovery_DemoInitialSpawnGroupEntry* initial_spawn_group_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_demo_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CDemoFileHeader - -// required string demo_file_stamp = 1; -inline bool CDemoFileHeader::_internal_has_demo_file_stamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDemoFileHeader::has_demo_file_stamp() const { - return _internal_has_demo_file_stamp(); -} -inline void CDemoFileHeader::clear_demo_file_stamp() { - _impl_.demo_file_stamp_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CDemoFileHeader::demo_file_stamp() const { - // @@protoc_insertion_point(field_get:CDemoFileHeader.demo_file_stamp) - return _internal_demo_file_stamp(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoFileHeader::set_demo_file_stamp(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.demo_file_stamp_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoFileHeader.demo_file_stamp) -} -inline std::string* CDemoFileHeader::mutable_demo_file_stamp() { - std::string* _s = _internal_mutable_demo_file_stamp(); - // @@protoc_insertion_point(field_mutable:CDemoFileHeader.demo_file_stamp) - return _s; -} -inline const std::string& CDemoFileHeader::_internal_demo_file_stamp() const { - return _impl_.demo_file_stamp_.Get(); -} -inline void CDemoFileHeader::_internal_set_demo_file_stamp(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.demo_file_stamp_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoFileHeader::_internal_mutable_demo_file_stamp() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.demo_file_stamp_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoFileHeader::release_demo_file_stamp() { - // @@protoc_insertion_point(field_release:CDemoFileHeader.demo_file_stamp) - if (!_internal_has_demo_file_stamp()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.demo_file_stamp_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.demo_file_stamp_.IsDefault()) { - _impl_.demo_file_stamp_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoFileHeader::set_allocated_demo_file_stamp(std::string* demo_file_stamp) { - if (demo_file_stamp != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.demo_file_stamp_.SetAllocated(demo_file_stamp, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.demo_file_stamp_.IsDefault()) { - _impl_.demo_file_stamp_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.demo_file_stamp) -} - -// optional int32 network_protocol = 2; -inline bool CDemoFileHeader::_internal_has_network_protocol() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CDemoFileHeader::has_network_protocol() const { - return _internal_has_network_protocol(); -} -inline void CDemoFileHeader::clear_network_protocol() { - _impl_.network_protocol_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline int32_t CDemoFileHeader::_internal_network_protocol() const { - return _impl_.network_protocol_; -} -inline int32_t CDemoFileHeader::network_protocol() const { - // @@protoc_insertion_point(field_get:CDemoFileHeader.network_protocol) - return _internal_network_protocol(); -} -inline void CDemoFileHeader::_internal_set_network_protocol(int32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.network_protocol_ = value; -} -inline void CDemoFileHeader::set_network_protocol(int32_t value) { - _internal_set_network_protocol(value); - // @@protoc_insertion_point(field_set:CDemoFileHeader.network_protocol) -} - -// optional string server_name = 3; -inline bool CDemoFileHeader::_internal_has_server_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CDemoFileHeader::has_server_name() const { - return _internal_has_server_name(); -} -inline void CDemoFileHeader::clear_server_name() { - _impl_.server_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CDemoFileHeader::server_name() const { - // @@protoc_insertion_point(field_get:CDemoFileHeader.server_name) - return _internal_server_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoFileHeader::set_server_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.server_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoFileHeader.server_name) -} -inline std::string* CDemoFileHeader::mutable_server_name() { - std::string* _s = _internal_mutable_server_name(); - // @@protoc_insertion_point(field_mutable:CDemoFileHeader.server_name) - return _s; -} -inline const std::string& CDemoFileHeader::_internal_server_name() const { - return _impl_.server_name_.Get(); -} -inline void CDemoFileHeader::_internal_set_server_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.server_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoFileHeader::_internal_mutable_server_name() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.server_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoFileHeader::release_server_name() { - // @@protoc_insertion_point(field_release:CDemoFileHeader.server_name) - if (!_internal_has_server_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.server_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.server_name_.IsDefault()) { - _impl_.server_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoFileHeader::set_allocated_server_name(std::string* server_name) { - if (server_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.server_name_.SetAllocated(server_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.server_name_.IsDefault()) { - _impl_.server_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.server_name) -} - -// optional string client_name = 4; -inline bool CDemoFileHeader::_internal_has_client_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CDemoFileHeader::has_client_name() const { - return _internal_has_client_name(); -} -inline void CDemoFileHeader::clear_client_name() { - _impl_.client_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CDemoFileHeader::client_name() const { - // @@protoc_insertion_point(field_get:CDemoFileHeader.client_name) - return _internal_client_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoFileHeader::set_client_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.client_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoFileHeader.client_name) -} -inline std::string* CDemoFileHeader::mutable_client_name() { - std::string* _s = _internal_mutable_client_name(); - // @@protoc_insertion_point(field_mutable:CDemoFileHeader.client_name) - return _s; -} -inline const std::string& CDemoFileHeader::_internal_client_name() const { - return _impl_.client_name_.Get(); -} -inline void CDemoFileHeader::_internal_set_client_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.client_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoFileHeader::_internal_mutable_client_name() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.client_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoFileHeader::release_client_name() { - // @@protoc_insertion_point(field_release:CDemoFileHeader.client_name) - if (!_internal_has_client_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.client_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.client_name_.IsDefault()) { - _impl_.client_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoFileHeader::set_allocated_client_name(std::string* client_name) { - if (client_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.client_name_.SetAllocated(client_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.client_name_.IsDefault()) { - _impl_.client_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.client_name) -} - -// optional string map_name = 5; -inline bool CDemoFileHeader::_internal_has_map_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CDemoFileHeader::has_map_name() const { - return _internal_has_map_name(); -} -inline void CDemoFileHeader::clear_map_name() { - _impl_.map_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CDemoFileHeader::map_name() const { - // @@protoc_insertion_point(field_get:CDemoFileHeader.map_name) - return _internal_map_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoFileHeader::set_map_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.map_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoFileHeader.map_name) -} -inline std::string* CDemoFileHeader::mutable_map_name() { - std::string* _s = _internal_mutable_map_name(); - // @@protoc_insertion_point(field_mutable:CDemoFileHeader.map_name) - return _s; -} -inline const std::string& CDemoFileHeader::_internal_map_name() const { - return _impl_.map_name_.Get(); -} -inline void CDemoFileHeader::_internal_set_map_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.map_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoFileHeader::_internal_mutable_map_name() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.map_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoFileHeader::release_map_name() { - // @@protoc_insertion_point(field_release:CDemoFileHeader.map_name) - if (!_internal_has_map_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.map_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.map_name_.IsDefault()) { - _impl_.map_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoFileHeader::set_allocated_map_name(std::string* map_name) { - if (map_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.map_name_.SetAllocated(map_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.map_name_.IsDefault()) { - _impl_.map_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.map_name) -} - -// optional string game_directory = 6; -inline bool CDemoFileHeader::_internal_has_game_directory() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CDemoFileHeader::has_game_directory() const { - return _internal_has_game_directory(); -} -inline void CDemoFileHeader::clear_game_directory() { - _impl_.game_directory_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const std::string& CDemoFileHeader::game_directory() const { - // @@protoc_insertion_point(field_get:CDemoFileHeader.game_directory) - return _internal_game_directory(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoFileHeader::set_game_directory(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.game_directory_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoFileHeader.game_directory) -} -inline std::string* CDemoFileHeader::mutable_game_directory() { - std::string* _s = _internal_mutable_game_directory(); - // @@protoc_insertion_point(field_mutable:CDemoFileHeader.game_directory) - return _s; -} -inline const std::string& CDemoFileHeader::_internal_game_directory() const { - return _impl_.game_directory_.Get(); -} -inline void CDemoFileHeader::_internal_set_game_directory(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.game_directory_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoFileHeader::_internal_mutable_game_directory() { - _impl_._has_bits_[0] |= 0x00000010u; - return _impl_.game_directory_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoFileHeader::release_game_directory() { - // @@protoc_insertion_point(field_release:CDemoFileHeader.game_directory) - if (!_internal_has_game_directory()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000010u; - auto* p = _impl_.game_directory_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_directory_.IsDefault()) { - _impl_.game_directory_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoFileHeader::set_allocated_game_directory(std::string* game_directory) { - if (game_directory != nullptr) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.game_directory_.SetAllocated(game_directory, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_directory_.IsDefault()) { - _impl_.game_directory_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.game_directory) -} - -// optional int32 fullpackets_version = 7; -inline bool CDemoFileHeader::_internal_has_fullpackets_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CDemoFileHeader::has_fullpackets_version() const { - return _internal_has_fullpackets_version(); -} -inline void CDemoFileHeader::clear_fullpackets_version() { - _impl_.fullpackets_version_ = 0; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline int32_t CDemoFileHeader::_internal_fullpackets_version() const { - return _impl_.fullpackets_version_; -} -inline int32_t CDemoFileHeader::fullpackets_version() const { - // @@protoc_insertion_point(field_get:CDemoFileHeader.fullpackets_version) - return _internal_fullpackets_version(); -} -inline void CDemoFileHeader::_internal_set_fullpackets_version(int32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.fullpackets_version_ = value; -} -inline void CDemoFileHeader::set_fullpackets_version(int32_t value) { - _internal_set_fullpackets_version(value); - // @@protoc_insertion_point(field_set:CDemoFileHeader.fullpackets_version) -} - -// optional bool allow_clientside_entities = 8; -inline bool CDemoFileHeader::_internal_has_allow_clientside_entities() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CDemoFileHeader::has_allow_clientside_entities() const { - return _internal_has_allow_clientside_entities(); -} -inline void CDemoFileHeader::clear_allow_clientside_entities() { - _impl_.allow_clientside_entities_ = false; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline bool CDemoFileHeader::_internal_allow_clientside_entities() const { - return _impl_.allow_clientside_entities_; -} -inline bool CDemoFileHeader::allow_clientside_entities() const { - // @@protoc_insertion_point(field_get:CDemoFileHeader.allow_clientside_entities) - return _internal_allow_clientside_entities(); -} -inline void CDemoFileHeader::_internal_set_allow_clientside_entities(bool value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.allow_clientside_entities_ = value; -} -inline void CDemoFileHeader::set_allow_clientside_entities(bool value) { - _internal_set_allow_clientside_entities(value); - // @@protoc_insertion_point(field_set:CDemoFileHeader.allow_clientside_entities) -} - -// optional bool allow_clientside_particles = 9; -inline bool CDemoFileHeader::_internal_has_allow_clientside_particles() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CDemoFileHeader::has_allow_clientside_particles() const { - return _internal_has_allow_clientside_particles(); -} -inline void CDemoFileHeader::clear_allow_clientside_particles() { - _impl_.allow_clientside_particles_ = false; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline bool CDemoFileHeader::_internal_allow_clientside_particles() const { - return _impl_.allow_clientside_particles_; -} -inline bool CDemoFileHeader::allow_clientside_particles() const { - // @@protoc_insertion_point(field_get:CDemoFileHeader.allow_clientside_particles) - return _internal_allow_clientside_particles(); -} -inline void CDemoFileHeader::_internal_set_allow_clientside_particles(bool value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.allow_clientside_particles_ = value; -} -inline void CDemoFileHeader::set_allow_clientside_particles(bool value) { - _internal_set_allow_clientside_particles(value); - // @@protoc_insertion_point(field_set:CDemoFileHeader.allow_clientside_particles) -} - -// optional string addons = 10; -inline bool CDemoFileHeader::_internal_has_addons() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CDemoFileHeader::has_addons() const { - return _internal_has_addons(); -} -inline void CDemoFileHeader::clear_addons() { - _impl_.addons_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline const std::string& CDemoFileHeader::addons() const { - // @@protoc_insertion_point(field_get:CDemoFileHeader.addons) - return _internal_addons(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoFileHeader::set_addons(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.addons_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoFileHeader.addons) -} -inline std::string* CDemoFileHeader::mutable_addons() { - std::string* _s = _internal_mutable_addons(); - // @@protoc_insertion_point(field_mutable:CDemoFileHeader.addons) - return _s; -} -inline const std::string& CDemoFileHeader::_internal_addons() const { - return _impl_.addons_.Get(); -} -inline void CDemoFileHeader::_internal_set_addons(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.addons_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoFileHeader::_internal_mutable_addons() { - _impl_._has_bits_[0] |= 0x00000020u; - return _impl_.addons_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoFileHeader::release_addons() { - // @@protoc_insertion_point(field_release:CDemoFileHeader.addons) - if (!_internal_has_addons()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000020u; - auto* p = _impl_.addons_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.addons_.IsDefault()) { - _impl_.addons_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoFileHeader::set_allocated_addons(std::string* addons) { - if (addons != nullptr) { - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - _impl_.addons_.SetAllocated(addons, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.addons_.IsDefault()) { - _impl_.addons_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.addons) -} - -// optional string demo_version_name = 11; -inline bool CDemoFileHeader::_internal_has_demo_version_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CDemoFileHeader::has_demo_version_name() const { - return _internal_has_demo_version_name(); -} -inline void CDemoFileHeader::clear_demo_version_name() { - _impl_.demo_version_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline const std::string& CDemoFileHeader::demo_version_name() const { - // @@protoc_insertion_point(field_get:CDemoFileHeader.demo_version_name) - return _internal_demo_version_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoFileHeader::set_demo_version_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.demo_version_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoFileHeader.demo_version_name) -} -inline std::string* CDemoFileHeader::mutable_demo_version_name() { - std::string* _s = _internal_mutable_demo_version_name(); - // @@protoc_insertion_point(field_mutable:CDemoFileHeader.demo_version_name) - return _s; -} -inline const std::string& CDemoFileHeader::_internal_demo_version_name() const { - return _impl_.demo_version_name_.Get(); -} -inline void CDemoFileHeader::_internal_set_demo_version_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.demo_version_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoFileHeader::_internal_mutable_demo_version_name() { - _impl_._has_bits_[0] |= 0x00000040u; - return _impl_.demo_version_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoFileHeader::release_demo_version_name() { - // @@protoc_insertion_point(field_release:CDemoFileHeader.demo_version_name) - if (!_internal_has_demo_version_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000040u; - auto* p = _impl_.demo_version_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.demo_version_name_.IsDefault()) { - _impl_.demo_version_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoFileHeader::set_allocated_demo_version_name(std::string* demo_version_name) { - if (demo_version_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - _impl_.demo_version_name_.SetAllocated(demo_version_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.demo_version_name_.IsDefault()) { - _impl_.demo_version_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.demo_version_name) -} - -// optional string demo_version_guid = 12; -inline bool CDemoFileHeader::_internal_has_demo_version_guid() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CDemoFileHeader::has_demo_version_guid() const { - return _internal_has_demo_version_guid(); -} -inline void CDemoFileHeader::clear_demo_version_guid() { - _impl_.demo_version_guid_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline const std::string& CDemoFileHeader::demo_version_guid() const { - // @@protoc_insertion_point(field_get:CDemoFileHeader.demo_version_guid) - return _internal_demo_version_guid(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoFileHeader::set_demo_version_guid(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.demo_version_guid_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoFileHeader.demo_version_guid) -} -inline std::string* CDemoFileHeader::mutable_demo_version_guid() { - std::string* _s = _internal_mutable_demo_version_guid(); - // @@protoc_insertion_point(field_mutable:CDemoFileHeader.demo_version_guid) - return _s; -} -inline const std::string& CDemoFileHeader::_internal_demo_version_guid() const { - return _impl_.demo_version_guid_.Get(); -} -inline void CDemoFileHeader::_internal_set_demo_version_guid(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.demo_version_guid_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoFileHeader::_internal_mutable_demo_version_guid() { - _impl_._has_bits_[0] |= 0x00000080u; - return _impl_.demo_version_guid_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoFileHeader::release_demo_version_guid() { - // @@protoc_insertion_point(field_release:CDemoFileHeader.demo_version_guid) - if (!_internal_has_demo_version_guid()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000080u; - auto* p = _impl_.demo_version_guid_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.demo_version_guid_.IsDefault()) { - _impl_.demo_version_guid_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoFileHeader::set_allocated_demo_version_guid(std::string* demo_version_guid) { - if (demo_version_guid != nullptr) { - _impl_._has_bits_[0] |= 0x00000080u; - } else { - _impl_._has_bits_[0] &= ~0x00000080u; - } - _impl_.demo_version_guid_.SetAllocated(demo_version_guid, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.demo_version_guid_.IsDefault()) { - _impl_.demo_version_guid_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.demo_version_guid) -} - -// optional int32 build_num = 13; -inline bool CDemoFileHeader::_internal_has_build_num() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CDemoFileHeader::has_build_num() const { - return _internal_has_build_num(); -} -inline void CDemoFileHeader::clear_build_num() { - _impl_.build_num_ = 0; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline int32_t CDemoFileHeader::_internal_build_num() const { - return _impl_.build_num_; -} -inline int32_t CDemoFileHeader::build_num() const { - // @@protoc_insertion_point(field_get:CDemoFileHeader.build_num) - return _internal_build_num(); -} -inline void CDemoFileHeader::_internal_set_build_num(int32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.build_num_ = value; -} -inline void CDemoFileHeader::set_build_num(int32_t value) { - _internal_set_build_num(value); - // @@protoc_insertion_point(field_set:CDemoFileHeader.build_num) -} - -// optional string game = 14; -inline bool CDemoFileHeader::_internal_has_game() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CDemoFileHeader::has_game() const { - return _internal_has_game(); -} -inline void CDemoFileHeader::clear_game() { - _impl_.game_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline const std::string& CDemoFileHeader::game() const { - // @@protoc_insertion_point(field_get:CDemoFileHeader.game) - return _internal_game(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoFileHeader::set_game(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.game_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoFileHeader.game) -} -inline std::string* CDemoFileHeader::mutable_game() { - std::string* _s = _internal_mutable_game(); - // @@protoc_insertion_point(field_mutable:CDemoFileHeader.game) - return _s; -} -inline const std::string& CDemoFileHeader::_internal_game() const { - return _impl_.game_.Get(); -} -inline void CDemoFileHeader::_internal_set_game(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.game_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoFileHeader::_internal_mutable_game() { - _impl_._has_bits_[0] |= 0x00000100u; - return _impl_.game_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoFileHeader::release_game() { - // @@protoc_insertion_point(field_release:CDemoFileHeader.game) - if (!_internal_has_game()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000100u; - auto* p = _impl_.game_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_.IsDefault()) { - _impl_.game_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoFileHeader::set_allocated_game(std::string* game) { - if (game != nullptr) { - _impl_._has_bits_[0] |= 0x00000100u; - } else { - _impl_._has_bits_[0] &= ~0x00000100u; - } - _impl_.game_.SetAllocated(game, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_.IsDefault()) { - _impl_.game_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoFileHeader.game) -} - -// optional int32 server_start_tick = 15; -inline bool CDemoFileHeader::_internal_has_server_start_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CDemoFileHeader::has_server_start_tick() const { - return _internal_has_server_start_tick(); -} -inline void CDemoFileHeader::clear_server_start_tick() { - _impl_.server_start_tick_ = 0; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline int32_t CDemoFileHeader::_internal_server_start_tick() const { - return _impl_.server_start_tick_; -} -inline int32_t CDemoFileHeader::server_start_tick() const { - // @@protoc_insertion_point(field_get:CDemoFileHeader.server_start_tick) - return _internal_server_start_tick(); -} -inline void CDemoFileHeader::_internal_set_server_start_tick(int32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.server_start_tick_ = value; -} -inline void CDemoFileHeader::set_server_start_tick(int32_t value) { - _internal_set_server_start_tick(value); - // @@protoc_insertion_point(field_set:CDemoFileHeader.server_start_tick) -} - -// ------------------------------------------------------------------- - -// CGameInfo_CDotaGameInfo_CPlayerInfo - -// optional string hero_name = 1; -inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_has_hero_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::has_hero_name() const { - return _internal_has_hero_name(); -} -inline void CGameInfo_CDotaGameInfo_CPlayerInfo::clear_hero_name() { - _impl_.hero_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CGameInfo_CDotaGameInfo_CPlayerInfo::hero_name() const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.CPlayerInfo.hero_name) - return _internal_hero_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CGameInfo_CDotaGameInfo_CPlayerInfo::set_hero_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.hero_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.CPlayerInfo.hero_name) -} -inline std::string* CGameInfo_CDotaGameInfo_CPlayerInfo::mutable_hero_name() { - std::string* _s = _internal_mutable_hero_name(); - // @@protoc_insertion_point(field_mutable:CGameInfo.CDotaGameInfo.CPlayerInfo.hero_name) - return _s; -} -inline const std::string& CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_hero_name() const { - return _impl_.hero_name_.Get(); -} -inline void CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_set_hero_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.hero_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_mutable_hero_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.hero_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CGameInfo_CDotaGameInfo_CPlayerInfo::release_hero_name() { - // @@protoc_insertion_point(field_release:CGameInfo.CDotaGameInfo.CPlayerInfo.hero_name) - if (!_internal_has_hero_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.hero_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.hero_name_.IsDefault()) { - _impl_.hero_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CGameInfo_CDotaGameInfo_CPlayerInfo::set_allocated_hero_name(std::string* hero_name) { - if (hero_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.hero_name_.SetAllocated(hero_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.hero_name_.IsDefault()) { - _impl_.hero_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CGameInfo.CDotaGameInfo.CPlayerInfo.hero_name) -} - -// optional string player_name = 2; -inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_has_player_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::has_player_name() const { - return _internal_has_player_name(); -} -inline void CGameInfo_CDotaGameInfo_CPlayerInfo::clear_player_name() { - _impl_.player_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CGameInfo_CDotaGameInfo_CPlayerInfo::player_name() const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.CPlayerInfo.player_name) - return _internal_player_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CGameInfo_CDotaGameInfo_CPlayerInfo::set_player_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.player_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.CPlayerInfo.player_name) -} -inline std::string* CGameInfo_CDotaGameInfo_CPlayerInfo::mutable_player_name() { - std::string* _s = _internal_mutable_player_name(); - // @@protoc_insertion_point(field_mutable:CGameInfo.CDotaGameInfo.CPlayerInfo.player_name) - return _s; -} -inline const std::string& CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_player_name() const { - return _impl_.player_name_.Get(); -} -inline void CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_set_player_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.player_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_mutable_player_name() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.player_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CGameInfo_CDotaGameInfo_CPlayerInfo::release_player_name() { - // @@protoc_insertion_point(field_release:CGameInfo.CDotaGameInfo.CPlayerInfo.player_name) - if (!_internal_has_player_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.player_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.player_name_.IsDefault()) { - _impl_.player_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CGameInfo_CDotaGameInfo_CPlayerInfo::set_allocated_player_name(std::string* player_name) { - if (player_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.player_name_.SetAllocated(player_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.player_name_.IsDefault()) { - _impl_.player_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CGameInfo.CDotaGameInfo.CPlayerInfo.player_name) -} - -// optional bool is_fake_client = 3; -inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_has_is_fake_client() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::has_is_fake_client() const { - return _internal_has_is_fake_client(); -} -inline void CGameInfo_CDotaGameInfo_CPlayerInfo::clear_is_fake_client() { - _impl_.is_fake_client_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_is_fake_client() const { - return _impl_.is_fake_client_; -} -inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::is_fake_client() const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.CPlayerInfo.is_fake_client) - return _internal_is_fake_client(); -} -inline void CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_set_is_fake_client(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.is_fake_client_ = value; -} -inline void CGameInfo_CDotaGameInfo_CPlayerInfo::set_is_fake_client(bool value) { - _internal_set_is_fake_client(value); - // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.CPlayerInfo.is_fake_client) -} - -// optional uint64 steamid = 4; -inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::has_steamid() const { - return _internal_has_steamid(); -} -inline void CGameInfo_CDotaGameInfo_CPlayerInfo::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CGameInfo_CDotaGameInfo_CPlayerInfo::steamid() const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.CPlayerInfo.steamid) - return _internal_steamid(); -} -inline void CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.steamid_ = value; -} -inline void CGameInfo_CDotaGameInfo_CPlayerInfo::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.CPlayerInfo.steamid) -} - -// optional int32 game_team = 5; -inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_has_game_team() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CGameInfo_CDotaGameInfo_CPlayerInfo::has_game_team() const { - return _internal_has_game_team(); -} -inline void CGameInfo_CDotaGameInfo_CPlayerInfo::clear_game_team() { - _impl_.game_team_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_game_team() const { - return _impl_.game_team_; -} -inline int32_t CGameInfo_CDotaGameInfo_CPlayerInfo::game_team() const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.CPlayerInfo.game_team) - return _internal_game_team(); -} -inline void CGameInfo_CDotaGameInfo_CPlayerInfo::_internal_set_game_team(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.game_team_ = value; -} -inline void CGameInfo_CDotaGameInfo_CPlayerInfo::set_game_team(int32_t value) { - _internal_set_game_team(value); - // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.CPlayerInfo.game_team) -} - -// ------------------------------------------------------------------- - -// CGameInfo_CDotaGameInfo_CHeroSelectEvent - -// optional bool is_pick = 1; -inline bool CGameInfo_CDotaGameInfo_CHeroSelectEvent::_internal_has_is_pick() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CGameInfo_CDotaGameInfo_CHeroSelectEvent::has_is_pick() const { - return _internal_has_is_pick(); -} -inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::clear_is_pick() { - _impl_.is_pick_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CGameInfo_CDotaGameInfo_CHeroSelectEvent::_internal_is_pick() const { - return _impl_.is_pick_; -} -inline bool CGameInfo_CDotaGameInfo_CHeroSelectEvent::is_pick() const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.CHeroSelectEvent.is_pick) - return _internal_is_pick(); -} -inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::_internal_set_is_pick(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.is_pick_ = value; -} -inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::set_is_pick(bool value) { - _internal_set_is_pick(value); - // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.CHeroSelectEvent.is_pick) -} - -// optional uint32 team = 2; -inline bool CGameInfo_CDotaGameInfo_CHeroSelectEvent::_internal_has_team() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CGameInfo_CDotaGameInfo_CHeroSelectEvent::has_team() const { - return _internal_has_team(); -} -inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::clear_team() { - _impl_.team_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CGameInfo_CDotaGameInfo_CHeroSelectEvent::_internal_team() const { - return _impl_.team_; -} -inline uint32_t CGameInfo_CDotaGameInfo_CHeroSelectEvent::team() const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.CHeroSelectEvent.team) - return _internal_team(); -} -inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::_internal_set_team(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.team_ = value; -} -inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::set_team(uint32_t value) { - _internal_set_team(value); - // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.CHeroSelectEvent.team) -} - -// optional int32 hero_id = 3; -inline bool CGameInfo_CDotaGameInfo_CHeroSelectEvent::_internal_has_hero_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CGameInfo_CDotaGameInfo_CHeroSelectEvent::has_hero_id() const { - return _internal_has_hero_id(); -} -inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::clear_hero_id() { - _impl_.hero_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CGameInfo_CDotaGameInfo_CHeroSelectEvent::_internal_hero_id() const { - return _impl_.hero_id_; -} -inline int32_t CGameInfo_CDotaGameInfo_CHeroSelectEvent::hero_id() const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.CHeroSelectEvent.hero_id) - return _internal_hero_id(); -} -inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::_internal_set_hero_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.hero_id_ = value; -} -inline void CGameInfo_CDotaGameInfo_CHeroSelectEvent::set_hero_id(int32_t value) { - _internal_set_hero_id(value); - // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.CHeroSelectEvent.hero_id) -} - -// ------------------------------------------------------------------- - -// CGameInfo_CDotaGameInfo - -// optional uint64 match_id = 1; -inline bool CGameInfo_CDotaGameInfo::_internal_has_match_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CGameInfo_CDotaGameInfo::has_match_id() const { - return _internal_has_match_id(); -} -inline void CGameInfo_CDotaGameInfo::clear_match_id() { - _impl_.match_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CGameInfo_CDotaGameInfo::_internal_match_id() const { - return _impl_.match_id_; -} -inline uint64_t CGameInfo_CDotaGameInfo::match_id() const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.match_id) - return _internal_match_id(); -} -inline void CGameInfo_CDotaGameInfo::_internal_set_match_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.match_id_ = value; -} -inline void CGameInfo_CDotaGameInfo::set_match_id(uint64_t value) { - _internal_set_match_id(value); - // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.match_id) -} - -// optional int32 game_mode = 2; -inline bool CGameInfo_CDotaGameInfo::_internal_has_game_mode() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CGameInfo_CDotaGameInfo::has_game_mode() const { - return _internal_has_game_mode(); -} -inline void CGameInfo_CDotaGameInfo::clear_game_mode() { - _impl_.game_mode_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CGameInfo_CDotaGameInfo::_internal_game_mode() const { - return _impl_.game_mode_; -} -inline int32_t CGameInfo_CDotaGameInfo::game_mode() const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.game_mode) - return _internal_game_mode(); -} -inline void CGameInfo_CDotaGameInfo::_internal_set_game_mode(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.game_mode_ = value; -} -inline void CGameInfo_CDotaGameInfo::set_game_mode(int32_t value) { - _internal_set_game_mode(value); - // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.game_mode) -} - -// optional int32 game_winner = 3; -inline bool CGameInfo_CDotaGameInfo::_internal_has_game_winner() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CGameInfo_CDotaGameInfo::has_game_winner() const { - return _internal_has_game_winner(); -} -inline void CGameInfo_CDotaGameInfo::clear_game_winner() { - _impl_.game_winner_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CGameInfo_CDotaGameInfo::_internal_game_winner() const { - return _impl_.game_winner_; -} -inline int32_t CGameInfo_CDotaGameInfo::game_winner() const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.game_winner) - return _internal_game_winner(); -} -inline void CGameInfo_CDotaGameInfo::_internal_set_game_winner(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.game_winner_ = value; -} -inline void CGameInfo_CDotaGameInfo::set_game_winner(int32_t value) { - _internal_set_game_winner(value); - // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.game_winner) -} - -// repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4; -inline int CGameInfo_CDotaGameInfo::_internal_player_info_size() const { - return _impl_.player_info_.size(); -} -inline int CGameInfo_CDotaGameInfo::player_info_size() const { - return _internal_player_info_size(); -} -inline void CGameInfo_CDotaGameInfo::clear_player_info() { - _impl_.player_info_.Clear(); -} -inline ::CGameInfo_CDotaGameInfo_CPlayerInfo* CGameInfo_CDotaGameInfo::mutable_player_info(int index) { - // @@protoc_insertion_point(field_mutable:CGameInfo.CDotaGameInfo.player_info) - return _impl_.player_info_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CPlayerInfo >* -CGameInfo_CDotaGameInfo::mutable_player_info() { - // @@protoc_insertion_point(field_mutable_list:CGameInfo.CDotaGameInfo.player_info) - return &_impl_.player_info_; -} -inline const ::CGameInfo_CDotaGameInfo_CPlayerInfo& CGameInfo_CDotaGameInfo::_internal_player_info(int index) const { - return _impl_.player_info_.Get(index); -} -inline const ::CGameInfo_CDotaGameInfo_CPlayerInfo& CGameInfo_CDotaGameInfo::player_info(int index) const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.player_info) - return _internal_player_info(index); -} -inline ::CGameInfo_CDotaGameInfo_CPlayerInfo* CGameInfo_CDotaGameInfo::_internal_add_player_info() { - return _impl_.player_info_.Add(); -} -inline ::CGameInfo_CDotaGameInfo_CPlayerInfo* CGameInfo_CDotaGameInfo::add_player_info() { - ::CGameInfo_CDotaGameInfo_CPlayerInfo* _add = _internal_add_player_info(); - // @@protoc_insertion_point(field_add:CGameInfo.CDotaGameInfo.player_info) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CPlayerInfo >& -CGameInfo_CDotaGameInfo::player_info() const { - // @@protoc_insertion_point(field_list:CGameInfo.CDotaGameInfo.player_info) - return _impl_.player_info_; -} - -// optional uint32 leagueid = 5; -inline bool CGameInfo_CDotaGameInfo::_internal_has_leagueid() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CGameInfo_CDotaGameInfo::has_leagueid() const { - return _internal_has_leagueid(); -} -inline void CGameInfo_CDotaGameInfo::clear_leagueid() { - _impl_.leagueid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CGameInfo_CDotaGameInfo::_internal_leagueid() const { - return _impl_.leagueid_; -} -inline uint32_t CGameInfo_CDotaGameInfo::leagueid() const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.leagueid) - return _internal_leagueid(); -} -inline void CGameInfo_CDotaGameInfo::_internal_set_leagueid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.leagueid_ = value; -} -inline void CGameInfo_CDotaGameInfo::set_leagueid(uint32_t value) { - _internal_set_leagueid(value); - // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.leagueid) -} - -// repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6; -inline int CGameInfo_CDotaGameInfo::_internal_picks_bans_size() const { - return _impl_.picks_bans_.size(); -} -inline int CGameInfo_CDotaGameInfo::picks_bans_size() const { - return _internal_picks_bans_size(); -} -inline void CGameInfo_CDotaGameInfo::clear_picks_bans() { - _impl_.picks_bans_.Clear(); -} -inline ::CGameInfo_CDotaGameInfo_CHeroSelectEvent* CGameInfo_CDotaGameInfo::mutable_picks_bans(int index) { - // @@protoc_insertion_point(field_mutable:CGameInfo.CDotaGameInfo.picks_bans) - return _impl_.picks_bans_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CHeroSelectEvent >* -CGameInfo_CDotaGameInfo::mutable_picks_bans() { - // @@protoc_insertion_point(field_mutable_list:CGameInfo.CDotaGameInfo.picks_bans) - return &_impl_.picks_bans_; -} -inline const ::CGameInfo_CDotaGameInfo_CHeroSelectEvent& CGameInfo_CDotaGameInfo::_internal_picks_bans(int index) const { - return _impl_.picks_bans_.Get(index); -} -inline const ::CGameInfo_CDotaGameInfo_CHeroSelectEvent& CGameInfo_CDotaGameInfo::picks_bans(int index) const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.picks_bans) - return _internal_picks_bans(index); -} -inline ::CGameInfo_CDotaGameInfo_CHeroSelectEvent* CGameInfo_CDotaGameInfo::_internal_add_picks_bans() { - return _impl_.picks_bans_.Add(); -} -inline ::CGameInfo_CDotaGameInfo_CHeroSelectEvent* CGameInfo_CDotaGameInfo::add_picks_bans() { - ::CGameInfo_CDotaGameInfo_CHeroSelectEvent* _add = _internal_add_picks_bans(); - // @@protoc_insertion_point(field_add:CGameInfo.CDotaGameInfo.picks_bans) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameInfo_CDotaGameInfo_CHeroSelectEvent >& -CGameInfo_CDotaGameInfo::picks_bans() const { - // @@protoc_insertion_point(field_list:CGameInfo.CDotaGameInfo.picks_bans) - return _impl_.picks_bans_; -} - -// optional uint32 radiant_team_id = 7; -inline bool CGameInfo_CDotaGameInfo::_internal_has_radiant_team_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CGameInfo_CDotaGameInfo::has_radiant_team_id() const { - return _internal_has_radiant_team_id(); -} -inline void CGameInfo_CDotaGameInfo::clear_radiant_team_id() { - _impl_.radiant_team_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CGameInfo_CDotaGameInfo::_internal_radiant_team_id() const { - return _impl_.radiant_team_id_; -} -inline uint32_t CGameInfo_CDotaGameInfo::radiant_team_id() const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.radiant_team_id) - return _internal_radiant_team_id(); -} -inline void CGameInfo_CDotaGameInfo::_internal_set_radiant_team_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.radiant_team_id_ = value; -} -inline void CGameInfo_CDotaGameInfo::set_radiant_team_id(uint32_t value) { - _internal_set_radiant_team_id(value); - // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.radiant_team_id) -} - -// optional uint32 dire_team_id = 8; -inline bool CGameInfo_CDotaGameInfo::_internal_has_dire_team_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CGameInfo_CDotaGameInfo::has_dire_team_id() const { - return _internal_has_dire_team_id(); -} -inline void CGameInfo_CDotaGameInfo::clear_dire_team_id() { - _impl_.dire_team_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CGameInfo_CDotaGameInfo::_internal_dire_team_id() const { - return _impl_.dire_team_id_; -} -inline uint32_t CGameInfo_CDotaGameInfo::dire_team_id() const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.dire_team_id) - return _internal_dire_team_id(); -} -inline void CGameInfo_CDotaGameInfo::_internal_set_dire_team_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.dire_team_id_ = value; -} -inline void CGameInfo_CDotaGameInfo::set_dire_team_id(uint32_t value) { - _internal_set_dire_team_id(value); - // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.dire_team_id) -} - -// optional string radiant_team_tag = 9; -inline bool CGameInfo_CDotaGameInfo::_internal_has_radiant_team_tag() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CGameInfo_CDotaGameInfo::has_radiant_team_tag() const { - return _internal_has_radiant_team_tag(); -} -inline void CGameInfo_CDotaGameInfo::clear_radiant_team_tag() { - _impl_.radiant_team_tag_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CGameInfo_CDotaGameInfo::radiant_team_tag() const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.radiant_team_tag) - return _internal_radiant_team_tag(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CGameInfo_CDotaGameInfo::set_radiant_team_tag(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.radiant_team_tag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.radiant_team_tag) -} -inline std::string* CGameInfo_CDotaGameInfo::mutable_radiant_team_tag() { - std::string* _s = _internal_mutable_radiant_team_tag(); - // @@protoc_insertion_point(field_mutable:CGameInfo.CDotaGameInfo.radiant_team_tag) - return _s; -} -inline const std::string& CGameInfo_CDotaGameInfo::_internal_radiant_team_tag() const { - return _impl_.radiant_team_tag_.Get(); -} -inline void CGameInfo_CDotaGameInfo::_internal_set_radiant_team_tag(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.radiant_team_tag_.Set(value, GetArenaForAllocation()); -} -inline std::string* CGameInfo_CDotaGameInfo::_internal_mutable_radiant_team_tag() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.radiant_team_tag_.Mutable(GetArenaForAllocation()); -} -inline std::string* CGameInfo_CDotaGameInfo::release_radiant_team_tag() { - // @@protoc_insertion_point(field_release:CGameInfo.CDotaGameInfo.radiant_team_tag) - if (!_internal_has_radiant_team_tag()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.radiant_team_tag_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.radiant_team_tag_.IsDefault()) { - _impl_.radiant_team_tag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CGameInfo_CDotaGameInfo::set_allocated_radiant_team_tag(std::string* radiant_team_tag) { - if (radiant_team_tag != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.radiant_team_tag_.SetAllocated(radiant_team_tag, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.radiant_team_tag_.IsDefault()) { - _impl_.radiant_team_tag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CGameInfo.CDotaGameInfo.radiant_team_tag) -} - -// optional string dire_team_tag = 10; -inline bool CGameInfo_CDotaGameInfo::_internal_has_dire_team_tag() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CGameInfo_CDotaGameInfo::has_dire_team_tag() const { - return _internal_has_dire_team_tag(); -} -inline void CGameInfo_CDotaGameInfo::clear_dire_team_tag() { - _impl_.dire_team_tag_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CGameInfo_CDotaGameInfo::dire_team_tag() const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.dire_team_tag) - return _internal_dire_team_tag(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CGameInfo_CDotaGameInfo::set_dire_team_tag(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.dire_team_tag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.dire_team_tag) -} -inline std::string* CGameInfo_CDotaGameInfo::mutable_dire_team_tag() { - std::string* _s = _internal_mutable_dire_team_tag(); - // @@protoc_insertion_point(field_mutable:CGameInfo.CDotaGameInfo.dire_team_tag) - return _s; -} -inline const std::string& CGameInfo_CDotaGameInfo::_internal_dire_team_tag() const { - return _impl_.dire_team_tag_.Get(); -} -inline void CGameInfo_CDotaGameInfo::_internal_set_dire_team_tag(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.dire_team_tag_.Set(value, GetArenaForAllocation()); -} -inline std::string* CGameInfo_CDotaGameInfo::_internal_mutable_dire_team_tag() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.dire_team_tag_.Mutable(GetArenaForAllocation()); -} -inline std::string* CGameInfo_CDotaGameInfo::release_dire_team_tag() { - // @@protoc_insertion_point(field_release:CGameInfo.CDotaGameInfo.dire_team_tag) - if (!_internal_has_dire_team_tag()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.dire_team_tag_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dire_team_tag_.IsDefault()) { - _impl_.dire_team_tag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CGameInfo_CDotaGameInfo::set_allocated_dire_team_tag(std::string* dire_team_tag) { - if (dire_team_tag != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.dire_team_tag_.SetAllocated(dire_team_tag, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dire_team_tag_.IsDefault()) { - _impl_.dire_team_tag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CGameInfo.CDotaGameInfo.dire_team_tag) -} - -// optional uint32 end_time = 11; -inline bool CGameInfo_CDotaGameInfo::_internal_has_end_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CGameInfo_CDotaGameInfo::has_end_time() const { - return _internal_has_end_time(); -} -inline void CGameInfo_CDotaGameInfo::clear_end_time() { - _impl_.end_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CGameInfo_CDotaGameInfo::_internal_end_time() const { - return _impl_.end_time_; -} -inline uint32_t CGameInfo_CDotaGameInfo::end_time() const { - // @@protoc_insertion_point(field_get:CGameInfo.CDotaGameInfo.end_time) - return _internal_end_time(); -} -inline void CGameInfo_CDotaGameInfo::_internal_set_end_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.end_time_ = value; -} -inline void CGameInfo_CDotaGameInfo::set_end_time(uint32_t value) { - _internal_set_end_time(value); - // @@protoc_insertion_point(field_set:CGameInfo.CDotaGameInfo.end_time) -} - -// ------------------------------------------------------------------- - -// CGameInfo_CCSGameInfo - -// repeated int32 round_start_ticks = 1; -inline int CGameInfo_CCSGameInfo::_internal_round_start_ticks_size() const { - return _impl_.round_start_ticks_.size(); -} -inline int CGameInfo_CCSGameInfo::round_start_ticks_size() const { - return _internal_round_start_ticks_size(); -} -inline void CGameInfo_CCSGameInfo::clear_round_start_ticks() { - _impl_.round_start_ticks_.Clear(); -} -inline int32_t CGameInfo_CCSGameInfo::_internal_round_start_ticks(int index) const { - return _impl_.round_start_ticks_.Get(index); -} -inline int32_t CGameInfo_CCSGameInfo::round_start_ticks(int index) const { - // @@protoc_insertion_point(field_get:CGameInfo.CCSGameInfo.round_start_ticks) - return _internal_round_start_ticks(index); -} -inline void CGameInfo_CCSGameInfo::set_round_start_ticks(int index, int32_t value) { - _impl_.round_start_ticks_.Set(index, value); - // @@protoc_insertion_point(field_set:CGameInfo.CCSGameInfo.round_start_ticks) -} -inline void CGameInfo_CCSGameInfo::_internal_add_round_start_ticks(int32_t value) { - _impl_.round_start_ticks_.Add(value); -} -inline void CGameInfo_CCSGameInfo::add_round_start_ticks(int32_t value) { - _internal_add_round_start_ticks(value); - // @@protoc_insertion_point(field_add:CGameInfo.CCSGameInfo.round_start_ticks) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CGameInfo_CCSGameInfo::_internal_round_start_ticks() const { - return _impl_.round_start_ticks_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CGameInfo_CCSGameInfo::round_start_ticks() const { - // @@protoc_insertion_point(field_list:CGameInfo.CCSGameInfo.round_start_ticks) - return _internal_round_start_ticks(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CGameInfo_CCSGameInfo::_internal_mutable_round_start_ticks() { - return &_impl_.round_start_ticks_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CGameInfo_CCSGameInfo::mutable_round_start_ticks() { - // @@protoc_insertion_point(field_mutable_list:CGameInfo.CCSGameInfo.round_start_ticks) - return _internal_mutable_round_start_ticks(); -} - -// ------------------------------------------------------------------- - -// CGameInfo - -// optional .CGameInfo.CDotaGameInfo dota = 4; -inline bool CGameInfo::_internal_has_dota() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.dota_ != nullptr); - return value; -} -inline bool CGameInfo::has_dota() const { - return _internal_has_dota(); -} -inline void CGameInfo::clear_dota() { - if (_impl_.dota_ != nullptr) _impl_.dota_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CGameInfo_CDotaGameInfo& CGameInfo::_internal_dota() const { - const ::CGameInfo_CDotaGameInfo* p = _impl_.dota_; - return p != nullptr ? *p : reinterpret_cast( - ::_CGameInfo_CDotaGameInfo_default_instance_); -} -inline const ::CGameInfo_CDotaGameInfo& CGameInfo::dota() const { - // @@protoc_insertion_point(field_get:CGameInfo.dota) - return _internal_dota(); -} -inline void CGameInfo::unsafe_arena_set_allocated_dota( - ::CGameInfo_CDotaGameInfo* dota) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dota_); - } - _impl_.dota_ = dota; - if (dota) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CGameInfo.dota) -} -inline ::CGameInfo_CDotaGameInfo* CGameInfo::release_dota() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CGameInfo_CDotaGameInfo* temp = _impl_.dota_; - _impl_.dota_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CGameInfo_CDotaGameInfo* CGameInfo::unsafe_arena_release_dota() { - // @@protoc_insertion_point(field_release:CGameInfo.dota) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CGameInfo_CDotaGameInfo* temp = _impl_.dota_; - _impl_.dota_ = nullptr; - return temp; -} -inline ::CGameInfo_CDotaGameInfo* CGameInfo::_internal_mutable_dota() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.dota_ == nullptr) { - auto* p = CreateMaybeMessage<::CGameInfo_CDotaGameInfo>(GetArenaForAllocation()); - _impl_.dota_ = p; - } - return _impl_.dota_; -} -inline ::CGameInfo_CDotaGameInfo* CGameInfo::mutable_dota() { - ::CGameInfo_CDotaGameInfo* _msg = _internal_mutable_dota(); - // @@protoc_insertion_point(field_mutable:CGameInfo.dota) - return _msg; -} -inline void CGameInfo::set_allocated_dota(::CGameInfo_CDotaGameInfo* dota) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.dota_; - } - if (dota) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(dota); - if (message_arena != submessage_arena) { - dota = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, dota, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.dota_ = dota; - // @@protoc_insertion_point(field_set_allocated:CGameInfo.dota) -} - -// optional .CGameInfo.CCSGameInfo cs = 5; -inline bool CGameInfo::_internal_has_cs() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cs_ != nullptr); - return value; -} -inline bool CGameInfo::has_cs() const { - return _internal_has_cs(); -} -inline void CGameInfo::clear_cs() { - if (_impl_.cs_ != nullptr) _impl_.cs_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CGameInfo_CCSGameInfo& CGameInfo::_internal_cs() const { - const ::CGameInfo_CCSGameInfo* p = _impl_.cs_; - return p != nullptr ? *p : reinterpret_cast( - ::_CGameInfo_CCSGameInfo_default_instance_); -} -inline const ::CGameInfo_CCSGameInfo& CGameInfo::cs() const { - // @@protoc_insertion_point(field_get:CGameInfo.cs) - return _internal_cs(); -} -inline void CGameInfo::unsafe_arena_set_allocated_cs( - ::CGameInfo_CCSGameInfo* cs) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cs_); - } - _impl_.cs_ = cs; - if (cs) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CGameInfo.cs) -} -inline ::CGameInfo_CCSGameInfo* CGameInfo::release_cs() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CGameInfo_CCSGameInfo* temp = _impl_.cs_; - _impl_.cs_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CGameInfo_CCSGameInfo* CGameInfo::unsafe_arena_release_cs() { - // @@protoc_insertion_point(field_release:CGameInfo.cs) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CGameInfo_CCSGameInfo* temp = _impl_.cs_; - _impl_.cs_ = nullptr; - return temp; -} -inline ::CGameInfo_CCSGameInfo* CGameInfo::_internal_mutable_cs() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.cs_ == nullptr) { - auto* p = CreateMaybeMessage<::CGameInfo_CCSGameInfo>(GetArenaForAllocation()); - _impl_.cs_ = p; - } - return _impl_.cs_; -} -inline ::CGameInfo_CCSGameInfo* CGameInfo::mutable_cs() { - ::CGameInfo_CCSGameInfo* _msg = _internal_mutable_cs(); - // @@protoc_insertion_point(field_mutable:CGameInfo.cs) - return _msg; -} -inline void CGameInfo::set_allocated_cs(::CGameInfo_CCSGameInfo* cs) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.cs_; - } - if (cs) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cs); - if (message_arena != submessage_arena) { - cs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cs, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.cs_ = cs; - // @@protoc_insertion_point(field_set_allocated:CGameInfo.cs) -} - -// ------------------------------------------------------------------- - -// CDemoFileInfo - -// optional float playback_time = 1; -inline bool CDemoFileInfo::_internal_has_playback_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CDemoFileInfo::has_playback_time() const { - return _internal_has_playback_time(); -} -inline void CDemoFileInfo::clear_playback_time() { - _impl_.playback_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CDemoFileInfo::_internal_playback_time() const { - return _impl_.playback_time_; -} -inline float CDemoFileInfo::playback_time() const { - // @@protoc_insertion_point(field_get:CDemoFileInfo.playback_time) - return _internal_playback_time(); -} -inline void CDemoFileInfo::_internal_set_playback_time(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.playback_time_ = value; -} -inline void CDemoFileInfo::set_playback_time(float value) { - _internal_set_playback_time(value); - // @@protoc_insertion_point(field_set:CDemoFileInfo.playback_time) -} - -// optional int32 playback_ticks = 2; -inline bool CDemoFileInfo::_internal_has_playback_ticks() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CDemoFileInfo::has_playback_ticks() const { - return _internal_has_playback_ticks(); -} -inline void CDemoFileInfo::clear_playback_ticks() { - _impl_.playback_ticks_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CDemoFileInfo::_internal_playback_ticks() const { - return _impl_.playback_ticks_; -} -inline int32_t CDemoFileInfo::playback_ticks() const { - // @@protoc_insertion_point(field_get:CDemoFileInfo.playback_ticks) - return _internal_playback_ticks(); -} -inline void CDemoFileInfo::_internal_set_playback_ticks(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.playback_ticks_ = value; -} -inline void CDemoFileInfo::set_playback_ticks(int32_t value) { - _internal_set_playback_ticks(value); - // @@protoc_insertion_point(field_set:CDemoFileInfo.playback_ticks) -} - -// optional int32 playback_frames = 3; -inline bool CDemoFileInfo::_internal_has_playback_frames() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CDemoFileInfo::has_playback_frames() const { - return _internal_has_playback_frames(); -} -inline void CDemoFileInfo::clear_playback_frames() { - _impl_.playback_frames_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CDemoFileInfo::_internal_playback_frames() const { - return _impl_.playback_frames_; -} -inline int32_t CDemoFileInfo::playback_frames() const { - // @@protoc_insertion_point(field_get:CDemoFileInfo.playback_frames) - return _internal_playback_frames(); -} -inline void CDemoFileInfo::_internal_set_playback_frames(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.playback_frames_ = value; -} -inline void CDemoFileInfo::set_playback_frames(int32_t value) { - _internal_set_playback_frames(value); - // @@protoc_insertion_point(field_set:CDemoFileInfo.playback_frames) -} - -// optional .CGameInfo game_info = 4; -inline bool CDemoFileInfo::_internal_has_game_info() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.game_info_ != nullptr); - return value; -} -inline bool CDemoFileInfo::has_game_info() const { - return _internal_has_game_info(); -} -inline void CDemoFileInfo::clear_game_info() { - if (_impl_.game_info_ != nullptr) _impl_.game_info_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CGameInfo& CDemoFileInfo::_internal_game_info() const { - const ::CGameInfo* p = _impl_.game_info_; - return p != nullptr ? *p : reinterpret_cast( - ::_CGameInfo_default_instance_); -} -inline const ::CGameInfo& CDemoFileInfo::game_info() const { - // @@protoc_insertion_point(field_get:CDemoFileInfo.game_info) - return _internal_game_info(); -} -inline void CDemoFileInfo::unsafe_arena_set_allocated_game_info( - ::CGameInfo* game_info) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.game_info_); - } - _impl_.game_info_ = game_info; - if (game_info) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CDemoFileInfo.game_info) -} -inline ::CGameInfo* CDemoFileInfo::release_game_info() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CGameInfo* temp = _impl_.game_info_; - _impl_.game_info_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CGameInfo* CDemoFileInfo::unsafe_arena_release_game_info() { - // @@protoc_insertion_point(field_release:CDemoFileInfo.game_info) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CGameInfo* temp = _impl_.game_info_; - _impl_.game_info_ = nullptr; - return temp; -} -inline ::CGameInfo* CDemoFileInfo::_internal_mutable_game_info() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.game_info_ == nullptr) { - auto* p = CreateMaybeMessage<::CGameInfo>(GetArenaForAllocation()); - _impl_.game_info_ = p; - } - return _impl_.game_info_; -} -inline ::CGameInfo* CDemoFileInfo::mutable_game_info() { - ::CGameInfo* _msg = _internal_mutable_game_info(); - // @@protoc_insertion_point(field_mutable:CDemoFileInfo.game_info) - return _msg; -} -inline void CDemoFileInfo::set_allocated_game_info(::CGameInfo* game_info) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.game_info_; - } - if (game_info) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(game_info); - if (message_arena != submessage_arena) { - game_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, game_info, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.game_info_ = game_info; - // @@protoc_insertion_point(field_set_allocated:CDemoFileInfo.game_info) -} - -// ------------------------------------------------------------------- - -// CDemoPacket - -// optional bytes data = 3; -inline bool CDemoPacket::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDemoPacket::has_data() const { - return _internal_has_data(); -} -inline void CDemoPacket::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CDemoPacket::data() const { - // @@protoc_insertion_point(field_get:CDemoPacket.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoPacket::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoPacket.data) -} -inline std::string* CDemoPacket::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CDemoPacket.data) - return _s; -} -inline const std::string& CDemoPacket::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CDemoPacket::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoPacket::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoPacket::release_data() { - // @@protoc_insertion_point(field_release:CDemoPacket.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoPacket::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoPacket.data) -} - -// ------------------------------------------------------------------- - -// CDemoFullPacket - -// optional .CDemoStringTables string_table = 1; -inline bool CDemoFullPacket::_internal_has_string_table() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.string_table_ != nullptr); - return value; -} -inline bool CDemoFullPacket::has_string_table() const { - return _internal_has_string_table(); -} -inline void CDemoFullPacket::clear_string_table() { - if (_impl_.string_table_ != nullptr) _impl_.string_table_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CDemoStringTables& CDemoFullPacket::_internal_string_table() const { - const ::CDemoStringTables* p = _impl_.string_table_; - return p != nullptr ? *p : reinterpret_cast( - ::_CDemoStringTables_default_instance_); -} -inline const ::CDemoStringTables& CDemoFullPacket::string_table() const { - // @@protoc_insertion_point(field_get:CDemoFullPacket.string_table) - return _internal_string_table(); -} -inline void CDemoFullPacket::unsafe_arena_set_allocated_string_table( - ::CDemoStringTables* string_table) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.string_table_); - } - _impl_.string_table_ = string_table; - if (string_table) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CDemoFullPacket.string_table) -} -inline ::CDemoStringTables* CDemoFullPacket::release_string_table() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CDemoStringTables* temp = _impl_.string_table_; - _impl_.string_table_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CDemoStringTables* CDemoFullPacket::unsafe_arena_release_string_table() { - // @@protoc_insertion_point(field_release:CDemoFullPacket.string_table) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CDemoStringTables* temp = _impl_.string_table_; - _impl_.string_table_ = nullptr; - return temp; -} -inline ::CDemoStringTables* CDemoFullPacket::_internal_mutable_string_table() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.string_table_ == nullptr) { - auto* p = CreateMaybeMessage<::CDemoStringTables>(GetArenaForAllocation()); - _impl_.string_table_ = p; - } - return _impl_.string_table_; -} -inline ::CDemoStringTables* CDemoFullPacket::mutable_string_table() { - ::CDemoStringTables* _msg = _internal_mutable_string_table(); - // @@protoc_insertion_point(field_mutable:CDemoFullPacket.string_table) - return _msg; -} -inline void CDemoFullPacket::set_allocated_string_table(::CDemoStringTables* string_table) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.string_table_; - } - if (string_table) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(string_table); - if (message_arena != submessage_arena) { - string_table = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, string_table, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.string_table_ = string_table; - // @@protoc_insertion_point(field_set_allocated:CDemoFullPacket.string_table) -} - -// optional .CDemoPacket packet = 2; -inline bool CDemoFullPacket::_internal_has_packet() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.packet_ != nullptr); - return value; -} -inline bool CDemoFullPacket::has_packet() const { - return _internal_has_packet(); -} -inline void CDemoFullPacket::clear_packet() { - if (_impl_.packet_ != nullptr) _impl_.packet_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CDemoPacket& CDemoFullPacket::_internal_packet() const { - const ::CDemoPacket* p = _impl_.packet_; - return p != nullptr ? *p : reinterpret_cast( - ::_CDemoPacket_default_instance_); -} -inline const ::CDemoPacket& CDemoFullPacket::packet() const { - // @@protoc_insertion_point(field_get:CDemoFullPacket.packet) - return _internal_packet(); -} -inline void CDemoFullPacket::unsafe_arena_set_allocated_packet( - ::CDemoPacket* packet) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.packet_); - } - _impl_.packet_ = packet; - if (packet) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CDemoFullPacket.packet) -} -inline ::CDemoPacket* CDemoFullPacket::release_packet() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CDemoPacket* temp = _impl_.packet_; - _impl_.packet_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CDemoPacket* CDemoFullPacket::unsafe_arena_release_packet() { - // @@protoc_insertion_point(field_release:CDemoFullPacket.packet) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CDemoPacket* temp = _impl_.packet_; - _impl_.packet_ = nullptr; - return temp; -} -inline ::CDemoPacket* CDemoFullPacket::_internal_mutable_packet() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.packet_ == nullptr) { - auto* p = CreateMaybeMessage<::CDemoPacket>(GetArenaForAllocation()); - _impl_.packet_ = p; - } - return _impl_.packet_; -} -inline ::CDemoPacket* CDemoFullPacket::mutable_packet() { - ::CDemoPacket* _msg = _internal_mutable_packet(); - // @@protoc_insertion_point(field_mutable:CDemoFullPacket.packet) - return _msg; -} -inline void CDemoFullPacket::set_allocated_packet(::CDemoPacket* packet) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.packet_; - } - if (packet) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(packet); - if (message_arena != submessage_arena) { - packet = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, packet, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.packet_ = packet; - // @@protoc_insertion_point(field_set_allocated:CDemoFullPacket.packet) -} - -// ------------------------------------------------------------------- - -// CDemoSaveGame - -// optional bytes data = 1; -inline bool CDemoSaveGame::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDemoSaveGame::has_data() const { - return _internal_has_data(); -} -inline void CDemoSaveGame::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CDemoSaveGame::data() const { - // @@protoc_insertion_point(field_get:CDemoSaveGame.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoSaveGame::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoSaveGame.data) -} -inline std::string* CDemoSaveGame::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CDemoSaveGame.data) - return _s; -} -inline const std::string& CDemoSaveGame::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CDemoSaveGame::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoSaveGame::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoSaveGame::release_data() { - // @@protoc_insertion_point(field_release:CDemoSaveGame.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoSaveGame::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoSaveGame.data) -} - -// optional fixed64 steam_id = 2; -inline bool CDemoSaveGame::_internal_has_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CDemoSaveGame::has_steam_id() const { - return _internal_has_steam_id(); -} -inline void CDemoSaveGame::clear_steam_id() { - _impl_.steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CDemoSaveGame::_internal_steam_id() const { - return _impl_.steam_id_; -} -inline uint64_t CDemoSaveGame::steam_id() const { - // @@protoc_insertion_point(field_get:CDemoSaveGame.steam_id) - return _internal_steam_id(); -} -inline void CDemoSaveGame::_internal_set_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.steam_id_ = value; -} -inline void CDemoSaveGame::set_steam_id(uint64_t value) { - _internal_set_steam_id(value); - // @@protoc_insertion_point(field_set:CDemoSaveGame.steam_id) -} - -// optional fixed64 signature = 3; -inline bool CDemoSaveGame::_internal_has_signature() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CDemoSaveGame::has_signature() const { - return _internal_has_signature(); -} -inline void CDemoSaveGame::clear_signature() { - _impl_.signature_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CDemoSaveGame::_internal_signature() const { - return _impl_.signature_; -} -inline uint64_t CDemoSaveGame::signature() const { - // @@protoc_insertion_point(field_get:CDemoSaveGame.signature) - return _internal_signature(); -} -inline void CDemoSaveGame::_internal_set_signature(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.signature_ = value; -} -inline void CDemoSaveGame::set_signature(uint64_t value) { - _internal_set_signature(value); - // @@protoc_insertion_point(field_set:CDemoSaveGame.signature) -} - -// optional int32 version = 4; -inline bool CDemoSaveGame::_internal_has_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CDemoSaveGame::has_version() const { - return _internal_has_version(); -} -inline void CDemoSaveGame::clear_version() { - _impl_.version_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CDemoSaveGame::_internal_version() const { - return _impl_.version_; -} -inline int32_t CDemoSaveGame::version() const { - // @@protoc_insertion_point(field_get:CDemoSaveGame.version) - return _internal_version(); -} -inline void CDemoSaveGame::_internal_set_version(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.version_ = value; -} -inline void CDemoSaveGame::set_version(int32_t value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:CDemoSaveGame.version) -} - -// ------------------------------------------------------------------- - -// CDemoSyncTick - -// ------------------------------------------------------------------- - -// CDemoConsoleCmd - -// optional string cmdstring = 1; -inline bool CDemoConsoleCmd::_internal_has_cmdstring() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDemoConsoleCmd::has_cmdstring() const { - return _internal_has_cmdstring(); -} -inline void CDemoConsoleCmd::clear_cmdstring() { - _impl_.cmdstring_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CDemoConsoleCmd::cmdstring() const { - // @@protoc_insertion_point(field_get:CDemoConsoleCmd.cmdstring) - return _internal_cmdstring(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoConsoleCmd::set_cmdstring(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.cmdstring_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoConsoleCmd.cmdstring) -} -inline std::string* CDemoConsoleCmd::mutable_cmdstring() { - std::string* _s = _internal_mutable_cmdstring(); - // @@protoc_insertion_point(field_mutable:CDemoConsoleCmd.cmdstring) - return _s; -} -inline const std::string& CDemoConsoleCmd::_internal_cmdstring() const { - return _impl_.cmdstring_.Get(); -} -inline void CDemoConsoleCmd::_internal_set_cmdstring(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.cmdstring_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoConsoleCmd::_internal_mutable_cmdstring() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.cmdstring_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoConsoleCmd::release_cmdstring() { - // @@protoc_insertion_point(field_release:CDemoConsoleCmd.cmdstring) - if (!_internal_has_cmdstring()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.cmdstring_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cmdstring_.IsDefault()) { - _impl_.cmdstring_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoConsoleCmd::set_allocated_cmdstring(std::string* cmdstring) { - if (cmdstring != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.cmdstring_.SetAllocated(cmdstring, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cmdstring_.IsDefault()) { - _impl_.cmdstring_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoConsoleCmd.cmdstring) -} - -// ------------------------------------------------------------------- - -// CDemoSendTables - -// optional bytes data = 1; -inline bool CDemoSendTables::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDemoSendTables::has_data() const { - return _internal_has_data(); -} -inline void CDemoSendTables::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CDemoSendTables::data() const { - // @@protoc_insertion_point(field_get:CDemoSendTables.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoSendTables::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoSendTables.data) -} -inline std::string* CDemoSendTables::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CDemoSendTables.data) - return _s; -} -inline const std::string& CDemoSendTables::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CDemoSendTables::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoSendTables::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoSendTables::release_data() { - // @@protoc_insertion_point(field_release:CDemoSendTables.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoSendTables::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoSendTables.data) -} - -// ------------------------------------------------------------------- - -// CDemoClassInfo_class_t - -// optional int32 class_id = 1; -inline bool CDemoClassInfo_class_t::_internal_has_class_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CDemoClassInfo_class_t::has_class_id() const { - return _internal_has_class_id(); -} -inline void CDemoClassInfo_class_t::clear_class_id() { - _impl_.class_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CDemoClassInfo_class_t::_internal_class_id() const { - return _impl_.class_id_; -} -inline int32_t CDemoClassInfo_class_t::class_id() const { - // @@protoc_insertion_point(field_get:CDemoClassInfo.class_t.class_id) - return _internal_class_id(); -} -inline void CDemoClassInfo_class_t::_internal_set_class_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.class_id_ = value; -} -inline void CDemoClassInfo_class_t::set_class_id(int32_t value) { - _internal_set_class_id(value); - // @@protoc_insertion_point(field_set:CDemoClassInfo.class_t.class_id) -} - -// optional string network_name = 2; -inline bool CDemoClassInfo_class_t::_internal_has_network_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDemoClassInfo_class_t::has_network_name() const { - return _internal_has_network_name(); -} -inline void CDemoClassInfo_class_t::clear_network_name() { - _impl_.network_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CDemoClassInfo_class_t::network_name() const { - // @@protoc_insertion_point(field_get:CDemoClassInfo.class_t.network_name) - return _internal_network_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoClassInfo_class_t::set_network_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.network_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoClassInfo.class_t.network_name) -} -inline std::string* CDemoClassInfo_class_t::mutable_network_name() { - std::string* _s = _internal_mutable_network_name(); - // @@protoc_insertion_point(field_mutable:CDemoClassInfo.class_t.network_name) - return _s; -} -inline const std::string& CDemoClassInfo_class_t::_internal_network_name() const { - return _impl_.network_name_.Get(); -} -inline void CDemoClassInfo_class_t::_internal_set_network_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.network_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoClassInfo_class_t::_internal_mutable_network_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.network_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoClassInfo_class_t::release_network_name() { - // @@protoc_insertion_point(field_release:CDemoClassInfo.class_t.network_name) - if (!_internal_has_network_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.network_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.network_name_.IsDefault()) { - _impl_.network_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoClassInfo_class_t::set_allocated_network_name(std::string* network_name) { - if (network_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.network_name_.SetAllocated(network_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.network_name_.IsDefault()) { - _impl_.network_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoClassInfo.class_t.network_name) -} - -// optional string table_name = 3; -inline bool CDemoClassInfo_class_t::_internal_has_table_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CDemoClassInfo_class_t::has_table_name() const { - return _internal_has_table_name(); -} -inline void CDemoClassInfo_class_t::clear_table_name() { - _impl_.table_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CDemoClassInfo_class_t::table_name() const { - // @@protoc_insertion_point(field_get:CDemoClassInfo.class_t.table_name) - return _internal_table_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoClassInfo_class_t::set_table_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.table_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoClassInfo.class_t.table_name) -} -inline std::string* CDemoClassInfo_class_t::mutable_table_name() { - std::string* _s = _internal_mutable_table_name(); - // @@protoc_insertion_point(field_mutable:CDemoClassInfo.class_t.table_name) - return _s; -} -inline const std::string& CDemoClassInfo_class_t::_internal_table_name() const { - return _impl_.table_name_.Get(); -} -inline void CDemoClassInfo_class_t::_internal_set_table_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.table_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoClassInfo_class_t::_internal_mutable_table_name() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.table_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoClassInfo_class_t::release_table_name() { - // @@protoc_insertion_point(field_release:CDemoClassInfo.class_t.table_name) - if (!_internal_has_table_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.table_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.table_name_.IsDefault()) { - _impl_.table_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoClassInfo_class_t::set_allocated_table_name(std::string* table_name) { - if (table_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.table_name_.SetAllocated(table_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.table_name_.IsDefault()) { - _impl_.table_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoClassInfo.class_t.table_name) -} - -// ------------------------------------------------------------------- - -// CDemoClassInfo - -// repeated .CDemoClassInfo.class_t classes = 1; -inline int CDemoClassInfo::_internal_classes_size() const { - return _impl_.classes_.size(); -} -inline int CDemoClassInfo::classes_size() const { - return _internal_classes_size(); -} -inline void CDemoClassInfo::clear_classes() { - _impl_.classes_.Clear(); -} -inline ::CDemoClassInfo_class_t* CDemoClassInfo::mutable_classes(int index) { - // @@protoc_insertion_point(field_mutable:CDemoClassInfo.classes) - return _impl_.classes_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoClassInfo_class_t >* -CDemoClassInfo::mutable_classes() { - // @@protoc_insertion_point(field_mutable_list:CDemoClassInfo.classes) - return &_impl_.classes_; -} -inline const ::CDemoClassInfo_class_t& CDemoClassInfo::_internal_classes(int index) const { - return _impl_.classes_.Get(index); -} -inline const ::CDemoClassInfo_class_t& CDemoClassInfo::classes(int index) const { - // @@protoc_insertion_point(field_get:CDemoClassInfo.classes) - return _internal_classes(index); -} -inline ::CDemoClassInfo_class_t* CDemoClassInfo::_internal_add_classes() { - return _impl_.classes_.Add(); -} -inline ::CDemoClassInfo_class_t* CDemoClassInfo::add_classes() { - ::CDemoClassInfo_class_t* _add = _internal_add_classes(); - // @@protoc_insertion_point(field_add:CDemoClassInfo.classes) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoClassInfo_class_t >& -CDemoClassInfo::classes() const { - // @@protoc_insertion_point(field_list:CDemoClassInfo.classes) - return _impl_.classes_; -} - -// ------------------------------------------------------------------- - -// CDemoCustomData - -// optional int32 callback_index = 1; -inline bool CDemoCustomData::_internal_has_callback_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CDemoCustomData::has_callback_index() const { - return _internal_has_callback_index(); -} -inline void CDemoCustomData::clear_callback_index() { - _impl_.callback_index_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CDemoCustomData::_internal_callback_index() const { - return _impl_.callback_index_; -} -inline int32_t CDemoCustomData::callback_index() const { - // @@protoc_insertion_point(field_get:CDemoCustomData.callback_index) - return _internal_callback_index(); -} -inline void CDemoCustomData::_internal_set_callback_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.callback_index_ = value; -} -inline void CDemoCustomData::set_callback_index(int32_t value) { - _internal_set_callback_index(value); - // @@protoc_insertion_point(field_set:CDemoCustomData.callback_index) -} - -// optional bytes data = 2; -inline bool CDemoCustomData::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDemoCustomData::has_data() const { - return _internal_has_data(); -} -inline void CDemoCustomData::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CDemoCustomData::data() const { - // @@protoc_insertion_point(field_get:CDemoCustomData.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoCustomData::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoCustomData.data) -} -inline std::string* CDemoCustomData::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CDemoCustomData.data) - return _s; -} -inline const std::string& CDemoCustomData::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CDemoCustomData::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoCustomData::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoCustomData::release_data() { - // @@protoc_insertion_point(field_release:CDemoCustomData.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoCustomData::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoCustomData.data) -} - -// ------------------------------------------------------------------- - -// CDemoCustomDataCallbacks - -// repeated string save_id = 1; -inline int CDemoCustomDataCallbacks::_internal_save_id_size() const { - return _impl_.save_id_.size(); -} -inline int CDemoCustomDataCallbacks::save_id_size() const { - return _internal_save_id_size(); -} -inline void CDemoCustomDataCallbacks::clear_save_id() { - _impl_.save_id_.Clear(); -} -inline std::string* CDemoCustomDataCallbacks::add_save_id() { - std::string* _s = _internal_add_save_id(); - // @@protoc_insertion_point(field_add_mutable:CDemoCustomDataCallbacks.save_id) - return _s; -} -inline const std::string& CDemoCustomDataCallbacks::_internal_save_id(int index) const { - return _impl_.save_id_.Get(index); -} -inline const std::string& CDemoCustomDataCallbacks::save_id(int index) const { - // @@protoc_insertion_point(field_get:CDemoCustomDataCallbacks.save_id) - return _internal_save_id(index); -} -inline std::string* CDemoCustomDataCallbacks::mutable_save_id(int index) { - // @@protoc_insertion_point(field_mutable:CDemoCustomDataCallbacks.save_id) - return _impl_.save_id_.Mutable(index); -} -inline void CDemoCustomDataCallbacks::set_save_id(int index, const std::string& value) { - _impl_.save_id_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CDemoCustomDataCallbacks.save_id) -} -inline void CDemoCustomDataCallbacks::set_save_id(int index, std::string&& value) { - _impl_.save_id_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CDemoCustomDataCallbacks.save_id) -} -inline void CDemoCustomDataCallbacks::set_save_id(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.save_id_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CDemoCustomDataCallbacks.save_id) -} -inline void CDemoCustomDataCallbacks::set_save_id(int index, const char* value, size_t size) { - _impl_.save_id_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CDemoCustomDataCallbacks.save_id) -} -inline std::string* CDemoCustomDataCallbacks::_internal_add_save_id() { - return _impl_.save_id_.Add(); -} -inline void CDemoCustomDataCallbacks::add_save_id(const std::string& value) { - _impl_.save_id_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CDemoCustomDataCallbacks.save_id) -} -inline void CDemoCustomDataCallbacks::add_save_id(std::string&& value) { - _impl_.save_id_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CDemoCustomDataCallbacks.save_id) -} -inline void CDemoCustomDataCallbacks::add_save_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.save_id_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CDemoCustomDataCallbacks.save_id) -} -inline void CDemoCustomDataCallbacks::add_save_id(const char* value, size_t size) { - _impl_.save_id_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CDemoCustomDataCallbacks.save_id) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CDemoCustomDataCallbacks::save_id() const { - // @@protoc_insertion_point(field_list:CDemoCustomDataCallbacks.save_id) - return _impl_.save_id_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CDemoCustomDataCallbacks::mutable_save_id() { - // @@protoc_insertion_point(field_mutable_list:CDemoCustomDataCallbacks.save_id) - return &_impl_.save_id_; -} - -// ------------------------------------------------------------------- - -// CDemoAnimationHeader - -// optional sint32 entity_id = 1; -inline bool CDemoAnimationHeader::_internal_has_entity_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CDemoAnimationHeader::has_entity_id() const { - return _internal_has_entity_id(); -} -inline void CDemoAnimationHeader::clear_entity_id() { - _impl_.entity_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CDemoAnimationHeader::_internal_entity_id() const { - return _impl_.entity_id_; -} -inline int32_t CDemoAnimationHeader::entity_id() const { - // @@protoc_insertion_point(field_get:CDemoAnimationHeader.entity_id) - return _internal_entity_id(); -} -inline void CDemoAnimationHeader::_internal_set_entity_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.entity_id_ = value; -} -inline void CDemoAnimationHeader::set_entity_id(int32_t value) { - _internal_set_entity_id(value); - // @@protoc_insertion_point(field_set:CDemoAnimationHeader.entity_id) -} - -// optional int32 tick = 2; -inline bool CDemoAnimationHeader::_internal_has_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CDemoAnimationHeader::has_tick() const { - return _internal_has_tick(); -} -inline void CDemoAnimationHeader::clear_tick() { - _impl_.tick_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CDemoAnimationHeader::_internal_tick() const { - return _impl_.tick_; -} -inline int32_t CDemoAnimationHeader::tick() const { - // @@protoc_insertion_point(field_get:CDemoAnimationHeader.tick) - return _internal_tick(); -} -inline void CDemoAnimationHeader::_internal_set_tick(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.tick_ = value; -} -inline void CDemoAnimationHeader::set_tick(int32_t value) { - _internal_set_tick(value); - // @@protoc_insertion_point(field_set:CDemoAnimationHeader.tick) -} - -// optional bytes data = 3; -inline bool CDemoAnimationHeader::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDemoAnimationHeader::has_data() const { - return _internal_has_data(); -} -inline void CDemoAnimationHeader::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CDemoAnimationHeader::data() const { - // @@protoc_insertion_point(field_get:CDemoAnimationHeader.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoAnimationHeader::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoAnimationHeader.data) -} -inline std::string* CDemoAnimationHeader::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CDemoAnimationHeader.data) - return _s; -} -inline const std::string& CDemoAnimationHeader::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CDemoAnimationHeader::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoAnimationHeader::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoAnimationHeader::release_data() { - // @@protoc_insertion_point(field_release:CDemoAnimationHeader.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoAnimationHeader::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoAnimationHeader.data) -} - -// ------------------------------------------------------------------- - -// CDemoAnimationData - -// optional sint32 entity_id = 1; -inline bool CDemoAnimationData::_internal_has_entity_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CDemoAnimationData::has_entity_id() const { - return _internal_has_entity_id(); -} -inline void CDemoAnimationData::clear_entity_id() { - _impl_.entity_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CDemoAnimationData::_internal_entity_id() const { - return _impl_.entity_id_; -} -inline int32_t CDemoAnimationData::entity_id() const { - // @@protoc_insertion_point(field_get:CDemoAnimationData.entity_id) - return _internal_entity_id(); -} -inline void CDemoAnimationData::_internal_set_entity_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.entity_id_ = value; -} -inline void CDemoAnimationData::set_entity_id(int32_t value) { - _internal_set_entity_id(value); - // @@protoc_insertion_point(field_set:CDemoAnimationData.entity_id) -} - -// optional int32 start_tick = 2; -inline bool CDemoAnimationData::_internal_has_start_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CDemoAnimationData::has_start_tick() const { - return _internal_has_start_tick(); -} -inline void CDemoAnimationData::clear_start_tick() { - _impl_.start_tick_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CDemoAnimationData::_internal_start_tick() const { - return _impl_.start_tick_; -} -inline int32_t CDemoAnimationData::start_tick() const { - // @@protoc_insertion_point(field_get:CDemoAnimationData.start_tick) - return _internal_start_tick(); -} -inline void CDemoAnimationData::_internal_set_start_tick(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.start_tick_ = value; -} -inline void CDemoAnimationData::set_start_tick(int32_t value) { - _internal_set_start_tick(value); - // @@protoc_insertion_point(field_set:CDemoAnimationData.start_tick) -} - -// optional int32 end_tick = 3; -inline bool CDemoAnimationData::_internal_has_end_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CDemoAnimationData::has_end_tick() const { - return _internal_has_end_tick(); -} -inline void CDemoAnimationData::clear_end_tick() { - _impl_.end_tick_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CDemoAnimationData::_internal_end_tick() const { - return _impl_.end_tick_; -} -inline int32_t CDemoAnimationData::end_tick() const { - // @@protoc_insertion_point(field_get:CDemoAnimationData.end_tick) - return _internal_end_tick(); -} -inline void CDemoAnimationData::_internal_set_end_tick(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.end_tick_ = value; -} -inline void CDemoAnimationData::set_end_tick(int32_t value) { - _internal_set_end_tick(value); - // @@protoc_insertion_point(field_set:CDemoAnimationData.end_tick) -} - -// optional bytes data = 4; -inline bool CDemoAnimationData::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDemoAnimationData::has_data() const { - return _internal_has_data(); -} -inline void CDemoAnimationData::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CDemoAnimationData::data() const { - // @@protoc_insertion_point(field_get:CDemoAnimationData.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoAnimationData::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoAnimationData.data) -} -inline std::string* CDemoAnimationData::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CDemoAnimationData.data) - return _s; -} -inline const std::string& CDemoAnimationData::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CDemoAnimationData::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoAnimationData::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoAnimationData::release_data() { - // @@protoc_insertion_point(field_release:CDemoAnimationData.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoAnimationData::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoAnimationData.data) -} - -// optional int64 data_checksum = 5; -inline bool CDemoAnimationData::_internal_has_data_checksum() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CDemoAnimationData::has_data_checksum() const { - return _internal_has_data_checksum(); -} -inline void CDemoAnimationData::clear_data_checksum() { - _impl_.data_checksum_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int64_t CDemoAnimationData::_internal_data_checksum() const { - return _impl_.data_checksum_; -} -inline int64_t CDemoAnimationData::data_checksum() const { - // @@protoc_insertion_point(field_get:CDemoAnimationData.data_checksum) - return _internal_data_checksum(); -} -inline void CDemoAnimationData::_internal_set_data_checksum(int64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.data_checksum_ = value; -} -inline void CDemoAnimationData::set_data_checksum(int64_t value) { - _internal_set_data_checksum(value); - // @@protoc_insertion_point(field_set:CDemoAnimationData.data_checksum) -} - -// ------------------------------------------------------------------- - -// CDemoStringTables_items_t - -// optional string str = 1; -inline bool CDemoStringTables_items_t::_internal_has_str() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDemoStringTables_items_t::has_str() const { - return _internal_has_str(); -} -inline void CDemoStringTables_items_t::clear_str() { - _impl_.str_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CDemoStringTables_items_t::str() const { - // @@protoc_insertion_point(field_get:CDemoStringTables.items_t.str) - return _internal_str(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoStringTables_items_t::set_str(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.str_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoStringTables.items_t.str) -} -inline std::string* CDemoStringTables_items_t::mutable_str() { - std::string* _s = _internal_mutable_str(); - // @@protoc_insertion_point(field_mutable:CDemoStringTables.items_t.str) - return _s; -} -inline const std::string& CDemoStringTables_items_t::_internal_str() const { - return _impl_.str_.Get(); -} -inline void CDemoStringTables_items_t::_internal_set_str(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.str_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoStringTables_items_t::_internal_mutable_str() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.str_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoStringTables_items_t::release_str() { - // @@protoc_insertion_point(field_release:CDemoStringTables.items_t.str) - if (!_internal_has_str()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.str_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.str_.IsDefault()) { - _impl_.str_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoStringTables_items_t::set_allocated_str(std::string* str) { - if (str != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.str_.SetAllocated(str, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.str_.IsDefault()) { - _impl_.str_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoStringTables.items_t.str) -} - -// optional bytes data = 2; -inline bool CDemoStringTables_items_t::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CDemoStringTables_items_t::has_data() const { - return _internal_has_data(); -} -inline void CDemoStringTables_items_t::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CDemoStringTables_items_t::data() const { - // @@protoc_insertion_point(field_get:CDemoStringTables.items_t.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoStringTables_items_t::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoStringTables.items_t.data) -} -inline std::string* CDemoStringTables_items_t::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CDemoStringTables.items_t.data) - return _s; -} -inline const std::string& CDemoStringTables_items_t::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CDemoStringTables_items_t::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoStringTables_items_t::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoStringTables_items_t::release_data() { - // @@protoc_insertion_point(field_release:CDemoStringTables.items_t.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoStringTables_items_t::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoStringTables.items_t.data) -} - -// ------------------------------------------------------------------- - -// CDemoStringTables_table_t - -// optional string table_name = 1; -inline bool CDemoStringTables_table_t::_internal_has_table_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDemoStringTables_table_t::has_table_name() const { - return _internal_has_table_name(); -} -inline void CDemoStringTables_table_t::clear_table_name() { - _impl_.table_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CDemoStringTables_table_t::table_name() const { - // @@protoc_insertion_point(field_get:CDemoStringTables.table_t.table_name) - return _internal_table_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoStringTables_table_t::set_table_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.table_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoStringTables.table_t.table_name) -} -inline std::string* CDemoStringTables_table_t::mutable_table_name() { - std::string* _s = _internal_mutable_table_name(); - // @@protoc_insertion_point(field_mutable:CDemoStringTables.table_t.table_name) - return _s; -} -inline const std::string& CDemoStringTables_table_t::_internal_table_name() const { - return _impl_.table_name_.Get(); -} -inline void CDemoStringTables_table_t::_internal_set_table_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.table_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoStringTables_table_t::_internal_mutable_table_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.table_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoStringTables_table_t::release_table_name() { - // @@protoc_insertion_point(field_release:CDemoStringTables.table_t.table_name) - if (!_internal_has_table_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.table_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.table_name_.IsDefault()) { - _impl_.table_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoStringTables_table_t::set_allocated_table_name(std::string* table_name) { - if (table_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.table_name_.SetAllocated(table_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.table_name_.IsDefault()) { - _impl_.table_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoStringTables.table_t.table_name) -} - -// repeated .CDemoStringTables.items_t items = 2; -inline int CDemoStringTables_table_t::_internal_items_size() const { - return _impl_.items_.size(); -} -inline int CDemoStringTables_table_t::items_size() const { - return _internal_items_size(); -} -inline void CDemoStringTables_table_t::clear_items() { - _impl_.items_.Clear(); -} -inline ::CDemoStringTables_items_t* CDemoStringTables_table_t::mutable_items(int index) { - // @@protoc_insertion_point(field_mutable:CDemoStringTables.table_t.items) - return _impl_.items_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t >* -CDemoStringTables_table_t::mutable_items() { - // @@protoc_insertion_point(field_mutable_list:CDemoStringTables.table_t.items) - return &_impl_.items_; -} -inline const ::CDemoStringTables_items_t& CDemoStringTables_table_t::_internal_items(int index) const { - return _impl_.items_.Get(index); -} -inline const ::CDemoStringTables_items_t& CDemoStringTables_table_t::items(int index) const { - // @@protoc_insertion_point(field_get:CDemoStringTables.table_t.items) - return _internal_items(index); -} -inline ::CDemoStringTables_items_t* CDemoStringTables_table_t::_internal_add_items() { - return _impl_.items_.Add(); -} -inline ::CDemoStringTables_items_t* CDemoStringTables_table_t::add_items() { - ::CDemoStringTables_items_t* _add = _internal_add_items(); - // @@protoc_insertion_point(field_add:CDemoStringTables.table_t.items) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t >& -CDemoStringTables_table_t::items() const { - // @@protoc_insertion_point(field_list:CDemoStringTables.table_t.items) - return _impl_.items_; -} - -// repeated .CDemoStringTables.items_t items_clientside = 3; -inline int CDemoStringTables_table_t::_internal_items_clientside_size() const { - return _impl_.items_clientside_.size(); -} -inline int CDemoStringTables_table_t::items_clientside_size() const { - return _internal_items_clientside_size(); -} -inline void CDemoStringTables_table_t::clear_items_clientside() { - _impl_.items_clientside_.Clear(); -} -inline ::CDemoStringTables_items_t* CDemoStringTables_table_t::mutable_items_clientside(int index) { - // @@protoc_insertion_point(field_mutable:CDemoStringTables.table_t.items_clientside) - return _impl_.items_clientside_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t >* -CDemoStringTables_table_t::mutable_items_clientside() { - // @@protoc_insertion_point(field_mutable_list:CDemoStringTables.table_t.items_clientside) - return &_impl_.items_clientside_; -} -inline const ::CDemoStringTables_items_t& CDemoStringTables_table_t::_internal_items_clientside(int index) const { - return _impl_.items_clientside_.Get(index); -} -inline const ::CDemoStringTables_items_t& CDemoStringTables_table_t::items_clientside(int index) const { - // @@protoc_insertion_point(field_get:CDemoStringTables.table_t.items_clientside) - return _internal_items_clientside(index); -} -inline ::CDemoStringTables_items_t* CDemoStringTables_table_t::_internal_add_items_clientside() { - return _impl_.items_clientside_.Add(); -} -inline ::CDemoStringTables_items_t* CDemoStringTables_table_t::add_items_clientside() { - ::CDemoStringTables_items_t* _add = _internal_add_items_clientside(); - // @@protoc_insertion_point(field_add:CDemoStringTables.table_t.items_clientside) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_items_t >& -CDemoStringTables_table_t::items_clientside() const { - // @@protoc_insertion_point(field_list:CDemoStringTables.table_t.items_clientside) - return _impl_.items_clientside_; -} - -// optional int32 table_flags = 4; -inline bool CDemoStringTables_table_t::_internal_has_table_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CDemoStringTables_table_t::has_table_flags() const { - return _internal_has_table_flags(); -} -inline void CDemoStringTables_table_t::clear_table_flags() { - _impl_.table_flags_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CDemoStringTables_table_t::_internal_table_flags() const { - return _impl_.table_flags_; -} -inline int32_t CDemoStringTables_table_t::table_flags() const { - // @@protoc_insertion_point(field_get:CDemoStringTables.table_t.table_flags) - return _internal_table_flags(); -} -inline void CDemoStringTables_table_t::_internal_set_table_flags(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.table_flags_ = value; -} -inline void CDemoStringTables_table_t::set_table_flags(int32_t value) { - _internal_set_table_flags(value); - // @@protoc_insertion_point(field_set:CDemoStringTables.table_t.table_flags) -} - -// ------------------------------------------------------------------- - -// CDemoStringTables - -// repeated .CDemoStringTables.table_t tables = 1; -inline int CDemoStringTables::_internal_tables_size() const { - return _impl_.tables_.size(); -} -inline int CDemoStringTables::tables_size() const { - return _internal_tables_size(); -} -inline void CDemoStringTables::clear_tables() { - _impl_.tables_.Clear(); -} -inline ::CDemoStringTables_table_t* CDemoStringTables::mutable_tables(int index) { - // @@protoc_insertion_point(field_mutable:CDemoStringTables.tables) - return _impl_.tables_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_table_t >* -CDemoStringTables::mutable_tables() { - // @@protoc_insertion_point(field_mutable_list:CDemoStringTables.tables) - return &_impl_.tables_; -} -inline const ::CDemoStringTables_table_t& CDemoStringTables::_internal_tables(int index) const { - return _impl_.tables_.Get(index); -} -inline const ::CDemoStringTables_table_t& CDemoStringTables::tables(int index) const { - // @@protoc_insertion_point(field_get:CDemoStringTables.tables) - return _internal_tables(index); -} -inline ::CDemoStringTables_table_t* CDemoStringTables::_internal_add_tables() { - return _impl_.tables_.Add(); -} -inline ::CDemoStringTables_table_t* CDemoStringTables::add_tables() { - ::CDemoStringTables_table_t* _add = _internal_add_tables(); - // @@protoc_insertion_point(field_add:CDemoStringTables.tables) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CDemoStringTables_table_t >& -CDemoStringTables::tables() const { - // @@protoc_insertion_point(field_list:CDemoStringTables.tables) - return _impl_.tables_; -} - -// ------------------------------------------------------------------- - -// CDemoStop - -// ------------------------------------------------------------------- - -// CDemoUserCmd - -// optional int32 cmd_number = 1; -inline bool CDemoUserCmd::_internal_has_cmd_number() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CDemoUserCmd::has_cmd_number() const { - return _internal_has_cmd_number(); -} -inline void CDemoUserCmd::clear_cmd_number() { - _impl_.cmd_number_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CDemoUserCmd::_internal_cmd_number() const { - return _impl_.cmd_number_; -} -inline int32_t CDemoUserCmd::cmd_number() const { - // @@protoc_insertion_point(field_get:CDemoUserCmd.cmd_number) - return _internal_cmd_number(); -} -inline void CDemoUserCmd::_internal_set_cmd_number(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.cmd_number_ = value; -} -inline void CDemoUserCmd::set_cmd_number(int32_t value) { - _internal_set_cmd_number(value); - // @@protoc_insertion_point(field_set:CDemoUserCmd.cmd_number) -} - -// optional bytes data = 2; -inline bool CDemoUserCmd::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDemoUserCmd::has_data() const { - return _internal_has_data(); -} -inline void CDemoUserCmd::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CDemoUserCmd::data() const { - // @@protoc_insertion_point(field_get:CDemoUserCmd.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoUserCmd::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoUserCmd.data) -} -inline std::string* CDemoUserCmd::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CDemoUserCmd.data) - return _s; -} -inline const std::string& CDemoUserCmd::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CDemoUserCmd::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoUserCmd::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoUserCmd::release_data() { - // @@protoc_insertion_point(field_release:CDemoUserCmd.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoUserCmd::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoUserCmd.data) -} - -// ------------------------------------------------------------------- - -// CDemoSpawnGroups - -// repeated bytes msgs = 3; -inline int CDemoSpawnGroups::_internal_msgs_size() const { - return _impl_.msgs_.size(); -} -inline int CDemoSpawnGroups::msgs_size() const { - return _internal_msgs_size(); -} -inline void CDemoSpawnGroups::clear_msgs() { - _impl_.msgs_.Clear(); -} -inline std::string* CDemoSpawnGroups::add_msgs() { - std::string* _s = _internal_add_msgs(); - // @@protoc_insertion_point(field_add_mutable:CDemoSpawnGroups.msgs) - return _s; -} -inline const std::string& CDemoSpawnGroups::_internal_msgs(int index) const { - return _impl_.msgs_.Get(index); -} -inline const std::string& CDemoSpawnGroups::msgs(int index) const { - // @@protoc_insertion_point(field_get:CDemoSpawnGroups.msgs) - return _internal_msgs(index); -} -inline std::string* CDemoSpawnGroups::mutable_msgs(int index) { - // @@protoc_insertion_point(field_mutable:CDemoSpawnGroups.msgs) - return _impl_.msgs_.Mutable(index); -} -inline void CDemoSpawnGroups::set_msgs(int index, const std::string& value) { - _impl_.msgs_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CDemoSpawnGroups.msgs) -} -inline void CDemoSpawnGroups::set_msgs(int index, std::string&& value) { - _impl_.msgs_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CDemoSpawnGroups.msgs) -} -inline void CDemoSpawnGroups::set_msgs(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.msgs_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CDemoSpawnGroups.msgs) -} -inline void CDemoSpawnGroups::set_msgs(int index, const void* value, size_t size) { - _impl_.msgs_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CDemoSpawnGroups.msgs) -} -inline std::string* CDemoSpawnGroups::_internal_add_msgs() { - return _impl_.msgs_.Add(); -} -inline void CDemoSpawnGroups::add_msgs(const std::string& value) { - _impl_.msgs_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CDemoSpawnGroups.msgs) -} -inline void CDemoSpawnGroups::add_msgs(std::string&& value) { - _impl_.msgs_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CDemoSpawnGroups.msgs) -} -inline void CDemoSpawnGroups::add_msgs(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.msgs_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CDemoSpawnGroups.msgs) -} -inline void CDemoSpawnGroups::add_msgs(const void* value, size_t size) { - _impl_.msgs_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CDemoSpawnGroups.msgs) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CDemoSpawnGroups::msgs() const { - // @@protoc_insertion_point(field_list:CDemoSpawnGroups.msgs) - return _impl_.msgs_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CDemoSpawnGroups::mutable_msgs() { - // @@protoc_insertion_point(field_mutable_list:CDemoSpawnGroups.msgs) - return &_impl_.msgs_; -} - -// ------------------------------------------------------------------- - -// CDemoRecovery_DemoInitialSpawnGroupEntry - -// optional uint32 spawngrouphandle = 1; -inline bool CDemoRecovery_DemoInitialSpawnGroupEntry::_internal_has_spawngrouphandle() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDemoRecovery_DemoInitialSpawnGroupEntry::has_spawngrouphandle() const { - return _internal_has_spawngrouphandle(); -} -inline void CDemoRecovery_DemoInitialSpawnGroupEntry::clear_spawngrouphandle() { - _impl_.spawngrouphandle_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CDemoRecovery_DemoInitialSpawnGroupEntry::_internal_spawngrouphandle() const { - return _impl_.spawngrouphandle_; -} -inline uint32_t CDemoRecovery_DemoInitialSpawnGroupEntry::spawngrouphandle() const { - // @@protoc_insertion_point(field_get:CDemoRecovery.DemoInitialSpawnGroupEntry.spawngrouphandle) - return _internal_spawngrouphandle(); -} -inline void CDemoRecovery_DemoInitialSpawnGroupEntry::_internal_set_spawngrouphandle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.spawngrouphandle_ = value; -} -inline void CDemoRecovery_DemoInitialSpawnGroupEntry::set_spawngrouphandle(uint32_t value) { - _internal_set_spawngrouphandle(value); - // @@protoc_insertion_point(field_set:CDemoRecovery.DemoInitialSpawnGroupEntry.spawngrouphandle) -} - -// optional bool was_created = 2; -inline bool CDemoRecovery_DemoInitialSpawnGroupEntry::_internal_has_was_created() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CDemoRecovery_DemoInitialSpawnGroupEntry::has_was_created() const { - return _internal_has_was_created(); -} -inline void CDemoRecovery_DemoInitialSpawnGroupEntry::clear_was_created() { - _impl_.was_created_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CDemoRecovery_DemoInitialSpawnGroupEntry::_internal_was_created() const { - return _impl_.was_created_; -} -inline bool CDemoRecovery_DemoInitialSpawnGroupEntry::was_created() const { - // @@protoc_insertion_point(field_get:CDemoRecovery.DemoInitialSpawnGroupEntry.was_created) - return _internal_was_created(); -} -inline void CDemoRecovery_DemoInitialSpawnGroupEntry::_internal_set_was_created(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.was_created_ = value; -} -inline void CDemoRecovery_DemoInitialSpawnGroupEntry::set_was_created(bool value) { - _internal_set_was_created(value); - // @@protoc_insertion_point(field_set:CDemoRecovery.DemoInitialSpawnGroupEntry.was_created) -} - -// ------------------------------------------------------------------- - -// CDemoRecovery - -// optional .CDemoRecovery.DemoInitialSpawnGroupEntry initial_spawn_group = 1; -inline bool CDemoRecovery::_internal_has_initial_spawn_group() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.initial_spawn_group_ != nullptr); - return value; -} -inline bool CDemoRecovery::has_initial_spawn_group() const { - return _internal_has_initial_spawn_group(); -} -inline void CDemoRecovery::clear_initial_spawn_group() { - if (_impl_.initial_spawn_group_ != nullptr) _impl_.initial_spawn_group_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CDemoRecovery_DemoInitialSpawnGroupEntry& CDemoRecovery::_internal_initial_spawn_group() const { - const ::CDemoRecovery_DemoInitialSpawnGroupEntry* p = _impl_.initial_spawn_group_; - return p != nullptr ? *p : reinterpret_cast( - ::_CDemoRecovery_DemoInitialSpawnGroupEntry_default_instance_); -} -inline const ::CDemoRecovery_DemoInitialSpawnGroupEntry& CDemoRecovery::initial_spawn_group() const { - // @@protoc_insertion_point(field_get:CDemoRecovery.initial_spawn_group) - return _internal_initial_spawn_group(); -} -inline void CDemoRecovery::unsafe_arena_set_allocated_initial_spawn_group( - ::CDemoRecovery_DemoInitialSpawnGroupEntry* initial_spawn_group) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.initial_spawn_group_); - } - _impl_.initial_spawn_group_ = initial_spawn_group; - if (initial_spawn_group) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CDemoRecovery.initial_spawn_group) -} -inline ::CDemoRecovery_DemoInitialSpawnGroupEntry* CDemoRecovery::release_initial_spawn_group() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CDemoRecovery_DemoInitialSpawnGroupEntry* temp = _impl_.initial_spawn_group_; - _impl_.initial_spawn_group_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CDemoRecovery_DemoInitialSpawnGroupEntry* CDemoRecovery::unsafe_arena_release_initial_spawn_group() { - // @@protoc_insertion_point(field_release:CDemoRecovery.initial_spawn_group) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CDemoRecovery_DemoInitialSpawnGroupEntry* temp = _impl_.initial_spawn_group_; - _impl_.initial_spawn_group_ = nullptr; - return temp; -} -inline ::CDemoRecovery_DemoInitialSpawnGroupEntry* CDemoRecovery::_internal_mutable_initial_spawn_group() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.initial_spawn_group_ == nullptr) { - auto* p = CreateMaybeMessage<::CDemoRecovery_DemoInitialSpawnGroupEntry>(GetArenaForAllocation()); - _impl_.initial_spawn_group_ = p; - } - return _impl_.initial_spawn_group_; -} -inline ::CDemoRecovery_DemoInitialSpawnGroupEntry* CDemoRecovery::mutable_initial_spawn_group() { - ::CDemoRecovery_DemoInitialSpawnGroupEntry* _msg = _internal_mutable_initial_spawn_group(); - // @@protoc_insertion_point(field_mutable:CDemoRecovery.initial_spawn_group) - return _msg; -} -inline void CDemoRecovery::set_allocated_initial_spawn_group(::CDemoRecovery_DemoInitialSpawnGroupEntry* initial_spawn_group) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.initial_spawn_group_; - } - if (initial_spawn_group) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(initial_spawn_group); - if (message_arena != submessage_arena) { - initial_spawn_group = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, initial_spawn_group, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.initial_spawn_group_ = initial_spawn_group; - // @@protoc_insertion_point(field_set_allocated:CDemoRecovery.initial_spawn_group) -} - -// optional bytes spawn_group_message = 2; -inline bool CDemoRecovery::_internal_has_spawn_group_message() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CDemoRecovery::has_spawn_group_message() const { - return _internal_has_spawn_group_message(); -} -inline void CDemoRecovery::clear_spawn_group_message() { - _impl_.spawn_group_message_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CDemoRecovery::spawn_group_message() const { - // @@protoc_insertion_point(field_get:CDemoRecovery.spawn_group_message) - return _internal_spawn_group_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CDemoRecovery::set_spawn_group_message(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.spawn_group_message_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CDemoRecovery.spawn_group_message) -} -inline std::string* CDemoRecovery::mutable_spawn_group_message() { - std::string* _s = _internal_mutable_spawn_group_message(); - // @@protoc_insertion_point(field_mutable:CDemoRecovery.spawn_group_message) - return _s; -} -inline const std::string& CDemoRecovery::_internal_spawn_group_message() const { - return _impl_.spawn_group_message_.Get(); -} -inline void CDemoRecovery::_internal_set_spawn_group_message(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.spawn_group_message_.Set(value, GetArenaForAllocation()); -} -inline std::string* CDemoRecovery::_internal_mutable_spawn_group_message() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.spawn_group_message_.Mutable(GetArenaForAllocation()); -} -inline std::string* CDemoRecovery::release_spawn_group_message() { - // @@protoc_insertion_point(field_release:CDemoRecovery.spawn_group_message) - if (!_internal_has_spawn_group_message()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.spawn_group_message_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.spawn_group_message_.IsDefault()) { - _impl_.spawn_group_message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CDemoRecovery::set_allocated_spawn_group_message(std::string* spawn_group_message) { - if (spawn_group_message != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.spawn_group_message_.SetAllocated(spawn_group_message, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.spawn_group_message_.IsDefault()) { - _impl_.spawn_group_message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CDemoRecovery.spawn_group_message) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::EDemoCommands> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EDemoCommands>() { - return ::EDemoCommands_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_demo_2eproto diff --git a/protobuf/generated/econ_gcmessages.pb.cc b/protobuf/generated/econ_gcmessages.pb.cc deleted file mode 100644 index 8fb41e6be..000000000 --- a/protobuf/generated/econ_gcmessages.pb.cc +++ /dev/null @@ -1,2044 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: econ_gcmessages.proto - -#include "econ_gcmessages.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CMsgGCGiftedItems::CMsgGCGiftedItems( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.recipients_accountids_)*/{} - , /*decltype(_impl_.accountid_)*/0u - , /*decltype(_impl_.giftdefindex_)*/0u - , /*decltype(_impl_.max_gifts_possible_)*/0u - , /*decltype(_impl_.num_eligible_recipients_)*/0u} {} -struct CMsgGCGiftedItemsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCGiftedItemsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCGiftedItemsDefaultTypeInternal() {} - union { - CMsgGCGiftedItems _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCGiftedItemsDefaultTypeInternal _CMsgGCGiftedItems_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCDev_SchemaReservationRequest::CMsgGCDev_SchemaReservationRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.schema_typename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.instance_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.context_)*/uint64_t{0u} - , /*decltype(_impl_.id_)*/uint64_t{0u}} {} -struct CMsgGCDev_SchemaReservationRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCDev_SchemaReservationRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCDev_SchemaReservationRequestDefaultTypeInternal() {} - union { - CMsgGCDev_SchemaReservationRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCDev_SchemaReservationRequestDefaultTypeInternal _CMsgGCDev_SchemaReservationRequest_default_instance_; -PROTOBUF_CONSTEXPR CMsgCasketItem::CMsgCasketItem( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.casket_item_id_)*/uint64_t{0u} - , /*decltype(_impl_.item_item_id_)*/uint64_t{0u}} {} -struct CMsgCasketItemDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgCasketItemDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgCasketItemDefaultTypeInternal() {} - union { - CMsgCasketItem _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgCasketItemDefaultTypeInternal _CMsgCasketItem_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCUserTrackTimePlayedConsecutively::CMsgGCUserTrackTimePlayedConsecutively( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.state_)*/0u} {} -struct CMsgGCUserTrackTimePlayedConsecutivelyDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCUserTrackTimePlayedConsecutivelyDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCUserTrackTimePlayedConsecutivelyDefaultTypeInternal() {} - union { - CMsgGCUserTrackTimePlayedConsecutively _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCUserTrackTimePlayedConsecutivelyDefaultTypeInternal _CMsgGCUserTrackTimePlayedConsecutively_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCItemCustomizationNotification::CMsgGCItemCustomizationNotification( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.item_id_)*/{} - , /*decltype(_impl_.extra_data_)*/{} - , /*decltype(_impl_.request_)*/0u} {} -struct CMsgGCItemCustomizationNotificationDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCItemCustomizationNotificationDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCItemCustomizationNotificationDefaultTypeInternal() {} - union { - CMsgGCItemCustomizationNotification _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCItemCustomizationNotificationDefaultTypeInternal _CMsgGCItemCustomizationNotification_default_instance_; -static ::_pb::Metadata file_level_metadata_econ_5fgcmessages_2eproto[5]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_econ_5fgcmessages_2eproto[4]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_econ_5fgcmessages_2eproto = nullptr; - -const uint32_t TableStruct_econ_5fgcmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CMsgGCGiftedItems, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCGiftedItems, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCGiftedItems, _impl_.accountid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCGiftedItems, _impl_.giftdefindex_), - PROTOBUF_FIELD_OFFSET(::CMsgGCGiftedItems, _impl_.max_gifts_possible_), - PROTOBUF_FIELD_OFFSET(::CMsgGCGiftedItems, _impl_.num_eligible_recipients_), - PROTOBUF_FIELD_OFFSET(::CMsgGCGiftedItems, _impl_.recipients_accountids_), - 0, - 1, - 2, - 3, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgGCDev_SchemaReservationRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCDev_SchemaReservationRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCDev_SchemaReservationRequest, _impl_.schema_typename_), - PROTOBUF_FIELD_OFFSET(::CMsgGCDev_SchemaReservationRequest, _impl_.instance_name_), - PROTOBUF_FIELD_OFFSET(::CMsgGCDev_SchemaReservationRequest, _impl_.context_), - PROTOBUF_FIELD_OFFSET(::CMsgGCDev_SchemaReservationRequest, _impl_.id_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgCasketItem, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgCasketItem, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgCasketItem, _impl_.casket_item_id_), - PROTOBUF_FIELD_OFFSET(::CMsgCasketItem, _impl_.item_item_id_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgGCUserTrackTimePlayedConsecutively, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCUserTrackTimePlayedConsecutively, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCUserTrackTimePlayedConsecutively, _impl_.state_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCItemCustomizationNotification, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCItemCustomizationNotification, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCItemCustomizationNotification, _impl_.item_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCItemCustomizationNotification, _impl_.request_), - PROTOBUF_FIELD_OFFSET(::CMsgGCItemCustomizationNotification, _impl_.extra_data_), - ~0u, - 0, - ~0u, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 11, -1, sizeof(::CMsgGCGiftedItems)}, - { 16, 26, -1, sizeof(::CMsgGCDev_SchemaReservationRequest)}, - { 30, 38, -1, sizeof(::CMsgCasketItem)}, - { 40, 47, -1, sizeof(::CMsgGCUserTrackTimePlayedConsecutively)}, - { 48, 57, -1, sizeof(::CMsgGCItemCustomizationNotification)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CMsgGCGiftedItems_default_instance_._instance, - &::_CMsgGCDev_SchemaReservationRequest_default_instance_._instance, - &::_CMsgCasketItem_default_instance_._instance, - &::_CMsgGCUserTrackTimePlayedConsecutively_default_instance_._instance, - &::_CMsgGCItemCustomizationNotification_default_instance_._instance, -}; - -const char descriptor_table_protodef_econ_5fgcmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\025econ_gcmessages.proto\032\023steammessages.p" - "roto\"\230\001\n\021CMsgGCGiftedItems\022\021\n\taccountid\030" - "\001 \001(\r\022\024\n\014giftdefindex\030\002 \001(\r\022\032\n\022max_gifts" - "_possible\030\003 \001(\r\022\037\n\027num_eligible_recipien" - "ts\030\004 \001(\r\022\035\n\025recipients_accountids\030\005 \003(\r\"" - "q\n\"CMsgGCDev_SchemaReservationRequest\022\027\n" - "\017schema_typename\030\001 \001(\t\022\025\n\rinstance_name\030" - "\002 \001(\t\022\017\n\007context\030\003 \001(\004\022\n\n\002id\030\004 \001(\004\">\n\016CM" - "sgCasketItem\022\026\n\016casket_item_id\030\001 \001(\004\022\024\n\014" - "item_item_id\030\002 \001(\004\"7\n&CMsgGCUserTrackTim" - "ePlayedConsecutively\022\r\n\005state\030\001 \001(\r\"[\n#C" - "MsgGCItemCustomizationNotification\022\017\n\007it" - "em_id\030\001 \003(\004\022\017\n\007request\030\002 \001(\r\022\022\n\nextra_da" - "ta\030\003 \003(\004*\203)\n\nEGCItemMsg\022\021\n\014k_EMsgGCBase\020" - "\350\007\022\034\n\027k_EMsgGCSetItemPosition\020\351\007\022\022\n\rk_EM" - "sgGCCraft\020\352\007\022\032\n\025k_EMsgGCCraftResponse\020\353\007" - "\022\023\n\016k_EMsgGCDelete\020\354\007\022$\n\037k_EMsgGCVerifyC" - "acheSubscription\020\355\007\022\025\n\020k_EMsgGCNameItem\020" - "\356\007\022#\n\036k_EMsgGCUnlockCrate_DEPRECATED\020\357\007\022" - " \n\033k_EMsgGCUnlockCrateResponse\020\360\007\022\026\n\021k_E" - "MsgGCPaintItem\020\361\007\022\036\n\031k_EMsgGCPaintItemRe" - "sponse\020\362\007\022\"\n\035k_EMsgGCGoldenWrenchBroadca" - "st\020\363\007\022\030\n\023k_EMsgGCMOTDRequest\020\364\007\022 \n\033k_EMs" - "gGCMOTDRequestResponse\020\365\007\022\'\n\"k_EMsgGCAdd" - "ItemToSocket_DEPRECATED\020\366\007\022/\n*k_EMsgGCAd" - "dItemToSocketResponse_DEPRECATED\020\367\007\022+\n&k" - "_EMsgGCAddSocketToBaseItem_DEPRECATED\020\370\007" - "\022\'\n\"k_EMsgGCAddSocketToItem_DEPRECATED\020\371" - "\007\022/\n*k_EMsgGCAddSocketToItemResponse_DEP" - "RECATED\020\372\007\022\031\n\024k_EMsgGCNameBaseItem\020\373\007\022!\n" - "\034k_EMsgGCNameBaseItemResponse\020\374\007\022(\n#k_EM" - "sgGCRemoveSocketItem_DEPRECATED\020\375\007\0220\n+k_" - "EMsgGCRemoveSocketItemResponse_DEPRECATE" - "D\020\376\007\022!\n\034k_EMsgGCCustomizeItemTexture\020\377\007\022" - ")\n$k_EMsgGCCustomizeItemTextureResponse\020" - "\200\010\022\033\n\026k_EMsgGCUseItemRequest\020\201\010\022\034\n\027k_EMs" - "gGCUseItemResponse\020\202\010\022#\n\036k_EMsgGCGiftedI" - "tems_DEPRECATED\020\203\010\022\033\n\026k_EMsgGCRemoveItem" - "Name\020\206\010\022\034\n\027k_EMsgGCRemoveItemPaint\020\207\010\022\031\n" - "\024k_EMsgGCGiftWrapItem\020\210\010\022!\n\034k_EMsgGCGift" - "WrapItemResponse\020\211\010\022\030\n\023k_EMsgGCDeliverGi" - "ft\020\212\010\022%\n k_EMsgGCDeliverGiftResponseGive" - "r\020\213\010\022(\n#k_EMsgGCDeliverGiftResponseRecei" - "ver\020\214\010\022\036\n\031k_EMsgGCUnwrapGiftRequest\020\215\010\022\037" - "\n\032k_EMsgGCUnwrapGiftResponse\020\216\010\022\031\n\024k_EMs" - "gGCSetItemStyle\020\217\010\022\036\n\031k_EMsgGCUsedClaimC" - "odeItem\020\220\010\022\026\n\021k_EMsgGCSortItems\020\221\010\022*\n%k_" - "EMsgGC_RevolvingLootList_DEPRECATED\020\222\010\022\032" - "\n\025k_EMsgGCLookupAccount\020\223\010\022\"\n\035k_EMsgGCLo" - "okupAccountResponse\020\224\010\022\036\n\031k_EMsgGCLookup" - "AccountName\020\225\010\022&\n!k_EMsgGCLookupAccountN" - "ameResponse\020\226\010\022\035\n\030k_EMsgGCUpdateItemSche" - "ma\020\231\010\022 \n\033k_EMsgGCRemoveCustomTexture\020\233\010\022" - "(\n#k_EMsgGCRemoveCustomTextureResponse\020\234" - "\010\022\035\n\030k_EMsgGCRemoveMakersMark\020\235\010\022%\n k_EM" - "sgGCRemoveMakersMarkResponse\020\236\010\022#\n\036k_EMs" - "gGCRemoveUniqueCraftIndex\020\237\010\022+\n&k_EMsgGC" - "RemoveUniqueCraftIndexResponse\020\240\010\022\033\n\026k_E" - "MsgGCSaxxyBroadcast\020\241\010\022!\n\034k_EMsgGCBackpa" - "ckSortFinished\020\242\010\022\030\n\023k_EMsgGCCollectItem" - "\020\245\010\022)\n$k_EMsgGCItemAcknowledged__DEPRECA" - "TED\020\246\010\022\031\n\024k_EMsgGC_ReportAbuse\020\251\010\022!\n\034k_E" - "MsgGC_ReportAbuseResponse\020\252\010\022!\n\034k_EMsgGC" - "NameItemNotification\020\254\010\022#\n\036k_EMsgGCApply" - "ConsumableEffects\020\255\010\022 \n\033k_EMsgGCConsumab" - "leExhausted\020\256\010\022\036\n\031k_EMsgGCShowItemsPicke" - "dUp\020\257\010\022&\n!k_EMsgGCClientDisplayNotificat" - "ion\020\260\010\022\035\n\030k_EMsgGCApplyStrangePart\020\261\010\022)\n" - "$k_EMsgGC_IncrementKillCountAttribute\020\262\010" - "\022(\n#k_EMsgGC_IncrementKillCountResponse\020" - "\263\010\022 \n\033k_EMsgGCApplyPennantUpgrade\020\264\010\022\035\n\030" - "k_EMsgGCSetItemPositions\020\265\010\022\034\n\027k_EMsgGCA" - "pplyEggEssence\020\266\010\022#\n\036k_EMsgGCNameEggEsse" - "nceResponse\020\267\010\022\031\n\024k_EMsgGCPaintKitItem\020\270" - "\010\022\035\n\030k_EMsgGCPaintKitBaseItem\020\271\010\022!\n\034k_EM" - "sgGCPaintKitItemResponse\020\272\010\022\030\n\023k_EMsgGCG" - "iftedItems\020\273\010\022\034\n\027k_EMsgGCUnlockItemStyle" - "\020\274\010\022$\n\037k_EMsgGCUnlockItemStyleResponse\020\275" - "\010\022\031\n\024k_EMsgGCApplySticker\020\276\010\022\035\n\030k_EMsgGC" - "ItemAcknowledged\020\277\010\022\031\n\024k_EMsgGCStatTrakS" - "wap\020\300\010\022-\n(k_EMsgGCUserTrackTimePlayedCon" - "secutively\020\301\010\022*\n%k_EMsgGCItemCustomizati" - "onNotification\020\302\010\022 \n\033k_EMsgGCModifyItemA" - "ttribute\020\303\010\022\032\n\025k_EMsgGCCasketItemAdd\020\304\010\022" - "\036\n\031k_EMsgGCCasketItemExtract\020\305\010\022#\n\036k_EMs" - "gGCCasketItemLoadContents\020\306\010\022\030\n\023k_EMsgGC" - "TradingBase\020\334\013\022)\n$k_EMsgGCTrading_Initia" - "teTradeRequest\020\335\013\022*\n%k_EMsgGCTrading_Ini" - "tiateTradeResponse\020\336\013\022!\n\034k_EMsgGCTrading" - "_StartSession\020\337\013\022\034\n\027k_EMsgGCTrading_SetI" - "tem\020\340\013\022\037\n\032k_EMsgGCTrading_RemoveItem\020\341\013\022" - "$\n\037k_EMsgGCTrading_UpdateTradeInfo\020\342\013\022!\n" - "\034k_EMsgGCTrading_SetReadiness\020\343\013\022&\n!k_EM" - "sgGCTrading_ReadinessResponse\020\344\013\022\"\n\035k_EM" - "sgGCTrading_SessionClosed\020\345\013\022\"\n\035k_EMsgGC" - "Trading_CancelSession\020\346\013\022!\n\034k_EMsgGCTrad" - "ing_TradeChatMsg\020\347\013\022!\n\034k_EMsgGCTrading_C" - "onfirmOffer\020\350\013\022\'\n\"k_EMsgGCTrading_TradeT" - "ypingChatMsg\020\351\013\022)\n$k_EMsgGCServerBrowser" - "_FavoriteServer\020\301\014\022*\n%k_EMsgGCServerBrow" - "ser_BlacklistServer\020\302\014\022\036\n\031k_EMsgGCServer" - "RentalsBase\020\244\r\022#\n\036k_EMsgGCItemPreviewChe" - "ckStatus\020\245\r\022&\n!k_EMsgGCItemPreviewStatus" - "Response\020\246\r\022\037\n\032k_EMsgGCItemPreviewReques" - "t\020\247\r\022\'\n\"k_EMsgGCItemPreviewRequestRespon" - "se\020\250\r\022\036\n\031k_EMsgGCItemPreviewExpire\020\251\r\022*\n" - "%k_EMsgGCItemPreviewExpireNotification\020\252" - "\r\022.\n)k_EMsgGCItemPreviewItemBoughtNotifi" - "cation\020\253\r\022\037\n\032k_EMsgGCDev_NewItemRequest\020" - "\321\017\022\'\n\"k_EMsgGCDev_NewItemRequestResponse" - "\020\322\017\022!\n\034k_EMsgGCDev_PaintKitDropItem\020\323\017\022)" - "\n$k_EMsgGCDev_SchemaReservationRequest\020\324" - "\017\022\035\n\030k_EMsgGCStoreGetUserData\020\304\023\022%\n k_EM" - "sgGCStoreGetUserDataResponse\020\305\023\022)\n$k_EMs" - "gGCStorePurchaseInit_DEPRECATED\020\306\023\0221\n,k_" - "EMsgGCStorePurchaseInitResponse_DEPRECAT" - "ED\020\307\023\022\"\n\035k_EMsgGCStorePurchaseFinalize\020\310" - "\023\022*\n%k_EMsgGCStorePurchaseFinalizeRespon" - "se\020\311\023\022 \n\033k_EMsgGCStorePurchaseCancel\020\312\023\022" - "(\n#k_EMsgGCStorePurchaseCancelResponse\020\313" - "\023\022\"\n\035k_EMsgGCStorePurchaseQueryTxn\020\314\023\022*\n" - "%k_EMsgGCStorePurchaseQueryTxnResponse\020\315" - "\023\022\036\n\031k_EMsgGCStorePurchaseInit\020\316\023\022&\n!k_E" - "MsgGCStorePurchaseInitResponse\020\317\023\022\"\n\035k_E" - "MsgGCBannedWordListRequest\020\320\023\022#\n\036k_EMsgG" - "CBannedWordListResponse\020\321\023\022(\n#k_EMsgGCTo" - "GCBannedWordListBroadcast\020\322\023\022&\n!k_EMsgGC" - "ToGCBannedWordListUpdated\020\323\023\022\036\n\031k_EMsgGC" - "ToGCDirtySDOCache\020\324\023\022&\n!k_EMsgGCToGCDirt" - "yMultipleSDOCache\020\325\023\022\"\n\035k_EMsgGCToGCUpda" - "teSQLKeyValue\020\326\023\022 \n\033k_EMsgGCToGCIsTruste" - "dServer\020\327\023\022(\n#k_EMsgGCToGCIsTrustedServe" - "rResponse\020\330\023\022(\n#k_EMsgGCToGCBroadcastCon" - "soleCommand\020\331\023\022!\n\034k_EMsgGCServerVersionU" - "pdated\020\332\023\022%\n k_EMsgGCToGCWebAPIAccountCh" - "anged\020\334\023\022!\n\034k_EMsgGCRequestAnnouncements" - "\020\335\023\022)\n$k_EMsgGCRequestAnnouncementsRespo" - "nse\020\336\023\022%\n k_EMsgGCRequestPassportItemGra" - "nt\020\337\023\022!\n\034k_EMsgGCClientVersionUpdated\020\340\023" - "\022(\n#k_EMsgGCRecurringSubscriptionStatus\020" - "\342\023\022#\n\036k_EMsgGCAdjustEquipSlotsManual\020\343\023\022" - "$\n\037k_EMsgGCAdjustEquipSlotsShuffle\020\344\023\022\026\n" - "\021k_EMsgGCOpenCrate\020\346\023\022(\n#k_EMsgGCAcknowl" - "edgeRentalExpiration\020\347\023\022%\n k_EMsgGCVolat" - "ileItemLoadContents\020\350\023*\325\002\n\016EGCMsgRespons" - "e\022\026\n\022k_EGCMsgResponseOK\020\000\022\032\n\026k_EGCMsgRes" - "ponseDenied\020\001\022\037\n\033k_EGCMsgResponseServerE" - "rror\020\002\022\033\n\027k_EGCMsgResponseTimeout\020\003\022\033\n\027k" - "_EGCMsgResponseInvalid\020\004\022\033\n\027k_EGCMsgResp" - "onseNoMatch\020\005\022 \n\034k_EGCMsgResponseUnknown" - "Error\020\006\022\037\n\033k_EGCMsgResponseNotLoggedOn\020\007" - "\022\032\n\026k_EGCMsgFailedToCreate\020\010\022\031\n\025k_EGCMsg" - "LimitExceeded\020\t\022\035\n\031k_EGCMsgCommitUnfinal" - "ized\020\n*\351\001\n\014EUnlockStyle\022\033\n\027k_UnlockStyle" - "_Succeeded\020\000\022\037\n\033k_UnlockStyle_Failed_Pre" - "Req\020\001\022#\n\037k_UnlockStyle_Failed_CantAfford" - "\020\002\022#\n\037k_UnlockStyle_Failed_CantCommit\020\003\022" - "&\n\"k_UnlockStyle_Failed_CantLockCache\020\004\022" - ")\n%k_UnlockStyle_Failed_CantAffordAttrib" - "\020\005*\323\013\n EGCItemCustomizationNotification\022" - "0\n+k_EGCItemCustomizationNotification_Na" - "meItem\020\356\007\0223\n.k_EGCItemCustomizationNotif" - "ication_UnlockCrate\020\357\007\0226\n1k_EGCItemCusto" - "mizationNotification_XRayItemReveal\020\360\007\0225" - "\n0k_EGCItemCustomizationNotification_XRa" - "yItemClaim\020\361\007\0225\n0k_EGCItemCustomizationN" - "otification_CasketTooFull\020\363\007\0226\n1k_EGCIte" - "mCustomizationNotification_CasketContent" - "s\020\364\007\0223\n.k_EGCItemCustomizationNotificati" - "on_CasketAdded\020\365\007\0225\n0k_EGCItemCustomizat" - "ionNotification_CasketRemoved\020\366\007\0225\n0k_EG" - "CItemCustomizationNotification_CasketInv" - "Full\020\367\007\0224\n/k_EGCItemCustomizationNotific" - "ation_NameBaseItem\020\373\007\0226\n1k_EGCItemCustom" - "izationNotification_RemoveItemName\020\206\010\0225\n" - "0k_EGCItemCustomizationNotification_Remo" - "veSticker\020\235\010\0224\n/k_EGCItemCustomizationNo" - "tification_ApplySticker\020\276\010\0224\n/k_EGCItemC" - "ustomizationNotification_StatTrakSwap\020\300\010" - "\0223\n.k_EGCItemCustomizationNotification_R" - "emovePatch\020\301\010\0222\n-k_EGCItemCustomizationN" - "otification_ApplyPatch\020\302\010\0225\n0k_EGCItemCu" - "stomizationNotification_ApplyKeychain\020\303\010" - "\0226\n1k_EGCItemCustomizationNotification_R" - "emoveKeychain\020\304\010\0228\n3k_EGCItemCustomizati" - "onNotification_ActivateFanToken\020\332G\022=\n8k_" - "EGCItemCustomizationNotification_Activat" - "eOperationCoin\020\333G\0226\n1k_EGCItemCustomizat" - "ionNotification_GraffitiUnseal\020\341G\0228\n3k_E" - "GCItemCustomizationNotification_Generate" - "Souvenir\020\364G\022A\n" - "\n9k_EGCItemCustomizationNotification_Cli" - "entRedeemFreeReward\020\203H\0227\n2k_EGCItemCusto" - "mizationNotification_XpShopUseTicket\020\205H\022" - "7\n2k_EGCItemCustomizationNotification_Xp" - "ShopAckTracks\020\206H" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_econ_5fgcmessages_2eproto_deps[1] = { - &::descriptor_table_steammessages_2eproto, -}; -static ::_pbi::once_flag descriptor_table_econ_5fgcmessages_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_econ_5fgcmessages_2eproto = { - false, false, 7856, descriptor_table_protodef_econ_5fgcmessages_2eproto, - "econ_gcmessages.proto", - &descriptor_table_econ_5fgcmessages_2eproto_once, descriptor_table_econ_5fgcmessages_2eproto_deps, 1, 5, - schemas, file_default_instances, TableStruct_econ_5fgcmessages_2eproto::offsets, - file_level_metadata_econ_5fgcmessages_2eproto, file_level_enum_descriptors_econ_5fgcmessages_2eproto, - file_level_service_descriptors_econ_5fgcmessages_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_econ_5fgcmessages_2eproto_getter() { - return &descriptor_table_econ_5fgcmessages_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_econ_5fgcmessages_2eproto(&descriptor_table_econ_5fgcmessages_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCItemMsg_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_econ_5fgcmessages_2eproto); - return file_level_enum_descriptors_econ_5fgcmessages_2eproto[0]; -} -bool EGCItemMsg_IsValid(int value) { - switch (value) { - case 1000: - case 1001: - case 1002: - case 1003: - case 1004: - case 1005: - case 1006: - case 1007: - case 1008: - case 1009: - case 1010: - case 1011: - case 1012: - case 1013: - case 1014: - case 1015: - case 1016: - case 1017: - case 1018: - case 1019: - case 1020: - case 1021: - case 1022: - case 1023: - case 1024: - case 1025: - case 1026: - case 1027: - case 1030: - case 1031: - case 1032: - case 1033: - case 1034: - case 1035: - case 1036: - case 1037: - case 1038: - case 1039: - case 1040: - case 1041: - case 1042: - case 1043: - case 1044: - case 1045: - case 1046: - case 1049: - case 1051: - case 1052: - case 1053: - case 1054: - case 1055: - case 1056: - case 1057: - case 1058: - case 1061: - case 1062: - case 1065: - case 1066: - case 1068: - case 1069: - case 1070: - case 1071: - case 1072: - case 1073: - case 1074: - case 1075: - case 1076: - case 1077: - case 1078: - case 1079: - case 1080: - case 1081: - case 1082: - case 1083: - case 1084: - case 1085: - case 1086: - case 1087: - case 1088: - case 1089: - case 1090: - case 1091: - case 1092: - case 1093: - case 1094: - case 1500: - case 1501: - case 1502: - case 1503: - case 1504: - case 1505: - case 1506: - case 1507: - case 1508: - case 1509: - case 1510: - case 1511: - case 1512: - case 1513: - case 1601: - case 1602: - case 1700: - case 1701: - case 1702: - case 1703: - case 1704: - case 1705: - case 1706: - case 1707: - case 2001: - case 2002: - case 2003: - case 2004: - case 2500: - case 2501: - case 2502: - case 2503: - case 2504: - case 2505: - case 2506: - case 2507: - case 2508: - case 2509: - case 2510: - case 2511: - case 2512: - case 2513: - case 2514: - case 2515: - case 2516: - case 2517: - case 2518: - case 2519: - case 2520: - case 2521: - case 2522: - case 2524: - case 2525: - case 2526: - case 2527: - case 2528: - case 2530: - case 2531: - case 2532: - case 2534: - case 2535: - case 2536: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCMsgResponse_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_econ_5fgcmessages_2eproto); - return file_level_enum_descriptors_econ_5fgcmessages_2eproto[1]; -} -bool EGCMsgResponse_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EUnlockStyle_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_econ_5fgcmessages_2eproto); - return file_level_enum_descriptors_econ_5fgcmessages_2eproto[2]; -} -bool EUnlockStyle_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCItemCustomizationNotification_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_econ_5fgcmessages_2eproto); - return file_level_enum_descriptors_econ_5fgcmessages_2eproto[3]; -} -bool EGCItemCustomizationNotification_IsValid(int value) { - switch (value) { - case 1006: - case 1007: - case 1008: - case 1009: - case 1011: - case 1012: - case 1013: - case 1014: - case 1015: - case 1019: - case 1030: - case 1053: - case 1086: - case 1088: - case 1089: - case 1090: - case 1091: - case 1092: - case 9178: - case 9179: - case 9185: - case 9204: - case 9209: - case 9219: - case 9221: - case 9222: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CMsgGCGiftedItems::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_giftdefindex(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_max_gifts_possible(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_num_eligible_recipients(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgGCGiftedItems::CMsgGCGiftedItems(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCGiftedItems) -} -CMsgGCGiftedItems::CMsgGCGiftedItems(const CMsgGCGiftedItems& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCGiftedItems* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.recipients_accountids_){from._impl_.recipients_accountids_} - , decltype(_impl_.accountid_){} - , decltype(_impl_.giftdefindex_){} - , decltype(_impl_.max_gifts_possible_){} - , decltype(_impl_.num_eligible_recipients_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.accountid_, &from._impl_.accountid_, - static_cast(reinterpret_cast(&_impl_.num_eligible_recipients_) - - reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.num_eligible_recipients_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCGiftedItems) -} - -inline void CMsgGCGiftedItems::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.recipients_accountids_){arena} - , decltype(_impl_.accountid_){0u} - , decltype(_impl_.giftdefindex_){0u} - , decltype(_impl_.max_gifts_possible_){0u} - , decltype(_impl_.num_eligible_recipients_){0u} - }; -} - -CMsgGCGiftedItems::~CMsgGCGiftedItems() { - // @@protoc_insertion_point(destructor:CMsgGCGiftedItems) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCGiftedItems::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.recipients_accountids_.~RepeatedField(); -} - -void CMsgGCGiftedItems::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCGiftedItems::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCGiftedItems) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.recipients_accountids_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.accountid_, 0, static_cast( - reinterpret_cast(&_impl_.num_eligible_recipients_) - - reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.num_eligible_recipients_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCGiftedItems::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 accountid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 giftdefindex = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_giftdefindex(&has_bits); - _impl_.giftdefindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 max_gifts_possible = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_max_gifts_possible(&has_bits); - _impl_.max_gifts_possible_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 num_eligible_recipients = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_num_eligible_recipients(&has_bits); - _impl_.num_eligible_recipients_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 recipients_accountids = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_recipients_accountids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<40>(ptr)); - } else if (static_cast(tag) == 42) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_recipients_accountids(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCGiftedItems::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCGiftedItems) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_accountid(), target); - } - - // optional uint32 giftdefindex = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_giftdefindex(), target); - } - - // optional uint32 max_gifts_possible = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_max_gifts_possible(), target); - } - - // optional uint32 num_eligible_recipients = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_num_eligible_recipients(), target); - } - - // repeated uint32 recipients_accountids = 5; - for (int i = 0, n = this->_internal_recipients_accountids_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_recipients_accountids(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCGiftedItems) - return target; -} - -size_t CMsgGCGiftedItems::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCGiftedItems) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 recipients_accountids = 5; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.recipients_accountids_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_recipients_accountids_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 accountid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_accountid()); - } - - // optional uint32 giftdefindex = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_giftdefindex()); - } - - // optional uint32 max_gifts_possible = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_max_gifts_possible()); - } - - // optional uint32 num_eligible_recipients = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_eligible_recipients()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCGiftedItems::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCGiftedItems::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCGiftedItems::GetClassData() const { return &_class_data_; } - - -void CMsgGCGiftedItems::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCGiftedItems) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.recipients_accountids_.MergeFrom(from._impl_.recipients_accountids_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.accountid_ = from._impl_.accountid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.giftdefindex_ = from._impl_.giftdefindex_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.max_gifts_possible_ = from._impl_.max_gifts_possible_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.num_eligible_recipients_ = from._impl_.num_eligible_recipients_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCGiftedItems::CopyFrom(const CMsgGCGiftedItems& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCGiftedItems) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCGiftedItems::IsInitialized() const { - return true; -} - -void CMsgGCGiftedItems::InternalSwap(CMsgGCGiftedItems* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.recipients_accountids_.InternalSwap(&other->_impl_.recipients_accountids_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCGiftedItems, _impl_.num_eligible_recipients_) - + sizeof(CMsgGCGiftedItems::_impl_.num_eligible_recipients_) - - PROTOBUF_FIELD_OFFSET(CMsgGCGiftedItems, _impl_.accountid_)>( - reinterpret_cast(&_impl_.accountid_), - reinterpret_cast(&other->_impl_.accountid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCGiftedItems::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_econ_5fgcmessages_2eproto_getter, &descriptor_table_econ_5fgcmessages_2eproto_once, - file_level_metadata_econ_5fgcmessages_2eproto[0]); -} - -// =================================================================== - -class CMsgGCDev_SchemaReservationRequest::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_schema_typename(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_instance_name(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_context(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgGCDev_SchemaReservationRequest::CMsgGCDev_SchemaReservationRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCDev_SchemaReservationRequest) -} -CMsgGCDev_SchemaReservationRequest::CMsgGCDev_SchemaReservationRequest(const CMsgGCDev_SchemaReservationRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCDev_SchemaReservationRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.schema_typename_){} - , decltype(_impl_.instance_name_){} - , decltype(_impl_.context_){} - , decltype(_impl_.id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.schema_typename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.schema_typename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_schema_typename()) { - _this->_impl_.schema_typename_.Set(from._internal_schema_typename(), - _this->GetArenaForAllocation()); - } - _impl_.instance_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.instance_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_instance_name()) { - _this->_impl_.instance_name_.Set(from._internal_instance_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.context_, &from._impl_.context_, - static_cast(reinterpret_cast(&_impl_.id_) - - reinterpret_cast(&_impl_.context_)) + sizeof(_impl_.id_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCDev_SchemaReservationRequest) -} - -inline void CMsgGCDev_SchemaReservationRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.schema_typename_){} - , decltype(_impl_.instance_name_){} - , decltype(_impl_.context_){uint64_t{0u}} - , decltype(_impl_.id_){uint64_t{0u}} - }; - _impl_.schema_typename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.schema_typename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.instance_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.instance_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCDev_SchemaReservationRequest::~CMsgGCDev_SchemaReservationRequest() { - // @@protoc_insertion_point(destructor:CMsgGCDev_SchemaReservationRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCDev_SchemaReservationRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.schema_typename_.Destroy(); - _impl_.instance_name_.Destroy(); -} - -void CMsgGCDev_SchemaReservationRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCDev_SchemaReservationRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCDev_SchemaReservationRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.schema_typename_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.instance_name_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000000cu) { - ::memset(&_impl_.context_, 0, static_cast( - reinterpret_cast(&_impl_.id_) - - reinterpret_cast(&_impl_.context_)) + sizeof(_impl_.id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCDev_SchemaReservationRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string schema_typename = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_schema_typename(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCDev_SchemaReservationRequest.schema_typename"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string instance_name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_instance_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgGCDev_SchemaReservationRequest.instance_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint64 context = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_context(&has_bits); - _impl_.context_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 id = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_id(&has_bits); - _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCDev_SchemaReservationRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCDev_SchemaReservationRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string schema_typename = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_schema_typename().data(), static_cast(this->_internal_schema_typename().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCDev_SchemaReservationRequest.schema_typename"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_schema_typename(), target); - } - - // optional string instance_name = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_instance_name().data(), static_cast(this->_internal_instance_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgGCDev_SchemaReservationRequest.instance_name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_instance_name(), target); - } - - // optional uint64 context = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_context(), target); - } - - // optional uint64 id = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCDev_SchemaReservationRequest) - return target; -} - -size_t CMsgGCDev_SchemaReservationRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCDev_SchemaReservationRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string schema_typename = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_schema_typename()); - } - - // optional string instance_name = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_instance_name()); - } - - // optional uint64 context = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_context()); - } - - // optional uint64 id = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCDev_SchemaReservationRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCDev_SchemaReservationRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCDev_SchemaReservationRequest::GetClassData() const { return &_class_data_; } - - -void CMsgGCDev_SchemaReservationRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCDev_SchemaReservationRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_schema_typename(from._internal_schema_typename()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_instance_name(from._internal_instance_name()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.context_ = from._impl_.context_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.id_ = from._impl_.id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCDev_SchemaReservationRequest::CopyFrom(const CMsgGCDev_SchemaReservationRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCDev_SchemaReservationRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCDev_SchemaReservationRequest::IsInitialized() const { - return true; -} - -void CMsgGCDev_SchemaReservationRequest::InternalSwap(CMsgGCDev_SchemaReservationRequest* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.schema_typename_, lhs_arena, - &other->_impl_.schema_typename_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.instance_name_, lhs_arena, - &other->_impl_.instance_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCDev_SchemaReservationRequest, _impl_.id_) - + sizeof(CMsgGCDev_SchemaReservationRequest::_impl_.id_) - - PROTOBUF_FIELD_OFFSET(CMsgGCDev_SchemaReservationRequest, _impl_.context_)>( - reinterpret_cast(&_impl_.context_), - reinterpret_cast(&other->_impl_.context_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCDev_SchemaReservationRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_econ_5fgcmessages_2eproto_getter, &descriptor_table_econ_5fgcmessages_2eproto_once, - file_level_metadata_econ_5fgcmessages_2eproto[1]); -} - -// =================================================================== - -class CMsgCasketItem::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_casket_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_item_item_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgCasketItem::CMsgCasketItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgCasketItem) -} -CMsgCasketItem::CMsgCasketItem(const CMsgCasketItem& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgCasketItem* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.casket_item_id_){} - , decltype(_impl_.item_item_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.casket_item_id_, &from._impl_.casket_item_id_, - static_cast(reinterpret_cast(&_impl_.item_item_id_) - - reinterpret_cast(&_impl_.casket_item_id_)) + sizeof(_impl_.item_item_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgCasketItem) -} - -inline void CMsgCasketItem::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.casket_item_id_){uint64_t{0u}} - , decltype(_impl_.item_item_id_){uint64_t{0u}} - }; -} - -CMsgCasketItem::~CMsgCasketItem() { - // @@protoc_insertion_point(destructor:CMsgCasketItem) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgCasketItem::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgCasketItem::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgCasketItem::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgCasketItem) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.casket_item_id_, 0, static_cast( - reinterpret_cast(&_impl_.item_item_id_) - - reinterpret_cast(&_impl_.casket_item_id_)) + sizeof(_impl_.item_item_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgCasketItem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 casket_item_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_casket_item_id(&has_bits); - _impl_.casket_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 item_item_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_item_item_id(&has_bits); - _impl_.item_item_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgCasketItem::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgCasketItem) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 casket_item_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_casket_item_id(), target); - } - - // optional uint64 item_item_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_item_item_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgCasketItem) - return target; -} - -size_t CMsgCasketItem::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgCasketItem) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 casket_item_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_casket_item_id()); - } - - // optional uint64 item_item_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_item_item_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgCasketItem::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgCasketItem::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgCasketItem::GetClassData() const { return &_class_data_; } - - -void CMsgCasketItem::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgCasketItem) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.casket_item_id_ = from._impl_.casket_item_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.item_item_id_ = from._impl_.item_item_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgCasketItem::CopyFrom(const CMsgCasketItem& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgCasketItem) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgCasketItem::IsInitialized() const { - return true; -} - -void CMsgCasketItem::InternalSwap(CMsgCasketItem* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgCasketItem, _impl_.item_item_id_) - + sizeof(CMsgCasketItem::_impl_.item_item_id_) - - PROTOBUF_FIELD_OFFSET(CMsgCasketItem, _impl_.casket_item_id_)>( - reinterpret_cast(&_impl_.casket_item_id_), - reinterpret_cast(&other->_impl_.casket_item_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgCasketItem::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_econ_5fgcmessages_2eproto_getter, &descriptor_table_econ_5fgcmessages_2eproto_once, - file_level_metadata_econ_5fgcmessages_2eproto[2]); -} - -// =================================================================== - -class CMsgGCUserTrackTimePlayedConsecutively::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_state(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCUserTrackTimePlayedConsecutively::CMsgGCUserTrackTimePlayedConsecutively(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCUserTrackTimePlayedConsecutively) -} -CMsgGCUserTrackTimePlayedConsecutively::CMsgGCUserTrackTimePlayedConsecutively(const CMsgGCUserTrackTimePlayedConsecutively& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCUserTrackTimePlayedConsecutively* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.state_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.state_ = from._impl_.state_; - // @@protoc_insertion_point(copy_constructor:CMsgGCUserTrackTimePlayedConsecutively) -} - -inline void CMsgGCUserTrackTimePlayedConsecutively::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.state_){0u} - }; -} - -CMsgGCUserTrackTimePlayedConsecutively::~CMsgGCUserTrackTimePlayedConsecutively() { - // @@protoc_insertion_point(destructor:CMsgGCUserTrackTimePlayedConsecutively) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCUserTrackTimePlayedConsecutively::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCUserTrackTimePlayedConsecutively::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCUserTrackTimePlayedConsecutively::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCUserTrackTimePlayedConsecutively) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.state_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCUserTrackTimePlayedConsecutively::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 state = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_state(&has_bits); - _impl_.state_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCUserTrackTimePlayedConsecutively::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCUserTrackTimePlayedConsecutively) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 state = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_state(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCUserTrackTimePlayedConsecutively) - return target; -} - -size_t CMsgGCUserTrackTimePlayedConsecutively::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCUserTrackTimePlayedConsecutively) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 state = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_state()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCUserTrackTimePlayedConsecutively::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCUserTrackTimePlayedConsecutively::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCUserTrackTimePlayedConsecutively::GetClassData() const { return &_class_data_; } - - -void CMsgGCUserTrackTimePlayedConsecutively::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCUserTrackTimePlayedConsecutively) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_state()) { - _this->_internal_set_state(from._internal_state()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCUserTrackTimePlayedConsecutively::CopyFrom(const CMsgGCUserTrackTimePlayedConsecutively& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCUserTrackTimePlayedConsecutively) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCUserTrackTimePlayedConsecutively::IsInitialized() const { - return true; -} - -void CMsgGCUserTrackTimePlayedConsecutively::InternalSwap(CMsgGCUserTrackTimePlayedConsecutively* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.state_, other->_impl_.state_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCUserTrackTimePlayedConsecutively::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_econ_5fgcmessages_2eproto_getter, &descriptor_table_econ_5fgcmessages_2eproto_once, - file_level_metadata_econ_5fgcmessages_2eproto[3]); -} - -// =================================================================== - -class CMsgGCItemCustomizationNotification::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_request(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCItemCustomizationNotification::CMsgGCItemCustomizationNotification(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCItemCustomizationNotification) -} -CMsgGCItemCustomizationNotification::CMsgGCItemCustomizationNotification(const CMsgGCItemCustomizationNotification& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCItemCustomizationNotification* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_id_){from._impl_.item_id_} - , decltype(_impl_.extra_data_){from._impl_.extra_data_} - , decltype(_impl_.request_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.request_ = from._impl_.request_; - // @@protoc_insertion_point(copy_constructor:CMsgGCItemCustomizationNotification) -} - -inline void CMsgGCItemCustomizationNotification::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_id_){arena} - , decltype(_impl_.extra_data_){arena} - , decltype(_impl_.request_){0u} - }; -} - -CMsgGCItemCustomizationNotification::~CMsgGCItemCustomizationNotification() { - // @@protoc_insertion_point(destructor:CMsgGCItemCustomizationNotification) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCItemCustomizationNotification::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.item_id_.~RepeatedField(); - _impl_.extra_data_.~RepeatedField(); -} - -void CMsgGCItemCustomizationNotification::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCItemCustomizationNotification::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCItemCustomizationNotification) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.item_id_.Clear(); - _impl_.extra_data_.Clear(); - _impl_.request_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCItemCustomizationNotification::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated uint64 item_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_item_id(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<8>(ptr)); - } else if (static_cast(tag) == 10) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_item_id(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 request = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_request(&has_bits); - _impl_.request_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint64 extra_data = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_extra_data(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<24>(ptr)); - } else if (static_cast(tag) == 26) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_extra_data(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCItemCustomizationNotification::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCItemCustomizationNotification) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated uint64 item_id = 1; - for (int i = 0, n = this->_internal_item_id_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_item_id(i), target); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 request = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_request(), target); - } - - // repeated uint64 extra_data = 3; - for (int i = 0, n = this->_internal_extra_data_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_extra_data(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCItemCustomizationNotification) - return target; -} - -size_t CMsgGCItemCustomizationNotification::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCItemCustomizationNotification) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint64 item_id = 1; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt64Size(this->_impl_.item_id_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_item_id_size()); - total_size += data_size; - } - - // repeated uint64 extra_data = 3; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt64Size(this->_impl_.extra_data_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_extra_data_size()); - total_size += data_size; - } - - // optional uint32 request = 2; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_request()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCItemCustomizationNotification::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCItemCustomizationNotification::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCItemCustomizationNotification::GetClassData() const { return &_class_data_; } - - -void CMsgGCItemCustomizationNotification::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCItemCustomizationNotification) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.item_id_.MergeFrom(from._impl_.item_id_); - _this->_impl_.extra_data_.MergeFrom(from._impl_.extra_data_); - if (from._internal_has_request()) { - _this->_internal_set_request(from._internal_request()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCItemCustomizationNotification::CopyFrom(const CMsgGCItemCustomizationNotification& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCItemCustomizationNotification) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCItemCustomizationNotification::IsInitialized() const { - return true; -} - -void CMsgGCItemCustomizationNotification::InternalSwap(CMsgGCItemCustomizationNotification* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.item_id_.InternalSwap(&other->_impl_.item_id_); - _impl_.extra_data_.InternalSwap(&other->_impl_.extra_data_); - swap(_impl_.request_, other->_impl_.request_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCItemCustomizationNotification::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_econ_5fgcmessages_2eproto_getter, &descriptor_table_econ_5fgcmessages_2eproto_once, - file_level_metadata_econ_5fgcmessages_2eproto[4]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CMsgGCGiftedItems* -Arena::CreateMaybeMessage< ::CMsgGCGiftedItems >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCGiftedItems >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCDev_SchemaReservationRequest* -Arena::CreateMaybeMessage< ::CMsgGCDev_SchemaReservationRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCDev_SchemaReservationRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgCasketItem* -Arena::CreateMaybeMessage< ::CMsgCasketItem >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgCasketItem >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCUserTrackTimePlayedConsecutively* -Arena::CreateMaybeMessage< ::CMsgGCUserTrackTimePlayedConsecutively >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCUserTrackTimePlayedConsecutively >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCItemCustomizationNotification* -Arena::CreateMaybeMessage< ::CMsgGCItemCustomizationNotification >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCItemCustomizationNotification >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/econ_gcmessages.pb.h b/protobuf/generated/econ_gcmessages.pb.h deleted file mode 100644 index e75795bf6..000000000 --- a/protobuf/generated/econ_gcmessages.pb.h +++ /dev/null @@ -1,1960 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: econ_gcmessages.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_econ_5fgcmessages_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_econ_5fgcmessages_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "steammessages.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_econ_5fgcmessages_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_econ_5fgcmessages_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_econ_5fgcmessages_2eproto; -class CMsgCasketItem; -struct CMsgCasketItemDefaultTypeInternal; -extern CMsgCasketItemDefaultTypeInternal _CMsgCasketItem_default_instance_; -class CMsgGCDev_SchemaReservationRequest; -struct CMsgGCDev_SchemaReservationRequestDefaultTypeInternal; -extern CMsgGCDev_SchemaReservationRequestDefaultTypeInternal _CMsgGCDev_SchemaReservationRequest_default_instance_; -class CMsgGCGiftedItems; -struct CMsgGCGiftedItemsDefaultTypeInternal; -extern CMsgGCGiftedItemsDefaultTypeInternal _CMsgGCGiftedItems_default_instance_; -class CMsgGCItemCustomizationNotification; -struct CMsgGCItemCustomizationNotificationDefaultTypeInternal; -extern CMsgGCItemCustomizationNotificationDefaultTypeInternal _CMsgGCItemCustomizationNotification_default_instance_; -class CMsgGCUserTrackTimePlayedConsecutively; -struct CMsgGCUserTrackTimePlayedConsecutivelyDefaultTypeInternal; -extern CMsgGCUserTrackTimePlayedConsecutivelyDefaultTypeInternal _CMsgGCUserTrackTimePlayedConsecutively_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CMsgCasketItem* Arena::CreateMaybeMessage<::CMsgCasketItem>(Arena*); -template<> ::CMsgGCDev_SchemaReservationRequest* Arena::CreateMaybeMessage<::CMsgGCDev_SchemaReservationRequest>(Arena*); -template<> ::CMsgGCGiftedItems* Arena::CreateMaybeMessage<::CMsgGCGiftedItems>(Arena*); -template<> ::CMsgGCItemCustomizationNotification* Arena::CreateMaybeMessage<::CMsgGCItemCustomizationNotification>(Arena*); -template<> ::CMsgGCUserTrackTimePlayedConsecutively* Arena::CreateMaybeMessage<::CMsgGCUserTrackTimePlayedConsecutively>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum EGCItemMsg : int { - k_EMsgGCBase = 1000, - k_EMsgGCSetItemPosition = 1001, - k_EMsgGCCraft = 1002, - k_EMsgGCCraftResponse = 1003, - k_EMsgGCDelete = 1004, - k_EMsgGCVerifyCacheSubscription = 1005, - k_EMsgGCNameItem = 1006, - k_EMsgGCUnlockCrate_DEPRECATED = 1007, - k_EMsgGCUnlockCrateResponse = 1008, - k_EMsgGCPaintItem = 1009, - k_EMsgGCPaintItemResponse = 1010, - k_EMsgGCGoldenWrenchBroadcast = 1011, - k_EMsgGCMOTDRequest = 1012, - k_EMsgGCMOTDRequestResponse = 1013, - k_EMsgGCAddItemToSocket_DEPRECATED = 1014, - k_EMsgGCAddItemToSocketResponse_DEPRECATED = 1015, - k_EMsgGCAddSocketToBaseItem_DEPRECATED = 1016, - k_EMsgGCAddSocketToItem_DEPRECATED = 1017, - k_EMsgGCAddSocketToItemResponse_DEPRECATED = 1018, - k_EMsgGCNameBaseItem = 1019, - k_EMsgGCNameBaseItemResponse = 1020, - k_EMsgGCRemoveSocketItem_DEPRECATED = 1021, - k_EMsgGCRemoveSocketItemResponse_DEPRECATED = 1022, - k_EMsgGCCustomizeItemTexture = 1023, - k_EMsgGCCustomizeItemTextureResponse = 1024, - k_EMsgGCUseItemRequest = 1025, - k_EMsgGCUseItemResponse = 1026, - k_EMsgGCGiftedItems_DEPRECATED = 1027, - k_EMsgGCRemoveItemName = 1030, - k_EMsgGCRemoveItemPaint = 1031, - k_EMsgGCGiftWrapItem = 1032, - k_EMsgGCGiftWrapItemResponse = 1033, - k_EMsgGCDeliverGift = 1034, - k_EMsgGCDeliverGiftResponseGiver = 1035, - k_EMsgGCDeliverGiftResponseReceiver = 1036, - k_EMsgGCUnwrapGiftRequest = 1037, - k_EMsgGCUnwrapGiftResponse = 1038, - k_EMsgGCSetItemStyle = 1039, - k_EMsgGCUsedClaimCodeItem = 1040, - k_EMsgGCSortItems = 1041, - k_EMsgGC_RevolvingLootList_DEPRECATED = 1042, - k_EMsgGCLookupAccount = 1043, - k_EMsgGCLookupAccountResponse = 1044, - k_EMsgGCLookupAccountName = 1045, - k_EMsgGCLookupAccountNameResponse = 1046, - k_EMsgGCUpdateItemSchema = 1049, - k_EMsgGCRemoveCustomTexture = 1051, - k_EMsgGCRemoveCustomTextureResponse = 1052, - k_EMsgGCRemoveMakersMark = 1053, - k_EMsgGCRemoveMakersMarkResponse = 1054, - k_EMsgGCRemoveUniqueCraftIndex = 1055, - k_EMsgGCRemoveUniqueCraftIndexResponse = 1056, - k_EMsgGCSaxxyBroadcast = 1057, - k_EMsgGCBackpackSortFinished = 1058, - k_EMsgGCCollectItem = 1061, - k_EMsgGCItemAcknowledged__DEPRECATED = 1062, - k_EMsgGC_ReportAbuse = 1065, - k_EMsgGC_ReportAbuseResponse = 1066, - k_EMsgGCNameItemNotification = 1068, - k_EMsgGCApplyConsumableEffects = 1069, - k_EMsgGCConsumableExhausted = 1070, - k_EMsgGCShowItemsPickedUp = 1071, - k_EMsgGCClientDisplayNotification = 1072, - k_EMsgGCApplyStrangePart = 1073, - k_EMsgGC_IncrementKillCountAttribute = 1074, - k_EMsgGC_IncrementKillCountResponse = 1075, - k_EMsgGCApplyPennantUpgrade = 1076, - k_EMsgGCSetItemPositions = 1077, - k_EMsgGCApplyEggEssence = 1078, - k_EMsgGCNameEggEssenceResponse = 1079, - k_EMsgGCPaintKitItem = 1080, - k_EMsgGCPaintKitBaseItem = 1081, - k_EMsgGCPaintKitItemResponse = 1082, - k_EMsgGCGiftedItems = 1083, - k_EMsgGCUnlockItemStyle = 1084, - k_EMsgGCUnlockItemStyleResponse = 1085, - k_EMsgGCApplySticker = 1086, - k_EMsgGCItemAcknowledged = 1087, - k_EMsgGCStatTrakSwap = 1088, - k_EMsgGCUserTrackTimePlayedConsecutively = 1089, - k_EMsgGCItemCustomizationNotification = 1090, - k_EMsgGCModifyItemAttribute = 1091, - k_EMsgGCCasketItemAdd = 1092, - k_EMsgGCCasketItemExtract = 1093, - k_EMsgGCCasketItemLoadContents = 1094, - k_EMsgGCTradingBase = 1500, - k_EMsgGCTrading_InitiateTradeRequest = 1501, - k_EMsgGCTrading_InitiateTradeResponse = 1502, - k_EMsgGCTrading_StartSession = 1503, - k_EMsgGCTrading_SetItem = 1504, - k_EMsgGCTrading_RemoveItem = 1505, - k_EMsgGCTrading_UpdateTradeInfo = 1506, - k_EMsgGCTrading_SetReadiness = 1507, - k_EMsgGCTrading_ReadinessResponse = 1508, - k_EMsgGCTrading_SessionClosed = 1509, - k_EMsgGCTrading_CancelSession = 1510, - k_EMsgGCTrading_TradeChatMsg = 1511, - k_EMsgGCTrading_ConfirmOffer = 1512, - k_EMsgGCTrading_TradeTypingChatMsg = 1513, - k_EMsgGCServerBrowser_FavoriteServer = 1601, - k_EMsgGCServerBrowser_BlacklistServer = 1602, - k_EMsgGCServerRentalsBase = 1700, - k_EMsgGCItemPreviewCheckStatus = 1701, - k_EMsgGCItemPreviewStatusResponse = 1702, - k_EMsgGCItemPreviewRequest = 1703, - k_EMsgGCItemPreviewRequestResponse = 1704, - k_EMsgGCItemPreviewExpire = 1705, - k_EMsgGCItemPreviewExpireNotification = 1706, - k_EMsgGCItemPreviewItemBoughtNotification = 1707, - k_EMsgGCDev_NewItemRequest = 2001, - k_EMsgGCDev_NewItemRequestResponse = 2002, - k_EMsgGCDev_PaintKitDropItem = 2003, - k_EMsgGCDev_SchemaReservationRequest = 2004, - k_EMsgGCStoreGetUserData = 2500, - k_EMsgGCStoreGetUserDataResponse = 2501, - k_EMsgGCStorePurchaseInit_DEPRECATED = 2502, - k_EMsgGCStorePurchaseInitResponse_DEPRECATED = 2503, - k_EMsgGCStorePurchaseFinalize = 2504, - k_EMsgGCStorePurchaseFinalizeResponse = 2505, - k_EMsgGCStorePurchaseCancel = 2506, - k_EMsgGCStorePurchaseCancelResponse = 2507, - k_EMsgGCStorePurchaseQueryTxn = 2508, - k_EMsgGCStorePurchaseQueryTxnResponse = 2509, - k_EMsgGCStorePurchaseInit = 2510, - k_EMsgGCStorePurchaseInitResponse = 2511, - k_EMsgGCBannedWordListRequest = 2512, - k_EMsgGCBannedWordListResponse = 2513, - k_EMsgGCToGCBannedWordListBroadcast = 2514, - k_EMsgGCToGCBannedWordListUpdated = 2515, - k_EMsgGCToGCDirtySDOCache = 2516, - k_EMsgGCToGCDirtyMultipleSDOCache = 2517, - k_EMsgGCToGCUpdateSQLKeyValue = 2518, - k_EMsgGCToGCIsTrustedServer = 2519, - k_EMsgGCToGCIsTrustedServerResponse = 2520, - k_EMsgGCToGCBroadcastConsoleCommand = 2521, - k_EMsgGCServerVersionUpdated = 2522, - k_EMsgGCToGCWebAPIAccountChanged = 2524, - k_EMsgGCRequestAnnouncements = 2525, - k_EMsgGCRequestAnnouncementsResponse = 2526, - k_EMsgGCRequestPassportItemGrant = 2527, - k_EMsgGCClientVersionUpdated = 2528, - k_EMsgGCRecurringSubscriptionStatus = 2530, - k_EMsgGCAdjustEquipSlotsManual = 2531, - k_EMsgGCAdjustEquipSlotsShuffle = 2532, - k_EMsgGCOpenCrate = 2534, - k_EMsgGCAcknowledgeRentalExpiration = 2535, - k_EMsgGCVolatileItemLoadContents = 2536 -}; -bool EGCItemMsg_IsValid(int value); -constexpr EGCItemMsg EGCItemMsg_MIN = k_EMsgGCBase; -constexpr EGCItemMsg EGCItemMsg_MAX = k_EMsgGCVolatileItemLoadContents; -constexpr int EGCItemMsg_ARRAYSIZE = EGCItemMsg_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCItemMsg_descriptor(); -template -inline const std::string& EGCItemMsg_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EGCItemMsg_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EGCItemMsg_descriptor(), enum_t_value); -} -inline bool EGCItemMsg_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EGCItemMsg* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EGCItemMsg_descriptor(), name, value); -} -enum EGCMsgResponse : int { - k_EGCMsgResponseOK = 0, - k_EGCMsgResponseDenied = 1, - k_EGCMsgResponseServerError = 2, - k_EGCMsgResponseTimeout = 3, - k_EGCMsgResponseInvalid = 4, - k_EGCMsgResponseNoMatch = 5, - k_EGCMsgResponseUnknownError = 6, - k_EGCMsgResponseNotLoggedOn = 7, - k_EGCMsgFailedToCreate = 8, - k_EGCMsgLimitExceeded = 9, - k_EGCMsgCommitUnfinalized = 10 -}; -bool EGCMsgResponse_IsValid(int value); -constexpr EGCMsgResponse EGCMsgResponse_MIN = k_EGCMsgResponseOK; -constexpr EGCMsgResponse EGCMsgResponse_MAX = k_EGCMsgCommitUnfinalized; -constexpr int EGCMsgResponse_ARRAYSIZE = EGCMsgResponse_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCMsgResponse_descriptor(); -template -inline const std::string& EGCMsgResponse_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EGCMsgResponse_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EGCMsgResponse_descriptor(), enum_t_value); -} -inline bool EGCMsgResponse_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EGCMsgResponse* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EGCMsgResponse_descriptor(), name, value); -} -enum EUnlockStyle : int { - k_UnlockStyle_Succeeded = 0, - k_UnlockStyle_Failed_PreReq = 1, - k_UnlockStyle_Failed_CantAfford = 2, - k_UnlockStyle_Failed_CantCommit = 3, - k_UnlockStyle_Failed_CantLockCache = 4, - k_UnlockStyle_Failed_CantAffordAttrib = 5 -}; -bool EUnlockStyle_IsValid(int value); -constexpr EUnlockStyle EUnlockStyle_MIN = k_UnlockStyle_Succeeded; -constexpr EUnlockStyle EUnlockStyle_MAX = k_UnlockStyle_Failed_CantAffordAttrib; -constexpr int EUnlockStyle_ARRAYSIZE = EUnlockStyle_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EUnlockStyle_descriptor(); -template -inline const std::string& EUnlockStyle_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EUnlockStyle_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EUnlockStyle_descriptor(), enum_t_value); -} -inline bool EUnlockStyle_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EUnlockStyle* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EUnlockStyle_descriptor(), name, value); -} -enum EGCItemCustomizationNotification : int { - k_EGCItemCustomizationNotification_NameItem = 1006, - k_EGCItemCustomizationNotification_UnlockCrate = 1007, - k_EGCItemCustomizationNotification_XRayItemReveal = 1008, - k_EGCItemCustomizationNotification_XRayItemClaim = 1009, - k_EGCItemCustomizationNotification_CasketTooFull = 1011, - k_EGCItemCustomizationNotification_CasketContents = 1012, - k_EGCItemCustomizationNotification_CasketAdded = 1013, - k_EGCItemCustomizationNotification_CasketRemoved = 1014, - k_EGCItemCustomizationNotification_CasketInvFull = 1015, - k_EGCItemCustomizationNotification_NameBaseItem = 1019, - k_EGCItemCustomizationNotification_RemoveItemName = 1030, - k_EGCItemCustomizationNotification_RemoveSticker = 1053, - k_EGCItemCustomizationNotification_ApplySticker = 1086, - k_EGCItemCustomizationNotification_StatTrakSwap = 1088, - k_EGCItemCustomizationNotification_RemovePatch = 1089, - k_EGCItemCustomizationNotification_ApplyPatch = 1090, - k_EGCItemCustomizationNotification_ApplyKeychain = 1091, - k_EGCItemCustomizationNotification_RemoveKeychain = 1092, - k_EGCItemCustomizationNotification_ActivateFanToken = 9178, - k_EGCItemCustomizationNotification_ActivateOperationCoin = 9179, - k_EGCItemCustomizationNotification_GraffitiUnseal = 9185, - k_EGCItemCustomizationNotification_GenerateSouvenir = 9204, - k_EGCItemCustomizationNotification_ClientRedeemMissionReward = 9209, - k_EGCItemCustomizationNotification_ClientRedeemFreeReward = 9219, - k_EGCItemCustomizationNotification_XpShopUseTicket = 9221, - k_EGCItemCustomizationNotification_XpShopAckTracks = 9222 -}; -bool EGCItemCustomizationNotification_IsValid(int value); -constexpr EGCItemCustomizationNotification EGCItemCustomizationNotification_MIN = k_EGCItemCustomizationNotification_NameItem; -constexpr EGCItemCustomizationNotification EGCItemCustomizationNotification_MAX = k_EGCItemCustomizationNotification_XpShopAckTracks; -constexpr int EGCItemCustomizationNotification_ARRAYSIZE = EGCItemCustomizationNotification_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCItemCustomizationNotification_descriptor(); -template -inline const std::string& EGCItemCustomizationNotification_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EGCItemCustomizationNotification_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EGCItemCustomizationNotification_descriptor(), enum_t_value); -} -inline bool EGCItemCustomizationNotification_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EGCItemCustomizationNotification* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EGCItemCustomizationNotification_descriptor(), name, value); -} -// =================================================================== - -class CMsgGCGiftedItems : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCGiftedItems) */ { - public: - inline CMsgGCGiftedItems() : CMsgGCGiftedItems(nullptr) {} - ~CMsgGCGiftedItems() override; - explicit PROTOBUF_CONSTEXPR CMsgGCGiftedItems(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCGiftedItems(const CMsgGCGiftedItems& from); - CMsgGCGiftedItems(CMsgGCGiftedItems&& from) noexcept - : CMsgGCGiftedItems() { - *this = ::std::move(from); - } - - inline CMsgGCGiftedItems& operator=(const CMsgGCGiftedItems& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCGiftedItems& operator=(CMsgGCGiftedItems&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCGiftedItems& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCGiftedItems* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCGiftedItems_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CMsgGCGiftedItems& a, CMsgGCGiftedItems& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCGiftedItems* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCGiftedItems* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCGiftedItems* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCGiftedItems& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCGiftedItems& from) { - CMsgGCGiftedItems::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCGiftedItems* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCGiftedItems"; - } - protected: - explicit CMsgGCGiftedItems(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRecipientsAccountidsFieldNumber = 5, - kAccountidFieldNumber = 1, - kGiftdefindexFieldNumber = 2, - kMaxGiftsPossibleFieldNumber = 3, - kNumEligibleRecipientsFieldNumber = 4, - }; - // repeated uint32 recipients_accountids = 5; - int recipients_accountids_size() const; - private: - int _internal_recipients_accountids_size() const; - public: - void clear_recipients_accountids(); - private: - uint32_t _internal_recipients_accountids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_recipients_accountids() const; - void _internal_add_recipients_accountids(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_recipients_accountids(); - public: - uint32_t recipients_accountids(int index) const; - void set_recipients_accountids(int index, uint32_t value); - void add_recipients_accountids(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - recipients_accountids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_recipients_accountids(); - - // optional uint32 accountid = 1; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // optional uint32 giftdefindex = 2; - bool has_giftdefindex() const; - private: - bool _internal_has_giftdefindex() const; - public: - void clear_giftdefindex(); - uint32_t giftdefindex() const; - void set_giftdefindex(uint32_t value); - private: - uint32_t _internal_giftdefindex() const; - void _internal_set_giftdefindex(uint32_t value); - public: - - // optional uint32 max_gifts_possible = 3; - bool has_max_gifts_possible() const; - private: - bool _internal_has_max_gifts_possible() const; - public: - void clear_max_gifts_possible(); - uint32_t max_gifts_possible() const; - void set_max_gifts_possible(uint32_t value); - private: - uint32_t _internal_max_gifts_possible() const; - void _internal_set_max_gifts_possible(uint32_t value); - public: - - // optional uint32 num_eligible_recipients = 4; - bool has_num_eligible_recipients() const; - private: - bool _internal_has_num_eligible_recipients() const; - public: - void clear_num_eligible_recipients(); - uint32_t num_eligible_recipients() const; - void set_num_eligible_recipients(uint32_t value); - private: - uint32_t _internal_num_eligible_recipients() const; - void _internal_set_num_eligible_recipients(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCGiftedItems) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > recipients_accountids_; - uint32_t accountid_; - uint32_t giftdefindex_; - uint32_t max_gifts_possible_; - uint32_t num_eligible_recipients_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_econ_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCDev_SchemaReservationRequest : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCDev_SchemaReservationRequest) */ { - public: - inline CMsgGCDev_SchemaReservationRequest() : CMsgGCDev_SchemaReservationRequest(nullptr) {} - ~CMsgGCDev_SchemaReservationRequest() override; - explicit PROTOBUF_CONSTEXPR CMsgGCDev_SchemaReservationRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCDev_SchemaReservationRequest(const CMsgGCDev_SchemaReservationRequest& from); - CMsgGCDev_SchemaReservationRequest(CMsgGCDev_SchemaReservationRequest&& from) noexcept - : CMsgGCDev_SchemaReservationRequest() { - *this = ::std::move(from); - } - - inline CMsgGCDev_SchemaReservationRequest& operator=(const CMsgGCDev_SchemaReservationRequest& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCDev_SchemaReservationRequest& operator=(CMsgGCDev_SchemaReservationRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCDev_SchemaReservationRequest& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCDev_SchemaReservationRequest* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCDev_SchemaReservationRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CMsgGCDev_SchemaReservationRequest& a, CMsgGCDev_SchemaReservationRequest& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCDev_SchemaReservationRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCDev_SchemaReservationRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCDev_SchemaReservationRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCDev_SchemaReservationRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCDev_SchemaReservationRequest& from) { - CMsgGCDev_SchemaReservationRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCDev_SchemaReservationRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCDev_SchemaReservationRequest"; - } - protected: - explicit CMsgGCDev_SchemaReservationRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSchemaTypenameFieldNumber = 1, - kInstanceNameFieldNumber = 2, - kContextFieldNumber = 3, - kIdFieldNumber = 4, - }; - // optional string schema_typename = 1; - bool has_schema_typename() const; - private: - bool _internal_has_schema_typename() const; - public: - void clear_schema_typename(); - const std::string& schema_typename() const; - template - void set_schema_typename(ArgT0&& arg0, ArgT... args); - std::string* mutable_schema_typename(); - PROTOBUF_NODISCARD std::string* release_schema_typename(); - void set_allocated_schema_typename(std::string* schema_typename); - private: - const std::string& _internal_schema_typename() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_schema_typename(const std::string& value); - std::string* _internal_mutable_schema_typename(); - public: - - // optional string instance_name = 2; - bool has_instance_name() const; - private: - bool _internal_has_instance_name() const; - public: - void clear_instance_name(); - const std::string& instance_name() const; - template - void set_instance_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_instance_name(); - PROTOBUF_NODISCARD std::string* release_instance_name(); - void set_allocated_instance_name(std::string* instance_name); - private: - const std::string& _internal_instance_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_instance_name(const std::string& value); - std::string* _internal_mutable_instance_name(); - public: - - // optional uint64 context = 3; - bool has_context() const; - private: - bool _internal_has_context() const; - public: - void clear_context(); - uint64_t context() const; - void set_context(uint64_t value); - private: - uint64_t _internal_context() const; - void _internal_set_context(uint64_t value); - public: - - // optional uint64 id = 4; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - uint64_t id() const; - void set_id(uint64_t value); - private: - uint64_t _internal_id() const; - void _internal_set_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCDev_SchemaReservationRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr schema_typename_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr instance_name_; - uint64_t context_; - uint64_t id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_econ_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgCasketItem : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgCasketItem) */ { - public: - inline CMsgCasketItem() : CMsgCasketItem(nullptr) {} - ~CMsgCasketItem() override; - explicit PROTOBUF_CONSTEXPR CMsgCasketItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgCasketItem(const CMsgCasketItem& from); - CMsgCasketItem(CMsgCasketItem&& from) noexcept - : CMsgCasketItem() { - *this = ::std::move(from); - } - - inline CMsgCasketItem& operator=(const CMsgCasketItem& from) { - CopyFrom(from); - return *this; - } - inline CMsgCasketItem& operator=(CMsgCasketItem&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgCasketItem& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgCasketItem* internal_default_instance() { - return reinterpret_cast( - &_CMsgCasketItem_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CMsgCasketItem& a, CMsgCasketItem& b) { - a.Swap(&b); - } - inline void Swap(CMsgCasketItem* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgCasketItem* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgCasketItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgCasketItem& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgCasketItem& from) { - CMsgCasketItem::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgCasketItem* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgCasketItem"; - } - protected: - explicit CMsgCasketItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCasketItemIdFieldNumber = 1, - kItemItemIdFieldNumber = 2, - }; - // optional uint64 casket_item_id = 1; - bool has_casket_item_id() const; - private: - bool _internal_has_casket_item_id() const; - public: - void clear_casket_item_id(); - uint64_t casket_item_id() const; - void set_casket_item_id(uint64_t value); - private: - uint64_t _internal_casket_item_id() const; - void _internal_set_casket_item_id(uint64_t value); - public: - - // optional uint64 item_item_id = 2; - bool has_item_item_id() const; - private: - bool _internal_has_item_item_id() const; - public: - void clear_item_item_id(); - uint64_t item_item_id() const; - void set_item_item_id(uint64_t value); - private: - uint64_t _internal_item_item_id() const; - void _internal_set_item_item_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgCasketItem) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t casket_item_id_; - uint64_t item_item_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_econ_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCUserTrackTimePlayedConsecutively : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCUserTrackTimePlayedConsecutively) */ { - public: - inline CMsgGCUserTrackTimePlayedConsecutively() : CMsgGCUserTrackTimePlayedConsecutively(nullptr) {} - ~CMsgGCUserTrackTimePlayedConsecutively() override; - explicit PROTOBUF_CONSTEXPR CMsgGCUserTrackTimePlayedConsecutively(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCUserTrackTimePlayedConsecutively(const CMsgGCUserTrackTimePlayedConsecutively& from); - CMsgGCUserTrackTimePlayedConsecutively(CMsgGCUserTrackTimePlayedConsecutively&& from) noexcept - : CMsgGCUserTrackTimePlayedConsecutively() { - *this = ::std::move(from); - } - - inline CMsgGCUserTrackTimePlayedConsecutively& operator=(const CMsgGCUserTrackTimePlayedConsecutively& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCUserTrackTimePlayedConsecutively& operator=(CMsgGCUserTrackTimePlayedConsecutively&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCUserTrackTimePlayedConsecutively& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCUserTrackTimePlayedConsecutively* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCUserTrackTimePlayedConsecutively_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CMsgGCUserTrackTimePlayedConsecutively& a, CMsgGCUserTrackTimePlayedConsecutively& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCUserTrackTimePlayedConsecutively* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCUserTrackTimePlayedConsecutively* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCUserTrackTimePlayedConsecutively* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCUserTrackTimePlayedConsecutively& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCUserTrackTimePlayedConsecutively& from) { - CMsgGCUserTrackTimePlayedConsecutively::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCUserTrackTimePlayedConsecutively* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCUserTrackTimePlayedConsecutively"; - } - protected: - explicit CMsgGCUserTrackTimePlayedConsecutively(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStateFieldNumber = 1, - }; - // optional uint32 state = 1; - bool has_state() const; - private: - bool _internal_has_state() const; - public: - void clear_state(); - uint32_t state() const; - void set_state(uint32_t value); - private: - uint32_t _internal_state() const; - void _internal_set_state(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCUserTrackTimePlayedConsecutively) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t state_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_econ_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCItemCustomizationNotification : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCItemCustomizationNotification) */ { - public: - inline CMsgGCItemCustomizationNotification() : CMsgGCItemCustomizationNotification(nullptr) {} - ~CMsgGCItemCustomizationNotification() override; - explicit PROTOBUF_CONSTEXPR CMsgGCItemCustomizationNotification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCItemCustomizationNotification(const CMsgGCItemCustomizationNotification& from); - CMsgGCItemCustomizationNotification(CMsgGCItemCustomizationNotification&& from) noexcept - : CMsgGCItemCustomizationNotification() { - *this = ::std::move(from); - } - - inline CMsgGCItemCustomizationNotification& operator=(const CMsgGCItemCustomizationNotification& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCItemCustomizationNotification& operator=(CMsgGCItemCustomizationNotification&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCItemCustomizationNotification& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCItemCustomizationNotification* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCItemCustomizationNotification_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CMsgGCItemCustomizationNotification& a, CMsgGCItemCustomizationNotification& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCItemCustomizationNotification* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCItemCustomizationNotification* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCItemCustomizationNotification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCItemCustomizationNotification& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCItemCustomizationNotification& from) { - CMsgGCItemCustomizationNotification::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCItemCustomizationNotification* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCItemCustomizationNotification"; - } - protected: - explicit CMsgGCItemCustomizationNotification(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemIdFieldNumber = 1, - kExtraDataFieldNumber = 3, - kRequestFieldNumber = 2, - }; - // repeated uint64 item_id = 1; - int item_id_size() const; - private: - int _internal_item_id_size() const; - public: - void clear_item_id(); - private: - uint64_t _internal_item_id(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - _internal_item_id() const; - void _internal_add_item_id(uint64_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - _internal_mutable_item_id(); - public: - uint64_t item_id(int index) const; - void set_item_id(int index, uint64_t value); - void add_item_id(uint64_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - item_id() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - mutable_item_id(); - - // repeated uint64 extra_data = 3; - int extra_data_size() const; - private: - int _internal_extra_data_size() const; - public: - void clear_extra_data(); - private: - uint64_t _internal_extra_data(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - _internal_extra_data() const; - void _internal_add_extra_data(uint64_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - _internal_mutable_extra_data(); - public: - uint64_t extra_data(int index) const; - void set_extra_data(int index, uint64_t value); - void add_extra_data(uint64_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - extra_data() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - mutable_extra_data(); - - // optional uint32 request = 2; - bool has_request() const; - private: - bool _internal_has_request() const; - public: - void clear_request(); - uint32_t request() const; - void set_request(uint32_t value); - private: - uint32_t _internal_request() const; - void _internal_set_request(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCItemCustomizationNotification) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > item_id_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > extra_data_; - uint32_t request_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_econ_5fgcmessages_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CMsgGCGiftedItems - -// optional uint32 accountid = 1; -inline bool CMsgGCGiftedItems::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCGiftedItems::has_accountid() const { - return _internal_has_accountid(); -} -inline void CMsgGCGiftedItems::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCGiftedItems::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t CMsgGCGiftedItems::accountid() const { - // @@protoc_insertion_point(field_get:CMsgGCGiftedItems.accountid) - return _internal_accountid(); -} -inline void CMsgGCGiftedItems::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.accountid_ = value; -} -inline void CMsgGCGiftedItems::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:CMsgGCGiftedItems.accountid) -} - -// optional uint32 giftdefindex = 2; -inline bool CMsgGCGiftedItems::_internal_has_giftdefindex() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCGiftedItems::has_giftdefindex() const { - return _internal_has_giftdefindex(); -} -inline void CMsgGCGiftedItems::clear_giftdefindex() { - _impl_.giftdefindex_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCGiftedItems::_internal_giftdefindex() const { - return _impl_.giftdefindex_; -} -inline uint32_t CMsgGCGiftedItems::giftdefindex() const { - // @@protoc_insertion_point(field_get:CMsgGCGiftedItems.giftdefindex) - return _internal_giftdefindex(); -} -inline void CMsgGCGiftedItems::_internal_set_giftdefindex(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.giftdefindex_ = value; -} -inline void CMsgGCGiftedItems::set_giftdefindex(uint32_t value) { - _internal_set_giftdefindex(value); - // @@protoc_insertion_point(field_set:CMsgGCGiftedItems.giftdefindex) -} - -// optional uint32 max_gifts_possible = 3; -inline bool CMsgGCGiftedItems::_internal_has_max_gifts_possible() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCGiftedItems::has_max_gifts_possible() const { - return _internal_has_max_gifts_possible(); -} -inline void CMsgGCGiftedItems::clear_max_gifts_possible() { - _impl_.max_gifts_possible_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCGiftedItems::_internal_max_gifts_possible() const { - return _impl_.max_gifts_possible_; -} -inline uint32_t CMsgGCGiftedItems::max_gifts_possible() const { - // @@protoc_insertion_point(field_get:CMsgGCGiftedItems.max_gifts_possible) - return _internal_max_gifts_possible(); -} -inline void CMsgGCGiftedItems::_internal_set_max_gifts_possible(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.max_gifts_possible_ = value; -} -inline void CMsgGCGiftedItems::set_max_gifts_possible(uint32_t value) { - _internal_set_max_gifts_possible(value); - // @@protoc_insertion_point(field_set:CMsgGCGiftedItems.max_gifts_possible) -} - -// optional uint32 num_eligible_recipients = 4; -inline bool CMsgGCGiftedItems::_internal_has_num_eligible_recipients() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCGiftedItems::has_num_eligible_recipients() const { - return _internal_has_num_eligible_recipients(); -} -inline void CMsgGCGiftedItems::clear_num_eligible_recipients() { - _impl_.num_eligible_recipients_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCGiftedItems::_internal_num_eligible_recipients() const { - return _impl_.num_eligible_recipients_; -} -inline uint32_t CMsgGCGiftedItems::num_eligible_recipients() const { - // @@protoc_insertion_point(field_get:CMsgGCGiftedItems.num_eligible_recipients) - return _internal_num_eligible_recipients(); -} -inline void CMsgGCGiftedItems::_internal_set_num_eligible_recipients(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.num_eligible_recipients_ = value; -} -inline void CMsgGCGiftedItems::set_num_eligible_recipients(uint32_t value) { - _internal_set_num_eligible_recipients(value); - // @@protoc_insertion_point(field_set:CMsgGCGiftedItems.num_eligible_recipients) -} - -// repeated uint32 recipients_accountids = 5; -inline int CMsgGCGiftedItems::_internal_recipients_accountids_size() const { - return _impl_.recipients_accountids_.size(); -} -inline int CMsgGCGiftedItems::recipients_accountids_size() const { - return _internal_recipients_accountids_size(); -} -inline void CMsgGCGiftedItems::clear_recipients_accountids() { - _impl_.recipients_accountids_.Clear(); -} -inline uint32_t CMsgGCGiftedItems::_internal_recipients_accountids(int index) const { - return _impl_.recipients_accountids_.Get(index); -} -inline uint32_t CMsgGCGiftedItems::recipients_accountids(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCGiftedItems.recipients_accountids) - return _internal_recipients_accountids(index); -} -inline void CMsgGCGiftedItems::set_recipients_accountids(int index, uint32_t value) { - _impl_.recipients_accountids_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCGiftedItems.recipients_accountids) -} -inline void CMsgGCGiftedItems::_internal_add_recipients_accountids(uint32_t value) { - _impl_.recipients_accountids_.Add(value); -} -inline void CMsgGCGiftedItems::add_recipients_accountids(uint32_t value) { - _internal_add_recipients_accountids(value); - // @@protoc_insertion_point(field_add:CMsgGCGiftedItems.recipients_accountids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCGiftedItems::_internal_recipients_accountids() const { - return _impl_.recipients_accountids_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgGCGiftedItems::recipients_accountids() const { - // @@protoc_insertion_point(field_list:CMsgGCGiftedItems.recipients_accountids) - return _internal_recipients_accountids(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCGiftedItems::_internal_mutable_recipients_accountids() { - return &_impl_.recipients_accountids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgGCGiftedItems::mutable_recipients_accountids() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCGiftedItems.recipients_accountids) - return _internal_mutable_recipients_accountids(); -} - -// ------------------------------------------------------------------- - -// CMsgGCDev_SchemaReservationRequest - -// optional string schema_typename = 1; -inline bool CMsgGCDev_SchemaReservationRequest::_internal_has_schema_typename() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCDev_SchemaReservationRequest::has_schema_typename() const { - return _internal_has_schema_typename(); -} -inline void CMsgGCDev_SchemaReservationRequest::clear_schema_typename() { - _impl_.schema_typename_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCDev_SchemaReservationRequest::schema_typename() const { - // @@protoc_insertion_point(field_get:CMsgGCDev_SchemaReservationRequest.schema_typename) - return _internal_schema_typename(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCDev_SchemaReservationRequest::set_schema_typename(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.schema_typename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCDev_SchemaReservationRequest.schema_typename) -} -inline std::string* CMsgGCDev_SchemaReservationRequest::mutable_schema_typename() { - std::string* _s = _internal_mutable_schema_typename(); - // @@protoc_insertion_point(field_mutable:CMsgGCDev_SchemaReservationRequest.schema_typename) - return _s; -} -inline const std::string& CMsgGCDev_SchemaReservationRequest::_internal_schema_typename() const { - return _impl_.schema_typename_.Get(); -} -inline void CMsgGCDev_SchemaReservationRequest::_internal_set_schema_typename(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.schema_typename_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCDev_SchemaReservationRequest::_internal_mutable_schema_typename() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.schema_typename_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCDev_SchemaReservationRequest::release_schema_typename() { - // @@protoc_insertion_point(field_release:CMsgGCDev_SchemaReservationRequest.schema_typename) - if (!_internal_has_schema_typename()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.schema_typename_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.schema_typename_.IsDefault()) { - _impl_.schema_typename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCDev_SchemaReservationRequest::set_allocated_schema_typename(std::string* schema_typename) { - if (schema_typename != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.schema_typename_.SetAllocated(schema_typename, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.schema_typename_.IsDefault()) { - _impl_.schema_typename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCDev_SchemaReservationRequest.schema_typename) -} - -// optional string instance_name = 2; -inline bool CMsgGCDev_SchemaReservationRequest::_internal_has_instance_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCDev_SchemaReservationRequest::has_instance_name() const { - return _internal_has_instance_name(); -} -inline void CMsgGCDev_SchemaReservationRequest::clear_instance_name() { - _impl_.instance_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgGCDev_SchemaReservationRequest::instance_name() const { - // @@protoc_insertion_point(field_get:CMsgGCDev_SchemaReservationRequest.instance_name) - return _internal_instance_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCDev_SchemaReservationRequest::set_instance_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.instance_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCDev_SchemaReservationRequest.instance_name) -} -inline std::string* CMsgGCDev_SchemaReservationRequest::mutable_instance_name() { - std::string* _s = _internal_mutable_instance_name(); - // @@protoc_insertion_point(field_mutable:CMsgGCDev_SchemaReservationRequest.instance_name) - return _s; -} -inline const std::string& CMsgGCDev_SchemaReservationRequest::_internal_instance_name() const { - return _impl_.instance_name_.Get(); -} -inline void CMsgGCDev_SchemaReservationRequest::_internal_set_instance_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.instance_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCDev_SchemaReservationRequest::_internal_mutable_instance_name() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.instance_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCDev_SchemaReservationRequest::release_instance_name() { - // @@protoc_insertion_point(field_release:CMsgGCDev_SchemaReservationRequest.instance_name) - if (!_internal_has_instance_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.instance_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.instance_name_.IsDefault()) { - _impl_.instance_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCDev_SchemaReservationRequest::set_allocated_instance_name(std::string* instance_name) { - if (instance_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.instance_name_.SetAllocated(instance_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.instance_name_.IsDefault()) { - _impl_.instance_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCDev_SchemaReservationRequest.instance_name) -} - -// optional uint64 context = 3; -inline bool CMsgGCDev_SchemaReservationRequest::_internal_has_context() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCDev_SchemaReservationRequest::has_context() const { - return _internal_has_context(); -} -inline void CMsgGCDev_SchemaReservationRequest::clear_context() { - _impl_.context_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgGCDev_SchemaReservationRequest::_internal_context() const { - return _impl_.context_; -} -inline uint64_t CMsgGCDev_SchemaReservationRequest::context() const { - // @@protoc_insertion_point(field_get:CMsgGCDev_SchemaReservationRequest.context) - return _internal_context(); -} -inline void CMsgGCDev_SchemaReservationRequest::_internal_set_context(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.context_ = value; -} -inline void CMsgGCDev_SchemaReservationRequest::set_context(uint64_t value) { - _internal_set_context(value); - // @@protoc_insertion_point(field_set:CMsgGCDev_SchemaReservationRequest.context) -} - -// optional uint64 id = 4; -inline bool CMsgGCDev_SchemaReservationRequest::_internal_has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCDev_SchemaReservationRequest::has_id() const { - return _internal_has_id(); -} -inline void CMsgGCDev_SchemaReservationRequest::clear_id() { - _impl_.id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CMsgGCDev_SchemaReservationRequest::_internal_id() const { - return _impl_.id_; -} -inline uint64_t CMsgGCDev_SchemaReservationRequest::id() const { - // @@protoc_insertion_point(field_get:CMsgGCDev_SchemaReservationRequest.id) - return _internal_id(); -} -inline void CMsgGCDev_SchemaReservationRequest::_internal_set_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.id_ = value; -} -inline void CMsgGCDev_SchemaReservationRequest::set_id(uint64_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:CMsgGCDev_SchemaReservationRequest.id) -} - -// ------------------------------------------------------------------- - -// CMsgCasketItem - -// optional uint64 casket_item_id = 1; -inline bool CMsgCasketItem::_internal_has_casket_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgCasketItem::has_casket_item_id() const { - return _internal_has_casket_item_id(); -} -inline void CMsgCasketItem::clear_casket_item_id() { - _impl_.casket_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgCasketItem::_internal_casket_item_id() const { - return _impl_.casket_item_id_; -} -inline uint64_t CMsgCasketItem::casket_item_id() const { - // @@protoc_insertion_point(field_get:CMsgCasketItem.casket_item_id) - return _internal_casket_item_id(); -} -inline void CMsgCasketItem::_internal_set_casket_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.casket_item_id_ = value; -} -inline void CMsgCasketItem::set_casket_item_id(uint64_t value) { - _internal_set_casket_item_id(value); - // @@protoc_insertion_point(field_set:CMsgCasketItem.casket_item_id) -} - -// optional uint64 item_item_id = 2; -inline bool CMsgCasketItem::_internal_has_item_item_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgCasketItem::has_item_item_id() const { - return _internal_has_item_item_id(); -} -inline void CMsgCasketItem::clear_item_item_id() { - _impl_.item_item_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgCasketItem::_internal_item_item_id() const { - return _impl_.item_item_id_; -} -inline uint64_t CMsgCasketItem::item_item_id() const { - // @@protoc_insertion_point(field_get:CMsgCasketItem.item_item_id) - return _internal_item_item_id(); -} -inline void CMsgCasketItem::_internal_set_item_item_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.item_item_id_ = value; -} -inline void CMsgCasketItem::set_item_item_id(uint64_t value) { - _internal_set_item_item_id(value); - // @@protoc_insertion_point(field_set:CMsgCasketItem.item_item_id) -} - -// ------------------------------------------------------------------- - -// CMsgGCUserTrackTimePlayedConsecutively - -// optional uint32 state = 1; -inline bool CMsgGCUserTrackTimePlayedConsecutively::_internal_has_state() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCUserTrackTimePlayedConsecutively::has_state() const { - return _internal_has_state(); -} -inline void CMsgGCUserTrackTimePlayedConsecutively::clear_state() { - _impl_.state_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCUserTrackTimePlayedConsecutively::_internal_state() const { - return _impl_.state_; -} -inline uint32_t CMsgGCUserTrackTimePlayedConsecutively::state() const { - // @@protoc_insertion_point(field_get:CMsgGCUserTrackTimePlayedConsecutively.state) - return _internal_state(); -} -inline void CMsgGCUserTrackTimePlayedConsecutively::_internal_set_state(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.state_ = value; -} -inline void CMsgGCUserTrackTimePlayedConsecutively::set_state(uint32_t value) { - _internal_set_state(value); - // @@protoc_insertion_point(field_set:CMsgGCUserTrackTimePlayedConsecutively.state) -} - -// ------------------------------------------------------------------- - -// CMsgGCItemCustomizationNotification - -// repeated uint64 item_id = 1; -inline int CMsgGCItemCustomizationNotification::_internal_item_id_size() const { - return _impl_.item_id_.size(); -} -inline int CMsgGCItemCustomizationNotification::item_id_size() const { - return _internal_item_id_size(); -} -inline void CMsgGCItemCustomizationNotification::clear_item_id() { - _impl_.item_id_.Clear(); -} -inline uint64_t CMsgGCItemCustomizationNotification::_internal_item_id(int index) const { - return _impl_.item_id_.Get(index); -} -inline uint64_t CMsgGCItemCustomizationNotification::item_id(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCItemCustomizationNotification.item_id) - return _internal_item_id(index); -} -inline void CMsgGCItemCustomizationNotification::set_item_id(int index, uint64_t value) { - _impl_.item_id_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCItemCustomizationNotification.item_id) -} -inline void CMsgGCItemCustomizationNotification::_internal_add_item_id(uint64_t value) { - _impl_.item_id_.Add(value); -} -inline void CMsgGCItemCustomizationNotification::add_item_id(uint64_t value) { - _internal_add_item_id(value); - // @@protoc_insertion_point(field_add:CMsgGCItemCustomizationNotification.item_id) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CMsgGCItemCustomizationNotification::_internal_item_id() const { - return _impl_.item_id_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CMsgGCItemCustomizationNotification::item_id() const { - // @@protoc_insertion_point(field_list:CMsgGCItemCustomizationNotification.item_id) - return _internal_item_id(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CMsgGCItemCustomizationNotification::_internal_mutable_item_id() { - return &_impl_.item_id_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CMsgGCItemCustomizationNotification::mutable_item_id() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCItemCustomizationNotification.item_id) - return _internal_mutable_item_id(); -} - -// optional uint32 request = 2; -inline bool CMsgGCItemCustomizationNotification::_internal_has_request() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCItemCustomizationNotification::has_request() const { - return _internal_has_request(); -} -inline void CMsgGCItemCustomizationNotification::clear_request() { - _impl_.request_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCItemCustomizationNotification::_internal_request() const { - return _impl_.request_; -} -inline uint32_t CMsgGCItemCustomizationNotification::request() const { - // @@protoc_insertion_point(field_get:CMsgGCItemCustomizationNotification.request) - return _internal_request(); -} -inline void CMsgGCItemCustomizationNotification::_internal_set_request(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.request_ = value; -} -inline void CMsgGCItemCustomizationNotification::set_request(uint32_t value) { - _internal_set_request(value); - // @@protoc_insertion_point(field_set:CMsgGCItemCustomizationNotification.request) -} - -// repeated uint64 extra_data = 3; -inline int CMsgGCItemCustomizationNotification::_internal_extra_data_size() const { - return _impl_.extra_data_.size(); -} -inline int CMsgGCItemCustomizationNotification::extra_data_size() const { - return _internal_extra_data_size(); -} -inline void CMsgGCItemCustomizationNotification::clear_extra_data() { - _impl_.extra_data_.Clear(); -} -inline uint64_t CMsgGCItemCustomizationNotification::_internal_extra_data(int index) const { - return _impl_.extra_data_.Get(index); -} -inline uint64_t CMsgGCItemCustomizationNotification::extra_data(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCItemCustomizationNotification.extra_data) - return _internal_extra_data(index); -} -inline void CMsgGCItemCustomizationNotification::set_extra_data(int index, uint64_t value) { - _impl_.extra_data_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCItemCustomizationNotification.extra_data) -} -inline void CMsgGCItemCustomizationNotification::_internal_add_extra_data(uint64_t value) { - _impl_.extra_data_.Add(value); -} -inline void CMsgGCItemCustomizationNotification::add_extra_data(uint64_t value) { - _internal_add_extra_data(value); - // @@protoc_insertion_point(field_add:CMsgGCItemCustomizationNotification.extra_data) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CMsgGCItemCustomizationNotification::_internal_extra_data() const { - return _impl_.extra_data_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CMsgGCItemCustomizationNotification::extra_data() const { - // @@protoc_insertion_point(field_list:CMsgGCItemCustomizationNotification.extra_data) - return _internal_extra_data(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CMsgGCItemCustomizationNotification::_internal_mutable_extra_data() { - return &_impl_.extra_data_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CMsgGCItemCustomizationNotification::mutable_extra_data() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCItemCustomizationNotification.extra_data) - return _internal_mutable_extra_data(); -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::EGCItemMsg> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EGCItemMsg>() { - return ::EGCItemMsg_descriptor(); -} -template <> struct is_proto_enum< ::EGCMsgResponse> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EGCMsgResponse>() { - return ::EGCMsgResponse_descriptor(); -} -template <> struct is_proto_enum< ::EUnlockStyle> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EUnlockStyle>() { - return ::EUnlockStyle_descriptor(); -} -template <> struct is_proto_enum< ::EGCItemCustomizationNotification> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EGCItemCustomizationNotification>() { - return ::EGCItemCustomizationNotification_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_econ_5fgcmessages_2eproto diff --git a/protobuf/generated/engine_gcmessages.pb.cc b/protobuf/generated/engine_gcmessages.pb.cc deleted file mode 100644 index 368e321b5..000000000 --- a/protobuf/generated/engine_gcmessages.pb.cc +++ /dev/null @@ -1,595 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: engine_gcmessages.proto - -#include "engine_gcmessages.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CEngineGotvSyncPacket::CEngineGotvSyncPacket( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.match_id_)*/uint64_t{0u} - , /*decltype(_impl_.instance_id_)*/0u - , /*decltype(_impl_.signupfragment_)*/0u - , /*decltype(_impl_.currentfragment_)*/0u - , /*decltype(_impl_.tickrate_)*/0 - , /*decltype(_impl_.tick_)*/0u - , /*decltype(_impl_.rtdelay_)*/0 - , /*decltype(_impl_.rcvage_)*/0 - , /*decltype(_impl_.keyframe_interval_)*/0 - , /*decltype(_impl_.cdndelay_)*/0u} {} -struct CEngineGotvSyncPacketDefaultTypeInternal { - PROTOBUF_CONSTEXPR CEngineGotvSyncPacketDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CEngineGotvSyncPacketDefaultTypeInternal() {} - union { - CEngineGotvSyncPacket _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEngineGotvSyncPacketDefaultTypeInternal _CEngineGotvSyncPacket_default_instance_; -static ::_pb::Metadata file_level_metadata_engine_5fgcmessages_2eproto[1]; -static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_engine_5fgcmessages_2eproto = nullptr; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_engine_5fgcmessages_2eproto = nullptr; - -const uint32_t TableStruct_engine_5fgcmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.match_id_), - PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.instance_id_), - PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.signupfragment_), - PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.currentfragment_), - PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.tickrate_), - PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.tick_), - PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.rtdelay_), - PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.rcvage_), - PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.keyframe_interval_), - PROTOBUF_FIELD_OFFSET(::CEngineGotvSyncPacket, _impl_.cdndelay_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 16, -1, sizeof(::CEngineGotvSyncPacket)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CEngineGotvSyncPacket_default_instance_._instance, -}; - -const char descriptor_table_protodef_engine_5fgcmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\027engine_gcmessages.proto\032 google/protob" - "uf/descriptor.proto\"\335\001\n\025CEngineGotvSyncP" - "acket\022\020\n\010match_id\030\001 \001(\004\022\023\n\013instance_id\030\002" - " \001(\r\022\026\n\016signupfragment\030\003 \001(\r\022\027\n\017currentf" - "ragment\030\004 \001(\r\022\020\n\010tickrate\030\005 \001(\002\022\014\n\004tick\030" - "\006 \001(\r\022\017\n\007rtdelay\030\010 \001(\002\022\016\n\006rcvage\030\t \001(\002\022\031" - "\n\021keyframe_interval\030\n \001(\002\022\020\n\010cdndelay\030\013 " - "\001(\r" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_engine_5fgcmessages_2eproto_deps[1] = { - &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, -}; -static ::_pbi::once_flag descriptor_table_engine_5fgcmessages_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_engine_5fgcmessages_2eproto = { - false, false, 283, descriptor_table_protodef_engine_5fgcmessages_2eproto, - "engine_gcmessages.proto", - &descriptor_table_engine_5fgcmessages_2eproto_once, descriptor_table_engine_5fgcmessages_2eproto_deps, 1, 1, - schemas, file_default_instances, TableStruct_engine_5fgcmessages_2eproto::offsets, - file_level_metadata_engine_5fgcmessages_2eproto, file_level_enum_descriptors_engine_5fgcmessages_2eproto, - file_level_service_descriptors_engine_5fgcmessages_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_engine_5fgcmessages_2eproto_getter() { - return &descriptor_table_engine_5fgcmessages_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_engine_5fgcmessages_2eproto(&descriptor_table_engine_5fgcmessages_2eproto); - -// =================================================================== - -class CEngineGotvSyncPacket::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_match_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_instance_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_signupfragment(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_currentfragment(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_tickrate(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_tick(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_rtdelay(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_rcvage(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_keyframe_interval(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_cdndelay(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } -}; - -CEngineGotvSyncPacket::CEngineGotvSyncPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CEngineGotvSyncPacket) -} -CEngineGotvSyncPacket::CEngineGotvSyncPacket(const CEngineGotvSyncPacket& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CEngineGotvSyncPacket* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.match_id_){} - , decltype(_impl_.instance_id_){} - , decltype(_impl_.signupfragment_){} - , decltype(_impl_.currentfragment_){} - , decltype(_impl_.tickrate_){} - , decltype(_impl_.tick_){} - , decltype(_impl_.rtdelay_){} - , decltype(_impl_.rcvage_){} - , decltype(_impl_.keyframe_interval_){} - , decltype(_impl_.cdndelay_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.match_id_, &from._impl_.match_id_, - static_cast(reinterpret_cast(&_impl_.cdndelay_) - - reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.cdndelay_)); - // @@protoc_insertion_point(copy_constructor:CEngineGotvSyncPacket) -} - -inline void CEngineGotvSyncPacket::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.match_id_){uint64_t{0u}} - , decltype(_impl_.instance_id_){0u} - , decltype(_impl_.signupfragment_){0u} - , decltype(_impl_.currentfragment_){0u} - , decltype(_impl_.tickrate_){0} - , decltype(_impl_.tick_){0u} - , decltype(_impl_.rtdelay_){0} - , decltype(_impl_.rcvage_){0} - , decltype(_impl_.keyframe_interval_){0} - , decltype(_impl_.cdndelay_){0u} - }; -} - -CEngineGotvSyncPacket::~CEngineGotvSyncPacket() { - // @@protoc_insertion_point(destructor:CEngineGotvSyncPacket) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CEngineGotvSyncPacket::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CEngineGotvSyncPacket::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CEngineGotvSyncPacket::Clear() { -// @@protoc_insertion_point(message_clear_start:CEngineGotvSyncPacket) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.match_id_, 0, static_cast( - reinterpret_cast(&_impl_.rcvage_) - - reinterpret_cast(&_impl_.match_id_)) + sizeof(_impl_.rcvage_)); - } - if (cached_has_bits & 0x00000300u) { - ::memset(&_impl_.keyframe_interval_, 0, static_cast( - reinterpret_cast(&_impl_.cdndelay_) - - reinterpret_cast(&_impl_.keyframe_interval_)) + sizeof(_impl_.cdndelay_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CEngineGotvSyncPacket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 match_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_match_id(&has_bits); - _impl_.match_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 instance_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_instance_id(&has_bits); - _impl_.instance_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 signupfragment = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_signupfragment(&has_bits); - _impl_.signupfragment_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 currentfragment = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_currentfragment(&has_bits); - _impl_.currentfragment_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float tickrate = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_tickrate(&has_bits); - _impl_.tickrate_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 tick = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_tick(&has_bits); - _impl_.tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float rtdelay = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { - _Internal::set_has_rtdelay(&has_bits); - _impl_.rtdelay_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float rcvage = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_rcvage(&has_bits); - _impl_.rcvage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float keyframe_interval = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { - _Internal::set_has_keyframe_interval(&has_bits); - _impl_.keyframe_interval_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 cdndelay = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_cdndelay(&has_bits); - _impl_.cdndelay_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CEngineGotvSyncPacket::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CEngineGotvSyncPacket) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 match_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_match_id(), target); - } - - // optional uint32 instance_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_instance_id(), target); - } - - // optional uint32 signupfragment = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_signupfragment(), target); - } - - // optional uint32 currentfragment = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_currentfragment(), target); - } - - // optional float tickrate = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_tickrate(), target); - } - - // optional uint32 tick = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_tick(), target); - } - - // optional float rtdelay = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_rtdelay(), target); - } - - // optional float rcvage = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_rcvage(), target); - } - - // optional float keyframe_interval = 10; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(10, this->_internal_keyframe_interval(), target); - } - - // optional uint32 cdndelay = 11; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_cdndelay(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CEngineGotvSyncPacket) - return target; -} - -size_t CEngineGotvSyncPacket::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CEngineGotvSyncPacket) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional uint64 match_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_match_id()); - } - - // optional uint32 instance_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_instance_id()); - } - - // optional uint32 signupfragment = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_signupfragment()); - } - - // optional uint32 currentfragment = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_currentfragment()); - } - - // optional float tickrate = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional uint32 tick = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tick()); - } - - // optional float rtdelay = 8; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional float rcvage = 9; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - if (cached_has_bits & 0x00000300u) { - // optional float keyframe_interval = 10; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 4; - } - - // optional uint32 cdndelay = 11; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cdndelay()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEngineGotvSyncPacket::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CEngineGotvSyncPacket::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEngineGotvSyncPacket::GetClassData() const { return &_class_data_; } - - -void CEngineGotvSyncPacket::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CEngineGotvSyncPacket) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.match_id_ = from._impl_.match_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.instance_id_ = from._impl_.instance_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.signupfragment_ = from._impl_.signupfragment_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.currentfragment_ = from._impl_.currentfragment_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.tickrate_ = from._impl_.tickrate_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.tick_ = from._impl_.tick_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.rtdelay_ = from._impl_.rtdelay_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.rcvage_ = from._impl_.rcvage_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000300u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.keyframe_interval_ = from._impl_.keyframe_interval_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.cdndelay_ = from._impl_.cdndelay_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CEngineGotvSyncPacket::CopyFrom(const CEngineGotvSyncPacket& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CEngineGotvSyncPacket) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CEngineGotvSyncPacket::IsInitialized() const { - return true; -} - -void CEngineGotvSyncPacket::InternalSwap(CEngineGotvSyncPacket* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CEngineGotvSyncPacket, _impl_.cdndelay_) - + sizeof(CEngineGotvSyncPacket::_impl_.cdndelay_) - - PROTOBUF_FIELD_OFFSET(CEngineGotvSyncPacket, _impl_.match_id_)>( - reinterpret_cast(&_impl_.match_id_), - reinterpret_cast(&other->_impl_.match_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CEngineGotvSyncPacket::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_engine_5fgcmessages_2eproto_getter, &descriptor_table_engine_5fgcmessages_2eproto_once, - file_level_metadata_engine_5fgcmessages_2eproto[0]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CEngineGotvSyncPacket* -Arena::CreateMaybeMessage< ::CEngineGotvSyncPacket >(Arena* arena) { - return Arena::CreateMessageInternal< ::CEngineGotvSyncPacket >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/engine_gcmessages.pb.h b/protobuf/generated/engine_gcmessages.pb.h deleted file mode 100644 index 1ed420122..000000000 --- a/protobuf/generated/engine_gcmessages.pb.h +++ /dev/null @@ -1,651 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: engine_gcmessages.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_engine_5fgcmessages_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_engine_5fgcmessages_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_engine_5fgcmessages_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_engine_5fgcmessages_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_engine_5fgcmessages_2eproto; -class CEngineGotvSyncPacket; -struct CEngineGotvSyncPacketDefaultTypeInternal; -extern CEngineGotvSyncPacketDefaultTypeInternal _CEngineGotvSyncPacket_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CEngineGotvSyncPacket* Arena::CreateMaybeMessage<::CEngineGotvSyncPacket>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -// =================================================================== - -class CEngineGotvSyncPacket : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEngineGotvSyncPacket) */ { - public: - inline CEngineGotvSyncPacket() : CEngineGotvSyncPacket(nullptr) {} - ~CEngineGotvSyncPacket() override; - explicit PROTOBUF_CONSTEXPR CEngineGotvSyncPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CEngineGotvSyncPacket(const CEngineGotvSyncPacket& from); - CEngineGotvSyncPacket(CEngineGotvSyncPacket&& from) noexcept - : CEngineGotvSyncPacket() { - *this = ::std::move(from); - } - - inline CEngineGotvSyncPacket& operator=(const CEngineGotvSyncPacket& from) { - CopyFrom(from); - return *this; - } - inline CEngineGotvSyncPacket& operator=(CEngineGotvSyncPacket&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CEngineGotvSyncPacket& default_instance() { - return *internal_default_instance(); - } - static inline const CEngineGotvSyncPacket* internal_default_instance() { - return reinterpret_cast( - &_CEngineGotvSyncPacket_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CEngineGotvSyncPacket& a, CEngineGotvSyncPacket& b) { - a.Swap(&b); - } - inline void Swap(CEngineGotvSyncPacket* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CEngineGotvSyncPacket* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CEngineGotvSyncPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CEngineGotvSyncPacket& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CEngineGotvSyncPacket& from) { - CEngineGotvSyncPacket::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CEngineGotvSyncPacket* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CEngineGotvSyncPacket"; - } - protected: - explicit CEngineGotvSyncPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMatchIdFieldNumber = 1, - kInstanceIdFieldNumber = 2, - kSignupfragmentFieldNumber = 3, - kCurrentfragmentFieldNumber = 4, - kTickrateFieldNumber = 5, - kTickFieldNumber = 6, - kRtdelayFieldNumber = 8, - kRcvageFieldNumber = 9, - kKeyframeIntervalFieldNumber = 10, - kCdndelayFieldNumber = 11, - }; - // optional uint64 match_id = 1; - bool has_match_id() const; - private: - bool _internal_has_match_id() const; - public: - void clear_match_id(); - uint64_t match_id() const; - void set_match_id(uint64_t value); - private: - uint64_t _internal_match_id() const; - void _internal_set_match_id(uint64_t value); - public: - - // optional uint32 instance_id = 2; - bool has_instance_id() const; - private: - bool _internal_has_instance_id() const; - public: - void clear_instance_id(); - uint32_t instance_id() const; - void set_instance_id(uint32_t value); - private: - uint32_t _internal_instance_id() const; - void _internal_set_instance_id(uint32_t value); - public: - - // optional uint32 signupfragment = 3; - bool has_signupfragment() const; - private: - bool _internal_has_signupfragment() const; - public: - void clear_signupfragment(); - uint32_t signupfragment() const; - void set_signupfragment(uint32_t value); - private: - uint32_t _internal_signupfragment() const; - void _internal_set_signupfragment(uint32_t value); - public: - - // optional uint32 currentfragment = 4; - bool has_currentfragment() const; - private: - bool _internal_has_currentfragment() const; - public: - void clear_currentfragment(); - uint32_t currentfragment() const; - void set_currentfragment(uint32_t value); - private: - uint32_t _internal_currentfragment() const; - void _internal_set_currentfragment(uint32_t value); - public: - - // optional float tickrate = 5; - bool has_tickrate() const; - private: - bool _internal_has_tickrate() const; - public: - void clear_tickrate(); - float tickrate() const; - void set_tickrate(float value); - private: - float _internal_tickrate() const; - void _internal_set_tickrate(float value); - public: - - // optional uint32 tick = 6; - bool has_tick() const; - private: - bool _internal_has_tick() const; - public: - void clear_tick(); - uint32_t tick() const; - void set_tick(uint32_t value); - private: - uint32_t _internal_tick() const; - void _internal_set_tick(uint32_t value); - public: - - // optional float rtdelay = 8; - bool has_rtdelay() const; - private: - bool _internal_has_rtdelay() const; - public: - void clear_rtdelay(); - float rtdelay() const; - void set_rtdelay(float value); - private: - float _internal_rtdelay() const; - void _internal_set_rtdelay(float value); - public: - - // optional float rcvage = 9; - bool has_rcvage() const; - private: - bool _internal_has_rcvage() const; - public: - void clear_rcvage(); - float rcvage() const; - void set_rcvage(float value); - private: - float _internal_rcvage() const; - void _internal_set_rcvage(float value); - public: - - // optional float keyframe_interval = 10; - bool has_keyframe_interval() const; - private: - bool _internal_has_keyframe_interval() const; - public: - void clear_keyframe_interval(); - float keyframe_interval() const; - void set_keyframe_interval(float value); - private: - float _internal_keyframe_interval() const; - void _internal_set_keyframe_interval(float value); - public: - - // optional uint32 cdndelay = 11; - bool has_cdndelay() const; - private: - bool _internal_has_cdndelay() const; - public: - void clear_cdndelay(); - uint32_t cdndelay() const; - void set_cdndelay(uint32_t value); - private: - uint32_t _internal_cdndelay() const; - void _internal_set_cdndelay(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CEngineGotvSyncPacket) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t match_id_; - uint32_t instance_id_; - uint32_t signupfragment_; - uint32_t currentfragment_; - float tickrate_; - uint32_t tick_; - float rtdelay_; - float rcvage_; - float keyframe_interval_; - uint32_t cdndelay_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_engine_5fgcmessages_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CEngineGotvSyncPacket - -// optional uint64 match_id = 1; -inline bool CEngineGotvSyncPacket::_internal_has_match_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CEngineGotvSyncPacket::has_match_id() const { - return _internal_has_match_id(); -} -inline void CEngineGotvSyncPacket::clear_match_id() { - _impl_.match_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CEngineGotvSyncPacket::_internal_match_id() const { - return _impl_.match_id_; -} -inline uint64_t CEngineGotvSyncPacket::match_id() const { - // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.match_id) - return _internal_match_id(); -} -inline void CEngineGotvSyncPacket::_internal_set_match_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.match_id_ = value; -} -inline void CEngineGotvSyncPacket::set_match_id(uint64_t value) { - _internal_set_match_id(value); - // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.match_id) -} - -// optional uint32 instance_id = 2; -inline bool CEngineGotvSyncPacket::_internal_has_instance_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CEngineGotvSyncPacket::has_instance_id() const { - return _internal_has_instance_id(); -} -inline void CEngineGotvSyncPacket::clear_instance_id() { - _impl_.instance_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CEngineGotvSyncPacket::_internal_instance_id() const { - return _impl_.instance_id_; -} -inline uint32_t CEngineGotvSyncPacket::instance_id() const { - // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.instance_id) - return _internal_instance_id(); -} -inline void CEngineGotvSyncPacket::_internal_set_instance_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.instance_id_ = value; -} -inline void CEngineGotvSyncPacket::set_instance_id(uint32_t value) { - _internal_set_instance_id(value); - // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.instance_id) -} - -// optional uint32 signupfragment = 3; -inline bool CEngineGotvSyncPacket::_internal_has_signupfragment() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CEngineGotvSyncPacket::has_signupfragment() const { - return _internal_has_signupfragment(); -} -inline void CEngineGotvSyncPacket::clear_signupfragment() { - _impl_.signupfragment_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CEngineGotvSyncPacket::_internal_signupfragment() const { - return _impl_.signupfragment_; -} -inline uint32_t CEngineGotvSyncPacket::signupfragment() const { - // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.signupfragment) - return _internal_signupfragment(); -} -inline void CEngineGotvSyncPacket::_internal_set_signupfragment(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.signupfragment_ = value; -} -inline void CEngineGotvSyncPacket::set_signupfragment(uint32_t value) { - _internal_set_signupfragment(value); - // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.signupfragment) -} - -// optional uint32 currentfragment = 4; -inline bool CEngineGotvSyncPacket::_internal_has_currentfragment() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CEngineGotvSyncPacket::has_currentfragment() const { - return _internal_has_currentfragment(); -} -inline void CEngineGotvSyncPacket::clear_currentfragment() { - _impl_.currentfragment_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CEngineGotvSyncPacket::_internal_currentfragment() const { - return _impl_.currentfragment_; -} -inline uint32_t CEngineGotvSyncPacket::currentfragment() const { - // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.currentfragment) - return _internal_currentfragment(); -} -inline void CEngineGotvSyncPacket::_internal_set_currentfragment(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.currentfragment_ = value; -} -inline void CEngineGotvSyncPacket::set_currentfragment(uint32_t value) { - _internal_set_currentfragment(value); - // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.currentfragment) -} - -// optional float tickrate = 5; -inline bool CEngineGotvSyncPacket::_internal_has_tickrate() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CEngineGotvSyncPacket::has_tickrate() const { - return _internal_has_tickrate(); -} -inline void CEngineGotvSyncPacket::clear_tickrate() { - _impl_.tickrate_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float CEngineGotvSyncPacket::_internal_tickrate() const { - return _impl_.tickrate_; -} -inline float CEngineGotvSyncPacket::tickrate() const { - // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.tickrate) - return _internal_tickrate(); -} -inline void CEngineGotvSyncPacket::_internal_set_tickrate(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.tickrate_ = value; -} -inline void CEngineGotvSyncPacket::set_tickrate(float value) { - _internal_set_tickrate(value); - // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.tickrate) -} - -// optional uint32 tick = 6; -inline bool CEngineGotvSyncPacket::_internal_has_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CEngineGotvSyncPacket::has_tick() const { - return _internal_has_tick(); -} -inline void CEngineGotvSyncPacket::clear_tick() { - _impl_.tick_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CEngineGotvSyncPacket::_internal_tick() const { - return _impl_.tick_; -} -inline uint32_t CEngineGotvSyncPacket::tick() const { - // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.tick) - return _internal_tick(); -} -inline void CEngineGotvSyncPacket::_internal_set_tick(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.tick_ = value; -} -inline void CEngineGotvSyncPacket::set_tick(uint32_t value) { - _internal_set_tick(value); - // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.tick) -} - -// optional float rtdelay = 8; -inline bool CEngineGotvSyncPacket::_internal_has_rtdelay() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CEngineGotvSyncPacket::has_rtdelay() const { - return _internal_has_rtdelay(); -} -inline void CEngineGotvSyncPacket::clear_rtdelay() { - _impl_.rtdelay_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline float CEngineGotvSyncPacket::_internal_rtdelay() const { - return _impl_.rtdelay_; -} -inline float CEngineGotvSyncPacket::rtdelay() const { - // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.rtdelay) - return _internal_rtdelay(); -} -inline void CEngineGotvSyncPacket::_internal_set_rtdelay(float value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.rtdelay_ = value; -} -inline void CEngineGotvSyncPacket::set_rtdelay(float value) { - _internal_set_rtdelay(value); - // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.rtdelay) -} - -// optional float rcvage = 9; -inline bool CEngineGotvSyncPacket::_internal_has_rcvage() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CEngineGotvSyncPacket::has_rcvage() const { - return _internal_has_rcvage(); -} -inline void CEngineGotvSyncPacket::clear_rcvage() { - _impl_.rcvage_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline float CEngineGotvSyncPacket::_internal_rcvage() const { - return _impl_.rcvage_; -} -inline float CEngineGotvSyncPacket::rcvage() const { - // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.rcvage) - return _internal_rcvage(); -} -inline void CEngineGotvSyncPacket::_internal_set_rcvage(float value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.rcvage_ = value; -} -inline void CEngineGotvSyncPacket::set_rcvage(float value) { - _internal_set_rcvage(value); - // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.rcvage) -} - -// optional float keyframe_interval = 10; -inline bool CEngineGotvSyncPacket::_internal_has_keyframe_interval() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CEngineGotvSyncPacket::has_keyframe_interval() const { - return _internal_has_keyframe_interval(); -} -inline void CEngineGotvSyncPacket::clear_keyframe_interval() { - _impl_.keyframe_interval_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline float CEngineGotvSyncPacket::_internal_keyframe_interval() const { - return _impl_.keyframe_interval_; -} -inline float CEngineGotvSyncPacket::keyframe_interval() const { - // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.keyframe_interval) - return _internal_keyframe_interval(); -} -inline void CEngineGotvSyncPacket::_internal_set_keyframe_interval(float value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.keyframe_interval_ = value; -} -inline void CEngineGotvSyncPacket::set_keyframe_interval(float value) { - _internal_set_keyframe_interval(value); - // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.keyframe_interval) -} - -// optional uint32 cdndelay = 11; -inline bool CEngineGotvSyncPacket::_internal_has_cdndelay() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CEngineGotvSyncPacket::has_cdndelay() const { - return _internal_has_cdndelay(); -} -inline void CEngineGotvSyncPacket::clear_cdndelay() { - _impl_.cdndelay_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CEngineGotvSyncPacket::_internal_cdndelay() const { - return _impl_.cdndelay_; -} -inline uint32_t CEngineGotvSyncPacket::cdndelay() const { - // @@protoc_insertion_point(field_get:CEngineGotvSyncPacket.cdndelay) - return _internal_cdndelay(); -} -inline void CEngineGotvSyncPacket::_internal_set_cdndelay(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.cdndelay_ = value; -} -inline void CEngineGotvSyncPacket::set_cdndelay(uint32_t value) { - _internal_set_cdndelay(value); - // @@protoc_insertion_point(field_set:CEngineGotvSyncPacket.cdndelay) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_engine_5fgcmessages_2eproto diff --git a/protobuf/generated/fatdemo.pb.cc b/protobuf/generated/fatdemo.pb.cc deleted file mode 100644 index 90649df3d..000000000 --- a/protobuf/generated/fatdemo.pb.cc +++ /dev/null @@ -1,4581 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: fatdemo.proto - -#include "fatdemo.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR MLDict::MLDict( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.val_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.val_int_)*/0 - , /*decltype(_impl_.val_float_)*/0} {} -struct MLDictDefaultTypeInternal { - PROTOBUF_CONSTEXPR MLDictDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~MLDictDefaultTypeInternal() {} - union { - MLDict _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MLDictDefaultTypeInternal _MLDict_default_instance_; -PROTOBUF_CONSTEXPR MLEvent::MLEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/{} - , /*decltype(_impl_.event_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct MLEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR MLEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~MLEventDefaultTypeInternal() {} - union { - MLEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MLEventDefaultTypeInternal _MLEvent_default_instance_; -PROTOBUF_CONSTEXPR MLMatchState::MLMatchState( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.game_mode_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.phase_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.round_)*/0 - , /*decltype(_impl_.score_ct_)*/0 - , /*decltype(_impl_.score_t_)*/0} {} -struct MLMatchStateDefaultTypeInternal { - PROTOBUF_CONSTEXPR MLMatchStateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~MLMatchStateDefaultTypeInternal() {} - union { - MLMatchState _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MLMatchStateDefaultTypeInternal _MLMatchState_default_instance_; -PROTOBUF_CONSTEXPR MLRoundState::MLRoundState( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.phase_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.bomb_state_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.win_team_)*/0} {} -struct MLRoundStateDefaultTypeInternal { - PROTOBUF_CONSTEXPR MLRoundStateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~MLRoundStateDefaultTypeInternal() {} - union { - MLRoundState _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MLRoundStateDefaultTypeInternal _MLRoundState_default_instance_; -PROTOBUF_CONSTEXPR MLWeaponState::MLWeaponState( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.state_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.index_)*/0 - , /*decltype(_impl_.type_)*/0 - , /*decltype(_impl_.ammo_clip_)*/0 - , /*decltype(_impl_.ammo_clip_max_)*/0 - , /*decltype(_impl_.ammo_reserve_)*/0 - , /*decltype(_impl_.recoil_index_)*/0} {} -struct MLWeaponStateDefaultTypeInternal { - PROTOBUF_CONSTEXPR MLWeaponStateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~MLWeaponStateDefaultTypeInternal() {} - union { - MLWeaponState _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MLWeaponStateDefaultTypeInternal _MLWeaponState_default_instance_; -PROTOBUF_CONSTEXPR MLPlayerState::MLPlayerState( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.weapons_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.clan_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.abspos_)*/nullptr - , /*decltype(_impl_.eyeangle_)*/nullptr - , /*decltype(_impl_.eyeangle_fwd_)*/nullptr - , /*decltype(_impl_.account_id_)*/0 - , /*decltype(_impl_.entindex_)*/0 - , /*decltype(_impl_.team_)*/0 - , /*decltype(_impl_.health_)*/0 - , /*decltype(_impl_.armor_)*/0 - , /*decltype(_impl_.flashed_)*/0 - , /*decltype(_impl_.smoked_)*/0 - , /*decltype(_impl_.money_)*/0 - , /*decltype(_impl_.round_kills_)*/0 - , /*decltype(_impl_.round_killhs_)*/0 - , /*decltype(_impl_.burning_)*/0 - , /*decltype(_impl_.helmet_)*/false - , /*decltype(_impl_.defuse_kit_)*/false - , /*decltype(_impl_.player_slot_)*/-1} {} -struct MLPlayerStateDefaultTypeInternal { - PROTOBUF_CONSTEXPR MLPlayerStateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~MLPlayerStateDefaultTypeInternal() {} - union { - MLPlayerState _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MLPlayerStateDefaultTypeInternal _MLPlayerState_default_instance_; -PROTOBUF_CONSTEXPR MLGameState::MLGameState( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.players_)*/{} - , /*decltype(_impl_.match_)*/nullptr - , /*decltype(_impl_.round_)*/nullptr} {} -struct MLGameStateDefaultTypeInternal { - PROTOBUF_CONSTEXPR MLGameStateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~MLGameStateDefaultTypeInternal() {} - union { - MLGameState _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MLGameStateDefaultTypeInternal _MLGameState_default_instance_; -PROTOBUF_CONSTEXPR MLDemoHeader::MLDemoHeader( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.map_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.tick_rate_)*/0 - , /*decltype(_impl_.version_)*/0u - , /*decltype(_impl_.steam_universe_)*/0u} {} -struct MLDemoHeaderDefaultTypeInternal { - PROTOBUF_CONSTEXPR MLDemoHeaderDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~MLDemoHeaderDefaultTypeInternal() {} - union { - MLDemoHeader _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MLDemoHeaderDefaultTypeInternal _MLDemoHeader_default_instance_; -PROTOBUF_CONSTEXPR MLTick::MLTick( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.events_)*/{} - , /*decltype(_impl_.state_)*/nullptr - , /*decltype(_impl_.tick_count_)*/0} {} -struct MLTickDefaultTypeInternal { - PROTOBUF_CONSTEXPR MLTickDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~MLTickDefaultTypeInternal() {} - union { - MLTick _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MLTickDefaultTypeInternal _MLTick_default_instance_; -PROTOBUF_CONSTEXPR VacNetShot::VacNetShot( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.delta_yaw_window_)*/{} - , /*decltype(_impl_.delta_pitch_window_)*/{} - , /*decltype(_impl_.steamid_player_)*/uint64_t{0u} - , /*decltype(_impl_.round_number_)*/0 - , /*decltype(_impl_.hit_type_)*/0 - , /*decltype(_impl_.weapon_type_)*/0 - , /*decltype(_impl_.distance_to_hurt_target_)*/0} {} -struct VacNetShotDefaultTypeInternal { - PROTOBUF_CONSTEXPR VacNetShotDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~VacNetShotDefaultTypeInternal() {} - union { - VacNetShot _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VacNetShotDefaultTypeInternal _VacNetShot_default_instance_; -static ::_pb::Metadata file_level_metadata_fatdemo_2eproto[10]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_fatdemo_2eproto[3]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_fatdemo_2eproto = nullptr; - -const uint32_t TableStruct_fatdemo_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::MLDict, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::MLDict, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::MLDict, _impl_.key_), - PROTOBUF_FIELD_OFFSET(::MLDict, _impl_.val_string_), - PROTOBUF_FIELD_OFFSET(::MLDict, _impl_.val_int_), - PROTOBUF_FIELD_OFFSET(::MLDict, _impl_.val_float_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::MLEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::MLEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::MLEvent, _impl_.event_name_), - PROTOBUF_FIELD_OFFSET(::MLEvent, _impl_.data_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::MLMatchState, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::MLMatchState, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::MLMatchState, _impl_.game_mode_), - PROTOBUF_FIELD_OFFSET(::MLMatchState, _impl_.phase_), - PROTOBUF_FIELD_OFFSET(::MLMatchState, _impl_.round_), - PROTOBUF_FIELD_OFFSET(::MLMatchState, _impl_.score_ct_), - PROTOBUF_FIELD_OFFSET(::MLMatchState, _impl_.score_t_), - 0, - 1, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::MLRoundState, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::MLRoundState, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::MLRoundState, _impl_.phase_), - PROTOBUF_FIELD_OFFSET(::MLRoundState, _impl_.win_team_), - PROTOBUF_FIELD_OFFSET(::MLRoundState, _impl_.bomb_state_), - 0, - 2, - 1, - PROTOBUF_FIELD_OFFSET(::MLWeaponState, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::MLWeaponState, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::MLWeaponState, _impl_.index_), - PROTOBUF_FIELD_OFFSET(::MLWeaponState, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::MLWeaponState, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::MLWeaponState, _impl_.ammo_clip_), - PROTOBUF_FIELD_OFFSET(::MLWeaponState, _impl_.ammo_clip_max_), - PROTOBUF_FIELD_OFFSET(::MLWeaponState, _impl_.ammo_reserve_), - PROTOBUF_FIELD_OFFSET(::MLWeaponState, _impl_.state_), - PROTOBUF_FIELD_OFFSET(::MLWeaponState, _impl_.recoil_index_), - 2, - 0, - 3, - 4, - 5, - 6, - 1, - 7, - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.player_slot_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.entindex_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.clan_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.team_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.abspos_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.eyeangle_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.eyeangle_fwd_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.health_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.armor_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.flashed_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.smoked_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.money_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.round_kills_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.round_killhs_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.burning_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.helmet_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.defuse_kit_), - PROTOBUF_FIELD_OFFSET(::MLPlayerState, _impl_.weapons_), - 5, - 18, - 6, - 0, - 1, - 7, - 2, - 3, - 4, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - ~0u, - PROTOBUF_FIELD_OFFSET(::MLGameState, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::MLGameState, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::MLGameState, _impl_.match_), - PROTOBUF_FIELD_OFFSET(::MLGameState, _impl_.round_), - PROTOBUF_FIELD_OFFSET(::MLGameState, _impl_.players_), - 0, - 1, - ~0u, - PROTOBUF_FIELD_OFFSET(::MLDemoHeader, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::MLDemoHeader, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::MLDemoHeader, _impl_.map_name_), - PROTOBUF_FIELD_OFFSET(::MLDemoHeader, _impl_.tick_rate_), - PROTOBUF_FIELD_OFFSET(::MLDemoHeader, _impl_.version_), - PROTOBUF_FIELD_OFFSET(::MLDemoHeader, _impl_.steam_universe_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::MLTick, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::MLTick, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::MLTick, _impl_.tick_count_), - PROTOBUF_FIELD_OFFSET(::MLTick, _impl_.state_), - PROTOBUF_FIELD_OFFSET(::MLTick, _impl_.events_), - 1, - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::VacNetShot, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::VacNetShot, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::VacNetShot, _impl_.steamid_player_), - PROTOBUF_FIELD_OFFSET(::VacNetShot, _impl_.round_number_), - PROTOBUF_FIELD_OFFSET(::VacNetShot, _impl_.hit_type_), - PROTOBUF_FIELD_OFFSET(::VacNetShot, _impl_.weapon_type_), - PROTOBUF_FIELD_OFFSET(::VacNetShot, _impl_.distance_to_hurt_target_), - PROTOBUF_FIELD_OFFSET(::VacNetShot, _impl_.delta_yaw_window_), - PROTOBUF_FIELD_OFFSET(::VacNetShot, _impl_.delta_pitch_window_), - 0, - 1, - 2, - 3, - 4, - ~0u, - ~0u, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 10, -1, sizeof(::MLDict)}, - { 14, 22, -1, sizeof(::MLEvent)}, - { 24, 35, -1, sizeof(::MLMatchState)}, - { 40, 49, -1, sizeof(::MLRoundState)}, - { 52, 66, -1, sizeof(::MLWeaponState)}, - { 74, 100, -1, sizeof(::MLPlayerState)}, - { 120, 129, -1, sizeof(::MLGameState)}, - { 132, 142, -1, sizeof(::MLDemoHeader)}, - { 146, 155, -1, sizeof(::MLTick)}, - { 158, 171, -1, sizeof(::VacNetShot)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_MLDict_default_instance_._instance, - &::_MLEvent_default_instance_._instance, - &::_MLMatchState_default_instance_._instance, - &::_MLRoundState_default_instance_._instance, - &::_MLWeaponState_default_instance_._instance, - &::_MLPlayerState_default_instance_._instance, - &::_MLGameState_default_instance_._instance, - &::_MLDemoHeader_default_instance_._instance, - &::_MLTick_default_instance_._instance, - &::_VacNetShot_default_instance_._instance, -}; - -const char descriptor_table_protodef_fatdemo_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\rfatdemo.proto\032\026networkbasetypes.proto\"" - "M\n\006MLDict\022\013\n\003key\030\001 \001(\t\022\022\n\nval_string\030\002 \001" - "(\t\022\017\n\007val_int\030\003 \001(\005\022\021\n\tval_float\030\004 \001(\002\"4" - "\n\007MLEvent\022\022\n\nevent_name\030\001 \001(\t\022\025\n\004data\030\002 " - "\003(\0132\007.MLDict\"b\n\014MLMatchState\022\021\n\tgame_mod" - "e\030\001 \001(\t\022\r\n\005phase\030\002 \001(\t\022\r\n\005round\030\003 \001(\005\022\020\n" - "\010score_ct\030\004 \001(\005\022\017\n\007score_t\030\005 \001(\005\"W\n\014MLRo" - "undState\022\r\n\005phase\030\001 \001(\t\022$\n\010win_team\030\002 \001(" - "\0162\006.ETeam:\nET_Unknown\022\022\n\nbomb_state\030\003 \001(" - "\t\"\270\001\n\rMLWeaponState\022\r\n\005index\030\001 \001(\005\022\014\n\004na" - "me\030\002 \001(\t\022%\n\004type\030\003 \001(\0162\014.EWeaponType:\tEW" - "T_Knife\022\021\n\tammo_clip\030\004 \001(\005\022\025\n\rammo_clip_" - "max\030\005 \001(\005\022\024\n\014ammo_reserve\030\006 \001(\005\022\r\n\005state" - "\030\007 \001(\t\022\024\n\014recoil_index\030\010 \001(\002\"\273\003\n\rMLPlaye" - "rState\022\022\n\naccount_id\030\001 \001(\005\022\027\n\013player_slo" - "t\030\002 \001(\005:\002-1\022\020\n\010entindex\030\003 \001(\005\022\014\n\004name\030\004 " - "\001(\t\022\014\n\004clan\030\005 \001(\t\022 \n\004team\030\006 \001(\0162\006.ETeam:" - "\nET_Unknown\022\033\n\006abspos\030\007 \001(\0132\013.CMsgVector" - "\022\035\n\010eyeangle\030\010 \001(\0132\013.CMsgQAngle\022!\n\014eyean" - "gle_fwd\030\t \001(\0132\013.CMsgVector\022\016\n\006health\030\n \001" - "(\005\022\r\n\005armor\030\013 \001(\005\022\017\n\007flashed\030\014 \001(\002\022\016\n\006sm" - "oked\030\r \001(\002\022\r\n\005money\030\016 \001(\005\022\023\n\013round_kills" - "\030\017 \001(\005\022\024\n\014round_killhs\030\020 \001(\005\022\017\n\007burning\030" - "\021 \001(\002\022\016\n\006helmet\030\022 \001(\010\022\022\n\ndefuse_kit\030\023 \001(" - "\010\022\037\n\007weapons\030\024 \003(\0132\016.MLWeaponState\"j\n\013ML" - "GameState\022\034\n\005match\030\001 \001(\0132\r.MLMatchState\022" - "\034\n\005round\030\002 \001(\0132\r.MLRoundState\022\037\n\007players" - "\030\003 \003(\0132\016.MLPlayerState\"\\\n\014MLDemoHeader\022\020" - "\n\010map_name\030\001 \001(\t\022\021\n\ttick_rate\030\002 \001(\005\022\017\n\007v" - "ersion\030\003 \001(\r\022\026\n\016steam_universe\030\004 \001(\r\"S\n\006" - "MLTick\022\022\n\ntick_count\030\001 \001(\005\022\033\n\005state\030\002 \001(" - "\0132\014.MLGameState\022\030\n\006events\030\003 \003(\0132\010.MLEven" - "t\"\270\001\n\nVacNetShot\022\026\n\016steamid_player\030\001 \001(\006" - "\022\024\n\014round_number\030\002 \001(\005\022\020\n\010hit_type\030\003 \001(\005" - "\022\023\n\013weapon_type\030\004 \001(\005\022\037\n\027distance_to_hur" - "t_target\030\005 \001(\002\022\030\n\020delta_yaw_window\030\006 \003(\002" - "\022\032\n\022delta_pitch_window\030\007 \003(\002*\254\001\n\tEHitGro" - "up\022\017\n\013EHG_Generic\020\000\022\014\n\010EHG_Head\020\001\022\r\n\tEHG" - "_Chest\020\002\022\017\n\013EHG_Stomach\020\003\022\017\n\013EHG_LeftArm" - "\020\004\022\020\n\014EHG_RightArm\020\005\022\017\n\013EHG_LeftLeg\020\006\022\020\n" - "\014EHG_RightLeg\020\007\022\014\n\010EHG_Gear\020\010\022\014\n\010EHG_Mis" - "s\020\t*F\n\005ETeam\022\016\n\nET_Unknown\020\000\022\020\n\014ET_Spect" - "ator\020\001\022\020\n\014ET_Terrorist\020\002\022\t\n\005ET_CT\020\003*\344\001\n\013" - "EWeaponType\022\r\n\tEWT_Knife\020\000\022\016\n\nEWT_Pistol" - "\020\001\022\025\n\021EWT_SubMachineGun\020\002\022\r\n\tEWT_Rifle\020\003" - "\022\017\n\013EWT_Shotgun\020\004\022\023\n\017EWT_SniperRifle\020\005\022\022" - "\n\016EWT_MachineGun\020\006\022\n\n\006EWT_C4\020\007\022\017\n\013EWT_Gr" - "enade\020\010\022\021\n\rEWT_Equipment\020\t\022\025\n\021EWT_Stacka" - "bleItem\020\n\022\017\n\013EWT_Unknown\020\013" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_fatdemo_2eproto_deps[1] = { - &::descriptor_table_networkbasetypes_2eproto, -}; -static ::_pbi::once_flag descriptor_table_fatdemo_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_fatdemo_2eproto = { - false, false, 1946, descriptor_table_protodef_fatdemo_2eproto, - "fatdemo.proto", - &descriptor_table_fatdemo_2eproto_once, descriptor_table_fatdemo_2eproto_deps, 1, 10, - schemas, file_default_instances, TableStruct_fatdemo_2eproto::offsets, - file_level_metadata_fatdemo_2eproto, file_level_enum_descriptors_fatdemo_2eproto, - file_level_service_descriptors_fatdemo_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_fatdemo_2eproto_getter() { - return &descriptor_table_fatdemo_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_fatdemo_2eproto(&descriptor_table_fatdemo_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EHitGroup_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_fatdemo_2eproto); - return file_level_enum_descriptors_fatdemo_2eproto[0]; -} -bool EHitGroup_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ETeam_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_fatdemo_2eproto); - return file_level_enum_descriptors_fatdemo_2eproto[1]; -} -bool ETeam_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EWeaponType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_fatdemo_2eproto); - return file_level_enum_descriptors_fatdemo_2eproto[2]; -} -bool EWeaponType_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - return true; - default: - return false; - } -} - - -// =================================================================== - -class MLDict::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_key(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_val_string(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_val_int(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_val_float(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -MLDict::MLDict(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:MLDict) -} -MLDict::MLDict(const MLDict& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - MLDict* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.key_){} - , decltype(_impl_.val_string_){} - , decltype(_impl_.val_int_){} - , decltype(_impl_.val_float_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_key()) { - _this->_impl_.key_.Set(from._internal_key(), - _this->GetArenaForAllocation()); - } - _impl_.val_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.val_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_val_string()) { - _this->_impl_.val_string_.Set(from._internal_val_string(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.val_int_, &from._impl_.val_int_, - static_cast(reinterpret_cast(&_impl_.val_float_) - - reinterpret_cast(&_impl_.val_int_)) + sizeof(_impl_.val_float_)); - // @@protoc_insertion_point(copy_constructor:MLDict) -} - -inline void MLDict::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.key_){} - , decltype(_impl_.val_string_){} - , decltype(_impl_.val_int_){0} - , decltype(_impl_.val_float_){0} - }; - _impl_.key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.val_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.val_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -MLDict::~MLDict() { - // @@protoc_insertion_point(destructor:MLDict) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void MLDict::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.key_.Destroy(); - _impl_.val_string_.Destroy(); -} - -void MLDict::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void MLDict::Clear() { -// @@protoc_insertion_point(message_clear_start:MLDict) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.key_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.val_string_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000000cu) { - ::memset(&_impl_.val_int_, 0, static_cast( - reinterpret_cast(&_impl_.val_float_) - - reinterpret_cast(&_impl_.val_int_)) + sizeof(_impl_.val_float_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* MLDict::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string key = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_key(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "MLDict.key"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string val_string = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_val_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "MLDict.val_string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 val_int = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_val_int(&has_bits); - _impl_.val_int_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float val_float = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_val_float(&has_bits); - _impl_.val_float_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* MLDict::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:MLDict) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string key = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_key().data(), static_cast(this->_internal_key().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "MLDict.key"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_key(), target); - } - - // optional string val_string = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_val_string().data(), static_cast(this->_internal_val_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "MLDict.val_string"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_val_string(), target); - } - - // optional int32 val_int = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_val_int(), target); - } - - // optional float val_float = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_val_float(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:MLDict) - return target; -} - -size_t MLDict::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:MLDict) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string key = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_key()); - } - - // optional string val_string = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_val_string()); - } - - // optional int32 val_int = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val_int()); - } - - // optional float val_float = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MLDict::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - MLDict::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MLDict::GetClassData() const { return &_class_data_; } - - -void MLDict::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:MLDict) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_key(from._internal_key()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_val_string(from._internal_val_string()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.val_int_ = from._impl_.val_int_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.val_float_ = from._impl_.val_float_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void MLDict::CopyFrom(const MLDict& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:MLDict) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool MLDict::IsInitialized() const { - return true; -} - -void MLDict::InternalSwap(MLDict* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.key_, lhs_arena, - &other->_impl_.key_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.val_string_, lhs_arena, - &other->_impl_.val_string_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(MLDict, _impl_.val_float_) - + sizeof(MLDict::_impl_.val_float_) - - PROTOBUF_FIELD_OFFSET(MLDict, _impl_.val_int_)>( - reinterpret_cast(&_impl_.val_int_), - reinterpret_cast(&other->_impl_.val_int_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata MLDict::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, - file_level_metadata_fatdemo_2eproto[0]); -} - -// =================================================================== - -class MLEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_event_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -MLEvent::MLEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:MLEvent) -} -MLEvent::MLEvent(const MLEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - MLEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){from._impl_.data_} - , decltype(_impl_.event_name_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.event_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_event_name()) { - _this->_impl_.event_name_.Set(from._internal_event_name(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:MLEvent) -} - -inline void MLEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){arena} - , decltype(_impl_.event_name_){} - }; - _impl_.event_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -MLEvent::~MLEvent() { - // @@protoc_insertion_point(destructor:MLEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void MLEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_.~RepeatedPtrField(); - _impl_.event_name_.Destroy(); -} - -void MLEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void MLEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:MLEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.data_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.event_name_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* MLEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string event_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_event_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "MLEvent.event_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated .MLDict data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_data(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* MLEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:MLEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string event_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_event_name().data(), static_cast(this->_internal_event_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "MLEvent.event_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_event_name(), target); - } - - // repeated .MLDict data = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_data_size()); i < n; i++) { - const auto& repfield = this->_internal_data(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:MLEvent) - return target; -} - -size_t MLEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:MLEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .MLDict data = 2; - total_size += 1UL * this->_internal_data_size(); - for (const auto& msg : this->_impl_.data_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional string event_name = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_event_name()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MLEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - MLEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MLEvent::GetClassData() const { return &_class_data_; } - - -void MLEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:MLEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.data_.MergeFrom(from._impl_.data_); - if (from._internal_has_event_name()) { - _this->_internal_set_event_name(from._internal_event_name()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void MLEvent::CopyFrom(const MLEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:MLEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool MLEvent::IsInitialized() const { - return true; -} - -void MLEvent::InternalSwap(MLEvent* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.data_.InternalSwap(&other->_impl_.data_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.event_name_, lhs_arena, - &other->_impl_.event_name_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata MLEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, - file_level_metadata_fatdemo_2eproto[1]); -} - -// =================================================================== - -class MLMatchState::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_game_mode(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_phase(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_round(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_score_ct(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_score_t(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -MLMatchState::MLMatchState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:MLMatchState) -} -MLMatchState::MLMatchState(const MLMatchState& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - MLMatchState* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.game_mode_){} - , decltype(_impl_.phase_){} - , decltype(_impl_.round_){} - , decltype(_impl_.score_ct_){} - , decltype(_impl_.score_t_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.game_mode_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_mode_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_game_mode()) { - _this->_impl_.game_mode_.Set(from._internal_game_mode(), - _this->GetArenaForAllocation()); - } - _impl_.phase_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.phase_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_phase()) { - _this->_impl_.phase_.Set(from._internal_phase(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.round_, &from._impl_.round_, - static_cast(reinterpret_cast(&_impl_.score_t_) - - reinterpret_cast(&_impl_.round_)) + sizeof(_impl_.score_t_)); - // @@protoc_insertion_point(copy_constructor:MLMatchState) -} - -inline void MLMatchState::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.game_mode_){} - , decltype(_impl_.phase_){} - , decltype(_impl_.round_){0} - , decltype(_impl_.score_ct_){0} - , decltype(_impl_.score_t_){0} - }; - _impl_.game_mode_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_mode_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.phase_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.phase_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -MLMatchState::~MLMatchState() { - // @@protoc_insertion_point(destructor:MLMatchState) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void MLMatchState::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.game_mode_.Destroy(); - _impl_.phase_.Destroy(); -} - -void MLMatchState::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void MLMatchState::Clear() { -// @@protoc_insertion_point(message_clear_start:MLMatchState) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.game_mode_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.phase_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000001cu) { - ::memset(&_impl_.round_, 0, static_cast( - reinterpret_cast(&_impl_.score_t_) - - reinterpret_cast(&_impl_.round_)) + sizeof(_impl_.score_t_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* MLMatchState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string game_mode = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_game_mode(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "MLMatchState.game_mode"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string phase = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_phase(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "MLMatchState.phase"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 round = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_round(&has_bits); - _impl_.round_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 score_ct = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_score_ct(&has_bits); - _impl_.score_ct_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 score_t = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_score_t(&has_bits); - _impl_.score_t_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* MLMatchState::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:MLMatchState) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string game_mode = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_game_mode().data(), static_cast(this->_internal_game_mode().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "MLMatchState.game_mode"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_game_mode(), target); - } - - // optional string phase = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_phase().data(), static_cast(this->_internal_phase().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "MLMatchState.phase"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_phase(), target); - } - - // optional int32 round = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_round(), target); - } - - // optional int32 score_ct = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_score_ct(), target); - } - - // optional int32 score_t = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_score_t(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:MLMatchState) - return target; -} - -size_t MLMatchState::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:MLMatchState) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional string game_mode = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_game_mode()); - } - - // optional string phase = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_phase()); - } - - // optional int32 round = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_round()); - } - - // optional int32 score_ct = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_score_ct()); - } - - // optional int32 score_t = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_score_t()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MLMatchState::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - MLMatchState::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MLMatchState::GetClassData() const { return &_class_data_; } - - -void MLMatchState::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:MLMatchState) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_game_mode(from._internal_game_mode()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_phase(from._internal_phase()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.round_ = from._impl_.round_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.score_ct_ = from._impl_.score_ct_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.score_t_ = from._impl_.score_t_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void MLMatchState::CopyFrom(const MLMatchState& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:MLMatchState) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool MLMatchState::IsInitialized() const { - return true; -} - -void MLMatchState::InternalSwap(MLMatchState* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.game_mode_, lhs_arena, - &other->_impl_.game_mode_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.phase_, lhs_arena, - &other->_impl_.phase_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(MLMatchState, _impl_.score_t_) - + sizeof(MLMatchState::_impl_.score_t_) - - PROTOBUF_FIELD_OFFSET(MLMatchState, _impl_.round_)>( - reinterpret_cast(&_impl_.round_), - reinterpret_cast(&other->_impl_.round_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata MLMatchState::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, - file_level_metadata_fatdemo_2eproto[2]); -} - -// =================================================================== - -class MLRoundState::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_phase(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_win_team(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_bomb_state(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -MLRoundState::MLRoundState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:MLRoundState) -} -MLRoundState::MLRoundState(const MLRoundState& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - MLRoundState* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.phase_){} - , decltype(_impl_.bomb_state_){} - , decltype(_impl_.win_team_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.phase_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.phase_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_phase()) { - _this->_impl_.phase_.Set(from._internal_phase(), - _this->GetArenaForAllocation()); - } - _impl_.bomb_state_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.bomb_state_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_bomb_state()) { - _this->_impl_.bomb_state_.Set(from._internal_bomb_state(), - _this->GetArenaForAllocation()); - } - _this->_impl_.win_team_ = from._impl_.win_team_; - // @@protoc_insertion_point(copy_constructor:MLRoundState) -} - -inline void MLRoundState::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.phase_){} - , decltype(_impl_.bomb_state_){} - , decltype(_impl_.win_team_){0} - }; - _impl_.phase_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.phase_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.bomb_state_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.bomb_state_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -MLRoundState::~MLRoundState() { - // @@protoc_insertion_point(destructor:MLRoundState) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void MLRoundState::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.phase_.Destroy(); - _impl_.bomb_state_.Destroy(); -} - -void MLRoundState::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void MLRoundState::Clear() { -// @@protoc_insertion_point(message_clear_start:MLRoundState) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.phase_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.bomb_state_.ClearNonDefaultToEmpty(); - } - } - _impl_.win_team_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* MLRoundState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string phase = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_phase(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "MLRoundState.phase"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional .ETeam win_team = 2 [default = ET_Unknown]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::ETeam_IsValid(val))) { - _internal_set_win_team(static_cast<::ETeam>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional string bomb_state = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_bomb_state(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "MLRoundState.bomb_state"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* MLRoundState::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:MLRoundState) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string phase = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_phase().data(), static_cast(this->_internal_phase().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "MLRoundState.phase"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_phase(), target); - } - - // optional .ETeam win_team = 2 [default = ET_Unknown]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this->_internal_win_team(), target); - } - - // optional string bomb_state = 3; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_bomb_state().data(), static_cast(this->_internal_bomb_state().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "MLRoundState.bomb_state"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_bomb_state(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:MLRoundState) - return target; -} - -size_t MLRoundState::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:MLRoundState) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string phase = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_phase()); - } - - // optional string bomb_state = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_bomb_state()); - } - - // optional .ETeam win_team = 2 [default = ET_Unknown]; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_win_team()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MLRoundState::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - MLRoundState::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MLRoundState::GetClassData() const { return &_class_data_; } - - -void MLRoundState::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:MLRoundState) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_phase(from._internal_phase()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_bomb_state(from._internal_bomb_state()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.win_team_ = from._impl_.win_team_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void MLRoundState::CopyFrom(const MLRoundState& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:MLRoundState) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool MLRoundState::IsInitialized() const { - return true; -} - -void MLRoundState::InternalSwap(MLRoundState* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.phase_, lhs_arena, - &other->_impl_.phase_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.bomb_state_, lhs_arena, - &other->_impl_.bomb_state_, rhs_arena - ); - swap(_impl_.win_team_, other->_impl_.win_team_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata MLRoundState::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, - file_level_metadata_fatdemo_2eproto[3]); -} - -// =================================================================== - -class MLWeaponState::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_index(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_ammo_clip(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_ammo_clip_max(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_ammo_reserve(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_state(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_recoil_index(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } -}; - -MLWeaponState::MLWeaponState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:MLWeaponState) -} -MLWeaponState::MLWeaponState(const MLWeaponState& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - MLWeaponState* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.state_){} - , decltype(_impl_.index_){} - , decltype(_impl_.type_){} - , decltype(_impl_.ammo_clip_){} - , decltype(_impl_.ammo_clip_max_){} - , decltype(_impl_.ammo_reserve_){} - , decltype(_impl_.recoil_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.state_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.state_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_state()) { - _this->_impl_.state_.Set(from._internal_state(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.index_, &from._impl_.index_, - static_cast(reinterpret_cast(&_impl_.recoil_index_) - - reinterpret_cast(&_impl_.index_)) + sizeof(_impl_.recoil_index_)); - // @@protoc_insertion_point(copy_constructor:MLWeaponState) -} - -inline void MLWeaponState::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.state_){} - , decltype(_impl_.index_){0} - , decltype(_impl_.type_){0} - , decltype(_impl_.ammo_clip_){0} - , decltype(_impl_.ammo_clip_max_){0} - , decltype(_impl_.ammo_reserve_){0} - , decltype(_impl_.recoil_index_){0} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.state_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.state_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -MLWeaponState::~MLWeaponState() { - // @@protoc_insertion_point(destructor:MLWeaponState) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void MLWeaponState::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); - _impl_.state_.Destroy(); -} - -void MLWeaponState::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void MLWeaponState::Clear() { -// @@protoc_insertion_point(message_clear_start:MLWeaponState) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.state_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000fcu) { - ::memset(&_impl_.index_, 0, static_cast( - reinterpret_cast(&_impl_.recoil_index_) - - reinterpret_cast(&_impl_.index_)) + sizeof(_impl_.recoil_index_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* MLWeaponState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 index = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_index(&has_bits); - _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "MLWeaponState.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional .EWeaponType type = 3 [default = EWT_Knife]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::EWeaponType_IsValid(val))) { - _internal_set_type(static_cast<::EWeaponType>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional int32 ammo_clip = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_ammo_clip(&has_bits); - _impl_.ammo_clip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 ammo_clip_max = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_ammo_clip_max(&has_bits); - _impl_.ammo_clip_max_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 ammo_reserve = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_ammo_reserve(&has_bits); - _impl_.ammo_reserve_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string state = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_state(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "MLWeaponState.state"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional float recoil_index = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { - _Internal::set_has_recoil_index(&has_bits); - _impl_.recoil_index_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* MLWeaponState::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:MLWeaponState) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 index = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_index(), target); - } - - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "MLWeaponState.name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_name(), target); - } - - // optional .EWeaponType type = 3 [default = EWT_Knife]; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 3, this->_internal_type(), target); - } - - // optional int32 ammo_clip = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_ammo_clip(), target); - } - - // optional int32 ammo_clip_max = 5; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_ammo_clip_max(), target); - } - - // optional int32 ammo_reserve = 6; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_ammo_reserve(), target); - } - - // optional string state = 7; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_state().data(), static_cast(this->_internal_state().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "MLWeaponState.state"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_state(), target); - } - - // optional float recoil_index = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_recoil_index(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:MLWeaponState) - return target; -} - -size_t MLWeaponState::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:MLWeaponState) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional string state = 7; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_state()); - } - - // optional int32 index = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_index()); - } - - // optional .EWeaponType type = 3 [default = EWT_Knife]; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); - } - - // optional int32 ammo_clip = 4; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ammo_clip()); - } - - // optional int32 ammo_clip_max = 5; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ammo_clip_max()); - } - - // optional int32 ammo_reserve = 6; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ammo_reserve()); - } - - // optional float recoil_index = 8; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MLWeaponState::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - MLWeaponState::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MLWeaponState::GetClassData() const { return &_class_data_; } - - -void MLWeaponState::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:MLWeaponState) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_state(from._internal_state()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.index_ = from._impl_.index_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.type_ = from._impl_.type_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.ammo_clip_ = from._impl_.ammo_clip_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.ammo_clip_max_ = from._impl_.ammo_clip_max_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.ammo_reserve_ = from._impl_.ammo_reserve_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.recoil_index_ = from._impl_.recoil_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void MLWeaponState::CopyFrom(const MLWeaponState& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:MLWeaponState) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool MLWeaponState::IsInitialized() const { - return true; -} - -void MLWeaponState::InternalSwap(MLWeaponState* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.state_, lhs_arena, - &other->_impl_.state_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(MLWeaponState, _impl_.recoil_index_) - + sizeof(MLWeaponState::_impl_.recoil_index_) - - PROTOBUF_FIELD_OFFSET(MLWeaponState, _impl_.index_)>( - reinterpret_cast(&_impl_.index_), - reinterpret_cast(&other->_impl_.index_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata MLWeaponState::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, - file_level_metadata_fatdemo_2eproto[4]); -} - -// =================================================================== - -class MLPlayerState::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_player_slot(HasBits* has_bits) { - (*has_bits)[0] |= 262144u; - } - static void set_has_entindex(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_clan(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_team(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static const ::CMsgVector& abspos(const MLPlayerState* msg); - static void set_has_abspos(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgQAngle& eyeangle(const MLPlayerState* msg); - static void set_has_eyeangle(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CMsgVector& eyeangle_fwd(const MLPlayerState* msg); - static void set_has_eyeangle_fwd(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_health(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_armor(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_flashed(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_smoked(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_money(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_round_kills(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_round_killhs(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_burning(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_helmet(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_defuse_kit(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } -}; - -const ::CMsgVector& -MLPlayerState::_Internal::abspos(const MLPlayerState* msg) { - return *msg->_impl_.abspos_; -} -const ::CMsgQAngle& -MLPlayerState::_Internal::eyeangle(const MLPlayerState* msg) { - return *msg->_impl_.eyeangle_; -} -const ::CMsgVector& -MLPlayerState::_Internal::eyeangle_fwd(const MLPlayerState* msg) { - return *msg->_impl_.eyeangle_fwd_; -} -void MLPlayerState::clear_abspos() { - if (_impl_.abspos_ != nullptr) _impl_.abspos_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -void MLPlayerState::clear_eyeangle() { - if (_impl_.eyeangle_ != nullptr) _impl_.eyeangle_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -void MLPlayerState::clear_eyeangle_fwd() { - if (_impl_.eyeangle_fwd_ != nullptr) _impl_.eyeangle_fwd_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -MLPlayerState::MLPlayerState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:MLPlayerState) -} -MLPlayerState::MLPlayerState(const MLPlayerState& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - MLPlayerState* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.weapons_){from._impl_.weapons_} - , decltype(_impl_.name_){} - , decltype(_impl_.clan_){} - , decltype(_impl_.abspos_){nullptr} - , decltype(_impl_.eyeangle_){nullptr} - , decltype(_impl_.eyeangle_fwd_){nullptr} - , decltype(_impl_.account_id_){} - , decltype(_impl_.entindex_){} - , decltype(_impl_.team_){} - , decltype(_impl_.health_){} - , decltype(_impl_.armor_){} - , decltype(_impl_.flashed_){} - , decltype(_impl_.smoked_){} - , decltype(_impl_.money_){} - , decltype(_impl_.round_kills_){} - , decltype(_impl_.round_killhs_){} - , decltype(_impl_.burning_){} - , decltype(_impl_.helmet_){} - , decltype(_impl_.defuse_kit_){} - , decltype(_impl_.player_slot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.clan_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.clan_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_clan()) { - _this->_impl_.clan_.Set(from._internal_clan(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_abspos()) { - _this->_impl_.abspos_ = new ::CMsgVector(*from._impl_.abspos_); - } - if (from._internal_has_eyeangle()) { - _this->_impl_.eyeangle_ = new ::CMsgQAngle(*from._impl_.eyeangle_); - } - if (from._internal_has_eyeangle_fwd()) { - _this->_impl_.eyeangle_fwd_ = new ::CMsgVector(*from._impl_.eyeangle_fwd_); - } - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.player_slot_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.player_slot_)); - // @@protoc_insertion_point(copy_constructor:MLPlayerState) -} - -inline void MLPlayerState::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.weapons_){arena} - , decltype(_impl_.name_){} - , decltype(_impl_.clan_){} - , decltype(_impl_.abspos_){nullptr} - , decltype(_impl_.eyeangle_){nullptr} - , decltype(_impl_.eyeangle_fwd_){nullptr} - , decltype(_impl_.account_id_){0} - , decltype(_impl_.entindex_){0} - , decltype(_impl_.team_){0} - , decltype(_impl_.health_){0} - , decltype(_impl_.armor_){0} - , decltype(_impl_.flashed_){0} - , decltype(_impl_.smoked_){0} - , decltype(_impl_.money_){0} - , decltype(_impl_.round_kills_){0} - , decltype(_impl_.round_killhs_){0} - , decltype(_impl_.burning_){0} - , decltype(_impl_.helmet_){false} - , decltype(_impl_.defuse_kit_){false} - , decltype(_impl_.player_slot_){-1} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.clan_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.clan_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -MLPlayerState::~MLPlayerState() { - // @@protoc_insertion_point(destructor:MLPlayerState) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void MLPlayerState::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.weapons_.~RepeatedPtrField(); - _impl_.name_.Destroy(); - _impl_.clan_.Destroy(); - if (this != internal_default_instance()) delete _impl_.abspos_; - if (this != internal_default_instance()) delete _impl_.eyeangle_; - if (this != internal_default_instance()) delete _impl_.eyeangle_fwd_; -} - -void MLPlayerState::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void MLPlayerState::Clear() { -// @@protoc_insertion_point(message_clear_start:MLPlayerState) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.weapons_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.clan_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.abspos_ != nullptr); - _impl_.abspos_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.eyeangle_ != nullptr); - _impl_.eyeangle_->Clear(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(_impl_.eyeangle_fwd_ != nullptr); - _impl_.eyeangle_fwd_->Clear(); - } - } - if (cached_has_bits & 0x000000e0u) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.team_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.team_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.health_, 0, static_cast( - reinterpret_cast(&_impl_.burning_) - - reinterpret_cast(&_impl_.health_)) + sizeof(_impl_.burning_)); - } - if (cached_has_bits & 0x00070000u) { - ::memset(&_impl_.helmet_, 0, static_cast( - reinterpret_cast(&_impl_.defuse_kit_) - - reinterpret_cast(&_impl_.helmet_)) + sizeof(_impl_.defuse_kit_)); - _impl_.player_slot_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* MLPlayerState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 player_slot = 2 [default = -1]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_player_slot(&has_bits); - _impl_.player_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 entindex = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_entindex(&has_bits); - _impl_.entindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "MLPlayerState.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string clan = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_clan(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "MLPlayerState.clan"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional .ETeam team = 6 [default = ET_Unknown]; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::ETeam_IsValid(val))) { - _internal_set_team(static_cast<::ETeam>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(6, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional .CMsgVector abspos = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_abspos(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle eyeangle = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_eyeangle(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector eyeangle_fwd = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr = ctx->ParseMessage(_internal_mutable_eyeangle_fwd(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 health = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_health(&has_bits); - _impl_.health_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 armor = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_armor(&has_bits); - _impl_.armor_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float flashed = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 101)) { - _Internal::set_has_flashed(&has_bits); - _impl_.flashed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float smoked = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 109)) { - _Internal::set_has_smoked(&has_bits); - _impl_.smoked_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 money = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_money(&has_bits); - _impl_.money_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 round_kills = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_round_kills(&has_bits); - _impl_.round_kills_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 round_killhs = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_round_killhs(&has_bits); - _impl_.round_killhs_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float burning = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 141)) { - _Internal::set_has_burning(&has_bits); - _impl_.burning_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional bool helmet = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_helmet(&has_bits); - _impl_.helmet_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool defuse_kit = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_defuse_kit(&has_bits); - _impl_.defuse_kit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .MLWeaponState weapons = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(_internal_add_weapons(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<162>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* MLPlayerState::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:MLPlayerState) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 account_id = 1; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional int32 player_slot = 2 [default = -1]; - if (cached_has_bits & 0x00040000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_player_slot(), target); - } - - // optional int32 entindex = 3; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_entindex(), target); - } - - // optional string name = 4; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "MLPlayerState.name"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_name(), target); - } - - // optional string clan = 5; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_clan().data(), static_cast(this->_internal_clan().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "MLPlayerState.clan"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_clan(), target); - } - - // optional .ETeam team = 6 [default = ET_Unknown]; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 6, this->_internal_team(), target); - } - - // optional .CMsgVector abspos = 7; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::abspos(this), - _Internal::abspos(this).GetCachedSize(), target, stream); - } - - // optional .CMsgQAngle eyeangle = 8; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, _Internal::eyeangle(this), - _Internal::eyeangle(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector eyeangle_fwd = 9; - if (cached_has_bits & 0x00000010u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(9, _Internal::eyeangle_fwd(this), - _Internal::eyeangle_fwd(this).GetCachedSize(), target, stream); - } - - // optional int32 health = 10; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_health(), target); - } - - // optional int32 armor = 11; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_armor(), target); - } - - // optional float flashed = 12; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(12, this->_internal_flashed(), target); - } - - // optional float smoked = 13; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(13, this->_internal_smoked(), target); - } - - // optional int32 money = 14; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_money(), target); - } - - // optional int32 round_kills = 15; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(15, this->_internal_round_kills(), target); - } - - // optional int32 round_killhs = 16; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(16, this->_internal_round_killhs(), target); - } - - // optional float burning = 17; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(17, this->_internal_burning(), target); - } - - // optional bool helmet = 18; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(18, this->_internal_helmet(), target); - } - - // optional bool defuse_kit = 19; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(19, this->_internal_defuse_kit(), target); - } - - // repeated .MLWeaponState weapons = 20; - for (unsigned i = 0, - n = static_cast(this->_internal_weapons_size()); i < n; i++) { - const auto& repfield = this->_internal_weapons(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(20, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:MLPlayerState) - return target; -} - -size_t MLPlayerState::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:MLPlayerState) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .MLWeaponState weapons = 20; - total_size += 2UL * this->_internal_weapons_size(); - for (const auto& msg : this->_impl_.weapons_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string name = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional string clan = 5; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_clan()); - } - - // optional .CMsgVector abspos = 7; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.abspos_); - } - - // optional .CMsgQAngle eyeangle = 8; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.eyeangle_); - } - - // optional .CMsgVector eyeangle_fwd = 9; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.eyeangle_fwd_); - } - - // optional int32 account_id = 1; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_account_id()); - } - - // optional int32 entindex = 3; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entindex()); - } - - // optional .ETeam team = 6 [default = ET_Unknown]; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_team()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional int32 health = 10; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_health()); - } - - // optional int32 armor = 11; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_armor()); - } - - // optional float flashed = 12; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 4; - } - - // optional float smoked = 13; - if (cached_has_bits & 0x00000800u) { - total_size += 1 + 4; - } - - // optional int32 money = 14; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_money()); - } - - // optional int32 round_kills = 15; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_round_kills()); - } - - // optional int32 round_killhs = 16; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::Int32Size( - this->_internal_round_killhs()); - } - - // optional float burning = 17; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + 4; - } - - } - if (cached_has_bits & 0x00070000u) { - // optional bool helmet = 18; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + 1; - } - - // optional bool defuse_kit = 19; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + 1; - } - - // optional int32 player_slot = 2 [default = -1]; - if (cached_has_bits & 0x00040000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_slot()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MLPlayerState::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - MLPlayerState::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MLPlayerState::GetClassData() const { return &_class_data_; } - - -void MLPlayerState::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:MLPlayerState) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.weapons_.MergeFrom(from._impl_.weapons_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_clan(from._internal_clan()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_abspos()->::CMsgVector::MergeFrom( - from._internal_abspos()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_eyeangle()->::CMsgQAngle::MergeFrom( - from._internal_eyeangle()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_mutable_eyeangle_fwd()->::CMsgVector::MergeFrom( - from._internal_eyeangle_fwd()); - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.entindex_ = from._impl_.entindex_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.team_ = from._impl_.team_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.health_ = from._impl_.health_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.armor_ = from._impl_.armor_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.flashed_ = from._impl_.flashed_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.smoked_ = from._impl_.smoked_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.money_ = from._impl_.money_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.round_kills_ = from._impl_.round_kills_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.round_killhs_ = from._impl_.round_killhs_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.burning_ = from._impl_.burning_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00070000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.helmet_ = from._impl_.helmet_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.defuse_kit_ = from._impl_.defuse_kit_; - } - if (cached_has_bits & 0x00040000u) { - _this->_impl_.player_slot_ = from._impl_.player_slot_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void MLPlayerState::CopyFrom(const MLPlayerState& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:MLPlayerState) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool MLPlayerState::IsInitialized() const { - return true; -} - -void MLPlayerState::InternalSwap(MLPlayerState* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.weapons_.InternalSwap(&other->_impl_.weapons_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.clan_, lhs_arena, - &other->_impl_.clan_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(MLPlayerState, _impl_.defuse_kit_) - + sizeof(MLPlayerState::_impl_.defuse_kit_) - - PROTOBUF_FIELD_OFFSET(MLPlayerState, _impl_.abspos_)>( - reinterpret_cast(&_impl_.abspos_), - reinterpret_cast(&other->_impl_.abspos_)); - swap(_impl_.player_slot_, other->_impl_.player_slot_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata MLPlayerState::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, - file_level_metadata_fatdemo_2eproto[5]); -} - -// =================================================================== - -class MLGameState::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::MLMatchState& match(const MLGameState* msg); - static void set_has_match(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::MLRoundState& round(const MLGameState* msg); - static void set_has_round(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::MLMatchState& -MLGameState::_Internal::match(const MLGameState* msg) { - return *msg->_impl_.match_; -} -const ::MLRoundState& -MLGameState::_Internal::round(const MLGameState* msg) { - return *msg->_impl_.round_; -} -MLGameState::MLGameState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:MLGameState) -} -MLGameState::MLGameState(const MLGameState& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - MLGameState* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.players_){from._impl_.players_} - , decltype(_impl_.match_){nullptr} - , decltype(_impl_.round_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_match()) { - _this->_impl_.match_ = new ::MLMatchState(*from._impl_.match_); - } - if (from._internal_has_round()) { - _this->_impl_.round_ = new ::MLRoundState(*from._impl_.round_); - } - // @@protoc_insertion_point(copy_constructor:MLGameState) -} - -inline void MLGameState::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.players_){arena} - , decltype(_impl_.match_){nullptr} - , decltype(_impl_.round_){nullptr} - }; -} - -MLGameState::~MLGameState() { - // @@protoc_insertion_point(destructor:MLGameState) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void MLGameState::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.players_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.match_; - if (this != internal_default_instance()) delete _impl_.round_; -} - -void MLGameState::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void MLGameState::Clear() { -// @@protoc_insertion_point(message_clear_start:MLGameState) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.players_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.match_ != nullptr); - _impl_.match_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.round_ != nullptr); - _impl_.round_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* MLGameState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .MLMatchState match = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_match(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .MLRoundState round = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_round(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .MLPlayerState players = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_players(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* MLGameState::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:MLGameState) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .MLMatchState match = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::match(this), - _Internal::match(this).GetCachedSize(), target, stream); - } - - // optional .MLRoundState round = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::round(this), - _Internal::round(this).GetCachedSize(), target, stream); - } - - // repeated .MLPlayerState players = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_players_size()); i < n; i++) { - const auto& repfield = this->_internal_players(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:MLGameState) - return target; -} - -size_t MLGameState::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:MLGameState) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .MLPlayerState players = 3; - total_size += 1UL * this->_internal_players_size(); - for (const auto& msg : this->_impl_.players_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .MLMatchState match = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.match_); - } - - // optional .MLRoundState round = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.round_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MLGameState::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - MLGameState::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MLGameState::GetClassData() const { return &_class_data_; } - - -void MLGameState::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:MLGameState) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.players_.MergeFrom(from._impl_.players_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_match()->::MLMatchState::MergeFrom( - from._internal_match()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_round()->::MLRoundState::MergeFrom( - from._internal_round()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void MLGameState::CopyFrom(const MLGameState& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:MLGameState) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool MLGameState::IsInitialized() const { - return true; -} - -void MLGameState::InternalSwap(MLGameState* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.players_.InternalSwap(&other->_impl_.players_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(MLGameState, _impl_.round_) - + sizeof(MLGameState::_impl_.round_) - - PROTOBUF_FIELD_OFFSET(MLGameState, _impl_.match_)>( - reinterpret_cast(&_impl_.match_), - reinterpret_cast(&other->_impl_.match_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata MLGameState::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, - file_level_metadata_fatdemo_2eproto[6]); -} - -// =================================================================== - -class MLDemoHeader::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_map_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_tick_rate(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_version(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_steam_universe(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -MLDemoHeader::MLDemoHeader(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:MLDemoHeader) -} -MLDemoHeader::MLDemoHeader(const MLDemoHeader& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - MLDemoHeader* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.map_name_){} - , decltype(_impl_.tick_rate_){} - , decltype(_impl_.version_){} - , decltype(_impl_.steam_universe_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.map_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_map_name()) { - _this->_impl_.map_name_.Set(from._internal_map_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.tick_rate_, &from._impl_.tick_rate_, - static_cast(reinterpret_cast(&_impl_.steam_universe_) - - reinterpret_cast(&_impl_.tick_rate_)) + sizeof(_impl_.steam_universe_)); - // @@protoc_insertion_point(copy_constructor:MLDemoHeader) -} - -inline void MLDemoHeader::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.map_name_){} - , decltype(_impl_.tick_rate_){0} - , decltype(_impl_.version_){0u} - , decltype(_impl_.steam_universe_){0u} - }; - _impl_.map_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -MLDemoHeader::~MLDemoHeader() { - // @@protoc_insertion_point(destructor:MLDemoHeader) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void MLDemoHeader::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.map_name_.Destroy(); -} - -void MLDemoHeader::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void MLDemoHeader::Clear() { -// @@protoc_insertion_point(message_clear_start:MLDemoHeader) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.map_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.tick_rate_, 0, static_cast( - reinterpret_cast(&_impl_.steam_universe_) - - reinterpret_cast(&_impl_.tick_rate_)) + sizeof(_impl_.steam_universe_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* MLDemoHeader::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string map_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_map_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "MLDemoHeader.map_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 tick_rate = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_tick_rate(&has_bits); - _impl_.tick_rate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 version = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_version(&has_bits); - _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 steam_universe = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_steam_universe(&has_bits); - _impl_.steam_universe_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* MLDemoHeader::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:MLDemoHeader) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string map_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_map_name().data(), static_cast(this->_internal_map_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "MLDemoHeader.map_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_map_name(), target); - } - - // optional int32 tick_rate = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_tick_rate(), target); - } - - // optional uint32 version = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_version(), target); - } - - // optional uint32 steam_universe = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_steam_universe(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:MLDemoHeader) - return target; -} - -size_t MLDemoHeader::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:MLDemoHeader) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string map_name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_map_name()); - } - - // optional int32 tick_rate = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tick_rate()); - } - - // optional uint32 version = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_version()); - } - - // optional uint32 steam_universe = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_steam_universe()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MLDemoHeader::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - MLDemoHeader::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MLDemoHeader::GetClassData() const { return &_class_data_; } - - -void MLDemoHeader::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:MLDemoHeader) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_map_name(from._internal_map_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.tick_rate_ = from._impl_.tick_rate_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.version_ = from._impl_.version_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.steam_universe_ = from._impl_.steam_universe_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void MLDemoHeader::CopyFrom(const MLDemoHeader& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:MLDemoHeader) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool MLDemoHeader::IsInitialized() const { - return true; -} - -void MLDemoHeader::InternalSwap(MLDemoHeader* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.map_name_, lhs_arena, - &other->_impl_.map_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(MLDemoHeader, _impl_.steam_universe_) - + sizeof(MLDemoHeader::_impl_.steam_universe_) - - PROTOBUF_FIELD_OFFSET(MLDemoHeader, _impl_.tick_rate_)>( - reinterpret_cast(&_impl_.tick_rate_), - reinterpret_cast(&other->_impl_.tick_rate_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata MLDemoHeader::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, - file_level_metadata_fatdemo_2eproto[7]); -} - -// =================================================================== - -class MLTick::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_tick_count(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::MLGameState& state(const MLTick* msg); - static void set_has_state(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::MLGameState& -MLTick::_Internal::state(const MLTick* msg) { - return *msg->_impl_.state_; -} -MLTick::MLTick(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:MLTick) -} -MLTick::MLTick(const MLTick& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - MLTick* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.events_){from._impl_.events_} - , decltype(_impl_.state_){nullptr} - , decltype(_impl_.tick_count_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_state()) { - _this->_impl_.state_ = new ::MLGameState(*from._impl_.state_); - } - _this->_impl_.tick_count_ = from._impl_.tick_count_; - // @@protoc_insertion_point(copy_constructor:MLTick) -} - -inline void MLTick::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.events_){arena} - , decltype(_impl_.state_){nullptr} - , decltype(_impl_.tick_count_){0} - }; -} - -MLTick::~MLTick() { - // @@protoc_insertion_point(destructor:MLTick) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void MLTick::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.events_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.state_; -} - -void MLTick::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void MLTick::Clear() { -// @@protoc_insertion_point(message_clear_start:MLTick) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.events_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.state_ != nullptr); - _impl_.state_->Clear(); - } - _impl_.tick_count_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* MLTick::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 tick_count = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_tick_count(&has_bits); - _impl_.tick_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .MLGameState state = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_state(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .MLEvent events = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_events(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* MLTick::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:MLTick) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 tick_count = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_tick_count(), target); - } - - // optional .MLGameState state = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::state(this), - _Internal::state(this).GetCachedSize(), target, stream); - } - - // repeated .MLEvent events = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_events_size()); i < n; i++) { - const auto& repfield = this->_internal_events(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:MLTick) - return target; -} - -size_t MLTick::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:MLTick) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .MLEvent events = 3; - total_size += 1UL * this->_internal_events_size(); - for (const auto& msg : this->_impl_.events_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .MLGameState state = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.state_); - } - - // optional int32 tick_count = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tick_count()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MLTick::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - MLTick::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MLTick::GetClassData() const { return &_class_data_; } - - -void MLTick::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:MLTick) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.events_.MergeFrom(from._impl_.events_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_state()->::MLGameState::MergeFrom( - from._internal_state()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.tick_count_ = from._impl_.tick_count_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void MLTick::CopyFrom(const MLTick& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:MLTick) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool MLTick::IsInitialized() const { - return true; -} - -void MLTick::InternalSwap(MLTick* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.events_.InternalSwap(&other->_impl_.events_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(MLTick, _impl_.tick_count_) - + sizeof(MLTick::_impl_.tick_count_) - - PROTOBUF_FIELD_OFFSET(MLTick, _impl_.state_)>( - reinterpret_cast(&_impl_.state_), - reinterpret_cast(&other->_impl_.state_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata MLTick::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, - file_level_metadata_fatdemo_2eproto[8]); -} - -// =================================================================== - -class VacNetShot::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steamid_player(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_round_number(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_hit_type(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_weapon_type(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_distance_to_hurt_target(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -VacNetShot::VacNetShot(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:VacNetShot) -} -VacNetShot::VacNetShot(const VacNetShot& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - VacNetShot* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.delta_yaw_window_){from._impl_.delta_yaw_window_} - , decltype(_impl_.delta_pitch_window_){from._impl_.delta_pitch_window_} - , decltype(_impl_.steamid_player_){} - , decltype(_impl_.round_number_){} - , decltype(_impl_.hit_type_){} - , decltype(_impl_.weapon_type_){} - , decltype(_impl_.distance_to_hurt_target_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.steamid_player_, &from._impl_.steamid_player_, - static_cast(reinterpret_cast(&_impl_.distance_to_hurt_target_) - - reinterpret_cast(&_impl_.steamid_player_)) + sizeof(_impl_.distance_to_hurt_target_)); - // @@protoc_insertion_point(copy_constructor:VacNetShot) -} - -inline void VacNetShot::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.delta_yaw_window_){arena} - , decltype(_impl_.delta_pitch_window_){arena} - , decltype(_impl_.steamid_player_){uint64_t{0u}} - , decltype(_impl_.round_number_){0} - , decltype(_impl_.hit_type_){0} - , decltype(_impl_.weapon_type_){0} - , decltype(_impl_.distance_to_hurt_target_){0} - }; -} - -VacNetShot::~VacNetShot() { - // @@protoc_insertion_point(destructor:VacNetShot) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void VacNetShot::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.delta_yaw_window_.~RepeatedField(); - _impl_.delta_pitch_window_.~RepeatedField(); -} - -void VacNetShot::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void VacNetShot::Clear() { -// @@protoc_insertion_point(message_clear_start:VacNetShot) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.delta_yaw_window_.Clear(); - _impl_.delta_pitch_window_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.steamid_player_, 0, static_cast( - reinterpret_cast(&_impl_.distance_to_hurt_target_) - - reinterpret_cast(&_impl_.steamid_player_)) + sizeof(_impl_.distance_to_hurt_target_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* VacNetShot::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 steamid_player = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_steamid_player(&has_bits); - _impl_.steamid_player_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional int32 round_number = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_round_number(&has_bits); - _impl_.round_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 hit_type = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_hit_type(&has_bits); - _impl_.hit_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 weapon_type = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_weapon_type(&has_bits); - _impl_.weapon_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float distance_to_hurt_target = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_distance_to_hurt_target(&has_bits); - _impl_.distance_to_hurt_target_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // repeated float delta_yaw_window = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_delta_yaw_window(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(float); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<53>(ptr)); - } else if (static_cast(tag) == 50) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_delta_yaw_window(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated float delta_pitch_window = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_delta_pitch_window(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(float); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<61>(ptr)); - } else if (static_cast(tag) == 58) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_delta_pitch_window(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* VacNetShot::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:VacNetShot) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 steamid_player = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid_player(), target); - } - - // optional int32 round_number = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_round_number(), target); - } - - // optional int32 hit_type = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_hit_type(), target); - } - - // optional int32 weapon_type = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_weapon_type(), target); - } - - // optional float distance_to_hurt_target = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_distance_to_hurt_target(), target); - } - - // repeated float delta_yaw_window = 6; - for (int i = 0, n = this->_internal_delta_yaw_window_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_delta_yaw_window(i), target); - } - - // repeated float delta_pitch_window = 7; - for (int i = 0, n = this->_internal_delta_pitch_window_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_delta_pitch_window(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:VacNetShot) - return target; -} - -size_t VacNetShot::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:VacNetShot) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated float delta_yaw_window = 6; - { - unsigned int count = static_cast(this->_internal_delta_yaw_window_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_delta_yaw_window_size()); - total_size += data_size; - } - - // repeated float delta_pitch_window = 7; - { - unsigned int count = static_cast(this->_internal_delta_pitch_window_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_delta_pitch_window_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional fixed64 steamid_player = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - // optional int32 round_number = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_round_number()); - } - - // optional int32 hit_type = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_hit_type()); - } - - // optional int32 weapon_type = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_weapon_type()); - } - - // optional float distance_to_hurt_target = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VacNetShot::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - VacNetShot::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VacNetShot::GetClassData() const { return &_class_data_; } - - -void VacNetShot::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:VacNetShot) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.delta_yaw_window_.MergeFrom(from._impl_.delta_yaw_window_); - _this->_impl_.delta_pitch_window_.MergeFrom(from._impl_.delta_pitch_window_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.steamid_player_ = from._impl_.steamid_player_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.round_number_ = from._impl_.round_number_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.hit_type_ = from._impl_.hit_type_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.weapon_type_ = from._impl_.weapon_type_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.distance_to_hurt_target_ = from._impl_.distance_to_hurt_target_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void VacNetShot::CopyFrom(const VacNetShot& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:VacNetShot) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool VacNetShot::IsInitialized() const { - return true; -} - -void VacNetShot::InternalSwap(VacNetShot* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.delta_yaw_window_.InternalSwap(&other->_impl_.delta_yaw_window_); - _impl_.delta_pitch_window_.InternalSwap(&other->_impl_.delta_pitch_window_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(VacNetShot, _impl_.distance_to_hurt_target_) - + sizeof(VacNetShot::_impl_.distance_to_hurt_target_) - - PROTOBUF_FIELD_OFFSET(VacNetShot, _impl_.steamid_player_)>( - reinterpret_cast(&_impl_.steamid_player_), - reinterpret_cast(&other->_impl_.steamid_player_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata VacNetShot::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_fatdemo_2eproto_getter, &descriptor_table_fatdemo_2eproto_once, - file_level_metadata_fatdemo_2eproto[9]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::MLDict* -Arena::CreateMaybeMessage< ::MLDict >(Arena* arena) { - return Arena::CreateMessageInternal< ::MLDict >(arena); -} -template<> PROTOBUF_NOINLINE ::MLEvent* -Arena::CreateMaybeMessage< ::MLEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::MLEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::MLMatchState* -Arena::CreateMaybeMessage< ::MLMatchState >(Arena* arena) { - return Arena::CreateMessageInternal< ::MLMatchState >(arena); -} -template<> PROTOBUF_NOINLINE ::MLRoundState* -Arena::CreateMaybeMessage< ::MLRoundState >(Arena* arena) { - return Arena::CreateMessageInternal< ::MLRoundState >(arena); -} -template<> PROTOBUF_NOINLINE ::MLWeaponState* -Arena::CreateMaybeMessage< ::MLWeaponState >(Arena* arena) { - return Arena::CreateMessageInternal< ::MLWeaponState >(arena); -} -template<> PROTOBUF_NOINLINE ::MLPlayerState* -Arena::CreateMaybeMessage< ::MLPlayerState >(Arena* arena) { - return Arena::CreateMessageInternal< ::MLPlayerState >(arena); -} -template<> PROTOBUF_NOINLINE ::MLGameState* -Arena::CreateMaybeMessage< ::MLGameState >(Arena* arena) { - return Arena::CreateMessageInternal< ::MLGameState >(arena); -} -template<> PROTOBUF_NOINLINE ::MLDemoHeader* -Arena::CreateMaybeMessage< ::MLDemoHeader >(Arena* arena) { - return Arena::CreateMessageInternal< ::MLDemoHeader >(arena); -} -template<> PROTOBUF_NOINLINE ::MLTick* -Arena::CreateMaybeMessage< ::MLTick >(Arena* arena) { - return Arena::CreateMessageInternal< ::MLTick >(arena); -} -template<> PROTOBUF_NOINLINE ::VacNetShot* -Arena::CreateMaybeMessage< ::VacNetShot >(Arena* arena) { - return Arena::CreateMessageInternal< ::VacNetShot >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/fatdemo.pb.h b/protobuf/generated/fatdemo.pb.h deleted file mode 100644 index 0e58371b3..000000000 --- a/protobuf/generated/fatdemo.pb.h +++ /dev/null @@ -1,5323 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: fatdemo.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_fatdemo_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_fatdemo_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "networkbasetypes.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_fatdemo_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_fatdemo_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_fatdemo_2eproto; -class MLDemoHeader; -struct MLDemoHeaderDefaultTypeInternal; -extern MLDemoHeaderDefaultTypeInternal _MLDemoHeader_default_instance_; -class MLDict; -struct MLDictDefaultTypeInternal; -extern MLDictDefaultTypeInternal _MLDict_default_instance_; -class MLEvent; -struct MLEventDefaultTypeInternal; -extern MLEventDefaultTypeInternal _MLEvent_default_instance_; -class MLGameState; -struct MLGameStateDefaultTypeInternal; -extern MLGameStateDefaultTypeInternal _MLGameState_default_instance_; -class MLMatchState; -struct MLMatchStateDefaultTypeInternal; -extern MLMatchStateDefaultTypeInternal _MLMatchState_default_instance_; -class MLPlayerState; -struct MLPlayerStateDefaultTypeInternal; -extern MLPlayerStateDefaultTypeInternal _MLPlayerState_default_instance_; -class MLRoundState; -struct MLRoundStateDefaultTypeInternal; -extern MLRoundStateDefaultTypeInternal _MLRoundState_default_instance_; -class MLTick; -struct MLTickDefaultTypeInternal; -extern MLTickDefaultTypeInternal _MLTick_default_instance_; -class MLWeaponState; -struct MLWeaponStateDefaultTypeInternal; -extern MLWeaponStateDefaultTypeInternal _MLWeaponState_default_instance_; -class VacNetShot; -struct VacNetShotDefaultTypeInternal; -extern VacNetShotDefaultTypeInternal _VacNetShot_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::MLDemoHeader* Arena::CreateMaybeMessage<::MLDemoHeader>(Arena*); -template<> ::MLDict* Arena::CreateMaybeMessage<::MLDict>(Arena*); -template<> ::MLEvent* Arena::CreateMaybeMessage<::MLEvent>(Arena*); -template<> ::MLGameState* Arena::CreateMaybeMessage<::MLGameState>(Arena*); -template<> ::MLMatchState* Arena::CreateMaybeMessage<::MLMatchState>(Arena*); -template<> ::MLPlayerState* Arena::CreateMaybeMessage<::MLPlayerState>(Arena*); -template<> ::MLRoundState* Arena::CreateMaybeMessage<::MLRoundState>(Arena*); -template<> ::MLTick* Arena::CreateMaybeMessage<::MLTick>(Arena*); -template<> ::MLWeaponState* Arena::CreateMaybeMessage<::MLWeaponState>(Arena*); -template<> ::VacNetShot* Arena::CreateMaybeMessage<::VacNetShot>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum EHitGroup : int { - EHG_Generic = 0, - EHG_Head = 1, - EHG_Chest = 2, - EHG_Stomach = 3, - EHG_LeftArm = 4, - EHG_RightArm = 5, - EHG_LeftLeg = 6, - EHG_RightLeg = 7, - EHG_Gear = 8, - EHG_Miss = 9 -}; -bool EHitGroup_IsValid(int value); -constexpr EHitGroup EHitGroup_MIN = EHG_Generic; -constexpr EHitGroup EHitGroup_MAX = EHG_Miss; -constexpr int EHitGroup_ARRAYSIZE = EHitGroup_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EHitGroup_descriptor(); -template -inline const std::string& EHitGroup_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EHitGroup_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EHitGroup_descriptor(), enum_t_value); -} -inline bool EHitGroup_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EHitGroup* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EHitGroup_descriptor(), name, value); -} -enum ETeam : int { - ET_Unknown = 0, - ET_Spectator = 1, - ET_Terrorist = 2, - ET_CT = 3 -}; -bool ETeam_IsValid(int value); -constexpr ETeam ETeam_MIN = ET_Unknown; -constexpr ETeam ETeam_MAX = ET_CT; -constexpr int ETeam_ARRAYSIZE = ETeam_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ETeam_descriptor(); -template -inline const std::string& ETeam_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ETeam_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ETeam_descriptor(), enum_t_value); -} -inline bool ETeam_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ETeam* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ETeam_descriptor(), name, value); -} -enum EWeaponType : int { - EWT_Knife = 0, - EWT_Pistol = 1, - EWT_SubMachineGun = 2, - EWT_Rifle = 3, - EWT_Shotgun = 4, - EWT_SniperRifle = 5, - EWT_MachineGun = 6, - EWT_C4 = 7, - EWT_Grenade = 8, - EWT_Equipment = 9, - EWT_StackableItem = 10, - EWT_Unknown = 11 -}; -bool EWeaponType_IsValid(int value); -constexpr EWeaponType EWeaponType_MIN = EWT_Knife; -constexpr EWeaponType EWeaponType_MAX = EWT_Unknown; -constexpr int EWeaponType_ARRAYSIZE = EWeaponType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EWeaponType_descriptor(); -template -inline const std::string& EWeaponType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EWeaponType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EWeaponType_descriptor(), enum_t_value); -} -inline bool EWeaponType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EWeaponType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EWeaponType_descriptor(), name, value); -} -// =================================================================== - -class MLDict : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MLDict) */ { - public: - inline MLDict() : MLDict(nullptr) {} - ~MLDict() override; - explicit PROTOBUF_CONSTEXPR MLDict(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - MLDict(const MLDict& from); - MLDict(MLDict&& from) noexcept - : MLDict() { - *this = ::std::move(from); - } - - inline MLDict& operator=(const MLDict& from) { - CopyFrom(from); - return *this; - } - inline MLDict& operator=(MLDict&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const MLDict& default_instance() { - return *internal_default_instance(); - } - static inline const MLDict* internal_default_instance() { - return reinterpret_cast( - &_MLDict_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(MLDict& a, MLDict& b) { - a.Swap(&b); - } - inline void Swap(MLDict* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(MLDict* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - MLDict* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const MLDict& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const MLDict& from) { - MLDict::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(MLDict* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MLDict"; - } - protected: - explicit MLDict(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kKeyFieldNumber = 1, - kValStringFieldNumber = 2, - kValIntFieldNumber = 3, - kValFloatFieldNumber = 4, - }; - // optional string key = 1; - bool has_key() const; - private: - bool _internal_has_key() const; - public: - void clear_key(); - const std::string& key() const; - template - void set_key(ArgT0&& arg0, ArgT... args); - std::string* mutable_key(); - PROTOBUF_NODISCARD std::string* release_key(); - void set_allocated_key(std::string* key); - private: - const std::string& _internal_key() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(const std::string& value); - std::string* _internal_mutable_key(); - public: - - // optional string val_string = 2; - bool has_val_string() const; - private: - bool _internal_has_val_string() const; - public: - void clear_val_string(); - const std::string& val_string() const; - template - void set_val_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_val_string(); - PROTOBUF_NODISCARD std::string* release_val_string(); - void set_allocated_val_string(std::string* val_string); - private: - const std::string& _internal_val_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_val_string(const std::string& value); - std::string* _internal_mutable_val_string(); - public: - - // optional int32 val_int = 3; - bool has_val_int() const; - private: - bool _internal_has_val_int() const; - public: - void clear_val_int(); - int32_t val_int() const; - void set_val_int(int32_t value); - private: - int32_t _internal_val_int() const; - void _internal_set_val_int(int32_t value); - public: - - // optional float val_float = 4; - bool has_val_float() const; - private: - bool _internal_has_val_float() const; - public: - void clear_val_float(); - float val_float() const; - void set_val_float(float value); - private: - float _internal_val_float() const; - void _internal_set_val_float(float value); - public: - - // @@protoc_insertion_point(class_scope:MLDict) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr val_string_; - int32_t val_int_; - float val_float_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_fatdemo_2eproto; -}; -// ------------------------------------------------------------------- - -class MLEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MLEvent) */ { - public: - inline MLEvent() : MLEvent(nullptr) {} - ~MLEvent() override; - explicit PROTOBUF_CONSTEXPR MLEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - MLEvent(const MLEvent& from); - MLEvent(MLEvent&& from) noexcept - : MLEvent() { - *this = ::std::move(from); - } - - inline MLEvent& operator=(const MLEvent& from) { - CopyFrom(from); - return *this; - } - inline MLEvent& operator=(MLEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const MLEvent& default_instance() { - return *internal_default_instance(); - } - static inline const MLEvent* internal_default_instance() { - return reinterpret_cast( - &_MLEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(MLEvent& a, MLEvent& b) { - a.Swap(&b); - } - inline void Swap(MLEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(MLEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - MLEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const MLEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const MLEvent& from) { - MLEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(MLEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MLEvent"; - } - protected: - explicit MLEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 2, - kEventNameFieldNumber = 1, - }; - // repeated .MLDict data = 2; - int data_size() const; - private: - int _internal_data_size() const; - public: - void clear_data(); - ::MLDict* mutable_data(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLDict >* - mutable_data(); - private: - const ::MLDict& _internal_data(int index) const; - ::MLDict* _internal_add_data(); - public: - const ::MLDict& data(int index) const; - ::MLDict* add_data(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLDict >& - data() const; - - // optional string event_name = 1; - bool has_event_name() const; - private: - bool _internal_has_event_name() const; - public: - void clear_event_name(); - const std::string& event_name() const; - template - void set_event_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_event_name(); - PROTOBUF_NODISCARD std::string* release_event_name(); - void set_allocated_event_name(std::string* event_name); - private: - const std::string& _internal_event_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_name(const std::string& value); - std::string* _internal_mutable_event_name(); - public: - - // @@protoc_insertion_point(class_scope:MLEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLDict > data_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_name_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_fatdemo_2eproto; -}; -// ------------------------------------------------------------------- - -class MLMatchState : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MLMatchState) */ { - public: - inline MLMatchState() : MLMatchState(nullptr) {} - ~MLMatchState() override; - explicit PROTOBUF_CONSTEXPR MLMatchState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - MLMatchState(const MLMatchState& from); - MLMatchState(MLMatchState&& from) noexcept - : MLMatchState() { - *this = ::std::move(from); - } - - inline MLMatchState& operator=(const MLMatchState& from) { - CopyFrom(from); - return *this; - } - inline MLMatchState& operator=(MLMatchState&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const MLMatchState& default_instance() { - return *internal_default_instance(); - } - static inline const MLMatchState* internal_default_instance() { - return reinterpret_cast( - &_MLMatchState_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(MLMatchState& a, MLMatchState& b) { - a.Swap(&b); - } - inline void Swap(MLMatchState* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(MLMatchState* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - MLMatchState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const MLMatchState& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const MLMatchState& from) { - MLMatchState::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(MLMatchState* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MLMatchState"; - } - protected: - explicit MLMatchState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGameModeFieldNumber = 1, - kPhaseFieldNumber = 2, - kRoundFieldNumber = 3, - kScoreCtFieldNumber = 4, - kScoreTFieldNumber = 5, - }; - // optional string game_mode = 1; - bool has_game_mode() const; - private: - bool _internal_has_game_mode() const; - public: - void clear_game_mode(); - const std::string& game_mode() const; - template - void set_game_mode(ArgT0&& arg0, ArgT... args); - std::string* mutable_game_mode(); - PROTOBUF_NODISCARD std::string* release_game_mode(); - void set_allocated_game_mode(std::string* game_mode); - private: - const std::string& _internal_game_mode() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_mode(const std::string& value); - std::string* _internal_mutable_game_mode(); - public: - - // optional string phase = 2; - bool has_phase() const; - private: - bool _internal_has_phase() const; - public: - void clear_phase(); - const std::string& phase() const; - template - void set_phase(ArgT0&& arg0, ArgT... args); - std::string* mutable_phase(); - PROTOBUF_NODISCARD std::string* release_phase(); - void set_allocated_phase(std::string* phase); - private: - const std::string& _internal_phase() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_phase(const std::string& value); - std::string* _internal_mutable_phase(); - public: - - // optional int32 round = 3; - bool has_round() const; - private: - bool _internal_has_round() const; - public: - void clear_round(); - int32_t round() const; - void set_round(int32_t value); - private: - int32_t _internal_round() const; - void _internal_set_round(int32_t value); - public: - - // optional int32 score_ct = 4; - bool has_score_ct() const; - private: - bool _internal_has_score_ct() const; - public: - void clear_score_ct(); - int32_t score_ct() const; - void set_score_ct(int32_t value); - private: - int32_t _internal_score_ct() const; - void _internal_set_score_ct(int32_t value); - public: - - // optional int32 score_t = 5; - bool has_score_t() const; - private: - bool _internal_has_score_t() const; - public: - void clear_score_t(); - int32_t score_t() const; - void set_score_t(int32_t value); - private: - int32_t _internal_score_t() const; - void _internal_set_score_t(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:MLMatchState) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_mode_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr phase_; - int32_t round_; - int32_t score_ct_; - int32_t score_t_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_fatdemo_2eproto; -}; -// ------------------------------------------------------------------- - -class MLRoundState : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MLRoundState) */ { - public: - inline MLRoundState() : MLRoundState(nullptr) {} - ~MLRoundState() override; - explicit PROTOBUF_CONSTEXPR MLRoundState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - MLRoundState(const MLRoundState& from); - MLRoundState(MLRoundState&& from) noexcept - : MLRoundState() { - *this = ::std::move(from); - } - - inline MLRoundState& operator=(const MLRoundState& from) { - CopyFrom(from); - return *this; - } - inline MLRoundState& operator=(MLRoundState&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const MLRoundState& default_instance() { - return *internal_default_instance(); - } - static inline const MLRoundState* internal_default_instance() { - return reinterpret_cast( - &_MLRoundState_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(MLRoundState& a, MLRoundState& b) { - a.Swap(&b); - } - inline void Swap(MLRoundState* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(MLRoundState* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - MLRoundState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const MLRoundState& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const MLRoundState& from) { - MLRoundState::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(MLRoundState* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MLRoundState"; - } - protected: - explicit MLRoundState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPhaseFieldNumber = 1, - kBombStateFieldNumber = 3, - kWinTeamFieldNumber = 2, - }; - // optional string phase = 1; - bool has_phase() const; - private: - bool _internal_has_phase() const; - public: - void clear_phase(); - const std::string& phase() const; - template - void set_phase(ArgT0&& arg0, ArgT... args); - std::string* mutable_phase(); - PROTOBUF_NODISCARD std::string* release_phase(); - void set_allocated_phase(std::string* phase); - private: - const std::string& _internal_phase() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_phase(const std::string& value); - std::string* _internal_mutable_phase(); - public: - - // optional string bomb_state = 3; - bool has_bomb_state() const; - private: - bool _internal_has_bomb_state() const; - public: - void clear_bomb_state(); - const std::string& bomb_state() const; - template - void set_bomb_state(ArgT0&& arg0, ArgT... args); - std::string* mutable_bomb_state(); - PROTOBUF_NODISCARD std::string* release_bomb_state(); - void set_allocated_bomb_state(std::string* bomb_state); - private: - const std::string& _internal_bomb_state() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_bomb_state(const std::string& value); - std::string* _internal_mutable_bomb_state(); - public: - - // optional .ETeam win_team = 2 [default = ET_Unknown]; - bool has_win_team() const; - private: - bool _internal_has_win_team() const; - public: - void clear_win_team(); - ::ETeam win_team() const; - void set_win_team(::ETeam value); - private: - ::ETeam _internal_win_team() const; - void _internal_set_win_team(::ETeam value); - public: - - // @@protoc_insertion_point(class_scope:MLRoundState) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr phase_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bomb_state_; - int win_team_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_fatdemo_2eproto; -}; -// ------------------------------------------------------------------- - -class MLWeaponState : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MLWeaponState) */ { - public: - inline MLWeaponState() : MLWeaponState(nullptr) {} - ~MLWeaponState() override; - explicit PROTOBUF_CONSTEXPR MLWeaponState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - MLWeaponState(const MLWeaponState& from); - MLWeaponState(MLWeaponState&& from) noexcept - : MLWeaponState() { - *this = ::std::move(from); - } - - inline MLWeaponState& operator=(const MLWeaponState& from) { - CopyFrom(from); - return *this; - } - inline MLWeaponState& operator=(MLWeaponState&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const MLWeaponState& default_instance() { - return *internal_default_instance(); - } - static inline const MLWeaponState* internal_default_instance() { - return reinterpret_cast( - &_MLWeaponState_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(MLWeaponState& a, MLWeaponState& b) { - a.Swap(&b); - } - inline void Swap(MLWeaponState* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(MLWeaponState* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - MLWeaponState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const MLWeaponState& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const MLWeaponState& from) { - MLWeaponState::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(MLWeaponState* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MLWeaponState"; - } - protected: - explicit MLWeaponState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 2, - kStateFieldNumber = 7, - kIndexFieldNumber = 1, - kTypeFieldNumber = 3, - kAmmoClipFieldNumber = 4, - kAmmoClipMaxFieldNumber = 5, - kAmmoReserveFieldNumber = 6, - kRecoilIndexFieldNumber = 8, - }; - // optional string name = 2; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional string state = 7; - bool has_state() const; - private: - bool _internal_has_state() const; - public: - void clear_state(); - const std::string& state() const; - template - void set_state(ArgT0&& arg0, ArgT... args); - std::string* mutable_state(); - PROTOBUF_NODISCARD std::string* release_state(); - void set_allocated_state(std::string* state); - private: - const std::string& _internal_state() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_state(const std::string& value); - std::string* _internal_mutable_state(); - public: - - // optional int32 index = 1; - bool has_index() const; - private: - bool _internal_has_index() const; - public: - void clear_index(); - int32_t index() const; - void set_index(int32_t value); - private: - int32_t _internal_index() const; - void _internal_set_index(int32_t value); - public: - - // optional .EWeaponType type = 3 [default = EWT_Knife]; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - ::EWeaponType type() const; - void set_type(::EWeaponType value); - private: - ::EWeaponType _internal_type() const; - void _internal_set_type(::EWeaponType value); - public: - - // optional int32 ammo_clip = 4; - bool has_ammo_clip() const; - private: - bool _internal_has_ammo_clip() const; - public: - void clear_ammo_clip(); - int32_t ammo_clip() const; - void set_ammo_clip(int32_t value); - private: - int32_t _internal_ammo_clip() const; - void _internal_set_ammo_clip(int32_t value); - public: - - // optional int32 ammo_clip_max = 5; - bool has_ammo_clip_max() const; - private: - bool _internal_has_ammo_clip_max() const; - public: - void clear_ammo_clip_max(); - int32_t ammo_clip_max() const; - void set_ammo_clip_max(int32_t value); - private: - int32_t _internal_ammo_clip_max() const; - void _internal_set_ammo_clip_max(int32_t value); - public: - - // optional int32 ammo_reserve = 6; - bool has_ammo_reserve() const; - private: - bool _internal_has_ammo_reserve() const; - public: - void clear_ammo_reserve(); - int32_t ammo_reserve() const; - void set_ammo_reserve(int32_t value); - private: - int32_t _internal_ammo_reserve() const; - void _internal_set_ammo_reserve(int32_t value); - public: - - // optional float recoil_index = 8; - bool has_recoil_index() const; - private: - bool _internal_has_recoil_index() const; - public: - void clear_recoil_index(); - float recoil_index() const; - void set_recoil_index(float value); - private: - float _internal_recoil_index() const; - void _internal_set_recoil_index(float value); - public: - - // @@protoc_insertion_point(class_scope:MLWeaponState) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr state_; - int32_t index_; - int type_; - int32_t ammo_clip_; - int32_t ammo_clip_max_; - int32_t ammo_reserve_; - float recoil_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_fatdemo_2eproto; -}; -// ------------------------------------------------------------------- - -class MLPlayerState : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MLPlayerState) */ { - public: - inline MLPlayerState() : MLPlayerState(nullptr) {} - ~MLPlayerState() override; - explicit PROTOBUF_CONSTEXPR MLPlayerState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - MLPlayerState(const MLPlayerState& from); - MLPlayerState(MLPlayerState&& from) noexcept - : MLPlayerState() { - *this = ::std::move(from); - } - - inline MLPlayerState& operator=(const MLPlayerState& from) { - CopyFrom(from); - return *this; - } - inline MLPlayerState& operator=(MLPlayerState&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const MLPlayerState& default_instance() { - return *internal_default_instance(); - } - static inline const MLPlayerState* internal_default_instance() { - return reinterpret_cast( - &_MLPlayerState_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(MLPlayerState& a, MLPlayerState& b) { - a.Swap(&b); - } - inline void Swap(MLPlayerState* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(MLPlayerState* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - MLPlayerState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const MLPlayerState& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const MLPlayerState& from) { - MLPlayerState::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(MLPlayerState* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MLPlayerState"; - } - protected: - explicit MLPlayerState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kWeaponsFieldNumber = 20, - kNameFieldNumber = 4, - kClanFieldNumber = 5, - kAbsposFieldNumber = 7, - kEyeangleFieldNumber = 8, - kEyeangleFwdFieldNumber = 9, - kAccountIdFieldNumber = 1, - kEntindexFieldNumber = 3, - kTeamFieldNumber = 6, - kHealthFieldNumber = 10, - kArmorFieldNumber = 11, - kFlashedFieldNumber = 12, - kSmokedFieldNumber = 13, - kMoneyFieldNumber = 14, - kRoundKillsFieldNumber = 15, - kRoundKillhsFieldNumber = 16, - kBurningFieldNumber = 17, - kHelmetFieldNumber = 18, - kDefuseKitFieldNumber = 19, - kPlayerSlotFieldNumber = 2, - }; - // repeated .MLWeaponState weapons = 20; - int weapons_size() const; - private: - int _internal_weapons_size() const; - public: - void clear_weapons(); - ::MLWeaponState* mutable_weapons(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLWeaponState >* - mutable_weapons(); - private: - const ::MLWeaponState& _internal_weapons(int index) const; - ::MLWeaponState* _internal_add_weapons(); - public: - const ::MLWeaponState& weapons(int index) const; - ::MLWeaponState* add_weapons(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLWeaponState >& - weapons() const; - - // optional string name = 4; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional string clan = 5; - bool has_clan() const; - private: - bool _internal_has_clan() const; - public: - void clear_clan(); - const std::string& clan() const; - template - void set_clan(ArgT0&& arg0, ArgT... args); - std::string* mutable_clan(); - PROTOBUF_NODISCARD std::string* release_clan(); - void set_allocated_clan(std::string* clan); - private: - const std::string& _internal_clan() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_clan(const std::string& value); - std::string* _internal_mutable_clan(); - public: - - // optional .CMsgVector abspos = 7; - bool has_abspos() const; - private: - bool _internal_has_abspos() const; - public: - void clear_abspos(); - const ::CMsgVector& abspos() const; - PROTOBUF_NODISCARD ::CMsgVector* release_abspos(); - ::CMsgVector* mutable_abspos(); - void set_allocated_abspos(::CMsgVector* abspos); - private: - const ::CMsgVector& _internal_abspos() const; - ::CMsgVector* _internal_mutable_abspos(); - public: - void unsafe_arena_set_allocated_abspos( - ::CMsgVector* abspos); - ::CMsgVector* unsafe_arena_release_abspos(); - - // optional .CMsgQAngle eyeangle = 8; - bool has_eyeangle() const; - private: - bool _internal_has_eyeangle() const; - public: - void clear_eyeangle(); - const ::CMsgQAngle& eyeangle() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_eyeangle(); - ::CMsgQAngle* mutable_eyeangle(); - void set_allocated_eyeangle(::CMsgQAngle* eyeangle); - private: - const ::CMsgQAngle& _internal_eyeangle() const; - ::CMsgQAngle* _internal_mutable_eyeangle(); - public: - void unsafe_arena_set_allocated_eyeangle( - ::CMsgQAngle* eyeangle); - ::CMsgQAngle* unsafe_arena_release_eyeangle(); - - // optional .CMsgVector eyeangle_fwd = 9; - bool has_eyeangle_fwd() const; - private: - bool _internal_has_eyeangle_fwd() const; - public: - void clear_eyeangle_fwd(); - const ::CMsgVector& eyeangle_fwd() const; - PROTOBUF_NODISCARD ::CMsgVector* release_eyeangle_fwd(); - ::CMsgVector* mutable_eyeangle_fwd(); - void set_allocated_eyeangle_fwd(::CMsgVector* eyeangle_fwd); - private: - const ::CMsgVector& _internal_eyeangle_fwd() const; - ::CMsgVector* _internal_mutable_eyeangle_fwd(); - public: - void unsafe_arena_set_allocated_eyeangle_fwd( - ::CMsgVector* eyeangle_fwd); - ::CMsgVector* unsafe_arena_release_eyeangle_fwd(); - - // optional int32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - int32_t account_id() const; - void set_account_id(int32_t value); - private: - int32_t _internal_account_id() const; - void _internal_set_account_id(int32_t value); - public: - - // optional int32 entindex = 3; - bool has_entindex() const; - private: - bool _internal_has_entindex() const; - public: - void clear_entindex(); - int32_t entindex() const; - void set_entindex(int32_t value); - private: - int32_t _internal_entindex() const; - void _internal_set_entindex(int32_t value); - public: - - // optional .ETeam team = 6 [default = ET_Unknown]; - bool has_team() const; - private: - bool _internal_has_team() const; - public: - void clear_team(); - ::ETeam team() const; - void set_team(::ETeam value); - private: - ::ETeam _internal_team() const; - void _internal_set_team(::ETeam value); - public: - - // optional int32 health = 10; - bool has_health() const; - private: - bool _internal_has_health() const; - public: - void clear_health(); - int32_t health() const; - void set_health(int32_t value); - private: - int32_t _internal_health() const; - void _internal_set_health(int32_t value); - public: - - // optional int32 armor = 11; - bool has_armor() const; - private: - bool _internal_has_armor() const; - public: - void clear_armor(); - int32_t armor() const; - void set_armor(int32_t value); - private: - int32_t _internal_armor() const; - void _internal_set_armor(int32_t value); - public: - - // optional float flashed = 12; - bool has_flashed() const; - private: - bool _internal_has_flashed() const; - public: - void clear_flashed(); - float flashed() const; - void set_flashed(float value); - private: - float _internal_flashed() const; - void _internal_set_flashed(float value); - public: - - // optional float smoked = 13; - bool has_smoked() const; - private: - bool _internal_has_smoked() const; - public: - void clear_smoked(); - float smoked() const; - void set_smoked(float value); - private: - float _internal_smoked() const; - void _internal_set_smoked(float value); - public: - - // optional int32 money = 14; - bool has_money() const; - private: - bool _internal_has_money() const; - public: - void clear_money(); - int32_t money() const; - void set_money(int32_t value); - private: - int32_t _internal_money() const; - void _internal_set_money(int32_t value); - public: - - // optional int32 round_kills = 15; - bool has_round_kills() const; - private: - bool _internal_has_round_kills() const; - public: - void clear_round_kills(); - int32_t round_kills() const; - void set_round_kills(int32_t value); - private: - int32_t _internal_round_kills() const; - void _internal_set_round_kills(int32_t value); - public: - - // optional int32 round_killhs = 16; - bool has_round_killhs() const; - private: - bool _internal_has_round_killhs() const; - public: - void clear_round_killhs(); - int32_t round_killhs() const; - void set_round_killhs(int32_t value); - private: - int32_t _internal_round_killhs() const; - void _internal_set_round_killhs(int32_t value); - public: - - // optional float burning = 17; - bool has_burning() const; - private: - bool _internal_has_burning() const; - public: - void clear_burning(); - float burning() const; - void set_burning(float value); - private: - float _internal_burning() const; - void _internal_set_burning(float value); - public: - - // optional bool helmet = 18; - bool has_helmet() const; - private: - bool _internal_has_helmet() const; - public: - void clear_helmet(); - bool helmet() const; - void set_helmet(bool value); - private: - bool _internal_helmet() const; - void _internal_set_helmet(bool value); - public: - - // optional bool defuse_kit = 19; - bool has_defuse_kit() const; - private: - bool _internal_has_defuse_kit() const; - public: - void clear_defuse_kit(); - bool defuse_kit() const; - void set_defuse_kit(bool value); - private: - bool _internal_defuse_kit() const; - void _internal_set_defuse_kit(bool value); - public: - - // optional int32 player_slot = 2 [default = -1]; - bool has_player_slot() const; - private: - bool _internal_has_player_slot() const; - public: - void clear_player_slot(); - int32_t player_slot() const; - void set_player_slot(int32_t value); - private: - int32_t _internal_player_slot() const; - void _internal_set_player_slot(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:MLPlayerState) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLWeaponState > weapons_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr clan_; - ::CMsgVector* abspos_; - ::CMsgQAngle* eyeangle_; - ::CMsgVector* eyeangle_fwd_; - int32_t account_id_; - int32_t entindex_; - int team_; - int32_t health_; - int32_t armor_; - float flashed_; - float smoked_; - int32_t money_; - int32_t round_kills_; - int32_t round_killhs_; - float burning_; - bool helmet_; - bool defuse_kit_; - int32_t player_slot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_fatdemo_2eproto; -}; -// ------------------------------------------------------------------- - -class MLGameState : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MLGameState) */ { - public: - inline MLGameState() : MLGameState(nullptr) {} - ~MLGameState() override; - explicit PROTOBUF_CONSTEXPR MLGameState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - MLGameState(const MLGameState& from); - MLGameState(MLGameState&& from) noexcept - : MLGameState() { - *this = ::std::move(from); - } - - inline MLGameState& operator=(const MLGameState& from) { - CopyFrom(from); - return *this; - } - inline MLGameState& operator=(MLGameState&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const MLGameState& default_instance() { - return *internal_default_instance(); - } - static inline const MLGameState* internal_default_instance() { - return reinterpret_cast( - &_MLGameState_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(MLGameState& a, MLGameState& b) { - a.Swap(&b); - } - inline void Swap(MLGameState* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(MLGameState* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - MLGameState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const MLGameState& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const MLGameState& from) { - MLGameState::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(MLGameState* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MLGameState"; - } - protected: - explicit MLGameState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPlayersFieldNumber = 3, - kMatchFieldNumber = 1, - kRoundFieldNumber = 2, - }; - // repeated .MLPlayerState players = 3; - int players_size() const; - private: - int _internal_players_size() const; - public: - void clear_players(); - ::MLPlayerState* mutable_players(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLPlayerState >* - mutable_players(); - private: - const ::MLPlayerState& _internal_players(int index) const; - ::MLPlayerState* _internal_add_players(); - public: - const ::MLPlayerState& players(int index) const; - ::MLPlayerState* add_players(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLPlayerState >& - players() const; - - // optional .MLMatchState match = 1; - bool has_match() const; - private: - bool _internal_has_match() const; - public: - void clear_match(); - const ::MLMatchState& match() const; - PROTOBUF_NODISCARD ::MLMatchState* release_match(); - ::MLMatchState* mutable_match(); - void set_allocated_match(::MLMatchState* match); - private: - const ::MLMatchState& _internal_match() const; - ::MLMatchState* _internal_mutable_match(); - public: - void unsafe_arena_set_allocated_match( - ::MLMatchState* match); - ::MLMatchState* unsafe_arena_release_match(); - - // optional .MLRoundState round = 2; - bool has_round() const; - private: - bool _internal_has_round() const; - public: - void clear_round(); - const ::MLRoundState& round() const; - PROTOBUF_NODISCARD ::MLRoundState* release_round(); - ::MLRoundState* mutable_round(); - void set_allocated_round(::MLRoundState* round); - private: - const ::MLRoundState& _internal_round() const; - ::MLRoundState* _internal_mutable_round(); - public: - void unsafe_arena_set_allocated_round( - ::MLRoundState* round); - ::MLRoundState* unsafe_arena_release_round(); - - // @@protoc_insertion_point(class_scope:MLGameState) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLPlayerState > players_; - ::MLMatchState* match_; - ::MLRoundState* round_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_fatdemo_2eproto; -}; -// ------------------------------------------------------------------- - -class MLDemoHeader : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MLDemoHeader) */ { - public: - inline MLDemoHeader() : MLDemoHeader(nullptr) {} - ~MLDemoHeader() override; - explicit PROTOBUF_CONSTEXPR MLDemoHeader(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - MLDemoHeader(const MLDemoHeader& from); - MLDemoHeader(MLDemoHeader&& from) noexcept - : MLDemoHeader() { - *this = ::std::move(from); - } - - inline MLDemoHeader& operator=(const MLDemoHeader& from) { - CopyFrom(from); - return *this; - } - inline MLDemoHeader& operator=(MLDemoHeader&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const MLDemoHeader& default_instance() { - return *internal_default_instance(); - } - static inline const MLDemoHeader* internal_default_instance() { - return reinterpret_cast( - &_MLDemoHeader_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(MLDemoHeader& a, MLDemoHeader& b) { - a.Swap(&b); - } - inline void Swap(MLDemoHeader* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(MLDemoHeader* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - MLDemoHeader* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const MLDemoHeader& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const MLDemoHeader& from) { - MLDemoHeader::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(MLDemoHeader* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MLDemoHeader"; - } - protected: - explicit MLDemoHeader(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMapNameFieldNumber = 1, - kTickRateFieldNumber = 2, - kVersionFieldNumber = 3, - kSteamUniverseFieldNumber = 4, - }; - // optional string map_name = 1; - bool has_map_name() const; - private: - bool _internal_has_map_name() const; - public: - void clear_map_name(); - const std::string& map_name() const; - template - void set_map_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_map_name(); - PROTOBUF_NODISCARD std::string* release_map_name(); - void set_allocated_map_name(std::string* map_name); - private: - const std::string& _internal_map_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_map_name(const std::string& value); - std::string* _internal_mutable_map_name(); - public: - - // optional int32 tick_rate = 2; - bool has_tick_rate() const; - private: - bool _internal_has_tick_rate() const; - public: - void clear_tick_rate(); - int32_t tick_rate() const; - void set_tick_rate(int32_t value); - private: - int32_t _internal_tick_rate() const; - void _internal_set_tick_rate(int32_t value); - public: - - // optional uint32 version = 3; - bool has_version() const; - private: - bool _internal_has_version() const; - public: - void clear_version(); - uint32_t version() const; - void set_version(uint32_t value); - private: - uint32_t _internal_version() const; - void _internal_set_version(uint32_t value); - public: - - // optional uint32 steam_universe = 4; - bool has_steam_universe() const; - private: - bool _internal_has_steam_universe() const; - public: - void clear_steam_universe(); - uint32_t steam_universe() const; - void set_steam_universe(uint32_t value); - private: - uint32_t _internal_steam_universe() const; - void _internal_set_steam_universe(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:MLDemoHeader) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_name_; - int32_t tick_rate_; - uint32_t version_; - uint32_t steam_universe_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_fatdemo_2eproto; -}; -// ------------------------------------------------------------------- - -class MLTick : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:MLTick) */ { - public: - inline MLTick() : MLTick(nullptr) {} - ~MLTick() override; - explicit PROTOBUF_CONSTEXPR MLTick(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - MLTick(const MLTick& from); - MLTick(MLTick&& from) noexcept - : MLTick() { - *this = ::std::move(from); - } - - inline MLTick& operator=(const MLTick& from) { - CopyFrom(from); - return *this; - } - inline MLTick& operator=(MLTick&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const MLTick& default_instance() { - return *internal_default_instance(); - } - static inline const MLTick* internal_default_instance() { - return reinterpret_cast( - &_MLTick_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(MLTick& a, MLTick& b) { - a.Swap(&b); - } - inline void Swap(MLTick* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(MLTick* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - MLTick* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const MLTick& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const MLTick& from) { - MLTick::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(MLTick* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "MLTick"; - } - protected: - explicit MLTick(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEventsFieldNumber = 3, - kStateFieldNumber = 2, - kTickCountFieldNumber = 1, - }; - // repeated .MLEvent events = 3; - int events_size() const; - private: - int _internal_events_size() const; - public: - void clear_events(); - ::MLEvent* mutable_events(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLEvent >* - mutable_events(); - private: - const ::MLEvent& _internal_events(int index) const; - ::MLEvent* _internal_add_events(); - public: - const ::MLEvent& events(int index) const; - ::MLEvent* add_events(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLEvent >& - events() const; - - // optional .MLGameState state = 2; - bool has_state() const; - private: - bool _internal_has_state() const; - public: - void clear_state(); - const ::MLGameState& state() const; - PROTOBUF_NODISCARD ::MLGameState* release_state(); - ::MLGameState* mutable_state(); - void set_allocated_state(::MLGameState* state); - private: - const ::MLGameState& _internal_state() const; - ::MLGameState* _internal_mutable_state(); - public: - void unsafe_arena_set_allocated_state( - ::MLGameState* state); - ::MLGameState* unsafe_arena_release_state(); - - // optional int32 tick_count = 1; - bool has_tick_count() const; - private: - bool _internal_has_tick_count() const; - public: - void clear_tick_count(); - int32_t tick_count() const; - void set_tick_count(int32_t value); - private: - int32_t _internal_tick_count() const; - void _internal_set_tick_count(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:MLTick) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLEvent > events_; - ::MLGameState* state_; - int32_t tick_count_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_fatdemo_2eproto; -}; -// ------------------------------------------------------------------- - -class VacNetShot : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:VacNetShot) */ { - public: - inline VacNetShot() : VacNetShot(nullptr) {} - ~VacNetShot() override; - explicit PROTOBUF_CONSTEXPR VacNetShot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - VacNetShot(const VacNetShot& from); - VacNetShot(VacNetShot&& from) noexcept - : VacNetShot() { - *this = ::std::move(from); - } - - inline VacNetShot& operator=(const VacNetShot& from) { - CopyFrom(from); - return *this; - } - inline VacNetShot& operator=(VacNetShot&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const VacNetShot& default_instance() { - return *internal_default_instance(); - } - static inline const VacNetShot* internal_default_instance() { - return reinterpret_cast( - &_VacNetShot_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(VacNetShot& a, VacNetShot& b) { - a.Swap(&b); - } - inline void Swap(VacNetShot* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(VacNetShot* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - VacNetShot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const VacNetShot& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const VacNetShot& from) { - VacNetShot::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(VacNetShot* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "VacNetShot"; - } - protected: - explicit VacNetShot(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDeltaYawWindowFieldNumber = 6, - kDeltaPitchWindowFieldNumber = 7, - kSteamidPlayerFieldNumber = 1, - kRoundNumberFieldNumber = 2, - kHitTypeFieldNumber = 3, - kWeaponTypeFieldNumber = 4, - kDistanceToHurtTargetFieldNumber = 5, - }; - // repeated float delta_yaw_window = 6; - int delta_yaw_window_size() const; - private: - int _internal_delta_yaw_window_size() const; - public: - void clear_delta_yaw_window(); - private: - float _internal_delta_yaw_window(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& - _internal_delta_yaw_window() const; - void _internal_add_delta_yaw_window(float value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* - _internal_mutable_delta_yaw_window(); - public: - float delta_yaw_window(int index) const; - void set_delta_yaw_window(int index, float value); - void add_delta_yaw_window(float value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& - delta_yaw_window() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* - mutable_delta_yaw_window(); - - // repeated float delta_pitch_window = 7; - int delta_pitch_window_size() const; - private: - int _internal_delta_pitch_window_size() const; - public: - void clear_delta_pitch_window(); - private: - float _internal_delta_pitch_window(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& - _internal_delta_pitch_window() const; - void _internal_add_delta_pitch_window(float value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* - _internal_mutable_delta_pitch_window(); - public: - float delta_pitch_window(int index) const; - void set_delta_pitch_window(int index, float value); - void add_delta_pitch_window(float value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& - delta_pitch_window() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* - mutable_delta_pitch_window(); - - // optional fixed64 steamid_player = 1; - bool has_steamid_player() const; - private: - bool _internal_has_steamid_player() const; - public: - void clear_steamid_player(); - uint64_t steamid_player() const; - void set_steamid_player(uint64_t value); - private: - uint64_t _internal_steamid_player() const; - void _internal_set_steamid_player(uint64_t value); - public: - - // optional int32 round_number = 2; - bool has_round_number() const; - private: - bool _internal_has_round_number() const; - public: - void clear_round_number(); - int32_t round_number() const; - void set_round_number(int32_t value); - private: - int32_t _internal_round_number() const; - void _internal_set_round_number(int32_t value); - public: - - // optional int32 hit_type = 3; - bool has_hit_type() const; - private: - bool _internal_has_hit_type() const; - public: - void clear_hit_type(); - int32_t hit_type() const; - void set_hit_type(int32_t value); - private: - int32_t _internal_hit_type() const; - void _internal_set_hit_type(int32_t value); - public: - - // optional int32 weapon_type = 4; - bool has_weapon_type() const; - private: - bool _internal_has_weapon_type() const; - public: - void clear_weapon_type(); - int32_t weapon_type() const; - void set_weapon_type(int32_t value); - private: - int32_t _internal_weapon_type() const; - void _internal_set_weapon_type(int32_t value); - public: - - // optional float distance_to_hurt_target = 5; - bool has_distance_to_hurt_target() const; - private: - bool _internal_has_distance_to_hurt_target() const; - public: - void clear_distance_to_hurt_target(); - float distance_to_hurt_target() const; - void set_distance_to_hurt_target(float value); - private: - float _internal_distance_to_hurt_target() const; - void _internal_set_distance_to_hurt_target(float value); - public: - - // @@protoc_insertion_point(class_scope:VacNetShot) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > delta_yaw_window_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > delta_pitch_window_; - uint64_t steamid_player_; - int32_t round_number_; - int32_t hit_type_; - int32_t weapon_type_; - float distance_to_hurt_target_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_fatdemo_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// MLDict - -// optional string key = 1; -inline bool MLDict::_internal_has_key() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool MLDict::has_key() const { - return _internal_has_key(); -} -inline void MLDict::clear_key() { - _impl_.key_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& MLDict::key() const { - // @@protoc_insertion_point(field_get:MLDict.key) - return _internal_key(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void MLDict::set_key(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.key_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:MLDict.key) -} -inline std::string* MLDict::mutable_key() { - std::string* _s = _internal_mutable_key(); - // @@protoc_insertion_point(field_mutable:MLDict.key) - return _s; -} -inline const std::string& MLDict::_internal_key() const { - return _impl_.key_.Get(); -} -inline void MLDict::_internal_set_key(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.key_.Set(value, GetArenaForAllocation()); -} -inline std::string* MLDict::_internal_mutable_key() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.key_.Mutable(GetArenaForAllocation()); -} -inline std::string* MLDict::release_key() { - // @@protoc_insertion_point(field_release:MLDict.key) - if (!_internal_has_key()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.key_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.key_.IsDefault()) { - _impl_.key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void MLDict::set_allocated_key(std::string* key) { - if (key != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.key_.SetAllocated(key, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.key_.IsDefault()) { - _impl_.key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:MLDict.key) -} - -// optional string val_string = 2; -inline bool MLDict::_internal_has_val_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool MLDict::has_val_string() const { - return _internal_has_val_string(); -} -inline void MLDict::clear_val_string() { - _impl_.val_string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& MLDict::val_string() const { - // @@protoc_insertion_point(field_get:MLDict.val_string) - return _internal_val_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void MLDict::set_val_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.val_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:MLDict.val_string) -} -inline std::string* MLDict::mutable_val_string() { - std::string* _s = _internal_mutable_val_string(); - // @@protoc_insertion_point(field_mutable:MLDict.val_string) - return _s; -} -inline const std::string& MLDict::_internal_val_string() const { - return _impl_.val_string_.Get(); -} -inline void MLDict::_internal_set_val_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.val_string_.Set(value, GetArenaForAllocation()); -} -inline std::string* MLDict::_internal_mutable_val_string() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.val_string_.Mutable(GetArenaForAllocation()); -} -inline std::string* MLDict::release_val_string() { - // @@protoc_insertion_point(field_release:MLDict.val_string) - if (!_internal_has_val_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.val_string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.val_string_.IsDefault()) { - _impl_.val_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void MLDict::set_allocated_val_string(std::string* val_string) { - if (val_string != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.val_string_.SetAllocated(val_string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.val_string_.IsDefault()) { - _impl_.val_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:MLDict.val_string) -} - -// optional int32 val_int = 3; -inline bool MLDict::_internal_has_val_int() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool MLDict::has_val_int() const { - return _internal_has_val_int(); -} -inline void MLDict::clear_val_int() { - _impl_.val_int_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t MLDict::_internal_val_int() const { - return _impl_.val_int_; -} -inline int32_t MLDict::val_int() const { - // @@protoc_insertion_point(field_get:MLDict.val_int) - return _internal_val_int(); -} -inline void MLDict::_internal_set_val_int(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.val_int_ = value; -} -inline void MLDict::set_val_int(int32_t value) { - _internal_set_val_int(value); - // @@protoc_insertion_point(field_set:MLDict.val_int) -} - -// optional float val_float = 4; -inline bool MLDict::_internal_has_val_float() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool MLDict::has_val_float() const { - return _internal_has_val_float(); -} -inline void MLDict::clear_val_float() { - _impl_.val_float_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float MLDict::_internal_val_float() const { - return _impl_.val_float_; -} -inline float MLDict::val_float() const { - // @@protoc_insertion_point(field_get:MLDict.val_float) - return _internal_val_float(); -} -inline void MLDict::_internal_set_val_float(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.val_float_ = value; -} -inline void MLDict::set_val_float(float value) { - _internal_set_val_float(value); - // @@protoc_insertion_point(field_set:MLDict.val_float) -} - -// ------------------------------------------------------------------- - -// MLEvent - -// optional string event_name = 1; -inline bool MLEvent::_internal_has_event_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool MLEvent::has_event_name() const { - return _internal_has_event_name(); -} -inline void MLEvent::clear_event_name() { - _impl_.event_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& MLEvent::event_name() const { - // @@protoc_insertion_point(field_get:MLEvent.event_name) - return _internal_event_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void MLEvent::set_event_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:MLEvent.event_name) -} -inline std::string* MLEvent::mutable_event_name() { - std::string* _s = _internal_mutable_event_name(); - // @@protoc_insertion_point(field_mutable:MLEvent.event_name) - return _s; -} -inline const std::string& MLEvent::_internal_event_name() const { - return _impl_.event_name_.Get(); -} -inline void MLEvent::_internal_set_event_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* MLEvent::_internal_mutable_event_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.event_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* MLEvent::release_event_name() { - // @@protoc_insertion_point(field_release:MLEvent.event_name) - if (!_internal_has_event_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.event_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_name_.IsDefault()) { - _impl_.event_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void MLEvent::set_allocated_event_name(std::string* event_name) { - if (event_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.event_name_.SetAllocated(event_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_name_.IsDefault()) { - _impl_.event_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:MLEvent.event_name) -} - -// repeated .MLDict data = 2; -inline int MLEvent::_internal_data_size() const { - return _impl_.data_.size(); -} -inline int MLEvent::data_size() const { - return _internal_data_size(); -} -inline void MLEvent::clear_data() { - _impl_.data_.Clear(); -} -inline ::MLDict* MLEvent::mutable_data(int index) { - // @@protoc_insertion_point(field_mutable:MLEvent.data) - return _impl_.data_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLDict >* -MLEvent::mutable_data() { - // @@protoc_insertion_point(field_mutable_list:MLEvent.data) - return &_impl_.data_; -} -inline const ::MLDict& MLEvent::_internal_data(int index) const { - return _impl_.data_.Get(index); -} -inline const ::MLDict& MLEvent::data(int index) const { - // @@protoc_insertion_point(field_get:MLEvent.data) - return _internal_data(index); -} -inline ::MLDict* MLEvent::_internal_add_data() { - return _impl_.data_.Add(); -} -inline ::MLDict* MLEvent::add_data() { - ::MLDict* _add = _internal_add_data(); - // @@protoc_insertion_point(field_add:MLEvent.data) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLDict >& -MLEvent::data() const { - // @@protoc_insertion_point(field_list:MLEvent.data) - return _impl_.data_; -} - -// ------------------------------------------------------------------- - -// MLMatchState - -// optional string game_mode = 1; -inline bool MLMatchState::_internal_has_game_mode() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool MLMatchState::has_game_mode() const { - return _internal_has_game_mode(); -} -inline void MLMatchState::clear_game_mode() { - _impl_.game_mode_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& MLMatchState::game_mode() const { - // @@protoc_insertion_point(field_get:MLMatchState.game_mode) - return _internal_game_mode(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void MLMatchState::set_game_mode(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.game_mode_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:MLMatchState.game_mode) -} -inline std::string* MLMatchState::mutable_game_mode() { - std::string* _s = _internal_mutable_game_mode(); - // @@protoc_insertion_point(field_mutable:MLMatchState.game_mode) - return _s; -} -inline const std::string& MLMatchState::_internal_game_mode() const { - return _impl_.game_mode_.Get(); -} -inline void MLMatchState::_internal_set_game_mode(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.game_mode_.Set(value, GetArenaForAllocation()); -} -inline std::string* MLMatchState::_internal_mutable_game_mode() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.game_mode_.Mutable(GetArenaForAllocation()); -} -inline std::string* MLMatchState::release_game_mode() { - // @@protoc_insertion_point(field_release:MLMatchState.game_mode) - if (!_internal_has_game_mode()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.game_mode_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_mode_.IsDefault()) { - _impl_.game_mode_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void MLMatchState::set_allocated_game_mode(std::string* game_mode) { - if (game_mode != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.game_mode_.SetAllocated(game_mode, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_mode_.IsDefault()) { - _impl_.game_mode_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:MLMatchState.game_mode) -} - -// optional string phase = 2; -inline bool MLMatchState::_internal_has_phase() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool MLMatchState::has_phase() const { - return _internal_has_phase(); -} -inline void MLMatchState::clear_phase() { - _impl_.phase_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& MLMatchState::phase() const { - // @@protoc_insertion_point(field_get:MLMatchState.phase) - return _internal_phase(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void MLMatchState::set_phase(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.phase_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:MLMatchState.phase) -} -inline std::string* MLMatchState::mutable_phase() { - std::string* _s = _internal_mutable_phase(); - // @@protoc_insertion_point(field_mutable:MLMatchState.phase) - return _s; -} -inline const std::string& MLMatchState::_internal_phase() const { - return _impl_.phase_.Get(); -} -inline void MLMatchState::_internal_set_phase(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.phase_.Set(value, GetArenaForAllocation()); -} -inline std::string* MLMatchState::_internal_mutable_phase() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.phase_.Mutable(GetArenaForAllocation()); -} -inline std::string* MLMatchState::release_phase() { - // @@protoc_insertion_point(field_release:MLMatchState.phase) - if (!_internal_has_phase()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.phase_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.phase_.IsDefault()) { - _impl_.phase_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void MLMatchState::set_allocated_phase(std::string* phase) { - if (phase != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.phase_.SetAllocated(phase, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.phase_.IsDefault()) { - _impl_.phase_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:MLMatchState.phase) -} - -// optional int32 round = 3; -inline bool MLMatchState::_internal_has_round() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool MLMatchState::has_round() const { - return _internal_has_round(); -} -inline void MLMatchState::clear_round() { - _impl_.round_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t MLMatchState::_internal_round() const { - return _impl_.round_; -} -inline int32_t MLMatchState::round() const { - // @@protoc_insertion_point(field_get:MLMatchState.round) - return _internal_round(); -} -inline void MLMatchState::_internal_set_round(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.round_ = value; -} -inline void MLMatchState::set_round(int32_t value) { - _internal_set_round(value); - // @@protoc_insertion_point(field_set:MLMatchState.round) -} - -// optional int32 score_ct = 4; -inline bool MLMatchState::_internal_has_score_ct() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool MLMatchState::has_score_ct() const { - return _internal_has_score_ct(); -} -inline void MLMatchState::clear_score_ct() { - _impl_.score_ct_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t MLMatchState::_internal_score_ct() const { - return _impl_.score_ct_; -} -inline int32_t MLMatchState::score_ct() const { - // @@protoc_insertion_point(field_get:MLMatchState.score_ct) - return _internal_score_ct(); -} -inline void MLMatchState::_internal_set_score_ct(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.score_ct_ = value; -} -inline void MLMatchState::set_score_ct(int32_t value) { - _internal_set_score_ct(value); - // @@protoc_insertion_point(field_set:MLMatchState.score_ct) -} - -// optional int32 score_t = 5; -inline bool MLMatchState::_internal_has_score_t() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool MLMatchState::has_score_t() const { - return _internal_has_score_t(); -} -inline void MLMatchState::clear_score_t() { - _impl_.score_t_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t MLMatchState::_internal_score_t() const { - return _impl_.score_t_; -} -inline int32_t MLMatchState::score_t() const { - // @@protoc_insertion_point(field_get:MLMatchState.score_t) - return _internal_score_t(); -} -inline void MLMatchState::_internal_set_score_t(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.score_t_ = value; -} -inline void MLMatchState::set_score_t(int32_t value) { - _internal_set_score_t(value); - // @@protoc_insertion_point(field_set:MLMatchState.score_t) -} - -// ------------------------------------------------------------------- - -// MLRoundState - -// optional string phase = 1; -inline bool MLRoundState::_internal_has_phase() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool MLRoundState::has_phase() const { - return _internal_has_phase(); -} -inline void MLRoundState::clear_phase() { - _impl_.phase_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& MLRoundState::phase() const { - // @@protoc_insertion_point(field_get:MLRoundState.phase) - return _internal_phase(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void MLRoundState::set_phase(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.phase_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:MLRoundState.phase) -} -inline std::string* MLRoundState::mutable_phase() { - std::string* _s = _internal_mutable_phase(); - // @@protoc_insertion_point(field_mutable:MLRoundState.phase) - return _s; -} -inline const std::string& MLRoundState::_internal_phase() const { - return _impl_.phase_.Get(); -} -inline void MLRoundState::_internal_set_phase(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.phase_.Set(value, GetArenaForAllocation()); -} -inline std::string* MLRoundState::_internal_mutable_phase() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.phase_.Mutable(GetArenaForAllocation()); -} -inline std::string* MLRoundState::release_phase() { - // @@protoc_insertion_point(field_release:MLRoundState.phase) - if (!_internal_has_phase()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.phase_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.phase_.IsDefault()) { - _impl_.phase_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void MLRoundState::set_allocated_phase(std::string* phase) { - if (phase != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.phase_.SetAllocated(phase, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.phase_.IsDefault()) { - _impl_.phase_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:MLRoundState.phase) -} - -// optional .ETeam win_team = 2 [default = ET_Unknown]; -inline bool MLRoundState::_internal_has_win_team() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool MLRoundState::has_win_team() const { - return _internal_has_win_team(); -} -inline void MLRoundState::clear_win_team() { - _impl_.win_team_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::ETeam MLRoundState::_internal_win_team() const { - return static_cast< ::ETeam >(_impl_.win_team_); -} -inline ::ETeam MLRoundState::win_team() const { - // @@protoc_insertion_point(field_get:MLRoundState.win_team) - return _internal_win_team(); -} -inline void MLRoundState::_internal_set_win_team(::ETeam value) { - assert(::ETeam_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.win_team_ = value; -} -inline void MLRoundState::set_win_team(::ETeam value) { - _internal_set_win_team(value); - // @@protoc_insertion_point(field_set:MLRoundState.win_team) -} - -// optional string bomb_state = 3; -inline bool MLRoundState::_internal_has_bomb_state() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool MLRoundState::has_bomb_state() const { - return _internal_has_bomb_state(); -} -inline void MLRoundState::clear_bomb_state() { - _impl_.bomb_state_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& MLRoundState::bomb_state() const { - // @@protoc_insertion_point(field_get:MLRoundState.bomb_state) - return _internal_bomb_state(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void MLRoundState::set_bomb_state(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.bomb_state_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:MLRoundState.bomb_state) -} -inline std::string* MLRoundState::mutable_bomb_state() { - std::string* _s = _internal_mutable_bomb_state(); - // @@protoc_insertion_point(field_mutable:MLRoundState.bomb_state) - return _s; -} -inline const std::string& MLRoundState::_internal_bomb_state() const { - return _impl_.bomb_state_.Get(); -} -inline void MLRoundState::_internal_set_bomb_state(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.bomb_state_.Set(value, GetArenaForAllocation()); -} -inline std::string* MLRoundState::_internal_mutable_bomb_state() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.bomb_state_.Mutable(GetArenaForAllocation()); -} -inline std::string* MLRoundState::release_bomb_state() { - // @@protoc_insertion_point(field_release:MLRoundState.bomb_state) - if (!_internal_has_bomb_state()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.bomb_state_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.bomb_state_.IsDefault()) { - _impl_.bomb_state_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void MLRoundState::set_allocated_bomb_state(std::string* bomb_state) { - if (bomb_state != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.bomb_state_.SetAllocated(bomb_state, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.bomb_state_.IsDefault()) { - _impl_.bomb_state_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:MLRoundState.bomb_state) -} - -// ------------------------------------------------------------------- - -// MLWeaponState - -// optional int32 index = 1; -inline bool MLWeaponState::_internal_has_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool MLWeaponState::has_index() const { - return _internal_has_index(); -} -inline void MLWeaponState::clear_index() { - _impl_.index_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t MLWeaponState::_internal_index() const { - return _impl_.index_; -} -inline int32_t MLWeaponState::index() const { - // @@protoc_insertion_point(field_get:MLWeaponState.index) - return _internal_index(); -} -inline void MLWeaponState::_internal_set_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.index_ = value; -} -inline void MLWeaponState::set_index(int32_t value) { - _internal_set_index(value); - // @@protoc_insertion_point(field_set:MLWeaponState.index) -} - -// optional string name = 2; -inline bool MLWeaponState::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool MLWeaponState::has_name() const { - return _internal_has_name(); -} -inline void MLWeaponState::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& MLWeaponState::name() const { - // @@protoc_insertion_point(field_get:MLWeaponState.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void MLWeaponState::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:MLWeaponState.name) -} -inline std::string* MLWeaponState::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:MLWeaponState.name) - return _s; -} -inline const std::string& MLWeaponState::_internal_name() const { - return _impl_.name_.Get(); -} -inline void MLWeaponState::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* MLWeaponState::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* MLWeaponState::release_name() { - // @@protoc_insertion_point(field_release:MLWeaponState.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void MLWeaponState::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:MLWeaponState.name) -} - -// optional .EWeaponType type = 3 [default = EWT_Knife]; -inline bool MLWeaponState::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool MLWeaponState::has_type() const { - return _internal_has_type(); -} -inline void MLWeaponState::clear_type() { - _impl_.type_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline ::EWeaponType MLWeaponState::_internal_type() const { - return static_cast< ::EWeaponType >(_impl_.type_); -} -inline ::EWeaponType MLWeaponState::type() const { - // @@protoc_insertion_point(field_get:MLWeaponState.type) - return _internal_type(); -} -inline void MLWeaponState::_internal_set_type(::EWeaponType value) { - assert(::EWeaponType_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.type_ = value; -} -inline void MLWeaponState::set_type(::EWeaponType value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:MLWeaponState.type) -} - -// optional int32 ammo_clip = 4; -inline bool MLWeaponState::_internal_has_ammo_clip() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool MLWeaponState::has_ammo_clip() const { - return _internal_has_ammo_clip(); -} -inline void MLWeaponState::clear_ammo_clip() { - _impl_.ammo_clip_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t MLWeaponState::_internal_ammo_clip() const { - return _impl_.ammo_clip_; -} -inline int32_t MLWeaponState::ammo_clip() const { - // @@protoc_insertion_point(field_get:MLWeaponState.ammo_clip) - return _internal_ammo_clip(); -} -inline void MLWeaponState::_internal_set_ammo_clip(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.ammo_clip_ = value; -} -inline void MLWeaponState::set_ammo_clip(int32_t value) { - _internal_set_ammo_clip(value); - // @@protoc_insertion_point(field_set:MLWeaponState.ammo_clip) -} - -// optional int32 ammo_clip_max = 5; -inline bool MLWeaponState::_internal_has_ammo_clip_max() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool MLWeaponState::has_ammo_clip_max() const { - return _internal_has_ammo_clip_max(); -} -inline void MLWeaponState::clear_ammo_clip_max() { - _impl_.ammo_clip_max_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t MLWeaponState::_internal_ammo_clip_max() const { - return _impl_.ammo_clip_max_; -} -inline int32_t MLWeaponState::ammo_clip_max() const { - // @@protoc_insertion_point(field_get:MLWeaponState.ammo_clip_max) - return _internal_ammo_clip_max(); -} -inline void MLWeaponState::_internal_set_ammo_clip_max(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.ammo_clip_max_ = value; -} -inline void MLWeaponState::set_ammo_clip_max(int32_t value) { - _internal_set_ammo_clip_max(value); - // @@protoc_insertion_point(field_set:MLWeaponState.ammo_clip_max) -} - -// optional int32 ammo_reserve = 6; -inline bool MLWeaponState::_internal_has_ammo_reserve() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool MLWeaponState::has_ammo_reserve() const { - return _internal_has_ammo_reserve(); -} -inline void MLWeaponState::clear_ammo_reserve() { - _impl_.ammo_reserve_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t MLWeaponState::_internal_ammo_reserve() const { - return _impl_.ammo_reserve_; -} -inline int32_t MLWeaponState::ammo_reserve() const { - // @@protoc_insertion_point(field_get:MLWeaponState.ammo_reserve) - return _internal_ammo_reserve(); -} -inline void MLWeaponState::_internal_set_ammo_reserve(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.ammo_reserve_ = value; -} -inline void MLWeaponState::set_ammo_reserve(int32_t value) { - _internal_set_ammo_reserve(value); - // @@protoc_insertion_point(field_set:MLWeaponState.ammo_reserve) -} - -// optional string state = 7; -inline bool MLWeaponState::_internal_has_state() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool MLWeaponState::has_state() const { - return _internal_has_state(); -} -inline void MLWeaponState::clear_state() { - _impl_.state_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& MLWeaponState::state() const { - // @@protoc_insertion_point(field_get:MLWeaponState.state) - return _internal_state(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void MLWeaponState::set_state(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.state_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:MLWeaponState.state) -} -inline std::string* MLWeaponState::mutable_state() { - std::string* _s = _internal_mutable_state(); - // @@protoc_insertion_point(field_mutable:MLWeaponState.state) - return _s; -} -inline const std::string& MLWeaponState::_internal_state() const { - return _impl_.state_.Get(); -} -inline void MLWeaponState::_internal_set_state(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.state_.Set(value, GetArenaForAllocation()); -} -inline std::string* MLWeaponState::_internal_mutable_state() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.state_.Mutable(GetArenaForAllocation()); -} -inline std::string* MLWeaponState::release_state() { - // @@protoc_insertion_point(field_release:MLWeaponState.state) - if (!_internal_has_state()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.state_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.state_.IsDefault()) { - _impl_.state_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void MLWeaponState::set_allocated_state(std::string* state) { - if (state != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.state_.SetAllocated(state, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.state_.IsDefault()) { - _impl_.state_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:MLWeaponState.state) -} - -// optional float recoil_index = 8; -inline bool MLWeaponState::_internal_has_recoil_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool MLWeaponState::has_recoil_index() const { - return _internal_has_recoil_index(); -} -inline void MLWeaponState::clear_recoil_index() { - _impl_.recoil_index_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline float MLWeaponState::_internal_recoil_index() const { - return _impl_.recoil_index_; -} -inline float MLWeaponState::recoil_index() const { - // @@protoc_insertion_point(field_get:MLWeaponState.recoil_index) - return _internal_recoil_index(); -} -inline void MLWeaponState::_internal_set_recoil_index(float value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.recoil_index_ = value; -} -inline void MLWeaponState::set_recoil_index(float value) { - _internal_set_recoil_index(value); - // @@protoc_insertion_point(field_set:MLWeaponState.recoil_index) -} - -// ------------------------------------------------------------------- - -// MLPlayerState - -// optional int32 account_id = 1; -inline bool MLPlayerState::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool MLPlayerState::has_account_id() const { - return _internal_has_account_id(); -} -inline void MLPlayerState::clear_account_id() { - _impl_.account_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t MLPlayerState::_internal_account_id() const { - return _impl_.account_id_; -} -inline int32_t MLPlayerState::account_id() const { - // @@protoc_insertion_point(field_get:MLPlayerState.account_id) - return _internal_account_id(); -} -inline void MLPlayerState::_internal_set_account_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.account_id_ = value; -} -inline void MLPlayerState::set_account_id(int32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:MLPlayerState.account_id) -} - -// optional int32 player_slot = 2 [default = -1]; -inline bool MLPlayerState::_internal_has_player_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; - return value; -} -inline bool MLPlayerState::has_player_slot() const { - return _internal_has_player_slot(); -} -inline void MLPlayerState::clear_player_slot() { - _impl_.player_slot_ = -1; - _impl_._has_bits_[0] &= ~0x00040000u; -} -inline int32_t MLPlayerState::_internal_player_slot() const { - return _impl_.player_slot_; -} -inline int32_t MLPlayerState::player_slot() const { - // @@protoc_insertion_point(field_get:MLPlayerState.player_slot) - return _internal_player_slot(); -} -inline void MLPlayerState::_internal_set_player_slot(int32_t value) { - _impl_._has_bits_[0] |= 0x00040000u; - _impl_.player_slot_ = value; -} -inline void MLPlayerState::set_player_slot(int32_t value) { - _internal_set_player_slot(value); - // @@protoc_insertion_point(field_set:MLPlayerState.player_slot) -} - -// optional int32 entindex = 3; -inline bool MLPlayerState::_internal_has_entindex() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool MLPlayerState::has_entindex() const { - return _internal_has_entindex(); -} -inline void MLPlayerState::clear_entindex() { - _impl_.entindex_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t MLPlayerState::_internal_entindex() const { - return _impl_.entindex_; -} -inline int32_t MLPlayerState::entindex() const { - // @@protoc_insertion_point(field_get:MLPlayerState.entindex) - return _internal_entindex(); -} -inline void MLPlayerState::_internal_set_entindex(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.entindex_ = value; -} -inline void MLPlayerState::set_entindex(int32_t value) { - _internal_set_entindex(value); - // @@protoc_insertion_point(field_set:MLPlayerState.entindex) -} - -// optional string name = 4; -inline bool MLPlayerState::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool MLPlayerState::has_name() const { - return _internal_has_name(); -} -inline void MLPlayerState::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& MLPlayerState::name() const { - // @@protoc_insertion_point(field_get:MLPlayerState.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void MLPlayerState::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:MLPlayerState.name) -} -inline std::string* MLPlayerState::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:MLPlayerState.name) - return _s; -} -inline const std::string& MLPlayerState::_internal_name() const { - return _impl_.name_.Get(); -} -inline void MLPlayerState::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* MLPlayerState::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* MLPlayerState::release_name() { - // @@protoc_insertion_point(field_release:MLPlayerState.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void MLPlayerState::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:MLPlayerState.name) -} - -// optional string clan = 5; -inline bool MLPlayerState::_internal_has_clan() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool MLPlayerState::has_clan() const { - return _internal_has_clan(); -} -inline void MLPlayerState::clear_clan() { - _impl_.clan_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& MLPlayerState::clan() const { - // @@protoc_insertion_point(field_get:MLPlayerState.clan) - return _internal_clan(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void MLPlayerState::set_clan(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.clan_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:MLPlayerState.clan) -} -inline std::string* MLPlayerState::mutable_clan() { - std::string* _s = _internal_mutable_clan(); - // @@protoc_insertion_point(field_mutable:MLPlayerState.clan) - return _s; -} -inline const std::string& MLPlayerState::_internal_clan() const { - return _impl_.clan_.Get(); -} -inline void MLPlayerState::_internal_set_clan(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.clan_.Set(value, GetArenaForAllocation()); -} -inline std::string* MLPlayerState::_internal_mutable_clan() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.clan_.Mutable(GetArenaForAllocation()); -} -inline std::string* MLPlayerState::release_clan() { - // @@protoc_insertion_point(field_release:MLPlayerState.clan) - if (!_internal_has_clan()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.clan_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.clan_.IsDefault()) { - _impl_.clan_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void MLPlayerState::set_allocated_clan(std::string* clan) { - if (clan != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.clan_.SetAllocated(clan, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.clan_.IsDefault()) { - _impl_.clan_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:MLPlayerState.clan) -} - -// optional .ETeam team = 6 [default = ET_Unknown]; -inline bool MLPlayerState::_internal_has_team() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool MLPlayerState::has_team() const { - return _internal_has_team(); -} -inline void MLPlayerState::clear_team() { - _impl_.team_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline ::ETeam MLPlayerState::_internal_team() const { - return static_cast< ::ETeam >(_impl_.team_); -} -inline ::ETeam MLPlayerState::team() const { - // @@protoc_insertion_point(field_get:MLPlayerState.team) - return _internal_team(); -} -inline void MLPlayerState::_internal_set_team(::ETeam value) { - assert(::ETeam_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.team_ = value; -} -inline void MLPlayerState::set_team(::ETeam value) { - _internal_set_team(value); - // @@protoc_insertion_point(field_set:MLPlayerState.team) -} - -// optional .CMsgVector abspos = 7; -inline bool MLPlayerState::_internal_has_abspos() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.abspos_ != nullptr); - return value; -} -inline bool MLPlayerState::has_abspos() const { - return _internal_has_abspos(); -} -inline const ::CMsgVector& MLPlayerState::_internal_abspos() const { - const ::CMsgVector* p = _impl_.abspos_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& MLPlayerState::abspos() const { - // @@protoc_insertion_point(field_get:MLPlayerState.abspos) - return _internal_abspos(); -} -inline void MLPlayerState::unsafe_arena_set_allocated_abspos( - ::CMsgVector* abspos) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.abspos_); - } - _impl_.abspos_ = abspos; - if (abspos) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MLPlayerState.abspos) -} -inline ::CMsgVector* MLPlayerState::release_abspos() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.abspos_; - _impl_.abspos_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* MLPlayerState::unsafe_arena_release_abspos() { - // @@protoc_insertion_point(field_release:MLPlayerState.abspos) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.abspos_; - _impl_.abspos_ = nullptr; - return temp; -} -inline ::CMsgVector* MLPlayerState::_internal_mutable_abspos() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.abspos_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.abspos_ = p; - } - return _impl_.abspos_; -} -inline ::CMsgVector* MLPlayerState::mutable_abspos() { - ::CMsgVector* _msg = _internal_mutable_abspos(); - // @@protoc_insertion_point(field_mutable:MLPlayerState.abspos) - return _msg; -} -inline void MLPlayerState::set_allocated_abspos(::CMsgVector* abspos) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.abspos_); - } - if (abspos) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(abspos)); - if (message_arena != submessage_arena) { - abspos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, abspos, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.abspos_ = abspos; - // @@protoc_insertion_point(field_set_allocated:MLPlayerState.abspos) -} - -// optional .CMsgQAngle eyeangle = 8; -inline bool MLPlayerState::_internal_has_eyeangle() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.eyeangle_ != nullptr); - return value; -} -inline bool MLPlayerState::has_eyeangle() const { - return _internal_has_eyeangle(); -} -inline const ::CMsgQAngle& MLPlayerState::_internal_eyeangle() const { - const ::CMsgQAngle* p = _impl_.eyeangle_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& MLPlayerState::eyeangle() const { - // @@protoc_insertion_point(field_get:MLPlayerState.eyeangle) - return _internal_eyeangle(); -} -inline void MLPlayerState::unsafe_arena_set_allocated_eyeangle( - ::CMsgQAngle* eyeangle) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.eyeangle_); - } - _impl_.eyeangle_ = eyeangle; - if (eyeangle) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MLPlayerState.eyeangle) -} -inline ::CMsgQAngle* MLPlayerState::release_eyeangle() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgQAngle* temp = _impl_.eyeangle_; - _impl_.eyeangle_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* MLPlayerState::unsafe_arena_release_eyeangle() { - // @@protoc_insertion_point(field_release:MLPlayerState.eyeangle) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgQAngle* temp = _impl_.eyeangle_; - _impl_.eyeangle_ = nullptr; - return temp; -} -inline ::CMsgQAngle* MLPlayerState::_internal_mutable_eyeangle() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.eyeangle_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.eyeangle_ = p; - } - return _impl_.eyeangle_; -} -inline ::CMsgQAngle* MLPlayerState::mutable_eyeangle() { - ::CMsgQAngle* _msg = _internal_mutable_eyeangle(); - // @@protoc_insertion_point(field_mutable:MLPlayerState.eyeangle) - return _msg; -} -inline void MLPlayerState::set_allocated_eyeangle(::CMsgQAngle* eyeangle) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.eyeangle_); - } - if (eyeangle) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(eyeangle)); - if (message_arena != submessage_arena) { - eyeangle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, eyeangle, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.eyeangle_ = eyeangle; - // @@protoc_insertion_point(field_set_allocated:MLPlayerState.eyeangle) -} - -// optional .CMsgVector eyeangle_fwd = 9; -inline bool MLPlayerState::_internal_has_eyeangle_fwd() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.eyeangle_fwd_ != nullptr); - return value; -} -inline bool MLPlayerState::has_eyeangle_fwd() const { - return _internal_has_eyeangle_fwd(); -} -inline const ::CMsgVector& MLPlayerState::_internal_eyeangle_fwd() const { - const ::CMsgVector* p = _impl_.eyeangle_fwd_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& MLPlayerState::eyeangle_fwd() const { - // @@protoc_insertion_point(field_get:MLPlayerState.eyeangle_fwd) - return _internal_eyeangle_fwd(); -} -inline void MLPlayerState::unsafe_arena_set_allocated_eyeangle_fwd( - ::CMsgVector* eyeangle_fwd) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.eyeangle_fwd_); - } - _impl_.eyeangle_fwd_ = eyeangle_fwd; - if (eyeangle_fwd) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MLPlayerState.eyeangle_fwd) -} -inline ::CMsgVector* MLPlayerState::release_eyeangle_fwd() { - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgVector* temp = _impl_.eyeangle_fwd_; - _impl_.eyeangle_fwd_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* MLPlayerState::unsafe_arena_release_eyeangle_fwd() { - // @@protoc_insertion_point(field_release:MLPlayerState.eyeangle_fwd) - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgVector* temp = _impl_.eyeangle_fwd_; - _impl_.eyeangle_fwd_ = nullptr; - return temp; -} -inline ::CMsgVector* MLPlayerState::_internal_mutable_eyeangle_fwd() { - _impl_._has_bits_[0] |= 0x00000010u; - if (_impl_.eyeangle_fwd_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.eyeangle_fwd_ = p; - } - return _impl_.eyeangle_fwd_; -} -inline ::CMsgVector* MLPlayerState::mutable_eyeangle_fwd() { - ::CMsgVector* _msg = _internal_mutable_eyeangle_fwd(); - // @@protoc_insertion_point(field_mutable:MLPlayerState.eyeangle_fwd) - return _msg; -} -inline void MLPlayerState::set_allocated_eyeangle_fwd(::CMsgVector* eyeangle_fwd) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.eyeangle_fwd_); - } - if (eyeangle_fwd) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(eyeangle_fwd)); - if (message_arena != submessage_arena) { - eyeangle_fwd = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, eyeangle_fwd, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.eyeangle_fwd_ = eyeangle_fwd; - // @@protoc_insertion_point(field_set_allocated:MLPlayerState.eyeangle_fwd) -} - -// optional int32 health = 10; -inline bool MLPlayerState::_internal_has_health() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool MLPlayerState::has_health() const { - return _internal_has_health(); -} -inline void MLPlayerState::clear_health() { - _impl_.health_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t MLPlayerState::_internal_health() const { - return _impl_.health_; -} -inline int32_t MLPlayerState::health() const { - // @@protoc_insertion_point(field_get:MLPlayerState.health) - return _internal_health(); -} -inline void MLPlayerState::_internal_set_health(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.health_ = value; -} -inline void MLPlayerState::set_health(int32_t value) { - _internal_set_health(value); - // @@protoc_insertion_point(field_set:MLPlayerState.health) -} - -// optional int32 armor = 11; -inline bool MLPlayerState::_internal_has_armor() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool MLPlayerState::has_armor() const { - return _internal_has_armor(); -} -inline void MLPlayerState::clear_armor() { - _impl_.armor_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline int32_t MLPlayerState::_internal_armor() const { - return _impl_.armor_; -} -inline int32_t MLPlayerState::armor() const { - // @@protoc_insertion_point(field_get:MLPlayerState.armor) - return _internal_armor(); -} -inline void MLPlayerState::_internal_set_armor(int32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.armor_ = value; -} -inline void MLPlayerState::set_armor(int32_t value) { - _internal_set_armor(value); - // @@protoc_insertion_point(field_set:MLPlayerState.armor) -} - -// optional float flashed = 12; -inline bool MLPlayerState::_internal_has_flashed() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool MLPlayerState::has_flashed() const { - return _internal_has_flashed(); -} -inline void MLPlayerState::clear_flashed() { - _impl_.flashed_ = 0; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline float MLPlayerState::_internal_flashed() const { - return _impl_.flashed_; -} -inline float MLPlayerState::flashed() const { - // @@protoc_insertion_point(field_get:MLPlayerState.flashed) - return _internal_flashed(); -} -inline void MLPlayerState::_internal_set_flashed(float value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.flashed_ = value; -} -inline void MLPlayerState::set_flashed(float value) { - _internal_set_flashed(value); - // @@protoc_insertion_point(field_set:MLPlayerState.flashed) -} - -// optional float smoked = 13; -inline bool MLPlayerState::_internal_has_smoked() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool MLPlayerState::has_smoked() const { - return _internal_has_smoked(); -} -inline void MLPlayerState::clear_smoked() { - _impl_.smoked_ = 0; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline float MLPlayerState::_internal_smoked() const { - return _impl_.smoked_; -} -inline float MLPlayerState::smoked() const { - // @@protoc_insertion_point(field_get:MLPlayerState.smoked) - return _internal_smoked(); -} -inline void MLPlayerState::_internal_set_smoked(float value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.smoked_ = value; -} -inline void MLPlayerState::set_smoked(float value) { - _internal_set_smoked(value); - // @@protoc_insertion_point(field_set:MLPlayerState.smoked) -} - -// optional int32 money = 14; -inline bool MLPlayerState::_internal_has_money() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool MLPlayerState::has_money() const { - return _internal_has_money(); -} -inline void MLPlayerState::clear_money() { - _impl_.money_ = 0; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline int32_t MLPlayerState::_internal_money() const { - return _impl_.money_; -} -inline int32_t MLPlayerState::money() const { - // @@protoc_insertion_point(field_get:MLPlayerState.money) - return _internal_money(); -} -inline void MLPlayerState::_internal_set_money(int32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.money_ = value; -} -inline void MLPlayerState::set_money(int32_t value) { - _internal_set_money(value); - // @@protoc_insertion_point(field_set:MLPlayerState.money) -} - -// optional int32 round_kills = 15; -inline bool MLPlayerState::_internal_has_round_kills() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool MLPlayerState::has_round_kills() const { - return _internal_has_round_kills(); -} -inline void MLPlayerState::clear_round_kills() { - _impl_.round_kills_ = 0; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline int32_t MLPlayerState::_internal_round_kills() const { - return _impl_.round_kills_; -} -inline int32_t MLPlayerState::round_kills() const { - // @@protoc_insertion_point(field_get:MLPlayerState.round_kills) - return _internal_round_kills(); -} -inline void MLPlayerState::_internal_set_round_kills(int32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.round_kills_ = value; -} -inline void MLPlayerState::set_round_kills(int32_t value) { - _internal_set_round_kills(value); - // @@protoc_insertion_point(field_set:MLPlayerState.round_kills) -} - -// optional int32 round_killhs = 16; -inline bool MLPlayerState::_internal_has_round_killhs() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool MLPlayerState::has_round_killhs() const { - return _internal_has_round_killhs(); -} -inline void MLPlayerState::clear_round_killhs() { - _impl_.round_killhs_ = 0; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline int32_t MLPlayerState::_internal_round_killhs() const { - return _impl_.round_killhs_; -} -inline int32_t MLPlayerState::round_killhs() const { - // @@protoc_insertion_point(field_get:MLPlayerState.round_killhs) - return _internal_round_killhs(); -} -inline void MLPlayerState::_internal_set_round_killhs(int32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.round_killhs_ = value; -} -inline void MLPlayerState::set_round_killhs(int32_t value) { - _internal_set_round_killhs(value); - // @@protoc_insertion_point(field_set:MLPlayerState.round_killhs) -} - -// optional float burning = 17; -inline bool MLPlayerState::_internal_has_burning() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool MLPlayerState::has_burning() const { - return _internal_has_burning(); -} -inline void MLPlayerState::clear_burning() { - _impl_.burning_ = 0; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline float MLPlayerState::_internal_burning() const { - return _impl_.burning_; -} -inline float MLPlayerState::burning() const { - // @@protoc_insertion_point(field_get:MLPlayerState.burning) - return _internal_burning(); -} -inline void MLPlayerState::_internal_set_burning(float value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.burning_ = value; -} -inline void MLPlayerState::set_burning(float value) { - _internal_set_burning(value); - // @@protoc_insertion_point(field_set:MLPlayerState.burning) -} - -// optional bool helmet = 18; -inline bool MLPlayerState::_internal_has_helmet() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool MLPlayerState::has_helmet() const { - return _internal_has_helmet(); -} -inline void MLPlayerState::clear_helmet() { - _impl_.helmet_ = false; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline bool MLPlayerState::_internal_helmet() const { - return _impl_.helmet_; -} -inline bool MLPlayerState::helmet() const { - // @@protoc_insertion_point(field_get:MLPlayerState.helmet) - return _internal_helmet(); -} -inline void MLPlayerState::_internal_set_helmet(bool value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.helmet_ = value; -} -inline void MLPlayerState::set_helmet(bool value) { - _internal_set_helmet(value); - // @@protoc_insertion_point(field_set:MLPlayerState.helmet) -} - -// optional bool defuse_kit = 19; -inline bool MLPlayerState::_internal_has_defuse_kit() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool MLPlayerState::has_defuse_kit() const { - return _internal_has_defuse_kit(); -} -inline void MLPlayerState::clear_defuse_kit() { - _impl_.defuse_kit_ = false; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline bool MLPlayerState::_internal_defuse_kit() const { - return _impl_.defuse_kit_; -} -inline bool MLPlayerState::defuse_kit() const { - // @@protoc_insertion_point(field_get:MLPlayerState.defuse_kit) - return _internal_defuse_kit(); -} -inline void MLPlayerState::_internal_set_defuse_kit(bool value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.defuse_kit_ = value; -} -inline void MLPlayerState::set_defuse_kit(bool value) { - _internal_set_defuse_kit(value); - // @@protoc_insertion_point(field_set:MLPlayerState.defuse_kit) -} - -// repeated .MLWeaponState weapons = 20; -inline int MLPlayerState::_internal_weapons_size() const { - return _impl_.weapons_.size(); -} -inline int MLPlayerState::weapons_size() const { - return _internal_weapons_size(); -} -inline void MLPlayerState::clear_weapons() { - _impl_.weapons_.Clear(); -} -inline ::MLWeaponState* MLPlayerState::mutable_weapons(int index) { - // @@protoc_insertion_point(field_mutable:MLPlayerState.weapons) - return _impl_.weapons_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLWeaponState >* -MLPlayerState::mutable_weapons() { - // @@protoc_insertion_point(field_mutable_list:MLPlayerState.weapons) - return &_impl_.weapons_; -} -inline const ::MLWeaponState& MLPlayerState::_internal_weapons(int index) const { - return _impl_.weapons_.Get(index); -} -inline const ::MLWeaponState& MLPlayerState::weapons(int index) const { - // @@protoc_insertion_point(field_get:MLPlayerState.weapons) - return _internal_weapons(index); -} -inline ::MLWeaponState* MLPlayerState::_internal_add_weapons() { - return _impl_.weapons_.Add(); -} -inline ::MLWeaponState* MLPlayerState::add_weapons() { - ::MLWeaponState* _add = _internal_add_weapons(); - // @@protoc_insertion_point(field_add:MLPlayerState.weapons) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLWeaponState >& -MLPlayerState::weapons() const { - // @@protoc_insertion_point(field_list:MLPlayerState.weapons) - return _impl_.weapons_; -} - -// ------------------------------------------------------------------- - -// MLGameState - -// optional .MLMatchState match = 1; -inline bool MLGameState::_internal_has_match() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.match_ != nullptr); - return value; -} -inline bool MLGameState::has_match() const { - return _internal_has_match(); -} -inline void MLGameState::clear_match() { - if (_impl_.match_ != nullptr) _impl_.match_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::MLMatchState& MLGameState::_internal_match() const { - const ::MLMatchState* p = _impl_.match_; - return p != nullptr ? *p : reinterpret_cast( - ::_MLMatchState_default_instance_); -} -inline const ::MLMatchState& MLGameState::match() const { - // @@protoc_insertion_point(field_get:MLGameState.match) - return _internal_match(); -} -inline void MLGameState::unsafe_arena_set_allocated_match( - ::MLMatchState* match) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.match_); - } - _impl_.match_ = match; - if (match) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MLGameState.match) -} -inline ::MLMatchState* MLGameState::release_match() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::MLMatchState* temp = _impl_.match_; - _impl_.match_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::MLMatchState* MLGameState::unsafe_arena_release_match() { - // @@protoc_insertion_point(field_release:MLGameState.match) - _impl_._has_bits_[0] &= ~0x00000001u; - ::MLMatchState* temp = _impl_.match_; - _impl_.match_ = nullptr; - return temp; -} -inline ::MLMatchState* MLGameState::_internal_mutable_match() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.match_ == nullptr) { - auto* p = CreateMaybeMessage<::MLMatchState>(GetArenaForAllocation()); - _impl_.match_ = p; - } - return _impl_.match_; -} -inline ::MLMatchState* MLGameState::mutable_match() { - ::MLMatchState* _msg = _internal_mutable_match(); - // @@protoc_insertion_point(field_mutable:MLGameState.match) - return _msg; -} -inline void MLGameState::set_allocated_match(::MLMatchState* match) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.match_; - } - if (match) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(match); - if (message_arena != submessage_arena) { - match = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, match, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.match_ = match; - // @@protoc_insertion_point(field_set_allocated:MLGameState.match) -} - -// optional .MLRoundState round = 2; -inline bool MLGameState::_internal_has_round() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.round_ != nullptr); - return value; -} -inline bool MLGameState::has_round() const { - return _internal_has_round(); -} -inline void MLGameState::clear_round() { - if (_impl_.round_ != nullptr) _impl_.round_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::MLRoundState& MLGameState::_internal_round() const { - const ::MLRoundState* p = _impl_.round_; - return p != nullptr ? *p : reinterpret_cast( - ::_MLRoundState_default_instance_); -} -inline const ::MLRoundState& MLGameState::round() const { - // @@protoc_insertion_point(field_get:MLGameState.round) - return _internal_round(); -} -inline void MLGameState::unsafe_arena_set_allocated_round( - ::MLRoundState* round) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.round_); - } - _impl_.round_ = round; - if (round) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MLGameState.round) -} -inline ::MLRoundState* MLGameState::release_round() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::MLRoundState* temp = _impl_.round_; - _impl_.round_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::MLRoundState* MLGameState::unsafe_arena_release_round() { - // @@protoc_insertion_point(field_release:MLGameState.round) - _impl_._has_bits_[0] &= ~0x00000002u; - ::MLRoundState* temp = _impl_.round_; - _impl_.round_ = nullptr; - return temp; -} -inline ::MLRoundState* MLGameState::_internal_mutable_round() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.round_ == nullptr) { - auto* p = CreateMaybeMessage<::MLRoundState>(GetArenaForAllocation()); - _impl_.round_ = p; - } - return _impl_.round_; -} -inline ::MLRoundState* MLGameState::mutable_round() { - ::MLRoundState* _msg = _internal_mutable_round(); - // @@protoc_insertion_point(field_mutable:MLGameState.round) - return _msg; -} -inline void MLGameState::set_allocated_round(::MLRoundState* round) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.round_; - } - if (round) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(round); - if (message_arena != submessage_arena) { - round = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, round, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.round_ = round; - // @@protoc_insertion_point(field_set_allocated:MLGameState.round) -} - -// repeated .MLPlayerState players = 3; -inline int MLGameState::_internal_players_size() const { - return _impl_.players_.size(); -} -inline int MLGameState::players_size() const { - return _internal_players_size(); -} -inline void MLGameState::clear_players() { - _impl_.players_.Clear(); -} -inline ::MLPlayerState* MLGameState::mutable_players(int index) { - // @@protoc_insertion_point(field_mutable:MLGameState.players) - return _impl_.players_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLPlayerState >* -MLGameState::mutable_players() { - // @@protoc_insertion_point(field_mutable_list:MLGameState.players) - return &_impl_.players_; -} -inline const ::MLPlayerState& MLGameState::_internal_players(int index) const { - return _impl_.players_.Get(index); -} -inline const ::MLPlayerState& MLGameState::players(int index) const { - // @@protoc_insertion_point(field_get:MLGameState.players) - return _internal_players(index); -} -inline ::MLPlayerState* MLGameState::_internal_add_players() { - return _impl_.players_.Add(); -} -inline ::MLPlayerState* MLGameState::add_players() { - ::MLPlayerState* _add = _internal_add_players(); - // @@protoc_insertion_point(field_add:MLGameState.players) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLPlayerState >& -MLGameState::players() const { - // @@protoc_insertion_point(field_list:MLGameState.players) - return _impl_.players_; -} - -// ------------------------------------------------------------------- - -// MLDemoHeader - -// optional string map_name = 1; -inline bool MLDemoHeader::_internal_has_map_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool MLDemoHeader::has_map_name() const { - return _internal_has_map_name(); -} -inline void MLDemoHeader::clear_map_name() { - _impl_.map_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& MLDemoHeader::map_name() const { - // @@protoc_insertion_point(field_get:MLDemoHeader.map_name) - return _internal_map_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void MLDemoHeader::set_map_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.map_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:MLDemoHeader.map_name) -} -inline std::string* MLDemoHeader::mutable_map_name() { - std::string* _s = _internal_mutable_map_name(); - // @@protoc_insertion_point(field_mutable:MLDemoHeader.map_name) - return _s; -} -inline const std::string& MLDemoHeader::_internal_map_name() const { - return _impl_.map_name_.Get(); -} -inline void MLDemoHeader::_internal_set_map_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.map_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* MLDemoHeader::_internal_mutable_map_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.map_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* MLDemoHeader::release_map_name() { - // @@protoc_insertion_point(field_release:MLDemoHeader.map_name) - if (!_internal_has_map_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.map_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.map_name_.IsDefault()) { - _impl_.map_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void MLDemoHeader::set_allocated_map_name(std::string* map_name) { - if (map_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.map_name_.SetAllocated(map_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.map_name_.IsDefault()) { - _impl_.map_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:MLDemoHeader.map_name) -} - -// optional int32 tick_rate = 2; -inline bool MLDemoHeader::_internal_has_tick_rate() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool MLDemoHeader::has_tick_rate() const { - return _internal_has_tick_rate(); -} -inline void MLDemoHeader::clear_tick_rate() { - _impl_.tick_rate_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t MLDemoHeader::_internal_tick_rate() const { - return _impl_.tick_rate_; -} -inline int32_t MLDemoHeader::tick_rate() const { - // @@protoc_insertion_point(field_get:MLDemoHeader.tick_rate) - return _internal_tick_rate(); -} -inline void MLDemoHeader::_internal_set_tick_rate(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.tick_rate_ = value; -} -inline void MLDemoHeader::set_tick_rate(int32_t value) { - _internal_set_tick_rate(value); - // @@protoc_insertion_point(field_set:MLDemoHeader.tick_rate) -} - -// optional uint32 version = 3; -inline bool MLDemoHeader::_internal_has_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool MLDemoHeader::has_version() const { - return _internal_has_version(); -} -inline void MLDemoHeader::clear_version() { - _impl_.version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t MLDemoHeader::_internal_version() const { - return _impl_.version_; -} -inline uint32_t MLDemoHeader::version() const { - // @@protoc_insertion_point(field_get:MLDemoHeader.version) - return _internal_version(); -} -inline void MLDemoHeader::_internal_set_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.version_ = value; -} -inline void MLDemoHeader::set_version(uint32_t value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:MLDemoHeader.version) -} - -// optional uint32 steam_universe = 4; -inline bool MLDemoHeader::_internal_has_steam_universe() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool MLDemoHeader::has_steam_universe() const { - return _internal_has_steam_universe(); -} -inline void MLDemoHeader::clear_steam_universe() { - _impl_.steam_universe_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t MLDemoHeader::_internal_steam_universe() const { - return _impl_.steam_universe_; -} -inline uint32_t MLDemoHeader::steam_universe() const { - // @@protoc_insertion_point(field_get:MLDemoHeader.steam_universe) - return _internal_steam_universe(); -} -inline void MLDemoHeader::_internal_set_steam_universe(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.steam_universe_ = value; -} -inline void MLDemoHeader::set_steam_universe(uint32_t value) { - _internal_set_steam_universe(value); - // @@protoc_insertion_point(field_set:MLDemoHeader.steam_universe) -} - -// ------------------------------------------------------------------- - -// MLTick - -// optional int32 tick_count = 1; -inline bool MLTick::_internal_has_tick_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool MLTick::has_tick_count() const { - return _internal_has_tick_count(); -} -inline void MLTick::clear_tick_count() { - _impl_.tick_count_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t MLTick::_internal_tick_count() const { - return _impl_.tick_count_; -} -inline int32_t MLTick::tick_count() const { - // @@protoc_insertion_point(field_get:MLTick.tick_count) - return _internal_tick_count(); -} -inline void MLTick::_internal_set_tick_count(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.tick_count_ = value; -} -inline void MLTick::set_tick_count(int32_t value) { - _internal_set_tick_count(value); - // @@protoc_insertion_point(field_set:MLTick.tick_count) -} - -// optional .MLGameState state = 2; -inline bool MLTick::_internal_has_state() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.state_ != nullptr); - return value; -} -inline bool MLTick::has_state() const { - return _internal_has_state(); -} -inline void MLTick::clear_state() { - if (_impl_.state_ != nullptr) _impl_.state_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::MLGameState& MLTick::_internal_state() const { - const ::MLGameState* p = _impl_.state_; - return p != nullptr ? *p : reinterpret_cast( - ::_MLGameState_default_instance_); -} -inline const ::MLGameState& MLTick::state() const { - // @@protoc_insertion_point(field_get:MLTick.state) - return _internal_state(); -} -inline void MLTick::unsafe_arena_set_allocated_state( - ::MLGameState* state) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.state_); - } - _impl_.state_ = state; - if (state) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:MLTick.state) -} -inline ::MLGameState* MLTick::release_state() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::MLGameState* temp = _impl_.state_; - _impl_.state_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::MLGameState* MLTick::unsafe_arena_release_state() { - // @@protoc_insertion_point(field_release:MLTick.state) - _impl_._has_bits_[0] &= ~0x00000001u; - ::MLGameState* temp = _impl_.state_; - _impl_.state_ = nullptr; - return temp; -} -inline ::MLGameState* MLTick::_internal_mutable_state() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.state_ == nullptr) { - auto* p = CreateMaybeMessage<::MLGameState>(GetArenaForAllocation()); - _impl_.state_ = p; - } - return _impl_.state_; -} -inline ::MLGameState* MLTick::mutable_state() { - ::MLGameState* _msg = _internal_mutable_state(); - // @@protoc_insertion_point(field_mutable:MLTick.state) - return _msg; -} -inline void MLTick::set_allocated_state(::MLGameState* state) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.state_; - } - if (state) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(state); - if (message_arena != submessage_arena) { - state = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, state, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.state_ = state; - // @@protoc_insertion_point(field_set_allocated:MLTick.state) -} - -// repeated .MLEvent events = 3; -inline int MLTick::_internal_events_size() const { - return _impl_.events_.size(); -} -inline int MLTick::events_size() const { - return _internal_events_size(); -} -inline void MLTick::clear_events() { - _impl_.events_.Clear(); -} -inline ::MLEvent* MLTick::mutable_events(int index) { - // @@protoc_insertion_point(field_mutable:MLTick.events) - return _impl_.events_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLEvent >* -MLTick::mutable_events() { - // @@protoc_insertion_point(field_mutable_list:MLTick.events) - return &_impl_.events_; -} -inline const ::MLEvent& MLTick::_internal_events(int index) const { - return _impl_.events_.Get(index); -} -inline const ::MLEvent& MLTick::events(int index) const { - // @@protoc_insertion_point(field_get:MLTick.events) - return _internal_events(index); -} -inline ::MLEvent* MLTick::_internal_add_events() { - return _impl_.events_.Add(); -} -inline ::MLEvent* MLTick::add_events() { - ::MLEvent* _add = _internal_add_events(); - // @@protoc_insertion_point(field_add:MLTick.events) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::MLEvent >& -MLTick::events() const { - // @@protoc_insertion_point(field_list:MLTick.events) - return _impl_.events_; -} - -// ------------------------------------------------------------------- - -// VacNetShot - -// optional fixed64 steamid_player = 1; -inline bool VacNetShot::_internal_has_steamid_player() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool VacNetShot::has_steamid_player() const { - return _internal_has_steamid_player(); -} -inline void VacNetShot::clear_steamid_player() { - _impl_.steamid_player_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t VacNetShot::_internal_steamid_player() const { - return _impl_.steamid_player_; -} -inline uint64_t VacNetShot::steamid_player() const { - // @@protoc_insertion_point(field_get:VacNetShot.steamid_player) - return _internal_steamid_player(); -} -inline void VacNetShot::_internal_set_steamid_player(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steamid_player_ = value; -} -inline void VacNetShot::set_steamid_player(uint64_t value) { - _internal_set_steamid_player(value); - // @@protoc_insertion_point(field_set:VacNetShot.steamid_player) -} - -// optional int32 round_number = 2; -inline bool VacNetShot::_internal_has_round_number() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool VacNetShot::has_round_number() const { - return _internal_has_round_number(); -} -inline void VacNetShot::clear_round_number() { - _impl_.round_number_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t VacNetShot::_internal_round_number() const { - return _impl_.round_number_; -} -inline int32_t VacNetShot::round_number() const { - // @@protoc_insertion_point(field_get:VacNetShot.round_number) - return _internal_round_number(); -} -inline void VacNetShot::_internal_set_round_number(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.round_number_ = value; -} -inline void VacNetShot::set_round_number(int32_t value) { - _internal_set_round_number(value); - // @@protoc_insertion_point(field_set:VacNetShot.round_number) -} - -// optional int32 hit_type = 3; -inline bool VacNetShot::_internal_has_hit_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool VacNetShot::has_hit_type() const { - return _internal_has_hit_type(); -} -inline void VacNetShot::clear_hit_type() { - _impl_.hit_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t VacNetShot::_internal_hit_type() const { - return _impl_.hit_type_; -} -inline int32_t VacNetShot::hit_type() const { - // @@protoc_insertion_point(field_get:VacNetShot.hit_type) - return _internal_hit_type(); -} -inline void VacNetShot::_internal_set_hit_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.hit_type_ = value; -} -inline void VacNetShot::set_hit_type(int32_t value) { - _internal_set_hit_type(value); - // @@protoc_insertion_point(field_set:VacNetShot.hit_type) -} - -// optional int32 weapon_type = 4; -inline bool VacNetShot::_internal_has_weapon_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool VacNetShot::has_weapon_type() const { - return _internal_has_weapon_type(); -} -inline void VacNetShot::clear_weapon_type() { - _impl_.weapon_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t VacNetShot::_internal_weapon_type() const { - return _impl_.weapon_type_; -} -inline int32_t VacNetShot::weapon_type() const { - // @@protoc_insertion_point(field_get:VacNetShot.weapon_type) - return _internal_weapon_type(); -} -inline void VacNetShot::_internal_set_weapon_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.weapon_type_ = value; -} -inline void VacNetShot::set_weapon_type(int32_t value) { - _internal_set_weapon_type(value); - // @@protoc_insertion_point(field_set:VacNetShot.weapon_type) -} - -// optional float distance_to_hurt_target = 5; -inline bool VacNetShot::_internal_has_distance_to_hurt_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool VacNetShot::has_distance_to_hurt_target() const { - return _internal_has_distance_to_hurt_target(); -} -inline void VacNetShot::clear_distance_to_hurt_target() { - _impl_.distance_to_hurt_target_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float VacNetShot::_internal_distance_to_hurt_target() const { - return _impl_.distance_to_hurt_target_; -} -inline float VacNetShot::distance_to_hurt_target() const { - // @@protoc_insertion_point(field_get:VacNetShot.distance_to_hurt_target) - return _internal_distance_to_hurt_target(); -} -inline void VacNetShot::_internal_set_distance_to_hurt_target(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.distance_to_hurt_target_ = value; -} -inline void VacNetShot::set_distance_to_hurt_target(float value) { - _internal_set_distance_to_hurt_target(value); - // @@protoc_insertion_point(field_set:VacNetShot.distance_to_hurt_target) -} - -// repeated float delta_yaw_window = 6; -inline int VacNetShot::_internal_delta_yaw_window_size() const { - return _impl_.delta_yaw_window_.size(); -} -inline int VacNetShot::delta_yaw_window_size() const { - return _internal_delta_yaw_window_size(); -} -inline void VacNetShot::clear_delta_yaw_window() { - _impl_.delta_yaw_window_.Clear(); -} -inline float VacNetShot::_internal_delta_yaw_window(int index) const { - return _impl_.delta_yaw_window_.Get(index); -} -inline float VacNetShot::delta_yaw_window(int index) const { - // @@protoc_insertion_point(field_get:VacNetShot.delta_yaw_window) - return _internal_delta_yaw_window(index); -} -inline void VacNetShot::set_delta_yaw_window(int index, float value) { - _impl_.delta_yaw_window_.Set(index, value); - // @@protoc_insertion_point(field_set:VacNetShot.delta_yaw_window) -} -inline void VacNetShot::_internal_add_delta_yaw_window(float value) { - _impl_.delta_yaw_window_.Add(value); -} -inline void VacNetShot::add_delta_yaw_window(float value) { - _internal_add_delta_yaw_window(value); - // @@protoc_insertion_point(field_add:VacNetShot.delta_yaw_window) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& -VacNetShot::_internal_delta_yaw_window() const { - return _impl_.delta_yaw_window_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& -VacNetShot::delta_yaw_window() const { - // @@protoc_insertion_point(field_list:VacNetShot.delta_yaw_window) - return _internal_delta_yaw_window(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* -VacNetShot::_internal_mutable_delta_yaw_window() { - return &_impl_.delta_yaw_window_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* -VacNetShot::mutable_delta_yaw_window() { - // @@protoc_insertion_point(field_mutable_list:VacNetShot.delta_yaw_window) - return _internal_mutable_delta_yaw_window(); -} - -// repeated float delta_pitch_window = 7; -inline int VacNetShot::_internal_delta_pitch_window_size() const { - return _impl_.delta_pitch_window_.size(); -} -inline int VacNetShot::delta_pitch_window_size() const { - return _internal_delta_pitch_window_size(); -} -inline void VacNetShot::clear_delta_pitch_window() { - _impl_.delta_pitch_window_.Clear(); -} -inline float VacNetShot::_internal_delta_pitch_window(int index) const { - return _impl_.delta_pitch_window_.Get(index); -} -inline float VacNetShot::delta_pitch_window(int index) const { - // @@protoc_insertion_point(field_get:VacNetShot.delta_pitch_window) - return _internal_delta_pitch_window(index); -} -inline void VacNetShot::set_delta_pitch_window(int index, float value) { - _impl_.delta_pitch_window_.Set(index, value); - // @@protoc_insertion_point(field_set:VacNetShot.delta_pitch_window) -} -inline void VacNetShot::_internal_add_delta_pitch_window(float value) { - _impl_.delta_pitch_window_.Add(value); -} -inline void VacNetShot::add_delta_pitch_window(float value) { - _internal_add_delta_pitch_window(value); - // @@protoc_insertion_point(field_add:VacNetShot.delta_pitch_window) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& -VacNetShot::_internal_delta_pitch_window() const { - return _impl_.delta_pitch_window_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& -VacNetShot::delta_pitch_window() const { - // @@protoc_insertion_point(field_list:VacNetShot.delta_pitch_window) - return _internal_delta_pitch_window(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* -VacNetShot::_internal_mutable_delta_pitch_window() { - return &_impl_.delta_pitch_window_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* -VacNetShot::mutable_delta_pitch_window() { - // @@protoc_insertion_point(field_mutable_list:VacNetShot.delta_pitch_window) - return _internal_mutable_delta_pitch_window(); -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::EHitGroup> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EHitGroup>() { - return ::EHitGroup_descriptor(); -} -template <> struct is_proto_enum< ::ETeam> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ETeam>() { - return ::ETeam_descriptor(); -} -template <> struct is_proto_enum< ::EWeaponType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EWeaponType>() { - return ::EWeaponType_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_fatdemo_2eproto diff --git a/protobuf/generated/gameevents.pb.cc b/protobuf/generated/gameevents.pb.cc deleted file mode 100644 index d55f4d089..000000000 --- a/protobuf/generated/gameevents.pb.cc +++ /dev/null @@ -1,5209 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: gameevents.proto - -#include "gameevents.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CMsgVDebugGameSessionIDEvent::CMsgVDebugGameSessionIDEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.gamesessionid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.clientid_)*/0} {} -struct CMsgVDebugGameSessionIDEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgVDebugGameSessionIDEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgVDebugGameSessionIDEventDefaultTypeInternal() {} - union { - CMsgVDebugGameSessionIDEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgVDebugGameSessionIDEventDefaultTypeInternal _CMsgVDebugGameSessionIDEvent_default_instance_; -PROTOBUF_CONSTEXPR CMsgPlaceDecalEvent::CMsgPlaceDecalEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.position_)*/nullptr - , /*decltype(_impl_.normal_)*/nullptr - , /*decltype(_impl_.saxis_)*/nullptr - , /*decltype(_impl_.boneindex_)*/0 - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.color_)*/0u - , /*decltype(_impl_.random_seed_)*/0 - , /*decltype(_impl_.decal_group_name_)*/0u - , /*decltype(_impl_.size_override_)*/0 - , /*decltype(_impl_.material_id_)*/uint64_t{0u} - , /*decltype(_impl_.sequence_name_)*/0u - , /*decltype(_impl_.entityhandle_)*/16777215u} {} -struct CMsgPlaceDecalEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgPlaceDecalEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgPlaceDecalEventDefaultTypeInternal() {} - union { - CMsgPlaceDecalEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgPlaceDecalEventDefaultTypeInternal _CMsgPlaceDecalEvent_default_instance_; -PROTOBUF_CONSTEXPR CMsgClearWorldDecalsEvent::CMsgClearWorldDecalsEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.flagstoclear_)*/0u} {} -struct CMsgClearWorldDecalsEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgClearWorldDecalsEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgClearWorldDecalsEventDefaultTypeInternal() {} - union { - CMsgClearWorldDecalsEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgClearWorldDecalsEventDefaultTypeInternal _CMsgClearWorldDecalsEvent_default_instance_; -PROTOBUF_CONSTEXPR CMsgClearEntityDecalsEvent::CMsgClearEntityDecalsEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.flagstoclear_)*/0u} {} -struct CMsgClearEntityDecalsEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgClearEntityDecalsEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgClearEntityDecalsEventDefaultTypeInternal() {} - union { - CMsgClearEntityDecalsEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgClearEntityDecalsEventDefaultTypeInternal _CMsgClearEntityDecalsEvent_default_instance_; -PROTOBUF_CONSTEXPR CMsgClearDecalsForEntityEvent::CMsgClearDecalsForEntityEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.flagstoclear_)*/0u - , /*decltype(_impl_.entityhandle_)*/16777215u} {} -struct CMsgClearDecalsForEntityEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgClearDecalsForEntityEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgClearDecalsForEntityEventDefaultTypeInternal() {} - union { - CMsgClearDecalsForEntityEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgClearDecalsForEntityEventDefaultTypeInternal _CMsgClearDecalsForEntityEvent_default_instance_; -PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventList_key_t::CMsgSource1LegacyGameEventList_key_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.type_)*/0} {} -struct CMsgSource1LegacyGameEventList_key_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventList_key_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSource1LegacyGameEventList_key_tDefaultTypeInternal() {} - union { - CMsgSource1LegacyGameEventList_key_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource1LegacyGameEventList_key_tDefaultTypeInternal _CMsgSource1LegacyGameEventList_key_t_default_instance_; -PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventList_descriptor_t::CMsgSource1LegacyGameEventList_descriptor_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.keys_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.eventid_)*/0} {} -struct CMsgSource1LegacyGameEventList_descriptor_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventList_descriptor_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSource1LegacyGameEventList_descriptor_tDefaultTypeInternal() {} - union { - CMsgSource1LegacyGameEventList_descriptor_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource1LegacyGameEventList_descriptor_tDefaultTypeInternal _CMsgSource1LegacyGameEventList_descriptor_t_default_instance_; -PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventList::CMsgSource1LegacyGameEventList( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.descriptors_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CMsgSource1LegacyGameEventListDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventListDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSource1LegacyGameEventListDefaultTypeInternal() {} - union { - CMsgSource1LegacyGameEventList _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource1LegacyGameEventListDefaultTypeInternal _CMsgSource1LegacyGameEventList_default_instance_; -PROTOBUF_CONSTEXPR CMsgSource1LegacyListenEvents::CMsgSource1LegacyListenEvents( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.eventarraybits_)*/{} - , /*decltype(_impl_.playerslot_)*/0} {} -struct CMsgSource1LegacyListenEventsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSource1LegacyListenEventsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSource1LegacyListenEventsDefaultTypeInternal() {} - union { - CMsgSource1LegacyListenEvents _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource1LegacyListenEventsDefaultTypeInternal _CMsgSource1LegacyListenEvents_default_instance_; -PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEvent_key_t::CMsgSource1LegacyGameEvent_key_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.val_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.type_)*/0 - , /*decltype(_impl_.val_float_)*/0 - , /*decltype(_impl_.val_long_)*/0 - , /*decltype(_impl_.val_short_)*/0 - , /*decltype(_impl_.val_byte_)*/0 - , /*decltype(_impl_.val_bool_)*/false - , /*decltype(_impl_.val_uint64_)*/uint64_t{0u}} {} -struct CMsgSource1LegacyGameEvent_key_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEvent_key_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSource1LegacyGameEvent_key_tDefaultTypeInternal() {} - union { - CMsgSource1LegacyGameEvent_key_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource1LegacyGameEvent_key_tDefaultTypeInternal _CMsgSource1LegacyGameEvent_key_t_default_instance_; -PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEvent::CMsgSource1LegacyGameEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.keys_)*/{} - , /*decltype(_impl_.event_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.eventid_)*/0 - , /*decltype(_impl_.server_tick_)*/0 - , /*decltype(_impl_.passthrough_)*/0} {} -struct CMsgSource1LegacyGameEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSource1LegacyGameEventDefaultTypeInternal() {} - union { - CMsgSource1LegacyGameEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource1LegacyGameEventDefaultTypeInternal _CMsgSource1LegacyGameEvent_default_instance_; -PROTOBUF_CONSTEXPR CMsgSosStartSoundEvent::CMsgSosStartSoundEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.packed_params_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.soundevent_guid_)*/0 - , /*decltype(_impl_.soundevent_hash_)*/0u - , /*decltype(_impl_.seed_)*/0 - , /*decltype(_impl_.start_time_)*/0 - , /*decltype(_impl_.source_entity_index_)*/-1} {} -struct CMsgSosStartSoundEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSosStartSoundEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSosStartSoundEventDefaultTypeInternal() {} - union { - CMsgSosStartSoundEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSosStartSoundEventDefaultTypeInternal _CMsgSosStartSoundEvent_default_instance_; -PROTOBUF_CONSTEXPR CMsgSosStopSoundEvent::CMsgSosStopSoundEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.soundevent_guid_)*/0} {} -struct CMsgSosStopSoundEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSosStopSoundEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSosStopSoundEventDefaultTypeInternal() {} - union { - CMsgSosStopSoundEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSosStopSoundEventDefaultTypeInternal _CMsgSosStopSoundEvent_default_instance_; -PROTOBUF_CONSTEXPR CMsgSosStopSoundEventHash::CMsgSosStopSoundEventHash( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.soundevent_hash_)*/0u - , /*decltype(_impl_.source_entity_index_)*/-1} {} -struct CMsgSosStopSoundEventHashDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSosStopSoundEventHashDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSosStopSoundEventHashDefaultTypeInternal() {} - union { - CMsgSosStopSoundEventHash _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSosStopSoundEventHashDefaultTypeInternal _CMsgSosStopSoundEventHash_default_instance_; -PROTOBUF_CONSTEXPR CMsgSosSetSoundEventParams::CMsgSosSetSoundEventParams( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.packed_params_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.soundevent_guid_)*/0} {} -struct CMsgSosSetSoundEventParamsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSosSetSoundEventParamsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSosSetSoundEventParamsDefaultTypeInternal() {} - union { - CMsgSosSetSoundEventParams _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSosSetSoundEventParamsDefaultTypeInternal _CMsgSosSetSoundEventParams_default_instance_; -PROTOBUF_CONSTEXPR CMsgSosSetLibraryStackFields::CMsgSosSetLibraryStackFields( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.packed_fields_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.stack_hash_)*/0u} {} -struct CMsgSosSetLibraryStackFieldsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSosSetLibraryStackFieldsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSosSetLibraryStackFieldsDefaultTypeInternal() {} - union { - CMsgSosSetLibraryStackFields _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSosSetLibraryStackFieldsDefaultTypeInternal _CMsgSosSetLibraryStackFields_default_instance_; -static ::_pb::Metadata file_level_metadata_gameevents_2eproto[16]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_gameevents_2eproto[1]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_gameevents_2eproto = nullptr; - -const uint32_t TableStruct_gameevents_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CMsgVDebugGameSessionIDEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgVDebugGameSessionIDEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgVDebugGameSessionIDEvent, _impl_.clientid_), - PROTOBUF_FIELD_OFFSET(::CMsgVDebugGameSessionIDEvent, _impl_.gamesessionid_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.position_), - PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.normal_), - PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.saxis_), - PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.boneindex_), - PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.color_), - PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.random_seed_), - PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.decal_group_name_), - PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.size_override_), - PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.entityhandle_), - PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.material_id_), - PROTOBUF_FIELD_OFFSET(::CMsgPlaceDecalEvent, _impl_.sequence_name_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 11, - 9, - 10, - PROTOBUF_FIELD_OFFSET(::CMsgClearWorldDecalsEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgClearWorldDecalsEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgClearWorldDecalsEvent, _impl_.flagstoclear_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgClearEntityDecalsEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgClearEntityDecalsEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgClearEntityDecalsEvent, _impl_.flagstoclear_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgClearDecalsForEntityEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgClearDecalsForEntityEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgClearDecalsForEntityEvent, _impl_.flagstoclear_), - PROTOBUF_FIELD_OFFSET(::CMsgClearDecalsForEntityEvent, _impl_.entityhandle_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList_key_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList_key_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList_key_t, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList_key_t, _impl_.name_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList_descriptor_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList_descriptor_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList_descriptor_t, _impl_.eventid_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList_descriptor_t, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList_descriptor_t, _impl_.keys_), - 1, - 0, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEventList, _impl_.descriptors_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyListenEvents, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyListenEvents, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyListenEvents, _impl_.playerslot_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyListenEvents, _impl_.eventarraybits_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _impl_.val_string_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _impl_.val_float_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _impl_.val_long_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _impl_.val_short_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _impl_.val_byte_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _impl_.val_bool_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent_key_t, _impl_.val_uint64_), - 1, - 0, - 2, - 3, - 4, - 5, - 6, - 7, - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent, _impl_.event_name_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent, _impl_.eventid_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent, _impl_.keys_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent, _impl_.server_tick_), - PROTOBUF_FIELD_OFFSET(::CMsgSource1LegacyGameEvent, _impl_.passthrough_), - 0, - 1, - ~0u, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgSosStartSoundEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSosStartSoundEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSosStartSoundEvent, _impl_.soundevent_guid_), - PROTOBUF_FIELD_OFFSET(::CMsgSosStartSoundEvent, _impl_.soundevent_hash_), - PROTOBUF_FIELD_OFFSET(::CMsgSosStartSoundEvent, _impl_.source_entity_index_), - PROTOBUF_FIELD_OFFSET(::CMsgSosStartSoundEvent, _impl_.seed_), - PROTOBUF_FIELD_OFFSET(::CMsgSosStartSoundEvent, _impl_.packed_params_), - PROTOBUF_FIELD_OFFSET(::CMsgSosStartSoundEvent, _impl_.start_time_), - 1, - 2, - 5, - 3, - 0, - 4, - PROTOBUF_FIELD_OFFSET(::CMsgSosStopSoundEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSosStopSoundEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSosStopSoundEvent, _impl_.soundevent_guid_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSosStopSoundEventHash, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSosStopSoundEventHash, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSosStopSoundEventHash, _impl_.soundevent_hash_), - PROTOBUF_FIELD_OFFSET(::CMsgSosStopSoundEventHash, _impl_.source_entity_index_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSosSetSoundEventParams, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSosSetSoundEventParams, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSosSetSoundEventParams, _impl_.soundevent_guid_), - PROTOBUF_FIELD_OFFSET(::CMsgSosSetSoundEventParams, _impl_.packed_params_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSosSetLibraryStackFields, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSosSetLibraryStackFields, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSosSetLibraryStackFields, _impl_.stack_hash_), - PROTOBUF_FIELD_OFFSET(::CMsgSosSetLibraryStackFields, _impl_.packed_fields_), - 1, - 0, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 8, -1, sizeof(::CMsgVDebugGameSessionIDEvent)}, - { 10, 28, -1, sizeof(::CMsgPlaceDecalEvent)}, - { 40, 47, -1, sizeof(::CMsgClearWorldDecalsEvent)}, - { 48, 55, -1, sizeof(::CMsgClearEntityDecalsEvent)}, - { 56, 64, -1, sizeof(::CMsgClearDecalsForEntityEvent)}, - { 66, 74, -1, sizeof(::CMsgSource1LegacyGameEventList_key_t)}, - { 76, 85, -1, sizeof(::CMsgSource1LegacyGameEventList_descriptor_t)}, - { 88, -1, -1, sizeof(::CMsgSource1LegacyGameEventList)}, - { 95, 103, -1, sizeof(::CMsgSource1LegacyListenEvents)}, - { 105, 119, -1, sizeof(::CMsgSource1LegacyGameEvent_key_t)}, - { 127, 138, -1, sizeof(::CMsgSource1LegacyGameEvent)}, - { 143, 155, -1, sizeof(::CMsgSosStartSoundEvent)}, - { 161, 168, -1, sizeof(::CMsgSosStopSoundEvent)}, - { 169, 177, -1, sizeof(::CMsgSosStopSoundEventHash)}, - { 179, 187, -1, sizeof(::CMsgSosSetSoundEventParams)}, - { 189, 197, -1, sizeof(::CMsgSosSetLibraryStackFields)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CMsgVDebugGameSessionIDEvent_default_instance_._instance, - &::_CMsgPlaceDecalEvent_default_instance_._instance, - &::_CMsgClearWorldDecalsEvent_default_instance_._instance, - &::_CMsgClearEntityDecalsEvent_default_instance_._instance, - &::_CMsgClearDecalsForEntityEvent_default_instance_._instance, - &::_CMsgSource1LegacyGameEventList_key_t_default_instance_._instance, - &::_CMsgSource1LegacyGameEventList_descriptor_t_default_instance_._instance, - &::_CMsgSource1LegacyGameEventList_default_instance_._instance, - &::_CMsgSource1LegacyListenEvents_default_instance_._instance, - &::_CMsgSource1LegacyGameEvent_key_t_default_instance_._instance, - &::_CMsgSource1LegacyGameEvent_default_instance_._instance, - &::_CMsgSosStartSoundEvent_default_instance_._instance, - &::_CMsgSosStopSoundEvent_default_instance_._instance, - &::_CMsgSosStopSoundEventHash_default_instance_._instance, - &::_CMsgSosSetSoundEventParams_default_instance_._instance, - &::_CMsgSosSetLibraryStackFields_default_instance_._instance, -}; - -const char descriptor_table_protodef_gameevents_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\020gameevents.proto\032\026networkbasetypes.pro" - "to\"G\n\034CMsgVDebugGameSessionIDEvent\022\020\n\010cl" - "ientid\030\001 \001(\005\022\025\n\rgamesessionid\030\002 \001(\t\"\260\002\n\023" - "CMsgPlaceDecalEvent\022\035\n\010position\030\001 \001(\0132\013." - "CMsgVector\022\033\n\006normal\030\002 \001(\0132\013.CMsgVector\022" - "\032\n\005saxis\030\003 \001(\0132\013.CMsgVector\022\021\n\tboneindex" - "\030\004 \001(\005\022\r\n\005flags\030\005 \001(\r\022\r\n\005color\030\006 \001(\007\022\023\n\013" - "random_seed\030\007 \001(\005\022\030\n\020decal_group_name\030\010 " - "\001(\r\022\025\n\rsize_override\030\t \001(\002\022\036\n\014entityhand" - "le\030\n \001(\r:\01016777215\022\023\n\013material_id\030\013 \001(\004\022" - "\025\n\rsequence_name\030\014 \001(\r\"1\n\031CMsgClearWorld" - "DecalsEvent\022\024\n\014flagstoclear\030\001 \001(\r\"2\n\032CMs" - "gClearEntityDecalsEvent\022\024\n\014flagstoclear\030" - "\001 \001(\r\"U\n\035CMsgClearDecalsForEntityEvent\022\024" - "\n\014flagstoclear\030\001 \001(\r\022\036\n\014entityhandle\030\002 \001" - "(\r:\01016777215\"\354\001\n\036CMsgSource1LegacyGameEv" - "entList\022A\n\013descriptors\030\001 \003(\0132,.CMsgSourc" - "e1LegacyGameEventList.descriptor_t\032#\n\005ke" - "y_t\022\014\n\004type\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\032b\n\014descr" - "iptor_t\022\017\n\007eventid\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\0223" - "\n\004keys\030\003 \003(\0132%.CMsgSource1LegacyGameEven" - "tList.key_t\"K\n\035CMsgSource1LegacyListenEv" - "ents\022\022\n\nplayerslot\030\001 \001(\005\022\026\n\016eventarraybi" - "ts\030\002 \003(\r\"\270\002\n\032CMsgSource1LegacyGameEvent\022" - "\022\n\nevent_name\030\001 \001(\t\022\017\n\007eventid\030\002 \001(\005\022/\n\004" - "keys\030\003 \003(\0132!.CMsgSource1LegacyGameEvent." - "key_t\022\023\n\013server_tick\030\004 \001(\005\022\023\n\013passthroug" - "h\030\005 \001(\005\032\231\001\n\005key_t\022\014\n\004type\030\001 \001(\005\022\022\n\nval_s" - "tring\030\002 \001(\t\022\021\n\tval_float\030\003 \001(\002\022\020\n\010val_lo" - "ng\030\004 \001(\005\022\021\n\tval_short\030\005 \001(\005\022\020\n\010val_byte\030" - "\006 \001(\005\022\020\n\010val_bool\030\007 \001(\010\022\022\n\nval_uint64\030\010 " - "\001(\004\"\244\001\n\026CMsgSosStartSoundEvent\022\027\n\017sounde" - "vent_guid\030\001 \001(\005\022\027\n\017soundevent_hash\030\002 \001(\007" - "\022\037\n\023source_entity_index\030\003 \001(\005:\002-1\022\014\n\004see" - "d\030\004 \001(\005\022\025\n\rpacked_params\030\005 \001(\014\022\022\n\nstart_" - "time\030\006 \001(\002\"0\n\025CMsgSosStopSoundEvent\022\027\n\017s" - "oundevent_guid\030\001 \001(\005\"U\n\031CMsgSosStopSound" - "EventHash\022\027\n\017soundevent_hash\030\001 \001(\007\022\037\n\023so" - "urce_entity_index\030\002 \001(\005:\002-1\"L\n\032CMsgSosSe" - "tSoundEventParams\022\027\n\017soundevent_guid\030\001 \001" - "(\005\022\025\n\rpacked_params\030\005 \001(\014\"I\n\034CMsgSosSetL" - "ibraryStackFields\022\022\n\nstack_hash\030\001 \001(\007\022\025\n" - "\rpacked_fields\030\005 \001(\014*\255\003\n\017EBaseGameEvents" - "\022 \n\033GE_VDebugGameSessionIDEvent\020\310\001\022\027\n\022GE" - "_PlaceDecalEvent\020\311\001\022\035\n\030GE_ClearWorldDeca" - "lsEvent\020\312\001\022\036\n\031GE_ClearEntityDecalsEvent\020" - "\313\001\022!\n\034GE_ClearDecalsForEntityEvent\020\314\001\022\"\n" - "\035GE_Source1LegacyGameEventList\020\315\001\022!\n\034GE_" - "Source1LegacyListenEvents\020\316\001\022\036\n\031GE_Sourc" - "e1LegacyGameEvent\020\317\001\022\032\n\025GE_SosStartSound" - "Event\020\320\001\022\031\n\024GE_SosStopSoundEvent\020\321\001\022\036\n\031G" - "E_SosSetSoundEventParams\020\322\001\022 \n\033GE_SosSet" - "LibraryStackFields\020\323\001\022\035\n\030GE_SosStopSound" - "EventHash\020\324\001" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_gameevents_2eproto_deps[1] = { - &::descriptor_table_networkbasetypes_2eproto, -}; -static ::_pbi::once_flag descriptor_table_gameevents_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_gameevents_2eproto = { - false, false, 2132, descriptor_table_protodef_gameevents_2eproto, - "gameevents.proto", - &descriptor_table_gameevents_2eproto_once, descriptor_table_gameevents_2eproto_deps, 1, 16, - schemas, file_default_instances, TableStruct_gameevents_2eproto::offsets, - file_level_metadata_gameevents_2eproto, file_level_enum_descriptors_gameevents_2eproto, - file_level_service_descriptors_gameevents_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_gameevents_2eproto_getter() { - return &descriptor_table_gameevents_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_gameevents_2eproto(&descriptor_table_gameevents_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBaseGameEvents_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_gameevents_2eproto); - return file_level_enum_descriptors_gameevents_2eproto[0]; -} -bool EBaseGameEvents_IsValid(int value) { - switch (value) { - case 200: - case 201: - case 202: - case 203: - case 204: - case 205: - case 206: - case 207: - case 208: - case 209: - case 210: - case 211: - case 212: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CMsgVDebugGameSessionIDEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_clientid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_gamesessionid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgVDebugGameSessionIDEvent::CMsgVDebugGameSessionIDEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgVDebugGameSessionIDEvent) -} -CMsgVDebugGameSessionIDEvent::CMsgVDebugGameSessionIDEvent(const CMsgVDebugGameSessionIDEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgVDebugGameSessionIDEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gamesessionid_){} - , decltype(_impl_.clientid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.gamesessionid_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gamesessionid_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_gamesessionid()) { - _this->_impl_.gamesessionid_.Set(from._internal_gamesessionid(), - _this->GetArenaForAllocation()); - } - _this->_impl_.clientid_ = from._impl_.clientid_; - // @@protoc_insertion_point(copy_constructor:CMsgVDebugGameSessionIDEvent) -} - -inline void CMsgVDebugGameSessionIDEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gamesessionid_){} - , decltype(_impl_.clientid_){0} - }; - _impl_.gamesessionid_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gamesessionid_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgVDebugGameSessionIDEvent::~CMsgVDebugGameSessionIDEvent() { - // @@protoc_insertion_point(destructor:CMsgVDebugGameSessionIDEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgVDebugGameSessionIDEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.gamesessionid_.Destroy(); -} - -void CMsgVDebugGameSessionIDEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgVDebugGameSessionIDEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgVDebugGameSessionIDEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.gamesessionid_.ClearNonDefaultToEmpty(); - } - _impl_.clientid_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgVDebugGameSessionIDEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 clientid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_clientid(&has_bits); - _impl_.clientid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string gamesessionid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_gamesessionid(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgVDebugGameSessionIDEvent.gamesessionid"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgVDebugGameSessionIDEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgVDebugGameSessionIDEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 clientid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_clientid(), target); - } - - // optional string gamesessionid = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_gamesessionid().data(), static_cast(this->_internal_gamesessionid().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgVDebugGameSessionIDEvent.gamesessionid"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_gamesessionid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgVDebugGameSessionIDEvent) - return target; -} - -size_t CMsgVDebugGameSessionIDEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgVDebugGameSessionIDEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string gamesessionid = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_gamesessionid()); - } - - // optional int32 clientid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_clientid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgVDebugGameSessionIDEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgVDebugGameSessionIDEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgVDebugGameSessionIDEvent::GetClassData() const { return &_class_data_; } - - -void CMsgVDebugGameSessionIDEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgVDebugGameSessionIDEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_gamesessionid(from._internal_gamesessionid()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.clientid_ = from._impl_.clientid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgVDebugGameSessionIDEvent::CopyFrom(const CMsgVDebugGameSessionIDEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgVDebugGameSessionIDEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgVDebugGameSessionIDEvent::IsInitialized() const { - return true; -} - -void CMsgVDebugGameSessionIDEvent::InternalSwap(CMsgVDebugGameSessionIDEvent* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.gamesessionid_, lhs_arena, - &other->_impl_.gamesessionid_, rhs_arena - ); - swap(_impl_.clientid_, other->_impl_.clientid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgVDebugGameSessionIDEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, - file_level_metadata_gameevents_2eproto[0]); -} - -// =================================================================== - -class CMsgPlaceDecalEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& position(const CMsgPlaceDecalEvent* msg); - static void set_has_position(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgVector& normal(const CMsgPlaceDecalEvent* msg); - static void set_has_normal(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgVector& saxis(const CMsgPlaceDecalEvent* msg); - static void set_has_saxis(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_boneindex(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_color(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_random_seed(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_decal_group_name(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_size_override(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_entityhandle(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_material_id(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_sequence_name(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } -}; - -const ::CMsgVector& -CMsgPlaceDecalEvent::_Internal::position(const CMsgPlaceDecalEvent* msg) { - return *msg->_impl_.position_; -} -const ::CMsgVector& -CMsgPlaceDecalEvent::_Internal::normal(const CMsgPlaceDecalEvent* msg) { - return *msg->_impl_.normal_; -} -const ::CMsgVector& -CMsgPlaceDecalEvent::_Internal::saxis(const CMsgPlaceDecalEvent* msg) { - return *msg->_impl_.saxis_; -} -void CMsgPlaceDecalEvent::clear_position() { - if (_impl_.position_ != nullptr) _impl_.position_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgPlaceDecalEvent::clear_normal() { - if (_impl_.normal_ != nullptr) _impl_.normal_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CMsgPlaceDecalEvent::clear_saxis() { - if (_impl_.saxis_ != nullptr) _impl_.saxis_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -CMsgPlaceDecalEvent::CMsgPlaceDecalEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgPlaceDecalEvent) -} -CMsgPlaceDecalEvent::CMsgPlaceDecalEvent(const CMsgPlaceDecalEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgPlaceDecalEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.position_){nullptr} - , decltype(_impl_.normal_){nullptr} - , decltype(_impl_.saxis_){nullptr} - , decltype(_impl_.boneindex_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.color_){} - , decltype(_impl_.random_seed_){} - , decltype(_impl_.decal_group_name_){} - , decltype(_impl_.size_override_){} - , decltype(_impl_.material_id_){} - , decltype(_impl_.sequence_name_){} - , decltype(_impl_.entityhandle_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_position()) { - _this->_impl_.position_ = new ::CMsgVector(*from._impl_.position_); - } - if (from._internal_has_normal()) { - _this->_impl_.normal_ = new ::CMsgVector(*from._impl_.normal_); - } - if (from._internal_has_saxis()) { - _this->_impl_.saxis_ = new ::CMsgVector(*from._impl_.saxis_); - } - ::memcpy(&_impl_.boneindex_, &from._impl_.boneindex_, - static_cast(reinterpret_cast(&_impl_.entityhandle_) - - reinterpret_cast(&_impl_.boneindex_)) + sizeof(_impl_.entityhandle_)); - // @@protoc_insertion_point(copy_constructor:CMsgPlaceDecalEvent) -} - -inline void CMsgPlaceDecalEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.position_){nullptr} - , decltype(_impl_.normal_){nullptr} - , decltype(_impl_.saxis_){nullptr} - , decltype(_impl_.boneindex_){0} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.color_){0u} - , decltype(_impl_.random_seed_){0} - , decltype(_impl_.decal_group_name_){0u} - , decltype(_impl_.size_override_){0} - , decltype(_impl_.material_id_){uint64_t{0u}} - , decltype(_impl_.sequence_name_){0u} - , decltype(_impl_.entityhandle_){16777215u} - }; -} - -CMsgPlaceDecalEvent::~CMsgPlaceDecalEvent() { - // @@protoc_insertion_point(destructor:CMsgPlaceDecalEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgPlaceDecalEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.position_; - if (this != internal_default_instance()) delete _impl_.normal_; - if (this != internal_default_instance()) delete _impl_.saxis_; -} - -void CMsgPlaceDecalEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgPlaceDecalEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgPlaceDecalEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.position_ != nullptr); - _impl_.position_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.normal_ != nullptr); - _impl_.normal_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.saxis_ != nullptr); - _impl_.saxis_->Clear(); - } - } - if (cached_has_bits & 0x000000f8u) { - ::memset(&_impl_.boneindex_, 0, static_cast( - reinterpret_cast(&_impl_.decal_group_name_) - - reinterpret_cast(&_impl_.boneindex_)) + sizeof(_impl_.decal_group_name_)); - } - if (cached_has_bits & 0x00000f00u) { - ::memset(&_impl_.size_override_, 0, static_cast( - reinterpret_cast(&_impl_.sequence_name_) - - reinterpret_cast(&_impl_.size_override_)) + sizeof(_impl_.sequence_name_)); - _impl_.entityhandle_ = 16777215u; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgPlaceDecalEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector position = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_position(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector normal = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_normal(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector saxis = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_saxis(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 boneindex = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_boneindex(&has_bits); - _impl_.boneindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 color = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - _Internal::set_has_color(&has_bits); - _impl_.color_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional int32 random_seed = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_random_seed(&has_bits); - _impl_.random_seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 decal_group_name = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_decal_group_name(&has_bits); - _impl_.decal_group_name_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float size_override = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_size_override(&has_bits); - _impl_.size_override_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 entityhandle = 10 [default = 16777215]; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_entityhandle(&has_bits); - _impl_.entityhandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 material_id = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_material_id(&has_bits); - _impl_.material_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 sequence_name = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_sequence_name(&has_bits); - _impl_.sequence_name_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgPlaceDecalEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgPlaceDecalEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector position = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::position(this), - _Internal::position(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector normal = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::normal(this), - _Internal::normal(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector saxis = 3; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::saxis(this), - _Internal::saxis(this).GetCachedSize(), target, stream); - } - - // optional int32 boneindex = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_boneindex(), target); - } - - // optional uint32 flags = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_flags(), target); - } - - // optional fixed32 color = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_color(), target); - } - - // optional int32 random_seed = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_random_seed(), target); - } - - // optional uint32 decal_group_name = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_decal_group_name(), target); - } - - // optional float size_override = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_size_override(), target); - } - - // optional uint32 entityhandle = 10 [default = 16777215]; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_entityhandle(), target); - } - - // optional uint64 material_id = 11; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(11, this->_internal_material_id(), target); - } - - // optional uint32 sequence_name = 12; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_sequence_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgPlaceDecalEvent) - return target; -} - -size_t CMsgPlaceDecalEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgPlaceDecalEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional .CMsgVector position = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.position_); - } - - // optional .CMsgVector normal = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.normal_); - } - - // optional .CMsgVector saxis = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.saxis_); - } - - // optional int32 boneindex = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_boneindex()); - } - - // optional uint32 flags = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - // optional fixed32 color = 6; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional int32 random_seed = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_random_seed()); - } - - // optional uint32 decal_group_name = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_decal_group_name()); - } - - } - if (cached_has_bits & 0x00000f00u) { - // optional float size_override = 9; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 4; - } - - // optional uint64 material_id = 11; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_material_id()); - } - - // optional uint32 sequence_name = 12; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sequence_name()); - } - - // optional uint32 entityhandle = 10 [default = 16777215]; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entityhandle()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgPlaceDecalEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgPlaceDecalEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgPlaceDecalEvent::GetClassData() const { return &_class_data_; } - - -void CMsgPlaceDecalEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgPlaceDecalEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_position()->::CMsgVector::MergeFrom( - from._internal_position()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_normal()->::CMsgVector::MergeFrom( - from._internal_normal()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_saxis()->::CMsgVector::MergeFrom( - from._internal_saxis()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.boneindex_ = from._impl_.boneindex_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.color_ = from._impl_.color_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.random_seed_ = from._impl_.random_seed_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.decal_group_name_ = from._impl_.decal_group_name_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.size_override_ = from._impl_.size_override_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.material_id_ = from._impl_.material_id_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.sequence_name_ = from._impl_.sequence_name_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.entityhandle_ = from._impl_.entityhandle_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgPlaceDecalEvent::CopyFrom(const CMsgPlaceDecalEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgPlaceDecalEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgPlaceDecalEvent::IsInitialized() const { - return true; -} - -void CMsgPlaceDecalEvent::InternalSwap(CMsgPlaceDecalEvent* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgPlaceDecalEvent, _impl_.sequence_name_) - + sizeof(CMsgPlaceDecalEvent::_impl_.sequence_name_) - - PROTOBUF_FIELD_OFFSET(CMsgPlaceDecalEvent, _impl_.position_)>( - reinterpret_cast(&_impl_.position_), - reinterpret_cast(&other->_impl_.position_)); - swap(_impl_.entityhandle_, other->_impl_.entityhandle_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgPlaceDecalEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, - file_level_metadata_gameevents_2eproto[1]); -} - -// =================================================================== - -class CMsgClearWorldDecalsEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_flagstoclear(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgClearWorldDecalsEvent::CMsgClearWorldDecalsEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgClearWorldDecalsEvent) -} -CMsgClearWorldDecalsEvent::CMsgClearWorldDecalsEvent(const CMsgClearWorldDecalsEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgClearWorldDecalsEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.flagstoclear_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.flagstoclear_ = from._impl_.flagstoclear_; - // @@protoc_insertion_point(copy_constructor:CMsgClearWorldDecalsEvent) -} - -inline void CMsgClearWorldDecalsEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.flagstoclear_){0u} - }; -} - -CMsgClearWorldDecalsEvent::~CMsgClearWorldDecalsEvent() { - // @@protoc_insertion_point(destructor:CMsgClearWorldDecalsEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgClearWorldDecalsEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgClearWorldDecalsEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgClearWorldDecalsEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgClearWorldDecalsEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.flagstoclear_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgClearWorldDecalsEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 flagstoclear = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_flagstoclear(&has_bits); - _impl_.flagstoclear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgClearWorldDecalsEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgClearWorldDecalsEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 flagstoclear = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_flagstoclear(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgClearWorldDecalsEvent) - return target; -} - -size_t CMsgClearWorldDecalsEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgClearWorldDecalsEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 flagstoclear = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flagstoclear()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgClearWorldDecalsEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgClearWorldDecalsEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgClearWorldDecalsEvent::GetClassData() const { return &_class_data_; } - - -void CMsgClearWorldDecalsEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgClearWorldDecalsEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_flagstoclear()) { - _this->_internal_set_flagstoclear(from._internal_flagstoclear()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgClearWorldDecalsEvent::CopyFrom(const CMsgClearWorldDecalsEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgClearWorldDecalsEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgClearWorldDecalsEvent::IsInitialized() const { - return true; -} - -void CMsgClearWorldDecalsEvent::InternalSwap(CMsgClearWorldDecalsEvent* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.flagstoclear_, other->_impl_.flagstoclear_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgClearWorldDecalsEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, - file_level_metadata_gameevents_2eproto[2]); -} - -// =================================================================== - -class CMsgClearEntityDecalsEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_flagstoclear(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgClearEntityDecalsEvent::CMsgClearEntityDecalsEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgClearEntityDecalsEvent) -} -CMsgClearEntityDecalsEvent::CMsgClearEntityDecalsEvent(const CMsgClearEntityDecalsEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgClearEntityDecalsEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.flagstoclear_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.flagstoclear_ = from._impl_.flagstoclear_; - // @@protoc_insertion_point(copy_constructor:CMsgClearEntityDecalsEvent) -} - -inline void CMsgClearEntityDecalsEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.flagstoclear_){0u} - }; -} - -CMsgClearEntityDecalsEvent::~CMsgClearEntityDecalsEvent() { - // @@protoc_insertion_point(destructor:CMsgClearEntityDecalsEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgClearEntityDecalsEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgClearEntityDecalsEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgClearEntityDecalsEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgClearEntityDecalsEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.flagstoclear_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgClearEntityDecalsEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 flagstoclear = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_flagstoclear(&has_bits); - _impl_.flagstoclear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgClearEntityDecalsEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgClearEntityDecalsEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 flagstoclear = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_flagstoclear(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgClearEntityDecalsEvent) - return target; -} - -size_t CMsgClearEntityDecalsEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgClearEntityDecalsEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 flagstoclear = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flagstoclear()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgClearEntityDecalsEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgClearEntityDecalsEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgClearEntityDecalsEvent::GetClassData() const { return &_class_data_; } - - -void CMsgClearEntityDecalsEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgClearEntityDecalsEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_flagstoclear()) { - _this->_internal_set_flagstoclear(from._internal_flagstoclear()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgClearEntityDecalsEvent::CopyFrom(const CMsgClearEntityDecalsEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgClearEntityDecalsEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgClearEntityDecalsEvent::IsInitialized() const { - return true; -} - -void CMsgClearEntityDecalsEvent::InternalSwap(CMsgClearEntityDecalsEvent* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.flagstoclear_, other->_impl_.flagstoclear_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgClearEntityDecalsEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, - file_level_metadata_gameevents_2eproto[3]); -} - -// =================================================================== - -class CMsgClearDecalsForEntityEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_flagstoclear(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_entityhandle(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgClearDecalsForEntityEvent::CMsgClearDecalsForEntityEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgClearDecalsForEntityEvent) -} -CMsgClearDecalsForEntityEvent::CMsgClearDecalsForEntityEvent(const CMsgClearDecalsForEntityEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgClearDecalsForEntityEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.flagstoclear_){} - , decltype(_impl_.entityhandle_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.flagstoclear_, &from._impl_.flagstoclear_, - static_cast(reinterpret_cast(&_impl_.entityhandle_) - - reinterpret_cast(&_impl_.flagstoclear_)) + sizeof(_impl_.entityhandle_)); - // @@protoc_insertion_point(copy_constructor:CMsgClearDecalsForEntityEvent) -} - -inline void CMsgClearDecalsForEntityEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.flagstoclear_){0u} - , decltype(_impl_.entityhandle_){16777215u} - }; -} - -CMsgClearDecalsForEntityEvent::~CMsgClearDecalsForEntityEvent() { - // @@protoc_insertion_point(destructor:CMsgClearDecalsForEntityEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgClearDecalsForEntityEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgClearDecalsForEntityEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgClearDecalsForEntityEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgClearDecalsForEntityEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - _impl_.flagstoclear_ = 0u; - _impl_.entityhandle_ = 16777215u; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgClearDecalsForEntityEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 flagstoclear = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_flagstoclear(&has_bits); - _impl_.flagstoclear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 entityhandle = 2 [default = 16777215]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_entityhandle(&has_bits); - _impl_.entityhandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgClearDecalsForEntityEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgClearDecalsForEntityEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 flagstoclear = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_flagstoclear(), target); - } - - // optional uint32 entityhandle = 2 [default = 16777215]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_entityhandle(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgClearDecalsForEntityEvent) - return target; -} - -size_t CMsgClearDecalsForEntityEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgClearDecalsForEntityEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 flagstoclear = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flagstoclear()); - } - - // optional uint32 entityhandle = 2 [default = 16777215]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entityhandle()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgClearDecalsForEntityEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgClearDecalsForEntityEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgClearDecalsForEntityEvent::GetClassData() const { return &_class_data_; } - - -void CMsgClearDecalsForEntityEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgClearDecalsForEntityEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.flagstoclear_ = from._impl_.flagstoclear_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.entityhandle_ = from._impl_.entityhandle_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgClearDecalsForEntityEvent::CopyFrom(const CMsgClearDecalsForEntityEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgClearDecalsForEntityEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgClearDecalsForEntityEvent::IsInitialized() const { - return true; -} - -void CMsgClearDecalsForEntityEvent::InternalSwap(CMsgClearDecalsForEntityEvent* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.flagstoclear_, other->_impl_.flagstoclear_); - swap(_impl_.entityhandle_, other->_impl_.entityhandle_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgClearDecalsForEntityEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, - file_level_metadata_gameevents_2eproto[4]); -} - -// =================================================================== - -class CMsgSource1LegacyGameEventList_key_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSource1LegacyGameEventList_key_t::CMsgSource1LegacyGameEventList_key_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSource1LegacyGameEventList.key_t) -} -CMsgSource1LegacyGameEventList_key_t::CMsgSource1LegacyGameEventList_key_t(const CMsgSource1LegacyGameEventList_key_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSource1LegacyGameEventList_key_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _this->_impl_.type_ = from._impl_.type_; - // @@protoc_insertion_point(copy_constructor:CMsgSource1LegacyGameEventList.key_t) -} - -inline void CMsgSource1LegacyGameEventList_key_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.type_){0} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSource1LegacyGameEventList_key_t::~CMsgSource1LegacyGameEventList_key_t() { - // @@protoc_insertion_point(destructor:CMsgSource1LegacyGameEventList.key_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSource1LegacyGameEventList_key_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); -} - -void CMsgSource1LegacyGameEventList_key_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSource1LegacyGameEventList_key_t::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSource1LegacyGameEventList.key_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - _impl_.type_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSource1LegacyGameEventList_key_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_type(&has_bits); - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSource1LegacyGameEventList.key_t.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSource1LegacyGameEventList_key_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSource1LegacyGameEventList.key_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 type = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type(), target); - } - - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSource1LegacyGameEventList.key_t.name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSource1LegacyGameEventList.key_t) - return target; -} - -size_t CMsgSource1LegacyGameEventList_key_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSource1LegacyGameEventList.key_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional int32 type = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource1LegacyGameEventList_key_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSource1LegacyGameEventList_key_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource1LegacyGameEventList_key_t::GetClassData() const { return &_class_data_; } - - -void CMsgSource1LegacyGameEventList_key_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource1LegacyGameEventList.key_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.type_ = from._impl_.type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSource1LegacyGameEventList_key_t::CopyFrom(const CMsgSource1LegacyGameEventList_key_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource1LegacyGameEventList.key_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSource1LegacyGameEventList_key_t::IsInitialized() const { - return true; -} - -void CMsgSource1LegacyGameEventList_key_t::InternalSwap(CMsgSource1LegacyGameEventList_key_t* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - swap(_impl_.type_, other->_impl_.type_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource1LegacyGameEventList_key_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, - file_level_metadata_gameevents_2eproto[5]); -} - -// =================================================================== - -class CMsgSource1LegacyGameEventList_descriptor_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_eventid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSource1LegacyGameEventList_descriptor_t::CMsgSource1LegacyGameEventList_descriptor_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSource1LegacyGameEventList.descriptor_t) -} -CMsgSource1LegacyGameEventList_descriptor_t::CMsgSource1LegacyGameEventList_descriptor_t(const CMsgSource1LegacyGameEventList_descriptor_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSource1LegacyGameEventList_descriptor_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.keys_){from._impl_.keys_} - , decltype(_impl_.name_){} - , decltype(_impl_.eventid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _this->_impl_.eventid_ = from._impl_.eventid_; - // @@protoc_insertion_point(copy_constructor:CMsgSource1LegacyGameEventList.descriptor_t) -} - -inline void CMsgSource1LegacyGameEventList_descriptor_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.keys_){arena} - , decltype(_impl_.name_){} - , decltype(_impl_.eventid_){0} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSource1LegacyGameEventList_descriptor_t::~CMsgSource1LegacyGameEventList_descriptor_t() { - // @@protoc_insertion_point(destructor:CMsgSource1LegacyGameEventList.descriptor_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSource1LegacyGameEventList_descriptor_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.keys_.~RepeatedPtrField(); - _impl_.name_.Destroy(); -} - -void CMsgSource1LegacyGameEventList_descriptor_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSource1LegacyGameEventList_descriptor_t::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSource1LegacyGameEventList.descriptor_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.keys_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - _impl_.eventid_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSource1LegacyGameEventList_descriptor_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 eventid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_eventid(&has_bits); - _impl_.eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSource1LegacyGameEventList.descriptor_t.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated .CMsgSource1LegacyGameEventList.key_t keys = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_keys(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSource1LegacyGameEventList_descriptor_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSource1LegacyGameEventList.descriptor_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 eventid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_eventid(), target); - } - - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSource1LegacyGameEventList.descriptor_t.name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_name(), target); - } - - // repeated .CMsgSource1LegacyGameEventList.key_t keys = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_keys_size()); i < n; i++) { - const auto& repfield = this->_internal_keys(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSource1LegacyGameEventList.descriptor_t) - return target; -} - -size_t CMsgSource1LegacyGameEventList_descriptor_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSource1LegacyGameEventList.descriptor_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSource1LegacyGameEventList.key_t keys = 3; - total_size += 1UL * this->_internal_keys_size(); - for (const auto& msg : this->_impl_.keys_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional int32 eventid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eventid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource1LegacyGameEventList_descriptor_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSource1LegacyGameEventList_descriptor_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource1LegacyGameEventList_descriptor_t::GetClassData() const { return &_class_data_; } - - -void CMsgSource1LegacyGameEventList_descriptor_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource1LegacyGameEventList.descriptor_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.keys_.MergeFrom(from._impl_.keys_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.eventid_ = from._impl_.eventid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSource1LegacyGameEventList_descriptor_t::CopyFrom(const CMsgSource1LegacyGameEventList_descriptor_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource1LegacyGameEventList.descriptor_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSource1LegacyGameEventList_descriptor_t::IsInitialized() const { - return true; -} - -void CMsgSource1LegacyGameEventList_descriptor_t::InternalSwap(CMsgSource1LegacyGameEventList_descriptor_t* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.keys_.InternalSwap(&other->_impl_.keys_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - swap(_impl_.eventid_, other->_impl_.eventid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource1LegacyGameEventList_descriptor_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, - file_level_metadata_gameevents_2eproto[6]); -} - -// =================================================================== - -class CMsgSource1LegacyGameEventList::_Internal { - public: -}; - -CMsgSource1LegacyGameEventList::CMsgSource1LegacyGameEventList(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSource1LegacyGameEventList) -} -CMsgSource1LegacyGameEventList::CMsgSource1LegacyGameEventList(const CMsgSource1LegacyGameEventList& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSource1LegacyGameEventList* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.descriptors_){from._impl_.descriptors_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsgSource1LegacyGameEventList) -} - -inline void CMsgSource1LegacyGameEventList::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.descriptors_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CMsgSource1LegacyGameEventList::~CMsgSource1LegacyGameEventList() { - // @@protoc_insertion_point(destructor:CMsgSource1LegacyGameEventList) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSource1LegacyGameEventList::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.descriptors_.~RepeatedPtrField(); -} - -void CMsgSource1LegacyGameEventList::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSource1LegacyGameEventList::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSource1LegacyGameEventList) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.descriptors_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSource1LegacyGameEventList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CMsgSource1LegacyGameEventList.descriptor_t descriptors = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_descriptors(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSource1LegacyGameEventList::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSource1LegacyGameEventList) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CMsgSource1LegacyGameEventList.descriptor_t descriptors = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_descriptors_size()); i < n; i++) { - const auto& repfield = this->_internal_descriptors(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSource1LegacyGameEventList) - return target; -} - -size_t CMsgSource1LegacyGameEventList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSource1LegacyGameEventList) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSource1LegacyGameEventList.descriptor_t descriptors = 1; - total_size += 1UL * this->_internal_descriptors_size(); - for (const auto& msg : this->_impl_.descriptors_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource1LegacyGameEventList::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSource1LegacyGameEventList::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource1LegacyGameEventList::GetClassData() const { return &_class_data_; } - - -void CMsgSource1LegacyGameEventList::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource1LegacyGameEventList) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.descriptors_.MergeFrom(from._impl_.descriptors_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSource1LegacyGameEventList::CopyFrom(const CMsgSource1LegacyGameEventList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource1LegacyGameEventList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSource1LegacyGameEventList::IsInitialized() const { - return true; -} - -void CMsgSource1LegacyGameEventList::InternalSwap(CMsgSource1LegacyGameEventList* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.descriptors_.InternalSwap(&other->_impl_.descriptors_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource1LegacyGameEventList::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, - file_level_metadata_gameevents_2eproto[7]); -} - -// =================================================================== - -class CMsgSource1LegacyListenEvents::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_playerslot(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSource1LegacyListenEvents::CMsgSource1LegacyListenEvents(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSource1LegacyListenEvents) -} -CMsgSource1LegacyListenEvents::CMsgSource1LegacyListenEvents(const CMsgSource1LegacyListenEvents& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSource1LegacyListenEvents* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.eventarraybits_){from._impl_.eventarraybits_} - , decltype(_impl_.playerslot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.playerslot_ = from._impl_.playerslot_; - // @@protoc_insertion_point(copy_constructor:CMsgSource1LegacyListenEvents) -} - -inline void CMsgSource1LegacyListenEvents::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.eventarraybits_){arena} - , decltype(_impl_.playerslot_){0} - }; -} - -CMsgSource1LegacyListenEvents::~CMsgSource1LegacyListenEvents() { - // @@protoc_insertion_point(destructor:CMsgSource1LegacyListenEvents) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSource1LegacyListenEvents::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.eventarraybits_.~RepeatedField(); -} - -void CMsgSource1LegacyListenEvents::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSource1LegacyListenEvents::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSource1LegacyListenEvents) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.eventarraybits_.Clear(); - _impl_.playerslot_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSource1LegacyListenEvents::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 playerslot = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_playerslot(&has_bits); - _impl_.playerslot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 eventarraybits = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_eventarraybits(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); - } else if (static_cast(tag) == 18) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_eventarraybits(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSource1LegacyListenEvents::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSource1LegacyListenEvents) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 playerslot = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_playerslot(), target); - } - - // repeated uint32 eventarraybits = 2; - for (int i = 0, n = this->_internal_eventarraybits_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_eventarraybits(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSource1LegacyListenEvents) - return target; -} - -size_t CMsgSource1LegacyListenEvents::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSource1LegacyListenEvents) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 eventarraybits = 2; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.eventarraybits_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_eventarraybits_size()); - total_size += data_size; - } - - // optional int32 playerslot = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playerslot()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource1LegacyListenEvents::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSource1LegacyListenEvents::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource1LegacyListenEvents::GetClassData() const { return &_class_data_; } - - -void CMsgSource1LegacyListenEvents::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource1LegacyListenEvents) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.eventarraybits_.MergeFrom(from._impl_.eventarraybits_); - if (from._internal_has_playerslot()) { - _this->_internal_set_playerslot(from._internal_playerslot()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSource1LegacyListenEvents::CopyFrom(const CMsgSource1LegacyListenEvents& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource1LegacyListenEvents) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSource1LegacyListenEvents::IsInitialized() const { - return true; -} - -void CMsgSource1LegacyListenEvents::InternalSwap(CMsgSource1LegacyListenEvents* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.eventarraybits_.InternalSwap(&other->_impl_.eventarraybits_); - swap(_impl_.playerslot_, other->_impl_.playerslot_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource1LegacyListenEvents::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, - file_level_metadata_gameevents_2eproto[8]); -} - -// =================================================================== - -class CMsgSource1LegacyGameEvent_key_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_val_string(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_val_float(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_val_long(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_val_short(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_val_byte(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_val_bool(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_val_uint64(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } -}; - -CMsgSource1LegacyGameEvent_key_t::CMsgSource1LegacyGameEvent_key_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSource1LegacyGameEvent.key_t) -} -CMsgSource1LegacyGameEvent_key_t::CMsgSource1LegacyGameEvent_key_t(const CMsgSource1LegacyGameEvent_key_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSource1LegacyGameEvent_key_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.val_string_){} - , decltype(_impl_.type_){} - , decltype(_impl_.val_float_){} - , decltype(_impl_.val_long_){} - , decltype(_impl_.val_short_){} - , decltype(_impl_.val_byte_){} - , decltype(_impl_.val_bool_){} - , decltype(_impl_.val_uint64_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.val_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.val_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_val_string()) { - _this->_impl_.val_string_.Set(from._internal_val_string(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.type_, &from._impl_.type_, - static_cast(reinterpret_cast(&_impl_.val_uint64_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.val_uint64_)); - // @@protoc_insertion_point(copy_constructor:CMsgSource1LegacyGameEvent.key_t) -} - -inline void CMsgSource1LegacyGameEvent_key_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.val_string_){} - , decltype(_impl_.type_){0} - , decltype(_impl_.val_float_){0} - , decltype(_impl_.val_long_){0} - , decltype(_impl_.val_short_){0} - , decltype(_impl_.val_byte_){0} - , decltype(_impl_.val_bool_){false} - , decltype(_impl_.val_uint64_){uint64_t{0u}} - }; - _impl_.val_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.val_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSource1LegacyGameEvent_key_t::~CMsgSource1LegacyGameEvent_key_t() { - // @@protoc_insertion_point(destructor:CMsgSource1LegacyGameEvent.key_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSource1LegacyGameEvent_key_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.val_string_.Destroy(); -} - -void CMsgSource1LegacyGameEvent_key_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSource1LegacyGameEvent_key_t::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSource1LegacyGameEvent.key_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.val_string_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x000000feu) { - ::memset(&_impl_.type_, 0, static_cast( - reinterpret_cast(&_impl_.val_uint64_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.val_uint64_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSource1LegacyGameEvent_key_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_type(&has_bits); - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string val_string = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_val_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSource1LegacyGameEvent.key_t.val_string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional float val_float = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_val_float(&has_bits); - _impl_.val_float_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 val_long = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_val_long(&has_bits); - _impl_.val_long_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 val_short = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_val_short(&has_bits); - _impl_.val_short_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 val_byte = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_val_byte(&has_bits); - _impl_.val_byte_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool val_bool = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_val_bool(&has_bits); - _impl_.val_bool_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 val_uint64 = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_val_uint64(&has_bits); - _impl_.val_uint64_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSource1LegacyGameEvent_key_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSource1LegacyGameEvent.key_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 type = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type(), target); - } - - // optional string val_string = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_val_string().data(), static_cast(this->_internal_val_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSource1LegacyGameEvent.key_t.val_string"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_val_string(), target); - } - - // optional float val_float = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_val_float(), target); - } - - // optional int32 val_long = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_val_long(), target); - } - - // optional int32 val_short = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_val_short(), target); - } - - // optional int32 val_byte = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_val_byte(), target); - } - - // optional bool val_bool = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_val_bool(), target); - } - - // optional uint64 val_uint64 = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_val_uint64(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSource1LegacyGameEvent.key_t) - return target; -} - -size_t CMsgSource1LegacyGameEvent_key_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSource1LegacyGameEvent.key_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string val_string = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_val_string()); - } - - // optional int32 type = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); - } - - // optional float val_float = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional int32 val_long = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val_long()); - } - - // optional int32 val_short = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val_short()); - } - - // optional int32 val_byte = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val_byte()); - } - - // optional bool val_bool = 7; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 1; - } - - // optional uint64 val_uint64 = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_val_uint64()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource1LegacyGameEvent_key_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSource1LegacyGameEvent_key_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource1LegacyGameEvent_key_t::GetClassData() const { return &_class_data_; } - - -void CMsgSource1LegacyGameEvent_key_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource1LegacyGameEvent.key_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_val_string(from._internal_val_string()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.type_ = from._impl_.type_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.val_float_ = from._impl_.val_float_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.val_long_ = from._impl_.val_long_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.val_short_ = from._impl_.val_short_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.val_byte_ = from._impl_.val_byte_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.val_bool_ = from._impl_.val_bool_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.val_uint64_ = from._impl_.val_uint64_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSource1LegacyGameEvent_key_t::CopyFrom(const CMsgSource1LegacyGameEvent_key_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource1LegacyGameEvent.key_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSource1LegacyGameEvent_key_t::IsInitialized() const { - return true; -} - -void CMsgSource1LegacyGameEvent_key_t::InternalSwap(CMsgSource1LegacyGameEvent_key_t* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.val_string_, lhs_arena, - &other->_impl_.val_string_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSource1LegacyGameEvent_key_t, _impl_.val_uint64_) - + sizeof(CMsgSource1LegacyGameEvent_key_t::_impl_.val_uint64_) - - PROTOBUF_FIELD_OFFSET(CMsgSource1LegacyGameEvent_key_t, _impl_.type_)>( - reinterpret_cast(&_impl_.type_), - reinterpret_cast(&other->_impl_.type_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource1LegacyGameEvent_key_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, - file_level_metadata_gameevents_2eproto[9]); -} - -// =================================================================== - -class CMsgSource1LegacyGameEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_event_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_eventid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_server_tick(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_passthrough(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgSource1LegacyGameEvent::CMsgSource1LegacyGameEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSource1LegacyGameEvent) -} -CMsgSource1LegacyGameEvent::CMsgSource1LegacyGameEvent(const CMsgSource1LegacyGameEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSource1LegacyGameEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.keys_){from._impl_.keys_} - , decltype(_impl_.event_name_){} - , decltype(_impl_.eventid_){} - , decltype(_impl_.server_tick_){} - , decltype(_impl_.passthrough_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.event_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_event_name()) { - _this->_impl_.event_name_.Set(from._internal_event_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.eventid_, &from._impl_.eventid_, - static_cast(reinterpret_cast(&_impl_.passthrough_) - - reinterpret_cast(&_impl_.eventid_)) + sizeof(_impl_.passthrough_)); - // @@protoc_insertion_point(copy_constructor:CMsgSource1LegacyGameEvent) -} - -inline void CMsgSource1LegacyGameEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.keys_){arena} - , decltype(_impl_.event_name_){} - , decltype(_impl_.eventid_){0} - , decltype(_impl_.server_tick_){0} - , decltype(_impl_.passthrough_){0} - }; - _impl_.event_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSource1LegacyGameEvent::~CMsgSource1LegacyGameEvent() { - // @@protoc_insertion_point(destructor:CMsgSource1LegacyGameEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSource1LegacyGameEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.keys_.~RepeatedPtrField(); - _impl_.event_name_.Destroy(); -} - -void CMsgSource1LegacyGameEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSource1LegacyGameEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSource1LegacyGameEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.keys_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.event_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.eventid_, 0, static_cast( - reinterpret_cast(&_impl_.passthrough_) - - reinterpret_cast(&_impl_.eventid_)) + sizeof(_impl_.passthrough_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSource1LegacyGameEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string event_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_event_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSource1LegacyGameEvent.event_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 eventid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_eventid(&has_bits); - _impl_.eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgSource1LegacyGameEvent.key_t keys = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_keys(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // optional int32 server_tick = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_server_tick(&has_bits); - _impl_.server_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 passthrough = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_passthrough(&has_bits); - _impl_.passthrough_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSource1LegacyGameEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSource1LegacyGameEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string event_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_event_name().data(), static_cast(this->_internal_event_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSource1LegacyGameEvent.event_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_event_name(), target); - } - - // optional int32 eventid = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_eventid(), target); - } - - // repeated .CMsgSource1LegacyGameEvent.key_t keys = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_keys_size()); i < n; i++) { - const auto& repfield = this->_internal_keys(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional int32 server_tick = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_server_tick(), target); - } - - // optional int32 passthrough = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_passthrough(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSource1LegacyGameEvent) - return target; -} - -size_t CMsgSource1LegacyGameEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSource1LegacyGameEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSource1LegacyGameEvent.key_t keys = 3; - total_size += 1UL * this->_internal_keys_size(); - for (const auto& msg : this->_impl_.keys_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string event_name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_event_name()); - } - - // optional int32 eventid = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eventid()); - } - - // optional int32 server_tick = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_server_tick()); - } - - // optional int32 passthrough = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_passthrough()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource1LegacyGameEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSource1LegacyGameEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource1LegacyGameEvent::GetClassData() const { return &_class_data_; } - - -void CMsgSource1LegacyGameEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource1LegacyGameEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.keys_.MergeFrom(from._impl_.keys_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_event_name(from._internal_event_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.eventid_ = from._impl_.eventid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.server_tick_ = from._impl_.server_tick_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.passthrough_ = from._impl_.passthrough_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSource1LegacyGameEvent::CopyFrom(const CMsgSource1LegacyGameEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource1LegacyGameEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSource1LegacyGameEvent::IsInitialized() const { - return true; -} - -void CMsgSource1LegacyGameEvent::InternalSwap(CMsgSource1LegacyGameEvent* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.keys_.InternalSwap(&other->_impl_.keys_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.event_name_, lhs_arena, - &other->_impl_.event_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSource1LegacyGameEvent, _impl_.passthrough_) - + sizeof(CMsgSource1LegacyGameEvent::_impl_.passthrough_) - - PROTOBUF_FIELD_OFFSET(CMsgSource1LegacyGameEvent, _impl_.eventid_)>( - reinterpret_cast(&_impl_.eventid_), - reinterpret_cast(&other->_impl_.eventid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource1LegacyGameEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, - file_level_metadata_gameevents_2eproto[10]); -} - -// =================================================================== - -class CMsgSosStartSoundEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_soundevent_guid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_soundevent_hash(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_source_entity_index(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_seed(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_packed_params(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_start_time(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CMsgSosStartSoundEvent::CMsgSosStartSoundEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSosStartSoundEvent) -} -CMsgSosStartSoundEvent::CMsgSosStartSoundEvent(const CMsgSosStartSoundEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSosStartSoundEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.packed_params_){} - , decltype(_impl_.soundevent_guid_){} - , decltype(_impl_.soundevent_hash_){} - , decltype(_impl_.seed_){} - , decltype(_impl_.start_time_){} - , decltype(_impl_.source_entity_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.packed_params_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.packed_params_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_packed_params()) { - _this->_impl_.packed_params_.Set(from._internal_packed_params(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.soundevent_guid_, &from._impl_.soundevent_guid_, - static_cast(reinterpret_cast(&_impl_.source_entity_index_) - - reinterpret_cast(&_impl_.soundevent_guid_)) + sizeof(_impl_.source_entity_index_)); - // @@protoc_insertion_point(copy_constructor:CMsgSosStartSoundEvent) -} - -inline void CMsgSosStartSoundEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.packed_params_){} - , decltype(_impl_.soundevent_guid_){0} - , decltype(_impl_.soundevent_hash_){0u} - , decltype(_impl_.seed_){0} - , decltype(_impl_.start_time_){0} - , decltype(_impl_.source_entity_index_){-1} - }; - _impl_.packed_params_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.packed_params_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSosStartSoundEvent::~CMsgSosStartSoundEvent() { - // @@protoc_insertion_point(destructor:CMsgSosStartSoundEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSosStartSoundEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.packed_params_.Destroy(); -} - -void CMsgSosStartSoundEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSosStartSoundEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSosStartSoundEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.packed_params_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000003eu) { - ::memset(&_impl_.soundevent_guid_, 0, static_cast( - reinterpret_cast(&_impl_.start_time_) - - reinterpret_cast(&_impl_.soundevent_guid_)) + sizeof(_impl_.start_time_)); - _impl_.source_entity_index_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSosStartSoundEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 soundevent_guid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_soundevent_guid(&has_bits); - _impl_.soundevent_guid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 soundevent_hash = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_soundevent_hash(&has_bits); - _impl_.soundevent_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional int32 source_entity_index = 3 [default = -1]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_source_entity_index(&has_bits); - _impl_.source_entity_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 seed = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_seed(&has_bits); - _impl_.seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes packed_params = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_packed_params(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float start_time = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - _Internal::set_has_start_time(&has_bits); - _impl_.start_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSosStartSoundEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSosStartSoundEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 soundevent_guid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_soundevent_guid(), target); - } - - // optional fixed32 soundevent_hash = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_soundevent_hash(), target); - } - - // optional int32 source_entity_index = 3 [default = -1]; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_source_entity_index(), target); - } - - // optional int32 seed = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_seed(), target); - } - - // optional bytes packed_params = 5; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 5, this->_internal_packed_params(), target); - } - - // optional float start_time = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_start_time(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSosStartSoundEvent) - return target; -} - -size_t CMsgSosStartSoundEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSosStartSoundEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional bytes packed_params = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_packed_params()); - } - - // optional int32 soundevent_guid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_soundevent_guid()); - } - - // optional fixed32 soundevent_hash = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional int32 seed = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_seed()); - } - - // optional float start_time = 6; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional int32 source_entity_index = 3 [default = -1]; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_source_entity_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSosStartSoundEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSosStartSoundEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSosStartSoundEvent::GetClassData() const { return &_class_data_; } - - -void CMsgSosStartSoundEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSosStartSoundEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_packed_params(from._internal_packed_params()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.soundevent_guid_ = from._impl_.soundevent_guid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.soundevent_hash_ = from._impl_.soundevent_hash_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.seed_ = from._impl_.seed_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.start_time_ = from._impl_.start_time_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.source_entity_index_ = from._impl_.source_entity_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSosStartSoundEvent::CopyFrom(const CMsgSosStartSoundEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSosStartSoundEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSosStartSoundEvent::IsInitialized() const { - return true; -} - -void CMsgSosStartSoundEvent::InternalSwap(CMsgSosStartSoundEvent* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.packed_params_, lhs_arena, - &other->_impl_.packed_params_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSosStartSoundEvent, _impl_.start_time_) - + sizeof(CMsgSosStartSoundEvent::_impl_.start_time_) - - PROTOBUF_FIELD_OFFSET(CMsgSosStartSoundEvent, _impl_.soundevent_guid_)>( - reinterpret_cast(&_impl_.soundevent_guid_), - reinterpret_cast(&other->_impl_.soundevent_guid_)); - swap(_impl_.source_entity_index_, other->_impl_.source_entity_index_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSosStartSoundEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, - file_level_metadata_gameevents_2eproto[11]); -} - -// =================================================================== - -class CMsgSosStopSoundEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_soundevent_guid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSosStopSoundEvent::CMsgSosStopSoundEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSosStopSoundEvent) -} -CMsgSosStopSoundEvent::CMsgSosStopSoundEvent(const CMsgSosStopSoundEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSosStopSoundEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.soundevent_guid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.soundevent_guid_ = from._impl_.soundevent_guid_; - // @@protoc_insertion_point(copy_constructor:CMsgSosStopSoundEvent) -} - -inline void CMsgSosStopSoundEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.soundevent_guid_){0} - }; -} - -CMsgSosStopSoundEvent::~CMsgSosStopSoundEvent() { - // @@protoc_insertion_point(destructor:CMsgSosStopSoundEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSosStopSoundEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSosStopSoundEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSosStopSoundEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSosStopSoundEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.soundevent_guid_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSosStopSoundEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 soundevent_guid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_soundevent_guid(&has_bits); - _impl_.soundevent_guid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSosStopSoundEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSosStopSoundEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 soundevent_guid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_soundevent_guid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSosStopSoundEvent) - return target; -} - -size_t CMsgSosStopSoundEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSosStopSoundEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 soundevent_guid = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_soundevent_guid()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSosStopSoundEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSosStopSoundEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSosStopSoundEvent::GetClassData() const { return &_class_data_; } - - -void CMsgSosStopSoundEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSosStopSoundEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_soundevent_guid()) { - _this->_internal_set_soundevent_guid(from._internal_soundevent_guid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSosStopSoundEvent::CopyFrom(const CMsgSosStopSoundEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSosStopSoundEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSosStopSoundEvent::IsInitialized() const { - return true; -} - -void CMsgSosStopSoundEvent::InternalSwap(CMsgSosStopSoundEvent* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.soundevent_guid_, other->_impl_.soundevent_guid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSosStopSoundEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, - file_level_metadata_gameevents_2eproto[12]); -} - -// =================================================================== - -class CMsgSosStopSoundEventHash::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_soundevent_hash(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_source_entity_index(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgSosStopSoundEventHash::CMsgSosStopSoundEventHash(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSosStopSoundEventHash) -} -CMsgSosStopSoundEventHash::CMsgSosStopSoundEventHash(const CMsgSosStopSoundEventHash& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSosStopSoundEventHash* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.soundevent_hash_){} - , decltype(_impl_.source_entity_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.soundevent_hash_, &from._impl_.soundevent_hash_, - static_cast(reinterpret_cast(&_impl_.source_entity_index_) - - reinterpret_cast(&_impl_.soundevent_hash_)) + sizeof(_impl_.source_entity_index_)); - // @@protoc_insertion_point(copy_constructor:CMsgSosStopSoundEventHash) -} - -inline void CMsgSosStopSoundEventHash::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.soundevent_hash_){0u} - , decltype(_impl_.source_entity_index_){-1} - }; -} - -CMsgSosStopSoundEventHash::~CMsgSosStopSoundEventHash() { - // @@protoc_insertion_point(destructor:CMsgSosStopSoundEventHash) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSosStopSoundEventHash::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSosStopSoundEventHash::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSosStopSoundEventHash::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSosStopSoundEventHash) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - _impl_.soundevent_hash_ = 0u; - _impl_.source_entity_index_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSosStopSoundEventHash::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 soundevent_hash = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_soundevent_hash(&has_bits); - _impl_.soundevent_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional int32 source_entity_index = 2 [default = -1]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_source_entity_index(&has_bits); - _impl_.source_entity_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSosStopSoundEventHash::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSosStopSoundEventHash) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 soundevent_hash = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_soundevent_hash(), target); - } - - // optional int32 source_entity_index = 2 [default = -1]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_source_entity_index(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSosStopSoundEventHash) - return target; -} - -size_t CMsgSosStopSoundEventHash::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSosStopSoundEventHash) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional fixed32 soundevent_hash = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional int32 source_entity_index = 2 [default = -1]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_source_entity_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSosStopSoundEventHash::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSosStopSoundEventHash::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSosStopSoundEventHash::GetClassData() const { return &_class_data_; } - - -void CMsgSosStopSoundEventHash::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSosStopSoundEventHash) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.soundevent_hash_ = from._impl_.soundevent_hash_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.source_entity_index_ = from._impl_.source_entity_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSosStopSoundEventHash::CopyFrom(const CMsgSosStopSoundEventHash& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSosStopSoundEventHash) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSosStopSoundEventHash::IsInitialized() const { - return true; -} - -void CMsgSosStopSoundEventHash::InternalSwap(CMsgSosStopSoundEventHash* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.soundevent_hash_, other->_impl_.soundevent_hash_); - swap(_impl_.source_entity_index_, other->_impl_.source_entity_index_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSosStopSoundEventHash::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, - file_level_metadata_gameevents_2eproto[13]); -} - -// =================================================================== - -class CMsgSosSetSoundEventParams::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_soundevent_guid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_packed_params(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSosSetSoundEventParams::CMsgSosSetSoundEventParams(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSosSetSoundEventParams) -} -CMsgSosSetSoundEventParams::CMsgSosSetSoundEventParams(const CMsgSosSetSoundEventParams& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSosSetSoundEventParams* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.packed_params_){} - , decltype(_impl_.soundevent_guid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.packed_params_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.packed_params_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_packed_params()) { - _this->_impl_.packed_params_.Set(from._internal_packed_params(), - _this->GetArenaForAllocation()); - } - _this->_impl_.soundevent_guid_ = from._impl_.soundevent_guid_; - // @@protoc_insertion_point(copy_constructor:CMsgSosSetSoundEventParams) -} - -inline void CMsgSosSetSoundEventParams::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.packed_params_){} - , decltype(_impl_.soundevent_guid_){0} - }; - _impl_.packed_params_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.packed_params_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSosSetSoundEventParams::~CMsgSosSetSoundEventParams() { - // @@protoc_insertion_point(destructor:CMsgSosSetSoundEventParams) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSosSetSoundEventParams::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.packed_params_.Destroy(); -} - -void CMsgSosSetSoundEventParams::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSosSetSoundEventParams::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSosSetSoundEventParams) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.packed_params_.ClearNonDefaultToEmpty(); - } - _impl_.soundevent_guid_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSosSetSoundEventParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 soundevent_guid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_soundevent_guid(&has_bits); - _impl_.soundevent_guid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes packed_params = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_packed_params(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSosSetSoundEventParams::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSosSetSoundEventParams) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 soundevent_guid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_soundevent_guid(), target); - } - - // optional bytes packed_params = 5; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 5, this->_internal_packed_params(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSosSetSoundEventParams) - return target; -} - -size_t CMsgSosSetSoundEventParams::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSosSetSoundEventParams) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bytes packed_params = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_packed_params()); - } - - // optional int32 soundevent_guid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_soundevent_guid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSosSetSoundEventParams::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSosSetSoundEventParams::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSosSetSoundEventParams::GetClassData() const { return &_class_data_; } - - -void CMsgSosSetSoundEventParams::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSosSetSoundEventParams) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_packed_params(from._internal_packed_params()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.soundevent_guid_ = from._impl_.soundevent_guid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSosSetSoundEventParams::CopyFrom(const CMsgSosSetSoundEventParams& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSosSetSoundEventParams) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSosSetSoundEventParams::IsInitialized() const { - return true; -} - -void CMsgSosSetSoundEventParams::InternalSwap(CMsgSosSetSoundEventParams* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.packed_params_, lhs_arena, - &other->_impl_.packed_params_, rhs_arena - ); - swap(_impl_.soundevent_guid_, other->_impl_.soundevent_guid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSosSetSoundEventParams::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, - file_level_metadata_gameevents_2eproto[14]); -} - -// =================================================================== - -class CMsgSosSetLibraryStackFields::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_stack_hash(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_packed_fields(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSosSetLibraryStackFields::CMsgSosSetLibraryStackFields(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSosSetLibraryStackFields) -} -CMsgSosSetLibraryStackFields::CMsgSosSetLibraryStackFields(const CMsgSosSetLibraryStackFields& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSosSetLibraryStackFields* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.packed_fields_){} - , decltype(_impl_.stack_hash_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.packed_fields_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.packed_fields_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_packed_fields()) { - _this->_impl_.packed_fields_.Set(from._internal_packed_fields(), - _this->GetArenaForAllocation()); - } - _this->_impl_.stack_hash_ = from._impl_.stack_hash_; - // @@protoc_insertion_point(copy_constructor:CMsgSosSetLibraryStackFields) -} - -inline void CMsgSosSetLibraryStackFields::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.packed_fields_){} - , decltype(_impl_.stack_hash_){0u} - }; - _impl_.packed_fields_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.packed_fields_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSosSetLibraryStackFields::~CMsgSosSetLibraryStackFields() { - // @@protoc_insertion_point(destructor:CMsgSosSetLibraryStackFields) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSosSetLibraryStackFields::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.packed_fields_.Destroy(); -} - -void CMsgSosSetLibraryStackFields::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSosSetLibraryStackFields::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSosSetLibraryStackFields) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.packed_fields_.ClearNonDefaultToEmpty(); - } - _impl_.stack_hash_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSosSetLibraryStackFields::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 stack_hash = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_stack_hash(&has_bits); - _impl_.stack_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional bytes packed_fields = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_packed_fields(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSosSetLibraryStackFields::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSosSetLibraryStackFields) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 stack_hash = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_stack_hash(), target); - } - - // optional bytes packed_fields = 5; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 5, this->_internal_packed_fields(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSosSetLibraryStackFields) - return target; -} - -size_t CMsgSosSetLibraryStackFields::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSosSetLibraryStackFields) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bytes packed_fields = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_packed_fields()); - } - - // optional fixed32 stack_hash = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSosSetLibraryStackFields::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSosSetLibraryStackFields::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSosSetLibraryStackFields::GetClassData() const { return &_class_data_; } - - -void CMsgSosSetLibraryStackFields::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSosSetLibraryStackFields) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_packed_fields(from._internal_packed_fields()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.stack_hash_ = from._impl_.stack_hash_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSosSetLibraryStackFields::CopyFrom(const CMsgSosSetLibraryStackFields& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSosSetLibraryStackFields) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSosSetLibraryStackFields::IsInitialized() const { - return true; -} - -void CMsgSosSetLibraryStackFields::InternalSwap(CMsgSosSetLibraryStackFields* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.packed_fields_, lhs_arena, - &other->_impl_.packed_fields_, rhs_arena - ); - swap(_impl_.stack_hash_, other->_impl_.stack_hash_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSosSetLibraryStackFields::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gameevents_2eproto_getter, &descriptor_table_gameevents_2eproto_once, - file_level_metadata_gameevents_2eproto[15]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CMsgVDebugGameSessionIDEvent* -Arena::CreateMaybeMessage< ::CMsgVDebugGameSessionIDEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgVDebugGameSessionIDEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgPlaceDecalEvent* -Arena::CreateMaybeMessage< ::CMsgPlaceDecalEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgPlaceDecalEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgClearWorldDecalsEvent* -Arena::CreateMaybeMessage< ::CMsgClearWorldDecalsEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgClearWorldDecalsEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgClearEntityDecalsEvent* -Arena::CreateMaybeMessage< ::CMsgClearEntityDecalsEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgClearEntityDecalsEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgClearDecalsForEntityEvent* -Arena::CreateMaybeMessage< ::CMsgClearDecalsForEntityEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgClearDecalsForEntityEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSource1LegacyGameEventList_key_t* -Arena::CreateMaybeMessage< ::CMsgSource1LegacyGameEventList_key_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSource1LegacyGameEventList_key_t >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSource1LegacyGameEventList_descriptor_t* -Arena::CreateMaybeMessage< ::CMsgSource1LegacyGameEventList_descriptor_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSource1LegacyGameEventList_descriptor_t >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSource1LegacyGameEventList* -Arena::CreateMaybeMessage< ::CMsgSource1LegacyGameEventList >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSource1LegacyGameEventList >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSource1LegacyListenEvents* -Arena::CreateMaybeMessage< ::CMsgSource1LegacyListenEvents >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSource1LegacyListenEvents >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSource1LegacyGameEvent_key_t* -Arena::CreateMaybeMessage< ::CMsgSource1LegacyGameEvent_key_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSource1LegacyGameEvent_key_t >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSource1LegacyGameEvent* -Arena::CreateMaybeMessage< ::CMsgSource1LegacyGameEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSource1LegacyGameEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSosStartSoundEvent* -Arena::CreateMaybeMessage< ::CMsgSosStartSoundEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSosStartSoundEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSosStopSoundEvent* -Arena::CreateMaybeMessage< ::CMsgSosStopSoundEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSosStopSoundEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSosStopSoundEventHash* -Arena::CreateMaybeMessage< ::CMsgSosStopSoundEventHash >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSosStopSoundEventHash >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSosSetSoundEventParams* -Arena::CreateMaybeMessage< ::CMsgSosSetSoundEventParams >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSosSetSoundEventParams >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSosSetLibraryStackFields* -Arena::CreateMaybeMessage< ::CMsgSosSetLibraryStackFields >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSosSetLibraryStackFields >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/gameevents.pb.h b/protobuf/generated/gameevents.pb.h deleted file mode 100644 index 20310e3ef..000000000 --- a/protobuf/generated/gameevents.pb.h +++ /dev/null @@ -1,5462 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: gameevents.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_gameevents_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_gameevents_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "networkbasetypes.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_gameevents_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_gameevents_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_gameevents_2eproto; -class CMsgClearDecalsForEntityEvent; -struct CMsgClearDecalsForEntityEventDefaultTypeInternal; -extern CMsgClearDecalsForEntityEventDefaultTypeInternal _CMsgClearDecalsForEntityEvent_default_instance_; -class CMsgClearEntityDecalsEvent; -struct CMsgClearEntityDecalsEventDefaultTypeInternal; -extern CMsgClearEntityDecalsEventDefaultTypeInternal _CMsgClearEntityDecalsEvent_default_instance_; -class CMsgClearWorldDecalsEvent; -struct CMsgClearWorldDecalsEventDefaultTypeInternal; -extern CMsgClearWorldDecalsEventDefaultTypeInternal _CMsgClearWorldDecalsEvent_default_instance_; -class CMsgPlaceDecalEvent; -struct CMsgPlaceDecalEventDefaultTypeInternal; -extern CMsgPlaceDecalEventDefaultTypeInternal _CMsgPlaceDecalEvent_default_instance_; -class CMsgSosSetLibraryStackFields; -struct CMsgSosSetLibraryStackFieldsDefaultTypeInternal; -extern CMsgSosSetLibraryStackFieldsDefaultTypeInternal _CMsgSosSetLibraryStackFields_default_instance_; -class CMsgSosSetSoundEventParams; -struct CMsgSosSetSoundEventParamsDefaultTypeInternal; -extern CMsgSosSetSoundEventParamsDefaultTypeInternal _CMsgSosSetSoundEventParams_default_instance_; -class CMsgSosStartSoundEvent; -struct CMsgSosStartSoundEventDefaultTypeInternal; -extern CMsgSosStartSoundEventDefaultTypeInternal _CMsgSosStartSoundEvent_default_instance_; -class CMsgSosStopSoundEvent; -struct CMsgSosStopSoundEventDefaultTypeInternal; -extern CMsgSosStopSoundEventDefaultTypeInternal _CMsgSosStopSoundEvent_default_instance_; -class CMsgSosStopSoundEventHash; -struct CMsgSosStopSoundEventHashDefaultTypeInternal; -extern CMsgSosStopSoundEventHashDefaultTypeInternal _CMsgSosStopSoundEventHash_default_instance_; -class CMsgSource1LegacyGameEvent; -struct CMsgSource1LegacyGameEventDefaultTypeInternal; -extern CMsgSource1LegacyGameEventDefaultTypeInternal _CMsgSource1LegacyGameEvent_default_instance_; -class CMsgSource1LegacyGameEventList; -struct CMsgSource1LegacyGameEventListDefaultTypeInternal; -extern CMsgSource1LegacyGameEventListDefaultTypeInternal _CMsgSource1LegacyGameEventList_default_instance_; -class CMsgSource1LegacyGameEventList_descriptor_t; -struct CMsgSource1LegacyGameEventList_descriptor_tDefaultTypeInternal; -extern CMsgSource1LegacyGameEventList_descriptor_tDefaultTypeInternal _CMsgSource1LegacyGameEventList_descriptor_t_default_instance_; -class CMsgSource1LegacyGameEventList_key_t; -struct CMsgSource1LegacyGameEventList_key_tDefaultTypeInternal; -extern CMsgSource1LegacyGameEventList_key_tDefaultTypeInternal _CMsgSource1LegacyGameEventList_key_t_default_instance_; -class CMsgSource1LegacyGameEvent_key_t; -struct CMsgSource1LegacyGameEvent_key_tDefaultTypeInternal; -extern CMsgSource1LegacyGameEvent_key_tDefaultTypeInternal _CMsgSource1LegacyGameEvent_key_t_default_instance_; -class CMsgSource1LegacyListenEvents; -struct CMsgSource1LegacyListenEventsDefaultTypeInternal; -extern CMsgSource1LegacyListenEventsDefaultTypeInternal _CMsgSource1LegacyListenEvents_default_instance_; -class CMsgVDebugGameSessionIDEvent; -struct CMsgVDebugGameSessionIDEventDefaultTypeInternal; -extern CMsgVDebugGameSessionIDEventDefaultTypeInternal _CMsgVDebugGameSessionIDEvent_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CMsgClearDecalsForEntityEvent* Arena::CreateMaybeMessage<::CMsgClearDecalsForEntityEvent>(Arena*); -template<> ::CMsgClearEntityDecalsEvent* Arena::CreateMaybeMessage<::CMsgClearEntityDecalsEvent>(Arena*); -template<> ::CMsgClearWorldDecalsEvent* Arena::CreateMaybeMessage<::CMsgClearWorldDecalsEvent>(Arena*); -template<> ::CMsgPlaceDecalEvent* Arena::CreateMaybeMessage<::CMsgPlaceDecalEvent>(Arena*); -template<> ::CMsgSosSetLibraryStackFields* Arena::CreateMaybeMessage<::CMsgSosSetLibraryStackFields>(Arena*); -template<> ::CMsgSosSetSoundEventParams* Arena::CreateMaybeMessage<::CMsgSosSetSoundEventParams>(Arena*); -template<> ::CMsgSosStartSoundEvent* Arena::CreateMaybeMessage<::CMsgSosStartSoundEvent>(Arena*); -template<> ::CMsgSosStopSoundEvent* Arena::CreateMaybeMessage<::CMsgSosStopSoundEvent>(Arena*); -template<> ::CMsgSosStopSoundEventHash* Arena::CreateMaybeMessage<::CMsgSosStopSoundEventHash>(Arena*); -template<> ::CMsgSource1LegacyGameEvent* Arena::CreateMaybeMessage<::CMsgSource1LegacyGameEvent>(Arena*); -template<> ::CMsgSource1LegacyGameEventList* Arena::CreateMaybeMessage<::CMsgSource1LegacyGameEventList>(Arena*); -template<> ::CMsgSource1LegacyGameEventList_descriptor_t* Arena::CreateMaybeMessage<::CMsgSource1LegacyGameEventList_descriptor_t>(Arena*); -template<> ::CMsgSource1LegacyGameEventList_key_t* Arena::CreateMaybeMessage<::CMsgSource1LegacyGameEventList_key_t>(Arena*); -template<> ::CMsgSource1LegacyGameEvent_key_t* Arena::CreateMaybeMessage<::CMsgSource1LegacyGameEvent_key_t>(Arena*); -template<> ::CMsgSource1LegacyListenEvents* Arena::CreateMaybeMessage<::CMsgSource1LegacyListenEvents>(Arena*); -template<> ::CMsgVDebugGameSessionIDEvent* Arena::CreateMaybeMessage<::CMsgVDebugGameSessionIDEvent>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum EBaseGameEvents : int { - GE_VDebugGameSessionIDEvent = 200, - GE_PlaceDecalEvent = 201, - GE_ClearWorldDecalsEvent = 202, - GE_ClearEntityDecalsEvent = 203, - GE_ClearDecalsForEntityEvent = 204, - GE_Source1LegacyGameEventList = 205, - GE_Source1LegacyListenEvents = 206, - GE_Source1LegacyGameEvent = 207, - GE_SosStartSoundEvent = 208, - GE_SosStopSoundEvent = 209, - GE_SosSetSoundEventParams = 210, - GE_SosSetLibraryStackFields = 211, - GE_SosStopSoundEventHash = 212 -}; -bool EBaseGameEvents_IsValid(int value); -constexpr EBaseGameEvents EBaseGameEvents_MIN = GE_VDebugGameSessionIDEvent; -constexpr EBaseGameEvents EBaseGameEvents_MAX = GE_SosStopSoundEventHash; -constexpr int EBaseGameEvents_ARRAYSIZE = EBaseGameEvents_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBaseGameEvents_descriptor(); -template -inline const std::string& EBaseGameEvents_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EBaseGameEvents_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EBaseGameEvents_descriptor(), enum_t_value); -} -inline bool EBaseGameEvents_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EBaseGameEvents* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EBaseGameEvents_descriptor(), name, value); -} -// =================================================================== - -class CMsgVDebugGameSessionIDEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgVDebugGameSessionIDEvent) */ { - public: - inline CMsgVDebugGameSessionIDEvent() : CMsgVDebugGameSessionIDEvent(nullptr) {} - ~CMsgVDebugGameSessionIDEvent() override; - explicit PROTOBUF_CONSTEXPR CMsgVDebugGameSessionIDEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgVDebugGameSessionIDEvent(const CMsgVDebugGameSessionIDEvent& from); - CMsgVDebugGameSessionIDEvent(CMsgVDebugGameSessionIDEvent&& from) noexcept - : CMsgVDebugGameSessionIDEvent() { - *this = ::std::move(from); - } - - inline CMsgVDebugGameSessionIDEvent& operator=(const CMsgVDebugGameSessionIDEvent& from) { - CopyFrom(from); - return *this; - } - inline CMsgVDebugGameSessionIDEvent& operator=(CMsgVDebugGameSessionIDEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgVDebugGameSessionIDEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgVDebugGameSessionIDEvent* internal_default_instance() { - return reinterpret_cast( - &_CMsgVDebugGameSessionIDEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CMsgVDebugGameSessionIDEvent& a, CMsgVDebugGameSessionIDEvent& b) { - a.Swap(&b); - } - inline void Swap(CMsgVDebugGameSessionIDEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgVDebugGameSessionIDEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgVDebugGameSessionIDEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgVDebugGameSessionIDEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgVDebugGameSessionIDEvent& from) { - CMsgVDebugGameSessionIDEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgVDebugGameSessionIDEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgVDebugGameSessionIDEvent"; - } - protected: - explicit CMsgVDebugGameSessionIDEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGamesessionidFieldNumber = 2, - kClientidFieldNumber = 1, - }; - // optional string gamesessionid = 2; - bool has_gamesessionid() const; - private: - bool _internal_has_gamesessionid() const; - public: - void clear_gamesessionid(); - const std::string& gamesessionid() const; - template - void set_gamesessionid(ArgT0&& arg0, ArgT... args); - std::string* mutable_gamesessionid(); - PROTOBUF_NODISCARD std::string* release_gamesessionid(); - void set_allocated_gamesessionid(std::string* gamesessionid); - private: - const std::string& _internal_gamesessionid() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_gamesessionid(const std::string& value); - std::string* _internal_mutable_gamesessionid(); - public: - - // optional int32 clientid = 1; - bool has_clientid() const; - private: - bool _internal_has_clientid() const; - public: - void clear_clientid(); - int32_t clientid() const; - void set_clientid(int32_t value); - private: - int32_t _internal_clientid() const; - void _internal_set_clientid(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgVDebugGameSessionIDEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gamesessionid_; - int32_t clientid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gameevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgPlaceDecalEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgPlaceDecalEvent) */ { - public: - inline CMsgPlaceDecalEvent() : CMsgPlaceDecalEvent(nullptr) {} - ~CMsgPlaceDecalEvent() override; - explicit PROTOBUF_CONSTEXPR CMsgPlaceDecalEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgPlaceDecalEvent(const CMsgPlaceDecalEvent& from); - CMsgPlaceDecalEvent(CMsgPlaceDecalEvent&& from) noexcept - : CMsgPlaceDecalEvent() { - *this = ::std::move(from); - } - - inline CMsgPlaceDecalEvent& operator=(const CMsgPlaceDecalEvent& from) { - CopyFrom(from); - return *this; - } - inline CMsgPlaceDecalEvent& operator=(CMsgPlaceDecalEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgPlaceDecalEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgPlaceDecalEvent* internal_default_instance() { - return reinterpret_cast( - &_CMsgPlaceDecalEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CMsgPlaceDecalEvent& a, CMsgPlaceDecalEvent& b) { - a.Swap(&b); - } - inline void Swap(CMsgPlaceDecalEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgPlaceDecalEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgPlaceDecalEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgPlaceDecalEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgPlaceDecalEvent& from) { - CMsgPlaceDecalEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgPlaceDecalEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgPlaceDecalEvent"; - } - protected: - explicit CMsgPlaceDecalEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPositionFieldNumber = 1, - kNormalFieldNumber = 2, - kSaxisFieldNumber = 3, - kBoneindexFieldNumber = 4, - kFlagsFieldNumber = 5, - kColorFieldNumber = 6, - kRandomSeedFieldNumber = 7, - kDecalGroupNameFieldNumber = 8, - kSizeOverrideFieldNumber = 9, - kMaterialIdFieldNumber = 11, - kSequenceNameFieldNumber = 12, - kEntityhandleFieldNumber = 10, - }; - // optional .CMsgVector position = 1; - bool has_position() const; - private: - bool _internal_has_position() const; - public: - void clear_position(); - const ::CMsgVector& position() const; - PROTOBUF_NODISCARD ::CMsgVector* release_position(); - ::CMsgVector* mutable_position(); - void set_allocated_position(::CMsgVector* position); - private: - const ::CMsgVector& _internal_position() const; - ::CMsgVector* _internal_mutable_position(); - public: - void unsafe_arena_set_allocated_position( - ::CMsgVector* position); - ::CMsgVector* unsafe_arena_release_position(); - - // optional .CMsgVector normal = 2; - bool has_normal() const; - private: - bool _internal_has_normal() const; - public: - void clear_normal(); - const ::CMsgVector& normal() const; - PROTOBUF_NODISCARD ::CMsgVector* release_normal(); - ::CMsgVector* mutable_normal(); - void set_allocated_normal(::CMsgVector* normal); - private: - const ::CMsgVector& _internal_normal() const; - ::CMsgVector* _internal_mutable_normal(); - public: - void unsafe_arena_set_allocated_normal( - ::CMsgVector* normal); - ::CMsgVector* unsafe_arena_release_normal(); - - // optional .CMsgVector saxis = 3; - bool has_saxis() const; - private: - bool _internal_has_saxis() const; - public: - void clear_saxis(); - const ::CMsgVector& saxis() const; - PROTOBUF_NODISCARD ::CMsgVector* release_saxis(); - ::CMsgVector* mutable_saxis(); - void set_allocated_saxis(::CMsgVector* saxis); - private: - const ::CMsgVector& _internal_saxis() const; - ::CMsgVector* _internal_mutable_saxis(); - public: - void unsafe_arena_set_allocated_saxis( - ::CMsgVector* saxis); - ::CMsgVector* unsafe_arena_release_saxis(); - - // optional int32 boneindex = 4; - bool has_boneindex() const; - private: - bool _internal_has_boneindex() const; - public: - void clear_boneindex(); - int32_t boneindex() const; - void set_boneindex(int32_t value); - private: - int32_t _internal_boneindex() const; - void _internal_set_boneindex(int32_t value); - public: - - // optional uint32 flags = 5; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional fixed32 color = 6; - bool has_color() const; - private: - bool _internal_has_color() const; - public: - void clear_color(); - uint32_t color() const; - void set_color(uint32_t value); - private: - uint32_t _internal_color() const; - void _internal_set_color(uint32_t value); - public: - - // optional int32 random_seed = 7; - bool has_random_seed() const; - private: - bool _internal_has_random_seed() const; - public: - void clear_random_seed(); - int32_t random_seed() const; - void set_random_seed(int32_t value); - private: - int32_t _internal_random_seed() const; - void _internal_set_random_seed(int32_t value); - public: - - // optional uint32 decal_group_name = 8; - bool has_decal_group_name() const; - private: - bool _internal_has_decal_group_name() const; - public: - void clear_decal_group_name(); - uint32_t decal_group_name() const; - void set_decal_group_name(uint32_t value); - private: - uint32_t _internal_decal_group_name() const; - void _internal_set_decal_group_name(uint32_t value); - public: - - // optional float size_override = 9; - bool has_size_override() const; - private: - bool _internal_has_size_override() const; - public: - void clear_size_override(); - float size_override() const; - void set_size_override(float value); - private: - float _internal_size_override() const; - void _internal_set_size_override(float value); - public: - - // optional uint64 material_id = 11; - bool has_material_id() const; - private: - bool _internal_has_material_id() const; - public: - void clear_material_id(); - uint64_t material_id() const; - void set_material_id(uint64_t value); - private: - uint64_t _internal_material_id() const; - void _internal_set_material_id(uint64_t value); - public: - - // optional uint32 sequence_name = 12; - bool has_sequence_name() const; - private: - bool _internal_has_sequence_name() const; - public: - void clear_sequence_name(); - uint32_t sequence_name() const; - void set_sequence_name(uint32_t value); - private: - uint32_t _internal_sequence_name() const; - void _internal_set_sequence_name(uint32_t value); - public: - - // optional uint32 entityhandle = 10 [default = 16777215]; - bool has_entityhandle() const; - private: - bool _internal_has_entityhandle() const; - public: - void clear_entityhandle(); - uint32_t entityhandle() const; - void set_entityhandle(uint32_t value); - private: - uint32_t _internal_entityhandle() const; - void _internal_set_entityhandle(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgPlaceDecalEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* position_; - ::CMsgVector* normal_; - ::CMsgVector* saxis_; - int32_t boneindex_; - uint32_t flags_; - uint32_t color_; - int32_t random_seed_; - uint32_t decal_group_name_; - float size_override_; - uint64_t material_id_; - uint32_t sequence_name_; - uint32_t entityhandle_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gameevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgClearWorldDecalsEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgClearWorldDecalsEvent) */ { - public: - inline CMsgClearWorldDecalsEvent() : CMsgClearWorldDecalsEvent(nullptr) {} - ~CMsgClearWorldDecalsEvent() override; - explicit PROTOBUF_CONSTEXPR CMsgClearWorldDecalsEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgClearWorldDecalsEvent(const CMsgClearWorldDecalsEvent& from); - CMsgClearWorldDecalsEvent(CMsgClearWorldDecalsEvent&& from) noexcept - : CMsgClearWorldDecalsEvent() { - *this = ::std::move(from); - } - - inline CMsgClearWorldDecalsEvent& operator=(const CMsgClearWorldDecalsEvent& from) { - CopyFrom(from); - return *this; - } - inline CMsgClearWorldDecalsEvent& operator=(CMsgClearWorldDecalsEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgClearWorldDecalsEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgClearWorldDecalsEvent* internal_default_instance() { - return reinterpret_cast( - &_CMsgClearWorldDecalsEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CMsgClearWorldDecalsEvent& a, CMsgClearWorldDecalsEvent& b) { - a.Swap(&b); - } - inline void Swap(CMsgClearWorldDecalsEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgClearWorldDecalsEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgClearWorldDecalsEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgClearWorldDecalsEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgClearWorldDecalsEvent& from) { - CMsgClearWorldDecalsEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgClearWorldDecalsEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgClearWorldDecalsEvent"; - } - protected: - explicit CMsgClearWorldDecalsEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFlagstoclearFieldNumber = 1, - }; - // optional uint32 flagstoclear = 1; - bool has_flagstoclear() const; - private: - bool _internal_has_flagstoclear() const; - public: - void clear_flagstoclear(); - uint32_t flagstoclear() const; - void set_flagstoclear(uint32_t value); - private: - uint32_t _internal_flagstoclear() const; - void _internal_set_flagstoclear(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgClearWorldDecalsEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t flagstoclear_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gameevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgClearEntityDecalsEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgClearEntityDecalsEvent) */ { - public: - inline CMsgClearEntityDecalsEvent() : CMsgClearEntityDecalsEvent(nullptr) {} - ~CMsgClearEntityDecalsEvent() override; - explicit PROTOBUF_CONSTEXPR CMsgClearEntityDecalsEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgClearEntityDecalsEvent(const CMsgClearEntityDecalsEvent& from); - CMsgClearEntityDecalsEvent(CMsgClearEntityDecalsEvent&& from) noexcept - : CMsgClearEntityDecalsEvent() { - *this = ::std::move(from); - } - - inline CMsgClearEntityDecalsEvent& operator=(const CMsgClearEntityDecalsEvent& from) { - CopyFrom(from); - return *this; - } - inline CMsgClearEntityDecalsEvent& operator=(CMsgClearEntityDecalsEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgClearEntityDecalsEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgClearEntityDecalsEvent* internal_default_instance() { - return reinterpret_cast( - &_CMsgClearEntityDecalsEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CMsgClearEntityDecalsEvent& a, CMsgClearEntityDecalsEvent& b) { - a.Swap(&b); - } - inline void Swap(CMsgClearEntityDecalsEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgClearEntityDecalsEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgClearEntityDecalsEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgClearEntityDecalsEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgClearEntityDecalsEvent& from) { - CMsgClearEntityDecalsEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgClearEntityDecalsEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgClearEntityDecalsEvent"; - } - protected: - explicit CMsgClearEntityDecalsEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFlagstoclearFieldNumber = 1, - }; - // optional uint32 flagstoclear = 1; - bool has_flagstoclear() const; - private: - bool _internal_has_flagstoclear() const; - public: - void clear_flagstoclear(); - uint32_t flagstoclear() const; - void set_flagstoclear(uint32_t value); - private: - uint32_t _internal_flagstoclear() const; - void _internal_set_flagstoclear(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgClearEntityDecalsEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t flagstoclear_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gameevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgClearDecalsForEntityEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgClearDecalsForEntityEvent) */ { - public: - inline CMsgClearDecalsForEntityEvent() : CMsgClearDecalsForEntityEvent(nullptr) {} - ~CMsgClearDecalsForEntityEvent() override; - explicit PROTOBUF_CONSTEXPR CMsgClearDecalsForEntityEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgClearDecalsForEntityEvent(const CMsgClearDecalsForEntityEvent& from); - CMsgClearDecalsForEntityEvent(CMsgClearDecalsForEntityEvent&& from) noexcept - : CMsgClearDecalsForEntityEvent() { - *this = ::std::move(from); - } - - inline CMsgClearDecalsForEntityEvent& operator=(const CMsgClearDecalsForEntityEvent& from) { - CopyFrom(from); - return *this; - } - inline CMsgClearDecalsForEntityEvent& operator=(CMsgClearDecalsForEntityEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgClearDecalsForEntityEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgClearDecalsForEntityEvent* internal_default_instance() { - return reinterpret_cast( - &_CMsgClearDecalsForEntityEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CMsgClearDecalsForEntityEvent& a, CMsgClearDecalsForEntityEvent& b) { - a.Swap(&b); - } - inline void Swap(CMsgClearDecalsForEntityEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgClearDecalsForEntityEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgClearDecalsForEntityEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgClearDecalsForEntityEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgClearDecalsForEntityEvent& from) { - CMsgClearDecalsForEntityEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgClearDecalsForEntityEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgClearDecalsForEntityEvent"; - } - protected: - explicit CMsgClearDecalsForEntityEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFlagstoclearFieldNumber = 1, - kEntityhandleFieldNumber = 2, - }; - // optional uint32 flagstoclear = 1; - bool has_flagstoclear() const; - private: - bool _internal_has_flagstoclear() const; - public: - void clear_flagstoclear(); - uint32_t flagstoclear() const; - void set_flagstoclear(uint32_t value); - private: - uint32_t _internal_flagstoclear() const; - void _internal_set_flagstoclear(uint32_t value); - public: - - // optional uint32 entityhandle = 2 [default = 16777215]; - bool has_entityhandle() const; - private: - bool _internal_has_entityhandle() const; - public: - void clear_entityhandle(); - uint32_t entityhandle() const; - void set_entityhandle(uint32_t value); - private: - uint32_t _internal_entityhandle() const; - void _internal_set_entityhandle(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgClearDecalsForEntityEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t flagstoclear_; - uint32_t entityhandle_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gameevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSource1LegacyGameEventList_key_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource1LegacyGameEventList.key_t) */ { - public: - inline CMsgSource1LegacyGameEventList_key_t() : CMsgSource1LegacyGameEventList_key_t(nullptr) {} - ~CMsgSource1LegacyGameEventList_key_t() override; - explicit PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventList_key_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSource1LegacyGameEventList_key_t(const CMsgSource1LegacyGameEventList_key_t& from); - CMsgSource1LegacyGameEventList_key_t(CMsgSource1LegacyGameEventList_key_t&& from) noexcept - : CMsgSource1LegacyGameEventList_key_t() { - *this = ::std::move(from); - } - - inline CMsgSource1LegacyGameEventList_key_t& operator=(const CMsgSource1LegacyGameEventList_key_t& from) { - CopyFrom(from); - return *this; - } - inline CMsgSource1LegacyGameEventList_key_t& operator=(CMsgSource1LegacyGameEventList_key_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSource1LegacyGameEventList_key_t& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSource1LegacyGameEventList_key_t* internal_default_instance() { - return reinterpret_cast( - &_CMsgSource1LegacyGameEventList_key_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CMsgSource1LegacyGameEventList_key_t& a, CMsgSource1LegacyGameEventList_key_t& b) { - a.Swap(&b); - } - inline void Swap(CMsgSource1LegacyGameEventList_key_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSource1LegacyGameEventList_key_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSource1LegacyGameEventList_key_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSource1LegacyGameEventList_key_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSource1LegacyGameEventList_key_t& from) { - CMsgSource1LegacyGameEventList_key_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSource1LegacyGameEventList_key_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSource1LegacyGameEventList.key_t"; - } - protected: - explicit CMsgSource1LegacyGameEventList_key_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 2, - kTypeFieldNumber = 1, - }; - // optional string name = 2; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional int32 type = 1; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - int32_t type() const; - void set_type(int32_t value); - private: - int32_t _internal_type() const; - void _internal_set_type(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSource1LegacyGameEventList.key_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - int32_t type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gameevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSource1LegacyGameEventList_descriptor_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource1LegacyGameEventList.descriptor_t) */ { - public: - inline CMsgSource1LegacyGameEventList_descriptor_t() : CMsgSource1LegacyGameEventList_descriptor_t(nullptr) {} - ~CMsgSource1LegacyGameEventList_descriptor_t() override; - explicit PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventList_descriptor_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSource1LegacyGameEventList_descriptor_t(const CMsgSource1LegacyGameEventList_descriptor_t& from); - CMsgSource1LegacyGameEventList_descriptor_t(CMsgSource1LegacyGameEventList_descriptor_t&& from) noexcept - : CMsgSource1LegacyGameEventList_descriptor_t() { - *this = ::std::move(from); - } - - inline CMsgSource1LegacyGameEventList_descriptor_t& operator=(const CMsgSource1LegacyGameEventList_descriptor_t& from) { - CopyFrom(from); - return *this; - } - inline CMsgSource1LegacyGameEventList_descriptor_t& operator=(CMsgSource1LegacyGameEventList_descriptor_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSource1LegacyGameEventList_descriptor_t& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSource1LegacyGameEventList_descriptor_t* internal_default_instance() { - return reinterpret_cast( - &_CMsgSource1LegacyGameEventList_descriptor_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CMsgSource1LegacyGameEventList_descriptor_t& a, CMsgSource1LegacyGameEventList_descriptor_t& b) { - a.Swap(&b); - } - inline void Swap(CMsgSource1LegacyGameEventList_descriptor_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSource1LegacyGameEventList_descriptor_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSource1LegacyGameEventList_descriptor_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSource1LegacyGameEventList_descriptor_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSource1LegacyGameEventList_descriptor_t& from) { - CMsgSource1LegacyGameEventList_descriptor_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSource1LegacyGameEventList_descriptor_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSource1LegacyGameEventList.descriptor_t"; - } - protected: - explicit CMsgSource1LegacyGameEventList_descriptor_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kKeysFieldNumber = 3, - kNameFieldNumber = 2, - kEventidFieldNumber = 1, - }; - // repeated .CMsgSource1LegacyGameEventList.key_t keys = 3; - int keys_size() const; - private: - int _internal_keys_size() const; - public: - void clear_keys(); - ::CMsgSource1LegacyGameEventList_key_t* mutable_keys(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_key_t >* - mutable_keys(); - private: - const ::CMsgSource1LegacyGameEventList_key_t& _internal_keys(int index) const; - ::CMsgSource1LegacyGameEventList_key_t* _internal_add_keys(); - public: - const ::CMsgSource1LegacyGameEventList_key_t& keys(int index) const; - ::CMsgSource1LegacyGameEventList_key_t* add_keys(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_key_t >& - keys() const; - - // optional string name = 2; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional int32 eventid = 1; - bool has_eventid() const; - private: - bool _internal_has_eventid() const; - public: - void clear_eventid(); - int32_t eventid() const; - void set_eventid(int32_t value); - private: - int32_t _internal_eventid() const; - void _internal_set_eventid(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSource1LegacyGameEventList.descriptor_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_key_t > keys_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - int32_t eventid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gameevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSource1LegacyGameEventList : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource1LegacyGameEventList) */ { - public: - inline CMsgSource1LegacyGameEventList() : CMsgSource1LegacyGameEventList(nullptr) {} - ~CMsgSource1LegacyGameEventList() override; - explicit PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEventList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSource1LegacyGameEventList(const CMsgSource1LegacyGameEventList& from); - CMsgSource1LegacyGameEventList(CMsgSource1LegacyGameEventList&& from) noexcept - : CMsgSource1LegacyGameEventList() { - *this = ::std::move(from); - } - - inline CMsgSource1LegacyGameEventList& operator=(const CMsgSource1LegacyGameEventList& from) { - CopyFrom(from); - return *this; - } - inline CMsgSource1LegacyGameEventList& operator=(CMsgSource1LegacyGameEventList&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSource1LegacyGameEventList& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSource1LegacyGameEventList* internal_default_instance() { - return reinterpret_cast( - &_CMsgSource1LegacyGameEventList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(CMsgSource1LegacyGameEventList& a, CMsgSource1LegacyGameEventList& b) { - a.Swap(&b); - } - inline void Swap(CMsgSource1LegacyGameEventList* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSource1LegacyGameEventList* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSource1LegacyGameEventList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSource1LegacyGameEventList& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSource1LegacyGameEventList& from) { - CMsgSource1LegacyGameEventList::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSource1LegacyGameEventList* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSource1LegacyGameEventList"; - } - protected: - explicit CMsgSource1LegacyGameEventList(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSource1LegacyGameEventList_key_t key_t; - typedef CMsgSource1LegacyGameEventList_descriptor_t descriptor_t; - - // accessors ------------------------------------------------------- - - enum : int { - kDescriptorsFieldNumber = 1, - }; - // repeated .CMsgSource1LegacyGameEventList.descriptor_t descriptors = 1; - int descriptors_size() const; - private: - int _internal_descriptors_size() const; - public: - void clear_descriptors(); - ::CMsgSource1LegacyGameEventList_descriptor_t* mutable_descriptors(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_descriptor_t >* - mutable_descriptors(); - private: - const ::CMsgSource1LegacyGameEventList_descriptor_t& _internal_descriptors(int index) const; - ::CMsgSource1LegacyGameEventList_descriptor_t* _internal_add_descriptors(); - public: - const ::CMsgSource1LegacyGameEventList_descriptor_t& descriptors(int index) const; - ::CMsgSource1LegacyGameEventList_descriptor_t* add_descriptors(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_descriptor_t >& - descriptors() const; - - // @@protoc_insertion_point(class_scope:CMsgSource1LegacyGameEventList) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_descriptor_t > descriptors_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gameevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSource1LegacyListenEvents : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource1LegacyListenEvents) */ { - public: - inline CMsgSource1LegacyListenEvents() : CMsgSource1LegacyListenEvents(nullptr) {} - ~CMsgSource1LegacyListenEvents() override; - explicit PROTOBUF_CONSTEXPR CMsgSource1LegacyListenEvents(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSource1LegacyListenEvents(const CMsgSource1LegacyListenEvents& from); - CMsgSource1LegacyListenEvents(CMsgSource1LegacyListenEvents&& from) noexcept - : CMsgSource1LegacyListenEvents() { - *this = ::std::move(from); - } - - inline CMsgSource1LegacyListenEvents& operator=(const CMsgSource1LegacyListenEvents& from) { - CopyFrom(from); - return *this; - } - inline CMsgSource1LegacyListenEvents& operator=(CMsgSource1LegacyListenEvents&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSource1LegacyListenEvents& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSource1LegacyListenEvents* internal_default_instance() { - return reinterpret_cast( - &_CMsgSource1LegacyListenEvents_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(CMsgSource1LegacyListenEvents& a, CMsgSource1LegacyListenEvents& b) { - a.Swap(&b); - } - inline void Swap(CMsgSource1LegacyListenEvents* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSource1LegacyListenEvents* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSource1LegacyListenEvents* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSource1LegacyListenEvents& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSource1LegacyListenEvents& from) { - CMsgSource1LegacyListenEvents::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSource1LegacyListenEvents* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSource1LegacyListenEvents"; - } - protected: - explicit CMsgSource1LegacyListenEvents(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEventarraybitsFieldNumber = 2, - kPlayerslotFieldNumber = 1, - }; - // repeated uint32 eventarraybits = 2; - int eventarraybits_size() const; - private: - int _internal_eventarraybits_size() const; - public: - void clear_eventarraybits(); - private: - uint32_t _internal_eventarraybits(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_eventarraybits() const; - void _internal_add_eventarraybits(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_eventarraybits(); - public: - uint32_t eventarraybits(int index) const; - void set_eventarraybits(int index, uint32_t value); - void add_eventarraybits(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - eventarraybits() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_eventarraybits(); - - // optional int32 playerslot = 1; - bool has_playerslot() const; - private: - bool _internal_has_playerslot() const; - public: - void clear_playerslot(); - int32_t playerslot() const; - void set_playerslot(int32_t value); - private: - int32_t _internal_playerslot() const; - void _internal_set_playerslot(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSource1LegacyListenEvents) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > eventarraybits_; - int32_t playerslot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gameevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSource1LegacyGameEvent_key_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource1LegacyGameEvent.key_t) */ { - public: - inline CMsgSource1LegacyGameEvent_key_t() : CMsgSource1LegacyGameEvent_key_t(nullptr) {} - ~CMsgSource1LegacyGameEvent_key_t() override; - explicit PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEvent_key_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSource1LegacyGameEvent_key_t(const CMsgSource1LegacyGameEvent_key_t& from); - CMsgSource1LegacyGameEvent_key_t(CMsgSource1LegacyGameEvent_key_t&& from) noexcept - : CMsgSource1LegacyGameEvent_key_t() { - *this = ::std::move(from); - } - - inline CMsgSource1LegacyGameEvent_key_t& operator=(const CMsgSource1LegacyGameEvent_key_t& from) { - CopyFrom(from); - return *this; - } - inline CMsgSource1LegacyGameEvent_key_t& operator=(CMsgSource1LegacyGameEvent_key_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSource1LegacyGameEvent_key_t& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSource1LegacyGameEvent_key_t* internal_default_instance() { - return reinterpret_cast( - &_CMsgSource1LegacyGameEvent_key_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(CMsgSource1LegacyGameEvent_key_t& a, CMsgSource1LegacyGameEvent_key_t& b) { - a.Swap(&b); - } - inline void Swap(CMsgSource1LegacyGameEvent_key_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSource1LegacyGameEvent_key_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSource1LegacyGameEvent_key_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSource1LegacyGameEvent_key_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSource1LegacyGameEvent_key_t& from) { - CMsgSource1LegacyGameEvent_key_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSource1LegacyGameEvent_key_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSource1LegacyGameEvent.key_t"; - } - protected: - explicit CMsgSource1LegacyGameEvent_key_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kValStringFieldNumber = 2, - kTypeFieldNumber = 1, - kValFloatFieldNumber = 3, - kValLongFieldNumber = 4, - kValShortFieldNumber = 5, - kValByteFieldNumber = 6, - kValBoolFieldNumber = 7, - kValUint64FieldNumber = 8, - }; - // optional string val_string = 2; - bool has_val_string() const; - private: - bool _internal_has_val_string() const; - public: - void clear_val_string(); - const std::string& val_string() const; - template - void set_val_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_val_string(); - PROTOBUF_NODISCARD std::string* release_val_string(); - void set_allocated_val_string(std::string* val_string); - private: - const std::string& _internal_val_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_val_string(const std::string& value); - std::string* _internal_mutable_val_string(); - public: - - // optional int32 type = 1; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - int32_t type() const; - void set_type(int32_t value); - private: - int32_t _internal_type() const; - void _internal_set_type(int32_t value); - public: - - // optional float val_float = 3; - bool has_val_float() const; - private: - bool _internal_has_val_float() const; - public: - void clear_val_float(); - float val_float() const; - void set_val_float(float value); - private: - float _internal_val_float() const; - void _internal_set_val_float(float value); - public: - - // optional int32 val_long = 4; - bool has_val_long() const; - private: - bool _internal_has_val_long() const; - public: - void clear_val_long(); - int32_t val_long() const; - void set_val_long(int32_t value); - private: - int32_t _internal_val_long() const; - void _internal_set_val_long(int32_t value); - public: - - // optional int32 val_short = 5; - bool has_val_short() const; - private: - bool _internal_has_val_short() const; - public: - void clear_val_short(); - int32_t val_short() const; - void set_val_short(int32_t value); - private: - int32_t _internal_val_short() const; - void _internal_set_val_short(int32_t value); - public: - - // optional int32 val_byte = 6; - bool has_val_byte() const; - private: - bool _internal_has_val_byte() const; - public: - void clear_val_byte(); - int32_t val_byte() const; - void set_val_byte(int32_t value); - private: - int32_t _internal_val_byte() const; - void _internal_set_val_byte(int32_t value); - public: - - // optional bool val_bool = 7; - bool has_val_bool() const; - private: - bool _internal_has_val_bool() const; - public: - void clear_val_bool(); - bool val_bool() const; - void set_val_bool(bool value); - private: - bool _internal_val_bool() const; - void _internal_set_val_bool(bool value); - public: - - // optional uint64 val_uint64 = 8; - bool has_val_uint64() const; - private: - bool _internal_has_val_uint64() const; - public: - void clear_val_uint64(); - uint64_t val_uint64() const; - void set_val_uint64(uint64_t value); - private: - uint64_t _internal_val_uint64() const; - void _internal_set_val_uint64(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSource1LegacyGameEvent.key_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr val_string_; - int32_t type_; - float val_float_; - int32_t val_long_; - int32_t val_short_; - int32_t val_byte_; - bool val_bool_; - uint64_t val_uint64_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gameevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSource1LegacyGameEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource1LegacyGameEvent) */ { - public: - inline CMsgSource1LegacyGameEvent() : CMsgSource1LegacyGameEvent(nullptr) {} - ~CMsgSource1LegacyGameEvent() override; - explicit PROTOBUF_CONSTEXPR CMsgSource1LegacyGameEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSource1LegacyGameEvent(const CMsgSource1LegacyGameEvent& from); - CMsgSource1LegacyGameEvent(CMsgSource1LegacyGameEvent&& from) noexcept - : CMsgSource1LegacyGameEvent() { - *this = ::std::move(from); - } - - inline CMsgSource1LegacyGameEvent& operator=(const CMsgSource1LegacyGameEvent& from) { - CopyFrom(from); - return *this; - } - inline CMsgSource1LegacyGameEvent& operator=(CMsgSource1LegacyGameEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSource1LegacyGameEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSource1LegacyGameEvent* internal_default_instance() { - return reinterpret_cast( - &_CMsgSource1LegacyGameEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(CMsgSource1LegacyGameEvent& a, CMsgSource1LegacyGameEvent& b) { - a.Swap(&b); - } - inline void Swap(CMsgSource1LegacyGameEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSource1LegacyGameEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSource1LegacyGameEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSource1LegacyGameEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSource1LegacyGameEvent& from) { - CMsgSource1LegacyGameEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSource1LegacyGameEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSource1LegacyGameEvent"; - } - protected: - explicit CMsgSource1LegacyGameEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSource1LegacyGameEvent_key_t key_t; - - // accessors ------------------------------------------------------- - - enum : int { - kKeysFieldNumber = 3, - kEventNameFieldNumber = 1, - kEventidFieldNumber = 2, - kServerTickFieldNumber = 4, - kPassthroughFieldNumber = 5, - }; - // repeated .CMsgSource1LegacyGameEvent.key_t keys = 3; - int keys_size() const; - private: - int _internal_keys_size() const; - public: - void clear_keys(); - ::CMsgSource1LegacyGameEvent_key_t* mutable_keys(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEvent_key_t >* - mutable_keys(); - private: - const ::CMsgSource1LegacyGameEvent_key_t& _internal_keys(int index) const; - ::CMsgSource1LegacyGameEvent_key_t* _internal_add_keys(); - public: - const ::CMsgSource1LegacyGameEvent_key_t& keys(int index) const; - ::CMsgSource1LegacyGameEvent_key_t* add_keys(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEvent_key_t >& - keys() const; - - // optional string event_name = 1; - bool has_event_name() const; - private: - bool _internal_has_event_name() const; - public: - void clear_event_name(); - const std::string& event_name() const; - template - void set_event_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_event_name(); - PROTOBUF_NODISCARD std::string* release_event_name(); - void set_allocated_event_name(std::string* event_name); - private: - const std::string& _internal_event_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_name(const std::string& value); - std::string* _internal_mutable_event_name(); - public: - - // optional int32 eventid = 2; - bool has_eventid() const; - private: - bool _internal_has_eventid() const; - public: - void clear_eventid(); - int32_t eventid() const; - void set_eventid(int32_t value); - private: - int32_t _internal_eventid() const; - void _internal_set_eventid(int32_t value); - public: - - // optional int32 server_tick = 4; - bool has_server_tick() const; - private: - bool _internal_has_server_tick() const; - public: - void clear_server_tick(); - int32_t server_tick() const; - void set_server_tick(int32_t value); - private: - int32_t _internal_server_tick() const; - void _internal_set_server_tick(int32_t value); - public: - - // optional int32 passthrough = 5; - bool has_passthrough() const; - private: - bool _internal_has_passthrough() const; - public: - void clear_passthrough(); - int32_t passthrough() const; - void set_passthrough(int32_t value); - private: - int32_t _internal_passthrough() const; - void _internal_set_passthrough(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSource1LegacyGameEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEvent_key_t > keys_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_name_; - int32_t eventid_; - int32_t server_tick_; - int32_t passthrough_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gameevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSosStartSoundEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSosStartSoundEvent) */ { - public: - inline CMsgSosStartSoundEvent() : CMsgSosStartSoundEvent(nullptr) {} - ~CMsgSosStartSoundEvent() override; - explicit PROTOBUF_CONSTEXPR CMsgSosStartSoundEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSosStartSoundEvent(const CMsgSosStartSoundEvent& from); - CMsgSosStartSoundEvent(CMsgSosStartSoundEvent&& from) noexcept - : CMsgSosStartSoundEvent() { - *this = ::std::move(from); - } - - inline CMsgSosStartSoundEvent& operator=(const CMsgSosStartSoundEvent& from) { - CopyFrom(from); - return *this; - } - inline CMsgSosStartSoundEvent& operator=(CMsgSosStartSoundEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSosStartSoundEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSosStartSoundEvent* internal_default_instance() { - return reinterpret_cast( - &_CMsgSosStartSoundEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(CMsgSosStartSoundEvent& a, CMsgSosStartSoundEvent& b) { - a.Swap(&b); - } - inline void Swap(CMsgSosStartSoundEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSosStartSoundEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSosStartSoundEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSosStartSoundEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSosStartSoundEvent& from) { - CMsgSosStartSoundEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSosStartSoundEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSosStartSoundEvent"; - } - protected: - explicit CMsgSosStartSoundEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPackedParamsFieldNumber = 5, - kSoundeventGuidFieldNumber = 1, - kSoundeventHashFieldNumber = 2, - kSeedFieldNumber = 4, - kStartTimeFieldNumber = 6, - kSourceEntityIndexFieldNumber = 3, - }; - // optional bytes packed_params = 5; - bool has_packed_params() const; - private: - bool _internal_has_packed_params() const; - public: - void clear_packed_params(); - const std::string& packed_params() const; - template - void set_packed_params(ArgT0&& arg0, ArgT... args); - std::string* mutable_packed_params(); - PROTOBUF_NODISCARD std::string* release_packed_params(); - void set_allocated_packed_params(std::string* packed_params); - private: - const std::string& _internal_packed_params() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_packed_params(const std::string& value); - std::string* _internal_mutable_packed_params(); - public: - - // optional int32 soundevent_guid = 1; - bool has_soundevent_guid() const; - private: - bool _internal_has_soundevent_guid() const; - public: - void clear_soundevent_guid(); - int32_t soundevent_guid() const; - void set_soundevent_guid(int32_t value); - private: - int32_t _internal_soundevent_guid() const; - void _internal_set_soundevent_guid(int32_t value); - public: - - // optional fixed32 soundevent_hash = 2; - bool has_soundevent_hash() const; - private: - bool _internal_has_soundevent_hash() const; - public: - void clear_soundevent_hash(); - uint32_t soundevent_hash() const; - void set_soundevent_hash(uint32_t value); - private: - uint32_t _internal_soundevent_hash() const; - void _internal_set_soundevent_hash(uint32_t value); - public: - - // optional int32 seed = 4; - bool has_seed() const; - private: - bool _internal_has_seed() const; - public: - void clear_seed(); - int32_t seed() const; - void set_seed(int32_t value); - private: - int32_t _internal_seed() const; - void _internal_set_seed(int32_t value); - public: - - // optional float start_time = 6; - bool has_start_time() const; - private: - bool _internal_has_start_time() const; - public: - void clear_start_time(); - float start_time() const; - void set_start_time(float value); - private: - float _internal_start_time() const; - void _internal_set_start_time(float value); - public: - - // optional int32 source_entity_index = 3 [default = -1]; - bool has_source_entity_index() const; - private: - bool _internal_has_source_entity_index() const; - public: - void clear_source_entity_index(); - int32_t source_entity_index() const; - void set_source_entity_index(int32_t value); - private: - int32_t _internal_source_entity_index() const; - void _internal_set_source_entity_index(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSosStartSoundEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr packed_params_; - int32_t soundevent_guid_; - uint32_t soundevent_hash_; - int32_t seed_; - float start_time_; - int32_t source_entity_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gameevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSosStopSoundEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSosStopSoundEvent) */ { - public: - inline CMsgSosStopSoundEvent() : CMsgSosStopSoundEvent(nullptr) {} - ~CMsgSosStopSoundEvent() override; - explicit PROTOBUF_CONSTEXPR CMsgSosStopSoundEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSosStopSoundEvent(const CMsgSosStopSoundEvent& from); - CMsgSosStopSoundEvent(CMsgSosStopSoundEvent&& from) noexcept - : CMsgSosStopSoundEvent() { - *this = ::std::move(from); - } - - inline CMsgSosStopSoundEvent& operator=(const CMsgSosStopSoundEvent& from) { - CopyFrom(from); - return *this; - } - inline CMsgSosStopSoundEvent& operator=(CMsgSosStopSoundEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSosStopSoundEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSosStopSoundEvent* internal_default_instance() { - return reinterpret_cast( - &_CMsgSosStopSoundEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(CMsgSosStopSoundEvent& a, CMsgSosStopSoundEvent& b) { - a.Swap(&b); - } - inline void Swap(CMsgSosStopSoundEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSosStopSoundEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSosStopSoundEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSosStopSoundEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSosStopSoundEvent& from) { - CMsgSosStopSoundEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSosStopSoundEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSosStopSoundEvent"; - } - protected: - explicit CMsgSosStopSoundEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSoundeventGuidFieldNumber = 1, - }; - // optional int32 soundevent_guid = 1; - bool has_soundevent_guid() const; - private: - bool _internal_has_soundevent_guid() const; - public: - void clear_soundevent_guid(); - int32_t soundevent_guid() const; - void set_soundevent_guid(int32_t value); - private: - int32_t _internal_soundevent_guid() const; - void _internal_set_soundevent_guid(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSosStopSoundEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t soundevent_guid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gameevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSosStopSoundEventHash : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSosStopSoundEventHash) */ { - public: - inline CMsgSosStopSoundEventHash() : CMsgSosStopSoundEventHash(nullptr) {} - ~CMsgSosStopSoundEventHash() override; - explicit PROTOBUF_CONSTEXPR CMsgSosStopSoundEventHash(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSosStopSoundEventHash(const CMsgSosStopSoundEventHash& from); - CMsgSosStopSoundEventHash(CMsgSosStopSoundEventHash&& from) noexcept - : CMsgSosStopSoundEventHash() { - *this = ::std::move(from); - } - - inline CMsgSosStopSoundEventHash& operator=(const CMsgSosStopSoundEventHash& from) { - CopyFrom(from); - return *this; - } - inline CMsgSosStopSoundEventHash& operator=(CMsgSosStopSoundEventHash&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSosStopSoundEventHash& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSosStopSoundEventHash* internal_default_instance() { - return reinterpret_cast( - &_CMsgSosStopSoundEventHash_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - friend void swap(CMsgSosStopSoundEventHash& a, CMsgSosStopSoundEventHash& b) { - a.Swap(&b); - } - inline void Swap(CMsgSosStopSoundEventHash* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSosStopSoundEventHash* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSosStopSoundEventHash* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSosStopSoundEventHash& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSosStopSoundEventHash& from) { - CMsgSosStopSoundEventHash::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSosStopSoundEventHash* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSosStopSoundEventHash"; - } - protected: - explicit CMsgSosStopSoundEventHash(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSoundeventHashFieldNumber = 1, - kSourceEntityIndexFieldNumber = 2, - }; - // optional fixed32 soundevent_hash = 1; - bool has_soundevent_hash() const; - private: - bool _internal_has_soundevent_hash() const; - public: - void clear_soundevent_hash(); - uint32_t soundevent_hash() const; - void set_soundevent_hash(uint32_t value); - private: - uint32_t _internal_soundevent_hash() const; - void _internal_set_soundevent_hash(uint32_t value); - public: - - // optional int32 source_entity_index = 2 [default = -1]; - bool has_source_entity_index() const; - private: - bool _internal_has_source_entity_index() const; - public: - void clear_source_entity_index(); - int32_t source_entity_index() const; - void set_source_entity_index(int32_t value); - private: - int32_t _internal_source_entity_index() const; - void _internal_set_source_entity_index(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSosStopSoundEventHash) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t soundevent_hash_; - int32_t source_entity_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gameevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSosSetSoundEventParams : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSosSetSoundEventParams) */ { - public: - inline CMsgSosSetSoundEventParams() : CMsgSosSetSoundEventParams(nullptr) {} - ~CMsgSosSetSoundEventParams() override; - explicit PROTOBUF_CONSTEXPR CMsgSosSetSoundEventParams(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSosSetSoundEventParams(const CMsgSosSetSoundEventParams& from); - CMsgSosSetSoundEventParams(CMsgSosSetSoundEventParams&& from) noexcept - : CMsgSosSetSoundEventParams() { - *this = ::std::move(from); - } - - inline CMsgSosSetSoundEventParams& operator=(const CMsgSosSetSoundEventParams& from) { - CopyFrom(from); - return *this; - } - inline CMsgSosSetSoundEventParams& operator=(CMsgSosSetSoundEventParams&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSosSetSoundEventParams& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSosSetSoundEventParams* internal_default_instance() { - return reinterpret_cast( - &_CMsgSosSetSoundEventParams_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - friend void swap(CMsgSosSetSoundEventParams& a, CMsgSosSetSoundEventParams& b) { - a.Swap(&b); - } - inline void Swap(CMsgSosSetSoundEventParams* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSosSetSoundEventParams* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSosSetSoundEventParams* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSosSetSoundEventParams& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSosSetSoundEventParams& from) { - CMsgSosSetSoundEventParams::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSosSetSoundEventParams* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSosSetSoundEventParams"; - } - protected: - explicit CMsgSosSetSoundEventParams(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPackedParamsFieldNumber = 5, - kSoundeventGuidFieldNumber = 1, - }; - // optional bytes packed_params = 5; - bool has_packed_params() const; - private: - bool _internal_has_packed_params() const; - public: - void clear_packed_params(); - const std::string& packed_params() const; - template - void set_packed_params(ArgT0&& arg0, ArgT... args); - std::string* mutable_packed_params(); - PROTOBUF_NODISCARD std::string* release_packed_params(); - void set_allocated_packed_params(std::string* packed_params); - private: - const std::string& _internal_packed_params() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_packed_params(const std::string& value); - std::string* _internal_mutable_packed_params(); - public: - - // optional int32 soundevent_guid = 1; - bool has_soundevent_guid() const; - private: - bool _internal_has_soundevent_guid() const; - public: - void clear_soundevent_guid(); - int32_t soundevent_guid() const; - void set_soundevent_guid(int32_t value); - private: - int32_t _internal_soundevent_guid() const; - void _internal_set_soundevent_guid(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSosSetSoundEventParams) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr packed_params_; - int32_t soundevent_guid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gameevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSosSetLibraryStackFields : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSosSetLibraryStackFields) */ { - public: - inline CMsgSosSetLibraryStackFields() : CMsgSosSetLibraryStackFields(nullptr) {} - ~CMsgSosSetLibraryStackFields() override; - explicit PROTOBUF_CONSTEXPR CMsgSosSetLibraryStackFields(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSosSetLibraryStackFields(const CMsgSosSetLibraryStackFields& from); - CMsgSosSetLibraryStackFields(CMsgSosSetLibraryStackFields&& from) noexcept - : CMsgSosSetLibraryStackFields() { - *this = ::std::move(from); - } - - inline CMsgSosSetLibraryStackFields& operator=(const CMsgSosSetLibraryStackFields& from) { - CopyFrom(from); - return *this; - } - inline CMsgSosSetLibraryStackFields& operator=(CMsgSosSetLibraryStackFields&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSosSetLibraryStackFields& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSosSetLibraryStackFields* internal_default_instance() { - return reinterpret_cast( - &_CMsgSosSetLibraryStackFields_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - friend void swap(CMsgSosSetLibraryStackFields& a, CMsgSosSetLibraryStackFields& b) { - a.Swap(&b); - } - inline void Swap(CMsgSosSetLibraryStackFields* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSosSetLibraryStackFields* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSosSetLibraryStackFields* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSosSetLibraryStackFields& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSosSetLibraryStackFields& from) { - CMsgSosSetLibraryStackFields::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSosSetLibraryStackFields* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSosSetLibraryStackFields"; - } - protected: - explicit CMsgSosSetLibraryStackFields(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPackedFieldsFieldNumber = 5, - kStackHashFieldNumber = 1, - }; - // optional bytes packed_fields = 5; - bool has_packed_fields() const; - private: - bool _internal_has_packed_fields() const; - public: - void clear_packed_fields(); - const std::string& packed_fields() const; - template - void set_packed_fields(ArgT0&& arg0, ArgT... args); - std::string* mutable_packed_fields(); - PROTOBUF_NODISCARD std::string* release_packed_fields(); - void set_allocated_packed_fields(std::string* packed_fields); - private: - const std::string& _internal_packed_fields() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_packed_fields(const std::string& value); - std::string* _internal_mutable_packed_fields(); - public: - - // optional fixed32 stack_hash = 1; - bool has_stack_hash() const; - private: - bool _internal_has_stack_hash() const; - public: - void clear_stack_hash(); - uint32_t stack_hash() const; - void set_stack_hash(uint32_t value); - private: - uint32_t _internal_stack_hash() const; - void _internal_set_stack_hash(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSosSetLibraryStackFields) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr packed_fields_; - uint32_t stack_hash_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gameevents_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CMsgVDebugGameSessionIDEvent - -// optional int32 clientid = 1; -inline bool CMsgVDebugGameSessionIDEvent::_internal_has_clientid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgVDebugGameSessionIDEvent::has_clientid() const { - return _internal_has_clientid(); -} -inline void CMsgVDebugGameSessionIDEvent::clear_clientid() { - _impl_.clientid_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgVDebugGameSessionIDEvent::_internal_clientid() const { - return _impl_.clientid_; -} -inline int32_t CMsgVDebugGameSessionIDEvent::clientid() const { - // @@protoc_insertion_point(field_get:CMsgVDebugGameSessionIDEvent.clientid) - return _internal_clientid(); -} -inline void CMsgVDebugGameSessionIDEvent::_internal_set_clientid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.clientid_ = value; -} -inline void CMsgVDebugGameSessionIDEvent::set_clientid(int32_t value) { - _internal_set_clientid(value); - // @@protoc_insertion_point(field_set:CMsgVDebugGameSessionIDEvent.clientid) -} - -// optional string gamesessionid = 2; -inline bool CMsgVDebugGameSessionIDEvent::_internal_has_gamesessionid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgVDebugGameSessionIDEvent::has_gamesessionid() const { - return _internal_has_gamesessionid(); -} -inline void CMsgVDebugGameSessionIDEvent::clear_gamesessionid() { - _impl_.gamesessionid_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgVDebugGameSessionIDEvent::gamesessionid() const { - // @@protoc_insertion_point(field_get:CMsgVDebugGameSessionIDEvent.gamesessionid) - return _internal_gamesessionid(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgVDebugGameSessionIDEvent::set_gamesessionid(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.gamesessionid_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgVDebugGameSessionIDEvent.gamesessionid) -} -inline std::string* CMsgVDebugGameSessionIDEvent::mutable_gamesessionid() { - std::string* _s = _internal_mutable_gamesessionid(); - // @@protoc_insertion_point(field_mutable:CMsgVDebugGameSessionIDEvent.gamesessionid) - return _s; -} -inline const std::string& CMsgVDebugGameSessionIDEvent::_internal_gamesessionid() const { - return _impl_.gamesessionid_.Get(); -} -inline void CMsgVDebugGameSessionIDEvent::_internal_set_gamesessionid(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.gamesessionid_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgVDebugGameSessionIDEvent::_internal_mutable_gamesessionid() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.gamesessionid_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgVDebugGameSessionIDEvent::release_gamesessionid() { - // @@protoc_insertion_point(field_release:CMsgVDebugGameSessionIDEvent.gamesessionid) - if (!_internal_has_gamesessionid()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.gamesessionid_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gamesessionid_.IsDefault()) { - _impl_.gamesessionid_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgVDebugGameSessionIDEvent::set_allocated_gamesessionid(std::string* gamesessionid) { - if (gamesessionid != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.gamesessionid_.SetAllocated(gamesessionid, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gamesessionid_.IsDefault()) { - _impl_.gamesessionid_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgVDebugGameSessionIDEvent.gamesessionid) -} - -// ------------------------------------------------------------------- - -// CMsgPlaceDecalEvent - -// optional .CMsgVector position = 1; -inline bool CMsgPlaceDecalEvent::_internal_has_position() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); - return value; -} -inline bool CMsgPlaceDecalEvent::has_position() const { - return _internal_has_position(); -} -inline const ::CMsgVector& CMsgPlaceDecalEvent::_internal_position() const { - const ::CMsgVector* p = _impl_.position_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgPlaceDecalEvent::position() const { - // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.position) - return _internal_position(); -} -inline void CMsgPlaceDecalEvent::unsafe_arena_set_allocated_position( - ::CMsgVector* position) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); - } - _impl_.position_ = position; - if (position) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgPlaceDecalEvent.position) -} -inline ::CMsgVector* CMsgPlaceDecalEvent::release_position() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.position_; - _impl_.position_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgPlaceDecalEvent::unsafe_arena_release_position() { - // @@protoc_insertion_point(field_release:CMsgPlaceDecalEvent.position) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.position_; - _impl_.position_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgPlaceDecalEvent::_internal_mutable_position() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.position_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.position_ = p; - } - return _impl_.position_; -} -inline ::CMsgVector* CMsgPlaceDecalEvent::mutable_position() { - ::CMsgVector* _msg = _internal_mutable_position(); - // @@protoc_insertion_point(field_mutable:CMsgPlaceDecalEvent.position) - return _msg; -} -inline void CMsgPlaceDecalEvent::set_allocated_position(::CMsgVector* position) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); - } - if (position) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(position)); - if (message_arena != submessage_arena) { - position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, position, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.position_ = position; - // @@protoc_insertion_point(field_set_allocated:CMsgPlaceDecalEvent.position) -} - -// optional .CMsgVector normal = 2; -inline bool CMsgPlaceDecalEvent::_internal_has_normal() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.normal_ != nullptr); - return value; -} -inline bool CMsgPlaceDecalEvent::has_normal() const { - return _internal_has_normal(); -} -inline const ::CMsgVector& CMsgPlaceDecalEvent::_internal_normal() const { - const ::CMsgVector* p = _impl_.normal_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgPlaceDecalEvent::normal() const { - // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.normal) - return _internal_normal(); -} -inline void CMsgPlaceDecalEvent::unsafe_arena_set_allocated_normal( - ::CMsgVector* normal) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); - } - _impl_.normal_ = normal; - if (normal) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgPlaceDecalEvent.normal) -} -inline ::CMsgVector* CMsgPlaceDecalEvent::release_normal() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.normal_; - _impl_.normal_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgPlaceDecalEvent::unsafe_arena_release_normal() { - // @@protoc_insertion_point(field_release:CMsgPlaceDecalEvent.normal) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.normal_; - _impl_.normal_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgPlaceDecalEvent::_internal_mutable_normal() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.normal_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.normal_ = p; - } - return _impl_.normal_; -} -inline ::CMsgVector* CMsgPlaceDecalEvent::mutable_normal() { - ::CMsgVector* _msg = _internal_mutable_normal(); - // @@protoc_insertion_point(field_mutable:CMsgPlaceDecalEvent.normal) - return _msg; -} -inline void CMsgPlaceDecalEvent::set_allocated_normal(::CMsgVector* normal) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); - } - if (normal) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(normal)); - if (message_arena != submessage_arena) { - normal = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, normal, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.normal_ = normal; - // @@protoc_insertion_point(field_set_allocated:CMsgPlaceDecalEvent.normal) -} - -// optional .CMsgVector saxis = 3; -inline bool CMsgPlaceDecalEvent::_internal_has_saxis() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.saxis_ != nullptr); - return value; -} -inline bool CMsgPlaceDecalEvent::has_saxis() const { - return _internal_has_saxis(); -} -inline const ::CMsgVector& CMsgPlaceDecalEvent::_internal_saxis() const { - const ::CMsgVector* p = _impl_.saxis_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgPlaceDecalEvent::saxis() const { - // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.saxis) - return _internal_saxis(); -} -inline void CMsgPlaceDecalEvent::unsafe_arena_set_allocated_saxis( - ::CMsgVector* saxis) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.saxis_); - } - _impl_.saxis_ = saxis; - if (saxis) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgPlaceDecalEvent.saxis) -} -inline ::CMsgVector* CMsgPlaceDecalEvent::release_saxis() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.saxis_; - _impl_.saxis_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgPlaceDecalEvent::unsafe_arena_release_saxis() { - // @@protoc_insertion_point(field_release:CMsgPlaceDecalEvent.saxis) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.saxis_; - _impl_.saxis_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgPlaceDecalEvent::_internal_mutable_saxis() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.saxis_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.saxis_ = p; - } - return _impl_.saxis_; -} -inline ::CMsgVector* CMsgPlaceDecalEvent::mutable_saxis() { - ::CMsgVector* _msg = _internal_mutable_saxis(); - // @@protoc_insertion_point(field_mutable:CMsgPlaceDecalEvent.saxis) - return _msg; -} -inline void CMsgPlaceDecalEvent::set_allocated_saxis(::CMsgVector* saxis) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.saxis_); - } - if (saxis) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(saxis)); - if (message_arena != submessage_arena) { - saxis = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, saxis, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.saxis_ = saxis; - // @@protoc_insertion_point(field_set_allocated:CMsgPlaceDecalEvent.saxis) -} - -// optional int32 boneindex = 4; -inline bool CMsgPlaceDecalEvent::_internal_has_boneindex() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgPlaceDecalEvent::has_boneindex() const { - return _internal_has_boneindex(); -} -inline void CMsgPlaceDecalEvent::clear_boneindex() { - _impl_.boneindex_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CMsgPlaceDecalEvent::_internal_boneindex() const { - return _impl_.boneindex_; -} -inline int32_t CMsgPlaceDecalEvent::boneindex() const { - // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.boneindex) - return _internal_boneindex(); -} -inline void CMsgPlaceDecalEvent::_internal_set_boneindex(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.boneindex_ = value; -} -inline void CMsgPlaceDecalEvent::set_boneindex(int32_t value) { - _internal_set_boneindex(value); - // @@protoc_insertion_point(field_set:CMsgPlaceDecalEvent.boneindex) -} - -// optional uint32 flags = 5; -inline bool CMsgPlaceDecalEvent::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgPlaceDecalEvent::has_flags() const { - return _internal_has_flags(); -} -inline void CMsgPlaceDecalEvent::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgPlaceDecalEvent::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CMsgPlaceDecalEvent::flags() const { - // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.flags) - return _internal_flags(); -} -inline void CMsgPlaceDecalEvent::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.flags_ = value; -} -inline void CMsgPlaceDecalEvent::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CMsgPlaceDecalEvent.flags) -} - -// optional fixed32 color = 6; -inline bool CMsgPlaceDecalEvent::_internal_has_color() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgPlaceDecalEvent::has_color() const { - return _internal_has_color(); -} -inline void CMsgPlaceDecalEvent::clear_color() { - _impl_.color_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgPlaceDecalEvent::_internal_color() const { - return _impl_.color_; -} -inline uint32_t CMsgPlaceDecalEvent::color() const { - // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.color) - return _internal_color(); -} -inline void CMsgPlaceDecalEvent::_internal_set_color(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.color_ = value; -} -inline void CMsgPlaceDecalEvent::set_color(uint32_t value) { - _internal_set_color(value); - // @@protoc_insertion_point(field_set:CMsgPlaceDecalEvent.color) -} - -// optional int32 random_seed = 7; -inline bool CMsgPlaceDecalEvent::_internal_has_random_seed() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgPlaceDecalEvent::has_random_seed() const { - return _internal_has_random_seed(); -} -inline void CMsgPlaceDecalEvent::clear_random_seed() { - _impl_.random_seed_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CMsgPlaceDecalEvent::_internal_random_seed() const { - return _impl_.random_seed_; -} -inline int32_t CMsgPlaceDecalEvent::random_seed() const { - // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.random_seed) - return _internal_random_seed(); -} -inline void CMsgPlaceDecalEvent::_internal_set_random_seed(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.random_seed_ = value; -} -inline void CMsgPlaceDecalEvent::set_random_seed(int32_t value) { - _internal_set_random_seed(value); - // @@protoc_insertion_point(field_set:CMsgPlaceDecalEvent.random_seed) -} - -// optional uint32 decal_group_name = 8; -inline bool CMsgPlaceDecalEvent::_internal_has_decal_group_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgPlaceDecalEvent::has_decal_group_name() const { - return _internal_has_decal_group_name(); -} -inline void CMsgPlaceDecalEvent::clear_decal_group_name() { - _impl_.decal_group_name_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgPlaceDecalEvent::_internal_decal_group_name() const { - return _impl_.decal_group_name_; -} -inline uint32_t CMsgPlaceDecalEvent::decal_group_name() const { - // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.decal_group_name) - return _internal_decal_group_name(); -} -inline void CMsgPlaceDecalEvent::_internal_set_decal_group_name(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.decal_group_name_ = value; -} -inline void CMsgPlaceDecalEvent::set_decal_group_name(uint32_t value) { - _internal_set_decal_group_name(value); - // @@protoc_insertion_point(field_set:CMsgPlaceDecalEvent.decal_group_name) -} - -// optional float size_override = 9; -inline bool CMsgPlaceDecalEvent::_internal_has_size_override() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgPlaceDecalEvent::has_size_override() const { - return _internal_has_size_override(); -} -inline void CMsgPlaceDecalEvent::clear_size_override() { - _impl_.size_override_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline float CMsgPlaceDecalEvent::_internal_size_override() const { - return _impl_.size_override_; -} -inline float CMsgPlaceDecalEvent::size_override() const { - // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.size_override) - return _internal_size_override(); -} -inline void CMsgPlaceDecalEvent::_internal_set_size_override(float value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.size_override_ = value; -} -inline void CMsgPlaceDecalEvent::set_size_override(float value) { - _internal_set_size_override(value); - // @@protoc_insertion_point(field_set:CMsgPlaceDecalEvent.size_override) -} - -// optional uint32 entityhandle = 10 [default = 16777215]; -inline bool CMsgPlaceDecalEvent::_internal_has_entityhandle() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgPlaceDecalEvent::has_entityhandle() const { - return _internal_has_entityhandle(); -} -inline void CMsgPlaceDecalEvent::clear_entityhandle() { - _impl_.entityhandle_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgPlaceDecalEvent::_internal_entityhandle() const { - return _impl_.entityhandle_; -} -inline uint32_t CMsgPlaceDecalEvent::entityhandle() const { - // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.entityhandle) - return _internal_entityhandle(); -} -inline void CMsgPlaceDecalEvent::_internal_set_entityhandle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.entityhandle_ = value; -} -inline void CMsgPlaceDecalEvent::set_entityhandle(uint32_t value) { - _internal_set_entityhandle(value); - // @@protoc_insertion_point(field_set:CMsgPlaceDecalEvent.entityhandle) -} - -// optional uint64 material_id = 11; -inline bool CMsgPlaceDecalEvent::_internal_has_material_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgPlaceDecalEvent::has_material_id() const { - return _internal_has_material_id(); -} -inline void CMsgPlaceDecalEvent::clear_material_id() { - _impl_.material_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint64_t CMsgPlaceDecalEvent::_internal_material_id() const { - return _impl_.material_id_; -} -inline uint64_t CMsgPlaceDecalEvent::material_id() const { - // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.material_id) - return _internal_material_id(); -} -inline void CMsgPlaceDecalEvent::_internal_set_material_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.material_id_ = value; -} -inline void CMsgPlaceDecalEvent::set_material_id(uint64_t value) { - _internal_set_material_id(value); - // @@protoc_insertion_point(field_set:CMsgPlaceDecalEvent.material_id) -} - -// optional uint32 sequence_name = 12; -inline bool CMsgPlaceDecalEvent::_internal_has_sequence_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgPlaceDecalEvent::has_sequence_name() const { - return _internal_has_sequence_name(); -} -inline void CMsgPlaceDecalEvent::clear_sequence_name() { - _impl_.sequence_name_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgPlaceDecalEvent::_internal_sequence_name() const { - return _impl_.sequence_name_; -} -inline uint32_t CMsgPlaceDecalEvent::sequence_name() const { - // @@protoc_insertion_point(field_get:CMsgPlaceDecalEvent.sequence_name) - return _internal_sequence_name(); -} -inline void CMsgPlaceDecalEvent::_internal_set_sequence_name(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.sequence_name_ = value; -} -inline void CMsgPlaceDecalEvent::set_sequence_name(uint32_t value) { - _internal_set_sequence_name(value); - // @@protoc_insertion_point(field_set:CMsgPlaceDecalEvent.sequence_name) -} - -// ------------------------------------------------------------------- - -// CMsgClearWorldDecalsEvent - -// optional uint32 flagstoclear = 1; -inline bool CMsgClearWorldDecalsEvent::_internal_has_flagstoclear() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgClearWorldDecalsEvent::has_flagstoclear() const { - return _internal_has_flagstoclear(); -} -inline void CMsgClearWorldDecalsEvent::clear_flagstoclear() { - _impl_.flagstoclear_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgClearWorldDecalsEvent::_internal_flagstoclear() const { - return _impl_.flagstoclear_; -} -inline uint32_t CMsgClearWorldDecalsEvent::flagstoclear() const { - // @@protoc_insertion_point(field_get:CMsgClearWorldDecalsEvent.flagstoclear) - return _internal_flagstoclear(); -} -inline void CMsgClearWorldDecalsEvent::_internal_set_flagstoclear(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.flagstoclear_ = value; -} -inline void CMsgClearWorldDecalsEvent::set_flagstoclear(uint32_t value) { - _internal_set_flagstoclear(value); - // @@protoc_insertion_point(field_set:CMsgClearWorldDecalsEvent.flagstoclear) -} - -// ------------------------------------------------------------------- - -// CMsgClearEntityDecalsEvent - -// optional uint32 flagstoclear = 1; -inline bool CMsgClearEntityDecalsEvent::_internal_has_flagstoclear() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgClearEntityDecalsEvent::has_flagstoclear() const { - return _internal_has_flagstoclear(); -} -inline void CMsgClearEntityDecalsEvent::clear_flagstoclear() { - _impl_.flagstoclear_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgClearEntityDecalsEvent::_internal_flagstoclear() const { - return _impl_.flagstoclear_; -} -inline uint32_t CMsgClearEntityDecalsEvent::flagstoclear() const { - // @@protoc_insertion_point(field_get:CMsgClearEntityDecalsEvent.flagstoclear) - return _internal_flagstoclear(); -} -inline void CMsgClearEntityDecalsEvent::_internal_set_flagstoclear(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.flagstoclear_ = value; -} -inline void CMsgClearEntityDecalsEvent::set_flagstoclear(uint32_t value) { - _internal_set_flagstoclear(value); - // @@protoc_insertion_point(field_set:CMsgClearEntityDecalsEvent.flagstoclear) -} - -// ------------------------------------------------------------------- - -// CMsgClearDecalsForEntityEvent - -// optional uint32 flagstoclear = 1; -inline bool CMsgClearDecalsForEntityEvent::_internal_has_flagstoclear() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgClearDecalsForEntityEvent::has_flagstoclear() const { - return _internal_has_flagstoclear(); -} -inline void CMsgClearDecalsForEntityEvent::clear_flagstoclear() { - _impl_.flagstoclear_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgClearDecalsForEntityEvent::_internal_flagstoclear() const { - return _impl_.flagstoclear_; -} -inline uint32_t CMsgClearDecalsForEntityEvent::flagstoclear() const { - // @@protoc_insertion_point(field_get:CMsgClearDecalsForEntityEvent.flagstoclear) - return _internal_flagstoclear(); -} -inline void CMsgClearDecalsForEntityEvent::_internal_set_flagstoclear(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.flagstoclear_ = value; -} -inline void CMsgClearDecalsForEntityEvent::set_flagstoclear(uint32_t value) { - _internal_set_flagstoclear(value); - // @@protoc_insertion_point(field_set:CMsgClearDecalsForEntityEvent.flagstoclear) -} - -// optional uint32 entityhandle = 2 [default = 16777215]; -inline bool CMsgClearDecalsForEntityEvent::_internal_has_entityhandle() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgClearDecalsForEntityEvent::has_entityhandle() const { - return _internal_has_entityhandle(); -} -inline void CMsgClearDecalsForEntityEvent::clear_entityhandle() { - _impl_.entityhandle_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgClearDecalsForEntityEvent::_internal_entityhandle() const { - return _impl_.entityhandle_; -} -inline uint32_t CMsgClearDecalsForEntityEvent::entityhandle() const { - // @@protoc_insertion_point(field_get:CMsgClearDecalsForEntityEvent.entityhandle) - return _internal_entityhandle(); -} -inline void CMsgClearDecalsForEntityEvent::_internal_set_entityhandle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.entityhandle_ = value; -} -inline void CMsgClearDecalsForEntityEvent::set_entityhandle(uint32_t value) { - _internal_set_entityhandle(value); - // @@protoc_insertion_point(field_set:CMsgClearDecalsForEntityEvent.entityhandle) -} - -// ------------------------------------------------------------------- - -// CMsgSource1LegacyGameEventList_key_t - -// optional int32 type = 1; -inline bool CMsgSource1LegacyGameEventList_key_t::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSource1LegacyGameEventList_key_t::has_type() const { - return _internal_has_type(); -} -inline void CMsgSource1LegacyGameEventList_key_t::clear_type() { - _impl_.type_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgSource1LegacyGameEventList_key_t::_internal_type() const { - return _impl_.type_; -} -inline int32_t CMsgSource1LegacyGameEventList_key_t::type() const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEventList.key_t.type) - return _internal_type(); -} -inline void CMsgSource1LegacyGameEventList_key_t::_internal_set_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.type_ = value; -} -inline void CMsgSource1LegacyGameEventList_key_t::set_type(int32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEventList.key_t.type) -} - -// optional string name = 2; -inline bool CMsgSource1LegacyGameEventList_key_t::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSource1LegacyGameEventList_key_t::has_name() const { - return _internal_has_name(); -} -inline void CMsgSource1LegacyGameEventList_key_t::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSource1LegacyGameEventList_key_t::name() const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEventList.key_t.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSource1LegacyGameEventList_key_t::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEventList.key_t.name) -} -inline std::string* CMsgSource1LegacyGameEventList_key_t::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CMsgSource1LegacyGameEventList.key_t.name) - return _s; -} -inline const std::string& CMsgSource1LegacyGameEventList_key_t::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CMsgSource1LegacyGameEventList_key_t::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSource1LegacyGameEventList_key_t::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSource1LegacyGameEventList_key_t::release_name() { - // @@protoc_insertion_point(field_release:CMsgSource1LegacyGameEventList.key_t.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSource1LegacyGameEventList_key_t::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSource1LegacyGameEventList.key_t.name) -} - -// ------------------------------------------------------------------- - -// CMsgSource1LegacyGameEventList_descriptor_t - -// optional int32 eventid = 1; -inline bool CMsgSource1LegacyGameEventList_descriptor_t::_internal_has_eventid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSource1LegacyGameEventList_descriptor_t::has_eventid() const { - return _internal_has_eventid(); -} -inline void CMsgSource1LegacyGameEventList_descriptor_t::clear_eventid() { - _impl_.eventid_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgSource1LegacyGameEventList_descriptor_t::_internal_eventid() const { - return _impl_.eventid_; -} -inline int32_t CMsgSource1LegacyGameEventList_descriptor_t::eventid() const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEventList.descriptor_t.eventid) - return _internal_eventid(); -} -inline void CMsgSource1LegacyGameEventList_descriptor_t::_internal_set_eventid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.eventid_ = value; -} -inline void CMsgSource1LegacyGameEventList_descriptor_t::set_eventid(int32_t value) { - _internal_set_eventid(value); - // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEventList.descriptor_t.eventid) -} - -// optional string name = 2; -inline bool CMsgSource1LegacyGameEventList_descriptor_t::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSource1LegacyGameEventList_descriptor_t::has_name() const { - return _internal_has_name(); -} -inline void CMsgSource1LegacyGameEventList_descriptor_t::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSource1LegacyGameEventList_descriptor_t::name() const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEventList.descriptor_t.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSource1LegacyGameEventList_descriptor_t::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEventList.descriptor_t.name) -} -inline std::string* CMsgSource1LegacyGameEventList_descriptor_t::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CMsgSource1LegacyGameEventList.descriptor_t.name) - return _s; -} -inline const std::string& CMsgSource1LegacyGameEventList_descriptor_t::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CMsgSource1LegacyGameEventList_descriptor_t::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSource1LegacyGameEventList_descriptor_t::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSource1LegacyGameEventList_descriptor_t::release_name() { - // @@protoc_insertion_point(field_release:CMsgSource1LegacyGameEventList.descriptor_t.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSource1LegacyGameEventList_descriptor_t::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSource1LegacyGameEventList.descriptor_t.name) -} - -// repeated .CMsgSource1LegacyGameEventList.key_t keys = 3; -inline int CMsgSource1LegacyGameEventList_descriptor_t::_internal_keys_size() const { - return _impl_.keys_.size(); -} -inline int CMsgSource1LegacyGameEventList_descriptor_t::keys_size() const { - return _internal_keys_size(); -} -inline void CMsgSource1LegacyGameEventList_descriptor_t::clear_keys() { - _impl_.keys_.Clear(); -} -inline ::CMsgSource1LegacyGameEventList_key_t* CMsgSource1LegacyGameEventList_descriptor_t::mutable_keys(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSource1LegacyGameEventList.descriptor_t.keys) - return _impl_.keys_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_key_t >* -CMsgSource1LegacyGameEventList_descriptor_t::mutable_keys() { - // @@protoc_insertion_point(field_mutable_list:CMsgSource1LegacyGameEventList.descriptor_t.keys) - return &_impl_.keys_; -} -inline const ::CMsgSource1LegacyGameEventList_key_t& CMsgSource1LegacyGameEventList_descriptor_t::_internal_keys(int index) const { - return _impl_.keys_.Get(index); -} -inline const ::CMsgSource1LegacyGameEventList_key_t& CMsgSource1LegacyGameEventList_descriptor_t::keys(int index) const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEventList.descriptor_t.keys) - return _internal_keys(index); -} -inline ::CMsgSource1LegacyGameEventList_key_t* CMsgSource1LegacyGameEventList_descriptor_t::_internal_add_keys() { - return _impl_.keys_.Add(); -} -inline ::CMsgSource1LegacyGameEventList_key_t* CMsgSource1LegacyGameEventList_descriptor_t::add_keys() { - ::CMsgSource1LegacyGameEventList_key_t* _add = _internal_add_keys(); - // @@protoc_insertion_point(field_add:CMsgSource1LegacyGameEventList.descriptor_t.keys) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_key_t >& -CMsgSource1LegacyGameEventList_descriptor_t::keys() const { - // @@protoc_insertion_point(field_list:CMsgSource1LegacyGameEventList.descriptor_t.keys) - return _impl_.keys_; -} - -// ------------------------------------------------------------------- - -// CMsgSource1LegacyGameEventList - -// repeated .CMsgSource1LegacyGameEventList.descriptor_t descriptors = 1; -inline int CMsgSource1LegacyGameEventList::_internal_descriptors_size() const { - return _impl_.descriptors_.size(); -} -inline int CMsgSource1LegacyGameEventList::descriptors_size() const { - return _internal_descriptors_size(); -} -inline void CMsgSource1LegacyGameEventList::clear_descriptors() { - _impl_.descriptors_.Clear(); -} -inline ::CMsgSource1LegacyGameEventList_descriptor_t* CMsgSource1LegacyGameEventList::mutable_descriptors(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSource1LegacyGameEventList.descriptors) - return _impl_.descriptors_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_descriptor_t >* -CMsgSource1LegacyGameEventList::mutable_descriptors() { - // @@protoc_insertion_point(field_mutable_list:CMsgSource1LegacyGameEventList.descriptors) - return &_impl_.descriptors_; -} -inline const ::CMsgSource1LegacyGameEventList_descriptor_t& CMsgSource1LegacyGameEventList::_internal_descriptors(int index) const { - return _impl_.descriptors_.Get(index); -} -inline const ::CMsgSource1LegacyGameEventList_descriptor_t& CMsgSource1LegacyGameEventList::descriptors(int index) const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEventList.descriptors) - return _internal_descriptors(index); -} -inline ::CMsgSource1LegacyGameEventList_descriptor_t* CMsgSource1LegacyGameEventList::_internal_add_descriptors() { - return _impl_.descriptors_.Add(); -} -inline ::CMsgSource1LegacyGameEventList_descriptor_t* CMsgSource1LegacyGameEventList::add_descriptors() { - ::CMsgSource1LegacyGameEventList_descriptor_t* _add = _internal_add_descriptors(); - // @@protoc_insertion_point(field_add:CMsgSource1LegacyGameEventList.descriptors) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEventList_descriptor_t >& -CMsgSource1LegacyGameEventList::descriptors() const { - // @@protoc_insertion_point(field_list:CMsgSource1LegacyGameEventList.descriptors) - return _impl_.descriptors_; -} - -// ------------------------------------------------------------------- - -// CMsgSource1LegacyListenEvents - -// optional int32 playerslot = 1; -inline bool CMsgSource1LegacyListenEvents::_internal_has_playerslot() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSource1LegacyListenEvents::has_playerslot() const { - return _internal_has_playerslot(); -} -inline void CMsgSource1LegacyListenEvents::clear_playerslot() { - _impl_.playerslot_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CMsgSource1LegacyListenEvents::_internal_playerslot() const { - return _impl_.playerslot_; -} -inline int32_t CMsgSource1LegacyListenEvents::playerslot() const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyListenEvents.playerslot) - return _internal_playerslot(); -} -inline void CMsgSource1LegacyListenEvents::_internal_set_playerslot(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.playerslot_ = value; -} -inline void CMsgSource1LegacyListenEvents::set_playerslot(int32_t value) { - _internal_set_playerslot(value); - // @@protoc_insertion_point(field_set:CMsgSource1LegacyListenEvents.playerslot) -} - -// repeated uint32 eventarraybits = 2; -inline int CMsgSource1LegacyListenEvents::_internal_eventarraybits_size() const { - return _impl_.eventarraybits_.size(); -} -inline int CMsgSource1LegacyListenEvents::eventarraybits_size() const { - return _internal_eventarraybits_size(); -} -inline void CMsgSource1LegacyListenEvents::clear_eventarraybits() { - _impl_.eventarraybits_.Clear(); -} -inline uint32_t CMsgSource1LegacyListenEvents::_internal_eventarraybits(int index) const { - return _impl_.eventarraybits_.Get(index); -} -inline uint32_t CMsgSource1LegacyListenEvents::eventarraybits(int index) const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyListenEvents.eventarraybits) - return _internal_eventarraybits(index); -} -inline void CMsgSource1LegacyListenEvents::set_eventarraybits(int index, uint32_t value) { - _impl_.eventarraybits_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSource1LegacyListenEvents.eventarraybits) -} -inline void CMsgSource1LegacyListenEvents::_internal_add_eventarraybits(uint32_t value) { - _impl_.eventarraybits_.Add(value); -} -inline void CMsgSource1LegacyListenEvents::add_eventarraybits(uint32_t value) { - _internal_add_eventarraybits(value); - // @@protoc_insertion_point(field_add:CMsgSource1LegacyListenEvents.eventarraybits) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSource1LegacyListenEvents::_internal_eventarraybits() const { - return _impl_.eventarraybits_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSource1LegacyListenEvents::eventarraybits() const { - // @@protoc_insertion_point(field_list:CMsgSource1LegacyListenEvents.eventarraybits) - return _internal_eventarraybits(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSource1LegacyListenEvents::_internal_mutable_eventarraybits() { - return &_impl_.eventarraybits_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSource1LegacyListenEvents::mutable_eventarraybits() { - // @@protoc_insertion_point(field_mutable_list:CMsgSource1LegacyListenEvents.eventarraybits) - return _internal_mutable_eventarraybits(); -} - -// ------------------------------------------------------------------- - -// CMsgSource1LegacyGameEvent_key_t - -// optional int32 type = 1; -inline bool CMsgSource1LegacyGameEvent_key_t::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSource1LegacyGameEvent_key_t::has_type() const { - return _internal_has_type(); -} -inline void CMsgSource1LegacyGameEvent_key_t::clear_type() { - _impl_.type_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgSource1LegacyGameEvent_key_t::_internal_type() const { - return _impl_.type_; -} -inline int32_t CMsgSource1LegacyGameEvent_key_t::type() const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.key_t.type) - return _internal_type(); -} -inline void CMsgSource1LegacyGameEvent_key_t::_internal_set_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.type_ = value; -} -inline void CMsgSource1LegacyGameEvent_key_t::set_type(int32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.key_t.type) -} - -// optional string val_string = 2; -inline bool CMsgSource1LegacyGameEvent_key_t::_internal_has_val_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSource1LegacyGameEvent_key_t::has_val_string() const { - return _internal_has_val_string(); -} -inline void CMsgSource1LegacyGameEvent_key_t::clear_val_string() { - _impl_.val_string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSource1LegacyGameEvent_key_t::val_string() const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.key_t.val_string) - return _internal_val_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSource1LegacyGameEvent_key_t::set_val_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.val_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.key_t.val_string) -} -inline std::string* CMsgSource1LegacyGameEvent_key_t::mutable_val_string() { - std::string* _s = _internal_mutable_val_string(); - // @@protoc_insertion_point(field_mutable:CMsgSource1LegacyGameEvent.key_t.val_string) - return _s; -} -inline const std::string& CMsgSource1LegacyGameEvent_key_t::_internal_val_string() const { - return _impl_.val_string_.Get(); -} -inline void CMsgSource1LegacyGameEvent_key_t::_internal_set_val_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.val_string_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSource1LegacyGameEvent_key_t::_internal_mutable_val_string() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.val_string_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSource1LegacyGameEvent_key_t::release_val_string() { - // @@protoc_insertion_point(field_release:CMsgSource1LegacyGameEvent.key_t.val_string) - if (!_internal_has_val_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.val_string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.val_string_.IsDefault()) { - _impl_.val_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSource1LegacyGameEvent_key_t::set_allocated_val_string(std::string* val_string) { - if (val_string != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.val_string_.SetAllocated(val_string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.val_string_.IsDefault()) { - _impl_.val_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSource1LegacyGameEvent.key_t.val_string) -} - -// optional float val_float = 3; -inline bool CMsgSource1LegacyGameEvent_key_t::_internal_has_val_float() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSource1LegacyGameEvent_key_t::has_val_float() const { - return _internal_has_val_float(); -} -inline void CMsgSource1LegacyGameEvent_key_t::clear_val_float() { - _impl_.val_float_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CMsgSource1LegacyGameEvent_key_t::_internal_val_float() const { - return _impl_.val_float_; -} -inline float CMsgSource1LegacyGameEvent_key_t::val_float() const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.key_t.val_float) - return _internal_val_float(); -} -inline void CMsgSource1LegacyGameEvent_key_t::_internal_set_val_float(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.val_float_ = value; -} -inline void CMsgSource1LegacyGameEvent_key_t::set_val_float(float value) { - _internal_set_val_float(value); - // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.key_t.val_float) -} - -// optional int32 val_long = 4; -inline bool CMsgSource1LegacyGameEvent_key_t::_internal_has_val_long() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSource1LegacyGameEvent_key_t::has_val_long() const { - return _internal_has_val_long(); -} -inline void CMsgSource1LegacyGameEvent_key_t::clear_val_long() { - _impl_.val_long_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CMsgSource1LegacyGameEvent_key_t::_internal_val_long() const { - return _impl_.val_long_; -} -inline int32_t CMsgSource1LegacyGameEvent_key_t::val_long() const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.key_t.val_long) - return _internal_val_long(); -} -inline void CMsgSource1LegacyGameEvent_key_t::_internal_set_val_long(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.val_long_ = value; -} -inline void CMsgSource1LegacyGameEvent_key_t::set_val_long(int32_t value) { - _internal_set_val_long(value); - // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.key_t.val_long) -} - -// optional int32 val_short = 5; -inline bool CMsgSource1LegacyGameEvent_key_t::_internal_has_val_short() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSource1LegacyGameEvent_key_t::has_val_short() const { - return _internal_has_val_short(); -} -inline void CMsgSource1LegacyGameEvent_key_t::clear_val_short() { - _impl_.val_short_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CMsgSource1LegacyGameEvent_key_t::_internal_val_short() const { - return _impl_.val_short_; -} -inline int32_t CMsgSource1LegacyGameEvent_key_t::val_short() const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.key_t.val_short) - return _internal_val_short(); -} -inline void CMsgSource1LegacyGameEvent_key_t::_internal_set_val_short(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.val_short_ = value; -} -inline void CMsgSource1LegacyGameEvent_key_t::set_val_short(int32_t value) { - _internal_set_val_short(value); - // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.key_t.val_short) -} - -// optional int32 val_byte = 6; -inline bool CMsgSource1LegacyGameEvent_key_t::_internal_has_val_byte() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSource1LegacyGameEvent_key_t::has_val_byte() const { - return _internal_has_val_byte(); -} -inline void CMsgSource1LegacyGameEvent_key_t::clear_val_byte() { - _impl_.val_byte_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CMsgSource1LegacyGameEvent_key_t::_internal_val_byte() const { - return _impl_.val_byte_; -} -inline int32_t CMsgSource1LegacyGameEvent_key_t::val_byte() const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.key_t.val_byte) - return _internal_val_byte(); -} -inline void CMsgSource1LegacyGameEvent_key_t::_internal_set_val_byte(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.val_byte_ = value; -} -inline void CMsgSource1LegacyGameEvent_key_t::set_val_byte(int32_t value) { - _internal_set_val_byte(value); - // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.key_t.val_byte) -} - -// optional bool val_bool = 7; -inline bool CMsgSource1LegacyGameEvent_key_t::_internal_has_val_bool() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSource1LegacyGameEvent_key_t::has_val_bool() const { - return _internal_has_val_bool(); -} -inline void CMsgSource1LegacyGameEvent_key_t::clear_val_bool() { - _impl_.val_bool_ = false; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline bool CMsgSource1LegacyGameEvent_key_t::_internal_val_bool() const { - return _impl_.val_bool_; -} -inline bool CMsgSource1LegacyGameEvent_key_t::val_bool() const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.key_t.val_bool) - return _internal_val_bool(); -} -inline void CMsgSource1LegacyGameEvent_key_t::_internal_set_val_bool(bool value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.val_bool_ = value; -} -inline void CMsgSource1LegacyGameEvent_key_t::set_val_bool(bool value) { - _internal_set_val_bool(value); - // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.key_t.val_bool) -} - -// optional uint64 val_uint64 = 8; -inline bool CMsgSource1LegacyGameEvent_key_t::_internal_has_val_uint64() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSource1LegacyGameEvent_key_t::has_val_uint64() const { - return _internal_has_val_uint64(); -} -inline void CMsgSource1LegacyGameEvent_key_t::clear_val_uint64() { - _impl_.val_uint64_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint64_t CMsgSource1LegacyGameEvent_key_t::_internal_val_uint64() const { - return _impl_.val_uint64_; -} -inline uint64_t CMsgSource1LegacyGameEvent_key_t::val_uint64() const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.key_t.val_uint64) - return _internal_val_uint64(); -} -inline void CMsgSource1LegacyGameEvent_key_t::_internal_set_val_uint64(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.val_uint64_ = value; -} -inline void CMsgSource1LegacyGameEvent_key_t::set_val_uint64(uint64_t value) { - _internal_set_val_uint64(value); - // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.key_t.val_uint64) -} - -// ------------------------------------------------------------------- - -// CMsgSource1LegacyGameEvent - -// optional string event_name = 1; -inline bool CMsgSource1LegacyGameEvent::_internal_has_event_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSource1LegacyGameEvent::has_event_name() const { - return _internal_has_event_name(); -} -inline void CMsgSource1LegacyGameEvent::clear_event_name() { - _impl_.event_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSource1LegacyGameEvent::event_name() const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.event_name) - return _internal_event_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSource1LegacyGameEvent::set_event_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.event_name) -} -inline std::string* CMsgSource1LegacyGameEvent::mutable_event_name() { - std::string* _s = _internal_mutable_event_name(); - // @@protoc_insertion_point(field_mutable:CMsgSource1LegacyGameEvent.event_name) - return _s; -} -inline const std::string& CMsgSource1LegacyGameEvent::_internal_event_name() const { - return _impl_.event_name_.Get(); -} -inline void CMsgSource1LegacyGameEvent::_internal_set_event_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSource1LegacyGameEvent::_internal_mutable_event_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.event_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSource1LegacyGameEvent::release_event_name() { - // @@protoc_insertion_point(field_release:CMsgSource1LegacyGameEvent.event_name) - if (!_internal_has_event_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.event_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_name_.IsDefault()) { - _impl_.event_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSource1LegacyGameEvent::set_allocated_event_name(std::string* event_name) { - if (event_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.event_name_.SetAllocated(event_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_name_.IsDefault()) { - _impl_.event_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSource1LegacyGameEvent.event_name) -} - -// optional int32 eventid = 2; -inline bool CMsgSource1LegacyGameEvent::_internal_has_eventid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSource1LegacyGameEvent::has_eventid() const { - return _internal_has_eventid(); -} -inline void CMsgSource1LegacyGameEvent::clear_eventid() { - _impl_.eventid_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgSource1LegacyGameEvent::_internal_eventid() const { - return _impl_.eventid_; -} -inline int32_t CMsgSource1LegacyGameEvent::eventid() const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.eventid) - return _internal_eventid(); -} -inline void CMsgSource1LegacyGameEvent::_internal_set_eventid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.eventid_ = value; -} -inline void CMsgSource1LegacyGameEvent::set_eventid(int32_t value) { - _internal_set_eventid(value); - // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.eventid) -} - -// repeated .CMsgSource1LegacyGameEvent.key_t keys = 3; -inline int CMsgSource1LegacyGameEvent::_internal_keys_size() const { - return _impl_.keys_.size(); -} -inline int CMsgSource1LegacyGameEvent::keys_size() const { - return _internal_keys_size(); -} -inline void CMsgSource1LegacyGameEvent::clear_keys() { - _impl_.keys_.Clear(); -} -inline ::CMsgSource1LegacyGameEvent_key_t* CMsgSource1LegacyGameEvent::mutable_keys(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSource1LegacyGameEvent.keys) - return _impl_.keys_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEvent_key_t >* -CMsgSource1LegacyGameEvent::mutable_keys() { - // @@protoc_insertion_point(field_mutable_list:CMsgSource1LegacyGameEvent.keys) - return &_impl_.keys_; -} -inline const ::CMsgSource1LegacyGameEvent_key_t& CMsgSource1LegacyGameEvent::_internal_keys(int index) const { - return _impl_.keys_.Get(index); -} -inline const ::CMsgSource1LegacyGameEvent_key_t& CMsgSource1LegacyGameEvent::keys(int index) const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.keys) - return _internal_keys(index); -} -inline ::CMsgSource1LegacyGameEvent_key_t* CMsgSource1LegacyGameEvent::_internal_add_keys() { - return _impl_.keys_.Add(); -} -inline ::CMsgSource1LegacyGameEvent_key_t* CMsgSource1LegacyGameEvent::add_keys() { - ::CMsgSource1LegacyGameEvent_key_t* _add = _internal_add_keys(); - // @@protoc_insertion_point(field_add:CMsgSource1LegacyGameEvent.keys) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource1LegacyGameEvent_key_t >& -CMsgSource1LegacyGameEvent::keys() const { - // @@protoc_insertion_point(field_list:CMsgSource1LegacyGameEvent.keys) - return _impl_.keys_; -} - -// optional int32 server_tick = 4; -inline bool CMsgSource1LegacyGameEvent::_internal_has_server_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSource1LegacyGameEvent::has_server_tick() const { - return _internal_has_server_tick(); -} -inline void CMsgSource1LegacyGameEvent::clear_server_tick() { - _impl_.server_tick_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CMsgSource1LegacyGameEvent::_internal_server_tick() const { - return _impl_.server_tick_; -} -inline int32_t CMsgSource1LegacyGameEvent::server_tick() const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.server_tick) - return _internal_server_tick(); -} -inline void CMsgSource1LegacyGameEvent::_internal_set_server_tick(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.server_tick_ = value; -} -inline void CMsgSource1LegacyGameEvent::set_server_tick(int32_t value) { - _internal_set_server_tick(value); - // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.server_tick) -} - -// optional int32 passthrough = 5; -inline bool CMsgSource1LegacyGameEvent::_internal_has_passthrough() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSource1LegacyGameEvent::has_passthrough() const { - return _internal_has_passthrough(); -} -inline void CMsgSource1LegacyGameEvent::clear_passthrough() { - _impl_.passthrough_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CMsgSource1LegacyGameEvent::_internal_passthrough() const { - return _impl_.passthrough_; -} -inline int32_t CMsgSource1LegacyGameEvent::passthrough() const { - // @@protoc_insertion_point(field_get:CMsgSource1LegacyGameEvent.passthrough) - return _internal_passthrough(); -} -inline void CMsgSource1LegacyGameEvent::_internal_set_passthrough(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.passthrough_ = value; -} -inline void CMsgSource1LegacyGameEvent::set_passthrough(int32_t value) { - _internal_set_passthrough(value); - // @@protoc_insertion_point(field_set:CMsgSource1LegacyGameEvent.passthrough) -} - -// ------------------------------------------------------------------- - -// CMsgSosStartSoundEvent - -// optional int32 soundevent_guid = 1; -inline bool CMsgSosStartSoundEvent::_internal_has_soundevent_guid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSosStartSoundEvent::has_soundevent_guid() const { - return _internal_has_soundevent_guid(); -} -inline void CMsgSosStartSoundEvent::clear_soundevent_guid() { - _impl_.soundevent_guid_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgSosStartSoundEvent::_internal_soundevent_guid() const { - return _impl_.soundevent_guid_; -} -inline int32_t CMsgSosStartSoundEvent::soundevent_guid() const { - // @@protoc_insertion_point(field_get:CMsgSosStartSoundEvent.soundevent_guid) - return _internal_soundevent_guid(); -} -inline void CMsgSosStartSoundEvent::_internal_set_soundevent_guid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.soundevent_guid_ = value; -} -inline void CMsgSosStartSoundEvent::set_soundevent_guid(int32_t value) { - _internal_set_soundevent_guid(value); - // @@protoc_insertion_point(field_set:CMsgSosStartSoundEvent.soundevent_guid) -} - -// optional fixed32 soundevent_hash = 2; -inline bool CMsgSosStartSoundEvent::_internal_has_soundevent_hash() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSosStartSoundEvent::has_soundevent_hash() const { - return _internal_has_soundevent_hash(); -} -inline void CMsgSosStartSoundEvent::clear_soundevent_hash() { - _impl_.soundevent_hash_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSosStartSoundEvent::_internal_soundevent_hash() const { - return _impl_.soundevent_hash_; -} -inline uint32_t CMsgSosStartSoundEvent::soundevent_hash() const { - // @@protoc_insertion_point(field_get:CMsgSosStartSoundEvent.soundevent_hash) - return _internal_soundevent_hash(); -} -inline void CMsgSosStartSoundEvent::_internal_set_soundevent_hash(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.soundevent_hash_ = value; -} -inline void CMsgSosStartSoundEvent::set_soundevent_hash(uint32_t value) { - _internal_set_soundevent_hash(value); - // @@protoc_insertion_point(field_set:CMsgSosStartSoundEvent.soundevent_hash) -} - -// optional int32 source_entity_index = 3 [default = -1]; -inline bool CMsgSosStartSoundEvent::_internal_has_source_entity_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSosStartSoundEvent::has_source_entity_index() const { - return _internal_has_source_entity_index(); -} -inline void CMsgSosStartSoundEvent::clear_source_entity_index() { - _impl_.source_entity_index_ = -1; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CMsgSosStartSoundEvent::_internal_source_entity_index() const { - return _impl_.source_entity_index_; -} -inline int32_t CMsgSosStartSoundEvent::source_entity_index() const { - // @@protoc_insertion_point(field_get:CMsgSosStartSoundEvent.source_entity_index) - return _internal_source_entity_index(); -} -inline void CMsgSosStartSoundEvent::_internal_set_source_entity_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.source_entity_index_ = value; -} -inline void CMsgSosStartSoundEvent::set_source_entity_index(int32_t value) { - _internal_set_source_entity_index(value); - // @@protoc_insertion_point(field_set:CMsgSosStartSoundEvent.source_entity_index) -} - -// optional int32 seed = 4; -inline bool CMsgSosStartSoundEvent::_internal_has_seed() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSosStartSoundEvent::has_seed() const { - return _internal_has_seed(); -} -inline void CMsgSosStartSoundEvent::clear_seed() { - _impl_.seed_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CMsgSosStartSoundEvent::_internal_seed() const { - return _impl_.seed_; -} -inline int32_t CMsgSosStartSoundEvent::seed() const { - // @@protoc_insertion_point(field_get:CMsgSosStartSoundEvent.seed) - return _internal_seed(); -} -inline void CMsgSosStartSoundEvent::_internal_set_seed(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.seed_ = value; -} -inline void CMsgSosStartSoundEvent::set_seed(int32_t value) { - _internal_set_seed(value); - // @@protoc_insertion_point(field_set:CMsgSosStartSoundEvent.seed) -} - -// optional bytes packed_params = 5; -inline bool CMsgSosStartSoundEvent::_internal_has_packed_params() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSosStartSoundEvent::has_packed_params() const { - return _internal_has_packed_params(); -} -inline void CMsgSosStartSoundEvent::clear_packed_params() { - _impl_.packed_params_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSosStartSoundEvent::packed_params() const { - // @@protoc_insertion_point(field_get:CMsgSosStartSoundEvent.packed_params) - return _internal_packed_params(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSosStartSoundEvent::set_packed_params(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.packed_params_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSosStartSoundEvent.packed_params) -} -inline std::string* CMsgSosStartSoundEvent::mutable_packed_params() { - std::string* _s = _internal_mutable_packed_params(); - // @@protoc_insertion_point(field_mutable:CMsgSosStartSoundEvent.packed_params) - return _s; -} -inline const std::string& CMsgSosStartSoundEvent::_internal_packed_params() const { - return _impl_.packed_params_.Get(); -} -inline void CMsgSosStartSoundEvent::_internal_set_packed_params(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.packed_params_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSosStartSoundEvent::_internal_mutable_packed_params() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.packed_params_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSosStartSoundEvent::release_packed_params() { - // @@protoc_insertion_point(field_release:CMsgSosStartSoundEvent.packed_params) - if (!_internal_has_packed_params()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.packed_params_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.packed_params_.IsDefault()) { - _impl_.packed_params_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSosStartSoundEvent::set_allocated_packed_params(std::string* packed_params) { - if (packed_params != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.packed_params_.SetAllocated(packed_params, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.packed_params_.IsDefault()) { - _impl_.packed_params_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSosStartSoundEvent.packed_params) -} - -// optional float start_time = 6; -inline bool CMsgSosStartSoundEvent::_internal_has_start_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSosStartSoundEvent::has_start_time() const { - return _internal_has_start_time(); -} -inline void CMsgSosStartSoundEvent::clear_start_time() { - _impl_.start_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float CMsgSosStartSoundEvent::_internal_start_time() const { - return _impl_.start_time_; -} -inline float CMsgSosStartSoundEvent::start_time() const { - // @@protoc_insertion_point(field_get:CMsgSosStartSoundEvent.start_time) - return _internal_start_time(); -} -inline void CMsgSosStartSoundEvent::_internal_set_start_time(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.start_time_ = value; -} -inline void CMsgSosStartSoundEvent::set_start_time(float value) { - _internal_set_start_time(value); - // @@protoc_insertion_point(field_set:CMsgSosStartSoundEvent.start_time) -} - -// ------------------------------------------------------------------- - -// CMsgSosStopSoundEvent - -// optional int32 soundevent_guid = 1; -inline bool CMsgSosStopSoundEvent::_internal_has_soundevent_guid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSosStopSoundEvent::has_soundevent_guid() const { - return _internal_has_soundevent_guid(); -} -inline void CMsgSosStopSoundEvent::clear_soundevent_guid() { - _impl_.soundevent_guid_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CMsgSosStopSoundEvent::_internal_soundevent_guid() const { - return _impl_.soundevent_guid_; -} -inline int32_t CMsgSosStopSoundEvent::soundevent_guid() const { - // @@protoc_insertion_point(field_get:CMsgSosStopSoundEvent.soundevent_guid) - return _internal_soundevent_guid(); -} -inline void CMsgSosStopSoundEvent::_internal_set_soundevent_guid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.soundevent_guid_ = value; -} -inline void CMsgSosStopSoundEvent::set_soundevent_guid(int32_t value) { - _internal_set_soundevent_guid(value); - // @@protoc_insertion_point(field_set:CMsgSosStopSoundEvent.soundevent_guid) -} - -// ------------------------------------------------------------------- - -// CMsgSosStopSoundEventHash - -// optional fixed32 soundevent_hash = 1; -inline bool CMsgSosStopSoundEventHash::_internal_has_soundevent_hash() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSosStopSoundEventHash::has_soundevent_hash() const { - return _internal_has_soundevent_hash(); -} -inline void CMsgSosStopSoundEventHash::clear_soundevent_hash() { - _impl_.soundevent_hash_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSosStopSoundEventHash::_internal_soundevent_hash() const { - return _impl_.soundevent_hash_; -} -inline uint32_t CMsgSosStopSoundEventHash::soundevent_hash() const { - // @@protoc_insertion_point(field_get:CMsgSosStopSoundEventHash.soundevent_hash) - return _internal_soundevent_hash(); -} -inline void CMsgSosStopSoundEventHash::_internal_set_soundevent_hash(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.soundevent_hash_ = value; -} -inline void CMsgSosStopSoundEventHash::set_soundevent_hash(uint32_t value) { - _internal_set_soundevent_hash(value); - // @@protoc_insertion_point(field_set:CMsgSosStopSoundEventHash.soundevent_hash) -} - -// optional int32 source_entity_index = 2 [default = -1]; -inline bool CMsgSosStopSoundEventHash::_internal_has_source_entity_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSosStopSoundEventHash::has_source_entity_index() const { - return _internal_has_source_entity_index(); -} -inline void CMsgSosStopSoundEventHash::clear_source_entity_index() { - _impl_.source_entity_index_ = -1; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgSosStopSoundEventHash::_internal_source_entity_index() const { - return _impl_.source_entity_index_; -} -inline int32_t CMsgSosStopSoundEventHash::source_entity_index() const { - // @@protoc_insertion_point(field_get:CMsgSosStopSoundEventHash.source_entity_index) - return _internal_source_entity_index(); -} -inline void CMsgSosStopSoundEventHash::_internal_set_source_entity_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.source_entity_index_ = value; -} -inline void CMsgSosStopSoundEventHash::set_source_entity_index(int32_t value) { - _internal_set_source_entity_index(value); - // @@protoc_insertion_point(field_set:CMsgSosStopSoundEventHash.source_entity_index) -} - -// ------------------------------------------------------------------- - -// CMsgSosSetSoundEventParams - -// optional int32 soundevent_guid = 1; -inline bool CMsgSosSetSoundEventParams::_internal_has_soundevent_guid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSosSetSoundEventParams::has_soundevent_guid() const { - return _internal_has_soundevent_guid(); -} -inline void CMsgSosSetSoundEventParams::clear_soundevent_guid() { - _impl_.soundevent_guid_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgSosSetSoundEventParams::_internal_soundevent_guid() const { - return _impl_.soundevent_guid_; -} -inline int32_t CMsgSosSetSoundEventParams::soundevent_guid() const { - // @@protoc_insertion_point(field_get:CMsgSosSetSoundEventParams.soundevent_guid) - return _internal_soundevent_guid(); -} -inline void CMsgSosSetSoundEventParams::_internal_set_soundevent_guid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.soundevent_guid_ = value; -} -inline void CMsgSosSetSoundEventParams::set_soundevent_guid(int32_t value) { - _internal_set_soundevent_guid(value); - // @@protoc_insertion_point(field_set:CMsgSosSetSoundEventParams.soundevent_guid) -} - -// optional bytes packed_params = 5; -inline bool CMsgSosSetSoundEventParams::_internal_has_packed_params() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSosSetSoundEventParams::has_packed_params() const { - return _internal_has_packed_params(); -} -inline void CMsgSosSetSoundEventParams::clear_packed_params() { - _impl_.packed_params_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSosSetSoundEventParams::packed_params() const { - // @@protoc_insertion_point(field_get:CMsgSosSetSoundEventParams.packed_params) - return _internal_packed_params(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSosSetSoundEventParams::set_packed_params(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.packed_params_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSosSetSoundEventParams.packed_params) -} -inline std::string* CMsgSosSetSoundEventParams::mutable_packed_params() { - std::string* _s = _internal_mutable_packed_params(); - // @@protoc_insertion_point(field_mutable:CMsgSosSetSoundEventParams.packed_params) - return _s; -} -inline const std::string& CMsgSosSetSoundEventParams::_internal_packed_params() const { - return _impl_.packed_params_.Get(); -} -inline void CMsgSosSetSoundEventParams::_internal_set_packed_params(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.packed_params_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSosSetSoundEventParams::_internal_mutable_packed_params() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.packed_params_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSosSetSoundEventParams::release_packed_params() { - // @@protoc_insertion_point(field_release:CMsgSosSetSoundEventParams.packed_params) - if (!_internal_has_packed_params()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.packed_params_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.packed_params_.IsDefault()) { - _impl_.packed_params_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSosSetSoundEventParams::set_allocated_packed_params(std::string* packed_params) { - if (packed_params != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.packed_params_.SetAllocated(packed_params, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.packed_params_.IsDefault()) { - _impl_.packed_params_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSosSetSoundEventParams.packed_params) -} - -// ------------------------------------------------------------------- - -// CMsgSosSetLibraryStackFields - -// optional fixed32 stack_hash = 1; -inline bool CMsgSosSetLibraryStackFields::_internal_has_stack_hash() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSosSetLibraryStackFields::has_stack_hash() const { - return _internal_has_stack_hash(); -} -inline void CMsgSosSetLibraryStackFields::clear_stack_hash() { - _impl_.stack_hash_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSosSetLibraryStackFields::_internal_stack_hash() const { - return _impl_.stack_hash_; -} -inline uint32_t CMsgSosSetLibraryStackFields::stack_hash() const { - // @@protoc_insertion_point(field_get:CMsgSosSetLibraryStackFields.stack_hash) - return _internal_stack_hash(); -} -inline void CMsgSosSetLibraryStackFields::_internal_set_stack_hash(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.stack_hash_ = value; -} -inline void CMsgSosSetLibraryStackFields::set_stack_hash(uint32_t value) { - _internal_set_stack_hash(value); - // @@protoc_insertion_point(field_set:CMsgSosSetLibraryStackFields.stack_hash) -} - -// optional bytes packed_fields = 5; -inline bool CMsgSosSetLibraryStackFields::_internal_has_packed_fields() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSosSetLibraryStackFields::has_packed_fields() const { - return _internal_has_packed_fields(); -} -inline void CMsgSosSetLibraryStackFields::clear_packed_fields() { - _impl_.packed_fields_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSosSetLibraryStackFields::packed_fields() const { - // @@protoc_insertion_point(field_get:CMsgSosSetLibraryStackFields.packed_fields) - return _internal_packed_fields(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSosSetLibraryStackFields::set_packed_fields(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.packed_fields_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSosSetLibraryStackFields.packed_fields) -} -inline std::string* CMsgSosSetLibraryStackFields::mutable_packed_fields() { - std::string* _s = _internal_mutable_packed_fields(); - // @@protoc_insertion_point(field_mutable:CMsgSosSetLibraryStackFields.packed_fields) - return _s; -} -inline const std::string& CMsgSosSetLibraryStackFields::_internal_packed_fields() const { - return _impl_.packed_fields_.Get(); -} -inline void CMsgSosSetLibraryStackFields::_internal_set_packed_fields(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.packed_fields_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSosSetLibraryStackFields::_internal_mutable_packed_fields() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.packed_fields_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSosSetLibraryStackFields::release_packed_fields() { - // @@protoc_insertion_point(field_release:CMsgSosSetLibraryStackFields.packed_fields) - if (!_internal_has_packed_fields()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.packed_fields_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.packed_fields_.IsDefault()) { - _impl_.packed_fields_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSosSetLibraryStackFields::set_allocated_packed_fields(std::string* packed_fields) { - if (packed_fields != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.packed_fields_.SetAllocated(packed_fields, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.packed_fields_.IsDefault()) { - _impl_.packed_fields_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSosSetLibraryStackFields.packed_fields) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::EBaseGameEvents> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EBaseGameEvents>() { - return ::EBaseGameEvents_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_gameevents_2eproto diff --git a/protobuf/generated/gcsdk_gcmessages.pb.cc b/protobuf/generated/gcsdk_gcmessages.pb.cc deleted file mode 100644 index 679565ffb..000000000 --- a/protobuf/generated/gcsdk_gcmessages.pb.cc +++ /dev/null @@ -1,15426 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: gcsdk_gcmessages.proto - -#include "gcsdk_gcmessages.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CMsgSOIDOwner::CMsgSOIDOwner( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.id_)*/uint64_t{0u} - , /*decltype(_impl_.type_)*/0u} {} -struct CMsgSOIDOwnerDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSOIDOwnerDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSOIDOwnerDefaultTypeInternal() {} - union { - CMsgSOIDOwner _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOIDOwnerDefaultTypeInternal _CMsgSOIDOwner_default_instance_; -PROTOBUF_CONSTEXPR CMsgSOSingleObject::CMsgSOSingleObject( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.object_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.owner_soid_)*/nullptr - , /*decltype(_impl_.version_)*/uint64_t{0u} - , /*decltype(_impl_.type_id_)*/0} {} -struct CMsgSOSingleObjectDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSOSingleObjectDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSOSingleObjectDefaultTypeInternal() {} - union { - CMsgSOSingleObject _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOSingleObjectDefaultTypeInternal _CMsgSOSingleObject_default_instance_; -PROTOBUF_CONSTEXPR CMsgSOMultipleObjects_SingleObject::CMsgSOMultipleObjects_SingleObject( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.object_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.type_id_)*/0} {} -struct CMsgSOMultipleObjects_SingleObjectDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSOMultipleObjects_SingleObjectDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSOMultipleObjects_SingleObjectDefaultTypeInternal() {} - union { - CMsgSOMultipleObjects_SingleObject _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOMultipleObjects_SingleObjectDefaultTypeInternal _CMsgSOMultipleObjects_SingleObject_default_instance_; -PROTOBUF_CONSTEXPR CMsgSOMultipleObjects::CMsgSOMultipleObjects( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.objects_modified_)*/{} - , /*decltype(_impl_.owner_soid_)*/nullptr - , /*decltype(_impl_.version_)*/uint64_t{0u}} {} -struct CMsgSOMultipleObjectsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSOMultipleObjectsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSOMultipleObjectsDefaultTypeInternal() {} - union { - CMsgSOMultipleObjects _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOMultipleObjectsDefaultTypeInternal _CMsgSOMultipleObjects_default_instance_; -PROTOBUF_CONSTEXPR CMsgSOCacheSubscribed_SubscribedType::CMsgSOCacheSubscribed_SubscribedType( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.object_data_)*/{} - , /*decltype(_impl_.type_id_)*/0} {} -struct CMsgSOCacheSubscribed_SubscribedTypeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSOCacheSubscribed_SubscribedTypeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSOCacheSubscribed_SubscribedTypeDefaultTypeInternal() {} - union { - CMsgSOCacheSubscribed_SubscribedType _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOCacheSubscribed_SubscribedTypeDefaultTypeInternal _CMsgSOCacheSubscribed_SubscribedType_default_instance_; -PROTOBUF_CONSTEXPR CMsgSOCacheSubscribed::CMsgSOCacheSubscribed( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.objects_)*/{} - , /*decltype(_impl_.owner_soid_)*/nullptr - , /*decltype(_impl_.version_)*/uint64_t{0u}} {} -struct CMsgSOCacheSubscribedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSOCacheSubscribedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSOCacheSubscribedDefaultTypeInternal() {} - union { - CMsgSOCacheSubscribed _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOCacheSubscribedDefaultTypeInternal _CMsgSOCacheSubscribed_default_instance_; -PROTOBUF_CONSTEXPR CMsgSOCacheUnsubscribed::CMsgSOCacheUnsubscribed( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.owner_soid_)*/nullptr} {} -struct CMsgSOCacheUnsubscribedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSOCacheUnsubscribedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSOCacheUnsubscribedDefaultTypeInternal() {} - union { - CMsgSOCacheUnsubscribed _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOCacheUnsubscribedDefaultTypeInternal _CMsgSOCacheUnsubscribed_default_instance_; -PROTOBUF_CONSTEXPR CMsgSOCacheSubscriptionCheck::CMsgSOCacheSubscriptionCheck( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.owner_soid_)*/nullptr - , /*decltype(_impl_.version_)*/uint64_t{0u}} {} -struct CMsgSOCacheSubscriptionCheckDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSOCacheSubscriptionCheckDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSOCacheSubscriptionCheckDefaultTypeInternal() {} - union { - CMsgSOCacheSubscriptionCheck _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOCacheSubscriptionCheckDefaultTypeInternal _CMsgSOCacheSubscriptionCheck_default_instance_; -PROTOBUF_CONSTEXPR CMsgSOCacheSubscriptionRefresh::CMsgSOCacheSubscriptionRefresh( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.owner_soid_)*/nullptr} {} -struct CMsgSOCacheSubscriptionRefreshDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSOCacheSubscriptionRefreshDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSOCacheSubscriptionRefreshDefaultTypeInternal() {} - union { - CMsgSOCacheSubscriptionRefresh _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOCacheSubscriptionRefreshDefaultTypeInternal _CMsgSOCacheSubscriptionRefresh_default_instance_; -PROTOBUF_CONSTEXPR CMsgSOCacheVersion::CMsgSOCacheVersion( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.version_)*/uint64_t{0u}} {} -struct CMsgSOCacheVersionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSOCacheVersionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSOCacheVersionDefaultTypeInternal() {} - union { - CMsgSOCacheVersion _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOCacheVersionDefaultTypeInternal _CMsgSOCacheVersion_default_instance_; -PROTOBUF_CONSTEXPR CMsgAccountDetails::CMsgAccountDetails( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.account_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.valid_)*/false - , /*decltype(_impl_.public_profile_)*/false - , /*decltype(_impl_.public_inventory_)*/false - , /*decltype(_impl_.vac_banned_)*/false - , /*decltype(_impl_.cyber_cafe_)*/false - , /*decltype(_impl_.school_account_)*/false - , /*decltype(_impl_.free_trial_account_)*/false - , /*decltype(_impl_.subscribed_)*/false - , /*decltype(_impl_.low_violence_)*/false - , /*decltype(_impl_.limited_)*/false - , /*decltype(_impl_.trusted_)*/false - , /*decltype(_impl_.account_locked_)*/false - , /*decltype(_impl_.package_)*/0u - , /*decltype(_impl_.time_cached_)*/0u - , /*decltype(_impl_.community_banned_)*/false - , /*decltype(_impl_.trade_banned_)*/false - , /*decltype(_impl_.eligible_for_community_market_)*/false} {} -struct CMsgAccountDetailsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgAccountDetailsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgAccountDetailsDefaultTypeInternal() {} - union { - CMsgAccountDetails _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgAccountDetailsDefaultTypeInternal _CMsgAccountDetails_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCMultiplexMessage::CMsgGCMultiplexMessage( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.steamids_)*/{} - , /*decltype(_impl_.payload_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.msgtype_)*/0u - , /*decltype(_impl_.replytogc_)*/false} {} -struct CMsgGCMultiplexMessageDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCMultiplexMessageDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCMultiplexMessageDefaultTypeInternal() {} - union { - CMsgGCMultiplexMessage _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCMultiplexMessageDefaultTypeInternal _CMsgGCMultiplexMessage_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCMultiplexMessage_Response::CMsgGCMultiplexMessage_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.msgtype_)*/0u} {} -struct CMsgGCMultiplexMessage_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCMultiplexMessage_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCMultiplexMessage_ResponseDefaultTypeInternal() {} - union { - CMsgGCMultiplexMessage_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCMultiplexMessage_ResponseDefaultTypeInternal _CMsgGCMultiplexMessage_Response_default_instance_; -PROTOBUF_CONSTEXPR CGCToGCMsgMasterAck::CGCToGCMsgMasterAck( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.dir_index_)*/0u - , /*decltype(_impl_.gc_type_)*/0u} {} -struct CGCToGCMsgMasterAckDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGCToGCMsgMasterAckDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGCToGCMsgMasterAckDefaultTypeInternal() {} - union { - CGCToGCMsgMasterAck _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGCToGCMsgMasterAckDefaultTypeInternal _CGCToGCMsgMasterAck_default_instance_; -PROTOBUF_CONSTEXPR CGCToGCMsgMasterAck_Response::CGCToGCMsgMasterAck_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.eresult_)*/2} {} -struct CGCToGCMsgMasterAck_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGCToGCMsgMasterAck_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGCToGCMsgMasterAck_ResponseDefaultTypeInternal() {} - union { - CGCToGCMsgMasterAck_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGCToGCMsgMasterAck_ResponseDefaultTypeInternal _CGCToGCMsgMasterAck_Response_default_instance_; -PROTOBUF_CONSTEXPR CGCToGCMsgMasterStartupComplete::CGCToGCMsgMasterStartupComplete( - ::_pbi::ConstantInitialized) {} -struct CGCToGCMsgMasterStartupCompleteDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGCToGCMsgMasterStartupCompleteDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGCToGCMsgMasterStartupCompleteDefaultTypeInternal() {} - union { - CGCToGCMsgMasterStartupComplete _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGCToGCMsgMasterStartupCompleteDefaultTypeInternal _CGCToGCMsgMasterStartupComplete_default_instance_; -PROTOBUF_CONSTEXPR CGCToGCMsgRouted::CGCToGCMsgRouted( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.net_message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.sender_id_)*/uint64_t{0u} - , /*decltype(_impl_.msg_type_)*/0u - , /*decltype(_impl_.ip_)*/0u} {} -struct CGCToGCMsgRoutedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGCToGCMsgRoutedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGCToGCMsgRoutedDefaultTypeInternal() {} - union { - CGCToGCMsgRouted _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGCToGCMsgRoutedDefaultTypeInternal _CGCToGCMsgRouted_default_instance_; -PROTOBUF_CONSTEXPR CGCToGCMsgRoutedReply::CGCToGCMsgRoutedReply( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.net_message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.msg_type_)*/0u} {} -struct CGCToGCMsgRoutedReplyDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGCToGCMsgRoutedReplyDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGCToGCMsgRoutedReplyDefaultTypeInternal() {} - union { - CGCToGCMsgRoutedReply _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGCToGCMsgRoutedReplyDefaultTypeInternal _CGCToGCMsgRoutedReply_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCUpdateSessionIP::CMsgGCUpdateSessionIP( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.ip_)*/0u} {} -struct CMsgGCUpdateSessionIPDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCUpdateSessionIPDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCUpdateSessionIPDefaultTypeInternal() {} - union { - CMsgGCUpdateSessionIP _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCUpdateSessionIPDefaultTypeInternal _CMsgGCUpdateSessionIP_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCRequestSessionIP::CMsgGCRequestSessionIP( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.steamid_)*/uint64_t{0u}} {} -struct CMsgGCRequestSessionIPDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCRequestSessionIPDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCRequestSessionIPDefaultTypeInternal() {} - union { - CMsgGCRequestSessionIP _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCRequestSessionIPDefaultTypeInternal _CMsgGCRequestSessionIP_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCRequestSessionIPResponse::CMsgGCRequestSessionIPResponse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ip_)*/0u} {} -struct CMsgGCRequestSessionIPResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCRequestSessionIPResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCRequestSessionIPResponseDefaultTypeInternal() {} - union { - CMsgGCRequestSessionIPResponse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCRequestSessionIPResponseDefaultTypeInternal _CMsgGCRequestSessionIPResponse_default_instance_; -PROTOBUF_CONSTEXPR CMsgSOCacheHaveVersion::CMsgSOCacheHaveVersion( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.soid_)*/nullptr - , /*decltype(_impl_.version_)*/uint64_t{0u}} {} -struct CMsgSOCacheHaveVersionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSOCacheHaveVersionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSOCacheHaveVersionDefaultTypeInternal() {} - union { - CMsgSOCacheHaveVersion _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSOCacheHaveVersionDefaultTypeInternal _CMsgSOCacheHaveVersion_default_instance_; -PROTOBUF_CONSTEXPR CMsgClientHello::CMsgClientHello( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.socache_have_versions_)*/{} - , /*decltype(_impl_.version_)*/0u - , /*decltype(_impl_.client_session_need_)*/0u - , /*decltype(_impl_.client_launcher_)*/0u - , /*decltype(_impl_.partner_srcid_)*/0u - , /*decltype(_impl_.partner_accountid_)*/0u - , /*decltype(_impl_.partner_accountflags_)*/0u - , /*decltype(_impl_.partner_accountbalance_)*/0u - , /*decltype(_impl_.steam_launcher_)*/0u} {} -struct CMsgClientHelloDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgClientHelloDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgClientHelloDefaultTypeInternal() {} - union { - CMsgClientHello _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgClientHelloDefaultTypeInternal _CMsgClientHello_default_instance_; -PROTOBUF_CONSTEXPR CMsgServerHello::CMsgServerHello( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.socache_have_versions_)*/{} - , /*decltype(_impl_.legacy_steamdatagram_routing_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.steamdatagram_login_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.version_)*/0u - , /*decltype(_impl_.legacy_client_session_need_)*/0u - , /*decltype(_impl_.client_launcher_)*/0u - , /*decltype(_impl_.required_internal_addr_)*/0u - , /*decltype(_impl_.socache_control_)*/0u} {} -struct CMsgServerHelloDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgServerHelloDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgServerHelloDefaultTypeInternal() {} - union { - CMsgServerHello _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgServerHelloDefaultTypeInternal _CMsgServerHello_default_instance_; -PROTOBUF_CONSTEXPR CMsgClientWelcome_Location::CMsgClientWelcome_Location( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.country_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.latitude_)*/0 - , /*decltype(_impl_.longitude_)*/0} {} -struct CMsgClientWelcome_LocationDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgClientWelcome_LocationDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgClientWelcome_LocationDefaultTypeInternal() {} - union { - CMsgClientWelcome_Location _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgClientWelcome_LocationDefaultTypeInternal _CMsgClientWelcome_Location_default_instance_; -PROTOBUF_CONSTEXPR CMsgClientWelcome::CMsgClientWelcome( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.outofdate_subscribed_caches_)*/{} - , /*decltype(_impl_.uptodate_subscribed_caches_)*/{} - , /*decltype(_impl_.game_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.game_data2_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.balance_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.txn_country_code_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.location_)*/nullptr - , /*decltype(_impl_.version_)*/0u - , /*decltype(_impl_.rtime32_gc_welcome_timestamp_)*/0u - , /*decltype(_impl_.currency_)*/0u - , /*decltype(_impl_.balance_)*/0u} {} -struct CMsgClientWelcomeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgClientWelcomeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgClientWelcomeDefaultTypeInternal() {} - union { - CMsgClientWelcome _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgClientWelcomeDefaultTypeInternal _CMsgClientWelcome_default_instance_; -PROTOBUF_CONSTEXPR CMsgConnectionStatus::CMsgConnectionStatus( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.status_)*/0 - , /*decltype(_impl_.client_session_need_)*/0u - , /*decltype(_impl_.queue_position_)*/0 - , /*decltype(_impl_.queue_size_)*/0 - , /*decltype(_impl_.wait_seconds_)*/0 - , /*decltype(_impl_.estimated_wait_seconds_remaining_)*/0} {} -struct CMsgConnectionStatusDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgConnectionStatusDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgConnectionStatusDefaultTypeInternal() {} - union { - CMsgConnectionStatus _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgConnectionStatusDefaultTypeInternal _CMsgConnectionStatus_default_instance_; -PROTOBUF_CONSTEXPR CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.item_description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.gameitemid_)*/0u - , /*decltype(_impl_.one_per_account_)*/false} {} -struct CWorkshop_PopulateItemDescriptions_Request_SingleItemDescriptionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CWorkshop_PopulateItemDescriptions_Request_SingleItemDescriptionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CWorkshop_PopulateItemDescriptions_Request_SingleItemDescriptionDefaultTypeInternal() {} - union { - CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_PopulateItemDescriptions_Request_SingleItemDescriptionDefaultTypeInternal _CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription_default_instance_; -PROTOBUF_CONSTEXPR CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.descriptions_)*/{} - , /*decltype(_impl_.language_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlockDefaultTypeInternal { - PROTOBUF_CONSTEXPR CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlockDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlockDefaultTypeInternal() {} - union { - CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlockDefaultTypeInternal _CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock_default_instance_; -PROTOBUF_CONSTEXPR CWorkshop_PopulateItemDescriptions_Request::CWorkshop_PopulateItemDescriptions_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.languages_)*/{} - , /*decltype(_impl_.appid_)*/0u} {} -struct CWorkshop_PopulateItemDescriptions_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CWorkshop_PopulateItemDescriptions_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CWorkshop_PopulateItemDescriptions_RequestDefaultTypeInternal() {} - union { - CWorkshop_PopulateItemDescriptions_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_PopulateItemDescriptions_RequestDefaultTypeInternal _CWorkshop_PopulateItemDescriptions_Request_default_instance_; -PROTOBUF_CONSTEXPR CWorkshop_GetContributors_Request::CWorkshop_GetContributors_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.gameitemid_)*/0u} {} -struct CWorkshop_GetContributors_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CWorkshop_GetContributors_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CWorkshop_GetContributors_RequestDefaultTypeInternal() {} - union { - CWorkshop_GetContributors_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_GetContributors_RequestDefaultTypeInternal _CWorkshop_GetContributors_Request_default_instance_; -PROTOBUF_CONSTEXPR CWorkshop_GetContributors_Response::CWorkshop_GetContributors_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.contributors_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CWorkshop_GetContributors_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CWorkshop_GetContributors_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CWorkshop_GetContributors_ResponseDefaultTypeInternal() {} - union { - CWorkshop_GetContributors_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_GetContributors_ResponseDefaultTypeInternal _CWorkshop_GetContributors_Response_default_instance_; -PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.rule_description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.workshop_file_id_)*/uint64_t{0u} - , /*decltype(_impl_.revenue_percentage_)*/0 - , /*decltype(_impl_.rule_type_)*/1u} {} -struct CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRuleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRuleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRuleDefaultTypeInternal() {} - union { - CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRuleDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule_default_instance_; -PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.rule_description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.workshop_file_id_)*/uint64_t{0u}} {} -struct CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRuleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRuleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRuleDefaultTypeInternal() {} - union { - CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRuleDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule_default_instance_; -PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.rule_description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.account_id_)*/0u - , /*decltype(_impl_.revenue_percentage_)*/0} {} -struct CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRuleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRuleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRuleDefaultTypeInternal() {} - union { - CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRuleDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule_default_instance_; -PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request::CWorkshop_SetItemPaymentRules_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.associated_workshop_files_)*/{} - , /*decltype(_impl_.partner_accounts_)*/{} - , /*decltype(_impl_.associated_workshop_file_for_direct_payments_)*/nullptr - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.gameitemid_)*/0u - , /*decltype(_impl_.validate_only_)*/false - , /*decltype(_impl_.make_workshop_files_subscribable_)*/false} {} -struct CWorkshop_SetItemPaymentRules_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CWorkshop_SetItemPaymentRules_RequestDefaultTypeInternal() {} - union { - CWorkshop_SetItemPaymentRules_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_SetItemPaymentRules_RequestDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Request_default_instance_; -PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Response::CWorkshop_SetItemPaymentRules_Response( - ::_pbi::ConstantInitialized) {} -struct CWorkshop_SetItemPaymentRules_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CWorkshop_SetItemPaymentRules_ResponseDefaultTypeInternal() {} - union { - CWorkshop_SetItemPaymentRules_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_SetItemPaymentRules_ResponseDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Response_default_instance_; -PROTOBUF_CONSTEXPR CGameServers_AggregationQuery_Request::CGameServers_AggregationQuery_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.group_fields_)*/{} - , /*decltype(_impl_.filter_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CGameServers_AggregationQuery_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGameServers_AggregationQuery_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGameServers_AggregationQuery_RequestDefaultTypeInternal() {} - union { - CGameServers_AggregationQuery_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameServers_AggregationQuery_RequestDefaultTypeInternal _CGameServers_AggregationQuery_Request_default_instance_; -PROTOBUF_CONSTEXPR CGameServers_AggregationQuery_Response_Group::CGameServers_AggregationQuery_Response_Group( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.group_values_)*/{} - , /*decltype(_impl_.servers_empty_)*/0u - , /*decltype(_impl_.servers_full_)*/0u - , /*decltype(_impl_.servers_total_)*/0u - , /*decltype(_impl_.players_humans_)*/0u - , /*decltype(_impl_.players_bots_)*/0u - , /*decltype(_impl_.player_capacity_)*/0u} {} -struct CGameServers_AggregationQuery_Response_GroupDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGameServers_AggregationQuery_Response_GroupDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGameServers_AggregationQuery_Response_GroupDefaultTypeInternal() {} - union { - CGameServers_AggregationQuery_Response_Group _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameServers_AggregationQuery_Response_GroupDefaultTypeInternal _CGameServers_AggregationQuery_Response_Group_default_instance_; -PROTOBUF_CONSTEXPR CGameServers_AggregationQuery_Response::CGameServers_AggregationQuery_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.groups_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CGameServers_AggregationQuery_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGameServers_AggregationQuery_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGameServers_AggregationQuery_ResponseDefaultTypeInternal() {} - union { - CGameServers_AggregationQuery_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameServers_AggregationQuery_ResponseDefaultTypeInternal _CGameServers_AggregationQuery_Response_default_instance_; -PROTOBUF_CONSTEXPR CWorkshop_AddSpecialPayment_Request::CWorkshop_AddSpecialPayment_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.date_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.gameitemid_)*/0u - , /*decltype(_impl_.payment_us_usd_)*/uint64_t{0u} - , /*decltype(_impl_.payment_row_usd_)*/uint64_t{0u}} {} -struct CWorkshop_AddSpecialPayment_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CWorkshop_AddSpecialPayment_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CWorkshop_AddSpecialPayment_RequestDefaultTypeInternal() {} - union { - CWorkshop_AddSpecialPayment_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_AddSpecialPayment_RequestDefaultTypeInternal _CWorkshop_AddSpecialPayment_Request_default_instance_; -PROTOBUF_CONSTEXPR CWorkshop_AddSpecialPayment_Response::CWorkshop_AddSpecialPayment_Response( - ::_pbi::ConstantInitialized) {} -struct CWorkshop_AddSpecialPayment_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CWorkshop_AddSpecialPayment_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CWorkshop_AddSpecialPayment_ResponseDefaultTypeInternal() {} - union { - CWorkshop_AddSpecialPayment_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CWorkshop_AddSpecialPayment_ResponseDefaultTypeInternal _CWorkshop_AddSpecialPayment_Response_default_instance_; -PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Request_Token::CProductInfo_SetRichPresenceLocalization_Request_Token( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CProductInfo_SetRichPresenceLocalization_Request_TokenDefaultTypeInternal { - PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Request_TokenDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CProductInfo_SetRichPresenceLocalization_Request_TokenDefaultTypeInternal() {} - union { - CProductInfo_SetRichPresenceLocalization_Request_Token _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CProductInfo_SetRichPresenceLocalization_Request_TokenDefaultTypeInternal _CProductInfo_SetRichPresenceLocalization_Request_Token_default_instance_; -PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.tokens_)*/{} - , /*decltype(_impl_.language_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CProductInfo_SetRichPresenceLocalization_Request_LanguageSectionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Request_LanguageSectionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CProductInfo_SetRichPresenceLocalization_Request_LanguageSectionDefaultTypeInternal() {} - union { - CProductInfo_SetRichPresenceLocalization_Request_LanguageSection _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CProductInfo_SetRichPresenceLocalization_Request_LanguageSectionDefaultTypeInternal _CProductInfo_SetRichPresenceLocalization_Request_LanguageSection_default_instance_; -PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Request::CProductInfo_SetRichPresenceLocalization_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.languages_)*/{} - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.appid_)*/0u} {} -struct CProductInfo_SetRichPresenceLocalization_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CProductInfo_SetRichPresenceLocalization_RequestDefaultTypeInternal() {} - union { - CProductInfo_SetRichPresenceLocalization_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CProductInfo_SetRichPresenceLocalization_RequestDefaultTypeInternal _CProductInfo_SetRichPresenceLocalization_Request_default_instance_; -PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Response::CProductInfo_SetRichPresenceLocalization_Response( - ::_pbi::ConstantInitialized) {} -struct CProductInfo_SetRichPresenceLocalization_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CProductInfo_SetRichPresenceLocalization_ResponseDefaultTypeInternal() {} - union { - CProductInfo_SetRichPresenceLocalization_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CProductInfo_SetRichPresenceLocalization_ResponseDefaultTypeInternal _CProductInfo_SetRichPresenceLocalization_Response_default_instance_; -PROTOBUF_CONSTEXPR CMsgSerializedSOCache_TypeCache::CMsgSerializedSOCache_TypeCache( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.objects_)*/{} - , /*decltype(_impl_.type_)*/0u - , /*decltype(_impl_.service_id_)*/0u} {} -struct CMsgSerializedSOCache_TypeCacheDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSerializedSOCache_TypeCacheDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSerializedSOCache_TypeCacheDefaultTypeInternal() {} - union { - CMsgSerializedSOCache_TypeCache _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSerializedSOCache_TypeCacheDefaultTypeInternal _CMsgSerializedSOCache_TypeCache_default_instance_; -PROTOBUF_CONSTEXPR CMsgSerializedSOCache_Cache_Version::CMsgSerializedSOCache_Cache_Version( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.version_)*/uint64_t{0u} - , /*decltype(_impl_.service_)*/0u} {} -struct CMsgSerializedSOCache_Cache_VersionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSerializedSOCache_Cache_VersionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSerializedSOCache_Cache_VersionDefaultTypeInternal() {} - union { - CMsgSerializedSOCache_Cache_Version _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSerializedSOCache_Cache_VersionDefaultTypeInternal _CMsgSerializedSOCache_Cache_Version_default_instance_; -PROTOBUF_CONSTEXPR CMsgSerializedSOCache_Cache::CMsgSerializedSOCache_Cache( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.versions_)*/{} - , /*decltype(_impl_.type_caches_)*/{} - , /*decltype(_impl_.id_)*/uint64_t{0u} - , /*decltype(_impl_.type_)*/0u} {} -struct CMsgSerializedSOCache_CacheDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSerializedSOCache_CacheDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSerializedSOCache_CacheDefaultTypeInternal() {} - union { - CMsgSerializedSOCache_Cache _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSerializedSOCache_CacheDefaultTypeInternal _CMsgSerializedSOCache_Cache_default_instance_; -PROTOBUF_CONSTEXPR CMsgSerializedSOCache::CMsgSerializedSOCache( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.caches_)*/{} - , /*decltype(_impl_.file_version_)*/0u - , /*decltype(_impl_.gc_socache_file_version_)*/0u} {} -struct CMsgSerializedSOCacheDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSerializedSOCacheDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSerializedSOCacheDefaultTypeInternal() {} - union { - CMsgSerializedSOCache _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSerializedSOCacheDefaultTypeInternal _CMsgSerializedSOCache_default_instance_; -static ::_pb::Metadata file_level_metadata_gcsdk_5fgcmessages_2eproto[50]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_gcsdk_5fgcmessages_2eproto[2]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_gcsdk_5fgcmessages_2eproto = nullptr; - -const uint32_t TableStruct_gcsdk_5fgcmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CMsgSOIDOwner, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSOIDOwner, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSOIDOwner, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CMsgSOIDOwner, _impl_.id_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSOSingleObject, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSOSingleObject, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSOSingleObject, _impl_.type_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSOSingleObject, _impl_.object_data_), - PROTOBUF_FIELD_OFFSET(::CMsgSOSingleObject, _impl_.version_), - PROTOBUF_FIELD_OFFSET(::CMsgSOSingleObject, _impl_.owner_soid_), - 3, - 0, - 2, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSOMultipleObjects_SingleObject, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSOMultipleObjects_SingleObject, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSOMultipleObjects_SingleObject, _impl_.type_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSOMultipleObjects_SingleObject, _impl_.object_data_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSOMultipleObjects, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSOMultipleObjects, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSOMultipleObjects, _impl_.objects_modified_), - PROTOBUF_FIELD_OFFSET(::CMsgSOMultipleObjects, _impl_.version_), - PROTOBUF_FIELD_OFFSET(::CMsgSOMultipleObjects, _impl_.owner_soid_), - ~0u, - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscribed_SubscribedType, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscribed_SubscribedType, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscribed_SubscribedType, _impl_.type_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscribed_SubscribedType, _impl_.object_data_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscribed, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscribed, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscribed, _impl_.objects_), - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscribed, _impl_.version_), - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscribed, _impl_.owner_soid_), - ~0u, - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheUnsubscribed, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheUnsubscribed, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheUnsubscribed, _impl_.owner_soid_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscriptionCheck, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscriptionCheck, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscriptionCheck, _impl_.version_), - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscriptionCheck, _impl_.owner_soid_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscriptionRefresh, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscriptionRefresh, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheSubscriptionRefresh, _impl_.owner_soid_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheVersion, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheVersion, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheVersion, _impl_.version_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.valid_), - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.account_name_), - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.public_profile_), - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.public_inventory_), - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.vac_banned_), - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.cyber_cafe_), - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.school_account_), - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.free_trial_account_), - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.subscribed_), - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.low_violence_), - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.limited_), - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.trusted_), - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.package_), - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.time_cached_), - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.account_locked_), - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.community_banned_), - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.trade_banned_), - PROTOBUF_FIELD_OFFSET(::CMsgAccountDetails, _impl_.eligible_for_community_market_), - 1, - 0, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 13, - 14, - 12, - 15, - 16, - 17, - PROTOBUF_FIELD_OFFSET(::CMsgGCMultiplexMessage, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCMultiplexMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCMultiplexMessage, _impl_.msgtype_), - PROTOBUF_FIELD_OFFSET(::CMsgGCMultiplexMessage, _impl_.payload_), - PROTOBUF_FIELD_OFFSET(::CMsgGCMultiplexMessage, _impl_.steamids_), - PROTOBUF_FIELD_OFFSET(::CMsgGCMultiplexMessage, _impl_.replytogc_), - 1, - 0, - ~0u, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgGCMultiplexMessage_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCMultiplexMessage_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCMultiplexMessage_Response, _impl_.msgtype_), - 0, - PROTOBUF_FIELD_OFFSET(::CGCToGCMsgMasterAck, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CGCToGCMsgMasterAck, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGCToGCMsgMasterAck, _impl_.dir_index_), - PROTOBUF_FIELD_OFFSET(::CGCToGCMsgMasterAck, _impl_.gc_type_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CGCToGCMsgMasterAck_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CGCToGCMsgMasterAck_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGCToGCMsgMasterAck_Response, _impl_.eresult_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CGCToGCMsgMasterStartupComplete, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRouted, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRouted, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRouted, _impl_.msg_type_), - PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRouted, _impl_.sender_id_), - PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRouted, _impl_.net_message_), - PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRouted, _impl_.ip_), - 2, - 1, - 0, - 3, - PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRoutedReply, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRoutedReply, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRoutedReply, _impl_.msg_type_), - PROTOBUF_FIELD_OFFSET(::CGCToGCMsgRoutedReply, _impl_.net_message_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCUpdateSessionIP, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCUpdateSessionIP, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCUpdateSessionIP, _impl_.steamid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCUpdateSessionIP, _impl_.ip_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgGCRequestSessionIP, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCRequestSessionIP, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCRequestSessionIP, _impl_.steamid_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgGCRequestSessionIPResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCRequestSessionIPResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCRequestSessionIPResponse, _impl_.ip_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheHaveVersion, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheHaveVersion, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheHaveVersion, _impl_.soid_), - PROTOBUF_FIELD_OFFSET(::CMsgSOCacheHaveVersion, _impl_.version_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_.version_), - PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_.socache_have_versions_), - PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_.client_session_need_), - PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_.client_launcher_), - PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_.partner_srcid_), - PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_.partner_accountid_), - PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_.partner_accountflags_), - PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_.partner_accountbalance_), - PROTOBUF_FIELD_OFFSET(::CMsgClientHello, _impl_.steam_launcher_), - 0, - ~0u, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _impl_.version_), - PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _impl_.socache_have_versions_), - PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _impl_.legacy_client_session_need_), - PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _impl_.client_launcher_), - PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _impl_.legacy_steamdatagram_routing_), - PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _impl_.required_internal_addr_), - PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _impl_.steamdatagram_login_), - PROTOBUF_FIELD_OFFSET(::CMsgServerHello, _impl_.socache_control_), - 2, - ~0u, - 3, - 4, - 0, - 5, - 1, - 6, - PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome_Location, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome_Location, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome_Location, _impl_.latitude_), - PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome_Location, _impl_.longitude_), - PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome_Location, _impl_.country_), - 1, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.version_), - PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.game_data_), - PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.outofdate_subscribed_caches_), - PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.uptodate_subscribed_caches_), - PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.location_), - PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.game_data2_), - PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.rtime32_gc_welcome_timestamp_), - PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.currency_), - PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.balance_), - PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.balance_url_), - PROTOBUF_FIELD_OFFSET(::CMsgClientWelcome, _impl_.txn_country_code_), - 5, - 0, - ~0u, - ~0u, - 4, - 1, - 6, - 7, - 8, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgConnectionStatus, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgConnectionStatus, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgConnectionStatus, _impl_.status_), - PROTOBUF_FIELD_OFFSET(::CMsgConnectionStatus, _impl_.client_session_need_), - PROTOBUF_FIELD_OFFSET(::CMsgConnectionStatus, _impl_.queue_position_), - PROTOBUF_FIELD_OFFSET(::CMsgConnectionStatus, _impl_.queue_size_), - PROTOBUF_FIELD_OFFSET(::CMsgConnectionStatus, _impl_.wait_seconds_), - PROTOBUF_FIELD_OFFSET(::CMsgConnectionStatus, _impl_.estimated_wait_seconds_remaining_), - 0, - 1, - 2, - 3, - 4, - 5, - PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription, _impl_.gameitemid_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription, _impl_.item_description_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription, _impl_.one_per_account_), - 1, - 0, - 2, - PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock, _impl_.language_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock, _impl_.descriptions_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_PopulateItemDescriptions_Request, _impl_.languages_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CWorkshop_GetContributors_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_GetContributors_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CWorkshop_GetContributors_Request, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_GetContributors_Request, _impl_.gameitemid_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CWorkshop_GetContributors_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CWorkshop_GetContributors_Response, _impl_.contributors_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule, _impl_.workshop_file_id_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule, _impl_.revenue_percentage_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule, _impl_.rule_description_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule, _impl_.rule_type_), - 1, - 2, - 0, - 3, - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule, _impl_.workshop_file_id_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule, _impl_.rule_description_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule, _impl_.account_id_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule, _impl_.revenue_percentage_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule, _impl_.rule_description_), - 1, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request, _impl_.gameitemid_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request, _impl_.associated_workshop_files_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request, _impl_.partner_accounts_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request, _impl_.validate_only_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request, _impl_.make_workshop_files_subscribable_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Request, _impl_.associated_workshop_file_for_direct_payments_), - 1, - 2, - ~0u, - ~0u, - 3, - 4, - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CWorkshop_SetItemPaymentRules_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Request, _impl_.filter_), - PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Request, _impl_.group_fields_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response_Group, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response_Group, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response_Group, _impl_.group_values_), - PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response_Group, _impl_.servers_empty_), - PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response_Group, _impl_.servers_full_), - PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response_Group, _impl_.servers_total_), - PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response_Group, _impl_.players_humans_), - PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response_Group, _impl_.players_bots_), - PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response_Group, _impl_.player_capacity_), - ~0u, - 0, - 1, - 2, - 3, - 4, - 5, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGameServers_AggregationQuery_Response, _impl_.groups_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_AddSpecialPayment_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_AddSpecialPayment_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CWorkshop_AddSpecialPayment_Request, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_AddSpecialPayment_Request, _impl_.gameitemid_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_AddSpecialPayment_Request, _impl_.date_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_AddSpecialPayment_Request, _impl_.payment_us_usd_), - PROTOBUF_FIELD_OFFSET(::CWorkshop_AddSpecialPayment_Request, _impl_.payment_row_usd_), - 1, - 2, - 0, - 3, - 4, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CWorkshop_AddSpecialPayment_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request_Token, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request_Token, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request_Token, _impl_.token_), - PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request_Token, _impl_.value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection, _impl_.language_), - PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection, _impl_.tokens_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request, _impl_.languages_), - PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Request, _impl_.steamid_), - 1, - ~0u, - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CProductInfo_SetRichPresenceLocalization_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_TypeCache, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_TypeCache, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_TypeCache, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_TypeCache, _impl_.objects_), - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_TypeCache, _impl_.service_id_), - 0, - ~0u, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache_Version, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache_Version, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache_Version, _impl_.service_), - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache_Version, _impl_.version_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache, _impl_.versions_), - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache_Cache, _impl_.type_caches_), - 1, - 0, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache, _impl_.file_version_), - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache, _impl_.caches_), - PROTOBUF_FIELD_OFFSET(::CMsgSerializedSOCache, _impl_.gc_socache_file_version_), - 0, - ~0u, - 1, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 8, -1, sizeof(::CMsgSOIDOwner)}, - { 10, 20, -1, sizeof(::CMsgSOSingleObject)}, - { 24, 32, -1, sizeof(::CMsgSOMultipleObjects_SingleObject)}, - { 34, 43, -1, sizeof(::CMsgSOMultipleObjects)}, - { 46, 54, -1, sizeof(::CMsgSOCacheSubscribed_SubscribedType)}, - { 56, 65, -1, sizeof(::CMsgSOCacheSubscribed)}, - { 68, 75, -1, sizeof(::CMsgSOCacheUnsubscribed)}, - { 76, 84, -1, sizeof(::CMsgSOCacheSubscriptionCheck)}, - { 86, 93, -1, sizeof(::CMsgSOCacheSubscriptionRefresh)}, - { 94, 101, -1, sizeof(::CMsgSOCacheVersion)}, - { 102, 126, -1, sizeof(::CMsgAccountDetails)}, - { 144, 154, -1, sizeof(::CMsgGCMultiplexMessage)}, - { 158, 165, -1, sizeof(::CMsgGCMultiplexMessage_Response)}, - { 166, 174, -1, sizeof(::CGCToGCMsgMasterAck)}, - { 176, 183, -1, sizeof(::CGCToGCMsgMasterAck_Response)}, - { 184, -1, -1, sizeof(::CGCToGCMsgMasterStartupComplete)}, - { 190, 200, -1, sizeof(::CGCToGCMsgRouted)}, - { 204, 212, -1, sizeof(::CGCToGCMsgRoutedReply)}, - { 214, 222, -1, sizeof(::CMsgGCUpdateSessionIP)}, - { 224, 231, -1, sizeof(::CMsgGCRequestSessionIP)}, - { 232, 239, -1, sizeof(::CMsgGCRequestSessionIPResponse)}, - { 240, 248, -1, sizeof(::CMsgSOCacheHaveVersion)}, - { 250, 265, -1, sizeof(::CMsgClientHello)}, - { 274, 288, -1, sizeof(::CMsgServerHello)}, - { 296, 305, -1, sizeof(::CMsgClientWelcome_Location)}, - { 308, 325, -1, sizeof(::CMsgClientWelcome)}, - { 336, 348, -1, sizeof(::CMsgConnectionStatus)}, - { 354, 363, -1, sizeof(::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription)}, - { 366, 374, -1, sizeof(::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock)}, - { 376, 384, -1, sizeof(::CWorkshop_PopulateItemDescriptions_Request)}, - { 386, 394, -1, sizeof(::CWorkshop_GetContributors_Request)}, - { 396, -1, -1, sizeof(::CWorkshop_GetContributors_Response)}, - { 403, 413, -1, sizeof(::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule)}, - { 417, 425, -1, sizeof(::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule)}, - { 427, 436, -1, sizeof(::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule)}, - { 439, 452, -1, sizeof(::CWorkshop_SetItemPaymentRules_Request)}, - { 459, -1, -1, sizeof(::CWorkshop_SetItemPaymentRules_Response)}, - { 465, 473, -1, sizeof(::CGameServers_AggregationQuery_Request)}, - { 475, 488, -1, sizeof(::CGameServers_AggregationQuery_Response_Group)}, - { 495, -1, -1, sizeof(::CGameServers_AggregationQuery_Response)}, - { 502, 513, -1, sizeof(::CWorkshop_AddSpecialPayment_Request)}, - { 518, -1, -1, sizeof(::CWorkshop_AddSpecialPayment_Response)}, - { 524, 532, -1, sizeof(::CProductInfo_SetRichPresenceLocalization_Request_Token)}, - { 534, 542, -1, sizeof(::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection)}, - { 544, 553, -1, sizeof(::CProductInfo_SetRichPresenceLocalization_Request)}, - { 556, -1, -1, sizeof(::CProductInfo_SetRichPresenceLocalization_Response)}, - { 562, 571, -1, sizeof(::CMsgSerializedSOCache_TypeCache)}, - { 574, 582, -1, sizeof(::CMsgSerializedSOCache_Cache_Version)}, - { 584, 594, -1, sizeof(::CMsgSerializedSOCache_Cache)}, - { 598, 607, -1, sizeof(::CMsgSerializedSOCache)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CMsgSOIDOwner_default_instance_._instance, - &::_CMsgSOSingleObject_default_instance_._instance, - &::_CMsgSOMultipleObjects_SingleObject_default_instance_._instance, - &::_CMsgSOMultipleObjects_default_instance_._instance, - &::_CMsgSOCacheSubscribed_SubscribedType_default_instance_._instance, - &::_CMsgSOCacheSubscribed_default_instance_._instance, - &::_CMsgSOCacheUnsubscribed_default_instance_._instance, - &::_CMsgSOCacheSubscriptionCheck_default_instance_._instance, - &::_CMsgSOCacheSubscriptionRefresh_default_instance_._instance, - &::_CMsgSOCacheVersion_default_instance_._instance, - &::_CMsgAccountDetails_default_instance_._instance, - &::_CMsgGCMultiplexMessage_default_instance_._instance, - &::_CMsgGCMultiplexMessage_Response_default_instance_._instance, - &::_CGCToGCMsgMasterAck_default_instance_._instance, - &::_CGCToGCMsgMasterAck_Response_default_instance_._instance, - &::_CGCToGCMsgMasterStartupComplete_default_instance_._instance, - &::_CGCToGCMsgRouted_default_instance_._instance, - &::_CGCToGCMsgRoutedReply_default_instance_._instance, - &::_CMsgGCUpdateSessionIP_default_instance_._instance, - &::_CMsgGCRequestSessionIP_default_instance_._instance, - &::_CMsgGCRequestSessionIPResponse_default_instance_._instance, - &::_CMsgSOCacheHaveVersion_default_instance_._instance, - &::_CMsgClientHello_default_instance_._instance, - &::_CMsgServerHello_default_instance_._instance, - &::_CMsgClientWelcome_Location_default_instance_._instance, - &::_CMsgClientWelcome_default_instance_._instance, - &::_CMsgConnectionStatus_default_instance_._instance, - &::_CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription_default_instance_._instance, - &::_CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock_default_instance_._instance, - &::_CWorkshop_PopulateItemDescriptions_Request_default_instance_._instance, - &::_CWorkshop_GetContributors_Request_default_instance_._instance, - &::_CWorkshop_GetContributors_Response_default_instance_._instance, - &::_CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule_default_instance_._instance, - &::_CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule_default_instance_._instance, - &::_CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule_default_instance_._instance, - &::_CWorkshop_SetItemPaymentRules_Request_default_instance_._instance, - &::_CWorkshop_SetItemPaymentRules_Response_default_instance_._instance, - &::_CGameServers_AggregationQuery_Request_default_instance_._instance, - &::_CGameServers_AggregationQuery_Response_Group_default_instance_._instance, - &::_CGameServers_AggregationQuery_Response_default_instance_._instance, - &::_CWorkshop_AddSpecialPayment_Request_default_instance_._instance, - &::_CWorkshop_AddSpecialPayment_Response_default_instance_._instance, - &::_CProductInfo_SetRichPresenceLocalization_Request_Token_default_instance_._instance, - &::_CProductInfo_SetRichPresenceLocalization_Request_LanguageSection_default_instance_._instance, - &::_CProductInfo_SetRichPresenceLocalization_Request_default_instance_._instance, - &::_CProductInfo_SetRichPresenceLocalization_Response_default_instance_._instance, - &::_CMsgSerializedSOCache_TypeCache_default_instance_._instance, - &::_CMsgSerializedSOCache_Cache_Version_default_instance_._instance, - &::_CMsgSerializedSOCache_Cache_default_instance_._instance, - &::_CMsgSerializedSOCache_default_instance_._instance, -}; - -const char descriptor_table_protodef_gcsdk_5fgcmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\026gcsdk_gcmessages.proto\032\023steammessages." - "proto\")\n\rCMsgSOIDOwner\022\014\n\004type\030\001 \001(\r\022\n\n\002" - "id\030\002 \001(\004\"o\n\022CMsgSOSingleObject\022\017\n\007type_i" - "d\030\002 \001(\005\022\023\n\013object_data\030\003 \001(\014\022\017\n\007version\030" - "\004 \001(\006\022\"\n\nowner_soid\030\005 \001(\0132\016.CMsgSOIDOwne" - "r\"\315\001\n\025CMsgSOMultipleObjects\022=\n\020objects_m" - "odified\030\002 \003(\0132#.CMsgSOMultipleObjects.Si" - "ngleObject\022\017\n\007version\030\003 \001(\006\022\"\n\nowner_soi" - "d\030\006 \001(\0132\016.CMsgSOIDOwner\032@\n\014SingleObject\022" - "\017\n\007type_id\030\001 \001(\005\022\023\n\013object_data\030\002 \001(\014:\n\200" - "\246\035\200\002\210\246\035\200\010\"\274\001\n\025CMsgSOCacheSubscribed\0226\n\007o" - "bjects\030\002 \003(\0132%.CMsgSOCacheSubscribed.Sub" - "scribedType\022\017\n\007version\030\003 \001(\006\022\"\n\nowner_so" - "id\030\004 \001(\0132\016.CMsgSOIDOwner\0326\n\016SubscribedTy" - "pe\022\017\n\007type_id\030\001 \001(\005\022\023\n\013object_data\030\002 \003(\014" - "\"=\n\027CMsgSOCacheUnsubscribed\022\"\n\nowner_soi" - "d\030\002 \001(\0132\016.CMsgSOIDOwner\"S\n\034CMsgSOCacheSu" - "bscriptionCheck\022\017\n\007version\030\002 \001(\006\022\"\n\nowne" - "r_soid\030\003 \001(\0132\016.CMsgSOIDOwner\"D\n\036CMsgSOCa" - "cheSubscriptionRefresh\022\"\n\nowner_soid\030\002 \001" - "(\0132\016.CMsgSOIDOwner\"%\n\022CMsgSOCacheVersion" - "\022\017\n\007version\030\001 \001(\006\"\250\003\n\022CMsgAccountDetails" - "\022\r\n\005valid\030\001 \001(\010\022\024\n\014account_name\030\002 \001(\t\022\026\n" - "\016public_profile\030\004 \001(\010\022\030\n\020public_inventor" - "y\030\005 \001(\010\022\022\n\nvac_banned\030\006 \001(\010\022\022\n\ncyber_caf" - "e\030\007 \001(\010\022\026\n\016school_account\030\010 \001(\010\022\032\n\022free_" - "trial_account\030\t \001(\010\022\022\n\nsubscribed\030\n \001(\010\022" - "\024\n\014low_violence\030\013 \001(\010\022\017\n\007limited\030\014 \001(\010\022\017" - "\n\007trusted\030\r \001(\010\022\017\n\007package\030\016 \001(\r\022\023\n\013time" - "_cached\030\017 \001(\007\022\026\n\016account_locked\030\020 \001(\010\022\030\n" - "\020community_banned\030\021 \001(\010\022\024\n\014trade_banned\030" - "\022 \001(\010\022%\n\035eligible_for_community_market\030\023" - " \001(\010\"_\n\026CMsgGCMultiplexMessage\022\017\n\007msgtyp" - "e\030\001 \001(\r\022\017\n\007payload\030\002 \001(\014\022\020\n\010steamids\030\003 \003" - "(\006\022\021\n\treplytogc\030\004 \001(\010\"2\n\037CMsgGCMultiplex" - "Message_Response\022\017\n\007msgtype\030\001 \001(\r\"9\n\023CGC" - "ToGCMsgMasterAck\022\021\n\tdir_index\030\001 \001(\r\022\017\n\007g" - "c_type\030\002 \001(\r\"2\n\034CGCToGCMsgMasterAck_Resp" - "onse\022\022\n\007eresult\030\001 \001(\005:\0012\"!\n\037CGCToGCMsgMa" - "sterStartupComplete\"X\n\020CGCToGCMsgRouted\022" - "\020\n\010msg_type\030\001 \001(\r\022\021\n\tsender_id\030\002 \001(\006\022\023\n\013" - "net_message\030\003 \001(\014\022\n\n\002ip\030\004 \001(\r\">\n\025CGCToGC" - "MsgRoutedReply\022\020\n\010msg_type\030\001 \001(\r\022\023\n\013net_" - "message\030\002 \001(\014\"4\n\025CMsgGCUpdateSessionIP\022\017" - "\n\007steamid\030\001 \001(\006\022\n\n\002ip\030\002 \001(\007\")\n\026CMsgGCReq" - "uestSessionIP\022\017\n\007steamid\030\001 \001(\006\",\n\036CMsgGC" - "RequestSessionIPResponse\022\n\n\002ip\030\001 \001(\007\"G\n\026" - "CMsgSOCacheHaveVersion\022\034\n\004soid\030\001 \001(\0132\016.C" - "MsgSOIDOwner\022\017\n\007version\030\002 \001(\006\"\230\002\n\017CMsgCl" - "ientHello\022\017\n\007version\030\001 \001(\r\0226\n\025socache_ha" - "ve_versions\030\002 \003(\0132\027.CMsgSOCacheHaveVersi" - "on\022\033\n\023client_session_need\030\003 \001(\r\022\027\n\017clien" - "t_launcher\030\004 \001(\r\022\025\n\rpartner_srcid\030\005 \001(\r\022" - "\031\n\021partner_accountid\030\006 \001(\r\022\034\n\024partner_ac" - "countflags\030\007 \001(\r\022\036\n\026partner_accountbalan" - "ce\030\010 \001(\r\022\026\n\016steam_launcher\030\t \001(\r\"\223\002\n\017CMs" - "gServerHello\022\017\n\007version\030\001 \001(\r\0226\n\025socache" - "_have_versions\030\002 \003(\0132\027.CMsgSOCacheHaveVe" - "rsion\022\"\n\032legacy_client_session_need\030\003 \001(" - "\r\022\027\n\017client_launcher\030\004 \001(\r\022$\n\034legacy_ste" - "amdatagram_routing\030\006 \001(\014\022\036\n\026required_int" - "ernal_addr\030\007 \001(\r\022\033\n\023steamdatagram_login\030" - "\010 \001(\014\022\027\n\017socache_control\030\t \001(\r\"\264\003\n\021CMsgC" - "lientWelcome\022\017\n\007version\030\001 \001(\r\022\021\n\tgame_da" - "ta\030\002 \001(\014\022;\n\033outofdate_subscribed_caches\030" - "\003 \003(\0132\026.CMsgSOCacheSubscribed\022A\n\032uptodat" - "e_subscribed_caches\030\004 \003(\0132\035.CMsgSOCacheS" - "ubscriptionCheck\022-\n\010location\030\005 \001(\0132\033.CMs" - "gClientWelcome.Location\022\022\n\ngame_data2\030\006 " - "\001(\014\022$\n\034rtime32_gc_welcome_timestamp\030\007 \001(" - "\r\022\020\n\010currency\030\010 \001(\r\022\017\n\007balance\030\t \001(\r\022\023\n\013" - "balance_url\030\n \001(\t\022\030\n\020txn_country_code\030\013 " - "\001(\t\032@\n\010Location\022\020\n\010latitude\030\001 \001(\002\022\021\n\tlon" - "gitude\030\002 \001(\002\022\017\n\007country\030\003 \001(\t\"\345\001\n\024CMsgCo" - "nnectionStatus\022D\n\006status\030\001 \001(\0162\023.GCConne" - "ctionStatus:\037GCConnectionStatus_HAVE_SES" - "SION\022\033\n\023client_session_need\030\002 \001(\r\022\026\n\016que" - "ue_position\030\003 \001(\005\022\022\n\nqueue_size\030\004 \001(\005\022\024\n" - "\014wait_seconds\030\005 \001(\005\022(\n estimated_wait_se" - "conds_remaining\030\006 \001(\005\"\206\003\n*CWorkshop_Popu" - "lateItemDescriptions_Request\022\r\n\005appid\030\001 " - "\001(\r\022\\\n\tlanguages\030\002 \003(\0132I.CWorkshop_Popul" - "ateItemDescriptions_Request.ItemDescript" - "ionsLanguageBlock\032^\n\025SingleItemDescripti" - "on\022\022\n\ngameitemid\030\001 \001(\r\022\030\n\020item_descripti" - "on\030\002 \001(\t\022\027\n\017one_per_account\030\003 \001(\010\032\212\001\n\035It" - "emDescriptionsLanguageBlock\022\020\n\010language\030" - "\001 \001(\t\022W\n\014descriptions\030\002 \003(\0132A.CWorkshop_" - "PopulateItemDescriptions_Request.SingleI" - "temDescription\"F\n!CWorkshop_GetContribut" - "ors_Request\022\r\n\005appid\030\001 \001(\r\022\022\n\ngameitemid" - "\030\002 \001(\r\":\n\"CWorkshop_GetContributors_Resp" - "onse\022\024\n\014contributors\030\001 \003(\006\"\365\005\n%CWorkshop" - "_SetItemPaymentRules_Request\022\r\n\005appid\030\001 " - "\001(\r\022\022\n\ngameitemid\030\002 \001(\r\022a\n\031associated_wo" - "rkshop_files\030\003 \003(\0132>.CWorkshop_SetItemPa" - "ymentRules_Request.WorkshopItemPaymentRu" - "le\022W\n\020partner_accounts\030\004 \003(\0132=.CWorkshop" - "_SetItemPaymentRules_Request.PartnerItem" - "PaymentRule\022\025\n\rvalidate_only\030\005 \001(\010\022(\n ma" - "ke_workshop_files_subscribable\030\006 \001(\010\022v\n," - "associated_workshop_file_for_direct_paym" - "ents\030\007 \001(\0132@.CWorkshop_SetItemPaymentRul" - "es_Request.WorkshopDirectPaymentRule\032\177\n\027" - "WorkshopItemPaymentRule\022\030\n\020workshop_file" - "_id\030\001 \001(\004\022\032\n\022revenue_percentage\030\002 \001(\002\022\030\n" - "\020rule_description\030\003 \001(\t\022\024\n\trule_type\030\004 \001" - "(\r:\0011\032O\n\031WorkshopDirectPaymentRule\022\030\n\020wo" - "rkshop_file_id\030\001 \001(\004\022\030\n\020rule_description" - "\030\002 \001(\t\032b\n\026PartnerItemPaymentRule\022\022\n\nacco" - "unt_id\030\001 \001(\r\022\032\n\022revenue_percentage\030\002 \001(\002" - "\022\030\n\020rule_description\030\003 \001(\t\"(\n&CWorkshop_" - "SetItemPaymentRules_Response\"M\n%CGameSer" - "vers_AggregationQuery_Request\022\016\n\006filter\030" - "\001 \001(\t\022\024\n\014group_fields\030\003 \003(\t\"\222\002\n&CGameSer" - "vers_AggregationQuery_Response\022=\n\006groups" - "\030\001 \003(\0132-.CGameServers_AggregationQuery_R" - "esponse.Group\032\250\001\n\005Group\022\024\n\014group_values\030" - "\001 \003(\t\022\025\n\rservers_empty\030\002 \001(\r\022\024\n\014servers_" - "full\030\003 \001(\r\022\025\n\rservers_total\030\004 \001(\r\022\026\n\016pla" - "yers_humans\030\005 \001(\r\022\024\n\014players_bots\030\006 \001(\r\022" - "\027\n\017player_capacity\030\007 \001(\r\"\207\001\n#CWorkshop_A" - "ddSpecialPayment_Request\022\r\n\005appid\030\001 \001(\r\022" - "\022\n\ngameitemid\030\002 \001(\r\022\014\n\004date\030\003 \001(\t\022\026\n\016pay" - "ment_us_usd\030\004 \001(\004\022\027\n\017payment_row_usd\030\005 \001" - "(\004\"&\n$CWorkshop_AddSpecialPayment_Respon" - "se\"\275\002\n0CProductInfo_SetRichPresenceLocal" - "ization_Request\022\r\n\005appid\030\001 \001(\r\022T\n\tlangua" - "ges\030\002 \003(\0132A.CProductInfo_SetRichPresence" - "Localization_Request.LanguageSection\022\017\n\007" - "steamid\030\003 \001(\004\032%\n\005Token\022\r\n\005token\030\001 \001(\t\022\r\n" - "\005value\030\002 \001(\t\032l\n\017LanguageSection\022\020\n\010langu" - "age\030\001 \001(\t\022G\n\006tokens\030\002 \003(\01327.CProductInfo" - "_SetRichPresenceLocalization_Request.Tok" - "en\"3\n1CProductInfo_SetRichPresenceLocali" - "zation_Response\"\374\002\n\025CMsgSerializedSOCach" - "e\022\024\n\014file_version\030\001 \001(\r\022,\n\006caches\030\002 \003(\0132" - "\034.CMsgSerializedSOCache.Cache\022\037\n\027gc_soca" - "che_file_version\030\003 \001(\r\032>\n\tTypeCache\022\014\n\004t" - "ype\030\001 \001(\r\022\017\n\007objects\030\002 \003(\014\022\022\n\nservice_id" - "\030\003 \001(\r\032\275\001\n\005Cache\022\014\n\004type\030\001 \001(\r\022\n\n\002id\030\002 \001" - "(\004\0226\n\010versions\030\003 \003(\0132$.CMsgSerializedSOC" - "ache.Cache.Version\0225\n\013type_caches\030\004 \003(\0132" - " .CMsgSerializedSOCache.TypeCache\032+\n\007Ver" - "sion\022\017\n\007service\030\001 \001(\r\022\017\n\007version\030\002 \001(\004*\246" - "\001\n\024GCClientLauncherType\022 \n\034GCClientLaunc" - "herType_DEFAULT\020\000\022%\n!GCClientLauncherTyp" - "e_PERFECTWORLD\020\001\022#\n\037GCClientLauncherType" - "_STEAMCHINA\020\002\022 \n\034GCClientLauncherType_SO" - "URCE2\020\003*\325\001\n\022GCConnectionStatus\022#\n\037GCConn" - "ectionStatus_HAVE_SESSION\020\000\022$\n GCConnect" - "ionStatus_GC_GOING_DOWN\020\001\022!\n\035GCConnectio" - "nStatus_NO_SESSION\020\002\0220\n,GCConnectionStat" - "us_NO_SESSION_IN_LOGON_QUEUE\020\003\022\037\n\033GCConn" - "ectionStatus_NO_STEAM\020\004" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_gcsdk_5fgcmessages_2eproto_deps[1] = { - &::descriptor_table_steammessages_2eproto, -}; -static ::_pbi::once_flag descriptor_table_gcsdk_5fgcmessages_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_gcsdk_5fgcmessages_2eproto = { - false, false, 6183, descriptor_table_protodef_gcsdk_5fgcmessages_2eproto, - "gcsdk_gcmessages.proto", - &descriptor_table_gcsdk_5fgcmessages_2eproto_once, descriptor_table_gcsdk_5fgcmessages_2eproto_deps, 1, 50, - schemas, file_default_instances, TableStruct_gcsdk_5fgcmessages_2eproto::offsets, - file_level_metadata_gcsdk_5fgcmessages_2eproto, file_level_enum_descriptors_gcsdk_5fgcmessages_2eproto, - file_level_service_descriptors_gcsdk_5fgcmessages_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_gcsdk_5fgcmessages_2eproto_getter() { - return &descriptor_table_gcsdk_5fgcmessages_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_gcsdk_5fgcmessages_2eproto(&descriptor_table_gcsdk_5fgcmessages_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GCClientLauncherType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_gcsdk_5fgcmessages_2eproto); - return file_level_enum_descriptors_gcsdk_5fgcmessages_2eproto[0]; -} -bool GCClientLauncherType_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GCConnectionStatus_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_gcsdk_5fgcmessages_2eproto); - return file_level_enum_descriptors_gcsdk_5fgcmessages_2eproto[1]; -} -bool GCConnectionStatus_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CMsgSOIDOwner::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSOIDOwner::CMsgSOIDOwner(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSOIDOwner) -} -CMsgSOIDOwner::CMsgSOIDOwner(const CMsgSOIDOwner& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSOIDOwner* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.id_){} - , decltype(_impl_.type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.id_, &from._impl_.id_, - static_cast(reinterpret_cast(&_impl_.type_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.type_)); - // @@protoc_insertion_point(copy_constructor:CMsgSOIDOwner) -} - -inline void CMsgSOIDOwner::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.id_){uint64_t{0u}} - , decltype(_impl_.type_){0u} - }; -} - -CMsgSOIDOwner::~CMsgSOIDOwner() { - // @@protoc_insertion_point(destructor:CMsgSOIDOwner) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSOIDOwner::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSOIDOwner::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSOIDOwner::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSOIDOwner) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.id_, 0, static_cast( - reinterpret_cast(&_impl_.type_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.type_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSOIDOwner::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_type(&has_bits); - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_id(&has_bits); - _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSOIDOwner::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSOIDOwner) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 type = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_type(), target); - } - - // optional uint64 id = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSOIDOwner) - return target; -} - -size_t CMsgSOIDOwner::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSOIDOwner) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 id = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_id()); - } - - // optional uint32 type = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOIDOwner::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSOIDOwner::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOIDOwner::GetClassData() const { return &_class_data_; } - - -void CMsgSOIDOwner::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSOIDOwner) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.id_ = from._impl_.id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.type_ = from._impl_.type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSOIDOwner::CopyFrom(const CMsgSOIDOwner& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOIDOwner) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSOIDOwner::IsInitialized() const { - return true; -} - -void CMsgSOIDOwner::InternalSwap(CMsgSOIDOwner* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSOIDOwner, _impl_.type_) - + sizeof(CMsgSOIDOwner::_impl_.type_) - - PROTOBUF_FIELD_OFFSET(CMsgSOIDOwner, _impl_.id_)>( - reinterpret_cast(&_impl_.id_), - reinterpret_cast(&other->_impl_.id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOIDOwner::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[0]); -} - -// =================================================================== - -class CMsgSOSingleObject::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_object_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_version(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgSOIDOwner& owner_soid(const CMsgSOSingleObject* msg); - static void set_has_owner_soid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgSOIDOwner& -CMsgSOSingleObject::_Internal::owner_soid(const CMsgSOSingleObject* msg) { - return *msg->_impl_.owner_soid_; -} -CMsgSOSingleObject::CMsgSOSingleObject(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSOSingleObject) -} -CMsgSOSingleObject::CMsgSOSingleObject(const CMsgSOSingleObject& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSOSingleObject* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.object_data_){} - , decltype(_impl_.owner_soid_){nullptr} - , decltype(_impl_.version_){} - , decltype(_impl_.type_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.object_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.object_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_object_data()) { - _this->_impl_.object_data_.Set(from._internal_object_data(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_owner_soid()) { - _this->_impl_.owner_soid_ = new ::CMsgSOIDOwner(*from._impl_.owner_soid_); - } - ::memcpy(&_impl_.version_, &from._impl_.version_, - static_cast(reinterpret_cast(&_impl_.type_id_) - - reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.type_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgSOSingleObject) -} - -inline void CMsgSOSingleObject::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.object_data_){} - , decltype(_impl_.owner_soid_){nullptr} - , decltype(_impl_.version_){uint64_t{0u}} - , decltype(_impl_.type_id_){0} - }; - _impl_.object_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.object_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSOSingleObject::~CMsgSOSingleObject() { - // @@protoc_insertion_point(destructor:CMsgSOSingleObject) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSOSingleObject::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.object_data_.Destroy(); - if (this != internal_default_instance()) delete _impl_.owner_soid_; -} - -void CMsgSOSingleObject::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSOSingleObject::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSOSingleObject) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.object_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.owner_soid_ != nullptr); - _impl_.owner_soid_->Clear(); - } - } - if (cached_has_bits & 0x0000000cu) { - ::memset(&_impl_.version_, 0, static_cast( - reinterpret_cast(&_impl_.type_id_) - - reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.type_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSOSingleObject::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 type_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_type_id(&has_bits); - _impl_.type_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes object_data = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_object_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 version = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { - _Internal::set_has_version(&has_bits); - _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional .CMsgSOIDOwner owner_soid = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_owner_soid(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSOSingleObject::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSOSingleObject) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 type_id = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_type_id(), target); - } - - // optional bytes object_data = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 3, this->_internal_object_data(), target); - } - - // optional fixed64 version = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_version(), target); - } - - // optional .CMsgSOIDOwner owner_soid = 5; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::owner_soid(this), - _Internal::owner_soid(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSOSingleObject) - return target; -} - -size_t CMsgSOSingleObject::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSOSingleObject) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional bytes object_data = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_object_data()); - } - - // optional .CMsgSOIDOwner owner_soid = 5; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.owner_soid_); - } - - // optional fixed64 version = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 8; - } - - // optional int32 type_id = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOSingleObject::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSOSingleObject::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOSingleObject::GetClassData() const { return &_class_data_; } - - -void CMsgSOSingleObject::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSOSingleObject) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_object_data(from._internal_object_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_owner_soid()->::CMsgSOIDOwner::MergeFrom( - from._internal_owner_soid()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.version_ = from._impl_.version_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.type_id_ = from._impl_.type_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSOSingleObject::CopyFrom(const CMsgSOSingleObject& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOSingleObject) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSOSingleObject::IsInitialized() const { - return true; -} - -void CMsgSOSingleObject::InternalSwap(CMsgSOSingleObject* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.object_data_, lhs_arena, - &other->_impl_.object_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSOSingleObject, _impl_.type_id_) - + sizeof(CMsgSOSingleObject::_impl_.type_id_) - - PROTOBUF_FIELD_OFFSET(CMsgSOSingleObject, _impl_.owner_soid_)>( - reinterpret_cast(&_impl_.owner_soid_), - reinterpret_cast(&other->_impl_.owner_soid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOSingleObject::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[1]); -} - -// =================================================================== - -class CMsgSOMultipleObjects_SingleObject::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_object_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSOMultipleObjects_SingleObject::CMsgSOMultipleObjects_SingleObject(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSOMultipleObjects.SingleObject) -} -CMsgSOMultipleObjects_SingleObject::CMsgSOMultipleObjects_SingleObject(const CMsgSOMultipleObjects_SingleObject& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSOMultipleObjects_SingleObject* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.object_data_){} - , decltype(_impl_.type_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.object_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.object_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_object_data()) { - _this->_impl_.object_data_.Set(from._internal_object_data(), - _this->GetArenaForAllocation()); - } - _this->_impl_.type_id_ = from._impl_.type_id_; - // @@protoc_insertion_point(copy_constructor:CMsgSOMultipleObjects.SingleObject) -} - -inline void CMsgSOMultipleObjects_SingleObject::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.object_data_){} - , decltype(_impl_.type_id_){0} - }; - _impl_.object_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.object_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSOMultipleObjects_SingleObject::~CMsgSOMultipleObjects_SingleObject() { - // @@protoc_insertion_point(destructor:CMsgSOMultipleObjects.SingleObject) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSOMultipleObjects_SingleObject::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.object_data_.Destroy(); -} - -void CMsgSOMultipleObjects_SingleObject::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSOMultipleObjects_SingleObject::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSOMultipleObjects.SingleObject) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.object_data_.ClearNonDefaultToEmpty(); - } - _impl_.type_id_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSOMultipleObjects_SingleObject::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 type_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_type_id(&has_bits); - _impl_.type_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes object_data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_object_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSOMultipleObjects_SingleObject::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSOMultipleObjects.SingleObject) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 type_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type_id(), target); - } - - // optional bytes object_data = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_object_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSOMultipleObjects.SingleObject) - return target; -} - -size_t CMsgSOMultipleObjects_SingleObject::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSOMultipleObjects.SingleObject) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bytes object_data = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_object_data()); - } - - // optional int32 type_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOMultipleObjects_SingleObject::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSOMultipleObjects_SingleObject::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOMultipleObjects_SingleObject::GetClassData() const { return &_class_data_; } - - -void CMsgSOMultipleObjects_SingleObject::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSOMultipleObjects.SingleObject) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_object_data(from._internal_object_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.type_id_ = from._impl_.type_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSOMultipleObjects_SingleObject::CopyFrom(const CMsgSOMultipleObjects_SingleObject& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOMultipleObjects.SingleObject) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSOMultipleObjects_SingleObject::IsInitialized() const { - return true; -} - -void CMsgSOMultipleObjects_SingleObject::InternalSwap(CMsgSOMultipleObjects_SingleObject* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.object_data_, lhs_arena, - &other->_impl_.object_data_, rhs_arena - ); - swap(_impl_.type_id_, other->_impl_.type_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOMultipleObjects_SingleObject::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[2]); -} - -// =================================================================== - -class CMsgSOMultipleObjects::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_version(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgSOIDOwner& owner_soid(const CMsgSOMultipleObjects* msg); - static void set_has_owner_soid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgSOIDOwner& -CMsgSOMultipleObjects::_Internal::owner_soid(const CMsgSOMultipleObjects* msg) { - return *msg->_impl_.owner_soid_; -} -CMsgSOMultipleObjects::CMsgSOMultipleObjects(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSOMultipleObjects) -} -CMsgSOMultipleObjects::CMsgSOMultipleObjects(const CMsgSOMultipleObjects& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSOMultipleObjects* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.objects_modified_){from._impl_.objects_modified_} - , decltype(_impl_.owner_soid_){nullptr} - , decltype(_impl_.version_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_owner_soid()) { - _this->_impl_.owner_soid_ = new ::CMsgSOIDOwner(*from._impl_.owner_soid_); - } - _this->_impl_.version_ = from._impl_.version_; - // @@protoc_insertion_point(copy_constructor:CMsgSOMultipleObjects) -} - -inline void CMsgSOMultipleObjects::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.objects_modified_){arena} - , decltype(_impl_.owner_soid_){nullptr} - , decltype(_impl_.version_){uint64_t{0u}} - }; -} - -CMsgSOMultipleObjects::~CMsgSOMultipleObjects() { - // @@protoc_insertion_point(destructor:CMsgSOMultipleObjects) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSOMultipleObjects::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.objects_modified_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.owner_soid_; -} - -void CMsgSOMultipleObjects::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSOMultipleObjects::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSOMultipleObjects) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.objects_modified_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.owner_soid_ != nullptr); - _impl_.owner_soid_->Clear(); - } - _impl_.version_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSOMultipleObjects::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CMsgSOMultipleObjects.SingleObject objects_modified = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_objects_modified(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional fixed64 version = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_version(&has_bits); - _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional .CMsgSOIDOwner owner_soid = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_owner_soid(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSOMultipleObjects::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSOMultipleObjects) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CMsgSOMultipleObjects.SingleObject objects_modified = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_objects_modified_size()); i < n; i++) { - const auto& repfield = this->_internal_objects_modified(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 version = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_version(), target); - } - - // optional .CMsgSOIDOwner owner_soid = 6; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::owner_soid(this), - _Internal::owner_soid(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSOMultipleObjects) - return target; -} - -size_t CMsgSOMultipleObjects::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSOMultipleObjects) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSOMultipleObjects.SingleObject objects_modified = 2; - total_size += 1UL * this->_internal_objects_modified_size(); - for (const auto& msg : this->_impl_.objects_modified_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgSOIDOwner owner_soid = 6; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.owner_soid_); - } - - // optional fixed64 version = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOMultipleObjects::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSOMultipleObjects::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOMultipleObjects::GetClassData() const { return &_class_data_; } - - -void CMsgSOMultipleObjects::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSOMultipleObjects) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.objects_modified_.MergeFrom(from._impl_.objects_modified_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_owner_soid()->::CMsgSOIDOwner::MergeFrom( - from._internal_owner_soid()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.version_ = from._impl_.version_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSOMultipleObjects::CopyFrom(const CMsgSOMultipleObjects& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOMultipleObjects) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSOMultipleObjects::IsInitialized() const { - return true; -} - -void CMsgSOMultipleObjects::InternalSwap(CMsgSOMultipleObjects* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.objects_modified_.InternalSwap(&other->_impl_.objects_modified_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSOMultipleObjects, _impl_.version_) - + sizeof(CMsgSOMultipleObjects::_impl_.version_) - - PROTOBUF_FIELD_OFFSET(CMsgSOMultipleObjects, _impl_.owner_soid_)>( - reinterpret_cast(&_impl_.owner_soid_), - reinterpret_cast(&other->_impl_.owner_soid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOMultipleObjects::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[3]); -} - -// =================================================================== - -class CMsgSOCacheSubscribed_SubscribedType::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSOCacheSubscribed_SubscribedType::CMsgSOCacheSubscribed_SubscribedType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSOCacheSubscribed.SubscribedType) -} -CMsgSOCacheSubscribed_SubscribedType::CMsgSOCacheSubscribed_SubscribedType(const CMsgSOCacheSubscribed_SubscribedType& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSOCacheSubscribed_SubscribedType* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.object_data_){from._impl_.object_data_} - , decltype(_impl_.type_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.type_id_ = from._impl_.type_id_; - // @@protoc_insertion_point(copy_constructor:CMsgSOCacheSubscribed.SubscribedType) -} - -inline void CMsgSOCacheSubscribed_SubscribedType::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.object_data_){arena} - , decltype(_impl_.type_id_){0} - }; -} - -CMsgSOCacheSubscribed_SubscribedType::~CMsgSOCacheSubscribed_SubscribedType() { - // @@protoc_insertion_point(destructor:CMsgSOCacheSubscribed.SubscribedType) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSOCacheSubscribed_SubscribedType::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.object_data_.~RepeatedPtrField(); -} - -void CMsgSOCacheSubscribed_SubscribedType::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSOCacheSubscribed_SubscribedType::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSOCacheSubscribed.SubscribedType) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.object_data_.Clear(); - _impl_.type_id_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSOCacheSubscribed_SubscribedType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 type_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_type_id(&has_bits); - _impl_.type_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated bytes object_data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_object_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSOCacheSubscribed_SubscribedType::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSOCacheSubscribed.SubscribedType) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 type_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type_id(), target); - } - - // repeated bytes object_data = 2; - for (int i = 0, n = this->_internal_object_data_size(); i < n; i++) { - const auto& s = this->_internal_object_data(i); - target = stream->WriteBytes(2, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSOCacheSubscribed.SubscribedType) - return target; -} - -size_t CMsgSOCacheSubscribed_SubscribedType::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSOCacheSubscribed.SubscribedType) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated bytes object_data = 2; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.object_data_.size()); - for (int i = 0, n = _impl_.object_data_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - _impl_.object_data_.Get(i)); - } - - // optional int32 type_id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOCacheSubscribed_SubscribedType::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSOCacheSubscribed_SubscribedType::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOCacheSubscribed_SubscribedType::GetClassData() const { return &_class_data_; } - - -void CMsgSOCacheSubscribed_SubscribedType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSOCacheSubscribed.SubscribedType) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.object_data_.MergeFrom(from._impl_.object_data_); - if (from._internal_has_type_id()) { - _this->_internal_set_type_id(from._internal_type_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSOCacheSubscribed_SubscribedType::CopyFrom(const CMsgSOCacheSubscribed_SubscribedType& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOCacheSubscribed.SubscribedType) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSOCacheSubscribed_SubscribedType::IsInitialized() const { - return true; -} - -void CMsgSOCacheSubscribed_SubscribedType::InternalSwap(CMsgSOCacheSubscribed_SubscribedType* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.object_data_.InternalSwap(&other->_impl_.object_data_); - swap(_impl_.type_id_, other->_impl_.type_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOCacheSubscribed_SubscribedType::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[4]); -} - -// =================================================================== - -class CMsgSOCacheSubscribed::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_version(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgSOIDOwner& owner_soid(const CMsgSOCacheSubscribed* msg); - static void set_has_owner_soid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgSOIDOwner& -CMsgSOCacheSubscribed::_Internal::owner_soid(const CMsgSOCacheSubscribed* msg) { - return *msg->_impl_.owner_soid_; -} -CMsgSOCacheSubscribed::CMsgSOCacheSubscribed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSOCacheSubscribed) -} -CMsgSOCacheSubscribed::CMsgSOCacheSubscribed(const CMsgSOCacheSubscribed& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSOCacheSubscribed* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.objects_){from._impl_.objects_} - , decltype(_impl_.owner_soid_){nullptr} - , decltype(_impl_.version_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_owner_soid()) { - _this->_impl_.owner_soid_ = new ::CMsgSOIDOwner(*from._impl_.owner_soid_); - } - _this->_impl_.version_ = from._impl_.version_; - // @@protoc_insertion_point(copy_constructor:CMsgSOCacheSubscribed) -} - -inline void CMsgSOCacheSubscribed::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.objects_){arena} - , decltype(_impl_.owner_soid_){nullptr} - , decltype(_impl_.version_){uint64_t{0u}} - }; -} - -CMsgSOCacheSubscribed::~CMsgSOCacheSubscribed() { - // @@protoc_insertion_point(destructor:CMsgSOCacheSubscribed) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSOCacheSubscribed::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.objects_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.owner_soid_; -} - -void CMsgSOCacheSubscribed::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSOCacheSubscribed::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSOCacheSubscribed) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.objects_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.owner_soid_ != nullptr); - _impl_.owner_soid_->Clear(); - } - _impl_.version_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSOCacheSubscribed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CMsgSOCacheSubscribed.SubscribedType objects = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_objects(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional fixed64 version = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_version(&has_bits); - _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional .CMsgSOIDOwner owner_soid = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_owner_soid(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSOCacheSubscribed::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSOCacheSubscribed) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CMsgSOCacheSubscribed.SubscribedType objects = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_objects_size()); i < n; i++) { - const auto& repfield = this->_internal_objects(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 version = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_version(), target); - } - - // optional .CMsgSOIDOwner owner_soid = 4; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::owner_soid(this), - _Internal::owner_soid(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSOCacheSubscribed) - return target; -} - -size_t CMsgSOCacheSubscribed::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSOCacheSubscribed) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSOCacheSubscribed.SubscribedType objects = 2; - total_size += 1UL * this->_internal_objects_size(); - for (const auto& msg : this->_impl_.objects_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgSOIDOwner owner_soid = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.owner_soid_); - } - - // optional fixed64 version = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOCacheSubscribed::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSOCacheSubscribed::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOCacheSubscribed::GetClassData() const { return &_class_data_; } - - -void CMsgSOCacheSubscribed::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSOCacheSubscribed) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.objects_.MergeFrom(from._impl_.objects_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_owner_soid()->::CMsgSOIDOwner::MergeFrom( - from._internal_owner_soid()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.version_ = from._impl_.version_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSOCacheSubscribed::CopyFrom(const CMsgSOCacheSubscribed& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOCacheSubscribed) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSOCacheSubscribed::IsInitialized() const { - return true; -} - -void CMsgSOCacheSubscribed::InternalSwap(CMsgSOCacheSubscribed* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.objects_.InternalSwap(&other->_impl_.objects_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSOCacheSubscribed, _impl_.version_) - + sizeof(CMsgSOCacheSubscribed::_impl_.version_) - - PROTOBUF_FIELD_OFFSET(CMsgSOCacheSubscribed, _impl_.owner_soid_)>( - reinterpret_cast(&_impl_.owner_soid_), - reinterpret_cast(&other->_impl_.owner_soid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOCacheSubscribed::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[5]); -} - -// =================================================================== - -class CMsgSOCacheUnsubscribed::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSOIDOwner& owner_soid(const CMsgSOCacheUnsubscribed* msg); - static void set_has_owner_soid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgSOIDOwner& -CMsgSOCacheUnsubscribed::_Internal::owner_soid(const CMsgSOCacheUnsubscribed* msg) { - return *msg->_impl_.owner_soid_; -} -CMsgSOCacheUnsubscribed::CMsgSOCacheUnsubscribed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSOCacheUnsubscribed) -} -CMsgSOCacheUnsubscribed::CMsgSOCacheUnsubscribed(const CMsgSOCacheUnsubscribed& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSOCacheUnsubscribed* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.owner_soid_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_owner_soid()) { - _this->_impl_.owner_soid_ = new ::CMsgSOIDOwner(*from._impl_.owner_soid_); - } - // @@protoc_insertion_point(copy_constructor:CMsgSOCacheUnsubscribed) -} - -inline void CMsgSOCacheUnsubscribed::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.owner_soid_){nullptr} - }; -} - -CMsgSOCacheUnsubscribed::~CMsgSOCacheUnsubscribed() { - // @@protoc_insertion_point(destructor:CMsgSOCacheUnsubscribed) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSOCacheUnsubscribed::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.owner_soid_; -} - -void CMsgSOCacheUnsubscribed::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSOCacheUnsubscribed::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSOCacheUnsubscribed) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.owner_soid_ != nullptr); - _impl_.owner_soid_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSOCacheUnsubscribed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSOIDOwner owner_soid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_owner_soid(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSOCacheUnsubscribed::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSOCacheUnsubscribed) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSOIDOwner owner_soid = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::owner_soid(this), - _Internal::owner_soid(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSOCacheUnsubscribed) - return target; -} - -size_t CMsgSOCacheUnsubscribed::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSOCacheUnsubscribed) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CMsgSOIDOwner owner_soid = 2; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.owner_soid_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOCacheUnsubscribed::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSOCacheUnsubscribed::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOCacheUnsubscribed::GetClassData() const { return &_class_data_; } - - -void CMsgSOCacheUnsubscribed::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSOCacheUnsubscribed) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_owner_soid()) { - _this->_internal_mutable_owner_soid()->::CMsgSOIDOwner::MergeFrom( - from._internal_owner_soid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSOCacheUnsubscribed::CopyFrom(const CMsgSOCacheUnsubscribed& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOCacheUnsubscribed) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSOCacheUnsubscribed::IsInitialized() const { - return true; -} - -void CMsgSOCacheUnsubscribed::InternalSwap(CMsgSOCacheUnsubscribed* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.owner_soid_, other->_impl_.owner_soid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOCacheUnsubscribed::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[6]); -} - -// =================================================================== - -class CMsgSOCacheSubscriptionCheck::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_version(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgSOIDOwner& owner_soid(const CMsgSOCacheSubscriptionCheck* msg); - static void set_has_owner_soid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgSOIDOwner& -CMsgSOCacheSubscriptionCheck::_Internal::owner_soid(const CMsgSOCacheSubscriptionCheck* msg) { - return *msg->_impl_.owner_soid_; -} -CMsgSOCacheSubscriptionCheck::CMsgSOCacheSubscriptionCheck(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSOCacheSubscriptionCheck) -} -CMsgSOCacheSubscriptionCheck::CMsgSOCacheSubscriptionCheck(const CMsgSOCacheSubscriptionCheck& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSOCacheSubscriptionCheck* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.owner_soid_){nullptr} - , decltype(_impl_.version_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_owner_soid()) { - _this->_impl_.owner_soid_ = new ::CMsgSOIDOwner(*from._impl_.owner_soid_); - } - _this->_impl_.version_ = from._impl_.version_; - // @@protoc_insertion_point(copy_constructor:CMsgSOCacheSubscriptionCheck) -} - -inline void CMsgSOCacheSubscriptionCheck::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.owner_soid_){nullptr} - , decltype(_impl_.version_){uint64_t{0u}} - }; -} - -CMsgSOCacheSubscriptionCheck::~CMsgSOCacheSubscriptionCheck() { - // @@protoc_insertion_point(destructor:CMsgSOCacheSubscriptionCheck) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSOCacheSubscriptionCheck::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.owner_soid_; -} - -void CMsgSOCacheSubscriptionCheck::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSOCacheSubscriptionCheck::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSOCacheSubscriptionCheck) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.owner_soid_ != nullptr); - _impl_.owner_soid_->Clear(); - } - _impl_.version_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSOCacheSubscriptionCheck::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 version = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_version(&has_bits); - _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional .CMsgSOIDOwner owner_soid = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_owner_soid(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSOCacheSubscriptionCheck::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSOCacheSubscriptionCheck) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 version = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_version(), target); - } - - // optional .CMsgSOIDOwner owner_soid = 3; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::owner_soid(this), - _Internal::owner_soid(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSOCacheSubscriptionCheck) - return target; -} - -size_t CMsgSOCacheSubscriptionCheck::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSOCacheSubscriptionCheck) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgSOIDOwner owner_soid = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.owner_soid_); - } - - // optional fixed64 version = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOCacheSubscriptionCheck::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSOCacheSubscriptionCheck::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOCacheSubscriptionCheck::GetClassData() const { return &_class_data_; } - - -void CMsgSOCacheSubscriptionCheck::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSOCacheSubscriptionCheck) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_owner_soid()->::CMsgSOIDOwner::MergeFrom( - from._internal_owner_soid()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.version_ = from._impl_.version_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSOCacheSubscriptionCheck::CopyFrom(const CMsgSOCacheSubscriptionCheck& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOCacheSubscriptionCheck) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSOCacheSubscriptionCheck::IsInitialized() const { - return true; -} - -void CMsgSOCacheSubscriptionCheck::InternalSwap(CMsgSOCacheSubscriptionCheck* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSOCacheSubscriptionCheck, _impl_.version_) - + sizeof(CMsgSOCacheSubscriptionCheck::_impl_.version_) - - PROTOBUF_FIELD_OFFSET(CMsgSOCacheSubscriptionCheck, _impl_.owner_soid_)>( - reinterpret_cast(&_impl_.owner_soid_), - reinterpret_cast(&other->_impl_.owner_soid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOCacheSubscriptionCheck::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[7]); -} - -// =================================================================== - -class CMsgSOCacheSubscriptionRefresh::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSOIDOwner& owner_soid(const CMsgSOCacheSubscriptionRefresh* msg); - static void set_has_owner_soid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgSOIDOwner& -CMsgSOCacheSubscriptionRefresh::_Internal::owner_soid(const CMsgSOCacheSubscriptionRefresh* msg) { - return *msg->_impl_.owner_soid_; -} -CMsgSOCacheSubscriptionRefresh::CMsgSOCacheSubscriptionRefresh(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSOCacheSubscriptionRefresh) -} -CMsgSOCacheSubscriptionRefresh::CMsgSOCacheSubscriptionRefresh(const CMsgSOCacheSubscriptionRefresh& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSOCacheSubscriptionRefresh* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.owner_soid_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_owner_soid()) { - _this->_impl_.owner_soid_ = new ::CMsgSOIDOwner(*from._impl_.owner_soid_); - } - // @@protoc_insertion_point(copy_constructor:CMsgSOCacheSubscriptionRefresh) -} - -inline void CMsgSOCacheSubscriptionRefresh::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.owner_soid_){nullptr} - }; -} - -CMsgSOCacheSubscriptionRefresh::~CMsgSOCacheSubscriptionRefresh() { - // @@protoc_insertion_point(destructor:CMsgSOCacheSubscriptionRefresh) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSOCacheSubscriptionRefresh::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.owner_soid_; -} - -void CMsgSOCacheSubscriptionRefresh::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSOCacheSubscriptionRefresh::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSOCacheSubscriptionRefresh) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.owner_soid_ != nullptr); - _impl_.owner_soid_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSOCacheSubscriptionRefresh::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSOIDOwner owner_soid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_owner_soid(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSOCacheSubscriptionRefresh::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSOCacheSubscriptionRefresh) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSOIDOwner owner_soid = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::owner_soid(this), - _Internal::owner_soid(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSOCacheSubscriptionRefresh) - return target; -} - -size_t CMsgSOCacheSubscriptionRefresh::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSOCacheSubscriptionRefresh) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CMsgSOIDOwner owner_soid = 2; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.owner_soid_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOCacheSubscriptionRefresh::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSOCacheSubscriptionRefresh::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOCacheSubscriptionRefresh::GetClassData() const { return &_class_data_; } - - -void CMsgSOCacheSubscriptionRefresh::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSOCacheSubscriptionRefresh) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_owner_soid()) { - _this->_internal_mutable_owner_soid()->::CMsgSOIDOwner::MergeFrom( - from._internal_owner_soid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSOCacheSubscriptionRefresh::CopyFrom(const CMsgSOCacheSubscriptionRefresh& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOCacheSubscriptionRefresh) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSOCacheSubscriptionRefresh::IsInitialized() const { - return true; -} - -void CMsgSOCacheSubscriptionRefresh::InternalSwap(CMsgSOCacheSubscriptionRefresh* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.owner_soid_, other->_impl_.owner_soid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOCacheSubscriptionRefresh::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[8]); -} - -// =================================================================== - -class CMsgSOCacheVersion::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_version(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSOCacheVersion::CMsgSOCacheVersion(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSOCacheVersion) -} -CMsgSOCacheVersion::CMsgSOCacheVersion(const CMsgSOCacheVersion& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSOCacheVersion* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.version_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.version_ = from._impl_.version_; - // @@protoc_insertion_point(copy_constructor:CMsgSOCacheVersion) -} - -inline void CMsgSOCacheVersion::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.version_){uint64_t{0u}} - }; -} - -CMsgSOCacheVersion::~CMsgSOCacheVersion() { - // @@protoc_insertion_point(destructor:CMsgSOCacheVersion) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSOCacheVersion::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSOCacheVersion::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSOCacheVersion::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSOCacheVersion) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.version_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSOCacheVersion::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 version = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_version(&has_bits); - _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSOCacheVersion::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSOCacheVersion) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 version = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_version(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSOCacheVersion) - return target; -} - -size_t CMsgSOCacheVersion::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSOCacheVersion) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional fixed64 version = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOCacheVersion::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSOCacheVersion::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOCacheVersion::GetClassData() const { return &_class_data_; } - - -void CMsgSOCacheVersion::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSOCacheVersion) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_version()) { - _this->_internal_set_version(from._internal_version()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSOCacheVersion::CopyFrom(const CMsgSOCacheVersion& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOCacheVersion) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSOCacheVersion::IsInitialized() const { - return true; -} - -void CMsgSOCacheVersion::InternalSwap(CMsgSOCacheVersion* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.version_, other->_impl_.version_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOCacheVersion::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[9]); -} - -// =================================================================== - -class CMsgAccountDetails::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_valid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_account_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_public_profile(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_public_inventory(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_vac_banned(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_cyber_cafe(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_school_account(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_free_trial_account(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_subscribed(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_low_violence(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_limited(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_trusted(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_package(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_time_cached(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_account_locked(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_community_banned(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_trade_banned(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_eligible_for_community_market(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } -}; - -CMsgAccountDetails::CMsgAccountDetails(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgAccountDetails) -} -CMsgAccountDetails::CMsgAccountDetails(const CMsgAccountDetails& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgAccountDetails* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_name_){} - , decltype(_impl_.valid_){} - , decltype(_impl_.public_profile_){} - , decltype(_impl_.public_inventory_){} - , decltype(_impl_.vac_banned_){} - , decltype(_impl_.cyber_cafe_){} - , decltype(_impl_.school_account_){} - , decltype(_impl_.free_trial_account_){} - , decltype(_impl_.subscribed_){} - , decltype(_impl_.low_violence_){} - , decltype(_impl_.limited_){} - , decltype(_impl_.trusted_){} - , decltype(_impl_.account_locked_){} - , decltype(_impl_.package_){} - , decltype(_impl_.time_cached_){} - , decltype(_impl_.community_banned_){} - , decltype(_impl_.trade_banned_){} - , decltype(_impl_.eligible_for_community_market_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.account_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.account_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_account_name()) { - _this->_impl_.account_name_.Set(from._internal_account_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.valid_, &from._impl_.valid_, - static_cast(reinterpret_cast(&_impl_.eligible_for_community_market_) - - reinterpret_cast(&_impl_.valid_)) + sizeof(_impl_.eligible_for_community_market_)); - // @@protoc_insertion_point(copy_constructor:CMsgAccountDetails) -} - -inline void CMsgAccountDetails::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.account_name_){} - , decltype(_impl_.valid_){false} - , decltype(_impl_.public_profile_){false} - , decltype(_impl_.public_inventory_){false} - , decltype(_impl_.vac_banned_){false} - , decltype(_impl_.cyber_cafe_){false} - , decltype(_impl_.school_account_){false} - , decltype(_impl_.free_trial_account_){false} - , decltype(_impl_.subscribed_){false} - , decltype(_impl_.low_violence_){false} - , decltype(_impl_.limited_){false} - , decltype(_impl_.trusted_){false} - , decltype(_impl_.account_locked_){false} - , decltype(_impl_.package_){0u} - , decltype(_impl_.time_cached_){0u} - , decltype(_impl_.community_banned_){false} - , decltype(_impl_.trade_banned_){false} - , decltype(_impl_.eligible_for_community_market_){false} - }; - _impl_.account_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.account_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgAccountDetails::~CMsgAccountDetails() { - // @@protoc_insertion_point(destructor:CMsgAccountDetails) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgAccountDetails::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.account_name_.Destroy(); -} - -void CMsgAccountDetails::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgAccountDetails::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgAccountDetails) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.account_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x000000feu) { - ::memset(&_impl_.valid_, 0, static_cast( - reinterpret_cast(&_impl_.free_trial_account_) - - reinterpret_cast(&_impl_.valid_)) + sizeof(_impl_.free_trial_account_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.subscribed_, 0, static_cast( - reinterpret_cast(&_impl_.community_banned_) - - reinterpret_cast(&_impl_.subscribed_)) + sizeof(_impl_.community_banned_)); - } - if (cached_has_bits & 0x00030000u) { - ::memset(&_impl_.trade_banned_, 0, static_cast( - reinterpret_cast(&_impl_.eligible_for_community_market_) - - reinterpret_cast(&_impl_.trade_banned_)) + sizeof(_impl_.eligible_for_community_market_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgAccountDetails::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool valid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_valid(&has_bits); - _impl_.valid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string account_name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_account_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgAccountDetails.account_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool public_profile = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_public_profile(&has_bits); - _impl_.public_profile_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool public_inventory = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_public_inventory(&has_bits); - _impl_.public_inventory_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool vac_banned = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_vac_banned(&has_bits); - _impl_.vac_banned_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool cyber_cafe = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_cyber_cafe(&has_bits); - _impl_.cyber_cafe_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool school_account = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_school_account(&has_bits); - _impl_.school_account_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool free_trial_account = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_free_trial_account(&has_bits); - _impl_.free_trial_account_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool subscribed = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_subscribed(&has_bits); - _impl_.subscribed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool low_violence = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_low_violence(&has_bits); - _impl_.low_violence_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool limited = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_limited(&has_bits); - _impl_.limited_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool trusted = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_trusted(&has_bits); - _impl_.trusted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 package = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_package(&has_bits); - _impl_.package_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 time_cached = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 125)) { - _Internal::set_has_time_cached(&has_bits); - _impl_.time_cached_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional bool account_locked = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_account_locked(&has_bits); - _impl_.account_locked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool community_banned = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_community_banned(&has_bits); - _impl_.community_banned_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool trade_banned = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_trade_banned(&has_bits); - _impl_.trade_banned_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool eligible_for_community_market = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_eligible_for_community_market(&has_bits); - _impl_.eligible_for_community_market_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgAccountDetails::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgAccountDetails) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool valid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_valid(), target); - } - - // optional string account_name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_account_name().data(), static_cast(this->_internal_account_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgAccountDetails.account_name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_account_name(), target); - } - - // optional bool public_profile = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_public_profile(), target); - } - - // optional bool public_inventory = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_public_inventory(), target); - } - - // optional bool vac_banned = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_vac_banned(), target); - } - - // optional bool cyber_cafe = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_cyber_cafe(), target); - } - - // optional bool school_account = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_school_account(), target); - } - - // optional bool free_trial_account = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_free_trial_account(), target); - } - - // optional bool subscribed = 10; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(10, this->_internal_subscribed(), target); - } - - // optional bool low_violence = 11; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(11, this->_internal_low_violence(), target); - } - - // optional bool limited = 12; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(12, this->_internal_limited(), target); - } - - // optional bool trusted = 13; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(13, this->_internal_trusted(), target); - } - - // optional uint32 package = 14; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_package(), target); - } - - // optional fixed32 time_cached = 15; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(15, this->_internal_time_cached(), target); - } - - // optional bool account_locked = 16; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(16, this->_internal_account_locked(), target); - } - - // optional bool community_banned = 17; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(17, this->_internal_community_banned(), target); - } - - // optional bool trade_banned = 18; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(18, this->_internal_trade_banned(), target); - } - - // optional bool eligible_for_community_market = 19; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(19, this->_internal_eligible_for_community_market(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgAccountDetails) - return target; -} - -size_t CMsgAccountDetails::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgAccountDetails) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string account_name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_account_name()); - } - - // optional bool valid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - // optional bool public_profile = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional bool public_inventory = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - // optional bool vac_banned = 6; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 1; - } - - // optional bool cyber_cafe = 7; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 1; - } - - // optional bool school_account = 8; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 1; - } - - // optional bool free_trial_account = 9; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 1; - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional bool subscribed = 10; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 1; - } - - // optional bool low_violence = 11; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 1; - } - - // optional bool limited = 12; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 1; - } - - // optional bool trusted = 13; - if (cached_has_bits & 0x00000800u) { - total_size += 1 + 1; - } - - // optional bool account_locked = 16; - if (cached_has_bits & 0x00001000u) { - total_size += 2 + 1; - } - - // optional uint32 package = 14; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_package()); - } - - // optional fixed32 time_cached = 15; - if (cached_has_bits & 0x00004000u) { - total_size += 1 + 4; - } - - // optional bool community_banned = 17; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + 1; - } - - } - if (cached_has_bits & 0x00030000u) { - // optional bool trade_banned = 18; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + 1; - } - - // optional bool eligible_for_community_market = 19; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgAccountDetails::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgAccountDetails::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgAccountDetails::GetClassData() const { return &_class_data_; } - - -void CMsgAccountDetails::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgAccountDetails) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_account_name(from._internal_account_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.valid_ = from._impl_.valid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.public_profile_ = from._impl_.public_profile_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.public_inventory_ = from._impl_.public_inventory_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.vac_banned_ = from._impl_.vac_banned_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.cyber_cafe_ = from._impl_.cyber_cafe_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.school_account_ = from._impl_.school_account_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.free_trial_account_ = from._impl_.free_trial_account_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.subscribed_ = from._impl_.subscribed_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.low_violence_ = from._impl_.low_violence_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.limited_ = from._impl_.limited_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.trusted_ = from._impl_.trusted_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.account_locked_ = from._impl_.account_locked_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.package_ = from._impl_.package_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.time_cached_ = from._impl_.time_cached_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.community_banned_ = from._impl_.community_banned_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00030000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.trade_banned_ = from._impl_.trade_banned_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.eligible_for_community_market_ = from._impl_.eligible_for_community_market_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgAccountDetails::CopyFrom(const CMsgAccountDetails& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgAccountDetails) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgAccountDetails::IsInitialized() const { - return true; -} - -void CMsgAccountDetails::InternalSwap(CMsgAccountDetails* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.account_name_, lhs_arena, - &other->_impl_.account_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgAccountDetails, _impl_.eligible_for_community_market_) - + sizeof(CMsgAccountDetails::_impl_.eligible_for_community_market_) - - PROTOBUF_FIELD_OFFSET(CMsgAccountDetails, _impl_.valid_)>( - reinterpret_cast(&_impl_.valid_), - reinterpret_cast(&other->_impl_.valid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgAccountDetails::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[10]); -} - -// =================================================================== - -class CMsgGCMultiplexMessage::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_msgtype(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_payload(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_replytogc(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgGCMultiplexMessage::CMsgGCMultiplexMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCMultiplexMessage) -} -CMsgGCMultiplexMessage::CMsgGCMultiplexMessage(const CMsgGCMultiplexMessage& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCMultiplexMessage* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamids_){from._impl_.steamids_} - , decltype(_impl_.payload_){} - , decltype(_impl_.msgtype_){} - , decltype(_impl_.replytogc_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.payload_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.payload_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_payload()) { - _this->_impl_.payload_.Set(from._internal_payload(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.msgtype_, &from._impl_.msgtype_, - static_cast(reinterpret_cast(&_impl_.replytogc_) - - reinterpret_cast(&_impl_.msgtype_)) + sizeof(_impl_.replytogc_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCMultiplexMessage) -} - -inline void CMsgGCMultiplexMessage::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamids_){arena} - , decltype(_impl_.payload_){} - , decltype(_impl_.msgtype_){0u} - , decltype(_impl_.replytogc_){false} - }; - _impl_.payload_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.payload_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgGCMultiplexMessage::~CMsgGCMultiplexMessage() { - // @@protoc_insertion_point(destructor:CMsgGCMultiplexMessage) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCMultiplexMessage::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.steamids_.~RepeatedField(); - _impl_.payload_.Destroy(); -} - -void CMsgGCMultiplexMessage::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCMultiplexMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCMultiplexMessage) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.steamids_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.payload_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.msgtype_, 0, static_cast( - reinterpret_cast(&_impl_.replytogc_) - - reinterpret_cast(&_impl_.msgtype_)) + sizeof(_impl_.replytogc_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCMultiplexMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 msgtype = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_msgtype(&has_bits); - _impl_.msgtype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes payload = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_payload(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated fixed64 steamids = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_steamids(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint64_t); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<25>(ptr)); - } else if (static_cast(tag) == 26) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed64Parser(_internal_mutable_steamids(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool replytogc = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_replytogc(&has_bits); - _impl_.replytogc_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCMultiplexMessage::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCMultiplexMessage) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 msgtype = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_msgtype(), target); - } - - // optional bytes payload = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_payload(), target); - } - - // repeated fixed64 steamids = 3; - for (int i = 0, n = this->_internal_steamids_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_steamids(i), target); - } - - // optional bool replytogc = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_replytogc(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCMultiplexMessage) - return target; -} - -size_t CMsgGCMultiplexMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCMultiplexMessage) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated fixed64 steamids = 3; - { - unsigned int count = static_cast(this->_internal_steamids_size()); - size_t data_size = 8UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_steamids_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional bytes payload = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_payload()); - } - - // optional uint32 msgtype = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_msgtype()); - } - - // optional bool replytogc = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCMultiplexMessage::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCMultiplexMessage::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCMultiplexMessage::GetClassData() const { return &_class_data_; } - - -void CMsgGCMultiplexMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCMultiplexMessage) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.steamids_.MergeFrom(from._impl_.steamids_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_payload(from._internal_payload()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.msgtype_ = from._impl_.msgtype_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.replytogc_ = from._impl_.replytogc_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCMultiplexMessage::CopyFrom(const CMsgGCMultiplexMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCMultiplexMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCMultiplexMessage::IsInitialized() const { - return true; -} - -void CMsgGCMultiplexMessage::InternalSwap(CMsgGCMultiplexMessage* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.steamids_.InternalSwap(&other->_impl_.steamids_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.payload_, lhs_arena, - &other->_impl_.payload_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCMultiplexMessage, _impl_.replytogc_) - + sizeof(CMsgGCMultiplexMessage::_impl_.replytogc_) - - PROTOBUF_FIELD_OFFSET(CMsgGCMultiplexMessage, _impl_.msgtype_)>( - reinterpret_cast(&_impl_.msgtype_), - reinterpret_cast(&other->_impl_.msgtype_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCMultiplexMessage::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[11]); -} - -// =================================================================== - -class CMsgGCMultiplexMessage_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_msgtype(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCMultiplexMessage_Response::CMsgGCMultiplexMessage_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCMultiplexMessage_Response) -} -CMsgGCMultiplexMessage_Response::CMsgGCMultiplexMessage_Response(const CMsgGCMultiplexMessage_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCMultiplexMessage_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.msgtype_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.msgtype_ = from._impl_.msgtype_; - // @@protoc_insertion_point(copy_constructor:CMsgGCMultiplexMessage_Response) -} - -inline void CMsgGCMultiplexMessage_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.msgtype_){0u} - }; -} - -CMsgGCMultiplexMessage_Response::~CMsgGCMultiplexMessage_Response() { - // @@protoc_insertion_point(destructor:CMsgGCMultiplexMessage_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCMultiplexMessage_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCMultiplexMessage_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCMultiplexMessage_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCMultiplexMessage_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.msgtype_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCMultiplexMessage_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 msgtype = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_msgtype(&has_bits); - _impl_.msgtype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCMultiplexMessage_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCMultiplexMessage_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 msgtype = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_msgtype(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCMultiplexMessage_Response) - return target; -} - -size_t CMsgGCMultiplexMessage_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCMultiplexMessage_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 msgtype = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_msgtype()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCMultiplexMessage_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCMultiplexMessage_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCMultiplexMessage_Response::GetClassData() const { return &_class_data_; } - - -void CMsgGCMultiplexMessage_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCMultiplexMessage_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_msgtype()) { - _this->_internal_set_msgtype(from._internal_msgtype()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCMultiplexMessage_Response::CopyFrom(const CMsgGCMultiplexMessage_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCMultiplexMessage_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCMultiplexMessage_Response::IsInitialized() const { - return true; -} - -void CMsgGCMultiplexMessage_Response::InternalSwap(CMsgGCMultiplexMessage_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.msgtype_, other->_impl_.msgtype_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCMultiplexMessage_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[12]); -} - -// =================================================================== - -class CGCToGCMsgMasterAck::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_dir_index(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_gc_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CGCToGCMsgMasterAck::CGCToGCMsgMasterAck(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CGCToGCMsgMasterAck) -} -CGCToGCMsgMasterAck::CGCToGCMsgMasterAck(const CGCToGCMsgMasterAck& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CGCToGCMsgMasterAck* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.dir_index_){} - , decltype(_impl_.gc_type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.dir_index_, &from._impl_.dir_index_, - static_cast(reinterpret_cast(&_impl_.gc_type_) - - reinterpret_cast(&_impl_.dir_index_)) + sizeof(_impl_.gc_type_)); - // @@protoc_insertion_point(copy_constructor:CGCToGCMsgMasterAck) -} - -inline void CGCToGCMsgMasterAck::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.dir_index_){0u} - , decltype(_impl_.gc_type_){0u} - }; -} - -CGCToGCMsgMasterAck::~CGCToGCMsgMasterAck() { - // @@protoc_insertion_point(destructor:CGCToGCMsgMasterAck) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CGCToGCMsgMasterAck::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CGCToGCMsgMasterAck::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CGCToGCMsgMasterAck::Clear() { -// @@protoc_insertion_point(message_clear_start:CGCToGCMsgMasterAck) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.dir_index_, 0, static_cast( - reinterpret_cast(&_impl_.gc_type_) - - reinterpret_cast(&_impl_.dir_index_)) + sizeof(_impl_.gc_type_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CGCToGCMsgMasterAck::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 dir_index = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_dir_index(&has_bits); - _impl_.dir_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 gc_type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_gc_type(&has_bits); - _impl_.gc_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CGCToGCMsgMasterAck::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CGCToGCMsgMasterAck) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 dir_index = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_dir_index(), target); - } - - // optional uint32 gc_type = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_gc_type(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CGCToGCMsgMasterAck) - return target; -} - -size_t CGCToGCMsgMasterAck::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CGCToGCMsgMasterAck) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 dir_index = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_dir_index()); - } - - // optional uint32 gc_type = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gc_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGCToGCMsgMasterAck::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CGCToGCMsgMasterAck::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGCToGCMsgMasterAck::GetClassData() const { return &_class_data_; } - - -void CGCToGCMsgMasterAck::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CGCToGCMsgMasterAck) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.dir_index_ = from._impl_.dir_index_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.gc_type_ = from._impl_.gc_type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CGCToGCMsgMasterAck::CopyFrom(const CGCToGCMsgMasterAck& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CGCToGCMsgMasterAck) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CGCToGCMsgMasterAck::IsInitialized() const { - return true; -} - -void CGCToGCMsgMasterAck::InternalSwap(CGCToGCMsgMasterAck* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CGCToGCMsgMasterAck, _impl_.gc_type_) - + sizeof(CGCToGCMsgMasterAck::_impl_.gc_type_) - - PROTOBUF_FIELD_OFFSET(CGCToGCMsgMasterAck, _impl_.dir_index_)>( - reinterpret_cast(&_impl_.dir_index_), - reinterpret_cast(&other->_impl_.dir_index_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CGCToGCMsgMasterAck::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[13]); -} - -// =================================================================== - -class CGCToGCMsgMasterAck_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_eresult(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CGCToGCMsgMasterAck_Response::CGCToGCMsgMasterAck_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CGCToGCMsgMasterAck_Response) -} -CGCToGCMsgMasterAck_Response::CGCToGCMsgMasterAck_Response(const CGCToGCMsgMasterAck_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CGCToGCMsgMasterAck_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.eresult_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.eresult_ = from._impl_.eresult_; - // @@protoc_insertion_point(copy_constructor:CGCToGCMsgMasterAck_Response) -} - -inline void CGCToGCMsgMasterAck_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.eresult_){2} - }; -} - -CGCToGCMsgMasterAck_Response::~CGCToGCMsgMasterAck_Response() { - // @@protoc_insertion_point(destructor:CGCToGCMsgMasterAck_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CGCToGCMsgMasterAck_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CGCToGCMsgMasterAck_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CGCToGCMsgMasterAck_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CGCToGCMsgMasterAck_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.eresult_ = 2; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CGCToGCMsgMasterAck_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 eresult = 1 [default = 2]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_eresult(&has_bits); - _impl_.eresult_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CGCToGCMsgMasterAck_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CGCToGCMsgMasterAck_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 eresult = 1 [default = 2]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_eresult(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CGCToGCMsgMasterAck_Response) - return target; -} - -size_t CGCToGCMsgMasterAck_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CGCToGCMsgMasterAck_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 eresult = 1 [default = 2]; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eresult()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGCToGCMsgMasterAck_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CGCToGCMsgMasterAck_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGCToGCMsgMasterAck_Response::GetClassData() const { return &_class_data_; } - - -void CGCToGCMsgMasterAck_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CGCToGCMsgMasterAck_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_eresult()) { - _this->_internal_set_eresult(from._internal_eresult()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CGCToGCMsgMasterAck_Response::CopyFrom(const CGCToGCMsgMasterAck_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CGCToGCMsgMasterAck_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CGCToGCMsgMasterAck_Response::IsInitialized() const { - return true; -} - -void CGCToGCMsgMasterAck_Response::InternalSwap(CGCToGCMsgMasterAck_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.eresult_, other->_impl_.eresult_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CGCToGCMsgMasterAck_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[14]); -} - -// =================================================================== - -class CGCToGCMsgMasterStartupComplete::_Internal { - public: -}; - -CGCToGCMsgMasterStartupComplete::CGCToGCMsgMasterStartupComplete(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CGCToGCMsgMasterStartupComplete) -} -CGCToGCMsgMasterStartupComplete::CGCToGCMsgMasterStartupComplete(const CGCToGCMsgMasterStartupComplete& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CGCToGCMsgMasterStartupComplete* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CGCToGCMsgMasterStartupComplete) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGCToGCMsgMasterStartupComplete::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGCToGCMsgMasterStartupComplete::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CGCToGCMsgMasterStartupComplete::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[15]); -} - -// =================================================================== - -class CGCToGCMsgRouted::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_msg_type(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_sender_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_net_message(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_ip(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CGCToGCMsgRouted::CGCToGCMsgRouted(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CGCToGCMsgRouted) -} -CGCToGCMsgRouted::CGCToGCMsgRouted(const CGCToGCMsgRouted& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CGCToGCMsgRouted* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.net_message_){} - , decltype(_impl_.sender_id_){} - , decltype(_impl_.msg_type_){} - , decltype(_impl_.ip_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.net_message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.net_message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_net_message()) { - _this->_impl_.net_message_.Set(from._internal_net_message(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.sender_id_, &from._impl_.sender_id_, - static_cast(reinterpret_cast(&_impl_.ip_) - - reinterpret_cast(&_impl_.sender_id_)) + sizeof(_impl_.ip_)); - // @@protoc_insertion_point(copy_constructor:CGCToGCMsgRouted) -} - -inline void CGCToGCMsgRouted::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.net_message_){} - , decltype(_impl_.sender_id_){uint64_t{0u}} - , decltype(_impl_.msg_type_){0u} - , decltype(_impl_.ip_){0u} - }; - _impl_.net_message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.net_message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CGCToGCMsgRouted::~CGCToGCMsgRouted() { - // @@protoc_insertion_point(destructor:CGCToGCMsgRouted) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CGCToGCMsgRouted::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.net_message_.Destroy(); -} - -void CGCToGCMsgRouted::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CGCToGCMsgRouted::Clear() { -// @@protoc_insertion_point(message_clear_start:CGCToGCMsgRouted) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.net_message_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.sender_id_, 0, static_cast( - reinterpret_cast(&_impl_.ip_) - - reinterpret_cast(&_impl_.sender_id_)) + sizeof(_impl_.ip_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CGCToGCMsgRouted::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 msg_type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_msg_type(&has_bits); - _impl_.msg_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 sender_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_sender_id(&has_bits); - _impl_.sender_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional bytes net_message = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_net_message(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ip = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_ip(&has_bits); - _impl_.ip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CGCToGCMsgRouted::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CGCToGCMsgRouted) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 msg_type = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_msg_type(), target); - } - - // optional fixed64 sender_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_sender_id(), target); - } - - // optional bytes net_message = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 3, this->_internal_net_message(), target); - } - - // optional uint32 ip = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_ip(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CGCToGCMsgRouted) - return target; -} - -size_t CGCToGCMsgRouted::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CGCToGCMsgRouted) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional bytes net_message = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_net_message()); - } - - // optional fixed64 sender_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - // optional uint32 msg_type = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_msg_type()); - } - - // optional uint32 ip = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ip()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGCToGCMsgRouted::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CGCToGCMsgRouted::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGCToGCMsgRouted::GetClassData() const { return &_class_data_; } - - -void CGCToGCMsgRouted::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CGCToGCMsgRouted) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_net_message(from._internal_net_message()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.sender_id_ = from._impl_.sender_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.msg_type_ = from._impl_.msg_type_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.ip_ = from._impl_.ip_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CGCToGCMsgRouted::CopyFrom(const CGCToGCMsgRouted& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CGCToGCMsgRouted) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CGCToGCMsgRouted::IsInitialized() const { - return true; -} - -void CGCToGCMsgRouted::InternalSwap(CGCToGCMsgRouted* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.net_message_, lhs_arena, - &other->_impl_.net_message_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CGCToGCMsgRouted, _impl_.ip_) - + sizeof(CGCToGCMsgRouted::_impl_.ip_) - - PROTOBUF_FIELD_OFFSET(CGCToGCMsgRouted, _impl_.sender_id_)>( - reinterpret_cast(&_impl_.sender_id_), - reinterpret_cast(&other->_impl_.sender_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CGCToGCMsgRouted::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[16]); -} - -// =================================================================== - -class CGCToGCMsgRoutedReply::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_msg_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_net_message(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CGCToGCMsgRoutedReply::CGCToGCMsgRoutedReply(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CGCToGCMsgRoutedReply) -} -CGCToGCMsgRoutedReply::CGCToGCMsgRoutedReply(const CGCToGCMsgRoutedReply& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CGCToGCMsgRoutedReply* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.net_message_){} - , decltype(_impl_.msg_type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.net_message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.net_message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_net_message()) { - _this->_impl_.net_message_.Set(from._internal_net_message(), - _this->GetArenaForAllocation()); - } - _this->_impl_.msg_type_ = from._impl_.msg_type_; - // @@protoc_insertion_point(copy_constructor:CGCToGCMsgRoutedReply) -} - -inline void CGCToGCMsgRoutedReply::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.net_message_){} - , decltype(_impl_.msg_type_){0u} - }; - _impl_.net_message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.net_message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CGCToGCMsgRoutedReply::~CGCToGCMsgRoutedReply() { - // @@protoc_insertion_point(destructor:CGCToGCMsgRoutedReply) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CGCToGCMsgRoutedReply::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.net_message_.Destroy(); -} - -void CGCToGCMsgRoutedReply::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CGCToGCMsgRoutedReply::Clear() { -// @@protoc_insertion_point(message_clear_start:CGCToGCMsgRoutedReply) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.net_message_.ClearNonDefaultToEmpty(); - } - _impl_.msg_type_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CGCToGCMsgRoutedReply::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 msg_type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_msg_type(&has_bits); - _impl_.msg_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes net_message = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_net_message(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CGCToGCMsgRoutedReply::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CGCToGCMsgRoutedReply) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 msg_type = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_msg_type(), target); - } - - // optional bytes net_message = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_net_message(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CGCToGCMsgRoutedReply) - return target; -} - -size_t CGCToGCMsgRoutedReply::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CGCToGCMsgRoutedReply) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bytes net_message = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_net_message()); - } - - // optional uint32 msg_type = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_msg_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGCToGCMsgRoutedReply::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CGCToGCMsgRoutedReply::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGCToGCMsgRoutedReply::GetClassData() const { return &_class_data_; } - - -void CGCToGCMsgRoutedReply::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CGCToGCMsgRoutedReply) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_net_message(from._internal_net_message()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.msg_type_ = from._impl_.msg_type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CGCToGCMsgRoutedReply::CopyFrom(const CGCToGCMsgRoutedReply& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CGCToGCMsgRoutedReply) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CGCToGCMsgRoutedReply::IsInitialized() const { - return true; -} - -void CGCToGCMsgRoutedReply::InternalSwap(CGCToGCMsgRoutedReply* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.net_message_, lhs_arena, - &other->_impl_.net_message_, rhs_arena - ); - swap(_impl_.msg_type_, other->_impl_.msg_type_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CGCToGCMsgRoutedReply::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[17]); -} - -// =================================================================== - -class CMsgGCUpdateSessionIP::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_ip(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgGCUpdateSessionIP::CMsgGCUpdateSessionIP(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCUpdateSessionIP) -} -CMsgGCUpdateSessionIP::CMsgGCUpdateSessionIP(const CMsgGCUpdateSessionIP& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCUpdateSessionIP* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){} - , decltype(_impl_.ip_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, - static_cast(reinterpret_cast(&_impl_.ip_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.ip_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCUpdateSessionIP) -} - -inline void CMsgGCUpdateSessionIP::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.ip_){0u} - }; -} - -CMsgGCUpdateSessionIP::~CMsgGCUpdateSessionIP() { - // @@protoc_insertion_point(destructor:CMsgGCUpdateSessionIP) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCUpdateSessionIP::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCUpdateSessionIP::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCUpdateSessionIP::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCUpdateSessionIP) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.steamid_, 0, static_cast( - reinterpret_cast(&_impl_.ip_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.ip_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCUpdateSessionIP::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 steamid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional fixed32 ip = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_ip(&has_bits); - _impl_.ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCUpdateSessionIP::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCUpdateSessionIP) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 steamid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); - } - - // optional fixed32 ip = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_ip(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCUpdateSessionIP) - return target; -} - -size_t CMsgGCUpdateSessionIP::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCUpdateSessionIP) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional fixed64 steamid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - // optional fixed32 ip = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCUpdateSessionIP::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCUpdateSessionIP::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCUpdateSessionIP::GetClassData() const { return &_class_data_; } - - -void CMsgGCUpdateSessionIP::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCUpdateSessionIP) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.ip_ = from._impl_.ip_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCUpdateSessionIP::CopyFrom(const CMsgGCUpdateSessionIP& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCUpdateSessionIP) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCUpdateSessionIP::IsInitialized() const { - return true; -} - -void CMsgGCUpdateSessionIP::InternalSwap(CMsgGCUpdateSessionIP* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCUpdateSessionIP, _impl_.ip_) - + sizeof(CMsgGCUpdateSessionIP::_impl_.ip_) - - PROTOBUF_FIELD_OFFSET(CMsgGCUpdateSessionIP, _impl_.steamid_)>( - reinterpret_cast(&_impl_.steamid_), - reinterpret_cast(&other->_impl_.steamid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCUpdateSessionIP::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[18]); -} - -// =================================================================== - -class CMsgGCRequestSessionIP::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCRequestSessionIP::CMsgGCRequestSessionIP(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCRequestSessionIP) -} -CMsgGCRequestSessionIP::CMsgGCRequestSessionIP(const CMsgGCRequestSessionIP& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCRequestSessionIP* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.steamid_ = from._impl_.steamid_; - // @@protoc_insertion_point(copy_constructor:CMsgGCRequestSessionIP) -} - -inline void CMsgGCRequestSessionIP::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){uint64_t{0u}} - }; -} - -CMsgGCRequestSessionIP::~CMsgGCRequestSessionIP() { - // @@protoc_insertion_point(destructor:CMsgGCRequestSessionIP) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCRequestSessionIP::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCRequestSessionIP::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCRequestSessionIP::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCRequestSessionIP) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCRequestSessionIP::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 steamid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCRequestSessionIP::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCRequestSessionIP) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 steamid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCRequestSessionIP) - return target; -} - -size_t CMsgGCRequestSessionIP::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCRequestSessionIP) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional fixed64 steamid = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCRequestSessionIP::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCRequestSessionIP::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCRequestSessionIP::GetClassData() const { return &_class_data_; } - - -void CMsgGCRequestSessionIP::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCRequestSessionIP) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_steamid()) { - _this->_internal_set_steamid(from._internal_steamid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCRequestSessionIP::CopyFrom(const CMsgGCRequestSessionIP& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCRequestSessionIP) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCRequestSessionIP::IsInitialized() const { - return true; -} - -void CMsgGCRequestSessionIP::InternalSwap(CMsgGCRequestSessionIP* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.steamid_, other->_impl_.steamid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCRequestSessionIP::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[19]); -} - -// =================================================================== - -class CMsgGCRequestSessionIPResponse::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ip(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgGCRequestSessionIPResponse::CMsgGCRequestSessionIPResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCRequestSessionIPResponse) -} -CMsgGCRequestSessionIPResponse::CMsgGCRequestSessionIPResponse(const CMsgGCRequestSessionIPResponse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCRequestSessionIPResponse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ip_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.ip_ = from._impl_.ip_; - // @@protoc_insertion_point(copy_constructor:CMsgGCRequestSessionIPResponse) -} - -inline void CMsgGCRequestSessionIPResponse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ip_){0u} - }; -} - -CMsgGCRequestSessionIPResponse::~CMsgGCRequestSessionIPResponse() { - // @@protoc_insertion_point(destructor:CMsgGCRequestSessionIPResponse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCRequestSessionIPResponse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCRequestSessionIPResponse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCRequestSessionIPResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCRequestSessionIPResponse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.ip_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCRequestSessionIPResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 ip = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_ip(&has_bits); - _impl_.ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCRequestSessionIPResponse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCRequestSessionIPResponse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 ip = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_ip(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCRequestSessionIPResponse) - return target; -} - -size_t CMsgGCRequestSessionIPResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCRequestSessionIPResponse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional fixed32 ip = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCRequestSessionIPResponse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCRequestSessionIPResponse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCRequestSessionIPResponse::GetClassData() const { return &_class_data_; } - - -void CMsgGCRequestSessionIPResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCRequestSessionIPResponse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_ip()) { - _this->_internal_set_ip(from._internal_ip()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCRequestSessionIPResponse::CopyFrom(const CMsgGCRequestSessionIPResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCRequestSessionIPResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCRequestSessionIPResponse::IsInitialized() const { - return true; -} - -void CMsgGCRequestSessionIPResponse::InternalSwap(CMsgGCRequestSessionIPResponse* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.ip_, other->_impl_.ip_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCRequestSessionIPResponse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[20]); -} - -// =================================================================== - -class CMsgSOCacheHaveVersion::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSOIDOwner& soid(const CMsgSOCacheHaveVersion* msg); - static void set_has_soid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_version(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgSOIDOwner& -CMsgSOCacheHaveVersion::_Internal::soid(const CMsgSOCacheHaveVersion* msg) { - return *msg->_impl_.soid_; -} -CMsgSOCacheHaveVersion::CMsgSOCacheHaveVersion(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSOCacheHaveVersion) -} -CMsgSOCacheHaveVersion::CMsgSOCacheHaveVersion(const CMsgSOCacheHaveVersion& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSOCacheHaveVersion* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.soid_){nullptr} - , decltype(_impl_.version_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_soid()) { - _this->_impl_.soid_ = new ::CMsgSOIDOwner(*from._impl_.soid_); - } - _this->_impl_.version_ = from._impl_.version_; - // @@protoc_insertion_point(copy_constructor:CMsgSOCacheHaveVersion) -} - -inline void CMsgSOCacheHaveVersion::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.soid_){nullptr} - , decltype(_impl_.version_){uint64_t{0u}} - }; -} - -CMsgSOCacheHaveVersion::~CMsgSOCacheHaveVersion() { - // @@protoc_insertion_point(destructor:CMsgSOCacheHaveVersion) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSOCacheHaveVersion::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.soid_; -} - -void CMsgSOCacheHaveVersion::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSOCacheHaveVersion::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSOCacheHaveVersion) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.soid_ != nullptr); - _impl_.soid_->Clear(); - } - _impl_.version_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSOCacheHaveVersion::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSOIDOwner soid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_soid(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 version = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_version(&has_bits); - _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSOCacheHaveVersion::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSOCacheHaveVersion) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSOIDOwner soid = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::soid(this), - _Internal::soid(this).GetCachedSize(), target, stream); - } - - // optional fixed64 version = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_version(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSOCacheHaveVersion) - return target; -} - -size_t CMsgSOCacheHaveVersion::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSOCacheHaveVersion) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgSOIDOwner soid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.soid_); - } - - // optional fixed64 version = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSOCacheHaveVersion::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSOCacheHaveVersion::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSOCacheHaveVersion::GetClassData() const { return &_class_data_; } - - -void CMsgSOCacheHaveVersion::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSOCacheHaveVersion) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_soid()->::CMsgSOIDOwner::MergeFrom( - from._internal_soid()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.version_ = from._impl_.version_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSOCacheHaveVersion::CopyFrom(const CMsgSOCacheHaveVersion& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSOCacheHaveVersion) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSOCacheHaveVersion::IsInitialized() const { - return true; -} - -void CMsgSOCacheHaveVersion::InternalSwap(CMsgSOCacheHaveVersion* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSOCacheHaveVersion, _impl_.version_) - + sizeof(CMsgSOCacheHaveVersion::_impl_.version_) - - PROTOBUF_FIELD_OFFSET(CMsgSOCacheHaveVersion, _impl_.soid_)>( - reinterpret_cast(&_impl_.soid_), - reinterpret_cast(&other->_impl_.soid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSOCacheHaveVersion::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[21]); -} - -// =================================================================== - -class CMsgClientHello::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_version(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_client_session_need(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_client_launcher(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_partner_srcid(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_partner_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_partner_accountflags(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_partner_accountbalance(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_steam_launcher(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } -}; - -CMsgClientHello::CMsgClientHello(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgClientHello) -} -CMsgClientHello::CMsgClientHello(const CMsgClientHello& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgClientHello* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.socache_have_versions_){from._impl_.socache_have_versions_} - , decltype(_impl_.version_){} - , decltype(_impl_.client_session_need_){} - , decltype(_impl_.client_launcher_){} - , decltype(_impl_.partner_srcid_){} - , decltype(_impl_.partner_accountid_){} - , decltype(_impl_.partner_accountflags_){} - , decltype(_impl_.partner_accountbalance_){} - , decltype(_impl_.steam_launcher_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.version_, &from._impl_.version_, - static_cast(reinterpret_cast(&_impl_.steam_launcher_) - - reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.steam_launcher_)); - // @@protoc_insertion_point(copy_constructor:CMsgClientHello) -} - -inline void CMsgClientHello::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.socache_have_versions_){arena} - , decltype(_impl_.version_){0u} - , decltype(_impl_.client_session_need_){0u} - , decltype(_impl_.client_launcher_){0u} - , decltype(_impl_.partner_srcid_){0u} - , decltype(_impl_.partner_accountid_){0u} - , decltype(_impl_.partner_accountflags_){0u} - , decltype(_impl_.partner_accountbalance_){0u} - , decltype(_impl_.steam_launcher_){0u} - }; -} - -CMsgClientHello::~CMsgClientHello() { - // @@protoc_insertion_point(destructor:CMsgClientHello) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgClientHello::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.socache_have_versions_.~RepeatedPtrField(); -} - -void CMsgClientHello::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgClientHello::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgClientHello) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.socache_have_versions_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.version_, 0, static_cast( - reinterpret_cast(&_impl_.steam_launcher_) - - reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.steam_launcher_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgClientHello::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 version = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_version(&has_bits); - _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_socache_have_versions(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 client_session_need = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_client_session_need(&has_bits); - _impl_.client_session_need_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 client_launcher = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_client_launcher(&has_bits); - _impl_.client_launcher_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 partner_srcid = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_partner_srcid(&has_bits); - _impl_.partner_srcid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 partner_accountid = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_partner_accountid(&has_bits); - _impl_.partner_accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 partner_accountflags = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_partner_accountflags(&has_bits); - _impl_.partner_accountflags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 partner_accountbalance = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_partner_accountbalance(&has_bits); - _impl_.partner_accountbalance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 steam_launcher = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_steam_launcher(&has_bits); - _impl_.steam_launcher_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgClientHello::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgClientHello) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 version = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_version(), target); - } - - // repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_socache_have_versions_size()); i < n; i++) { - const auto& repfield = this->_internal_socache_have_versions(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 client_session_need = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_client_session_need(), target); - } - - // optional uint32 client_launcher = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_client_launcher(), target); - } - - // optional uint32 partner_srcid = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_partner_srcid(), target); - } - - // optional uint32 partner_accountid = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_partner_accountid(), target); - } - - // optional uint32 partner_accountflags = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_partner_accountflags(), target); - } - - // optional uint32 partner_accountbalance = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_partner_accountbalance(), target); - } - - // optional uint32 steam_launcher = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_steam_launcher(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgClientHello) - return target; -} - -size_t CMsgClientHello::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgClientHello) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; - total_size += 1UL * this->_internal_socache_have_versions_size(); - for (const auto& msg : this->_impl_.socache_have_versions_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional uint32 version = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_version()); - } - - // optional uint32 client_session_need = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_session_need()); - } - - // optional uint32 client_launcher = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_launcher()); - } - - // optional uint32 partner_srcid = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_partner_srcid()); - } - - // optional uint32 partner_accountid = 6; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_partner_accountid()); - } - - // optional uint32 partner_accountflags = 7; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_partner_accountflags()); - } - - // optional uint32 partner_accountbalance = 8; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_partner_accountbalance()); - } - - // optional uint32 steam_launcher = 9; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_steam_launcher()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgClientHello::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgClientHello::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgClientHello::GetClassData() const { return &_class_data_; } - - -void CMsgClientHello::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgClientHello) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.socache_have_versions_.MergeFrom(from._impl_.socache_have_versions_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.version_ = from._impl_.version_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.client_session_need_ = from._impl_.client_session_need_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.client_launcher_ = from._impl_.client_launcher_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.partner_srcid_ = from._impl_.partner_srcid_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.partner_accountid_ = from._impl_.partner_accountid_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.partner_accountflags_ = from._impl_.partner_accountflags_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.partner_accountbalance_ = from._impl_.partner_accountbalance_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.steam_launcher_ = from._impl_.steam_launcher_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgClientHello::CopyFrom(const CMsgClientHello& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgClientHello) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgClientHello::IsInitialized() const { - return true; -} - -void CMsgClientHello::InternalSwap(CMsgClientHello* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.socache_have_versions_.InternalSwap(&other->_impl_.socache_have_versions_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgClientHello, _impl_.steam_launcher_) - + sizeof(CMsgClientHello::_impl_.steam_launcher_) - - PROTOBUF_FIELD_OFFSET(CMsgClientHello, _impl_.version_)>( - reinterpret_cast(&_impl_.version_), - reinterpret_cast(&other->_impl_.version_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgClientHello::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[22]); -} - -// =================================================================== - -class CMsgServerHello::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_version(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_legacy_client_session_need(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_client_launcher(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_legacy_steamdatagram_routing(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_required_internal_addr(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_steamdatagram_login(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_socache_control(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } -}; - -CMsgServerHello::CMsgServerHello(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgServerHello) -} -CMsgServerHello::CMsgServerHello(const CMsgServerHello& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgServerHello* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.socache_have_versions_){from._impl_.socache_have_versions_} - , decltype(_impl_.legacy_steamdatagram_routing_){} - , decltype(_impl_.steamdatagram_login_){} - , decltype(_impl_.version_){} - , decltype(_impl_.legacy_client_session_need_){} - , decltype(_impl_.client_launcher_){} - , decltype(_impl_.required_internal_addr_){} - , decltype(_impl_.socache_control_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.legacy_steamdatagram_routing_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.legacy_steamdatagram_routing_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_legacy_steamdatagram_routing()) { - _this->_impl_.legacy_steamdatagram_routing_.Set(from._internal_legacy_steamdatagram_routing(), - _this->GetArenaForAllocation()); - } - _impl_.steamdatagram_login_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.steamdatagram_login_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_steamdatagram_login()) { - _this->_impl_.steamdatagram_login_.Set(from._internal_steamdatagram_login(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.version_, &from._impl_.version_, - static_cast(reinterpret_cast(&_impl_.socache_control_) - - reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.socache_control_)); - // @@protoc_insertion_point(copy_constructor:CMsgServerHello) -} - -inline void CMsgServerHello::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.socache_have_versions_){arena} - , decltype(_impl_.legacy_steamdatagram_routing_){} - , decltype(_impl_.steamdatagram_login_){} - , decltype(_impl_.version_){0u} - , decltype(_impl_.legacy_client_session_need_){0u} - , decltype(_impl_.client_launcher_){0u} - , decltype(_impl_.required_internal_addr_){0u} - , decltype(_impl_.socache_control_){0u} - }; - _impl_.legacy_steamdatagram_routing_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.legacy_steamdatagram_routing_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.steamdatagram_login_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.steamdatagram_login_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgServerHello::~CMsgServerHello() { - // @@protoc_insertion_point(destructor:CMsgServerHello) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgServerHello::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.socache_have_versions_.~RepeatedPtrField(); - _impl_.legacy_steamdatagram_routing_.Destroy(); - _impl_.steamdatagram_login_.Destroy(); -} - -void CMsgServerHello::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgServerHello::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgServerHello) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.socache_have_versions_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.legacy_steamdatagram_routing_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.steamdatagram_login_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000007cu) { - ::memset(&_impl_.version_, 0, static_cast( - reinterpret_cast(&_impl_.socache_control_) - - reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.socache_control_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgServerHello::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 version = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_version(&has_bits); - _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_socache_have_versions(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 legacy_client_session_need = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_legacy_client_session_need(&has_bits); - _impl_.legacy_client_session_need_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 client_launcher = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_client_launcher(&has_bits); - _impl_.client_launcher_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes legacy_steamdatagram_routing = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_legacy_steamdatagram_routing(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 required_internal_addr = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_required_internal_addr(&has_bits); - _impl_.required_internal_addr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes steamdatagram_login = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_steamdatagram_login(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 socache_control = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_socache_control(&has_bits); - _impl_.socache_control_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgServerHello::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgServerHello) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 version = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_version(), target); - } - - // repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_socache_have_versions_size()); i < n; i++) { - const auto& repfield = this->_internal_socache_have_versions(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 legacy_client_session_need = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_legacy_client_session_need(), target); - } - - // optional uint32 client_launcher = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_client_launcher(), target); - } - - // optional bytes legacy_steamdatagram_routing = 6; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 6, this->_internal_legacy_steamdatagram_routing(), target); - } - - // optional uint32 required_internal_addr = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_required_internal_addr(), target); - } - - // optional bytes steamdatagram_login = 8; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 8, this->_internal_steamdatagram_login(), target); - } - - // optional uint32 socache_control = 9; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_socache_control(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgServerHello) - return target; -} - -size_t CMsgServerHello::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgServerHello) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; - total_size += 1UL * this->_internal_socache_have_versions_size(); - for (const auto& msg : this->_impl_.socache_have_versions_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional bytes legacy_steamdatagram_routing = 6; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_legacy_steamdatagram_routing()); - } - - // optional bytes steamdatagram_login = 8; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_steamdatagram_login()); - } - - // optional uint32 version = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_version()); - } - - // optional uint32 legacy_client_session_need = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_legacy_client_session_need()); - } - - // optional uint32 client_launcher = 4; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_launcher()); - } - - // optional uint32 required_internal_addr = 7; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_required_internal_addr()); - } - - // optional uint32 socache_control = 9; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_socache_control()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgServerHello::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgServerHello::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgServerHello::GetClassData() const { return &_class_data_; } - - -void CMsgServerHello::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgServerHello) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.socache_have_versions_.MergeFrom(from._impl_.socache_have_versions_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_legacy_steamdatagram_routing(from._internal_legacy_steamdatagram_routing()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_steamdatagram_login(from._internal_steamdatagram_login()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.version_ = from._impl_.version_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.legacy_client_session_need_ = from._impl_.legacy_client_session_need_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.client_launcher_ = from._impl_.client_launcher_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.required_internal_addr_ = from._impl_.required_internal_addr_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.socache_control_ = from._impl_.socache_control_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgServerHello::CopyFrom(const CMsgServerHello& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgServerHello) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgServerHello::IsInitialized() const { - return true; -} - -void CMsgServerHello::InternalSwap(CMsgServerHello* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.socache_have_versions_.InternalSwap(&other->_impl_.socache_have_versions_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.legacy_steamdatagram_routing_, lhs_arena, - &other->_impl_.legacy_steamdatagram_routing_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.steamdatagram_login_, lhs_arena, - &other->_impl_.steamdatagram_login_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgServerHello, _impl_.socache_control_) - + sizeof(CMsgServerHello::_impl_.socache_control_) - - PROTOBUF_FIELD_OFFSET(CMsgServerHello, _impl_.version_)>( - reinterpret_cast(&_impl_.version_), - reinterpret_cast(&other->_impl_.version_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerHello::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[23]); -} - -// =================================================================== - -class CMsgClientWelcome_Location::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_latitude(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_longitude(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_country(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgClientWelcome_Location::CMsgClientWelcome_Location(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgClientWelcome.Location) -} -CMsgClientWelcome_Location::CMsgClientWelcome_Location(const CMsgClientWelcome_Location& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgClientWelcome_Location* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.country_){} - , decltype(_impl_.latitude_){} - , decltype(_impl_.longitude_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.country_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.country_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_country()) { - _this->_impl_.country_.Set(from._internal_country(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.latitude_, &from._impl_.latitude_, - static_cast(reinterpret_cast(&_impl_.longitude_) - - reinterpret_cast(&_impl_.latitude_)) + sizeof(_impl_.longitude_)); - // @@protoc_insertion_point(copy_constructor:CMsgClientWelcome.Location) -} - -inline void CMsgClientWelcome_Location::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.country_){} - , decltype(_impl_.latitude_){0} - , decltype(_impl_.longitude_){0} - }; - _impl_.country_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.country_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgClientWelcome_Location::~CMsgClientWelcome_Location() { - // @@protoc_insertion_point(destructor:CMsgClientWelcome.Location) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgClientWelcome_Location::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.country_.Destroy(); -} - -void CMsgClientWelcome_Location::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgClientWelcome_Location::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgClientWelcome.Location) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.country_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.latitude_, 0, static_cast( - reinterpret_cast(&_impl_.longitude_) - - reinterpret_cast(&_impl_.latitude_)) + sizeof(_impl_.longitude_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgClientWelcome_Location::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float latitude = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_latitude(&has_bits); - _impl_.latitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float longitude = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_longitude(&has_bits); - _impl_.longitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional string country = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_country(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgClientWelcome.Location.country"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgClientWelcome_Location::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgClientWelcome.Location) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float latitude = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_latitude(), target); - } - - // optional float longitude = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_longitude(), target); - } - - // optional string country = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_country().data(), static_cast(this->_internal_country().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgClientWelcome.Location.country"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_country(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgClientWelcome.Location) - return target; -} - -size_t CMsgClientWelcome_Location::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgClientWelcome.Location) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string country = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_country()); - } - - // optional float latitude = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float longitude = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgClientWelcome_Location::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgClientWelcome_Location::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgClientWelcome_Location::GetClassData() const { return &_class_data_; } - - -void CMsgClientWelcome_Location::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgClientWelcome.Location) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_country(from._internal_country()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.latitude_ = from._impl_.latitude_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.longitude_ = from._impl_.longitude_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgClientWelcome_Location::CopyFrom(const CMsgClientWelcome_Location& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgClientWelcome.Location) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgClientWelcome_Location::IsInitialized() const { - return true; -} - -void CMsgClientWelcome_Location::InternalSwap(CMsgClientWelcome_Location* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.country_, lhs_arena, - &other->_impl_.country_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgClientWelcome_Location, _impl_.longitude_) - + sizeof(CMsgClientWelcome_Location::_impl_.longitude_) - - PROTOBUF_FIELD_OFFSET(CMsgClientWelcome_Location, _impl_.latitude_)>( - reinterpret_cast(&_impl_.latitude_), - reinterpret_cast(&other->_impl_.latitude_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgClientWelcome_Location::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[24]); -} - -// =================================================================== - -class CMsgClientWelcome::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_version(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_game_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgClientWelcome_Location& location(const CMsgClientWelcome* msg); - static void set_has_location(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_game_data2(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_rtime32_gc_welcome_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_currency(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_balance(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_balance_url(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_txn_country_code(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::CMsgClientWelcome_Location& -CMsgClientWelcome::_Internal::location(const CMsgClientWelcome* msg) { - return *msg->_impl_.location_; -} -CMsgClientWelcome::CMsgClientWelcome(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgClientWelcome) -} -CMsgClientWelcome::CMsgClientWelcome(const CMsgClientWelcome& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgClientWelcome* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.outofdate_subscribed_caches_){from._impl_.outofdate_subscribed_caches_} - , decltype(_impl_.uptodate_subscribed_caches_){from._impl_.uptodate_subscribed_caches_} - , decltype(_impl_.game_data_){} - , decltype(_impl_.game_data2_){} - , decltype(_impl_.balance_url_){} - , decltype(_impl_.txn_country_code_){} - , decltype(_impl_.location_){nullptr} - , decltype(_impl_.version_){} - , decltype(_impl_.rtime32_gc_welcome_timestamp_){} - , decltype(_impl_.currency_){} - , decltype(_impl_.balance_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.game_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_game_data()) { - _this->_impl_.game_data_.Set(from._internal_game_data(), - _this->GetArenaForAllocation()); - } - _impl_.game_data2_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_data2_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_game_data2()) { - _this->_impl_.game_data2_.Set(from._internal_game_data2(), - _this->GetArenaForAllocation()); - } - _impl_.balance_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.balance_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_balance_url()) { - _this->_impl_.balance_url_.Set(from._internal_balance_url(), - _this->GetArenaForAllocation()); - } - _impl_.txn_country_code_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.txn_country_code_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_txn_country_code()) { - _this->_impl_.txn_country_code_.Set(from._internal_txn_country_code(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_location()) { - _this->_impl_.location_ = new ::CMsgClientWelcome_Location(*from._impl_.location_); - } - ::memcpy(&_impl_.version_, &from._impl_.version_, - static_cast(reinterpret_cast(&_impl_.balance_) - - reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.balance_)); - // @@protoc_insertion_point(copy_constructor:CMsgClientWelcome) -} - -inline void CMsgClientWelcome::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.outofdate_subscribed_caches_){arena} - , decltype(_impl_.uptodate_subscribed_caches_){arena} - , decltype(_impl_.game_data_){} - , decltype(_impl_.game_data2_){} - , decltype(_impl_.balance_url_){} - , decltype(_impl_.txn_country_code_){} - , decltype(_impl_.location_){nullptr} - , decltype(_impl_.version_){0u} - , decltype(_impl_.rtime32_gc_welcome_timestamp_){0u} - , decltype(_impl_.currency_){0u} - , decltype(_impl_.balance_){0u} - }; - _impl_.game_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_data2_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_data2_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.balance_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.balance_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.txn_country_code_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.txn_country_code_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgClientWelcome::~CMsgClientWelcome() { - // @@protoc_insertion_point(destructor:CMsgClientWelcome) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgClientWelcome::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.outofdate_subscribed_caches_.~RepeatedPtrField(); - _impl_.uptodate_subscribed_caches_.~RepeatedPtrField(); - _impl_.game_data_.Destroy(); - _impl_.game_data2_.Destroy(); - _impl_.balance_url_.Destroy(); - _impl_.txn_country_code_.Destroy(); - if (this != internal_default_instance()) delete _impl_.location_; -} - -void CMsgClientWelcome::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgClientWelcome::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgClientWelcome) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.outofdate_subscribed_caches_.Clear(); - _impl_.uptodate_subscribed_caches_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.game_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.game_data2_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.balance_url_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.txn_country_code_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(_impl_.location_ != nullptr); - _impl_.location_->Clear(); - } - } - if (cached_has_bits & 0x000000e0u) { - ::memset(&_impl_.version_, 0, static_cast( - reinterpret_cast(&_impl_.currency_) - - reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.currency_)); - } - _impl_.balance_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgClientWelcome::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 version = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_version(&has_bits); - _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes game_data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_game_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_outofdate_subscribed_caches(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_uptodate_subscribed_caches(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - // optional .CMsgClientWelcome.Location location = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_location(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes game_data2 = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_game_data2(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 rtime32_gc_welcome_timestamp = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_rtime32_gc_welcome_timestamp(&has_bits); - _impl_.rtime32_gc_welcome_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 currency = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_currency(&has_bits); - _impl_.currency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 balance = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_balance(&has_bits); - _impl_.balance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string balance_url = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_balance_url(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgClientWelcome.balance_url"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string txn_country_code = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_txn_country_code(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgClientWelcome.txn_country_code"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgClientWelcome::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgClientWelcome) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 version = 1; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_version(), target); - } - - // optional bytes game_data = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_game_data(), target); - } - - // repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_outofdate_subscribed_caches_size()); i < n; i++) { - const auto& repfield = this->_internal_outofdate_subscribed_caches(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; - for (unsigned i = 0, - n = static_cast(this->_internal_uptodate_subscribed_caches_size()); i < n; i++) { - const auto& repfield = this->_internal_uptodate_subscribed_caches(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional .CMsgClientWelcome.Location location = 5; - if (cached_has_bits & 0x00000010u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::location(this), - _Internal::location(this).GetCachedSize(), target, stream); - } - - // optional bytes game_data2 = 6; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 6, this->_internal_game_data2(), target); - } - - // optional uint32 rtime32_gc_welcome_timestamp = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_rtime32_gc_welcome_timestamp(), target); - } - - // optional uint32 currency = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_currency(), target); - } - - // optional uint32 balance = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_balance(), target); - } - - // optional string balance_url = 10; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_balance_url().data(), static_cast(this->_internal_balance_url().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgClientWelcome.balance_url"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_balance_url(), target); - } - - // optional string txn_country_code = 11; - if (cached_has_bits & 0x00000008u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_txn_country_code().data(), static_cast(this->_internal_txn_country_code().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgClientWelcome.txn_country_code"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_txn_country_code(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgClientWelcome) - return target; -} - -size_t CMsgClientWelcome::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgClientWelcome) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; - total_size += 1UL * this->_internal_outofdate_subscribed_caches_size(); - for (const auto& msg : this->_impl_.outofdate_subscribed_caches_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; - total_size += 1UL * this->_internal_uptodate_subscribed_caches_size(); - for (const auto& msg : this->_impl_.uptodate_subscribed_caches_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bytes game_data = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_game_data()); - } - - // optional bytes game_data2 = 6; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_game_data2()); - } - - // optional string balance_url = 10; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_balance_url()); - } - - // optional string txn_country_code = 11; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_txn_country_code()); - } - - // optional .CMsgClientWelcome.Location location = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.location_); - } - - // optional uint32 version = 1; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_version()); - } - - // optional uint32 rtime32_gc_welcome_timestamp = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rtime32_gc_welcome_timestamp()); - } - - // optional uint32 currency = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_currency()); - } - - } - // optional uint32 balance = 9; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_balance()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgClientWelcome::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgClientWelcome::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgClientWelcome::GetClassData() const { return &_class_data_; } - - -void CMsgClientWelcome::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgClientWelcome) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.outofdate_subscribed_caches_.MergeFrom(from._impl_.outofdate_subscribed_caches_); - _this->_impl_.uptodate_subscribed_caches_.MergeFrom(from._impl_.uptodate_subscribed_caches_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_game_data(from._internal_game_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_game_data2(from._internal_game_data2()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_balance_url(from._internal_balance_url()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_txn_country_code(from._internal_txn_country_code()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_mutable_location()->::CMsgClientWelcome_Location::MergeFrom( - from._internal_location()); - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.version_ = from._impl_.version_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.rtime32_gc_welcome_timestamp_ = from._impl_.rtime32_gc_welcome_timestamp_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.currency_ = from._impl_.currency_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_balance(from._internal_balance()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgClientWelcome::CopyFrom(const CMsgClientWelcome& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgClientWelcome) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgClientWelcome::IsInitialized() const { - return true; -} - -void CMsgClientWelcome::InternalSwap(CMsgClientWelcome* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.outofdate_subscribed_caches_.InternalSwap(&other->_impl_.outofdate_subscribed_caches_); - _impl_.uptodate_subscribed_caches_.InternalSwap(&other->_impl_.uptodate_subscribed_caches_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.game_data_, lhs_arena, - &other->_impl_.game_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.game_data2_, lhs_arena, - &other->_impl_.game_data2_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.balance_url_, lhs_arena, - &other->_impl_.balance_url_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.txn_country_code_, lhs_arena, - &other->_impl_.txn_country_code_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgClientWelcome, _impl_.balance_) - + sizeof(CMsgClientWelcome::_impl_.balance_) - - PROTOBUF_FIELD_OFFSET(CMsgClientWelcome, _impl_.location_)>( - reinterpret_cast(&_impl_.location_), - reinterpret_cast(&other->_impl_.location_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgClientWelcome::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[25]); -} - -// =================================================================== - -class CMsgConnectionStatus::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_status(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_client_session_need(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_queue_position(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_queue_size(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_wait_seconds(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_estimated_wait_seconds_remaining(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } -}; - -CMsgConnectionStatus::CMsgConnectionStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgConnectionStatus) -} -CMsgConnectionStatus::CMsgConnectionStatus(const CMsgConnectionStatus& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgConnectionStatus* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.status_){} - , decltype(_impl_.client_session_need_){} - , decltype(_impl_.queue_position_){} - , decltype(_impl_.queue_size_){} - , decltype(_impl_.wait_seconds_){} - , decltype(_impl_.estimated_wait_seconds_remaining_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.status_, &from._impl_.status_, - static_cast(reinterpret_cast(&_impl_.estimated_wait_seconds_remaining_) - - reinterpret_cast(&_impl_.status_)) + sizeof(_impl_.estimated_wait_seconds_remaining_)); - // @@protoc_insertion_point(copy_constructor:CMsgConnectionStatus) -} - -inline void CMsgConnectionStatus::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.status_){0} - , decltype(_impl_.client_session_need_){0u} - , decltype(_impl_.queue_position_){0} - , decltype(_impl_.queue_size_){0} - , decltype(_impl_.wait_seconds_){0} - , decltype(_impl_.estimated_wait_seconds_remaining_){0} - }; -} - -CMsgConnectionStatus::~CMsgConnectionStatus() { - // @@protoc_insertion_point(destructor:CMsgConnectionStatus) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgConnectionStatus::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgConnectionStatus::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgConnectionStatus::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgConnectionStatus) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - ::memset(&_impl_.status_, 0, static_cast( - reinterpret_cast(&_impl_.estimated_wait_seconds_remaining_) - - reinterpret_cast(&_impl_.status_)) + sizeof(_impl_.estimated_wait_seconds_remaining_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgConnectionStatus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .GCConnectionStatus status = 1 [default = GCConnectionStatus_HAVE_SESSION]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::GCConnectionStatus_IsValid(val))) { - _internal_set_status(static_cast<::GCConnectionStatus>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional uint32 client_session_need = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_client_session_need(&has_bits); - _impl_.client_session_need_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 queue_position = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_queue_position(&has_bits); - _impl_.queue_position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 queue_size = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_queue_size(&has_bits); - _impl_.queue_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 wait_seconds = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_wait_seconds(&has_bits); - _impl_.wait_seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 estimated_wait_seconds_remaining = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_estimated_wait_seconds_remaining(&has_bits); - _impl_.estimated_wait_seconds_remaining_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgConnectionStatus::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgConnectionStatus) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .GCConnectionStatus status = 1 [default = GCConnectionStatus_HAVE_SESSION]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_status(), target); - } - - // optional uint32 client_session_need = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_client_session_need(), target); - } - - // optional int32 queue_position = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_queue_position(), target); - } - - // optional int32 queue_size = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_queue_size(), target); - } - - // optional int32 wait_seconds = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_wait_seconds(), target); - } - - // optional int32 estimated_wait_seconds_remaining = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_estimated_wait_seconds_remaining(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgConnectionStatus) - return target; -} - -size_t CMsgConnectionStatus::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgConnectionStatus) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional .GCConnectionStatus status = 1 [default = GCConnectionStatus_HAVE_SESSION]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_status()); - } - - // optional uint32 client_session_need = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_client_session_need()); - } - - // optional int32 queue_position = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_queue_position()); - } - - // optional int32 queue_size = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_queue_size()); - } - - // optional int32 wait_seconds = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_wait_seconds()); - } - - // optional int32 estimated_wait_seconds_remaining = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_estimated_wait_seconds_remaining()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgConnectionStatus::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgConnectionStatus::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgConnectionStatus::GetClassData() const { return &_class_data_; } - - -void CMsgConnectionStatus::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgConnectionStatus) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.status_ = from._impl_.status_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.client_session_need_ = from._impl_.client_session_need_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.queue_position_ = from._impl_.queue_position_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.queue_size_ = from._impl_.queue_size_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.wait_seconds_ = from._impl_.wait_seconds_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.estimated_wait_seconds_remaining_ = from._impl_.estimated_wait_seconds_remaining_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgConnectionStatus::CopyFrom(const CMsgConnectionStatus& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgConnectionStatus) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgConnectionStatus::IsInitialized() const { - return true; -} - -void CMsgConnectionStatus::InternalSwap(CMsgConnectionStatus* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgConnectionStatus, _impl_.estimated_wait_seconds_remaining_) - + sizeof(CMsgConnectionStatus::_impl_.estimated_wait_seconds_remaining_) - - PROTOBUF_FIELD_OFFSET(CMsgConnectionStatus, _impl_.status_)>( - reinterpret_cast(&_impl_.status_), - reinterpret_cast(&other->_impl_.status_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgConnectionStatus::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[26]); -} - -// =================================================================== - -class CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_gameitemid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_item_description(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_one_per_account(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) -} -CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription(const CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_description_){} - , decltype(_impl_.gameitemid_){} - , decltype(_impl_.one_per_account_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.item_description_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.item_description_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_item_description()) { - _this->_impl_.item_description_.Set(from._internal_item_description(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.gameitemid_, &from._impl_.gameitemid_, - static_cast(reinterpret_cast(&_impl_.one_per_account_) - - reinterpret_cast(&_impl_.gameitemid_)) + sizeof(_impl_.one_per_account_)); - // @@protoc_insertion_point(copy_constructor:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) -} - -inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.item_description_){} - , decltype(_impl_.gameitemid_){0u} - , decltype(_impl_.one_per_account_){false} - }; - _impl_.item_description_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.item_description_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::~CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription() { - // @@protoc_insertion_point(destructor:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.item_description_.Destroy(); -} - -void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::Clear() { -// @@protoc_insertion_point(message_clear_start:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.item_description_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.gameitemid_, 0, static_cast( - reinterpret_cast(&_impl_.one_per_account_) - - reinterpret_cast(&_impl_.gameitemid_)) + sizeof(_impl_.one_per_account_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 gameitemid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_gameitemid(&has_bits); - _impl_.gameitemid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string item_description = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_item_description(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.item_description"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool one_per_account = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_one_per_account(&has_bits); - _impl_.one_per_account_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 gameitemid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_gameitemid(), target); - } - - // optional string item_description = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_item_description().data(), static_cast(this->_internal_item_description().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.item_description"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_item_description(), target); - } - - // optional bool one_per_account = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_one_per_account(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) - return target; -} - -size_t CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string item_description = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_item_description()); - } - - // optional uint32 gameitemid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gameitemid()); - } - - // optional bool one_per_account = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::GetClassData() const { return &_class_data_; } - - -void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_item_description(from._internal_item_description()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.gameitemid_ = from._impl_.gameitemid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.one_per_account_ = from._impl_.one_per_account_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::CopyFrom(const CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::IsInitialized() const { - return true; -} - -void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::InternalSwap(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.item_description_, lhs_arena, - &other->_impl_.item_description_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription, _impl_.one_per_account_) - + sizeof(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_impl_.one_per_account_) - - PROTOBUF_FIELD_OFFSET(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription, _impl_.gameitemid_)>( - reinterpret_cast(&_impl_.gameitemid_), - reinterpret_cast(&other->_impl_.gameitemid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[27]); -} - -// =================================================================== - -class CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_language(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) -} -CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock(const CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.descriptions_){from._impl_.descriptions_} - , decltype(_impl_.language_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.language_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.language_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_language()) { - _this->_impl_.language_.Set(from._internal_language(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) -} - -inline void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.descriptions_){arena} - , decltype(_impl_.language_){} - }; - _impl_.language_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.language_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::~CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock() { - // @@protoc_insertion_point(destructor:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.descriptions_.~RepeatedPtrField(); - _impl_.language_.Destroy(); -} - -void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::Clear() { -// @@protoc_insertion_point(message_clear_start:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.descriptions_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.language_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string language = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_language(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.language"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated .CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription descriptions = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_descriptions(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string language = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_language().data(), static_cast(this->_internal_language().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.language"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_language(), target); - } - - // repeated .CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription descriptions = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_descriptions_size()); i < n; i++) { - const auto& repfield = this->_internal_descriptions(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) - return target; -} - -size_t CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription descriptions = 2; - total_size += 1UL * this->_internal_descriptions_size(); - for (const auto& msg : this->_impl_.descriptions_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional string language = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_language()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::GetClassData() const { return &_class_data_; } - - -void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.descriptions_.MergeFrom(from._impl_.descriptions_); - if (from._internal_has_language()) { - _this->_internal_set_language(from._internal_language()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::CopyFrom(const CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::IsInitialized() const { - return true; -} - -void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::InternalSwap(CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.descriptions_.InternalSwap(&other->_impl_.descriptions_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.language_, lhs_arena, - &other->_impl_.language_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[28]); -} - -// =================================================================== - -class CWorkshop_PopulateItemDescriptions_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CWorkshop_PopulateItemDescriptions_Request::CWorkshop_PopulateItemDescriptions_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CWorkshop_PopulateItemDescriptions_Request) -} -CWorkshop_PopulateItemDescriptions_Request::CWorkshop_PopulateItemDescriptions_Request(const CWorkshop_PopulateItemDescriptions_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CWorkshop_PopulateItemDescriptions_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.languages_){from._impl_.languages_} - , decltype(_impl_.appid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.appid_ = from._impl_.appid_; - // @@protoc_insertion_point(copy_constructor:CWorkshop_PopulateItemDescriptions_Request) -} - -inline void CWorkshop_PopulateItemDescriptions_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.languages_){arena} - , decltype(_impl_.appid_){0u} - }; -} - -CWorkshop_PopulateItemDescriptions_Request::~CWorkshop_PopulateItemDescriptions_Request() { - // @@protoc_insertion_point(destructor:CWorkshop_PopulateItemDescriptions_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CWorkshop_PopulateItemDescriptions_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.languages_.~RepeatedPtrField(); -} - -void CWorkshop_PopulateItemDescriptions_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CWorkshop_PopulateItemDescriptions_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CWorkshop_PopulateItemDescriptions_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.languages_.Clear(); - _impl_.appid_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CWorkshop_PopulateItemDescriptions_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock languages = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_languages(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CWorkshop_PopulateItemDescriptions_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_PopulateItemDescriptions_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // repeated .CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock languages = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_languages_size()); i < n; i++) { - const auto& repfield = this->_internal_languages(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CWorkshop_PopulateItemDescriptions_Request) - return target; -} - -size_t CWorkshop_PopulateItemDescriptions_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CWorkshop_PopulateItemDescriptions_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock languages = 2; - total_size += 1UL * this->_internal_languages_size(); - for (const auto& msg : this->_impl_.languages_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional uint32 appid = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_PopulateItemDescriptions_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CWorkshop_PopulateItemDescriptions_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_PopulateItemDescriptions_Request::GetClassData() const { return &_class_data_; } - - -void CWorkshop_PopulateItemDescriptions_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CWorkshop_PopulateItemDescriptions_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.languages_.MergeFrom(from._impl_.languages_); - if (from._internal_has_appid()) { - _this->_internal_set_appid(from._internal_appid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CWorkshop_PopulateItemDescriptions_Request::CopyFrom(const CWorkshop_PopulateItemDescriptions_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_PopulateItemDescriptions_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CWorkshop_PopulateItemDescriptions_Request::IsInitialized() const { - return true; -} - -void CWorkshop_PopulateItemDescriptions_Request::InternalSwap(CWorkshop_PopulateItemDescriptions_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.languages_.InternalSwap(&other->_impl_.languages_); - swap(_impl_.appid_, other->_impl_.appid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_PopulateItemDescriptions_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[29]); -} - -// =================================================================== - -class CWorkshop_GetContributors_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_gameitemid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CWorkshop_GetContributors_Request::CWorkshop_GetContributors_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CWorkshop_GetContributors_Request) -} -CWorkshop_GetContributors_Request::CWorkshop_GetContributors_Request(const CWorkshop_GetContributors_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CWorkshop_GetContributors_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.appid_){} - , decltype(_impl_.gameitemid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.appid_, &from._impl_.appid_, - static_cast(reinterpret_cast(&_impl_.gameitemid_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.gameitemid_)); - // @@protoc_insertion_point(copy_constructor:CWorkshop_GetContributors_Request) -} - -inline void CWorkshop_GetContributors_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.gameitemid_){0u} - }; -} - -CWorkshop_GetContributors_Request::~CWorkshop_GetContributors_Request() { - // @@protoc_insertion_point(destructor:CWorkshop_GetContributors_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CWorkshop_GetContributors_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CWorkshop_GetContributors_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CWorkshop_GetContributors_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CWorkshop_GetContributors_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.appid_, 0, static_cast( - reinterpret_cast(&_impl_.gameitemid_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.gameitemid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CWorkshop_GetContributors_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 gameitemid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_gameitemid(&has_bits); - _impl_.gameitemid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CWorkshop_GetContributors_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_GetContributors_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // optional uint32 gameitemid = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_gameitemid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CWorkshop_GetContributors_Request) - return target; -} - -size_t CWorkshop_GetContributors_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CWorkshop_GetContributors_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional uint32 gameitemid = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gameitemid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_GetContributors_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CWorkshop_GetContributors_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_GetContributors_Request::GetClassData() const { return &_class_data_; } - - -void CWorkshop_GetContributors_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CWorkshop_GetContributors_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.gameitemid_ = from._impl_.gameitemid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CWorkshop_GetContributors_Request::CopyFrom(const CWorkshop_GetContributors_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_GetContributors_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CWorkshop_GetContributors_Request::IsInitialized() const { - return true; -} - -void CWorkshop_GetContributors_Request::InternalSwap(CWorkshop_GetContributors_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CWorkshop_GetContributors_Request, _impl_.gameitemid_) - + sizeof(CWorkshop_GetContributors_Request::_impl_.gameitemid_) - - PROTOBUF_FIELD_OFFSET(CWorkshop_GetContributors_Request, _impl_.appid_)>( - reinterpret_cast(&_impl_.appid_), - reinterpret_cast(&other->_impl_.appid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_GetContributors_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[30]); -} - -// =================================================================== - -class CWorkshop_GetContributors_Response::_Internal { - public: -}; - -CWorkshop_GetContributors_Response::CWorkshop_GetContributors_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CWorkshop_GetContributors_Response) -} -CWorkshop_GetContributors_Response::CWorkshop_GetContributors_Response(const CWorkshop_GetContributors_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CWorkshop_GetContributors_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.contributors_){from._impl_.contributors_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CWorkshop_GetContributors_Response) -} - -inline void CWorkshop_GetContributors_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.contributors_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CWorkshop_GetContributors_Response::~CWorkshop_GetContributors_Response() { - // @@protoc_insertion_point(destructor:CWorkshop_GetContributors_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CWorkshop_GetContributors_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.contributors_.~RepeatedField(); -} - -void CWorkshop_GetContributors_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CWorkshop_GetContributors_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CWorkshop_GetContributors_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.contributors_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CWorkshop_GetContributors_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated fixed64 contributors = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_contributors(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint64_t); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<9>(ptr)); - } else if (static_cast(tag) == 10) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed64Parser(_internal_mutable_contributors(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CWorkshop_GetContributors_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_GetContributors_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated fixed64 contributors = 1; - for (int i = 0, n = this->_internal_contributors_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_contributors(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CWorkshop_GetContributors_Response) - return target; -} - -size_t CWorkshop_GetContributors_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CWorkshop_GetContributors_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated fixed64 contributors = 1; - { - unsigned int count = static_cast(this->_internal_contributors_size()); - size_t data_size = 8UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_contributors_size()); - total_size += data_size; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_GetContributors_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CWorkshop_GetContributors_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_GetContributors_Response::GetClassData() const { return &_class_data_; } - - -void CWorkshop_GetContributors_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CWorkshop_GetContributors_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.contributors_.MergeFrom(from._impl_.contributors_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CWorkshop_GetContributors_Response::CopyFrom(const CWorkshop_GetContributors_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_GetContributors_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CWorkshop_GetContributors_Response::IsInitialized() const { - return true; -} - -void CWorkshop_GetContributors_Response::InternalSwap(CWorkshop_GetContributors_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.contributors_.InternalSwap(&other->_impl_.contributors_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_GetContributors_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[31]); -} - -// =================================================================== - -class CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_workshop_file_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_revenue_percentage(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_rule_description(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_rule_type(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) -} -CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule(const CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.rule_description_){} - , decltype(_impl_.workshop_file_id_){} - , decltype(_impl_.revenue_percentage_){} - , decltype(_impl_.rule_type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.rule_description_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.rule_description_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_rule_description()) { - _this->_impl_.rule_description_.Set(from._internal_rule_description(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.workshop_file_id_, &from._impl_.workshop_file_id_, - static_cast(reinterpret_cast(&_impl_.rule_type_) - - reinterpret_cast(&_impl_.workshop_file_id_)) + sizeof(_impl_.rule_type_)); - // @@protoc_insertion_point(copy_constructor:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) -} - -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.rule_description_){} - , decltype(_impl_.workshop_file_id_){uint64_t{0u}} - , decltype(_impl_.revenue_percentage_){0} - , decltype(_impl_.rule_type_){1u} - }; - _impl_.rule_description_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.rule_description_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::~CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule() { - // @@protoc_insertion_point(destructor:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.rule_description_.Destroy(); -} - -void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::Clear() { -// @@protoc_insertion_point(message_clear_start:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.rule_description_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.workshop_file_id_, 0, static_cast( - reinterpret_cast(&_impl_.revenue_percentage_) - - reinterpret_cast(&_impl_.workshop_file_id_)) + sizeof(_impl_.revenue_percentage_)); - _impl_.rule_type_ = 1u; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 workshop_file_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_workshop_file_id(&has_bits); - _impl_.workshop_file_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float revenue_percentage = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_revenue_percentage(&has_bits); - _impl_.revenue_percentage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional string rule_description = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_rule_description(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.rule_description"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 rule_type = 4 [default = 1]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_rule_type(&has_bits); - _impl_.rule_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 workshop_file_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_workshop_file_id(), target); - } - - // optional float revenue_percentage = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_revenue_percentage(), target); - } - - // optional string rule_description = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_rule_description().data(), static_cast(this->_internal_rule_description().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.rule_description"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_rule_description(), target); - } - - // optional uint32 rule_type = 4 [default = 1]; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_rule_type(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) - return target; -} - -size_t CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string rule_description = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_rule_description()); - } - - // optional uint64 workshop_file_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_workshop_file_id()); - } - - // optional float revenue_percentage = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional uint32 rule_type = 4 [default = 1]; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_rule_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::GetClassData() const { return &_class_data_; } - - -void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_rule_description(from._internal_rule_description()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.workshop_file_id_ = from._impl_.workshop_file_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.revenue_percentage_ = from._impl_.revenue_percentage_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.rule_type_ = from._impl_.rule_type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::CopyFrom(const CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::IsInitialized() const { - return true; -} - -void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::InternalSwap(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.rule_description_, lhs_arena, - &other->_impl_.rule_description_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule, _impl_.revenue_percentage_) - + sizeof(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_impl_.revenue_percentage_) - - PROTOBUF_FIELD_OFFSET(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule, _impl_.workshop_file_id_)>( - reinterpret_cast(&_impl_.workshop_file_id_), - reinterpret_cast(&other->_impl_.workshop_file_id_)); - swap(_impl_.rule_type_, other->_impl_.rule_type_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[32]); -} - -// =================================================================== - -class CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_workshop_file_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_rule_description(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) -} -CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule(const CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.rule_description_){} - , decltype(_impl_.workshop_file_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.rule_description_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.rule_description_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_rule_description()) { - _this->_impl_.rule_description_.Set(from._internal_rule_description(), - _this->GetArenaForAllocation()); - } - _this->_impl_.workshop_file_id_ = from._impl_.workshop_file_id_; - // @@protoc_insertion_point(copy_constructor:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) -} - -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.rule_description_){} - , decltype(_impl_.workshop_file_id_){uint64_t{0u}} - }; - _impl_.rule_description_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.rule_description_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::~CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule() { - // @@protoc_insertion_point(destructor:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.rule_description_.Destroy(); -} - -void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::Clear() { -// @@protoc_insertion_point(message_clear_start:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.rule_description_.ClearNonDefaultToEmpty(); - } - _impl_.workshop_file_id_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 workshop_file_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_workshop_file_id(&has_bits); - _impl_.workshop_file_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string rule_description = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_rule_description(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule.rule_description"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 workshop_file_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_workshop_file_id(), target); - } - - // optional string rule_description = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_rule_description().data(), static_cast(this->_internal_rule_description().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule.rule_description"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_rule_description(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) - return target; -} - -size_t CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string rule_description = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_rule_description()); - } - - // optional uint64 workshop_file_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_workshop_file_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::GetClassData() const { return &_class_data_; } - - -void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_rule_description(from._internal_rule_description()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.workshop_file_id_ = from._impl_.workshop_file_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::CopyFrom(const CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::IsInitialized() const { - return true; -} - -void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::InternalSwap(CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.rule_description_, lhs_arena, - &other->_impl_.rule_description_, rhs_arena - ); - swap(_impl_.workshop_file_id_, other->_impl_.workshop_file_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[33]); -} - -// =================================================================== - -class CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_account_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_revenue_percentage(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_rule_description(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) -} -CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule(const CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.rule_description_){} - , decltype(_impl_.account_id_){} - , decltype(_impl_.revenue_percentage_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.rule_description_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.rule_description_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_rule_description()) { - _this->_impl_.rule_description_.Set(from._internal_rule_description(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.account_id_, &from._impl_.account_id_, - static_cast(reinterpret_cast(&_impl_.revenue_percentage_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.revenue_percentage_)); - // @@protoc_insertion_point(copy_constructor:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) -} - -inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.rule_description_){} - , decltype(_impl_.account_id_){0u} - , decltype(_impl_.revenue_percentage_){0} - }; - _impl_.rule_description_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.rule_description_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::~CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule() { - // @@protoc_insertion_point(destructor:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.rule_description_.Destroy(); -} - -void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::Clear() { -// @@protoc_insertion_point(message_clear_start:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.rule_description_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.account_id_, 0, static_cast( - reinterpret_cast(&_impl_.revenue_percentage_) - - reinterpret_cast(&_impl_.account_id_)) + sizeof(_impl_.revenue_percentage_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 account_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_account_id(&has_bits); - _impl_.account_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float revenue_percentage = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_revenue_percentage(&has_bits); - _impl_.revenue_percentage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional string rule_description = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_rule_description(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.rule_description"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_account_id(), target); - } - - // optional float revenue_percentage = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_revenue_percentage(), target); - } - - // optional string rule_description = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_rule_description().data(), static_cast(this->_internal_rule_description().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.rule_description"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_rule_description(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) - return target; -} - -size_t CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string rule_description = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_rule_description()); - } - - // optional uint32 account_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_account_id()); - } - - // optional float revenue_percentage = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::GetClassData() const { return &_class_data_; } - - -void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_rule_description(from._internal_rule_description()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.account_id_ = from._impl_.account_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.revenue_percentage_ = from._impl_.revenue_percentage_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::CopyFrom(const CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::IsInitialized() const { - return true; -} - -void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::InternalSwap(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.rule_description_, lhs_arena, - &other->_impl_.rule_description_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule, _impl_.revenue_percentage_) - + sizeof(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_impl_.revenue_percentage_) - - PROTOBUF_FIELD_OFFSET(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule, _impl_.account_id_)>( - reinterpret_cast(&_impl_.account_id_), - reinterpret_cast(&other->_impl_.account_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[34]); -} - -// =================================================================== - -class CWorkshop_SetItemPaymentRules_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_gameitemid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_validate_only(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_make_workshop_files_subscribable(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static const ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& associated_workshop_file_for_direct_payments(const CWorkshop_SetItemPaymentRules_Request* msg); - static void set_has_associated_workshop_file_for_direct_payments(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& -CWorkshop_SetItemPaymentRules_Request::_Internal::associated_workshop_file_for_direct_payments(const CWorkshop_SetItemPaymentRules_Request* msg) { - return *msg->_impl_.associated_workshop_file_for_direct_payments_; -} -CWorkshop_SetItemPaymentRules_Request::CWorkshop_SetItemPaymentRules_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CWorkshop_SetItemPaymentRules_Request) -} -CWorkshop_SetItemPaymentRules_Request::CWorkshop_SetItemPaymentRules_Request(const CWorkshop_SetItemPaymentRules_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CWorkshop_SetItemPaymentRules_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.associated_workshop_files_){from._impl_.associated_workshop_files_} - , decltype(_impl_.partner_accounts_){from._impl_.partner_accounts_} - , decltype(_impl_.associated_workshop_file_for_direct_payments_){nullptr} - , decltype(_impl_.appid_){} - , decltype(_impl_.gameitemid_){} - , decltype(_impl_.validate_only_){} - , decltype(_impl_.make_workshop_files_subscribable_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_associated_workshop_file_for_direct_payments()) { - _this->_impl_.associated_workshop_file_for_direct_payments_ = new ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule(*from._impl_.associated_workshop_file_for_direct_payments_); - } - ::memcpy(&_impl_.appid_, &from._impl_.appid_, - static_cast(reinterpret_cast(&_impl_.make_workshop_files_subscribable_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.make_workshop_files_subscribable_)); - // @@protoc_insertion_point(copy_constructor:CWorkshop_SetItemPaymentRules_Request) -} - -inline void CWorkshop_SetItemPaymentRules_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.associated_workshop_files_){arena} - , decltype(_impl_.partner_accounts_){arena} - , decltype(_impl_.associated_workshop_file_for_direct_payments_){nullptr} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.gameitemid_){0u} - , decltype(_impl_.validate_only_){false} - , decltype(_impl_.make_workshop_files_subscribable_){false} - }; -} - -CWorkshop_SetItemPaymentRules_Request::~CWorkshop_SetItemPaymentRules_Request() { - // @@protoc_insertion_point(destructor:CWorkshop_SetItemPaymentRules_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CWorkshop_SetItemPaymentRules_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.associated_workshop_files_.~RepeatedPtrField(); - _impl_.partner_accounts_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.associated_workshop_file_for_direct_payments_; -} - -void CWorkshop_SetItemPaymentRules_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CWorkshop_SetItemPaymentRules_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CWorkshop_SetItemPaymentRules_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.associated_workshop_files_.Clear(); - _impl_.partner_accounts_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.associated_workshop_file_for_direct_payments_ != nullptr); - _impl_.associated_workshop_file_for_direct_payments_->Clear(); - } - if (cached_has_bits & 0x0000001eu) { - ::memset(&_impl_.appid_, 0, static_cast( - reinterpret_cast(&_impl_.make_workshop_files_subscribable_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.make_workshop_files_subscribable_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CWorkshop_SetItemPaymentRules_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 gameitemid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_gameitemid(&has_bits); - _impl_.gameitemid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule associated_workshop_files = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_associated_workshop_files(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule partner_accounts = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_partner_accounts(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - // optional bool validate_only = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_validate_only(&has_bits); - _impl_.validate_only_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool make_workshop_files_subscribable = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_make_workshop_files_subscribable(&has_bits); - _impl_.make_workshop_files_subscribable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule associated_workshop_file_for_direct_payments = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_associated_workshop_file_for_direct_payments(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CWorkshop_SetItemPaymentRules_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_SetItemPaymentRules_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // optional uint32 gameitemid = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_gameitemid(), target); - } - - // repeated .CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule associated_workshop_files = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_associated_workshop_files_size()); i < n; i++) { - const auto& repfield = this->_internal_associated_workshop_files(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule partner_accounts = 4; - for (unsigned i = 0, - n = static_cast(this->_internal_partner_accounts_size()); i < n; i++) { - const auto& repfield = this->_internal_partner_accounts(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional bool validate_only = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_validate_only(), target); - } - - // optional bool make_workshop_files_subscribable = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_make_workshop_files_subscribable(), target); - } - - // optional .CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule associated_workshop_file_for_direct_payments = 7; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::associated_workshop_file_for_direct_payments(this), - _Internal::associated_workshop_file_for_direct_payments(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CWorkshop_SetItemPaymentRules_Request) - return target; -} - -size_t CWorkshop_SetItemPaymentRules_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CWorkshop_SetItemPaymentRules_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule associated_workshop_files = 3; - total_size += 1UL * this->_internal_associated_workshop_files_size(); - for (const auto& msg : this->_impl_.associated_workshop_files_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule partner_accounts = 4; - total_size += 1UL * this->_internal_partner_accounts_size(); - for (const auto& msg : this->_impl_.partner_accounts_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional .CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule associated_workshop_file_for_direct_payments = 7; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.associated_workshop_file_for_direct_payments_); - } - - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional uint32 gameitemid = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gameitemid()); - } - - // optional bool validate_only = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - // optional bool make_workshop_files_subscribable = 6; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_SetItemPaymentRules_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CWorkshop_SetItemPaymentRules_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_SetItemPaymentRules_Request::GetClassData() const { return &_class_data_; } - - -void CWorkshop_SetItemPaymentRules_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CWorkshop_SetItemPaymentRules_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.associated_workshop_files_.MergeFrom(from._impl_.associated_workshop_files_); - _this->_impl_.partner_accounts_.MergeFrom(from._impl_.partner_accounts_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_associated_workshop_file_for_direct_payments()->::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::MergeFrom( - from._internal_associated_workshop_file_for_direct_payments()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.gameitemid_ = from._impl_.gameitemid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.validate_only_ = from._impl_.validate_only_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.make_workshop_files_subscribable_ = from._impl_.make_workshop_files_subscribable_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CWorkshop_SetItemPaymentRules_Request::CopyFrom(const CWorkshop_SetItemPaymentRules_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_SetItemPaymentRules_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CWorkshop_SetItemPaymentRules_Request::IsInitialized() const { - return true; -} - -void CWorkshop_SetItemPaymentRules_Request::InternalSwap(CWorkshop_SetItemPaymentRules_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.associated_workshop_files_.InternalSwap(&other->_impl_.associated_workshop_files_); - _impl_.partner_accounts_.InternalSwap(&other->_impl_.partner_accounts_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CWorkshop_SetItemPaymentRules_Request, _impl_.make_workshop_files_subscribable_) - + sizeof(CWorkshop_SetItemPaymentRules_Request::_impl_.make_workshop_files_subscribable_) - - PROTOBUF_FIELD_OFFSET(CWorkshop_SetItemPaymentRules_Request, _impl_.associated_workshop_file_for_direct_payments_)>( - reinterpret_cast(&_impl_.associated_workshop_file_for_direct_payments_), - reinterpret_cast(&other->_impl_.associated_workshop_file_for_direct_payments_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_SetItemPaymentRules_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[35]); -} - -// =================================================================== - -class CWorkshop_SetItemPaymentRules_Response::_Internal { - public: -}; - -CWorkshop_SetItemPaymentRules_Response::CWorkshop_SetItemPaymentRules_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CWorkshop_SetItemPaymentRules_Response) -} -CWorkshop_SetItemPaymentRules_Response::CWorkshop_SetItemPaymentRules_Response(const CWorkshop_SetItemPaymentRules_Response& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CWorkshop_SetItemPaymentRules_Response* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CWorkshop_SetItemPaymentRules_Response) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_SetItemPaymentRules_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_SetItemPaymentRules_Response::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_SetItemPaymentRules_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[36]); -} - -// =================================================================== - -class CGameServers_AggregationQuery_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_filter(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CGameServers_AggregationQuery_Request::CGameServers_AggregationQuery_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CGameServers_AggregationQuery_Request) -} -CGameServers_AggregationQuery_Request::CGameServers_AggregationQuery_Request(const CGameServers_AggregationQuery_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CGameServers_AggregationQuery_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.group_fields_){from._impl_.group_fields_} - , decltype(_impl_.filter_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.filter_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.filter_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_filter()) { - _this->_impl_.filter_.Set(from._internal_filter(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CGameServers_AggregationQuery_Request) -} - -inline void CGameServers_AggregationQuery_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.group_fields_){arena} - , decltype(_impl_.filter_){} - }; - _impl_.filter_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.filter_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CGameServers_AggregationQuery_Request::~CGameServers_AggregationQuery_Request() { - // @@protoc_insertion_point(destructor:CGameServers_AggregationQuery_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CGameServers_AggregationQuery_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.group_fields_.~RepeatedPtrField(); - _impl_.filter_.Destroy(); -} - -void CGameServers_AggregationQuery_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CGameServers_AggregationQuery_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CGameServers_AggregationQuery_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.group_fields_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.filter_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CGameServers_AggregationQuery_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string filter = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_filter(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CGameServers_AggregationQuery_Request.filter"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated string group_fields = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_group_fields(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CGameServers_AggregationQuery_Request.group_fields"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CGameServers_AggregationQuery_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CGameServers_AggregationQuery_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string filter = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_filter().data(), static_cast(this->_internal_filter().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CGameServers_AggregationQuery_Request.filter"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_filter(), target); - } - - // repeated string group_fields = 3; - for (int i = 0, n = this->_internal_group_fields_size(); i < n; i++) { - const auto& s = this->_internal_group_fields(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CGameServers_AggregationQuery_Request.group_fields"); - target = stream->WriteString(3, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CGameServers_AggregationQuery_Request) - return target; -} - -size_t CGameServers_AggregationQuery_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CGameServers_AggregationQuery_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string group_fields = 3; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.group_fields_.size()); - for (int i = 0, n = _impl_.group_fields_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.group_fields_.Get(i)); - } - - // optional string filter = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_filter()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameServers_AggregationQuery_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CGameServers_AggregationQuery_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameServers_AggregationQuery_Request::GetClassData() const { return &_class_data_; } - - -void CGameServers_AggregationQuery_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CGameServers_AggregationQuery_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.group_fields_.MergeFrom(from._impl_.group_fields_); - if (from._internal_has_filter()) { - _this->_internal_set_filter(from._internal_filter()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CGameServers_AggregationQuery_Request::CopyFrom(const CGameServers_AggregationQuery_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CGameServers_AggregationQuery_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CGameServers_AggregationQuery_Request::IsInitialized() const { - return true; -} - -void CGameServers_AggregationQuery_Request::InternalSwap(CGameServers_AggregationQuery_Request* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.group_fields_.InternalSwap(&other->_impl_.group_fields_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.filter_, lhs_arena, - &other->_impl_.filter_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CGameServers_AggregationQuery_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[37]); -} - -// =================================================================== - -class CGameServers_AggregationQuery_Response_Group::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_servers_empty(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_servers_full(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_servers_total(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_players_humans(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_players_bots(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_player_capacity(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } -}; - -CGameServers_AggregationQuery_Response_Group::CGameServers_AggregationQuery_Response_Group(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CGameServers_AggregationQuery_Response.Group) -} -CGameServers_AggregationQuery_Response_Group::CGameServers_AggregationQuery_Response_Group(const CGameServers_AggregationQuery_Response_Group& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CGameServers_AggregationQuery_Response_Group* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.group_values_){from._impl_.group_values_} - , decltype(_impl_.servers_empty_){} - , decltype(_impl_.servers_full_){} - , decltype(_impl_.servers_total_){} - , decltype(_impl_.players_humans_){} - , decltype(_impl_.players_bots_){} - , decltype(_impl_.player_capacity_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.servers_empty_, &from._impl_.servers_empty_, - static_cast(reinterpret_cast(&_impl_.player_capacity_) - - reinterpret_cast(&_impl_.servers_empty_)) + sizeof(_impl_.player_capacity_)); - // @@protoc_insertion_point(copy_constructor:CGameServers_AggregationQuery_Response.Group) -} - -inline void CGameServers_AggregationQuery_Response_Group::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.group_values_){arena} - , decltype(_impl_.servers_empty_){0u} - , decltype(_impl_.servers_full_){0u} - , decltype(_impl_.servers_total_){0u} - , decltype(_impl_.players_humans_){0u} - , decltype(_impl_.players_bots_){0u} - , decltype(_impl_.player_capacity_){0u} - }; -} - -CGameServers_AggregationQuery_Response_Group::~CGameServers_AggregationQuery_Response_Group() { - // @@protoc_insertion_point(destructor:CGameServers_AggregationQuery_Response.Group) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CGameServers_AggregationQuery_Response_Group::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.group_values_.~RepeatedPtrField(); -} - -void CGameServers_AggregationQuery_Response_Group::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CGameServers_AggregationQuery_Response_Group::Clear() { -// @@protoc_insertion_point(message_clear_start:CGameServers_AggregationQuery_Response.Group) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.group_values_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - ::memset(&_impl_.servers_empty_, 0, static_cast( - reinterpret_cast(&_impl_.player_capacity_) - - reinterpret_cast(&_impl_.servers_empty_)) + sizeof(_impl_.player_capacity_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CGameServers_AggregationQuery_Response_Group::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated string group_values = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_group_values(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CGameServers_AggregationQuery_Response.Group.group_values"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 servers_empty = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_servers_empty(&has_bits); - _impl_.servers_empty_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 servers_full = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_servers_full(&has_bits); - _impl_.servers_full_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 servers_total = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_servers_total(&has_bits); - _impl_.servers_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 players_humans = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_players_humans(&has_bits); - _impl_.players_humans_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 players_bots = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_players_bots(&has_bits); - _impl_.players_bots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 player_capacity = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_player_capacity(&has_bits); - _impl_.player_capacity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CGameServers_AggregationQuery_Response_Group::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CGameServers_AggregationQuery_Response.Group) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated string group_values = 1; - for (int i = 0, n = this->_internal_group_values_size(); i < n; i++) { - const auto& s = this->_internal_group_values(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CGameServers_AggregationQuery_Response.Group.group_values"); - target = stream->WriteString(1, s, target); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 servers_empty = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_servers_empty(), target); - } - - // optional uint32 servers_full = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_servers_full(), target); - } - - // optional uint32 servers_total = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_servers_total(), target); - } - - // optional uint32 players_humans = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_players_humans(), target); - } - - // optional uint32 players_bots = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_players_bots(), target); - } - - // optional uint32 player_capacity = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_player_capacity(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CGameServers_AggregationQuery_Response.Group) - return target; -} - -size_t CGameServers_AggregationQuery_Response_Group::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CGameServers_AggregationQuery_Response.Group) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string group_values = 1; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.group_values_.size()); - for (int i = 0, n = _impl_.group_values_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.group_values_.Get(i)); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional uint32 servers_empty = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_servers_empty()); - } - - // optional uint32 servers_full = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_servers_full()); - } - - // optional uint32 servers_total = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_servers_total()); - } - - // optional uint32 players_humans = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_players_humans()); - } - - // optional uint32 players_bots = 6; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_players_bots()); - } - - // optional uint32 player_capacity = 7; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_player_capacity()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameServers_AggregationQuery_Response_Group::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CGameServers_AggregationQuery_Response_Group::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameServers_AggregationQuery_Response_Group::GetClassData() const { return &_class_data_; } - - -void CGameServers_AggregationQuery_Response_Group::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CGameServers_AggregationQuery_Response.Group) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.group_values_.MergeFrom(from._impl_.group_values_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.servers_empty_ = from._impl_.servers_empty_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.servers_full_ = from._impl_.servers_full_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.servers_total_ = from._impl_.servers_total_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.players_humans_ = from._impl_.players_humans_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.players_bots_ = from._impl_.players_bots_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.player_capacity_ = from._impl_.player_capacity_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CGameServers_AggregationQuery_Response_Group::CopyFrom(const CGameServers_AggregationQuery_Response_Group& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CGameServers_AggregationQuery_Response.Group) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CGameServers_AggregationQuery_Response_Group::IsInitialized() const { - return true; -} - -void CGameServers_AggregationQuery_Response_Group::InternalSwap(CGameServers_AggregationQuery_Response_Group* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.group_values_.InternalSwap(&other->_impl_.group_values_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CGameServers_AggregationQuery_Response_Group, _impl_.player_capacity_) - + sizeof(CGameServers_AggregationQuery_Response_Group::_impl_.player_capacity_) - - PROTOBUF_FIELD_OFFSET(CGameServers_AggregationQuery_Response_Group, _impl_.servers_empty_)>( - reinterpret_cast(&_impl_.servers_empty_), - reinterpret_cast(&other->_impl_.servers_empty_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CGameServers_AggregationQuery_Response_Group::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[38]); -} - -// =================================================================== - -class CGameServers_AggregationQuery_Response::_Internal { - public: -}; - -CGameServers_AggregationQuery_Response::CGameServers_AggregationQuery_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CGameServers_AggregationQuery_Response) -} -CGameServers_AggregationQuery_Response::CGameServers_AggregationQuery_Response(const CGameServers_AggregationQuery_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CGameServers_AggregationQuery_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.groups_){from._impl_.groups_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CGameServers_AggregationQuery_Response) -} - -inline void CGameServers_AggregationQuery_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.groups_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CGameServers_AggregationQuery_Response::~CGameServers_AggregationQuery_Response() { - // @@protoc_insertion_point(destructor:CGameServers_AggregationQuery_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CGameServers_AggregationQuery_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.groups_.~RepeatedPtrField(); -} - -void CGameServers_AggregationQuery_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CGameServers_AggregationQuery_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CGameServers_AggregationQuery_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.groups_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CGameServers_AggregationQuery_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CGameServers_AggregationQuery_Response.Group groups = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_groups(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CGameServers_AggregationQuery_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CGameServers_AggregationQuery_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CGameServers_AggregationQuery_Response.Group groups = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_groups_size()); i < n; i++) { - const auto& repfield = this->_internal_groups(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CGameServers_AggregationQuery_Response) - return target; -} - -size_t CGameServers_AggregationQuery_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CGameServers_AggregationQuery_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CGameServers_AggregationQuery_Response.Group groups = 1; - total_size += 1UL * this->_internal_groups_size(); - for (const auto& msg : this->_impl_.groups_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameServers_AggregationQuery_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CGameServers_AggregationQuery_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameServers_AggregationQuery_Response::GetClassData() const { return &_class_data_; } - - -void CGameServers_AggregationQuery_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CGameServers_AggregationQuery_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.groups_.MergeFrom(from._impl_.groups_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CGameServers_AggregationQuery_Response::CopyFrom(const CGameServers_AggregationQuery_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CGameServers_AggregationQuery_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CGameServers_AggregationQuery_Response::IsInitialized() const { - return true; -} - -void CGameServers_AggregationQuery_Response::InternalSwap(CGameServers_AggregationQuery_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.groups_.InternalSwap(&other->_impl_.groups_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CGameServers_AggregationQuery_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[39]); -} - -// =================================================================== - -class CWorkshop_AddSpecialPayment_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_gameitemid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_date(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_payment_us_usd(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_payment_row_usd(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CWorkshop_AddSpecialPayment_Request::CWorkshop_AddSpecialPayment_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CWorkshop_AddSpecialPayment_Request) -} -CWorkshop_AddSpecialPayment_Request::CWorkshop_AddSpecialPayment_Request(const CWorkshop_AddSpecialPayment_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CWorkshop_AddSpecialPayment_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.date_){} - , decltype(_impl_.appid_){} - , decltype(_impl_.gameitemid_){} - , decltype(_impl_.payment_us_usd_){} - , decltype(_impl_.payment_row_usd_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.date_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.date_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_date()) { - _this->_impl_.date_.Set(from._internal_date(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.appid_, &from._impl_.appid_, - static_cast(reinterpret_cast(&_impl_.payment_row_usd_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.payment_row_usd_)); - // @@protoc_insertion_point(copy_constructor:CWorkshop_AddSpecialPayment_Request) -} - -inline void CWorkshop_AddSpecialPayment_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.date_){} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.gameitemid_){0u} - , decltype(_impl_.payment_us_usd_){uint64_t{0u}} - , decltype(_impl_.payment_row_usd_){uint64_t{0u}} - }; - _impl_.date_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.date_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CWorkshop_AddSpecialPayment_Request::~CWorkshop_AddSpecialPayment_Request() { - // @@protoc_insertion_point(destructor:CWorkshop_AddSpecialPayment_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CWorkshop_AddSpecialPayment_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.date_.Destroy(); -} - -void CWorkshop_AddSpecialPayment_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CWorkshop_AddSpecialPayment_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CWorkshop_AddSpecialPayment_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.date_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000001eu) { - ::memset(&_impl_.appid_, 0, static_cast( - reinterpret_cast(&_impl_.payment_row_usd_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.payment_row_usd_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CWorkshop_AddSpecialPayment_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 gameitemid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_gameitemid(&has_bits); - _impl_.gameitemid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string date = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_date(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CWorkshop_AddSpecialPayment_Request.date"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint64 payment_us_usd = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_payment_us_usd(&has_bits); - _impl_.payment_us_usd_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 payment_row_usd = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_payment_row_usd(&has_bits); - _impl_.payment_row_usd_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CWorkshop_AddSpecialPayment_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CWorkshop_AddSpecialPayment_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // optional uint32 gameitemid = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_gameitemid(), target); - } - - // optional string date = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_date().data(), static_cast(this->_internal_date().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CWorkshop_AddSpecialPayment_Request.date"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_date(), target); - } - - // optional uint64 payment_us_usd = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_payment_us_usd(), target); - } - - // optional uint64 payment_row_usd = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_payment_row_usd(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CWorkshop_AddSpecialPayment_Request) - return target; -} - -size_t CWorkshop_AddSpecialPayment_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CWorkshop_AddSpecialPayment_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional string date = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_date()); - } - - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional uint32 gameitemid = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gameitemid()); - } - - // optional uint64 payment_us_usd = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_payment_us_usd()); - } - - // optional uint64 payment_row_usd = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_payment_row_usd()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_AddSpecialPayment_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CWorkshop_AddSpecialPayment_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_AddSpecialPayment_Request::GetClassData() const { return &_class_data_; } - - -void CWorkshop_AddSpecialPayment_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CWorkshop_AddSpecialPayment_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_date(from._internal_date()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.gameitemid_ = from._impl_.gameitemid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.payment_us_usd_ = from._impl_.payment_us_usd_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.payment_row_usd_ = from._impl_.payment_row_usd_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CWorkshop_AddSpecialPayment_Request::CopyFrom(const CWorkshop_AddSpecialPayment_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CWorkshop_AddSpecialPayment_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CWorkshop_AddSpecialPayment_Request::IsInitialized() const { - return true; -} - -void CWorkshop_AddSpecialPayment_Request::InternalSwap(CWorkshop_AddSpecialPayment_Request* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.date_, lhs_arena, - &other->_impl_.date_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CWorkshop_AddSpecialPayment_Request, _impl_.payment_row_usd_) - + sizeof(CWorkshop_AddSpecialPayment_Request::_impl_.payment_row_usd_) - - PROTOBUF_FIELD_OFFSET(CWorkshop_AddSpecialPayment_Request, _impl_.appid_)>( - reinterpret_cast(&_impl_.appid_), - reinterpret_cast(&other->_impl_.appid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_AddSpecialPayment_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[40]); -} - -// =================================================================== - -class CWorkshop_AddSpecialPayment_Response::_Internal { - public: -}; - -CWorkshop_AddSpecialPayment_Response::CWorkshop_AddSpecialPayment_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CWorkshop_AddSpecialPayment_Response) -} -CWorkshop_AddSpecialPayment_Response::CWorkshop_AddSpecialPayment_Response(const CWorkshop_AddSpecialPayment_Response& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CWorkshop_AddSpecialPayment_Response* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CWorkshop_AddSpecialPayment_Response) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CWorkshop_AddSpecialPayment_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CWorkshop_AddSpecialPayment_Response::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CWorkshop_AddSpecialPayment_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[41]); -} - -// =================================================================== - -class CProductInfo_SetRichPresenceLocalization_Request_Token::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_token(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CProductInfo_SetRichPresenceLocalization_Request_Token::CProductInfo_SetRichPresenceLocalization_Request_Token(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CProductInfo_SetRichPresenceLocalization_Request.Token) -} -CProductInfo_SetRichPresenceLocalization_Request_Token::CProductInfo_SetRichPresenceLocalization_Request_Token(const CProductInfo_SetRichPresenceLocalization_Request_Token& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CProductInfo_SetRichPresenceLocalization_Request_Token* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.token_){} - , decltype(_impl_.value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_token()) { - _this->_impl_.token_.Set(from._internal_token(), - _this->GetArenaForAllocation()); - } - _impl_.value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_value()) { - _this->_impl_.value_.Set(from._internal_value(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CProductInfo_SetRichPresenceLocalization_Request.Token) -} - -inline void CProductInfo_SetRichPresenceLocalization_Request_Token::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.token_){} - , decltype(_impl_.value_){} - }; - _impl_.token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CProductInfo_SetRichPresenceLocalization_Request_Token::~CProductInfo_SetRichPresenceLocalization_Request_Token() { - // @@protoc_insertion_point(destructor:CProductInfo_SetRichPresenceLocalization_Request.Token) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CProductInfo_SetRichPresenceLocalization_Request_Token::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.token_.Destroy(); - _impl_.value_.Destroy(); -} - -void CProductInfo_SetRichPresenceLocalization_Request_Token::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CProductInfo_SetRichPresenceLocalization_Request_Token::Clear() { -// @@protoc_insertion_point(message_clear_start:CProductInfo_SetRichPresenceLocalization_Request.Token) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.token_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.value_.ClearNonDefaultToEmpty(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CProductInfo_SetRichPresenceLocalization_Request_Token::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string token = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_token(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CProductInfo_SetRichPresenceLocalization_Request.Token.token"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_value(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CProductInfo_SetRichPresenceLocalization_Request.Token.value"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CProductInfo_SetRichPresenceLocalization_Request_Token::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CProductInfo_SetRichPresenceLocalization_Request.Token) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string token = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_token().data(), static_cast(this->_internal_token().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CProductInfo_SetRichPresenceLocalization_Request.Token.token"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_token(), target); - } - - // optional string value = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_value().data(), static_cast(this->_internal_value().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CProductInfo_SetRichPresenceLocalization_Request.Token.value"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CProductInfo_SetRichPresenceLocalization_Request.Token) - return target; -} - -size_t CProductInfo_SetRichPresenceLocalization_Request_Token::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CProductInfo_SetRichPresenceLocalization_Request.Token) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string token = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_token()); - } - - // optional string value = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_value()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CProductInfo_SetRichPresenceLocalization_Request_Token::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CProductInfo_SetRichPresenceLocalization_Request_Token::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CProductInfo_SetRichPresenceLocalization_Request_Token::GetClassData() const { return &_class_data_; } - - -void CProductInfo_SetRichPresenceLocalization_Request_Token::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CProductInfo_SetRichPresenceLocalization_Request.Token) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_token(from._internal_token()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_value(from._internal_value()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CProductInfo_SetRichPresenceLocalization_Request_Token::CopyFrom(const CProductInfo_SetRichPresenceLocalization_Request_Token& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CProductInfo_SetRichPresenceLocalization_Request.Token) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CProductInfo_SetRichPresenceLocalization_Request_Token::IsInitialized() const { - return true; -} - -void CProductInfo_SetRichPresenceLocalization_Request_Token::InternalSwap(CProductInfo_SetRichPresenceLocalization_Request_Token* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.token_, lhs_arena, - &other->_impl_.token_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.value_, lhs_arena, - &other->_impl_.value_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CProductInfo_SetRichPresenceLocalization_Request_Token::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[42]); -} - -// =================================================================== - -class CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_language(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) -} -CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection(const CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tokens_){from._impl_.tokens_} - , decltype(_impl_.language_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.language_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.language_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_language()) { - _this->_impl_.language_.Set(from._internal_language(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) -} - -inline void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tokens_){arena} - , decltype(_impl_.language_){} - }; - _impl_.language_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.language_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::~CProductInfo_SetRichPresenceLocalization_Request_LanguageSection() { - // @@protoc_insertion_point(destructor:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.tokens_.~RepeatedPtrField(); - _impl_.language_.Destroy(); -} - -void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::Clear() { -// @@protoc_insertion_point(message_clear_start:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.tokens_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.language_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string language = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_language(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.language"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated .CProductInfo_SetRichPresenceLocalization_Request.Token tokens = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_tokens(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string language = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_language().data(), static_cast(this->_internal_language().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.language"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_language(), target); - } - - // repeated .CProductInfo_SetRichPresenceLocalization_Request.Token tokens = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_tokens_size()); i < n; i++) { - const auto& repfield = this->_internal_tokens(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) - return target; -} - -size_t CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CProductInfo_SetRichPresenceLocalization_Request.Token tokens = 2; - total_size += 1UL * this->_internal_tokens_size(); - for (const auto& msg : this->_impl_.tokens_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional string language = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_language()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::GetClassData() const { return &_class_data_; } - - -void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.tokens_.MergeFrom(from._impl_.tokens_); - if (from._internal_has_language()) { - _this->_internal_set_language(from._internal_language()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::CopyFrom(const CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::IsInitialized() const { - return true; -} - -void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::InternalSwap(CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.tokens_.InternalSwap(&other->_impl_.tokens_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.language_, lhs_arena, - &other->_impl_.language_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[43]); -} - -// =================================================================== - -class CProductInfo_SetRichPresenceLocalization_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CProductInfo_SetRichPresenceLocalization_Request::CProductInfo_SetRichPresenceLocalization_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CProductInfo_SetRichPresenceLocalization_Request) -} -CProductInfo_SetRichPresenceLocalization_Request::CProductInfo_SetRichPresenceLocalization_Request(const CProductInfo_SetRichPresenceLocalization_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CProductInfo_SetRichPresenceLocalization_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.languages_){from._impl_.languages_} - , decltype(_impl_.steamid_){} - , decltype(_impl_.appid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, - static_cast(reinterpret_cast(&_impl_.appid_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); - // @@protoc_insertion_point(copy_constructor:CProductInfo_SetRichPresenceLocalization_Request) -} - -inline void CProductInfo_SetRichPresenceLocalization_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.languages_){arena} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.appid_){0u} - }; -} - -CProductInfo_SetRichPresenceLocalization_Request::~CProductInfo_SetRichPresenceLocalization_Request() { - // @@protoc_insertion_point(destructor:CProductInfo_SetRichPresenceLocalization_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CProductInfo_SetRichPresenceLocalization_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.languages_.~RepeatedPtrField(); -} - -void CProductInfo_SetRichPresenceLocalization_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CProductInfo_SetRichPresenceLocalization_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CProductInfo_SetRichPresenceLocalization_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.languages_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.steamid_, 0, static_cast( - reinterpret_cast(&_impl_.appid_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CProductInfo_SetRichPresenceLocalization_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CProductInfo_SetRichPresenceLocalization_Request.LanguageSection languages = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_languages(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint64 steamid = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CProductInfo_SetRichPresenceLocalization_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CProductInfo_SetRichPresenceLocalization_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // repeated .CProductInfo_SetRichPresenceLocalization_Request.LanguageSection languages = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_languages_size()); i < n; i++) { - const auto& repfield = this->_internal_languages(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint64 steamid = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_steamid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CProductInfo_SetRichPresenceLocalization_Request) - return target; -} - -size_t CProductInfo_SetRichPresenceLocalization_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CProductInfo_SetRichPresenceLocalization_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CProductInfo_SetRichPresenceLocalization_Request.LanguageSection languages = 2; - total_size += 1UL * this->_internal_languages_size(); - for (const auto& msg : this->_impl_.languages_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 steamid = 3; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_steamid()); - } - - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CProductInfo_SetRichPresenceLocalization_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CProductInfo_SetRichPresenceLocalization_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CProductInfo_SetRichPresenceLocalization_Request::GetClassData() const { return &_class_data_; } - - -void CProductInfo_SetRichPresenceLocalization_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CProductInfo_SetRichPresenceLocalization_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.languages_.MergeFrom(from._impl_.languages_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CProductInfo_SetRichPresenceLocalization_Request::CopyFrom(const CProductInfo_SetRichPresenceLocalization_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CProductInfo_SetRichPresenceLocalization_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CProductInfo_SetRichPresenceLocalization_Request::IsInitialized() const { - return true; -} - -void CProductInfo_SetRichPresenceLocalization_Request::InternalSwap(CProductInfo_SetRichPresenceLocalization_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.languages_.InternalSwap(&other->_impl_.languages_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CProductInfo_SetRichPresenceLocalization_Request, _impl_.appid_) - + sizeof(CProductInfo_SetRichPresenceLocalization_Request::_impl_.appid_) - - PROTOBUF_FIELD_OFFSET(CProductInfo_SetRichPresenceLocalization_Request, _impl_.steamid_)>( - reinterpret_cast(&_impl_.steamid_), - reinterpret_cast(&other->_impl_.steamid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CProductInfo_SetRichPresenceLocalization_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[44]); -} - -// =================================================================== - -class CProductInfo_SetRichPresenceLocalization_Response::_Internal { - public: -}; - -CProductInfo_SetRichPresenceLocalization_Response::CProductInfo_SetRichPresenceLocalization_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CProductInfo_SetRichPresenceLocalization_Response) -} -CProductInfo_SetRichPresenceLocalization_Response::CProductInfo_SetRichPresenceLocalization_Response(const CProductInfo_SetRichPresenceLocalization_Response& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CProductInfo_SetRichPresenceLocalization_Response* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CProductInfo_SetRichPresenceLocalization_Response) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CProductInfo_SetRichPresenceLocalization_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CProductInfo_SetRichPresenceLocalization_Response::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CProductInfo_SetRichPresenceLocalization_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[45]); -} - -// =================================================================== - -class CMsgSerializedSOCache_TypeCache::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_service_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgSerializedSOCache_TypeCache::CMsgSerializedSOCache_TypeCache(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSerializedSOCache.TypeCache) -} -CMsgSerializedSOCache_TypeCache::CMsgSerializedSOCache_TypeCache(const CMsgSerializedSOCache_TypeCache& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSerializedSOCache_TypeCache* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.objects_){from._impl_.objects_} - , decltype(_impl_.type_){} - , decltype(_impl_.service_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.type_, &from._impl_.type_, - static_cast(reinterpret_cast(&_impl_.service_id_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.service_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgSerializedSOCache.TypeCache) -} - -inline void CMsgSerializedSOCache_TypeCache::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.objects_){arena} - , decltype(_impl_.type_){0u} - , decltype(_impl_.service_id_){0u} - }; -} - -CMsgSerializedSOCache_TypeCache::~CMsgSerializedSOCache_TypeCache() { - // @@protoc_insertion_point(destructor:CMsgSerializedSOCache.TypeCache) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSerializedSOCache_TypeCache::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.objects_.~RepeatedPtrField(); -} - -void CMsgSerializedSOCache_TypeCache::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSerializedSOCache_TypeCache::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSerializedSOCache.TypeCache) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.objects_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.type_, 0, static_cast( - reinterpret_cast(&_impl_.service_id_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.service_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSerializedSOCache_TypeCache::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_type(&has_bits); - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated bytes objects = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_objects(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 service_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_service_id(&has_bits); - _impl_.service_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSerializedSOCache_TypeCache::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSerializedSOCache.TypeCache) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 type = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_type(), target); - } - - // repeated bytes objects = 2; - for (int i = 0, n = this->_internal_objects_size(); i < n; i++) { - const auto& s = this->_internal_objects(i); - target = stream->WriteBytes(2, s, target); - } - - // optional uint32 service_id = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_service_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSerializedSOCache.TypeCache) - return target; -} - -size_t CMsgSerializedSOCache_TypeCache::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSerializedSOCache.TypeCache) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated bytes objects = 2; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.objects_.size()); - for (int i = 0, n = _impl_.objects_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - _impl_.objects_.Get(i)); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 type = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_type()); - } - - // optional uint32 service_id = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_service_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSerializedSOCache_TypeCache::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSerializedSOCache_TypeCache::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSerializedSOCache_TypeCache::GetClassData() const { return &_class_data_; } - - -void CMsgSerializedSOCache_TypeCache::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSerializedSOCache.TypeCache) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.objects_.MergeFrom(from._impl_.objects_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.type_ = from._impl_.type_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.service_id_ = from._impl_.service_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSerializedSOCache_TypeCache::CopyFrom(const CMsgSerializedSOCache_TypeCache& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSerializedSOCache.TypeCache) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSerializedSOCache_TypeCache::IsInitialized() const { - return true; -} - -void CMsgSerializedSOCache_TypeCache::InternalSwap(CMsgSerializedSOCache_TypeCache* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.objects_.InternalSwap(&other->_impl_.objects_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSerializedSOCache_TypeCache, _impl_.service_id_) - + sizeof(CMsgSerializedSOCache_TypeCache::_impl_.service_id_) - - PROTOBUF_FIELD_OFFSET(CMsgSerializedSOCache_TypeCache, _impl_.type_)>( - reinterpret_cast(&_impl_.type_), - reinterpret_cast(&other->_impl_.type_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSerializedSOCache_TypeCache::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[46]); -} - -// =================================================================== - -class CMsgSerializedSOCache_Cache_Version::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_service(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_version(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSerializedSOCache_Cache_Version::CMsgSerializedSOCache_Cache_Version(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSerializedSOCache.Cache.Version) -} -CMsgSerializedSOCache_Cache_Version::CMsgSerializedSOCache_Cache_Version(const CMsgSerializedSOCache_Cache_Version& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSerializedSOCache_Cache_Version* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.version_){} - , decltype(_impl_.service_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.version_, &from._impl_.version_, - static_cast(reinterpret_cast(&_impl_.service_) - - reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.service_)); - // @@protoc_insertion_point(copy_constructor:CMsgSerializedSOCache.Cache.Version) -} - -inline void CMsgSerializedSOCache_Cache_Version::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.version_){uint64_t{0u}} - , decltype(_impl_.service_){0u} - }; -} - -CMsgSerializedSOCache_Cache_Version::~CMsgSerializedSOCache_Cache_Version() { - // @@protoc_insertion_point(destructor:CMsgSerializedSOCache.Cache.Version) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSerializedSOCache_Cache_Version::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSerializedSOCache_Cache_Version::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSerializedSOCache_Cache_Version::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSerializedSOCache.Cache.Version) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.version_, 0, static_cast( - reinterpret_cast(&_impl_.service_) - - reinterpret_cast(&_impl_.version_)) + sizeof(_impl_.service_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSerializedSOCache_Cache_Version::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 service = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_service(&has_bits); - _impl_.service_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 version = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_version(&has_bits); - _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSerializedSOCache_Cache_Version::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSerializedSOCache.Cache.Version) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 service = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_service(), target); - } - - // optional uint64 version = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_version(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSerializedSOCache.Cache.Version) - return target; -} - -size_t CMsgSerializedSOCache_Cache_Version::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSerializedSOCache.Cache.Version) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 version = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_version()); - } - - // optional uint32 service = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_service()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSerializedSOCache_Cache_Version::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSerializedSOCache_Cache_Version::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSerializedSOCache_Cache_Version::GetClassData() const { return &_class_data_; } - - -void CMsgSerializedSOCache_Cache_Version::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSerializedSOCache.Cache.Version) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.version_ = from._impl_.version_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.service_ = from._impl_.service_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSerializedSOCache_Cache_Version::CopyFrom(const CMsgSerializedSOCache_Cache_Version& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSerializedSOCache.Cache.Version) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSerializedSOCache_Cache_Version::IsInitialized() const { - return true; -} - -void CMsgSerializedSOCache_Cache_Version::InternalSwap(CMsgSerializedSOCache_Cache_Version* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSerializedSOCache_Cache_Version, _impl_.service_) - + sizeof(CMsgSerializedSOCache_Cache_Version::_impl_.service_) - - PROTOBUF_FIELD_OFFSET(CMsgSerializedSOCache_Cache_Version, _impl_.version_)>( - reinterpret_cast(&_impl_.version_), - reinterpret_cast(&other->_impl_.version_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSerializedSOCache_Cache_Version::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[47]); -} - -// =================================================================== - -class CMsgSerializedSOCache_Cache::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSerializedSOCache_Cache::CMsgSerializedSOCache_Cache(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSerializedSOCache.Cache) -} -CMsgSerializedSOCache_Cache::CMsgSerializedSOCache_Cache(const CMsgSerializedSOCache_Cache& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSerializedSOCache_Cache* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.versions_){from._impl_.versions_} - , decltype(_impl_.type_caches_){from._impl_.type_caches_} - , decltype(_impl_.id_){} - , decltype(_impl_.type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.id_, &from._impl_.id_, - static_cast(reinterpret_cast(&_impl_.type_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.type_)); - // @@protoc_insertion_point(copy_constructor:CMsgSerializedSOCache.Cache) -} - -inline void CMsgSerializedSOCache_Cache::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.versions_){arena} - , decltype(_impl_.type_caches_){arena} - , decltype(_impl_.id_){uint64_t{0u}} - , decltype(_impl_.type_){0u} - }; -} - -CMsgSerializedSOCache_Cache::~CMsgSerializedSOCache_Cache() { - // @@protoc_insertion_point(destructor:CMsgSerializedSOCache.Cache) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSerializedSOCache_Cache::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.versions_.~RepeatedPtrField(); - _impl_.type_caches_.~RepeatedPtrField(); -} - -void CMsgSerializedSOCache_Cache::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSerializedSOCache_Cache::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSerializedSOCache.Cache) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.versions_.Clear(); - _impl_.type_caches_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.id_, 0, static_cast( - reinterpret_cast(&_impl_.type_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.type_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSerializedSOCache_Cache::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_type(&has_bits); - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_id(&has_bits); - _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgSerializedSOCache.Cache.Version versions = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_versions(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CMsgSerializedSOCache.TypeCache type_caches = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_type_caches(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSerializedSOCache_Cache::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSerializedSOCache.Cache) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 type = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_type(), target); - } - - // optional uint64 id = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_id(), target); - } - - // repeated .CMsgSerializedSOCache.Cache.Version versions = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_versions_size()); i < n; i++) { - const auto& repfield = this->_internal_versions(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CMsgSerializedSOCache.TypeCache type_caches = 4; - for (unsigned i = 0, - n = static_cast(this->_internal_type_caches_size()); i < n; i++) { - const auto& repfield = this->_internal_type_caches(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSerializedSOCache.Cache) - return target; -} - -size_t CMsgSerializedSOCache_Cache::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSerializedSOCache.Cache) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSerializedSOCache.Cache.Version versions = 3; - total_size += 1UL * this->_internal_versions_size(); - for (const auto& msg : this->_impl_.versions_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CMsgSerializedSOCache.TypeCache type_caches = 4; - total_size += 1UL * this->_internal_type_caches_size(); - for (const auto& msg : this->_impl_.type_caches_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 id = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_id()); - } - - // optional uint32 type = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSerializedSOCache_Cache::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSerializedSOCache_Cache::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSerializedSOCache_Cache::GetClassData() const { return &_class_data_; } - - -void CMsgSerializedSOCache_Cache::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSerializedSOCache.Cache) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.versions_.MergeFrom(from._impl_.versions_); - _this->_impl_.type_caches_.MergeFrom(from._impl_.type_caches_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.id_ = from._impl_.id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.type_ = from._impl_.type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSerializedSOCache_Cache::CopyFrom(const CMsgSerializedSOCache_Cache& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSerializedSOCache.Cache) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSerializedSOCache_Cache::IsInitialized() const { - return true; -} - -void CMsgSerializedSOCache_Cache::InternalSwap(CMsgSerializedSOCache_Cache* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.versions_.InternalSwap(&other->_impl_.versions_); - _impl_.type_caches_.InternalSwap(&other->_impl_.type_caches_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSerializedSOCache_Cache, _impl_.type_) - + sizeof(CMsgSerializedSOCache_Cache::_impl_.type_) - - PROTOBUF_FIELD_OFFSET(CMsgSerializedSOCache_Cache, _impl_.id_)>( - reinterpret_cast(&_impl_.id_), - reinterpret_cast(&other->_impl_.id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSerializedSOCache_Cache::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[48]); -} - -// =================================================================== - -class CMsgSerializedSOCache::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_file_version(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_gc_socache_file_version(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgSerializedSOCache::CMsgSerializedSOCache(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSerializedSOCache) -} -CMsgSerializedSOCache::CMsgSerializedSOCache(const CMsgSerializedSOCache& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSerializedSOCache* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.caches_){from._impl_.caches_} - , decltype(_impl_.file_version_){} - , decltype(_impl_.gc_socache_file_version_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.file_version_, &from._impl_.file_version_, - static_cast(reinterpret_cast(&_impl_.gc_socache_file_version_) - - reinterpret_cast(&_impl_.file_version_)) + sizeof(_impl_.gc_socache_file_version_)); - // @@protoc_insertion_point(copy_constructor:CMsgSerializedSOCache) -} - -inline void CMsgSerializedSOCache::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.caches_){arena} - , decltype(_impl_.file_version_){0u} - , decltype(_impl_.gc_socache_file_version_){0u} - }; -} - -CMsgSerializedSOCache::~CMsgSerializedSOCache() { - // @@protoc_insertion_point(destructor:CMsgSerializedSOCache) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSerializedSOCache::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.caches_.~RepeatedPtrField(); -} - -void CMsgSerializedSOCache::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSerializedSOCache::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSerializedSOCache) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.caches_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.file_version_, 0, static_cast( - reinterpret_cast(&_impl_.gc_socache_file_version_) - - reinterpret_cast(&_impl_.file_version_)) + sizeof(_impl_.gc_socache_file_version_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSerializedSOCache::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 file_version = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_file_version(&has_bits); - _impl_.file_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgSerializedSOCache.Cache caches = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_caches(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 gc_socache_file_version = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_gc_socache_file_version(&has_bits); - _impl_.gc_socache_file_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSerializedSOCache::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSerializedSOCache) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 file_version = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_file_version(), target); - } - - // repeated .CMsgSerializedSOCache.Cache caches = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_caches_size()); i < n; i++) { - const auto& repfield = this->_internal_caches(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 gc_socache_file_version = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_gc_socache_file_version(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSerializedSOCache) - return target; -} - -size_t CMsgSerializedSOCache::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSerializedSOCache) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSerializedSOCache.Cache caches = 2; - total_size += 1UL * this->_internal_caches_size(); - for (const auto& msg : this->_impl_.caches_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 file_version = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_file_version()); - } - - // optional uint32 gc_socache_file_version = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gc_socache_file_version()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSerializedSOCache::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSerializedSOCache::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSerializedSOCache::GetClassData() const { return &_class_data_; } - - -void CMsgSerializedSOCache::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSerializedSOCache) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.caches_.MergeFrom(from._impl_.caches_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.file_version_ = from._impl_.file_version_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.gc_socache_file_version_ = from._impl_.gc_socache_file_version_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSerializedSOCache::CopyFrom(const CMsgSerializedSOCache& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSerializedSOCache) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSerializedSOCache::IsInitialized() const { - return true; -} - -void CMsgSerializedSOCache::InternalSwap(CMsgSerializedSOCache* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.caches_.InternalSwap(&other->_impl_.caches_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSerializedSOCache, _impl_.gc_socache_file_version_) - + sizeof(CMsgSerializedSOCache::_impl_.gc_socache_file_version_) - - PROTOBUF_FIELD_OFFSET(CMsgSerializedSOCache, _impl_.file_version_)>( - reinterpret_cast(&_impl_.file_version_), - reinterpret_cast(&other->_impl_.file_version_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSerializedSOCache::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsdk_5fgcmessages_2eproto_getter, &descriptor_table_gcsdk_5fgcmessages_2eproto_once, - file_level_metadata_gcsdk_5fgcmessages_2eproto[49]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CMsgSOIDOwner* -Arena::CreateMaybeMessage< ::CMsgSOIDOwner >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSOIDOwner >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSOSingleObject* -Arena::CreateMaybeMessage< ::CMsgSOSingleObject >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSOSingleObject >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSOMultipleObjects_SingleObject* -Arena::CreateMaybeMessage< ::CMsgSOMultipleObjects_SingleObject >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSOMultipleObjects_SingleObject >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSOMultipleObjects* -Arena::CreateMaybeMessage< ::CMsgSOMultipleObjects >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSOMultipleObjects >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSOCacheSubscribed_SubscribedType* -Arena::CreateMaybeMessage< ::CMsgSOCacheSubscribed_SubscribedType >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSOCacheSubscribed_SubscribedType >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSOCacheSubscribed* -Arena::CreateMaybeMessage< ::CMsgSOCacheSubscribed >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSOCacheSubscribed >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSOCacheUnsubscribed* -Arena::CreateMaybeMessage< ::CMsgSOCacheUnsubscribed >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSOCacheUnsubscribed >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSOCacheSubscriptionCheck* -Arena::CreateMaybeMessage< ::CMsgSOCacheSubscriptionCheck >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSOCacheSubscriptionCheck >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSOCacheSubscriptionRefresh* -Arena::CreateMaybeMessage< ::CMsgSOCacheSubscriptionRefresh >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSOCacheSubscriptionRefresh >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSOCacheVersion* -Arena::CreateMaybeMessage< ::CMsgSOCacheVersion >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSOCacheVersion >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgAccountDetails* -Arena::CreateMaybeMessage< ::CMsgAccountDetails >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgAccountDetails >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCMultiplexMessage* -Arena::CreateMaybeMessage< ::CMsgGCMultiplexMessage >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCMultiplexMessage >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCMultiplexMessage_Response* -Arena::CreateMaybeMessage< ::CMsgGCMultiplexMessage_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCMultiplexMessage_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CGCToGCMsgMasterAck* -Arena::CreateMaybeMessage< ::CGCToGCMsgMasterAck >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGCToGCMsgMasterAck >(arena); -} -template<> PROTOBUF_NOINLINE ::CGCToGCMsgMasterAck_Response* -Arena::CreateMaybeMessage< ::CGCToGCMsgMasterAck_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGCToGCMsgMasterAck_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CGCToGCMsgMasterStartupComplete* -Arena::CreateMaybeMessage< ::CGCToGCMsgMasterStartupComplete >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGCToGCMsgMasterStartupComplete >(arena); -} -template<> PROTOBUF_NOINLINE ::CGCToGCMsgRouted* -Arena::CreateMaybeMessage< ::CGCToGCMsgRouted >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGCToGCMsgRouted >(arena); -} -template<> PROTOBUF_NOINLINE ::CGCToGCMsgRoutedReply* -Arena::CreateMaybeMessage< ::CGCToGCMsgRoutedReply >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGCToGCMsgRoutedReply >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCUpdateSessionIP* -Arena::CreateMaybeMessage< ::CMsgGCUpdateSessionIP >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCUpdateSessionIP >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCRequestSessionIP* -Arena::CreateMaybeMessage< ::CMsgGCRequestSessionIP >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCRequestSessionIP >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCRequestSessionIPResponse* -Arena::CreateMaybeMessage< ::CMsgGCRequestSessionIPResponse >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCRequestSessionIPResponse >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSOCacheHaveVersion* -Arena::CreateMaybeMessage< ::CMsgSOCacheHaveVersion >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSOCacheHaveVersion >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgClientHello* -Arena::CreateMaybeMessage< ::CMsgClientHello >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgClientHello >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgServerHello* -Arena::CreateMaybeMessage< ::CMsgServerHello >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgServerHello >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgClientWelcome_Location* -Arena::CreateMaybeMessage< ::CMsgClientWelcome_Location >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgClientWelcome_Location >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgClientWelcome* -Arena::CreateMaybeMessage< ::CMsgClientWelcome >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgClientWelcome >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgConnectionStatus* -Arena::CreateMaybeMessage< ::CMsgConnectionStatus >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgConnectionStatus >(arena); -} -template<> PROTOBUF_NOINLINE ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* -Arena::CreateMaybeMessage< ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription >(Arena* arena) { - return Arena::CreateMessageInternal< ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription >(arena); -} -template<> PROTOBUF_NOINLINE ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* -Arena::CreateMaybeMessage< ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock >(Arena* arena) { - return Arena::CreateMessageInternal< ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock >(arena); -} -template<> PROTOBUF_NOINLINE ::CWorkshop_PopulateItemDescriptions_Request* -Arena::CreateMaybeMessage< ::CWorkshop_PopulateItemDescriptions_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CWorkshop_PopulateItemDescriptions_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CWorkshop_GetContributors_Request* -Arena::CreateMaybeMessage< ::CWorkshop_GetContributors_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CWorkshop_GetContributors_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CWorkshop_GetContributors_Response* -Arena::CreateMaybeMessage< ::CWorkshop_GetContributors_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CWorkshop_GetContributors_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* -Arena::CreateMaybeMessage< ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule >(Arena* arena) { - return Arena::CreateMessageInternal< ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule >(arena); -} -template<> PROTOBUF_NOINLINE ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* -Arena::CreateMaybeMessage< ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule >(Arena* arena) { - return Arena::CreateMessageInternal< ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule >(arena); -} -template<> PROTOBUF_NOINLINE ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* -Arena::CreateMaybeMessage< ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule >(Arena* arena) { - return Arena::CreateMessageInternal< ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule >(arena); -} -template<> PROTOBUF_NOINLINE ::CWorkshop_SetItemPaymentRules_Request* -Arena::CreateMaybeMessage< ::CWorkshop_SetItemPaymentRules_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CWorkshop_SetItemPaymentRules_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CWorkshop_SetItemPaymentRules_Response* -Arena::CreateMaybeMessage< ::CWorkshop_SetItemPaymentRules_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CWorkshop_SetItemPaymentRules_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CGameServers_AggregationQuery_Request* -Arena::CreateMaybeMessage< ::CGameServers_AggregationQuery_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGameServers_AggregationQuery_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CGameServers_AggregationQuery_Response_Group* -Arena::CreateMaybeMessage< ::CGameServers_AggregationQuery_Response_Group >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGameServers_AggregationQuery_Response_Group >(arena); -} -template<> PROTOBUF_NOINLINE ::CGameServers_AggregationQuery_Response* -Arena::CreateMaybeMessage< ::CGameServers_AggregationQuery_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGameServers_AggregationQuery_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CWorkshop_AddSpecialPayment_Request* -Arena::CreateMaybeMessage< ::CWorkshop_AddSpecialPayment_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CWorkshop_AddSpecialPayment_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CWorkshop_AddSpecialPayment_Response* -Arena::CreateMaybeMessage< ::CWorkshop_AddSpecialPayment_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CWorkshop_AddSpecialPayment_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CProductInfo_SetRichPresenceLocalization_Request_Token* -Arena::CreateMaybeMessage< ::CProductInfo_SetRichPresenceLocalization_Request_Token >(Arena* arena) { - return Arena::CreateMessageInternal< ::CProductInfo_SetRichPresenceLocalization_Request_Token >(arena); -} -template<> PROTOBUF_NOINLINE ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* -Arena::CreateMaybeMessage< ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection >(Arena* arena) { - return Arena::CreateMessageInternal< ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection >(arena); -} -template<> PROTOBUF_NOINLINE ::CProductInfo_SetRichPresenceLocalization_Request* -Arena::CreateMaybeMessage< ::CProductInfo_SetRichPresenceLocalization_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CProductInfo_SetRichPresenceLocalization_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CProductInfo_SetRichPresenceLocalization_Response* -Arena::CreateMaybeMessage< ::CProductInfo_SetRichPresenceLocalization_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CProductInfo_SetRichPresenceLocalization_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSerializedSOCache_TypeCache* -Arena::CreateMaybeMessage< ::CMsgSerializedSOCache_TypeCache >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSerializedSOCache_TypeCache >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSerializedSOCache_Cache_Version* -Arena::CreateMaybeMessage< ::CMsgSerializedSOCache_Cache_Version >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSerializedSOCache_Cache_Version >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSerializedSOCache_Cache* -Arena::CreateMaybeMessage< ::CMsgSerializedSOCache_Cache >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSerializedSOCache_Cache >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSerializedSOCache* -Arena::CreateMaybeMessage< ::CMsgSerializedSOCache >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSerializedSOCache >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/gcsdk_gcmessages.pb.h b/protobuf/generated/gcsdk_gcmessages.pb.h deleted file mode 100644 index b5c302916..000000000 --- a/protobuf/generated/gcsdk_gcmessages.pb.h +++ /dev/null @@ -1,16732 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: gcsdk_gcmessages.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_gcsdk_5fgcmessages_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_gcsdk_5fgcmessages_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "steammessages.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_gcsdk_5fgcmessages_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_gcsdk_5fgcmessages_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_gcsdk_5fgcmessages_2eproto; -class CGCToGCMsgMasterAck; -struct CGCToGCMsgMasterAckDefaultTypeInternal; -extern CGCToGCMsgMasterAckDefaultTypeInternal _CGCToGCMsgMasterAck_default_instance_; -class CGCToGCMsgMasterAck_Response; -struct CGCToGCMsgMasterAck_ResponseDefaultTypeInternal; -extern CGCToGCMsgMasterAck_ResponseDefaultTypeInternal _CGCToGCMsgMasterAck_Response_default_instance_; -class CGCToGCMsgMasterStartupComplete; -struct CGCToGCMsgMasterStartupCompleteDefaultTypeInternal; -extern CGCToGCMsgMasterStartupCompleteDefaultTypeInternal _CGCToGCMsgMasterStartupComplete_default_instance_; -class CGCToGCMsgRouted; -struct CGCToGCMsgRoutedDefaultTypeInternal; -extern CGCToGCMsgRoutedDefaultTypeInternal _CGCToGCMsgRouted_default_instance_; -class CGCToGCMsgRoutedReply; -struct CGCToGCMsgRoutedReplyDefaultTypeInternal; -extern CGCToGCMsgRoutedReplyDefaultTypeInternal _CGCToGCMsgRoutedReply_default_instance_; -class CGameServers_AggregationQuery_Request; -struct CGameServers_AggregationQuery_RequestDefaultTypeInternal; -extern CGameServers_AggregationQuery_RequestDefaultTypeInternal _CGameServers_AggregationQuery_Request_default_instance_; -class CGameServers_AggregationQuery_Response; -struct CGameServers_AggregationQuery_ResponseDefaultTypeInternal; -extern CGameServers_AggregationQuery_ResponseDefaultTypeInternal _CGameServers_AggregationQuery_Response_default_instance_; -class CGameServers_AggregationQuery_Response_Group; -struct CGameServers_AggregationQuery_Response_GroupDefaultTypeInternal; -extern CGameServers_AggregationQuery_Response_GroupDefaultTypeInternal _CGameServers_AggregationQuery_Response_Group_default_instance_; -class CMsgAccountDetails; -struct CMsgAccountDetailsDefaultTypeInternal; -extern CMsgAccountDetailsDefaultTypeInternal _CMsgAccountDetails_default_instance_; -class CMsgClientHello; -struct CMsgClientHelloDefaultTypeInternal; -extern CMsgClientHelloDefaultTypeInternal _CMsgClientHello_default_instance_; -class CMsgClientWelcome; -struct CMsgClientWelcomeDefaultTypeInternal; -extern CMsgClientWelcomeDefaultTypeInternal _CMsgClientWelcome_default_instance_; -class CMsgClientWelcome_Location; -struct CMsgClientWelcome_LocationDefaultTypeInternal; -extern CMsgClientWelcome_LocationDefaultTypeInternal _CMsgClientWelcome_Location_default_instance_; -class CMsgConnectionStatus; -struct CMsgConnectionStatusDefaultTypeInternal; -extern CMsgConnectionStatusDefaultTypeInternal _CMsgConnectionStatus_default_instance_; -class CMsgGCMultiplexMessage; -struct CMsgGCMultiplexMessageDefaultTypeInternal; -extern CMsgGCMultiplexMessageDefaultTypeInternal _CMsgGCMultiplexMessage_default_instance_; -class CMsgGCMultiplexMessage_Response; -struct CMsgGCMultiplexMessage_ResponseDefaultTypeInternal; -extern CMsgGCMultiplexMessage_ResponseDefaultTypeInternal _CMsgGCMultiplexMessage_Response_default_instance_; -class CMsgGCRequestSessionIP; -struct CMsgGCRequestSessionIPDefaultTypeInternal; -extern CMsgGCRequestSessionIPDefaultTypeInternal _CMsgGCRequestSessionIP_default_instance_; -class CMsgGCRequestSessionIPResponse; -struct CMsgGCRequestSessionIPResponseDefaultTypeInternal; -extern CMsgGCRequestSessionIPResponseDefaultTypeInternal _CMsgGCRequestSessionIPResponse_default_instance_; -class CMsgGCUpdateSessionIP; -struct CMsgGCUpdateSessionIPDefaultTypeInternal; -extern CMsgGCUpdateSessionIPDefaultTypeInternal _CMsgGCUpdateSessionIP_default_instance_; -class CMsgSOCacheHaveVersion; -struct CMsgSOCacheHaveVersionDefaultTypeInternal; -extern CMsgSOCacheHaveVersionDefaultTypeInternal _CMsgSOCacheHaveVersion_default_instance_; -class CMsgSOCacheSubscribed; -struct CMsgSOCacheSubscribedDefaultTypeInternal; -extern CMsgSOCacheSubscribedDefaultTypeInternal _CMsgSOCacheSubscribed_default_instance_; -class CMsgSOCacheSubscribed_SubscribedType; -struct CMsgSOCacheSubscribed_SubscribedTypeDefaultTypeInternal; -extern CMsgSOCacheSubscribed_SubscribedTypeDefaultTypeInternal _CMsgSOCacheSubscribed_SubscribedType_default_instance_; -class CMsgSOCacheSubscriptionCheck; -struct CMsgSOCacheSubscriptionCheckDefaultTypeInternal; -extern CMsgSOCacheSubscriptionCheckDefaultTypeInternal _CMsgSOCacheSubscriptionCheck_default_instance_; -class CMsgSOCacheSubscriptionRefresh; -struct CMsgSOCacheSubscriptionRefreshDefaultTypeInternal; -extern CMsgSOCacheSubscriptionRefreshDefaultTypeInternal _CMsgSOCacheSubscriptionRefresh_default_instance_; -class CMsgSOCacheUnsubscribed; -struct CMsgSOCacheUnsubscribedDefaultTypeInternal; -extern CMsgSOCacheUnsubscribedDefaultTypeInternal _CMsgSOCacheUnsubscribed_default_instance_; -class CMsgSOCacheVersion; -struct CMsgSOCacheVersionDefaultTypeInternal; -extern CMsgSOCacheVersionDefaultTypeInternal _CMsgSOCacheVersion_default_instance_; -class CMsgSOIDOwner; -struct CMsgSOIDOwnerDefaultTypeInternal; -extern CMsgSOIDOwnerDefaultTypeInternal _CMsgSOIDOwner_default_instance_; -class CMsgSOMultipleObjects; -struct CMsgSOMultipleObjectsDefaultTypeInternal; -extern CMsgSOMultipleObjectsDefaultTypeInternal _CMsgSOMultipleObjects_default_instance_; -class CMsgSOMultipleObjects_SingleObject; -struct CMsgSOMultipleObjects_SingleObjectDefaultTypeInternal; -extern CMsgSOMultipleObjects_SingleObjectDefaultTypeInternal _CMsgSOMultipleObjects_SingleObject_default_instance_; -class CMsgSOSingleObject; -struct CMsgSOSingleObjectDefaultTypeInternal; -extern CMsgSOSingleObjectDefaultTypeInternal _CMsgSOSingleObject_default_instance_; -class CMsgSerializedSOCache; -struct CMsgSerializedSOCacheDefaultTypeInternal; -extern CMsgSerializedSOCacheDefaultTypeInternal _CMsgSerializedSOCache_default_instance_; -class CMsgSerializedSOCache_Cache; -struct CMsgSerializedSOCache_CacheDefaultTypeInternal; -extern CMsgSerializedSOCache_CacheDefaultTypeInternal _CMsgSerializedSOCache_Cache_default_instance_; -class CMsgSerializedSOCache_Cache_Version; -struct CMsgSerializedSOCache_Cache_VersionDefaultTypeInternal; -extern CMsgSerializedSOCache_Cache_VersionDefaultTypeInternal _CMsgSerializedSOCache_Cache_Version_default_instance_; -class CMsgSerializedSOCache_TypeCache; -struct CMsgSerializedSOCache_TypeCacheDefaultTypeInternal; -extern CMsgSerializedSOCache_TypeCacheDefaultTypeInternal _CMsgSerializedSOCache_TypeCache_default_instance_; -class CMsgServerHello; -struct CMsgServerHelloDefaultTypeInternal; -extern CMsgServerHelloDefaultTypeInternal _CMsgServerHello_default_instance_; -class CProductInfo_SetRichPresenceLocalization_Request; -struct CProductInfo_SetRichPresenceLocalization_RequestDefaultTypeInternal; -extern CProductInfo_SetRichPresenceLocalization_RequestDefaultTypeInternal _CProductInfo_SetRichPresenceLocalization_Request_default_instance_; -class CProductInfo_SetRichPresenceLocalization_Request_LanguageSection; -struct CProductInfo_SetRichPresenceLocalization_Request_LanguageSectionDefaultTypeInternal; -extern CProductInfo_SetRichPresenceLocalization_Request_LanguageSectionDefaultTypeInternal _CProductInfo_SetRichPresenceLocalization_Request_LanguageSection_default_instance_; -class CProductInfo_SetRichPresenceLocalization_Request_Token; -struct CProductInfo_SetRichPresenceLocalization_Request_TokenDefaultTypeInternal; -extern CProductInfo_SetRichPresenceLocalization_Request_TokenDefaultTypeInternal _CProductInfo_SetRichPresenceLocalization_Request_Token_default_instance_; -class CProductInfo_SetRichPresenceLocalization_Response; -struct CProductInfo_SetRichPresenceLocalization_ResponseDefaultTypeInternal; -extern CProductInfo_SetRichPresenceLocalization_ResponseDefaultTypeInternal _CProductInfo_SetRichPresenceLocalization_Response_default_instance_; -class CWorkshop_AddSpecialPayment_Request; -struct CWorkshop_AddSpecialPayment_RequestDefaultTypeInternal; -extern CWorkshop_AddSpecialPayment_RequestDefaultTypeInternal _CWorkshop_AddSpecialPayment_Request_default_instance_; -class CWorkshop_AddSpecialPayment_Response; -struct CWorkshop_AddSpecialPayment_ResponseDefaultTypeInternal; -extern CWorkshop_AddSpecialPayment_ResponseDefaultTypeInternal _CWorkshop_AddSpecialPayment_Response_default_instance_; -class CWorkshop_GetContributors_Request; -struct CWorkshop_GetContributors_RequestDefaultTypeInternal; -extern CWorkshop_GetContributors_RequestDefaultTypeInternal _CWorkshop_GetContributors_Request_default_instance_; -class CWorkshop_GetContributors_Response; -struct CWorkshop_GetContributors_ResponseDefaultTypeInternal; -extern CWorkshop_GetContributors_ResponseDefaultTypeInternal _CWorkshop_GetContributors_Response_default_instance_; -class CWorkshop_PopulateItemDescriptions_Request; -struct CWorkshop_PopulateItemDescriptions_RequestDefaultTypeInternal; -extern CWorkshop_PopulateItemDescriptions_RequestDefaultTypeInternal _CWorkshop_PopulateItemDescriptions_Request_default_instance_; -class CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock; -struct CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlockDefaultTypeInternal; -extern CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlockDefaultTypeInternal _CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock_default_instance_; -class CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription; -struct CWorkshop_PopulateItemDescriptions_Request_SingleItemDescriptionDefaultTypeInternal; -extern CWorkshop_PopulateItemDescriptions_Request_SingleItemDescriptionDefaultTypeInternal _CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription_default_instance_; -class CWorkshop_SetItemPaymentRules_Request; -struct CWorkshop_SetItemPaymentRules_RequestDefaultTypeInternal; -extern CWorkshop_SetItemPaymentRules_RequestDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Request_default_instance_; -class CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule; -struct CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRuleDefaultTypeInternal; -extern CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRuleDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule_default_instance_; -class CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule; -struct CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRuleDefaultTypeInternal; -extern CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRuleDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule_default_instance_; -class CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule; -struct CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRuleDefaultTypeInternal; -extern CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRuleDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule_default_instance_; -class CWorkshop_SetItemPaymentRules_Response; -struct CWorkshop_SetItemPaymentRules_ResponseDefaultTypeInternal; -extern CWorkshop_SetItemPaymentRules_ResponseDefaultTypeInternal _CWorkshop_SetItemPaymentRules_Response_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CGCToGCMsgMasterAck* Arena::CreateMaybeMessage<::CGCToGCMsgMasterAck>(Arena*); -template<> ::CGCToGCMsgMasterAck_Response* Arena::CreateMaybeMessage<::CGCToGCMsgMasterAck_Response>(Arena*); -template<> ::CGCToGCMsgMasterStartupComplete* Arena::CreateMaybeMessage<::CGCToGCMsgMasterStartupComplete>(Arena*); -template<> ::CGCToGCMsgRouted* Arena::CreateMaybeMessage<::CGCToGCMsgRouted>(Arena*); -template<> ::CGCToGCMsgRoutedReply* Arena::CreateMaybeMessage<::CGCToGCMsgRoutedReply>(Arena*); -template<> ::CGameServers_AggregationQuery_Request* Arena::CreateMaybeMessage<::CGameServers_AggregationQuery_Request>(Arena*); -template<> ::CGameServers_AggregationQuery_Response* Arena::CreateMaybeMessage<::CGameServers_AggregationQuery_Response>(Arena*); -template<> ::CGameServers_AggregationQuery_Response_Group* Arena::CreateMaybeMessage<::CGameServers_AggregationQuery_Response_Group>(Arena*); -template<> ::CMsgAccountDetails* Arena::CreateMaybeMessage<::CMsgAccountDetails>(Arena*); -template<> ::CMsgClientHello* Arena::CreateMaybeMessage<::CMsgClientHello>(Arena*); -template<> ::CMsgClientWelcome* Arena::CreateMaybeMessage<::CMsgClientWelcome>(Arena*); -template<> ::CMsgClientWelcome_Location* Arena::CreateMaybeMessage<::CMsgClientWelcome_Location>(Arena*); -template<> ::CMsgConnectionStatus* Arena::CreateMaybeMessage<::CMsgConnectionStatus>(Arena*); -template<> ::CMsgGCMultiplexMessage* Arena::CreateMaybeMessage<::CMsgGCMultiplexMessage>(Arena*); -template<> ::CMsgGCMultiplexMessage_Response* Arena::CreateMaybeMessage<::CMsgGCMultiplexMessage_Response>(Arena*); -template<> ::CMsgGCRequestSessionIP* Arena::CreateMaybeMessage<::CMsgGCRequestSessionIP>(Arena*); -template<> ::CMsgGCRequestSessionIPResponse* Arena::CreateMaybeMessage<::CMsgGCRequestSessionIPResponse>(Arena*); -template<> ::CMsgGCUpdateSessionIP* Arena::CreateMaybeMessage<::CMsgGCUpdateSessionIP>(Arena*); -template<> ::CMsgSOCacheHaveVersion* Arena::CreateMaybeMessage<::CMsgSOCacheHaveVersion>(Arena*); -template<> ::CMsgSOCacheSubscribed* Arena::CreateMaybeMessage<::CMsgSOCacheSubscribed>(Arena*); -template<> ::CMsgSOCacheSubscribed_SubscribedType* Arena::CreateMaybeMessage<::CMsgSOCacheSubscribed_SubscribedType>(Arena*); -template<> ::CMsgSOCacheSubscriptionCheck* Arena::CreateMaybeMessage<::CMsgSOCacheSubscriptionCheck>(Arena*); -template<> ::CMsgSOCacheSubscriptionRefresh* Arena::CreateMaybeMessage<::CMsgSOCacheSubscriptionRefresh>(Arena*); -template<> ::CMsgSOCacheUnsubscribed* Arena::CreateMaybeMessage<::CMsgSOCacheUnsubscribed>(Arena*); -template<> ::CMsgSOCacheVersion* Arena::CreateMaybeMessage<::CMsgSOCacheVersion>(Arena*); -template<> ::CMsgSOIDOwner* Arena::CreateMaybeMessage<::CMsgSOIDOwner>(Arena*); -template<> ::CMsgSOMultipleObjects* Arena::CreateMaybeMessage<::CMsgSOMultipleObjects>(Arena*); -template<> ::CMsgSOMultipleObjects_SingleObject* Arena::CreateMaybeMessage<::CMsgSOMultipleObjects_SingleObject>(Arena*); -template<> ::CMsgSOSingleObject* Arena::CreateMaybeMessage<::CMsgSOSingleObject>(Arena*); -template<> ::CMsgSerializedSOCache* Arena::CreateMaybeMessage<::CMsgSerializedSOCache>(Arena*); -template<> ::CMsgSerializedSOCache_Cache* Arena::CreateMaybeMessage<::CMsgSerializedSOCache_Cache>(Arena*); -template<> ::CMsgSerializedSOCache_Cache_Version* Arena::CreateMaybeMessage<::CMsgSerializedSOCache_Cache_Version>(Arena*); -template<> ::CMsgSerializedSOCache_TypeCache* Arena::CreateMaybeMessage<::CMsgSerializedSOCache_TypeCache>(Arena*); -template<> ::CMsgServerHello* Arena::CreateMaybeMessage<::CMsgServerHello>(Arena*); -template<> ::CProductInfo_SetRichPresenceLocalization_Request* Arena::CreateMaybeMessage<::CProductInfo_SetRichPresenceLocalization_Request>(Arena*); -template<> ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* Arena::CreateMaybeMessage<::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection>(Arena*); -template<> ::CProductInfo_SetRichPresenceLocalization_Request_Token* Arena::CreateMaybeMessage<::CProductInfo_SetRichPresenceLocalization_Request_Token>(Arena*); -template<> ::CProductInfo_SetRichPresenceLocalization_Response* Arena::CreateMaybeMessage<::CProductInfo_SetRichPresenceLocalization_Response>(Arena*); -template<> ::CWorkshop_AddSpecialPayment_Request* Arena::CreateMaybeMessage<::CWorkshop_AddSpecialPayment_Request>(Arena*); -template<> ::CWorkshop_AddSpecialPayment_Response* Arena::CreateMaybeMessage<::CWorkshop_AddSpecialPayment_Response>(Arena*); -template<> ::CWorkshop_GetContributors_Request* Arena::CreateMaybeMessage<::CWorkshop_GetContributors_Request>(Arena*); -template<> ::CWorkshop_GetContributors_Response* Arena::CreateMaybeMessage<::CWorkshop_GetContributors_Response>(Arena*); -template<> ::CWorkshop_PopulateItemDescriptions_Request* Arena::CreateMaybeMessage<::CWorkshop_PopulateItemDescriptions_Request>(Arena*); -template<> ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* Arena::CreateMaybeMessage<::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock>(Arena*); -template<> ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* Arena::CreateMaybeMessage<::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription>(Arena*); -template<> ::CWorkshop_SetItemPaymentRules_Request* Arena::CreateMaybeMessage<::CWorkshop_SetItemPaymentRules_Request>(Arena*); -template<> ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* Arena::CreateMaybeMessage<::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule>(Arena*); -template<> ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* Arena::CreateMaybeMessage<::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule>(Arena*); -template<> ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* Arena::CreateMaybeMessage<::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule>(Arena*); -template<> ::CWorkshop_SetItemPaymentRules_Response* Arena::CreateMaybeMessage<::CWorkshop_SetItemPaymentRules_Response>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum GCClientLauncherType : int { - GCClientLauncherType_DEFAULT = 0, - GCClientLauncherType_PERFECTWORLD = 1, - GCClientLauncherType_STEAMCHINA = 2, - GCClientLauncherType_SOURCE2 = 3 -}; -bool GCClientLauncherType_IsValid(int value); -constexpr GCClientLauncherType GCClientLauncherType_MIN = GCClientLauncherType_DEFAULT; -constexpr GCClientLauncherType GCClientLauncherType_MAX = GCClientLauncherType_SOURCE2; -constexpr int GCClientLauncherType_ARRAYSIZE = GCClientLauncherType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GCClientLauncherType_descriptor(); -template -inline const std::string& GCClientLauncherType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function GCClientLauncherType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - GCClientLauncherType_descriptor(), enum_t_value); -} -inline bool GCClientLauncherType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GCClientLauncherType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - GCClientLauncherType_descriptor(), name, value); -} -enum GCConnectionStatus : int { - GCConnectionStatus_HAVE_SESSION = 0, - GCConnectionStatus_GC_GOING_DOWN = 1, - GCConnectionStatus_NO_SESSION = 2, - GCConnectionStatus_NO_SESSION_IN_LOGON_QUEUE = 3, - GCConnectionStatus_NO_STEAM = 4 -}; -bool GCConnectionStatus_IsValid(int value); -constexpr GCConnectionStatus GCConnectionStatus_MIN = GCConnectionStatus_HAVE_SESSION; -constexpr GCConnectionStatus GCConnectionStatus_MAX = GCConnectionStatus_NO_STEAM; -constexpr int GCConnectionStatus_ARRAYSIZE = GCConnectionStatus_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GCConnectionStatus_descriptor(); -template -inline const std::string& GCConnectionStatus_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function GCConnectionStatus_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - GCConnectionStatus_descriptor(), enum_t_value); -} -inline bool GCConnectionStatus_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GCConnectionStatus* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - GCConnectionStatus_descriptor(), name, value); -} -// =================================================================== - -class CMsgSOIDOwner : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOIDOwner) */ { - public: - inline CMsgSOIDOwner() : CMsgSOIDOwner(nullptr) {} - ~CMsgSOIDOwner() override; - explicit PROTOBUF_CONSTEXPR CMsgSOIDOwner(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSOIDOwner(const CMsgSOIDOwner& from); - CMsgSOIDOwner(CMsgSOIDOwner&& from) noexcept - : CMsgSOIDOwner() { - *this = ::std::move(from); - } - - inline CMsgSOIDOwner& operator=(const CMsgSOIDOwner& from) { - CopyFrom(from); - return *this; - } - inline CMsgSOIDOwner& operator=(CMsgSOIDOwner&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSOIDOwner& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSOIDOwner* internal_default_instance() { - return reinterpret_cast( - &_CMsgSOIDOwner_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CMsgSOIDOwner& a, CMsgSOIDOwner& b) { - a.Swap(&b); - } - inline void Swap(CMsgSOIDOwner* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSOIDOwner* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSOIDOwner* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSOIDOwner& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSOIDOwner& from) { - CMsgSOIDOwner::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSOIDOwner* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSOIDOwner"; - } - protected: - explicit CMsgSOIDOwner(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIdFieldNumber = 2, - kTypeFieldNumber = 1, - }; - // optional uint64 id = 2; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - uint64_t id() const; - void set_id(uint64_t value); - private: - uint64_t _internal_id() const; - void _internal_set_id(uint64_t value); - public: - - // optional uint32 type = 1; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - uint32_t type() const; - void set_type(uint32_t value); - private: - uint32_t _internal_type() const; - void _internal_set_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSOIDOwner) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t id_; - uint32_t type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSOSingleObject : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOSingleObject) */ { - public: - inline CMsgSOSingleObject() : CMsgSOSingleObject(nullptr) {} - ~CMsgSOSingleObject() override; - explicit PROTOBUF_CONSTEXPR CMsgSOSingleObject(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSOSingleObject(const CMsgSOSingleObject& from); - CMsgSOSingleObject(CMsgSOSingleObject&& from) noexcept - : CMsgSOSingleObject() { - *this = ::std::move(from); - } - - inline CMsgSOSingleObject& operator=(const CMsgSOSingleObject& from) { - CopyFrom(from); - return *this; - } - inline CMsgSOSingleObject& operator=(CMsgSOSingleObject&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSOSingleObject& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSOSingleObject* internal_default_instance() { - return reinterpret_cast( - &_CMsgSOSingleObject_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CMsgSOSingleObject& a, CMsgSOSingleObject& b) { - a.Swap(&b); - } - inline void Swap(CMsgSOSingleObject* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSOSingleObject* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSOSingleObject* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSOSingleObject& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSOSingleObject& from) { - CMsgSOSingleObject::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSOSingleObject* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSOSingleObject"; - } - protected: - explicit CMsgSOSingleObject(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kObjectDataFieldNumber = 3, - kOwnerSoidFieldNumber = 5, - kVersionFieldNumber = 4, - kTypeIdFieldNumber = 2, - }; - // optional bytes object_data = 3; - bool has_object_data() const; - private: - bool _internal_has_object_data() const; - public: - void clear_object_data(); - const std::string& object_data() const; - template - void set_object_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_object_data(); - PROTOBUF_NODISCARD std::string* release_object_data(); - void set_allocated_object_data(std::string* object_data); - private: - const std::string& _internal_object_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_object_data(const std::string& value); - std::string* _internal_mutable_object_data(); - public: - - // optional .CMsgSOIDOwner owner_soid = 5; - bool has_owner_soid() const; - private: - bool _internal_has_owner_soid() const; - public: - void clear_owner_soid(); - const ::CMsgSOIDOwner& owner_soid() const; - PROTOBUF_NODISCARD ::CMsgSOIDOwner* release_owner_soid(); - ::CMsgSOIDOwner* mutable_owner_soid(); - void set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid); - private: - const ::CMsgSOIDOwner& _internal_owner_soid() const; - ::CMsgSOIDOwner* _internal_mutable_owner_soid(); - public: - void unsafe_arena_set_allocated_owner_soid( - ::CMsgSOIDOwner* owner_soid); - ::CMsgSOIDOwner* unsafe_arena_release_owner_soid(); - - // optional fixed64 version = 4; - bool has_version() const; - private: - bool _internal_has_version() const; - public: - void clear_version(); - uint64_t version() const; - void set_version(uint64_t value); - private: - uint64_t _internal_version() const; - void _internal_set_version(uint64_t value); - public: - - // optional int32 type_id = 2; - bool has_type_id() const; - private: - bool _internal_has_type_id() const; - public: - void clear_type_id(); - int32_t type_id() const; - void set_type_id(int32_t value); - private: - int32_t _internal_type_id() const; - void _internal_set_type_id(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSOSingleObject) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr object_data_; - ::CMsgSOIDOwner* owner_soid_; - uint64_t version_; - int32_t type_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSOMultipleObjects_SingleObject : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOMultipleObjects.SingleObject) */ { - public: - inline CMsgSOMultipleObjects_SingleObject() : CMsgSOMultipleObjects_SingleObject(nullptr) {} - ~CMsgSOMultipleObjects_SingleObject() override; - explicit PROTOBUF_CONSTEXPR CMsgSOMultipleObjects_SingleObject(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSOMultipleObjects_SingleObject(const CMsgSOMultipleObjects_SingleObject& from); - CMsgSOMultipleObjects_SingleObject(CMsgSOMultipleObjects_SingleObject&& from) noexcept - : CMsgSOMultipleObjects_SingleObject() { - *this = ::std::move(from); - } - - inline CMsgSOMultipleObjects_SingleObject& operator=(const CMsgSOMultipleObjects_SingleObject& from) { - CopyFrom(from); - return *this; - } - inline CMsgSOMultipleObjects_SingleObject& operator=(CMsgSOMultipleObjects_SingleObject&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSOMultipleObjects_SingleObject& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSOMultipleObjects_SingleObject* internal_default_instance() { - return reinterpret_cast( - &_CMsgSOMultipleObjects_SingleObject_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CMsgSOMultipleObjects_SingleObject& a, CMsgSOMultipleObjects_SingleObject& b) { - a.Swap(&b); - } - inline void Swap(CMsgSOMultipleObjects_SingleObject* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSOMultipleObjects_SingleObject* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSOMultipleObjects_SingleObject* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSOMultipleObjects_SingleObject& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSOMultipleObjects_SingleObject& from) { - CMsgSOMultipleObjects_SingleObject::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSOMultipleObjects_SingleObject* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSOMultipleObjects.SingleObject"; - } - protected: - explicit CMsgSOMultipleObjects_SingleObject(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kObjectDataFieldNumber = 2, - kTypeIdFieldNumber = 1, - }; - // optional bytes object_data = 2; - bool has_object_data() const; - private: - bool _internal_has_object_data() const; - public: - void clear_object_data(); - const std::string& object_data() const; - template - void set_object_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_object_data(); - PROTOBUF_NODISCARD std::string* release_object_data(); - void set_allocated_object_data(std::string* object_data); - private: - const std::string& _internal_object_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_object_data(const std::string& value); - std::string* _internal_mutable_object_data(); - public: - - // optional int32 type_id = 1; - bool has_type_id() const; - private: - bool _internal_has_type_id() const; - public: - void clear_type_id(); - int32_t type_id() const; - void set_type_id(int32_t value); - private: - int32_t _internal_type_id() const; - void _internal_set_type_id(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSOMultipleObjects.SingleObject) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr object_data_; - int32_t type_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSOMultipleObjects : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOMultipleObjects) */ { - public: - inline CMsgSOMultipleObjects() : CMsgSOMultipleObjects(nullptr) {} - ~CMsgSOMultipleObjects() override; - explicit PROTOBUF_CONSTEXPR CMsgSOMultipleObjects(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSOMultipleObjects(const CMsgSOMultipleObjects& from); - CMsgSOMultipleObjects(CMsgSOMultipleObjects&& from) noexcept - : CMsgSOMultipleObjects() { - *this = ::std::move(from); - } - - inline CMsgSOMultipleObjects& operator=(const CMsgSOMultipleObjects& from) { - CopyFrom(from); - return *this; - } - inline CMsgSOMultipleObjects& operator=(CMsgSOMultipleObjects&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSOMultipleObjects& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSOMultipleObjects* internal_default_instance() { - return reinterpret_cast( - &_CMsgSOMultipleObjects_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CMsgSOMultipleObjects& a, CMsgSOMultipleObjects& b) { - a.Swap(&b); - } - inline void Swap(CMsgSOMultipleObjects* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSOMultipleObjects* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSOMultipleObjects* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSOMultipleObjects& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSOMultipleObjects& from) { - CMsgSOMultipleObjects::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSOMultipleObjects* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSOMultipleObjects"; - } - protected: - explicit CMsgSOMultipleObjects(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSOMultipleObjects_SingleObject SingleObject; - - // accessors ------------------------------------------------------- - - enum : int { - kObjectsModifiedFieldNumber = 2, - kOwnerSoidFieldNumber = 6, - kVersionFieldNumber = 3, - }; - // repeated .CMsgSOMultipleObjects.SingleObject objects_modified = 2; - int objects_modified_size() const; - private: - int _internal_objects_modified_size() const; - public: - void clear_objects_modified(); - ::CMsgSOMultipleObjects_SingleObject* mutable_objects_modified(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOMultipleObjects_SingleObject >* - mutable_objects_modified(); - private: - const ::CMsgSOMultipleObjects_SingleObject& _internal_objects_modified(int index) const; - ::CMsgSOMultipleObjects_SingleObject* _internal_add_objects_modified(); - public: - const ::CMsgSOMultipleObjects_SingleObject& objects_modified(int index) const; - ::CMsgSOMultipleObjects_SingleObject* add_objects_modified(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOMultipleObjects_SingleObject >& - objects_modified() const; - - // optional .CMsgSOIDOwner owner_soid = 6; - bool has_owner_soid() const; - private: - bool _internal_has_owner_soid() const; - public: - void clear_owner_soid(); - const ::CMsgSOIDOwner& owner_soid() const; - PROTOBUF_NODISCARD ::CMsgSOIDOwner* release_owner_soid(); - ::CMsgSOIDOwner* mutable_owner_soid(); - void set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid); - private: - const ::CMsgSOIDOwner& _internal_owner_soid() const; - ::CMsgSOIDOwner* _internal_mutable_owner_soid(); - public: - void unsafe_arena_set_allocated_owner_soid( - ::CMsgSOIDOwner* owner_soid); - ::CMsgSOIDOwner* unsafe_arena_release_owner_soid(); - - // optional fixed64 version = 3; - bool has_version() const; - private: - bool _internal_has_version() const; - public: - void clear_version(); - uint64_t version() const; - void set_version(uint64_t value); - private: - uint64_t _internal_version() const; - void _internal_set_version(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSOMultipleObjects) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOMultipleObjects_SingleObject > objects_modified_; - ::CMsgSOIDOwner* owner_soid_; - uint64_t version_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSOCacheSubscribed_SubscribedType : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOCacheSubscribed.SubscribedType) */ { - public: - inline CMsgSOCacheSubscribed_SubscribedType() : CMsgSOCacheSubscribed_SubscribedType(nullptr) {} - ~CMsgSOCacheSubscribed_SubscribedType() override; - explicit PROTOBUF_CONSTEXPR CMsgSOCacheSubscribed_SubscribedType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSOCacheSubscribed_SubscribedType(const CMsgSOCacheSubscribed_SubscribedType& from); - CMsgSOCacheSubscribed_SubscribedType(CMsgSOCacheSubscribed_SubscribedType&& from) noexcept - : CMsgSOCacheSubscribed_SubscribedType() { - *this = ::std::move(from); - } - - inline CMsgSOCacheSubscribed_SubscribedType& operator=(const CMsgSOCacheSubscribed_SubscribedType& from) { - CopyFrom(from); - return *this; - } - inline CMsgSOCacheSubscribed_SubscribedType& operator=(CMsgSOCacheSubscribed_SubscribedType&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSOCacheSubscribed_SubscribedType& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSOCacheSubscribed_SubscribedType* internal_default_instance() { - return reinterpret_cast( - &_CMsgSOCacheSubscribed_SubscribedType_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CMsgSOCacheSubscribed_SubscribedType& a, CMsgSOCacheSubscribed_SubscribedType& b) { - a.Swap(&b); - } - inline void Swap(CMsgSOCacheSubscribed_SubscribedType* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSOCacheSubscribed_SubscribedType* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSOCacheSubscribed_SubscribedType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSOCacheSubscribed_SubscribedType& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSOCacheSubscribed_SubscribedType& from) { - CMsgSOCacheSubscribed_SubscribedType::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSOCacheSubscribed_SubscribedType* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSOCacheSubscribed.SubscribedType"; - } - protected: - explicit CMsgSOCacheSubscribed_SubscribedType(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kObjectDataFieldNumber = 2, - kTypeIdFieldNumber = 1, - }; - // repeated bytes object_data = 2; - int object_data_size() const; - private: - int _internal_object_data_size() const; - public: - void clear_object_data(); - const std::string& object_data(int index) const; - std::string* mutable_object_data(int index); - void set_object_data(int index, const std::string& value); - void set_object_data(int index, std::string&& value); - void set_object_data(int index, const char* value); - void set_object_data(int index, const void* value, size_t size); - std::string* add_object_data(); - void add_object_data(const std::string& value); - void add_object_data(std::string&& value); - void add_object_data(const char* value); - void add_object_data(const void* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& object_data() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_object_data(); - private: - const std::string& _internal_object_data(int index) const; - std::string* _internal_add_object_data(); - public: - - // optional int32 type_id = 1; - bool has_type_id() const; - private: - bool _internal_has_type_id() const; - public: - void clear_type_id(); - int32_t type_id() const; - void set_type_id(int32_t value); - private: - int32_t _internal_type_id() const; - void _internal_set_type_id(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSOCacheSubscribed.SubscribedType) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField object_data_; - int32_t type_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSOCacheSubscribed : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOCacheSubscribed) */ { - public: - inline CMsgSOCacheSubscribed() : CMsgSOCacheSubscribed(nullptr) {} - ~CMsgSOCacheSubscribed() override; - explicit PROTOBUF_CONSTEXPR CMsgSOCacheSubscribed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSOCacheSubscribed(const CMsgSOCacheSubscribed& from); - CMsgSOCacheSubscribed(CMsgSOCacheSubscribed&& from) noexcept - : CMsgSOCacheSubscribed() { - *this = ::std::move(from); - } - - inline CMsgSOCacheSubscribed& operator=(const CMsgSOCacheSubscribed& from) { - CopyFrom(from); - return *this; - } - inline CMsgSOCacheSubscribed& operator=(CMsgSOCacheSubscribed&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSOCacheSubscribed& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSOCacheSubscribed* internal_default_instance() { - return reinterpret_cast( - &_CMsgSOCacheSubscribed_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CMsgSOCacheSubscribed& a, CMsgSOCacheSubscribed& b) { - a.Swap(&b); - } - inline void Swap(CMsgSOCacheSubscribed* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSOCacheSubscribed* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSOCacheSubscribed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSOCacheSubscribed& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSOCacheSubscribed& from) { - CMsgSOCacheSubscribed::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSOCacheSubscribed* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSOCacheSubscribed"; - } - protected: - explicit CMsgSOCacheSubscribed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSOCacheSubscribed_SubscribedType SubscribedType; - - // accessors ------------------------------------------------------- - - enum : int { - kObjectsFieldNumber = 2, - kOwnerSoidFieldNumber = 4, - kVersionFieldNumber = 3, - }; - // repeated .CMsgSOCacheSubscribed.SubscribedType objects = 2; - int objects_size() const; - private: - int _internal_objects_size() const; - public: - void clear_objects(); - ::CMsgSOCacheSubscribed_SubscribedType* mutable_objects(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed_SubscribedType >* - mutable_objects(); - private: - const ::CMsgSOCacheSubscribed_SubscribedType& _internal_objects(int index) const; - ::CMsgSOCacheSubscribed_SubscribedType* _internal_add_objects(); - public: - const ::CMsgSOCacheSubscribed_SubscribedType& objects(int index) const; - ::CMsgSOCacheSubscribed_SubscribedType* add_objects(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed_SubscribedType >& - objects() const; - - // optional .CMsgSOIDOwner owner_soid = 4; - bool has_owner_soid() const; - private: - bool _internal_has_owner_soid() const; - public: - void clear_owner_soid(); - const ::CMsgSOIDOwner& owner_soid() const; - PROTOBUF_NODISCARD ::CMsgSOIDOwner* release_owner_soid(); - ::CMsgSOIDOwner* mutable_owner_soid(); - void set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid); - private: - const ::CMsgSOIDOwner& _internal_owner_soid() const; - ::CMsgSOIDOwner* _internal_mutable_owner_soid(); - public: - void unsafe_arena_set_allocated_owner_soid( - ::CMsgSOIDOwner* owner_soid); - ::CMsgSOIDOwner* unsafe_arena_release_owner_soid(); - - // optional fixed64 version = 3; - bool has_version() const; - private: - bool _internal_has_version() const; - public: - void clear_version(); - uint64_t version() const; - void set_version(uint64_t value); - private: - uint64_t _internal_version() const; - void _internal_set_version(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSOCacheSubscribed) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed_SubscribedType > objects_; - ::CMsgSOIDOwner* owner_soid_; - uint64_t version_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSOCacheUnsubscribed : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOCacheUnsubscribed) */ { - public: - inline CMsgSOCacheUnsubscribed() : CMsgSOCacheUnsubscribed(nullptr) {} - ~CMsgSOCacheUnsubscribed() override; - explicit PROTOBUF_CONSTEXPR CMsgSOCacheUnsubscribed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSOCacheUnsubscribed(const CMsgSOCacheUnsubscribed& from); - CMsgSOCacheUnsubscribed(CMsgSOCacheUnsubscribed&& from) noexcept - : CMsgSOCacheUnsubscribed() { - *this = ::std::move(from); - } - - inline CMsgSOCacheUnsubscribed& operator=(const CMsgSOCacheUnsubscribed& from) { - CopyFrom(from); - return *this; - } - inline CMsgSOCacheUnsubscribed& operator=(CMsgSOCacheUnsubscribed&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSOCacheUnsubscribed& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSOCacheUnsubscribed* internal_default_instance() { - return reinterpret_cast( - &_CMsgSOCacheUnsubscribed_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CMsgSOCacheUnsubscribed& a, CMsgSOCacheUnsubscribed& b) { - a.Swap(&b); - } - inline void Swap(CMsgSOCacheUnsubscribed* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSOCacheUnsubscribed* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSOCacheUnsubscribed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSOCacheUnsubscribed& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSOCacheUnsubscribed& from) { - CMsgSOCacheUnsubscribed::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSOCacheUnsubscribed* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSOCacheUnsubscribed"; - } - protected: - explicit CMsgSOCacheUnsubscribed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOwnerSoidFieldNumber = 2, - }; - // optional .CMsgSOIDOwner owner_soid = 2; - bool has_owner_soid() const; - private: - bool _internal_has_owner_soid() const; - public: - void clear_owner_soid(); - const ::CMsgSOIDOwner& owner_soid() const; - PROTOBUF_NODISCARD ::CMsgSOIDOwner* release_owner_soid(); - ::CMsgSOIDOwner* mutable_owner_soid(); - void set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid); - private: - const ::CMsgSOIDOwner& _internal_owner_soid() const; - ::CMsgSOIDOwner* _internal_mutable_owner_soid(); - public: - void unsafe_arena_set_allocated_owner_soid( - ::CMsgSOIDOwner* owner_soid); - ::CMsgSOIDOwner* unsafe_arena_release_owner_soid(); - - // @@protoc_insertion_point(class_scope:CMsgSOCacheUnsubscribed) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgSOIDOwner* owner_soid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSOCacheSubscriptionCheck : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOCacheSubscriptionCheck) */ { - public: - inline CMsgSOCacheSubscriptionCheck() : CMsgSOCacheSubscriptionCheck(nullptr) {} - ~CMsgSOCacheSubscriptionCheck() override; - explicit PROTOBUF_CONSTEXPR CMsgSOCacheSubscriptionCheck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSOCacheSubscriptionCheck(const CMsgSOCacheSubscriptionCheck& from); - CMsgSOCacheSubscriptionCheck(CMsgSOCacheSubscriptionCheck&& from) noexcept - : CMsgSOCacheSubscriptionCheck() { - *this = ::std::move(from); - } - - inline CMsgSOCacheSubscriptionCheck& operator=(const CMsgSOCacheSubscriptionCheck& from) { - CopyFrom(from); - return *this; - } - inline CMsgSOCacheSubscriptionCheck& operator=(CMsgSOCacheSubscriptionCheck&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSOCacheSubscriptionCheck& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSOCacheSubscriptionCheck* internal_default_instance() { - return reinterpret_cast( - &_CMsgSOCacheSubscriptionCheck_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(CMsgSOCacheSubscriptionCheck& a, CMsgSOCacheSubscriptionCheck& b) { - a.Swap(&b); - } - inline void Swap(CMsgSOCacheSubscriptionCheck* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSOCacheSubscriptionCheck* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSOCacheSubscriptionCheck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSOCacheSubscriptionCheck& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSOCacheSubscriptionCheck& from) { - CMsgSOCacheSubscriptionCheck::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSOCacheSubscriptionCheck* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSOCacheSubscriptionCheck"; - } - protected: - explicit CMsgSOCacheSubscriptionCheck(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOwnerSoidFieldNumber = 3, - kVersionFieldNumber = 2, - }; - // optional .CMsgSOIDOwner owner_soid = 3; - bool has_owner_soid() const; - private: - bool _internal_has_owner_soid() const; - public: - void clear_owner_soid(); - const ::CMsgSOIDOwner& owner_soid() const; - PROTOBUF_NODISCARD ::CMsgSOIDOwner* release_owner_soid(); - ::CMsgSOIDOwner* mutable_owner_soid(); - void set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid); - private: - const ::CMsgSOIDOwner& _internal_owner_soid() const; - ::CMsgSOIDOwner* _internal_mutable_owner_soid(); - public: - void unsafe_arena_set_allocated_owner_soid( - ::CMsgSOIDOwner* owner_soid); - ::CMsgSOIDOwner* unsafe_arena_release_owner_soid(); - - // optional fixed64 version = 2; - bool has_version() const; - private: - bool _internal_has_version() const; - public: - void clear_version(); - uint64_t version() const; - void set_version(uint64_t value); - private: - uint64_t _internal_version() const; - void _internal_set_version(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSOCacheSubscriptionCheck) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgSOIDOwner* owner_soid_; - uint64_t version_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSOCacheSubscriptionRefresh : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOCacheSubscriptionRefresh) */ { - public: - inline CMsgSOCacheSubscriptionRefresh() : CMsgSOCacheSubscriptionRefresh(nullptr) {} - ~CMsgSOCacheSubscriptionRefresh() override; - explicit PROTOBUF_CONSTEXPR CMsgSOCacheSubscriptionRefresh(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSOCacheSubscriptionRefresh(const CMsgSOCacheSubscriptionRefresh& from); - CMsgSOCacheSubscriptionRefresh(CMsgSOCacheSubscriptionRefresh&& from) noexcept - : CMsgSOCacheSubscriptionRefresh() { - *this = ::std::move(from); - } - - inline CMsgSOCacheSubscriptionRefresh& operator=(const CMsgSOCacheSubscriptionRefresh& from) { - CopyFrom(from); - return *this; - } - inline CMsgSOCacheSubscriptionRefresh& operator=(CMsgSOCacheSubscriptionRefresh&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSOCacheSubscriptionRefresh& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSOCacheSubscriptionRefresh* internal_default_instance() { - return reinterpret_cast( - &_CMsgSOCacheSubscriptionRefresh_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(CMsgSOCacheSubscriptionRefresh& a, CMsgSOCacheSubscriptionRefresh& b) { - a.Swap(&b); - } - inline void Swap(CMsgSOCacheSubscriptionRefresh* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSOCacheSubscriptionRefresh* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSOCacheSubscriptionRefresh* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSOCacheSubscriptionRefresh& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSOCacheSubscriptionRefresh& from) { - CMsgSOCacheSubscriptionRefresh::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSOCacheSubscriptionRefresh* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSOCacheSubscriptionRefresh"; - } - protected: - explicit CMsgSOCacheSubscriptionRefresh(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOwnerSoidFieldNumber = 2, - }; - // optional .CMsgSOIDOwner owner_soid = 2; - bool has_owner_soid() const; - private: - bool _internal_has_owner_soid() const; - public: - void clear_owner_soid(); - const ::CMsgSOIDOwner& owner_soid() const; - PROTOBUF_NODISCARD ::CMsgSOIDOwner* release_owner_soid(); - ::CMsgSOIDOwner* mutable_owner_soid(); - void set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid); - private: - const ::CMsgSOIDOwner& _internal_owner_soid() const; - ::CMsgSOIDOwner* _internal_mutable_owner_soid(); - public: - void unsafe_arena_set_allocated_owner_soid( - ::CMsgSOIDOwner* owner_soid); - ::CMsgSOIDOwner* unsafe_arena_release_owner_soid(); - - // @@protoc_insertion_point(class_scope:CMsgSOCacheSubscriptionRefresh) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgSOIDOwner* owner_soid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSOCacheVersion : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOCacheVersion) */ { - public: - inline CMsgSOCacheVersion() : CMsgSOCacheVersion(nullptr) {} - ~CMsgSOCacheVersion() override; - explicit PROTOBUF_CONSTEXPR CMsgSOCacheVersion(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSOCacheVersion(const CMsgSOCacheVersion& from); - CMsgSOCacheVersion(CMsgSOCacheVersion&& from) noexcept - : CMsgSOCacheVersion() { - *this = ::std::move(from); - } - - inline CMsgSOCacheVersion& operator=(const CMsgSOCacheVersion& from) { - CopyFrom(from); - return *this; - } - inline CMsgSOCacheVersion& operator=(CMsgSOCacheVersion&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSOCacheVersion& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSOCacheVersion* internal_default_instance() { - return reinterpret_cast( - &_CMsgSOCacheVersion_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(CMsgSOCacheVersion& a, CMsgSOCacheVersion& b) { - a.Swap(&b); - } - inline void Swap(CMsgSOCacheVersion* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSOCacheVersion* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSOCacheVersion* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSOCacheVersion& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSOCacheVersion& from) { - CMsgSOCacheVersion::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSOCacheVersion* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSOCacheVersion"; - } - protected: - explicit CMsgSOCacheVersion(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kVersionFieldNumber = 1, - }; - // optional fixed64 version = 1; - bool has_version() const; - private: - bool _internal_has_version() const; - public: - void clear_version(); - uint64_t version() const; - void set_version(uint64_t value); - private: - uint64_t _internal_version() const; - void _internal_set_version(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSOCacheVersion) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t version_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgAccountDetails : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgAccountDetails) */ { - public: - inline CMsgAccountDetails() : CMsgAccountDetails(nullptr) {} - ~CMsgAccountDetails() override; - explicit PROTOBUF_CONSTEXPR CMsgAccountDetails(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgAccountDetails(const CMsgAccountDetails& from); - CMsgAccountDetails(CMsgAccountDetails&& from) noexcept - : CMsgAccountDetails() { - *this = ::std::move(from); - } - - inline CMsgAccountDetails& operator=(const CMsgAccountDetails& from) { - CopyFrom(from); - return *this; - } - inline CMsgAccountDetails& operator=(CMsgAccountDetails&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgAccountDetails& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgAccountDetails* internal_default_instance() { - return reinterpret_cast( - &_CMsgAccountDetails_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(CMsgAccountDetails& a, CMsgAccountDetails& b) { - a.Swap(&b); - } - inline void Swap(CMsgAccountDetails* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgAccountDetails* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgAccountDetails* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgAccountDetails& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgAccountDetails& from) { - CMsgAccountDetails::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgAccountDetails* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgAccountDetails"; - } - protected: - explicit CMsgAccountDetails(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccountNameFieldNumber = 2, - kValidFieldNumber = 1, - kPublicProfileFieldNumber = 4, - kPublicInventoryFieldNumber = 5, - kVacBannedFieldNumber = 6, - kCyberCafeFieldNumber = 7, - kSchoolAccountFieldNumber = 8, - kFreeTrialAccountFieldNumber = 9, - kSubscribedFieldNumber = 10, - kLowViolenceFieldNumber = 11, - kLimitedFieldNumber = 12, - kTrustedFieldNumber = 13, - kAccountLockedFieldNumber = 16, - kPackageFieldNumber = 14, - kTimeCachedFieldNumber = 15, - kCommunityBannedFieldNumber = 17, - kTradeBannedFieldNumber = 18, - kEligibleForCommunityMarketFieldNumber = 19, - }; - // optional string account_name = 2; - bool has_account_name() const; - private: - bool _internal_has_account_name() const; - public: - void clear_account_name(); - const std::string& account_name() const; - template - void set_account_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_account_name(); - PROTOBUF_NODISCARD std::string* release_account_name(); - void set_allocated_account_name(std::string* account_name); - private: - const std::string& _internal_account_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_account_name(const std::string& value); - std::string* _internal_mutable_account_name(); - public: - - // optional bool valid = 1; - bool has_valid() const; - private: - bool _internal_has_valid() const; - public: - void clear_valid(); - bool valid() const; - void set_valid(bool value); - private: - bool _internal_valid() const; - void _internal_set_valid(bool value); - public: - - // optional bool public_profile = 4; - bool has_public_profile() const; - private: - bool _internal_has_public_profile() const; - public: - void clear_public_profile(); - bool public_profile() const; - void set_public_profile(bool value); - private: - bool _internal_public_profile() const; - void _internal_set_public_profile(bool value); - public: - - // optional bool public_inventory = 5; - bool has_public_inventory() const; - private: - bool _internal_has_public_inventory() const; - public: - void clear_public_inventory(); - bool public_inventory() const; - void set_public_inventory(bool value); - private: - bool _internal_public_inventory() const; - void _internal_set_public_inventory(bool value); - public: - - // optional bool vac_banned = 6; - bool has_vac_banned() const; - private: - bool _internal_has_vac_banned() const; - public: - void clear_vac_banned(); - bool vac_banned() const; - void set_vac_banned(bool value); - private: - bool _internal_vac_banned() const; - void _internal_set_vac_banned(bool value); - public: - - // optional bool cyber_cafe = 7; - bool has_cyber_cafe() const; - private: - bool _internal_has_cyber_cafe() const; - public: - void clear_cyber_cafe(); - bool cyber_cafe() const; - void set_cyber_cafe(bool value); - private: - bool _internal_cyber_cafe() const; - void _internal_set_cyber_cafe(bool value); - public: - - // optional bool school_account = 8; - bool has_school_account() const; - private: - bool _internal_has_school_account() const; - public: - void clear_school_account(); - bool school_account() const; - void set_school_account(bool value); - private: - bool _internal_school_account() const; - void _internal_set_school_account(bool value); - public: - - // optional bool free_trial_account = 9; - bool has_free_trial_account() const; - private: - bool _internal_has_free_trial_account() const; - public: - void clear_free_trial_account(); - bool free_trial_account() const; - void set_free_trial_account(bool value); - private: - bool _internal_free_trial_account() const; - void _internal_set_free_trial_account(bool value); - public: - - // optional bool subscribed = 10; - bool has_subscribed() const; - private: - bool _internal_has_subscribed() const; - public: - void clear_subscribed(); - bool subscribed() const; - void set_subscribed(bool value); - private: - bool _internal_subscribed() const; - void _internal_set_subscribed(bool value); - public: - - // optional bool low_violence = 11; - bool has_low_violence() const; - private: - bool _internal_has_low_violence() const; - public: - void clear_low_violence(); - bool low_violence() const; - void set_low_violence(bool value); - private: - bool _internal_low_violence() const; - void _internal_set_low_violence(bool value); - public: - - // optional bool limited = 12; - bool has_limited() const; - private: - bool _internal_has_limited() const; - public: - void clear_limited(); - bool limited() const; - void set_limited(bool value); - private: - bool _internal_limited() const; - void _internal_set_limited(bool value); - public: - - // optional bool trusted = 13; - bool has_trusted() const; - private: - bool _internal_has_trusted() const; - public: - void clear_trusted(); - bool trusted() const; - void set_trusted(bool value); - private: - bool _internal_trusted() const; - void _internal_set_trusted(bool value); - public: - - // optional bool account_locked = 16; - bool has_account_locked() const; - private: - bool _internal_has_account_locked() const; - public: - void clear_account_locked(); - bool account_locked() const; - void set_account_locked(bool value); - private: - bool _internal_account_locked() const; - void _internal_set_account_locked(bool value); - public: - - // optional uint32 package = 14; - bool has_package() const; - private: - bool _internal_has_package() const; - public: - void clear_package(); - uint32_t package() const; - void set_package(uint32_t value); - private: - uint32_t _internal_package() const; - void _internal_set_package(uint32_t value); - public: - - // optional fixed32 time_cached = 15; - bool has_time_cached() const; - private: - bool _internal_has_time_cached() const; - public: - void clear_time_cached(); - uint32_t time_cached() const; - void set_time_cached(uint32_t value); - private: - uint32_t _internal_time_cached() const; - void _internal_set_time_cached(uint32_t value); - public: - - // optional bool community_banned = 17; - bool has_community_banned() const; - private: - bool _internal_has_community_banned() const; - public: - void clear_community_banned(); - bool community_banned() const; - void set_community_banned(bool value); - private: - bool _internal_community_banned() const; - void _internal_set_community_banned(bool value); - public: - - // optional bool trade_banned = 18; - bool has_trade_banned() const; - private: - bool _internal_has_trade_banned() const; - public: - void clear_trade_banned(); - bool trade_banned() const; - void set_trade_banned(bool value); - private: - bool _internal_trade_banned() const; - void _internal_set_trade_banned(bool value); - public: - - // optional bool eligible_for_community_market = 19; - bool has_eligible_for_community_market() const; - private: - bool _internal_has_eligible_for_community_market() const; - public: - void clear_eligible_for_community_market(); - bool eligible_for_community_market() const; - void set_eligible_for_community_market(bool value); - private: - bool _internal_eligible_for_community_market() const; - void _internal_set_eligible_for_community_market(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgAccountDetails) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr account_name_; - bool valid_; - bool public_profile_; - bool public_inventory_; - bool vac_banned_; - bool cyber_cafe_; - bool school_account_; - bool free_trial_account_; - bool subscribed_; - bool low_violence_; - bool limited_; - bool trusted_; - bool account_locked_; - uint32_t package_; - uint32_t time_cached_; - bool community_banned_; - bool trade_banned_; - bool eligible_for_community_market_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCMultiplexMessage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCMultiplexMessage) */ { - public: - inline CMsgGCMultiplexMessage() : CMsgGCMultiplexMessage(nullptr) {} - ~CMsgGCMultiplexMessage() override; - explicit PROTOBUF_CONSTEXPR CMsgGCMultiplexMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCMultiplexMessage(const CMsgGCMultiplexMessage& from); - CMsgGCMultiplexMessage(CMsgGCMultiplexMessage&& from) noexcept - : CMsgGCMultiplexMessage() { - *this = ::std::move(from); - } - - inline CMsgGCMultiplexMessage& operator=(const CMsgGCMultiplexMessage& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCMultiplexMessage& operator=(CMsgGCMultiplexMessage&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCMultiplexMessage& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCMultiplexMessage* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCMultiplexMessage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(CMsgGCMultiplexMessage& a, CMsgGCMultiplexMessage& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCMultiplexMessage* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCMultiplexMessage* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCMultiplexMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCMultiplexMessage& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCMultiplexMessage& from) { - CMsgGCMultiplexMessage::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCMultiplexMessage* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCMultiplexMessage"; - } - protected: - explicit CMsgGCMultiplexMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSteamidsFieldNumber = 3, - kPayloadFieldNumber = 2, - kMsgtypeFieldNumber = 1, - kReplytogcFieldNumber = 4, - }; - // repeated fixed64 steamids = 3; - int steamids_size() const; - private: - int _internal_steamids_size() const; - public: - void clear_steamids(); - private: - uint64_t _internal_steamids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - _internal_steamids() const; - void _internal_add_steamids(uint64_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - _internal_mutable_steamids(); - public: - uint64_t steamids(int index) const; - void set_steamids(int index, uint64_t value); - void add_steamids(uint64_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - steamids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - mutable_steamids(); - - // optional bytes payload = 2; - bool has_payload() const; - private: - bool _internal_has_payload() const; - public: - void clear_payload(); - const std::string& payload() const; - template - void set_payload(ArgT0&& arg0, ArgT... args); - std::string* mutable_payload(); - PROTOBUF_NODISCARD std::string* release_payload(); - void set_allocated_payload(std::string* payload); - private: - const std::string& _internal_payload() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_payload(const std::string& value); - std::string* _internal_mutable_payload(); - public: - - // optional uint32 msgtype = 1; - bool has_msgtype() const; - private: - bool _internal_has_msgtype() const; - public: - void clear_msgtype(); - uint32_t msgtype() const; - void set_msgtype(uint32_t value); - private: - uint32_t _internal_msgtype() const; - void _internal_set_msgtype(uint32_t value); - public: - - // optional bool replytogc = 4; - bool has_replytogc() const; - private: - bool _internal_has_replytogc() const; - public: - void clear_replytogc(); - bool replytogc() const; - void set_replytogc(bool value); - private: - bool _internal_replytogc() const; - void _internal_set_replytogc(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCMultiplexMessage) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > steamids_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr payload_; - uint32_t msgtype_; - bool replytogc_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCMultiplexMessage_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCMultiplexMessage_Response) */ { - public: - inline CMsgGCMultiplexMessage_Response() : CMsgGCMultiplexMessage_Response(nullptr) {} - ~CMsgGCMultiplexMessage_Response() override; - explicit PROTOBUF_CONSTEXPR CMsgGCMultiplexMessage_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCMultiplexMessage_Response(const CMsgGCMultiplexMessage_Response& from); - CMsgGCMultiplexMessage_Response(CMsgGCMultiplexMessage_Response&& from) noexcept - : CMsgGCMultiplexMessage_Response() { - *this = ::std::move(from); - } - - inline CMsgGCMultiplexMessage_Response& operator=(const CMsgGCMultiplexMessage_Response& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCMultiplexMessage_Response& operator=(CMsgGCMultiplexMessage_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCMultiplexMessage_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCMultiplexMessage_Response* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCMultiplexMessage_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(CMsgGCMultiplexMessage_Response& a, CMsgGCMultiplexMessage_Response& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCMultiplexMessage_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCMultiplexMessage_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCMultiplexMessage_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCMultiplexMessage_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCMultiplexMessage_Response& from) { - CMsgGCMultiplexMessage_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCMultiplexMessage_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCMultiplexMessage_Response"; - } - protected: - explicit CMsgGCMultiplexMessage_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMsgtypeFieldNumber = 1, - }; - // optional uint32 msgtype = 1; - bool has_msgtype() const; - private: - bool _internal_has_msgtype() const; - public: - void clear_msgtype(); - uint32_t msgtype() const; - void set_msgtype(uint32_t value); - private: - uint32_t _internal_msgtype() const; - void _internal_set_msgtype(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCMultiplexMessage_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t msgtype_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CGCToGCMsgMasterAck : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGCToGCMsgMasterAck) */ { - public: - inline CGCToGCMsgMasterAck() : CGCToGCMsgMasterAck(nullptr) {} - ~CGCToGCMsgMasterAck() override; - explicit PROTOBUF_CONSTEXPR CGCToGCMsgMasterAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGCToGCMsgMasterAck(const CGCToGCMsgMasterAck& from); - CGCToGCMsgMasterAck(CGCToGCMsgMasterAck&& from) noexcept - : CGCToGCMsgMasterAck() { - *this = ::std::move(from); - } - - inline CGCToGCMsgMasterAck& operator=(const CGCToGCMsgMasterAck& from) { - CopyFrom(from); - return *this; - } - inline CGCToGCMsgMasterAck& operator=(CGCToGCMsgMasterAck&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGCToGCMsgMasterAck& default_instance() { - return *internal_default_instance(); - } - static inline const CGCToGCMsgMasterAck* internal_default_instance() { - return reinterpret_cast( - &_CGCToGCMsgMasterAck_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - friend void swap(CGCToGCMsgMasterAck& a, CGCToGCMsgMasterAck& b) { - a.Swap(&b); - } - inline void Swap(CGCToGCMsgMasterAck* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGCToGCMsgMasterAck* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGCToGCMsgMasterAck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CGCToGCMsgMasterAck& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CGCToGCMsgMasterAck& from) { - CGCToGCMsgMasterAck::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CGCToGCMsgMasterAck* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGCToGCMsgMasterAck"; - } - protected: - explicit CGCToGCMsgMasterAck(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDirIndexFieldNumber = 1, - kGcTypeFieldNumber = 2, - }; - // optional uint32 dir_index = 1; - bool has_dir_index() const; - private: - bool _internal_has_dir_index() const; - public: - void clear_dir_index(); - uint32_t dir_index() const; - void set_dir_index(uint32_t value); - private: - uint32_t _internal_dir_index() const; - void _internal_set_dir_index(uint32_t value); - public: - - // optional uint32 gc_type = 2; - bool has_gc_type() const; - private: - bool _internal_has_gc_type() const; - public: - void clear_gc_type(); - uint32_t gc_type() const; - void set_gc_type(uint32_t value); - private: - uint32_t _internal_gc_type() const; - void _internal_set_gc_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CGCToGCMsgMasterAck) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t dir_index_; - uint32_t gc_type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CGCToGCMsgMasterAck_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGCToGCMsgMasterAck_Response) */ { - public: - inline CGCToGCMsgMasterAck_Response() : CGCToGCMsgMasterAck_Response(nullptr) {} - ~CGCToGCMsgMasterAck_Response() override; - explicit PROTOBUF_CONSTEXPR CGCToGCMsgMasterAck_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGCToGCMsgMasterAck_Response(const CGCToGCMsgMasterAck_Response& from); - CGCToGCMsgMasterAck_Response(CGCToGCMsgMasterAck_Response&& from) noexcept - : CGCToGCMsgMasterAck_Response() { - *this = ::std::move(from); - } - - inline CGCToGCMsgMasterAck_Response& operator=(const CGCToGCMsgMasterAck_Response& from) { - CopyFrom(from); - return *this; - } - inline CGCToGCMsgMasterAck_Response& operator=(CGCToGCMsgMasterAck_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGCToGCMsgMasterAck_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CGCToGCMsgMasterAck_Response* internal_default_instance() { - return reinterpret_cast( - &_CGCToGCMsgMasterAck_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - friend void swap(CGCToGCMsgMasterAck_Response& a, CGCToGCMsgMasterAck_Response& b) { - a.Swap(&b); - } - inline void Swap(CGCToGCMsgMasterAck_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGCToGCMsgMasterAck_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGCToGCMsgMasterAck_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CGCToGCMsgMasterAck_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CGCToGCMsgMasterAck_Response& from) { - CGCToGCMsgMasterAck_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CGCToGCMsgMasterAck_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGCToGCMsgMasterAck_Response"; - } - protected: - explicit CGCToGCMsgMasterAck_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEresultFieldNumber = 1, - }; - // optional int32 eresult = 1 [default = 2]; - bool has_eresult() const; - private: - bool _internal_has_eresult() const; - public: - void clear_eresult(); - int32_t eresult() const; - void set_eresult(int32_t value); - private: - int32_t _internal_eresult() const; - void _internal_set_eresult(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CGCToGCMsgMasterAck_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t eresult_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CGCToGCMsgMasterStartupComplete : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CGCToGCMsgMasterStartupComplete) */ { - public: - inline CGCToGCMsgMasterStartupComplete() : CGCToGCMsgMasterStartupComplete(nullptr) {} - explicit PROTOBUF_CONSTEXPR CGCToGCMsgMasterStartupComplete(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGCToGCMsgMasterStartupComplete(const CGCToGCMsgMasterStartupComplete& from); - CGCToGCMsgMasterStartupComplete(CGCToGCMsgMasterStartupComplete&& from) noexcept - : CGCToGCMsgMasterStartupComplete() { - *this = ::std::move(from); - } - - inline CGCToGCMsgMasterStartupComplete& operator=(const CGCToGCMsgMasterStartupComplete& from) { - CopyFrom(from); - return *this; - } - inline CGCToGCMsgMasterStartupComplete& operator=(CGCToGCMsgMasterStartupComplete&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGCToGCMsgMasterStartupComplete& default_instance() { - return *internal_default_instance(); - } - static inline const CGCToGCMsgMasterStartupComplete* internal_default_instance() { - return reinterpret_cast( - &_CGCToGCMsgMasterStartupComplete_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - friend void swap(CGCToGCMsgMasterStartupComplete& a, CGCToGCMsgMasterStartupComplete& b) { - a.Swap(&b); - } - inline void Swap(CGCToGCMsgMasterStartupComplete* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGCToGCMsgMasterStartupComplete* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGCToGCMsgMasterStartupComplete* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CGCToGCMsgMasterStartupComplete& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CGCToGCMsgMasterStartupComplete& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGCToGCMsgMasterStartupComplete"; - } - protected: - explicit CGCToGCMsgMasterStartupComplete(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CGCToGCMsgMasterStartupComplete) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CGCToGCMsgRouted : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGCToGCMsgRouted) */ { - public: - inline CGCToGCMsgRouted() : CGCToGCMsgRouted(nullptr) {} - ~CGCToGCMsgRouted() override; - explicit PROTOBUF_CONSTEXPR CGCToGCMsgRouted(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGCToGCMsgRouted(const CGCToGCMsgRouted& from); - CGCToGCMsgRouted(CGCToGCMsgRouted&& from) noexcept - : CGCToGCMsgRouted() { - *this = ::std::move(from); - } - - inline CGCToGCMsgRouted& operator=(const CGCToGCMsgRouted& from) { - CopyFrom(from); - return *this; - } - inline CGCToGCMsgRouted& operator=(CGCToGCMsgRouted&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGCToGCMsgRouted& default_instance() { - return *internal_default_instance(); - } - static inline const CGCToGCMsgRouted* internal_default_instance() { - return reinterpret_cast( - &_CGCToGCMsgRouted_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - friend void swap(CGCToGCMsgRouted& a, CGCToGCMsgRouted& b) { - a.Swap(&b); - } - inline void Swap(CGCToGCMsgRouted* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGCToGCMsgRouted* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGCToGCMsgRouted* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CGCToGCMsgRouted& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CGCToGCMsgRouted& from) { - CGCToGCMsgRouted::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CGCToGCMsgRouted* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGCToGCMsgRouted"; - } - protected: - explicit CGCToGCMsgRouted(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNetMessageFieldNumber = 3, - kSenderIdFieldNumber = 2, - kMsgTypeFieldNumber = 1, - kIpFieldNumber = 4, - }; - // optional bytes net_message = 3; - bool has_net_message() const; - private: - bool _internal_has_net_message() const; - public: - void clear_net_message(); - const std::string& net_message() const; - template - void set_net_message(ArgT0&& arg0, ArgT... args); - std::string* mutable_net_message(); - PROTOBUF_NODISCARD std::string* release_net_message(); - void set_allocated_net_message(std::string* net_message); - private: - const std::string& _internal_net_message() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_net_message(const std::string& value); - std::string* _internal_mutable_net_message(); - public: - - // optional fixed64 sender_id = 2; - bool has_sender_id() const; - private: - bool _internal_has_sender_id() const; - public: - void clear_sender_id(); - uint64_t sender_id() const; - void set_sender_id(uint64_t value); - private: - uint64_t _internal_sender_id() const; - void _internal_set_sender_id(uint64_t value); - public: - - // optional uint32 msg_type = 1; - bool has_msg_type() const; - private: - bool _internal_has_msg_type() const; - public: - void clear_msg_type(); - uint32_t msg_type() const; - void set_msg_type(uint32_t value); - private: - uint32_t _internal_msg_type() const; - void _internal_set_msg_type(uint32_t value); - public: - - // optional uint32 ip = 4; - bool has_ip() const; - private: - bool _internal_has_ip() const; - public: - void clear_ip(); - uint32_t ip() const; - void set_ip(uint32_t value); - private: - uint32_t _internal_ip() const; - void _internal_set_ip(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CGCToGCMsgRouted) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr net_message_; - uint64_t sender_id_; - uint32_t msg_type_; - uint32_t ip_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CGCToGCMsgRoutedReply : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGCToGCMsgRoutedReply) */ { - public: - inline CGCToGCMsgRoutedReply() : CGCToGCMsgRoutedReply(nullptr) {} - ~CGCToGCMsgRoutedReply() override; - explicit PROTOBUF_CONSTEXPR CGCToGCMsgRoutedReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGCToGCMsgRoutedReply(const CGCToGCMsgRoutedReply& from); - CGCToGCMsgRoutedReply(CGCToGCMsgRoutedReply&& from) noexcept - : CGCToGCMsgRoutedReply() { - *this = ::std::move(from); - } - - inline CGCToGCMsgRoutedReply& operator=(const CGCToGCMsgRoutedReply& from) { - CopyFrom(from); - return *this; - } - inline CGCToGCMsgRoutedReply& operator=(CGCToGCMsgRoutedReply&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGCToGCMsgRoutedReply& default_instance() { - return *internal_default_instance(); - } - static inline const CGCToGCMsgRoutedReply* internal_default_instance() { - return reinterpret_cast( - &_CGCToGCMsgRoutedReply_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - friend void swap(CGCToGCMsgRoutedReply& a, CGCToGCMsgRoutedReply& b) { - a.Swap(&b); - } - inline void Swap(CGCToGCMsgRoutedReply* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGCToGCMsgRoutedReply* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGCToGCMsgRoutedReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CGCToGCMsgRoutedReply& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CGCToGCMsgRoutedReply& from) { - CGCToGCMsgRoutedReply::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CGCToGCMsgRoutedReply* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGCToGCMsgRoutedReply"; - } - protected: - explicit CGCToGCMsgRoutedReply(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNetMessageFieldNumber = 2, - kMsgTypeFieldNumber = 1, - }; - // optional bytes net_message = 2; - bool has_net_message() const; - private: - bool _internal_has_net_message() const; - public: - void clear_net_message(); - const std::string& net_message() const; - template - void set_net_message(ArgT0&& arg0, ArgT... args); - std::string* mutable_net_message(); - PROTOBUF_NODISCARD std::string* release_net_message(); - void set_allocated_net_message(std::string* net_message); - private: - const std::string& _internal_net_message() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_net_message(const std::string& value); - std::string* _internal_mutable_net_message(); - public: - - // optional uint32 msg_type = 1; - bool has_msg_type() const; - private: - bool _internal_has_msg_type() const; - public: - void clear_msg_type(); - uint32_t msg_type() const; - void set_msg_type(uint32_t value); - private: - uint32_t _internal_msg_type() const; - void _internal_set_msg_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CGCToGCMsgRoutedReply) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr net_message_; - uint32_t msg_type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCUpdateSessionIP : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCUpdateSessionIP) */ { - public: - inline CMsgGCUpdateSessionIP() : CMsgGCUpdateSessionIP(nullptr) {} - ~CMsgGCUpdateSessionIP() override; - explicit PROTOBUF_CONSTEXPR CMsgGCUpdateSessionIP(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCUpdateSessionIP(const CMsgGCUpdateSessionIP& from); - CMsgGCUpdateSessionIP(CMsgGCUpdateSessionIP&& from) noexcept - : CMsgGCUpdateSessionIP() { - *this = ::std::move(from); - } - - inline CMsgGCUpdateSessionIP& operator=(const CMsgGCUpdateSessionIP& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCUpdateSessionIP& operator=(CMsgGCUpdateSessionIP&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCUpdateSessionIP& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCUpdateSessionIP* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCUpdateSessionIP_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - friend void swap(CMsgGCUpdateSessionIP& a, CMsgGCUpdateSessionIP& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCUpdateSessionIP* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCUpdateSessionIP* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCUpdateSessionIP* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCUpdateSessionIP& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCUpdateSessionIP& from) { - CMsgGCUpdateSessionIP::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCUpdateSessionIP* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCUpdateSessionIP"; - } - protected: - explicit CMsgGCUpdateSessionIP(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSteamidFieldNumber = 1, - kIpFieldNumber = 2, - }; - // optional fixed64 steamid = 1; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional fixed32 ip = 2; - bool has_ip() const; - private: - bool _internal_has_ip() const; - public: - void clear_ip(); - uint32_t ip() const; - void set_ip(uint32_t value); - private: - uint32_t _internal_ip() const; - void _internal_set_ip(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCUpdateSessionIP) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t steamid_; - uint32_t ip_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCRequestSessionIP : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCRequestSessionIP) */ { - public: - inline CMsgGCRequestSessionIP() : CMsgGCRequestSessionIP(nullptr) {} - ~CMsgGCRequestSessionIP() override; - explicit PROTOBUF_CONSTEXPR CMsgGCRequestSessionIP(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCRequestSessionIP(const CMsgGCRequestSessionIP& from); - CMsgGCRequestSessionIP(CMsgGCRequestSessionIP&& from) noexcept - : CMsgGCRequestSessionIP() { - *this = ::std::move(from); - } - - inline CMsgGCRequestSessionIP& operator=(const CMsgGCRequestSessionIP& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCRequestSessionIP& operator=(CMsgGCRequestSessionIP&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCRequestSessionIP& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCRequestSessionIP* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCRequestSessionIP_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - friend void swap(CMsgGCRequestSessionIP& a, CMsgGCRequestSessionIP& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCRequestSessionIP* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCRequestSessionIP* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCRequestSessionIP* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCRequestSessionIP& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCRequestSessionIP& from) { - CMsgGCRequestSessionIP::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCRequestSessionIP* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCRequestSessionIP"; - } - protected: - explicit CMsgGCRequestSessionIP(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSteamidFieldNumber = 1, - }; - // optional fixed64 steamid = 1; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCRequestSessionIP) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t steamid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCRequestSessionIPResponse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCRequestSessionIPResponse) */ { - public: - inline CMsgGCRequestSessionIPResponse() : CMsgGCRequestSessionIPResponse(nullptr) {} - ~CMsgGCRequestSessionIPResponse() override; - explicit PROTOBUF_CONSTEXPR CMsgGCRequestSessionIPResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCRequestSessionIPResponse(const CMsgGCRequestSessionIPResponse& from); - CMsgGCRequestSessionIPResponse(CMsgGCRequestSessionIPResponse&& from) noexcept - : CMsgGCRequestSessionIPResponse() { - *this = ::std::move(from); - } - - inline CMsgGCRequestSessionIPResponse& operator=(const CMsgGCRequestSessionIPResponse& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCRequestSessionIPResponse& operator=(CMsgGCRequestSessionIPResponse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCRequestSessionIPResponse& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCRequestSessionIPResponse* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCRequestSessionIPResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 20; - - friend void swap(CMsgGCRequestSessionIPResponse& a, CMsgGCRequestSessionIPResponse& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCRequestSessionIPResponse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCRequestSessionIPResponse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCRequestSessionIPResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCRequestSessionIPResponse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCRequestSessionIPResponse& from) { - CMsgGCRequestSessionIPResponse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCRequestSessionIPResponse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCRequestSessionIPResponse"; - } - protected: - explicit CMsgGCRequestSessionIPResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIpFieldNumber = 1, - }; - // optional fixed32 ip = 1; - bool has_ip() const; - private: - bool _internal_has_ip() const; - public: - void clear_ip(); - uint32_t ip() const; - void set_ip(uint32_t value); - private: - uint32_t _internal_ip() const; - void _internal_set_ip(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCRequestSessionIPResponse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t ip_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSOCacheHaveVersion : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSOCacheHaveVersion) */ { - public: - inline CMsgSOCacheHaveVersion() : CMsgSOCacheHaveVersion(nullptr) {} - ~CMsgSOCacheHaveVersion() override; - explicit PROTOBUF_CONSTEXPR CMsgSOCacheHaveVersion(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSOCacheHaveVersion(const CMsgSOCacheHaveVersion& from); - CMsgSOCacheHaveVersion(CMsgSOCacheHaveVersion&& from) noexcept - : CMsgSOCacheHaveVersion() { - *this = ::std::move(from); - } - - inline CMsgSOCacheHaveVersion& operator=(const CMsgSOCacheHaveVersion& from) { - CopyFrom(from); - return *this; - } - inline CMsgSOCacheHaveVersion& operator=(CMsgSOCacheHaveVersion&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSOCacheHaveVersion& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSOCacheHaveVersion* internal_default_instance() { - return reinterpret_cast( - &_CMsgSOCacheHaveVersion_default_instance_); - } - static constexpr int kIndexInFileMessages = - 21; - - friend void swap(CMsgSOCacheHaveVersion& a, CMsgSOCacheHaveVersion& b) { - a.Swap(&b); - } - inline void Swap(CMsgSOCacheHaveVersion* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSOCacheHaveVersion* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSOCacheHaveVersion* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSOCacheHaveVersion& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSOCacheHaveVersion& from) { - CMsgSOCacheHaveVersion::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSOCacheHaveVersion* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSOCacheHaveVersion"; - } - protected: - explicit CMsgSOCacheHaveVersion(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSoidFieldNumber = 1, - kVersionFieldNumber = 2, - }; - // optional .CMsgSOIDOwner soid = 1; - bool has_soid() const; - private: - bool _internal_has_soid() const; - public: - void clear_soid(); - const ::CMsgSOIDOwner& soid() const; - PROTOBUF_NODISCARD ::CMsgSOIDOwner* release_soid(); - ::CMsgSOIDOwner* mutable_soid(); - void set_allocated_soid(::CMsgSOIDOwner* soid); - private: - const ::CMsgSOIDOwner& _internal_soid() const; - ::CMsgSOIDOwner* _internal_mutable_soid(); - public: - void unsafe_arena_set_allocated_soid( - ::CMsgSOIDOwner* soid); - ::CMsgSOIDOwner* unsafe_arena_release_soid(); - - // optional fixed64 version = 2; - bool has_version() const; - private: - bool _internal_has_version() const; - public: - void clear_version(); - uint64_t version() const; - void set_version(uint64_t value); - private: - uint64_t _internal_version() const; - void _internal_set_version(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSOCacheHaveVersion) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgSOIDOwner* soid_; - uint64_t version_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgClientHello : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgClientHello) */ { - public: - inline CMsgClientHello() : CMsgClientHello(nullptr) {} - ~CMsgClientHello() override; - explicit PROTOBUF_CONSTEXPR CMsgClientHello(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgClientHello(const CMsgClientHello& from); - CMsgClientHello(CMsgClientHello&& from) noexcept - : CMsgClientHello() { - *this = ::std::move(from); - } - - inline CMsgClientHello& operator=(const CMsgClientHello& from) { - CopyFrom(from); - return *this; - } - inline CMsgClientHello& operator=(CMsgClientHello&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgClientHello& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgClientHello* internal_default_instance() { - return reinterpret_cast( - &_CMsgClientHello_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - friend void swap(CMsgClientHello& a, CMsgClientHello& b) { - a.Swap(&b); - } - inline void Swap(CMsgClientHello* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgClientHello* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgClientHello* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgClientHello& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgClientHello& from) { - CMsgClientHello::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgClientHello* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgClientHello"; - } - protected: - explicit CMsgClientHello(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSocacheHaveVersionsFieldNumber = 2, - kVersionFieldNumber = 1, - kClientSessionNeedFieldNumber = 3, - kClientLauncherFieldNumber = 4, - kPartnerSrcidFieldNumber = 5, - kPartnerAccountidFieldNumber = 6, - kPartnerAccountflagsFieldNumber = 7, - kPartnerAccountbalanceFieldNumber = 8, - kSteamLauncherFieldNumber = 9, - }; - // repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; - int socache_have_versions_size() const; - private: - int _internal_socache_have_versions_size() const; - public: - void clear_socache_have_versions(); - ::CMsgSOCacheHaveVersion* mutable_socache_have_versions(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion >* - mutable_socache_have_versions(); - private: - const ::CMsgSOCacheHaveVersion& _internal_socache_have_versions(int index) const; - ::CMsgSOCacheHaveVersion* _internal_add_socache_have_versions(); - public: - const ::CMsgSOCacheHaveVersion& socache_have_versions(int index) const; - ::CMsgSOCacheHaveVersion* add_socache_have_versions(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion >& - socache_have_versions() const; - - // optional uint32 version = 1; - bool has_version() const; - private: - bool _internal_has_version() const; - public: - void clear_version(); - uint32_t version() const; - void set_version(uint32_t value); - private: - uint32_t _internal_version() const; - void _internal_set_version(uint32_t value); - public: - - // optional uint32 client_session_need = 3; - bool has_client_session_need() const; - private: - bool _internal_has_client_session_need() const; - public: - void clear_client_session_need(); - uint32_t client_session_need() const; - void set_client_session_need(uint32_t value); - private: - uint32_t _internal_client_session_need() const; - void _internal_set_client_session_need(uint32_t value); - public: - - // optional uint32 client_launcher = 4; - bool has_client_launcher() const; - private: - bool _internal_has_client_launcher() const; - public: - void clear_client_launcher(); - uint32_t client_launcher() const; - void set_client_launcher(uint32_t value); - private: - uint32_t _internal_client_launcher() const; - void _internal_set_client_launcher(uint32_t value); - public: - - // optional uint32 partner_srcid = 5; - bool has_partner_srcid() const; - private: - bool _internal_has_partner_srcid() const; - public: - void clear_partner_srcid(); - uint32_t partner_srcid() const; - void set_partner_srcid(uint32_t value); - private: - uint32_t _internal_partner_srcid() const; - void _internal_set_partner_srcid(uint32_t value); - public: - - // optional uint32 partner_accountid = 6; - bool has_partner_accountid() const; - private: - bool _internal_has_partner_accountid() const; - public: - void clear_partner_accountid(); - uint32_t partner_accountid() const; - void set_partner_accountid(uint32_t value); - private: - uint32_t _internal_partner_accountid() const; - void _internal_set_partner_accountid(uint32_t value); - public: - - // optional uint32 partner_accountflags = 7; - bool has_partner_accountflags() const; - private: - bool _internal_has_partner_accountflags() const; - public: - void clear_partner_accountflags(); - uint32_t partner_accountflags() const; - void set_partner_accountflags(uint32_t value); - private: - uint32_t _internal_partner_accountflags() const; - void _internal_set_partner_accountflags(uint32_t value); - public: - - // optional uint32 partner_accountbalance = 8; - bool has_partner_accountbalance() const; - private: - bool _internal_has_partner_accountbalance() const; - public: - void clear_partner_accountbalance(); - uint32_t partner_accountbalance() const; - void set_partner_accountbalance(uint32_t value); - private: - uint32_t _internal_partner_accountbalance() const; - void _internal_set_partner_accountbalance(uint32_t value); - public: - - // optional uint32 steam_launcher = 9; - bool has_steam_launcher() const; - private: - bool _internal_has_steam_launcher() const; - public: - void clear_steam_launcher(); - uint32_t steam_launcher() const; - void set_steam_launcher(uint32_t value); - private: - uint32_t _internal_steam_launcher() const; - void _internal_set_steam_launcher(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgClientHello) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion > socache_have_versions_; - uint32_t version_; - uint32_t client_session_need_; - uint32_t client_launcher_; - uint32_t partner_srcid_; - uint32_t partner_accountid_; - uint32_t partner_accountflags_; - uint32_t partner_accountbalance_; - uint32_t steam_launcher_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgServerHello : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgServerHello) */ { - public: - inline CMsgServerHello() : CMsgServerHello(nullptr) {} - ~CMsgServerHello() override; - explicit PROTOBUF_CONSTEXPR CMsgServerHello(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgServerHello(const CMsgServerHello& from); - CMsgServerHello(CMsgServerHello&& from) noexcept - : CMsgServerHello() { - *this = ::std::move(from); - } - - inline CMsgServerHello& operator=(const CMsgServerHello& from) { - CopyFrom(from); - return *this; - } - inline CMsgServerHello& operator=(CMsgServerHello&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgServerHello& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgServerHello* internal_default_instance() { - return reinterpret_cast( - &_CMsgServerHello_default_instance_); - } - static constexpr int kIndexInFileMessages = - 23; - - friend void swap(CMsgServerHello& a, CMsgServerHello& b) { - a.Swap(&b); - } - inline void Swap(CMsgServerHello* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgServerHello* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgServerHello* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgServerHello& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgServerHello& from) { - CMsgServerHello::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgServerHello* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgServerHello"; - } - protected: - explicit CMsgServerHello(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSocacheHaveVersionsFieldNumber = 2, - kLegacySteamdatagramRoutingFieldNumber = 6, - kSteamdatagramLoginFieldNumber = 8, - kVersionFieldNumber = 1, - kLegacyClientSessionNeedFieldNumber = 3, - kClientLauncherFieldNumber = 4, - kRequiredInternalAddrFieldNumber = 7, - kSocacheControlFieldNumber = 9, - }; - // repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; - int socache_have_versions_size() const; - private: - int _internal_socache_have_versions_size() const; - public: - void clear_socache_have_versions(); - ::CMsgSOCacheHaveVersion* mutable_socache_have_versions(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion >* - mutable_socache_have_versions(); - private: - const ::CMsgSOCacheHaveVersion& _internal_socache_have_versions(int index) const; - ::CMsgSOCacheHaveVersion* _internal_add_socache_have_versions(); - public: - const ::CMsgSOCacheHaveVersion& socache_have_versions(int index) const; - ::CMsgSOCacheHaveVersion* add_socache_have_versions(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion >& - socache_have_versions() const; - - // optional bytes legacy_steamdatagram_routing = 6; - bool has_legacy_steamdatagram_routing() const; - private: - bool _internal_has_legacy_steamdatagram_routing() const; - public: - void clear_legacy_steamdatagram_routing(); - const std::string& legacy_steamdatagram_routing() const; - template - void set_legacy_steamdatagram_routing(ArgT0&& arg0, ArgT... args); - std::string* mutable_legacy_steamdatagram_routing(); - PROTOBUF_NODISCARD std::string* release_legacy_steamdatagram_routing(); - void set_allocated_legacy_steamdatagram_routing(std::string* legacy_steamdatagram_routing); - private: - const std::string& _internal_legacy_steamdatagram_routing() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_legacy_steamdatagram_routing(const std::string& value); - std::string* _internal_mutable_legacy_steamdatagram_routing(); - public: - - // optional bytes steamdatagram_login = 8; - bool has_steamdatagram_login() const; - private: - bool _internal_has_steamdatagram_login() const; - public: - void clear_steamdatagram_login(); - const std::string& steamdatagram_login() const; - template - void set_steamdatagram_login(ArgT0&& arg0, ArgT... args); - std::string* mutable_steamdatagram_login(); - PROTOBUF_NODISCARD std::string* release_steamdatagram_login(); - void set_allocated_steamdatagram_login(std::string* steamdatagram_login); - private: - const std::string& _internal_steamdatagram_login() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_steamdatagram_login(const std::string& value); - std::string* _internal_mutable_steamdatagram_login(); - public: - - // optional uint32 version = 1; - bool has_version() const; - private: - bool _internal_has_version() const; - public: - void clear_version(); - uint32_t version() const; - void set_version(uint32_t value); - private: - uint32_t _internal_version() const; - void _internal_set_version(uint32_t value); - public: - - // optional uint32 legacy_client_session_need = 3; - bool has_legacy_client_session_need() const; - private: - bool _internal_has_legacy_client_session_need() const; - public: - void clear_legacy_client_session_need(); - uint32_t legacy_client_session_need() const; - void set_legacy_client_session_need(uint32_t value); - private: - uint32_t _internal_legacy_client_session_need() const; - void _internal_set_legacy_client_session_need(uint32_t value); - public: - - // optional uint32 client_launcher = 4; - bool has_client_launcher() const; - private: - bool _internal_has_client_launcher() const; - public: - void clear_client_launcher(); - uint32_t client_launcher() const; - void set_client_launcher(uint32_t value); - private: - uint32_t _internal_client_launcher() const; - void _internal_set_client_launcher(uint32_t value); - public: - - // optional uint32 required_internal_addr = 7; - bool has_required_internal_addr() const; - private: - bool _internal_has_required_internal_addr() const; - public: - void clear_required_internal_addr(); - uint32_t required_internal_addr() const; - void set_required_internal_addr(uint32_t value); - private: - uint32_t _internal_required_internal_addr() const; - void _internal_set_required_internal_addr(uint32_t value); - public: - - // optional uint32 socache_control = 9; - bool has_socache_control() const; - private: - bool _internal_has_socache_control() const; - public: - void clear_socache_control(); - uint32_t socache_control() const; - void set_socache_control(uint32_t value); - private: - uint32_t _internal_socache_control() const; - void _internal_set_socache_control(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgServerHello) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion > socache_have_versions_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr legacy_steamdatagram_routing_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr steamdatagram_login_; - uint32_t version_; - uint32_t legacy_client_session_need_; - uint32_t client_launcher_; - uint32_t required_internal_addr_; - uint32_t socache_control_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgClientWelcome_Location : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgClientWelcome.Location) */ { - public: - inline CMsgClientWelcome_Location() : CMsgClientWelcome_Location(nullptr) {} - ~CMsgClientWelcome_Location() override; - explicit PROTOBUF_CONSTEXPR CMsgClientWelcome_Location(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgClientWelcome_Location(const CMsgClientWelcome_Location& from); - CMsgClientWelcome_Location(CMsgClientWelcome_Location&& from) noexcept - : CMsgClientWelcome_Location() { - *this = ::std::move(from); - } - - inline CMsgClientWelcome_Location& operator=(const CMsgClientWelcome_Location& from) { - CopyFrom(from); - return *this; - } - inline CMsgClientWelcome_Location& operator=(CMsgClientWelcome_Location&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgClientWelcome_Location& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgClientWelcome_Location* internal_default_instance() { - return reinterpret_cast( - &_CMsgClientWelcome_Location_default_instance_); - } - static constexpr int kIndexInFileMessages = - 24; - - friend void swap(CMsgClientWelcome_Location& a, CMsgClientWelcome_Location& b) { - a.Swap(&b); - } - inline void Swap(CMsgClientWelcome_Location* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgClientWelcome_Location* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgClientWelcome_Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgClientWelcome_Location& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgClientWelcome_Location& from) { - CMsgClientWelcome_Location::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgClientWelcome_Location* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgClientWelcome.Location"; - } - protected: - explicit CMsgClientWelcome_Location(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCountryFieldNumber = 3, - kLatitudeFieldNumber = 1, - kLongitudeFieldNumber = 2, - }; - // optional string country = 3; - bool has_country() const; - private: - bool _internal_has_country() const; - public: - void clear_country(); - const std::string& country() const; - template - void set_country(ArgT0&& arg0, ArgT... args); - std::string* mutable_country(); - PROTOBUF_NODISCARD std::string* release_country(); - void set_allocated_country(std::string* country); - private: - const std::string& _internal_country() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_country(const std::string& value); - std::string* _internal_mutable_country(); - public: - - // optional float latitude = 1; - bool has_latitude() const; - private: - bool _internal_has_latitude() const; - public: - void clear_latitude(); - float latitude() const; - void set_latitude(float value); - private: - float _internal_latitude() const; - void _internal_set_latitude(float value); - public: - - // optional float longitude = 2; - bool has_longitude() const; - private: - bool _internal_has_longitude() const; - public: - void clear_longitude(); - float longitude() const; - void set_longitude(float value); - private: - float _internal_longitude() const; - void _internal_set_longitude(float value); - public: - - // @@protoc_insertion_point(class_scope:CMsgClientWelcome.Location) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr country_; - float latitude_; - float longitude_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgClientWelcome : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgClientWelcome) */ { - public: - inline CMsgClientWelcome() : CMsgClientWelcome(nullptr) {} - ~CMsgClientWelcome() override; - explicit PROTOBUF_CONSTEXPR CMsgClientWelcome(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgClientWelcome(const CMsgClientWelcome& from); - CMsgClientWelcome(CMsgClientWelcome&& from) noexcept - : CMsgClientWelcome() { - *this = ::std::move(from); - } - - inline CMsgClientWelcome& operator=(const CMsgClientWelcome& from) { - CopyFrom(from); - return *this; - } - inline CMsgClientWelcome& operator=(CMsgClientWelcome&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgClientWelcome& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgClientWelcome* internal_default_instance() { - return reinterpret_cast( - &_CMsgClientWelcome_default_instance_); - } - static constexpr int kIndexInFileMessages = - 25; - - friend void swap(CMsgClientWelcome& a, CMsgClientWelcome& b) { - a.Swap(&b); - } - inline void Swap(CMsgClientWelcome* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgClientWelcome* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgClientWelcome* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgClientWelcome& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgClientWelcome& from) { - CMsgClientWelcome::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgClientWelcome* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgClientWelcome"; - } - protected: - explicit CMsgClientWelcome(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgClientWelcome_Location Location; - - // accessors ------------------------------------------------------- - - enum : int { - kOutofdateSubscribedCachesFieldNumber = 3, - kUptodateSubscribedCachesFieldNumber = 4, - kGameDataFieldNumber = 2, - kGameData2FieldNumber = 6, - kBalanceUrlFieldNumber = 10, - kTxnCountryCodeFieldNumber = 11, - kLocationFieldNumber = 5, - kVersionFieldNumber = 1, - kRtime32GcWelcomeTimestampFieldNumber = 7, - kCurrencyFieldNumber = 8, - kBalanceFieldNumber = 9, - }; - // repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; - int outofdate_subscribed_caches_size() const; - private: - int _internal_outofdate_subscribed_caches_size() const; - public: - void clear_outofdate_subscribed_caches(); - ::CMsgSOCacheSubscribed* mutable_outofdate_subscribed_caches(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed >* - mutable_outofdate_subscribed_caches(); - private: - const ::CMsgSOCacheSubscribed& _internal_outofdate_subscribed_caches(int index) const; - ::CMsgSOCacheSubscribed* _internal_add_outofdate_subscribed_caches(); - public: - const ::CMsgSOCacheSubscribed& outofdate_subscribed_caches(int index) const; - ::CMsgSOCacheSubscribed* add_outofdate_subscribed_caches(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed >& - outofdate_subscribed_caches() const; - - // repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; - int uptodate_subscribed_caches_size() const; - private: - int _internal_uptodate_subscribed_caches_size() const; - public: - void clear_uptodate_subscribed_caches(); - ::CMsgSOCacheSubscriptionCheck* mutable_uptodate_subscribed_caches(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck >* - mutable_uptodate_subscribed_caches(); - private: - const ::CMsgSOCacheSubscriptionCheck& _internal_uptodate_subscribed_caches(int index) const; - ::CMsgSOCacheSubscriptionCheck* _internal_add_uptodate_subscribed_caches(); - public: - const ::CMsgSOCacheSubscriptionCheck& uptodate_subscribed_caches(int index) const; - ::CMsgSOCacheSubscriptionCheck* add_uptodate_subscribed_caches(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck >& - uptodate_subscribed_caches() const; - - // optional bytes game_data = 2; - bool has_game_data() const; - private: - bool _internal_has_game_data() const; - public: - void clear_game_data(); - const std::string& game_data() const; - template - void set_game_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_game_data(); - PROTOBUF_NODISCARD std::string* release_game_data(); - void set_allocated_game_data(std::string* game_data); - private: - const std::string& _internal_game_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_data(const std::string& value); - std::string* _internal_mutable_game_data(); - public: - - // optional bytes game_data2 = 6; - bool has_game_data2() const; - private: - bool _internal_has_game_data2() const; - public: - void clear_game_data2(); - const std::string& game_data2() const; - template - void set_game_data2(ArgT0&& arg0, ArgT... args); - std::string* mutable_game_data2(); - PROTOBUF_NODISCARD std::string* release_game_data2(); - void set_allocated_game_data2(std::string* game_data2); - private: - const std::string& _internal_game_data2() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_data2(const std::string& value); - std::string* _internal_mutable_game_data2(); - public: - - // optional string balance_url = 10; - bool has_balance_url() const; - private: - bool _internal_has_balance_url() const; - public: - void clear_balance_url(); - const std::string& balance_url() const; - template - void set_balance_url(ArgT0&& arg0, ArgT... args); - std::string* mutable_balance_url(); - PROTOBUF_NODISCARD std::string* release_balance_url(); - void set_allocated_balance_url(std::string* balance_url); - private: - const std::string& _internal_balance_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_balance_url(const std::string& value); - std::string* _internal_mutable_balance_url(); - public: - - // optional string txn_country_code = 11; - bool has_txn_country_code() const; - private: - bool _internal_has_txn_country_code() const; - public: - void clear_txn_country_code(); - const std::string& txn_country_code() const; - template - void set_txn_country_code(ArgT0&& arg0, ArgT... args); - std::string* mutable_txn_country_code(); - PROTOBUF_NODISCARD std::string* release_txn_country_code(); - void set_allocated_txn_country_code(std::string* txn_country_code); - private: - const std::string& _internal_txn_country_code() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_txn_country_code(const std::string& value); - std::string* _internal_mutable_txn_country_code(); - public: - - // optional .CMsgClientWelcome.Location location = 5; - bool has_location() const; - private: - bool _internal_has_location() const; - public: - void clear_location(); - const ::CMsgClientWelcome_Location& location() const; - PROTOBUF_NODISCARD ::CMsgClientWelcome_Location* release_location(); - ::CMsgClientWelcome_Location* mutable_location(); - void set_allocated_location(::CMsgClientWelcome_Location* location); - private: - const ::CMsgClientWelcome_Location& _internal_location() const; - ::CMsgClientWelcome_Location* _internal_mutable_location(); - public: - void unsafe_arena_set_allocated_location( - ::CMsgClientWelcome_Location* location); - ::CMsgClientWelcome_Location* unsafe_arena_release_location(); - - // optional uint32 version = 1; - bool has_version() const; - private: - bool _internal_has_version() const; - public: - void clear_version(); - uint32_t version() const; - void set_version(uint32_t value); - private: - uint32_t _internal_version() const; - void _internal_set_version(uint32_t value); - public: - - // optional uint32 rtime32_gc_welcome_timestamp = 7; - bool has_rtime32_gc_welcome_timestamp() const; - private: - bool _internal_has_rtime32_gc_welcome_timestamp() const; - public: - void clear_rtime32_gc_welcome_timestamp(); - uint32_t rtime32_gc_welcome_timestamp() const; - void set_rtime32_gc_welcome_timestamp(uint32_t value); - private: - uint32_t _internal_rtime32_gc_welcome_timestamp() const; - void _internal_set_rtime32_gc_welcome_timestamp(uint32_t value); - public: - - // optional uint32 currency = 8; - bool has_currency() const; - private: - bool _internal_has_currency() const; - public: - void clear_currency(); - uint32_t currency() const; - void set_currency(uint32_t value); - private: - uint32_t _internal_currency() const; - void _internal_set_currency(uint32_t value); - public: - - // optional uint32 balance = 9; - bool has_balance() const; - private: - bool _internal_has_balance() const; - public: - void clear_balance(); - uint32_t balance() const; - void set_balance(uint32_t value); - private: - uint32_t _internal_balance() const; - void _internal_set_balance(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgClientWelcome) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed > outofdate_subscribed_caches_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck > uptodate_subscribed_caches_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_data_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_data2_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr balance_url_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr txn_country_code_; - ::CMsgClientWelcome_Location* location_; - uint32_t version_; - uint32_t rtime32_gc_welcome_timestamp_; - uint32_t currency_; - uint32_t balance_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgConnectionStatus : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgConnectionStatus) */ { - public: - inline CMsgConnectionStatus() : CMsgConnectionStatus(nullptr) {} - ~CMsgConnectionStatus() override; - explicit PROTOBUF_CONSTEXPR CMsgConnectionStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgConnectionStatus(const CMsgConnectionStatus& from); - CMsgConnectionStatus(CMsgConnectionStatus&& from) noexcept - : CMsgConnectionStatus() { - *this = ::std::move(from); - } - - inline CMsgConnectionStatus& operator=(const CMsgConnectionStatus& from) { - CopyFrom(from); - return *this; - } - inline CMsgConnectionStatus& operator=(CMsgConnectionStatus&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgConnectionStatus& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgConnectionStatus* internal_default_instance() { - return reinterpret_cast( - &_CMsgConnectionStatus_default_instance_); - } - static constexpr int kIndexInFileMessages = - 26; - - friend void swap(CMsgConnectionStatus& a, CMsgConnectionStatus& b) { - a.Swap(&b); - } - inline void Swap(CMsgConnectionStatus* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgConnectionStatus* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgConnectionStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgConnectionStatus& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgConnectionStatus& from) { - CMsgConnectionStatus::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgConnectionStatus* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgConnectionStatus"; - } - protected: - explicit CMsgConnectionStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStatusFieldNumber = 1, - kClientSessionNeedFieldNumber = 2, - kQueuePositionFieldNumber = 3, - kQueueSizeFieldNumber = 4, - kWaitSecondsFieldNumber = 5, - kEstimatedWaitSecondsRemainingFieldNumber = 6, - }; - // optional .GCConnectionStatus status = 1 [default = GCConnectionStatus_HAVE_SESSION]; - bool has_status() const; - private: - bool _internal_has_status() const; - public: - void clear_status(); - ::GCConnectionStatus status() const; - void set_status(::GCConnectionStatus value); - private: - ::GCConnectionStatus _internal_status() const; - void _internal_set_status(::GCConnectionStatus value); - public: - - // optional uint32 client_session_need = 2; - bool has_client_session_need() const; - private: - bool _internal_has_client_session_need() const; - public: - void clear_client_session_need(); - uint32_t client_session_need() const; - void set_client_session_need(uint32_t value); - private: - uint32_t _internal_client_session_need() const; - void _internal_set_client_session_need(uint32_t value); - public: - - // optional int32 queue_position = 3; - bool has_queue_position() const; - private: - bool _internal_has_queue_position() const; - public: - void clear_queue_position(); - int32_t queue_position() const; - void set_queue_position(int32_t value); - private: - int32_t _internal_queue_position() const; - void _internal_set_queue_position(int32_t value); - public: - - // optional int32 queue_size = 4; - bool has_queue_size() const; - private: - bool _internal_has_queue_size() const; - public: - void clear_queue_size(); - int32_t queue_size() const; - void set_queue_size(int32_t value); - private: - int32_t _internal_queue_size() const; - void _internal_set_queue_size(int32_t value); - public: - - // optional int32 wait_seconds = 5; - bool has_wait_seconds() const; - private: - bool _internal_has_wait_seconds() const; - public: - void clear_wait_seconds(); - int32_t wait_seconds() const; - void set_wait_seconds(int32_t value); - private: - int32_t _internal_wait_seconds() const; - void _internal_set_wait_seconds(int32_t value); - public: - - // optional int32 estimated_wait_seconds_remaining = 6; - bool has_estimated_wait_seconds_remaining() const; - private: - bool _internal_has_estimated_wait_seconds_remaining() const; - public: - void clear_estimated_wait_seconds_remaining(); - int32_t estimated_wait_seconds_remaining() const; - void set_estimated_wait_seconds_remaining(int32_t value); - private: - int32_t _internal_estimated_wait_seconds_remaining() const; - void _internal_set_estimated_wait_seconds_remaining(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgConnectionStatus) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int status_; - uint32_t client_session_need_; - int32_t queue_position_; - int32_t queue_size_; - int32_t wait_seconds_; - int32_t estimated_wait_seconds_remaining_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) */ { - public: - inline CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription() : CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription(nullptr) {} - ~CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription() override; - explicit PROTOBUF_CONSTEXPR CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription(const CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& from); - CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription&& from) noexcept - : CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription() { - *this = ::std::move(from); - } - - inline CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& operator=(const CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& from) { - CopyFrom(from); - return *this; - } - inline CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& operator=(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& default_instance() { - return *internal_default_instance(); - } - static inline const CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* internal_default_instance() { - return reinterpret_cast( - &_CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription_default_instance_); - } - static constexpr int kIndexInFileMessages = - 27; - - friend void swap(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& a, CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& b) { - a.Swap(&b); - } - inline void Swap(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& from) { - CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription"; - } - protected: - explicit CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemDescriptionFieldNumber = 2, - kGameitemidFieldNumber = 1, - kOnePerAccountFieldNumber = 3, - }; - // optional string item_description = 2; - bool has_item_description() const; - private: - bool _internal_has_item_description() const; - public: - void clear_item_description(); - const std::string& item_description() const; - template - void set_item_description(ArgT0&& arg0, ArgT... args); - std::string* mutable_item_description(); - PROTOBUF_NODISCARD std::string* release_item_description(); - void set_allocated_item_description(std::string* item_description); - private: - const std::string& _internal_item_description() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_item_description(const std::string& value); - std::string* _internal_mutable_item_description(); - public: - - // optional uint32 gameitemid = 1; - bool has_gameitemid() const; - private: - bool _internal_has_gameitemid() const; - public: - void clear_gameitemid(); - uint32_t gameitemid() const; - void set_gameitemid(uint32_t value); - private: - uint32_t _internal_gameitemid() const; - void _internal_set_gameitemid(uint32_t value); - public: - - // optional bool one_per_account = 3; - bool has_one_per_account() const; - private: - bool _internal_has_one_per_account() const; - public: - void clear_one_per_account(); - bool one_per_account() const; - void set_one_per_account(bool value); - private: - bool _internal_one_per_account() const; - void _internal_set_one_per_account(bool value); - public: - - // @@protoc_insertion_point(class_scope:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr item_description_; - uint32_t gameitemid_; - bool one_per_account_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) */ { - public: - inline CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock() : CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock(nullptr) {} - ~CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock() override; - explicit PROTOBUF_CONSTEXPR CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock(const CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& from); - CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock(CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock&& from) noexcept - : CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock() { - *this = ::std::move(from); - } - - inline CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& operator=(const CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& from) { - CopyFrom(from); - return *this; - } - inline CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& operator=(CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& default_instance() { - return *internal_default_instance(); - } - static inline const CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* internal_default_instance() { - return reinterpret_cast( - &_CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock_default_instance_); - } - static constexpr int kIndexInFileMessages = - 28; - - friend void swap(CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& a, CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& b) { - a.Swap(&b); - } - inline void Swap(CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& from) { - CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock"; - } - protected: - explicit CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDescriptionsFieldNumber = 2, - kLanguageFieldNumber = 1, - }; - // repeated .CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription descriptions = 2; - int descriptions_size() const; - private: - int _internal_descriptions_size() const; - public: - void clear_descriptions(); - ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* mutable_descriptions(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription >* - mutable_descriptions(); - private: - const ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& _internal_descriptions(int index) const; - ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* _internal_add_descriptions(); - public: - const ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& descriptions(int index) const; - ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* add_descriptions(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription >& - descriptions() const; - - // optional string language = 1; - bool has_language() const; - private: - bool _internal_has_language() const; - public: - void clear_language(); - const std::string& language() const; - template - void set_language(ArgT0&& arg0, ArgT... args); - std::string* mutable_language(); - PROTOBUF_NODISCARD std::string* release_language(); - void set_allocated_language(std::string* language); - private: - const std::string& _internal_language() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_language(const std::string& value); - std::string* _internal_mutable_language(); - public: - - // @@protoc_insertion_point(class_scope:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription > descriptions_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr language_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CWorkshop_PopulateItemDescriptions_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_PopulateItemDescriptions_Request) */ { - public: - inline CWorkshop_PopulateItemDescriptions_Request() : CWorkshop_PopulateItemDescriptions_Request(nullptr) {} - ~CWorkshop_PopulateItemDescriptions_Request() override; - explicit PROTOBUF_CONSTEXPR CWorkshop_PopulateItemDescriptions_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CWorkshop_PopulateItemDescriptions_Request(const CWorkshop_PopulateItemDescriptions_Request& from); - CWorkshop_PopulateItemDescriptions_Request(CWorkshop_PopulateItemDescriptions_Request&& from) noexcept - : CWorkshop_PopulateItemDescriptions_Request() { - *this = ::std::move(from); - } - - inline CWorkshop_PopulateItemDescriptions_Request& operator=(const CWorkshop_PopulateItemDescriptions_Request& from) { - CopyFrom(from); - return *this; - } - inline CWorkshop_PopulateItemDescriptions_Request& operator=(CWorkshop_PopulateItemDescriptions_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CWorkshop_PopulateItemDescriptions_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CWorkshop_PopulateItemDescriptions_Request* internal_default_instance() { - return reinterpret_cast( - &_CWorkshop_PopulateItemDescriptions_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 29; - - friend void swap(CWorkshop_PopulateItemDescriptions_Request& a, CWorkshop_PopulateItemDescriptions_Request& b) { - a.Swap(&b); - } - inline void Swap(CWorkshop_PopulateItemDescriptions_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CWorkshop_PopulateItemDescriptions_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CWorkshop_PopulateItemDescriptions_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CWorkshop_PopulateItemDescriptions_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CWorkshop_PopulateItemDescriptions_Request& from) { - CWorkshop_PopulateItemDescriptions_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CWorkshop_PopulateItemDescriptions_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CWorkshop_PopulateItemDescriptions_Request"; - } - protected: - explicit CWorkshop_PopulateItemDescriptions_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription SingleItemDescription; - typedef CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock ItemDescriptionsLanguageBlock; - - // accessors ------------------------------------------------------- - - enum : int { - kLanguagesFieldNumber = 2, - kAppidFieldNumber = 1, - }; - // repeated .CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock languages = 2; - int languages_size() const; - private: - int _internal_languages_size() const; - public: - void clear_languages(); - ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* mutable_languages(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock >* - mutable_languages(); - private: - const ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& _internal_languages(int index) const; - ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* _internal_add_languages(); - public: - const ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& languages(int index) const; - ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* add_languages(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock >& - languages() const; - - // optional uint32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CWorkshop_PopulateItemDescriptions_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock > languages_; - uint32_t appid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CWorkshop_GetContributors_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_GetContributors_Request) */ { - public: - inline CWorkshop_GetContributors_Request() : CWorkshop_GetContributors_Request(nullptr) {} - ~CWorkshop_GetContributors_Request() override; - explicit PROTOBUF_CONSTEXPR CWorkshop_GetContributors_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CWorkshop_GetContributors_Request(const CWorkshop_GetContributors_Request& from); - CWorkshop_GetContributors_Request(CWorkshop_GetContributors_Request&& from) noexcept - : CWorkshop_GetContributors_Request() { - *this = ::std::move(from); - } - - inline CWorkshop_GetContributors_Request& operator=(const CWorkshop_GetContributors_Request& from) { - CopyFrom(from); - return *this; - } - inline CWorkshop_GetContributors_Request& operator=(CWorkshop_GetContributors_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CWorkshop_GetContributors_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CWorkshop_GetContributors_Request* internal_default_instance() { - return reinterpret_cast( - &_CWorkshop_GetContributors_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 30; - - friend void swap(CWorkshop_GetContributors_Request& a, CWorkshop_GetContributors_Request& b) { - a.Swap(&b); - } - inline void Swap(CWorkshop_GetContributors_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CWorkshop_GetContributors_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CWorkshop_GetContributors_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CWorkshop_GetContributors_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CWorkshop_GetContributors_Request& from) { - CWorkshop_GetContributors_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CWorkshop_GetContributors_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CWorkshop_GetContributors_Request"; - } - protected: - explicit CWorkshop_GetContributors_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAppidFieldNumber = 1, - kGameitemidFieldNumber = 2, - }; - // optional uint32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional uint32 gameitemid = 2; - bool has_gameitemid() const; - private: - bool _internal_has_gameitemid() const; - public: - void clear_gameitemid(); - uint32_t gameitemid() const; - void set_gameitemid(uint32_t value); - private: - uint32_t _internal_gameitemid() const; - void _internal_set_gameitemid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CWorkshop_GetContributors_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t appid_; - uint32_t gameitemid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CWorkshop_GetContributors_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_GetContributors_Response) */ { - public: - inline CWorkshop_GetContributors_Response() : CWorkshop_GetContributors_Response(nullptr) {} - ~CWorkshop_GetContributors_Response() override; - explicit PROTOBUF_CONSTEXPR CWorkshop_GetContributors_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CWorkshop_GetContributors_Response(const CWorkshop_GetContributors_Response& from); - CWorkshop_GetContributors_Response(CWorkshop_GetContributors_Response&& from) noexcept - : CWorkshop_GetContributors_Response() { - *this = ::std::move(from); - } - - inline CWorkshop_GetContributors_Response& operator=(const CWorkshop_GetContributors_Response& from) { - CopyFrom(from); - return *this; - } - inline CWorkshop_GetContributors_Response& operator=(CWorkshop_GetContributors_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CWorkshop_GetContributors_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CWorkshop_GetContributors_Response* internal_default_instance() { - return reinterpret_cast( - &_CWorkshop_GetContributors_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 31; - - friend void swap(CWorkshop_GetContributors_Response& a, CWorkshop_GetContributors_Response& b) { - a.Swap(&b); - } - inline void Swap(CWorkshop_GetContributors_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CWorkshop_GetContributors_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CWorkshop_GetContributors_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CWorkshop_GetContributors_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CWorkshop_GetContributors_Response& from) { - CWorkshop_GetContributors_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CWorkshop_GetContributors_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CWorkshop_GetContributors_Response"; - } - protected: - explicit CWorkshop_GetContributors_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kContributorsFieldNumber = 1, - }; - // repeated fixed64 contributors = 1; - int contributors_size() const; - private: - int _internal_contributors_size() const; - public: - void clear_contributors(); - private: - uint64_t _internal_contributors(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - _internal_contributors() const; - void _internal_add_contributors(uint64_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - _internal_mutable_contributors(); - public: - uint64_t contributors(int index) const; - void set_contributors(int index, uint64_t value); - void add_contributors(uint64_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - contributors() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - mutable_contributors(); - - // @@protoc_insertion_point(class_scope:CWorkshop_GetContributors_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > contributors_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) */ { - public: - inline CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule() : CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule(nullptr) {} - ~CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule() override; - explicit PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule(const CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& from); - CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule&& from) noexcept - : CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule() { - *this = ::std::move(from); - } - - inline CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& operator=(const CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& from) { - CopyFrom(from); - return *this; - } - inline CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& operator=(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& default_instance() { - return *internal_default_instance(); - } - static inline const CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* internal_default_instance() { - return reinterpret_cast( - &_CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule_default_instance_); - } - static constexpr int kIndexInFileMessages = - 32; - - friend void swap(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& a, CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& b) { - a.Swap(&b); - } - inline void Swap(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& from) { - CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule"; - } - protected: - explicit CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRuleDescriptionFieldNumber = 3, - kWorkshopFileIdFieldNumber = 1, - kRevenuePercentageFieldNumber = 2, - kRuleTypeFieldNumber = 4, - }; - // optional string rule_description = 3; - bool has_rule_description() const; - private: - bool _internal_has_rule_description() const; - public: - void clear_rule_description(); - const std::string& rule_description() const; - template - void set_rule_description(ArgT0&& arg0, ArgT... args); - std::string* mutable_rule_description(); - PROTOBUF_NODISCARD std::string* release_rule_description(); - void set_allocated_rule_description(std::string* rule_description); - private: - const std::string& _internal_rule_description() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_rule_description(const std::string& value); - std::string* _internal_mutable_rule_description(); - public: - - // optional uint64 workshop_file_id = 1; - bool has_workshop_file_id() const; - private: - bool _internal_has_workshop_file_id() const; - public: - void clear_workshop_file_id(); - uint64_t workshop_file_id() const; - void set_workshop_file_id(uint64_t value); - private: - uint64_t _internal_workshop_file_id() const; - void _internal_set_workshop_file_id(uint64_t value); - public: - - // optional float revenue_percentage = 2; - bool has_revenue_percentage() const; - private: - bool _internal_has_revenue_percentage() const; - public: - void clear_revenue_percentage(); - float revenue_percentage() const; - void set_revenue_percentage(float value); - private: - float _internal_revenue_percentage() const; - void _internal_set_revenue_percentage(float value); - public: - - // optional uint32 rule_type = 4 [default = 1]; - bool has_rule_type() const; - private: - bool _internal_has_rule_type() const; - public: - void clear_rule_type(); - uint32_t rule_type() const; - void set_rule_type(uint32_t value); - private: - uint32_t _internal_rule_type() const; - void _internal_set_rule_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rule_description_; - uint64_t workshop_file_id_; - float revenue_percentage_; - uint32_t rule_type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) */ { - public: - inline CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule() : CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule(nullptr) {} - ~CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule() override; - explicit PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule(const CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& from); - CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule(CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule&& from) noexcept - : CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule() { - *this = ::std::move(from); - } - - inline CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& operator=(const CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& from) { - CopyFrom(from); - return *this; - } - inline CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& operator=(CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& default_instance() { - return *internal_default_instance(); - } - static inline const CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* internal_default_instance() { - return reinterpret_cast( - &_CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule_default_instance_); - } - static constexpr int kIndexInFileMessages = - 33; - - friend void swap(CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& a, CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& b) { - a.Swap(&b); - } - inline void Swap(CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& from) { - CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule"; - } - protected: - explicit CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRuleDescriptionFieldNumber = 2, - kWorkshopFileIdFieldNumber = 1, - }; - // optional string rule_description = 2; - bool has_rule_description() const; - private: - bool _internal_has_rule_description() const; - public: - void clear_rule_description(); - const std::string& rule_description() const; - template - void set_rule_description(ArgT0&& arg0, ArgT... args); - std::string* mutable_rule_description(); - PROTOBUF_NODISCARD std::string* release_rule_description(); - void set_allocated_rule_description(std::string* rule_description); - private: - const std::string& _internal_rule_description() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_rule_description(const std::string& value); - std::string* _internal_mutable_rule_description(); - public: - - // optional uint64 workshop_file_id = 1; - bool has_workshop_file_id() const; - private: - bool _internal_has_workshop_file_id() const; - public: - void clear_workshop_file_id(); - uint64_t workshop_file_id() const; - void set_workshop_file_id(uint64_t value); - private: - uint64_t _internal_workshop_file_id() const; - void _internal_set_workshop_file_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rule_description_; - uint64_t workshop_file_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) */ { - public: - inline CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule() : CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule(nullptr) {} - ~CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule() override; - explicit PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule(const CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& from); - CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule&& from) noexcept - : CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule() { - *this = ::std::move(from); - } - - inline CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& operator=(const CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& from) { - CopyFrom(from); - return *this; - } - inline CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& operator=(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& default_instance() { - return *internal_default_instance(); - } - static inline const CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* internal_default_instance() { - return reinterpret_cast( - &_CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule_default_instance_); - } - static constexpr int kIndexInFileMessages = - 34; - - friend void swap(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& a, CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& b) { - a.Swap(&b); - } - inline void Swap(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& from) { - CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule"; - } - protected: - explicit CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRuleDescriptionFieldNumber = 3, - kAccountIdFieldNumber = 1, - kRevenuePercentageFieldNumber = 2, - }; - // optional string rule_description = 3; - bool has_rule_description() const; - private: - bool _internal_has_rule_description() const; - public: - void clear_rule_description(); - const std::string& rule_description() const; - template - void set_rule_description(ArgT0&& arg0, ArgT... args); - std::string* mutable_rule_description(); - PROTOBUF_NODISCARD std::string* release_rule_description(); - void set_allocated_rule_description(std::string* rule_description); - private: - const std::string& _internal_rule_description() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_rule_description(const std::string& value); - std::string* _internal_mutable_rule_description(); - public: - - // optional uint32 account_id = 1; - bool has_account_id() const; - private: - bool _internal_has_account_id() const; - public: - void clear_account_id(); - uint32_t account_id() const; - void set_account_id(uint32_t value); - private: - uint32_t _internal_account_id() const; - void _internal_set_account_id(uint32_t value); - public: - - // optional float revenue_percentage = 2; - bool has_revenue_percentage() const; - private: - bool _internal_has_revenue_percentage() const; - public: - void clear_revenue_percentage(); - float revenue_percentage() const; - void set_revenue_percentage(float value); - private: - float _internal_revenue_percentage() const; - void _internal_set_revenue_percentage(float value); - public: - - // @@protoc_insertion_point(class_scope:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rule_description_; - uint32_t account_id_; - float revenue_percentage_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CWorkshop_SetItemPaymentRules_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_SetItemPaymentRules_Request) */ { - public: - inline CWorkshop_SetItemPaymentRules_Request() : CWorkshop_SetItemPaymentRules_Request(nullptr) {} - ~CWorkshop_SetItemPaymentRules_Request() override; - explicit PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CWorkshop_SetItemPaymentRules_Request(const CWorkshop_SetItemPaymentRules_Request& from); - CWorkshop_SetItemPaymentRules_Request(CWorkshop_SetItemPaymentRules_Request&& from) noexcept - : CWorkshop_SetItemPaymentRules_Request() { - *this = ::std::move(from); - } - - inline CWorkshop_SetItemPaymentRules_Request& operator=(const CWorkshop_SetItemPaymentRules_Request& from) { - CopyFrom(from); - return *this; - } - inline CWorkshop_SetItemPaymentRules_Request& operator=(CWorkshop_SetItemPaymentRules_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CWorkshop_SetItemPaymentRules_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CWorkshop_SetItemPaymentRules_Request* internal_default_instance() { - return reinterpret_cast( - &_CWorkshop_SetItemPaymentRules_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 35; - - friend void swap(CWorkshop_SetItemPaymentRules_Request& a, CWorkshop_SetItemPaymentRules_Request& b) { - a.Swap(&b); - } - inline void Swap(CWorkshop_SetItemPaymentRules_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CWorkshop_SetItemPaymentRules_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CWorkshop_SetItemPaymentRules_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CWorkshop_SetItemPaymentRules_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CWorkshop_SetItemPaymentRules_Request& from) { - CWorkshop_SetItemPaymentRules_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CWorkshop_SetItemPaymentRules_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CWorkshop_SetItemPaymentRules_Request"; - } - protected: - explicit CWorkshop_SetItemPaymentRules_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule WorkshopItemPaymentRule; - typedef CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule WorkshopDirectPaymentRule; - typedef CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule PartnerItemPaymentRule; - - // accessors ------------------------------------------------------- - - enum : int { - kAssociatedWorkshopFilesFieldNumber = 3, - kPartnerAccountsFieldNumber = 4, - kAssociatedWorkshopFileForDirectPaymentsFieldNumber = 7, - kAppidFieldNumber = 1, - kGameitemidFieldNumber = 2, - kValidateOnlyFieldNumber = 5, - kMakeWorkshopFilesSubscribableFieldNumber = 6, - }; - // repeated .CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule associated_workshop_files = 3; - int associated_workshop_files_size() const; - private: - int _internal_associated_workshop_files_size() const; - public: - void clear_associated_workshop_files(); - ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* mutable_associated_workshop_files(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule >* - mutable_associated_workshop_files(); - private: - const ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& _internal_associated_workshop_files(int index) const; - ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* _internal_add_associated_workshop_files(); - public: - const ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& associated_workshop_files(int index) const; - ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* add_associated_workshop_files(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule >& - associated_workshop_files() const; - - // repeated .CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule partner_accounts = 4; - int partner_accounts_size() const; - private: - int _internal_partner_accounts_size() const; - public: - void clear_partner_accounts(); - ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* mutable_partner_accounts(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule >* - mutable_partner_accounts(); - private: - const ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& _internal_partner_accounts(int index) const; - ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* _internal_add_partner_accounts(); - public: - const ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& partner_accounts(int index) const; - ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* add_partner_accounts(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule >& - partner_accounts() const; - - // optional .CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule associated_workshop_file_for_direct_payments = 7; - bool has_associated_workshop_file_for_direct_payments() const; - private: - bool _internal_has_associated_workshop_file_for_direct_payments() const; - public: - void clear_associated_workshop_file_for_direct_payments(); - const ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& associated_workshop_file_for_direct_payments() const; - PROTOBUF_NODISCARD ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* release_associated_workshop_file_for_direct_payments(); - ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* mutable_associated_workshop_file_for_direct_payments(); - void set_allocated_associated_workshop_file_for_direct_payments(::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* associated_workshop_file_for_direct_payments); - private: - const ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& _internal_associated_workshop_file_for_direct_payments() const; - ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* _internal_mutable_associated_workshop_file_for_direct_payments(); - public: - void unsafe_arena_set_allocated_associated_workshop_file_for_direct_payments( - ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* associated_workshop_file_for_direct_payments); - ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* unsafe_arena_release_associated_workshop_file_for_direct_payments(); - - // optional uint32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional uint32 gameitemid = 2; - bool has_gameitemid() const; - private: - bool _internal_has_gameitemid() const; - public: - void clear_gameitemid(); - uint32_t gameitemid() const; - void set_gameitemid(uint32_t value); - private: - uint32_t _internal_gameitemid() const; - void _internal_set_gameitemid(uint32_t value); - public: - - // optional bool validate_only = 5; - bool has_validate_only() const; - private: - bool _internal_has_validate_only() const; - public: - void clear_validate_only(); - bool validate_only() const; - void set_validate_only(bool value); - private: - bool _internal_validate_only() const; - void _internal_set_validate_only(bool value); - public: - - // optional bool make_workshop_files_subscribable = 6; - bool has_make_workshop_files_subscribable() const; - private: - bool _internal_has_make_workshop_files_subscribable() const; - public: - void clear_make_workshop_files_subscribable(); - bool make_workshop_files_subscribable() const; - void set_make_workshop_files_subscribable(bool value); - private: - bool _internal_make_workshop_files_subscribable() const; - void _internal_set_make_workshop_files_subscribable(bool value); - public: - - // @@protoc_insertion_point(class_scope:CWorkshop_SetItemPaymentRules_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule > associated_workshop_files_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule > partner_accounts_; - ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* associated_workshop_file_for_direct_payments_; - uint32_t appid_; - uint32_t gameitemid_; - bool validate_only_; - bool make_workshop_files_subscribable_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CWorkshop_SetItemPaymentRules_Response : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CWorkshop_SetItemPaymentRules_Response) */ { - public: - inline CWorkshop_SetItemPaymentRules_Response() : CWorkshop_SetItemPaymentRules_Response(nullptr) {} - explicit PROTOBUF_CONSTEXPR CWorkshop_SetItemPaymentRules_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CWorkshop_SetItemPaymentRules_Response(const CWorkshop_SetItemPaymentRules_Response& from); - CWorkshop_SetItemPaymentRules_Response(CWorkshop_SetItemPaymentRules_Response&& from) noexcept - : CWorkshop_SetItemPaymentRules_Response() { - *this = ::std::move(from); - } - - inline CWorkshop_SetItemPaymentRules_Response& operator=(const CWorkshop_SetItemPaymentRules_Response& from) { - CopyFrom(from); - return *this; - } - inline CWorkshop_SetItemPaymentRules_Response& operator=(CWorkshop_SetItemPaymentRules_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CWorkshop_SetItemPaymentRules_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CWorkshop_SetItemPaymentRules_Response* internal_default_instance() { - return reinterpret_cast( - &_CWorkshop_SetItemPaymentRules_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 36; - - friend void swap(CWorkshop_SetItemPaymentRules_Response& a, CWorkshop_SetItemPaymentRules_Response& b) { - a.Swap(&b); - } - inline void Swap(CWorkshop_SetItemPaymentRules_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CWorkshop_SetItemPaymentRules_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CWorkshop_SetItemPaymentRules_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CWorkshop_SetItemPaymentRules_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CWorkshop_SetItemPaymentRules_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CWorkshop_SetItemPaymentRules_Response"; - } - protected: - explicit CWorkshop_SetItemPaymentRules_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CWorkshop_SetItemPaymentRules_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CGameServers_AggregationQuery_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameServers_AggregationQuery_Request) */ { - public: - inline CGameServers_AggregationQuery_Request() : CGameServers_AggregationQuery_Request(nullptr) {} - ~CGameServers_AggregationQuery_Request() override; - explicit PROTOBUF_CONSTEXPR CGameServers_AggregationQuery_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGameServers_AggregationQuery_Request(const CGameServers_AggregationQuery_Request& from); - CGameServers_AggregationQuery_Request(CGameServers_AggregationQuery_Request&& from) noexcept - : CGameServers_AggregationQuery_Request() { - *this = ::std::move(from); - } - - inline CGameServers_AggregationQuery_Request& operator=(const CGameServers_AggregationQuery_Request& from) { - CopyFrom(from); - return *this; - } - inline CGameServers_AggregationQuery_Request& operator=(CGameServers_AggregationQuery_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGameServers_AggregationQuery_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CGameServers_AggregationQuery_Request* internal_default_instance() { - return reinterpret_cast( - &_CGameServers_AggregationQuery_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 37; - - friend void swap(CGameServers_AggregationQuery_Request& a, CGameServers_AggregationQuery_Request& b) { - a.Swap(&b); - } - inline void Swap(CGameServers_AggregationQuery_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGameServers_AggregationQuery_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGameServers_AggregationQuery_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CGameServers_AggregationQuery_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CGameServers_AggregationQuery_Request& from) { - CGameServers_AggregationQuery_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CGameServers_AggregationQuery_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGameServers_AggregationQuery_Request"; - } - protected: - explicit CGameServers_AggregationQuery_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGroupFieldsFieldNumber = 3, - kFilterFieldNumber = 1, - }; - // repeated string group_fields = 3; - int group_fields_size() const; - private: - int _internal_group_fields_size() const; - public: - void clear_group_fields(); - const std::string& group_fields(int index) const; - std::string* mutable_group_fields(int index); - void set_group_fields(int index, const std::string& value); - void set_group_fields(int index, std::string&& value); - void set_group_fields(int index, const char* value); - void set_group_fields(int index, const char* value, size_t size); - std::string* add_group_fields(); - void add_group_fields(const std::string& value); - void add_group_fields(std::string&& value); - void add_group_fields(const char* value); - void add_group_fields(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& group_fields() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_group_fields(); - private: - const std::string& _internal_group_fields(int index) const; - std::string* _internal_add_group_fields(); - public: - - // optional string filter = 1; - bool has_filter() const; - private: - bool _internal_has_filter() const; - public: - void clear_filter(); - const std::string& filter() const; - template - void set_filter(ArgT0&& arg0, ArgT... args); - std::string* mutable_filter(); - PROTOBUF_NODISCARD std::string* release_filter(); - void set_allocated_filter(std::string* filter); - private: - const std::string& _internal_filter() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_filter(const std::string& value); - std::string* _internal_mutable_filter(); - public: - - // @@protoc_insertion_point(class_scope:CGameServers_AggregationQuery_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField group_fields_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filter_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CGameServers_AggregationQuery_Response_Group : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameServers_AggregationQuery_Response.Group) */ { - public: - inline CGameServers_AggregationQuery_Response_Group() : CGameServers_AggregationQuery_Response_Group(nullptr) {} - ~CGameServers_AggregationQuery_Response_Group() override; - explicit PROTOBUF_CONSTEXPR CGameServers_AggregationQuery_Response_Group(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGameServers_AggregationQuery_Response_Group(const CGameServers_AggregationQuery_Response_Group& from); - CGameServers_AggregationQuery_Response_Group(CGameServers_AggregationQuery_Response_Group&& from) noexcept - : CGameServers_AggregationQuery_Response_Group() { - *this = ::std::move(from); - } - - inline CGameServers_AggregationQuery_Response_Group& operator=(const CGameServers_AggregationQuery_Response_Group& from) { - CopyFrom(from); - return *this; - } - inline CGameServers_AggregationQuery_Response_Group& operator=(CGameServers_AggregationQuery_Response_Group&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGameServers_AggregationQuery_Response_Group& default_instance() { - return *internal_default_instance(); - } - static inline const CGameServers_AggregationQuery_Response_Group* internal_default_instance() { - return reinterpret_cast( - &_CGameServers_AggregationQuery_Response_Group_default_instance_); - } - static constexpr int kIndexInFileMessages = - 38; - - friend void swap(CGameServers_AggregationQuery_Response_Group& a, CGameServers_AggregationQuery_Response_Group& b) { - a.Swap(&b); - } - inline void Swap(CGameServers_AggregationQuery_Response_Group* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGameServers_AggregationQuery_Response_Group* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGameServers_AggregationQuery_Response_Group* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CGameServers_AggregationQuery_Response_Group& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CGameServers_AggregationQuery_Response_Group& from) { - CGameServers_AggregationQuery_Response_Group::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CGameServers_AggregationQuery_Response_Group* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGameServers_AggregationQuery_Response.Group"; - } - protected: - explicit CGameServers_AggregationQuery_Response_Group(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGroupValuesFieldNumber = 1, - kServersEmptyFieldNumber = 2, - kServersFullFieldNumber = 3, - kServersTotalFieldNumber = 4, - kPlayersHumansFieldNumber = 5, - kPlayersBotsFieldNumber = 6, - kPlayerCapacityFieldNumber = 7, - }; - // repeated string group_values = 1; - int group_values_size() const; - private: - int _internal_group_values_size() const; - public: - void clear_group_values(); - const std::string& group_values(int index) const; - std::string* mutable_group_values(int index); - void set_group_values(int index, const std::string& value); - void set_group_values(int index, std::string&& value); - void set_group_values(int index, const char* value); - void set_group_values(int index, const char* value, size_t size); - std::string* add_group_values(); - void add_group_values(const std::string& value); - void add_group_values(std::string&& value); - void add_group_values(const char* value); - void add_group_values(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& group_values() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_group_values(); - private: - const std::string& _internal_group_values(int index) const; - std::string* _internal_add_group_values(); - public: - - // optional uint32 servers_empty = 2; - bool has_servers_empty() const; - private: - bool _internal_has_servers_empty() const; - public: - void clear_servers_empty(); - uint32_t servers_empty() const; - void set_servers_empty(uint32_t value); - private: - uint32_t _internal_servers_empty() const; - void _internal_set_servers_empty(uint32_t value); - public: - - // optional uint32 servers_full = 3; - bool has_servers_full() const; - private: - bool _internal_has_servers_full() const; - public: - void clear_servers_full(); - uint32_t servers_full() const; - void set_servers_full(uint32_t value); - private: - uint32_t _internal_servers_full() const; - void _internal_set_servers_full(uint32_t value); - public: - - // optional uint32 servers_total = 4; - bool has_servers_total() const; - private: - bool _internal_has_servers_total() const; - public: - void clear_servers_total(); - uint32_t servers_total() const; - void set_servers_total(uint32_t value); - private: - uint32_t _internal_servers_total() const; - void _internal_set_servers_total(uint32_t value); - public: - - // optional uint32 players_humans = 5; - bool has_players_humans() const; - private: - bool _internal_has_players_humans() const; - public: - void clear_players_humans(); - uint32_t players_humans() const; - void set_players_humans(uint32_t value); - private: - uint32_t _internal_players_humans() const; - void _internal_set_players_humans(uint32_t value); - public: - - // optional uint32 players_bots = 6; - bool has_players_bots() const; - private: - bool _internal_has_players_bots() const; - public: - void clear_players_bots(); - uint32_t players_bots() const; - void set_players_bots(uint32_t value); - private: - uint32_t _internal_players_bots() const; - void _internal_set_players_bots(uint32_t value); - public: - - // optional uint32 player_capacity = 7; - bool has_player_capacity() const; - private: - bool _internal_has_player_capacity() const; - public: - void clear_player_capacity(); - uint32_t player_capacity() const; - void set_player_capacity(uint32_t value); - private: - uint32_t _internal_player_capacity() const; - void _internal_set_player_capacity(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CGameServers_AggregationQuery_Response.Group) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField group_values_; - uint32_t servers_empty_; - uint32_t servers_full_; - uint32_t servers_total_; - uint32_t players_humans_; - uint32_t players_bots_; - uint32_t player_capacity_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CGameServers_AggregationQuery_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameServers_AggregationQuery_Response) */ { - public: - inline CGameServers_AggregationQuery_Response() : CGameServers_AggregationQuery_Response(nullptr) {} - ~CGameServers_AggregationQuery_Response() override; - explicit PROTOBUF_CONSTEXPR CGameServers_AggregationQuery_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGameServers_AggregationQuery_Response(const CGameServers_AggregationQuery_Response& from); - CGameServers_AggregationQuery_Response(CGameServers_AggregationQuery_Response&& from) noexcept - : CGameServers_AggregationQuery_Response() { - *this = ::std::move(from); - } - - inline CGameServers_AggregationQuery_Response& operator=(const CGameServers_AggregationQuery_Response& from) { - CopyFrom(from); - return *this; - } - inline CGameServers_AggregationQuery_Response& operator=(CGameServers_AggregationQuery_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGameServers_AggregationQuery_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CGameServers_AggregationQuery_Response* internal_default_instance() { - return reinterpret_cast( - &_CGameServers_AggregationQuery_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 39; - - friend void swap(CGameServers_AggregationQuery_Response& a, CGameServers_AggregationQuery_Response& b) { - a.Swap(&b); - } - inline void Swap(CGameServers_AggregationQuery_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGameServers_AggregationQuery_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGameServers_AggregationQuery_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CGameServers_AggregationQuery_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CGameServers_AggregationQuery_Response& from) { - CGameServers_AggregationQuery_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CGameServers_AggregationQuery_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGameServers_AggregationQuery_Response"; - } - protected: - explicit CGameServers_AggregationQuery_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CGameServers_AggregationQuery_Response_Group Group; - - // accessors ------------------------------------------------------- - - enum : int { - kGroupsFieldNumber = 1, - }; - // repeated .CGameServers_AggregationQuery_Response.Group groups = 1; - int groups_size() const; - private: - int _internal_groups_size() const; - public: - void clear_groups(); - ::CGameServers_AggregationQuery_Response_Group* mutable_groups(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameServers_AggregationQuery_Response_Group >* - mutable_groups(); - private: - const ::CGameServers_AggregationQuery_Response_Group& _internal_groups(int index) const; - ::CGameServers_AggregationQuery_Response_Group* _internal_add_groups(); - public: - const ::CGameServers_AggregationQuery_Response_Group& groups(int index) const; - ::CGameServers_AggregationQuery_Response_Group* add_groups(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameServers_AggregationQuery_Response_Group >& - groups() const; - - // @@protoc_insertion_point(class_scope:CGameServers_AggregationQuery_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameServers_AggregationQuery_Response_Group > groups_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CWorkshop_AddSpecialPayment_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CWorkshop_AddSpecialPayment_Request) */ { - public: - inline CWorkshop_AddSpecialPayment_Request() : CWorkshop_AddSpecialPayment_Request(nullptr) {} - ~CWorkshop_AddSpecialPayment_Request() override; - explicit PROTOBUF_CONSTEXPR CWorkshop_AddSpecialPayment_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CWorkshop_AddSpecialPayment_Request(const CWorkshop_AddSpecialPayment_Request& from); - CWorkshop_AddSpecialPayment_Request(CWorkshop_AddSpecialPayment_Request&& from) noexcept - : CWorkshop_AddSpecialPayment_Request() { - *this = ::std::move(from); - } - - inline CWorkshop_AddSpecialPayment_Request& operator=(const CWorkshop_AddSpecialPayment_Request& from) { - CopyFrom(from); - return *this; - } - inline CWorkshop_AddSpecialPayment_Request& operator=(CWorkshop_AddSpecialPayment_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CWorkshop_AddSpecialPayment_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CWorkshop_AddSpecialPayment_Request* internal_default_instance() { - return reinterpret_cast( - &_CWorkshop_AddSpecialPayment_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 40; - - friend void swap(CWorkshop_AddSpecialPayment_Request& a, CWorkshop_AddSpecialPayment_Request& b) { - a.Swap(&b); - } - inline void Swap(CWorkshop_AddSpecialPayment_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CWorkshop_AddSpecialPayment_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CWorkshop_AddSpecialPayment_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CWorkshop_AddSpecialPayment_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CWorkshop_AddSpecialPayment_Request& from) { - CWorkshop_AddSpecialPayment_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CWorkshop_AddSpecialPayment_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CWorkshop_AddSpecialPayment_Request"; - } - protected: - explicit CWorkshop_AddSpecialPayment_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDateFieldNumber = 3, - kAppidFieldNumber = 1, - kGameitemidFieldNumber = 2, - kPaymentUsUsdFieldNumber = 4, - kPaymentRowUsdFieldNumber = 5, - }; - // optional string date = 3; - bool has_date() const; - private: - bool _internal_has_date() const; - public: - void clear_date(); - const std::string& date() const; - template - void set_date(ArgT0&& arg0, ArgT... args); - std::string* mutable_date(); - PROTOBUF_NODISCARD std::string* release_date(); - void set_allocated_date(std::string* date); - private: - const std::string& _internal_date() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_date(const std::string& value); - std::string* _internal_mutable_date(); - public: - - // optional uint32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional uint32 gameitemid = 2; - bool has_gameitemid() const; - private: - bool _internal_has_gameitemid() const; - public: - void clear_gameitemid(); - uint32_t gameitemid() const; - void set_gameitemid(uint32_t value); - private: - uint32_t _internal_gameitemid() const; - void _internal_set_gameitemid(uint32_t value); - public: - - // optional uint64 payment_us_usd = 4; - bool has_payment_us_usd() const; - private: - bool _internal_has_payment_us_usd() const; - public: - void clear_payment_us_usd(); - uint64_t payment_us_usd() const; - void set_payment_us_usd(uint64_t value); - private: - uint64_t _internal_payment_us_usd() const; - void _internal_set_payment_us_usd(uint64_t value); - public: - - // optional uint64 payment_row_usd = 5; - bool has_payment_row_usd() const; - private: - bool _internal_has_payment_row_usd() const; - public: - void clear_payment_row_usd(); - uint64_t payment_row_usd() const; - void set_payment_row_usd(uint64_t value); - private: - uint64_t _internal_payment_row_usd() const; - void _internal_set_payment_row_usd(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CWorkshop_AddSpecialPayment_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr date_; - uint32_t appid_; - uint32_t gameitemid_; - uint64_t payment_us_usd_; - uint64_t payment_row_usd_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CWorkshop_AddSpecialPayment_Response : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CWorkshop_AddSpecialPayment_Response) */ { - public: - inline CWorkshop_AddSpecialPayment_Response() : CWorkshop_AddSpecialPayment_Response(nullptr) {} - explicit PROTOBUF_CONSTEXPR CWorkshop_AddSpecialPayment_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CWorkshop_AddSpecialPayment_Response(const CWorkshop_AddSpecialPayment_Response& from); - CWorkshop_AddSpecialPayment_Response(CWorkshop_AddSpecialPayment_Response&& from) noexcept - : CWorkshop_AddSpecialPayment_Response() { - *this = ::std::move(from); - } - - inline CWorkshop_AddSpecialPayment_Response& operator=(const CWorkshop_AddSpecialPayment_Response& from) { - CopyFrom(from); - return *this; - } - inline CWorkshop_AddSpecialPayment_Response& operator=(CWorkshop_AddSpecialPayment_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CWorkshop_AddSpecialPayment_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CWorkshop_AddSpecialPayment_Response* internal_default_instance() { - return reinterpret_cast( - &_CWorkshop_AddSpecialPayment_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 41; - - friend void swap(CWorkshop_AddSpecialPayment_Response& a, CWorkshop_AddSpecialPayment_Response& b) { - a.Swap(&b); - } - inline void Swap(CWorkshop_AddSpecialPayment_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CWorkshop_AddSpecialPayment_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CWorkshop_AddSpecialPayment_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CWorkshop_AddSpecialPayment_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CWorkshop_AddSpecialPayment_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CWorkshop_AddSpecialPayment_Response"; - } - protected: - explicit CWorkshop_AddSpecialPayment_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CWorkshop_AddSpecialPayment_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CProductInfo_SetRichPresenceLocalization_Request_Token : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CProductInfo_SetRichPresenceLocalization_Request.Token) */ { - public: - inline CProductInfo_SetRichPresenceLocalization_Request_Token() : CProductInfo_SetRichPresenceLocalization_Request_Token(nullptr) {} - ~CProductInfo_SetRichPresenceLocalization_Request_Token() override; - explicit PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Request_Token(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CProductInfo_SetRichPresenceLocalization_Request_Token(const CProductInfo_SetRichPresenceLocalization_Request_Token& from); - CProductInfo_SetRichPresenceLocalization_Request_Token(CProductInfo_SetRichPresenceLocalization_Request_Token&& from) noexcept - : CProductInfo_SetRichPresenceLocalization_Request_Token() { - *this = ::std::move(from); - } - - inline CProductInfo_SetRichPresenceLocalization_Request_Token& operator=(const CProductInfo_SetRichPresenceLocalization_Request_Token& from) { - CopyFrom(from); - return *this; - } - inline CProductInfo_SetRichPresenceLocalization_Request_Token& operator=(CProductInfo_SetRichPresenceLocalization_Request_Token&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CProductInfo_SetRichPresenceLocalization_Request_Token& default_instance() { - return *internal_default_instance(); - } - static inline const CProductInfo_SetRichPresenceLocalization_Request_Token* internal_default_instance() { - return reinterpret_cast( - &_CProductInfo_SetRichPresenceLocalization_Request_Token_default_instance_); - } - static constexpr int kIndexInFileMessages = - 42; - - friend void swap(CProductInfo_SetRichPresenceLocalization_Request_Token& a, CProductInfo_SetRichPresenceLocalization_Request_Token& b) { - a.Swap(&b); - } - inline void Swap(CProductInfo_SetRichPresenceLocalization_Request_Token* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CProductInfo_SetRichPresenceLocalization_Request_Token* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CProductInfo_SetRichPresenceLocalization_Request_Token* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CProductInfo_SetRichPresenceLocalization_Request_Token& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CProductInfo_SetRichPresenceLocalization_Request_Token& from) { - CProductInfo_SetRichPresenceLocalization_Request_Token::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CProductInfo_SetRichPresenceLocalization_Request_Token* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CProductInfo_SetRichPresenceLocalization_Request.Token"; - } - protected: - explicit CProductInfo_SetRichPresenceLocalization_Request_Token(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTokenFieldNumber = 1, - kValueFieldNumber = 2, - }; - // optional string token = 1; - bool has_token() const; - private: - bool _internal_has_token() const; - public: - void clear_token(); - const std::string& token() const; - template - void set_token(ArgT0&& arg0, ArgT... args); - std::string* mutable_token(); - PROTOBUF_NODISCARD std::string* release_token(); - void set_allocated_token(std::string* token); - private: - const std::string& _internal_token() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_token(const std::string& value); - std::string* _internal_mutable_token(); - public: - - // optional string value = 2; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - const std::string& value() const; - template - void set_value(ArgT0&& arg0, ArgT... args); - std::string* mutable_value(); - PROTOBUF_NODISCARD std::string* release_value(); - void set_allocated_value(std::string* value); - private: - const std::string& _internal_value() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); - std::string* _internal_mutable_value(); - public: - - // @@protoc_insertion_point(class_scope:CProductInfo_SetRichPresenceLocalization_Request.Token) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CProductInfo_SetRichPresenceLocalization_Request_LanguageSection : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) */ { - public: - inline CProductInfo_SetRichPresenceLocalization_Request_LanguageSection() : CProductInfo_SetRichPresenceLocalization_Request_LanguageSection(nullptr) {} - ~CProductInfo_SetRichPresenceLocalization_Request_LanguageSection() override; - explicit PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Request_LanguageSection(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CProductInfo_SetRichPresenceLocalization_Request_LanguageSection(const CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& from); - CProductInfo_SetRichPresenceLocalization_Request_LanguageSection(CProductInfo_SetRichPresenceLocalization_Request_LanguageSection&& from) noexcept - : CProductInfo_SetRichPresenceLocalization_Request_LanguageSection() { - *this = ::std::move(from); - } - - inline CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& operator=(const CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& from) { - CopyFrom(from); - return *this; - } - inline CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& operator=(CProductInfo_SetRichPresenceLocalization_Request_LanguageSection&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& default_instance() { - return *internal_default_instance(); - } - static inline const CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* internal_default_instance() { - return reinterpret_cast( - &_CProductInfo_SetRichPresenceLocalization_Request_LanguageSection_default_instance_); - } - static constexpr int kIndexInFileMessages = - 43; - - friend void swap(CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& a, CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& b) { - a.Swap(&b); - } - inline void Swap(CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& from) { - CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CProductInfo_SetRichPresenceLocalization_Request.LanguageSection"; - } - protected: - explicit CProductInfo_SetRichPresenceLocalization_Request_LanguageSection(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTokensFieldNumber = 2, - kLanguageFieldNumber = 1, - }; - // repeated .CProductInfo_SetRichPresenceLocalization_Request.Token tokens = 2; - int tokens_size() const; - private: - int _internal_tokens_size() const; - public: - void clear_tokens(); - ::CProductInfo_SetRichPresenceLocalization_Request_Token* mutable_tokens(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_Token >* - mutable_tokens(); - private: - const ::CProductInfo_SetRichPresenceLocalization_Request_Token& _internal_tokens(int index) const; - ::CProductInfo_SetRichPresenceLocalization_Request_Token* _internal_add_tokens(); - public: - const ::CProductInfo_SetRichPresenceLocalization_Request_Token& tokens(int index) const; - ::CProductInfo_SetRichPresenceLocalization_Request_Token* add_tokens(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_Token >& - tokens() const; - - // optional string language = 1; - bool has_language() const; - private: - bool _internal_has_language() const; - public: - void clear_language(); - const std::string& language() const; - template - void set_language(ArgT0&& arg0, ArgT... args); - std::string* mutable_language(); - PROTOBUF_NODISCARD std::string* release_language(); - void set_allocated_language(std::string* language); - private: - const std::string& _internal_language() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_language(const std::string& value); - std::string* _internal_mutable_language(); - public: - - // @@protoc_insertion_point(class_scope:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_Token > tokens_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr language_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CProductInfo_SetRichPresenceLocalization_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CProductInfo_SetRichPresenceLocalization_Request) */ { - public: - inline CProductInfo_SetRichPresenceLocalization_Request() : CProductInfo_SetRichPresenceLocalization_Request(nullptr) {} - ~CProductInfo_SetRichPresenceLocalization_Request() override; - explicit PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CProductInfo_SetRichPresenceLocalization_Request(const CProductInfo_SetRichPresenceLocalization_Request& from); - CProductInfo_SetRichPresenceLocalization_Request(CProductInfo_SetRichPresenceLocalization_Request&& from) noexcept - : CProductInfo_SetRichPresenceLocalization_Request() { - *this = ::std::move(from); - } - - inline CProductInfo_SetRichPresenceLocalization_Request& operator=(const CProductInfo_SetRichPresenceLocalization_Request& from) { - CopyFrom(from); - return *this; - } - inline CProductInfo_SetRichPresenceLocalization_Request& operator=(CProductInfo_SetRichPresenceLocalization_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CProductInfo_SetRichPresenceLocalization_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CProductInfo_SetRichPresenceLocalization_Request* internal_default_instance() { - return reinterpret_cast( - &_CProductInfo_SetRichPresenceLocalization_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 44; - - friend void swap(CProductInfo_SetRichPresenceLocalization_Request& a, CProductInfo_SetRichPresenceLocalization_Request& b) { - a.Swap(&b); - } - inline void Swap(CProductInfo_SetRichPresenceLocalization_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CProductInfo_SetRichPresenceLocalization_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CProductInfo_SetRichPresenceLocalization_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CProductInfo_SetRichPresenceLocalization_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CProductInfo_SetRichPresenceLocalization_Request& from) { - CProductInfo_SetRichPresenceLocalization_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CProductInfo_SetRichPresenceLocalization_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CProductInfo_SetRichPresenceLocalization_Request"; - } - protected: - explicit CProductInfo_SetRichPresenceLocalization_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CProductInfo_SetRichPresenceLocalization_Request_Token Token; - typedef CProductInfo_SetRichPresenceLocalization_Request_LanguageSection LanguageSection; - - // accessors ------------------------------------------------------- - - enum : int { - kLanguagesFieldNumber = 2, - kSteamidFieldNumber = 3, - kAppidFieldNumber = 1, - }; - // repeated .CProductInfo_SetRichPresenceLocalization_Request.LanguageSection languages = 2; - int languages_size() const; - private: - int _internal_languages_size() const; - public: - void clear_languages(); - ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* mutable_languages(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection >* - mutable_languages(); - private: - const ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& _internal_languages(int index) const; - ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* _internal_add_languages(); - public: - const ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& languages(int index) const; - ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* add_languages(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection >& - languages() const; - - // optional uint64 steamid = 3; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional uint32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CProductInfo_SetRichPresenceLocalization_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection > languages_; - uint64_t steamid_; - uint32_t appid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CProductInfo_SetRichPresenceLocalization_Response : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CProductInfo_SetRichPresenceLocalization_Response) */ { - public: - inline CProductInfo_SetRichPresenceLocalization_Response() : CProductInfo_SetRichPresenceLocalization_Response(nullptr) {} - explicit PROTOBUF_CONSTEXPR CProductInfo_SetRichPresenceLocalization_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CProductInfo_SetRichPresenceLocalization_Response(const CProductInfo_SetRichPresenceLocalization_Response& from); - CProductInfo_SetRichPresenceLocalization_Response(CProductInfo_SetRichPresenceLocalization_Response&& from) noexcept - : CProductInfo_SetRichPresenceLocalization_Response() { - *this = ::std::move(from); - } - - inline CProductInfo_SetRichPresenceLocalization_Response& operator=(const CProductInfo_SetRichPresenceLocalization_Response& from) { - CopyFrom(from); - return *this; - } - inline CProductInfo_SetRichPresenceLocalization_Response& operator=(CProductInfo_SetRichPresenceLocalization_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CProductInfo_SetRichPresenceLocalization_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CProductInfo_SetRichPresenceLocalization_Response* internal_default_instance() { - return reinterpret_cast( - &_CProductInfo_SetRichPresenceLocalization_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 45; - - friend void swap(CProductInfo_SetRichPresenceLocalization_Response& a, CProductInfo_SetRichPresenceLocalization_Response& b) { - a.Swap(&b); - } - inline void Swap(CProductInfo_SetRichPresenceLocalization_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CProductInfo_SetRichPresenceLocalization_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CProductInfo_SetRichPresenceLocalization_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CProductInfo_SetRichPresenceLocalization_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CProductInfo_SetRichPresenceLocalization_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CProductInfo_SetRichPresenceLocalization_Response"; - } - protected: - explicit CProductInfo_SetRichPresenceLocalization_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CProductInfo_SetRichPresenceLocalization_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSerializedSOCache_TypeCache : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSerializedSOCache.TypeCache) */ { - public: - inline CMsgSerializedSOCache_TypeCache() : CMsgSerializedSOCache_TypeCache(nullptr) {} - ~CMsgSerializedSOCache_TypeCache() override; - explicit PROTOBUF_CONSTEXPR CMsgSerializedSOCache_TypeCache(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSerializedSOCache_TypeCache(const CMsgSerializedSOCache_TypeCache& from); - CMsgSerializedSOCache_TypeCache(CMsgSerializedSOCache_TypeCache&& from) noexcept - : CMsgSerializedSOCache_TypeCache() { - *this = ::std::move(from); - } - - inline CMsgSerializedSOCache_TypeCache& operator=(const CMsgSerializedSOCache_TypeCache& from) { - CopyFrom(from); - return *this; - } - inline CMsgSerializedSOCache_TypeCache& operator=(CMsgSerializedSOCache_TypeCache&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSerializedSOCache_TypeCache& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSerializedSOCache_TypeCache* internal_default_instance() { - return reinterpret_cast( - &_CMsgSerializedSOCache_TypeCache_default_instance_); - } - static constexpr int kIndexInFileMessages = - 46; - - friend void swap(CMsgSerializedSOCache_TypeCache& a, CMsgSerializedSOCache_TypeCache& b) { - a.Swap(&b); - } - inline void Swap(CMsgSerializedSOCache_TypeCache* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSerializedSOCache_TypeCache* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSerializedSOCache_TypeCache* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSerializedSOCache_TypeCache& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSerializedSOCache_TypeCache& from) { - CMsgSerializedSOCache_TypeCache::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSerializedSOCache_TypeCache* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSerializedSOCache.TypeCache"; - } - protected: - explicit CMsgSerializedSOCache_TypeCache(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kObjectsFieldNumber = 2, - kTypeFieldNumber = 1, - kServiceIdFieldNumber = 3, - }; - // repeated bytes objects = 2; - int objects_size() const; - private: - int _internal_objects_size() const; - public: - void clear_objects(); - const std::string& objects(int index) const; - std::string* mutable_objects(int index); - void set_objects(int index, const std::string& value); - void set_objects(int index, std::string&& value); - void set_objects(int index, const char* value); - void set_objects(int index, const void* value, size_t size); - std::string* add_objects(); - void add_objects(const std::string& value); - void add_objects(std::string&& value); - void add_objects(const char* value); - void add_objects(const void* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& objects() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_objects(); - private: - const std::string& _internal_objects(int index) const; - std::string* _internal_add_objects(); - public: - - // optional uint32 type = 1; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - uint32_t type() const; - void set_type(uint32_t value); - private: - uint32_t _internal_type() const; - void _internal_set_type(uint32_t value); - public: - - // optional uint32 service_id = 3; - bool has_service_id() const; - private: - bool _internal_has_service_id() const; - public: - void clear_service_id(); - uint32_t service_id() const; - void set_service_id(uint32_t value); - private: - uint32_t _internal_service_id() const; - void _internal_set_service_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSerializedSOCache.TypeCache) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField objects_; - uint32_t type_; - uint32_t service_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSerializedSOCache_Cache_Version : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSerializedSOCache.Cache.Version) */ { - public: - inline CMsgSerializedSOCache_Cache_Version() : CMsgSerializedSOCache_Cache_Version(nullptr) {} - ~CMsgSerializedSOCache_Cache_Version() override; - explicit PROTOBUF_CONSTEXPR CMsgSerializedSOCache_Cache_Version(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSerializedSOCache_Cache_Version(const CMsgSerializedSOCache_Cache_Version& from); - CMsgSerializedSOCache_Cache_Version(CMsgSerializedSOCache_Cache_Version&& from) noexcept - : CMsgSerializedSOCache_Cache_Version() { - *this = ::std::move(from); - } - - inline CMsgSerializedSOCache_Cache_Version& operator=(const CMsgSerializedSOCache_Cache_Version& from) { - CopyFrom(from); - return *this; - } - inline CMsgSerializedSOCache_Cache_Version& operator=(CMsgSerializedSOCache_Cache_Version&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSerializedSOCache_Cache_Version& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSerializedSOCache_Cache_Version* internal_default_instance() { - return reinterpret_cast( - &_CMsgSerializedSOCache_Cache_Version_default_instance_); - } - static constexpr int kIndexInFileMessages = - 47; - - friend void swap(CMsgSerializedSOCache_Cache_Version& a, CMsgSerializedSOCache_Cache_Version& b) { - a.Swap(&b); - } - inline void Swap(CMsgSerializedSOCache_Cache_Version* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSerializedSOCache_Cache_Version* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSerializedSOCache_Cache_Version* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSerializedSOCache_Cache_Version& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSerializedSOCache_Cache_Version& from) { - CMsgSerializedSOCache_Cache_Version::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSerializedSOCache_Cache_Version* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSerializedSOCache.Cache.Version"; - } - protected: - explicit CMsgSerializedSOCache_Cache_Version(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kVersionFieldNumber = 2, - kServiceFieldNumber = 1, - }; - // optional uint64 version = 2; - bool has_version() const; - private: - bool _internal_has_version() const; - public: - void clear_version(); - uint64_t version() const; - void set_version(uint64_t value); - private: - uint64_t _internal_version() const; - void _internal_set_version(uint64_t value); - public: - - // optional uint32 service = 1; - bool has_service() const; - private: - bool _internal_has_service() const; - public: - void clear_service(); - uint32_t service() const; - void set_service(uint32_t value); - private: - uint32_t _internal_service() const; - void _internal_set_service(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSerializedSOCache.Cache.Version) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t version_; - uint32_t service_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSerializedSOCache_Cache : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSerializedSOCache.Cache) */ { - public: - inline CMsgSerializedSOCache_Cache() : CMsgSerializedSOCache_Cache(nullptr) {} - ~CMsgSerializedSOCache_Cache() override; - explicit PROTOBUF_CONSTEXPR CMsgSerializedSOCache_Cache(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSerializedSOCache_Cache(const CMsgSerializedSOCache_Cache& from); - CMsgSerializedSOCache_Cache(CMsgSerializedSOCache_Cache&& from) noexcept - : CMsgSerializedSOCache_Cache() { - *this = ::std::move(from); - } - - inline CMsgSerializedSOCache_Cache& operator=(const CMsgSerializedSOCache_Cache& from) { - CopyFrom(from); - return *this; - } - inline CMsgSerializedSOCache_Cache& operator=(CMsgSerializedSOCache_Cache&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSerializedSOCache_Cache& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSerializedSOCache_Cache* internal_default_instance() { - return reinterpret_cast( - &_CMsgSerializedSOCache_Cache_default_instance_); - } - static constexpr int kIndexInFileMessages = - 48; - - friend void swap(CMsgSerializedSOCache_Cache& a, CMsgSerializedSOCache_Cache& b) { - a.Swap(&b); - } - inline void Swap(CMsgSerializedSOCache_Cache* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSerializedSOCache_Cache* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSerializedSOCache_Cache* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSerializedSOCache_Cache& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSerializedSOCache_Cache& from) { - CMsgSerializedSOCache_Cache::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSerializedSOCache_Cache* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSerializedSOCache.Cache"; - } - protected: - explicit CMsgSerializedSOCache_Cache(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSerializedSOCache_Cache_Version Version; - - // accessors ------------------------------------------------------- - - enum : int { - kVersionsFieldNumber = 3, - kTypeCachesFieldNumber = 4, - kIdFieldNumber = 2, - kTypeFieldNumber = 1, - }; - // repeated .CMsgSerializedSOCache.Cache.Version versions = 3; - int versions_size() const; - private: - int _internal_versions_size() const; - public: - void clear_versions(); - ::CMsgSerializedSOCache_Cache_Version* mutable_versions(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache_Version >* - mutable_versions(); - private: - const ::CMsgSerializedSOCache_Cache_Version& _internal_versions(int index) const; - ::CMsgSerializedSOCache_Cache_Version* _internal_add_versions(); - public: - const ::CMsgSerializedSOCache_Cache_Version& versions(int index) const; - ::CMsgSerializedSOCache_Cache_Version* add_versions(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache_Version >& - versions() const; - - // repeated .CMsgSerializedSOCache.TypeCache type_caches = 4; - int type_caches_size() const; - private: - int _internal_type_caches_size() const; - public: - void clear_type_caches(); - ::CMsgSerializedSOCache_TypeCache* mutable_type_caches(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_TypeCache >* - mutable_type_caches(); - private: - const ::CMsgSerializedSOCache_TypeCache& _internal_type_caches(int index) const; - ::CMsgSerializedSOCache_TypeCache* _internal_add_type_caches(); - public: - const ::CMsgSerializedSOCache_TypeCache& type_caches(int index) const; - ::CMsgSerializedSOCache_TypeCache* add_type_caches(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_TypeCache >& - type_caches() const; - - // optional uint64 id = 2; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - uint64_t id() const; - void set_id(uint64_t value); - private: - uint64_t _internal_id() const; - void _internal_set_id(uint64_t value); - public: - - // optional uint32 type = 1; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - uint32_t type() const; - void set_type(uint32_t value); - private: - uint32_t _internal_type() const; - void _internal_set_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSerializedSOCache.Cache) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache_Version > versions_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_TypeCache > type_caches_; - uint64_t id_; - uint32_t type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSerializedSOCache : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSerializedSOCache) */ { - public: - inline CMsgSerializedSOCache() : CMsgSerializedSOCache(nullptr) {} - ~CMsgSerializedSOCache() override; - explicit PROTOBUF_CONSTEXPR CMsgSerializedSOCache(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSerializedSOCache(const CMsgSerializedSOCache& from); - CMsgSerializedSOCache(CMsgSerializedSOCache&& from) noexcept - : CMsgSerializedSOCache() { - *this = ::std::move(from); - } - - inline CMsgSerializedSOCache& operator=(const CMsgSerializedSOCache& from) { - CopyFrom(from); - return *this; - } - inline CMsgSerializedSOCache& operator=(CMsgSerializedSOCache&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSerializedSOCache& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSerializedSOCache* internal_default_instance() { - return reinterpret_cast( - &_CMsgSerializedSOCache_default_instance_); - } - static constexpr int kIndexInFileMessages = - 49; - - friend void swap(CMsgSerializedSOCache& a, CMsgSerializedSOCache& b) { - a.Swap(&b); - } - inline void Swap(CMsgSerializedSOCache* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSerializedSOCache* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSerializedSOCache* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSerializedSOCache& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSerializedSOCache& from) { - CMsgSerializedSOCache::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSerializedSOCache* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSerializedSOCache"; - } - protected: - explicit CMsgSerializedSOCache(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSerializedSOCache_TypeCache TypeCache; - typedef CMsgSerializedSOCache_Cache Cache; - - // accessors ------------------------------------------------------- - - enum : int { - kCachesFieldNumber = 2, - kFileVersionFieldNumber = 1, - kGcSocacheFileVersionFieldNumber = 3, - }; - // repeated .CMsgSerializedSOCache.Cache caches = 2; - int caches_size() const; - private: - int _internal_caches_size() const; - public: - void clear_caches(); - ::CMsgSerializedSOCache_Cache* mutable_caches(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache >* - mutable_caches(); - private: - const ::CMsgSerializedSOCache_Cache& _internal_caches(int index) const; - ::CMsgSerializedSOCache_Cache* _internal_add_caches(); - public: - const ::CMsgSerializedSOCache_Cache& caches(int index) const; - ::CMsgSerializedSOCache_Cache* add_caches(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache >& - caches() const; - - // optional uint32 file_version = 1; - bool has_file_version() const; - private: - bool _internal_has_file_version() const; - public: - void clear_file_version(); - uint32_t file_version() const; - void set_file_version(uint32_t value); - private: - uint32_t _internal_file_version() const; - void _internal_set_file_version(uint32_t value); - public: - - // optional uint32 gc_socache_file_version = 3; - bool has_gc_socache_file_version() const; - private: - bool _internal_has_gc_socache_file_version() const; - public: - void clear_gc_socache_file_version(); - uint32_t gc_socache_file_version() const; - void set_gc_socache_file_version(uint32_t value); - private: - uint32_t _internal_gc_socache_file_version() const; - void _internal_set_gc_socache_file_version(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSerializedSOCache) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache > caches_; - uint32_t file_version_; - uint32_t gc_socache_file_version_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsdk_5fgcmessages_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CMsgSOIDOwner - -// optional uint32 type = 1; -inline bool CMsgSOIDOwner::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSOIDOwner::has_type() const { - return _internal_has_type(); -} -inline void CMsgSOIDOwner::clear_type() { - _impl_.type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSOIDOwner::_internal_type() const { - return _impl_.type_; -} -inline uint32_t CMsgSOIDOwner::type() const { - // @@protoc_insertion_point(field_get:CMsgSOIDOwner.type) - return _internal_type(); -} -inline void CMsgSOIDOwner::_internal_set_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.type_ = value; -} -inline void CMsgSOIDOwner::set_type(uint32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CMsgSOIDOwner.type) -} - -// optional uint64 id = 2; -inline bool CMsgSOIDOwner::_internal_has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSOIDOwner::has_id() const { - return _internal_has_id(); -} -inline void CMsgSOIDOwner::clear_id() { - _impl_.id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgSOIDOwner::_internal_id() const { - return _impl_.id_; -} -inline uint64_t CMsgSOIDOwner::id() const { - // @@protoc_insertion_point(field_get:CMsgSOIDOwner.id) - return _internal_id(); -} -inline void CMsgSOIDOwner::_internal_set_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.id_ = value; -} -inline void CMsgSOIDOwner::set_id(uint64_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:CMsgSOIDOwner.id) -} - -// ------------------------------------------------------------------- - -// CMsgSOSingleObject - -// optional int32 type_id = 2; -inline bool CMsgSOSingleObject::_internal_has_type_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSOSingleObject::has_type_id() const { - return _internal_has_type_id(); -} -inline void CMsgSOSingleObject::clear_type_id() { - _impl_.type_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CMsgSOSingleObject::_internal_type_id() const { - return _impl_.type_id_; -} -inline int32_t CMsgSOSingleObject::type_id() const { - // @@protoc_insertion_point(field_get:CMsgSOSingleObject.type_id) - return _internal_type_id(); -} -inline void CMsgSOSingleObject::_internal_set_type_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.type_id_ = value; -} -inline void CMsgSOSingleObject::set_type_id(int32_t value) { - _internal_set_type_id(value); - // @@protoc_insertion_point(field_set:CMsgSOSingleObject.type_id) -} - -// optional bytes object_data = 3; -inline bool CMsgSOSingleObject::_internal_has_object_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSOSingleObject::has_object_data() const { - return _internal_has_object_data(); -} -inline void CMsgSOSingleObject::clear_object_data() { - _impl_.object_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSOSingleObject::object_data() const { - // @@protoc_insertion_point(field_get:CMsgSOSingleObject.object_data) - return _internal_object_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSOSingleObject::set_object_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.object_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSOSingleObject.object_data) -} -inline std::string* CMsgSOSingleObject::mutable_object_data() { - std::string* _s = _internal_mutable_object_data(); - // @@protoc_insertion_point(field_mutable:CMsgSOSingleObject.object_data) - return _s; -} -inline const std::string& CMsgSOSingleObject::_internal_object_data() const { - return _impl_.object_data_.Get(); -} -inline void CMsgSOSingleObject::_internal_set_object_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.object_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSOSingleObject::_internal_mutable_object_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.object_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSOSingleObject::release_object_data() { - // @@protoc_insertion_point(field_release:CMsgSOSingleObject.object_data) - if (!_internal_has_object_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.object_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.object_data_.IsDefault()) { - _impl_.object_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSOSingleObject::set_allocated_object_data(std::string* object_data) { - if (object_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.object_data_.SetAllocated(object_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.object_data_.IsDefault()) { - _impl_.object_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSOSingleObject.object_data) -} - -// optional fixed64 version = 4; -inline bool CMsgSOSingleObject::_internal_has_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSOSingleObject::has_version() const { - return _internal_has_version(); -} -inline void CMsgSOSingleObject::clear_version() { - _impl_.version_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgSOSingleObject::_internal_version() const { - return _impl_.version_; -} -inline uint64_t CMsgSOSingleObject::version() const { - // @@protoc_insertion_point(field_get:CMsgSOSingleObject.version) - return _internal_version(); -} -inline void CMsgSOSingleObject::_internal_set_version(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.version_ = value; -} -inline void CMsgSOSingleObject::set_version(uint64_t value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:CMsgSOSingleObject.version) -} - -// optional .CMsgSOIDOwner owner_soid = 5; -inline bool CMsgSOSingleObject::_internal_has_owner_soid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.owner_soid_ != nullptr); - return value; -} -inline bool CMsgSOSingleObject::has_owner_soid() const { - return _internal_has_owner_soid(); -} -inline void CMsgSOSingleObject::clear_owner_soid() { - if (_impl_.owner_soid_ != nullptr) _impl_.owner_soid_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CMsgSOIDOwner& CMsgSOSingleObject::_internal_owner_soid() const { - const ::CMsgSOIDOwner* p = _impl_.owner_soid_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSOIDOwner_default_instance_); -} -inline const ::CMsgSOIDOwner& CMsgSOSingleObject::owner_soid() const { - // @@protoc_insertion_point(field_get:CMsgSOSingleObject.owner_soid) - return _internal_owner_soid(); -} -inline void CMsgSOSingleObject::unsafe_arena_set_allocated_owner_soid( - ::CMsgSOIDOwner* owner_soid) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.owner_soid_); - } - _impl_.owner_soid_ = owner_soid; - if (owner_soid) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSOSingleObject.owner_soid) -} -inline ::CMsgSOIDOwner* CMsgSOSingleObject::release_owner_soid() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSOIDOwner* temp = _impl_.owner_soid_; - _impl_.owner_soid_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSOIDOwner* CMsgSOSingleObject::unsafe_arena_release_owner_soid() { - // @@protoc_insertion_point(field_release:CMsgSOSingleObject.owner_soid) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSOIDOwner* temp = _impl_.owner_soid_; - _impl_.owner_soid_ = nullptr; - return temp; -} -inline ::CMsgSOIDOwner* CMsgSOSingleObject::_internal_mutable_owner_soid() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.owner_soid_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSOIDOwner>(GetArenaForAllocation()); - _impl_.owner_soid_ = p; - } - return _impl_.owner_soid_; -} -inline ::CMsgSOIDOwner* CMsgSOSingleObject::mutable_owner_soid() { - ::CMsgSOIDOwner* _msg = _internal_mutable_owner_soid(); - // @@protoc_insertion_point(field_mutable:CMsgSOSingleObject.owner_soid) - return _msg; -} -inline void CMsgSOSingleObject::set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.owner_soid_; - } - if (owner_soid) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(owner_soid); - if (message_arena != submessage_arena) { - owner_soid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, owner_soid, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.owner_soid_ = owner_soid; - // @@protoc_insertion_point(field_set_allocated:CMsgSOSingleObject.owner_soid) -} - -// ------------------------------------------------------------------- - -// CMsgSOMultipleObjects_SingleObject - -// optional int32 type_id = 1; -inline bool CMsgSOMultipleObjects_SingleObject::_internal_has_type_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSOMultipleObjects_SingleObject::has_type_id() const { - return _internal_has_type_id(); -} -inline void CMsgSOMultipleObjects_SingleObject::clear_type_id() { - _impl_.type_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgSOMultipleObjects_SingleObject::_internal_type_id() const { - return _impl_.type_id_; -} -inline int32_t CMsgSOMultipleObjects_SingleObject::type_id() const { - // @@protoc_insertion_point(field_get:CMsgSOMultipleObjects.SingleObject.type_id) - return _internal_type_id(); -} -inline void CMsgSOMultipleObjects_SingleObject::_internal_set_type_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.type_id_ = value; -} -inline void CMsgSOMultipleObjects_SingleObject::set_type_id(int32_t value) { - _internal_set_type_id(value); - // @@protoc_insertion_point(field_set:CMsgSOMultipleObjects.SingleObject.type_id) -} - -// optional bytes object_data = 2; -inline bool CMsgSOMultipleObjects_SingleObject::_internal_has_object_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSOMultipleObjects_SingleObject::has_object_data() const { - return _internal_has_object_data(); -} -inline void CMsgSOMultipleObjects_SingleObject::clear_object_data() { - _impl_.object_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSOMultipleObjects_SingleObject::object_data() const { - // @@protoc_insertion_point(field_get:CMsgSOMultipleObjects.SingleObject.object_data) - return _internal_object_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSOMultipleObjects_SingleObject::set_object_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.object_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSOMultipleObjects.SingleObject.object_data) -} -inline std::string* CMsgSOMultipleObjects_SingleObject::mutable_object_data() { - std::string* _s = _internal_mutable_object_data(); - // @@protoc_insertion_point(field_mutable:CMsgSOMultipleObjects.SingleObject.object_data) - return _s; -} -inline const std::string& CMsgSOMultipleObjects_SingleObject::_internal_object_data() const { - return _impl_.object_data_.Get(); -} -inline void CMsgSOMultipleObjects_SingleObject::_internal_set_object_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.object_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSOMultipleObjects_SingleObject::_internal_mutable_object_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.object_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSOMultipleObjects_SingleObject::release_object_data() { - // @@protoc_insertion_point(field_release:CMsgSOMultipleObjects.SingleObject.object_data) - if (!_internal_has_object_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.object_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.object_data_.IsDefault()) { - _impl_.object_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSOMultipleObjects_SingleObject::set_allocated_object_data(std::string* object_data) { - if (object_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.object_data_.SetAllocated(object_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.object_data_.IsDefault()) { - _impl_.object_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSOMultipleObjects.SingleObject.object_data) -} - -// ------------------------------------------------------------------- - -// CMsgSOMultipleObjects - -// repeated .CMsgSOMultipleObjects.SingleObject objects_modified = 2; -inline int CMsgSOMultipleObjects::_internal_objects_modified_size() const { - return _impl_.objects_modified_.size(); -} -inline int CMsgSOMultipleObjects::objects_modified_size() const { - return _internal_objects_modified_size(); -} -inline void CMsgSOMultipleObjects::clear_objects_modified() { - _impl_.objects_modified_.Clear(); -} -inline ::CMsgSOMultipleObjects_SingleObject* CMsgSOMultipleObjects::mutable_objects_modified(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSOMultipleObjects.objects_modified) - return _impl_.objects_modified_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOMultipleObjects_SingleObject >* -CMsgSOMultipleObjects::mutable_objects_modified() { - // @@protoc_insertion_point(field_mutable_list:CMsgSOMultipleObjects.objects_modified) - return &_impl_.objects_modified_; -} -inline const ::CMsgSOMultipleObjects_SingleObject& CMsgSOMultipleObjects::_internal_objects_modified(int index) const { - return _impl_.objects_modified_.Get(index); -} -inline const ::CMsgSOMultipleObjects_SingleObject& CMsgSOMultipleObjects::objects_modified(int index) const { - // @@protoc_insertion_point(field_get:CMsgSOMultipleObjects.objects_modified) - return _internal_objects_modified(index); -} -inline ::CMsgSOMultipleObjects_SingleObject* CMsgSOMultipleObjects::_internal_add_objects_modified() { - return _impl_.objects_modified_.Add(); -} -inline ::CMsgSOMultipleObjects_SingleObject* CMsgSOMultipleObjects::add_objects_modified() { - ::CMsgSOMultipleObjects_SingleObject* _add = _internal_add_objects_modified(); - // @@protoc_insertion_point(field_add:CMsgSOMultipleObjects.objects_modified) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOMultipleObjects_SingleObject >& -CMsgSOMultipleObjects::objects_modified() const { - // @@protoc_insertion_point(field_list:CMsgSOMultipleObjects.objects_modified) - return _impl_.objects_modified_; -} - -// optional fixed64 version = 3; -inline bool CMsgSOMultipleObjects::_internal_has_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSOMultipleObjects::has_version() const { - return _internal_has_version(); -} -inline void CMsgSOMultipleObjects::clear_version() { - _impl_.version_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgSOMultipleObjects::_internal_version() const { - return _impl_.version_; -} -inline uint64_t CMsgSOMultipleObjects::version() const { - // @@protoc_insertion_point(field_get:CMsgSOMultipleObjects.version) - return _internal_version(); -} -inline void CMsgSOMultipleObjects::_internal_set_version(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.version_ = value; -} -inline void CMsgSOMultipleObjects::set_version(uint64_t value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:CMsgSOMultipleObjects.version) -} - -// optional .CMsgSOIDOwner owner_soid = 6; -inline bool CMsgSOMultipleObjects::_internal_has_owner_soid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.owner_soid_ != nullptr); - return value; -} -inline bool CMsgSOMultipleObjects::has_owner_soid() const { - return _internal_has_owner_soid(); -} -inline void CMsgSOMultipleObjects::clear_owner_soid() { - if (_impl_.owner_soid_ != nullptr) _impl_.owner_soid_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgSOIDOwner& CMsgSOMultipleObjects::_internal_owner_soid() const { - const ::CMsgSOIDOwner* p = _impl_.owner_soid_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSOIDOwner_default_instance_); -} -inline const ::CMsgSOIDOwner& CMsgSOMultipleObjects::owner_soid() const { - // @@protoc_insertion_point(field_get:CMsgSOMultipleObjects.owner_soid) - return _internal_owner_soid(); -} -inline void CMsgSOMultipleObjects::unsafe_arena_set_allocated_owner_soid( - ::CMsgSOIDOwner* owner_soid) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.owner_soid_); - } - _impl_.owner_soid_ = owner_soid; - if (owner_soid) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSOMultipleObjects.owner_soid) -} -inline ::CMsgSOIDOwner* CMsgSOMultipleObjects::release_owner_soid() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSOIDOwner* temp = _impl_.owner_soid_; - _impl_.owner_soid_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSOIDOwner* CMsgSOMultipleObjects::unsafe_arena_release_owner_soid() { - // @@protoc_insertion_point(field_release:CMsgSOMultipleObjects.owner_soid) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSOIDOwner* temp = _impl_.owner_soid_; - _impl_.owner_soid_ = nullptr; - return temp; -} -inline ::CMsgSOIDOwner* CMsgSOMultipleObjects::_internal_mutable_owner_soid() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.owner_soid_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSOIDOwner>(GetArenaForAllocation()); - _impl_.owner_soid_ = p; - } - return _impl_.owner_soid_; -} -inline ::CMsgSOIDOwner* CMsgSOMultipleObjects::mutable_owner_soid() { - ::CMsgSOIDOwner* _msg = _internal_mutable_owner_soid(); - // @@protoc_insertion_point(field_mutable:CMsgSOMultipleObjects.owner_soid) - return _msg; -} -inline void CMsgSOMultipleObjects::set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.owner_soid_; - } - if (owner_soid) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(owner_soid); - if (message_arena != submessage_arena) { - owner_soid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, owner_soid, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.owner_soid_ = owner_soid; - // @@protoc_insertion_point(field_set_allocated:CMsgSOMultipleObjects.owner_soid) -} - -// ------------------------------------------------------------------- - -// CMsgSOCacheSubscribed_SubscribedType - -// optional int32 type_id = 1; -inline bool CMsgSOCacheSubscribed_SubscribedType::_internal_has_type_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSOCacheSubscribed_SubscribedType::has_type_id() const { - return _internal_has_type_id(); -} -inline void CMsgSOCacheSubscribed_SubscribedType::clear_type_id() { - _impl_.type_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CMsgSOCacheSubscribed_SubscribedType::_internal_type_id() const { - return _impl_.type_id_; -} -inline int32_t CMsgSOCacheSubscribed_SubscribedType::type_id() const { - // @@protoc_insertion_point(field_get:CMsgSOCacheSubscribed.SubscribedType.type_id) - return _internal_type_id(); -} -inline void CMsgSOCacheSubscribed_SubscribedType::_internal_set_type_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.type_id_ = value; -} -inline void CMsgSOCacheSubscribed_SubscribedType::set_type_id(int32_t value) { - _internal_set_type_id(value); - // @@protoc_insertion_point(field_set:CMsgSOCacheSubscribed.SubscribedType.type_id) -} - -// repeated bytes object_data = 2; -inline int CMsgSOCacheSubscribed_SubscribedType::_internal_object_data_size() const { - return _impl_.object_data_.size(); -} -inline int CMsgSOCacheSubscribed_SubscribedType::object_data_size() const { - return _internal_object_data_size(); -} -inline void CMsgSOCacheSubscribed_SubscribedType::clear_object_data() { - _impl_.object_data_.Clear(); -} -inline std::string* CMsgSOCacheSubscribed_SubscribedType::add_object_data() { - std::string* _s = _internal_add_object_data(); - // @@protoc_insertion_point(field_add_mutable:CMsgSOCacheSubscribed.SubscribedType.object_data) - return _s; -} -inline const std::string& CMsgSOCacheSubscribed_SubscribedType::_internal_object_data(int index) const { - return _impl_.object_data_.Get(index); -} -inline const std::string& CMsgSOCacheSubscribed_SubscribedType::object_data(int index) const { - // @@protoc_insertion_point(field_get:CMsgSOCacheSubscribed.SubscribedType.object_data) - return _internal_object_data(index); -} -inline std::string* CMsgSOCacheSubscribed_SubscribedType::mutable_object_data(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSOCacheSubscribed.SubscribedType.object_data) - return _impl_.object_data_.Mutable(index); -} -inline void CMsgSOCacheSubscribed_SubscribedType::set_object_data(int index, const std::string& value) { - _impl_.object_data_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CMsgSOCacheSubscribed.SubscribedType.object_data) -} -inline void CMsgSOCacheSubscribed_SubscribedType::set_object_data(int index, std::string&& value) { - _impl_.object_data_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CMsgSOCacheSubscribed.SubscribedType.object_data) -} -inline void CMsgSOCacheSubscribed_SubscribedType::set_object_data(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.object_data_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CMsgSOCacheSubscribed.SubscribedType.object_data) -} -inline void CMsgSOCacheSubscribed_SubscribedType::set_object_data(int index, const void* value, size_t size) { - _impl_.object_data_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CMsgSOCacheSubscribed.SubscribedType.object_data) -} -inline std::string* CMsgSOCacheSubscribed_SubscribedType::_internal_add_object_data() { - return _impl_.object_data_.Add(); -} -inline void CMsgSOCacheSubscribed_SubscribedType::add_object_data(const std::string& value) { - _impl_.object_data_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CMsgSOCacheSubscribed.SubscribedType.object_data) -} -inline void CMsgSOCacheSubscribed_SubscribedType::add_object_data(std::string&& value) { - _impl_.object_data_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CMsgSOCacheSubscribed.SubscribedType.object_data) -} -inline void CMsgSOCacheSubscribed_SubscribedType::add_object_data(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.object_data_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CMsgSOCacheSubscribed.SubscribedType.object_data) -} -inline void CMsgSOCacheSubscribed_SubscribedType::add_object_data(const void* value, size_t size) { - _impl_.object_data_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CMsgSOCacheSubscribed.SubscribedType.object_data) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CMsgSOCacheSubscribed_SubscribedType::object_data() const { - // @@protoc_insertion_point(field_list:CMsgSOCacheSubscribed.SubscribedType.object_data) - return _impl_.object_data_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CMsgSOCacheSubscribed_SubscribedType::mutable_object_data() { - // @@protoc_insertion_point(field_mutable_list:CMsgSOCacheSubscribed.SubscribedType.object_data) - return &_impl_.object_data_; -} - -// ------------------------------------------------------------------- - -// CMsgSOCacheSubscribed - -// repeated .CMsgSOCacheSubscribed.SubscribedType objects = 2; -inline int CMsgSOCacheSubscribed::_internal_objects_size() const { - return _impl_.objects_.size(); -} -inline int CMsgSOCacheSubscribed::objects_size() const { - return _internal_objects_size(); -} -inline void CMsgSOCacheSubscribed::clear_objects() { - _impl_.objects_.Clear(); -} -inline ::CMsgSOCacheSubscribed_SubscribedType* CMsgSOCacheSubscribed::mutable_objects(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSOCacheSubscribed.objects) - return _impl_.objects_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed_SubscribedType >* -CMsgSOCacheSubscribed::mutable_objects() { - // @@protoc_insertion_point(field_mutable_list:CMsgSOCacheSubscribed.objects) - return &_impl_.objects_; -} -inline const ::CMsgSOCacheSubscribed_SubscribedType& CMsgSOCacheSubscribed::_internal_objects(int index) const { - return _impl_.objects_.Get(index); -} -inline const ::CMsgSOCacheSubscribed_SubscribedType& CMsgSOCacheSubscribed::objects(int index) const { - // @@protoc_insertion_point(field_get:CMsgSOCacheSubscribed.objects) - return _internal_objects(index); -} -inline ::CMsgSOCacheSubscribed_SubscribedType* CMsgSOCacheSubscribed::_internal_add_objects() { - return _impl_.objects_.Add(); -} -inline ::CMsgSOCacheSubscribed_SubscribedType* CMsgSOCacheSubscribed::add_objects() { - ::CMsgSOCacheSubscribed_SubscribedType* _add = _internal_add_objects(); - // @@protoc_insertion_point(field_add:CMsgSOCacheSubscribed.objects) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed_SubscribedType >& -CMsgSOCacheSubscribed::objects() const { - // @@protoc_insertion_point(field_list:CMsgSOCacheSubscribed.objects) - return _impl_.objects_; -} - -// optional fixed64 version = 3; -inline bool CMsgSOCacheSubscribed::_internal_has_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSOCacheSubscribed::has_version() const { - return _internal_has_version(); -} -inline void CMsgSOCacheSubscribed::clear_version() { - _impl_.version_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgSOCacheSubscribed::_internal_version() const { - return _impl_.version_; -} -inline uint64_t CMsgSOCacheSubscribed::version() const { - // @@protoc_insertion_point(field_get:CMsgSOCacheSubscribed.version) - return _internal_version(); -} -inline void CMsgSOCacheSubscribed::_internal_set_version(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.version_ = value; -} -inline void CMsgSOCacheSubscribed::set_version(uint64_t value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:CMsgSOCacheSubscribed.version) -} - -// optional .CMsgSOIDOwner owner_soid = 4; -inline bool CMsgSOCacheSubscribed::_internal_has_owner_soid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.owner_soid_ != nullptr); - return value; -} -inline bool CMsgSOCacheSubscribed::has_owner_soid() const { - return _internal_has_owner_soid(); -} -inline void CMsgSOCacheSubscribed::clear_owner_soid() { - if (_impl_.owner_soid_ != nullptr) _impl_.owner_soid_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgSOIDOwner& CMsgSOCacheSubscribed::_internal_owner_soid() const { - const ::CMsgSOIDOwner* p = _impl_.owner_soid_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSOIDOwner_default_instance_); -} -inline const ::CMsgSOIDOwner& CMsgSOCacheSubscribed::owner_soid() const { - // @@protoc_insertion_point(field_get:CMsgSOCacheSubscribed.owner_soid) - return _internal_owner_soid(); -} -inline void CMsgSOCacheSubscribed::unsafe_arena_set_allocated_owner_soid( - ::CMsgSOIDOwner* owner_soid) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.owner_soid_); - } - _impl_.owner_soid_ = owner_soid; - if (owner_soid) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSOCacheSubscribed.owner_soid) -} -inline ::CMsgSOIDOwner* CMsgSOCacheSubscribed::release_owner_soid() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSOIDOwner* temp = _impl_.owner_soid_; - _impl_.owner_soid_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSOIDOwner* CMsgSOCacheSubscribed::unsafe_arena_release_owner_soid() { - // @@protoc_insertion_point(field_release:CMsgSOCacheSubscribed.owner_soid) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSOIDOwner* temp = _impl_.owner_soid_; - _impl_.owner_soid_ = nullptr; - return temp; -} -inline ::CMsgSOIDOwner* CMsgSOCacheSubscribed::_internal_mutable_owner_soid() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.owner_soid_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSOIDOwner>(GetArenaForAllocation()); - _impl_.owner_soid_ = p; - } - return _impl_.owner_soid_; -} -inline ::CMsgSOIDOwner* CMsgSOCacheSubscribed::mutable_owner_soid() { - ::CMsgSOIDOwner* _msg = _internal_mutable_owner_soid(); - // @@protoc_insertion_point(field_mutable:CMsgSOCacheSubscribed.owner_soid) - return _msg; -} -inline void CMsgSOCacheSubscribed::set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.owner_soid_; - } - if (owner_soid) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(owner_soid); - if (message_arena != submessage_arena) { - owner_soid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, owner_soid, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.owner_soid_ = owner_soid; - // @@protoc_insertion_point(field_set_allocated:CMsgSOCacheSubscribed.owner_soid) -} - -// ------------------------------------------------------------------- - -// CMsgSOCacheUnsubscribed - -// optional .CMsgSOIDOwner owner_soid = 2; -inline bool CMsgSOCacheUnsubscribed::_internal_has_owner_soid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.owner_soid_ != nullptr); - return value; -} -inline bool CMsgSOCacheUnsubscribed::has_owner_soid() const { - return _internal_has_owner_soid(); -} -inline void CMsgSOCacheUnsubscribed::clear_owner_soid() { - if (_impl_.owner_soid_ != nullptr) _impl_.owner_soid_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgSOIDOwner& CMsgSOCacheUnsubscribed::_internal_owner_soid() const { - const ::CMsgSOIDOwner* p = _impl_.owner_soid_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSOIDOwner_default_instance_); -} -inline const ::CMsgSOIDOwner& CMsgSOCacheUnsubscribed::owner_soid() const { - // @@protoc_insertion_point(field_get:CMsgSOCacheUnsubscribed.owner_soid) - return _internal_owner_soid(); -} -inline void CMsgSOCacheUnsubscribed::unsafe_arena_set_allocated_owner_soid( - ::CMsgSOIDOwner* owner_soid) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.owner_soid_); - } - _impl_.owner_soid_ = owner_soid; - if (owner_soid) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSOCacheUnsubscribed.owner_soid) -} -inline ::CMsgSOIDOwner* CMsgSOCacheUnsubscribed::release_owner_soid() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSOIDOwner* temp = _impl_.owner_soid_; - _impl_.owner_soid_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSOIDOwner* CMsgSOCacheUnsubscribed::unsafe_arena_release_owner_soid() { - // @@protoc_insertion_point(field_release:CMsgSOCacheUnsubscribed.owner_soid) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSOIDOwner* temp = _impl_.owner_soid_; - _impl_.owner_soid_ = nullptr; - return temp; -} -inline ::CMsgSOIDOwner* CMsgSOCacheUnsubscribed::_internal_mutable_owner_soid() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.owner_soid_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSOIDOwner>(GetArenaForAllocation()); - _impl_.owner_soid_ = p; - } - return _impl_.owner_soid_; -} -inline ::CMsgSOIDOwner* CMsgSOCacheUnsubscribed::mutable_owner_soid() { - ::CMsgSOIDOwner* _msg = _internal_mutable_owner_soid(); - // @@protoc_insertion_point(field_mutable:CMsgSOCacheUnsubscribed.owner_soid) - return _msg; -} -inline void CMsgSOCacheUnsubscribed::set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.owner_soid_; - } - if (owner_soid) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(owner_soid); - if (message_arena != submessage_arena) { - owner_soid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, owner_soid, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.owner_soid_ = owner_soid; - // @@protoc_insertion_point(field_set_allocated:CMsgSOCacheUnsubscribed.owner_soid) -} - -// ------------------------------------------------------------------- - -// CMsgSOCacheSubscriptionCheck - -// optional fixed64 version = 2; -inline bool CMsgSOCacheSubscriptionCheck::_internal_has_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSOCacheSubscriptionCheck::has_version() const { - return _internal_has_version(); -} -inline void CMsgSOCacheSubscriptionCheck::clear_version() { - _impl_.version_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgSOCacheSubscriptionCheck::_internal_version() const { - return _impl_.version_; -} -inline uint64_t CMsgSOCacheSubscriptionCheck::version() const { - // @@protoc_insertion_point(field_get:CMsgSOCacheSubscriptionCheck.version) - return _internal_version(); -} -inline void CMsgSOCacheSubscriptionCheck::_internal_set_version(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.version_ = value; -} -inline void CMsgSOCacheSubscriptionCheck::set_version(uint64_t value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:CMsgSOCacheSubscriptionCheck.version) -} - -// optional .CMsgSOIDOwner owner_soid = 3; -inline bool CMsgSOCacheSubscriptionCheck::_internal_has_owner_soid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.owner_soid_ != nullptr); - return value; -} -inline bool CMsgSOCacheSubscriptionCheck::has_owner_soid() const { - return _internal_has_owner_soid(); -} -inline void CMsgSOCacheSubscriptionCheck::clear_owner_soid() { - if (_impl_.owner_soid_ != nullptr) _impl_.owner_soid_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgSOIDOwner& CMsgSOCacheSubscriptionCheck::_internal_owner_soid() const { - const ::CMsgSOIDOwner* p = _impl_.owner_soid_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSOIDOwner_default_instance_); -} -inline const ::CMsgSOIDOwner& CMsgSOCacheSubscriptionCheck::owner_soid() const { - // @@protoc_insertion_point(field_get:CMsgSOCacheSubscriptionCheck.owner_soid) - return _internal_owner_soid(); -} -inline void CMsgSOCacheSubscriptionCheck::unsafe_arena_set_allocated_owner_soid( - ::CMsgSOIDOwner* owner_soid) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.owner_soid_); - } - _impl_.owner_soid_ = owner_soid; - if (owner_soid) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSOCacheSubscriptionCheck.owner_soid) -} -inline ::CMsgSOIDOwner* CMsgSOCacheSubscriptionCheck::release_owner_soid() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSOIDOwner* temp = _impl_.owner_soid_; - _impl_.owner_soid_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSOIDOwner* CMsgSOCacheSubscriptionCheck::unsafe_arena_release_owner_soid() { - // @@protoc_insertion_point(field_release:CMsgSOCacheSubscriptionCheck.owner_soid) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSOIDOwner* temp = _impl_.owner_soid_; - _impl_.owner_soid_ = nullptr; - return temp; -} -inline ::CMsgSOIDOwner* CMsgSOCacheSubscriptionCheck::_internal_mutable_owner_soid() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.owner_soid_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSOIDOwner>(GetArenaForAllocation()); - _impl_.owner_soid_ = p; - } - return _impl_.owner_soid_; -} -inline ::CMsgSOIDOwner* CMsgSOCacheSubscriptionCheck::mutable_owner_soid() { - ::CMsgSOIDOwner* _msg = _internal_mutable_owner_soid(); - // @@protoc_insertion_point(field_mutable:CMsgSOCacheSubscriptionCheck.owner_soid) - return _msg; -} -inline void CMsgSOCacheSubscriptionCheck::set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.owner_soid_; - } - if (owner_soid) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(owner_soid); - if (message_arena != submessage_arena) { - owner_soid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, owner_soid, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.owner_soid_ = owner_soid; - // @@protoc_insertion_point(field_set_allocated:CMsgSOCacheSubscriptionCheck.owner_soid) -} - -// ------------------------------------------------------------------- - -// CMsgSOCacheSubscriptionRefresh - -// optional .CMsgSOIDOwner owner_soid = 2; -inline bool CMsgSOCacheSubscriptionRefresh::_internal_has_owner_soid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.owner_soid_ != nullptr); - return value; -} -inline bool CMsgSOCacheSubscriptionRefresh::has_owner_soid() const { - return _internal_has_owner_soid(); -} -inline void CMsgSOCacheSubscriptionRefresh::clear_owner_soid() { - if (_impl_.owner_soid_ != nullptr) _impl_.owner_soid_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgSOIDOwner& CMsgSOCacheSubscriptionRefresh::_internal_owner_soid() const { - const ::CMsgSOIDOwner* p = _impl_.owner_soid_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSOIDOwner_default_instance_); -} -inline const ::CMsgSOIDOwner& CMsgSOCacheSubscriptionRefresh::owner_soid() const { - // @@protoc_insertion_point(field_get:CMsgSOCacheSubscriptionRefresh.owner_soid) - return _internal_owner_soid(); -} -inline void CMsgSOCacheSubscriptionRefresh::unsafe_arena_set_allocated_owner_soid( - ::CMsgSOIDOwner* owner_soid) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.owner_soid_); - } - _impl_.owner_soid_ = owner_soid; - if (owner_soid) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSOCacheSubscriptionRefresh.owner_soid) -} -inline ::CMsgSOIDOwner* CMsgSOCacheSubscriptionRefresh::release_owner_soid() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSOIDOwner* temp = _impl_.owner_soid_; - _impl_.owner_soid_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSOIDOwner* CMsgSOCacheSubscriptionRefresh::unsafe_arena_release_owner_soid() { - // @@protoc_insertion_point(field_release:CMsgSOCacheSubscriptionRefresh.owner_soid) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSOIDOwner* temp = _impl_.owner_soid_; - _impl_.owner_soid_ = nullptr; - return temp; -} -inline ::CMsgSOIDOwner* CMsgSOCacheSubscriptionRefresh::_internal_mutable_owner_soid() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.owner_soid_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSOIDOwner>(GetArenaForAllocation()); - _impl_.owner_soid_ = p; - } - return _impl_.owner_soid_; -} -inline ::CMsgSOIDOwner* CMsgSOCacheSubscriptionRefresh::mutable_owner_soid() { - ::CMsgSOIDOwner* _msg = _internal_mutable_owner_soid(); - // @@protoc_insertion_point(field_mutable:CMsgSOCacheSubscriptionRefresh.owner_soid) - return _msg; -} -inline void CMsgSOCacheSubscriptionRefresh::set_allocated_owner_soid(::CMsgSOIDOwner* owner_soid) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.owner_soid_; - } - if (owner_soid) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(owner_soid); - if (message_arena != submessage_arena) { - owner_soid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, owner_soid, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.owner_soid_ = owner_soid; - // @@protoc_insertion_point(field_set_allocated:CMsgSOCacheSubscriptionRefresh.owner_soid) -} - -// ------------------------------------------------------------------- - -// CMsgSOCacheVersion - -// optional fixed64 version = 1; -inline bool CMsgSOCacheVersion::_internal_has_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSOCacheVersion::has_version() const { - return _internal_has_version(); -} -inline void CMsgSOCacheVersion::clear_version() { - _impl_.version_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgSOCacheVersion::_internal_version() const { - return _impl_.version_; -} -inline uint64_t CMsgSOCacheVersion::version() const { - // @@protoc_insertion_point(field_get:CMsgSOCacheVersion.version) - return _internal_version(); -} -inline void CMsgSOCacheVersion::_internal_set_version(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.version_ = value; -} -inline void CMsgSOCacheVersion::set_version(uint64_t value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:CMsgSOCacheVersion.version) -} - -// ------------------------------------------------------------------- - -// CMsgAccountDetails - -// optional bool valid = 1; -inline bool CMsgAccountDetails::_internal_has_valid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgAccountDetails::has_valid() const { - return _internal_has_valid(); -} -inline void CMsgAccountDetails::clear_valid() { - _impl_.valid_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CMsgAccountDetails::_internal_valid() const { - return _impl_.valid_; -} -inline bool CMsgAccountDetails::valid() const { - // @@protoc_insertion_point(field_get:CMsgAccountDetails.valid) - return _internal_valid(); -} -inline void CMsgAccountDetails::_internal_set_valid(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.valid_ = value; -} -inline void CMsgAccountDetails::set_valid(bool value) { - _internal_set_valid(value); - // @@protoc_insertion_point(field_set:CMsgAccountDetails.valid) -} - -// optional string account_name = 2; -inline bool CMsgAccountDetails::_internal_has_account_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgAccountDetails::has_account_name() const { - return _internal_has_account_name(); -} -inline void CMsgAccountDetails::clear_account_name() { - _impl_.account_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgAccountDetails::account_name() const { - // @@protoc_insertion_point(field_get:CMsgAccountDetails.account_name) - return _internal_account_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgAccountDetails::set_account_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.account_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgAccountDetails.account_name) -} -inline std::string* CMsgAccountDetails::mutable_account_name() { - std::string* _s = _internal_mutable_account_name(); - // @@protoc_insertion_point(field_mutable:CMsgAccountDetails.account_name) - return _s; -} -inline const std::string& CMsgAccountDetails::_internal_account_name() const { - return _impl_.account_name_.Get(); -} -inline void CMsgAccountDetails::_internal_set_account_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.account_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgAccountDetails::_internal_mutable_account_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.account_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgAccountDetails::release_account_name() { - // @@protoc_insertion_point(field_release:CMsgAccountDetails.account_name) - if (!_internal_has_account_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.account_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.account_name_.IsDefault()) { - _impl_.account_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgAccountDetails::set_allocated_account_name(std::string* account_name) { - if (account_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.account_name_.SetAllocated(account_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.account_name_.IsDefault()) { - _impl_.account_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgAccountDetails.account_name) -} - -// optional bool public_profile = 4; -inline bool CMsgAccountDetails::_internal_has_public_profile() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgAccountDetails::has_public_profile() const { - return _internal_has_public_profile(); -} -inline void CMsgAccountDetails::clear_public_profile() { - _impl_.public_profile_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CMsgAccountDetails::_internal_public_profile() const { - return _impl_.public_profile_; -} -inline bool CMsgAccountDetails::public_profile() const { - // @@protoc_insertion_point(field_get:CMsgAccountDetails.public_profile) - return _internal_public_profile(); -} -inline void CMsgAccountDetails::_internal_set_public_profile(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.public_profile_ = value; -} -inline void CMsgAccountDetails::set_public_profile(bool value) { - _internal_set_public_profile(value); - // @@protoc_insertion_point(field_set:CMsgAccountDetails.public_profile) -} - -// optional bool public_inventory = 5; -inline bool CMsgAccountDetails::_internal_has_public_inventory() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgAccountDetails::has_public_inventory() const { - return _internal_has_public_inventory(); -} -inline void CMsgAccountDetails::clear_public_inventory() { - _impl_.public_inventory_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CMsgAccountDetails::_internal_public_inventory() const { - return _impl_.public_inventory_; -} -inline bool CMsgAccountDetails::public_inventory() const { - // @@protoc_insertion_point(field_get:CMsgAccountDetails.public_inventory) - return _internal_public_inventory(); -} -inline void CMsgAccountDetails::_internal_set_public_inventory(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.public_inventory_ = value; -} -inline void CMsgAccountDetails::set_public_inventory(bool value) { - _internal_set_public_inventory(value); - // @@protoc_insertion_point(field_set:CMsgAccountDetails.public_inventory) -} - -// optional bool vac_banned = 6; -inline bool CMsgAccountDetails::_internal_has_vac_banned() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgAccountDetails::has_vac_banned() const { - return _internal_has_vac_banned(); -} -inline void CMsgAccountDetails::clear_vac_banned() { - _impl_.vac_banned_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool CMsgAccountDetails::_internal_vac_banned() const { - return _impl_.vac_banned_; -} -inline bool CMsgAccountDetails::vac_banned() const { - // @@protoc_insertion_point(field_get:CMsgAccountDetails.vac_banned) - return _internal_vac_banned(); -} -inline void CMsgAccountDetails::_internal_set_vac_banned(bool value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.vac_banned_ = value; -} -inline void CMsgAccountDetails::set_vac_banned(bool value) { - _internal_set_vac_banned(value); - // @@protoc_insertion_point(field_set:CMsgAccountDetails.vac_banned) -} - -// optional bool cyber_cafe = 7; -inline bool CMsgAccountDetails::_internal_has_cyber_cafe() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgAccountDetails::has_cyber_cafe() const { - return _internal_has_cyber_cafe(); -} -inline void CMsgAccountDetails::clear_cyber_cafe() { - _impl_.cyber_cafe_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool CMsgAccountDetails::_internal_cyber_cafe() const { - return _impl_.cyber_cafe_; -} -inline bool CMsgAccountDetails::cyber_cafe() const { - // @@protoc_insertion_point(field_get:CMsgAccountDetails.cyber_cafe) - return _internal_cyber_cafe(); -} -inline void CMsgAccountDetails::_internal_set_cyber_cafe(bool value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.cyber_cafe_ = value; -} -inline void CMsgAccountDetails::set_cyber_cafe(bool value) { - _internal_set_cyber_cafe(value); - // @@protoc_insertion_point(field_set:CMsgAccountDetails.cyber_cafe) -} - -// optional bool school_account = 8; -inline bool CMsgAccountDetails::_internal_has_school_account() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgAccountDetails::has_school_account() const { - return _internal_has_school_account(); -} -inline void CMsgAccountDetails::clear_school_account() { - _impl_.school_account_ = false; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline bool CMsgAccountDetails::_internal_school_account() const { - return _impl_.school_account_; -} -inline bool CMsgAccountDetails::school_account() const { - // @@protoc_insertion_point(field_get:CMsgAccountDetails.school_account) - return _internal_school_account(); -} -inline void CMsgAccountDetails::_internal_set_school_account(bool value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.school_account_ = value; -} -inline void CMsgAccountDetails::set_school_account(bool value) { - _internal_set_school_account(value); - // @@protoc_insertion_point(field_set:CMsgAccountDetails.school_account) -} - -// optional bool free_trial_account = 9; -inline bool CMsgAccountDetails::_internal_has_free_trial_account() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgAccountDetails::has_free_trial_account() const { - return _internal_has_free_trial_account(); -} -inline void CMsgAccountDetails::clear_free_trial_account() { - _impl_.free_trial_account_ = false; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline bool CMsgAccountDetails::_internal_free_trial_account() const { - return _impl_.free_trial_account_; -} -inline bool CMsgAccountDetails::free_trial_account() const { - // @@protoc_insertion_point(field_get:CMsgAccountDetails.free_trial_account) - return _internal_free_trial_account(); -} -inline void CMsgAccountDetails::_internal_set_free_trial_account(bool value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.free_trial_account_ = value; -} -inline void CMsgAccountDetails::set_free_trial_account(bool value) { - _internal_set_free_trial_account(value); - // @@protoc_insertion_point(field_set:CMsgAccountDetails.free_trial_account) -} - -// optional bool subscribed = 10; -inline bool CMsgAccountDetails::_internal_has_subscribed() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgAccountDetails::has_subscribed() const { - return _internal_has_subscribed(); -} -inline void CMsgAccountDetails::clear_subscribed() { - _impl_.subscribed_ = false; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline bool CMsgAccountDetails::_internal_subscribed() const { - return _impl_.subscribed_; -} -inline bool CMsgAccountDetails::subscribed() const { - // @@protoc_insertion_point(field_get:CMsgAccountDetails.subscribed) - return _internal_subscribed(); -} -inline void CMsgAccountDetails::_internal_set_subscribed(bool value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.subscribed_ = value; -} -inline void CMsgAccountDetails::set_subscribed(bool value) { - _internal_set_subscribed(value); - // @@protoc_insertion_point(field_set:CMsgAccountDetails.subscribed) -} - -// optional bool low_violence = 11; -inline bool CMsgAccountDetails::_internal_has_low_violence() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgAccountDetails::has_low_violence() const { - return _internal_has_low_violence(); -} -inline void CMsgAccountDetails::clear_low_violence() { - _impl_.low_violence_ = false; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline bool CMsgAccountDetails::_internal_low_violence() const { - return _impl_.low_violence_; -} -inline bool CMsgAccountDetails::low_violence() const { - // @@protoc_insertion_point(field_get:CMsgAccountDetails.low_violence) - return _internal_low_violence(); -} -inline void CMsgAccountDetails::_internal_set_low_violence(bool value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.low_violence_ = value; -} -inline void CMsgAccountDetails::set_low_violence(bool value) { - _internal_set_low_violence(value); - // @@protoc_insertion_point(field_set:CMsgAccountDetails.low_violence) -} - -// optional bool limited = 12; -inline bool CMsgAccountDetails::_internal_has_limited() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgAccountDetails::has_limited() const { - return _internal_has_limited(); -} -inline void CMsgAccountDetails::clear_limited() { - _impl_.limited_ = false; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline bool CMsgAccountDetails::_internal_limited() const { - return _impl_.limited_; -} -inline bool CMsgAccountDetails::limited() const { - // @@protoc_insertion_point(field_get:CMsgAccountDetails.limited) - return _internal_limited(); -} -inline void CMsgAccountDetails::_internal_set_limited(bool value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.limited_ = value; -} -inline void CMsgAccountDetails::set_limited(bool value) { - _internal_set_limited(value); - // @@protoc_insertion_point(field_set:CMsgAccountDetails.limited) -} - -// optional bool trusted = 13; -inline bool CMsgAccountDetails::_internal_has_trusted() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgAccountDetails::has_trusted() const { - return _internal_has_trusted(); -} -inline void CMsgAccountDetails::clear_trusted() { - _impl_.trusted_ = false; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline bool CMsgAccountDetails::_internal_trusted() const { - return _impl_.trusted_; -} -inline bool CMsgAccountDetails::trusted() const { - // @@protoc_insertion_point(field_get:CMsgAccountDetails.trusted) - return _internal_trusted(); -} -inline void CMsgAccountDetails::_internal_set_trusted(bool value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.trusted_ = value; -} -inline void CMsgAccountDetails::set_trusted(bool value) { - _internal_set_trusted(value); - // @@protoc_insertion_point(field_set:CMsgAccountDetails.trusted) -} - -// optional uint32 package = 14; -inline bool CMsgAccountDetails::_internal_has_package() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgAccountDetails::has_package() const { - return _internal_has_package(); -} -inline void CMsgAccountDetails::clear_package() { - _impl_.package_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CMsgAccountDetails::_internal_package() const { - return _impl_.package_; -} -inline uint32_t CMsgAccountDetails::package() const { - // @@protoc_insertion_point(field_get:CMsgAccountDetails.package) - return _internal_package(); -} -inline void CMsgAccountDetails::_internal_set_package(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.package_ = value; -} -inline void CMsgAccountDetails::set_package(uint32_t value) { - _internal_set_package(value); - // @@protoc_insertion_point(field_set:CMsgAccountDetails.package) -} - -// optional fixed32 time_cached = 15; -inline bool CMsgAccountDetails::_internal_has_time_cached() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgAccountDetails::has_time_cached() const { - return _internal_has_time_cached(); -} -inline void CMsgAccountDetails::clear_time_cached() { - _impl_.time_cached_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CMsgAccountDetails::_internal_time_cached() const { - return _impl_.time_cached_; -} -inline uint32_t CMsgAccountDetails::time_cached() const { - // @@protoc_insertion_point(field_get:CMsgAccountDetails.time_cached) - return _internal_time_cached(); -} -inline void CMsgAccountDetails::_internal_set_time_cached(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.time_cached_ = value; -} -inline void CMsgAccountDetails::set_time_cached(uint32_t value) { - _internal_set_time_cached(value); - // @@protoc_insertion_point(field_set:CMsgAccountDetails.time_cached) -} - -// optional bool account_locked = 16; -inline bool CMsgAccountDetails::_internal_has_account_locked() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgAccountDetails::has_account_locked() const { - return _internal_has_account_locked(); -} -inline void CMsgAccountDetails::clear_account_locked() { - _impl_.account_locked_ = false; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline bool CMsgAccountDetails::_internal_account_locked() const { - return _impl_.account_locked_; -} -inline bool CMsgAccountDetails::account_locked() const { - // @@protoc_insertion_point(field_get:CMsgAccountDetails.account_locked) - return _internal_account_locked(); -} -inline void CMsgAccountDetails::_internal_set_account_locked(bool value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.account_locked_ = value; -} -inline void CMsgAccountDetails::set_account_locked(bool value) { - _internal_set_account_locked(value); - // @@protoc_insertion_point(field_set:CMsgAccountDetails.account_locked) -} - -// optional bool community_banned = 17; -inline bool CMsgAccountDetails::_internal_has_community_banned() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CMsgAccountDetails::has_community_banned() const { - return _internal_has_community_banned(); -} -inline void CMsgAccountDetails::clear_community_banned() { - _impl_.community_banned_ = false; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline bool CMsgAccountDetails::_internal_community_banned() const { - return _impl_.community_banned_; -} -inline bool CMsgAccountDetails::community_banned() const { - // @@protoc_insertion_point(field_get:CMsgAccountDetails.community_banned) - return _internal_community_banned(); -} -inline void CMsgAccountDetails::_internal_set_community_banned(bool value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.community_banned_ = value; -} -inline void CMsgAccountDetails::set_community_banned(bool value) { - _internal_set_community_banned(value); - // @@protoc_insertion_point(field_set:CMsgAccountDetails.community_banned) -} - -// optional bool trade_banned = 18; -inline bool CMsgAccountDetails::_internal_has_trade_banned() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CMsgAccountDetails::has_trade_banned() const { - return _internal_has_trade_banned(); -} -inline void CMsgAccountDetails::clear_trade_banned() { - _impl_.trade_banned_ = false; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline bool CMsgAccountDetails::_internal_trade_banned() const { - return _impl_.trade_banned_; -} -inline bool CMsgAccountDetails::trade_banned() const { - // @@protoc_insertion_point(field_get:CMsgAccountDetails.trade_banned) - return _internal_trade_banned(); -} -inline void CMsgAccountDetails::_internal_set_trade_banned(bool value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.trade_banned_ = value; -} -inline void CMsgAccountDetails::set_trade_banned(bool value) { - _internal_set_trade_banned(value); - // @@protoc_insertion_point(field_set:CMsgAccountDetails.trade_banned) -} - -// optional bool eligible_for_community_market = 19; -inline bool CMsgAccountDetails::_internal_has_eligible_for_community_market() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool CMsgAccountDetails::has_eligible_for_community_market() const { - return _internal_has_eligible_for_community_market(); -} -inline void CMsgAccountDetails::clear_eligible_for_community_market() { - _impl_.eligible_for_community_market_ = false; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline bool CMsgAccountDetails::_internal_eligible_for_community_market() const { - return _impl_.eligible_for_community_market_; -} -inline bool CMsgAccountDetails::eligible_for_community_market() const { - // @@protoc_insertion_point(field_get:CMsgAccountDetails.eligible_for_community_market) - return _internal_eligible_for_community_market(); -} -inline void CMsgAccountDetails::_internal_set_eligible_for_community_market(bool value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.eligible_for_community_market_ = value; -} -inline void CMsgAccountDetails::set_eligible_for_community_market(bool value) { - _internal_set_eligible_for_community_market(value); - // @@protoc_insertion_point(field_set:CMsgAccountDetails.eligible_for_community_market) -} - -// ------------------------------------------------------------------- - -// CMsgGCMultiplexMessage - -// optional uint32 msgtype = 1; -inline bool CMsgGCMultiplexMessage::_internal_has_msgtype() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCMultiplexMessage::has_msgtype() const { - return _internal_has_msgtype(); -} -inline void CMsgGCMultiplexMessage::clear_msgtype() { - _impl_.msgtype_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCMultiplexMessage::_internal_msgtype() const { - return _impl_.msgtype_; -} -inline uint32_t CMsgGCMultiplexMessage::msgtype() const { - // @@protoc_insertion_point(field_get:CMsgGCMultiplexMessage.msgtype) - return _internal_msgtype(); -} -inline void CMsgGCMultiplexMessage::_internal_set_msgtype(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.msgtype_ = value; -} -inline void CMsgGCMultiplexMessage::set_msgtype(uint32_t value) { - _internal_set_msgtype(value); - // @@protoc_insertion_point(field_set:CMsgGCMultiplexMessage.msgtype) -} - -// optional bytes payload = 2; -inline bool CMsgGCMultiplexMessage::_internal_has_payload() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCMultiplexMessage::has_payload() const { - return _internal_has_payload(); -} -inline void CMsgGCMultiplexMessage::clear_payload() { - _impl_.payload_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgGCMultiplexMessage::payload() const { - // @@protoc_insertion_point(field_get:CMsgGCMultiplexMessage.payload) - return _internal_payload(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgGCMultiplexMessage::set_payload(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.payload_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgGCMultiplexMessage.payload) -} -inline std::string* CMsgGCMultiplexMessage::mutable_payload() { - std::string* _s = _internal_mutable_payload(); - // @@protoc_insertion_point(field_mutable:CMsgGCMultiplexMessage.payload) - return _s; -} -inline const std::string& CMsgGCMultiplexMessage::_internal_payload() const { - return _impl_.payload_.Get(); -} -inline void CMsgGCMultiplexMessage::_internal_set_payload(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.payload_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgGCMultiplexMessage::_internal_mutable_payload() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.payload_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgGCMultiplexMessage::release_payload() { - // @@protoc_insertion_point(field_release:CMsgGCMultiplexMessage.payload) - if (!_internal_has_payload()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.payload_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.payload_.IsDefault()) { - _impl_.payload_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgGCMultiplexMessage::set_allocated_payload(std::string* payload) { - if (payload != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.payload_.SetAllocated(payload, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.payload_.IsDefault()) { - _impl_.payload_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgGCMultiplexMessage.payload) -} - -// repeated fixed64 steamids = 3; -inline int CMsgGCMultiplexMessage::_internal_steamids_size() const { - return _impl_.steamids_.size(); -} -inline int CMsgGCMultiplexMessage::steamids_size() const { - return _internal_steamids_size(); -} -inline void CMsgGCMultiplexMessage::clear_steamids() { - _impl_.steamids_.Clear(); -} -inline uint64_t CMsgGCMultiplexMessage::_internal_steamids(int index) const { - return _impl_.steamids_.Get(index); -} -inline uint64_t CMsgGCMultiplexMessage::steamids(int index) const { - // @@protoc_insertion_point(field_get:CMsgGCMultiplexMessage.steamids) - return _internal_steamids(index); -} -inline void CMsgGCMultiplexMessage::set_steamids(int index, uint64_t value) { - _impl_.steamids_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgGCMultiplexMessage.steamids) -} -inline void CMsgGCMultiplexMessage::_internal_add_steamids(uint64_t value) { - _impl_.steamids_.Add(value); -} -inline void CMsgGCMultiplexMessage::add_steamids(uint64_t value) { - _internal_add_steamids(value); - // @@protoc_insertion_point(field_add:CMsgGCMultiplexMessage.steamids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CMsgGCMultiplexMessage::_internal_steamids() const { - return _impl_.steamids_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CMsgGCMultiplexMessage::steamids() const { - // @@protoc_insertion_point(field_list:CMsgGCMultiplexMessage.steamids) - return _internal_steamids(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CMsgGCMultiplexMessage::_internal_mutable_steamids() { - return &_impl_.steamids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CMsgGCMultiplexMessage::mutable_steamids() { - // @@protoc_insertion_point(field_mutable_list:CMsgGCMultiplexMessage.steamids) - return _internal_mutable_steamids(); -} - -// optional bool replytogc = 4; -inline bool CMsgGCMultiplexMessage::_internal_has_replytogc() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCMultiplexMessage::has_replytogc() const { - return _internal_has_replytogc(); -} -inline void CMsgGCMultiplexMessage::clear_replytogc() { - _impl_.replytogc_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CMsgGCMultiplexMessage::_internal_replytogc() const { - return _impl_.replytogc_; -} -inline bool CMsgGCMultiplexMessage::replytogc() const { - // @@protoc_insertion_point(field_get:CMsgGCMultiplexMessage.replytogc) - return _internal_replytogc(); -} -inline void CMsgGCMultiplexMessage::_internal_set_replytogc(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.replytogc_ = value; -} -inline void CMsgGCMultiplexMessage::set_replytogc(bool value) { - _internal_set_replytogc(value); - // @@protoc_insertion_point(field_set:CMsgGCMultiplexMessage.replytogc) -} - -// ------------------------------------------------------------------- - -// CMsgGCMultiplexMessage_Response - -// optional uint32 msgtype = 1; -inline bool CMsgGCMultiplexMessage_Response::_internal_has_msgtype() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCMultiplexMessage_Response::has_msgtype() const { - return _internal_has_msgtype(); -} -inline void CMsgGCMultiplexMessage_Response::clear_msgtype() { - _impl_.msgtype_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCMultiplexMessage_Response::_internal_msgtype() const { - return _impl_.msgtype_; -} -inline uint32_t CMsgGCMultiplexMessage_Response::msgtype() const { - // @@protoc_insertion_point(field_get:CMsgGCMultiplexMessage_Response.msgtype) - return _internal_msgtype(); -} -inline void CMsgGCMultiplexMessage_Response::_internal_set_msgtype(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.msgtype_ = value; -} -inline void CMsgGCMultiplexMessage_Response::set_msgtype(uint32_t value) { - _internal_set_msgtype(value); - // @@protoc_insertion_point(field_set:CMsgGCMultiplexMessage_Response.msgtype) -} - -// ------------------------------------------------------------------- - -// CGCToGCMsgMasterAck - -// optional uint32 dir_index = 1; -inline bool CGCToGCMsgMasterAck::_internal_has_dir_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CGCToGCMsgMasterAck::has_dir_index() const { - return _internal_has_dir_index(); -} -inline void CGCToGCMsgMasterAck::clear_dir_index() { - _impl_.dir_index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CGCToGCMsgMasterAck::_internal_dir_index() const { - return _impl_.dir_index_; -} -inline uint32_t CGCToGCMsgMasterAck::dir_index() const { - // @@protoc_insertion_point(field_get:CGCToGCMsgMasterAck.dir_index) - return _internal_dir_index(); -} -inline void CGCToGCMsgMasterAck::_internal_set_dir_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.dir_index_ = value; -} -inline void CGCToGCMsgMasterAck::set_dir_index(uint32_t value) { - _internal_set_dir_index(value); - // @@protoc_insertion_point(field_set:CGCToGCMsgMasterAck.dir_index) -} - -// optional uint32 gc_type = 2; -inline bool CGCToGCMsgMasterAck::_internal_has_gc_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CGCToGCMsgMasterAck::has_gc_type() const { - return _internal_has_gc_type(); -} -inline void CGCToGCMsgMasterAck::clear_gc_type() { - _impl_.gc_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CGCToGCMsgMasterAck::_internal_gc_type() const { - return _impl_.gc_type_; -} -inline uint32_t CGCToGCMsgMasterAck::gc_type() const { - // @@protoc_insertion_point(field_get:CGCToGCMsgMasterAck.gc_type) - return _internal_gc_type(); -} -inline void CGCToGCMsgMasterAck::_internal_set_gc_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.gc_type_ = value; -} -inline void CGCToGCMsgMasterAck::set_gc_type(uint32_t value) { - _internal_set_gc_type(value); - // @@protoc_insertion_point(field_set:CGCToGCMsgMasterAck.gc_type) -} - -// ------------------------------------------------------------------- - -// CGCToGCMsgMasterAck_Response - -// optional int32 eresult = 1 [default = 2]; -inline bool CGCToGCMsgMasterAck_Response::_internal_has_eresult() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CGCToGCMsgMasterAck_Response::has_eresult() const { - return _internal_has_eresult(); -} -inline void CGCToGCMsgMasterAck_Response::clear_eresult() { - _impl_.eresult_ = 2; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CGCToGCMsgMasterAck_Response::_internal_eresult() const { - return _impl_.eresult_; -} -inline int32_t CGCToGCMsgMasterAck_Response::eresult() const { - // @@protoc_insertion_point(field_get:CGCToGCMsgMasterAck_Response.eresult) - return _internal_eresult(); -} -inline void CGCToGCMsgMasterAck_Response::_internal_set_eresult(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.eresult_ = value; -} -inline void CGCToGCMsgMasterAck_Response::set_eresult(int32_t value) { - _internal_set_eresult(value); - // @@protoc_insertion_point(field_set:CGCToGCMsgMasterAck_Response.eresult) -} - -// ------------------------------------------------------------------- - -// CGCToGCMsgMasterStartupComplete - -// ------------------------------------------------------------------- - -// CGCToGCMsgRouted - -// optional uint32 msg_type = 1; -inline bool CGCToGCMsgRouted::_internal_has_msg_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CGCToGCMsgRouted::has_msg_type() const { - return _internal_has_msg_type(); -} -inline void CGCToGCMsgRouted::clear_msg_type() { - _impl_.msg_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CGCToGCMsgRouted::_internal_msg_type() const { - return _impl_.msg_type_; -} -inline uint32_t CGCToGCMsgRouted::msg_type() const { - // @@protoc_insertion_point(field_get:CGCToGCMsgRouted.msg_type) - return _internal_msg_type(); -} -inline void CGCToGCMsgRouted::_internal_set_msg_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.msg_type_ = value; -} -inline void CGCToGCMsgRouted::set_msg_type(uint32_t value) { - _internal_set_msg_type(value); - // @@protoc_insertion_point(field_set:CGCToGCMsgRouted.msg_type) -} - -// optional fixed64 sender_id = 2; -inline bool CGCToGCMsgRouted::_internal_has_sender_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CGCToGCMsgRouted::has_sender_id() const { - return _internal_has_sender_id(); -} -inline void CGCToGCMsgRouted::clear_sender_id() { - _impl_.sender_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CGCToGCMsgRouted::_internal_sender_id() const { - return _impl_.sender_id_; -} -inline uint64_t CGCToGCMsgRouted::sender_id() const { - // @@protoc_insertion_point(field_get:CGCToGCMsgRouted.sender_id) - return _internal_sender_id(); -} -inline void CGCToGCMsgRouted::_internal_set_sender_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.sender_id_ = value; -} -inline void CGCToGCMsgRouted::set_sender_id(uint64_t value) { - _internal_set_sender_id(value); - // @@protoc_insertion_point(field_set:CGCToGCMsgRouted.sender_id) -} - -// optional bytes net_message = 3; -inline bool CGCToGCMsgRouted::_internal_has_net_message() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CGCToGCMsgRouted::has_net_message() const { - return _internal_has_net_message(); -} -inline void CGCToGCMsgRouted::clear_net_message() { - _impl_.net_message_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CGCToGCMsgRouted::net_message() const { - // @@protoc_insertion_point(field_get:CGCToGCMsgRouted.net_message) - return _internal_net_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CGCToGCMsgRouted::set_net_message(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.net_message_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CGCToGCMsgRouted.net_message) -} -inline std::string* CGCToGCMsgRouted::mutable_net_message() { - std::string* _s = _internal_mutable_net_message(); - // @@protoc_insertion_point(field_mutable:CGCToGCMsgRouted.net_message) - return _s; -} -inline const std::string& CGCToGCMsgRouted::_internal_net_message() const { - return _impl_.net_message_.Get(); -} -inline void CGCToGCMsgRouted::_internal_set_net_message(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.net_message_.Set(value, GetArenaForAllocation()); -} -inline std::string* CGCToGCMsgRouted::_internal_mutable_net_message() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.net_message_.Mutable(GetArenaForAllocation()); -} -inline std::string* CGCToGCMsgRouted::release_net_message() { - // @@protoc_insertion_point(field_release:CGCToGCMsgRouted.net_message) - if (!_internal_has_net_message()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.net_message_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.net_message_.IsDefault()) { - _impl_.net_message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CGCToGCMsgRouted::set_allocated_net_message(std::string* net_message) { - if (net_message != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.net_message_.SetAllocated(net_message, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.net_message_.IsDefault()) { - _impl_.net_message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CGCToGCMsgRouted.net_message) -} - -// optional uint32 ip = 4; -inline bool CGCToGCMsgRouted::_internal_has_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CGCToGCMsgRouted::has_ip() const { - return _internal_has_ip(); -} -inline void CGCToGCMsgRouted::clear_ip() { - _impl_.ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CGCToGCMsgRouted::_internal_ip() const { - return _impl_.ip_; -} -inline uint32_t CGCToGCMsgRouted::ip() const { - // @@protoc_insertion_point(field_get:CGCToGCMsgRouted.ip) - return _internal_ip(); -} -inline void CGCToGCMsgRouted::_internal_set_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.ip_ = value; -} -inline void CGCToGCMsgRouted::set_ip(uint32_t value) { - _internal_set_ip(value); - // @@protoc_insertion_point(field_set:CGCToGCMsgRouted.ip) -} - -// ------------------------------------------------------------------- - -// CGCToGCMsgRoutedReply - -// optional uint32 msg_type = 1; -inline bool CGCToGCMsgRoutedReply::_internal_has_msg_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CGCToGCMsgRoutedReply::has_msg_type() const { - return _internal_has_msg_type(); -} -inline void CGCToGCMsgRoutedReply::clear_msg_type() { - _impl_.msg_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CGCToGCMsgRoutedReply::_internal_msg_type() const { - return _impl_.msg_type_; -} -inline uint32_t CGCToGCMsgRoutedReply::msg_type() const { - // @@protoc_insertion_point(field_get:CGCToGCMsgRoutedReply.msg_type) - return _internal_msg_type(); -} -inline void CGCToGCMsgRoutedReply::_internal_set_msg_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.msg_type_ = value; -} -inline void CGCToGCMsgRoutedReply::set_msg_type(uint32_t value) { - _internal_set_msg_type(value); - // @@protoc_insertion_point(field_set:CGCToGCMsgRoutedReply.msg_type) -} - -// optional bytes net_message = 2; -inline bool CGCToGCMsgRoutedReply::_internal_has_net_message() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CGCToGCMsgRoutedReply::has_net_message() const { - return _internal_has_net_message(); -} -inline void CGCToGCMsgRoutedReply::clear_net_message() { - _impl_.net_message_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CGCToGCMsgRoutedReply::net_message() const { - // @@protoc_insertion_point(field_get:CGCToGCMsgRoutedReply.net_message) - return _internal_net_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CGCToGCMsgRoutedReply::set_net_message(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.net_message_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CGCToGCMsgRoutedReply.net_message) -} -inline std::string* CGCToGCMsgRoutedReply::mutable_net_message() { - std::string* _s = _internal_mutable_net_message(); - // @@protoc_insertion_point(field_mutable:CGCToGCMsgRoutedReply.net_message) - return _s; -} -inline const std::string& CGCToGCMsgRoutedReply::_internal_net_message() const { - return _impl_.net_message_.Get(); -} -inline void CGCToGCMsgRoutedReply::_internal_set_net_message(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.net_message_.Set(value, GetArenaForAllocation()); -} -inline std::string* CGCToGCMsgRoutedReply::_internal_mutable_net_message() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.net_message_.Mutable(GetArenaForAllocation()); -} -inline std::string* CGCToGCMsgRoutedReply::release_net_message() { - // @@protoc_insertion_point(field_release:CGCToGCMsgRoutedReply.net_message) - if (!_internal_has_net_message()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.net_message_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.net_message_.IsDefault()) { - _impl_.net_message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CGCToGCMsgRoutedReply::set_allocated_net_message(std::string* net_message) { - if (net_message != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.net_message_.SetAllocated(net_message, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.net_message_.IsDefault()) { - _impl_.net_message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CGCToGCMsgRoutedReply.net_message) -} - -// ------------------------------------------------------------------- - -// CMsgGCUpdateSessionIP - -// optional fixed64 steamid = 1; -inline bool CMsgGCUpdateSessionIP::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCUpdateSessionIP::has_steamid() const { - return _internal_has_steamid(); -} -inline void CMsgGCUpdateSessionIP::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCUpdateSessionIP::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CMsgGCUpdateSessionIP::steamid() const { - // @@protoc_insertion_point(field_get:CMsgGCUpdateSessionIP.steamid) - return _internal_steamid(); -} -inline void CMsgGCUpdateSessionIP::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steamid_ = value; -} -inline void CMsgGCUpdateSessionIP::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CMsgGCUpdateSessionIP.steamid) -} - -// optional fixed32 ip = 2; -inline bool CMsgGCUpdateSessionIP::_internal_has_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCUpdateSessionIP::has_ip() const { - return _internal_has_ip(); -} -inline void CMsgGCUpdateSessionIP::clear_ip() { - _impl_.ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCUpdateSessionIP::_internal_ip() const { - return _impl_.ip_; -} -inline uint32_t CMsgGCUpdateSessionIP::ip() const { - // @@protoc_insertion_point(field_get:CMsgGCUpdateSessionIP.ip) - return _internal_ip(); -} -inline void CMsgGCUpdateSessionIP::_internal_set_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.ip_ = value; -} -inline void CMsgGCUpdateSessionIP::set_ip(uint32_t value) { - _internal_set_ip(value); - // @@protoc_insertion_point(field_set:CMsgGCUpdateSessionIP.ip) -} - -// ------------------------------------------------------------------- - -// CMsgGCRequestSessionIP - -// optional fixed64 steamid = 1; -inline bool CMsgGCRequestSessionIP::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCRequestSessionIP::has_steamid() const { - return _internal_has_steamid(); -} -inline void CMsgGCRequestSessionIP::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCRequestSessionIP::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CMsgGCRequestSessionIP::steamid() const { - // @@protoc_insertion_point(field_get:CMsgGCRequestSessionIP.steamid) - return _internal_steamid(); -} -inline void CMsgGCRequestSessionIP::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steamid_ = value; -} -inline void CMsgGCRequestSessionIP::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CMsgGCRequestSessionIP.steamid) -} - -// ------------------------------------------------------------------- - -// CMsgGCRequestSessionIPResponse - -// optional fixed32 ip = 1; -inline bool CMsgGCRequestSessionIPResponse::_internal_has_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCRequestSessionIPResponse::has_ip() const { - return _internal_has_ip(); -} -inline void CMsgGCRequestSessionIPResponse::clear_ip() { - _impl_.ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgGCRequestSessionIPResponse::_internal_ip() const { - return _impl_.ip_; -} -inline uint32_t CMsgGCRequestSessionIPResponse::ip() const { - // @@protoc_insertion_point(field_get:CMsgGCRequestSessionIPResponse.ip) - return _internal_ip(); -} -inline void CMsgGCRequestSessionIPResponse::_internal_set_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ip_ = value; -} -inline void CMsgGCRequestSessionIPResponse::set_ip(uint32_t value) { - _internal_set_ip(value); - // @@protoc_insertion_point(field_set:CMsgGCRequestSessionIPResponse.ip) -} - -// ------------------------------------------------------------------- - -// CMsgSOCacheHaveVersion - -// optional .CMsgSOIDOwner soid = 1; -inline bool CMsgSOCacheHaveVersion::_internal_has_soid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.soid_ != nullptr); - return value; -} -inline bool CMsgSOCacheHaveVersion::has_soid() const { - return _internal_has_soid(); -} -inline void CMsgSOCacheHaveVersion::clear_soid() { - if (_impl_.soid_ != nullptr) _impl_.soid_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgSOIDOwner& CMsgSOCacheHaveVersion::_internal_soid() const { - const ::CMsgSOIDOwner* p = _impl_.soid_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSOIDOwner_default_instance_); -} -inline const ::CMsgSOIDOwner& CMsgSOCacheHaveVersion::soid() const { - // @@protoc_insertion_point(field_get:CMsgSOCacheHaveVersion.soid) - return _internal_soid(); -} -inline void CMsgSOCacheHaveVersion::unsafe_arena_set_allocated_soid( - ::CMsgSOIDOwner* soid) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.soid_); - } - _impl_.soid_ = soid; - if (soid) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSOCacheHaveVersion.soid) -} -inline ::CMsgSOIDOwner* CMsgSOCacheHaveVersion::release_soid() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSOIDOwner* temp = _impl_.soid_; - _impl_.soid_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSOIDOwner* CMsgSOCacheHaveVersion::unsafe_arena_release_soid() { - // @@protoc_insertion_point(field_release:CMsgSOCacheHaveVersion.soid) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSOIDOwner* temp = _impl_.soid_; - _impl_.soid_ = nullptr; - return temp; -} -inline ::CMsgSOIDOwner* CMsgSOCacheHaveVersion::_internal_mutable_soid() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.soid_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSOIDOwner>(GetArenaForAllocation()); - _impl_.soid_ = p; - } - return _impl_.soid_; -} -inline ::CMsgSOIDOwner* CMsgSOCacheHaveVersion::mutable_soid() { - ::CMsgSOIDOwner* _msg = _internal_mutable_soid(); - // @@protoc_insertion_point(field_mutable:CMsgSOCacheHaveVersion.soid) - return _msg; -} -inline void CMsgSOCacheHaveVersion::set_allocated_soid(::CMsgSOIDOwner* soid) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.soid_; - } - if (soid) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(soid); - if (message_arena != submessage_arena) { - soid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, soid, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.soid_ = soid; - // @@protoc_insertion_point(field_set_allocated:CMsgSOCacheHaveVersion.soid) -} - -// optional fixed64 version = 2; -inline bool CMsgSOCacheHaveVersion::_internal_has_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSOCacheHaveVersion::has_version() const { - return _internal_has_version(); -} -inline void CMsgSOCacheHaveVersion::clear_version() { - _impl_.version_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgSOCacheHaveVersion::_internal_version() const { - return _impl_.version_; -} -inline uint64_t CMsgSOCacheHaveVersion::version() const { - // @@protoc_insertion_point(field_get:CMsgSOCacheHaveVersion.version) - return _internal_version(); -} -inline void CMsgSOCacheHaveVersion::_internal_set_version(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.version_ = value; -} -inline void CMsgSOCacheHaveVersion::set_version(uint64_t value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:CMsgSOCacheHaveVersion.version) -} - -// ------------------------------------------------------------------- - -// CMsgClientHello - -// optional uint32 version = 1; -inline bool CMsgClientHello::_internal_has_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgClientHello::has_version() const { - return _internal_has_version(); -} -inline void CMsgClientHello::clear_version() { - _impl_.version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgClientHello::_internal_version() const { - return _impl_.version_; -} -inline uint32_t CMsgClientHello::version() const { - // @@protoc_insertion_point(field_get:CMsgClientHello.version) - return _internal_version(); -} -inline void CMsgClientHello::_internal_set_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.version_ = value; -} -inline void CMsgClientHello::set_version(uint32_t value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:CMsgClientHello.version) -} - -// repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; -inline int CMsgClientHello::_internal_socache_have_versions_size() const { - return _impl_.socache_have_versions_.size(); -} -inline int CMsgClientHello::socache_have_versions_size() const { - return _internal_socache_have_versions_size(); -} -inline void CMsgClientHello::clear_socache_have_versions() { - _impl_.socache_have_versions_.Clear(); -} -inline ::CMsgSOCacheHaveVersion* CMsgClientHello::mutable_socache_have_versions(int index) { - // @@protoc_insertion_point(field_mutable:CMsgClientHello.socache_have_versions) - return _impl_.socache_have_versions_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion >* -CMsgClientHello::mutable_socache_have_versions() { - // @@protoc_insertion_point(field_mutable_list:CMsgClientHello.socache_have_versions) - return &_impl_.socache_have_versions_; -} -inline const ::CMsgSOCacheHaveVersion& CMsgClientHello::_internal_socache_have_versions(int index) const { - return _impl_.socache_have_versions_.Get(index); -} -inline const ::CMsgSOCacheHaveVersion& CMsgClientHello::socache_have_versions(int index) const { - // @@protoc_insertion_point(field_get:CMsgClientHello.socache_have_versions) - return _internal_socache_have_versions(index); -} -inline ::CMsgSOCacheHaveVersion* CMsgClientHello::_internal_add_socache_have_versions() { - return _impl_.socache_have_versions_.Add(); -} -inline ::CMsgSOCacheHaveVersion* CMsgClientHello::add_socache_have_versions() { - ::CMsgSOCacheHaveVersion* _add = _internal_add_socache_have_versions(); - // @@protoc_insertion_point(field_add:CMsgClientHello.socache_have_versions) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion >& -CMsgClientHello::socache_have_versions() const { - // @@protoc_insertion_point(field_list:CMsgClientHello.socache_have_versions) - return _impl_.socache_have_versions_; -} - -// optional uint32 client_session_need = 3; -inline bool CMsgClientHello::_internal_has_client_session_need() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgClientHello::has_client_session_need() const { - return _internal_has_client_session_need(); -} -inline void CMsgClientHello::clear_client_session_need() { - _impl_.client_session_need_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgClientHello::_internal_client_session_need() const { - return _impl_.client_session_need_; -} -inline uint32_t CMsgClientHello::client_session_need() const { - // @@protoc_insertion_point(field_get:CMsgClientHello.client_session_need) - return _internal_client_session_need(); -} -inline void CMsgClientHello::_internal_set_client_session_need(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.client_session_need_ = value; -} -inline void CMsgClientHello::set_client_session_need(uint32_t value) { - _internal_set_client_session_need(value); - // @@protoc_insertion_point(field_set:CMsgClientHello.client_session_need) -} - -// optional uint32 client_launcher = 4; -inline bool CMsgClientHello::_internal_has_client_launcher() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgClientHello::has_client_launcher() const { - return _internal_has_client_launcher(); -} -inline void CMsgClientHello::clear_client_launcher() { - _impl_.client_launcher_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgClientHello::_internal_client_launcher() const { - return _impl_.client_launcher_; -} -inline uint32_t CMsgClientHello::client_launcher() const { - // @@protoc_insertion_point(field_get:CMsgClientHello.client_launcher) - return _internal_client_launcher(); -} -inline void CMsgClientHello::_internal_set_client_launcher(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.client_launcher_ = value; -} -inline void CMsgClientHello::set_client_launcher(uint32_t value) { - _internal_set_client_launcher(value); - // @@protoc_insertion_point(field_set:CMsgClientHello.client_launcher) -} - -// optional uint32 partner_srcid = 5; -inline bool CMsgClientHello::_internal_has_partner_srcid() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgClientHello::has_partner_srcid() const { - return _internal_has_partner_srcid(); -} -inline void CMsgClientHello::clear_partner_srcid() { - _impl_.partner_srcid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgClientHello::_internal_partner_srcid() const { - return _impl_.partner_srcid_; -} -inline uint32_t CMsgClientHello::partner_srcid() const { - // @@protoc_insertion_point(field_get:CMsgClientHello.partner_srcid) - return _internal_partner_srcid(); -} -inline void CMsgClientHello::_internal_set_partner_srcid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.partner_srcid_ = value; -} -inline void CMsgClientHello::set_partner_srcid(uint32_t value) { - _internal_set_partner_srcid(value); - // @@protoc_insertion_point(field_set:CMsgClientHello.partner_srcid) -} - -// optional uint32 partner_accountid = 6; -inline bool CMsgClientHello::_internal_has_partner_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgClientHello::has_partner_accountid() const { - return _internal_has_partner_accountid(); -} -inline void CMsgClientHello::clear_partner_accountid() { - _impl_.partner_accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgClientHello::_internal_partner_accountid() const { - return _impl_.partner_accountid_; -} -inline uint32_t CMsgClientHello::partner_accountid() const { - // @@protoc_insertion_point(field_get:CMsgClientHello.partner_accountid) - return _internal_partner_accountid(); -} -inline void CMsgClientHello::_internal_set_partner_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.partner_accountid_ = value; -} -inline void CMsgClientHello::set_partner_accountid(uint32_t value) { - _internal_set_partner_accountid(value); - // @@protoc_insertion_point(field_set:CMsgClientHello.partner_accountid) -} - -// optional uint32 partner_accountflags = 7; -inline bool CMsgClientHello::_internal_has_partner_accountflags() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgClientHello::has_partner_accountflags() const { - return _internal_has_partner_accountflags(); -} -inline void CMsgClientHello::clear_partner_accountflags() { - _impl_.partner_accountflags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgClientHello::_internal_partner_accountflags() const { - return _impl_.partner_accountflags_; -} -inline uint32_t CMsgClientHello::partner_accountflags() const { - // @@protoc_insertion_point(field_get:CMsgClientHello.partner_accountflags) - return _internal_partner_accountflags(); -} -inline void CMsgClientHello::_internal_set_partner_accountflags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.partner_accountflags_ = value; -} -inline void CMsgClientHello::set_partner_accountflags(uint32_t value) { - _internal_set_partner_accountflags(value); - // @@protoc_insertion_point(field_set:CMsgClientHello.partner_accountflags) -} - -// optional uint32 partner_accountbalance = 8; -inline bool CMsgClientHello::_internal_has_partner_accountbalance() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgClientHello::has_partner_accountbalance() const { - return _internal_has_partner_accountbalance(); -} -inline void CMsgClientHello::clear_partner_accountbalance() { - _impl_.partner_accountbalance_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgClientHello::_internal_partner_accountbalance() const { - return _impl_.partner_accountbalance_; -} -inline uint32_t CMsgClientHello::partner_accountbalance() const { - // @@protoc_insertion_point(field_get:CMsgClientHello.partner_accountbalance) - return _internal_partner_accountbalance(); -} -inline void CMsgClientHello::_internal_set_partner_accountbalance(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.partner_accountbalance_ = value; -} -inline void CMsgClientHello::set_partner_accountbalance(uint32_t value) { - _internal_set_partner_accountbalance(value); - // @@protoc_insertion_point(field_set:CMsgClientHello.partner_accountbalance) -} - -// optional uint32 steam_launcher = 9; -inline bool CMsgClientHello::_internal_has_steam_launcher() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgClientHello::has_steam_launcher() const { - return _internal_has_steam_launcher(); -} -inline void CMsgClientHello::clear_steam_launcher() { - _impl_.steam_launcher_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgClientHello::_internal_steam_launcher() const { - return _impl_.steam_launcher_; -} -inline uint32_t CMsgClientHello::steam_launcher() const { - // @@protoc_insertion_point(field_get:CMsgClientHello.steam_launcher) - return _internal_steam_launcher(); -} -inline void CMsgClientHello::_internal_set_steam_launcher(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.steam_launcher_ = value; -} -inline void CMsgClientHello::set_steam_launcher(uint32_t value) { - _internal_set_steam_launcher(value); - // @@protoc_insertion_point(field_set:CMsgClientHello.steam_launcher) -} - -// ------------------------------------------------------------------- - -// CMsgServerHello - -// optional uint32 version = 1; -inline bool CMsgServerHello::_internal_has_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgServerHello::has_version() const { - return _internal_has_version(); -} -inline void CMsgServerHello::clear_version() { - _impl_.version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgServerHello::_internal_version() const { - return _impl_.version_; -} -inline uint32_t CMsgServerHello::version() const { - // @@protoc_insertion_point(field_get:CMsgServerHello.version) - return _internal_version(); -} -inline void CMsgServerHello::_internal_set_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.version_ = value; -} -inline void CMsgServerHello::set_version(uint32_t value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:CMsgServerHello.version) -} - -// repeated .CMsgSOCacheHaveVersion socache_have_versions = 2; -inline int CMsgServerHello::_internal_socache_have_versions_size() const { - return _impl_.socache_have_versions_.size(); -} -inline int CMsgServerHello::socache_have_versions_size() const { - return _internal_socache_have_versions_size(); -} -inline void CMsgServerHello::clear_socache_have_versions() { - _impl_.socache_have_versions_.Clear(); -} -inline ::CMsgSOCacheHaveVersion* CMsgServerHello::mutable_socache_have_versions(int index) { - // @@protoc_insertion_point(field_mutable:CMsgServerHello.socache_have_versions) - return _impl_.socache_have_versions_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion >* -CMsgServerHello::mutable_socache_have_versions() { - // @@protoc_insertion_point(field_mutable_list:CMsgServerHello.socache_have_versions) - return &_impl_.socache_have_versions_; -} -inline const ::CMsgSOCacheHaveVersion& CMsgServerHello::_internal_socache_have_versions(int index) const { - return _impl_.socache_have_versions_.Get(index); -} -inline const ::CMsgSOCacheHaveVersion& CMsgServerHello::socache_have_versions(int index) const { - // @@protoc_insertion_point(field_get:CMsgServerHello.socache_have_versions) - return _internal_socache_have_versions(index); -} -inline ::CMsgSOCacheHaveVersion* CMsgServerHello::_internal_add_socache_have_versions() { - return _impl_.socache_have_versions_.Add(); -} -inline ::CMsgSOCacheHaveVersion* CMsgServerHello::add_socache_have_versions() { - ::CMsgSOCacheHaveVersion* _add = _internal_add_socache_have_versions(); - // @@protoc_insertion_point(field_add:CMsgServerHello.socache_have_versions) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheHaveVersion >& -CMsgServerHello::socache_have_versions() const { - // @@protoc_insertion_point(field_list:CMsgServerHello.socache_have_versions) - return _impl_.socache_have_versions_; -} - -// optional uint32 legacy_client_session_need = 3; -inline bool CMsgServerHello::_internal_has_legacy_client_session_need() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgServerHello::has_legacy_client_session_need() const { - return _internal_has_legacy_client_session_need(); -} -inline void CMsgServerHello::clear_legacy_client_session_need() { - _impl_.legacy_client_session_need_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgServerHello::_internal_legacy_client_session_need() const { - return _impl_.legacy_client_session_need_; -} -inline uint32_t CMsgServerHello::legacy_client_session_need() const { - // @@protoc_insertion_point(field_get:CMsgServerHello.legacy_client_session_need) - return _internal_legacy_client_session_need(); -} -inline void CMsgServerHello::_internal_set_legacy_client_session_need(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.legacy_client_session_need_ = value; -} -inline void CMsgServerHello::set_legacy_client_session_need(uint32_t value) { - _internal_set_legacy_client_session_need(value); - // @@protoc_insertion_point(field_set:CMsgServerHello.legacy_client_session_need) -} - -// optional uint32 client_launcher = 4; -inline bool CMsgServerHello::_internal_has_client_launcher() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgServerHello::has_client_launcher() const { - return _internal_has_client_launcher(); -} -inline void CMsgServerHello::clear_client_launcher() { - _impl_.client_launcher_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgServerHello::_internal_client_launcher() const { - return _impl_.client_launcher_; -} -inline uint32_t CMsgServerHello::client_launcher() const { - // @@protoc_insertion_point(field_get:CMsgServerHello.client_launcher) - return _internal_client_launcher(); -} -inline void CMsgServerHello::_internal_set_client_launcher(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.client_launcher_ = value; -} -inline void CMsgServerHello::set_client_launcher(uint32_t value) { - _internal_set_client_launcher(value); - // @@protoc_insertion_point(field_set:CMsgServerHello.client_launcher) -} - -// optional bytes legacy_steamdatagram_routing = 6; -inline bool CMsgServerHello::_internal_has_legacy_steamdatagram_routing() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgServerHello::has_legacy_steamdatagram_routing() const { - return _internal_has_legacy_steamdatagram_routing(); -} -inline void CMsgServerHello::clear_legacy_steamdatagram_routing() { - _impl_.legacy_steamdatagram_routing_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgServerHello::legacy_steamdatagram_routing() const { - // @@protoc_insertion_point(field_get:CMsgServerHello.legacy_steamdatagram_routing) - return _internal_legacy_steamdatagram_routing(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgServerHello::set_legacy_steamdatagram_routing(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.legacy_steamdatagram_routing_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgServerHello.legacy_steamdatagram_routing) -} -inline std::string* CMsgServerHello::mutable_legacy_steamdatagram_routing() { - std::string* _s = _internal_mutable_legacy_steamdatagram_routing(); - // @@protoc_insertion_point(field_mutable:CMsgServerHello.legacy_steamdatagram_routing) - return _s; -} -inline const std::string& CMsgServerHello::_internal_legacy_steamdatagram_routing() const { - return _impl_.legacy_steamdatagram_routing_.Get(); -} -inline void CMsgServerHello::_internal_set_legacy_steamdatagram_routing(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.legacy_steamdatagram_routing_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgServerHello::_internal_mutable_legacy_steamdatagram_routing() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.legacy_steamdatagram_routing_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgServerHello::release_legacy_steamdatagram_routing() { - // @@protoc_insertion_point(field_release:CMsgServerHello.legacy_steamdatagram_routing) - if (!_internal_has_legacy_steamdatagram_routing()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.legacy_steamdatagram_routing_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.legacy_steamdatagram_routing_.IsDefault()) { - _impl_.legacy_steamdatagram_routing_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgServerHello::set_allocated_legacy_steamdatagram_routing(std::string* legacy_steamdatagram_routing) { - if (legacy_steamdatagram_routing != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.legacy_steamdatagram_routing_.SetAllocated(legacy_steamdatagram_routing, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.legacy_steamdatagram_routing_.IsDefault()) { - _impl_.legacy_steamdatagram_routing_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgServerHello.legacy_steamdatagram_routing) -} - -// optional uint32 required_internal_addr = 7; -inline bool CMsgServerHello::_internal_has_required_internal_addr() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgServerHello::has_required_internal_addr() const { - return _internal_has_required_internal_addr(); -} -inline void CMsgServerHello::clear_required_internal_addr() { - _impl_.required_internal_addr_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgServerHello::_internal_required_internal_addr() const { - return _impl_.required_internal_addr_; -} -inline uint32_t CMsgServerHello::required_internal_addr() const { - // @@protoc_insertion_point(field_get:CMsgServerHello.required_internal_addr) - return _internal_required_internal_addr(); -} -inline void CMsgServerHello::_internal_set_required_internal_addr(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.required_internal_addr_ = value; -} -inline void CMsgServerHello::set_required_internal_addr(uint32_t value) { - _internal_set_required_internal_addr(value); - // @@protoc_insertion_point(field_set:CMsgServerHello.required_internal_addr) -} - -// optional bytes steamdatagram_login = 8; -inline bool CMsgServerHello::_internal_has_steamdatagram_login() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgServerHello::has_steamdatagram_login() const { - return _internal_has_steamdatagram_login(); -} -inline void CMsgServerHello::clear_steamdatagram_login() { - _impl_.steamdatagram_login_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgServerHello::steamdatagram_login() const { - // @@protoc_insertion_point(field_get:CMsgServerHello.steamdatagram_login) - return _internal_steamdatagram_login(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgServerHello::set_steamdatagram_login(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.steamdatagram_login_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgServerHello.steamdatagram_login) -} -inline std::string* CMsgServerHello::mutable_steamdatagram_login() { - std::string* _s = _internal_mutable_steamdatagram_login(); - // @@protoc_insertion_point(field_mutable:CMsgServerHello.steamdatagram_login) - return _s; -} -inline const std::string& CMsgServerHello::_internal_steamdatagram_login() const { - return _impl_.steamdatagram_login_.Get(); -} -inline void CMsgServerHello::_internal_set_steamdatagram_login(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.steamdatagram_login_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgServerHello::_internal_mutable_steamdatagram_login() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.steamdatagram_login_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgServerHello::release_steamdatagram_login() { - // @@protoc_insertion_point(field_release:CMsgServerHello.steamdatagram_login) - if (!_internal_has_steamdatagram_login()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.steamdatagram_login_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.steamdatagram_login_.IsDefault()) { - _impl_.steamdatagram_login_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgServerHello::set_allocated_steamdatagram_login(std::string* steamdatagram_login) { - if (steamdatagram_login != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.steamdatagram_login_.SetAllocated(steamdatagram_login, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.steamdatagram_login_.IsDefault()) { - _impl_.steamdatagram_login_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgServerHello.steamdatagram_login) -} - -// optional uint32 socache_control = 9; -inline bool CMsgServerHello::_internal_has_socache_control() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgServerHello::has_socache_control() const { - return _internal_has_socache_control(); -} -inline void CMsgServerHello::clear_socache_control() { - _impl_.socache_control_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgServerHello::_internal_socache_control() const { - return _impl_.socache_control_; -} -inline uint32_t CMsgServerHello::socache_control() const { - // @@protoc_insertion_point(field_get:CMsgServerHello.socache_control) - return _internal_socache_control(); -} -inline void CMsgServerHello::_internal_set_socache_control(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.socache_control_ = value; -} -inline void CMsgServerHello::set_socache_control(uint32_t value) { - _internal_set_socache_control(value); - // @@protoc_insertion_point(field_set:CMsgServerHello.socache_control) -} - -// ------------------------------------------------------------------- - -// CMsgClientWelcome_Location - -// optional float latitude = 1; -inline bool CMsgClientWelcome_Location::_internal_has_latitude() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgClientWelcome_Location::has_latitude() const { - return _internal_has_latitude(); -} -inline void CMsgClientWelcome_Location::clear_latitude() { - _impl_.latitude_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CMsgClientWelcome_Location::_internal_latitude() const { - return _impl_.latitude_; -} -inline float CMsgClientWelcome_Location::latitude() const { - // @@protoc_insertion_point(field_get:CMsgClientWelcome.Location.latitude) - return _internal_latitude(); -} -inline void CMsgClientWelcome_Location::_internal_set_latitude(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.latitude_ = value; -} -inline void CMsgClientWelcome_Location::set_latitude(float value) { - _internal_set_latitude(value); - // @@protoc_insertion_point(field_set:CMsgClientWelcome.Location.latitude) -} - -// optional float longitude = 2; -inline bool CMsgClientWelcome_Location::_internal_has_longitude() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgClientWelcome_Location::has_longitude() const { - return _internal_has_longitude(); -} -inline void CMsgClientWelcome_Location::clear_longitude() { - _impl_.longitude_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CMsgClientWelcome_Location::_internal_longitude() const { - return _impl_.longitude_; -} -inline float CMsgClientWelcome_Location::longitude() const { - // @@protoc_insertion_point(field_get:CMsgClientWelcome.Location.longitude) - return _internal_longitude(); -} -inline void CMsgClientWelcome_Location::_internal_set_longitude(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.longitude_ = value; -} -inline void CMsgClientWelcome_Location::set_longitude(float value) { - _internal_set_longitude(value); - // @@protoc_insertion_point(field_set:CMsgClientWelcome.Location.longitude) -} - -// optional string country = 3; -inline bool CMsgClientWelcome_Location::_internal_has_country() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgClientWelcome_Location::has_country() const { - return _internal_has_country(); -} -inline void CMsgClientWelcome_Location::clear_country() { - _impl_.country_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgClientWelcome_Location::country() const { - // @@protoc_insertion_point(field_get:CMsgClientWelcome.Location.country) - return _internal_country(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgClientWelcome_Location::set_country(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.country_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgClientWelcome.Location.country) -} -inline std::string* CMsgClientWelcome_Location::mutable_country() { - std::string* _s = _internal_mutable_country(); - // @@protoc_insertion_point(field_mutable:CMsgClientWelcome.Location.country) - return _s; -} -inline const std::string& CMsgClientWelcome_Location::_internal_country() const { - return _impl_.country_.Get(); -} -inline void CMsgClientWelcome_Location::_internal_set_country(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.country_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgClientWelcome_Location::_internal_mutable_country() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.country_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgClientWelcome_Location::release_country() { - // @@protoc_insertion_point(field_release:CMsgClientWelcome.Location.country) - if (!_internal_has_country()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.country_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.country_.IsDefault()) { - _impl_.country_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgClientWelcome_Location::set_allocated_country(std::string* country) { - if (country != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.country_.SetAllocated(country, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.country_.IsDefault()) { - _impl_.country_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgClientWelcome.Location.country) -} - -// ------------------------------------------------------------------- - -// CMsgClientWelcome - -// optional uint32 version = 1; -inline bool CMsgClientWelcome::_internal_has_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgClientWelcome::has_version() const { - return _internal_has_version(); -} -inline void CMsgClientWelcome::clear_version() { - _impl_.version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgClientWelcome::_internal_version() const { - return _impl_.version_; -} -inline uint32_t CMsgClientWelcome::version() const { - // @@protoc_insertion_point(field_get:CMsgClientWelcome.version) - return _internal_version(); -} -inline void CMsgClientWelcome::_internal_set_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.version_ = value; -} -inline void CMsgClientWelcome::set_version(uint32_t value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:CMsgClientWelcome.version) -} - -// optional bytes game_data = 2; -inline bool CMsgClientWelcome::_internal_has_game_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgClientWelcome::has_game_data() const { - return _internal_has_game_data(); -} -inline void CMsgClientWelcome::clear_game_data() { - _impl_.game_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgClientWelcome::game_data() const { - // @@protoc_insertion_point(field_get:CMsgClientWelcome.game_data) - return _internal_game_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgClientWelcome::set_game_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.game_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgClientWelcome.game_data) -} -inline std::string* CMsgClientWelcome::mutable_game_data() { - std::string* _s = _internal_mutable_game_data(); - // @@protoc_insertion_point(field_mutable:CMsgClientWelcome.game_data) - return _s; -} -inline const std::string& CMsgClientWelcome::_internal_game_data() const { - return _impl_.game_data_.Get(); -} -inline void CMsgClientWelcome::_internal_set_game_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.game_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgClientWelcome::_internal_mutable_game_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.game_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgClientWelcome::release_game_data() { - // @@protoc_insertion_point(field_release:CMsgClientWelcome.game_data) - if (!_internal_has_game_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.game_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_data_.IsDefault()) { - _impl_.game_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgClientWelcome::set_allocated_game_data(std::string* game_data) { - if (game_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.game_data_.SetAllocated(game_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_data_.IsDefault()) { - _impl_.game_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgClientWelcome.game_data) -} - -// repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3; -inline int CMsgClientWelcome::_internal_outofdate_subscribed_caches_size() const { - return _impl_.outofdate_subscribed_caches_.size(); -} -inline int CMsgClientWelcome::outofdate_subscribed_caches_size() const { - return _internal_outofdate_subscribed_caches_size(); -} -inline void CMsgClientWelcome::clear_outofdate_subscribed_caches() { - _impl_.outofdate_subscribed_caches_.Clear(); -} -inline ::CMsgSOCacheSubscribed* CMsgClientWelcome::mutable_outofdate_subscribed_caches(int index) { - // @@protoc_insertion_point(field_mutable:CMsgClientWelcome.outofdate_subscribed_caches) - return _impl_.outofdate_subscribed_caches_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed >* -CMsgClientWelcome::mutable_outofdate_subscribed_caches() { - // @@protoc_insertion_point(field_mutable_list:CMsgClientWelcome.outofdate_subscribed_caches) - return &_impl_.outofdate_subscribed_caches_; -} -inline const ::CMsgSOCacheSubscribed& CMsgClientWelcome::_internal_outofdate_subscribed_caches(int index) const { - return _impl_.outofdate_subscribed_caches_.Get(index); -} -inline const ::CMsgSOCacheSubscribed& CMsgClientWelcome::outofdate_subscribed_caches(int index) const { - // @@protoc_insertion_point(field_get:CMsgClientWelcome.outofdate_subscribed_caches) - return _internal_outofdate_subscribed_caches(index); -} -inline ::CMsgSOCacheSubscribed* CMsgClientWelcome::_internal_add_outofdate_subscribed_caches() { - return _impl_.outofdate_subscribed_caches_.Add(); -} -inline ::CMsgSOCacheSubscribed* CMsgClientWelcome::add_outofdate_subscribed_caches() { - ::CMsgSOCacheSubscribed* _add = _internal_add_outofdate_subscribed_caches(); - // @@protoc_insertion_point(field_add:CMsgClientWelcome.outofdate_subscribed_caches) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscribed >& -CMsgClientWelcome::outofdate_subscribed_caches() const { - // @@protoc_insertion_point(field_list:CMsgClientWelcome.outofdate_subscribed_caches) - return _impl_.outofdate_subscribed_caches_; -} - -// repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4; -inline int CMsgClientWelcome::_internal_uptodate_subscribed_caches_size() const { - return _impl_.uptodate_subscribed_caches_.size(); -} -inline int CMsgClientWelcome::uptodate_subscribed_caches_size() const { - return _internal_uptodate_subscribed_caches_size(); -} -inline void CMsgClientWelcome::clear_uptodate_subscribed_caches() { - _impl_.uptodate_subscribed_caches_.Clear(); -} -inline ::CMsgSOCacheSubscriptionCheck* CMsgClientWelcome::mutable_uptodate_subscribed_caches(int index) { - // @@protoc_insertion_point(field_mutable:CMsgClientWelcome.uptodate_subscribed_caches) - return _impl_.uptodate_subscribed_caches_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck >* -CMsgClientWelcome::mutable_uptodate_subscribed_caches() { - // @@protoc_insertion_point(field_mutable_list:CMsgClientWelcome.uptodate_subscribed_caches) - return &_impl_.uptodate_subscribed_caches_; -} -inline const ::CMsgSOCacheSubscriptionCheck& CMsgClientWelcome::_internal_uptodate_subscribed_caches(int index) const { - return _impl_.uptodate_subscribed_caches_.Get(index); -} -inline const ::CMsgSOCacheSubscriptionCheck& CMsgClientWelcome::uptodate_subscribed_caches(int index) const { - // @@protoc_insertion_point(field_get:CMsgClientWelcome.uptodate_subscribed_caches) - return _internal_uptodate_subscribed_caches(index); -} -inline ::CMsgSOCacheSubscriptionCheck* CMsgClientWelcome::_internal_add_uptodate_subscribed_caches() { - return _impl_.uptodate_subscribed_caches_.Add(); -} -inline ::CMsgSOCacheSubscriptionCheck* CMsgClientWelcome::add_uptodate_subscribed_caches() { - ::CMsgSOCacheSubscriptionCheck* _add = _internal_add_uptodate_subscribed_caches(); - // @@protoc_insertion_point(field_add:CMsgClientWelcome.uptodate_subscribed_caches) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSOCacheSubscriptionCheck >& -CMsgClientWelcome::uptodate_subscribed_caches() const { - // @@protoc_insertion_point(field_list:CMsgClientWelcome.uptodate_subscribed_caches) - return _impl_.uptodate_subscribed_caches_; -} - -// optional .CMsgClientWelcome.Location location = 5; -inline bool CMsgClientWelcome::_internal_has_location() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.location_ != nullptr); - return value; -} -inline bool CMsgClientWelcome::has_location() const { - return _internal_has_location(); -} -inline void CMsgClientWelcome::clear_location() { - if (_impl_.location_ != nullptr) _impl_.location_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const ::CMsgClientWelcome_Location& CMsgClientWelcome::_internal_location() const { - const ::CMsgClientWelcome_Location* p = _impl_.location_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgClientWelcome_Location_default_instance_); -} -inline const ::CMsgClientWelcome_Location& CMsgClientWelcome::location() const { - // @@protoc_insertion_point(field_get:CMsgClientWelcome.location) - return _internal_location(); -} -inline void CMsgClientWelcome::unsafe_arena_set_allocated_location( - ::CMsgClientWelcome_Location* location) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_); - } - _impl_.location_ = location; - if (location) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgClientWelcome.location) -} -inline ::CMsgClientWelcome_Location* CMsgClientWelcome::release_location() { - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgClientWelcome_Location* temp = _impl_.location_; - _impl_.location_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgClientWelcome_Location* CMsgClientWelcome::unsafe_arena_release_location() { - // @@protoc_insertion_point(field_release:CMsgClientWelcome.location) - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgClientWelcome_Location* temp = _impl_.location_; - _impl_.location_ = nullptr; - return temp; -} -inline ::CMsgClientWelcome_Location* CMsgClientWelcome::_internal_mutable_location() { - _impl_._has_bits_[0] |= 0x00000010u; - if (_impl_.location_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgClientWelcome_Location>(GetArenaForAllocation()); - _impl_.location_ = p; - } - return _impl_.location_; -} -inline ::CMsgClientWelcome_Location* CMsgClientWelcome::mutable_location() { - ::CMsgClientWelcome_Location* _msg = _internal_mutable_location(); - // @@protoc_insertion_point(field_mutable:CMsgClientWelcome.location) - return _msg; -} -inline void CMsgClientWelcome::set_allocated_location(::CMsgClientWelcome_Location* location) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.location_; - } - if (location) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(location); - if (message_arena != submessage_arena) { - location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, location, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.location_ = location; - // @@protoc_insertion_point(field_set_allocated:CMsgClientWelcome.location) -} - -// optional bytes game_data2 = 6; -inline bool CMsgClientWelcome::_internal_has_game_data2() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgClientWelcome::has_game_data2() const { - return _internal_has_game_data2(); -} -inline void CMsgClientWelcome::clear_game_data2() { - _impl_.game_data2_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgClientWelcome::game_data2() const { - // @@protoc_insertion_point(field_get:CMsgClientWelcome.game_data2) - return _internal_game_data2(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgClientWelcome::set_game_data2(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.game_data2_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgClientWelcome.game_data2) -} -inline std::string* CMsgClientWelcome::mutable_game_data2() { - std::string* _s = _internal_mutable_game_data2(); - // @@protoc_insertion_point(field_mutable:CMsgClientWelcome.game_data2) - return _s; -} -inline const std::string& CMsgClientWelcome::_internal_game_data2() const { - return _impl_.game_data2_.Get(); -} -inline void CMsgClientWelcome::_internal_set_game_data2(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.game_data2_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgClientWelcome::_internal_mutable_game_data2() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.game_data2_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgClientWelcome::release_game_data2() { - // @@protoc_insertion_point(field_release:CMsgClientWelcome.game_data2) - if (!_internal_has_game_data2()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.game_data2_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_data2_.IsDefault()) { - _impl_.game_data2_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgClientWelcome::set_allocated_game_data2(std::string* game_data2) { - if (game_data2 != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.game_data2_.SetAllocated(game_data2, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_data2_.IsDefault()) { - _impl_.game_data2_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgClientWelcome.game_data2) -} - -// optional uint32 rtime32_gc_welcome_timestamp = 7; -inline bool CMsgClientWelcome::_internal_has_rtime32_gc_welcome_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgClientWelcome::has_rtime32_gc_welcome_timestamp() const { - return _internal_has_rtime32_gc_welcome_timestamp(); -} -inline void CMsgClientWelcome::clear_rtime32_gc_welcome_timestamp() { - _impl_.rtime32_gc_welcome_timestamp_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgClientWelcome::_internal_rtime32_gc_welcome_timestamp() const { - return _impl_.rtime32_gc_welcome_timestamp_; -} -inline uint32_t CMsgClientWelcome::rtime32_gc_welcome_timestamp() const { - // @@protoc_insertion_point(field_get:CMsgClientWelcome.rtime32_gc_welcome_timestamp) - return _internal_rtime32_gc_welcome_timestamp(); -} -inline void CMsgClientWelcome::_internal_set_rtime32_gc_welcome_timestamp(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.rtime32_gc_welcome_timestamp_ = value; -} -inline void CMsgClientWelcome::set_rtime32_gc_welcome_timestamp(uint32_t value) { - _internal_set_rtime32_gc_welcome_timestamp(value); - // @@protoc_insertion_point(field_set:CMsgClientWelcome.rtime32_gc_welcome_timestamp) -} - -// optional uint32 currency = 8; -inline bool CMsgClientWelcome::_internal_has_currency() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgClientWelcome::has_currency() const { - return _internal_has_currency(); -} -inline void CMsgClientWelcome::clear_currency() { - _impl_.currency_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgClientWelcome::_internal_currency() const { - return _impl_.currency_; -} -inline uint32_t CMsgClientWelcome::currency() const { - // @@protoc_insertion_point(field_get:CMsgClientWelcome.currency) - return _internal_currency(); -} -inline void CMsgClientWelcome::_internal_set_currency(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.currency_ = value; -} -inline void CMsgClientWelcome::set_currency(uint32_t value) { - _internal_set_currency(value); - // @@protoc_insertion_point(field_set:CMsgClientWelcome.currency) -} - -// optional uint32 balance = 9; -inline bool CMsgClientWelcome::_internal_has_balance() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgClientWelcome::has_balance() const { - return _internal_has_balance(); -} -inline void CMsgClientWelcome::clear_balance() { - _impl_.balance_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgClientWelcome::_internal_balance() const { - return _impl_.balance_; -} -inline uint32_t CMsgClientWelcome::balance() const { - // @@protoc_insertion_point(field_get:CMsgClientWelcome.balance) - return _internal_balance(); -} -inline void CMsgClientWelcome::_internal_set_balance(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.balance_ = value; -} -inline void CMsgClientWelcome::set_balance(uint32_t value) { - _internal_set_balance(value); - // @@protoc_insertion_point(field_set:CMsgClientWelcome.balance) -} - -// optional string balance_url = 10; -inline bool CMsgClientWelcome::_internal_has_balance_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgClientWelcome::has_balance_url() const { - return _internal_has_balance_url(); -} -inline void CMsgClientWelcome::clear_balance_url() { - _impl_.balance_url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgClientWelcome::balance_url() const { - // @@protoc_insertion_point(field_get:CMsgClientWelcome.balance_url) - return _internal_balance_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgClientWelcome::set_balance_url(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.balance_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgClientWelcome.balance_url) -} -inline std::string* CMsgClientWelcome::mutable_balance_url() { - std::string* _s = _internal_mutable_balance_url(); - // @@protoc_insertion_point(field_mutable:CMsgClientWelcome.balance_url) - return _s; -} -inline const std::string& CMsgClientWelcome::_internal_balance_url() const { - return _impl_.balance_url_.Get(); -} -inline void CMsgClientWelcome::_internal_set_balance_url(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.balance_url_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgClientWelcome::_internal_mutable_balance_url() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.balance_url_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgClientWelcome::release_balance_url() { - // @@protoc_insertion_point(field_release:CMsgClientWelcome.balance_url) - if (!_internal_has_balance_url()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.balance_url_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.balance_url_.IsDefault()) { - _impl_.balance_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgClientWelcome::set_allocated_balance_url(std::string* balance_url) { - if (balance_url != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.balance_url_.SetAllocated(balance_url, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.balance_url_.IsDefault()) { - _impl_.balance_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgClientWelcome.balance_url) -} - -// optional string txn_country_code = 11; -inline bool CMsgClientWelcome::_internal_has_txn_country_code() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgClientWelcome::has_txn_country_code() const { - return _internal_has_txn_country_code(); -} -inline void CMsgClientWelcome::clear_txn_country_code() { - _impl_.txn_country_code_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CMsgClientWelcome::txn_country_code() const { - // @@protoc_insertion_point(field_get:CMsgClientWelcome.txn_country_code) - return _internal_txn_country_code(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgClientWelcome::set_txn_country_code(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.txn_country_code_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgClientWelcome.txn_country_code) -} -inline std::string* CMsgClientWelcome::mutable_txn_country_code() { - std::string* _s = _internal_mutable_txn_country_code(); - // @@protoc_insertion_point(field_mutable:CMsgClientWelcome.txn_country_code) - return _s; -} -inline const std::string& CMsgClientWelcome::_internal_txn_country_code() const { - return _impl_.txn_country_code_.Get(); -} -inline void CMsgClientWelcome::_internal_set_txn_country_code(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.txn_country_code_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgClientWelcome::_internal_mutable_txn_country_code() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.txn_country_code_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgClientWelcome::release_txn_country_code() { - // @@protoc_insertion_point(field_release:CMsgClientWelcome.txn_country_code) - if (!_internal_has_txn_country_code()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.txn_country_code_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.txn_country_code_.IsDefault()) { - _impl_.txn_country_code_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgClientWelcome::set_allocated_txn_country_code(std::string* txn_country_code) { - if (txn_country_code != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.txn_country_code_.SetAllocated(txn_country_code, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.txn_country_code_.IsDefault()) { - _impl_.txn_country_code_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgClientWelcome.txn_country_code) -} - -// ------------------------------------------------------------------- - -// CMsgConnectionStatus - -// optional .GCConnectionStatus status = 1 [default = GCConnectionStatus_HAVE_SESSION]; -inline bool CMsgConnectionStatus::_internal_has_status() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgConnectionStatus::has_status() const { - return _internal_has_status(); -} -inline void CMsgConnectionStatus::clear_status() { - _impl_.status_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::GCConnectionStatus CMsgConnectionStatus::_internal_status() const { - return static_cast< ::GCConnectionStatus >(_impl_.status_); -} -inline ::GCConnectionStatus CMsgConnectionStatus::status() const { - // @@protoc_insertion_point(field_get:CMsgConnectionStatus.status) - return _internal_status(); -} -inline void CMsgConnectionStatus::_internal_set_status(::GCConnectionStatus value) { - assert(::GCConnectionStatus_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.status_ = value; -} -inline void CMsgConnectionStatus::set_status(::GCConnectionStatus value) { - _internal_set_status(value); - // @@protoc_insertion_point(field_set:CMsgConnectionStatus.status) -} - -// optional uint32 client_session_need = 2; -inline bool CMsgConnectionStatus::_internal_has_client_session_need() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgConnectionStatus::has_client_session_need() const { - return _internal_has_client_session_need(); -} -inline void CMsgConnectionStatus::clear_client_session_need() { - _impl_.client_session_need_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgConnectionStatus::_internal_client_session_need() const { - return _impl_.client_session_need_; -} -inline uint32_t CMsgConnectionStatus::client_session_need() const { - // @@protoc_insertion_point(field_get:CMsgConnectionStatus.client_session_need) - return _internal_client_session_need(); -} -inline void CMsgConnectionStatus::_internal_set_client_session_need(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.client_session_need_ = value; -} -inline void CMsgConnectionStatus::set_client_session_need(uint32_t value) { - _internal_set_client_session_need(value); - // @@protoc_insertion_point(field_set:CMsgConnectionStatus.client_session_need) -} - -// optional int32 queue_position = 3; -inline bool CMsgConnectionStatus::_internal_has_queue_position() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgConnectionStatus::has_queue_position() const { - return _internal_has_queue_position(); -} -inline void CMsgConnectionStatus::clear_queue_position() { - _impl_.queue_position_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CMsgConnectionStatus::_internal_queue_position() const { - return _impl_.queue_position_; -} -inline int32_t CMsgConnectionStatus::queue_position() const { - // @@protoc_insertion_point(field_get:CMsgConnectionStatus.queue_position) - return _internal_queue_position(); -} -inline void CMsgConnectionStatus::_internal_set_queue_position(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.queue_position_ = value; -} -inline void CMsgConnectionStatus::set_queue_position(int32_t value) { - _internal_set_queue_position(value); - // @@protoc_insertion_point(field_set:CMsgConnectionStatus.queue_position) -} - -// optional int32 queue_size = 4; -inline bool CMsgConnectionStatus::_internal_has_queue_size() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgConnectionStatus::has_queue_size() const { - return _internal_has_queue_size(); -} -inline void CMsgConnectionStatus::clear_queue_size() { - _impl_.queue_size_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CMsgConnectionStatus::_internal_queue_size() const { - return _impl_.queue_size_; -} -inline int32_t CMsgConnectionStatus::queue_size() const { - // @@protoc_insertion_point(field_get:CMsgConnectionStatus.queue_size) - return _internal_queue_size(); -} -inline void CMsgConnectionStatus::_internal_set_queue_size(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.queue_size_ = value; -} -inline void CMsgConnectionStatus::set_queue_size(int32_t value) { - _internal_set_queue_size(value); - // @@protoc_insertion_point(field_set:CMsgConnectionStatus.queue_size) -} - -// optional int32 wait_seconds = 5; -inline bool CMsgConnectionStatus::_internal_has_wait_seconds() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgConnectionStatus::has_wait_seconds() const { - return _internal_has_wait_seconds(); -} -inline void CMsgConnectionStatus::clear_wait_seconds() { - _impl_.wait_seconds_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CMsgConnectionStatus::_internal_wait_seconds() const { - return _impl_.wait_seconds_; -} -inline int32_t CMsgConnectionStatus::wait_seconds() const { - // @@protoc_insertion_point(field_get:CMsgConnectionStatus.wait_seconds) - return _internal_wait_seconds(); -} -inline void CMsgConnectionStatus::_internal_set_wait_seconds(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.wait_seconds_ = value; -} -inline void CMsgConnectionStatus::set_wait_seconds(int32_t value) { - _internal_set_wait_seconds(value); - // @@protoc_insertion_point(field_set:CMsgConnectionStatus.wait_seconds) -} - -// optional int32 estimated_wait_seconds_remaining = 6; -inline bool CMsgConnectionStatus::_internal_has_estimated_wait_seconds_remaining() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgConnectionStatus::has_estimated_wait_seconds_remaining() const { - return _internal_has_estimated_wait_seconds_remaining(); -} -inline void CMsgConnectionStatus::clear_estimated_wait_seconds_remaining() { - _impl_.estimated_wait_seconds_remaining_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CMsgConnectionStatus::_internal_estimated_wait_seconds_remaining() const { - return _impl_.estimated_wait_seconds_remaining_; -} -inline int32_t CMsgConnectionStatus::estimated_wait_seconds_remaining() const { - // @@protoc_insertion_point(field_get:CMsgConnectionStatus.estimated_wait_seconds_remaining) - return _internal_estimated_wait_seconds_remaining(); -} -inline void CMsgConnectionStatus::_internal_set_estimated_wait_seconds_remaining(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.estimated_wait_seconds_remaining_ = value; -} -inline void CMsgConnectionStatus::set_estimated_wait_seconds_remaining(int32_t value) { - _internal_set_estimated_wait_seconds_remaining(value); - // @@protoc_insertion_point(field_set:CMsgConnectionStatus.estimated_wait_seconds_remaining) -} - -// ------------------------------------------------------------------- - -// CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription - -// optional uint32 gameitemid = 1; -inline bool CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_has_gameitemid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::has_gameitemid() const { - return _internal_has_gameitemid(); -} -inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::clear_gameitemid() { - _impl_.gameitemid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_gameitemid() const { - return _impl_.gameitemid_; -} -inline uint32_t CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::gameitemid() const { - // @@protoc_insertion_point(field_get:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.gameitemid) - return _internal_gameitemid(); -} -inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_set_gameitemid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.gameitemid_ = value; -} -inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::set_gameitemid(uint32_t value) { - _internal_set_gameitemid(value); - // @@protoc_insertion_point(field_set:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.gameitemid) -} - -// optional string item_description = 2; -inline bool CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_has_item_description() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::has_item_description() const { - return _internal_has_item_description(); -} -inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::clear_item_description() { - _impl_.item_description_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::item_description() const { - // @@protoc_insertion_point(field_get:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.item_description) - return _internal_item_description(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::set_item_description(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.item_description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.item_description) -} -inline std::string* CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::mutable_item_description() { - std::string* _s = _internal_mutable_item_description(); - // @@protoc_insertion_point(field_mutable:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.item_description) - return _s; -} -inline const std::string& CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_item_description() const { - return _impl_.item_description_.Get(); -} -inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_set_item_description(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.item_description_.Set(value, GetArenaForAllocation()); -} -inline std::string* CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_mutable_item_description() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.item_description_.Mutable(GetArenaForAllocation()); -} -inline std::string* CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::release_item_description() { - // @@protoc_insertion_point(field_release:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.item_description) - if (!_internal_has_item_description()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.item_description_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.item_description_.IsDefault()) { - _impl_.item_description_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::set_allocated_item_description(std::string* item_description) { - if (item_description != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.item_description_.SetAllocated(item_description, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.item_description_.IsDefault()) { - _impl_.item_description_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.item_description) -} - -// optional bool one_per_account = 3; -inline bool CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_has_one_per_account() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::has_one_per_account() const { - return _internal_has_one_per_account(); -} -inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::clear_one_per_account() { - _impl_.one_per_account_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_one_per_account() const { - return _impl_.one_per_account_; -} -inline bool CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::one_per_account() const { - // @@protoc_insertion_point(field_get:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.one_per_account) - return _internal_one_per_account(); -} -inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::_internal_set_one_per_account(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.one_per_account_ = value; -} -inline void CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription::set_one_per_account(bool value) { - _internal_set_one_per_account(value); - // @@protoc_insertion_point(field_set:CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription.one_per_account) -} - -// ------------------------------------------------------------------- - -// CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock - -// optional string language = 1; -inline bool CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_internal_has_language() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::has_language() const { - return _internal_has_language(); -} -inline void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::clear_language() { - _impl_.language_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::language() const { - // @@protoc_insertion_point(field_get:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.language) - return _internal_language(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::set_language(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.language_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.language) -} -inline std::string* CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::mutable_language() { - std::string* _s = _internal_mutable_language(); - // @@protoc_insertion_point(field_mutable:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.language) - return _s; -} -inline const std::string& CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_internal_language() const { - return _impl_.language_.Get(); -} -inline void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_internal_set_language(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.language_.Set(value, GetArenaForAllocation()); -} -inline std::string* CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_internal_mutable_language() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.language_.Mutable(GetArenaForAllocation()); -} -inline std::string* CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::release_language() { - // @@protoc_insertion_point(field_release:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.language) - if (!_internal_has_language()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.language_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.language_.IsDefault()) { - _impl_.language_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::set_allocated_language(std::string* language) { - if (language != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.language_.SetAllocated(language, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.language_.IsDefault()) { - _impl_.language_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.language) -} - -// repeated .CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription descriptions = 2; -inline int CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_internal_descriptions_size() const { - return _impl_.descriptions_.size(); -} -inline int CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::descriptions_size() const { - return _internal_descriptions_size(); -} -inline void CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::clear_descriptions() { - _impl_.descriptions_.Clear(); -} -inline ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::mutable_descriptions(int index) { - // @@protoc_insertion_point(field_mutable:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.descriptions) - return _impl_.descriptions_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription >* -CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::mutable_descriptions() { - // @@protoc_insertion_point(field_mutable_list:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.descriptions) - return &_impl_.descriptions_; -} -inline const ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_internal_descriptions(int index) const { - return _impl_.descriptions_.Get(index); -} -inline const ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription& CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::descriptions(int index) const { - // @@protoc_insertion_point(field_get:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.descriptions) - return _internal_descriptions(index); -} -inline ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::_internal_add_descriptions() { - return _impl_.descriptions_.Add(); -} -inline ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::add_descriptions() { - ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription* _add = _internal_add_descriptions(); - // @@protoc_insertion_point(field_add:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.descriptions) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_SingleItemDescription >& -CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock::descriptions() const { - // @@protoc_insertion_point(field_list:CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock.descriptions) - return _impl_.descriptions_; -} - -// ------------------------------------------------------------------- - -// CWorkshop_PopulateItemDescriptions_Request - -// optional uint32 appid = 1; -inline bool CWorkshop_PopulateItemDescriptions_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CWorkshop_PopulateItemDescriptions_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CWorkshop_PopulateItemDescriptions_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CWorkshop_PopulateItemDescriptions_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CWorkshop_PopulateItemDescriptions_Request::appid() const { - // @@protoc_insertion_point(field_get:CWorkshop_PopulateItemDescriptions_Request.appid) - return _internal_appid(); -} -inline void CWorkshop_PopulateItemDescriptions_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.appid_ = value; -} -inline void CWorkshop_PopulateItemDescriptions_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CWorkshop_PopulateItemDescriptions_Request.appid) -} - -// repeated .CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock languages = 2; -inline int CWorkshop_PopulateItemDescriptions_Request::_internal_languages_size() const { - return _impl_.languages_.size(); -} -inline int CWorkshop_PopulateItemDescriptions_Request::languages_size() const { - return _internal_languages_size(); -} -inline void CWorkshop_PopulateItemDescriptions_Request::clear_languages() { - _impl_.languages_.Clear(); -} -inline ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* CWorkshop_PopulateItemDescriptions_Request::mutable_languages(int index) { - // @@protoc_insertion_point(field_mutable:CWorkshop_PopulateItemDescriptions_Request.languages) - return _impl_.languages_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock >* -CWorkshop_PopulateItemDescriptions_Request::mutable_languages() { - // @@protoc_insertion_point(field_mutable_list:CWorkshop_PopulateItemDescriptions_Request.languages) - return &_impl_.languages_; -} -inline const ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& CWorkshop_PopulateItemDescriptions_Request::_internal_languages(int index) const { - return _impl_.languages_.Get(index); -} -inline const ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock& CWorkshop_PopulateItemDescriptions_Request::languages(int index) const { - // @@protoc_insertion_point(field_get:CWorkshop_PopulateItemDescriptions_Request.languages) - return _internal_languages(index); -} -inline ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* CWorkshop_PopulateItemDescriptions_Request::_internal_add_languages() { - return _impl_.languages_.Add(); -} -inline ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* CWorkshop_PopulateItemDescriptions_Request::add_languages() { - ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock* _add = _internal_add_languages(); - // @@protoc_insertion_point(field_add:CWorkshop_PopulateItemDescriptions_Request.languages) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_PopulateItemDescriptions_Request_ItemDescriptionsLanguageBlock >& -CWorkshop_PopulateItemDescriptions_Request::languages() const { - // @@protoc_insertion_point(field_list:CWorkshop_PopulateItemDescriptions_Request.languages) - return _impl_.languages_; -} - -// ------------------------------------------------------------------- - -// CWorkshop_GetContributors_Request - -// optional uint32 appid = 1; -inline bool CWorkshop_GetContributors_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CWorkshop_GetContributors_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CWorkshop_GetContributors_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CWorkshop_GetContributors_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CWorkshop_GetContributors_Request::appid() const { - // @@protoc_insertion_point(field_get:CWorkshop_GetContributors_Request.appid) - return _internal_appid(); -} -inline void CWorkshop_GetContributors_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.appid_ = value; -} -inline void CWorkshop_GetContributors_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CWorkshop_GetContributors_Request.appid) -} - -// optional uint32 gameitemid = 2; -inline bool CWorkshop_GetContributors_Request::_internal_has_gameitemid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CWorkshop_GetContributors_Request::has_gameitemid() const { - return _internal_has_gameitemid(); -} -inline void CWorkshop_GetContributors_Request::clear_gameitemid() { - _impl_.gameitemid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CWorkshop_GetContributors_Request::_internal_gameitemid() const { - return _impl_.gameitemid_; -} -inline uint32_t CWorkshop_GetContributors_Request::gameitemid() const { - // @@protoc_insertion_point(field_get:CWorkshop_GetContributors_Request.gameitemid) - return _internal_gameitemid(); -} -inline void CWorkshop_GetContributors_Request::_internal_set_gameitemid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.gameitemid_ = value; -} -inline void CWorkshop_GetContributors_Request::set_gameitemid(uint32_t value) { - _internal_set_gameitemid(value); - // @@protoc_insertion_point(field_set:CWorkshop_GetContributors_Request.gameitemid) -} - -// ------------------------------------------------------------------- - -// CWorkshop_GetContributors_Response - -// repeated fixed64 contributors = 1; -inline int CWorkshop_GetContributors_Response::_internal_contributors_size() const { - return _impl_.contributors_.size(); -} -inline int CWorkshop_GetContributors_Response::contributors_size() const { - return _internal_contributors_size(); -} -inline void CWorkshop_GetContributors_Response::clear_contributors() { - _impl_.contributors_.Clear(); -} -inline uint64_t CWorkshop_GetContributors_Response::_internal_contributors(int index) const { - return _impl_.contributors_.Get(index); -} -inline uint64_t CWorkshop_GetContributors_Response::contributors(int index) const { - // @@protoc_insertion_point(field_get:CWorkshop_GetContributors_Response.contributors) - return _internal_contributors(index); -} -inline void CWorkshop_GetContributors_Response::set_contributors(int index, uint64_t value) { - _impl_.contributors_.Set(index, value); - // @@protoc_insertion_point(field_set:CWorkshop_GetContributors_Response.contributors) -} -inline void CWorkshop_GetContributors_Response::_internal_add_contributors(uint64_t value) { - _impl_.contributors_.Add(value); -} -inline void CWorkshop_GetContributors_Response::add_contributors(uint64_t value) { - _internal_add_contributors(value); - // @@protoc_insertion_point(field_add:CWorkshop_GetContributors_Response.contributors) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CWorkshop_GetContributors_Response::_internal_contributors() const { - return _impl_.contributors_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CWorkshop_GetContributors_Response::contributors() const { - // @@protoc_insertion_point(field_list:CWorkshop_GetContributors_Response.contributors) - return _internal_contributors(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CWorkshop_GetContributors_Response::_internal_mutable_contributors() { - return &_impl_.contributors_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CWorkshop_GetContributors_Response::mutable_contributors() { - // @@protoc_insertion_point(field_mutable_list:CWorkshop_GetContributors_Response.contributors) - return _internal_mutable_contributors(); -} - -// ------------------------------------------------------------------- - -// CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule - -// optional uint64 workshop_file_id = 1; -inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_has_workshop_file_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::has_workshop_file_id() const { - return _internal_has_workshop_file_id(); -} -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::clear_workshop_file_id() { - _impl_.workshop_file_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_workshop_file_id() const { - return _impl_.workshop_file_id_; -} -inline uint64_t CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::workshop_file_id() const { - // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.workshop_file_id) - return _internal_workshop_file_id(); -} -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_set_workshop_file_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.workshop_file_id_ = value; -} -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::set_workshop_file_id(uint64_t value) { - _internal_set_workshop_file_id(value); - // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.workshop_file_id) -} - -// optional float revenue_percentage = 2; -inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_has_revenue_percentage() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::has_revenue_percentage() const { - return _internal_has_revenue_percentage(); -} -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::clear_revenue_percentage() { - _impl_.revenue_percentage_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_revenue_percentage() const { - return _impl_.revenue_percentage_; -} -inline float CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::revenue_percentage() const { - // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.revenue_percentage) - return _internal_revenue_percentage(); -} -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_set_revenue_percentage(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.revenue_percentage_ = value; -} -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::set_revenue_percentage(float value) { - _internal_set_revenue_percentage(value); - // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.revenue_percentage) -} - -// optional string rule_description = 3; -inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_has_rule_description() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::has_rule_description() const { - return _internal_has_rule_description(); -} -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::clear_rule_description() { - _impl_.rule_description_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::rule_description() const { - // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.rule_description) - return _internal_rule_description(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::set_rule_description(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.rule_description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.rule_description) -} -inline std::string* CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::mutable_rule_description() { - std::string* _s = _internal_mutable_rule_description(); - // @@protoc_insertion_point(field_mutable:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.rule_description) - return _s; -} -inline const std::string& CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_rule_description() const { - return _impl_.rule_description_.Get(); -} -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_set_rule_description(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.rule_description_.Set(value, GetArenaForAllocation()); -} -inline std::string* CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_mutable_rule_description() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.rule_description_.Mutable(GetArenaForAllocation()); -} -inline std::string* CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::release_rule_description() { - // @@protoc_insertion_point(field_release:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.rule_description) - if (!_internal_has_rule_description()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.rule_description_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.rule_description_.IsDefault()) { - _impl_.rule_description_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::set_allocated_rule_description(std::string* rule_description) { - if (rule_description != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.rule_description_.SetAllocated(rule_description, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.rule_description_.IsDefault()) { - _impl_.rule_description_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.rule_description) -} - -// optional uint32 rule_type = 4 [default = 1]; -inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_has_rule_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::has_rule_type() const { - return _internal_has_rule_type(); -} -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::clear_rule_type() { - _impl_.rule_type_ = 1u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_rule_type() const { - return _impl_.rule_type_; -} -inline uint32_t CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::rule_type() const { - // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.rule_type) - return _internal_rule_type(); -} -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::_internal_set_rule_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.rule_type_ = value; -} -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule::set_rule_type(uint32_t value) { - _internal_set_rule_type(value); - // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule.rule_type) -} - -// ------------------------------------------------------------------- - -// CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule - -// optional uint64 workshop_file_id = 1; -inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_internal_has_workshop_file_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::has_workshop_file_id() const { - return _internal_has_workshop_file_id(); -} -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::clear_workshop_file_id() { - _impl_.workshop_file_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_internal_workshop_file_id() const { - return _impl_.workshop_file_id_; -} -inline uint64_t CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::workshop_file_id() const { - // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule.workshop_file_id) - return _internal_workshop_file_id(); -} -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_internal_set_workshop_file_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.workshop_file_id_ = value; -} -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::set_workshop_file_id(uint64_t value) { - _internal_set_workshop_file_id(value); - // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule.workshop_file_id) -} - -// optional string rule_description = 2; -inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_internal_has_rule_description() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::has_rule_description() const { - return _internal_has_rule_description(); -} -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::clear_rule_description() { - _impl_.rule_description_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::rule_description() const { - // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule.rule_description) - return _internal_rule_description(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::set_rule_description(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.rule_description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule.rule_description) -} -inline std::string* CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::mutable_rule_description() { - std::string* _s = _internal_mutable_rule_description(); - // @@protoc_insertion_point(field_mutable:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule.rule_description) - return _s; -} -inline const std::string& CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_internal_rule_description() const { - return _impl_.rule_description_.Get(); -} -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_internal_set_rule_description(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.rule_description_.Set(value, GetArenaForAllocation()); -} -inline std::string* CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::_internal_mutable_rule_description() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.rule_description_.Mutable(GetArenaForAllocation()); -} -inline std::string* CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::release_rule_description() { - // @@protoc_insertion_point(field_release:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule.rule_description) - if (!_internal_has_rule_description()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.rule_description_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.rule_description_.IsDefault()) { - _impl_.rule_description_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule::set_allocated_rule_description(std::string* rule_description) { - if (rule_description != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.rule_description_.SetAllocated(rule_description, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.rule_description_.IsDefault()) { - _impl_.rule_description_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule.rule_description) -} - -// ------------------------------------------------------------------- - -// CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule - -// optional uint32 account_id = 1; -inline bool CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_has_account_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::has_account_id() const { - return _internal_has_account_id(); -} -inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::clear_account_id() { - _impl_.account_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_account_id() const { - return _impl_.account_id_; -} -inline uint32_t CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::account_id() const { - // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.account_id) - return _internal_account_id(); -} -inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_set_account_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.account_id_ = value; -} -inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::set_account_id(uint32_t value) { - _internal_set_account_id(value); - // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.account_id) -} - -// optional float revenue_percentage = 2; -inline bool CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_has_revenue_percentage() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::has_revenue_percentage() const { - return _internal_has_revenue_percentage(); -} -inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::clear_revenue_percentage() { - _impl_.revenue_percentage_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_revenue_percentage() const { - return _impl_.revenue_percentage_; -} -inline float CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::revenue_percentage() const { - // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.revenue_percentage) - return _internal_revenue_percentage(); -} -inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_set_revenue_percentage(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.revenue_percentage_ = value; -} -inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::set_revenue_percentage(float value) { - _internal_set_revenue_percentage(value); - // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.revenue_percentage) -} - -// optional string rule_description = 3; -inline bool CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_has_rule_description() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::has_rule_description() const { - return _internal_has_rule_description(); -} -inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::clear_rule_description() { - _impl_.rule_description_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::rule_description() const { - // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.rule_description) - return _internal_rule_description(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::set_rule_description(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.rule_description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.rule_description) -} -inline std::string* CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::mutable_rule_description() { - std::string* _s = _internal_mutable_rule_description(); - // @@protoc_insertion_point(field_mutable:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.rule_description) - return _s; -} -inline const std::string& CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_rule_description() const { - return _impl_.rule_description_.Get(); -} -inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_set_rule_description(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.rule_description_.Set(value, GetArenaForAllocation()); -} -inline std::string* CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::_internal_mutable_rule_description() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.rule_description_.Mutable(GetArenaForAllocation()); -} -inline std::string* CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::release_rule_description() { - // @@protoc_insertion_point(field_release:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.rule_description) - if (!_internal_has_rule_description()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.rule_description_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.rule_description_.IsDefault()) { - _impl_.rule_description_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule::set_allocated_rule_description(std::string* rule_description) { - if (rule_description != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.rule_description_.SetAllocated(rule_description, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.rule_description_.IsDefault()) { - _impl_.rule_description_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule.rule_description) -} - -// ------------------------------------------------------------------- - -// CWorkshop_SetItemPaymentRules_Request - -// optional uint32 appid = 1; -inline bool CWorkshop_SetItemPaymentRules_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CWorkshop_SetItemPaymentRules_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CWorkshop_SetItemPaymentRules_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CWorkshop_SetItemPaymentRules_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CWorkshop_SetItemPaymentRules_Request::appid() const { - // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.appid) - return _internal_appid(); -} -inline void CWorkshop_SetItemPaymentRules_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.appid_ = value; -} -inline void CWorkshop_SetItemPaymentRules_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.appid) -} - -// optional uint32 gameitemid = 2; -inline bool CWorkshop_SetItemPaymentRules_Request::_internal_has_gameitemid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CWorkshop_SetItemPaymentRules_Request::has_gameitemid() const { - return _internal_has_gameitemid(); -} -inline void CWorkshop_SetItemPaymentRules_Request::clear_gameitemid() { - _impl_.gameitemid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CWorkshop_SetItemPaymentRules_Request::_internal_gameitemid() const { - return _impl_.gameitemid_; -} -inline uint32_t CWorkshop_SetItemPaymentRules_Request::gameitemid() const { - // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.gameitemid) - return _internal_gameitemid(); -} -inline void CWorkshop_SetItemPaymentRules_Request::_internal_set_gameitemid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.gameitemid_ = value; -} -inline void CWorkshop_SetItemPaymentRules_Request::set_gameitemid(uint32_t value) { - _internal_set_gameitemid(value); - // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.gameitemid) -} - -// repeated .CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule associated_workshop_files = 3; -inline int CWorkshop_SetItemPaymentRules_Request::_internal_associated_workshop_files_size() const { - return _impl_.associated_workshop_files_.size(); -} -inline int CWorkshop_SetItemPaymentRules_Request::associated_workshop_files_size() const { - return _internal_associated_workshop_files_size(); -} -inline void CWorkshop_SetItemPaymentRules_Request::clear_associated_workshop_files() { - _impl_.associated_workshop_files_.Clear(); -} -inline ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* CWorkshop_SetItemPaymentRules_Request::mutable_associated_workshop_files(int index) { - // @@protoc_insertion_point(field_mutable:CWorkshop_SetItemPaymentRules_Request.associated_workshop_files) - return _impl_.associated_workshop_files_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule >* -CWorkshop_SetItemPaymentRules_Request::mutable_associated_workshop_files() { - // @@protoc_insertion_point(field_mutable_list:CWorkshop_SetItemPaymentRules_Request.associated_workshop_files) - return &_impl_.associated_workshop_files_; -} -inline const ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& CWorkshop_SetItemPaymentRules_Request::_internal_associated_workshop_files(int index) const { - return _impl_.associated_workshop_files_.Get(index); -} -inline const ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule& CWorkshop_SetItemPaymentRules_Request::associated_workshop_files(int index) const { - // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.associated_workshop_files) - return _internal_associated_workshop_files(index); -} -inline ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* CWorkshop_SetItemPaymentRules_Request::_internal_add_associated_workshop_files() { - return _impl_.associated_workshop_files_.Add(); -} -inline ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* CWorkshop_SetItemPaymentRules_Request::add_associated_workshop_files() { - ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule* _add = _internal_add_associated_workshop_files(); - // @@protoc_insertion_point(field_add:CWorkshop_SetItemPaymentRules_Request.associated_workshop_files) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_WorkshopItemPaymentRule >& -CWorkshop_SetItemPaymentRules_Request::associated_workshop_files() const { - // @@protoc_insertion_point(field_list:CWorkshop_SetItemPaymentRules_Request.associated_workshop_files) - return _impl_.associated_workshop_files_; -} - -// repeated .CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule partner_accounts = 4; -inline int CWorkshop_SetItemPaymentRules_Request::_internal_partner_accounts_size() const { - return _impl_.partner_accounts_.size(); -} -inline int CWorkshop_SetItemPaymentRules_Request::partner_accounts_size() const { - return _internal_partner_accounts_size(); -} -inline void CWorkshop_SetItemPaymentRules_Request::clear_partner_accounts() { - _impl_.partner_accounts_.Clear(); -} -inline ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* CWorkshop_SetItemPaymentRules_Request::mutable_partner_accounts(int index) { - // @@protoc_insertion_point(field_mutable:CWorkshop_SetItemPaymentRules_Request.partner_accounts) - return _impl_.partner_accounts_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule >* -CWorkshop_SetItemPaymentRules_Request::mutable_partner_accounts() { - // @@protoc_insertion_point(field_mutable_list:CWorkshop_SetItemPaymentRules_Request.partner_accounts) - return &_impl_.partner_accounts_; -} -inline const ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& CWorkshop_SetItemPaymentRules_Request::_internal_partner_accounts(int index) const { - return _impl_.partner_accounts_.Get(index); -} -inline const ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule& CWorkshop_SetItemPaymentRules_Request::partner_accounts(int index) const { - // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.partner_accounts) - return _internal_partner_accounts(index); -} -inline ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* CWorkshop_SetItemPaymentRules_Request::_internal_add_partner_accounts() { - return _impl_.partner_accounts_.Add(); -} -inline ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* CWorkshop_SetItemPaymentRules_Request::add_partner_accounts() { - ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule* _add = _internal_add_partner_accounts(); - // @@protoc_insertion_point(field_add:CWorkshop_SetItemPaymentRules_Request.partner_accounts) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CWorkshop_SetItemPaymentRules_Request_PartnerItemPaymentRule >& -CWorkshop_SetItemPaymentRules_Request::partner_accounts() const { - // @@protoc_insertion_point(field_list:CWorkshop_SetItemPaymentRules_Request.partner_accounts) - return _impl_.partner_accounts_; -} - -// optional bool validate_only = 5; -inline bool CWorkshop_SetItemPaymentRules_Request::_internal_has_validate_only() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CWorkshop_SetItemPaymentRules_Request::has_validate_only() const { - return _internal_has_validate_only(); -} -inline void CWorkshop_SetItemPaymentRules_Request::clear_validate_only() { - _impl_.validate_only_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CWorkshop_SetItemPaymentRules_Request::_internal_validate_only() const { - return _impl_.validate_only_; -} -inline bool CWorkshop_SetItemPaymentRules_Request::validate_only() const { - // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.validate_only) - return _internal_validate_only(); -} -inline void CWorkshop_SetItemPaymentRules_Request::_internal_set_validate_only(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.validate_only_ = value; -} -inline void CWorkshop_SetItemPaymentRules_Request::set_validate_only(bool value) { - _internal_set_validate_only(value); - // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.validate_only) -} - -// optional bool make_workshop_files_subscribable = 6; -inline bool CWorkshop_SetItemPaymentRules_Request::_internal_has_make_workshop_files_subscribable() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CWorkshop_SetItemPaymentRules_Request::has_make_workshop_files_subscribable() const { - return _internal_has_make_workshop_files_subscribable(); -} -inline void CWorkshop_SetItemPaymentRules_Request::clear_make_workshop_files_subscribable() { - _impl_.make_workshop_files_subscribable_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool CWorkshop_SetItemPaymentRules_Request::_internal_make_workshop_files_subscribable() const { - return _impl_.make_workshop_files_subscribable_; -} -inline bool CWorkshop_SetItemPaymentRules_Request::make_workshop_files_subscribable() const { - // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.make_workshop_files_subscribable) - return _internal_make_workshop_files_subscribable(); -} -inline void CWorkshop_SetItemPaymentRules_Request::_internal_set_make_workshop_files_subscribable(bool value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.make_workshop_files_subscribable_ = value; -} -inline void CWorkshop_SetItemPaymentRules_Request::set_make_workshop_files_subscribable(bool value) { - _internal_set_make_workshop_files_subscribable(value); - // @@protoc_insertion_point(field_set:CWorkshop_SetItemPaymentRules_Request.make_workshop_files_subscribable) -} - -// optional .CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule associated_workshop_file_for_direct_payments = 7; -inline bool CWorkshop_SetItemPaymentRules_Request::_internal_has_associated_workshop_file_for_direct_payments() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.associated_workshop_file_for_direct_payments_ != nullptr); - return value; -} -inline bool CWorkshop_SetItemPaymentRules_Request::has_associated_workshop_file_for_direct_payments() const { - return _internal_has_associated_workshop_file_for_direct_payments(); -} -inline void CWorkshop_SetItemPaymentRules_Request::clear_associated_workshop_file_for_direct_payments() { - if (_impl_.associated_workshop_file_for_direct_payments_ != nullptr) _impl_.associated_workshop_file_for_direct_payments_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& CWorkshop_SetItemPaymentRules_Request::_internal_associated_workshop_file_for_direct_payments() const { - const ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* p = _impl_.associated_workshop_file_for_direct_payments_; - return p != nullptr ? *p : reinterpret_cast( - ::_CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule_default_instance_); -} -inline const ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule& CWorkshop_SetItemPaymentRules_Request::associated_workshop_file_for_direct_payments() const { - // @@protoc_insertion_point(field_get:CWorkshop_SetItemPaymentRules_Request.associated_workshop_file_for_direct_payments) - return _internal_associated_workshop_file_for_direct_payments(); -} -inline void CWorkshop_SetItemPaymentRules_Request::unsafe_arena_set_allocated_associated_workshop_file_for_direct_payments( - ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* associated_workshop_file_for_direct_payments) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.associated_workshop_file_for_direct_payments_); - } - _impl_.associated_workshop_file_for_direct_payments_ = associated_workshop_file_for_direct_payments; - if (associated_workshop_file_for_direct_payments) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CWorkshop_SetItemPaymentRules_Request.associated_workshop_file_for_direct_payments) -} -inline ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* CWorkshop_SetItemPaymentRules_Request::release_associated_workshop_file_for_direct_payments() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* temp = _impl_.associated_workshop_file_for_direct_payments_; - _impl_.associated_workshop_file_for_direct_payments_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* CWorkshop_SetItemPaymentRules_Request::unsafe_arena_release_associated_workshop_file_for_direct_payments() { - // @@protoc_insertion_point(field_release:CWorkshop_SetItemPaymentRules_Request.associated_workshop_file_for_direct_payments) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* temp = _impl_.associated_workshop_file_for_direct_payments_; - _impl_.associated_workshop_file_for_direct_payments_ = nullptr; - return temp; -} -inline ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* CWorkshop_SetItemPaymentRules_Request::_internal_mutable_associated_workshop_file_for_direct_payments() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.associated_workshop_file_for_direct_payments_ == nullptr) { - auto* p = CreateMaybeMessage<::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule>(GetArenaForAllocation()); - _impl_.associated_workshop_file_for_direct_payments_ = p; - } - return _impl_.associated_workshop_file_for_direct_payments_; -} -inline ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* CWorkshop_SetItemPaymentRules_Request::mutable_associated_workshop_file_for_direct_payments() { - ::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* _msg = _internal_mutable_associated_workshop_file_for_direct_payments(); - // @@protoc_insertion_point(field_mutable:CWorkshop_SetItemPaymentRules_Request.associated_workshop_file_for_direct_payments) - return _msg; -} -inline void CWorkshop_SetItemPaymentRules_Request::set_allocated_associated_workshop_file_for_direct_payments(::CWorkshop_SetItemPaymentRules_Request_WorkshopDirectPaymentRule* associated_workshop_file_for_direct_payments) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.associated_workshop_file_for_direct_payments_; - } - if (associated_workshop_file_for_direct_payments) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(associated_workshop_file_for_direct_payments); - if (message_arena != submessage_arena) { - associated_workshop_file_for_direct_payments = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, associated_workshop_file_for_direct_payments, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.associated_workshop_file_for_direct_payments_ = associated_workshop_file_for_direct_payments; - // @@protoc_insertion_point(field_set_allocated:CWorkshop_SetItemPaymentRules_Request.associated_workshop_file_for_direct_payments) -} - -// ------------------------------------------------------------------- - -// CWorkshop_SetItemPaymentRules_Response - -// ------------------------------------------------------------------- - -// CGameServers_AggregationQuery_Request - -// optional string filter = 1; -inline bool CGameServers_AggregationQuery_Request::_internal_has_filter() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CGameServers_AggregationQuery_Request::has_filter() const { - return _internal_has_filter(); -} -inline void CGameServers_AggregationQuery_Request::clear_filter() { - _impl_.filter_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CGameServers_AggregationQuery_Request::filter() const { - // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Request.filter) - return _internal_filter(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CGameServers_AggregationQuery_Request::set_filter(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.filter_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Request.filter) -} -inline std::string* CGameServers_AggregationQuery_Request::mutable_filter() { - std::string* _s = _internal_mutable_filter(); - // @@protoc_insertion_point(field_mutable:CGameServers_AggregationQuery_Request.filter) - return _s; -} -inline const std::string& CGameServers_AggregationQuery_Request::_internal_filter() const { - return _impl_.filter_.Get(); -} -inline void CGameServers_AggregationQuery_Request::_internal_set_filter(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.filter_.Set(value, GetArenaForAllocation()); -} -inline std::string* CGameServers_AggregationQuery_Request::_internal_mutable_filter() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.filter_.Mutable(GetArenaForAllocation()); -} -inline std::string* CGameServers_AggregationQuery_Request::release_filter() { - // @@protoc_insertion_point(field_release:CGameServers_AggregationQuery_Request.filter) - if (!_internal_has_filter()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.filter_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.filter_.IsDefault()) { - _impl_.filter_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CGameServers_AggregationQuery_Request::set_allocated_filter(std::string* filter) { - if (filter != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.filter_.SetAllocated(filter, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.filter_.IsDefault()) { - _impl_.filter_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CGameServers_AggregationQuery_Request.filter) -} - -// repeated string group_fields = 3; -inline int CGameServers_AggregationQuery_Request::_internal_group_fields_size() const { - return _impl_.group_fields_.size(); -} -inline int CGameServers_AggregationQuery_Request::group_fields_size() const { - return _internal_group_fields_size(); -} -inline void CGameServers_AggregationQuery_Request::clear_group_fields() { - _impl_.group_fields_.Clear(); -} -inline std::string* CGameServers_AggregationQuery_Request::add_group_fields() { - std::string* _s = _internal_add_group_fields(); - // @@protoc_insertion_point(field_add_mutable:CGameServers_AggregationQuery_Request.group_fields) - return _s; -} -inline const std::string& CGameServers_AggregationQuery_Request::_internal_group_fields(int index) const { - return _impl_.group_fields_.Get(index); -} -inline const std::string& CGameServers_AggregationQuery_Request::group_fields(int index) const { - // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Request.group_fields) - return _internal_group_fields(index); -} -inline std::string* CGameServers_AggregationQuery_Request::mutable_group_fields(int index) { - // @@protoc_insertion_point(field_mutable:CGameServers_AggregationQuery_Request.group_fields) - return _impl_.group_fields_.Mutable(index); -} -inline void CGameServers_AggregationQuery_Request::set_group_fields(int index, const std::string& value) { - _impl_.group_fields_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Request.group_fields) -} -inline void CGameServers_AggregationQuery_Request::set_group_fields(int index, std::string&& value) { - _impl_.group_fields_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Request.group_fields) -} -inline void CGameServers_AggregationQuery_Request::set_group_fields(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.group_fields_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CGameServers_AggregationQuery_Request.group_fields) -} -inline void CGameServers_AggregationQuery_Request::set_group_fields(int index, const char* value, size_t size) { - _impl_.group_fields_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CGameServers_AggregationQuery_Request.group_fields) -} -inline std::string* CGameServers_AggregationQuery_Request::_internal_add_group_fields() { - return _impl_.group_fields_.Add(); -} -inline void CGameServers_AggregationQuery_Request::add_group_fields(const std::string& value) { - _impl_.group_fields_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CGameServers_AggregationQuery_Request.group_fields) -} -inline void CGameServers_AggregationQuery_Request::add_group_fields(std::string&& value) { - _impl_.group_fields_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CGameServers_AggregationQuery_Request.group_fields) -} -inline void CGameServers_AggregationQuery_Request::add_group_fields(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.group_fields_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CGameServers_AggregationQuery_Request.group_fields) -} -inline void CGameServers_AggregationQuery_Request::add_group_fields(const char* value, size_t size) { - _impl_.group_fields_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CGameServers_AggregationQuery_Request.group_fields) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CGameServers_AggregationQuery_Request::group_fields() const { - // @@protoc_insertion_point(field_list:CGameServers_AggregationQuery_Request.group_fields) - return _impl_.group_fields_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CGameServers_AggregationQuery_Request::mutable_group_fields() { - // @@protoc_insertion_point(field_mutable_list:CGameServers_AggregationQuery_Request.group_fields) - return &_impl_.group_fields_; -} - -// ------------------------------------------------------------------- - -// CGameServers_AggregationQuery_Response_Group - -// repeated string group_values = 1; -inline int CGameServers_AggregationQuery_Response_Group::_internal_group_values_size() const { - return _impl_.group_values_.size(); -} -inline int CGameServers_AggregationQuery_Response_Group::group_values_size() const { - return _internal_group_values_size(); -} -inline void CGameServers_AggregationQuery_Response_Group::clear_group_values() { - _impl_.group_values_.Clear(); -} -inline std::string* CGameServers_AggregationQuery_Response_Group::add_group_values() { - std::string* _s = _internal_add_group_values(); - // @@protoc_insertion_point(field_add_mutable:CGameServers_AggregationQuery_Response.Group.group_values) - return _s; -} -inline const std::string& CGameServers_AggregationQuery_Response_Group::_internal_group_values(int index) const { - return _impl_.group_values_.Get(index); -} -inline const std::string& CGameServers_AggregationQuery_Response_Group::group_values(int index) const { - // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Response.Group.group_values) - return _internal_group_values(index); -} -inline std::string* CGameServers_AggregationQuery_Response_Group::mutable_group_values(int index) { - // @@protoc_insertion_point(field_mutable:CGameServers_AggregationQuery_Response.Group.group_values) - return _impl_.group_values_.Mutable(index); -} -inline void CGameServers_AggregationQuery_Response_Group::set_group_values(int index, const std::string& value) { - _impl_.group_values_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Response.Group.group_values) -} -inline void CGameServers_AggregationQuery_Response_Group::set_group_values(int index, std::string&& value) { - _impl_.group_values_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Response.Group.group_values) -} -inline void CGameServers_AggregationQuery_Response_Group::set_group_values(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.group_values_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CGameServers_AggregationQuery_Response.Group.group_values) -} -inline void CGameServers_AggregationQuery_Response_Group::set_group_values(int index, const char* value, size_t size) { - _impl_.group_values_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CGameServers_AggregationQuery_Response.Group.group_values) -} -inline std::string* CGameServers_AggregationQuery_Response_Group::_internal_add_group_values() { - return _impl_.group_values_.Add(); -} -inline void CGameServers_AggregationQuery_Response_Group::add_group_values(const std::string& value) { - _impl_.group_values_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CGameServers_AggregationQuery_Response.Group.group_values) -} -inline void CGameServers_AggregationQuery_Response_Group::add_group_values(std::string&& value) { - _impl_.group_values_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CGameServers_AggregationQuery_Response.Group.group_values) -} -inline void CGameServers_AggregationQuery_Response_Group::add_group_values(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.group_values_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CGameServers_AggregationQuery_Response.Group.group_values) -} -inline void CGameServers_AggregationQuery_Response_Group::add_group_values(const char* value, size_t size) { - _impl_.group_values_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CGameServers_AggregationQuery_Response.Group.group_values) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CGameServers_AggregationQuery_Response_Group::group_values() const { - // @@protoc_insertion_point(field_list:CGameServers_AggregationQuery_Response.Group.group_values) - return _impl_.group_values_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CGameServers_AggregationQuery_Response_Group::mutable_group_values() { - // @@protoc_insertion_point(field_mutable_list:CGameServers_AggregationQuery_Response.Group.group_values) - return &_impl_.group_values_; -} - -// optional uint32 servers_empty = 2; -inline bool CGameServers_AggregationQuery_Response_Group::_internal_has_servers_empty() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CGameServers_AggregationQuery_Response_Group::has_servers_empty() const { - return _internal_has_servers_empty(); -} -inline void CGameServers_AggregationQuery_Response_Group::clear_servers_empty() { - _impl_.servers_empty_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CGameServers_AggregationQuery_Response_Group::_internal_servers_empty() const { - return _impl_.servers_empty_; -} -inline uint32_t CGameServers_AggregationQuery_Response_Group::servers_empty() const { - // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Response.Group.servers_empty) - return _internal_servers_empty(); -} -inline void CGameServers_AggregationQuery_Response_Group::_internal_set_servers_empty(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.servers_empty_ = value; -} -inline void CGameServers_AggregationQuery_Response_Group::set_servers_empty(uint32_t value) { - _internal_set_servers_empty(value); - // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Response.Group.servers_empty) -} - -// optional uint32 servers_full = 3; -inline bool CGameServers_AggregationQuery_Response_Group::_internal_has_servers_full() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CGameServers_AggregationQuery_Response_Group::has_servers_full() const { - return _internal_has_servers_full(); -} -inline void CGameServers_AggregationQuery_Response_Group::clear_servers_full() { - _impl_.servers_full_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CGameServers_AggregationQuery_Response_Group::_internal_servers_full() const { - return _impl_.servers_full_; -} -inline uint32_t CGameServers_AggregationQuery_Response_Group::servers_full() const { - // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Response.Group.servers_full) - return _internal_servers_full(); -} -inline void CGameServers_AggregationQuery_Response_Group::_internal_set_servers_full(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.servers_full_ = value; -} -inline void CGameServers_AggregationQuery_Response_Group::set_servers_full(uint32_t value) { - _internal_set_servers_full(value); - // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Response.Group.servers_full) -} - -// optional uint32 servers_total = 4; -inline bool CGameServers_AggregationQuery_Response_Group::_internal_has_servers_total() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CGameServers_AggregationQuery_Response_Group::has_servers_total() const { - return _internal_has_servers_total(); -} -inline void CGameServers_AggregationQuery_Response_Group::clear_servers_total() { - _impl_.servers_total_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CGameServers_AggregationQuery_Response_Group::_internal_servers_total() const { - return _impl_.servers_total_; -} -inline uint32_t CGameServers_AggregationQuery_Response_Group::servers_total() const { - // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Response.Group.servers_total) - return _internal_servers_total(); -} -inline void CGameServers_AggregationQuery_Response_Group::_internal_set_servers_total(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.servers_total_ = value; -} -inline void CGameServers_AggregationQuery_Response_Group::set_servers_total(uint32_t value) { - _internal_set_servers_total(value); - // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Response.Group.servers_total) -} - -// optional uint32 players_humans = 5; -inline bool CGameServers_AggregationQuery_Response_Group::_internal_has_players_humans() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CGameServers_AggregationQuery_Response_Group::has_players_humans() const { - return _internal_has_players_humans(); -} -inline void CGameServers_AggregationQuery_Response_Group::clear_players_humans() { - _impl_.players_humans_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CGameServers_AggregationQuery_Response_Group::_internal_players_humans() const { - return _impl_.players_humans_; -} -inline uint32_t CGameServers_AggregationQuery_Response_Group::players_humans() const { - // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Response.Group.players_humans) - return _internal_players_humans(); -} -inline void CGameServers_AggregationQuery_Response_Group::_internal_set_players_humans(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.players_humans_ = value; -} -inline void CGameServers_AggregationQuery_Response_Group::set_players_humans(uint32_t value) { - _internal_set_players_humans(value); - // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Response.Group.players_humans) -} - -// optional uint32 players_bots = 6; -inline bool CGameServers_AggregationQuery_Response_Group::_internal_has_players_bots() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CGameServers_AggregationQuery_Response_Group::has_players_bots() const { - return _internal_has_players_bots(); -} -inline void CGameServers_AggregationQuery_Response_Group::clear_players_bots() { - _impl_.players_bots_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CGameServers_AggregationQuery_Response_Group::_internal_players_bots() const { - return _impl_.players_bots_; -} -inline uint32_t CGameServers_AggregationQuery_Response_Group::players_bots() const { - // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Response.Group.players_bots) - return _internal_players_bots(); -} -inline void CGameServers_AggregationQuery_Response_Group::_internal_set_players_bots(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.players_bots_ = value; -} -inline void CGameServers_AggregationQuery_Response_Group::set_players_bots(uint32_t value) { - _internal_set_players_bots(value); - // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Response.Group.players_bots) -} - -// optional uint32 player_capacity = 7; -inline bool CGameServers_AggregationQuery_Response_Group::_internal_has_player_capacity() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CGameServers_AggregationQuery_Response_Group::has_player_capacity() const { - return _internal_has_player_capacity(); -} -inline void CGameServers_AggregationQuery_Response_Group::clear_player_capacity() { - _impl_.player_capacity_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CGameServers_AggregationQuery_Response_Group::_internal_player_capacity() const { - return _impl_.player_capacity_; -} -inline uint32_t CGameServers_AggregationQuery_Response_Group::player_capacity() const { - // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Response.Group.player_capacity) - return _internal_player_capacity(); -} -inline void CGameServers_AggregationQuery_Response_Group::_internal_set_player_capacity(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.player_capacity_ = value; -} -inline void CGameServers_AggregationQuery_Response_Group::set_player_capacity(uint32_t value) { - _internal_set_player_capacity(value); - // @@protoc_insertion_point(field_set:CGameServers_AggregationQuery_Response.Group.player_capacity) -} - -// ------------------------------------------------------------------- - -// CGameServers_AggregationQuery_Response - -// repeated .CGameServers_AggregationQuery_Response.Group groups = 1; -inline int CGameServers_AggregationQuery_Response::_internal_groups_size() const { - return _impl_.groups_.size(); -} -inline int CGameServers_AggregationQuery_Response::groups_size() const { - return _internal_groups_size(); -} -inline void CGameServers_AggregationQuery_Response::clear_groups() { - _impl_.groups_.Clear(); -} -inline ::CGameServers_AggregationQuery_Response_Group* CGameServers_AggregationQuery_Response::mutable_groups(int index) { - // @@protoc_insertion_point(field_mutable:CGameServers_AggregationQuery_Response.groups) - return _impl_.groups_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameServers_AggregationQuery_Response_Group >* -CGameServers_AggregationQuery_Response::mutable_groups() { - // @@protoc_insertion_point(field_mutable_list:CGameServers_AggregationQuery_Response.groups) - return &_impl_.groups_; -} -inline const ::CGameServers_AggregationQuery_Response_Group& CGameServers_AggregationQuery_Response::_internal_groups(int index) const { - return _impl_.groups_.Get(index); -} -inline const ::CGameServers_AggregationQuery_Response_Group& CGameServers_AggregationQuery_Response::groups(int index) const { - // @@protoc_insertion_point(field_get:CGameServers_AggregationQuery_Response.groups) - return _internal_groups(index); -} -inline ::CGameServers_AggregationQuery_Response_Group* CGameServers_AggregationQuery_Response::_internal_add_groups() { - return _impl_.groups_.Add(); -} -inline ::CGameServers_AggregationQuery_Response_Group* CGameServers_AggregationQuery_Response::add_groups() { - ::CGameServers_AggregationQuery_Response_Group* _add = _internal_add_groups(); - // @@protoc_insertion_point(field_add:CGameServers_AggregationQuery_Response.groups) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameServers_AggregationQuery_Response_Group >& -CGameServers_AggregationQuery_Response::groups() const { - // @@protoc_insertion_point(field_list:CGameServers_AggregationQuery_Response.groups) - return _impl_.groups_; -} - -// ------------------------------------------------------------------- - -// CWorkshop_AddSpecialPayment_Request - -// optional uint32 appid = 1; -inline bool CWorkshop_AddSpecialPayment_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CWorkshop_AddSpecialPayment_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CWorkshop_AddSpecialPayment_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CWorkshop_AddSpecialPayment_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CWorkshop_AddSpecialPayment_Request::appid() const { - // @@protoc_insertion_point(field_get:CWorkshop_AddSpecialPayment_Request.appid) - return _internal_appid(); -} -inline void CWorkshop_AddSpecialPayment_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.appid_ = value; -} -inline void CWorkshop_AddSpecialPayment_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CWorkshop_AddSpecialPayment_Request.appid) -} - -// optional uint32 gameitemid = 2; -inline bool CWorkshop_AddSpecialPayment_Request::_internal_has_gameitemid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CWorkshop_AddSpecialPayment_Request::has_gameitemid() const { - return _internal_has_gameitemid(); -} -inline void CWorkshop_AddSpecialPayment_Request::clear_gameitemid() { - _impl_.gameitemid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CWorkshop_AddSpecialPayment_Request::_internal_gameitemid() const { - return _impl_.gameitemid_; -} -inline uint32_t CWorkshop_AddSpecialPayment_Request::gameitemid() const { - // @@protoc_insertion_point(field_get:CWorkshop_AddSpecialPayment_Request.gameitemid) - return _internal_gameitemid(); -} -inline void CWorkshop_AddSpecialPayment_Request::_internal_set_gameitemid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.gameitemid_ = value; -} -inline void CWorkshop_AddSpecialPayment_Request::set_gameitemid(uint32_t value) { - _internal_set_gameitemid(value); - // @@protoc_insertion_point(field_set:CWorkshop_AddSpecialPayment_Request.gameitemid) -} - -// optional string date = 3; -inline bool CWorkshop_AddSpecialPayment_Request::_internal_has_date() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CWorkshop_AddSpecialPayment_Request::has_date() const { - return _internal_has_date(); -} -inline void CWorkshop_AddSpecialPayment_Request::clear_date() { - _impl_.date_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CWorkshop_AddSpecialPayment_Request::date() const { - // @@protoc_insertion_point(field_get:CWorkshop_AddSpecialPayment_Request.date) - return _internal_date(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CWorkshop_AddSpecialPayment_Request::set_date(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.date_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CWorkshop_AddSpecialPayment_Request.date) -} -inline std::string* CWorkshop_AddSpecialPayment_Request::mutable_date() { - std::string* _s = _internal_mutable_date(); - // @@protoc_insertion_point(field_mutable:CWorkshop_AddSpecialPayment_Request.date) - return _s; -} -inline const std::string& CWorkshop_AddSpecialPayment_Request::_internal_date() const { - return _impl_.date_.Get(); -} -inline void CWorkshop_AddSpecialPayment_Request::_internal_set_date(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.date_.Set(value, GetArenaForAllocation()); -} -inline std::string* CWorkshop_AddSpecialPayment_Request::_internal_mutable_date() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.date_.Mutable(GetArenaForAllocation()); -} -inline std::string* CWorkshop_AddSpecialPayment_Request::release_date() { - // @@protoc_insertion_point(field_release:CWorkshop_AddSpecialPayment_Request.date) - if (!_internal_has_date()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.date_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.date_.IsDefault()) { - _impl_.date_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CWorkshop_AddSpecialPayment_Request::set_allocated_date(std::string* date) { - if (date != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.date_.SetAllocated(date, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.date_.IsDefault()) { - _impl_.date_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CWorkshop_AddSpecialPayment_Request.date) -} - -// optional uint64 payment_us_usd = 4; -inline bool CWorkshop_AddSpecialPayment_Request::_internal_has_payment_us_usd() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CWorkshop_AddSpecialPayment_Request::has_payment_us_usd() const { - return _internal_has_payment_us_usd(); -} -inline void CWorkshop_AddSpecialPayment_Request::clear_payment_us_usd() { - _impl_.payment_us_usd_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CWorkshop_AddSpecialPayment_Request::_internal_payment_us_usd() const { - return _impl_.payment_us_usd_; -} -inline uint64_t CWorkshop_AddSpecialPayment_Request::payment_us_usd() const { - // @@protoc_insertion_point(field_get:CWorkshop_AddSpecialPayment_Request.payment_us_usd) - return _internal_payment_us_usd(); -} -inline void CWorkshop_AddSpecialPayment_Request::_internal_set_payment_us_usd(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.payment_us_usd_ = value; -} -inline void CWorkshop_AddSpecialPayment_Request::set_payment_us_usd(uint64_t value) { - _internal_set_payment_us_usd(value); - // @@protoc_insertion_point(field_set:CWorkshop_AddSpecialPayment_Request.payment_us_usd) -} - -// optional uint64 payment_row_usd = 5; -inline bool CWorkshop_AddSpecialPayment_Request::_internal_has_payment_row_usd() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CWorkshop_AddSpecialPayment_Request::has_payment_row_usd() const { - return _internal_has_payment_row_usd(); -} -inline void CWorkshop_AddSpecialPayment_Request::clear_payment_row_usd() { - _impl_.payment_row_usd_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CWorkshop_AddSpecialPayment_Request::_internal_payment_row_usd() const { - return _impl_.payment_row_usd_; -} -inline uint64_t CWorkshop_AddSpecialPayment_Request::payment_row_usd() const { - // @@protoc_insertion_point(field_get:CWorkshop_AddSpecialPayment_Request.payment_row_usd) - return _internal_payment_row_usd(); -} -inline void CWorkshop_AddSpecialPayment_Request::_internal_set_payment_row_usd(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.payment_row_usd_ = value; -} -inline void CWorkshop_AddSpecialPayment_Request::set_payment_row_usd(uint64_t value) { - _internal_set_payment_row_usd(value); - // @@protoc_insertion_point(field_set:CWorkshop_AddSpecialPayment_Request.payment_row_usd) -} - -// ------------------------------------------------------------------- - -// CWorkshop_AddSpecialPayment_Response - -// ------------------------------------------------------------------- - -// CProductInfo_SetRichPresenceLocalization_Request_Token - -// optional string token = 1; -inline bool CProductInfo_SetRichPresenceLocalization_Request_Token::_internal_has_token() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CProductInfo_SetRichPresenceLocalization_Request_Token::has_token() const { - return _internal_has_token(); -} -inline void CProductInfo_SetRichPresenceLocalization_Request_Token::clear_token() { - _impl_.token_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CProductInfo_SetRichPresenceLocalization_Request_Token::token() const { - // @@protoc_insertion_point(field_get:CProductInfo_SetRichPresenceLocalization_Request.Token.token) - return _internal_token(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CProductInfo_SetRichPresenceLocalization_Request_Token::set_token(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.token_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CProductInfo_SetRichPresenceLocalization_Request.Token.token) -} -inline std::string* CProductInfo_SetRichPresenceLocalization_Request_Token::mutable_token() { - std::string* _s = _internal_mutable_token(); - // @@protoc_insertion_point(field_mutable:CProductInfo_SetRichPresenceLocalization_Request.Token.token) - return _s; -} -inline const std::string& CProductInfo_SetRichPresenceLocalization_Request_Token::_internal_token() const { - return _impl_.token_.Get(); -} -inline void CProductInfo_SetRichPresenceLocalization_Request_Token::_internal_set_token(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.token_.Set(value, GetArenaForAllocation()); -} -inline std::string* CProductInfo_SetRichPresenceLocalization_Request_Token::_internal_mutable_token() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.token_.Mutable(GetArenaForAllocation()); -} -inline std::string* CProductInfo_SetRichPresenceLocalization_Request_Token::release_token() { - // @@protoc_insertion_point(field_release:CProductInfo_SetRichPresenceLocalization_Request.Token.token) - if (!_internal_has_token()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.token_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.token_.IsDefault()) { - _impl_.token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CProductInfo_SetRichPresenceLocalization_Request_Token::set_allocated_token(std::string* token) { - if (token != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.token_.SetAllocated(token, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.token_.IsDefault()) { - _impl_.token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CProductInfo_SetRichPresenceLocalization_Request.Token.token) -} - -// optional string value = 2; -inline bool CProductInfo_SetRichPresenceLocalization_Request_Token::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CProductInfo_SetRichPresenceLocalization_Request_Token::has_value() const { - return _internal_has_value(); -} -inline void CProductInfo_SetRichPresenceLocalization_Request_Token::clear_value() { - _impl_.value_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CProductInfo_SetRichPresenceLocalization_Request_Token::value() const { - // @@protoc_insertion_point(field_get:CProductInfo_SetRichPresenceLocalization_Request.Token.value) - return _internal_value(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CProductInfo_SetRichPresenceLocalization_Request_Token::set_value(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CProductInfo_SetRichPresenceLocalization_Request.Token.value) -} -inline std::string* CProductInfo_SetRichPresenceLocalization_Request_Token::mutable_value() { - std::string* _s = _internal_mutable_value(); - // @@protoc_insertion_point(field_mutable:CProductInfo_SetRichPresenceLocalization_Request.Token.value) - return _s; -} -inline const std::string& CProductInfo_SetRichPresenceLocalization_Request_Token::_internal_value() const { - return _impl_.value_.Get(); -} -inline void CProductInfo_SetRichPresenceLocalization_Request_Token::_internal_set_value(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.value_.Set(value, GetArenaForAllocation()); -} -inline std::string* CProductInfo_SetRichPresenceLocalization_Request_Token::_internal_mutable_value() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.value_.Mutable(GetArenaForAllocation()); -} -inline std::string* CProductInfo_SetRichPresenceLocalization_Request_Token::release_value() { - // @@protoc_insertion_point(field_release:CProductInfo_SetRichPresenceLocalization_Request.Token.value) - if (!_internal_has_value()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.value_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_.IsDefault()) { - _impl_.value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CProductInfo_SetRichPresenceLocalization_Request_Token::set_allocated_value(std::string* value) { - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.value_.SetAllocated(value, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_.IsDefault()) { - _impl_.value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CProductInfo_SetRichPresenceLocalization_Request.Token.value) -} - -// ------------------------------------------------------------------- - -// CProductInfo_SetRichPresenceLocalization_Request_LanguageSection - -// optional string language = 1; -inline bool CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_internal_has_language() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::has_language() const { - return _internal_has_language(); -} -inline void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::clear_language() { - _impl_.language_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::language() const { - // @@protoc_insertion_point(field_get:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.language) - return _internal_language(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::set_language(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.language_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.language) -} -inline std::string* CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::mutable_language() { - std::string* _s = _internal_mutable_language(); - // @@protoc_insertion_point(field_mutable:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.language) - return _s; -} -inline const std::string& CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_internal_language() const { - return _impl_.language_.Get(); -} -inline void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_internal_set_language(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.language_.Set(value, GetArenaForAllocation()); -} -inline std::string* CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_internal_mutable_language() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.language_.Mutable(GetArenaForAllocation()); -} -inline std::string* CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::release_language() { - // @@protoc_insertion_point(field_release:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.language) - if (!_internal_has_language()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.language_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.language_.IsDefault()) { - _impl_.language_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::set_allocated_language(std::string* language) { - if (language != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.language_.SetAllocated(language, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.language_.IsDefault()) { - _impl_.language_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.language) -} - -// repeated .CProductInfo_SetRichPresenceLocalization_Request.Token tokens = 2; -inline int CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_internal_tokens_size() const { - return _impl_.tokens_.size(); -} -inline int CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::tokens_size() const { - return _internal_tokens_size(); -} -inline void CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::clear_tokens() { - _impl_.tokens_.Clear(); -} -inline ::CProductInfo_SetRichPresenceLocalization_Request_Token* CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::mutable_tokens(int index) { - // @@protoc_insertion_point(field_mutable:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.tokens) - return _impl_.tokens_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_Token >* -CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::mutable_tokens() { - // @@protoc_insertion_point(field_mutable_list:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.tokens) - return &_impl_.tokens_; -} -inline const ::CProductInfo_SetRichPresenceLocalization_Request_Token& CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_internal_tokens(int index) const { - return _impl_.tokens_.Get(index); -} -inline const ::CProductInfo_SetRichPresenceLocalization_Request_Token& CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::tokens(int index) const { - // @@protoc_insertion_point(field_get:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.tokens) - return _internal_tokens(index); -} -inline ::CProductInfo_SetRichPresenceLocalization_Request_Token* CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::_internal_add_tokens() { - return _impl_.tokens_.Add(); -} -inline ::CProductInfo_SetRichPresenceLocalization_Request_Token* CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::add_tokens() { - ::CProductInfo_SetRichPresenceLocalization_Request_Token* _add = _internal_add_tokens(); - // @@protoc_insertion_point(field_add:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.tokens) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_Token >& -CProductInfo_SetRichPresenceLocalization_Request_LanguageSection::tokens() const { - // @@protoc_insertion_point(field_list:CProductInfo_SetRichPresenceLocalization_Request.LanguageSection.tokens) - return _impl_.tokens_; -} - -// ------------------------------------------------------------------- - -// CProductInfo_SetRichPresenceLocalization_Request - -// optional uint32 appid = 1; -inline bool CProductInfo_SetRichPresenceLocalization_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CProductInfo_SetRichPresenceLocalization_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CProductInfo_SetRichPresenceLocalization_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CProductInfo_SetRichPresenceLocalization_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CProductInfo_SetRichPresenceLocalization_Request::appid() const { - // @@protoc_insertion_point(field_get:CProductInfo_SetRichPresenceLocalization_Request.appid) - return _internal_appid(); -} -inline void CProductInfo_SetRichPresenceLocalization_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.appid_ = value; -} -inline void CProductInfo_SetRichPresenceLocalization_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CProductInfo_SetRichPresenceLocalization_Request.appid) -} - -// repeated .CProductInfo_SetRichPresenceLocalization_Request.LanguageSection languages = 2; -inline int CProductInfo_SetRichPresenceLocalization_Request::_internal_languages_size() const { - return _impl_.languages_.size(); -} -inline int CProductInfo_SetRichPresenceLocalization_Request::languages_size() const { - return _internal_languages_size(); -} -inline void CProductInfo_SetRichPresenceLocalization_Request::clear_languages() { - _impl_.languages_.Clear(); -} -inline ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* CProductInfo_SetRichPresenceLocalization_Request::mutable_languages(int index) { - // @@protoc_insertion_point(field_mutable:CProductInfo_SetRichPresenceLocalization_Request.languages) - return _impl_.languages_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection >* -CProductInfo_SetRichPresenceLocalization_Request::mutable_languages() { - // @@protoc_insertion_point(field_mutable_list:CProductInfo_SetRichPresenceLocalization_Request.languages) - return &_impl_.languages_; -} -inline const ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& CProductInfo_SetRichPresenceLocalization_Request::_internal_languages(int index) const { - return _impl_.languages_.Get(index); -} -inline const ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection& CProductInfo_SetRichPresenceLocalization_Request::languages(int index) const { - // @@protoc_insertion_point(field_get:CProductInfo_SetRichPresenceLocalization_Request.languages) - return _internal_languages(index); -} -inline ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* CProductInfo_SetRichPresenceLocalization_Request::_internal_add_languages() { - return _impl_.languages_.Add(); -} -inline ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* CProductInfo_SetRichPresenceLocalization_Request::add_languages() { - ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection* _add = _internal_add_languages(); - // @@protoc_insertion_point(field_add:CProductInfo_SetRichPresenceLocalization_Request.languages) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CProductInfo_SetRichPresenceLocalization_Request_LanguageSection >& -CProductInfo_SetRichPresenceLocalization_Request::languages() const { - // @@protoc_insertion_point(field_list:CProductInfo_SetRichPresenceLocalization_Request.languages) - return _impl_.languages_; -} - -// optional uint64 steamid = 3; -inline bool CProductInfo_SetRichPresenceLocalization_Request::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CProductInfo_SetRichPresenceLocalization_Request::has_steamid() const { - return _internal_has_steamid(); -} -inline void CProductInfo_SetRichPresenceLocalization_Request::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CProductInfo_SetRichPresenceLocalization_Request::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CProductInfo_SetRichPresenceLocalization_Request::steamid() const { - // @@protoc_insertion_point(field_get:CProductInfo_SetRichPresenceLocalization_Request.steamid) - return _internal_steamid(); -} -inline void CProductInfo_SetRichPresenceLocalization_Request::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steamid_ = value; -} -inline void CProductInfo_SetRichPresenceLocalization_Request::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CProductInfo_SetRichPresenceLocalization_Request.steamid) -} - -// ------------------------------------------------------------------- - -// CProductInfo_SetRichPresenceLocalization_Response - -// ------------------------------------------------------------------- - -// CMsgSerializedSOCache_TypeCache - -// optional uint32 type = 1; -inline bool CMsgSerializedSOCache_TypeCache::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSerializedSOCache_TypeCache::has_type() const { - return _internal_has_type(); -} -inline void CMsgSerializedSOCache_TypeCache::clear_type() { - _impl_.type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSerializedSOCache_TypeCache::_internal_type() const { - return _impl_.type_; -} -inline uint32_t CMsgSerializedSOCache_TypeCache::type() const { - // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.TypeCache.type) - return _internal_type(); -} -inline void CMsgSerializedSOCache_TypeCache::_internal_set_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.type_ = value; -} -inline void CMsgSerializedSOCache_TypeCache::set_type(uint32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.TypeCache.type) -} - -// repeated bytes objects = 2; -inline int CMsgSerializedSOCache_TypeCache::_internal_objects_size() const { - return _impl_.objects_.size(); -} -inline int CMsgSerializedSOCache_TypeCache::objects_size() const { - return _internal_objects_size(); -} -inline void CMsgSerializedSOCache_TypeCache::clear_objects() { - _impl_.objects_.Clear(); -} -inline std::string* CMsgSerializedSOCache_TypeCache::add_objects() { - std::string* _s = _internal_add_objects(); - // @@protoc_insertion_point(field_add_mutable:CMsgSerializedSOCache.TypeCache.objects) - return _s; -} -inline const std::string& CMsgSerializedSOCache_TypeCache::_internal_objects(int index) const { - return _impl_.objects_.Get(index); -} -inline const std::string& CMsgSerializedSOCache_TypeCache::objects(int index) const { - // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.TypeCache.objects) - return _internal_objects(index); -} -inline std::string* CMsgSerializedSOCache_TypeCache::mutable_objects(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSerializedSOCache.TypeCache.objects) - return _impl_.objects_.Mutable(index); -} -inline void CMsgSerializedSOCache_TypeCache::set_objects(int index, const std::string& value) { - _impl_.objects_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.TypeCache.objects) -} -inline void CMsgSerializedSOCache_TypeCache::set_objects(int index, std::string&& value) { - _impl_.objects_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.TypeCache.objects) -} -inline void CMsgSerializedSOCache_TypeCache::set_objects(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.objects_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CMsgSerializedSOCache.TypeCache.objects) -} -inline void CMsgSerializedSOCache_TypeCache::set_objects(int index, const void* value, size_t size) { - _impl_.objects_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CMsgSerializedSOCache.TypeCache.objects) -} -inline std::string* CMsgSerializedSOCache_TypeCache::_internal_add_objects() { - return _impl_.objects_.Add(); -} -inline void CMsgSerializedSOCache_TypeCache::add_objects(const std::string& value) { - _impl_.objects_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CMsgSerializedSOCache.TypeCache.objects) -} -inline void CMsgSerializedSOCache_TypeCache::add_objects(std::string&& value) { - _impl_.objects_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CMsgSerializedSOCache.TypeCache.objects) -} -inline void CMsgSerializedSOCache_TypeCache::add_objects(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.objects_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CMsgSerializedSOCache.TypeCache.objects) -} -inline void CMsgSerializedSOCache_TypeCache::add_objects(const void* value, size_t size) { - _impl_.objects_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CMsgSerializedSOCache.TypeCache.objects) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CMsgSerializedSOCache_TypeCache::objects() const { - // @@protoc_insertion_point(field_list:CMsgSerializedSOCache.TypeCache.objects) - return _impl_.objects_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CMsgSerializedSOCache_TypeCache::mutable_objects() { - // @@protoc_insertion_point(field_mutable_list:CMsgSerializedSOCache.TypeCache.objects) - return &_impl_.objects_; -} - -// optional uint32 service_id = 3; -inline bool CMsgSerializedSOCache_TypeCache::_internal_has_service_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSerializedSOCache_TypeCache::has_service_id() const { - return _internal_has_service_id(); -} -inline void CMsgSerializedSOCache_TypeCache::clear_service_id() { - _impl_.service_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSerializedSOCache_TypeCache::_internal_service_id() const { - return _impl_.service_id_; -} -inline uint32_t CMsgSerializedSOCache_TypeCache::service_id() const { - // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.TypeCache.service_id) - return _internal_service_id(); -} -inline void CMsgSerializedSOCache_TypeCache::_internal_set_service_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.service_id_ = value; -} -inline void CMsgSerializedSOCache_TypeCache::set_service_id(uint32_t value) { - _internal_set_service_id(value); - // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.TypeCache.service_id) -} - -// ------------------------------------------------------------------- - -// CMsgSerializedSOCache_Cache_Version - -// optional uint32 service = 1; -inline bool CMsgSerializedSOCache_Cache_Version::_internal_has_service() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSerializedSOCache_Cache_Version::has_service() const { - return _internal_has_service(); -} -inline void CMsgSerializedSOCache_Cache_Version::clear_service() { - _impl_.service_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSerializedSOCache_Cache_Version::_internal_service() const { - return _impl_.service_; -} -inline uint32_t CMsgSerializedSOCache_Cache_Version::service() const { - // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.Cache.Version.service) - return _internal_service(); -} -inline void CMsgSerializedSOCache_Cache_Version::_internal_set_service(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.service_ = value; -} -inline void CMsgSerializedSOCache_Cache_Version::set_service(uint32_t value) { - _internal_set_service(value); - // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.Cache.Version.service) -} - -// optional uint64 version = 2; -inline bool CMsgSerializedSOCache_Cache_Version::_internal_has_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSerializedSOCache_Cache_Version::has_version() const { - return _internal_has_version(); -} -inline void CMsgSerializedSOCache_Cache_Version::clear_version() { - _impl_.version_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgSerializedSOCache_Cache_Version::_internal_version() const { - return _impl_.version_; -} -inline uint64_t CMsgSerializedSOCache_Cache_Version::version() const { - // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.Cache.Version.version) - return _internal_version(); -} -inline void CMsgSerializedSOCache_Cache_Version::_internal_set_version(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.version_ = value; -} -inline void CMsgSerializedSOCache_Cache_Version::set_version(uint64_t value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.Cache.Version.version) -} - -// ------------------------------------------------------------------- - -// CMsgSerializedSOCache_Cache - -// optional uint32 type = 1; -inline bool CMsgSerializedSOCache_Cache::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSerializedSOCache_Cache::has_type() const { - return _internal_has_type(); -} -inline void CMsgSerializedSOCache_Cache::clear_type() { - _impl_.type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSerializedSOCache_Cache::_internal_type() const { - return _impl_.type_; -} -inline uint32_t CMsgSerializedSOCache_Cache::type() const { - // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.Cache.type) - return _internal_type(); -} -inline void CMsgSerializedSOCache_Cache::_internal_set_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.type_ = value; -} -inline void CMsgSerializedSOCache_Cache::set_type(uint32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.Cache.type) -} - -// optional uint64 id = 2; -inline bool CMsgSerializedSOCache_Cache::_internal_has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSerializedSOCache_Cache::has_id() const { - return _internal_has_id(); -} -inline void CMsgSerializedSOCache_Cache::clear_id() { - _impl_.id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgSerializedSOCache_Cache::_internal_id() const { - return _impl_.id_; -} -inline uint64_t CMsgSerializedSOCache_Cache::id() const { - // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.Cache.id) - return _internal_id(); -} -inline void CMsgSerializedSOCache_Cache::_internal_set_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.id_ = value; -} -inline void CMsgSerializedSOCache_Cache::set_id(uint64_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.Cache.id) -} - -// repeated .CMsgSerializedSOCache.Cache.Version versions = 3; -inline int CMsgSerializedSOCache_Cache::_internal_versions_size() const { - return _impl_.versions_.size(); -} -inline int CMsgSerializedSOCache_Cache::versions_size() const { - return _internal_versions_size(); -} -inline void CMsgSerializedSOCache_Cache::clear_versions() { - _impl_.versions_.Clear(); -} -inline ::CMsgSerializedSOCache_Cache_Version* CMsgSerializedSOCache_Cache::mutable_versions(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSerializedSOCache.Cache.versions) - return _impl_.versions_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache_Version >* -CMsgSerializedSOCache_Cache::mutable_versions() { - // @@protoc_insertion_point(field_mutable_list:CMsgSerializedSOCache.Cache.versions) - return &_impl_.versions_; -} -inline const ::CMsgSerializedSOCache_Cache_Version& CMsgSerializedSOCache_Cache::_internal_versions(int index) const { - return _impl_.versions_.Get(index); -} -inline const ::CMsgSerializedSOCache_Cache_Version& CMsgSerializedSOCache_Cache::versions(int index) const { - // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.Cache.versions) - return _internal_versions(index); -} -inline ::CMsgSerializedSOCache_Cache_Version* CMsgSerializedSOCache_Cache::_internal_add_versions() { - return _impl_.versions_.Add(); -} -inline ::CMsgSerializedSOCache_Cache_Version* CMsgSerializedSOCache_Cache::add_versions() { - ::CMsgSerializedSOCache_Cache_Version* _add = _internal_add_versions(); - // @@protoc_insertion_point(field_add:CMsgSerializedSOCache.Cache.versions) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache_Version >& -CMsgSerializedSOCache_Cache::versions() const { - // @@protoc_insertion_point(field_list:CMsgSerializedSOCache.Cache.versions) - return _impl_.versions_; -} - -// repeated .CMsgSerializedSOCache.TypeCache type_caches = 4; -inline int CMsgSerializedSOCache_Cache::_internal_type_caches_size() const { - return _impl_.type_caches_.size(); -} -inline int CMsgSerializedSOCache_Cache::type_caches_size() const { - return _internal_type_caches_size(); -} -inline void CMsgSerializedSOCache_Cache::clear_type_caches() { - _impl_.type_caches_.Clear(); -} -inline ::CMsgSerializedSOCache_TypeCache* CMsgSerializedSOCache_Cache::mutable_type_caches(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSerializedSOCache.Cache.type_caches) - return _impl_.type_caches_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_TypeCache >* -CMsgSerializedSOCache_Cache::mutable_type_caches() { - // @@protoc_insertion_point(field_mutable_list:CMsgSerializedSOCache.Cache.type_caches) - return &_impl_.type_caches_; -} -inline const ::CMsgSerializedSOCache_TypeCache& CMsgSerializedSOCache_Cache::_internal_type_caches(int index) const { - return _impl_.type_caches_.Get(index); -} -inline const ::CMsgSerializedSOCache_TypeCache& CMsgSerializedSOCache_Cache::type_caches(int index) const { - // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.Cache.type_caches) - return _internal_type_caches(index); -} -inline ::CMsgSerializedSOCache_TypeCache* CMsgSerializedSOCache_Cache::_internal_add_type_caches() { - return _impl_.type_caches_.Add(); -} -inline ::CMsgSerializedSOCache_TypeCache* CMsgSerializedSOCache_Cache::add_type_caches() { - ::CMsgSerializedSOCache_TypeCache* _add = _internal_add_type_caches(); - // @@protoc_insertion_point(field_add:CMsgSerializedSOCache.Cache.type_caches) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_TypeCache >& -CMsgSerializedSOCache_Cache::type_caches() const { - // @@protoc_insertion_point(field_list:CMsgSerializedSOCache.Cache.type_caches) - return _impl_.type_caches_; -} - -// ------------------------------------------------------------------- - -// CMsgSerializedSOCache - -// optional uint32 file_version = 1; -inline bool CMsgSerializedSOCache::_internal_has_file_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSerializedSOCache::has_file_version() const { - return _internal_has_file_version(); -} -inline void CMsgSerializedSOCache::clear_file_version() { - _impl_.file_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSerializedSOCache::_internal_file_version() const { - return _impl_.file_version_; -} -inline uint32_t CMsgSerializedSOCache::file_version() const { - // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.file_version) - return _internal_file_version(); -} -inline void CMsgSerializedSOCache::_internal_set_file_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.file_version_ = value; -} -inline void CMsgSerializedSOCache::set_file_version(uint32_t value) { - _internal_set_file_version(value); - // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.file_version) -} - -// repeated .CMsgSerializedSOCache.Cache caches = 2; -inline int CMsgSerializedSOCache::_internal_caches_size() const { - return _impl_.caches_.size(); -} -inline int CMsgSerializedSOCache::caches_size() const { - return _internal_caches_size(); -} -inline void CMsgSerializedSOCache::clear_caches() { - _impl_.caches_.Clear(); -} -inline ::CMsgSerializedSOCache_Cache* CMsgSerializedSOCache::mutable_caches(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSerializedSOCache.caches) - return _impl_.caches_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache >* -CMsgSerializedSOCache::mutable_caches() { - // @@protoc_insertion_point(field_mutable_list:CMsgSerializedSOCache.caches) - return &_impl_.caches_; -} -inline const ::CMsgSerializedSOCache_Cache& CMsgSerializedSOCache::_internal_caches(int index) const { - return _impl_.caches_.Get(index); -} -inline const ::CMsgSerializedSOCache_Cache& CMsgSerializedSOCache::caches(int index) const { - // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.caches) - return _internal_caches(index); -} -inline ::CMsgSerializedSOCache_Cache* CMsgSerializedSOCache::_internal_add_caches() { - return _impl_.caches_.Add(); -} -inline ::CMsgSerializedSOCache_Cache* CMsgSerializedSOCache::add_caches() { - ::CMsgSerializedSOCache_Cache* _add = _internal_add_caches(); - // @@protoc_insertion_point(field_add:CMsgSerializedSOCache.caches) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSerializedSOCache_Cache >& -CMsgSerializedSOCache::caches() const { - // @@protoc_insertion_point(field_list:CMsgSerializedSOCache.caches) - return _impl_.caches_; -} - -// optional uint32 gc_socache_file_version = 3; -inline bool CMsgSerializedSOCache::_internal_has_gc_socache_file_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSerializedSOCache::has_gc_socache_file_version() const { - return _internal_has_gc_socache_file_version(); -} -inline void CMsgSerializedSOCache::clear_gc_socache_file_version() { - _impl_.gc_socache_file_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSerializedSOCache::_internal_gc_socache_file_version() const { - return _impl_.gc_socache_file_version_; -} -inline uint32_t CMsgSerializedSOCache::gc_socache_file_version() const { - // @@protoc_insertion_point(field_get:CMsgSerializedSOCache.gc_socache_file_version) - return _internal_gc_socache_file_version(); -} -inline void CMsgSerializedSOCache::_internal_set_gc_socache_file_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.gc_socache_file_version_ = value; -} -inline void CMsgSerializedSOCache::set_gc_socache_file_version(uint32_t value) { - _internal_set_gc_socache_file_version(value); - // @@protoc_insertion_point(field_set:CMsgSerializedSOCache.gc_socache_file_version) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::GCClientLauncherType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::GCClientLauncherType>() { - return ::GCClientLauncherType_descriptor(); -} -template <> struct is_proto_enum< ::GCConnectionStatus> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::GCConnectionStatus>() { - return ::GCConnectionStatus_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_gcsdk_5fgcmessages_2eproto diff --git a/protobuf/generated/gcsystemmsgs.pb.cc b/protobuf/generated/gcsystemmsgs.pb.cc deleted file mode 100644 index 8268ecbfe..000000000 --- a/protobuf/generated/gcsystemmsgs.pb.cc +++ /dev/null @@ -1,4932 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: gcsystemmsgs.proto - -#include "gcsystemmsgs.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CMsgGCHVacVerificationChange::CMsgGCHVacVerificationChange( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.is_verified_)*/false} {} -struct CMsgGCHVacVerificationChangeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCHVacVerificationChangeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCHVacVerificationChangeDefaultTypeInternal() {} - union { - CMsgGCHVacVerificationChange _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCHVacVerificationChangeDefaultTypeInternal _CMsgGCHVacVerificationChange_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCHAccountPhoneNumberChange::CMsgGCHAccountPhoneNumberChange( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.phone_id_)*/uint64_t{0u} - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.is_verified_)*/false - , /*decltype(_impl_.is_identifying_)*/false} {} -struct CMsgGCHAccountPhoneNumberChangeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCHAccountPhoneNumberChangeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCHAccountPhoneNumberChangeDefaultTypeInternal() {} - union { - CMsgGCHAccountPhoneNumberChange _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCHAccountPhoneNumberChangeDefaultTypeInternal _CMsgGCHAccountPhoneNumberChange_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCHInviteUserToLobby::CMsgGCHInviteUserToLobby( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.steamid_invited_)*/uint64_t{0u} - , /*decltype(_impl_.steamid_lobby_)*/uint64_t{0u} - , /*decltype(_impl_.appid_)*/0u} {} -struct CMsgGCHInviteUserToLobbyDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCHInviteUserToLobbyDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCHInviteUserToLobbyDefaultTypeInternal() {} - union { - CMsgGCHInviteUserToLobby _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCHInviteUserToLobbyDefaultTypeInternal _CMsgGCHInviteUserToLobby_default_instance_; -PROTOBUF_CONSTEXPR CMsgGCHRecurringSubscriptionStatusChange::CMsgGCHRecurringSubscriptionStatusChange( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.agreementid_)*/uint64_t{0u} - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.active_)*/false} {} -struct CMsgGCHRecurringSubscriptionStatusChangeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgGCHRecurringSubscriptionStatusChangeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgGCHRecurringSubscriptionStatusChangeDefaultTypeInternal() {} - union { - CMsgGCHRecurringSubscriptionStatusChange _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgGCHRecurringSubscriptionStatusChangeDefaultTypeInternal _CMsgGCHRecurringSubscriptionStatusChange_default_instance_; -PROTOBUF_CONSTEXPR CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.value_)*/uint64_t{0u} - , /*decltype(_impl_.attribute_)*/0u} {} -struct CQuest_PublisherAddCommunityItemsToPlayer_Request_AttributeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CQuest_PublisherAddCommunityItemsToPlayer_Request_AttributeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CQuest_PublisherAddCommunityItemsToPlayer_Request_AttributeDefaultTypeInternal() {} - union { - CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CQuest_PublisherAddCommunityItemsToPlayer_Request_AttributeDefaultTypeInternal _CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute_default_instance_; -PROTOBUF_CONSTEXPR CQuest_PublisherAddCommunityItemsToPlayer_Request::CQuest_PublisherAddCommunityItemsToPlayer_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.attributes_)*/{} - , /*decltype(_impl_.prefix_item_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.note_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.match_item_type_)*/0u - , /*decltype(_impl_.match_item_class_)*/0u} {} -struct CQuest_PublisherAddCommunityItemsToPlayer_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CQuest_PublisherAddCommunityItemsToPlayer_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CQuest_PublisherAddCommunityItemsToPlayer_RequestDefaultTypeInternal() {} - union { - CQuest_PublisherAddCommunityItemsToPlayer_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CQuest_PublisherAddCommunityItemsToPlayer_RequestDefaultTypeInternal _CQuest_PublisherAddCommunityItemsToPlayer_Request_default_instance_; -PROTOBUF_CONSTEXPR CQuest_PublisherAddCommunityItemsToPlayer_Response::CQuest_PublisherAddCommunityItemsToPlayer_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.items_matched_)*/0u - , /*decltype(_impl_.items_granted_)*/0u} {} -struct CQuest_PublisherAddCommunityItemsToPlayer_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CQuest_PublisherAddCommunityItemsToPlayer_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CQuest_PublisherAddCommunityItemsToPlayer_ResponseDefaultTypeInternal() {} - union { - CQuest_PublisherAddCommunityItemsToPlayer_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CQuest_PublisherAddCommunityItemsToPlayer_ResponseDefaultTypeInternal _CQuest_PublisherAddCommunityItemsToPlayer_Response_default_instance_; -PROTOBUF_CONSTEXPR CCommunity_GamePersonalDataCategoryInfo::CCommunity_GamePersonalDataCategoryInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.type_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.localization_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.template_file_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CCommunity_GamePersonalDataCategoryInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCommunity_GamePersonalDataCategoryInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCommunity_GamePersonalDataCategoryInfoDefaultTypeInternal() {} - union { - CCommunity_GamePersonalDataCategoryInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCommunity_GamePersonalDataCategoryInfoDefaultTypeInternal _CCommunity_GamePersonalDataCategoryInfo_default_instance_; -PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataCategories_Request::CCommunity_GetGamePersonalDataCategories_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.appid_)*/0u} {} -struct CCommunity_GetGamePersonalDataCategories_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataCategories_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCommunity_GetGamePersonalDataCategories_RequestDefaultTypeInternal() {} - union { - CCommunity_GetGamePersonalDataCategories_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCommunity_GetGamePersonalDataCategories_RequestDefaultTypeInternal _CCommunity_GetGamePersonalDataCategories_Request_default_instance_; -PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataCategories_Response::CCommunity_GetGamePersonalDataCategories_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.categories_)*/{} - , /*decltype(_impl_.app_assets_basename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CCommunity_GetGamePersonalDataCategories_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataCategories_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCommunity_GetGamePersonalDataCategories_ResponseDefaultTypeInternal() {} - union { - CCommunity_GetGamePersonalDataCategories_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCommunity_GetGamePersonalDataCategories_ResponseDefaultTypeInternal _CCommunity_GetGamePersonalDataCategories_Response_default_instance_; -PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataEntries_Request::CCommunity_GetGamePersonalDataEntries_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.type_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.continue_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.appid_)*/0u} {} -struct CCommunity_GetGamePersonalDataEntries_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataEntries_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCommunity_GetGamePersonalDataEntries_RequestDefaultTypeInternal() {} - union { - CCommunity_GetGamePersonalDataEntries_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCommunity_GetGamePersonalDataEntries_RequestDefaultTypeInternal _CCommunity_GetGamePersonalDataEntries_Request_default_instance_; -PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataEntries_Response::CCommunity_GetGamePersonalDataEntries_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.entries_)*/{} - , /*decltype(_impl_.continue_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.continue_text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.gceresult_)*/0u} {} -struct CCommunity_GetGamePersonalDataEntries_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataEntries_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCommunity_GetGamePersonalDataEntries_ResponseDefaultTypeInternal() {} - union { - CCommunity_GetGamePersonalDataEntries_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCommunity_GetGamePersonalDataEntries_ResponseDefaultTypeInternal _CCommunity_GetGamePersonalDataEntries_Response_default_instance_; -PROTOBUF_CONSTEXPR CCommunity_TerminateGamePersonalDataEntries_Request::CCommunity_TerminateGamePersonalDataEntries_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.appid_)*/0u} {} -struct CCommunity_TerminateGamePersonalDataEntries_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCommunity_TerminateGamePersonalDataEntries_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCommunity_TerminateGamePersonalDataEntries_RequestDefaultTypeInternal() {} - union { - CCommunity_TerminateGamePersonalDataEntries_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCommunity_TerminateGamePersonalDataEntries_RequestDefaultTypeInternal _CCommunity_TerminateGamePersonalDataEntries_Request_default_instance_; -PROTOBUF_CONSTEXPR CCommunity_TerminateGamePersonalDataEntries_Response::CCommunity_TerminateGamePersonalDataEntries_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.gceresult_)*/0u} {} -struct CCommunity_TerminateGamePersonalDataEntries_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCommunity_TerminateGamePersonalDataEntries_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCommunity_TerminateGamePersonalDataEntries_ResponseDefaultTypeInternal() {} - union { - CCommunity_TerminateGamePersonalDataEntries_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCommunity_TerminateGamePersonalDataEntries_ResponseDefaultTypeInternal _CCommunity_TerminateGamePersonalDataEntries_Response_default_instance_; -static ::_pb::Metadata file_level_metadata_gcsystemmsgs_2eproto[14]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_gcsystemmsgs_2eproto[6]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_gcsystemmsgs_2eproto = nullptr; - -const uint32_t TableStruct_gcsystemmsgs_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CMsgGCHVacVerificationChange, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCHVacVerificationChange, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCHVacVerificationChange, _impl_.steamid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCHVacVerificationChange, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCHVacVerificationChange, _impl_.is_verified_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgGCHAccountPhoneNumberChange, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCHAccountPhoneNumberChange, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCHAccountPhoneNumberChange, _impl_.steamid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCHAccountPhoneNumberChange, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCHAccountPhoneNumberChange, _impl_.phone_id_), - PROTOBUF_FIELD_OFFSET(::CMsgGCHAccountPhoneNumberChange, _impl_.is_verified_), - PROTOBUF_FIELD_OFFSET(::CMsgGCHAccountPhoneNumberChange, _impl_.is_identifying_), - 0, - 2, - 1, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CMsgGCHInviteUserToLobby, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCHInviteUserToLobby, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCHInviteUserToLobby, _impl_.steamid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCHInviteUserToLobby, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCHInviteUserToLobby, _impl_.steamid_invited_), - PROTOBUF_FIELD_OFFSET(::CMsgGCHInviteUserToLobby, _impl_.steamid_lobby_), - 0, - 3, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgGCHRecurringSubscriptionStatusChange, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgGCHRecurringSubscriptionStatusChange, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgGCHRecurringSubscriptionStatusChange, _impl_.steamid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCHRecurringSubscriptionStatusChange, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCHRecurringSubscriptionStatusChange, _impl_.agreementid_), - PROTOBUF_FIELD_OFFSET(::CMsgGCHRecurringSubscriptionStatusChange, _impl_.active_), - 0, - 2, - 1, - 3, - PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute, _impl_.attribute_), - PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute, _impl_.value_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_.steamid_), - PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_.match_item_type_), - PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_.match_item_class_), - PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_.prefix_item_name_), - PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_.attributes_), - PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_.note_), - 2, - 3, - 4, - 5, - 0, - ~0u, - 1, - PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Response, _impl_.items_matched_), - PROTOBUF_FIELD_OFFSET(::CQuest_PublisherAddCommunityItemsToPlayer_Response, _impl_.items_granted_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CCommunity_GamePersonalDataCategoryInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCommunity_GamePersonalDataCategoryInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCommunity_GamePersonalDataCategoryInfo, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CCommunity_GamePersonalDataCategoryInfo, _impl_.localization_token_), - PROTOBUF_FIELD_OFFSET(::CCommunity_GamePersonalDataCategoryInfo, _impl_.template_file_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataCategories_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataCategories_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataCategories_Request, _impl_.appid_), - 0, - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataCategories_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataCategories_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataCategories_Response, _impl_.categories_), - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataCategories_Response, _impl_.app_assets_basename_), - ~0u, - 0, - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Request, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Request, _impl_.steamid_), - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Request, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Request, _impl_.continue_token_), - 3, - 2, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Response, _impl_.gceresult_), - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Response, _impl_.entries_), - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Response, _impl_.continue_token_), - PROTOBUF_FIELD_OFFSET(::CCommunity_GetGamePersonalDataEntries_Response, _impl_.continue_text_), - 2, - ~0u, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CCommunity_TerminateGamePersonalDataEntries_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCommunity_TerminateGamePersonalDataEntries_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCommunity_TerminateGamePersonalDataEntries_Request, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CCommunity_TerminateGamePersonalDataEntries_Request, _impl_.steamid_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CCommunity_TerminateGamePersonalDataEntries_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCommunity_TerminateGamePersonalDataEntries_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCommunity_TerminateGamePersonalDataEntries_Response, _impl_.gceresult_), - 0, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 9, -1, sizeof(::CMsgGCHVacVerificationChange)}, - { 12, 23, -1, sizeof(::CMsgGCHAccountPhoneNumberChange)}, - { 28, 38, -1, sizeof(::CMsgGCHInviteUserToLobby)}, - { 42, 52, -1, sizeof(::CMsgGCHRecurringSubscriptionStatusChange)}, - { 56, 64, -1, sizeof(::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute)}, - { 66, 79, -1, sizeof(::CQuest_PublisherAddCommunityItemsToPlayer_Request)}, - { 86, 94, -1, sizeof(::CQuest_PublisherAddCommunityItemsToPlayer_Response)}, - { 96, 105, -1, sizeof(::CCommunity_GamePersonalDataCategoryInfo)}, - { 108, 115, -1, sizeof(::CCommunity_GetGamePersonalDataCategories_Request)}, - { 116, 124, -1, sizeof(::CCommunity_GetGamePersonalDataCategories_Response)}, - { 126, 136, -1, sizeof(::CCommunity_GetGamePersonalDataEntries_Request)}, - { 140, 150, -1, sizeof(::CCommunity_GetGamePersonalDataEntries_Response)}, - { 154, 162, -1, sizeof(::CCommunity_TerminateGamePersonalDataEntries_Request)}, - { 164, 171, -1, sizeof(::CCommunity_TerminateGamePersonalDataEntries_Response)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CMsgGCHVacVerificationChange_default_instance_._instance, - &::_CMsgGCHAccountPhoneNumberChange_default_instance_._instance, - &::_CMsgGCHInviteUserToLobby_default_instance_._instance, - &::_CMsgGCHRecurringSubscriptionStatusChange_default_instance_._instance, - &::_CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute_default_instance_._instance, - &::_CQuest_PublisherAddCommunityItemsToPlayer_Request_default_instance_._instance, - &::_CQuest_PublisherAddCommunityItemsToPlayer_Response_default_instance_._instance, - &::_CCommunity_GamePersonalDataCategoryInfo_default_instance_._instance, - &::_CCommunity_GetGamePersonalDataCategories_Request_default_instance_._instance, - &::_CCommunity_GetGamePersonalDataCategories_Response_default_instance_._instance, - &::_CCommunity_GetGamePersonalDataEntries_Request_default_instance_._instance, - &::_CCommunity_GetGamePersonalDataEntries_Response_default_instance_._instance, - &::_CCommunity_TerminateGamePersonalDataEntries_Request_default_instance_._instance, - &::_CCommunity_TerminateGamePersonalDataEntries_Response_default_instance_._instance, -}; - -const char descriptor_table_protodef_gcsystemmsgs_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\022gcsystemmsgs.proto\"S\n\034CMsgGCHVacVerifi" - "cationChange\022\017\n\007steamid\030\001 \001(\006\022\r\n\005appid\030\002" - " \001(\r\022\023\n\013is_verified\030\003 \001(\010\"\200\001\n\037CMsgGCHAcc" - "ountPhoneNumberChange\022\017\n\007steamid\030\001 \001(\006\022\r" - "\n\005appid\030\002 \001(\r\022\020\n\010phone_id\030\003 \001(\004\022\023\n\013is_ve" - "rified\030\004 \001(\010\022\026\n\016is_identifying\030\005 \001(\010\"j\n\030" - "CMsgGCHInviteUserToLobby\022\017\n\007steamid\030\001 \001(" - "\006\022\r\n\005appid\030\002 \001(\r\022\027\n\017steamid_invited\030\003 \001(" - "\006\022\025\n\rsteamid_lobby\030\004 \001(\006\"o\n(CMsgGCHRecur" - "ringSubscriptionStatusChange\022\017\n\007steamid\030" - "\001 \001(\006\022\r\n\005appid\030\002 \001(\r\022\023\n\013agreementid\030\003 \001(" - "\006\022\016\n\006active\030\004 \001(\010\"\257\002\n1CQuest_PublisherAd" - "dCommunityItemsToPlayer_Request\022\017\n\007steam" - "id\030\001 \001(\004\022\r\n\005appid\030\002 \001(\r\022\027\n\017match_item_ty" - "pe\030\003 \001(\r\022\030\n\020match_item_class\030\004 \001(\r\022\030\n\020pr" - "efix_item_name\030\005 \001(\t\022P\n\nattributes\030\006 \003(\013" - "2<.CQuest_PublisherAddCommunityItemsToPl" - "ayer_Request.Attribute\022\014\n\004note\030\007 \001(\t\032-\n\t" - "Attribute\022\021\n\tattribute\030\001 \001(\r\022\r\n\005value\030\002 " - "\001(\004\"b\n2CQuest_PublisherAddCommunityItems" - "ToPlayer_Response\022\025\n\ritems_matched\030\001 \001(\r" - "\022\025\n\ritems_granted\030\002 \001(\r\"j\n\'CCommunity_Ga" - "mePersonalDataCategoryInfo\022\014\n\004type\030\001 \001(\t" - "\022\032\n\022localization_token\030\002 \001(\t\022\025\n\rtemplate" - "_file\030\003 \001(\t\"A\n0CCommunity_GetGamePersona" - "lDataCategories_Request\022\r\n\005appid\030\001 \001(\r\"\216" - "\001\n1CCommunity_GetGamePersonalDataCategor" - "ies_Response\022<\n\ncategories\030\001 \003(\0132(.CComm" - "unity_GamePersonalDataCategoryInfo\022\033\n\023ap" - "p_assets_basename\030\002 \001(\t\"u\n-CCommunity_Ge" - "tGamePersonalDataEntries_Request\022\r\n\005appi" - "d\030\001 \001(\r\022\017\n\007steamid\030\002 \001(\004\022\014\n\004type\030\003 \001(\t\022\026" - "\n\016continue_token\030\004 \001(\t\"\203\001\n.CCommunity_Ge" - "tGamePersonalDataEntries_Response\022\021\n\tgce" - "result\030\001 \001(\r\022\017\n\007entries\030\002 \003(\t\022\026\n\016continu" - "e_token\030\003 \001(\t\022\025\n\rcontinue_text\030\004 \001(\t\"U\n3" - "CCommunity_TerminateGamePersonalDataEntr" - "ies_Request\022\r\n\005appid\030\001 \001(\r\022\017\n\007steamid\030\002 " - "\001(\004\"I\n4CCommunity_TerminateGamePersonalD" - "ataEntries_Response\022\021\n\tgceresult\030\001 \001(\r*\302" - "\030\n\014EGCSystemMsg\022\023\n\017k_EGCMsgInvalid\020\000\022\021\n\r" - "k_EGCMsgMulti\020\001\022\030\n\024k_EGCMsgGenericReply\020" - "\n\022\026\n\022k_EGCMsgSystemBase\0202\022\036\n\032k_EGCMsgAch" - "ievementAwarded\0203\022\026\n\022k_EGCMsgConCommand\020" - "4\022\030\n\024k_EGCMsgStartPlaying\0205\022\027\n\023k_EGCMsgS" - "topPlaying\0206\022\033\n\027k_EGCMsgStartGameserver\020" - "7\022\032\n\026k_EGCMsgStopGameserver\0208\022\025\n\021k_EGCMs" - "gWGRequest\0209\022\026\n\022k_EGCMsgWGResponse\020:\022\"\n\036" - "k_EGCMsgGetUserGameStatsSchema\020;\022*\n&k_EG" - "CMsgGetUserGameStatsSchemaResponse\020<\022\"\n\036" - "k_EGCMsgGetUserStatsDEPRECATED\020=\022 \n\034k_EG" - "CMsgGetUserStatsResponse\020>\022\032\n\026k_EGCMsgAp" - "pInfoUpdated\020\?\022\033\n\027k_EGCMsgValidateSessio" - "n\020@\022#\n\037k_EGCMsgValidateSessionResponse\020A" - "\022\"\n\036k_EGCMsgLookupAccountFromInput\020B\022\033\n\027" - "k_EGCMsgSendHTTPRequest\020C\022#\n\037k_EGCMsgSen" - "dHTTPRequestResponse\020D\022\030\n\024k_EGCMsgPreTes" - "tSetup\020E\022\037\n\033k_EGCMsgRecordSupportAction\020" - "F\022(\n$k_EGCMsgGetAccountDetails_DEPRECATE" - "D\020G\022\"\n\036k_EGCMsgReceiveInterAppMessage\020I\022" - "\030\n\024k_EGCMsgFindAccounts\020J\022\025\n\021k_EGCMsgPos" - "tAlert\020K\022\027\n\023k_EGCMsgGetLicenses\020L\022\030\n\024k_E" - "GCMsgGetUserStats\020M\022\027\n\023k_EGCMsgGetComman" - "ds\020N\022\037\n\033k_EGCMsgGetCommandsResponse\020O\022\032\n" - "\026k_EGCMsgAddFreeLicense\020P\022\"\n\036k_EGCMsgAdd" - "FreeLicenseResponse\020Q\022\031\n\025k_EGCMsgGetIPLo" - "cation\020R\022!\n\035k_EGCMsgGetIPLocationRespons" - "e\020S\022\035\n\031k_EGCMsgSystemStatsSchema\020T\022\032\n\026k_" - "EGCMsgGetSystemStats\020U\022\"\n\036k_EGCMsgGetSys" - "temStatsResponse\020V\022\025\n\021k_EGCMsgSendEmail\020" - "W\022\035\n\031k_EGCMsgSendEmailResponse\020X\022\034\n\030k_EG" - "CMsgGetEmailTemplate\020Y\022$\n k_EGCMsgGetEma" - "ilTemplateResponse\020Z\022\032\n\026k_EGCMsgGrantGue" - "stPass\020[\022\"\n\036k_EGCMsgGrantGuestPassRespon" - "se\020\\\022\035\n\031k_EGCMsgGetAccountDetails\020]\022%\n!k" - "_EGCMsgGetAccountDetailsResponse\020^\022\033\n\027k_" - "EGCMsgGetPersonaNames\020_\022#\n\037k_EGCMsgGetPe" - "rsonaNamesResponse\020`\022\030\n\024k_EGCMsgMultiple" - "xMsg\020a\022 \n\034k_EGCMsgMultiplexMsgResponse\020b" - "\022$\n k_EGCMsgWebAPIRegisterInterfaces\020e\022\034" - "\n\030k_EGCMsgWebAPIJobRequest\020f\022(\n$k_EGCMsg" - "WebAPIJobRequestHttpResponse\020h\022+\n\'k_EGCM" - "sgWebAPIJobRequestForwardResponse\020i\022\031\n\024k" - "_EGCMsgMemCachedGet\020\310\001\022!\n\034k_EGCMsgMemCac" - "hedGetResponse\020\311\001\022\031\n\024k_EGCMsgMemCachedSe" - "t\020\312\001\022\034\n\027k_EGCMsgMemCachedDelete\020\313\001\022\033\n\026k_" - "EGCMsgMemCachedStats\020\314\001\022#\n\036k_EGCMsgMemCa" - "chedStatsResponse\020\315\001\022\037\n\032k_EGCMsgMasterSe" - "tDirectory\020\334\001\022\'\n\"k_EGCMsgMasterSetDirect" - "oryResponse\020\335\001\022#\n\036k_EGCMsgMasterSetWebAP" - "IRouting\020\336\001\022+\n&k_EGCMsgMasterSetWebAPIRo" - "utingResponse\020\337\001\022&\n!k_EGCMsgMasterSetCli" - "entMsgRouting\020\340\001\022.\n)k_EGCMsgMasterSetCli" - "entMsgRoutingResponse\020\341\001\022\027\n\022k_EGCMsgSetO" - "ptions\020\342\001\022\037\n\032k_EGCMsgSetOptionsResponse\020" - "\343\001\022\030\n\023k_EGCMsgSystemBase2\020\364\003\022#\n\036k_EGCMsg" - "GetPurchaseTrustStatus\020\365\003\022+\n&k_EGCMsgGet" - "PurchaseTrustStatusResponse\020\366\003\022\032\n\025k_EGCM" - "sgUpdateSession\020\367\003\022%\n k_EGCMsgGCAccountV" - "acStatusChange\020\370\003\022\034\n\027k_EGCMsgCheckFriend" - "ship\020\371\003\022$\n\037k_EGCMsgCheckFriendshipRespon" - "se\020\372\003\022\"\n\035k_EGCMsgGetPartnerAccountLink\020\373" - "\003\022*\n%k_EGCMsgGetPartnerAccountLinkRespon" - "se\020\374\003\022\037\n\032k_EGCMsgDPPartnerMicroTxns\020\200\004\022\'" - "\n\"k_EGCMsgDPPartnerMicroTxnsResponse\020\201\004\022" - "\"\n\035k_EGCMsgVacVerificationChange\020\206\004\022%\n k" - "_EGCMsgAccountPhoneNumberChange\020\207\004\022\036\n\031k_" - "EGCMsgInviteUserToLobby\020\213\004\0221\n,k_EGCMsgGe" - "tGamePersonalDataCategoriesRequest\020\214\004\0222\n" - "-k_EGCMsgGetGamePersonalDataCategoriesRe" - "sponse\020\215\004\022.\n)k_EGCMsgGetGamePersonalData" - "EntriesRequest\020\216\004\022/\n*k_EGCMsgGetGamePers" - "onalDataEntriesResponse\020\217\004\0224\n/k_EGCMsgTe" - "rminateGamePersonalDataEntriesRequest\020\220\004" - "\0225\n0k_EGCMsgTerminateGamePersonalDataEnt" - "riesResponse\020\221\004\022.\n)k_EGCMsgRecurringSubs" - "criptionStatusChange\020\222\004\022 \n\033k_EGCMsgDirec" - "tServiceMethod\020\223\004\022(\n#k_EGCMsgDirectServi" - "ceMethodResponse\020\224\004*\357\001\n\006ESOMsg\022\023\n\017k_ESOM" - "sg_Create\020\025\022\023\n\017k_ESOMsg_Update\020\026\022\024\n\020k_ES" - "OMsg_Destroy\020\027\022\034\n\030k_ESOMsg_CacheSubscrib" - "ed\020\030\022\036\n\032k_ESOMsg_CacheUnsubscribed\020\031\022\033\n\027" - "k_ESOMsg_UpdateMultiple\020\032\022#\n\037k_ESOMsg_Ca" - "cheSubscriptionCheck\020\033\022%\n!k_ESOMsg_Cache" - "SubscriptionRefresh\020\034*\331\002\n\020EGCBaseClientM" - "sg\022\032\n\025k_EMsgGCClientWelcome\020\244\037\022\032\n\025k_EMsg" - "GCServerWelcome\020\245\037\022\030\n\023k_EMsgGCClientHell" - "o\020\246\037\022\030\n\023k_EMsgGCServerHello\020\247\037\022#\n\036k_EMsg" - "GCClientConnectionStatus\020\251\037\022#\n\036k_EMsgGCS" - "erverConnectionStatus\020\252\037\022\037\n\032k_EMsgGCClie" - "ntHelloPartner\020\253\037\022\032\n\025k_EMsgGCClientHello" - "PW\020\254\037\022\032\n\025k_EMsgGCClientHelloR2\020\255\037\022\032\n\025k_E" - "MsgGCClientHelloR3\020\256\037\022\032\n\025k_EMsgGCClientH" - "elloR4\020\257\037*\211\002\n\nEGCToGCMsg\022\032\n\025k_EGCToGCMsg" - "MasterAck\020\226\001\022\"\n\035k_EGCToGCMsgMasterAckRes" - "ponse\020\227\001\022\027\n\022k_EGCToGCMsgRouted\020\230\001\022\034\n\027k_E" - "GCToGCMsgRoutedReply\020\231\001\022\032\n\025k_EMsgUpdateS" - "essionIP\020\232\001\022\033\n\026k_EMsgRequestSessionIP\020\233\001" - "\022#\n\036k_EMsgRequestSessionIPResponse\020\234\001\022&\n" - "!k_EGCToGCMsgMasterStartupComplete\020\235\001*\260\003" - "\n\023ECommunityItemClass\022!\n\035k_ECommunityIte" - "mClass_Invalid\020\000\022\037\n\033k_ECommunityItemClas" - "s_Badge\020\001\022\"\n\036k_ECommunityItemClass_GameC" - "ard\020\002\022+\n\'k_ECommunityItemClass_ProfileBa" - "ckground\020\003\022\"\n\036k_ECommunityItemClass_Emot" - "icon\020\004\022%\n!k_ECommunityItemClass_BoosterP" - "ack\020\005\022$\n k_ECommunityItemClass_Consumabl" - "e\020\006\022!\n\035k_ECommunityItemClass_GameGoo\020\007\022)" - "\n%k_ECommunityItemClass_ProfileModifier\020" - "\010\022\037\n\033k_ECommunityItemClass_Scene\020\t\022$\n k_" - "ECommunityItemClass_SalienItem\020\n*\326\003\n\027ECo" - "mmunityItemAttribute\022%\n!k_ECommunityItem" - "Attribute_Invalid\020\000\022(\n$k_ECommunityItemA" - "ttribute_CardBorder\020\001\022#\n\037k_ECommunityIte" - "mAttribute_Level\020\002\022)\n%k_ECommunityItemAt" - "tribute_IssueNumber\020\003\022*\n&k_ECommunityIte" - "mAttribute_TradableTime\020\004\022,\n(k_ECommunit" - "yItemAttribute_StorePackageID\020\005\0220\n,k_ECo" - "mmunityItemAttribute_CommunityItemAppID\020" - "\006\022/\n+k_ECommunityItemAttribute_Community" - "ItemType\020\007\0223\n/k_ECommunityItemAttribute_" - "ProfileModiferEnabled\020\010\022(\n$k_ECommunityI" - "temAttribute_ExpiryTime\020\t" - ; -static ::_pbi::once_flag descriptor_table_gcsystemmsgs_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_gcsystemmsgs_2eproto = { - false, false, 6505, descriptor_table_protodef_gcsystemmsgs_2eproto, - "gcsystemmsgs.proto", - &descriptor_table_gcsystemmsgs_2eproto_once, nullptr, 0, 14, - schemas, file_default_instances, TableStruct_gcsystemmsgs_2eproto::offsets, - file_level_metadata_gcsystemmsgs_2eproto, file_level_enum_descriptors_gcsystemmsgs_2eproto, - file_level_service_descriptors_gcsystemmsgs_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_gcsystemmsgs_2eproto_getter() { - return &descriptor_table_gcsystemmsgs_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_gcsystemmsgs_2eproto(&descriptor_table_gcsystemmsgs_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCSystemMsg_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_gcsystemmsgs_2eproto); - return file_level_enum_descriptors_gcsystemmsgs_2eproto[0]; -} -bool EGCSystemMsg_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 10: - case 50: - case 51: - case 52: - case 53: - case 54: - case 55: - case 56: - case 57: - case 58: - case 59: - case 60: - case 61: - case 62: - case 63: - case 64: - case 65: - case 66: - case 67: - case 68: - case 69: - case 70: - case 71: - case 73: - case 74: - case 75: - case 76: - case 77: - case 78: - case 79: - case 80: - case 81: - case 82: - case 83: - case 84: - case 85: - case 86: - case 87: - case 88: - case 89: - case 90: - case 91: - case 92: - case 93: - case 94: - case 95: - case 96: - case 97: - case 98: - case 101: - case 102: - case 104: - case 105: - case 200: - case 201: - case 202: - case 203: - case 204: - case 205: - case 220: - case 221: - case 222: - case 223: - case 224: - case 225: - case 226: - case 227: - case 500: - case 501: - case 502: - case 503: - case 504: - case 505: - case 506: - case 507: - case 508: - case 512: - case 513: - case 518: - case 519: - case 523: - case 524: - case 525: - case 526: - case 527: - case 528: - case 529: - case 530: - case 531: - case 532: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESOMsg_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_gcsystemmsgs_2eproto); - return file_level_enum_descriptors_gcsystemmsgs_2eproto[1]; -} -bool ESOMsg_IsValid(int value) { - switch (value) { - case 21: - case 22: - case 23: - case 24: - case 25: - case 26: - case 27: - case 28: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCBaseClientMsg_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_gcsystemmsgs_2eproto); - return file_level_enum_descriptors_gcsystemmsgs_2eproto[2]; -} -bool EGCBaseClientMsg_IsValid(int value) { - switch (value) { - case 4004: - case 4005: - case 4006: - case 4007: - case 4009: - case 4010: - case 4011: - case 4012: - case 4013: - case 4014: - case 4015: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCToGCMsg_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_gcsystemmsgs_2eproto); - return file_level_enum_descriptors_gcsystemmsgs_2eproto[3]; -} -bool EGCToGCMsg_IsValid(int value) { - switch (value) { - case 150: - case 151: - case 152: - case 153: - case 154: - case 155: - case 156: - case 157: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECommunityItemClass_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_gcsystemmsgs_2eproto); - return file_level_enum_descriptors_gcsystemmsgs_2eproto[4]; -} -bool ECommunityItemClass_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECommunityItemAttribute_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_gcsystemmsgs_2eproto); - return file_level_enum_descriptors_gcsystemmsgs_2eproto[5]; -} -bool ECommunityItemAttribute_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CMsgGCHVacVerificationChange::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_is_verified(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgGCHVacVerificationChange::CMsgGCHVacVerificationChange(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCHVacVerificationChange) -} -CMsgGCHVacVerificationChange::CMsgGCHVacVerificationChange(const CMsgGCHVacVerificationChange& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCHVacVerificationChange* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){} - , decltype(_impl_.appid_){} - , decltype(_impl_.is_verified_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, - static_cast(reinterpret_cast(&_impl_.is_verified_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.is_verified_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCHVacVerificationChange) -} - -inline void CMsgGCHVacVerificationChange::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.is_verified_){false} - }; -} - -CMsgGCHVacVerificationChange::~CMsgGCHVacVerificationChange() { - // @@protoc_insertion_point(destructor:CMsgGCHVacVerificationChange) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCHVacVerificationChange::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCHVacVerificationChange::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCHVacVerificationChange::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCHVacVerificationChange) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.steamid_, 0, static_cast( - reinterpret_cast(&_impl_.is_verified_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.is_verified_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCHVacVerificationChange::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 steamid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 appid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_verified = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_is_verified(&has_bits); - _impl_.is_verified_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCHVacVerificationChange::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCHVacVerificationChange) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 steamid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); - } - - // optional uint32 appid = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_appid(), target); - } - - // optional bool is_verified = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_is_verified(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCHVacVerificationChange) - return target; -} - -size_t CMsgGCHVacVerificationChange::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCHVacVerificationChange) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional fixed64 steamid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - // optional uint32 appid = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional bool is_verified = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCHVacVerificationChange::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCHVacVerificationChange::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCHVacVerificationChange::GetClassData() const { return &_class_data_; } - - -void CMsgGCHVacVerificationChange::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCHVacVerificationChange) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.is_verified_ = from._impl_.is_verified_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCHVacVerificationChange::CopyFrom(const CMsgGCHVacVerificationChange& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCHVacVerificationChange) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCHVacVerificationChange::IsInitialized() const { - return true; -} - -void CMsgGCHVacVerificationChange::InternalSwap(CMsgGCHVacVerificationChange* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCHVacVerificationChange, _impl_.is_verified_) - + sizeof(CMsgGCHVacVerificationChange::_impl_.is_verified_) - - PROTOBUF_FIELD_OFFSET(CMsgGCHVacVerificationChange, _impl_.steamid_)>( - reinterpret_cast(&_impl_.steamid_), - reinterpret_cast(&other->_impl_.steamid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCHVacVerificationChange::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, - file_level_metadata_gcsystemmsgs_2eproto[0]); -} - -// =================================================================== - -class CMsgGCHAccountPhoneNumberChange::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_phone_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_is_verified(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_is_identifying(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CMsgGCHAccountPhoneNumberChange::CMsgGCHAccountPhoneNumberChange(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCHAccountPhoneNumberChange) -} -CMsgGCHAccountPhoneNumberChange::CMsgGCHAccountPhoneNumberChange(const CMsgGCHAccountPhoneNumberChange& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCHAccountPhoneNumberChange* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){} - , decltype(_impl_.phone_id_){} - , decltype(_impl_.appid_){} - , decltype(_impl_.is_verified_){} - , decltype(_impl_.is_identifying_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, - static_cast(reinterpret_cast(&_impl_.is_identifying_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.is_identifying_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCHAccountPhoneNumberChange) -} - -inline void CMsgGCHAccountPhoneNumberChange::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.phone_id_){uint64_t{0u}} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.is_verified_){false} - , decltype(_impl_.is_identifying_){false} - }; -} - -CMsgGCHAccountPhoneNumberChange::~CMsgGCHAccountPhoneNumberChange() { - // @@protoc_insertion_point(destructor:CMsgGCHAccountPhoneNumberChange) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCHAccountPhoneNumberChange::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCHAccountPhoneNumberChange::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCHAccountPhoneNumberChange::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCHAccountPhoneNumberChange) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.steamid_, 0, static_cast( - reinterpret_cast(&_impl_.is_identifying_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.is_identifying_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCHAccountPhoneNumberChange::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 steamid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 appid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 phone_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_phone_id(&has_bits); - _impl_.phone_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_verified = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_is_verified(&has_bits); - _impl_.is_verified_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_identifying = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_is_identifying(&has_bits); - _impl_.is_identifying_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCHAccountPhoneNumberChange::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCHAccountPhoneNumberChange) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 steamid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); - } - - // optional uint32 appid = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_appid(), target); - } - - // optional uint64 phone_id = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_phone_id(), target); - } - - // optional bool is_verified = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_is_verified(), target); - } - - // optional bool is_identifying = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_is_identifying(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCHAccountPhoneNumberChange) - return target; -} - -size_t CMsgGCHAccountPhoneNumberChange::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCHAccountPhoneNumberChange) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional fixed64 steamid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - // optional uint64 phone_id = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_phone_id()); - } - - // optional uint32 appid = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional bool is_verified = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - // optional bool is_identifying = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCHAccountPhoneNumberChange::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCHAccountPhoneNumberChange::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCHAccountPhoneNumberChange::GetClassData() const { return &_class_data_; } - - -void CMsgGCHAccountPhoneNumberChange::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCHAccountPhoneNumberChange) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.phone_id_ = from._impl_.phone_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.is_verified_ = from._impl_.is_verified_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.is_identifying_ = from._impl_.is_identifying_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCHAccountPhoneNumberChange::CopyFrom(const CMsgGCHAccountPhoneNumberChange& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCHAccountPhoneNumberChange) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCHAccountPhoneNumberChange::IsInitialized() const { - return true; -} - -void CMsgGCHAccountPhoneNumberChange::InternalSwap(CMsgGCHAccountPhoneNumberChange* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCHAccountPhoneNumberChange, _impl_.is_identifying_) - + sizeof(CMsgGCHAccountPhoneNumberChange::_impl_.is_identifying_) - - PROTOBUF_FIELD_OFFSET(CMsgGCHAccountPhoneNumberChange, _impl_.steamid_)>( - reinterpret_cast(&_impl_.steamid_), - reinterpret_cast(&other->_impl_.steamid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCHAccountPhoneNumberChange::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, - file_level_metadata_gcsystemmsgs_2eproto[1]); -} - -// =================================================================== - -class CMsgGCHInviteUserToLobby::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_steamid_invited(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_steamid_lobby(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgGCHInviteUserToLobby::CMsgGCHInviteUserToLobby(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCHInviteUserToLobby) -} -CMsgGCHInviteUserToLobby::CMsgGCHInviteUserToLobby(const CMsgGCHInviteUserToLobby& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCHInviteUserToLobby* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){} - , decltype(_impl_.steamid_invited_){} - , decltype(_impl_.steamid_lobby_){} - , decltype(_impl_.appid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, - static_cast(reinterpret_cast(&_impl_.appid_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCHInviteUserToLobby) -} - -inline void CMsgGCHInviteUserToLobby::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.steamid_invited_){uint64_t{0u}} - , decltype(_impl_.steamid_lobby_){uint64_t{0u}} - , decltype(_impl_.appid_){0u} - }; -} - -CMsgGCHInviteUserToLobby::~CMsgGCHInviteUserToLobby() { - // @@protoc_insertion_point(destructor:CMsgGCHInviteUserToLobby) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCHInviteUserToLobby::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCHInviteUserToLobby::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCHInviteUserToLobby::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCHInviteUserToLobby) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.steamid_, 0, static_cast( - reinterpret_cast(&_impl_.appid_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCHInviteUserToLobby::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 steamid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 appid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 steamid_invited = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_steamid_invited(&has_bits); - _impl_.steamid_invited_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional fixed64 steamid_lobby = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { - _Internal::set_has_steamid_lobby(&has_bits); - _impl_.steamid_lobby_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCHInviteUserToLobby::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCHInviteUserToLobby) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 steamid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); - } - - // optional uint32 appid = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_appid(), target); - } - - // optional fixed64 steamid_invited = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_steamid_invited(), target); - } - - // optional fixed64 steamid_lobby = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_steamid_lobby(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCHInviteUserToLobby) - return target; -} - -size_t CMsgGCHInviteUserToLobby::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCHInviteUserToLobby) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional fixed64 steamid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - // optional fixed64 steamid_invited = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - // optional fixed64 steamid_lobby = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 8; - } - - // optional uint32 appid = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCHInviteUserToLobby::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCHInviteUserToLobby::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCHInviteUserToLobby::GetClassData() const { return &_class_data_; } - - -void CMsgGCHInviteUserToLobby::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCHInviteUserToLobby) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.steamid_invited_ = from._impl_.steamid_invited_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.steamid_lobby_ = from._impl_.steamid_lobby_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCHInviteUserToLobby::CopyFrom(const CMsgGCHInviteUserToLobby& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCHInviteUserToLobby) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCHInviteUserToLobby::IsInitialized() const { - return true; -} - -void CMsgGCHInviteUserToLobby::InternalSwap(CMsgGCHInviteUserToLobby* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCHInviteUserToLobby, _impl_.appid_) - + sizeof(CMsgGCHInviteUserToLobby::_impl_.appid_) - - PROTOBUF_FIELD_OFFSET(CMsgGCHInviteUserToLobby, _impl_.steamid_)>( - reinterpret_cast(&_impl_.steamid_), - reinterpret_cast(&other->_impl_.steamid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCHInviteUserToLobby::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, - file_level_metadata_gcsystemmsgs_2eproto[2]); -} - -// =================================================================== - -class CMsgGCHRecurringSubscriptionStatusChange::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_agreementid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_active(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgGCHRecurringSubscriptionStatusChange::CMsgGCHRecurringSubscriptionStatusChange(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgGCHRecurringSubscriptionStatusChange) -} -CMsgGCHRecurringSubscriptionStatusChange::CMsgGCHRecurringSubscriptionStatusChange(const CMsgGCHRecurringSubscriptionStatusChange& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgGCHRecurringSubscriptionStatusChange* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){} - , decltype(_impl_.agreementid_){} - , decltype(_impl_.appid_){} - , decltype(_impl_.active_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, - static_cast(reinterpret_cast(&_impl_.active_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.active_)); - // @@protoc_insertion_point(copy_constructor:CMsgGCHRecurringSubscriptionStatusChange) -} - -inline void CMsgGCHRecurringSubscriptionStatusChange::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.agreementid_){uint64_t{0u}} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.active_){false} - }; -} - -CMsgGCHRecurringSubscriptionStatusChange::~CMsgGCHRecurringSubscriptionStatusChange() { - // @@protoc_insertion_point(destructor:CMsgGCHRecurringSubscriptionStatusChange) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgGCHRecurringSubscriptionStatusChange::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgGCHRecurringSubscriptionStatusChange::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgGCHRecurringSubscriptionStatusChange::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgGCHRecurringSubscriptionStatusChange) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.steamid_, 0, static_cast( - reinterpret_cast(&_impl_.active_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.active_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgGCHRecurringSubscriptionStatusChange::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 steamid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 appid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 agreementid = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_agreementid(&has_bits); - _impl_.agreementid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional bool active = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_active(&has_bits); - _impl_.active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgGCHRecurringSubscriptionStatusChange::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgGCHRecurringSubscriptionStatusChange) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 steamid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); - } - - // optional uint32 appid = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_appid(), target); - } - - // optional fixed64 agreementid = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_agreementid(), target); - } - - // optional bool active = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_active(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgGCHRecurringSubscriptionStatusChange) - return target; -} - -size_t CMsgGCHRecurringSubscriptionStatusChange::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgGCHRecurringSubscriptionStatusChange) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional fixed64 steamid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - // optional fixed64 agreementid = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - // optional uint32 appid = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional bool active = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgGCHRecurringSubscriptionStatusChange::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgGCHRecurringSubscriptionStatusChange::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgGCHRecurringSubscriptionStatusChange::GetClassData() const { return &_class_data_; } - - -void CMsgGCHRecurringSubscriptionStatusChange::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgGCHRecurringSubscriptionStatusChange) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.agreementid_ = from._impl_.agreementid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.active_ = from._impl_.active_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgGCHRecurringSubscriptionStatusChange::CopyFrom(const CMsgGCHRecurringSubscriptionStatusChange& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgGCHRecurringSubscriptionStatusChange) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgGCHRecurringSubscriptionStatusChange::IsInitialized() const { - return true; -} - -void CMsgGCHRecurringSubscriptionStatusChange::InternalSwap(CMsgGCHRecurringSubscriptionStatusChange* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgGCHRecurringSubscriptionStatusChange, _impl_.active_) - + sizeof(CMsgGCHRecurringSubscriptionStatusChange::_impl_.active_) - - PROTOBUF_FIELD_OFFSET(CMsgGCHRecurringSubscriptionStatusChange, _impl_.steamid_)>( - reinterpret_cast(&_impl_.steamid_), - reinterpret_cast(&other->_impl_.steamid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgGCHRecurringSubscriptionStatusChange::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, - file_level_metadata_gcsystemmsgs_2eproto[3]); -} - -// =================================================================== - -class CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_attribute(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) -} -CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute(const CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.value_){} - , decltype(_impl_.attribute_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.value_, &from._impl_.value_, - static_cast(reinterpret_cast(&_impl_.attribute_) - - reinterpret_cast(&_impl_.value_)) + sizeof(_impl_.attribute_)); - // @@protoc_insertion_point(copy_constructor:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) -} - -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.value_){uint64_t{0u}} - , decltype(_impl_.attribute_){0u} - }; -} - -CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::~CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute() { - // @@protoc_insertion_point(destructor:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::Clear() { -// @@protoc_insertion_point(message_clear_start:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.value_, 0, static_cast( - reinterpret_cast(&_impl_.attribute_) - - reinterpret_cast(&_impl_.value_)) + sizeof(_impl_.attribute_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 attribute = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_attribute(&has_bits); - _impl_.attribute_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_value(&has_bits); - _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 attribute = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_attribute(), target); - } - - // optional uint64 value = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) - return target; -} - -size_t CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 value = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_value()); - } - - // optional uint32 attribute = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_attribute()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::GetClassData() const { return &_class_data_; } - - -void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.value_ = from._impl_.value_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.attribute_ = from._impl_.attribute_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::CopyFrom(const CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::IsInitialized() const { - return true; -} - -void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::InternalSwap(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute, _impl_.attribute_) - + sizeof(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_impl_.attribute_) - - PROTOBUF_FIELD_OFFSET(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute, _impl_.value_)>( - reinterpret_cast(&_impl_.value_), - reinterpret_cast(&other->_impl_.value_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, - file_level_metadata_gcsystemmsgs_2eproto[4]); -} - -// =================================================================== - -class CQuest_PublisherAddCommunityItemsToPlayer_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_match_item_type(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_match_item_class(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_prefix_item_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_note(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CQuest_PublisherAddCommunityItemsToPlayer_Request::CQuest_PublisherAddCommunityItemsToPlayer_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CQuest_PublisherAddCommunityItemsToPlayer_Request) -} -CQuest_PublisherAddCommunityItemsToPlayer_Request::CQuest_PublisherAddCommunityItemsToPlayer_Request(const CQuest_PublisherAddCommunityItemsToPlayer_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CQuest_PublisherAddCommunityItemsToPlayer_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.attributes_){from._impl_.attributes_} - , decltype(_impl_.prefix_item_name_){} - , decltype(_impl_.note_){} - , decltype(_impl_.steamid_){} - , decltype(_impl_.appid_){} - , decltype(_impl_.match_item_type_){} - , decltype(_impl_.match_item_class_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.prefix_item_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.prefix_item_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_prefix_item_name()) { - _this->_impl_.prefix_item_name_.Set(from._internal_prefix_item_name(), - _this->GetArenaForAllocation()); - } - _impl_.note_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.note_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_note()) { - _this->_impl_.note_.Set(from._internal_note(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, - static_cast(reinterpret_cast(&_impl_.match_item_class_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.match_item_class_)); - // @@protoc_insertion_point(copy_constructor:CQuest_PublisherAddCommunityItemsToPlayer_Request) -} - -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.attributes_){arena} - , decltype(_impl_.prefix_item_name_){} - , decltype(_impl_.note_){} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.match_item_type_){0u} - , decltype(_impl_.match_item_class_){0u} - }; - _impl_.prefix_item_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.prefix_item_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.note_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.note_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CQuest_PublisherAddCommunityItemsToPlayer_Request::~CQuest_PublisherAddCommunityItemsToPlayer_Request() { - // @@protoc_insertion_point(destructor:CQuest_PublisherAddCommunityItemsToPlayer_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.attributes_.~RepeatedPtrField(); - _impl_.prefix_item_name_.Destroy(); - _impl_.note_.Destroy(); -} - -void CQuest_PublisherAddCommunityItemsToPlayer_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CQuest_PublisherAddCommunityItemsToPlayer_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CQuest_PublisherAddCommunityItemsToPlayer_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.attributes_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.prefix_item_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.note_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000003cu) { - ::memset(&_impl_.steamid_, 0, static_cast( - reinterpret_cast(&_impl_.match_item_class_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.match_item_class_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CQuest_PublisherAddCommunityItemsToPlayer_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 steamid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 appid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 match_item_type = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_match_item_type(&has_bits); - _impl_.match_item_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 match_item_class = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_match_item_class(&has_bits); - _impl_.match_item_class_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string prefix_item_name = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_prefix_item_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CQuest_PublisherAddCommunityItemsToPlayer_Request.prefix_item_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated .CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute attributes = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_attributes(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); - } else - goto handle_unusual; - continue; - // optional string note = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_note(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CQuest_PublisherAddCommunityItemsToPlayer_Request.note"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CQuest_PublisherAddCommunityItemsToPlayer_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CQuest_PublisherAddCommunityItemsToPlayer_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 steamid = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_steamid(), target); - } - - // optional uint32 appid = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_appid(), target); - } - - // optional uint32 match_item_type = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_match_item_type(), target); - } - - // optional uint32 match_item_class = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_match_item_class(), target); - } - - // optional string prefix_item_name = 5; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_prefix_item_name().data(), static_cast(this->_internal_prefix_item_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CQuest_PublisherAddCommunityItemsToPlayer_Request.prefix_item_name"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_prefix_item_name(), target); - } - - // repeated .CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute attributes = 6; - for (unsigned i = 0, - n = static_cast(this->_internal_attributes_size()); i < n; i++) { - const auto& repfield = this->_internal_attributes(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional string note = 7; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_note().data(), static_cast(this->_internal_note().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CQuest_PublisherAddCommunityItemsToPlayer_Request.note"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_note(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CQuest_PublisherAddCommunityItemsToPlayer_Request) - return target; -} - -size_t CQuest_PublisherAddCommunityItemsToPlayer_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CQuest_PublisherAddCommunityItemsToPlayer_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute attributes = 6; - total_size += 1UL * this->_internal_attributes_size(); - for (const auto& msg : this->_impl_.attributes_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional string prefix_item_name = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_prefix_item_name()); - } - - // optional string note = 7; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_note()); - } - - // optional uint64 steamid = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_steamid()); - } - - // optional uint32 appid = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional uint32 match_item_type = 3; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_match_item_type()); - } - - // optional uint32 match_item_class = 4; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_match_item_class()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CQuest_PublisherAddCommunityItemsToPlayer_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CQuest_PublisherAddCommunityItemsToPlayer_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CQuest_PublisherAddCommunityItemsToPlayer_Request::GetClassData() const { return &_class_data_; } - - -void CQuest_PublisherAddCommunityItemsToPlayer_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CQuest_PublisherAddCommunityItemsToPlayer_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.attributes_.MergeFrom(from._impl_.attributes_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_prefix_item_name(from._internal_prefix_item_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_note(from._internal_note()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.match_item_type_ = from._impl_.match_item_type_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.match_item_class_ = from._impl_.match_item_class_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CQuest_PublisherAddCommunityItemsToPlayer_Request::CopyFrom(const CQuest_PublisherAddCommunityItemsToPlayer_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CQuest_PublisherAddCommunityItemsToPlayer_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CQuest_PublisherAddCommunityItemsToPlayer_Request::IsInitialized() const { - return true; -} - -void CQuest_PublisherAddCommunityItemsToPlayer_Request::InternalSwap(CQuest_PublisherAddCommunityItemsToPlayer_Request* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.attributes_.InternalSwap(&other->_impl_.attributes_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.prefix_item_name_, lhs_arena, - &other->_impl_.prefix_item_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.note_, lhs_arena, - &other->_impl_.note_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_.match_item_class_) - + sizeof(CQuest_PublisherAddCommunityItemsToPlayer_Request::_impl_.match_item_class_) - - PROTOBUF_FIELD_OFFSET(CQuest_PublisherAddCommunityItemsToPlayer_Request, _impl_.steamid_)>( - reinterpret_cast(&_impl_.steamid_), - reinterpret_cast(&other->_impl_.steamid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CQuest_PublisherAddCommunityItemsToPlayer_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, - file_level_metadata_gcsystemmsgs_2eproto[5]); -} - -// =================================================================== - -class CQuest_PublisherAddCommunityItemsToPlayer_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_items_matched(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_items_granted(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CQuest_PublisherAddCommunityItemsToPlayer_Response::CQuest_PublisherAddCommunityItemsToPlayer_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CQuest_PublisherAddCommunityItemsToPlayer_Response) -} -CQuest_PublisherAddCommunityItemsToPlayer_Response::CQuest_PublisherAddCommunityItemsToPlayer_Response(const CQuest_PublisherAddCommunityItemsToPlayer_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CQuest_PublisherAddCommunityItemsToPlayer_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.items_matched_){} - , decltype(_impl_.items_granted_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.items_matched_, &from._impl_.items_matched_, - static_cast(reinterpret_cast(&_impl_.items_granted_) - - reinterpret_cast(&_impl_.items_matched_)) + sizeof(_impl_.items_granted_)); - // @@protoc_insertion_point(copy_constructor:CQuest_PublisherAddCommunityItemsToPlayer_Response) -} - -inline void CQuest_PublisherAddCommunityItemsToPlayer_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.items_matched_){0u} - , decltype(_impl_.items_granted_){0u} - }; -} - -CQuest_PublisherAddCommunityItemsToPlayer_Response::~CQuest_PublisherAddCommunityItemsToPlayer_Response() { - // @@protoc_insertion_point(destructor:CQuest_PublisherAddCommunityItemsToPlayer_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CQuest_PublisherAddCommunityItemsToPlayer_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CQuest_PublisherAddCommunityItemsToPlayer_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CQuest_PublisherAddCommunityItemsToPlayer_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CQuest_PublisherAddCommunityItemsToPlayer_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.items_matched_, 0, static_cast( - reinterpret_cast(&_impl_.items_granted_) - - reinterpret_cast(&_impl_.items_matched_)) + sizeof(_impl_.items_granted_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CQuest_PublisherAddCommunityItemsToPlayer_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 items_matched = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_items_matched(&has_bits); - _impl_.items_matched_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 items_granted = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_items_granted(&has_bits); - _impl_.items_granted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CQuest_PublisherAddCommunityItemsToPlayer_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CQuest_PublisherAddCommunityItemsToPlayer_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 items_matched = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_items_matched(), target); - } - - // optional uint32 items_granted = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_items_granted(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CQuest_PublisherAddCommunityItemsToPlayer_Response) - return target; -} - -size_t CQuest_PublisherAddCommunityItemsToPlayer_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CQuest_PublisherAddCommunityItemsToPlayer_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 items_matched = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_items_matched()); - } - - // optional uint32 items_granted = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_items_granted()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CQuest_PublisherAddCommunityItemsToPlayer_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CQuest_PublisherAddCommunityItemsToPlayer_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CQuest_PublisherAddCommunityItemsToPlayer_Response::GetClassData() const { return &_class_data_; } - - -void CQuest_PublisherAddCommunityItemsToPlayer_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CQuest_PublisherAddCommunityItemsToPlayer_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.items_matched_ = from._impl_.items_matched_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.items_granted_ = from._impl_.items_granted_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CQuest_PublisherAddCommunityItemsToPlayer_Response::CopyFrom(const CQuest_PublisherAddCommunityItemsToPlayer_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CQuest_PublisherAddCommunityItemsToPlayer_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CQuest_PublisherAddCommunityItemsToPlayer_Response::IsInitialized() const { - return true; -} - -void CQuest_PublisherAddCommunityItemsToPlayer_Response::InternalSwap(CQuest_PublisherAddCommunityItemsToPlayer_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CQuest_PublisherAddCommunityItemsToPlayer_Response, _impl_.items_granted_) - + sizeof(CQuest_PublisherAddCommunityItemsToPlayer_Response::_impl_.items_granted_) - - PROTOBUF_FIELD_OFFSET(CQuest_PublisherAddCommunityItemsToPlayer_Response, _impl_.items_matched_)>( - reinterpret_cast(&_impl_.items_matched_), - reinterpret_cast(&other->_impl_.items_matched_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CQuest_PublisherAddCommunityItemsToPlayer_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, - file_level_metadata_gcsystemmsgs_2eproto[6]); -} - -// =================================================================== - -class CCommunity_GamePersonalDataCategoryInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_localization_token(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_template_file(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CCommunity_GamePersonalDataCategoryInfo::CCommunity_GamePersonalDataCategoryInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCommunity_GamePersonalDataCategoryInfo) -} -CCommunity_GamePersonalDataCategoryInfo::CCommunity_GamePersonalDataCategoryInfo(const CCommunity_GamePersonalDataCategoryInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCommunity_GamePersonalDataCategoryInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){} - , decltype(_impl_.localization_token_){} - , decltype(_impl_.template_file_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.type_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.type_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_type()) { - _this->_impl_.type_.Set(from._internal_type(), - _this->GetArenaForAllocation()); - } - _impl_.localization_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.localization_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_localization_token()) { - _this->_impl_.localization_token_.Set(from._internal_localization_token(), - _this->GetArenaForAllocation()); - } - _impl_.template_file_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.template_file_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_template_file()) { - _this->_impl_.template_file_.Set(from._internal_template_file(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CCommunity_GamePersonalDataCategoryInfo) -} - -inline void CCommunity_GamePersonalDataCategoryInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){} - , decltype(_impl_.localization_token_){} - , decltype(_impl_.template_file_){} - }; - _impl_.type_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.type_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.localization_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.localization_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.template_file_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.template_file_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCommunity_GamePersonalDataCategoryInfo::~CCommunity_GamePersonalDataCategoryInfo() { - // @@protoc_insertion_point(destructor:CCommunity_GamePersonalDataCategoryInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCommunity_GamePersonalDataCategoryInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.type_.Destroy(); - _impl_.localization_token_.Destroy(); - _impl_.template_file_.Destroy(); -} - -void CCommunity_GamePersonalDataCategoryInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCommunity_GamePersonalDataCategoryInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CCommunity_GamePersonalDataCategoryInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.type_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.localization_token_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.template_file_.ClearNonDefaultToEmpty(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCommunity_GamePersonalDataCategoryInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_type(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCommunity_GamePersonalDataCategoryInfo.type"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string localization_token = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_localization_token(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCommunity_GamePersonalDataCategoryInfo.localization_token"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string template_file = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_template_file(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCommunity_GamePersonalDataCategoryInfo.template_file"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCommunity_GamePersonalDataCategoryInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCommunity_GamePersonalDataCategoryInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string type = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_type().data(), static_cast(this->_internal_type().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCommunity_GamePersonalDataCategoryInfo.type"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_type(), target); - } - - // optional string localization_token = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_localization_token().data(), static_cast(this->_internal_localization_token().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCommunity_GamePersonalDataCategoryInfo.localization_token"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_localization_token(), target); - } - - // optional string template_file = 3; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_template_file().data(), static_cast(this->_internal_template_file().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCommunity_GamePersonalDataCategoryInfo.template_file"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_template_file(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCommunity_GamePersonalDataCategoryInfo) - return target; -} - -size_t CCommunity_GamePersonalDataCategoryInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCommunity_GamePersonalDataCategoryInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string type = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_type()); - } - - // optional string localization_token = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_localization_token()); - } - - // optional string template_file = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_template_file()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCommunity_GamePersonalDataCategoryInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCommunity_GamePersonalDataCategoryInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCommunity_GamePersonalDataCategoryInfo::GetClassData() const { return &_class_data_; } - - -void CCommunity_GamePersonalDataCategoryInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCommunity_GamePersonalDataCategoryInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_type(from._internal_type()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_localization_token(from._internal_localization_token()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_template_file(from._internal_template_file()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCommunity_GamePersonalDataCategoryInfo::CopyFrom(const CCommunity_GamePersonalDataCategoryInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCommunity_GamePersonalDataCategoryInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCommunity_GamePersonalDataCategoryInfo::IsInitialized() const { - return true; -} - -void CCommunity_GamePersonalDataCategoryInfo::InternalSwap(CCommunity_GamePersonalDataCategoryInfo* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.type_, lhs_arena, - &other->_impl_.type_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.localization_token_, lhs_arena, - &other->_impl_.localization_token_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.template_file_, lhs_arena, - &other->_impl_.template_file_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCommunity_GamePersonalDataCategoryInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, - file_level_metadata_gcsystemmsgs_2eproto[7]); -} - -// =================================================================== - -class CCommunity_GetGamePersonalDataCategories_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCommunity_GetGamePersonalDataCategories_Request::CCommunity_GetGamePersonalDataCategories_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCommunity_GetGamePersonalDataCategories_Request) -} -CCommunity_GetGamePersonalDataCategories_Request::CCommunity_GetGamePersonalDataCategories_Request(const CCommunity_GetGamePersonalDataCategories_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCommunity_GetGamePersonalDataCategories_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.appid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.appid_ = from._impl_.appid_; - // @@protoc_insertion_point(copy_constructor:CCommunity_GetGamePersonalDataCategories_Request) -} - -inline void CCommunity_GetGamePersonalDataCategories_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.appid_){0u} - }; -} - -CCommunity_GetGamePersonalDataCategories_Request::~CCommunity_GetGamePersonalDataCategories_Request() { - // @@protoc_insertion_point(destructor:CCommunity_GetGamePersonalDataCategories_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCommunity_GetGamePersonalDataCategories_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCommunity_GetGamePersonalDataCategories_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCommunity_GetGamePersonalDataCategories_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CCommunity_GetGamePersonalDataCategories_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.appid_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCommunity_GetGamePersonalDataCategories_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCommunity_GetGamePersonalDataCategories_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCommunity_GetGamePersonalDataCategories_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCommunity_GetGamePersonalDataCategories_Request) - return target; -} - -size_t CCommunity_GetGamePersonalDataCategories_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCommunity_GetGamePersonalDataCategories_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 appid = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCommunity_GetGamePersonalDataCategories_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCommunity_GetGamePersonalDataCategories_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCommunity_GetGamePersonalDataCategories_Request::GetClassData() const { return &_class_data_; } - - -void CCommunity_GetGamePersonalDataCategories_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCommunity_GetGamePersonalDataCategories_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_appid()) { - _this->_internal_set_appid(from._internal_appid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCommunity_GetGamePersonalDataCategories_Request::CopyFrom(const CCommunity_GetGamePersonalDataCategories_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCommunity_GetGamePersonalDataCategories_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCommunity_GetGamePersonalDataCategories_Request::IsInitialized() const { - return true; -} - -void CCommunity_GetGamePersonalDataCategories_Request::InternalSwap(CCommunity_GetGamePersonalDataCategories_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.appid_, other->_impl_.appid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCommunity_GetGamePersonalDataCategories_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, - file_level_metadata_gcsystemmsgs_2eproto[8]); -} - -// =================================================================== - -class CCommunity_GetGamePersonalDataCategories_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_app_assets_basename(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCommunity_GetGamePersonalDataCategories_Response::CCommunity_GetGamePersonalDataCategories_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCommunity_GetGamePersonalDataCategories_Response) -} -CCommunity_GetGamePersonalDataCategories_Response::CCommunity_GetGamePersonalDataCategories_Response(const CCommunity_GetGamePersonalDataCategories_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCommunity_GetGamePersonalDataCategories_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.categories_){from._impl_.categories_} - , decltype(_impl_.app_assets_basename_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.app_assets_basename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.app_assets_basename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_app_assets_basename()) { - _this->_impl_.app_assets_basename_.Set(from._internal_app_assets_basename(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CCommunity_GetGamePersonalDataCategories_Response) -} - -inline void CCommunity_GetGamePersonalDataCategories_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.categories_){arena} - , decltype(_impl_.app_assets_basename_){} - }; - _impl_.app_assets_basename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.app_assets_basename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCommunity_GetGamePersonalDataCategories_Response::~CCommunity_GetGamePersonalDataCategories_Response() { - // @@protoc_insertion_point(destructor:CCommunity_GetGamePersonalDataCategories_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCommunity_GetGamePersonalDataCategories_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.categories_.~RepeatedPtrField(); - _impl_.app_assets_basename_.Destroy(); -} - -void CCommunity_GetGamePersonalDataCategories_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCommunity_GetGamePersonalDataCategories_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CCommunity_GetGamePersonalDataCategories_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.categories_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.app_assets_basename_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCommunity_GetGamePersonalDataCategories_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CCommunity_GamePersonalDataCategoryInfo categories = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_categories(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // optional string app_assets_basename = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_app_assets_basename(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCommunity_GetGamePersonalDataCategories_Response.app_assets_basename"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCommunity_GetGamePersonalDataCategories_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCommunity_GetGamePersonalDataCategories_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CCommunity_GamePersonalDataCategoryInfo categories = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_categories_size()); i < n; i++) { - const auto& repfield = this->_internal_categories(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional string app_assets_basename = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_app_assets_basename().data(), static_cast(this->_internal_app_assets_basename().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCommunity_GetGamePersonalDataCategories_Response.app_assets_basename"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_app_assets_basename(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCommunity_GetGamePersonalDataCategories_Response) - return target; -} - -size_t CCommunity_GetGamePersonalDataCategories_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCommunity_GetGamePersonalDataCategories_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CCommunity_GamePersonalDataCategoryInfo categories = 1; - total_size += 1UL * this->_internal_categories_size(); - for (const auto& msg : this->_impl_.categories_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional string app_assets_basename = 2; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_app_assets_basename()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCommunity_GetGamePersonalDataCategories_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCommunity_GetGamePersonalDataCategories_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCommunity_GetGamePersonalDataCategories_Response::GetClassData() const { return &_class_data_; } - - -void CCommunity_GetGamePersonalDataCategories_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCommunity_GetGamePersonalDataCategories_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.categories_.MergeFrom(from._impl_.categories_); - if (from._internal_has_app_assets_basename()) { - _this->_internal_set_app_assets_basename(from._internal_app_assets_basename()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCommunity_GetGamePersonalDataCategories_Response::CopyFrom(const CCommunity_GetGamePersonalDataCategories_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCommunity_GetGamePersonalDataCategories_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCommunity_GetGamePersonalDataCategories_Response::IsInitialized() const { - return true; -} - -void CCommunity_GetGamePersonalDataCategories_Response::InternalSwap(CCommunity_GetGamePersonalDataCategories_Response* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.categories_.InternalSwap(&other->_impl_.categories_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.app_assets_basename_, lhs_arena, - &other->_impl_.app_assets_basename_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCommunity_GetGamePersonalDataCategories_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, - file_level_metadata_gcsystemmsgs_2eproto[9]); -} - -// =================================================================== - -class CCommunity_GetGamePersonalDataEntries_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_continue_token(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCommunity_GetGamePersonalDataEntries_Request::CCommunity_GetGamePersonalDataEntries_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCommunity_GetGamePersonalDataEntries_Request) -} -CCommunity_GetGamePersonalDataEntries_Request::CCommunity_GetGamePersonalDataEntries_Request(const CCommunity_GetGamePersonalDataEntries_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCommunity_GetGamePersonalDataEntries_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){} - , decltype(_impl_.continue_token_){} - , decltype(_impl_.steamid_){} - , decltype(_impl_.appid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.type_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.type_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_type()) { - _this->_impl_.type_.Set(from._internal_type(), - _this->GetArenaForAllocation()); - } - _impl_.continue_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.continue_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_continue_token()) { - _this->_impl_.continue_token_.Set(from._internal_continue_token(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, - static_cast(reinterpret_cast(&_impl_.appid_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); - // @@protoc_insertion_point(copy_constructor:CCommunity_GetGamePersonalDataEntries_Request) -} - -inline void CCommunity_GetGamePersonalDataEntries_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){} - , decltype(_impl_.continue_token_){} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.appid_){0u} - }; - _impl_.type_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.type_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.continue_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.continue_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCommunity_GetGamePersonalDataEntries_Request::~CCommunity_GetGamePersonalDataEntries_Request() { - // @@protoc_insertion_point(destructor:CCommunity_GetGamePersonalDataEntries_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCommunity_GetGamePersonalDataEntries_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.type_.Destroy(); - _impl_.continue_token_.Destroy(); -} - -void CCommunity_GetGamePersonalDataEntries_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCommunity_GetGamePersonalDataEntries_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CCommunity_GetGamePersonalDataEntries_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.type_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.continue_token_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000000cu) { - ::memset(&_impl_.steamid_, 0, static_cast( - reinterpret_cast(&_impl_.appid_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCommunity_GetGamePersonalDataEntries_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 steamid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string type = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_type(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCommunity_GetGamePersonalDataEntries_Request.type"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string continue_token = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_continue_token(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCommunity_GetGamePersonalDataEntries_Request.continue_token"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCommunity_GetGamePersonalDataEntries_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCommunity_GetGamePersonalDataEntries_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // optional uint64 steamid = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_steamid(), target); - } - - // optional string type = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_type().data(), static_cast(this->_internal_type().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCommunity_GetGamePersonalDataEntries_Request.type"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_type(), target); - } - - // optional string continue_token = 4; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_continue_token().data(), static_cast(this->_internal_continue_token().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCommunity_GetGamePersonalDataEntries_Request.continue_token"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_continue_token(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCommunity_GetGamePersonalDataEntries_Request) - return target; -} - -size_t CCommunity_GetGamePersonalDataEntries_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCommunity_GetGamePersonalDataEntries_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string type = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_type()); - } - - // optional string continue_token = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_continue_token()); - } - - // optional uint64 steamid = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_steamid()); - } - - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCommunity_GetGamePersonalDataEntries_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCommunity_GetGamePersonalDataEntries_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCommunity_GetGamePersonalDataEntries_Request::GetClassData() const { return &_class_data_; } - - -void CCommunity_GetGamePersonalDataEntries_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCommunity_GetGamePersonalDataEntries_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_type(from._internal_type()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_continue_token(from._internal_continue_token()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCommunity_GetGamePersonalDataEntries_Request::CopyFrom(const CCommunity_GetGamePersonalDataEntries_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCommunity_GetGamePersonalDataEntries_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCommunity_GetGamePersonalDataEntries_Request::IsInitialized() const { - return true; -} - -void CCommunity_GetGamePersonalDataEntries_Request::InternalSwap(CCommunity_GetGamePersonalDataEntries_Request* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.type_, lhs_arena, - &other->_impl_.type_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.continue_token_, lhs_arena, - &other->_impl_.continue_token_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCommunity_GetGamePersonalDataEntries_Request, _impl_.appid_) - + sizeof(CCommunity_GetGamePersonalDataEntries_Request::_impl_.appid_) - - PROTOBUF_FIELD_OFFSET(CCommunity_GetGamePersonalDataEntries_Request, _impl_.steamid_)>( - reinterpret_cast(&_impl_.steamid_), - reinterpret_cast(&other->_impl_.steamid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCommunity_GetGamePersonalDataEntries_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, - file_level_metadata_gcsystemmsgs_2eproto[10]); -} - -// =================================================================== - -class CCommunity_GetGamePersonalDataEntries_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_gceresult(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_continue_token(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_continue_text(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCommunity_GetGamePersonalDataEntries_Response::CCommunity_GetGamePersonalDataEntries_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCommunity_GetGamePersonalDataEntries_Response) -} -CCommunity_GetGamePersonalDataEntries_Response::CCommunity_GetGamePersonalDataEntries_Response(const CCommunity_GetGamePersonalDataEntries_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCommunity_GetGamePersonalDataEntries_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entries_){from._impl_.entries_} - , decltype(_impl_.continue_token_){} - , decltype(_impl_.continue_text_){} - , decltype(_impl_.gceresult_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.continue_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.continue_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_continue_token()) { - _this->_impl_.continue_token_.Set(from._internal_continue_token(), - _this->GetArenaForAllocation()); - } - _impl_.continue_text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.continue_text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_continue_text()) { - _this->_impl_.continue_text_.Set(from._internal_continue_text(), - _this->GetArenaForAllocation()); - } - _this->_impl_.gceresult_ = from._impl_.gceresult_; - // @@protoc_insertion_point(copy_constructor:CCommunity_GetGamePersonalDataEntries_Response) -} - -inline void CCommunity_GetGamePersonalDataEntries_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entries_){arena} - , decltype(_impl_.continue_token_){} - , decltype(_impl_.continue_text_){} - , decltype(_impl_.gceresult_){0u} - }; - _impl_.continue_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.continue_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.continue_text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.continue_text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCommunity_GetGamePersonalDataEntries_Response::~CCommunity_GetGamePersonalDataEntries_Response() { - // @@protoc_insertion_point(destructor:CCommunity_GetGamePersonalDataEntries_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCommunity_GetGamePersonalDataEntries_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.entries_.~RepeatedPtrField(); - _impl_.continue_token_.Destroy(); - _impl_.continue_text_.Destroy(); -} - -void CCommunity_GetGamePersonalDataEntries_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCommunity_GetGamePersonalDataEntries_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CCommunity_GetGamePersonalDataEntries_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.entries_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.continue_token_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.continue_text_.ClearNonDefaultToEmpty(); - } - } - _impl_.gceresult_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCommunity_GetGamePersonalDataEntries_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 gceresult = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_gceresult(&has_bits); - _impl_.gceresult_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated string entries = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_entries(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCommunity_GetGamePersonalDataEntries_Response.entries"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional string continue_token = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_continue_token(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCommunity_GetGamePersonalDataEntries_Response.continue_token"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string continue_text = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_continue_text(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCommunity_GetGamePersonalDataEntries_Response.continue_text"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCommunity_GetGamePersonalDataEntries_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCommunity_GetGamePersonalDataEntries_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 gceresult = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_gceresult(), target); - } - - // repeated string entries = 2; - for (int i = 0, n = this->_internal_entries_size(); i < n; i++) { - const auto& s = this->_internal_entries(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCommunity_GetGamePersonalDataEntries_Response.entries"); - target = stream->WriteString(2, s, target); - } - - // optional string continue_token = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_continue_token().data(), static_cast(this->_internal_continue_token().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCommunity_GetGamePersonalDataEntries_Response.continue_token"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_continue_token(), target); - } - - // optional string continue_text = 4; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_continue_text().data(), static_cast(this->_internal_continue_text().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCommunity_GetGamePersonalDataEntries_Response.continue_text"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_continue_text(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCommunity_GetGamePersonalDataEntries_Response) - return target; -} - -size_t CCommunity_GetGamePersonalDataEntries_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCommunity_GetGamePersonalDataEntries_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string entries = 2; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.entries_.size()); - for (int i = 0, n = _impl_.entries_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.entries_.Get(i)); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string continue_token = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_continue_token()); - } - - // optional string continue_text = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_continue_text()); - } - - // optional uint32 gceresult = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gceresult()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCommunity_GetGamePersonalDataEntries_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCommunity_GetGamePersonalDataEntries_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCommunity_GetGamePersonalDataEntries_Response::GetClassData() const { return &_class_data_; } - - -void CCommunity_GetGamePersonalDataEntries_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCommunity_GetGamePersonalDataEntries_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.entries_.MergeFrom(from._impl_.entries_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_continue_token(from._internal_continue_token()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_continue_text(from._internal_continue_text()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.gceresult_ = from._impl_.gceresult_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCommunity_GetGamePersonalDataEntries_Response::CopyFrom(const CCommunity_GetGamePersonalDataEntries_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCommunity_GetGamePersonalDataEntries_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCommunity_GetGamePersonalDataEntries_Response::IsInitialized() const { - return true; -} - -void CCommunity_GetGamePersonalDataEntries_Response::InternalSwap(CCommunity_GetGamePersonalDataEntries_Response* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.entries_.InternalSwap(&other->_impl_.entries_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.continue_token_, lhs_arena, - &other->_impl_.continue_token_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.continue_text_, lhs_arena, - &other->_impl_.continue_text_, rhs_arena - ); - swap(_impl_.gceresult_, other->_impl_.gceresult_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCommunity_GetGamePersonalDataEntries_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, - file_level_metadata_gcsystemmsgs_2eproto[11]); -} - -// =================================================================== - -class CCommunity_TerminateGamePersonalDataEntries_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCommunity_TerminateGamePersonalDataEntries_Request::CCommunity_TerminateGamePersonalDataEntries_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCommunity_TerminateGamePersonalDataEntries_Request) -} -CCommunity_TerminateGamePersonalDataEntries_Request::CCommunity_TerminateGamePersonalDataEntries_Request(const CCommunity_TerminateGamePersonalDataEntries_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCommunity_TerminateGamePersonalDataEntries_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){} - , decltype(_impl_.appid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, - static_cast(reinterpret_cast(&_impl_.appid_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); - // @@protoc_insertion_point(copy_constructor:CCommunity_TerminateGamePersonalDataEntries_Request) -} - -inline void CCommunity_TerminateGamePersonalDataEntries_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.appid_){0u} - }; -} - -CCommunity_TerminateGamePersonalDataEntries_Request::~CCommunity_TerminateGamePersonalDataEntries_Request() { - // @@protoc_insertion_point(destructor:CCommunity_TerminateGamePersonalDataEntries_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCommunity_TerminateGamePersonalDataEntries_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCommunity_TerminateGamePersonalDataEntries_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCommunity_TerminateGamePersonalDataEntries_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CCommunity_TerminateGamePersonalDataEntries_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.steamid_, 0, static_cast( - reinterpret_cast(&_impl_.appid_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCommunity_TerminateGamePersonalDataEntries_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 steamid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCommunity_TerminateGamePersonalDataEntries_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCommunity_TerminateGamePersonalDataEntries_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // optional uint64 steamid = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_steamid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCommunity_TerminateGamePersonalDataEntries_Request) - return target; -} - -size_t CCommunity_TerminateGamePersonalDataEntries_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCommunity_TerminateGamePersonalDataEntries_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 steamid = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_steamid()); - } - - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCommunity_TerminateGamePersonalDataEntries_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCommunity_TerminateGamePersonalDataEntries_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCommunity_TerminateGamePersonalDataEntries_Request::GetClassData() const { return &_class_data_; } - - -void CCommunity_TerminateGamePersonalDataEntries_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCommunity_TerminateGamePersonalDataEntries_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCommunity_TerminateGamePersonalDataEntries_Request::CopyFrom(const CCommunity_TerminateGamePersonalDataEntries_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCommunity_TerminateGamePersonalDataEntries_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCommunity_TerminateGamePersonalDataEntries_Request::IsInitialized() const { - return true; -} - -void CCommunity_TerminateGamePersonalDataEntries_Request::InternalSwap(CCommunity_TerminateGamePersonalDataEntries_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCommunity_TerminateGamePersonalDataEntries_Request, _impl_.appid_) - + sizeof(CCommunity_TerminateGamePersonalDataEntries_Request::_impl_.appid_) - - PROTOBUF_FIELD_OFFSET(CCommunity_TerminateGamePersonalDataEntries_Request, _impl_.steamid_)>( - reinterpret_cast(&_impl_.steamid_), - reinterpret_cast(&other->_impl_.steamid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCommunity_TerminateGamePersonalDataEntries_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, - file_level_metadata_gcsystemmsgs_2eproto[12]); -} - -// =================================================================== - -class CCommunity_TerminateGamePersonalDataEntries_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_gceresult(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCommunity_TerminateGamePersonalDataEntries_Response::CCommunity_TerminateGamePersonalDataEntries_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCommunity_TerminateGamePersonalDataEntries_Response) -} -CCommunity_TerminateGamePersonalDataEntries_Response::CCommunity_TerminateGamePersonalDataEntries_Response(const CCommunity_TerminateGamePersonalDataEntries_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCommunity_TerminateGamePersonalDataEntries_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gceresult_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.gceresult_ = from._impl_.gceresult_; - // @@protoc_insertion_point(copy_constructor:CCommunity_TerminateGamePersonalDataEntries_Response) -} - -inline void CCommunity_TerminateGamePersonalDataEntries_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gceresult_){0u} - }; -} - -CCommunity_TerminateGamePersonalDataEntries_Response::~CCommunity_TerminateGamePersonalDataEntries_Response() { - // @@protoc_insertion_point(destructor:CCommunity_TerminateGamePersonalDataEntries_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCommunity_TerminateGamePersonalDataEntries_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCommunity_TerminateGamePersonalDataEntries_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCommunity_TerminateGamePersonalDataEntries_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CCommunity_TerminateGamePersonalDataEntries_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.gceresult_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCommunity_TerminateGamePersonalDataEntries_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 gceresult = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_gceresult(&has_bits); - _impl_.gceresult_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCommunity_TerminateGamePersonalDataEntries_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCommunity_TerminateGamePersonalDataEntries_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 gceresult = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_gceresult(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCommunity_TerminateGamePersonalDataEntries_Response) - return target; -} - -size_t CCommunity_TerminateGamePersonalDataEntries_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCommunity_TerminateGamePersonalDataEntries_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 gceresult = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gceresult()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCommunity_TerminateGamePersonalDataEntries_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCommunity_TerminateGamePersonalDataEntries_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCommunity_TerminateGamePersonalDataEntries_Response::GetClassData() const { return &_class_data_; } - - -void CCommunity_TerminateGamePersonalDataEntries_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCommunity_TerminateGamePersonalDataEntries_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_gceresult()) { - _this->_internal_set_gceresult(from._internal_gceresult()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCommunity_TerminateGamePersonalDataEntries_Response::CopyFrom(const CCommunity_TerminateGamePersonalDataEntries_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCommunity_TerminateGamePersonalDataEntries_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCommunity_TerminateGamePersonalDataEntries_Response::IsInitialized() const { - return true; -} - -void CCommunity_TerminateGamePersonalDataEntries_Response::InternalSwap(CCommunity_TerminateGamePersonalDataEntries_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.gceresult_, other->_impl_.gceresult_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCommunity_TerminateGamePersonalDataEntries_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_gcsystemmsgs_2eproto_getter, &descriptor_table_gcsystemmsgs_2eproto_once, - file_level_metadata_gcsystemmsgs_2eproto[13]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CMsgGCHVacVerificationChange* -Arena::CreateMaybeMessage< ::CMsgGCHVacVerificationChange >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCHVacVerificationChange >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCHAccountPhoneNumberChange* -Arena::CreateMaybeMessage< ::CMsgGCHAccountPhoneNumberChange >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCHAccountPhoneNumberChange >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCHInviteUserToLobby* -Arena::CreateMaybeMessage< ::CMsgGCHInviteUserToLobby >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCHInviteUserToLobby >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgGCHRecurringSubscriptionStatusChange* -Arena::CreateMaybeMessage< ::CMsgGCHRecurringSubscriptionStatusChange >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgGCHRecurringSubscriptionStatusChange >(arena); -} -template<> PROTOBUF_NOINLINE ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* -Arena::CreateMaybeMessage< ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute >(Arena* arena) { - return Arena::CreateMessageInternal< ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute >(arena); -} -template<> PROTOBUF_NOINLINE ::CQuest_PublisherAddCommunityItemsToPlayer_Request* -Arena::CreateMaybeMessage< ::CQuest_PublisherAddCommunityItemsToPlayer_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CQuest_PublisherAddCommunityItemsToPlayer_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CQuest_PublisherAddCommunityItemsToPlayer_Response* -Arena::CreateMaybeMessage< ::CQuest_PublisherAddCommunityItemsToPlayer_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CQuest_PublisherAddCommunityItemsToPlayer_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CCommunity_GamePersonalDataCategoryInfo* -Arena::CreateMaybeMessage< ::CCommunity_GamePersonalDataCategoryInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCommunity_GamePersonalDataCategoryInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CCommunity_GetGamePersonalDataCategories_Request* -Arena::CreateMaybeMessage< ::CCommunity_GetGamePersonalDataCategories_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCommunity_GetGamePersonalDataCategories_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CCommunity_GetGamePersonalDataCategories_Response* -Arena::CreateMaybeMessage< ::CCommunity_GetGamePersonalDataCategories_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCommunity_GetGamePersonalDataCategories_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CCommunity_GetGamePersonalDataEntries_Request* -Arena::CreateMaybeMessage< ::CCommunity_GetGamePersonalDataEntries_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCommunity_GetGamePersonalDataEntries_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CCommunity_GetGamePersonalDataEntries_Response* -Arena::CreateMaybeMessage< ::CCommunity_GetGamePersonalDataEntries_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCommunity_GetGamePersonalDataEntries_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CCommunity_TerminateGamePersonalDataEntries_Request* -Arena::CreateMaybeMessage< ::CCommunity_TerminateGamePersonalDataEntries_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCommunity_TerminateGamePersonalDataEntries_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CCommunity_TerminateGamePersonalDataEntries_Response* -Arena::CreateMaybeMessage< ::CCommunity_TerminateGamePersonalDataEntries_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCommunity_TerminateGamePersonalDataEntries_Response >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/gcsystemmsgs.pb.h b/protobuf/generated/gcsystemmsgs.pb.h deleted file mode 100644 index 01122edb5..000000000 --- a/protobuf/generated/gcsystemmsgs.pb.h +++ /dev/null @@ -1,4973 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: gcsystemmsgs.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_gcsystemmsgs_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_gcsystemmsgs_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_gcsystemmsgs_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_gcsystemmsgs_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_gcsystemmsgs_2eproto; -class CCommunity_GamePersonalDataCategoryInfo; -struct CCommunity_GamePersonalDataCategoryInfoDefaultTypeInternal; -extern CCommunity_GamePersonalDataCategoryInfoDefaultTypeInternal _CCommunity_GamePersonalDataCategoryInfo_default_instance_; -class CCommunity_GetGamePersonalDataCategories_Request; -struct CCommunity_GetGamePersonalDataCategories_RequestDefaultTypeInternal; -extern CCommunity_GetGamePersonalDataCategories_RequestDefaultTypeInternal _CCommunity_GetGamePersonalDataCategories_Request_default_instance_; -class CCommunity_GetGamePersonalDataCategories_Response; -struct CCommunity_GetGamePersonalDataCategories_ResponseDefaultTypeInternal; -extern CCommunity_GetGamePersonalDataCategories_ResponseDefaultTypeInternal _CCommunity_GetGamePersonalDataCategories_Response_default_instance_; -class CCommunity_GetGamePersonalDataEntries_Request; -struct CCommunity_GetGamePersonalDataEntries_RequestDefaultTypeInternal; -extern CCommunity_GetGamePersonalDataEntries_RequestDefaultTypeInternal _CCommunity_GetGamePersonalDataEntries_Request_default_instance_; -class CCommunity_GetGamePersonalDataEntries_Response; -struct CCommunity_GetGamePersonalDataEntries_ResponseDefaultTypeInternal; -extern CCommunity_GetGamePersonalDataEntries_ResponseDefaultTypeInternal _CCommunity_GetGamePersonalDataEntries_Response_default_instance_; -class CCommunity_TerminateGamePersonalDataEntries_Request; -struct CCommunity_TerminateGamePersonalDataEntries_RequestDefaultTypeInternal; -extern CCommunity_TerminateGamePersonalDataEntries_RequestDefaultTypeInternal _CCommunity_TerminateGamePersonalDataEntries_Request_default_instance_; -class CCommunity_TerminateGamePersonalDataEntries_Response; -struct CCommunity_TerminateGamePersonalDataEntries_ResponseDefaultTypeInternal; -extern CCommunity_TerminateGamePersonalDataEntries_ResponseDefaultTypeInternal _CCommunity_TerminateGamePersonalDataEntries_Response_default_instance_; -class CMsgGCHAccountPhoneNumberChange; -struct CMsgGCHAccountPhoneNumberChangeDefaultTypeInternal; -extern CMsgGCHAccountPhoneNumberChangeDefaultTypeInternal _CMsgGCHAccountPhoneNumberChange_default_instance_; -class CMsgGCHInviteUserToLobby; -struct CMsgGCHInviteUserToLobbyDefaultTypeInternal; -extern CMsgGCHInviteUserToLobbyDefaultTypeInternal _CMsgGCHInviteUserToLobby_default_instance_; -class CMsgGCHRecurringSubscriptionStatusChange; -struct CMsgGCHRecurringSubscriptionStatusChangeDefaultTypeInternal; -extern CMsgGCHRecurringSubscriptionStatusChangeDefaultTypeInternal _CMsgGCHRecurringSubscriptionStatusChange_default_instance_; -class CMsgGCHVacVerificationChange; -struct CMsgGCHVacVerificationChangeDefaultTypeInternal; -extern CMsgGCHVacVerificationChangeDefaultTypeInternal _CMsgGCHVacVerificationChange_default_instance_; -class CQuest_PublisherAddCommunityItemsToPlayer_Request; -struct CQuest_PublisherAddCommunityItemsToPlayer_RequestDefaultTypeInternal; -extern CQuest_PublisherAddCommunityItemsToPlayer_RequestDefaultTypeInternal _CQuest_PublisherAddCommunityItemsToPlayer_Request_default_instance_; -class CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute; -struct CQuest_PublisherAddCommunityItemsToPlayer_Request_AttributeDefaultTypeInternal; -extern CQuest_PublisherAddCommunityItemsToPlayer_Request_AttributeDefaultTypeInternal _CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute_default_instance_; -class CQuest_PublisherAddCommunityItemsToPlayer_Response; -struct CQuest_PublisherAddCommunityItemsToPlayer_ResponseDefaultTypeInternal; -extern CQuest_PublisherAddCommunityItemsToPlayer_ResponseDefaultTypeInternal _CQuest_PublisherAddCommunityItemsToPlayer_Response_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CCommunity_GamePersonalDataCategoryInfo* Arena::CreateMaybeMessage<::CCommunity_GamePersonalDataCategoryInfo>(Arena*); -template<> ::CCommunity_GetGamePersonalDataCategories_Request* Arena::CreateMaybeMessage<::CCommunity_GetGamePersonalDataCategories_Request>(Arena*); -template<> ::CCommunity_GetGamePersonalDataCategories_Response* Arena::CreateMaybeMessage<::CCommunity_GetGamePersonalDataCategories_Response>(Arena*); -template<> ::CCommunity_GetGamePersonalDataEntries_Request* Arena::CreateMaybeMessage<::CCommunity_GetGamePersonalDataEntries_Request>(Arena*); -template<> ::CCommunity_GetGamePersonalDataEntries_Response* Arena::CreateMaybeMessage<::CCommunity_GetGamePersonalDataEntries_Response>(Arena*); -template<> ::CCommunity_TerminateGamePersonalDataEntries_Request* Arena::CreateMaybeMessage<::CCommunity_TerminateGamePersonalDataEntries_Request>(Arena*); -template<> ::CCommunity_TerminateGamePersonalDataEntries_Response* Arena::CreateMaybeMessage<::CCommunity_TerminateGamePersonalDataEntries_Response>(Arena*); -template<> ::CMsgGCHAccountPhoneNumberChange* Arena::CreateMaybeMessage<::CMsgGCHAccountPhoneNumberChange>(Arena*); -template<> ::CMsgGCHInviteUserToLobby* Arena::CreateMaybeMessage<::CMsgGCHInviteUserToLobby>(Arena*); -template<> ::CMsgGCHRecurringSubscriptionStatusChange* Arena::CreateMaybeMessage<::CMsgGCHRecurringSubscriptionStatusChange>(Arena*); -template<> ::CMsgGCHVacVerificationChange* Arena::CreateMaybeMessage<::CMsgGCHVacVerificationChange>(Arena*); -template<> ::CQuest_PublisherAddCommunityItemsToPlayer_Request* Arena::CreateMaybeMessage<::CQuest_PublisherAddCommunityItemsToPlayer_Request>(Arena*); -template<> ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* Arena::CreateMaybeMessage<::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute>(Arena*); -template<> ::CQuest_PublisherAddCommunityItemsToPlayer_Response* Arena::CreateMaybeMessage<::CQuest_PublisherAddCommunityItemsToPlayer_Response>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum EGCSystemMsg : int { - k_EGCMsgInvalid = 0, - k_EGCMsgMulti = 1, - k_EGCMsgGenericReply = 10, - k_EGCMsgSystemBase = 50, - k_EGCMsgAchievementAwarded = 51, - k_EGCMsgConCommand = 52, - k_EGCMsgStartPlaying = 53, - k_EGCMsgStopPlaying = 54, - k_EGCMsgStartGameserver = 55, - k_EGCMsgStopGameserver = 56, - k_EGCMsgWGRequest = 57, - k_EGCMsgWGResponse = 58, - k_EGCMsgGetUserGameStatsSchema = 59, - k_EGCMsgGetUserGameStatsSchemaResponse = 60, - k_EGCMsgGetUserStatsDEPRECATED = 61, - k_EGCMsgGetUserStatsResponse = 62, - k_EGCMsgAppInfoUpdated = 63, - k_EGCMsgValidateSession = 64, - k_EGCMsgValidateSessionResponse = 65, - k_EGCMsgLookupAccountFromInput = 66, - k_EGCMsgSendHTTPRequest = 67, - k_EGCMsgSendHTTPRequestResponse = 68, - k_EGCMsgPreTestSetup = 69, - k_EGCMsgRecordSupportAction = 70, - k_EGCMsgGetAccountDetails_DEPRECATED = 71, - k_EGCMsgReceiveInterAppMessage = 73, - k_EGCMsgFindAccounts = 74, - k_EGCMsgPostAlert = 75, - k_EGCMsgGetLicenses = 76, - k_EGCMsgGetUserStats = 77, - k_EGCMsgGetCommands = 78, - k_EGCMsgGetCommandsResponse = 79, - k_EGCMsgAddFreeLicense = 80, - k_EGCMsgAddFreeLicenseResponse = 81, - k_EGCMsgGetIPLocation = 82, - k_EGCMsgGetIPLocationResponse = 83, - k_EGCMsgSystemStatsSchema = 84, - k_EGCMsgGetSystemStats = 85, - k_EGCMsgGetSystemStatsResponse = 86, - k_EGCMsgSendEmail = 87, - k_EGCMsgSendEmailResponse = 88, - k_EGCMsgGetEmailTemplate = 89, - k_EGCMsgGetEmailTemplateResponse = 90, - k_EGCMsgGrantGuestPass = 91, - k_EGCMsgGrantGuestPassResponse = 92, - k_EGCMsgGetAccountDetails = 93, - k_EGCMsgGetAccountDetailsResponse = 94, - k_EGCMsgGetPersonaNames = 95, - k_EGCMsgGetPersonaNamesResponse = 96, - k_EGCMsgMultiplexMsg = 97, - k_EGCMsgMultiplexMsgResponse = 98, - k_EGCMsgWebAPIRegisterInterfaces = 101, - k_EGCMsgWebAPIJobRequest = 102, - k_EGCMsgWebAPIJobRequestHttpResponse = 104, - k_EGCMsgWebAPIJobRequestForwardResponse = 105, - k_EGCMsgMemCachedGet = 200, - k_EGCMsgMemCachedGetResponse = 201, - k_EGCMsgMemCachedSet = 202, - k_EGCMsgMemCachedDelete = 203, - k_EGCMsgMemCachedStats = 204, - k_EGCMsgMemCachedStatsResponse = 205, - k_EGCMsgMasterSetDirectory = 220, - k_EGCMsgMasterSetDirectoryResponse = 221, - k_EGCMsgMasterSetWebAPIRouting = 222, - k_EGCMsgMasterSetWebAPIRoutingResponse = 223, - k_EGCMsgMasterSetClientMsgRouting = 224, - k_EGCMsgMasterSetClientMsgRoutingResponse = 225, - k_EGCMsgSetOptions = 226, - k_EGCMsgSetOptionsResponse = 227, - k_EGCMsgSystemBase2 = 500, - k_EGCMsgGetPurchaseTrustStatus = 501, - k_EGCMsgGetPurchaseTrustStatusResponse = 502, - k_EGCMsgUpdateSession = 503, - k_EGCMsgGCAccountVacStatusChange = 504, - k_EGCMsgCheckFriendship = 505, - k_EGCMsgCheckFriendshipResponse = 506, - k_EGCMsgGetPartnerAccountLink = 507, - k_EGCMsgGetPartnerAccountLinkResponse = 508, - k_EGCMsgDPPartnerMicroTxns = 512, - k_EGCMsgDPPartnerMicroTxnsResponse = 513, - k_EGCMsgVacVerificationChange = 518, - k_EGCMsgAccountPhoneNumberChange = 519, - k_EGCMsgInviteUserToLobby = 523, - k_EGCMsgGetGamePersonalDataCategoriesRequest = 524, - k_EGCMsgGetGamePersonalDataCategoriesResponse = 525, - k_EGCMsgGetGamePersonalDataEntriesRequest = 526, - k_EGCMsgGetGamePersonalDataEntriesResponse = 527, - k_EGCMsgTerminateGamePersonalDataEntriesRequest = 528, - k_EGCMsgTerminateGamePersonalDataEntriesResponse = 529, - k_EGCMsgRecurringSubscriptionStatusChange = 530, - k_EGCMsgDirectServiceMethod = 531, - k_EGCMsgDirectServiceMethodResponse = 532 -}; -bool EGCSystemMsg_IsValid(int value); -constexpr EGCSystemMsg EGCSystemMsg_MIN = k_EGCMsgInvalid; -constexpr EGCSystemMsg EGCSystemMsg_MAX = k_EGCMsgDirectServiceMethodResponse; -constexpr int EGCSystemMsg_ARRAYSIZE = EGCSystemMsg_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCSystemMsg_descriptor(); -template -inline const std::string& EGCSystemMsg_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EGCSystemMsg_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EGCSystemMsg_descriptor(), enum_t_value); -} -inline bool EGCSystemMsg_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EGCSystemMsg* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EGCSystemMsg_descriptor(), name, value); -} -enum ESOMsg : int { - k_ESOMsg_Create = 21, - k_ESOMsg_Update = 22, - k_ESOMsg_Destroy = 23, - k_ESOMsg_CacheSubscribed = 24, - k_ESOMsg_CacheUnsubscribed = 25, - k_ESOMsg_UpdateMultiple = 26, - k_ESOMsg_CacheSubscriptionCheck = 27, - k_ESOMsg_CacheSubscriptionRefresh = 28 -}; -bool ESOMsg_IsValid(int value); -constexpr ESOMsg ESOMsg_MIN = k_ESOMsg_Create; -constexpr ESOMsg ESOMsg_MAX = k_ESOMsg_CacheSubscriptionRefresh; -constexpr int ESOMsg_ARRAYSIZE = ESOMsg_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESOMsg_descriptor(); -template -inline const std::string& ESOMsg_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ESOMsg_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ESOMsg_descriptor(), enum_t_value); -} -inline bool ESOMsg_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ESOMsg* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ESOMsg_descriptor(), name, value); -} -enum EGCBaseClientMsg : int { - k_EMsgGCClientWelcome = 4004, - k_EMsgGCServerWelcome = 4005, - k_EMsgGCClientHello = 4006, - k_EMsgGCServerHello = 4007, - k_EMsgGCClientConnectionStatus = 4009, - k_EMsgGCServerConnectionStatus = 4010, - k_EMsgGCClientHelloPartner = 4011, - k_EMsgGCClientHelloPW = 4012, - k_EMsgGCClientHelloR2 = 4013, - k_EMsgGCClientHelloR3 = 4014, - k_EMsgGCClientHelloR4 = 4015 -}; -bool EGCBaseClientMsg_IsValid(int value); -constexpr EGCBaseClientMsg EGCBaseClientMsg_MIN = k_EMsgGCClientWelcome; -constexpr EGCBaseClientMsg EGCBaseClientMsg_MAX = k_EMsgGCClientHelloR4; -constexpr int EGCBaseClientMsg_ARRAYSIZE = EGCBaseClientMsg_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCBaseClientMsg_descriptor(); -template -inline const std::string& EGCBaseClientMsg_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EGCBaseClientMsg_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EGCBaseClientMsg_descriptor(), enum_t_value); -} -inline bool EGCBaseClientMsg_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EGCBaseClientMsg* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EGCBaseClientMsg_descriptor(), name, value); -} -enum EGCToGCMsg : int { - k_EGCToGCMsgMasterAck = 150, - k_EGCToGCMsgMasterAckResponse = 151, - k_EGCToGCMsgRouted = 152, - k_EGCToGCMsgRoutedReply = 153, - k_EMsgUpdateSessionIP = 154, - k_EMsgRequestSessionIP = 155, - k_EMsgRequestSessionIPResponse = 156, - k_EGCToGCMsgMasterStartupComplete = 157 -}; -bool EGCToGCMsg_IsValid(int value); -constexpr EGCToGCMsg EGCToGCMsg_MIN = k_EGCToGCMsgMasterAck; -constexpr EGCToGCMsg EGCToGCMsg_MAX = k_EGCToGCMsgMasterStartupComplete; -constexpr int EGCToGCMsg_ARRAYSIZE = EGCToGCMsg_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EGCToGCMsg_descriptor(); -template -inline const std::string& EGCToGCMsg_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EGCToGCMsg_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EGCToGCMsg_descriptor(), enum_t_value); -} -inline bool EGCToGCMsg_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EGCToGCMsg* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EGCToGCMsg_descriptor(), name, value); -} -enum ECommunityItemClass : int { - k_ECommunityItemClass_Invalid = 0, - k_ECommunityItemClass_Badge = 1, - k_ECommunityItemClass_GameCard = 2, - k_ECommunityItemClass_ProfileBackground = 3, - k_ECommunityItemClass_Emoticon = 4, - k_ECommunityItemClass_BoosterPack = 5, - k_ECommunityItemClass_Consumable = 6, - k_ECommunityItemClass_GameGoo = 7, - k_ECommunityItemClass_ProfileModifier = 8, - k_ECommunityItemClass_Scene = 9, - k_ECommunityItemClass_SalienItem = 10 -}; -bool ECommunityItemClass_IsValid(int value); -constexpr ECommunityItemClass ECommunityItemClass_MIN = k_ECommunityItemClass_Invalid; -constexpr ECommunityItemClass ECommunityItemClass_MAX = k_ECommunityItemClass_SalienItem; -constexpr int ECommunityItemClass_ARRAYSIZE = ECommunityItemClass_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECommunityItemClass_descriptor(); -template -inline const std::string& ECommunityItemClass_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ECommunityItemClass_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ECommunityItemClass_descriptor(), enum_t_value); -} -inline bool ECommunityItemClass_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ECommunityItemClass* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ECommunityItemClass_descriptor(), name, value); -} -enum ECommunityItemAttribute : int { - k_ECommunityItemAttribute_Invalid = 0, - k_ECommunityItemAttribute_CardBorder = 1, - k_ECommunityItemAttribute_Level = 2, - k_ECommunityItemAttribute_IssueNumber = 3, - k_ECommunityItemAttribute_TradableTime = 4, - k_ECommunityItemAttribute_StorePackageID = 5, - k_ECommunityItemAttribute_CommunityItemAppID = 6, - k_ECommunityItemAttribute_CommunityItemType = 7, - k_ECommunityItemAttribute_ProfileModiferEnabled = 8, - k_ECommunityItemAttribute_ExpiryTime = 9 -}; -bool ECommunityItemAttribute_IsValid(int value); -constexpr ECommunityItemAttribute ECommunityItemAttribute_MIN = k_ECommunityItemAttribute_Invalid; -constexpr ECommunityItemAttribute ECommunityItemAttribute_MAX = k_ECommunityItemAttribute_ExpiryTime; -constexpr int ECommunityItemAttribute_ARRAYSIZE = ECommunityItemAttribute_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ECommunityItemAttribute_descriptor(); -template -inline const std::string& ECommunityItemAttribute_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ECommunityItemAttribute_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ECommunityItemAttribute_descriptor(), enum_t_value); -} -inline bool ECommunityItemAttribute_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ECommunityItemAttribute* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ECommunityItemAttribute_descriptor(), name, value); -} -// =================================================================== - -class CMsgGCHVacVerificationChange : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCHVacVerificationChange) */ { - public: - inline CMsgGCHVacVerificationChange() : CMsgGCHVacVerificationChange(nullptr) {} - ~CMsgGCHVacVerificationChange() override; - explicit PROTOBUF_CONSTEXPR CMsgGCHVacVerificationChange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCHVacVerificationChange(const CMsgGCHVacVerificationChange& from); - CMsgGCHVacVerificationChange(CMsgGCHVacVerificationChange&& from) noexcept - : CMsgGCHVacVerificationChange() { - *this = ::std::move(from); - } - - inline CMsgGCHVacVerificationChange& operator=(const CMsgGCHVacVerificationChange& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCHVacVerificationChange& operator=(CMsgGCHVacVerificationChange&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCHVacVerificationChange& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCHVacVerificationChange* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCHVacVerificationChange_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CMsgGCHVacVerificationChange& a, CMsgGCHVacVerificationChange& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCHVacVerificationChange* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCHVacVerificationChange* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCHVacVerificationChange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCHVacVerificationChange& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCHVacVerificationChange& from) { - CMsgGCHVacVerificationChange::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCHVacVerificationChange* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCHVacVerificationChange"; - } - protected: - explicit CMsgGCHVacVerificationChange(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSteamidFieldNumber = 1, - kAppidFieldNumber = 2, - kIsVerifiedFieldNumber = 3, - }; - // optional fixed64 steamid = 1; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional uint32 appid = 2; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional bool is_verified = 3; - bool has_is_verified() const; - private: - bool _internal_has_is_verified() const; - public: - void clear_is_verified(); - bool is_verified() const; - void set_is_verified(bool value); - private: - bool _internal_is_verified() const; - void _internal_set_is_verified(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCHVacVerificationChange) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t steamid_; - uint32_t appid_; - bool is_verified_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsystemmsgs_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCHAccountPhoneNumberChange : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCHAccountPhoneNumberChange) */ { - public: - inline CMsgGCHAccountPhoneNumberChange() : CMsgGCHAccountPhoneNumberChange(nullptr) {} - ~CMsgGCHAccountPhoneNumberChange() override; - explicit PROTOBUF_CONSTEXPR CMsgGCHAccountPhoneNumberChange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCHAccountPhoneNumberChange(const CMsgGCHAccountPhoneNumberChange& from); - CMsgGCHAccountPhoneNumberChange(CMsgGCHAccountPhoneNumberChange&& from) noexcept - : CMsgGCHAccountPhoneNumberChange() { - *this = ::std::move(from); - } - - inline CMsgGCHAccountPhoneNumberChange& operator=(const CMsgGCHAccountPhoneNumberChange& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCHAccountPhoneNumberChange& operator=(CMsgGCHAccountPhoneNumberChange&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCHAccountPhoneNumberChange& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCHAccountPhoneNumberChange* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCHAccountPhoneNumberChange_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CMsgGCHAccountPhoneNumberChange& a, CMsgGCHAccountPhoneNumberChange& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCHAccountPhoneNumberChange* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCHAccountPhoneNumberChange* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCHAccountPhoneNumberChange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCHAccountPhoneNumberChange& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCHAccountPhoneNumberChange& from) { - CMsgGCHAccountPhoneNumberChange::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCHAccountPhoneNumberChange* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCHAccountPhoneNumberChange"; - } - protected: - explicit CMsgGCHAccountPhoneNumberChange(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSteamidFieldNumber = 1, - kPhoneIdFieldNumber = 3, - kAppidFieldNumber = 2, - kIsVerifiedFieldNumber = 4, - kIsIdentifyingFieldNumber = 5, - }; - // optional fixed64 steamid = 1; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional uint64 phone_id = 3; - bool has_phone_id() const; - private: - bool _internal_has_phone_id() const; - public: - void clear_phone_id(); - uint64_t phone_id() const; - void set_phone_id(uint64_t value); - private: - uint64_t _internal_phone_id() const; - void _internal_set_phone_id(uint64_t value); - public: - - // optional uint32 appid = 2; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional bool is_verified = 4; - bool has_is_verified() const; - private: - bool _internal_has_is_verified() const; - public: - void clear_is_verified(); - bool is_verified() const; - void set_is_verified(bool value); - private: - bool _internal_is_verified() const; - void _internal_set_is_verified(bool value); - public: - - // optional bool is_identifying = 5; - bool has_is_identifying() const; - private: - bool _internal_has_is_identifying() const; - public: - void clear_is_identifying(); - bool is_identifying() const; - void set_is_identifying(bool value); - private: - bool _internal_is_identifying() const; - void _internal_set_is_identifying(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCHAccountPhoneNumberChange) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t steamid_; - uint64_t phone_id_; - uint32_t appid_; - bool is_verified_; - bool is_identifying_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsystemmsgs_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCHInviteUserToLobby : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCHInviteUserToLobby) */ { - public: - inline CMsgGCHInviteUserToLobby() : CMsgGCHInviteUserToLobby(nullptr) {} - ~CMsgGCHInviteUserToLobby() override; - explicit PROTOBUF_CONSTEXPR CMsgGCHInviteUserToLobby(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCHInviteUserToLobby(const CMsgGCHInviteUserToLobby& from); - CMsgGCHInviteUserToLobby(CMsgGCHInviteUserToLobby&& from) noexcept - : CMsgGCHInviteUserToLobby() { - *this = ::std::move(from); - } - - inline CMsgGCHInviteUserToLobby& operator=(const CMsgGCHInviteUserToLobby& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCHInviteUserToLobby& operator=(CMsgGCHInviteUserToLobby&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCHInviteUserToLobby& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCHInviteUserToLobby* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCHInviteUserToLobby_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CMsgGCHInviteUserToLobby& a, CMsgGCHInviteUserToLobby& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCHInviteUserToLobby* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCHInviteUserToLobby* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCHInviteUserToLobby* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCHInviteUserToLobby& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCHInviteUserToLobby& from) { - CMsgGCHInviteUserToLobby::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCHInviteUserToLobby* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCHInviteUserToLobby"; - } - protected: - explicit CMsgGCHInviteUserToLobby(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSteamidFieldNumber = 1, - kSteamidInvitedFieldNumber = 3, - kSteamidLobbyFieldNumber = 4, - kAppidFieldNumber = 2, - }; - // optional fixed64 steamid = 1; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional fixed64 steamid_invited = 3; - bool has_steamid_invited() const; - private: - bool _internal_has_steamid_invited() const; - public: - void clear_steamid_invited(); - uint64_t steamid_invited() const; - void set_steamid_invited(uint64_t value); - private: - uint64_t _internal_steamid_invited() const; - void _internal_set_steamid_invited(uint64_t value); - public: - - // optional fixed64 steamid_lobby = 4; - bool has_steamid_lobby() const; - private: - bool _internal_has_steamid_lobby() const; - public: - void clear_steamid_lobby(); - uint64_t steamid_lobby() const; - void set_steamid_lobby(uint64_t value); - private: - uint64_t _internal_steamid_lobby() const; - void _internal_set_steamid_lobby(uint64_t value); - public: - - // optional uint32 appid = 2; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCHInviteUserToLobby) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t steamid_; - uint64_t steamid_invited_; - uint64_t steamid_lobby_; - uint32_t appid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsystemmsgs_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgGCHRecurringSubscriptionStatusChange : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgGCHRecurringSubscriptionStatusChange) */ { - public: - inline CMsgGCHRecurringSubscriptionStatusChange() : CMsgGCHRecurringSubscriptionStatusChange(nullptr) {} - ~CMsgGCHRecurringSubscriptionStatusChange() override; - explicit PROTOBUF_CONSTEXPR CMsgGCHRecurringSubscriptionStatusChange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgGCHRecurringSubscriptionStatusChange(const CMsgGCHRecurringSubscriptionStatusChange& from); - CMsgGCHRecurringSubscriptionStatusChange(CMsgGCHRecurringSubscriptionStatusChange&& from) noexcept - : CMsgGCHRecurringSubscriptionStatusChange() { - *this = ::std::move(from); - } - - inline CMsgGCHRecurringSubscriptionStatusChange& operator=(const CMsgGCHRecurringSubscriptionStatusChange& from) { - CopyFrom(from); - return *this; - } - inline CMsgGCHRecurringSubscriptionStatusChange& operator=(CMsgGCHRecurringSubscriptionStatusChange&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgGCHRecurringSubscriptionStatusChange& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgGCHRecurringSubscriptionStatusChange* internal_default_instance() { - return reinterpret_cast( - &_CMsgGCHRecurringSubscriptionStatusChange_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CMsgGCHRecurringSubscriptionStatusChange& a, CMsgGCHRecurringSubscriptionStatusChange& b) { - a.Swap(&b); - } - inline void Swap(CMsgGCHRecurringSubscriptionStatusChange* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgGCHRecurringSubscriptionStatusChange* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgGCHRecurringSubscriptionStatusChange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgGCHRecurringSubscriptionStatusChange& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgGCHRecurringSubscriptionStatusChange& from) { - CMsgGCHRecurringSubscriptionStatusChange::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgGCHRecurringSubscriptionStatusChange* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgGCHRecurringSubscriptionStatusChange"; - } - protected: - explicit CMsgGCHRecurringSubscriptionStatusChange(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSteamidFieldNumber = 1, - kAgreementidFieldNumber = 3, - kAppidFieldNumber = 2, - kActiveFieldNumber = 4, - }; - // optional fixed64 steamid = 1; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional fixed64 agreementid = 3; - bool has_agreementid() const; - private: - bool _internal_has_agreementid() const; - public: - void clear_agreementid(); - uint64_t agreementid() const; - void set_agreementid(uint64_t value); - private: - uint64_t _internal_agreementid() const; - void _internal_set_agreementid(uint64_t value); - public: - - // optional uint32 appid = 2; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional bool active = 4; - bool has_active() const; - private: - bool _internal_has_active() const; - public: - void clear_active(); - bool active() const; - void set_active(bool value); - private: - bool _internal_active() const; - void _internal_set_active(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgGCHRecurringSubscriptionStatusChange) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t steamid_; - uint64_t agreementid_; - uint32_t appid_; - bool active_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsystemmsgs_2eproto; -}; -// ------------------------------------------------------------------- - -class CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) */ { - public: - inline CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute() : CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute(nullptr) {} - ~CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute() override; - explicit PROTOBUF_CONSTEXPR CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute(const CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& from); - CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute&& from) noexcept - : CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute() { - *this = ::std::move(from); - } - - inline CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& operator=(const CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& from) { - CopyFrom(from); - return *this; - } - inline CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& operator=(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& default_instance() { - return *internal_default_instance(); - } - static inline const CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* internal_default_instance() { - return reinterpret_cast( - &_CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& a, CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& b) { - a.Swap(&b); - } - inline void Swap(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& from) { - CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute"; - } - protected: - explicit CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kValueFieldNumber = 2, - kAttributeFieldNumber = 1, - }; - // optional uint64 value = 2; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - uint64_t value() const; - void set_value(uint64_t value); - private: - uint64_t _internal_value() const; - void _internal_set_value(uint64_t value); - public: - - // optional uint32 attribute = 1; - bool has_attribute() const; - private: - bool _internal_has_attribute() const; - public: - void clear_attribute(); - uint32_t attribute() const; - void set_attribute(uint32_t value); - private: - uint32_t _internal_attribute() const; - void _internal_set_attribute(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t value_; - uint32_t attribute_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsystemmsgs_2eproto; -}; -// ------------------------------------------------------------------- - -class CQuest_PublisherAddCommunityItemsToPlayer_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CQuest_PublisherAddCommunityItemsToPlayer_Request) */ { - public: - inline CQuest_PublisherAddCommunityItemsToPlayer_Request() : CQuest_PublisherAddCommunityItemsToPlayer_Request(nullptr) {} - ~CQuest_PublisherAddCommunityItemsToPlayer_Request() override; - explicit PROTOBUF_CONSTEXPR CQuest_PublisherAddCommunityItemsToPlayer_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CQuest_PublisherAddCommunityItemsToPlayer_Request(const CQuest_PublisherAddCommunityItemsToPlayer_Request& from); - CQuest_PublisherAddCommunityItemsToPlayer_Request(CQuest_PublisherAddCommunityItemsToPlayer_Request&& from) noexcept - : CQuest_PublisherAddCommunityItemsToPlayer_Request() { - *this = ::std::move(from); - } - - inline CQuest_PublisherAddCommunityItemsToPlayer_Request& operator=(const CQuest_PublisherAddCommunityItemsToPlayer_Request& from) { - CopyFrom(from); - return *this; - } - inline CQuest_PublisherAddCommunityItemsToPlayer_Request& operator=(CQuest_PublisherAddCommunityItemsToPlayer_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CQuest_PublisherAddCommunityItemsToPlayer_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CQuest_PublisherAddCommunityItemsToPlayer_Request* internal_default_instance() { - return reinterpret_cast( - &_CQuest_PublisherAddCommunityItemsToPlayer_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CQuest_PublisherAddCommunityItemsToPlayer_Request& a, CQuest_PublisherAddCommunityItemsToPlayer_Request& b) { - a.Swap(&b); - } - inline void Swap(CQuest_PublisherAddCommunityItemsToPlayer_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CQuest_PublisherAddCommunityItemsToPlayer_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CQuest_PublisherAddCommunityItemsToPlayer_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CQuest_PublisherAddCommunityItemsToPlayer_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CQuest_PublisherAddCommunityItemsToPlayer_Request& from) { - CQuest_PublisherAddCommunityItemsToPlayer_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CQuest_PublisherAddCommunityItemsToPlayer_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CQuest_PublisherAddCommunityItemsToPlayer_Request"; - } - protected: - explicit CQuest_PublisherAddCommunityItemsToPlayer_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute Attribute; - - // accessors ------------------------------------------------------- - - enum : int { - kAttributesFieldNumber = 6, - kPrefixItemNameFieldNumber = 5, - kNoteFieldNumber = 7, - kSteamidFieldNumber = 1, - kAppidFieldNumber = 2, - kMatchItemTypeFieldNumber = 3, - kMatchItemClassFieldNumber = 4, - }; - // repeated .CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute attributes = 6; - int attributes_size() const; - private: - int _internal_attributes_size() const; - public: - void clear_attributes(); - ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* mutable_attributes(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute >* - mutable_attributes(); - private: - const ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& _internal_attributes(int index) const; - ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* _internal_add_attributes(); - public: - const ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& attributes(int index) const; - ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* add_attributes(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute >& - attributes() const; - - // optional string prefix_item_name = 5; - bool has_prefix_item_name() const; - private: - bool _internal_has_prefix_item_name() const; - public: - void clear_prefix_item_name(); - const std::string& prefix_item_name() const; - template - void set_prefix_item_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_prefix_item_name(); - PROTOBUF_NODISCARD std::string* release_prefix_item_name(); - void set_allocated_prefix_item_name(std::string* prefix_item_name); - private: - const std::string& _internal_prefix_item_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_prefix_item_name(const std::string& value); - std::string* _internal_mutable_prefix_item_name(); - public: - - // optional string note = 7; - bool has_note() const; - private: - bool _internal_has_note() const; - public: - void clear_note(); - const std::string& note() const; - template - void set_note(ArgT0&& arg0, ArgT... args); - std::string* mutable_note(); - PROTOBUF_NODISCARD std::string* release_note(); - void set_allocated_note(std::string* note); - private: - const std::string& _internal_note() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_note(const std::string& value); - std::string* _internal_mutable_note(); - public: - - // optional uint64 steamid = 1; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional uint32 appid = 2; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional uint32 match_item_type = 3; - bool has_match_item_type() const; - private: - bool _internal_has_match_item_type() const; - public: - void clear_match_item_type(); - uint32_t match_item_type() const; - void set_match_item_type(uint32_t value); - private: - uint32_t _internal_match_item_type() const; - void _internal_set_match_item_type(uint32_t value); - public: - - // optional uint32 match_item_class = 4; - bool has_match_item_class() const; - private: - bool _internal_has_match_item_class() const; - public: - void clear_match_item_class(); - uint32_t match_item_class() const; - void set_match_item_class(uint32_t value); - private: - uint32_t _internal_match_item_class() const; - void _internal_set_match_item_class(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CQuest_PublisherAddCommunityItemsToPlayer_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute > attributes_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr prefix_item_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr note_; - uint64_t steamid_; - uint32_t appid_; - uint32_t match_item_type_; - uint32_t match_item_class_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsystemmsgs_2eproto; -}; -// ------------------------------------------------------------------- - -class CQuest_PublisherAddCommunityItemsToPlayer_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CQuest_PublisherAddCommunityItemsToPlayer_Response) */ { - public: - inline CQuest_PublisherAddCommunityItemsToPlayer_Response() : CQuest_PublisherAddCommunityItemsToPlayer_Response(nullptr) {} - ~CQuest_PublisherAddCommunityItemsToPlayer_Response() override; - explicit PROTOBUF_CONSTEXPR CQuest_PublisherAddCommunityItemsToPlayer_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CQuest_PublisherAddCommunityItemsToPlayer_Response(const CQuest_PublisherAddCommunityItemsToPlayer_Response& from); - CQuest_PublisherAddCommunityItemsToPlayer_Response(CQuest_PublisherAddCommunityItemsToPlayer_Response&& from) noexcept - : CQuest_PublisherAddCommunityItemsToPlayer_Response() { - *this = ::std::move(from); - } - - inline CQuest_PublisherAddCommunityItemsToPlayer_Response& operator=(const CQuest_PublisherAddCommunityItemsToPlayer_Response& from) { - CopyFrom(from); - return *this; - } - inline CQuest_PublisherAddCommunityItemsToPlayer_Response& operator=(CQuest_PublisherAddCommunityItemsToPlayer_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CQuest_PublisherAddCommunityItemsToPlayer_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CQuest_PublisherAddCommunityItemsToPlayer_Response* internal_default_instance() { - return reinterpret_cast( - &_CQuest_PublisherAddCommunityItemsToPlayer_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CQuest_PublisherAddCommunityItemsToPlayer_Response& a, CQuest_PublisherAddCommunityItemsToPlayer_Response& b) { - a.Swap(&b); - } - inline void Swap(CQuest_PublisherAddCommunityItemsToPlayer_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CQuest_PublisherAddCommunityItemsToPlayer_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CQuest_PublisherAddCommunityItemsToPlayer_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CQuest_PublisherAddCommunityItemsToPlayer_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CQuest_PublisherAddCommunityItemsToPlayer_Response& from) { - CQuest_PublisherAddCommunityItemsToPlayer_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CQuest_PublisherAddCommunityItemsToPlayer_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CQuest_PublisherAddCommunityItemsToPlayer_Response"; - } - protected: - explicit CQuest_PublisherAddCommunityItemsToPlayer_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemsMatchedFieldNumber = 1, - kItemsGrantedFieldNumber = 2, - }; - // optional uint32 items_matched = 1; - bool has_items_matched() const; - private: - bool _internal_has_items_matched() const; - public: - void clear_items_matched(); - uint32_t items_matched() const; - void set_items_matched(uint32_t value); - private: - uint32_t _internal_items_matched() const; - void _internal_set_items_matched(uint32_t value); - public: - - // optional uint32 items_granted = 2; - bool has_items_granted() const; - private: - bool _internal_has_items_granted() const; - public: - void clear_items_granted(); - uint32_t items_granted() const; - void set_items_granted(uint32_t value); - private: - uint32_t _internal_items_granted() const; - void _internal_set_items_granted(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CQuest_PublisherAddCommunityItemsToPlayer_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t items_matched_; - uint32_t items_granted_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsystemmsgs_2eproto; -}; -// ------------------------------------------------------------------- - -class CCommunity_GamePersonalDataCategoryInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCommunity_GamePersonalDataCategoryInfo) */ { - public: - inline CCommunity_GamePersonalDataCategoryInfo() : CCommunity_GamePersonalDataCategoryInfo(nullptr) {} - ~CCommunity_GamePersonalDataCategoryInfo() override; - explicit PROTOBUF_CONSTEXPR CCommunity_GamePersonalDataCategoryInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCommunity_GamePersonalDataCategoryInfo(const CCommunity_GamePersonalDataCategoryInfo& from); - CCommunity_GamePersonalDataCategoryInfo(CCommunity_GamePersonalDataCategoryInfo&& from) noexcept - : CCommunity_GamePersonalDataCategoryInfo() { - *this = ::std::move(from); - } - - inline CCommunity_GamePersonalDataCategoryInfo& operator=(const CCommunity_GamePersonalDataCategoryInfo& from) { - CopyFrom(from); - return *this; - } - inline CCommunity_GamePersonalDataCategoryInfo& operator=(CCommunity_GamePersonalDataCategoryInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCommunity_GamePersonalDataCategoryInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CCommunity_GamePersonalDataCategoryInfo* internal_default_instance() { - return reinterpret_cast( - &_CCommunity_GamePersonalDataCategoryInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(CCommunity_GamePersonalDataCategoryInfo& a, CCommunity_GamePersonalDataCategoryInfo& b) { - a.Swap(&b); - } - inline void Swap(CCommunity_GamePersonalDataCategoryInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCommunity_GamePersonalDataCategoryInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCommunity_GamePersonalDataCategoryInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCommunity_GamePersonalDataCategoryInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCommunity_GamePersonalDataCategoryInfo& from) { - CCommunity_GamePersonalDataCategoryInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCommunity_GamePersonalDataCategoryInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCommunity_GamePersonalDataCategoryInfo"; - } - protected: - explicit CCommunity_GamePersonalDataCategoryInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTypeFieldNumber = 1, - kLocalizationTokenFieldNumber = 2, - kTemplateFileFieldNumber = 3, - }; - // optional string type = 1; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - const std::string& type() const; - template - void set_type(ArgT0&& arg0, ArgT... args); - std::string* mutable_type(); - PROTOBUF_NODISCARD std::string* release_type(); - void set_allocated_type(std::string* type); - private: - const std::string& _internal_type() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value); - std::string* _internal_mutable_type(); - public: - - // optional string localization_token = 2; - bool has_localization_token() const; - private: - bool _internal_has_localization_token() const; - public: - void clear_localization_token(); - const std::string& localization_token() const; - template - void set_localization_token(ArgT0&& arg0, ArgT... args); - std::string* mutable_localization_token(); - PROTOBUF_NODISCARD std::string* release_localization_token(); - void set_allocated_localization_token(std::string* localization_token); - private: - const std::string& _internal_localization_token() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_localization_token(const std::string& value); - std::string* _internal_mutable_localization_token(); - public: - - // optional string template_file = 3; - bool has_template_file() const; - private: - bool _internal_has_template_file() const; - public: - void clear_template_file(); - const std::string& template_file() const; - template - void set_template_file(ArgT0&& arg0, ArgT... args); - std::string* mutable_template_file(); - PROTOBUF_NODISCARD std::string* release_template_file(); - void set_allocated_template_file(std::string* template_file); - private: - const std::string& _internal_template_file() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_template_file(const std::string& value); - std::string* _internal_mutable_template_file(); - public: - - // @@protoc_insertion_point(class_scope:CCommunity_GamePersonalDataCategoryInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr localization_token_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr template_file_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsystemmsgs_2eproto; -}; -// ------------------------------------------------------------------- - -class CCommunity_GetGamePersonalDataCategories_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCommunity_GetGamePersonalDataCategories_Request) */ { - public: - inline CCommunity_GetGamePersonalDataCategories_Request() : CCommunity_GetGamePersonalDataCategories_Request(nullptr) {} - ~CCommunity_GetGamePersonalDataCategories_Request() override; - explicit PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataCategories_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCommunity_GetGamePersonalDataCategories_Request(const CCommunity_GetGamePersonalDataCategories_Request& from); - CCommunity_GetGamePersonalDataCategories_Request(CCommunity_GetGamePersonalDataCategories_Request&& from) noexcept - : CCommunity_GetGamePersonalDataCategories_Request() { - *this = ::std::move(from); - } - - inline CCommunity_GetGamePersonalDataCategories_Request& operator=(const CCommunity_GetGamePersonalDataCategories_Request& from) { - CopyFrom(from); - return *this; - } - inline CCommunity_GetGamePersonalDataCategories_Request& operator=(CCommunity_GetGamePersonalDataCategories_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCommunity_GetGamePersonalDataCategories_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CCommunity_GetGamePersonalDataCategories_Request* internal_default_instance() { - return reinterpret_cast( - &_CCommunity_GetGamePersonalDataCategories_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(CCommunity_GetGamePersonalDataCategories_Request& a, CCommunity_GetGamePersonalDataCategories_Request& b) { - a.Swap(&b); - } - inline void Swap(CCommunity_GetGamePersonalDataCategories_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCommunity_GetGamePersonalDataCategories_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCommunity_GetGamePersonalDataCategories_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCommunity_GetGamePersonalDataCategories_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCommunity_GetGamePersonalDataCategories_Request& from) { - CCommunity_GetGamePersonalDataCategories_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCommunity_GetGamePersonalDataCategories_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCommunity_GetGamePersonalDataCategories_Request"; - } - protected: - explicit CCommunity_GetGamePersonalDataCategories_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAppidFieldNumber = 1, - }; - // optional uint32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCommunity_GetGamePersonalDataCategories_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t appid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsystemmsgs_2eproto; -}; -// ------------------------------------------------------------------- - -class CCommunity_GetGamePersonalDataCategories_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCommunity_GetGamePersonalDataCategories_Response) */ { - public: - inline CCommunity_GetGamePersonalDataCategories_Response() : CCommunity_GetGamePersonalDataCategories_Response(nullptr) {} - ~CCommunity_GetGamePersonalDataCategories_Response() override; - explicit PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataCategories_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCommunity_GetGamePersonalDataCategories_Response(const CCommunity_GetGamePersonalDataCategories_Response& from); - CCommunity_GetGamePersonalDataCategories_Response(CCommunity_GetGamePersonalDataCategories_Response&& from) noexcept - : CCommunity_GetGamePersonalDataCategories_Response() { - *this = ::std::move(from); - } - - inline CCommunity_GetGamePersonalDataCategories_Response& operator=(const CCommunity_GetGamePersonalDataCategories_Response& from) { - CopyFrom(from); - return *this; - } - inline CCommunity_GetGamePersonalDataCategories_Response& operator=(CCommunity_GetGamePersonalDataCategories_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCommunity_GetGamePersonalDataCategories_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CCommunity_GetGamePersonalDataCategories_Response* internal_default_instance() { - return reinterpret_cast( - &_CCommunity_GetGamePersonalDataCategories_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(CCommunity_GetGamePersonalDataCategories_Response& a, CCommunity_GetGamePersonalDataCategories_Response& b) { - a.Swap(&b); - } - inline void Swap(CCommunity_GetGamePersonalDataCategories_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCommunity_GetGamePersonalDataCategories_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCommunity_GetGamePersonalDataCategories_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCommunity_GetGamePersonalDataCategories_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCommunity_GetGamePersonalDataCategories_Response& from) { - CCommunity_GetGamePersonalDataCategories_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCommunity_GetGamePersonalDataCategories_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCommunity_GetGamePersonalDataCategories_Response"; - } - protected: - explicit CCommunity_GetGamePersonalDataCategories_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCategoriesFieldNumber = 1, - kAppAssetsBasenameFieldNumber = 2, - }; - // repeated .CCommunity_GamePersonalDataCategoryInfo categories = 1; - int categories_size() const; - private: - int _internal_categories_size() const; - public: - void clear_categories(); - ::CCommunity_GamePersonalDataCategoryInfo* mutable_categories(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCommunity_GamePersonalDataCategoryInfo >* - mutable_categories(); - private: - const ::CCommunity_GamePersonalDataCategoryInfo& _internal_categories(int index) const; - ::CCommunity_GamePersonalDataCategoryInfo* _internal_add_categories(); - public: - const ::CCommunity_GamePersonalDataCategoryInfo& categories(int index) const; - ::CCommunity_GamePersonalDataCategoryInfo* add_categories(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCommunity_GamePersonalDataCategoryInfo >& - categories() const; - - // optional string app_assets_basename = 2; - bool has_app_assets_basename() const; - private: - bool _internal_has_app_assets_basename() const; - public: - void clear_app_assets_basename(); - const std::string& app_assets_basename() const; - template - void set_app_assets_basename(ArgT0&& arg0, ArgT... args); - std::string* mutable_app_assets_basename(); - PROTOBUF_NODISCARD std::string* release_app_assets_basename(); - void set_allocated_app_assets_basename(std::string* app_assets_basename); - private: - const std::string& _internal_app_assets_basename() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_app_assets_basename(const std::string& value); - std::string* _internal_mutable_app_assets_basename(); - public: - - // @@protoc_insertion_point(class_scope:CCommunity_GetGamePersonalDataCategories_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCommunity_GamePersonalDataCategoryInfo > categories_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr app_assets_basename_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsystemmsgs_2eproto; -}; -// ------------------------------------------------------------------- - -class CCommunity_GetGamePersonalDataEntries_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCommunity_GetGamePersonalDataEntries_Request) */ { - public: - inline CCommunity_GetGamePersonalDataEntries_Request() : CCommunity_GetGamePersonalDataEntries_Request(nullptr) {} - ~CCommunity_GetGamePersonalDataEntries_Request() override; - explicit PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataEntries_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCommunity_GetGamePersonalDataEntries_Request(const CCommunity_GetGamePersonalDataEntries_Request& from); - CCommunity_GetGamePersonalDataEntries_Request(CCommunity_GetGamePersonalDataEntries_Request&& from) noexcept - : CCommunity_GetGamePersonalDataEntries_Request() { - *this = ::std::move(from); - } - - inline CCommunity_GetGamePersonalDataEntries_Request& operator=(const CCommunity_GetGamePersonalDataEntries_Request& from) { - CopyFrom(from); - return *this; - } - inline CCommunity_GetGamePersonalDataEntries_Request& operator=(CCommunity_GetGamePersonalDataEntries_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCommunity_GetGamePersonalDataEntries_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CCommunity_GetGamePersonalDataEntries_Request* internal_default_instance() { - return reinterpret_cast( - &_CCommunity_GetGamePersonalDataEntries_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(CCommunity_GetGamePersonalDataEntries_Request& a, CCommunity_GetGamePersonalDataEntries_Request& b) { - a.Swap(&b); - } - inline void Swap(CCommunity_GetGamePersonalDataEntries_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCommunity_GetGamePersonalDataEntries_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCommunity_GetGamePersonalDataEntries_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCommunity_GetGamePersonalDataEntries_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCommunity_GetGamePersonalDataEntries_Request& from) { - CCommunity_GetGamePersonalDataEntries_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCommunity_GetGamePersonalDataEntries_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCommunity_GetGamePersonalDataEntries_Request"; - } - protected: - explicit CCommunity_GetGamePersonalDataEntries_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTypeFieldNumber = 3, - kContinueTokenFieldNumber = 4, - kSteamidFieldNumber = 2, - kAppidFieldNumber = 1, - }; - // optional string type = 3; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - const std::string& type() const; - template - void set_type(ArgT0&& arg0, ArgT... args); - std::string* mutable_type(); - PROTOBUF_NODISCARD std::string* release_type(); - void set_allocated_type(std::string* type); - private: - const std::string& _internal_type() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value); - std::string* _internal_mutable_type(); - public: - - // optional string continue_token = 4; - bool has_continue_token() const; - private: - bool _internal_has_continue_token() const; - public: - void clear_continue_token(); - const std::string& continue_token() const; - template - void set_continue_token(ArgT0&& arg0, ArgT... args); - std::string* mutable_continue_token(); - PROTOBUF_NODISCARD std::string* release_continue_token(); - void set_allocated_continue_token(std::string* continue_token); - private: - const std::string& _internal_continue_token() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_continue_token(const std::string& value); - std::string* _internal_mutable_continue_token(); - public: - - // optional uint64 steamid = 2; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional uint32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCommunity_GetGamePersonalDataEntries_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr continue_token_; - uint64_t steamid_; - uint32_t appid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsystemmsgs_2eproto; -}; -// ------------------------------------------------------------------- - -class CCommunity_GetGamePersonalDataEntries_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCommunity_GetGamePersonalDataEntries_Response) */ { - public: - inline CCommunity_GetGamePersonalDataEntries_Response() : CCommunity_GetGamePersonalDataEntries_Response(nullptr) {} - ~CCommunity_GetGamePersonalDataEntries_Response() override; - explicit PROTOBUF_CONSTEXPR CCommunity_GetGamePersonalDataEntries_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCommunity_GetGamePersonalDataEntries_Response(const CCommunity_GetGamePersonalDataEntries_Response& from); - CCommunity_GetGamePersonalDataEntries_Response(CCommunity_GetGamePersonalDataEntries_Response&& from) noexcept - : CCommunity_GetGamePersonalDataEntries_Response() { - *this = ::std::move(from); - } - - inline CCommunity_GetGamePersonalDataEntries_Response& operator=(const CCommunity_GetGamePersonalDataEntries_Response& from) { - CopyFrom(from); - return *this; - } - inline CCommunity_GetGamePersonalDataEntries_Response& operator=(CCommunity_GetGamePersonalDataEntries_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCommunity_GetGamePersonalDataEntries_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CCommunity_GetGamePersonalDataEntries_Response* internal_default_instance() { - return reinterpret_cast( - &_CCommunity_GetGamePersonalDataEntries_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(CCommunity_GetGamePersonalDataEntries_Response& a, CCommunity_GetGamePersonalDataEntries_Response& b) { - a.Swap(&b); - } - inline void Swap(CCommunity_GetGamePersonalDataEntries_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCommunity_GetGamePersonalDataEntries_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCommunity_GetGamePersonalDataEntries_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCommunity_GetGamePersonalDataEntries_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCommunity_GetGamePersonalDataEntries_Response& from) { - CCommunity_GetGamePersonalDataEntries_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCommunity_GetGamePersonalDataEntries_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCommunity_GetGamePersonalDataEntries_Response"; - } - protected: - explicit CCommunity_GetGamePersonalDataEntries_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEntriesFieldNumber = 2, - kContinueTokenFieldNumber = 3, - kContinueTextFieldNumber = 4, - kGceresultFieldNumber = 1, - }; - // repeated string entries = 2; - int entries_size() const; - private: - int _internal_entries_size() const; - public: - void clear_entries(); - const std::string& entries(int index) const; - std::string* mutable_entries(int index); - void set_entries(int index, const std::string& value); - void set_entries(int index, std::string&& value); - void set_entries(int index, const char* value); - void set_entries(int index, const char* value, size_t size); - std::string* add_entries(); - void add_entries(const std::string& value); - void add_entries(std::string&& value); - void add_entries(const char* value); - void add_entries(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& entries() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_entries(); - private: - const std::string& _internal_entries(int index) const; - std::string* _internal_add_entries(); - public: - - // optional string continue_token = 3; - bool has_continue_token() const; - private: - bool _internal_has_continue_token() const; - public: - void clear_continue_token(); - const std::string& continue_token() const; - template - void set_continue_token(ArgT0&& arg0, ArgT... args); - std::string* mutable_continue_token(); - PROTOBUF_NODISCARD std::string* release_continue_token(); - void set_allocated_continue_token(std::string* continue_token); - private: - const std::string& _internal_continue_token() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_continue_token(const std::string& value); - std::string* _internal_mutable_continue_token(); - public: - - // optional string continue_text = 4; - bool has_continue_text() const; - private: - bool _internal_has_continue_text() const; - public: - void clear_continue_text(); - const std::string& continue_text() const; - template - void set_continue_text(ArgT0&& arg0, ArgT... args); - std::string* mutable_continue_text(); - PROTOBUF_NODISCARD std::string* release_continue_text(); - void set_allocated_continue_text(std::string* continue_text); - private: - const std::string& _internal_continue_text() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_continue_text(const std::string& value); - std::string* _internal_mutable_continue_text(); - public: - - // optional uint32 gceresult = 1; - bool has_gceresult() const; - private: - bool _internal_has_gceresult() const; - public: - void clear_gceresult(); - uint32_t gceresult() const; - void set_gceresult(uint32_t value); - private: - uint32_t _internal_gceresult() const; - void _internal_set_gceresult(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCommunity_GetGamePersonalDataEntries_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField entries_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr continue_token_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr continue_text_; - uint32_t gceresult_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsystemmsgs_2eproto; -}; -// ------------------------------------------------------------------- - -class CCommunity_TerminateGamePersonalDataEntries_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCommunity_TerminateGamePersonalDataEntries_Request) */ { - public: - inline CCommunity_TerminateGamePersonalDataEntries_Request() : CCommunity_TerminateGamePersonalDataEntries_Request(nullptr) {} - ~CCommunity_TerminateGamePersonalDataEntries_Request() override; - explicit PROTOBUF_CONSTEXPR CCommunity_TerminateGamePersonalDataEntries_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCommunity_TerminateGamePersonalDataEntries_Request(const CCommunity_TerminateGamePersonalDataEntries_Request& from); - CCommunity_TerminateGamePersonalDataEntries_Request(CCommunity_TerminateGamePersonalDataEntries_Request&& from) noexcept - : CCommunity_TerminateGamePersonalDataEntries_Request() { - *this = ::std::move(from); - } - - inline CCommunity_TerminateGamePersonalDataEntries_Request& operator=(const CCommunity_TerminateGamePersonalDataEntries_Request& from) { - CopyFrom(from); - return *this; - } - inline CCommunity_TerminateGamePersonalDataEntries_Request& operator=(CCommunity_TerminateGamePersonalDataEntries_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCommunity_TerminateGamePersonalDataEntries_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CCommunity_TerminateGamePersonalDataEntries_Request* internal_default_instance() { - return reinterpret_cast( - &_CCommunity_TerminateGamePersonalDataEntries_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(CCommunity_TerminateGamePersonalDataEntries_Request& a, CCommunity_TerminateGamePersonalDataEntries_Request& b) { - a.Swap(&b); - } - inline void Swap(CCommunity_TerminateGamePersonalDataEntries_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCommunity_TerminateGamePersonalDataEntries_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCommunity_TerminateGamePersonalDataEntries_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCommunity_TerminateGamePersonalDataEntries_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCommunity_TerminateGamePersonalDataEntries_Request& from) { - CCommunity_TerminateGamePersonalDataEntries_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCommunity_TerminateGamePersonalDataEntries_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCommunity_TerminateGamePersonalDataEntries_Request"; - } - protected: - explicit CCommunity_TerminateGamePersonalDataEntries_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSteamidFieldNumber = 2, - kAppidFieldNumber = 1, - }; - // optional uint64 steamid = 2; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional uint32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCommunity_TerminateGamePersonalDataEntries_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t steamid_; - uint32_t appid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsystemmsgs_2eproto; -}; -// ------------------------------------------------------------------- - -class CCommunity_TerminateGamePersonalDataEntries_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCommunity_TerminateGamePersonalDataEntries_Response) */ { - public: - inline CCommunity_TerminateGamePersonalDataEntries_Response() : CCommunity_TerminateGamePersonalDataEntries_Response(nullptr) {} - ~CCommunity_TerminateGamePersonalDataEntries_Response() override; - explicit PROTOBUF_CONSTEXPR CCommunity_TerminateGamePersonalDataEntries_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCommunity_TerminateGamePersonalDataEntries_Response(const CCommunity_TerminateGamePersonalDataEntries_Response& from); - CCommunity_TerminateGamePersonalDataEntries_Response(CCommunity_TerminateGamePersonalDataEntries_Response&& from) noexcept - : CCommunity_TerminateGamePersonalDataEntries_Response() { - *this = ::std::move(from); - } - - inline CCommunity_TerminateGamePersonalDataEntries_Response& operator=(const CCommunity_TerminateGamePersonalDataEntries_Response& from) { - CopyFrom(from); - return *this; - } - inline CCommunity_TerminateGamePersonalDataEntries_Response& operator=(CCommunity_TerminateGamePersonalDataEntries_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCommunity_TerminateGamePersonalDataEntries_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CCommunity_TerminateGamePersonalDataEntries_Response* internal_default_instance() { - return reinterpret_cast( - &_CCommunity_TerminateGamePersonalDataEntries_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - friend void swap(CCommunity_TerminateGamePersonalDataEntries_Response& a, CCommunity_TerminateGamePersonalDataEntries_Response& b) { - a.Swap(&b); - } - inline void Swap(CCommunity_TerminateGamePersonalDataEntries_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCommunity_TerminateGamePersonalDataEntries_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCommunity_TerminateGamePersonalDataEntries_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCommunity_TerminateGamePersonalDataEntries_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCommunity_TerminateGamePersonalDataEntries_Response& from) { - CCommunity_TerminateGamePersonalDataEntries_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCommunity_TerminateGamePersonalDataEntries_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCommunity_TerminateGamePersonalDataEntries_Response"; - } - protected: - explicit CCommunity_TerminateGamePersonalDataEntries_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGceresultFieldNumber = 1, - }; - // optional uint32 gceresult = 1; - bool has_gceresult() const; - private: - bool _internal_has_gceresult() const; - public: - void clear_gceresult(); - uint32_t gceresult() const; - void set_gceresult(uint32_t value); - private: - uint32_t _internal_gceresult() const; - void _internal_set_gceresult(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCommunity_TerminateGamePersonalDataEntries_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t gceresult_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_gcsystemmsgs_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CMsgGCHVacVerificationChange - -// optional fixed64 steamid = 1; -inline bool CMsgGCHVacVerificationChange::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCHVacVerificationChange::has_steamid() const { - return _internal_has_steamid(); -} -inline void CMsgGCHVacVerificationChange::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCHVacVerificationChange::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CMsgGCHVacVerificationChange::steamid() const { - // @@protoc_insertion_point(field_get:CMsgGCHVacVerificationChange.steamid) - return _internal_steamid(); -} -inline void CMsgGCHVacVerificationChange::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steamid_ = value; -} -inline void CMsgGCHVacVerificationChange::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CMsgGCHVacVerificationChange.steamid) -} - -// optional uint32 appid = 2; -inline bool CMsgGCHVacVerificationChange::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCHVacVerificationChange::has_appid() const { - return _internal_has_appid(); -} -inline void CMsgGCHVacVerificationChange::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgGCHVacVerificationChange::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CMsgGCHVacVerificationChange::appid() const { - // @@protoc_insertion_point(field_get:CMsgGCHVacVerificationChange.appid) - return _internal_appid(); -} -inline void CMsgGCHVacVerificationChange::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.appid_ = value; -} -inline void CMsgGCHVacVerificationChange::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CMsgGCHVacVerificationChange.appid) -} - -// optional bool is_verified = 3; -inline bool CMsgGCHVacVerificationChange::_internal_has_is_verified() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCHVacVerificationChange::has_is_verified() const { - return _internal_has_is_verified(); -} -inline void CMsgGCHVacVerificationChange::clear_is_verified() { - _impl_.is_verified_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CMsgGCHVacVerificationChange::_internal_is_verified() const { - return _impl_.is_verified_; -} -inline bool CMsgGCHVacVerificationChange::is_verified() const { - // @@protoc_insertion_point(field_get:CMsgGCHVacVerificationChange.is_verified) - return _internal_is_verified(); -} -inline void CMsgGCHVacVerificationChange::_internal_set_is_verified(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.is_verified_ = value; -} -inline void CMsgGCHVacVerificationChange::set_is_verified(bool value) { - _internal_set_is_verified(value); - // @@protoc_insertion_point(field_set:CMsgGCHVacVerificationChange.is_verified) -} - -// ------------------------------------------------------------------- - -// CMsgGCHAccountPhoneNumberChange - -// optional fixed64 steamid = 1; -inline bool CMsgGCHAccountPhoneNumberChange::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCHAccountPhoneNumberChange::has_steamid() const { - return _internal_has_steamid(); -} -inline void CMsgGCHAccountPhoneNumberChange::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCHAccountPhoneNumberChange::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CMsgGCHAccountPhoneNumberChange::steamid() const { - // @@protoc_insertion_point(field_get:CMsgGCHAccountPhoneNumberChange.steamid) - return _internal_steamid(); -} -inline void CMsgGCHAccountPhoneNumberChange::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steamid_ = value; -} -inline void CMsgGCHAccountPhoneNumberChange::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CMsgGCHAccountPhoneNumberChange.steamid) -} - -// optional uint32 appid = 2; -inline bool CMsgGCHAccountPhoneNumberChange::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCHAccountPhoneNumberChange::has_appid() const { - return _internal_has_appid(); -} -inline void CMsgGCHAccountPhoneNumberChange::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCHAccountPhoneNumberChange::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CMsgGCHAccountPhoneNumberChange::appid() const { - // @@protoc_insertion_point(field_get:CMsgGCHAccountPhoneNumberChange.appid) - return _internal_appid(); -} -inline void CMsgGCHAccountPhoneNumberChange::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.appid_ = value; -} -inline void CMsgGCHAccountPhoneNumberChange::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CMsgGCHAccountPhoneNumberChange.appid) -} - -// optional uint64 phone_id = 3; -inline bool CMsgGCHAccountPhoneNumberChange::_internal_has_phone_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCHAccountPhoneNumberChange::has_phone_id() const { - return _internal_has_phone_id(); -} -inline void CMsgGCHAccountPhoneNumberChange::clear_phone_id() { - _impl_.phone_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgGCHAccountPhoneNumberChange::_internal_phone_id() const { - return _impl_.phone_id_; -} -inline uint64_t CMsgGCHAccountPhoneNumberChange::phone_id() const { - // @@protoc_insertion_point(field_get:CMsgGCHAccountPhoneNumberChange.phone_id) - return _internal_phone_id(); -} -inline void CMsgGCHAccountPhoneNumberChange::_internal_set_phone_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.phone_id_ = value; -} -inline void CMsgGCHAccountPhoneNumberChange::set_phone_id(uint64_t value) { - _internal_set_phone_id(value); - // @@protoc_insertion_point(field_set:CMsgGCHAccountPhoneNumberChange.phone_id) -} - -// optional bool is_verified = 4; -inline bool CMsgGCHAccountPhoneNumberChange::_internal_has_is_verified() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCHAccountPhoneNumberChange::has_is_verified() const { - return _internal_has_is_verified(); -} -inline void CMsgGCHAccountPhoneNumberChange::clear_is_verified() { - _impl_.is_verified_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CMsgGCHAccountPhoneNumberChange::_internal_is_verified() const { - return _impl_.is_verified_; -} -inline bool CMsgGCHAccountPhoneNumberChange::is_verified() const { - // @@protoc_insertion_point(field_get:CMsgGCHAccountPhoneNumberChange.is_verified) - return _internal_is_verified(); -} -inline void CMsgGCHAccountPhoneNumberChange::_internal_set_is_verified(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.is_verified_ = value; -} -inline void CMsgGCHAccountPhoneNumberChange::set_is_verified(bool value) { - _internal_set_is_verified(value); - // @@protoc_insertion_point(field_set:CMsgGCHAccountPhoneNumberChange.is_verified) -} - -// optional bool is_identifying = 5; -inline bool CMsgGCHAccountPhoneNumberChange::_internal_has_is_identifying() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgGCHAccountPhoneNumberChange::has_is_identifying() const { - return _internal_has_is_identifying(); -} -inline void CMsgGCHAccountPhoneNumberChange::clear_is_identifying() { - _impl_.is_identifying_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool CMsgGCHAccountPhoneNumberChange::_internal_is_identifying() const { - return _impl_.is_identifying_; -} -inline bool CMsgGCHAccountPhoneNumberChange::is_identifying() const { - // @@protoc_insertion_point(field_get:CMsgGCHAccountPhoneNumberChange.is_identifying) - return _internal_is_identifying(); -} -inline void CMsgGCHAccountPhoneNumberChange::_internal_set_is_identifying(bool value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.is_identifying_ = value; -} -inline void CMsgGCHAccountPhoneNumberChange::set_is_identifying(bool value) { - _internal_set_is_identifying(value); - // @@protoc_insertion_point(field_set:CMsgGCHAccountPhoneNumberChange.is_identifying) -} - -// ------------------------------------------------------------------- - -// CMsgGCHInviteUserToLobby - -// optional fixed64 steamid = 1; -inline bool CMsgGCHInviteUserToLobby::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCHInviteUserToLobby::has_steamid() const { - return _internal_has_steamid(); -} -inline void CMsgGCHInviteUserToLobby::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCHInviteUserToLobby::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CMsgGCHInviteUserToLobby::steamid() const { - // @@protoc_insertion_point(field_get:CMsgGCHInviteUserToLobby.steamid) - return _internal_steamid(); -} -inline void CMsgGCHInviteUserToLobby::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steamid_ = value; -} -inline void CMsgGCHInviteUserToLobby::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CMsgGCHInviteUserToLobby.steamid) -} - -// optional uint32 appid = 2; -inline bool CMsgGCHInviteUserToLobby::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCHInviteUserToLobby::has_appid() const { - return _internal_has_appid(); -} -inline void CMsgGCHInviteUserToLobby::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgGCHInviteUserToLobby::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CMsgGCHInviteUserToLobby::appid() const { - // @@protoc_insertion_point(field_get:CMsgGCHInviteUserToLobby.appid) - return _internal_appid(); -} -inline void CMsgGCHInviteUserToLobby::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.appid_ = value; -} -inline void CMsgGCHInviteUserToLobby::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CMsgGCHInviteUserToLobby.appid) -} - -// optional fixed64 steamid_invited = 3; -inline bool CMsgGCHInviteUserToLobby::_internal_has_steamid_invited() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCHInviteUserToLobby::has_steamid_invited() const { - return _internal_has_steamid_invited(); -} -inline void CMsgGCHInviteUserToLobby::clear_steamid_invited() { - _impl_.steamid_invited_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgGCHInviteUserToLobby::_internal_steamid_invited() const { - return _impl_.steamid_invited_; -} -inline uint64_t CMsgGCHInviteUserToLobby::steamid_invited() const { - // @@protoc_insertion_point(field_get:CMsgGCHInviteUserToLobby.steamid_invited) - return _internal_steamid_invited(); -} -inline void CMsgGCHInviteUserToLobby::_internal_set_steamid_invited(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.steamid_invited_ = value; -} -inline void CMsgGCHInviteUserToLobby::set_steamid_invited(uint64_t value) { - _internal_set_steamid_invited(value); - // @@protoc_insertion_point(field_set:CMsgGCHInviteUserToLobby.steamid_invited) -} - -// optional fixed64 steamid_lobby = 4; -inline bool CMsgGCHInviteUserToLobby::_internal_has_steamid_lobby() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCHInviteUserToLobby::has_steamid_lobby() const { - return _internal_has_steamid_lobby(); -} -inline void CMsgGCHInviteUserToLobby::clear_steamid_lobby() { - _impl_.steamid_lobby_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgGCHInviteUserToLobby::_internal_steamid_lobby() const { - return _impl_.steamid_lobby_; -} -inline uint64_t CMsgGCHInviteUserToLobby::steamid_lobby() const { - // @@protoc_insertion_point(field_get:CMsgGCHInviteUserToLobby.steamid_lobby) - return _internal_steamid_lobby(); -} -inline void CMsgGCHInviteUserToLobby::_internal_set_steamid_lobby(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.steamid_lobby_ = value; -} -inline void CMsgGCHInviteUserToLobby::set_steamid_lobby(uint64_t value) { - _internal_set_steamid_lobby(value); - // @@protoc_insertion_point(field_set:CMsgGCHInviteUserToLobby.steamid_lobby) -} - -// ------------------------------------------------------------------- - -// CMsgGCHRecurringSubscriptionStatusChange - -// optional fixed64 steamid = 1; -inline bool CMsgGCHRecurringSubscriptionStatusChange::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgGCHRecurringSubscriptionStatusChange::has_steamid() const { - return _internal_has_steamid(); -} -inline void CMsgGCHRecurringSubscriptionStatusChange::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgGCHRecurringSubscriptionStatusChange::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CMsgGCHRecurringSubscriptionStatusChange::steamid() const { - // @@protoc_insertion_point(field_get:CMsgGCHRecurringSubscriptionStatusChange.steamid) - return _internal_steamid(); -} -inline void CMsgGCHRecurringSubscriptionStatusChange::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steamid_ = value; -} -inline void CMsgGCHRecurringSubscriptionStatusChange::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CMsgGCHRecurringSubscriptionStatusChange.steamid) -} - -// optional uint32 appid = 2; -inline bool CMsgGCHRecurringSubscriptionStatusChange::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgGCHRecurringSubscriptionStatusChange::has_appid() const { - return _internal_has_appid(); -} -inline void CMsgGCHRecurringSubscriptionStatusChange::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgGCHRecurringSubscriptionStatusChange::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CMsgGCHRecurringSubscriptionStatusChange::appid() const { - // @@protoc_insertion_point(field_get:CMsgGCHRecurringSubscriptionStatusChange.appid) - return _internal_appid(); -} -inline void CMsgGCHRecurringSubscriptionStatusChange::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.appid_ = value; -} -inline void CMsgGCHRecurringSubscriptionStatusChange::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CMsgGCHRecurringSubscriptionStatusChange.appid) -} - -// optional fixed64 agreementid = 3; -inline bool CMsgGCHRecurringSubscriptionStatusChange::_internal_has_agreementid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgGCHRecurringSubscriptionStatusChange::has_agreementid() const { - return _internal_has_agreementid(); -} -inline void CMsgGCHRecurringSubscriptionStatusChange::clear_agreementid() { - _impl_.agreementid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgGCHRecurringSubscriptionStatusChange::_internal_agreementid() const { - return _impl_.agreementid_; -} -inline uint64_t CMsgGCHRecurringSubscriptionStatusChange::agreementid() const { - // @@protoc_insertion_point(field_get:CMsgGCHRecurringSubscriptionStatusChange.agreementid) - return _internal_agreementid(); -} -inline void CMsgGCHRecurringSubscriptionStatusChange::_internal_set_agreementid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.agreementid_ = value; -} -inline void CMsgGCHRecurringSubscriptionStatusChange::set_agreementid(uint64_t value) { - _internal_set_agreementid(value); - // @@protoc_insertion_point(field_set:CMsgGCHRecurringSubscriptionStatusChange.agreementid) -} - -// optional bool active = 4; -inline bool CMsgGCHRecurringSubscriptionStatusChange::_internal_has_active() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgGCHRecurringSubscriptionStatusChange::has_active() const { - return _internal_has_active(); -} -inline void CMsgGCHRecurringSubscriptionStatusChange::clear_active() { - _impl_.active_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CMsgGCHRecurringSubscriptionStatusChange::_internal_active() const { - return _impl_.active_; -} -inline bool CMsgGCHRecurringSubscriptionStatusChange::active() const { - // @@protoc_insertion_point(field_get:CMsgGCHRecurringSubscriptionStatusChange.active) - return _internal_active(); -} -inline void CMsgGCHRecurringSubscriptionStatusChange::_internal_set_active(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.active_ = value; -} -inline void CMsgGCHRecurringSubscriptionStatusChange::set_active(bool value) { - _internal_set_active(value); - // @@protoc_insertion_point(field_set:CMsgGCHRecurringSubscriptionStatusChange.active) -} - -// ------------------------------------------------------------------- - -// CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute - -// optional uint32 attribute = 1; -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_internal_has_attribute() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::has_attribute() const { - return _internal_has_attribute(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::clear_attribute() { - _impl_.attribute_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_internal_attribute() const { - return _impl_.attribute_; -} -inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::attribute() const { - // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute.attribute) - return _internal_attribute(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_internal_set_attribute(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.attribute_ = value; -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::set_attribute(uint32_t value) { - _internal_set_attribute(value); - // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute.attribute) -} - -// optional uint64 value = 2; -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::has_value() const { - return _internal_has_value(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::clear_value() { - _impl_.value_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_internal_value() const { - return _impl_.value_; -} -inline uint64_t CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::value() const { - // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute.value) - return _internal_value(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::_internal_set_value(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.value_ = value; -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute::set_value(uint64_t value) { - _internal_set_value(value); - // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute.value) -} - -// ------------------------------------------------------------------- - -// CQuest_PublisherAddCommunityItemsToPlayer_Request - -// optional uint64 steamid = 1; -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::has_steamid() const { - return _internal_has_steamid(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CQuest_PublisherAddCommunityItemsToPlayer_Request::steamid() const { - // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Request.steamid) - return _internal_steamid(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.steamid_ = value; -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Request.steamid) -} - -// optional uint32 appid = 2; -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Request::appid() const { - // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Request.appid) - return _internal_appid(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.appid_ = value; -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Request.appid) -} - -// optional uint32 match_item_type = 3; -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_has_match_item_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::has_match_item_type() const { - return _internal_has_match_item_type(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::clear_match_item_type() { - _impl_.match_item_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_match_item_type() const { - return _impl_.match_item_type_; -} -inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Request::match_item_type() const { - // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Request.match_item_type) - return _internal_match_item_type(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_set_match_item_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.match_item_type_ = value; -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::set_match_item_type(uint32_t value) { - _internal_set_match_item_type(value); - // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Request.match_item_type) -} - -// optional uint32 match_item_class = 4; -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_has_match_item_class() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::has_match_item_class() const { - return _internal_has_match_item_class(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::clear_match_item_class() { - _impl_.match_item_class_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_match_item_class() const { - return _impl_.match_item_class_; -} -inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Request::match_item_class() const { - // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Request.match_item_class) - return _internal_match_item_class(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_set_match_item_class(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.match_item_class_ = value; -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::set_match_item_class(uint32_t value) { - _internal_set_match_item_class(value); - // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Request.match_item_class) -} - -// optional string prefix_item_name = 5; -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_has_prefix_item_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::has_prefix_item_name() const { - return _internal_has_prefix_item_name(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::clear_prefix_item_name() { - _impl_.prefix_item_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CQuest_PublisherAddCommunityItemsToPlayer_Request::prefix_item_name() const { - // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Request.prefix_item_name) - return _internal_prefix_item_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CQuest_PublisherAddCommunityItemsToPlayer_Request::set_prefix_item_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.prefix_item_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Request.prefix_item_name) -} -inline std::string* CQuest_PublisherAddCommunityItemsToPlayer_Request::mutable_prefix_item_name() { - std::string* _s = _internal_mutable_prefix_item_name(); - // @@protoc_insertion_point(field_mutable:CQuest_PublisherAddCommunityItemsToPlayer_Request.prefix_item_name) - return _s; -} -inline const std::string& CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_prefix_item_name() const { - return _impl_.prefix_item_name_.Get(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_set_prefix_item_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.prefix_item_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_mutable_prefix_item_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.prefix_item_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CQuest_PublisherAddCommunityItemsToPlayer_Request::release_prefix_item_name() { - // @@protoc_insertion_point(field_release:CQuest_PublisherAddCommunityItemsToPlayer_Request.prefix_item_name) - if (!_internal_has_prefix_item_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.prefix_item_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.prefix_item_name_.IsDefault()) { - _impl_.prefix_item_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::set_allocated_prefix_item_name(std::string* prefix_item_name) { - if (prefix_item_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.prefix_item_name_.SetAllocated(prefix_item_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.prefix_item_name_.IsDefault()) { - _impl_.prefix_item_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CQuest_PublisherAddCommunityItemsToPlayer_Request.prefix_item_name) -} - -// repeated .CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute attributes = 6; -inline int CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_attributes_size() const { - return _impl_.attributes_.size(); -} -inline int CQuest_PublisherAddCommunityItemsToPlayer_Request::attributes_size() const { - return _internal_attributes_size(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::clear_attributes() { - _impl_.attributes_.Clear(); -} -inline ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* CQuest_PublisherAddCommunityItemsToPlayer_Request::mutable_attributes(int index) { - // @@protoc_insertion_point(field_mutable:CQuest_PublisherAddCommunityItemsToPlayer_Request.attributes) - return _impl_.attributes_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute >* -CQuest_PublisherAddCommunityItemsToPlayer_Request::mutable_attributes() { - // @@protoc_insertion_point(field_mutable_list:CQuest_PublisherAddCommunityItemsToPlayer_Request.attributes) - return &_impl_.attributes_; -} -inline const ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_attributes(int index) const { - return _impl_.attributes_.Get(index); -} -inline const ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute& CQuest_PublisherAddCommunityItemsToPlayer_Request::attributes(int index) const { - // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Request.attributes) - return _internal_attributes(index); -} -inline ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_add_attributes() { - return _impl_.attributes_.Add(); -} -inline ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* CQuest_PublisherAddCommunityItemsToPlayer_Request::add_attributes() { - ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute* _add = _internal_add_attributes(); - // @@protoc_insertion_point(field_add:CQuest_PublisherAddCommunityItemsToPlayer_Request.attributes) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CQuest_PublisherAddCommunityItemsToPlayer_Request_Attribute >& -CQuest_PublisherAddCommunityItemsToPlayer_Request::attributes() const { - // @@protoc_insertion_point(field_list:CQuest_PublisherAddCommunityItemsToPlayer_Request.attributes) - return _impl_.attributes_; -} - -// optional string note = 7; -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_has_note() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Request::has_note() const { - return _internal_has_note(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::clear_note() { - _impl_.note_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CQuest_PublisherAddCommunityItemsToPlayer_Request::note() const { - // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Request.note) - return _internal_note(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CQuest_PublisherAddCommunityItemsToPlayer_Request::set_note(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.note_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Request.note) -} -inline std::string* CQuest_PublisherAddCommunityItemsToPlayer_Request::mutable_note() { - std::string* _s = _internal_mutable_note(); - // @@protoc_insertion_point(field_mutable:CQuest_PublisherAddCommunityItemsToPlayer_Request.note) - return _s; -} -inline const std::string& CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_note() const { - return _impl_.note_.Get(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_set_note(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.note_.Set(value, GetArenaForAllocation()); -} -inline std::string* CQuest_PublisherAddCommunityItemsToPlayer_Request::_internal_mutable_note() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.note_.Mutable(GetArenaForAllocation()); -} -inline std::string* CQuest_PublisherAddCommunityItemsToPlayer_Request::release_note() { - // @@protoc_insertion_point(field_release:CQuest_PublisherAddCommunityItemsToPlayer_Request.note) - if (!_internal_has_note()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.note_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.note_.IsDefault()) { - _impl_.note_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Request::set_allocated_note(std::string* note) { - if (note != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.note_.SetAllocated(note, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.note_.IsDefault()) { - _impl_.note_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CQuest_PublisherAddCommunityItemsToPlayer_Request.note) -} - -// ------------------------------------------------------------------- - -// CQuest_PublisherAddCommunityItemsToPlayer_Response - -// optional uint32 items_matched = 1; -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Response::_internal_has_items_matched() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Response::has_items_matched() const { - return _internal_has_items_matched(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Response::clear_items_matched() { - _impl_.items_matched_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Response::_internal_items_matched() const { - return _impl_.items_matched_; -} -inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Response::items_matched() const { - // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Response.items_matched) - return _internal_items_matched(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Response::_internal_set_items_matched(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.items_matched_ = value; -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Response::set_items_matched(uint32_t value) { - _internal_set_items_matched(value); - // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Response.items_matched) -} - -// optional uint32 items_granted = 2; -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Response::_internal_has_items_granted() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CQuest_PublisherAddCommunityItemsToPlayer_Response::has_items_granted() const { - return _internal_has_items_granted(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Response::clear_items_granted() { - _impl_.items_granted_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Response::_internal_items_granted() const { - return _impl_.items_granted_; -} -inline uint32_t CQuest_PublisherAddCommunityItemsToPlayer_Response::items_granted() const { - // @@protoc_insertion_point(field_get:CQuest_PublisherAddCommunityItemsToPlayer_Response.items_granted) - return _internal_items_granted(); -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Response::_internal_set_items_granted(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.items_granted_ = value; -} -inline void CQuest_PublisherAddCommunityItemsToPlayer_Response::set_items_granted(uint32_t value) { - _internal_set_items_granted(value); - // @@protoc_insertion_point(field_set:CQuest_PublisherAddCommunityItemsToPlayer_Response.items_granted) -} - -// ------------------------------------------------------------------- - -// CCommunity_GamePersonalDataCategoryInfo - -// optional string type = 1; -inline bool CCommunity_GamePersonalDataCategoryInfo::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCommunity_GamePersonalDataCategoryInfo::has_type() const { - return _internal_has_type(); -} -inline void CCommunity_GamePersonalDataCategoryInfo::clear_type() { - _impl_.type_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCommunity_GamePersonalDataCategoryInfo::type() const { - // @@protoc_insertion_point(field_get:CCommunity_GamePersonalDataCategoryInfo.type) - return _internal_type(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCommunity_GamePersonalDataCategoryInfo::set_type(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.type_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCommunity_GamePersonalDataCategoryInfo.type) -} -inline std::string* CCommunity_GamePersonalDataCategoryInfo::mutable_type() { - std::string* _s = _internal_mutable_type(); - // @@protoc_insertion_point(field_mutable:CCommunity_GamePersonalDataCategoryInfo.type) - return _s; -} -inline const std::string& CCommunity_GamePersonalDataCategoryInfo::_internal_type() const { - return _impl_.type_.Get(); -} -inline void CCommunity_GamePersonalDataCategoryInfo::_internal_set_type(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.type_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCommunity_GamePersonalDataCategoryInfo::_internal_mutable_type() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.type_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCommunity_GamePersonalDataCategoryInfo::release_type() { - // @@protoc_insertion_point(field_release:CCommunity_GamePersonalDataCategoryInfo.type) - if (!_internal_has_type()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.type_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.type_.IsDefault()) { - _impl_.type_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCommunity_GamePersonalDataCategoryInfo::set_allocated_type(std::string* type) { - if (type != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.type_.SetAllocated(type, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.type_.IsDefault()) { - _impl_.type_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCommunity_GamePersonalDataCategoryInfo.type) -} - -// optional string localization_token = 2; -inline bool CCommunity_GamePersonalDataCategoryInfo::_internal_has_localization_token() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCommunity_GamePersonalDataCategoryInfo::has_localization_token() const { - return _internal_has_localization_token(); -} -inline void CCommunity_GamePersonalDataCategoryInfo::clear_localization_token() { - _impl_.localization_token_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CCommunity_GamePersonalDataCategoryInfo::localization_token() const { - // @@protoc_insertion_point(field_get:CCommunity_GamePersonalDataCategoryInfo.localization_token) - return _internal_localization_token(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCommunity_GamePersonalDataCategoryInfo::set_localization_token(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.localization_token_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCommunity_GamePersonalDataCategoryInfo.localization_token) -} -inline std::string* CCommunity_GamePersonalDataCategoryInfo::mutable_localization_token() { - std::string* _s = _internal_mutable_localization_token(); - // @@protoc_insertion_point(field_mutable:CCommunity_GamePersonalDataCategoryInfo.localization_token) - return _s; -} -inline const std::string& CCommunity_GamePersonalDataCategoryInfo::_internal_localization_token() const { - return _impl_.localization_token_.Get(); -} -inline void CCommunity_GamePersonalDataCategoryInfo::_internal_set_localization_token(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.localization_token_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCommunity_GamePersonalDataCategoryInfo::_internal_mutable_localization_token() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.localization_token_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCommunity_GamePersonalDataCategoryInfo::release_localization_token() { - // @@protoc_insertion_point(field_release:CCommunity_GamePersonalDataCategoryInfo.localization_token) - if (!_internal_has_localization_token()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.localization_token_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.localization_token_.IsDefault()) { - _impl_.localization_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCommunity_GamePersonalDataCategoryInfo::set_allocated_localization_token(std::string* localization_token) { - if (localization_token != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.localization_token_.SetAllocated(localization_token, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.localization_token_.IsDefault()) { - _impl_.localization_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCommunity_GamePersonalDataCategoryInfo.localization_token) -} - -// optional string template_file = 3; -inline bool CCommunity_GamePersonalDataCategoryInfo::_internal_has_template_file() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCommunity_GamePersonalDataCategoryInfo::has_template_file() const { - return _internal_has_template_file(); -} -inline void CCommunity_GamePersonalDataCategoryInfo::clear_template_file() { - _impl_.template_file_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CCommunity_GamePersonalDataCategoryInfo::template_file() const { - // @@protoc_insertion_point(field_get:CCommunity_GamePersonalDataCategoryInfo.template_file) - return _internal_template_file(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCommunity_GamePersonalDataCategoryInfo::set_template_file(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.template_file_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCommunity_GamePersonalDataCategoryInfo.template_file) -} -inline std::string* CCommunity_GamePersonalDataCategoryInfo::mutable_template_file() { - std::string* _s = _internal_mutable_template_file(); - // @@protoc_insertion_point(field_mutable:CCommunity_GamePersonalDataCategoryInfo.template_file) - return _s; -} -inline const std::string& CCommunity_GamePersonalDataCategoryInfo::_internal_template_file() const { - return _impl_.template_file_.Get(); -} -inline void CCommunity_GamePersonalDataCategoryInfo::_internal_set_template_file(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.template_file_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCommunity_GamePersonalDataCategoryInfo::_internal_mutable_template_file() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.template_file_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCommunity_GamePersonalDataCategoryInfo::release_template_file() { - // @@protoc_insertion_point(field_release:CCommunity_GamePersonalDataCategoryInfo.template_file) - if (!_internal_has_template_file()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.template_file_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.template_file_.IsDefault()) { - _impl_.template_file_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCommunity_GamePersonalDataCategoryInfo::set_allocated_template_file(std::string* template_file) { - if (template_file != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.template_file_.SetAllocated(template_file, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.template_file_.IsDefault()) { - _impl_.template_file_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCommunity_GamePersonalDataCategoryInfo.template_file) -} - -// ------------------------------------------------------------------- - -// CCommunity_GetGamePersonalDataCategories_Request - -// optional uint32 appid = 1; -inline bool CCommunity_GetGamePersonalDataCategories_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCommunity_GetGamePersonalDataCategories_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CCommunity_GetGamePersonalDataCategories_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CCommunity_GetGamePersonalDataCategories_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CCommunity_GetGamePersonalDataCategories_Request::appid() const { - // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataCategories_Request.appid) - return _internal_appid(); -} -inline void CCommunity_GetGamePersonalDataCategories_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.appid_ = value; -} -inline void CCommunity_GetGamePersonalDataCategories_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataCategories_Request.appid) -} - -// ------------------------------------------------------------------- - -// CCommunity_GetGamePersonalDataCategories_Response - -// repeated .CCommunity_GamePersonalDataCategoryInfo categories = 1; -inline int CCommunity_GetGamePersonalDataCategories_Response::_internal_categories_size() const { - return _impl_.categories_.size(); -} -inline int CCommunity_GetGamePersonalDataCategories_Response::categories_size() const { - return _internal_categories_size(); -} -inline void CCommunity_GetGamePersonalDataCategories_Response::clear_categories() { - _impl_.categories_.Clear(); -} -inline ::CCommunity_GamePersonalDataCategoryInfo* CCommunity_GetGamePersonalDataCategories_Response::mutable_categories(int index) { - // @@protoc_insertion_point(field_mutable:CCommunity_GetGamePersonalDataCategories_Response.categories) - return _impl_.categories_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCommunity_GamePersonalDataCategoryInfo >* -CCommunity_GetGamePersonalDataCategories_Response::mutable_categories() { - // @@protoc_insertion_point(field_mutable_list:CCommunity_GetGamePersonalDataCategories_Response.categories) - return &_impl_.categories_; -} -inline const ::CCommunity_GamePersonalDataCategoryInfo& CCommunity_GetGamePersonalDataCategories_Response::_internal_categories(int index) const { - return _impl_.categories_.Get(index); -} -inline const ::CCommunity_GamePersonalDataCategoryInfo& CCommunity_GetGamePersonalDataCategories_Response::categories(int index) const { - // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataCategories_Response.categories) - return _internal_categories(index); -} -inline ::CCommunity_GamePersonalDataCategoryInfo* CCommunity_GetGamePersonalDataCategories_Response::_internal_add_categories() { - return _impl_.categories_.Add(); -} -inline ::CCommunity_GamePersonalDataCategoryInfo* CCommunity_GetGamePersonalDataCategories_Response::add_categories() { - ::CCommunity_GamePersonalDataCategoryInfo* _add = _internal_add_categories(); - // @@protoc_insertion_point(field_add:CCommunity_GetGamePersonalDataCategories_Response.categories) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCommunity_GamePersonalDataCategoryInfo >& -CCommunity_GetGamePersonalDataCategories_Response::categories() const { - // @@protoc_insertion_point(field_list:CCommunity_GetGamePersonalDataCategories_Response.categories) - return _impl_.categories_; -} - -// optional string app_assets_basename = 2; -inline bool CCommunity_GetGamePersonalDataCategories_Response::_internal_has_app_assets_basename() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCommunity_GetGamePersonalDataCategories_Response::has_app_assets_basename() const { - return _internal_has_app_assets_basename(); -} -inline void CCommunity_GetGamePersonalDataCategories_Response::clear_app_assets_basename() { - _impl_.app_assets_basename_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCommunity_GetGamePersonalDataCategories_Response::app_assets_basename() const { - // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataCategories_Response.app_assets_basename) - return _internal_app_assets_basename(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCommunity_GetGamePersonalDataCategories_Response::set_app_assets_basename(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.app_assets_basename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataCategories_Response.app_assets_basename) -} -inline std::string* CCommunity_GetGamePersonalDataCategories_Response::mutable_app_assets_basename() { - std::string* _s = _internal_mutable_app_assets_basename(); - // @@protoc_insertion_point(field_mutable:CCommunity_GetGamePersonalDataCategories_Response.app_assets_basename) - return _s; -} -inline const std::string& CCommunity_GetGamePersonalDataCategories_Response::_internal_app_assets_basename() const { - return _impl_.app_assets_basename_.Get(); -} -inline void CCommunity_GetGamePersonalDataCategories_Response::_internal_set_app_assets_basename(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.app_assets_basename_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCommunity_GetGamePersonalDataCategories_Response::_internal_mutable_app_assets_basename() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.app_assets_basename_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCommunity_GetGamePersonalDataCategories_Response::release_app_assets_basename() { - // @@protoc_insertion_point(field_release:CCommunity_GetGamePersonalDataCategories_Response.app_assets_basename) - if (!_internal_has_app_assets_basename()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.app_assets_basename_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.app_assets_basename_.IsDefault()) { - _impl_.app_assets_basename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCommunity_GetGamePersonalDataCategories_Response::set_allocated_app_assets_basename(std::string* app_assets_basename) { - if (app_assets_basename != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.app_assets_basename_.SetAllocated(app_assets_basename, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.app_assets_basename_.IsDefault()) { - _impl_.app_assets_basename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCommunity_GetGamePersonalDataCategories_Response.app_assets_basename) -} - -// ------------------------------------------------------------------- - -// CCommunity_GetGamePersonalDataEntries_Request - -// optional uint32 appid = 1; -inline bool CCommunity_GetGamePersonalDataEntries_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCommunity_GetGamePersonalDataEntries_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CCommunity_GetGamePersonalDataEntries_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CCommunity_GetGamePersonalDataEntries_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CCommunity_GetGamePersonalDataEntries_Request::appid() const { - // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataEntries_Request.appid) - return _internal_appid(); -} -inline void CCommunity_GetGamePersonalDataEntries_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.appid_ = value; -} -inline void CCommunity_GetGamePersonalDataEntries_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataEntries_Request.appid) -} - -// optional uint64 steamid = 2; -inline bool CCommunity_GetGamePersonalDataEntries_Request::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCommunity_GetGamePersonalDataEntries_Request::has_steamid() const { - return _internal_has_steamid(); -} -inline void CCommunity_GetGamePersonalDataEntries_Request::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CCommunity_GetGamePersonalDataEntries_Request::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CCommunity_GetGamePersonalDataEntries_Request::steamid() const { - // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataEntries_Request.steamid) - return _internal_steamid(); -} -inline void CCommunity_GetGamePersonalDataEntries_Request::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.steamid_ = value; -} -inline void CCommunity_GetGamePersonalDataEntries_Request::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataEntries_Request.steamid) -} - -// optional string type = 3; -inline bool CCommunity_GetGamePersonalDataEntries_Request::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCommunity_GetGamePersonalDataEntries_Request::has_type() const { - return _internal_has_type(); -} -inline void CCommunity_GetGamePersonalDataEntries_Request::clear_type() { - _impl_.type_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCommunity_GetGamePersonalDataEntries_Request::type() const { - // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataEntries_Request.type) - return _internal_type(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCommunity_GetGamePersonalDataEntries_Request::set_type(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.type_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataEntries_Request.type) -} -inline std::string* CCommunity_GetGamePersonalDataEntries_Request::mutable_type() { - std::string* _s = _internal_mutable_type(); - // @@protoc_insertion_point(field_mutable:CCommunity_GetGamePersonalDataEntries_Request.type) - return _s; -} -inline const std::string& CCommunity_GetGamePersonalDataEntries_Request::_internal_type() const { - return _impl_.type_.Get(); -} -inline void CCommunity_GetGamePersonalDataEntries_Request::_internal_set_type(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.type_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCommunity_GetGamePersonalDataEntries_Request::_internal_mutable_type() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.type_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCommunity_GetGamePersonalDataEntries_Request::release_type() { - // @@protoc_insertion_point(field_release:CCommunity_GetGamePersonalDataEntries_Request.type) - if (!_internal_has_type()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.type_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.type_.IsDefault()) { - _impl_.type_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCommunity_GetGamePersonalDataEntries_Request::set_allocated_type(std::string* type) { - if (type != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.type_.SetAllocated(type, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.type_.IsDefault()) { - _impl_.type_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCommunity_GetGamePersonalDataEntries_Request.type) -} - -// optional string continue_token = 4; -inline bool CCommunity_GetGamePersonalDataEntries_Request::_internal_has_continue_token() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCommunity_GetGamePersonalDataEntries_Request::has_continue_token() const { - return _internal_has_continue_token(); -} -inline void CCommunity_GetGamePersonalDataEntries_Request::clear_continue_token() { - _impl_.continue_token_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CCommunity_GetGamePersonalDataEntries_Request::continue_token() const { - // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataEntries_Request.continue_token) - return _internal_continue_token(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCommunity_GetGamePersonalDataEntries_Request::set_continue_token(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.continue_token_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataEntries_Request.continue_token) -} -inline std::string* CCommunity_GetGamePersonalDataEntries_Request::mutable_continue_token() { - std::string* _s = _internal_mutable_continue_token(); - // @@protoc_insertion_point(field_mutable:CCommunity_GetGamePersonalDataEntries_Request.continue_token) - return _s; -} -inline const std::string& CCommunity_GetGamePersonalDataEntries_Request::_internal_continue_token() const { - return _impl_.continue_token_.Get(); -} -inline void CCommunity_GetGamePersonalDataEntries_Request::_internal_set_continue_token(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.continue_token_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCommunity_GetGamePersonalDataEntries_Request::_internal_mutable_continue_token() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.continue_token_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCommunity_GetGamePersonalDataEntries_Request::release_continue_token() { - // @@protoc_insertion_point(field_release:CCommunity_GetGamePersonalDataEntries_Request.continue_token) - if (!_internal_has_continue_token()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.continue_token_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.continue_token_.IsDefault()) { - _impl_.continue_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCommunity_GetGamePersonalDataEntries_Request::set_allocated_continue_token(std::string* continue_token) { - if (continue_token != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.continue_token_.SetAllocated(continue_token, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.continue_token_.IsDefault()) { - _impl_.continue_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCommunity_GetGamePersonalDataEntries_Request.continue_token) -} - -// ------------------------------------------------------------------- - -// CCommunity_GetGamePersonalDataEntries_Response - -// optional uint32 gceresult = 1; -inline bool CCommunity_GetGamePersonalDataEntries_Response::_internal_has_gceresult() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCommunity_GetGamePersonalDataEntries_Response::has_gceresult() const { - return _internal_has_gceresult(); -} -inline void CCommunity_GetGamePersonalDataEntries_Response::clear_gceresult() { - _impl_.gceresult_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CCommunity_GetGamePersonalDataEntries_Response::_internal_gceresult() const { - return _impl_.gceresult_; -} -inline uint32_t CCommunity_GetGamePersonalDataEntries_Response::gceresult() const { - // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataEntries_Response.gceresult) - return _internal_gceresult(); -} -inline void CCommunity_GetGamePersonalDataEntries_Response::_internal_set_gceresult(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.gceresult_ = value; -} -inline void CCommunity_GetGamePersonalDataEntries_Response::set_gceresult(uint32_t value) { - _internal_set_gceresult(value); - // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataEntries_Response.gceresult) -} - -// repeated string entries = 2; -inline int CCommunity_GetGamePersonalDataEntries_Response::_internal_entries_size() const { - return _impl_.entries_.size(); -} -inline int CCommunity_GetGamePersonalDataEntries_Response::entries_size() const { - return _internal_entries_size(); -} -inline void CCommunity_GetGamePersonalDataEntries_Response::clear_entries() { - _impl_.entries_.Clear(); -} -inline std::string* CCommunity_GetGamePersonalDataEntries_Response::add_entries() { - std::string* _s = _internal_add_entries(); - // @@protoc_insertion_point(field_add_mutable:CCommunity_GetGamePersonalDataEntries_Response.entries) - return _s; -} -inline const std::string& CCommunity_GetGamePersonalDataEntries_Response::_internal_entries(int index) const { - return _impl_.entries_.Get(index); -} -inline const std::string& CCommunity_GetGamePersonalDataEntries_Response::entries(int index) const { - // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataEntries_Response.entries) - return _internal_entries(index); -} -inline std::string* CCommunity_GetGamePersonalDataEntries_Response::mutable_entries(int index) { - // @@protoc_insertion_point(field_mutable:CCommunity_GetGamePersonalDataEntries_Response.entries) - return _impl_.entries_.Mutable(index); -} -inline void CCommunity_GetGamePersonalDataEntries_Response::set_entries(int index, const std::string& value) { - _impl_.entries_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataEntries_Response.entries) -} -inline void CCommunity_GetGamePersonalDataEntries_Response::set_entries(int index, std::string&& value) { - _impl_.entries_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataEntries_Response.entries) -} -inline void CCommunity_GetGamePersonalDataEntries_Response::set_entries(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.entries_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CCommunity_GetGamePersonalDataEntries_Response.entries) -} -inline void CCommunity_GetGamePersonalDataEntries_Response::set_entries(int index, const char* value, size_t size) { - _impl_.entries_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CCommunity_GetGamePersonalDataEntries_Response.entries) -} -inline std::string* CCommunity_GetGamePersonalDataEntries_Response::_internal_add_entries() { - return _impl_.entries_.Add(); -} -inline void CCommunity_GetGamePersonalDataEntries_Response::add_entries(const std::string& value) { - _impl_.entries_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CCommunity_GetGamePersonalDataEntries_Response.entries) -} -inline void CCommunity_GetGamePersonalDataEntries_Response::add_entries(std::string&& value) { - _impl_.entries_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CCommunity_GetGamePersonalDataEntries_Response.entries) -} -inline void CCommunity_GetGamePersonalDataEntries_Response::add_entries(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.entries_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CCommunity_GetGamePersonalDataEntries_Response.entries) -} -inline void CCommunity_GetGamePersonalDataEntries_Response::add_entries(const char* value, size_t size) { - _impl_.entries_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CCommunity_GetGamePersonalDataEntries_Response.entries) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CCommunity_GetGamePersonalDataEntries_Response::entries() const { - // @@protoc_insertion_point(field_list:CCommunity_GetGamePersonalDataEntries_Response.entries) - return _impl_.entries_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CCommunity_GetGamePersonalDataEntries_Response::mutable_entries() { - // @@protoc_insertion_point(field_mutable_list:CCommunity_GetGamePersonalDataEntries_Response.entries) - return &_impl_.entries_; -} - -// optional string continue_token = 3; -inline bool CCommunity_GetGamePersonalDataEntries_Response::_internal_has_continue_token() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCommunity_GetGamePersonalDataEntries_Response::has_continue_token() const { - return _internal_has_continue_token(); -} -inline void CCommunity_GetGamePersonalDataEntries_Response::clear_continue_token() { - _impl_.continue_token_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCommunity_GetGamePersonalDataEntries_Response::continue_token() const { - // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataEntries_Response.continue_token) - return _internal_continue_token(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCommunity_GetGamePersonalDataEntries_Response::set_continue_token(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.continue_token_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataEntries_Response.continue_token) -} -inline std::string* CCommunity_GetGamePersonalDataEntries_Response::mutable_continue_token() { - std::string* _s = _internal_mutable_continue_token(); - // @@protoc_insertion_point(field_mutable:CCommunity_GetGamePersonalDataEntries_Response.continue_token) - return _s; -} -inline const std::string& CCommunity_GetGamePersonalDataEntries_Response::_internal_continue_token() const { - return _impl_.continue_token_.Get(); -} -inline void CCommunity_GetGamePersonalDataEntries_Response::_internal_set_continue_token(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.continue_token_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCommunity_GetGamePersonalDataEntries_Response::_internal_mutable_continue_token() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.continue_token_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCommunity_GetGamePersonalDataEntries_Response::release_continue_token() { - // @@protoc_insertion_point(field_release:CCommunity_GetGamePersonalDataEntries_Response.continue_token) - if (!_internal_has_continue_token()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.continue_token_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.continue_token_.IsDefault()) { - _impl_.continue_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCommunity_GetGamePersonalDataEntries_Response::set_allocated_continue_token(std::string* continue_token) { - if (continue_token != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.continue_token_.SetAllocated(continue_token, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.continue_token_.IsDefault()) { - _impl_.continue_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCommunity_GetGamePersonalDataEntries_Response.continue_token) -} - -// optional string continue_text = 4; -inline bool CCommunity_GetGamePersonalDataEntries_Response::_internal_has_continue_text() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCommunity_GetGamePersonalDataEntries_Response::has_continue_text() const { - return _internal_has_continue_text(); -} -inline void CCommunity_GetGamePersonalDataEntries_Response::clear_continue_text() { - _impl_.continue_text_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CCommunity_GetGamePersonalDataEntries_Response::continue_text() const { - // @@protoc_insertion_point(field_get:CCommunity_GetGamePersonalDataEntries_Response.continue_text) - return _internal_continue_text(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCommunity_GetGamePersonalDataEntries_Response::set_continue_text(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.continue_text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCommunity_GetGamePersonalDataEntries_Response.continue_text) -} -inline std::string* CCommunity_GetGamePersonalDataEntries_Response::mutable_continue_text() { - std::string* _s = _internal_mutable_continue_text(); - // @@protoc_insertion_point(field_mutable:CCommunity_GetGamePersonalDataEntries_Response.continue_text) - return _s; -} -inline const std::string& CCommunity_GetGamePersonalDataEntries_Response::_internal_continue_text() const { - return _impl_.continue_text_.Get(); -} -inline void CCommunity_GetGamePersonalDataEntries_Response::_internal_set_continue_text(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.continue_text_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCommunity_GetGamePersonalDataEntries_Response::_internal_mutable_continue_text() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.continue_text_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCommunity_GetGamePersonalDataEntries_Response::release_continue_text() { - // @@protoc_insertion_point(field_release:CCommunity_GetGamePersonalDataEntries_Response.continue_text) - if (!_internal_has_continue_text()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.continue_text_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.continue_text_.IsDefault()) { - _impl_.continue_text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCommunity_GetGamePersonalDataEntries_Response::set_allocated_continue_text(std::string* continue_text) { - if (continue_text != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.continue_text_.SetAllocated(continue_text, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.continue_text_.IsDefault()) { - _impl_.continue_text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCommunity_GetGamePersonalDataEntries_Response.continue_text) -} - -// ------------------------------------------------------------------- - -// CCommunity_TerminateGamePersonalDataEntries_Request - -// optional uint32 appid = 1; -inline bool CCommunity_TerminateGamePersonalDataEntries_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCommunity_TerminateGamePersonalDataEntries_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CCommunity_TerminateGamePersonalDataEntries_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CCommunity_TerminateGamePersonalDataEntries_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CCommunity_TerminateGamePersonalDataEntries_Request::appid() const { - // @@protoc_insertion_point(field_get:CCommunity_TerminateGamePersonalDataEntries_Request.appid) - return _internal_appid(); -} -inline void CCommunity_TerminateGamePersonalDataEntries_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.appid_ = value; -} -inline void CCommunity_TerminateGamePersonalDataEntries_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CCommunity_TerminateGamePersonalDataEntries_Request.appid) -} - -// optional uint64 steamid = 2; -inline bool CCommunity_TerminateGamePersonalDataEntries_Request::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCommunity_TerminateGamePersonalDataEntries_Request::has_steamid() const { - return _internal_has_steamid(); -} -inline void CCommunity_TerminateGamePersonalDataEntries_Request::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CCommunity_TerminateGamePersonalDataEntries_Request::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CCommunity_TerminateGamePersonalDataEntries_Request::steamid() const { - // @@protoc_insertion_point(field_get:CCommunity_TerminateGamePersonalDataEntries_Request.steamid) - return _internal_steamid(); -} -inline void CCommunity_TerminateGamePersonalDataEntries_Request::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steamid_ = value; -} -inline void CCommunity_TerminateGamePersonalDataEntries_Request::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CCommunity_TerminateGamePersonalDataEntries_Request.steamid) -} - -// ------------------------------------------------------------------- - -// CCommunity_TerminateGamePersonalDataEntries_Response - -// optional uint32 gceresult = 1; -inline bool CCommunity_TerminateGamePersonalDataEntries_Response::_internal_has_gceresult() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCommunity_TerminateGamePersonalDataEntries_Response::has_gceresult() const { - return _internal_has_gceresult(); -} -inline void CCommunity_TerminateGamePersonalDataEntries_Response::clear_gceresult() { - _impl_.gceresult_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CCommunity_TerminateGamePersonalDataEntries_Response::_internal_gceresult() const { - return _impl_.gceresult_; -} -inline uint32_t CCommunity_TerminateGamePersonalDataEntries_Response::gceresult() const { - // @@protoc_insertion_point(field_get:CCommunity_TerminateGamePersonalDataEntries_Response.gceresult) - return _internal_gceresult(); -} -inline void CCommunity_TerminateGamePersonalDataEntries_Response::_internal_set_gceresult(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.gceresult_ = value; -} -inline void CCommunity_TerminateGamePersonalDataEntries_Response::set_gceresult(uint32_t value) { - _internal_set_gceresult(value); - // @@protoc_insertion_point(field_set:CCommunity_TerminateGamePersonalDataEntries_Response.gceresult) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::EGCSystemMsg> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EGCSystemMsg>() { - return ::EGCSystemMsg_descriptor(); -} -template <> struct is_proto_enum< ::ESOMsg> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ESOMsg>() { - return ::ESOMsg_descriptor(); -} -template <> struct is_proto_enum< ::EGCBaseClientMsg> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EGCBaseClientMsg>() { - return ::EGCBaseClientMsg_descriptor(); -} -template <> struct is_proto_enum< ::EGCToGCMsg> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EGCToGCMsg>() { - return ::EGCToGCMsg_descriptor(); -} -template <> struct is_proto_enum< ::ECommunityItemClass> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ECommunityItemClass>() { - return ::ECommunityItemClass_descriptor(); -} -template <> struct is_proto_enum< ::ECommunityItemAttribute> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ECommunityItemAttribute>() { - return ::ECommunityItemAttribute_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_gcsystemmsgs_2eproto diff --git a/protobuf/generated/netmessages.pb.cc b/protobuf/generated/netmessages.pb.cc deleted file mode 100644 index 4398801ff..000000000 --- a/protobuf/generated/netmessages.pb.cc +++ /dev/null @@ -1,31010 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: netmessages.proto - -#include "netmessages.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CCLCMsg_ClientInfo::CCLCMsg_ClientInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.friends_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.send_table_crc_)*/0u - , /*decltype(_impl_.server_count_)*/0u - , /*decltype(_impl_.is_hltv_)*/false - , /*decltype(_impl_.friends_id_)*/0u} {} -struct CCLCMsg_ClientInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCLCMsg_ClientInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCLCMsg_ClientInfoDefaultTypeInternal() {} - union { - CCLCMsg_ClientInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_ClientInfoDefaultTypeInternal _CCLCMsg_ClientInfo_default_instance_; -PROTOBUF_CONSTEXPR CCLCMsg_Move::CCLCMsg_Move( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.last_command_number_)*/0u} {} -struct CCLCMsg_MoveDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCLCMsg_MoveDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCLCMsg_MoveDefaultTypeInternal() {} - union { - CCLCMsg_Move _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_MoveDefaultTypeInternal _CCLCMsg_Move_default_instance_; -PROTOBUF_CONSTEXPR CMsgVoiceAudio::CMsgVoiceAudio( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.packet_offsets_)*/{} - , /*decltype(_impl_._packet_offsets_cached_byte_size_)*/{0} - , /*decltype(_impl_.voice_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.format_)*/0 - , /*decltype(_impl_.sequence_bytes_)*/0 - , /*decltype(_impl_.section_number_)*/0u - , /*decltype(_impl_.sample_rate_)*/0u - , /*decltype(_impl_.uncompressed_sample_offset_)*/0u - , /*decltype(_impl_.num_packets_)*/0u - , /*decltype(_impl_.voice_level_)*/0} {} -struct CMsgVoiceAudioDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgVoiceAudioDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgVoiceAudioDefaultTypeInternal() {} - union { - CMsgVoiceAudio _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgVoiceAudioDefaultTypeInternal _CMsgVoiceAudio_default_instance_; -PROTOBUF_CONSTEXPR CCLCMsg_VoiceData::CCLCMsg_VoiceData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.audio_)*/nullptr - , /*decltype(_impl_.xuid_)*/uint64_t{0u} - , /*decltype(_impl_.tick_)*/0u} {} -struct CCLCMsg_VoiceDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCLCMsg_VoiceDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCLCMsg_VoiceDataDefaultTypeInternal() {} - union { - CCLCMsg_VoiceData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_VoiceDataDefaultTypeInternal _CCLCMsg_VoiceData_default_instance_; -PROTOBUF_CONSTEXPR CCLCMsg_BaselineAck::CCLCMsg_BaselineAck( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.baseline_tick_)*/0 - , /*decltype(_impl_.baseline_nr_)*/0} {} -struct CCLCMsg_BaselineAckDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCLCMsg_BaselineAckDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCLCMsg_BaselineAckDefaultTypeInternal() {} - union { - CCLCMsg_BaselineAck _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_BaselineAckDefaultTypeInternal _CCLCMsg_BaselineAck_default_instance_; -PROTOBUF_CONSTEXPR CCLCMsg_ListenEvents::CCLCMsg_ListenEvents( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.event_mask_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CCLCMsg_ListenEventsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCLCMsg_ListenEventsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCLCMsg_ListenEventsDefaultTypeInternal() {} - union { - CCLCMsg_ListenEvents _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_ListenEventsDefaultTypeInternal _CCLCMsg_ListenEvents_default_instance_; -PROTOBUF_CONSTEXPR CCLCMsg_RespondCvarValue::CCLCMsg_RespondCvarValue( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.cookie_)*/0 - , /*decltype(_impl_.status_code_)*/0} {} -struct CCLCMsg_RespondCvarValueDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCLCMsg_RespondCvarValueDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCLCMsg_RespondCvarValueDefaultTypeInternal() {} - union { - CCLCMsg_RespondCvarValue _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_RespondCvarValueDefaultTypeInternal _CCLCMsg_RespondCvarValue_default_instance_; -PROTOBUF_CONSTEXPR CCLCMsg_LoadingProgress::CCLCMsg_LoadingProgress( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.progress_)*/0} {} -struct CCLCMsg_LoadingProgressDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCLCMsg_LoadingProgressDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCLCMsg_LoadingProgressDefaultTypeInternal() {} - union { - CCLCMsg_LoadingProgress _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_LoadingProgressDefaultTypeInternal _CCLCMsg_LoadingProgress_default_instance_; -PROTOBUF_CONSTEXPR CCLCMsg_SplitPlayerConnect::CCLCMsg_SplitPlayerConnect( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.playername_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CCLCMsg_SplitPlayerConnectDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCLCMsg_SplitPlayerConnectDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCLCMsg_SplitPlayerConnectDefaultTypeInternal() {} - union { - CCLCMsg_SplitPlayerConnect _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_SplitPlayerConnectDefaultTypeInternal _CCLCMsg_SplitPlayerConnect_default_instance_; -PROTOBUF_CONSTEXPR CCLCMsg_SplitPlayerDisconnect::CCLCMsg_SplitPlayerDisconnect( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.slot_)*/0} {} -struct CCLCMsg_SplitPlayerDisconnectDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCLCMsg_SplitPlayerDisconnectDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCLCMsg_SplitPlayerDisconnectDefaultTypeInternal() {} - union { - CCLCMsg_SplitPlayerDisconnect _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_SplitPlayerDisconnectDefaultTypeInternal _CCLCMsg_SplitPlayerDisconnect_default_instance_; -PROTOBUF_CONSTEXPR CCLCMsg_ServerStatus::CCLCMsg_ServerStatus( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.simplified_)*/false} {} -struct CCLCMsg_ServerStatusDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCLCMsg_ServerStatusDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCLCMsg_ServerStatusDefaultTypeInternal() {} - union { - CCLCMsg_ServerStatus _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_ServerStatusDefaultTypeInternal _CCLCMsg_ServerStatus_default_instance_; -PROTOBUF_CONSTEXPR CCLCMsg_RequestPause::CCLCMsg_RequestPause( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.pause_type_)*/0 - , /*decltype(_impl_.pause_group_)*/0} {} -struct CCLCMsg_RequestPauseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCLCMsg_RequestPauseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCLCMsg_RequestPauseDefaultTypeInternal() {} - union { - CCLCMsg_RequestPause _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_RequestPauseDefaultTypeInternal _CCLCMsg_RequestPause_default_instance_; -PROTOBUF_CONSTEXPR CCLCMsg_CmdKeyValues::CCLCMsg_CmdKeyValues( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CCLCMsg_CmdKeyValuesDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCLCMsg_CmdKeyValuesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCLCMsg_CmdKeyValuesDefaultTypeInternal() {} - union { - CCLCMsg_CmdKeyValues _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_CmdKeyValuesDefaultTypeInternal _CCLCMsg_CmdKeyValues_default_instance_; -PROTOBUF_CONSTEXPR CCLCMsg_RconServerDetails::CCLCMsg_RconServerDetails( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CCLCMsg_RconServerDetailsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCLCMsg_RconServerDetailsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCLCMsg_RconServerDetailsDefaultTypeInternal() {} - union { - CCLCMsg_RconServerDetails _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_RconServerDetailsDefaultTypeInternal _CCLCMsg_RconServerDetails_default_instance_; -PROTOBUF_CONSTEXPR CMsgSource2SystemSpecs::CMsgSource2SystemSpecs( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.cpu_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.cpu_brand_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.gpu_rendersystem_dll_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.gpu_driver_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.cpu_model_)*/0u - , /*decltype(_impl_.cpu_num_physical_)*/0u - , /*decltype(_impl_.ram_physical_total_mb_)*/0u - , /*decltype(_impl_.gpu_vendor_id_)*/0u - , /*decltype(_impl_.gpu_driver_version_high_)*/0u - , /*decltype(_impl_.gpu_driver_version_low_)*/0u - , /*decltype(_impl_.gpu_dx_support_level_)*/0u - , /*decltype(_impl_.gpu_texture_memory_size_mb_)*/0u - , /*decltype(_impl_.backbuffer_width_)*/0u - , /*decltype(_impl_.backbuffer_height_)*/0u} {} -struct CMsgSource2SystemSpecsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSource2SystemSpecsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSource2SystemSpecsDefaultTypeInternal() {} - union { - CMsgSource2SystemSpecs _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2SystemSpecsDefaultTypeInternal _CMsgSource2SystemSpecs_default_instance_; -PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReportItem::CMsgSource2VProfLiteReportItem( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.active_samples_)*/0u - , /*decltype(_impl_.usec_max_)*/0u - , /*decltype(_impl_.active_samples_1secmax_)*/0u - , /*decltype(_impl_.usec_avg_active_)*/0u - , /*decltype(_impl_.usec_p50_active_)*/0u - , /*decltype(_impl_.usec_p99_active_)*/0u - , /*decltype(_impl_.usec_avg_all_)*/0u - , /*decltype(_impl_.usec_p50_all_)*/0u - , /*decltype(_impl_.usec_p99_all_)*/0u - , /*decltype(_impl_.usec_1secmax_avg_active_)*/0u - , /*decltype(_impl_.usec_1secmax_p50_active_)*/0u - , /*decltype(_impl_.usec_1secmax_p95_active_)*/0u - , /*decltype(_impl_.usec_1secmax_p99_active_)*/0u - , /*decltype(_impl_.usec_1secmax_avg_all_)*/0u - , /*decltype(_impl_.usec_1secmax_p50_all_)*/0u - , /*decltype(_impl_.usec_1secmax_p95_all_)*/0u - , /*decltype(_impl_.usec_1secmax_p99_all_)*/0u} {} -struct CMsgSource2VProfLiteReportItemDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReportItemDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSource2VProfLiteReportItemDefaultTypeInternal() {} - union { - CMsgSource2VProfLiteReportItem _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2VProfLiteReportItemDefaultTypeInternal _CMsgSource2VProfLiteReportItem_default_instance_; -PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReport::CMsgSource2VProfLiteReport( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.items_)*/{} - , /*decltype(_impl_.total_)*/nullptr - , /*decltype(_impl_.discarded_frames_)*/0u} {} -struct CMsgSource2VProfLiteReportDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReportDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSource2VProfLiteReportDefaultTypeInternal() {} - union { - CMsgSource2VProfLiteReport _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2VProfLiteReportDefaultTypeInternal _CMsgSource2VProfLiteReport_default_instance_; -PROTOBUF_CONSTEXPR CMsgSource2NetworkFlowQuality::CMsgSource2NetworkFlowQuality( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.bytes_total_)*/uint64_t{0u} - , /*decltype(_impl_.duration_)*/0u - , /*decltype(_impl_.bytes_sec_p95_)*/0u - , /*decltype(_impl_.bytes_total_reliable_)*/uint64_t{0u} - , /*decltype(_impl_.bytes_total_voice_)*/uint64_t{0u} - , /*decltype(_impl_.bytes_sec_p99_)*/0u - , /*decltype(_impl_.enginemsgs_total_)*/0u - , /*decltype(_impl_.enginemsgs_sec_p95_)*/0u - , /*decltype(_impl_.enginemsgs_sec_p99_)*/0u - , /*decltype(_impl_.ticks_total_)*/0u - , /*decltype(_impl_.ticks_good_)*/0u - , /*decltype(_impl_.ticks_good_almost_late_)*/0u - , /*decltype(_impl_.ticks_fixed_dropped_)*/0u - , /*decltype(_impl_.ticks_fixed_late_)*/0u - , /*decltype(_impl_.ticks_bad_dropped_)*/0u - , /*decltype(_impl_.ticks_bad_late_)*/0u - , /*decltype(_impl_.ticks_bad_other_)*/0u - , /*decltype(_impl_.tick_missrate_samples_total_)*/0u - , /*decltype(_impl_.tick_missrate_samples_perfect_)*/0u - , /*decltype(_impl_.tick_missrate_samples_perfectnet_)*/0u - , /*decltype(_impl_.tick_missratenet_p75_x10_)*/0u - , /*decltype(_impl_.tick_missratenet_p95_x10_)*/0u - , /*decltype(_impl_.tick_missratenet_p99_x10_)*/0u - , /*decltype(_impl_.recvmargin_p1_)*/0 - , /*decltype(_impl_.recvmargin_p5_)*/0 - , /*decltype(_impl_.recvmargin_p25_)*/0 - , /*decltype(_impl_.recvmargin_p50_)*/0 - , /*decltype(_impl_.recvmargin_p75_)*/0 - , /*decltype(_impl_.recvmargin_p95_)*/0} {} -struct CMsgSource2NetworkFlowQualityDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSource2NetworkFlowQualityDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSource2NetworkFlowQualityDefaultTypeInternal() {} - union { - CMsgSource2NetworkFlowQuality _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2NetworkFlowQualityDefaultTypeInternal _CMsgSource2NetworkFlowQuality_default_instance_; -PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample_Tag::CMsgSource2PerfIntervalSample_Tag( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.tag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.max_value_)*/0u} {} -struct CMsgSource2PerfIntervalSample_TagDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample_TagDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSource2PerfIntervalSample_TagDefaultTypeInternal() {} - union { - CMsgSource2PerfIntervalSample_Tag _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2PerfIntervalSample_TagDefaultTypeInternal _CMsgSource2PerfIntervalSample_Tag_default_instance_; -PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample::CMsgSource2PerfIntervalSample( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.tags_)*/{} - , /*decltype(_impl_.frame_time_max_ms_)*/0 - , /*decltype(_impl_.frame_time_avg_ms_)*/0 - , /*decltype(_impl_.frame_time_min_ms_)*/0 - , /*decltype(_impl_.frame_count_)*/0 - , /*decltype(_impl_.frame_time_total_ms_)*/0} {} -struct CMsgSource2PerfIntervalSampleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSampleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSource2PerfIntervalSampleDefaultTypeInternal() {} - union { - CMsgSource2PerfIntervalSample _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSource2PerfIntervalSampleDefaultTypeInternal _CMsgSource2PerfIntervalSample_default_instance_; -PROTOBUF_CONSTEXPR CCLCMsg_Diagnostic::CCLCMsg_Diagnostic( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.perf_samples_)*/{} - , /*decltype(_impl_.system_specs_)*/nullptr - , /*decltype(_impl_.vprof_report_)*/nullptr - , /*decltype(_impl_.downstream_flow_)*/nullptr - , /*decltype(_impl_.upstream_flow_)*/nullptr} {} -struct CCLCMsg_DiagnosticDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCLCMsg_DiagnosticDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCLCMsg_DiagnosticDefaultTypeInternal() {} - union { - CCLCMsg_Diagnostic _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_DiagnosticDefaultTypeInternal _CCLCMsg_Diagnostic_default_instance_; -PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification_Client::CSource2Metrics_MatchPerfSummary_Notification_Client( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.perf_samples_)*/{} - , /*decltype(_impl_.system_specs_)*/nullptr - , /*decltype(_impl_.profile_)*/nullptr - , /*decltype(_impl_.downstream_flow_)*/nullptr - , /*decltype(_impl_.upstream_flow_)*/nullptr - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.build_id_)*/0u} {} -struct CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal() {} - union { - CSource2Metrics_MatchPerfSummary_Notification_Client _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal _CSource2Metrics_MatchPerfSummary_Notification_Client_default_instance_; -PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification::CSource2Metrics_MatchPerfSummary_Notification( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.clients_)*/{} - , /*decltype(_impl_.game_mode_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.map_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.server_profile_)*/nullptr - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.server_build_id_)*/0u - , /*decltype(_impl_.server_popid_)*/0u} {} -struct CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal() {} - union { - CSource2Metrics_MatchPerfSummary_Notification _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal _CSource2Metrics_MatchPerfSummary_Notification_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_ServerInfo::CSVCMsg_ServerInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.game_dir_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.map_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.sky_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.host_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.addon_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.game_session_manifest_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.game_session_config_)*/nullptr - , /*decltype(_impl_.protocol_)*/0 - , /*decltype(_impl_.server_count_)*/0 - , /*decltype(_impl_.is_dedicated_)*/false - , /*decltype(_impl_.is_hltv_)*/false - , /*decltype(_impl_.c_os_)*/0 - , /*decltype(_impl_.max_clients_)*/0 - , /*decltype(_impl_.max_classes_)*/0 - , /*decltype(_impl_.tick_interval_)*/0 - , /*decltype(_impl_.player_slot_)*/-1} {} -struct CSVCMsg_ServerInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_ServerInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_ServerInfoDefaultTypeInternal() {} - union { - CSVCMsg_ServerInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_ServerInfoDefaultTypeInternal _CSVCMsg_ServerInfo_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_ClassInfo_class_t::CSVCMsg_ClassInfo_class_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.class_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.class_id_)*/0} {} -struct CSVCMsg_ClassInfo_class_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_ClassInfo_class_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_ClassInfo_class_tDefaultTypeInternal() {} - union { - CSVCMsg_ClassInfo_class_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_ClassInfo_class_tDefaultTypeInternal _CSVCMsg_ClassInfo_class_t_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_ClassInfo::CSVCMsg_ClassInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.classes_)*/{} - , /*decltype(_impl_.create_on_client_)*/false} {} -struct CSVCMsg_ClassInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_ClassInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_ClassInfoDefaultTypeInternal() {} - union { - CSVCMsg_ClassInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_ClassInfoDefaultTypeInternal _CSVCMsg_ClassInfo_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_SetPause::CSVCMsg_SetPause( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.paused_)*/false} {} -struct CSVCMsg_SetPauseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_SetPauseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_SetPauseDefaultTypeInternal() {} - union { - CSVCMsg_SetPause _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_SetPauseDefaultTypeInternal _CSVCMsg_SetPause_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_VoiceInit::CSVCMsg_VoiceInit( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.codec_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.quality_)*/0 - , /*decltype(_impl_.version_)*/0} {} -struct CSVCMsg_VoiceInitDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_VoiceInitDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_VoiceInitDefaultTypeInternal() {} - union { - CSVCMsg_VoiceInit _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_VoiceInitDefaultTypeInternal _CSVCMsg_VoiceInit_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_Print::CSVCMsg_Print( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CSVCMsg_PrintDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_PrintDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_PrintDefaultTypeInternal() {} - union { - CSVCMsg_Print _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_PrintDefaultTypeInternal _CSVCMsg_Print_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_Sounds_sounddata_t::CSVCMsg_Sounds_sounddata_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_x_)*/0 - , /*decltype(_impl_.origin_y_)*/0 - , /*decltype(_impl_.origin_z_)*/0 - , /*decltype(_impl_.volume_)*/0u - , /*decltype(_impl_.delay_value_)*/0 - , /*decltype(_impl_.sequence_number_)*/0 - , /*decltype(_impl_.channel_)*/0 - , /*decltype(_impl_.pitch_)*/0 - , /*decltype(_impl_.flags_)*/0 - , /*decltype(_impl_.sound_num_)*/0u - , /*decltype(_impl_.sound_num_handle_)*/0u - , /*decltype(_impl_.speaker_entity_)*/0 - , /*decltype(_impl_.random_seed_)*/0 - , /*decltype(_impl_.sound_level_)*/0 - , /*decltype(_impl_.is_sentence_)*/false - , /*decltype(_impl_.is_ambient_)*/false - , /*decltype(_impl_.guid_)*/0u - , /*decltype(_impl_.sound_resource_id_)*/uint64_t{0u} - , /*decltype(_impl_.entity_index_)*/-1} {} -struct CSVCMsg_Sounds_sounddata_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_Sounds_sounddata_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_Sounds_sounddata_tDefaultTypeInternal() {} - union { - CSVCMsg_Sounds_sounddata_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_Sounds_sounddata_tDefaultTypeInternal _CSVCMsg_Sounds_sounddata_t_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_Sounds::CSVCMsg_Sounds( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.sounds_)*/{} - , /*decltype(_impl_.reliable_sound_)*/false} {} -struct CSVCMsg_SoundsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_SoundsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_SoundsDefaultTypeInternal() {} - union { - CSVCMsg_Sounds _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_SoundsDefaultTypeInternal _CSVCMsg_Sounds_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_Prefetch::CSVCMsg_Prefetch( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.sound_index_)*/0 - , /*decltype(_impl_.resource_type_)*/0} {} -struct CSVCMsg_PrefetchDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_PrefetchDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_PrefetchDefaultTypeInternal() {} - union { - CSVCMsg_Prefetch _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_PrefetchDefaultTypeInternal _CSVCMsg_Prefetch_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_SetView::CSVCMsg_SetView( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.entity_index_)*/-1 - , /*decltype(_impl_.slot_)*/-1} {} -struct CSVCMsg_SetViewDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_SetViewDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_SetViewDefaultTypeInternal() {} - union { - CSVCMsg_SetView _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_SetViewDefaultTypeInternal _CSVCMsg_SetView_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_FixAngle::CSVCMsg_FixAngle( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.angle_)*/nullptr - , /*decltype(_impl_.relative_)*/false} {} -struct CSVCMsg_FixAngleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_FixAngleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_FixAngleDefaultTypeInternal() {} - union { - CSVCMsg_FixAngle _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_FixAngleDefaultTypeInternal _CSVCMsg_FixAngle_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_CrosshairAngle::CSVCMsg_CrosshairAngle( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.angle_)*/nullptr} {} -struct CSVCMsg_CrosshairAngleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_CrosshairAngleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_CrosshairAngleDefaultTypeInternal() {} - union { - CSVCMsg_CrosshairAngle _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_CrosshairAngleDefaultTypeInternal _CSVCMsg_CrosshairAngle_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_BSPDecal::CSVCMsg_BSPDecal( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.pos_)*/nullptr - , /*decltype(_impl_.decal_texture_index_)*/0 - , /*decltype(_impl_.model_index_)*/0 - , /*decltype(_impl_.low_priority_)*/false - , /*decltype(_impl_.entity_index_)*/-1} {} -struct CSVCMsg_BSPDecalDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_BSPDecalDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_BSPDecalDefaultTypeInternal() {} - union { - CSVCMsg_BSPDecal _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_BSPDecalDefaultTypeInternal _CSVCMsg_BSPDecal_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_SplitScreen::CSVCMsg_SplitScreen( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.type_)*/0 - , /*decltype(_impl_.slot_)*/0 - , /*decltype(_impl_.player_index_)*/-1} {} -struct CSVCMsg_SplitScreenDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_SplitScreenDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_SplitScreenDefaultTypeInternal() {} - union { - CSVCMsg_SplitScreen _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_SplitScreenDefaultTypeInternal _CSVCMsg_SplitScreen_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_GetCvarValue::CSVCMsg_GetCvarValue( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.cvar_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.cookie_)*/0} {} -struct CSVCMsg_GetCvarValueDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_GetCvarValueDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_GetCvarValueDefaultTypeInternal() {} - union { - CSVCMsg_GetCvarValue _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_GetCvarValueDefaultTypeInternal _CSVCMsg_GetCvarValue_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_Menu::CSVCMsg_Menu( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.menu_key_values_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.dialog_type_)*/0} {} -struct CSVCMsg_MenuDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_MenuDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_MenuDefaultTypeInternal() {} - union { - CSVCMsg_Menu _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_MenuDefaultTypeInternal _CSVCMsg_Menu_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_UserMessage::CSVCMsg_UserMessage( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.msg_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.msg_type_)*/0 - , /*decltype(_impl_.passthrough_)*/0} {} -struct CSVCMsg_UserMessageDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_UserMessageDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_UserMessageDefaultTypeInternal() {} - union { - CSVCMsg_UserMessage _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_UserMessageDefaultTypeInternal _CSVCMsg_UserMessage_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_SendTable_sendprop_t::CSVCMsg_SendTable_sendprop_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.var_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.dt_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.type_)*/0 - , /*decltype(_impl_.flags_)*/0 - , /*decltype(_impl_.priority_)*/0 - , /*decltype(_impl_.num_elements_)*/0 - , /*decltype(_impl_.low_value_)*/0 - , /*decltype(_impl_.high_value_)*/0 - , /*decltype(_impl_.num_bits_)*/0} {} -struct CSVCMsg_SendTable_sendprop_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_SendTable_sendprop_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_SendTable_sendprop_tDefaultTypeInternal() {} - union { - CSVCMsg_SendTable_sendprop_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_SendTable_sendprop_tDefaultTypeInternal _CSVCMsg_SendTable_sendprop_t_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_SendTable::CSVCMsg_SendTable( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.props_)*/{} - , /*decltype(_impl_.net_table_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.is_end_)*/false - , /*decltype(_impl_.needs_decoder_)*/false} {} -struct CSVCMsg_SendTableDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_SendTableDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_SendTableDefaultTypeInternal() {} - union { - CSVCMsg_SendTable _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_SendTableDefaultTypeInternal _CSVCMsg_SendTable_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_GameEventList_key_t::CSVCMsg_GameEventList_key_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.type_)*/0} {} -struct CSVCMsg_GameEventList_key_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_GameEventList_key_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_GameEventList_key_tDefaultTypeInternal() {} - union { - CSVCMsg_GameEventList_key_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_GameEventList_key_tDefaultTypeInternal _CSVCMsg_GameEventList_key_t_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_GameEventList_descriptor_t::CSVCMsg_GameEventList_descriptor_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.keys_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.eventid_)*/0} {} -struct CSVCMsg_GameEventList_descriptor_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_GameEventList_descriptor_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_GameEventList_descriptor_tDefaultTypeInternal() {} - union { - CSVCMsg_GameEventList_descriptor_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_GameEventList_descriptor_tDefaultTypeInternal _CSVCMsg_GameEventList_descriptor_t_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_GameEventList::CSVCMsg_GameEventList( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.descriptors_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CSVCMsg_GameEventListDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_GameEventListDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_GameEventListDefaultTypeInternal() {} - union { - CSVCMsg_GameEventList _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_GameEventListDefaultTypeInternal _CSVCMsg_GameEventList_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities_alternate_baseline_t::CSVCMsg_PacketEntities_alternate_baseline_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.entity_index_)*/0 - , /*decltype(_impl_.baseline_index_)*/0} {} -struct CSVCMsg_PacketEntities_alternate_baseline_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities_alternate_baseline_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_PacketEntities_alternate_baseline_tDefaultTypeInternal() {} - union { - CSVCMsg_PacketEntities_alternate_baseline_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_PacketEntities_alternate_baseline_tDefaultTypeInternal _CSVCMsg_PacketEntities_alternate_baseline_t_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities_non_transmitted_entities_t::CSVCMsg_PacketEntities_non_transmitted_entities_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.header_count_)*/0} {} -struct CSVCMsg_PacketEntities_non_transmitted_entities_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities_non_transmitted_entities_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_PacketEntities_non_transmitted_entities_tDefaultTypeInternal() {} - union { - CSVCMsg_PacketEntities_non_transmitted_entities_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_PacketEntities_non_transmitted_entities_tDefaultTypeInternal _CSVCMsg_PacketEntities_non_transmitted_entities_t_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities_outofpvs_entity_updates_t::CSVCMsg_PacketEntities_outofpvs_entity_updates_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.count_)*/0} {} -struct CSVCMsg_PacketEntities_outofpvs_entity_updates_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities_outofpvs_entity_updates_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_PacketEntities_outofpvs_entity_updates_tDefaultTypeInternal() {} - union { - CSVCMsg_PacketEntities_outofpvs_entity_updates_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_PacketEntities_outofpvs_entity_updates_tDefaultTypeInternal _CSVCMsg_PacketEntities_outofpvs_entity_updates_t_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities::CSVCMsg_PacketEntities( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.alternate_baselines_)*/{} - , /*decltype(_impl_.cmd_recv_status_)*/{} - , /*decltype(_impl_._cmd_recv_status_cached_byte_size_)*/{0} - , /*decltype(_impl_.entity_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.serialized_entities_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.dev_padding_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.non_transmitted_entities_)*/nullptr - , /*decltype(_impl_.outofpvs_entity_updates_)*/nullptr - , /*decltype(_impl_.max_entries_)*/0 - , /*decltype(_impl_.updated_entries_)*/0 - , /*decltype(_impl_.baseline_)*/0 - , /*decltype(_impl_.legacy_is_delta_)*/false - , /*decltype(_impl_.update_baseline_)*/false - , /*decltype(_impl_.pending_full_frame_)*/false - , /*decltype(_impl_.delta_from_)*/0 - , /*decltype(_impl_.active_spawngroup_handle_)*/0u - , /*decltype(_impl_.max_spawngroup_creationsequence_)*/0u - , /*decltype(_impl_.last_cmd_number_executed_)*/0u - , /*decltype(_impl_.server_tick_)*/0u - , /*decltype(_impl_.has_pvs_vis_bits_deprecated_)*/0u - , /*decltype(_impl_.last_cmd_number_recv_delta_)*/0 - , /*decltype(_impl_.cq_starved_command_ticks_)*/0u - , /*decltype(_impl_.cq_discarded_command_ticks_)*/0u} {} -struct CSVCMsg_PacketEntitiesDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_PacketEntitiesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_PacketEntitiesDefaultTypeInternal() {} - union { - CSVCMsg_PacketEntities _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_PacketEntitiesDefaultTypeInternal _CSVCMsg_PacketEntities_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_TempEntities::CSVCMsg_TempEntities( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.entity_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.reliable_)*/false - , /*decltype(_impl_.num_entries_)*/0} {} -struct CSVCMsg_TempEntitiesDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_TempEntitiesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_TempEntitiesDefaultTypeInternal() {} - union { - CSVCMsg_TempEntities _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_TempEntitiesDefaultTypeInternal _CSVCMsg_TempEntities_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_CreateStringTable::CSVCMsg_CreateStringTable( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.string_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.num_entries_)*/0 - , /*decltype(_impl_.user_data_size_)*/0 - , /*decltype(_impl_.user_data_size_bits_)*/0 - , /*decltype(_impl_.flags_)*/0 - , /*decltype(_impl_.user_data_fixed_size_)*/false - , /*decltype(_impl_.data_compressed_)*/false - , /*decltype(_impl_.using_varint_bitcounts_)*/false - , /*decltype(_impl_.uncompressed_size_)*/0} {} -struct CSVCMsg_CreateStringTableDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_CreateStringTableDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_CreateStringTableDefaultTypeInternal() {} - union { - CSVCMsg_CreateStringTable _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_CreateStringTableDefaultTypeInternal _CSVCMsg_CreateStringTable_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_UpdateStringTable::CSVCMsg_UpdateStringTable( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.string_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.table_id_)*/0 - , /*decltype(_impl_.num_changed_entries_)*/0} {} -struct CSVCMsg_UpdateStringTableDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_UpdateStringTableDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_UpdateStringTableDefaultTypeInternal() {} - union { - CSVCMsg_UpdateStringTable _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_UpdateStringTableDefaultTypeInternal _CSVCMsg_UpdateStringTable_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_VoiceData::CSVCMsg_VoiceData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.audio_)*/nullptr - , /*decltype(_impl_.xuid_)*/uint64_t{0u} - , /*decltype(_impl_.proximity_)*/false - , /*decltype(_impl_.audible_mask_)*/0 - , /*decltype(_impl_.tick_)*/0u - , /*decltype(_impl_.passthrough_)*/0 - , /*decltype(_impl_.client_)*/-1} {} -struct CSVCMsg_VoiceDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_VoiceDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_VoiceDataDefaultTypeInternal() {} - union { - CSVCMsg_VoiceData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_VoiceDataDefaultTypeInternal _CSVCMsg_VoiceData_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_PacketReliable::CSVCMsg_PacketReliable( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.tick_)*/0 - , /*decltype(_impl_.messagessize_)*/0 - , /*decltype(_impl_.state_)*/false} {} -struct CSVCMsg_PacketReliableDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_PacketReliableDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_PacketReliableDefaultTypeInternal() {} - union { - CSVCMsg_PacketReliable _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_PacketReliableDefaultTypeInternal _CSVCMsg_PacketReliable_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_FullFrameSplit::CSVCMsg_FullFrameSplit( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.tick_)*/0 - , /*decltype(_impl_.section_)*/0 - , /*decltype(_impl_.total_)*/0} {} -struct CSVCMsg_FullFrameSplitDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_FullFrameSplitDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_FullFrameSplitDefaultTypeInternal() {} - union { - CSVCMsg_FullFrameSplit _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_FullFrameSplitDefaultTypeInternal _CSVCMsg_FullFrameSplit_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_HLTVStatus::CSVCMsg_HLTVStatus( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.master_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.clients_)*/0 - , /*decltype(_impl_.slots_)*/0 - , /*decltype(_impl_.proxies_)*/0} {} -struct CSVCMsg_HLTVStatusDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_HLTVStatusDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_HLTVStatusDefaultTypeInternal() {} - union { - CSVCMsg_HLTVStatus _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_HLTVStatusDefaultTypeInternal _CSVCMsg_HLTVStatus_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_ServerSteamID::CSVCMsg_ServerSteamID( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.steam_id_)*/uint64_t{0u}} {} -struct CSVCMsg_ServerSteamIDDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_ServerSteamIDDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_ServerSteamIDDefaultTypeInternal() {} - union { - CSVCMsg_ServerSteamID _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_ServerSteamIDDefaultTypeInternal _CSVCMsg_ServerSteamID_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_CmdKeyValues::CSVCMsg_CmdKeyValues( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CSVCMsg_CmdKeyValuesDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_CmdKeyValuesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_CmdKeyValuesDefaultTypeInternal() {} - union { - CSVCMsg_CmdKeyValues _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_CmdKeyValuesDefaultTypeInternal _CSVCMsg_CmdKeyValues_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_RconServerDetails::CSVCMsg_RconServerDetails( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.details_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CSVCMsg_RconServerDetailsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_RconServerDetailsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_RconServerDetailsDefaultTypeInternal() {} - union { - CSVCMsg_RconServerDetails _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_RconServerDetailsDefaultTypeInternal _CSVCMsg_RconServerDetails_default_instance_; -PROTOBUF_CONSTEXPR CMsgIPCAddress::CMsgIPCAddress( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.computer_guid_)*/uint64_t{0u} - , /*decltype(_impl_.process_id_)*/0u} {} -struct CMsgIPCAddressDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgIPCAddressDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgIPCAddressDefaultTypeInternal() {} - union { - CMsgIPCAddress _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgIPCAddressDefaultTypeInternal _CMsgIPCAddress_default_instance_; -PROTOBUF_CONSTEXPR CMsgServerPeer::CMsgServerPeer( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ipc_)*/nullptr - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.they_hear_you_)*/false - , /*decltype(_impl_.you_hear_them_)*/false - , /*decltype(_impl_.is_listenserver_host_)*/false - , /*decltype(_impl_.player_slot_)*/-1} {} -struct CMsgServerPeerDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgServerPeerDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgServerPeerDefaultTypeInternal() {} - union { - CMsgServerPeer _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgServerPeerDefaultTypeInternal _CMsgServerPeer_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_PeerList::CSVCMsg_PeerList( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.peer_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CSVCMsg_PeerListDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_PeerListDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_PeerListDefaultTypeInternal() {} - union { - CSVCMsg_PeerList _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_PeerListDefaultTypeInternal _CSVCMsg_PeerList_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_ClearAllStringTables::CSVCMsg_ClearAllStringTables( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.mapname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.create_tables_skipped_)*/false} {} -struct CSVCMsg_ClearAllStringTablesDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_ClearAllStringTablesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_ClearAllStringTablesDefaultTypeInternal() {} - union { - CSVCMsg_ClearAllStringTables _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_ClearAllStringTablesDefaultTypeInternal _CSVCMsg_ClearAllStringTables_default_instance_; -PROTOBUF_CONSTEXPR ProtoFlattenedSerializerField_t_polymorphic_field_t::ProtoFlattenedSerializerField_t_polymorphic_field_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.polymorphic_field_serializer_name_sym_)*/0 - , /*decltype(_impl_.polymorphic_field_serializer_version_)*/0} {} -struct ProtoFlattenedSerializerField_t_polymorphic_field_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR ProtoFlattenedSerializerField_t_polymorphic_field_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ProtoFlattenedSerializerField_t_polymorphic_field_tDefaultTypeInternal() {} - union { - ProtoFlattenedSerializerField_t_polymorphic_field_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProtoFlattenedSerializerField_t_polymorphic_field_tDefaultTypeInternal _ProtoFlattenedSerializerField_t_polymorphic_field_t_default_instance_; -PROTOBUF_CONSTEXPR ProtoFlattenedSerializerField_t::ProtoFlattenedSerializerField_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.polymorphic_types_)*/{} - , /*decltype(_impl_.var_type_sym_)*/0 - , /*decltype(_impl_.var_name_sym_)*/0 - , /*decltype(_impl_.bit_count_)*/0 - , /*decltype(_impl_.low_value_)*/0 - , /*decltype(_impl_.high_value_)*/0 - , /*decltype(_impl_.encode_flags_)*/0 - , /*decltype(_impl_.field_serializer_name_sym_)*/0 - , /*decltype(_impl_.field_serializer_version_)*/0 - , /*decltype(_impl_.send_node_sym_)*/0 - , /*decltype(_impl_.var_encoder_sym_)*/0 - , /*decltype(_impl_.var_serializer_sym_)*/0} {} -struct ProtoFlattenedSerializerField_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR ProtoFlattenedSerializerField_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ProtoFlattenedSerializerField_tDefaultTypeInternal() {} - union { - ProtoFlattenedSerializerField_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProtoFlattenedSerializerField_tDefaultTypeInternal _ProtoFlattenedSerializerField_t_default_instance_; -PROTOBUF_CONSTEXPR ProtoFlattenedSerializer_t::ProtoFlattenedSerializer_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.fields_index_)*/{} - , /*decltype(_impl_.serializer_name_sym_)*/0 - , /*decltype(_impl_.serializer_version_)*/0} {} -struct ProtoFlattenedSerializer_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR ProtoFlattenedSerializer_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~ProtoFlattenedSerializer_tDefaultTypeInternal() {} - union { - ProtoFlattenedSerializer_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProtoFlattenedSerializer_tDefaultTypeInternal _ProtoFlattenedSerializer_t_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_FlattenedSerializer::CSVCMsg_FlattenedSerializer( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.serializers_)*/{} - , /*decltype(_impl_.symbols_)*/{} - , /*decltype(_impl_.fields_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CSVCMsg_FlattenedSerializerDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_FlattenedSerializerDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_FlattenedSerializerDefaultTypeInternal() {} - union { - CSVCMsg_FlattenedSerializer _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_FlattenedSerializerDefaultTypeInternal _CSVCMsg_FlattenedSerializer_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_StopSound::CSVCMsg_StopSound( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.guid_)*/0u} {} -struct CSVCMsg_StopSoundDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_StopSoundDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_StopSoundDefaultTypeInternal() {} - union { - CSVCMsg_StopSound _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_StopSoundDefaultTypeInternal _CSVCMsg_StopSound_default_instance_; -PROTOBUF_CONSTEXPR CBidirMsg_RebroadcastGameEvent::CBidirMsg_RebroadcastGameEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.posttoserver_)*/false - , /*decltype(_impl_.buftype_)*/0 - , /*decltype(_impl_.receivingclients_)*/uint64_t{0u} - , /*decltype(_impl_.clientbitcount_)*/0u} {} -struct CBidirMsg_RebroadcastGameEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CBidirMsg_RebroadcastGameEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CBidirMsg_RebroadcastGameEventDefaultTypeInternal() {} - union { - CBidirMsg_RebroadcastGameEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CBidirMsg_RebroadcastGameEventDefaultTypeInternal _CBidirMsg_RebroadcastGameEvent_default_instance_; -PROTOBUF_CONSTEXPR CBidirMsg_RebroadcastSource::CBidirMsg_RebroadcastSource( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.eventsource_)*/0} {} -struct CBidirMsg_RebroadcastSourceDefaultTypeInternal { - PROTOBUF_CONSTEXPR CBidirMsg_RebroadcastSourceDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CBidirMsg_RebroadcastSourceDefaultTypeInternal() {} - union { - CBidirMsg_RebroadcastSource _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CBidirMsg_RebroadcastSourceDefaultTypeInternal _CBidirMsg_RebroadcastSource_default_instance_; -PROTOBUF_CONSTEXPR CBidirMsg_PredictionEvent::CBidirMsg_PredictionEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.event_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.event_id_)*/0u - , /*decltype(_impl_.sync_type_)*/0u - , /*decltype(_impl_.sync_val_uint32_)*/0u} {} -struct CBidirMsg_PredictionEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CBidirMsg_PredictionEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CBidirMsg_PredictionEventDefaultTypeInternal() {} - union { - CBidirMsg_PredictionEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CBidirMsg_PredictionEventDefaultTypeInternal _CBidirMsg_PredictionEvent_default_instance_; -PROTOBUF_CONSTEXPR CMsgServerNetworkStats_Port::CMsgServerNetworkStats_Port( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.port_)*/0} {} -struct CMsgServerNetworkStats_PortDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgServerNetworkStats_PortDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgServerNetworkStats_PortDefaultTypeInternal() {} - union { - CMsgServerNetworkStats_Port _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgServerNetworkStats_PortDefaultTypeInternal _CMsgServerNetworkStats_Port_default_instance_; -PROTOBUF_CONSTEXPR CMsgServerNetworkStats_Player::CMsgServerNetworkStats_Player( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.remote_addr_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.ping_avg_ms_)*/0 - , /*decltype(_impl_.packet_loss_pct_)*/0 - , /*decltype(_impl_.is_bot_)*/false - , /*decltype(_impl_.loss_in_)*/0 - , /*decltype(_impl_.loss_out_)*/0 - , /*decltype(_impl_.engine_latency_ms_)*/0} {} -struct CMsgServerNetworkStats_PlayerDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgServerNetworkStats_PlayerDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgServerNetworkStats_PlayerDefaultTypeInternal() {} - union { - CMsgServerNetworkStats_Player _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgServerNetworkStats_PlayerDefaultTypeInternal _CMsgServerNetworkStats_Player_default_instance_; -PROTOBUF_CONSTEXPR CMsgServerNetworkStats::CMsgServerNetworkStats( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ports_)*/{} - , /*decltype(_impl_.players_)*/{} - , /*decltype(_impl_.dedicated_)*/false - , /*decltype(_impl_.cpu_usage_)*/0 - , /*decltype(_impl_.memory_used_mb_)*/0 - , /*decltype(_impl_.memory_free_mb_)*/0 - , /*decltype(_impl_.uptime_)*/0 - , /*decltype(_impl_.spawn_count_)*/0 - , /*decltype(_impl_.num_clients_)*/0 - , /*decltype(_impl_.num_bots_)*/0 - , /*decltype(_impl_.num_spectators_)*/0 - , /*decltype(_impl_.num_tv_relays_)*/0 - , /*decltype(_impl_.fps_)*/0 - , /*decltype(_impl_.avg_ping_ms_)*/0 - , /*decltype(_impl_.avg_engine_latency_out_)*/0 - , /*decltype(_impl_.avg_packets_out_)*/0 - , /*decltype(_impl_.avg_packets_in_)*/0 - , /*decltype(_impl_.avg_loss_out_)*/0 - , /*decltype(_impl_.avg_loss_in_)*/0 - , /*decltype(_impl_.avg_data_out_)*/0 - , /*decltype(_impl_.total_data_in_)*/uint64_t{0u} - , /*decltype(_impl_.total_packets_in_)*/uint64_t{0u} - , /*decltype(_impl_.total_data_out_)*/uint64_t{0u} - , /*decltype(_impl_.total_packets_out_)*/uint64_t{0u} - , /*decltype(_impl_.avg_data_in_)*/0} {} -struct CMsgServerNetworkStatsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgServerNetworkStatsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgServerNetworkStatsDefaultTypeInternal() {} - union { - CMsgServerNetworkStats _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgServerNetworkStatsDefaultTypeInternal _CMsgServerNetworkStats_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_HltvReplay::CSVCMsg_HltvReplay( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.delay_)*/0 - , /*decltype(_impl_.replay_stop_at_)*/0 - , /*decltype(_impl_.replay_start_at_)*/0 - , /*decltype(_impl_.replay_slowdown_begin_)*/0 - , /*decltype(_impl_.replay_slowdown_end_)*/0 - , /*decltype(_impl_.replay_slowdown_rate_)*/0 - , /*decltype(_impl_.reason_)*/0 - , /*decltype(_impl_.primary_target_)*/-1} {} -struct CSVCMsg_HltvReplayDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_HltvReplayDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_HltvReplayDefaultTypeInternal() {} - union { - CSVCMsg_HltvReplay _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_HltvReplayDefaultTypeInternal _CSVCMsg_HltvReplay_default_instance_; -PROTOBUF_CONSTEXPR CCLCMsg_HltvReplay::CCLCMsg_HltvReplay( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.request_)*/0 - , /*decltype(_impl_.slowdown_length_)*/0 - , /*decltype(_impl_.slowdown_rate_)*/0 - , /*decltype(_impl_.event_time_)*/0 - , /*decltype(_impl_.primary_target_)*/-1} {} -struct CCLCMsg_HltvReplayDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCLCMsg_HltvReplayDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCLCMsg_HltvReplayDefaultTypeInternal() {} - union { - CCLCMsg_HltvReplay _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_HltvReplayDefaultTypeInternal _CCLCMsg_HltvReplay_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_Broadcast_Command::CSVCMsg_Broadcast_Command( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.cmd_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CSVCMsg_Broadcast_CommandDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_Broadcast_CommandDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_Broadcast_CommandDefaultTypeInternal() {} - union { - CSVCMsg_Broadcast_Command _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_Broadcast_CommandDefaultTypeInternal _CSVCMsg_Broadcast_Command_default_instance_; -PROTOBUF_CONSTEXPR CCLCMsg_HltvFixupOperatorTick::CCLCMsg_HltvFixupOperatorTick( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.props_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.eye_angles_)*/nullptr - , /*decltype(_impl_.view_offset_)*/nullptr - , /*decltype(_impl_.tick_)*/0 - , /*decltype(_impl_.observer_mode_)*/0 - , /*decltype(_impl_.cameraman_scoreboard_)*/false - , /*decltype(_impl_.observer_target_)*/0} {} -struct CCLCMsg_HltvFixupOperatorTickDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCLCMsg_HltvFixupOperatorTickDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCLCMsg_HltvFixupOperatorTickDefaultTypeInternal() {} - union { - CCLCMsg_HltvFixupOperatorTick _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCLCMsg_HltvFixupOperatorTickDefaultTypeInternal _CCLCMsg_HltvFixupOperatorTick_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_HltvFixupOperatorStatus::CSVCMsg_HltvFixupOperatorStatus( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.override_operator_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.mode_)*/0u} {} -struct CSVCMsg_HltvFixupOperatorStatusDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_HltvFixupOperatorStatusDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_HltvFixupOperatorStatusDefaultTypeInternal() {} - union { - CSVCMsg_HltvFixupOperatorStatus _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_HltvFixupOperatorStatusDefaultTypeInternal _CSVCMsg_HltvFixupOperatorStatus_default_instance_; -PROTOBUF_CONSTEXPR CMsgServerUserCmd::CMsgServerUserCmd( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.cmd_number_)*/0 - , /*decltype(_impl_.server_tick_executed_)*/0 - , /*decltype(_impl_.client_tick_)*/0 - , /*decltype(_impl_.player_slot_)*/-1} {} -struct CMsgServerUserCmdDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgServerUserCmdDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgServerUserCmdDefaultTypeInternal() {} - union { - CMsgServerUserCmd _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgServerUserCmdDefaultTypeInternal _CMsgServerUserCmd_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_UserCommands::CSVCMsg_UserCommands( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.commands_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CSVCMsg_UserCommandsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_UserCommandsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_UserCommandsDefaultTypeInternal() {} - union { - CSVCMsg_UserCommands _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_UserCommandsDefaultTypeInternal _CSVCMsg_UserCommands_default_instance_; -static ::_pb::Metadata file_level_metadata_netmessages_2eproto[81]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_netmessages_2eproto[13]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_netmessages_2eproto = nullptr; - -const uint32_t TableStruct_netmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CCLCMsg_ClientInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_ClientInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCLCMsg_ClientInfo, _impl_.send_table_crc_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_ClientInfo, _impl_.server_count_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_ClientInfo, _impl_.is_hltv_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_ClientInfo, _impl_.friends_id_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_ClientInfo, _impl_.friends_name_), - 1, - 2, - 3, - 4, - 0, - PROTOBUF_FIELD_OFFSET(::CCLCMsg_Move, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_Move, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCLCMsg_Move, _impl_.data_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_Move, _impl_.last_command_number_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_.format_), - PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_.voice_data_), - PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_.sequence_bytes_), - PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_.section_number_), - PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_.sample_rate_), - PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_.uncompressed_sample_offset_), - PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_.num_packets_), - PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_.packet_offsets_), - PROTOBUF_FIELD_OFFSET(::CMsgVoiceAudio, _impl_.voice_level_), - 1, - 0, - 2, - 3, - 4, - 5, - 6, - ~0u, - 7, - PROTOBUF_FIELD_OFFSET(::CCLCMsg_VoiceData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_VoiceData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCLCMsg_VoiceData, _impl_.audio_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_VoiceData, _impl_.xuid_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_VoiceData, _impl_.tick_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CCLCMsg_BaselineAck, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_BaselineAck, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCLCMsg_BaselineAck, _impl_.baseline_tick_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_BaselineAck, _impl_.baseline_nr_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CCLCMsg_ListenEvents, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCLCMsg_ListenEvents, _impl_.event_mask_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_RespondCvarValue, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_RespondCvarValue, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCLCMsg_RespondCvarValue, _impl_.cookie_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_RespondCvarValue, _impl_.status_code_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_RespondCvarValue, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_RespondCvarValue, _impl_.value_), - 2, - 3, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CCLCMsg_LoadingProgress, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_LoadingProgress, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCLCMsg_LoadingProgress, _impl_.progress_), - 0, - PROTOBUF_FIELD_OFFSET(::CCLCMsg_SplitPlayerConnect, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_SplitPlayerConnect, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCLCMsg_SplitPlayerConnect, _impl_.playername_), - 0, - PROTOBUF_FIELD_OFFSET(::CCLCMsg_SplitPlayerDisconnect, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_SplitPlayerDisconnect, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCLCMsg_SplitPlayerDisconnect, _impl_.slot_), - 0, - PROTOBUF_FIELD_OFFSET(::CCLCMsg_ServerStatus, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_ServerStatus, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCLCMsg_ServerStatus, _impl_.simplified_), - 0, - PROTOBUF_FIELD_OFFSET(::CCLCMsg_RequestPause, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_RequestPause, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCLCMsg_RequestPause, _impl_.pause_type_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_RequestPause, _impl_.pause_group_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CCLCMsg_CmdKeyValues, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_CmdKeyValues, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCLCMsg_CmdKeyValues, _impl_.data_), - 0, - PROTOBUF_FIELD_OFFSET(::CCLCMsg_RconServerDetails, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_RconServerDetails, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCLCMsg_RconServerDetails, _impl_.token_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.cpu_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.cpu_brand_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.cpu_model_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.cpu_num_physical_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.ram_physical_total_mb_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_rendersystem_dll_name_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_vendor_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_driver_name_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_driver_version_high_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_driver_version_low_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_dx_support_level_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.gpu_texture_memory_size_mb_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.backbuffer_width_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2SystemSpecs, _impl_.backbuffer_height_), - 0, - 1, - 4, - 5, - 6, - 2, - 7, - 3, - 8, - 9, - 10, - 11, - 12, - 13, - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.active_samples_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.active_samples_1secmax_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_max_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_avg_active_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_p50_active_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_p99_active_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_avg_all_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_p50_all_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_p99_all_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_avg_active_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p50_active_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p95_active_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p99_active_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_avg_all_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p50_all_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p95_all_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p99_all_), - 0, - 1, - 3, - 2, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _impl_.total_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _impl_.items_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2VProfLiteReport, _impl_.discarded_frames_), - 0, - ~0u, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.duration_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_total_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_total_reliable_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_total_voice_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_sec_p95_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.bytes_sec_p99_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.enginemsgs_total_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.enginemsgs_sec_p95_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.enginemsgs_sec_p99_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_total_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_good_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_good_almost_late_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_fixed_dropped_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_fixed_late_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_bad_dropped_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_bad_late_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.ticks_bad_other_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missrate_samples_total_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missrate_samples_perfect_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missrate_samples_perfectnet_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missratenet_p75_x10_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missratenet_p95_x10_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.tick_missratenet_p99_x10_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p1_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p5_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p25_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p50_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p75_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p95_), - 1, - 0, - 3, - 4, - 2, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample_Tag, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample_Tag, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample_Tag, _impl_.tag_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample_Tag, _impl_.max_value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_time_max_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_time_avg_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_time_min_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_count_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.frame_time_total_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSource2PerfIntervalSample, _impl_.tags_), - 0, - 1, - 2, - 3, - 4, - ~0u, - PROTOBUF_FIELD_OFFSET(::CCLCMsg_Diagnostic, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_Diagnostic, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCLCMsg_Diagnostic, _impl_.system_specs_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_Diagnostic, _impl_.vprof_report_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_Diagnostic, _impl_.downstream_flow_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_Diagnostic, _impl_.upstream_flow_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_Diagnostic, _impl_.perf_samples_), - 0, - 1, - 2, - 3, - ~0u, - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.system_specs_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.profile_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.build_id_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.downstream_flow_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.upstream_flow_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.steamid_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.perf_samples_), - 0, - 1, - 5, - 2, - 3, - 4, - ~0u, - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.game_mode_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_build_id_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_popid_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_profile_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.clients_), - PROTOBUF_FIELD_OFFSET(::CSource2Metrics_MatchPerfSummary_Notification, _impl_.map_), - 3, - 0, - 4, - 5, - 2, - ~0u, - 1, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.protocol_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.server_count_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.is_dedicated_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.is_hltv_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.c_os_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.max_clients_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.max_classes_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.player_slot_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.tick_interval_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.game_dir_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.map_name_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.sky_name_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.host_name_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.addon_name_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.game_session_config_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerInfo, _impl_.game_session_manifest_), - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 15, - 14, - 0, - 1, - 2, - 3, - 4, - 6, - 5, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClassInfo_class_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClassInfo_class_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClassInfo_class_t, _impl_.class_id_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClassInfo_class_t, _impl_.class_name_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClassInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClassInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClassInfo, _impl_.create_on_client_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClassInfo, _impl_.classes_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SetPause, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SetPause, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SetPause, _impl_.paused_), - 0, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceInit, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceInit, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceInit, _impl_.quality_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceInit, _impl_.codec_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceInit, _impl_.version_), - 1, - 0, - 2, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Print, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Print, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Print, _impl_.text_), - 0, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.origin_x_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.origin_y_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.origin_z_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.volume_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.delay_value_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.sequence_number_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.entity_index_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.channel_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.pitch_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.sound_num_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.sound_num_handle_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.speaker_entity_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.random_seed_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.sound_level_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.is_sentence_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.is_ambient_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.guid_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds_sounddata_t, _impl_.sound_resource_id_), - 0, - 1, - 2, - 3, - 4, - 5, - 18, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds, _impl_.reliable_sound_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Sounds, _impl_.sounds_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Prefetch, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Prefetch, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Prefetch, _impl_.sound_index_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Prefetch, _impl_.resource_type_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SetView, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SetView, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SetView, _impl_.entity_index_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SetView, _impl_.slot_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_FixAngle, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_FixAngle, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_FixAngle, _impl_.relative_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_FixAngle, _impl_.angle_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_CrosshairAngle, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_CrosshairAngle, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_CrosshairAngle, _impl_.angle_), - 0, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_BSPDecal, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_BSPDecal, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_BSPDecal, _impl_.pos_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_BSPDecal, _impl_.decal_texture_index_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_BSPDecal, _impl_.entity_index_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_BSPDecal, _impl_.model_index_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_BSPDecal, _impl_.low_priority_), - 0, - 1, - 4, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SplitScreen, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SplitScreen, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SplitScreen, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SplitScreen, _impl_.slot_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SplitScreen, _impl_.player_index_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GetCvarValue, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GetCvarValue, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GetCvarValue, _impl_.cookie_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GetCvarValue, _impl_.cvar_name_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Menu, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Menu, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Menu, _impl_.dialog_type_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Menu, _impl_.menu_key_values_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_UserMessage, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_UserMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_UserMessage, _impl_.msg_type_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_UserMessage, _impl_.msg_data_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_UserMessage, _impl_.passthrough_), - 1, - 0, - 2, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_.var_name_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_.priority_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_.dt_name_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_.num_elements_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_.low_value_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_.high_value_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable_sendprop_t, _impl_.num_bits_), - 2, - 0, - 3, - 4, - 1, - 5, - 6, - 7, - 8, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable, _impl_.is_end_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable, _impl_.net_table_name_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable, _impl_.needs_decoder_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_SendTable, _impl_.props_), - 1, - 0, - 2, - ~0u, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList_key_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList_key_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList_key_t, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList_key_t, _impl_.name_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList_descriptor_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList_descriptor_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList_descriptor_t, _impl_.eventid_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList_descriptor_t, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList_descriptor_t, _impl_.keys_), - 1, - 0, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEventList, _impl_.descriptors_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_alternate_baseline_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_alternate_baseline_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_alternate_baseline_t, _impl_.entity_index_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_alternate_baseline_t, _impl_.baseline_index_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_non_transmitted_entities_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_non_transmitted_entities_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_non_transmitted_entities_t, _impl_.header_count_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_non_transmitted_entities_t, _impl_.data_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_outofpvs_entity_updates_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_outofpvs_entity_updates_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_outofpvs_entity_updates_t, _impl_.count_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities_outofpvs_entity_updates_t, _impl_.data_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.max_entries_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.updated_entries_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.legacy_is_delta_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.update_baseline_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.baseline_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.delta_from_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.entity_data_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.pending_full_frame_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.active_spawngroup_handle_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.max_spawngroup_creationsequence_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.last_cmd_number_executed_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.last_cmd_number_recv_delta_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.server_tick_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.serialized_entities_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.alternate_baselines_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.has_pvs_vis_bits_deprecated_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.cmd_recv_status_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.non_transmitted_entities_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.cq_starved_command_ticks_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.cq_discarded_command_ticks_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.outofpvs_entity_updates_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketEntities, _impl_.dev_padding_), - 5, - 6, - 8, - 9, - 7, - 11, - 0, - 10, - 12, - 13, - 14, - 17, - 15, - 1, - ~0u, - 16, - ~0u, - 3, - 18, - 19, - 4, - 2, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_TempEntities, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_TempEntities, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_TempEntities, _impl_.reliable_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_TempEntities, _impl_.num_entries_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_TempEntities, _impl_.entity_data_), - 1, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.num_entries_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.user_data_fixed_size_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.user_data_size_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.user_data_size_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.string_data_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.uncompressed_size_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.data_compressed_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_CreateStringTable, _impl_.using_varint_bitcounts_), - 0, - 2, - 6, - 3, - 4, - 5, - 1, - 9, - 7, - 8, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_UpdateStringTable, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_UpdateStringTable, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_UpdateStringTable, _impl_.table_id_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_UpdateStringTable, _impl_.num_changed_entries_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_UpdateStringTable, _impl_.string_data_), - 1, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceData, _impl_.audio_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceData, _impl_.client_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceData, _impl_.proximity_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceData, _impl_.xuid_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceData, _impl_.audible_mask_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceData, _impl_.tick_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_VoiceData, _impl_.passthrough_), - 0, - 6, - 2, - 1, - 3, - 4, - 5, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketReliable, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketReliable, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketReliable, _impl_.tick_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketReliable, _impl_.messagessize_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PacketReliable, _impl_.state_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_FullFrameSplit, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_FullFrameSplit, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_FullFrameSplit, _impl_.tick_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_FullFrameSplit, _impl_.section_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_FullFrameSplit, _impl_.total_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_FullFrameSplit, _impl_.data_), - 1, - 2, - 3, - 0, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HLTVStatus, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HLTVStatus, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HLTVStatus, _impl_.master_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HLTVStatus, _impl_.clients_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HLTVStatus, _impl_.slots_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HLTVStatus, _impl_.proxies_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerSteamID, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerSteamID, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ServerSteamID, _impl_.steam_id_), - 0, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_CmdKeyValues, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_CmdKeyValues, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_CmdKeyValues, _impl_.data_), - 0, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_RconServerDetails, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_RconServerDetails, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_RconServerDetails, _impl_.token_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_RconServerDetails, _impl_.details_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgIPCAddress, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgIPCAddress, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgIPCAddress, _impl_.computer_guid_), - PROTOBUF_FIELD_OFFSET(::CMsgIPCAddress, _impl_.process_id_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgServerPeer, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgServerPeer, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgServerPeer, _impl_.player_slot_), - PROTOBUF_FIELD_OFFSET(::CMsgServerPeer, _impl_.steamid_), - PROTOBUF_FIELD_OFFSET(::CMsgServerPeer, _impl_.ipc_), - PROTOBUF_FIELD_OFFSET(::CMsgServerPeer, _impl_.they_hear_you_), - PROTOBUF_FIELD_OFFSET(::CMsgServerPeer, _impl_.you_hear_them_), - PROTOBUF_FIELD_OFFSET(::CMsgServerPeer, _impl_.is_listenserver_host_), - 5, - 1, - 0, - 2, - 3, - 4, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PeerList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_PeerList, _impl_.peer_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClearAllStringTables, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClearAllStringTables, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClearAllStringTables, _impl_.mapname_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_ClearAllStringTables, _impl_.create_tables_skipped_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t_polymorphic_field_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t_polymorphic_field_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t_polymorphic_field_t, _impl_.polymorphic_field_serializer_name_sym_), - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t_polymorphic_field_t, _impl_.polymorphic_field_serializer_version_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.var_type_sym_), - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.var_name_sym_), - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.bit_count_), - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.low_value_), - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.high_value_), - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.encode_flags_), - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.field_serializer_name_sym_), - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.field_serializer_version_), - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.send_node_sym_), - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.var_encoder_sym_), - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.polymorphic_types_), - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializerField_t, _impl_.var_serializer_sym_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - ~0u, - 10, - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializer_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializer_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializer_t, _impl_.serializer_name_sym_), - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializer_t, _impl_.serializer_version_), - PROTOBUF_FIELD_OFFSET(::ProtoFlattenedSerializer_t, _impl_.fields_index_), - 0, - 1, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_FlattenedSerializer, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_FlattenedSerializer, _impl_.serializers_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_FlattenedSerializer, _impl_.symbols_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_FlattenedSerializer, _impl_.fields_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_StopSound, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_StopSound, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_StopSound, _impl_.guid_), - 0, - PROTOBUF_FIELD_OFFSET(::CBidirMsg_RebroadcastGameEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CBidirMsg_RebroadcastGameEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CBidirMsg_RebroadcastGameEvent, _impl_.posttoserver_), - PROTOBUF_FIELD_OFFSET(::CBidirMsg_RebroadcastGameEvent, _impl_.buftype_), - PROTOBUF_FIELD_OFFSET(::CBidirMsg_RebroadcastGameEvent, _impl_.clientbitcount_), - PROTOBUF_FIELD_OFFSET(::CBidirMsg_RebroadcastGameEvent, _impl_.receivingclients_), - 0, - 1, - 3, - 2, - PROTOBUF_FIELD_OFFSET(::CBidirMsg_RebroadcastSource, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CBidirMsg_RebroadcastSource, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CBidirMsg_RebroadcastSource, _impl_.eventsource_), - 0, - PROTOBUF_FIELD_OFFSET(::CBidirMsg_PredictionEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CBidirMsg_PredictionEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CBidirMsg_PredictionEvent, _impl_.event_id_), - PROTOBUF_FIELD_OFFSET(::CBidirMsg_PredictionEvent, _impl_.event_data_), - PROTOBUF_FIELD_OFFSET(::CBidirMsg_PredictionEvent, _impl_.sync_type_), - PROTOBUF_FIELD_OFFSET(::CBidirMsg_PredictionEvent, _impl_.sync_val_uint32_), - 1, - 0, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Port, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Port, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Port, _impl_.port_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Port, _impl_.name_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _impl_.steamid_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _impl_.remote_addr_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _impl_.ping_avg_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _impl_.packet_loss_pct_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _impl_.is_bot_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _impl_.loss_in_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _impl_.loss_out_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats_Player, _impl_.engine_latency_ms_), - 1, - 0, - 2, - 3, - 4, - 5, - 6, - 7, - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.dedicated_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.cpu_usage_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.memory_used_mb_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.memory_free_mb_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.uptime_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.spawn_count_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.num_clients_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.num_bots_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.num_spectators_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.num_tv_relays_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.fps_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.ports_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.avg_ping_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.avg_engine_latency_out_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.avg_packets_out_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.avg_packets_in_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.avg_loss_out_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.avg_loss_in_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.avg_data_out_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.avg_data_in_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.total_data_in_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.total_packets_in_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.total_data_out_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.total_packets_out_), - PROTOBUF_FIELD_OFFSET(::CMsgServerNetworkStats, _impl_.players_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - ~0u, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 22, - 18, - 19, - 20, - 21, - ~0u, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _impl_.delay_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _impl_.primary_target_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _impl_.replay_stop_at_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _impl_.replay_start_at_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _impl_.replay_slowdown_begin_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _impl_.replay_slowdown_end_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _impl_.replay_slowdown_rate_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvReplay, _impl_.reason_), - 0, - 7, - 1, - 2, - 3, - 4, - 5, - 6, - PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvReplay, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvReplay, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvReplay, _impl_.request_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvReplay, _impl_.slowdown_length_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvReplay, _impl_.slowdown_rate_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvReplay, _impl_.primary_target_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvReplay, _impl_.event_time_), - 0, - 1, - 2, - 4, - 3, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Broadcast_Command, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Broadcast_Command, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_Broadcast_Command, _impl_.cmd_), - 0, - PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _impl_.tick_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _impl_.props_data_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _impl_.eye_angles_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _impl_.observer_mode_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _impl_.cameraman_scoreboard_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _impl_.observer_target_), - PROTOBUF_FIELD_OFFSET(::CCLCMsg_HltvFixupOperatorTick, _impl_.view_offset_), - 4, - 0, - 1, - 2, - 5, - 6, - 7, - 3, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvFixupOperatorStatus, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvFixupOperatorStatus, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvFixupOperatorStatus, _impl_.mode_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_HltvFixupOperatorStatus, _impl_.override_operator_name_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgServerUserCmd, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgServerUserCmd, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgServerUserCmd, _impl_.data_), - PROTOBUF_FIELD_OFFSET(::CMsgServerUserCmd, _impl_.cmd_number_), - PROTOBUF_FIELD_OFFSET(::CMsgServerUserCmd, _impl_.player_slot_), - PROTOBUF_FIELD_OFFSET(::CMsgServerUserCmd, _impl_.server_tick_executed_), - PROTOBUF_FIELD_OFFSET(::CMsgServerUserCmd, _impl_.client_tick_), - 0, - 1, - 4, - 2, - 3, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_UserCommands, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_UserCommands, _impl_.commands_), -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 11, -1, sizeof(::CCLCMsg_ClientInfo)}, - { 16, 24, -1, sizeof(::CCLCMsg_Move)}, - { 26, 41, -1, sizeof(::CMsgVoiceAudio)}, - { 50, 59, -1, sizeof(::CCLCMsg_VoiceData)}, - { 62, 70, -1, sizeof(::CCLCMsg_BaselineAck)}, - { 72, -1, -1, sizeof(::CCLCMsg_ListenEvents)}, - { 79, 89, -1, sizeof(::CCLCMsg_RespondCvarValue)}, - { 93, 100, -1, sizeof(::CCLCMsg_LoadingProgress)}, - { 101, 108, -1, sizeof(::CCLCMsg_SplitPlayerConnect)}, - { 109, 116, -1, sizeof(::CCLCMsg_SplitPlayerDisconnect)}, - { 117, 124, -1, sizeof(::CCLCMsg_ServerStatus)}, - { 125, 133, -1, sizeof(::CCLCMsg_RequestPause)}, - { 135, 142, -1, sizeof(::CCLCMsg_CmdKeyValues)}, - { 143, 150, -1, sizeof(::CCLCMsg_RconServerDetails)}, - { 151, 171, -1, sizeof(::CMsgSource2SystemSpecs)}, - { 185, 209, -1, sizeof(::CMsgSource2VProfLiteReportItem)}, - { 227, 236, -1, sizeof(::CMsgSource2VProfLiteReport)}, - { 239, 274, -1, sizeof(::CMsgSource2NetworkFlowQuality)}, - { 303, 311, -1, sizeof(::CMsgSource2PerfIntervalSample_Tag)}, - { 313, 325, -1, sizeof(::CMsgSource2PerfIntervalSample)}, - { 331, 342, -1, sizeof(::CCLCMsg_Diagnostic)}, - { 347, 360, -1, sizeof(::CSource2Metrics_MatchPerfSummary_Notification_Client)}, - { 367, 380, -1, sizeof(::CSource2Metrics_MatchPerfSummary_Notification)}, - { 387, 409, -1, sizeof(::CSVCMsg_ServerInfo)}, - { 425, 433, -1, sizeof(::CSVCMsg_ClassInfo_class_t)}, - { 435, 443, -1, sizeof(::CSVCMsg_ClassInfo)}, - { 445, 452, -1, sizeof(::CSVCMsg_SetPause)}, - { 453, 462, -1, sizeof(::CSVCMsg_VoiceInit)}, - { 465, 472, -1, sizeof(::CSVCMsg_Print)}, - { 473, 498, -1, sizeof(::CSVCMsg_Sounds_sounddata_t)}, - { 517, 525, -1, sizeof(::CSVCMsg_Sounds)}, - { 527, 535, -1, sizeof(::CSVCMsg_Prefetch)}, - { 537, 545, -1, sizeof(::CSVCMsg_SetView)}, - { 547, 555, -1, sizeof(::CSVCMsg_FixAngle)}, - { 557, 564, -1, sizeof(::CSVCMsg_CrosshairAngle)}, - { 565, 576, -1, sizeof(::CSVCMsg_BSPDecal)}, - { 581, 590, -1, sizeof(::CSVCMsg_SplitScreen)}, - { 593, 601, -1, sizeof(::CSVCMsg_GetCvarValue)}, - { 603, 611, -1, sizeof(::CSVCMsg_Menu)}, - { 613, 622, -1, sizeof(::CSVCMsg_UserMessage)}, - { 625, 640, -1, sizeof(::CSVCMsg_SendTable_sendprop_t)}, - { 649, 659, -1, sizeof(::CSVCMsg_SendTable)}, - { 663, 671, -1, sizeof(::CSVCMsg_GameEventList_key_t)}, - { 673, 682, -1, sizeof(::CSVCMsg_GameEventList_descriptor_t)}, - { 685, -1, -1, sizeof(::CSVCMsg_GameEventList)}, - { 692, 700, -1, sizeof(::CSVCMsg_PacketEntities_alternate_baseline_t)}, - { 702, 710, -1, sizeof(::CSVCMsg_PacketEntities_non_transmitted_entities_t)}, - { 712, 720, -1, sizeof(::CSVCMsg_PacketEntities_outofpvs_entity_updates_t)}, - { 722, 750, -1, sizeof(::CSVCMsg_PacketEntities)}, - { 772, 781, -1, sizeof(::CSVCMsg_TempEntities)}, - { 784, 800, -1, sizeof(::CSVCMsg_CreateStringTable)}, - { 810, 819, -1, sizeof(::CSVCMsg_UpdateStringTable)}, - { 822, 835, -1, sizeof(::CSVCMsg_VoiceData)}, - { 842, 851, -1, sizeof(::CSVCMsg_PacketReliable)}, - { 854, 864, -1, sizeof(::CSVCMsg_FullFrameSplit)}, - { 868, 878, -1, sizeof(::CSVCMsg_HLTVStatus)}, - { 882, 889, -1, sizeof(::CSVCMsg_ServerSteamID)}, - { 890, 897, -1, sizeof(::CSVCMsg_CmdKeyValues)}, - { 898, 906, -1, sizeof(::CSVCMsg_RconServerDetails)}, - { 908, 916, -1, sizeof(::CMsgIPCAddress)}, - { 918, 930, -1, sizeof(::CMsgServerPeer)}, - { 936, -1, -1, sizeof(::CSVCMsg_PeerList)}, - { 943, 951, -1, sizeof(::CSVCMsg_ClearAllStringTables)}, - { 953, 961, -1, sizeof(::ProtoFlattenedSerializerField_t_polymorphic_field_t)}, - { 963, 981, -1, sizeof(::ProtoFlattenedSerializerField_t)}, - { 993, 1002, -1, sizeof(::ProtoFlattenedSerializer_t)}, - { 1005, -1, -1, sizeof(::CSVCMsg_FlattenedSerializer)}, - { 1014, 1021, -1, sizeof(::CSVCMsg_StopSound)}, - { 1022, 1032, -1, sizeof(::CBidirMsg_RebroadcastGameEvent)}, - { 1036, 1043, -1, sizeof(::CBidirMsg_RebroadcastSource)}, - { 1044, 1054, -1, sizeof(::CBidirMsg_PredictionEvent)}, - { 1058, 1066, -1, sizeof(::CMsgServerNetworkStats_Port)}, - { 1068, 1082, -1, sizeof(::CMsgServerNetworkStats_Player)}, - { 1090, 1121, -1, sizeof(::CMsgServerNetworkStats)}, - { 1146, 1160, -1, sizeof(::CSVCMsg_HltvReplay)}, - { 1168, 1179, -1, sizeof(::CCLCMsg_HltvReplay)}, - { 1184, 1191, -1, sizeof(::CSVCMsg_Broadcast_Command)}, - { 1192, 1206, -1, sizeof(::CCLCMsg_HltvFixupOperatorTick)}, - { 1214, 1222, -1, sizeof(::CSVCMsg_HltvFixupOperatorStatus)}, - { 1224, 1235, -1, sizeof(::CMsgServerUserCmd)}, - { 1240, -1, -1, sizeof(::CSVCMsg_UserCommands)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CCLCMsg_ClientInfo_default_instance_._instance, - &::_CCLCMsg_Move_default_instance_._instance, - &::_CMsgVoiceAudio_default_instance_._instance, - &::_CCLCMsg_VoiceData_default_instance_._instance, - &::_CCLCMsg_BaselineAck_default_instance_._instance, - &::_CCLCMsg_ListenEvents_default_instance_._instance, - &::_CCLCMsg_RespondCvarValue_default_instance_._instance, - &::_CCLCMsg_LoadingProgress_default_instance_._instance, - &::_CCLCMsg_SplitPlayerConnect_default_instance_._instance, - &::_CCLCMsg_SplitPlayerDisconnect_default_instance_._instance, - &::_CCLCMsg_ServerStatus_default_instance_._instance, - &::_CCLCMsg_RequestPause_default_instance_._instance, - &::_CCLCMsg_CmdKeyValues_default_instance_._instance, - &::_CCLCMsg_RconServerDetails_default_instance_._instance, - &::_CMsgSource2SystemSpecs_default_instance_._instance, - &::_CMsgSource2VProfLiteReportItem_default_instance_._instance, - &::_CMsgSource2VProfLiteReport_default_instance_._instance, - &::_CMsgSource2NetworkFlowQuality_default_instance_._instance, - &::_CMsgSource2PerfIntervalSample_Tag_default_instance_._instance, - &::_CMsgSource2PerfIntervalSample_default_instance_._instance, - &::_CCLCMsg_Diagnostic_default_instance_._instance, - &::_CSource2Metrics_MatchPerfSummary_Notification_Client_default_instance_._instance, - &::_CSource2Metrics_MatchPerfSummary_Notification_default_instance_._instance, - &::_CSVCMsg_ServerInfo_default_instance_._instance, - &::_CSVCMsg_ClassInfo_class_t_default_instance_._instance, - &::_CSVCMsg_ClassInfo_default_instance_._instance, - &::_CSVCMsg_SetPause_default_instance_._instance, - &::_CSVCMsg_VoiceInit_default_instance_._instance, - &::_CSVCMsg_Print_default_instance_._instance, - &::_CSVCMsg_Sounds_sounddata_t_default_instance_._instance, - &::_CSVCMsg_Sounds_default_instance_._instance, - &::_CSVCMsg_Prefetch_default_instance_._instance, - &::_CSVCMsg_SetView_default_instance_._instance, - &::_CSVCMsg_FixAngle_default_instance_._instance, - &::_CSVCMsg_CrosshairAngle_default_instance_._instance, - &::_CSVCMsg_BSPDecal_default_instance_._instance, - &::_CSVCMsg_SplitScreen_default_instance_._instance, - &::_CSVCMsg_GetCvarValue_default_instance_._instance, - &::_CSVCMsg_Menu_default_instance_._instance, - &::_CSVCMsg_UserMessage_default_instance_._instance, - &::_CSVCMsg_SendTable_sendprop_t_default_instance_._instance, - &::_CSVCMsg_SendTable_default_instance_._instance, - &::_CSVCMsg_GameEventList_key_t_default_instance_._instance, - &::_CSVCMsg_GameEventList_descriptor_t_default_instance_._instance, - &::_CSVCMsg_GameEventList_default_instance_._instance, - &::_CSVCMsg_PacketEntities_alternate_baseline_t_default_instance_._instance, - &::_CSVCMsg_PacketEntities_non_transmitted_entities_t_default_instance_._instance, - &::_CSVCMsg_PacketEntities_outofpvs_entity_updates_t_default_instance_._instance, - &::_CSVCMsg_PacketEntities_default_instance_._instance, - &::_CSVCMsg_TempEntities_default_instance_._instance, - &::_CSVCMsg_CreateStringTable_default_instance_._instance, - &::_CSVCMsg_UpdateStringTable_default_instance_._instance, - &::_CSVCMsg_VoiceData_default_instance_._instance, - &::_CSVCMsg_PacketReliable_default_instance_._instance, - &::_CSVCMsg_FullFrameSplit_default_instance_._instance, - &::_CSVCMsg_HLTVStatus_default_instance_._instance, - &::_CSVCMsg_ServerSteamID_default_instance_._instance, - &::_CSVCMsg_CmdKeyValues_default_instance_._instance, - &::_CSVCMsg_RconServerDetails_default_instance_._instance, - &::_CMsgIPCAddress_default_instance_._instance, - &::_CMsgServerPeer_default_instance_._instance, - &::_CSVCMsg_PeerList_default_instance_._instance, - &::_CSVCMsg_ClearAllStringTables_default_instance_._instance, - &::_ProtoFlattenedSerializerField_t_polymorphic_field_t_default_instance_._instance, - &::_ProtoFlattenedSerializerField_t_default_instance_._instance, - &::_ProtoFlattenedSerializer_t_default_instance_._instance, - &::_CSVCMsg_FlattenedSerializer_default_instance_._instance, - &::_CSVCMsg_StopSound_default_instance_._instance, - &::_CBidirMsg_RebroadcastGameEvent_default_instance_._instance, - &::_CBidirMsg_RebroadcastSource_default_instance_._instance, - &::_CBidirMsg_PredictionEvent_default_instance_._instance, - &::_CMsgServerNetworkStats_Port_default_instance_._instance, - &::_CMsgServerNetworkStats_Player_default_instance_._instance, - &::_CMsgServerNetworkStats_default_instance_._instance, - &::_CSVCMsg_HltvReplay_default_instance_._instance, - &::_CCLCMsg_HltvReplay_default_instance_._instance, - &::_CSVCMsg_Broadcast_Command_default_instance_._instance, - &::_CCLCMsg_HltvFixupOperatorTick_default_instance_._instance, - &::_CSVCMsg_HltvFixupOperatorStatus_default_instance_._instance, - &::_CMsgServerUserCmd_default_instance_._instance, - &::_CSVCMsg_UserCommands_default_instance_._instance, -}; - -const char descriptor_table_protodef_netmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\021netmessages.proto\032\026networkbasetypes.pr" - "oto\"}\n\022CCLCMsg_ClientInfo\022\026\n\016send_table_" - "crc\030\001 \001(\007\022\024\n\014server_count\030\002 \001(\r\022\017\n\007is_hl" - "tv\030\003 \001(\010\022\022\n\nfriends_id\030\005 \001(\r\022\024\n\014friends_" - "name\030\006 \001(\t\"9\n\014CCLCMsg_Move\022\014\n\004data\030\003 \001(\014" - "\022\033\n\023last_command_number\030\004 \001(\r\"\217\002\n\016CMsgVo" - "iceAudio\022:\n\006format\030\001 \001(\0162\022.VoiceDataForm" - "at_t:\026VOICEDATA_FORMAT_STEAM\022\022\n\nvoice_da" - "ta\030\002 \001(\014\022\026\n\016sequence_bytes\030\003 \001(\005\022\026\n\016sect" - "ion_number\030\004 \001(\r\022\023\n\013sample_rate\030\005 \001(\r\022\"\n" - "\032uncompressed_sample_offset\030\006 \001(\r\022\023\n\013num" - "_packets\030\007 \001(\r\022\032\n\016packet_offsets\030\010 \003(\rB\002" - "\020\001\022\023\n\013voice_level\030\t \001(\002\"O\n\021CCLCMsg_Voice" - "Data\022\036\n\005audio\030\001 \001(\0132\017.CMsgVoiceAudio\022\014\n\004" - "xuid\030\002 \001(\006\022\014\n\004tick\030\003 \001(\r\"A\n\023CCLCMsg_Base" - "lineAck\022\025\n\rbaseline_tick\030\001 \001(\005\022\023\n\013baseli" - "ne_nr\030\002 \001(\005\"*\n\024CCLCMsg_ListenEvents\022\022\n\ne" - "vent_mask\030\001 \003(\007\"\\\n\030CCLCMsg_RespondCvarVa" - "lue\022\016\n\006cookie\030\001 \001(\005\022\023\n\013status_code\030\002 \001(\005" - "\022\014\n\004name\030\003 \001(\t\022\r\n\005value\030\004 \001(\t\"+\n\027CCLCMsg" - "_LoadingProgress\022\020\n\010progress\030\001 \001(\005\"0\n\032CC" - "LCMsg_SplitPlayerConnect\022\022\n\nplayername\030\001" - " \001(\t\"-\n\035CCLCMsg_SplitPlayerDisconnect\022\014\n" - "\004slot\030\001 \001(\005\"*\n\024CCLCMsg_ServerStatus\022\022\n\ns" - "implified\030\001 \001(\010\"Z\n\024CCLCMsg_RequestPause\022" - "-\n\npause_type\030\001 \001(\0162\017.RequestPause_t:\010RP" - "_PAUSE\022\023\n\013pause_group\030\002 \001(\005\"$\n\024CCLCMsg_C" - "mdKeyValues\022\014\n\004data\030\001 \001(\014\"*\n\031CCLCMsg_Rco" - "nServerDetails\022\r\n\005token\030\001 \001(\014\"\222\003\n\026CMsgSo" - "urce2SystemSpecs\022\016\n\006cpu_id\030\001 \001(\t\022\021\n\tcpu_" - "brand\030\002 \001(\t\022\021\n\tcpu_model\030\003 \001(\r\022\030\n\020cpu_nu" - "m_physical\030\004 \001(\r\022\035\n\025ram_physical_total_m" - "b\030\025 \001(\r\022!\n\031gpu_rendersystem_dll_name\030) \001" - "(\t\022\025\n\rgpu_vendor_id\030* \001(\r\022\027\n\017gpu_driver_" - "name\030+ \001(\t\022\037\n\027gpu_driver_version_high\030, " - "\001(\r\022\036\n\026gpu_driver_version_low\030- \001(\r\022\034\n\024g" - "pu_dx_support_level\030. \001(\r\022\"\n\032gpu_texture" - "_memory_size_mb\030/ \001(\r\022\030\n\020backbuffer_widt" - "h\0303 \001(\r\022\031\n\021backbuffer_height\0304 \001(\r\"\201\004\n\036C" - "MsgSource2VProfLiteReportItem\022\014\n\004name\030\001 " - "\001(\t\022\026\n\016active_samples\030\002 \001(\r\022\036\n\026active_sa" - "mples_1secmax\030\004 \001(\r\022\020\n\010usec_max\030\003 \001(\r\022\027\n" - "\017usec_avg_active\030\013 \001(\r\022\027\n\017usec_p50_activ" - "e\030\014 \001(\r\022\027\n\017usec_p99_active\030\r \001(\r\022\024\n\014usec" - "_avg_all\030\025 \001(\r\022\024\n\014usec_p50_all\030\026 \001(\r\022\024\n\014" - "usec_p99_all\030\027 \001(\r\022\037\n\027usec_1secmax_avg_a" - "ctive\030\037 \001(\r\022\037\n\027usec_1secmax_p50_active\030 " - " \001(\r\022\037\n\027usec_1secmax_p95_active\030! \001(\r\022\037\n" - "\027usec_1secmax_p99_active\030\" \001(\r\022\034\n\024usec_1" - "secmax_avg_all\030) \001(\r\022\034\n\024usec_1secmax_p50" - "_all\030* \001(\r\022\034\n\024usec_1secmax_p95_all\030+ \001(\r" - "\022\034\n\024usec_1secmax_p99_all\030, \001(\r\"\226\001\n\032CMsgS" - "ource2VProfLiteReport\022.\n\005total\030\001 \001(\0132\037.C" - "MsgSource2VProfLiteReportItem\022.\n\005items\030\002" - " \003(\0132\037.CMsgSource2VProfLiteReportItem\022\030\n" - "\020discarded_frames\030\003 \001(\r\"\265\006\n\035CMsgSource2N" - "etworkFlowQuality\022\020\n\010duration\030\001 \001(\r\022\023\n\013b" - "ytes_total\030\005 \001(\004\022\034\n\024bytes_total_reliable" - "\030\006 \001(\004\022\031\n\021bytes_total_voice\030\007 \001(\004\022\025\n\rbyt" - "es_sec_p95\030\n \001(\r\022\025\n\rbytes_sec_p99\030\013 \001(\r\022" - "\030\n\020enginemsgs_total\030\024 \001(\r\022\032\n\022enginemsgs_" - "sec_p95\030\025 \001(\r\022\032\n\022enginemsgs_sec_p99\030\026 \001(" - "\r\022\023\n\013ticks_total\030( \001(\r\022\022\n\nticks_good\030) \001" - "(\r\022\036\n\026ticks_good_almost_late\030* \001(\r\022\033\n\023ti" - "cks_fixed_dropped\030+ \001(\r\022\030\n\020ticks_fixed_l" - "ate\030, \001(\r\022\031\n\021ticks_bad_dropped\030- \001(\r\022\026\n\016" - "ticks_bad_late\030. \001(\r\022\027\n\017ticks_bad_other\030" - "/ \001(\r\022#\n\033tick_missrate_samples_total\0302 \001" - "(\r\022%\n\035tick_missrate_samples_perfect\0303 \001(" - "\r\022(\n tick_missrate_samples_perfectnet\0304 " - "\001(\r\022 \n\030tick_missratenet_p75_x10\0305 \001(\r\022 \n" - "\030tick_missratenet_p95_x10\0306 \001(\r\022 \n\030tick_" - "missratenet_p99_x10\0307 \001(\r\022\025\n\rrecvmargin_" - "p1\030= \001(\021\022\025\n\rrecvmargin_p5\030> \001(\021\022\026\n\016recvm" - "argin_p25\030\? \001(\021\022\026\n\016recvmargin_p50\030@ \001(\021\022" - "\026\n\016recvmargin_p75\030A \001(\021\022\026\n\016recvmargin_p9" - "5\030B \001(\021\"\373\001\n\035CMsgSource2PerfIntervalSampl" - "e\022\031\n\021frame_time_max_ms\030\001 \001(\002\022\031\n\021frame_ti" - "me_avg_ms\030\002 \001(\002\022\031\n\021frame_time_min_ms\030\003 \001" - "(\002\022\023\n\013frame_count\030\004 \001(\005\022\033\n\023frame_time_to" - "tal_ms\030\005 \001(\002\0220\n\004tags\030\006 \003(\0132\".CMsgSource2" - "PerfIntervalSample.Tag\032%\n\003Tag\022\013\n\003tag\030\001 \001" - "(\t\022\021\n\tmax_value\030\002 \001(\r\"\234\002\n\022CCLCMsg_Diagno" - "stic\022-\n\014system_specs\030\001 \001(\0132\027.CMsgSource2" - "SystemSpecs\0221\n\014vprof_report\030\002 \001(\0132\033.CMsg" - "Source2VProfLiteReport\0227\n\017downstream_flo" - "w\030\003 \001(\0132\036.CMsgSource2NetworkFlowQuality\022" - "5\n\rupstream_flow\030\004 \001(\0132\036.CMsgSource2Netw" - "orkFlowQuality\0224\n\014perf_samples\030\005 \003(\0132\036.C" - "MsgSource2PerfIntervalSample\"\273\004\n-CSource" - "2Metrics_MatchPerfSummary_Notification\022\r" - "\n\005appid\030\001 \001(\r\022\021\n\tgame_mode\030\002 \001(\t\022\027\n\017serv" - "er_build_id\030\003 \001(\r\022\024\n\014server_popid\030\004 \001(\007\022" - "3\n\016server_profile\030\n \001(\0132\033.CMsgSource2VPr" - "ofLiteReport\022F\n\007clients\030\013 \003(\01325.CSource2" - "Metrics_MatchPerfSummary_Notification.Cl" - "ient\022\013\n\003map\030\024 \001(\t\032\256\002\n\006Client\022-\n\014system_s" - "pecs\030\001 \001(\0132\027.CMsgSource2SystemSpecs\022,\n\007p" - "rofile\030\002 \001(\0132\033.CMsgSource2VProfLiteRepor" - "t\022\020\n\010build_id\030\003 \001(\r\0227\n\017downstream_flow\030\004" - " \001(\0132\036.CMsgSource2NetworkFlowQuality\0225\n\r" - "upstream_flow\030\005 \001(\0132\036.CMsgSource2Network" - "FlowQuality\022\017\n\007steamid\030\n \001(\006\0224\n\014perf_sam" - "ples\030\013 \003(\0132\036.CMsgSource2PerfIntervalSamp" - "le\"\207\003\n\022CSVCMsg_ServerInfo\022\020\n\010protocol\030\001 " - "\001(\005\022\024\n\014server_count\030\002 \001(\005\022\024\n\014is_dedicate" - "d\030\003 \001(\010\022\017\n\007is_hltv\030\004 \001(\010\022\014\n\004c_os\030\006 \001(\005\022\023" - "\n\013max_clients\030\n \001(\005\022\023\n\013max_classes\030\013 \001(\005" - "\022\027\n\013player_slot\030\014 \001(\005:\002-1\022\025\n\rtick_interv" - "al\030\r \001(\002\022\020\n\010game_dir\030\016 \001(\t\022\020\n\010map_name\030\017" - " \001(\t\022\020\n\010sky_name\030\020 \001(\t\022\021\n\thost_name\030\021 \001(" - "\t\022\022\n\naddon_name\030\022 \001(\t\022>\n\023game_session_co" - "nfig\030\023 \001(\0132!.CSVCMsg_GameSessionConfigur" - "ation\022\035\n\025game_session_manifest\030\024 \001(\014\"\213\001\n" - "\021CSVCMsg_ClassInfo\022\030\n\020create_on_client\030\001" - " \001(\010\022+\n\007classes\030\002 \003(\0132\032.CSVCMsg_ClassInf" - "o.class_t\032/\n\007class_t\022\020\n\010class_id\030\001 \001(\005\022\022" - "\n\nclass_name\030\003 \001(\t\"\"\n\020CSVCMsg_SetPause\022\016" - "\n\006paused\030\001 \001(\010\"G\n\021CSVCMsg_VoiceInit\022\017\n\007q" - "uality\030\001 \001(\005\022\r\n\005codec\030\002 \001(\t\022\022\n\007version\030\003" - " \001(\005:\0010\"\035\n\rCSVCMsg_Print\022\014\n\004text\030\001 \001(\t\"\343" - "\003\n\016CSVCMsg_Sounds\022\026\n\016reliable_sound\030\001 \001(" - "\010\022+\n\006sounds\030\002 \003(\0132\033.CSVCMsg_Sounds.sound" - "data_t\032\213\003\n\013sounddata_t\022\020\n\010origin_x\030\001 \001(\021" - "\022\020\n\010origin_y\030\002 \001(\021\022\020\n\010origin_z\030\003 \001(\021\022\016\n\006" - "volume\030\004 \001(\r\022\023\n\013delay_value\030\005 \001(\002\022\027\n\017seq" - "uence_number\030\006 \001(\005\022\030\n\014entity_index\030\007 \001(\005" - ":\002-1\022\017\n\007channel\030\010 \001(\005\022\r\n\005pitch\030\t \001(\005\022\r\n\005" - "flags\030\n \001(\005\022\021\n\tsound_num\030\013 \001(\r\022\030\n\020sound_" - "num_handle\030\014 \001(\007\022\026\n\016speaker_entity\030\r \001(\005" - "\022\023\n\013random_seed\030\016 \001(\005\022\023\n\013sound_level\030\017 \001" - "(\005\022\023\n\013is_sentence\030\020 \001(\010\022\022\n\nis_ambient\030\021 " - "\001(\010\022\014\n\004guid\030\022 \001(\r\022\031\n\021sound_resource_id\030\023" - " \001(\006\"X\n\020CSVCMsg_Prefetch\022\023\n\013sound_index\030" - "\001 \001(\005\022/\n\rresource_type\030\002 \001(\0162\r.PrefetchT" - "ype:\tPFT_SOUND\"=\n\017CSVCMsg_SetView\022\030\n\014ent" - "ity_index\030\001 \001(\005:\002-1\022\020\n\004slot\030\002 \001(\005:\002-1\"@\n" - "\020CSVCMsg_FixAngle\022\020\n\010relative\030\001 \001(\010\022\032\n\005a" - "ngle\030\002 \001(\0132\013.CMsgQAngle\"4\n\026CSVCMsg_Cross" - "hairAngle\022\032\n\005angle\030\001 \001(\0132\013.CMsgQAngle\"\216\001" - "\n\020CSVCMsg_BSPDecal\022\030\n\003pos\030\001 \001(\0132\013.CMsgVe" - "ctor\022\033\n\023decal_texture_index\030\002 \001(\005\022\030\n\014ent" - "ity_index\030\003 \001(\005:\002-1\022\023\n\013model_index\030\004 \001(\005" - "\022\024\n\014low_priority\030\005 \001(\010\"~\n\023CSVCMsg_SplitS" - "creen\022\?\n\004type\030\001 \001(\0162\030.ESplitScreenMessag" - "eType:\027MSG_SPLITSCREEN_ADDUSER\022\014\n\004slot\030\002" - " \001(\005\022\030\n\014player_index\030\003 \001(\005:\002-1\"9\n\024CSVCMs" - "g_GetCvarValue\022\016\n\006cookie\030\001 \001(\005\022\021\n\tcvar_n" - "ame\030\002 \001(\t\"<\n\014CSVCMsg_Menu\022\023\n\013dialog_type" - "\030\001 \001(\005\022\027\n\017menu_key_values\030\002 \001(\014\"N\n\023CSVCM" - "sg_UserMessage\022\020\n\010msg_type\030\001 \001(\005\022\020\n\010msg_" - "data\030\002 \001(\014\022\023\n\013passthrough\030\003 \001(\005\"\260\002\n\021CSVC" - "Msg_SendTable\022\016\n\006is_end\030\001 \001(\010\022\026\n\016net_tab" - "le_name\030\002 \001(\t\022\025\n\rneeds_decoder\030\003 \001(\010\022,\n\005" - "props\030\004 \003(\0132\035.CSVCMsg_SendTable.sendprop" - "_t\032\255\001\n\nsendprop_t\022\014\n\004type\030\001 \001(\005\022\020\n\010var_n" - "ame\030\002 \001(\t\022\r\n\005flags\030\003 \001(\005\022\020\n\010priority\030\004 \001" - "(\005\022\017\n\007dt_name\030\005 \001(\t\022\024\n\014num_elements\030\006 \001(" - "\005\022\021\n\tlow_value\030\007 \001(\002\022\022\n\nhigh_value\030\010 \001(\002" - "\022\020\n\010num_bits\030\t \001(\005\"\321\001\n\025CSVCMsg_GameEvent" - "List\0228\n\013descriptors\030\001 \003(\0132#.CSVCMsg_Game" - "EventList.descriptor_t\032#\n\005key_t\022\014\n\004type\030" - "\001 \001(\005\022\014\n\004name\030\002 \001(\t\032Y\n\014descriptor_t\022\017\n\007e" - "ventid\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\022*\n\004keys\030\003 \003(\013" - "2\034.CSVCMsg_GameEventList.key_t\"\347\007\n\026CSVCM" - "sg_PacketEntities\022\023\n\013max_entries\030\001 \001(\005\022\027" - "\n\017updated_entries\030\002 \001(\005\022\027\n\017legacy_is_del" - "ta\030\003 \001(\010\022\027\n\017update_baseline\030\004 \001(\010\022\020\n\010bas" - "eline\030\005 \001(\005\022\022\n\ndelta_from\030\006 \001(\005\022\023\n\013entit" - "y_data\030\007 \001(\014\022\032\n\022pending_full_frame\030\010 \001(\010" - "\022 \n\030active_spawngroup_handle\030\t \001(\r\022\'\n\037ma" - "x_spawngroup_creationsequence\030\n \001(\r\022 \n\030l" - "ast_cmd_number_executed\030\013 \001(\r\022\"\n\032last_cm" - "d_number_recv_delta\030\021 \001(\021\022\023\n\013server_tick" - "\030\014 \001(\r\022\033\n\023serialized_entities\030\r \001(\014\022I\n\023a" - "lternate_baselines\030\017 \003(\0132,.CSVCMsg_Packe" - "tEntities.alternate_baseline_t\022#\n\033has_pv" - "s_vis_bits_deprecated\030\020 \001(\r\022\033\n\017cmd_recv_" - "status\030\026 \003(\021B\002\020\001\022T\n\030non_transmitted_enti" - "ties\030\023 \001(\01322.CSVCMsg_PacketEntities.non_" - "transmitted_entities_t\022 \n\030cq_starved_com" - "mand_ticks\030\024 \001(\r\022\"\n\032cq_discarded_command" - "_ticks\030\025 \001(\r\022R\n\027outofpvs_entity_updates\030" - "\027 \001(\01321.CSVCMsg_PacketEntities.outofpvs_" - "entity_updates_t\022\024\n\013dev_padding\030\347\007 \001(\014\032D" - "\n\024alternate_baseline_t\022\024\n\014entity_index\030\001" - " \001(\005\022\026\n\016baseline_index\030\002 \001(\005\032@\n\032non_tran" - "smitted_entities_t\022\024\n\014header_count\030\001 \001(\005" - "\022\014\n\004data\030\002 \001(\014\0328\n\031outofpvs_entity_update" - "s_t\022\r\n\005count\030\001 \001(\005\022\014\n\004data\030\002 \001(\014\"R\n\024CSVC" - "Msg_TempEntities\022\020\n\010reliable\030\001 \001(\010\022\023\n\013nu" - "m_entries\030\002 \001(\005\022\023\n\013entity_data\030\003 \001(\014\"\211\002\n" - "\031CSVCMsg_CreateStringTable\022\014\n\004name\030\001 \001(\t" - "\022\023\n\013num_entries\030\002 \001(\005\022\034\n\024user_data_fixed" - "_size\030\003 \001(\010\022\026\n\016user_data_size\030\004 \001(\005\022\033\n\023u" - "ser_data_size_bits\030\005 \001(\005\022\r\n\005flags\030\006 \001(\005\022" - "\023\n\013string_data\030\007 \001(\014\022\031\n\021uncompressed_siz" - "e\030\010 \001(\005\022\027\n\017data_compressed\030\t \001(\010\022\036\n\026usin" - "g_varint_bitcounts\030\n \001(\010\"_\n\031CSVCMsg_Upda" - "teStringTable\022\020\n\010table_id\030\001 \001(\005\022\033\n\023num_c" - "hanged_entries\030\002 \001(\005\022\023\n\013string_data\030\003 \001(" - "\014\"\241\001\n\021CSVCMsg_VoiceData\022\036\n\005audio\030\001 \001(\0132\017" - ".CMsgVoiceAudio\022\022\n\006client\030\002 \001(\005:\002-1\022\021\n\tp" - "roximity\030\003 \001(\010\022\014\n\004xuid\030\004 \001(\006\022\024\n\014audible_" - "mask\030\005 \001(\005\022\014\n\004tick\030\006 \001(\r\022\023\n\013passthrough\030" - "\007 \001(\005\"K\n\026CSVCMsg_PacketReliable\022\014\n\004tick\030" - "\001 \001(\005\022\024\n\014messagessize\030\002 \001(\005\022\r\n\005state\030\003 \001" - "(\010\"T\n\026CSVCMsg_FullFrameSplit\022\014\n\004tick\030\001 \001" - "(\005\022\017\n\007section\030\002 \001(\005\022\r\n\005total\030\003 \001(\005\022\014\n\004da" - "ta\030\004 \001(\014\"U\n\022CSVCMsg_HLTVStatus\022\016\n\006master" - "\030\001 \001(\t\022\017\n\007clients\030\002 \001(\005\022\r\n\005slots\030\003 \001(\005\022\017" - "\n\007proxies\030\004 \001(\005\")\n\025CSVCMsg_ServerSteamID" - "\022\020\n\010steam_id\030\001 \001(\004\"$\n\024CSVCMsg_CmdKeyValu" - "es\022\014\n\004data\030\001 \001(\014\";\n\031CSVCMsg_RconServerDe" - "tails\022\r\n\005token\030\001 \001(\014\022\017\n\007details\030\002 \001(\t\";\n" - "\016CMsgIPCAddress\022\025\n\rcomputer_guid\030\001 \001(\006\022\022" - "\n\nprocess_id\030\002 \001(\r\"\244\001\n\016CMsgServerPeer\022\027\n" - "\013player_slot\030\001 \001(\005:\002-1\022\017\n\007steamid\030\002 \001(\006\022" - "\034\n\003ipc\030\003 \001(\0132\017.CMsgIPCAddress\022\025\n\rthey_he" - "ar_you\030\004 \001(\010\022\025\n\ryou_hear_them\030\005 \001(\010\022\034\n\024i" - "s_listenserver_host\030\006 \001(\010\"1\n\020CSVCMsg_Pee" - "rList\022\035\n\004peer\030\001 \003(\0132\017.CMsgServerPeer\"N\n\034" - "CSVCMsg_ClearAllStringTables\022\017\n\007mapname\030" - "\001 \001(\t\022\035\n\025create_tables_skipped\030\003 \001(\010\"\363\003\n" - "\037ProtoFlattenedSerializerField_t\022\024\n\014var_" - "type_sym\030\001 \001(\005\022\024\n\014var_name_sym\030\002 \001(\005\022\021\n\t" - "bit_count\030\003 \001(\005\022\021\n\tlow_value\030\004 \001(\002\022\022\n\nhi" - "gh_value\030\005 \001(\002\022\024\n\014encode_flags\030\006 \001(\005\022!\n\031" - "field_serializer_name_sym\030\007 \001(\005\022 \n\030field" - "_serializer_version\030\010 \001(\005\022\025\n\rsend_node_s" - "ym\030\t \001(\005\022\027\n\017var_encoder_sym\030\n \001(\005\022O\n\021pol" - "ymorphic_types\030\013 \003(\01324.ProtoFlattenedSer" - "ializerField_t.polymorphic_field_t\022\032\n\022va" - "r_serializer_sym\030\014 \001(\005\032r\n\023polymorphic_fi" - "eld_t\022-\n%polymorphic_field_serializer_na" - "me_sym\030\001 \001(\005\022,\n$polymorphic_field_serial" - "izer_version\030\002 \001(\005\"k\n\032ProtoFlattenedSeri" - "alizer_t\022\033\n\023serializer_name_sym\030\001 \001(\005\022\032\n" - "\022serializer_version\030\002 \001(\005\022\024\n\014fields_inde" - "x\030\003 \003(\005\"\222\001\n\033CSVCMsg_FlattenedSerializer\022" - "0\n\013serializers\030\001 \003(\0132\033.ProtoFlattenedSer" - "ializer_t\022\017\n\007symbols\030\002 \003(\t\0220\n\006fields\030\003 \003" - "(\0132 .ProtoFlattenedSerializerField_t\"!\n\021" - "CSVCMsg_StopSound\022\014\n\004guid\030\001 \001(\007\"y\n\036CBidi" - "rMsg_RebroadcastGameEvent\022\024\n\014posttoserve" - "r\030\001 \001(\010\022\017\n\007buftype\030\002 \001(\005\022\026\n\016clientbitcou" - "nt\030\003 \001(\r\022\030\n\020receivingclients\030\004 \001(\004\"2\n\033CB" - "idirMsg_RebroadcastSource\022\023\n\013eventsource" - "\030\001 \001(\005\"\232\001\n\031CBidirMsg_PredictionEvent\022\020\n\010" - "event_id\030\001 \002(\r\022\022\n\nevent_data\030\002 \002(\014\022\021\n\tsy" - "nc_type\030\003 \001(\r\022\027\n\017sync_val_uint32\030\004 \001(\r\"+" - "\n\tESyncType\022\013\n\007ST_Tick\020\000\022\021\n\rST_UserCmdNu" - "m\020\001\"\305\006\n\026CMsgServerNetworkStats\022\021\n\tdedica" - "ted\030\001 \001(\010\022\021\n\tcpu_usage\030\002 \001(\005\022\026\n\016memory_u" - "sed_mb\030\003 \001(\005\022\026\n\016memory_free_mb\030\004 \001(\005\022\016\n\006" - "uptime\030\005 \001(\005\022\023\n\013spawn_count\030\006 \001(\005\022\023\n\013num" - "_clients\030\010 \001(\005\022\020\n\010num_bots\030\t \001(\005\022\026\n\016num_" - "spectators\030\n \001(\005\022\025\n\rnum_tv_relays\030\013 \001(\005\022" - "\013\n\003fps\030\014 \001(\002\022+\n\005ports\030\021 \003(\0132\034.CMsgServer" - "NetworkStats.Port\022\023\n\013avg_ping_ms\030\022 \001(\002\022\036" - "\n\026avg_engine_latency_out\030\023 \001(\002\022\027\n\017avg_pa" - "ckets_out\030\024 \001(\002\022\026\n\016avg_packets_in\030\025 \001(\002\022" - "\024\n\014avg_loss_out\030\026 \001(\002\022\023\n\013avg_loss_in\030\027 \001" - "(\002\022\024\n\014avg_data_out\030\030 \001(\002\022\023\n\013avg_data_in\030" - "\031 \001(\002\022\025\n\rtotal_data_in\030\032 \001(\004\022\030\n\020total_pa" - "ckets_in\030\033 \001(\004\022\026\n\016total_data_out\030\034 \001(\004\022\031" - "\n\021total_packets_out\030\035 \001(\004\022/\n\007players\030\036 \003" - "(\0132\036.CMsgServerNetworkStats.Player\032\"\n\004Po" - "rt\022\014\n\004port\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\032\252\001\n\006Playe" - "r\022\017\n\007steamid\030\001 \001(\004\022\023\n\013remote_addr\030\002 \001(\t\022" - "\023\n\013ping_avg_ms\030\004 \001(\005\022\027\n\017packet_loss_pct\030" - "\005 \001(\002\022\016\n\006is_bot\030\006 \001(\010\022\017\n\007loss_in\030\007 \001(\002\022\020" - "\n\010loss_out\030\010 \001(\002\022\031\n\021engine_latency_ms\030\t " - "\001(\005\"\332\001\n\022CSVCMsg_HltvReplay\022\r\n\005delay\030\001 \001(" - "\005\022\032\n\016primary_target\030\002 \001(\005:\002-1\022\026\n\016replay_" - "stop_at\030\003 \001(\005\022\027\n\017replay_start_at\030\004 \001(\005\022\035" - "\n\025replay_slowdown_begin\030\005 \001(\005\022\033\n\023replay_" - "slowdown_end\030\006 \001(\005\022\034\n\024replay_slowdown_ra" - "te\030\007 \001(\002\022\016\n\006reason\030\010 \001(\005\"\205\001\n\022CCLCMsg_Hlt" - "vReplay\022\017\n\007request\030\001 \001(\005\022\027\n\017slowdown_len" - "gth\030\002 \001(\002\022\025\n\rslowdown_rate\030\003 \001(\002\022\032\n\016prim" - "ary_target\030\004 \001(\005:\002-1\022\022\n\nevent_time\030\005 \001(\002" - "\"(\n\031CSVCMsg_Broadcast_Command\022\013\n\003cmd\030\001 \001" - "(\t\"\357\001\n\035CCLCMsg_HltvFixupOperatorTick\022\014\n\004" - "tick\030\001 \001(\005\022\022\n\nprops_data\030\002 \001(\014\022\033\n\006origin" - "\030\003 \001(\0132\013.CMsgVector\022\037\n\neye_angles\030\004 \001(\0132" - "\013.CMsgQAngle\022\025\n\robserver_mode\030\005 \001(\005\022\034\n\024c" - "ameraman_scoreboard\030\006 \001(\010\022\027\n\017observer_ta" - "rget\030\007 \001(\005\022 \n\013view_offset\030\010 \001(\0132\013.CMsgVe" - "ctor\"O\n\037CSVCMsg_HltvFixupOperatorStatus\022" - "\014\n\004mode\030\001 \001(\r\022\036\n\026override_operator_name\030" - "\002 \001(\t\"\201\001\n\021CMsgServerUserCmd\022\014\n\004data\030\001 \001(" - "\014\022\022\n\ncmd_number\030\002 \001(\005\022\027\n\013player_slot\030\003 \001" - "(\005:\002-1\022\034\n\024server_tick_executed\030\004 \001(\005\022\023\n\013" - "client_tick\030\005 \001(\005\"<\n\024CSVCMsg_UserCommand" - "s\022$\n\010commands\030\001 \003(\0132\022.CMsgServerUserCmd*" - "\313\002\n\014CLC_Messages\022\022\n\016clc_ClientInfo\020\024\022\014\n\010" - "clc_Move\020\025\022\021\n\rclc_VoiceData\020\026\022\023\n\017clc_Bas" - "elineAck\020\027\022\030\n\024clc_RespondCvarValue\020\031\022\027\n\023" - "clc_LoadingProgress\020\033\022\032\n\026clc_SplitPlayer" - "Connect\020\034\022\035\n\031clc_SplitPlayerDisconnect\020\036" - "\022\024\n\020clc_ServerStatus\020\037\022\024\n\020clc_RequestPau" - "se\020!\022\024\n\020clc_CmdKeyValues\020\"\022\031\n\025clc_RconSe" - "rverDetails\020#\022\022\n\016clc_HltvReplay\020$\022\022\n\016clc" - "_Diagnostic\020%*\227\005\n\014SVC_Messages\022\022\n\016svc_Se" - "rverInfo\020(\022\033\n\027svc_FlattenedSerializer\020)\022" - "\021\n\rsvc_ClassInfo\020*\022\020\n\014svc_SetPause\020+\022\031\n\025" - "svc_CreateStringTable\020,\022\031\n\025svc_UpdateStr" - "ingTable\020-\022\021\n\rsvc_VoiceInit\020.\022\021\n\rsvc_Voi" - "ceData\020/\022\r\n\tsvc_Print\0200\022\016\n\nsvc_Sounds\0201\022" - "\017\n\013svc_SetView\0202\022\034\n\030svc_ClearAllStringTa" - "bles\0203\022\024\n\020svc_CmdKeyValues\0204\022\020\n\014svc_BSPD" - "ecal\0205\022\023\n\017svc_SplitScreen\0206\022\026\n\022svc_Packe" - "tEntities\0207\022\020\n\014svc_Prefetch\0208\022\014\n\010svc_Men" - "u\0209\022\024\n\020svc_GetCvarValue\020:\022\021\n\rsvc_StopSou" - "nd\020;\022\020\n\014svc_PeerList\020<\022\026\n\022svc_PacketReli" - "able\020=\022\022\n\016svc_HLTVStatus\020>\022\025\n\021svc_Server" - "SteamID\020\?\022\026\n\022svc_FullFrameSplit\020F\022\031\n\025svc" - "_RconServerDetails\020G\022\023\n\017svc_UserMessage\020" - "H\022\031\n\025svc_Broadcast_Command\020J\022\037\n\033svc_Hltv" - "FixupOperatorStatus\020K\022\020\n\014svc_UserCmds\020L*" - "g\n\021VoiceDataFormat_t\022\032\n\026VOICEDATA_FORMAT" - "_STEAM\020\000\022\033\n\027VOICEDATA_FORMAT_ENGINE\020\001\022\031\n" - "\025VOICEDATA_FORMAT_OPUS\020\002*B\n\016RequestPause" - "_t\022\014\n\010RP_PAUSE\020\000\022\016\n\nRP_UNPAUSE\020\001\022\022\n\016RP_T" - "OGGLEPAUSE\020\002*\035\n\014PrefetchType\022\r\n\tPFT_SOUN" - "D\020\000*V\n\027ESplitScreenMessageType\022\033\n\027MSG_SP" - "LITSCREEN_ADDUSER\020\000\022\036\n\032MSG_SPLITSCREEN_R" - "EMOVEUSER\020\001*\263\001\n\025EQueryCvarValueStatus\022%\n" - "!eQueryCvarValueStatus_ValueIntact\020\000\022&\n\"" - "eQueryCvarValueStatus_CvarNotFound\020\001\022\"\n\036" - "eQueryCvarValueStatus_NotACvar\020\002\022\'\n#eQue" - "ryCvarValueStatus_CvarProtected\020\003*h\n\013DIA" - "LOG_TYPE\022\016\n\nDIALOG_MSG\020\000\022\017\n\013DIALOG_MENU\020" - "\001\022\017\n\013DIALOG_TEXT\020\002\022\020\n\014DIALOG_ENTRY\020\003\022\025\n\021" - "DIALOG_ASKCONNECT\020\004*+\n\031SVC_Messages_LowF" - "requency\022\016\n\tsvc_dummy\020\330\004*y\n\026Bidirectiona" - "l_Messages\022\033\n\027bi_RebroadcastGameEvent\020\020\022" - "\030\n\024bi_RebroadcastSource\020\021\022\020\n\014bi_GameEven" - "t\020\022\022\026\n\022bi_PredictionEvent\020\023*M\n#Bidirecti" - "onal_Messages_LowFrequency\022\021\n\014bi_RelayIn" - "fo\020\274\005\022\023\n\016bi_RelayPacket\020\275\005*\241\001\n\021ReplayEve" - "ntType_t\022\027\n\023REPLAY_EVENT_CANCEL\020\000\022\026\n\022REP" - "LAY_EVENT_DEATH\020\001\022\030\n\024REPLAY_EVENT_GENERI" - "C\020\002\022\'\n#REPLAY_EVENT_STUCK_NEED_FULL_UPDA" - "TE\020\003\022\030\n\024REPLAY_EVENT_VICTORY\020\004" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_netmessages_2eproto_deps[1] = { - &::descriptor_table_networkbasetypes_2eproto, -}; -static ::_pbi::once_flag descriptor_table_netmessages_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_netmessages_2eproto = { - false, false, 13830, descriptor_table_protodef_netmessages_2eproto, - "netmessages.proto", - &descriptor_table_netmessages_2eproto_once, descriptor_table_netmessages_2eproto_deps, 1, 81, - schemas, file_default_instances, TableStruct_netmessages_2eproto::offsets, - file_level_metadata_netmessages_2eproto, file_level_enum_descriptors_netmessages_2eproto, - file_level_service_descriptors_netmessages_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_netmessages_2eproto_getter() { - return &descriptor_table_netmessages_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_netmessages_2eproto(&descriptor_table_netmessages_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CBidirMsg_PredictionEvent_ESyncType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); - return file_level_enum_descriptors_netmessages_2eproto[0]; -} -bool CBidirMsg_PredictionEvent_ESyncType_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr CBidirMsg_PredictionEvent_ESyncType CBidirMsg_PredictionEvent::ST_Tick; -constexpr CBidirMsg_PredictionEvent_ESyncType CBidirMsg_PredictionEvent::ST_UserCmdNum; -constexpr CBidirMsg_PredictionEvent_ESyncType CBidirMsg_PredictionEvent::ESyncType_MIN; -constexpr CBidirMsg_PredictionEvent_ESyncType CBidirMsg_PredictionEvent::ESyncType_MAX; -constexpr int CBidirMsg_PredictionEvent::ESyncType_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CLC_Messages_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); - return file_level_enum_descriptors_netmessages_2eproto[1]; -} -bool CLC_Messages_IsValid(int value) { - switch (value) { - case 20: - case 21: - case 22: - case 23: - case 25: - case 27: - case 28: - case 30: - case 31: - case 33: - case 34: - case 35: - case 36: - case 37: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SVC_Messages_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); - return file_level_enum_descriptors_netmessages_2eproto[2]; -} -bool SVC_Messages_IsValid(int value) { - switch (value) { - case 40: - case 41: - case 42: - case 43: - case 44: - case 45: - case 46: - case 47: - case 48: - case 49: - case 50: - case 51: - case 52: - case 53: - case 54: - case 55: - case 56: - case 57: - case 58: - case 59: - case 60: - case 61: - case 62: - case 63: - case 70: - case 71: - case 72: - case 74: - case 75: - case 76: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VoiceDataFormat_t_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); - return file_level_enum_descriptors_netmessages_2eproto[3]; -} -bool VoiceDataFormat_t_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* RequestPause_t_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); - return file_level_enum_descriptors_netmessages_2eproto[4]; -} -bool RequestPause_t_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PrefetchType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); - return file_level_enum_descriptors_netmessages_2eproto[5]; -} -bool PrefetchType_IsValid(int value) { - switch (value) { - case 0: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESplitScreenMessageType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); - return file_level_enum_descriptors_netmessages_2eproto[6]; -} -bool ESplitScreenMessageType_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EQueryCvarValueStatus_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); - return file_level_enum_descriptors_netmessages_2eproto[7]; -} -bool EQueryCvarValueStatus_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DIALOG_TYPE_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); - return file_level_enum_descriptors_netmessages_2eproto[8]; -} -bool DIALOG_TYPE_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SVC_Messages_LowFrequency_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); - return file_level_enum_descriptors_netmessages_2eproto[9]; -} -bool SVC_Messages_LowFrequency_IsValid(int value) { - switch (value) { - case 600: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Bidirectional_Messages_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); - return file_level_enum_descriptors_netmessages_2eproto[10]; -} -bool Bidirectional_Messages_IsValid(int value) { - switch (value) { - case 16: - case 17: - case 18: - case 19: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Bidirectional_Messages_LowFrequency_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); - return file_level_enum_descriptors_netmessages_2eproto[11]; -} -bool Bidirectional_Messages_LowFrequency_IsValid(int value) { - switch (value) { - case 700: - case 701: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ReplayEventType_t_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_netmessages_2eproto); - return file_level_enum_descriptors_netmessages_2eproto[12]; -} -bool ReplayEventType_t_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CCLCMsg_ClientInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_send_table_crc(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_server_count(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_is_hltv(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_friends_id(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_friends_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCLCMsg_ClientInfo::CCLCMsg_ClientInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCLCMsg_ClientInfo) -} -CCLCMsg_ClientInfo::CCLCMsg_ClientInfo(const CCLCMsg_ClientInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCLCMsg_ClientInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.friends_name_){} - , decltype(_impl_.send_table_crc_){} - , decltype(_impl_.server_count_){} - , decltype(_impl_.is_hltv_){} - , decltype(_impl_.friends_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.friends_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.friends_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_friends_name()) { - _this->_impl_.friends_name_.Set(from._internal_friends_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.send_table_crc_, &from._impl_.send_table_crc_, - static_cast(reinterpret_cast(&_impl_.friends_id_) - - reinterpret_cast(&_impl_.send_table_crc_)) + sizeof(_impl_.friends_id_)); - // @@protoc_insertion_point(copy_constructor:CCLCMsg_ClientInfo) -} - -inline void CCLCMsg_ClientInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.friends_name_){} - , decltype(_impl_.send_table_crc_){0u} - , decltype(_impl_.server_count_){0u} - , decltype(_impl_.is_hltv_){false} - , decltype(_impl_.friends_id_){0u} - }; - _impl_.friends_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.friends_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCLCMsg_ClientInfo::~CCLCMsg_ClientInfo() { - // @@protoc_insertion_point(destructor:CCLCMsg_ClientInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCLCMsg_ClientInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.friends_name_.Destroy(); -} - -void CCLCMsg_ClientInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCLCMsg_ClientInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CCLCMsg_ClientInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.friends_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000001eu) { - ::memset(&_impl_.send_table_crc_, 0, static_cast( - reinterpret_cast(&_impl_.friends_id_) - - reinterpret_cast(&_impl_.send_table_crc_)) + sizeof(_impl_.friends_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCLCMsg_ClientInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 send_table_crc = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_send_table_crc(&has_bits); - _impl_.send_table_crc_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 server_count = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_server_count(&has_bits); - _impl_.server_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_hltv = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_is_hltv(&has_bits); - _impl_.is_hltv_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 friends_id = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_friends_id(&has_bits); - _impl_.friends_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string friends_name = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_friends_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCLCMsg_ClientInfo.friends_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCLCMsg_ClientInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_ClientInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 send_table_crc = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_send_table_crc(), target); - } - - // optional uint32 server_count = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_server_count(), target); - } - - // optional bool is_hltv = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_is_hltv(), target); - } - - // optional uint32 friends_id = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_friends_id(), target); - } - - // optional string friends_name = 6; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_friends_name().data(), static_cast(this->_internal_friends_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCLCMsg_ClientInfo.friends_name"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_friends_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_ClientInfo) - return target; -} - -size_t CCLCMsg_ClientInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_ClientInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional string friends_name = 6; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_friends_name()); - } - - // optional fixed32 send_table_crc = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional uint32 server_count = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_count()); - } - - // optional bool is_hltv = 3; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - // optional uint32 friends_id = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_friends_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_ClientInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCLCMsg_ClientInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_ClientInfo::GetClassData() const { return &_class_data_; } - - -void CCLCMsg_ClientInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCLCMsg_ClientInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_friends_name(from._internal_friends_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.send_table_crc_ = from._impl_.send_table_crc_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.server_count_ = from._impl_.server_count_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.is_hltv_ = from._impl_.is_hltv_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.friends_id_ = from._impl_.friends_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCLCMsg_ClientInfo::CopyFrom(const CCLCMsg_ClientInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_ClientInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCLCMsg_ClientInfo::IsInitialized() const { - return true; -} - -void CCLCMsg_ClientInfo::InternalSwap(CCLCMsg_ClientInfo* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.friends_name_, lhs_arena, - &other->_impl_.friends_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCLCMsg_ClientInfo, _impl_.friends_id_) - + sizeof(CCLCMsg_ClientInfo::_impl_.friends_id_) - - PROTOBUF_FIELD_OFFSET(CCLCMsg_ClientInfo, _impl_.send_table_crc_)>( - reinterpret_cast(&_impl_.send_table_crc_), - reinterpret_cast(&other->_impl_.send_table_crc_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_ClientInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[0]); -} - -// =================================================================== - -class CCLCMsg_Move::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_last_command_number(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCLCMsg_Move::CCLCMsg_Move(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCLCMsg_Move) -} -CCLCMsg_Move::CCLCMsg_Move(const CCLCMsg_Move& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCLCMsg_Move* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.last_command_number_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - _this->_impl_.last_command_number_ = from._impl_.last_command_number_; - // @@protoc_insertion_point(copy_constructor:CCLCMsg_Move) -} - -inline void CCLCMsg_Move::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.last_command_number_){0u} - }; - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCLCMsg_Move::~CCLCMsg_Move() { - // @@protoc_insertion_point(destructor:CCLCMsg_Move) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCLCMsg_Move::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_.Destroy(); -} - -void CCLCMsg_Move::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCLCMsg_Move::Clear() { -// @@protoc_insertion_point(message_clear_start:CCLCMsg_Move) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - _impl_.last_command_number_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCLCMsg_Move::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes data = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 last_command_number = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_last_command_number(&has_bits); - _impl_.last_command_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCLCMsg_Move::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_Move) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes data = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 3, this->_internal_data(), target); - } - - // optional uint32 last_command_number = 4; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_last_command_number(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_Move) - return target; -} - -size_t CCLCMsg_Move::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_Move) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bytes data = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - // optional uint32 last_command_number = 4; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_last_command_number()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_Move::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCLCMsg_Move::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_Move::GetClassData() const { return &_class_data_; } - - -void CCLCMsg_Move::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCLCMsg_Move) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_data(from._internal_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.last_command_number_ = from._impl_.last_command_number_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCLCMsg_Move::CopyFrom(const CCLCMsg_Move& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_Move) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCLCMsg_Move::IsInitialized() const { - return true; -} - -void CCLCMsg_Move::InternalSwap(CCLCMsg_Move* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); - swap(_impl_.last_command_number_, other->_impl_.last_command_number_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_Move::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[1]); -} - -// =================================================================== - -class CMsgVoiceAudio::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_format(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_voice_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_sequence_bytes(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_section_number(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_sample_rate(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_uncompressed_sample_offset(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_num_packets(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_voice_level(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } -}; - -CMsgVoiceAudio::CMsgVoiceAudio(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgVoiceAudio) -} -CMsgVoiceAudio::CMsgVoiceAudio(const CMsgVoiceAudio& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgVoiceAudio* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.packet_offsets_){from._impl_.packet_offsets_} - , /*decltype(_impl_._packet_offsets_cached_byte_size_)*/{0} - , decltype(_impl_.voice_data_){} - , decltype(_impl_.format_){} - , decltype(_impl_.sequence_bytes_){} - , decltype(_impl_.section_number_){} - , decltype(_impl_.sample_rate_){} - , decltype(_impl_.uncompressed_sample_offset_){} - , decltype(_impl_.num_packets_){} - , decltype(_impl_.voice_level_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.voice_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.voice_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_voice_data()) { - _this->_impl_.voice_data_.Set(from._internal_voice_data(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.format_, &from._impl_.format_, - static_cast(reinterpret_cast(&_impl_.voice_level_) - - reinterpret_cast(&_impl_.format_)) + sizeof(_impl_.voice_level_)); - // @@protoc_insertion_point(copy_constructor:CMsgVoiceAudio) -} - -inline void CMsgVoiceAudio::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.packet_offsets_){arena} - , /*decltype(_impl_._packet_offsets_cached_byte_size_)*/{0} - , decltype(_impl_.voice_data_){} - , decltype(_impl_.format_){0} - , decltype(_impl_.sequence_bytes_){0} - , decltype(_impl_.section_number_){0u} - , decltype(_impl_.sample_rate_){0u} - , decltype(_impl_.uncompressed_sample_offset_){0u} - , decltype(_impl_.num_packets_){0u} - , decltype(_impl_.voice_level_){0} - }; - _impl_.voice_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.voice_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgVoiceAudio::~CMsgVoiceAudio() { - // @@protoc_insertion_point(destructor:CMsgVoiceAudio) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgVoiceAudio::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.packet_offsets_.~RepeatedField(); - _impl_.voice_data_.Destroy(); -} - -void CMsgVoiceAudio::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgVoiceAudio::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgVoiceAudio) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.packet_offsets_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.voice_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x000000feu) { - ::memset(&_impl_.format_, 0, static_cast( - reinterpret_cast(&_impl_.voice_level_) - - reinterpret_cast(&_impl_.format_)) + sizeof(_impl_.voice_level_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgVoiceAudio::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::VoiceDataFormat_t_IsValid(val))) { - _internal_set_format(static_cast<::VoiceDataFormat_t>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional bytes voice_data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_voice_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 sequence_bytes = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_sequence_bytes(&has_bits); - _impl_.sequence_bytes_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 section_number = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_section_number(&has_bits); - _impl_.section_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 sample_rate = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_sample_rate(&has_bits); - _impl_.sample_rate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 uncompressed_sample_offset = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_uncompressed_sample_offset(&has_bits); - _impl_.uncompressed_sample_offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 num_packets = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_num_packets(&has_bits); - _impl_.num_packets_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 packet_offsets = 8 [packed = true]; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_packet_offsets(), ptr, ctx); - CHK_(ptr); - } else if (static_cast(tag) == 64) { - _internal_add_packet_offsets(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float voice_level = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_voice_level(&has_bits); - _impl_.voice_level_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgVoiceAudio::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgVoiceAudio) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_format(), target); - } - - // optional bytes voice_data = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_voice_data(), target); - } - - // optional int32 sequence_bytes = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_sequence_bytes(), target); - } - - // optional uint32 section_number = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_section_number(), target); - } - - // optional uint32 sample_rate = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_sample_rate(), target); - } - - // optional uint32 uncompressed_sample_offset = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_uncompressed_sample_offset(), target); - } - - // optional uint32 num_packets = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_num_packets(), target); - } - - // repeated uint32 packet_offsets = 8 [packed = true]; - { - int byte_size = _impl_._packet_offsets_cached_byte_size_.load(std::memory_order_relaxed); - if (byte_size > 0) { - target = stream->WriteUInt32Packed( - 8, _internal_packet_offsets(), byte_size, target); - } - } - - // optional float voice_level = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_voice_level(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgVoiceAudio) - return target; -} - -size_t CMsgVoiceAudio::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgVoiceAudio) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 packet_offsets = 8 [packed = true]; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.packet_offsets_); - if (data_size > 0) { - total_size += 1 + - ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); - } - int cached_size = ::_pbi::ToCachedSize(data_size); - _impl_._packet_offsets_cached_byte_size_.store(cached_size, - std::memory_order_relaxed); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bytes voice_data = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_voice_data()); - } - - // optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_format()); - } - - // optional int32 sequence_bytes = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sequence_bytes()); - } - - // optional uint32 section_number = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_section_number()); - } - - // optional uint32 sample_rate = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sample_rate()); - } - - // optional uint32 uncompressed_sample_offset = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_uncompressed_sample_offset()); - } - - // optional uint32 num_packets = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_packets()); - } - - // optional float voice_level = 9; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgVoiceAudio::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgVoiceAudio::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgVoiceAudio::GetClassData() const { return &_class_data_; } - - -void CMsgVoiceAudio::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgVoiceAudio) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.packet_offsets_.MergeFrom(from._impl_.packet_offsets_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_voice_data(from._internal_voice_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.format_ = from._impl_.format_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.sequence_bytes_ = from._impl_.sequence_bytes_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.section_number_ = from._impl_.section_number_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.sample_rate_ = from._impl_.sample_rate_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.uncompressed_sample_offset_ = from._impl_.uncompressed_sample_offset_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.num_packets_ = from._impl_.num_packets_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.voice_level_ = from._impl_.voice_level_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgVoiceAudio::CopyFrom(const CMsgVoiceAudio& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgVoiceAudio) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgVoiceAudio::IsInitialized() const { - return true; -} - -void CMsgVoiceAudio::InternalSwap(CMsgVoiceAudio* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.packet_offsets_.InternalSwap(&other->_impl_.packet_offsets_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.voice_data_, lhs_arena, - &other->_impl_.voice_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgVoiceAudio, _impl_.voice_level_) - + sizeof(CMsgVoiceAudio::_impl_.voice_level_) - - PROTOBUF_FIELD_OFFSET(CMsgVoiceAudio, _impl_.format_)>( - reinterpret_cast(&_impl_.format_), - reinterpret_cast(&other->_impl_.format_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgVoiceAudio::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[2]); -} - -// =================================================================== - -class CCLCMsg_VoiceData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVoiceAudio& audio(const CCLCMsg_VoiceData* msg); - static void set_has_audio(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_xuid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_tick(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::CMsgVoiceAudio& -CCLCMsg_VoiceData::_Internal::audio(const CCLCMsg_VoiceData* msg) { - return *msg->_impl_.audio_; -} -CCLCMsg_VoiceData::CCLCMsg_VoiceData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCLCMsg_VoiceData) -} -CCLCMsg_VoiceData::CCLCMsg_VoiceData(const CCLCMsg_VoiceData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCLCMsg_VoiceData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.audio_){nullptr} - , decltype(_impl_.xuid_){} - , decltype(_impl_.tick_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_audio()) { - _this->_impl_.audio_ = new ::CMsgVoiceAudio(*from._impl_.audio_); - } - ::memcpy(&_impl_.xuid_, &from._impl_.xuid_, - static_cast(reinterpret_cast(&_impl_.tick_) - - reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.tick_)); - // @@protoc_insertion_point(copy_constructor:CCLCMsg_VoiceData) -} - -inline void CCLCMsg_VoiceData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.audio_){nullptr} - , decltype(_impl_.xuid_){uint64_t{0u}} - , decltype(_impl_.tick_){0u} - }; -} - -CCLCMsg_VoiceData::~CCLCMsg_VoiceData() { - // @@protoc_insertion_point(destructor:CCLCMsg_VoiceData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCLCMsg_VoiceData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.audio_; -} - -void CCLCMsg_VoiceData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCLCMsg_VoiceData::Clear() { -// @@protoc_insertion_point(message_clear_start:CCLCMsg_VoiceData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.audio_ != nullptr); - _impl_.audio_->Clear(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.xuid_, 0, static_cast( - reinterpret_cast(&_impl_.tick_) - - reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.tick_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCLCMsg_VoiceData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVoiceAudio audio = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_audio(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 xuid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_xuid(&has_bits); - _impl_.xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 tick = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_tick(&has_bits); - _impl_.tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCLCMsg_VoiceData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_VoiceData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVoiceAudio audio = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::audio(this), - _Internal::audio(this).GetCachedSize(), target, stream); - } - - // optional fixed64 xuid = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_xuid(), target); - } - - // optional uint32 tick = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_tick(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_VoiceData) - return target; -} - -size_t CCLCMsg_VoiceData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_VoiceData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .CMsgVoiceAudio audio = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.audio_); - } - - // optional fixed64 xuid = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - // optional uint32 tick = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tick()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_VoiceData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCLCMsg_VoiceData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_VoiceData::GetClassData() const { return &_class_data_; } - - -void CCLCMsg_VoiceData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCLCMsg_VoiceData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_audio()->::CMsgVoiceAudio::MergeFrom( - from._internal_audio()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.xuid_ = from._impl_.xuid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.tick_ = from._impl_.tick_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCLCMsg_VoiceData::CopyFrom(const CCLCMsg_VoiceData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_VoiceData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCLCMsg_VoiceData::IsInitialized() const { - return true; -} - -void CCLCMsg_VoiceData::InternalSwap(CCLCMsg_VoiceData* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCLCMsg_VoiceData, _impl_.tick_) - + sizeof(CCLCMsg_VoiceData::_impl_.tick_) - - PROTOBUF_FIELD_OFFSET(CCLCMsg_VoiceData, _impl_.audio_)>( - reinterpret_cast(&_impl_.audio_), - reinterpret_cast(&other->_impl_.audio_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_VoiceData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[3]); -} - -// =================================================================== - -class CCLCMsg_BaselineAck::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_baseline_tick(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_baseline_nr(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCLCMsg_BaselineAck::CCLCMsg_BaselineAck(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCLCMsg_BaselineAck) -} -CCLCMsg_BaselineAck::CCLCMsg_BaselineAck(const CCLCMsg_BaselineAck& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCLCMsg_BaselineAck* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.baseline_tick_){} - , decltype(_impl_.baseline_nr_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.baseline_tick_, &from._impl_.baseline_tick_, - static_cast(reinterpret_cast(&_impl_.baseline_nr_) - - reinterpret_cast(&_impl_.baseline_tick_)) + sizeof(_impl_.baseline_nr_)); - // @@protoc_insertion_point(copy_constructor:CCLCMsg_BaselineAck) -} - -inline void CCLCMsg_BaselineAck::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.baseline_tick_){0} - , decltype(_impl_.baseline_nr_){0} - }; -} - -CCLCMsg_BaselineAck::~CCLCMsg_BaselineAck() { - // @@protoc_insertion_point(destructor:CCLCMsg_BaselineAck) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCLCMsg_BaselineAck::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCLCMsg_BaselineAck::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCLCMsg_BaselineAck::Clear() { -// @@protoc_insertion_point(message_clear_start:CCLCMsg_BaselineAck) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.baseline_tick_, 0, static_cast( - reinterpret_cast(&_impl_.baseline_nr_) - - reinterpret_cast(&_impl_.baseline_tick_)) + sizeof(_impl_.baseline_nr_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCLCMsg_BaselineAck::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 baseline_tick = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_baseline_tick(&has_bits); - _impl_.baseline_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 baseline_nr = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_baseline_nr(&has_bits); - _impl_.baseline_nr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCLCMsg_BaselineAck::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_BaselineAck) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 baseline_tick = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_baseline_tick(), target); - } - - // optional int32 baseline_nr = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_baseline_nr(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_BaselineAck) - return target; -} - -size_t CCLCMsg_BaselineAck::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_BaselineAck) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional int32 baseline_tick = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_baseline_tick()); - } - - // optional int32 baseline_nr = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_baseline_nr()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_BaselineAck::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCLCMsg_BaselineAck::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_BaselineAck::GetClassData() const { return &_class_data_; } - - -void CCLCMsg_BaselineAck::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCLCMsg_BaselineAck) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.baseline_tick_ = from._impl_.baseline_tick_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.baseline_nr_ = from._impl_.baseline_nr_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCLCMsg_BaselineAck::CopyFrom(const CCLCMsg_BaselineAck& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_BaselineAck) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCLCMsg_BaselineAck::IsInitialized() const { - return true; -} - -void CCLCMsg_BaselineAck::InternalSwap(CCLCMsg_BaselineAck* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCLCMsg_BaselineAck, _impl_.baseline_nr_) - + sizeof(CCLCMsg_BaselineAck::_impl_.baseline_nr_) - - PROTOBUF_FIELD_OFFSET(CCLCMsg_BaselineAck, _impl_.baseline_tick_)>( - reinterpret_cast(&_impl_.baseline_tick_), - reinterpret_cast(&other->_impl_.baseline_tick_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_BaselineAck::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[4]); -} - -// =================================================================== - -class CCLCMsg_ListenEvents::_Internal { - public: -}; - -CCLCMsg_ListenEvents::CCLCMsg_ListenEvents(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCLCMsg_ListenEvents) -} -CCLCMsg_ListenEvents::CCLCMsg_ListenEvents(const CCLCMsg_ListenEvents& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCLCMsg_ListenEvents* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.event_mask_){from._impl_.event_mask_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CCLCMsg_ListenEvents) -} - -inline void CCLCMsg_ListenEvents::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.event_mask_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CCLCMsg_ListenEvents::~CCLCMsg_ListenEvents() { - // @@protoc_insertion_point(destructor:CCLCMsg_ListenEvents) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCLCMsg_ListenEvents::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.event_mask_.~RepeatedField(); -} - -void CCLCMsg_ListenEvents::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCLCMsg_ListenEvents::Clear() { -// @@protoc_insertion_point(message_clear_start:CCLCMsg_ListenEvents) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.event_mask_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCLCMsg_ListenEvents::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated fixed32 event_mask = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_event_mask(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint32_t); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<13>(ptr)); - } else if (static_cast(tag) == 10) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_event_mask(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCLCMsg_ListenEvents::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_ListenEvents) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated fixed32 event_mask = 1; - for (int i = 0, n = this->_internal_event_mask_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_event_mask(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_ListenEvents) - return target; -} - -size_t CCLCMsg_ListenEvents::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_ListenEvents) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated fixed32 event_mask = 1; - { - unsigned int count = static_cast(this->_internal_event_mask_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_event_mask_size()); - total_size += data_size; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_ListenEvents::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCLCMsg_ListenEvents::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_ListenEvents::GetClassData() const { return &_class_data_; } - - -void CCLCMsg_ListenEvents::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCLCMsg_ListenEvents) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.event_mask_.MergeFrom(from._impl_.event_mask_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCLCMsg_ListenEvents::CopyFrom(const CCLCMsg_ListenEvents& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_ListenEvents) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCLCMsg_ListenEvents::IsInitialized() const { - return true; -} - -void CCLCMsg_ListenEvents::InternalSwap(CCLCMsg_ListenEvents* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.event_mask_.InternalSwap(&other->_impl_.event_mask_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_ListenEvents::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[5]); -} - -// =================================================================== - -class CCLCMsg_RespondCvarValue::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_cookie(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_status_code(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCLCMsg_RespondCvarValue::CCLCMsg_RespondCvarValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCLCMsg_RespondCvarValue) -} -CCLCMsg_RespondCvarValue::CCLCMsg_RespondCvarValue(const CCLCMsg_RespondCvarValue& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCLCMsg_RespondCvarValue* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.value_){} - , decltype(_impl_.cookie_){} - , decltype(_impl_.status_code_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_value()) { - _this->_impl_.value_.Set(from._internal_value(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.cookie_, &from._impl_.cookie_, - static_cast(reinterpret_cast(&_impl_.status_code_) - - reinterpret_cast(&_impl_.cookie_)) + sizeof(_impl_.status_code_)); - // @@protoc_insertion_point(copy_constructor:CCLCMsg_RespondCvarValue) -} - -inline void CCLCMsg_RespondCvarValue::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.value_){} - , decltype(_impl_.cookie_){0} - , decltype(_impl_.status_code_){0} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCLCMsg_RespondCvarValue::~CCLCMsg_RespondCvarValue() { - // @@protoc_insertion_point(destructor:CCLCMsg_RespondCvarValue) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCLCMsg_RespondCvarValue::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); - _impl_.value_.Destroy(); -} - -void CCLCMsg_RespondCvarValue::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCLCMsg_RespondCvarValue::Clear() { -// @@protoc_insertion_point(message_clear_start:CCLCMsg_RespondCvarValue) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.value_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000000cu) { - ::memset(&_impl_.cookie_, 0, static_cast( - reinterpret_cast(&_impl_.status_code_) - - reinterpret_cast(&_impl_.cookie_)) + sizeof(_impl_.status_code_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCLCMsg_RespondCvarValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 cookie = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_cookie(&has_bits); - _impl_.cookie_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 status_code = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_status_code(&has_bits); - _impl_.status_code_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCLCMsg_RespondCvarValue.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string value = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_value(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCLCMsg_RespondCvarValue.value"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCLCMsg_RespondCvarValue::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_RespondCvarValue) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 cookie = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_cookie(), target); - } - - // optional int32 status_code = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_status_code(), target); - } - - // optional string name = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCLCMsg_RespondCvarValue.name"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_name(), target); - } - - // optional string value = 4; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_value().data(), static_cast(this->_internal_value().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCLCMsg_RespondCvarValue.value"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_RespondCvarValue) - return target; -} - -size_t CCLCMsg_RespondCvarValue::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_RespondCvarValue) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string name = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional string value = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_value()); - } - - // optional int32 cookie = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_cookie()); - } - - // optional int32 status_code = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_status_code()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_RespondCvarValue::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCLCMsg_RespondCvarValue::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_RespondCvarValue::GetClassData() const { return &_class_data_; } - - -void CCLCMsg_RespondCvarValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCLCMsg_RespondCvarValue) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_value(from._internal_value()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.cookie_ = from._impl_.cookie_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.status_code_ = from._impl_.status_code_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCLCMsg_RespondCvarValue::CopyFrom(const CCLCMsg_RespondCvarValue& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_RespondCvarValue) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCLCMsg_RespondCvarValue::IsInitialized() const { - return true; -} - -void CCLCMsg_RespondCvarValue::InternalSwap(CCLCMsg_RespondCvarValue* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.value_, lhs_arena, - &other->_impl_.value_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCLCMsg_RespondCvarValue, _impl_.status_code_) - + sizeof(CCLCMsg_RespondCvarValue::_impl_.status_code_) - - PROTOBUF_FIELD_OFFSET(CCLCMsg_RespondCvarValue, _impl_.cookie_)>( - reinterpret_cast(&_impl_.cookie_), - reinterpret_cast(&other->_impl_.cookie_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_RespondCvarValue::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[6]); -} - -// =================================================================== - -class CCLCMsg_LoadingProgress::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_progress(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCLCMsg_LoadingProgress::CCLCMsg_LoadingProgress(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCLCMsg_LoadingProgress) -} -CCLCMsg_LoadingProgress::CCLCMsg_LoadingProgress(const CCLCMsg_LoadingProgress& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCLCMsg_LoadingProgress* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.progress_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.progress_ = from._impl_.progress_; - // @@protoc_insertion_point(copy_constructor:CCLCMsg_LoadingProgress) -} - -inline void CCLCMsg_LoadingProgress::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.progress_){0} - }; -} - -CCLCMsg_LoadingProgress::~CCLCMsg_LoadingProgress() { - // @@protoc_insertion_point(destructor:CCLCMsg_LoadingProgress) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCLCMsg_LoadingProgress::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCLCMsg_LoadingProgress::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCLCMsg_LoadingProgress::Clear() { -// @@protoc_insertion_point(message_clear_start:CCLCMsg_LoadingProgress) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.progress_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCLCMsg_LoadingProgress::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 progress = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_progress(&has_bits); - _impl_.progress_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCLCMsg_LoadingProgress::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_LoadingProgress) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 progress = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_progress(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_LoadingProgress) - return target; -} - -size_t CCLCMsg_LoadingProgress::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_LoadingProgress) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 progress = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_progress()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_LoadingProgress::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCLCMsg_LoadingProgress::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_LoadingProgress::GetClassData() const { return &_class_data_; } - - -void CCLCMsg_LoadingProgress::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCLCMsg_LoadingProgress) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_progress()) { - _this->_internal_set_progress(from._internal_progress()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCLCMsg_LoadingProgress::CopyFrom(const CCLCMsg_LoadingProgress& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_LoadingProgress) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCLCMsg_LoadingProgress::IsInitialized() const { - return true; -} - -void CCLCMsg_LoadingProgress::InternalSwap(CCLCMsg_LoadingProgress* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.progress_, other->_impl_.progress_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_LoadingProgress::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[7]); -} - -// =================================================================== - -class CCLCMsg_SplitPlayerConnect::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_playername(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCLCMsg_SplitPlayerConnect::CCLCMsg_SplitPlayerConnect(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCLCMsg_SplitPlayerConnect) -} -CCLCMsg_SplitPlayerConnect::CCLCMsg_SplitPlayerConnect(const CCLCMsg_SplitPlayerConnect& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCLCMsg_SplitPlayerConnect* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.playername_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.playername_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.playername_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_playername()) { - _this->_impl_.playername_.Set(from._internal_playername(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CCLCMsg_SplitPlayerConnect) -} - -inline void CCLCMsg_SplitPlayerConnect::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.playername_){} - }; - _impl_.playername_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.playername_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCLCMsg_SplitPlayerConnect::~CCLCMsg_SplitPlayerConnect() { - // @@protoc_insertion_point(destructor:CCLCMsg_SplitPlayerConnect) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCLCMsg_SplitPlayerConnect::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.playername_.Destroy(); -} - -void CCLCMsg_SplitPlayerConnect::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCLCMsg_SplitPlayerConnect::Clear() { -// @@protoc_insertion_point(message_clear_start:CCLCMsg_SplitPlayerConnect) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.playername_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCLCMsg_SplitPlayerConnect::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string playername = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_playername(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCLCMsg_SplitPlayerConnect.playername"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCLCMsg_SplitPlayerConnect::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_SplitPlayerConnect) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string playername = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_playername().data(), static_cast(this->_internal_playername().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCLCMsg_SplitPlayerConnect.playername"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_playername(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_SplitPlayerConnect) - return target; -} - -size_t CCLCMsg_SplitPlayerConnect::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_SplitPlayerConnect) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string playername = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_playername()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_SplitPlayerConnect::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCLCMsg_SplitPlayerConnect::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_SplitPlayerConnect::GetClassData() const { return &_class_data_; } - - -void CCLCMsg_SplitPlayerConnect::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCLCMsg_SplitPlayerConnect) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_playername()) { - _this->_internal_set_playername(from._internal_playername()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCLCMsg_SplitPlayerConnect::CopyFrom(const CCLCMsg_SplitPlayerConnect& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_SplitPlayerConnect) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCLCMsg_SplitPlayerConnect::IsInitialized() const { - return true; -} - -void CCLCMsg_SplitPlayerConnect::InternalSwap(CCLCMsg_SplitPlayerConnect* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.playername_, lhs_arena, - &other->_impl_.playername_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_SplitPlayerConnect::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[8]); -} - -// =================================================================== - -class CCLCMsg_SplitPlayerDisconnect::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_slot(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCLCMsg_SplitPlayerDisconnect::CCLCMsg_SplitPlayerDisconnect(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCLCMsg_SplitPlayerDisconnect) -} -CCLCMsg_SplitPlayerDisconnect::CCLCMsg_SplitPlayerDisconnect(const CCLCMsg_SplitPlayerDisconnect& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCLCMsg_SplitPlayerDisconnect* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.slot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.slot_ = from._impl_.slot_; - // @@protoc_insertion_point(copy_constructor:CCLCMsg_SplitPlayerDisconnect) -} - -inline void CCLCMsg_SplitPlayerDisconnect::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.slot_){0} - }; -} - -CCLCMsg_SplitPlayerDisconnect::~CCLCMsg_SplitPlayerDisconnect() { - // @@protoc_insertion_point(destructor:CCLCMsg_SplitPlayerDisconnect) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCLCMsg_SplitPlayerDisconnect::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCLCMsg_SplitPlayerDisconnect::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCLCMsg_SplitPlayerDisconnect::Clear() { -// @@protoc_insertion_point(message_clear_start:CCLCMsg_SplitPlayerDisconnect) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.slot_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCLCMsg_SplitPlayerDisconnect::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 slot = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_slot(&has_bits); - _impl_.slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCLCMsg_SplitPlayerDisconnect::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_SplitPlayerDisconnect) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 slot = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_slot(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_SplitPlayerDisconnect) - return target; -} - -size_t CCLCMsg_SplitPlayerDisconnect::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_SplitPlayerDisconnect) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 slot = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_slot()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_SplitPlayerDisconnect::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCLCMsg_SplitPlayerDisconnect::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_SplitPlayerDisconnect::GetClassData() const { return &_class_data_; } - - -void CCLCMsg_SplitPlayerDisconnect::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCLCMsg_SplitPlayerDisconnect) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_slot()) { - _this->_internal_set_slot(from._internal_slot()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCLCMsg_SplitPlayerDisconnect::CopyFrom(const CCLCMsg_SplitPlayerDisconnect& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_SplitPlayerDisconnect) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCLCMsg_SplitPlayerDisconnect::IsInitialized() const { - return true; -} - -void CCLCMsg_SplitPlayerDisconnect::InternalSwap(CCLCMsg_SplitPlayerDisconnect* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.slot_, other->_impl_.slot_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_SplitPlayerDisconnect::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[9]); -} - -// =================================================================== - -class CCLCMsg_ServerStatus::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_simplified(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCLCMsg_ServerStatus::CCLCMsg_ServerStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCLCMsg_ServerStatus) -} -CCLCMsg_ServerStatus::CCLCMsg_ServerStatus(const CCLCMsg_ServerStatus& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCLCMsg_ServerStatus* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.simplified_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.simplified_ = from._impl_.simplified_; - // @@protoc_insertion_point(copy_constructor:CCLCMsg_ServerStatus) -} - -inline void CCLCMsg_ServerStatus::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.simplified_){false} - }; -} - -CCLCMsg_ServerStatus::~CCLCMsg_ServerStatus() { - // @@protoc_insertion_point(destructor:CCLCMsg_ServerStatus) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCLCMsg_ServerStatus::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCLCMsg_ServerStatus::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCLCMsg_ServerStatus::Clear() { -// @@protoc_insertion_point(message_clear_start:CCLCMsg_ServerStatus) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.simplified_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCLCMsg_ServerStatus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool simplified = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_simplified(&has_bits); - _impl_.simplified_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCLCMsg_ServerStatus::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_ServerStatus) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool simplified = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_simplified(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_ServerStatus) - return target; -} - -size_t CCLCMsg_ServerStatus::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_ServerStatus) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bool simplified = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_ServerStatus::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCLCMsg_ServerStatus::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_ServerStatus::GetClassData() const { return &_class_data_; } - - -void CCLCMsg_ServerStatus::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCLCMsg_ServerStatus) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_simplified()) { - _this->_internal_set_simplified(from._internal_simplified()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCLCMsg_ServerStatus::CopyFrom(const CCLCMsg_ServerStatus& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_ServerStatus) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCLCMsg_ServerStatus::IsInitialized() const { - return true; -} - -void CCLCMsg_ServerStatus::InternalSwap(CCLCMsg_ServerStatus* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.simplified_, other->_impl_.simplified_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_ServerStatus::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[10]); -} - -// =================================================================== - -class CCLCMsg_RequestPause::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_pause_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_pause_group(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCLCMsg_RequestPause::CCLCMsg_RequestPause(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCLCMsg_RequestPause) -} -CCLCMsg_RequestPause::CCLCMsg_RequestPause(const CCLCMsg_RequestPause& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCLCMsg_RequestPause* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pause_type_){} - , decltype(_impl_.pause_group_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.pause_type_, &from._impl_.pause_type_, - static_cast(reinterpret_cast(&_impl_.pause_group_) - - reinterpret_cast(&_impl_.pause_type_)) + sizeof(_impl_.pause_group_)); - // @@protoc_insertion_point(copy_constructor:CCLCMsg_RequestPause) -} - -inline void CCLCMsg_RequestPause::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pause_type_){0} - , decltype(_impl_.pause_group_){0} - }; -} - -CCLCMsg_RequestPause::~CCLCMsg_RequestPause() { - // @@protoc_insertion_point(destructor:CCLCMsg_RequestPause) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCLCMsg_RequestPause::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCLCMsg_RequestPause::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCLCMsg_RequestPause::Clear() { -// @@protoc_insertion_point(message_clear_start:CCLCMsg_RequestPause) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.pause_type_, 0, static_cast( - reinterpret_cast(&_impl_.pause_group_) - - reinterpret_cast(&_impl_.pause_type_)) + sizeof(_impl_.pause_group_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCLCMsg_RequestPause::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .RequestPause_t pause_type = 1 [default = RP_PAUSE]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::RequestPause_t_IsValid(val))) { - _internal_set_pause_type(static_cast<::RequestPause_t>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional int32 pause_group = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_pause_group(&has_bits); - _impl_.pause_group_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCLCMsg_RequestPause::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_RequestPause) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .RequestPause_t pause_type = 1 [default = RP_PAUSE]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_pause_type(), target); - } - - // optional int32 pause_group = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_pause_group(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_RequestPause) - return target; -} - -size_t CCLCMsg_RequestPause::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_RequestPause) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .RequestPause_t pause_type = 1 [default = RP_PAUSE]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_pause_type()); - } - - // optional int32 pause_group = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pause_group()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_RequestPause::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCLCMsg_RequestPause::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_RequestPause::GetClassData() const { return &_class_data_; } - - -void CCLCMsg_RequestPause::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCLCMsg_RequestPause) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.pause_type_ = from._impl_.pause_type_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.pause_group_ = from._impl_.pause_group_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCLCMsg_RequestPause::CopyFrom(const CCLCMsg_RequestPause& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_RequestPause) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCLCMsg_RequestPause::IsInitialized() const { - return true; -} - -void CCLCMsg_RequestPause::InternalSwap(CCLCMsg_RequestPause* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCLCMsg_RequestPause, _impl_.pause_group_) - + sizeof(CCLCMsg_RequestPause::_impl_.pause_group_) - - PROTOBUF_FIELD_OFFSET(CCLCMsg_RequestPause, _impl_.pause_type_)>( - reinterpret_cast(&_impl_.pause_type_), - reinterpret_cast(&other->_impl_.pause_type_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_RequestPause::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[11]); -} - -// =================================================================== - -class CCLCMsg_CmdKeyValues::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCLCMsg_CmdKeyValues::CCLCMsg_CmdKeyValues(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCLCMsg_CmdKeyValues) -} -CCLCMsg_CmdKeyValues::CCLCMsg_CmdKeyValues(const CCLCMsg_CmdKeyValues& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCLCMsg_CmdKeyValues* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CCLCMsg_CmdKeyValues) -} - -inline void CCLCMsg_CmdKeyValues::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - }; - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCLCMsg_CmdKeyValues::~CCLCMsg_CmdKeyValues() { - // @@protoc_insertion_point(destructor:CCLCMsg_CmdKeyValues) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCLCMsg_CmdKeyValues::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_.Destroy(); -} - -void CCLCMsg_CmdKeyValues::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCLCMsg_CmdKeyValues::Clear() { -// @@protoc_insertion_point(message_clear_start:CCLCMsg_CmdKeyValues) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCLCMsg_CmdKeyValues::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes data = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCLCMsg_CmdKeyValues::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_CmdKeyValues) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes data = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_CmdKeyValues) - return target; -} - -size_t CCLCMsg_CmdKeyValues::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_CmdKeyValues) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bytes data = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_CmdKeyValues::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCLCMsg_CmdKeyValues::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_CmdKeyValues::GetClassData() const { return &_class_data_; } - - -void CCLCMsg_CmdKeyValues::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCLCMsg_CmdKeyValues) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_data()) { - _this->_internal_set_data(from._internal_data()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCLCMsg_CmdKeyValues::CopyFrom(const CCLCMsg_CmdKeyValues& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_CmdKeyValues) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCLCMsg_CmdKeyValues::IsInitialized() const { - return true; -} - -void CCLCMsg_CmdKeyValues::InternalSwap(CCLCMsg_CmdKeyValues* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_CmdKeyValues::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[12]); -} - -// =================================================================== - -class CCLCMsg_RconServerDetails::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_token(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCLCMsg_RconServerDetails::CCLCMsg_RconServerDetails(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCLCMsg_RconServerDetails) -} -CCLCMsg_RconServerDetails::CCLCMsg_RconServerDetails(const CCLCMsg_RconServerDetails& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCLCMsg_RconServerDetails* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.token_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_token()) { - _this->_impl_.token_.Set(from._internal_token(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CCLCMsg_RconServerDetails) -} - -inline void CCLCMsg_RconServerDetails::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.token_){} - }; - _impl_.token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCLCMsg_RconServerDetails::~CCLCMsg_RconServerDetails() { - // @@protoc_insertion_point(destructor:CCLCMsg_RconServerDetails) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCLCMsg_RconServerDetails::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.token_.Destroy(); -} - -void CCLCMsg_RconServerDetails::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCLCMsg_RconServerDetails::Clear() { -// @@protoc_insertion_point(message_clear_start:CCLCMsg_RconServerDetails) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.token_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCLCMsg_RconServerDetails::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes token = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_token(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCLCMsg_RconServerDetails::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_RconServerDetails) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes token = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_token(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_RconServerDetails) - return target; -} - -size_t CCLCMsg_RconServerDetails::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_RconServerDetails) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bytes token = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_token()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_RconServerDetails::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCLCMsg_RconServerDetails::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_RconServerDetails::GetClassData() const { return &_class_data_; } - - -void CCLCMsg_RconServerDetails::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCLCMsg_RconServerDetails) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_token()) { - _this->_internal_set_token(from._internal_token()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCLCMsg_RconServerDetails::CopyFrom(const CCLCMsg_RconServerDetails& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_RconServerDetails) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCLCMsg_RconServerDetails::IsInitialized() const { - return true; -} - -void CCLCMsg_RconServerDetails::InternalSwap(CCLCMsg_RconServerDetails* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.token_, lhs_arena, - &other->_impl_.token_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_RconServerDetails::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[13]); -} - -// =================================================================== - -class CMsgSource2SystemSpecs::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_cpu_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_cpu_brand(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_cpu_model(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_cpu_num_physical(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_ram_physical_total_mb(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_gpu_rendersystem_dll_name(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_gpu_vendor_id(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_gpu_driver_name(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_gpu_driver_version_high(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_gpu_driver_version_low(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_gpu_dx_support_level(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_gpu_texture_memory_size_mb(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_backbuffer_width(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_backbuffer_height(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } -}; - -CMsgSource2SystemSpecs::CMsgSource2SystemSpecs(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSource2SystemSpecs) -} -CMsgSource2SystemSpecs::CMsgSource2SystemSpecs(const CMsgSource2SystemSpecs& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSource2SystemSpecs* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cpu_id_){} - , decltype(_impl_.cpu_brand_){} - , decltype(_impl_.gpu_rendersystem_dll_name_){} - , decltype(_impl_.gpu_driver_name_){} - , decltype(_impl_.cpu_model_){} - , decltype(_impl_.cpu_num_physical_){} - , decltype(_impl_.ram_physical_total_mb_){} - , decltype(_impl_.gpu_vendor_id_){} - , decltype(_impl_.gpu_driver_version_high_){} - , decltype(_impl_.gpu_driver_version_low_){} - , decltype(_impl_.gpu_dx_support_level_){} - , decltype(_impl_.gpu_texture_memory_size_mb_){} - , decltype(_impl_.backbuffer_width_){} - , decltype(_impl_.backbuffer_height_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.cpu_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cpu_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_cpu_id()) { - _this->_impl_.cpu_id_.Set(from._internal_cpu_id(), - _this->GetArenaForAllocation()); - } - _impl_.cpu_brand_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cpu_brand_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_cpu_brand()) { - _this->_impl_.cpu_brand_.Set(from._internal_cpu_brand(), - _this->GetArenaForAllocation()); - } - _impl_.gpu_rendersystem_dll_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gpu_rendersystem_dll_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_gpu_rendersystem_dll_name()) { - _this->_impl_.gpu_rendersystem_dll_name_.Set(from._internal_gpu_rendersystem_dll_name(), - _this->GetArenaForAllocation()); - } - _impl_.gpu_driver_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gpu_driver_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_gpu_driver_name()) { - _this->_impl_.gpu_driver_name_.Set(from._internal_gpu_driver_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.cpu_model_, &from._impl_.cpu_model_, - static_cast(reinterpret_cast(&_impl_.backbuffer_height_) - - reinterpret_cast(&_impl_.cpu_model_)) + sizeof(_impl_.backbuffer_height_)); - // @@protoc_insertion_point(copy_constructor:CMsgSource2SystemSpecs) -} - -inline void CMsgSource2SystemSpecs::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cpu_id_){} - , decltype(_impl_.cpu_brand_){} - , decltype(_impl_.gpu_rendersystem_dll_name_){} - , decltype(_impl_.gpu_driver_name_){} - , decltype(_impl_.cpu_model_){0u} - , decltype(_impl_.cpu_num_physical_){0u} - , decltype(_impl_.ram_physical_total_mb_){0u} - , decltype(_impl_.gpu_vendor_id_){0u} - , decltype(_impl_.gpu_driver_version_high_){0u} - , decltype(_impl_.gpu_driver_version_low_){0u} - , decltype(_impl_.gpu_dx_support_level_){0u} - , decltype(_impl_.gpu_texture_memory_size_mb_){0u} - , decltype(_impl_.backbuffer_width_){0u} - , decltype(_impl_.backbuffer_height_){0u} - }; - _impl_.cpu_id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cpu_id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cpu_brand_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cpu_brand_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gpu_rendersystem_dll_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gpu_rendersystem_dll_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gpu_driver_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gpu_driver_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSource2SystemSpecs::~CMsgSource2SystemSpecs() { - // @@protoc_insertion_point(destructor:CMsgSource2SystemSpecs) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSource2SystemSpecs::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.cpu_id_.Destroy(); - _impl_.cpu_brand_.Destroy(); - _impl_.gpu_rendersystem_dll_name_.Destroy(); - _impl_.gpu_driver_name_.Destroy(); -} - -void CMsgSource2SystemSpecs::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSource2SystemSpecs::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSource2SystemSpecs) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.cpu_id_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.cpu_brand_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.gpu_rendersystem_dll_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.gpu_driver_name_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000f0u) { - ::memset(&_impl_.cpu_model_, 0, static_cast( - reinterpret_cast(&_impl_.gpu_vendor_id_) - - reinterpret_cast(&_impl_.cpu_model_)) + sizeof(_impl_.gpu_vendor_id_)); - } - if (cached_has_bits & 0x00003f00u) { - ::memset(&_impl_.gpu_driver_version_high_, 0, static_cast( - reinterpret_cast(&_impl_.backbuffer_height_) - - reinterpret_cast(&_impl_.gpu_driver_version_high_)) + sizeof(_impl_.backbuffer_height_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSource2SystemSpecs::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string cpu_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_cpu_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSource2SystemSpecs.cpu_id"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string cpu_brand = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_cpu_brand(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSource2SystemSpecs.cpu_brand"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 cpu_model = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_cpu_model(&has_bits); - _impl_.cpu_model_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 cpu_num_physical = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_cpu_num_physical(&has_bits); - _impl_.cpu_num_physical_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ram_physical_total_mb = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { - _Internal::set_has_ram_physical_total_mb(&has_bits); - _impl_.ram_physical_total_mb_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string gpu_rendersystem_dll_name = 41; - case 41: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_gpu_rendersystem_dll_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSource2SystemSpecs.gpu_rendersystem_dll_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 gpu_vendor_id = 42; - case 42: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_gpu_vendor_id(&has_bits); - _impl_.gpu_vendor_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string gpu_driver_name = 43; - case 43: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_gpu_driver_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSource2SystemSpecs.gpu_driver_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 gpu_driver_version_high = 44; - case 44: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_gpu_driver_version_high(&has_bits); - _impl_.gpu_driver_version_high_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 gpu_driver_version_low = 45; - case 45: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_gpu_driver_version_low(&has_bits); - _impl_.gpu_driver_version_low_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 gpu_dx_support_level = 46; - case 46: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_gpu_dx_support_level(&has_bits); - _impl_.gpu_dx_support_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 gpu_texture_memory_size_mb = 47; - case 47: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_gpu_texture_memory_size_mb(&has_bits); - _impl_.gpu_texture_memory_size_mb_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 backbuffer_width = 51; - case 51: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_backbuffer_width(&has_bits); - _impl_.backbuffer_width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 backbuffer_height = 52; - case 52: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { - _Internal::set_has_backbuffer_height(&has_bits); - _impl_.backbuffer_height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSource2SystemSpecs::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2SystemSpecs) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string cpu_id = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_cpu_id().data(), static_cast(this->_internal_cpu_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSource2SystemSpecs.cpu_id"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_cpu_id(), target); - } - - // optional string cpu_brand = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_cpu_brand().data(), static_cast(this->_internal_cpu_brand().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSource2SystemSpecs.cpu_brand"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_cpu_brand(), target); - } - - // optional uint32 cpu_model = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_cpu_model(), target); - } - - // optional uint32 cpu_num_physical = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_cpu_num_physical(), target); - } - - // optional uint32 ram_physical_total_mb = 21; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_ram_physical_total_mb(), target); - } - - // optional string gpu_rendersystem_dll_name = 41; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_gpu_rendersystem_dll_name().data(), static_cast(this->_internal_gpu_rendersystem_dll_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSource2SystemSpecs.gpu_rendersystem_dll_name"); - target = stream->WriteStringMaybeAliased( - 41, this->_internal_gpu_rendersystem_dll_name(), target); - } - - // optional uint32 gpu_vendor_id = 42; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(42, this->_internal_gpu_vendor_id(), target); - } - - // optional string gpu_driver_name = 43; - if (cached_has_bits & 0x00000008u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_gpu_driver_name().data(), static_cast(this->_internal_gpu_driver_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSource2SystemSpecs.gpu_driver_name"); - target = stream->WriteStringMaybeAliased( - 43, this->_internal_gpu_driver_name(), target); - } - - // optional uint32 gpu_driver_version_high = 44; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(44, this->_internal_gpu_driver_version_high(), target); - } - - // optional uint32 gpu_driver_version_low = 45; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(45, this->_internal_gpu_driver_version_low(), target); - } - - // optional uint32 gpu_dx_support_level = 46; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(46, this->_internal_gpu_dx_support_level(), target); - } - - // optional uint32 gpu_texture_memory_size_mb = 47; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(47, this->_internal_gpu_texture_memory_size_mb(), target); - } - - // optional uint32 backbuffer_width = 51; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(51, this->_internal_backbuffer_width(), target); - } - - // optional uint32 backbuffer_height = 52; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(52, this->_internal_backbuffer_height(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSource2SystemSpecs) - return target; -} - -size_t CMsgSource2SystemSpecs::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSource2SystemSpecs) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string cpu_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_cpu_id()); - } - - // optional string cpu_brand = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_cpu_brand()); - } - - // optional string gpu_rendersystem_dll_name = 41; - if (cached_has_bits & 0x00000004u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_gpu_rendersystem_dll_name()); - } - - // optional string gpu_driver_name = 43; - if (cached_has_bits & 0x00000008u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_gpu_driver_name()); - } - - // optional uint32 cpu_model = 3; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cpu_model()); - } - - // optional uint32 cpu_num_physical = 4; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cpu_num_physical()); - } - - // optional uint32 ram_physical_total_mb = 21; - if (cached_has_bits & 0x00000040u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ram_physical_total_mb()); - } - - // optional uint32 gpu_vendor_id = 42; - if (cached_has_bits & 0x00000080u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_gpu_vendor_id()); - } - - } - if (cached_has_bits & 0x00003f00u) { - // optional uint32 gpu_driver_version_high = 44; - if (cached_has_bits & 0x00000100u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_gpu_driver_version_high()); - } - - // optional uint32 gpu_driver_version_low = 45; - if (cached_has_bits & 0x00000200u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_gpu_driver_version_low()); - } - - // optional uint32 gpu_dx_support_level = 46; - if (cached_has_bits & 0x00000400u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_gpu_dx_support_level()); - } - - // optional uint32 gpu_texture_memory_size_mb = 47; - if (cached_has_bits & 0x00000800u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_gpu_texture_memory_size_mb()); - } - - // optional uint32 backbuffer_width = 51; - if (cached_has_bits & 0x00001000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_backbuffer_width()); - } - - // optional uint32 backbuffer_height = 52; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_backbuffer_height()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2SystemSpecs::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSource2SystemSpecs::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2SystemSpecs::GetClassData() const { return &_class_data_; } - - -void CMsgSource2SystemSpecs::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource2SystemSpecs) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_cpu_id(from._internal_cpu_id()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_cpu_brand(from._internal_cpu_brand()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_gpu_rendersystem_dll_name(from._internal_gpu_rendersystem_dll_name()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_gpu_driver_name(from._internal_gpu_driver_name()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.cpu_model_ = from._impl_.cpu_model_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.cpu_num_physical_ = from._impl_.cpu_num_physical_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.ram_physical_total_mb_ = from._impl_.ram_physical_total_mb_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.gpu_vendor_id_ = from._impl_.gpu_vendor_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00003f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.gpu_driver_version_high_ = from._impl_.gpu_driver_version_high_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.gpu_driver_version_low_ = from._impl_.gpu_driver_version_low_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.gpu_dx_support_level_ = from._impl_.gpu_dx_support_level_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.gpu_texture_memory_size_mb_ = from._impl_.gpu_texture_memory_size_mb_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.backbuffer_width_ = from._impl_.backbuffer_width_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.backbuffer_height_ = from._impl_.backbuffer_height_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSource2SystemSpecs::CopyFrom(const CMsgSource2SystemSpecs& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2SystemSpecs) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSource2SystemSpecs::IsInitialized() const { - return true; -} - -void CMsgSource2SystemSpecs::InternalSwap(CMsgSource2SystemSpecs* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.cpu_id_, lhs_arena, - &other->_impl_.cpu_id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.cpu_brand_, lhs_arena, - &other->_impl_.cpu_brand_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.gpu_rendersystem_dll_name_, lhs_arena, - &other->_impl_.gpu_rendersystem_dll_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.gpu_driver_name_, lhs_arena, - &other->_impl_.gpu_driver_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSource2SystemSpecs, _impl_.backbuffer_height_) - + sizeof(CMsgSource2SystemSpecs::_impl_.backbuffer_height_) - - PROTOBUF_FIELD_OFFSET(CMsgSource2SystemSpecs, _impl_.cpu_model_)>( - reinterpret_cast(&_impl_.cpu_model_), - reinterpret_cast(&other->_impl_.cpu_model_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2SystemSpecs::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[14]); -} - -// =================================================================== - -class CMsgSource2VProfLiteReportItem::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_active_samples(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_active_samples_1secmax(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_usec_max(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_usec_avg_active(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_usec_p50_active(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_usec_p99_active(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_usec_avg_all(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_usec_p50_all(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_usec_p99_all(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_usec_1secmax_avg_active(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_usec_1secmax_p50_active(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_usec_1secmax_p95_active(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_usec_1secmax_p99_active(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_usec_1secmax_avg_all(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_usec_1secmax_p50_all(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_usec_1secmax_p95_all(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_usec_1secmax_p99_all(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } -}; - -CMsgSource2VProfLiteReportItem::CMsgSource2VProfLiteReportItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSource2VProfLiteReportItem) -} -CMsgSource2VProfLiteReportItem::CMsgSource2VProfLiteReportItem(const CMsgSource2VProfLiteReportItem& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSource2VProfLiteReportItem* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.active_samples_){} - , decltype(_impl_.usec_max_){} - , decltype(_impl_.active_samples_1secmax_){} - , decltype(_impl_.usec_avg_active_){} - , decltype(_impl_.usec_p50_active_){} - , decltype(_impl_.usec_p99_active_){} - , decltype(_impl_.usec_avg_all_){} - , decltype(_impl_.usec_p50_all_){} - , decltype(_impl_.usec_p99_all_){} - , decltype(_impl_.usec_1secmax_avg_active_){} - , decltype(_impl_.usec_1secmax_p50_active_){} - , decltype(_impl_.usec_1secmax_p95_active_){} - , decltype(_impl_.usec_1secmax_p99_active_){} - , decltype(_impl_.usec_1secmax_avg_all_){} - , decltype(_impl_.usec_1secmax_p50_all_){} - , decltype(_impl_.usec_1secmax_p95_all_){} - , decltype(_impl_.usec_1secmax_p99_all_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.active_samples_, &from._impl_.active_samples_, - static_cast(reinterpret_cast(&_impl_.usec_1secmax_p99_all_) - - reinterpret_cast(&_impl_.active_samples_)) + sizeof(_impl_.usec_1secmax_p99_all_)); - // @@protoc_insertion_point(copy_constructor:CMsgSource2VProfLiteReportItem) -} - -inline void CMsgSource2VProfLiteReportItem::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.active_samples_){0u} - , decltype(_impl_.usec_max_){0u} - , decltype(_impl_.active_samples_1secmax_){0u} - , decltype(_impl_.usec_avg_active_){0u} - , decltype(_impl_.usec_p50_active_){0u} - , decltype(_impl_.usec_p99_active_){0u} - , decltype(_impl_.usec_avg_all_){0u} - , decltype(_impl_.usec_p50_all_){0u} - , decltype(_impl_.usec_p99_all_){0u} - , decltype(_impl_.usec_1secmax_avg_active_){0u} - , decltype(_impl_.usec_1secmax_p50_active_){0u} - , decltype(_impl_.usec_1secmax_p95_active_){0u} - , decltype(_impl_.usec_1secmax_p99_active_){0u} - , decltype(_impl_.usec_1secmax_avg_all_){0u} - , decltype(_impl_.usec_1secmax_p50_all_){0u} - , decltype(_impl_.usec_1secmax_p95_all_){0u} - , decltype(_impl_.usec_1secmax_p99_all_){0u} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSource2VProfLiteReportItem::~CMsgSource2VProfLiteReportItem() { - // @@protoc_insertion_point(destructor:CMsgSource2VProfLiteReportItem) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSource2VProfLiteReportItem::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); -} - -void CMsgSource2VProfLiteReportItem::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSource2VProfLiteReportItem::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSource2VProfLiteReportItem) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x000000feu) { - ::memset(&_impl_.active_samples_, 0, static_cast( - reinterpret_cast(&_impl_.usec_avg_all_) - - reinterpret_cast(&_impl_.active_samples_)) + sizeof(_impl_.usec_avg_all_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.usec_p50_all_, 0, static_cast( - reinterpret_cast(&_impl_.usec_1secmax_p50_all_) - - reinterpret_cast(&_impl_.usec_p50_all_)) + sizeof(_impl_.usec_1secmax_p50_all_)); - } - if (cached_has_bits & 0x00030000u) { - ::memset(&_impl_.usec_1secmax_p95_all_, 0, static_cast( - reinterpret_cast(&_impl_.usec_1secmax_p99_all_) - - reinterpret_cast(&_impl_.usec_1secmax_p95_all_)) + sizeof(_impl_.usec_1secmax_p99_all_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSource2VProfLiteReportItem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSource2VProfLiteReportItem.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 active_samples = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_active_samples(&has_bits); - _impl_.active_samples_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_max = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_usec_max(&has_bits); - _impl_.usec_max_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 active_samples_1secmax = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_active_samples_1secmax(&has_bits); - _impl_.active_samples_1secmax_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_avg_active = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_usec_avg_active(&has_bits); - _impl_.usec_avg_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_p50_active = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_usec_p50_active(&has_bits); - _impl_.usec_p50_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_p99_active = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_usec_p99_active(&has_bits); - _impl_.usec_p99_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_avg_all = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { - _Internal::set_has_usec_avg_all(&has_bits); - _impl_.usec_avg_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_p50_all = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { - _Internal::set_has_usec_p50_all(&has_bits); - _impl_.usec_p50_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_p99_all = 23; - case 23: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 184)) { - _Internal::set_has_usec_p99_all(&has_bits); - _impl_.usec_p99_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_1secmax_avg_active = 31; - case 31: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 248)) { - _Internal::set_has_usec_1secmax_avg_active(&has_bits); - _impl_.usec_1secmax_avg_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_1secmax_p50_active = 32; - case 32: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { - _Internal::set_has_usec_1secmax_p50_active(&has_bits); - _impl_.usec_1secmax_p50_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_1secmax_p95_active = 33; - case 33: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_usec_1secmax_p95_active(&has_bits); - _impl_.usec_1secmax_p95_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_1secmax_p99_active = 34; - case 34: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_usec_1secmax_p99_active(&has_bits); - _impl_.usec_1secmax_p99_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_1secmax_avg_all = 41; - case 41: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_usec_1secmax_avg_all(&has_bits); - _impl_.usec_1secmax_avg_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_1secmax_p50_all = 42; - case 42: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_usec_1secmax_p50_all(&has_bits); - _impl_.usec_1secmax_p50_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_1secmax_p95_all = 43; - case 43: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_usec_1secmax_p95_all(&has_bits); - _impl_.usec_1secmax_p95_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 usec_1secmax_p99_all = 44; - case 44: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_usec_1secmax_p99_all(&has_bits); - _impl_.usec_1secmax_p99_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSource2VProfLiteReportItem::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2VProfLiteReportItem) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSource2VProfLiteReportItem.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // optional uint32 active_samples = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_active_samples(), target); - } - - // optional uint32 usec_max = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_usec_max(), target); - } - - // optional uint32 active_samples_1secmax = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_active_samples_1secmax(), target); - } - - // optional uint32 usec_avg_active = 11; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_usec_avg_active(), target); - } - - // optional uint32 usec_p50_active = 12; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_usec_p50_active(), target); - } - - // optional uint32 usec_p99_active = 13; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_usec_p99_active(), target); - } - - // optional uint32 usec_avg_all = 21; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_usec_avg_all(), target); - } - - // optional uint32 usec_p50_all = 22; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_usec_p50_all(), target); - } - - // optional uint32 usec_p99_all = 23; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(23, this->_internal_usec_p99_all(), target); - } - - // optional uint32 usec_1secmax_avg_active = 31; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(31, this->_internal_usec_1secmax_avg_active(), target); - } - - // optional uint32 usec_1secmax_p50_active = 32; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(32, this->_internal_usec_1secmax_p50_active(), target); - } - - // optional uint32 usec_1secmax_p95_active = 33; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(33, this->_internal_usec_1secmax_p95_active(), target); - } - - // optional uint32 usec_1secmax_p99_active = 34; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(34, this->_internal_usec_1secmax_p99_active(), target); - } - - // optional uint32 usec_1secmax_avg_all = 41; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(41, this->_internal_usec_1secmax_avg_all(), target); - } - - // optional uint32 usec_1secmax_p50_all = 42; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(42, this->_internal_usec_1secmax_p50_all(), target); - } - - // optional uint32 usec_1secmax_p95_all = 43; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(43, this->_internal_usec_1secmax_p95_all(), target); - } - - // optional uint32 usec_1secmax_p99_all = 44; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(44, this->_internal_usec_1secmax_p99_all(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSource2VProfLiteReportItem) - return target; -} - -size_t CMsgSource2VProfLiteReportItem::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSource2VProfLiteReportItem) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional uint32 active_samples = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_active_samples()); - } - - // optional uint32 usec_max = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_usec_max()); - } - - // optional uint32 active_samples_1secmax = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_active_samples_1secmax()); - } - - // optional uint32 usec_avg_active = 11; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_usec_avg_active()); - } - - // optional uint32 usec_p50_active = 12; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_usec_p50_active()); - } - - // optional uint32 usec_p99_active = 13; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_usec_p99_active()); - } - - // optional uint32 usec_avg_all = 21; - if (cached_has_bits & 0x00000080u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_avg_all()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional uint32 usec_p50_all = 22; - if (cached_has_bits & 0x00000100u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_p50_all()); - } - - // optional uint32 usec_p99_all = 23; - if (cached_has_bits & 0x00000200u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_p99_all()); - } - - // optional uint32 usec_1secmax_avg_active = 31; - if (cached_has_bits & 0x00000400u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_1secmax_avg_active()); - } - - // optional uint32 usec_1secmax_p50_active = 32; - if (cached_has_bits & 0x00000800u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_1secmax_p50_active()); - } - - // optional uint32 usec_1secmax_p95_active = 33; - if (cached_has_bits & 0x00001000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_1secmax_p95_active()); - } - - // optional uint32 usec_1secmax_p99_active = 34; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_1secmax_p99_active()); - } - - // optional uint32 usec_1secmax_avg_all = 41; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_1secmax_avg_all()); - } - - // optional uint32 usec_1secmax_p50_all = 42; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_1secmax_p50_all()); - } - - } - if (cached_has_bits & 0x00030000u) { - // optional uint32 usec_1secmax_p95_all = 43; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_1secmax_p95_all()); - } - - // optional uint32 usec_1secmax_p99_all = 44; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_usec_1secmax_p99_all()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2VProfLiteReportItem::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSource2VProfLiteReportItem::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2VProfLiteReportItem::GetClassData() const { return &_class_data_; } - - -void CMsgSource2VProfLiteReportItem::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource2VProfLiteReportItem) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.active_samples_ = from._impl_.active_samples_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.usec_max_ = from._impl_.usec_max_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.active_samples_1secmax_ = from._impl_.active_samples_1secmax_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.usec_avg_active_ = from._impl_.usec_avg_active_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.usec_p50_active_ = from._impl_.usec_p50_active_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.usec_p99_active_ = from._impl_.usec_p99_active_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.usec_avg_all_ = from._impl_.usec_avg_all_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.usec_p50_all_ = from._impl_.usec_p50_all_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.usec_p99_all_ = from._impl_.usec_p99_all_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.usec_1secmax_avg_active_ = from._impl_.usec_1secmax_avg_active_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.usec_1secmax_p50_active_ = from._impl_.usec_1secmax_p50_active_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.usec_1secmax_p95_active_ = from._impl_.usec_1secmax_p95_active_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.usec_1secmax_p99_active_ = from._impl_.usec_1secmax_p99_active_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.usec_1secmax_avg_all_ = from._impl_.usec_1secmax_avg_all_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.usec_1secmax_p50_all_ = from._impl_.usec_1secmax_p50_all_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00030000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.usec_1secmax_p95_all_ = from._impl_.usec_1secmax_p95_all_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.usec_1secmax_p99_all_ = from._impl_.usec_1secmax_p99_all_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSource2VProfLiteReportItem::CopyFrom(const CMsgSource2VProfLiteReportItem& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2VProfLiteReportItem) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSource2VProfLiteReportItem::IsInitialized() const { - return true; -} - -void CMsgSource2VProfLiteReportItem::InternalSwap(CMsgSource2VProfLiteReportItem* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSource2VProfLiteReportItem, _impl_.usec_1secmax_p99_all_) - + sizeof(CMsgSource2VProfLiteReportItem::_impl_.usec_1secmax_p99_all_) - - PROTOBUF_FIELD_OFFSET(CMsgSource2VProfLiteReportItem, _impl_.active_samples_)>( - reinterpret_cast(&_impl_.active_samples_), - reinterpret_cast(&other->_impl_.active_samples_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2VProfLiteReportItem::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[15]); -} - -// =================================================================== - -class CMsgSource2VProfLiteReport::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSource2VProfLiteReportItem& total(const CMsgSource2VProfLiteReport* msg); - static void set_has_total(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_discarded_frames(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgSource2VProfLiteReportItem& -CMsgSource2VProfLiteReport::_Internal::total(const CMsgSource2VProfLiteReport* msg) { - return *msg->_impl_.total_; -} -CMsgSource2VProfLiteReport::CMsgSource2VProfLiteReport(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSource2VProfLiteReport) -} -CMsgSource2VProfLiteReport::CMsgSource2VProfLiteReport(const CMsgSource2VProfLiteReport& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSource2VProfLiteReport* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.items_){from._impl_.items_} - , decltype(_impl_.total_){nullptr} - , decltype(_impl_.discarded_frames_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_total()) { - _this->_impl_.total_ = new ::CMsgSource2VProfLiteReportItem(*from._impl_.total_); - } - _this->_impl_.discarded_frames_ = from._impl_.discarded_frames_; - // @@protoc_insertion_point(copy_constructor:CMsgSource2VProfLiteReport) -} - -inline void CMsgSource2VProfLiteReport::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.items_){arena} - , decltype(_impl_.total_){nullptr} - , decltype(_impl_.discarded_frames_){0u} - }; -} - -CMsgSource2VProfLiteReport::~CMsgSource2VProfLiteReport() { - // @@protoc_insertion_point(destructor:CMsgSource2VProfLiteReport) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSource2VProfLiteReport::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.items_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.total_; -} - -void CMsgSource2VProfLiteReport::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSource2VProfLiteReport::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSource2VProfLiteReport) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.items_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.total_ != nullptr); - _impl_.total_->Clear(); - } - _impl_.discarded_frames_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSource2VProfLiteReport::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSource2VProfLiteReportItem total = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_total(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgSource2VProfLiteReportItem items = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_items(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 discarded_frames = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_discarded_frames(&has_bits); - _impl_.discarded_frames_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSource2VProfLiteReport::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2VProfLiteReport) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSource2VProfLiteReportItem total = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::total(this), - _Internal::total(this).GetCachedSize(), target, stream); - } - - // repeated .CMsgSource2VProfLiteReportItem items = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_items_size()); i < n; i++) { - const auto& repfield = this->_internal_items(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 discarded_frames = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_discarded_frames(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSource2VProfLiteReport) - return target; -} - -size_t CMsgSource2VProfLiteReport::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSource2VProfLiteReport) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSource2VProfLiteReportItem items = 2; - total_size += 1UL * this->_internal_items_size(); - for (const auto& msg : this->_impl_.items_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgSource2VProfLiteReportItem total = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.total_); - } - - // optional uint32 discarded_frames = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_discarded_frames()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2VProfLiteReport::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSource2VProfLiteReport::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2VProfLiteReport::GetClassData() const { return &_class_data_; } - - -void CMsgSource2VProfLiteReport::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource2VProfLiteReport) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.items_.MergeFrom(from._impl_.items_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_total()->::CMsgSource2VProfLiteReportItem::MergeFrom( - from._internal_total()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.discarded_frames_ = from._impl_.discarded_frames_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSource2VProfLiteReport::CopyFrom(const CMsgSource2VProfLiteReport& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2VProfLiteReport) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSource2VProfLiteReport::IsInitialized() const { - return true; -} - -void CMsgSource2VProfLiteReport::InternalSwap(CMsgSource2VProfLiteReport* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.items_.InternalSwap(&other->_impl_.items_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSource2VProfLiteReport, _impl_.discarded_frames_) - + sizeof(CMsgSource2VProfLiteReport::_impl_.discarded_frames_) - - PROTOBUF_FIELD_OFFSET(CMsgSource2VProfLiteReport, _impl_.total_)>( - reinterpret_cast(&_impl_.total_), - reinterpret_cast(&other->_impl_.total_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2VProfLiteReport::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[16]); -} - -// =================================================================== - -class CMsgSource2NetworkFlowQuality::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_duration(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_bytes_total(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_bytes_total_reliable(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_bytes_total_voice(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_bytes_sec_p95(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_bytes_sec_p99(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_enginemsgs_total(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_enginemsgs_sec_p95(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_enginemsgs_sec_p99(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_ticks_total(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_ticks_good(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_ticks_good_almost_late(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_ticks_fixed_dropped(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_ticks_fixed_late(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_ticks_bad_dropped(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_ticks_bad_late(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_ticks_bad_other(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_tick_missrate_samples_total(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } - static void set_has_tick_missrate_samples_perfect(HasBits* has_bits) { - (*has_bits)[0] |= 262144u; - } - static void set_has_tick_missrate_samples_perfectnet(HasBits* has_bits) { - (*has_bits)[0] |= 524288u; - } - static void set_has_tick_missratenet_p75_x10(HasBits* has_bits) { - (*has_bits)[0] |= 1048576u; - } - static void set_has_tick_missratenet_p95_x10(HasBits* has_bits) { - (*has_bits)[0] |= 2097152u; - } - static void set_has_tick_missratenet_p99_x10(HasBits* has_bits) { - (*has_bits)[0] |= 4194304u; - } - static void set_has_recvmargin_p1(HasBits* has_bits) { - (*has_bits)[0] |= 8388608u; - } - static void set_has_recvmargin_p5(HasBits* has_bits) { - (*has_bits)[0] |= 16777216u; - } - static void set_has_recvmargin_p25(HasBits* has_bits) { - (*has_bits)[0] |= 33554432u; - } - static void set_has_recvmargin_p50(HasBits* has_bits) { - (*has_bits)[0] |= 67108864u; - } - static void set_has_recvmargin_p75(HasBits* has_bits) { - (*has_bits)[0] |= 134217728u; - } - static void set_has_recvmargin_p95(HasBits* has_bits) { - (*has_bits)[0] |= 268435456u; - } -}; - -CMsgSource2NetworkFlowQuality::CMsgSource2NetworkFlowQuality(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSource2NetworkFlowQuality) -} -CMsgSource2NetworkFlowQuality::CMsgSource2NetworkFlowQuality(const CMsgSource2NetworkFlowQuality& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSource2NetworkFlowQuality* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.bytes_total_){} - , decltype(_impl_.duration_){} - , decltype(_impl_.bytes_sec_p95_){} - , decltype(_impl_.bytes_total_reliable_){} - , decltype(_impl_.bytes_total_voice_){} - , decltype(_impl_.bytes_sec_p99_){} - , decltype(_impl_.enginemsgs_total_){} - , decltype(_impl_.enginemsgs_sec_p95_){} - , decltype(_impl_.enginemsgs_sec_p99_){} - , decltype(_impl_.ticks_total_){} - , decltype(_impl_.ticks_good_){} - , decltype(_impl_.ticks_good_almost_late_){} - , decltype(_impl_.ticks_fixed_dropped_){} - , decltype(_impl_.ticks_fixed_late_){} - , decltype(_impl_.ticks_bad_dropped_){} - , decltype(_impl_.ticks_bad_late_){} - , decltype(_impl_.ticks_bad_other_){} - , decltype(_impl_.tick_missrate_samples_total_){} - , decltype(_impl_.tick_missrate_samples_perfect_){} - , decltype(_impl_.tick_missrate_samples_perfectnet_){} - , decltype(_impl_.tick_missratenet_p75_x10_){} - , decltype(_impl_.tick_missratenet_p95_x10_){} - , decltype(_impl_.tick_missratenet_p99_x10_){} - , decltype(_impl_.recvmargin_p1_){} - , decltype(_impl_.recvmargin_p5_){} - , decltype(_impl_.recvmargin_p25_){} - , decltype(_impl_.recvmargin_p50_){} - , decltype(_impl_.recvmargin_p75_){} - , decltype(_impl_.recvmargin_p95_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.bytes_total_, &from._impl_.bytes_total_, - static_cast(reinterpret_cast(&_impl_.recvmargin_p95_) - - reinterpret_cast(&_impl_.bytes_total_)) + sizeof(_impl_.recvmargin_p95_)); - // @@protoc_insertion_point(copy_constructor:CMsgSource2NetworkFlowQuality) -} - -inline void CMsgSource2NetworkFlowQuality::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.bytes_total_){uint64_t{0u}} - , decltype(_impl_.duration_){0u} - , decltype(_impl_.bytes_sec_p95_){0u} - , decltype(_impl_.bytes_total_reliable_){uint64_t{0u}} - , decltype(_impl_.bytes_total_voice_){uint64_t{0u}} - , decltype(_impl_.bytes_sec_p99_){0u} - , decltype(_impl_.enginemsgs_total_){0u} - , decltype(_impl_.enginemsgs_sec_p95_){0u} - , decltype(_impl_.enginemsgs_sec_p99_){0u} - , decltype(_impl_.ticks_total_){0u} - , decltype(_impl_.ticks_good_){0u} - , decltype(_impl_.ticks_good_almost_late_){0u} - , decltype(_impl_.ticks_fixed_dropped_){0u} - , decltype(_impl_.ticks_fixed_late_){0u} - , decltype(_impl_.ticks_bad_dropped_){0u} - , decltype(_impl_.ticks_bad_late_){0u} - , decltype(_impl_.ticks_bad_other_){0u} - , decltype(_impl_.tick_missrate_samples_total_){0u} - , decltype(_impl_.tick_missrate_samples_perfect_){0u} - , decltype(_impl_.tick_missrate_samples_perfectnet_){0u} - , decltype(_impl_.tick_missratenet_p75_x10_){0u} - , decltype(_impl_.tick_missratenet_p95_x10_){0u} - , decltype(_impl_.tick_missratenet_p99_x10_){0u} - , decltype(_impl_.recvmargin_p1_){0} - , decltype(_impl_.recvmargin_p5_){0} - , decltype(_impl_.recvmargin_p25_){0} - , decltype(_impl_.recvmargin_p50_){0} - , decltype(_impl_.recvmargin_p75_){0} - , decltype(_impl_.recvmargin_p95_){0} - }; -} - -CMsgSource2NetworkFlowQuality::~CMsgSource2NetworkFlowQuality() { - // @@protoc_insertion_point(destructor:CMsgSource2NetworkFlowQuality) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSource2NetworkFlowQuality::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSource2NetworkFlowQuality::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSource2NetworkFlowQuality::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSource2NetworkFlowQuality) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.bytes_total_, 0, static_cast( - reinterpret_cast(&_impl_.enginemsgs_sec_p95_) - - reinterpret_cast(&_impl_.bytes_total_)) + sizeof(_impl_.enginemsgs_sec_p95_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.enginemsgs_sec_p99_, 0, static_cast( - reinterpret_cast(&_impl_.ticks_bad_late_) - - reinterpret_cast(&_impl_.enginemsgs_sec_p99_)) + sizeof(_impl_.ticks_bad_late_)); - } - if (cached_has_bits & 0x00ff0000u) { - ::memset(&_impl_.ticks_bad_other_, 0, static_cast( - reinterpret_cast(&_impl_.recvmargin_p1_) - - reinterpret_cast(&_impl_.ticks_bad_other_)) + sizeof(_impl_.recvmargin_p1_)); - } - if (cached_has_bits & 0x1f000000u) { - ::memset(&_impl_.recvmargin_p5_, 0, static_cast( - reinterpret_cast(&_impl_.recvmargin_p95_) - - reinterpret_cast(&_impl_.recvmargin_p5_)) + sizeof(_impl_.recvmargin_p95_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSource2NetworkFlowQuality::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 duration = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_duration(&has_bits); - _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 bytes_total = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_bytes_total(&has_bits); - _impl_.bytes_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 bytes_total_reliable = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_bytes_total_reliable(&has_bits); - _impl_.bytes_total_reliable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 bytes_total_voice = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_bytes_total_voice(&has_bits); - _impl_.bytes_total_voice_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 bytes_sec_p95 = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_bytes_sec_p95(&has_bits); - _impl_.bytes_sec_p95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 bytes_sec_p99 = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_bytes_sec_p99(&has_bits); - _impl_.bytes_sec_p99_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 enginemsgs_total = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { - _Internal::set_has_enginemsgs_total(&has_bits); - _impl_.enginemsgs_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 enginemsgs_sec_p95 = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { - _Internal::set_has_enginemsgs_sec_p95(&has_bits); - _impl_.enginemsgs_sec_p95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 enginemsgs_sec_p99 = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { - _Internal::set_has_enginemsgs_sec_p99(&has_bits); - _impl_.enginemsgs_sec_p99_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ticks_total = 40; - case 40: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_ticks_total(&has_bits); - _impl_.ticks_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ticks_good = 41; - case 41: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_ticks_good(&has_bits); - _impl_.ticks_good_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ticks_good_almost_late = 42; - case 42: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_ticks_good_almost_late(&has_bits); - _impl_.ticks_good_almost_late_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ticks_fixed_dropped = 43; - case 43: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_ticks_fixed_dropped(&has_bits); - _impl_.ticks_fixed_dropped_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ticks_fixed_late = 44; - case 44: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_ticks_fixed_late(&has_bits); - _impl_.ticks_fixed_late_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ticks_bad_dropped = 45; - case 45: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_ticks_bad_dropped(&has_bits); - _impl_.ticks_bad_dropped_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ticks_bad_late = 46; - case 46: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_ticks_bad_late(&has_bits); - _impl_.ticks_bad_late_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ticks_bad_other = 47; - case 47: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_ticks_bad_other(&has_bits); - _impl_.ticks_bad_other_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tick_missrate_samples_total = 50; - case 50: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_tick_missrate_samples_total(&has_bits); - _impl_.tick_missrate_samples_total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tick_missrate_samples_perfect = 51; - case 51: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_tick_missrate_samples_perfect(&has_bits); - _impl_.tick_missrate_samples_perfect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tick_missrate_samples_perfectnet = 52; - case 52: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { - _Internal::set_has_tick_missrate_samples_perfectnet(&has_bits); - _impl_.tick_missrate_samples_perfectnet_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tick_missratenet_p75_x10 = 53; - case 53: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { - _Internal::set_has_tick_missratenet_p75_x10(&has_bits); - _impl_.tick_missratenet_p75_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tick_missratenet_p95_x10 = 54; - case 54: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { - _Internal::set_has_tick_missratenet_p95_x10(&has_bits); - _impl_.tick_missratenet_p95_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tick_missratenet_p99_x10 = 55; - case 55: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 184)) { - _Internal::set_has_tick_missratenet_p99_x10(&has_bits); - _impl_.tick_missratenet_p99_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional sint32 recvmargin_p1 = 61; - case 61: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 232)) { - _Internal::set_has_recvmargin_p1(&has_bits); - _impl_.recvmargin_p1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional sint32 recvmargin_p5 = 62; - case 62: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 240)) { - _Internal::set_has_recvmargin_p5(&has_bits); - _impl_.recvmargin_p5_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional sint32 recvmargin_p25 = 63; - case 63: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 248)) { - _Internal::set_has_recvmargin_p25(&has_bits); - _impl_.recvmargin_p25_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional sint32 recvmargin_p50 = 64; - case 64: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { - _Internal::set_has_recvmargin_p50(&has_bits); - _impl_.recvmargin_p50_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional sint32 recvmargin_p75 = 65; - case 65: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_recvmargin_p75(&has_bits); - _impl_.recvmargin_p75_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional sint32 recvmargin_p95 = 66; - case 66: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_recvmargin_p95(&has_bits); - _impl_.recvmargin_p95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSource2NetworkFlowQuality::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2NetworkFlowQuality) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 duration = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_duration(), target); - } - - // optional uint64 bytes_total = 5; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_bytes_total(), target); - } - - // optional uint64 bytes_total_reliable = 6; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_bytes_total_reliable(), target); - } - - // optional uint64 bytes_total_voice = 7; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_bytes_total_voice(), target); - } - - // optional uint32 bytes_sec_p95 = 10; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_bytes_sec_p95(), target); - } - - // optional uint32 bytes_sec_p99 = 11; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_bytes_sec_p99(), target); - } - - // optional uint32 enginemsgs_total = 20; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_enginemsgs_total(), target); - } - - // optional uint32 enginemsgs_sec_p95 = 21; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_enginemsgs_sec_p95(), target); - } - - // optional uint32 enginemsgs_sec_p99 = 22; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_enginemsgs_sec_p99(), target); - } - - // optional uint32 ticks_total = 40; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(40, this->_internal_ticks_total(), target); - } - - // optional uint32 ticks_good = 41; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(41, this->_internal_ticks_good(), target); - } - - // optional uint32 ticks_good_almost_late = 42; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(42, this->_internal_ticks_good_almost_late(), target); - } - - // optional uint32 ticks_fixed_dropped = 43; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(43, this->_internal_ticks_fixed_dropped(), target); - } - - // optional uint32 ticks_fixed_late = 44; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(44, this->_internal_ticks_fixed_late(), target); - } - - // optional uint32 ticks_bad_dropped = 45; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(45, this->_internal_ticks_bad_dropped(), target); - } - - // optional uint32 ticks_bad_late = 46; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(46, this->_internal_ticks_bad_late(), target); - } - - // optional uint32 ticks_bad_other = 47; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(47, this->_internal_ticks_bad_other(), target); - } - - // optional uint32 tick_missrate_samples_total = 50; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(50, this->_internal_tick_missrate_samples_total(), target); - } - - // optional uint32 tick_missrate_samples_perfect = 51; - if (cached_has_bits & 0x00040000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(51, this->_internal_tick_missrate_samples_perfect(), target); - } - - // optional uint32 tick_missrate_samples_perfectnet = 52; - if (cached_has_bits & 0x00080000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(52, this->_internal_tick_missrate_samples_perfectnet(), target); - } - - // optional uint32 tick_missratenet_p75_x10 = 53; - if (cached_has_bits & 0x00100000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(53, this->_internal_tick_missratenet_p75_x10(), target); - } - - // optional uint32 tick_missratenet_p95_x10 = 54; - if (cached_has_bits & 0x00200000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(54, this->_internal_tick_missratenet_p95_x10(), target); - } - - // optional uint32 tick_missratenet_p99_x10 = 55; - if (cached_has_bits & 0x00400000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(55, this->_internal_tick_missratenet_p99_x10(), target); - } - - // optional sint32 recvmargin_p1 = 61; - if (cached_has_bits & 0x00800000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(61, this->_internal_recvmargin_p1(), target); - } - - // optional sint32 recvmargin_p5 = 62; - if (cached_has_bits & 0x01000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(62, this->_internal_recvmargin_p5(), target); - } - - // optional sint32 recvmargin_p25 = 63; - if (cached_has_bits & 0x02000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(63, this->_internal_recvmargin_p25(), target); - } - - // optional sint32 recvmargin_p50 = 64; - if (cached_has_bits & 0x04000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(64, this->_internal_recvmargin_p50(), target); - } - - // optional sint32 recvmargin_p75 = 65; - if (cached_has_bits & 0x08000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(65, this->_internal_recvmargin_p75(), target); - } - - // optional sint32 recvmargin_p95 = 66; - if (cached_has_bits & 0x10000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(66, this->_internal_recvmargin_p95(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSource2NetworkFlowQuality) - return target; -} - -size_t CMsgSource2NetworkFlowQuality::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSource2NetworkFlowQuality) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional uint64 bytes_total = 5; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_bytes_total()); - } - - // optional uint32 duration = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_duration()); - } - - // optional uint32 bytes_sec_p95 = 10; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_bytes_sec_p95()); - } - - // optional uint64 bytes_total_reliable = 6; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_bytes_total_reliable()); - } - - // optional uint64 bytes_total_voice = 7; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_bytes_total_voice()); - } - - // optional uint32 bytes_sec_p99 = 11; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_bytes_sec_p99()); - } - - // optional uint32 enginemsgs_total = 20; - if (cached_has_bits & 0x00000040u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_enginemsgs_total()); - } - - // optional uint32 enginemsgs_sec_p95 = 21; - if (cached_has_bits & 0x00000080u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_enginemsgs_sec_p95()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional uint32 enginemsgs_sec_p99 = 22; - if (cached_has_bits & 0x00000100u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_enginemsgs_sec_p99()); - } - - // optional uint32 ticks_total = 40; - if (cached_has_bits & 0x00000200u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ticks_total()); - } - - // optional uint32 ticks_good = 41; - if (cached_has_bits & 0x00000400u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ticks_good()); - } - - // optional uint32 ticks_good_almost_late = 42; - if (cached_has_bits & 0x00000800u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ticks_good_almost_late()); - } - - // optional uint32 ticks_fixed_dropped = 43; - if (cached_has_bits & 0x00001000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ticks_fixed_dropped()); - } - - // optional uint32 ticks_fixed_late = 44; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ticks_fixed_late()); - } - - // optional uint32 ticks_bad_dropped = 45; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ticks_bad_dropped()); - } - - // optional uint32 ticks_bad_late = 46; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ticks_bad_late()); - } - - } - if (cached_has_bits & 0x00ff0000u) { - // optional uint32 ticks_bad_other = 47; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ticks_bad_other()); - } - - // optional uint32 tick_missrate_samples_total = 50; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_tick_missrate_samples_total()); - } - - // optional uint32 tick_missrate_samples_perfect = 51; - if (cached_has_bits & 0x00040000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_tick_missrate_samples_perfect()); - } - - // optional uint32 tick_missrate_samples_perfectnet = 52; - if (cached_has_bits & 0x00080000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_tick_missrate_samples_perfectnet()); - } - - // optional uint32 tick_missratenet_p75_x10 = 53; - if (cached_has_bits & 0x00100000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_tick_missratenet_p75_x10()); - } - - // optional uint32 tick_missratenet_p95_x10 = 54; - if (cached_has_bits & 0x00200000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_tick_missratenet_p95_x10()); - } - - // optional uint32 tick_missratenet_p99_x10 = 55; - if (cached_has_bits & 0x00400000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_tick_missratenet_p99_x10()); - } - - // optional sint32 recvmargin_p1 = 61; - if (cached_has_bits & 0x00800000u) { - total_size += 2 + - ::_pbi::WireFormatLite::SInt32Size( - this->_internal_recvmargin_p1()); - } - - } - if (cached_has_bits & 0x1f000000u) { - // optional sint32 recvmargin_p5 = 62; - if (cached_has_bits & 0x01000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::SInt32Size( - this->_internal_recvmargin_p5()); - } - - // optional sint32 recvmargin_p25 = 63; - if (cached_has_bits & 0x02000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::SInt32Size( - this->_internal_recvmargin_p25()); - } - - // optional sint32 recvmargin_p50 = 64; - if (cached_has_bits & 0x04000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::SInt32Size( - this->_internal_recvmargin_p50()); - } - - // optional sint32 recvmargin_p75 = 65; - if (cached_has_bits & 0x08000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::SInt32Size( - this->_internal_recvmargin_p75()); - } - - // optional sint32 recvmargin_p95 = 66; - if (cached_has_bits & 0x10000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::SInt32Size( - this->_internal_recvmargin_p95()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2NetworkFlowQuality::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSource2NetworkFlowQuality::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2NetworkFlowQuality::GetClassData() const { return &_class_data_; } - - -void CMsgSource2NetworkFlowQuality::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource2NetworkFlowQuality) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.bytes_total_ = from._impl_.bytes_total_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.duration_ = from._impl_.duration_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.bytes_sec_p95_ = from._impl_.bytes_sec_p95_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.bytes_total_reliable_ = from._impl_.bytes_total_reliable_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.bytes_total_voice_ = from._impl_.bytes_total_voice_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.bytes_sec_p99_ = from._impl_.bytes_sec_p99_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.enginemsgs_total_ = from._impl_.enginemsgs_total_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.enginemsgs_sec_p95_ = from._impl_.enginemsgs_sec_p95_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.enginemsgs_sec_p99_ = from._impl_.enginemsgs_sec_p99_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.ticks_total_ = from._impl_.ticks_total_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.ticks_good_ = from._impl_.ticks_good_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.ticks_good_almost_late_ = from._impl_.ticks_good_almost_late_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.ticks_fixed_dropped_ = from._impl_.ticks_fixed_dropped_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.ticks_fixed_late_ = from._impl_.ticks_fixed_late_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.ticks_bad_dropped_ = from._impl_.ticks_bad_dropped_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.ticks_bad_late_ = from._impl_.ticks_bad_late_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00ff0000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.ticks_bad_other_ = from._impl_.ticks_bad_other_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.tick_missrate_samples_total_ = from._impl_.tick_missrate_samples_total_; - } - if (cached_has_bits & 0x00040000u) { - _this->_impl_.tick_missrate_samples_perfect_ = from._impl_.tick_missrate_samples_perfect_; - } - if (cached_has_bits & 0x00080000u) { - _this->_impl_.tick_missrate_samples_perfectnet_ = from._impl_.tick_missrate_samples_perfectnet_; - } - if (cached_has_bits & 0x00100000u) { - _this->_impl_.tick_missratenet_p75_x10_ = from._impl_.tick_missratenet_p75_x10_; - } - if (cached_has_bits & 0x00200000u) { - _this->_impl_.tick_missratenet_p95_x10_ = from._impl_.tick_missratenet_p95_x10_; - } - if (cached_has_bits & 0x00400000u) { - _this->_impl_.tick_missratenet_p99_x10_ = from._impl_.tick_missratenet_p99_x10_; - } - if (cached_has_bits & 0x00800000u) { - _this->_impl_.recvmargin_p1_ = from._impl_.recvmargin_p1_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x1f000000u) { - if (cached_has_bits & 0x01000000u) { - _this->_impl_.recvmargin_p5_ = from._impl_.recvmargin_p5_; - } - if (cached_has_bits & 0x02000000u) { - _this->_impl_.recvmargin_p25_ = from._impl_.recvmargin_p25_; - } - if (cached_has_bits & 0x04000000u) { - _this->_impl_.recvmargin_p50_ = from._impl_.recvmargin_p50_; - } - if (cached_has_bits & 0x08000000u) { - _this->_impl_.recvmargin_p75_ = from._impl_.recvmargin_p75_; - } - if (cached_has_bits & 0x10000000u) { - _this->_impl_.recvmargin_p95_ = from._impl_.recvmargin_p95_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSource2NetworkFlowQuality::CopyFrom(const CMsgSource2NetworkFlowQuality& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2NetworkFlowQuality) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSource2NetworkFlowQuality::IsInitialized() const { - return true; -} - -void CMsgSource2NetworkFlowQuality::InternalSwap(CMsgSource2NetworkFlowQuality* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSource2NetworkFlowQuality, _impl_.recvmargin_p95_) - + sizeof(CMsgSource2NetworkFlowQuality::_impl_.recvmargin_p95_) - - PROTOBUF_FIELD_OFFSET(CMsgSource2NetworkFlowQuality, _impl_.bytes_total_)>( - reinterpret_cast(&_impl_.bytes_total_), - reinterpret_cast(&other->_impl_.bytes_total_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2NetworkFlowQuality::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[17]); -} - -// =================================================================== - -class CMsgSource2PerfIntervalSample_Tag::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_tag(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_max_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgSource2PerfIntervalSample_Tag::CMsgSource2PerfIntervalSample_Tag(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSource2PerfIntervalSample.Tag) -} -CMsgSource2PerfIntervalSample_Tag::CMsgSource2PerfIntervalSample_Tag(const CMsgSource2PerfIntervalSample_Tag& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSource2PerfIntervalSample_Tag* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tag_){} - , decltype(_impl_.max_value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.tag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.tag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_tag()) { - _this->_impl_.tag_.Set(from._internal_tag(), - _this->GetArenaForAllocation()); - } - _this->_impl_.max_value_ = from._impl_.max_value_; - // @@protoc_insertion_point(copy_constructor:CMsgSource2PerfIntervalSample.Tag) -} - -inline void CMsgSource2PerfIntervalSample_Tag::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tag_){} - , decltype(_impl_.max_value_){0u} - }; - _impl_.tag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.tag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSource2PerfIntervalSample_Tag::~CMsgSource2PerfIntervalSample_Tag() { - // @@protoc_insertion_point(destructor:CMsgSource2PerfIntervalSample.Tag) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSource2PerfIntervalSample_Tag::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.tag_.Destroy(); -} - -void CMsgSource2PerfIntervalSample_Tag::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSource2PerfIntervalSample_Tag::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSource2PerfIntervalSample.Tag) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.tag_.ClearNonDefaultToEmpty(); - } - _impl_.max_value_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSource2PerfIntervalSample_Tag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string tag = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_tag(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSource2PerfIntervalSample.Tag.tag"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 max_value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_max_value(&has_bits); - _impl_.max_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSource2PerfIntervalSample_Tag::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2PerfIntervalSample.Tag) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string tag = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_tag().data(), static_cast(this->_internal_tag().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSource2PerfIntervalSample.Tag.tag"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_tag(), target); - } - - // optional uint32 max_value = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_max_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSource2PerfIntervalSample.Tag) - return target; -} - -size_t CMsgSource2PerfIntervalSample_Tag::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSource2PerfIntervalSample.Tag) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string tag = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_tag()); - } - - // optional uint32 max_value = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_max_value()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2PerfIntervalSample_Tag::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSource2PerfIntervalSample_Tag::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2PerfIntervalSample_Tag::GetClassData() const { return &_class_data_; } - - -void CMsgSource2PerfIntervalSample_Tag::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource2PerfIntervalSample.Tag) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_tag(from._internal_tag()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.max_value_ = from._impl_.max_value_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSource2PerfIntervalSample_Tag::CopyFrom(const CMsgSource2PerfIntervalSample_Tag& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2PerfIntervalSample.Tag) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSource2PerfIntervalSample_Tag::IsInitialized() const { - return true; -} - -void CMsgSource2PerfIntervalSample_Tag::InternalSwap(CMsgSource2PerfIntervalSample_Tag* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.tag_, lhs_arena, - &other->_impl_.tag_, rhs_arena - ); - swap(_impl_.max_value_, other->_impl_.max_value_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2PerfIntervalSample_Tag::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[18]); -} - -// =================================================================== - -class CMsgSource2PerfIntervalSample::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_frame_time_max_ms(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_frame_time_avg_ms(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_frame_time_min_ms(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_frame_count(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_frame_time_total_ms(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CMsgSource2PerfIntervalSample::CMsgSource2PerfIntervalSample(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSource2PerfIntervalSample) -} -CMsgSource2PerfIntervalSample::CMsgSource2PerfIntervalSample(const CMsgSource2PerfIntervalSample& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSource2PerfIntervalSample* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tags_){from._impl_.tags_} - , decltype(_impl_.frame_time_max_ms_){} - , decltype(_impl_.frame_time_avg_ms_){} - , decltype(_impl_.frame_time_min_ms_){} - , decltype(_impl_.frame_count_){} - , decltype(_impl_.frame_time_total_ms_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.frame_time_max_ms_, &from._impl_.frame_time_max_ms_, - static_cast(reinterpret_cast(&_impl_.frame_time_total_ms_) - - reinterpret_cast(&_impl_.frame_time_max_ms_)) + sizeof(_impl_.frame_time_total_ms_)); - // @@protoc_insertion_point(copy_constructor:CMsgSource2PerfIntervalSample) -} - -inline void CMsgSource2PerfIntervalSample::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tags_){arena} - , decltype(_impl_.frame_time_max_ms_){0} - , decltype(_impl_.frame_time_avg_ms_){0} - , decltype(_impl_.frame_time_min_ms_){0} - , decltype(_impl_.frame_count_){0} - , decltype(_impl_.frame_time_total_ms_){0} - }; -} - -CMsgSource2PerfIntervalSample::~CMsgSource2PerfIntervalSample() { - // @@protoc_insertion_point(destructor:CMsgSource2PerfIntervalSample) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSource2PerfIntervalSample::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.tags_.~RepeatedPtrField(); -} - -void CMsgSource2PerfIntervalSample::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSource2PerfIntervalSample::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSource2PerfIntervalSample) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.tags_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.frame_time_max_ms_, 0, static_cast( - reinterpret_cast(&_impl_.frame_time_total_ms_) - - reinterpret_cast(&_impl_.frame_time_max_ms_)) + sizeof(_impl_.frame_time_total_ms_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSource2PerfIntervalSample::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float frame_time_max_ms = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_frame_time_max_ms(&has_bits); - _impl_.frame_time_max_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float frame_time_avg_ms = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_frame_time_avg_ms(&has_bits); - _impl_.frame_time_avg_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float frame_time_min_ms = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_frame_time_min_ms(&has_bits); - _impl_.frame_time_min_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 frame_count = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_frame_count(&has_bits); - _impl_.frame_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float frame_time_total_ms = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_frame_time_total_ms(&has_bits); - _impl_.frame_time_total_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_tags(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSource2PerfIntervalSample::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSource2PerfIntervalSample) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float frame_time_max_ms = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_frame_time_max_ms(), target); - } - - // optional float frame_time_avg_ms = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_frame_time_avg_ms(), target); - } - - // optional float frame_time_min_ms = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_frame_time_min_ms(), target); - } - - // optional int32 frame_count = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_frame_count(), target); - } - - // optional float frame_time_total_ms = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_frame_time_total_ms(), target); - } - - // repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; - for (unsigned i = 0, - n = static_cast(this->_internal_tags_size()); i < n; i++) { - const auto& repfield = this->_internal_tags(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSource2PerfIntervalSample) - return target; -} - -size_t CMsgSource2PerfIntervalSample::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSource2PerfIntervalSample) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; - total_size += 1UL * this->_internal_tags_size(); - for (const auto& msg : this->_impl_.tags_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional float frame_time_max_ms = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional float frame_time_avg_ms = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float frame_time_min_ms = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional int32 frame_count = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_frame_count()); - } - - // optional float frame_time_total_ms = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSource2PerfIntervalSample::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSource2PerfIntervalSample::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSource2PerfIntervalSample::GetClassData() const { return &_class_data_; } - - -void CMsgSource2PerfIntervalSample::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSource2PerfIntervalSample) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.tags_.MergeFrom(from._impl_.tags_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.frame_time_max_ms_ = from._impl_.frame_time_max_ms_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.frame_time_avg_ms_ = from._impl_.frame_time_avg_ms_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.frame_time_min_ms_ = from._impl_.frame_time_min_ms_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.frame_count_ = from._impl_.frame_count_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.frame_time_total_ms_ = from._impl_.frame_time_total_ms_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSource2PerfIntervalSample::CopyFrom(const CMsgSource2PerfIntervalSample& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSource2PerfIntervalSample) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSource2PerfIntervalSample::IsInitialized() const { - return true; -} - -void CMsgSource2PerfIntervalSample::InternalSwap(CMsgSource2PerfIntervalSample* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.tags_.InternalSwap(&other->_impl_.tags_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSource2PerfIntervalSample, _impl_.frame_time_total_ms_) - + sizeof(CMsgSource2PerfIntervalSample::_impl_.frame_time_total_ms_) - - PROTOBUF_FIELD_OFFSET(CMsgSource2PerfIntervalSample, _impl_.frame_time_max_ms_)>( - reinterpret_cast(&_impl_.frame_time_max_ms_), - reinterpret_cast(&other->_impl_.frame_time_max_ms_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSource2PerfIntervalSample::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[19]); -} - -// =================================================================== - -class CCLCMsg_Diagnostic::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSource2SystemSpecs& system_specs(const CCLCMsg_Diagnostic* msg); - static void set_has_system_specs(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgSource2VProfLiteReport& vprof_report(const CCLCMsg_Diagnostic* msg); - static void set_has_vprof_report(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgSource2NetworkFlowQuality& downstream_flow(const CCLCMsg_Diagnostic* msg); - static void set_has_downstream_flow(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgSource2NetworkFlowQuality& upstream_flow(const CCLCMsg_Diagnostic* msg); - static void set_has_upstream_flow(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::CMsgSource2SystemSpecs& -CCLCMsg_Diagnostic::_Internal::system_specs(const CCLCMsg_Diagnostic* msg) { - return *msg->_impl_.system_specs_; -} -const ::CMsgSource2VProfLiteReport& -CCLCMsg_Diagnostic::_Internal::vprof_report(const CCLCMsg_Diagnostic* msg) { - return *msg->_impl_.vprof_report_; -} -const ::CMsgSource2NetworkFlowQuality& -CCLCMsg_Diagnostic::_Internal::downstream_flow(const CCLCMsg_Diagnostic* msg) { - return *msg->_impl_.downstream_flow_; -} -const ::CMsgSource2NetworkFlowQuality& -CCLCMsg_Diagnostic::_Internal::upstream_flow(const CCLCMsg_Diagnostic* msg) { - return *msg->_impl_.upstream_flow_; -} -CCLCMsg_Diagnostic::CCLCMsg_Diagnostic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCLCMsg_Diagnostic) -} -CCLCMsg_Diagnostic::CCLCMsg_Diagnostic(const CCLCMsg_Diagnostic& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCLCMsg_Diagnostic* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.perf_samples_){from._impl_.perf_samples_} - , decltype(_impl_.system_specs_){nullptr} - , decltype(_impl_.vprof_report_){nullptr} - , decltype(_impl_.downstream_flow_){nullptr} - , decltype(_impl_.upstream_flow_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_system_specs()) { - _this->_impl_.system_specs_ = new ::CMsgSource2SystemSpecs(*from._impl_.system_specs_); - } - if (from._internal_has_vprof_report()) { - _this->_impl_.vprof_report_ = new ::CMsgSource2VProfLiteReport(*from._impl_.vprof_report_); - } - if (from._internal_has_downstream_flow()) { - _this->_impl_.downstream_flow_ = new ::CMsgSource2NetworkFlowQuality(*from._impl_.downstream_flow_); - } - if (from._internal_has_upstream_flow()) { - _this->_impl_.upstream_flow_ = new ::CMsgSource2NetworkFlowQuality(*from._impl_.upstream_flow_); - } - // @@protoc_insertion_point(copy_constructor:CCLCMsg_Diagnostic) -} - -inline void CCLCMsg_Diagnostic::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.perf_samples_){arena} - , decltype(_impl_.system_specs_){nullptr} - , decltype(_impl_.vprof_report_){nullptr} - , decltype(_impl_.downstream_flow_){nullptr} - , decltype(_impl_.upstream_flow_){nullptr} - }; -} - -CCLCMsg_Diagnostic::~CCLCMsg_Diagnostic() { - // @@protoc_insertion_point(destructor:CCLCMsg_Diagnostic) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCLCMsg_Diagnostic::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.perf_samples_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.system_specs_; - if (this != internal_default_instance()) delete _impl_.vprof_report_; - if (this != internal_default_instance()) delete _impl_.downstream_flow_; - if (this != internal_default_instance()) delete _impl_.upstream_flow_; -} - -void CCLCMsg_Diagnostic::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCLCMsg_Diagnostic::Clear() { -// @@protoc_insertion_point(message_clear_start:CCLCMsg_Diagnostic) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.perf_samples_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.system_specs_ != nullptr); - _impl_.system_specs_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.vprof_report_ != nullptr); - _impl_.vprof_report_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.downstream_flow_ != nullptr); - _impl_.downstream_flow_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.upstream_flow_ != nullptr); - _impl_.upstream_flow_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCLCMsg_Diagnostic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSource2SystemSpecs system_specs = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_system_specs(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSource2VProfLiteReport vprof_report = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_vprof_report(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSource2NetworkFlowQuality downstream_flow = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_downstream_flow(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSource2NetworkFlowQuality upstream_flow = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_upstream_flow(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgSource2PerfIntervalSample perf_samples = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_perf_samples(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCLCMsg_Diagnostic::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_Diagnostic) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSource2SystemSpecs system_specs = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::system_specs(this), - _Internal::system_specs(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSource2VProfLiteReport vprof_report = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::vprof_report(this), - _Internal::vprof_report(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSource2NetworkFlowQuality downstream_flow = 3; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::downstream_flow(this), - _Internal::downstream_flow(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSource2NetworkFlowQuality upstream_flow = 4; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::upstream_flow(this), - _Internal::upstream_flow(this).GetCachedSize(), target, stream); - } - - // repeated .CMsgSource2PerfIntervalSample perf_samples = 5; - for (unsigned i = 0, - n = static_cast(this->_internal_perf_samples_size()); i < n; i++) { - const auto& repfield = this->_internal_perf_samples(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_Diagnostic) - return target; -} - -size_t CCLCMsg_Diagnostic::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_Diagnostic) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSource2PerfIntervalSample perf_samples = 5; - total_size += 1UL * this->_internal_perf_samples_size(); - for (const auto& msg : this->_impl_.perf_samples_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional .CMsgSource2SystemSpecs system_specs = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.system_specs_); - } - - // optional .CMsgSource2VProfLiteReport vprof_report = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.vprof_report_); - } - - // optional .CMsgSource2NetworkFlowQuality downstream_flow = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.downstream_flow_); - } - - // optional .CMsgSource2NetworkFlowQuality upstream_flow = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.upstream_flow_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_Diagnostic::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCLCMsg_Diagnostic::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_Diagnostic::GetClassData() const { return &_class_data_; } - - -void CCLCMsg_Diagnostic::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCLCMsg_Diagnostic) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.perf_samples_.MergeFrom(from._impl_.perf_samples_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_system_specs()->::CMsgSource2SystemSpecs::MergeFrom( - from._internal_system_specs()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_vprof_report()->::CMsgSource2VProfLiteReport::MergeFrom( - from._internal_vprof_report()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_downstream_flow()->::CMsgSource2NetworkFlowQuality::MergeFrom( - from._internal_downstream_flow()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_upstream_flow()->::CMsgSource2NetworkFlowQuality::MergeFrom( - from._internal_upstream_flow()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCLCMsg_Diagnostic::CopyFrom(const CCLCMsg_Diagnostic& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_Diagnostic) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCLCMsg_Diagnostic::IsInitialized() const { - return true; -} - -void CCLCMsg_Diagnostic::InternalSwap(CCLCMsg_Diagnostic* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.perf_samples_.InternalSwap(&other->_impl_.perf_samples_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCLCMsg_Diagnostic, _impl_.upstream_flow_) - + sizeof(CCLCMsg_Diagnostic::_impl_.upstream_flow_) - - PROTOBUF_FIELD_OFFSET(CCLCMsg_Diagnostic, _impl_.system_specs_)>( - reinterpret_cast(&_impl_.system_specs_), - reinterpret_cast(&other->_impl_.system_specs_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_Diagnostic::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[20]); -} - -// =================================================================== - -class CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSource2SystemSpecs& system_specs(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg); - static void set_has_system_specs(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgSource2VProfLiteReport& profile(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg); - static void set_has_profile(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_build_id(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static const ::CMsgSource2NetworkFlowQuality& downstream_flow(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg); - static void set_has_downstream_flow(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgSource2NetworkFlowQuality& upstream_flow(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg); - static void set_has_upstream_flow(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -const ::CMsgSource2SystemSpecs& -CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal::system_specs(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg) { - return *msg->_impl_.system_specs_; -} -const ::CMsgSource2VProfLiteReport& -CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal::profile(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg) { - return *msg->_impl_.profile_; -} -const ::CMsgSource2NetworkFlowQuality& -CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal::downstream_flow(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg) { - return *msg->_impl_.downstream_flow_; -} -const ::CMsgSource2NetworkFlowQuality& -CSource2Metrics_MatchPerfSummary_Notification_Client::_Internal::upstream_flow(const CSource2Metrics_MatchPerfSummary_Notification_Client* msg) { - return *msg->_impl_.upstream_flow_; -} -CSource2Metrics_MatchPerfSummary_Notification_Client::CSource2Metrics_MatchPerfSummary_Notification_Client(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSource2Metrics_MatchPerfSummary_Notification.Client) -} -CSource2Metrics_MatchPerfSummary_Notification_Client::CSource2Metrics_MatchPerfSummary_Notification_Client(const CSource2Metrics_MatchPerfSummary_Notification_Client& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSource2Metrics_MatchPerfSummary_Notification_Client* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.perf_samples_){from._impl_.perf_samples_} - , decltype(_impl_.system_specs_){nullptr} - , decltype(_impl_.profile_){nullptr} - , decltype(_impl_.downstream_flow_){nullptr} - , decltype(_impl_.upstream_flow_){nullptr} - , decltype(_impl_.steamid_){} - , decltype(_impl_.build_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_system_specs()) { - _this->_impl_.system_specs_ = new ::CMsgSource2SystemSpecs(*from._impl_.system_specs_); - } - if (from._internal_has_profile()) { - _this->_impl_.profile_ = new ::CMsgSource2VProfLiteReport(*from._impl_.profile_); - } - if (from._internal_has_downstream_flow()) { - _this->_impl_.downstream_flow_ = new ::CMsgSource2NetworkFlowQuality(*from._impl_.downstream_flow_); - } - if (from._internal_has_upstream_flow()) { - _this->_impl_.upstream_flow_ = new ::CMsgSource2NetworkFlowQuality(*from._impl_.upstream_flow_); - } - ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, - static_cast(reinterpret_cast(&_impl_.build_id_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.build_id_)); - // @@protoc_insertion_point(copy_constructor:CSource2Metrics_MatchPerfSummary_Notification.Client) -} - -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.perf_samples_){arena} - , decltype(_impl_.system_specs_){nullptr} - , decltype(_impl_.profile_){nullptr} - , decltype(_impl_.downstream_flow_){nullptr} - , decltype(_impl_.upstream_flow_){nullptr} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.build_id_){0u} - }; -} - -CSource2Metrics_MatchPerfSummary_Notification_Client::~CSource2Metrics_MatchPerfSummary_Notification_Client() { - // @@protoc_insertion_point(destructor:CSource2Metrics_MatchPerfSummary_Notification.Client) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.perf_samples_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.system_specs_; - if (this != internal_default_instance()) delete _impl_.profile_; - if (this != internal_default_instance()) delete _impl_.downstream_flow_; - if (this != internal_default_instance()) delete _impl_.upstream_flow_; -} - -void CSource2Metrics_MatchPerfSummary_Notification_Client::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSource2Metrics_MatchPerfSummary_Notification_Client::Clear() { -// @@protoc_insertion_point(message_clear_start:CSource2Metrics_MatchPerfSummary_Notification.Client) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.perf_samples_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.system_specs_ != nullptr); - _impl_.system_specs_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.profile_ != nullptr); - _impl_.profile_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.downstream_flow_ != nullptr); - _impl_.downstream_flow_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.upstream_flow_ != nullptr); - _impl_.upstream_flow_->Clear(); - } - } - if (cached_has_bits & 0x00000030u) { - ::memset(&_impl_.steamid_, 0, static_cast( - reinterpret_cast(&_impl_.build_id_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.build_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSource2Metrics_MatchPerfSummary_Notification_Client::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSource2SystemSpecs system_specs = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_system_specs(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSource2VProfLiteReport profile = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_profile(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 build_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_build_id(&has_bits); - _impl_.build_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_downstream_flow(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_upstream_flow(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 steamid = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 81)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // repeated .CMsgSource2PerfIntervalSample perf_samples = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_perf_samples(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<90>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSource2Metrics_MatchPerfSummary_Notification_Client::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSource2Metrics_MatchPerfSummary_Notification.Client) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSource2SystemSpecs system_specs = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::system_specs(this), - _Internal::system_specs(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSource2VProfLiteReport profile = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::profile(this), - _Internal::profile(this).GetCachedSize(), target, stream); - } - - // optional uint32 build_id = 3; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_build_id(), target); - } - - // optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::downstream_flow(this), - _Internal::downstream_flow(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::upstream_flow(this), - _Internal::upstream_flow(this).GetCachedSize(), target, stream); - } - - // optional fixed64 steamid = 10; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(10, this->_internal_steamid(), target); - } - - // repeated .CMsgSource2PerfIntervalSample perf_samples = 11; - for (unsigned i = 0, - n = static_cast(this->_internal_perf_samples_size()); i < n; i++) { - const auto& repfield = this->_internal_perf_samples(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(11, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSource2Metrics_MatchPerfSummary_Notification.Client) - return target; -} - -size_t CSource2Metrics_MatchPerfSummary_Notification_Client::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSource2Metrics_MatchPerfSummary_Notification.Client) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSource2PerfIntervalSample perf_samples = 11; - total_size += 1UL * this->_internal_perf_samples_size(); - for (const auto& msg : this->_impl_.perf_samples_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional .CMsgSource2SystemSpecs system_specs = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.system_specs_); - } - - // optional .CMsgSource2VProfLiteReport profile = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.profile_); - } - - // optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.downstream_flow_); - } - - // optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.upstream_flow_); - } - - // optional fixed64 steamid = 10; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 8; - } - - // optional uint32 build_id = 3; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_build_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSource2Metrics_MatchPerfSummary_Notification_Client::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSource2Metrics_MatchPerfSummary_Notification_Client::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSource2Metrics_MatchPerfSummary_Notification_Client::GetClassData() const { return &_class_data_; } - - -void CSource2Metrics_MatchPerfSummary_Notification_Client::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSource2Metrics_MatchPerfSummary_Notification.Client) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.perf_samples_.MergeFrom(from._impl_.perf_samples_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_system_specs()->::CMsgSource2SystemSpecs::MergeFrom( - from._internal_system_specs()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_profile()->::CMsgSource2VProfLiteReport::MergeFrom( - from._internal_profile()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_downstream_flow()->::CMsgSource2NetworkFlowQuality::MergeFrom( - from._internal_downstream_flow()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_upstream_flow()->::CMsgSource2NetworkFlowQuality::MergeFrom( - from._internal_upstream_flow()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.build_id_ = from._impl_.build_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSource2Metrics_MatchPerfSummary_Notification_Client::CopyFrom(const CSource2Metrics_MatchPerfSummary_Notification_Client& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSource2Metrics_MatchPerfSummary_Notification.Client) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSource2Metrics_MatchPerfSummary_Notification_Client::IsInitialized() const { - return true; -} - -void CSource2Metrics_MatchPerfSummary_Notification_Client::InternalSwap(CSource2Metrics_MatchPerfSummary_Notification_Client* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.perf_samples_.InternalSwap(&other->_impl_.perf_samples_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.build_id_) - + sizeof(CSource2Metrics_MatchPerfSummary_Notification_Client::_impl_.build_id_) - - PROTOBUF_FIELD_OFFSET(CSource2Metrics_MatchPerfSummary_Notification_Client, _impl_.system_specs_)>( - reinterpret_cast(&_impl_.system_specs_), - reinterpret_cast(&other->_impl_.system_specs_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSource2Metrics_MatchPerfSummary_Notification_Client::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[21]); -} - -// =================================================================== - -class CSource2Metrics_MatchPerfSummary_Notification::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_game_mode(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_server_build_id(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_server_popid(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static const ::CMsgSource2VProfLiteReport& server_profile(const CSource2Metrics_MatchPerfSummary_Notification* msg); - static void set_has_server_profile(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_map(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgSource2VProfLiteReport& -CSource2Metrics_MatchPerfSummary_Notification::_Internal::server_profile(const CSource2Metrics_MatchPerfSummary_Notification* msg) { - return *msg->_impl_.server_profile_; -} -CSource2Metrics_MatchPerfSummary_Notification::CSource2Metrics_MatchPerfSummary_Notification(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSource2Metrics_MatchPerfSummary_Notification) -} -CSource2Metrics_MatchPerfSummary_Notification::CSource2Metrics_MatchPerfSummary_Notification(const CSource2Metrics_MatchPerfSummary_Notification& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSource2Metrics_MatchPerfSummary_Notification* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.clients_){from._impl_.clients_} - , decltype(_impl_.game_mode_){} - , decltype(_impl_.map_){} - , decltype(_impl_.server_profile_){nullptr} - , decltype(_impl_.appid_){} - , decltype(_impl_.server_build_id_){} - , decltype(_impl_.server_popid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.game_mode_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_mode_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_game_mode()) { - _this->_impl_.game_mode_.Set(from._internal_game_mode(), - _this->GetArenaForAllocation()); - } - _impl_.map_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_map()) { - _this->_impl_.map_.Set(from._internal_map(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_server_profile()) { - _this->_impl_.server_profile_ = new ::CMsgSource2VProfLiteReport(*from._impl_.server_profile_); - } - ::memcpy(&_impl_.appid_, &from._impl_.appid_, - static_cast(reinterpret_cast(&_impl_.server_popid_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.server_popid_)); - // @@protoc_insertion_point(copy_constructor:CSource2Metrics_MatchPerfSummary_Notification) -} - -inline void CSource2Metrics_MatchPerfSummary_Notification::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.clients_){arena} - , decltype(_impl_.game_mode_){} - , decltype(_impl_.map_){} - , decltype(_impl_.server_profile_){nullptr} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.server_build_id_){0u} - , decltype(_impl_.server_popid_){0u} - }; - _impl_.game_mode_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_mode_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSource2Metrics_MatchPerfSummary_Notification::~CSource2Metrics_MatchPerfSummary_Notification() { - // @@protoc_insertion_point(destructor:CSource2Metrics_MatchPerfSummary_Notification) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSource2Metrics_MatchPerfSummary_Notification::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.clients_.~RepeatedPtrField(); - _impl_.game_mode_.Destroy(); - _impl_.map_.Destroy(); - if (this != internal_default_instance()) delete _impl_.server_profile_; -} - -void CSource2Metrics_MatchPerfSummary_Notification::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSource2Metrics_MatchPerfSummary_Notification::Clear() { -// @@protoc_insertion_point(message_clear_start:CSource2Metrics_MatchPerfSummary_Notification) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.clients_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.game_mode_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.map_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.server_profile_ != nullptr); - _impl_.server_profile_->Clear(); - } - } - if (cached_has_bits & 0x00000038u) { - ::memset(&_impl_.appid_, 0, static_cast( - reinterpret_cast(&_impl_.server_popid_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.server_popid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSource2Metrics_MatchPerfSummary_Notification::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string game_mode = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_game_mode(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSource2Metrics_MatchPerfSummary_Notification.game_mode"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 server_build_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_server_build_id(&has_bits); - _impl_.server_build_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 server_popid = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_server_popid(&has_bits); - _impl_.server_popid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional .CMsgSource2VProfLiteReport server_profile = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr = ctx->ParseMessage(_internal_mutable_server_profile(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_clients(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<90>(ptr)); - } else - goto handle_unusual; - continue; - // optional string map = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { - auto str = _internal_mutable_map(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSource2Metrics_MatchPerfSummary_Notification.map"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSource2Metrics_MatchPerfSummary_Notification::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSource2Metrics_MatchPerfSummary_Notification) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // optional string game_mode = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_game_mode().data(), static_cast(this->_internal_game_mode().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSource2Metrics_MatchPerfSummary_Notification.game_mode"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_game_mode(), target); - } - - // optional uint32 server_build_id = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_server_build_id(), target); - } - - // optional fixed32 server_popid = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_server_popid(), target); - } - - // optional .CMsgSource2VProfLiteReport server_profile = 10; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, _Internal::server_profile(this), - _Internal::server_profile(this).GetCachedSize(), target, stream); - } - - // repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; - for (unsigned i = 0, - n = static_cast(this->_internal_clients_size()); i < n; i++) { - const auto& repfield = this->_internal_clients(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(11, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional string map = 20; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_map().data(), static_cast(this->_internal_map().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSource2Metrics_MatchPerfSummary_Notification.map"); - target = stream->WriteStringMaybeAliased( - 20, this->_internal_map(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSource2Metrics_MatchPerfSummary_Notification) - return target; -} - -size_t CSource2Metrics_MatchPerfSummary_Notification::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSource2Metrics_MatchPerfSummary_Notification) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; - total_size += 1UL * this->_internal_clients_size(); - for (const auto& msg : this->_impl_.clients_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional string game_mode = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_game_mode()); - } - - // optional string map = 20; - if (cached_has_bits & 0x00000002u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_map()); - } - - // optional .CMsgSource2VProfLiteReport server_profile = 10; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.server_profile_); - } - - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional uint32 server_build_id = 3; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_build_id()); - } - - // optional fixed32 server_popid = 4; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSource2Metrics_MatchPerfSummary_Notification::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSource2Metrics_MatchPerfSummary_Notification::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSource2Metrics_MatchPerfSummary_Notification::GetClassData() const { return &_class_data_; } - - -void CSource2Metrics_MatchPerfSummary_Notification::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSource2Metrics_MatchPerfSummary_Notification) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.clients_.MergeFrom(from._impl_.clients_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_game_mode(from._internal_game_mode()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_map(from._internal_map()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_server_profile()->::CMsgSource2VProfLiteReport::MergeFrom( - from._internal_server_profile()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.server_build_id_ = from._impl_.server_build_id_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.server_popid_ = from._impl_.server_popid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSource2Metrics_MatchPerfSummary_Notification::CopyFrom(const CSource2Metrics_MatchPerfSummary_Notification& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSource2Metrics_MatchPerfSummary_Notification) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSource2Metrics_MatchPerfSummary_Notification::IsInitialized() const { - return true; -} - -void CSource2Metrics_MatchPerfSummary_Notification::InternalSwap(CSource2Metrics_MatchPerfSummary_Notification* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.clients_.InternalSwap(&other->_impl_.clients_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.game_mode_, lhs_arena, - &other->_impl_.game_mode_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.map_, lhs_arena, - &other->_impl_.map_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_popid_) - + sizeof(CSource2Metrics_MatchPerfSummary_Notification::_impl_.server_popid_) - - PROTOBUF_FIELD_OFFSET(CSource2Metrics_MatchPerfSummary_Notification, _impl_.server_profile_)>( - reinterpret_cast(&_impl_.server_profile_), - reinterpret_cast(&other->_impl_.server_profile_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSource2Metrics_MatchPerfSummary_Notification::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[22]); -} - -// =================================================================== - -class CSVCMsg_ServerInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_protocol(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_server_count(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_is_dedicated(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_is_hltv(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_c_os(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_max_clients(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_max_classes(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_player_slot(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_tick_interval(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_game_dir(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_map_name(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_sky_name(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_host_name(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_addon_name(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static const ::CSVCMsg_GameSessionConfiguration& game_session_config(const CSVCMsg_ServerInfo* msg); - static void set_has_game_session_config(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_game_session_manifest(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } -}; - -const ::CSVCMsg_GameSessionConfiguration& -CSVCMsg_ServerInfo::_Internal::game_session_config(const CSVCMsg_ServerInfo* msg) { - return *msg->_impl_.game_session_config_; -} -void CSVCMsg_ServerInfo::clear_game_session_config() { - if (_impl_.game_session_config_ != nullptr) _impl_.game_session_config_->Clear(); - _impl_._has_bits_[0] &= ~0x00000040u; -} -CSVCMsg_ServerInfo::CSVCMsg_ServerInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_ServerInfo) -} -CSVCMsg_ServerInfo::CSVCMsg_ServerInfo(const CSVCMsg_ServerInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_ServerInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.game_dir_){} - , decltype(_impl_.map_name_){} - , decltype(_impl_.sky_name_){} - , decltype(_impl_.host_name_){} - , decltype(_impl_.addon_name_){} - , decltype(_impl_.game_session_manifest_){} - , decltype(_impl_.game_session_config_){nullptr} - , decltype(_impl_.protocol_){} - , decltype(_impl_.server_count_){} - , decltype(_impl_.is_dedicated_){} - , decltype(_impl_.is_hltv_){} - , decltype(_impl_.c_os_){} - , decltype(_impl_.max_clients_){} - , decltype(_impl_.max_classes_){} - , decltype(_impl_.tick_interval_){} - , decltype(_impl_.player_slot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.game_dir_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_dir_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_game_dir()) { - _this->_impl_.game_dir_.Set(from._internal_game_dir(), - _this->GetArenaForAllocation()); - } - _impl_.map_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_map_name()) { - _this->_impl_.map_name_.Set(from._internal_map_name(), - _this->GetArenaForAllocation()); - } - _impl_.sky_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sky_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_sky_name()) { - _this->_impl_.sky_name_.Set(from._internal_sky_name(), - _this->GetArenaForAllocation()); - } - _impl_.host_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.host_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_host_name()) { - _this->_impl_.host_name_.Set(from._internal_host_name(), - _this->GetArenaForAllocation()); - } - _impl_.addon_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.addon_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_addon_name()) { - _this->_impl_.addon_name_.Set(from._internal_addon_name(), - _this->GetArenaForAllocation()); - } - _impl_.game_session_manifest_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_session_manifest_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_game_session_manifest()) { - _this->_impl_.game_session_manifest_.Set(from._internal_game_session_manifest(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_game_session_config()) { - _this->_impl_.game_session_config_ = new ::CSVCMsg_GameSessionConfiguration(*from._impl_.game_session_config_); - } - ::memcpy(&_impl_.protocol_, &from._impl_.protocol_, - static_cast(reinterpret_cast(&_impl_.player_slot_) - - reinterpret_cast(&_impl_.protocol_)) + sizeof(_impl_.player_slot_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_ServerInfo) -} - -inline void CSVCMsg_ServerInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.game_dir_){} - , decltype(_impl_.map_name_){} - , decltype(_impl_.sky_name_){} - , decltype(_impl_.host_name_){} - , decltype(_impl_.addon_name_){} - , decltype(_impl_.game_session_manifest_){} - , decltype(_impl_.game_session_config_){nullptr} - , decltype(_impl_.protocol_){0} - , decltype(_impl_.server_count_){0} - , decltype(_impl_.is_dedicated_){false} - , decltype(_impl_.is_hltv_){false} - , decltype(_impl_.c_os_){0} - , decltype(_impl_.max_clients_){0} - , decltype(_impl_.max_classes_){0} - , decltype(_impl_.tick_interval_){0} - , decltype(_impl_.player_slot_){-1} - }; - _impl_.game_dir_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_dir_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sky_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sky_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.host_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.host_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.addon_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.addon_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_session_manifest_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_session_manifest_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_ServerInfo::~CSVCMsg_ServerInfo() { - // @@protoc_insertion_point(destructor:CSVCMsg_ServerInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_ServerInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.game_dir_.Destroy(); - _impl_.map_name_.Destroy(); - _impl_.sky_name_.Destroy(); - _impl_.host_name_.Destroy(); - _impl_.addon_name_.Destroy(); - _impl_.game_session_manifest_.Destroy(); - if (this != internal_default_instance()) delete _impl_.game_session_config_; -} - -void CSVCMsg_ServerInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_ServerInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_ServerInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.game_dir_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.map_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.sky_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.host_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000010u) { - _impl_.addon_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000020u) { - _impl_.game_session_manifest_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000040u) { - GOOGLE_DCHECK(_impl_.game_session_config_ != nullptr); - _impl_.game_session_config_->Clear(); - } - } - _impl_.protocol_ = 0; - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.server_count_, 0, static_cast( - reinterpret_cast(&_impl_.tick_interval_) - - reinterpret_cast(&_impl_.server_count_)) + sizeof(_impl_.tick_interval_)); - _impl_.player_slot_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_ServerInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 protocol = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_protocol(&has_bits); - _impl_.protocol_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 server_count = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_server_count(&has_bits); - _impl_.server_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_dedicated = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_is_dedicated(&has_bits); - _impl_.is_dedicated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_hltv = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_is_hltv(&has_bits); - _impl_.is_hltv_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 c_os = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_c_os(&has_bits); - _impl_.c_os_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 max_clients = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_max_clients(&has_bits); - _impl_.max_clients_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 max_classes = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_max_classes(&has_bits); - _impl_.max_classes_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 player_slot = 12 [default = -1]; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_player_slot(&has_bits); - _impl_.player_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float tick_interval = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 109)) { - _Internal::set_has_tick_interval(&has_bits); - _impl_.tick_interval_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional string game_dir = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - auto str = _internal_mutable_game_dir(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_ServerInfo.game_dir"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string map_name = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - auto str = _internal_mutable_map_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_ServerInfo.map_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string sky_name = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { - auto str = _internal_mutable_sky_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_ServerInfo.sky_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string host_name = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { - auto str = _internal_mutable_host_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_ServerInfo.host_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string addon_name = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { - auto str = _internal_mutable_addon_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_ServerInfo.addon_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional .CSVCMsg_GameSessionConfiguration game_session_config = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { - ptr = ctx->ParseMessage(_internal_mutable_game_session_config(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes game_session_manifest = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { - auto str = _internal_mutable_game_session_manifest(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_ServerInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_ServerInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 protocol = 1; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_protocol(), target); - } - - // optional int32 server_count = 2; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_server_count(), target); - } - - // optional bool is_dedicated = 3; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_is_dedicated(), target); - } - - // optional bool is_hltv = 4; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_is_hltv(), target); - } - - // optional int32 c_os = 6; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_c_os(), target); - } - - // optional int32 max_clients = 10; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_max_clients(), target); - } - - // optional int32 max_classes = 11; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_max_classes(), target); - } - - // optional int32 player_slot = 12 [default = -1]; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_player_slot(), target); - } - - // optional float tick_interval = 13; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(13, this->_internal_tick_interval(), target); - } - - // optional string game_dir = 14; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_game_dir().data(), static_cast(this->_internal_game_dir().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_ServerInfo.game_dir"); - target = stream->WriteStringMaybeAliased( - 14, this->_internal_game_dir(), target); - } - - // optional string map_name = 15; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_map_name().data(), static_cast(this->_internal_map_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_ServerInfo.map_name"); - target = stream->WriteStringMaybeAliased( - 15, this->_internal_map_name(), target); - } - - // optional string sky_name = 16; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_sky_name().data(), static_cast(this->_internal_sky_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_ServerInfo.sky_name"); - target = stream->WriteStringMaybeAliased( - 16, this->_internal_sky_name(), target); - } - - // optional string host_name = 17; - if (cached_has_bits & 0x00000008u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_host_name().data(), static_cast(this->_internal_host_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_ServerInfo.host_name"); - target = stream->WriteStringMaybeAliased( - 17, this->_internal_host_name(), target); - } - - // optional string addon_name = 18; - if (cached_has_bits & 0x00000010u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_addon_name().data(), static_cast(this->_internal_addon_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_ServerInfo.addon_name"); - target = stream->WriteStringMaybeAliased( - 18, this->_internal_addon_name(), target); - } - - // optional .CSVCMsg_GameSessionConfiguration game_session_config = 19; - if (cached_has_bits & 0x00000040u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(19, _Internal::game_session_config(this), - _Internal::game_session_config(this).GetCachedSize(), target, stream); - } - - // optional bytes game_session_manifest = 20; - if (cached_has_bits & 0x00000020u) { - target = stream->WriteBytesMaybeAliased( - 20, this->_internal_game_session_manifest(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_ServerInfo) - return target; -} - -size_t CSVCMsg_ServerInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_ServerInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string game_dir = 14; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_game_dir()); - } - - // optional string map_name = 15; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_map_name()); - } - - // optional string sky_name = 16; - if (cached_has_bits & 0x00000004u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_sky_name()); - } - - // optional string host_name = 17; - if (cached_has_bits & 0x00000008u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_host_name()); - } - - // optional string addon_name = 18; - if (cached_has_bits & 0x00000010u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_addon_name()); - } - - // optional bytes game_session_manifest = 20; - if (cached_has_bits & 0x00000020u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_game_session_manifest()); - } - - // optional .CSVCMsg_GameSessionConfiguration game_session_config = 19; - if (cached_has_bits & 0x00000040u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.game_session_config_); - } - - // optional int32 protocol = 1; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_protocol()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional int32 server_count = 2; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_server_count()); - } - - // optional bool is_dedicated = 3; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 1; - } - - // optional bool is_hltv = 4; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 1; - } - - // optional int32 c_os = 6; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_c_os()); - } - - // optional int32 max_clients = 10; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_max_clients()); - } - - // optional int32 max_classes = 11; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_max_classes()); - } - - // optional float tick_interval = 13; - if (cached_has_bits & 0x00004000u) { - total_size += 1 + 4; - } - - // optional int32 player_slot = 12 [default = -1]; - if (cached_has_bits & 0x00008000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_slot()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_ServerInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_ServerInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_ServerInfo::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_ServerInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_ServerInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_game_dir(from._internal_game_dir()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_map_name(from._internal_map_name()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_sky_name(from._internal_sky_name()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_host_name(from._internal_host_name()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_set_addon_name(from._internal_addon_name()); - } - if (cached_has_bits & 0x00000020u) { - _this->_internal_set_game_session_manifest(from._internal_game_session_manifest()); - } - if (cached_has_bits & 0x00000040u) { - _this->_internal_mutable_game_session_config()->::CSVCMsg_GameSessionConfiguration::MergeFrom( - from._internal_game_session_config()); - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.protocol_ = from._impl_.protocol_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.server_count_ = from._impl_.server_count_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.is_dedicated_ = from._impl_.is_dedicated_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.is_hltv_ = from._impl_.is_hltv_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.c_os_ = from._impl_.c_os_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.max_clients_ = from._impl_.max_clients_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.max_classes_ = from._impl_.max_classes_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.tick_interval_ = from._impl_.tick_interval_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.player_slot_ = from._impl_.player_slot_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_ServerInfo::CopyFrom(const CSVCMsg_ServerInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_ServerInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_ServerInfo::IsInitialized() const { - return true; -} - -void CSVCMsg_ServerInfo::InternalSwap(CSVCMsg_ServerInfo* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.game_dir_, lhs_arena, - &other->_impl_.game_dir_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.map_name_, lhs_arena, - &other->_impl_.map_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.sky_name_, lhs_arena, - &other->_impl_.sky_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.host_name_, lhs_arena, - &other->_impl_.host_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.addon_name_, lhs_arena, - &other->_impl_.addon_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.game_session_manifest_, lhs_arena, - &other->_impl_.game_session_manifest_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_ServerInfo, _impl_.tick_interval_) - + sizeof(CSVCMsg_ServerInfo::_impl_.tick_interval_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_ServerInfo, _impl_.game_session_config_)>( - reinterpret_cast(&_impl_.game_session_config_), - reinterpret_cast(&other->_impl_.game_session_config_)); - swap(_impl_.player_slot_, other->_impl_.player_slot_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_ServerInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[23]); -} - -// =================================================================== - -class CSVCMsg_ClassInfo_class_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_class_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_class_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_ClassInfo_class_t::CSVCMsg_ClassInfo_class_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_ClassInfo.class_t) -} -CSVCMsg_ClassInfo_class_t::CSVCMsg_ClassInfo_class_t(const CSVCMsg_ClassInfo_class_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_ClassInfo_class_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.class_name_){} - , decltype(_impl_.class_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.class_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.class_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_class_name()) { - _this->_impl_.class_name_.Set(from._internal_class_name(), - _this->GetArenaForAllocation()); - } - _this->_impl_.class_id_ = from._impl_.class_id_; - // @@protoc_insertion_point(copy_constructor:CSVCMsg_ClassInfo.class_t) -} - -inline void CSVCMsg_ClassInfo_class_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.class_name_){} - , decltype(_impl_.class_id_){0} - }; - _impl_.class_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.class_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_ClassInfo_class_t::~CSVCMsg_ClassInfo_class_t() { - // @@protoc_insertion_point(destructor:CSVCMsg_ClassInfo.class_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_ClassInfo_class_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.class_name_.Destroy(); -} - -void CSVCMsg_ClassInfo_class_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_ClassInfo_class_t::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_ClassInfo.class_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.class_name_.ClearNonDefaultToEmpty(); - } - _impl_.class_id_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_ClassInfo_class_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 class_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_class_id(&has_bits); - _impl_.class_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string class_name = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_class_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_ClassInfo.class_t.class_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_ClassInfo_class_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_ClassInfo.class_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 class_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_class_id(), target); - } - - // optional string class_name = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_class_name().data(), static_cast(this->_internal_class_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_ClassInfo.class_t.class_name"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_class_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_ClassInfo.class_t) - return target; -} - -size_t CSVCMsg_ClassInfo_class_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_ClassInfo.class_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string class_name = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_class_name()); - } - - // optional int32 class_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_class_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_ClassInfo_class_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_ClassInfo_class_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_ClassInfo_class_t::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_ClassInfo_class_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_ClassInfo.class_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_class_name(from._internal_class_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.class_id_ = from._impl_.class_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_ClassInfo_class_t::CopyFrom(const CSVCMsg_ClassInfo_class_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_ClassInfo.class_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_ClassInfo_class_t::IsInitialized() const { - return true; -} - -void CSVCMsg_ClassInfo_class_t::InternalSwap(CSVCMsg_ClassInfo_class_t* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.class_name_, lhs_arena, - &other->_impl_.class_name_, rhs_arena - ); - swap(_impl_.class_id_, other->_impl_.class_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_ClassInfo_class_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[24]); -} - -// =================================================================== - -class CSVCMsg_ClassInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_create_on_client(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_ClassInfo::CSVCMsg_ClassInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_ClassInfo) -} -CSVCMsg_ClassInfo::CSVCMsg_ClassInfo(const CSVCMsg_ClassInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_ClassInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.classes_){from._impl_.classes_} - , decltype(_impl_.create_on_client_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.create_on_client_ = from._impl_.create_on_client_; - // @@protoc_insertion_point(copy_constructor:CSVCMsg_ClassInfo) -} - -inline void CSVCMsg_ClassInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.classes_){arena} - , decltype(_impl_.create_on_client_){false} - }; -} - -CSVCMsg_ClassInfo::~CSVCMsg_ClassInfo() { - // @@protoc_insertion_point(destructor:CSVCMsg_ClassInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_ClassInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.classes_.~RepeatedPtrField(); -} - -void CSVCMsg_ClassInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_ClassInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_ClassInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.classes_.Clear(); - _impl_.create_on_client_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_ClassInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool create_on_client = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_create_on_client(&has_bits); - _impl_.create_on_client_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CSVCMsg_ClassInfo.class_t classes = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_classes(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_ClassInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_ClassInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool create_on_client = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_create_on_client(), target); - } - - // repeated .CSVCMsg_ClassInfo.class_t classes = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_classes_size()); i < n; i++) { - const auto& repfield = this->_internal_classes(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_ClassInfo) - return target; -} - -size_t CSVCMsg_ClassInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_ClassInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CSVCMsg_ClassInfo.class_t classes = 2; - total_size += 1UL * this->_internal_classes_size(); - for (const auto& msg : this->_impl_.classes_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional bool create_on_client = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_ClassInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_ClassInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_ClassInfo::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_ClassInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_ClassInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.classes_.MergeFrom(from._impl_.classes_); - if (from._internal_has_create_on_client()) { - _this->_internal_set_create_on_client(from._internal_create_on_client()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_ClassInfo::CopyFrom(const CSVCMsg_ClassInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_ClassInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_ClassInfo::IsInitialized() const { - return true; -} - -void CSVCMsg_ClassInfo::InternalSwap(CSVCMsg_ClassInfo* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.classes_.InternalSwap(&other->_impl_.classes_); - swap(_impl_.create_on_client_, other->_impl_.create_on_client_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_ClassInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[25]); -} - -// =================================================================== - -class CSVCMsg_SetPause::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_paused(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_SetPause::CSVCMsg_SetPause(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_SetPause) -} -CSVCMsg_SetPause::CSVCMsg_SetPause(const CSVCMsg_SetPause& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_SetPause* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.paused_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.paused_ = from._impl_.paused_; - // @@protoc_insertion_point(copy_constructor:CSVCMsg_SetPause) -} - -inline void CSVCMsg_SetPause::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.paused_){false} - }; -} - -CSVCMsg_SetPause::~CSVCMsg_SetPause() { - // @@protoc_insertion_point(destructor:CSVCMsg_SetPause) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_SetPause::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSVCMsg_SetPause::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_SetPause::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_SetPause) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.paused_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_SetPause::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool paused = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_paused(&has_bits); - _impl_.paused_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_SetPause::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_SetPause) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool paused = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_paused(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_SetPause) - return target; -} - -size_t CSVCMsg_SetPause::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_SetPause) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bool paused = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_SetPause::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_SetPause::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_SetPause::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_SetPause::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_SetPause) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_paused()) { - _this->_internal_set_paused(from._internal_paused()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_SetPause::CopyFrom(const CSVCMsg_SetPause& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_SetPause) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_SetPause::IsInitialized() const { - return true; -} - -void CSVCMsg_SetPause::InternalSwap(CSVCMsg_SetPause* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.paused_, other->_impl_.paused_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_SetPause::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[26]); -} - -// =================================================================== - -class CSVCMsg_VoiceInit::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_quality(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_codec(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_version(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CSVCMsg_VoiceInit::CSVCMsg_VoiceInit(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_VoiceInit) -} -CSVCMsg_VoiceInit::CSVCMsg_VoiceInit(const CSVCMsg_VoiceInit& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_VoiceInit* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.codec_){} - , decltype(_impl_.quality_){} - , decltype(_impl_.version_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.codec_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.codec_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_codec()) { - _this->_impl_.codec_.Set(from._internal_codec(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.quality_, &from._impl_.quality_, - static_cast(reinterpret_cast(&_impl_.version_) - - reinterpret_cast(&_impl_.quality_)) + sizeof(_impl_.version_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_VoiceInit) -} - -inline void CSVCMsg_VoiceInit::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.codec_){} - , decltype(_impl_.quality_){0} - , decltype(_impl_.version_){0} - }; - _impl_.codec_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.codec_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_VoiceInit::~CSVCMsg_VoiceInit() { - // @@protoc_insertion_point(destructor:CSVCMsg_VoiceInit) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_VoiceInit::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.codec_.Destroy(); -} - -void CSVCMsg_VoiceInit::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_VoiceInit::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_VoiceInit) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.codec_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.quality_, 0, static_cast( - reinterpret_cast(&_impl_.version_) - - reinterpret_cast(&_impl_.quality_)) + sizeof(_impl_.version_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_VoiceInit::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 quality = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_quality(&has_bits); - _impl_.quality_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string codec = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_codec(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_VoiceInit.codec"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 version = 3 [default = 0]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_version(&has_bits); - _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_VoiceInit::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_VoiceInit) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 quality = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_quality(), target); - } - - // optional string codec = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_codec().data(), static_cast(this->_internal_codec().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_VoiceInit.codec"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_codec(), target); - } - - // optional int32 version = 3 [default = 0]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_version(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_VoiceInit) - return target; -} - -size_t CSVCMsg_VoiceInit::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_VoiceInit) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string codec = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_codec()); - } - - // optional int32 quality = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_quality()); - } - - // optional int32 version = 3 [default = 0]; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_version()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_VoiceInit::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_VoiceInit::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_VoiceInit::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_VoiceInit::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_VoiceInit) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_codec(from._internal_codec()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.quality_ = from._impl_.quality_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.version_ = from._impl_.version_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_VoiceInit::CopyFrom(const CSVCMsg_VoiceInit& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_VoiceInit) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_VoiceInit::IsInitialized() const { - return true; -} - -void CSVCMsg_VoiceInit::InternalSwap(CSVCMsg_VoiceInit* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.codec_, lhs_arena, - &other->_impl_.codec_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_VoiceInit, _impl_.version_) - + sizeof(CSVCMsg_VoiceInit::_impl_.version_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_VoiceInit, _impl_.quality_)>( - reinterpret_cast(&_impl_.quality_), - reinterpret_cast(&other->_impl_.quality_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_VoiceInit::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[27]); -} - -// =================================================================== - -class CSVCMsg_Print::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_text(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_Print::CSVCMsg_Print(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_Print) -} -CSVCMsg_Print::CSVCMsg_Print(const CSVCMsg_Print& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_Print* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_text()) { - _this->_impl_.text_.Set(from._internal_text(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CSVCMsg_Print) -} - -inline void CSVCMsg_Print::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - }; - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_Print::~CSVCMsg_Print() { - // @@protoc_insertion_point(destructor:CSVCMsg_Print) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_Print::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.text_.Destroy(); -} - -void CSVCMsg_Print::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_Print::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_Print) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.text_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_Print::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string text = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_text(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_Print.text"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_Print::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_Print) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string text = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_text().data(), static_cast(this->_internal_text().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_Print.text"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_text(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_Print) - return target; -} - -size_t CSVCMsg_Print::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_Print) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string text = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_text()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_Print::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_Print::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_Print::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_Print::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_Print) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_text()) { - _this->_internal_set_text(from._internal_text()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_Print::CopyFrom(const CSVCMsg_Print& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_Print) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_Print::IsInitialized() const { - return true; -} - -void CSVCMsg_Print::InternalSwap(CSVCMsg_Print* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.text_, lhs_arena, - &other->_impl_.text_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_Print::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[28]); -} - -// =================================================================== - -class CSVCMsg_Sounds_sounddata_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_origin_x(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_origin_y(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_origin_z(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_volume(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_delay_value(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_sequence_number(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_entity_index(HasBits* has_bits) { - (*has_bits)[0] |= 262144u; - } - static void set_has_channel(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_pitch(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_sound_num(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_sound_num_handle(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_speaker_entity(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_random_seed(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_sound_level(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_is_sentence(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_is_ambient(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_guid(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_sound_resource_id(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } -}; - -CSVCMsg_Sounds_sounddata_t::CSVCMsg_Sounds_sounddata_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_Sounds.sounddata_t) -} -CSVCMsg_Sounds_sounddata_t::CSVCMsg_Sounds_sounddata_t(const CSVCMsg_Sounds_sounddata_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_Sounds_sounddata_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_x_){} - , decltype(_impl_.origin_y_){} - , decltype(_impl_.origin_z_){} - , decltype(_impl_.volume_){} - , decltype(_impl_.delay_value_){} - , decltype(_impl_.sequence_number_){} - , decltype(_impl_.channel_){} - , decltype(_impl_.pitch_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.sound_num_){} - , decltype(_impl_.sound_num_handle_){} - , decltype(_impl_.speaker_entity_){} - , decltype(_impl_.random_seed_){} - , decltype(_impl_.sound_level_){} - , decltype(_impl_.is_sentence_){} - , decltype(_impl_.is_ambient_){} - , decltype(_impl_.guid_){} - , decltype(_impl_.sound_resource_id_){} - , decltype(_impl_.entity_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.origin_x_, &from._impl_.origin_x_, - static_cast(reinterpret_cast(&_impl_.entity_index_) - - reinterpret_cast(&_impl_.origin_x_)) + sizeof(_impl_.entity_index_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_Sounds.sounddata_t) -} - -inline void CSVCMsg_Sounds_sounddata_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_x_){0} - , decltype(_impl_.origin_y_){0} - , decltype(_impl_.origin_z_){0} - , decltype(_impl_.volume_){0u} - , decltype(_impl_.delay_value_){0} - , decltype(_impl_.sequence_number_){0} - , decltype(_impl_.channel_){0} - , decltype(_impl_.pitch_){0} - , decltype(_impl_.flags_){0} - , decltype(_impl_.sound_num_){0u} - , decltype(_impl_.sound_num_handle_){0u} - , decltype(_impl_.speaker_entity_){0} - , decltype(_impl_.random_seed_){0} - , decltype(_impl_.sound_level_){0} - , decltype(_impl_.is_sentence_){false} - , decltype(_impl_.is_ambient_){false} - , decltype(_impl_.guid_){0u} - , decltype(_impl_.sound_resource_id_){uint64_t{0u}} - , decltype(_impl_.entity_index_){-1} - }; -} - -CSVCMsg_Sounds_sounddata_t::~CSVCMsg_Sounds_sounddata_t() { - // @@protoc_insertion_point(destructor:CSVCMsg_Sounds.sounddata_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_Sounds_sounddata_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSVCMsg_Sounds_sounddata_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_Sounds_sounddata_t::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_Sounds.sounddata_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.origin_x_, 0, static_cast( - reinterpret_cast(&_impl_.pitch_) - - reinterpret_cast(&_impl_.origin_x_)) + sizeof(_impl_.pitch_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.flags_, 0, static_cast( - reinterpret_cast(&_impl_.is_ambient_) - - reinterpret_cast(&_impl_.flags_)) + sizeof(_impl_.is_ambient_)); - } - if (cached_has_bits & 0x00070000u) { - ::memset(&_impl_.guid_, 0, static_cast( - reinterpret_cast(&_impl_.sound_resource_id_) - - reinterpret_cast(&_impl_.guid_)) + sizeof(_impl_.sound_resource_id_)); - _impl_.entity_index_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_Sounds_sounddata_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional sint32 origin_x = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_origin_x(&has_bits); - _impl_.origin_x_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional sint32 origin_y = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_origin_y(&has_bits); - _impl_.origin_y_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional sint32 origin_z = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_origin_z(&has_bits); - _impl_.origin_z_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 volume = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_volume(&has_bits); - _impl_.volume_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float delay_value = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_delay_value(&has_bits); - _impl_.delay_value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 sequence_number = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_sequence_number(&has_bits); - _impl_.sequence_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 entity_index = 7 [default = -1]; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_entity_index(&has_bits); - _impl_.entity_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 channel = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_channel(&has_bits); - _impl_.channel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 pitch = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_pitch(&has_bits); - _impl_.pitch_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 flags = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 sound_num = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_sound_num(&has_bits); - _impl_.sound_num_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 sound_num_handle = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 101)) { - _Internal::set_has_sound_num_handle(&has_bits); - _impl_.sound_num_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional int32 speaker_entity = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_speaker_entity(&has_bits); - _impl_.speaker_entity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 random_seed = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_random_seed(&has_bits); - _impl_.random_seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 sound_level = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_sound_level(&has_bits); - _impl_.sound_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_sentence = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_is_sentence(&has_bits); - _impl_.is_sentence_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_ambient = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_is_ambient(&has_bits); - _impl_.is_ambient_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 guid = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_guid(&has_bits); - _impl_.guid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 sound_resource_id = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 153)) { - _Internal::set_has_sound_resource_id(&has_bits); - _impl_.sound_resource_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_Sounds_sounddata_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_Sounds.sounddata_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional sint32 origin_x = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(1, this->_internal_origin_x(), target); - } - - // optional sint32 origin_y = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(2, this->_internal_origin_y(), target); - } - - // optional sint32 origin_z = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(3, this->_internal_origin_z(), target); - } - - // optional uint32 volume = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_volume(), target); - } - - // optional float delay_value = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_delay_value(), target); - } - - // optional int32 sequence_number = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_sequence_number(), target); - } - - // optional int32 entity_index = 7 [default = -1]; - if (cached_has_bits & 0x00040000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_entity_index(), target); - } - - // optional int32 channel = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_channel(), target); - } - - // optional int32 pitch = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_pitch(), target); - } - - // optional int32 flags = 10; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_flags(), target); - } - - // optional uint32 sound_num = 11; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_sound_num(), target); - } - - // optional fixed32 sound_num_handle = 12; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(12, this->_internal_sound_num_handle(), target); - } - - // optional int32 speaker_entity = 13; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_speaker_entity(), target); - } - - // optional int32 random_seed = 14; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_random_seed(), target); - } - - // optional int32 sound_level = 15; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(15, this->_internal_sound_level(), target); - } - - // optional bool is_sentence = 16; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(16, this->_internal_is_sentence(), target); - } - - // optional bool is_ambient = 17; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(17, this->_internal_is_ambient(), target); - } - - // optional uint32 guid = 18; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_guid(), target); - } - - // optional fixed64 sound_resource_id = 19; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(19, this->_internal_sound_resource_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_Sounds.sounddata_t) - return target; -} - -size_t CSVCMsg_Sounds_sounddata_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_Sounds.sounddata_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional sint32 origin_x = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(this->_internal_origin_x()); - } - - // optional sint32 origin_y = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(this->_internal_origin_y()); - } - - // optional sint32 origin_z = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::SInt32SizePlusOne(this->_internal_origin_z()); - } - - // optional uint32 volume = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_volume()); - } - - // optional float delay_value = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional int32 sequence_number = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sequence_number()); - } - - // optional int32 channel = 8; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_channel()); - } - - // optional int32 pitch = 9; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pitch()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional int32 flags = 10; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_flags()); - } - - // optional uint32 sound_num = 11; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sound_num()); - } - - // optional fixed32 sound_num_handle = 12; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 4; - } - - // optional int32 speaker_entity = 13; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_speaker_entity()); - } - - // optional int32 random_seed = 14; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_random_seed()); - } - - // optional int32 sound_level = 15; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sound_level()); - } - - // optional bool is_sentence = 16; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + 1; - } - - // optional bool is_ambient = 17; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + 1; - } - - } - if (cached_has_bits & 0x00070000u) { - // optional uint32 guid = 18; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_guid()); - } - - // optional fixed64 sound_resource_id = 19; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + 8; - } - - // optional int32 entity_index = 7 [default = -1]; - if (cached_has_bits & 0x00040000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entity_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_Sounds_sounddata_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_Sounds_sounddata_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_Sounds_sounddata_t::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_Sounds_sounddata_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_Sounds.sounddata_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.origin_x_ = from._impl_.origin_x_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.origin_y_ = from._impl_.origin_y_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.origin_z_ = from._impl_.origin_z_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.volume_ = from._impl_.volume_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.delay_value_ = from._impl_.delay_value_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.sequence_number_ = from._impl_.sequence_number_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.channel_ = from._impl_.channel_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.pitch_ = from._impl_.pitch_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.sound_num_ = from._impl_.sound_num_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.sound_num_handle_ = from._impl_.sound_num_handle_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.speaker_entity_ = from._impl_.speaker_entity_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.random_seed_ = from._impl_.random_seed_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.sound_level_ = from._impl_.sound_level_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.is_sentence_ = from._impl_.is_sentence_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.is_ambient_ = from._impl_.is_ambient_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00070000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.guid_ = from._impl_.guid_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.sound_resource_id_ = from._impl_.sound_resource_id_; - } - if (cached_has_bits & 0x00040000u) { - _this->_impl_.entity_index_ = from._impl_.entity_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_Sounds_sounddata_t::CopyFrom(const CSVCMsg_Sounds_sounddata_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_Sounds.sounddata_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_Sounds_sounddata_t::IsInitialized() const { - return true; -} - -void CSVCMsg_Sounds_sounddata_t::InternalSwap(CSVCMsg_Sounds_sounddata_t* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, _impl_.sound_resource_id_) - + sizeof(CSVCMsg_Sounds_sounddata_t::_impl_.sound_resource_id_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, _impl_.origin_x_)>( - reinterpret_cast(&_impl_.origin_x_), - reinterpret_cast(&other->_impl_.origin_x_)); - swap(_impl_.entity_index_, other->_impl_.entity_index_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_Sounds_sounddata_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[29]); -} - -// =================================================================== - -class CSVCMsg_Sounds::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_reliable_sound(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_Sounds::CSVCMsg_Sounds(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_Sounds) -} -CSVCMsg_Sounds::CSVCMsg_Sounds(const CSVCMsg_Sounds& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_Sounds* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sounds_){from._impl_.sounds_} - , decltype(_impl_.reliable_sound_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.reliable_sound_ = from._impl_.reliable_sound_; - // @@protoc_insertion_point(copy_constructor:CSVCMsg_Sounds) -} - -inline void CSVCMsg_Sounds::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sounds_){arena} - , decltype(_impl_.reliable_sound_){false} - }; -} - -CSVCMsg_Sounds::~CSVCMsg_Sounds() { - // @@protoc_insertion_point(destructor:CSVCMsg_Sounds) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_Sounds::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.sounds_.~RepeatedPtrField(); -} - -void CSVCMsg_Sounds::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_Sounds::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_Sounds) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.sounds_.Clear(); - _impl_.reliable_sound_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_Sounds::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool reliable_sound = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_reliable_sound(&has_bits); - _impl_.reliable_sound_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CSVCMsg_Sounds.sounddata_t sounds = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_sounds(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_Sounds::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_Sounds) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool reliable_sound = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_reliable_sound(), target); - } - - // repeated .CSVCMsg_Sounds.sounddata_t sounds = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_sounds_size()); i < n; i++) { - const auto& repfield = this->_internal_sounds(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_Sounds) - return target; -} - -size_t CSVCMsg_Sounds::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_Sounds) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CSVCMsg_Sounds.sounddata_t sounds = 2; - total_size += 1UL * this->_internal_sounds_size(); - for (const auto& msg : this->_impl_.sounds_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional bool reliable_sound = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_Sounds::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_Sounds::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_Sounds::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_Sounds::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_Sounds) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.sounds_.MergeFrom(from._impl_.sounds_); - if (from._internal_has_reliable_sound()) { - _this->_internal_set_reliable_sound(from._internal_reliable_sound()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_Sounds::CopyFrom(const CSVCMsg_Sounds& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_Sounds) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_Sounds::IsInitialized() const { - return true; -} - -void CSVCMsg_Sounds::InternalSwap(CSVCMsg_Sounds* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.sounds_.InternalSwap(&other->_impl_.sounds_); - swap(_impl_.reliable_sound_, other->_impl_.reliable_sound_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_Sounds::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[30]); -} - -// =================================================================== - -class CSVCMsg_Prefetch::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_sound_index(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_resource_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CSVCMsg_Prefetch::CSVCMsg_Prefetch(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_Prefetch) -} -CSVCMsg_Prefetch::CSVCMsg_Prefetch(const CSVCMsg_Prefetch& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_Prefetch* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sound_index_){} - , decltype(_impl_.resource_type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.sound_index_, &from._impl_.sound_index_, - static_cast(reinterpret_cast(&_impl_.resource_type_) - - reinterpret_cast(&_impl_.sound_index_)) + sizeof(_impl_.resource_type_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_Prefetch) -} - -inline void CSVCMsg_Prefetch::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sound_index_){0} - , decltype(_impl_.resource_type_){0} - }; -} - -CSVCMsg_Prefetch::~CSVCMsg_Prefetch() { - // @@protoc_insertion_point(destructor:CSVCMsg_Prefetch) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_Prefetch::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSVCMsg_Prefetch::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_Prefetch::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_Prefetch) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.sound_index_, 0, static_cast( - reinterpret_cast(&_impl_.resource_type_) - - reinterpret_cast(&_impl_.sound_index_)) + sizeof(_impl_.resource_type_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_Prefetch::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 sound_index = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_sound_index(&has_bits); - _impl_.sound_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .PrefetchType resource_type = 2 [default = PFT_SOUND]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::PrefetchType_IsValid(val))) { - _internal_set_resource_type(static_cast<::PrefetchType>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_Prefetch::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_Prefetch) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 sound_index = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_sound_index(), target); - } - - // optional .PrefetchType resource_type = 2 [default = PFT_SOUND]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this->_internal_resource_type(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_Prefetch) - return target; -} - -size_t CSVCMsg_Prefetch::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_Prefetch) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional int32 sound_index = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sound_index()); - } - - // optional .PrefetchType resource_type = 2 [default = PFT_SOUND]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_resource_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_Prefetch::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_Prefetch::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_Prefetch::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_Prefetch::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_Prefetch) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.sound_index_ = from._impl_.sound_index_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.resource_type_ = from._impl_.resource_type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_Prefetch::CopyFrom(const CSVCMsg_Prefetch& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_Prefetch) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_Prefetch::IsInitialized() const { - return true; -} - -void CSVCMsg_Prefetch::InternalSwap(CSVCMsg_Prefetch* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_Prefetch, _impl_.resource_type_) - + sizeof(CSVCMsg_Prefetch::_impl_.resource_type_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_Prefetch, _impl_.sound_index_)>( - reinterpret_cast(&_impl_.sound_index_), - reinterpret_cast(&other->_impl_.sound_index_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_Prefetch::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[31]); -} - -// =================================================================== - -class CSVCMsg_SetView::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_entity_index(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_slot(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CSVCMsg_SetView::CSVCMsg_SetView(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_SetView) -} -CSVCMsg_SetView::CSVCMsg_SetView(const CSVCMsg_SetView& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_SetView* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entity_index_){} - , decltype(_impl_.slot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.entity_index_, &from._impl_.entity_index_, - static_cast(reinterpret_cast(&_impl_.slot_) - - reinterpret_cast(&_impl_.entity_index_)) + sizeof(_impl_.slot_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_SetView) -} - -inline void CSVCMsg_SetView::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entity_index_){-1} - , decltype(_impl_.slot_){-1} - }; -} - -CSVCMsg_SetView::~CSVCMsg_SetView() { - // @@protoc_insertion_point(destructor:CSVCMsg_SetView) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_SetView::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSVCMsg_SetView::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_SetView::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_SetView) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - _impl_.entity_index_ = -1; - _impl_.slot_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_SetView::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 entity_index = 1 [default = -1]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_entity_index(&has_bits); - _impl_.entity_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 slot = 2 [default = -1]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_slot(&has_bits); - _impl_.slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_SetView::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_SetView) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 entity_index = 1 [default = -1]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entity_index(), target); - } - - // optional int32 slot = 2 [default = -1]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_slot(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_SetView) - return target; -} - -size_t CSVCMsg_SetView::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_SetView) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional int32 entity_index = 1 [default = -1]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entity_index()); - } - - // optional int32 slot = 2 [default = -1]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_slot()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_SetView::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_SetView::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_SetView::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_SetView::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_SetView) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.entity_index_ = from._impl_.entity_index_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.slot_ = from._impl_.slot_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_SetView::CopyFrom(const CSVCMsg_SetView& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_SetView) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_SetView::IsInitialized() const { - return true; -} - -void CSVCMsg_SetView::InternalSwap(CSVCMsg_SetView* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.entity_index_, other->_impl_.entity_index_); - swap(_impl_.slot_, other->_impl_.slot_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_SetView::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[32]); -} - -// =================================================================== - -class CSVCMsg_FixAngle::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_relative(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgQAngle& angle(const CSVCMsg_FixAngle* msg); - static void set_has_angle(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgQAngle& -CSVCMsg_FixAngle::_Internal::angle(const CSVCMsg_FixAngle* msg) { - return *msg->_impl_.angle_; -} -void CSVCMsg_FixAngle::clear_angle() { - if (_impl_.angle_ != nullptr) _impl_.angle_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CSVCMsg_FixAngle::CSVCMsg_FixAngle(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_FixAngle) -} -CSVCMsg_FixAngle::CSVCMsg_FixAngle(const CSVCMsg_FixAngle& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_FixAngle* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.angle_){nullptr} - , decltype(_impl_.relative_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_angle()) { - _this->_impl_.angle_ = new ::CMsgQAngle(*from._impl_.angle_); - } - _this->_impl_.relative_ = from._impl_.relative_; - // @@protoc_insertion_point(copy_constructor:CSVCMsg_FixAngle) -} - -inline void CSVCMsg_FixAngle::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.angle_){nullptr} - , decltype(_impl_.relative_){false} - }; -} - -CSVCMsg_FixAngle::~CSVCMsg_FixAngle() { - // @@protoc_insertion_point(destructor:CSVCMsg_FixAngle) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_FixAngle::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.angle_; -} - -void CSVCMsg_FixAngle::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_FixAngle::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_FixAngle) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.angle_ != nullptr); - _impl_.angle_->Clear(); - } - _impl_.relative_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_FixAngle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool relative = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_relative(&has_bits); - _impl_.relative_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle angle = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_angle(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_FixAngle::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_FixAngle) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool relative = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_relative(), target); - } - - // optional .CMsgQAngle angle = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::angle(this), - _Internal::angle(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_FixAngle) - return target; -} - -size_t CSVCMsg_FixAngle::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_FixAngle) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgQAngle angle = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.angle_); - } - - // optional bool relative = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_FixAngle::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_FixAngle::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_FixAngle::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_FixAngle::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_FixAngle) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_angle()->::CMsgQAngle::MergeFrom( - from._internal_angle()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.relative_ = from._impl_.relative_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_FixAngle::CopyFrom(const CSVCMsg_FixAngle& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_FixAngle) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_FixAngle::IsInitialized() const { - return true; -} - -void CSVCMsg_FixAngle::InternalSwap(CSVCMsg_FixAngle* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_FixAngle, _impl_.relative_) - + sizeof(CSVCMsg_FixAngle::_impl_.relative_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_FixAngle, _impl_.angle_)>( - reinterpret_cast(&_impl_.angle_), - reinterpret_cast(&other->_impl_.angle_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_FixAngle::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[33]); -} - -// =================================================================== - -class CSVCMsg_CrosshairAngle::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgQAngle& angle(const CSVCMsg_CrosshairAngle* msg); - static void set_has_angle(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgQAngle& -CSVCMsg_CrosshairAngle::_Internal::angle(const CSVCMsg_CrosshairAngle* msg) { - return *msg->_impl_.angle_; -} -void CSVCMsg_CrosshairAngle::clear_angle() { - if (_impl_.angle_ != nullptr) _impl_.angle_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CSVCMsg_CrosshairAngle::CSVCMsg_CrosshairAngle(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_CrosshairAngle) -} -CSVCMsg_CrosshairAngle::CSVCMsg_CrosshairAngle(const CSVCMsg_CrosshairAngle& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_CrosshairAngle* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.angle_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_angle()) { - _this->_impl_.angle_ = new ::CMsgQAngle(*from._impl_.angle_); - } - // @@protoc_insertion_point(copy_constructor:CSVCMsg_CrosshairAngle) -} - -inline void CSVCMsg_CrosshairAngle::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.angle_){nullptr} - }; -} - -CSVCMsg_CrosshairAngle::~CSVCMsg_CrosshairAngle() { - // @@protoc_insertion_point(destructor:CSVCMsg_CrosshairAngle) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_CrosshairAngle::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.angle_; -} - -void CSVCMsg_CrosshairAngle::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_CrosshairAngle::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_CrosshairAngle) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.angle_ != nullptr); - _impl_.angle_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_CrosshairAngle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgQAngle angle = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_angle(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_CrosshairAngle::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_CrosshairAngle) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgQAngle angle = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::angle(this), - _Internal::angle(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_CrosshairAngle) - return target; -} - -size_t CSVCMsg_CrosshairAngle::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_CrosshairAngle) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CMsgQAngle angle = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.angle_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_CrosshairAngle::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_CrosshairAngle::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_CrosshairAngle::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_CrosshairAngle::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_CrosshairAngle) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_angle()) { - _this->_internal_mutable_angle()->::CMsgQAngle::MergeFrom( - from._internal_angle()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_CrosshairAngle::CopyFrom(const CSVCMsg_CrosshairAngle& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_CrosshairAngle) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_CrosshairAngle::IsInitialized() const { - return true; -} - -void CSVCMsg_CrosshairAngle::InternalSwap(CSVCMsg_CrosshairAngle* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.angle_, other->_impl_.angle_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_CrosshairAngle::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[34]); -} - -// =================================================================== - -class CSVCMsg_BSPDecal::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& pos(const CSVCMsg_BSPDecal* msg); - static void set_has_pos(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_decal_texture_index(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_entity_index(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_model_index(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_low_priority(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::CMsgVector& -CSVCMsg_BSPDecal::_Internal::pos(const CSVCMsg_BSPDecal* msg) { - return *msg->_impl_.pos_; -} -void CSVCMsg_BSPDecal::clear_pos() { - if (_impl_.pos_ != nullptr) _impl_.pos_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CSVCMsg_BSPDecal::CSVCMsg_BSPDecal(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_BSPDecal) -} -CSVCMsg_BSPDecal::CSVCMsg_BSPDecal(const CSVCMsg_BSPDecal& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_BSPDecal* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pos_){nullptr} - , decltype(_impl_.decal_texture_index_){} - , decltype(_impl_.model_index_){} - , decltype(_impl_.low_priority_){} - , decltype(_impl_.entity_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_pos()) { - _this->_impl_.pos_ = new ::CMsgVector(*from._impl_.pos_); - } - ::memcpy(&_impl_.decal_texture_index_, &from._impl_.decal_texture_index_, - static_cast(reinterpret_cast(&_impl_.entity_index_) - - reinterpret_cast(&_impl_.decal_texture_index_)) + sizeof(_impl_.entity_index_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_BSPDecal) -} - -inline void CSVCMsg_BSPDecal::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pos_){nullptr} - , decltype(_impl_.decal_texture_index_){0} - , decltype(_impl_.model_index_){0} - , decltype(_impl_.low_priority_){false} - , decltype(_impl_.entity_index_){-1} - }; -} - -CSVCMsg_BSPDecal::~CSVCMsg_BSPDecal() { - // @@protoc_insertion_point(destructor:CSVCMsg_BSPDecal) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_BSPDecal::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.pos_; -} - -void CSVCMsg_BSPDecal::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_BSPDecal::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_BSPDecal) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.pos_ != nullptr); - _impl_.pos_->Clear(); - } - if (cached_has_bits & 0x0000001eu) { - ::memset(&_impl_.decal_texture_index_, 0, static_cast( - reinterpret_cast(&_impl_.low_priority_) - - reinterpret_cast(&_impl_.decal_texture_index_)) + sizeof(_impl_.low_priority_)); - _impl_.entity_index_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_BSPDecal::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector pos = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_pos(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 decal_texture_index = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_decal_texture_index(&has_bits); - _impl_.decal_texture_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 entity_index = 3 [default = -1]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_entity_index(&has_bits); - _impl_.entity_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 model_index = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_model_index(&has_bits); - _impl_.model_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool low_priority = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_low_priority(&has_bits); - _impl_.low_priority_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_BSPDecal::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_BSPDecal) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector pos = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::pos(this), - _Internal::pos(this).GetCachedSize(), target, stream); - } - - // optional int32 decal_texture_index = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_decal_texture_index(), target); - } - - // optional int32 entity_index = 3 [default = -1]; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_entity_index(), target); - } - - // optional int32 model_index = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_model_index(), target); - } - - // optional bool low_priority = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_low_priority(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_BSPDecal) - return target; -} - -size_t CSVCMsg_BSPDecal::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_BSPDecal) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional .CMsgVector pos = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.pos_); - } - - // optional int32 decal_texture_index = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_decal_texture_index()); - } - - // optional int32 model_index = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_model_index()); - } - - // optional bool low_priority = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - // optional int32 entity_index = 3 [default = -1]; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entity_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_BSPDecal::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_BSPDecal::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_BSPDecal::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_BSPDecal::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_BSPDecal) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_pos()->::CMsgVector::MergeFrom( - from._internal_pos()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.decal_texture_index_ = from._impl_.decal_texture_index_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.model_index_ = from._impl_.model_index_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.low_priority_ = from._impl_.low_priority_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.entity_index_ = from._impl_.entity_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_BSPDecal::CopyFrom(const CSVCMsg_BSPDecal& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_BSPDecal) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_BSPDecal::IsInitialized() const { - return true; -} - -void CSVCMsg_BSPDecal::InternalSwap(CSVCMsg_BSPDecal* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_BSPDecal, _impl_.low_priority_) - + sizeof(CSVCMsg_BSPDecal::_impl_.low_priority_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_BSPDecal, _impl_.pos_)>( - reinterpret_cast(&_impl_.pos_), - reinterpret_cast(&other->_impl_.pos_)); - swap(_impl_.entity_index_, other->_impl_.entity_index_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_BSPDecal::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[35]); -} - -// =================================================================== - -class CSVCMsg_SplitScreen::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_slot(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_player_index(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CSVCMsg_SplitScreen::CSVCMsg_SplitScreen(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_SplitScreen) -} -CSVCMsg_SplitScreen::CSVCMsg_SplitScreen(const CSVCMsg_SplitScreen& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_SplitScreen* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){} - , decltype(_impl_.slot_){} - , decltype(_impl_.player_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.type_, &from._impl_.type_, - static_cast(reinterpret_cast(&_impl_.player_index_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.player_index_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_SplitScreen) -} - -inline void CSVCMsg_SplitScreen::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.type_){0} - , decltype(_impl_.slot_){0} - , decltype(_impl_.player_index_){-1} - }; -} - -CSVCMsg_SplitScreen::~CSVCMsg_SplitScreen() { - // @@protoc_insertion_point(destructor:CSVCMsg_SplitScreen) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_SplitScreen::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSVCMsg_SplitScreen::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_SplitScreen::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_SplitScreen) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.type_, 0, static_cast( - reinterpret_cast(&_impl_.slot_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.slot_)); - _impl_.player_index_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_SplitScreen::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::ESplitScreenMessageType_IsValid(val))) { - _internal_set_type(static_cast<::ESplitScreenMessageType>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional int32 slot = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_slot(&has_bits); - _impl_.slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 player_index = 3 [default = -1]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_player_index(&has_bits); - _impl_.player_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_SplitScreen::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_SplitScreen) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_type(), target); - } - - // optional int32 slot = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_slot(), target); - } - - // optional int32 player_index = 3 [default = -1]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_player_index(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_SplitScreen) - return target; -} - -size_t CSVCMsg_SplitScreen::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_SplitScreen) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); - } - - // optional int32 slot = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_slot()); - } - - // optional int32 player_index = 3 [default = -1]; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_SplitScreen::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_SplitScreen::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_SplitScreen::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_SplitScreen::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_SplitScreen) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.type_ = from._impl_.type_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.slot_ = from._impl_.slot_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.player_index_ = from._impl_.player_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_SplitScreen::CopyFrom(const CSVCMsg_SplitScreen& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_SplitScreen) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_SplitScreen::IsInitialized() const { - return true; -} - -void CSVCMsg_SplitScreen::InternalSwap(CSVCMsg_SplitScreen* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_SplitScreen, _impl_.slot_) - + sizeof(CSVCMsg_SplitScreen::_impl_.slot_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_SplitScreen, _impl_.type_)>( - reinterpret_cast(&_impl_.type_), - reinterpret_cast(&other->_impl_.type_)); - swap(_impl_.player_index_, other->_impl_.player_index_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_SplitScreen::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[36]); -} - -// =================================================================== - -class CSVCMsg_GetCvarValue::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_cookie(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_cvar_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_GetCvarValue::CSVCMsg_GetCvarValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_GetCvarValue) -} -CSVCMsg_GetCvarValue::CSVCMsg_GetCvarValue(const CSVCMsg_GetCvarValue& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_GetCvarValue* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cvar_name_){} - , decltype(_impl_.cookie_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.cvar_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cvar_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_cvar_name()) { - _this->_impl_.cvar_name_.Set(from._internal_cvar_name(), - _this->GetArenaForAllocation()); - } - _this->_impl_.cookie_ = from._impl_.cookie_; - // @@protoc_insertion_point(copy_constructor:CSVCMsg_GetCvarValue) -} - -inline void CSVCMsg_GetCvarValue::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cvar_name_){} - , decltype(_impl_.cookie_){0} - }; - _impl_.cvar_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cvar_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_GetCvarValue::~CSVCMsg_GetCvarValue() { - // @@protoc_insertion_point(destructor:CSVCMsg_GetCvarValue) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_GetCvarValue::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.cvar_name_.Destroy(); -} - -void CSVCMsg_GetCvarValue::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_GetCvarValue::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_GetCvarValue) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.cvar_name_.ClearNonDefaultToEmpty(); - } - _impl_.cookie_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_GetCvarValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 cookie = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_cookie(&has_bits); - _impl_.cookie_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string cvar_name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_cvar_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_GetCvarValue.cvar_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_GetCvarValue::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_GetCvarValue) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 cookie = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_cookie(), target); - } - - // optional string cvar_name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_cvar_name().data(), static_cast(this->_internal_cvar_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_GetCvarValue.cvar_name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_cvar_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_GetCvarValue) - return target; -} - -size_t CSVCMsg_GetCvarValue::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_GetCvarValue) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string cvar_name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_cvar_name()); - } - - // optional int32 cookie = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_cookie()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_GetCvarValue::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_GetCvarValue::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_GetCvarValue::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_GetCvarValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_GetCvarValue) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_cvar_name(from._internal_cvar_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.cookie_ = from._impl_.cookie_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_GetCvarValue::CopyFrom(const CSVCMsg_GetCvarValue& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_GetCvarValue) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_GetCvarValue::IsInitialized() const { - return true; -} - -void CSVCMsg_GetCvarValue::InternalSwap(CSVCMsg_GetCvarValue* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.cvar_name_, lhs_arena, - &other->_impl_.cvar_name_, rhs_arena - ); - swap(_impl_.cookie_, other->_impl_.cookie_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_GetCvarValue::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[37]); -} - -// =================================================================== - -class CSVCMsg_Menu::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_dialog_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_menu_key_values(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_Menu::CSVCMsg_Menu(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_Menu) -} -CSVCMsg_Menu::CSVCMsg_Menu(const CSVCMsg_Menu& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_Menu* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.menu_key_values_){} - , decltype(_impl_.dialog_type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.menu_key_values_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.menu_key_values_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_menu_key_values()) { - _this->_impl_.menu_key_values_.Set(from._internal_menu_key_values(), - _this->GetArenaForAllocation()); - } - _this->_impl_.dialog_type_ = from._impl_.dialog_type_; - // @@protoc_insertion_point(copy_constructor:CSVCMsg_Menu) -} - -inline void CSVCMsg_Menu::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.menu_key_values_){} - , decltype(_impl_.dialog_type_){0} - }; - _impl_.menu_key_values_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.menu_key_values_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_Menu::~CSVCMsg_Menu() { - // @@protoc_insertion_point(destructor:CSVCMsg_Menu) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_Menu::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.menu_key_values_.Destroy(); -} - -void CSVCMsg_Menu::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_Menu::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_Menu) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.menu_key_values_.ClearNonDefaultToEmpty(); - } - _impl_.dialog_type_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_Menu::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 dialog_type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_dialog_type(&has_bits); - _impl_.dialog_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes menu_key_values = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_menu_key_values(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_Menu::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_Menu) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 dialog_type = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_dialog_type(), target); - } - - // optional bytes menu_key_values = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_menu_key_values(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_Menu) - return target; -} - -size_t CSVCMsg_Menu::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_Menu) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bytes menu_key_values = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_menu_key_values()); - } - - // optional int32 dialog_type = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dialog_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_Menu::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_Menu::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_Menu::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_Menu::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_Menu) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_menu_key_values(from._internal_menu_key_values()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.dialog_type_ = from._impl_.dialog_type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_Menu::CopyFrom(const CSVCMsg_Menu& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_Menu) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_Menu::IsInitialized() const { - return true; -} - -void CSVCMsg_Menu::InternalSwap(CSVCMsg_Menu* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.menu_key_values_, lhs_arena, - &other->_impl_.menu_key_values_, rhs_arena - ); - swap(_impl_.dialog_type_, other->_impl_.dialog_type_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_Menu::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[38]); -} - -// =================================================================== - -class CSVCMsg_UserMessage::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_msg_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_msg_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_passthrough(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CSVCMsg_UserMessage::CSVCMsg_UserMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_UserMessage) -} -CSVCMsg_UserMessage::CSVCMsg_UserMessage(const CSVCMsg_UserMessage& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_UserMessage* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.msg_data_){} - , decltype(_impl_.msg_type_){} - , decltype(_impl_.passthrough_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.msg_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.msg_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_msg_data()) { - _this->_impl_.msg_data_.Set(from._internal_msg_data(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.msg_type_, &from._impl_.msg_type_, - static_cast(reinterpret_cast(&_impl_.passthrough_) - - reinterpret_cast(&_impl_.msg_type_)) + sizeof(_impl_.passthrough_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_UserMessage) -} - -inline void CSVCMsg_UserMessage::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.msg_data_){} - , decltype(_impl_.msg_type_){0} - , decltype(_impl_.passthrough_){0} - }; - _impl_.msg_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.msg_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_UserMessage::~CSVCMsg_UserMessage() { - // @@protoc_insertion_point(destructor:CSVCMsg_UserMessage) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_UserMessage::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.msg_data_.Destroy(); -} - -void CSVCMsg_UserMessage::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_UserMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_UserMessage) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.msg_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.msg_type_, 0, static_cast( - reinterpret_cast(&_impl_.passthrough_) - - reinterpret_cast(&_impl_.msg_type_)) + sizeof(_impl_.passthrough_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_UserMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 msg_type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_msg_type(&has_bits); - _impl_.msg_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes msg_data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_msg_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 passthrough = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_passthrough(&has_bits); - _impl_.passthrough_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_UserMessage::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_UserMessage) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 msg_type = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_msg_type(), target); - } - - // optional bytes msg_data = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_msg_data(), target); - } - - // optional int32 passthrough = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_passthrough(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_UserMessage) - return target; -} - -size_t CSVCMsg_UserMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_UserMessage) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional bytes msg_data = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_msg_data()); - } - - // optional int32 msg_type = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_msg_type()); - } - - // optional int32 passthrough = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_passthrough()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_UserMessage::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_UserMessage::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_UserMessage::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_UserMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_UserMessage) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_msg_data(from._internal_msg_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.msg_type_ = from._impl_.msg_type_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.passthrough_ = from._impl_.passthrough_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_UserMessage::CopyFrom(const CSVCMsg_UserMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_UserMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_UserMessage::IsInitialized() const { - return true; -} - -void CSVCMsg_UserMessage::InternalSwap(CSVCMsg_UserMessage* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.msg_data_, lhs_arena, - &other->_impl_.msg_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_UserMessage, _impl_.passthrough_) - + sizeof(CSVCMsg_UserMessage::_impl_.passthrough_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_UserMessage, _impl_.msg_type_)>( - reinterpret_cast(&_impl_.msg_type_), - reinterpret_cast(&other->_impl_.msg_type_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_UserMessage::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[39]); -} - -// =================================================================== - -class CSVCMsg_SendTable_sendprop_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_var_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_priority(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_dt_name(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_num_elements(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_low_value(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_high_value(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_num_bits(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } -}; - -CSVCMsg_SendTable_sendprop_t::CSVCMsg_SendTable_sendprop_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_SendTable.sendprop_t) -} -CSVCMsg_SendTable_sendprop_t::CSVCMsg_SendTable_sendprop_t(const CSVCMsg_SendTable_sendprop_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_SendTable_sendprop_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.var_name_){} - , decltype(_impl_.dt_name_){} - , decltype(_impl_.type_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.priority_){} - , decltype(_impl_.num_elements_){} - , decltype(_impl_.low_value_){} - , decltype(_impl_.high_value_){} - , decltype(_impl_.num_bits_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.var_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.var_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_var_name()) { - _this->_impl_.var_name_.Set(from._internal_var_name(), - _this->GetArenaForAllocation()); - } - _impl_.dt_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dt_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_dt_name()) { - _this->_impl_.dt_name_.Set(from._internal_dt_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.type_, &from._impl_.type_, - static_cast(reinterpret_cast(&_impl_.num_bits_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.num_bits_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_SendTable.sendprop_t) -} - -inline void CSVCMsg_SendTable_sendprop_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.var_name_){} - , decltype(_impl_.dt_name_){} - , decltype(_impl_.type_){0} - , decltype(_impl_.flags_){0} - , decltype(_impl_.priority_){0} - , decltype(_impl_.num_elements_){0} - , decltype(_impl_.low_value_){0} - , decltype(_impl_.high_value_){0} - , decltype(_impl_.num_bits_){0} - }; - _impl_.var_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.var_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dt_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dt_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_SendTable_sendprop_t::~CSVCMsg_SendTable_sendprop_t() { - // @@protoc_insertion_point(destructor:CSVCMsg_SendTable.sendprop_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_SendTable_sendprop_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.var_name_.Destroy(); - _impl_.dt_name_.Destroy(); -} - -void CSVCMsg_SendTable_sendprop_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_SendTable_sendprop_t::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_SendTable.sendprop_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.var_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.dt_name_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000fcu) { - ::memset(&_impl_.type_, 0, static_cast( - reinterpret_cast(&_impl_.high_value_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.high_value_)); - } - _impl_.num_bits_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_SendTable_sendprop_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_type(&has_bits); - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string var_name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_var_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_SendTable.sendprop_t.var_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 flags = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 priority = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_priority(&has_bits); - _impl_.priority_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string dt_name = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_dt_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_SendTable.sendprop_t.dt_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 num_elements = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_num_elements(&has_bits); - _impl_.num_elements_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float low_value = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_low_value(&has_bits); - _impl_.low_value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float high_value = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { - _Internal::set_has_high_value(&has_bits); - _impl_.high_value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 num_bits = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_num_bits(&has_bits); - _impl_.num_bits_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_SendTable_sendprop_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_SendTable.sendprop_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 type = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type(), target); - } - - // optional string var_name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_var_name().data(), static_cast(this->_internal_var_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_SendTable.sendprop_t.var_name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_var_name(), target); - } - - // optional int32 flags = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_flags(), target); - } - - // optional int32 priority = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_priority(), target); - } - - // optional string dt_name = 5; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_dt_name().data(), static_cast(this->_internal_dt_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_SendTable.sendprop_t.dt_name"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_dt_name(), target); - } - - // optional int32 num_elements = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_num_elements(), target); - } - - // optional float low_value = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_low_value(), target); - } - - // optional float high_value = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_high_value(), target); - } - - // optional int32 num_bits = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_num_bits(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_SendTable.sendprop_t) - return target; -} - -size_t CSVCMsg_SendTable_sendprop_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_SendTable.sendprop_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string var_name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_var_name()); - } - - // optional string dt_name = 5; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_dt_name()); - } - - // optional int32 type = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); - } - - // optional int32 flags = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_flags()); - } - - // optional int32 priority = 4; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_priority()); - } - - // optional int32 num_elements = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_elements()); - } - - // optional float low_value = 7; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional float high_value = 8; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - // optional int32 num_bits = 9; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_bits()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_SendTable_sendprop_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_SendTable_sendprop_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_SendTable_sendprop_t::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_SendTable_sendprop_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_SendTable.sendprop_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_var_name(from._internal_var_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_dt_name(from._internal_dt_name()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.type_ = from._impl_.type_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.priority_ = from._impl_.priority_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.num_elements_ = from._impl_.num_elements_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.low_value_ = from._impl_.low_value_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.high_value_ = from._impl_.high_value_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_num_bits(from._internal_num_bits()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_SendTable_sendprop_t::CopyFrom(const CSVCMsg_SendTable_sendprop_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_SendTable.sendprop_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_SendTable_sendprop_t::IsInitialized() const { - return true; -} - -void CSVCMsg_SendTable_sendprop_t::InternalSwap(CSVCMsg_SendTable_sendprop_t* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.var_name_, lhs_arena, - &other->_impl_.var_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.dt_name_, lhs_arena, - &other->_impl_.dt_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, _impl_.num_bits_) - + sizeof(CSVCMsg_SendTable_sendprop_t::_impl_.num_bits_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, _impl_.type_)>( - reinterpret_cast(&_impl_.type_), - reinterpret_cast(&other->_impl_.type_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_SendTable_sendprop_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[40]); -} - -// =================================================================== - -class CSVCMsg_SendTable::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_is_end(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_net_table_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_needs_decoder(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CSVCMsg_SendTable::CSVCMsg_SendTable(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_SendTable) -} -CSVCMsg_SendTable::CSVCMsg_SendTable(const CSVCMsg_SendTable& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_SendTable* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.props_){from._impl_.props_} - , decltype(_impl_.net_table_name_){} - , decltype(_impl_.is_end_){} - , decltype(_impl_.needs_decoder_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.net_table_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.net_table_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_net_table_name()) { - _this->_impl_.net_table_name_.Set(from._internal_net_table_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.is_end_, &from._impl_.is_end_, - static_cast(reinterpret_cast(&_impl_.needs_decoder_) - - reinterpret_cast(&_impl_.is_end_)) + sizeof(_impl_.needs_decoder_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_SendTable) -} - -inline void CSVCMsg_SendTable::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.props_){arena} - , decltype(_impl_.net_table_name_){} - , decltype(_impl_.is_end_){false} - , decltype(_impl_.needs_decoder_){false} - }; - _impl_.net_table_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.net_table_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_SendTable::~CSVCMsg_SendTable() { - // @@protoc_insertion_point(destructor:CSVCMsg_SendTable) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_SendTable::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.props_.~RepeatedPtrField(); - _impl_.net_table_name_.Destroy(); -} - -void CSVCMsg_SendTable::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_SendTable::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_SendTable) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.props_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.net_table_name_.ClearNonDefaultToEmpty(); - } - ::memset(&_impl_.is_end_, 0, static_cast( - reinterpret_cast(&_impl_.needs_decoder_) - - reinterpret_cast(&_impl_.is_end_)) + sizeof(_impl_.needs_decoder_)); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_SendTable::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool is_end = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_is_end(&has_bits); - _impl_.is_end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string net_table_name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_net_table_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_SendTable.net_table_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool needs_decoder = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_needs_decoder(&has_bits); - _impl_.needs_decoder_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CSVCMsg_SendTable.sendprop_t props = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_props(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_SendTable::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_SendTable) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool is_end = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_is_end(), target); - } - - // optional string net_table_name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_net_table_name().data(), static_cast(this->_internal_net_table_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_SendTable.net_table_name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_net_table_name(), target); - } - - // optional bool needs_decoder = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_needs_decoder(), target); - } - - // repeated .CSVCMsg_SendTable.sendprop_t props = 4; - for (unsigned i = 0, - n = static_cast(this->_internal_props_size()); i < n; i++) { - const auto& repfield = this->_internal_props(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_SendTable) - return target; -} - -size_t CSVCMsg_SendTable::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_SendTable) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CSVCMsg_SendTable.sendprop_t props = 4; - total_size += 1UL * this->_internal_props_size(); - for (const auto& msg : this->_impl_.props_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string net_table_name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_net_table_name()); - } - - // optional bool is_end = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - // optional bool needs_decoder = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_SendTable::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_SendTable::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_SendTable::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_SendTable::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_SendTable) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.props_.MergeFrom(from._impl_.props_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_net_table_name(from._internal_net_table_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.is_end_ = from._impl_.is_end_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.needs_decoder_ = from._impl_.needs_decoder_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_SendTable::CopyFrom(const CSVCMsg_SendTable& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_SendTable) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_SendTable::IsInitialized() const { - return true; -} - -void CSVCMsg_SendTable::InternalSwap(CSVCMsg_SendTable* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.props_.InternalSwap(&other->_impl_.props_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.net_table_name_, lhs_arena, - &other->_impl_.net_table_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_SendTable, _impl_.needs_decoder_) - + sizeof(CSVCMsg_SendTable::_impl_.needs_decoder_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_SendTable, _impl_.is_end_)>( - reinterpret_cast(&_impl_.is_end_), - reinterpret_cast(&other->_impl_.is_end_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_SendTable::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[41]); -} - -// =================================================================== - -class CSVCMsg_GameEventList_key_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_GameEventList_key_t::CSVCMsg_GameEventList_key_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_GameEventList.key_t) -} -CSVCMsg_GameEventList_key_t::CSVCMsg_GameEventList_key_t(const CSVCMsg_GameEventList_key_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_GameEventList_key_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _this->_impl_.type_ = from._impl_.type_; - // @@protoc_insertion_point(copy_constructor:CSVCMsg_GameEventList.key_t) -} - -inline void CSVCMsg_GameEventList_key_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.type_){0} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_GameEventList_key_t::~CSVCMsg_GameEventList_key_t() { - // @@protoc_insertion_point(destructor:CSVCMsg_GameEventList.key_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_GameEventList_key_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); -} - -void CSVCMsg_GameEventList_key_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_GameEventList_key_t::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_GameEventList.key_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - _impl_.type_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_GameEventList_key_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_type(&has_bits); - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_GameEventList.key_t.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_GameEventList_key_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_GameEventList.key_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 type = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type(), target); - } - - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_GameEventList.key_t.name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_GameEventList.key_t) - return target; -} - -size_t CSVCMsg_GameEventList_key_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_GameEventList.key_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional int32 type = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_GameEventList_key_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_GameEventList_key_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_GameEventList_key_t::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_GameEventList_key_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_GameEventList.key_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.type_ = from._impl_.type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_GameEventList_key_t::CopyFrom(const CSVCMsg_GameEventList_key_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_GameEventList.key_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_GameEventList_key_t::IsInitialized() const { - return true; -} - -void CSVCMsg_GameEventList_key_t::InternalSwap(CSVCMsg_GameEventList_key_t* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - swap(_impl_.type_, other->_impl_.type_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_GameEventList_key_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[42]); -} - -// =================================================================== - -class CSVCMsg_GameEventList_descriptor_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_eventid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_GameEventList_descriptor_t::CSVCMsg_GameEventList_descriptor_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_GameEventList.descriptor_t) -} -CSVCMsg_GameEventList_descriptor_t::CSVCMsg_GameEventList_descriptor_t(const CSVCMsg_GameEventList_descriptor_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_GameEventList_descriptor_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.keys_){from._impl_.keys_} - , decltype(_impl_.name_){} - , decltype(_impl_.eventid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _this->_impl_.eventid_ = from._impl_.eventid_; - // @@protoc_insertion_point(copy_constructor:CSVCMsg_GameEventList.descriptor_t) -} - -inline void CSVCMsg_GameEventList_descriptor_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.keys_){arena} - , decltype(_impl_.name_){} - , decltype(_impl_.eventid_){0} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_GameEventList_descriptor_t::~CSVCMsg_GameEventList_descriptor_t() { - // @@protoc_insertion_point(destructor:CSVCMsg_GameEventList.descriptor_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_GameEventList_descriptor_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.keys_.~RepeatedPtrField(); - _impl_.name_.Destroy(); -} - -void CSVCMsg_GameEventList_descriptor_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_GameEventList_descriptor_t::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_GameEventList.descriptor_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.keys_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - _impl_.eventid_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_GameEventList_descriptor_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 eventid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_eventid(&has_bits); - _impl_.eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_GameEventList.descriptor_t.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated .CSVCMsg_GameEventList.key_t keys = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_keys(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_GameEventList_descriptor_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_GameEventList.descriptor_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 eventid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_eventid(), target); - } - - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_GameEventList.descriptor_t.name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_name(), target); - } - - // repeated .CSVCMsg_GameEventList.key_t keys = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_keys_size()); i < n; i++) { - const auto& repfield = this->_internal_keys(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_GameEventList.descriptor_t) - return target; -} - -size_t CSVCMsg_GameEventList_descriptor_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_GameEventList.descriptor_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CSVCMsg_GameEventList.key_t keys = 3; - total_size += 1UL * this->_internal_keys_size(); - for (const auto& msg : this->_impl_.keys_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional int32 eventid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eventid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_GameEventList_descriptor_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_GameEventList_descriptor_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_GameEventList_descriptor_t::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_GameEventList_descriptor_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_GameEventList.descriptor_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.keys_.MergeFrom(from._impl_.keys_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.eventid_ = from._impl_.eventid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_GameEventList_descriptor_t::CopyFrom(const CSVCMsg_GameEventList_descriptor_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_GameEventList.descriptor_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_GameEventList_descriptor_t::IsInitialized() const { - return true; -} - -void CSVCMsg_GameEventList_descriptor_t::InternalSwap(CSVCMsg_GameEventList_descriptor_t* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.keys_.InternalSwap(&other->_impl_.keys_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - swap(_impl_.eventid_, other->_impl_.eventid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_GameEventList_descriptor_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[43]); -} - -// =================================================================== - -class CSVCMsg_GameEventList::_Internal { - public: -}; - -CSVCMsg_GameEventList::CSVCMsg_GameEventList(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_GameEventList) -} -CSVCMsg_GameEventList::CSVCMsg_GameEventList(const CSVCMsg_GameEventList& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_GameEventList* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.descriptors_){from._impl_.descriptors_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_GameEventList) -} - -inline void CSVCMsg_GameEventList::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.descriptors_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CSVCMsg_GameEventList::~CSVCMsg_GameEventList() { - // @@protoc_insertion_point(destructor:CSVCMsg_GameEventList) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_GameEventList::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.descriptors_.~RepeatedPtrField(); -} - -void CSVCMsg_GameEventList::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_GameEventList::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_GameEventList) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.descriptors_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_GameEventList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_descriptors(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_GameEventList::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_GameEventList) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_descriptors_size()); i < n; i++) { - const auto& repfield = this->_internal_descriptors(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_GameEventList) - return target; -} - -size_t CSVCMsg_GameEventList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_GameEventList) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1; - total_size += 1UL * this->_internal_descriptors_size(); - for (const auto& msg : this->_impl_.descriptors_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_GameEventList::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_GameEventList::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_GameEventList::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_GameEventList::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_GameEventList) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.descriptors_.MergeFrom(from._impl_.descriptors_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_GameEventList::CopyFrom(const CSVCMsg_GameEventList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_GameEventList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_GameEventList::IsInitialized() const { - return true; -} - -void CSVCMsg_GameEventList::InternalSwap(CSVCMsg_GameEventList* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.descriptors_.InternalSwap(&other->_impl_.descriptors_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_GameEventList::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[44]); -} - -// =================================================================== - -class CSVCMsg_PacketEntities_alternate_baseline_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_entity_index(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_baseline_index(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CSVCMsg_PacketEntities_alternate_baseline_t::CSVCMsg_PacketEntities_alternate_baseline_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_PacketEntities.alternate_baseline_t) -} -CSVCMsg_PacketEntities_alternate_baseline_t::CSVCMsg_PacketEntities_alternate_baseline_t(const CSVCMsg_PacketEntities_alternate_baseline_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_PacketEntities_alternate_baseline_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entity_index_){} - , decltype(_impl_.baseline_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.entity_index_, &from._impl_.entity_index_, - static_cast(reinterpret_cast(&_impl_.baseline_index_) - - reinterpret_cast(&_impl_.entity_index_)) + sizeof(_impl_.baseline_index_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_PacketEntities.alternate_baseline_t) -} - -inline void CSVCMsg_PacketEntities_alternate_baseline_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entity_index_){0} - , decltype(_impl_.baseline_index_){0} - }; -} - -CSVCMsg_PacketEntities_alternate_baseline_t::~CSVCMsg_PacketEntities_alternate_baseline_t() { - // @@protoc_insertion_point(destructor:CSVCMsg_PacketEntities.alternate_baseline_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_PacketEntities_alternate_baseline_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSVCMsg_PacketEntities_alternate_baseline_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_PacketEntities_alternate_baseline_t::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_PacketEntities.alternate_baseline_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.entity_index_, 0, static_cast( - reinterpret_cast(&_impl_.baseline_index_) - - reinterpret_cast(&_impl_.entity_index_)) + sizeof(_impl_.baseline_index_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_PacketEntities_alternate_baseline_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 entity_index = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_entity_index(&has_bits); - _impl_.entity_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 baseline_index = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_baseline_index(&has_bits); - _impl_.baseline_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_PacketEntities_alternate_baseline_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_PacketEntities.alternate_baseline_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 entity_index = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entity_index(), target); - } - - // optional int32 baseline_index = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_baseline_index(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_PacketEntities.alternate_baseline_t) - return target; -} - -size_t CSVCMsg_PacketEntities_alternate_baseline_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_PacketEntities.alternate_baseline_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional int32 entity_index = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entity_index()); - } - - // optional int32 baseline_index = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_baseline_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_PacketEntities_alternate_baseline_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_PacketEntities_alternate_baseline_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_PacketEntities_alternate_baseline_t::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_PacketEntities_alternate_baseline_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_PacketEntities.alternate_baseline_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.entity_index_ = from._impl_.entity_index_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.baseline_index_ = from._impl_.baseline_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_PacketEntities_alternate_baseline_t::CopyFrom(const CSVCMsg_PacketEntities_alternate_baseline_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_PacketEntities.alternate_baseline_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_PacketEntities_alternate_baseline_t::IsInitialized() const { - return true; -} - -void CSVCMsg_PacketEntities_alternate_baseline_t::InternalSwap(CSVCMsg_PacketEntities_alternate_baseline_t* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_PacketEntities_alternate_baseline_t, _impl_.baseline_index_) - + sizeof(CSVCMsg_PacketEntities_alternate_baseline_t::_impl_.baseline_index_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_PacketEntities_alternate_baseline_t, _impl_.entity_index_)>( - reinterpret_cast(&_impl_.entity_index_), - reinterpret_cast(&other->_impl_.entity_index_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_PacketEntities_alternate_baseline_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[45]); -} - -// =================================================================== - -class CSVCMsg_PacketEntities_non_transmitted_entities_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_header_count(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_PacketEntities_non_transmitted_entities_t::CSVCMsg_PacketEntities_non_transmitted_entities_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_PacketEntities.non_transmitted_entities_t) -} -CSVCMsg_PacketEntities_non_transmitted_entities_t::CSVCMsg_PacketEntities_non_transmitted_entities_t(const CSVCMsg_PacketEntities_non_transmitted_entities_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_PacketEntities_non_transmitted_entities_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.header_count_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - _this->_impl_.header_count_ = from._impl_.header_count_; - // @@protoc_insertion_point(copy_constructor:CSVCMsg_PacketEntities.non_transmitted_entities_t) -} - -inline void CSVCMsg_PacketEntities_non_transmitted_entities_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.header_count_){0} - }; - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_PacketEntities_non_transmitted_entities_t::~CSVCMsg_PacketEntities_non_transmitted_entities_t() { - // @@protoc_insertion_point(destructor:CSVCMsg_PacketEntities.non_transmitted_entities_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_PacketEntities_non_transmitted_entities_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_.Destroy(); -} - -void CSVCMsg_PacketEntities_non_transmitted_entities_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_PacketEntities_non_transmitted_entities_t::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_PacketEntities.non_transmitted_entities_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - _impl_.header_count_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_PacketEntities_non_transmitted_entities_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 header_count = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_header_count(&has_bits); - _impl_.header_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_PacketEntities_non_transmitted_entities_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_PacketEntities.non_transmitted_entities_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 header_count = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_header_count(), target); - } - - // optional bytes data = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_PacketEntities.non_transmitted_entities_t) - return target; -} - -size_t CSVCMsg_PacketEntities_non_transmitted_entities_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_PacketEntities.non_transmitted_entities_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bytes data = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - // optional int32 header_count = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_header_count()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_PacketEntities_non_transmitted_entities_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_PacketEntities_non_transmitted_entities_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_PacketEntities_non_transmitted_entities_t::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_PacketEntities_non_transmitted_entities_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_PacketEntities.non_transmitted_entities_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_data(from._internal_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.header_count_ = from._impl_.header_count_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_PacketEntities_non_transmitted_entities_t::CopyFrom(const CSVCMsg_PacketEntities_non_transmitted_entities_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_PacketEntities.non_transmitted_entities_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_PacketEntities_non_transmitted_entities_t::IsInitialized() const { - return true; -} - -void CSVCMsg_PacketEntities_non_transmitted_entities_t::InternalSwap(CSVCMsg_PacketEntities_non_transmitted_entities_t* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); - swap(_impl_.header_count_, other->_impl_.header_count_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_PacketEntities_non_transmitted_entities_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[46]); -} - -// =================================================================== - -class CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_count(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_PacketEntities_outofpvs_entity_updates_t::CSVCMsg_PacketEntities_outofpvs_entity_updates_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) -} -CSVCMsg_PacketEntities_outofpvs_entity_updates_t::CSVCMsg_PacketEntities_outofpvs_entity_updates_t(const CSVCMsg_PacketEntities_outofpvs_entity_updates_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_PacketEntities_outofpvs_entity_updates_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.count_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - _this->_impl_.count_ = from._impl_.count_; - // @@protoc_insertion_point(copy_constructor:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) -} - -inline void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.count_){0} - }; - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_PacketEntities_outofpvs_entity_updates_t::~CSVCMsg_PacketEntities_outofpvs_entity_updates_t() { - // @@protoc_insertion_point(destructor:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_.Destroy(); -} - -void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - _impl_.count_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 count = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_count(&has_bits); - _impl_.count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 count = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_count(), target); - } - - // optional bytes data = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) - return target; -} - -size_t CSVCMsg_PacketEntities_outofpvs_entity_updates_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bytes data = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - // optional int32 count = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_count()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_PacketEntities_outofpvs_entity_updates_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_PacketEntities_outofpvs_entity_updates_t::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_data(from._internal_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.count_ = from._impl_.count_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::CopyFrom(const CSVCMsg_PacketEntities_outofpvs_entity_updates_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_PacketEntities_outofpvs_entity_updates_t::IsInitialized() const { - return true; -} - -void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::InternalSwap(CSVCMsg_PacketEntities_outofpvs_entity_updates_t* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); - swap(_impl_.count_, other->_impl_.count_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_PacketEntities_outofpvs_entity_updates_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[47]); -} - -// =================================================================== - -class CSVCMsg_PacketEntities::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_max_entries(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_updated_entries(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_legacy_is_delta(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_update_baseline(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_baseline(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_delta_from(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_entity_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_pending_full_frame(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_active_spawngroup_handle(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_max_spawngroup_creationsequence(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_last_cmd_number_executed(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_last_cmd_number_recv_delta(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } - static void set_has_server_tick(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_serialized_entities(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_has_pvs_vis_bits_deprecated(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static const ::CSVCMsg_PacketEntities_non_transmitted_entities_t& non_transmitted_entities(const CSVCMsg_PacketEntities* msg); - static void set_has_non_transmitted_entities(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_cq_starved_command_ticks(HasBits* has_bits) { - (*has_bits)[0] |= 262144u; - } - static void set_has_cq_discarded_command_ticks(HasBits* has_bits) { - (*has_bits)[0] |= 524288u; - } - static const ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t& outofpvs_entity_updates(const CSVCMsg_PacketEntities* msg); - static void set_has_outofpvs_entity_updates(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_dev_padding(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::CSVCMsg_PacketEntities_non_transmitted_entities_t& -CSVCMsg_PacketEntities::_Internal::non_transmitted_entities(const CSVCMsg_PacketEntities* msg) { - return *msg->_impl_.non_transmitted_entities_; -} -const ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t& -CSVCMsg_PacketEntities::_Internal::outofpvs_entity_updates(const CSVCMsg_PacketEntities* msg) { - return *msg->_impl_.outofpvs_entity_updates_; -} -CSVCMsg_PacketEntities::CSVCMsg_PacketEntities(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_PacketEntities) -} -CSVCMsg_PacketEntities::CSVCMsg_PacketEntities(const CSVCMsg_PacketEntities& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_PacketEntities* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.alternate_baselines_){from._impl_.alternate_baselines_} - , decltype(_impl_.cmd_recv_status_){from._impl_.cmd_recv_status_} - , /*decltype(_impl_._cmd_recv_status_cached_byte_size_)*/{0} - , decltype(_impl_.entity_data_){} - , decltype(_impl_.serialized_entities_){} - , decltype(_impl_.dev_padding_){} - , decltype(_impl_.non_transmitted_entities_){nullptr} - , decltype(_impl_.outofpvs_entity_updates_){nullptr} - , decltype(_impl_.max_entries_){} - , decltype(_impl_.updated_entries_){} - , decltype(_impl_.baseline_){} - , decltype(_impl_.legacy_is_delta_){} - , decltype(_impl_.update_baseline_){} - , decltype(_impl_.pending_full_frame_){} - , decltype(_impl_.delta_from_){} - , decltype(_impl_.active_spawngroup_handle_){} - , decltype(_impl_.max_spawngroup_creationsequence_){} - , decltype(_impl_.last_cmd_number_executed_){} - , decltype(_impl_.server_tick_){} - , decltype(_impl_.has_pvs_vis_bits_deprecated_){} - , decltype(_impl_.last_cmd_number_recv_delta_){} - , decltype(_impl_.cq_starved_command_ticks_){} - , decltype(_impl_.cq_discarded_command_ticks_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.entity_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.entity_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_entity_data()) { - _this->_impl_.entity_data_.Set(from._internal_entity_data(), - _this->GetArenaForAllocation()); - } - _impl_.serialized_entities_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.serialized_entities_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_serialized_entities()) { - _this->_impl_.serialized_entities_.Set(from._internal_serialized_entities(), - _this->GetArenaForAllocation()); - } - _impl_.dev_padding_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dev_padding_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_dev_padding()) { - _this->_impl_.dev_padding_.Set(from._internal_dev_padding(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_non_transmitted_entities()) { - _this->_impl_.non_transmitted_entities_ = new ::CSVCMsg_PacketEntities_non_transmitted_entities_t(*from._impl_.non_transmitted_entities_); - } - if (from._internal_has_outofpvs_entity_updates()) { - _this->_impl_.outofpvs_entity_updates_ = new ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t(*from._impl_.outofpvs_entity_updates_); - } - ::memcpy(&_impl_.max_entries_, &from._impl_.max_entries_, - static_cast(reinterpret_cast(&_impl_.cq_discarded_command_ticks_) - - reinterpret_cast(&_impl_.max_entries_)) + sizeof(_impl_.cq_discarded_command_ticks_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_PacketEntities) -} - -inline void CSVCMsg_PacketEntities::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.alternate_baselines_){arena} - , decltype(_impl_.cmd_recv_status_){arena} - , /*decltype(_impl_._cmd_recv_status_cached_byte_size_)*/{0} - , decltype(_impl_.entity_data_){} - , decltype(_impl_.serialized_entities_){} - , decltype(_impl_.dev_padding_){} - , decltype(_impl_.non_transmitted_entities_){nullptr} - , decltype(_impl_.outofpvs_entity_updates_){nullptr} - , decltype(_impl_.max_entries_){0} - , decltype(_impl_.updated_entries_){0} - , decltype(_impl_.baseline_){0} - , decltype(_impl_.legacy_is_delta_){false} - , decltype(_impl_.update_baseline_){false} - , decltype(_impl_.pending_full_frame_){false} - , decltype(_impl_.delta_from_){0} - , decltype(_impl_.active_spawngroup_handle_){0u} - , decltype(_impl_.max_spawngroup_creationsequence_){0u} - , decltype(_impl_.last_cmd_number_executed_){0u} - , decltype(_impl_.server_tick_){0u} - , decltype(_impl_.has_pvs_vis_bits_deprecated_){0u} - , decltype(_impl_.last_cmd_number_recv_delta_){0} - , decltype(_impl_.cq_starved_command_ticks_){0u} - , decltype(_impl_.cq_discarded_command_ticks_){0u} - }; - _impl_.entity_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.entity_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.serialized_entities_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.serialized_entities_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dev_padding_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dev_padding_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_PacketEntities::~CSVCMsg_PacketEntities() { - // @@protoc_insertion_point(destructor:CSVCMsg_PacketEntities) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_PacketEntities::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.alternate_baselines_.~RepeatedPtrField(); - _impl_.cmd_recv_status_.~RepeatedField(); - _impl_.entity_data_.Destroy(); - _impl_.serialized_entities_.Destroy(); - _impl_.dev_padding_.Destroy(); - if (this != internal_default_instance()) delete _impl_.non_transmitted_entities_; - if (this != internal_default_instance()) delete _impl_.outofpvs_entity_updates_; -} - -void CSVCMsg_PacketEntities::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_PacketEntities::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_PacketEntities) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.alternate_baselines_.Clear(); - _impl_.cmd_recv_status_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.entity_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.serialized_entities_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.dev_padding_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.non_transmitted_entities_ != nullptr); - _impl_.non_transmitted_entities_->Clear(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(_impl_.outofpvs_entity_updates_ != nullptr); - _impl_.outofpvs_entity_updates_->Clear(); - } - } - if (cached_has_bits & 0x000000e0u) { - ::memset(&_impl_.max_entries_, 0, static_cast( - reinterpret_cast(&_impl_.baseline_) - - reinterpret_cast(&_impl_.max_entries_)) + sizeof(_impl_.baseline_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.legacy_is_delta_, 0, static_cast( - reinterpret_cast(&_impl_.server_tick_) - - reinterpret_cast(&_impl_.legacy_is_delta_)) + sizeof(_impl_.server_tick_)); - } - if (cached_has_bits & 0x000f0000u) { - ::memset(&_impl_.has_pvs_vis_bits_deprecated_, 0, static_cast( - reinterpret_cast(&_impl_.cq_discarded_command_ticks_) - - reinterpret_cast(&_impl_.has_pvs_vis_bits_deprecated_)) + sizeof(_impl_.cq_discarded_command_ticks_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_PacketEntities::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 max_entries = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_max_entries(&has_bits); - _impl_.max_entries_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 updated_entries = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_updated_entries(&has_bits); - _impl_.updated_entries_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool legacy_is_delta = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_legacy_is_delta(&has_bits); - _impl_.legacy_is_delta_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool update_baseline = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_update_baseline(&has_bits); - _impl_.update_baseline_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 baseline = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_baseline(&has_bits); - _impl_.baseline_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 delta_from = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_delta_from(&has_bits); - _impl_.delta_from_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes entity_data = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_entity_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool pending_full_frame = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_pending_full_frame(&has_bits); - _impl_.pending_full_frame_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 active_spawngroup_handle = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_active_spawngroup_handle(&has_bits); - _impl_.active_spawngroup_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 max_spawngroup_creationsequence = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_max_spawngroup_creationsequence(&has_bits); - _impl_.max_spawngroup_creationsequence_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 last_cmd_number_executed = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_last_cmd_number_executed(&has_bits); - _impl_.last_cmd_number_executed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 server_tick = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_server_tick(&has_bits); - _impl_.server_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes serialized_entities = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - auto str = _internal_mutable_serialized_entities(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CSVCMsg_PacketEntities.alternate_baseline_t alternate_baselines = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_alternate_baselines(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<122>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 has_pvs_vis_bits_deprecated = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_has_pvs_vis_bits_deprecated(&has_bits); - _impl_.has_pvs_vis_bits_deprecated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional sint32 last_cmd_number_recv_delta = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_last_cmd_number_recv_delta(&has_bits); - _impl_.last_cmd_number_recv_delta_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CSVCMsg_PacketEntities.non_transmitted_entities_t non_transmitted_entities = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { - ptr = ctx->ParseMessage(_internal_mutable_non_transmitted_entities(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 cq_starved_command_ticks = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { - _Internal::set_has_cq_starved_command_ticks(&has_bits); - _impl_.cq_starved_command_ticks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 cq_discarded_command_ticks = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { - _Internal::set_has_cq_discarded_command_ticks(&has_bits); - _impl_.cq_discarded_command_ticks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated sint32 cmd_recv_status = 22 [packed = true]; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 178)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedSInt32Parser(_internal_mutable_cmd_recv_status(), ptr, ctx); - CHK_(ptr); - } else if (static_cast(tag) == 176) { - _internal_add_cmd_recv_status(::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag32(&ptr)); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CSVCMsg_PacketEntities.outofpvs_entity_updates_t outofpvs_entity_updates = 23; - case 23: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 186)) { - ptr = ctx->ParseMessage(_internal_mutable_outofpvs_entity_updates(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes dev_padding = 999; - case 999: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_dev_padding(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_PacketEntities::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_PacketEntities) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 max_entries = 1; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_max_entries(), target); - } - - // optional int32 updated_entries = 2; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_updated_entries(), target); - } - - // optional bool legacy_is_delta = 3; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_legacy_is_delta(), target); - } - - // optional bool update_baseline = 4; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_update_baseline(), target); - } - - // optional int32 baseline = 5; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_baseline(), target); - } - - // optional int32 delta_from = 6; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_delta_from(), target); - } - - // optional bytes entity_data = 7; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 7, this->_internal_entity_data(), target); - } - - // optional bool pending_full_frame = 8; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_pending_full_frame(), target); - } - - // optional uint32 active_spawngroup_handle = 9; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_active_spawngroup_handle(), target); - } - - // optional uint32 max_spawngroup_creationsequence = 10; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_max_spawngroup_creationsequence(), target); - } - - // optional uint32 last_cmd_number_executed = 11; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_last_cmd_number_executed(), target); - } - - // optional uint32 server_tick = 12; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_server_tick(), target); - } - - // optional bytes serialized_entities = 13; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 13, this->_internal_serialized_entities(), target); - } - - // repeated .CSVCMsg_PacketEntities.alternate_baseline_t alternate_baselines = 15; - for (unsigned i = 0, - n = static_cast(this->_internal_alternate_baselines_size()); i < n; i++) { - const auto& repfield = this->_internal_alternate_baselines(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(15, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 has_pvs_vis_bits_deprecated = 16; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_has_pvs_vis_bits_deprecated(), target); - } - - // optional sint32 last_cmd_number_recv_delta = 17; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt32ToArray(17, this->_internal_last_cmd_number_recv_delta(), target); - } - - // optional .CSVCMsg_PacketEntities.non_transmitted_entities_t non_transmitted_entities = 19; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(19, _Internal::non_transmitted_entities(this), - _Internal::non_transmitted_entities(this).GetCachedSize(), target, stream); - } - - // optional uint32 cq_starved_command_ticks = 20; - if (cached_has_bits & 0x00040000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_cq_starved_command_ticks(), target); - } - - // optional uint32 cq_discarded_command_ticks = 21; - if (cached_has_bits & 0x00080000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_cq_discarded_command_ticks(), target); - } - - // repeated sint32 cmd_recv_status = 22 [packed = true]; - { - int byte_size = _impl_._cmd_recv_status_cached_byte_size_.load(std::memory_order_relaxed); - if (byte_size > 0) { - target = stream->WriteSInt32Packed( - 22, _internal_cmd_recv_status(), byte_size, target); - } - } - - // optional .CSVCMsg_PacketEntities.outofpvs_entity_updates_t outofpvs_entity_updates = 23; - if (cached_has_bits & 0x00000010u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(23, _Internal::outofpvs_entity_updates(this), - _Internal::outofpvs_entity_updates(this).GetCachedSize(), target, stream); - } - - // optional bytes dev_padding = 999; - if (cached_has_bits & 0x00000004u) { - target = stream->WriteBytesMaybeAliased( - 999, this->_internal_dev_padding(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_PacketEntities) - return target; -} - -size_t CSVCMsg_PacketEntities::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_PacketEntities) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CSVCMsg_PacketEntities.alternate_baseline_t alternate_baselines = 15; - total_size += 1UL * this->_internal_alternate_baselines_size(); - for (const auto& msg : this->_impl_.alternate_baselines_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated sint32 cmd_recv_status = 22 [packed = true]; - { - size_t data_size = ::_pbi::WireFormatLite:: - SInt32Size(this->_impl_.cmd_recv_status_); - if (data_size > 0) { - total_size += 2 + - ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); - } - int cached_size = ::_pbi::ToCachedSize(data_size); - _impl_._cmd_recv_status_cached_byte_size_.store(cached_size, - std::memory_order_relaxed); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bytes entity_data = 7; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_entity_data()); - } - - // optional bytes serialized_entities = 13; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_serialized_entities()); - } - - // optional bytes dev_padding = 999; - if (cached_has_bits & 0x00000004u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_dev_padding()); - } - - // optional .CSVCMsg_PacketEntities.non_transmitted_entities_t non_transmitted_entities = 19; - if (cached_has_bits & 0x00000008u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.non_transmitted_entities_); - } - - // optional .CSVCMsg_PacketEntities.outofpvs_entity_updates_t outofpvs_entity_updates = 23; - if (cached_has_bits & 0x00000010u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.outofpvs_entity_updates_); - } - - // optional int32 max_entries = 1; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_max_entries()); - } - - // optional int32 updated_entries = 2; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_updated_entries()); - } - - // optional int32 baseline = 5; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_baseline()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional bool legacy_is_delta = 3; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 1; - } - - // optional bool update_baseline = 4; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 1; - } - - // optional bool pending_full_frame = 8; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 1; - } - - // optional int32 delta_from = 6; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_delta_from()); - } - - // optional uint32 active_spawngroup_handle = 9; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_active_spawngroup_handle()); - } - - // optional uint32 max_spawngroup_creationsequence = 10; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_max_spawngroup_creationsequence()); - } - - // optional uint32 last_cmd_number_executed = 11; - if (cached_has_bits & 0x00004000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_last_cmd_number_executed()); - } - - // optional uint32 server_tick = 12; - if (cached_has_bits & 0x00008000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_server_tick()); - } - - } - if (cached_has_bits & 0x000f0000u) { - // optional uint32 has_pvs_vis_bits_deprecated = 16; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_has_pvs_vis_bits_deprecated()); - } - - // optional sint32 last_cmd_number_recv_delta = 17; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + - ::_pbi::WireFormatLite::SInt32Size( - this->_internal_last_cmd_number_recv_delta()); - } - - // optional uint32 cq_starved_command_ticks = 20; - if (cached_has_bits & 0x00040000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_cq_starved_command_ticks()); - } - - // optional uint32 cq_discarded_command_ticks = 21; - if (cached_has_bits & 0x00080000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_cq_discarded_command_ticks()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_PacketEntities::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_PacketEntities::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_PacketEntities::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_PacketEntities::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_PacketEntities) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.alternate_baselines_.MergeFrom(from._impl_.alternate_baselines_); - _this->_impl_.cmd_recv_status_.MergeFrom(from._impl_.cmd_recv_status_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_entity_data(from._internal_entity_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_serialized_entities(from._internal_serialized_entities()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_dev_padding(from._internal_dev_padding()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_non_transmitted_entities()->::CSVCMsg_PacketEntities_non_transmitted_entities_t::MergeFrom( - from._internal_non_transmitted_entities()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_mutable_outofpvs_entity_updates()->::CSVCMsg_PacketEntities_outofpvs_entity_updates_t::MergeFrom( - from._internal_outofpvs_entity_updates()); - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.max_entries_ = from._impl_.max_entries_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.updated_entries_ = from._impl_.updated_entries_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.baseline_ = from._impl_.baseline_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.legacy_is_delta_ = from._impl_.legacy_is_delta_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.update_baseline_ = from._impl_.update_baseline_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.pending_full_frame_ = from._impl_.pending_full_frame_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.delta_from_ = from._impl_.delta_from_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.active_spawngroup_handle_ = from._impl_.active_spawngroup_handle_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.max_spawngroup_creationsequence_ = from._impl_.max_spawngroup_creationsequence_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.last_cmd_number_executed_ = from._impl_.last_cmd_number_executed_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.server_tick_ = from._impl_.server_tick_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x000f0000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.has_pvs_vis_bits_deprecated_ = from._impl_.has_pvs_vis_bits_deprecated_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.last_cmd_number_recv_delta_ = from._impl_.last_cmd_number_recv_delta_; - } - if (cached_has_bits & 0x00040000u) { - _this->_impl_.cq_starved_command_ticks_ = from._impl_.cq_starved_command_ticks_; - } - if (cached_has_bits & 0x00080000u) { - _this->_impl_.cq_discarded_command_ticks_ = from._impl_.cq_discarded_command_ticks_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_PacketEntities::CopyFrom(const CSVCMsg_PacketEntities& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_PacketEntities) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_PacketEntities::IsInitialized() const { - return true; -} - -void CSVCMsg_PacketEntities::InternalSwap(CSVCMsg_PacketEntities* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.alternate_baselines_.InternalSwap(&other->_impl_.alternate_baselines_); - _impl_.cmd_recv_status_.InternalSwap(&other->_impl_.cmd_recv_status_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.entity_data_, lhs_arena, - &other->_impl_.entity_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.serialized_entities_, lhs_arena, - &other->_impl_.serialized_entities_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.dev_padding_, lhs_arena, - &other->_impl_.dev_padding_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_PacketEntities, _impl_.cq_discarded_command_ticks_) - + sizeof(CSVCMsg_PacketEntities::_impl_.cq_discarded_command_ticks_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_PacketEntities, _impl_.non_transmitted_entities_)>( - reinterpret_cast(&_impl_.non_transmitted_entities_), - reinterpret_cast(&other->_impl_.non_transmitted_entities_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_PacketEntities::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[48]); -} - -// =================================================================== - -class CSVCMsg_TempEntities::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_reliable(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_num_entries(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_entity_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_TempEntities::CSVCMsg_TempEntities(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_TempEntities) -} -CSVCMsg_TempEntities::CSVCMsg_TempEntities(const CSVCMsg_TempEntities& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_TempEntities* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entity_data_){} - , decltype(_impl_.reliable_){} - , decltype(_impl_.num_entries_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.entity_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.entity_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_entity_data()) { - _this->_impl_.entity_data_.Set(from._internal_entity_data(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.reliable_, &from._impl_.reliable_, - static_cast(reinterpret_cast(&_impl_.num_entries_) - - reinterpret_cast(&_impl_.reliable_)) + sizeof(_impl_.num_entries_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_TempEntities) -} - -inline void CSVCMsg_TempEntities::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entity_data_){} - , decltype(_impl_.reliable_){false} - , decltype(_impl_.num_entries_){0} - }; - _impl_.entity_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.entity_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_TempEntities::~CSVCMsg_TempEntities() { - // @@protoc_insertion_point(destructor:CSVCMsg_TempEntities) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_TempEntities::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.entity_data_.Destroy(); -} - -void CSVCMsg_TempEntities::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_TempEntities::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_TempEntities) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.entity_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.reliable_, 0, static_cast( - reinterpret_cast(&_impl_.num_entries_) - - reinterpret_cast(&_impl_.reliable_)) + sizeof(_impl_.num_entries_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_TempEntities::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool reliable = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_reliable(&has_bits); - _impl_.reliable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 num_entries = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_num_entries(&has_bits); - _impl_.num_entries_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes entity_data = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_entity_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_TempEntities::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_TempEntities) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool reliable = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_reliable(), target); - } - - // optional int32 num_entries = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_num_entries(), target); - } - - // optional bytes entity_data = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 3, this->_internal_entity_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_TempEntities) - return target; -} - -size_t CSVCMsg_TempEntities::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_TempEntities) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional bytes entity_data = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_entity_data()); - } - - // optional bool reliable = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - // optional int32 num_entries = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_entries()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_TempEntities::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_TempEntities::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_TempEntities::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_TempEntities::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_TempEntities) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_entity_data(from._internal_entity_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.reliable_ = from._impl_.reliable_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.num_entries_ = from._impl_.num_entries_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_TempEntities::CopyFrom(const CSVCMsg_TempEntities& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_TempEntities) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_TempEntities::IsInitialized() const { - return true; -} - -void CSVCMsg_TempEntities::InternalSwap(CSVCMsg_TempEntities* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.entity_data_, lhs_arena, - &other->_impl_.entity_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_TempEntities, _impl_.num_entries_) - + sizeof(CSVCMsg_TempEntities::_impl_.num_entries_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_TempEntities, _impl_.reliable_)>( - reinterpret_cast(&_impl_.reliable_), - reinterpret_cast(&other->_impl_.reliable_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_TempEntities::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[49]); -} - -// =================================================================== - -class CSVCMsg_CreateStringTable::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_num_entries(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_user_data_fixed_size(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_user_data_size(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_user_data_size_bits(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_string_data(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_uncompressed_size(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_data_compressed(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_using_varint_bitcounts(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } -}; - -CSVCMsg_CreateStringTable::CSVCMsg_CreateStringTable(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_CreateStringTable) -} -CSVCMsg_CreateStringTable::CSVCMsg_CreateStringTable(const CSVCMsg_CreateStringTable& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_CreateStringTable* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.string_data_){} - , decltype(_impl_.num_entries_){} - , decltype(_impl_.user_data_size_){} - , decltype(_impl_.user_data_size_bits_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.user_data_fixed_size_){} - , decltype(_impl_.data_compressed_){} - , decltype(_impl_.using_varint_bitcounts_){} - , decltype(_impl_.uncompressed_size_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.string_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.string_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_string_data()) { - _this->_impl_.string_data_.Set(from._internal_string_data(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.num_entries_, &from._impl_.num_entries_, - static_cast(reinterpret_cast(&_impl_.uncompressed_size_) - - reinterpret_cast(&_impl_.num_entries_)) + sizeof(_impl_.uncompressed_size_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_CreateStringTable) -} - -inline void CSVCMsg_CreateStringTable::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.string_data_){} - , decltype(_impl_.num_entries_){0} - , decltype(_impl_.user_data_size_){0} - , decltype(_impl_.user_data_size_bits_){0} - , decltype(_impl_.flags_){0} - , decltype(_impl_.user_data_fixed_size_){false} - , decltype(_impl_.data_compressed_){false} - , decltype(_impl_.using_varint_bitcounts_){false} - , decltype(_impl_.uncompressed_size_){0} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.string_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.string_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_CreateStringTable::~CSVCMsg_CreateStringTable() { - // @@protoc_insertion_point(destructor:CSVCMsg_CreateStringTable) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_CreateStringTable::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); - _impl_.string_data_.Destroy(); -} - -void CSVCMsg_CreateStringTable::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_CreateStringTable::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_CreateStringTable) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.string_data_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000fcu) { - ::memset(&_impl_.num_entries_, 0, static_cast( - reinterpret_cast(&_impl_.data_compressed_) - - reinterpret_cast(&_impl_.num_entries_)) + sizeof(_impl_.data_compressed_)); - } - if (cached_has_bits & 0x00000300u) { - ::memset(&_impl_.using_varint_bitcounts_, 0, static_cast( - reinterpret_cast(&_impl_.uncompressed_size_) - - reinterpret_cast(&_impl_.using_varint_bitcounts_)) + sizeof(_impl_.uncompressed_size_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_CreateStringTable::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_CreateStringTable.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 num_entries = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_num_entries(&has_bits); - _impl_.num_entries_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool user_data_fixed_size = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_user_data_fixed_size(&has_bits); - _impl_.user_data_fixed_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 user_data_size = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_user_data_size(&has_bits); - _impl_.user_data_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 user_data_size_bits = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_user_data_size_bits(&has_bits); - _impl_.user_data_size_bits_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 flags = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes string_data = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_string_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 uncompressed_size = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_uncompressed_size(&has_bits); - _impl_.uncompressed_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool data_compressed = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_data_compressed(&has_bits); - _impl_.data_compressed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool using_varint_bitcounts = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_using_varint_bitcounts(&has_bits); - _impl_.using_varint_bitcounts_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_CreateStringTable::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_CreateStringTable) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_CreateStringTable.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // optional int32 num_entries = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_num_entries(), target); - } - - // optional bool user_data_fixed_size = 3; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_user_data_fixed_size(), target); - } - - // optional int32 user_data_size = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_user_data_size(), target); - } - - // optional int32 user_data_size_bits = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_user_data_size_bits(), target); - } - - // optional int32 flags = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_flags(), target); - } - - // optional bytes string_data = 7; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 7, this->_internal_string_data(), target); - } - - // optional int32 uncompressed_size = 8; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_uncompressed_size(), target); - } - - // optional bool data_compressed = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_data_compressed(), target); - } - - // optional bool using_varint_bitcounts = 10; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(10, this->_internal_using_varint_bitcounts(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_CreateStringTable) - return target; -} - -size_t CSVCMsg_CreateStringTable::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_CreateStringTable) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional bytes string_data = 7; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_string_data()); - } - - // optional int32 num_entries = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_entries()); - } - - // optional int32 user_data_size = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_user_data_size()); - } - - // optional int32 user_data_size_bits = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_user_data_size_bits()); - } - - // optional int32 flags = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_flags()); - } - - // optional bool user_data_fixed_size = 3; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 1; - } - - // optional bool data_compressed = 9; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 1; - } - - } - if (cached_has_bits & 0x00000300u) { - // optional bool using_varint_bitcounts = 10; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 1; - } - - // optional int32 uncompressed_size = 8; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_uncompressed_size()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_CreateStringTable::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_CreateStringTable::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_CreateStringTable::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_CreateStringTable::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_CreateStringTable) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_string_data(from._internal_string_data()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.num_entries_ = from._impl_.num_entries_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.user_data_size_ = from._impl_.user_data_size_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.user_data_size_bits_ = from._impl_.user_data_size_bits_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.user_data_fixed_size_ = from._impl_.user_data_fixed_size_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.data_compressed_ = from._impl_.data_compressed_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000300u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.using_varint_bitcounts_ = from._impl_.using_varint_bitcounts_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.uncompressed_size_ = from._impl_.uncompressed_size_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_CreateStringTable::CopyFrom(const CSVCMsg_CreateStringTable& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_CreateStringTable) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_CreateStringTable::IsInitialized() const { - return true; -} - -void CSVCMsg_CreateStringTable::InternalSwap(CSVCMsg_CreateStringTable* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.string_data_, lhs_arena, - &other->_impl_.string_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_CreateStringTable, _impl_.uncompressed_size_) - + sizeof(CSVCMsg_CreateStringTable::_impl_.uncompressed_size_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_CreateStringTable, _impl_.num_entries_)>( - reinterpret_cast(&_impl_.num_entries_), - reinterpret_cast(&other->_impl_.num_entries_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_CreateStringTable::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[50]); -} - -// =================================================================== - -class CSVCMsg_UpdateStringTable::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_table_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_num_changed_entries(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_string_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_UpdateStringTable::CSVCMsg_UpdateStringTable(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_UpdateStringTable) -} -CSVCMsg_UpdateStringTable::CSVCMsg_UpdateStringTable(const CSVCMsg_UpdateStringTable& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_UpdateStringTable* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.string_data_){} - , decltype(_impl_.table_id_){} - , decltype(_impl_.num_changed_entries_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.string_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.string_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_string_data()) { - _this->_impl_.string_data_.Set(from._internal_string_data(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.table_id_, &from._impl_.table_id_, - static_cast(reinterpret_cast(&_impl_.num_changed_entries_) - - reinterpret_cast(&_impl_.table_id_)) + sizeof(_impl_.num_changed_entries_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_UpdateStringTable) -} - -inline void CSVCMsg_UpdateStringTable::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.string_data_){} - , decltype(_impl_.table_id_){0} - , decltype(_impl_.num_changed_entries_){0} - }; - _impl_.string_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.string_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_UpdateStringTable::~CSVCMsg_UpdateStringTable() { - // @@protoc_insertion_point(destructor:CSVCMsg_UpdateStringTable) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_UpdateStringTable::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.string_data_.Destroy(); -} - -void CSVCMsg_UpdateStringTable::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_UpdateStringTable::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_UpdateStringTable) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.string_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.table_id_, 0, static_cast( - reinterpret_cast(&_impl_.num_changed_entries_) - - reinterpret_cast(&_impl_.table_id_)) + sizeof(_impl_.num_changed_entries_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_UpdateStringTable::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 table_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_table_id(&has_bits); - _impl_.table_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 num_changed_entries = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_num_changed_entries(&has_bits); - _impl_.num_changed_entries_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes string_data = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_string_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_UpdateStringTable::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_UpdateStringTable) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 table_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_table_id(), target); - } - - // optional int32 num_changed_entries = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_num_changed_entries(), target); - } - - // optional bytes string_data = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 3, this->_internal_string_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_UpdateStringTable) - return target; -} - -size_t CSVCMsg_UpdateStringTable::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_UpdateStringTable) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional bytes string_data = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_string_data()); - } - - // optional int32 table_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_table_id()); - } - - // optional int32 num_changed_entries = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_changed_entries()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_UpdateStringTable::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_UpdateStringTable::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_UpdateStringTable::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_UpdateStringTable::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_UpdateStringTable) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_string_data(from._internal_string_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.table_id_ = from._impl_.table_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.num_changed_entries_ = from._impl_.num_changed_entries_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_UpdateStringTable::CopyFrom(const CSVCMsg_UpdateStringTable& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_UpdateStringTable) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_UpdateStringTable::IsInitialized() const { - return true; -} - -void CSVCMsg_UpdateStringTable::InternalSwap(CSVCMsg_UpdateStringTable* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.string_data_, lhs_arena, - &other->_impl_.string_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_UpdateStringTable, _impl_.num_changed_entries_) - + sizeof(CSVCMsg_UpdateStringTable::_impl_.num_changed_entries_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_UpdateStringTable, _impl_.table_id_)>( - reinterpret_cast(&_impl_.table_id_), - reinterpret_cast(&other->_impl_.table_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_UpdateStringTable::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[51]); -} - -// =================================================================== - -class CSVCMsg_VoiceData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVoiceAudio& audio(const CSVCMsg_VoiceData* msg); - static void set_has_audio(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_client(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_proximity(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_xuid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_audible_mask(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_tick(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_passthrough(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } -}; - -const ::CMsgVoiceAudio& -CSVCMsg_VoiceData::_Internal::audio(const CSVCMsg_VoiceData* msg) { - return *msg->_impl_.audio_; -} -CSVCMsg_VoiceData::CSVCMsg_VoiceData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_VoiceData) -} -CSVCMsg_VoiceData::CSVCMsg_VoiceData(const CSVCMsg_VoiceData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_VoiceData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.audio_){nullptr} - , decltype(_impl_.xuid_){} - , decltype(_impl_.proximity_){} - , decltype(_impl_.audible_mask_){} - , decltype(_impl_.tick_){} - , decltype(_impl_.passthrough_){} - , decltype(_impl_.client_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_audio()) { - _this->_impl_.audio_ = new ::CMsgVoiceAudio(*from._impl_.audio_); - } - ::memcpy(&_impl_.xuid_, &from._impl_.xuid_, - static_cast(reinterpret_cast(&_impl_.client_) - - reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.client_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_VoiceData) -} - -inline void CSVCMsg_VoiceData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.audio_){nullptr} - , decltype(_impl_.xuid_){uint64_t{0u}} - , decltype(_impl_.proximity_){false} - , decltype(_impl_.audible_mask_){0} - , decltype(_impl_.tick_){0u} - , decltype(_impl_.passthrough_){0} - , decltype(_impl_.client_){-1} - }; -} - -CSVCMsg_VoiceData::~CSVCMsg_VoiceData() { - // @@protoc_insertion_point(destructor:CSVCMsg_VoiceData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_VoiceData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.audio_; -} - -void CSVCMsg_VoiceData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_VoiceData::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_VoiceData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.audio_ != nullptr); - _impl_.audio_->Clear(); - } - if (cached_has_bits & 0x0000007eu) { - ::memset(&_impl_.xuid_, 0, static_cast( - reinterpret_cast(&_impl_.passthrough_) - - reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.passthrough_)); - _impl_.client_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_VoiceData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVoiceAudio audio = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_audio(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 client = 2 [default = -1]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_client(&has_bits); - _impl_.client_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool proximity = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_proximity(&has_bits); - _impl_.proximity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 xuid = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { - _Internal::set_has_xuid(&has_bits); - _impl_.xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional int32 audible_mask = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_audible_mask(&has_bits); - _impl_.audible_mask_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 tick = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_tick(&has_bits); - _impl_.tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 passthrough = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_passthrough(&has_bits); - _impl_.passthrough_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_VoiceData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_VoiceData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVoiceAudio audio = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::audio(this), - _Internal::audio(this).GetCachedSize(), target, stream); - } - - // optional int32 client = 2 [default = -1]; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_client(), target); - } - - // optional bool proximity = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_proximity(), target); - } - - // optional fixed64 xuid = 4; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_xuid(), target); - } - - // optional int32 audible_mask = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_audible_mask(), target); - } - - // optional uint32 tick = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_tick(), target); - } - - // optional int32 passthrough = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_passthrough(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_VoiceData) - return target; -} - -size_t CSVCMsg_VoiceData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_VoiceData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional .CMsgVoiceAudio audio = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.audio_); - } - - // optional fixed64 xuid = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - // optional bool proximity = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional int32 audible_mask = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_audible_mask()); - } - - // optional uint32 tick = 6; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tick()); - } - - // optional int32 passthrough = 7; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_passthrough()); - } - - // optional int32 client = 2 [default = -1]; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_client()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_VoiceData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_VoiceData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_VoiceData::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_VoiceData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_VoiceData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_audio()->::CMsgVoiceAudio::MergeFrom( - from._internal_audio()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.xuid_ = from._impl_.xuid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.proximity_ = from._impl_.proximity_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.audible_mask_ = from._impl_.audible_mask_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.tick_ = from._impl_.tick_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.passthrough_ = from._impl_.passthrough_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.client_ = from._impl_.client_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_VoiceData::CopyFrom(const CSVCMsg_VoiceData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_VoiceData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_VoiceData::IsInitialized() const { - return true; -} - -void CSVCMsg_VoiceData::InternalSwap(CSVCMsg_VoiceData* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_VoiceData, _impl_.passthrough_) - + sizeof(CSVCMsg_VoiceData::_impl_.passthrough_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_VoiceData, _impl_.audio_)>( - reinterpret_cast(&_impl_.audio_), - reinterpret_cast(&other->_impl_.audio_)); - swap(_impl_.client_, other->_impl_.client_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_VoiceData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[52]); -} - -// =================================================================== - -class CSVCMsg_PacketReliable::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_tick(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_messagessize(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_state(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CSVCMsg_PacketReliable::CSVCMsg_PacketReliable(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_PacketReliable) -} -CSVCMsg_PacketReliable::CSVCMsg_PacketReliable(const CSVCMsg_PacketReliable& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_PacketReliable* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tick_){} - , decltype(_impl_.messagessize_){} - , decltype(_impl_.state_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.tick_, &from._impl_.tick_, - static_cast(reinterpret_cast(&_impl_.state_) - - reinterpret_cast(&_impl_.tick_)) + sizeof(_impl_.state_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_PacketReliable) -} - -inline void CSVCMsg_PacketReliable::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tick_){0} - , decltype(_impl_.messagessize_){0} - , decltype(_impl_.state_){false} - }; -} - -CSVCMsg_PacketReliable::~CSVCMsg_PacketReliable() { - // @@protoc_insertion_point(destructor:CSVCMsg_PacketReliable) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_PacketReliable::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSVCMsg_PacketReliable::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_PacketReliable::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_PacketReliable) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.tick_, 0, static_cast( - reinterpret_cast(&_impl_.state_) - - reinterpret_cast(&_impl_.tick_)) + sizeof(_impl_.state_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_PacketReliable::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 tick = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_tick(&has_bits); - _impl_.tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 messagessize = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_messagessize(&has_bits); - _impl_.messagessize_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool state = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_state(&has_bits); - _impl_.state_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_PacketReliable::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_PacketReliable) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 tick = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_tick(), target); - } - - // optional int32 messagessize = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_messagessize(), target); - } - - // optional bool state = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_state(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_PacketReliable) - return target; -} - -size_t CSVCMsg_PacketReliable::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_PacketReliable) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 tick = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tick()); - } - - // optional int32 messagessize = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_messagessize()); - } - - // optional bool state = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_PacketReliable::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_PacketReliable::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_PacketReliable::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_PacketReliable::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_PacketReliable) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.tick_ = from._impl_.tick_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.messagessize_ = from._impl_.messagessize_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.state_ = from._impl_.state_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_PacketReliable::CopyFrom(const CSVCMsg_PacketReliable& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_PacketReliable) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_PacketReliable::IsInitialized() const { - return true; -} - -void CSVCMsg_PacketReliable::InternalSwap(CSVCMsg_PacketReliable* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_PacketReliable, _impl_.state_) - + sizeof(CSVCMsg_PacketReliable::_impl_.state_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_PacketReliable, _impl_.tick_)>( - reinterpret_cast(&_impl_.tick_), - reinterpret_cast(&other->_impl_.tick_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_PacketReliable::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[53]); -} - -// =================================================================== - -class CSVCMsg_FullFrameSplit::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_tick(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_section(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_total(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_FullFrameSplit::CSVCMsg_FullFrameSplit(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_FullFrameSplit) -} -CSVCMsg_FullFrameSplit::CSVCMsg_FullFrameSplit(const CSVCMsg_FullFrameSplit& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_FullFrameSplit* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.tick_){} - , decltype(_impl_.section_){} - , decltype(_impl_.total_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.tick_, &from._impl_.tick_, - static_cast(reinterpret_cast(&_impl_.total_) - - reinterpret_cast(&_impl_.tick_)) + sizeof(_impl_.total_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_FullFrameSplit) -} - -inline void CSVCMsg_FullFrameSplit::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.tick_){0} - , decltype(_impl_.section_){0} - , decltype(_impl_.total_){0} - }; - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_FullFrameSplit::~CSVCMsg_FullFrameSplit() { - // @@protoc_insertion_point(destructor:CSVCMsg_FullFrameSplit) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_FullFrameSplit::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_.Destroy(); -} - -void CSVCMsg_FullFrameSplit::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_FullFrameSplit::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_FullFrameSplit) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.tick_, 0, static_cast( - reinterpret_cast(&_impl_.total_) - - reinterpret_cast(&_impl_.tick_)) + sizeof(_impl_.total_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_FullFrameSplit::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 tick = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_tick(&has_bits); - _impl_.tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 section = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_section(&has_bits); - _impl_.section_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 total = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_total(&has_bits); - _impl_.total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes data = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_FullFrameSplit::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_FullFrameSplit) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 tick = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_tick(), target); - } - - // optional int32 section = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_section(), target); - } - - // optional int32 total = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_total(), target); - } - - // optional bytes data = 4; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 4, this->_internal_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_FullFrameSplit) - return target; -} - -size_t CSVCMsg_FullFrameSplit::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_FullFrameSplit) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional bytes data = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - // optional int32 tick = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tick()); - } - - // optional int32 section = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_section()); - } - - // optional int32 total = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_total()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_FullFrameSplit::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_FullFrameSplit::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_FullFrameSplit::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_FullFrameSplit::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_FullFrameSplit) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_data(from._internal_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.tick_ = from._impl_.tick_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.section_ = from._impl_.section_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.total_ = from._impl_.total_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_FullFrameSplit::CopyFrom(const CSVCMsg_FullFrameSplit& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_FullFrameSplit) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_FullFrameSplit::IsInitialized() const { - return true; -} - -void CSVCMsg_FullFrameSplit::InternalSwap(CSVCMsg_FullFrameSplit* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_FullFrameSplit, _impl_.total_) - + sizeof(CSVCMsg_FullFrameSplit::_impl_.total_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_FullFrameSplit, _impl_.tick_)>( - reinterpret_cast(&_impl_.tick_), - reinterpret_cast(&other->_impl_.tick_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_FullFrameSplit::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[54]); -} - -// =================================================================== - -class CSVCMsg_HLTVStatus::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_master(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_clients(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_slots(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_proxies(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CSVCMsg_HLTVStatus::CSVCMsg_HLTVStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_HLTVStatus) -} -CSVCMsg_HLTVStatus::CSVCMsg_HLTVStatus(const CSVCMsg_HLTVStatus& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_HLTVStatus* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.master_){} - , decltype(_impl_.clients_){} - , decltype(_impl_.slots_){} - , decltype(_impl_.proxies_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.master_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.master_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_master()) { - _this->_impl_.master_.Set(from._internal_master(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.clients_, &from._impl_.clients_, - static_cast(reinterpret_cast(&_impl_.proxies_) - - reinterpret_cast(&_impl_.clients_)) + sizeof(_impl_.proxies_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_HLTVStatus) -} - -inline void CSVCMsg_HLTVStatus::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.master_){} - , decltype(_impl_.clients_){0} - , decltype(_impl_.slots_){0} - , decltype(_impl_.proxies_){0} - }; - _impl_.master_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.master_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_HLTVStatus::~CSVCMsg_HLTVStatus() { - // @@protoc_insertion_point(destructor:CSVCMsg_HLTVStatus) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_HLTVStatus::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.master_.Destroy(); -} - -void CSVCMsg_HLTVStatus::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_HLTVStatus::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_HLTVStatus) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.master_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.clients_, 0, static_cast( - reinterpret_cast(&_impl_.proxies_) - - reinterpret_cast(&_impl_.clients_)) + sizeof(_impl_.proxies_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_HLTVStatus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string master = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_master(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_HLTVStatus.master"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 clients = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_clients(&has_bits); - _impl_.clients_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 slots = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_slots(&has_bits); - _impl_.slots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 proxies = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_proxies(&has_bits); - _impl_.proxies_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_HLTVStatus::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_HLTVStatus) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string master = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_master().data(), static_cast(this->_internal_master().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_HLTVStatus.master"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_master(), target); - } - - // optional int32 clients = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_clients(), target); - } - - // optional int32 slots = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_slots(), target); - } - - // optional int32 proxies = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_proxies(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_HLTVStatus) - return target; -} - -size_t CSVCMsg_HLTVStatus::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_HLTVStatus) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string master = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_master()); - } - - // optional int32 clients = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_clients()); - } - - // optional int32 slots = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_slots()); - } - - // optional int32 proxies = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_proxies()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_HLTVStatus::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_HLTVStatus::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_HLTVStatus::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_HLTVStatus::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_HLTVStatus) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_master(from._internal_master()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.clients_ = from._impl_.clients_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.slots_ = from._impl_.slots_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.proxies_ = from._impl_.proxies_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_HLTVStatus::CopyFrom(const CSVCMsg_HLTVStatus& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_HLTVStatus) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_HLTVStatus::IsInitialized() const { - return true; -} - -void CSVCMsg_HLTVStatus::InternalSwap(CSVCMsg_HLTVStatus* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.master_, lhs_arena, - &other->_impl_.master_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_HLTVStatus, _impl_.proxies_) - + sizeof(CSVCMsg_HLTVStatus::_impl_.proxies_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_HLTVStatus, _impl_.clients_)>( - reinterpret_cast(&_impl_.clients_), - reinterpret_cast(&other->_impl_.clients_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_HLTVStatus::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[55]); -} - -// =================================================================== - -class CSVCMsg_ServerSteamID::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_ServerSteamID::CSVCMsg_ServerSteamID(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_ServerSteamID) -} -CSVCMsg_ServerSteamID::CSVCMsg_ServerSteamID(const CSVCMsg_ServerSteamID& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_ServerSteamID* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steam_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.steam_id_ = from._impl_.steam_id_; - // @@protoc_insertion_point(copy_constructor:CSVCMsg_ServerSteamID) -} - -inline void CSVCMsg_ServerSteamID::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steam_id_){uint64_t{0u}} - }; -} - -CSVCMsg_ServerSteamID::~CSVCMsg_ServerSteamID() { - // @@protoc_insertion_point(destructor:CSVCMsg_ServerSteamID) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_ServerSteamID::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSVCMsg_ServerSteamID::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_ServerSteamID::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_ServerSteamID) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.steam_id_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_ServerSteamID::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 steam_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_steam_id(&has_bits); - _impl_.steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_ServerSteamID::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_ServerSteamID) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 steam_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_steam_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_ServerSteamID) - return target; -} - -size_t CSVCMsg_ServerSteamID::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_ServerSteamID) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint64 steam_id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_steam_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_ServerSteamID::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_ServerSteamID::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_ServerSteamID::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_ServerSteamID::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_ServerSteamID) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_steam_id()) { - _this->_internal_set_steam_id(from._internal_steam_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_ServerSteamID::CopyFrom(const CSVCMsg_ServerSteamID& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_ServerSteamID) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_ServerSteamID::IsInitialized() const { - return true; -} - -void CSVCMsg_ServerSteamID::InternalSwap(CSVCMsg_ServerSteamID* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.steam_id_, other->_impl_.steam_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_ServerSteamID::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[56]); -} - -// =================================================================== - -class CSVCMsg_CmdKeyValues::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_CmdKeyValues::CSVCMsg_CmdKeyValues(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_CmdKeyValues) -} -CSVCMsg_CmdKeyValues::CSVCMsg_CmdKeyValues(const CSVCMsg_CmdKeyValues& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_CmdKeyValues* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CSVCMsg_CmdKeyValues) -} - -inline void CSVCMsg_CmdKeyValues::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - }; - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_CmdKeyValues::~CSVCMsg_CmdKeyValues() { - // @@protoc_insertion_point(destructor:CSVCMsg_CmdKeyValues) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_CmdKeyValues::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_.Destroy(); -} - -void CSVCMsg_CmdKeyValues::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_CmdKeyValues::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_CmdKeyValues) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_CmdKeyValues::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes data = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_CmdKeyValues::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_CmdKeyValues) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes data = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_CmdKeyValues) - return target; -} - -size_t CSVCMsg_CmdKeyValues::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_CmdKeyValues) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bytes data = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_CmdKeyValues::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_CmdKeyValues::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_CmdKeyValues::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_CmdKeyValues::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_CmdKeyValues) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_data()) { - _this->_internal_set_data(from._internal_data()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_CmdKeyValues::CopyFrom(const CSVCMsg_CmdKeyValues& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_CmdKeyValues) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_CmdKeyValues::IsInitialized() const { - return true; -} - -void CSVCMsg_CmdKeyValues::InternalSwap(CSVCMsg_CmdKeyValues* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_CmdKeyValues::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[57]); -} - -// =================================================================== - -class CSVCMsg_RconServerDetails::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_token(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_details(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CSVCMsg_RconServerDetails::CSVCMsg_RconServerDetails(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_RconServerDetails) -} -CSVCMsg_RconServerDetails::CSVCMsg_RconServerDetails(const CSVCMsg_RconServerDetails& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_RconServerDetails* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.token_){} - , decltype(_impl_.details_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_token()) { - _this->_impl_.token_.Set(from._internal_token(), - _this->GetArenaForAllocation()); - } - _impl_.details_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.details_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_details()) { - _this->_impl_.details_.Set(from._internal_details(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CSVCMsg_RconServerDetails) -} - -inline void CSVCMsg_RconServerDetails::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.token_){} - , decltype(_impl_.details_){} - }; - _impl_.token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.details_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.details_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_RconServerDetails::~CSVCMsg_RconServerDetails() { - // @@protoc_insertion_point(destructor:CSVCMsg_RconServerDetails) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_RconServerDetails::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.token_.Destroy(); - _impl_.details_.Destroy(); -} - -void CSVCMsg_RconServerDetails::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_RconServerDetails::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_RconServerDetails) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.token_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.details_.ClearNonDefaultToEmpty(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_RconServerDetails::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes token = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_token(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string details = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_details(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_RconServerDetails.details"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_RconServerDetails::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_RconServerDetails) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes token = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_token(), target); - } - - // optional string details = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_details().data(), static_cast(this->_internal_details().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_RconServerDetails.details"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_details(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_RconServerDetails) - return target; -} - -size_t CSVCMsg_RconServerDetails::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_RconServerDetails) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bytes token = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_token()); - } - - // optional string details = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_details()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_RconServerDetails::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_RconServerDetails::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_RconServerDetails::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_RconServerDetails::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_RconServerDetails) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_token(from._internal_token()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_details(from._internal_details()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_RconServerDetails::CopyFrom(const CSVCMsg_RconServerDetails& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_RconServerDetails) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_RconServerDetails::IsInitialized() const { - return true; -} - -void CSVCMsg_RconServerDetails::InternalSwap(CSVCMsg_RconServerDetails* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.token_, lhs_arena, - &other->_impl_.token_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.details_, lhs_arena, - &other->_impl_.details_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_RconServerDetails::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[58]); -} - -// =================================================================== - -class CMsgIPCAddress::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_computer_guid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_process_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgIPCAddress::CMsgIPCAddress(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgIPCAddress) -} -CMsgIPCAddress::CMsgIPCAddress(const CMsgIPCAddress& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgIPCAddress* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.computer_guid_){} - , decltype(_impl_.process_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.computer_guid_, &from._impl_.computer_guid_, - static_cast(reinterpret_cast(&_impl_.process_id_) - - reinterpret_cast(&_impl_.computer_guid_)) + sizeof(_impl_.process_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgIPCAddress) -} - -inline void CMsgIPCAddress::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.computer_guid_){uint64_t{0u}} - , decltype(_impl_.process_id_){0u} - }; -} - -CMsgIPCAddress::~CMsgIPCAddress() { - // @@protoc_insertion_point(destructor:CMsgIPCAddress) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgIPCAddress::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgIPCAddress::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgIPCAddress::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgIPCAddress) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.computer_guid_, 0, static_cast( - reinterpret_cast(&_impl_.process_id_) - - reinterpret_cast(&_impl_.computer_guid_)) + sizeof(_impl_.process_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgIPCAddress::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 computer_guid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_computer_guid(&has_bits); - _impl_.computer_guid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 process_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_process_id(&has_bits); - _impl_.process_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgIPCAddress::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgIPCAddress) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 computer_guid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_computer_guid(), target); - } - - // optional uint32 process_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_process_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgIPCAddress) - return target; -} - -size_t CMsgIPCAddress::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgIPCAddress) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional fixed64 computer_guid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - // optional uint32 process_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_process_id()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgIPCAddress::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgIPCAddress::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgIPCAddress::GetClassData() const { return &_class_data_; } - - -void CMsgIPCAddress::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgIPCAddress) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.computer_guid_ = from._impl_.computer_guid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.process_id_ = from._impl_.process_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgIPCAddress::CopyFrom(const CMsgIPCAddress& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgIPCAddress) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgIPCAddress::IsInitialized() const { - return true; -} - -void CMsgIPCAddress::InternalSwap(CMsgIPCAddress* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgIPCAddress, _impl_.process_id_) - + sizeof(CMsgIPCAddress::_impl_.process_id_) - - PROTOBUF_FIELD_OFFSET(CMsgIPCAddress, _impl_.computer_guid_)>( - reinterpret_cast(&_impl_.computer_guid_), - reinterpret_cast(&other->_impl_.computer_guid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgIPCAddress::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[59]); -} - -// =================================================================== - -class CMsgServerPeer::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_player_slot(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgIPCAddress& ipc(const CMsgServerPeer* msg); - static void set_has_ipc(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_they_hear_you(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_you_hear_them(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_is_listenserver_host(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -const ::CMsgIPCAddress& -CMsgServerPeer::_Internal::ipc(const CMsgServerPeer* msg) { - return *msg->_impl_.ipc_; -} -CMsgServerPeer::CMsgServerPeer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgServerPeer) -} -CMsgServerPeer::CMsgServerPeer(const CMsgServerPeer& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgServerPeer* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ipc_){nullptr} - , decltype(_impl_.steamid_){} - , decltype(_impl_.they_hear_you_){} - , decltype(_impl_.you_hear_them_){} - , decltype(_impl_.is_listenserver_host_){} - , decltype(_impl_.player_slot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_ipc()) { - _this->_impl_.ipc_ = new ::CMsgIPCAddress(*from._impl_.ipc_); - } - ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, - static_cast(reinterpret_cast(&_impl_.player_slot_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.player_slot_)); - // @@protoc_insertion_point(copy_constructor:CMsgServerPeer) -} - -inline void CMsgServerPeer::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ipc_){nullptr} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.they_hear_you_){false} - , decltype(_impl_.you_hear_them_){false} - , decltype(_impl_.is_listenserver_host_){false} - , decltype(_impl_.player_slot_){-1} - }; -} - -CMsgServerPeer::~CMsgServerPeer() { - // @@protoc_insertion_point(destructor:CMsgServerPeer) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgServerPeer::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.ipc_; -} - -void CMsgServerPeer::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgServerPeer::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgServerPeer) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.ipc_ != nullptr); - _impl_.ipc_->Clear(); - } - if (cached_has_bits & 0x0000003eu) { - ::memset(&_impl_.steamid_, 0, static_cast( - reinterpret_cast(&_impl_.is_listenserver_host_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.is_listenserver_host_)); - _impl_.player_slot_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgServerPeer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 player_slot = 1 [default = -1]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_player_slot(&has_bits); - _impl_.player_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 steamid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional .CMsgIPCAddress ipc = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_ipc(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool they_hear_you = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_they_hear_you(&has_bits); - _impl_.they_hear_you_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool you_hear_them = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_you_hear_them(&has_bits); - _impl_.you_hear_them_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_listenserver_host = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_is_listenserver_host(&has_bits); - _impl_.is_listenserver_host_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgServerPeer::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgServerPeer) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 player_slot = 1 [default = -1]; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_player_slot(), target); - } - - // optional fixed64 steamid = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_steamid(), target); - } - - // optional .CMsgIPCAddress ipc = 3; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::ipc(this), - _Internal::ipc(this).GetCachedSize(), target, stream); - } - - // optional bool they_hear_you = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_they_hear_you(), target); - } - - // optional bool you_hear_them = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_you_hear_them(), target); - } - - // optional bool is_listenserver_host = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_is_listenserver_host(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgServerPeer) - return target; -} - -size_t CMsgServerPeer::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgServerPeer) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional .CMsgIPCAddress ipc = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.ipc_); - } - - // optional fixed64 steamid = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - // optional bool they_hear_you = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional bool you_hear_them = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - // optional bool is_listenserver_host = 6; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 1; - } - - // optional int32 player_slot = 1 [default = -1]; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_slot()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgServerPeer::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgServerPeer::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgServerPeer::GetClassData() const { return &_class_data_; } - - -void CMsgServerPeer::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgServerPeer) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_ipc()->::CMsgIPCAddress::MergeFrom( - from._internal_ipc()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.they_hear_you_ = from._impl_.they_hear_you_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.you_hear_them_ = from._impl_.you_hear_them_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.is_listenserver_host_ = from._impl_.is_listenserver_host_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.player_slot_ = from._impl_.player_slot_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgServerPeer::CopyFrom(const CMsgServerPeer& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgServerPeer) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgServerPeer::IsInitialized() const { - return true; -} - -void CMsgServerPeer::InternalSwap(CMsgServerPeer* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgServerPeer, _impl_.is_listenserver_host_) - + sizeof(CMsgServerPeer::_impl_.is_listenserver_host_) - - PROTOBUF_FIELD_OFFSET(CMsgServerPeer, _impl_.ipc_)>( - reinterpret_cast(&_impl_.ipc_), - reinterpret_cast(&other->_impl_.ipc_)); - swap(_impl_.player_slot_, other->_impl_.player_slot_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerPeer::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[60]); -} - -// =================================================================== - -class CSVCMsg_PeerList::_Internal { - public: -}; - -CSVCMsg_PeerList::CSVCMsg_PeerList(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_PeerList) -} -CSVCMsg_PeerList::CSVCMsg_PeerList(const CSVCMsg_PeerList& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_PeerList* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.peer_){from._impl_.peer_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_PeerList) -} - -inline void CSVCMsg_PeerList::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.peer_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CSVCMsg_PeerList::~CSVCMsg_PeerList() { - // @@protoc_insertion_point(destructor:CSVCMsg_PeerList) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_PeerList::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.peer_.~RepeatedPtrField(); -} - -void CSVCMsg_PeerList::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_PeerList::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_PeerList) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.peer_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_PeerList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CMsgServerPeer peer = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_peer(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_PeerList::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_PeerList) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CMsgServerPeer peer = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_peer_size()); i < n; i++) { - const auto& repfield = this->_internal_peer(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_PeerList) - return target; -} - -size_t CSVCMsg_PeerList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_PeerList) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgServerPeer peer = 1; - total_size += 1UL * this->_internal_peer_size(); - for (const auto& msg : this->_impl_.peer_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_PeerList::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_PeerList::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_PeerList::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_PeerList::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_PeerList) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.peer_.MergeFrom(from._impl_.peer_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_PeerList::CopyFrom(const CSVCMsg_PeerList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_PeerList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_PeerList::IsInitialized() const { - return true; -} - -void CSVCMsg_PeerList::InternalSwap(CSVCMsg_PeerList* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.peer_.InternalSwap(&other->_impl_.peer_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_PeerList::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[61]); -} - -// =================================================================== - -class CSVCMsg_ClearAllStringTables::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_mapname(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_create_tables_skipped(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CSVCMsg_ClearAllStringTables::CSVCMsg_ClearAllStringTables(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_ClearAllStringTables) -} -CSVCMsg_ClearAllStringTables::CSVCMsg_ClearAllStringTables(const CSVCMsg_ClearAllStringTables& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_ClearAllStringTables* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mapname_){} - , decltype(_impl_.create_tables_skipped_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.mapname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mapname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_mapname()) { - _this->_impl_.mapname_.Set(from._internal_mapname(), - _this->GetArenaForAllocation()); - } - _this->_impl_.create_tables_skipped_ = from._impl_.create_tables_skipped_; - // @@protoc_insertion_point(copy_constructor:CSVCMsg_ClearAllStringTables) -} - -inline void CSVCMsg_ClearAllStringTables::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mapname_){} - , decltype(_impl_.create_tables_skipped_){false} - }; - _impl_.mapname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.mapname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_ClearAllStringTables::~CSVCMsg_ClearAllStringTables() { - // @@protoc_insertion_point(destructor:CSVCMsg_ClearAllStringTables) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_ClearAllStringTables::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.mapname_.Destroy(); -} - -void CSVCMsg_ClearAllStringTables::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_ClearAllStringTables::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_ClearAllStringTables) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.mapname_.ClearNonDefaultToEmpty(); - } - _impl_.create_tables_skipped_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_ClearAllStringTables::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string mapname = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_mapname(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_ClearAllStringTables.mapname"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool create_tables_skipped = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_create_tables_skipped(&has_bits); - _impl_.create_tables_skipped_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_ClearAllStringTables::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_ClearAllStringTables) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string mapname = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_mapname().data(), static_cast(this->_internal_mapname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_ClearAllStringTables.mapname"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_mapname(), target); - } - - // optional bool create_tables_skipped = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_create_tables_skipped(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_ClearAllStringTables) - return target; -} - -size_t CSVCMsg_ClearAllStringTables::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_ClearAllStringTables) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string mapname = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_mapname()); - } - - // optional bool create_tables_skipped = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_ClearAllStringTables::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_ClearAllStringTables::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_ClearAllStringTables::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_ClearAllStringTables::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_ClearAllStringTables) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_mapname(from._internal_mapname()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.create_tables_skipped_ = from._impl_.create_tables_skipped_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_ClearAllStringTables::CopyFrom(const CSVCMsg_ClearAllStringTables& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_ClearAllStringTables) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_ClearAllStringTables::IsInitialized() const { - return true; -} - -void CSVCMsg_ClearAllStringTables::InternalSwap(CSVCMsg_ClearAllStringTables* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.mapname_, lhs_arena, - &other->_impl_.mapname_, rhs_arena - ); - swap(_impl_.create_tables_skipped_, other->_impl_.create_tables_skipped_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_ClearAllStringTables::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[62]); -} - -// =================================================================== - -class ProtoFlattenedSerializerField_t_polymorphic_field_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_polymorphic_field_serializer_name_sym(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_polymorphic_field_serializer_version(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -ProtoFlattenedSerializerField_t_polymorphic_field_t::ProtoFlattenedSerializerField_t_polymorphic_field_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:ProtoFlattenedSerializerField_t.polymorphic_field_t) -} -ProtoFlattenedSerializerField_t_polymorphic_field_t::ProtoFlattenedSerializerField_t_polymorphic_field_t(const ProtoFlattenedSerializerField_t_polymorphic_field_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ProtoFlattenedSerializerField_t_polymorphic_field_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.polymorphic_field_serializer_name_sym_){} - , decltype(_impl_.polymorphic_field_serializer_version_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.polymorphic_field_serializer_name_sym_, &from._impl_.polymorphic_field_serializer_name_sym_, - static_cast(reinterpret_cast(&_impl_.polymorphic_field_serializer_version_) - - reinterpret_cast(&_impl_.polymorphic_field_serializer_name_sym_)) + sizeof(_impl_.polymorphic_field_serializer_version_)); - // @@protoc_insertion_point(copy_constructor:ProtoFlattenedSerializerField_t.polymorphic_field_t) -} - -inline void ProtoFlattenedSerializerField_t_polymorphic_field_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.polymorphic_field_serializer_name_sym_){0} - , decltype(_impl_.polymorphic_field_serializer_version_){0} - }; -} - -ProtoFlattenedSerializerField_t_polymorphic_field_t::~ProtoFlattenedSerializerField_t_polymorphic_field_t() { - // @@protoc_insertion_point(destructor:ProtoFlattenedSerializerField_t.polymorphic_field_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ProtoFlattenedSerializerField_t_polymorphic_field_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void ProtoFlattenedSerializerField_t_polymorphic_field_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ProtoFlattenedSerializerField_t_polymorphic_field_t::Clear() { -// @@protoc_insertion_point(message_clear_start:ProtoFlattenedSerializerField_t.polymorphic_field_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.polymorphic_field_serializer_name_sym_, 0, static_cast( - reinterpret_cast(&_impl_.polymorphic_field_serializer_version_) - - reinterpret_cast(&_impl_.polymorphic_field_serializer_name_sym_)) + sizeof(_impl_.polymorphic_field_serializer_version_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ProtoFlattenedSerializerField_t_polymorphic_field_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 polymorphic_field_serializer_name_sym = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_polymorphic_field_serializer_name_sym(&has_bits); - _impl_.polymorphic_field_serializer_name_sym_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 polymorphic_field_serializer_version = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_polymorphic_field_serializer_version(&has_bits); - _impl_.polymorphic_field_serializer_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ProtoFlattenedSerializerField_t_polymorphic_field_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:ProtoFlattenedSerializerField_t.polymorphic_field_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 polymorphic_field_serializer_name_sym = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_polymorphic_field_serializer_name_sym(), target); - } - - // optional int32 polymorphic_field_serializer_version = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_polymorphic_field_serializer_version(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:ProtoFlattenedSerializerField_t.polymorphic_field_t) - return target; -} - -size_t ProtoFlattenedSerializerField_t_polymorphic_field_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ProtoFlattenedSerializerField_t.polymorphic_field_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional int32 polymorphic_field_serializer_name_sym = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_polymorphic_field_serializer_name_sym()); - } - - // optional int32 polymorphic_field_serializer_version = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_polymorphic_field_serializer_version()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ProtoFlattenedSerializerField_t_polymorphic_field_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ProtoFlattenedSerializerField_t_polymorphic_field_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ProtoFlattenedSerializerField_t_polymorphic_field_t::GetClassData() const { return &_class_data_; } - - -void ProtoFlattenedSerializerField_t_polymorphic_field_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:ProtoFlattenedSerializerField_t.polymorphic_field_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.polymorphic_field_serializer_name_sym_ = from._impl_.polymorphic_field_serializer_name_sym_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.polymorphic_field_serializer_version_ = from._impl_.polymorphic_field_serializer_version_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ProtoFlattenedSerializerField_t_polymorphic_field_t::CopyFrom(const ProtoFlattenedSerializerField_t_polymorphic_field_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ProtoFlattenedSerializerField_t.polymorphic_field_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProtoFlattenedSerializerField_t_polymorphic_field_t::IsInitialized() const { - return true; -} - -void ProtoFlattenedSerializerField_t_polymorphic_field_t::InternalSwap(ProtoFlattenedSerializerField_t_polymorphic_field_t* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ProtoFlattenedSerializerField_t_polymorphic_field_t, _impl_.polymorphic_field_serializer_version_) - + sizeof(ProtoFlattenedSerializerField_t_polymorphic_field_t::_impl_.polymorphic_field_serializer_version_) - - PROTOBUF_FIELD_OFFSET(ProtoFlattenedSerializerField_t_polymorphic_field_t, _impl_.polymorphic_field_serializer_name_sym_)>( - reinterpret_cast(&_impl_.polymorphic_field_serializer_name_sym_), - reinterpret_cast(&other->_impl_.polymorphic_field_serializer_name_sym_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ProtoFlattenedSerializerField_t_polymorphic_field_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[63]); -} - -// =================================================================== - -class ProtoFlattenedSerializerField_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_var_type_sym(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_var_name_sym(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_bit_count(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_low_value(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_high_value(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_encode_flags(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_field_serializer_name_sym(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_field_serializer_version(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_send_node_sym(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_var_encoder_sym(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_var_serializer_sym(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } -}; - -ProtoFlattenedSerializerField_t::ProtoFlattenedSerializerField_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:ProtoFlattenedSerializerField_t) -} -ProtoFlattenedSerializerField_t::ProtoFlattenedSerializerField_t(const ProtoFlattenedSerializerField_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ProtoFlattenedSerializerField_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.polymorphic_types_){from._impl_.polymorphic_types_} - , decltype(_impl_.var_type_sym_){} - , decltype(_impl_.var_name_sym_){} - , decltype(_impl_.bit_count_){} - , decltype(_impl_.low_value_){} - , decltype(_impl_.high_value_){} - , decltype(_impl_.encode_flags_){} - , decltype(_impl_.field_serializer_name_sym_){} - , decltype(_impl_.field_serializer_version_){} - , decltype(_impl_.send_node_sym_){} - , decltype(_impl_.var_encoder_sym_){} - , decltype(_impl_.var_serializer_sym_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.var_type_sym_, &from._impl_.var_type_sym_, - static_cast(reinterpret_cast(&_impl_.var_serializer_sym_) - - reinterpret_cast(&_impl_.var_type_sym_)) + sizeof(_impl_.var_serializer_sym_)); - // @@protoc_insertion_point(copy_constructor:ProtoFlattenedSerializerField_t) -} - -inline void ProtoFlattenedSerializerField_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.polymorphic_types_){arena} - , decltype(_impl_.var_type_sym_){0} - , decltype(_impl_.var_name_sym_){0} - , decltype(_impl_.bit_count_){0} - , decltype(_impl_.low_value_){0} - , decltype(_impl_.high_value_){0} - , decltype(_impl_.encode_flags_){0} - , decltype(_impl_.field_serializer_name_sym_){0} - , decltype(_impl_.field_serializer_version_){0} - , decltype(_impl_.send_node_sym_){0} - , decltype(_impl_.var_encoder_sym_){0} - , decltype(_impl_.var_serializer_sym_){0} - }; -} - -ProtoFlattenedSerializerField_t::~ProtoFlattenedSerializerField_t() { - // @@protoc_insertion_point(destructor:ProtoFlattenedSerializerField_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ProtoFlattenedSerializerField_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.polymorphic_types_.~RepeatedPtrField(); -} - -void ProtoFlattenedSerializerField_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ProtoFlattenedSerializerField_t::Clear() { -// @@protoc_insertion_point(message_clear_start:ProtoFlattenedSerializerField_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.polymorphic_types_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.var_type_sym_, 0, static_cast( - reinterpret_cast(&_impl_.field_serializer_version_) - - reinterpret_cast(&_impl_.var_type_sym_)) + sizeof(_impl_.field_serializer_version_)); - } - if (cached_has_bits & 0x00000700u) { - ::memset(&_impl_.send_node_sym_, 0, static_cast( - reinterpret_cast(&_impl_.var_serializer_sym_) - - reinterpret_cast(&_impl_.send_node_sym_)) + sizeof(_impl_.var_serializer_sym_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ProtoFlattenedSerializerField_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 var_type_sym = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_var_type_sym(&has_bits); - _impl_.var_type_sym_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 var_name_sym = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_var_name_sym(&has_bits); - _impl_.var_name_sym_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 bit_count = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_bit_count(&has_bits); - _impl_.bit_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float low_value = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_low_value(&has_bits); - _impl_.low_value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float high_value = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_high_value(&has_bits); - _impl_.high_value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 encode_flags = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_encode_flags(&has_bits); - _impl_.encode_flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 field_serializer_name_sym = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_field_serializer_name_sym(&has_bits); - _impl_.field_serializer_name_sym_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 field_serializer_version = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_field_serializer_version(&has_bits); - _impl_.field_serializer_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 send_node_sym = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_send_node_sym(&has_bits); - _impl_.send_node_sym_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 var_encoder_sym = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_var_encoder_sym(&has_bits); - _impl_.var_encoder_sym_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .ProtoFlattenedSerializerField_t.polymorphic_field_t polymorphic_types = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_polymorphic_types(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<90>(ptr)); - } else - goto handle_unusual; - continue; - // optional int32 var_serializer_sym = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_var_serializer_sym(&has_bits); - _impl_.var_serializer_sym_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ProtoFlattenedSerializerField_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:ProtoFlattenedSerializerField_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 var_type_sym = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_var_type_sym(), target); - } - - // optional int32 var_name_sym = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_var_name_sym(), target); - } - - // optional int32 bit_count = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_bit_count(), target); - } - - // optional float low_value = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_low_value(), target); - } - - // optional float high_value = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_high_value(), target); - } - - // optional int32 encode_flags = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_encode_flags(), target); - } - - // optional int32 field_serializer_name_sym = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_field_serializer_name_sym(), target); - } - - // optional int32 field_serializer_version = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_field_serializer_version(), target); - } - - // optional int32 send_node_sym = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_send_node_sym(), target); - } - - // optional int32 var_encoder_sym = 10; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_var_encoder_sym(), target); - } - - // repeated .ProtoFlattenedSerializerField_t.polymorphic_field_t polymorphic_types = 11; - for (unsigned i = 0, - n = static_cast(this->_internal_polymorphic_types_size()); i < n; i++) { - const auto& repfield = this->_internal_polymorphic_types(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(11, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional int32 var_serializer_sym = 12; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_var_serializer_sym(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:ProtoFlattenedSerializerField_t) - return target; -} - -size_t ProtoFlattenedSerializerField_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ProtoFlattenedSerializerField_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .ProtoFlattenedSerializerField_t.polymorphic_field_t polymorphic_types = 11; - total_size += 1UL * this->_internal_polymorphic_types_size(); - for (const auto& msg : this->_impl_.polymorphic_types_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional int32 var_type_sym = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_var_type_sym()); - } - - // optional int32 var_name_sym = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_var_name_sym()); - } - - // optional int32 bit_count = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_bit_count()); - } - - // optional float low_value = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - // optional float high_value = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional int32 encode_flags = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_encode_flags()); - } - - // optional int32 field_serializer_name_sym = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_field_serializer_name_sym()); - } - - // optional int32 field_serializer_version = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_field_serializer_version()); - } - - } - if (cached_has_bits & 0x00000700u) { - // optional int32 send_node_sym = 9; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_send_node_sym()); - } - - // optional int32 var_encoder_sym = 10; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_var_encoder_sym()); - } - - // optional int32 var_serializer_sym = 12; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_var_serializer_sym()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ProtoFlattenedSerializerField_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ProtoFlattenedSerializerField_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ProtoFlattenedSerializerField_t::GetClassData() const { return &_class_data_; } - - -void ProtoFlattenedSerializerField_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:ProtoFlattenedSerializerField_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.polymorphic_types_.MergeFrom(from._impl_.polymorphic_types_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.var_type_sym_ = from._impl_.var_type_sym_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.var_name_sym_ = from._impl_.var_name_sym_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.bit_count_ = from._impl_.bit_count_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.low_value_ = from._impl_.low_value_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.high_value_ = from._impl_.high_value_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.encode_flags_ = from._impl_.encode_flags_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.field_serializer_name_sym_ = from._impl_.field_serializer_name_sym_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.field_serializer_version_ = from._impl_.field_serializer_version_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000700u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.send_node_sym_ = from._impl_.send_node_sym_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.var_encoder_sym_ = from._impl_.var_encoder_sym_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.var_serializer_sym_ = from._impl_.var_serializer_sym_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ProtoFlattenedSerializerField_t::CopyFrom(const ProtoFlattenedSerializerField_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ProtoFlattenedSerializerField_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProtoFlattenedSerializerField_t::IsInitialized() const { - return true; -} - -void ProtoFlattenedSerializerField_t::InternalSwap(ProtoFlattenedSerializerField_t* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.polymorphic_types_.InternalSwap(&other->_impl_.polymorphic_types_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ProtoFlattenedSerializerField_t, _impl_.var_serializer_sym_) - + sizeof(ProtoFlattenedSerializerField_t::_impl_.var_serializer_sym_) - - PROTOBUF_FIELD_OFFSET(ProtoFlattenedSerializerField_t, _impl_.var_type_sym_)>( - reinterpret_cast(&_impl_.var_type_sym_), - reinterpret_cast(&other->_impl_.var_type_sym_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ProtoFlattenedSerializerField_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[64]); -} - -// =================================================================== - -class ProtoFlattenedSerializer_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_serializer_name_sym(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_serializer_version(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -ProtoFlattenedSerializer_t::ProtoFlattenedSerializer_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:ProtoFlattenedSerializer_t) -} -ProtoFlattenedSerializer_t::ProtoFlattenedSerializer_t(const ProtoFlattenedSerializer_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - ProtoFlattenedSerializer_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.fields_index_){from._impl_.fields_index_} - , decltype(_impl_.serializer_name_sym_){} - , decltype(_impl_.serializer_version_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.serializer_name_sym_, &from._impl_.serializer_name_sym_, - static_cast(reinterpret_cast(&_impl_.serializer_version_) - - reinterpret_cast(&_impl_.serializer_name_sym_)) + sizeof(_impl_.serializer_version_)); - // @@protoc_insertion_point(copy_constructor:ProtoFlattenedSerializer_t) -} - -inline void ProtoFlattenedSerializer_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.fields_index_){arena} - , decltype(_impl_.serializer_name_sym_){0} - , decltype(_impl_.serializer_version_){0} - }; -} - -ProtoFlattenedSerializer_t::~ProtoFlattenedSerializer_t() { - // @@protoc_insertion_point(destructor:ProtoFlattenedSerializer_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void ProtoFlattenedSerializer_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.fields_index_.~RepeatedField(); -} - -void ProtoFlattenedSerializer_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void ProtoFlattenedSerializer_t::Clear() { -// @@protoc_insertion_point(message_clear_start:ProtoFlattenedSerializer_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.fields_index_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.serializer_name_sym_, 0, static_cast( - reinterpret_cast(&_impl_.serializer_version_) - - reinterpret_cast(&_impl_.serializer_name_sym_)) + sizeof(_impl_.serializer_version_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* ProtoFlattenedSerializer_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 serializer_name_sym = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_serializer_name_sym(&has_bits); - _impl_.serializer_name_sym_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 serializer_version = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_serializer_version(&has_bits); - _impl_.serializer_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 fields_index = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_fields_index(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<24>(ptr)); - } else if (static_cast(tag) == 26) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_fields_index(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* ProtoFlattenedSerializer_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:ProtoFlattenedSerializer_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 serializer_name_sym = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_serializer_name_sym(), target); - } - - // optional int32 serializer_version = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_serializer_version(), target); - } - - // repeated int32 fields_index = 3; - for (int i = 0, n = this->_internal_fields_index_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_fields_index(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:ProtoFlattenedSerializer_t) - return target; -} - -size_t ProtoFlattenedSerializer_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:ProtoFlattenedSerializer_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated int32 fields_index = 3; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.fields_index_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_fields_index_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional int32 serializer_name_sym = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_serializer_name_sym()); - } - - // optional int32 serializer_version = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_serializer_version()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ProtoFlattenedSerializer_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - ProtoFlattenedSerializer_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ProtoFlattenedSerializer_t::GetClassData() const { return &_class_data_; } - - -void ProtoFlattenedSerializer_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:ProtoFlattenedSerializer_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.fields_index_.MergeFrom(from._impl_.fields_index_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.serializer_name_sym_ = from._impl_.serializer_name_sym_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.serializer_version_ = from._impl_.serializer_version_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void ProtoFlattenedSerializer_t::CopyFrom(const ProtoFlattenedSerializer_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:ProtoFlattenedSerializer_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool ProtoFlattenedSerializer_t::IsInitialized() const { - return true; -} - -void ProtoFlattenedSerializer_t::InternalSwap(ProtoFlattenedSerializer_t* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.fields_index_.InternalSwap(&other->_impl_.fields_index_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(ProtoFlattenedSerializer_t, _impl_.serializer_version_) - + sizeof(ProtoFlattenedSerializer_t::_impl_.serializer_version_) - - PROTOBUF_FIELD_OFFSET(ProtoFlattenedSerializer_t, _impl_.serializer_name_sym_)>( - reinterpret_cast(&_impl_.serializer_name_sym_), - reinterpret_cast(&other->_impl_.serializer_name_sym_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata ProtoFlattenedSerializer_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[65]); -} - -// =================================================================== - -class CSVCMsg_FlattenedSerializer::_Internal { - public: -}; - -CSVCMsg_FlattenedSerializer::CSVCMsg_FlattenedSerializer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_FlattenedSerializer) -} -CSVCMsg_FlattenedSerializer::CSVCMsg_FlattenedSerializer(const CSVCMsg_FlattenedSerializer& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_FlattenedSerializer* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.serializers_){from._impl_.serializers_} - , decltype(_impl_.symbols_){from._impl_.symbols_} - , decltype(_impl_.fields_){from._impl_.fields_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_FlattenedSerializer) -} - -inline void CSVCMsg_FlattenedSerializer::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.serializers_){arena} - , decltype(_impl_.symbols_){arena} - , decltype(_impl_.fields_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CSVCMsg_FlattenedSerializer::~CSVCMsg_FlattenedSerializer() { - // @@protoc_insertion_point(destructor:CSVCMsg_FlattenedSerializer) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_FlattenedSerializer::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.serializers_.~RepeatedPtrField(); - _impl_.symbols_.~RepeatedPtrField(); - _impl_.fields_.~RepeatedPtrField(); -} - -void CSVCMsg_FlattenedSerializer::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_FlattenedSerializer::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_FlattenedSerializer) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.serializers_.Clear(); - _impl_.symbols_.Clear(); - _impl_.fields_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_FlattenedSerializer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .ProtoFlattenedSerializer_t serializers = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_serializers(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // repeated string symbols = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_symbols(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_FlattenedSerializer.symbols"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .ProtoFlattenedSerializerField_t fields = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_fields(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_FlattenedSerializer::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_FlattenedSerializer) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .ProtoFlattenedSerializer_t serializers = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_serializers_size()); i < n; i++) { - const auto& repfield = this->_internal_serializers(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated string symbols = 2; - for (int i = 0, n = this->_internal_symbols_size(); i < n; i++) { - const auto& s = this->_internal_symbols(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_FlattenedSerializer.symbols"); - target = stream->WriteString(2, s, target); - } - - // repeated .ProtoFlattenedSerializerField_t fields = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_fields_size()); i < n; i++) { - const auto& repfield = this->_internal_fields(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_FlattenedSerializer) - return target; -} - -size_t CSVCMsg_FlattenedSerializer::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_FlattenedSerializer) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .ProtoFlattenedSerializer_t serializers = 1; - total_size += 1UL * this->_internal_serializers_size(); - for (const auto& msg : this->_impl_.serializers_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated string symbols = 2; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.symbols_.size()); - for (int i = 0, n = _impl_.symbols_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.symbols_.Get(i)); - } - - // repeated .ProtoFlattenedSerializerField_t fields = 3; - total_size += 1UL * this->_internal_fields_size(); - for (const auto& msg : this->_impl_.fields_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_FlattenedSerializer::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_FlattenedSerializer::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_FlattenedSerializer::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_FlattenedSerializer::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_FlattenedSerializer) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.serializers_.MergeFrom(from._impl_.serializers_); - _this->_impl_.symbols_.MergeFrom(from._impl_.symbols_); - _this->_impl_.fields_.MergeFrom(from._impl_.fields_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_FlattenedSerializer::CopyFrom(const CSVCMsg_FlattenedSerializer& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_FlattenedSerializer) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_FlattenedSerializer::IsInitialized() const { - return true; -} - -void CSVCMsg_FlattenedSerializer::InternalSwap(CSVCMsg_FlattenedSerializer* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.serializers_.InternalSwap(&other->_impl_.serializers_); - _impl_.symbols_.InternalSwap(&other->_impl_.symbols_); - _impl_.fields_.InternalSwap(&other->_impl_.fields_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_FlattenedSerializer::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[66]); -} - -// =================================================================== - -class CSVCMsg_StopSound::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_guid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_StopSound::CSVCMsg_StopSound(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_StopSound) -} -CSVCMsg_StopSound::CSVCMsg_StopSound(const CSVCMsg_StopSound& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_StopSound* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.guid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.guid_ = from._impl_.guid_; - // @@protoc_insertion_point(copy_constructor:CSVCMsg_StopSound) -} - -inline void CSVCMsg_StopSound::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.guid_){0u} - }; -} - -CSVCMsg_StopSound::~CSVCMsg_StopSound() { - // @@protoc_insertion_point(destructor:CSVCMsg_StopSound) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_StopSound::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSVCMsg_StopSound::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_StopSound::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_StopSound) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.guid_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_StopSound::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 guid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_guid(&has_bits); - _impl_.guid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_StopSound::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_StopSound) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 guid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_guid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_StopSound) - return target; -} - -size_t CSVCMsg_StopSound::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_StopSound) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional fixed32 guid = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_StopSound::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_StopSound::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_StopSound::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_StopSound::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_StopSound) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_guid()) { - _this->_internal_set_guid(from._internal_guid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_StopSound::CopyFrom(const CSVCMsg_StopSound& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_StopSound) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_StopSound::IsInitialized() const { - return true; -} - -void CSVCMsg_StopSound::InternalSwap(CSVCMsg_StopSound* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.guid_, other->_impl_.guid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_StopSound::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[67]); -} - -// =================================================================== - -class CBidirMsg_RebroadcastGameEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_posttoserver(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_buftype(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_clientbitcount(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_receivingclients(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CBidirMsg_RebroadcastGameEvent::CBidirMsg_RebroadcastGameEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CBidirMsg_RebroadcastGameEvent) -} -CBidirMsg_RebroadcastGameEvent::CBidirMsg_RebroadcastGameEvent(const CBidirMsg_RebroadcastGameEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CBidirMsg_RebroadcastGameEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.posttoserver_){} - , decltype(_impl_.buftype_){} - , decltype(_impl_.receivingclients_){} - , decltype(_impl_.clientbitcount_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.posttoserver_, &from._impl_.posttoserver_, - static_cast(reinterpret_cast(&_impl_.clientbitcount_) - - reinterpret_cast(&_impl_.posttoserver_)) + sizeof(_impl_.clientbitcount_)); - // @@protoc_insertion_point(copy_constructor:CBidirMsg_RebroadcastGameEvent) -} - -inline void CBidirMsg_RebroadcastGameEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.posttoserver_){false} - , decltype(_impl_.buftype_){0} - , decltype(_impl_.receivingclients_){uint64_t{0u}} - , decltype(_impl_.clientbitcount_){0u} - }; -} - -CBidirMsg_RebroadcastGameEvent::~CBidirMsg_RebroadcastGameEvent() { - // @@protoc_insertion_point(destructor:CBidirMsg_RebroadcastGameEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CBidirMsg_RebroadcastGameEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CBidirMsg_RebroadcastGameEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CBidirMsg_RebroadcastGameEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CBidirMsg_RebroadcastGameEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.posttoserver_, 0, static_cast( - reinterpret_cast(&_impl_.clientbitcount_) - - reinterpret_cast(&_impl_.posttoserver_)) + sizeof(_impl_.clientbitcount_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CBidirMsg_RebroadcastGameEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool posttoserver = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_posttoserver(&has_bits); - _impl_.posttoserver_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 buftype = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_buftype(&has_bits); - _impl_.buftype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 clientbitcount = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_clientbitcount(&has_bits); - _impl_.clientbitcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 receivingclients = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_receivingclients(&has_bits); - _impl_.receivingclients_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CBidirMsg_RebroadcastGameEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CBidirMsg_RebroadcastGameEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool posttoserver = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_posttoserver(), target); - } - - // optional int32 buftype = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_buftype(), target); - } - - // optional uint32 clientbitcount = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_clientbitcount(), target); - } - - // optional uint64 receivingclients = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_receivingclients(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CBidirMsg_RebroadcastGameEvent) - return target; -} - -size_t CBidirMsg_RebroadcastGameEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CBidirMsg_RebroadcastGameEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional bool posttoserver = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - // optional int32 buftype = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_buftype()); - } - - // optional uint64 receivingclients = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_receivingclients()); - } - - // optional uint32 clientbitcount = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_clientbitcount()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CBidirMsg_RebroadcastGameEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CBidirMsg_RebroadcastGameEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CBidirMsg_RebroadcastGameEvent::GetClassData() const { return &_class_data_; } - - -void CBidirMsg_RebroadcastGameEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CBidirMsg_RebroadcastGameEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.posttoserver_ = from._impl_.posttoserver_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.buftype_ = from._impl_.buftype_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.receivingclients_ = from._impl_.receivingclients_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.clientbitcount_ = from._impl_.clientbitcount_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CBidirMsg_RebroadcastGameEvent::CopyFrom(const CBidirMsg_RebroadcastGameEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CBidirMsg_RebroadcastGameEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CBidirMsg_RebroadcastGameEvent::IsInitialized() const { - return true; -} - -void CBidirMsg_RebroadcastGameEvent::InternalSwap(CBidirMsg_RebroadcastGameEvent* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CBidirMsg_RebroadcastGameEvent, _impl_.clientbitcount_) - + sizeof(CBidirMsg_RebroadcastGameEvent::_impl_.clientbitcount_) - - PROTOBUF_FIELD_OFFSET(CBidirMsg_RebroadcastGameEvent, _impl_.posttoserver_)>( - reinterpret_cast(&_impl_.posttoserver_), - reinterpret_cast(&other->_impl_.posttoserver_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CBidirMsg_RebroadcastGameEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[68]); -} - -// =================================================================== - -class CBidirMsg_RebroadcastSource::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_eventsource(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CBidirMsg_RebroadcastSource::CBidirMsg_RebroadcastSource(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CBidirMsg_RebroadcastSource) -} -CBidirMsg_RebroadcastSource::CBidirMsg_RebroadcastSource(const CBidirMsg_RebroadcastSource& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CBidirMsg_RebroadcastSource* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.eventsource_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.eventsource_ = from._impl_.eventsource_; - // @@protoc_insertion_point(copy_constructor:CBidirMsg_RebroadcastSource) -} - -inline void CBidirMsg_RebroadcastSource::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.eventsource_){0} - }; -} - -CBidirMsg_RebroadcastSource::~CBidirMsg_RebroadcastSource() { - // @@protoc_insertion_point(destructor:CBidirMsg_RebroadcastSource) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CBidirMsg_RebroadcastSource::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CBidirMsg_RebroadcastSource::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CBidirMsg_RebroadcastSource::Clear() { -// @@protoc_insertion_point(message_clear_start:CBidirMsg_RebroadcastSource) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.eventsource_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CBidirMsg_RebroadcastSource::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 eventsource = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_eventsource(&has_bits); - _impl_.eventsource_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CBidirMsg_RebroadcastSource::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CBidirMsg_RebroadcastSource) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 eventsource = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_eventsource(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CBidirMsg_RebroadcastSource) - return target; -} - -size_t CBidirMsg_RebroadcastSource::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CBidirMsg_RebroadcastSource) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 eventsource = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eventsource()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CBidirMsg_RebroadcastSource::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CBidirMsg_RebroadcastSource::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CBidirMsg_RebroadcastSource::GetClassData() const { return &_class_data_; } - - -void CBidirMsg_RebroadcastSource::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CBidirMsg_RebroadcastSource) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_eventsource()) { - _this->_internal_set_eventsource(from._internal_eventsource()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CBidirMsg_RebroadcastSource::CopyFrom(const CBidirMsg_RebroadcastSource& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CBidirMsg_RebroadcastSource) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CBidirMsg_RebroadcastSource::IsInitialized() const { - return true; -} - -void CBidirMsg_RebroadcastSource::InternalSwap(CBidirMsg_RebroadcastSource* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.eventsource_, other->_impl_.eventsource_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CBidirMsg_RebroadcastSource::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[69]); -} - -// =================================================================== - -class CBidirMsg_PredictionEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_event_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_event_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_sync_type(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_sync_val_uint32(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; - } -}; - -CBidirMsg_PredictionEvent::CBidirMsg_PredictionEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CBidirMsg_PredictionEvent) -} -CBidirMsg_PredictionEvent::CBidirMsg_PredictionEvent(const CBidirMsg_PredictionEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CBidirMsg_PredictionEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.event_data_){} - , decltype(_impl_.event_id_){} - , decltype(_impl_.sync_type_){} - , decltype(_impl_.sync_val_uint32_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.event_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_event_data()) { - _this->_impl_.event_data_.Set(from._internal_event_data(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.event_id_, &from._impl_.event_id_, - static_cast(reinterpret_cast(&_impl_.sync_val_uint32_) - - reinterpret_cast(&_impl_.event_id_)) + sizeof(_impl_.sync_val_uint32_)); - // @@protoc_insertion_point(copy_constructor:CBidirMsg_PredictionEvent) -} - -inline void CBidirMsg_PredictionEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.event_data_){} - , decltype(_impl_.event_id_){0u} - , decltype(_impl_.sync_type_){0u} - , decltype(_impl_.sync_val_uint32_){0u} - }; - _impl_.event_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CBidirMsg_PredictionEvent::~CBidirMsg_PredictionEvent() { - // @@protoc_insertion_point(destructor:CBidirMsg_PredictionEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CBidirMsg_PredictionEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.event_data_.Destroy(); -} - -void CBidirMsg_PredictionEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CBidirMsg_PredictionEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CBidirMsg_PredictionEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.event_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.event_id_, 0, static_cast( - reinterpret_cast(&_impl_.sync_val_uint32_) - - reinterpret_cast(&_impl_.event_id_)) + sizeof(_impl_.sync_val_uint32_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CBidirMsg_PredictionEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 event_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_event_id(&has_bits); - _impl_.event_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // required bytes event_data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_event_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 sync_type = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_sync_type(&has_bits); - _impl_.sync_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 sync_val_uint32 = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_sync_val_uint32(&has_bits); - _impl_.sync_val_uint32_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CBidirMsg_PredictionEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CBidirMsg_PredictionEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 event_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_event_id(), target); - } - - // required bytes event_data = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_event_data(), target); - } - - // optional uint32 sync_type = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_sync_type(), target); - } - - // optional uint32 sync_val_uint32 = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_sync_val_uint32(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CBidirMsg_PredictionEvent) - return target; -} - -size_t CBidirMsg_PredictionEvent::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:CBidirMsg_PredictionEvent) - size_t total_size = 0; - - if (_internal_has_event_data()) { - // required bytes event_data = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_event_data()); - } - - if (_internal_has_event_id()) { - // required uint32 event_id = 1; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_id()); - } - - return total_size; -} -size_t CBidirMsg_PredictionEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CBidirMsg_PredictionEvent) - size_t total_size = 0; - - if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. - // required bytes event_data = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_event_data()); - - // required uint32 event_id = 1; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_event_id()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000cu) { - // optional uint32 sync_type = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sync_type()); - } - - // optional uint32 sync_val_uint32 = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sync_val_uint32()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CBidirMsg_PredictionEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CBidirMsg_PredictionEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CBidirMsg_PredictionEvent::GetClassData() const { return &_class_data_; } - - -void CBidirMsg_PredictionEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CBidirMsg_PredictionEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_event_data(from._internal_event_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.event_id_ = from._impl_.event_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.sync_type_ = from._impl_.sync_type_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.sync_val_uint32_ = from._impl_.sync_val_uint32_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CBidirMsg_PredictionEvent::CopyFrom(const CBidirMsg_PredictionEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CBidirMsg_PredictionEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CBidirMsg_PredictionEvent::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void CBidirMsg_PredictionEvent::InternalSwap(CBidirMsg_PredictionEvent* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.event_data_, lhs_arena, - &other->_impl_.event_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CBidirMsg_PredictionEvent, _impl_.sync_val_uint32_) - + sizeof(CBidirMsg_PredictionEvent::_impl_.sync_val_uint32_) - - PROTOBUF_FIELD_OFFSET(CBidirMsg_PredictionEvent, _impl_.event_id_)>( - reinterpret_cast(&_impl_.event_id_), - reinterpret_cast(&other->_impl_.event_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CBidirMsg_PredictionEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[70]); -} - -// =================================================================== - -class CMsgServerNetworkStats_Port::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_port(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgServerNetworkStats_Port::CMsgServerNetworkStats_Port(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgServerNetworkStats.Port) -} -CMsgServerNetworkStats_Port::CMsgServerNetworkStats_Port(const CMsgServerNetworkStats_Port& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgServerNetworkStats_Port* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.port_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _this->_impl_.port_ = from._impl_.port_; - // @@protoc_insertion_point(copy_constructor:CMsgServerNetworkStats.Port) -} - -inline void CMsgServerNetworkStats_Port::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.port_){0} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgServerNetworkStats_Port::~CMsgServerNetworkStats_Port() { - // @@protoc_insertion_point(destructor:CMsgServerNetworkStats.Port) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgServerNetworkStats_Port::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); -} - -void CMsgServerNetworkStats_Port::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgServerNetworkStats_Port::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgServerNetworkStats.Port) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - _impl_.port_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgServerNetworkStats_Port::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 port = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_port(&has_bits); - _impl_.port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgServerNetworkStats.Port.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgServerNetworkStats_Port::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgServerNetworkStats.Port) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 port = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_port(), target); - } - - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgServerNetworkStats.Port.name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgServerNetworkStats.Port) - return target; -} - -size_t CMsgServerNetworkStats_Port::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgServerNetworkStats.Port) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional int32 port = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_port()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgServerNetworkStats_Port::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgServerNetworkStats_Port::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgServerNetworkStats_Port::GetClassData() const { return &_class_data_; } - - -void CMsgServerNetworkStats_Port::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgServerNetworkStats.Port) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.port_ = from._impl_.port_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgServerNetworkStats_Port::CopyFrom(const CMsgServerNetworkStats_Port& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgServerNetworkStats.Port) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgServerNetworkStats_Port::IsInitialized() const { - return true; -} - -void CMsgServerNetworkStats_Port::InternalSwap(CMsgServerNetworkStats_Port* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - swap(_impl_.port_, other->_impl_.port_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerNetworkStats_Port::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[71]); -} - -// =================================================================== - -class CMsgServerNetworkStats_Player::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_remote_addr(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_ping_avg_ms(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_packet_loss_pct(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_is_bot(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_loss_in(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_loss_out(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_engine_latency_ms(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } -}; - -CMsgServerNetworkStats_Player::CMsgServerNetworkStats_Player(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgServerNetworkStats.Player) -} -CMsgServerNetworkStats_Player::CMsgServerNetworkStats_Player(const CMsgServerNetworkStats_Player& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgServerNetworkStats_Player* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.remote_addr_){} - , decltype(_impl_.steamid_){} - , decltype(_impl_.ping_avg_ms_){} - , decltype(_impl_.packet_loss_pct_){} - , decltype(_impl_.is_bot_){} - , decltype(_impl_.loss_in_){} - , decltype(_impl_.loss_out_){} - , decltype(_impl_.engine_latency_ms_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.remote_addr_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.remote_addr_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_remote_addr()) { - _this->_impl_.remote_addr_.Set(from._internal_remote_addr(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, - static_cast(reinterpret_cast(&_impl_.engine_latency_ms_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.engine_latency_ms_)); - // @@protoc_insertion_point(copy_constructor:CMsgServerNetworkStats.Player) -} - -inline void CMsgServerNetworkStats_Player::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.remote_addr_){} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.ping_avg_ms_){0} - , decltype(_impl_.packet_loss_pct_){0} - , decltype(_impl_.is_bot_){false} - , decltype(_impl_.loss_in_){0} - , decltype(_impl_.loss_out_){0} - , decltype(_impl_.engine_latency_ms_){0} - }; - _impl_.remote_addr_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.remote_addr_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgServerNetworkStats_Player::~CMsgServerNetworkStats_Player() { - // @@protoc_insertion_point(destructor:CMsgServerNetworkStats.Player) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgServerNetworkStats_Player::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.remote_addr_.Destroy(); -} - -void CMsgServerNetworkStats_Player::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgServerNetworkStats_Player::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgServerNetworkStats.Player) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.remote_addr_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x000000feu) { - ::memset(&_impl_.steamid_, 0, static_cast( - reinterpret_cast(&_impl_.engine_latency_ms_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.engine_latency_ms_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgServerNetworkStats_Player::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 steamid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string remote_addr = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_remote_addr(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgServerNetworkStats.Player.remote_addr"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 ping_avg_ms = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_ping_avg_ms(&has_bits); - _impl_.ping_avg_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float packet_loss_pct = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_packet_loss_pct(&has_bits); - _impl_.packet_loss_pct_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional bool is_bot = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_is_bot(&has_bits); - _impl_.is_bot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float loss_in = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_loss_in(&has_bits); - _impl_.loss_in_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float loss_out = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { - _Internal::set_has_loss_out(&has_bits); - _impl_.loss_out_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 engine_latency_ms = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_engine_latency_ms(&has_bits); - _impl_.engine_latency_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgServerNetworkStats_Player::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgServerNetworkStats.Player) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 steamid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_steamid(), target); - } - - // optional string remote_addr = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_remote_addr().data(), static_cast(this->_internal_remote_addr().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgServerNetworkStats.Player.remote_addr"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_remote_addr(), target); - } - - // optional int32 ping_avg_ms = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_ping_avg_ms(), target); - } - - // optional float packet_loss_pct = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_packet_loss_pct(), target); - } - - // optional bool is_bot = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_is_bot(), target); - } - - // optional float loss_in = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_loss_in(), target); - } - - // optional float loss_out = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_loss_out(), target); - } - - // optional int32 engine_latency_ms = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_engine_latency_ms(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgServerNetworkStats.Player) - return target; -} - -size_t CMsgServerNetworkStats_Player::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgServerNetworkStats.Player) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string remote_addr = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_remote_addr()); - } - - // optional uint64 steamid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_steamid()); - } - - // optional int32 ping_avg_ms = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ping_avg_ms()); - } - - // optional float packet_loss_pct = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - // optional bool is_bot = 6; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 1; - } - - // optional float loss_in = 7; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional float loss_out = 8; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional int32 engine_latency_ms = 9; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_engine_latency_ms()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgServerNetworkStats_Player::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgServerNetworkStats_Player::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgServerNetworkStats_Player::GetClassData() const { return &_class_data_; } - - -void CMsgServerNetworkStats_Player::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgServerNetworkStats.Player) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_remote_addr(from._internal_remote_addr()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.ping_avg_ms_ = from._impl_.ping_avg_ms_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.packet_loss_pct_ = from._impl_.packet_loss_pct_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.is_bot_ = from._impl_.is_bot_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.loss_in_ = from._impl_.loss_in_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.loss_out_ = from._impl_.loss_out_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.engine_latency_ms_ = from._impl_.engine_latency_ms_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgServerNetworkStats_Player::CopyFrom(const CMsgServerNetworkStats_Player& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgServerNetworkStats.Player) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgServerNetworkStats_Player::IsInitialized() const { - return true; -} - -void CMsgServerNetworkStats_Player::InternalSwap(CMsgServerNetworkStats_Player* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.remote_addr_, lhs_arena, - &other->_impl_.remote_addr_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgServerNetworkStats_Player, _impl_.engine_latency_ms_) - + sizeof(CMsgServerNetworkStats_Player::_impl_.engine_latency_ms_) - - PROTOBUF_FIELD_OFFSET(CMsgServerNetworkStats_Player, _impl_.steamid_)>( - reinterpret_cast(&_impl_.steamid_), - reinterpret_cast(&other->_impl_.steamid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerNetworkStats_Player::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[72]); -} - -// =================================================================== - -class CMsgServerNetworkStats::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_dedicated(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_cpu_usage(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_memory_used_mb(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_memory_free_mb(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_uptime(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_spawn_count(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_num_clients(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_num_bots(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_num_spectators(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_num_tv_relays(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_fps(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_avg_ping_ms(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_avg_engine_latency_out(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_avg_packets_out(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_avg_packets_in(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_avg_loss_out(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_avg_loss_in(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_avg_data_out(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } - static void set_has_avg_data_in(HasBits* has_bits) { - (*has_bits)[0] |= 4194304u; - } - static void set_has_total_data_in(HasBits* has_bits) { - (*has_bits)[0] |= 262144u; - } - static void set_has_total_packets_in(HasBits* has_bits) { - (*has_bits)[0] |= 524288u; - } - static void set_has_total_data_out(HasBits* has_bits) { - (*has_bits)[0] |= 1048576u; - } - static void set_has_total_packets_out(HasBits* has_bits) { - (*has_bits)[0] |= 2097152u; - } -}; - -CMsgServerNetworkStats::CMsgServerNetworkStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgServerNetworkStats) -} -CMsgServerNetworkStats::CMsgServerNetworkStats(const CMsgServerNetworkStats& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgServerNetworkStats* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ports_){from._impl_.ports_} - , decltype(_impl_.players_){from._impl_.players_} - , decltype(_impl_.dedicated_){} - , decltype(_impl_.cpu_usage_){} - , decltype(_impl_.memory_used_mb_){} - , decltype(_impl_.memory_free_mb_){} - , decltype(_impl_.uptime_){} - , decltype(_impl_.spawn_count_){} - , decltype(_impl_.num_clients_){} - , decltype(_impl_.num_bots_){} - , decltype(_impl_.num_spectators_){} - , decltype(_impl_.num_tv_relays_){} - , decltype(_impl_.fps_){} - , decltype(_impl_.avg_ping_ms_){} - , decltype(_impl_.avg_engine_latency_out_){} - , decltype(_impl_.avg_packets_out_){} - , decltype(_impl_.avg_packets_in_){} - , decltype(_impl_.avg_loss_out_){} - , decltype(_impl_.avg_loss_in_){} - , decltype(_impl_.avg_data_out_){} - , decltype(_impl_.total_data_in_){} - , decltype(_impl_.total_packets_in_){} - , decltype(_impl_.total_data_out_){} - , decltype(_impl_.total_packets_out_){} - , decltype(_impl_.avg_data_in_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.dedicated_, &from._impl_.dedicated_, - static_cast(reinterpret_cast(&_impl_.avg_data_in_) - - reinterpret_cast(&_impl_.dedicated_)) + sizeof(_impl_.avg_data_in_)); - // @@protoc_insertion_point(copy_constructor:CMsgServerNetworkStats) -} - -inline void CMsgServerNetworkStats::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ports_){arena} - , decltype(_impl_.players_){arena} - , decltype(_impl_.dedicated_){false} - , decltype(_impl_.cpu_usage_){0} - , decltype(_impl_.memory_used_mb_){0} - , decltype(_impl_.memory_free_mb_){0} - , decltype(_impl_.uptime_){0} - , decltype(_impl_.spawn_count_){0} - , decltype(_impl_.num_clients_){0} - , decltype(_impl_.num_bots_){0} - , decltype(_impl_.num_spectators_){0} - , decltype(_impl_.num_tv_relays_){0} - , decltype(_impl_.fps_){0} - , decltype(_impl_.avg_ping_ms_){0} - , decltype(_impl_.avg_engine_latency_out_){0} - , decltype(_impl_.avg_packets_out_){0} - , decltype(_impl_.avg_packets_in_){0} - , decltype(_impl_.avg_loss_out_){0} - , decltype(_impl_.avg_loss_in_){0} - , decltype(_impl_.avg_data_out_){0} - , decltype(_impl_.total_data_in_){uint64_t{0u}} - , decltype(_impl_.total_packets_in_){uint64_t{0u}} - , decltype(_impl_.total_data_out_){uint64_t{0u}} - , decltype(_impl_.total_packets_out_){uint64_t{0u}} - , decltype(_impl_.avg_data_in_){0} - }; -} - -CMsgServerNetworkStats::~CMsgServerNetworkStats() { - // @@protoc_insertion_point(destructor:CMsgServerNetworkStats) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgServerNetworkStats::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.ports_.~RepeatedPtrField(); - _impl_.players_.~RepeatedPtrField(); -} - -void CMsgServerNetworkStats::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgServerNetworkStats::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgServerNetworkStats) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.ports_.Clear(); - _impl_.players_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.dedicated_, 0, static_cast( - reinterpret_cast(&_impl_.num_bots_) - - reinterpret_cast(&_impl_.dedicated_)) + sizeof(_impl_.num_bots_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.num_spectators_, 0, static_cast( - reinterpret_cast(&_impl_.avg_loss_out_) - - reinterpret_cast(&_impl_.num_spectators_)) + sizeof(_impl_.avg_loss_out_)); - } - if (cached_has_bits & 0x007f0000u) { - ::memset(&_impl_.avg_loss_in_, 0, static_cast( - reinterpret_cast(&_impl_.avg_data_in_) - - reinterpret_cast(&_impl_.avg_loss_in_)) + sizeof(_impl_.avg_data_in_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgServerNetworkStats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool dedicated = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_dedicated(&has_bits); - _impl_.dedicated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 cpu_usage = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_cpu_usage(&has_bits); - _impl_.cpu_usage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 memory_used_mb = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_memory_used_mb(&has_bits); - _impl_.memory_used_mb_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 memory_free_mb = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_memory_free_mb(&has_bits); - _impl_.memory_free_mb_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 uptime = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_uptime(&has_bits); - _impl_.uptime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 spawn_count = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_spawn_count(&has_bits); - _impl_.spawn_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 num_clients = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_num_clients(&has_bits); - _impl_.num_clients_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 num_bots = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_num_bots(&has_bits); - _impl_.num_bots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 num_spectators = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_num_spectators(&has_bits); - _impl_.num_spectators_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 num_tv_relays = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_num_tv_relays(&has_bits); - _impl_.num_tv_relays_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float fps = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 101)) { - _Internal::set_has_fps(&has_bits); - _impl_.fps_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // repeated .CMsgServerNetworkStats.Port ports = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(_internal_add_ports(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<138>(ptr)); - } else - goto handle_unusual; - continue; - // optional float avg_ping_ms = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 149)) { - _Internal::set_has_avg_ping_ms(&has_bits); - _impl_.avg_ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float avg_engine_latency_out = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 157)) { - _Internal::set_has_avg_engine_latency_out(&has_bits); - _impl_.avg_engine_latency_out_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float avg_packets_out = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 165)) { - _Internal::set_has_avg_packets_out(&has_bits); - _impl_.avg_packets_out_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float avg_packets_in = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 173)) { - _Internal::set_has_avg_packets_in(&has_bits); - _impl_.avg_packets_in_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float avg_loss_out = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 181)) { - _Internal::set_has_avg_loss_out(&has_bits); - _impl_.avg_loss_out_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float avg_loss_in = 23; - case 23: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 189)) { - _Internal::set_has_avg_loss_in(&has_bits); - _impl_.avg_loss_in_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float avg_data_out = 24; - case 24: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 197)) { - _Internal::set_has_avg_data_out(&has_bits); - _impl_.avg_data_out_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float avg_data_in = 25; - case 25: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 205)) { - _Internal::set_has_avg_data_in(&has_bits); - _impl_.avg_data_in_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint64 total_data_in = 26; - case 26: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 208)) { - _Internal::set_has_total_data_in(&has_bits); - _impl_.total_data_in_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 total_packets_in = 27; - case 27: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 216)) { - _Internal::set_has_total_packets_in(&has_bits); - _impl_.total_packets_in_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 total_data_out = 28; - case 28: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 224)) { - _Internal::set_has_total_data_out(&has_bits); - _impl_.total_data_out_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 total_packets_out = 29; - case 29: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 232)) { - _Internal::set_has_total_packets_out(&has_bits); - _impl_.total_packets_out_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgServerNetworkStats.Player players = 30; - case 30: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 242)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(_internal_add_players(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<242>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgServerNetworkStats::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgServerNetworkStats) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool dedicated = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_dedicated(), target); - } - - // optional int32 cpu_usage = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_cpu_usage(), target); - } - - // optional int32 memory_used_mb = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_memory_used_mb(), target); - } - - // optional int32 memory_free_mb = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_memory_free_mb(), target); - } - - // optional int32 uptime = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_uptime(), target); - } - - // optional int32 spawn_count = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_spawn_count(), target); - } - - // optional int32 num_clients = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_num_clients(), target); - } - - // optional int32 num_bots = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_num_bots(), target); - } - - // optional int32 num_spectators = 10; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_num_spectators(), target); - } - - // optional int32 num_tv_relays = 11; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_num_tv_relays(), target); - } - - // optional float fps = 12; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(12, this->_internal_fps(), target); - } - - // repeated .CMsgServerNetworkStats.Port ports = 17; - for (unsigned i = 0, - n = static_cast(this->_internal_ports_size()); i < n; i++) { - const auto& repfield = this->_internal_ports(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(17, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional float avg_ping_ms = 18; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(18, this->_internal_avg_ping_ms(), target); - } - - // optional float avg_engine_latency_out = 19; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(19, this->_internal_avg_engine_latency_out(), target); - } - - // optional float avg_packets_out = 20; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(20, this->_internal_avg_packets_out(), target); - } - - // optional float avg_packets_in = 21; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(21, this->_internal_avg_packets_in(), target); - } - - // optional float avg_loss_out = 22; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(22, this->_internal_avg_loss_out(), target); - } - - // optional float avg_loss_in = 23; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(23, this->_internal_avg_loss_in(), target); - } - - // optional float avg_data_out = 24; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(24, this->_internal_avg_data_out(), target); - } - - // optional float avg_data_in = 25; - if (cached_has_bits & 0x00400000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(25, this->_internal_avg_data_in(), target); - } - - // optional uint64 total_data_in = 26; - if (cached_has_bits & 0x00040000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(26, this->_internal_total_data_in(), target); - } - - // optional uint64 total_packets_in = 27; - if (cached_has_bits & 0x00080000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(27, this->_internal_total_packets_in(), target); - } - - // optional uint64 total_data_out = 28; - if (cached_has_bits & 0x00100000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(28, this->_internal_total_data_out(), target); - } - - // optional uint64 total_packets_out = 29; - if (cached_has_bits & 0x00200000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(29, this->_internal_total_packets_out(), target); - } - - // repeated .CMsgServerNetworkStats.Player players = 30; - for (unsigned i = 0, - n = static_cast(this->_internal_players_size()); i < n; i++) { - const auto& repfield = this->_internal_players(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(30, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgServerNetworkStats) - return target; -} - -size_t CMsgServerNetworkStats::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgServerNetworkStats) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgServerNetworkStats.Port ports = 17; - total_size += 2UL * this->_internal_ports_size(); - for (const auto& msg : this->_impl_.ports_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CMsgServerNetworkStats.Player players = 30; - total_size += 2UL * this->_internal_players_size(); - for (const auto& msg : this->_impl_.players_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bool dedicated = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - // optional int32 cpu_usage = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_cpu_usage()); - } - - // optional int32 memory_used_mb = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_memory_used_mb()); - } - - // optional int32 memory_free_mb = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_memory_free_mb()); - } - - // optional int32 uptime = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_uptime()); - } - - // optional int32 spawn_count = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_spawn_count()); - } - - // optional int32 num_clients = 8; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_clients()); - } - - // optional int32 num_bots = 9; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_bots()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional int32 num_spectators = 10; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_spectators()); - } - - // optional int32 num_tv_relays = 11; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_num_tv_relays()); - } - - // optional float fps = 12; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 4; - } - - // optional float avg_ping_ms = 18; - if (cached_has_bits & 0x00000800u) { - total_size += 2 + 4; - } - - // optional float avg_engine_latency_out = 19; - if (cached_has_bits & 0x00001000u) { - total_size += 2 + 4; - } - - // optional float avg_packets_out = 20; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + 4; - } - - // optional float avg_packets_in = 21; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + 4; - } - - // optional float avg_loss_out = 22; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + 4; - } - - } - if (cached_has_bits & 0x007f0000u) { - // optional float avg_loss_in = 23; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + 4; - } - - // optional float avg_data_out = 24; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + 4; - } - - // optional uint64 total_data_in = 26; - if (cached_has_bits & 0x00040000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt64Size( - this->_internal_total_data_in()); - } - - // optional uint64 total_packets_in = 27; - if (cached_has_bits & 0x00080000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt64Size( - this->_internal_total_packets_in()); - } - - // optional uint64 total_data_out = 28; - if (cached_has_bits & 0x00100000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt64Size( - this->_internal_total_data_out()); - } - - // optional uint64 total_packets_out = 29; - if (cached_has_bits & 0x00200000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt64Size( - this->_internal_total_packets_out()); - } - - // optional float avg_data_in = 25; - if (cached_has_bits & 0x00400000u) { - total_size += 2 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgServerNetworkStats::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgServerNetworkStats::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgServerNetworkStats::GetClassData() const { return &_class_data_; } - - -void CMsgServerNetworkStats::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgServerNetworkStats) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.ports_.MergeFrom(from._impl_.ports_); - _this->_impl_.players_.MergeFrom(from._impl_.players_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.dedicated_ = from._impl_.dedicated_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.cpu_usage_ = from._impl_.cpu_usage_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.memory_used_mb_ = from._impl_.memory_used_mb_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.memory_free_mb_ = from._impl_.memory_free_mb_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.uptime_ = from._impl_.uptime_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.spawn_count_ = from._impl_.spawn_count_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.num_clients_ = from._impl_.num_clients_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.num_bots_ = from._impl_.num_bots_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.num_spectators_ = from._impl_.num_spectators_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.num_tv_relays_ = from._impl_.num_tv_relays_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.fps_ = from._impl_.fps_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.avg_ping_ms_ = from._impl_.avg_ping_ms_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.avg_engine_latency_out_ = from._impl_.avg_engine_latency_out_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.avg_packets_out_ = from._impl_.avg_packets_out_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.avg_packets_in_ = from._impl_.avg_packets_in_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.avg_loss_out_ = from._impl_.avg_loss_out_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x007f0000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.avg_loss_in_ = from._impl_.avg_loss_in_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.avg_data_out_ = from._impl_.avg_data_out_; - } - if (cached_has_bits & 0x00040000u) { - _this->_impl_.total_data_in_ = from._impl_.total_data_in_; - } - if (cached_has_bits & 0x00080000u) { - _this->_impl_.total_packets_in_ = from._impl_.total_packets_in_; - } - if (cached_has_bits & 0x00100000u) { - _this->_impl_.total_data_out_ = from._impl_.total_data_out_; - } - if (cached_has_bits & 0x00200000u) { - _this->_impl_.total_packets_out_ = from._impl_.total_packets_out_; - } - if (cached_has_bits & 0x00400000u) { - _this->_impl_.avg_data_in_ = from._impl_.avg_data_in_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgServerNetworkStats::CopyFrom(const CMsgServerNetworkStats& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgServerNetworkStats) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgServerNetworkStats::IsInitialized() const { - return true; -} - -void CMsgServerNetworkStats::InternalSwap(CMsgServerNetworkStats* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.ports_.InternalSwap(&other->_impl_.ports_); - _impl_.players_.InternalSwap(&other->_impl_.players_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgServerNetworkStats, _impl_.avg_data_in_) - + sizeof(CMsgServerNetworkStats::_impl_.avg_data_in_) - - PROTOBUF_FIELD_OFFSET(CMsgServerNetworkStats, _impl_.dedicated_)>( - reinterpret_cast(&_impl_.dedicated_), - reinterpret_cast(&other->_impl_.dedicated_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerNetworkStats::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[73]); -} - -// =================================================================== - -class CSVCMsg_HltvReplay::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_delay(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_primary_target(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_replay_stop_at(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_replay_start_at(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_replay_slowdown_begin(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_replay_slowdown_end(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_replay_slowdown_rate(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_reason(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } -}; - -CSVCMsg_HltvReplay::CSVCMsg_HltvReplay(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_HltvReplay) -} -CSVCMsg_HltvReplay::CSVCMsg_HltvReplay(const CSVCMsg_HltvReplay& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_HltvReplay* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.delay_){} - , decltype(_impl_.replay_stop_at_){} - , decltype(_impl_.replay_start_at_){} - , decltype(_impl_.replay_slowdown_begin_){} - , decltype(_impl_.replay_slowdown_end_){} - , decltype(_impl_.replay_slowdown_rate_){} - , decltype(_impl_.reason_){} - , decltype(_impl_.primary_target_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.delay_, &from._impl_.delay_, - static_cast(reinterpret_cast(&_impl_.primary_target_) - - reinterpret_cast(&_impl_.delay_)) + sizeof(_impl_.primary_target_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_HltvReplay) -} - -inline void CSVCMsg_HltvReplay::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.delay_){0} - , decltype(_impl_.replay_stop_at_){0} - , decltype(_impl_.replay_start_at_){0} - , decltype(_impl_.replay_slowdown_begin_){0} - , decltype(_impl_.replay_slowdown_end_){0} - , decltype(_impl_.replay_slowdown_rate_){0} - , decltype(_impl_.reason_){0} - , decltype(_impl_.primary_target_){-1} - }; -} - -CSVCMsg_HltvReplay::~CSVCMsg_HltvReplay() { - // @@protoc_insertion_point(destructor:CSVCMsg_HltvReplay) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_HltvReplay::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSVCMsg_HltvReplay::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_HltvReplay::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_HltvReplay) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.delay_, 0, static_cast( - reinterpret_cast(&_impl_.reason_) - - reinterpret_cast(&_impl_.delay_)) + sizeof(_impl_.reason_)); - _impl_.primary_target_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_HltvReplay::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 delay = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_delay(&has_bits); - _impl_.delay_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 primary_target = 2 [default = -1]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_primary_target(&has_bits); - _impl_.primary_target_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 replay_stop_at = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_replay_stop_at(&has_bits); - _impl_.replay_stop_at_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 replay_start_at = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_replay_start_at(&has_bits); - _impl_.replay_start_at_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 replay_slowdown_begin = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_replay_slowdown_begin(&has_bits); - _impl_.replay_slowdown_begin_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 replay_slowdown_end = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_replay_slowdown_end(&has_bits); - _impl_.replay_slowdown_end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float replay_slowdown_rate = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_replay_slowdown_rate(&has_bits); - _impl_.replay_slowdown_rate_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 reason = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_reason(&has_bits); - _impl_.reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_HltvReplay::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_HltvReplay) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 delay = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_delay(), target); - } - - // optional int32 primary_target = 2 [default = -1]; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_primary_target(), target); - } - - // optional int32 replay_stop_at = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_replay_stop_at(), target); - } - - // optional int32 replay_start_at = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_replay_start_at(), target); - } - - // optional int32 replay_slowdown_begin = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_replay_slowdown_begin(), target); - } - - // optional int32 replay_slowdown_end = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_replay_slowdown_end(), target); - } - - // optional float replay_slowdown_rate = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_replay_slowdown_rate(), target); - } - - // optional int32 reason = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_reason(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_HltvReplay) - return target; -} - -size_t CSVCMsg_HltvReplay::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_HltvReplay) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional int32 delay = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_delay()); - } - - // optional int32 replay_stop_at = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_replay_stop_at()); - } - - // optional int32 replay_start_at = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_replay_start_at()); - } - - // optional int32 replay_slowdown_begin = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_replay_slowdown_begin()); - } - - // optional int32 replay_slowdown_end = 6; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_replay_slowdown_end()); - } - - // optional float replay_slowdown_rate = 7; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional int32 reason = 8; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reason()); - } - - // optional int32 primary_target = 2 [default = -1]; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_primary_target()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_HltvReplay::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_HltvReplay::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_HltvReplay::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_HltvReplay::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_HltvReplay) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.delay_ = from._impl_.delay_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.replay_stop_at_ = from._impl_.replay_stop_at_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.replay_start_at_ = from._impl_.replay_start_at_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.replay_slowdown_begin_ = from._impl_.replay_slowdown_begin_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.replay_slowdown_end_ = from._impl_.replay_slowdown_end_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.replay_slowdown_rate_ = from._impl_.replay_slowdown_rate_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.reason_ = from._impl_.reason_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.primary_target_ = from._impl_.primary_target_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_HltvReplay::CopyFrom(const CSVCMsg_HltvReplay& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_HltvReplay) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_HltvReplay::IsInitialized() const { - return true; -} - -void CSVCMsg_HltvReplay::InternalSwap(CSVCMsg_HltvReplay* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_HltvReplay, _impl_.reason_) - + sizeof(CSVCMsg_HltvReplay::_impl_.reason_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_HltvReplay, _impl_.delay_)>( - reinterpret_cast(&_impl_.delay_), - reinterpret_cast(&other->_impl_.delay_)); - swap(_impl_.primary_target_, other->_impl_.primary_target_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_HltvReplay::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[74]); -} - -// =================================================================== - -class CCLCMsg_HltvReplay::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_request(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_slowdown_length(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_slowdown_rate(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_primary_target(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_event_time(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CCLCMsg_HltvReplay::CCLCMsg_HltvReplay(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCLCMsg_HltvReplay) -} -CCLCMsg_HltvReplay::CCLCMsg_HltvReplay(const CCLCMsg_HltvReplay& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCLCMsg_HltvReplay* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.request_){} - , decltype(_impl_.slowdown_length_){} - , decltype(_impl_.slowdown_rate_){} - , decltype(_impl_.event_time_){} - , decltype(_impl_.primary_target_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.request_, &from._impl_.request_, - static_cast(reinterpret_cast(&_impl_.primary_target_) - - reinterpret_cast(&_impl_.request_)) + sizeof(_impl_.primary_target_)); - // @@protoc_insertion_point(copy_constructor:CCLCMsg_HltvReplay) -} - -inline void CCLCMsg_HltvReplay::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.request_){0} - , decltype(_impl_.slowdown_length_){0} - , decltype(_impl_.slowdown_rate_){0} - , decltype(_impl_.event_time_){0} - , decltype(_impl_.primary_target_){-1} - }; -} - -CCLCMsg_HltvReplay::~CCLCMsg_HltvReplay() { - // @@protoc_insertion_point(destructor:CCLCMsg_HltvReplay) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCLCMsg_HltvReplay::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCLCMsg_HltvReplay::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCLCMsg_HltvReplay::Clear() { -// @@protoc_insertion_point(message_clear_start:CCLCMsg_HltvReplay) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.request_, 0, static_cast( - reinterpret_cast(&_impl_.event_time_) - - reinterpret_cast(&_impl_.request_)) + sizeof(_impl_.event_time_)); - _impl_.primary_target_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCLCMsg_HltvReplay::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 request = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_request(&has_bits); - _impl_.request_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float slowdown_length = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_slowdown_length(&has_bits); - _impl_.slowdown_length_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float slowdown_rate = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_slowdown_rate(&has_bits); - _impl_.slowdown_rate_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 primary_target = 4 [default = -1]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_primary_target(&has_bits); - _impl_.primary_target_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float event_time = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_event_time(&has_bits); - _impl_.event_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCLCMsg_HltvReplay::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_HltvReplay) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 request = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_request(), target); - } - - // optional float slowdown_length = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_slowdown_length(), target); - } - - // optional float slowdown_rate = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_slowdown_rate(), target); - } - - // optional int32 primary_target = 4 [default = -1]; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_primary_target(), target); - } - - // optional float event_time = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_event_time(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_HltvReplay) - return target; -} - -size_t CCLCMsg_HltvReplay::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_HltvReplay) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional int32 request = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_request()); - } - - // optional float slowdown_length = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float slowdown_rate = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional float event_time = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - // optional int32 primary_target = 4 [default = -1]; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_primary_target()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_HltvReplay::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCLCMsg_HltvReplay::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_HltvReplay::GetClassData() const { return &_class_data_; } - - -void CCLCMsg_HltvReplay::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCLCMsg_HltvReplay) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.request_ = from._impl_.request_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.slowdown_length_ = from._impl_.slowdown_length_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.slowdown_rate_ = from._impl_.slowdown_rate_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.event_time_ = from._impl_.event_time_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.primary_target_ = from._impl_.primary_target_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCLCMsg_HltvReplay::CopyFrom(const CCLCMsg_HltvReplay& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_HltvReplay) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCLCMsg_HltvReplay::IsInitialized() const { - return true; -} - -void CCLCMsg_HltvReplay::InternalSwap(CCLCMsg_HltvReplay* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCLCMsg_HltvReplay, _impl_.event_time_) - + sizeof(CCLCMsg_HltvReplay::_impl_.event_time_) - - PROTOBUF_FIELD_OFFSET(CCLCMsg_HltvReplay, _impl_.request_)>( - reinterpret_cast(&_impl_.request_), - reinterpret_cast(&other->_impl_.request_)); - swap(_impl_.primary_target_, other->_impl_.primary_target_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_HltvReplay::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[75]); -} - -// =================================================================== - -class CSVCMsg_Broadcast_Command::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_cmd(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_Broadcast_Command::CSVCMsg_Broadcast_Command(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_Broadcast_Command) -} -CSVCMsg_Broadcast_Command::CSVCMsg_Broadcast_Command(const CSVCMsg_Broadcast_Command& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_Broadcast_Command* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cmd_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.cmd_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cmd_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_cmd()) { - _this->_impl_.cmd_.Set(from._internal_cmd(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CSVCMsg_Broadcast_Command) -} - -inline void CSVCMsg_Broadcast_Command::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cmd_){} - }; - _impl_.cmd_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cmd_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_Broadcast_Command::~CSVCMsg_Broadcast_Command() { - // @@protoc_insertion_point(destructor:CSVCMsg_Broadcast_Command) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_Broadcast_Command::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.cmd_.Destroy(); -} - -void CSVCMsg_Broadcast_Command::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_Broadcast_Command::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_Broadcast_Command) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.cmd_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_Broadcast_Command::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string cmd = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_cmd(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_Broadcast_Command.cmd"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_Broadcast_Command::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_Broadcast_Command) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string cmd = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_cmd().data(), static_cast(this->_internal_cmd().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_Broadcast_Command.cmd"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_cmd(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_Broadcast_Command) - return target; -} - -size_t CSVCMsg_Broadcast_Command::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_Broadcast_Command) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string cmd = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_cmd()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_Broadcast_Command::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_Broadcast_Command::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_Broadcast_Command::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_Broadcast_Command::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_Broadcast_Command) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_cmd()) { - _this->_internal_set_cmd(from._internal_cmd()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_Broadcast_Command::CopyFrom(const CSVCMsg_Broadcast_Command& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_Broadcast_Command) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_Broadcast_Command::IsInitialized() const { - return true; -} - -void CSVCMsg_Broadcast_Command::InternalSwap(CSVCMsg_Broadcast_Command* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.cmd_, lhs_arena, - &other->_impl_.cmd_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_Broadcast_Command::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[76]); -} - -// =================================================================== - -class CCLCMsg_HltvFixupOperatorTick::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_tick(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_props_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgVector& origin(const CCLCMsg_HltvFixupOperatorTick* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgQAngle& eye_angles(const CCLCMsg_HltvFixupOperatorTick* msg); - static void set_has_eye_angles(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_observer_mode(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_cameraman_scoreboard(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_observer_target(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static const ::CMsgVector& view_offset(const CCLCMsg_HltvFixupOperatorTick* msg); - static void set_has_view_offset(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::CMsgVector& -CCLCMsg_HltvFixupOperatorTick::_Internal::origin(const CCLCMsg_HltvFixupOperatorTick* msg) { - return *msg->_impl_.origin_; -} -const ::CMsgQAngle& -CCLCMsg_HltvFixupOperatorTick::_Internal::eye_angles(const CCLCMsg_HltvFixupOperatorTick* msg) { - return *msg->_impl_.eye_angles_; -} -const ::CMsgVector& -CCLCMsg_HltvFixupOperatorTick::_Internal::view_offset(const CCLCMsg_HltvFixupOperatorTick* msg) { - return *msg->_impl_.view_offset_; -} -void CCLCMsg_HltvFixupOperatorTick::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CCLCMsg_HltvFixupOperatorTick::clear_eye_angles() { - if (_impl_.eye_angles_ != nullptr) _impl_.eye_angles_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -void CCLCMsg_HltvFixupOperatorTick::clear_view_offset() { - if (_impl_.view_offset_ != nullptr) _impl_.view_offset_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -CCLCMsg_HltvFixupOperatorTick::CCLCMsg_HltvFixupOperatorTick(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCLCMsg_HltvFixupOperatorTick) -} -CCLCMsg_HltvFixupOperatorTick::CCLCMsg_HltvFixupOperatorTick(const CCLCMsg_HltvFixupOperatorTick& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCLCMsg_HltvFixupOperatorTick* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.props_data_){} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.eye_angles_){nullptr} - , decltype(_impl_.view_offset_){nullptr} - , decltype(_impl_.tick_){} - , decltype(_impl_.observer_mode_){} - , decltype(_impl_.cameraman_scoreboard_){} - , decltype(_impl_.observer_target_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.props_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.props_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_props_data()) { - _this->_impl_.props_data_.Set(from._internal_props_data(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - if (from._internal_has_eye_angles()) { - _this->_impl_.eye_angles_ = new ::CMsgQAngle(*from._impl_.eye_angles_); - } - if (from._internal_has_view_offset()) { - _this->_impl_.view_offset_ = new ::CMsgVector(*from._impl_.view_offset_); - } - ::memcpy(&_impl_.tick_, &from._impl_.tick_, - static_cast(reinterpret_cast(&_impl_.observer_target_) - - reinterpret_cast(&_impl_.tick_)) + sizeof(_impl_.observer_target_)); - // @@protoc_insertion_point(copy_constructor:CCLCMsg_HltvFixupOperatorTick) -} - -inline void CCLCMsg_HltvFixupOperatorTick::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.props_data_){} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.eye_angles_){nullptr} - , decltype(_impl_.view_offset_){nullptr} - , decltype(_impl_.tick_){0} - , decltype(_impl_.observer_mode_){0} - , decltype(_impl_.cameraman_scoreboard_){false} - , decltype(_impl_.observer_target_){0} - }; - _impl_.props_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.props_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCLCMsg_HltvFixupOperatorTick::~CCLCMsg_HltvFixupOperatorTick() { - // @@protoc_insertion_point(destructor:CCLCMsg_HltvFixupOperatorTick) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCLCMsg_HltvFixupOperatorTick::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.props_data_.Destroy(); - if (this != internal_default_instance()) delete _impl_.origin_; - if (this != internal_default_instance()) delete _impl_.eye_angles_; - if (this != internal_default_instance()) delete _impl_.view_offset_; -} - -void CCLCMsg_HltvFixupOperatorTick::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCLCMsg_HltvFixupOperatorTick::Clear() { -// @@protoc_insertion_point(message_clear_start:CCLCMsg_HltvFixupOperatorTick) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.props_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.eye_angles_ != nullptr); - _impl_.eye_angles_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.view_offset_ != nullptr); - _impl_.view_offset_->Clear(); - } - } - if (cached_has_bits & 0x000000f0u) { - ::memset(&_impl_.tick_, 0, static_cast( - reinterpret_cast(&_impl_.observer_target_) - - reinterpret_cast(&_impl_.tick_)) + sizeof(_impl_.observer_target_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCLCMsg_HltvFixupOperatorTick::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 tick = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_tick(&has_bits); - _impl_.tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes props_data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_props_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector origin = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle eye_angles = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_eye_angles(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 observer_mode = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_observer_mode(&has_bits); - _impl_.observer_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool cameraman_scoreboard = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_cameraman_scoreboard(&has_bits); - _impl_.cameraman_scoreboard_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 observer_target = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_observer_target(&has_bits); - _impl_.observer_target_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector view_offset = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_view_offset(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCLCMsg_HltvFixupOperatorTick::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_HltvFixupOperatorTick) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 tick = 1; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_tick(), target); - } - - // optional bytes props_data = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_props_data(), target); - } - - // optional .CMsgVector origin = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - // optional .CMsgQAngle eye_angles = 4; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::eye_angles(this), - _Internal::eye_angles(this).GetCachedSize(), target, stream); - } - - // optional int32 observer_mode = 5; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_observer_mode(), target); - } - - // optional bool cameraman_scoreboard = 6; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_cameraman_scoreboard(), target); - } - - // optional int32 observer_target = 7; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_observer_target(), target); - } - - // optional .CMsgVector view_offset = 8; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, _Internal::view_offset(this), - _Internal::view_offset(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_HltvFixupOperatorTick) - return target; -} - -size_t CCLCMsg_HltvFixupOperatorTick::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCLCMsg_HltvFixupOperatorTick) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bytes props_data = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_props_data()); - } - - // optional .CMsgVector origin = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional .CMsgQAngle eye_angles = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.eye_angles_); - } - - // optional .CMsgVector view_offset = 8; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.view_offset_); - } - - // optional int32 tick = 1; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tick()); - } - - // optional int32 observer_mode = 5; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_observer_mode()); - } - - // optional bool cameraman_scoreboard = 6; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 1; - } - - // optional int32 observer_target = 7; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_observer_target()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCLCMsg_HltvFixupOperatorTick::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCLCMsg_HltvFixupOperatorTick::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCLCMsg_HltvFixupOperatorTick::GetClassData() const { return &_class_data_; } - - -void CCLCMsg_HltvFixupOperatorTick::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCLCMsg_HltvFixupOperatorTick) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_props_data(from._internal_props_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_eye_angles()->::CMsgQAngle::MergeFrom( - from._internal_eye_angles()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_view_offset()->::CMsgVector::MergeFrom( - from._internal_view_offset()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.tick_ = from._impl_.tick_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.observer_mode_ = from._impl_.observer_mode_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.cameraman_scoreboard_ = from._impl_.cameraman_scoreboard_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.observer_target_ = from._impl_.observer_target_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCLCMsg_HltvFixupOperatorTick::CopyFrom(const CCLCMsg_HltvFixupOperatorTick& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCLCMsg_HltvFixupOperatorTick) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCLCMsg_HltvFixupOperatorTick::IsInitialized() const { - return true; -} - -void CCLCMsg_HltvFixupOperatorTick::InternalSwap(CCLCMsg_HltvFixupOperatorTick* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.props_data_, lhs_arena, - &other->_impl_.props_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCLCMsg_HltvFixupOperatorTick, _impl_.observer_target_) - + sizeof(CCLCMsg_HltvFixupOperatorTick::_impl_.observer_target_) - - PROTOBUF_FIELD_OFFSET(CCLCMsg_HltvFixupOperatorTick, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCLCMsg_HltvFixupOperatorTick::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[77]); -} - -// =================================================================== - -class CSVCMsg_HltvFixupOperatorStatus::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_mode(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_override_operator_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CSVCMsg_HltvFixupOperatorStatus::CSVCMsg_HltvFixupOperatorStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_HltvFixupOperatorStatus) -} -CSVCMsg_HltvFixupOperatorStatus::CSVCMsg_HltvFixupOperatorStatus(const CSVCMsg_HltvFixupOperatorStatus& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_HltvFixupOperatorStatus* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.override_operator_name_){} - , decltype(_impl_.mode_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.override_operator_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.override_operator_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_override_operator_name()) { - _this->_impl_.override_operator_name_.Set(from._internal_override_operator_name(), - _this->GetArenaForAllocation()); - } - _this->_impl_.mode_ = from._impl_.mode_; - // @@protoc_insertion_point(copy_constructor:CSVCMsg_HltvFixupOperatorStatus) -} - -inline void CSVCMsg_HltvFixupOperatorStatus::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.override_operator_name_){} - , decltype(_impl_.mode_){0u} - }; - _impl_.override_operator_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.override_operator_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_HltvFixupOperatorStatus::~CSVCMsg_HltvFixupOperatorStatus() { - // @@protoc_insertion_point(destructor:CSVCMsg_HltvFixupOperatorStatus) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_HltvFixupOperatorStatus::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.override_operator_name_.Destroy(); -} - -void CSVCMsg_HltvFixupOperatorStatus::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_HltvFixupOperatorStatus::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_HltvFixupOperatorStatus) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.override_operator_name_.ClearNonDefaultToEmpty(); - } - _impl_.mode_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_HltvFixupOperatorStatus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 mode = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_mode(&has_bits); - _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string override_operator_name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_override_operator_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_HltvFixupOperatorStatus.override_operator_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_HltvFixupOperatorStatus::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_HltvFixupOperatorStatus) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 mode = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_mode(), target); - } - - // optional string override_operator_name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_override_operator_name().data(), static_cast(this->_internal_override_operator_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_HltvFixupOperatorStatus.override_operator_name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_override_operator_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_HltvFixupOperatorStatus) - return target; -} - -size_t CSVCMsg_HltvFixupOperatorStatus::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_HltvFixupOperatorStatus) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string override_operator_name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_override_operator_name()); - } - - // optional uint32 mode = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_HltvFixupOperatorStatus::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_HltvFixupOperatorStatus::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_HltvFixupOperatorStatus::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_HltvFixupOperatorStatus::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_HltvFixupOperatorStatus) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_override_operator_name(from._internal_override_operator_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.mode_ = from._impl_.mode_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_HltvFixupOperatorStatus::CopyFrom(const CSVCMsg_HltvFixupOperatorStatus& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_HltvFixupOperatorStatus) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_HltvFixupOperatorStatus::IsInitialized() const { - return true; -} - -void CSVCMsg_HltvFixupOperatorStatus::InternalSwap(CSVCMsg_HltvFixupOperatorStatus* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.override_operator_name_, lhs_arena, - &other->_impl_.override_operator_name_, rhs_arena - ); - swap(_impl_.mode_, other->_impl_.mode_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_HltvFixupOperatorStatus::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[78]); -} - -// =================================================================== - -class CMsgServerUserCmd::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_cmd_number(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_player_slot(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_server_tick_executed(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_client_tick(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgServerUserCmd::CMsgServerUserCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgServerUserCmd) -} -CMsgServerUserCmd::CMsgServerUserCmd(const CMsgServerUserCmd& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgServerUserCmd* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.cmd_number_){} - , decltype(_impl_.server_tick_executed_){} - , decltype(_impl_.client_tick_){} - , decltype(_impl_.player_slot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.cmd_number_, &from._impl_.cmd_number_, - static_cast(reinterpret_cast(&_impl_.player_slot_) - - reinterpret_cast(&_impl_.cmd_number_)) + sizeof(_impl_.player_slot_)); - // @@protoc_insertion_point(copy_constructor:CMsgServerUserCmd) -} - -inline void CMsgServerUserCmd::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.cmd_number_){0} - , decltype(_impl_.server_tick_executed_){0} - , decltype(_impl_.client_tick_){0} - , decltype(_impl_.player_slot_){-1} - }; - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgServerUserCmd::~CMsgServerUserCmd() { - // @@protoc_insertion_point(destructor:CMsgServerUserCmd) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgServerUserCmd::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_.Destroy(); -} - -void CMsgServerUserCmd::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgServerUserCmd::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgServerUserCmd) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000001eu) { - ::memset(&_impl_.cmd_number_, 0, static_cast( - reinterpret_cast(&_impl_.client_tick_) - - reinterpret_cast(&_impl_.cmd_number_)) + sizeof(_impl_.client_tick_)); - _impl_.player_slot_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgServerUserCmd::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes data = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 cmd_number = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_cmd_number(&has_bits); - _impl_.cmd_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 player_slot = 3 [default = -1]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_player_slot(&has_bits); - _impl_.player_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 server_tick_executed = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_server_tick_executed(&has_bits); - _impl_.server_tick_executed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 client_tick = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_client_tick(&has_bits); - _impl_.client_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgServerUserCmd::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgServerUserCmd) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes data = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_data(), target); - } - - // optional int32 cmd_number = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_cmd_number(), target); - } - - // optional int32 player_slot = 3 [default = -1]; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_player_slot(), target); - } - - // optional int32 server_tick_executed = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_server_tick_executed(), target); - } - - // optional int32 client_tick = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_client_tick(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgServerUserCmd) - return target; -} - -size_t CMsgServerUserCmd::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgServerUserCmd) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional bytes data = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - // optional int32 cmd_number = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_cmd_number()); - } - - // optional int32 server_tick_executed = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_server_tick_executed()); - } - - // optional int32 client_tick = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_client_tick()); - } - - // optional int32 player_slot = 3 [default = -1]; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player_slot()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgServerUserCmd::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgServerUserCmd::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgServerUserCmd::GetClassData() const { return &_class_data_; } - - -void CMsgServerUserCmd::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgServerUserCmd) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_data(from._internal_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.cmd_number_ = from._impl_.cmd_number_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.server_tick_executed_ = from._impl_.server_tick_executed_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.client_tick_ = from._impl_.client_tick_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.player_slot_ = from._impl_.player_slot_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgServerUserCmd::CopyFrom(const CMsgServerUserCmd& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgServerUserCmd) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgServerUserCmd::IsInitialized() const { - return true; -} - -void CMsgServerUserCmd::InternalSwap(CMsgServerUserCmd* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgServerUserCmd, _impl_.client_tick_) - + sizeof(CMsgServerUserCmd::_impl_.client_tick_) - - PROTOBUF_FIELD_OFFSET(CMsgServerUserCmd, _impl_.cmd_number_)>( - reinterpret_cast(&_impl_.cmd_number_), - reinterpret_cast(&other->_impl_.cmd_number_)); - swap(_impl_.player_slot_, other->_impl_.player_slot_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgServerUserCmd::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[79]); -} - -// =================================================================== - -class CSVCMsg_UserCommands::_Internal { - public: -}; - -CSVCMsg_UserCommands::CSVCMsg_UserCommands(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_UserCommands) -} -CSVCMsg_UserCommands::CSVCMsg_UserCommands(const CSVCMsg_UserCommands& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_UserCommands* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.commands_){from._impl_.commands_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_UserCommands) -} - -inline void CSVCMsg_UserCommands::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.commands_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CSVCMsg_UserCommands::~CSVCMsg_UserCommands() { - // @@protoc_insertion_point(destructor:CSVCMsg_UserCommands) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_UserCommands::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.commands_.~RepeatedPtrField(); -} - -void CSVCMsg_UserCommands::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_UserCommands::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_UserCommands) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.commands_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_UserCommands::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CMsgServerUserCmd commands = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_commands(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_UserCommands::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_UserCommands) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CMsgServerUserCmd commands = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_commands_size()); i < n; i++) { - const auto& repfield = this->_internal_commands(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_UserCommands) - return target; -} - -size_t CSVCMsg_UserCommands::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_UserCommands) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgServerUserCmd commands = 1; - total_size += 1UL * this->_internal_commands_size(); - for (const auto& msg : this->_impl_.commands_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_UserCommands::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_UserCommands::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_UserCommands::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_UserCommands::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_UserCommands) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.commands_.MergeFrom(from._impl_.commands_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_UserCommands::CopyFrom(const CSVCMsg_UserCommands& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_UserCommands) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_UserCommands::IsInitialized() const { - return true; -} - -void CSVCMsg_UserCommands::InternalSwap(CSVCMsg_UserCommands* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.commands_.InternalSwap(&other->_impl_.commands_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_UserCommands::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_netmessages_2eproto_getter, &descriptor_table_netmessages_2eproto_once, - file_level_metadata_netmessages_2eproto[80]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CCLCMsg_ClientInfo* -Arena::CreateMaybeMessage< ::CCLCMsg_ClientInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCLCMsg_ClientInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CCLCMsg_Move* -Arena::CreateMaybeMessage< ::CCLCMsg_Move >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCLCMsg_Move >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgVoiceAudio* -Arena::CreateMaybeMessage< ::CMsgVoiceAudio >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgVoiceAudio >(arena); -} -template<> PROTOBUF_NOINLINE ::CCLCMsg_VoiceData* -Arena::CreateMaybeMessage< ::CCLCMsg_VoiceData >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCLCMsg_VoiceData >(arena); -} -template<> PROTOBUF_NOINLINE ::CCLCMsg_BaselineAck* -Arena::CreateMaybeMessage< ::CCLCMsg_BaselineAck >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCLCMsg_BaselineAck >(arena); -} -template<> PROTOBUF_NOINLINE ::CCLCMsg_ListenEvents* -Arena::CreateMaybeMessage< ::CCLCMsg_ListenEvents >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCLCMsg_ListenEvents >(arena); -} -template<> PROTOBUF_NOINLINE ::CCLCMsg_RespondCvarValue* -Arena::CreateMaybeMessage< ::CCLCMsg_RespondCvarValue >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCLCMsg_RespondCvarValue >(arena); -} -template<> PROTOBUF_NOINLINE ::CCLCMsg_LoadingProgress* -Arena::CreateMaybeMessage< ::CCLCMsg_LoadingProgress >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCLCMsg_LoadingProgress >(arena); -} -template<> PROTOBUF_NOINLINE ::CCLCMsg_SplitPlayerConnect* -Arena::CreateMaybeMessage< ::CCLCMsg_SplitPlayerConnect >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCLCMsg_SplitPlayerConnect >(arena); -} -template<> PROTOBUF_NOINLINE ::CCLCMsg_SplitPlayerDisconnect* -Arena::CreateMaybeMessage< ::CCLCMsg_SplitPlayerDisconnect >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCLCMsg_SplitPlayerDisconnect >(arena); -} -template<> PROTOBUF_NOINLINE ::CCLCMsg_ServerStatus* -Arena::CreateMaybeMessage< ::CCLCMsg_ServerStatus >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCLCMsg_ServerStatus >(arena); -} -template<> PROTOBUF_NOINLINE ::CCLCMsg_RequestPause* -Arena::CreateMaybeMessage< ::CCLCMsg_RequestPause >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCLCMsg_RequestPause >(arena); -} -template<> PROTOBUF_NOINLINE ::CCLCMsg_CmdKeyValues* -Arena::CreateMaybeMessage< ::CCLCMsg_CmdKeyValues >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCLCMsg_CmdKeyValues >(arena); -} -template<> PROTOBUF_NOINLINE ::CCLCMsg_RconServerDetails* -Arena::CreateMaybeMessage< ::CCLCMsg_RconServerDetails >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCLCMsg_RconServerDetails >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSource2SystemSpecs* -Arena::CreateMaybeMessage< ::CMsgSource2SystemSpecs >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSource2SystemSpecs >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSource2VProfLiteReportItem* -Arena::CreateMaybeMessage< ::CMsgSource2VProfLiteReportItem >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSource2VProfLiteReportItem >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSource2VProfLiteReport* -Arena::CreateMaybeMessage< ::CMsgSource2VProfLiteReport >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSource2VProfLiteReport >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSource2NetworkFlowQuality* -Arena::CreateMaybeMessage< ::CMsgSource2NetworkFlowQuality >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSource2NetworkFlowQuality >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSource2PerfIntervalSample_Tag* -Arena::CreateMaybeMessage< ::CMsgSource2PerfIntervalSample_Tag >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSource2PerfIntervalSample_Tag >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSource2PerfIntervalSample* -Arena::CreateMaybeMessage< ::CMsgSource2PerfIntervalSample >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSource2PerfIntervalSample >(arena); -} -template<> PROTOBUF_NOINLINE ::CCLCMsg_Diagnostic* -Arena::CreateMaybeMessage< ::CCLCMsg_Diagnostic >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCLCMsg_Diagnostic >(arena); -} -template<> PROTOBUF_NOINLINE ::CSource2Metrics_MatchPerfSummary_Notification_Client* -Arena::CreateMaybeMessage< ::CSource2Metrics_MatchPerfSummary_Notification_Client >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSource2Metrics_MatchPerfSummary_Notification_Client >(arena); -} -template<> PROTOBUF_NOINLINE ::CSource2Metrics_MatchPerfSummary_Notification* -Arena::CreateMaybeMessage< ::CSource2Metrics_MatchPerfSummary_Notification >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSource2Metrics_MatchPerfSummary_Notification >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_ServerInfo* -Arena::CreateMaybeMessage< ::CSVCMsg_ServerInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_ServerInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_ClassInfo_class_t* -Arena::CreateMaybeMessage< ::CSVCMsg_ClassInfo_class_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_ClassInfo_class_t >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_ClassInfo* -Arena::CreateMaybeMessage< ::CSVCMsg_ClassInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_ClassInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_SetPause* -Arena::CreateMaybeMessage< ::CSVCMsg_SetPause >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_SetPause >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_VoiceInit* -Arena::CreateMaybeMessage< ::CSVCMsg_VoiceInit >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_VoiceInit >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_Print* -Arena::CreateMaybeMessage< ::CSVCMsg_Print >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_Print >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_Sounds_sounddata_t* -Arena::CreateMaybeMessage< ::CSVCMsg_Sounds_sounddata_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_Sounds_sounddata_t >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_Sounds* -Arena::CreateMaybeMessage< ::CSVCMsg_Sounds >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_Sounds >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_Prefetch* -Arena::CreateMaybeMessage< ::CSVCMsg_Prefetch >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_Prefetch >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_SetView* -Arena::CreateMaybeMessage< ::CSVCMsg_SetView >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_SetView >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_FixAngle* -Arena::CreateMaybeMessage< ::CSVCMsg_FixAngle >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_FixAngle >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_CrosshairAngle* -Arena::CreateMaybeMessage< ::CSVCMsg_CrosshairAngle >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_CrosshairAngle >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_BSPDecal* -Arena::CreateMaybeMessage< ::CSVCMsg_BSPDecal >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_BSPDecal >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_SplitScreen* -Arena::CreateMaybeMessage< ::CSVCMsg_SplitScreen >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_SplitScreen >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_GetCvarValue* -Arena::CreateMaybeMessage< ::CSVCMsg_GetCvarValue >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_GetCvarValue >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_Menu* -Arena::CreateMaybeMessage< ::CSVCMsg_Menu >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_Menu >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_UserMessage* -Arena::CreateMaybeMessage< ::CSVCMsg_UserMessage >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_UserMessage >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_SendTable_sendprop_t* -Arena::CreateMaybeMessage< ::CSVCMsg_SendTable_sendprop_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_SendTable_sendprop_t >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_SendTable* -Arena::CreateMaybeMessage< ::CSVCMsg_SendTable >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_SendTable >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_GameEventList_key_t* -Arena::CreateMaybeMessage< ::CSVCMsg_GameEventList_key_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_GameEventList_key_t >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_GameEventList_descriptor_t* -Arena::CreateMaybeMessage< ::CSVCMsg_GameEventList_descriptor_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_GameEventList_descriptor_t >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_GameEventList* -Arena::CreateMaybeMessage< ::CSVCMsg_GameEventList >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_GameEventList >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_PacketEntities_alternate_baseline_t* -Arena::CreateMaybeMessage< ::CSVCMsg_PacketEntities_alternate_baseline_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_PacketEntities_alternate_baseline_t >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_PacketEntities_non_transmitted_entities_t* -Arena::CreateMaybeMessage< ::CSVCMsg_PacketEntities_non_transmitted_entities_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_PacketEntities_non_transmitted_entities_t >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* -Arena::CreateMaybeMessage< ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_PacketEntities* -Arena::CreateMaybeMessage< ::CSVCMsg_PacketEntities >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_PacketEntities >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_TempEntities* -Arena::CreateMaybeMessage< ::CSVCMsg_TempEntities >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_TempEntities >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_CreateStringTable* -Arena::CreateMaybeMessage< ::CSVCMsg_CreateStringTable >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_CreateStringTable >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_UpdateStringTable* -Arena::CreateMaybeMessage< ::CSVCMsg_UpdateStringTable >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_UpdateStringTable >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_VoiceData* -Arena::CreateMaybeMessage< ::CSVCMsg_VoiceData >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_VoiceData >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_PacketReliable* -Arena::CreateMaybeMessage< ::CSVCMsg_PacketReliable >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_PacketReliable >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_FullFrameSplit* -Arena::CreateMaybeMessage< ::CSVCMsg_FullFrameSplit >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_FullFrameSplit >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_HLTVStatus* -Arena::CreateMaybeMessage< ::CSVCMsg_HLTVStatus >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_HLTVStatus >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_ServerSteamID* -Arena::CreateMaybeMessage< ::CSVCMsg_ServerSteamID >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_ServerSteamID >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_CmdKeyValues* -Arena::CreateMaybeMessage< ::CSVCMsg_CmdKeyValues >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_CmdKeyValues >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_RconServerDetails* -Arena::CreateMaybeMessage< ::CSVCMsg_RconServerDetails >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_RconServerDetails >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgIPCAddress* -Arena::CreateMaybeMessage< ::CMsgIPCAddress >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgIPCAddress >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgServerPeer* -Arena::CreateMaybeMessage< ::CMsgServerPeer >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgServerPeer >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_PeerList* -Arena::CreateMaybeMessage< ::CSVCMsg_PeerList >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_PeerList >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_ClearAllStringTables* -Arena::CreateMaybeMessage< ::CSVCMsg_ClearAllStringTables >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_ClearAllStringTables >(arena); -} -template<> PROTOBUF_NOINLINE ::ProtoFlattenedSerializerField_t_polymorphic_field_t* -Arena::CreateMaybeMessage< ::ProtoFlattenedSerializerField_t_polymorphic_field_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::ProtoFlattenedSerializerField_t_polymorphic_field_t >(arena); -} -template<> PROTOBUF_NOINLINE ::ProtoFlattenedSerializerField_t* -Arena::CreateMaybeMessage< ::ProtoFlattenedSerializerField_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::ProtoFlattenedSerializerField_t >(arena); -} -template<> PROTOBUF_NOINLINE ::ProtoFlattenedSerializer_t* -Arena::CreateMaybeMessage< ::ProtoFlattenedSerializer_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::ProtoFlattenedSerializer_t >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_FlattenedSerializer* -Arena::CreateMaybeMessage< ::CSVCMsg_FlattenedSerializer >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_FlattenedSerializer >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_StopSound* -Arena::CreateMaybeMessage< ::CSVCMsg_StopSound >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_StopSound >(arena); -} -template<> PROTOBUF_NOINLINE ::CBidirMsg_RebroadcastGameEvent* -Arena::CreateMaybeMessage< ::CBidirMsg_RebroadcastGameEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CBidirMsg_RebroadcastGameEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CBidirMsg_RebroadcastSource* -Arena::CreateMaybeMessage< ::CBidirMsg_RebroadcastSource >(Arena* arena) { - return Arena::CreateMessageInternal< ::CBidirMsg_RebroadcastSource >(arena); -} -template<> PROTOBUF_NOINLINE ::CBidirMsg_PredictionEvent* -Arena::CreateMaybeMessage< ::CBidirMsg_PredictionEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CBidirMsg_PredictionEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgServerNetworkStats_Port* -Arena::CreateMaybeMessage< ::CMsgServerNetworkStats_Port >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgServerNetworkStats_Port >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgServerNetworkStats_Player* -Arena::CreateMaybeMessage< ::CMsgServerNetworkStats_Player >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgServerNetworkStats_Player >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgServerNetworkStats* -Arena::CreateMaybeMessage< ::CMsgServerNetworkStats >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgServerNetworkStats >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_HltvReplay* -Arena::CreateMaybeMessage< ::CSVCMsg_HltvReplay >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_HltvReplay >(arena); -} -template<> PROTOBUF_NOINLINE ::CCLCMsg_HltvReplay* -Arena::CreateMaybeMessage< ::CCLCMsg_HltvReplay >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCLCMsg_HltvReplay >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_Broadcast_Command* -Arena::CreateMaybeMessage< ::CSVCMsg_Broadcast_Command >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_Broadcast_Command >(arena); -} -template<> PROTOBUF_NOINLINE ::CCLCMsg_HltvFixupOperatorTick* -Arena::CreateMaybeMessage< ::CCLCMsg_HltvFixupOperatorTick >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCLCMsg_HltvFixupOperatorTick >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_HltvFixupOperatorStatus* -Arena::CreateMaybeMessage< ::CSVCMsg_HltvFixupOperatorStatus >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_HltvFixupOperatorStatus >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgServerUserCmd* -Arena::CreateMaybeMessage< ::CMsgServerUserCmd >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgServerUserCmd >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_UserCommands* -Arena::CreateMaybeMessage< ::CSVCMsg_UserCommands >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_UserCommands >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/netmessages.pb.h b/protobuf/generated/netmessages.pb.h deleted file mode 100644 index 3f9ca9cd7..000000000 --- a/protobuf/generated/netmessages.pb.h +++ /dev/null @@ -1,34013 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: netmessages.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_netmessages_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_netmessages_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "networkbasetypes.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_netmessages_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_netmessages_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_netmessages_2eproto; -class CBidirMsg_PredictionEvent; -struct CBidirMsg_PredictionEventDefaultTypeInternal; -extern CBidirMsg_PredictionEventDefaultTypeInternal _CBidirMsg_PredictionEvent_default_instance_; -class CBidirMsg_RebroadcastGameEvent; -struct CBidirMsg_RebroadcastGameEventDefaultTypeInternal; -extern CBidirMsg_RebroadcastGameEventDefaultTypeInternal _CBidirMsg_RebroadcastGameEvent_default_instance_; -class CBidirMsg_RebroadcastSource; -struct CBidirMsg_RebroadcastSourceDefaultTypeInternal; -extern CBidirMsg_RebroadcastSourceDefaultTypeInternal _CBidirMsg_RebroadcastSource_default_instance_; -class CCLCMsg_BaselineAck; -struct CCLCMsg_BaselineAckDefaultTypeInternal; -extern CCLCMsg_BaselineAckDefaultTypeInternal _CCLCMsg_BaselineAck_default_instance_; -class CCLCMsg_ClientInfo; -struct CCLCMsg_ClientInfoDefaultTypeInternal; -extern CCLCMsg_ClientInfoDefaultTypeInternal _CCLCMsg_ClientInfo_default_instance_; -class CCLCMsg_CmdKeyValues; -struct CCLCMsg_CmdKeyValuesDefaultTypeInternal; -extern CCLCMsg_CmdKeyValuesDefaultTypeInternal _CCLCMsg_CmdKeyValues_default_instance_; -class CCLCMsg_Diagnostic; -struct CCLCMsg_DiagnosticDefaultTypeInternal; -extern CCLCMsg_DiagnosticDefaultTypeInternal _CCLCMsg_Diagnostic_default_instance_; -class CCLCMsg_HltvFixupOperatorTick; -struct CCLCMsg_HltvFixupOperatorTickDefaultTypeInternal; -extern CCLCMsg_HltvFixupOperatorTickDefaultTypeInternal _CCLCMsg_HltvFixupOperatorTick_default_instance_; -class CCLCMsg_HltvReplay; -struct CCLCMsg_HltvReplayDefaultTypeInternal; -extern CCLCMsg_HltvReplayDefaultTypeInternal _CCLCMsg_HltvReplay_default_instance_; -class CCLCMsg_ListenEvents; -struct CCLCMsg_ListenEventsDefaultTypeInternal; -extern CCLCMsg_ListenEventsDefaultTypeInternal _CCLCMsg_ListenEvents_default_instance_; -class CCLCMsg_LoadingProgress; -struct CCLCMsg_LoadingProgressDefaultTypeInternal; -extern CCLCMsg_LoadingProgressDefaultTypeInternal _CCLCMsg_LoadingProgress_default_instance_; -class CCLCMsg_Move; -struct CCLCMsg_MoveDefaultTypeInternal; -extern CCLCMsg_MoveDefaultTypeInternal _CCLCMsg_Move_default_instance_; -class CCLCMsg_RconServerDetails; -struct CCLCMsg_RconServerDetailsDefaultTypeInternal; -extern CCLCMsg_RconServerDetailsDefaultTypeInternal _CCLCMsg_RconServerDetails_default_instance_; -class CCLCMsg_RequestPause; -struct CCLCMsg_RequestPauseDefaultTypeInternal; -extern CCLCMsg_RequestPauseDefaultTypeInternal _CCLCMsg_RequestPause_default_instance_; -class CCLCMsg_RespondCvarValue; -struct CCLCMsg_RespondCvarValueDefaultTypeInternal; -extern CCLCMsg_RespondCvarValueDefaultTypeInternal _CCLCMsg_RespondCvarValue_default_instance_; -class CCLCMsg_ServerStatus; -struct CCLCMsg_ServerStatusDefaultTypeInternal; -extern CCLCMsg_ServerStatusDefaultTypeInternal _CCLCMsg_ServerStatus_default_instance_; -class CCLCMsg_SplitPlayerConnect; -struct CCLCMsg_SplitPlayerConnectDefaultTypeInternal; -extern CCLCMsg_SplitPlayerConnectDefaultTypeInternal _CCLCMsg_SplitPlayerConnect_default_instance_; -class CCLCMsg_SplitPlayerDisconnect; -struct CCLCMsg_SplitPlayerDisconnectDefaultTypeInternal; -extern CCLCMsg_SplitPlayerDisconnectDefaultTypeInternal _CCLCMsg_SplitPlayerDisconnect_default_instance_; -class CCLCMsg_VoiceData; -struct CCLCMsg_VoiceDataDefaultTypeInternal; -extern CCLCMsg_VoiceDataDefaultTypeInternal _CCLCMsg_VoiceData_default_instance_; -class CMsgIPCAddress; -struct CMsgIPCAddressDefaultTypeInternal; -extern CMsgIPCAddressDefaultTypeInternal _CMsgIPCAddress_default_instance_; -class CMsgServerNetworkStats; -struct CMsgServerNetworkStatsDefaultTypeInternal; -extern CMsgServerNetworkStatsDefaultTypeInternal _CMsgServerNetworkStats_default_instance_; -class CMsgServerNetworkStats_Player; -struct CMsgServerNetworkStats_PlayerDefaultTypeInternal; -extern CMsgServerNetworkStats_PlayerDefaultTypeInternal _CMsgServerNetworkStats_Player_default_instance_; -class CMsgServerNetworkStats_Port; -struct CMsgServerNetworkStats_PortDefaultTypeInternal; -extern CMsgServerNetworkStats_PortDefaultTypeInternal _CMsgServerNetworkStats_Port_default_instance_; -class CMsgServerPeer; -struct CMsgServerPeerDefaultTypeInternal; -extern CMsgServerPeerDefaultTypeInternal _CMsgServerPeer_default_instance_; -class CMsgServerUserCmd; -struct CMsgServerUserCmdDefaultTypeInternal; -extern CMsgServerUserCmdDefaultTypeInternal _CMsgServerUserCmd_default_instance_; -class CMsgSource2NetworkFlowQuality; -struct CMsgSource2NetworkFlowQualityDefaultTypeInternal; -extern CMsgSource2NetworkFlowQualityDefaultTypeInternal _CMsgSource2NetworkFlowQuality_default_instance_; -class CMsgSource2PerfIntervalSample; -struct CMsgSource2PerfIntervalSampleDefaultTypeInternal; -extern CMsgSource2PerfIntervalSampleDefaultTypeInternal _CMsgSource2PerfIntervalSample_default_instance_; -class CMsgSource2PerfIntervalSample_Tag; -struct CMsgSource2PerfIntervalSample_TagDefaultTypeInternal; -extern CMsgSource2PerfIntervalSample_TagDefaultTypeInternal _CMsgSource2PerfIntervalSample_Tag_default_instance_; -class CMsgSource2SystemSpecs; -struct CMsgSource2SystemSpecsDefaultTypeInternal; -extern CMsgSource2SystemSpecsDefaultTypeInternal _CMsgSource2SystemSpecs_default_instance_; -class CMsgSource2VProfLiteReport; -struct CMsgSource2VProfLiteReportDefaultTypeInternal; -extern CMsgSource2VProfLiteReportDefaultTypeInternal _CMsgSource2VProfLiteReport_default_instance_; -class CMsgSource2VProfLiteReportItem; -struct CMsgSource2VProfLiteReportItemDefaultTypeInternal; -extern CMsgSource2VProfLiteReportItemDefaultTypeInternal _CMsgSource2VProfLiteReportItem_default_instance_; -class CMsgVoiceAudio; -struct CMsgVoiceAudioDefaultTypeInternal; -extern CMsgVoiceAudioDefaultTypeInternal _CMsgVoiceAudio_default_instance_; -class CSVCMsg_BSPDecal; -struct CSVCMsg_BSPDecalDefaultTypeInternal; -extern CSVCMsg_BSPDecalDefaultTypeInternal _CSVCMsg_BSPDecal_default_instance_; -class CSVCMsg_Broadcast_Command; -struct CSVCMsg_Broadcast_CommandDefaultTypeInternal; -extern CSVCMsg_Broadcast_CommandDefaultTypeInternal _CSVCMsg_Broadcast_Command_default_instance_; -class CSVCMsg_ClassInfo; -struct CSVCMsg_ClassInfoDefaultTypeInternal; -extern CSVCMsg_ClassInfoDefaultTypeInternal _CSVCMsg_ClassInfo_default_instance_; -class CSVCMsg_ClassInfo_class_t; -struct CSVCMsg_ClassInfo_class_tDefaultTypeInternal; -extern CSVCMsg_ClassInfo_class_tDefaultTypeInternal _CSVCMsg_ClassInfo_class_t_default_instance_; -class CSVCMsg_ClearAllStringTables; -struct CSVCMsg_ClearAllStringTablesDefaultTypeInternal; -extern CSVCMsg_ClearAllStringTablesDefaultTypeInternal _CSVCMsg_ClearAllStringTables_default_instance_; -class CSVCMsg_CmdKeyValues; -struct CSVCMsg_CmdKeyValuesDefaultTypeInternal; -extern CSVCMsg_CmdKeyValuesDefaultTypeInternal _CSVCMsg_CmdKeyValues_default_instance_; -class CSVCMsg_CreateStringTable; -struct CSVCMsg_CreateStringTableDefaultTypeInternal; -extern CSVCMsg_CreateStringTableDefaultTypeInternal _CSVCMsg_CreateStringTable_default_instance_; -class CSVCMsg_CrosshairAngle; -struct CSVCMsg_CrosshairAngleDefaultTypeInternal; -extern CSVCMsg_CrosshairAngleDefaultTypeInternal _CSVCMsg_CrosshairAngle_default_instance_; -class CSVCMsg_FixAngle; -struct CSVCMsg_FixAngleDefaultTypeInternal; -extern CSVCMsg_FixAngleDefaultTypeInternal _CSVCMsg_FixAngle_default_instance_; -class CSVCMsg_FlattenedSerializer; -struct CSVCMsg_FlattenedSerializerDefaultTypeInternal; -extern CSVCMsg_FlattenedSerializerDefaultTypeInternal _CSVCMsg_FlattenedSerializer_default_instance_; -class CSVCMsg_FullFrameSplit; -struct CSVCMsg_FullFrameSplitDefaultTypeInternal; -extern CSVCMsg_FullFrameSplitDefaultTypeInternal _CSVCMsg_FullFrameSplit_default_instance_; -class CSVCMsg_GameEventList; -struct CSVCMsg_GameEventListDefaultTypeInternal; -extern CSVCMsg_GameEventListDefaultTypeInternal _CSVCMsg_GameEventList_default_instance_; -class CSVCMsg_GameEventList_descriptor_t; -struct CSVCMsg_GameEventList_descriptor_tDefaultTypeInternal; -extern CSVCMsg_GameEventList_descriptor_tDefaultTypeInternal _CSVCMsg_GameEventList_descriptor_t_default_instance_; -class CSVCMsg_GameEventList_key_t; -struct CSVCMsg_GameEventList_key_tDefaultTypeInternal; -extern CSVCMsg_GameEventList_key_tDefaultTypeInternal _CSVCMsg_GameEventList_key_t_default_instance_; -class CSVCMsg_GetCvarValue; -struct CSVCMsg_GetCvarValueDefaultTypeInternal; -extern CSVCMsg_GetCvarValueDefaultTypeInternal _CSVCMsg_GetCvarValue_default_instance_; -class CSVCMsg_HLTVStatus; -struct CSVCMsg_HLTVStatusDefaultTypeInternal; -extern CSVCMsg_HLTVStatusDefaultTypeInternal _CSVCMsg_HLTVStatus_default_instance_; -class CSVCMsg_HltvFixupOperatorStatus; -struct CSVCMsg_HltvFixupOperatorStatusDefaultTypeInternal; -extern CSVCMsg_HltvFixupOperatorStatusDefaultTypeInternal _CSVCMsg_HltvFixupOperatorStatus_default_instance_; -class CSVCMsg_HltvReplay; -struct CSVCMsg_HltvReplayDefaultTypeInternal; -extern CSVCMsg_HltvReplayDefaultTypeInternal _CSVCMsg_HltvReplay_default_instance_; -class CSVCMsg_Menu; -struct CSVCMsg_MenuDefaultTypeInternal; -extern CSVCMsg_MenuDefaultTypeInternal _CSVCMsg_Menu_default_instance_; -class CSVCMsg_PacketEntities; -struct CSVCMsg_PacketEntitiesDefaultTypeInternal; -extern CSVCMsg_PacketEntitiesDefaultTypeInternal _CSVCMsg_PacketEntities_default_instance_; -class CSVCMsg_PacketEntities_alternate_baseline_t; -struct CSVCMsg_PacketEntities_alternate_baseline_tDefaultTypeInternal; -extern CSVCMsg_PacketEntities_alternate_baseline_tDefaultTypeInternal _CSVCMsg_PacketEntities_alternate_baseline_t_default_instance_; -class CSVCMsg_PacketEntities_non_transmitted_entities_t; -struct CSVCMsg_PacketEntities_non_transmitted_entities_tDefaultTypeInternal; -extern CSVCMsg_PacketEntities_non_transmitted_entities_tDefaultTypeInternal _CSVCMsg_PacketEntities_non_transmitted_entities_t_default_instance_; -class CSVCMsg_PacketEntities_outofpvs_entity_updates_t; -struct CSVCMsg_PacketEntities_outofpvs_entity_updates_tDefaultTypeInternal; -extern CSVCMsg_PacketEntities_outofpvs_entity_updates_tDefaultTypeInternal _CSVCMsg_PacketEntities_outofpvs_entity_updates_t_default_instance_; -class CSVCMsg_PacketReliable; -struct CSVCMsg_PacketReliableDefaultTypeInternal; -extern CSVCMsg_PacketReliableDefaultTypeInternal _CSVCMsg_PacketReliable_default_instance_; -class CSVCMsg_PeerList; -struct CSVCMsg_PeerListDefaultTypeInternal; -extern CSVCMsg_PeerListDefaultTypeInternal _CSVCMsg_PeerList_default_instance_; -class CSVCMsg_Prefetch; -struct CSVCMsg_PrefetchDefaultTypeInternal; -extern CSVCMsg_PrefetchDefaultTypeInternal _CSVCMsg_Prefetch_default_instance_; -class CSVCMsg_Print; -struct CSVCMsg_PrintDefaultTypeInternal; -extern CSVCMsg_PrintDefaultTypeInternal _CSVCMsg_Print_default_instance_; -class CSVCMsg_RconServerDetails; -struct CSVCMsg_RconServerDetailsDefaultTypeInternal; -extern CSVCMsg_RconServerDetailsDefaultTypeInternal _CSVCMsg_RconServerDetails_default_instance_; -class CSVCMsg_SendTable; -struct CSVCMsg_SendTableDefaultTypeInternal; -extern CSVCMsg_SendTableDefaultTypeInternal _CSVCMsg_SendTable_default_instance_; -class CSVCMsg_SendTable_sendprop_t; -struct CSVCMsg_SendTable_sendprop_tDefaultTypeInternal; -extern CSVCMsg_SendTable_sendprop_tDefaultTypeInternal _CSVCMsg_SendTable_sendprop_t_default_instance_; -class CSVCMsg_ServerInfo; -struct CSVCMsg_ServerInfoDefaultTypeInternal; -extern CSVCMsg_ServerInfoDefaultTypeInternal _CSVCMsg_ServerInfo_default_instance_; -class CSVCMsg_ServerSteamID; -struct CSVCMsg_ServerSteamIDDefaultTypeInternal; -extern CSVCMsg_ServerSteamIDDefaultTypeInternal _CSVCMsg_ServerSteamID_default_instance_; -class CSVCMsg_SetPause; -struct CSVCMsg_SetPauseDefaultTypeInternal; -extern CSVCMsg_SetPauseDefaultTypeInternal _CSVCMsg_SetPause_default_instance_; -class CSVCMsg_SetView; -struct CSVCMsg_SetViewDefaultTypeInternal; -extern CSVCMsg_SetViewDefaultTypeInternal _CSVCMsg_SetView_default_instance_; -class CSVCMsg_Sounds; -struct CSVCMsg_SoundsDefaultTypeInternal; -extern CSVCMsg_SoundsDefaultTypeInternal _CSVCMsg_Sounds_default_instance_; -class CSVCMsg_Sounds_sounddata_t; -struct CSVCMsg_Sounds_sounddata_tDefaultTypeInternal; -extern CSVCMsg_Sounds_sounddata_tDefaultTypeInternal _CSVCMsg_Sounds_sounddata_t_default_instance_; -class CSVCMsg_SplitScreen; -struct CSVCMsg_SplitScreenDefaultTypeInternal; -extern CSVCMsg_SplitScreenDefaultTypeInternal _CSVCMsg_SplitScreen_default_instance_; -class CSVCMsg_StopSound; -struct CSVCMsg_StopSoundDefaultTypeInternal; -extern CSVCMsg_StopSoundDefaultTypeInternal _CSVCMsg_StopSound_default_instance_; -class CSVCMsg_TempEntities; -struct CSVCMsg_TempEntitiesDefaultTypeInternal; -extern CSVCMsg_TempEntitiesDefaultTypeInternal _CSVCMsg_TempEntities_default_instance_; -class CSVCMsg_UpdateStringTable; -struct CSVCMsg_UpdateStringTableDefaultTypeInternal; -extern CSVCMsg_UpdateStringTableDefaultTypeInternal _CSVCMsg_UpdateStringTable_default_instance_; -class CSVCMsg_UserCommands; -struct CSVCMsg_UserCommandsDefaultTypeInternal; -extern CSVCMsg_UserCommandsDefaultTypeInternal _CSVCMsg_UserCommands_default_instance_; -class CSVCMsg_UserMessage; -struct CSVCMsg_UserMessageDefaultTypeInternal; -extern CSVCMsg_UserMessageDefaultTypeInternal _CSVCMsg_UserMessage_default_instance_; -class CSVCMsg_VoiceData; -struct CSVCMsg_VoiceDataDefaultTypeInternal; -extern CSVCMsg_VoiceDataDefaultTypeInternal _CSVCMsg_VoiceData_default_instance_; -class CSVCMsg_VoiceInit; -struct CSVCMsg_VoiceInitDefaultTypeInternal; -extern CSVCMsg_VoiceInitDefaultTypeInternal _CSVCMsg_VoiceInit_default_instance_; -class CSource2Metrics_MatchPerfSummary_Notification; -struct CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal; -extern CSource2Metrics_MatchPerfSummary_NotificationDefaultTypeInternal _CSource2Metrics_MatchPerfSummary_Notification_default_instance_; -class CSource2Metrics_MatchPerfSummary_Notification_Client; -struct CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal; -extern CSource2Metrics_MatchPerfSummary_Notification_ClientDefaultTypeInternal _CSource2Metrics_MatchPerfSummary_Notification_Client_default_instance_; -class ProtoFlattenedSerializerField_t; -struct ProtoFlattenedSerializerField_tDefaultTypeInternal; -extern ProtoFlattenedSerializerField_tDefaultTypeInternal _ProtoFlattenedSerializerField_t_default_instance_; -class ProtoFlattenedSerializerField_t_polymorphic_field_t; -struct ProtoFlattenedSerializerField_t_polymorphic_field_tDefaultTypeInternal; -extern ProtoFlattenedSerializerField_t_polymorphic_field_tDefaultTypeInternal _ProtoFlattenedSerializerField_t_polymorphic_field_t_default_instance_; -class ProtoFlattenedSerializer_t; -struct ProtoFlattenedSerializer_tDefaultTypeInternal; -extern ProtoFlattenedSerializer_tDefaultTypeInternal _ProtoFlattenedSerializer_t_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CBidirMsg_PredictionEvent* Arena::CreateMaybeMessage<::CBidirMsg_PredictionEvent>(Arena*); -template<> ::CBidirMsg_RebroadcastGameEvent* Arena::CreateMaybeMessage<::CBidirMsg_RebroadcastGameEvent>(Arena*); -template<> ::CBidirMsg_RebroadcastSource* Arena::CreateMaybeMessage<::CBidirMsg_RebroadcastSource>(Arena*); -template<> ::CCLCMsg_BaselineAck* Arena::CreateMaybeMessage<::CCLCMsg_BaselineAck>(Arena*); -template<> ::CCLCMsg_ClientInfo* Arena::CreateMaybeMessage<::CCLCMsg_ClientInfo>(Arena*); -template<> ::CCLCMsg_CmdKeyValues* Arena::CreateMaybeMessage<::CCLCMsg_CmdKeyValues>(Arena*); -template<> ::CCLCMsg_Diagnostic* Arena::CreateMaybeMessage<::CCLCMsg_Diagnostic>(Arena*); -template<> ::CCLCMsg_HltvFixupOperatorTick* Arena::CreateMaybeMessage<::CCLCMsg_HltvFixupOperatorTick>(Arena*); -template<> ::CCLCMsg_HltvReplay* Arena::CreateMaybeMessage<::CCLCMsg_HltvReplay>(Arena*); -template<> ::CCLCMsg_ListenEvents* Arena::CreateMaybeMessage<::CCLCMsg_ListenEvents>(Arena*); -template<> ::CCLCMsg_LoadingProgress* Arena::CreateMaybeMessage<::CCLCMsg_LoadingProgress>(Arena*); -template<> ::CCLCMsg_Move* Arena::CreateMaybeMessage<::CCLCMsg_Move>(Arena*); -template<> ::CCLCMsg_RconServerDetails* Arena::CreateMaybeMessage<::CCLCMsg_RconServerDetails>(Arena*); -template<> ::CCLCMsg_RequestPause* Arena::CreateMaybeMessage<::CCLCMsg_RequestPause>(Arena*); -template<> ::CCLCMsg_RespondCvarValue* Arena::CreateMaybeMessage<::CCLCMsg_RespondCvarValue>(Arena*); -template<> ::CCLCMsg_ServerStatus* Arena::CreateMaybeMessage<::CCLCMsg_ServerStatus>(Arena*); -template<> ::CCLCMsg_SplitPlayerConnect* Arena::CreateMaybeMessage<::CCLCMsg_SplitPlayerConnect>(Arena*); -template<> ::CCLCMsg_SplitPlayerDisconnect* Arena::CreateMaybeMessage<::CCLCMsg_SplitPlayerDisconnect>(Arena*); -template<> ::CCLCMsg_VoiceData* Arena::CreateMaybeMessage<::CCLCMsg_VoiceData>(Arena*); -template<> ::CMsgIPCAddress* Arena::CreateMaybeMessage<::CMsgIPCAddress>(Arena*); -template<> ::CMsgServerNetworkStats* Arena::CreateMaybeMessage<::CMsgServerNetworkStats>(Arena*); -template<> ::CMsgServerNetworkStats_Player* Arena::CreateMaybeMessage<::CMsgServerNetworkStats_Player>(Arena*); -template<> ::CMsgServerNetworkStats_Port* Arena::CreateMaybeMessage<::CMsgServerNetworkStats_Port>(Arena*); -template<> ::CMsgServerPeer* Arena::CreateMaybeMessage<::CMsgServerPeer>(Arena*); -template<> ::CMsgServerUserCmd* Arena::CreateMaybeMessage<::CMsgServerUserCmd>(Arena*); -template<> ::CMsgSource2NetworkFlowQuality* Arena::CreateMaybeMessage<::CMsgSource2NetworkFlowQuality>(Arena*); -template<> ::CMsgSource2PerfIntervalSample* Arena::CreateMaybeMessage<::CMsgSource2PerfIntervalSample>(Arena*); -template<> ::CMsgSource2PerfIntervalSample_Tag* Arena::CreateMaybeMessage<::CMsgSource2PerfIntervalSample_Tag>(Arena*); -template<> ::CMsgSource2SystemSpecs* Arena::CreateMaybeMessage<::CMsgSource2SystemSpecs>(Arena*); -template<> ::CMsgSource2VProfLiteReport* Arena::CreateMaybeMessage<::CMsgSource2VProfLiteReport>(Arena*); -template<> ::CMsgSource2VProfLiteReportItem* Arena::CreateMaybeMessage<::CMsgSource2VProfLiteReportItem>(Arena*); -template<> ::CMsgVoiceAudio* Arena::CreateMaybeMessage<::CMsgVoiceAudio>(Arena*); -template<> ::CSVCMsg_BSPDecal* Arena::CreateMaybeMessage<::CSVCMsg_BSPDecal>(Arena*); -template<> ::CSVCMsg_Broadcast_Command* Arena::CreateMaybeMessage<::CSVCMsg_Broadcast_Command>(Arena*); -template<> ::CSVCMsg_ClassInfo* Arena::CreateMaybeMessage<::CSVCMsg_ClassInfo>(Arena*); -template<> ::CSVCMsg_ClassInfo_class_t* Arena::CreateMaybeMessage<::CSVCMsg_ClassInfo_class_t>(Arena*); -template<> ::CSVCMsg_ClearAllStringTables* Arena::CreateMaybeMessage<::CSVCMsg_ClearAllStringTables>(Arena*); -template<> ::CSVCMsg_CmdKeyValues* Arena::CreateMaybeMessage<::CSVCMsg_CmdKeyValues>(Arena*); -template<> ::CSVCMsg_CreateStringTable* Arena::CreateMaybeMessage<::CSVCMsg_CreateStringTable>(Arena*); -template<> ::CSVCMsg_CrosshairAngle* Arena::CreateMaybeMessage<::CSVCMsg_CrosshairAngle>(Arena*); -template<> ::CSVCMsg_FixAngle* Arena::CreateMaybeMessage<::CSVCMsg_FixAngle>(Arena*); -template<> ::CSVCMsg_FlattenedSerializer* Arena::CreateMaybeMessage<::CSVCMsg_FlattenedSerializer>(Arena*); -template<> ::CSVCMsg_FullFrameSplit* Arena::CreateMaybeMessage<::CSVCMsg_FullFrameSplit>(Arena*); -template<> ::CSVCMsg_GameEventList* Arena::CreateMaybeMessage<::CSVCMsg_GameEventList>(Arena*); -template<> ::CSVCMsg_GameEventList_descriptor_t* Arena::CreateMaybeMessage<::CSVCMsg_GameEventList_descriptor_t>(Arena*); -template<> ::CSVCMsg_GameEventList_key_t* Arena::CreateMaybeMessage<::CSVCMsg_GameEventList_key_t>(Arena*); -template<> ::CSVCMsg_GetCvarValue* Arena::CreateMaybeMessage<::CSVCMsg_GetCvarValue>(Arena*); -template<> ::CSVCMsg_HLTVStatus* Arena::CreateMaybeMessage<::CSVCMsg_HLTVStatus>(Arena*); -template<> ::CSVCMsg_HltvFixupOperatorStatus* Arena::CreateMaybeMessage<::CSVCMsg_HltvFixupOperatorStatus>(Arena*); -template<> ::CSVCMsg_HltvReplay* Arena::CreateMaybeMessage<::CSVCMsg_HltvReplay>(Arena*); -template<> ::CSVCMsg_Menu* Arena::CreateMaybeMessage<::CSVCMsg_Menu>(Arena*); -template<> ::CSVCMsg_PacketEntities* Arena::CreateMaybeMessage<::CSVCMsg_PacketEntities>(Arena*); -template<> ::CSVCMsg_PacketEntities_alternate_baseline_t* Arena::CreateMaybeMessage<::CSVCMsg_PacketEntities_alternate_baseline_t>(Arena*); -template<> ::CSVCMsg_PacketEntities_non_transmitted_entities_t* Arena::CreateMaybeMessage<::CSVCMsg_PacketEntities_non_transmitted_entities_t>(Arena*); -template<> ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* Arena::CreateMaybeMessage<::CSVCMsg_PacketEntities_outofpvs_entity_updates_t>(Arena*); -template<> ::CSVCMsg_PacketReliable* Arena::CreateMaybeMessage<::CSVCMsg_PacketReliable>(Arena*); -template<> ::CSVCMsg_PeerList* Arena::CreateMaybeMessage<::CSVCMsg_PeerList>(Arena*); -template<> ::CSVCMsg_Prefetch* Arena::CreateMaybeMessage<::CSVCMsg_Prefetch>(Arena*); -template<> ::CSVCMsg_Print* Arena::CreateMaybeMessage<::CSVCMsg_Print>(Arena*); -template<> ::CSVCMsg_RconServerDetails* Arena::CreateMaybeMessage<::CSVCMsg_RconServerDetails>(Arena*); -template<> ::CSVCMsg_SendTable* Arena::CreateMaybeMessage<::CSVCMsg_SendTable>(Arena*); -template<> ::CSVCMsg_SendTable_sendprop_t* Arena::CreateMaybeMessage<::CSVCMsg_SendTable_sendprop_t>(Arena*); -template<> ::CSVCMsg_ServerInfo* Arena::CreateMaybeMessage<::CSVCMsg_ServerInfo>(Arena*); -template<> ::CSVCMsg_ServerSteamID* Arena::CreateMaybeMessage<::CSVCMsg_ServerSteamID>(Arena*); -template<> ::CSVCMsg_SetPause* Arena::CreateMaybeMessage<::CSVCMsg_SetPause>(Arena*); -template<> ::CSVCMsg_SetView* Arena::CreateMaybeMessage<::CSVCMsg_SetView>(Arena*); -template<> ::CSVCMsg_Sounds* Arena::CreateMaybeMessage<::CSVCMsg_Sounds>(Arena*); -template<> ::CSVCMsg_Sounds_sounddata_t* Arena::CreateMaybeMessage<::CSVCMsg_Sounds_sounddata_t>(Arena*); -template<> ::CSVCMsg_SplitScreen* Arena::CreateMaybeMessage<::CSVCMsg_SplitScreen>(Arena*); -template<> ::CSVCMsg_StopSound* Arena::CreateMaybeMessage<::CSVCMsg_StopSound>(Arena*); -template<> ::CSVCMsg_TempEntities* Arena::CreateMaybeMessage<::CSVCMsg_TempEntities>(Arena*); -template<> ::CSVCMsg_UpdateStringTable* Arena::CreateMaybeMessage<::CSVCMsg_UpdateStringTable>(Arena*); -template<> ::CSVCMsg_UserCommands* Arena::CreateMaybeMessage<::CSVCMsg_UserCommands>(Arena*); -template<> ::CSVCMsg_UserMessage* Arena::CreateMaybeMessage<::CSVCMsg_UserMessage>(Arena*); -template<> ::CSVCMsg_VoiceData* Arena::CreateMaybeMessage<::CSVCMsg_VoiceData>(Arena*); -template<> ::CSVCMsg_VoiceInit* Arena::CreateMaybeMessage<::CSVCMsg_VoiceInit>(Arena*); -template<> ::CSource2Metrics_MatchPerfSummary_Notification* Arena::CreateMaybeMessage<::CSource2Metrics_MatchPerfSummary_Notification>(Arena*); -template<> ::CSource2Metrics_MatchPerfSummary_Notification_Client* Arena::CreateMaybeMessage<::CSource2Metrics_MatchPerfSummary_Notification_Client>(Arena*); -template<> ::ProtoFlattenedSerializerField_t* Arena::CreateMaybeMessage<::ProtoFlattenedSerializerField_t>(Arena*); -template<> ::ProtoFlattenedSerializerField_t_polymorphic_field_t* Arena::CreateMaybeMessage<::ProtoFlattenedSerializerField_t_polymorphic_field_t>(Arena*); -template<> ::ProtoFlattenedSerializer_t* Arena::CreateMaybeMessage<::ProtoFlattenedSerializer_t>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum CBidirMsg_PredictionEvent_ESyncType : int { - CBidirMsg_PredictionEvent_ESyncType_ST_Tick = 0, - CBidirMsg_PredictionEvent_ESyncType_ST_UserCmdNum = 1 -}; -bool CBidirMsg_PredictionEvent_ESyncType_IsValid(int value); -constexpr CBidirMsg_PredictionEvent_ESyncType CBidirMsg_PredictionEvent_ESyncType_ESyncType_MIN = CBidirMsg_PredictionEvent_ESyncType_ST_Tick; -constexpr CBidirMsg_PredictionEvent_ESyncType CBidirMsg_PredictionEvent_ESyncType_ESyncType_MAX = CBidirMsg_PredictionEvent_ESyncType_ST_UserCmdNum; -constexpr int CBidirMsg_PredictionEvent_ESyncType_ESyncType_ARRAYSIZE = CBidirMsg_PredictionEvent_ESyncType_ESyncType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CBidirMsg_PredictionEvent_ESyncType_descriptor(); -template -inline const std::string& CBidirMsg_PredictionEvent_ESyncType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CBidirMsg_PredictionEvent_ESyncType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CBidirMsg_PredictionEvent_ESyncType_descriptor(), enum_t_value); -} -inline bool CBidirMsg_PredictionEvent_ESyncType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CBidirMsg_PredictionEvent_ESyncType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CBidirMsg_PredictionEvent_ESyncType_descriptor(), name, value); -} -enum CLC_Messages : int { - clc_ClientInfo = 20, - clc_Move = 21, - clc_VoiceData = 22, - clc_BaselineAck = 23, - clc_RespondCvarValue = 25, - clc_LoadingProgress = 27, - clc_SplitPlayerConnect = 28, - clc_SplitPlayerDisconnect = 30, - clc_ServerStatus = 31, - clc_RequestPause = 33, - clc_CmdKeyValues = 34, - clc_RconServerDetails = 35, - clc_HltvReplay = 36, - clc_Diagnostic = 37 -}; -bool CLC_Messages_IsValid(int value); -constexpr CLC_Messages CLC_Messages_MIN = clc_ClientInfo; -constexpr CLC_Messages CLC_Messages_MAX = clc_Diagnostic; -constexpr int CLC_Messages_ARRAYSIZE = CLC_Messages_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CLC_Messages_descriptor(); -template -inline const std::string& CLC_Messages_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CLC_Messages_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CLC_Messages_descriptor(), enum_t_value); -} -inline bool CLC_Messages_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CLC_Messages* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CLC_Messages_descriptor(), name, value); -} -enum SVC_Messages : int { - svc_ServerInfo = 40, - svc_FlattenedSerializer = 41, - svc_ClassInfo = 42, - svc_SetPause = 43, - svc_CreateStringTable = 44, - svc_UpdateStringTable = 45, - svc_VoiceInit = 46, - svc_VoiceData = 47, - svc_Print = 48, - svc_Sounds = 49, - svc_SetView = 50, - svc_ClearAllStringTables = 51, - svc_CmdKeyValues = 52, - svc_BSPDecal = 53, - svc_SplitScreen = 54, - svc_PacketEntities = 55, - svc_Prefetch = 56, - svc_Menu = 57, - svc_GetCvarValue = 58, - svc_StopSound = 59, - svc_PeerList = 60, - svc_PacketReliable = 61, - svc_HLTVStatus = 62, - svc_ServerSteamID = 63, - svc_FullFrameSplit = 70, - svc_RconServerDetails = 71, - svc_UserMessage = 72, - svc_Broadcast_Command = 74, - svc_HltvFixupOperatorStatus = 75, - svc_UserCmds = 76 -}; -bool SVC_Messages_IsValid(int value); -constexpr SVC_Messages SVC_Messages_MIN = svc_ServerInfo; -constexpr SVC_Messages SVC_Messages_MAX = svc_UserCmds; -constexpr int SVC_Messages_ARRAYSIZE = SVC_Messages_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SVC_Messages_descriptor(); -template -inline const std::string& SVC_Messages_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function SVC_Messages_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - SVC_Messages_descriptor(), enum_t_value); -} -inline bool SVC_Messages_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SVC_Messages* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - SVC_Messages_descriptor(), name, value); -} -enum VoiceDataFormat_t : int { - VOICEDATA_FORMAT_STEAM = 0, - VOICEDATA_FORMAT_ENGINE = 1, - VOICEDATA_FORMAT_OPUS = 2 -}; -bool VoiceDataFormat_t_IsValid(int value); -constexpr VoiceDataFormat_t VoiceDataFormat_t_MIN = VOICEDATA_FORMAT_STEAM; -constexpr VoiceDataFormat_t VoiceDataFormat_t_MAX = VOICEDATA_FORMAT_OPUS; -constexpr int VoiceDataFormat_t_ARRAYSIZE = VoiceDataFormat_t_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VoiceDataFormat_t_descriptor(); -template -inline const std::string& VoiceDataFormat_t_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function VoiceDataFormat_t_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - VoiceDataFormat_t_descriptor(), enum_t_value); -} -inline bool VoiceDataFormat_t_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VoiceDataFormat_t* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - VoiceDataFormat_t_descriptor(), name, value); -} -enum RequestPause_t : int { - RP_PAUSE = 0, - RP_UNPAUSE = 1, - RP_TOGGLEPAUSE = 2 -}; -bool RequestPause_t_IsValid(int value); -constexpr RequestPause_t RequestPause_t_MIN = RP_PAUSE; -constexpr RequestPause_t RequestPause_t_MAX = RP_TOGGLEPAUSE; -constexpr int RequestPause_t_ARRAYSIZE = RequestPause_t_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* RequestPause_t_descriptor(); -template -inline const std::string& RequestPause_t_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function RequestPause_t_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - RequestPause_t_descriptor(), enum_t_value); -} -inline bool RequestPause_t_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RequestPause_t* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - RequestPause_t_descriptor(), name, value); -} -enum PrefetchType : int { - PFT_SOUND = 0 -}; -bool PrefetchType_IsValid(int value); -constexpr PrefetchType PrefetchType_MIN = PFT_SOUND; -constexpr PrefetchType PrefetchType_MAX = PFT_SOUND; -constexpr int PrefetchType_ARRAYSIZE = PrefetchType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PrefetchType_descriptor(); -template -inline const std::string& PrefetchType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function PrefetchType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - PrefetchType_descriptor(), enum_t_value); -} -inline bool PrefetchType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PrefetchType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - PrefetchType_descriptor(), name, value); -} -enum ESplitScreenMessageType : int { - MSG_SPLITSCREEN_ADDUSER = 0, - MSG_SPLITSCREEN_REMOVEUSER = 1 -}; -bool ESplitScreenMessageType_IsValid(int value); -constexpr ESplitScreenMessageType ESplitScreenMessageType_MIN = MSG_SPLITSCREEN_ADDUSER; -constexpr ESplitScreenMessageType ESplitScreenMessageType_MAX = MSG_SPLITSCREEN_REMOVEUSER; -constexpr int ESplitScreenMessageType_ARRAYSIZE = ESplitScreenMessageType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESplitScreenMessageType_descriptor(); -template -inline const std::string& ESplitScreenMessageType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ESplitScreenMessageType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ESplitScreenMessageType_descriptor(), enum_t_value); -} -inline bool ESplitScreenMessageType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ESplitScreenMessageType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ESplitScreenMessageType_descriptor(), name, value); -} -enum EQueryCvarValueStatus : int { - eQueryCvarValueStatus_ValueIntact = 0, - eQueryCvarValueStatus_CvarNotFound = 1, - eQueryCvarValueStatus_NotACvar = 2, - eQueryCvarValueStatus_CvarProtected = 3 -}; -bool EQueryCvarValueStatus_IsValid(int value); -constexpr EQueryCvarValueStatus EQueryCvarValueStatus_MIN = eQueryCvarValueStatus_ValueIntact; -constexpr EQueryCvarValueStatus EQueryCvarValueStatus_MAX = eQueryCvarValueStatus_CvarProtected; -constexpr int EQueryCvarValueStatus_ARRAYSIZE = EQueryCvarValueStatus_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EQueryCvarValueStatus_descriptor(); -template -inline const std::string& EQueryCvarValueStatus_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EQueryCvarValueStatus_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EQueryCvarValueStatus_descriptor(), enum_t_value); -} -inline bool EQueryCvarValueStatus_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EQueryCvarValueStatus* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EQueryCvarValueStatus_descriptor(), name, value); -} -enum DIALOG_TYPE : int { - DIALOG_MSG = 0, - DIALOG_MENU = 1, - DIALOG_TEXT = 2, - DIALOG_ENTRY = 3, - DIALOG_ASKCONNECT = 4 -}; -bool DIALOG_TYPE_IsValid(int value); -constexpr DIALOG_TYPE DIALOG_TYPE_MIN = DIALOG_MSG; -constexpr DIALOG_TYPE DIALOG_TYPE_MAX = DIALOG_ASKCONNECT; -constexpr int DIALOG_TYPE_ARRAYSIZE = DIALOG_TYPE_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DIALOG_TYPE_descriptor(); -template -inline const std::string& DIALOG_TYPE_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function DIALOG_TYPE_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - DIALOG_TYPE_descriptor(), enum_t_value); -} -inline bool DIALOG_TYPE_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DIALOG_TYPE* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - DIALOG_TYPE_descriptor(), name, value); -} -enum SVC_Messages_LowFrequency : int { - svc_dummy = 600 -}; -bool SVC_Messages_LowFrequency_IsValid(int value); -constexpr SVC_Messages_LowFrequency SVC_Messages_LowFrequency_MIN = svc_dummy; -constexpr SVC_Messages_LowFrequency SVC_Messages_LowFrequency_MAX = svc_dummy; -constexpr int SVC_Messages_LowFrequency_ARRAYSIZE = SVC_Messages_LowFrequency_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SVC_Messages_LowFrequency_descriptor(); -template -inline const std::string& SVC_Messages_LowFrequency_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function SVC_Messages_LowFrequency_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - SVC_Messages_LowFrequency_descriptor(), enum_t_value); -} -inline bool SVC_Messages_LowFrequency_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SVC_Messages_LowFrequency* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - SVC_Messages_LowFrequency_descriptor(), name, value); -} -enum Bidirectional_Messages : int { - bi_RebroadcastGameEvent = 16, - bi_RebroadcastSource = 17, - bi_GameEvent = 18, - bi_PredictionEvent = 19 -}; -bool Bidirectional_Messages_IsValid(int value); -constexpr Bidirectional_Messages Bidirectional_Messages_MIN = bi_RebroadcastGameEvent; -constexpr Bidirectional_Messages Bidirectional_Messages_MAX = bi_PredictionEvent; -constexpr int Bidirectional_Messages_ARRAYSIZE = Bidirectional_Messages_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Bidirectional_Messages_descriptor(); -template -inline const std::string& Bidirectional_Messages_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Bidirectional_Messages_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - Bidirectional_Messages_descriptor(), enum_t_value); -} -inline bool Bidirectional_Messages_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Bidirectional_Messages* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - Bidirectional_Messages_descriptor(), name, value); -} -enum Bidirectional_Messages_LowFrequency : int { - bi_RelayInfo = 700, - bi_RelayPacket = 701 -}; -bool Bidirectional_Messages_LowFrequency_IsValid(int value); -constexpr Bidirectional_Messages_LowFrequency Bidirectional_Messages_LowFrequency_MIN = bi_RelayInfo; -constexpr Bidirectional_Messages_LowFrequency Bidirectional_Messages_LowFrequency_MAX = bi_RelayPacket; -constexpr int Bidirectional_Messages_LowFrequency_ARRAYSIZE = Bidirectional_Messages_LowFrequency_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Bidirectional_Messages_LowFrequency_descriptor(); -template -inline const std::string& Bidirectional_Messages_LowFrequency_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Bidirectional_Messages_LowFrequency_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - Bidirectional_Messages_LowFrequency_descriptor(), enum_t_value); -} -inline bool Bidirectional_Messages_LowFrequency_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Bidirectional_Messages_LowFrequency* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - Bidirectional_Messages_LowFrequency_descriptor(), name, value); -} -enum ReplayEventType_t : int { - REPLAY_EVENT_CANCEL = 0, - REPLAY_EVENT_DEATH = 1, - REPLAY_EVENT_GENERIC = 2, - REPLAY_EVENT_STUCK_NEED_FULL_UPDATE = 3, - REPLAY_EVENT_VICTORY = 4 -}; -bool ReplayEventType_t_IsValid(int value); -constexpr ReplayEventType_t ReplayEventType_t_MIN = REPLAY_EVENT_CANCEL; -constexpr ReplayEventType_t ReplayEventType_t_MAX = REPLAY_EVENT_VICTORY; -constexpr int ReplayEventType_t_ARRAYSIZE = ReplayEventType_t_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ReplayEventType_t_descriptor(); -template -inline const std::string& ReplayEventType_t_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ReplayEventType_t_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ReplayEventType_t_descriptor(), enum_t_value); -} -inline bool ReplayEventType_t_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReplayEventType_t* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ReplayEventType_t_descriptor(), name, value); -} -// =================================================================== - -class CCLCMsg_ClientInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_ClientInfo) */ { - public: - inline CCLCMsg_ClientInfo() : CCLCMsg_ClientInfo(nullptr) {} - ~CCLCMsg_ClientInfo() override; - explicit PROTOBUF_CONSTEXPR CCLCMsg_ClientInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCLCMsg_ClientInfo(const CCLCMsg_ClientInfo& from); - CCLCMsg_ClientInfo(CCLCMsg_ClientInfo&& from) noexcept - : CCLCMsg_ClientInfo() { - *this = ::std::move(from); - } - - inline CCLCMsg_ClientInfo& operator=(const CCLCMsg_ClientInfo& from) { - CopyFrom(from); - return *this; - } - inline CCLCMsg_ClientInfo& operator=(CCLCMsg_ClientInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCLCMsg_ClientInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CCLCMsg_ClientInfo* internal_default_instance() { - return reinterpret_cast( - &_CCLCMsg_ClientInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CCLCMsg_ClientInfo& a, CCLCMsg_ClientInfo& b) { - a.Swap(&b); - } - inline void Swap(CCLCMsg_ClientInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCLCMsg_ClientInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCLCMsg_ClientInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCLCMsg_ClientInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCLCMsg_ClientInfo& from) { - CCLCMsg_ClientInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCLCMsg_ClientInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCLCMsg_ClientInfo"; - } - protected: - explicit CCLCMsg_ClientInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFriendsNameFieldNumber = 6, - kSendTableCrcFieldNumber = 1, - kServerCountFieldNumber = 2, - kIsHltvFieldNumber = 3, - kFriendsIdFieldNumber = 5, - }; - // optional string friends_name = 6; - bool has_friends_name() const; - private: - bool _internal_has_friends_name() const; - public: - void clear_friends_name(); - const std::string& friends_name() const; - template - void set_friends_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_friends_name(); - PROTOBUF_NODISCARD std::string* release_friends_name(); - void set_allocated_friends_name(std::string* friends_name); - private: - const std::string& _internal_friends_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_friends_name(const std::string& value); - std::string* _internal_mutable_friends_name(); - public: - - // optional fixed32 send_table_crc = 1; - bool has_send_table_crc() const; - private: - bool _internal_has_send_table_crc() const; - public: - void clear_send_table_crc(); - uint32_t send_table_crc() const; - void set_send_table_crc(uint32_t value); - private: - uint32_t _internal_send_table_crc() const; - void _internal_set_send_table_crc(uint32_t value); - public: - - // optional uint32 server_count = 2; - bool has_server_count() const; - private: - bool _internal_has_server_count() const; - public: - void clear_server_count(); - uint32_t server_count() const; - void set_server_count(uint32_t value); - private: - uint32_t _internal_server_count() const; - void _internal_set_server_count(uint32_t value); - public: - - // optional bool is_hltv = 3; - bool has_is_hltv() const; - private: - bool _internal_has_is_hltv() const; - public: - void clear_is_hltv(); - bool is_hltv() const; - void set_is_hltv(bool value); - private: - bool _internal_is_hltv() const; - void _internal_set_is_hltv(bool value); - public: - - // optional uint32 friends_id = 5; - bool has_friends_id() const; - private: - bool _internal_has_friends_id() const; - public: - void clear_friends_id(); - uint32_t friends_id() const; - void set_friends_id(uint32_t value); - private: - uint32_t _internal_friends_id() const; - void _internal_set_friends_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCLCMsg_ClientInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr friends_name_; - uint32_t send_table_crc_; - uint32_t server_count_; - bool is_hltv_; - uint32_t friends_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCLCMsg_Move : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_Move) */ { - public: - inline CCLCMsg_Move() : CCLCMsg_Move(nullptr) {} - ~CCLCMsg_Move() override; - explicit PROTOBUF_CONSTEXPR CCLCMsg_Move(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCLCMsg_Move(const CCLCMsg_Move& from); - CCLCMsg_Move(CCLCMsg_Move&& from) noexcept - : CCLCMsg_Move() { - *this = ::std::move(from); - } - - inline CCLCMsg_Move& operator=(const CCLCMsg_Move& from) { - CopyFrom(from); - return *this; - } - inline CCLCMsg_Move& operator=(CCLCMsg_Move&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCLCMsg_Move& default_instance() { - return *internal_default_instance(); - } - static inline const CCLCMsg_Move* internal_default_instance() { - return reinterpret_cast( - &_CCLCMsg_Move_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CCLCMsg_Move& a, CCLCMsg_Move& b) { - a.Swap(&b); - } - inline void Swap(CCLCMsg_Move* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCLCMsg_Move* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCLCMsg_Move* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCLCMsg_Move& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCLCMsg_Move& from) { - CCLCMsg_Move::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCLCMsg_Move* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCLCMsg_Move"; - } - protected: - explicit CCLCMsg_Move(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 3, - kLastCommandNumberFieldNumber = 4, - }; - // optional bytes data = 3; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // optional uint32 last_command_number = 4; - bool has_last_command_number() const; - private: - bool _internal_has_last_command_number() const; - public: - void clear_last_command_number(); - uint32_t last_command_number() const; - void set_last_command_number(uint32_t value); - private: - uint32_t _internal_last_command_number() const; - void _internal_set_last_command_number(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCLCMsg_Move) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - uint32_t last_command_number_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgVoiceAudio : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgVoiceAudio) */ { - public: - inline CMsgVoiceAudio() : CMsgVoiceAudio(nullptr) {} - ~CMsgVoiceAudio() override; - explicit PROTOBUF_CONSTEXPR CMsgVoiceAudio(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgVoiceAudio(const CMsgVoiceAudio& from); - CMsgVoiceAudio(CMsgVoiceAudio&& from) noexcept - : CMsgVoiceAudio() { - *this = ::std::move(from); - } - - inline CMsgVoiceAudio& operator=(const CMsgVoiceAudio& from) { - CopyFrom(from); - return *this; - } - inline CMsgVoiceAudio& operator=(CMsgVoiceAudio&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgVoiceAudio& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgVoiceAudio* internal_default_instance() { - return reinterpret_cast( - &_CMsgVoiceAudio_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CMsgVoiceAudio& a, CMsgVoiceAudio& b) { - a.Swap(&b); - } - inline void Swap(CMsgVoiceAudio* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgVoiceAudio* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgVoiceAudio* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgVoiceAudio& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgVoiceAudio& from) { - CMsgVoiceAudio::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgVoiceAudio* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgVoiceAudio"; - } - protected: - explicit CMsgVoiceAudio(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPacketOffsetsFieldNumber = 8, - kVoiceDataFieldNumber = 2, - kFormatFieldNumber = 1, - kSequenceBytesFieldNumber = 3, - kSectionNumberFieldNumber = 4, - kSampleRateFieldNumber = 5, - kUncompressedSampleOffsetFieldNumber = 6, - kNumPacketsFieldNumber = 7, - kVoiceLevelFieldNumber = 9, - }; - // repeated uint32 packet_offsets = 8 [packed = true]; - int packet_offsets_size() const; - private: - int _internal_packet_offsets_size() const; - public: - void clear_packet_offsets(); - private: - uint32_t _internal_packet_offsets(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_packet_offsets() const; - void _internal_add_packet_offsets(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_packet_offsets(); - public: - uint32_t packet_offsets(int index) const; - void set_packet_offsets(int index, uint32_t value); - void add_packet_offsets(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - packet_offsets() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_packet_offsets(); - - // optional bytes voice_data = 2; - bool has_voice_data() const; - private: - bool _internal_has_voice_data() const; - public: - void clear_voice_data(); - const std::string& voice_data() const; - template - void set_voice_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_voice_data(); - PROTOBUF_NODISCARD std::string* release_voice_data(); - void set_allocated_voice_data(std::string* voice_data); - private: - const std::string& _internal_voice_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_voice_data(const std::string& value); - std::string* _internal_mutable_voice_data(); - public: - - // optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM]; - bool has_format() const; - private: - bool _internal_has_format() const; - public: - void clear_format(); - ::VoiceDataFormat_t format() const; - void set_format(::VoiceDataFormat_t value); - private: - ::VoiceDataFormat_t _internal_format() const; - void _internal_set_format(::VoiceDataFormat_t value); - public: - - // optional int32 sequence_bytes = 3; - bool has_sequence_bytes() const; - private: - bool _internal_has_sequence_bytes() const; - public: - void clear_sequence_bytes(); - int32_t sequence_bytes() const; - void set_sequence_bytes(int32_t value); - private: - int32_t _internal_sequence_bytes() const; - void _internal_set_sequence_bytes(int32_t value); - public: - - // optional uint32 section_number = 4; - bool has_section_number() const; - private: - bool _internal_has_section_number() const; - public: - void clear_section_number(); - uint32_t section_number() const; - void set_section_number(uint32_t value); - private: - uint32_t _internal_section_number() const; - void _internal_set_section_number(uint32_t value); - public: - - // optional uint32 sample_rate = 5; - bool has_sample_rate() const; - private: - bool _internal_has_sample_rate() const; - public: - void clear_sample_rate(); - uint32_t sample_rate() const; - void set_sample_rate(uint32_t value); - private: - uint32_t _internal_sample_rate() const; - void _internal_set_sample_rate(uint32_t value); - public: - - // optional uint32 uncompressed_sample_offset = 6; - bool has_uncompressed_sample_offset() const; - private: - bool _internal_has_uncompressed_sample_offset() const; - public: - void clear_uncompressed_sample_offset(); - uint32_t uncompressed_sample_offset() const; - void set_uncompressed_sample_offset(uint32_t value); - private: - uint32_t _internal_uncompressed_sample_offset() const; - void _internal_set_uncompressed_sample_offset(uint32_t value); - public: - - // optional uint32 num_packets = 7; - bool has_num_packets() const; - private: - bool _internal_has_num_packets() const; - public: - void clear_num_packets(); - uint32_t num_packets() const; - void set_num_packets(uint32_t value); - private: - uint32_t _internal_num_packets() const; - void _internal_set_num_packets(uint32_t value); - public: - - // optional float voice_level = 9; - bool has_voice_level() const; - private: - bool _internal_has_voice_level() const; - public: - void clear_voice_level(); - float voice_level() const; - void set_voice_level(float value); - private: - float _internal_voice_level() const; - void _internal_set_voice_level(float value); - public: - - // @@protoc_insertion_point(class_scope:CMsgVoiceAudio) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > packet_offsets_; - mutable std::atomic _packet_offsets_cached_byte_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr voice_data_; - int format_; - int32_t sequence_bytes_; - uint32_t section_number_; - uint32_t sample_rate_; - uint32_t uncompressed_sample_offset_; - uint32_t num_packets_; - float voice_level_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCLCMsg_VoiceData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_VoiceData) */ { - public: - inline CCLCMsg_VoiceData() : CCLCMsg_VoiceData(nullptr) {} - ~CCLCMsg_VoiceData() override; - explicit PROTOBUF_CONSTEXPR CCLCMsg_VoiceData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCLCMsg_VoiceData(const CCLCMsg_VoiceData& from); - CCLCMsg_VoiceData(CCLCMsg_VoiceData&& from) noexcept - : CCLCMsg_VoiceData() { - *this = ::std::move(from); - } - - inline CCLCMsg_VoiceData& operator=(const CCLCMsg_VoiceData& from) { - CopyFrom(from); - return *this; - } - inline CCLCMsg_VoiceData& operator=(CCLCMsg_VoiceData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCLCMsg_VoiceData& default_instance() { - return *internal_default_instance(); - } - static inline const CCLCMsg_VoiceData* internal_default_instance() { - return reinterpret_cast( - &_CCLCMsg_VoiceData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CCLCMsg_VoiceData& a, CCLCMsg_VoiceData& b) { - a.Swap(&b); - } - inline void Swap(CCLCMsg_VoiceData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCLCMsg_VoiceData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCLCMsg_VoiceData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCLCMsg_VoiceData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCLCMsg_VoiceData& from) { - CCLCMsg_VoiceData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCLCMsg_VoiceData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCLCMsg_VoiceData"; - } - protected: - explicit CCLCMsg_VoiceData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAudioFieldNumber = 1, - kXuidFieldNumber = 2, - kTickFieldNumber = 3, - }; - // optional .CMsgVoiceAudio audio = 1; - bool has_audio() const; - private: - bool _internal_has_audio() const; - public: - void clear_audio(); - const ::CMsgVoiceAudio& audio() const; - PROTOBUF_NODISCARD ::CMsgVoiceAudio* release_audio(); - ::CMsgVoiceAudio* mutable_audio(); - void set_allocated_audio(::CMsgVoiceAudio* audio); - private: - const ::CMsgVoiceAudio& _internal_audio() const; - ::CMsgVoiceAudio* _internal_mutable_audio(); - public: - void unsafe_arena_set_allocated_audio( - ::CMsgVoiceAudio* audio); - ::CMsgVoiceAudio* unsafe_arena_release_audio(); - - // optional fixed64 xuid = 2; - bool has_xuid() const; - private: - bool _internal_has_xuid() const; - public: - void clear_xuid(); - uint64_t xuid() const; - void set_xuid(uint64_t value); - private: - uint64_t _internal_xuid() const; - void _internal_set_xuid(uint64_t value); - public: - - // optional uint32 tick = 3; - bool has_tick() const; - private: - bool _internal_has_tick() const; - public: - void clear_tick(); - uint32_t tick() const; - void set_tick(uint32_t value); - private: - uint32_t _internal_tick() const; - void _internal_set_tick(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCLCMsg_VoiceData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVoiceAudio* audio_; - uint64_t xuid_; - uint32_t tick_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCLCMsg_BaselineAck : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_BaselineAck) */ { - public: - inline CCLCMsg_BaselineAck() : CCLCMsg_BaselineAck(nullptr) {} - ~CCLCMsg_BaselineAck() override; - explicit PROTOBUF_CONSTEXPR CCLCMsg_BaselineAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCLCMsg_BaselineAck(const CCLCMsg_BaselineAck& from); - CCLCMsg_BaselineAck(CCLCMsg_BaselineAck&& from) noexcept - : CCLCMsg_BaselineAck() { - *this = ::std::move(from); - } - - inline CCLCMsg_BaselineAck& operator=(const CCLCMsg_BaselineAck& from) { - CopyFrom(from); - return *this; - } - inline CCLCMsg_BaselineAck& operator=(CCLCMsg_BaselineAck&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCLCMsg_BaselineAck& default_instance() { - return *internal_default_instance(); - } - static inline const CCLCMsg_BaselineAck* internal_default_instance() { - return reinterpret_cast( - &_CCLCMsg_BaselineAck_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CCLCMsg_BaselineAck& a, CCLCMsg_BaselineAck& b) { - a.Swap(&b); - } - inline void Swap(CCLCMsg_BaselineAck* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCLCMsg_BaselineAck* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCLCMsg_BaselineAck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCLCMsg_BaselineAck& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCLCMsg_BaselineAck& from) { - CCLCMsg_BaselineAck::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCLCMsg_BaselineAck* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCLCMsg_BaselineAck"; - } - protected: - explicit CCLCMsg_BaselineAck(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBaselineTickFieldNumber = 1, - kBaselineNrFieldNumber = 2, - }; - // optional int32 baseline_tick = 1; - bool has_baseline_tick() const; - private: - bool _internal_has_baseline_tick() const; - public: - void clear_baseline_tick(); - int32_t baseline_tick() const; - void set_baseline_tick(int32_t value); - private: - int32_t _internal_baseline_tick() const; - void _internal_set_baseline_tick(int32_t value); - public: - - // optional int32 baseline_nr = 2; - bool has_baseline_nr() const; - private: - bool _internal_has_baseline_nr() const; - public: - void clear_baseline_nr(); - int32_t baseline_nr() const; - void set_baseline_nr(int32_t value); - private: - int32_t _internal_baseline_nr() const; - void _internal_set_baseline_nr(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCLCMsg_BaselineAck) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t baseline_tick_; - int32_t baseline_nr_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCLCMsg_ListenEvents : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_ListenEvents) */ { - public: - inline CCLCMsg_ListenEvents() : CCLCMsg_ListenEvents(nullptr) {} - ~CCLCMsg_ListenEvents() override; - explicit PROTOBUF_CONSTEXPR CCLCMsg_ListenEvents(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCLCMsg_ListenEvents(const CCLCMsg_ListenEvents& from); - CCLCMsg_ListenEvents(CCLCMsg_ListenEvents&& from) noexcept - : CCLCMsg_ListenEvents() { - *this = ::std::move(from); - } - - inline CCLCMsg_ListenEvents& operator=(const CCLCMsg_ListenEvents& from) { - CopyFrom(from); - return *this; - } - inline CCLCMsg_ListenEvents& operator=(CCLCMsg_ListenEvents&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCLCMsg_ListenEvents& default_instance() { - return *internal_default_instance(); - } - static inline const CCLCMsg_ListenEvents* internal_default_instance() { - return reinterpret_cast( - &_CCLCMsg_ListenEvents_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CCLCMsg_ListenEvents& a, CCLCMsg_ListenEvents& b) { - a.Swap(&b); - } - inline void Swap(CCLCMsg_ListenEvents* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCLCMsg_ListenEvents* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCLCMsg_ListenEvents* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCLCMsg_ListenEvents& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCLCMsg_ListenEvents& from) { - CCLCMsg_ListenEvents::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCLCMsg_ListenEvents* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCLCMsg_ListenEvents"; - } - protected: - explicit CCLCMsg_ListenEvents(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEventMaskFieldNumber = 1, - }; - // repeated fixed32 event_mask = 1; - int event_mask_size() const; - private: - int _internal_event_mask_size() const; - public: - void clear_event_mask(); - private: - uint32_t _internal_event_mask(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_event_mask() const; - void _internal_add_event_mask(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_event_mask(); - public: - uint32_t event_mask(int index) const; - void set_event_mask(int index, uint32_t value); - void add_event_mask(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - event_mask() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_event_mask(); - - // @@protoc_insertion_point(class_scope:CCLCMsg_ListenEvents) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > event_mask_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCLCMsg_RespondCvarValue : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_RespondCvarValue) */ { - public: - inline CCLCMsg_RespondCvarValue() : CCLCMsg_RespondCvarValue(nullptr) {} - ~CCLCMsg_RespondCvarValue() override; - explicit PROTOBUF_CONSTEXPR CCLCMsg_RespondCvarValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCLCMsg_RespondCvarValue(const CCLCMsg_RespondCvarValue& from); - CCLCMsg_RespondCvarValue(CCLCMsg_RespondCvarValue&& from) noexcept - : CCLCMsg_RespondCvarValue() { - *this = ::std::move(from); - } - - inline CCLCMsg_RespondCvarValue& operator=(const CCLCMsg_RespondCvarValue& from) { - CopyFrom(from); - return *this; - } - inline CCLCMsg_RespondCvarValue& operator=(CCLCMsg_RespondCvarValue&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCLCMsg_RespondCvarValue& default_instance() { - return *internal_default_instance(); - } - static inline const CCLCMsg_RespondCvarValue* internal_default_instance() { - return reinterpret_cast( - &_CCLCMsg_RespondCvarValue_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CCLCMsg_RespondCvarValue& a, CCLCMsg_RespondCvarValue& b) { - a.Swap(&b); - } - inline void Swap(CCLCMsg_RespondCvarValue* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCLCMsg_RespondCvarValue* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCLCMsg_RespondCvarValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCLCMsg_RespondCvarValue& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCLCMsg_RespondCvarValue& from) { - CCLCMsg_RespondCvarValue::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCLCMsg_RespondCvarValue* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCLCMsg_RespondCvarValue"; - } - protected: - explicit CCLCMsg_RespondCvarValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 3, - kValueFieldNumber = 4, - kCookieFieldNumber = 1, - kStatusCodeFieldNumber = 2, - }; - // optional string name = 3; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional string value = 4; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - const std::string& value() const; - template - void set_value(ArgT0&& arg0, ArgT... args); - std::string* mutable_value(); - PROTOBUF_NODISCARD std::string* release_value(); - void set_allocated_value(std::string* value); - private: - const std::string& _internal_value() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); - std::string* _internal_mutable_value(); - public: - - // optional int32 cookie = 1; - bool has_cookie() const; - private: - bool _internal_has_cookie() const; - public: - void clear_cookie(); - int32_t cookie() const; - void set_cookie(int32_t value); - private: - int32_t _internal_cookie() const; - void _internal_set_cookie(int32_t value); - public: - - // optional int32 status_code = 2; - bool has_status_code() const; - private: - bool _internal_has_status_code() const; - public: - void clear_status_code(); - int32_t status_code() const; - void set_status_code(int32_t value); - private: - int32_t _internal_status_code() const; - void _internal_set_status_code(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCLCMsg_RespondCvarValue) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; - int32_t cookie_; - int32_t status_code_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCLCMsg_LoadingProgress : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_LoadingProgress) */ { - public: - inline CCLCMsg_LoadingProgress() : CCLCMsg_LoadingProgress(nullptr) {} - ~CCLCMsg_LoadingProgress() override; - explicit PROTOBUF_CONSTEXPR CCLCMsg_LoadingProgress(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCLCMsg_LoadingProgress(const CCLCMsg_LoadingProgress& from); - CCLCMsg_LoadingProgress(CCLCMsg_LoadingProgress&& from) noexcept - : CCLCMsg_LoadingProgress() { - *this = ::std::move(from); - } - - inline CCLCMsg_LoadingProgress& operator=(const CCLCMsg_LoadingProgress& from) { - CopyFrom(from); - return *this; - } - inline CCLCMsg_LoadingProgress& operator=(CCLCMsg_LoadingProgress&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCLCMsg_LoadingProgress& default_instance() { - return *internal_default_instance(); - } - static inline const CCLCMsg_LoadingProgress* internal_default_instance() { - return reinterpret_cast( - &_CCLCMsg_LoadingProgress_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(CCLCMsg_LoadingProgress& a, CCLCMsg_LoadingProgress& b) { - a.Swap(&b); - } - inline void Swap(CCLCMsg_LoadingProgress* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCLCMsg_LoadingProgress* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCLCMsg_LoadingProgress* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCLCMsg_LoadingProgress& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCLCMsg_LoadingProgress& from) { - CCLCMsg_LoadingProgress::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCLCMsg_LoadingProgress* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCLCMsg_LoadingProgress"; - } - protected: - explicit CCLCMsg_LoadingProgress(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kProgressFieldNumber = 1, - }; - // optional int32 progress = 1; - bool has_progress() const; - private: - bool _internal_has_progress() const; - public: - void clear_progress(); - int32_t progress() const; - void set_progress(int32_t value); - private: - int32_t _internal_progress() const; - void _internal_set_progress(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCLCMsg_LoadingProgress) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t progress_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCLCMsg_SplitPlayerConnect : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_SplitPlayerConnect) */ { - public: - inline CCLCMsg_SplitPlayerConnect() : CCLCMsg_SplitPlayerConnect(nullptr) {} - ~CCLCMsg_SplitPlayerConnect() override; - explicit PROTOBUF_CONSTEXPR CCLCMsg_SplitPlayerConnect(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCLCMsg_SplitPlayerConnect(const CCLCMsg_SplitPlayerConnect& from); - CCLCMsg_SplitPlayerConnect(CCLCMsg_SplitPlayerConnect&& from) noexcept - : CCLCMsg_SplitPlayerConnect() { - *this = ::std::move(from); - } - - inline CCLCMsg_SplitPlayerConnect& operator=(const CCLCMsg_SplitPlayerConnect& from) { - CopyFrom(from); - return *this; - } - inline CCLCMsg_SplitPlayerConnect& operator=(CCLCMsg_SplitPlayerConnect&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCLCMsg_SplitPlayerConnect& default_instance() { - return *internal_default_instance(); - } - static inline const CCLCMsg_SplitPlayerConnect* internal_default_instance() { - return reinterpret_cast( - &_CCLCMsg_SplitPlayerConnect_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(CCLCMsg_SplitPlayerConnect& a, CCLCMsg_SplitPlayerConnect& b) { - a.Swap(&b); - } - inline void Swap(CCLCMsg_SplitPlayerConnect* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCLCMsg_SplitPlayerConnect* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCLCMsg_SplitPlayerConnect* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCLCMsg_SplitPlayerConnect& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCLCMsg_SplitPlayerConnect& from) { - CCLCMsg_SplitPlayerConnect::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCLCMsg_SplitPlayerConnect* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCLCMsg_SplitPlayerConnect"; - } - protected: - explicit CCLCMsg_SplitPlayerConnect(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPlayernameFieldNumber = 1, - }; - // optional string playername = 1; - bool has_playername() const; - private: - bool _internal_has_playername() const; - public: - void clear_playername(); - const std::string& playername() const; - template - void set_playername(ArgT0&& arg0, ArgT... args); - std::string* mutable_playername(); - PROTOBUF_NODISCARD std::string* release_playername(); - void set_allocated_playername(std::string* playername); - private: - const std::string& _internal_playername() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_playername(const std::string& value); - std::string* _internal_mutable_playername(); - public: - - // @@protoc_insertion_point(class_scope:CCLCMsg_SplitPlayerConnect) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr playername_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCLCMsg_SplitPlayerDisconnect : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_SplitPlayerDisconnect) */ { - public: - inline CCLCMsg_SplitPlayerDisconnect() : CCLCMsg_SplitPlayerDisconnect(nullptr) {} - ~CCLCMsg_SplitPlayerDisconnect() override; - explicit PROTOBUF_CONSTEXPR CCLCMsg_SplitPlayerDisconnect(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCLCMsg_SplitPlayerDisconnect(const CCLCMsg_SplitPlayerDisconnect& from); - CCLCMsg_SplitPlayerDisconnect(CCLCMsg_SplitPlayerDisconnect&& from) noexcept - : CCLCMsg_SplitPlayerDisconnect() { - *this = ::std::move(from); - } - - inline CCLCMsg_SplitPlayerDisconnect& operator=(const CCLCMsg_SplitPlayerDisconnect& from) { - CopyFrom(from); - return *this; - } - inline CCLCMsg_SplitPlayerDisconnect& operator=(CCLCMsg_SplitPlayerDisconnect&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCLCMsg_SplitPlayerDisconnect& default_instance() { - return *internal_default_instance(); - } - static inline const CCLCMsg_SplitPlayerDisconnect* internal_default_instance() { - return reinterpret_cast( - &_CCLCMsg_SplitPlayerDisconnect_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(CCLCMsg_SplitPlayerDisconnect& a, CCLCMsg_SplitPlayerDisconnect& b) { - a.Swap(&b); - } - inline void Swap(CCLCMsg_SplitPlayerDisconnect* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCLCMsg_SplitPlayerDisconnect* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCLCMsg_SplitPlayerDisconnect* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCLCMsg_SplitPlayerDisconnect& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCLCMsg_SplitPlayerDisconnect& from) { - CCLCMsg_SplitPlayerDisconnect::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCLCMsg_SplitPlayerDisconnect* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCLCMsg_SplitPlayerDisconnect"; - } - protected: - explicit CCLCMsg_SplitPlayerDisconnect(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSlotFieldNumber = 1, - }; - // optional int32 slot = 1; - bool has_slot() const; - private: - bool _internal_has_slot() const; - public: - void clear_slot(); - int32_t slot() const; - void set_slot(int32_t value); - private: - int32_t _internal_slot() const; - void _internal_set_slot(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCLCMsg_SplitPlayerDisconnect) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t slot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCLCMsg_ServerStatus : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_ServerStatus) */ { - public: - inline CCLCMsg_ServerStatus() : CCLCMsg_ServerStatus(nullptr) {} - ~CCLCMsg_ServerStatus() override; - explicit PROTOBUF_CONSTEXPR CCLCMsg_ServerStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCLCMsg_ServerStatus(const CCLCMsg_ServerStatus& from); - CCLCMsg_ServerStatus(CCLCMsg_ServerStatus&& from) noexcept - : CCLCMsg_ServerStatus() { - *this = ::std::move(from); - } - - inline CCLCMsg_ServerStatus& operator=(const CCLCMsg_ServerStatus& from) { - CopyFrom(from); - return *this; - } - inline CCLCMsg_ServerStatus& operator=(CCLCMsg_ServerStatus&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCLCMsg_ServerStatus& default_instance() { - return *internal_default_instance(); - } - static inline const CCLCMsg_ServerStatus* internal_default_instance() { - return reinterpret_cast( - &_CCLCMsg_ServerStatus_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(CCLCMsg_ServerStatus& a, CCLCMsg_ServerStatus& b) { - a.Swap(&b); - } - inline void Swap(CCLCMsg_ServerStatus* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCLCMsg_ServerStatus* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCLCMsg_ServerStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCLCMsg_ServerStatus& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCLCMsg_ServerStatus& from) { - CCLCMsg_ServerStatus::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCLCMsg_ServerStatus* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCLCMsg_ServerStatus"; - } - protected: - explicit CCLCMsg_ServerStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSimplifiedFieldNumber = 1, - }; - // optional bool simplified = 1; - bool has_simplified() const; - private: - bool _internal_has_simplified() const; - public: - void clear_simplified(); - bool simplified() const; - void set_simplified(bool value); - private: - bool _internal_simplified() const; - void _internal_set_simplified(bool value); - public: - - // @@protoc_insertion_point(class_scope:CCLCMsg_ServerStatus) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool simplified_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCLCMsg_RequestPause : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_RequestPause) */ { - public: - inline CCLCMsg_RequestPause() : CCLCMsg_RequestPause(nullptr) {} - ~CCLCMsg_RequestPause() override; - explicit PROTOBUF_CONSTEXPR CCLCMsg_RequestPause(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCLCMsg_RequestPause(const CCLCMsg_RequestPause& from); - CCLCMsg_RequestPause(CCLCMsg_RequestPause&& from) noexcept - : CCLCMsg_RequestPause() { - *this = ::std::move(from); - } - - inline CCLCMsg_RequestPause& operator=(const CCLCMsg_RequestPause& from) { - CopyFrom(from); - return *this; - } - inline CCLCMsg_RequestPause& operator=(CCLCMsg_RequestPause&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCLCMsg_RequestPause& default_instance() { - return *internal_default_instance(); - } - static inline const CCLCMsg_RequestPause* internal_default_instance() { - return reinterpret_cast( - &_CCLCMsg_RequestPause_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(CCLCMsg_RequestPause& a, CCLCMsg_RequestPause& b) { - a.Swap(&b); - } - inline void Swap(CCLCMsg_RequestPause* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCLCMsg_RequestPause* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCLCMsg_RequestPause* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCLCMsg_RequestPause& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCLCMsg_RequestPause& from) { - CCLCMsg_RequestPause::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCLCMsg_RequestPause* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCLCMsg_RequestPause"; - } - protected: - explicit CCLCMsg_RequestPause(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPauseTypeFieldNumber = 1, - kPauseGroupFieldNumber = 2, - }; - // optional .RequestPause_t pause_type = 1 [default = RP_PAUSE]; - bool has_pause_type() const; - private: - bool _internal_has_pause_type() const; - public: - void clear_pause_type(); - ::RequestPause_t pause_type() const; - void set_pause_type(::RequestPause_t value); - private: - ::RequestPause_t _internal_pause_type() const; - void _internal_set_pause_type(::RequestPause_t value); - public: - - // optional int32 pause_group = 2; - bool has_pause_group() const; - private: - bool _internal_has_pause_group() const; - public: - void clear_pause_group(); - int32_t pause_group() const; - void set_pause_group(int32_t value); - private: - int32_t _internal_pause_group() const; - void _internal_set_pause_group(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCLCMsg_RequestPause) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int pause_type_; - int32_t pause_group_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCLCMsg_CmdKeyValues : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_CmdKeyValues) */ { - public: - inline CCLCMsg_CmdKeyValues() : CCLCMsg_CmdKeyValues(nullptr) {} - ~CCLCMsg_CmdKeyValues() override; - explicit PROTOBUF_CONSTEXPR CCLCMsg_CmdKeyValues(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCLCMsg_CmdKeyValues(const CCLCMsg_CmdKeyValues& from); - CCLCMsg_CmdKeyValues(CCLCMsg_CmdKeyValues&& from) noexcept - : CCLCMsg_CmdKeyValues() { - *this = ::std::move(from); - } - - inline CCLCMsg_CmdKeyValues& operator=(const CCLCMsg_CmdKeyValues& from) { - CopyFrom(from); - return *this; - } - inline CCLCMsg_CmdKeyValues& operator=(CCLCMsg_CmdKeyValues&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCLCMsg_CmdKeyValues& default_instance() { - return *internal_default_instance(); - } - static inline const CCLCMsg_CmdKeyValues* internal_default_instance() { - return reinterpret_cast( - &_CCLCMsg_CmdKeyValues_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(CCLCMsg_CmdKeyValues& a, CCLCMsg_CmdKeyValues& b) { - a.Swap(&b); - } - inline void Swap(CCLCMsg_CmdKeyValues* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCLCMsg_CmdKeyValues* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCLCMsg_CmdKeyValues* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCLCMsg_CmdKeyValues& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCLCMsg_CmdKeyValues& from) { - CCLCMsg_CmdKeyValues::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCLCMsg_CmdKeyValues* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCLCMsg_CmdKeyValues"; - } - protected: - explicit CCLCMsg_CmdKeyValues(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 1, - }; - // optional bytes data = 1; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // @@protoc_insertion_point(class_scope:CCLCMsg_CmdKeyValues) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCLCMsg_RconServerDetails : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_RconServerDetails) */ { - public: - inline CCLCMsg_RconServerDetails() : CCLCMsg_RconServerDetails(nullptr) {} - ~CCLCMsg_RconServerDetails() override; - explicit PROTOBUF_CONSTEXPR CCLCMsg_RconServerDetails(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCLCMsg_RconServerDetails(const CCLCMsg_RconServerDetails& from); - CCLCMsg_RconServerDetails(CCLCMsg_RconServerDetails&& from) noexcept - : CCLCMsg_RconServerDetails() { - *this = ::std::move(from); - } - - inline CCLCMsg_RconServerDetails& operator=(const CCLCMsg_RconServerDetails& from) { - CopyFrom(from); - return *this; - } - inline CCLCMsg_RconServerDetails& operator=(CCLCMsg_RconServerDetails&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCLCMsg_RconServerDetails& default_instance() { - return *internal_default_instance(); - } - static inline const CCLCMsg_RconServerDetails* internal_default_instance() { - return reinterpret_cast( - &_CCLCMsg_RconServerDetails_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - friend void swap(CCLCMsg_RconServerDetails& a, CCLCMsg_RconServerDetails& b) { - a.Swap(&b); - } - inline void Swap(CCLCMsg_RconServerDetails* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCLCMsg_RconServerDetails* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCLCMsg_RconServerDetails* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCLCMsg_RconServerDetails& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCLCMsg_RconServerDetails& from) { - CCLCMsg_RconServerDetails::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCLCMsg_RconServerDetails* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCLCMsg_RconServerDetails"; - } - protected: - explicit CCLCMsg_RconServerDetails(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTokenFieldNumber = 1, - }; - // optional bytes token = 1; - bool has_token() const; - private: - bool _internal_has_token() const; - public: - void clear_token(); - const std::string& token() const; - template - void set_token(ArgT0&& arg0, ArgT... args); - std::string* mutable_token(); - PROTOBUF_NODISCARD std::string* release_token(); - void set_allocated_token(std::string* token); - private: - const std::string& _internal_token() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_token(const std::string& value); - std::string* _internal_mutable_token(); - public: - - // @@protoc_insertion_point(class_scope:CCLCMsg_RconServerDetails) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSource2SystemSpecs : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2SystemSpecs) */ { - public: - inline CMsgSource2SystemSpecs() : CMsgSource2SystemSpecs(nullptr) {} - ~CMsgSource2SystemSpecs() override; - explicit PROTOBUF_CONSTEXPR CMsgSource2SystemSpecs(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSource2SystemSpecs(const CMsgSource2SystemSpecs& from); - CMsgSource2SystemSpecs(CMsgSource2SystemSpecs&& from) noexcept - : CMsgSource2SystemSpecs() { - *this = ::std::move(from); - } - - inline CMsgSource2SystemSpecs& operator=(const CMsgSource2SystemSpecs& from) { - CopyFrom(from); - return *this; - } - inline CMsgSource2SystemSpecs& operator=(CMsgSource2SystemSpecs&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSource2SystemSpecs& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSource2SystemSpecs* internal_default_instance() { - return reinterpret_cast( - &_CMsgSource2SystemSpecs_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - friend void swap(CMsgSource2SystemSpecs& a, CMsgSource2SystemSpecs& b) { - a.Swap(&b); - } - inline void Swap(CMsgSource2SystemSpecs* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSource2SystemSpecs* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSource2SystemSpecs* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSource2SystemSpecs& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSource2SystemSpecs& from) { - CMsgSource2SystemSpecs::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSource2SystemSpecs* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSource2SystemSpecs"; - } - protected: - explicit CMsgSource2SystemSpecs(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCpuIdFieldNumber = 1, - kCpuBrandFieldNumber = 2, - kGpuRendersystemDllNameFieldNumber = 41, - kGpuDriverNameFieldNumber = 43, - kCpuModelFieldNumber = 3, - kCpuNumPhysicalFieldNumber = 4, - kRamPhysicalTotalMbFieldNumber = 21, - kGpuVendorIdFieldNumber = 42, - kGpuDriverVersionHighFieldNumber = 44, - kGpuDriverVersionLowFieldNumber = 45, - kGpuDxSupportLevelFieldNumber = 46, - kGpuTextureMemorySizeMbFieldNumber = 47, - kBackbufferWidthFieldNumber = 51, - kBackbufferHeightFieldNumber = 52, - }; - // optional string cpu_id = 1; - bool has_cpu_id() const; - private: - bool _internal_has_cpu_id() const; - public: - void clear_cpu_id(); - const std::string& cpu_id() const; - template - void set_cpu_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_cpu_id(); - PROTOBUF_NODISCARD std::string* release_cpu_id(); - void set_allocated_cpu_id(std::string* cpu_id); - private: - const std::string& _internal_cpu_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_cpu_id(const std::string& value); - std::string* _internal_mutable_cpu_id(); - public: - - // optional string cpu_brand = 2; - bool has_cpu_brand() const; - private: - bool _internal_has_cpu_brand() const; - public: - void clear_cpu_brand(); - const std::string& cpu_brand() const; - template - void set_cpu_brand(ArgT0&& arg0, ArgT... args); - std::string* mutable_cpu_brand(); - PROTOBUF_NODISCARD std::string* release_cpu_brand(); - void set_allocated_cpu_brand(std::string* cpu_brand); - private: - const std::string& _internal_cpu_brand() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_cpu_brand(const std::string& value); - std::string* _internal_mutable_cpu_brand(); - public: - - // optional string gpu_rendersystem_dll_name = 41; - bool has_gpu_rendersystem_dll_name() const; - private: - bool _internal_has_gpu_rendersystem_dll_name() const; - public: - void clear_gpu_rendersystem_dll_name(); - const std::string& gpu_rendersystem_dll_name() const; - template - void set_gpu_rendersystem_dll_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_gpu_rendersystem_dll_name(); - PROTOBUF_NODISCARD std::string* release_gpu_rendersystem_dll_name(); - void set_allocated_gpu_rendersystem_dll_name(std::string* gpu_rendersystem_dll_name); - private: - const std::string& _internal_gpu_rendersystem_dll_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_gpu_rendersystem_dll_name(const std::string& value); - std::string* _internal_mutable_gpu_rendersystem_dll_name(); - public: - - // optional string gpu_driver_name = 43; - bool has_gpu_driver_name() const; - private: - bool _internal_has_gpu_driver_name() const; - public: - void clear_gpu_driver_name(); - const std::string& gpu_driver_name() const; - template - void set_gpu_driver_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_gpu_driver_name(); - PROTOBUF_NODISCARD std::string* release_gpu_driver_name(); - void set_allocated_gpu_driver_name(std::string* gpu_driver_name); - private: - const std::string& _internal_gpu_driver_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_gpu_driver_name(const std::string& value); - std::string* _internal_mutable_gpu_driver_name(); - public: - - // optional uint32 cpu_model = 3; - bool has_cpu_model() const; - private: - bool _internal_has_cpu_model() const; - public: - void clear_cpu_model(); - uint32_t cpu_model() const; - void set_cpu_model(uint32_t value); - private: - uint32_t _internal_cpu_model() const; - void _internal_set_cpu_model(uint32_t value); - public: - - // optional uint32 cpu_num_physical = 4; - bool has_cpu_num_physical() const; - private: - bool _internal_has_cpu_num_physical() const; - public: - void clear_cpu_num_physical(); - uint32_t cpu_num_physical() const; - void set_cpu_num_physical(uint32_t value); - private: - uint32_t _internal_cpu_num_physical() const; - void _internal_set_cpu_num_physical(uint32_t value); - public: - - // optional uint32 ram_physical_total_mb = 21; - bool has_ram_physical_total_mb() const; - private: - bool _internal_has_ram_physical_total_mb() const; - public: - void clear_ram_physical_total_mb(); - uint32_t ram_physical_total_mb() const; - void set_ram_physical_total_mb(uint32_t value); - private: - uint32_t _internal_ram_physical_total_mb() const; - void _internal_set_ram_physical_total_mb(uint32_t value); - public: - - // optional uint32 gpu_vendor_id = 42; - bool has_gpu_vendor_id() const; - private: - bool _internal_has_gpu_vendor_id() const; - public: - void clear_gpu_vendor_id(); - uint32_t gpu_vendor_id() const; - void set_gpu_vendor_id(uint32_t value); - private: - uint32_t _internal_gpu_vendor_id() const; - void _internal_set_gpu_vendor_id(uint32_t value); - public: - - // optional uint32 gpu_driver_version_high = 44; - bool has_gpu_driver_version_high() const; - private: - bool _internal_has_gpu_driver_version_high() const; - public: - void clear_gpu_driver_version_high(); - uint32_t gpu_driver_version_high() const; - void set_gpu_driver_version_high(uint32_t value); - private: - uint32_t _internal_gpu_driver_version_high() const; - void _internal_set_gpu_driver_version_high(uint32_t value); - public: - - // optional uint32 gpu_driver_version_low = 45; - bool has_gpu_driver_version_low() const; - private: - bool _internal_has_gpu_driver_version_low() const; - public: - void clear_gpu_driver_version_low(); - uint32_t gpu_driver_version_low() const; - void set_gpu_driver_version_low(uint32_t value); - private: - uint32_t _internal_gpu_driver_version_low() const; - void _internal_set_gpu_driver_version_low(uint32_t value); - public: - - // optional uint32 gpu_dx_support_level = 46; - bool has_gpu_dx_support_level() const; - private: - bool _internal_has_gpu_dx_support_level() const; - public: - void clear_gpu_dx_support_level(); - uint32_t gpu_dx_support_level() const; - void set_gpu_dx_support_level(uint32_t value); - private: - uint32_t _internal_gpu_dx_support_level() const; - void _internal_set_gpu_dx_support_level(uint32_t value); - public: - - // optional uint32 gpu_texture_memory_size_mb = 47; - bool has_gpu_texture_memory_size_mb() const; - private: - bool _internal_has_gpu_texture_memory_size_mb() const; - public: - void clear_gpu_texture_memory_size_mb(); - uint32_t gpu_texture_memory_size_mb() const; - void set_gpu_texture_memory_size_mb(uint32_t value); - private: - uint32_t _internal_gpu_texture_memory_size_mb() const; - void _internal_set_gpu_texture_memory_size_mb(uint32_t value); - public: - - // optional uint32 backbuffer_width = 51; - bool has_backbuffer_width() const; - private: - bool _internal_has_backbuffer_width() const; - public: - void clear_backbuffer_width(); - uint32_t backbuffer_width() const; - void set_backbuffer_width(uint32_t value); - private: - uint32_t _internal_backbuffer_width() const; - void _internal_set_backbuffer_width(uint32_t value); - public: - - // optional uint32 backbuffer_height = 52; - bool has_backbuffer_height() const; - private: - bool _internal_has_backbuffer_height() const; - public: - void clear_backbuffer_height(); - uint32_t backbuffer_height() const; - void set_backbuffer_height(uint32_t value); - private: - uint32_t _internal_backbuffer_height() const; - void _internal_set_backbuffer_height(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSource2SystemSpecs) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cpu_id_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cpu_brand_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gpu_rendersystem_dll_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gpu_driver_name_; - uint32_t cpu_model_; - uint32_t cpu_num_physical_; - uint32_t ram_physical_total_mb_; - uint32_t gpu_vendor_id_; - uint32_t gpu_driver_version_high_; - uint32_t gpu_driver_version_low_; - uint32_t gpu_dx_support_level_; - uint32_t gpu_texture_memory_size_mb_; - uint32_t backbuffer_width_; - uint32_t backbuffer_height_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSource2VProfLiteReportItem : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2VProfLiteReportItem) */ { - public: - inline CMsgSource2VProfLiteReportItem() : CMsgSource2VProfLiteReportItem(nullptr) {} - ~CMsgSource2VProfLiteReportItem() override; - explicit PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReportItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSource2VProfLiteReportItem(const CMsgSource2VProfLiteReportItem& from); - CMsgSource2VProfLiteReportItem(CMsgSource2VProfLiteReportItem&& from) noexcept - : CMsgSource2VProfLiteReportItem() { - *this = ::std::move(from); - } - - inline CMsgSource2VProfLiteReportItem& operator=(const CMsgSource2VProfLiteReportItem& from) { - CopyFrom(from); - return *this; - } - inline CMsgSource2VProfLiteReportItem& operator=(CMsgSource2VProfLiteReportItem&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSource2VProfLiteReportItem& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSource2VProfLiteReportItem* internal_default_instance() { - return reinterpret_cast( - &_CMsgSource2VProfLiteReportItem_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - friend void swap(CMsgSource2VProfLiteReportItem& a, CMsgSource2VProfLiteReportItem& b) { - a.Swap(&b); - } - inline void Swap(CMsgSource2VProfLiteReportItem* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSource2VProfLiteReportItem* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSource2VProfLiteReportItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSource2VProfLiteReportItem& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSource2VProfLiteReportItem& from) { - CMsgSource2VProfLiteReportItem::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSource2VProfLiteReportItem* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSource2VProfLiteReportItem"; - } - protected: - explicit CMsgSource2VProfLiteReportItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 1, - kActiveSamplesFieldNumber = 2, - kUsecMaxFieldNumber = 3, - kActiveSamples1SecmaxFieldNumber = 4, - kUsecAvgActiveFieldNumber = 11, - kUsecP50ActiveFieldNumber = 12, - kUsecP99ActiveFieldNumber = 13, - kUsecAvgAllFieldNumber = 21, - kUsecP50AllFieldNumber = 22, - kUsecP99AllFieldNumber = 23, - kUsec1SecmaxAvgActiveFieldNumber = 31, - kUsec1SecmaxP50ActiveFieldNumber = 32, - kUsec1SecmaxP95ActiveFieldNumber = 33, - kUsec1SecmaxP99ActiveFieldNumber = 34, - kUsec1SecmaxAvgAllFieldNumber = 41, - kUsec1SecmaxP50AllFieldNumber = 42, - kUsec1SecmaxP95AllFieldNumber = 43, - kUsec1SecmaxP99AllFieldNumber = 44, - }; - // optional string name = 1; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional uint32 active_samples = 2; - bool has_active_samples() const; - private: - bool _internal_has_active_samples() const; - public: - void clear_active_samples(); - uint32_t active_samples() const; - void set_active_samples(uint32_t value); - private: - uint32_t _internal_active_samples() const; - void _internal_set_active_samples(uint32_t value); - public: - - // optional uint32 usec_max = 3; - bool has_usec_max() const; - private: - bool _internal_has_usec_max() const; - public: - void clear_usec_max(); - uint32_t usec_max() const; - void set_usec_max(uint32_t value); - private: - uint32_t _internal_usec_max() const; - void _internal_set_usec_max(uint32_t value); - public: - - // optional uint32 active_samples_1secmax = 4; - bool has_active_samples_1secmax() const; - private: - bool _internal_has_active_samples_1secmax() const; - public: - void clear_active_samples_1secmax(); - uint32_t active_samples_1secmax() const; - void set_active_samples_1secmax(uint32_t value); - private: - uint32_t _internal_active_samples_1secmax() const; - void _internal_set_active_samples_1secmax(uint32_t value); - public: - - // optional uint32 usec_avg_active = 11; - bool has_usec_avg_active() const; - private: - bool _internal_has_usec_avg_active() const; - public: - void clear_usec_avg_active(); - uint32_t usec_avg_active() const; - void set_usec_avg_active(uint32_t value); - private: - uint32_t _internal_usec_avg_active() const; - void _internal_set_usec_avg_active(uint32_t value); - public: - - // optional uint32 usec_p50_active = 12; - bool has_usec_p50_active() const; - private: - bool _internal_has_usec_p50_active() const; - public: - void clear_usec_p50_active(); - uint32_t usec_p50_active() const; - void set_usec_p50_active(uint32_t value); - private: - uint32_t _internal_usec_p50_active() const; - void _internal_set_usec_p50_active(uint32_t value); - public: - - // optional uint32 usec_p99_active = 13; - bool has_usec_p99_active() const; - private: - bool _internal_has_usec_p99_active() const; - public: - void clear_usec_p99_active(); - uint32_t usec_p99_active() const; - void set_usec_p99_active(uint32_t value); - private: - uint32_t _internal_usec_p99_active() const; - void _internal_set_usec_p99_active(uint32_t value); - public: - - // optional uint32 usec_avg_all = 21; - bool has_usec_avg_all() const; - private: - bool _internal_has_usec_avg_all() const; - public: - void clear_usec_avg_all(); - uint32_t usec_avg_all() const; - void set_usec_avg_all(uint32_t value); - private: - uint32_t _internal_usec_avg_all() const; - void _internal_set_usec_avg_all(uint32_t value); - public: - - // optional uint32 usec_p50_all = 22; - bool has_usec_p50_all() const; - private: - bool _internal_has_usec_p50_all() const; - public: - void clear_usec_p50_all(); - uint32_t usec_p50_all() const; - void set_usec_p50_all(uint32_t value); - private: - uint32_t _internal_usec_p50_all() const; - void _internal_set_usec_p50_all(uint32_t value); - public: - - // optional uint32 usec_p99_all = 23; - bool has_usec_p99_all() const; - private: - bool _internal_has_usec_p99_all() const; - public: - void clear_usec_p99_all(); - uint32_t usec_p99_all() const; - void set_usec_p99_all(uint32_t value); - private: - uint32_t _internal_usec_p99_all() const; - void _internal_set_usec_p99_all(uint32_t value); - public: - - // optional uint32 usec_1secmax_avg_active = 31; - bool has_usec_1secmax_avg_active() const; - private: - bool _internal_has_usec_1secmax_avg_active() const; - public: - void clear_usec_1secmax_avg_active(); - uint32_t usec_1secmax_avg_active() const; - void set_usec_1secmax_avg_active(uint32_t value); - private: - uint32_t _internal_usec_1secmax_avg_active() const; - void _internal_set_usec_1secmax_avg_active(uint32_t value); - public: - - // optional uint32 usec_1secmax_p50_active = 32; - bool has_usec_1secmax_p50_active() const; - private: - bool _internal_has_usec_1secmax_p50_active() const; - public: - void clear_usec_1secmax_p50_active(); - uint32_t usec_1secmax_p50_active() const; - void set_usec_1secmax_p50_active(uint32_t value); - private: - uint32_t _internal_usec_1secmax_p50_active() const; - void _internal_set_usec_1secmax_p50_active(uint32_t value); - public: - - // optional uint32 usec_1secmax_p95_active = 33; - bool has_usec_1secmax_p95_active() const; - private: - bool _internal_has_usec_1secmax_p95_active() const; - public: - void clear_usec_1secmax_p95_active(); - uint32_t usec_1secmax_p95_active() const; - void set_usec_1secmax_p95_active(uint32_t value); - private: - uint32_t _internal_usec_1secmax_p95_active() const; - void _internal_set_usec_1secmax_p95_active(uint32_t value); - public: - - // optional uint32 usec_1secmax_p99_active = 34; - bool has_usec_1secmax_p99_active() const; - private: - bool _internal_has_usec_1secmax_p99_active() const; - public: - void clear_usec_1secmax_p99_active(); - uint32_t usec_1secmax_p99_active() const; - void set_usec_1secmax_p99_active(uint32_t value); - private: - uint32_t _internal_usec_1secmax_p99_active() const; - void _internal_set_usec_1secmax_p99_active(uint32_t value); - public: - - // optional uint32 usec_1secmax_avg_all = 41; - bool has_usec_1secmax_avg_all() const; - private: - bool _internal_has_usec_1secmax_avg_all() const; - public: - void clear_usec_1secmax_avg_all(); - uint32_t usec_1secmax_avg_all() const; - void set_usec_1secmax_avg_all(uint32_t value); - private: - uint32_t _internal_usec_1secmax_avg_all() const; - void _internal_set_usec_1secmax_avg_all(uint32_t value); - public: - - // optional uint32 usec_1secmax_p50_all = 42; - bool has_usec_1secmax_p50_all() const; - private: - bool _internal_has_usec_1secmax_p50_all() const; - public: - void clear_usec_1secmax_p50_all(); - uint32_t usec_1secmax_p50_all() const; - void set_usec_1secmax_p50_all(uint32_t value); - private: - uint32_t _internal_usec_1secmax_p50_all() const; - void _internal_set_usec_1secmax_p50_all(uint32_t value); - public: - - // optional uint32 usec_1secmax_p95_all = 43; - bool has_usec_1secmax_p95_all() const; - private: - bool _internal_has_usec_1secmax_p95_all() const; - public: - void clear_usec_1secmax_p95_all(); - uint32_t usec_1secmax_p95_all() const; - void set_usec_1secmax_p95_all(uint32_t value); - private: - uint32_t _internal_usec_1secmax_p95_all() const; - void _internal_set_usec_1secmax_p95_all(uint32_t value); - public: - - // optional uint32 usec_1secmax_p99_all = 44; - bool has_usec_1secmax_p99_all() const; - private: - bool _internal_has_usec_1secmax_p99_all() const; - public: - void clear_usec_1secmax_p99_all(); - uint32_t usec_1secmax_p99_all() const; - void set_usec_1secmax_p99_all(uint32_t value); - private: - uint32_t _internal_usec_1secmax_p99_all() const; - void _internal_set_usec_1secmax_p99_all(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSource2VProfLiteReportItem) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - uint32_t active_samples_; - uint32_t usec_max_; - uint32_t active_samples_1secmax_; - uint32_t usec_avg_active_; - uint32_t usec_p50_active_; - uint32_t usec_p99_active_; - uint32_t usec_avg_all_; - uint32_t usec_p50_all_; - uint32_t usec_p99_all_; - uint32_t usec_1secmax_avg_active_; - uint32_t usec_1secmax_p50_active_; - uint32_t usec_1secmax_p95_active_; - uint32_t usec_1secmax_p99_active_; - uint32_t usec_1secmax_avg_all_; - uint32_t usec_1secmax_p50_all_; - uint32_t usec_1secmax_p95_all_; - uint32_t usec_1secmax_p99_all_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSource2VProfLiteReport : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2VProfLiteReport) */ { - public: - inline CMsgSource2VProfLiteReport() : CMsgSource2VProfLiteReport(nullptr) {} - ~CMsgSource2VProfLiteReport() override; - explicit PROTOBUF_CONSTEXPR CMsgSource2VProfLiteReport(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSource2VProfLiteReport(const CMsgSource2VProfLiteReport& from); - CMsgSource2VProfLiteReport(CMsgSource2VProfLiteReport&& from) noexcept - : CMsgSource2VProfLiteReport() { - *this = ::std::move(from); - } - - inline CMsgSource2VProfLiteReport& operator=(const CMsgSource2VProfLiteReport& from) { - CopyFrom(from); - return *this; - } - inline CMsgSource2VProfLiteReport& operator=(CMsgSource2VProfLiteReport&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSource2VProfLiteReport& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSource2VProfLiteReport* internal_default_instance() { - return reinterpret_cast( - &_CMsgSource2VProfLiteReport_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - friend void swap(CMsgSource2VProfLiteReport& a, CMsgSource2VProfLiteReport& b) { - a.Swap(&b); - } - inline void Swap(CMsgSource2VProfLiteReport* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSource2VProfLiteReport* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSource2VProfLiteReport* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSource2VProfLiteReport& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSource2VProfLiteReport& from) { - CMsgSource2VProfLiteReport::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSource2VProfLiteReport* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSource2VProfLiteReport"; - } - protected: - explicit CMsgSource2VProfLiteReport(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemsFieldNumber = 2, - kTotalFieldNumber = 1, - kDiscardedFramesFieldNumber = 3, - }; - // repeated .CMsgSource2VProfLiteReportItem items = 2; - int items_size() const; - private: - int _internal_items_size() const; - public: - void clear_items(); - ::CMsgSource2VProfLiteReportItem* mutable_items(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem >* - mutable_items(); - private: - const ::CMsgSource2VProfLiteReportItem& _internal_items(int index) const; - ::CMsgSource2VProfLiteReportItem* _internal_add_items(); - public: - const ::CMsgSource2VProfLiteReportItem& items(int index) const; - ::CMsgSource2VProfLiteReportItem* add_items(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem >& - items() const; - - // optional .CMsgSource2VProfLiteReportItem total = 1; - bool has_total() const; - private: - bool _internal_has_total() const; - public: - void clear_total(); - const ::CMsgSource2VProfLiteReportItem& total() const; - PROTOBUF_NODISCARD ::CMsgSource2VProfLiteReportItem* release_total(); - ::CMsgSource2VProfLiteReportItem* mutable_total(); - void set_allocated_total(::CMsgSource2VProfLiteReportItem* total); - private: - const ::CMsgSource2VProfLiteReportItem& _internal_total() const; - ::CMsgSource2VProfLiteReportItem* _internal_mutable_total(); - public: - void unsafe_arena_set_allocated_total( - ::CMsgSource2VProfLiteReportItem* total); - ::CMsgSource2VProfLiteReportItem* unsafe_arena_release_total(); - - // optional uint32 discarded_frames = 3; - bool has_discarded_frames() const; - private: - bool _internal_has_discarded_frames() const; - public: - void clear_discarded_frames(); - uint32_t discarded_frames() const; - void set_discarded_frames(uint32_t value); - private: - uint32_t _internal_discarded_frames() const; - void _internal_set_discarded_frames(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSource2VProfLiteReport) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem > items_; - ::CMsgSource2VProfLiteReportItem* total_; - uint32_t discarded_frames_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSource2NetworkFlowQuality : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2NetworkFlowQuality) */ { - public: - inline CMsgSource2NetworkFlowQuality() : CMsgSource2NetworkFlowQuality(nullptr) {} - ~CMsgSource2NetworkFlowQuality() override; - explicit PROTOBUF_CONSTEXPR CMsgSource2NetworkFlowQuality(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSource2NetworkFlowQuality(const CMsgSource2NetworkFlowQuality& from); - CMsgSource2NetworkFlowQuality(CMsgSource2NetworkFlowQuality&& from) noexcept - : CMsgSource2NetworkFlowQuality() { - *this = ::std::move(from); - } - - inline CMsgSource2NetworkFlowQuality& operator=(const CMsgSource2NetworkFlowQuality& from) { - CopyFrom(from); - return *this; - } - inline CMsgSource2NetworkFlowQuality& operator=(CMsgSource2NetworkFlowQuality&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSource2NetworkFlowQuality& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSource2NetworkFlowQuality* internal_default_instance() { - return reinterpret_cast( - &_CMsgSource2NetworkFlowQuality_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - friend void swap(CMsgSource2NetworkFlowQuality& a, CMsgSource2NetworkFlowQuality& b) { - a.Swap(&b); - } - inline void Swap(CMsgSource2NetworkFlowQuality* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSource2NetworkFlowQuality* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSource2NetworkFlowQuality* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSource2NetworkFlowQuality& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSource2NetworkFlowQuality& from) { - CMsgSource2NetworkFlowQuality::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSource2NetworkFlowQuality* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSource2NetworkFlowQuality"; - } - protected: - explicit CMsgSource2NetworkFlowQuality(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBytesTotalFieldNumber = 5, - kDurationFieldNumber = 1, - kBytesSecP95FieldNumber = 10, - kBytesTotalReliableFieldNumber = 6, - kBytesTotalVoiceFieldNumber = 7, - kBytesSecP99FieldNumber = 11, - kEnginemsgsTotalFieldNumber = 20, - kEnginemsgsSecP95FieldNumber = 21, - kEnginemsgsSecP99FieldNumber = 22, - kTicksTotalFieldNumber = 40, - kTicksGoodFieldNumber = 41, - kTicksGoodAlmostLateFieldNumber = 42, - kTicksFixedDroppedFieldNumber = 43, - kTicksFixedLateFieldNumber = 44, - kTicksBadDroppedFieldNumber = 45, - kTicksBadLateFieldNumber = 46, - kTicksBadOtherFieldNumber = 47, - kTickMissrateSamplesTotalFieldNumber = 50, - kTickMissrateSamplesPerfectFieldNumber = 51, - kTickMissrateSamplesPerfectnetFieldNumber = 52, - kTickMissratenetP75X10FieldNumber = 53, - kTickMissratenetP95X10FieldNumber = 54, - kTickMissratenetP99X10FieldNumber = 55, - kRecvmarginP1FieldNumber = 61, - kRecvmarginP5FieldNumber = 62, - kRecvmarginP25FieldNumber = 63, - kRecvmarginP50FieldNumber = 64, - kRecvmarginP75FieldNumber = 65, - kRecvmarginP95FieldNumber = 66, - }; - // optional uint64 bytes_total = 5; - bool has_bytes_total() const; - private: - bool _internal_has_bytes_total() const; - public: - void clear_bytes_total(); - uint64_t bytes_total() const; - void set_bytes_total(uint64_t value); - private: - uint64_t _internal_bytes_total() const; - void _internal_set_bytes_total(uint64_t value); - public: - - // optional uint32 duration = 1; - bool has_duration() const; - private: - bool _internal_has_duration() const; - public: - void clear_duration(); - uint32_t duration() const; - void set_duration(uint32_t value); - private: - uint32_t _internal_duration() const; - void _internal_set_duration(uint32_t value); - public: - - // optional uint32 bytes_sec_p95 = 10; - bool has_bytes_sec_p95() const; - private: - bool _internal_has_bytes_sec_p95() const; - public: - void clear_bytes_sec_p95(); - uint32_t bytes_sec_p95() const; - void set_bytes_sec_p95(uint32_t value); - private: - uint32_t _internal_bytes_sec_p95() const; - void _internal_set_bytes_sec_p95(uint32_t value); - public: - - // optional uint64 bytes_total_reliable = 6; - bool has_bytes_total_reliable() const; - private: - bool _internal_has_bytes_total_reliable() const; - public: - void clear_bytes_total_reliable(); - uint64_t bytes_total_reliable() const; - void set_bytes_total_reliable(uint64_t value); - private: - uint64_t _internal_bytes_total_reliable() const; - void _internal_set_bytes_total_reliable(uint64_t value); - public: - - // optional uint64 bytes_total_voice = 7; - bool has_bytes_total_voice() const; - private: - bool _internal_has_bytes_total_voice() const; - public: - void clear_bytes_total_voice(); - uint64_t bytes_total_voice() const; - void set_bytes_total_voice(uint64_t value); - private: - uint64_t _internal_bytes_total_voice() const; - void _internal_set_bytes_total_voice(uint64_t value); - public: - - // optional uint32 bytes_sec_p99 = 11; - bool has_bytes_sec_p99() const; - private: - bool _internal_has_bytes_sec_p99() const; - public: - void clear_bytes_sec_p99(); - uint32_t bytes_sec_p99() const; - void set_bytes_sec_p99(uint32_t value); - private: - uint32_t _internal_bytes_sec_p99() const; - void _internal_set_bytes_sec_p99(uint32_t value); - public: - - // optional uint32 enginemsgs_total = 20; - bool has_enginemsgs_total() const; - private: - bool _internal_has_enginemsgs_total() const; - public: - void clear_enginemsgs_total(); - uint32_t enginemsgs_total() const; - void set_enginemsgs_total(uint32_t value); - private: - uint32_t _internal_enginemsgs_total() const; - void _internal_set_enginemsgs_total(uint32_t value); - public: - - // optional uint32 enginemsgs_sec_p95 = 21; - bool has_enginemsgs_sec_p95() const; - private: - bool _internal_has_enginemsgs_sec_p95() const; - public: - void clear_enginemsgs_sec_p95(); - uint32_t enginemsgs_sec_p95() const; - void set_enginemsgs_sec_p95(uint32_t value); - private: - uint32_t _internal_enginemsgs_sec_p95() const; - void _internal_set_enginemsgs_sec_p95(uint32_t value); - public: - - // optional uint32 enginemsgs_sec_p99 = 22; - bool has_enginemsgs_sec_p99() const; - private: - bool _internal_has_enginemsgs_sec_p99() const; - public: - void clear_enginemsgs_sec_p99(); - uint32_t enginemsgs_sec_p99() const; - void set_enginemsgs_sec_p99(uint32_t value); - private: - uint32_t _internal_enginemsgs_sec_p99() const; - void _internal_set_enginemsgs_sec_p99(uint32_t value); - public: - - // optional uint32 ticks_total = 40; - bool has_ticks_total() const; - private: - bool _internal_has_ticks_total() const; - public: - void clear_ticks_total(); - uint32_t ticks_total() const; - void set_ticks_total(uint32_t value); - private: - uint32_t _internal_ticks_total() const; - void _internal_set_ticks_total(uint32_t value); - public: - - // optional uint32 ticks_good = 41; - bool has_ticks_good() const; - private: - bool _internal_has_ticks_good() const; - public: - void clear_ticks_good(); - uint32_t ticks_good() const; - void set_ticks_good(uint32_t value); - private: - uint32_t _internal_ticks_good() const; - void _internal_set_ticks_good(uint32_t value); - public: - - // optional uint32 ticks_good_almost_late = 42; - bool has_ticks_good_almost_late() const; - private: - bool _internal_has_ticks_good_almost_late() const; - public: - void clear_ticks_good_almost_late(); - uint32_t ticks_good_almost_late() const; - void set_ticks_good_almost_late(uint32_t value); - private: - uint32_t _internal_ticks_good_almost_late() const; - void _internal_set_ticks_good_almost_late(uint32_t value); - public: - - // optional uint32 ticks_fixed_dropped = 43; - bool has_ticks_fixed_dropped() const; - private: - bool _internal_has_ticks_fixed_dropped() const; - public: - void clear_ticks_fixed_dropped(); - uint32_t ticks_fixed_dropped() const; - void set_ticks_fixed_dropped(uint32_t value); - private: - uint32_t _internal_ticks_fixed_dropped() const; - void _internal_set_ticks_fixed_dropped(uint32_t value); - public: - - // optional uint32 ticks_fixed_late = 44; - bool has_ticks_fixed_late() const; - private: - bool _internal_has_ticks_fixed_late() const; - public: - void clear_ticks_fixed_late(); - uint32_t ticks_fixed_late() const; - void set_ticks_fixed_late(uint32_t value); - private: - uint32_t _internal_ticks_fixed_late() const; - void _internal_set_ticks_fixed_late(uint32_t value); - public: - - // optional uint32 ticks_bad_dropped = 45; - bool has_ticks_bad_dropped() const; - private: - bool _internal_has_ticks_bad_dropped() const; - public: - void clear_ticks_bad_dropped(); - uint32_t ticks_bad_dropped() const; - void set_ticks_bad_dropped(uint32_t value); - private: - uint32_t _internal_ticks_bad_dropped() const; - void _internal_set_ticks_bad_dropped(uint32_t value); - public: - - // optional uint32 ticks_bad_late = 46; - bool has_ticks_bad_late() const; - private: - bool _internal_has_ticks_bad_late() const; - public: - void clear_ticks_bad_late(); - uint32_t ticks_bad_late() const; - void set_ticks_bad_late(uint32_t value); - private: - uint32_t _internal_ticks_bad_late() const; - void _internal_set_ticks_bad_late(uint32_t value); - public: - - // optional uint32 ticks_bad_other = 47; - bool has_ticks_bad_other() const; - private: - bool _internal_has_ticks_bad_other() const; - public: - void clear_ticks_bad_other(); - uint32_t ticks_bad_other() const; - void set_ticks_bad_other(uint32_t value); - private: - uint32_t _internal_ticks_bad_other() const; - void _internal_set_ticks_bad_other(uint32_t value); - public: - - // optional uint32 tick_missrate_samples_total = 50; - bool has_tick_missrate_samples_total() const; - private: - bool _internal_has_tick_missrate_samples_total() const; - public: - void clear_tick_missrate_samples_total(); - uint32_t tick_missrate_samples_total() const; - void set_tick_missrate_samples_total(uint32_t value); - private: - uint32_t _internal_tick_missrate_samples_total() const; - void _internal_set_tick_missrate_samples_total(uint32_t value); - public: - - // optional uint32 tick_missrate_samples_perfect = 51; - bool has_tick_missrate_samples_perfect() const; - private: - bool _internal_has_tick_missrate_samples_perfect() const; - public: - void clear_tick_missrate_samples_perfect(); - uint32_t tick_missrate_samples_perfect() const; - void set_tick_missrate_samples_perfect(uint32_t value); - private: - uint32_t _internal_tick_missrate_samples_perfect() const; - void _internal_set_tick_missrate_samples_perfect(uint32_t value); - public: - - // optional uint32 tick_missrate_samples_perfectnet = 52; - bool has_tick_missrate_samples_perfectnet() const; - private: - bool _internal_has_tick_missrate_samples_perfectnet() const; - public: - void clear_tick_missrate_samples_perfectnet(); - uint32_t tick_missrate_samples_perfectnet() const; - void set_tick_missrate_samples_perfectnet(uint32_t value); - private: - uint32_t _internal_tick_missrate_samples_perfectnet() const; - void _internal_set_tick_missrate_samples_perfectnet(uint32_t value); - public: - - // optional uint32 tick_missratenet_p75_x10 = 53; - bool has_tick_missratenet_p75_x10() const; - private: - bool _internal_has_tick_missratenet_p75_x10() const; - public: - void clear_tick_missratenet_p75_x10(); - uint32_t tick_missratenet_p75_x10() const; - void set_tick_missratenet_p75_x10(uint32_t value); - private: - uint32_t _internal_tick_missratenet_p75_x10() const; - void _internal_set_tick_missratenet_p75_x10(uint32_t value); - public: - - // optional uint32 tick_missratenet_p95_x10 = 54; - bool has_tick_missratenet_p95_x10() const; - private: - bool _internal_has_tick_missratenet_p95_x10() const; - public: - void clear_tick_missratenet_p95_x10(); - uint32_t tick_missratenet_p95_x10() const; - void set_tick_missratenet_p95_x10(uint32_t value); - private: - uint32_t _internal_tick_missratenet_p95_x10() const; - void _internal_set_tick_missratenet_p95_x10(uint32_t value); - public: - - // optional uint32 tick_missratenet_p99_x10 = 55; - bool has_tick_missratenet_p99_x10() const; - private: - bool _internal_has_tick_missratenet_p99_x10() const; - public: - void clear_tick_missratenet_p99_x10(); - uint32_t tick_missratenet_p99_x10() const; - void set_tick_missratenet_p99_x10(uint32_t value); - private: - uint32_t _internal_tick_missratenet_p99_x10() const; - void _internal_set_tick_missratenet_p99_x10(uint32_t value); - public: - - // optional sint32 recvmargin_p1 = 61; - bool has_recvmargin_p1() const; - private: - bool _internal_has_recvmargin_p1() const; - public: - void clear_recvmargin_p1(); - int32_t recvmargin_p1() const; - void set_recvmargin_p1(int32_t value); - private: - int32_t _internal_recvmargin_p1() const; - void _internal_set_recvmargin_p1(int32_t value); - public: - - // optional sint32 recvmargin_p5 = 62; - bool has_recvmargin_p5() const; - private: - bool _internal_has_recvmargin_p5() const; - public: - void clear_recvmargin_p5(); - int32_t recvmargin_p5() const; - void set_recvmargin_p5(int32_t value); - private: - int32_t _internal_recvmargin_p5() const; - void _internal_set_recvmargin_p5(int32_t value); - public: - - // optional sint32 recvmargin_p25 = 63; - bool has_recvmargin_p25() const; - private: - bool _internal_has_recvmargin_p25() const; - public: - void clear_recvmargin_p25(); - int32_t recvmargin_p25() const; - void set_recvmargin_p25(int32_t value); - private: - int32_t _internal_recvmargin_p25() const; - void _internal_set_recvmargin_p25(int32_t value); - public: - - // optional sint32 recvmargin_p50 = 64; - bool has_recvmargin_p50() const; - private: - bool _internal_has_recvmargin_p50() const; - public: - void clear_recvmargin_p50(); - int32_t recvmargin_p50() const; - void set_recvmargin_p50(int32_t value); - private: - int32_t _internal_recvmargin_p50() const; - void _internal_set_recvmargin_p50(int32_t value); - public: - - // optional sint32 recvmargin_p75 = 65; - bool has_recvmargin_p75() const; - private: - bool _internal_has_recvmargin_p75() const; - public: - void clear_recvmargin_p75(); - int32_t recvmargin_p75() const; - void set_recvmargin_p75(int32_t value); - private: - int32_t _internal_recvmargin_p75() const; - void _internal_set_recvmargin_p75(int32_t value); - public: - - // optional sint32 recvmargin_p95 = 66; - bool has_recvmargin_p95() const; - private: - bool _internal_has_recvmargin_p95() const; - public: - void clear_recvmargin_p95(); - int32_t recvmargin_p95() const; - void set_recvmargin_p95(int32_t value); - private: - int32_t _internal_recvmargin_p95() const; - void _internal_set_recvmargin_p95(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSource2NetworkFlowQuality) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t bytes_total_; - uint32_t duration_; - uint32_t bytes_sec_p95_; - uint64_t bytes_total_reliable_; - uint64_t bytes_total_voice_; - uint32_t bytes_sec_p99_; - uint32_t enginemsgs_total_; - uint32_t enginemsgs_sec_p95_; - uint32_t enginemsgs_sec_p99_; - uint32_t ticks_total_; - uint32_t ticks_good_; - uint32_t ticks_good_almost_late_; - uint32_t ticks_fixed_dropped_; - uint32_t ticks_fixed_late_; - uint32_t ticks_bad_dropped_; - uint32_t ticks_bad_late_; - uint32_t ticks_bad_other_; - uint32_t tick_missrate_samples_total_; - uint32_t tick_missrate_samples_perfect_; - uint32_t tick_missrate_samples_perfectnet_; - uint32_t tick_missratenet_p75_x10_; - uint32_t tick_missratenet_p95_x10_; - uint32_t tick_missratenet_p99_x10_; - int32_t recvmargin_p1_; - int32_t recvmargin_p5_; - int32_t recvmargin_p25_; - int32_t recvmargin_p50_; - int32_t recvmargin_p75_; - int32_t recvmargin_p95_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSource2PerfIntervalSample_Tag : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2PerfIntervalSample.Tag) */ { - public: - inline CMsgSource2PerfIntervalSample_Tag() : CMsgSource2PerfIntervalSample_Tag(nullptr) {} - ~CMsgSource2PerfIntervalSample_Tag() override; - explicit PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample_Tag(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSource2PerfIntervalSample_Tag(const CMsgSource2PerfIntervalSample_Tag& from); - CMsgSource2PerfIntervalSample_Tag(CMsgSource2PerfIntervalSample_Tag&& from) noexcept - : CMsgSource2PerfIntervalSample_Tag() { - *this = ::std::move(from); - } - - inline CMsgSource2PerfIntervalSample_Tag& operator=(const CMsgSource2PerfIntervalSample_Tag& from) { - CopyFrom(from); - return *this; - } - inline CMsgSource2PerfIntervalSample_Tag& operator=(CMsgSource2PerfIntervalSample_Tag&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSource2PerfIntervalSample_Tag& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSource2PerfIntervalSample_Tag* internal_default_instance() { - return reinterpret_cast( - &_CMsgSource2PerfIntervalSample_Tag_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - friend void swap(CMsgSource2PerfIntervalSample_Tag& a, CMsgSource2PerfIntervalSample_Tag& b) { - a.Swap(&b); - } - inline void Swap(CMsgSource2PerfIntervalSample_Tag* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSource2PerfIntervalSample_Tag* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSource2PerfIntervalSample_Tag* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSource2PerfIntervalSample_Tag& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSource2PerfIntervalSample_Tag& from) { - CMsgSource2PerfIntervalSample_Tag::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSource2PerfIntervalSample_Tag* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSource2PerfIntervalSample.Tag"; - } - protected: - explicit CMsgSource2PerfIntervalSample_Tag(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTagFieldNumber = 1, - kMaxValueFieldNumber = 2, - }; - // optional string tag = 1; - bool has_tag() const; - private: - bool _internal_has_tag() const; - public: - void clear_tag(); - const std::string& tag() const; - template - void set_tag(ArgT0&& arg0, ArgT... args); - std::string* mutable_tag(); - PROTOBUF_NODISCARD std::string* release_tag(); - void set_allocated_tag(std::string* tag); - private: - const std::string& _internal_tag() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_tag(const std::string& value); - std::string* _internal_mutable_tag(); - public: - - // optional uint32 max_value = 2; - bool has_max_value() const; - private: - bool _internal_has_max_value() const; - public: - void clear_max_value(); - uint32_t max_value() const; - void set_max_value(uint32_t value); - private: - uint32_t _internal_max_value() const; - void _internal_set_max_value(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSource2PerfIntervalSample.Tag) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_; - uint32_t max_value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSource2PerfIntervalSample : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSource2PerfIntervalSample) */ { - public: - inline CMsgSource2PerfIntervalSample() : CMsgSource2PerfIntervalSample(nullptr) {} - ~CMsgSource2PerfIntervalSample() override; - explicit PROTOBUF_CONSTEXPR CMsgSource2PerfIntervalSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSource2PerfIntervalSample(const CMsgSource2PerfIntervalSample& from); - CMsgSource2PerfIntervalSample(CMsgSource2PerfIntervalSample&& from) noexcept - : CMsgSource2PerfIntervalSample() { - *this = ::std::move(from); - } - - inline CMsgSource2PerfIntervalSample& operator=(const CMsgSource2PerfIntervalSample& from) { - CopyFrom(from); - return *this; - } - inline CMsgSource2PerfIntervalSample& operator=(CMsgSource2PerfIntervalSample&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSource2PerfIntervalSample& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSource2PerfIntervalSample* internal_default_instance() { - return reinterpret_cast( - &_CMsgSource2PerfIntervalSample_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - friend void swap(CMsgSource2PerfIntervalSample& a, CMsgSource2PerfIntervalSample& b) { - a.Swap(&b); - } - inline void Swap(CMsgSource2PerfIntervalSample* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSource2PerfIntervalSample* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSource2PerfIntervalSample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSource2PerfIntervalSample& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSource2PerfIntervalSample& from) { - CMsgSource2PerfIntervalSample::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSource2PerfIntervalSample* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSource2PerfIntervalSample"; - } - protected: - explicit CMsgSource2PerfIntervalSample(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSource2PerfIntervalSample_Tag Tag; - - // accessors ------------------------------------------------------- - - enum : int { - kTagsFieldNumber = 6, - kFrameTimeMaxMsFieldNumber = 1, - kFrameTimeAvgMsFieldNumber = 2, - kFrameTimeMinMsFieldNumber = 3, - kFrameCountFieldNumber = 4, - kFrameTimeTotalMsFieldNumber = 5, - }; - // repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; - int tags_size() const; - private: - int _internal_tags_size() const; - public: - void clear_tags(); - ::CMsgSource2PerfIntervalSample_Tag* mutable_tags(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag >* - mutable_tags(); - private: - const ::CMsgSource2PerfIntervalSample_Tag& _internal_tags(int index) const; - ::CMsgSource2PerfIntervalSample_Tag* _internal_add_tags(); - public: - const ::CMsgSource2PerfIntervalSample_Tag& tags(int index) const; - ::CMsgSource2PerfIntervalSample_Tag* add_tags(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag >& - tags() const; - - // optional float frame_time_max_ms = 1; - bool has_frame_time_max_ms() const; - private: - bool _internal_has_frame_time_max_ms() const; - public: - void clear_frame_time_max_ms(); - float frame_time_max_ms() const; - void set_frame_time_max_ms(float value); - private: - float _internal_frame_time_max_ms() const; - void _internal_set_frame_time_max_ms(float value); - public: - - // optional float frame_time_avg_ms = 2; - bool has_frame_time_avg_ms() const; - private: - bool _internal_has_frame_time_avg_ms() const; - public: - void clear_frame_time_avg_ms(); - float frame_time_avg_ms() const; - void set_frame_time_avg_ms(float value); - private: - float _internal_frame_time_avg_ms() const; - void _internal_set_frame_time_avg_ms(float value); - public: - - // optional float frame_time_min_ms = 3; - bool has_frame_time_min_ms() const; - private: - bool _internal_has_frame_time_min_ms() const; - public: - void clear_frame_time_min_ms(); - float frame_time_min_ms() const; - void set_frame_time_min_ms(float value); - private: - float _internal_frame_time_min_ms() const; - void _internal_set_frame_time_min_ms(float value); - public: - - // optional int32 frame_count = 4; - bool has_frame_count() const; - private: - bool _internal_has_frame_count() const; - public: - void clear_frame_count(); - int32_t frame_count() const; - void set_frame_count(int32_t value); - private: - int32_t _internal_frame_count() const; - void _internal_set_frame_count(int32_t value); - public: - - // optional float frame_time_total_ms = 5; - bool has_frame_time_total_ms() const; - private: - bool _internal_has_frame_time_total_ms() const; - public: - void clear_frame_time_total_ms(); - float frame_time_total_ms() const; - void set_frame_time_total_ms(float value); - private: - float _internal_frame_time_total_ms() const; - void _internal_set_frame_time_total_ms(float value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSource2PerfIntervalSample) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag > tags_; - float frame_time_max_ms_; - float frame_time_avg_ms_; - float frame_time_min_ms_; - int32_t frame_count_; - float frame_time_total_ms_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCLCMsg_Diagnostic : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_Diagnostic) */ { - public: - inline CCLCMsg_Diagnostic() : CCLCMsg_Diagnostic(nullptr) {} - ~CCLCMsg_Diagnostic() override; - explicit PROTOBUF_CONSTEXPR CCLCMsg_Diagnostic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCLCMsg_Diagnostic(const CCLCMsg_Diagnostic& from); - CCLCMsg_Diagnostic(CCLCMsg_Diagnostic&& from) noexcept - : CCLCMsg_Diagnostic() { - *this = ::std::move(from); - } - - inline CCLCMsg_Diagnostic& operator=(const CCLCMsg_Diagnostic& from) { - CopyFrom(from); - return *this; - } - inline CCLCMsg_Diagnostic& operator=(CCLCMsg_Diagnostic&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCLCMsg_Diagnostic& default_instance() { - return *internal_default_instance(); - } - static inline const CCLCMsg_Diagnostic* internal_default_instance() { - return reinterpret_cast( - &_CCLCMsg_Diagnostic_default_instance_); - } - static constexpr int kIndexInFileMessages = - 20; - - friend void swap(CCLCMsg_Diagnostic& a, CCLCMsg_Diagnostic& b) { - a.Swap(&b); - } - inline void Swap(CCLCMsg_Diagnostic* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCLCMsg_Diagnostic* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCLCMsg_Diagnostic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCLCMsg_Diagnostic& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCLCMsg_Diagnostic& from) { - CCLCMsg_Diagnostic::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCLCMsg_Diagnostic* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCLCMsg_Diagnostic"; - } - protected: - explicit CCLCMsg_Diagnostic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPerfSamplesFieldNumber = 5, - kSystemSpecsFieldNumber = 1, - kVprofReportFieldNumber = 2, - kDownstreamFlowFieldNumber = 3, - kUpstreamFlowFieldNumber = 4, - }; - // repeated .CMsgSource2PerfIntervalSample perf_samples = 5; - int perf_samples_size() const; - private: - int _internal_perf_samples_size() const; - public: - void clear_perf_samples(); - ::CMsgSource2PerfIntervalSample* mutable_perf_samples(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >* - mutable_perf_samples(); - private: - const ::CMsgSource2PerfIntervalSample& _internal_perf_samples(int index) const; - ::CMsgSource2PerfIntervalSample* _internal_add_perf_samples(); - public: - const ::CMsgSource2PerfIntervalSample& perf_samples(int index) const; - ::CMsgSource2PerfIntervalSample* add_perf_samples(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >& - perf_samples() const; - - // optional .CMsgSource2SystemSpecs system_specs = 1; - bool has_system_specs() const; - private: - bool _internal_has_system_specs() const; - public: - void clear_system_specs(); - const ::CMsgSource2SystemSpecs& system_specs() const; - PROTOBUF_NODISCARD ::CMsgSource2SystemSpecs* release_system_specs(); - ::CMsgSource2SystemSpecs* mutable_system_specs(); - void set_allocated_system_specs(::CMsgSource2SystemSpecs* system_specs); - private: - const ::CMsgSource2SystemSpecs& _internal_system_specs() const; - ::CMsgSource2SystemSpecs* _internal_mutable_system_specs(); - public: - void unsafe_arena_set_allocated_system_specs( - ::CMsgSource2SystemSpecs* system_specs); - ::CMsgSource2SystemSpecs* unsafe_arena_release_system_specs(); - - // optional .CMsgSource2VProfLiteReport vprof_report = 2; - bool has_vprof_report() const; - private: - bool _internal_has_vprof_report() const; - public: - void clear_vprof_report(); - const ::CMsgSource2VProfLiteReport& vprof_report() const; - PROTOBUF_NODISCARD ::CMsgSource2VProfLiteReport* release_vprof_report(); - ::CMsgSource2VProfLiteReport* mutable_vprof_report(); - void set_allocated_vprof_report(::CMsgSource2VProfLiteReport* vprof_report); - private: - const ::CMsgSource2VProfLiteReport& _internal_vprof_report() const; - ::CMsgSource2VProfLiteReport* _internal_mutable_vprof_report(); - public: - void unsafe_arena_set_allocated_vprof_report( - ::CMsgSource2VProfLiteReport* vprof_report); - ::CMsgSource2VProfLiteReport* unsafe_arena_release_vprof_report(); - - // optional .CMsgSource2NetworkFlowQuality downstream_flow = 3; - bool has_downstream_flow() const; - private: - bool _internal_has_downstream_flow() const; - public: - void clear_downstream_flow(); - const ::CMsgSource2NetworkFlowQuality& downstream_flow() const; - PROTOBUF_NODISCARD ::CMsgSource2NetworkFlowQuality* release_downstream_flow(); - ::CMsgSource2NetworkFlowQuality* mutable_downstream_flow(); - void set_allocated_downstream_flow(::CMsgSource2NetworkFlowQuality* downstream_flow); - private: - const ::CMsgSource2NetworkFlowQuality& _internal_downstream_flow() const; - ::CMsgSource2NetworkFlowQuality* _internal_mutable_downstream_flow(); - public: - void unsafe_arena_set_allocated_downstream_flow( - ::CMsgSource2NetworkFlowQuality* downstream_flow); - ::CMsgSource2NetworkFlowQuality* unsafe_arena_release_downstream_flow(); - - // optional .CMsgSource2NetworkFlowQuality upstream_flow = 4; - bool has_upstream_flow() const; - private: - bool _internal_has_upstream_flow() const; - public: - void clear_upstream_flow(); - const ::CMsgSource2NetworkFlowQuality& upstream_flow() const; - PROTOBUF_NODISCARD ::CMsgSource2NetworkFlowQuality* release_upstream_flow(); - ::CMsgSource2NetworkFlowQuality* mutable_upstream_flow(); - void set_allocated_upstream_flow(::CMsgSource2NetworkFlowQuality* upstream_flow); - private: - const ::CMsgSource2NetworkFlowQuality& _internal_upstream_flow() const; - ::CMsgSource2NetworkFlowQuality* _internal_mutable_upstream_flow(); - public: - void unsafe_arena_set_allocated_upstream_flow( - ::CMsgSource2NetworkFlowQuality* upstream_flow); - ::CMsgSource2NetworkFlowQuality* unsafe_arena_release_upstream_flow(); - - // @@protoc_insertion_point(class_scope:CCLCMsg_Diagnostic) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample > perf_samples_; - ::CMsgSource2SystemSpecs* system_specs_; - ::CMsgSource2VProfLiteReport* vprof_report_; - ::CMsgSource2NetworkFlowQuality* downstream_flow_; - ::CMsgSource2NetworkFlowQuality* upstream_flow_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSource2Metrics_MatchPerfSummary_Notification_Client : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSource2Metrics_MatchPerfSummary_Notification.Client) */ { - public: - inline CSource2Metrics_MatchPerfSummary_Notification_Client() : CSource2Metrics_MatchPerfSummary_Notification_Client(nullptr) {} - ~CSource2Metrics_MatchPerfSummary_Notification_Client() override; - explicit PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification_Client(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSource2Metrics_MatchPerfSummary_Notification_Client(const CSource2Metrics_MatchPerfSummary_Notification_Client& from); - CSource2Metrics_MatchPerfSummary_Notification_Client(CSource2Metrics_MatchPerfSummary_Notification_Client&& from) noexcept - : CSource2Metrics_MatchPerfSummary_Notification_Client() { - *this = ::std::move(from); - } - - inline CSource2Metrics_MatchPerfSummary_Notification_Client& operator=(const CSource2Metrics_MatchPerfSummary_Notification_Client& from) { - CopyFrom(from); - return *this; - } - inline CSource2Metrics_MatchPerfSummary_Notification_Client& operator=(CSource2Metrics_MatchPerfSummary_Notification_Client&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSource2Metrics_MatchPerfSummary_Notification_Client& default_instance() { - return *internal_default_instance(); - } - static inline const CSource2Metrics_MatchPerfSummary_Notification_Client* internal_default_instance() { - return reinterpret_cast( - &_CSource2Metrics_MatchPerfSummary_Notification_Client_default_instance_); - } - static constexpr int kIndexInFileMessages = - 21; - - friend void swap(CSource2Metrics_MatchPerfSummary_Notification_Client& a, CSource2Metrics_MatchPerfSummary_Notification_Client& b) { - a.Swap(&b); - } - inline void Swap(CSource2Metrics_MatchPerfSummary_Notification_Client* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSource2Metrics_MatchPerfSummary_Notification_Client* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSource2Metrics_MatchPerfSummary_Notification_Client* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSource2Metrics_MatchPerfSummary_Notification_Client& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSource2Metrics_MatchPerfSummary_Notification_Client& from) { - CSource2Metrics_MatchPerfSummary_Notification_Client::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSource2Metrics_MatchPerfSummary_Notification_Client* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSource2Metrics_MatchPerfSummary_Notification.Client"; - } - protected: - explicit CSource2Metrics_MatchPerfSummary_Notification_Client(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPerfSamplesFieldNumber = 11, - kSystemSpecsFieldNumber = 1, - kProfileFieldNumber = 2, - kDownstreamFlowFieldNumber = 4, - kUpstreamFlowFieldNumber = 5, - kSteamidFieldNumber = 10, - kBuildIdFieldNumber = 3, - }; - // repeated .CMsgSource2PerfIntervalSample perf_samples = 11; - int perf_samples_size() const; - private: - int _internal_perf_samples_size() const; - public: - void clear_perf_samples(); - ::CMsgSource2PerfIntervalSample* mutable_perf_samples(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >* - mutable_perf_samples(); - private: - const ::CMsgSource2PerfIntervalSample& _internal_perf_samples(int index) const; - ::CMsgSource2PerfIntervalSample* _internal_add_perf_samples(); - public: - const ::CMsgSource2PerfIntervalSample& perf_samples(int index) const; - ::CMsgSource2PerfIntervalSample* add_perf_samples(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >& - perf_samples() const; - - // optional .CMsgSource2SystemSpecs system_specs = 1; - bool has_system_specs() const; - private: - bool _internal_has_system_specs() const; - public: - void clear_system_specs(); - const ::CMsgSource2SystemSpecs& system_specs() const; - PROTOBUF_NODISCARD ::CMsgSource2SystemSpecs* release_system_specs(); - ::CMsgSource2SystemSpecs* mutable_system_specs(); - void set_allocated_system_specs(::CMsgSource2SystemSpecs* system_specs); - private: - const ::CMsgSource2SystemSpecs& _internal_system_specs() const; - ::CMsgSource2SystemSpecs* _internal_mutable_system_specs(); - public: - void unsafe_arena_set_allocated_system_specs( - ::CMsgSource2SystemSpecs* system_specs); - ::CMsgSource2SystemSpecs* unsafe_arena_release_system_specs(); - - // optional .CMsgSource2VProfLiteReport profile = 2; - bool has_profile() const; - private: - bool _internal_has_profile() const; - public: - void clear_profile(); - const ::CMsgSource2VProfLiteReport& profile() const; - PROTOBUF_NODISCARD ::CMsgSource2VProfLiteReport* release_profile(); - ::CMsgSource2VProfLiteReport* mutable_profile(); - void set_allocated_profile(::CMsgSource2VProfLiteReport* profile); - private: - const ::CMsgSource2VProfLiteReport& _internal_profile() const; - ::CMsgSource2VProfLiteReport* _internal_mutable_profile(); - public: - void unsafe_arena_set_allocated_profile( - ::CMsgSource2VProfLiteReport* profile); - ::CMsgSource2VProfLiteReport* unsafe_arena_release_profile(); - - // optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; - bool has_downstream_flow() const; - private: - bool _internal_has_downstream_flow() const; - public: - void clear_downstream_flow(); - const ::CMsgSource2NetworkFlowQuality& downstream_flow() const; - PROTOBUF_NODISCARD ::CMsgSource2NetworkFlowQuality* release_downstream_flow(); - ::CMsgSource2NetworkFlowQuality* mutable_downstream_flow(); - void set_allocated_downstream_flow(::CMsgSource2NetworkFlowQuality* downstream_flow); - private: - const ::CMsgSource2NetworkFlowQuality& _internal_downstream_flow() const; - ::CMsgSource2NetworkFlowQuality* _internal_mutable_downstream_flow(); - public: - void unsafe_arena_set_allocated_downstream_flow( - ::CMsgSource2NetworkFlowQuality* downstream_flow); - ::CMsgSource2NetworkFlowQuality* unsafe_arena_release_downstream_flow(); - - // optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; - bool has_upstream_flow() const; - private: - bool _internal_has_upstream_flow() const; - public: - void clear_upstream_flow(); - const ::CMsgSource2NetworkFlowQuality& upstream_flow() const; - PROTOBUF_NODISCARD ::CMsgSource2NetworkFlowQuality* release_upstream_flow(); - ::CMsgSource2NetworkFlowQuality* mutable_upstream_flow(); - void set_allocated_upstream_flow(::CMsgSource2NetworkFlowQuality* upstream_flow); - private: - const ::CMsgSource2NetworkFlowQuality& _internal_upstream_flow() const; - ::CMsgSource2NetworkFlowQuality* _internal_mutable_upstream_flow(); - public: - void unsafe_arena_set_allocated_upstream_flow( - ::CMsgSource2NetworkFlowQuality* upstream_flow); - ::CMsgSource2NetworkFlowQuality* unsafe_arena_release_upstream_flow(); - - // optional fixed64 steamid = 10; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional uint32 build_id = 3; - bool has_build_id() const; - private: - bool _internal_has_build_id() const; - public: - void clear_build_id(); - uint32_t build_id() const; - void set_build_id(uint32_t value); - private: - uint32_t _internal_build_id() const; - void _internal_set_build_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSource2Metrics_MatchPerfSummary_Notification.Client) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample > perf_samples_; - ::CMsgSource2SystemSpecs* system_specs_; - ::CMsgSource2VProfLiteReport* profile_; - ::CMsgSource2NetworkFlowQuality* downstream_flow_; - ::CMsgSource2NetworkFlowQuality* upstream_flow_; - uint64_t steamid_; - uint32_t build_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSource2Metrics_MatchPerfSummary_Notification : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSource2Metrics_MatchPerfSummary_Notification) */ { - public: - inline CSource2Metrics_MatchPerfSummary_Notification() : CSource2Metrics_MatchPerfSummary_Notification(nullptr) {} - ~CSource2Metrics_MatchPerfSummary_Notification() override; - explicit PROTOBUF_CONSTEXPR CSource2Metrics_MatchPerfSummary_Notification(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSource2Metrics_MatchPerfSummary_Notification(const CSource2Metrics_MatchPerfSummary_Notification& from); - CSource2Metrics_MatchPerfSummary_Notification(CSource2Metrics_MatchPerfSummary_Notification&& from) noexcept - : CSource2Metrics_MatchPerfSummary_Notification() { - *this = ::std::move(from); - } - - inline CSource2Metrics_MatchPerfSummary_Notification& operator=(const CSource2Metrics_MatchPerfSummary_Notification& from) { - CopyFrom(from); - return *this; - } - inline CSource2Metrics_MatchPerfSummary_Notification& operator=(CSource2Metrics_MatchPerfSummary_Notification&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSource2Metrics_MatchPerfSummary_Notification& default_instance() { - return *internal_default_instance(); - } - static inline const CSource2Metrics_MatchPerfSummary_Notification* internal_default_instance() { - return reinterpret_cast( - &_CSource2Metrics_MatchPerfSummary_Notification_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - friend void swap(CSource2Metrics_MatchPerfSummary_Notification& a, CSource2Metrics_MatchPerfSummary_Notification& b) { - a.Swap(&b); - } - inline void Swap(CSource2Metrics_MatchPerfSummary_Notification* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSource2Metrics_MatchPerfSummary_Notification* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSource2Metrics_MatchPerfSummary_Notification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSource2Metrics_MatchPerfSummary_Notification& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSource2Metrics_MatchPerfSummary_Notification& from) { - CSource2Metrics_MatchPerfSummary_Notification::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSource2Metrics_MatchPerfSummary_Notification* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSource2Metrics_MatchPerfSummary_Notification"; - } - protected: - explicit CSource2Metrics_MatchPerfSummary_Notification(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CSource2Metrics_MatchPerfSummary_Notification_Client Client; - - // accessors ------------------------------------------------------- - - enum : int { - kClientsFieldNumber = 11, - kGameModeFieldNumber = 2, - kMapFieldNumber = 20, - kServerProfileFieldNumber = 10, - kAppidFieldNumber = 1, - kServerBuildIdFieldNumber = 3, - kServerPopidFieldNumber = 4, - }; - // repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; - int clients_size() const; - private: - int _internal_clients_size() const; - public: - void clear_clients(); - ::CSource2Metrics_MatchPerfSummary_Notification_Client* mutable_clients(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client >* - mutable_clients(); - private: - const ::CSource2Metrics_MatchPerfSummary_Notification_Client& _internal_clients(int index) const; - ::CSource2Metrics_MatchPerfSummary_Notification_Client* _internal_add_clients(); - public: - const ::CSource2Metrics_MatchPerfSummary_Notification_Client& clients(int index) const; - ::CSource2Metrics_MatchPerfSummary_Notification_Client* add_clients(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client >& - clients() const; - - // optional string game_mode = 2; - bool has_game_mode() const; - private: - bool _internal_has_game_mode() const; - public: - void clear_game_mode(); - const std::string& game_mode() const; - template - void set_game_mode(ArgT0&& arg0, ArgT... args); - std::string* mutable_game_mode(); - PROTOBUF_NODISCARD std::string* release_game_mode(); - void set_allocated_game_mode(std::string* game_mode); - private: - const std::string& _internal_game_mode() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_mode(const std::string& value); - std::string* _internal_mutable_game_mode(); - public: - - // optional string map = 20; - bool has_map() const; - private: - bool _internal_has_map() const; - public: - void clear_map(); - const std::string& map() const; - template - void set_map(ArgT0&& arg0, ArgT... args); - std::string* mutable_map(); - PROTOBUF_NODISCARD std::string* release_map(); - void set_allocated_map(std::string* map); - private: - const std::string& _internal_map() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_map(const std::string& value); - std::string* _internal_mutable_map(); - public: - - // optional .CMsgSource2VProfLiteReport server_profile = 10; - bool has_server_profile() const; - private: - bool _internal_has_server_profile() const; - public: - void clear_server_profile(); - const ::CMsgSource2VProfLiteReport& server_profile() const; - PROTOBUF_NODISCARD ::CMsgSource2VProfLiteReport* release_server_profile(); - ::CMsgSource2VProfLiteReport* mutable_server_profile(); - void set_allocated_server_profile(::CMsgSource2VProfLiteReport* server_profile); - private: - const ::CMsgSource2VProfLiteReport& _internal_server_profile() const; - ::CMsgSource2VProfLiteReport* _internal_mutable_server_profile(); - public: - void unsafe_arena_set_allocated_server_profile( - ::CMsgSource2VProfLiteReport* server_profile); - ::CMsgSource2VProfLiteReport* unsafe_arena_release_server_profile(); - - // optional uint32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional uint32 server_build_id = 3; - bool has_server_build_id() const; - private: - bool _internal_has_server_build_id() const; - public: - void clear_server_build_id(); - uint32_t server_build_id() const; - void set_server_build_id(uint32_t value); - private: - uint32_t _internal_server_build_id() const; - void _internal_set_server_build_id(uint32_t value); - public: - - // optional fixed32 server_popid = 4; - bool has_server_popid() const; - private: - bool _internal_has_server_popid() const; - public: - void clear_server_popid(); - uint32_t server_popid() const; - void set_server_popid(uint32_t value); - private: - uint32_t _internal_server_popid() const; - void _internal_set_server_popid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSource2Metrics_MatchPerfSummary_Notification) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client > clients_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_mode_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_; - ::CMsgSource2VProfLiteReport* server_profile_; - uint32_t appid_; - uint32_t server_build_id_; - uint32_t server_popid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_ServerInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_ServerInfo) */ { - public: - inline CSVCMsg_ServerInfo() : CSVCMsg_ServerInfo(nullptr) {} - ~CSVCMsg_ServerInfo() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_ServerInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_ServerInfo(const CSVCMsg_ServerInfo& from); - CSVCMsg_ServerInfo(CSVCMsg_ServerInfo&& from) noexcept - : CSVCMsg_ServerInfo() { - *this = ::std::move(from); - } - - inline CSVCMsg_ServerInfo& operator=(const CSVCMsg_ServerInfo& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_ServerInfo& operator=(CSVCMsg_ServerInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_ServerInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_ServerInfo* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_ServerInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 23; - - friend void swap(CSVCMsg_ServerInfo& a, CSVCMsg_ServerInfo& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_ServerInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_ServerInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_ServerInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_ServerInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_ServerInfo& from) { - CSVCMsg_ServerInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_ServerInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_ServerInfo"; - } - protected: - explicit CSVCMsg_ServerInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGameDirFieldNumber = 14, - kMapNameFieldNumber = 15, - kSkyNameFieldNumber = 16, - kHostNameFieldNumber = 17, - kAddonNameFieldNumber = 18, - kGameSessionManifestFieldNumber = 20, - kGameSessionConfigFieldNumber = 19, - kProtocolFieldNumber = 1, - kServerCountFieldNumber = 2, - kIsDedicatedFieldNumber = 3, - kIsHltvFieldNumber = 4, - kCOsFieldNumber = 6, - kMaxClientsFieldNumber = 10, - kMaxClassesFieldNumber = 11, - kTickIntervalFieldNumber = 13, - kPlayerSlotFieldNumber = 12, - }; - // optional string game_dir = 14; - bool has_game_dir() const; - private: - bool _internal_has_game_dir() const; - public: - void clear_game_dir(); - const std::string& game_dir() const; - template - void set_game_dir(ArgT0&& arg0, ArgT... args); - std::string* mutable_game_dir(); - PROTOBUF_NODISCARD std::string* release_game_dir(); - void set_allocated_game_dir(std::string* game_dir); - private: - const std::string& _internal_game_dir() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_dir(const std::string& value); - std::string* _internal_mutable_game_dir(); - public: - - // optional string map_name = 15; - bool has_map_name() const; - private: - bool _internal_has_map_name() const; - public: - void clear_map_name(); - const std::string& map_name() const; - template - void set_map_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_map_name(); - PROTOBUF_NODISCARD std::string* release_map_name(); - void set_allocated_map_name(std::string* map_name); - private: - const std::string& _internal_map_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_map_name(const std::string& value); - std::string* _internal_mutable_map_name(); - public: - - // optional string sky_name = 16; - bool has_sky_name() const; - private: - bool _internal_has_sky_name() const; - public: - void clear_sky_name(); - const std::string& sky_name() const; - template - void set_sky_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_sky_name(); - PROTOBUF_NODISCARD std::string* release_sky_name(); - void set_allocated_sky_name(std::string* sky_name); - private: - const std::string& _internal_sky_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_sky_name(const std::string& value); - std::string* _internal_mutable_sky_name(); - public: - - // optional string host_name = 17; - bool has_host_name() const; - private: - bool _internal_has_host_name() const; - public: - void clear_host_name(); - const std::string& host_name() const; - template - void set_host_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_host_name(); - PROTOBUF_NODISCARD std::string* release_host_name(); - void set_allocated_host_name(std::string* host_name); - private: - const std::string& _internal_host_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_host_name(const std::string& value); - std::string* _internal_mutable_host_name(); - public: - - // optional string addon_name = 18; - bool has_addon_name() const; - private: - bool _internal_has_addon_name() const; - public: - void clear_addon_name(); - const std::string& addon_name() const; - template - void set_addon_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_addon_name(); - PROTOBUF_NODISCARD std::string* release_addon_name(); - void set_allocated_addon_name(std::string* addon_name); - private: - const std::string& _internal_addon_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_addon_name(const std::string& value); - std::string* _internal_mutable_addon_name(); - public: - - // optional bytes game_session_manifest = 20; - bool has_game_session_manifest() const; - private: - bool _internal_has_game_session_manifest() const; - public: - void clear_game_session_manifest(); - const std::string& game_session_manifest() const; - template - void set_game_session_manifest(ArgT0&& arg0, ArgT... args); - std::string* mutable_game_session_manifest(); - PROTOBUF_NODISCARD std::string* release_game_session_manifest(); - void set_allocated_game_session_manifest(std::string* game_session_manifest); - private: - const std::string& _internal_game_session_manifest() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_session_manifest(const std::string& value); - std::string* _internal_mutable_game_session_manifest(); - public: - - // optional .CSVCMsg_GameSessionConfiguration game_session_config = 19; - bool has_game_session_config() const; - private: - bool _internal_has_game_session_config() const; - public: - void clear_game_session_config(); - const ::CSVCMsg_GameSessionConfiguration& game_session_config() const; - PROTOBUF_NODISCARD ::CSVCMsg_GameSessionConfiguration* release_game_session_config(); - ::CSVCMsg_GameSessionConfiguration* mutable_game_session_config(); - void set_allocated_game_session_config(::CSVCMsg_GameSessionConfiguration* game_session_config); - private: - const ::CSVCMsg_GameSessionConfiguration& _internal_game_session_config() const; - ::CSVCMsg_GameSessionConfiguration* _internal_mutable_game_session_config(); - public: - void unsafe_arena_set_allocated_game_session_config( - ::CSVCMsg_GameSessionConfiguration* game_session_config); - ::CSVCMsg_GameSessionConfiguration* unsafe_arena_release_game_session_config(); - - // optional int32 protocol = 1; - bool has_protocol() const; - private: - bool _internal_has_protocol() const; - public: - void clear_protocol(); - int32_t protocol() const; - void set_protocol(int32_t value); - private: - int32_t _internal_protocol() const; - void _internal_set_protocol(int32_t value); - public: - - // optional int32 server_count = 2; - bool has_server_count() const; - private: - bool _internal_has_server_count() const; - public: - void clear_server_count(); - int32_t server_count() const; - void set_server_count(int32_t value); - private: - int32_t _internal_server_count() const; - void _internal_set_server_count(int32_t value); - public: - - // optional bool is_dedicated = 3; - bool has_is_dedicated() const; - private: - bool _internal_has_is_dedicated() const; - public: - void clear_is_dedicated(); - bool is_dedicated() const; - void set_is_dedicated(bool value); - private: - bool _internal_is_dedicated() const; - void _internal_set_is_dedicated(bool value); - public: - - // optional bool is_hltv = 4; - bool has_is_hltv() const; - private: - bool _internal_has_is_hltv() const; - public: - void clear_is_hltv(); - bool is_hltv() const; - void set_is_hltv(bool value); - private: - bool _internal_is_hltv() const; - void _internal_set_is_hltv(bool value); - public: - - // optional int32 c_os = 6; - bool has_c_os() const; - private: - bool _internal_has_c_os() const; - public: - void clear_c_os(); - int32_t c_os() const; - void set_c_os(int32_t value); - private: - int32_t _internal_c_os() const; - void _internal_set_c_os(int32_t value); - public: - - // optional int32 max_clients = 10; - bool has_max_clients() const; - private: - bool _internal_has_max_clients() const; - public: - void clear_max_clients(); - int32_t max_clients() const; - void set_max_clients(int32_t value); - private: - int32_t _internal_max_clients() const; - void _internal_set_max_clients(int32_t value); - public: - - // optional int32 max_classes = 11; - bool has_max_classes() const; - private: - bool _internal_has_max_classes() const; - public: - void clear_max_classes(); - int32_t max_classes() const; - void set_max_classes(int32_t value); - private: - int32_t _internal_max_classes() const; - void _internal_set_max_classes(int32_t value); - public: - - // optional float tick_interval = 13; - bool has_tick_interval() const; - private: - bool _internal_has_tick_interval() const; - public: - void clear_tick_interval(); - float tick_interval() const; - void set_tick_interval(float value); - private: - float _internal_tick_interval() const; - void _internal_set_tick_interval(float value); - public: - - // optional int32 player_slot = 12 [default = -1]; - bool has_player_slot() const; - private: - bool _internal_has_player_slot() const; - public: - void clear_player_slot(); - int32_t player_slot() const; - void set_player_slot(int32_t value); - private: - int32_t _internal_player_slot() const; - void _internal_set_player_slot(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_ServerInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_dir_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sky_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr host_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr addon_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_session_manifest_; - ::CSVCMsg_GameSessionConfiguration* game_session_config_; - int32_t protocol_; - int32_t server_count_; - bool is_dedicated_; - bool is_hltv_; - int32_t c_os_; - int32_t max_clients_; - int32_t max_classes_; - float tick_interval_; - int32_t player_slot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_ClassInfo_class_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_ClassInfo.class_t) */ { - public: - inline CSVCMsg_ClassInfo_class_t() : CSVCMsg_ClassInfo_class_t(nullptr) {} - ~CSVCMsg_ClassInfo_class_t() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_ClassInfo_class_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_ClassInfo_class_t(const CSVCMsg_ClassInfo_class_t& from); - CSVCMsg_ClassInfo_class_t(CSVCMsg_ClassInfo_class_t&& from) noexcept - : CSVCMsg_ClassInfo_class_t() { - *this = ::std::move(from); - } - - inline CSVCMsg_ClassInfo_class_t& operator=(const CSVCMsg_ClassInfo_class_t& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_ClassInfo_class_t& operator=(CSVCMsg_ClassInfo_class_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_ClassInfo_class_t& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_ClassInfo_class_t* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_ClassInfo_class_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 24; - - friend void swap(CSVCMsg_ClassInfo_class_t& a, CSVCMsg_ClassInfo_class_t& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_ClassInfo_class_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_ClassInfo_class_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_ClassInfo_class_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_ClassInfo_class_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_ClassInfo_class_t& from) { - CSVCMsg_ClassInfo_class_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_ClassInfo_class_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_ClassInfo.class_t"; - } - protected: - explicit CSVCMsg_ClassInfo_class_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kClassNameFieldNumber = 3, - kClassIdFieldNumber = 1, - }; - // optional string class_name = 3; - bool has_class_name() const; - private: - bool _internal_has_class_name() const; - public: - void clear_class_name(); - const std::string& class_name() const; - template - void set_class_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_class_name(); - PROTOBUF_NODISCARD std::string* release_class_name(); - void set_allocated_class_name(std::string* class_name); - private: - const std::string& _internal_class_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_class_name(const std::string& value); - std::string* _internal_mutable_class_name(); - public: - - // optional int32 class_id = 1; - bool has_class_id() const; - private: - bool _internal_has_class_id() const; - public: - void clear_class_id(); - int32_t class_id() const; - void set_class_id(int32_t value); - private: - int32_t _internal_class_id() const; - void _internal_set_class_id(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_ClassInfo.class_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr class_name_; - int32_t class_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_ClassInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_ClassInfo) */ { - public: - inline CSVCMsg_ClassInfo() : CSVCMsg_ClassInfo(nullptr) {} - ~CSVCMsg_ClassInfo() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_ClassInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_ClassInfo(const CSVCMsg_ClassInfo& from); - CSVCMsg_ClassInfo(CSVCMsg_ClassInfo&& from) noexcept - : CSVCMsg_ClassInfo() { - *this = ::std::move(from); - } - - inline CSVCMsg_ClassInfo& operator=(const CSVCMsg_ClassInfo& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_ClassInfo& operator=(CSVCMsg_ClassInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_ClassInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_ClassInfo* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_ClassInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 25; - - friend void swap(CSVCMsg_ClassInfo& a, CSVCMsg_ClassInfo& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_ClassInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_ClassInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_ClassInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_ClassInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_ClassInfo& from) { - CSVCMsg_ClassInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_ClassInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_ClassInfo"; - } - protected: - explicit CSVCMsg_ClassInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CSVCMsg_ClassInfo_class_t class_t; - - // accessors ------------------------------------------------------- - - enum : int { - kClassesFieldNumber = 2, - kCreateOnClientFieldNumber = 1, - }; - // repeated .CSVCMsg_ClassInfo.class_t classes = 2; - int classes_size() const; - private: - int _internal_classes_size() const; - public: - void clear_classes(); - ::CSVCMsg_ClassInfo_class_t* mutable_classes(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_ClassInfo_class_t >* - mutable_classes(); - private: - const ::CSVCMsg_ClassInfo_class_t& _internal_classes(int index) const; - ::CSVCMsg_ClassInfo_class_t* _internal_add_classes(); - public: - const ::CSVCMsg_ClassInfo_class_t& classes(int index) const; - ::CSVCMsg_ClassInfo_class_t* add_classes(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_ClassInfo_class_t >& - classes() const; - - // optional bool create_on_client = 1; - bool has_create_on_client() const; - private: - bool _internal_has_create_on_client() const; - public: - void clear_create_on_client(); - bool create_on_client() const; - void set_create_on_client(bool value); - private: - bool _internal_create_on_client() const; - void _internal_set_create_on_client(bool value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_ClassInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_ClassInfo_class_t > classes_; - bool create_on_client_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_SetPause : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_SetPause) */ { - public: - inline CSVCMsg_SetPause() : CSVCMsg_SetPause(nullptr) {} - ~CSVCMsg_SetPause() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_SetPause(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_SetPause(const CSVCMsg_SetPause& from); - CSVCMsg_SetPause(CSVCMsg_SetPause&& from) noexcept - : CSVCMsg_SetPause() { - *this = ::std::move(from); - } - - inline CSVCMsg_SetPause& operator=(const CSVCMsg_SetPause& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_SetPause& operator=(CSVCMsg_SetPause&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_SetPause& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_SetPause* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_SetPause_default_instance_); - } - static constexpr int kIndexInFileMessages = - 26; - - friend void swap(CSVCMsg_SetPause& a, CSVCMsg_SetPause& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_SetPause* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_SetPause* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_SetPause* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_SetPause& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_SetPause& from) { - CSVCMsg_SetPause::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_SetPause* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_SetPause"; - } - protected: - explicit CSVCMsg_SetPause(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPausedFieldNumber = 1, - }; - // optional bool paused = 1; - bool has_paused() const; - private: - bool _internal_has_paused() const; - public: - void clear_paused(); - bool paused() const; - void set_paused(bool value); - private: - bool _internal_paused() const; - void _internal_set_paused(bool value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_SetPause) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool paused_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_VoiceInit : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_VoiceInit) */ { - public: - inline CSVCMsg_VoiceInit() : CSVCMsg_VoiceInit(nullptr) {} - ~CSVCMsg_VoiceInit() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_VoiceInit(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_VoiceInit(const CSVCMsg_VoiceInit& from); - CSVCMsg_VoiceInit(CSVCMsg_VoiceInit&& from) noexcept - : CSVCMsg_VoiceInit() { - *this = ::std::move(from); - } - - inline CSVCMsg_VoiceInit& operator=(const CSVCMsg_VoiceInit& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_VoiceInit& operator=(CSVCMsg_VoiceInit&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_VoiceInit& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_VoiceInit* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_VoiceInit_default_instance_); - } - static constexpr int kIndexInFileMessages = - 27; - - friend void swap(CSVCMsg_VoiceInit& a, CSVCMsg_VoiceInit& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_VoiceInit* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_VoiceInit* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_VoiceInit* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_VoiceInit& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_VoiceInit& from) { - CSVCMsg_VoiceInit::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_VoiceInit* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_VoiceInit"; - } - protected: - explicit CSVCMsg_VoiceInit(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCodecFieldNumber = 2, - kQualityFieldNumber = 1, - kVersionFieldNumber = 3, - }; - // optional string codec = 2; - bool has_codec() const; - private: - bool _internal_has_codec() const; - public: - void clear_codec(); - const std::string& codec() const; - template - void set_codec(ArgT0&& arg0, ArgT... args); - std::string* mutable_codec(); - PROTOBUF_NODISCARD std::string* release_codec(); - void set_allocated_codec(std::string* codec); - private: - const std::string& _internal_codec() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_codec(const std::string& value); - std::string* _internal_mutable_codec(); - public: - - // optional int32 quality = 1; - bool has_quality() const; - private: - bool _internal_has_quality() const; - public: - void clear_quality(); - int32_t quality() const; - void set_quality(int32_t value); - private: - int32_t _internal_quality() const; - void _internal_set_quality(int32_t value); - public: - - // optional int32 version = 3 [default = 0]; - bool has_version() const; - private: - bool _internal_has_version() const; - public: - void clear_version(); - int32_t version() const; - void set_version(int32_t value); - private: - int32_t _internal_version() const; - void _internal_set_version(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_VoiceInit) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr codec_; - int32_t quality_; - int32_t version_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_Print : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_Print) */ { - public: - inline CSVCMsg_Print() : CSVCMsg_Print(nullptr) {} - ~CSVCMsg_Print() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_Print(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_Print(const CSVCMsg_Print& from); - CSVCMsg_Print(CSVCMsg_Print&& from) noexcept - : CSVCMsg_Print() { - *this = ::std::move(from); - } - - inline CSVCMsg_Print& operator=(const CSVCMsg_Print& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_Print& operator=(CSVCMsg_Print&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_Print& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_Print* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_Print_default_instance_); - } - static constexpr int kIndexInFileMessages = - 28; - - friend void swap(CSVCMsg_Print& a, CSVCMsg_Print& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_Print* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_Print* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_Print* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_Print& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_Print& from) { - CSVCMsg_Print::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_Print* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_Print"; - } - protected: - explicit CSVCMsg_Print(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTextFieldNumber = 1, - }; - // optional string text = 1; - bool has_text() const; - private: - bool _internal_has_text() const; - public: - void clear_text(); - const std::string& text() const; - template - void set_text(ArgT0&& arg0, ArgT... args); - std::string* mutable_text(); - PROTOBUF_NODISCARD std::string* release_text(); - void set_allocated_text(std::string* text); - private: - const std::string& _internal_text() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value); - std::string* _internal_mutable_text(); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_Print) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_Sounds_sounddata_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_Sounds.sounddata_t) */ { - public: - inline CSVCMsg_Sounds_sounddata_t() : CSVCMsg_Sounds_sounddata_t(nullptr) {} - ~CSVCMsg_Sounds_sounddata_t() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_Sounds_sounddata_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_Sounds_sounddata_t(const CSVCMsg_Sounds_sounddata_t& from); - CSVCMsg_Sounds_sounddata_t(CSVCMsg_Sounds_sounddata_t&& from) noexcept - : CSVCMsg_Sounds_sounddata_t() { - *this = ::std::move(from); - } - - inline CSVCMsg_Sounds_sounddata_t& operator=(const CSVCMsg_Sounds_sounddata_t& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_Sounds_sounddata_t& operator=(CSVCMsg_Sounds_sounddata_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_Sounds_sounddata_t& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_Sounds_sounddata_t* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_Sounds_sounddata_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 29; - - friend void swap(CSVCMsg_Sounds_sounddata_t& a, CSVCMsg_Sounds_sounddata_t& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_Sounds_sounddata_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_Sounds_sounddata_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_Sounds_sounddata_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_Sounds_sounddata_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_Sounds_sounddata_t& from) { - CSVCMsg_Sounds_sounddata_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_Sounds_sounddata_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_Sounds.sounddata_t"; - } - protected: - explicit CSVCMsg_Sounds_sounddata_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginXFieldNumber = 1, - kOriginYFieldNumber = 2, - kOriginZFieldNumber = 3, - kVolumeFieldNumber = 4, - kDelayValueFieldNumber = 5, - kSequenceNumberFieldNumber = 6, - kChannelFieldNumber = 8, - kPitchFieldNumber = 9, - kFlagsFieldNumber = 10, - kSoundNumFieldNumber = 11, - kSoundNumHandleFieldNumber = 12, - kSpeakerEntityFieldNumber = 13, - kRandomSeedFieldNumber = 14, - kSoundLevelFieldNumber = 15, - kIsSentenceFieldNumber = 16, - kIsAmbientFieldNumber = 17, - kGuidFieldNumber = 18, - kSoundResourceIdFieldNumber = 19, - kEntityIndexFieldNumber = 7, - }; - // optional sint32 origin_x = 1; - bool has_origin_x() const; - private: - bool _internal_has_origin_x() const; - public: - void clear_origin_x(); - int32_t origin_x() const; - void set_origin_x(int32_t value); - private: - int32_t _internal_origin_x() const; - void _internal_set_origin_x(int32_t value); - public: - - // optional sint32 origin_y = 2; - bool has_origin_y() const; - private: - bool _internal_has_origin_y() const; - public: - void clear_origin_y(); - int32_t origin_y() const; - void set_origin_y(int32_t value); - private: - int32_t _internal_origin_y() const; - void _internal_set_origin_y(int32_t value); - public: - - // optional sint32 origin_z = 3; - bool has_origin_z() const; - private: - bool _internal_has_origin_z() const; - public: - void clear_origin_z(); - int32_t origin_z() const; - void set_origin_z(int32_t value); - private: - int32_t _internal_origin_z() const; - void _internal_set_origin_z(int32_t value); - public: - - // optional uint32 volume = 4; - bool has_volume() const; - private: - bool _internal_has_volume() const; - public: - void clear_volume(); - uint32_t volume() const; - void set_volume(uint32_t value); - private: - uint32_t _internal_volume() const; - void _internal_set_volume(uint32_t value); - public: - - // optional float delay_value = 5; - bool has_delay_value() const; - private: - bool _internal_has_delay_value() const; - public: - void clear_delay_value(); - float delay_value() const; - void set_delay_value(float value); - private: - float _internal_delay_value() const; - void _internal_set_delay_value(float value); - public: - - // optional int32 sequence_number = 6; - bool has_sequence_number() const; - private: - bool _internal_has_sequence_number() const; - public: - void clear_sequence_number(); - int32_t sequence_number() const; - void set_sequence_number(int32_t value); - private: - int32_t _internal_sequence_number() const; - void _internal_set_sequence_number(int32_t value); - public: - - // optional int32 channel = 8; - bool has_channel() const; - private: - bool _internal_has_channel() const; - public: - void clear_channel(); - int32_t channel() const; - void set_channel(int32_t value); - private: - int32_t _internal_channel() const; - void _internal_set_channel(int32_t value); - public: - - // optional int32 pitch = 9; - bool has_pitch() const; - private: - bool _internal_has_pitch() const; - public: - void clear_pitch(); - int32_t pitch() const; - void set_pitch(int32_t value); - private: - int32_t _internal_pitch() const; - void _internal_set_pitch(int32_t value); - public: - - // optional int32 flags = 10; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - int32_t flags() const; - void set_flags(int32_t value); - private: - int32_t _internal_flags() const; - void _internal_set_flags(int32_t value); - public: - - // optional uint32 sound_num = 11; - bool has_sound_num() const; - private: - bool _internal_has_sound_num() const; - public: - void clear_sound_num(); - uint32_t sound_num() const; - void set_sound_num(uint32_t value); - private: - uint32_t _internal_sound_num() const; - void _internal_set_sound_num(uint32_t value); - public: - - // optional fixed32 sound_num_handle = 12; - bool has_sound_num_handle() const; - private: - bool _internal_has_sound_num_handle() const; - public: - void clear_sound_num_handle(); - uint32_t sound_num_handle() const; - void set_sound_num_handle(uint32_t value); - private: - uint32_t _internal_sound_num_handle() const; - void _internal_set_sound_num_handle(uint32_t value); - public: - - // optional int32 speaker_entity = 13; - bool has_speaker_entity() const; - private: - bool _internal_has_speaker_entity() const; - public: - void clear_speaker_entity(); - int32_t speaker_entity() const; - void set_speaker_entity(int32_t value); - private: - int32_t _internal_speaker_entity() const; - void _internal_set_speaker_entity(int32_t value); - public: - - // optional int32 random_seed = 14; - bool has_random_seed() const; - private: - bool _internal_has_random_seed() const; - public: - void clear_random_seed(); - int32_t random_seed() const; - void set_random_seed(int32_t value); - private: - int32_t _internal_random_seed() const; - void _internal_set_random_seed(int32_t value); - public: - - // optional int32 sound_level = 15; - bool has_sound_level() const; - private: - bool _internal_has_sound_level() const; - public: - void clear_sound_level(); - int32_t sound_level() const; - void set_sound_level(int32_t value); - private: - int32_t _internal_sound_level() const; - void _internal_set_sound_level(int32_t value); - public: - - // optional bool is_sentence = 16; - bool has_is_sentence() const; - private: - bool _internal_has_is_sentence() const; - public: - void clear_is_sentence(); - bool is_sentence() const; - void set_is_sentence(bool value); - private: - bool _internal_is_sentence() const; - void _internal_set_is_sentence(bool value); - public: - - // optional bool is_ambient = 17; - bool has_is_ambient() const; - private: - bool _internal_has_is_ambient() const; - public: - void clear_is_ambient(); - bool is_ambient() const; - void set_is_ambient(bool value); - private: - bool _internal_is_ambient() const; - void _internal_set_is_ambient(bool value); - public: - - // optional uint32 guid = 18; - bool has_guid() const; - private: - bool _internal_has_guid() const; - public: - void clear_guid(); - uint32_t guid() const; - void set_guid(uint32_t value); - private: - uint32_t _internal_guid() const; - void _internal_set_guid(uint32_t value); - public: - - // optional fixed64 sound_resource_id = 19; - bool has_sound_resource_id() const; - private: - bool _internal_has_sound_resource_id() const; - public: - void clear_sound_resource_id(); - uint64_t sound_resource_id() const; - void set_sound_resource_id(uint64_t value); - private: - uint64_t _internal_sound_resource_id() const; - void _internal_set_sound_resource_id(uint64_t value); - public: - - // optional int32 entity_index = 7 [default = -1]; - bool has_entity_index() const; - private: - bool _internal_has_entity_index() const; - public: - void clear_entity_index(); - int32_t entity_index() const; - void set_entity_index(int32_t value); - private: - int32_t _internal_entity_index() const; - void _internal_set_entity_index(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_Sounds.sounddata_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t origin_x_; - int32_t origin_y_; - int32_t origin_z_; - uint32_t volume_; - float delay_value_; - int32_t sequence_number_; - int32_t channel_; - int32_t pitch_; - int32_t flags_; - uint32_t sound_num_; - uint32_t sound_num_handle_; - int32_t speaker_entity_; - int32_t random_seed_; - int32_t sound_level_; - bool is_sentence_; - bool is_ambient_; - uint32_t guid_; - uint64_t sound_resource_id_; - int32_t entity_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_Sounds : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_Sounds) */ { - public: - inline CSVCMsg_Sounds() : CSVCMsg_Sounds(nullptr) {} - ~CSVCMsg_Sounds() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_Sounds(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_Sounds(const CSVCMsg_Sounds& from); - CSVCMsg_Sounds(CSVCMsg_Sounds&& from) noexcept - : CSVCMsg_Sounds() { - *this = ::std::move(from); - } - - inline CSVCMsg_Sounds& operator=(const CSVCMsg_Sounds& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_Sounds& operator=(CSVCMsg_Sounds&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_Sounds& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_Sounds* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_Sounds_default_instance_); - } - static constexpr int kIndexInFileMessages = - 30; - - friend void swap(CSVCMsg_Sounds& a, CSVCMsg_Sounds& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_Sounds* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_Sounds* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_Sounds* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_Sounds& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_Sounds& from) { - CSVCMsg_Sounds::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_Sounds* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_Sounds"; - } - protected: - explicit CSVCMsg_Sounds(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CSVCMsg_Sounds_sounddata_t sounddata_t; - - // accessors ------------------------------------------------------- - - enum : int { - kSoundsFieldNumber = 2, - kReliableSoundFieldNumber = 1, - }; - // repeated .CSVCMsg_Sounds.sounddata_t sounds = 2; - int sounds_size() const; - private: - int _internal_sounds_size() const; - public: - void clear_sounds(); - ::CSVCMsg_Sounds_sounddata_t* mutable_sounds(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_Sounds_sounddata_t >* - mutable_sounds(); - private: - const ::CSVCMsg_Sounds_sounddata_t& _internal_sounds(int index) const; - ::CSVCMsg_Sounds_sounddata_t* _internal_add_sounds(); - public: - const ::CSVCMsg_Sounds_sounddata_t& sounds(int index) const; - ::CSVCMsg_Sounds_sounddata_t* add_sounds(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_Sounds_sounddata_t >& - sounds() const; - - // optional bool reliable_sound = 1; - bool has_reliable_sound() const; - private: - bool _internal_has_reliable_sound() const; - public: - void clear_reliable_sound(); - bool reliable_sound() const; - void set_reliable_sound(bool value); - private: - bool _internal_reliable_sound() const; - void _internal_set_reliable_sound(bool value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_Sounds) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_Sounds_sounddata_t > sounds_; - bool reliable_sound_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_Prefetch : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_Prefetch) */ { - public: - inline CSVCMsg_Prefetch() : CSVCMsg_Prefetch(nullptr) {} - ~CSVCMsg_Prefetch() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_Prefetch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_Prefetch(const CSVCMsg_Prefetch& from); - CSVCMsg_Prefetch(CSVCMsg_Prefetch&& from) noexcept - : CSVCMsg_Prefetch() { - *this = ::std::move(from); - } - - inline CSVCMsg_Prefetch& operator=(const CSVCMsg_Prefetch& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_Prefetch& operator=(CSVCMsg_Prefetch&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_Prefetch& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_Prefetch* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_Prefetch_default_instance_); - } - static constexpr int kIndexInFileMessages = - 31; - - friend void swap(CSVCMsg_Prefetch& a, CSVCMsg_Prefetch& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_Prefetch* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_Prefetch* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_Prefetch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_Prefetch& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_Prefetch& from) { - CSVCMsg_Prefetch::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_Prefetch* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_Prefetch"; - } - protected: - explicit CSVCMsg_Prefetch(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSoundIndexFieldNumber = 1, - kResourceTypeFieldNumber = 2, - }; - // optional int32 sound_index = 1; - bool has_sound_index() const; - private: - bool _internal_has_sound_index() const; - public: - void clear_sound_index(); - int32_t sound_index() const; - void set_sound_index(int32_t value); - private: - int32_t _internal_sound_index() const; - void _internal_set_sound_index(int32_t value); - public: - - // optional .PrefetchType resource_type = 2 [default = PFT_SOUND]; - bool has_resource_type() const; - private: - bool _internal_has_resource_type() const; - public: - void clear_resource_type(); - ::PrefetchType resource_type() const; - void set_resource_type(::PrefetchType value); - private: - ::PrefetchType _internal_resource_type() const; - void _internal_set_resource_type(::PrefetchType value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_Prefetch) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t sound_index_; - int resource_type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_SetView : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_SetView) */ { - public: - inline CSVCMsg_SetView() : CSVCMsg_SetView(nullptr) {} - ~CSVCMsg_SetView() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_SetView(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_SetView(const CSVCMsg_SetView& from); - CSVCMsg_SetView(CSVCMsg_SetView&& from) noexcept - : CSVCMsg_SetView() { - *this = ::std::move(from); - } - - inline CSVCMsg_SetView& operator=(const CSVCMsg_SetView& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_SetView& operator=(CSVCMsg_SetView&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_SetView& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_SetView* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_SetView_default_instance_); - } - static constexpr int kIndexInFileMessages = - 32; - - friend void swap(CSVCMsg_SetView& a, CSVCMsg_SetView& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_SetView* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_SetView* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_SetView* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_SetView& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_SetView& from) { - CSVCMsg_SetView::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_SetView* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_SetView"; - } - protected: - explicit CSVCMsg_SetView(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEntityIndexFieldNumber = 1, - kSlotFieldNumber = 2, - }; - // optional int32 entity_index = 1 [default = -1]; - bool has_entity_index() const; - private: - bool _internal_has_entity_index() const; - public: - void clear_entity_index(); - int32_t entity_index() const; - void set_entity_index(int32_t value); - private: - int32_t _internal_entity_index() const; - void _internal_set_entity_index(int32_t value); - public: - - // optional int32 slot = 2 [default = -1]; - bool has_slot() const; - private: - bool _internal_has_slot() const; - public: - void clear_slot(); - int32_t slot() const; - void set_slot(int32_t value); - private: - int32_t _internal_slot() const; - void _internal_set_slot(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_SetView) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t entity_index_; - int32_t slot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_FixAngle : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_FixAngle) */ { - public: - inline CSVCMsg_FixAngle() : CSVCMsg_FixAngle(nullptr) {} - ~CSVCMsg_FixAngle() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_FixAngle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_FixAngle(const CSVCMsg_FixAngle& from); - CSVCMsg_FixAngle(CSVCMsg_FixAngle&& from) noexcept - : CSVCMsg_FixAngle() { - *this = ::std::move(from); - } - - inline CSVCMsg_FixAngle& operator=(const CSVCMsg_FixAngle& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_FixAngle& operator=(CSVCMsg_FixAngle&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_FixAngle& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_FixAngle* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_FixAngle_default_instance_); - } - static constexpr int kIndexInFileMessages = - 33; - - friend void swap(CSVCMsg_FixAngle& a, CSVCMsg_FixAngle& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_FixAngle* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_FixAngle* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_FixAngle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_FixAngle& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_FixAngle& from) { - CSVCMsg_FixAngle::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_FixAngle* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_FixAngle"; - } - protected: - explicit CSVCMsg_FixAngle(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAngleFieldNumber = 2, - kRelativeFieldNumber = 1, - }; - // optional .CMsgQAngle angle = 2; - bool has_angle() const; - private: - bool _internal_has_angle() const; - public: - void clear_angle(); - const ::CMsgQAngle& angle() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_angle(); - ::CMsgQAngle* mutable_angle(); - void set_allocated_angle(::CMsgQAngle* angle); - private: - const ::CMsgQAngle& _internal_angle() const; - ::CMsgQAngle* _internal_mutable_angle(); - public: - void unsafe_arena_set_allocated_angle( - ::CMsgQAngle* angle); - ::CMsgQAngle* unsafe_arena_release_angle(); - - // optional bool relative = 1; - bool has_relative() const; - private: - bool _internal_has_relative() const; - public: - void clear_relative(); - bool relative() const; - void set_relative(bool value); - private: - bool _internal_relative() const; - void _internal_set_relative(bool value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_FixAngle) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgQAngle* angle_; - bool relative_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_CrosshairAngle : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_CrosshairAngle) */ { - public: - inline CSVCMsg_CrosshairAngle() : CSVCMsg_CrosshairAngle(nullptr) {} - ~CSVCMsg_CrosshairAngle() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_CrosshairAngle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_CrosshairAngle(const CSVCMsg_CrosshairAngle& from); - CSVCMsg_CrosshairAngle(CSVCMsg_CrosshairAngle&& from) noexcept - : CSVCMsg_CrosshairAngle() { - *this = ::std::move(from); - } - - inline CSVCMsg_CrosshairAngle& operator=(const CSVCMsg_CrosshairAngle& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_CrosshairAngle& operator=(CSVCMsg_CrosshairAngle&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_CrosshairAngle& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_CrosshairAngle* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_CrosshairAngle_default_instance_); - } - static constexpr int kIndexInFileMessages = - 34; - - friend void swap(CSVCMsg_CrosshairAngle& a, CSVCMsg_CrosshairAngle& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_CrosshairAngle* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_CrosshairAngle* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_CrosshairAngle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_CrosshairAngle& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_CrosshairAngle& from) { - CSVCMsg_CrosshairAngle::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_CrosshairAngle* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_CrosshairAngle"; - } - protected: - explicit CSVCMsg_CrosshairAngle(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAngleFieldNumber = 1, - }; - // optional .CMsgQAngle angle = 1; - bool has_angle() const; - private: - bool _internal_has_angle() const; - public: - void clear_angle(); - const ::CMsgQAngle& angle() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_angle(); - ::CMsgQAngle* mutable_angle(); - void set_allocated_angle(::CMsgQAngle* angle); - private: - const ::CMsgQAngle& _internal_angle() const; - ::CMsgQAngle* _internal_mutable_angle(); - public: - void unsafe_arena_set_allocated_angle( - ::CMsgQAngle* angle); - ::CMsgQAngle* unsafe_arena_release_angle(); - - // @@protoc_insertion_point(class_scope:CSVCMsg_CrosshairAngle) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgQAngle* angle_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_BSPDecal : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_BSPDecal) */ { - public: - inline CSVCMsg_BSPDecal() : CSVCMsg_BSPDecal(nullptr) {} - ~CSVCMsg_BSPDecal() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_BSPDecal(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_BSPDecal(const CSVCMsg_BSPDecal& from); - CSVCMsg_BSPDecal(CSVCMsg_BSPDecal&& from) noexcept - : CSVCMsg_BSPDecal() { - *this = ::std::move(from); - } - - inline CSVCMsg_BSPDecal& operator=(const CSVCMsg_BSPDecal& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_BSPDecal& operator=(CSVCMsg_BSPDecal&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_BSPDecal& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_BSPDecal* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_BSPDecal_default_instance_); - } - static constexpr int kIndexInFileMessages = - 35; - - friend void swap(CSVCMsg_BSPDecal& a, CSVCMsg_BSPDecal& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_BSPDecal* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_BSPDecal* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_BSPDecal* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_BSPDecal& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_BSPDecal& from) { - CSVCMsg_BSPDecal::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_BSPDecal* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_BSPDecal"; - } - protected: - explicit CSVCMsg_BSPDecal(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPosFieldNumber = 1, - kDecalTextureIndexFieldNumber = 2, - kModelIndexFieldNumber = 4, - kLowPriorityFieldNumber = 5, - kEntityIndexFieldNumber = 3, - }; - // optional .CMsgVector pos = 1; - bool has_pos() const; - private: - bool _internal_has_pos() const; - public: - void clear_pos(); - const ::CMsgVector& pos() const; - PROTOBUF_NODISCARD ::CMsgVector* release_pos(); - ::CMsgVector* mutable_pos(); - void set_allocated_pos(::CMsgVector* pos); - private: - const ::CMsgVector& _internal_pos() const; - ::CMsgVector* _internal_mutable_pos(); - public: - void unsafe_arena_set_allocated_pos( - ::CMsgVector* pos); - ::CMsgVector* unsafe_arena_release_pos(); - - // optional int32 decal_texture_index = 2; - bool has_decal_texture_index() const; - private: - bool _internal_has_decal_texture_index() const; - public: - void clear_decal_texture_index(); - int32_t decal_texture_index() const; - void set_decal_texture_index(int32_t value); - private: - int32_t _internal_decal_texture_index() const; - void _internal_set_decal_texture_index(int32_t value); - public: - - // optional int32 model_index = 4; - bool has_model_index() const; - private: - bool _internal_has_model_index() const; - public: - void clear_model_index(); - int32_t model_index() const; - void set_model_index(int32_t value); - private: - int32_t _internal_model_index() const; - void _internal_set_model_index(int32_t value); - public: - - // optional bool low_priority = 5; - bool has_low_priority() const; - private: - bool _internal_has_low_priority() const; - public: - void clear_low_priority(); - bool low_priority() const; - void set_low_priority(bool value); - private: - bool _internal_low_priority() const; - void _internal_set_low_priority(bool value); - public: - - // optional int32 entity_index = 3 [default = -1]; - bool has_entity_index() const; - private: - bool _internal_has_entity_index() const; - public: - void clear_entity_index(); - int32_t entity_index() const; - void set_entity_index(int32_t value); - private: - int32_t _internal_entity_index() const; - void _internal_set_entity_index(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_BSPDecal) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* pos_; - int32_t decal_texture_index_; - int32_t model_index_; - bool low_priority_; - int32_t entity_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_SplitScreen : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_SplitScreen) */ { - public: - inline CSVCMsg_SplitScreen() : CSVCMsg_SplitScreen(nullptr) {} - ~CSVCMsg_SplitScreen() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_SplitScreen(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_SplitScreen(const CSVCMsg_SplitScreen& from); - CSVCMsg_SplitScreen(CSVCMsg_SplitScreen&& from) noexcept - : CSVCMsg_SplitScreen() { - *this = ::std::move(from); - } - - inline CSVCMsg_SplitScreen& operator=(const CSVCMsg_SplitScreen& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_SplitScreen& operator=(CSVCMsg_SplitScreen&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_SplitScreen& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_SplitScreen* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_SplitScreen_default_instance_); - } - static constexpr int kIndexInFileMessages = - 36; - - friend void swap(CSVCMsg_SplitScreen& a, CSVCMsg_SplitScreen& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_SplitScreen* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_SplitScreen* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_SplitScreen* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_SplitScreen& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_SplitScreen& from) { - CSVCMsg_SplitScreen::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_SplitScreen* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_SplitScreen"; - } - protected: - explicit CSVCMsg_SplitScreen(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTypeFieldNumber = 1, - kSlotFieldNumber = 2, - kPlayerIndexFieldNumber = 3, - }; - // optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - ::ESplitScreenMessageType type() const; - void set_type(::ESplitScreenMessageType value); - private: - ::ESplitScreenMessageType _internal_type() const; - void _internal_set_type(::ESplitScreenMessageType value); - public: - - // optional int32 slot = 2; - bool has_slot() const; - private: - bool _internal_has_slot() const; - public: - void clear_slot(); - int32_t slot() const; - void set_slot(int32_t value); - private: - int32_t _internal_slot() const; - void _internal_set_slot(int32_t value); - public: - - // optional int32 player_index = 3 [default = -1]; - bool has_player_index() const; - private: - bool _internal_has_player_index() const; - public: - void clear_player_index(); - int32_t player_index() const; - void set_player_index(int32_t value); - private: - int32_t _internal_player_index() const; - void _internal_set_player_index(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_SplitScreen) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int type_; - int32_t slot_; - int32_t player_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_GetCvarValue : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_GetCvarValue) */ { - public: - inline CSVCMsg_GetCvarValue() : CSVCMsg_GetCvarValue(nullptr) {} - ~CSVCMsg_GetCvarValue() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_GetCvarValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_GetCvarValue(const CSVCMsg_GetCvarValue& from); - CSVCMsg_GetCvarValue(CSVCMsg_GetCvarValue&& from) noexcept - : CSVCMsg_GetCvarValue() { - *this = ::std::move(from); - } - - inline CSVCMsg_GetCvarValue& operator=(const CSVCMsg_GetCvarValue& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_GetCvarValue& operator=(CSVCMsg_GetCvarValue&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_GetCvarValue& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_GetCvarValue* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_GetCvarValue_default_instance_); - } - static constexpr int kIndexInFileMessages = - 37; - - friend void swap(CSVCMsg_GetCvarValue& a, CSVCMsg_GetCvarValue& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_GetCvarValue* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_GetCvarValue* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_GetCvarValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_GetCvarValue& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_GetCvarValue& from) { - CSVCMsg_GetCvarValue::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_GetCvarValue* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_GetCvarValue"; - } - protected: - explicit CSVCMsg_GetCvarValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCvarNameFieldNumber = 2, - kCookieFieldNumber = 1, - }; - // optional string cvar_name = 2; - bool has_cvar_name() const; - private: - bool _internal_has_cvar_name() const; - public: - void clear_cvar_name(); - const std::string& cvar_name() const; - template - void set_cvar_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_cvar_name(); - PROTOBUF_NODISCARD std::string* release_cvar_name(); - void set_allocated_cvar_name(std::string* cvar_name); - private: - const std::string& _internal_cvar_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_cvar_name(const std::string& value); - std::string* _internal_mutable_cvar_name(); - public: - - // optional int32 cookie = 1; - bool has_cookie() const; - private: - bool _internal_has_cookie() const; - public: - void clear_cookie(); - int32_t cookie() const; - void set_cookie(int32_t value); - private: - int32_t _internal_cookie() const; - void _internal_set_cookie(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_GetCvarValue) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cvar_name_; - int32_t cookie_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_Menu : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_Menu) */ { - public: - inline CSVCMsg_Menu() : CSVCMsg_Menu(nullptr) {} - ~CSVCMsg_Menu() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_Menu(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_Menu(const CSVCMsg_Menu& from); - CSVCMsg_Menu(CSVCMsg_Menu&& from) noexcept - : CSVCMsg_Menu() { - *this = ::std::move(from); - } - - inline CSVCMsg_Menu& operator=(const CSVCMsg_Menu& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_Menu& operator=(CSVCMsg_Menu&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_Menu& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_Menu* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_Menu_default_instance_); - } - static constexpr int kIndexInFileMessages = - 38; - - friend void swap(CSVCMsg_Menu& a, CSVCMsg_Menu& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_Menu* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_Menu* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_Menu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_Menu& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_Menu& from) { - CSVCMsg_Menu::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_Menu* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_Menu"; - } - protected: - explicit CSVCMsg_Menu(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMenuKeyValuesFieldNumber = 2, - kDialogTypeFieldNumber = 1, - }; - // optional bytes menu_key_values = 2; - bool has_menu_key_values() const; - private: - bool _internal_has_menu_key_values() const; - public: - void clear_menu_key_values(); - const std::string& menu_key_values() const; - template - void set_menu_key_values(ArgT0&& arg0, ArgT... args); - std::string* mutable_menu_key_values(); - PROTOBUF_NODISCARD std::string* release_menu_key_values(); - void set_allocated_menu_key_values(std::string* menu_key_values); - private: - const std::string& _internal_menu_key_values() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_menu_key_values(const std::string& value); - std::string* _internal_mutable_menu_key_values(); - public: - - // optional int32 dialog_type = 1; - bool has_dialog_type() const; - private: - bool _internal_has_dialog_type() const; - public: - void clear_dialog_type(); - int32_t dialog_type() const; - void set_dialog_type(int32_t value); - private: - int32_t _internal_dialog_type() const; - void _internal_set_dialog_type(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_Menu) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr menu_key_values_; - int32_t dialog_type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_UserMessage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_UserMessage) */ { - public: - inline CSVCMsg_UserMessage() : CSVCMsg_UserMessage(nullptr) {} - ~CSVCMsg_UserMessage() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_UserMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_UserMessage(const CSVCMsg_UserMessage& from); - CSVCMsg_UserMessage(CSVCMsg_UserMessage&& from) noexcept - : CSVCMsg_UserMessage() { - *this = ::std::move(from); - } - - inline CSVCMsg_UserMessage& operator=(const CSVCMsg_UserMessage& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_UserMessage& operator=(CSVCMsg_UserMessage&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_UserMessage& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_UserMessage* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_UserMessage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 39; - - friend void swap(CSVCMsg_UserMessage& a, CSVCMsg_UserMessage& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_UserMessage* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_UserMessage* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_UserMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_UserMessage& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_UserMessage& from) { - CSVCMsg_UserMessage::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_UserMessage* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_UserMessage"; - } - protected: - explicit CSVCMsg_UserMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMsgDataFieldNumber = 2, - kMsgTypeFieldNumber = 1, - kPassthroughFieldNumber = 3, - }; - // optional bytes msg_data = 2; - bool has_msg_data() const; - private: - bool _internal_has_msg_data() const; - public: - void clear_msg_data(); - const std::string& msg_data() const; - template - void set_msg_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_msg_data(); - PROTOBUF_NODISCARD std::string* release_msg_data(); - void set_allocated_msg_data(std::string* msg_data); - private: - const std::string& _internal_msg_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_msg_data(const std::string& value); - std::string* _internal_mutable_msg_data(); - public: - - // optional int32 msg_type = 1; - bool has_msg_type() const; - private: - bool _internal_has_msg_type() const; - public: - void clear_msg_type(); - int32_t msg_type() const; - void set_msg_type(int32_t value); - private: - int32_t _internal_msg_type() const; - void _internal_set_msg_type(int32_t value); - public: - - // optional int32 passthrough = 3; - bool has_passthrough() const; - private: - bool _internal_has_passthrough() const; - public: - void clear_passthrough(); - int32_t passthrough() const; - void set_passthrough(int32_t value); - private: - int32_t _internal_passthrough() const; - void _internal_set_passthrough(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_UserMessage) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr msg_data_; - int32_t msg_type_; - int32_t passthrough_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_SendTable_sendprop_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_SendTable.sendprop_t) */ { - public: - inline CSVCMsg_SendTable_sendprop_t() : CSVCMsg_SendTable_sendprop_t(nullptr) {} - ~CSVCMsg_SendTable_sendprop_t() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_SendTable_sendprop_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_SendTable_sendprop_t(const CSVCMsg_SendTable_sendprop_t& from); - CSVCMsg_SendTable_sendprop_t(CSVCMsg_SendTable_sendprop_t&& from) noexcept - : CSVCMsg_SendTable_sendprop_t() { - *this = ::std::move(from); - } - - inline CSVCMsg_SendTable_sendprop_t& operator=(const CSVCMsg_SendTable_sendprop_t& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_SendTable_sendprop_t& operator=(CSVCMsg_SendTable_sendprop_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_SendTable_sendprop_t& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_SendTable_sendprop_t* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_SendTable_sendprop_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 40; - - friend void swap(CSVCMsg_SendTable_sendprop_t& a, CSVCMsg_SendTable_sendprop_t& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_SendTable_sendprop_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_SendTable_sendprop_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_SendTable_sendprop_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_SendTable_sendprop_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_SendTable_sendprop_t& from) { - CSVCMsg_SendTable_sendprop_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_SendTable_sendprop_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_SendTable.sendprop_t"; - } - protected: - explicit CSVCMsg_SendTable_sendprop_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kVarNameFieldNumber = 2, - kDtNameFieldNumber = 5, - kTypeFieldNumber = 1, - kFlagsFieldNumber = 3, - kPriorityFieldNumber = 4, - kNumElementsFieldNumber = 6, - kLowValueFieldNumber = 7, - kHighValueFieldNumber = 8, - kNumBitsFieldNumber = 9, - }; - // optional string var_name = 2; - bool has_var_name() const; - private: - bool _internal_has_var_name() const; - public: - void clear_var_name(); - const std::string& var_name() const; - template - void set_var_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_var_name(); - PROTOBUF_NODISCARD std::string* release_var_name(); - void set_allocated_var_name(std::string* var_name); - private: - const std::string& _internal_var_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_var_name(const std::string& value); - std::string* _internal_mutable_var_name(); - public: - - // optional string dt_name = 5; - bool has_dt_name() const; - private: - bool _internal_has_dt_name() const; - public: - void clear_dt_name(); - const std::string& dt_name() const; - template - void set_dt_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_dt_name(); - PROTOBUF_NODISCARD std::string* release_dt_name(); - void set_allocated_dt_name(std::string* dt_name); - private: - const std::string& _internal_dt_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_dt_name(const std::string& value); - std::string* _internal_mutable_dt_name(); - public: - - // optional int32 type = 1; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - int32_t type() const; - void set_type(int32_t value); - private: - int32_t _internal_type() const; - void _internal_set_type(int32_t value); - public: - - // optional int32 flags = 3; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - int32_t flags() const; - void set_flags(int32_t value); - private: - int32_t _internal_flags() const; - void _internal_set_flags(int32_t value); - public: - - // optional int32 priority = 4; - bool has_priority() const; - private: - bool _internal_has_priority() const; - public: - void clear_priority(); - int32_t priority() const; - void set_priority(int32_t value); - private: - int32_t _internal_priority() const; - void _internal_set_priority(int32_t value); - public: - - // optional int32 num_elements = 6; - bool has_num_elements() const; - private: - bool _internal_has_num_elements() const; - public: - void clear_num_elements(); - int32_t num_elements() const; - void set_num_elements(int32_t value); - private: - int32_t _internal_num_elements() const; - void _internal_set_num_elements(int32_t value); - public: - - // optional float low_value = 7; - bool has_low_value() const; - private: - bool _internal_has_low_value() const; - public: - void clear_low_value(); - float low_value() const; - void set_low_value(float value); - private: - float _internal_low_value() const; - void _internal_set_low_value(float value); - public: - - // optional float high_value = 8; - bool has_high_value() const; - private: - bool _internal_has_high_value() const; - public: - void clear_high_value(); - float high_value() const; - void set_high_value(float value); - private: - float _internal_high_value() const; - void _internal_set_high_value(float value); - public: - - // optional int32 num_bits = 9; - bool has_num_bits() const; - private: - bool _internal_has_num_bits() const; - public: - void clear_num_bits(); - int32_t num_bits() const; - void set_num_bits(int32_t value); - private: - int32_t _internal_num_bits() const; - void _internal_set_num_bits(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_SendTable.sendprop_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr var_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dt_name_; - int32_t type_; - int32_t flags_; - int32_t priority_; - int32_t num_elements_; - float low_value_; - float high_value_; - int32_t num_bits_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_SendTable : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_SendTable) */ { - public: - inline CSVCMsg_SendTable() : CSVCMsg_SendTable(nullptr) {} - ~CSVCMsg_SendTable() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_SendTable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_SendTable(const CSVCMsg_SendTable& from); - CSVCMsg_SendTable(CSVCMsg_SendTable&& from) noexcept - : CSVCMsg_SendTable() { - *this = ::std::move(from); - } - - inline CSVCMsg_SendTable& operator=(const CSVCMsg_SendTable& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_SendTable& operator=(CSVCMsg_SendTable&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_SendTable& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_SendTable* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_SendTable_default_instance_); - } - static constexpr int kIndexInFileMessages = - 41; - - friend void swap(CSVCMsg_SendTable& a, CSVCMsg_SendTable& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_SendTable* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_SendTable* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_SendTable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_SendTable& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_SendTable& from) { - CSVCMsg_SendTable::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_SendTable* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_SendTable"; - } - protected: - explicit CSVCMsg_SendTable(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CSVCMsg_SendTable_sendprop_t sendprop_t; - - // accessors ------------------------------------------------------- - - enum : int { - kPropsFieldNumber = 4, - kNetTableNameFieldNumber = 2, - kIsEndFieldNumber = 1, - kNeedsDecoderFieldNumber = 3, - }; - // repeated .CSVCMsg_SendTable.sendprop_t props = 4; - int props_size() const; - private: - int _internal_props_size() const; - public: - void clear_props(); - ::CSVCMsg_SendTable_sendprop_t* mutable_props(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_SendTable_sendprop_t >* - mutable_props(); - private: - const ::CSVCMsg_SendTable_sendprop_t& _internal_props(int index) const; - ::CSVCMsg_SendTable_sendprop_t* _internal_add_props(); - public: - const ::CSVCMsg_SendTable_sendprop_t& props(int index) const; - ::CSVCMsg_SendTable_sendprop_t* add_props(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_SendTable_sendprop_t >& - props() const; - - // optional string net_table_name = 2; - bool has_net_table_name() const; - private: - bool _internal_has_net_table_name() const; - public: - void clear_net_table_name(); - const std::string& net_table_name() const; - template - void set_net_table_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_net_table_name(); - PROTOBUF_NODISCARD std::string* release_net_table_name(); - void set_allocated_net_table_name(std::string* net_table_name); - private: - const std::string& _internal_net_table_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_net_table_name(const std::string& value); - std::string* _internal_mutable_net_table_name(); - public: - - // optional bool is_end = 1; - bool has_is_end() const; - private: - bool _internal_has_is_end() const; - public: - void clear_is_end(); - bool is_end() const; - void set_is_end(bool value); - private: - bool _internal_is_end() const; - void _internal_set_is_end(bool value); - public: - - // optional bool needs_decoder = 3; - bool has_needs_decoder() const; - private: - bool _internal_has_needs_decoder() const; - public: - void clear_needs_decoder(); - bool needs_decoder() const; - void set_needs_decoder(bool value); - private: - bool _internal_needs_decoder() const; - void _internal_set_needs_decoder(bool value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_SendTable) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_SendTable_sendprop_t > props_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr net_table_name_; - bool is_end_; - bool needs_decoder_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_GameEventList_key_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_GameEventList.key_t) */ { - public: - inline CSVCMsg_GameEventList_key_t() : CSVCMsg_GameEventList_key_t(nullptr) {} - ~CSVCMsg_GameEventList_key_t() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_GameEventList_key_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_GameEventList_key_t(const CSVCMsg_GameEventList_key_t& from); - CSVCMsg_GameEventList_key_t(CSVCMsg_GameEventList_key_t&& from) noexcept - : CSVCMsg_GameEventList_key_t() { - *this = ::std::move(from); - } - - inline CSVCMsg_GameEventList_key_t& operator=(const CSVCMsg_GameEventList_key_t& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_GameEventList_key_t& operator=(CSVCMsg_GameEventList_key_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_GameEventList_key_t& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_GameEventList_key_t* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_GameEventList_key_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 42; - - friend void swap(CSVCMsg_GameEventList_key_t& a, CSVCMsg_GameEventList_key_t& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_GameEventList_key_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_GameEventList_key_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_GameEventList_key_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_GameEventList_key_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_GameEventList_key_t& from) { - CSVCMsg_GameEventList_key_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_GameEventList_key_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_GameEventList.key_t"; - } - protected: - explicit CSVCMsg_GameEventList_key_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 2, - kTypeFieldNumber = 1, - }; - // optional string name = 2; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional int32 type = 1; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - int32_t type() const; - void set_type(int32_t value); - private: - int32_t _internal_type() const; - void _internal_set_type(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_GameEventList.key_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - int32_t type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_GameEventList_descriptor_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_GameEventList.descriptor_t) */ { - public: - inline CSVCMsg_GameEventList_descriptor_t() : CSVCMsg_GameEventList_descriptor_t(nullptr) {} - ~CSVCMsg_GameEventList_descriptor_t() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_GameEventList_descriptor_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_GameEventList_descriptor_t(const CSVCMsg_GameEventList_descriptor_t& from); - CSVCMsg_GameEventList_descriptor_t(CSVCMsg_GameEventList_descriptor_t&& from) noexcept - : CSVCMsg_GameEventList_descriptor_t() { - *this = ::std::move(from); - } - - inline CSVCMsg_GameEventList_descriptor_t& operator=(const CSVCMsg_GameEventList_descriptor_t& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_GameEventList_descriptor_t& operator=(CSVCMsg_GameEventList_descriptor_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_GameEventList_descriptor_t& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_GameEventList_descriptor_t* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_GameEventList_descriptor_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 43; - - friend void swap(CSVCMsg_GameEventList_descriptor_t& a, CSVCMsg_GameEventList_descriptor_t& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_GameEventList_descriptor_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_GameEventList_descriptor_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_GameEventList_descriptor_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_GameEventList_descriptor_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_GameEventList_descriptor_t& from) { - CSVCMsg_GameEventList_descriptor_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_GameEventList_descriptor_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_GameEventList.descriptor_t"; - } - protected: - explicit CSVCMsg_GameEventList_descriptor_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kKeysFieldNumber = 3, - kNameFieldNumber = 2, - kEventidFieldNumber = 1, - }; - // repeated .CSVCMsg_GameEventList.key_t keys = 3; - int keys_size() const; - private: - int _internal_keys_size() const; - public: - void clear_keys(); - ::CSVCMsg_GameEventList_key_t* mutable_keys(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_key_t >* - mutable_keys(); - private: - const ::CSVCMsg_GameEventList_key_t& _internal_keys(int index) const; - ::CSVCMsg_GameEventList_key_t* _internal_add_keys(); - public: - const ::CSVCMsg_GameEventList_key_t& keys(int index) const; - ::CSVCMsg_GameEventList_key_t* add_keys(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_key_t >& - keys() const; - - // optional string name = 2; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional int32 eventid = 1; - bool has_eventid() const; - private: - bool _internal_has_eventid() const; - public: - void clear_eventid(); - int32_t eventid() const; - void set_eventid(int32_t value); - private: - int32_t _internal_eventid() const; - void _internal_set_eventid(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_GameEventList.descriptor_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_key_t > keys_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - int32_t eventid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_GameEventList : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_GameEventList) */ { - public: - inline CSVCMsg_GameEventList() : CSVCMsg_GameEventList(nullptr) {} - ~CSVCMsg_GameEventList() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_GameEventList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_GameEventList(const CSVCMsg_GameEventList& from); - CSVCMsg_GameEventList(CSVCMsg_GameEventList&& from) noexcept - : CSVCMsg_GameEventList() { - *this = ::std::move(from); - } - - inline CSVCMsg_GameEventList& operator=(const CSVCMsg_GameEventList& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_GameEventList& operator=(CSVCMsg_GameEventList&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_GameEventList& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_GameEventList* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_GameEventList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 44; - - friend void swap(CSVCMsg_GameEventList& a, CSVCMsg_GameEventList& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_GameEventList* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_GameEventList* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_GameEventList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_GameEventList& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_GameEventList& from) { - CSVCMsg_GameEventList::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_GameEventList* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_GameEventList"; - } - protected: - explicit CSVCMsg_GameEventList(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CSVCMsg_GameEventList_key_t key_t; - typedef CSVCMsg_GameEventList_descriptor_t descriptor_t; - - // accessors ------------------------------------------------------- - - enum : int { - kDescriptorsFieldNumber = 1, - }; - // repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1; - int descriptors_size() const; - private: - int _internal_descriptors_size() const; - public: - void clear_descriptors(); - ::CSVCMsg_GameEventList_descriptor_t* mutable_descriptors(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_descriptor_t >* - mutable_descriptors(); - private: - const ::CSVCMsg_GameEventList_descriptor_t& _internal_descriptors(int index) const; - ::CSVCMsg_GameEventList_descriptor_t* _internal_add_descriptors(); - public: - const ::CSVCMsg_GameEventList_descriptor_t& descriptors(int index) const; - ::CSVCMsg_GameEventList_descriptor_t* add_descriptors(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_descriptor_t >& - descriptors() const; - - // @@protoc_insertion_point(class_scope:CSVCMsg_GameEventList) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_descriptor_t > descriptors_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_PacketEntities_alternate_baseline_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_PacketEntities.alternate_baseline_t) */ { - public: - inline CSVCMsg_PacketEntities_alternate_baseline_t() : CSVCMsg_PacketEntities_alternate_baseline_t(nullptr) {} - ~CSVCMsg_PacketEntities_alternate_baseline_t() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities_alternate_baseline_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_PacketEntities_alternate_baseline_t(const CSVCMsg_PacketEntities_alternate_baseline_t& from); - CSVCMsg_PacketEntities_alternate_baseline_t(CSVCMsg_PacketEntities_alternate_baseline_t&& from) noexcept - : CSVCMsg_PacketEntities_alternate_baseline_t() { - *this = ::std::move(from); - } - - inline CSVCMsg_PacketEntities_alternate_baseline_t& operator=(const CSVCMsg_PacketEntities_alternate_baseline_t& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_PacketEntities_alternate_baseline_t& operator=(CSVCMsg_PacketEntities_alternate_baseline_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_PacketEntities_alternate_baseline_t& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_PacketEntities_alternate_baseline_t* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_PacketEntities_alternate_baseline_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 45; - - friend void swap(CSVCMsg_PacketEntities_alternate_baseline_t& a, CSVCMsg_PacketEntities_alternate_baseline_t& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_PacketEntities_alternate_baseline_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_PacketEntities_alternate_baseline_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_PacketEntities_alternate_baseline_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_PacketEntities_alternate_baseline_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_PacketEntities_alternate_baseline_t& from) { - CSVCMsg_PacketEntities_alternate_baseline_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_PacketEntities_alternate_baseline_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_PacketEntities.alternate_baseline_t"; - } - protected: - explicit CSVCMsg_PacketEntities_alternate_baseline_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEntityIndexFieldNumber = 1, - kBaselineIndexFieldNumber = 2, - }; - // optional int32 entity_index = 1; - bool has_entity_index() const; - private: - bool _internal_has_entity_index() const; - public: - void clear_entity_index(); - int32_t entity_index() const; - void set_entity_index(int32_t value); - private: - int32_t _internal_entity_index() const; - void _internal_set_entity_index(int32_t value); - public: - - // optional int32 baseline_index = 2; - bool has_baseline_index() const; - private: - bool _internal_has_baseline_index() const; - public: - void clear_baseline_index(); - int32_t baseline_index() const; - void set_baseline_index(int32_t value); - private: - int32_t _internal_baseline_index() const; - void _internal_set_baseline_index(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_PacketEntities.alternate_baseline_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t entity_index_; - int32_t baseline_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_PacketEntities_non_transmitted_entities_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_PacketEntities.non_transmitted_entities_t) */ { - public: - inline CSVCMsg_PacketEntities_non_transmitted_entities_t() : CSVCMsg_PacketEntities_non_transmitted_entities_t(nullptr) {} - ~CSVCMsg_PacketEntities_non_transmitted_entities_t() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities_non_transmitted_entities_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_PacketEntities_non_transmitted_entities_t(const CSVCMsg_PacketEntities_non_transmitted_entities_t& from); - CSVCMsg_PacketEntities_non_transmitted_entities_t(CSVCMsg_PacketEntities_non_transmitted_entities_t&& from) noexcept - : CSVCMsg_PacketEntities_non_transmitted_entities_t() { - *this = ::std::move(from); - } - - inline CSVCMsg_PacketEntities_non_transmitted_entities_t& operator=(const CSVCMsg_PacketEntities_non_transmitted_entities_t& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_PacketEntities_non_transmitted_entities_t& operator=(CSVCMsg_PacketEntities_non_transmitted_entities_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_PacketEntities_non_transmitted_entities_t& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_PacketEntities_non_transmitted_entities_t* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_PacketEntities_non_transmitted_entities_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 46; - - friend void swap(CSVCMsg_PacketEntities_non_transmitted_entities_t& a, CSVCMsg_PacketEntities_non_transmitted_entities_t& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_PacketEntities_non_transmitted_entities_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_PacketEntities_non_transmitted_entities_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_PacketEntities_non_transmitted_entities_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_PacketEntities_non_transmitted_entities_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_PacketEntities_non_transmitted_entities_t& from) { - CSVCMsg_PacketEntities_non_transmitted_entities_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_PacketEntities_non_transmitted_entities_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_PacketEntities.non_transmitted_entities_t"; - } - protected: - explicit CSVCMsg_PacketEntities_non_transmitted_entities_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 2, - kHeaderCountFieldNumber = 1, - }; - // optional bytes data = 2; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // optional int32 header_count = 1; - bool has_header_count() const; - private: - bool _internal_has_header_count() const; - public: - void clear_header_count(); - int32_t header_count() const; - void set_header_count(int32_t value); - private: - int32_t _internal_header_count() const; - void _internal_set_header_count(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_PacketEntities.non_transmitted_entities_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - int32_t header_count_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_PacketEntities_outofpvs_entity_updates_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) */ { - public: - inline CSVCMsg_PacketEntities_outofpvs_entity_updates_t() : CSVCMsg_PacketEntities_outofpvs_entity_updates_t(nullptr) {} - ~CSVCMsg_PacketEntities_outofpvs_entity_updates_t() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities_outofpvs_entity_updates_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_PacketEntities_outofpvs_entity_updates_t(const CSVCMsg_PacketEntities_outofpvs_entity_updates_t& from); - CSVCMsg_PacketEntities_outofpvs_entity_updates_t(CSVCMsg_PacketEntities_outofpvs_entity_updates_t&& from) noexcept - : CSVCMsg_PacketEntities_outofpvs_entity_updates_t() { - *this = ::std::move(from); - } - - inline CSVCMsg_PacketEntities_outofpvs_entity_updates_t& operator=(const CSVCMsg_PacketEntities_outofpvs_entity_updates_t& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_PacketEntities_outofpvs_entity_updates_t& operator=(CSVCMsg_PacketEntities_outofpvs_entity_updates_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_PacketEntities_outofpvs_entity_updates_t& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_PacketEntities_outofpvs_entity_updates_t* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_PacketEntities_outofpvs_entity_updates_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 47; - - friend void swap(CSVCMsg_PacketEntities_outofpvs_entity_updates_t& a, CSVCMsg_PacketEntities_outofpvs_entity_updates_t& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_PacketEntities_outofpvs_entity_updates_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_PacketEntities_outofpvs_entity_updates_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_PacketEntities_outofpvs_entity_updates_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_PacketEntities_outofpvs_entity_updates_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_PacketEntities_outofpvs_entity_updates_t& from) { - CSVCMsg_PacketEntities_outofpvs_entity_updates_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_PacketEntities_outofpvs_entity_updates_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_PacketEntities.outofpvs_entity_updates_t"; - } - protected: - explicit CSVCMsg_PacketEntities_outofpvs_entity_updates_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 2, - kCountFieldNumber = 1, - }; - // optional bytes data = 2; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // optional int32 count = 1; - bool has_count() const; - private: - bool _internal_has_count() const; - public: - void clear_count(); - int32_t count() const; - void set_count(int32_t value); - private: - int32_t _internal_count() const; - void _internal_set_count(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_PacketEntities.outofpvs_entity_updates_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - int32_t count_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_PacketEntities : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_PacketEntities) */ { - public: - inline CSVCMsg_PacketEntities() : CSVCMsg_PacketEntities(nullptr) {} - ~CSVCMsg_PacketEntities() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_PacketEntities(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_PacketEntities(const CSVCMsg_PacketEntities& from); - CSVCMsg_PacketEntities(CSVCMsg_PacketEntities&& from) noexcept - : CSVCMsg_PacketEntities() { - *this = ::std::move(from); - } - - inline CSVCMsg_PacketEntities& operator=(const CSVCMsg_PacketEntities& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_PacketEntities& operator=(CSVCMsg_PacketEntities&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_PacketEntities& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_PacketEntities* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_PacketEntities_default_instance_); - } - static constexpr int kIndexInFileMessages = - 48; - - friend void swap(CSVCMsg_PacketEntities& a, CSVCMsg_PacketEntities& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_PacketEntities* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_PacketEntities* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_PacketEntities* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_PacketEntities& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_PacketEntities& from) { - CSVCMsg_PacketEntities::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_PacketEntities* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_PacketEntities"; - } - protected: - explicit CSVCMsg_PacketEntities(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CSVCMsg_PacketEntities_alternate_baseline_t alternate_baseline_t; - typedef CSVCMsg_PacketEntities_non_transmitted_entities_t non_transmitted_entities_t; - typedef CSVCMsg_PacketEntities_outofpvs_entity_updates_t outofpvs_entity_updates_t; - - // accessors ------------------------------------------------------- - - enum : int { - kAlternateBaselinesFieldNumber = 15, - kCmdRecvStatusFieldNumber = 22, - kEntityDataFieldNumber = 7, - kSerializedEntitiesFieldNumber = 13, - kDevPaddingFieldNumber = 999, - kNonTransmittedEntitiesFieldNumber = 19, - kOutofpvsEntityUpdatesFieldNumber = 23, - kMaxEntriesFieldNumber = 1, - kUpdatedEntriesFieldNumber = 2, - kBaselineFieldNumber = 5, - kLegacyIsDeltaFieldNumber = 3, - kUpdateBaselineFieldNumber = 4, - kPendingFullFrameFieldNumber = 8, - kDeltaFromFieldNumber = 6, - kActiveSpawngroupHandleFieldNumber = 9, - kMaxSpawngroupCreationsequenceFieldNumber = 10, - kLastCmdNumberExecutedFieldNumber = 11, - kServerTickFieldNumber = 12, - kHasPvsVisBitsDeprecatedFieldNumber = 16, - kLastCmdNumberRecvDeltaFieldNumber = 17, - kCqStarvedCommandTicksFieldNumber = 20, - kCqDiscardedCommandTicksFieldNumber = 21, - }; - // repeated .CSVCMsg_PacketEntities.alternate_baseline_t alternate_baselines = 15; - int alternate_baselines_size() const; - private: - int _internal_alternate_baselines_size() const; - public: - void clear_alternate_baselines(); - ::CSVCMsg_PacketEntities_alternate_baseline_t* mutable_alternate_baselines(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_PacketEntities_alternate_baseline_t >* - mutable_alternate_baselines(); - private: - const ::CSVCMsg_PacketEntities_alternate_baseline_t& _internal_alternate_baselines(int index) const; - ::CSVCMsg_PacketEntities_alternate_baseline_t* _internal_add_alternate_baselines(); - public: - const ::CSVCMsg_PacketEntities_alternate_baseline_t& alternate_baselines(int index) const; - ::CSVCMsg_PacketEntities_alternate_baseline_t* add_alternate_baselines(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_PacketEntities_alternate_baseline_t >& - alternate_baselines() const; - - // repeated sint32 cmd_recv_status = 22 [packed = true]; - int cmd_recv_status_size() const; - private: - int _internal_cmd_recv_status_size() const; - public: - void clear_cmd_recv_status(); - private: - int32_t _internal_cmd_recv_status(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_cmd_recv_status() const; - void _internal_add_cmd_recv_status(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_cmd_recv_status(); - public: - int32_t cmd_recv_status(int index) const; - void set_cmd_recv_status(int index, int32_t value); - void add_cmd_recv_status(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - cmd_recv_status() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_cmd_recv_status(); - - // optional bytes entity_data = 7; - bool has_entity_data() const; - private: - bool _internal_has_entity_data() const; - public: - void clear_entity_data(); - const std::string& entity_data() const; - template - void set_entity_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_entity_data(); - PROTOBUF_NODISCARD std::string* release_entity_data(); - void set_allocated_entity_data(std::string* entity_data); - private: - const std::string& _internal_entity_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_entity_data(const std::string& value); - std::string* _internal_mutable_entity_data(); - public: - - // optional bytes serialized_entities = 13; - bool has_serialized_entities() const; - private: - bool _internal_has_serialized_entities() const; - public: - void clear_serialized_entities(); - const std::string& serialized_entities() const; - template - void set_serialized_entities(ArgT0&& arg0, ArgT... args); - std::string* mutable_serialized_entities(); - PROTOBUF_NODISCARD std::string* release_serialized_entities(); - void set_allocated_serialized_entities(std::string* serialized_entities); - private: - const std::string& _internal_serialized_entities() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_serialized_entities(const std::string& value); - std::string* _internal_mutable_serialized_entities(); - public: - - // optional bytes dev_padding = 999; - bool has_dev_padding() const; - private: - bool _internal_has_dev_padding() const; - public: - void clear_dev_padding(); - const std::string& dev_padding() const; - template - void set_dev_padding(ArgT0&& arg0, ArgT... args); - std::string* mutable_dev_padding(); - PROTOBUF_NODISCARD std::string* release_dev_padding(); - void set_allocated_dev_padding(std::string* dev_padding); - private: - const std::string& _internal_dev_padding() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_dev_padding(const std::string& value); - std::string* _internal_mutable_dev_padding(); - public: - - // optional .CSVCMsg_PacketEntities.non_transmitted_entities_t non_transmitted_entities = 19; - bool has_non_transmitted_entities() const; - private: - bool _internal_has_non_transmitted_entities() const; - public: - void clear_non_transmitted_entities(); - const ::CSVCMsg_PacketEntities_non_transmitted_entities_t& non_transmitted_entities() const; - PROTOBUF_NODISCARD ::CSVCMsg_PacketEntities_non_transmitted_entities_t* release_non_transmitted_entities(); - ::CSVCMsg_PacketEntities_non_transmitted_entities_t* mutable_non_transmitted_entities(); - void set_allocated_non_transmitted_entities(::CSVCMsg_PacketEntities_non_transmitted_entities_t* non_transmitted_entities); - private: - const ::CSVCMsg_PacketEntities_non_transmitted_entities_t& _internal_non_transmitted_entities() const; - ::CSVCMsg_PacketEntities_non_transmitted_entities_t* _internal_mutable_non_transmitted_entities(); - public: - void unsafe_arena_set_allocated_non_transmitted_entities( - ::CSVCMsg_PacketEntities_non_transmitted_entities_t* non_transmitted_entities); - ::CSVCMsg_PacketEntities_non_transmitted_entities_t* unsafe_arena_release_non_transmitted_entities(); - - // optional .CSVCMsg_PacketEntities.outofpvs_entity_updates_t outofpvs_entity_updates = 23; - bool has_outofpvs_entity_updates() const; - private: - bool _internal_has_outofpvs_entity_updates() const; - public: - void clear_outofpvs_entity_updates(); - const ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t& outofpvs_entity_updates() const; - PROTOBUF_NODISCARD ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* release_outofpvs_entity_updates(); - ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* mutable_outofpvs_entity_updates(); - void set_allocated_outofpvs_entity_updates(::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* outofpvs_entity_updates); - private: - const ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t& _internal_outofpvs_entity_updates() const; - ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* _internal_mutable_outofpvs_entity_updates(); - public: - void unsafe_arena_set_allocated_outofpvs_entity_updates( - ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* outofpvs_entity_updates); - ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* unsafe_arena_release_outofpvs_entity_updates(); - - // optional int32 max_entries = 1; - bool has_max_entries() const; - private: - bool _internal_has_max_entries() const; - public: - void clear_max_entries(); - int32_t max_entries() const; - void set_max_entries(int32_t value); - private: - int32_t _internal_max_entries() const; - void _internal_set_max_entries(int32_t value); - public: - - // optional int32 updated_entries = 2; - bool has_updated_entries() const; - private: - bool _internal_has_updated_entries() const; - public: - void clear_updated_entries(); - int32_t updated_entries() const; - void set_updated_entries(int32_t value); - private: - int32_t _internal_updated_entries() const; - void _internal_set_updated_entries(int32_t value); - public: - - // optional int32 baseline = 5; - bool has_baseline() const; - private: - bool _internal_has_baseline() const; - public: - void clear_baseline(); - int32_t baseline() const; - void set_baseline(int32_t value); - private: - int32_t _internal_baseline() const; - void _internal_set_baseline(int32_t value); - public: - - // optional bool legacy_is_delta = 3; - bool has_legacy_is_delta() const; - private: - bool _internal_has_legacy_is_delta() const; - public: - void clear_legacy_is_delta(); - bool legacy_is_delta() const; - void set_legacy_is_delta(bool value); - private: - bool _internal_legacy_is_delta() const; - void _internal_set_legacy_is_delta(bool value); - public: - - // optional bool update_baseline = 4; - bool has_update_baseline() const; - private: - bool _internal_has_update_baseline() const; - public: - void clear_update_baseline(); - bool update_baseline() const; - void set_update_baseline(bool value); - private: - bool _internal_update_baseline() const; - void _internal_set_update_baseline(bool value); - public: - - // optional bool pending_full_frame = 8; - bool has_pending_full_frame() const; - private: - bool _internal_has_pending_full_frame() const; - public: - void clear_pending_full_frame(); - bool pending_full_frame() const; - void set_pending_full_frame(bool value); - private: - bool _internal_pending_full_frame() const; - void _internal_set_pending_full_frame(bool value); - public: - - // optional int32 delta_from = 6; - bool has_delta_from() const; - private: - bool _internal_has_delta_from() const; - public: - void clear_delta_from(); - int32_t delta_from() const; - void set_delta_from(int32_t value); - private: - int32_t _internal_delta_from() const; - void _internal_set_delta_from(int32_t value); - public: - - // optional uint32 active_spawngroup_handle = 9; - bool has_active_spawngroup_handle() const; - private: - bool _internal_has_active_spawngroup_handle() const; - public: - void clear_active_spawngroup_handle(); - uint32_t active_spawngroup_handle() const; - void set_active_spawngroup_handle(uint32_t value); - private: - uint32_t _internal_active_spawngroup_handle() const; - void _internal_set_active_spawngroup_handle(uint32_t value); - public: - - // optional uint32 max_spawngroup_creationsequence = 10; - bool has_max_spawngroup_creationsequence() const; - private: - bool _internal_has_max_spawngroup_creationsequence() const; - public: - void clear_max_spawngroup_creationsequence(); - uint32_t max_spawngroup_creationsequence() const; - void set_max_spawngroup_creationsequence(uint32_t value); - private: - uint32_t _internal_max_spawngroup_creationsequence() const; - void _internal_set_max_spawngroup_creationsequence(uint32_t value); - public: - - // optional uint32 last_cmd_number_executed = 11; - bool has_last_cmd_number_executed() const; - private: - bool _internal_has_last_cmd_number_executed() const; - public: - void clear_last_cmd_number_executed(); - uint32_t last_cmd_number_executed() const; - void set_last_cmd_number_executed(uint32_t value); - private: - uint32_t _internal_last_cmd_number_executed() const; - void _internal_set_last_cmd_number_executed(uint32_t value); - public: - - // optional uint32 server_tick = 12; - bool has_server_tick() const; - private: - bool _internal_has_server_tick() const; - public: - void clear_server_tick(); - uint32_t server_tick() const; - void set_server_tick(uint32_t value); - private: - uint32_t _internal_server_tick() const; - void _internal_set_server_tick(uint32_t value); - public: - - // optional uint32 has_pvs_vis_bits_deprecated = 16; - bool has_has_pvs_vis_bits_deprecated() const; - private: - bool _internal_has_has_pvs_vis_bits_deprecated() const; - public: - void clear_has_pvs_vis_bits_deprecated(); - uint32_t has_pvs_vis_bits_deprecated() const; - void set_has_pvs_vis_bits_deprecated(uint32_t value); - private: - uint32_t _internal_has_pvs_vis_bits_deprecated() const; - void _internal_set_has_pvs_vis_bits_deprecated(uint32_t value); - public: - - // optional sint32 last_cmd_number_recv_delta = 17; - bool has_last_cmd_number_recv_delta() const; - private: - bool _internal_has_last_cmd_number_recv_delta() const; - public: - void clear_last_cmd_number_recv_delta(); - int32_t last_cmd_number_recv_delta() const; - void set_last_cmd_number_recv_delta(int32_t value); - private: - int32_t _internal_last_cmd_number_recv_delta() const; - void _internal_set_last_cmd_number_recv_delta(int32_t value); - public: - - // optional uint32 cq_starved_command_ticks = 20; - bool has_cq_starved_command_ticks() const; - private: - bool _internal_has_cq_starved_command_ticks() const; - public: - void clear_cq_starved_command_ticks(); - uint32_t cq_starved_command_ticks() const; - void set_cq_starved_command_ticks(uint32_t value); - private: - uint32_t _internal_cq_starved_command_ticks() const; - void _internal_set_cq_starved_command_ticks(uint32_t value); - public: - - // optional uint32 cq_discarded_command_ticks = 21; - bool has_cq_discarded_command_ticks() const; - private: - bool _internal_has_cq_discarded_command_ticks() const; - public: - void clear_cq_discarded_command_ticks(); - uint32_t cq_discarded_command_ticks() const; - void set_cq_discarded_command_ticks(uint32_t value); - private: - uint32_t _internal_cq_discarded_command_ticks() const; - void _internal_set_cq_discarded_command_ticks(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_PacketEntities) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_PacketEntities_alternate_baseline_t > alternate_baselines_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > cmd_recv_status_; - mutable std::atomic _cmd_recv_status_cached_byte_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr entity_data_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serialized_entities_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dev_padding_; - ::CSVCMsg_PacketEntities_non_transmitted_entities_t* non_transmitted_entities_; - ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* outofpvs_entity_updates_; - int32_t max_entries_; - int32_t updated_entries_; - int32_t baseline_; - bool legacy_is_delta_; - bool update_baseline_; - bool pending_full_frame_; - int32_t delta_from_; - uint32_t active_spawngroup_handle_; - uint32_t max_spawngroup_creationsequence_; - uint32_t last_cmd_number_executed_; - uint32_t server_tick_; - uint32_t has_pvs_vis_bits_deprecated_; - int32_t last_cmd_number_recv_delta_; - uint32_t cq_starved_command_ticks_; - uint32_t cq_discarded_command_ticks_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_TempEntities : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_TempEntities) */ { - public: - inline CSVCMsg_TempEntities() : CSVCMsg_TempEntities(nullptr) {} - ~CSVCMsg_TempEntities() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_TempEntities(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_TempEntities(const CSVCMsg_TempEntities& from); - CSVCMsg_TempEntities(CSVCMsg_TempEntities&& from) noexcept - : CSVCMsg_TempEntities() { - *this = ::std::move(from); - } - - inline CSVCMsg_TempEntities& operator=(const CSVCMsg_TempEntities& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_TempEntities& operator=(CSVCMsg_TempEntities&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_TempEntities& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_TempEntities* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_TempEntities_default_instance_); - } - static constexpr int kIndexInFileMessages = - 49; - - friend void swap(CSVCMsg_TempEntities& a, CSVCMsg_TempEntities& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_TempEntities* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_TempEntities* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_TempEntities* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_TempEntities& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_TempEntities& from) { - CSVCMsg_TempEntities::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_TempEntities* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_TempEntities"; - } - protected: - explicit CSVCMsg_TempEntities(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEntityDataFieldNumber = 3, - kReliableFieldNumber = 1, - kNumEntriesFieldNumber = 2, - }; - // optional bytes entity_data = 3; - bool has_entity_data() const; - private: - bool _internal_has_entity_data() const; - public: - void clear_entity_data(); - const std::string& entity_data() const; - template - void set_entity_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_entity_data(); - PROTOBUF_NODISCARD std::string* release_entity_data(); - void set_allocated_entity_data(std::string* entity_data); - private: - const std::string& _internal_entity_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_entity_data(const std::string& value); - std::string* _internal_mutable_entity_data(); - public: - - // optional bool reliable = 1; - bool has_reliable() const; - private: - bool _internal_has_reliable() const; - public: - void clear_reliable(); - bool reliable() const; - void set_reliable(bool value); - private: - bool _internal_reliable() const; - void _internal_set_reliable(bool value); - public: - - // optional int32 num_entries = 2; - bool has_num_entries() const; - private: - bool _internal_has_num_entries() const; - public: - void clear_num_entries(); - int32_t num_entries() const; - void set_num_entries(int32_t value); - private: - int32_t _internal_num_entries() const; - void _internal_set_num_entries(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_TempEntities) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr entity_data_; - bool reliable_; - int32_t num_entries_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_CreateStringTable : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_CreateStringTable) */ { - public: - inline CSVCMsg_CreateStringTable() : CSVCMsg_CreateStringTable(nullptr) {} - ~CSVCMsg_CreateStringTable() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_CreateStringTable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_CreateStringTable(const CSVCMsg_CreateStringTable& from); - CSVCMsg_CreateStringTable(CSVCMsg_CreateStringTable&& from) noexcept - : CSVCMsg_CreateStringTable() { - *this = ::std::move(from); - } - - inline CSVCMsg_CreateStringTable& operator=(const CSVCMsg_CreateStringTable& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_CreateStringTable& operator=(CSVCMsg_CreateStringTable&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_CreateStringTable& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_CreateStringTable* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_CreateStringTable_default_instance_); - } - static constexpr int kIndexInFileMessages = - 50; - - friend void swap(CSVCMsg_CreateStringTable& a, CSVCMsg_CreateStringTable& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_CreateStringTable* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_CreateStringTable* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_CreateStringTable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_CreateStringTable& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_CreateStringTable& from) { - CSVCMsg_CreateStringTable::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_CreateStringTable* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_CreateStringTable"; - } - protected: - explicit CSVCMsg_CreateStringTable(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 1, - kStringDataFieldNumber = 7, - kNumEntriesFieldNumber = 2, - kUserDataSizeFieldNumber = 4, - kUserDataSizeBitsFieldNumber = 5, - kFlagsFieldNumber = 6, - kUserDataFixedSizeFieldNumber = 3, - kDataCompressedFieldNumber = 9, - kUsingVarintBitcountsFieldNumber = 10, - kUncompressedSizeFieldNumber = 8, - }; - // optional string name = 1; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional bytes string_data = 7; - bool has_string_data() const; - private: - bool _internal_has_string_data() const; - public: - void clear_string_data(); - const std::string& string_data() const; - template - void set_string_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_string_data(); - PROTOBUF_NODISCARD std::string* release_string_data(); - void set_allocated_string_data(std::string* string_data); - private: - const std::string& _internal_string_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_data(const std::string& value); - std::string* _internal_mutable_string_data(); - public: - - // optional int32 num_entries = 2; - bool has_num_entries() const; - private: - bool _internal_has_num_entries() const; - public: - void clear_num_entries(); - int32_t num_entries() const; - void set_num_entries(int32_t value); - private: - int32_t _internal_num_entries() const; - void _internal_set_num_entries(int32_t value); - public: - - // optional int32 user_data_size = 4; - bool has_user_data_size() const; - private: - bool _internal_has_user_data_size() const; - public: - void clear_user_data_size(); - int32_t user_data_size() const; - void set_user_data_size(int32_t value); - private: - int32_t _internal_user_data_size() const; - void _internal_set_user_data_size(int32_t value); - public: - - // optional int32 user_data_size_bits = 5; - bool has_user_data_size_bits() const; - private: - bool _internal_has_user_data_size_bits() const; - public: - void clear_user_data_size_bits(); - int32_t user_data_size_bits() const; - void set_user_data_size_bits(int32_t value); - private: - int32_t _internal_user_data_size_bits() const; - void _internal_set_user_data_size_bits(int32_t value); - public: - - // optional int32 flags = 6; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - int32_t flags() const; - void set_flags(int32_t value); - private: - int32_t _internal_flags() const; - void _internal_set_flags(int32_t value); - public: - - // optional bool user_data_fixed_size = 3; - bool has_user_data_fixed_size() const; - private: - bool _internal_has_user_data_fixed_size() const; - public: - void clear_user_data_fixed_size(); - bool user_data_fixed_size() const; - void set_user_data_fixed_size(bool value); - private: - bool _internal_user_data_fixed_size() const; - void _internal_set_user_data_fixed_size(bool value); - public: - - // optional bool data_compressed = 9; - bool has_data_compressed() const; - private: - bool _internal_has_data_compressed() const; - public: - void clear_data_compressed(); - bool data_compressed() const; - void set_data_compressed(bool value); - private: - bool _internal_data_compressed() const; - void _internal_set_data_compressed(bool value); - public: - - // optional bool using_varint_bitcounts = 10; - bool has_using_varint_bitcounts() const; - private: - bool _internal_has_using_varint_bitcounts() const; - public: - void clear_using_varint_bitcounts(); - bool using_varint_bitcounts() const; - void set_using_varint_bitcounts(bool value); - private: - bool _internal_using_varint_bitcounts() const; - void _internal_set_using_varint_bitcounts(bool value); - public: - - // optional int32 uncompressed_size = 8; - bool has_uncompressed_size() const; - private: - bool _internal_has_uncompressed_size() const; - public: - void clear_uncompressed_size(); - int32_t uncompressed_size() const; - void set_uncompressed_size(int32_t value); - private: - int32_t _internal_uncompressed_size() const; - void _internal_set_uncompressed_size(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_CreateStringTable) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_data_; - int32_t num_entries_; - int32_t user_data_size_; - int32_t user_data_size_bits_; - int32_t flags_; - bool user_data_fixed_size_; - bool data_compressed_; - bool using_varint_bitcounts_; - int32_t uncompressed_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_UpdateStringTable : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_UpdateStringTable) */ { - public: - inline CSVCMsg_UpdateStringTable() : CSVCMsg_UpdateStringTable(nullptr) {} - ~CSVCMsg_UpdateStringTable() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_UpdateStringTable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_UpdateStringTable(const CSVCMsg_UpdateStringTable& from); - CSVCMsg_UpdateStringTable(CSVCMsg_UpdateStringTable&& from) noexcept - : CSVCMsg_UpdateStringTable() { - *this = ::std::move(from); - } - - inline CSVCMsg_UpdateStringTable& operator=(const CSVCMsg_UpdateStringTable& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_UpdateStringTable& operator=(CSVCMsg_UpdateStringTable&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_UpdateStringTable& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_UpdateStringTable* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_UpdateStringTable_default_instance_); - } - static constexpr int kIndexInFileMessages = - 51; - - friend void swap(CSVCMsg_UpdateStringTable& a, CSVCMsg_UpdateStringTable& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_UpdateStringTable* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_UpdateStringTable* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_UpdateStringTable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_UpdateStringTable& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_UpdateStringTable& from) { - CSVCMsg_UpdateStringTable::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_UpdateStringTable* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_UpdateStringTable"; - } - protected: - explicit CSVCMsg_UpdateStringTable(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStringDataFieldNumber = 3, - kTableIdFieldNumber = 1, - kNumChangedEntriesFieldNumber = 2, - }; - // optional bytes string_data = 3; - bool has_string_data() const; - private: - bool _internal_has_string_data() const; - public: - void clear_string_data(); - const std::string& string_data() const; - template - void set_string_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_string_data(); - PROTOBUF_NODISCARD std::string* release_string_data(); - void set_allocated_string_data(std::string* string_data); - private: - const std::string& _internal_string_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_data(const std::string& value); - std::string* _internal_mutable_string_data(); - public: - - // optional int32 table_id = 1; - bool has_table_id() const; - private: - bool _internal_has_table_id() const; - public: - void clear_table_id(); - int32_t table_id() const; - void set_table_id(int32_t value); - private: - int32_t _internal_table_id() const; - void _internal_set_table_id(int32_t value); - public: - - // optional int32 num_changed_entries = 2; - bool has_num_changed_entries() const; - private: - bool _internal_has_num_changed_entries() const; - public: - void clear_num_changed_entries(); - int32_t num_changed_entries() const; - void set_num_changed_entries(int32_t value); - private: - int32_t _internal_num_changed_entries() const; - void _internal_set_num_changed_entries(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_UpdateStringTable) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_data_; - int32_t table_id_; - int32_t num_changed_entries_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_VoiceData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_VoiceData) */ { - public: - inline CSVCMsg_VoiceData() : CSVCMsg_VoiceData(nullptr) {} - ~CSVCMsg_VoiceData() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_VoiceData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_VoiceData(const CSVCMsg_VoiceData& from); - CSVCMsg_VoiceData(CSVCMsg_VoiceData&& from) noexcept - : CSVCMsg_VoiceData() { - *this = ::std::move(from); - } - - inline CSVCMsg_VoiceData& operator=(const CSVCMsg_VoiceData& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_VoiceData& operator=(CSVCMsg_VoiceData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_VoiceData& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_VoiceData* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_VoiceData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 52; - - friend void swap(CSVCMsg_VoiceData& a, CSVCMsg_VoiceData& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_VoiceData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_VoiceData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_VoiceData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_VoiceData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_VoiceData& from) { - CSVCMsg_VoiceData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_VoiceData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_VoiceData"; - } - protected: - explicit CSVCMsg_VoiceData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAudioFieldNumber = 1, - kXuidFieldNumber = 4, - kProximityFieldNumber = 3, - kAudibleMaskFieldNumber = 5, - kTickFieldNumber = 6, - kPassthroughFieldNumber = 7, - kClientFieldNumber = 2, - }; - // optional .CMsgVoiceAudio audio = 1; - bool has_audio() const; - private: - bool _internal_has_audio() const; - public: - void clear_audio(); - const ::CMsgVoiceAudio& audio() const; - PROTOBUF_NODISCARD ::CMsgVoiceAudio* release_audio(); - ::CMsgVoiceAudio* mutable_audio(); - void set_allocated_audio(::CMsgVoiceAudio* audio); - private: - const ::CMsgVoiceAudio& _internal_audio() const; - ::CMsgVoiceAudio* _internal_mutable_audio(); - public: - void unsafe_arena_set_allocated_audio( - ::CMsgVoiceAudio* audio); - ::CMsgVoiceAudio* unsafe_arena_release_audio(); - - // optional fixed64 xuid = 4; - bool has_xuid() const; - private: - bool _internal_has_xuid() const; - public: - void clear_xuid(); - uint64_t xuid() const; - void set_xuid(uint64_t value); - private: - uint64_t _internal_xuid() const; - void _internal_set_xuid(uint64_t value); - public: - - // optional bool proximity = 3; - bool has_proximity() const; - private: - bool _internal_has_proximity() const; - public: - void clear_proximity(); - bool proximity() const; - void set_proximity(bool value); - private: - bool _internal_proximity() const; - void _internal_set_proximity(bool value); - public: - - // optional int32 audible_mask = 5; - bool has_audible_mask() const; - private: - bool _internal_has_audible_mask() const; - public: - void clear_audible_mask(); - int32_t audible_mask() const; - void set_audible_mask(int32_t value); - private: - int32_t _internal_audible_mask() const; - void _internal_set_audible_mask(int32_t value); - public: - - // optional uint32 tick = 6; - bool has_tick() const; - private: - bool _internal_has_tick() const; - public: - void clear_tick(); - uint32_t tick() const; - void set_tick(uint32_t value); - private: - uint32_t _internal_tick() const; - void _internal_set_tick(uint32_t value); - public: - - // optional int32 passthrough = 7; - bool has_passthrough() const; - private: - bool _internal_has_passthrough() const; - public: - void clear_passthrough(); - int32_t passthrough() const; - void set_passthrough(int32_t value); - private: - int32_t _internal_passthrough() const; - void _internal_set_passthrough(int32_t value); - public: - - // optional int32 client = 2 [default = -1]; - bool has_client() const; - private: - bool _internal_has_client() const; - public: - void clear_client(); - int32_t client() const; - void set_client(int32_t value); - private: - int32_t _internal_client() const; - void _internal_set_client(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_VoiceData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVoiceAudio* audio_; - uint64_t xuid_; - bool proximity_; - int32_t audible_mask_; - uint32_t tick_; - int32_t passthrough_; - int32_t client_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_PacketReliable : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_PacketReliable) */ { - public: - inline CSVCMsg_PacketReliable() : CSVCMsg_PacketReliable(nullptr) {} - ~CSVCMsg_PacketReliable() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_PacketReliable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_PacketReliable(const CSVCMsg_PacketReliable& from); - CSVCMsg_PacketReliable(CSVCMsg_PacketReliable&& from) noexcept - : CSVCMsg_PacketReliable() { - *this = ::std::move(from); - } - - inline CSVCMsg_PacketReliable& operator=(const CSVCMsg_PacketReliable& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_PacketReliable& operator=(CSVCMsg_PacketReliable&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_PacketReliable& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_PacketReliable* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_PacketReliable_default_instance_); - } - static constexpr int kIndexInFileMessages = - 53; - - friend void swap(CSVCMsg_PacketReliable& a, CSVCMsg_PacketReliable& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_PacketReliable* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_PacketReliable* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_PacketReliable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_PacketReliable& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_PacketReliable& from) { - CSVCMsg_PacketReliable::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_PacketReliable* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_PacketReliable"; - } - protected: - explicit CSVCMsg_PacketReliable(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTickFieldNumber = 1, - kMessagessizeFieldNumber = 2, - kStateFieldNumber = 3, - }; - // optional int32 tick = 1; - bool has_tick() const; - private: - bool _internal_has_tick() const; - public: - void clear_tick(); - int32_t tick() const; - void set_tick(int32_t value); - private: - int32_t _internal_tick() const; - void _internal_set_tick(int32_t value); - public: - - // optional int32 messagessize = 2; - bool has_messagessize() const; - private: - bool _internal_has_messagessize() const; - public: - void clear_messagessize(); - int32_t messagessize() const; - void set_messagessize(int32_t value); - private: - int32_t _internal_messagessize() const; - void _internal_set_messagessize(int32_t value); - public: - - // optional bool state = 3; - bool has_state() const; - private: - bool _internal_has_state() const; - public: - void clear_state(); - bool state() const; - void set_state(bool value); - private: - bool _internal_state() const; - void _internal_set_state(bool value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_PacketReliable) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t tick_; - int32_t messagessize_; - bool state_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_FullFrameSplit : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_FullFrameSplit) */ { - public: - inline CSVCMsg_FullFrameSplit() : CSVCMsg_FullFrameSplit(nullptr) {} - ~CSVCMsg_FullFrameSplit() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_FullFrameSplit(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_FullFrameSplit(const CSVCMsg_FullFrameSplit& from); - CSVCMsg_FullFrameSplit(CSVCMsg_FullFrameSplit&& from) noexcept - : CSVCMsg_FullFrameSplit() { - *this = ::std::move(from); - } - - inline CSVCMsg_FullFrameSplit& operator=(const CSVCMsg_FullFrameSplit& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_FullFrameSplit& operator=(CSVCMsg_FullFrameSplit&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_FullFrameSplit& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_FullFrameSplit* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_FullFrameSplit_default_instance_); - } - static constexpr int kIndexInFileMessages = - 54; - - friend void swap(CSVCMsg_FullFrameSplit& a, CSVCMsg_FullFrameSplit& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_FullFrameSplit* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_FullFrameSplit* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_FullFrameSplit* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_FullFrameSplit& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_FullFrameSplit& from) { - CSVCMsg_FullFrameSplit::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_FullFrameSplit* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_FullFrameSplit"; - } - protected: - explicit CSVCMsg_FullFrameSplit(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 4, - kTickFieldNumber = 1, - kSectionFieldNumber = 2, - kTotalFieldNumber = 3, - }; - // optional bytes data = 4; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // optional int32 tick = 1; - bool has_tick() const; - private: - bool _internal_has_tick() const; - public: - void clear_tick(); - int32_t tick() const; - void set_tick(int32_t value); - private: - int32_t _internal_tick() const; - void _internal_set_tick(int32_t value); - public: - - // optional int32 section = 2; - bool has_section() const; - private: - bool _internal_has_section() const; - public: - void clear_section(); - int32_t section() const; - void set_section(int32_t value); - private: - int32_t _internal_section() const; - void _internal_set_section(int32_t value); - public: - - // optional int32 total = 3; - bool has_total() const; - private: - bool _internal_has_total() const; - public: - void clear_total(); - int32_t total() const; - void set_total(int32_t value); - private: - int32_t _internal_total() const; - void _internal_set_total(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_FullFrameSplit) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - int32_t tick_; - int32_t section_; - int32_t total_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_HLTVStatus : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_HLTVStatus) */ { - public: - inline CSVCMsg_HLTVStatus() : CSVCMsg_HLTVStatus(nullptr) {} - ~CSVCMsg_HLTVStatus() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_HLTVStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_HLTVStatus(const CSVCMsg_HLTVStatus& from); - CSVCMsg_HLTVStatus(CSVCMsg_HLTVStatus&& from) noexcept - : CSVCMsg_HLTVStatus() { - *this = ::std::move(from); - } - - inline CSVCMsg_HLTVStatus& operator=(const CSVCMsg_HLTVStatus& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_HLTVStatus& operator=(CSVCMsg_HLTVStatus&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_HLTVStatus& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_HLTVStatus* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_HLTVStatus_default_instance_); - } - static constexpr int kIndexInFileMessages = - 55; - - friend void swap(CSVCMsg_HLTVStatus& a, CSVCMsg_HLTVStatus& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_HLTVStatus* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_HLTVStatus* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_HLTVStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_HLTVStatus& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_HLTVStatus& from) { - CSVCMsg_HLTVStatus::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_HLTVStatus* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_HLTVStatus"; - } - protected: - explicit CSVCMsg_HLTVStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMasterFieldNumber = 1, - kClientsFieldNumber = 2, - kSlotsFieldNumber = 3, - kProxiesFieldNumber = 4, - }; - // optional string master = 1; - bool has_master() const; - private: - bool _internal_has_master() const; - public: - void clear_master(); - const std::string& master() const; - template - void set_master(ArgT0&& arg0, ArgT... args); - std::string* mutable_master(); - PROTOBUF_NODISCARD std::string* release_master(); - void set_allocated_master(std::string* master); - private: - const std::string& _internal_master() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_master(const std::string& value); - std::string* _internal_mutable_master(); - public: - - // optional int32 clients = 2; - bool has_clients() const; - private: - bool _internal_has_clients() const; - public: - void clear_clients(); - int32_t clients() const; - void set_clients(int32_t value); - private: - int32_t _internal_clients() const; - void _internal_set_clients(int32_t value); - public: - - // optional int32 slots = 3; - bool has_slots() const; - private: - bool _internal_has_slots() const; - public: - void clear_slots(); - int32_t slots() const; - void set_slots(int32_t value); - private: - int32_t _internal_slots() const; - void _internal_set_slots(int32_t value); - public: - - // optional int32 proxies = 4; - bool has_proxies() const; - private: - bool _internal_has_proxies() const; - public: - void clear_proxies(); - int32_t proxies() const; - void set_proxies(int32_t value); - private: - int32_t _internal_proxies() const; - void _internal_set_proxies(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_HLTVStatus) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr master_; - int32_t clients_; - int32_t slots_; - int32_t proxies_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_ServerSteamID : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_ServerSteamID) */ { - public: - inline CSVCMsg_ServerSteamID() : CSVCMsg_ServerSteamID(nullptr) {} - ~CSVCMsg_ServerSteamID() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_ServerSteamID(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_ServerSteamID(const CSVCMsg_ServerSteamID& from); - CSVCMsg_ServerSteamID(CSVCMsg_ServerSteamID&& from) noexcept - : CSVCMsg_ServerSteamID() { - *this = ::std::move(from); - } - - inline CSVCMsg_ServerSteamID& operator=(const CSVCMsg_ServerSteamID& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_ServerSteamID& operator=(CSVCMsg_ServerSteamID&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_ServerSteamID& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_ServerSteamID* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_ServerSteamID_default_instance_); - } - static constexpr int kIndexInFileMessages = - 56; - - friend void swap(CSVCMsg_ServerSteamID& a, CSVCMsg_ServerSteamID& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_ServerSteamID* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_ServerSteamID* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_ServerSteamID* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_ServerSteamID& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_ServerSteamID& from) { - CSVCMsg_ServerSteamID::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_ServerSteamID* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_ServerSteamID"; - } - protected: - explicit CSVCMsg_ServerSteamID(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSteamIdFieldNumber = 1, - }; - // optional uint64 steam_id = 1; - bool has_steam_id() const; - private: - bool _internal_has_steam_id() const; - public: - void clear_steam_id(); - uint64_t steam_id() const; - void set_steam_id(uint64_t value); - private: - uint64_t _internal_steam_id() const; - void _internal_set_steam_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_ServerSteamID) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t steam_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_CmdKeyValues : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_CmdKeyValues) */ { - public: - inline CSVCMsg_CmdKeyValues() : CSVCMsg_CmdKeyValues(nullptr) {} - ~CSVCMsg_CmdKeyValues() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_CmdKeyValues(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_CmdKeyValues(const CSVCMsg_CmdKeyValues& from); - CSVCMsg_CmdKeyValues(CSVCMsg_CmdKeyValues&& from) noexcept - : CSVCMsg_CmdKeyValues() { - *this = ::std::move(from); - } - - inline CSVCMsg_CmdKeyValues& operator=(const CSVCMsg_CmdKeyValues& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_CmdKeyValues& operator=(CSVCMsg_CmdKeyValues&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_CmdKeyValues& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_CmdKeyValues* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_CmdKeyValues_default_instance_); - } - static constexpr int kIndexInFileMessages = - 57; - - friend void swap(CSVCMsg_CmdKeyValues& a, CSVCMsg_CmdKeyValues& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_CmdKeyValues* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_CmdKeyValues* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_CmdKeyValues* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_CmdKeyValues& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_CmdKeyValues& from) { - CSVCMsg_CmdKeyValues::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_CmdKeyValues* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_CmdKeyValues"; - } - protected: - explicit CSVCMsg_CmdKeyValues(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 1, - }; - // optional bytes data = 1; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_CmdKeyValues) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_RconServerDetails : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_RconServerDetails) */ { - public: - inline CSVCMsg_RconServerDetails() : CSVCMsg_RconServerDetails(nullptr) {} - ~CSVCMsg_RconServerDetails() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_RconServerDetails(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_RconServerDetails(const CSVCMsg_RconServerDetails& from); - CSVCMsg_RconServerDetails(CSVCMsg_RconServerDetails&& from) noexcept - : CSVCMsg_RconServerDetails() { - *this = ::std::move(from); - } - - inline CSVCMsg_RconServerDetails& operator=(const CSVCMsg_RconServerDetails& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_RconServerDetails& operator=(CSVCMsg_RconServerDetails&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_RconServerDetails& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_RconServerDetails* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_RconServerDetails_default_instance_); - } - static constexpr int kIndexInFileMessages = - 58; - - friend void swap(CSVCMsg_RconServerDetails& a, CSVCMsg_RconServerDetails& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_RconServerDetails* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_RconServerDetails* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_RconServerDetails* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_RconServerDetails& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_RconServerDetails& from) { - CSVCMsg_RconServerDetails::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_RconServerDetails* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_RconServerDetails"; - } - protected: - explicit CSVCMsg_RconServerDetails(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTokenFieldNumber = 1, - kDetailsFieldNumber = 2, - }; - // optional bytes token = 1; - bool has_token() const; - private: - bool _internal_has_token() const; - public: - void clear_token(); - const std::string& token() const; - template - void set_token(ArgT0&& arg0, ArgT... args); - std::string* mutable_token(); - PROTOBUF_NODISCARD std::string* release_token(); - void set_allocated_token(std::string* token); - private: - const std::string& _internal_token() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_token(const std::string& value); - std::string* _internal_mutable_token(); - public: - - // optional string details = 2; - bool has_details() const; - private: - bool _internal_has_details() const; - public: - void clear_details(); - const std::string& details() const; - template - void set_details(ArgT0&& arg0, ArgT... args); - std::string* mutable_details(); - PROTOBUF_NODISCARD std::string* release_details(); - void set_allocated_details(std::string* details); - private: - const std::string& _internal_details() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_details(const std::string& value); - std::string* _internal_mutable_details(); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_RconServerDetails) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr details_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgIPCAddress : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgIPCAddress) */ { - public: - inline CMsgIPCAddress() : CMsgIPCAddress(nullptr) {} - ~CMsgIPCAddress() override; - explicit PROTOBUF_CONSTEXPR CMsgIPCAddress(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgIPCAddress(const CMsgIPCAddress& from); - CMsgIPCAddress(CMsgIPCAddress&& from) noexcept - : CMsgIPCAddress() { - *this = ::std::move(from); - } - - inline CMsgIPCAddress& operator=(const CMsgIPCAddress& from) { - CopyFrom(from); - return *this; - } - inline CMsgIPCAddress& operator=(CMsgIPCAddress&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgIPCAddress& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgIPCAddress* internal_default_instance() { - return reinterpret_cast( - &_CMsgIPCAddress_default_instance_); - } - static constexpr int kIndexInFileMessages = - 59; - - friend void swap(CMsgIPCAddress& a, CMsgIPCAddress& b) { - a.Swap(&b); - } - inline void Swap(CMsgIPCAddress* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgIPCAddress* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgIPCAddress* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgIPCAddress& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgIPCAddress& from) { - CMsgIPCAddress::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgIPCAddress* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgIPCAddress"; - } - protected: - explicit CMsgIPCAddress(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kComputerGuidFieldNumber = 1, - kProcessIdFieldNumber = 2, - }; - // optional fixed64 computer_guid = 1; - bool has_computer_guid() const; - private: - bool _internal_has_computer_guid() const; - public: - void clear_computer_guid(); - uint64_t computer_guid() const; - void set_computer_guid(uint64_t value); - private: - uint64_t _internal_computer_guid() const; - void _internal_set_computer_guid(uint64_t value); - public: - - // optional uint32 process_id = 2; - bool has_process_id() const; - private: - bool _internal_has_process_id() const; - public: - void clear_process_id(); - uint32_t process_id() const; - void set_process_id(uint32_t value); - private: - uint32_t _internal_process_id() const; - void _internal_set_process_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgIPCAddress) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t computer_guid_; - uint32_t process_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgServerPeer : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgServerPeer) */ { - public: - inline CMsgServerPeer() : CMsgServerPeer(nullptr) {} - ~CMsgServerPeer() override; - explicit PROTOBUF_CONSTEXPR CMsgServerPeer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgServerPeer(const CMsgServerPeer& from); - CMsgServerPeer(CMsgServerPeer&& from) noexcept - : CMsgServerPeer() { - *this = ::std::move(from); - } - - inline CMsgServerPeer& operator=(const CMsgServerPeer& from) { - CopyFrom(from); - return *this; - } - inline CMsgServerPeer& operator=(CMsgServerPeer&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgServerPeer& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgServerPeer* internal_default_instance() { - return reinterpret_cast( - &_CMsgServerPeer_default_instance_); - } - static constexpr int kIndexInFileMessages = - 60; - - friend void swap(CMsgServerPeer& a, CMsgServerPeer& b) { - a.Swap(&b); - } - inline void Swap(CMsgServerPeer* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgServerPeer* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgServerPeer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgServerPeer& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgServerPeer& from) { - CMsgServerPeer::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgServerPeer* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgServerPeer"; - } - protected: - explicit CMsgServerPeer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIpcFieldNumber = 3, - kSteamidFieldNumber = 2, - kTheyHearYouFieldNumber = 4, - kYouHearThemFieldNumber = 5, - kIsListenserverHostFieldNumber = 6, - kPlayerSlotFieldNumber = 1, - }; - // optional .CMsgIPCAddress ipc = 3; - bool has_ipc() const; - private: - bool _internal_has_ipc() const; - public: - void clear_ipc(); - const ::CMsgIPCAddress& ipc() const; - PROTOBUF_NODISCARD ::CMsgIPCAddress* release_ipc(); - ::CMsgIPCAddress* mutable_ipc(); - void set_allocated_ipc(::CMsgIPCAddress* ipc); - private: - const ::CMsgIPCAddress& _internal_ipc() const; - ::CMsgIPCAddress* _internal_mutable_ipc(); - public: - void unsafe_arena_set_allocated_ipc( - ::CMsgIPCAddress* ipc); - ::CMsgIPCAddress* unsafe_arena_release_ipc(); - - // optional fixed64 steamid = 2; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional bool they_hear_you = 4; - bool has_they_hear_you() const; - private: - bool _internal_has_they_hear_you() const; - public: - void clear_they_hear_you(); - bool they_hear_you() const; - void set_they_hear_you(bool value); - private: - bool _internal_they_hear_you() const; - void _internal_set_they_hear_you(bool value); - public: - - // optional bool you_hear_them = 5; - bool has_you_hear_them() const; - private: - bool _internal_has_you_hear_them() const; - public: - void clear_you_hear_them(); - bool you_hear_them() const; - void set_you_hear_them(bool value); - private: - bool _internal_you_hear_them() const; - void _internal_set_you_hear_them(bool value); - public: - - // optional bool is_listenserver_host = 6; - bool has_is_listenserver_host() const; - private: - bool _internal_has_is_listenserver_host() const; - public: - void clear_is_listenserver_host(); - bool is_listenserver_host() const; - void set_is_listenserver_host(bool value); - private: - bool _internal_is_listenserver_host() const; - void _internal_set_is_listenserver_host(bool value); - public: - - // optional int32 player_slot = 1 [default = -1]; - bool has_player_slot() const; - private: - bool _internal_has_player_slot() const; - public: - void clear_player_slot(); - int32_t player_slot() const; - void set_player_slot(int32_t value); - private: - int32_t _internal_player_slot() const; - void _internal_set_player_slot(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgServerPeer) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgIPCAddress* ipc_; - uint64_t steamid_; - bool they_hear_you_; - bool you_hear_them_; - bool is_listenserver_host_; - int32_t player_slot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_PeerList : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_PeerList) */ { - public: - inline CSVCMsg_PeerList() : CSVCMsg_PeerList(nullptr) {} - ~CSVCMsg_PeerList() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_PeerList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_PeerList(const CSVCMsg_PeerList& from); - CSVCMsg_PeerList(CSVCMsg_PeerList&& from) noexcept - : CSVCMsg_PeerList() { - *this = ::std::move(from); - } - - inline CSVCMsg_PeerList& operator=(const CSVCMsg_PeerList& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_PeerList& operator=(CSVCMsg_PeerList&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_PeerList& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_PeerList* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_PeerList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 61; - - friend void swap(CSVCMsg_PeerList& a, CSVCMsg_PeerList& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_PeerList* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_PeerList* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_PeerList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_PeerList& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_PeerList& from) { - CSVCMsg_PeerList::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_PeerList* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_PeerList"; - } - protected: - explicit CSVCMsg_PeerList(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPeerFieldNumber = 1, - }; - // repeated .CMsgServerPeer peer = 1; - int peer_size() const; - private: - int _internal_peer_size() const; - public: - void clear_peer(); - ::CMsgServerPeer* mutable_peer(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerPeer >* - mutable_peer(); - private: - const ::CMsgServerPeer& _internal_peer(int index) const; - ::CMsgServerPeer* _internal_add_peer(); - public: - const ::CMsgServerPeer& peer(int index) const; - ::CMsgServerPeer* add_peer(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerPeer >& - peer() const; - - // @@protoc_insertion_point(class_scope:CSVCMsg_PeerList) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerPeer > peer_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_ClearAllStringTables : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_ClearAllStringTables) */ { - public: - inline CSVCMsg_ClearAllStringTables() : CSVCMsg_ClearAllStringTables(nullptr) {} - ~CSVCMsg_ClearAllStringTables() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_ClearAllStringTables(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_ClearAllStringTables(const CSVCMsg_ClearAllStringTables& from); - CSVCMsg_ClearAllStringTables(CSVCMsg_ClearAllStringTables&& from) noexcept - : CSVCMsg_ClearAllStringTables() { - *this = ::std::move(from); - } - - inline CSVCMsg_ClearAllStringTables& operator=(const CSVCMsg_ClearAllStringTables& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_ClearAllStringTables& operator=(CSVCMsg_ClearAllStringTables&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_ClearAllStringTables& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_ClearAllStringTables* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_ClearAllStringTables_default_instance_); - } - static constexpr int kIndexInFileMessages = - 62; - - friend void swap(CSVCMsg_ClearAllStringTables& a, CSVCMsg_ClearAllStringTables& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_ClearAllStringTables* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_ClearAllStringTables* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_ClearAllStringTables* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_ClearAllStringTables& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_ClearAllStringTables& from) { - CSVCMsg_ClearAllStringTables::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_ClearAllStringTables* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_ClearAllStringTables"; - } - protected: - explicit CSVCMsg_ClearAllStringTables(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMapnameFieldNumber = 1, - kCreateTablesSkippedFieldNumber = 3, - }; - // optional string mapname = 1; - bool has_mapname() const; - private: - bool _internal_has_mapname() const; - public: - void clear_mapname(); - const std::string& mapname() const; - template - void set_mapname(ArgT0&& arg0, ArgT... args); - std::string* mutable_mapname(); - PROTOBUF_NODISCARD std::string* release_mapname(); - void set_allocated_mapname(std::string* mapname); - private: - const std::string& _internal_mapname() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_mapname(const std::string& value); - std::string* _internal_mutable_mapname(); - public: - - // optional bool create_tables_skipped = 3; - bool has_create_tables_skipped() const; - private: - bool _internal_has_create_tables_skipped() const; - public: - void clear_create_tables_skipped(); - bool create_tables_skipped() const; - void set_create_tables_skipped(bool value); - private: - bool _internal_create_tables_skipped() const; - void _internal_set_create_tables_skipped(bool value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_ClearAllStringTables) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mapname_; - bool create_tables_skipped_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class ProtoFlattenedSerializerField_t_polymorphic_field_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ProtoFlattenedSerializerField_t.polymorphic_field_t) */ { - public: - inline ProtoFlattenedSerializerField_t_polymorphic_field_t() : ProtoFlattenedSerializerField_t_polymorphic_field_t(nullptr) {} - ~ProtoFlattenedSerializerField_t_polymorphic_field_t() override; - explicit PROTOBUF_CONSTEXPR ProtoFlattenedSerializerField_t_polymorphic_field_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ProtoFlattenedSerializerField_t_polymorphic_field_t(const ProtoFlattenedSerializerField_t_polymorphic_field_t& from); - ProtoFlattenedSerializerField_t_polymorphic_field_t(ProtoFlattenedSerializerField_t_polymorphic_field_t&& from) noexcept - : ProtoFlattenedSerializerField_t_polymorphic_field_t() { - *this = ::std::move(from); - } - - inline ProtoFlattenedSerializerField_t_polymorphic_field_t& operator=(const ProtoFlattenedSerializerField_t_polymorphic_field_t& from) { - CopyFrom(from); - return *this; - } - inline ProtoFlattenedSerializerField_t_polymorphic_field_t& operator=(ProtoFlattenedSerializerField_t_polymorphic_field_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ProtoFlattenedSerializerField_t_polymorphic_field_t& default_instance() { - return *internal_default_instance(); - } - static inline const ProtoFlattenedSerializerField_t_polymorphic_field_t* internal_default_instance() { - return reinterpret_cast( - &_ProtoFlattenedSerializerField_t_polymorphic_field_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 63; - - friend void swap(ProtoFlattenedSerializerField_t_polymorphic_field_t& a, ProtoFlattenedSerializerField_t_polymorphic_field_t& b) { - a.Swap(&b); - } - inline void Swap(ProtoFlattenedSerializerField_t_polymorphic_field_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ProtoFlattenedSerializerField_t_polymorphic_field_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ProtoFlattenedSerializerField_t_polymorphic_field_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ProtoFlattenedSerializerField_t_polymorphic_field_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ProtoFlattenedSerializerField_t_polymorphic_field_t& from) { - ProtoFlattenedSerializerField_t_polymorphic_field_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ProtoFlattenedSerializerField_t_polymorphic_field_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "ProtoFlattenedSerializerField_t.polymorphic_field_t"; - } - protected: - explicit ProtoFlattenedSerializerField_t_polymorphic_field_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPolymorphicFieldSerializerNameSymFieldNumber = 1, - kPolymorphicFieldSerializerVersionFieldNumber = 2, - }; - // optional int32 polymorphic_field_serializer_name_sym = 1; - bool has_polymorphic_field_serializer_name_sym() const; - private: - bool _internal_has_polymorphic_field_serializer_name_sym() const; - public: - void clear_polymorphic_field_serializer_name_sym(); - int32_t polymorphic_field_serializer_name_sym() const; - void set_polymorphic_field_serializer_name_sym(int32_t value); - private: - int32_t _internal_polymorphic_field_serializer_name_sym() const; - void _internal_set_polymorphic_field_serializer_name_sym(int32_t value); - public: - - // optional int32 polymorphic_field_serializer_version = 2; - bool has_polymorphic_field_serializer_version() const; - private: - bool _internal_has_polymorphic_field_serializer_version() const; - public: - void clear_polymorphic_field_serializer_version(); - int32_t polymorphic_field_serializer_version() const; - void set_polymorphic_field_serializer_version(int32_t value); - private: - int32_t _internal_polymorphic_field_serializer_version() const; - void _internal_set_polymorphic_field_serializer_version(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:ProtoFlattenedSerializerField_t.polymorphic_field_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t polymorphic_field_serializer_name_sym_; - int32_t polymorphic_field_serializer_version_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class ProtoFlattenedSerializerField_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ProtoFlattenedSerializerField_t) */ { - public: - inline ProtoFlattenedSerializerField_t() : ProtoFlattenedSerializerField_t(nullptr) {} - ~ProtoFlattenedSerializerField_t() override; - explicit PROTOBUF_CONSTEXPR ProtoFlattenedSerializerField_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ProtoFlattenedSerializerField_t(const ProtoFlattenedSerializerField_t& from); - ProtoFlattenedSerializerField_t(ProtoFlattenedSerializerField_t&& from) noexcept - : ProtoFlattenedSerializerField_t() { - *this = ::std::move(from); - } - - inline ProtoFlattenedSerializerField_t& operator=(const ProtoFlattenedSerializerField_t& from) { - CopyFrom(from); - return *this; - } - inline ProtoFlattenedSerializerField_t& operator=(ProtoFlattenedSerializerField_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ProtoFlattenedSerializerField_t& default_instance() { - return *internal_default_instance(); - } - static inline const ProtoFlattenedSerializerField_t* internal_default_instance() { - return reinterpret_cast( - &_ProtoFlattenedSerializerField_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 64; - - friend void swap(ProtoFlattenedSerializerField_t& a, ProtoFlattenedSerializerField_t& b) { - a.Swap(&b); - } - inline void Swap(ProtoFlattenedSerializerField_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ProtoFlattenedSerializerField_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ProtoFlattenedSerializerField_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ProtoFlattenedSerializerField_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ProtoFlattenedSerializerField_t& from) { - ProtoFlattenedSerializerField_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ProtoFlattenedSerializerField_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "ProtoFlattenedSerializerField_t"; - } - protected: - explicit ProtoFlattenedSerializerField_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef ProtoFlattenedSerializerField_t_polymorphic_field_t polymorphic_field_t; - - // accessors ------------------------------------------------------- - - enum : int { - kPolymorphicTypesFieldNumber = 11, - kVarTypeSymFieldNumber = 1, - kVarNameSymFieldNumber = 2, - kBitCountFieldNumber = 3, - kLowValueFieldNumber = 4, - kHighValueFieldNumber = 5, - kEncodeFlagsFieldNumber = 6, - kFieldSerializerNameSymFieldNumber = 7, - kFieldSerializerVersionFieldNumber = 8, - kSendNodeSymFieldNumber = 9, - kVarEncoderSymFieldNumber = 10, - kVarSerializerSymFieldNumber = 12, - }; - // repeated .ProtoFlattenedSerializerField_t.polymorphic_field_t polymorphic_types = 11; - int polymorphic_types_size() const; - private: - int _internal_polymorphic_types_size() const; - public: - void clear_polymorphic_types(); - ::ProtoFlattenedSerializerField_t_polymorphic_field_t* mutable_polymorphic_types(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t_polymorphic_field_t >* - mutable_polymorphic_types(); - private: - const ::ProtoFlattenedSerializerField_t_polymorphic_field_t& _internal_polymorphic_types(int index) const; - ::ProtoFlattenedSerializerField_t_polymorphic_field_t* _internal_add_polymorphic_types(); - public: - const ::ProtoFlattenedSerializerField_t_polymorphic_field_t& polymorphic_types(int index) const; - ::ProtoFlattenedSerializerField_t_polymorphic_field_t* add_polymorphic_types(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t_polymorphic_field_t >& - polymorphic_types() const; - - // optional int32 var_type_sym = 1; - bool has_var_type_sym() const; - private: - bool _internal_has_var_type_sym() const; - public: - void clear_var_type_sym(); - int32_t var_type_sym() const; - void set_var_type_sym(int32_t value); - private: - int32_t _internal_var_type_sym() const; - void _internal_set_var_type_sym(int32_t value); - public: - - // optional int32 var_name_sym = 2; - bool has_var_name_sym() const; - private: - bool _internal_has_var_name_sym() const; - public: - void clear_var_name_sym(); - int32_t var_name_sym() const; - void set_var_name_sym(int32_t value); - private: - int32_t _internal_var_name_sym() const; - void _internal_set_var_name_sym(int32_t value); - public: - - // optional int32 bit_count = 3; - bool has_bit_count() const; - private: - bool _internal_has_bit_count() const; - public: - void clear_bit_count(); - int32_t bit_count() const; - void set_bit_count(int32_t value); - private: - int32_t _internal_bit_count() const; - void _internal_set_bit_count(int32_t value); - public: - - // optional float low_value = 4; - bool has_low_value() const; - private: - bool _internal_has_low_value() const; - public: - void clear_low_value(); - float low_value() const; - void set_low_value(float value); - private: - float _internal_low_value() const; - void _internal_set_low_value(float value); - public: - - // optional float high_value = 5; - bool has_high_value() const; - private: - bool _internal_has_high_value() const; - public: - void clear_high_value(); - float high_value() const; - void set_high_value(float value); - private: - float _internal_high_value() const; - void _internal_set_high_value(float value); - public: - - // optional int32 encode_flags = 6; - bool has_encode_flags() const; - private: - bool _internal_has_encode_flags() const; - public: - void clear_encode_flags(); - int32_t encode_flags() const; - void set_encode_flags(int32_t value); - private: - int32_t _internal_encode_flags() const; - void _internal_set_encode_flags(int32_t value); - public: - - // optional int32 field_serializer_name_sym = 7; - bool has_field_serializer_name_sym() const; - private: - bool _internal_has_field_serializer_name_sym() const; - public: - void clear_field_serializer_name_sym(); - int32_t field_serializer_name_sym() const; - void set_field_serializer_name_sym(int32_t value); - private: - int32_t _internal_field_serializer_name_sym() const; - void _internal_set_field_serializer_name_sym(int32_t value); - public: - - // optional int32 field_serializer_version = 8; - bool has_field_serializer_version() const; - private: - bool _internal_has_field_serializer_version() const; - public: - void clear_field_serializer_version(); - int32_t field_serializer_version() const; - void set_field_serializer_version(int32_t value); - private: - int32_t _internal_field_serializer_version() const; - void _internal_set_field_serializer_version(int32_t value); - public: - - // optional int32 send_node_sym = 9; - bool has_send_node_sym() const; - private: - bool _internal_has_send_node_sym() const; - public: - void clear_send_node_sym(); - int32_t send_node_sym() const; - void set_send_node_sym(int32_t value); - private: - int32_t _internal_send_node_sym() const; - void _internal_set_send_node_sym(int32_t value); - public: - - // optional int32 var_encoder_sym = 10; - bool has_var_encoder_sym() const; - private: - bool _internal_has_var_encoder_sym() const; - public: - void clear_var_encoder_sym(); - int32_t var_encoder_sym() const; - void set_var_encoder_sym(int32_t value); - private: - int32_t _internal_var_encoder_sym() const; - void _internal_set_var_encoder_sym(int32_t value); - public: - - // optional int32 var_serializer_sym = 12; - bool has_var_serializer_sym() const; - private: - bool _internal_has_var_serializer_sym() const; - public: - void clear_var_serializer_sym(); - int32_t var_serializer_sym() const; - void set_var_serializer_sym(int32_t value); - private: - int32_t _internal_var_serializer_sym() const; - void _internal_set_var_serializer_sym(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:ProtoFlattenedSerializerField_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t_polymorphic_field_t > polymorphic_types_; - int32_t var_type_sym_; - int32_t var_name_sym_; - int32_t bit_count_; - float low_value_; - float high_value_; - int32_t encode_flags_; - int32_t field_serializer_name_sym_; - int32_t field_serializer_version_; - int32_t send_node_sym_; - int32_t var_encoder_sym_; - int32_t var_serializer_sym_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class ProtoFlattenedSerializer_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ProtoFlattenedSerializer_t) */ { - public: - inline ProtoFlattenedSerializer_t() : ProtoFlattenedSerializer_t(nullptr) {} - ~ProtoFlattenedSerializer_t() override; - explicit PROTOBUF_CONSTEXPR ProtoFlattenedSerializer_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - ProtoFlattenedSerializer_t(const ProtoFlattenedSerializer_t& from); - ProtoFlattenedSerializer_t(ProtoFlattenedSerializer_t&& from) noexcept - : ProtoFlattenedSerializer_t() { - *this = ::std::move(from); - } - - inline ProtoFlattenedSerializer_t& operator=(const ProtoFlattenedSerializer_t& from) { - CopyFrom(from); - return *this; - } - inline ProtoFlattenedSerializer_t& operator=(ProtoFlattenedSerializer_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const ProtoFlattenedSerializer_t& default_instance() { - return *internal_default_instance(); - } - static inline const ProtoFlattenedSerializer_t* internal_default_instance() { - return reinterpret_cast( - &_ProtoFlattenedSerializer_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 65; - - friend void swap(ProtoFlattenedSerializer_t& a, ProtoFlattenedSerializer_t& b) { - a.Swap(&b); - } - inline void Swap(ProtoFlattenedSerializer_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ProtoFlattenedSerializer_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ProtoFlattenedSerializer_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const ProtoFlattenedSerializer_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const ProtoFlattenedSerializer_t& from) { - ProtoFlattenedSerializer_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(ProtoFlattenedSerializer_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "ProtoFlattenedSerializer_t"; - } - protected: - explicit ProtoFlattenedSerializer_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFieldsIndexFieldNumber = 3, - kSerializerNameSymFieldNumber = 1, - kSerializerVersionFieldNumber = 2, - }; - // repeated int32 fields_index = 3; - int fields_index_size() const; - private: - int _internal_fields_index_size() const; - public: - void clear_fields_index(); - private: - int32_t _internal_fields_index(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_fields_index() const; - void _internal_add_fields_index(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_fields_index(); - public: - int32_t fields_index(int index) const; - void set_fields_index(int index, int32_t value); - void add_fields_index(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - fields_index() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_fields_index(); - - // optional int32 serializer_name_sym = 1; - bool has_serializer_name_sym() const; - private: - bool _internal_has_serializer_name_sym() const; - public: - void clear_serializer_name_sym(); - int32_t serializer_name_sym() const; - void set_serializer_name_sym(int32_t value); - private: - int32_t _internal_serializer_name_sym() const; - void _internal_set_serializer_name_sym(int32_t value); - public: - - // optional int32 serializer_version = 2; - bool has_serializer_version() const; - private: - bool _internal_has_serializer_version() const; - public: - void clear_serializer_version(); - int32_t serializer_version() const; - void set_serializer_version(int32_t value); - private: - int32_t _internal_serializer_version() const; - void _internal_set_serializer_version(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:ProtoFlattenedSerializer_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > fields_index_; - int32_t serializer_name_sym_; - int32_t serializer_version_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_FlattenedSerializer : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_FlattenedSerializer) */ { - public: - inline CSVCMsg_FlattenedSerializer() : CSVCMsg_FlattenedSerializer(nullptr) {} - ~CSVCMsg_FlattenedSerializer() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_FlattenedSerializer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_FlattenedSerializer(const CSVCMsg_FlattenedSerializer& from); - CSVCMsg_FlattenedSerializer(CSVCMsg_FlattenedSerializer&& from) noexcept - : CSVCMsg_FlattenedSerializer() { - *this = ::std::move(from); - } - - inline CSVCMsg_FlattenedSerializer& operator=(const CSVCMsg_FlattenedSerializer& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_FlattenedSerializer& operator=(CSVCMsg_FlattenedSerializer&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_FlattenedSerializer& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_FlattenedSerializer* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_FlattenedSerializer_default_instance_); - } - static constexpr int kIndexInFileMessages = - 66; - - friend void swap(CSVCMsg_FlattenedSerializer& a, CSVCMsg_FlattenedSerializer& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_FlattenedSerializer* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_FlattenedSerializer* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_FlattenedSerializer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_FlattenedSerializer& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_FlattenedSerializer& from) { - CSVCMsg_FlattenedSerializer::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_FlattenedSerializer* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_FlattenedSerializer"; - } - protected: - explicit CSVCMsg_FlattenedSerializer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSerializersFieldNumber = 1, - kSymbolsFieldNumber = 2, - kFieldsFieldNumber = 3, - }; - // repeated .ProtoFlattenedSerializer_t serializers = 1; - int serializers_size() const; - private: - int _internal_serializers_size() const; - public: - void clear_serializers(); - ::ProtoFlattenedSerializer_t* mutable_serializers(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializer_t >* - mutable_serializers(); - private: - const ::ProtoFlattenedSerializer_t& _internal_serializers(int index) const; - ::ProtoFlattenedSerializer_t* _internal_add_serializers(); - public: - const ::ProtoFlattenedSerializer_t& serializers(int index) const; - ::ProtoFlattenedSerializer_t* add_serializers(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializer_t >& - serializers() const; - - // repeated string symbols = 2; - int symbols_size() const; - private: - int _internal_symbols_size() const; - public: - void clear_symbols(); - const std::string& symbols(int index) const; - std::string* mutable_symbols(int index); - void set_symbols(int index, const std::string& value); - void set_symbols(int index, std::string&& value); - void set_symbols(int index, const char* value); - void set_symbols(int index, const char* value, size_t size); - std::string* add_symbols(); - void add_symbols(const std::string& value); - void add_symbols(std::string&& value); - void add_symbols(const char* value); - void add_symbols(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& symbols() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_symbols(); - private: - const std::string& _internal_symbols(int index) const; - std::string* _internal_add_symbols(); - public: - - // repeated .ProtoFlattenedSerializerField_t fields = 3; - int fields_size() const; - private: - int _internal_fields_size() const; - public: - void clear_fields(); - ::ProtoFlattenedSerializerField_t* mutable_fields(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t >* - mutable_fields(); - private: - const ::ProtoFlattenedSerializerField_t& _internal_fields(int index) const; - ::ProtoFlattenedSerializerField_t* _internal_add_fields(); - public: - const ::ProtoFlattenedSerializerField_t& fields(int index) const; - ::ProtoFlattenedSerializerField_t* add_fields(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t >& - fields() const; - - // @@protoc_insertion_point(class_scope:CSVCMsg_FlattenedSerializer) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializer_t > serializers_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField symbols_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t > fields_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_StopSound : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_StopSound) */ { - public: - inline CSVCMsg_StopSound() : CSVCMsg_StopSound(nullptr) {} - ~CSVCMsg_StopSound() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_StopSound(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_StopSound(const CSVCMsg_StopSound& from); - CSVCMsg_StopSound(CSVCMsg_StopSound&& from) noexcept - : CSVCMsg_StopSound() { - *this = ::std::move(from); - } - - inline CSVCMsg_StopSound& operator=(const CSVCMsg_StopSound& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_StopSound& operator=(CSVCMsg_StopSound&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_StopSound& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_StopSound* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_StopSound_default_instance_); - } - static constexpr int kIndexInFileMessages = - 67; - - friend void swap(CSVCMsg_StopSound& a, CSVCMsg_StopSound& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_StopSound* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_StopSound* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_StopSound* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_StopSound& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_StopSound& from) { - CSVCMsg_StopSound::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_StopSound* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_StopSound"; - } - protected: - explicit CSVCMsg_StopSound(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGuidFieldNumber = 1, - }; - // optional fixed32 guid = 1; - bool has_guid() const; - private: - bool _internal_has_guid() const; - public: - void clear_guid(); - uint32_t guid() const; - void set_guid(uint32_t value); - private: - uint32_t _internal_guid() const; - void _internal_set_guid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_StopSound) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t guid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CBidirMsg_RebroadcastGameEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CBidirMsg_RebroadcastGameEvent) */ { - public: - inline CBidirMsg_RebroadcastGameEvent() : CBidirMsg_RebroadcastGameEvent(nullptr) {} - ~CBidirMsg_RebroadcastGameEvent() override; - explicit PROTOBUF_CONSTEXPR CBidirMsg_RebroadcastGameEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CBidirMsg_RebroadcastGameEvent(const CBidirMsg_RebroadcastGameEvent& from); - CBidirMsg_RebroadcastGameEvent(CBidirMsg_RebroadcastGameEvent&& from) noexcept - : CBidirMsg_RebroadcastGameEvent() { - *this = ::std::move(from); - } - - inline CBidirMsg_RebroadcastGameEvent& operator=(const CBidirMsg_RebroadcastGameEvent& from) { - CopyFrom(from); - return *this; - } - inline CBidirMsg_RebroadcastGameEvent& operator=(CBidirMsg_RebroadcastGameEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CBidirMsg_RebroadcastGameEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CBidirMsg_RebroadcastGameEvent* internal_default_instance() { - return reinterpret_cast( - &_CBidirMsg_RebroadcastGameEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 68; - - friend void swap(CBidirMsg_RebroadcastGameEvent& a, CBidirMsg_RebroadcastGameEvent& b) { - a.Swap(&b); - } - inline void Swap(CBidirMsg_RebroadcastGameEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CBidirMsg_RebroadcastGameEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CBidirMsg_RebroadcastGameEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CBidirMsg_RebroadcastGameEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CBidirMsg_RebroadcastGameEvent& from) { - CBidirMsg_RebroadcastGameEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CBidirMsg_RebroadcastGameEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CBidirMsg_RebroadcastGameEvent"; - } - protected: - explicit CBidirMsg_RebroadcastGameEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPosttoserverFieldNumber = 1, - kBuftypeFieldNumber = 2, - kReceivingclientsFieldNumber = 4, - kClientbitcountFieldNumber = 3, - }; - // optional bool posttoserver = 1; - bool has_posttoserver() const; - private: - bool _internal_has_posttoserver() const; - public: - void clear_posttoserver(); - bool posttoserver() const; - void set_posttoserver(bool value); - private: - bool _internal_posttoserver() const; - void _internal_set_posttoserver(bool value); - public: - - // optional int32 buftype = 2; - bool has_buftype() const; - private: - bool _internal_has_buftype() const; - public: - void clear_buftype(); - int32_t buftype() const; - void set_buftype(int32_t value); - private: - int32_t _internal_buftype() const; - void _internal_set_buftype(int32_t value); - public: - - // optional uint64 receivingclients = 4; - bool has_receivingclients() const; - private: - bool _internal_has_receivingclients() const; - public: - void clear_receivingclients(); - uint64_t receivingclients() const; - void set_receivingclients(uint64_t value); - private: - uint64_t _internal_receivingclients() const; - void _internal_set_receivingclients(uint64_t value); - public: - - // optional uint32 clientbitcount = 3; - bool has_clientbitcount() const; - private: - bool _internal_has_clientbitcount() const; - public: - void clear_clientbitcount(); - uint32_t clientbitcount() const; - void set_clientbitcount(uint32_t value); - private: - uint32_t _internal_clientbitcount() const; - void _internal_set_clientbitcount(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CBidirMsg_RebroadcastGameEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool posttoserver_; - int32_t buftype_; - uint64_t receivingclients_; - uint32_t clientbitcount_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CBidirMsg_RebroadcastSource : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CBidirMsg_RebroadcastSource) */ { - public: - inline CBidirMsg_RebroadcastSource() : CBidirMsg_RebroadcastSource(nullptr) {} - ~CBidirMsg_RebroadcastSource() override; - explicit PROTOBUF_CONSTEXPR CBidirMsg_RebroadcastSource(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CBidirMsg_RebroadcastSource(const CBidirMsg_RebroadcastSource& from); - CBidirMsg_RebroadcastSource(CBidirMsg_RebroadcastSource&& from) noexcept - : CBidirMsg_RebroadcastSource() { - *this = ::std::move(from); - } - - inline CBidirMsg_RebroadcastSource& operator=(const CBidirMsg_RebroadcastSource& from) { - CopyFrom(from); - return *this; - } - inline CBidirMsg_RebroadcastSource& operator=(CBidirMsg_RebroadcastSource&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CBidirMsg_RebroadcastSource& default_instance() { - return *internal_default_instance(); - } - static inline const CBidirMsg_RebroadcastSource* internal_default_instance() { - return reinterpret_cast( - &_CBidirMsg_RebroadcastSource_default_instance_); - } - static constexpr int kIndexInFileMessages = - 69; - - friend void swap(CBidirMsg_RebroadcastSource& a, CBidirMsg_RebroadcastSource& b) { - a.Swap(&b); - } - inline void Swap(CBidirMsg_RebroadcastSource* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CBidirMsg_RebroadcastSource* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CBidirMsg_RebroadcastSource* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CBidirMsg_RebroadcastSource& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CBidirMsg_RebroadcastSource& from) { - CBidirMsg_RebroadcastSource::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CBidirMsg_RebroadcastSource* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CBidirMsg_RebroadcastSource"; - } - protected: - explicit CBidirMsg_RebroadcastSource(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEventsourceFieldNumber = 1, - }; - // optional int32 eventsource = 1; - bool has_eventsource() const; - private: - bool _internal_has_eventsource() const; - public: - void clear_eventsource(); - int32_t eventsource() const; - void set_eventsource(int32_t value); - private: - int32_t _internal_eventsource() const; - void _internal_set_eventsource(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CBidirMsg_RebroadcastSource) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t eventsource_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CBidirMsg_PredictionEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CBidirMsg_PredictionEvent) */ { - public: - inline CBidirMsg_PredictionEvent() : CBidirMsg_PredictionEvent(nullptr) {} - ~CBidirMsg_PredictionEvent() override; - explicit PROTOBUF_CONSTEXPR CBidirMsg_PredictionEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CBidirMsg_PredictionEvent(const CBidirMsg_PredictionEvent& from); - CBidirMsg_PredictionEvent(CBidirMsg_PredictionEvent&& from) noexcept - : CBidirMsg_PredictionEvent() { - *this = ::std::move(from); - } - - inline CBidirMsg_PredictionEvent& operator=(const CBidirMsg_PredictionEvent& from) { - CopyFrom(from); - return *this; - } - inline CBidirMsg_PredictionEvent& operator=(CBidirMsg_PredictionEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CBidirMsg_PredictionEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CBidirMsg_PredictionEvent* internal_default_instance() { - return reinterpret_cast( - &_CBidirMsg_PredictionEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 70; - - friend void swap(CBidirMsg_PredictionEvent& a, CBidirMsg_PredictionEvent& b) { - a.Swap(&b); - } - inline void Swap(CBidirMsg_PredictionEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CBidirMsg_PredictionEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CBidirMsg_PredictionEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CBidirMsg_PredictionEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CBidirMsg_PredictionEvent& from) { - CBidirMsg_PredictionEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CBidirMsg_PredictionEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CBidirMsg_PredictionEvent"; - } - protected: - explicit CBidirMsg_PredictionEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CBidirMsg_PredictionEvent_ESyncType ESyncType; - static constexpr ESyncType ST_Tick = - CBidirMsg_PredictionEvent_ESyncType_ST_Tick; - static constexpr ESyncType ST_UserCmdNum = - CBidirMsg_PredictionEvent_ESyncType_ST_UserCmdNum; - static inline bool ESyncType_IsValid(int value) { - return CBidirMsg_PredictionEvent_ESyncType_IsValid(value); - } - static constexpr ESyncType ESyncType_MIN = - CBidirMsg_PredictionEvent_ESyncType_ESyncType_MIN; - static constexpr ESyncType ESyncType_MAX = - CBidirMsg_PredictionEvent_ESyncType_ESyncType_MAX; - static constexpr int ESyncType_ARRAYSIZE = - CBidirMsg_PredictionEvent_ESyncType_ESyncType_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - ESyncType_descriptor() { - return CBidirMsg_PredictionEvent_ESyncType_descriptor(); - } - template - static inline const std::string& ESyncType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ESyncType_Name."); - return CBidirMsg_PredictionEvent_ESyncType_Name(enum_t_value); - } - static inline bool ESyncType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - ESyncType* value) { - return CBidirMsg_PredictionEvent_ESyncType_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kEventDataFieldNumber = 2, - kEventIdFieldNumber = 1, - kSyncTypeFieldNumber = 3, - kSyncValUint32FieldNumber = 4, - }; - // required bytes event_data = 2; - bool has_event_data() const; - private: - bool _internal_has_event_data() const; - public: - void clear_event_data(); - const std::string& event_data() const; - template - void set_event_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_event_data(); - PROTOBUF_NODISCARD std::string* release_event_data(); - void set_allocated_event_data(std::string* event_data); - private: - const std::string& _internal_event_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_data(const std::string& value); - std::string* _internal_mutable_event_data(); - public: - - // required uint32 event_id = 1; - bool has_event_id() const; - private: - bool _internal_has_event_id() const; - public: - void clear_event_id(); - uint32_t event_id() const; - void set_event_id(uint32_t value); - private: - uint32_t _internal_event_id() const; - void _internal_set_event_id(uint32_t value); - public: - - // optional uint32 sync_type = 3; - bool has_sync_type() const; - private: - bool _internal_has_sync_type() const; - public: - void clear_sync_type(); - uint32_t sync_type() const; - void set_sync_type(uint32_t value); - private: - uint32_t _internal_sync_type() const; - void _internal_set_sync_type(uint32_t value); - public: - - // optional uint32 sync_val_uint32 = 4; - bool has_sync_val_uint32() const; - private: - bool _internal_has_sync_val_uint32() const; - public: - void clear_sync_val_uint32(); - uint32_t sync_val_uint32() const; - void set_sync_val_uint32(uint32_t value); - private: - uint32_t _internal_sync_val_uint32() const; - void _internal_set_sync_val_uint32(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CBidirMsg_PredictionEvent) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_data_; - uint32_t event_id_; - uint32_t sync_type_; - uint32_t sync_val_uint32_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgServerNetworkStats_Port : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgServerNetworkStats.Port) */ { - public: - inline CMsgServerNetworkStats_Port() : CMsgServerNetworkStats_Port(nullptr) {} - ~CMsgServerNetworkStats_Port() override; - explicit PROTOBUF_CONSTEXPR CMsgServerNetworkStats_Port(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgServerNetworkStats_Port(const CMsgServerNetworkStats_Port& from); - CMsgServerNetworkStats_Port(CMsgServerNetworkStats_Port&& from) noexcept - : CMsgServerNetworkStats_Port() { - *this = ::std::move(from); - } - - inline CMsgServerNetworkStats_Port& operator=(const CMsgServerNetworkStats_Port& from) { - CopyFrom(from); - return *this; - } - inline CMsgServerNetworkStats_Port& operator=(CMsgServerNetworkStats_Port&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgServerNetworkStats_Port& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgServerNetworkStats_Port* internal_default_instance() { - return reinterpret_cast( - &_CMsgServerNetworkStats_Port_default_instance_); - } - static constexpr int kIndexInFileMessages = - 71; - - friend void swap(CMsgServerNetworkStats_Port& a, CMsgServerNetworkStats_Port& b) { - a.Swap(&b); - } - inline void Swap(CMsgServerNetworkStats_Port* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgServerNetworkStats_Port* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgServerNetworkStats_Port* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgServerNetworkStats_Port& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgServerNetworkStats_Port& from) { - CMsgServerNetworkStats_Port::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgServerNetworkStats_Port* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgServerNetworkStats.Port"; - } - protected: - explicit CMsgServerNetworkStats_Port(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 2, - kPortFieldNumber = 1, - }; - // optional string name = 2; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional int32 port = 1; - bool has_port() const; - private: - bool _internal_has_port() const; - public: - void clear_port(); - int32_t port() const; - void set_port(int32_t value); - private: - int32_t _internal_port() const; - void _internal_set_port(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgServerNetworkStats.Port) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - int32_t port_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgServerNetworkStats_Player : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgServerNetworkStats.Player) */ { - public: - inline CMsgServerNetworkStats_Player() : CMsgServerNetworkStats_Player(nullptr) {} - ~CMsgServerNetworkStats_Player() override; - explicit PROTOBUF_CONSTEXPR CMsgServerNetworkStats_Player(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgServerNetworkStats_Player(const CMsgServerNetworkStats_Player& from); - CMsgServerNetworkStats_Player(CMsgServerNetworkStats_Player&& from) noexcept - : CMsgServerNetworkStats_Player() { - *this = ::std::move(from); - } - - inline CMsgServerNetworkStats_Player& operator=(const CMsgServerNetworkStats_Player& from) { - CopyFrom(from); - return *this; - } - inline CMsgServerNetworkStats_Player& operator=(CMsgServerNetworkStats_Player&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgServerNetworkStats_Player& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgServerNetworkStats_Player* internal_default_instance() { - return reinterpret_cast( - &_CMsgServerNetworkStats_Player_default_instance_); - } - static constexpr int kIndexInFileMessages = - 72; - - friend void swap(CMsgServerNetworkStats_Player& a, CMsgServerNetworkStats_Player& b) { - a.Swap(&b); - } - inline void Swap(CMsgServerNetworkStats_Player* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgServerNetworkStats_Player* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgServerNetworkStats_Player* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgServerNetworkStats_Player& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgServerNetworkStats_Player& from) { - CMsgServerNetworkStats_Player::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgServerNetworkStats_Player* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgServerNetworkStats.Player"; - } - protected: - explicit CMsgServerNetworkStats_Player(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRemoteAddrFieldNumber = 2, - kSteamidFieldNumber = 1, - kPingAvgMsFieldNumber = 4, - kPacketLossPctFieldNumber = 5, - kIsBotFieldNumber = 6, - kLossInFieldNumber = 7, - kLossOutFieldNumber = 8, - kEngineLatencyMsFieldNumber = 9, - }; - // optional string remote_addr = 2; - bool has_remote_addr() const; - private: - bool _internal_has_remote_addr() const; - public: - void clear_remote_addr(); - const std::string& remote_addr() const; - template - void set_remote_addr(ArgT0&& arg0, ArgT... args); - std::string* mutable_remote_addr(); - PROTOBUF_NODISCARD std::string* release_remote_addr(); - void set_allocated_remote_addr(std::string* remote_addr); - private: - const std::string& _internal_remote_addr() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_remote_addr(const std::string& value); - std::string* _internal_mutable_remote_addr(); - public: - - // optional uint64 steamid = 1; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional int32 ping_avg_ms = 4; - bool has_ping_avg_ms() const; - private: - bool _internal_has_ping_avg_ms() const; - public: - void clear_ping_avg_ms(); - int32_t ping_avg_ms() const; - void set_ping_avg_ms(int32_t value); - private: - int32_t _internal_ping_avg_ms() const; - void _internal_set_ping_avg_ms(int32_t value); - public: - - // optional float packet_loss_pct = 5; - bool has_packet_loss_pct() const; - private: - bool _internal_has_packet_loss_pct() const; - public: - void clear_packet_loss_pct(); - float packet_loss_pct() const; - void set_packet_loss_pct(float value); - private: - float _internal_packet_loss_pct() const; - void _internal_set_packet_loss_pct(float value); - public: - - // optional bool is_bot = 6; - bool has_is_bot() const; - private: - bool _internal_has_is_bot() const; - public: - void clear_is_bot(); - bool is_bot() const; - void set_is_bot(bool value); - private: - bool _internal_is_bot() const; - void _internal_set_is_bot(bool value); - public: - - // optional float loss_in = 7; - bool has_loss_in() const; - private: - bool _internal_has_loss_in() const; - public: - void clear_loss_in(); - float loss_in() const; - void set_loss_in(float value); - private: - float _internal_loss_in() const; - void _internal_set_loss_in(float value); - public: - - // optional float loss_out = 8; - bool has_loss_out() const; - private: - bool _internal_has_loss_out() const; - public: - void clear_loss_out(); - float loss_out() const; - void set_loss_out(float value); - private: - float _internal_loss_out() const; - void _internal_set_loss_out(float value); - public: - - // optional int32 engine_latency_ms = 9; - bool has_engine_latency_ms() const; - private: - bool _internal_has_engine_latency_ms() const; - public: - void clear_engine_latency_ms(); - int32_t engine_latency_ms() const; - void set_engine_latency_ms(int32_t value); - private: - int32_t _internal_engine_latency_ms() const; - void _internal_set_engine_latency_ms(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgServerNetworkStats.Player) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remote_addr_; - uint64_t steamid_; - int32_t ping_avg_ms_; - float packet_loss_pct_; - bool is_bot_; - float loss_in_; - float loss_out_; - int32_t engine_latency_ms_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgServerNetworkStats : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgServerNetworkStats) */ { - public: - inline CMsgServerNetworkStats() : CMsgServerNetworkStats(nullptr) {} - ~CMsgServerNetworkStats() override; - explicit PROTOBUF_CONSTEXPR CMsgServerNetworkStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgServerNetworkStats(const CMsgServerNetworkStats& from); - CMsgServerNetworkStats(CMsgServerNetworkStats&& from) noexcept - : CMsgServerNetworkStats() { - *this = ::std::move(from); - } - - inline CMsgServerNetworkStats& operator=(const CMsgServerNetworkStats& from) { - CopyFrom(from); - return *this; - } - inline CMsgServerNetworkStats& operator=(CMsgServerNetworkStats&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgServerNetworkStats& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgServerNetworkStats* internal_default_instance() { - return reinterpret_cast( - &_CMsgServerNetworkStats_default_instance_); - } - static constexpr int kIndexInFileMessages = - 73; - - friend void swap(CMsgServerNetworkStats& a, CMsgServerNetworkStats& b) { - a.Swap(&b); - } - inline void Swap(CMsgServerNetworkStats* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgServerNetworkStats* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgServerNetworkStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgServerNetworkStats& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgServerNetworkStats& from) { - CMsgServerNetworkStats::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgServerNetworkStats* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgServerNetworkStats"; - } - protected: - explicit CMsgServerNetworkStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgServerNetworkStats_Port Port; - typedef CMsgServerNetworkStats_Player Player; - - // accessors ------------------------------------------------------- - - enum : int { - kPortsFieldNumber = 17, - kPlayersFieldNumber = 30, - kDedicatedFieldNumber = 1, - kCpuUsageFieldNumber = 2, - kMemoryUsedMbFieldNumber = 3, - kMemoryFreeMbFieldNumber = 4, - kUptimeFieldNumber = 5, - kSpawnCountFieldNumber = 6, - kNumClientsFieldNumber = 8, - kNumBotsFieldNumber = 9, - kNumSpectatorsFieldNumber = 10, - kNumTvRelaysFieldNumber = 11, - kFpsFieldNumber = 12, - kAvgPingMsFieldNumber = 18, - kAvgEngineLatencyOutFieldNumber = 19, - kAvgPacketsOutFieldNumber = 20, - kAvgPacketsInFieldNumber = 21, - kAvgLossOutFieldNumber = 22, - kAvgLossInFieldNumber = 23, - kAvgDataOutFieldNumber = 24, - kTotalDataInFieldNumber = 26, - kTotalPacketsInFieldNumber = 27, - kTotalDataOutFieldNumber = 28, - kTotalPacketsOutFieldNumber = 29, - kAvgDataInFieldNumber = 25, - }; - // repeated .CMsgServerNetworkStats.Port ports = 17; - int ports_size() const; - private: - int _internal_ports_size() const; - public: - void clear_ports(); - ::CMsgServerNetworkStats_Port* mutable_ports(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Port >* - mutable_ports(); - private: - const ::CMsgServerNetworkStats_Port& _internal_ports(int index) const; - ::CMsgServerNetworkStats_Port* _internal_add_ports(); - public: - const ::CMsgServerNetworkStats_Port& ports(int index) const; - ::CMsgServerNetworkStats_Port* add_ports(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Port >& - ports() const; - - // repeated .CMsgServerNetworkStats.Player players = 30; - int players_size() const; - private: - int _internal_players_size() const; - public: - void clear_players(); - ::CMsgServerNetworkStats_Player* mutable_players(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Player >* - mutable_players(); - private: - const ::CMsgServerNetworkStats_Player& _internal_players(int index) const; - ::CMsgServerNetworkStats_Player* _internal_add_players(); - public: - const ::CMsgServerNetworkStats_Player& players(int index) const; - ::CMsgServerNetworkStats_Player* add_players(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Player >& - players() const; - - // optional bool dedicated = 1; - bool has_dedicated() const; - private: - bool _internal_has_dedicated() const; - public: - void clear_dedicated(); - bool dedicated() const; - void set_dedicated(bool value); - private: - bool _internal_dedicated() const; - void _internal_set_dedicated(bool value); - public: - - // optional int32 cpu_usage = 2; - bool has_cpu_usage() const; - private: - bool _internal_has_cpu_usage() const; - public: - void clear_cpu_usage(); - int32_t cpu_usage() const; - void set_cpu_usage(int32_t value); - private: - int32_t _internal_cpu_usage() const; - void _internal_set_cpu_usage(int32_t value); - public: - - // optional int32 memory_used_mb = 3; - bool has_memory_used_mb() const; - private: - bool _internal_has_memory_used_mb() const; - public: - void clear_memory_used_mb(); - int32_t memory_used_mb() const; - void set_memory_used_mb(int32_t value); - private: - int32_t _internal_memory_used_mb() const; - void _internal_set_memory_used_mb(int32_t value); - public: - - // optional int32 memory_free_mb = 4; - bool has_memory_free_mb() const; - private: - bool _internal_has_memory_free_mb() const; - public: - void clear_memory_free_mb(); - int32_t memory_free_mb() const; - void set_memory_free_mb(int32_t value); - private: - int32_t _internal_memory_free_mb() const; - void _internal_set_memory_free_mb(int32_t value); - public: - - // optional int32 uptime = 5; - bool has_uptime() const; - private: - bool _internal_has_uptime() const; - public: - void clear_uptime(); - int32_t uptime() const; - void set_uptime(int32_t value); - private: - int32_t _internal_uptime() const; - void _internal_set_uptime(int32_t value); - public: - - // optional int32 spawn_count = 6; - bool has_spawn_count() const; - private: - bool _internal_has_spawn_count() const; - public: - void clear_spawn_count(); - int32_t spawn_count() const; - void set_spawn_count(int32_t value); - private: - int32_t _internal_spawn_count() const; - void _internal_set_spawn_count(int32_t value); - public: - - // optional int32 num_clients = 8; - bool has_num_clients() const; - private: - bool _internal_has_num_clients() const; - public: - void clear_num_clients(); - int32_t num_clients() const; - void set_num_clients(int32_t value); - private: - int32_t _internal_num_clients() const; - void _internal_set_num_clients(int32_t value); - public: - - // optional int32 num_bots = 9; - bool has_num_bots() const; - private: - bool _internal_has_num_bots() const; - public: - void clear_num_bots(); - int32_t num_bots() const; - void set_num_bots(int32_t value); - private: - int32_t _internal_num_bots() const; - void _internal_set_num_bots(int32_t value); - public: - - // optional int32 num_spectators = 10; - bool has_num_spectators() const; - private: - bool _internal_has_num_spectators() const; - public: - void clear_num_spectators(); - int32_t num_spectators() const; - void set_num_spectators(int32_t value); - private: - int32_t _internal_num_spectators() const; - void _internal_set_num_spectators(int32_t value); - public: - - // optional int32 num_tv_relays = 11; - bool has_num_tv_relays() const; - private: - bool _internal_has_num_tv_relays() const; - public: - void clear_num_tv_relays(); - int32_t num_tv_relays() const; - void set_num_tv_relays(int32_t value); - private: - int32_t _internal_num_tv_relays() const; - void _internal_set_num_tv_relays(int32_t value); - public: - - // optional float fps = 12; - bool has_fps() const; - private: - bool _internal_has_fps() const; - public: - void clear_fps(); - float fps() const; - void set_fps(float value); - private: - float _internal_fps() const; - void _internal_set_fps(float value); - public: - - // optional float avg_ping_ms = 18; - bool has_avg_ping_ms() const; - private: - bool _internal_has_avg_ping_ms() const; - public: - void clear_avg_ping_ms(); - float avg_ping_ms() const; - void set_avg_ping_ms(float value); - private: - float _internal_avg_ping_ms() const; - void _internal_set_avg_ping_ms(float value); - public: - - // optional float avg_engine_latency_out = 19; - bool has_avg_engine_latency_out() const; - private: - bool _internal_has_avg_engine_latency_out() const; - public: - void clear_avg_engine_latency_out(); - float avg_engine_latency_out() const; - void set_avg_engine_latency_out(float value); - private: - float _internal_avg_engine_latency_out() const; - void _internal_set_avg_engine_latency_out(float value); - public: - - // optional float avg_packets_out = 20; - bool has_avg_packets_out() const; - private: - bool _internal_has_avg_packets_out() const; - public: - void clear_avg_packets_out(); - float avg_packets_out() const; - void set_avg_packets_out(float value); - private: - float _internal_avg_packets_out() const; - void _internal_set_avg_packets_out(float value); - public: - - // optional float avg_packets_in = 21; - bool has_avg_packets_in() const; - private: - bool _internal_has_avg_packets_in() const; - public: - void clear_avg_packets_in(); - float avg_packets_in() const; - void set_avg_packets_in(float value); - private: - float _internal_avg_packets_in() const; - void _internal_set_avg_packets_in(float value); - public: - - // optional float avg_loss_out = 22; - bool has_avg_loss_out() const; - private: - bool _internal_has_avg_loss_out() const; - public: - void clear_avg_loss_out(); - float avg_loss_out() const; - void set_avg_loss_out(float value); - private: - float _internal_avg_loss_out() const; - void _internal_set_avg_loss_out(float value); - public: - - // optional float avg_loss_in = 23; - bool has_avg_loss_in() const; - private: - bool _internal_has_avg_loss_in() const; - public: - void clear_avg_loss_in(); - float avg_loss_in() const; - void set_avg_loss_in(float value); - private: - float _internal_avg_loss_in() const; - void _internal_set_avg_loss_in(float value); - public: - - // optional float avg_data_out = 24; - bool has_avg_data_out() const; - private: - bool _internal_has_avg_data_out() const; - public: - void clear_avg_data_out(); - float avg_data_out() const; - void set_avg_data_out(float value); - private: - float _internal_avg_data_out() const; - void _internal_set_avg_data_out(float value); - public: - - // optional uint64 total_data_in = 26; - bool has_total_data_in() const; - private: - bool _internal_has_total_data_in() const; - public: - void clear_total_data_in(); - uint64_t total_data_in() const; - void set_total_data_in(uint64_t value); - private: - uint64_t _internal_total_data_in() const; - void _internal_set_total_data_in(uint64_t value); - public: - - // optional uint64 total_packets_in = 27; - bool has_total_packets_in() const; - private: - bool _internal_has_total_packets_in() const; - public: - void clear_total_packets_in(); - uint64_t total_packets_in() const; - void set_total_packets_in(uint64_t value); - private: - uint64_t _internal_total_packets_in() const; - void _internal_set_total_packets_in(uint64_t value); - public: - - // optional uint64 total_data_out = 28; - bool has_total_data_out() const; - private: - bool _internal_has_total_data_out() const; - public: - void clear_total_data_out(); - uint64_t total_data_out() const; - void set_total_data_out(uint64_t value); - private: - uint64_t _internal_total_data_out() const; - void _internal_set_total_data_out(uint64_t value); - public: - - // optional uint64 total_packets_out = 29; - bool has_total_packets_out() const; - private: - bool _internal_has_total_packets_out() const; - public: - void clear_total_packets_out(); - uint64_t total_packets_out() const; - void set_total_packets_out(uint64_t value); - private: - uint64_t _internal_total_packets_out() const; - void _internal_set_total_packets_out(uint64_t value); - public: - - // optional float avg_data_in = 25; - bool has_avg_data_in() const; - private: - bool _internal_has_avg_data_in() const; - public: - void clear_avg_data_in(); - float avg_data_in() const; - void set_avg_data_in(float value); - private: - float _internal_avg_data_in() const; - void _internal_set_avg_data_in(float value); - public: - - // @@protoc_insertion_point(class_scope:CMsgServerNetworkStats) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Port > ports_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Player > players_; - bool dedicated_; - int32_t cpu_usage_; - int32_t memory_used_mb_; - int32_t memory_free_mb_; - int32_t uptime_; - int32_t spawn_count_; - int32_t num_clients_; - int32_t num_bots_; - int32_t num_spectators_; - int32_t num_tv_relays_; - float fps_; - float avg_ping_ms_; - float avg_engine_latency_out_; - float avg_packets_out_; - float avg_packets_in_; - float avg_loss_out_; - float avg_loss_in_; - float avg_data_out_; - uint64_t total_data_in_; - uint64_t total_packets_in_; - uint64_t total_data_out_; - uint64_t total_packets_out_; - float avg_data_in_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_HltvReplay : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_HltvReplay) */ { - public: - inline CSVCMsg_HltvReplay() : CSVCMsg_HltvReplay(nullptr) {} - ~CSVCMsg_HltvReplay() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_HltvReplay(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_HltvReplay(const CSVCMsg_HltvReplay& from); - CSVCMsg_HltvReplay(CSVCMsg_HltvReplay&& from) noexcept - : CSVCMsg_HltvReplay() { - *this = ::std::move(from); - } - - inline CSVCMsg_HltvReplay& operator=(const CSVCMsg_HltvReplay& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_HltvReplay& operator=(CSVCMsg_HltvReplay&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_HltvReplay& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_HltvReplay* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_HltvReplay_default_instance_); - } - static constexpr int kIndexInFileMessages = - 74; - - friend void swap(CSVCMsg_HltvReplay& a, CSVCMsg_HltvReplay& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_HltvReplay* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_HltvReplay* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_HltvReplay* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_HltvReplay& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_HltvReplay& from) { - CSVCMsg_HltvReplay::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_HltvReplay* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_HltvReplay"; - } - protected: - explicit CSVCMsg_HltvReplay(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDelayFieldNumber = 1, - kReplayStopAtFieldNumber = 3, - kReplayStartAtFieldNumber = 4, - kReplaySlowdownBeginFieldNumber = 5, - kReplaySlowdownEndFieldNumber = 6, - kReplaySlowdownRateFieldNumber = 7, - kReasonFieldNumber = 8, - kPrimaryTargetFieldNumber = 2, - }; - // optional int32 delay = 1; - bool has_delay() const; - private: - bool _internal_has_delay() const; - public: - void clear_delay(); - int32_t delay() const; - void set_delay(int32_t value); - private: - int32_t _internal_delay() const; - void _internal_set_delay(int32_t value); - public: - - // optional int32 replay_stop_at = 3; - bool has_replay_stop_at() const; - private: - bool _internal_has_replay_stop_at() const; - public: - void clear_replay_stop_at(); - int32_t replay_stop_at() const; - void set_replay_stop_at(int32_t value); - private: - int32_t _internal_replay_stop_at() const; - void _internal_set_replay_stop_at(int32_t value); - public: - - // optional int32 replay_start_at = 4; - bool has_replay_start_at() const; - private: - bool _internal_has_replay_start_at() const; - public: - void clear_replay_start_at(); - int32_t replay_start_at() const; - void set_replay_start_at(int32_t value); - private: - int32_t _internal_replay_start_at() const; - void _internal_set_replay_start_at(int32_t value); - public: - - // optional int32 replay_slowdown_begin = 5; - bool has_replay_slowdown_begin() const; - private: - bool _internal_has_replay_slowdown_begin() const; - public: - void clear_replay_slowdown_begin(); - int32_t replay_slowdown_begin() const; - void set_replay_slowdown_begin(int32_t value); - private: - int32_t _internal_replay_slowdown_begin() const; - void _internal_set_replay_slowdown_begin(int32_t value); - public: - - // optional int32 replay_slowdown_end = 6; - bool has_replay_slowdown_end() const; - private: - bool _internal_has_replay_slowdown_end() const; - public: - void clear_replay_slowdown_end(); - int32_t replay_slowdown_end() const; - void set_replay_slowdown_end(int32_t value); - private: - int32_t _internal_replay_slowdown_end() const; - void _internal_set_replay_slowdown_end(int32_t value); - public: - - // optional float replay_slowdown_rate = 7; - bool has_replay_slowdown_rate() const; - private: - bool _internal_has_replay_slowdown_rate() const; - public: - void clear_replay_slowdown_rate(); - float replay_slowdown_rate() const; - void set_replay_slowdown_rate(float value); - private: - float _internal_replay_slowdown_rate() const; - void _internal_set_replay_slowdown_rate(float value); - public: - - // optional int32 reason = 8; - bool has_reason() const; - private: - bool _internal_has_reason() const; - public: - void clear_reason(); - int32_t reason() const; - void set_reason(int32_t value); - private: - int32_t _internal_reason() const; - void _internal_set_reason(int32_t value); - public: - - // optional int32 primary_target = 2 [default = -1]; - bool has_primary_target() const; - private: - bool _internal_has_primary_target() const; - public: - void clear_primary_target(); - int32_t primary_target() const; - void set_primary_target(int32_t value); - private: - int32_t _internal_primary_target() const; - void _internal_set_primary_target(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_HltvReplay) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t delay_; - int32_t replay_stop_at_; - int32_t replay_start_at_; - int32_t replay_slowdown_begin_; - int32_t replay_slowdown_end_; - float replay_slowdown_rate_; - int32_t reason_; - int32_t primary_target_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCLCMsg_HltvReplay : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_HltvReplay) */ { - public: - inline CCLCMsg_HltvReplay() : CCLCMsg_HltvReplay(nullptr) {} - ~CCLCMsg_HltvReplay() override; - explicit PROTOBUF_CONSTEXPR CCLCMsg_HltvReplay(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCLCMsg_HltvReplay(const CCLCMsg_HltvReplay& from); - CCLCMsg_HltvReplay(CCLCMsg_HltvReplay&& from) noexcept - : CCLCMsg_HltvReplay() { - *this = ::std::move(from); - } - - inline CCLCMsg_HltvReplay& operator=(const CCLCMsg_HltvReplay& from) { - CopyFrom(from); - return *this; - } - inline CCLCMsg_HltvReplay& operator=(CCLCMsg_HltvReplay&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCLCMsg_HltvReplay& default_instance() { - return *internal_default_instance(); - } - static inline const CCLCMsg_HltvReplay* internal_default_instance() { - return reinterpret_cast( - &_CCLCMsg_HltvReplay_default_instance_); - } - static constexpr int kIndexInFileMessages = - 75; - - friend void swap(CCLCMsg_HltvReplay& a, CCLCMsg_HltvReplay& b) { - a.Swap(&b); - } - inline void Swap(CCLCMsg_HltvReplay* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCLCMsg_HltvReplay* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCLCMsg_HltvReplay* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCLCMsg_HltvReplay& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCLCMsg_HltvReplay& from) { - CCLCMsg_HltvReplay::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCLCMsg_HltvReplay* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCLCMsg_HltvReplay"; - } - protected: - explicit CCLCMsg_HltvReplay(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRequestFieldNumber = 1, - kSlowdownLengthFieldNumber = 2, - kSlowdownRateFieldNumber = 3, - kEventTimeFieldNumber = 5, - kPrimaryTargetFieldNumber = 4, - }; - // optional int32 request = 1; - bool has_request() const; - private: - bool _internal_has_request() const; - public: - void clear_request(); - int32_t request() const; - void set_request(int32_t value); - private: - int32_t _internal_request() const; - void _internal_set_request(int32_t value); - public: - - // optional float slowdown_length = 2; - bool has_slowdown_length() const; - private: - bool _internal_has_slowdown_length() const; - public: - void clear_slowdown_length(); - float slowdown_length() const; - void set_slowdown_length(float value); - private: - float _internal_slowdown_length() const; - void _internal_set_slowdown_length(float value); - public: - - // optional float slowdown_rate = 3; - bool has_slowdown_rate() const; - private: - bool _internal_has_slowdown_rate() const; - public: - void clear_slowdown_rate(); - float slowdown_rate() const; - void set_slowdown_rate(float value); - private: - float _internal_slowdown_rate() const; - void _internal_set_slowdown_rate(float value); - public: - - // optional float event_time = 5; - bool has_event_time() const; - private: - bool _internal_has_event_time() const; - public: - void clear_event_time(); - float event_time() const; - void set_event_time(float value); - private: - float _internal_event_time() const; - void _internal_set_event_time(float value); - public: - - // optional int32 primary_target = 4 [default = -1]; - bool has_primary_target() const; - private: - bool _internal_has_primary_target() const; - public: - void clear_primary_target(); - int32_t primary_target() const; - void set_primary_target(int32_t value); - private: - int32_t _internal_primary_target() const; - void _internal_set_primary_target(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCLCMsg_HltvReplay) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t request_; - float slowdown_length_; - float slowdown_rate_; - float event_time_; - int32_t primary_target_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_Broadcast_Command : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_Broadcast_Command) */ { - public: - inline CSVCMsg_Broadcast_Command() : CSVCMsg_Broadcast_Command(nullptr) {} - ~CSVCMsg_Broadcast_Command() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_Broadcast_Command(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_Broadcast_Command(const CSVCMsg_Broadcast_Command& from); - CSVCMsg_Broadcast_Command(CSVCMsg_Broadcast_Command&& from) noexcept - : CSVCMsg_Broadcast_Command() { - *this = ::std::move(from); - } - - inline CSVCMsg_Broadcast_Command& operator=(const CSVCMsg_Broadcast_Command& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_Broadcast_Command& operator=(CSVCMsg_Broadcast_Command&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_Broadcast_Command& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_Broadcast_Command* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_Broadcast_Command_default_instance_); - } - static constexpr int kIndexInFileMessages = - 76; - - friend void swap(CSVCMsg_Broadcast_Command& a, CSVCMsg_Broadcast_Command& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_Broadcast_Command* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_Broadcast_Command* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_Broadcast_Command* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_Broadcast_Command& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_Broadcast_Command& from) { - CSVCMsg_Broadcast_Command::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_Broadcast_Command* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_Broadcast_Command"; - } - protected: - explicit CSVCMsg_Broadcast_Command(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCmdFieldNumber = 1, - }; - // optional string cmd = 1; - bool has_cmd() const; - private: - bool _internal_has_cmd() const; - public: - void clear_cmd(); - const std::string& cmd() const; - template - void set_cmd(ArgT0&& arg0, ArgT... args); - std::string* mutable_cmd(); - PROTOBUF_NODISCARD std::string* release_cmd(); - void set_allocated_cmd(std::string* cmd); - private: - const std::string& _internal_cmd() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_cmd(const std::string& value); - std::string* _internal_mutable_cmd(); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_Broadcast_Command) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cmd_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CCLCMsg_HltvFixupOperatorTick : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCLCMsg_HltvFixupOperatorTick) */ { - public: - inline CCLCMsg_HltvFixupOperatorTick() : CCLCMsg_HltvFixupOperatorTick(nullptr) {} - ~CCLCMsg_HltvFixupOperatorTick() override; - explicit PROTOBUF_CONSTEXPR CCLCMsg_HltvFixupOperatorTick(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCLCMsg_HltvFixupOperatorTick(const CCLCMsg_HltvFixupOperatorTick& from); - CCLCMsg_HltvFixupOperatorTick(CCLCMsg_HltvFixupOperatorTick&& from) noexcept - : CCLCMsg_HltvFixupOperatorTick() { - *this = ::std::move(from); - } - - inline CCLCMsg_HltvFixupOperatorTick& operator=(const CCLCMsg_HltvFixupOperatorTick& from) { - CopyFrom(from); - return *this; - } - inline CCLCMsg_HltvFixupOperatorTick& operator=(CCLCMsg_HltvFixupOperatorTick&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCLCMsg_HltvFixupOperatorTick& default_instance() { - return *internal_default_instance(); - } - static inline const CCLCMsg_HltvFixupOperatorTick* internal_default_instance() { - return reinterpret_cast( - &_CCLCMsg_HltvFixupOperatorTick_default_instance_); - } - static constexpr int kIndexInFileMessages = - 77; - - friend void swap(CCLCMsg_HltvFixupOperatorTick& a, CCLCMsg_HltvFixupOperatorTick& b) { - a.Swap(&b); - } - inline void Swap(CCLCMsg_HltvFixupOperatorTick* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCLCMsg_HltvFixupOperatorTick* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCLCMsg_HltvFixupOperatorTick* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCLCMsg_HltvFixupOperatorTick& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCLCMsg_HltvFixupOperatorTick& from) { - CCLCMsg_HltvFixupOperatorTick::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCLCMsg_HltvFixupOperatorTick* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCLCMsg_HltvFixupOperatorTick"; - } - protected: - explicit CCLCMsg_HltvFixupOperatorTick(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPropsDataFieldNumber = 2, - kOriginFieldNumber = 3, - kEyeAnglesFieldNumber = 4, - kViewOffsetFieldNumber = 8, - kTickFieldNumber = 1, - kObserverModeFieldNumber = 5, - kCameramanScoreboardFieldNumber = 6, - kObserverTargetFieldNumber = 7, - }; - // optional bytes props_data = 2; - bool has_props_data() const; - private: - bool _internal_has_props_data() const; - public: - void clear_props_data(); - const std::string& props_data() const; - template - void set_props_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_props_data(); - PROTOBUF_NODISCARD std::string* release_props_data(); - void set_allocated_props_data(std::string* props_data); - private: - const std::string& _internal_props_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_props_data(const std::string& value); - std::string* _internal_mutable_props_data(); - public: - - // optional .CMsgVector origin = 3; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional .CMsgQAngle eye_angles = 4; - bool has_eye_angles() const; - private: - bool _internal_has_eye_angles() const; - public: - void clear_eye_angles(); - const ::CMsgQAngle& eye_angles() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_eye_angles(); - ::CMsgQAngle* mutable_eye_angles(); - void set_allocated_eye_angles(::CMsgQAngle* eye_angles); - private: - const ::CMsgQAngle& _internal_eye_angles() const; - ::CMsgQAngle* _internal_mutable_eye_angles(); - public: - void unsafe_arena_set_allocated_eye_angles( - ::CMsgQAngle* eye_angles); - ::CMsgQAngle* unsafe_arena_release_eye_angles(); - - // optional .CMsgVector view_offset = 8; - bool has_view_offset() const; - private: - bool _internal_has_view_offset() const; - public: - void clear_view_offset(); - const ::CMsgVector& view_offset() const; - PROTOBUF_NODISCARD ::CMsgVector* release_view_offset(); - ::CMsgVector* mutable_view_offset(); - void set_allocated_view_offset(::CMsgVector* view_offset); - private: - const ::CMsgVector& _internal_view_offset() const; - ::CMsgVector* _internal_mutable_view_offset(); - public: - void unsafe_arena_set_allocated_view_offset( - ::CMsgVector* view_offset); - ::CMsgVector* unsafe_arena_release_view_offset(); - - // optional int32 tick = 1; - bool has_tick() const; - private: - bool _internal_has_tick() const; - public: - void clear_tick(); - int32_t tick() const; - void set_tick(int32_t value); - private: - int32_t _internal_tick() const; - void _internal_set_tick(int32_t value); - public: - - // optional int32 observer_mode = 5; - bool has_observer_mode() const; - private: - bool _internal_has_observer_mode() const; - public: - void clear_observer_mode(); - int32_t observer_mode() const; - void set_observer_mode(int32_t value); - private: - int32_t _internal_observer_mode() const; - void _internal_set_observer_mode(int32_t value); - public: - - // optional bool cameraman_scoreboard = 6; - bool has_cameraman_scoreboard() const; - private: - bool _internal_has_cameraman_scoreboard() const; - public: - void clear_cameraman_scoreboard(); - bool cameraman_scoreboard() const; - void set_cameraman_scoreboard(bool value); - private: - bool _internal_cameraman_scoreboard() const; - void _internal_set_cameraman_scoreboard(bool value); - public: - - // optional int32 observer_target = 7; - bool has_observer_target() const; - private: - bool _internal_has_observer_target() const; - public: - void clear_observer_target(); - int32_t observer_target() const; - void set_observer_target(int32_t value); - private: - int32_t _internal_observer_target() const; - void _internal_set_observer_target(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCLCMsg_HltvFixupOperatorTick) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr props_data_; - ::CMsgVector* origin_; - ::CMsgQAngle* eye_angles_; - ::CMsgVector* view_offset_; - int32_t tick_; - int32_t observer_mode_; - bool cameraman_scoreboard_; - int32_t observer_target_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_HltvFixupOperatorStatus : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_HltvFixupOperatorStatus) */ { - public: - inline CSVCMsg_HltvFixupOperatorStatus() : CSVCMsg_HltvFixupOperatorStatus(nullptr) {} - ~CSVCMsg_HltvFixupOperatorStatus() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_HltvFixupOperatorStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_HltvFixupOperatorStatus(const CSVCMsg_HltvFixupOperatorStatus& from); - CSVCMsg_HltvFixupOperatorStatus(CSVCMsg_HltvFixupOperatorStatus&& from) noexcept - : CSVCMsg_HltvFixupOperatorStatus() { - *this = ::std::move(from); - } - - inline CSVCMsg_HltvFixupOperatorStatus& operator=(const CSVCMsg_HltvFixupOperatorStatus& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_HltvFixupOperatorStatus& operator=(CSVCMsg_HltvFixupOperatorStatus&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_HltvFixupOperatorStatus& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_HltvFixupOperatorStatus* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_HltvFixupOperatorStatus_default_instance_); - } - static constexpr int kIndexInFileMessages = - 78; - - friend void swap(CSVCMsg_HltvFixupOperatorStatus& a, CSVCMsg_HltvFixupOperatorStatus& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_HltvFixupOperatorStatus* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_HltvFixupOperatorStatus* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_HltvFixupOperatorStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_HltvFixupOperatorStatus& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_HltvFixupOperatorStatus& from) { - CSVCMsg_HltvFixupOperatorStatus::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_HltvFixupOperatorStatus* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_HltvFixupOperatorStatus"; - } - protected: - explicit CSVCMsg_HltvFixupOperatorStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOverrideOperatorNameFieldNumber = 2, - kModeFieldNumber = 1, - }; - // optional string override_operator_name = 2; - bool has_override_operator_name() const; - private: - bool _internal_has_override_operator_name() const; - public: - void clear_override_operator_name(); - const std::string& override_operator_name() const; - template - void set_override_operator_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_override_operator_name(); - PROTOBUF_NODISCARD std::string* release_override_operator_name(); - void set_allocated_override_operator_name(std::string* override_operator_name); - private: - const std::string& _internal_override_operator_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_override_operator_name(const std::string& value); - std::string* _internal_mutable_override_operator_name(); - public: - - // optional uint32 mode = 1; - bool has_mode() const; - private: - bool _internal_has_mode() const; - public: - void clear_mode(); - uint32_t mode() const; - void set_mode(uint32_t value); - private: - uint32_t _internal_mode() const; - void _internal_set_mode(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_HltvFixupOperatorStatus) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr override_operator_name_; - uint32_t mode_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgServerUserCmd : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgServerUserCmd) */ { - public: - inline CMsgServerUserCmd() : CMsgServerUserCmd(nullptr) {} - ~CMsgServerUserCmd() override; - explicit PROTOBUF_CONSTEXPR CMsgServerUserCmd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgServerUserCmd(const CMsgServerUserCmd& from); - CMsgServerUserCmd(CMsgServerUserCmd&& from) noexcept - : CMsgServerUserCmd() { - *this = ::std::move(from); - } - - inline CMsgServerUserCmd& operator=(const CMsgServerUserCmd& from) { - CopyFrom(from); - return *this; - } - inline CMsgServerUserCmd& operator=(CMsgServerUserCmd&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgServerUserCmd& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgServerUserCmd* internal_default_instance() { - return reinterpret_cast( - &_CMsgServerUserCmd_default_instance_); - } - static constexpr int kIndexInFileMessages = - 79; - - friend void swap(CMsgServerUserCmd& a, CMsgServerUserCmd& b) { - a.Swap(&b); - } - inline void Swap(CMsgServerUserCmd* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgServerUserCmd* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgServerUserCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgServerUserCmd& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgServerUserCmd& from) { - CMsgServerUserCmd::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgServerUserCmd* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgServerUserCmd"; - } - protected: - explicit CMsgServerUserCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 1, - kCmdNumberFieldNumber = 2, - kServerTickExecutedFieldNumber = 4, - kClientTickFieldNumber = 5, - kPlayerSlotFieldNumber = 3, - }; - // optional bytes data = 1; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // optional int32 cmd_number = 2; - bool has_cmd_number() const; - private: - bool _internal_has_cmd_number() const; - public: - void clear_cmd_number(); - int32_t cmd_number() const; - void set_cmd_number(int32_t value); - private: - int32_t _internal_cmd_number() const; - void _internal_set_cmd_number(int32_t value); - public: - - // optional int32 server_tick_executed = 4; - bool has_server_tick_executed() const; - private: - bool _internal_has_server_tick_executed() const; - public: - void clear_server_tick_executed(); - int32_t server_tick_executed() const; - void set_server_tick_executed(int32_t value); - private: - int32_t _internal_server_tick_executed() const; - void _internal_set_server_tick_executed(int32_t value); - public: - - // optional int32 client_tick = 5; - bool has_client_tick() const; - private: - bool _internal_has_client_tick() const; - public: - void clear_client_tick(); - int32_t client_tick() const; - void set_client_tick(int32_t value); - private: - int32_t _internal_client_tick() const; - void _internal_set_client_tick(int32_t value); - public: - - // optional int32 player_slot = 3 [default = -1]; - bool has_player_slot() const; - private: - bool _internal_has_player_slot() const; - public: - void clear_player_slot(); - int32_t player_slot() const; - void set_player_slot(int32_t value); - private: - int32_t _internal_player_slot() const; - void _internal_set_player_slot(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgServerUserCmd) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - int32_t cmd_number_; - int32_t server_tick_executed_; - int32_t client_tick_; - int32_t player_slot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_UserCommands : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_UserCommands) */ { - public: - inline CSVCMsg_UserCommands() : CSVCMsg_UserCommands(nullptr) {} - ~CSVCMsg_UserCommands() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_UserCommands(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_UserCommands(const CSVCMsg_UserCommands& from); - CSVCMsg_UserCommands(CSVCMsg_UserCommands&& from) noexcept - : CSVCMsg_UserCommands() { - *this = ::std::move(from); - } - - inline CSVCMsg_UserCommands& operator=(const CSVCMsg_UserCommands& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_UserCommands& operator=(CSVCMsg_UserCommands&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_UserCommands& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_UserCommands* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_UserCommands_default_instance_); - } - static constexpr int kIndexInFileMessages = - 80; - - friend void swap(CSVCMsg_UserCommands& a, CSVCMsg_UserCommands& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_UserCommands* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_UserCommands* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_UserCommands* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_UserCommands& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_UserCommands& from) { - CSVCMsg_UserCommands::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_UserCommands* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_UserCommands"; - } - protected: - explicit CSVCMsg_UserCommands(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCommandsFieldNumber = 1, - }; - // repeated .CMsgServerUserCmd commands = 1; - int commands_size() const; - private: - int _internal_commands_size() const; - public: - void clear_commands(); - ::CMsgServerUserCmd* mutable_commands(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerUserCmd >* - mutable_commands(); - private: - const ::CMsgServerUserCmd& _internal_commands(int index) const; - ::CMsgServerUserCmd* _internal_add_commands(); - public: - const ::CMsgServerUserCmd& commands(int index) const; - ::CMsgServerUserCmd* add_commands(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerUserCmd >& - commands() const; - - // @@protoc_insertion_point(class_scope:CSVCMsg_UserCommands) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerUserCmd > commands_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_netmessages_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CCLCMsg_ClientInfo - -// optional fixed32 send_table_crc = 1; -inline bool CCLCMsg_ClientInfo::_internal_has_send_table_crc() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCLCMsg_ClientInfo::has_send_table_crc() const { - return _internal_has_send_table_crc(); -} -inline void CCLCMsg_ClientInfo::clear_send_table_crc() { - _impl_.send_table_crc_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CCLCMsg_ClientInfo::_internal_send_table_crc() const { - return _impl_.send_table_crc_; -} -inline uint32_t CCLCMsg_ClientInfo::send_table_crc() const { - // @@protoc_insertion_point(field_get:CCLCMsg_ClientInfo.send_table_crc) - return _internal_send_table_crc(); -} -inline void CCLCMsg_ClientInfo::_internal_set_send_table_crc(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.send_table_crc_ = value; -} -inline void CCLCMsg_ClientInfo::set_send_table_crc(uint32_t value) { - _internal_set_send_table_crc(value); - // @@protoc_insertion_point(field_set:CCLCMsg_ClientInfo.send_table_crc) -} - -// optional uint32 server_count = 2; -inline bool CCLCMsg_ClientInfo::_internal_has_server_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCLCMsg_ClientInfo::has_server_count() const { - return _internal_has_server_count(); -} -inline void CCLCMsg_ClientInfo::clear_server_count() { - _impl_.server_count_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CCLCMsg_ClientInfo::_internal_server_count() const { - return _impl_.server_count_; -} -inline uint32_t CCLCMsg_ClientInfo::server_count() const { - // @@protoc_insertion_point(field_get:CCLCMsg_ClientInfo.server_count) - return _internal_server_count(); -} -inline void CCLCMsg_ClientInfo::_internal_set_server_count(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.server_count_ = value; -} -inline void CCLCMsg_ClientInfo::set_server_count(uint32_t value) { - _internal_set_server_count(value); - // @@protoc_insertion_point(field_set:CCLCMsg_ClientInfo.server_count) -} - -// optional bool is_hltv = 3; -inline bool CCLCMsg_ClientInfo::_internal_has_is_hltv() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCLCMsg_ClientInfo::has_is_hltv() const { - return _internal_has_is_hltv(); -} -inline void CCLCMsg_ClientInfo::clear_is_hltv() { - _impl_.is_hltv_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CCLCMsg_ClientInfo::_internal_is_hltv() const { - return _impl_.is_hltv_; -} -inline bool CCLCMsg_ClientInfo::is_hltv() const { - // @@protoc_insertion_point(field_get:CCLCMsg_ClientInfo.is_hltv) - return _internal_is_hltv(); -} -inline void CCLCMsg_ClientInfo::_internal_set_is_hltv(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.is_hltv_ = value; -} -inline void CCLCMsg_ClientInfo::set_is_hltv(bool value) { - _internal_set_is_hltv(value); - // @@protoc_insertion_point(field_set:CCLCMsg_ClientInfo.is_hltv) -} - -// optional uint32 friends_id = 5; -inline bool CCLCMsg_ClientInfo::_internal_has_friends_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CCLCMsg_ClientInfo::has_friends_id() const { - return _internal_has_friends_id(); -} -inline void CCLCMsg_ClientInfo::clear_friends_id() { - _impl_.friends_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CCLCMsg_ClientInfo::_internal_friends_id() const { - return _impl_.friends_id_; -} -inline uint32_t CCLCMsg_ClientInfo::friends_id() const { - // @@protoc_insertion_point(field_get:CCLCMsg_ClientInfo.friends_id) - return _internal_friends_id(); -} -inline void CCLCMsg_ClientInfo::_internal_set_friends_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.friends_id_ = value; -} -inline void CCLCMsg_ClientInfo::set_friends_id(uint32_t value) { - _internal_set_friends_id(value); - // @@protoc_insertion_point(field_set:CCLCMsg_ClientInfo.friends_id) -} - -// optional string friends_name = 6; -inline bool CCLCMsg_ClientInfo::_internal_has_friends_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCLCMsg_ClientInfo::has_friends_name() const { - return _internal_has_friends_name(); -} -inline void CCLCMsg_ClientInfo::clear_friends_name() { - _impl_.friends_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCLCMsg_ClientInfo::friends_name() const { - // @@protoc_insertion_point(field_get:CCLCMsg_ClientInfo.friends_name) - return _internal_friends_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCLCMsg_ClientInfo::set_friends_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.friends_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCLCMsg_ClientInfo.friends_name) -} -inline std::string* CCLCMsg_ClientInfo::mutable_friends_name() { - std::string* _s = _internal_mutable_friends_name(); - // @@protoc_insertion_point(field_mutable:CCLCMsg_ClientInfo.friends_name) - return _s; -} -inline const std::string& CCLCMsg_ClientInfo::_internal_friends_name() const { - return _impl_.friends_name_.Get(); -} -inline void CCLCMsg_ClientInfo::_internal_set_friends_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.friends_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCLCMsg_ClientInfo::_internal_mutable_friends_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.friends_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCLCMsg_ClientInfo::release_friends_name() { - // @@protoc_insertion_point(field_release:CCLCMsg_ClientInfo.friends_name) - if (!_internal_has_friends_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.friends_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.friends_name_.IsDefault()) { - _impl_.friends_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCLCMsg_ClientInfo::set_allocated_friends_name(std::string* friends_name) { - if (friends_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.friends_name_.SetAllocated(friends_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.friends_name_.IsDefault()) { - _impl_.friends_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCLCMsg_ClientInfo.friends_name) -} - -// ------------------------------------------------------------------- - -// CCLCMsg_Move - -// optional bytes data = 3; -inline bool CCLCMsg_Move::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCLCMsg_Move::has_data() const { - return _internal_has_data(); -} -inline void CCLCMsg_Move::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCLCMsg_Move::data() const { - // @@protoc_insertion_point(field_get:CCLCMsg_Move.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCLCMsg_Move::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCLCMsg_Move.data) -} -inline std::string* CCLCMsg_Move::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CCLCMsg_Move.data) - return _s; -} -inline const std::string& CCLCMsg_Move::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CCLCMsg_Move::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCLCMsg_Move::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCLCMsg_Move::release_data() { - // @@protoc_insertion_point(field_release:CCLCMsg_Move.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCLCMsg_Move::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCLCMsg_Move.data) -} - -// optional uint32 last_command_number = 4; -inline bool CCLCMsg_Move::_internal_has_last_command_number() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCLCMsg_Move::has_last_command_number() const { - return _internal_has_last_command_number(); -} -inline void CCLCMsg_Move::clear_last_command_number() { - _impl_.last_command_number_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CCLCMsg_Move::_internal_last_command_number() const { - return _impl_.last_command_number_; -} -inline uint32_t CCLCMsg_Move::last_command_number() const { - // @@protoc_insertion_point(field_get:CCLCMsg_Move.last_command_number) - return _internal_last_command_number(); -} -inline void CCLCMsg_Move::_internal_set_last_command_number(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.last_command_number_ = value; -} -inline void CCLCMsg_Move::set_last_command_number(uint32_t value) { - _internal_set_last_command_number(value); - // @@protoc_insertion_point(field_set:CCLCMsg_Move.last_command_number) -} - -// ------------------------------------------------------------------- - -// CMsgVoiceAudio - -// optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM]; -inline bool CMsgVoiceAudio::_internal_has_format() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgVoiceAudio::has_format() const { - return _internal_has_format(); -} -inline void CMsgVoiceAudio::clear_format() { - _impl_.format_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::VoiceDataFormat_t CMsgVoiceAudio::_internal_format() const { - return static_cast< ::VoiceDataFormat_t >(_impl_.format_); -} -inline ::VoiceDataFormat_t CMsgVoiceAudio::format() const { - // @@protoc_insertion_point(field_get:CMsgVoiceAudio.format) - return _internal_format(); -} -inline void CMsgVoiceAudio::_internal_set_format(::VoiceDataFormat_t value) { - assert(::VoiceDataFormat_t_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.format_ = value; -} -inline void CMsgVoiceAudio::set_format(::VoiceDataFormat_t value) { - _internal_set_format(value); - // @@protoc_insertion_point(field_set:CMsgVoiceAudio.format) -} - -// optional bytes voice_data = 2; -inline bool CMsgVoiceAudio::_internal_has_voice_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgVoiceAudio::has_voice_data() const { - return _internal_has_voice_data(); -} -inline void CMsgVoiceAudio::clear_voice_data() { - _impl_.voice_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgVoiceAudio::voice_data() const { - // @@protoc_insertion_point(field_get:CMsgVoiceAudio.voice_data) - return _internal_voice_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgVoiceAudio::set_voice_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.voice_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgVoiceAudio.voice_data) -} -inline std::string* CMsgVoiceAudio::mutable_voice_data() { - std::string* _s = _internal_mutable_voice_data(); - // @@protoc_insertion_point(field_mutable:CMsgVoiceAudio.voice_data) - return _s; -} -inline const std::string& CMsgVoiceAudio::_internal_voice_data() const { - return _impl_.voice_data_.Get(); -} -inline void CMsgVoiceAudio::_internal_set_voice_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.voice_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgVoiceAudio::_internal_mutable_voice_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.voice_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgVoiceAudio::release_voice_data() { - // @@protoc_insertion_point(field_release:CMsgVoiceAudio.voice_data) - if (!_internal_has_voice_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.voice_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.voice_data_.IsDefault()) { - _impl_.voice_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgVoiceAudio::set_allocated_voice_data(std::string* voice_data) { - if (voice_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.voice_data_.SetAllocated(voice_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.voice_data_.IsDefault()) { - _impl_.voice_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgVoiceAudio.voice_data) -} - -// optional int32 sequence_bytes = 3; -inline bool CMsgVoiceAudio::_internal_has_sequence_bytes() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgVoiceAudio::has_sequence_bytes() const { - return _internal_has_sequence_bytes(); -} -inline void CMsgVoiceAudio::clear_sequence_bytes() { - _impl_.sequence_bytes_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CMsgVoiceAudio::_internal_sequence_bytes() const { - return _impl_.sequence_bytes_; -} -inline int32_t CMsgVoiceAudio::sequence_bytes() const { - // @@protoc_insertion_point(field_get:CMsgVoiceAudio.sequence_bytes) - return _internal_sequence_bytes(); -} -inline void CMsgVoiceAudio::_internal_set_sequence_bytes(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.sequence_bytes_ = value; -} -inline void CMsgVoiceAudio::set_sequence_bytes(int32_t value) { - _internal_set_sequence_bytes(value); - // @@protoc_insertion_point(field_set:CMsgVoiceAudio.sequence_bytes) -} - -// optional uint32 section_number = 4; -inline bool CMsgVoiceAudio::_internal_has_section_number() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgVoiceAudio::has_section_number() const { - return _internal_has_section_number(); -} -inline void CMsgVoiceAudio::clear_section_number() { - _impl_.section_number_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgVoiceAudio::_internal_section_number() const { - return _impl_.section_number_; -} -inline uint32_t CMsgVoiceAudio::section_number() const { - // @@protoc_insertion_point(field_get:CMsgVoiceAudio.section_number) - return _internal_section_number(); -} -inline void CMsgVoiceAudio::_internal_set_section_number(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.section_number_ = value; -} -inline void CMsgVoiceAudio::set_section_number(uint32_t value) { - _internal_set_section_number(value); - // @@protoc_insertion_point(field_set:CMsgVoiceAudio.section_number) -} - -// optional uint32 sample_rate = 5; -inline bool CMsgVoiceAudio::_internal_has_sample_rate() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgVoiceAudio::has_sample_rate() const { - return _internal_has_sample_rate(); -} -inline void CMsgVoiceAudio::clear_sample_rate() { - _impl_.sample_rate_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgVoiceAudio::_internal_sample_rate() const { - return _impl_.sample_rate_; -} -inline uint32_t CMsgVoiceAudio::sample_rate() const { - // @@protoc_insertion_point(field_get:CMsgVoiceAudio.sample_rate) - return _internal_sample_rate(); -} -inline void CMsgVoiceAudio::_internal_set_sample_rate(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.sample_rate_ = value; -} -inline void CMsgVoiceAudio::set_sample_rate(uint32_t value) { - _internal_set_sample_rate(value); - // @@protoc_insertion_point(field_set:CMsgVoiceAudio.sample_rate) -} - -// optional uint32 uncompressed_sample_offset = 6; -inline bool CMsgVoiceAudio::_internal_has_uncompressed_sample_offset() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgVoiceAudio::has_uncompressed_sample_offset() const { - return _internal_has_uncompressed_sample_offset(); -} -inline void CMsgVoiceAudio::clear_uncompressed_sample_offset() { - _impl_.uncompressed_sample_offset_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgVoiceAudio::_internal_uncompressed_sample_offset() const { - return _impl_.uncompressed_sample_offset_; -} -inline uint32_t CMsgVoiceAudio::uncompressed_sample_offset() const { - // @@protoc_insertion_point(field_get:CMsgVoiceAudio.uncompressed_sample_offset) - return _internal_uncompressed_sample_offset(); -} -inline void CMsgVoiceAudio::_internal_set_uncompressed_sample_offset(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.uncompressed_sample_offset_ = value; -} -inline void CMsgVoiceAudio::set_uncompressed_sample_offset(uint32_t value) { - _internal_set_uncompressed_sample_offset(value); - // @@protoc_insertion_point(field_set:CMsgVoiceAudio.uncompressed_sample_offset) -} - -// optional uint32 num_packets = 7; -inline bool CMsgVoiceAudio::_internal_has_num_packets() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgVoiceAudio::has_num_packets() const { - return _internal_has_num_packets(); -} -inline void CMsgVoiceAudio::clear_num_packets() { - _impl_.num_packets_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgVoiceAudio::_internal_num_packets() const { - return _impl_.num_packets_; -} -inline uint32_t CMsgVoiceAudio::num_packets() const { - // @@protoc_insertion_point(field_get:CMsgVoiceAudio.num_packets) - return _internal_num_packets(); -} -inline void CMsgVoiceAudio::_internal_set_num_packets(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.num_packets_ = value; -} -inline void CMsgVoiceAudio::set_num_packets(uint32_t value) { - _internal_set_num_packets(value); - // @@protoc_insertion_point(field_set:CMsgVoiceAudio.num_packets) -} - -// repeated uint32 packet_offsets = 8 [packed = true]; -inline int CMsgVoiceAudio::_internal_packet_offsets_size() const { - return _impl_.packet_offsets_.size(); -} -inline int CMsgVoiceAudio::packet_offsets_size() const { - return _internal_packet_offsets_size(); -} -inline void CMsgVoiceAudio::clear_packet_offsets() { - _impl_.packet_offsets_.Clear(); -} -inline uint32_t CMsgVoiceAudio::_internal_packet_offsets(int index) const { - return _impl_.packet_offsets_.Get(index); -} -inline uint32_t CMsgVoiceAudio::packet_offsets(int index) const { - // @@protoc_insertion_point(field_get:CMsgVoiceAudio.packet_offsets) - return _internal_packet_offsets(index); -} -inline void CMsgVoiceAudio::set_packet_offsets(int index, uint32_t value) { - _impl_.packet_offsets_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgVoiceAudio.packet_offsets) -} -inline void CMsgVoiceAudio::_internal_add_packet_offsets(uint32_t value) { - _impl_.packet_offsets_.Add(value); -} -inline void CMsgVoiceAudio::add_packet_offsets(uint32_t value) { - _internal_add_packet_offsets(value); - // @@protoc_insertion_point(field_add:CMsgVoiceAudio.packet_offsets) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgVoiceAudio::_internal_packet_offsets() const { - return _impl_.packet_offsets_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgVoiceAudio::packet_offsets() const { - // @@protoc_insertion_point(field_list:CMsgVoiceAudio.packet_offsets) - return _internal_packet_offsets(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgVoiceAudio::_internal_mutable_packet_offsets() { - return &_impl_.packet_offsets_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgVoiceAudio::mutable_packet_offsets() { - // @@protoc_insertion_point(field_mutable_list:CMsgVoiceAudio.packet_offsets) - return _internal_mutable_packet_offsets(); -} - -// optional float voice_level = 9; -inline bool CMsgVoiceAudio::_internal_has_voice_level() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgVoiceAudio::has_voice_level() const { - return _internal_has_voice_level(); -} -inline void CMsgVoiceAudio::clear_voice_level() { - _impl_.voice_level_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline float CMsgVoiceAudio::_internal_voice_level() const { - return _impl_.voice_level_; -} -inline float CMsgVoiceAudio::voice_level() const { - // @@protoc_insertion_point(field_get:CMsgVoiceAudio.voice_level) - return _internal_voice_level(); -} -inline void CMsgVoiceAudio::_internal_set_voice_level(float value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.voice_level_ = value; -} -inline void CMsgVoiceAudio::set_voice_level(float value) { - _internal_set_voice_level(value); - // @@protoc_insertion_point(field_set:CMsgVoiceAudio.voice_level) -} - -// ------------------------------------------------------------------- - -// CCLCMsg_VoiceData - -// optional .CMsgVoiceAudio audio = 1; -inline bool CCLCMsg_VoiceData::_internal_has_audio() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.audio_ != nullptr); - return value; -} -inline bool CCLCMsg_VoiceData::has_audio() const { - return _internal_has_audio(); -} -inline void CCLCMsg_VoiceData::clear_audio() { - if (_impl_.audio_ != nullptr) _impl_.audio_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgVoiceAudio& CCLCMsg_VoiceData::_internal_audio() const { - const ::CMsgVoiceAudio* p = _impl_.audio_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVoiceAudio_default_instance_); -} -inline const ::CMsgVoiceAudio& CCLCMsg_VoiceData::audio() const { - // @@protoc_insertion_point(field_get:CCLCMsg_VoiceData.audio) - return _internal_audio(); -} -inline void CCLCMsg_VoiceData::unsafe_arena_set_allocated_audio( - ::CMsgVoiceAudio* audio) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.audio_); - } - _impl_.audio_ = audio; - if (audio) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCLCMsg_VoiceData.audio) -} -inline ::CMsgVoiceAudio* CCLCMsg_VoiceData::release_audio() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVoiceAudio* temp = _impl_.audio_; - _impl_.audio_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVoiceAudio* CCLCMsg_VoiceData::unsafe_arena_release_audio() { - // @@protoc_insertion_point(field_release:CCLCMsg_VoiceData.audio) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVoiceAudio* temp = _impl_.audio_; - _impl_.audio_ = nullptr; - return temp; -} -inline ::CMsgVoiceAudio* CCLCMsg_VoiceData::_internal_mutable_audio() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.audio_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVoiceAudio>(GetArenaForAllocation()); - _impl_.audio_ = p; - } - return _impl_.audio_; -} -inline ::CMsgVoiceAudio* CCLCMsg_VoiceData::mutable_audio() { - ::CMsgVoiceAudio* _msg = _internal_mutable_audio(); - // @@protoc_insertion_point(field_mutable:CCLCMsg_VoiceData.audio) - return _msg; -} -inline void CCLCMsg_VoiceData::set_allocated_audio(::CMsgVoiceAudio* audio) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.audio_; - } - if (audio) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(audio); - if (message_arena != submessage_arena) { - audio = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, audio, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.audio_ = audio; - // @@protoc_insertion_point(field_set_allocated:CCLCMsg_VoiceData.audio) -} - -// optional fixed64 xuid = 2; -inline bool CCLCMsg_VoiceData::_internal_has_xuid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCLCMsg_VoiceData::has_xuid() const { - return _internal_has_xuid(); -} -inline void CCLCMsg_VoiceData::clear_xuid() { - _impl_.xuid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CCLCMsg_VoiceData::_internal_xuid() const { - return _impl_.xuid_; -} -inline uint64_t CCLCMsg_VoiceData::xuid() const { - // @@protoc_insertion_point(field_get:CCLCMsg_VoiceData.xuid) - return _internal_xuid(); -} -inline void CCLCMsg_VoiceData::_internal_set_xuid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.xuid_ = value; -} -inline void CCLCMsg_VoiceData::set_xuid(uint64_t value) { - _internal_set_xuid(value); - // @@protoc_insertion_point(field_set:CCLCMsg_VoiceData.xuid) -} - -// optional uint32 tick = 3; -inline bool CCLCMsg_VoiceData::_internal_has_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCLCMsg_VoiceData::has_tick() const { - return _internal_has_tick(); -} -inline void CCLCMsg_VoiceData::clear_tick() { - _impl_.tick_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CCLCMsg_VoiceData::_internal_tick() const { - return _impl_.tick_; -} -inline uint32_t CCLCMsg_VoiceData::tick() const { - // @@protoc_insertion_point(field_get:CCLCMsg_VoiceData.tick) - return _internal_tick(); -} -inline void CCLCMsg_VoiceData::_internal_set_tick(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.tick_ = value; -} -inline void CCLCMsg_VoiceData::set_tick(uint32_t value) { - _internal_set_tick(value); - // @@protoc_insertion_point(field_set:CCLCMsg_VoiceData.tick) -} - -// ------------------------------------------------------------------- - -// CCLCMsg_BaselineAck - -// optional int32 baseline_tick = 1; -inline bool CCLCMsg_BaselineAck::_internal_has_baseline_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCLCMsg_BaselineAck::has_baseline_tick() const { - return _internal_has_baseline_tick(); -} -inline void CCLCMsg_BaselineAck::clear_baseline_tick() { - _impl_.baseline_tick_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCLCMsg_BaselineAck::_internal_baseline_tick() const { - return _impl_.baseline_tick_; -} -inline int32_t CCLCMsg_BaselineAck::baseline_tick() const { - // @@protoc_insertion_point(field_get:CCLCMsg_BaselineAck.baseline_tick) - return _internal_baseline_tick(); -} -inline void CCLCMsg_BaselineAck::_internal_set_baseline_tick(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.baseline_tick_ = value; -} -inline void CCLCMsg_BaselineAck::set_baseline_tick(int32_t value) { - _internal_set_baseline_tick(value); - // @@protoc_insertion_point(field_set:CCLCMsg_BaselineAck.baseline_tick) -} - -// optional int32 baseline_nr = 2; -inline bool CCLCMsg_BaselineAck::_internal_has_baseline_nr() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCLCMsg_BaselineAck::has_baseline_nr() const { - return _internal_has_baseline_nr(); -} -inline void CCLCMsg_BaselineAck::clear_baseline_nr() { - _impl_.baseline_nr_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCLCMsg_BaselineAck::_internal_baseline_nr() const { - return _impl_.baseline_nr_; -} -inline int32_t CCLCMsg_BaselineAck::baseline_nr() const { - // @@protoc_insertion_point(field_get:CCLCMsg_BaselineAck.baseline_nr) - return _internal_baseline_nr(); -} -inline void CCLCMsg_BaselineAck::_internal_set_baseline_nr(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.baseline_nr_ = value; -} -inline void CCLCMsg_BaselineAck::set_baseline_nr(int32_t value) { - _internal_set_baseline_nr(value); - // @@protoc_insertion_point(field_set:CCLCMsg_BaselineAck.baseline_nr) -} - -// ------------------------------------------------------------------- - -// CCLCMsg_ListenEvents - -// repeated fixed32 event_mask = 1; -inline int CCLCMsg_ListenEvents::_internal_event_mask_size() const { - return _impl_.event_mask_.size(); -} -inline int CCLCMsg_ListenEvents::event_mask_size() const { - return _internal_event_mask_size(); -} -inline void CCLCMsg_ListenEvents::clear_event_mask() { - _impl_.event_mask_.Clear(); -} -inline uint32_t CCLCMsg_ListenEvents::_internal_event_mask(int index) const { - return _impl_.event_mask_.Get(index); -} -inline uint32_t CCLCMsg_ListenEvents::event_mask(int index) const { - // @@protoc_insertion_point(field_get:CCLCMsg_ListenEvents.event_mask) - return _internal_event_mask(index); -} -inline void CCLCMsg_ListenEvents::set_event_mask(int index, uint32_t value) { - _impl_.event_mask_.Set(index, value); - // @@protoc_insertion_point(field_set:CCLCMsg_ListenEvents.event_mask) -} -inline void CCLCMsg_ListenEvents::_internal_add_event_mask(uint32_t value) { - _impl_.event_mask_.Add(value); -} -inline void CCLCMsg_ListenEvents::add_event_mask(uint32_t value) { - _internal_add_event_mask(value); - // @@protoc_insertion_point(field_add:CCLCMsg_ListenEvents.event_mask) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CCLCMsg_ListenEvents::_internal_event_mask() const { - return _impl_.event_mask_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CCLCMsg_ListenEvents::event_mask() const { - // @@protoc_insertion_point(field_list:CCLCMsg_ListenEvents.event_mask) - return _internal_event_mask(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CCLCMsg_ListenEvents::_internal_mutable_event_mask() { - return &_impl_.event_mask_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CCLCMsg_ListenEvents::mutable_event_mask() { - // @@protoc_insertion_point(field_mutable_list:CCLCMsg_ListenEvents.event_mask) - return _internal_mutable_event_mask(); -} - -// ------------------------------------------------------------------- - -// CCLCMsg_RespondCvarValue - -// optional int32 cookie = 1; -inline bool CCLCMsg_RespondCvarValue::_internal_has_cookie() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCLCMsg_RespondCvarValue::has_cookie() const { - return _internal_has_cookie(); -} -inline void CCLCMsg_RespondCvarValue::clear_cookie() { - _impl_.cookie_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CCLCMsg_RespondCvarValue::_internal_cookie() const { - return _impl_.cookie_; -} -inline int32_t CCLCMsg_RespondCvarValue::cookie() const { - // @@protoc_insertion_point(field_get:CCLCMsg_RespondCvarValue.cookie) - return _internal_cookie(); -} -inline void CCLCMsg_RespondCvarValue::_internal_set_cookie(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.cookie_ = value; -} -inline void CCLCMsg_RespondCvarValue::set_cookie(int32_t value) { - _internal_set_cookie(value); - // @@protoc_insertion_point(field_set:CCLCMsg_RespondCvarValue.cookie) -} - -// optional int32 status_code = 2; -inline bool CCLCMsg_RespondCvarValue::_internal_has_status_code() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCLCMsg_RespondCvarValue::has_status_code() const { - return _internal_has_status_code(); -} -inline void CCLCMsg_RespondCvarValue::clear_status_code() { - _impl_.status_code_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CCLCMsg_RespondCvarValue::_internal_status_code() const { - return _impl_.status_code_; -} -inline int32_t CCLCMsg_RespondCvarValue::status_code() const { - // @@protoc_insertion_point(field_get:CCLCMsg_RespondCvarValue.status_code) - return _internal_status_code(); -} -inline void CCLCMsg_RespondCvarValue::_internal_set_status_code(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.status_code_ = value; -} -inline void CCLCMsg_RespondCvarValue::set_status_code(int32_t value) { - _internal_set_status_code(value); - // @@protoc_insertion_point(field_set:CCLCMsg_RespondCvarValue.status_code) -} - -// optional string name = 3; -inline bool CCLCMsg_RespondCvarValue::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCLCMsg_RespondCvarValue::has_name() const { - return _internal_has_name(); -} -inline void CCLCMsg_RespondCvarValue::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCLCMsg_RespondCvarValue::name() const { - // @@protoc_insertion_point(field_get:CCLCMsg_RespondCvarValue.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCLCMsg_RespondCvarValue::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCLCMsg_RespondCvarValue.name) -} -inline std::string* CCLCMsg_RespondCvarValue::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CCLCMsg_RespondCvarValue.name) - return _s; -} -inline const std::string& CCLCMsg_RespondCvarValue::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CCLCMsg_RespondCvarValue::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCLCMsg_RespondCvarValue::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCLCMsg_RespondCvarValue::release_name() { - // @@protoc_insertion_point(field_release:CCLCMsg_RespondCvarValue.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCLCMsg_RespondCvarValue::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCLCMsg_RespondCvarValue.name) -} - -// optional string value = 4; -inline bool CCLCMsg_RespondCvarValue::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCLCMsg_RespondCvarValue::has_value() const { - return _internal_has_value(); -} -inline void CCLCMsg_RespondCvarValue::clear_value() { - _impl_.value_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CCLCMsg_RespondCvarValue::value() const { - // @@protoc_insertion_point(field_get:CCLCMsg_RespondCvarValue.value) - return _internal_value(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCLCMsg_RespondCvarValue::set_value(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCLCMsg_RespondCvarValue.value) -} -inline std::string* CCLCMsg_RespondCvarValue::mutable_value() { - std::string* _s = _internal_mutable_value(); - // @@protoc_insertion_point(field_mutable:CCLCMsg_RespondCvarValue.value) - return _s; -} -inline const std::string& CCLCMsg_RespondCvarValue::_internal_value() const { - return _impl_.value_.Get(); -} -inline void CCLCMsg_RespondCvarValue::_internal_set_value(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.value_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCLCMsg_RespondCvarValue::_internal_mutable_value() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.value_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCLCMsg_RespondCvarValue::release_value() { - // @@protoc_insertion_point(field_release:CCLCMsg_RespondCvarValue.value) - if (!_internal_has_value()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.value_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_.IsDefault()) { - _impl_.value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCLCMsg_RespondCvarValue::set_allocated_value(std::string* value) { - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.value_.SetAllocated(value, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_.IsDefault()) { - _impl_.value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCLCMsg_RespondCvarValue.value) -} - -// ------------------------------------------------------------------- - -// CCLCMsg_LoadingProgress - -// optional int32 progress = 1; -inline bool CCLCMsg_LoadingProgress::_internal_has_progress() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCLCMsg_LoadingProgress::has_progress() const { - return _internal_has_progress(); -} -inline void CCLCMsg_LoadingProgress::clear_progress() { - _impl_.progress_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCLCMsg_LoadingProgress::_internal_progress() const { - return _impl_.progress_; -} -inline int32_t CCLCMsg_LoadingProgress::progress() const { - // @@protoc_insertion_point(field_get:CCLCMsg_LoadingProgress.progress) - return _internal_progress(); -} -inline void CCLCMsg_LoadingProgress::_internal_set_progress(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.progress_ = value; -} -inline void CCLCMsg_LoadingProgress::set_progress(int32_t value) { - _internal_set_progress(value); - // @@protoc_insertion_point(field_set:CCLCMsg_LoadingProgress.progress) -} - -// ------------------------------------------------------------------- - -// CCLCMsg_SplitPlayerConnect - -// optional string playername = 1; -inline bool CCLCMsg_SplitPlayerConnect::_internal_has_playername() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCLCMsg_SplitPlayerConnect::has_playername() const { - return _internal_has_playername(); -} -inline void CCLCMsg_SplitPlayerConnect::clear_playername() { - _impl_.playername_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCLCMsg_SplitPlayerConnect::playername() const { - // @@protoc_insertion_point(field_get:CCLCMsg_SplitPlayerConnect.playername) - return _internal_playername(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCLCMsg_SplitPlayerConnect::set_playername(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.playername_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCLCMsg_SplitPlayerConnect.playername) -} -inline std::string* CCLCMsg_SplitPlayerConnect::mutable_playername() { - std::string* _s = _internal_mutable_playername(); - // @@protoc_insertion_point(field_mutable:CCLCMsg_SplitPlayerConnect.playername) - return _s; -} -inline const std::string& CCLCMsg_SplitPlayerConnect::_internal_playername() const { - return _impl_.playername_.Get(); -} -inline void CCLCMsg_SplitPlayerConnect::_internal_set_playername(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.playername_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCLCMsg_SplitPlayerConnect::_internal_mutable_playername() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.playername_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCLCMsg_SplitPlayerConnect::release_playername() { - // @@protoc_insertion_point(field_release:CCLCMsg_SplitPlayerConnect.playername) - if (!_internal_has_playername()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.playername_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.playername_.IsDefault()) { - _impl_.playername_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCLCMsg_SplitPlayerConnect::set_allocated_playername(std::string* playername) { - if (playername != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.playername_.SetAllocated(playername, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.playername_.IsDefault()) { - _impl_.playername_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCLCMsg_SplitPlayerConnect.playername) -} - -// ------------------------------------------------------------------- - -// CCLCMsg_SplitPlayerDisconnect - -// optional int32 slot = 1; -inline bool CCLCMsg_SplitPlayerDisconnect::_internal_has_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCLCMsg_SplitPlayerDisconnect::has_slot() const { - return _internal_has_slot(); -} -inline void CCLCMsg_SplitPlayerDisconnect::clear_slot() { - _impl_.slot_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCLCMsg_SplitPlayerDisconnect::_internal_slot() const { - return _impl_.slot_; -} -inline int32_t CCLCMsg_SplitPlayerDisconnect::slot() const { - // @@protoc_insertion_point(field_get:CCLCMsg_SplitPlayerDisconnect.slot) - return _internal_slot(); -} -inline void CCLCMsg_SplitPlayerDisconnect::_internal_set_slot(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.slot_ = value; -} -inline void CCLCMsg_SplitPlayerDisconnect::set_slot(int32_t value) { - _internal_set_slot(value); - // @@protoc_insertion_point(field_set:CCLCMsg_SplitPlayerDisconnect.slot) -} - -// ------------------------------------------------------------------- - -// CCLCMsg_ServerStatus - -// optional bool simplified = 1; -inline bool CCLCMsg_ServerStatus::_internal_has_simplified() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCLCMsg_ServerStatus::has_simplified() const { - return _internal_has_simplified(); -} -inline void CCLCMsg_ServerStatus::clear_simplified() { - _impl_.simplified_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CCLCMsg_ServerStatus::_internal_simplified() const { - return _impl_.simplified_; -} -inline bool CCLCMsg_ServerStatus::simplified() const { - // @@protoc_insertion_point(field_get:CCLCMsg_ServerStatus.simplified) - return _internal_simplified(); -} -inline void CCLCMsg_ServerStatus::_internal_set_simplified(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.simplified_ = value; -} -inline void CCLCMsg_ServerStatus::set_simplified(bool value) { - _internal_set_simplified(value); - // @@protoc_insertion_point(field_set:CCLCMsg_ServerStatus.simplified) -} - -// ------------------------------------------------------------------- - -// CCLCMsg_RequestPause - -// optional .RequestPause_t pause_type = 1 [default = RP_PAUSE]; -inline bool CCLCMsg_RequestPause::_internal_has_pause_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCLCMsg_RequestPause::has_pause_type() const { - return _internal_has_pause_type(); -} -inline void CCLCMsg_RequestPause::clear_pause_type() { - _impl_.pause_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::RequestPause_t CCLCMsg_RequestPause::_internal_pause_type() const { - return static_cast< ::RequestPause_t >(_impl_.pause_type_); -} -inline ::RequestPause_t CCLCMsg_RequestPause::pause_type() const { - // @@protoc_insertion_point(field_get:CCLCMsg_RequestPause.pause_type) - return _internal_pause_type(); -} -inline void CCLCMsg_RequestPause::_internal_set_pause_type(::RequestPause_t value) { - assert(::RequestPause_t_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.pause_type_ = value; -} -inline void CCLCMsg_RequestPause::set_pause_type(::RequestPause_t value) { - _internal_set_pause_type(value); - // @@protoc_insertion_point(field_set:CCLCMsg_RequestPause.pause_type) -} - -// optional int32 pause_group = 2; -inline bool CCLCMsg_RequestPause::_internal_has_pause_group() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCLCMsg_RequestPause::has_pause_group() const { - return _internal_has_pause_group(); -} -inline void CCLCMsg_RequestPause::clear_pause_group() { - _impl_.pause_group_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CCLCMsg_RequestPause::_internal_pause_group() const { - return _impl_.pause_group_; -} -inline int32_t CCLCMsg_RequestPause::pause_group() const { - // @@protoc_insertion_point(field_get:CCLCMsg_RequestPause.pause_group) - return _internal_pause_group(); -} -inline void CCLCMsg_RequestPause::_internal_set_pause_group(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.pause_group_ = value; -} -inline void CCLCMsg_RequestPause::set_pause_group(int32_t value) { - _internal_set_pause_group(value); - // @@protoc_insertion_point(field_set:CCLCMsg_RequestPause.pause_group) -} - -// ------------------------------------------------------------------- - -// CCLCMsg_CmdKeyValues - -// optional bytes data = 1; -inline bool CCLCMsg_CmdKeyValues::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCLCMsg_CmdKeyValues::has_data() const { - return _internal_has_data(); -} -inline void CCLCMsg_CmdKeyValues::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCLCMsg_CmdKeyValues::data() const { - // @@protoc_insertion_point(field_get:CCLCMsg_CmdKeyValues.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCLCMsg_CmdKeyValues::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCLCMsg_CmdKeyValues.data) -} -inline std::string* CCLCMsg_CmdKeyValues::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CCLCMsg_CmdKeyValues.data) - return _s; -} -inline const std::string& CCLCMsg_CmdKeyValues::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CCLCMsg_CmdKeyValues::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCLCMsg_CmdKeyValues::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCLCMsg_CmdKeyValues::release_data() { - // @@protoc_insertion_point(field_release:CCLCMsg_CmdKeyValues.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCLCMsg_CmdKeyValues::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCLCMsg_CmdKeyValues.data) -} - -// ------------------------------------------------------------------- - -// CCLCMsg_RconServerDetails - -// optional bytes token = 1; -inline bool CCLCMsg_RconServerDetails::_internal_has_token() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCLCMsg_RconServerDetails::has_token() const { - return _internal_has_token(); -} -inline void CCLCMsg_RconServerDetails::clear_token() { - _impl_.token_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCLCMsg_RconServerDetails::token() const { - // @@protoc_insertion_point(field_get:CCLCMsg_RconServerDetails.token) - return _internal_token(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCLCMsg_RconServerDetails::set_token(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.token_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCLCMsg_RconServerDetails.token) -} -inline std::string* CCLCMsg_RconServerDetails::mutable_token() { - std::string* _s = _internal_mutable_token(); - // @@protoc_insertion_point(field_mutable:CCLCMsg_RconServerDetails.token) - return _s; -} -inline const std::string& CCLCMsg_RconServerDetails::_internal_token() const { - return _impl_.token_.Get(); -} -inline void CCLCMsg_RconServerDetails::_internal_set_token(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.token_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCLCMsg_RconServerDetails::_internal_mutable_token() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.token_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCLCMsg_RconServerDetails::release_token() { - // @@protoc_insertion_point(field_release:CCLCMsg_RconServerDetails.token) - if (!_internal_has_token()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.token_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.token_.IsDefault()) { - _impl_.token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCLCMsg_RconServerDetails::set_allocated_token(std::string* token) { - if (token != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.token_.SetAllocated(token, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.token_.IsDefault()) { - _impl_.token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCLCMsg_RconServerDetails.token) -} - -// ------------------------------------------------------------------- - -// CMsgSource2SystemSpecs - -// optional string cpu_id = 1; -inline bool CMsgSource2SystemSpecs::_internal_has_cpu_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_cpu_id() const { - return _internal_has_cpu_id(); -} -inline void CMsgSource2SystemSpecs::clear_cpu_id() { - _impl_.cpu_id_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSource2SystemSpecs::cpu_id() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.cpu_id) - return _internal_cpu_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSource2SystemSpecs::set_cpu_id(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.cpu_id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.cpu_id) -} -inline std::string* CMsgSource2SystemSpecs::mutable_cpu_id() { - std::string* _s = _internal_mutable_cpu_id(); - // @@protoc_insertion_point(field_mutable:CMsgSource2SystemSpecs.cpu_id) - return _s; -} -inline const std::string& CMsgSource2SystemSpecs::_internal_cpu_id() const { - return _impl_.cpu_id_.Get(); -} -inline void CMsgSource2SystemSpecs::_internal_set_cpu_id(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.cpu_id_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSource2SystemSpecs::_internal_mutable_cpu_id() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.cpu_id_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSource2SystemSpecs::release_cpu_id() { - // @@protoc_insertion_point(field_release:CMsgSource2SystemSpecs.cpu_id) - if (!_internal_has_cpu_id()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.cpu_id_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cpu_id_.IsDefault()) { - _impl_.cpu_id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSource2SystemSpecs::set_allocated_cpu_id(std::string* cpu_id) { - if (cpu_id != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.cpu_id_.SetAllocated(cpu_id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cpu_id_.IsDefault()) { - _impl_.cpu_id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSource2SystemSpecs.cpu_id) -} - -// optional string cpu_brand = 2; -inline bool CMsgSource2SystemSpecs::_internal_has_cpu_brand() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_cpu_brand() const { - return _internal_has_cpu_brand(); -} -inline void CMsgSource2SystemSpecs::clear_cpu_brand() { - _impl_.cpu_brand_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSource2SystemSpecs::cpu_brand() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.cpu_brand) - return _internal_cpu_brand(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSource2SystemSpecs::set_cpu_brand(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.cpu_brand_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.cpu_brand) -} -inline std::string* CMsgSource2SystemSpecs::mutable_cpu_brand() { - std::string* _s = _internal_mutable_cpu_brand(); - // @@protoc_insertion_point(field_mutable:CMsgSource2SystemSpecs.cpu_brand) - return _s; -} -inline const std::string& CMsgSource2SystemSpecs::_internal_cpu_brand() const { - return _impl_.cpu_brand_.Get(); -} -inline void CMsgSource2SystemSpecs::_internal_set_cpu_brand(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.cpu_brand_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSource2SystemSpecs::_internal_mutable_cpu_brand() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.cpu_brand_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSource2SystemSpecs::release_cpu_brand() { - // @@protoc_insertion_point(field_release:CMsgSource2SystemSpecs.cpu_brand) - if (!_internal_has_cpu_brand()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.cpu_brand_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cpu_brand_.IsDefault()) { - _impl_.cpu_brand_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSource2SystemSpecs::set_allocated_cpu_brand(std::string* cpu_brand) { - if (cpu_brand != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.cpu_brand_.SetAllocated(cpu_brand, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cpu_brand_.IsDefault()) { - _impl_.cpu_brand_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSource2SystemSpecs.cpu_brand) -} - -// optional uint32 cpu_model = 3; -inline bool CMsgSource2SystemSpecs::_internal_has_cpu_model() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_cpu_model() const { - return _internal_has_cpu_model(); -} -inline void CMsgSource2SystemSpecs::clear_cpu_model() { - _impl_.cpu_model_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_cpu_model() const { - return _impl_.cpu_model_; -} -inline uint32_t CMsgSource2SystemSpecs::cpu_model() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.cpu_model) - return _internal_cpu_model(); -} -inline void CMsgSource2SystemSpecs::_internal_set_cpu_model(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.cpu_model_ = value; -} -inline void CMsgSource2SystemSpecs::set_cpu_model(uint32_t value) { - _internal_set_cpu_model(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.cpu_model) -} - -// optional uint32 cpu_num_physical = 4; -inline bool CMsgSource2SystemSpecs::_internal_has_cpu_num_physical() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_cpu_num_physical() const { - return _internal_has_cpu_num_physical(); -} -inline void CMsgSource2SystemSpecs::clear_cpu_num_physical() { - _impl_.cpu_num_physical_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_cpu_num_physical() const { - return _impl_.cpu_num_physical_; -} -inline uint32_t CMsgSource2SystemSpecs::cpu_num_physical() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.cpu_num_physical) - return _internal_cpu_num_physical(); -} -inline void CMsgSource2SystemSpecs::_internal_set_cpu_num_physical(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.cpu_num_physical_ = value; -} -inline void CMsgSource2SystemSpecs::set_cpu_num_physical(uint32_t value) { - _internal_set_cpu_num_physical(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.cpu_num_physical) -} - -// optional uint32 ram_physical_total_mb = 21; -inline bool CMsgSource2SystemSpecs::_internal_has_ram_physical_total_mb() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_ram_physical_total_mb() const { - return _internal_has_ram_physical_total_mb(); -} -inline void CMsgSource2SystemSpecs::clear_ram_physical_total_mb() { - _impl_.ram_physical_total_mb_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_ram_physical_total_mb() const { - return _impl_.ram_physical_total_mb_; -} -inline uint32_t CMsgSource2SystemSpecs::ram_physical_total_mb() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.ram_physical_total_mb) - return _internal_ram_physical_total_mb(); -} -inline void CMsgSource2SystemSpecs::_internal_set_ram_physical_total_mb(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.ram_physical_total_mb_ = value; -} -inline void CMsgSource2SystemSpecs::set_ram_physical_total_mb(uint32_t value) { - _internal_set_ram_physical_total_mb(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.ram_physical_total_mb) -} - -// optional string gpu_rendersystem_dll_name = 41; -inline bool CMsgSource2SystemSpecs::_internal_has_gpu_rendersystem_dll_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_gpu_rendersystem_dll_name() const { - return _internal_has_gpu_rendersystem_dll_name(); -} -inline void CMsgSource2SystemSpecs::clear_gpu_rendersystem_dll_name() { - _impl_.gpu_rendersystem_dll_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgSource2SystemSpecs::gpu_rendersystem_dll_name() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) - return _internal_gpu_rendersystem_dll_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSource2SystemSpecs::set_gpu_rendersystem_dll_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.gpu_rendersystem_dll_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) -} -inline std::string* CMsgSource2SystemSpecs::mutable_gpu_rendersystem_dll_name() { - std::string* _s = _internal_mutable_gpu_rendersystem_dll_name(); - // @@protoc_insertion_point(field_mutable:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) - return _s; -} -inline const std::string& CMsgSource2SystemSpecs::_internal_gpu_rendersystem_dll_name() const { - return _impl_.gpu_rendersystem_dll_name_.Get(); -} -inline void CMsgSource2SystemSpecs::_internal_set_gpu_rendersystem_dll_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.gpu_rendersystem_dll_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSource2SystemSpecs::_internal_mutable_gpu_rendersystem_dll_name() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.gpu_rendersystem_dll_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSource2SystemSpecs::release_gpu_rendersystem_dll_name() { - // @@protoc_insertion_point(field_release:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) - if (!_internal_has_gpu_rendersystem_dll_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.gpu_rendersystem_dll_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gpu_rendersystem_dll_name_.IsDefault()) { - _impl_.gpu_rendersystem_dll_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSource2SystemSpecs::set_allocated_gpu_rendersystem_dll_name(std::string* gpu_rendersystem_dll_name) { - if (gpu_rendersystem_dll_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.gpu_rendersystem_dll_name_.SetAllocated(gpu_rendersystem_dll_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gpu_rendersystem_dll_name_.IsDefault()) { - _impl_.gpu_rendersystem_dll_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSource2SystemSpecs.gpu_rendersystem_dll_name) -} - -// optional uint32 gpu_vendor_id = 42; -inline bool CMsgSource2SystemSpecs::_internal_has_gpu_vendor_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_gpu_vendor_id() const { - return _internal_has_gpu_vendor_id(); -} -inline void CMsgSource2SystemSpecs::clear_gpu_vendor_id() { - _impl_.gpu_vendor_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_vendor_id() const { - return _impl_.gpu_vendor_id_; -} -inline uint32_t CMsgSource2SystemSpecs::gpu_vendor_id() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_vendor_id) - return _internal_gpu_vendor_id(); -} -inline void CMsgSource2SystemSpecs::_internal_set_gpu_vendor_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.gpu_vendor_id_ = value; -} -inline void CMsgSource2SystemSpecs::set_gpu_vendor_id(uint32_t value) { - _internal_set_gpu_vendor_id(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_vendor_id) -} - -// optional string gpu_driver_name = 43; -inline bool CMsgSource2SystemSpecs::_internal_has_gpu_driver_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_gpu_driver_name() const { - return _internal_has_gpu_driver_name(); -} -inline void CMsgSource2SystemSpecs::clear_gpu_driver_name() { - _impl_.gpu_driver_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CMsgSource2SystemSpecs::gpu_driver_name() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_driver_name) - return _internal_gpu_driver_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSource2SystemSpecs::set_gpu_driver_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.gpu_driver_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_driver_name) -} -inline std::string* CMsgSource2SystemSpecs::mutable_gpu_driver_name() { - std::string* _s = _internal_mutable_gpu_driver_name(); - // @@protoc_insertion_point(field_mutable:CMsgSource2SystemSpecs.gpu_driver_name) - return _s; -} -inline const std::string& CMsgSource2SystemSpecs::_internal_gpu_driver_name() const { - return _impl_.gpu_driver_name_.Get(); -} -inline void CMsgSource2SystemSpecs::_internal_set_gpu_driver_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.gpu_driver_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSource2SystemSpecs::_internal_mutable_gpu_driver_name() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.gpu_driver_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSource2SystemSpecs::release_gpu_driver_name() { - // @@protoc_insertion_point(field_release:CMsgSource2SystemSpecs.gpu_driver_name) - if (!_internal_has_gpu_driver_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.gpu_driver_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gpu_driver_name_.IsDefault()) { - _impl_.gpu_driver_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSource2SystemSpecs::set_allocated_gpu_driver_name(std::string* gpu_driver_name) { - if (gpu_driver_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.gpu_driver_name_.SetAllocated(gpu_driver_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gpu_driver_name_.IsDefault()) { - _impl_.gpu_driver_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSource2SystemSpecs.gpu_driver_name) -} - -// optional uint32 gpu_driver_version_high = 44; -inline bool CMsgSource2SystemSpecs::_internal_has_gpu_driver_version_high() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_gpu_driver_version_high() const { - return _internal_has_gpu_driver_version_high(); -} -inline void CMsgSource2SystemSpecs::clear_gpu_driver_version_high() { - _impl_.gpu_driver_version_high_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_driver_version_high() const { - return _impl_.gpu_driver_version_high_; -} -inline uint32_t CMsgSource2SystemSpecs::gpu_driver_version_high() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_driver_version_high) - return _internal_gpu_driver_version_high(); -} -inline void CMsgSource2SystemSpecs::_internal_set_gpu_driver_version_high(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.gpu_driver_version_high_ = value; -} -inline void CMsgSource2SystemSpecs::set_gpu_driver_version_high(uint32_t value) { - _internal_set_gpu_driver_version_high(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_driver_version_high) -} - -// optional uint32 gpu_driver_version_low = 45; -inline bool CMsgSource2SystemSpecs::_internal_has_gpu_driver_version_low() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_gpu_driver_version_low() const { - return _internal_has_gpu_driver_version_low(); -} -inline void CMsgSource2SystemSpecs::clear_gpu_driver_version_low() { - _impl_.gpu_driver_version_low_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_driver_version_low() const { - return _impl_.gpu_driver_version_low_; -} -inline uint32_t CMsgSource2SystemSpecs::gpu_driver_version_low() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_driver_version_low) - return _internal_gpu_driver_version_low(); -} -inline void CMsgSource2SystemSpecs::_internal_set_gpu_driver_version_low(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.gpu_driver_version_low_ = value; -} -inline void CMsgSource2SystemSpecs::set_gpu_driver_version_low(uint32_t value) { - _internal_set_gpu_driver_version_low(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_driver_version_low) -} - -// optional uint32 gpu_dx_support_level = 46; -inline bool CMsgSource2SystemSpecs::_internal_has_gpu_dx_support_level() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_gpu_dx_support_level() const { - return _internal_has_gpu_dx_support_level(); -} -inline void CMsgSource2SystemSpecs::clear_gpu_dx_support_level() { - _impl_.gpu_dx_support_level_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_dx_support_level() const { - return _impl_.gpu_dx_support_level_; -} -inline uint32_t CMsgSource2SystemSpecs::gpu_dx_support_level() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_dx_support_level) - return _internal_gpu_dx_support_level(); -} -inline void CMsgSource2SystemSpecs::_internal_set_gpu_dx_support_level(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.gpu_dx_support_level_ = value; -} -inline void CMsgSource2SystemSpecs::set_gpu_dx_support_level(uint32_t value) { - _internal_set_gpu_dx_support_level(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_dx_support_level) -} - -// optional uint32 gpu_texture_memory_size_mb = 47; -inline bool CMsgSource2SystemSpecs::_internal_has_gpu_texture_memory_size_mb() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_gpu_texture_memory_size_mb() const { - return _internal_has_gpu_texture_memory_size_mb(); -} -inline void CMsgSource2SystemSpecs::clear_gpu_texture_memory_size_mb() { - _impl_.gpu_texture_memory_size_mb_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_gpu_texture_memory_size_mb() const { - return _impl_.gpu_texture_memory_size_mb_; -} -inline uint32_t CMsgSource2SystemSpecs::gpu_texture_memory_size_mb() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.gpu_texture_memory_size_mb) - return _internal_gpu_texture_memory_size_mb(); -} -inline void CMsgSource2SystemSpecs::_internal_set_gpu_texture_memory_size_mb(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.gpu_texture_memory_size_mb_ = value; -} -inline void CMsgSource2SystemSpecs::set_gpu_texture_memory_size_mb(uint32_t value) { - _internal_set_gpu_texture_memory_size_mb(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.gpu_texture_memory_size_mb) -} - -// optional uint32 backbuffer_width = 51; -inline bool CMsgSource2SystemSpecs::_internal_has_backbuffer_width() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_backbuffer_width() const { - return _internal_has_backbuffer_width(); -} -inline void CMsgSource2SystemSpecs::clear_backbuffer_width() { - _impl_.backbuffer_width_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_backbuffer_width() const { - return _impl_.backbuffer_width_; -} -inline uint32_t CMsgSource2SystemSpecs::backbuffer_width() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.backbuffer_width) - return _internal_backbuffer_width(); -} -inline void CMsgSource2SystemSpecs::_internal_set_backbuffer_width(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.backbuffer_width_ = value; -} -inline void CMsgSource2SystemSpecs::set_backbuffer_width(uint32_t value) { - _internal_set_backbuffer_width(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.backbuffer_width) -} - -// optional uint32 backbuffer_height = 52; -inline bool CMsgSource2SystemSpecs::_internal_has_backbuffer_height() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgSource2SystemSpecs::has_backbuffer_height() const { - return _internal_has_backbuffer_height(); -} -inline void CMsgSource2SystemSpecs::clear_backbuffer_height() { - _impl_.backbuffer_height_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CMsgSource2SystemSpecs::_internal_backbuffer_height() const { - return _impl_.backbuffer_height_; -} -inline uint32_t CMsgSource2SystemSpecs::backbuffer_height() const { - // @@protoc_insertion_point(field_get:CMsgSource2SystemSpecs.backbuffer_height) - return _internal_backbuffer_height(); -} -inline void CMsgSource2SystemSpecs::_internal_set_backbuffer_height(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.backbuffer_height_ = value; -} -inline void CMsgSource2SystemSpecs::set_backbuffer_height(uint32_t value) { - _internal_set_backbuffer_height(value); - // @@protoc_insertion_point(field_set:CMsgSource2SystemSpecs.backbuffer_height) -} - -// ------------------------------------------------------------------- - -// CMsgSource2VProfLiteReportItem - -// optional string name = 1; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_name() const { - return _internal_has_name(); -} -inline void CMsgSource2VProfLiteReportItem::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSource2VProfLiteReportItem::name() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSource2VProfLiteReportItem::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.name) -} -inline std::string* CMsgSource2VProfLiteReportItem::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CMsgSource2VProfLiteReportItem.name) - return _s; -} -inline const std::string& CMsgSource2VProfLiteReportItem::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSource2VProfLiteReportItem::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSource2VProfLiteReportItem::release_name() { - // @@protoc_insertion_point(field_release:CMsgSource2VProfLiteReportItem.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSource2VProfLiteReportItem::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSource2VProfLiteReportItem.name) -} - -// optional uint32 active_samples = 2; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_active_samples() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_active_samples() const { - return _internal_has_active_samples(); -} -inline void CMsgSource2VProfLiteReportItem::clear_active_samples() { - _impl_.active_samples_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_active_samples() const { - return _impl_.active_samples_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::active_samples() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.active_samples) - return _internal_active_samples(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_active_samples(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.active_samples_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_active_samples(uint32_t value) { - _internal_set_active_samples(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.active_samples) -} - -// optional uint32 active_samples_1secmax = 4; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_active_samples_1secmax() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_active_samples_1secmax() const { - return _internal_has_active_samples_1secmax(); -} -inline void CMsgSource2VProfLiteReportItem::clear_active_samples_1secmax() { - _impl_.active_samples_1secmax_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_active_samples_1secmax() const { - return _impl_.active_samples_1secmax_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::active_samples_1secmax() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.active_samples_1secmax) - return _internal_active_samples_1secmax(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_active_samples_1secmax(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.active_samples_1secmax_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_active_samples_1secmax(uint32_t value) { - _internal_set_active_samples_1secmax(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.active_samples_1secmax) -} - -// optional uint32 usec_max = 3; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_max() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_max() const { - return _internal_has_usec_max(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_max() { - _impl_.usec_max_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_max() const { - return _impl_.usec_max_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_max() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_max) - return _internal_usec_max(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_max(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.usec_max_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_max(uint32_t value) { - _internal_set_usec_max(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_max) -} - -// optional uint32 usec_avg_active = 11; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_avg_active() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_avg_active() const { - return _internal_has_usec_avg_active(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_avg_active() { - _impl_.usec_avg_active_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_avg_active() const { - return _impl_.usec_avg_active_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_avg_active() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_avg_active) - return _internal_usec_avg_active(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_avg_active(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.usec_avg_active_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_avg_active(uint32_t value) { - _internal_set_usec_avg_active(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_avg_active) -} - -// optional uint32 usec_p50_active = 12; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_p50_active() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_p50_active() const { - return _internal_has_usec_p50_active(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_p50_active() { - _impl_.usec_p50_active_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_p50_active() const { - return _impl_.usec_p50_active_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_p50_active() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_p50_active) - return _internal_usec_p50_active(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_p50_active(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.usec_p50_active_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_p50_active(uint32_t value) { - _internal_set_usec_p50_active(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_p50_active) -} - -// optional uint32 usec_p99_active = 13; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_p99_active() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_p99_active() const { - return _internal_has_usec_p99_active(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_p99_active() { - _impl_.usec_p99_active_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_p99_active() const { - return _impl_.usec_p99_active_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_p99_active() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_p99_active) - return _internal_usec_p99_active(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_p99_active(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.usec_p99_active_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_p99_active(uint32_t value) { - _internal_set_usec_p99_active(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_p99_active) -} - -// optional uint32 usec_avg_all = 21; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_avg_all() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_avg_all() const { - return _internal_has_usec_avg_all(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_avg_all() { - _impl_.usec_avg_all_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_avg_all() const { - return _impl_.usec_avg_all_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_avg_all() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_avg_all) - return _internal_usec_avg_all(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_avg_all(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.usec_avg_all_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_avg_all(uint32_t value) { - _internal_set_usec_avg_all(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_avg_all) -} - -// optional uint32 usec_p50_all = 22; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_p50_all() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_p50_all() const { - return _internal_has_usec_p50_all(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_p50_all() { - _impl_.usec_p50_all_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_p50_all() const { - return _impl_.usec_p50_all_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_p50_all() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_p50_all) - return _internal_usec_p50_all(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_p50_all(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.usec_p50_all_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_p50_all(uint32_t value) { - _internal_set_usec_p50_all(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_p50_all) -} - -// optional uint32 usec_p99_all = 23; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_p99_all() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_p99_all() const { - return _internal_has_usec_p99_all(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_p99_all() { - _impl_.usec_p99_all_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_p99_all() const { - return _impl_.usec_p99_all_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_p99_all() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_p99_all) - return _internal_usec_p99_all(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_p99_all(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.usec_p99_all_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_p99_all(uint32_t value) { - _internal_set_usec_p99_all(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_p99_all) -} - -// optional uint32 usec_1secmax_avg_active = 31; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_avg_active() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_avg_active() const { - return _internal_has_usec_1secmax_avg_active(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_avg_active() { - _impl_.usec_1secmax_avg_active_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_avg_active() const { - return _impl_.usec_1secmax_avg_active_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_avg_active() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_avg_active) - return _internal_usec_1secmax_avg_active(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_avg_active(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.usec_1secmax_avg_active_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_avg_active(uint32_t value) { - _internal_set_usec_1secmax_avg_active(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_avg_active) -} - -// optional uint32 usec_1secmax_p50_active = 32; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p50_active() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p50_active() const { - return _internal_has_usec_1secmax_p50_active(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p50_active() { - _impl_.usec_1secmax_p50_active_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p50_active() const { - return _impl_.usec_1secmax_p50_active_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p50_active() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p50_active) - return _internal_usec_1secmax_p50_active(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p50_active(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.usec_1secmax_p50_active_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p50_active(uint32_t value) { - _internal_set_usec_1secmax_p50_active(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p50_active) -} - -// optional uint32 usec_1secmax_p95_active = 33; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p95_active() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p95_active() const { - return _internal_has_usec_1secmax_p95_active(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p95_active() { - _impl_.usec_1secmax_p95_active_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p95_active() const { - return _impl_.usec_1secmax_p95_active_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p95_active() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p95_active) - return _internal_usec_1secmax_p95_active(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p95_active(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.usec_1secmax_p95_active_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p95_active(uint32_t value) { - _internal_set_usec_1secmax_p95_active(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p95_active) -} - -// optional uint32 usec_1secmax_p99_active = 34; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p99_active() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p99_active() const { - return _internal_has_usec_1secmax_p99_active(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p99_active() { - _impl_.usec_1secmax_p99_active_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p99_active() const { - return _impl_.usec_1secmax_p99_active_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p99_active() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p99_active) - return _internal_usec_1secmax_p99_active(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p99_active(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.usec_1secmax_p99_active_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p99_active(uint32_t value) { - _internal_set_usec_1secmax_p99_active(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p99_active) -} - -// optional uint32 usec_1secmax_avg_all = 41; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_avg_all() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_avg_all() const { - return _internal_has_usec_1secmax_avg_all(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_avg_all() { - _impl_.usec_1secmax_avg_all_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_avg_all() const { - return _impl_.usec_1secmax_avg_all_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_avg_all() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_avg_all) - return _internal_usec_1secmax_avg_all(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_avg_all(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.usec_1secmax_avg_all_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_avg_all(uint32_t value) { - _internal_set_usec_1secmax_avg_all(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_avg_all) -} - -// optional uint32 usec_1secmax_p50_all = 42; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p50_all() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p50_all() const { - return _internal_has_usec_1secmax_p50_all(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p50_all() { - _impl_.usec_1secmax_p50_all_ = 0u; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p50_all() const { - return _impl_.usec_1secmax_p50_all_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p50_all() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p50_all) - return _internal_usec_1secmax_p50_all(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p50_all(uint32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.usec_1secmax_p50_all_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p50_all(uint32_t value) { - _internal_set_usec_1secmax_p50_all(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p50_all) -} - -// optional uint32 usec_1secmax_p95_all = 43; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p95_all() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p95_all() const { - return _internal_has_usec_1secmax_p95_all(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p95_all() { - _impl_.usec_1secmax_p95_all_ = 0u; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p95_all() const { - return _impl_.usec_1secmax_p95_all_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p95_all() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p95_all) - return _internal_usec_1secmax_p95_all(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p95_all(uint32_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.usec_1secmax_p95_all_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p95_all(uint32_t value) { - _internal_set_usec_1secmax_p95_all(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p95_all) -} - -// optional uint32 usec_1secmax_p99_all = 44; -inline bool CMsgSource2VProfLiteReportItem::_internal_has_usec_1secmax_p99_all() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReportItem::has_usec_1secmax_p99_all() const { - return _internal_has_usec_1secmax_p99_all(); -} -inline void CMsgSource2VProfLiteReportItem::clear_usec_1secmax_p99_all() { - _impl_.usec_1secmax_p99_all_ = 0u; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline uint32_t CMsgSource2VProfLiteReportItem::_internal_usec_1secmax_p99_all() const { - return _impl_.usec_1secmax_p99_all_; -} -inline uint32_t CMsgSource2VProfLiteReportItem::usec_1secmax_p99_all() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReportItem.usec_1secmax_p99_all) - return _internal_usec_1secmax_p99_all(); -} -inline void CMsgSource2VProfLiteReportItem::_internal_set_usec_1secmax_p99_all(uint32_t value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.usec_1secmax_p99_all_ = value; -} -inline void CMsgSource2VProfLiteReportItem::set_usec_1secmax_p99_all(uint32_t value) { - _internal_set_usec_1secmax_p99_all(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReportItem.usec_1secmax_p99_all) -} - -// ------------------------------------------------------------------- - -// CMsgSource2VProfLiteReport - -// optional .CMsgSource2VProfLiteReportItem total = 1; -inline bool CMsgSource2VProfLiteReport::_internal_has_total() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.total_ != nullptr); - return value; -} -inline bool CMsgSource2VProfLiteReport::has_total() const { - return _internal_has_total(); -} -inline void CMsgSource2VProfLiteReport::clear_total() { - if (_impl_.total_ != nullptr) _impl_.total_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgSource2VProfLiteReportItem& CMsgSource2VProfLiteReport::_internal_total() const { - const ::CMsgSource2VProfLiteReportItem* p = _impl_.total_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSource2VProfLiteReportItem_default_instance_); -} -inline const ::CMsgSource2VProfLiteReportItem& CMsgSource2VProfLiteReport::total() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReport.total) - return _internal_total(); -} -inline void CMsgSource2VProfLiteReport::unsafe_arena_set_allocated_total( - ::CMsgSource2VProfLiteReportItem* total) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.total_); - } - _impl_.total_ = total; - if (total) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSource2VProfLiteReport.total) -} -inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::release_total() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSource2VProfLiteReportItem* temp = _impl_.total_; - _impl_.total_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::unsafe_arena_release_total() { - // @@protoc_insertion_point(field_release:CMsgSource2VProfLiteReport.total) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSource2VProfLiteReportItem* temp = _impl_.total_; - _impl_.total_ = nullptr; - return temp; -} -inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::_internal_mutable_total() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.total_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSource2VProfLiteReportItem>(GetArenaForAllocation()); - _impl_.total_ = p; - } - return _impl_.total_; -} -inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::mutable_total() { - ::CMsgSource2VProfLiteReportItem* _msg = _internal_mutable_total(); - // @@protoc_insertion_point(field_mutable:CMsgSource2VProfLiteReport.total) - return _msg; -} -inline void CMsgSource2VProfLiteReport::set_allocated_total(::CMsgSource2VProfLiteReportItem* total) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.total_; - } - if (total) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(total); - if (message_arena != submessage_arena) { - total = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, total, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.total_ = total; - // @@protoc_insertion_point(field_set_allocated:CMsgSource2VProfLiteReport.total) -} - -// repeated .CMsgSource2VProfLiteReportItem items = 2; -inline int CMsgSource2VProfLiteReport::_internal_items_size() const { - return _impl_.items_.size(); -} -inline int CMsgSource2VProfLiteReport::items_size() const { - return _internal_items_size(); -} -inline void CMsgSource2VProfLiteReport::clear_items() { - _impl_.items_.Clear(); -} -inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::mutable_items(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSource2VProfLiteReport.items) - return _impl_.items_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem >* -CMsgSource2VProfLiteReport::mutable_items() { - // @@protoc_insertion_point(field_mutable_list:CMsgSource2VProfLiteReport.items) - return &_impl_.items_; -} -inline const ::CMsgSource2VProfLiteReportItem& CMsgSource2VProfLiteReport::_internal_items(int index) const { - return _impl_.items_.Get(index); -} -inline const ::CMsgSource2VProfLiteReportItem& CMsgSource2VProfLiteReport::items(int index) const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReport.items) - return _internal_items(index); -} -inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::_internal_add_items() { - return _impl_.items_.Add(); -} -inline ::CMsgSource2VProfLiteReportItem* CMsgSource2VProfLiteReport::add_items() { - ::CMsgSource2VProfLiteReportItem* _add = _internal_add_items(); - // @@protoc_insertion_point(field_add:CMsgSource2VProfLiteReport.items) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2VProfLiteReportItem >& -CMsgSource2VProfLiteReport::items() const { - // @@protoc_insertion_point(field_list:CMsgSource2VProfLiteReport.items) - return _impl_.items_; -} - -// optional uint32 discarded_frames = 3; -inline bool CMsgSource2VProfLiteReport::_internal_has_discarded_frames() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSource2VProfLiteReport::has_discarded_frames() const { - return _internal_has_discarded_frames(); -} -inline void CMsgSource2VProfLiteReport::clear_discarded_frames() { - _impl_.discarded_frames_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSource2VProfLiteReport::_internal_discarded_frames() const { - return _impl_.discarded_frames_; -} -inline uint32_t CMsgSource2VProfLiteReport::discarded_frames() const { - // @@protoc_insertion_point(field_get:CMsgSource2VProfLiteReport.discarded_frames) - return _internal_discarded_frames(); -} -inline void CMsgSource2VProfLiteReport::_internal_set_discarded_frames(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.discarded_frames_ = value; -} -inline void CMsgSource2VProfLiteReport::set_discarded_frames(uint32_t value) { - _internal_set_discarded_frames(value); - // @@protoc_insertion_point(field_set:CMsgSource2VProfLiteReport.discarded_frames) -} - -// ------------------------------------------------------------------- - -// CMsgSource2NetworkFlowQuality - -// optional uint32 duration = 1; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_duration() const { - return _internal_has_duration(); -} -inline void CMsgSource2NetworkFlowQuality::clear_duration() { - _impl_.duration_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_duration() const { - return _impl_.duration_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::duration() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.duration) - return _internal_duration(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_duration(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.duration_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_duration(uint32_t value) { - _internal_set_duration(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.duration) -} - -// optional uint64 bytes_total = 5; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_total() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_bytes_total() const { - return _internal_has_bytes_total(); -} -inline void CMsgSource2NetworkFlowQuality::clear_bytes_total() { - _impl_.bytes_total_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgSource2NetworkFlowQuality::_internal_bytes_total() const { - return _impl_.bytes_total_; -} -inline uint64_t CMsgSource2NetworkFlowQuality::bytes_total() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_total) - return _internal_bytes_total(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_total(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.bytes_total_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_bytes_total(uint64_t value) { - _internal_set_bytes_total(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_total) -} - -// optional uint64 bytes_total_reliable = 6; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_total_reliable() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_bytes_total_reliable() const { - return _internal_has_bytes_total_reliable(); -} -inline void CMsgSource2NetworkFlowQuality::clear_bytes_total_reliable() { - _impl_.bytes_total_reliable_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CMsgSource2NetworkFlowQuality::_internal_bytes_total_reliable() const { - return _impl_.bytes_total_reliable_; -} -inline uint64_t CMsgSource2NetworkFlowQuality::bytes_total_reliable() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_total_reliable) - return _internal_bytes_total_reliable(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_total_reliable(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.bytes_total_reliable_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_bytes_total_reliable(uint64_t value) { - _internal_set_bytes_total_reliable(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_total_reliable) -} - -// optional uint64 bytes_total_voice = 7; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_total_voice() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_bytes_total_voice() const { - return _internal_has_bytes_total_voice(); -} -inline void CMsgSource2NetworkFlowQuality::clear_bytes_total_voice() { - _impl_.bytes_total_voice_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CMsgSource2NetworkFlowQuality::_internal_bytes_total_voice() const { - return _impl_.bytes_total_voice_; -} -inline uint64_t CMsgSource2NetworkFlowQuality::bytes_total_voice() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_total_voice) - return _internal_bytes_total_voice(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_total_voice(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.bytes_total_voice_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_bytes_total_voice(uint64_t value) { - _internal_set_bytes_total_voice(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_total_voice) -} - -// optional uint32 bytes_sec_p95 = 10; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_sec_p95() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_bytes_sec_p95() const { - return _internal_has_bytes_sec_p95(); -} -inline void CMsgSource2NetworkFlowQuality::clear_bytes_sec_p95() { - _impl_.bytes_sec_p95_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_bytes_sec_p95() const { - return _impl_.bytes_sec_p95_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::bytes_sec_p95() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_sec_p95) - return _internal_bytes_sec_p95(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_sec_p95(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.bytes_sec_p95_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_bytes_sec_p95(uint32_t value) { - _internal_set_bytes_sec_p95(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_sec_p95) -} - -// optional uint32 bytes_sec_p99 = 11; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_bytes_sec_p99() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_bytes_sec_p99() const { - return _internal_has_bytes_sec_p99(); -} -inline void CMsgSource2NetworkFlowQuality::clear_bytes_sec_p99() { - _impl_.bytes_sec_p99_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_bytes_sec_p99() const { - return _impl_.bytes_sec_p99_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::bytes_sec_p99() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.bytes_sec_p99) - return _internal_bytes_sec_p99(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_bytes_sec_p99(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.bytes_sec_p99_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_bytes_sec_p99(uint32_t value) { - _internal_set_bytes_sec_p99(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.bytes_sec_p99) -} - -// optional uint32 enginemsgs_total = 20; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_enginemsgs_total() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_enginemsgs_total() const { - return _internal_has_enginemsgs_total(); -} -inline void CMsgSource2NetworkFlowQuality::clear_enginemsgs_total() { - _impl_.enginemsgs_total_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_enginemsgs_total() const { - return _impl_.enginemsgs_total_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::enginemsgs_total() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.enginemsgs_total) - return _internal_enginemsgs_total(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_enginemsgs_total(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.enginemsgs_total_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_enginemsgs_total(uint32_t value) { - _internal_set_enginemsgs_total(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.enginemsgs_total) -} - -// optional uint32 enginemsgs_sec_p95 = 21; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_enginemsgs_sec_p95() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_enginemsgs_sec_p95() const { - return _internal_has_enginemsgs_sec_p95(); -} -inline void CMsgSource2NetworkFlowQuality::clear_enginemsgs_sec_p95() { - _impl_.enginemsgs_sec_p95_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_enginemsgs_sec_p95() const { - return _impl_.enginemsgs_sec_p95_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::enginemsgs_sec_p95() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.enginemsgs_sec_p95) - return _internal_enginemsgs_sec_p95(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_enginemsgs_sec_p95(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.enginemsgs_sec_p95_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_enginemsgs_sec_p95(uint32_t value) { - _internal_set_enginemsgs_sec_p95(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.enginemsgs_sec_p95) -} - -// optional uint32 enginemsgs_sec_p99 = 22; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_enginemsgs_sec_p99() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_enginemsgs_sec_p99() const { - return _internal_has_enginemsgs_sec_p99(); -} -inline void CMsgSource2NetworkFlowQuality::clear_enginemsgs_sec_p99() { - _impl_.enginemsgs_sec_p99_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_enginemsgs_sec_p99() const { - return _impl_.enginemsgs_sec_p99_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::enginemsgs_sec_p99() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.enginemsgs_sec_p99) - return _internal_enginemsgs_sec_p99(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_enginemsgs_sec_p99(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.enginemsgs_sec_p99_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_enginemsgs_sec_p99(uint32_t value) { - _internal_set_enginemsgs_sec_p99(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.enginemsgs_sec_p99) -} - -// optional uint32 ticks_total = 40; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_total() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_ticks_total() const { - return _internal_has_ticks_total(); -} -inline void CMsgSource2NetworkFlowQuality::clear_ticks_total() { - _impl_.ticks_total_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_total() const { - return _impl_.ticks_total_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::ticks_total() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_total) - return _internal_ticks_total(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_total(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.ticks_total_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_ticks_total(uint32_t value) { - _internal_set_ticks_total(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_total) -} - -// optional uint32 ticks_good = 41; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_good() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_ticks_good() const { - return _internal_has_ticks_good(); -} -inline void CMsgSource2NetworkFlowQuality::clear_ticks_good() { - _impl_.ticks_good_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_good() const { - return _impl_.ticks_good_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::ticks_good() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_good) - return _internal_ticks_good(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_good(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.ticks_good_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_ticks_good(uint32_t value) { - _internal_set_ticks_good(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_good) -} - -// optional uint32 ticks_good_almost_late = 42; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_good_almost_late() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_ticks_good_almost_late() const { - return _internal_has_ticks_good_almost_late(); -} -inline void CMsgSource2NetworkFlowQuality::clear_ticks_good_almost_late() { - _impl_.ticks_good_almost_late_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_good_almost_late() const { - return _impl_.ticks_good_almost_late_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::ticks_good_almost_late() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_good_almost_late) - return _internal_ticks_good_almost_late(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_good_almost_late(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.ticks_good_almost_late_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_ticks_good_almost_late(uint32_t value) { - _internal_set_ticks_good_almost_late(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_good_almost_late) -} - -// optional uint32 ticks_fixed_dropped = 43; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_fixed_dropped() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_ticks_fixed_dropped() const { - return _internal_has_ticks_fixed_dropped(); -} -inline void CMsgSource2NetworkFlowQuality::clear_ticks_fixed_dropped() { - _impl_.ticks_fixed_dropped_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_fixed_dropped() const { - return _impl_.ticks_fixed_dropped_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::ticks_fixed_dropped() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_fixed_dropped) - return _internal_ticks_fixed_dropped(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_fixed_dropped(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.ticks_fixed_dropped_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_ticks_fixed_dropped(uint32_t value) { - _internal_set_ticks_fixed_dropped(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_fixed_dropped) -} - -// optional uint32 ticks_fixed_late = 44; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_fixed_late() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_ticks_fixed_late() const { - return _internal_has_ticks_fixed_late(); -} -inline void CMsgSource2NetworkFlowQuality::clear_ticks_fixed_late() { - _impl_.ticks_fixed_late_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_fixed_late() const { - return _impl_.ticks_fixed_late_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::ticks_fixed_late() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_fixed_late) - return _internal_ticks_fixed_late(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_fixed_late(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.ticks_fixed_late_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_ticks_fixed_late(uint32_t value) { - _internal_set_ticks_fixed_late(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_fixed_late) -} - -// optional uint32 ticks_bad_dropped = 45; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_bad_dropped() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_ticks_bad_dropped() const { - return _internal_has_ticks_bad_dropped(); -} -inline void CMsgSource2NetworkFlowQuality::clear_ticks_bad_dropped() { - _impl_.ticks_bad_dropped_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_bad_dropped() const { - return _impl_.ticks_bad_dropped_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::ticks_bad_dropped() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_bad_dropped) - return _internal_ticks_bad_dropped(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_bad_dropped(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.ticks_bad_dropped_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_ticks_bad_dropped(uint32_t value) { - _internal_set_ticks_bad_dropped(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_bad_dropped) -} - -// optional uint32 ticks_bad_late = 46; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_bad_late() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_ticks_bad_late() const { - return _internal_has_ticks_bad_late(); -} -inline void CMsgSource2NetworkFlowQuality::clear_ticks_bad_late() { - _impl_.ticks_bad_late_ = 0u; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_bad_late() const { - return _impl_.ticks_bad_late_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::ticks_bad_late() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_bad_late) - return _internal_ticks_bad_late(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_bad_late(uint32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.ticks_bad_late_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_ticks_bad_late(uint32_t value) { - _internal_set_ticks_bad_late(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_bad_late) -} - -// optional uint32 ticks_bad_other = 47; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_ticks_bad_other() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_ticks_bad_other() const { - return _internal_has_ticks_bad_other(); -} -inline void CMsgSource2NetworkFlowQuality::clear_ticks_bad_other() { - _impl_.ticks_bad_other_ = 0u; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_ticks_bad_other() const { - return _impl_.ticks_bad_other_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::ticks_bad_other() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.ticks_bad_other) - return _internal_ticks_bad_other(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_ticks_bad_other(uint32_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.ticks_bad_other_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_ticks_bad_other(uint32_t value) { - _internal_set_ticks_bad_other(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.ticks_bad_other) -} - -// optional uint32 tick_missrate_samples_total = 50; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missrate_samples_total() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_tick_missrate_samples_total() const { - return _internal_has_tick_missrate_samples_total(); -} -inline void CMsgSource2NetworkFlowQuality::clear_tick_missrate_samples_total() { - _impl_.tick_missrate_samples_total_ = 0u; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missrate_samples_total() const { - return _impl_.tick_missrate_samples_total_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::tick_missrate_samples_total() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missrate_samples_total) - return _internal_tick_missrate_samples_total(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missrate_samples_total(uint32_t value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.tick_missrate_samples_total_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_tick_missrate_samples_total(uint32_t value) { - _internal_set_tick_missrate_samples_total(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missrate_samples_total) -} - -// optional uint32 tick_missrate_samples_perfect = 51; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missrate_samples_perfect() const { - bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_tick_missrate_samples_perfect() const { - return _internal_has_tick_missrate_samples_perfect(); -} -inline void CMsgSource2NetworkFlowQuality::clear_tick_missrate_samples_perfect() { - _impl_.tick_missrate_samples_perfect_ = 0u; - _impl_._has_bits_[0] &= ~0x00040000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missrate_samples_perfect() const { - return _impl_.tick_missrate_samples_perfect_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::tick_missrate_samples_perfect() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missrate_samples_perfect) - return _internal_tick_missrate_samples_perfect(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missrate_samples_perfect(uint32_t value) { - _impl_._has_bits_[0] |= 0x00040000u; - _impl_.tick_missrate_samples_perfect_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_tick_missrate_samples_perfect(uint32_t value) { - _internal_set_tick_missrate_samples_perfect(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missrate_samples_perfect) -} - -// optional uint32 tick_missrate_samples_perfectnet = 52; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missrate_samples_perfectnet() const { - bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_tick_missrate_samples_perfectnet() const { - return _internal_has_tick_missrate_samples_perfectnet(); -} -inline void CMsgSource2NetworkFlowQuality::clear_tick_missrate_samples_perfectnet() { - _impl_.tick_missrate_samples_perfectnet_ = 0u; - _impl_._has_bits_[0] &= ~0x00080000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missrate_samples_perfectnet() const { - return _impl_.tick_missrate_samples_perfectnet_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::tick_missrate_samples_perfectnet() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missrate_samples_perfectnet) - return _internal_tick_missrate_samples_perfectnet(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missrate_samples_perfectnet(uint32_t value) { - _impl_._has_bits_[0] |= 0x00080000u; - _impl_.tick_missrate_samples_perfectnet_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_tick_missrate_samples_perfectnet(uint32_t value) { - _internal_set_tick_missrate_samples_perfectnet(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missrate_samples_perfectnet) -} - -// optional uint32 tick_missratenet_p75_x10 = 53; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missratenet_p75_x10() const { - bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_tick_missratenet_p75_x10() const { - return _internal_has_tick_missratenet_p75_x10(); -} -inline void CMsgSource2NetworkFlowQuality::clear_tick_missratenet_p75_x10() { - _impl_.tick_missratenet_p75_x10_ = 0u; - _impl_._has_bits_[0] &= ~0x00100000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missratenet_p75_x10() const { - return _impl_.tick_missratenet_p75_x10_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::tick_missratenet_p75_x10() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missratenet_p75_x10) - return _internal_tick_missratenet_p75_x10(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missratenet_p75_x10(uint32_t value) { - _impl_._has_bits_[0] |= 0x00100000u; - _impl_.tick_missratenet_p75_x10_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_tick_missratenet_p75_x10(uint32_t value) { - _internal_set_tick_missratenet_p75_x10(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missratenet_p75_x10) -} - -// optional uint32 tick_missratenet_p95_x10 = 54; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missratenet_p95_x10() const { - bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_tick_missratenet_p95_x10() const { - return _internal_has_tick_missratenet_p95_x10(); -} -inline void CMsgSource2NetworkFlowQuality::clear_tick_missratenet_p95_x10() { - _impl_.tick_missratenet_p95_x10_ = 0u; - _impl_._has_bits_[0] &= ~0x00200000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missratenet_p95_x10() const { - return _impl_.tick_missratenet_p95_x10_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::tick_missratenet_p95_x10() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missratenet_p95_x10) - return _internal_tick_missratenet_p95_x10(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missratenet_p95_x10(uint32_t value) { - _impl_._has_bits_[0] |= 0x00200000u; - _impl_.tick_missratenet_p95_x10_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_tick_missratenet_p95_x10(uint32_t value) { - _internal_set_tick_missratenet_p95_x10(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missratenet_p95_x10) -} - -// optional uint32 tick_missratenet_p99_x10 = 55; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_tick_missratenet_p99_x10() const { - bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_tick_missratenet_p99_x10() const { - return _internal_has_tick_missratenet_p99_x10(); -} -inline void CMsgSource2NetworkFlowQuality::clear_tick_missratenet_p99_x10() { - _impl_.tick_missratenet_p99_x10_ = 0u; - _impl_._has_bits_[0] &= ~0x00400000u; -} -inline uint32_t CMsgSource2NetworkFlowQuality::_internal_tick_missratenet_p99_x10() const { - return _impl_.tick_missratenet_p99_x10_; -} -inline uint32_t CMsgSource2NetworkFlowQuality::tick_missratenet_p99_x10() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.tick_missratenet_p99_x10) - return _internal_tick_missratenet_p99_x10(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_tick_missratenet_p99_x10(uint32_t value) { - _impl_._has_bits_[0] |= 0x00400000u; - _impl_.tick_missratenet_p99_x10_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_tick_missratenet_p99_x10(uint32_t value) { - _internal_set_tick_missratenet_p99_x10(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.tick_missratenet_p99_x10) -} - -// optional sint32 recvmargin_p1 = 61; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p1() const { - bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p1() const { - return _internal_has_recvmargin_p1(); -} -inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p1() { - _impl_.recvmargin_p1_ = 0; - _impl_._has_bits_[0] &= ~0x00800000u; -} -inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p1() const { - return _impl_.recvmargin_p1_; -} -inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p1() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p1) - return _internal_recvmargin_p1(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p1(int32_t value) { - _impl_._has_bits_[0] |= 0x00800000u; - _impl_.recvmargin_p1_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p1(int32_t value) { - _internal_set_recvmargin_p1(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p1) -} - -// optional sint32 recvmargin_p5 = 62; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p5() const { - bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p5() const { - return _internal_has_recvmargin_p5(); -} -inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p5() { - _impl_.recvmargin_p5_ = 0; - _impl_._has_bits_[0] &= ~0x01000000u; -} -inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p5() const { - return _impl_.recvmargin_p5_; -} -inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p5() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p5) - return _internal_recvmargin_p5(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p5(int32_t value) { - _impl_._has_bits_[0] |= 0x01000000u; - _impl_.recvmargin_p5_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p5(int32_t value) { - _internal_set_recvmargin_p5(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p5) -} - -// optional sint32 recvmargin_p25 = 63; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p25() const { - bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p25() const { - return _internal_has_recvmargin_p25(); -} -inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p25() { - _impl_.recvmargin_p25_ = 0; - _impl_._has_bits_[0] &= ~0x02000000u; -} -inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p25() const { - return _impl_.recvmargin_p25_; -} -inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p25() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p25) - return _internal_recvmargin_p25(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p25(int32_t value) { - _impl_._has_bits_[0] |= 0x02000000u; - _impl_.recvmargin_p25_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p25(int32_t value) { - _internal_set_recvmargin_p25(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p25) -} - -// optional sint32 recvmargin_p50 = 64; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p50() const { - bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p50() const { - return _internal_has_recvmargin_p50(); -} -inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p50() { - _impl_.recvmargin_p50_ = 0; - _impl_._has_bits_[0] &= ~0x04000000u; -} -inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p50() const { - return _impl_.recvmargin_p50_; -} -inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p50() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p50) - return _internal_recvmargin_p50(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p50(int32_t value) { - _impl_._has_bits_[0] |= 0x04000000u; - _impl_.recvmargin_p50_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p50(int32_t value) { - _internal_set_recvmargin_p50(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p50) -} - -// optional sint32 recvmargin_p75 = 65; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p75() const { - bool value = (_impl_._has_bits_[0] & 0x08000000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p75() const { - return _internal_has_recvmargin_p75(); -} -inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p75() { - _impl_.recvmargin_p75_ = 0; - _impl_._has_bits_[0] &= ~0x08000000u; -} -inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p75() const { - return _impl_.recvmargin_p75_; -} -inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p75() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p75) - return _internal_recvmargin_p75(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p75(int32_t value) { - _impl_._has_bits_[0] |= 0x08000000u; - _impl_.recvmargin_p75_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p75(int32_t value) { - _internal_set_recvmargin_p75(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p75) -} - -// optional sint32 recvmargin_p95 = 66; -inline bool CMsgSource2NetworkFlowQuality::_internal_has_recvmargin_p95() const { - bool value = (_impl_._has_bits_[0] & 0x10000000u) != 0; - return value; -} -inline bool CMsgSource2NetworkFlowQuality::has_recvmargin_p95() const { - return _internal_has_recvmargin_p95(); -} -inline void CMsgSource2NetworkFlowQuality::clear_recvmargin_p95() { - _impl_.recvmargin_p95_ = 0; - _impl_._has_bits_[0] &= ~0x10000000u; -} -inline int32_t CMsgSource2NetworkFlowQuality::_internal_recvmargin_p95() const { - return _impl_.recvmargin_p95_; -} -inline int32_t CMsgSource2NetworkFlowQuality::recvmargin_p95() const { - // @@protoc_insertion_point(field_get:CMsgSource2NetworkFlowQuality.recvmargin_p95) - return _internal_recvmargin_p95(); -} -inline void CMsgSource2NetworkFlowQuality::_internal_set_recvmargin_p95(int32_t value) { - _impl_._has_bits_[0] |= 0x10000000u; - _impl_.recvmargin_p95_ = value; -} -inline void CMsgSource2NetworkFlowQuality::set_recvmargin_p95(int32_t value) { - _internal_set_recvmargin_p95(value); - // @@protoc_insertion_point(field_set:CMsgSource2NetworkFlowQuality.recvmargin_p95) -} - -// ------------------------------------------------------------------- - -// CMsgSource2PerfIntervalSample_Tag - -// optional string tag = 1; -inline bool CMsgSource2PerfIntervalSample_Tag::_internal_has_tag() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSource2PerfIntervalSample_Tag::has_tag() const { - return _internal_has_tag(); -} -inline void CMsgSource2PerfIntervalSample_Tag::clear_tag() { - _impl_.tag_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSource2PerfIntervalSample_Tag::tag() const { - // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.Tag.tag) - return _internal_tag(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSource2PerfIntervalSample_Tag::set_tag(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.tag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.Tag.tag) -} -inline std::string* CMsgSource2PerfIntervalSample_Tag::mutable_tag() { - std::string* _s = _internal_mutable_tag(); - // @@protoc_insertion_point(field_mutable:CMsgSource2PerfIntervalSample.Tag.tag) - return _s; -} -inline const std::string& CMsgSource2PerfIntervalSample_Tag::_internal_tag() const { - return _impl_.tag_.Get(); -} -inline void CMsgSource2PerfIntervalSample_Tag::_internal_set_tag(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.tag_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSource2PerfIntervalSample_Tag::_internal_mutable_tag() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.tag_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSource2PerfIntervalSample_Tag::release_tag() { - // @@protoc_insertion_point(field_release:CMsgSource2PerfIntervalSample.Tag.tag) - if (!_internal_has_tag()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.tag_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.tag_.IsDefault()) { - _impl_.tag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSource2PerfIntervalSample_Tag::set_allocated_tag(std::string* tag) { - if (tag != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.tag_.SetAllocated(tag, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.tag_.IsDefault()) { - _impl_.tag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSource2PerfIntervalSample.Tag.tag) -} - -// optional uint32 max_value = 2; -inline bool CMsgSource2PerfIntervalSample_Tag::_internal_has_max_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSource2PerfIntervalSample_Tag::has_max_value() const { - return _internal_has_max_value(); -} -inline void CMsgSource2PerfIntervalSample_Tag::clear_max_value() { - _impl_.max_value_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSource2PerfIntervalSample_Tag::_internal_max_value() const { - return _impl_.max_value_; -} -inline uint32_t CMsgSource2PerfIntervalSample_Tag::max_value() const { - // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.Tag.max_value) - return _internal_max_value(); -} -inline void CMsgSource2PerfIntervalSample_Tag::_internal_set_max_value(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.max_value_ = value; -} -inline void CMsgSource2PerfIntervalSample_Tag::set_max_value(uint32_t value) { - _internal_set_max_value(value); - // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.Tag.max_value) -} - -// ------------------------------------------------------------------- - -// CMsgSource2PerfIntervalSample - -// optional float frame_time_max_ms = 1; -inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_time_max_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSource2PerfIntervalSample::has_frame_time_max_ms() const { - return _internal_has_frame_time_max_ms(); -} -inline void CMsgSource2PerfIntervalSample::clear_frame_time_max_ms() { - _impl_.frame_time_max_ms_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CMsgSource2PerfIntervalSample::_internal_frame_time_max_ms() const { - return _impl_.frame_time_max_ms_; -} -inline float CMsgSource2PerfIntervalSample::frame_time_max_ms() const { - // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_time_max_ms) - return _internal_frame_time_max_ms(); -} -inline void CMsgSource2PerfIntervalSample::_internal_set_frame_time_max_ms(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.frame_time_max_ms_ = value; -} -inline void CMsgSource2PerfIntervalSample::set_frame_time_max_ms(float value) { - _internal_set_frame_time_max_ms(value); - // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_time_max_ms) -} - -// optional float frame_time_avg_ms = 2; -inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_time_avg_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSource2PerfIntervalSample::has_frame_time_avg_ms() const { - return _internal_has_frame_time_avg_ms(); -} -inline void CMsgSource2PerfIntervalSample::clear_frame_time_avg_ms() { - _impl_.frame_time_avg_ms_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CMsgSource2PerfIntervalSample::_internal_frame_time_avg_ms() const { - return _impl_.frame_time_avg_ms_; -} -inline float CMsgSource2PerfIntervalSample::frame_time_avg_ms() const { - // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_time_avg_ms) - return _internal_frame_time_avg_ms(); -} -inline void CMsgSource2PerfIntervalSample::_internal_set_frame_time_avg_ms(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.frame_time_avg_ms_ = value; -} -inline void CMsgSource2PerfIntervalSample::set_frame_time_avg_ms(float value) { - _internal_set_frame_time_avg_ms(value); - // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_time_avg_ms) -} - -// optional float frame_time_min_ms = 3; -inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_time_min_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSource2PerfIntervalSample::has_frame_time_min_ms() const { - return _internal_has_frame_time_min_ms(); -} -inline void CMsgSource2PerfIntervalSample::clear_frame_time_min_ms() { - _impl_.frame_time_min_ms_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CMsgSource2PerfIntervalSample::_internal_frame_time_min_ms() const { - return _impl_.frame_time_min_ms_; -} -inline float CMsgSource2PerfIntervalSample::frame_time_min_ms() const { - // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_time_min_ms) - return _internal_frame_time_min_ms(); -} -inline void CMsgSource2PerfIntervalSample::_internal_set_frame_time_min_ms(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.frame_time_min_ms_ = value; -} -inline void CMsgSource2PerfIntervalSample::set_frame_time_min_ms(float value) { - _internal_set_frame_time_min_ms(value); - // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_time_min_ms) -} - -// optional int32 frame_count = 4; -inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSource2PerfIntervalSample::has_frame_count() const { - return _internal_has_frame_count(); -} -inline void CMsgSource2PerfIntervalSample::clear_frame_count() { - _impl_.frame_count_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CMsgSource2PerfIntervalSample::_internal_frame_count() const { - return _impl_.frame_count_; -} -inline int32_t CMsgSource2PerfIntervalSample::frame_count() const { - // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_count) - return _internal_frame_count(); -} -inline void CMsgSource2PerfIntervalSample::_internal_set_frame_count(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.frame_count_ = value; -} -inline void CMsgSource2PerfIntervalSample::set_frame_count(int32_t value) { - _internal_set_frame_count(value); - // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_count) -} - -// optional float frame_time_total_ms = 5; -inline bool CMsgSource2PerfIntervalSample::_internal_has_frame_time_total_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSource2PerfIntervalSample::has_frame_time_total_ms() const { - return _internal_has_frame_time_total_ms(); -} -inline void CMsgSource2PerfIntervalSample::clear_frame_time_total_ms() { - _impl_.frame_time_total_ms_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float CMsgSource2PerfIntervalSample::_internal_frame_time_total_ms() const { - return _impl_.frame_time_total_ms_; -} -inline float CMsgSource2PerfIntervalSample::frame_time_total_ms() const { - // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.frame_time_total_ms) - return _internal_frame_time_total_ms(); -} -inline void CMsgSource2PerfIntervalSample::_internal_set_frame_time_total_ms(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.frame_time_total_ms_ = value; -} -inline void CMsgSource2PerfIntervalSample::set_frame_time_total_ms(float value) { - _internal_set_frame_time_total_ms(value); - // @@protoc_insertion_point(field_set:CMsgSource2PerfIntervalSample.frame_time_total_ms) -} - -// repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; -inline int CMsgSource2PerfIntervalSample::_internal_tags_size() const { - return _impl_.tags_.size(); -} -inline int CMsgSource2PerfIntervalSample::tags_size() const { - return _internal_tags_size(); -} -inline void CMsgSource2PerfIntervalSample::clear_tags() { - _impl_.tags_.Clear(); -} -inline ::CMsgSource2PerfIntervalSample_Tag* CMsgSource2PerfIntervalSample::mutable_tags(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSource2PerfIntervalSample.tags) - return _impl_.tags_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag >* -CMsgSource2PerfIntervalSample::mutable_tags() { - // @@protoc_insertion_point(field_mutable_list:CMsgSource2PerfIntervalSample.tags) - return &_impl_.tags_; -} -inline const ::CMsgSource2PerfIntervalSample_Tag& CMsgSource2PerfIntervalSample::_internal_tags(int index) const { - return _impl_.tags_.Get(index); -} -inline const ::CMsgSource2PerfIntervalSample_Tag& CMsgSource2PerfIntervalSample::tags(int index) const { - // @@protoc_insertion_point(field_get:CMsgSource2PerfIntervalSample.tags) - return _internal_tags(index); -} -inline ::CMsgSource2PerfIntervalSample_Tag* CMsgSource2PerfIntervalSample::_internal_add_tags() { - return _impl_.tags_.Add(); -} -inline ::CMsgSource2PerfIntervalSample_Tag* CMsgSource2PerfIntervalSample::add_tags() { - ::CMsgSource2PerfIntervalSample_Tag* _add = _internal_add_tags(); - // @@protoc_insertion_point(field_add:CMsgSource2PerfIntervalSample.tags) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample_Tag >& -CMsgSource2PerfIntervalSample::tags() const { - // @@protoc_insertion_point(field_list:CMsgSource2PerfIntervalSample.tags) - return _impl_.tags_; -} - -// ------------------------------------------------------------------- - -// CCLCMsg_Diagnostic - -// optional .CMsgSource2SystemSpecs system_specs = 1; -inline bool CCLCMsg_Diagnostic::_internal_has_system_specs() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.system_specs_ != nullptr); - return value; -} -inline bool CCLCMsg_Diagnostic::has_system_specs() const { - return _internal_has_system_specs(); -} -inline void CCLCMsg_Diagnostic::clear_system_specs() { - if (_impl_.system_specs_ != nullptr) _impl_.system_specs_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgSource2SystemSpecs& CCLCMsg_Diagnostic::_internal_system_specs() const { - const ::CMsgSource2SystemSpecs* p = _impl_.system_specs_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSource2SystemSpecs_default_instance_); -} -inline const ::CMsgSource2SystemSpecs& CCLCMsg_Diagnostic::system_specs() const { - // @@protoc_insertion_point(field_get:CCLCMsg_Diagnostic.system_specs) - return _internal_system_specs(); -} -inline void CCLCMsg_Diagnostic::unsafe_arena_set_allocated_system_specs( - ::CMsgSource2SystemSpecs* system_specs) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.system_specs_); - } - _impl_.system_specs_ = system_specs; - if (system_specs) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCLCMsg_Diagnostic.system_specs) -} -inline ::CMsgSource2SystemSpecs* CCLCMsg_Diagnostic::release_system_specs() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSource2SystemSpecs* temp = _impl_.system_specs_; - _impl_.system_specs_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSource2SystemSpecs* CCLCMsg_Diagnostic::unsafe_arena_release_system_specs() { - // @@protoc_insertion_point(field_release:CCLCMsg_Diagnostic.system_specs) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSource2SystemSpecs* temp = _impl_.system_specs_; - _impl_.system_specs_ = nullptr; - return temp; -} -inline ::CMsgSource2SystemSpecs* CCLCMsg_Diagnostic::_internal_mutable_system_specs() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.system_specs_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSource2SystemSpecs>(GetArenaForAllocation()); - _impl_.system_specs_ = p; - } - return _impl_.system_specs_; -} -inline ::CMsgSource2SystemSpecs* CCLCMsg_Diagnostic::mutable_system_specs() { - ::CMsgSource2SystemSpecs* _msg = _internal_mutable_system_specs(); - // @@protoc_insertion_point(field_mutable:CCLCMsg_Diagnostic.system_specs) - return _msg; -} -inline void CCLCMsg_Diagnostic::set_allocated_system_specs(::CMsgSource2SystemSpecs* system_specs) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.system_specs_; - } - if (system_specs) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(system_specs); - if (message_arena != submessage_arena) { - system_specs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, system_specs, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.system_specs_ = system_specs; - // @@protoc_insertion_point(field_set_allocated:CCLCMsg_Diagnostic.system_specs) -} - -// optional .CMsgSource2VProfLiteReport vprof_report = 2; -inline bool CCLCMsg_Diagnostic::_internal_has_vprof_report() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.vprof_report_ != nullptr); - return value; -} -inline bool CCLCMsg_Diagnostic::has_vprof_report() const { - return _internal_has_vprof_report(); -} -inline void CCLCMsg_Diagnostic::clear_vprof_report() { - if (_impl_.vprof_report_ != nullptr) _impl_.vprof_report_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CMsgSource2VProfLiteReport& CCLCMsg_Diagnostic::_internal_vprof_report() const { - const ::CMsgSource2VProfLiteReport* p = _impl_.vprof_report_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSource2VProfLiteReport_default_instance_); -} -inline const ::CMsgSource2VProfLiteReport& CCLCMsg_Diagnostic::vprof_report() const { - // @@protoc_insertion_point(field_get:CCLCMsg_Diagnostic.vprof_report) - return _internal_vprof_report(); -} -inline void CCLCMsg_Diagnostic::unsafe_arena_set_allocated_vprof_report( - ::CMsgSource2VProfLiteReport* vprof_report) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.vprof_report_); - } - _impl_.vprof_report_ = vprof_report; - if (vprof_report) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCLCMsg_Diagnostic.vprof_report) -} -inline ::CMsgSource2VProfLiteReport* CCLCMsg_Diagnostic::release_vprof_report() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSource2VProfLiteReport* temp = _impl_.vprof_report_; - _impl_.vprof_report_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSource2VProfLiteReport* CCLCMsg_Diagnostic::unsafe_arena_release_vprof_report() { - // @@protoc_insertion_point(field_release:CCLCMsg_Diagnostic.vprof_report) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSource2VProfLiteReport* temp = _impl_.vprof_report_; - _impl_.vprof_report_ = nullptr; - return temp; -} -inline ::CMsgSource2VProfLiteReport* CCLCMsg_Diagnostic::_internal_mutable_vprof_report() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.vprof_report_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSource2VProfLiteReport>(GetArenaForAllocation()); - _impl_.vprof_report_ = p; - } - return _impl_.vprof_report_; -} -inline ::CMsgSource2VProfLiteReport* CCLCMsg_Diagnostic::mutable_vprof_report() { - ::CMsgSource2VProfLiteReport* _msg = _internal_mutable_vprof_report(); - // @@protoc_insertion_point(field_mutable:CCLCMsg_Diagnostic.vprof_report) - return _msg; -} -inline void CCLCMsg_Diagnostic::set_allocated_vprof_report(::CMsgSource2VProfLiteReport* vprof_report) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.vprof_report_; - } - if (vprof_report) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(vprof_report); - if (message_arena != submessage_arena) { - vprof_report = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, vprof_report, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.vprof_report_ = vprof_report; - // @@protoc_insertion_point(field_set_allocated:CCLCMsg_Diagnostic.vprof_report) -} - -// optional .CMsgSource2NetworkFlowQuality downstream_flow = 3; -inline bool CCLCMsg_Diagnostic::_internal_has_downstream_flow() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.downstream_flow_ != nullptr); - return value; -} -inline bool CCLCMsg_Diagnostic::has_downstream_flow() const { - return _internal_has_downstream_flow(); -} -inline void CCLCMsg_Diagnostic::clear_downstream_flow() { - if (_impl_.downstream_flow_ != nullptr) _impl_.downstream_flow_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::CMsgSource2NetworkFlowQuality& CCLCMsg_Diagnostic::_internal_downstream_flow() const { - const ::CMsgSource2NetworkFlowQuality* p = _impl_.downstream_flow_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSource2NetworkFlowQuality_default_instance_); -} -inline const ::CMsgSource2NetworkFlowQuality& CCLCMsg_Diagnostic::downstream_flow() const { - // @@protoc_insertion_point(field_get:CCLCMsg_Diagnostic.downstream_flow) - return _internal_downstream_flow(); -} -inline void CCLCMsg_Diagnostic::unsafe_arena_set_allocated_downstream_flow( - ::CMsgSource2NetworkFlowQuality* downstream_flow) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.downstream_flow_); - } - _impl_.downstream_flow_ = downstream_flow; - if (downstream_flow) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCLCMsg_Diagnostic.downstream_flow) -} -inline ::CMsgSource2NetworkFlowQuality* CCLCMsg_Diagnostic::release_downstream_flow() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSource2NetworkFlowQuality* temp = _impl_.downstream_flow_; - _impl_.downstream_flow_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSource2NetworkFlowQuality* CCLCMsg_Diagnostic::unsafe_arena_release_downstream_flow() { - // @@protoc_insertion_point(field_release:CCLCMsg_Diagnostic.downstream_flow) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSource2NetworkFlowQuality* temp = _impl_.downstream_flow_; - _impl_.downstream_flow_ = nullptr; - return temp; -} -inline ::CMsgSource2NetworkFlowQuality* CCLCMsg_Diagnostic::_internal_mutable_downstream_flow() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.downstream_flow_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSource2NetworkFlowQuality>(GetArenaForAllocation()); - _impl_.downstream_flow_ = p; - } - return _impl_.downstream_flow_; -} -inline ::CMsgSource2NetworkFlowQuality* CCLCMsg_Diagnostic::mutable_downstream_flow() { - ::CMsgSource2NetworkFlowQuality* _msg = _internal_mutable_downstream_flow(); - // @@protoc_insertion_point(field_mutable:CCLCMsg_Diagnostic.downstream_flow) - return _msg; -} -inline void CCLCMsg_Diagnostic::set_allocated_downstream_flow(::CMsgSource2NetworkFlowQuality* downstream_flow) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.downstream_flow_; - } - if (downstream_flow) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(downstream_flow); - if (message_arena != submessage_arena) { - downstream_flow = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, downstream_flow, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.downstream_flow_ = downstream_flow; - // @@protoc_insertion_point(field_set_allocated:CCLCMsg_Diagnostic.downstream_flow) -} - -// optional .CMsgSource2NetworkFlowQuality upstream_flow = 4; -inline bool CCLCMsg_Diagnostic::_internal_has_upstream_flow() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.upstream_flow_ != nullptr); - return value; -} -inline bool CCLCMsg_Diagnostic::has_upstream_flow() const { - return _internal_has_upstream_flow(); -} -inline void CCLCMsg_Diagnostic::clear_upstream_flow() { - if (_impl_.upstream_flow_ != nullptr) _impl_.upstream_flow_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::CMsgSource2NetworkFlowQuality& CCLCMsg_Diagnostic::_internal_upstream_flow() const { - const ::CMsgSource2NetworkFlowQuality* p = _impl_.upstream_flow_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSource2NetworkFlowQuality_default_instance_); -} -inline const ::CMsgSource2NetworkFlowQuality& CCLCMsg_Diagnostic::upstream_flow() const { - // @@protoc_insertion_point(field_get:CCLCMsg_Diagnostic.upstream_flow) - return _internal_upstream_flow(); -} -inline void CCLCMsg_Diagnostic::unsafe_arena_set_allocated_upstream_flow( - ::CMsgSource2NetworkFlowQuality* upstream_flow) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.upstream_flow_); - } - _impl_.upstream_flow_ = upstream_flow; - if (upstream_flow) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCLCMsg_Diagnostic.upstream_flow) -} -inline ::CMsgSource2NetworkFlowQuality* CCLCMsg_Diagnostic::release_upstream_flow() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSource2NetworkFlowQuality* temp = _impl_.upstream_flow_; - _impl_.upstream_flow_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSource2NetworkFlowQuality* CCLCMsg_Diagnostic::unsafe_arena_release_upstream_flow() { - // @@protoc_insertion_point(field_release:CCLCMsg_Diagnostic.upstream_flow) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSource2NetworkFlowQuality* temp = _impl_.upstream_flow_; - _impl_.upstream_flow_ = nullptr; - return temp; -} -inline ::CMsgSource2NetworkFlowQuality* CCLCMsg_Diagnostic::_internal_mutable_upstream_flow() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.upstream_flow_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSource2NetworkFlowQuality>(GetArenaForAllocation()); - _impl_.upstream_flow_ = p; - } - return _impl_.upstream_flow_; -} -inline ::CMsgSource2NetworkFlowQuality* CCLCMsg_Diagnostic::mutable_upstream_flow() { - ::CMsgSource2NetworkFlowQuality* _msg = _internal_mutable_upstream_flow(); - // @@protoc_insertion_point(field_mutable:CCLCMsg_Diagnostic.upstream_flow) - return _msg; -} -inline void CCLCMsg_Diagnostic::set_allocated_upstream_flow(::CMsgSource2NetworkFlowQuality* upstream_flow) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.upstream_flow_; - } - if (upstream_flow) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(upstream_flow); - if (message_arena != submessage_arena) { - upstream_flow = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, upstream_flow, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.upstream_flow_ = upstream_flow; - // @@protoc_insertion_point(field_set_allocated:CCLCMsg_Diagnostic.upstream_flow) -} - -// repeated .CMsgSource2PerfIntervalSample perf_samples = 5; -inline int CCLCMsg_Diagnostic::_internal_perf_samples_size() const { - return _impl_.perf_samples_.size(); -} -inline int CCLCMsg_Diagnostic::perf_samples_size() const { - return _internal_perf_samples_size(); -} -inline void CCLCMsg_Diagnostic::clear_perf_samples() { - _impl_.perf_samples_.Clear(); -} -inline ::CMsgSource2PerfIntervalSample* CCLCMsg_Diagnostic::mutable_perf_samples(int index) { - // @@protoc_insertion_point(field_mutable:CCLCMsg_Diagnostic.perf_samples) - return _impl_.perf_samples_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >* -CCLCMsg_Diagnostic::mutable_perf_samples() { - // @@protoc_insertion_point(field_mutable_list:CCLCMsg_Diagnostic.perf_samples) - return &_impl_.perf_samples_; -} -inline const ::CMsgSource2PerfIntervalSample& CCLCMsg_Diagnostic::_internal_perf_samples(int index) const { - return _impl_.perf_samples_.Get(index); -} -inline const ::CMsgSource2PerfIntervalSample& CCLCMsg_Diagnostic::perf_samples(int index) const { - // @@protoc_insertion_point(field_get:CCLCMsg_Diagnostic.perf_samples) - return _internal_perf_samples(index); -} -inline ::CMsgSource2PerfIntervalSample* CCLCMsg_Diagnostic::_internal_add_perf_samples() { - return _impl_.perf_samples_.Add(); -} -inline ::CMsgSource2PerfIntervalSample* CCLCMsg_Diagnostic::add_perf_samples() { - ::CMsgSource2PerfIntervalSample* _add = _internal_add_perf_samples(); - // @@protoc_insertion_point(field_add:CCLCMsg_Diagnostic.perf_samples) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >& -CCLCMsg_Diagnostic::perf_samples() const { - // @@protoc_insertion_point(field_list:CCLCMsg_Diagnostic.perf_samples) - return _impl_.perf_samples_; -} - -// ------------------------------------------------------------------- - -// CSource2Metrics_MatchPerfSummary_Notification_Client - -// optional .CMsgSource2SystemSpecs system_specs = 1; -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_system_specs() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.system_specs_ != nullptr); - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_system_specs() const { - return _internal_has_system_specs(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_system_specs() { - if (_impl_.system_specs_ != nullptr) _impl_.system_specs_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgSource2SystemSpecs& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_system_specs() const { - const ::CMsgSource2SystemSpecs* p = _impl_.system_specs_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSource2SystemSpecs_default_instance_); -} -inline const ::CMsgSource2SystemSpecs& CSource2Metrics_MatchPerfSummary_Notification_Client::system_specs() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) - return _internal_system_specs(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_set_allocated_system_specs( - ::CMsgSource2SystemSpecs* system_specs) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.system_specs_); - } - _impl_.system_specs_ = system_specs; - if (system_specs) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) -} -inline ::CMsgSource2SystemSpecs* CSource2Metrics_MatchPerfSummary_Notification_Client::release_system_specs() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSource2SystemSpecs* temp = _impl_.system_specs_; - _impl_.system_specs_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSource2SystemSpecs* CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_release_system_specs() { - // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSource2SystemSpecs* temp = _impl_.system_specs_; - _impl_.system_specs_ = nullptr; - return temp; -} -inline ::CMsgSource2SystemSpecs* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_mutable_system_specs() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.system_specs_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSource2SystemSpecs>(GetArenaForAllocation()); - _impl_.system_specs_ = p; - } - return _impl_.system_specs_; -} -inline ::CMsgSource2SystemSpecs* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_system_specs() { - ::CMsgSource2SystemSpecs* _msg = _internal_mutable_system_specs(); - // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) - return _msg; -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_allocated_system_specs(::CMsgSource2SystemSpecs* system_specs) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.system_specs_; - } - if (system_specs) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(system_specs); - if (message_arena != submessage_arena) { - system_specs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, system_specs, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.system_specs_ = system_specs; - // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.system_specs) -} - -// optional .CMsgSource2VProfLiteReport profile = 2; -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_profile() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.profile_ != nullptr); - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_profile() const { - return _internal_has_profile(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_profile() { - if (_impl_.profile_ != nullptr) _impl_.profile_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CMsgSource2VProfLiteReport& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_profile() const { - const ::CMsgSource2VProfLiteReport* p = _impl_.profile_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSource2VProfLiteReport_default_instance_); -} -inline const ::CMsgSource2VProfLiteReport& CSource2Metrics_MatchPerfSummary_Notification_Client::profile() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) - return _internal_profile(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_set_allocated_profile( - ::CMsgSource2VProfLiteReport* profile) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.profile_); - } - _impl_.profile_ = profile; - if (profile) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) -} -inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification_Client::release_profile() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSource2VProfLiteReport* temp = _impl_.profile_; - _impl_.profile_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_release_profile() { - // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSource2VProfLiteReport* temp = _impl_.profile_; - _impl_.profile_ = nullptr; - return temp; -} -inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_mutable_profile() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.profile_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSource2VProfLiteReport>(GetArenaForAllocation()); - _impl_.profile_ = p; - } - return _impl_.profile_; -} -inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_profile() { - ::CMsgSource2VProfLiteReport* _msg = _internal_mutable_profile(); - // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) - return _msg; -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_allocated_profile(::CMsgSource2VProfLiteReport* profile) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.profile_; - } - if (profile) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(profile); - if (message_arena != submessage_arena) { - profile = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, profile, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.profile_ = profile; - // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.profile) -} - -// optional uint32 build_id = 3; -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_build_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_build_id() const { - return _internal_has_build_id(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_build_id() { - _impl_.build_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_build_id() const { - return _impl_.build_id_; -} -inline uint32_t CSource2Metrics_MatchPerfSummary_Notification_Client::build_id() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.build_id) - return _internal_build_id(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_set_build_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.build_id_ = value; -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_build_id(uint32_t value) { - _internal_set_build_id(value); - // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.Client.build_id) -} - -// optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_downstream_flow() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.downstream_flow_ != nullptr); - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_downstream_flow() const { - return _internal_has_downstream_flow(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_downstream_flow() { - if (_impl_.downstream_flow_ != nullptr) _impl_.downstream_flow_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::CMsgSource2NetworkFlowQuality& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_downstream_flow() const { - const ::CMsgSource2NetworkFlowQuality* p = _impl_.downstream_flow_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSource2NetworkFlowQuality_default_instance_); -} -inline const ::CMsgSource2NetworkFlowQuality& CSource2Metrics_MatchPerfSummary_Notification_Client::downstream_flow() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) - return _internal_downstream_flow(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_set_allocated_downstream_flow( - ::CMsgSource2NetworkFlowQuality* downstream_flow) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.downstream_flow_); - } - _impl_.downstream_flow_ = downstream_flow; - if (downstream_flow) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) -} -inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::release_downstream_flow() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSource2NetworkFlowQuality* temp = _impl_.downstream_flow_; - _impl_.downstream_flow_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_release_downstream_flow() { - // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSource2NetworkFlowQuality* temp = _impl_.downstream_flow_; - _impl_.downstream_flow_ = nullptr; - return temp; -} -inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_mutable_downstream_flow() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.downstream_flow_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSource2NetworkFlowQuality>(GetArenaForAllocation()); - _impl_.downstream_flow_ = p; - } - return _impl_.downstream_flow_; -} -inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_downstream_flow() { - ::CMsgSource2NetworkFlowQuality* _msg = _internal_mutable_downstream_flow(); - // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) - return _msg; -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_allocated_downstream_flow(::CMsgSource2NetworkFlowQuality* downstream_flow) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.downstream_flow_; - } - if (downstream_flow) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(downstream_flow); - if (message_arena != submessage_arena) { - downstream_flow = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, downstream_flow, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.downstream_flow_ = downstream_flow; - // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.downstream_flow) -} - -// optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_upstream_flow() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.upstream_flow_ != nullptr); - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_upstream_flow() const { - return _internal_has_upstream_flow(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_upstream_flow() { - if (_impl_.upstream_flow_ != nullptr) _impl_.upstream_flow_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::CMsgSource2NetworkFlowQuality& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_upstream_flow() const { - const ::CMsgSource2NetworkFlowQuality* p = _impl_.upstream_flow_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSource2NetworkFlowQuality_default_instance_); -} -inline const ::CMsgSource2NetworkFlowQuality& CSource2Metrics_MatchPerfSummary_Notification_Client::upstream_flow() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) - return _internal_upstream_flow(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_set_allocated_upstream_flow( - ::CMsgSource2NetworkFlowQuality* upstream_flow) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.upstream_flow_); - } - _impl_.upstream_flow_ = upstream_flow; - if (upstream_flow) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) -} -inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::release_upstream_flow() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSource2NetworkFlowQuality* temp = _impl_.upstream_flow_; - _impl_.upstream_flow_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::unsafe_arena_release_upstream_flow() { - // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSource2NetworkFlowQuality* temp = _impl_.upstream_flow_; - _impl_.upstream_flow_ = nullptr; - return temp; -} -inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_mutable_upstream_flow() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.upstream_flow_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSource2NetworkFlowQuality>(GetArenaForAllocation()); - _impl_.upstream_flow_ = p; - } - return _impl_.upstream_flow_; -} -inline ::CMsgSource2NetworkFlowQuality* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_upstream_flow() { - ::CMsgSource2NetworkFlowQuality* _msg = _internal_mutable_upstream_flow(); - // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) - return _msg; -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_allocated_upstream_flow(::CMsgSource2NetworkFlowQuality* upstream_flow) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.upstream_flow_; - } - if (upstream_flow) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(upstream_flow); - if (message_arena != submessage_arena) { - upstream_flow = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, upstream_flow, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.upstream_flow_ = upstream_flow; - // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.Client.upstream_flow) -} - -// optional fixed64 steamid = 10; -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification_Client::has_steamid() const { - return _internal_has_steamid(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CSource2Metrics_MatchPerfSummary_Notification_Client::steamid() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.steamid) - return _internal_steamid(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.steamid_ = value; -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.Client.steamid) -} - -// repeated .CMsgSource2PerfIntervalSample perf_samples = 11; -inline int CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_perf_samples_size() const { - return _impl_.perf_samples_.size(); -} -inline int CSource2Metrics_MatchPerfSummary_Notification_Client::perf_samples_size() const { - return _internal_perf_samples_size(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification_Client::clear_perf_samples() { - _impl_.perf_samples_.Clear(); -} -inline ::CMsgSource2PerfIntervalSample* CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_perf_samples(int index) { - // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) - return _impl_.perf_samples_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >* -CSource2Metrics_MatchPerfSummary_Notification_Client::mutable_perf_samples() { - // @@protoc_insertion_point(field_mutable_list:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) - return &_impl_.perf_samples_; -} -inline const ::CMsgSource2PerfIntervalSample& CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_perf_samples(int index) const { - return _impl_.perf_samples_.Get(index); -} -inline const ::CMsgSource2PerfIntervalSample& CSource2Metrics_MatchPerfSummary_Notification_Client::perf_samples(int index) const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) - return _internal_perf_samples(index); -} -inline ::CMsgSource2PerfIntervalSample* CSource2Metrics_MatchPerfSummary_Notification_Client::_internal_add_perf_samples() { - return _impl_.perf_samples_.Add(); -} -inline ::CMsgSource2PerfIntervalSample* CSource2Metrics_MatchPerfSummary_Notification_Client::add_perf_samples() { - ::CMsgSource2PerfIntervalSample* _add = _internal_add_perf_samples(); - // @@protoc_insertion_point(field_add:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSource2PerfIntervalSample >& -CSource2Metrics_MatchPerfSummary_Notification_Client::perf_samples() const { - // @@protoc_insertion_point(field_list:CSource2Metrics_MatchPerfSummary_Notification.Client.perf_samples) - return _impl_.perf_samples_; -} - -// ------------------------------------------------------------------- - -// CSource2Metrics_MatchPerfSummary_Notification - -// optional uint32 appid = 1; -inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification::has_appid() const { - return _internal_has_appid(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::appid() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.appid) - return _internal_appid(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.appid_ = value; -} -inline void CSource2Metrics_MatchPerfSummary_Notification::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.appid) -} - -// optional string game_mode = 2; -inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_game_mode() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification::has_game_mode() const { - return _internal_has_game_mode(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::clear_game_mode() { - _impl_.game_mode_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSource2Metrics_MatchPerfSummary_Notification::game_mode() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.game_mode) - return _internal_game_mode(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSource2Metrics_MatchPerfSummary_Notification::set_game_mode(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.game_mode_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.game_mode) -} -inline std::string* CSource2Metrics_MatchPerfSummary_Notification::mutable_game_mode() { - std::string* _s = _internal_mutable_game_mode(); - // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.game_mode) - return _s; -} -inline const std::string& CSource2Metrics_MatchPerfSummary_Notification::_internal_game_mode() const { - return _impl_.game_mode_.Get(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_game_mode(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.game_mode_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSource2Metrics_MatchPerfSummary_Notification::_internal_mutable_game_mode() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.game_mode_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSource2Metrics_MatchPerfSummary_Notification::release_game_mode() { - // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.game_mode) - if (!_internal_has_game_mode()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.game_mode_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_mode_.IsDefault()) { - _impl_.game_mode_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSource2Metrics_MatchPerfSummary_Notification::set_allocated_game_mode(std::string* game_mode) { - if (game_mode != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.game_mode_.SetAllocated(game_mode, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_mode_.IsDefault()) { - _impl_.game_mode_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.game_mode) -} - -// optional uint32 server_build_id = 3; -inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_server_build_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification::has_server_build_id() const { - return _internal_has_server_build_id(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::clear_server_build_id() { - _impl_.server_build_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::_internal_server_build_id() const { - return _impl_.server_build_id_; -} -inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::server_build_id() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.server_build_id) - return _internal_server_build_id(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_server_build_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.server_build_id_ = value; -} -inline void CSource2Metrics_MatchPerfSummary_Notification::set_server_build_id(uint32_t value) { - _internal_set_server_build_id(value); - // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.server_build_id) -} - -// optional fixed32 server_popid = 4; -inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_server_popid() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification::has_server_popid() const { - return _internal_has_server_popid(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::clear_server_popid() { - _impl_.server_popid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::_internal_server_popid() const { - return _impl_.server_popid_; -} -inline uint32_t CSource2Metrics_MatchPerfSummary_Notification::server_popid() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.server_popid) - return _internal_server_popid(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_server_popid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.server_popid_ = value; -} -inline void CSource2Metrics_MatchPerfSummary_Notification::set_server_popid(uint32_t value) { - _internal_set_server_popid(value); - // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.server_popid) -} - -// optional .CMsgSource2VProfLiteReport server_profile = 10; -inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_server_profile() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.server_profile_ != nullptr); - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification::has_server_profile() const { - return _internal_has_server_profile(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::clear_server_profile() { - if (_impl_.server_profile_ != nullptr) _impl_.server_profile_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::CMsgSource2VProfLiteReport& CSource2Metrics_MatchPerfSummary_Notification::_internal_server_profile() const { - const ::CMsgSource2VProfLiteReport* p = _impl_.server_profile_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSource2VProfLiteReport_default_instance_); -} -inline const ::CMsgSource2VProfLiteReport& CSource2Metrics_MatchPerfSummary_Notification::server_profile() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.server_profile) - return _internal_server_profile(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::unsafe_arena_set_allocated_server_profile( - ::CMsgSource2VProfLiteReport* server_profile) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.server_profile_); - } - _impl_.server_profile_ = server_profile; - if (server_profile) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.server_profile) -} -inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification::release_server_profile() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSource2VProfLiteReport* temp = _impl_.server_profile_; - _impl_.server_profile_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification::unsafe_arena_release_server_profile() { - // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.server_profile) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSource2VProfLiteReport* temp = _impl_.server_profile_; - _impl_.server_profile_ = nullptr; - return temp; -} -inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification::_internal_mutable_server_profile() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.server_profile_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSource2VProfLiteReport>(GetArenaForAllocation()); - _impl_.server_profile_ = p; - } - return _impl_.server_profile_; -} -inline ::CMsgSource2VProfLiteReport* CSource2Metrics_MatchPerfSummary_Notification::mutable_server_profile() { - ::CMsgSource2VProfLiteReport* _msg = _internal_mutable_server_profile(); - // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.server_profile) - return _msg; -} -inline void CSource2Metrics_MatchPerfSummary_Notification::set_allocated_server_profile(::CMsgSource2VProfLiteReport* server_profile) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.server_profile_; - } - if (server_profile) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(server_profile); - if (message_arena != submessage_arena) { - server_profile = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, server_profile, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.server_profile_ = server_profile; - // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.server_profile) -} - -// repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; -inline int CSource2Metrics_MatchPerfSummary_Notification::_internal_clients_size() const { - return _impl_.clients_.size(); -} -inline int CSource2Metrics_MatchPerfSummary_Notification::clients_size() const { - return _internal_clients_size(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::clear_clients() { - _impl_.clients_.Clear(); -} -inline ::CSource2Metrics_MatchPerfSummary_Notification_Client* CSource2Metrics_MatchPerfSummary_Notification::mutable_clients(int index) { - // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.clients) - return _impl_.clients_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client >* -CSource2Metrics_MatchPerfSummary_Notification::mutable_clients() { - // @@protoc_insertion_point(field_mutable_list:CSource2Metrics_MatchPerfSummary_Notification.clients) - return &_impl_.clients_; -} -inline const ::CSource2Metrics_MatchPerfSummary_Notification_Client& CSource2Metrics_MatchPerfSummary_Notification::_internal_clients(int index) const { - return _impl_.clients_.Get(index); -} -inline const ::CSource2Metrics_MatchPerfSummary_Notification_Client& CSource2Metrics_MatchPerfSummary_Notification::clients(int index) const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.clients) - return _internal_clients(index); -} -inline ::CSource2Metrics_MatchPerfSummary_Notification_Client* CSource2Metrics_MatchPerfSummary_Notification::_internal_add_clients() { - return _impl_.clients_.Add(); -} -inline ::CSource2Metrics_MatchPerfSummary_Notification_Client* CSource2Metrics_MatchPerfSummary_Notification::add_clients() { - ::CSource2Metrics_MatchPerfSummary_Notification_Client* _add = _internal_add_clients(); - // @@protoc_insertion_point(field_add:CSource2Metrics_MatchPerfSummary_Notification.clients) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSource2Metrics_MatchPerfSummary_Notification_Client >& -CSource2Metrics_MatchPerfSummary_Notification::clients() const { - // @@protoc_insertion_point(field_list:CSource2Metrics_MatchPerfSummary_Notification.clients) - return _impl_.clients_; -} - -// optional string map = 20; -inline bool CSource2Metrics_MatchPerfSummary_Notification::_internal_has_map() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSource2Metrics_MatchPerfSummary_Notification::has_map() const { - return _internal_has_map(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::clear_map() { - _impl_.map_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CSource2Metrics_MatchPerfSummary_Notification::map() const { - // @@protoc_insertion_point(field_get:CSource2Metrics_MatchPerfSummary_Notification.map) - return _internal_map(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSource2Metrics_MatchPerfSummary_Notification::set_map(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.map_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSource2Metrics_MatchPerfSummary_Notification.map) -} -inline std::string* CSource2Metrics_MatchPerfSummary_Notification::mutable_map() { - std::string* _s = _internal_mutable_map(); - // @@protoc_insertion_point(field_mutable:CSource2Metrics_MatchPerfSummary_Notification.map) - return _s; -} -inline const std::string& CSource2Metrics_MatchPerfSummary_Notification::_internal_map() const { - return _impl_.map_.Get(); -} -inline void CSource2Metrics_MatchPerfSummary_Notification::_internal_set_map(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.map_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSource2Metrics_MatchPerfSummary_Notification::_internal_mutable_map() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.map_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSource2Metrics_MatchPerfSummary_Notification::release_map() { - // @@protoc_insertion_point(field_release:CSource2Metrics_MatchPerfSummary_Notification.map) - if (!_internal_has_map()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.map_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.map_.IsDefault()) { - _impl_.map_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSource2Metrics_MatchPerfSummary_Notification::set_allocated_map(std::string* map) { - if (map != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.map_.SetAllocated(map, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.map_.IsDefault()) { - _impl_.map_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSource2Metrics_MatchPerfSummary_Notification.map) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_ServerInfo - -// optional int32 protocol = 1; -inline bool CSVCMsg_ServerInfo::_internal_has_protocol() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CSVCMsg_ServerInfo::has_protocol() const { - return _internal_has_protocol(); -} -inline void CSVCMsg_ServerInfo::clear_protocol() { - _impl_.protocol_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t CSVCMsg_ServerInfo::_internal_protocol() const { - return _impl_.protocol_; -} -inline int32_t CSVCMsg_ServerInfo::protocol() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.protocol) - return _internal_protocol(); -} -inline void CSVCMsg_ServerInfo::_internal_set_protocol(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.protocol_ = value; -} -inline void CSVCMsg_ServerInfo::set_protocol(int32_t value) { - _internal_set_protocol(value); - // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.protocol) -} - -// optional int32 server_count = 2; -inline bool CSVCMsg_ServerInfo::_internal_has_server_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CSVCMsg_ServerInfo::has_server_count() const { - return _internal_has_server_count(); -} -inline void CSVCMsg_ServerInfo::clear_server_count() { - _impl_.server_count_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t CSVCMsg_ServerInfo::_internal_server_count() const { - return _impl_.server_count_; -} -inline int32_t CSVCMsg_ServerInfo::server_count() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.server_count) - return _internal_server_count(); -} -inline void CSVCMsg_ServerInfo::_internal_set_server_count(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.server_count_ = value; -} -inline void CSVCMsg_ServerInfo::set_server_count(int32_t value) { - _internal_set_server_count(value); - // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.server_count) -} - -// optional bool is_dedicated = 3; -inline bool CSVCMsg_ServerInfo::_internal_has_is_dedicated() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CSVCMsg_ServerInfo::has_is_dedicated() const { - return _internal_has_is_dedicated(); -} -inline void CSVCMsg_ServerInfo::clear_is_dedicated() { - _impl_.is_dedicated_ = false; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline bool CSVCMsg_ServerInfo::_internal_is_dedicated() const { - return _impl_.is_dedicated_; -} -inline bool CSVCMsg_ServerInfo::is_dedicated() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.is_dedicated) - return _internal_is_dedicated(); -} -inline void CSVCMsg_ServerInfo::_internal_set_is_dedicated(bool value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.is_dedicated_ = value; -} -inline void CSVCMsg_ServerInfo::set_is_dedicated(bool value) { - _internal_set_is_dedicated(value); - // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.is_dedicated) -} - -// optional bool is_hltv = 4; -inline bool CSVCMsg_ServerInfo::_internal_has_is_hltv() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CSVCMsg_ServerInfo::has_is_hltv() const { - return _internal_has_is_hltv(); -} -inline void CSVCMsg_ServerInfo::clear_is_hltv() { - _impl_.is_hltv_ = false; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline bool CSVCMsg_ServerInfo::_internal_is_hltv() const { - return _impl_.is_hltv_; -} -inline bool CSVCMsg_ServerInfo::is_hltv() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.is_hltv) - return _internal_is_hltv(); -} -inline void CSVCMsg_ServerInfo::_internal_set_is_hltv(bool value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.is_hltv_ = value; -} -inline void CSVCMsg_ServerInfo::set_is_hltv(bool value) { - _internal_set_is_hltv(value); - // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.is_hltv) -} - -// optional int32 c_os = 6; -inline bool CSVCMsg_ServerInfo::_internal_has_c_os() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CSVCMsg_ServerInfo::has_c_os() const { - return _internal_has_c_os(); -} -inline void CSVCMsg_ServerInfo::clear_c_os() { - _impl_.c_os_ = 0; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline int32_t CSVCMsg_ServerInfo::_internal_c_os() const { - return _impl_.c_os_; -} -inline int32_t CSVCMsg_ServerInfo::c_os() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.c_os) - return _internal_c_os(); -} -inline void CSVCMsg_ServerInfo::_internal_set_c_os(int32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.c_os_ = value; -} -inline void CSVCMsg_ServerInfo::set_c_os(int32_t value) { - _internal_set_c_os(value); - // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.c_os) -} - -// optional int32 max_clients = 10; -inline bool CSVCMsg_ServerInfo::_internal_has_max_clients() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CSVCMsg_ServerInfo::has_max_clients() const { - return _internal_has_max_clients(); -} -inline void CSVCMsg_ServerInfo::clear_max_clients() { - _impl_.max_clients_ = 0; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline int32_t CSVCMsg_ServerInfo::_internal_max_clients() const { - return _impl_.max_clients_; -} -inline int32_t CSVCMsg_ServerInfo::max_clients() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.max_clients) - return _internal_max_clients(); -} -inline void CSVCMsg_ServerInfo::_internal_set_max_clients(int32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.max_clients_ = value; -} -inline void CSVCMsg_ServerInfo::set_max_clients(int32_t value) { - _internal_set_max_clients(value); - // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.max_clients) -} - -// optional int32 max_classes = 11; -inline bool CSVCMsg_ServerInfo::_internal_has_max_classes() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CSVCMsg_ServerInfo::has_max_classes() const { - return _internal_has_max_classes(); -} -inline void CSVCMsg_ServerInfo::clear_max_classes() { - _impl_.max_classes_ = 0; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline int32_t CSVCMsg_ServerInfo::_internal_max_classes() const { - return _impl_.max_classes_; -} -inline int32_t CSVCMsg_ServerInfo::max_classes() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.max_classes) - return _internal_max_classes(); -} -inline void CSVCMsg_ServerInfo::_internal_set_max_classes(int32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.max_classes_ = value; -} -inline void CSVCMsg_ServerInfo::set_max_classes(int32_t value) { - _internal_set_max_classes(value); - // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.max_classes) -} - -// optional int32 player_slot = 12 [default = -1]; -inline bool CSVCMsg_ServerInfo::_internal_has_player_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CSVCMsg_ServerInfo::has_player_slot() const { - return _internal_has_player_slot(); -} -inline void CSVCMsg_ServerInfo::clear_player_slot() { - _impl_.player_slot_ = -1; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline int32_t CSVCMsg_ServerInfo::_internal_player_slot() const { - return _impl_.player_slot_; -} -inline int32_t CSVCMsg_ServerInfo::player_slot() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.player_slot) - return _internal_player_slot(); -} -inline void CSVCMsg_ServerInfo::_internal_set_player_slot(int32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.player_slot_ = value; -} -inline void CSVCMsg_ServerInfo::set_player_slot(int32_t value) { - _internal_set_player_slot(value); - // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.player_slot) -} - -// optional float tick_interval = 13; -inline bool CSVCMsg_ServerInfo::_internal_has_tick_interval() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CSVCMsg_ServerInfo::has_tick_interval() const { - return _internal_has_tick_interval(); -} -inline void CSVCMsg_ServerInfo::clear_tick_interval() { - _impl_.tick_interval_ = 0; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline float CSVCMsg_ServerInfo::_internal_tick_interval() const { - return _impl_.tick_interval_; -} -inline float CSVCMsg_ServerInfo::tick_interval() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.tick_interval) - return _internal_tick_interval(); -} -inline void CSVCMsg_ServerInfo::_internal_set_tick_interval(float value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.tick_interval_ = value; -} -inline void CSVCMsg_ServerInfo::set_tick_interval(float value) { - _internal_set_tick_interval(value); - // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.tick_interval) -} - -// optional string game_dir = 14; -inline bool CSVCMsg_ServerInfo::_internal_has_game_dir() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_ServerInfo::has_game_dir() const { - return _internal_has_game_dir(); -} -inline void CSVCMsg_ServerInfo::clear_game_dir() { - _impl_.game_dir_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_ServerInfo::game_dir() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.game_dir) - return _internal_game_dir(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_ServerInfo::set_game_dir(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.game_dir_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.game_dir) -} -inline std::string* CSVCMsg_ServerInfo::mutable_game_dir() { - std::string* _s = _internal_mutable_game_dir(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_ServerInfo.game_dir) - return _s; -} -inline const std::string& CSVCMsg_ServerInfo::_internal_game_dir() const { - return _impl_.game_dir_.Get(); -} -inline void CSVCMsg_ServerInfo::_internal_set_game_dir(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.game_dir_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_ServerInfo::_internal_mutable_game_dir() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.game_dir_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_ServerInfo::release_game_dir() { - // @@protoc_insertion_point(field_release:CSVCMsg_ServerInfo.game_dir) - if (!_internal_has_game_dir()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.game_dir_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_dir_.IsDefault()) { - _impl_.game_dir_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_ServerInfo::set_allocated_game_dir(std::string* game_dir) { - if (game_dir != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.game_dir_.SetAllocated(game_dir, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_dir_.IsDefault()) { - _impl_.game_dir_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ServerInfo.game_dir) -} - -// optional string map_name = 15; -inline bool CSVCMsg_ServerInfo::_internal_has_map_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_ServerInfo::has_map_name() const { - return _internal_has_map_name(); -} -inline void CSVCMsg_ServerInfo::clear_map_name() { - _impl_.map_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CSVCMsg_ServerInfo::map_name() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.map_name) - return _internal_map_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_ServerInfo::set_map_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.map_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.map_name) -} -inline std::string* CSVCMsg_ServerInfo::mutable_map_name() { - std::string* _s = _internal_mutable_map_name(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_ServerInfo.map_name) - return _s; -} -inline const std::string& CSVCMsg_ServerInfo::_internal_map_name() const { - return _impl_.map_name_.Get(); -} -inline void CSVCMsg_ServerInfo::_internal_set_map_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.map_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_ServerInfo::_internal_mutable_map_name() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.map_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_ServerInfo::release_map_name() { - // @@protoc_insertion_point(field_release:CSVCMsg_ServerInfo.map_name) - if (!_internal_has_map_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.map_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.map_name_.IsDefault()) { - _impl_.map_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_ServerInfo::set_allocated_map_name(std::string* map_name) { - if (map_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.map_name_.SetAllocated(map_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.map_name_.IsDefault()) { - _impl_.map_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ServerInfo.map_name) -} - -// optional string sky_name = 16; -inline bool CSVCMsg_ServerInfo::_internal_has_sky_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_ServerInfo::has_sky_name() const { - return _internal_has_sky_name(); -} -inline void CSVCMsg_ServerInfo::clear_sky_name() { - _impl_.sky_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CSVCMsg_ServerInfo::sky_name() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.sky_name) - return _internal_sky_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_ServerInfo::set_sky_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.sky_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.sky_name) -} -inline std::string* CSVCMsg_ServerInfo::mutable_sky_name() { - std::string* _s = _internal_mutable_sky_name(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_ServerInfo.sky_name) - return _s; -} -inline const std::string& CSVCMsg_ServerInfo::_internal_sky_name() const { - return _impl_.sky_name_.Get(); -} -inline void CSVCMsg_ServerInfo::_internal_set_sky_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.sky_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_ServerInfo::_internal_mutable_sky_name() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.sky_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_ServerInfo::release_sky_name() { - // @@protoc_insertion_point(field_release:CSVCMsg_ServerInfo.sky_name) - if (!_internal_has_sky_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.sky_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sky_name_.IsDefault()) { - _impl_.sky_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_ServerInfo::set_allocated_sky_name(std::string* sky_name) { - if (sky_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.sky_name_.SetAllocated(sky_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sky_name_.IsDefault()) { - _impl_.sky_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ServerInfo.sky_name) -} - -// optional string host_name = 17; -inline bool CSVCMsg_ServerInfo::_internal_has_host_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSVCMsg_ServerInfo::has_host_name() const { - return _internal_has_host_name(); -} -inline void CSVCMsg_ServerInfo::clear_host_name() { - _impl_.host_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CSVCMsg_ServerInfo::host_name() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.host_name) - return _internal_host_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_ServerInfo::set_host_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.host_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.host_name) -} -inline std::string* CSVCMsg_ServerInfo::mutable_host_name() { - std::string* _s = _internal_mutable_host_name(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_ServerInfo.host_name) - return _s; -} -inline const std::string& CSVCMsg_ServerInfo::_internal_host_name() const { - return _impl_.host_name_.Get(); -} -inline void CSVCMsg_ServerInfo::_internal_set_host_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.host_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_ServerInfo::_internal_mutable_host_name() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.host_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_ServerInfo::release_host_name() { - // @@protoc_insertion_point(field_release:CSVCMsg_ServerInfo.host_name) - if (!_internal_has_host_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.host_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.host_name_.IsDefault()) { - _impl_.host_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_ServerInfo::set_allocated_host_name(std::string* host_name) { - if (host_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.host_name_.SetAllocated(host_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.host_name_.IsDefault()) { - _impl_.host_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ServerInfo.host_name) -} - -// optional string addon_name = 18; -inline bool CSVCMsg_ServerInfo::_internal_has_addon_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSVCMsg_ServerInfo::has_addon_name() const { - return _internal_has_addon_name(); -} -inline void CSVCMsg_ServerInfo::clear_addon_name() { - _impl_.addon_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const std::string& CSVCMsg_ServerInfo::addon_name() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.addon_name) - return _internal_addon_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_ServerInfo::set_addon_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.addon_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.addon_name) -} -inline std::string* CSVCMsg_ServerInfo::mutable_addon_name() { - std::string* _s = _internal_mutable_addon_name(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_ServerInfo.addon_name) - return _s; -} -inline const std::string& CSVCMsg_ServerInfo::_internal_addon_name() const { - return _impl_.addon_name_.Get(); -} -inline void CSVCMsg_ServerInfo::_internal_set_addon_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.addon_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_ServerInfo::_internal_mutable_addon_name() { - _impl_._has_bits_[0] |= 0x00000010u; - return _impl_.addon_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_ServerInfo::release_addon_name() { - // @@protoc_insertion_point(field_release:CSVCMsg_ServerInfo.addon_name) - if (!_internal_has_addon_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000010u; - auto* p = _impl_.addon_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.addon_name_.IsDefault()) { - _impl_.addon_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_ServerInfo::set_allocated_addon_name(std::string* addon_name) { - if (addon_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.addon_name_.SetAllocated(addon_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.addon_name_.IsDefault()) { - _impl_.addon_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ServerInfo.addon_name) -} - -// optional .CSVCMsg_GameSessionConfiguration game_session_config = 19; -inline bool CSVCMsg_ServerInfo::_internal_has_game_session_config() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - PROTOBUF_ASSUME(!value || _impl_.game_session_config_ != nullptr); - return value; -} -inline bool CSVCMsg_ServerInfo::has_game_session_config() const { - return _internal_has_game_session_config(); -} -inline const ::CSVCMsg_GameSessionConfiguration& CSVCMsg_ServerInfo::_internal_game_session_config() const { - const ::CSVCMsg_GameSessionConfiguration* p = _impl_.game_session_config_; - return p != nullptr ? *p : reinterpret_cast( - ::_CSVCMsg_GameSessionConfiguration_default_instance_); -} -inline const ::CSVCMsg_GameSessionConfiguration& CSVCMsg_ServerInfo::game_session_config() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.game_session_config) - return _internal_game_session_config(); -} -inline void CSVCMsg_ServerInfo::unsafe_arena_set_allocated_game_session_config( - ::CSVCMsg_GameSessionConfiguration* game_session_config) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.game_session_config_); - } - _impl_.game_session_config_ = game_session_config; - if (game_session_config) { - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSVCMsg_ServerInfo.game_session_config) -} -inline ::CSVCMsg_GameSessionConfiguration* CSVCMsg_ServerInfo::release_game_session_config() { - _impl_._has_bits_[0] &= ~0x00000040u; - ::CSVCMsg_GameSessionConfiguration* temp = _impl_.game_session_config_; - _impl_.game_session_config_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CSVCMsg_GameSessionConfiguration* CSVCMsg_ServerInfo::unsafe_arena_release_game_session_config() { - // @@protoc_insertion_point(field_release:CSVCMsg_ServerInfo.game_session_config) - _impl_._has_bits_[0] &= ~0x00000040u; - ::CSVCMsg_GameSessionConfiguration* temp = _impl_.game_session_config_; - _impl_.game_session_config_ = nullptr; - return temp; -} -inline ::CSVCMsg_GameSessionConfiguration* CSVCMsg_ServerInfo::_internal_mutable_game_session_config() { - _impl_._has_bits_[0] |= 0x00000040u; - if (_impl_.game_session_config_ == nullptr) { - auto* p = CreateMaybeMessage<::CSVCMsg_GameSessionConfiguration>(GetArenaForAllocation()); - _impl_.game_session_config_ = p; - } - return _impl_.game_session_config_; -} -inline ::CSVCMsg_GameSessionConfiguration* CSVCMsg_ServerInfo::mutable_game_session_config() { - ::CSVCMsg_GameSessionConfiguration* _msg = _internal_mutable_game_session_config(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_ServerInfo.game_session_config) - return _msg; -} -inline void CSVCMsg_ServerInfo::set_allocated_game_session_config(::CSVCMsg_GameSessionConfiguration* game_session_config) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.game_session_config_); - } - if (game_session_config) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(game_session_config)); - if (message_arena != submessage_arena) { - game_session_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, game_session_config, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - _impl_.game_session_config_ = game_session_config; - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ServerInfo.game_session_config) -} - -// optional bytes game_session_manifest = 20; -inline bool CSVCMsg_ServerInfo::_internal_has_game_session_manifest() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSVCMsg_ServerInfo::has_game_session_manifest() const { - return _internal_has_game_session_manifest(); -} -inline void CSVCMsg_ServerInfo::clear_game_session_manifest() { - _impl_.game_session_manifest_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline const std::string& CSVCMsg_ServerInfo::game_session_manifest() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.game_session_manifest) - return _internal_game_session_manifest(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_ServerInfo::set_game_session_manifest(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.game_session_manifest_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.game_session_manifest) -} -inline std::string* CSVCMsg_ServerInfo::mutable_game_session_manifest() { - std::string* _s = _internal_mutable_game_session_manifest(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_ServerInfo.game_session_manifest) - return _s; -} -inline const std::string& CSVCMsg_ServerInfo::_internal_game_session_manifest() const { - return _impl_.game_session_manifest_.Get(); -} -inline void CSVCMsg_ServerInfo::_internal_set_game_session_manifest(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.game_session_manifest_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_ServerInfo::_internal_mutable_game_session_manifest() { - _impl_._has_bits_[0] |= 0x00000020u; - return _impl_.game_session_manifest_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_ServerInfo::release_game_session_manifest() { - // @@protoc_insertion_point(field_release:CSVCMsg_ServerInfo.game_session_manifest) - if (!_internal_has_game_session_manifest()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000020u; - auto* p = _impl_.game_session_manifest_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_session_manifest_.IsDefault()) { - _impl_.game_session_manifest_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_ServerInfo::set_allocated_game_session_manifest(std::string* game_session_manifest) { - if (game_session_manifest != nullptr) { - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - _impl_.game_session_manifest_.SetAllocated(game_session_manifest, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_session_manifest_.IsDefault()) { - _impl_.game_session_manifest_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ServerInfo.game_session_manifest) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_ClassInfo_class_t - -// optional int32 class_id = 1; -inline bool CSVCMsg_ClassInfo_class_t::_internal_has_class_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_ClassInfo_class_t::has_class_id() const { - return _internal_has_class_id(); -} -inline void CSVCMsg_ClassInfo_class_t::clear_class_id() { - _impl_.class_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_ClassInfo_class_t::_internal_class_id() const { - return _impl_.class_id_; -} -inline int32_t CSVCMsg_ClassInfo_class_t::class_id() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ClassInfo.class_t.class_id) - return _internal_class_id(); -} -inline void CSVCMsg_ClassInfo_class_t::_internal_set_class_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.class_id_ = value; -} -inline void CSVCMsg_ClassInfo_class_t::set_class_id(int32_t value) { - _internal_set_class_id(value); - // @@protoc_insertion_point(field_set:CSVCMsg_ClassInfo.class_t.class_id) -} - -// optional string class_name = 3; -inline bool CSVCMsg_ClassInfo_class_t::_internal_has_class_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_ClassInfo_class_t::has_class_name() const { - return _internal_has_class_name(); -} -inline void CSVCMsg_ClassInfo_class_t::clear_class_name() { - _impl_.class_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_ClassInfo_class_t::class_name() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ClassInfo.class_t.class_name) - return _internal_class_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_ClassInfo_class_t::set_class_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.class_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_ClassInfo.class_t.class_name) -} -inline std::string* CSVCMsg_ClassInfo_class_t::mutable_class_name() { - std::string* _s = _internal_mutable_class_name(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_ClassInfo.class_t.class_name) - return _s; -} -inline const std::string& CSVCMsg_ClassInfo_class_t::_internal_class_name() const { - return _impl_.class_name_.Get(); -} -inline void CSVCMsg_ClassInfo_class_t::_internal_set_class_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.class_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_ClassInfo_class_t::_internal_mutable_class_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.class_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_ClassInfo_class_t::release_class_name() { - // @@protoc_insertion_point(field_release:CSVCMsg_ClassInfo.class_t.class_name) - if (!_internal_has_class_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.class_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.class_name_.IsDefault()) { - _impl_.class_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_ClassInfo_class_t::set_allocated_class_name(std::string* class_name) { - if (class_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.class_name_.SetAllocated(class_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.class_name_.IsDefault()) { - _impl_.class_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ClassInfo.class_t.class_name) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_ClassInfo - -// optional bool create_on_client = 1; -inline bool CSVCMsg_ClassInfo::_internal_has_create_on_client() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_ClassInfo::has_create_on_client() const { - return _internal_has_create_on_client(); -} -inline void CSVCMsg_ClassInfo::clear_create_on_client() { - _impl_.create_on_client_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CSVCMsg_ClassInfo::_internal_create_on_client() const { - return _impl_.create_on_client_; -} -inline bool CSVCMsg_ClassInfo::create_on_client() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ClassInfo.create_on_client) - return _internal_create_on_client(); -} -inline void CSVCMsg_ClassInfo::_internal_set_create_on_client(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.create_on_client_ = value; -} -inline void CSVCMsg_ClassInfo::set_create_on_client(bool value) { - _internal_set_create_on_client(value); - // @@protoc_insertion_point(field_set:CSVCMsg_ClassInfo.create_on_client) -} - -// repeated .CSVCMsg_ClassInfo.class_t classes = 2; -inline int CSVCMsg_ClassInfo::_internal_classes_size() const { - return _impl_.classes_.size(); -} -inline int CSVCMsg_ClassInfo::classes_size() const { - return _internal_classes_size(); -} -inline void CSVCMsg_ClassInfo::clear_classes() { - _impl_.classes_.Clear(); -} -inline ::CSVCMsg_ClassInfo_class_t* CSVCMsg_ClassInfo::mutable_classes(int index) { - // @@protoc_insertion_point(field_mutable:CSVCMsg_ClassInfo.classes) - return _impl_.classes_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_ClassInfo_class_t >* -CSVCMsg_ClassInfo::mutable_classes() { - // @@protoc_insertion_point(field_mutable_list:CSVCMsg_ClassInfo.classes) - return &_impl_.classes_; -} -inline const ::CSVCMsg_ClassInfo_class_t& CSVCMsg_ClassInfo::_internal_classes(int index) const { - return _impl_.classes_.Get(index); -} -inline const ::CSVCMsg_ClassInfo_class_t& CSVCMsg_ClassInfo::classes(int index) const { - // @@protoc_insertion_point(field_get:CSVCMsg_ClassInfo.classes) - return _internal_classes(index); -} -inline ::CSVCMsg_ClassInfo_class_t* CSVCMsg_ClassInfo::_internal_add_classes() { - return _impl_.classes_.Add(); -} -inline ::CSVCMsg_ClassInfo_class_t* CSVCMsg_ClassInfo::add_classes() { - ::CSVCMsg_ClassInfo_class_t* _add = _internal_add_classes(); - // @@protoc_insertion_point(field_add:CSVCMsg_ClassInfo.classes) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_ClassInfo_class_t >& -CSVCMsg_ClassInfo::classes() const { - // @@protoc_insertion_point(field_list:CSVCMsg_ClassInfo.classes) - return _impl_.classes_; -} - -// ------------------------------------------------------------------- - -// CSVCMsg_SetPause - -// optional bool paused = 1; -inline bool CSVCMsg_SetPause::_internal_has_paused() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_SetPause::has_paused() const { - return _internal_has_paused(); -} -inline void CSVCMsg_SetPause::clear_paused() { - _impl_.paused_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CSVCMsg_SetPause::_internal_paused() const { - return _impl_.paused_; -} -inline bool CSVCMsg_SetPause::paused() const { - // @@protoc_insertion_point(field_get:CSVCMsg_SetPause.paused) - return _internal_paused(); -} -inline void CSVCMsg_SetPause::_internal_set_paused(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.paused_ = value; -} -inline void CSVCMsg_SetPause::set_paused(bool value) { - _internal_set_paused(value); - // @@protoc_insertion_point(field_set:CSVCMsg_SetPause.paused) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_VoiceInit - -// optional int32 quality = 1; -inline bool CSVCMsg_VoiceInit::_internal_has_quality() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_VoiceInit::has_quality() const { - return _internal_has_quality(); -} -inline void CSVCMsg_VoiceInit::clear_quality() { - _impl_.quality_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_VoiceInit::_internal_quality() const { - return _impl_.quality_; -} -inline int32_t CSVCMsg_VoiceInit::quality() const { - // @@protoc_insertion_point(field_get:CSVCMsg_VoiceInit.quality) - return _internal_quality(); -} -inline void CSVCMsg_VoiceInit::_internal_set_quality(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.quality_ = value; -} -inline void CSVCMsg_VoiceInit::set_quality(int32_t value) { - _internal_set_quality(value); - // @@protoc_insertion_point(field_set:CSVCMsg_VoiceInit.quality) -} - -// optional string codec = 2; -inline bool CSVCMsg_VoiceInit::_internal_has_codec() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_VoiceInit::has_codec() const { - return _internal_has_codec(); -} -inline void CSVCMsg_VoiceInit::clear_codec() { - _impl_.codec_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_VoiceInit::codec() const { - // @@protoc_insertion_point(field_get:CSVCMsg_VoiceInit.codec) - return _internal_codec(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_VoiceInit::set_codec(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.codec_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_VoiceInit.codec) -} -inline std::string* CSVCMsg_VoiceInit::mutable_codec() { - std::string* _s = _internal_mutable_codec(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_VoiceInit.codec) - return _s; -} -inline const std::string& CSVCMsg_VoiceInit::_internal_codec() const { - return _impl_.codec_.Get(); -} -inline void CSVCMsg_VoiceInit::_internal_set_codec(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.codec_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_VoiceInit::_internal_mutable_codec() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.codec_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_VoiceInit::release_codec() { - // @@protoc_insertion_point(field_release:CSVCMsg_VoiceInit.codec) - if (!_internal_has_codec()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.codec_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.codec_.IsDefault()) { - _impl_.codec_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_VoiceInit::set_allocated_codec(std::string* codec) { - if (codec != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.codec_.SetAllocated(codec, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.codec_.IsDefault()) { - _impl_.codec_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_VoiceInit.codec) -} - -// optional int32 version = 3 [default = 0]; -inline bool CSVCMsg_VoiceInit::_internal_has_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_VoiceInit::has_version() const { - return _internal_has_version(); -} -inline void CSVCMsg_VoiceInit::clear_version() { - _impl_.version_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CSVCMsg_VoiceInit::_internal_version() const { - return _impl_.version_; -} -inline int32_t CSVCMsg_VoiceInit::version() const { - // @@protoc_insertion_point(field_get:CSVCMsg_VoiceInit.version) - return _internal_version(); -} -inline void CSVCMsg_VoiceInit::_internal_set_version(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.version_ = value; -} -inline void CSVCMsg_VoiceInit::set_version(int32_t value) { - _internal_set_version(value); - // @@protoc_insertion_point(field_set:CSVCMsg_VoiceInit.version) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_Print - -// optional string text = 1; -inline bool CSVCMsg_Print::_internal_has_text() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_Print::has_text() const { - return _internal_has_text(); -} -inline void CSVCMsg_Print::clear_text() { - _impl_.text_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_Print::text() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Print.text) - return _internal_text(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_Print::set_text(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_Print.text) -} -inline std::string* CSVCMsg_Print::mutable_text() { - std::string* _s = _internal_mutable_text(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_Print.text) - return _s; -} -inline const std::string& CSVCMsg_Print::_internal_text() const { - return _impl_.text_.Get(); -} -inline void CSVCMsg_Print::_internal_set_text(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_Print::_internal_mutable_text() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.text_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_Print::release_text() { - // @@protoc_insertion_point(field_release:CSVCMsg_Print.text) - if (!_internal_has_text()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.text_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_Print::set_allocated_text(std::string* text) { - if (text != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.text_.SetAllocated(text, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_Print.text) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_Sounds_sounddata_t - -// optional sint32 origin_x = 1; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_origin_x() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_origin_x() const { - return _internal_has_origin_x(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_origin_x() { - _impl_.origin_x_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_origin_x() const { - return _impl_.origin_x_; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::origin_x() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.origin_x) - return _internal_origin_x(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_origin_x(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.origin_x_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_origin_x(int32_t value) { - _internal_set_origin_x(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.origin_x) -} - -// optional sint32 origin_y = 2; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_origin_y() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_origin_y() const { - return _internal_has_origin_y(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_origin_y() { - _impl_.origin_y_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_origin_y() const { - return _impl_.origin_y_; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::origin_y() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.origin_y) - return _internal_origin_y(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_origin_y(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.origin_y_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_origin_y(int32_t value) { - _internal_set_origin_y(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.origin_y) -} - -// optional sint32 origin_z = 3; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_origin_z() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_origin_z() const { - return _internal_has_origin_z(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_origin_z() { - _impl_.origin_z_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_origin_z() const { - return _impl_.origin_z_; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::origin_z() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.origin_z) - return _internal_origin_z(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_origin_z(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.origin_z_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_origin_z(int32_t value) { - _internal_set_origin_z(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.origin_z) -} - -// optional uint32 volume = 4; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_volume() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_volume() const { - return _internal_has_volume(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_volume() { - _impl_.volume_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CSVCMsg_Sounds_sounddata_t::_internal_volume() const { - return _impl_.volume_; -} -inline uint32_t CSVCMsg_Sounds_sounddata_t::volume() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.volume) - return _internal_volume(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_volume(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.volume_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_volume(uint32_t value) { - _internal_set_volume(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.volume) -} - -// optional float delay_value = 5; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_delay_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_delay_value() const { - return _internal_has_delay_value(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_delay_value() { - _impl_.delay_value_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float CSVCMsg_Sounds_sounddata_t::_internal_delay_value() const { - return _impl_.delay_value_; -} -inline float CSVCMsg_Sounds_sounddata_t::delay_value() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.delay_value) - return _internal_delay_value(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_delay_value(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.delay_value_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_delay_value(float value) { - _internal_set_delay_value(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.delay_value) -} - -// optional int32 sequence_number = 6; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_sequence_number() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_sequence_number() const { - return _internal_has_sequence_number(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_sequence_number() { - _impl_.sequence_number_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_sequence_number() const { - return _impl_.sequence_number_; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::sequence_number() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.sequence_number) - return _internal_sequence_number(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_sequence_number(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.sequence_number_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_sequence_number(int32_t value) { - _internal_set_sequence_number(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.sequence_number) -} - -// optional int32 entity_index = 7 [default = -1]; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_entity_index() const { - bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_entity_index() const { - return _internal_has_entity_index(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_entity_index() { - _impl_.entity_index_ = -1; - _impl_._has_bits_[0] &= ~0x00040000u; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_entity_index() const { - return _impl_.entity_index_; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::entity_index() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.entity_index) - return _internal_entity_index(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_entity_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00040000u; - _impl_.entity_index_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_entity_index(int32_t value) { - _internal_set_entity_index(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.entity_index) -} - -// optional int32 channel = 8; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_channel() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_channel() const { - return _internal_has_channel(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_channel() { - _impl_.channel_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_channel() const { - return _impl_.channel_; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::channel() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.channel) - return _internal_channel(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_channel(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.channel_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_channel(int32_t value) { - _internal_set_channel(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.channel) -} - -// optional int32 pitch = 9; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_pitch() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_pitch() const { - return _internal_has_pitch(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_pitch() { - _impl_.pitch_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_pitch() const { - return _impl_.pitch_; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::pitch() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.pitch) - return _internal_pitch(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_pitch(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.pitch_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_pitch(int32_t value) { - _internal_set_pitch(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.pitch) -} - -// optional int32 flags = 10; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_flags() const { - return _internal_has_flags(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_flags() { - _impl_.flags_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_flags() const { - return _impl_.flags_; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::flags() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.flags) - return _internal_flags(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_flags(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.flags_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_flags(int32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.flags) -} - -// optional uint32 sound_num = 11; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_sound_num() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_sound_num() const { - return _internal_has_sound_num(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_sound_num() { - _impl_.sound_num_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CSVCMsg_Sounds_sounddata_t::_internal_sound_num() const { - return _impl_.sound_num_; -} -inline uint32_t CSVCMsg_Sounds_sounddata_t::sound_num() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.sound_num) - return _internal_sound_num(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_sound_num(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.sound_num_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_sound_num(uint32_t value) { - _internal_set_sound_num(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.sound_num) -} - -// optional fixed32 sound_num_handle = 12; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_sound_num_handle() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_sound_num_handle() const { - return _internal_has_sound_num_handle(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_sound_num_handle() { - _impl_.sound_num_handle_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CSVCMsg_Sounds_sounddata_t::_internal_sound_num_handle() const { - return _impl_.sound_num_handle_; -} -inline uint32_t CSVCMsg_Sounds_sounddata_t::sound_num_handle() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.sound_num_handle) - return _internal_sound_num_handle(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_sound_num_handle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.sound_num_handle_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_sound_num_handle(uint32_t value) { - _internal_set_sound_num_handle(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.sound_num_handle) -} - -// optional int32 speaker_entity = 13; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_speaker_entity() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_speaker_entity() const { - return _internal_has_speaker_entity(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_speaker_entity() { - _impl_.speaker_entity_ = 0; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_speaker_entity() const { - return _impl_.speaker_entity_; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::speaker_entity() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.speaker_entity) - return _internal_speaker_entity(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_speaker_entity(int32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.speaker_entity_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_speaker_entity(int32_t value) { - _internal_set_speaker_entity(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.speaker_entity) -} - -// optional int32 random_seed = 14; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_random_seed() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_random_seed() const { - return _internal_has_random_seed(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_random_seed() { - _impl_.random_seed_ = 0; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_random_seed() const { - return _impl_.random_seed_; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::random_seed() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.random_seed) - return _internal_random_seed(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_random_seed(int32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.random_seed_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_random_seed(int32_t value) { - _internal_set_random_seed(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.random_seed) -} - -// optional int32 sound_level = 15; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_sound_level() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_sound_level() const { - return _internal_has_sound_level(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_sound_level() { - _impl_.sound_level_ = 0; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::_internal_sound_level() const { - return _impl_.sound_level_; -} -inline int32_t CSVCMsg_Sounds_sounddata_t::sound_level() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.sound_level) - return _internal_sound_level(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_sound_level(int32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.sound_level_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_sound_level(int32_t value) { - _internal_set_sound_level(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.sound_level) -} - -// optional bool is_sentence = 16; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_is_sentence() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_is_sentence() const { - return _internal_has_is_sentence(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_is_sentence() { - _impl_.is_sentence_ = false; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline bool CSVCMsg_Sounds_sounddata_t::_internal_is_sentence() const { - return _impl_.is_sentence_; -} -inline bool CSVCMsg_Sounds_sounddata_t::is_sentence() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.is_sentence) - return _internal_is_sentence(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_is_sentence(bool value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.is_sentence_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_is_sentence(bool value) { - _internal_set_is_sentence(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.is_sentence) -} - -// optional bool is_ambient = 17; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_is_ambient() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_is_ambient() const { - return _internal_has_is_ambient(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_is_ambient() { - _impl_.is_ambient_ = false; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline bool CSVCMsg_Sounds_sounddata_t::_internal_is_ambient() const { - return _impl_.is_ambient_; -} -inline bool CSVCMsg_Sounds_sounddata_t::is_ambient() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.is_ambient) - return _internal_is_ambient(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_is_ambient(bool value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.is_ambient_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_is_ambient(bool value) { - _internal_set_is_ambient(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.is_ambient) -} - -// optional uint32 guid = 18; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_guid() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_guid() const { - return _internal_has_guid(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_guid() { - _impl_.guid_ = 0u; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline uint32_t CSVCMsg_Sounds_sounddata_t::_internal_guid() const { - return _impl_.guid_; -} -inline uint32_t CSVCMsg_Sounds_sounddata_t::guid() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.guid) - return _internal_guid(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_guid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.guid_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_guid(uint32_t value) { - _internal_set_guid(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.guid) -} - -// optional fixed64 sound_resource_id = 19; -inline bool CSVCMsg_Sounds_sounddata_t::_internal_has_sound_resource_id() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool CSVCMsg_Sounds_sounddata_t::has_sound_resource_id() const { - return _internal_has_sound_resource_id(); -} -inline void CSVCMsg_Sounds_sounddata_t::clear_sound_resource_id() { - _impl_.sound_resource_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline uint64_t CSVCMsg_Sounds_sounddata_t::_internal_sound_resource_id() const { - return _impl_.sound_resource_id_; -} -inline uint64_t CSVCMsg_Sounds_sounddata_t::sound_resource_id() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.sound_resource_id) - return _internal_sound_resource_id(); -} -inline void CSVCMsg_Sounds_sounddata_t::_internal_set_sound_resource_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.sound_resource_id_ = value; -} -inline void CSVCMsg_Sounds_sounddata_t::set_sound_resource_id(uint64_t value) { - _internal_set_sound_resource_id(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.sound_resource_id) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_Sounds - -// optional bool reliable_sound = 1; -inline bool CSVCMsg_Sounds::_internal_has_reliable_sound() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_Sounds::has_reliable_sound() const { - return _internal_has_reliable_sound(); -} -inline void CSVCMsg_Sounds::clear_reliable_sound() { - _impl_.reliable_sound_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CSVCMsg_Sounds::_internal_reliable_sound() const { - return _impl_.reliable_sound_; -} -inline bool CSVCMsg_Sounds::reliable_sound() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.reliable_sound) - return _internal_reliable_sound(); -} -inline void CSVCMsg_Sounds::_internal_set_reliable_sound(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.reliable_sound_ = value; -} -inline void CSVCMsg_Sounds::set_reliable_sound(bool value) { - _internal_set_reliable_sound(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.reliable_sound) -} - -// repeated .CSVCMsg_Sounds.sounddata_t sounds = 2; -inline int CSVCMsg_Sounds::_internal_sounds_size() const { - return _impl_.sounds_.size(); -} -inline int CSVCMsg_Sounds::sounds_size() const { - return _internal_sounds_size(); -} -inline void CSVCMsg_Sounds::clear_sounds() { - _impl_.sounds_.Clear(); -} -inline ::CSVCMsg_Sounds_sounddata_t* CSVCMsg_Sounds::mutable_sounds(int index) { - // @@protoc_insertion_point(field_mutable:CSVCMsg_Sounds.sounds) - return _impl_.sounds_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_Sounds_sounddata_t >* -CSVCMsg_Sounds::mutable_sounds() { - // @@protoc_insertion_point(field_mutable_list:CSVCMsg_Sounds.sounds) - return &_impl_.sounds_; -} -inline const ::CSVCMsg_Sounds_sounddata_t& CSVCMsg_Sounds::_internal_sounds(int index) const { - return _impl_.sounds_.Get(index); -} -inline const ::CSVCMsg_Sounds_sounddata_t& CSVCMsg_Sounds::sounds(int index) const { - // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounds) - return _internal_sounds(index); -} -inline ::CSVCMsg_Sounds_sounddata_t* CSVCMsg_Sounds::_internal_add_sounds() { - return _impl_.sounds_.Add(); -} -inline ::CSVCMsg_Sounds_sounddata_t* CSVCMsg_Sounds::add_sounds() { - ::CSVCMsg_Sounds_sounddata_t* _add = _internal_add_sounds(); - // @@protoc_insertion_point(field_add:CSVCMsg_Sounds.sounds) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_Sounds_sounddata_t >& -CSVCMsg_Sounds::sounds() const { - // @@protoc_insertion_point(field_list:CSVCMsg_Sounds.sounds) - return _impl_.sounds_; -} - -// ------------------------------------------------------------------- - -// CSVCMsg_Prefetch - -// optional int32 sound_index = 1; -inline bool CSVCMsg_Prefetch::_internal_has_sound_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_Prefetch::has_sound_index() const { - return _internal_has_sound_index(); -} -inline void CSVCMsg_Prefetch::clear_sound_index() { - _impl_.sound_index_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CSVCMsg_Prefetch::_internal_sound_index() const { - return _impl_.sound_index_; -} -inline int32_t CSVCMsg_Prefetch::sound_index() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Prefetch.sound_index) - return _internal_sound_index(); -} -inline void CSVCMsg_Prefetch::_internal_set_sound_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sound_index_ = value; -} -inline void CSVCMsg_Prefetch::set_sound_index(int32_t value) { - _internal_set_sound_index(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Prefetch.sound_index) -} - -// optional .PrefetchType resource_type = 2 [default = PFT_SOUND]; -inline bool CSVCMsg_Prefetch::_internal_has_resource_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_Prefetch::has_resource_type() const { - return _internal_has_resource_type(); -} -inline void CSVCMsg_Prefetch::clear_resource_type() { - _impl_.resource_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::PrefetchType CSVCMsg_Prefetch::_internal_resource_type() const { - return static_cast< ::PrefetchType >(_impl_.resource_type_); -} -inline ::PrefetchType CSVCMsg_Prefetch::resource_type() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Prefetch.resource_type) - return _internal_resource_type(); -} -inline void CSVCMsg_Prefetch::_internal_set_resource_type(::PrefetchType value) { - assert(::PrefetchType_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.resource_type_ = value; -} -inline void CSVCMsg_Prefetch::set_resource_type(::PrefetchType value) { - _internal_set_resource_type(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Prefetch.resource_type) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_SetView - -// optional int32 entity_index = 1 [default = -1]; -inline bool CSVCMsg_SetView::_internal_has_entity_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_SetView::has_entity_index() const { - return _internal_has_entity_index(); -} -inline void CSVCMsg_SetView::clear_entity_index() { - _impl_.entity_index_ = -1; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CSVCMsg_SetView::_internal_entity_index() const { - return _impl_.entity_index_; -} -inline int32_t CSVCMsg_SetView::entity_index() const { - // @@protoc_insertion_point(field_get:CSVCMsg_SetView.entity_index) - return _internal_entity_index(); -} -inline void CSVCMsg_SetView::_internal_set_entity_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.entity_index_ = value; -} -inline void CSVCMsg_SetView::set_entity_index(int32_t value) { - _internal_set_entity_index(value); - // @@protoc_insertion_point(field_set:CSVCMsg_SetView.entity_index) -} - -// optional int32 slot = 2 [default = -1]; -inline bool CSVCMsg_SetView::_internal_has_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_SetView::has_slot() const { - return _internal_has_slot(); -} -inline void CSVCMsg_SetView::clear_slot() { - _impl_.slot_ = -1; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_SetView::_internal_slot() const { - return _impl_.slot_; -} -inline int32_t CSVCMsg_SetView::slot() const { - // @@protoc_insertion_point(field_get:CSVCMsg_SetView.slot) - return _internal_slot(); -} -inline void CSVCMsg_SetView::_internal_set_slot(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.slot_ = value; -} -inline void CSVCMsg_SetView::set_slot(int32_t value) { - _internal_set_slot(value); - // @@protoc_insertion_point(field_set:CSVCMsg_SetView.slot) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_FixAngle - -// optional bool relative = 1; -inline bool CSVCMsg_FixAngle::_internal_has_relative() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_FixAngle::has_relative() const { - return _internal_has_relative(); -} -inline void CSVCMsg_FixAngle::clear_relative() { - _impl_.relative_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CSVCMsg_FixAngle::_internal_relative() const { - return _impl_.relative_; -} -inline bool CSVCMsg_FixAngle::relative() const { - // @@protoc_insertion_point(field_get:CSVCMsg_FixAngle.relative) - return _internal_relative(); -} -inline void CSVCMsg_FixAngle::_internal_set_relative(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.relative_ = value; -} -inline void CSVCMsg_FixAngle::set_relative(bool value) { - _internal_set_relative(value); - // @@protoc_insertion_point(field_set:CSVCMsg_FixAngle.relative) -} - -// optional .CMsgQAngle angle = 2; -inline bool CSVCMsg_FixAngle::_internal_has_angle() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.angle_ != nullptr); - return value; -} -inline bool CSVCMsg_FixAngle::has_angle() const { - return _internal_has_angle(); -} -inline const ::CMsgQAngle& CSVCMsg_FixAngle::_internal_angle() const { - const ::CMsgQAngle* p = _impl_.angle_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CSVCMsg_FixAngle::angle() const { - // @@protoc_insertion_point(field_get:CSVCMsg_FixAngle.angle) - return _internal_angle(); -} -inline void CSVCMsg_FixAngle::unsafe_arena_set_allocated_angle( - ::CMsgQAngle* angle) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_); - } - _impl_.angle_ = angle; - if (angle) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSVCMsg_FixAngle.angle) -} -inline ::CMsgQAngle* CSVCMsg_FixAngle::release_angle() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgQAngle* temp = _impl_.angle_; - _impl_.angle_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CSVCMsg_FixAngle::unsafe_arena_release_angle() { - // @@protoc_insertion_point(field_release:CSVCMsg_FixAngle.angle) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgQAngle* temp = _impl_.angle_; - _impl_.angle_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CSVCMsg_FixAngle::_internal_mutable_angle() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.angle_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.angle_ = p; - } - return _impl_.angle_; -} -inline ::CMsgQAngle* CSVCMsg_FixAngle::mutable_angle() { - ::CMsgQAngle* _msg = _internal_mutable_angle(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_FixAngle.angle) - return _msg; -} -inline void CSVCMsg_FixAngle::set_allocated_angle(::CMsgQAngle* angle) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_); - } - if (angle) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angle)); - if (message_arena != submessage_arena) { - angle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, angle, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.angle_ = angle; - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_FixAngle.angle) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_CrosshairAngle - -// optional .CMsgQAngle angle = 1; -inline bool CSVCMsg_CrosshairAngle::_internal_has_angle() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.angle_ != nullptr); - return value; -} -inline bool CSVCMsg_CrosshairAngle::has_angle() const { - return _internal_has_angle(); -} -inline const ::CMsgQAngle& CSVCMsg_CrosshairAngle::_internal_angle() const { - const ::CMsgQAngle* p = _impl_.angle_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CSVCMsg_CrosshairAngle::angle() const { - // @@protoc_insertion_point(field_get:CSVCMsg_CrosshairAngle.angle) - return _internal_angle(); -} -inline void CSVCMsg_CrosshairAngle::unsafe_arena_set_allocated_angle( - ::CMsgQAngle* angle) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_); - } - _impl_.angle_ = angle; - if (angle) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSVCMsg_CrosshairAngle.angle) -} -inline ::CMsgQAngle* CSVCMsg_CrosshairAngle::release_angle() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgQAngle* temp = _impl_.angle_; - _impl_.angle_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CSVCMsg_CrosshairAngle::unsafe_arena_release_angle() { - // @@protoc_insertion_point(field_release:CSVCMsg_CrosshairAngle.angle) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgQAngle* temp = _impl_.angle_; - _impl_.angle_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CSVCMsg_CrosshairAngle::_internal_mutable_angle() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.angle_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.angle_ = p; - } - return _impl_.angle_; -} -inline ::CMsgQAngle* CSVCMsg_CrosshairAngle::mutable_angle() { - ::CMsgQAngle* _msg = _internal_mutable_angle(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_CrosshairAngle.angle) - return _msg; -} -inline void CSVCMsg_CrosshairAngle::set_allocated_angle(::CMsgQAngle* angle) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_); - } - if (angle) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angle)); - if (message_arena != submessage_arena) { - angle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, angle, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.angle_ = angle; - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_CrosshairAngle.angle) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_BSPDecal - -// optional .CMsgVector pos = 1; -inline bool CSVCMsg_BSPDecal::_internal_has_pos() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.pos_ != nullptr); - return value; -} -inline bool CSVCMsg_BSPDecal::has_pos() const { - return _internal_has_pos(); -} -inline const ::CMsgVector& CSVCMsg_BSPDecal::_internal_pos() const { - const ::CMsgVector* p = _impl_.pos_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CSVCMsg_BSPDecal::pos() const { - // @@protoc_insertion_point(field_get:CSVCMsg_BSPDecal.pos) - return _internal_pos(); -} -inline void CSVCMsg_BSPDecal::unsafe_arena_set_allocated_pos( - ::CMsgVector* pos) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); - } - _impl_.pos_ = pos; - if (pos) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSVCMsg_BSPDecal.pos) -} -inline ::CMsgVector* CSVCMsg_BSPDecal::release_pos() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.pos_; - _impl_.pos_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CSVCMsg_BSPDecal::unsafe_arena_release_pos() { - // @@protoc_insertion_point(field_release:CSVCMsg_BSPDecal.pos) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.pos_; - _impl_.pos_ = nullptr; - return temp; -} -inline ::CMsgVector* CSVCMsg_BSPDecal::_internal_mutable_pos() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.pos_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.pos_ = p; - } - return _impl_.pos_; -} -inline ::CMsgVector* CSVCMsg_BSPDecal::mutable_pos() { - ::CMsgVector* _msg = _internal_mutable_pos(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_BSPDecal.pos) - return _msg; -} -inline void CSVCMsg_BSPDecal::set_allocated_pos(::CMsgVector* pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); - } - if (pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pos)); - if (message_arena != submessage_arena) { - pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, pos, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.pos_ = pos; - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_BSPDecal.pos) -} - -// optional int32 decal_texture_index = 2; -inline bool CSVCMsg_BSPDecal::_internal_has_decal_texture_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_BSPDecal::has_decal_texture_index() const { - return _internal_has_decal_texture_index(); -} -inline void CSVCMsg_BSPDecal::clear_decal_texture_index() { - _impl_.decal_texture_index_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_BSPDecal::_internal_decal_texture_index() const { - return _impl_.decal_texture_index_; -} -inline int32_t CSVCMsg_BSPDecal::decal_texture_index() const { - // @@protoc_insertion_point(field_get:CSVCMsg_BSPDecal.decal_texture_index) - return _internal_decal_texture_index(); -} -inline void CSVCMsg_BSPDecal::_internal_set_decal_texture_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.decal_texture_index_ = value; -} -inline void CSVCMsg_BSPDecal::set_decal_texture_index(int32_t value) { - _internal_set_decal_texture_index(value); - // @@protoc_insertion_point(field_set:CSVCMsg_BSPDecal.decal_texture_index) -} - -// optional int32 entity_index = 3 [default = -1]; -inline bool CSVCMsg_BSPDecal::_internal_has_entity_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSVCMsg_BSPDecal::has_entity_index() const { - return _internal_has_entity_index(); -} -inline void CSVCMsg_BSPDecal::clear_entity_index() { - _impl_.entity_index_ = -1; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CSVCMsg_BSPDecal::_internal_entity_index() const { - return _impl_.entity_index_; -} -inline int32_t CSVCMsg_BSPDecal::entity_index() const { - // @@protoc_insertion_point(field_get:CSVCMsg_BSPDecal.entity_index) - return _internal_entity_index(); -} -inline void CSVCMsg_BSPDecal::_internal_set_entity_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.entity_index_ = value; -} -inline void CSVCMsg_BSPDecal::set_entity_index(int32_t value) { - _internal_set_entity_index(value); - // @@protoc_insertion_point(field_set:CSVCMsg_BSPDecal.entity_index) -} - -// optional int32 model_index = 4; -inline bool CSVCMsg_BSPDecal::_internal_has_model_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_BSPDecal::has_model_index() const { - return _internal_has_model_index(); -} -inline void CSVCMsg_BSPDecal::clear_model_index() { - _impl_.model_index_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CSVCMsg_BSPDecal::_internal_model_index() const { - return _impl_.model_index_; -} -inline int32_t CSVCMsg_BSPDecal::model_index() const { - // @@protoc_insertion_point(field_get:CSVCMsg_BSPDecal.model_index) - return _internal_model_index(); -} -inline void CSVCMsg_BSPDecal::_internal_set_model_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.model_index_ = value; -} -inline void CSVCMsg_BSPDecal::set_model_index(int32_t value) { - _internal_set_model_index(value); - // @@protoc_insertion_point(field_set:CSVCMsg_BSPDecal.model_index) -} - -// optional bool low_priority = 5; -inline bool CSVCMsg_BSPDecal::_internal_has_low_priority() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSVCMsg_BSPDecal::has_low_priority() const { - return _internal_has_low_priority(); -} -inline void CSVCMsg_BSPDecal::clear_low_priority() { - _impl_.low_priority_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CSVCMsg_BSPDecal::_internal_low_priority() const { - return _impl_.low_priority_; -} -inline bool CSVCMsg_BSPDecal::low_priority() const { - // @@protoc_insertion_point(field_get:CSVCMsg_BSPDecal.low_priority) - return _internal_low_priority(); -} -inline void CSVCMsg_BSPDecal::_internal_set_low_priority(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.low_priority_ = value; -} -inline void CSVCMsg_BSPDecal::set_low_priority(bool value) { - _internal_set_low_priority(value); - // @@protoc_insertion_point(field_set:CSVCMsg_BSPDecal.low_priority) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_SplitScreen - -// optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; -inline bool CSVCMsg_SplitScreen::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_SplitScreen::has_type() const { - return _internal_has_type(); -} -inline void CSVCMsg_SplitScreen::clear_type() { - _impl_.type_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::ESplitScreenMessageType CSVCMsg_SplitScreen::_internal_type() const { - return static_cast< ::ESplitScreenMessageType >(_impl_.type_); -} -inline ::ESplitScreenMessageType CSVCMsg_SplitScreen::type() const { - // @@protoc_insertion_point(field_get:CSVCMsg_SplitScreen.type) - return _internal_type(); -} -inline void CSVCMsg_SplitScreen::_internal_set_type(::ESplitScreenMessageType value) { - assert(::ESplitScreenMessageType_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.type_ = value; -} -inline void CSVCMsg_SplitScreen::set_type(::ESplitScreenMessageType value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CSVCMsg_SplitScreen.type) -} - -// optional int32 slot = 2; -inline bool CSVCMsg_SplitScreen::_internal_has_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_SplitScreen::has_slot() const { - return _internal_has_slot(); -} -inline void CSVCMsg_SplitScreen::clear_slot() { - _impl_.slot_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_SplitScreen::_internal_slot() const { - return _impl_.slot_; -} -inline int32_t CSVCMsg_SplitScreen::slot() const { - // @@protoc_insertion_point(field_get:CSVCMsg_SplitScreen.slot) - return _internal_slot(); -} -inline void CSVCMsg_SplitScreen::_internal_set_slot(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.slot_ = value; -} -inline void CSVCMsg_SplitScreen::set_slot(int32_t value) { - _internal_set_slot(value); - // @@protoc_insertion_point(field_set:CSVCMsg_SplitScreen.slot) -} - -// optional int32 player_index = 3 [default = -1]; -inline bool CSVCMsg_SplitScreen::_internal_has_player_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_SplitScreen::has_player_index() const { - return _internal_has_player_index(); -} -inline void CSVCMsg_SplitScreen::clear_player_index() { - _impl_.player_index_ = -1; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CSVCMsg_SplitScreen::_internal_player_index() const { - return _impl_.player_index_; -} -inline int32_t CSVCMsg_SplitScreen::player_index() const { - // @@protoc_insertion_point(field_get:CSVCMsg_SplitScreen.player_index) - return _internal_player_index(); -} -inline void CSVCMsg_SplitScreen::_internal_set_player_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.player_index_ = value; -} -inline void CSVCMsg_SplitScreen::set_player_index(int32_t value) { - _internal_set_player_index(value); - // @@protoc_insertion_point(field_set:CSVCMsg_SplitScreen.player_index) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_GetCvarValue - -// optional int32 cookie = 1; -inline bool CSVCMsg_GetCvarValue::_internal_has_cookie() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_GetCvarValue::has_cookie() const { - return _internal_has_cookie(); -} -inline void CSVCMsg_GetCvarValue::clear_cookie() { - _impl_.cookie_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_GetCvarValue::_internal_cookie() const { - return _impl_.cookie_; -} -inline int32_t CSVCMsg_GetCvarValue::cookie() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GetCvarValue.cookie) - return _internal_cookie(); -} -inline void CSVCMsg_GetCvarValue::_internal_set_cookie(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.cookie_ = value; -} -inline void CSVCMsg_GetCvarValue::set_cookie(int32_t value) { - _internal_set_cookie(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GetCvarValue.cookie) -} - -// optional string cvar_name = 2; -inline bool CSVCMsg_GetCvarValue::_internal_has_cvar_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_GetCvarValue::has_cvar_name() const { - return _internal_has_cvar_name(); -} -inline void CSVCMsg_GetCvarValue::clear_cvar_name() { - _impl_.cvar_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_GetCvarValue::cvar_name() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GetCvarValue.cvar_name) - return _internal_cvar_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_GetCvarValue::set_cvar_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.cvar_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_GetCvarValue.cvar_name) -} -inline std::string* CSVCMsg_GetCvarValue::mutable_cvar_name() { - std::string* _s = _internal_mutable_cvar_name(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_GetCvarValue.cvar_name) - return _s; -} -inline const std::string& CSVCMsg_GetCvarValue::_internal_cvar_name() const { - return _impl_.cvar_name_.Get(); -} -inline void CSVCMsg_GetCvarValue::_internal_set_cvar_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.cvar_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GetCvarValue::_internal_mutable_cvar_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.cvar_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GetCvarValue::release_cvar_name() { - // @@protoc_insertion_point(field_release:CSVCMsg_GetCvarValue.cvar_name) - if (!_internal_has_cvar_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.cvar_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cvar_name_.IsDefault()) { - _impl_.cvar_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_GetCvarValue::set_allocated_cvar_name(std::string* cvar_name) { - if (cvar_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.cvar_name_.SetAllocated(cvar_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cvar_name_.IsDefault()) { - _impl_.cvar_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GetCvarValue.cvar_name) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_Menu - -// optional int32 dialog_type = 1; -inline bool CSVCMsg_Menu::_internal_has_dialog_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_Menu::has_dialog_type() const { - return _internal_has_dialog_type(); -} -inline void CSVCMsg_Menu::clear_dialog_type() { - _impl_.dialog_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_Menu::_internal_dialog_type() const { - return _impl_.dialog_type_; -} -inline int32_t CSVCMsg_Menu::dialog_type() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Menu.dialog_type) - return _internal_dialog_type(); -} -inline void CSVCMsg_Menu::_internal_set_dialog_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.dialog_type_ = value; -} -inline void CSVCMsg_Menu::set_dialog_type(int32_t value) { - _internal_set_dialog_type(value); - // @@protoc_insertion_point(field_set:CSVCMsg_Menu.dialog_type) -} - -// optional bytes menu_key_values = 2; -inline bool CSVCMsg_Menu::_internal_has_menu_key_values() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_Menu::has_menu_key_values() const { - return _internal_has_menu_key_values(); -} -inline void CSVCMsg_Menu::clear_menu_key_values() { - _impl_.menu_key_values_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_Menu::menu_key_values() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Menu.menu_key_values) - return _internal_menu_key_values(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_Menu::set_menu_key_values(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.menu_key_values_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_Menu.menu_key_values) -} -inline std::string* CSVCMsg_Menu::mutable_menu_key_values() { - std::string* _s = _internal_mutable_menu_key_values(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_Menu.menu_key_values) - return _s; -} -inline const std::string& CSVCMsg_Menu::_internal_menu_key_values() const { - return _impl_.menu_key_values_.Get(); -} -inline void CSVCMsg_Menu::_internal_set_menu_key_values(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.menu_key_values_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_Menu::_internal_mutable_menu_key_values() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.menu_key_values_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_Menu::release_menu_key_values() { - // @@protoc_insertion_point(field_release:CSVCMsg_Menu.menu_key_values) - if (!_internal_has_menu_key_values()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.menu_key_values_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.menu_key_values_.IsDefault()) { - _impl_.menu_key_values_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_Menu::set_allocated_menu_key_values(std::string* menu_key_values) { - if (menu_key_values != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.menu_key_values_.SetAllocated(menu_key_values, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.menu_key_values_.IsDefault()) { - _impl_.menu_key_values_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_Menu.menu_key_values) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_UserMessage - -// optional int32 msg_type = 1; -inline bool CSVCMsg_UserMessage::_internal_has_msg_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_UserMessage::has_msg_type() const { - return _internal_has_msg_type(); -} -inline void CSVCMsg_UserMessage::clear_msg_type() { - _impl_.msg_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_UserMessage::_internal_msg_type() const { - return _impl_.msg_type_; -} -inline int32_t CSVCMsg_UserMessage::msg_type() const { - // @@protoc_insertion_point(field_get:CSVCMsg_UserMessage.msg_type) - return _internal_msg_type(); -} -inline void CSVCMsg_UserMessage::_internal_set_msg_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.msg_type_ = value; -} -inline void CSVCMsg_UserMessage::set_msg_type(int32_t value) { - _internal_set_msg_type(value); - // @@protoc_insertion_point(field_set:CSVCMsg_UserMessage.msg_type) -} - -// optional bytes msg_data = 2; -inline bool CSVCMsg_UserMessage::_internal_has_msg_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_UserMessage::has_msg_data() const { - return _internal_has_msg_data(); -} -inline void CSVCMsg_UserMessage::clear_msg_data() { - _impl_.msg_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_UserMessage::msg_data() const { - // @@protoc_insertion_point(field_get:CSVCMsg_UserMessage.msg_data) - return _internal_msg_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_UserMessage::set_msg_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.msg_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_UserMessage.msg_data) -} -inline std::string* CSVCMsg_UserMessage::mutable_msg_data() { - std::string* _s = _internal_mutable_msg_data(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_UserMessage.msg_data) - return _s; -} -inline const std::string& CSVCMsg_UserMessage::_internal_msg_data() const { - return _impl_.msg_data_.Get(); -} -inline void CSVCMsg_UserMessage::_internal_set_msg_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.msg_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_UserMessage::_internal_mutable_msg_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.msg_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_UserMessage::release_msg_data() { - // @@protoc_insertion_point(field_release:CSVCMsg_UserMessage.msg_data) - if (!_internal_has_msg_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.msg_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.msg_data_.IsDefault()) { - _impl_.msg_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_UserMessage::set_allocated_msg_data(std::string* msg_data) { - if (msg_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.msg_data_.SetAllocated(msg_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.msg_data_.IsDefault()) { - _impl_.msg_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_UserMessage.msg_data) -} - -// optional int32 passthrough = 3; -inline bool CSVCMsg_UserMessage::_internal_has_passthrough() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_UserMessage::has_passthrough() const { - return _internal_has_passthrough(); -} -inline void CSVCMsg_UserMessage::clear_passthrough() { - _impl_.passthrough_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CSVCMsg_UserMessage::_internal_passthrough() const { - return _impl_.passthrough_; -} -inline int32_t CSVCMsg_UserMessage::passthrough() const { - // @@protoc_insertion_point(field_get:CSVCMsg_UserMessage.passthrough) - return _internal_passthrough(); -} -inline void CSVCMsg_UserMessage::_internal_set_passthrough(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.passthrough_ = value; -} -inline void CSVCMsg_UserMessage::set_passthrough(int32_t value) { - _internal_set_passthrough(value); - // @@protoc_insertion_point(field_set:CSVCMsg_UserMessage.passthrough) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_SendTable_sendprop_t - -// optional int32 type = 1; -inline bool CSVCMsg_SendTable_sendprop_t::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_SendTable_sendprop_t::has_type() const { - return _internal_has_type(); -} -inline void CSVCMsg_SendTable_sendprop_t::clear_type() { - _impl_.type_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CSVCMsg_SendTable_sendprop_t::_internal_type() const { - return _impl_.type_; -} -inline int32_t CSVCMsg_SendTable_sendprop_t::type() const { - // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.sendprop_t.type) - return _internal_type(); -} -inline void CSVCMsg_SendTable_sendprop_t::_internal_set_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.type_ = value; -} -inline void CSVCMsg_SendTable_sendprop_t::set_type(int32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.sendprop_t.type) -} - -// optional string var_name = 2; -inline bool CSVCMsg_SendTable_sendprop_t::_internal_has_var_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_SendTable_sendprop_t::has_var_name() const { - return _internal_has_var_name(); -} -inline void CSVCMsg_SendTable_sendprop_t::clear_var_name() { - _impl_.var_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_SendTable_sendprop_t::var_name() const { - // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.sendprop_t.var_name) - return _internal_var_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_SendTable_sendprop_t::set_var_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.var_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.sendprop_t.var_name) -} -inline std::string* CSVCMsg_SendTable_sendprop_t::mutable_var_name() { - std::string* _s = _internal_mutable_var_name(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_SendTable.sendprop_t.var_name) - return _s; -} -inline const std::string& CSVCMsg_SendTable_sendprop_t::_internal_var_name() const { - return _impl_.var_name_.Get(); -} -inline void CSVCMsg_SendTable_sendprop_t::_internal_set_var_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.var_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_SendTable_sendprop_t::_internal_mutable_var_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.var_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_SendTable_sendprop_t::release_var_name() { - // @@protoc_insertion_point(field_release:CSVCMsg_SendTable.sendprop_t.var_name) - if (!_internal_has_var_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.var_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.var_name_.IsDefault()) { - _impl_.var_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_SendTable_sendprop_t::set_allocated_var_name(std::string* var_name) { - if (var_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.var_name_.SetAllocated(var_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.var_name_.IsDefault()) { - _impl_.var_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_SendTable.sendprop_t.var_name) -} - -// optional int32 flags = 3; -inline bool CSVCMsg_SendTable_sendprop_t::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSVCMsg_SendTable_sendprop_t::has_flags() const { - return _internal_has_flags(); -} -inline void CSVCMsg_SendTable_sendprop_t::clear_flags() { - _impl_.flags_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CSVCMsg_SendTable_sendprop_t::_internal_flags() const { - return _impl_.flags_; -} -inline int32_t CSVCMsg_SendTable_sendprop_t::flags() const { - // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.sendprop_t.flags) - return _internal_flags(); -} -inline void CSVCMsg_SendTable_sendprop_t::_internal_set_flags(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.flags_ = value; -} -inline void CSVCMsg_SendTable_sendprop_t::set_flags(int32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.sendprop_t.flags) -} - -// optional int32 priority = 4; -inline bool CSVCMsg_SendTable_sendprop_t::_internal_has_priority() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSVCMsg_SendTable_sendprop_t::has_priority() const { - return _internal_has_priority(); -} -inline void CSVCMsg_SendTable_sendprop_t::clear_priority() { - _impl_.priority_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CSVCMsg_SendTable_sendprop_t::_internal_priority() const { - return _impl_.priority_; -} -inline int32_t CSVCMsg_SendTable_sendprop_t::priority() const { - // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.sendprop_t.priority) - return _internal_priority(); -} -inline void CSVCMsg_SendTable_sendprop_t::_internal_set_priority(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.priority_ = value; -} -inline void CSVCMsg_SendTable_sendprop_t::set_priority(int32_t value) { - _internal_set_priority(value); - // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.sendprop_t.priority) -} - -// optional string dt_name = 5; -inline bool CSVCMsg_SendTable_sendprop_t::_internal_has_dt_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_SendTable_sendprop_t::has_dt_name() const { - return _internal_has_dt_name(); -} -inline void CSVCMsg_SendTable_sendprop_t::clear_dt_name() { - _impl_.dt_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CSVCMsg_SendTable_sendprop_t::dt_name() const { - // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.sendprop_t.dt_name) - return _internal_dt_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_SendTable_sendprop_t::set_dt_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.dt_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.sendprop_t.dt_name) -} -inline std::string* CSVCMsg_SendTable_sendprop_t::mutable_dt_name() { - std::string* _s = _internal_mutable_dt_name(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_SendTable.sendprop_t.dt_name) - return _s; -} -inline const std::string& CSVCMsg_SendTable_sendprop_t::_internal_dt_name() const { - return _impl_.dt_name_.Get(); -} -inline void CSVCMsg_SendTable_sendprop_t::_internal_set_dt_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.dt_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_SendTable_sendprop_t::_internal_mutable_dt_name() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.dt_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_SendTable_sendprop_t::release_dt_name() { - // @@protoc_insertion_point(field_release:CSVCMsg_SendTable.sendprop_t.dt_name) - if (!_internal_has_dt_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.dt_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dt_name_.IsDefault()) { - _impl_.dt_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_SendTable_sendprop_t::set_allocated_dt_name(std::string* dt_name) { - if (dt_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.dt_name_.SetAllocated(dt_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dt_name_.IsDefault()) { - _impl_.dt_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_SendTable.sendprop_t.dt_name) -} - -// optional int32 num_elements = 6; -inline bool CSVCMsg_SendTable_sendprop_t::_internal_has_num_elements() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSVCMsg_SendTable_sendprop_t::has_num_elements() const { - return _internal_has_num_elements(); -} -inline void CSVCMsg_SendTable_sendprop_t::clear_num_elements() { - _impl_.num_elements_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CSVCMsg_SendTable_sendprop_t::_internal_num_elements() const { - return _impl_.num_elements_; -} -inline int32_t CSVCMsg_SendTable_sendprop_t::num_elements() const { - // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.sendprop_t.num_elements) - return _internal_num_elements(); -} -inline void CSVCMsg_SendTable_sendprop_t::_internal_set_num_elements(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.num_elements_ = value; -} -inline void CSVCMsg_SendTable_sendprop_t::set_num_elements(int32_t value) { - _internal_set_num_elements(value); - // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.sendprop_t.num_elements) -} - -// optional float low_value = 7; -inline bool CSVCMsg_SendTable_sendprop_t::_internal_has_low_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CSVCMsg_SendTable_sendprop_t::has_low_value() const { - return _internal_has_low_value(); -} -inline void CSVCMsg_SendTable_sendprop_t::clear_low_value() { - _impl_.low_value_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline float CSVCMsg_SendTable_sendprop_t::_internal_low_value() const { - return _impl_.low_value_; -} -inline float CSVCMsg_SendTable_sendprop_t::low_value() const { - // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.sendprop_t.low_value) - return _internal_low_value(); -} -inline void CSVCMsg_SendTable_sendprop_t::_internal_set_low_value(float value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.low_value_ = value; -} -inline void CSVCMsg_SendTable_sendprop_t::set_low_value(float value) { - _internal_set_low_value(value); - // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.sendprop_t.low_value) -} - -// optional float high_value = 8; -inline bool CSVCMsg_SendTable_sendprop_t::_internal_has_high_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CSVCMsg_SendTable_sendprop_t::has_high_value() const { - return _internal_has_high_value(); -} -inline void CSVCMsg_SendTable_sendprop_t::clear_high_value() { - _impl_.high_value_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline float CSVCMsg_SendTable_sendprop_t::_internal_high_value() const { - return _impl_.high_value_; -} -inline float CSVCMsg_SendTable_sendprop_t::high_value() const { - // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.sendprop_t.high_value) - return _internal_high_value(); -} -inline void CSVCMsg_SendTable_sendprop_t::_internal_set_high_value(float value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.high_value_ = value; -} -inline void CSVCMsg_SendTable_sendprop_t::set_high_value(float value) { - _internal_set_high_value(value); - // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.sendprop_t.high_value) -} - -// optional int32 num_bits = 9; -inline bool CSVCMsg_SendTable_sendprop_t::_internal_has_num_bits() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CSVCMsg_SendTable_sendprop_t::has_num_bits() const { - return _internal_has_num_bits(); -} -inline void CSVCMsg_SendTable_sendprop_t::clear_num_bits() { - _impl_.num_bits_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t CSVCMsg_SendTable_sendprop_t::_internal_num_bits() const { - return _impl_.num_bits_; -} -inline int32_t CSVCMsg_SendTable_sendprop_t::num_bits() const { - // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.sendprop_t.num_bits) - return _internal_num_bits(); -} -inline void CSVCMsg_SendTable_sendprop_t::_internal_set_num_bits(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.num_bits_ = value; -} -inline void CSVCMsg_SendTable_sendprop_t::set_num_bits(int32_t value) { - _internal_set_num_bits(value); - // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.sendprop_t.num_bits) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_SendTable - -// optional bool is_end = 1; -inline bool CSVCMsg_SendTable::_internal_has_is_end() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_SendTable::has_is_end() const { - return _internal_has_is_end(); -} -inline void CSVCMsg_SendTable::clear_is_end() { - _impl_.is_end_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CSVCMsg_SendTable::_internal_is_end() const { - return _impl_.is_end_; -} -inline bool CSVCMsg_SendTable::is_end() const { - // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.is_end) - return _internal_is_end(); -} -inline void CSVCMsg_SendTable::_internal_set_is_end(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.is_end_ = value; -} -inline void CSVCMsg_SendTable::set_is_end(bool value) { - _internal_set_is_end(value); - // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.is_end) -} - -// optional string net_table_name = 2; -inline bool CSVCMsg_SendTable::_internal_has_net_table_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_SendTable::has_net_table_name() const { - return _internal_has_net_table_name(); -} -inline void CSVCMsg_SendTable::clear_net_table_name() { - _impl_.net_table_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_SendTable::net_table_name() const { - // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.net_table_name) - return _internal_net_table_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_SendTable::set_net_table_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.net_table_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.net_table_name) -} -inline std::string* CSVCMsg_SendTable::mutable_net_table_name() { - std::string* _s = _internal_mutable_net_table_name(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_SendTable.net_table_name) - return _s; -} -inline const std::string& CSVCMsg_SendTable::_internal_net_table_name() const { - return _impl_.net_table_name_.Get(); -} -inline void CSVCMsg_SendTable::_internal_set_net_table_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.net_table_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_SendTable::_internal_mutable_net_table_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.net_table_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_SendTable::release_net_table_name() { - // @@protoc_insertion_point(field_release:CSVCMsg_SendTable.net_table_name) - if (!_internal_has_net_table_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.net_table_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.net_table_name_.IsDefault()) { - _impl_.net_table_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_SendTable::set_allocated_net_table_name(std::string* net_table_name) { - if (net_table_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.net_table_name_.SetAllocated(net_table_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.net_table_name_.IsDefault()) { - _impl_.net_table_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_SendTable.net_table_name) -} - -// optional bool needs_decoder = 3; -inline bool CSVCMsg_SendTable::_internal_has_needs_decoder() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_SendTable::has_needs_decoder() const { - return _internal_has_needs_decoder(); -} -inline void CSVCMsg_SendTable::clear_needs_decoder() { - _impl_.needs_decoder_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CSVCMsg_SendTable::_internal_needs_decoder() const { - return _impl_.needs_decoder_; -} -inline bool CSVCMsg_SendTable::needs_decoder() const { - // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.needs_decoder) - return _internal_needs_decoder(); -} -inline void CSVCMsg_SendTable::_internal_set_needs_decoder(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.needs_decoder_ = value; -} -inline void CSVCMsg_SendTable::set_needs_decoder(bool value) { - _internal_set_needs_decoder(value); - // @@protoc_insertion_point(field_set:CSVCMsg_SendTable.needs_decoder) -} - -// repeated .CSVCMsg_SendTable.sendprop_t props = 4; -inline int CSVCMsg_SendTable::_internal_props_size() const { - return _impl_.props_.size(); -} -inline int CSVCMsg_SendTable::props_size() const { - return _internal_props_size(); -} -inline void CSVCMsg_SendTable::clear_props() { - _impl_.props_.Clear(); -} -inline ::CSVCMsg_SendTable_sendprop_t* CSVCMsg_SendTable::mutable_props(int index) { - // @@protoc_insertion_point(field_mutable:CSVCMsg_SendTable.props) - return _impl_.props_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_SendTable_sendprop_t >* -CSVCMsg_SendTable::mutable_props() { - // @@protoc_insertion_point(field_mutable_list:CSVCMsg_SendTable.props) - return &_impl_.props_; -} -inline const ::CSVCMsg_SendTable_sendprop_t& CSVCMsg_SendTable::_internal_props(int index) const { - return _impl_.props_.Get(index); -} -inline const ::CSVCMsg_SendTable_sendprop_t& CSVCMsg_SendTable::props(int index) const { - // @@protoc_insertion_point(field_get:CSVCMsg_SendTable.props) - return _internal_props(index); -} -inline ::CSVCMsg_SendTable_sendprop_t* CSVCMsg_SendTable::_internal_add_props() { - return _impl_.props_.Add(); -} -inline ::CSVCMsg_SendTable_sendprop_t* CSVCMsg_SendTable::add_props() { - ::CSVCMsg_SendTable_sendprop_t* _add = _internal_add_props(); - // @@protoc_insertion_point(field_add:CSVCMsg_SendTable.props) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_SendTable_sendprop_t >& -CSVCMsg_SendTable::props() const { - // @@protoc_insertion_point(field_list:CSVCMsg_SendTable.props) - return _impl_.props_; -} - -// ------------------------------------------------------------------- - -// CSVCMsg_GameEventList_key_t - -// optional int32 type = 1; -inline bool CSVCMsg_GameEventList_key_t::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_GameEventList_key_t::has_type() const { - return _internal_has_type(); -} -inline void CSVCMsg_GameEventList_key_t::clear_type() { - _impl_.type_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_GameEventList_key_t::_internal_type() const { - return _impl_.type_; -} -inline int32_t CSVCMsg_GameEventList_key_t::type() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameEventList.key_t.type) - return _internal_type(); -} -inline void CSVCMsg_GameEventList_key_t::_internal_set_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.type_ = value; -} -inline void CSVCMsg_GameEventList_key_t::set_type(int32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameEventList.key_t.type) -} - -// optional string name = 2; -inline bool CSVCMsg_GameEventList_key_t::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_GameEventList_key_t::has_name() const { - return _internal_has_name(); -} -inline void CSVCMsg_GameEventList_key_t::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_GameEventList_key_t::name() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameEventList.key_t.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_GameEventList_key_t::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_GameEventList.key_t.name) -} -inline std::string* CSVCMsg_GameEventList_key_t::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_GameEventList.key_t.name) - return _s; -} -inline const std::string& CSVCMsg_GameEventList_key_t::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CSVCMsg_GameEventList_key_t::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameEventList_key_t::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameEventList_key_t::release_name() { - // @@protoc_insertion_point(field_release:CSVCMsg_GameEventList.key_t.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_GameEventList_key_t::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameEventList.key_t.name) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_GameEventList_descriptor_t - -// optional int32 eventid = 1; -inline bool CSVCMsg_GameEventList_descriptor_t::_internal_has_eventid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_GameEventList_descriptor_t::has_eventid() const { - return _internal_has_eventid(); -} -inline void CSVCMsg_GameEventList_descriptor_t::clear_eventid() { - _impl_.eventid_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_GameEventList_descriptor_t::_internal_eventid() const { - return _impl_.eventid_; -} -inline int32_t CSVCMsg_GameEventList_descriptor_t::eventid() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameEventList.descriptor_t.eventid) - return _internal_eventid(); -} -inline void CSVCMsg_GameEventList_descriptor_t::_internal_set_eventid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.eventid_ = value; -} -inline void CSVCMsg_GameEventList_descriptor_t::set_eventid(int32_t value) { - _internal_set_eventid(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameEventList.descriptor_t.eventid) -} - -// optional string name = 2; -inline bool CSVCMsg_GameEventList_descriptor_t::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_GameEventList_descriptor_t::has_name() const { - return _internal_has_name(); -} -inline void CSVCMsg_GameEventList_descriptor_t::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_GameEventList_descriptor_t::name() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameEventList.descriptor_t.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_GameEventList_descriptor_t::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_GameEventList.descriptor_t.name) -} -inline std::string* CSVCMsg_GameEventList_descriptor_t::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_GameEventList.descriptor_t.name) - return _s; -} -inline const std::string& CSVCMsg_GameEventList_descriptor_t::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CSVCMsg_GameEventList_descriptor_t::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameEventList_descriptor_t::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameEventList_descriptor_t::release_name() { - // @@protoc_insertion_point(field_release:CSVCMsg_GameEventList.descriptor_t.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_GameEventList_descriptor_t::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameEventList.descriptor_t.name) -} - -// repeated .CSVCMsg_GameEventList.key_t keys = 3; -inline int CSVCMsg_GameEventList_descriptor_t::_internal_keys_size() const { - return _impl_.keys_.size(); -} -inline int CSVCMsg_GameEventList_descriptor_t::keys_size() const { - return _internal_keys_size(); -} -inline void CSVCMsg_GameEventList_descriptor_t::clear_keys() { - _impl_.keys_.Clear(); -} -inline ::CSVCMsg_GameEventList_key_t* CSVCMsg_GameEventList_descriptor_t::mutable_keys(int index) { - // @@protoc_insertion_point(field_mutable:CSVCMsg_GameEventList.descriptor_t.keys) - return _impl_.keys_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_key_t >* -CSVCMsg_GameEventList_descriptor_t::mutable_keys() { - // @@protoc_insertion_point(field_mutable_list:CSVCMsg_GameEventList.descriptor_t.keys) - return &_impl_.keys_; -} -inline const ::CSVCMsg_GameEventList_key_t& CSVCMsg_GameEventList_descriptor_t::_internal_keys(int index) const { - return _impl_.keys_.Get(index); -} -inline const ::CSVCMsg_GameEventList_key_t& CSVCMsg_GameEventList_descriptor_t::keys(int index) const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameEventList.descriptor_t.keys) - return _internal_keys(index); -} -inline ::CSVCMsg_GameEventList_key_t* CSVCMsg_GameEventList_descriptor_t::_internal_add_keys() { - return _impl_.keys_.Add(); -} -inline ::CSVCMsg_GameEventList_key_t* CSVCMsg_GameEventList_descriptor_t::add_keys() { - ::CSVCMsg_GameEventList_key_t* _add = _internal_add_keys(); - // @@protoc_insertion_point(field_add:CSVCMsg_GameEventList.descriptor_t.keys) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_key_t >& -CSVCMsg_GameEventList_descriptor_t::keys() const { - // @@protoc_insertion_point(field_list:CSVCMsg_GameEventList.descriptor_t.keys) - return _impl_.keys_; -} - -// ------------------------------------------------------------------- - -// CSVCMsg_GameEventList - -// repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1; -inline int CSVCMsg_GameEventList::_internal_descriptors_size() const { - return _impl_.descriptors_.size(); -} -inline int CSVCMsg_GameEventList::descriptors_size() const { - return _internal_descriptors_size(); -} -inline void CSVCMsg_GameEventList::clear_descriptors() { - _impl_.descriptors_.Clear(); -} -inline ::CSVCMsg_GameEventList_descriptor_t* CSVCMsg_GameEventList::mutable_descriptors(int index) { - // @@protoc_insertion_point(field_mutable:CSVCMsg_GameEventList.descriptors) - return _impl_.descriptors_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_descriptor_t >* -CSVCMsg_GameEventList::mutable_descriptors() { - // @@protoc_insertion_point(field_mutable_list:CSVCMsg_GameEventList.descriptors) - return &_impl_.descriptors_; -} -inline const ::CSVCMsg_GameEventList_descriptor_t& CSVCMsg_GameEventList::_internal_descriptors(int index) const { - return _impl_.descriptors_.Get(index); -} -inline const ::CSVCMsg_GameEventList_descriptor_t& CSVCMsg_GameEventList::descriptors(int index) const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameEventList.descriptors) - return _internal_descriptors(index); -} -inline ::CSVCMsg_GameEventList_descriptor_t* CSVCMsg_GameEventList::_internal_add_descriptors() { - return _impl_.descriptors_.Add(); -} -inline ::CSVCMsg_GameEventList_descriptor_t* CSVCMsg_GameEventList::add_descriptors() { - ::CSVCMsg_GameEventList_descriptor_t* _add = _internal_add_descriptors(); - // @@protoc_insertion_point(field_add:CSVCMsg_GameEventList.descriptors) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEventList_descriptor_t >& -CSVCMsg_GameEventList::descriptors() const { - // @@protoc_insertion_point(field_list:CSVCMsg_GameEventList.descriptors) - return _impl_.descriptors_; -} - -// ------------------------------------------------------------------- - -// CSVCMsg_PacketEntities_alternate_baseline_t - -// optional int32 entity_index = 1; -inline bool CSVCMsg_PacketEntities_alternate_baseline_t::_internal_has_entity_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities_alternate_baseline_t::has_entity_index() const { - return _internal_has_entity_index(); -} -inline void CSVCMsg_PacketEntities_alternate_baseline_t::clear_entity_index() { - _impl_.entity_index_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CSVCMsg_PacketEntities_alternate_baseline_t::_internal_entity_index() const { - return _impl_.entity_index_; -} -inline int32_t CSVCMsg_PacketEntities_alternate_baseline_t::entity_index() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.alternate_baseline_t.entity_index) - return _internal_entity_index(); -} -inline void CSVCMsg_PacketEntities_alternate_baseline_t::_internal_set_entity_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.entity_index_ = value; -} -inline void CSVCMsg_PacketEntities_alternate_baseline_t::set_entity_index(int32_t value) { - _internal_set_entity_index(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.alternate_baseline_t.entity_index) -} - -// optional int32 baseline_index = 2; -inline bool CSVCMsg_PacketEntities_alternate_baseline_t::_internal_has_baseline_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities_alternate_baseline_t::has_baseline_index() const { - return _internal_has_baseline_index(); -} -inline void CSVCMsg_PacketEntities_alternate_baseline_t::clear_baseline_index() { - _impl_.baseline_index_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_PacketEntities_alternate_baseline_t::_internal_baseline_index() const { - return _impl_.baseline_index_; -} -inline int32_t CSVCMsg_PacketEntities_alternate_baseline_t::baseline_index() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.alternate_baseline_t.baseline_index) - return _internal_baseline_index(); -} -inline void CSVCMsg_PacketEntities_alternate_baseline_t::_internal_set_baseline_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.baseline_index_ = value; -} -inline void CSVCMsg_PacketEntities_alternate_baseline_t::set_baseline_index(int32_t value) { - _internal_set_baseline_index(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.alternate_baseline_t.baseline_index) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_PacketEntities_non_transmitted_entities_t - -// optional int32 header_count = 1; -inline bool CSVCMsg_PacketEntities_non_transmitted_entities_t::_internal_has_header_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities_non_transmitted_entities_t::has_header_count() const { - return _internal_has_header_count(); -} -inline void CSVCMsg_PacketEntities_non_transmitted_entities_t::clear_header_count() { - _impl_.header_count_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_PacketEntities_non_transmitted_entities_t::_internal_header_count() const { - return _impl_.header_count_; -} -inline int32_t CSVCMsg_PacketEntities_non_transmitted_entities_t::header_count() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.non_transmitted_entities_t.header_count) - return _internal_header_count(); -} -inline void CSVCMsg_PacketEntities_non_transmitted_entities_t::_internal_set_header_count(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.header_count_ = value; -} -inline void CSVCMsg_PacketEntities_non_transmitted_entities_t::set_header_count(int32_t value) { - _internal_set_header_count(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.non_transmitted_entities_t.header_count) -} - -// optional bytes data = 2; -inline bool CSVCMsg_PacketEntities_non_transmitted_entities_t::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities_non_transmitted_entities_t::has_data() const { - return _internal_has_data(); -} -inline void CSVCMsg_PacketEntities_non_transmitted_entities_t::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_PacketEntities_non_transmitted_entities_t::data() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.non_transmitted_entities_t.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_PacketEntities_non_transmitted_entities_t::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.non_transmitted_entities_t.data) -} -inline std::string* CSVCMsg_PacketEntities_non_transmitted_entities_t::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_PacketEntities.non_transmitted_entities_t.data) - return _s; -} -inline const std::string& CSVCMsg_PacketEntities_non_transmitted_entities_t::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CSVCMsg_PacketEntities_non_transmitted_entities_t::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_PacketEntities_non_transmitted_entities_t::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_PacketEntities_non_transmitted_entities_t::release_data() { - // @@protoc_insertion_point(field_release:CSVCMsg_PacketEntities.non_transmitted_entities_t.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_PacketEntities_non_transmitted_entities_t::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_PacketEntities.non_transmitted_entities_t.data) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_PacketEntities_outofpvs_entity_updates_t - -// optional int32 count = 1; -inline bool CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_internal_has_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities_outofpvs_entity_updates_t::has_count() const { - return _internal_has_count(); -} -inline void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::clear_count() { - _impl_.count_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_internal_count() const { - return _impl_.count_; -} -inline int32_t CSVCMsg_PacketEntities_outofpvs_entity_updates_t::count() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.outofpvs_entity_updates_t.count) - return _internal_count(); -} -inline void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_internal_set_count(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.count_ = value; -} -inline void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::set_count(int32_t value) { - _internal_set_count(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.outofpvs_entity_updates_t.count) -} - -// optional bytes data = 2; -inline bool CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities_outofpvs_entity_updates_t::has_data() const { - return _internal_has_data(); -} -inline void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_PacketEntities_outofpvs_entity_updates_t::data() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.outofpvs_entity_updates_t.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.outofpvs_entity_updates_t.data) -} -inline std::string* CSVCMsg_PacketEntities_outofpvs_entity_updates_t::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_PacketEntities.outofpvs_entity_updates_t.data) - return _s; -} -inline const std::string& CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_PacketEntities_outofpvs_entity_updates_t::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_PacketEntities_outofpvs_entity_updates_t::release_data() { - // @@protoc_insertion_point(field_release:CSVCMsg_PacketEntities.outofpvs_entity_updates_t.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_PacketEntities_outofpvs_entity_updates_t::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_PacketEntities.outofpvs_entity_updates_t.data) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_PacketEntities - -// optional int32 max_entries = 1; -inline bool CSVCMsg_PacketEntities::_internal_has_max_entries() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities::has_max_entries() const { - return _internal_has_max_entries(); -} -inline void CSVCMsg_PacketEntities::clear_max_entries() { - _impl_.max_entries_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CSVCMsg_PacketEntities::_internal_max_entries() const { - return _impl_.max_entries_; -} -inline int32_t CSVCMsg_PacketEntities::max_entries() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.max_entries) - return _internal_max_entries(); -} -inline void CSVCMsg_PacketEntities::_internal_set_max_entries(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.max_entries_ = value; -} -inline void CSVCMsg_PacketEntities::set_max_entries(int32_t value) { - _internal_set_max_entries(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.max_entries) -} - -// optional int32 updated_entries = 2; -inline bool CSVCMsg_PacketEntities::_internal_has_updated_entries() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities::has_updated_entries() const { - return _internal_has_updated_entries(); -} -inline void CSVCMsg_PacketEntities::clear_updated_entries() { - _impl_.updated_entries_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CSVCMsg_PacketEntities::_internal_updated_entries() const { - return _impl_.updated_entries_; -} -inline int32_t CSVCMsg_PacketEntities::updated_entries() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.updated_entries) - return _internal_updated_entries(); -} -inline void CSVCMsg_PacketEntities::_internal_set_updated_entries(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.updated_entries_ = value; -} -inline void CSVCMsg_PacketEntities::set_updated_entries(int32_t value) { - _internal_set_updated_entries(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.updated_entries) -} - -// optional bool legacy_is_delta = 3; -inline bool CSVCMsg_PacketEntities::_internal_has_legacy_is_delta() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities::has_legacy_is_delta() const { - return _internal_has_legacy_is_delta(); -} -inline void CSVCMsg_PacketEntities::clear_legacy_is_delta() { - _impl_.legacy_is_delta_ = false; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline bool CSVCMsg_PacketEntities::_internal_legacy_is_delta() const { - return _impl_.legacy_is_delta_; -} -inline bool CSVCMsg_PacketEntities::legacy_is_delta() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.legacy_is_delta) - return _internal_legacy_is_delta(); -} -inline void CSVCMsg_PacketEntities::_internal_set_legacy_is_delta(bool value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.legacy_is_delta_ = value; -} -inline void CSVCMsg_PacketEntities::set_legacy_is_delta(bool value) { - _internal_set_legacy_is_delta(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.legacy_is_delta) -} - -// optional bool update_baseline = 4; -inline bool CSVCMsg_PacketEntities::_internal_has_update_baseline() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities::has_update_baseline() const { - return _internal_has_update_baseline(); -} -inline void CSVCMsg_PacketEntities::clear_update_baseline() { - _impl_.update_baseline_ = false; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline bool CSVCMsg_PacketEntities::_internal_update_baseline() const { - return _impl_.update_baseline_; -} -inline bool CSVCMsg_PacketEntities::update_baseline() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.update_baseline) - return _internal_update_baseline(); -} -inline void CSVCMsg_PacketEntities::_internal_set_update_baseline(bool value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.update_baseline_ = value; -} -inline void CSVCMsg_PacketEntities::set_update_baseline(bool value) { - _internal_set_update_baseline(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.update_baseline) -} - -// optional int32 baseline = 5; -inline bool CSVCMsg_PacketEntities::_internal_has_baseline() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities::has_baseline() const { - return _internal_has_baseline(); -} -inline void CSVCMsg_PacketEntities::clear_baseline() { - _impl_.baseline_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t CSVCMsg_PacketEntities::_internal_baseline() const { - return _impl_.baseline_; -} -inline int32_t CSVCMsg_PacketEntities::baseline() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.baseline) - return _internal_baseline(); -} -inline void CSVCMsg_PacketEntities::_internal_set_baseline(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.baseline_ = value; -} -inline void CSVCMsg_PacketEntities::set_baseline(int32_t value) { - _internal_set_baseline(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.baseline) -} - -// optional int32 delta_from = 6; -inline bool CSVCMsg_PacketEntities::_internal_has_delta_from() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities::has_delta_from() const { - return _internal_has_delta_from(); -} -inline void CSVCMsg_PacketEntities::clear_delta_from() { - _impl_.delta_from_ = 0; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline int32_t CSVCMsg_PacketEntities::_internal_delta_from() const { - return _impl_.delta_from_; -} -inline int32_t CSVCMsg_PacketEntities::delta_from() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.delta_from) - return _internal_delta_from(); -} -inline void CSVCMsg_PacketEntities::_internal_set_delta_from(int32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.delta_from_ = value; -} -inline void CSVCMsg_PacketEntities::set_delta_from(int32_t value) { - _internal_set_delta_from(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.delta_from) -} - -// optional bytes entity_data = 7; -inline bool CSVCMsg_PacketEntities::_internal_has_entity_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities::has_entity_data() const { - return _internal_has_entity_data(); -} -inline void CSVCMsg_PacketEntities::clear_entity_data() { - _impl_.entity_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_PacketEntities::entity_data() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.entity_data) - return _internal_entity_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_PacketEntities::set_entity_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.entity_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.entity_data) -} -inline std::string* CSVCMsg_PacketEntities::mutable_entity_data() { - std::string* _s = _internal_mutable_entity_data(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_PacketEntities.entity_data) - return _s; -} -inline const std::string& CSVCMsg_PacketEntities::_internal_entity_data() const { - return _impl_.entity_data_.Get(); -} -inline void CSVCMsg_PacketEntities::_internal_set_entity_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.entity_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_PacketEntities::_internal_mutable_entity_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.entity_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_PacketEntities::release_entity_data() { - // @@protoc_insertion_point(field_release:CSVCMsg_PacketEntities.entity_data) - if (!_internal_has_entity_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.entity_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.entity_data_.IsDefault()) { - _impl_.entity_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_PacketEntities::set_allocated_entity_data(std::string* entity_data) { - if (entity_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.entity_data_.SetAllocated(entity_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.entity_data_.IsDefault()) { - _impl_.entity_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_PacketEntities.entity_data) -} - -// optional bool pending_full_frame = 8; -inline bool CSVCMsg_PacketEntities::_internal_has_pending_full_frame() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities::has_pending_full_frame() const { - return _internal_has_pending_full_frame(); -} -inline void CSVCMsg_PacketEntities::clear_pending_full_frame() { - _impl_.pending_full_frame_ = false; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline bool CSVCMsg_PacketEntities::_internal_pending_full_frame() const { - return _impl_.pending_full_frame_; -} -inline bool CSVCMsg_PacketEntities::pending_full_frame() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.pending_full_frame) - return _internal_pending_full_frame(); -} -inline void CSVCMsg_PacketEntities::_internal_set_pending_full_frame(bool value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.pending_full_frame_ = value; -} -inline void CSVCMsg_PacketEntities::set_pending_full_frame(bool value) { - _internal_set_pending_full_frame(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.pending_full_frame) -} - -// optional uint32 active_spawngroup_handle = 9; -inline bool CSVCMsg_PacketEntities::_internal_has_active_spawngroup_handle() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities::has_active_spawngroup_handle() const { - return _internal_has_active_spawngroup_handle(); -} -inline void CSVCMsg_PacketEntities::clear_active_spawngroup_handle() { - _impl_.active_spawngroup_handle_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CSVCMsg_PacketEntities::_internal_active_spawngroup_handle() const { - return _impl_.active_spawngroup_handle_; -} -inline uint32_t CSVCMsg_PacketEntities::active_spawngroup_handle() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.active_spawngroup_handle) - return _internal_active_spawngroup_handle(); -} -inline void CSVCMsg_PacketEntities::_internal_set_active_spawngroup_handle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.active_spawngroup_handle_ = value; -} -inline void CSVCMsg_PacketEntities::set_active_spawngroup_handle(uint32_t value) { - _internal_set_active_spawngroup_handle(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.active_spawngroup_handle) -} - -// optional uint32 max_spawngroup_creationsequence = 10; -inline bool CSVCMsg_PacketEntities::_internal_has_max_spawngroup_creationsequence() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities::has_max_spawngroup_creationsequence() const { - return _internal_has_max_spawngroup_creationsequence(); -} -inline void CSVCMsg_PacketEntities::clear_max_spawngroup_creationsequence() { - _impl_.max_spawngroup_creationsequence_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CSVCMsg_PacketEntities::_internal_max_spawngroup_creationsequence() const { - return _impl_.max_spawngroup_creationsequence_; -} -inline uint32_t CSVCMsg_PacketEntities::max_spawngroup_creationsequence() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.max_spawngroup_creationsequence) - return _internal_max_spawngroup_creationsequence(); -} -inline void CSVCMsg_PacketEntities::_internal_set_max_spawngroup_creationsequence(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.max_spawngroup_creationsequence_ = value; -} -inline void CSVCMsg_PacketEntities::set_max_spawngroup_creationsequence(uint32_t value) { - _internal_set_max_spawngroup_creationsequence(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.max_spawngroup_creationsequence) -} - -// optional uint32 last_cmd_number_executed = 11; -inline bool CSVCMsg_PacketEntities::_internal_has_last_cmd_number_executed() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities::has_last_cmd_number_executed() const { - return _internal_has_last_cmd_number_executed(); -} -inline void CSVCMsg_PacketEntities::clear_last_cmd_number_executed() { - _impl_.last_cmd_number_executed_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CSVCMsg_PacketEntities::_internal_last_cmd_number_executed() const { - return _impl_.last_cmd_number_executed_; -} -inline uint32_t CSVCMsg_PacketEntities::last_cmd_number_executed() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.last_cmd_number_executed) - return _internal_last_cmd_number_executed(); -} -inline void CSVCMsg_PacketEntities::_internal_set_last_cmd_number_executed(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.last_cmd_number_executed_ = value; -} -inline void CSVCMsg_PacketEntities::set_last_cmd_number_executed(uint32_t value) { - _internal_set_last_cmd_number_executed(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.last_cmd_number_executed) -} - -// optional sint32 last_cmd_number_recv_delta = 17; -inline bool CSVCMsg_PacketEntities::_internal_has_last_cmd_number_recv_delta() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities::has_last_cmd_number_recv_delta() const { - return _internal_has_last_cmd_number_recv_delta(); -} -inline void CSVCMsg_PacketEntities::clear_last_cmd_number_recv_delta() { - _impl_.last_cmd_number_recv_delta_ = 0; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline int32_t CSVCMsg_PacketEntities::_internal_last_cmd_number_recv_delta() const { - return _impl_.last_cmd_number_recv_delta_; -} -inline int32_t CSVCMsg_PacketEntities::last_cmd_number_recv_delta() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.last_cmd_number_recv_delta) - return _internal_last_cmd_number_recv_delta(); -} -inline void CSVCMsg_PacketEntities::_internal_set_last_cmd_number_recv_delta(int32_t value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.last_cmd_number_recv_delta_ = value; -} -inline void CSVCMsg_PacketEntities::set_last_cmd_number_recv_delta(int32_t value) { - _internal_set_last_cmd_number_recv_delta(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.last_cmd_number_recv_delta) -} - -// optional uint32 server_tick = 12; -inline bool CSVCMsg_PacketEntities::_internal_has_server_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities::has_server_tick() const { - return _internal_has_server_tick(); -} -inline void CSVCMsg_PacketEntities::clear_server_tick() { - _impl_.server_tick_ = 0u; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint32_t CSVCMsg_PacketEntities::_internal_server_tick() const { - return _impl_.server_tick_; -} -inline uint32_t CSVCMsg_PacketEntities::server_tick() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.server_tick) - return _internal_server_tick(); -} -inline void CSVCMsg_PacketEntities::_internal_set_server_tick(uint32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.server_tick_ = value; -} -inline void CSVCMsg_PacketEntities::set_server_tick(uint32_t value) { - _internal_set_server_tick(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.server_tick) -} - -// optional bytes serialized_entities = 13; -inline bool CSVCMsg_PacketEntities::_internal_has_serialized_entities() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities::has_serialized_entities() const { - return _internal_has_serialized_entities(); -} -inline void CSVCMsg_PacketEntities::clear_serialized_entities() { - _impl_.serialized_entities_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CSVCMsg_PacketEntities::serialized_entities() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.serialized_entities) - return _internal_serialized_entities(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_PacketEntities::set_serialized_entities(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.serialized_entities_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.serialized_entities) -} -inline std::string* CSVCMsg_PacketEntities::mutable_serialized_entities() { - std::string* _s = _internal_mutable_serialized_entities(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_PacketEntities.serialized_entities) - return _s; -} -inline const std::string& CSVCMsg_PacketEntities::_internal_serialized_entities() const { - return _impl_.serialized_entities_.Get(); -} -inline void CSVCMsg_PacketEntities::_internal_set_serialized_entities(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.serialized_entities_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_PacketEntities::_internal_mutable_serialized_entities() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.serialized_entities_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_PacketEntities::release_serialized_entities() { - // @@protoc_insertion_point(field_release:CSVCMsg_PacketEntities.serialized_entities) - if (!_internal_has_serialized_entities()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.serialized_entities_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.serialized_entities_.IsDefault()) { - _impl_.serialized_entities_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_PacketEntities::set_allocated_serialized_entities(std::string* serialized_entities) { - if (serialized_entities != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.serialized_entities_.SetAllocated(serialized_entities, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.serialized_entities_.IsDefault()) { - _impl_.serialized_entities_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_PacketEntities.serialized_entities) -} - -// repeated .CSVCMsg_PacketEntities.alternate_baseline_t alternate_baselines = 15; -inline int CSVCMsg_PacketEntities::_internal_alternate_baselines_size() const { - return _impl_.alternate_baselines_.size(); -} -inline int CSVCMsg_PacketEntities::alternate_baselines_size() const { - return _internal_alternate_baselines_size(); -} -inline void CSVCMsg_PacketEntities::clear_alternate_baselines() { - _impl_.alternate_baselines_.Clear(); -} -inline ::CSVCMsg_PacketEntities_alternate_baseline_t* CSVCMsg_PacketEntities::mutable_alternate_baselines(int index) { - // @@protoc_insertion_point(field_mutable:CSVCMsg_PacketEntities.alternate_baselines) - return _impl_.alternate_baselines_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_PacketEntities_alternate_baseline_t >* -CSVCMsg_PacketEntities::mutable_alternate_baselines() { - // @@protoc_insertion_point(field_mutable_list:CSVCMsg_PacketEntities.alternate_baselines) - return &_impl_.alternate_baselines_; -} -inline const ::CSVCMsg_PacketEntities_alternate_baseline_t& CSVCMsg_PacketEntities::_internal_alternate_baselines(int index) const { - return _impl_.alternate_baselines_.Get(index); -} -inline const ::CSVCMsg_PacketEntities_alternate_baseline_t& CSVCMsg_PacketEntities::alternate_baselines(int index) const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.alternate_baselines) - return _internal_alternate_baselines(index); -} -inline ::CSVCMsg_PacketEntities_alternate_baseline_t* CSVCMsg_PacketEntities::_internal_add_alternate_baselines() { - return _impl_.alternate_baselines_.Add(); -} -inline ::CSVCMsg_PacketEntities_alternate_baseline_t* CSVCMsg_PacketEntities::add_alternate_baselines() { - ::CSVCMsg_PacketEntities_alternate_baseline_t* _add = _internal_add_alternate_baselines(); - // @@protoc_insertion_point(field_add:CSVCMsg_PacketEntities.alternate_baselines) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_PacketEntities_alternate_baseline_t >& -CSVCMsg_PacketEntities::alternate_baselines() const { - // @@protoc_insertion_point(field_list:CSVCMsg_PacketEntities.alternate_baselines) - return _impl_.alternate_baselines_; -} - -// optional uint32 has_pvs_vis_bits_deprecated = 16; -inline bool CSVCMsg_PacketEntities::_internal_has_has_pvs_vis_bits_deprecated() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities::has_has_pvs_vis_bits_deprecated() const { - return _internal_has_has_pvs_vis_bits_deprecated(); -} -inline void CSVCMsg_PacketEntities::clear_has_pvs_vis_bits_deprecated() { - _impl_.has_pvs_vis_bits_deprecated_ = 0u; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline uint32_t CSVCMsg_PacketEntities::_internal_has_pvs_vis_bits_deprecated() const { - return _impl_.has_pvs_vis_bits_deprecated_; -} -inline uint32_t CSVCMsg_PacketEntities::has_pvs_vis_bits_deprecated() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.has_pvs_vis_bits_deprecated) - return _internal_has_pvs_vis_bits_deprecated(); -} -inline void CSVCMsg_PacketEntities::_internal_set_has_pvs_vis_bits_deprecated(uint32_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.has_pvs_vis_bits_deprecated_ = value; -} -inline void CSVCMsg_PacketEntities::set_has_pvs_vis_bits_deprecated(uint32_t value) { - _internal_set_has_pvs_vis_bits_deprecated(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.has_pvs_vis_bits_deprecated) -} - -// repeated sint32 cmd_recv_status = 22 [packed = true]; -inline int CSVCMsg_PacketEntities::_internal_cmd_recv_status_size() const { - return _impl_.cmd_recv_status_.size(); -} -inline int CSVCMsg_PacketEntities::cmd_recv_status_size() const { - return _internal_cmd_recv_status_size(); -} -inline void CSVCMsg_PacketEntities::clear_cmd_recv_status() { - _impl_.cmd_recv_status_.Clear(); -} -inline int32_t CSVCMsg_PacketEntities::_internal_cmd_recv_status(int index) const { - return _impl_.cmd_recv_status_.Get(index); -} -inline int32_t CSVCMsg_PacketEntities::cmd_recv_status(int index) const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.cmd_recv_status) - return _internal_cmd_recv_status(index); -} -inline void CSVCMsg_PacketEntities::set_cmd_recv_status(int index, int32_t value) { - _impl_.cmd_recv_status_.Set(index, value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.cmd_recv_status) -} -inline void CSVCMsg_PacketEntities::_internal_add_cmd_recv_status(int32_t value) { - _impl_.cmd_recv_status_.Add(value); -} -inline void CSVCMsg_PacketEntities::add_cmd_recv_status(int32_t value) { - _internal_add_cmd_recv_status(value); - // @@protoc_insertion_point(field_add:CSVCMsg_PacketEntities.cmd_recv_status) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CSVCMsg_PacketEntities::_internal_cmd_recv_status() const { - return _impl_.cmd_recv_status_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CSVCMsg_PacketEntities::cmd_recv_status() const { - // @@protoc_insertion_point(field_list:CSVCMsg_PacketEntities.cmd_recv_status) - return _internal_cmd_recv_status(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CSVCMsg_PacketEntities::_internal_mutable_cmd_recv_status() { - return &_impl_.cmd_recv_status_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CSVCMsg_PacketEntities::mutable_cmd_recv_status() { - // @@protoc_insertion_point(field_mutable_list:CSVCMsg_PacketEntities.cmd_recv_status) - return _internal_mutable_cmd_recv_status(); -} - -// optional .CSVCMsg_PacketEntities.non_transmitted_entities_t non_transmitted_entities = 19; -inline bool CSVCMsg_PacketEntities::_internal_has_non_transmitted_entities() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.non_transmitted_entities_ != nullptr); - return value; -} -inline bool CSVCMsg_PacketEntities::has_non_transmitted_entities() const { - return _internal_has_non_transmitted_entities(); -} -inline void CSVCMsg_PacketEntities::clear_non_transmitted_entities() { - if (_impl_.non_transmitted_entities_ != nullptr) _impl_.non_transmitted_entities_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::CSVCMsg_PacketEntities_non_transmitted_entities_t& CSVCMsg_PacketEntities::_internal_non_transmitted_entities() const { - const ::CSVCMsg_PacketEntities_non_transmitted_entities_t* p = _impl_.non_transmitted_entities_; - return p != nullptr ? *p : reinterpret_cast( - ::_CSVCMsg_PacketEntities_non_transmitted_entities_t_default_instance_); -} -inline const ::CSVCMsg_PacketEntities_non_transmitted_entities_t& CSVCMsg_PacketEntities::non_transmitted_entities() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.non_transmitted_entities) - return _internal_non_transmitted_entities(); -} -inline void CSVCMsg_PacketEntities::unsafe_arena_set_allocated_non_transmitted_entities( - ::CSVCMsg_PacketEntities_non_transmitted_entities_t* non_transmitted_entities) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.non_transmitted_entities_); - } - _impl_.non_transmitted_entities_ = non_transmitted_entities; - if (non_transmitted_entities) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSVCMsg_PacketEntities.non_transmitted_entities) -} -inline ::CSVCMsg_PacketEntities_non_transmitted_entities_t* CSVCMsg_PacketEntities::release_non_transmitted_entities() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CSVCMsg_PacketEntities_non_transmitted_entities_t* temp = _impl_.non_transmitted_entities_; - _impl_.non_transmitted_entities_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CSVCMsg_PacketEntities_non_transmitted_entities_t* CSVCMsg_PacketEntities::unsafe_arena_release_non_transmitted_entities() { - // @@protoc_insertion_point(field_release:CSVCMsg_PacketEntities.non_transmitted_entities) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CSVCMsg_PacketEntities_non_transmitted_entities_t* temp = _impl_.non_transmitted_entities_; - _impl_.non_transmitted_entities_ = nullptr; - return temp; -} -inline ::CSVCMsg_PacketEntities_non_transmitted_entities_t* CSVCMsg_PacketEntities::_internal_mutable_non_transmitted_entities() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.non_transmitted_entities_ == nullptr) { - auto* p = CreateMaybeMessage<::CSVCMsg_PacketEntities_non_transmitted_entities_t>(GetArenaForAllocation()); - _impl_.non_transmitted_entities_ = p; - } - return _impl_.non_transmitted_entities_; -} -inline ::CSVCMsg_PacketEntities_non_transmitted_entities_t* CSVCMsg_PacketEntities::mutable_non_transmitted_entities() { - ::CSVCMsg_PacketEntities_non_transmitted_entities_t* _msg = _internal_mutable_non_transmitted_entities(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_PacketEntities.non_transmitted_entities) - return _msg; -} -inline void CSVCMsg_PacketEntities::set_allocated_non_transmitted_entities(::CSVCMsg_PacketEntities_non_transmitted_entities_t* non_transmitted_entities) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.non_transmitted_entities_; - } - if (non_transmitted_entities) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(non_transmitted_entities); - if (message_arena != submessage_arena) { - non_transmitted_entities = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, non_transmitted_entities, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.non_transmitted_entities_ = non_transmitted_entities; - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_PacketEntities.non_transmitted_entities) -} - -// optional uint32 cq_starved_command_ticks = 20; -inline bool CSVCMsg_PacketEntities::_internal_has_cq_starved_command_ticks() const { - bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities::has_cq_starved_command_ticks() const { - return _internal_has_cq_starved_command_ticks(); -} -inline void CSVCMsg_PacketEntities::clear_cq_starved_command_ticks() { - _impl_.cq_starved_command_ticks_ = 0u; - _impl_._has_bits_[0] &= ~0x00040000u; -} -inline uint32_t CSVCMsg_PacketEntities::_internal_cq_starved_command_ticks() const { - return _impl_.cq_starved_command_ticks_; -} -inline uint32_t CSVCMsg_PacketEntities::cq_starved_command_ticks() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.cq_starved_command_ticks) - return _internal_cq_starved_command_ticks(); -} -inline void CSVCMsg_PacketEntities::_internal_set_cq_starved_command_ticks(uint32_t value) { - _impl_._has_bits_[0] |= 0x00040000u; - _impl_.cq_starved_command_ticks_ = value; -} -inline void CSVCMsg_PacketEntities::set_cq_starved_command_ticks(uint32_t value) { - _internal_set_cq_starved_command_ticks(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.cq_starved_command_ticks) -} - -// optional uint32 cq_discarded_command_ticks = 21; -inline bool CSVCMsg_PacketEntities::_internal_has_cq_discarded_command_ticks() const { - bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities::has_cq_discarded_command_ticks() const { - return _internal_has_cq_discarded_command_ticks(); -} -inline void CSVCMsg_PacketEntities::clear_cq_discarded_command_ticks() { - _impl_.cq_discarded_command_ticks_ = 0u; - _impl_._has_bits_[0] &= ~0x00080000u; -} -inline uint32_t CSVCMsg_PacketEntities::_internal_cq_discarded_command_ticks() const { - return _impl_.cq_discarded_command_ticks_; -} -inline uint32_t CSVCMsg_PacketEntities::cq_discarded_command_ticks() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.cq_discarded_command_ticks) - return _internal_cq_discarded_command_ticks(); -} -inline void CSVCMsg_PacketEntities::_internal_set_cq_discarded_command_ticks(uint32_t value) { - _impl_._has_bits_[0] |= 0x00080000u; - _impl_.cq_discarded_command_ticks_ = value; -} -inline void CSVCMsg_PacketEntities::set_cq_discarded_command_ticks(uint32_t value) { - _internal_set_cq_discarded_command_ticks(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.cq_discarded_command_ticks) -} - -// optional .CSVCMsg_PacketEntities.outofpvs_entity_updates_t outofpvs_entity_updates = 23; -inline bool CSVCMsg_PacketEntities::_internal_has_outofpvs_entity_updates() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.outofpvs_entity_updates_ != nullptr); - return value; -} -inline bool CSVCMsg_PacketEntities::has_outofpvs_entity_updates() const { - return _internal_has_outofpvs_entity_updates(); -} -inline void CSVCMsg_PacketEntities::clear_outofpvs_entity_updates() { - if (_impl_.outofpvs_entity_updates_ != nullptr) _impl_.outofpvs_entity_updates_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t& CSVCMsg_PacketEntities::_internal_outofpvs_entity_updates() const { - const ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* p = _impl_.outofpvs_entity_updates_; - return p != nullptr ? *p : reinterpret_cast( - ::_CSVCMsg_PacketEntities_outofpvs_entity_updates_t_default_instance_); -} -inline const ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t& CSVCMsg_PacketEntities::outofpvs_entity_updates() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.outofpvs_entity_updates) - return _internal_outofpvs_entity_updates(); -} -inline void CSVCMsg_PacketEntities::unsafe_arena_set_allocated_outofpvs_entity_updates( - ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* outofpvs_entity_updates) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.outofpvs_entity_updates_); - } - _impl_.outofpvs_entity_updates_ = outofpvs_entity_updates; - if (outofpvs_entity_updates) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSVCMsg_PacketEntities.outofpvs_entity_updates) -} -inline ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* CSVCMsg_PacketEntities::release_outofpvs_entity_updates() { - _impl_._has_bits_[0] &= ~0x00000010u; - ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* temp = _impl_.outofpvs_entity_updates_; - _impl_.outofpvs_entity_updates_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* CSVCMsg_PacketEntities::unsafe_arena_release_outofpvs_entity_updates() { - // @@protoc_insertion_point(field_release:CSVCMsg_PacketEntities.outofpvs_entity_updates) - _impl_._has_bits_[0] &= ~0x00000010u; - ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* temp = _impl_.outofpvs_entity_updates_; - _impl_.outofpvs_entity_updates_ = nullptr; - return temp; -} -inline ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* CSVCMsg_PacketEntities::_internal_mutable_outofpvs_entity_updates() { - _impl_._has_bits_[0] |= 0x00000010u; - if (_impl_.outofpvs_entity_updates_ == nullptr) { - auto* p = CreateMaybeMessage<::CSVCMsg_PacketEntities_outofpvs_entity_updates_t>(GetArenaForAllocation()); - _impl_.outofpvs_entity_updates_ = p; - } - return _impl_.outofpvs_entity_updates_; -} -inline ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* CSVCMsg_PacketEntities::mutable_outofpvs_entity_updates() { - ::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* _msg = _internal_mutable_outofpvs_entity_updates(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_PacketEntities.outofpvs_entity_updates) - return _msg; -} -inline void CSVCMsg_PacketEntities::set_allocated_outofpvs_entity_updates(::CSVCMsg_PacketEntities_outofpvs_entity_updates_t* outofpvs_entity_updates) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.outofpvs_entity_updates_; - } - if (outofpvs_entity_updates) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(outofpvs_entity_updates); - if (message_arena != submessage_arena) { - outofpvs_entity_updates = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, outofpvs_entity_updates, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.outofpvs_entity_updates_ = outofpvs_entity_updates; - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_PacketEntities.outofpvs_entity_updates) -} - -// optional bytes dev_padding = 999; -inline bool CSVCMsg_PacketEntities::_internal_has_dev_padding() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_PacketEntities::has_dev_padding() const { - return _internal_has_dev_padding(); -} -inline void CSVCMsg_PacketEntities::clear_dev_padding() { - _impl_.dev_padding_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CSVCMsg_PacketEntities::dev_padding() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.dev_padding) - return _internal_dev_padding(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_PacketEntities::set_dev_padding(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.dev_padding_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.dev_padding) -} -inline std::string* CSVCMsg_PacketEntities::mutable_dev_padding() { - std::string* _s = _internal_mutable_dev_padding(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_PacketEntities.dev_padding) - return _s; -} -inline const std::string& CSVCMsg_PacketEntities::_internal_dev_padding() const { - return _impl_.dev_padding_.Get(); -} -inline void CSVCMsg_PacketEntities::_internal_set_dev_padding(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.dev_padding_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_PacketEntities::_internal_mutable_dev_padding() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.dev_padding_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_PacketEntities::release_dev_padding() { - // @@protoc_insertion_point(field_release:CSVCMsg_PacketEntities.dev_padding) - if (!_internal_has_dev_padding()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.dev_padding_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dev_padding_.IsDefault()) { - _impl_.dev_padding_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_PacketEntities::set_allocated_dev_padding(std::string* dev_padding) { - if (dev_padding != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.dev_padding_.SetAllocated(dev_padding, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dev_padding_.IsDefault()) { - _impl_.dev_padding_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_PacketEntities.dev_padding) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_TempEntities - -// optional bool reliable = 1; -inline bool CSVCMsg_TempEntities::_internal_has_reliable() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_TempEntities::has_reliable() const { - return _internal_has_reliable(); -} -inline void CSVCMsg_TempEntities::clear_reliable() { - _impl_.reliable_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CSVCMsg_TempEntities::_internal_reliable() const { - return _impl_.reliable_; -} -inline bool CSVCMsg_TempEntities::reliable() const { - // @@protoc_insertion_point(field_get:CSVCMsg_TempEntities.reliable) - return _internal_reliable(); -} -inline void CSVCMsg_TempEntities::_internal_set_reliable(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.reliable_ = value; -} -inline void CSVCMsg_TempEntities::set_reliable(bool value) { - _internal_set_reliable(value); - // @@protoc_insertion_point(field_set:CSVCMsg_TempEntities.reliable) -} - -// optional int32 num_entries = 2; -inline bool CSVCMsg_TempEntities::_internal_has_num_entries() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_TempEntities::has_num_entries() const { - return _internal_has_num_entries(); -} -inline void CSVCMsg_TempEntities::clear_num_entries() { - _impl_.num_entries_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CSVCMsg_TempEntities::_internal_num_entries() const { - return _impl_.num_entries_; -} -inline int32_t CSVCMsg_TempEntities::num_entries() const { - // @@protoc_insertion_point(field_get:CSVCMsg_TempEntities.num_entries) - return _internal_num_entries(); -} -inline void CSVCMsg_TempEntities::_internal_set_num_entries(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.num_entries_ = value; -} -inline void CSVCMsg_TempEntities::set_num_entries(int32_t value) { - _internal_set_num_entries(value); - // @@protoc_insertion_point(field_set:CSVCMsg_TempEntities.num_entries) -} - -// optional bytes entity_data = 3; -inline bool CSVCMsg_TempEntities::_internal_has_entity_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_TempEntities::has_entity_data() const { - return _internal_has_entity_data(); -} -inline void CSVCMsg_TempEntities::clear_entity_data() { - _impl_.entity_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_TempEntities::entity_data() const { - // @@protoc_insertion_point(field_get:CSVCMsg_TempEntities.entity_data) - return _internal_entity_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_TempEntities::set_entity_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.entity_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_TempEntities.entity_data) -} -inline std::string* CSVCMsg_TempEntities::mutable_entity_data() { - std::string* _s = _internal_mutable_entity_data(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_TempEntities.entity_data) - return _s; -} -inline const std::string& CSVCMsg_TempEntities::_internal_entity_data() const { - return _impl_.entity_data_.Get(); -} -inline void CSVCMsg_TempEntities::_internal_set_entity_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.entity_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_TempEntities::_internal_mutable_entity_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.entity_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_TempEntities::release_entity_data() { - // @@protoc_insertion_point(field_release:CSVCMsg_TempEntities.entity_data) - if (!_internal_has_entity_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.entity_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.entity_data_.IsDefault()) { - _impl_.entity_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_TempEntities::set_allocated_entity_data(std::string* entity_data) { - if (entity_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.entity_data_.SetAllocated(entity_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.entity_data_.IsDefault()) { - _impl_.entity_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_TempEntities.entity_data) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_CreateStringTable - -// optional string name = 1; -inline bool CSVCMsg_CreateStringTable::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_CreateStringTable::has_name() const { - return _internal_has_name(); -} -inline void CSVCMsg_CreateStringTable::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_CreateStringTable::name() const { - // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_CreateStringTable::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.name) -} -inline std::string* CSVCMsg_CreateStringTable::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_CreateStringTable.name) - return _s; -} -inline const std::string& CSVCMsg_CreateStringTable::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CSVCMsg_CreateStringTable::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_CreateStringTable::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_CreateStringTable::release_name() { - // @@protoc_insertion_point(field_release:CSVCMsg_CreateStringTable.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_CreateStringTable::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_CreateStringTable.name) -} - -// optional int32 num_entries = 2; -inline bool CSVCMsg_CreateStringTable::_internal_has_num_entries() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_CreateStringTable::has_num_entries() const { - return _internal_has_num_entries(); -} -inline void CSVCMsg_CreateStringTable::clear_num_entries() { - _impl_.num_entries_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CSVCMsg_CreateStringTable::_internal_num_entries() const { - return _impl_.num_entries_; -} -inline int32_t CSVCMsg_CreateStringTable::num_entries() const { - // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.num_entries) - return _internal_num_entries(); -} -inline void CSVCMsg_CreateStringTable::_internal_set_num_entries(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.num_entries_ = value; -} -inline void CSVCMsg_CreateStringTable::set_num_entries(int32_t value) { - _internal_set_num_entries(value); - // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.num_entries) -} - -// optional bool user_data_fixed_size = 3; -inline bool CSVCMsg_CreateStringTable::_internal_has_user_data_fixed_size() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CSVCMsg_CreateStringTable::has_user_data_fixed_size() const { - return _internal_has_user_data_fixed_size(); -} -inline void CSVCMsg_CreateStringTable::clear_user_data_fixed_size() { - _impl_.user_data_fixed_size_ = false; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline bool CSVCMsg_CreateStringTable::_internal_user_data_fixed_size() const { - return _impl_.user_data_fixed_size_; -} -inline bool CSVCMsg_CreateStringTable::user_data_fixed_size() const { - // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.user_data_fixed_size) - return _internal_user_data_fixed_size(); -} -inline void CSVCMsg_CreateStringTable::_internal_set_user_data_fixed_size(bool value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.user_data_fixed_size_ = value; -} -inline void CSVCMsg_CreateStringTable::set_user_data_fixed_size(bool value) { - _internal_set_user_data_fixed_size(value); - // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.user_data_fixed_size) -} - -// optional int32 user_data_size = 4; -inline bool CSVCMsg_CreateStringTable::_internal_has_user_data_size() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSVCMsg_CreateStringTable::has_user_data_size() const { - return _internal_has_user_data_size(); -} -inline void CSVCMsg_CreateStringTable::clear_user_data_size() { - _impl_.user_data_size_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CSVCMsg_CreateStringTable::_internal_user_data_size() const { - return _impl_.user_data_size_; -} -inline int32_t CSVCMsg_CreateStringTable::user_data_size() const { - // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.user_data_size) - return _internal_user_data_size(); -} -inline void CSVCMsg_CreateStringTable::_internal_set_user_data_size(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.user_data_size_ = value; -} -inline void CSVCMsg_CreateStringTable::set_user_data_size(int32_t value) { - _internal_set_user_data_size(value); - // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.user_data_size) -} - -// optional int32 user_data_size_bits = 5; -inline bool CSVCMsg_CreateStringTable::_internal_has_user_data_size_bits() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSVCMsg_CreateStringTable::has_user_data_size_bits() const { - return _internal_has_user_data_size_bits(); -} -inline void CSVCMsg_CreateStringTable::clear_user_data_size_bits() { - _impl_.user_data_size_bits_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CSVCMsg_CreateStringTable::_internal_user_data_size_bits() const { - return _impl_.user_data_size_bits_; -} -inline int32_t CSVCMsg_CreateStringTable::user_data_size_bits() const { - // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.user_data_size_bits) - return _internal_user_data_size_bits(); -} -inline void CSVCMsg_CreateStringTable::_internal_set_user_data_size_bits(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.user_data_size_bits_ = value; -} -inline void CSVCMsg_CreateStringTable::set_user_data_size_bits(int32_t value) { - _internal_set_user_data_size_bits(value); - // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.user_data_size_bits) -} - -// optional int32 flags = 6; -inline bool CSVCMsg_CreateStringTable::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSVCMsg_CreateStringTable::has_flags() const { - return _internal_has_flags(); -} -inline void CSVCMsg_CreateStringTable::clear_flags() { - _impl_.flags_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CSVCMsg_CreateStringTable::_internal_flags() const { - return _impl_.flags_; -} -inline int32_t CSVCMsg_CreateStringTable::flags() const { - // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.flags) - return _internal_flags(); -} -inline void CSVCMsg_CreateStringTable::_internal_set_flags(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.flags_ = value; -} -inline void CSVCMsg_CreateStringTable::set_flags(int32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.flags) -} - -// optional bytes string_data = 7; -inline bool CSVCMsg_CreateStringTable::_internal_has_string_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_CreateStringTable::has_string_data() const { - return _internal_has_string_data(); -} -inline void CSVCMsg_CreateStringTable::clear_string_data() { - _impl_.string_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CSVCMsg_CreateStringTable::string_data() const { - // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.string_data) - return _internal_string_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_CreateStringTable::set_string_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.string_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.string_data) -} -inline std::string* CSVCMsg_CreateStringTable::mutable_string_data() { - std::string* _s = _internal_mutable_string_data(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_CreateStringTable.string_data) - return _s; -} -inline const std::string& CSVCMsg_CreateStringTable::_internal_string_data() const { - return _impl_.string_data_.Get(); -} -inline void CSVCMsg_CreateStringTable::_internal_set_string_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.string_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_CreateStringTable::_internal_mutable_string_data() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.string_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_CreateStringTable::release_string_data() { - // @@protoc_insertion_point(field_release:CSVCMsg_CreateStringTable.string_data) - if (!_internal_has_string_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.string_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.string_data_.IsDefault()) { - _impl_.string_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_CreateStringTable::set_allocated_string_data(std::string* string_data) { - if (string_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.string_data_.SetAllocated(string_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.string_data_.IsDefault()) { - _impl_.string_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_CreateStringTable.string_data) -} - -// optional int32 uncompressed_size = 8; -inline bool CSVCMsg_CreateStringTable::_internal_has_uncompressed_size() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CSVCMsg_CreateStringTable::has_uncompressed_size() const { - return _internal_has_uncompressed_size(); -} -inline void CSVCMsg_CreateStringTable::clear_uncompressed_size() { - _impl_.uncompressed_size_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline int32_t CSVCMsg_CreateStringTable::_internal_uncompressed_size() const { - return _impl_.uncompressed_size_; -} -inline int32_t CSVCMsg_CreateStringTable::uncompressed_size() const { - // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.uncompressed_size) - return _internal_uncompressed_size(); -} -inline void CSVCMsg_CreateStringTable::_internal_set_uncompressed_size(int32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.uncompressed_size_ = value; -} -inline void CSVCMsg_CreateStringTable::set_uncompressed_size(int32_t value) { - _internal_set_uncompressed_size(value); - // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.uncompressed_size) -} - -// optional bool data_compressed = 9; -inline bool CSVCMsg_CreateStringTable::_internal_has_data_compressed() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CSVCMsg_CreateStringTable::has_data_compressed() const { - return _internal_has_data_compressed(); -} -inline void CSVCMsg_CreateStringTable::clear_data_compressed() { - _impl_.data_compressed_ = false; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline bool CSVCMsg_CreateStringTable::_internal_data_compressed() const { - return _impl_.data_compressed_; -} -inline bool CSVCMsg_CreateStringTable::data_compressed() const { - // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.data_compressed) - return _internal_data_compressed(); -} -inline void CSVCMsg_CreateStringTable::_internal_set_data_compressed(bool value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.data_compressed_ = value; -} -inline void CSVCMsg_CreateStringTable::set_data_compressed(bool value) { - _internal_set_data_compressed(value); - // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.data_compressed) -} - -// optional bool using_varint_bitcounts = 10; -inline bool CSVCMsg_CreateStringTable::_internal_has_using_varint_bitcounts() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CSVCMsg_CreateStringTable::has_using_varint_bitcounts() const { - return _internal_has_using_varint_bitcounts(); -} -inline void CSVCMsg_CreateStringTable::clear_using_varint_bitcounts() { - _impl_.using_varint_bitcounts_ = false; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline bool CSVCMsg_CreateStringTable::_internal_using_varint_bitcounts() const { - return _impl_.using_varint_bitcounts_; -} -inline bool CSVCMsg_CreateStringTable::using_varint_bitcounts() const { - // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.using_varint_bitcounts) - return _internal_using_varint_bitcounts(); -} -inline void CSVCMsg_CreateStringTable::_internal_set_using_varint_bitcounts(bool value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.using_varint_bitcounts_ = value; -} -inline void CSVCMsg_CreateStringTable::set_using_varint_bitcounts(bool value) { - _internal_set_using_varint_bitcounts(value); - // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.using_varint_bitcounts) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_UpdateStringTable - -// optional int32 table_id = 1; -inline bool CSVCMsg_UpdateStringTable::_internal_has_table_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_UpdateStringTable::has_table_id() const { - return _internal_has_table_id(); -} -inline void CSVCMsg_UpdateStringTable::clear_table_id() { - _impl_.table_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_UpdateStringTable::_internal_table_id() const { - return _impl_.table_id_; -} -inline int32_t CSVCMsg_UpdateStringTable::table_id() const { - // @@protoc_insertion_point(field_get:CSVCMsg_UpdateStringTable.table_id) - return _internal_table_id(); -} -inline void CSVCMsg_UpdateStringTable::_internal_set_table_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.table_id_ = value; -} -inline void CSVCMsg_UpdateStringTable::set_table_id(int32_t value) { - _internal_set_table_id(value); - // @@protoc_insertion_point(field_set:CSVCMsg_UpdateStringTable.table_id) -} - -// optional int32 num_changed_entries = 2; -inline bool CSVCMsg_UpdateStringTable::_internal_has_num_changed_entries() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_UpdateStringTable::has_num_changed_entries() const { - return _internal_has_num_changed_entries(); -} -inline void CSVCMsg_UpdateStringTable::clear_num_changed_entries() { - _impl_.num_changed_entries_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CSVCMsg_UpdateStringTable::_internal_num_changed_entries() const { - return _impl_.num_changed_entries_; -} -inline int32_t CSVCMsg_UpdateStringTable::num_changed_entries() const { - // @@protoc_insertion_point(field_get:CSVCMsg_UpdateStringTable.num_changed_entries) - return _internal_num_changed_entries(); -} -inline void CSVCMsg_UpdateStringTable::_internal_set_num_changed_entries(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.num_changed_entries_ = value; -} -inline void CSVCMsg_UpdateStringTable::set_num_changed_entries(int32_t value) { - _internal_set_num_changed_entries(value); - // @@protoc_insertion_point(field_set:CSVCMsg_UpdateStringTable.num_changed_entries) -} - -// optional bytes string_data = 3; -inline bool CSVCMsg_UpdateStringTable::_internal_has_string_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_UpdateStringTable::has_string_data() const { - return _internal_has_string_data(); -} -inline void CSVCMsg_UpdateStringTable::clear_string_data() { - _impl_.string_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_UpdateStringTable::string_data() const { - // @@protoc_insertion_point(field_get:CSVCMsg_UpdateStringTable.string_data) - return _internal_string_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_UpdateStringTable::set_string_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.string_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_UpdateStringTable.string_data) -} -inline std::string* CSVCMsg_UpdateStringTable::mutable_string_data() { - std::string* _s = _internal_mutable_string_data(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_UpdateStringTable.string_data) - return _s; -} -inline const std::string& CSVCMsg_UpdateStringTable::_internal_string_data() const { - return _impl_.string_data_.Get(); -} -inline void CSVCMsg_UpdateStringTable::_internal_set_string_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.string_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_UpdateStringTable::_internal_mutable_string_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.string_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_UpdateStringTable::release_string_data() { - // @@protoc_insertion_point(field_release:CSVCMsg_UpdateStringTable.string_data) - if (!_internal_has_string_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.string_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.string_data_.IsDefault()) { - _impl_.string_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_UpdateStringTable::set_allocated_string_data(std::string* string_data) { - if (string_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.string_data_.SetAllocated(string_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.string_data_.IsDefault()) { - _impl_.string_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_UpdateStringTable.string_data) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_VoiceData - -// optional .CMsgVoiceAudio audio = 1; -inline bool CSVCMsg_VoiceData::_internal_has_audio() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.audio_ != nullptr); - return value; -} -inline bool CSVCMsg_VoiceData::has_audio() const { - return _internal_has_audio(); -} -inline void CSVCMsg_VoiceData::clear_audio() { - if (_impl_.audio_ != nullptr) _impl_.audio_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgVoiceAudio& CSVCMsg_VoiceData::_internal_audio() const { - const ::CMsgVoiceAudio* p = _impl_.audio_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVoiceAudio_default_instance_); -} -inline const ::CMsgVoiceAudio& CSVCMsg_VoiceData::audio() const { - // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.audio) - return _internal_audio(); -} -inline void CSVCMsg_VoiceData::unsafe_arena_set_allocated_audio( - ::CMsgVoiceAudio* audio) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.audio_); - } - _impl_.audio_ = audio; - if (audio) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSVCMsg_VoiceData.audio) -} -inline ::CMsgVoiceAudio* CSVCMsg_VoiceData::release_audio() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVoiceAudio* temp = _impl_.audio_; - _impl_.audio_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVoiceAudio* CSVCMsg_VoiceData::unsafe_arena_release_audio() { - // @@protoc_insertion_point(field_release:CSVCMsg_VoiceData.audio) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVoiceAudio* temp = _impl_.audio_; - _impl_.audio_ = nullptr; - return temp; -} -inline ::CMsgVoiceAudio* CSVCMsg_VoiceData::_internal_mutable_audio() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.audio_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVoiceAudio>(GetArenaForAllocation()); - _impl_.audio_ = p; - } - return _impl_.audio_; -} -inline ::CMsgVoiceAudio* CSVCMsg_VoiceData::mutable_audio() { - ::CMsgVoiceAudio* _msg = _internal_mutable_audio(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_VoiceData.audio) - return _msg; -} -inline void CSVCMsg_VoiceData::set_allocated_audio(::CMsgVoiceAudio* audio) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.audio_; - } - if (audio) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(audio); - if (message_arena != submessage_arena) { - audio = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, audio, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.audio_ = audio; - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_VoiceData.audio) -} - -// optional int32 client = 2 [default = -1]; -inline bool CSVCMsg_VoiceData::_internal_has_client() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CSVCMsg_VoiceData::has_client() const { - return _internal_has_client(); -} -inline void CSVCMsg_VoiceData::clear_client() { - _impl_.client_ = -1; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CSVCMsg_VoiceData::_internal_client() const { - return _impl_.client_; -} -inline int32_t CSVCMsg_VoiceData::client() const { - // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.client) - return _internal_client(); -} -inline void CSVCMsg_VoiceData::_internal_set_client(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.client_ = value; -} -inline void CSVCMsg_VoiceData::set_client(int32_t value) { - _internal_set_client(value); - // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.client) -} - -// optional bool proximity = 3; -inline bool CSVCMsg_VoiceData::_internal_has_proximity() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_VoiceData::has_proximity() const { - return _internal_has_proximity(); -} -inline void CSVCMsg_VoiceData::clear_proximity() { - _impl_.proximity_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CSVCMsg_VoiceData::_internal_proximity() const { - return _impl_.proximity_; -} -inline bool CSVCMsg_VoiceData::proximity() const { - // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.proximity) - return _internal_proximity(); -} -inline void CSVCMsg_VoiceData::_internal_set_proximity(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.proximity_ = value; -} -inline void CSVCMsg_VoiceData::set_proximity(bool value) { - _internal_set_proximity(value); - // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.proximity) -} - -// optional fixed64 xuid = 4; -inline bool CSVCMsg_VoiceData::_internal_has_xuid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_VoiceData::has_xuid() const { - return _internal_has_xuid(); -} -inline void CSVCMsg_VoiceData::clear_xuid() { - _impl_.xuid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CSVCMsg_VoiceData::_internal_xuid() const { - return _impl_.xuid_; -} -inline uint64_t CSVCMsg_VoiceData::xuid() const { - // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.xuid) - return _internal_xuid(); -} -inline void CSVCMsg_VoiceData::_internal_set_xuid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.xuid_ = value; -} -inline void CSVCMsg_VoiceData::set_xuid(uint64_t value) { - _internal_set_xuid(value); - // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.xuid) -} - -// optional int32 audible_mask = 5; -inline bool CSVCMsg_VoiceData::_internal_has_audible_mask() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSVCMsg_VoiceData::has_audible_mask() const { - return _internal_has_audible_mask(); -} -inline void CSVCMsg_VoiceData::clear_audible_mask() { - _impl_.audible_mask_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CSVCMsg_VoiceData::_internal_audible_mask() const { - return _impl_.audible_mask_; -} -inline int32_t CSVCMsg_VoiceData::audible_mask() const { - // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.audible_mask) - return _internal_audible_mask(); -} -inline void CSVCMsg_VoiceData::_internal_set_audible_mask(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.audible_mask_ = value; -} -inline void CSVCMsg_VoiceData::set_audible_mask(int32_t value) { - _internal_set_audible_mask(value); - // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.audible_mask) -} - -// optional uint32 tick = 6; -inline bool CSVCMsg_VoiceData::_internal_has_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSVCMsg_VoiceData::has_tick() const { - return _internal_has_tick(); -} -inline void CSVCMsg_VoiceData::clear_tick() { - _impl_.tick_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CSVCMsg_VoiceData::_internal_tick() const { - return _impl_.tick_; -} -inline uint32_t CSVCMsg_VoiceData::tick() const { - // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.tick) - return _internal_tick(); -} -inline void CSVCMsg_VoiceData::_internal_set_tick(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.tick_ = value; -} -inline void CSVCMsg_VoiceData::set_tick(uint32_t value) { - _internal_set_tick(value); - // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.tick) -} - -// optional int32 passthrough = 7; -inline bool CSVCMsg_VoiceData::_internal_has_passthrough() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSVCMsg_VoiceData::has_passthrough() const { - return _internal_has_passthrough(); -} -inline void CSVCMsg_VoiceData::clear_passthrough() { - _impl_.passthrough_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CSVCMsg_VoiceData::_internal_passthrough() const { - return _impl_.passthrough_; -} -inline int32_t CSVCMsg_VoiceData::passthrough() const { - // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.passthrough) - return _internal_passthrough(); -} -inline void CSVCMsg_VoiceData::_internal_set_passthrough(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.passthrough_ = value; -} -inline void CSVCMsg_VoiceData::set_passthrough(int32_t value) { - _internal_set_passthrough(value); - // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.passthrough) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_PacketReliable - -// optional int32 tick = 1; -inline bool CSVCMsg_PacketReliable::_internal_has_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_PacketReliable::has_tick() const { - return _internal_has_tick(); -} -inline void CSVCMsg_PacketReliable::clear_tick() { - _impl_.tick_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CSVCMsg_PacketReliable::_internal_tick() const { - return _impl_.tick_; -} -inline int32_t CSVCMsg_PacketReliable::tick() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketReliable.tick) - return _internal_tick(); -} -inline void CSVCMsg_PacketReliable::_internal_set_tick(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.tick_ = value; -} -inline void CSVCMsg_PacketReliable::set_tick(int32_t value) { - _internal_set_tick(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketReliable.tick) -} - -// optional int32 messagessize = 2; -inline bool CSVCMsg_PacketReliable::_internal_has_messagessize() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_PacketReliable::has_messagessize() const { - return _internal_has_messagessize(); -} -inline void CSVCMsg_PacketReliable::clear_messagessize() { - _impl_.messagessize_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_PacketReliable::_internal_messagessize() const { - return _impl_.messagessize_; -} -inline int32_t CSVCMsg_PacketReliable::messagessize() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketReliable.messagessize) - return _internal_messagessize(); -} -inline void CSVCMsg_PacketReliable::_internal_set_messagessize(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.messagessize_ = value; -} -inline void CSVCMsg_PacketReliable::set_messagessize(int32_t value) { - _internal_set_messagessize(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketReliable.messagessize) -} - -// optional bool state = 3; -inline bool CSVCMsg_PacketReliable::_internal_has_state() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_PacketReliable::has_state() const { - return _internal_has_state(); -} -inline void CSVCMsg_PacketReliable::clear_state() { - _impl_.state_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CSVCMsg_PacketReliable::_internal_state() const { - return _impl_.state_; -} -inline bool CSVCMsg_PacketReliable::state() const { - // @@protoc_insertion_point(field_get:CSVCMsg_PacketReliable.state) - return _internal_state(); -} -inline void CSVCMsg_PacketReliable::_internal_set_state(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.state_ = value; -} -inline void CSVCMsg_PacketReliable::set_state(bool value) { - _internal_set_state(value); - // @@protoc_insertion_point(field_set:CSVCMsg_PacketReliable.state) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_FullFrameSplit - -// optional int32 tick = 1; -inline bool CSVCMsg_FullFrameSplit::_internal_has_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_FullFrameSplit::has_tick() const { - return _internal_has_tick(); -} -inline void CSVCMsg_FullFrameSplit::clear_tick() { - _impl_.tick_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_FullFrameSplit::_internal_tick() const { - return _impl_.tick_; -} -inline int32_t CSVCMsg_FullFrameSplit::tick() const { - // @@protoc_insertion_point(field_get:CSVCMsg_FullFrameSplit.tick) - return _internal_tick(); -} -inline void CSVCMsg_FullFrameSplit::_internal_set_tick(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.tick_ = value; -} -inline void CSVCMsg_FullFrameSplit::set_tick(int32_t value) { - _internal_set_tick(value); - // @@protoc_insertion_point(field_set:CSVCMsg_FullFrameSplit.tick) -} - -// optional int32 section = 2; -inline bool CSVCMsg_FullFrameSplit::_internal_has_section() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_FullFrameSplit::has_section() const { - return _internal_has_section(); -} -inline void CSVCMsg_FullFrameSplit::clear_section() { - _impl_.section_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CSVCMsg_FullFrameSplit::_internal_section() const { - return _impl_.section_; -} -inline int32_t CSVCMsg_FullFrameSplit::section() const { - // @@protoc_insertion_point(field_get:CSVCMsg_FullFrameSplit.section) - return _internal_section(); -} -inline void CSVCMsg_FullFrameSplit::_internal_set_section(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.section_ = value; -} -inline void CSVCMsg_FullFrameSplit::set_section(int32_t value) { - _internal_set_section(value); - // @@protoc_insertion_point(field_set:CSVCMsg_FullFrameSplit.section) -} - -// optional int32 total = 3; -inline bool CSVCMsg_FullFrameSplit::_internal_has_total() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSVCMsg_FullFrameSplit::has_total() const { - return _internal_has_total(); -} -inline void CSVCMsg_FullFrameSplit::clear_total() { - _impl_.total_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CSVCMsg_FullFrameSplit::_internal_total() const { - return _impl_.total_; -} -inline int32_t CSVCMsg_FullFrameSplit::total() const { - // @@protoc_insertion_point(field_get:CSVCMsg_FullFrameSplit.total) - return _internal_total(); -} -inline void CSVCMsg_FullFrameSplit::_internal_set_total(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.total_ = value; -} -inline void CSVCMsg_FullFrameSplit::set_total(int32_t value) { - _internal_set_total(value); - // @@protoc_insertion_point(field_set:CSVCMsg_FullFrameSplit.total) -} - -// optional bytes data = 4; -inline bool CSVCMsg_FullFrameSplit::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_FullFrameSplit::has_data() const { - return _internal_has_data(); -} -inline void CSVCMsg_FullFrameSplit::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_FullFrameSplit::data() const { - // @@protoc_insertion_point(field_get:CSVCMsg_FullFrameSplit.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_FullFrameSplit::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_FullFrameSplit.data) -} -inline std::string* CSVCMsg_FullFrameSplit::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_FullFrameSplit.data) - return _s; -} -inline const std::string& CSVCMsg_FullFrameSplit::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CSVCMsg_FullFrameSplit::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_FullFrameSplit::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_FullFrameSplit::release_data() { - // @@protoc_insertion_point(field_release:CSVCMsg_FullFrameSplit.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_FullFrameSplit::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_FullFrameSplit.data) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_HLTVStatus - -// optional string master = 1; -inline bool CSVCMsg_HLTVStatus::_internal_has_master() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_HLTVStatus::has_master() const { - return _internal_has_master(); -} -inline void CSVCMsg_HLTVStatus::clear_master() { - _impl_.master_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_HLTVStatus::master() const { - // @@protoc_insertion_point(field_get:CSVCMsg_HLTVStatus.master) - return _internal_master(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_HLTVStatus::set_master(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.master_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_HLTVStatus.master) -} -inline std::string* CSVCMsg_HLTVStatus::mutable_master() { - std::string* _s = _internal_mutable_master(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_HLTVStatus.master) - return _s; -} -inline const std::string& CSVCMsg_HLTVStatus::_internal_master() const { - return _impl_.master_.Get(); -} -inline void CSVCMsg_HLTVStatus::_internal_set_master(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.master_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_HLTVStatus::_internal_mutable_master() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.master_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_HLTVStatus::release_master() { - // @@protoc_insertion_point(field_release:CSVCMsg_HLTVStatus.master) - if (!_internal_has_master()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.master_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.master_.IsDefault()) { - _impl_.master_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_HLTVStatus::set_allocated_master(std::string* master) { - if (master != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.master_.SetAllocated(master, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.master_.IsDefault()) { - _impl_.master_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_HLTVStatus.master) -} - -// optional int32 clients = 2; -inline bool CSVCMsg_HLTVStatus::_internal_has_clients() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_HLTVStatus::has_clients() const { - return _internal_has_clients(); -} -inline void CSVCMsg_HLTVStatus::clear_clients() { - _impl_.clients_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_HLTVStatus::_internal_clients() const { - return _impl_.clients_; -} -inline int32_t CSVCMsg_HLTVStatus::clients() const { - // @@protoc_insertion_point(field_get:CSVCMsg_HLTVStatus.clients) - return _internal_clients(); -} -inline void CSVCMsg_HLTVStatus::_internal_set_clients(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.clients_ = value; -} -inline void CSVCMsg_HLTVStatus::set_clients(int32_t value) { - _internal_set_clients(value); - // @@protoc_insertion_point(field_set:CSVCMsg_HLTVStatus.clients) -} - -// optional int32 slots = 3; -inline bool CSVCMsg_HLTVStatus::_internal_has_slots() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_HLTVStatus::has_slots() const { - return _internal_has_slots(); -} -inline void CSVCMsg_HLTVStatus::clear_slots() { - _impl_.slots_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CSVCMsg_HLTVStatus::_internal_slots() const { - return _impl_.slots_; -} -inline int32_t CSVCMsg_HLTVStatus::slots() const { - // @@protoc_insertion_point(field_get:CSVCMsg_HLTVStatus.slots) - return _internal_slots(); -} -inline void CSVCMsg_HLTVStatus::_internal_set_slots(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.slots_ = value; -} -inline void CSVCMsg_HLTVStatus::set_slots(int32_t value) { - _internal_set_slots(value); - // @@protoc_insertion_point(field_set:CSVCMsg_HLTVStatus.slots) -} - -// optional int32 proxies = 4; -inline bool CSVCMsg_HLTVStatus::_internal_has_proxies() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSVCMsg_HLTVStatus::has_proxies() const { - return _internal_has_proxies(); -} -inline void CSVCMsg_HLTVStatus::clear_proxies() { - _impl_.proxies_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CSVCMsg_HLTVStatus::_internal_proxies() const { - return _impl_.proxies_; -} -inline int32_t CSVCMsg_HLTVStatus::proxies() const { - // @@protoc_insertion_point(field_get:CSVCMsg_HLTVStatus.proxies) - return _internal_proxies(); -} -inline void CSVCMsg_HLTVStatus::_internal_set_proxies(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.proxies_ = value; -} -inline void CSVCMsg_HLTVStatus::set_proxies(int32_t value) { - _internal_set_proxies(value); - // @@protoc_insertion_point(field_set:CSVCMsg_HLTVStatus.proxies) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_ServerSteamID - -// optional uint64 steam_id = 1; -inline bool CSVCMsg_ServerSteamID::_internal_has_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_ServerSteamID::has_steam_id() const { - return _internal_has_steam_id(); -} -inline void CSVCMsg_ServerSteamID::clear_steam_id() { - _impl_.steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CSVCMsg_ServerSteamID::_internal_steam_id() const { - return _impl_.steam_id_; -} -inline uint64_t CSVCMsg_ServerSteamID::steam_id() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ServerSteamID.steam_id) - return _internal_steam_id(); -} -inline void CSVCMsg_ServerSteamID::_internal_set_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steam_id_ = value; -} -inline void CSVCMsg_ServerSteamID::set_steam_id(uint64_t value) { - _internal_set_steam_id(value); - // @@protoc_insertion_point(field_set:CSVCMsg_ServerSteamID.steam_id) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_CmdKeyValues - -// optional bytes data = 1; -inline bool CSVCMsg_CmdKeyValues::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_CmdKeyValues::has_data() const { - return _internal_has_data(); -} -inline void CSVCMsg_CmdKeyValues::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_CmdKeyValues::data() const { - // @@protoc_insertion_point(field_get:CSVCMsg_CmdKeyValues.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_CmdKeyValues::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_CmdKeyValues.data) -} -inline std::string* CSVCMsg_CmdKeyValues::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_CmdKeyValues.data) - return _s; -} -inline const std::string& CSVCMsg_CmdKeyValues::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CSVCMsg_CmdKeyValues::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_CmdKeyValues::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_CmdKeyValues::release_data() { - // @@protoc_insertion_point(field_release:CSVCMsg_CmdKeyValues.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_CmdKeyValues::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_CmdKeyValues.data) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_RconServerDetails - -// optional bytes token = 1; -inline bool CSVCMsg_RconServerDetails::_internal_has_token() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_RconServerDetails::has_token() const { - return _internal_has_token(); -} -inline void CSVCMsg_RconServerDetails::clear_token() { - _impl_.token_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_RconServerDetails::token() const { - // @@protoc_insertion_point(field_get:CSVCMsg_RconServerDetails.token) - return _internal_token(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_RconServerDetails::set_token(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.token_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_RconServerDetails.token) -} -inline std::string* CSVCMsg_RconServerDetails::mutable_token() { - std::string* _s = _internal_mutable_token(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_RconServerDetails.token) - return _s; -} -inline const std::string& CSVCMsg_RconServerDetails::_internal_token() const { - return _impl_.token_.Get(); -} -inline void CSVCMsg_RconServerDetails::_internal_set_token(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.token_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_RconServerDetails::_internal_mutable_token() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.token_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_RconServerDetails::release_token() { - // @@protoc_insertion_point(field_release:CSVCMsg_RconServerDetails.token) - if (!_internal_has_token()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.token_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.token_.IsDefault()) { - _impl_.token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_RconServerDetails::set_allocated_token(std::string* token) { - if (token != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.token_.SetAllocated(token, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.token_.IsDefault()) { - _impl_.token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_RconServerDetails.token) -} - -// optional string details = 2; -inline bool CSVCMsg_RconServerDetails::_internal_has_details() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_RconServerDetails::has_details() const { - return _internal_has_details(); -} -inline void CSVCMsg_RconServerDetails::clear_details() { - _impl_.details_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CSVCMsg_RconServerDetails::details() const { - // @@protoc_insertion_point(field_get:CSVCMsg_RconServerDetails.details) - return _internal_details(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_RconServerDetails::set_details(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.details_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_RconServerDetails.details) -} -inline std::string* CSVCMsg_RconServerDetails::mutable_details() { - std::string* _s = _internal_mutable_details(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_RconServerDetails.details) - return _s; -} -inline const std::string& CSVCMsg_RconServerDetails::_internal_details() const { - return _impl_.details_.Get(); -} -inline void CSVCMsg_RconServerDetails::_internal_set_details(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.details_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_RconServerDetails::_internal_mutable_details() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.details_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_RconServerDetails::release_details() { - // @@protoc_insertion_point(field_release:CSVCMsg_RconServerDetails.details) - if (!_internal_has_details()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.details_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.details_.IsDefault()) { - _impl_.details_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_RconServerDetails::set_allocated_details(std::string* details) { - if (details != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.details_.SetAllocated(details, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.details_.IsDefault()) { - _impl_.details_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_RconServerDetails.details) -} - -// ------------------------------------------------------------------- - -// CMsgIPCAddress - -// optional fixed64 computer_guid = 1; -inline bool CMsgIPCAddress::_internal_has_computer_guid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgIPCAddress::has_computer_guid() const { - return _internal_has_computer_guid(); -} -inline void CMsgIPCAddress::clear_computer_guid() { - _impl_.computer_guid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgIPCAddress::_internal_computer_guid() const { - return _impl_.computer_guid_; -} -inline uint64_t CMsgIPCAddress::computer_guid() const { - // @@protoc_insertion_point(field_get:CMsgIPCAddress.computer_guid) - return _internal_computer_guid(); -} -inline void CMsgIPCAddress::_internal_set_computer_guid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.computer_guid_ = value; -} -inline void CMsgIPCAddress::set_computer_guid(uint64_t value) { - _internal_set_computer_guid(value); - // @@protoc_insertion_point(field_set:CMsgIPCAddress.computer_guid) -} - -// optional uint32 process_id = 2; -inline bool CMsgIPCAddress::_internal_has_process_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgIPCAddress::has_process_id() const { - return _internal_has_process_id(); -} -inline void CMsgIPCAddress::clear_process_id() { - _impl_.process_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgIPCAddress::_internal_process_id() const { - return _impl_.process_id_; -} -inline uint32_t CMsgIPCAddress::process_id() const { - // @@protoc_insertion_point(field_get:CMsgIPCAddress.process_id) - return _internal_process_id(); -} -inline void CMsgIPCAddress::_internal_set_process_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.process_id_ = value; -} -inline void CMsgIPCAddress::set_process_id(uint32_t value) { - _internal_set_process_id(value); - // @@protoc_insertion_point(field_set:CMsgIPCAddress.process_id) -} - -// ------------------------------------------------------------------- - -// CMsgServerPeer - -// optional int32 player_slot = 1 [default = -1]; -inline bool CMsgServerPeer::_internal_has_player_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgServerPeer::has_player_slot() const { - return _internal_has_player_slot(); -} -inline void CMsgServerPeer::clear_player_slot() { - _impl_.player_slot_ = -1; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CMsgServerPeer::_internal_player_slot() const { - return _impl_.player_slot_; -} -inline int32_t CMsgServerPeer::player_slot() const { - // @@protoc_insertion_point(field_get:CMsgServerPeer.player_slot) - return _internal_player_slot(); -} -inline void CMsgServerPeer::_internal_set_player_slot(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.player_slot_ = value; -} -inline void CMsgServerPeer::set_player_slot(int32_t value) { - _internal_set_player_slot(value); - // @@protoc_insertion_point(field_set:CMsgServerPeer.player_slot) -} - -// optional fixed64 steamid = 2; -inline bool CMsgServerPeer::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgServerPeer::has_steamid() const { - return _internal_has_steamid(); -} -inline void CMsgServerPeer::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgServerPeer::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CMsgServerPeer::steamid() const { - // @@protoc_insertion_point(field_get:CMsgServerPeer.steamid) - return _internal_steamid(); -} -inline void CMsgServerPeer::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.steamid_ = value; -} -inline void CMsgServerPeer::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CMsgServerPeer.steamid) -} - -// optional .CMsgIPCAddress ipc = 3; -inline bool CMsgServerPeer::_internal_has_ipc() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.ipc_ != nullptr); - return value; -} -inline bool CMsgServerPeer::has_ipc() const { - return _internal_has_ipc(); -} -inline void CMsgServerPeer::clear_ipc() { - if (_impl_.ipc_ != nullptr) _impl_.ipc_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgIPCAddress& CMsgServerPeer::_internal_ipc() const { - const ::CMsgIPCAddress* p = _impl_.ipc_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgIPCAddress_default_instance_); -} -inline const ::CMsgIPCAddress& CMsgServerPeer::ipc() const { - // @@protoc_insertion_point(field_get:CMsgServerPeer.ipc) - return _internal_ipc(); -} -inline void CMsgServerPeer::unsafe_arena_set_allocated_ipc( - ::CMsgIPCAddress* ipc) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ipc_); - } - _impl_.ipc_ = ipc; - if (ipc) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgServerPeer.ipc) -} -inline ::CMsgIPCAddress* CMsgServerPeer::release_ipc() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgIPCAddress* temp = _impl_.ipc_; - _impl_.ipc_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgIPCAddress* CMsgServerPeer::unsafe_arena_release_ipc() { - // @@protoc_insertion_point(field_release:CMsgServerPeer.ipc) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgIPCAddress* temp = _impl_.ipc_; - _impl_.ipc_ = nullptr; - return temp; -} -inline ::CMsgIPCAddress* CMsgServerPeer::_internal_mutable_ipc() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.ipc_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgIPCAddress>(GetArenaForAllocation()); - _impl_.ipc_ = p; - } - return _impl_.ipc_; -} -inline ::CMsgIPCAddress* CMsgServerPeer::mutable_ipc() { - ::CMsgIPCAddress* _msg = _internal_mutable_ipc(); - // @@protoc_insertion_point(field_mutable:CMsgServerPeer.ipc) - return _msg; -} -inline void CMsgServerPeer::set_allocated_ipc(::CMsgIPCAddress* ipc) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.ipc_; - } - if (ipc) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ipc); - if (message_arena != submessage_arena) { - ipc = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, ipc, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.ipc_ = ipc; - // @@protoc_insertion_point(field_set_allocated:CMsgServerPeer.ipc) -} - -// optional bool they_hear_you = 4; -inline bool CMsgServerPeer::_internal_has_they_hear_you() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgServerPeer::has_they_hear_you() const { - return _internal_has_they_hear_you(); -} -inline void CMsgServerPeer::clear_they_hear_you() { - _impl_.they_hear_you_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CMsgServerPeer::_internal_they_hear_you() const { - return _impl_.they_hear_you_; -} -inline bool CMsgServerPeer::they_hear_you() const { - // @@protoc_insertion_point(field_get:CMsgServerPeer.they_hear_you) - return _internal_they_hear_you(); -} -inline void CMsgServerPeer::_internal_set_they_hear_you(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.they_hear_you_ = value; -} -inline void CMsgServerPeer::set_they_hear_you(bool value) { - _internal_set_they_hear_you(value); - // @@protoc_insertion_point(field_set:CMsgServerPeer.they_hear_you) -} - -// optional bool you_hear_them = 5; -inline bool CMsgServerPeer::_internal_has_you_hear_them() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgServerPeer::has_you_hear_them() const { - return _internal_has_you_hear_them(); -} -inline void CMsgServerPeer::clear_you_hear_them() { - _impl_.you_hear_them_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CMsgServerPeer::_internal_you_hear_them() const { - return _impl_.you_hear_them_; -} -inline bool CMsgServerPeer::you_hear_them() const { - // @@protoc_insertion_point(field_get:CMsgServerPeer.you_hear_them) - return _internal_you_hear_them(); -} -inline void CMsgServerPeer::_internal_set_you_hear_them(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.you_hear_them_ = value; -} -inline void CMsgServerPeer::set_you_hear_them(bool value) { - _internal_set_you_hear_them(value); - // @@protoc_insertion_point(field_set:CMsgServerPeer.you_hear_them) -} - -// optional bool is_listenserver_host = 6; -inline bool CMsgServerPeer::_internal_has_is_listenserver_host() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgServerPeer::has_is_listenserver_host() const { - return _internal_has_is_listenserver_host(); -} -inline void CMsgServerPeer::clear_is_listenserver_host() { - _impl_.is_listenserver_host_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool CMsgServerPeer::_internal_is_listenserver_host() const { - return _impl_.is_listenserver_host_; -} -inline bool CMsgServerPeer::is_listenserver_host() const { - // @@protoc_insertion_point(field_get:CMsgServerPeer.is_listenserver_host) - return _internal_is_listenserver_host(); -} -inline void CMsgServerPeer::_internal_set_is_listenserver_host(bool value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.is_listenserver_host_ = value; -} -inline void CMsgServerPeer::set_is_listenserver_host(bool value) { - _internal_set_is_listenserver_host(value); - // @@protoc_insertion_point(field_set:CMsgServerPeer.is_listenserver_host) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_PeerList - -// repeated .CMsgServerPeer peer = 1; -inline int CSVCMsg_PeerList::_internal_peer_size() const { - return _impl_.peer_.size(); -} -inline int CSVCMsg_PeerList::peer_size() const { - return _internal_peer_size(); -} -inline void CSVCMsg_PeerList::clear_peer() { - _impl_.peer_.Clear(); -} -inline ::CMsgServerPeer* CSVCMsg_PeerList::mutable_peer(int index) { - // @@protoc_insertion_point(field_mutable:CSVCMsg_PeerList.peer) - return _impl_.peer_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerPeer >* -CSVCMsg_PeerList::mutable_peer() { - // @@protoc_insertion_point(field_mutable_list:CSVCMsg_PeerList.peer) - return &_impl_.peer_; -} -inline const ::CMsgServerPeer& CSVCMsg_PeerList::_internal_peer(int index) const { - return _impl_.peer_.Get(index); -} -inline const ::CMsgServerPeer& CSVCMsg_PeerList::peer(int index) const { - // @@protoc_insertion_point(field_get:CSVCMsg_PeerList.peer) - return _internal_peer(index); -} -inline ::CMsgServerPeer* CSVCMsg_PeerList::_internal_add_peer() { - return _impl_.peer_.Add(); -} -inline ::CMsgServerPeer* CSVCMsg_PeerList::add_peer() { - ::CMsgServerPeer* _add = _internal_add_peer(); - // @@protoc_insertion_point(field_add:CSVCMsg_PeerList.peer) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerPeer >& -CSVCMsg_PeerList::peer() const { - // @@protoc_insertion_point(field_list:CSVCMsg_PeerList.peer) - return _impl_.peer_; -} - -// ------------------------------------------------------------------- - -// CSVCMsg_ClearAllStringTables - -// optional string mapname = 1; -inline bool CSVCMsg_ClearAllStringTables::_internal_has_mapname() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_ClearAllStringTables::has_mapname() const { - return _internal_has_mapname(); -} -inline void CSVCMsg_ClearAllStringTables::clear_mapname() { - _impl_.mapname_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_ClearAllStringTables::mapname() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ClearAllStringTables.mapname) - return _internal_mapname(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_ClearAllStringTables::set_mapname(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.mapname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_ClearAllStringTables.mapname) -} -inline std::string* CSVCMsg_ClearAllStringTables::mutable_mapname() { - std::string* _s = _internal_mutable_mapname(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_ClearAllStringTables.mapname) - return _s; -} -inline const std::string& CSVCMsg_ClearAllStringTables::_internal_mapname() const { - return _impl_.mapname_.Get(); -} -inline void CSVCMsg_ClearAllStringTables::_internal_set_mapname(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.mapname_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_ClearAllStringTables::_internal_mutable_mapname() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.mapname_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_ClearAllStringTables::release_mapname() { - // @@protoc_insertion_point(field_release:CSVCMsg_ClearAllStringTables.mapname) - if (!_internal_has_mapname()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.mapname_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.mapname_.IsDefault()) { - _impl_.mapname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_ClearAllStringTables::set_allocated_mapname(std::string* mapname) { - if (mapname != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.mapname_.SetAllocated(mapname, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.mapname_.IsDefault()) { - _impl_.mapname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ClearAllStringTables.mapname) -} - -// optional bool create_tables_skipped = 3; -inline bool CSVCMsg_ClearAllStringTables::_internal_has_create_tables_skipped() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_ClearAllStringTables::has_create_tables_skipped() const { - return _internal_has_create_tables_skipped(); -} -inline void CSVCMsg_ClearAllStringTables::clear_create_tables_skipped() { - _impl_.create_tables_skipped_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CSVCMsg_ClearAllStringTables::_internal_create_tables_skipped() const { - return _impl_.create_tables_skipped_; -} -inline bool CSVCMsg_ClearAllStringTables::create_tables_skipped() const { - // @@protoc_insertion_point(field_get:CSVCMsg_ClearAllStringTables.create_tables_skipped) - return _internal_create_tables_skipped(); -} -inline void CSVCMsg_ClearAllStringTables::_internal_set_create_tables_skipped(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.create_tables_skipped_ = value; -} -inline void CSVCMsg_ClearAllStringTables::set_create_tables_skipped(bool value) { - _internal_set_create_tables_skipped(value); - // @@protoc_insertion_point(field_set:CSVCMsg_ClearAllStringTables.create_tables_skipped) -} - -// ------------------------------------------------------------------- - -// ProtoFlattenedSerializerField_t_polymorphic_field_t - -// optional int32 polymorphic_field_serializer_name_sym = 1; -inline bool ProtoFlattenedSerializerField_t_polymorphic_field_t::_internal_has_polymorphic_field_serializer_name_sym() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool ProtoFlattenedSerializerField_t_polymorphic_field_t::has_polymorphic_field_serializer_name_sym() const { - return _internal_has_polymorphic_field_serializer_name_sym(); -} -inline void ProtoFlattenedSerializerField_t_polymorphic_field_t::clear_polymorphic_field_serializer_name_sym() { - _impl_.polymorphic_field_serializer_name_sym_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t ProtoFlattenedSerializerField_t_polymorphic_field_t::_internal_polymorphic_field_serializer_name_sym() const { - return _impl_.polymorphic_field_serializer_name_sym_; -} -inline int32_t ProtoFlattenedSerializerField_t_polymorphic_field_t::polymorphic_field_serializer_name_sym() const { - // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.polymorphic_field_t.polymorphic_field_serializer_name_sym) - return _internal_polymorphic_field_serializer_name_sym(); -} -inline void ProtoFlattenedSerializerField_t_polymorphic_field_t::_internal_set_polymorphic_field_serializer_name_sym(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.polymorphic_field_serializer_name_sym_ = value; -} -inline void ProtoFlattenedSerializerField_t_polymorphic_field_t::set_polymorphic_field_serializer_name_sym(int32_t value) { - _internal_set_polymorphic_field_serializer_name_sym(value); - // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.polymorphic_field_t.polymorphic_field_serializer_name_sym) -} - -// optional int32 polymorphic_field_serializer_version = 2; -inline bool ProtoFlattenedSerializerField_t_polymorphic_field_t::_internal_has_polymorphic_field_serializer_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool ProtoFlattenedSerializerField_t_polymorphic_field_t::has_polymorphic_field_serializer_version() const { - return _internal_has_polymorphic_field_serializer_version(); -} -inline void ProtoFlattenedSerializerField_t_polymorphic_field_t::clear_polymorphic_field_serializer_version() { - _impl_.polymorphic_field_serializer_version_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t ProtoFlattenedSerializerField_t_polymorphic_field_t::_internal_polymorphic_field_serializer_version() const { - return _impl_.polymorphic_field_serializer_version_; -} -inline int32_t ProtoFlattenedSerializerField_t_polymorphic_field_t::polymorphic_field_serializer_version() const { - // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.polymorphic_field_t.polymorphic_field_serializer_version) - return _internal_polymorphic_field_serializer_version(); -} -inline void ProtoFlattenedSerializerField_t_polymorphic_field_t::_internal_set_polymorphic_field_serializer_version(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.polymorphic_field_serializer_version_ = value; -} -inline void ProtoFlattenedSerializerField_t_polymorphic_field_t::set_polymorphic_field_serializer_version(int32_t value) { - _internal_set_polymorphic_field_serializer_version(value); - // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.polymorphic_field_t.polymorphic_field_serializer_version) -} - -// ------------------------------------------------------------------- - -// ProtoFlattenedSerializerField_t - -// optional int32 var_type_sym = 1; -inline bool ProtoFlattenedSerializerField_t::_internal_has_var_type_sym() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool ProtoFlattenedSerializerField_t::has_var_type_sym() const { - return _internal_has_var_type_sym(); -} -inline void ProtoFlattenedSerializerField_t::clear_var_type_sym() { - _impl_.var_type_sym_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t ProtoFlattenedSerializerField_t::_internal_var_type_sym() const { - return _impl_.var_type_sym_; -} -inline int32_t ProtoFlattenedSerializerField_t::var_type_sym() const { - // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.var_type_sym) - return _internal_var_type_sym(); -} -inline void ProtoFlattenedSerializerField_t::_internal_set_var_type_sym(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.var_type_sym_ = value; -} -inline void ProtoFlattenedSerializerField_t::set_var_type_sym(int32_t value) { - _internal_set_var_type_sym(value); - // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.var_type_sym) -} - -// optional int32 var_name_sym = 2; -inline bool ProtoFlattenedSerializerField_t::_internal_has_var_name_sym() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool ProtoFlattenedSerializerField_t::has_var_name_sym() const { - return _internal_has_var_name_sym(); -} -inline void ProtoFlattenedSerializerField_t::clear_var_name_sym() { - _impl_.var_name_sym_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t ProtoFlattenedSerializerField_t::_internal_var_name_sym() const { - return _impl_.var_name_sym_; -} -inline int32_t ProtoFlattenedSerializerField_t::var_name_sym() const { - // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.var_name_sym) - return _internal_var_name_sym(); -} -inline void ProtoFlattenedSerializerField_t::_internal_set_var_name_sym(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.var_name_sym_ = value; -} -inline void ProtoFlattenedSerializerField_t::set_var_name_sym(int32_t value) { - _internal_set_var_name_sym(value); - // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.var_name_sym) -} - -// optional int32 bit_count = 3; -inline bool ProtoFlattenedSerializerField_t::_internal_has_bit_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool ProtoFlattenedSerializerField_t::has_bit_count() const { - return _internal_has_bit_count(); -} -inline void ProtoFlattenedSerializerField_t::clear_bit_count() { - _impl_.bit_count_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t ProtoFlattenedSerializerField_t::_internal_bit_count() const { - return _impl_.bit_count_; -} -inline int32_t ProtoFlattenedSerializerField_t::bit_count() const { - // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.bit_count) - return _internal_bit_count(); -} -inline void ProtoFlattenedSerializerField_t::_internal_set_bit_count(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.bit_count_ = value; -} -inline void ProtoFlattenedSerializerField_t::set_bit_count(int32_t value) { - _internal_set_bit_count(value); - // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.bit_count) -} - -// optional float low_value = 4; -inline bool ProtoFlattenedSerializerField_t::_internal_has_low_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool ProtoFlattenedSerializerField_t::has_low_value() const { - return _internal_has_low_value(); -} -inline void ProtoFlattenedSerializerField_t::clear_low_value() { - _impl_.low_value_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float ProtoFlattenedSerializerField_t::_internal_low_value() const { - return _impl_.low_value_; -} -inline float ProtoFlattenedSerializerField_t::low_value() const { - // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.low_value) - return _internal_low_value(); -} -inline void ProtoFlattenedSerializerField_t::_internal_set_low_value(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.low_value_ = value; -} -inline void ProtoFlattenedSerializerField_t::set_low_value(float value) { - _internal_set_low_value(value); - // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.low_value) -} - -// optional float high_value = 5; -inline bool ProtoFlattenedSerializerField_t::_internal_has_high_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool ProtoFlattenedSerializerField_t::has_high_value() const { - return _internal_has_high_value(); -} -inline void ProtoFlattenedSerializerField_t::clear_high_value() { - _impl_.high_value_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float ProtoFlattenedSerializerField_t::_internal_high_value() const { - return _impl_.high_value_; -} -inline float ProtoFlattenedSerializerField_t::high_value() const { - // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.high_value) - return _internal_high_value(); -} -inline void ProtoFlattenedSerializerField_t::_internal_set_high_value(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.high_value_ = value; -} -inline void ProtoFlattenedSerializerField_t::set_high_value(float value) { - _internal_set_high_value(value); - // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.high_value) -} - -// optional int32 encode_flags = 6; -inline bool ProtoFlattenedSerializerField_t::_internal_has_encode_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool ProtoFlattenedSerializerField_t::has_encode_flags() const { - return _internal_has_encode_flags(); -} -inline void ProtoFlattenedSerializerField_t::clear_encode_flags() { - _impl_.encode_flags_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t ProtoFlattenedSerializerField_t::_internal_encode_flags() const { - return _impl_.encode_flags_; -} -inline int32_t ProtoFlattenedSerializerField_t::encode_flags() const { - // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.encode_flags) - return _internal_encode_flags(); -} -inline void ProtoFlattenedSerializerField_t::_internal_set_encode_flags(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.encode_flags_ = value; -} -inline void ProtoFlattenedSerializerField_t::set_encode_flags(int32_t value) { - _internal_set_encode_flags(value); - // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.encode_flags) -} - -// optional int32 field_serializer_name_sym = 7; -inline bool ProtoFlattenedSerializerField_t::_internal_has_field_serializer_name_sym() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool ProtoFlattenedSerializerField_t::has_field_serializer_name_sym() const { - return _internal_has_field_serializer_name_sym(); -} -inline void ProtoFlattenedSerializerField_t::clear_field_serializer_name_sym() { - _impl_.field_serializer_name_sym_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t ProtoFlattenedSerializerField_t::_internal_field_serializer_name_sym() const { - return _impl_.field_serializer_name_sym_; -} -inline int32_t ProtoFlattenedSerializerField_t::field_serializer_name_sym() const { - // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.field_serializer_name_sym) - return _internal_field_serializer_name_sym(); -} -inline void ProtoFlattenedSerializerField_t::_internal_set_field_serializer_name_sym(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.field_serializer_name_sym_ = value; -} -inline void ProtoFlattenedSerializerField_t::set_field_serializer_name_sym(int32_t value) { - _internal_set_field_serializer_name_sym(value); - // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.field_serializer_name_sym) -} - -// optional int32 field_serializer_version = 8; -inline bool ProtoFlattenedSerializerField_t::_internal_has_field_serializer_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool ProtoFlattenedSerializerField_t::has_field_serializer_version() const { - return _internal_has_field_serializer_version(); -} -inline void ProtoFlattenedSerializerField_t::clear_field_serializer_version() { - _impl_.field_serializer_version_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t ProtoFlattenedSerializerField_t::_internal_field_serializer_version() const { - return _impl_.field_serializer_version_; -} -inline int32_t ProtoFlattenedSerializerField_t::field_serializer_version() const { - // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.field_serializer_version) - return _internal_field_serializer_version(); -} -inline void ProtoFlattenedSerializerField_t::_internal_set_field_serializer_version(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.field_serializer_version_ = value; -} -inline void ProtoFlattenedSerializerField_t::set_field_serializer_version(int32_t value) { - _internal_set_field_serializer_version(value); - // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.field_serializer_version) -} - -// optional int32 send_node_sym = 9; -inline bool ProtoFlattenedSerializerField_t::_internal_has_send_node_sym() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool ProtoFlattenedSerializerField_t::has_send_node_sym() const { - return _internal_has_send_node_sym(); -} -inline void ProtoFlattenedSerializerField_t::clear_send_node_sym() { - _impl_.send_node_sym_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t ProtoFlattenedSerializerField_t::_internal_send_node_sym() const { - return _impl_.send_node_sym_; -} -inline int32_t ProtoFlattenedSerializerField_t::send_node_sym() const { - // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.send_node_sym) - return _internal_send_node_sym(); -} -inline void ProtoFlattenedSerializerField_t::_internal_set_send_node_sym(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.send_node_sym_ = value; -} -inline void ProtoFlattenedSerializerField_t::set_send_node_sym(int32_t value) { - _internal_set_send_node_sym(value); - // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.send_node_sym) -} - -// optional int32 var_encoder_sym = 10; -inline bool ProtoFlattenedSerializerField_t::_internal_has_var_encoder_sym() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool ProtoFlattenedSerializerField_t::has_var_encoder_sym() const { - return _internal_has_var_encoder_sym(); -} -inline void ProtoFlattenedSerializerField_t::clear_var_encoder_sym() { - _impl_.var_encoder_sym_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline int32_t ProtoFlattenedSerializerField_t::_internal_var_encoder_sym() const { - return _impl_.var_encoder_sym_; -} -inline int32_t ProtoFlattenedSerializerField_t::var_encoder_sym() const { - // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.var_encoder_sym) - return _internal_var_encoder_sym(); -} -inline void ProtoFlattenedSerializerField_t::_internal_set_var_encoder_sym(int32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.var_encoder_sym_ = value; -} -inline void ProtoFlattenedSerializerField_t::set_var_encoder_sym(int32_t value) { - _internal_set_var_encoder_sym(value); - // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.var_encoder_sym) -} - -// repeated .ProtoFlattenedSerializerField_t.polymorphic_field_t polymorphic_types = 11; -inline int ProtoFlattenedSerializerField_t::_internal_polymorphic_types_size() const { - return _impl_.polymorphic_types_.size(); -} -inline int ProtoFlattenedSerializerField_t::polymorphic_types_size() const { - return _internal_polymorphic_types_size(); -} -inline void ProtoFlattenedSerializerField_t::clear_polymorphic_types() { - _impl_.polymorphic_types_.Clear(); -} -inline ::ProtoFlattenedSerializerField_t_polymorphic_field_t* ProtoFlattenedSerializerField_t::mutable_polymorphic_types(int index) { - // @@protoc_insertion_point(field_mutable:ProtoFlattenedSerializerField_t.polymorphic_types) - return _impl_.polymorphic_types_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t_polymorphic_field_t >* -ProtoFlattenedSerializerField_t::mutable_polymorphic_types() { - // @@protoc_insertion_point(field_mutable_list:ProtoFlattenedSerializerField_t.polymorphic_types) - return &_impl_.polymorphic_types_; -} -inline const ::ProtoFlattenedSerializerField_t_polymorphic_field_t& ProtoFlattenedSerializerField_t::_internal_polymorphic_types(int index) const { - return _impl_.polymorphic_types_.Get(index); -} -inline const ::ProtoFlattenedSerializerField_t_polymorphic_field_t& ProtoFlattenedSerializerField_t::polymorphic_types(int index) const { - // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.polymorphic_types) - return _internal_polymorphic_types(index); -} -inline ::ProtoFlattenedSerializerField_t_polymorphic_field_t* ProtoFlattenedSerializerField_t::_internal_add_polymorphic_types() { - return _impl_.polymorphic_types_.Add(); -} -inline ::ProtoFlattenedSerializerField_t_polymorphic_field_t* ProtoFlattenedSerializerField_t::add_polymorphic_types() { - ::ProtoFlattenedSerializerField_t_polymorphic_field_t* _add = _internal_add_polymorphic_types(); - // @@protoc_insertion_point(field_add:ProtoFlattenedSerializerField_t.polymorphic_types) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t_polymorphic_field_t >& -ProtoFlattenedSerializerField_t::polymorphic_types() const { - // @@protoc_insertion_point(field_list:ProtoFlattenedSerializerField_t.polymorphic_types) - return _impl_.polymorphic_types_; -} - -// optional int32 var_serializer_sym = 12; -inline bool ProtoFlattenedSerializerField_t::_internal_has_var_serializer_sym() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool ProtoFlattenedSerializerField_t::has_var_serializer_sym() const { - return _internal_has_var_serializer_sym(); -} -inline void ProtoFlattenedSerializerField_t::clear_var_serializer_sym() { - _impl_.var_serializer_sym_ = 0; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline int32_t ProtoFlattenedSerializerField_t::_internal_var_serializer_sym() const { - return _impl_.var_serializer_sym_; -} -inline int32_t ProtoFlattenedSerializerField_t::var_serializer_sym() const { - // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.var_serializer_sym) - return _internal_var_serializer_sym(); -} -inline void ProtoFlattenedSerializerField_t::_internal_set_var_serializer_sym(int32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.var_serializer_sym_ = value; -} -inline void ProtoFlattenedSerializerField_t::set_var_serializer_sym(int32_t value) { - _internal_set_var_serializer_sym(value); - // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.var_serializer_sym) -} - -// ------------------------------------------------------------------- - -// ProtoFlattenedSerializer_t - -// optional int32 serializer_name_sym = 1; -inline bool ProtoFlattenedSerializer_t::_internal_has_serializer_name_sym() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool ProtoFlattenedSerializer_t::has_serializer_name_sym() const { - return _internal_has_serializer_name_sym(); -} -inline void ProtoFlattenedSerializer_t::clear_serializer_name_sym() { - _impl_.serializer_name_sym_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t ProtoFlattenedSerializer_t::_internal_serializer_name_sym() const { - return _impl_.serializer_name_sym_; -} -inline int32_t ProtoFlattenedSerializer_t::serializer_name_sym() const { - // @@protoc_insertion_point(field_get:ProtoFlattenedSerializer_t.serializer_name_sym) - return _internal_serializer_name_sym(); -} -inline void ProtoFlattenedSerializer_t::_internal_set_serializer_name_sym(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.serializer_name_sym_ = value; -} -inline void ProtoFlattenedSerializer_t::set_serializer_name_sym(int32_t value) { - _internal_set_serializer_name_sym(value); - // @@protoc_insertion_point(field_set:ProtoFlattenedSerializer_t.serializer_name_sym) -} - -// optional int32 serializer_version = 2; -inline bool ProtoFlattenedSerializer_t::_internal_has_serializer_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool ProtoFlattenedSerializer_t::has_serializer_version() const { - return _internal_has_serializer_version(); -} -inline void ProtoFlattenedSerializer_t::clear_serializer_version() { - _impl_.serializer_version_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t ProtoFlattenedSerializer_t::_internal_serializer_version() const { - return _impl_.serializer_version_; -} -inline int32_t ProtoFlattenedSerializer_t::serializer_version() const { - // @@protoc_insertion_point(field_get:ProtoFlattenedSerializer_t.serializer_version) - return _internal_serializer_version(); -} -inline void ProtoFlattenedSerializer_t::_internal_set_serializer_version(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.serializer_version_ = value; -} -inline void ProtoFlattenedSerializer_t::set_serializer_version(int32_t value) { - _internal_set_serializer_version(value); - // @@protoc_insertion_point(field_set:ProtoFlattenedSerializer_t.serializer_version) -} - -// repeated int32 fields_index = 3; -inline int ProtoFlattenedSerializer_t::_internal_fields_index_size() const { - return _impl_.fields_index_.size(); -} -inline int ProtoFlattenedSerializer_t::fields_index_size() const { - return _internal_fields_index_size(); -} -inline void ProtoFlattenedSerializer_t::clear_fields_index() { - _impl_.fields_index_.Clear(); -} -inline int32_t ProtoFlattenedSerializer_t::_internal_fields_index(int index) const { - return _impl_.fields_index_.Get(index); -} -inline int32_t ProtoFlattenedSerializer_t::fields_index(int index) const { - // @@protoc_insertion_point(field_get:ProtoFlattenedSerializer_t.fields_index) - return _internal_fields_index(index); -} -inline void ProtoFlattenedSerializer_t::set_fields_index(int index, int32_t value) { - _impl_.fields_index_.Set(index, value); - // @@protoc_insertion_point(field_set:ProtoFlattenedSerializer_t.fields_index) -} -inline void ProtoFlattenedSerializer_t::_internal_add_fields_index(int32_t value) { - _impl_.fields_index_.Add(value); -} -inline void ProtoFlattenedSerializer_t::add_fields_index(int32_t value) { - _internal_add_fields_index(value); - // @@protoc_insertion_point(field_add:ProtoFlattenedSerializer_t.fields_index) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -ProtoFlattenedSerializer_t::_internal_fields_index() const { - return _impl_.fields_index_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -ProtoFlattenedSerializer_t::fields_index() const { - // @@protoc_insertion_point(field_list:ProtoFlattenedSerializer_t.fields_index) - return _internal_fields_index(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -ProtoFlattenedSerializer_t::_internal_mutable_fields_index() { - return &_impl_.fields_index_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -ProtoFlattenedSerializer_t::mutable_fields_index() { - // @@protoc_insertion_point(field_mutable_list:ProtoFlattenedSerializer_t.fields_index) - return _internal_mutable_fields_index(); -} - -// ------------------------------------------------------------------- - -// CSVCMsg_FlattenedSerializer - -// repeated .ProtoFlattenedSerializer_t serializers = 1; -inline int CSVCMsg_FlattenedSerializer::_internal_serializers_size() const { - return _impl_.serializers_.size(); -} -inline int CSVCMsg_FlattenedSerializer::serializers_size() const { - return _internal_serializers_size(); -} -inline void CSVCMsg_FlattenedSerializer::clear_serializers() { - _impl_.serializers_.Clear(); -} -inline ::ProtoFlattenedSerializer_t* CSVCMsg_FlattenedSerializer::mutable_serializers(int index) { - // @@protoc_insertion_point(field_mutable:CSVCMsg_FlattenedSerializer.serializers) - return _impl_.serializers_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializer_t >* -CSVCMsg_FlattenedSerializer::mutable_serializers() { - // @@protoc_insertion_point(field_mutable_list:CSVCMsg_FlattenedSerializer.serializers) - return &_impl_.serializers_; -} -inline const ::ProtoFlattenedSerializer_t& CSVCMsg_FlattenedSerializer::_internal_serializers(int index) const { - return _impl_.serializers_.Get(index); -} -inline const ::ProtoFlattenedSerializer_t& CSVCMsg_FlattenedSerializer::serializers(int index) const { - // @@protoc_insertion_point(field_get:CSVCMsg_FlattenedSerializer.serializers) - return _internal_serializers(index); -} -inline ::ProtoFlattenedSerializer_t* CSVCMsg_FlattenedSerializer::_internal_add_serializers() { - return _impl_.serializers_.Add(); -} -inline ::ProtoFlattenedSerializer_t* CSVCMsg_FlattenedSerializer::add_serializers() { - ::ProtoFlattenedSerializer_t* _add = _internal_add_serializers(); - // @@protoc_insertion_point(field_add:CSVCMsg_FlattenedSerializer.serializers) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializer_t >& -CSVCMsg_FlattenedSerializer::serializers() const { - // @@protoc_insertion_point(field_list:CSVCMsg_FlattenedSerializer.serializers) - return _impl_.serializers_; -} - -// repeated string symbols = 2; -inline int CSVCMsg_FlattenedSerializer::_internal_symbols_size() const { - return _impl_.symbols_.size(); -} -inline int CSVCMsg_FlattenedSerializer::symbols_size() const { - return _internal_symbols_size(); -} -inline void CSVCMsg_FlattenedSerializer::clear_symbols() { - _impl_.symbols_.Clear(); -} -inline std::string* CSVCMsg_FlattenedSerializer::add_symbols() { - std::string* _s = _internal_add_symbols(); - // @@protoc_insertion_point(field_add_mutable:CSVCMsg_FlattenedSerializer.symbols) - return _s; -} -inline const std::string& CSVCMsg_FlattenedSerializer::_internal_symbols(int index) const { - return _impl_.symbols_.Get(index); -} -inline const std::string& CSVCMsg_FlattenedSerializer::symbols(int index) const { - // @@protoc_insertion_point(field_get:CSVCMsg_FlattenedSerializer.symbols) - return _internal_symbols(index); -} -inline std::string* CSVCMsg_FlattenedSerializer::mutable_symbols(int index) { - // @@protoc_insertion_point(field_mutable:CSVCMsg_FlattenedSerializer.symbols) - return _impl_.symbols_.Mutable(index); -} -inline void CSVCMsg_FlattenedSerializer::set_symbols(int index, const std::string& value) { - _impl_.symbols_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CSVCMsg_FlattenedSerializer.symbols) -} -inline void CSVCMsg_FlattenedSerializer::set_symbols(int index, std::string&& value) { - _impl_.symbols_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CSVCMsg_FlattenedSerializer.symbols) -} -inline void CSVCMsg_FlattenedSerializer::set_symbols(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.symbols_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CSVCMsg_FlattenedSerializer.symbols) -} -inline void CSVCMsg_FlattenedSerializer::set_symbols(int index, const char* value, size_t size) { - _impl_.symbols_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CSVCMsg_FlattenedSerializer.symbols) -} -inline std::string* CSVCMsg_FlattenedSerializer::_internal_add_symbols() { - return _impl_.symbols_.Add(); -} -inline void CSVCMsg_FlattenedSerializer::add_symbols(const std::string& value) { - _impl_.symbols_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CSVCMsg_FlattenedSerializer.symbols) -} -inline void CSVCMsg_FlattenedSerializer::add_symbols(std::string&& value) { - _impl_.symbols_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CSVCMsg_FlattenedSerializer.symbols) -} -inline void CSVCMsg_FlattenedSerializer::add_symbols(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.symbols_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CSVCMsg_FlattenedSerializer.symbols) -} -inline void CSVCMsg_FlattenedSerializer::add_symbols(const char* value, size_t size) { - _impl_.symbols_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CSVCMsg_FlattenedSerializer.symbols) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CSVCMsg_FlattenedSerializer::symbols() const { - // @@protoc_insertion_point(field_list:CSVCMsg_FlattenedSerializer.symbols) - return _impl_.symbols_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CSVCMsg_FlattenedSerializer::mutable_symbols() { - // @@protoc_insertion_point(field_mutable_list:CSVCMsg_FlattenedSerializer.symbols) - return &_impl_.symbols_; -} - -// repeated .ProtoFlattenedSerializerField_t fields = 3; -inline int CSVCMsg_FlattenedSerializer::_internal_fields_size() const { - return _impl_.fields_.size(); -} -inline int CSVCMsg_FlattenedSerializer::fields_size() const { - return _internal_fields_size(); -} -inline void CSVCMsg_FlattenedSerializer::clear_fields() { - _impl_.fields_.Clear(); -} -inline ::ProtoFlattenedSerializerField_t* CSVCMsg_FlattenedSerializer::mutable_fields(int index) { - // @@protoc_insertion_point(field_mutable:CSVCMsg_FlattenedSerializer.fields) - return _impl_.fields_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t >* -CSVCMsg_FlattenedSerializer::mutable_fields() { - // @@protoc_insertion_point(field_mutable_list:CSVCMsg_FlattenedSerializer.fields) - return &_impl_.fields_; -} -inline const ::ProtoFlattenedSerializerField_t& CSVCMsg_FlattenedSerializer::_internal_fields(int index) const { - return _impl_.fields_.Get(index); -} -inline const ::ProtoFlattenedSerializerField_t& CSVCMsg_FlattenedSerializer::fields(int index) const { - // @@protoc_insertion_point(field_get:CSVCMsg_FlattenedSerializer.fields) - return _internal_fields(index); -} -inline ::ProtoFlattenedSerializerField_t* CSVCMsg_FlattenedSerializer::_internal_add_fields() { - return _impl_.fields_.Add(); -} -inline ::ProtoFlattenedSerializerField_t* CSVCMsg_FlattenedSerializer::add_fields() { - ::ProtoFlattenedSerializerField_t* _add = _internal_add_fields(); - // @@protoc_insertion_point(field_add:CSVCMsg_FlattenedSerializer.fields) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ProtoFlattenedSerializerField_t >& -CSVCMsg_FlattenedSerializer::fields() const { - // @@protoc_insertion_point(field_list:CSVCMsg_FlattenedSerializer.fields) - return _impl_.fields_; -} - -// ------------------------------------------------------------------- - -// CSVCMsg_StopSound - -// optional fixed32 guid = 1; -inline bool CSVCMsg_StopSound::_internal_has_guid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_StopSound::has_guid() const { - return _internal_has_guid(); -} -inline void CSVCMsg_StopSound::clear_guid() { - _impl_.guid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CSVCMsg_StopSound::_internal_guid() const { - return _impl_.guid_; -} -inline uint32_t CSVCMsg_StopSound::guid() const { - // @@protoc_insertion_point(field_get:CSVCMsg_StopSound.guid) - return _internal_guid(); -} -inline void CSVCMsg_StopSound::_internal_set_guid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.guid_ = value; -} -inline void CSVCMsg_StopSound::set_guid(uint32_t value) { - _internal_set_guid(value); - // @@protoc_insertion_point(field_set:CSVCMsg_StopSound.guid) -} - -// ------------------------------------------------------------------- - -// CBidirMsg_RebroadcastGameEvent - -// optional bool posttoserver = 1; -inline bool CBidirMsg_RebroadcastGameEvent::_internal_has_posttoserver() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CBidirMsg_RebroadcastGameEvent::has_posttoserver() const { - return _internal_has_posttoserver(); -} -inline void CBidirMsg_RebroadcastGameEvent::clear_posttoserver() { - _impl_.posttoserver_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CBidirMsg_RebroadcastGameEvent::_internal_posttoserver() const { - return _impl_.posttoserver_; -} -inline bool CBidirMsg_RebroadcastGameEvent::posttoserver() const { - // @@protoc_insertion_point(field_get:CBidirMsg_RebroadcastGameEvent.posttoserver) - return _internal_posttoserver(); -} -inline void CBidirMsg_RebroadcastGameEvent::_internal_set_posttoserver(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.posttoserver_ = value; -} -inline void CBidirMsg_RebroadcastGameEvent::set_posttoserver(bool value) { - _internal_set_posttoserver(value); - // @@protoc_insertion_point(field_set:CBidirMsg_RebroadcastGameEvent.posttoserver) -} - -// optional int32 buftype = 2; -inline bool CBidirMsg_RebroadcastGameEvent::_internal_has_buftype() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CBidirMsg_RebroadcastGameEvent::has_buftype() const { - return _internal_has_buftype(); -} -inline void CBidirMsg_RebroadcastGameEvent::clear_buftype() { - _impl_.buftype_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CBidirMsg_RebroadcastGameEvent::_internal_buftype() const { - return _impl_.buftype_; -} -inline int32_t CBidirMsg_RebroadcastGameEvent::buftype() const { - // @@protoc_insertion_point(field_get:CBidirMsg_RebroadcastGameEvent.buftype) - return _internal_buftype(); -} -inline void CBidirMsg_RebroadcastGameEvent::_internal_set_buftype(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.buftype_ = value; -} -inline void CBidirMsg_RebroadcastGameEvent::set_buftype(int32_t value) { - _internal_set_buftype(value); - // @@protoc_insertion_point(field_set:CBidirMsg_RebroadcastGameEvent.buftype) -} - -// optional uint32 clientbitcount = 3; -inline bool CBidirMsg_RebroadcastGameEvent::_internal_has_clientbitcount() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CBidirMsg_RebroadcastGameEvent::has_clientbitcount() const { - return _internal_has_clientbitcount(); -} -inline void CBidirMsg_RebroadcastGameEvent::clear_clientbitcount() { - _impl_.clientbitcount_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CBidirMsg_RebroadcastGameEvent::_internal_clientbitcount() const { - return _impl_.clientbitcount_; -} -inline uint32_t CBidirMsg_RebroadcastGameEvent::clientbitcount() const { - // @@protoc_insertion_point(field_get:CBidirMsg_RebroadcastGameEvent.clientbitcount) - return _internal_clientbitcount(); -} -inline void CBidirMsg_RebroadcastGameEvent::_internal_set_clientbitcount(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.clientbitcount_ = value; -} -inline void CBidirMsg_RebroadcastGameEvent::set_clientbitcount(uint32_t value) { - _internal_set_clientbitcount(value); - // @@protoc_insertion_point(field_set:CBidirMsg_RebroadcastGameEvent.clientbitcount) -} - -// optional uint64 receivingclients = 4; -inline bool CBidirMsg_RebroadcastGameEvent::_internal_has_receivingclients() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CBidirMsg_RebroadcastGameEvent::has_receivingclients() const { - return _internal_has_receivingclients(); -} -inline void CBidirMsg_RebroadcastGameEvent::clear_receivingclients() { - _impl_.receivingclients_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CBidirMsg_RebroadcastGameEvent::_internal_receivingclients() const { - return _impl_.receivingclients_; -} -inline uint64_t CBidirMsg_RebroadcastGameEvent::receivingclients() const { - // @@protoc_insertion_point(field_get:CBidirMsg_RebroadcastGameEvent.receivingclients) - return _internal_receivingclients(); -} -inline void CBidirMsg_RebroadcastGameEvent::_internal_set_receivingclients(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.receivingclients_ = value; -} -inline void CBidirMsg_RebroadcastGameEvent::set_receivingclients(uint64_t value) { - _internal_set_receivingclients(value); - // @@protoc_insertion_point(field_set:CBidirMsg_RebroadcastGameEvent.receivingclients) -} - -// ------------------------------------------------------------------- - -// CBidirMsg_RebroadcastSource - -// optional int32 eventsource = 1; -inline bool CBidirMsg_RebroadcastSource::_internal_has_eventsource() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CBidirMsg_RebroadcastSource::has_eventsource() const { - return _internal_has_eventsource(); -} -inline void CBidirMsg_RebroadcastSource::clear_eventsource() { - _impl_.eventsource_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CBidirMsg_RebroadcastSource::_internal_eventsource() const { - return _impl_.eventsource_; -} -inline int32_t CBidirMsg_RebroadcastSource::eventsource() const { - // @@protoc_insertion_point(field_get:CBidirMsg_RebroadcastSource.eventsource) - return _internal_eventsource(); -} -inline void CBidirMsg_RebroadcastSource::_internal_set_eventsource(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.eventsource_ = value; -} -inline void CBidirMsg_RebroadcastSource::set_eventsource(int32_t value) { - _internal_set_eventsource(value); - // @@protoc_insertion_point(field_set:CBidirMsg_RebroadcastSource.eventsource) -} - -// ------------------------------------------------------------------- - -// CBidirMsg_PredictionEvent - -// required uint32 event_id = 1; -inline bool CBidirMsg_PredictionEvent::_internal_has_event_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CBidirMsg_PredictionEvent::has_event_id() const { - return _internal_has_event_id(); -} -inline void CBidirMsg_PredictionEvent::clear_event_id() { - _impl_.event_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CBidirMsg_PredictionEvent::_internal_event_id() const { - return _impl_.event_id_; -} -inline uint32_t CBidirMsg_PredictionEvent::event_id() const { - // @@protoc_insertion_point(field_get:CBidirMsg_PredictionEvent.event_id) - return _internal_event_id(); -} -inline void CBidirMsg_PredictionEvent::_internal_set_event_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.event_id_ = value; -} -inline void CBidirMsg_PredictionEvent::set_event_id(uint32_t value) { - _internal_set_event_id(value); - // @@protoc_insertion_point(field_set:CBidirMsg_PredictionEvent.event_id) -} - -// required bytes event_data = 2; -inline bool CBidirMsg_PredictionEvent::_internal_has_event_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CBidirMsg_PredictionEvent::has_event_data() const { - return _internal_has_event_data(); -} -inline void CBidirMsg_PredictionEvent::clear_event_data() { - _impl_.event_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CBidirMsg_PredictionEvent::event_data() const { - // @@protoc_insertion_point(field_get:CBidirMsg_PredictionEvent.event_data) - return _internal_event_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CBidirMsg_PredictionEvent::set_event_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CBidirMsg_PredictionEvent.event_data) -} -inline std::string* CBidirMsg_PredictionEvent::mutable_event_data() { - std::string* _s = _internal_mutable_event_data(); - // @@protoc_insertion_point(field_mutable:CBidirMsg_PredictionEvent.event_data) - return _s; -} -inline const std::string& CBidirMsg_PredictionEvent::_internal_event_data() const { - return _impl_.event_data_.Get(); -} -inline void CBidirMsg_PredictionEvent::_internal_set_event_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CBidirMsg_PredictionEvent::_internal_mutable_event_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.event_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CBidirMsg_PredictionEvent::release_event_data() { - // @@protoc_insertion_point(field_release:CBidirMsg_PredictionEvent.event_data) - if (!_internal_has_event_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.event_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_data_.IsDefault()) { - _impl_.event_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CBidirMsg_PredictionEvent::set_allocated_event_data(std::string* event_data) { - if (event_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.event_data_.SetAllocated(event_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_data_.IsDefault()) { - _impl_.event_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CBidirMsg_PredictionEvent.event_data) -} - -// optional uint32 sync_type = 3; -inline bool CBidirMsg_PredictionEvent::_internal_has_sync_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CBidirMsg_PredictionEvent::has_sync_type() const { - return _internal_has_sync_type(); -} -inline void CBidirMsg_PredictionEvent::clear_sync_type() { - _impl_.sync_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CBidirMsg_PredictionEvent::_internal_sync_type() const { - return _impl_.sync_type_; -} -inline uint32_t CBidirMsg_PredictionEvent::sync_type() const { - // @@protoc_insertion_point(field_get:CBidirMsg_PredictionEvent.sync_type) - return _internal_sync_type(); -} -inline void CBidirMsg_PredictionEvent::_internal_set_sync_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.sync_type_ = value; -} -inline void CBidirMsg_PredictionEvent::set_sync_type(uint32_t value) { - _internal_set_sync_type(value); - // @@protoc_insertion_point(field_set:CBidirMsg_PredictionEvent.sync_type) -} - -// optional uint32 sync_val_uint32 = 4; -inline bool CBidirMsg_PredictionEvent::_internal_has_sync_val_uint32() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CBidirMsg_PredictionEvent::has_sync_val_uint32() const { - return _internal_has_sync_val_uint32(); -} -inline void CBidirMsg_PredictionEvent::clear_sync_val_uint32() { - _impl_.sync_val_uint32_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CBidirMsg_PredictionEvent::_internal_sync_val_uint32() const { - return _impl_.sync_val_uint32_; -} -inline uint32_t CBidirMsg_PredictionEvent::sync_val_uint32() const { - // @@protoc_insertion_point(field_get:CBidirMsg_PredictionEvent.sync_val_uint32) - return _internal_sync_val_uint32(); -} -inline void CBidirMsg_PredictionEvent::_internal_set_sync_val_uint32(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.sync_val_uint32_ = value; -} -inline void CBidirMsg_PredictionEvent::set_sync_val_uint32(uint32_t value) { - _internal_set_sync_val_uint32(value); - // @@protoc_insertion_point(field_set:CBidirMsg_PredictionEvent.sync_val_uint32) -} - -// ------------------------------------------------------------------- - -// CMsgServerNetworkStats_Port - -// optional int32 port = 1; -inline bool CMsgServerNetworkStats_Port::_internal_has_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgServerNetworkStats_Port::has_port() const { - return _internal_has_port(); -} -inline void CMsgServerNetworkStats_Port::clear_port() { - _impl_.port_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgServerNetworkStats_Port::_internal_port() const { - return _impl_.port_; -} -inline int32_t CMsgServerNetworkStats_Port::port() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Port.port) - return _internal_port(); -} -inline void CMsgServerNetworkStats_Port::_internal_set_port(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.port_ = value; -} -inline void CMsgServerNetworkStats_Port::set_port(int32_t value) { - _internal_set_port(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Port.port) -} - -// optional string name = 2; -inline bool CMsgServerNetworkStats_Port::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgServerNetworkStats_Port::has_name() const { - return _internal_has_name(); -} -inline void CMsgServerNetworkStats_Port::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgServerNetworkStats_Port::name() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Port.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgServerNetworkStats_Port::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Port.name) -} -inline std::string* CMsgServerNetworkStats_Port::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CMsgServerNetworkStats.Port.name) - return _s; -} -inline const std::string& CMsgServerNetworkStats_Port::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CMsgServerNetworkStats_Port::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgServerNetworkStats_Port::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgServerNetworkStats_Port::release_name() { - // @@protoc_insertion_point(field_release:CMsgServerNetworkStats.Port.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgServerNetworkStats_Port::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgServerNetworkStats.Port.name) -} - -// ------------------------------------------------------------------- - -// CMsgServerNetworkStats_Player - -// optional uint64 steamid = 1; -inline bool CMsgServerNetworkStats_Player::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgServerNetworkStats_Player::has_steamid() const { - return _internal_has_steamid(); -} -inline void CMsgServerNetworkStats_Player::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgServerNetworkStats_Player::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CMsgServerNetworkStats_Player::steamid() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Player.steamid) - return _internal_steamid(); -} -inline void CMsgServerNetworkStats_Player::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.steamid_ = value; -} -inline void CMsgServerNetworkStats_Player::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Player.steamid) -} - -// optional string remote_addr = 2; -inline bool CMsgServerNetworkStats_Player::_internal_has_remote_addr() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgServerNetworkStats_Player::has_remote_addr() const { - return _internal_has_remote_addr(); -} -inline void CMsgServerNetworkStats_Player::clear_remote_addr() { - _impl_.remote_addr_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgServerNetworkStats_Player::remote_addr() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Player.remote_addr) - return _internal_remote_addr(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgServerNetworkStats_Player::set_remote_addr(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.remote_addr_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Player.remote_addr) -} -inline std::string* CMsgServerNetworkStats_Player::mutable_remote_addr() { - std::string* _s = _internal_mutable_remote_addr(); - // @@protoc_insertion_point(field_mutable:CMsgServerNetworkStats.Player.remote_addr) - return _s; -} -inline const std::string& CMsgServerNetworkStats_Player::_internal_remote_addr() const { - return _impl_.remote_addr_.Get(); -} -inline void CMsgServerNetworkStats_Player::_internal_set_remote_addr(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.remote_addr_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgServerNetworkStats_Player::_internal_mutable_remote_addr() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.remote_addr_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgServerNetworkStats_Player::release_remote_addr() { - // @@protoc_insertion_point(field_release:CMsgServerNetworkStats.Player.remote_addr) - if (!_internal_has_remote_addr()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.remote_addr_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.remote_addr_.IsDefault()) { - _impl_.remote_addr_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgServerNetworkStats_Player::set_allocated_remote_addr(std::string* remote_addr) { - if (remote_addr != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.remote_addr_.SetAllocated(remote_addr, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.remote_addr_.IsDefault()) { - _impl_.remote_addr_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgServerNetworkStats.Player.remote_addr) -} - -// optional int32 ping_avg_ms = 4; -inline bool CMsgServerNetworkStats_Player::_internal_has_ping_avg_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgServerNetworkStats_Player::has_ping_avg_ms() const { - return _internal_has_ping_avg_ms(); -} -inline void CMsgServerNetworkStats_Player::clear_ping_avg_ms() { - _impl_.ping_avg_ms_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CMsgServerNetworkStats_Player::_internal_ping_avg_ms() const { - return _impl_.ping_avg_ms_; -} -inline int32_t CMsgServerNetworkStats_Player::ping_avg_ms() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Player.ping_avg_ms) - return _internal_ping_avg_ms(); -} -inline void CMsgServerNetworkStats_Player::_internal_set_ping_avg_ms(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.ping_avg_ms_ = value; -} -inline void CMsgServerNetworkStats_Player::set_ping_avg_ms(int32_t value) { - _internal_set_ping_avg_ms(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Player.ping_avg_ms) -} - -// optional float packet_loss_pct = 5; -inline bool CMsgServerNetworkStats_Player::_internal_has_packet_loss_pct() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgServerNetworkStats_Player::has_packet_loss_pct() const { - return _internal_has_packet_loss_pct(); -} -inline void CMsgServerNetworkStats_Player::clear_packet_loss_pct() { - _impl_.packet_loss_pct_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CMsgServerNetworkStats_Player::_internal_packet_loss_pct() const { - return _impl_.packet_loss_pct_; -} -inline float CMsgServerNetworkStats_Player::packet_loss_pct() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Player.packet_loss_pct) - return _internal_packet_loss_pct(); -} -inline void CMsgServerNetworkStats_Player::_internal_set_packet_loss_pct(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.packet_loss_pct_ = value; -} -inline void CMsgServerNetworkStats_Player::set_packet_loss_pct(float value) { - _internal_set_packet_loss_pct(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Player.packet_loss_pct) -} - -// optional bool is_bot = 6; -inline bool CMsgServerNetworkStats_Player::_internal_has_is_bot() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgServerNetworkStats_Player::has_is_bot() const { - return _internal_has_is_bot(); -} -inline void CMsgServerNetworkStats_Player::clear_is_bot() { - _impl_.is_bot_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool CMsgServerNetworkStats_Player::_internal_is_bot() const { - return _impl_.is_bot_; -} -inline bool CMsgServerNetworkStats_Player::is_bot() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Player.is_bot) - return _internal_is_bot(); -} -inline void CMsgServerNetworkStats_Player::_internal_set_is_bot(bool value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.is_bot_ = value; -} -inline void CMsgServerNetworkStats_Player::set_is_bot(bool value) { - _internal_set_is_bot(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Player.is_bot) -} - -// optional float loss_in = 7; -inline bool CMsgServerNetworkStats_Player::_internal_has_loss_in() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgServerNetworkStats_Player::has_loss_in() const { - return _internal_has_loss_in(); -} -inline void CMsgServerNetworkStats_Player::clear_loss_in() { - _impl_.loss_in_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline float CMsgServerNetworkStats_Player::_internal_loss_in() const { - return _impl_.loss_in_; -} -inline float CMsgServerNetworkStats_Player::loss_in() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Player.loss_in) - return _internal_loss_in(); -} -inline void CMsgServerNetworkStats_Player::_internal_set_loss_in(float value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.loss_in_ = value; -} -inline void CMsgServerNetworkStats_Player::set_loss_in(float value) { - _internal_set_loss_in(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Player.loss_in) -} - -// optional float loss_out = 8; -inline bool CMsgServerNetworkStats_Player::_internal_has_loss_out() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgServerNetworkStats_Player::has_loss_out() const { - return _internal_has_loss_out(); -} -inline void CMsgServerNetworkStats_Player::clear_loss_out() { - _impl_.loss_out_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline float CMsgServerNetworkStats_Player::_internal_loss_out() const { - return _impl_.loss_out_; -} -inline float CMsgServerNetworkStats_Player::loss_out() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Player.loss_out) - return _internal_loss_out(); -} -inline void CMsgServerNetworkStats_Player::_internal_set_loss_out(float value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.loss_out_ = value; -} -inline void CMsgServerNetworkStats_Player::set_loss_out(float value) { - _internal_set_loss_out(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Player.loss_out) -} - -// optional int32 engine_latency_ms = 9; -inline bool CMsgServerNetworkStats_Player::_internal_has_engine_latency_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgServerNetworkStats_Player::has_engine_latency_ms() const { - return _internal_has_engine_latency_ms(); -} -inline void CMsgServerNetworkStats_Player::clear_engine_latency_ms() { - _impl_.engine_latency_ms_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t CMsgServerNetworkStats_Player::_internal_engine_latency_ms() const { - return _impl_.engine_latency_ms_; -} -inline int32_t CMsgServerNetworkStats_Player::engine_latency_ms() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.Player.engine_latency_ms) - return _internal_engine_latency_ms(); -} -inline void CMsgServerNetworkStats_Player::_internal_set_engine_latency_ms(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.engine_latency_ms_ = value; -} -inline void CMsgServerNetworkStats_Player::set_engine_latency_ms(int32_t value) { - _internal_set_engine_latency_ms(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.Player.engine_latency_ms) -} - -// ------------------------------------------------------------------- - -// CMsgServerNetworkStats - -// optional bool dedicated = 1; -inline bool CMsgServerNetworkStats::_internal_has_dedicated() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_dedicated() const { - return _internal_has_dedicated(); -} -inline void CMsgServerNetworkStats::clear_dedicated() { - _impl_.dedicated_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CMsgServerNetworkStats::_internal_dedicated() const { - return _impl_.dedicated_; -} -inline bool CMsgServerNetworkStats::dedicated() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.dedicated) - return _internal_dedicated(); -} -inline void CMsgServerNetworkStats::_internal_set_dedicated(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.dedicated_ = value; -} -inline void CMsgServerNetworkStats::set_dedicated(bool value) { - _internal_set_dedicated(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.dedicated) -} - -// optional int32 cpu_usage = 2; -inline bool CMsgServerNetworkStats::_internal_has_cpu_usage() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_cpu_usage() const { - return _internal_has_cpu_usage(); -} -inline void CMsgServerNetworkStats::clear_cpu_usage() { - _impl_.cpu_usage_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgServerNetworkStats::_internal_cpu_usage() const { - return _impl_.cpu_usage_; -} -inline int32_t CMsgServerNetworkStats::cpu_usage() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.cpu_usage) - return _internal_cpu_usage(); -} -inline void CMsgServerNetworkStats::_internal_set_cpu_usage(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.cpu_usage_ = value; -} -inline void CMsgServerNetworkStats::set_cpu_usage(int32_t value) { - _internal_set_cpu_usage(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.cpu_usage) -} - -// optional int32 memory_used_mb = 3; -inline bool CMsgServerNetworkStats::_internal_has_memory_used_mb() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_memory_used_mb() const { - return _internal_has_memory_used_mb(); -} -inline void CMsgServerNetworkStats::clear_memory_used_mb() { - _impl_.memory_used_mb_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CMsgServerNetworkStats::_internal_memory_used_mb() const { - return _impl_.memory_used_mb_; -} -inline int32_t CMsgServerNetworkStats::memory_used_mb() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.memory_used_mb) - return _internal_memory_used_mb(); -} -inline void CMsgServerNetworkStats::_internal_set_memory_used_mb(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.memory_used_mb_ = value; -} -inline void CMsgServerNetworkStats::set_memory_used_mb(int32_t value) { - _internal_set_memory_used_mb(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.memory_used_mb) -} - -// optional int32 memory_free_mb = 4; -inline bool CMsgServerNetworkStats::_internal_has_memory_free_mb() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_memory_free_mb() const { - return _internal_has_memory_free_mb(); -} -inline void CMsgServerNetworkStats::clear_memory_free_mb() { - _impl_.memory_free_mb_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CMsgServerNetworkStats::_internal_memory_free_mb() const { - return _impl_.memory_free_mb_; -} -inline int32_t CMsgServerNetworkStats::memory_free_mb() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.memory_free_mb) - return _internal_memory_free_mb(); -} -inline void CMsgServerNetworkStats::_internal_set_memory_free_mb(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.memory_free_mb_ = value; -} -inline void CMsgServerNetworkStats::set_memory_free_mb(int32_t value) { - _internal_set_memory_free_mb(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.memory_free_mb) -} - -// optional int32 uptime = 5; -inline bool CMsgServerNetworkStats::_internal_has_uptime() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_uptime() const { - return _internal_has_uptime(); -} -inline void CMsgServerNetworkStats::clear_uptime() { - _impl_.uptime_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CMsgServerNetworkStats::_internal_uptime() const { - return _impl_.uptime_; -} -inline int32_t CMsgServerNetworkStats::uptime() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.uptime) - return _internal_uptime(); -} -inline void CMsgServerNetworkStats::_internal_set_uptime(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.uptime_ = value; -} -inline void CMsgServerNetworkStats::set_uptime(int32_t value) { - _internal_set_uptime(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.uptime) -} - -// optional int32 spawn_count = 6; -inline bool CMsgServerNetworkStats::_internal_has_spawn_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_spawn_count() const { - return _internal_has_spawn_count(); -} -inline void CMsgServerNetworkStats::clear_spawn_count() { - _impl_.spawn_count_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CMsgServerNetworkStats::_internal_spawn_count() const { - return _impl_.spawn_count_; -} -inline int32_t CMsgServerNetworkStats::spawn_count() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.spawn_count) - return _internal_spawn_count(); -} -inline void CMsgServerNetworkStats::_internal_set_spawn_count(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.spawn_count_ = value; -} -inline void CMsgServerNetworkStats::set_spawn_count(int32_t value) { - _internal_set_spawn_count(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.spawn_count) -} - -// optional int32 num_clients = 8; -inline bool CMsgServerNetworkStats::_internal_has_num_clients() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_num_clients() const { - return _internal_has_num_clients(); -} -inline void CMsgServerNetworkStats::clear_num_clients() { - _impl_.num_clients_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CMsgServerNetworkStats::_internal_num_clients() const { - return _impl_.num_clients_; -} -inline int32_t CMsgServerNetworkStats::num_clients() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.num_clients) - return _internal_num_clients(); -} -inline void CMsgServerNetworkStats::_internal_set_num_clients(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.num_clients_ = value; -} -inline void CMsgServerNetworkStats::set_num_clients(int32_t value) { - _internal_set_num_clients(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.num_clients) -} - -// optional int32 num_bots = 9; -inline bool CMsgServerNetworkStats::_internal_has_num_bots() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_num_bots() const { - return _internal_has_num_bots(); -} -inline void CMsgServerNetworkStats::clear_num_bots() { - _impl_.num_bots_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t CMsgServerNetworkStats::_internal_num_bots() const { - return _impl_.num_bots_; -} -inline int32_t CMsgServerNetworkStats::num_bots() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.num_bots) - return _internal_num_bots(); -} -inline void CMsgServerNetworkStats::_internal_set_num_bots(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.num_bots_ = value; -} -inline void CMsgServerNetworkStats::set_num_bots(int32_t value) { - _internal_set_num_bots(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.num_bots) -} - -// optional int32 num_spectators = 10; -inline bool CMsgServerNetworkStats::_internal_has_num_spectators() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_num_spectators() const { - return _internal_has_num_spectators(); -} -inline void CMsgServerNetworkStats::clear_num_spectators() { - _impl_.num_spectators_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t CMsgServerNetworkStats::_internal_num_spectators() const { - return _impl_.num_spectators_; -} -inline int32_t CMsgServerNetworkStats::num_spectators() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.num_spectators) - return _internal_num_spectators(); -} -inline void CMsgServerNetworkStats::_internal_set_num_spectators(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.num_spectators_ = value; -} -inline void CMsgServerNetworkStats::set_num_spectators(int32_t value) { - _internal_set_num_spectators(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.num_spectators) -} - -// optional int32 num_tv_relays = 11; -inline bool CMsgServerNetworkStats::_internal_has_num_tv_relays() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_num_tv_relays() const { - return _internal_has_num_tv_relays(); -} -inline void CMsgServerNetworkStats::clear_num_tv_relays() { - _impl_.num_tv_relays_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline int32_t CMsgServerNetworkStats::_internal_num_tv_relays() const { - return _impl_.num_tv_relays_; -} -inline int32_t CMsgServerNetworkStats::num_tv_relays() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.num_tv_relays) - return _internal_num_tv_relays(); -} -inline void CMsgServerNetworkStats::_internal_set_num_tv_relays(int32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.num_tv_relays_ = value; -} -inline void CMsgServerNetworkStats::set_num_tv_relays(int32_t value) { - _internal_set_num_tv_relays(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.num_tv_relays) -} - -// optional float fps = 12; -inline bool CMsgServerNetworkStats::_internal_has_fps() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_fps() const { - return _internal_has_fps(); -} -inline void CMsgServerNetworkStats::clear_fps() { - _impl_.fps_ = 0; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline float CMsgServerNetworkStats::_internal_fps() const { - return _impl_.fps_; -} -inline float CMsgServerNetworkStats::fps() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.fps) - return _internal_fps(); -} -inline void CMsgServerNetworkStats::_internal_set_fps(float value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.fps_ = value; -} -inline void CMsgServerNetworkStats::set_fps(float value) { - _internal_set_fps(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.fps) -} - -// repeated .CMsgServerNetworkStats.Port ports = 17; -inline int CMsgServerNetworkStats::_internal_ports_size() const { - return _impl_.ports_.size(); -} -inline int CMsgServerNetworkStats::ports_size() const { - return _internal_ports_size(); -} -inline void CMsgServerNetworkStats::clear_ports() { - _impl_.ports_.Clear(); -} -inline ::CMsgServerNetworkStats_Port* CMsgServerNetworkStats::mutable_ports(int index) { - // @@protoc_insertion_point(field_mutable:CMsgServerNetworkStats.ports) - return _impl_.ports_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Port >* -CMsgServerNetworkStats::mutable_ports() { - // @@protoc_insertion_point(field_mutable_list:CMsgServerNetworkStats.ports) - return &_impl_.ports_; -} -inline const ::CMsgServerNetworkStats_Port& CMsgServerNetworkStats::_internal_ports(int index) const { - return _impl_.ports_.Get(index); -} -inline const ::CMsgServerNetworkStats_Port& CMsgServerNetworkStats::ports(int index) const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.ports) - return _internal_ports(index); -} -inline ::CMsgServerNetworkStats_Port* CMsgServerNetworkStats::_internal_add_ports() { - return _impl_.ports_.Add(); -} -inline ::CMsgServerNetworkStats_Port* CMsgServerNetworkStats::add_ports() { - ::CMsgServerNetworkStats_Port* _add = _internal_add_ports(); - // @@protoc_insertion_point(field_add:CMsgServerNetworkStats.ports) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Port >& -CMsgServerNetworkStats::ports() const { - // @@protoc_insertion_point(field_list:CMsgServerNetworkStats.ports) - return _impl_.ports_; -} - -// optional float avg_ping_ms = 18; -inline bool CMsgServerNetworkStats::_internal_has_avg_ping_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_avg_ping_ms() const { - return _internal_has_avg_ping_ms(); -} -inline void CMsgServerNetworkStats::clear_avg_ping_ms() { - _impl_.avg_ping_ms_ = 0; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline float CMsgServerNetworkStats::_internal_avg_ping_ms() const { - return _impl_.avg_ping_ms_; -} -inline float CMsgServerNetworkStats::avg_ping_ms() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.avg_ping_ms) - return _internal_avg_ping_ms(); -} -inline void CMsgServerNetworkStats::_internal_set_avg_ping_ms(float value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.avg_ping_ms_ = value; -} -inline void CMsgServerNetworkStats::set_avg_ping_ms(float value) { - _internal_set_avg_ping_ms(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.avg_ping_ms) -} - -// optional float avg_engine_latency_out = 19; -inline bool CMsgServerNetworkStats::_internal_has_avg_engine_latency_out() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_avg_engine_latency_out() const { - return _internal_has_avg_engine_latency_out(); -} -inline void CMsgServerNetworkStats::clear_avg_engine_latency_out() { - _impl_.avg_engine_latency_out_ = 0; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline float CMsgServerNetworkStats::_internal_avg_engine_latency_out() const { - return _impl_.avg_engine_latency_out_; -} -inline float CMsgServerNetworkStats::avg_engine_latency_out() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.avg_engine_latency_out) - return _internal_avg_engine_latency_out(); -} -inline void CMsgServerNetworkStats::_internal_set_avg_engine_latency_out(float value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.avg_engine_latency_out_ = value; -} -inline void CMsgServerNetworkStats::set_avg_engine_latency_out(float value) { - _internal_set_avg_engine_latency_out(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.avg_engine_latency_out) -} - -// optional float avg_packets_out = 20; -inline bool CMsgServerNetworkStats::_internal_has_avg_packets_out() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_avg_packets_out() const { - return _internal_has_avg_packets_out(); -} -inline void CMsgServerNetworkStats::clear_avg_packets_out() { - _impl_.avg_packets_out_ = 0; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline float CMsgServerNetworkStats::_internal_avg_packets_out() const { - return _impl_.avg_packets_out_; -} -inline float CMsgServerNetworkStats::avg_packets_out() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.avg_packets_out) - return _internal_avg_packets_out(); -} -inline void CMsgServerNetworkStats::_internal_set_avg_packets_out(float value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.avg_packets_out_ = value; -} -inline void CMsgServerNetworkStats::set_avg_packets_out(float value) { - _internal_set_avg_packets_out(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.avg_packets_out) -} - -// optional float avg_packets_in = 21; -inline bool CMsgServerNetworkStats::_internal_has_avg_packets_in() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_avg_packets_in() const { - return _internal_has_avg_packets_in(); -} -inline void CMsgServerNetworkStats::clear_avg_packets_in() { - _impl_.avg_packets_in_ = 0; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline float CMsgServerNetworkStats::_internal_avg_packets_in() const { - return _impl_.avg_packets_in_; -} -inline float CMsgServerNetworkStats::avg_packets_in() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.avg_packets_in) - return _internal_avg_packets_in(); -} -inline void CMsgServerNetworkStats::_internal_set_avg_packets_in(float value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.avg_packets_in_ = value; -} -inline void CMsgServerNetworkStats::set_avg_packets_in(float value) { - _internal_set_avg_packets_in(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.avg_packets_in) -} - -// optional float avg_loss_out = 22; -inline bool CMsgServerNetworkStats::_internal_has_avg_loss_out() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_avg_loss_out() const { - return _internal_has_avg_loss_out(); -} -inline void CMsgServerNetworkStats::clear_avg_loss_out() { - _impl_.avg_loss_out_ = 0; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline float CMsgServerNetworkStats::_internal_avg_loss_out() const { - return _impl_.avg_loss_out_; -} -inline float CMsgServerNetworkStats::avg_loss_out() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.avg_loss_out) - return _internal_avg_loss_out(); -} -inline void CMsgServerNetworkStats::_internal_set_avg_loss_out(float value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.avg_loss_out_ = value; -} -inline void CMsgServerNetworkStats::set_avg_loss_out(float value) { - _internal_set_avg_loss_out(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.avg_loss_out) -} - -// optional float avg_loss_in = 23; -inline bool CMsgServerNetworkStats::_internal_has_avg_loss_in() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_avg_loss_in() const { - return _internal_has_avg_loss_in(); -} -inline void CMsgServerNetworkStats::clear_avg_loss_in() { - _impl_.avg_loss_in_ = 0; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline float CMsgServerNetworkStats::_internal_avg_loss_in() const { - return _impl_.avg_loss_in_; -} -inline float CMsgServerNetworkStats::avg_loss_in() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.avg_loss_in) - return _internal_avg_loss_in(); -} -inline void CMsgServerNetworkStats::_internal_set_avg_loss_in(float value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.avg_loss_in_ = value; -} -inline void CMsgServerNetworkStats::set_avg_loss_in(float value) { - _internal_set_avg_loss_in(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.avg_loss_in) -} - -// optional float avg_data_out = 24; -inline bool CMsgServerNetworkStats::_internal_has_avg_data_out() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_avg_data_out() const { - return _internal_has_avg_data_out(); -} -inline void CMsgServerNetworkStats::clear_avg_data_out() { - _impl_.avg_data_out_ = 0; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline float CMsgServerNetworkStats::_internal_avg_data_out() const { - return _impl_.avg_data_out_; -} -inline float CMsgServerNetworkStats::avg_data_out() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.avg_data_out) - return _internal_avg_data_out(); -} -inline void CMsgServerNetworkStats::_internal_set_avg_data_out(float value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.avg_data_out_ = value; -} -inline void CMsgServerNetworkStats::set_avg_data_out(float value) { - _internal_set_avg_data_out(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.avg_data_out) -} - -// optional float avg_data_in = 25; -inline bool CMsgServerNetworkStats::_internal_has_avg_data_in() const { - bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_avg_data_in() const { - return _internal_has_avg_data_in(); -} -inline void CMsgServerNetworkStats::clear_avg_data_in() { - _impl_.avg_data_in_ = 0; - _impl_._has_bits_[0] &= ~0x00400000u; -} -inline float CMsgServerNetworkStats::_internal_avg_data_in() const { - return _impl_.avg_data_in_; -} -inline float CMsgServerNetworkStats::avg_data_in() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.avg_data_in) - return _internal_avg_data_in(); -} -inline void CMsgServerNetworkStats::_internal_set_avg_data_in(float value) { - _impl_._has_bits_[0] |= 0x00400000u; - _impl_.avg_data_in_ = value; -} -inline void CMsgServerNetworkStats::set_avg_data_in(float value) { - _internal_set_avg_data_in(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.avg_data_in) -} - -// optional uint64 total_data_in = 26; -inline bool CMsgServerNetworkStats::_internal_has_total_data_in() const { - bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_total_data_in() const { - return _internal_has_total_data_in(); -} -inline void CMsgServerNetworkStats::clear_total_data_in() { - _impl_.total_data_in_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00040000u; -} -inline uint64_t CMsgServerNetworkStats::_internal_total_data_in() const { - return _impl_.total_data_in_; -} -inline uint64_t CMsgServerNetworkStats::total_data_in() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.total_data_in) - return _internal_total_data_in(); -} -inline void CMsgServerNetworkStats::_internal_set_total_data_in(uint64_t value) { - _impl_._has_bits_[0] |= 0x00040000u; - _impl_.total_data_in_ = value; -} -inline void CMsgServerNetworkStats::set_total_data_in(uint64_t value) { - _internal_set_total_data_in(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.total_data_in) -} - -// optional uint64 total_packets_in = 27; -inline bool CMsgServerNetworkStats::_internal_has_total_packets_in() const { - bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_total_packets_in() const { - return _internal_has_total_packets_in(); -} -inline void CMsgServerNetworkStats::clear_total_packets_in() { - _impl_.total_packets_in_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00080000u; -} -inline uint64_t CMsgServerNetworkStats::_internal_total_packets_in() const { - return _impl_.total_packets_in_; -} -inline uint64_t CMsgServerNetworkStats::total_packets_in() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.total_packets_in) - return _internal_total_packets_in(); -} -inline void CMsgServerNetworkStats::_internal_set_total_packets_in(uint64_t value) { - _impl_._has_bits_[0] |= 0x00080000u; - _impl_.total_packets_in_ = value; -} -inline void CMsgServerNetworkStats::set_total_packets_in(uint64_t value) { - _internal_set_total_packets_in(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.total_packets_in) -} - -// optional uint64 total_data_out = 28; -inline bool CMsgServerNetworkStats::_internal_has_total_data_out() const { - bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_total_data_out() const { - return _internal_has_total_data_out(); -} -inline void CMsgServerNetworkStats::clear_total_data_out() { - _impl_.total_data_out_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00100000u; -} -inline uint64_t CMsgServerNetworkStats::_internal_total_data_out() const { - return _impl_.total_data_out_; -} -inline uint64_t CMsgServerNetworkStats::total_data_out() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.total_data_out) - return _internal_total_data_out(); -} -inline void CMsgServerNetworkStats::_internal_set_total_data_out(uint64_t value) { - _impl_._has_bits_[0] |= 0x00100000u; - _impl_.total_data_out_ = value; -} -inline void CMsgServerNetworkStats::set_total_data_out(uint64_t value) { - _internal_set_total_data_out(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.total_data_out) -} - -// optional uint64 total_packets_out = 29; -inline bool CMsgServerNetworkStats::_internal_has_total_packets_out() const { - bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0; - return value; -} -inline bool CMsgServerNetworkStats::has_total_packets_out() const { - return _internal_has_total_packets_out(); -} -inline void CMsgServerNetworkStats::clear_total_packets_out() { - _impl_.total_packets_out_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00200000u; -} -inline uint64_t CMsgServerNetworkStats::_internal_total_packets_out() const { - return _impl_.total_packets_out_; -} -inline uint64_t CMsgServerNetworkStats::total_packets_out() const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.total_packets_out) - return _internal_total_packets_out(); -} -inline void CMsgServerNetworkStats::_internal_set_total_packets_out(uint64_t value) { - _impl_._has_bits_[0] |= 0x00200000u; - _impl_.total_packets_out_ = value; -} -inline void CMsgServerNetworkStats::set_total_packets_out(uint64_t value) { - _internal_set_total_packets_out(value); - // @@protoc_insertion_point(field_set:CMsgServerNetworkStats.total_packets_out) -} - -// repeated .CMsgServerNetworkStats.Player players = 30; -inline int CMsgServerNetworkStats::_internal_players_size() const { - return _impl_.players_.size(); -} -inline int CMsgServerNetworkStats::players_size() const { - return _internal_players_size(); -} -inline void CMsgServerNetworkStats::clear_players() { - _impl_.players_.Clear(); -} -inline ::CMsgServerNetworkStats_Player* CMsgServerNetworkStats::mutable_players(int index) { - // @@protoc_insertion_point(field_mutable:CMsgServerNetworkStats.players) - return _impl_.players_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Player >* -CMsgServerNetworkStats::mutable_players() { - // @@protoc_insertion_point(field_mutable_list:CMsgServerNetworkStats.players) - return &_impl_.players_; -} -inline const ::CMsgServerNetworkStats_Player& CMsgServerNetworkStats::_internal_players(int index) const { - return _impl_.players_.Get(index); -} -inline const ::CMsgServerNetworkStats_Player& CMsgServerNetworkStats::players(int index) const { - // @@protoc_insertion_point(field_get:CMsgServerNetworkStats.players) - return _internal_players(index); -} -inline ::CMsgServerNetworkStats_Player* CMsgServerNetworkStats::_internal_add_players() { - return _impl_.players_.Add(); -} -inline ::CMsgServerNetworkStats_Player* CMsgServerNetworkStats::add_players() { - ::CMsgServerNetworkStats_Player* _add = _internal_add_players(); - // @@protoc_insertion_point(field_add:CMsgServerNetworkStats.players) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerNetworkStats_Player >& -CMsgServerNetworkStats::players() const { - // @@protoc_insertion_point(field_list:CMsgServerNetworkStats.players) - return _impl_.players_; -} - -// ------------------------------------------------------------------- - -// CSVCMsg_HltvReplay - -// optional int32 delay = 1; -inline bool CSVCMsg_HltvReplay::_internal_has_delay() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_HltvReplay::has_delay() const { - return _internal_has_delay(); -} -inline void CSVCMsg_HltvReplay::clear_delay() { - _impl_.delay_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CSVCMsg_HltvReplay::_internal_delay() const { - return _impl_.delay_; -} -inline int32_t CSVCMsg_HltvReplay::delay() const { - // @@protoc_insertion_point(field_get:CSVCMsg_HltvReplay.delay) - return _internal_delay(); -} -inline void CSVCMsg_HltvReplay::_internal_set_delay(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.delay_ = value; -} -inline void CSVCMsg_HltvReplay::set_delay(int32_t value) { - _internal_set_delay(value); - // @@protoc_insertion_point(field_set:CSVCMsg_HltvReplay.delay) -} - -// optional int32 primary_target = 2 [default = -1]; -inline bool CSVCMsg_HltvReplay::_internal_has_primary_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CSVCMsg_HltvReplay::has_primary_target() const { - return _internal_has_primary_target(); -} -inline void CSVCMsg_HltvReplay::clear_primary_target() { - _impl_.primary_target_ = -1; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t CSVCMsg_HltvReplay::_internal_primary_target() const { - return _impl_.primary_target_; -} -inline int32_t CSVCMsg_HltvReplay::primary_target() const { - // @@protoc_insertion_point(field_get:CSVCMsg_HltvReplay.primary_target) - return _internal_primary_target(); -} -inline void CSVCMsg_HltvReplay::_internal_set_primary_target(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.primary_target_ = value; -} -inline void CSVCMsg_HltvReplay::set_primary_target(int32_t value) { - _internal_set_primary_target(value); - // @@protoc_insertion_point(field_set:CSVCMsg_HltvReplay.primary_target) -} - -// optional int32 replay_stop_at = 3; -inline bool CSVCMsg_HltvReplay::_internal_has_replay_stop_at() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_HltvReplay::has_replay_stop_at() const { - return _internal_has_replay_stop_at(); -} -inline void CSVCMsg_HltvReplay::clear_replay_stop_at() { - _impl_.replay_stop_at_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_HltvReplay::_internal_replay_stop_at() const { - return _impl_.replay_stop_at_; -} -inline int32_t CSVCMsg_HltvReplay::replay_stop_at() const { - // @@protoc_insertion_point(field_get:CSVCMsg_HltvReplay.replay_stop_at) - return _internal_replay_stop_at(); -} -inline void CSVCMsg_HltvReplay::_internal_set_replay_stop_at(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.replay_stop_at_ = value; -} -inline void CSVCMsg_HltvReplay::set_replay_stop_at(int32_t value) { - _internal_set_replay_stop_at(value); - // @@protoc_insertion_point(field_set:CSVCMsg_HltvReplay.replay_stop_at) -} - -// optional int32 replay_start_at = 4; -inline bool CSVCMsg_HltvReplay::_internal_has_replay_start_at() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_HltvReplay::has_replay_start_at() const { - return _internal_has_replay_start_at(); -} -inline void CSVCMsg_HltvReplay::clear_replay_start_at() { - _impl_.replay_start_at_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CSVCMsg_HltvReplay::_internal_replay_start_at() const { - return _impl_.replay_start_at_; -} -inline int32_t CSVCMsg_HltvReplay::replay_start_at() const { - // @@protoc_insertion_point(field_get:CSVCMsg_HltvReplay.replay_start_at) - return _internal_replay_start_at(); -} -inline void CSVCMsg_HltvReplay::_internal_set_replay_start_at(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.replay_start_at_ = value; -} -inline void CSVCMsg_HltvReplay::set_replay_start_at(int32_t value) { - _internal_set_replay_start_at(value); - // @@protoc_insertion_point(field_set:CSVCMsg_HltvReplay.replay_start_at) -} - -// optional int32 replay_slowdown_begin = 5; -inline bool CSVCMsg_HltvReplay::_internal_has_replay_slowdown_begin() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSVCMsg_HltvReplay::has_replay_slowdown_begin() const { - return _internal_has_replay_slowdown_begin(); -} -inline void CSVCMsg_HltvReplay::clear_replay_slowdown_begin() { - _impl_.replay_slowdown_begin_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CSVCMsg_HltvReplay::_internal_replay_slowdown_begin() const { - return _impl_.replay_slowdown_begin_; -} -inline int32_t CSVCMsg_HltvReplay::replay_slowdown_begin() const { - // @@protoc_insertion_point(field_get:CSVCMsg_HltvReplay.replay_slowdown_begin) - return _internal_replay_slowdown_begin(); -} -inline void CSVCMsg_HltvReplay::_internal_set_replay_slowdown_begin(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.replay_slowdown_begin_ = value; -} -inline void CSVCMsg_HltvReplay::set_replay_slowdown_begin(int32_t value) { - _internal_set_replay_slowdown_begin(value); - // @@protoc_insertion_point(field_set:CSVCMsg_HltvReplay.replay_slowdown_begin) -} - -// optional int32 replay_slowdown_end = 6; -inline bool CSVCMsg_HltvReplay::_internal_has_replay_slowdown_end() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSVCMsg_HltvReplay::has_replay_slowdown_end() const { - return _internal_has_replay_slowdown_end(); -} -inline void CSVCMsg_HltvReplay::clear_replay_slowdown_end() { - _impl_.replay_slowdown_end_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CSVCMsg_HltvReplay::_internal_replay_slowdown_end() const { - return _impl_.replay_slowdown_end_; -} -inline int32_t CSVCMsg_HltvReplay::replay_slowdown_end() const { - // @@protoc_insertion_point(field_get:CSVCMsg_HltvReplay.replay_slowdown_end) - return _internal_replay_slowdown_end(); -} -inline void CSVCMsg_HltvReplay::_internal_set_replay_slowdown_end(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.replay_slowdown_end_ = value; -} -inline void CSVCMsg_HltvReplay::set_replay_slowdown_end(int32_t value) { - _internal_set_replay_slowdown_end(value); - // @@protoc_insertion_point(field_set:CSVCMsg_HltvReplay.replay_slowdown_end) -} - -// optional float replay_slowdown_rate = 7; -inline bool CSVCMsg_HltvReplay::_internal_has_replay_slowdown_rate() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSVCMsg_HltvReplay::has_replay_slowdown_rate() const { - return _internal_has_replay_slowdown_rate(); -} -inline void CSVCMsg_HltvReplay::clear_replay_slowdown_rate() { - _impl_.replay_slowdown_rate_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline float CSVCMsg_HltvReplay::_internal_replay_slowdown_rate() const { - return _impl_.replay_slowdown_rate_; -} -inline float CSVCMsg_HltvReplay::replay_slowdown_rate() const { - // @@protoc_insertion_point(field_get:CSVCMsg_HltvReplay.replay_slowdown_rate) - return _internal_replay_slowdown_rate(); -} -inline void CSVCMsg_HltvReplay::_internal_set_replay_slowdown_rate(float value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.replay_slowdown_rate_ = value; -} -inline void CSVCMsg_HltvReplay::set_replay_slowdown_rate(float value) { - _internal_set_replay_slowdown_rate(value); - // @@protoc_insertion_point(field_set:CSVCMsg_HltvReplay.replay_slowdown_rate) -} - -// optional int32 reason = 8; -inline bool CSVCMsg_HltvReplay::_internal_has_reason() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CSVCMsg_HltvReplay::has_reason() const { - return _internal_has_reason(); -} -inline void CSVCMsg_HltvReplay::clear_reason() { - _impl_.reason_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CSVCMsg_HltvReplay::_internal_reason() const { - return _impl_.reason_; -} -inline int32_t CSVCMsg_HltvReplay::reason() const { - // @@protoc_insertion_point(field_get:CSVCMsg_HltvReplay.reason) - return _internal_reason(); -} -inline void CSVCMsg_HltvReplay::_internal_set_reason(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.reason_ = value; -} -inline void CSVCMsg_HltvReplay::set_reason(int32_t value) { - _internal_set_reason(value); - // @@protoc_insertion_point(field_set:CSVCMsg_HltvReplay.reason) -} - -// ------------------------------------------------------------------- - -// CCLCMsg_HltvReplay - -// optional int32 request = 1; -inline bool CCLCMsg_HltvReplay::_internal_has_request() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCLCMsg_HltvReplay::has_request() const { - return _internal_has_request(); -} -inline void CCLCMsg_HltvReplay::clear_request() { - _impl_.request_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CCLCMsg_HltvReplay::_internal_request() const { - return _impl_.request_; -} -inline int32_t CCLCMsg_HltvReplay::request() const { - // @@protoc_insertion_point(field_get:CCLCMsg_HltvReplay.request) - return _internal_request(); -} -inline void CCLCMsg_HltvReplay::_internal_set_request(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.request_ = value; -} -inline void CCLCMsg_HltvReplay::set_request(int32_t value) { - _internal_set_request(value); - // @@protoc_insertion_point(field_set:CCLCMsg_HltvReplay.request) -} - -// optional float slowdown_length = 2; -inline bool CCLCMsg_HltvReplay::_internal_has_slowdown_length() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCLCMsg_HltvReplay::has_slowdown_length() const { - return _internal_has_slowdown_length(); -} -inline void CCLCMsg_HltvReplay::clear_slowdown_length() { - _impl_.slowdown_length_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CCLCMsg_HltvReplay::_internal_slowdown_length() const { - return _impl_.slowdown_length_; -} -inline float CCLCMsg_HltvReplay::slowdown_length() const { - // @@protoc_insertion_point(field_get:CCLCMsg_HltvReplay.slowdown_length) - return _internal_slowdown_length(); -} -inline void CCLCMsg_HltvReplay::_internal_set_slowdown_length(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.slowdown_length_ = value; -} -inline void CCLCMsg_HltvReplay::set_slowdown_length(float value) { - _internal_set_slowdown_length(value); - // @@protoc_insertion_point(field_set:CCLCMsg_HltvReplay.slowdown_length) -} - -// optional float slowdown_rate = 3; -inline bool CCLCMsg_HltvReplay::_internal_has_slowdown_rate() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCLCMsg_HltvReplay::has_slowdown_rate() const { - return _internal_has_slowdown_rate(); -} -inline void CCLCMsg_HltvReplay::clear_slowdown_rate() { - _impl_.slowdown_rate_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CCLCMsg_HltvReplay::_internal_slowdown_rate() const { - return _impl_.slowdown_rate_; -} -inline float CCLCMsg_HltvReplay::slowdown_rate() const { - // @@protoc_insertion_point(field_get:CCLCMsg_HltvReplay.slowdown_rate) - return _internal_slowdown_rate(); -} -inline void CCLCMsg_HltvReplay::_internal_set_slowdown_rate(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.slowdown_rate_ = value; -} -inline void CCLCMsg_HltvReplay::set_slowdown_rate(float value) { - _internal_set_slowdown_rate(value); - // @@protoc_insertion_point(field_set:CCLCMsg_HltvReplay.slowdown_rate) -} - -// optional int32 primary_target = 4 [default = -1]; -inline bool CCLCMsg_HltvReplay::_internal_has_primary_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CCLCMsg_HltvReplay::has_primary_target() const { - return _internal_has_primary_target(); -} -inline void CCLCMsg_HltvReplay::clear_primary_target() { - _impl_.primary_target_ = -1; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CCLCMsg_HltvReplay::_internal_primary_target() const { - return _impl_.primary_target_; -} -inline int32_t CCLCMsg_HltvReplay::primary_target() const { - // @@protoc_insertion_point(field_get:CCLCMsg_HltvReplay.primary_target) - return _internal_primary_target(); -} -inline void CCLCMsg_HltvReplay::_internal_set_primary_target(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.primary_target_ = value; -} -inline void CCLCMsg_HltvReplay::set_primary_target(int32_t value) { - _internal_set_primary_target(value); - // @@protoc_insertion_point(field_set:CCLCMsg_HltvReplay.primary_target) -} - -// optional float event_time = 5; -inline bool CCLCMsg_HltvReplay::_internal_has_event_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCLCMsg_HltvReplay::has_event_time() const { - return _internal_has_event_time(); -} -inline void CCLCMsg_HltvReplay::clear_event_time() { - _impl_.event_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CCLCMsg_HltvReplay::_internal_event_time() const { - return _impl_.event_time_; -} -inline float CCLCMsg_HltvReplay::event_time() const { - // @@protoc_insertion_point(field_get:CCLCMsg_HltvReplay.event_time) - return _internal_event_time(); -} -inline void CCLCMsg_HltvReplay::_internal_set_event_time(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.event_time_ = value; -} -inline void CCLCMsg_HltvReplay::set_event_time(float value) { - _internal_set_event_time(value); - // @@protoc_insertion_point(field_set:CCLCMsg_HltvReplay.event_time) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_Broadcast_Command - -// optional string cmd = 1; -inline bool CSVCMsg_Broadcast_Command::_internal_has_cmd() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_Broadcast_Command::has_cmd() const { - return _internal_has_cmd(); -} -inline void CSVCMsg_Broadcast_Command::clear_cmd() { - _impl_.cmd_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_Broadcast_Command::cmd() const { - // @@protoc_insertion_point(field_get:CSVCMsg_Broadcast_Command.cmd) - return _internal_cmd(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_Broadcast_Command::set_cmd(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.cmd_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_Broadcast_Command.cmd) -} -inline std::string* CSVCMsg_Broadcast_Command::mutable_cmd() { - std::string* _s = _internal_mutable_cmd(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_Broadcast_Command.cmd) - return _s; -} -inline const std::string& CSVCMsg_Broadcast_Command::_internal_cmd() const { - return _impl_.cmd_.Get(); -} -inline void CSVCMsg_Broadcast_Command::_internal_set_cmd(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.cmd_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_Broadcast_Command::_internal_mutable_cmd() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.cmd_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_Broadcast_Command::release_cmd() { - // @@protoc_insertion_point(field_release:CSVCMsg_Broadcast_Command.cmd) - if (!_internal_has_cmd()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.cmd_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cmd_.IsDefault()) { - _impl_.cmd_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_Broadcast_Command::set_allocated_cmd(std::string* cmd) { - if (cmd != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.cmd_.SetAllocated(cmd, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cmd_.IsDefault()) { - _impl_.cmd_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_Broadcast_Command.cmd) -} - -// ------------------------------------------------------------------- - -// CCLCMsg_HltvFixupOperatorTick - -// optional int32 tick = 1; -inline bool CCLCMsg_HltvFixupOperatorTick::_internal_has_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CCLCMsg_HltvFixupOperatorTick::has_tick() const { - return _internal_has_tick(); -} -inline void CCLCMsg_HltvFixupOperatorTick::clear_tick() { - _impl_.tick_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CCLCMsg_HltvFixupOperatorTick::_internal_tick() const { - return _impl_.tick_; -} -inline int32_t CCLCMsg_HltvFixupOperatorTick::tick() const { - // @@protoc_insertion_point(field_get:CCLCMsg_HltvFixupOperatorTick.tick) - return _internal_tick(); -} -inline void CCLCMsg_HltvFixupOperatorTick::_internal_set_tick(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.tick_ = value; -} -inline void CCLCMsg_HltvFixupOperatorTick::set_tick(int32_t value) { - _internal_set_tick(value); - // @@protoc_insertion_point(field_set:CCLCMsg_HltvFixupOperatorTick.tick) -} - -// optional bytes props_data = 2; -inline bool CCLCMsg_HltvFixupOperatorTick::_internal_has_props_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCLCMsg_HltvFixupOperatorTick::has_props_data() const { - return _internal_has_props_data(); -} -inline void CCLCMsg_HltvFixupOperatorTick::clear_props_data() { - _impl_.props_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCLCMsg_HltvFixupOperatorTick::props_data() const { - // @@protoc_insertion_point(field_get:CCLCMsg_HltvFixupOperatorTick.props_data) - return _internal_props_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCLCMsg_HltvFixupOperatorTick::set_props_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.props_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCLCMsg_HltvFixupOperatorTick.props_data) -} -inline std::string* CCLCMsg_HltvFixupOperatorTick::mutable_props_data() { - std::string* _s = _internal_mutable_props_data(); - // @@protoc_insertion_point(field_mutable:CCLCMsg_HltvFixupOperatorTick.props_data) - return _s; -} -inline const std::string& CCLCMsg_HltvFixupOperatorTick::_internal_props_data() const { - return _impl_.props_data_.Get(); -} -inline void CCLCMsg_HltvFixupOperatorTick::_internal_set_props_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.props_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCLCMsg_HltvFixupOperatorTick::_internal_mutable_props_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.props_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCLCMsg_HltvFixupOperatorTick::release_props_data() { - // @@protoc_insertion_point(field_release:CCLCMsg_HltvFixupOperatorTick.props_data) - if (!_internal_has_props_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.props_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.props_data_.IsDefault()) { - _impl_.props_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCLCMsg_HltvFixupOperatorTick::set_allocated_props_data(std::string* props_data) { - if (props_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.props_data_.SetAllocated(props_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.props_data_.IsDefault()) { - _impl_.props_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCLCMsg_HltvFixupOperatorTick.props_data) -} - -// optional .CMsgVector origin = 3; -inline bool CCLCMsg_HltvFixupOperatorTick::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CCLCMsg_HltvFixupOperatorTick::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CCLCMsg_HltvFixupOperatorTick::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CCLCMsg_HltvFixupOperatorTick::origin() const { - // @@protoc_insertion_point(field_get:CCLCMsg_HltvFixupOperatorTick.origin) - return _internal_origin(); -} -inline void CCLCMsg_HltvFixupOperatorTick::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCLCMsg_HltvFixupOperatorTick.origin) -} -inline ::CMsgVector* CCLCMsg_HltvFixupOperatorTick::release_origin() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CCLCMsg_HltvFixupOperatorTick::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CCLCMsg_HltvFixupOperatorTick.origin) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CCLCMsg_HltvFixupOperatorTick::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CCLCMsg_HltvFixupOperatorTick::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CCLCMsg_HltvFixupOperatorTick.origin) - return _msg; -} -inline void CCLCMsg_HltvFixupOperatorTick::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CCLCMsg_HltvFixupOperatorTick.origin) -} - -// optional .CMsgQAngle eye_angles = 4; -inline bool CCLCMsg_HltvFixupOperatorTick::_internal_has_eye_angles() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.eye_angles_ != nullptr); - return value; -} -inline bool CCLCMsg_HltvFixupOperatorTick::has_eye_angles() const { - return _internal_has_eye_angles(); -} -inline const ::CMsgQAngle& CCLCMsg_HltvFixupOperatorTick::_internal_eye_angles() const { - const ::CMsgQAngle* p = _impl_.eye_angles_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CCLCMsg_HltvFixupOperatorTick::eye_angles() const { - // @@protoc_insertion_point(field_get:CCLCMsg_HltvFixupOperatorTick.eye_angles) - return _internal_eye_angles(); -} -inline void CCLCMsg_HltvFixupOperatorTick::unsafe_arena_set_allocated_eye_angles( - ::CMsgQAngle* eye_angles) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.eye_angles_); - } - _impl_.eye_angles_ = eye_angles; - if (eye_angles) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCLCMsg_HltvFixupOperatorTick.eye_angles) -} -inline ::CMsgQAngle* CCLCMsg_HltvFixupOperatorTick::release_eye_angles() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgQAngle* temp = _impl_.eye_angles_; - _impl_.eye_angles_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CCLCMsg_HltvFixupOperatorTick::unsafe_arena_release_eye_angles() { - // @@protoc_insertion_point(field_release:CCLCMsg_HltvFixupOperatorTick.eye_angles) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgQAngle* temp = _impl_.eye_angles_; - _impl_.eye_angles_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CCLCMsg_HltvFixupOperatorTick::_internal_mutable_eye_angles() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.eye_angles_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.eye_angles_ = p; - } - return _impl_.eye_angles_; -} -inline ::CMsgQAngle* CCLCMsg_HltvFixupOperatorTick::mutable_eye_angles() { - ::CMsgQAngle* _msg = _internal_mutable_eye_angles(); - // @@protoc_insertion_point(field_mutable:CCLCMsg_HltvFixupOperatorTick.eye_angles) - return _msg; -} -inline void CCLCMsg_HltvFixupOperatorTick::set_allocated_eye_angles(::CMsgQAngle* eye_angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.eye_angles_); - } - if (eye_angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(eye_angles)); - if (message_arena != submessage_arena) { - eye_angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, eye_angles, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.eye_angles_ = eye_angles; - // @@protoc_insertion_point(field_set_allocated:CCLCMsg_HltvFixupOperatorTick.eye_angles) -} - -// optional int32 observer_mode = 5; -inline bool CCLCMsg_HltvFixupOperatorTick::_internal_has_observer_mode() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CCLCMsg_HltvFixupOperatorTick::has_observer_mode() const { - return _internal_has_observer_mode(); -} -inline void CCLCMsg_HltvFixupOperatorTick::clear_observer_mode() { - _impl_.observer_mode_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CCLCMsg_HltvFixupOperatorTick::_internal_observer_mode() const { - return _impl_.observer_mode_; -} -inline int32_t CCLCMsg_HltvFixupOperatorTick::observer_mode() const { - // @@protoc_insertion_point(field_get:CCLCMsg_HltvFixupOperatorTick.observer_mode) - return _internal_observer_mode(); -} -inline void CCLCMsg_HltvFixupOperatorTick::_internal_set_observer_mode(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.observer_mode_ = value; -} -inline void CCLCMsg_HltvFixupOperatorTick::set_observer_mode(int32_t value) { - _internal_set_observer_mode(value); - // @@protoc_insertion_point(field_set:CCLCMsg_HltvFixupOperatorTick.observer_mode) -} - -// optional bool cameraman_scoreboard = 6; -inline bool CCLCMsg_HltvFixupOperatorTick::_internal_has_cameraman_scoreboard() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CCLCMsg_HltvFixupOperatorTick::has_cameraman_scoreboard() const { - return _internal_has_cameraman_scoreboard(); -} -inline void CCLCMsg_HltvFixupOperatorTick::clear_cameraman_scoreboard() { - _impl_.cameraman_scoreboard_ = false; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline bool CCLCMsg_HltvFixupOperatorTick::_internal_cameraman_scoreboard() const { - return _impl_.cameraman_scoreboard_; -} -inline bool CCLCMsg_HltvFixupOperatorTick::cameraman_scoreboard() const { - // @@protoc_insertion_point(field_get:CCLCMsg_HltvFixupOperatorTick.cameraman_scoreboard) - return _internal_cameraman_scoreboard(); -} -inline void CCLCMsg_HltvFixupOperatorTick::_internal_set_cameraman_scoreboard(bool value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.cameraman_scoreboard_ = value; -} -inline void CCLCMsg_HltvFixupOperatorTick::set_cameraman_scoreboard(bool value) { - _internal_set_cameraman_scoreboard(value); - // @@protoc_insertion_point(field_set:CCLCMsg_HltvFixupOperatorTick.cameraman_scoreboard) -} - -// optional int32 observer_target = 7; -inline bool CCLCMsg_HltvFixupOperatorTick::_internal_has_observer_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CCLCMsg_HltvFixupOperatorTick::has_observer_target() const { - return _internal_has_observer_target(); -} -inline void CCLCMsg_HltvFixupOperatorTick::clear_observer_target() { - _impl_.observer_target_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t CCLCMsg_HltvFixupOperatorTick::_internal_observer_target() const { - return _impl_.observer_target_; -} -inline int32_t CCLCMsg_HltvFixupOperatorTick::observer_target() const { - // @@protoc_insertion_point(field_get:CCLCMsg_HltvFixupOperatorTick.observer_target) - return _internal_observer_target(); -} -inline void CCLCMsg_HltvFixupOperatorTick::_internal_set_observer_target(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.observer_target_ = value; -} -inline void CCLCMsg_HltvFixupOperatorTick::set_observer_target(int32_t value) { - _internal_set_observer_target(value); - // @@protoc_insertion_point(field_set:CCLCMsg_HltvFixupOperatorTick.observer_target) -} - -// optional .CMsgVector view_offset = 8; -inline bool CCLCMsg_HltvFixupOperatorTick::_internal_has_view_offset() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.view_offset_ != nullptr); - return value; -} -inline bool CCLCMsg_HltvFixupOperatorTick::has_view_offset() const { - return _internal_has_view_offset(); -} -inline const ::CMsgVector& CCLCMsg_HltvFixupOperatorTick::_internal_view_offset() const { - const ::CMsgVector* p = _impl_.view_offset_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CCLCMsg_HltvFixupOperatorTick::view_offset() const { - // @@protoc_insertion_point(field_get:CCLCMsg_HltvFixupOperatorTick.view_offset) - return _internal_view_offset(); -} -inline void CCLCMsg_HltvFixupOperatorTick::unsafe_arena_set_allocated_view_offset( - ::CMsgVector* view_offset) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.view_offset_); - } - _impl_.view_offset_ = view_offset; - if (view_offset) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCLCMsg_HltvFixupOperatorTick.view_offset) -} -inline ::CMsgVector* CCLCMsg_HltvFixupOperatorTick::release_view_offset() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgVector* temp = _impl_.view_offset_; - _impl_.view_offset_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CCLCMsg_HltvFixupOperatorTick::unsafe_arena_release_view_offset() { - // @@protoc_insertion_point(field_release:CCLCMsg_HltvFixupOperatorTick.view_offset) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgVector* temp = _impl_.view_offset_; - _impl_.view_offset_ = nullptr; - return temp; -} -inline ::CMsgVector* CCLCMsg_HltvFixupOperatorTick::_internal_mutable_view_offset() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.view_offset_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.view_offset_ = p; - } - return _impl_.view_offset_; -} -inline ::CMsgVector* CCLCMsg_HltvFixupOperatorTick::mutable_view_offset() { - ::CMsgVector* _msg = _internal_mutable_view_offset(); - // @@protoc_insertion_point(field_mutable:CCLCMsg_HltvFixupOperatorTick.view_offset) - return _msg; -} -inline void CCLCMsg_HltvFixupOperatorTick::set_allocated_view_offset(::CMsgVector* view_offset) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.view_offset_); - } - if (view_offset) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(view_offset)); - if (message_arena != submessage_arena) { - view_offset = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, view_offset, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.view_offset_ = view_offset; - // @@protoc_insertion_point(field_set_allocated:CCLCMsg_HltvFixupOperatorTick.view_offset) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_HltvFixupOperatorStatus - -// optional uint32 mode = 1; -inline bool CSVCMsg_HltvFixupOperatorStatus::_internal_has_mode() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_HltvFixupOperatorStatus::has_mode() const { - return _internal_has_mode(); -} -inline void CSVCMsg_HltvFixupOperatorStatus::clear_mode() { - _impl_.mode_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CSVCMsg_HltvFixupOperatorStatus::_internal_mode() const { - return _impl_.mode_; -} -inline uint32_t CSVCMsg_HltvFixupOperatorStatus::mode() const { - // @@protoc_insertion_point(field_get:CSVCMsg_HltvFixupOperatorStatus.mode) - return _internal_mode(); -} -inline void CSVCMsg_HltvFixupOperatorStatus::_internal_set_mode(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.mode_ = value; -} -inline void CSVCMsg_HltvFixupOperatorStatus::set_mode(uint32_t value) { - _internal_set_mode(value); - // @@protoc_insertion_point(field_set:CSVCMsg_HltvFixupOperatorStatus.mode) -} - -// optional string override_operator_name = 2; -inline bool CSVCMsg_HltvFixupOperatorStatus::_internal_has_override_operator_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_HltvFixupOperatorStatus::has_override_operator_name() const { - return _internal_has_override_operator_name(); -} -inline void CSVCMsg_HltvFixupOperatorStatus::clear_override_operator_name() { - _impl_.override_operator_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_HltvFixupOperatorStatus::override_operator_name() const { - // @@protoc_insertion_point(field_get:CSVCMsg_HltvFixupOperatorStatus.override_operator_name) - return _internal_override_operator_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_HltvFixupOperatorStatus::set_override_operator_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.override_operator_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_HltvFixupOperatorStatus.override_operator_name) -} -inline std::string* CSVCMsg_HltvFixupOperatorStatus::mutable_override_operator_name() { - std::string* _s = _internal_mutable_override_operator_name(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_HltvFixupOperatorStatus.override_operator_name) - return _s; -} -inline const std::string& CSVCMsg_HltvFixupOperatorStatus::_internal_override_operator_name() const { - return _impl_.override_operator_name_.Get(); -} -inline void CSVCMsg_HltvFixupOperatorStatus::_internal_set_override_operator_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.override_operator_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_HltvFixupOperatorStatus::_internal_mutable_override_operator_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.override_operator_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_HltvFixupOperatorStatus::release_override_operator_name() { - // @@protoc_insertion_point(field_release:CSVCMsg_HltvFixupOperatorStatus.override_operator_name) - if (!_internal_has_override_operator_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.override_operator_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.override_operator_name_.IsDefault()) { - _impl_.override_operator_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_HltvFixupOperatorStatus::set_allocated_override_operator_name(std::string* override_operator_name) { - if (override_operator_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.override_operator_name_.SetAllocated(override_operator_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.override_operator_name_.IsDefault()) { - _impl_.override_operator_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_HltvFixupOperatorStatus.override_operator_name) -} - -// ------------------------------------------------------------------- - -// CMsgServerUserCmd - -// optional bytes data = 1; -inline bool CMsgServerUserCmd::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgServerUserCmd::has_data() const { - return _internal_has_data(); -} -inline void CMsgServerUserCmd::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgServerUserCmd::data() const { - // @@protoc_insertion_point(field_get:CMsgServerUserCmd.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgServerUserCmd::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgServerUserCmd.data) -} -inline std::string* CMsgServerUserCmd::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CMsgServerUserCmd.data) - return _s; -} -inline const std::string& CMsgServerUserCmd::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CMsgServerUserCmd::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgServerUserCmd::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgServerUserCmd::release_data() { - // @@protoc_insertion_point(field_release:CMsgServerUserCmd.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgServerUserCmd::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgServerUserCmd.data) -} - -// optional int32 cmd_number = 2; -inline bool CMsgServerUserCmd::_internal_has_cmd_number() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgServerUserCmd::has_cmd_number() const { - return _internal_has_cmd_number(); -} -inline void CMsgServerUserCmd::clear_cmd_number() { - _impl_.cmd_number_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgServerUserCmd::_internal_cmd_number() const { - return _impl_.cmd_number_; -} -inline int32_t CMsgServerUserCmd::cmd_number() const { - // @@protoc_insertion_point(field_get:CMsgServerUserCmd.cmd_number) - return _internal_cmd_number(); -} -inline void CMsgServerUserCmd::_internal_set_cmd_number(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.cmd_number_ = value; -} -inline void CMsgServerUserCmd::set_cmd_number(int32_t value) { - _internal_set_cmd_number(value); - // @@protoc_insertion_point(field_set:CMsgServerUserCmd.cmd_number) -} - -// optional int32 player_slot = 3 [default = -1]; -inline bool CMsgServerUserCmd::_internal_has_player_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgServerUserCmd::has_player_slot() const { - return _internal_has_player_slot(); -} -inline void CMsgServerUserCmd::clear_player_slot() { - _impl_.player_slot_ = -1; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CMsgServerUserCmd::_internal_player_slot() const { - return _impl_.player_slot_; -} -inline int32_t CMsgServerUserCmd::player_slot() const { - // @@protoc_insertion_point(field_get:CMsgServerUserCmd.player_slot) - return _internal_player_slot(); -} -inline void CMsgServerUserCmd::_internal_set_player_slot(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.player_slot_ = value; -} -inline void CMsgServerUserCmd::set_player_slot(int32_t value) { - _internal_set_player_slot(value); - // @@protoc_insertion_point(field_set:CMsgServerUserCmd.player_slot) -} - -// optional int32 server_tick_executed = 4; -inline bool CMsgServerUserCmd::_internal_has_server_tick_executed() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgServerUserCmd::has_server_tick_executed() const { - return _internal_has_server_tick_executed(); -} -inline void CMsgServerUserCmd::clear_server_tick_executed() { - _impl_.server_tick_executed_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CMsgServerUserCmd::_internal_server_tick_executed() const { - return _impl_.server_tick_executed_; -} -inline int32_t CMsgServerUserCmd::server_tick_executed() const { - // @@protoc_insertion_point(field_get:CMsgServerUserCmd.server_tick_executed) - return _internal_server_tick_executed(); -} -inline void CMsgServerUserCmd::_internal_set_server_tick_executed(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.server_tick_executed_ = value; -} -inline void CMsgServerUserCmd::set_server_tick_executed(int32_t value) { - _internal_set_server_tick_executed(value); - // @@protoc_insertion_point(field_set:CMsgServerUserCmd.server_tick_executed) -} - -// optional int32 client_tick = 5; -inline bool CMsgServerUserCmd::_internal_has_client_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgServerUserCmd::has_client_tick() const { - return _internal_has_client_tick(); -} -inline void CMsgServerUserCmd::clear_client_tick() { - _impl_.client_tick_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CMsgServerUserCmd::_internal_client_tick() const { - return _impl_.client_tick_; -} -inline int32_t CMsgServerUserCmd::client_tick() const { - // @@protoc_insertion_point(field_get:CMsgServerUserCmd.client_tick) - return _internal_client_tick(); -} -inline void CMsgServerUserCmd::_internal_set_client_tick(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.client_tick_ = value; -} -inline void CMsgServerUserCmd::set_client_tick(int32_t value) { - _internal_set_client_tick(value); - // @@protoc_insertion_point(field_set:CMsgServerUserCmd.client_tick) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_UserCommands - -// repeated .CMsgServerUserCmd commands = 1; -inline int CSVCMsg_UserCommands::_internal_commands_size() const { - return _impl_.commands_.size(); -} -inline int CSVCMsg_UserCommands::commands_size() const { - return _internal_commands_size(); -} -inline void CSVCMsg_UserCommands::clear_commands() { - _impl_.commands_.Clear(); -} -inline ::CMsgServerUserCmd* CSVCMsg_UserCommands::mutable_commands(int index) { - // @@protoc_insertion_point(field_mutable:CSVCMsg_UserCommands.commands) - return _impl_.commands_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerUserCmd >* -CSVCMsg_UserCommands::mutable_commands() { - // @@protoc_insertion_point(field_mutable_list:CSVCMsg_UserCommands.commands) - return &_impl_.commands_; -} -inline const ::CMsgServerUserCmd& CSVCMsg_UserCommands::_internal_commands(int index) const { - return _impl_.commands_.Get(index); -} -inline const ::CMsgServerUserCmd& CSVCMsg_UserCommands::commands(int index) const { - // @@protoc_insertion_point(field_get:CSVCMsg_UserCommands.commands) - return _internal_commands(index); -} -inline ::CMsgServerUserCmd* CSVCMsg_UserCommands::_internal_add_commands() { - return _impl_.commands_.Add(); -} -inline ::CMsgServerUserCmd* CSVCMsg_UserCommands::add_commands() { - ::CMsgServerUserCmd* _add = _internal_add_commands(); - // @@protoc_insertion_point(field_add:CSVCMsg_UserCommands.commands) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgServerUserCmd >& -CSVCMsg_UserCommands::commands() const { - // @@protoc_insertion_point(field_list:CSVCMsg_UserCommands.commands) - return _impl_.commands_; -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::CBidirMsg_PredictionEvent_ESyncType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::CBidirMsg_PredictionEvent_ESyncType>() { - return ::CBidirMsg_PredictionEvent_ESyncType_descriptor(); -} -template <> struct is_proto_enum< ::CLC_Messages> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::CLC_Messages>() { - return ::CLC_Messages_descriptor(); -} -template <> struct is_proto_enum< ::SVC_Messages> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::SVC_Messages>() { - return ::SVC_Messages_descriptor(); -} -template <> struct is_proto_enum< ::VoiceDataFormat_t> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::VoiceDataFormat_t>() { - return ::VoiceDataFormat_t_descriptor(); -} -template <> struct is_proto_enum< ::RequestPause_t> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::RequestPause_t>() { - return ::RequestPause_t_descriptor(); -} -template <> struct is_proto_enum< ::PrefetchType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::PrefetchType>() { - return ::PrefetchType_descriptor(); -} -template <> struct is_proto_enum< ::ESplitScreenMessageType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ESplitScreenMessageType>() { - return ::ESplitScreenMessageType_descriptor(); -} -template <> struct is_proto_enum< ::EQueryCvarValueStatus> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EQueryCvarValueStatus>() { - return ::EQueryCvarValueStatus_descriptor(); -} -template <> struct is_proto_enum< ::DIALOG_TYPE> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::DIALOG_TYPE>() { - return ::DIALOG_TYPE_descriptor(); -} -template <> struct is_proto_enum< ::SVC_Messages_LowFrequency> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::SVC_Messages_LowFrequency>() { - return ::SVC_Messages_LowFrequency_descriptor(); -} -template <> struct is_proto_enum< ::Bidirectional_Messages> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::Bidirectional_Messages>() { - return ::Bidirectional_Messages_descriptor(); -} -template <> struct is_proto_enum< ::Bidirectional_Messages_LowFrequency> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::Bidirectional_Messages_LowFrequency>() { - return ::Bidirectional_Messages_LowFrequency_descriptor(); -} -template <> struct is_proto_enum< ::ReplayEventType_t> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ReplayEventType_t>() { - return ::ReplayEventType_t_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_netmessages_2eproto diff --git a/protobuf/generated/network_connection.pb.cc b/protobuf/generated/network_connection.pb.cc deleted file mode 100644 index d0529fb39..000000000 --- a/protobuf/generated/network_connection.pb.cc +++ /dev/null @@ -1,454 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: network_connection.proto - -#include "network_connection.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_network_5fconnection_2eproto[1]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_network_5fconnection_2eproto = nullptr; -const uint32_t TableStruct_network_5fconnection_2eproto::offsets[1] = {}; -static constexpr ::_pbi::MigrationSchema* schemas = nullptr; -static constexpr ::_pb::Message* const* file_default_instances = nullptr; - -const char descriptor_table_protodef_network_5fconnection_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\030network_connection.proto\032 google/proto" - "buf/descriptor.proto*\260M\n\033ENetworkDisconn" - "ectionReason\022\036\n\032NETWORK_DISCONNECT_INVAL" - "ID\020\000\022\037\n\033NETWORK_DISCONNECT_SHUTDOWN\020\001\022F\n" - "%NETWORK_DISCONNECT_DISCONNECT_BY_USER\020\002" - "\032\033\242\324\030\027#GameUI_Disconnect_User\022J\n\'NETWORK" - "_DISCONNECT_DISCONNECT_BY_SERVER\020\003\032\035\242\324\030\031" - "#GameUI_Disconnect_Server\022B\n\027NETWORK_DIS" - "CONNECT_LOST\020\004\032%\242\324\030!#GameUI_Disconnect_C" - "onnectionLost\022J\n\033NETWORK_DISCONNECT_OVER" - "FLOW\020\005\032)\242\324\030%#GameUI_Disconnect_Connectio" - "nOverflow\022I\n\037NETWORK_DISCONNECT_STEAM_BA" - "NNED\020\006\032$\242\324\030 #GameUI_Disconnect_SteamIDBa" - "nned\022G\n\036NETWORK_DISCONNECT_STEAM_INUSE\020\007" - "\032#\242\324\030\037#GameUI_Disconnect_SteamIDInUse\022G\n" - "\037NETWORK_DISCONNECT_STEAM_TICKET\020\010\032\"\242\324\030\036" - "#GameUI_Disconnect_SteamTicket\022E\n\036NETWOR" - "K_DISCONNECT_STEAM_LOGON\020\t\032!\242\324\030\035#GameUI_" - "Disconnect_SteamLogon\022M\n&NETWORK_DISCONN" - "ECT_STEAM_AUTHCANCELLED\020\n\032!\242\324\030\035#GameUI_D" - "isconnect_SteamLogon\022O\n(NETWORK_DISCONNE" - "CT_STEAM_AUTHALREADYUSED\020\013\032!\242\324\030\035#GameUI_" - "Disconnect_SteamLogon\022K\n$NETWORK_DISCONN" - "ECT_STEAM_AUTHINVALID\020\014\032!\242\324\030\035#GameUI_Dis" - "connect_SteamLogon\022M\n$NETWORK_DISCONNECT" - "_STEAM_VACBANSTATE\020\r\032#\242\324\030\033#GameUI_Discon" - "nect_SteamVAC\260\324\030\000\022S\n,NETWORK_DISCONNECT_" - "STEAM_LOGGED_IN_ELSEWHERE\020\016\032!\242\324\030\035#GameUI" - "_Disconnect_SteamInUse\022T\n+NETWORK_DISCON" - "NECT_STEAM_VAC_CHECK_TIMEDOUT\020\017\032#\242\324\030\037#Ga" - "meUI_Disconnect_SteamTimeOut\022I\n NETWORK_" - "DISCONNECT_STEAM_DROPPED\020\020\032#\242\324\030\037#GameUI_" - "Disconnect_SteamDropped\022M\n\"NETWORK_DISCO" - "NNECT_STEAM_OWNERSHIP\020\021\032%\242\324\030!#GameUI_Dis" - "connect_SteamOwnership\022U\n&NETWORK_DISCON" - "NECT_SERVERINFO_OVERFLOW\020\022\032)\242\324\030%#GameUI_" - "Disconnect_ServerInfoOverflow\022K\n#NETWORK" - "_DISCONNECT_TICKMSG_OVERFLOW\020\023\032\"\242\324\030\036#Gam" - "eUI_Disconnect_TickMessage\022Y\n*NETWORK_DI" - "SCONNECT_STRINGTABLEMSG_OVERFLOW\020\024\032)\242\324\030%" - "#GameUI_Disconnect_StringTableMessage\022S\n" - "\'NETWORK_DISCONNECT_DELTAENTMSG_OVERFLOW" - "\020\025\032&\242\324\030\"#GameUI_Disconnect_DeltaEntMessa" - "ge\022Q\n&NETWORK_DISCONNECT_TEMPENTMSG_OVER" - "FLOW\020\026\032%\242\324\030!#GameUI_Disconnect_TempEntMe" - "ssage\022O\n%NETWORK_DISCONNECT_SOUNDSMSG_OV" - "ERFLOW\020\027\032$\242\324\030 #GameUI_Disconnect_SoundsM" - "essage\022P\n#NETWORK_DISCONNECT_SNAPSHOTOVE" - "RFLOW\020\030\032\'\242\324\030##GameUI_Disconnect_Snapshot" - "Overflow\022J\n NETWORK_DISCONNECT_SNAPSHOTE" - "RROR\020\031\032$\242\324\030 #GameUI_Disconnect_SnapshotE" - "rror\022P\n#NETWORK_DISCONNECT_RELIABLEOVERF" - "LOW\020\032\032\'\242\324\030##GameUI_Disconnect_ReliableOv" - "erflow\022N\n\037NETWORK_DISCONNECT_BADDELTATIC" - "K\020\033\032)\242\324\030%#GameUI_Disconnect_BadClientDel" - "taTick\022H\n\037NETWORK_DISCONNECT_NOMORESPLIT" - "S\020\034\032#\242\324\030\037#GameUI_Disconnect_NoMoreSplits" - "\022@\n\033NETWORK_DISCONNECT_TIMEDOUT\020\035\032\037\242\324\030\033#" - "GameUI_Disconnect_TimedOut\022H\n\037NETWORK_DI" - "SCONNECT_DISCONNECTED\020\036\032#\242\324\030\037#GameUI_Dis" - "connect_Disconnected\022H\n\037NETWORK_DISCONNE" - "CT_LEAVINGSPLIT\020\037\032#\242\324\030\037#GameUI_Disconnec" - "t_LeavingSplit\022X\n\'NETWORK_DISCONNECT_DIF" - "FERENTCLASSTABLES\020 \032+\242\324\030\'#GameUI_Disconn" - "ect_DifferentClassTables\022P\n#NETWORK_DISC" - "ONNECT_BADRELAYPASSWORD\020!\032\'\242\324\030##GameUI_D" - "isconnect_BadRelayPassword\022X\n\'NETWORK_DI" - "SCONNECT_BADSPECTATORPASSWORD\020\"\032+\242\324\030\'#Ga" - "meUI_Disconnect_BadSpectatorPassword\022L\n!" - "NETWORK_DISCONNECT_HLTVRESTRICTED\020#\032%\242\324\030" - "!#GameUI_Disconnect_HLTVRestricted\022H\n\037NE" - "TWORK_DISCONNECT_NOSPECTATORS\020$\032#\242\324\030\037#Ga" - "meUI_Disconnect_NoSpectators\022N\n\"NETWORK_" - "DISCONNECT_HLTVUNAVAILABLE\020%\032&\242\324\030\"#GameU" - "I_Disconnect_HLTVUnavailable\022@\n\033NETWORK_" - "DISCONNECT_HLTVSTOP\020&\032\037\242\324\030\033#GameUI_Disco" - "nnect_HLTVStop\022<\n\031NETWORK_DISCONNECT_KIC" - "KED\020\'\032\035\242\324\030\031#GameUI_Disconnect_Kicked\022@\n\033" - "NETWORK_DISCONNECT_BANADDED\020(\032\037\242\324\030\033#Game" - "UI_Disconnect_BanAdded\022H\n\037NETWORK_DISCON" - "NECT_KICKBANADDED\020)\032#\242\324\030\037#GameUI_Disconn" - "ect_KickBanAdded\022D\n\035NETWORK_DISCONNECT_H" - "LTVDIRECT\020*\032!\242\324\030\035#GameUI_Disconnect_HLTV" - "Direct\022\\\n)NETWORK_DISCONNECT_PURESERVER_" - "CLIENTEXTRA\020+\032-\242\324\030)#GameUI_Disconnect_Pu" - "reServer_ClientExtra\022V\n&NETWORK_DISCONNE" - "CT_PURESERVER_MISMATCH\020,\032*\242\324\030&#GameUI_Di" - "sconnect_PureServer_Mismatch\022>\n\032NETWORK_" - "DISCONNECT_USERCMD\020-\032\036\242\324\030\032#GameUI_Discon" - "nect_UserCmd\022N\n#NETWORK_DISCONNECT_REJEC" - "TED_BY_GAME\020.\032%\242\324\030!#GameUI_Disconnect_Re" - "jectedByGame\022T\n&NETWORK_DISCONNECT_MESSA" - "GE_PARSE_ERROR\020/\032(\242\324\030$#GameUI_Disconnect" - "_MessageParseError\022X\n(NETWORK_DISCONNECT" - "_INVALID_MESSAGE_ERROR\0200\032*\242\324\030&#GameUI_Di" - "sconnect_InvalidMessageError\022T\n&NETWORK_" - "DISCONNECT_BAD_SERVER_PASSWORD\0201\032(\242\324\030$#G" - "ameUI_Disconnect_BadServerPassword\0221\n-NE" - "TWORK_DISCONNECT_DIRECT_CONNECT_RESERVAT" - "ION\0202\022S\n%NETWORK_DISCONNECT_CONNECTION_F" - "AILURE\0203\032(\242\324\030$#GameUI_Disconnect_Connect" - "ionFailure\022Y\n)NETWORK_DISCONNECT_NO_PEER" - "_GROUP_HANDLERS\0204\032*\242\324\030&#GameUI_Disconnec" - "t_NoPeerGroupHandlers\022#\n\037NETWORK_DISCONN" - "ECT_RECONNECTION\0205\022H\n\037NETWORK_DISCONNECT" - "_LOOPSHUTDOWN\0206\032#\242\324\030\037#GameUI_Disconnect_" - "LoopShutdown\022L\n!NETWORK_DISCONNECT_LOOPD" - "EACTIVATE\0207\032%\242\324\030!#GameUI_Disconnect_Loop" - "Deactivate\022H\n\037NETWORK_DISCONNECT_HOST_EN" - "DGAME\0208\032#\242\324\030\037#GameUI_Disconnect_Host_End" - "Game\022\\\n*NETWORK_DISCONNECT_LOOP_LEVELLOA" - "D_ACTIVATE\0209\032,\242\324\030(#GameUI_Disconnect_Loo" - "pLevelLoadActivate\022V\n\'NETWORK_DISCONNECT" - "_CREATE_SERVER_FAILED\020:\032)\242\324\030%#GameUI_Dis" - "connect_CreateServerFailed\022D\n\032NETWORK_DI" - "SCONNECT_EXITING\020;\032$\242\324\030 #GameUI_Disconne" - "ct_ExitingEngine\022T\n)NETWORK_DISCONNECT_R" - "EQUEST_HOSTSTATE_IDLE\020<\032%\242\324\030!#GameUI_Dis" - "connect_Request_HSIdle\022\\\n.NETWORK_DISCON" - "NECT_REQUEST_HOSTSTATE_HLTVRELAY\020=\032(\242\324\030$" - "#GameUI_Disconnect_Request_HLTVRelay\022Q\n*" - "NETWORK_DISCONNECT_CLIENT_CONSISTENCY_FA" - "IL\020>\032!\242\324\030\035#GameUI_ClientConsistencyFail\022" - "Q\n+NETWORK_DISCONNECT_CLIENT_UNABLE_TO_C" - "RC_MAP\020\?\032 \242\324\030\034#GameUI_ClientUnableToCRCM" - "ap\022=\n NETWORK_DISCONNECT_CLIENT_NO_MAP\020@" - "\032\027\242\324\030\023#GameUI_ClientNoMap\022K\n\'NETWORK_DIS" - "CONNECT_CLIENT_DIFFERENT_MAP\020A\032\036\242\324\030\032#Gam" - "eUI_ClientDifferentMap\022M\n(NETWORK_DISCON" - "NECT_SERVER_REQUIRES_STEAM\020B\032\037\242\324\030\033#GameU" - "I_ServerRequireSteams\022M\n\"NETWORK_DISCONN" - "ECT_STEAM_DENY_MISC\020C\032%\242\324\030!#GameUI_Disco" - "nnect_SteamDeny_Misc\022_\n,NETWORK_DISCONNE" - "CT_STEAM_DENY_BAD_ANTI_CHEAT\020D\032-\242\324\030)#Gam" - "eUI_Disconnect_SteamDeny_BadAntiCheat\022M\n" - "\"NETWORK_DISCONNECT_SERVER_SHUTDOWN\020E\032%\242" - "\324\030!#GameUI_Disconnect_ServerShutdown\022U\n&" - "NETWORK_DISCONNECT_REPLAY_INCOMPATIBLE\020G" - "\032)\242\324\030%#GameUI_Disconnect_ReplayIncompati" - "ble\022Z\n+NETWORK_DISCONNECT_CONNECT_REQUES" - "T_TIMEDOUT\020H\032)\242\324\030%#GameUI_Disconnect_Con" - "nectionTimedout\022U\n&NETWORK_DISCONNECT_SE" - "RVER_INCOMPATIBLE\020I\032)\242\324\030%#GameUI_Disconn" - "ect_ServerIncompatible\022^\n*NETWORK_DISCON" - "NECT_LOCALPROBLEM_MANYRELAYS\020J\032.\242\324\030*#Gam" - "eUI_Disconnect_LocalProblem_ManyRelays\022z" - "\n8NETWORK_DISCONNECT_LOCALPROBLEM_HOSTED" - "SERVERPRIMARYRELAY\020K\032<\242\324\0308#GameUI_Discon" - "nect_LocalProblem_HostedServerPrimaryRel" - "ay\022d\n-NETWORK_DISCONNECT_LOCALPROBLEM_NE" - "TWORKCONFIG\020L\0321\242\324\030-#GameUI_Disconnect_Lo" - "calProblem_NetworkConfig\022T\n%NETWORK_DISC" - "ONNECT_LOCALPROBLEM_OTHER\020M\032)\242\324\030%#GameUI" - "_Disconnect_LocalProblem_Other\022S\n!NETWOR" - "K_DISCONNECT_REMOTE_TIMEOUT\020O\032,\242\324\030(#Game" - "UI_Disconnect_RemoteProblem_Timeout\022h\n,N" - "ETWORK_DISCONNECT_REMOTE_TIMEOUT_CONNECT" - "ING\020P\0326\242\324\0302#GameUI_Disconnect_RemoteProb" - "lem_TimeoutConnecting\022O\n\037NETWORK_DISCONN" - "ECT_REMOTE_OTHER\020Q\032*\242\324\030&#GameUI_Disconne" - "ct_RemoteProblem_Other\022U\n\"NETWORK_DISCON" - "NECT_REMOTE_BADCRYPT\020R\032-\242\324\030)#GameUI_Disc" - "onnect_RemoteProblem_BadCrypt\022Z\n(NETWORK" - "_DISCONNECT_REMOTE_CERTNOTTRUSTED\020S\032,\242\324\030" - "(#GameUI_Disconnect_RemoteProblem_BadCer" - "t\022>\n\032NETWORK_DISCONNECT_UNUSUAL\020T\032\036\242\324\030\032#" - "GameUI_Disconnect_Unusual\022K\n!NETWORK_DIS" - "CONNECT_INTERNAL_ERROR\020U\032$\242\324\030 #GameUI_Di" - "sconnect_InternalError\022Q\n&NETWORK_DISCON" - "NECT_REJECT_BADCHALLENGE\020\200\001\032$\242\324\030 #GameUI" - "_ServerRejectBadChallenge\022A\n!NETWORK_DIS" - "CONNECT_REJECT_NOLOBBY\020\201\001\032\031\242\324\030\025#GameUI_S" - "erverNoLobby\022O\n(NETWORK_DISCONNECT_REJEC" - "T_BACKGROUND_MAP\020\202\001\032 \242\324\030\034#Valve_Reject_B" - "ackground_Map\022M\n\'NETWORK_DISCONNECT_REJE" - "CT_SINGLE_PLAYER\020\203\001\032\037\242\324\030\033#Valve_Reject_S" - "ingle_Player\022I\n%NETWORK_DISCONNECT_REJEC" - "T_HIDDEN_GAME\020\204\001\032\035\242\324\030\031#Valve_Reject_Hidd" - "en_Game\022O\n%NETWORK_DISCONNECT_REJECT_LAN" - "RESTRICT\020\205\001\032#\242\324\030\037#GameUI_ServerRejectLAN" - "Restrict\022O\n%NETWORK_DISCONNECT_REJECT_BA" - "DPASSWORD\020\206\001\032#\242\324\030\037#GameUI_ServerRejectBa" - "dPassword\022M\n$NETWORK_DISCONNECT_REJECT_S" - "ERVERFULL\020\207\001\032\"\242\324\030\036#GameUI_ServerRejectSe" - "rverFull\022]\n,NETWORK_DISCONNECT_REJECT_IN" - "VALIDRESERVATION\020\210\001\032*\242\324\030&#GameUI_ServerR" - "ejectInvalidReservation\022S\n\'NETWORK_DISCO" - "NNECT_REJECT_FAILEDCHANNEL\020\211\001\032%\242\324\030!#Game" - "UI_ServerRejectFailedChannel\022W\n,NETWORK_" - "DISCONNECT_REJECT_CONNECT_FROM_LOBBY\020\212\001\032" - "$\242\324\030 #Valve_Reject_Connect_From_Lobby\022W\n" - ",NETWORK_DISCONNECT_REJECT_RESERVED_FOR_" - "LOBBY\020\213\001\032$\242\324\030 #Valve_Reject_Reserved_For" - "_Lobby\022Z\n*NETWORK_DISCONNECT_REJECT_INVA" - "LIDKEYLENGTH\020\214\001\032)\242\324\030%#GameUI_ServerRejec" - "t_InvalidKeyLength\022O\n%NETWORK_DISCONNECT" - "_REJECT_OLDPROTOCOL\020\215\001\032#\242\324\030\037#GameUI_Serv" - "erRejectOldProtocol\022O\n%NETWORK_DISCONNEC" - "T_REJECT_NEWPROTOCOL\020\216\001\032#\242\324\030\037#GameUI_Ser" - "verRejectNewProtocol\022[\n+NETWORK_DISCONNE" - "CT_REJECT_INVALIDCONNECTION\020\217\001\032)\242\324\030%#Gam" - "eUI_ServerRejectInvalidConnection\022U\n(NET" - "WORK_DISCONNECT_REJECT_INVALIDCERTLEN\020\220\001" - "\032&\242\324\030\"#GameUI_ServerRejectInvalidCertLen" - "\022_\n-NETWORK_DISCONNECT_REJECT_INVALIDSTE" - "AMCERTLEN\020\221\001\032+\242\324\030\'#GameUI_ServerRejectIn" - "validSteamCertLen\022C\n\037NETWORK_DISCONNECT_" - "REJECT_STEAM\020\222\001\032\035\242\324\030\031#GameUI_ServerRejec" - "tSteam\022Q\n,NETWORK_DISCONNECT_REJECT_SERV" - "ERAUTHDISABLED\020\223\001\032\036\242\324\030\032#GameUI_ServerAut" - "hDisabled\022Y\n0NETWORK_DISCONNECT_REJECT_S" - "ERVERCDKEYAUTHINVALID\020\224\001\032\"\242\324\030\036#GameUI_Se" - "rverCDKeyAuthInvalid\022E\n NETWORK_DISCONNE" - "CT_REJECT_BANNED\020\225\001\032\036\242\324\030\032#GameUI_ServerR" - "ejectBanned\022T\n%NETWORK_DISCONNECT_KICKED" - "_TEAMKILLING\020\226\001\032(\242\324\030$#Player_DisconnectR" - "eason_TeamKilling\022N\n\"NETWORK_DISCONNECT_" - "KICKED_TK_START\020\227\001\032%\242\324\030!#Player_Disconne" - "ctReason_TK_Start\022^\n*NETWORK_DISCONNECT_" - "KICKED_UNTRUSTEDACCOUNT\020\230\001\032-\242\324\030)#Player_" - "DisconnectReason_UntrustedAccount\022^\n*NET" - "WORK_DISCONNECT_KICKED_CONVICTEDACCOUNT\020" - "\231\001\032-\242\324\030)#Player_DisconnectReason_Convict" - "edAccount\022d\n-NETWORK_DISCONNECT_KICKED_C" - "OMPETITIVECOOLDOWN\020\232\001\0320\242\324\030,#Player_Disco" - "nnectReason_CompetitiveCooldown\022T\n%NETWO" - "RK_DISCONNECT_KICKED_TEAMHURTING\020\233\001\032(\242\324\030" - "$#Player_DisconnectReason_TeamHurting\022Z\n" - "(NETWORK_DISCONNECT_KICKED_HOSTAGEKILLIN" - "G\020\234\001\032+\242\324\030\'#Player_DisconnectReason_Hosta" - "geKilling\022N\n\"NETWORK_DISCONNECT_KICKED_V" - "OTEDOFF\020\235\001\032%\242\324\030!#Player_DisconnectReason" - "_VotedOff\022F\n\036NETWORK_DISCONNECT_KICKED_I" - "DLE\020\236\001\032!\242\324\030\035#Player_DisconnectReason_Idl" - "e\022L\n!NETWORK_DISCONNECT_KICKED_SUICIDE\020\237" - "\001\032$\242\324\030 #Player_DisconnectReason_Suicide\022" - "V\n&NETWORK_DISCONNECT_KICKED_NOSTEAMLOGI" - "N\020\240\001\032)\242\324\030%#Player_DisconnectReason_NoSte" - "amLogin\022X\n\'NETWORK_DISCONNECT_KICKED_NOS" - "TEAMTICKET\020\241\001\032*\242\324\030&#Player_DisconnectRea" - "son_NoSteamTicket\022\217\001\n)NETWORK_DISCONNECT" - "_KICKED_INPUTAUTOMATION\020\242\001\032_\242\324\030(#Player_" - "DisconnectReason_InputAutomation\252\324\030/#Pla" - "yer_DisconnectReason_InputAutomation_Det" - "ail\022n\n0NETWORK_DISCONNECT_KICKED_VACNETA" - "BNORMALBEHAVIOR\020\243\001\0327\242\324\030/#Player_Disconne" - "ctReason_VacNetAbnormalBehavior\260\324\030\000\022Z\n(N" - "ETWORK_DISCONNECT_KICKED_INSECURECLIENT\020" - "\244\001\032+\242\324\030\'#Player_DisconnectReason_Insecur" - "eClient:E\n\030network_connection_token\022!.go" - "ogle.protobuf.EnumValueOptions\030\304\212\003 \001(\t:L" - "\n\037network_connection_detail_token\022!.goog" - "le.protobuf.EnumValueOptions\030\305\212\003 \001(\t:F\n\023" - "allowed_from_client\022!.google.protobuf.En" - "umValueOptions\030\306\212\003 \001(\010:\004true" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_network_5fconnection_2eproto_deps[1] = { - &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, -}; -static ::_pbi::once_flag descriptor_table_network_5fconnection_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_network_5fconnection_2eproto = { - false, false, 10188, descriptor_table_protodef_network_5fconnection_2eproto, - "network_connection.proto", - &descriptor_table_network_5fconnection_2eproto_once, descriptor_table_network_5fconnection_2eproto_deps, 1, 0, - schemas, file_default_instances, TableStruct_network_5fconnection_2eproto::offsets, - nullptr, file_level_enum_descriptors_network_5fconnection_2eproto, - file_level_service_descriptors_network_5fconnection_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_network_5fconnection_2eproto_getter() { - return &descriptor_table_network_5fconnection_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_network_5fconnection_2eproto(&descriptor_table_network_5fconnection_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ENetworkDisconnectionReason_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_network_5fconnection_2eproto); - return file_level_enum_descriptors_network_5fconnection_2eproto[0]; -} -bool ENetworkDisconnectionReason_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - case 16: - case 17: - case 18: - case 19: - case 20: - case 21: - case 22: - case 23: - case 24: - case 25: - case 26: - case 27: - case 28: - case 29: - case 30: - case 31: - case 32: - case 33: - case 34: - case 35: - case 36: - case 37: - case 38: - case 39: - case 40: - case 41: - case 42: - case 43: - case 44: - case 45: - case 46: - case 47: - case 48: - case 49: - case 50: - case 51: - case 52: - case 53: - case 54: - case 55: - case 56: - case 57: - case 58: - case 59: - case 60: - case 61: - case 62: - case 63: - case 64: - case 65: - case 66: - case 67: - case 68: - case 69: - case 71: - case 72: - case 73: - case 74: - case 75: - case 76: - case 77: - case 79: - case 80: - case 81: - case 82: - case 83: - case 84: - case 85: - case 128: - case 129: - case 130: - case 131: - case 132: - case 133: - case 134: - case 135: - case 136: - case 137: - case 138: - case 139: - case 140: - case 141: - case 142: - case 143: - case 144: - case 145: - case 146: - case 147: - case 148: - case 149: - case 150: - case 151: - case 152: - case 153: - case 154: - case 155: - case 156: - case 157: - case 158: - case 159: - case 160: - case 161: - case 162: - case 163: - case 164: - return true; - default: - return false; - } -} - -const std::string network_connection_token_default(""); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, - ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> - network_connection_token(kNetworkConnectionTokenFieldNumber, network_connection_token_default, nullptr); -const std::string network_connection_detail_token_default(""); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, - ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> - network_connection_detail_token(kNetworkConnectionDetailTokenFieldNumber, network_connection_detail_token_default, nullptr); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false> - allowed_from_client(kAllowedFromClientFieldNumber, true, nullptr); - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/network_connection.pb.h b/protobuf/generated/network_connection.pb.h deleted file mode 100644 index 5d9fc2e02..000000000 --- a/protobuf/generated/network_connection.pb.h +++ /dev/null @@ -1,236 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: network_connection.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_network_5fconnection_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_network_5fconnection_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_network_5fconnection_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_network_5fconnection_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_network_5fconnection_2eproto; -PROTOBUF_NAMESPACE_OPEN -PROTOBUF_NAMESPACE_CLOSE - -enum ENetworkDisconnectionReason : int { - NETWORK_DISCONNECT_INVALID = 0, - NETWORK_DISCONNECT_SHUTDOWN = 1, - NETWORK_DISCONNECT_DISCONNECT_BY_USER = 2, - NETWORK_DISCONNECT_DISCONNECT_BY_SERVER = 3, - NETWORK_DISCONNECT_LOST = 4, - NETWORK_DISCONNECT_OVERFLOW = 5, - NETWORK_DISCONNECT_STEAM_BANNED = 6, - NETWORK_DISCONNECT_STEAM_INUSE = 7, - NETWORK_DISCONNECT_STEAM_TICKET = 8, - NETWORK_DISCONNECT_STEAM_LOGON = 9, - NETWORK_DISCONNECT_STEAM_AUTHCANCELLED = 10, - NETWORK_DISCONNECT_STEAM_AUTHALREADYUSED = 11, - NETWORK_DISCONNECT_STEAM_AUTHINVALID = 12, - NETWORK_DISCONNECT_STEAM_VACBANSTATE = 13, - NETWORK_DISCONNECT_STEAM_LOGGED_IN_ELSEWHERE = 14, - NETWORK_DISCONNECT_STEAM_VAC_CHECK_TIMEDOUT = 15, - NETWORK_DISCONNECT_STEAM_DROPPED = 16, - NETWORK_DISCONNECT_STEAM_OWNERSHIP = 17, - NETWORK_DISCONNECT_SERVERINFO_OVERFLOW = 18, - NETWORK_DISCONNECT_TICKMSG_OVERFLOW = 19, - NETWORK_DISCONNECT_STRINGTABLEMSG_OVERFLOW = 20, - NETWORK_DISCONNECT_DELTAENTMSG_OVERFLOW = 21, - NETWORK_DISCONNECT_TEMPENTMSG_OVERFLOW = 22, - NETWORK_DISCONNECT_SOUNDSMSG_OVERFLOW = 23, - NETWORK_DISCONNECT_SNAPSHOTOVERFLOW = 24, - NETWORK_DISCONNECT_SNAPSHOTERROR = 25, - NETWORK_DISCONNECT_RELIABLEOVERFLOW = 26, - NETWORK_DISCONNECT_BADDELTATICK = 27, - NETWORK_DISCONNECT_NOMORESPLITS = 28, - NETWORK_DISCONNECT_TIMEDOUT = 29, - NETWORK_DISCONNECT_DISCONNECTED = 30, - NETWORK_DISCONNECT_LEAVINGSPLIT = 31, - NETWORK_DISCONNECT_DIFFERENTCLASSTABLES = 32, - NETWORK_DISCONNECT_BADRELAYPASSWORD = 33, - NETWORK_DISCONNECT_BADSPECTATORPASSWORD = 34, - NETWORK_DISCONNECT_HLTVRESTRICTED = 35, - NETWORK_DISCONNECT_NOSPECTATORS = 36, - NETWORK_DISCONNECT_HLTVUNAVAILABLE = 37, - NETWORK_DISCONNECT_HLTVSTOP = 38, - NETWORK_DISCONNECT_KICKED = 39, - NETWORK_DISCONNECT_BANADDED = 40, - NETWORK_DISCONNECT_KICKBANADDED = 41, - NETWORK_DISCONNECT_HLTVDIRECT = 42, - NETWORK_DISCONNECT_PURESERVER_CLIENTEXTRA = 43, - NETWORK_DISCONNECT_PURESERVER_MISMATCH = 44, - NETWORK_DISCONNECT_USERCMD = 45, - NETWORK_DISCONNECT_REJECTED_BY_GAME = 46, - NETWORK_DISCONNECT_MESSAGE_PARSE_ERROR = 47, - NETWORK_DISCONNECT_INVALID_MESSAGE_ERROR = 48, - NETWORK_DISCONNECT_BAD_SERVER_PASSWORD = 49, - NETWORK_DISCONNECT_DIRECT_CONNECT_RESERVATION = 50, - NETWORK_DISCONNECT_CONNECTION_FAILURE = 51, - NETWORK_DISCONNECT_NO_PEER_GROUP_HANDLERS = 52, - NETWORK_DISCONNECT_RECONNECTION = 53, - NETWORK_DISCONNECT_LOOPSHUTDOWN = 54, - NETWORK_DISCONNECT_LOOPDEACTIVATE = 55, - NETWORK_DISCONNECT_HOST_ENDGAME = 56, - NETWORK_DISCONNECT_LOOP_LEVELLOAD_ACTIVATE = 57, - NETWORK_DISCONNECT_CREATE_SERVER_FAILED = 58, - NETWORK_DISCONNECT_EXITING = 59, - NETWORK_DISCONNECT_REQUEST_HOSTSTATE_IDLE = 60, - NETWORK_DISCONNECT_REQUEST_HOSTSTATE_HLTVRELAY = 61, - NETWORK_DISCONNECT_CLIENT_CONSISTENCY_FAIL = 62, - NETWORK_DISCONNECT_CLIENT_UNABLE_TO_CRC_MAP = 63, - NETWORK_DISCONNECT_CLIENT_NO_MAP = 64, - NETWORK_DISCONNECT_CLIENT_DIFFERENT_MAP = 65, - NETWORK_DISCONNECT_SERVER_REQUIRES_STEAM = 66, - NETWORK_DISCONNECT_STEAM_DENY_MISC = 67, - NETWORK_DISCONNECT_STEAM_DENY_BAD_ANTI_CHEAT = 68, - NETWORK_DISCONNECT_SERVER_SHUTDOWN = 69, - NETWORK_DISCONNECT_REPLAY_INCOMPATIBLE = 71, - NETWORK_DISCONNECT_CONNECT_REQUEST_TIMEDOUT = 72, - NETWORK_DISCONNECT_SERVER_INCOMPATIBLE = 73, - NETWORK_DISCONNECT_LOCALPROBLEM_MANYRELAYS = 74, - NETWORK_DISCONNECT_LOCALPROBLEM_HOSTEDSERVERPRIMARYRELAY = 75, - NETWORK_DISCONNECT_LOCALPROBLEM_NETWORKCONFIG = 76, - NETWORK_DISCONNECT_LOCALPROBLEM_OTHER = 77, - NETWORK_DISCONNECT_REMOTE_TIMEOUT = 79, - NETWORK_DISCONNECT_REMOTE_TIMEOUT_CONNECTING = 80, - NETWORK_DISCONNECT_REMOTE_OTHER = 81, - NETWORK_DISCONNECT_REMOTE_BADCRYPT = 82, - NETWORK_DISCONNECT_REMOTE_CERTNOTTRUSTED = 83, - NETWORK_DISCONNECT_UNUSUAL = 84, - NETWORK_DISCONNECT_INTERNAL_ERROR = 85, - NETWORK_DISCONNECT_REJECT_BADCHALLENGE = 128, - NETWORK_DISCONNECT_REJECT_NOLOBBY = 129, - NETWORK_DISCONNECT_REJECT_BACKGROUND_MAP = 130, - NETWORK_DISCONNECT_REJECT_SINGLE_PLAYER = 131, - NETWORK_DISCONNECT_REJECT_HIDDEN_GAME = 132, - NETWORK_DISCONNECT_REJECT_LANRESTRICT = 133, - NETWORK_DISCONNECT_REJECT_BADPASSWORD = 134, - NETWORK_DISCONNECT_REJECT_SERVERFULL = 135, - NETWORK_DISCONNECT_REJECT_INVALIDRESERVATION = 136, - NETWORK_DISCONNECT_REJECT_FAILEDCHANNEL = 137, - NETWORK_DISCONNECT_REJECT_CONNECT_FROM_LOBBY = 138, - NETWORK_DISCONNECT_REJECT_RESERVED_FOR_LOBBY = 139, - NETWORK_DISCONNECT_REJECT_INVALIDKEYLENGTH = 140, - NETWORK_DISCONNECT_REJECT_OLDPROTOCOL = 141, - NETWORK_DISCONNECT_REJECT_NEWPROTOCOL = 142, - NETWORK_DISCONNECT_REJECT_INVALIDCONNECTION = 143, - NETWORK_DISCONNECT_REJECT_INVALIDCERTLEN = 144, - NETWORK_DISCONNECT_REJECT_INVALIDSTEAMCERTLEN = 145, - NETWORK_DISCONNECT_REJECT_STEAM = 146, - NETWORK_DISCONNECT_REJECT_SERVERAUTHDISABLED = 147, - NETWORK_DISCONNECT_REJECT_SERVERCDKEYAUTHINVALID = 148, - NETWORK_DISCONNECT_REJECT_BANNED = 149, - NETWORK_DISCONNECT_KICKED_TEAMKILLING = 150, - NETWORK_DISCONNECT_KICKED_TK_START = 151, - NETWORK_DISCONNECT_KICKED_UNTRUSTEDACCOUNT = 152, - NETWORK_DISCONNECT_KICKED_CONVICTEDACCOUNT = 153, - NETWORK_DISCONNECT_KICKED_COMPETITIVECOOLDOWN = 154, - NETWORK_DISCONNECT_KICKED_TEAMHURTING = 155, - NETWORK_DISCONNECT_KICKED_HOSTAGEKILLING = 156, - NETWORK_DISCONNECT_KICKED_VOTEDOFF = 157, - NETWORK_DISCONNECT_KICKED_IDLE = 158, - NETWORK_DISCONNECT_KICKED_SUICIDE = 159, - NETWORK_DISCONNECT_KICKED_NOSTEAMLOGIN = 160, - NETWORK_DISCONNECT_KICKED_NOSTEAMTICKET = 161, - NETWORK_DISCONNECT_KICKED_INPUTAUTOMATION = 162, - NETWORK_DISCONNECT_KICKED_VACNETABNORMALBEHAVIOR = 163, - NETWORK_DISCONNECT_KICKED_INSECURECLIENT = 164 -}; -bool ENetworkDisconnectionReason_IsValid(int value); -constexpr ENetworkDisconnectionReason ENetworkDisconnectionReason_MIN = NETWORK_DISCONNECT_INVALID; -constexpr ENetworkDisconnectionReason ENetworkDisconnectionReason_MAX = NETWORK_DISCONNECT_KICKED_INSECURECLIENT; -constexpr int ENetworkDisconnectionReason_ARRAYSIZE = ENetworkDisconnectionReason_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ENetworkDisconnectionReason_descriptor(); -template -inline const std::string& ENetworkDisconnectionReason_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ENetworkDisconnectionReason_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ENetworkDisconnectionReason_descriptor(), enum_t_value); -} -inline bool ENetworkDisconnectionReason_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ENetworkDisconnectionReason* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ENetworkDisconnectionReason_descriptor(), name, value); -} -// =================================================================== - - -// =================================================================== - -static const int kNetworkConnectionTokenFieldNumber = 50500; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, - ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > - network_connection_token; -static const int kNetworkConnectionDetailTokenFieldNumber = 50501; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, - ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > - network_connection_detail_token; -static const int kAllowedFromClientFieldNumber = 50502; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false > - allowed_from_client; - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::ENetworkDisconnectionReason> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ENetworkDisconnectionReason>() { - return ::ENetworkDisconnectionReason_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_network_5fconnection_2eproto diff --git a/protobuf/generated/networkbasetypes.pb.cc b/protobuf/generated/networkbasetypes.pb.cc deleted file mode 100644 index e97ab635c..000000000 --- a/protobuf/generated/networkbasetypes.pb.cc +++ /dev/null @@ -1,10199 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: networkbasetypes.proto - -#include "networkbasetypes.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CMsgVector::CMsgVector( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.x_)*/0 - , /*decltype(_impl_.y_)*/0 - , /*decltype(_impl_.z_)*/0 - , /*decltype(_impl_.w_)*/0} {} -struct CMsgVectorDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgVectorDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgVectorDefaultTypeInternal() {} - union { - CMsgVector _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgVectorDefaultTypeInternal _CMsgVector_default_instance_; -PROTOBUF_CONSTEXPR CMsgVector2D::CMsgVector2D( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.x_)*/0 - , /*decltype(_impl_.y_)*/0} {} -struct CMsgVector2DDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgVector2DDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgVector2DDefaultTypeInternal() {} - union { - CMsgVector2D _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgVector2DDefaultTypeInternal _CMsgVector2D_default_instance_; -PROTOBUF_CONSTEXPR CMsgQAngle::CMsgQAngle( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.x_)*/0 - , /*decltype(_impl_.y_)*/0 - , /*decltype(_impl_.z_)*/0} {} -struct CMsgQAngleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgQAngleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgQAngleDefaultTypeInternal() {} - union { - CMsgQAngle _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgQAngleDefaultTypeInternal _CMsgQAngle_default_instance_; -PROTOBUF_CONSTEXPR CMsgQuaternion::CMsgQuaternion( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.x_)*/0 - , /*decltype(_impl_.y_)*/0 - , /*decltype(_impl_.z_)*/0 - , /*decltype(_impl_.w_)*/0} {} -struct CMsgQuaternionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgQuaternionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgQuaternionDefaultTypeInternal() {} - union { - CMsgQuaternion _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgQuaternionDefaultTypeInternal _CMsgQuaternion_default_instance_; -PROTOBUF_CONSTEXPR CMsgTransform::CMsgTransform( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.position_)*/nullptr - , /*decltype(_impl_.orientation_)*/nullptr - , /*decltype(_impl_.scale_)*/0} {} -struct CMsgTransformDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTransformDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTransformDefaultTypeInternal() {} - union { - CMsgTransform _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTransformDefaultTypeInternal _CMsgTransform_default_instance_; -PROTOBUF_CONSTEXPR CMsgRGBA::CMsgRGBA( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.r_)*/0 - , /*decltype(_impl_.g_)*/0 - , /*decltype(_impl_.b_)*/0 - , /*decltype(_impl_.a_)*/0} {} -struct CMsgRGBADefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgRGBADefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgRGBADefaultTypeInternal() {} - union { - CMsgRGBA _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgRGBADefaultTypeInternal _CMsgRGBA_default_instance_; -PROTOBUF_CONSTEXPR CMsgPlayerInfo::CMsgPlayerInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.xuid_)*/uint64_t{0u} - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.userid_)*/0 - , /*decltype(_impl_.fakeplayer_)*/false - , /*decltype(_impl_.ishltv_)*/false} {} -struct CMsgPlayerInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgPlayerInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgPlayerInfoDefaultTypeInternal() {} - union { - CMsgPlayerInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgPlayerInfoDefaultTypeInternal _CMsgPlayerInfo_default_instance_; -PROTOBUF_CONSTEXPR CEntityMsg::CEntityMsg( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.target_entity_)*/16777215u} {} -struct CEntityMsgDefaultTypeInternal { - PROTOBUF_CONSTEXPR CEntityMsgDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CEntityMsgDefaultTypeInternal() {} - union { - CEntityMsg _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEntityMsgDefaultTypeInternal _CEntityMsg_default_instance_; -PROTOBUF_CONSTEXPR CMsg_CVars_CVar::CMsg_CVars_CVar( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CMsg_CVars_CVarDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsg_CVars_CVarDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsg_CVars_CVarDefaultTypeInternal() {} - union { - CMsg_CVars_CVar _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsg_CVars_CVarDefaultTypeInternal _CMsg_CVars_CVar_default_instance_; -PROTOBUF_CONSTEXPR CMsg_CVars::CMsg_CVars( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.cvars_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CMsg_CVarsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsg_CVarsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsg_CVarsDefaultTypeInternal() {} - union { - CMsg_CVars _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsg_CVarsDefaultTypeInternal _CMsg_CVars_default_instance_; -PROTOBUF_CONSTEXPR CNETMsg_NOP::CNETMsg_NOP( - ::_pbi::ConstantInitialized) {} -struct CNETMsg_NOPDefaultTypeInternal { - PROTOBUF_CONSTEXPR CNETMsg_NOPDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CNETMsg_NOPDefaultTypeInternal() {} - union { - CNETMsg_NOP _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_NOPDefaultTypeInternal _CNETMsg_NOP_default_instance_; -PROTOBUF_CONSTEXPR CNETMsg_SplitScreenUser::CNETMsg_SplitScreenUser( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.slot_)*/0} {} -struct CNETMsg_SplitScreenUserDefaultTypeInternal { - PROTOBUF_CONSTEXPR CNETMsg_SplitScreenUserDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CNETMsg_SplitScreenUserDefaultTypeInternal() {} - union { - CNETMsg_SplitScreenUser _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_SplitScreenUserDefaultTypeInternal _CNETMsg_SplitScreenUser_default_instance_; -PROTOBUF_CONSTEXPR CNETMsg_Tick::CNETMsg_Tick( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.expected_long_tick_reason_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.tick_)*/0u - , /*decltype(_impl_.host_computationtime_)*/0u - , /*decltype(_impl_.host_computationtime_std_deviation_)*/0u - , /*decltype(_impl_.legacy_host_loss_)*/0u - , /*decltype(_impl_.host_unfiltered_frametime_)*/0u - , /*decltype(_impl_.hltv_replay_flags_)*/0u - , /*decltype(_impl_.expected_long_tick_)*/0u - , /*decltype(_impl_.host_frame_dropped_pct_x10_)*/0u - , /*decltype(_impl_.host_frame_irregular_arrival_pct_x10_)*/0u} {} -struct CNETMsg_TickDefaultTypeInternal { - PROTOBUF_CONSTEXPR CNETMsg_TickDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CNETMsg_TickDefaultTypeInternal() {} - union { - CNETMsg_Tick _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_TickDefaultTypeInternal _CNETMsg_Tick_default_instance_; -PROTOBUF_CONSTEXPR CNETMsg_StringCmd::CNETMsg_StringCmd( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.command_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.prediction_sync_)*/0u} {} -struct CNETMsg_StringCmdDefaultTypeInternal { - PROTOBUF_CONSTEXPR CNETMsg_StringCmdDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CNETMsg_StringCmdDefaultTypeInternal() {} - union { - CNETMsg_StringCmd _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_StringCmdDefaultTypeInternal _CNETMsg_StringCmd_default_instance_; -PROTOBUF_CONSTEXPR CNETMsg_SetConVar::CNETMsg_SetConVar( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.convars_)*/nullptr} {} -struct CNETMsg_SetConVarDefaultTypeInternal { - PROTOBUF_CONSTEXPR CNETMsg_SetConVarDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CNETMsg_SetConVarDefaultTypeInternal() {} - union { - CNETMsg_SetConVar _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_SetConVarDefaultTypeInternal _CNETMsg_SetConVar_default_instance_; -PROTOBUF_CONSTEXPR CNETMsg_SignonState::CNETMsg_SignonState( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.players_networkids_)*/{} - , /*decltype(_impl_.map_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.addons_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.signon_state_)*/0 - , /*decltype(_impl_.spawn_count_)*/0u - , /*decltype(_impl_.num_server_players_)*/0u} {} -struct CNETMsg_SignonStateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CNETMsg_SignonStateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CNETMsg_SignonStateDefaultTypeInternal() {} - union { - CNETMsg_SignonState _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_SignonStateDefaultTypeInternal _CNETMsg_SignonState_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_GameEvent_key_t::CSVCMsg_GameEvent_key_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.val_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.type_)*/0 - , /*decltype(_impl_.val_float_)*/0 - , /*decltype(_impl_.val_long_)*/0 - , /*decltype(_impl_.val_short_)*/0 - , /*decltype(_impl_.val_byte_)*/0 - , /*decltype(_impl_.val_bool_)*/false - , /*decltype(_impl_.val_uint64_)*/uint64_t{0u}} {} -struct CSVCMsg_GameEvent_key_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_GameEvent_key_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_GameEvent_key_tDefaultTypeInternal() {} - union { - CSVCMsg_GameEvent_key_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_GameEvent_key_tDefaultTypeInternal _CSVCMsg_GameEvent_key_t_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_GameEvent::CSVCMsg_GameEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.keys_)*/{} - , /*decltype(_impl_.event_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.eventid_)*/0} {} -struct CSVCMsg_GameEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_GameEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_GameEventDefaultTypeInternal() {} - union { - CSVCMsg_GameEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_GameEventDefaultTypeInternal _CSVCMsg_GameEvent_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsgList_GameEvents_event_t::CSVCMsgList_GameEvents_event_t( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.event_)*/nullptr - , /*decltype(_impl_.tick_)*/0} {} -struct CSVCMsgList_GameEvents_event_tDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsgList_GameEvents_event_tDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsgList_GameEvents_event_tDefaultTypeInternal() {} - union { - CSVCMsgList_GameEvents_event_t _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsgList_GameEvents_event_tDefaultTypeInternal _CSVCMsgList_GameEvents_event_t_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsgList_GameEvents::CSVCMsgList_GameEvents( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.events_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CSVCMsgList_GameEventsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsgList_GameEventsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsgList_GameEventsDefaultTypeInternal() {} - union { - CSVCMsgList_GameEvents _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsgList_GameEventsDefaultTypeInternal _CSVCMsgList_GameEvents_default_instance_; -PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_Load::CNETMsg_SpawnGroup_Load( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.worldname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.entitylumpname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.entityfiltername_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.spawngroupmanifest_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.localnamefixup_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.parentnamefixup_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.savegamefilename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.worldgroupname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.world_offset_pos_)*/nullptr - , /*decltype(_impl_.world_offset_angle_)*/nullptr - , /*decltype(_impl_.spawngrouphandle_)*/0u - , /*decltype(_impl_.spawngroupownerhandle_)*/0u - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.tickcount_)*/0 - , /*decltype(_impl_.manifestloadpriority_)*/0 - , /*decltype(_impl_.worldgroupid_)*/0u - , /*decltype(_impl_.manifestincomplete_)*/false - , /*decltype(_impl_.leveltransition_)*/false - , /*decltype(_impl_.creationsequence_)*/0u - , /*decltype(_impl_.spawngroupparenthandle_)*/0u} {} -struct CNETMsg_SpawnGroup_LoadDefaultTypeInternal { - PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_LoadDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CNETMsg_SpawnGroup_LoadDefaultTypeInternal() {} - union { - CNETMsg_SpawnGroup_Load _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_SpawnGroup_LoadDefaultTypeInternal _CNETMsg_SpawnGroup_Load_default_instance_; -PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_ManifestUpdate::CNETMsg_SpawnGroup_ManifestUpdate( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.spawngroupmanifest_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.spawngrouphandle_)*/0u - , /*decltype(_impl_.manifestincomplete_)*/false} {} -struct CNETMsg_SpawnGroup_ManifestUpdateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_ManifestUpdateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CNETMsg_SpawnGroup_ManifestUpdateDefaultTypeInternal() {} - union { - CNETMsg_SpawnGroup_ManifestUpdate _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_SpawnGroup_ManifestUpdateDefaultTypeInternal _CNETMsg_SpawnGroup_ManifestUpdate_default_instance_; -PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_SetCreationTick::CNETMsg_SpawnGroup_SetCreationTick( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.spawngrouphandle_)*/0u - , /*decltype(_impl_.tickcount_)*/0 - , /*decltype(_impl_.creationsequence_)*/0u} {} -struct CNETMsg_SpawnGroup_SetCreationTickDefaultTypeInternal { - PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_SetCreationTickDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CNETMsg_SpawnGroup_SetCreationTickDefaultTypeInternal() {} - union { - CNETMsg_SpawnGroup_SetCreationTick _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_SpawnGroup_SetCreationTickDefaultTypeInternal _CNETMsg_SpawnGroup_SetCreationTick_default_instance_; -PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_Unload::CNETMsg_SpawnGroup_Unload( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.spawngrouphandle_)*/0u - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.tickcount_)*/0} {} -struct CNETMsg_SpawnGroup_UnloadDefaultTypeInternal { - PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_UnloadDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CNETMsg_SpawnGroup_UnloadDefaultTypeInternal() {} - union { - CNETMsg_SpawnGroup_Unload _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_SpawnGroup_UnloadDefaultTypeInternal _CNETMsg_SpawnGroup_Unload_default_instance_; -PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_LoadCompleted::CNETMsg_SpawnGroup_LoadCompleted( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.spawngrouphandle_)*/0u} {} -struct CNETMsg_SpawnGroup_LoadCompletedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_LoadCompletedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CNETMsg_SpawnGroup_LoadCompletedDefaultTypeInternal() {} - union { - CNETMsg_SpawnGroup_LoadCompleted _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_SpawnGroup_LoadCompletedDefaultTypeInternal _CNETMsg_SpawnGroup_LoadCompleted_default_instance_; -PROTOBUF_CONSTEXPR CSVCMsg_GameSessionConfiguration::CSVCMsg_GameSessionConfiguration( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.hostname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.savegamename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.s1_mapname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.gamemode_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.server_ip_address_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.previouslevel_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.landmarkname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.is_multiplayer_)*/false - , /*decltype(_impl_.is_loadsavegame_)*/false - , /*decltype(_impl_.is_background_map_)*/false - , /*decltype(_impl_.is_headless_)*/false - , /*decltype(_impl_.min_client_limit_)*/0u - , /*decltype(_impl_.max_client_limit_)*/0u - , /*decltype(_impl_.max_clients_)*/0u - , /*decltype(_impl_.tick_interval_)*/0u - , /*decltype(_impl_.is_localonly_)*/false - , /*decltype(_impl_.no_steam_server_)*/false - , /*decltype(_impl_.is_transition_)*/false} {} -struct CSVCMsg_GameSessionConfigurationDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSVCMsg_GameSessionConfigurationDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSVCMsg_GameSessionConfigurationDefaultTypeInternal() {} - union { - CSVCMsg_GameSessionConfiguration _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSVCMsg_GameSessionConfigurationDefaultTypeInternal _CSVCMsg_GameSessionConfiguration_default_instance_; -PROTOBUF_CONSTEXPR CNETMsg_DebugOverlay::CNETMsg_DebugOverlay( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.vectors_)*/{} - , /*decltype(_impl_.colors_)*/{} - , /*decltype(_impl_.dimensions_)*/{} - , /*decltype(_impl_.times_)*/{} - , /*decltype(_impl_.bools_)*/{} - , /*decltype(_impl_.uint64s_)*/{} - , /*decltype(_impl_.strings_)*/{} - , /*decltype(_impl_.etype_)*/0} {} -struct CNETMsg_DebugOverlayDefaultTypeInternal { - PROTOBUF_CONSTEXPR CNETMsg_DebugOverlayDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CNETMsg_DebugOverlayDefaultTypeInternal() {} - union { - CNETMsg_DebugOverlay _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CNETMsg_DebugOverlayDefaultTypeInternal _CNETMsg_DebugOverlay_default_instance_; -static ::_pb::Metadata file_level_metadata_networkbasetypes_2eproto[27]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_networkbasetypes_2eproto[3]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_networkbasetypes_2eproto = nullptr; - -const uint32_t TableStruct_networkbasetypes_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CMsgVector, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgVector, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgVector, _impl_.x_), - PROTOBUF_FIELD_OFFSET(::CMsgVector, _impl_.y_), - PROTOBUF_FIELD_OFFSET(::CMsgVector, _impl_.z_), - PROTOBUF_FIELD_OFFSET(::CMsgVector, _impl_.w_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgVector2D, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgVector2D, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgVector2D, _impl_.x_), - PROTOBUF_FIELD_OFFSET(::CMsgVector2D, _impl_.y_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgQAngle, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgQAngle, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgQAngle, _impl_.x_), - PROTOBUF_FIELD_OFFSET(::CMsgQAngle, _impl_.y_), - PROTOBUF_FIELD_OFFSET(::CMsgQAngle, _impl_.z_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgQuaternion, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgQuaternion, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgQuaternion, _impl_.x_), - PROTOBUF_FIELD_OFFSET(::CMsgQuaternion, _impl_.y_), - PROTOBUF_FIELD_OFFSET(::CMsgQuaternion, _impl_.z_), - PROTOBUF_FIELD_OFFSET(::CMsgQuaternion, _impl_.w_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgTransform, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTransform, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTransform, _impl_.position_), - PROTOBUF_FIELD_OFFSET(::CMsgTransform, _impl_.scale_), - PROTOBUF_FIELD_OFFSET(::CMsgTransform, _impl_.orientation_), - 0, - 2, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgRGBA, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgRGBA, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgRGBA, _impl_.r_), - PROTOBUF_FIELD_OFFSET(::CMsgRGBA, _impl_.g_), - PROTOBUF_FIELD_OFFSET(::CMsgRGBA, _impl_.b_), - PROTOBUF_FIELD_OFFSET(::CMsgRGBA, _impl_.a_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgPlayerInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgPlayerInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgPlayerInfo, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CMsgPlayerInfo, _impl_.xuid_), - PROTOBUF_FIELD_OFFSET(::CMsgPlayerInfo, _impl_.userid_), - PROTOBUF_FIELD_OFFSET(::CMsgPlayerInfo, _impl_.steamid_), - PROTOBUF_FIELD_OFFSET(::CMsgPlayerInfo, _impl_.fakeplayer_), - PROTOBUF_FIELD_OFFSET(::CMsgPlayerInfo, _impl_.ishltv_), - 0, - 1, - 3, - 2, - 4, - 5, - PROTOBUF_FIELD_OFFSET(::CEntityMsg, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CEntityMsg, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CEntityMsg, _impl_.target_entity_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsg_CVars_CVar, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsg_CVars_CVar, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsg_CVars_CVar, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CMsg_CVars_CVar, _impl_.value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CMsg_CVars, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsg_CVars, _impl_.cvars_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CNETMsg_NOP, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CNETMsg_SplitScreenUser, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SplitScreenUser, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CNETMsg_SplitScreenUser, _impl_.slot_), - 0, - PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.tick_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.host_computationtime_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.host_computationtime_std_deviation_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.legacy_host_loss_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.host_unfiltered_frametime_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.hltv_replay_flags_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.expected_long_tick_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.expected_long_tick_reason_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.host_frame_dropped_pct_x10_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_Tick, _impl_.host_frame_irregular_arrival_pct_x10_), - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 0, - 8, - 9, - PROTOBUF_FIELD_OFFSET(::CNETMsg_StringCmd, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_StringCmd, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CNETMsg_StringCmd, _impl_.command_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_StringCmd, _impl_.prediction_sync_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CNETMsg_SetConVar, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SetConVar, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CNETMsg_SetConVar, _impl_.convars_), - 0, - PROTOBUF_FIELD_OFFSET(::CNETMsg_SignonState, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SignonState, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CNETMsg_SignonState, _impl_.signon_state_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SignonState, _impl_.spawn_count_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SignonState, _impl_.num_server_players_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SignonState, _impl_.players_networkids_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SignonState, _impl_.map_name_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SignonState, _impl_.addons_), - 2, - 3, - 4, - ~0u, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _impl_.val_string_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _impl_.val_float_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _impl_.val_long_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _impl_.val_short_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _impl_.val_byte_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _impl_.val_bool_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent_key_t, _impl_.val_uint64_), - 1, - 0, - 2, - 3, - 4, - 5, - 6, - 7, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent, _impl_.event_name_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent, _impl_.eventid_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameEvent, _impl_.keys_), - 0, - 1, - ~0u, - PROTOBUF_FIELD_OFFSET(::CSVCMsgList_GameEvents_event_t, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsgList_GameEvents_event_t, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsgList_GameEvents_event_t, _impl_.tick_), - PROTOBUF_FIELD_OFFSET(::CSVCMsgList_GameEvents_event_t, _impl_.event_), - 1, - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CSVCMsgList_GameEvents, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsgList_GameEvents, _impl_.events_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.worldname_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.entitylumpname_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.entityfiltername_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.spawngrouphandle_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.spawngroupownerhandle_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.world_offset_pos_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.world_offset_angle_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.spawngroupmanifest_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.tickcount_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.manifestincomplete_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.localnamefixup_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.parentnamefixup_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.manifestloadpriority_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.worldgroupid_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.creationsequence_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.savegamefilename_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.spawngroupparenthandle_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.leveltransition_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Load, _impl_.worldgroupname_), - 0, - 1, - 2, - 10, - 11, - 8, - 9, - 3, - 12, - 13, - 16, - 4, - 5, - 14, - 15, - 18, - 6, - 19, - 17, - 7, - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_ManifestUpdate, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_ManifestUpdate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_ManifestUpdate, _impl_.spawngrouphandle_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_ManifestUpdate, _impl_.spawngroupmanifest_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_ManifestUpdate, _impl_.manifestincomplete_), - 1, - 0, - 2, - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_SetCreationTick, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_SetCreationTick, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_SetCreationTick, _impl_.spawngrouphandle_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_SetCreationTick, _impl_.tickcount_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_SetCreationTick, _impl_.creationsequence_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Unload, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Unload, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Unload, _impl_.spawngrouphandle_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Unload, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_Unload, _impl_.tickcount_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_LoadCompleted, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_LoadCompleted, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CNETMsg_SpawnGroup_LoadCompleted, _impl_.spawngrouphandle_), - 0, - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.is_multiplayer_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.is_loadsavegame_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.is_background_map_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.is_headless_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.min_client_limit_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.max_client_limit_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.max_clients_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.tick_interval_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.hostname_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.savegamename_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.s1_mapname_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.gamemode_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.server_ip_address_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.data_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.is_localonly_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.no_steam_server_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.is_transition_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.previouslevel_), - PROTOBUF_FIELD_OFFSET(::CSVCMsg_GameSessionConfiguration, _impl_.landmarkname_), - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 0, - 1, - 2, - 3, - 4, - 5, - 16, - 17, - 18, - 6, - 7, - PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _impl_.etype_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _impl_.vectors_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _impl_.colors_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _impl_.dimensions_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _impl_.times_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _impl_.bools_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _impl_.uint64s_), - PROTOBUF_FIELD_OFFSET(::CNETMsg_DebugOverlay, _impl_.strings_), - 0, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 10, -1, sizeof(::CMsgVector)}, - { 14, 22, -1, sizeof(::CMsgVector2D)}, - { 24, 33, -1, sizeof(::CMsgQAngle)}, - { 36, 46, -1, sizeof(::CMsgQuaternion)}, - { 50, 59, -1, sizeof(::CMsgTransform)}, - { 62, 72, -1, sizeof(::CMsgRGBA)}, - { 76, 88, -1, sizeof(::CMsgPlayerInfo)}, - { 94, 101, -1, sizeof(::CEntityMsg)}, - { 102, 110, -1, sizeof(::CMsg_CVars_CVar)}, - { 112, -1, -1, sizeof(::CMsg_CVars)}, - { 119, -1, -1, sizeof(::CNETMsg_NOP)}, - { 125, 132, -1, sizeof(::CNETMsg_SplitScreenUser)}, - { 133, 149, -1, sizeof(::CNETMsg_Tick)}, - { 159, 167, -1, sizeof(::CNETMsg_StringCmd)}, - { 169, 176, -1, sizeof(::CNETMsg_SetConVar)}, - { 177, 189, -1, sizeof(::CNETMsg_SignonState)}, - { 195, 209, -1, sizeof(::CSVCMsg_GameEvent_key_t)}, - { 217, 226, -1, sizeof(::CSVCMsg_GameEvent)}, - { 229, 237, -1, sizeof(::CSVCMsgList_GameEvents_event_t)}, - { 239, -1, -1, sizeof(::CSVCMsgList_GameEvents)}, - { 246, 272, -1, sizeof(::CNETMsg_SpawnGroup_Load)}, - { 292, 301, -1, sizeof(::CNETMsg_SpawnGroup_ManifestUpdate)}, - { 304, 313, -1, sizeof(::CNETMsg_SpawnGroup_SetCreationTick)}, - { 316, 325, -1, sizeof(::CNETMsg_SpawnGroup_Unload)}, - { 328, 335, -1, sizeof(::CNETMsg_SpawnGroup_LoadCompleted)}, - { 336, 361, -1, sizeof(::CSVCMsg_GameSessionConfiguration)}, - { 380, 394, -1, sizeof(::CNETMsg_DebugOverlay)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CMsgVector_default_instance_._instance, - &::_CMsgVector2D_default_instance_._instance, - &::_CMsgQAngle_default_instance_._instance, - &::_CMsgQuaternion_default_instance_._instance, - &::_CMsgTransform_default_instance_._instance, - &::_CMsgRGBA_default_instance_._instance, - &::_CMsgPlayerInfo_default_instance_._instance, - &::_CEntityMsg_default_instance_._instance, - &::_CMsg_CVars_CVar_default_instance_._instance, - &::_CMsg_CVars_default_instance_._instance, - &::_CNETMsg_NOP_default_instance_._instance, - &::_CNETMsg_SplitScreenUser_default_instance_._instance, - &::_CNETMsg_Tick_default_instance_._instance, - &::_CNETMsg_StringCmd_default_instance_._instance, - &::_CNETMsg_SetConVar_default_instance_._instance, - &::_CNETMsg_SignonState_default_instance_._instance, - &::_CSVCMsg_GameEvent_key_t_default_instance_._instance, - &::_CSVCMsg_GameEvent_default_instance_._instance, - &::_CSVCMsgList_GameEvents_event_t_default_instance_._instance, - &::_CSVCMsgList_GameEvents_default_instance_._instance, - &::_CNETMsg_SpawnGroup_Load_default_instance_._instance, - &::_CNETMsg_SpawnGroup_ManifestUpdate_default_instance_._instance, - &::_CNETMsg_SpawnGroup_SetCreationTick_default_instance_._instance, - &::_CNETMsg_SpawnGroup_Unload_default_instance_._instance, - &::_CNETMsg_SpawnGroup_LoadCompleted_default_instance_._instance, - &::_CSVCMsg_GameSessionConfiguration_default_instance_._instance, - &::_CNETMsg_DebugOverlay_default_instance_._instance, -}; - -const char descriptor_table_protodef_networkbasetypes_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\026networkbasetypes.proto\032\030network_connec" - "tion.proto\"8\n\nCMsgVector\022\t\n\001x\030\001 \001(\002\022\t\n\001y" - "\030\002 \001(\002\022\t\n\001z\030\003 \001(\002\022\t\n\001w\030\004 \001(\002\"$\n\014CMsgVect" - "or2D\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"-\n\nCMsgQAngle" - "\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002\"<\n\016CMs" - "gQuaternion\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003" - " \001(\002\022\t\n\001w\030\004 \001(\002\"c\n\rCMsgTransform\022\035\n\010posi" - "tion\030\001 \001(\0132\013.CMsgVector\022\r\n\005scale\030\002 \001(\002\022$" - "\n\013orientation\030\003 \001(\0132\017.CMsgQuaternion\"6\n\010" - "CMsgRGBA\022\t\n\001r\030\001 \001(\005\022\t\n\001g\030\002 \001(\005\022\t\n\001b\030\003 \001(" - "\005\022\t\n\001a\030\004 \001(\005\"q\n\016CMsgPlayerInfo\022\014\n\004name\030\001" - " \001(\t\022\014\n\004xuid\030\002 \001(\006\022\016\n\006userid\030\003 \001(\005\022\017\n\007st" - "eamid\030\004 \001(\006\022\022\n\nfakeplayer\030\005 \001(\010\022\016\n\006ishlt" - "v\030\006 \001(\010\"-\n\nCEntityMsg\022\037\n\rtarget_entity\030\001" - " \001(\r:\01016777215\"R\n\nCMsg_CVars\022\037\n\005cvars\030\001 " - "\003(\0132\020.CMsg_CVars.CVar\032#\n\004CVar\022\014\n\004name\030\001 " - "\001(\t\022\r\n\005value\030\002 \001(\t\"\r\n\013CNETMsg_NOP\"\'\n\027CNE" - "TMsg_SplitScreenUser\022\014\n\004slot\030\001 \001(\005\"\317\002\n\014C" - "NETMsg_Tick\022\014\n\004tick\030\001 \001(\r\022\034\n\024host_comput" - "ationtime\030\004 \001(\r\022*\n\"host_computationtime_" - "std_deviation\030\005 \001(\r\022\030\n\020legacy_host_loss\030" - "\007 \001(\r\022!\n\031host_unfiltered_frametime\030\010 \001(\r" - "\022\031\n\021hltv_replay_flags\030\t \001(\r\022\032\n\022expected_" - "long_tick\030\n \001(\r\022!\n\031expected_long_tick_re" - "ason\030\013 \001(\t\022\"\n\032host_frame_dropped_pct_x10" - "\030\014 \001(\r\022,\n$host_frame_irregular_arrival_p" - "ct_x10\030\r \001(\r\"=\n\021CNETMsg_StringCmd\022\017\n\007com" - "mand\030\001 \001(\t\022\027\n\017prediction_sync\030\002 \001(\r\"1\n\021C" - "NETMsg_SetConVar\022\034\n\007convars\030\001 \001(\0132\013.CMsg" - "_CVars\"\274\001\n\023CNETMsg_SignonState\0226\n\014signon" - "_state\030\001 \001(\0162\016.SignonState_t:\020SIGNONSTAT" - "E_NONE\022\023\n\013spawn_count\030\002 \001(\r\022\032\n\022num_serve" - "r_players\030\003 \001(\r\022\032\n\022players_networkids\030\004 " - "\003(\t\022\020\n\010map_name\030\005 \001(\t\022\016\n\006addons\030\006 \001(\t\"\374\001" - "\n\021CSVCMsg_GameEvent\022\022\n\nevent_name\030\001 \001(\t\022" - "\017\n\007eventid\030\002 \001(\005\022&\n\004keys\030\003 \003(\0132\030.CSVCMsg" - "_GameEvent.key_t\032\231\001\n\005key_t\022\014\n\004type\030\001 \001(\005" - "\022\022\n\nval_string\030\002 \001(\t\022\021\n\tval_float\030\003 \001(\002\022" - "\020\n\010val_long\030\004 \001(\005\022\021\n\tval_short\030\005 \001(\005\022\020\n\010" - "val_byte\030\006 \001(\005\022\020\n\010val_bool\030\007 \001(\010\022\022\n\nval_" - "uint64\030\010 \001(\004\"\205\001\n\026CSVCMsgList_GameEvents\022" - "/\n\006events\030\001 \003(\0132\037.CSVCMsgList_GameEvents" - ".event_t\032:\n\007event_t\022\014\n\004tick\030\001 \001(\005\022!\n\005eve" - "nt\030\002 \001(\0132\022.CSVCMsg_GameEvent\"\253\004\n\027CNETMsg" - "_SpawnGroup_Load\022\021\n\tworldname\030\001 \001(\t\022\026\n\016e" - "ntitylumpname\030\002 \001(\t\022\030\n\020entityfiltername\030" - "\003 \001(\t\022\030\n\020spawngrouphandle\030\004 \001(\r\022\035\n\025spawn" - "groupownerhandle\030\005 \001(\r\022%\n\020world_offset_p" - "os\030\006 \001(\0132\013.CMsgVector\022\'\n\022world_offset_an" - "gle\030\007 \001(\0132\013.CMsgQAngle\022\032\n\022spawngroupmani" - "fest\030\010 \001(\014\022\r\n\005flags\030\t \001(\r\022\021\n\ttickcount\030\n" - " \001(\005\022\032\n\022manifestincomplete\030\013 \001(\010\022\026\n\016loca" - "lnamefixup\030\014 \001(\t\022\027\n\017parentnamefixup\030\r \001(" - "\t\022\034\n\024manifestloadpriority\030\016 \001(\005\022\024\n\014world" - "groupid\030\017 \001(\r\022\030\n\020creationsequence\030\020 \001(\r\022" - "\030\n\020savegamefilename\030\021 \001(\t\022\036\n\026spawngroupp" - "arenthandle\030\022 \001(\r\022\027\n\017leveltransition\030\023 \001" - "(\010\022\026\n\016worldgroupname\030\024 \001(\t\"u\n!CNETMsg_Sp" - "awnGroup_ManifestUpdate\022\030\n\020spawngrouphan" - "dle\030\001 \001(\r\022\032\n\022spawngroupmanifest\030\002 \001(\014\022\032\n" - "\022manifestincomplete\030\003 \001(\010\"k\n\"CNETMsg_Spa" - "wnGroup_SetCreationTick\022\030\n\020spawngrouphan" - "dle\030\001 \001(\r\022\021\n\ttickcount\030\002 \001(\005\022\030\n\020creation" - "sequence\030\003 \001(\r\"W\n\031CNETMsg_SpawnGroup_Unl" - "oad\022\030\n\020spawngrouphandle\030\001 \001(\r\022\r\n\005flags\030\002" - " \001(\r\022\021\n\ttickcount\030\003 \001(\005\"<\n CNETMsg_Spawn" - "Group_LoadCompleted\022\030\n\020spawngrouphandle\030" - "\001 \001(\r\"\315\003\n CSVCMsg_GameSessionConfigurati" - "on\022\026\n\016is_multiplayer\030\001 \001(\010\022\027\n\017is_loadsav" - "egame\030\002 \001(\010\022\031\n\021is_background_map\030\003 \001(\010\022\023" - "\n\013is_headless\030\004 \001(\010\022\030\n\020min_client_limit\030" - "\005 \001(\r\022\030\n\020max_client_limit\030\006 \001(\r\022\023\n\013max_c" - "lients\030\007 \001(\r\022\025\n\rtick_interval\030\010 \001(\007\022\020\n\010h" - "ostname\030\t \001(\t\022\024\n\014savegamename\030\n \001(\t\022\022\n\ns" - "1_mapname\030\013 \001(\t\022\020\n\010gamemode\030\014 \001(\t\022\031\n\021ser" - "ver_ip_address\030\r \001(\t\022\014\n\004data\030\016 \001(\014\022\024\n\014is" - "_localonly\030\017 \001(\010\022\027\n\017no_steam_server\030\023 \001(" - "\010\022\025\n\ris_transition\030\020 \001(\010\022\025\n\rpreviousleve" - "l\030\021 \001(\t\022\024\n\014landmarkname\030\022 \001(\t\"\262\001\n\024CNETMs" - "g_DebugOverlay\022\r\n\005etype\030\001 \001(\005\022\034\n\007vectors" - "\030\002 \003(\0132\013.CMsgVector\022\031\n\006colors\030\003 \003(\0132\t.CM" - "sgRGBA\022\022\n\ndimensions\030\004 \003(\002\022\r\n\005times\030\005 \003(" - "\002\022\r\n\005bools\030\006 \003(\010\022\017\n\007uint64s\030\007 \003(\004\022\017\n\007str" - "ings\030\010 \003(\t*\324\001\n\rSignonState_t\022\024\n\020SIGNONST" - "ATE_NONE\020\000\022\031\n\025SIGNONSTATE_CHALLENGE\020\001\022\031\n" - "\025SIGNONSTATE_CONNECTED\020\002\022\023\n\017SIGNONSTATE_" - "NEW\020\003\022\030\n\024SIGNONSTATE_PRESPAWN\020\004\022\025\n\021SIGNO" - "NSTATE_SPAWN\020\005\022\024\n\020SIGNONSTATE_FULL\020\006\022\033\n\027" - "SIGNONSTATE_CHANGELEVEL\020\007*\313\002\n\014NET_Messag" - "es\022\013\n\007net_NOP\020\000\022\031\n\025net_Disconnect_Legacy" - "\020\001\022\027\n\023net_SplitScreenUser\020\003\022\014\n\010net_Tick\020" - "\004\022\021\n\rnet_StringCmd\020\005\022\021\n\rnet_SetConVar\020\006\022" - "\023\n\017net_SignonState\020\007\022\027\n\023net_SpawnGroup_L" - "oad\020\010\022!\n\035net_SpawnGroup_ManifestUpdate\020\t" - "\022\"\n\036net_SpawnGroup_SetCreationTick\020\013\022\031\n\025" - "net_SpawnGroup_Unload\020\014\022 \n\034net_SpawnGrou" - "p_LoadCompleted\020\r\022\024\n\020net_DebugOverlay\020\017*" - "\314\002\n\021SpawnGroupFlags_t\022\'\n#SPAWN_GROUP_LOA" - "D_ENTITIES_FROM_SAVE\020\001\022#\n\037SPAWN_GROUP_DO" - "NT_SPAWN_ENTITIES\020\002\022!\n\035SPAWN_GROUP_SYNCH" - "RONOUS_SPAWN\020\004\022&\n\"SPAWN_GROUP_IS_INITIAL" - "_SPAWN_GROUP\020\010\022+\n\'SPAWN_GROUP_CREATE_CLI" - "ENT_ONLY_ENTITIES\020\020\022\"\n\036SPAWN_GROUP_BLOCK" - "_UNTIL_LOADED\020@\022$\n\037SPAWN_GROUP_LOAD_STRE" - "AMING_DATA\020\200\001\022\'\n\"SPAWN_GROUP_CREATE_NEW_" - "SCENE_WORLD\020\200\002" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_networkbasetypes_2eproto_deps[1] = { - &::descriptor_table_network_5fconnection_2eproto, -}; -static ::_pbi::once_flag descriptor_table_networkbasetypes_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_networkbasetypes_2eproto = { - false, false, 4214, descriptor_table_protodef_networkbasetypes_2eproto, - "networkbasetypes.proto", - &descriptor_table_networkbasetypes_2eproto_once, descriptor_table_networkbasetypes_2eproto_deps, 1, 27, - schemas, file_default_instances, TableStruct_networkbasetypes_2eproto::offsets, - file_level_metadata_networkbasetypes_2eproto, file_level_enum_descriptors_networkbasetypes_2eproto, - file_level_service_descriptors_networkbasetypes_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_networkbasetypes_2eproto_getter() { - return &descriptor_table_networkbasetypes_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_networkbasetypes_2eproto(&descriptor_table_networkbasetypes_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SignonState_t_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_networkbasetypes_2eproto); - return file_level_enum_descriptors_networkbasetypes_2eproto[0]; -} -bool SignonState_t_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* NET_Messages_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_networkbasetypes_2eproto); - return file_level_enum_descriptors_networkbasetypes_2eproto[1]; -} -bool NET_Messages_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 11: - case 12: - case 13: - case 15: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SpawnGroupFlags_t_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_networkbasetypes_2eproto); - return file_level_enum_descriptors_networkbasetypes_2eproto[2]; -} -bool SpawnGroupFlags_t_IsValid(int value) { - switch (value) { - case 1: - case 2: - case 4: - case 8: - case 16: - case 64: - case 128: - case 256: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CMsgVector::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_x(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_y(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_z(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_w(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgVector::CMsgVector(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgVector) -} -CMsgVector::CMsgVector(const CMsgVector& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgVector* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.x_){} - , decltype(_impl_.y_){} - , decltype(_impl_.z_){} - , decltype(_impl_.w_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.x_, &from._impl_.x_, - static_cast(reinterpret_cast(&_impl_.w_) - - reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.w_)); - // @@protoc_insertion_point(copy_constructor:CMsgVector) -} - -inline void CMsgVector::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.x_){0} - , decltype(_impl_.y_){0} - , decltype(_impl_.z_){0} - , decltype(_impl_.w_){0} - }; -} - -CMsgVector::~CMsgVector() { - // @@protoc_insertion_point(destructor:CMsgVector) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgVector::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgVector::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgVector::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgVector) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.x_, 0, static_cast( - reinterpret_cast(&_impl_.w_) - - reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.w_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgVector::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float x = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_x(&has_bits); - _impl_.x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float y = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_y(&has_bits); - _impl_.y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float z = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_z(&has_bits); - _impl_.z_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float w = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_w(&has_bits); - _impl_.w_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgVector::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgVector) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float x = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_x(), target); - } - - // optional float y = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_y(), target); - } - - // optional float z = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_z(), target); - } - - // optional float w = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_w(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgVector) - return target; -} - -size_t CMsgVector::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgVector) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional float x = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional float y = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float z = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional float w = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgVector::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgVector::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgVector::GetClassData() const { return &_class_data_; } - - -void CMsgVector::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgVector) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.x_ = from._impl_.x_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.y_ = from._impl_.y_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.z_ = from._impl_.z_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.w_ = from._impl_.w_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgVector::CopyFrom(const CMsgVector& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgVector) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgVector::IsInitialized() const { - return true; -} - -void CMsgVector::InternalSwap(CMsgVector* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgVector, _impl_.w_) - + sizeof(CMsgVector::_impl_.w_) - - PROTOBUF_FIELD_OFFSET(CMsgVector, _impl_.x_)>( - reinterpret_cast(&_impl_.x_), - reinterpret_cast(&other->_impl_.x_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgVector::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[0]); -} - -// =================================================================== - -class CMsgVector2D::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_x(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_y(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgVector2D::CMsgVector2D(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgVector2D) -} -CMsgVector2D::CMsgVector2D(const CMsgVector2D& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgVector2D* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.x_){} - , decltype(_impl_.y_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.x_, &from._impl_.x_, - static_cast(reinterpret_cast(&_impl_.y_) - - reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.y_)); - // @@protoc_insertion_point(copy_constructor:CMsgVector2D) -} - -inline void CMsgVector2D::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.x_){0} - , decltype(_impl_.y_){0} - }; -} - -CMsgVector2D::~CMsgVector2D() { - // @@protoc_insertion_point(destructor:CMsgVector2D) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgVector2D::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgVector2D::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgVector2D::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgVector2D) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.x_, 0, static_cast( - reinterpret_cast(&_impl_.y_) - - reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.y_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgVector2D::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float x = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_x(&has_bits); - _impl_.x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float y = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_y(&has_bits); - _impl_.y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgVector2D::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgVector2D) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float x = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_x(), target); - } - - // optional float y = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_y(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgVector2D) - return target; -} - -size_t CMsgVector2D::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgVector2D) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional float x = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional float y = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgVector2D::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgVector2D::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgVector2D::GetClassData() const { return &_class_data_; } - - -void CMsgVector2D::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgVector2D) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.x_ = from._impl_.x_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.y_ = from._impl_.y_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgVector2D::CopyFrom(const CMsgVector2D& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgVector2D) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgVector2D::IsInitialized() const { - return true; -} - -void CMsgVector2D::InternalSwap(CMsgVector2D* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgVector2D, _impl_.y_) - + sizeof(CMsgVector2D::_impl_.y_) - - PROTOBUF_FIELD_OFFSET(CMsgVector2D, _impl_.x_)>( - reinterpret_cast(&_impl_.x_), - reinterpret_cast(&other->_impl_.x_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgVector2D::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[1]); -} - -// =================================================================== - -class CMsgQAngle::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_x(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_y(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_z(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgQAngle::CMsgQAngle(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgQAngle) -} -CMsgQAngle::CMsgQAngle(const CMsgQAngle& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgQAngle* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.x_){} - , decltype(_impl_.y_){} - , decltype(_impl_.z_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.x_, &from._impl_.x_, - static_cast(reinterpret_cast(&_impl_.z_) - - reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.z_)); - // @@protoc_insertion_point(copy_constructor:CMsgQAngle) -} - -inline void CMsgQAngle::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.x_){0} - , decltype(_impl_.y_){0} - , decltype(_impl_.z_){0} - }; -} - -CMsgQAngle::~CMsgQAngle() { - // @@protoc_insertion_point(destructor:CMsgQAngle) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgQAngle::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgQAngle::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgQAngle::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgQAngle) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.x_, 0, static_cast( - reinterpret_cast(&_impl_.z_) - - reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.z_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgQAngle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float x = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_x(&has_bits); - _impl_.x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float y = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_y(&has_bits); - _impl_.y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float z = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_z(&has_bits); - _impl_.z_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgQAngle::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgQAngle) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float x = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_x(), target); - } - - // optional float y = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_y(), target); - } - - // optional float z = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_z(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgQAngle) - return target; -} - -size_t CMsgQAngle::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgQAngle) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional float x = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional float y = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float z = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgQAngle::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgQAngle::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgQAngle::GetClassData() const { return &_class_data_; } - - -void CMsgQAngle::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgQAngle) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.x_ = from._impl_.x_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.y_ = from._impl_.y_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.z_ = from._impl_.z_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgQAngle::CopyFrom(const CMsgQAngle& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgQAngle) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgQAngle::IsInitialized() const { - return true; -} - -void CMsgQAngle::InternalSwap(CMsgQAngle* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgQAngle, _impl_.z_) - + sizeof(CMsgQAngle::_impl_.z_) - - PROTOBUF_FIELD_OFFSET(CMsgQAngle, _impl_.x_)>( - reinterpret_cast(&_impl_.x_), - reinterpret_cast(&other->_impl_.x_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgQAngle::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[2]); -} - -// =================================================================== - -class CMsgQuaternion::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_x(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_y(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_z(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_w(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgQuaternion::CMsgQuaternion(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgQuaternion) -} -CMsgQuaternion::CMsgQuaternion(const CMsgQuaternion& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgQuaternion* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.x_){} - , decltype(_impl_.y_){} - , decltype(_impl_.z_){} - , decltype(_impl_.w_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.x_, &from._impl_.x_, - static_cast(reinterpret_cast(&_impl_.w_) - - reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.w_)); - // @@protoc_insertion_point(copy_constructor:CMsgQuaternion) -} - -inline void CMsgQuaternion::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.x_){0} - , decltype(_impl_.y_){0} - , decltype(_impl_.z_){0} - , decltype(_impl_.w_){0} - }; -} - -CMsgQuaternion::~CMsgQuaternion() { - // @@protoc_insertion_point(destructor:CMsgQuaternion) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgQuaternion::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgQuaternion::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgQuaternion::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgQuaternion) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.x_, 0, static_cast( - reinterpret_cast(&_impl_.w_) - - reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.w_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgQuaternion::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float x = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_x(&has_bits); - _impl_.x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float y = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_y(&has_bits); - _impl_.y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float z = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_z(&has_bits); - _impl_.z_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float w = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_w(&has_bits); - _impl_.w_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgQuaternion::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgQuaternion) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float x = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_x(), target); - } - - // optional float y = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_y(), target); - } - - // optional float z = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_z(), target); - } - - // optional float w = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_w(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgQuaternion) - return target; -} - -size_t CMsgQuaternion::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgQuaternion) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional float x = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional float y = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float z = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional float w = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgQuaternion::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgQuaternion::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgQuaternion::GetClassData() const { return &_class_data_; } - - -void CMsgQuaternion::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgQuaternion) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.x_ = from._impl_.x_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.y_ = from._impl_.y_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.z_ = from._impl_.z_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.w_ = from._impl_.w_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgQuaternion::CopyFrom(const CMsgQuaternion& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgQuaternion) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgQuaternion::IsInitialized() const { - return true; -} - -void CMsgQuaternion::InternalSwap(CMsgQuaternion* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgQuaternion, _impl_.w_) - + sizeof(CMsgQuaternion::_impl_.w_) - - PROTOBUF_FIELD_OFFSET(CMsgQuaternion, _impl_.x_)>( - reinterpret_cast(&_impl_.x_), - reinterpret_cast(&other->_impl_.x_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgQuaternion::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[3]); -} - -// =================================================================== - -class CMsgTransform::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& position(const CMsgTransform* msg); - static void set_has_position(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_scale(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgQuaternion& orientation(const CMsgTransform* msg); - static void set_has_orientation(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgVector& -CMsgTransform::_Internal::position(const CMsgTransform* msg) { - return *msg->_impl_.position_; -} -const ::CMsgQuaternion& -CMsgTransform::_Internal::orientation(const CMsgTransform* msg) { - return *msg->_impl_.orientation_; -} -CMsgTransform::CMsgTransform(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTransform) -} -CMsgTransform::CMsgTransform(const CMsgTransform& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTransform* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.position_){nullptr} - , decltype(_impl_.orientation_){nullptr} - , decltype(_impl_.scale_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_position()) { - _this->_impl_.position_ = new ::CMsgVector(*from._impl_.position_); - } - if (from._internal_has_orientation()) { - _this->_impl_.orientation_ = new ::CMsgQuaternion(*from._impl_.orientation_); - } - _this->_impl_.scale_ = from._impl_.scale_; - // @@protoc_insertion_point(copy_constructor:CMsgTransform) -} - -inline void CMsgTransform::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.position_){nullptr} - , decltype(_impl_.orientation_){nullptr} - , decltype(_impl_.scale_){0} - }; -} - -CMsgTransform::~CMsgTransform() { - // @@protoc_insertion_point(destructor:CMsgTransform) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTransform::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.position_; - if (this != internal_default_instance()) delete _impl_.orientation_; -} - -void CMsgTransform::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTransform::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTransform) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.position_ != nullptr); - _impl_.position_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.orientation_ != nullptr); - _impl_.orientation_->Clear(); - } - } - _impl_.scale_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTransform::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector position = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_position(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float scale = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_scale(&has_bits); - _impl_.scale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional .CMsgQuaternion orientation = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_orientation(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTransform::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTransform) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector position = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::position(this), - _Internal::position(this).GetCachedSize(), target, stream); - } - - // optional float scale = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_scale(), target); - } - - // optional .CMsgQuaternion orientation = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::orientation(this), - _Internal::orientation(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTransform) - return target; -} - -size_t CMsgTransform::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTransform) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .CMsgVector position = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.position_); - } - - // optional .CMsgQuaternion orientation = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.orientation_); - } - - // optional float scale = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTransform::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTransform::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTransform::GetClassData() const { return &_class_data_; } - - -void CMsgTransform::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTransform) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_position()->::CMsgVector::MergeFrom( - from._internal_position()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_orientation()->::CMsgQuaternion::MergeFrom( - from._internal_orientation()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.scale_ = from._impl_.scale_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTransform::CopyFrom(const CMsgTransform& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTransform) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTransform::IsInitialized() const { - return true; -} - -void CMsgTransform::InternalSwap(CMsgTransform* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTransform, _impl_.scale_) - + sizeof(CMsgTransform::_impl_.scale_) - - PROTOBUF_FIELD_OFFSET(CMsgTransform, _impl_.position_)>( - reinterpret_cast(&_impl_.position_), - reinterpret_cast(&other->_impl_.position_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTransform::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[4]); -} - -// =================================================================== - -class CMsgRGBA::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_r(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_g(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_b(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_a(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgRGBA::CMsgRGBA(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgRGBA) -} -CMsgRGBA::CMsgRGBA(const CMsgRGBA& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgRGBA* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.r_){} - , decltype(_impl_.g_){} - , decltype(_impl_.b_){} - , decltype(_impl_.a_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.r_, &from._impl_.r_, - static_cast(reinterpret_cast(&_impl_.a_) - - reinterpret_cast(&_impl_.r_)) + sizeof(_impl_.a_)); - // @@protoc_insertion_point(copy_constructor:CMsgRGBA) -} - -inline void CMsgRGBA::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.r_){0} - , decltype(_impl_.g_){0} - , decltype(_impl_.b_){0} - , decltype(_impl_.a_){0} - }; -} - -CMsgRGBA::~CMsgRGBA() { - // @@protoc_insertion_point(destructor:CMsgRGBA) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgRGBA::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgRGBA::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgRGBA::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgRGBA) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.r_, 0, static_cast( - reinterpret_cast(&_impl_.a_) - - reinterpret_cast(&_impl_.r_)) + sizeof(_impl_.a_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgRGBA::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 r = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_r(&has_bits); - _impl_.r_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 g = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_g(&has_bits); - _impl_.g_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 b = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_b(&has_bits); - _impl_.b_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 a = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_a(&has_bits); - _impl_.a_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgRGBA::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgRGBA) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 r = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_r(), target); - } - - // optional int32 g = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_g(), target); - } - - // optional int32 b = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_b(), target); - } - - // optional int32 a = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_a(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgRGBA) - return target; -} - -size_t CMsgRGBA::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgRGBA) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional int32 r = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_r()); - } - - // optional int32 g = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_g()); - } - - // optional int32 b = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_b()); - } - - // optional int32 a = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_a()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgRGBA::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgRGBA::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgRGBA::GetClassData() const { return &_class_data_; } - - -void CMsgRGBA::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgRGBA) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.r_ = from._impl_.r_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.g_ = from._impl_.g_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.b_ = from._impl_.b_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.a_ = from._impl_.a_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgRGBA::CopyFrom(const CMsgRGBA& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgRGBA) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgRGBA::IsInitialized() const { - return true; -} - -void CMsgRGBA::InternalSwap(CMsgRGBA* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgRGBA, _impl_.a_) - + sizeof(CMsgRGBA::_impl_.a_) - - PROTOBUF_FIELD_OFFSET(CMsgRGBA, _impl_.r_)>( - reinterpret_cast(&_impl_.r_), - reinterpret_cast(&other->_impl_.r_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgRGBA::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[5]); -} - -// =================================================================== - -class CMsgPlayerInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_xuid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_userid(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_fakeplayer(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_ishltv(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } -}; - -CMsgPlayerInfo::CMsgPlayerInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgPlayerInfo) -} -CMsgPlayerInfo::CMsgPlayerInfo(const CMsgPlayerInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgPlayerInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.xuid_){} - , decltype(_impl_.steamid_){} - , decltype(_impl_.userid_){} - , decltype(_impl_.fakeplayer_){} - , decltype(_impl_.ishltv_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.xuid_, &from._impl_.xuid_, - static_cast(reinterpret_cast(&_impl_.ishltv_) - - reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.ishltv_)); - // @@protoc_insertion_point(copy_constructor:CMsgPlayerInfo) -} - -inline void CMsgPlayerInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.xuid_){uint64_t{0u}} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.userid_){0} - , decltype(_impl_.fakeplayer_){false} - , decltype(_impl_.ishltv_){false} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgPlayerInfo::~CMsgPlayerInfo() { - // @@protoc_insertion_point(destructor:CMsgPlayerInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgPlayerInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); -} - -void CMsgPlayerInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgPlayerInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgPlayerInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000003eu) { - ::memset(&_impl_.xuid_, 0, static_cast( - reinterpret_cast(&_impl_.ishltv_) - - reinterpret_cast(&_impl_.xuid_)) + sizeof(_impl_.ishltv_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgPlayerInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgPlayerInfo.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional fixed64 xuid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_xuid(&has_bits); - _impl_.xuid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional int32 userid = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_userid(&has_bits); - _impl_.userid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 steamid = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional bool fakeplayer = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_fakeplayer(&has_bits); - _impl_.fakeplayer_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool ishltv = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_ishltv(&has_bits); - _impl_.ishltv_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgPlayerInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgPlayerInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgPlayerInfo.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // optional fixed64 xuid = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_xuid(), target); - } - - // optional int32 userid = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_userid(), target); - } - - // optional fixed64 steamid = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_steamid(), target); - } - - // optional bool fakeplayer = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_fakeplayer(), target); - } - - // optional bool ishltv = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_ishltv(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgPlayerInfo) - return target; -} - -size_t CMsgPlayerInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgPlayerInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional fixed64 xuid = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - // optional fixed64 steamid = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 8; - } - - // optional int32 userid = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_userid()); - } - - // optional bool fakeplayer = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 1; - } - - // optional bool ishltv = 6; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgPlayerInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgPlayerInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgPlayerInfo::GetClassData() const { return &_class_data_; } - - -void CMsgPlayerInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgPlayerInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.xuid_ = from._impl_.xuid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.userid_ = from._impl_.userid_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.fakeplayer_ = from._impl_.fakeplayer_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.ishltv_ = from._impl_.ishltv_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgPlayerInfo::CopyFrom(const CMsgPlayerInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgPlayerInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgPlayerInfo::IsInitialized() const { - return true; -} - -void CMsgPlayerInfo::InternalSwap(CMsgPlayerInfo* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgPlayerInfo, _impl_.ishltv_) - + sizeof(CMsgPlayerInfo::_impl_.ishltv_) - - PROTOBUF_FIELD_OFFSET(CMsgPlayerInfo, _impl_.xuid_)>( - reinterpret_cast(&_impl_.xuid_), - reinterpret_cast(&other->_impl_.xuid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgPlayerInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[6]); -} - -// =================================================================== - -class CEntityMsg::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_target_entity(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CEntityMsg::CEntityMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CEntityMsg) -} -CEntityMsg::CEntityMsg(const CEntityMsg& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CEntityMsg* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.target_entity_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.target_entity_ = from._impl_.target_entity_; - // @@protoc_insertion_point(copy_constructor:CEntityMsg) -} - -inline void CEntityMsg::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.target_entity_){16777215u} - }; -} - -CEntityMsg::~CEntityMsg() { - // @@protoc_insertion_point(destructor:CEntityMsg) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CEntityMsg::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CEntityMsg::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CEntityMsg::Clear() { -// @@protoc_insertion_point(message_clear_start:CEntityMsg) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.target_entity_ = 16777215u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CEntityMsg::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 target_entity = 1 [default = 16777215]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_target_entity(&has_bits); - _impl_.target_entity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CEntityMsg::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CEntityMsg) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 target_entity = 1 [default = 16777215]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_target_entity(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CEntityMsg) - return target; -} - -size_t CEntityMsg::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CEntityMsg) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 target_entity = 1 [default = 16777215]; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_target_entity()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEntityMsg::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CEntityMsg::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEntityMsg::GetClassData() const { return &_class_data_; } - - -void CEntityMsg::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CEntityMsg) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_target_entity()) { - _this->_internal_set_target_entity(from._internal_target_entity()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CEntityMsg::CopyFrom(const CEntityMsg& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CEntityMsg) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CEntityMsg::IsInitialized() const { - return true; -} - -void CEntityMsg::InternalSwap(CEntityMsg* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.target_entity_, other->_impl_.target_entity_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CEntityMsg::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[7]); -} - -// =================================================================== - -class CMsg_CVars_CVar::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsg_CVars_CVar::CMsg_CVars_CVar(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsg_CVars.CVar) -} -CMsg_CVars_CVar::CMsg_CVars_CVar(const CMsg_CVars_CVar& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsg_CVars_CVar* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_value()) { - _this->_impl_.value_.Set(from._internal_value(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CMsg_CVars.CVar) -} - -inline void CMsg_CVars_CVar::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.value_){} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsg_CVars_CVar::~CMsg_CVars_CVar() { - // @@protoc_insertion_point(destructor:CMsg_CVars.CVar) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsg_CVars_CVar::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); - _impl_.value_.Destroy(); -} - -void CMsg_CVars_CVar::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsg_CVars_CVar::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsg_CVars.CVar) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.value_.ClearNonDefaultToEmpty(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsg_CVars_CVar::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsg_CVars.CVar.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_value(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsg_CVars.CVar.value"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsg_CVars_CVar::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsg_CVars.CVar) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsg_CVars.CVar.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // optional string value = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_value().data(), static_cast(this->_internal_value().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsg_CVars.CVar.value"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsg_CVars.CVar) - return target; -} - -size_t CMsg_CVars_CVar::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsg_CVars.CVar) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional string value = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_value()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsg_CVars_CVar::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsg_CVars_CVar::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsg_CVars_CVar::GetClassData() const { return &_class_data_; } - - -void CMsg_CVars_CVar::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsg_CVars.CVar) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_value(from._internal_value()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsg_CVars_CVar::CopyFrom(const CMsg_CVars_CVar& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsg_CVars.CVar) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsg_CVars_CVar::IsInitialized() const { - return true; -} - -void CMsg_CVars_CVar::InternalSwap(CMsg_CVars_CVar* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.value_, lhs_arena, - &other->_impl_.value_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsg_CVars_CVar::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[8]); -} - -// =================================================================== - -class CMsg_CVars::_Internal { - public: -}; - -CMsg_CVars::CMsg_CVars(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsg_CVars) -} -CMsg_CVars::CMsg_CVars(const CMsg_CVars& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsg_CVars* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.cvars_){from._impl_.cvars_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CMsg_CVars) -} - -inline void CMsg_CVars::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.cvars_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CMsg_CVars::~CMsg_CVars() { - // @@protoc_insertion_point(destructor:CMsg_CVars) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsg_CVars::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.cvars_.~RepeatedPtrField(); -} - -void CMsg_CVars::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsg_CVars::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsg_CVars) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.cvars_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsg_CVars::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CMsg_CVars.CVar cvars = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_cvars(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsg_CVars::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsg_CVars) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CMsg_CVars.CVar cvars = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_cvars_size()); i < n; i++) { - const auto& repfield = this->_internal_cvars(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsg_CVars) - return target; -} - -size_t CMsg_CVars::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsg_CVars) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsg_CVars.CVar cvars = 1; - total_size += 1UL * this->_internal_cvars_size(); - for (const auto& msg : this->_impl_.cvars_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsg_CVars::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsg_CVars::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsg_CVars::GetClassData() const { return &_class_data_; } - - -void CMsg_CVars::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsg_CVars) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.cvars_.MergeFrom(from._impl_.cvars_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsg_CVars::CopyFrom(const CMsg_CVars& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsg_CVars) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsg_CVars::IsInitialized() const { - return true; -} - -void CMsg_CVars::InternalSwap(CMsg_CVars* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.cvars_.InternalSwap(&other->_impl_.cvars_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsg_CVars::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[9]); -} - -// =================================================================== - -class CNETMsg_NOP::_Internal { - public: -}; - -CNETMsg_NOP::CNETMsg_NOP(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CNETMsg_NOP) -} -CNETMsg_NOP::CNETMsg_NOP(const CNETMsg_NOP& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CNETMsg_NOP* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CNETMsg_NOP) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_NOP::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_NOP::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_NOP::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[10]); -} - -// =================================================================== - -class CNETMsg_SplitScreenUser::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_slot(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CNETMsg_SplitScreenUser::CNETMsg_SplitScreenUser(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CNETMsg_SplitScreenUser) -} -CNETMsg_SplitScreenUser::CNETMsg_SplitScreenUser(const CNETMsg_SplitScreenUser& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CNETMsg_SplitScreenUser* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.slot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.slot_ = from._impl_.slot_; - // @@protoc_insertion_point(copy_constructor:CNETMsg_SplitScreenUser) -} - -inline void CNETMsg_SplitScreenUser::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.slot_){0} - }; -} - -CNETMsg_SplitScreenUser::~CNETMsg_SplitScreenUser() { - // @@protoc_insertion_point(destructor:CNETMsg_SplitScreenUser) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CNETMsg_SplitScreenUser::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CNETMsg_SplitScreenUser::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CNETMsg_SplitScreenUser::Clear() { -// @@protoc_insertion_point(message_clear_start:CNETMsg_SplitScreenUser) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.slot_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CNETMsg_SplitScreenUser::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 slot = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_slot(&has_bits); - _impl_.slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CNETMsg_SplitScreenUser::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SplitScreenUser) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 slot = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_slot(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CNETMsg_SplitScreenUser) - return target; -} - -size_t CNETMsg_SplitScreenUser::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CNETMsg_SplitScreenUser) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 slot = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_slot()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_SplitScreenUser::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CNETMsg_SplitScreenUser::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_SplitScreenUser::GetClassData() const { return &_class_data_; } - - -void CNETMsg_SplitScreenUser::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CNETMsg_SplitScreenUser) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_slot()) { - _this->_internal_set_slot(from._internal_slot()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CNETMsg_SplitScreenUser::CopyFrom(const CNETMsg_SplitScreenUser& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_SplitScreenUser) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CNETMsg_SplitScreenUser::IsInitialized() const { - return true; -} - -void CNETMsg_SplitScreenUser::InternalSwap(CNETMsg_SplitScreenUser* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.slot_, other->_impl_.slot_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_SplitScreenUser::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[11]); -} - -// =================================================================== - -class CNETMsg_Tick::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_tick(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_host_computationtime(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_host_computationtime_std_deviation(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_legacy_host_loss(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_host_unfiltered_frametime(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_hltv_replay_flags(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_expected_long_tick(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_expected_long_tick_reason(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_host_frame_dropped_pct_x10(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_host_frame_irregular_arrival_pct_x10(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } -}; - -CNETMsg_Tick::CNETMsg_Tick(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CNETMsg_Tick) -} -CNETMsg_Tick::CNETMsg_Tick(const CNETMsg_Tick& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CNETMsg_Tick* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.expected_long_tick_reason_){} - , decltype(_impl_.tick_){} - , decltype(_impl_.host_computationtime_){} - , decltype(_impl_.host_computationtime_std_deviation_){} - , decltype(_impl_.legacy_host_loss_){} - , decltype(_impl_.host_unfiltered_frametime_){} - , decltype(_impl_.hltv_replay_flags_){} - , decltype(_impl_.expected_long_tick_){} - , decltype(_impl_.host_frame_dropped_pct_x10_){} - , decltype(_impl_.host_frame_irregular_arrival_pct_x10_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.expected_long_tick_reason_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.expected_long_tick_reason_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_expected_long_tick_reason()) { - _this->_impl_.expected_long_tick_reason_.Set(from._internal_expected_long_tick_reason(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.tick_, &from._impl_.tick_, - static_cast(reinterpret_cast(&_impl_.host_frame_irregular_arrival_pct_x10_) - - reinterpret_cast(&_impl_.tick_)) + sizeof(_impl_.host_frame_irregular_arrival_pct_x10_)); - // @@protoc_insertion_point(copy_constructor:CNETMsg_Tick) -} - -inline void CNETMsg_Tick::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.expected_long_tick_reason_){} - , decltype(_impl_.tick_){0u} - , decltype(_impl_.host_computationtime_){0u} - , decltype(_impl_.host_computationtime_std_deviation_){0u} - , decltype(_impl_.legacy_host_loss_){0u} - , decltype(_impl_.host_unfiltered_frametime_){0u} - , decltype(_impl_.hltv_replay_flags_){0u} - , decltype(_impl_.expected_long_tick_){0u} - , decltype(_impl_.host_frame_dropped_pct_x10_){0u} - , decltype(_impl_.host_frame_irregular_arrival_pct_x10_){0u} - }; - _impl_.expected_long_tick_reason_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.expected_long_tick_reason_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CNETMsg_Tick::~CNETMsg_Tick() { - // @@protoc_insertion_point(destructor:CNETMsg_Tick) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CNETMsg_Tick::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.expected_long_tick_reason_.Destroy(); -} - -void CNETMsg_Tick::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CNETMsg_Tick::Clear() { -// @@protoc_insertion_point(message_clear_start:CNETMsg_Tick) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.expected_long_tick_reason_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x000000feu) { - ::memset(&_impl_.tick_, 0, static_cast( - reinterpret_cast(&_impl_.expected_long_tick_) - - reinterpret_cast(&_impl_.tick_)) + sizeof(_impl_.expected_long_tick_)); - } - if (cached_has_bits & 0x00000300u) { - ::memset(&_impl_.host_frame_dropped_pct_x10_, 0, static_cast( - reinterpret_cast(&_impl_.host_frame_irregular_arrival_pct_x10_) - - reinterpret_cast(&_impl_.host_frame_dropped_pct_x10_)) + sizeof(_impl_.host_frame_irregular_arrival_pct_x10_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CNETMsg_Tick::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 tick = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_tick(&has_bits); - _impl_.tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 host_computationtime = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_host_computationtime(&has_bits); - _impl_.host_computationtime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 host_computationtime_std_deviation = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_host_computationtime_std_deviation(&has_bits); - _impl_.host_computationtime_std_deviation_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 legacy_host_loss = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_legacy_host_loss(&has_bits); - _impl_.legacy_host_loss_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 host_unfiltered_frametime = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_host_unfiltered_frametime(&has_bits); - _impl_.host_unfiltered_frametime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 hltv_replay_flags = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_hltv_replay_flags(&has_bits); - _impl_.hltv_replay_flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 expected_long_tick = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_expected_long_tick(&has_bits); - _impl_.expected_long_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string expected_long_tick_reason = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_expected_long_tick_reason(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CNETMsg_Tick.expected_long_tick_reason"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 host_frame_dropped_pct_x10 = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_host_frame_dropped_pct_x10(&has_bits); - _impl_.host_frame_dropped_pct_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 host_frame_irregular_arrival_pct_x10 = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_host_frame_irregular_arrival_pct_x10(&has_bits); - _impl_.host_frame_irregular_arrival_pct_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CNETMsg_Tick::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_Tick) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 tick = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_tick(), target); - } - - // optional uint32 host_computationtime = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_host_computationtime(), target); - } - - // optional uint32 host_computationtime_std_deviation = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_host_computationtime_std_deviation(), target); - } - - // optional uint32 legacy_host_loss = 7; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_legacy_host_loss(), target); - } - - // optional uint32 host_unfiltered_frametime = 8; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_host_unfiltered_frametime(), target); - } - - // optional uint32 hltv_replay_flags = 9; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_hltv_replay_flags(), target); - } - - // optional uint32 expected_long_tick = 10; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_expected_long_tick(), target); - } - - // optional string expected_long_tick_reason = 11; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_expected_long_tick_reason().data(), static_cast(this->_internal_expected_long_tick_reason().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CNETMsg_Tick.expected_long_tick_reason"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_expected_long_tick_reason(), target); - } - - // optional uint32 host_frame_dropped_pct_x10 = 12; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_host_frame_dropped_pct_x10(), target); - } - - // optional uint32 host_frame_irregular_arrival_pct_x10 = 13; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_host_frame_irregular_arrival_pct_x10(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CNETMsg_Tick) - return target; -} - -size_t CNETMsg_Tick::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CNETMsg_Tick) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string expected_long_tick_reason = 11; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_expected_long_tick_reason()); - } - - // optional uint32 tick = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_tick()); - } - - // optional uint32 host_computationtime = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_host_computationtime()); - } - - // optional uint32 host_computationtime_std_deviation = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_host_computationtime_std_deviation()); - } - - // optional uint32 legacy_host_loss = 7; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_legacy_host_loss()); - } - - // optional uint32 host_unfiltered_frametime = 8; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_host_unfiltered_frametime()); - } - - // optional uint32 hltv_replay_flags = 9; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_hltv_replay_flags()); - } - - // optional uint32 expected_long_tick = 10; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_expected_long_tick()); - } - - } - if (cached_has_bits & 0x00000300u) { - // optional uint32 host_frame_dropped_pct_x10 = 12; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_host_frame_dropped_pct_x10()); - } - - // optional uint32 host_frame_irregular_arrival_pct_x10 = 13; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_host_frame_irregular_arrival_pct_x10()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_Tick::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CNETMsg_Tick::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_Tick::GetClassData() const { return &_class_data_; } - - -void CNETMsg_Tick::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CNETMsg_Tick) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_expected_long_tick_reason(from._internal_expected_long_tick_reason()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.tick_ = from._impl_.tick_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.host_computationtime_ = from._impl_.host_computationtime_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.host_computationtime_std_deviation_ = from._impl_.host_computationtime_std_deviation_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.legacy_host_loss_ = from._impl_.legacy_host_loss_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.host_unfiltered_frametime_ = from._impl_.host_unfiltered_frametime_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.hltv_replay_flags_ = from._impl_.hltv_replay_flags_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.expected_long_tick_ = from._impl_.expected_long_tick_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000300u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.host_frame_dropped_pct_x10_ = from._impl_.host_frame_dropped_pct_x10_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.host_frame_irregular_arrival_pct_x10_ = from._impl_.host_frame_irregular_arrival_pct_x10_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CNETMsg_Tick::CopyFrom(const CNETMsg_Tick& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_Tick) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CNETMsg_Tick::IsInitialized() const { - return true; -} - -void CNETMsg_Tick::InternalSwap(CNETMsg_Tick* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.expected_long_tick_reason_, lhs_arena, - &other->_impl_.expected_long_tick_reason_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CNETMsg_Tick, _impl_.host_frame_irregular_arrival_pct_x10_) - + sizeof(CNETMsg_Tick::_impl_.host_frame_irregular_arrival_pct_x10_) - - PROTOBUF_FIELD_OFFSET(CNETMsg_Tick, _impl_.tick_)>( - reinterpret_cast(&_impl_.tick_), - reinterpret_cast(&other->_impl_.tick_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_Tick::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[12]); -} - -// =================================================================== - -class CNETMsg_StringCmd::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_command(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_prediction_sync(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CNETMsg_StringCmd::CNETMsg_StringCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CNETMsg_StringCmd) -} -CNETMsg_StringCmd::CNETMsg_StringCmd(const CNETMsg_StringCmd& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CNETMsg_StringCmd* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.command_){} - , decltype(_impl_.prediction_sync_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.command_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.command_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_command()) { - _this->_impl_.command_.Set(from._internal_command(), - _this->GetArenaForAllocation()); - } - _this->_impl_.prediction_sync_ = from._impl_.prediction_sync_; - // @@protoc_insertion_point(copy_constructor:CNETMsg_StringCmd) -} - -inline void CNETMsg_StringCmd::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.command_){} - , decltype(_impl_.prediction_sync_){0u} - }; - _impl_.command_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.command_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CNETMsg_StringCmd::~CNETMsg_StringCmd() { - // @@protoc_insertion_point(destructor:CNETMsg_StringCmd) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CNETMsg_StringCmd::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.command_.Destroy(); -} - -void CNETMsg_StringCmd::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CNETMsg_StringCmd::Clear() { -// @@protoc_insertion_point(message_clear_start:CNETMsg_StringCmd) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.command_.ClearNonDefaultToEmpty(); - } - _impl_.prediction_sync_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CNETMsg_StringCmd::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string command = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_command(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CNETMsg_StringCmd.command"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 prediction_sync = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_prediction_sync(&has_bits); - _impl_.prediction_sync_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CNETMsg_StringCmd::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_StringCmd) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string command = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_command().data(), static_cast(this->_internal_command().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CNETMsg_StringCmd.command"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_command(), target); - } - - // optional uint32 prediction_sync = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_prediction_sync(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CNETMsg_StringCmd) - return target; -} - -size_t CNETMsg_StringCmd::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CNETMsg_StringCmd) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string command = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_command()); - } - - // optional uint32 prediction_sync = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_prediction_sync()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_StringCmd::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CNETMsg_StringCmd::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_StringCmd::GetClassData() const { return &_class_data_; } - - -void CNETMsg_StringCmd::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CNETMsg_StringCmd) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_command(from._internal_command()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.prediction_sync_ = from._impl_.prediction_sync_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CNETMsg_StringCmd::CopyFrom(const CNETMsg_StringCmd& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_StringCmd) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CNETMsg_StringCmd::IsInitialized() const { - return true; -} - -void CNETMsg_StringCmd::InternalSwap(CNETMsg_StringCmd* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.command_, lhs_arena, - &other->_impl_.command_, rhs_arena - ); - swap(_impl_.prediction_sync_, other->_impl_.prediction_sync_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_StringCmd::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[13]); -} - -// =================================================================== - -class CNETMsg_SetConVar::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsg_CVars& convars(const CNETMsg_SetConVar* msg); - static void set_has_convars(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsg_CVars& -CNETMsg_SetConVar::_Internal::convars(const CNETMsg_SetConVar* msg) { - return *msg->_impl_.convars_; -} -CNETMsg_SetConVar::CNETMsg_SetConVar(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CNETMsg_SetConVar) -} -CNETMsg_SetConVar::CNETMsg_SetConVar(const CNETMsg_SetConVar& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CNETMsg_SetConVar* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.convars_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_convars()) { - _this->_impl_.convars_ = new ::CMsg_CVars(*from._impl_.convars_); - } - // @@protoc_insertion_point(copy_constructor:CNETMsg_SetConVar) -} - -inline void CNETMsg_SetConVar::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.convars_){nullptr} - }; -} - -CNETMsg_SetConVar::~CNETMsg_SetConVar() { - // @@protoc_insertion_point(destructor:CNETMsg_SetConVar) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CNETMsg_SetConVar::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.convars_; -} - -void CNETMsg_SetConVar::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CNETMsg_SetConVar::Clear() { -// @@protoc_insertion_point(message_clear_start:CNETMsg_SetConVar) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.convars_ != nullptr); - _impl_.convars_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CNETMsg_SetConVar::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsg_CVars convars = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_convars(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CNETMsg_SetConVar::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SetConVar) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsg_CVars convars = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::convars(this), - _Internal::convars(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CNETMsg_SetConVar) - return target; -} - -size_t CNETMsg_SetConVar::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CNETMsg_SetConVar) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CMsg_CVars convars = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.convars_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_SetConVar::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CNETMsg_SetConVar::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_SetConVar::GetClassData() const { return &_class_data_; } - - -void CNETMsg_SetConVar::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CNETMsg_SetConVar) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_convars()) { - _this->_internal_mutable_convars()->::CMsg_CVars::MergeFrom( - from._internal_convars()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CNETMsg_SetConVar::CopyFrom(const CNETMsg_SetConVar& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_SetConVar) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CNETMsg_SetConVar::IsInitialized() const { - return true; -} - -void CNETMsg_SetConVar::InternalSwap(CNETMsg_SetConVar* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.convars_, other->_impl_.convars_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_SetConVar::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[14]); -} - -// =================================================================== - -class CNETMsg_SignonState::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_signon_state(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_spawn_count(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_num_server_players(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_map_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_addons(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CNETMsg_SignonState::CNETMsg_SignonState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CNETMsg_SignonState) -} -CNETMsg_SignonState::CNETMsg_SignonState(const CNETMsg_SignonState& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CNETMsg_SignonState* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.players_networkids_){from._impl_.players_networkids_} - , decltype(_impl_.map_name_){} - , decltype(_impl_.addons_){} - , decltype(_impl_.signon_state_){} - , decltype(_impl_.spawn_count_){} - , decltype(_impl_.num_server_players_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.map_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_map_name()) { - _this->_impl_.map_name_.Set(from._internal_map_name(), - _this->GetArenaForAllocation()); - } - _impl_.addons_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.addons_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_addons()) { - _this->_impl_.addons_.Set(from._internal_addons(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.signon_state_, &from._impl_.signon_state_, - static_cast(reinterpret_cast(&_impl_.num_server_players_) - - reinterpret_cast(&_impl_.signon_state_)) + sizeof(_impl_.num_server_players_)); - // @@protoc_insertion_point(copy_constructor:CNETMsg_SignonState) -} - -inline void CNETMsg_SignonState::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.players_networkids_){arena} - , decltype(_impl_.map_name_){} - , decltype(_impl_.addons_){} - , decltype(_impl_.signon_state_){0} - , decltype(_impl_.spawn_count_){0u} - , decltype(_impl_.num_server_players_){0u} - }; - _impl_.map_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.map_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.addons_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.addons_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CNETMsg_SignonState::~CNETMsg_SignonState() { - // @@protoc_insertion_point(destructor:CNETMsg_SignonState) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CNETMsg_SignonState::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.players_networkids_.~RepeatedPtrField(); - _impl_.map_name_.Destroy(); - _impl_.addons_.Destroy(); -} - -void CNETMsg_SignonState::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CNETMsg_SignonState::Clear() { -// @@protoc_insertion_point(message_clear_start:CNETMsg_SignonState) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.players_networkids_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.map_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.addons_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000001cu) { - ::memset(&_impl_.signon_state_, 0, static_cast( - reinterpret_cast(&_impl_.num_server_players_) - - reinterpret_cast(&_impl_.signon_state_)) + sizeof(_impl_.num_server_players_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CNETMsg_SignonState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .SignonState_t signon_state = 1 [default = SIGNONSTATE_NONE]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::SignonState_t_IsValid(val))) { - _internal_set_signon_state(static_cast<::SignonState_t>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional uint32 spawn_count = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_spawn_count(&has_bits); - _impl_.spawn_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 num_server_players = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_num_server_players(&has_bits); - _impl_.num_server_players_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated string players_networkids = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_players_networkids(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CNETMsg_SignonState.players_networkids"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - // optional string map_name = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_map_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CNETMsg_SignonState.map_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string addons = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_addons(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CNETMsg_SignonState.addons"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CNETMsg_SignonState::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SignonState) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .SignonState_t signon_state = 1 [default = SIGNONSTATE_NONE]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_signon_state(), target); - } - - // optional uint32 spawn_count = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_spawn_count(), target); - } - - // optional uint32 num_server_players = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_num_server_players(), target); - } - - // repeated string players_networkids = 4; - for (int i = 0, n = this->_internal_players_networkids_size(); i < n; i++) { - const auto& s = this->_internal_players_networkids(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CNETMsg_SignonState.players_networkids"); - target = stream->WriteString(4, s, target); - } - - // optional string map_name = 5; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_map_name().data(), static_cast(this->_internal_map_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CNETMsg_SignonState.map_name"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_map_name(), target); - } - - // optional string addons = 6; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_addons().data(), static_cast(this->_internal_addons().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CNETMsg_SignonState.addons"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_addons(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CNETMsg_SignonState) - return target; -} - -size_t CNETMsg_SignonState::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CNETMsg_SignonState) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string players_networkids = 4; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.players_networkids_.size()); - for (int i = 0, n = _impl_.players_networkids_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.players_networkids_.Get(i)); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional string map_name = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_map_name()); - } - - // optional string addons = 6; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_addons()); - } - - // optional .SignonState_t signon_state = 1 [default = SIGNONSTATE_NONE]; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_signon_state()); - } - - // optional uint32 spawn_count = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_spawn_count()); - } - - // optional uint32 num_server_players = 3; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_num_server_players()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_SignonState::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CNETMsg_SignonState::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_SignonState::GetClassData() const { return &_class_data_; } - - -void CNETMsg_SignonState::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CNETMsg_SignonState) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.players_networkids_.MergeFrom(from._impl_.players_networkids_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_map_name(from._internal_map_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_addons(from._internal_addons()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.signon_state_ = from._impl_.signon_state_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.spawn_count_ = from._impl_.spawn_count_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.num_server_players_ = from._impl_.num_server_players_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CNETMsg_SignonState::CopyFrom(const CNETMsg_SignonState& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_SignonState) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CNETMsg_SignonState::IsInitialized() const { - return true; -} - -void CNETMsg_SignonState::InternalSwap(CNETMsg_SignonState* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.players_networkids_.InternalSwap(&other->_impl_.players_networkids_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.map_name_, lhs_arena, - &other->_impl_.map_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.addons_, lhs_arena, - &other->_impl_.addons_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CNETMsg_SignonState, _impl_.num_server_players_) - + sizeof(CNETMsg_SignonState::_impl_.num_server_players_) - - PROTOBUF_FIELD_OFFSET(CNETMsg_SignonState, _impl_.signon_state_)>( - reinterpret_cast(&_impl_.signon_state_), - reinterpret_cast(&other->_impl_.signon_state_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_SignonState::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[15]); -} - -// =================================================================== - -class CSVCMsg_GameEvent_key_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_val_string(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_val_float(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_val_long(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_val_short(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_val_byte(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_val_bool(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_val_uint64(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } -}; - -CSVCMsg_GameEvent_key_t::CSVCMsg_GameEvent_key_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_GameEvent.key_t) -} -CSVCMsg_GameEvent_key_t::CSVCMsg_GameEvent_key_t(const CSVCMsg_GameEvent_key_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_GameEvent_key_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.val_string_){} - , decltype(_impl_.type_){} - , decltype(_impl_.val_float_){} - , decltype(_impl_.val_long_){} - , decltype(_impl_.val_short_){} - , decltype(_impl_.val_byte_){} - , decltype(_impl_.val_bool_){} - , decltype(_impl_.val_uint64_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.val_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.val_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_val_string()) { - _this->_impl_.val_string_.Set(from._internal_val_string(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.type_, &from._impl_.type_, - static_cast(reinterpret_cast(&_impl_.val_uint64_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.val_uint64_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_GameEvent.key_t) -} - -inline void CSVCMsg_GameEvent_key_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.val_string_){} - , decltype(_impl_.type_){0} - , decltype(_impl_.val_float_){0} - , decltype(_impl_.val_long_){0} - , decltype(_impl_.val_short_){0} - , decltype(_impl_.val_byte_){0} - , decltype(_impl_.val_bool_){false} - , decltype(_impl_.val_uint64_){uint64_t{0u}} - }; - _impl_.val_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.val_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_GameEvent_key_t::~CSVCMsg_GameEvent_key_t() { - // @@protoc_insertion_point(destructor:CSVCMsg_GameEvent.key_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_GameEvent_key_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.val_string_.Destroy(); -} - -void CSVCMsg_GameEvent_key_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_GameEvent_key_t::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_GameEvent.key_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.val_string_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x000000feu) { - ::memset(&_impl_.type_, 0, static_cast( - reinterpret_cast(&_impl_.val_uint64_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.val_uint64_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_GameEvent_key_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_type(&has_bits); - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string val_string = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_val_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_GameEvent.key_t.val_string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional float val_float = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_val_float(&has_bits); - _impl_.val_float_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 val_long = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_val_long(&has_bits); - _impl_.val_long_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 val_short = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_val_short(&has_bits); - _impl_.val_short_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 val_byte = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_val_byte(&has_bits); - _impl_.val_byte_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool val_bool = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_val_bool(&has_bits); - _impl_.val_bool_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 val_uint64 = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_val_uint64(&has_bits); - _impl_.val_uint64_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_GameEvent_key_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_GameEvent.key_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 type = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_type(), target); - } - - // optional string val_string = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_val_string().data(), static_cast(this->_internal_val_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_GameEvent.key_t.val_string"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_val_string(), target); - } - - // optional float val_float = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_val_float(), target); - } - - // optional int32 val_long = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_val_long(), target); - } - - // optional int32 val_short = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_val_short(), target); - } - - // optional int32 val_byte = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_val_byte(), target); - } - - // optional bool val_bool = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_val_bool(), target); - } - - // optional uint64 val_uint64 = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_val_uint64(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_GameEvent.key_t) - return target; -} - -size_t CSVCMsg_GameEvent_key_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_GameEvent.key_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string val_string = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_val_string()); - } - - // optional int32 type = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); - } - - // optional float val_float = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional int32 val_long = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val_long()); - } - - // optional int32 val_short = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val_short()); - } - - // optional int32 val_byte = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_val_byte()); - } - - // optional bool val_bool = 7; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 1; - } - - // optional uint64 val_uint64 = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_val_uint64()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_GameEvent_key_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_GameEvent_key_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_GameEvent_key_t::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_GameEvent_key_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_GameEvent.key_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_val_string(from._internal_val_string()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.type_ = from._impl_.type_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.val_float_ = from._impl_.val_float_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.val_long_ = from._impl_.val_long_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.val_short_ = from._impl_.val_short_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.val_byte_ = from._impl_.val_byte_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.val_bool_ = from._impl_.val_bool_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.val_uint64_ = from._impl_.val_uint64_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_GameEvent_key_t::CopyFrom(const CSVCMsg_GameEvent_key_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_GameEvent.key_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_GameEvent_key_t::IsInitialized() const { - return true; -} - -void CSVCMsg_GameEvent_key_t::InternalSwap(CSVCMsg_GameEvent_key_t* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.val_string_, lhs_arena, - &other->_impl_.val_string_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, _impl_.val_uint64_) - + sizeof(CSVCMsg_GameEvent_key_t::_impl_.val_uint64_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, _impl_.type_)>( - reinterpret_cast(&_impl_.type_), - reinterpret_cast(&other->_impl_.type_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_GameEvent_key_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[16]); -} - -// =================================================================== - -class CSVCMsg_GameEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_event_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_eventid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CSVCMsg_GameEvent::CSVCMsg_GameEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_GameEvent) -} -CSVCMsg_GameEvent::CSVCMsg_GameEvent(const CSVCMsg_GameEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_GameEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.keys_){from._impl_.keys_} - , decltype(_impl_.event_name_){} - , decltype(_impl_.eventid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.event_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_event_name()) { - _this->_impl_.event_name_.Set(from._internal_event_name(), - _this->GetArenaForAllocation()); - } - _this->_impl_.eventid_ = from._impl_.eventid_; - // @@protoc_insertion_point(copy_constructor:CSVCMsg_GameEvent) -} - -inline void CSVCMsg_GameEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.keys_){arena} - , decltype(_impl_.event_name_){} - , decltype(_impl_.eventid_){0} - }; - _impl_.event_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_GameEvent::~CSVCMsg_GameEvent() { - // @@protoc_insertion_point(destructor:CSVCMsg_GameEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_GameEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.keys_.~RepeatedPtrField(); - _impl_.event_name_.Destroy(); -} - -void CSVCMsg_GameEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_GameEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_GameEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.keys_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.event_name_.ClearNonDefaultToEmpty(); - } - _impl_.eventid_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_GameEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string event_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_event_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_GameEvent.event_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 eventid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_eventid(&has_bits); - _impl_.eventid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CSVCMsg_GameEvent.key_t keys = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_keys(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_GameEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_GameEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string event_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_event_name().data(), static_cast(this->_internal_event_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_GameEvent.event_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_event_name(), target); - } - - // optional int32 eventid = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_eventid(), target); - } - - // repeated .CSVCMsg_GameEvent.key_t keys = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_keys_size()); i < n; i++) { - const auto& repfield = this->_internal_keys(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_GameEvent) - return target; -} - -size_t CSVCMsg_GameEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_GameEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CSVCMsg_GameEvent.key_t keys = 3; - total_size += 1UL * this->_internal_keys_size(); - for (const auto& msg : this->_impl_.keys_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string event_name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_event_name()); - } - - // optional int32 eventid = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eventid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_GameEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_GameEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_GameEvent::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_GameEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_GameEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.keys_.MergeFrom(from._impl_.keys_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_event_name(from._internal_event_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.eventid_ = from._impl_.eventid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_GameEvent::CopyFrom(const CSVCMsg_GameEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_GameEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_GameEvent::IsInitialized() const { - return true; -} - -void CSVCMsg_GameEvent::InternalSwap(CSVCMsg_GameEvent* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.keys_.InternalSwap(&other->_impl_.keys_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.event_name_, lhs_arena, - &other->_impl_.event_name_, rhs_arena - ); - swap(_impl_.eventid_, other->_impl_.eventid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_GameEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[17]); -} - -// =================================================================== - -class CSVCMsgList_GameEvents_event_t::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_tick(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CSVCMsg_GameEvent& event(const CSVCMsgList_GameEvents_event_t* msg); - static void set_has_event(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CSVCMsg_GameEvent& -CSVCMsgList_GameEvents_event_t::_Internal::event(const CSVCMsgList_GameEvents_event_t* msg) { - return *msg->_impl_.event_; -} -CSVCMsgList_GameEvents_event_t::CSVCMsgList_GameEvents_event_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsgList_GameEvents.event_t) -} -CSVCMsgList_GameEvents_event_t::CSVCMsgList_GameEvents_event_t(const CSVCMsgList_GameEvents_event_t& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsgList_GameEvents_event_t* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.event_){nullptr} - , decltype(_impl_.tick_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_event()) { - _this->_impl_.event_ = new ::CSVCMsg_GameEvent(*from._impl_.event_); - } - _this->_impl_.tick_ = from._impl_.tick_; - // @@protoc_insertion_point(copy_constructor:CSVCMsgList_GameEvents.event_t) -} - -inline void CSVCMsgList_GameEvents_event_t::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.event_){nullptr} - , decltype(_impl_.tick_){0} - }; -} - -CSVCMsgList_GameEvents_event_t::~CSVCMsgList_GameEvents_event_t() { - // @@protoc_insertion_point(destructor:CSVCMsgList_GameEvents.event_t) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsgList_GameEvents_event_t::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.event_; -} - -void CSVCMsgList_GameEvents_event_t::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsgList_GameEvents_event_t::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsgList_GameEvents.event_t) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.event_ != nullptr); - _impl_.event_->Clear(); - } - _impl_.tick_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsgList_GameEvents_event_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 tick = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_tick(&has_bits); - _impl_.tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CSVCMsg_GameEvent event = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_event(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsgList_GameEvents_event_t::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsgList_GameEvents.event_t) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 tick = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_tick(), target); - } - - // optional .CSVCMsg_GameEvent event = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::event(this), - _Internal::event(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsgList_GameEvents.event_t) - return target; -} - -size_t CSVCMsgList_GameEvents_event_t::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsgList_GameEvents.event_t) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CSVCMsg_GameEvent event = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.event_); - } - - // optional int32 tick = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tick()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsgList_GameEvents_event_t::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsgList_GameEvents_event_t::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsgList_GameEvents_event_t::GetClassData() const { return &_class_data_; } - - -void CSVCMsgList_GameEvents_event_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsgList_GameEvents.event_t) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_event()->::CSVCMsg_GameEvent::MergeFrom( - from._internal_event()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.tick_ = from._impl_.tick_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsgList_GameEvents_event_t::CopyFrom(const CSVCMsgList_GameEvents_event_t& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsgList_GameEvents.event_t) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsgList_GameEvents_event_t::IsInitialized() const { - return true; -} - -void CSVCMsgList_GameEvents_event_t::InternalSwap(CSVCMsgList_GameEvents_event_t* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsgList_GameEvents_event_t, _impl_.tick_) - + sizeof(CSVCMsgList_GameEvents_event_t::_impl_.tick_) - - PROTOBUF_FIELD_OFFSET(CSVCMsgList_GameEvents_event_t, _impl_.event_)>( - reinterpret_cast(&_impl_.event_), - reinterpret_cast(&other->_impl_.event_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsgList_GameEvents_event_t::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[18]); -} - -// =================================================================== - -class CSVCMsgList_GameEvents::_Internal { - public: -}; - -CSVCMsgList_GameEvents::CSVCMsgList_GameEvents(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsgList_GameEvents) -} -CSVCMsgList_GameEvents::CSVCMsgList_GameEvents(const CSVCMsgList_GameEvents& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsgList_GameEvents* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.events_){from._impl_.events_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CSVCMsgList_GameEvents) -} - -inline void CSVCMsgList_GameEvents::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.events_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CSVCMsgList_GameEvents::~CSVCMsgList_GameEvents() { - // @@protoc_insertion_point(destructor:CSVCMsgList_GameEvents) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsgList_GameEvents::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.events_.~RepeatedPtrField(); -} - -void CSVCMsgList_GameEvents::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsgList_GameEvents::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsgList_GameEvents) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.events_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsgList_GameEvents::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CSVCMsgList_GameEvents.event_t events = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_events(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsgList_GameEvents::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsgList_GameEvents) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CSVCMsgList_GameEvents.event_t events = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_events_size()); i < n; i++) { - const auto& repfield = this->_internal_events(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsgList_GameEvents) - return target; -} - -size_t CSVCMsgList_GameEvents::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsgList_GameEvents) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CSVCMsgList_GameEvents.event_t events = 1; - total_size += 1UL * this->_internal_events_size(); - for (const auto& msg : this->_impl_.events_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsgList_GameEvents::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsgList_GameEvents::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsgList_GameEvents::GetClassData() const { return &_class_data_; } - - -void CSVCMsgList_GameEvents::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsgList_GameEvents) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.events_.MergeFrom(from._impl_.events_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsgList_GameEvents::CopyFrom(const CSVCMsgList_GameEvents& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsgList_GameEvents) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsgList_GameEvents::IsInitialized() const { - return true; -} - -void CSVCMsgList_GameEvents::InternalSwap(CSVCMsgList_GameEvents* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.events_.InternalSwap(&other->_impl_.events_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsgList_GameEvents::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[19]); -} - -// =================================================================== - -class CNETMsg_SpawnGroup_Load::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_worldname(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_entitylumpname(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_entityfiltername(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_spawngrouphandle(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_spawngroupownerhandle(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static const ::CMsgVector& world_offset_pos(const CNETMsg_SpawnGroup_Load* msg); - static void set_has_world_offset_pos(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static const ::CMsgQAngle& world_offset_angle(const CNETMsg_SpawnGroup_Load* msg); - static void set_has_world_offset_angle(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_spawngroupmanifest(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_tickcount(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_manifestincomplete(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_localnamefixup(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_parentnamefixup(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_manifestloadpriority(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_worldgroupid(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_creationsequence(HasBits* has_bits) { - (*has_bits)[0] |= 262144u; - } - static void set_has_savegamefilename(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_spawngroupparenthandle(HasBits* has_bits) { - (*has_bits)[0] |= 524288u; - } - static void set_has_leveltransition(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } - static void set_has_worldgroupname(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } -}; - -const ::CMsgVector& -CNETMsg_SpawnGroup_Load::_Internal::world_offset_pos(const CNETMsg_SpawnGroup_Load* msg) { - return *msg->_impl_.world_offset_pos_; -} -const ::CMsgQAngle& -CNETMsg_SpawnGroup_Load::_Internal::world_offset_angle(const CNETMsg_SpawnGroup_Load* msg) { - return *msg->_impl_.world_offset_angle_; -} -CNETMsg_SpawnGroup_Load::CNETMsg_SpawnGroup_Load(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CNETMsg_SpawnGroup_Load) -} -CNETMsg_SpawnGroup_Load::CNETMsg_SpawnGroup_Load(const CNETMsg_SpawnGroup_Load& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CNETMsg_SpawnGroup_Load* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.worldname_){} - , decltype(_impl_.entitylumpname_){} - , decltype(_impl_.entityfiltername_){} - , decltype(_impl_.spawngroupmanifest_){} - , decltype(_impl_.localnamefixup_){} - , decltype(_impl_.parentnamefixup_){} - , decltype(_impl_.savegamefilename_){} - , decltype(_impl_.worldgroupname_){} - , decltype(_impl_.world_offset_pos_){nullptr} - , decltype(_impl_.world_offset_angle_){nullptr} - , decltype(_impl_.spawngrouphandle_){} - , decltype(_impl_.spawngroupownerhandle_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.tickcount_){} - , decltype(_impl_.manifestloadpriority_){} - , decltype(_impl_.worldgroupid_){} - , decltype(_impl_.manifestincomplete_){} - , decltype(_impl_.leveltransition_){} - , decltype(_impl_.creationsequence_){} - , decltype(_impl_.spawngroupparenthandle_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.worldname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.worldname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_worldname()) { - _this->_impl_.worldname_.Set(from._internal_worldname(), - _this->GetArenaForAllocation()); - } - _impl_.entitylumpname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.entitylumpname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_entitylumpname()) { - _this->_impl_.entitylumpname_.Set(from._internal_entitylumpname(), - _this->GetArenaForAllocation()); - } - _impl_.entityfiltername_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.entityfiltername_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_entityfiltername()) { - _this->_impl_.entityfiltername_.Set(from._internal_entityfiltername(), - _this->GetArenaForAllocation()); - } - _impl_.spawngroupmanifest_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.spawngroupmanifest_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_spawngroupmanifest()) { - _this->_impl_.spawngroupmanifest_.Set(from._internal_spawngroupmanifest(), - _this->GetArenaForAllocation()); - } - _impl_.localnamefixup_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.localnamefixup_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_localnamefixup()) { - _this->_impl_.localnamefixup_.Set(from._internal_localnamefixup(), - _this->GetArenaForAllocation()); - } - _impl_.parentnamefixup_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.parentnamefixup_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_parentnamefixup()) { - _this->_impl_.parentnamefixup_.Set(from._internal_parentnamefixup(), - _this->GetArenaForAllocation()); - } - _impl_.savegamefilename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.savegamefilename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_savegamefilename()) { - _this->_impl_.savegamefilename_.Set(from._internal_savegamefilename(), - _this->GetArenaForAllocation()); - } - _impl_.worldgroupname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.worldgroupname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_worldgroupname()) { - _this->_impl_.worldgroupname_.Set(from._internal_worldgroupname(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_world_offset_pos()) { - _this->_impl_.world_offset_pos_ = new ::CMsgVector(*from._impl_.world_offset_pos_); - } - if (from._internal_has_world_offset_angle()) { - _this->_impl_.world_offset_angle_ = new ::CMsgQAngle(*from._impl_.world_offset_angle_); - } - ::memcpy(&_impl_.spawngrouphandle_, &from._impl_.spawngrouphandle_, - static_cast(reinterpret_cast(&_impl_.spawngroupparenthandle_) - - reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.spawngroupparenthandle_)); - // @@protoc_insertion_point(copy_constructor:CNETMsg_SpawnGroup_Load) -} - -inline void CNETMsg_SpawnGroup_Load::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.worldname_){} - , decltype(_impl_.entitylumpname_){} - , decltype(_impl_.entityfiltername_){} - , decltype(_impl_.spawngroupmanifest_){} - , decltype(_impl_.localnamefixup_){} - , decltype(_impl_.parentnamefixup_){} - , decltype(_impl_.savegamefilename_){} - , decltype(_impl_.worldgroupname_){} - , decltype(_impl_.world_offset_pos_){nullptr} - , decltype(_impl_.world_offset_angle_){nullptr} - , decltype(_impl_.spawngrouphandle_){0u} - , decltype(_impl_.spawngroupownerhandle_){0u} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.tickcount_){0} - , decltype(_impl_.manifestloadpriority_){0} - , decltype(_impl_.worldgroupid_){0u} - , decltype(_impl_.manifestincomplete_){false} - , decltype(_impl_.leveltransition_){false} - , decltype(_impl_.creationsequence_){0u} - , decltype(_impl_.spawngroupparenthandle_){0u} - }; - _impl_.worldname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.worldname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.entitylumpname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.entitylumpname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.entityfiltername_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.entityfiltername_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.spawngroupmanifest_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.spawngroupmanifest_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.localnamefixup_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.localnamefixup_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.parentnamefixup_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.parentnamefixup_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.savegamefilename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.savegamefilename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.worldgroupname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.worldgroupname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CNETMsg_SpawnGroup_Load::~CNETMsg_SpawnGroup_Load() { - // @@protoc_insertion_point(destructor:CNETMsg_SpawnGroup_Load) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CNETMsg_SpawnGroup_Load::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.worldname_.Destroy(); - _impl_.entitylumpname_.Destroy(); - _impl_.entityfiltername_.Destroy(); - _impl_.spawngroupmanifest_.Destroy(); - _impl_.localnamefixup_.Destroy(); - _impl_.parentnamefixup_.Destroy(); - _impl_.savegamefilename_.Destroy(); - _impl_.worldgroupname_.Destroy(); - if (this != internal_default_instance()) delete _impl_.world_offset_pos_; - if (this != internal_default_instance()) delete _impl_.world_offset_angle_; -} - -void CNETMsg_SpawnGroup_Load::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CNETMsg_SpawnGroup_Load::Clear() { -// @@protoc_insertion_point(message_clear_start:CNETMsg_SpawnGroup_Load) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _impl_.worldname_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.entitylumpname_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.entityfiltername_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.spawngroupmanifest_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000010u) { - _impl_.localnamefixup_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000020u) { - _impl_.parentnamefixup_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000040u) { - _impl_.savegamefilename_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000080u) { - _impl_.worldgroupname_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x00000300u) { - if (cached_has_bits & 0x00000100u) { - GOOGLE_DCHECK(_impl_.world_offset_pos_ != nullptr); - _impl_.world_offset_pos_->Clear(); - } - if (cached_has_bits & 0x00000200u) { - GOOGLE_DCHECK(_impl_.world_offset_angle_ != nullptr); - _impl_.world_offset_angle_->Clear(); - } - } - if (cached_has_bits & 0x0000fc00u) { - ::memset(&_impl_.spawngrouphandle_, 0, static_cast( - reinterpret_cast(&_impl_.worldgroupid_) - - reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.worldgroupid_)); - } - if (cached_has_bits & 0x000f0000u) { - ::memset(&_impl_.manifestincomplete_, 0, static_cast( - reinterpret_cast(&_impl_.spawngroupparenthandle_) - - reinterpret_cast(&_impl_.manifestincomplete_)) + sizeof(_impl_.spawngroupparenthandle_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CNETMsg_SpawnGroup_Load::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string worldname = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_worldname(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CNETMsg_SpawnGroup_Load.worldname"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string entitylumpname = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_entitylumpname(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CNETMsg_SpawnGroup_Load.entitylumpname"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string entityfiltername = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_entityfiltername(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CNETMsg_SpawnGroup_Load.entityfiltername"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 spawngrouphandle = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_spawngrouphandle(&has_bits); - _impl_.spawngrouphandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 spawngroupownerhandle = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_spawngroupownerhandle(&has_bits); - _impl_.spawngroupownerhandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector world_offset_pos = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_world_offset_pos(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle world_offset_angle = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_world_offset_angle(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes spawngroupmanifest = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_spawngroupmanifest(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 tickcount = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_tickcount(&has_bits); - _impl_.tickcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool manifestincomplete = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_manifestincomplete(&has_bits); - _impl_.manifestincomplete_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string localnamefixup = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - auto str = _internal_mutable_localnamefixup(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CNETMsg_SpawnGroup_Load.localnamefixup"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string parentnamefixup = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - auto str = _internal_mutable_parentnamefixup(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CNETMsg_SpawnGroup_Load.parentnamefixup"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 manifestloadpriority = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_manifestloadpriority(&has_bits); - _impl_.manifestloadpriority_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 worldgroupid = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_worldgroupid(&has_bits); - _impl_.worldgroupid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 creationsequence = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_creationsequence(&has_bits); - _impl_.creationsequence_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string savegamefilename = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { - auto str = _internal_mutable_savegamefilename(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CNETMsg_SpawnGroup_Load.savegamefilename"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 spawngroupparenthandle = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_spawngroupparenthandle(&has_bits); - _impl_.spawngroupparenthandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool leveltransition = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_leveltransition(&has_bits); - _impl_.leveltransition_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string worldgroupname = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { - auto str = _internal_mutable_worldgroupname(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CNETMsg_SpawnGroup_Load.worldgroupname"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CNETMsg_SpawnGroup_Load::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SpawnGroup_Load) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string worldname = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_worldname().data(), static_cast(this->_internal_worldname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CNETMsg_SpawnGroup_Load.worldname"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_worldname(), target); - } - - // optional string entitylumpname = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_entitylumpname().data(), static_cast(this->_internal_entitylumpname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CNETMsg_SpawnGroup_Load.entitylumpname"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_entitylumpname(), target); - } - - // optional string entityfiltername = 3; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_entityfiltername().data(), static_cast(this->_internal_entityfiltername().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CNETMsg_SpawnGroup_Load.entityfiltername"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_entityfiltername(), target); - } - - // optional uint32 spawngrouphandle = 4; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_spawngrouphandle(), target); - } - - // optional uint32 spawngroupownerhandle = 5; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_spawngroupownerhandle(), target); - } - - // optional .CMsgVector world_offset_pos = 6; - if (cached_has_bits & 0x00000100u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::world_offset_pos(this), - _Internal::world_offset_pos(this).GetCachedSize(), target, stream); - } - - // optional .CMsgQAngle world_offset_angle = 7; - if (cached_has_bits & 0x00000200u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::world_offset_angle(this), - _Internal::world_offset_angle(this).GetCachedSize(), target, stream); - } - - // optional bytes spawngroupmanifest = 8; - if (cached_has_bits & 0x00000008u) { - target = stream->WriteBytesMaybeAliased( - 8, this->_internal_spawngroupmanifest(), target); - } - - // optional uint32 flags = 9; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_flags(), target); - } - - // optional int32 tickcount = 10; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_tickcount(), target); - } - - // optional bool manifestincomplete = 11; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(11, this->_internal_manifestincomplete(), target); - } - - // optional string localnamefixup = 12; - if (cached_has_bits & 0x00000010u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_localnamefixup().data(), static_cast(this->_internal_localnamefixup().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CNETMsg_SpawnGroup_Load.localnamefixup"); - target = stream->WriteStringMaybeAliased( - 12, this->_internal_localnamefixup(), target); - } - - // optional string parentnamefixup = 13; - if (cached_has_bits & 0x00000020u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_parentnamefixup().data(), static_cast(this->_internal_parentnamefixup().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CNETMsg_SpawnGroup_Load.parentnamefixup"); - target = stream->WriteStringMaybeAliased( - 13, this->_internal_parentnamefixup(), target); - } - - // optional int32 manifestloadpriority = 14; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_manifestloadpriority(), target); - } - - // optional uint32 worldgroupid = 15; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_worldgroupid(), target); - } - - // optional uint32 creationsequence = 16; - if (cached_has_bits & 0x00040000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_creationsequence(), target); - } - - // optional string savegamefilename = 17; - if (cached_has_bits & 0x00000040u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_savegamefilename().data(), static_cast(this->_internal_savegamefilename().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CNETMsg_SpawnGroup_Load.savegamefilename"); - target = stream->WriteStringMaybeAliased( - 17, this->_internal_savegamefilename(), target); - } - - // optional uint32 spawngroupparenthandle = 18; - if (cached_has_bits & 0x00080000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_spawngroupparenthandle(), target); - } - - // optional bool leveltransition = 19; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(19, this->_internal_leveltransition(), target); - } - - // optional string worldgroupname = 20; - if (cached_has_bits & 0x00000080u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_worldgroupname().data(), static_cast(this->_internal_worldgroupname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CNETMsg_SpawnGroup_Load.worldgroupname"); - target = stream->WriteStringMaybeAliased( - 20, this->_internal_worldgroupname(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CNETMsg_SpawnGroup_Load) - return target; -} - -size_t CNETMsg_SpawnGroup_Load::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CNETMsg_SpawnGroup_Load) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string worldname = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_worldname()); - } - - // optional string entitylumpname = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_entitylumpname()); - } - - // optional string entityfiltername = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_entityfiltername()); - } - - // optional bytes spawngroupmanifest = 8; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_spawngroupmanifest()); - } - - // optional string localnamefixup = 12; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_localnamefixup()); - } - - // optional string parentnamefixup = 13; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_parentnamefixup()); - } - - // optional string savegamefilename = 17; - if (cached_has_bits & 0x00000040u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_savegamefilename()); - } - - // optional string worldgroupname = 20; - if (cached_has_bits & 0x00000080u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_worldgroupname()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional .CMsgVector world_offset_pos = 6; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.world_offset_pos_); - } - - // optional .CMsgQAngle world_offset_angle = 7; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.world_offset_angle_); - } - - // optional uint32 spawngrouphandle = 4; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_spawngrouphandle()); - } - - // optional uint32 spawngroupownerhandle = 5; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_spawngroupownerhandle()); - } - - // optional uint32 flags = 9; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - // optional int32 tickcount = 10; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tickcount()); - } - - // optional int32 manifestloadpriority = 14; - if (cached_has_bits & 0x00004000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_manifestloadpriority()); - } - - // optional uint32 worldgroupid = 15; - if (cached_has_bits & 0x00008000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_worldgroupid()); - } - - } - if (cached_has_bits & 0x000f0000u) { - // optional bool manifestincomplete = 11; - if (cached_has_bits & 0x00010000u) { - total_size += 1 + 1; - } - - // optional bool leveltransition = 19; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + 1; - } - - // optional uint32 creationsequence = 16; - if (cached_has_bits & 0x00040000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_creationsequence()); - } - - // optional uint32 spawngroupparenthandle = 18; - if (cached_has_bits & 0x00080000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_spawngroupparenthandle()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_SpawnGroup_Load::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CNETMsg_SpawnGroup_Load::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_SpawnGroup_Load::GetClassData() const { return &_class_data_; } - - -void CNETMsg_SpawnGroup_Load::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CNETMsg_SpawnGroup_Load) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_worldname(from._internal_worldname()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_entitylumpname(from._internal_entitylumpname()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_entityfiltername(from._internal_entityfiltername()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_spawngroupmanifest(from._internal_spawngroupmanifest()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_set_localnamefixup(from._internal_localnamefixup()); - } - if (cached_has_bits & 0x00000020u) { - _this->_internal_set_parentnamefixup(from._internal_parentnamefixup()); - } - if (cached_has_bits & 0x00000040u) { - _this->_internal_set_savegamefilename(from._internal_savegamefilename()); - } - if (cached_has_bits & 0x00000080u) { - _this->_internal_set_worldgroupname(from._internal_worldgroupname()); - } - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_internal_mutable_world_offset_pos()->::CMsgVector::MergeFrom( - from._internal_world_offset_pos()); - } - if (cached_has_bits & 0x00000200u) { - _this->_internal_mutable_world_offset_angle()->::CMsgQAngle::MergeFrom( - from._internal_world_offset_angle()); - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.spawngrouphandle_ = from._impl_.spawngrouphandle_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.spawngroupownerhandle_ = from._impl_.spawngroupownerhandle_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.tickcount_ = from._impl_.tickcount_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.manifestloadpriority_ = from._impl_.manifestloadpriority_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.worldgroupid_ = from._impl_.worldgroupid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x000f0000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.manifestincomplete_ = from._impl_.manifestincomplete_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.leveltransition_ = from._impl_.leveltransition_; - } - if (cached_has_bits & 0x00040000u) { - _this->_impl_.creationsequence_ = from._impl_.creationsequence_; - } - if (cached_has_bits & 0x00080000u) { - _this->_impl_.spawngroupparenthandle_ = from._impl_.spawngroupparenthandle_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CNETMsg_SpawnGroup_Load::CopyFrom(const CNETMsg_SpawnGroup_Load& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_SpawnGroup_Load) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CNETMsg_SpawnGroup_Load::IsInitialized() const { - return true; -} - -void CNETMsg_SpawnGroup_Load::InternalSwap(CNETMsg_SpawnGroup_Load* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.worldname_, lhs_arena, - &other->_impl_.worldname_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.entitylumpname_, lhs_arena, - &other->_impl_.entitylumpname_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.entityfiltername_, lhs_arena, - &other->_impl_.entityfiltername_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.spawngroupmanifest_, lhs_arena, - &other->_impl_.spawngroupmanifest_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.localnamefixup_, lhs_arena, - &other->_impl_.localnamefixup_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.parentnamefixup_, lhs_arena, - &other->_impl_.parentnamefixup_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.savegamefilename_, lhs_arena, - &other->_impl_.savegamefilename_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.worldgroupname_, lhs_arena, - &other->_impl_.worldgroupname_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, _impl_.spawngroupparenthandle_) - + sizeof(CNETMsg_SpawnGroup_Load::_impl_.spawngroupparenthandle_) - - PROTOBUF_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, _impl_.world_offset_pos_)>( - reinterpret_cast(&_impl_.world_offset_pos_), - reinterpret_cast(&other->_impl_.world_offset_pos_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_SpawnGroup_Load::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[20]); -} - -// =================================================================== - -class CNETMsg_SpawnGroup_ManifestUpdate::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_spawngrouphandle(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_spawngroupmanifest(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_manifestincomplete(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CNETMsg_SpawnGroup_ManifestUpdate::CNETMsg_SpawnGroup_ManifestUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CNETMsg_SpawnGroup_ManifestUpdate) -} -CNETMsg_SpawnGroup_ManifestUpdate::CNETMsg_SpawnGroup_ManifestUpdate(const CNETMsg_SpawnGroup_ManifestUpdate& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CNETMsg_SpawnGroup_ManifestUpdate* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.spawngroupmanifest_){} - , decltype(_impl_.spawngrouphandle_){} - , decltype(_impl_.manifestincomplete_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.spawngroupmanifest_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.spawngroupmanifest_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_spawngroupmanifest()) { - _this->_impl_.spawngroupmanifest_.Set(from._internal_spawngroupmanifest(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.spawngrouphandle_, &from._impl_.spawngrouphandle_, - static_cast(reinterpret_cast(&_impl_.manifestincomplete_) - - reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.manifestincomplete_)); - // @@protoc_insertion_point(copy_constructor:CNETMsg_SpawnGroup_ManifestUpdate) -} - -inline void CNETMsg_SpawnGroup_ManifestUpdate::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.spawngroupmanifest_){} - , decltype(_impl_.spawngrouphandle_){0u} - , decltype(_impl_.manifestincomplete_){false} - }; - _impl_.spawngroupmanifest_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.spawngroupmanifest_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CNETMsg_SpawnGroup_ManifestUpdate::~CNETMsg_SpawnGroup_ManifestUpdate() { - // @@protoc_insertion_point(destructor:CNETMsg_SpawnGroup_ManifestUpdate) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CNETMsg_SpawnGroup_ManifestUpdate::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.spawngroupmanifest_.Destroy(); -} - -void CNETMsg_SpawnGroup_ManifestUpdate::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CNETMsg_SpawnGroup_ManifestUpdate::Clear() { -// @@protoc_insertion_point(message_clear_start:CNETMsg_SpawnGroup_ManifestUpdate) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.spawngroupmanifest_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.spawngrouphandle_, 0, static_cast( - reinterpret_cast(&_impl_.manifestincomplete_) - - reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.manifestincomplete_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CNETMsg_SpawnGroup_ManifestUpdate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 spawngrouphandle = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_spawngrouphandle(&has_bits); - _impl_.spawngrouphandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes spawngroupmanifest = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_spawngroupmanifest(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool manifestincomplete = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_manifestincomplete(&has_bits); - _impl_.manifestincomplete_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CNETMsg_SpawnGroup_ManifestUpdate::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SpawnGroup_ManifestUpdate) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 spawngrouphandle = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_spawngrouphandle(), target); - } - - // optional bytes spawngroupmanifest = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_spawngroupmanifest(), target); - } - - // optional bool manifestincomplete = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_manifestincomplete(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CNETMsg_SpawnGroup_ManifestUpdate) - return target; -} - -size_t CNETMsg_SpawnGroup_ManifestUpdate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CNETMsg_SpawnGroup_ManifestUpdate) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional bytes spawngroupmanifest = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_spawngroupmanifest()); - } - - // optional uint32 spawngrouphandle = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_spawngrouphandle()); - } - - // optional bool manifestincomplete = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_SpawnGroup_ManifestUpdate::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CNETMsg_SpawnGroup_ManifestUpdate::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_SpawnGroup_ManifestUpdate::GetClassData() const { return &_class_data_; } - - -void CNETMsg_SpawnGroup_ManifestUpdate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CNETMsg_SpawnGroup_ManifestUpdate) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_spawngroupmanifest(from._internal_spawngroupmanifest()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.spawngrouphandle_ = from._impl_.spawngrouphandle_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.manifestincomplete_ = from._impl_.manifestincomplete_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CNETMsg_SpawnGroup_ManifestUpdate::CopyFrom(const CNETMsg_SpawnGroup_ManifestUpdate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_SpawnGroup_ManifestUpdate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CNETMsg_SpawnGroup_ManifestUpdate::IsInitialized() const { - return true; -} - -void CNETMsg_SpawnGroup_ManifestUpdate::InternalSwap(CNETMsg_SpawnGroup_ManifestUpdate* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.spawngroupmanifest_, lhs_arena, - &other->_impl_.spawngroupmanifest_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CNETMsg_SpawnGroup_ManifestUpdate, _impl_.manifestincomplete_) - + sizeof(CNETMsg_SpawnGroup_ManifestUpdate::_impl_.manifestincomplete_) - - PROTOBUF_FIELD_OFFSET(CNETMsg_SpawnGroup_ManifestUpdate, _impl_.spawngrouphandle_)>( - reinterpret_cast(&_impl_.spawngrouphandle_), - reinterpret_cast(&other->_impl_.spawngrouphandle_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_SpawnGroup_ManifestUpdate::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[21]); -} - -// =================================================================== - -class CNETMsg_SpawnGroup_SetCreationTick::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_spawngrouphandle(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_tickcount(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_creationsequence(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CNETMsg_SpawnGroup_SetCreationTick::CNETMsg_SpawnGroup_SetCreationTick(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CNETMsg_SpawnGroup_SetCreationTick) -} -CNETMsg_SpawnGroup_SetCreationTick::CNETMsg_SpawnGroup_SetCreationTick(const CNETMsg_SpawnGroup_SetCreationTick& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CNETMsg_SpawnGroup_SetCreationTick* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.spawngrouphandle_){} - , decltype(_impl_.tickcount_){} - , decltype(_impl_.creationsequence_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.spawngrouphandle_, &from._impl_.spawngrouphandle_, - static_cast(reinterpret_cast(&_impl_.creationsequence_) - - reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.creationsequence_)); - // @@protoc_insertion_point(copy_constructor:CNETMsg_SpawnGroup_SetCreationTick) -} - -inline void CNETMsg_SpawnGroup_SetCreationTick::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.spawngrouphandle_){0u} - , decltype(_impl_.tickcount_){0} - , decltype(_impl_.creationsequence_){0u} - }; -} - -CNETMsg_SpawnGroup_SetCreationTick::~CNETMsg_SpawnGroup_SetCreationTick() { - // @@protoc_insertion_point(destructor:CNETMsg_SpawnGroup_SetCreationTick) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CNETMsg_SpawnGroup_SetCreationTick::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CNETMsg_SpawnGroup_SetCreationTick::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CNETMsg_SpawnGroup_SetCreationTick::Clear() { -// @@protoc_insertion_point(message_clear_start:CNETMsg_SpawnGroup_SetCreationTick) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.spawngrouphandle_, 0, static_cast( - reinterpret_cast(&_impl_.creationsequence_) - - reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.creationsequence_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CNETMsg_SpawnGroup_SetCreationTick::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 spawngrouphandle = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_spawngrouphandle(&has_bits); - _impl_.spawngrouphandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 tickcount = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_tickcount(&has_bits); - _impl_.tickcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 creationsequence = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_creationsequence(&has_bits); - _impl_.creationsequence_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CNETMsg_SpawnGroup_SetCreationTick::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SpawnGroup_SetCreationTick) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 spawngrouphandle = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_spawngrouphandle(), target); - } - - // optional int32 tickcount = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_tickcount(), target); - } - - // optional uint32 creationsequence = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_creationsequence(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CNETMsg_SpawnGroup_SetCreationTick) - return target; -} - -size_t CNETMsg_SpawnGroup_SetCreationTick::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CNETMsg_SpawnGroup_SetCreationTick) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 spawngrouphandle = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_spawngrouphandle()); - } - - // optional int32 tickcount = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tickcount()); - } - - // optional uint32 creationsequence = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_creationsequence()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_SpawnGroup_SetCreationTick::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CNETMsg_SpawnGroup_SetCreationTick::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_SpawnGroup_SetCreationTick::GetClassData() const { return &_class_data_; } - - -void CNETMsg_SpawnGroup_SetCreationTick::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CNETMsg_SpawnGroup_SetCreationTick) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.spawngrouphandle_ = from._impl_.spawngrouphandle_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.tickcount_ = from._impl_.tickcount_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.creationsequence_ = from._impl_.creationsequence_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CNETMsg_SpawnGroup_SetCreationTick::CopyFrom(const CNETMsg_SpawnGroup_SetCreationTick& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_SpawnGroup_SetCreationTick) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CNETMsg_SpawnGroup_SetCreationTick::IsInitialized() const { - return true; -} - -void CNETMsg_SpawnGroup_SetCreationTick::InternalSwap(CNETMsg_SpawnGroup_SetCreationTick* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CNETMsg_SpawnGroup_SetCreationTick, _impl_.creationsequence_) - + sizeof(CNETMsg_SpawnGroup_SetCreationTick::_impl_.creationsequence_) - - PROTOBUF_FIELD_OFFSET(CNETMsg_SpawnGroup_SetCreationTick, _impl_.spawngrouphandle_)>( - reinterpret_cast(&_impl_.spawngrouphandle_), - reinterpret_cast(&other->_impl_.spawngrouphandle_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_SpawnGroup_SetCreationTick::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[22]); -} - -// =================================================================== - -class CNETMsg_SpawnGroup_Unload::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_spawngrouphandle(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_tickcount(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CNETMsg_SpawnGroup_Unload::CNETMsg_SpawnGroup_Unload(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CNETMsg_SpawnGroup_Unload) -} -CNETMsg_SpawnGroup_Unload::CNETMsg_SpawnGroup_Unload(const CNETMsg_SpawnGroup_Unload& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CNETMsg_SpawnGroup_Unload* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.spawngrouphandle_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.tickcount_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.spawngrouphandle_, &from._impl_.spawngrouphandle_, - static_cast(reinterpret_cast(&_impl_.tickcount_) - - reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.tickcount_)); - // @@protoc_insertion_point(copy_constructor:CNETMsg_SpawnGroup_Unload) -} - -inline void CNETMsg_SpawnGroup_Unload::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.spawngrouphandle_){0u} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.tickcount_){0} - }; -} - -CNETMsg_SpawnGroup_Unload::~CNETMsg_SpawnGroup_Unload() { - // @@protoc_insertion_point(destructor:CNETMsg_SpawnGroup_Unload) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CNETMsg_SpawnGroup_Unload::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CNETMsg_SpawnGroup_Unload::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CNETMsg_SpawnGroup_Unload::Clear() { -// @@protoc_insertion_point(message_clear_start:CNETMsg_SpawnGroup_Unload) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.spawngrouphandle_, 0, static_cast( - reinterpret_cast(&_impl_.tickcount_) - - reinterpret_cast(&_impl_.spawngrouphandle_)) + sizeof(_impl_.tickcount_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CNETMsg_SpawnGroup_Unload::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 spawngrouphandle = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_spawngrouphandle(&has_bits); - _impl_.spawngrouphandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 tickcount = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_tickcount(&has_bits); - _impl_.tickcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CNETMsg_SpawnGroup_Unload::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SpawnGroup_Unload) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 spawngrouphandle = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_spawngrouphandle(), target); - } - - // optional uint32 flags = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_flags(), target); - } - - // optional int32 tickcount = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_tickcount(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CNETMsg_SpawnGroup_Unload) - return target; -} - -size_t CNETMsg_SpawnGroup_Unload::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CNETMsg_SpawnGroup_Unload) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 spawngrouphandle = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_spawngrouphandle()); - } - - // optional uint32 flags = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - // optional int32 tickcount = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_tickcount()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_SpawnGroup_Unload::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CNETMsg_SpawnGroup_Unload::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_SpawnGroup_Unload::GetClassData() const { return &_class_data_; } - - -void CNETMsg_SpawnGroup_Unload::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CNETMsg_SpawnGroup_Unload) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.spawngrouphandle_ = from._impl_.spawngrouphandle_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.tickcount_ = from._impl_.tickcount_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CNETMsg_SpawnGroup_Unload::CopyFrom(const CNETMsg_SpawnGroup_Unload& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_SpawnGroup_Unload) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CNETMsg_SpawnGroup_Unload::IsInitialized() const { - return true; -} - -void CNETMsg_SpawnGroup_Unload::InternalSwap(CNETMsg_SpawnGroup_Unload* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CNETMsg_SpawnGroup_Unload, _impl_.tickcount_) - + sizeof(CNETMsg_SpawnGroup_Unload::_impl_.tickcount_) - - PROTOBUF_FIELD_OFFSET(CNETMsg_SpawnGroup_Unload, _impl_.spawngrouphandle_)>( - reinterpret_cast(&_impl_.spawngrouphandle_), - reinterpret_cast(&other->_impl_.spawngrouphandle_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_SpawnGroup_Unload::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[23]); -} - -// =================================================================== - -class CNETMsg_SpawnGroup_LoadCompleted::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_spawngrouphandle(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CNETMsg_SpawnGroup_LoadCompleted::CNETMsg_SpawnGroup_LoadCompleted(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CNETMsg_SpawnGroup_LoadCompleted) -} -CNETMsg_SpawnGroup_LoadCompleted::CNETMsg_SpawnGroup_LoadCompleted(const CNETMsg_SpawnGroup_LoadCompleted& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CNETMsg_SpawnGroup_LoadCompleted* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.spawngrouphandle_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.spawngrouphandle_ = from._impl_.spawngrouphandle_; - // @@protoc_insertion_point(copy_constructor:CNETMsg_SpawnGroup_LoadCompleted) -} - -inline void CNETMsg_SpawnGroup_LoadCompleted::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.spawngrouphandle_){0u} - }; -} - -CNETMsg_SpawnGroup_LoadCompleted::~CNETMsg_SpawnGroup_LoadCompleted() { - // @@protoc_insertion_point(destructor:CNETMsg_SpawnGroup_LoadCompleted) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CNETMsg_SpawnGroup_LoadCompleted::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CNETMsg_SpawnGroup_LoadCompleted::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CNETMsg_SpawnGroup_LoadCompleted::Clear() { -// @@protoc_insertion_point(message_clear_start:CNETMsg_SpawnGroup_LoadCompleted) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.spawngrouphandle_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CNETMsg_SpawnGroup_LoadCompleted::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 spawngrouphandle = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_spawngrouphandle(&has_bits); - _impl_.spawngrouphandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CNETMsg_SpawnGroup_LoadCompleted::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SpawnGroup_LoadCompleted) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 spawngrouphandle = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_spawngrouphandle(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CNETMsg_SpawnGroup_LoadCompleted) - return target; -} - -size_t CNETMsg_SpawnGroup_LoadCompleted::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CNETMsg_SpawnGroup_LoadCompleted) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 spawngrouphandle = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_spawngrouphandle()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_SpawnGroup_LoadCompleted::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CNETMsg_SpawnGroup_LoadCompleted::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_SpawnGroup_LoadCompleted::GetClassData() const { return &_class_data_; } - - -void CNETMsg_SpawnGroup_LoadCompleted::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CNETMsg_SpawnGroup_LoadCompleted) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_spawngrouphandle()) { - _this->_internal_set_spawngrouphandle(from._internal_spawngrouphandle()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CNETMsg_SpawnGroup_LoadCompleted::CopyFrom(const CNETMsg_SpawnGroup_LoadCompleted& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_SpawnGroup_LoadCompleted) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CNETMsg_SpawnGroup_LoadCompleted::IsInitialized() const { - return true; -} - -void CNETMsg_SpawnGroup_LoadCompleted::InternalSwap(CNETMsg_SpawnGroup_LoadCompleted* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.spawngrouphandle_, other->_impl_.spawngrouphandle_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_SpawnGroup_LoadCompleted::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[24]); -} - -// =================================================================== - -class CSVCMsg_GameSessionConfiguration::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_is_multiplayer(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_is_loadsavegame(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_is_background_map(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_is_headless(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_min_client_limit(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_max_client_limit(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_max_clients(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_tick_interval(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_hostname(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_savegamename(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_s1_mapname(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_gamemode(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_server_ip_address(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_is_localonly(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_no_steam_server(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } - static void set_has_is_transition(HasBits* has_bits) { - (*has_bits)[0] |= 262144u; - } - static void set_has_previouslevel(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_landmarkname(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } -}; - -CSVCMsg_GameSessionConfiguration::CSVCMsg_GameSessionConfiguration(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSVCMsg_GameSessionConfiguration) -} -CSVCMsg_GameSessionConfiguration::CSVCMsg_GameSessionConfiguration(const CSVCMsg_GameSessionConfiguration& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSVCMsg_GameSessionConfiguration* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hostname_){} - , decltype(_impl_.savegamename_){} - , decltype(_impl_.s1_mapname_){} - , decltype(_impl_.gamemode_){} - , decltype(_impl_.server_ip_address_){} - , decltype(_impl_.data_){} - , decltype(_impl_.previouslevel_){} - , decltype(_impl_.landmarkname_){} - , decltype(_impl_.is_multiplayer_){} - , decltype(_impl_.is_loadsavegame_){} - , decltype(_impl_.is_background_map_){} - , decltype(_impl_.is_headless_){} - , decltype(_impl_.min_client_limit_){} - , decltype(_impl_.max_client_limit_){} - , decltype(_impl_.max_clients_){} - , decltype(_impl_.tick_interval_){} - , decltype(_impl_.is_localonly_){} - , decltype(_impl_.no_steam_server_){} - , decltype(_impl_.is_transition_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.hostname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.hostname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_hostname()) { - _this->_impl_.hostname_.Set(from._internal_hostname(), - _this->GetArenaForAllocation()); - } - _impl_.savegamename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.savegamename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_savegamename()) { - _this->_impl_.savegamename_.Set(from._internal_savegamename(), - _this->GetArenaForAllocation()); - } - _impl_.s1_mapname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.s1_mapname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_s1_mapname()) { - _this->_impl_.s1_mapname_.Set(from._internal_s1_mapname(), - _this->GetArenaForAllocation()); - } - _impl_.gamemode_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gamemode_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_gamemode()) { - _this->_impl_.gamemode_.Set(from._internal_gamemode(), - _this->GetArenaForAllocation()); - } - _impl_.server_ip_address_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.server_ip_address_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_server_ip_address()) { - _this->_impl_.server_ip_address_.Set(from._internal_server_ip_address(), - _this->GetArenaForAllocation()); - } - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - _impl_.previouslevel_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.previouslevel_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_previouslevel()) { - _this->_impl_.previouslevel_.Set(from._internal_previouslevel(), - _this->GetArenaForAllocation()); - } - _impl_.landmarkname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.landmarkname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_landmarkname()) { - _this->_impl_.landmarkname_.Set(from._internal_landmarkname(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.is_multiplayer_, &from._impl_.is_multiplayer_, - static_cast(reinterpret_cast(&_impl_.is_transition_) - - reinterpret_cast(&_impl_.is_multiplayer_)) + sizeof(_impl_.is_transition_)); - // @@protoc_insertion_point(copy_constructor:CSVCMsg_GameSessionConfiguration) -} - -inline void CSVCMsg_GameSessionConfiguration::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hostname_){} - , decltype(_impl_.savegamename_){} - , decltype(_impl_.s1_mapname_){} - , decltype(_impl_.gamemode_){} - , decltype(_impl_.server_ip_address_){} - , decltype(_impl_.data_){} - , decltype(_impl_.previouslevel_){} - , decltype(_impl_.landmarkname_){} - , decltype(_impl_.is_multiplayer_){false} - , decltype(_impl_.is_loadsavegame_){false} - , decltype(_impl_.is_background_map_){false} - , decltype(_impl_.is_headless_){false} - , decltype(_impl_.min_client_limit_){0u} - , decltype(_impl_.max_client_limit_){0u} - , decltype(_impl_.max_clients_){0u} - , decltype(_impl_.tick_interval_){0u} - , decltype(_impl_.is_localonly_){false} - , decltype(_impl_.no_steam_server_){false} - , decltype(_impl_.is_transition_){false} - }; - _impl_.hostname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.hostname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.savegamename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.savegamename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.s1_mapname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.s1_mapname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gamemode_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gamemode_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.server_ip_address_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.server_ip_address_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.previouslevel_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.previouslevel_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.landmarkname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.landmarkname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CSVCMsg_GameSessionConfiguration::~CSVCMsg_GameSessionConfiguration() { - // @@protoc_insertion_point(destructor:CSVCMsg_GameSessionConfiguration) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSVCMsg_GameSessionConfiguration::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.hostname_.Destroy(); - _impl_.savegamename_.Destroy(); - _impl_.s1_mapname_.Destroy(); - _impl_.gamemode_.Destroy(); - _impl_.server_ip_address_.Destroy(); - _impl_.data_.Destroy(); - _impl_.previouslevel_.Destroy(); - _impl_.landmarkname_.Destroy(); -} - -void CSVCMsg_GameSessionConfiguration::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSVCMsg_GameSessionConfiguration::Clear() { -// @@protoc_insertion_point(message_clear_start:CSVCMsg_GameSessionConfiguration) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _impl_.hostname_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.savegamename_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.s1_mapname_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.gamemode_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000010u) { - _impl_.server_ip_address_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000020u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000040u) { - _impl_.previouslevel_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000080u) { - _impl_.landmarkname_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.is_multiplayer_, 0, static_cast( - reinterpret_cast(&_impl_.tick_interval_) - - reinterpret_cast(&_impl_.is_multiplayer_)) + sizeof(_impl_.tick_interval_)); - } - if (cached_has_bits & 0x00070000u) { - ::memset(&_impl_.is_localonly_, 0, static_cast( - reinterpret_cast(&_impl_.is_transition_) - - reinterpret_cast(&_impl_.is_localonly_)) + sizeof(_impl_.is_transition_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSVCMsg_GameSessionConfiguration::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool is_multiplayer = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_is_multiplayer(&has_bits); - _impl_.is_multiplayer_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_loadsavegame = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_is_loadsavegame(&has_bits); - _impl_.is_loadsavegame_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_background_map = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_is_background_map(&has_bits); - _impl_.is_background_map_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_headless = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_is_headless(&has_bits); - _impl_.is_headless_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 min_client_limit = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_min_client_limit(&has_bits); - _impl_.min_client_limit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 max_client_limit = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_max_client_limit(&has_bits); - _impl_.max_client_limit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 max_clients = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_max_clients(&has_bits); - _impl_.max_clients_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 tick_interval = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { - _Internal::set_has_tick_interval(&has_bits); - _impl_.tick_interval_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional string hostname = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_hostname(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_GameSessionConfiguration.hostname"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string savegamename = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_savegamename(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_GameSessionConfiguration.savegamename"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string s1_mapname = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_s1_mapname(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_GameSessionConfiguration.s1_mapname"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string gamemode = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - auto str = _internal_mutable_gamemode(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_GameSessionConfiguration.gamemode"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string server_ip_address = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - auto str = _internal_mutable_server_ip_address(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_GameSessionConfiguration.server_ip_address"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bytes data = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_localonly = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_is_localonly(&has_bits); - _impl_.is_localonly_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool is_transition = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_is_transition(&has_bits); - _impl_.is_transition_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string previouslevel = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { - auto str = _internal_mutable_previouslevel(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_GameSessionConfiguration.previouslevel"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string landmarkname = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { - auto str = _internal_mutable_landmarkname(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CSVCMsg_GameSessionConfiguration.landmarkname"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool no_steam_server = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_no_steam_server(&has_bits); - _impl_.no_steam_server_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSVCMsg_GameSessionConfiguration::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_GameSessionConfiguration) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool is_multiplayer = 1; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_is_multiplayer(), target); - } - - // optional bool is_loadsavegame = 2; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_is_loadsavegame(), target); - } - - // optional bool is_background_map = 3; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_is_background_map(), target); - } - - // optional bool is_headless = 4; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_is_headless(), target); - } - - // optional uint32 min_client_limit = 5; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_min_client_limit(), target); - } - - // optional uint32 max_client_limit = 6; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_max_client_limit(), target); - } - - // optional uint32 max_clients = 7; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_max_clients(), target); - } - - // optional fixed32 tick_interval = 8; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(8, this->_internal_tick_interval(), target); - } - - // optional string hostname = 9; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_hostname().data(), static_cast(this->_internal_hostname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_GameSessionConfiguration.hostname"); - target = stream->WriteStringMaybeAliased( - 9, this->_internal_hostname(), target); - } - - // optional string savegamename = 10; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_savegamename().data(), static_cast(this->_internal_savegamename().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_GameSessionConfiguration.savegamename"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_savegamename(), target); - } - - // optional string s1_mapname = 11; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_s1_mapname().data(), static_cast(this->_internal_s1_mapname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_GameSessionConfiguration.s1_mapname"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_s1_mapname(), target); - } - - // optional string gamemode = 12; - if (cached_has_bits & 0x00000008u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_gamemode().data(), static_cast(this->_internal_gamemode().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_GameSessionConfiguration.gamemode"); - target = stream->WriteStringMaybeAliased( - 12, this->_internal_gamemode(), target); - } - - // optional string server_ip_address = 13; - if (cached_has_bits & 0x00000010u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_server_ip_address().data(), static_cast(this->_internal_server_ip_address().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_GameSessionConfiguration.server_ip_address"); - target = stream->WriteStringMaybeAliased( - 13, this->_internal_server_ip_address(), target); - } - - // optional bytes data = 14; - if (cached_has_bits & 0x00000020u) { - target = stream->WriteBytesMaybeAliased( - 14, this->_internal_data(), target); - } - - // optional bool is_localonly = 15; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(15, this->_internal_is_localonly(), target); - } - - // optional bool is_transition = 16; - if (cached_has_bits & 0x00040000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(16, this->_internal_is_transition(), target); - } - - // optional string previouslevel = 17; - if (cached_has_bits & 0x00000040u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_previouslevel().data(), static_cast(this->_internal_previouslevel().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_GameSessionConfiguration.previouslevel"); - target = stream->WriteStringMaybeAliased( - 17, this->_internal_previouslevel(), target); - } - - // optional string landmarkname = 18; - if (cached_has_bits & 0x00000080u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_landmarkname().data(), static_cast(this->_internal_landmarkname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CSVCMsg_GameSessionConfiguration.landmarkname"); - target = stream->WriteStringMaybeAliased( - 18, this->_internal_landmarkname(), target); - } - - // optional bool no_steam_server = 19; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(19, this->_internal_no_steam_server(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_GameSessionConfiguration) - return target; -} - -size_t CSVCMsg_GameSessionConfiguration::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSVCMsg_GameSessionConfiguration) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string hostname = 9; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_hostname()); - } - - // optional string savegamename = 10; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_savegamename()); - } - - // optional string s1_mapname = 11; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_s1_mapname()); - } - - // optional string gamemode = 12; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_gamemode()); - } - - // optional string server_ip_address = 13; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_server_ip_address()); - } - - // optional bytes data = 14; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - // optional string previouslevel = 17; - if (cached_has_bits & 0x00000040u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_previouslevel()); - } - - // optional string landmarkname = 18; - if (cached_has_bits & 0x00000080u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_landmarkname()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional bool is_multiplayer = 1; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 1; - } - - // optional bool is_loadsavegame = 2; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 1; - } - - // optional bool is_background_map = 3; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 1; - } - - // optional bool is_headless = 4; - if (cached_has_bits & 0x00000800u) { - total_size += 1 + 1; - } - - // optional uint32 min_client_limit = 5; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_min_client_limit()); - } - - // optional uint32 max_client_limit = 6; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_max_client_limit()); - } - - // optional uint32 max_clients = 7; - if (cached_has_bits & 0x00004000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_max_clients()); - } - - // optional fixed32 tick_interval = 8; - if (cached_has_bits & 0x00008000u) { - total_size += 1 + 4; - } - - } - if (cached_has_bits & 0x00070000u) { - // optional bool is_localonly = 15; - if (cached_has_bits & 0x00010000u) { - total_size += 1 + 1; - } - - // optional bool no_steam_server = 19; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + 1; - } - - // optional bool is_transition = 16; - if (cached_has_bits & 0x00040000u) { - total_size += 2 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSVCMsg_GameSessionConfiguration::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSVCMsg_GameSessionConfiguration::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSVCMsg_GameSessionConfiguration::GetClassData() const { return &_class_data_; } - - -void CSVCMsg_GameSessionConfiguration::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSVCMsg_GameSessionConfiguration) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_hostname(from._internal_hostname()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_savegamename(from._internal_savegamename()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_s1_mapname(from._internal_s1_mapname()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_gamemode(from._internal_gamemode()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_set_server_ip_address(from._internal_server_ip_address()); - } - if (cached_has_bits & 0x00000020u) { - _this->_internal_set_data(from._internal_data()); - } - if (cached_has_bits & 0x00000040u) { - _this->_internal_set_previouslevel(from._internal_previouslevel()); - } - if (cached_has_bits & 0x00000080u) { - _this->_internal_set_landmarkname(from._internal_landmarkname()); - } - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.is_multiplayer_ = from._impl_.is_multiplayer_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.is_loadsavegame_ = from._impl_.is_loadsavegame_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.is_background_map_ = from._impl_.is_background_map_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.is_headless_ = from._impl_.is_headless_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.min_client_limit_ = from._impl_.min_client_limit_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.max_client_limit_ = from._impl_.max_client_limit_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.max_clients_ = from._impl_.max_clients_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.tick_interval_ = from._impl_.tick_interval_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00070000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.is_localonly_ = from._impl_.is_localonly_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.no_steam_server_ = from._impl_.no_steam_server_; - } - if (cached_has_bits & 0x00040000u) { - _this->_impl_.is_transition_ = from._impl_.is_transition_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSVCMsg_GameSessionConfiguration::CopyFrom(const CSVCMsg_GameSessionConfiguration& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSVCMsg_GameSessionConfiguration) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSVCMsg_GameSessionConfiguration::IsInitialized() const { - return true; -} - -void CSVCMsg_GameSessionConfiguration::InternalSwap(CSVCMsg_GameSessionConfiguration* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.hostname_, lhs_arena, - &other->_impl_.hostname_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.savegamename_, lhs_arena, - &other->_impl_.savegamename_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.s1_mapname_, lhs_arena, - &other->_impl_.s1_mapname_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.gamemode_, lhs_arena, - &other->_impl_.gamemode_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.server_ip_address_, lhs_arena, - &other->_impl_.server_ip_address_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.previouslevel_, lhs_arena, - &other->_impl_.previouslevel_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.landmarkname_, lhs_arena, - &other->_impl_.landmarkname_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, _impl_.is_transition_) - + sizeof(CSVCMsg_GameSessionConfiguration::_impl_.is_transition_) - - PROTOBUF_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, _impl_.is_multiplayer_)>( - reinterpret_cast(&_impl_.is_multiplayer_), - reinterpret_cast(&other->_impl_.is_multiplayer_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSVCMsg_GameSessionConfiguration::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[25]); -} - -// =================================================================== - -class CNETMsg_DebugOverlay::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_etype(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CNETMsg_DebugOverlay::CNETMsg_DebugOverlay(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CNETMsg_DebugOverlay) -} -CNETMsg_DebugOverlay::CNETMsg_DebugOverlay(const CNETMsg_DebugOverlay& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CNETMsg_DebugOverlay* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.vectors_){from._impl_.vectors_} - , decltype(_impl_.colors_){from._impl_.colors_} - , decltype(_impl_.dimensions_){from._impl_.dimensions_} - , decltype(_impl_.times_){from._impl_.times_} - , decltype(_impl_.bools_){from._impl_.bools_} - , decltype(_impl_.uint64s_){from._impl_.uint64s_} - , decltype(_impl_.strings_){from._impl_.strings_} - , decltype(_impl_.etype_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.etype_ = from._impl_.etype_; - // @@protoc_insertion_point(copy_constructor:CNETMsg_DebugOverlay) -} - -inline void CNETMsg_DebugOverlay::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.vectors_){arena} - , decltype(_impl_.colors_){arena} - , decltype(_impl_.dimensions_){arena} - , decltype(_impl_.times_){arena} - , decltype(_impl_.bools_){arena} - , decltype(_impl_.uint64s_){arena} - , decltype(_impl_.strings_){arena} - , decltype(_impl_.etype_){0} - }; -} - -CNETMsg_DebugOverlay::~CNETMsg_DebugOverlay() { - // @@protoc_insertion_point(destructor:CNETMsg_DebugOverlay) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CNETMsg_DebugOverlay::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.vectors_.~RepeatedPtrField(); - _impl_.colors_.~RepeatedPtrField(); - _impl_.dimensions_.~RepeatedField(); - _impl_.times_.~RepeatedField(); - _impl_.bools_.~RepeatedField(); - _impl_.uint64s_.~RepeatedField(); - _impl_.strings_.~RepeatedPtrField(); -} - -void CNETMsg_DebugOverlay::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CNETMsg_DebugOverlay::Clear() { -// @@protoc_insertion_point(message_clear_start:CNETMsg_DebugOverlay) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.vectors_.Clear(); - _impl_.colors_.Clear(); - _impl_.dimensions_.Clear(); - _impl_.times_.Clear(); - _impl_.bools_.Clear(); - _impl_.uint64s_.Clear(); - _impl_.strings_.Clear(); - _impl_.etype_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CNETMsg_DebugOverlay::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 etype = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_etype(&has_bits); - _impl_.etype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgVector vectors = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_vectors(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CMsgRGBA colors = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_colors(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // repeated float dimensions = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_dimensions(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(float); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<37>(ptr)); - } else if (static_cast(tag) == 34) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_dimensions(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated float times = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_times(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(float); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<45>(ptr)); - } else if (static_cast(tag) == 42) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_times(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated bool bools = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_bools(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<48>(ptr)); - } else if (static_cast(tag) == 50) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedBoolParser(_internal_mutable_bools(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint64 uint64s = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_uint64s(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<56>(ptr)); - } else if (static_cast(tag) == 58) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_uint64s(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated string strings = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_strings(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CNETMsg_DebugOverlay.strings"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CNETMsg_DebugOverlay::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_DebugOverlay) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 etype = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_etype(), target); - } - - // repeated .CMsgVector vectors = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_vectors_size()); i < n; i++) { - const auto& repfield = this->_internal_vectors(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CMsgRGBA colors = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_colors_size()); i < n; i++) { - const auto& repfield = this->_internal_colors(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated float dimensions = 4; - for (int i = 0, n = this->_internal_dimensions_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_dimensions(i), target); - } - - // repeated float times = 5; - for (int i = 0, n = this->_internal_times_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_times(i), target); - } - - // repeated bool bools = 6; - for (int i = 0, n = this->_internal_bools_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_bools(i), target); - } - - // repeated uint64 uint64s = 7; - for (int i = 0, n = this->_internal_uint64s_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_uint64s(i), target); - } - - // repeated string strings = 8; - for (int i = 0, n = this->_internal_strings_size(); i < n; i++) { - const auto& s = this->_internal_strings(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CNETMsg_DebugOverlay.strings"); - target = stream->WriteString(8, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CNETMsg_DebugOverlay) - return target; -} - -size_t CNETMsg_DebugOverlay::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CNETMsg_DebugOverlay) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgVector vectors = 2; - total_size += 1UL * this->_internal_vectors_size(); - for (const auto& msg : this->_impl_.vectors_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CMsgRGBA colors = 3; - total_size += 1UL * this->_internal_colors_size(); - for (const auto& msg : this->_impl_.colors_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated float dimensions = 4; - { - unsigned int count = static_cast(this->_internal_dimensions_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_dimensions_size()); - total_size += data_size; - } - - // repeated float times = 5; - { - unsigned int count = static_cast(this->_internal_times_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_times_size()); - total_size += data_size; - } - - // repeated bool bools = 6; - { - unsigned int count = static_cast(this->_internal_bools_size()); - size_t data_size = 1UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_bools_size()); - total_size += data_size; - } - - // repeated uint64 uint64s = 7; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt64Size(this->_impl_.uint64s_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_uint64s_size()); - total_size += data_size; - } - - // repeated string strings = 8; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.strings_.size()); - for (int i = 0, n = _impl_.strings_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.strings_.Get(i)); - } - - // optional int32 etype = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_etype()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CNETMsg_DebugOverlay::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CNETMsg_DebugOverlay::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CNETMsg_DebugOverlay::GetClassData() const { return &_class_data_; } - - -void CNETMsg_DebugOverlay::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CNETMsg_DebugOverlay) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.vectors_.MergeFrom(from._impl_.vectors_); - _this->_impl_.colors_.MergeFrom(from._impl_.colors_); - _this->_impl_.dimensions_.MergeFrom(from._impl_.dimensions_); - _this->_impl_.times_.MergeFrom(from._impl_.times_); - _this->_impl_.bools_.MergeFrom(from._impl_.bools_); - _this->_impl_.uint64s_.MergeFrom(from._impl_.uint64s_); - _this->_impl_.strings_.MergeFrom(from._impl_.strings_); - if (from._internal_has_etype()) { - _this->_internal_set_etype(from._internal_etype()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CNETMsg_DebugOverlay::CopyFrom(const CNETMsg_DebugOverlay& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CNETMsg_DebugOverlay) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CNETMsg_DebugOverlay::IsInitialized() const { - return true; -} - -void CNETMsg_DebugOverlay::InternalSwap(CNETMsg_DebugOverlay* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.vectors_.InternalSwap(&other->_impl_.vectors_); - _impl_.colors_.InternalSwap(&other->_impl_.colors_); - _impl_.dimensions_.InternalSwap(&other->_impl_.dimensions_); - _impl_.times_.InternalSwap(&other->_impl_.times_); - _impl_.bools_.InternalSwap(&other->_impl_.bools_); - _impl_.uint64s_.InternalSwap(&other->_impl_.uint64s_); - _impl_.strings_.InternalSwap(&other->_impl_.strings_); - swap(_impl_.etype_, other->_impl_.etype_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CNETMsg_DebugOverlay::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networkbasetypes_2eproto_getter, &descriptor_table_networkbasetypes_2eproto_once, - file_level_metadata_networkbasetypes_2eproto[26]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CMsgVector* -Arena::CreateMaybeMessage< ::CMsgVector >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgVector >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgVector2D* -Arena::CreateMaybeMessage< ::CMsgVector2D >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgVector2D >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgQAngle* -Arena::CreateMaybeMessage< ::CMsgQAngle >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgQAngle >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgQuaternion* -Arena::CreateMaybeMessage< ::CMsgQuaternion >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgQuaternion >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTransform* -Arena::CreateMaybeMessage< ::CMsgTransform >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTransform >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgRGBA* -Arena::CreateMaybeMessage< ::CMsgRGBA >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgRGBA >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgPlayerInfo* -Arena::CreateMaybeMessage< ::CMsgPlayerInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgPlayerInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CEntityMsg* -Arena::CreateMaybeMessage< ::CEntityMsg >(Arena* arena) { - return Arena::CreateMessageInternal< ::CEntityMsg >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsg_CVars_CVar* -Arena::CreateMaybeMessage< ::CMsg_CVars_CVar >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsg_CVars_CVar >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsg_CVars* -Arena::CreateMaybeMessage< ::CMsg_CVars >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsg_CVars >(arena); -} -template<> PROTOBUF_NOINLINE ::CNETMsg_NOP* -Arena::CreateMaybeMessage< ::CNETMsg_NOP >(Arena* arena) { - return Arena::CreateMessageInternal< ::CNETMsg_NOP >(arena); -} -template<> PROTOBUF_NOINLINE ::CNETMsg_SplitScreenUser* -Arena::CreateMaybeMessage< ::CNETMsg_SplitScreenUser >(Arena* arena) { - return Arena::CreateMessageInternal< ::CNETMsg_SplitScreenUser >(arena); -} -template<> PROTOBUF_NOINLINE ::CNETMsg_Tick* -Arena::CreateMaybeMessage< ::CNETMsg_Tick >(Arena* arena) { - return Arena::CreateMessageInternal< ::CNETMsg_Tick >(arena); -} -template<> PROTOBUF_NOINLINE ::CNETMsg_StringCmd* -Arena::CreateMaybeMessage< ::CNETMsg_StringCmd >(Arena* arena) { - return Arena::CreateMessageInternal< ::CNETMsg_StringCmd >(arena); -} -template<> PROTOBUF_NOINLINE ::CNETMsg_SetConVar* -Arena::CreateMaybeMessage< ::CNETMsg_SetConVar >(Arena* arena) { - return Arena::CreateMessageInternal< ::CNETMsg_SetConVar >(arena); -} -template<> PROTOBUF_NOINLINE ::CNETMsg_SignonState* -Arena::CreateMaybeMessage< ::CNETMsg_SignonState >(Arena* arena) { - return Arena::CreateMessageInternal< ::CNETMsg_SignonState >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_GameEvent_key_t* -Arena::CreateMaybeMessage< ::CSVCMsg_GameEvent_key_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_GameEvent_key_t >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_GameEvent* -Arena::CreateMaybeMessage< ::CSVCMsg_GameEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_GameEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsgList_GameEvents_event_t* -Arena::CreateMaybeMessage< ::CSVCMsgList_GameEvents_event_t >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsgList_GameEvents_event_t >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsgList_GameEvents* -Arena::CreateMaybeMessage< ::CSVCMsgList_GameEvents >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsgList_GameEvents >(arena); -} -template<> PROTOBUF_NOINLINE ::CNETMsg_SpawnGroup_Load* -Arena::CreateMaybeMessage< ::CNETMsg_SpawnGroup_Load >(Arena* arena) { - return Arena::CreateMessageInternal< ::CNETMsg_SpawnGroup_Load >(arena); -} -template<> PROTOBUF_NOINLINE ::CNETMsg_SpawnGroup_ManifestUpdate* -Arena::CreateMaybeMessage< ::CNETMsg_SpawnGroup_ManifestUpdate >(Arena* arena) { - return Arena::CreateMessageInternal< ::CNETMsg_SpawnGroup_ManifestUpdate >(arena); -} -template<> PROTOBUF_NOINLINE ::CNETMsg_SpawnGroup_SetCreationTick* -Arena::CreateMaybeMessage< ::CNETMsg_SpawnGroup_SetCreationTick >(Arena* arena) { - return Arena::CreateMessageInternal< ::CNETMsg_SpawnGroup_SetCreationTick >(arena); -} -template<> PROTOBUF_NOINLINE ::CNETMsg_SpawnGroup_Unload* -Arena::CreateMaybeMessage< ::CNETMsg_SpawnGroup_Unload >(Arena* arena) { - return Arena::CreateMessageInternal< ::CNETMsg_SpawnGroup_Unload >(arena); -} -template<> PROTOBUF_NOINLINE ::CNETMsg_SpawnGroup_LoadCompleted* -Arena::CreateMaybeMessage< ::CNETMsg_SpawnGroup_LoadCompleted >(Arena* arena) { - return Arena::CreateMessageInternal< ::CNETMsg_SpawnGroup_LoadCompleted >(arena); -} -template<> PROTOBUF_NOINLINE ::CSVCMsg_GameSessionConfiguration* -Arena::CreateMaybeMessage< ::CSVCMsg_GameSessionConfiguration >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSVCMsg_GameSessionConfiguration >(arena); -} -template<> PROTOBUF_NOINLINE ::CNETMsg_DebugOverlay* -Arena::CreateMaybeMessage< ::CNETMsg_DebugOverlay >(Arena* arena) { - return Arena::CreateMessageInternal< ::CNETMsg_DebugOverlay >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/networkbasetypes.pb.h b/protobuf/generated/networkbasetypes.pb.h deleted file mode 100644 index a9ac69a66..000000000 --- a/protobuf/generated/networkbasetypes.pb.h +++ /dev/null @@ -1,11438 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: networkbasetypes.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_networkbasetypes_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_networkbasetypes_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "network_connection.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_networkbasetypes_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_networkbasetypes_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_networkbasetypes_2eproto; -class CEntityMsg; -struct CEntityMsgDefaultTypeInternal; -extern CEntityMsgDefaultTypeInternal _CEntityMsg_default_instance_; -class CMsgPlayerInfo; -struct CMsgPlayerInfoDefaultTypeInternal; -extern CMsgPlayerInfoDefaultTypeInternal _CMsgPlayerInfo_default_instance_; -class CMsgQAngle; -struct CMsgQAngleDefaultTypeInternal; -extern CMsgQAngleDefaultTypeInternal _CMsgQAngle_default_instance_; -class CMsgQuaternion; -struct CMsgQuaternionDefaultTypeInternal; -extern CMsgQuaternionDefaultTypeInternal _CMsgQuaternion_default_instance_; -class CMsgRGBA; -struct CMsgRGBADefaultTypeInternal; -extern CMsgRGBADefaultTypeInternal _CMsgRGBA_default_instance_; -class CMsgTransform; -struct CMsgTransformDefaultTypeInternal; -extern CMsgTransformDefaultTypeInternal _CMsgTransform_default_instance_; -class CMsgVector; -struct CMsgVectorDefaultTypeInternal; -extern CMsgVectorDefaultTypeInternal _CMsgVector_default_instance_; -class CMsgVector2D; -struct CMsgVector2DDefaultTypeInternal; -extern CMsgVector2DDefaultTypeInternal _CMsgVector2D_default_instance_; -class CMsg_CVars; -struct CMsg_CVarsDefaultTypeInternal; -extern CMsg_CVarsDefaultTypeInternal _CMsg_CVars_default_instance_; -class CMsg_CVars_CVar; -struct CMsg_CVars_CVarDefaultTypeInternal; -extern CMsg_CVars_CVarDefaultTypeInternal _CMsg_CVars_CVar_default_instance_; -class CNETMsg_DebugOverlay; -struct CNETMsg_DebugOverlayDefaultTypeInternal; -extern CNETMsg_DebugOverlayDefaultTypeInternal _CNETMsg_DebugOverlay_default_instance_; -class CNETMsg_NOP; -struct CNETMsg_NOPDefaultTypeInternal; -extern CNETMsg_NOPDefaultTypeInternal _CNETMsg_NOP_default_instance_; -class CNETMsg_SetConVar; -struct CNETMsg_SetConVarDefaultTypeInternal; -extern CNETMsg_SetConVarDefaultTypeInternal _CNETMsg_SetConVar_default_instance_; -class CNETMsg_SignonState; -struct CNETMsg_SignonStateDefaultTypeInternal; -extern CNETMsg_SignonStateDefaultTypeInternal _CNETMsg_SignonState_default_instance_; -class CNETMsg_SpawnGroup_Load; -struct CNETMsg_SpawnGroup_LoadDefaultTypeInternal; -extern CNETMsg_SpawnGroup_LoadDefaultTypeInternal _CNETMsg_SpawnGroup_Load_default_instance_; -class CNETMsg_SpawnGroup_LoadCompleted; -struct CNETMsg_SpawnGroup_LoadCompletedDefaultTypeInternal; -extern CNETMsg_SpawnGroup_LoadCompletedDefaultTypeInternal _CNETMsg_SpawnGroup_LoadCompleted_default_instance_; -class CNETMsg_SpawnGroup_ManifestUpdate; -struct CNETMsg_SpawnGroup_ManifestUpdateDefaultTypeInternal; -extern CNETMsg_SpawnGroup_ManifestUpdateDefaultTypeInternal _CNETMsg_SpawnGroup_ManifestUpdate_default_instance_; -class CNETMsg_SpawnGroup_SetCreationTick; -struct CNETMsg_SpawnGroup_SetCreationTickDefaultTypeInternal; -extern CNETMsg_SpawnGroup_SetCreationTickDefaultTypeInternal _CNETMsg_SpawnGroup_SetCreationTick_default_instance_; -class CNETMsg_SpawnGroup_Unload; -struct CNETMsg_SpawnGroup_UnloadDefaultTypeInternal; -extern CNETMsg_SpawnGroup_UnloadDefaultTypeInternal _CNETMsg_SpawnGroup_Unload_default_instance_; -class CNETMsg_SplitScreenUser; -struct CNETMsg_SplitScreenUserDefaultTypeInternal; -extern CNETMsg_SplitScreenUserDefaultTypeInternal _CNETMsg_SplitScreenUser_default_instance_; -class CNETMsg_StringCmd; -struct CNETMsg_StringCmdDefaultTypeInternal; -extern CNETMsg_StringCmdDefaultTypeInternal _CNETMsg_StringCmd_default_instance_; -class CNETMsg_Tick; -struct CNETMsg_TickDefaultTypeInternal; -extern CNETMsg_TickDefaultTypeInternal _CNETMsg_Tick_default_instance_; -class CSVCMsgList_GameEvents; -struct CSVCMsgList_GameEventsDefaultTypeInternal; -extern CSVCMsgList_GameEventsDefaultTypeInternal _CSVCMsgList_GameEvents_default_instance_; -class CSVCMsgList_GameEvents_event_t; -struct CSVCMsgList_GameEvents_event_tDefaultTypeInternal; -extern CSVCMsgList_GameEvents_event_tDefaultTypeInternal _CSVCMsgList_GameEvents_event_t_default_instance_; -class CSVCMsg_GameEvent; -struct CSVCMsg_GameEventDefaultTypeInternal; -extern CSVCMsg_GameEventDefaultTypeInternal _CSVCMsg_GameEvent_default_instance_; -class CSVCMsg_GameEvent_key_t; -struct CSVCMsg_GameEvent_key_tDefaultTypeInternal; -extern CSVCMsg_GameEvent_key_tDefaultTypeInternal _CSVCMsg_GameEvent_key_t_default_instance_; -class CSVCMsg_GameSessionConfiguration; -struct CSVCMsg_GameSessionConfigurationDefaultTypeInternal; -extern CSVCMsg_GameSessionConfigurationDefaultTypeInternal _CSVCMsg_GameSessionConfiguration_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CEntityMsg* Arena::CreateMaybeMessage<::CEntityMsg>(Arena*); -template<> ::CMsgPlayerInfo* Arena::CreateMaybeMessage<::CMsgPlayerInfo>(Arena*); -template<> ::CMsgQAngle* Arena::CreateMaybeMessage<::CMsgQAngle>(Arena*); -template<> ::CMsgQuaternion* Arena::CreateMaybeMessage<::CMsgQuaternion>(Arena*); -template<> ::CMsgRGBA* Arena::CreateMaybeMessage<::CMsgRGBA>(Arena*); -template<> ::CMsgTransform* Arena::CreateMaybeMessage<::CMsgTransform>(Arena*); -template<> ::CMsgVector* Arena::CreateMaybeMessage<::CMsgVector>(Arena*); -template<> ::CMsgVector2D* Arena::CreateMaybeMessage<::CMsgVector2D>(Arena*); -template<> ::CMsg_CVars* Arena::CreateMaybeMessage<::CMsg_CVars>(Arena*); -template<> ::CMsg_CVars_CVar* Arena::CreateMaybeMessage<::CMsg_CVars_CVar>(Arena*); -template<> ::CNETMsg_DebugOverlay* Arena::CreateMaybeMessage<::CNETMsg_DebugOverlay>(Arena*); -template<> ::CNETMsg_NOP* Arena::CreateMaybeMessage<::CNETMsg_NOP>(Arena*); -template<> ::CNETMsg_SetConVar* Arena::CreateMaybeMessage<::CNETMsg_SetConVar>(Arena*); -template<> ::CNETMsg_SignonState* Arena::CreateMaybeMessage<::CNETMsg_SignonState>(Arena*); -template<> ::CNETMsg_SpawnGroup_Load* Arena::CreateMaybeMessage<::CNETMsg_SpawnGroup_Load>(Arena*); -template<> ::CNETMsg_SpawnGroup_LoadCompleted* Arena::CreateMaybeMessage<::CNETMsg_SpawnGroup_LoadCompleted>(Arena*); -template<> ::CNETMsg_SpawnGroup_ManifestUpdate* Arena::CreateMaybeMessage<::CNETMsg_SpawnGroup_ManifestUpdate>(Arena*); -template<> ::CNETMsg_SpawnGroup_SetCreationTick* Arena::CreateMaybeMessage<::CNETMsg_SpawnGroup_SetCreationTick>(Arena*); -template<> ::CNETMsg_SpawnGroup_Unload* Arena::CreateMaybeMessage<::CNETMsg_SpawnGroup_Unload>(Arena*); -template<> ::CNETMsg_SplitScreenUser* Arena::CreateMaybeMessage<::CNETMsg_SplitScreenUser>(Arena*); -template<> ::CNETMsg_StringCmd* Arena::CreateMaybeMessage<::CNETMsg_StringCmd>(Arena*); -template<> ::CNETMsg_Tick* Arena::CreateMaybeMessage<::CNETMsg_Tick>(Arena*); -template<> ::CSVCMsgList_GameEvents* Arena::CreateMaybeMessage<::CSVCMsgList_GameEvents>(Arena*); -template<> ::CSVCMsgList_GameEvents_event_t* Arena::CreateMaybeMessage<::CSVCMsgList_GameEvents_event_t>(Arena*); -template<> ::CSVCMsg_GameEvent* Arena::CreateMaybeMessage<::CSVCMsg_GameEvent>(Arena*); -template<> ::CSVCMsg_GameEvent_key_t* Arena::CreateMaybeMessage<::CSVCMsg_GameEvent_key_t>(Arena*); -template<> ::CSVCMsg_GameSessionConfiguration* Arena::CreateMaybeMessage<::CSVCMsg_GameSessionConfiguration>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum SignonState_t : int { - SIGNONSTATE_NONE = 0, - SIGNONSTATE_CHALLENGE = 1, - SIGNONSTATE_CONNECTED = 2, - SIGNONSTATE_NEW = 3, - SIGNONSTATE_PRESPAWN = 4, - SIGNONSTATE_SPAWN = 5, - SIGNONSTATE_FULL = 6, - SIGNONSTATE_CHANGELEVEL = 7 -}; -bool SignonState_t_IsValid(int value); -constexpr SignonState_t SignonState_t_MIN = SIGNONSTATE_NONE; -constexpr SignonState_t SignonState_t_MAX = SIGNONSTATE_CHANGELEVEL; -constexpr int SignonState_t_ARRAYSIZE = SignonState_t_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SignonState_t_descriptor(); -template -inline const std::string& SignonState_t_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function SignonState_t_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - SignonState_t_descriptor(), enum_t_value); -} -inline bool SignonState_t_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SignonState_t* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - SignonState_t_descriptor(), name, value); -} -enum NET_Messages : int { - net_NOP = 0, - net_Disconnect_Legacy = 1, - net_SplitScreenUser = 3, - net_Tick = 4, - net_StringCmd = 5, - net_SetConVar = 6, - net_SignonState = 7, - net_SpawnGroup_Load = 8, - net_SpawnGroup_ManifestUpdate = 9, - net_SpawnGroup_SetCreationTick = 11, - net_SpawnGroup_Unload = 12, - net_SpawnGroup_LoadCompleted = 13, - net_DebugOverlay = 15 -}; -bool NET_Messages_IsValid(int value); -constexpr NET_Messages NET_Messages_MIN = net_NOP; -constexpr NET_Messages NET_Messages_MAX = net_DebugOverlay; -constexpr int NET_Messages_ARRAYSIZE = NET_Messages_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* NET_Messages_descriptor(); -template -inline const std::string& NET_Messages_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function NET_Messages_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - NET_Messages_descriptor(), enum_t_value); -} -inline bool NET_Messages_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NET_Messages* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - NET_Messages_descriptor(), name, value); -} -enum SpawnGroupFlags_t : int { - SPAWN_GROUP_LOAD_ENTITIES_FROM_SAVE = 1, - SPAWN_GROUP_DONT_SPAWN_ENTITIES = 2, - SPAWN_GROUP_SYNCHRONOUS_SPAWN = 4, - SPAWN_GROUP_IS_INITIAL_SPAWN_GROUP = 8, - SPAWN_GROUP_CREATE_CLIENT_ONLY_ENTITIES = 16, - SPAWN_GROUP_BLOCK_UNTIL_LOADED = 64, - SPAWN_GROUP_LOAD_STREAMING_DATA = 128, - SPAWN_GROUP_CREATE_NEW_SCENE_WORLD = 256 -}; -bool SpawnGroupFlags_t_IsValid(int value); -constexpr SpawnGroupFlags_t SpawnGroupFlags_t_MIN = SPAWN_GROUP_LOAD_ENTITIES_FROM_SAVE; -constexpr SpawnGroupFlags_t SpawnGroupFlags_t_MAX = SPAWN_GROUP_CREATE_NEW_SCENE_WORLD; -constexpr int SpawnGroupFlags_t_ARRAYSIZE = SpawnGroupFlags_t_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SpawnGroupFlags_t_descriptor(); -template -inline const std::string& SpawnGroupFlags_t_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function SpawnGroupFlags_t_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - SpawnGroupFlags_t_descriptor(), enum_t_value); -} -inline bool SpawnGroupFlags_t_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SpawnGroupFlags_t* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - SpawnGroupFlags_t_descriptor(), name, value); -} -// =================================================================== - -class CMsgVector : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgVector) */ { - public: - inline CMsgVector() : CMsgVector(nullptr) {} - ~CMsgVector() override; - explicit PROTOBUF_CONSTEXPR CMsgVector(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgVector(const CMsgVector& from); - CMsgVector(CMsgVector&& from) noexcept - : CMsgVector() { - *this = ::std::move(from); - } - - inline CMsgVector& operator=(const CMsgVector& from) { - CopyFrom(from); - return *this; - } - inline CMsgVector& operator=(CMsgVector&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgVector& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgVector* internal_default_instance() { - return reinterpret_cast( - &_CMsgVector_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CMsgVector& a, CMsgVector& b) { - a.Swap(&b); - } - inline void Swap(CMsgVector* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgVector* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgVector* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgVector& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgVector& from) { - CMsgVector::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgVector* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgVector"; - } - protected: - explicit CMsgVector(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kXFieldNumber = 1, - kYFieldNumber = 2, - kZFieldNumber = 3, - kWFieldNumber = 4, - }; - // optional float x = 1; - bool has_x() const; - private: - bool _internal_has_x() const; - public: - void clear_x(); - float x() const; - void set_x(float value); - private: - float _internal_x() const; - void _internal_set_x(float value); - public: - - // optional float y = 2; - bool has_y() const; - private: - bool _internal_has_y() const; - public: - void clear_y(); - float y() const; - void set_y(float value); - private: - float _internal_y() const; - void _internal_set_y(float value); - public: - - // optional float z = 3; - bool has_z() const; - private: - bool _internal_has_z() const; - public: - void clear_z(); - float z() const; - void set_z(float value); - private: - float _internal_z() const; - void _internal_set_z(float value); - public: - - // optional float w = 4; - bool has_w() const; - private: - bool _internal_has_w() const; - public: - void clear_w(); - float w() const; - void set_w(float value); - private: - float _internal_w() const; - void _internal_set_w(float value); - public: - - // @@protoc_insertion_point(class_scope:CMsgVector) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float x_; - float y_; - float z_; - float w_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgVector2D : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgVector2D) */ { - public: - inline CMsgVector2D() : CMsgVector2D(nullptr) {} - ~CMsgVector2D() override; - explicit PROTOBUF_CONSTEXPR CMsgVector2D(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgVector2D(const CMsgVector2D& from); - CMsgVector2D(CMsgVector2D&& from) noexcept - : CMsgVector2D() { - *this = ::std::move(from); - } - - inline CMsgVector2D& operator=(const CMsgVector2D& from) { - CopyFrom(from); - return *this; - } - inline CMsgVector2D& operator=(CMsgVector2D&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgVector2D& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgVector2D* internal_default_instance() { - return reinterpret_cast( - &_CMsgVector2D_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CMsgVector2D& a, CMsgVector2D& b) { - a.Swap(&b); - } - inline void Swap(CMsgVector2D* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgVector2D* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgVector2D* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgVector2D& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgVector2D& from) { - CMsgVector2D::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgVector2D* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgVector2D"; - } - protected: - explicit CMsgVector2D(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kXFieldNumber = 1, - kYFieldNumber = 2, - }; - // optional float x = 1; - bool has_x() const; - private: - bool _internal_has_x() const; - public: - void clear_x(); - float x() const; - void set_x(float value); - private: - float _internal_x() const; - void _internal_set_x(float value); - public: - - // optional float y = 2; - bool has_y() const; - private: - bool _internal_has_y() const; - public: - void clear_y(); - float y() const; - void set_y(float value); - private: - float _internal_y() const; - void _internal_set_y(float value); - public: - - // @@protoc_insertion_point(class_scope:CMsgVector2D) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float x_; - float y_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgQAngle : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgQAngle) */ { - public: - inline CMsgQAngle() : CMsgQAngle(nullptr) {} - ~CMsgQAngle() override; - explicit PROTOBUF_CONSTEXPR CMsgQAngle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgQAngle(const CMsgQAngle& from); - CMsgQAngle(CMsgQAngle&& from) noexcept - : CMsgQAngle() { - *this = ::std::move(from); - } - - inline CMsgQAngle& operator=(const CMsgQAngle& from) { - CopyFrom(from); - return *this; - } - inline CMsgQAngle& operator=(CMsgQAngle&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgQAngle& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgQAngle* internal_default_instance() { - return reinterpret_cast( - &_CMsgQAngle_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CMsgQAngle& a, CMsgQAngle& b) { - a.Swap(&b); - } - inline void Swap(CMsgQAngle* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgQAngle* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgQAngle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgQAngle& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgQAngle& from) { - CMsgQAngle::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgQAngle* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgQAngle"; - } - protected: - explicit CMsgQAngle(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kXFieldNumber = 1, - kYFieldNumber = 2, - kZFieldNumber = 3, - }; - // optional float x = 1; - bool has_x() const; - private: - bool _internal_has_x() const; - public: - void clear_x(); - float x() const; - void set_x(float value); - private: - float _internal_x() const; - void _internal_set_x(float value); - public: - - // optional float y = 2; - bool has_y() const; - private: - bool _internal_has_y() const; - public: - void clear_y(); - float y() const; - void set_y(float value); - private: - float _internal_y() const; - void _internal_set_y(float value); - public: - - // optional float z = 3; - bool has_z() const; - private: - bool _internal_has_z() const; - public: - void clear_z(); - float z() const; - void set_z(float value); - private: - float _internal_z() const; - void _internal_set_z(float value); - public: - - // @@protoc_insertion_point(class_scope:CMsgQAngle) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float x_; - float y_; - float z_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgQuaternion : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgQuaternion) */ { - public: - inline CMsgQuaternion() : CMsgQuaternion(nullptr) {} - ~CMsgQuaternion() override; - explicit PROTOBUF_CONSTEXPR CMsgQuaternion(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgQuaternion(const CMsgQuaternion& from); - CMsgQuaternion(CMsgQuaternion&& from) noexcept - : CMsgQuaternion() { - *this = ::std::move(from); - } - - inline CMsgQuaternion& operator=(const CMsgQuaternion& from) { - CopyFrom(from); - return *this; - } - inline CMsgQuaternion& operator=(CMsgQuaternion&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgQuaternion& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgQuaternion* internal_default_instance() { - return reinterpret_cast( - &_CMsgQuaternion_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CMsgQuaternion& a, CMsgQuaternion& b) { - a.Swap(&b); - } - inline void Swap(CMsgQuaternion* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgQuaternion* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgQuaternion* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgQuaternion& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgQuaternion& from) { - CMsgQuaternion::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgQuaternion* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgQuaternion"; - } - protected: - explicit CMsgQuaternion(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kXFieldNumber = 1, - kYFieldNumber = 2, - kZFieldNumber = 3, - kWFieldNumber = 4, - }; - // optional float x = 1; - bool has_x() const; - private: - bool _internal_has_x() const; - public: - void clear_x(); - float x() const; - void set_x(float value); - private: - float _internal_x() const; - void _internal_set_x(float value); - public: - - // optional float y = 2; - bool has_y() const; - private: - bool _internal_has_y() const; - public: - void clear_y(); - float y() const; - void set_y(float value); - private: - float _internal_y() const; - void _internal_set_y(float value); - public: - - // optional float z = 3; - bool has_z() const; - private: - bool _internal_has_z() const; - public: - void clear_z(); - float z() const; - void set_z(float value); - private: - float _internal_z() const; - void _internal_set_z(float value); - public: - - // optional float w = 4; - bool has_w() const; - private: - bool _internal_has_w() const; - public: - void clear_w(); - float w() const; - void set_w(float value); - private: - float _internal_w() const; - void _internal_set_w(float value); - public: - - // @@protoc_insertion_point(class_scope:CMsgQuaternion) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float x_; - float y_; - float z_; - float w_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTransform : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTransform) */ { - public: - inline CMsgTransform() : CMsgTransform(nullptr) {} - ~CMsgTransform() override; - explicit PROTOBUF_CONSTEXPR CMsgTransform(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTransform(const CMsgTransform& from); - CMsgTransform(CMsgTransform&& from) noexcept - : CMsgTransform() { - *this = ::std::move(from); - } - - inline CMsgTransform& operator=(const CMsgTransform& from) { - CopyFrom(from); - return *this; - } - inline CMsgTransform& operator=(CMsgTransform&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTransform& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTransform* internal_default_instance() { - return reinterpret_cast( - &_CMsgTransform_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CMsgTransform& a, CMsgTransform& b) { - a.Swap(&b); - } - inline void Swap(CMsgTransform* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTransform* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTransform* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTransform& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTransform& from) { - CMsgTransform::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTransform* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTransform"; - } - protected: - explicit CMsgTransform(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPositionFieldNumber = 1, - kOrientationFieldNumber = 3, - kScaleFieldNumber = 2, - }; - // optional .CMsgVector position = 1; - bool has_position() const; - private: - bool _internal_has_position() const; - public: - void clear_position(); - const ::CMsgVector& position() const; - PROTOBUF_NODISCARD ::CMsgVector* release_position(); - ::CMsgVector* mutable_position(); - void set_allocated_position(::CMsgVector* position); - private: - const ::CMsgVector& _internal_position() const; - ::CMsgVector* _internal_mutable_position(); - public: - void unsafe_arena_set_allocated_position( - ::CMsgVector* position); - ::CMsgVector* unsafe_arena_release_position(); - - // optional .CMsgQuaternion orientation = 3; - bool has_orientation() const; - private: - bool _internal_has_orientation() const; - public: - void clear_orientation(); - const ::CMsgQuaternion& orientation() const; - PROTOBUF_NODISCARD ::CMsgQuaternion* release_orientation(); - ::CMsgQuaternion* mutable_orientation(); - void set_allocated_orientation(::CMsgQuaternion* orientation); - private: - const ::CMsgQuaternion& _internal_orientation() const; - ::CMsgQuaternion* _internal_mutable_orientation(); - public: - void unsafe_arena_set_allocated_orientation( - ::CMsgQuaternion* orientation); - ::CMsgQuaternion* unsafe_arena_release_orientation(); - - // optional float scale = 2; - bool has_scale() const; - private: - bool _internal_has_scale() const; - public: - void clear_scale(); - float scale() const; - void set_scale(float value); - private: - float _internal_scale() const; - void _internal_set_scale(float value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTransform) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* position_; - ::CMsgQuaternion* orientation_; - float scale_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgRGBA : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgRGBA) */ { - public: - inline CMsgRGBA() : CMsgRGBA(nullptr) {} - ~CMsgRGBA() override; - explicit PROTOBUF_CONSTEXPR CMsgRGBA(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgRGBA(const CMsgRGBA& from); - CMsgRGBA(CMsgRGBA&& from) noexcept - : CMsgRGBA() { - *this = ::std::move(from); - } - - inline CMsgRGBA& operator=(const CMsgRGBA& from) { - CopyFrom(from); - return *this; - } - inline CMsgRGBA& operator=(CMsgRGBA&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgRGBA& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgRGBA* internal_default_instance() { - return reinterpret_cast( - &_CMsgRGBA_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CMsgRGBA& a, CMsgRGBA& b) { - a.Swap(&b); - } - inline void Swap(CMsgRGBA* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgRGBA* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgRGBA* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgRGBA& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgRGBA& from) { - CMsgRGBA::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgRGBA* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgRGBA"; - } - protected: - explicit CMsgRGBA(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRFieldNumber = 1, - kGFieldNumber = 2, - kBFieldNumber = 3, - kAFieldNumber = 4, - }; - // optional int32 r = 1; - bool has_r() const; - private: - bool _internal_has_r() const; - public: - void clear_r(); - int32_t r() const; - void set_r(int32_t value); - private: - int32_t _internal_r() const; - void _internal_set_r(int32_t value); - public: - - // optional int32 g = 2; - bool has_g() const; - private: - bool _internal_has_g() const; - public: - void clear_g(); - int32_t g() const; - void set_g(int32_t value); - private: - int32_t _internal_g() const; - void _internal_set_g(int32_t value); - public: - - // optional int32 b = 3; - bool has_b() const; - private: - bool _internal_has_b() const; - public: - void clear_b(); - int32_t b() const; - void set_b(int32_t value); - private: - int32_t _internal_b() const; - void _internal_set_b(int32_t value); - public: - - // optional int32 a = 4; - bool has_a() const; - private: - bool _internal_has_a() const; - public: - void clear_a(); - int32_t a() const; - void set_a(int32_t value); - private: - int32_t _internal_a() const; - void _internal_set_a(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgRGBA) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t r_; - int32_t g_; - int32_t b_; - int32_t a_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgPlayerInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgPlayerInfo) */ { - public: - inline CMsgPlayerInfo() : CMsgPlayerInfo(nullptr) {} - ~CMsgPlayerInfo() override; - explicit PROTOBUF_CONSTEXPR CMsgPlayerInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgPlayerInfo(const CMsgPlayerInfo& from); - CMsgPlayerInfo(CMsgPlayerInfo&& from) noexcept - : CMsgPlayerInfo() { - *this = ::std::move(from); - } - - inline CMsgPlayerInfo& operator=(const CMsgPlayerInfo& from) { - CopyFrom(from); - return *this; - } - inline CMsgPlayerInfo& operator=(CMsgPlayerInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgPlayerInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgPlayerInfo* internal_default_instance() { - return reinterpret_cast( - &_CMsgPlayerInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CMsgPlayerInfo& a, CMsgPlayerInfo& b) { - a.Swap(&b); - } - inline void Swap(CMsgPlayerInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgPlayerInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgPlayerInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgPlayerInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgPlayerInfo& from) { - CMsgPlayerInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgPlayerInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgPlayerInfo"; - } - protected: - explicit CMsgPlayerInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 1, - kXuidFieldNumber = 2, - kSteamidFieldNumber = 4, - kUseridFieldNumber = 3, - kFakeplayerFieldNumber = 5, - kIshltvFieldNumber = 6, - }; - // optional string name = 1; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional fixed64 xuid = 2; - bool has_xuid() const; - private: - bool _internal_has_xuid() const; - public: - void clear_xuid(); - uint64_t xuid() const; - void set_xuid(uint64_t value); - private: - uint64_t _internal_xuid() const; - void _internal_set_xuid(uint64_t value); - public: - - // optional fixed64 steamid = 4; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional int32 userid = 3; - bool has_userid() const; - private: - bool _internal_has_userid() const; - public: - void clear_userid(); - int32_t userid() const; - void set_userid(int32_t value); - private: - int32_t _internal_userid() const; - void _internal_set_userid(int32_t value); - public: - - // optional bool fakeplayer = 5; - bool has_fakeplayer() const; - private: - bool _internal_has_fakeplayer() const; - public: - void clear_fakeplayer(); - bool fakeplayer() const; - void set_fakeplayer(bool value); - private: - bool _internal_fakeplayer() const; - void _internal_set_fakeplayer(bool value); - public: - - // optional bool ishltv = 6; - bool has_ishltv() const; - private: - bool _internal_has_ishltv() const; - public: - void clear_ishltv(); - bool ishltv() const; - void set_ishltv(bool value); - private: - bool _internal_ishltv() const; - void _internal_set_ishltv(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgPlayerInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - uint64_t xuid_; - uint64_t steamid_; - int32_t userid_; - bool fakeplayer_; - bool ishltv_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CEntityMsg : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEntityMsg) */ { - public: - inline CEntityMsg() : CEntityMsg(nullptr) {} - ~CEntityMsg() override; - explicit PROTOBUF_CONSTEXPR CEntityMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CEntityMsg(const CEntityMsg& from); - CEntityMsg(CEntityMsg&& from) noexcept - : CEntityMsg() { - *this = ::std::move(from); - } - - inline CEntityMsg& operator=(const CEntityMsg& from) { - CopyFrom(from); - return *this; - } - inline CEntityMsg& operator=(CEntityMsg&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CEntityMsg& default_instance() { - return *internal_default_instance(); - } - static inline const CEntityMsg* internal_default_instance() { - return reinterpret_cast( - &_CEntityMsg_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(CEntityMsg& a, CEntityMsg& b) { - a.Swap(&b); - } - inline void Swap(CEntityMsg* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CEntityMsg* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CEntityMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CEntityMsg& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CEntityMsg& from) { - CEntityMsg::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CEntityMsg* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CEntityMsg"; - } - protected: - explicit CEntityMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTargetEntityFieldNumber = 1, - }; - // optional uint32 target_entity = 1 [default = 16777215]; - bool has_target_entity() const; - private: - bool _internal_has_target_entity() const; - public: - void clear_target_entity(); - uint32_t target_entity() const; - void set_target_entity(uint32_t value); - private: - uint32_t _internal_target_entity() const; - void _internal_set_target_entity(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CEntityMsg) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t target_entity_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsg_CVars_CVar : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsg_CVars.CVar) */ { - public: - inline CMsg_CVars_CVar() : CMsg_CVars_CVar(nullptr) {} - ~CMsg_CVars_CVar() override; - explicit PROTOBUF_CONSTEXPR CMsg_CVars_CVar(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsg_CVars_CVar(const CMsg_CVars_CVar& from); - CMsg_CVars_CVar(CMsg_CVars_CVar&& from) noexcept - : CMsg_CVars_CVar() { - *this = ::std::move(from); - } - - inline CMsg_CVars_CVar& operator=(const CMsg_CVars_CVar& from) { - CopyFrom(from); - return *this; - } - inline CMsg_CVars_CVar& operator=(CMsg_CVars_CVar&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsg_CVars_CVar& default_instance() { - return *internal_default_instance(); - } - static inline const CMsg_CVars_CVar* internal_default_instance() { - return reinterpret_cast( - &_CMsg_CVars_CVar_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(CMsg_CVars_CVar& a, CMsg_CVars_CVar& b) { - a.Swap(&b); - } - inline void Swap(CMsg_CVars_CVar* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsg_CVars_CVar* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsg_CVars_CVar* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsg_CVars_CVar& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsg_CVars_CVar& from) { - CMsg_CVars_CVar::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsg_CVars_CVar* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsg_CVars.CVar"; - } - protected: - explicit CMsg_CVars_CVar(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 1, - kValueFieldNumber = 2, - }; - // optional string name = 1; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional string value = 2; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - const std::string& value() const; - template - void set_value(ArgT0&& arg0, ArgT... args); - std::string* mutable_value(); - PROTOBUF_NODISCARD std::string* release_value(); - void set_allocated_value(std::string* value); - private: - const std::string& _internal_value() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); - std::string* _internal_mutable_value(); - public: - - // @@protoc_insertion_point(class_scope:CMsg_CVars.CVar) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsg_CVars : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsg_CVars) */ { - public: - inline CMsg_CVars() : CMsg_CVars(nullptr) {} - ~CMsg_CVars() override; - explicit PROTOBUF_CONSTEXPR CMsg_CVars(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsg_CVars(const CMsg_CVars& from); - CMsg_CVars(CMsg_CVars&& from) noexcept - : CMsg_CVars() { - *this = ::std::move(from); - } - - inline CMsg_CVars& operator=(const CMsg_CVars& from) { - CopyFrom(from); - return *this; - } - inline CMsg_CVars& operator=(CMsg_CVars&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsg_CVars& default_instance() { - return *internal_default_instance(); - } - static inline const CMsg_CVars* internal_default_instance() { - return reinterpret_cast( - &_CMsg_CVars_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(CMsg_CVars& a, CMsg_CVars& b) { - a.Swap(&b); - } - inline void Swap(CMsg_CVars* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsg_CVars* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsg_CVars* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsg_CVars& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsg_CVars& from) { - CMsg_CVars::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsg_CVars* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsg_CVars"; - } - protected: - explicit CMsg_CVars(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsg_CVars_CVar CVar; - - // accessors ------------------------------------------------------- - - enum : int { - kCvarsFieldNumber = 1, - }; - // repeated .CMsg_CVars.CVar cvars = 1; - int cvars_size() const; - private: - int _internal_cvars_size() const; - public: - void clear_cvars(); - ::CMsg_CVars_CVar* mutable_cvars(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsg_CVars_CVar >* - mutable_cvars(); - private: - const ::CMsg_CVars_CVar& _internal_cvars(int index) const; - ::CMsg_CVars_CVar* _internal_add_cvars(); - public: - const ::CMsg_CVars_CVar& cvars(int index) const; - ::CMsg_CVars_CVar* add_cvars(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsg_CVars_CVar >& - cvars() const; - - // @@protoc_insertion_point(class_scope:CMsg_CVars) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsg_CVars_CVar > cvars_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CNETMsg_NOP : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CNETMsg_NOP) */ { - public: - inline CNETMsg_NOP() : CNETMsg_NOP(nullptr) {} - explicit PROTOBUF_CONSTEXPR CNETMsg_NOP(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CNETMsg_NOP(const CNETMsg_NOP& from); - CNETMsg_NOP(CNETMsg_NOP&& from) noexcept - : CNETMsg_NOP() { - *this = ::std::move(from); - } - - inline CNETMsg_NOP& operator=(const CNETMsg_NOP& from) { - CopyFrom(from); - return *this; - } - inline CNETMsg_NOP& operator=(CNETMsg_NOP&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CNETMsg_NOP& default_instance() { - return *internal_default_instance(); - } - static inline const CNETMsg_NOP* internal_default_instance() { - return reinterpret_cast( - &_CNETMsg_NOP_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(CNETMsg_NOP& a, CNETMsg_NOP& b) { - a.Swap(&b); - } - inline void Swap(CNETMsg_NOP* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CNETMsg_NOP* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CNETMsg_NOP* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CNETMsg_NOP& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CNETMsg_NOP& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CNETMsg_NOP"; - } - protected: - explicit CNETMsg_NOP(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CNETMsg_NOP) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CNETMsg_SplitScreenUser : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_SplitScreenUser) */ { - public: - inline CNETMsg_SplitScreenUser() : CNETMsg_SplitScreenUser(nullptr) {} - ~CNETMsg_SplitScreenUser() override; - explicit PROTOBUF_CONSTEXPR CNETMsg_SplitScreenUser(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CNETMsg_SplitScreenUser(const CNETMsg_SplitScreenUser& from); - CNETMsg_SplitScreenUser(CNETMsg_SplitScreenUser&& from) noexcept - : CNETMsg_SplitScreenUser() { - *this = ::std::move(from); - } - - inline CNETMsg_SplitScreenUser& operator=(const CNETMsg_SplitScreenUser& from) { - CopyFrom(from); - return *this; - } - inline CNETMsg_SplitScreenUser& operator=(CNETMsg_SplitScreenUser&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CNETMsg_SplitScreenUser& default_instance() { - return *internal_default_instance(); - } - static inline const CNETMsg_SplitScreenUser* internal_default_instance() { - return reinterpret_cast( - &_CNETMsg_SplitScreenUser_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(CNETMsg_SplitScreenUser& a, CNETMsg_SplitScreenUser& b) { - a.Swap(&b); - } - inline void Swap(CNETMsg_SplitScreenUser* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CNETMsg_SplitScreenUser* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CNETMsg_SplitScreenUser* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CNETMsg_SplitScreenUser& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CNETMsg_SplitScreenUser& from) { - CNETMsg_SplitScreenUser::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CNETMsg_SplitScreenUser* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CNETMsg_SplitScreenUser"; - } - protected: - explicit CNETMsg_SplitScreenUser(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSlotFieldNumber = 1, - }; - // optional int32 slot = 1; - bool has_slot() const; - private: - bool _internal_has_slot() const; - public: - void clear_slot(); - int32_t slot() const; - void set_slot(int32_t value); - private: - int32_t _internal_slot() const; - void _internal_set_slot(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CNETMsg_SplitScreenUser) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t slot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CNETMsg_Tick : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_Tick) */ { - public: - inline CNETMsg_Tick() : CNETMsg_Tick(nullptr) {} - ~CNETMsg_Tick() override; - explicit PROTOBUF_CONSTEXPR CNETMsg_Tick(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CNETMsg_Tick(const CNETMsg_Tick& from); - CNETMsg_Tick(CNETMsg_Tick&& from) noexcept - : CNETMsg_Tick() { - *this = ::std::move(from); - } - - inline CNETMsg_Tick& operator=(const CNETMsg_Tick& from) { - CopyFrom(from); - return *this; - } - inline CNETMsg_Tick& operator=(CNETMsg_Tick&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CNETMsg_Tick& default_instance() { - return *internal_default_instance(); - } - static inline const CNETMsg_Tick* internal_default_instance() { - return reinterpret_cast( - &_CNETMsg_Tick_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(CNETMsg_Tick& a, CNETMsg_Tick& b) { - a.Swap(&b); - } - inline void Swap(CNETMsg_Tick* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CNETMsg_Tick* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CNETMsg_Tick* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CNETMsg_Tick& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CNETMsg_Tick& from) { - CNETMsg_Tick::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CNETMsg_Tick* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CNETMsg_Tick"; - } - protected: - explicit CNETMsg_Tick(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kExpectedLongTickReasonFieldNumber = 11, - kTickFieldNumber = 1, - kHostComputationtimeFieldNumber = 4, - kHostComputationtimeStdDeviationFieldNumber = 5, - kLegacyHostLossFieldNumber = 7, - kHostUnfilteredFrametimeFieldNumber = 8, - kHltvReplayFlagsFieldNumber = 9, - kExpectedLongTickFieldNumber = 10, - kHostFrameDroppedPctX10FieldNumber = 12, - kHostFrameIrregularArrivalPctX10FieldNumber = 13, - }; - // optional string expected_long_tick_reason = 11; - bool has_expected_long_tick_reason() const; - private: - bool _internal_has_expected_long_tick_reason() const; - public: - void clear_expected_long_tick_reason(); - const std::string& expected_long_tick_reason() const; - template - void set_expected_long_tick_reason(ArgT0&& arg0, ArgT... args); - std::string* mutable_expected_long_tick_reason(); - PROTOBUF_NODISCARD std::string* release_expected_long_tick_reason(); - void set_allocated_expected_long_tick_reason(std::string* expected_long_tick_reason); - private: - const std::string& _internal_expected_long_tick_reason() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_expected_long_tick_reason(const std::string& value); - std::string* _internal_mutable_expected_long_tick_reason(); - public: - - // optional uint32 tick = 1; - bool has_tick() const; - private: - bool _internal_has_tick() const; - public: - void clear_tick(); - uint32_t tick() const; - void set_tick(uint32_t value); - private: - uint32_t _internal_tick() const; - void _internal_set_tick(uint32_t value); - public: - - // optional uint32 host_computationtime = 4; - bool has_host_computationtime() const; - private: - bool _internal_has_host_computationtime() const; - public: - void clear_host_computationtime(); - uint32_t host_computationtime() const; - void set_host_computationtime(uint32_t value); - private: - uint32_t _internal_host_computationtime() const; - void _internal_set_host_computationtime(uint32_t value); - public: - - // optional uint32 host_computationtime_std_deviation = 5; - bool has_host_computationtime_std_deviation() const; - private: - bool _internal_has_host_computationtime_std_deviation() const; - public: - void clear_host_computationtime_std_deviation(); - uint32_t host_computationtime_std_deviation() const; - void set_host_computationtime_std_deviation(uint32_t value); - private: - uint32_t _internal_host_computationtime_std_deviation() const; - void _internal_set_host_computationtime_std_deviation(uint32_t value); - public: - - // optional uint32 legacy_host_loss = 7; - bool has_legacy_host_loss() const; - private: - bool _internal_has_legacy_host_loss() const; - public: - void clear_legacy_host_loss(); - uint32_t legacy_host_loss() const; - void set_legacy_host_loss(uint32_t value); - private: - uint32_t _internal_legacy_host_loss() const; - void _internal_set_legacy_host_loss(uint32_t value); - public: - - // optional uint32 host_unfiltered_frametime = 8; - bool has_host_unfiltered_frametime() const; - private: - bool _internal_has_host_unfiltered_frametime() const; - public: - void clear_host_unfiltered_frametime(); - uint32_t host_unfiltered_frametime() const; - void set_host_unfiltered_frametime(uint32_t value); - private: - uint32_t _internal_host_unfiltered_frametime() const; - void _internal_set_host_unfiltered_frametime(uint32_t value); - public: - - // optional uint32 hltv_replay_flags = 9; - bool has_hltv_replay_flags() const; - private: - bool _internal_has_hltv_replay_flags() const; - public: - void clear_hltv_replay_flags(); - uint32_t hltv_replay_flags() const; - void set_hltv_replay_flags(uint32_t value); - private: - uint32_t _internal_hltv_replay_flags() const; - void _internal_set_hltv_replay_flags(uint32_t value); - public: - - // optional uint32 expected_long_tick = 10; - bool has_expected_long_tick() const; - private: - bool _internal_has_expected_long_tick() const; - public: - void clear_expected_long_tick(); - uint32_t expected_long_tick() const; - void set_expected_long_tick(uint32_t value); - private: - uint32_t _internal_expected_long_tick() const; - void _internal_set_expected_long_tick(uint32_t value); - public: - - // optional uint32 host_frame_dropped_pct_x10 = 12; - bool has_host_frame_dropped_pct_x10() const; - private: - bool _internal_has_host_frame_dropped_pct_x10() const; - public: - void clear_host_frame_dropped_pct_x10(); - uint32_t host_frame_dropped_pct_x10() const; - void set_host_frame_dropped_pct_x10(uint32_t value); - private: - uint32_t _internal_host_frame_dropped_pct_x10() const; - void _internal_set_host_frame_dropped_pct_x10(uint32_t value); - public: - - // optional uint32 host_frame_irregular_arrival_pct_x10 = 13; - bool has_host_frame_irregular_arrival_pct_x10() const; - private: - bool _internal_has_host_frame_irregular_arrival_pct_x10() const; - public: - void clear_host_frame_irregular_arrival_pct_x10(); - uint32_t host_frame_irregular_arrival_pct_x10() const; - void set_host_frame_irregular_arrival_pct_x10(uint32_t value); - private: - uint32_t _internal_host_frame_irregular_arrival_pct_x10() const; - void _internal_set_host_frame_irregular_arrival_pct_x10(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CNETMsg_Tick) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr expected_long_tick_reason_; - uint32_t tick_; - uint32_t host_computationtime_; - uint32_t host_computationtime_std_deviation_; - uint32_t legacy_host_loss_; - uint32_t host_unfiltered_frametime_; - uint32_t hltv_replay_flags_; - uint32_t expected_long_tick_; - uint32_t host_frame_dropped_pct_x10_; - uint32_t host_frame_irregular_arrival_pct_x10_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CNETMsg_StringCmd : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_StringCmd) */ { - public: - inline CNETMsg_StringCmd() : CNETMsg_StringCmd(nullptr) {} - ~CNETMsg_StringCmd() override; - explicit PROTOBUF_CONSTEXPR CNETMsg_StringCmd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CNETMsg_StringCmd(const CNETMsg_StringCmd& from); - CNETMsg_StringCmd(CNETMsg_StringCmd&& from) noexcept - : CNETMsg_StringCmd() { - *this = ::std::move(from); - } - - inline CNETMsg_StringCmd& operator=(const CNETMsg_StringCmd& from) { - CopyFrom(from); - return *this; - } - inline CNETMsg_StringCmd& operator=(CNETMsg_StringCmd&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CNETMsg_StringCmd& default_instance() { - return *internal_default_instance(); - } - static inline const CNETMsg_StringCmd* internal_default_instance() { - return reinterpret_cast( - &_CNETMsg_StringCmd_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - friend void swap(CNETMsg_StringCmd& a, CNETMsg_StringCmd& b) { - a.Swap(&b); - } - inline void Swap(CNETMsg_StringCmd* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CNETMsg_StringCmd* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CNETMsg_StringCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CNETMsg_StringCmd& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CNETMsg_StringCmd& from) { - CNETMsg_StringCmd::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CNETMsg_StringCmd* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CNETMsg_StringCmd"; - } - protected: - explicit CNETMsg_StringCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCommandFieldNumber = 1, - kPredictionSyncFieldNumber = 2, - }; - // optional string command = 1; - bool has_command() const; - private: - bool _internal_has_command() const; - public: - void clear_command(); - const std::string& command() const; - template - void set_command(ArgT0&& arg0, ArgT... args); - std::string* mutable_command(); - PROTOBUF_NODISCARD std::string* release_command(); - void set_allocated_command(std::string* command); - private: - const std::string& _internal_command() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_command(const std::string& value); - std::string* _internal_mutable_command(); - public: - - // optional uint32 prediction_sync = 2; - bool has_prediction_sync() const; - private: - bool _internal_has_prediction_sync() const; - public: - void clear_prediction_sync(); - uint32_t prediction_sync() const; - void set_prediction_sync(uint32_t value); - private: - uint32_t _internal_prediction_sync() const; - void _internal_set_prediction_sync(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CNETMsg_StringCmd) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_; - uint32_t prediction_sync_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CNETMsg_SetConVar : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_SetConVar) */ { - public: - inline CNETMsg_SetConVar() : CNETMsg_SetConVar(nullptr) {} - ~CNETMsg_SetConVar() override; - explicit PROTOBUF_CONSTEXPR CNETMsg_SetConVar(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CNETMsg_SetConVar(const CNETMsg_SetConVar& from); - CNETMsg_SetConVar(CNETMsg_SetConVar&& from) noexcept - : CNETMsg_SetConVar() { - *this = ::std::move(from); - } - - inline CNETMsg_SetConVar& operator=(const CNETMsg_SetConVar& from) { - CopyFrom(from); - return *this; - } - inline CNETMsg_SetConVar& operator=(CNETMsg_SetConVar&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CNETMsg_SetConVar& default_instance() { - return *internal_default_instance(); - } - static inline const CNETMsg_SetConVar* internal_default_instance() { - return reinterpret_cast( - &_CNETMsg_SetConVar_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - friend void swap(CNETMsg_SetConVar& a, CNETMsg_SetConVar& b) { - a.Swap(&b); - } - inline void Swap(CNETMsg_SetConVar* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CNETMsg_SetConVar* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CNETMsg_SetConVar* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CNETMsg_SetConVar& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CNETMsg_SetConVar& from) { - CNETMsg_SetConVar::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CNETMsg_SetConVar* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CNETMsg_SetConVar"; - } - protected: - explicit CNETMsg_SetConVar(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kConvarsFieldNumber = 1, - }; - // optional .CMsg_CVars convars = 1; - bool has_convars() const; - private: - bool _internal_has_convars() const; - public: - void clear_convars(); - const ::CMsg_CVars& convars() const; - PROTOBUF_NODISCARD ::CMsg_CVars* release_convars(); - ::CMsg_CVars* mutable_convars(); - void set_allocated_convars(::CMsg_CVars* convars); - private: - const ::CMsg_CVars& _internal_convars() const; - ::CMsg_CVars* _internal_mutable_convars(); - public: - void unsafe_arena_set_allocated_convars( - ::CMsg_CVars* convars); - ::CMsg_CVars* unsafe_arena_release_convars(); - - // @@protoc_insertion_point(class_scope:CNETMsg_SetConVar) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsg_CVars* convars_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CNETMsg_SignonState : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_SignonState) */ { - public: - inline CNETMsg_SignonState() : CNETMsg_SignonState(nullptr) {} - ~CNETMsg_SignonState() override; - explicit PROTOBUF_CONSTEXPR CNETMsg_SignonState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CNETMsg_SignonState(const CNETMsg_SignonState& from); - CNETMsg_SignonState(CNETMsg_SignonState&& from) noexcept - : CNETMsg_SignonState() { - *this = ::std::move(from); - } - - inline CNETMsg_SignonState& operator=(const CNETMsg_SignonState& from) { - CopyFrom(from); - return *this; - } - inline CNETMsg_SignonState& operator=(CNETMsg_SignonState&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CNETMsg_SignonState& default_instance() { - return *internal_default_instance(); - } - static inline const CNETMsg_SignonState* internal_default_instance() { - return reinterpret_cast( - &_CNETMsg_SignonState_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - friend void swap(CNETMsg_SignonState& a, CNETMsg_SignonState& b) { - a.Swap(&b); - } - inline void Swap(CNETMsg_SignonState* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CNETMsg_SignonState* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CNETMsg_SignonState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CNETMsg_SignonState& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CNETMsg_SignonState& from) { - CNETMsg_SignonState::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CNETMsg_SignonState* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CNETMsg_SignonState"; - } - protected: - explicit CNETMsg_SignonState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPlayersNetworkidsFieldNumber = 4, - kMapNameFieldNumber = 5, - kAddonsFieldNumber = 6, - kSignonStateFieldNumber = 1, - kSpawnCountFieldNumber = 2, - kNumServerPlayersFieldNumber = 3, - }; - // repeated string players_networkids = 4; - int players_networkids_size() const; - private: - int _internal_players_networkids_size() const; - public: - void clear_players_networkids(); - const std::string& players_networkids(int index) const; - std::string* mutable_players_networkids(int index); - void set_players_networkids(int index, const std::string& value); - void set_players_networkids(int index, std::string&& value); - void set_players_networkids(int index, const char* value); - void set_players_networkids(int index, const char* value, size_t size); - std::string* add_players_networkids(); - void add_players_networkids(const std::string& value); - void add_players_networkids(std::string&& value); - void add_players_networkids(const char* value); - void add_players_networkids(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& players_networkids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_players_networkids(); - private: - const std::string& _internal_players_networkids(int index) const; - std::string* _internal_add_players_networkids(); - public: - - // optional string map_name = 5; - bool has_map_name() const; - private: - bool _internal_has_map_name() const; - public: - void clear_map_name(); - const std::string& map_name() const; - template - void set_map_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_map_name(); - PROTOBUF_NODISCARD std::string* release_map_name(); - void set_allocated_map_name(std::string* map_name); - private: - const std::string& _internal_map_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_map_name(const std::string& value); - std::string* _internal_mutable_map_name(); - public: - - // optional string addons = 6; - bool has_addons() const; - private: - bool _internal_has_addons() const; - public: - void clear_addons(); - const std::string& addons() const; - template - void set_addons(ArgT0&& arg0, ArgT... args); - std::string* mutable_addons(); - PROTOBUF_NODISCARD std::string* release_addons(); - void set_allocated_addons(std::string* addons); - private: - const std::string& _internal_addons() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_addons(const std::string& value); - std::string* _internal_mutable_addons(); - public: - - // optional .SignonState_t signon_state = 1 [default = SIGNONSTATE_NONE]; - bool has_signon_state() const; - private: - bool _internal_has_signon_state() const; - public: - void clear_signon_state(); - ::SignonState_t signon_state() const; - void set_signon_state(::SignonState_t value); - private: - ::SignonState_t _internal_signon_state() const; - void _internal_set_signon_state(::SignonState_t value); - public: - - // optional uint32 spawn_count = 2; - bool has_spawn_count() const; - private: - bool _internal_has_spawn_count() const; - public: - void clear_spawn_count(); - uint32_t spawn_count() const; - void set_spawn_count(uint32_t value); - private: - uint32_t _internal_spawn_count() const; - void _internal_set_spawn_count(uint32_t value); - public: - - // optional uint32 num_server_players = 3; - bool has_num_server_players() const; - private: - bool _internal_has_num_server_players() const; - public: - void clear_num_server_players(); - uint32_t num_server_players() const; - void set_num_server_players(uint32_t value); - private: - uint32_t _internal_num_server_players() const; - void _internal_set_num_server_players(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CNETMsg_SignonState) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField players_networkids_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr addons_; - int signon_state_; - uint32_t spawn_count_; - uint32_t num_server_players_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_GameEvent_key_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_GameEvent.key_t) */ { - public: - inline CSVCMsg_GameEvent_key_t() : CSVCMsg_GameEvent_key_t(nullptr) {} - ~CSVCMsg_GameEvent_key_t() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_GameEvent_key_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_GameEvent_key_t(const CSVCMsg_GameEvent_key_t& from); - CSVCMsg_GameEvent_key_t(CSVCMsg_GameEvent_key_t&& from) noexcept - : CSVCMsg_GameEvent_key_t() { - *this = ::std::move(from); - } - - inline CSVCMsg_GameEvent_key_t& operator=(const CSVCMsg_GameEvent_key_t& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_GameEvent_key_t& operator=(CSVCMsg_GameEvent_key_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_GameEvent_key_t& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_GameEvent_key_t* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_GameEvent_key_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - friend void swap(CSVCMsg_GameEvent_key_t& a, CSVCMsg_GameEvent_key_t& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_GameEvent_key_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_GameEvent_key_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_GameEvent_key_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_GameEvent_key_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_GameEvent_key_t& from) { - CSVCMsg_GameEvent_key_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_GameEvent_key_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_GameEvent.key_t"; - } - protected: - explicit CSVCMsg_GameEvent_key_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kValStringFieldNumber = 2, - kTypeFieldNumber = 1, - kValFloatFieldNumber = 3, - kValLongFieldNumber = 4, - kValShortFieldNumber = 5, - kValByteFieldNumber = 6, - kValBoolFieldNumber = 7, - kValUint64FieldNumber = 8, - }; - // optional string val_string = 2; - bool has_val_string() const; - private: - bool _internal_has_val_string() const; - public: - void clear_val_string(); - const std::string& val_string() const; - template - void set_val_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_val_string(); - PROTOBUF_NODISCARD std::string* release_val_string(); - void set_allocated_val_string(std::string* val_string); - private: - const std::string& _internal_val_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_val_string(const std::string& value); - std::string* _internal_mutable_val_string(); - public: - - // optional int32 type = 1; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - int32_t type() const; - void set_type(int32_t value); - private: - int32_t _internal_type() const; - void _internal_set_type(int32_t value); - public: - - // optional float val_float = 3; - bool has_val_float() const; - private: - bool _internal_has_val_float() const; - public: - void clear_val_float(); - float val_float() const; - void set_val_float(float value); - private: - float _internal_val_float() const; - void _internal_set_val_float(float value); - public: - - // optional int32 val_long = 4; - bool has_val_long() const; - private: - bool _internal_has_val_long() const; - public: - void clear_val_long(); - int32_t val_long() const; - void set_val_long(int32_t value); - private: - int32_t _internal_val_long() const; - void _internal_set_val_long(int32_t value); - public: - - // optional int32 val_short = 5; - bool has_val_short() const; - private: - bool _internal_has_val_short() const; - public: - void clear_val_short(); - int32_t val_short() const; - void set_val_short(int32_t value); - private: - int32_t _internal_val_short() const; - void _internal_set_val_short(int32_t value); - public: - - // optional int32 val_byte = 6; - bool has_val_byte() const; - private: - bool _internal_has_val_byte() const; - public: - void clear_val_byte(); - int32_t val_byte() const; - void set_val_byte(int32_t value); - private: - int32_t _internal_val_byte() const; - void _internal_set_val_byte(int32_t value); - public: - - // optional bool val_bool = 7; - bool has_val_bool() const; - private: - bool _internal_has_val_bool() const; - public: - void clear_val_bool(); - bool val_bool() const; - void set_val_bool(bool value); - private: - bool _internal_val_bool() const; - void _internal_set_val_bool(bool value); - public: - - // optional uint64 val_uint64 = 8; - bool has_val_uint64() const; - private: - bool _internal_has_val_uint64() const; - public: - void clear_val_uint64(); - uint64_t val_uint64() const; - void set_val_uint64(uint64_t value); - private: - uint64_t _internal_val_uint64() const; - void _internal_set_val_uint64(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_GameEvent.key_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr val_string_; - int32_t type_; - float val_float_; - int32_t val_long_; - int32_t val_short_; - int32_t val_byte_; - bool val_bool_; - uint64_t val_uint64_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_GameEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_GameEvent) */ { - public: - inline CSVCMsg_GameEvent() : CSVCMsg_GameEvent(nullptr) {} - ~CSVCMsg_GameEvent() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_GameEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_GameEvent(const CSVCMsg_GameEvent& from); - CSVCMsg_GameEvent(CSVCMsg_GameEvent&& from) noexcept - : CSVCMsg_GameEvent() { - *this = ::std::move(from); - } - - inline CSVCMsg_GameEvent& operator=(const CSVCMsg_GameEvent& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_GameEvent& operator=(CSVCMsg_GameEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_GameEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_GameEvent* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_GameEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - friend void swap(CSVCMsg_GameEvent& a, CSVCMsg_GameEvent& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_GameEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_GameEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_GameEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_GameEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_GameEvent& from) { - CSVCMsg_GameEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_GameEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_GameEvent"; - } - protected: - explicit CSVCMsg_GameEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CSVCMsg_GameEvent_key_t key_t; - - // accessors ------------------------------------------------------- - - enum : int { - kKeysFieldNumber = 3, - kEventNameFieldNumber = 1, - kEventidFieldNumber = 2, - }; - // repeated .CSVCMsg_GameEvent.key_t keys = 3; - int keys_size() const; - private: - int _internal_keys_size() const; - public: - void clear_keys(); - ::CSVCMsg_GameEvent_key_t* mutable_keys(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEvent_key_t >* - mutable_keys(); - private: - const ::CSVCMsg_GameEvent_key_t& _internal_keys(int index) const; - ::CSVCMsg_GameEvent_key_t* _internal_add_keys(); - public: - const ::CSVCMsg_GameEvent_key_t& keys(int index) const; - ::CSVCMsg_GameEvent_key_t* add_keys(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEvent_key_t >& - keys() const; - - // optional string event_name = 1; - bool has_event_name() const; - private: - bool _internal_has_event_name() const; - public: - void clear_event_name(); - const std::string& event_name() const; - template - void set_event_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_event_name(); - PROTOBUF_NODISCARD std::string* release_event_name(); - void set_allocated_event_name(std::string* event_name); - private: - const std::string& _internal_event_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_name(const std::string& value); - std::string* _internal_mutable_event_name(); - public: - - // optional int32 eventid = 2; - bool has_eventid() const; - private: - bool _internal_has_eventid() const; - public: - void clear_eventid(); - int32_t eventid() const; - void set_eventid(int32_t value); - private: - int32_t _internal_eventid() const; - void _internal_set_eventid(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_GameEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEvent_key_t > keys_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_name_; - int32_t eventid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsgList_GameEvents_event_t : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsgList_GameEvents.event_t) */ { - public: - inline CSVCMsgList_GameEvents_event_t() : CSVCMsgList_GameEvents_event_t(nullptr) {} - ~CSVCMsgList_GameEvents_event_t() override; - explicit PROTOBUF_CONSTEXPR CSVCMsgList_GameEvents_event_t(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsgList_GameEvents_event_t(const CSVCMsgList_GameEvents_event_t& from); - CSVCMsgList_GameEvents_event_t(CSVCMsgList_GameEvents_event_t&& from) noexcept - : CSVCMsgList_GameEvents_event_t() { - *this = ::std::move(from); - } - - inline CSVCMsgList_GameEvents_event_t& operator=(const CSVCMsgList_GameEvents_event_t& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsgList_GameEvents_event_t& operator=(CSVCMsgList_GameEvents_event_t&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsgList_GameEvents_event_t& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsgList_GameEvents_event_t* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsgList_GameEvents_event_t_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - friend void swap(CSVCMsgList_GameEvents_event_t& a, CSVCMsgList_GameEvents_event_t& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsgList_GameEvents_event_t* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsgList_GameEvents_event_t* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsgList_GameEvents_event_t* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsgList_GameEvents_event_t& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsgList_GameEvents_event_t& from) { - CSVCMsgList_GameEvents_event_t::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsgList_GameEvents_event_t* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsgList_GameEvents.event_t"; - } - protected: - explicit CSVCMsgList_GameEvents_event_t(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEventFieldNumber = 2, - kTickFieldNumber = 1, - }; - // optional .CSVCMsg_GameEvent event = 2; - bool has_event() const; - private: - bool _internal_has_event() const; - public: - void clear_event(); - const ::CSVCMsg_GameEvent& event() const; - PROTOBUF_NODISCARD ::CSVCMsg_GameEvent* release_event(); - ::CSVCMsg_GameEvent* mutable_event(); - void set_allocated_event(::CSVCMsg_GameEvent* event); - private: - const ::CSVCMsg_GameEvent& _internal_event() const; - ::CSVCMsg_GameEvent* _internal_mutable_event(); - public: - void unsafe_arena_set_allocated_event( - ::CSVCMsg_GameEvent* event); - ::CSVCMsg_GameEvent* unsafe_arena_release_event(); - - // optional int32 tick = 1; - bool has_tick() const; - private: - bool _internal_has_tick() const; - public: - void clear_tick(); - int32_t tick() const; - void set_tick(int32_t value); - private: - int32_t _internal_tick() const; - void _internal_set_tick(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsgList_GameEvents.event_t) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CSVCMsg_GameEvent* event_; - int32_t tick_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsgList_GameEvents : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsgList_GameEvents) */ { - public: - inline CSVCMsgList_GameEvents() : CSVCMsgList_GameEvents(nullptr) {} - ~CSVCMsgList_GameEvents() override; - explicit PROTOBUF_CONSTEXPR CSVCMsgList_GameEvents(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsgList_GameEvents(const CSVCMsgList_GameEvents& from); - CSVCMsgList_GameEvents(CSVCMsgList_GameEvents&& from) noexcept - : CSVCMsgList_GameEvents() { - *this = ::std::move(from); - } - - inline CSVCMsgList_GameEvents& operator=(const CSVCMsgList_GameEvents& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsgList_GameEvents& operator=(CSVCMsgList_GameEvents&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsgList_GameEvents& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsgList_GameEvents* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsgList_GameEvents_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - friend void swap(CSVCMsgList_GameEvents& a, CSVCMsgList_GameEvents& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsgList_GameEvents* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsgList_GameEvents* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsgList_GameEvents* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsgList_GameEvents& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsgList_GameEvents& from) { - CSVCMsgList_GameEvents::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsgList_GameEvents* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsgList_GameEvents"; - } - protected: - explicit CSVCMsgList_GameEvents(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CSVCMsgList_GameEvents_event_t event_t; - - // accessors ------------------------------------------------------- - - enum : int { - kEventsFieldNumber = 1, - }; - // repeated .CSVCMsgList_GameEvents.event_t events = 1; - int events_size() const; - private: - int _internal_events_size() const; - public: - void clear_events(); - ::CSVCMsgList_GameEvents_event_t* mutable_events(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsgList_GameEvents_event_t >* - mutable_events(); - private: - const ::CSVCMsgList_GameEvents_event_t& _internal_events(int index) const; - ::CSVCMsgList_GameEvents_event_t* _internal_add_events(); - public: - const ::CSVCMsgList_GameEvents_event_t& events(int index) const; - ::CSVCMsgList_GameEvents_event_t* add_events(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsgList_GameEvents_event_t >& - events() const; - - // @@protoc_insertion_point(class_scope:CSVCMsgList_GameEvents) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsgList_GameEvents_event_t > events_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CNETMsg_SpawnGroup_Load : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_SpawnGroup_Load) */ { - public: - inline CNETMsg_SpawnGroup_Load() : CNETMsg_SpawnGroup_Load(nullptr) {} - ~CNETMsg_SpawnGroup_Load() override; - explicit PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_Load(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CNETMsg_SpawnGroup_Load(const CNETMsg_SpawnGroup_Load& from); - CNETMsg_SpawnGroup_Load(CNETMsg_SpawnGroup_Load&& from) noexcept - : CNETMsg_SpawnGroup_Load() { - *this = ::std::move(from); - } - - inline CNETMsg_SpawnGroup_Load& operator=(const CNETMsg_SpawnGroup_Load& from) { - CopyFrom(from); - return *this; - } - inline CNETMsg_SpawnGroup_Load& operator=(CNETMsg_SpawnGroup_Load&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CNETMsg_SpawnGroup_Load& default_instance() { - return *internal_default_instance(); - } - static inline const CNETMsg_SpawnGroup_Load* internal_default_instance() { - return reinterpret_cast( - &_CNETMsg_SpawnGroup_Load_default_instance_); - } - static constexpr int kIndexInFileMessages = - 20; - - friend void swap(CNETMsg_SpawnGroup_Load& a, CNETMsg_SpawnGroup_Load& b) { - a.Swap(&b); - } - inline void Swap(CNETMsg_SpawnGroup_Load* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CNETMsg_SpawnGroup_Load* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CNETMsg_SpawnGroup_Load* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CNETMsg_SpawnGroup_Load& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CNETMsg_SpawnGroup_Load& from) { - CNETMsg_SpawnGroup_Load::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CNETMsg_SpawnGroup_Load* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CNETMsg_SpawnGroup_Load"; - } - protected: - explicit CNETMsg_SpawnGroup_Load(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kWorldnameFieldNumber = 1, - kEntitylumpnameFieldNumber = 2, - kEntityfilternameFieldNumber = 3, - kSpawngroupmanifestFieldNumber = 8, - kLocalnamefixupFieldNumber = 12, - kParentnamefixupFieldNumber = 13, - kSavegamefilenameFieldNumber = 17, - kWorldgroupnameFieldNumber = 20, - kWorldOffsetPosFieldNumber = 6, - kWorldOffsetAngleFieldNumber = 7, - kSpawngrouphandleFieldNumber = 4, - kSpawngroupownerhandleFieldNumber = 5, - kFlagsFieldNumber = 9, - kTickcountFieldNumber = 10, - kManifestloadpriorityFieldNumber = 14, - kWorldgroupidFieldNumber = 15, - kManifestincompleteFieldNumber = 11, - kLeveltransitionFieldNumber = 19, - kCreationsequenceFieldNumber = 16, - kSpawngroupparenthandleFieldNumber = 18, - }; - // optional string worldname = 1; - bool has_worldname() const; - private: - bool _internal_has_worldname() const; - public: - void clear_worldname(); - const std::string& worldname() const; - template - void set_worldname(ArgT0&& arg0, ArgT... args); - std::string* mutable_worldname(); - PROTOBUF_NODISCARD std::string* release_worldname(); - void set_allocated_worldname(std::string* worldname); - private: - const std::string& _internal_worldname() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_worldname(const std::string& value); - std::string* _internal_mutable_worldname(); - public: - - // optional string entitylumpname = 2; - bool has_entitylumpname() const; - private: - bool _internal_has_entitylumpname() const; - public: - void clear_entitylumpname(); - const std::string& entitylumpname() const; - template - void set_entitylumpname(ArgT0&& arg0, ArgT... args); - std::string* mutable_entitylumpname(); - PROTOBUF_NODISCARD std::string* release_entitylumpname(); - void set_allocated_entitylumpname(std::string* entitylumpname); - private: - const std::string& _internal_entitylumpname() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_entitylumpname(const std::string& value); - std::string* _internal_mutable_entitylumpname(); - public: - - // optional string entityfiltername = 3; - bool has_entityfiltername() const; - private: - bool _internal_has_entityfiltername() const; - public: - void clear_entityfiltername(); - const std::string& entityfiltername() const; - template - void set_entityfiltername(ArgT0&& arg0, ArgT... args); - std::string* mutable_entityfiltername(); - PROTOBUF_NODISCARD std::string* release_entityfiltername(); - void set_allocated_entityfiltername(std::string* entityfiltername); - private: - const std::string& _internal_entityfiltername() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_entityfiltername(const std::string& value); - std::string* _internal_mutable_entityfiltername(); - public: - - // optional bytes spawngroupmanifest = 8; - bool has_spawngroupmanifest() const; - private: - bool _internal_has_spawngroupmanifest() const; - public: - void clear_spawngroupmanifest(); - const std::string& spawngroupmanifest() const; - template - void set_spawngroupmanifest(ArgT0&& arg0, ArgT... args); - std::string* mutable_spawngroupmanifest(); - PROTOBUF_NODISCARD std::string* release_spawngroupmanifest(); - void set_allocated_spawngroupmanifest(std::string* spawngroupmanifest); - private: - const std::string& _internal_spawngroupmanifest() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_spawngroupmanifest(const std::string& value); - std::string* _internal_mutable_spawngroupmanifest(); - public: - - // optional string localnamefixup = 12; - bool has_localnamefixup() const; - private: - bool _internal_has_localnamefixup() const; - public: - void clear_localnamefixup(); - const std::string& localnamefixup() const; - template - void set_localnamefixup(ArgT0&& arg0, ArgT... args); - std::string* mutable_localnamefixup(); - PROTOBUF_NODISCARD std::string* release_localnamefixup(); - void set_allocated_localnamefixup(std::string* localnamefixup); - private: - const std::string& _internal_localnamefixup() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_localnamefixup(const std::string& value); - std::string* _internal_mutable_localnamefixup(); - public: - - // optional string parentnamefixup = 13; - bool has_parentnamefixup() const; - private: - bool _internal_has_parentnamefixup() const; - public: - void clear_parentnamefixup(); - const std::string& parentnamefixup() const; - template - void set_parentnamefixup(ArgT0&& arg0, ArgT... args); - std::string* mutable_parentnamefixup(); - PROTOBUF_NODISCARD std::string* release_parentnamefixup(); - void set_allocated_parentnamefixup(std::string* parentnamefixup); - private: - const std::string& _internal_parentnamefixup() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_parentnamefixup(const std::string& value); - std::string* _internal_mutable_parentnamefixup(); - public: - - // optional string savegamefilename = 17; - bool has_savegamefilename() const; - private: - bool _internal_has_savegamefilename() const; - public: - void clear_savegamefilename(); - const std::string& savegamefilename() const; - template - void set_savegamefilename(ArgT0&& arg0, ArgT... args); - std::string* mutable_savegamefilename(); - PROTOBUF_NODISCARD std::string* release_savegamefilename(); - void set_allocated_savegamefilename(std::string* savegamefilename); - private: - const std::string& _internal_savegamefilename() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_savegamefilename(const std::string& value); - std::string* _internal_mutable_savegamefilename(); - public: - - // optional string worldgroupname = 20; - bool has_worldgroupname() const; - private: - bool _internal_has_worldgroupname() const; - public: - void clear_worldgroupname(); - const std::string& worldgroupname() const; - template - void set_worldgroupname(ArgT0&& arg0, ArgT... args); - std::string* mutable_worldgroupname(); - PROTOBUF_NODISCARD std::string* release_worldgroupname(); - void set_allocated_worldgroupname(std::string* worldgroupname); - private: - const std::string& _internal_worldgroupname() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_worldgroupname(const std::string& value); - std::string* _internal_mutable_worldgroupname(); - public: - - // optional .CMsgVector world_offset_pos = 6; - bool has_world_offset_pos() const; - private: - bool _internal_has_world_offset_pos() const; - public: - void clear_world_offset_pos(); - const ::CMsgVector& world_offset_pos() const; - PROTOBUF_NODISCARD ::CMsgVector* release_world_offset_pos(); - ::CMsgVector* mutable_world_offset_pos(); - void set_allocated_world_offset_pos(::CMsgVector* world_offset_pos); - private: - const ::CMsgVector& _internal_world_offset_pos() const; - ::CMsgVector* _internal_mutable_world_offset_pos(); - public: - void unsafe_arena_set_allocated_world_offset_pos( - ::CMsgVector* world_offset_pos); - ::CMsgVector* unsafe_arena_release_world_offset_pos(); - - // optional .CMsgQAngle world_offset_angle = 7; - bool has_world_offset_angle() const; - private: - bool _internal_has_world_offset_angle() const; - public: - void clear_world_offset_angle(); - const ::CMsgQAngle& world_offset_angle() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_world_offset_angle(); - ::CMsgQAngle* mutable_world_offset_angle(); - void set_allocated_world_offset_angle(::CMsgQAngle* world_offset_angle); - private: - const ::CMsgQAngle& _internal_world_offset_angle() const; - ::CMsgQAngle* _internal_mutable_world_offset_angle(); - public: - void unsafe_arena_set_allocated_world_offset_angle( - ::CMsgQAngle* world_offset_angle); - ::CMsgQAngle* unsafe_arena_release_world_offset_angle(); - - // optional uint32 spawngrouphandle = 4; - bool has_spawngrouphandle() const; - private: - bool _internal_has_spawngrouphandle() const; - public: - void clear_spawngrouphandle(); - uint32_t spawngrouphandle() const; - void set_spawngrouphandle(uint32_t value); - private: - uint32_t _internal_spawngrouphandle() const; - void _internal_set_spawngrouphandle(uint32_t value); - public: - - // optional uint32 spawngroupownerhandle = 5; - bool has_spawngroupownerhandle() const; - private: - bool _internal_has_spawngroupownerhandle() const; - public: - void clear_spawngroupownerhandle(); - uint32_t spawngroupownerhandle() const; - void set_spawngroupownerhandle(uint32_t value); - private: - uint32_t _internal_spawngroupownerhandle() const; - void _internal_set_spawngroupownerhandle(uint32_t value); - public: - - // optional uint32 flags = 9; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional int32 tickcount = 10; - bool has_tickcount() const; - private: - bool _internal_has_tickcount() const; - public: - void clear_tickcount(); - int32_t tickcount() const; - void set_tickcount(int32_t value); - private: - int32_t _internal_tickcount() const; - void _internal_set_tickcount(int32_t value); - public: - - // optional int32 manifestloadpriority = 14; - bool has_manifestloadpriority() const; - private: - bool _internal_has_manifestloadpriority() const; - public: - void clear_manifestloadpriority(); - int32_t manifestloadpriority() const; - void set_manifestloadpriority(int32_t value); - private: - int32_t _internal_manifestloadpriority() const; - void _internal_set_manifestloadpriority(int32_t value); - public: - - // optional uint32 worldgroupid = 15; - bool has_worldgroupid() const; - private: - bool _internal_has_worldgroupid() const; - public: - void clear_worldgroupid(); - uint32_t worldgroupid() const; - void set_worldgroupid(uint32_t value); - private: - uint32_t _internal_worldgroupid() const; - void _internal_set_worldgroupid(uint32_t value); - public: - - // optional bool manifestincomplete = 11; - bool has_manifestincomplete() const; - private: - bool _internal_has_manifestincomplete() const; - public: - void clear_manifestincomplete(); - bool manifestincomplete() const; - void set_manifestincomplete(bool value); - private: - bool _internal_manifestincomplete() const; - void _internal_set_manifestincomplete(bool value); - public: - - // optional bool leveltransition = 19; - bool has_leveltransition() const; - private: - bool _internal_has_leveltransition() const; - public: - void clear_leveltransition(); - bool leveltransition() const; - void set_leveltransition(bool value); - private: - bool _internal_leveltransition() const; - void _internal_set_leveltransition(bool value); - public: - - // optional uint32 creationsequence = 16; - bool has_creationsequence() const; - private: - bool _internal_has_creationsequence() const; - public: - void clear_creationsequence(); - uint32_t creationsequence() const; - void set_creationsequence(uint32_t value); - private: - uint32_t _internal_creationsequence() const; - void _internal_set_creationsequence(uint32_t value); - public: - - // optional uint32 spawngroupparenthandle = 18; - bool has_spawngroupparenthandle() const; - private: - bool _internal_has_spawngroupparenthandle() const; - public: - void clear_spawngroupparenthandle(); - uint32_t spawngroupparenthandle() const; - void set_spawngroupparenthandle(uint32_t value); - private: - uint32_t _internal_spawngroupparenthandle() const; - void _internal_set_spawngroupparenthandle(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CNETMsg_SpawnGroup_Load) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr worldname_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr entitylumpname_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr entityfiltername_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr spawngroupmanifest_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr localnamefixup_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr parentnamefixup_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr savegamefilename_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr worldgroupname_; - ::CMsgVector* world_offset_pos_; - ::CMsgQAngle* world_offset_angle_; - uint32_t spawngrouphandle_; - uint32_t spawngroupownerhandle_; - uint32_t flags_; - int32_t tickcount_; - int32_t manifestloadpriority_; - uint32_t worldgroupid_; - bool manifestincomplete_; - bool leveltransition_; - uint32_t creationsequence_; - uint32_t spawngroupparenthandle_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CNETMsg_SpawnGroup_ManifestUpdate : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_SpawnGroup_ManifestUpdate) */ { - public: - inline CNETMsg_SpawnGroup_ManifestUpdate() : CNETMsg_SpawnGroup_ManifestUpdate(nullptr) {} - ~CNETMsg_SpawnGroup_ManifestUpdate() override; - explicit PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_ManifestUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CNETMsg_SpawnGroup_ManifestUpdate(const CNETMsg_SpawnGroup_ManifestUpdate& from); - CNETMsg_SpawnGroup_ManifestUpdate(CNETMsg_SpawnGroup_ManifestUpdate&& from) noexcept - : CNETMsg_SpawnGroup_ManifestUpdate() { - *this = ::std::move(from); - } - - inline CNETMsg_SpawnGroup_ManifestUpdate& operator=(const CNETMsg_SpawnGroup_ManifestUpdate& from) { - CopyFrom(from); - return *this; - } - inline CNETMsg_SpawnGroup_ManifestUpdate& operator=(CNETMsg_SpawnGroup_ManifestUpdate&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CNETMsg_SpawnGroup_ManifestUpdate& default_instance() { - return *internal_default_instance(); - } - static inline const CNETMsg_SpawnGroup_ManifestUpdate* internal_default_instance() { - return reinterpret_cast( - &_CNETMsg_SpawnGroup_ManifestUpdate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 21; - - friend void swap(CNETMsg_SpawnGroup_ManifestUpdate& a, CNETMsg_SpawnGroup_ManifestUpdate& b) { - a.Swap(&b); - } - inline void Swap(CNETMsg_SpawnGroup_ManifestUpdate* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CNETMsg_SpawnGroup_ManifestUpdate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CNETMsg_SpawnGroup_ManifestUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CNETMsg_SpawnGroup_ManifestUpdate& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CNETMsg_SpawnGroup_ManifestUpdate& from) { - CNETMsg_SpawnGroup_ManifestUpdate::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CNETMsg_SpawnGroup_ManifestUpdate* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CNETMsg_SpawnGroup_ManifestUpdate"; - } - protected: - explicit CNETMsg_SpawnGroup_ManifestUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSpawngroupmanifestFieldNumber = 2, - kSpawngrouphandleFieldNumber = 1, - kManifestincompleteFieldNumber = 3, - }; - // optional bytes spawngroupmanifest = 2; - bool has_spawngroupmanifest() const; - private: - bool _internal_has_spawngroupmanifest() const; - public: - void clear_spawngroupmanifest(); - const std::string& spawngroupmanifest() const; - template - void set_spawngroupmanifest(ArgT0&& arg0, ArgT... args); - std::string* mutable_spawngroupmanifest(); - PROTOBUF_NODISCARD std::string* release_spawngroupmanifest(); - void set_allocated_spawngroupmanifest(std::string* spawngroupmanifest); - private: - const std::string& _internal_spawngroupmanifest() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_spawngroupmanifest(const std::string& value); - std::string* _internal_mutable_spawngroupmanifest(); - public: - - // optional uint32 spawngrouphandle = 1; - bool has_spawngrouphandle() const; - private: - bool _internal_has_spawngrouphandle() const; - public: - void clear_spawngrouphandle(); - uint32_t spawngrouphandle() const; - void set_spawngrouphandle(uint32_t value); - private: - uint32_t _internal_spawngrouphandle() const; - void _internal_set_spawngrouphandle(uint32_t value); - public: - - // optional bool manifestincomplete = 3; - bool has_manifestincomplete() const; - private: - bool _internal_has_manifestincomplete() const; - public: - void clear_manifestincomplete(); - bool manifestincomplete() const; - void set_manifestincomplete(bool value); - private: - bool _internal_manifestincomplete() const; - void _internal_set_manifestincomplete(bool value); - public: - - // @@protoc_insertion_point(class_scope:CNETMsg_SpawnGroup_ManifestUpdate) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr spawngroupmanifest_; - uint32_t spawngrouphandle_; - bool manifestincomplete_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CNETMsg_SpawnGroup_SetCreationTick : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_SpawnGroup_SetCreationTick) */ { - public: - inline CNETMsg_SpawnGroup_SetCreationTick() : CNETMsg_SpawnGroup_SetCreationTick(nullptr) {} - ~CNETMsg_SpawnGroup_SetCreationTick() override; - explicit PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_SetCreationTick(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CNETMsg_SpawnGroup_SetCreationTick(const CNETMsg_SpawnGroup_SetCreationTick& from); - CNETMsg_SpawnGroup_SetCreationTick(CNETMsg_SpawnGroup_SetCreationTick&& from) noexcept - : CNETMsg_SpawnGroup_SetCreationTick() { - *this = ::std::move(from); - } - - inline CNETMsg_SpawnGroup_SetCreationTick& operator=(const CNETMsg_SpawnGroup_SetCreationTick& from) { - CopyFrom(from); - return *this; - } - inline CNETMsg_SpawnGroup_SetCreationTick& operator=(CNETMsg_SpawnGroup_SetCreationTick&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CNETMsg_SpawnGroup_SetCreationTick& default_instance() { - return *internal_default_instance(); - } - static inline const CNETMsg_SpawnGroup_SetCreationTick* internal_default_instance() { - return reinterpret_cast( - &_CNETMsg_SpawnGroup_SetCreationTick_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - friend void swap(CNETMsg_SpawnGroup_SetCreationTick& a, CNETMsg_SpawnGroup_SetCreationTick& b) { - a.Swap(&b); - } - inline void Swap(CNETMsg_SpawnGroup_SetCreationTick* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CNETMsg_SpawnGroup_SetCreationTick* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CNETMsg_SpawnGroup_SetCreationTick* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CNETMsg_SpawnGroup_SetCreationTick& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CNETMsg_SpawnGroup_SetCreationTick& from) { - CNETMsg_SpawnGroup_SetCreationTick::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CNETMsg_SpawnGroup_SetCreationTick* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CNETMsg_SpawnGroup_SetCreationTick"; - } - protected: - explicit CNETMsg_SpawnGroup_SetCreationTick(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSpawngrouphandleFieldNumber = 1, - kTickcountFieldNumber = 2, - kCreationsequenceFieldNumber = 3, - }; - // optional uint32 spawngrouphandle = 1; - bool has_spawngrouphandle() const; - private: - bool _internal_has_spawngrouphandle() const; - public: - void clear_spawngrouphandle(); - uint32_t spawngrouphandle() const; - void set_spawngrouphandle(uint32_t value); - private: - uint32_t _internal_spawngrouphandle() const; - void _internal_set_spawngrouphandle(uint32_t value); - public: - - // optional int32 tickcount = 2; - bool has_tickcount() const; - private: - bool _internal_has_tickcount() const; - public: - void clear_tickcount(); - int32_t tickcount() const; - void set_tickcount(int32_t value); - private: - int32_t _internal_tickcount() const; - void _internal_set_tickcount(int32_t value); - public: - - // optional uint32 creationsequence = 3; - bool has_creationsequence() const; - private: - bool _internal_has_creationsequence() const; - public: - void clear_creationsequence(); - uint32_t creationsequence() const; - void set_creationsequence(uint32_t value); - private: - uint32_t _internal_creationsequence() const; - void _internal_set_creationsequence(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CNETMsg_SpawnGroup_SetCreationTick) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t spawngrouphandle_; - int32_t tickcount_; - uint32_t creationsequence_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CNETMsg_SpawnGroup_Unload : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_SpawnGroup_Unload) */ { - public: - inline CNETMsg_SpawnGroup_Unload() : CNETMsg_SpawnGroup_Unload(nullptr) {} - ~CNETMsg_SpawnGroup_Unload() override; - explicit PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_Unload(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CNETMsg_SpawnGroup_Unload(const CNETMsg_SpawnGroup_Unload& from); - CNETMsg_SpawnGroup_Unload(CNETMsg_SpawnGroup_Unload&& from) noexcept - : CNETMsg_SpawnGroup_Unload() { - *this = ::std::move(from); - } - - inline CNETMsg_SpawnGroup_Unload& operator=(const CNETMsg_SpawnGroup_Unload& from) { - CopyFrom(from); - return *this; - } - inline CNETMsg_SpawnGroup_Unload& operator=(CNETMsg_SpawnGroup_Unload&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CNETMsg_SpawnGroup_Unload& default_instance() { - return *internal_default_instance(); - } - static inline const CNETMsg_SpawnGroup_Unload* internal_default_instance() { - return reinterpret_cast( - &_CNETMsg_SpawnGroup_Unload_default_instance_); - } - static constexpr int kIndexInFileMessages = - 23; - - friend void swap(CNETMsg_SpawnGroup_Unload& a, CNETMsg_SpawnGroup_Unload& b) { - a.Swap(&b); - } - inline void Swap(CNETMsg_SpawnGroup_Unload* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CNETMsg_SpawnGroup_Unload* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CNETMsg_SpawnGroup_Unload* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CNETMsg_SpawnGroup_Unload& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CNETMsg_SpawnGroup_Unload& from) { - CNETMsg_SpawnGroup_Unload::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CNETMsg_SpawnGroup_Unload* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CNETMsg_SpawnGroup_Unload"; - } - protected: - explicit CNETMsg_SpawnGroup_Unload(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSpawngrouphandleFieldNumber = 1, - kFlagsFieldNumber = 2, - kTickcountFieldNumber = 3, - }; - // optional uint32 spawngrouphandle = 1; - bool has_spawngrouphandle() const; - private: - bool _internal_has_spawngrouphandle() const; - public: - void clear_spawngrouphandle(); - uint32_t spawngrouphandle() const; - void set_spawngrouphandle(uint32_t value); - private: - uint32_t _internal_spawngrouphandle() const; - void _internal_set_spawngrouphandle(uint32_t value); - public: - - // optional uint32 flags = 2; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional int32 tickcount = 3; - bool has_tickcount() const; - private: - bool _internal_has_tickcount() const; - public: - void clear_tickcount(); - int32_t tickcount() const; - void set_tickcount(int32_t value); - private: - int32_t _internal_tickcount() const; - void _internal_set_tickcount(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CNETMsg_SpawnGroup_Unload) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t spawngrouphandle_; - uint32_t flags_; - int32_t tickcount_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CNETMsg_SpawnGroup_LoadCompleted : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_SpawnGroup_LoadCompleted) */ { - public: - inline CNETMsg_SpawnGroup_LoadCompleted() : CNETMsg_SpawnGroup_LoadCompleted(nullptr) {} - ~CNETMsg_SpawnGroup_LoadCompleted() override; - explicit PROTOBUF_CONSTEXPR CNETMsg_SpawnGroup_LoadCompleted(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CNETMsg_SpawnGroup_LoadCompleted(const CNETMsg_SpawnGroup_LoadCompleted& from); - CNETMsg_SpawnGroup_LoadCompleted(CNETMsg_SpawnGroup_LoadCompleted&& from) noexcept - : CNETMsg_SpawnGroup_LoadCompleted() { - *this = ::std::move(from); - } - - inline CNETMsg_SpawnGroup_LoadCompleted& operator=(const CNETMsg_SpawnGroup_LoadCompleted& from) { - CopyFrom(from); - return *this; - } - inline CNETMsg_SpawnGroup_LoadCompleted& operator=(CNETMsg_SpawnGroup_LoadCompleted&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CNETMsg_SpawnGroup_LoadCompleted& default_instance() { - return *internal_default_instance(); - } - static inline const CNETMsg_SpawnGroup_LoadCompleted* internal_default_instance() { - return reinterpret_cast( - &_CNETMsg_SpawnGroup_LoadCompleted_default_instance_); - } - static constexpr int kIndexInFileMessages = - 24; - - friend void swap(CNETMsg_SpawnGroup_LoadCompleted& a, CNETMsg_SpawnGroup_LoadCompleted& b) { - a.Swap(&b); - } - inline void Swap(CNETMsg_SpawnGroup_LoadCompleted* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CNETMsg_SpawnGroup_LoadCompleted* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CNETMsg_SpawnGroup_LoadCompleted* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CNETMsg_SpawnGroup_LoadCompleted& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CNETMsg_SpawnGroup_LoadCompleted& from) { - CNETMsg_SpawnGroup_LoadCompleted::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CNETMsg_SpawnGroup_LoadCompleted* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CNETMsg_SpawnGroup_LoadCompleted"; - } - protected: - explicit CNETMsg_SpawnGroup_LoadCompleted(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSpawngrouphandleFieldNumber = 1, - }; - // optional uint32 spawngrouphandle = 1; - bool has_spawngrouphandle() const; - private: - bool _internal_has_spawngrouphandle() const; - public: - void clear_spawngrouphandle(); - uint32_t spawngrouphandle() const; - void set_spawngrouphandle(uint32_t value); - private: - uint32_t _internal_spawngrouphandle() const; - void _internal_set_spawngrouphandle(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CNETMsg_SpawnGroup_LoadCompleted) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t spawngrouphandle_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CSVCMsg_GameSessionConfiguration : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSVCMsg_GameSessionConfiguration) */ { - public: - inline CSVCMsg_GameSessionConfiguration() : CSVCMsg_GameSessionConfiguration(nullptr) {} - ~CSVCMsg_GameSessionConfiguration() override; - explicit PROTOBUF_CONSTEXPR CSVCMsg_GameSessionConfiguration(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSVCMsg_GameSessionConfiguration(const CSVCMsg_GameSessionConfiguration& from); - CSVCMsg_GameSessionConfiguration(CSVCMsg_GameSessionConfiguration&& from) noexcept - : CSVCMsg_GameSessionConfiguration() { - *this = ::std::move(from); - } - - inline CSVCMsg_GameSessionConfiguration& operator=(const CSVCMsg_GameSessionConfiguration& from) { - CopyFrom(from); - return *this; - } - inline CSVCMsg_GameSessionConfiguration& operator=(CSVCMsg_GameSessionConfiguration&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSVCMsg_GameSessionConfiguration& default_instance() { - return *internal_default_instance(); - } - static inline const CSVCMsg_GameSessionConfiguration* internal_default_instance() { - return reinterpret_cast( - &_CSVCMsg_GameSessionConfiguration_default_instance_); - } - static constexpr int kIndexInFileMessages = - 25; - - friend void swap(CSVCMsg_GameSessionConfiguration& a, CSVCMsg_GameSessionConfiguration& b) { - a.Swap(&b); - } - inline void Swap(CSVCMsg_GameSessionConfiguration* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSVCMsg_GameSessionConfiguration* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSVCMsg_GameSessionConfiguration* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSVCMsg_GameSessionConfiguration& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSVCMsg_GameSessionConfiguration& from) { - CSVCMsg_GameSessionConfiguration::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSVCMsg_GameSessionConfiguration* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSVCMsg_GameSessionConfiguration"; - } - protected: - explicit CSVCMsg_GameSessionConfiguration(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kHostnameFieldNumber = 9, - kSavegamenameFieldNumber = 10, - kS1MapnameFieldNumber = 11, - kGamemodeFieldNumber = 12, - kServerIpAddressFieldNumber = 13, - kDataFieldNumber = 14, - kPreviouslevelFieldNumber = 17, - kLandmarknameFieldNumber = 18, - kIsMultiplayerFieldNumber = 1, - kIsLoadsavegameFieldNumber = 2, - kIsBackgroundMapFieldNumber = 3, - kIsHeadlessFieldNumber = 4, - kMinClientLimitFieldNumber = 5, - kMaxClientLimitFieldNumber = 6, - kMaxClientsFieldNumber = 7, - kTickIntervalFieldNumber = 8, - kIsLocalonlyFieldNumber = 15, - kNoSteamServerFieldNumber = 19, - kIsTransitionFieldNumber = 16, - }; - // optional string hostname = 9; - bool has_hostname() const; - private: - bool _internal_has_hostname() const; - public: - void clear_hostname(); - const std::string& hostname() const; - template - void set_hostname(ArgT0&& arg0, ArgT... args); - std::string* mutable_hostname(); - PROTOBUF_NODISCARD std::string* release_hostname(); - void set_allocated_hostname(std::string* hostname); - private: - const std::string& _internal_hostname() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_hostname(const std::string& value); - std::string* _internal_mutable_hostname(); - public: - - // optional string savegamename = 10; - bool has_savegamename() const; - private: - bool _internal_has_savegamename() const; - public: - void clear_savegamename(); - const std::string& savegamename() const; - template - void set_savegamename(ArgT0&& arg0, ArgT... args); - std::string* mutable_savegamename(); - PROTOBUF_NODISCARD std::string* release_savegamename(); - void set_allocated_savegamename(std::string* savegamename); - private: - const std::string& _internal_savegamename() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_savegamename(const std::string& value); - std::string* _internal_mutable_savegamename(); - public: - - // optional string s1_mapname = 11; - bool has_s1_mapname() const; - private: - bool _internal_has_s1_mapname() const; - public: - void clear_s1_mapname(); - const std::string& s1_mapname() const; - template - void set_s1_mapname(ArgT0&& arg0, ArgT... args); - std::string* mutable_s1_mapname(); - PROTOBUF_NODISCARD std::string* release_s1_mapname(); - void set_allocated_s1_mapname(std::string* s1_mapname); - private: - const std::string& _internal_s1_mapname() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_s1_mapname(const std::string& value); - std::string* _internal_mutable_s1_mapname(); - public: - - // optional string gamemode = 12; - bool has_gamemode() const; - private: - bool _internal_has_gamemode() const; - public: - void clear_gamemode(); - const std::string& gamemode() const; - template - void set_gamemode(ArgT0&& arg0, ArgT... args); - std::string* mutable_gamemode(); - PROTOBUF_NODISCARD std::string* release_gamemode(); - void set_allocated_gamemode(std::string* gamemode); - private: - const std::string& _internal_gamemode() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_gamemode(const std::string& value); - std::string* _internal_mutable_gamemode(); - public: - - // optional string server_ip_address = 13; - bool has_server_ip_address() const; - private: - bool _internal_has_server_ip_address() const; - public: - void clear_server_ip_address(); - const std::string& server_ip_address() const; - template - void set_server_ip_address(ArgT0&& arg0, ArgT... args); - std::string* mutable_server_ip_address(); - PROTOBUF_NODISCARD std::string* release_server_ip_address(); - void set_allocated_server_ip_address(std::string* server_ip_address); - private: - const std::string& _internal_server_ip_address() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_server_ip_address(const std::string& value); - std::string* _internal_mutable_server_ip_address(); - public: - - // optional bytes data = 14; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // optional string previouslevel = 17; - bool has_previouslevel() const; - private: - bool _internal_has_previouslevel() const; - public: - void clear_previouslevel(); - const std::string& previouslevel() const; - template - void set_previouslevel(ArgT0&& arg0, ArgT... args); - std::string* mutable_previouslevel(); - PROTOBUF_NODISCARD std::string* release_previouslevel(); - void set_allocated_previouslevel(std::string* previouslevel); - private: - const std::string& _internal_previouslevel() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_previouslevel(const std::string& value); - std::string* _internal_mutable_previouslevel(); - public: - - // optional string landmarkname = 18; - bool has_landmarkname() const; - private: - bool _internal_has_landmarkname() const; - public: - void clear_landmarkname(); - const std::string& landmarkname() const; - template - void set_landmarkname(ArgT0&& arg0, ArgT... args); - std::string* mutable_landmarkname(); - PROTOBUF_NODISCARD std::string* release_landmarkname(); - void set_allocated_landmarkname(std::string* landmarkname); - private: - const std::string& _internal_landmarkname() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_landmarkname(const std::string& value); - std::string* _internal_mutable_landmarkname(); - public: - - // optional bool is_multiplayer = 1; - bool has_is_multiplayer() const; - private: - bool _internal_has_is_multiplayer() const; - public: - void clear_is_multiplayer(); - bool is_multiplayer() const; - void set_is_multiplayer(bool value); - private: - bool _internal_is_multiplayer() const; - void _internal_set_is_multiplayer(bool value); - public: - - // optional bool is_loadsavegame = 2; - bool has_is_loadsavegame() const; - private: - bool _internal_has_is_loadsavegame() const; - public: - void clear_is_loadsavegame(); - bool is_loadsavegame() const; - void set_is_loadsavegame(bool value); - private: - bool _internal_is_loadsavegame() const; - void _internal_set_is_loadsavegame(bool value); - public: - - // optional bool is_background_map = 3; - bool has_is_background_map() const; - private: - bool _internal_has_is_background_map() const; - public: - void clear_is_background_map(); - bool is_background_map() const; - void set_is_background_map(bool value); - private: - bool _internal_is_background_map() const; - void _internal_set_is_background_map(bool value); - public: - - // optional bool is_headless = 4; - bool has_is_headless() const; - private: - bool _internal_has_is_headless() const; - public: - void clear_is_headless(); - bool is_headless() const; - void set_is_headless(bool value); - private: - bool _internal_is_headless() const; - void _internal_set_is_headless(bool value); - public: - - // optional uint32 min_client_limit = 5; - bool has_min_client_limit() const; - private: - bool _internal_has_min_client_limit() const; - public: - void clear_min_client_limit(); - uint32_t min_client_limit() const; - void set_min_client_limit(uint32_t value); - private: - uint32_t _internal_min_client_limit() const; - void _internal_set_min_client_limit(uint32_t value); - public: - - // optional uint32 max_client_limit = 6; - bool has_max_client_limit() const; - private: - bool _internal_has_max_client_limit() const; - public: - void clear_max_client_limit(); - uint32_t max_client_limit() const; - void set_max_client_limit(uint32_t value); - private: - uint32_t _internal_max_client_limit() const; - void _internal_set_max_client_limit(uint32_t value); - public: - - // optional uint32 max_clients = 7; - bool has_max_clients() const; - private: - bool _internal_has_max_clients() const; - public: - void clear_max_clients(); - uint32_t max_clients() const; - void set_max_clients(uint32_t value); - private: - uint32_t _internal_max_clients() const; - void _internal_set_max_clients(uint32_t value); - public: - - // optional fixed32 tick_interval = 8; - bool has_tick_interval() const; - private: - bool _internal_has_tick_interval() const; - public: - void clear_tick_interval(); - uint32_t tick_interval() const; - void set_tick_interval(uint32_t value); - private: - uint32_t _internal_tick_interval() const; - void _internal_set_tick_interval(uint32_t value); - public: - - // optional bool is_localonly = 15; - bool has_is_localonly() const; - private: - bool _internal_has_is_localonly() const; - public: - void clear_is_localonly(); - bool is_localonly() const; - void set_is_localonly(bool value); - private: - bool _internal_is_localonly() const; - void _internal_set_is_localonly(bool value); - public: - - // optional bool no_steam_server = 19; - bool has_no_steam_server() const; - private: - bool _internal_has_no_steam_server() const; - public: - void clear_no_steam_server(); - bool no_steam_server() const; - void set_no_steam_server(bool value); - private: - bool _internal_no_steam_server() const; - void _internal_set_no_steam_server(bool value); - public: - - // optional bool is_transition = 16; - bool has_is_transition() const; - private: - bool _internal_has_is_transition() const; - public: - void clear_is_transition(); - bool is_transition() const; - void set_is_transition(bool value); - private: - bool _internal_is_transition() const; - void _internal_set_is_transition(bool value); - public: - - // @@protoc_insertion_point(class_scope:CSVCMsg_GameSessionConfiguration) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hostname_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr savegamename_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr s1_mapname_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gamemode_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr server_ip_address_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr previouslevel_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr landmarkname_; - bool is_multiplayer_; - bool is_loadsavegame_; - bool is_background_map_; - bool is_headless_; - uint32_t min_client_limit_; - uint32_t max_client_limit_; - uint32_t max_clients_; - uint32_t tick_interval_; - bool is_localonly_; - bool no_steam_server_; - bool is_transition_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// ------------------------------------------------------------------- - -class CNETMsg_DebugOverlay : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CNETMsg_DebugOverlay) */ { - public: - inline CNETMsg_DebugOverlay() : CNETMsg_DebugOverlay(nullptr) {} - ~CNETMsg_DebugOverlay() override; - explicit PROTOBUF_CONSTEXPR CNETMsg_DebugOverlay(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CNETMsg_DebugOverlay(const CNETMsg_DebugOverlay& from); - CNETMsg_DebugOverlay(CNETMsg_DebugOverlay&& from) noexcept - : CNETMsg_DebugOverlay() { - *this = ::std::move(from); - } - - inline CNETMsg_DebugOverlay& operator=(const CNETMsg_DebugOverlay& from) { - CopyFrom(from); - return *this; - } - inline CNETMsg_DebugOverlay& operator=(CNETMsg_DebugOverlay&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CNETMsg_DebugOverlay& default_instance() { - return *internal_default_instance(); - } - static inline const CNETMsg_DebugOverlay* internal_default_instance() { - return reinterpret_cast( - &_CNETMsg_DebugOverlay_default_instance_); - } - static constexpr int kIndexInFileMessages = - 26; - - friend void swap(CNETMsg_DebugOverlay& a, CNETMsg_DebugOverlay& b) { - a.Swap(&b); - } - inline void Swap(CNETMsg_DebugOverlay* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CNETMsg_DebugOverlay* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CNETMsg_DebugOverlay* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CNETMsg_DebugOverlay& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CNETMsg_DebugOverlay& from) { - CNETMsg_DebugOverlay::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CNETMsg_DebugOverlay* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CNETMsg_DebugOverlay"; - } - protected: - explicit CNETMsg_DebugOverlay(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kVectorsFieldNumber = 2, - kColorsFieldNumber = 3, - kDimensionsFieldNumber = 4, - kTimesFieldNumber = 5, - kBoolsFieldNumber = 6, - kUint64SFieldNumber = 7, - kStringsFieldNumber = 8, - kEtypeFieldNumber = 1, - }; - // repeated .CMsgVector vectors = 2; - int vectors_size() const; - private: - int _internal_vectors_size() const; - public: - void clear_vectors(); - ::CMsgVector* mutable_vectors(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgVector >* - mutable_vectors(); - private: - const ::CMsgVector& _internal_vectors(int index) const; - ::CMsgVector* _internal_add_vectors(); - public: - const ::CMsgVector& vectors(int index) const; - ::CMsgVector* add_vectors(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgVector >& - vectors() const; - - // repeated .CMsgRGBA colors = 3; - int colors_size() const; - private: - int _internal_colors_size() const; - public: - void clear_colors(); - ::CMsgRGBA* mutable_colors(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRGBA >* - mutable_colors(); - private: - const ::CMsgRGBA& _internal_colors(int index) const; - ::CMsgRGBA* _internal_add_colors(); - public: - const ::CMsgRGBA& colors(int index) const; - ::CMsgRGBA* add_colors(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRGBA >& - colors() const; - - // repeated float dimensions = 4; - int dimensions_size() const; - private: - int _internal_dimensions_size() const; - public: - void clear_dimensions(); - private: - float _internal_dimensions(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& - _internal_dimensions() const; - void _internal_add_dimensions(float value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* - _internal_mutable_dimensions(); - public: - float dimensions(int index) const; - void set_dimensions(int index, float value); - void add_dimensions(float value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& - dimensions() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* - mutable_dimensions(); - - // repeated float times = 5; - int times_size() const; - private: - int _internal_times_size() const; - public: - void clear_times(); - private: - float _internal_times(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& - _internal_times() const; - void _internal_add_times(float value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* - _internal_mutable_times(); - public: - float times(int index) const; - void set_times(int index, float value); - void add_times(float value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& - times() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* - mutable_times(); - - // repeated bool bools = 6; - int bools_size() const; - private: - int _internal_bools_size() const; - public: - void clear_bools(); - private: - bool _internal_bools(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >& - _internal_bools() const; - void _internal_add_bools(bool value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >* - _internal_mutable_bools(); - public: - bool bools(int index) const; - void set_bools(int index, bool value); - void add_bools(bool value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >& - bools() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >* - mutable_bools(); - - // repeated uint64 uint64s = 7; - int uint64s_size() const; - private: - int _internal_uint64s_size() const; - public: - void clear_uint64s(); - private: - uint64_t _internal_uint64s(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - _internal_uint64s() const; - void _internal_add_uint64s(uint64_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - _internal_mutable_uint64s(); - public: - uint64_t uint64s(int index) const; - void set_uint64s(int index, uint64_t value); - void add_uint64s(uint64_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - uint64s() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - mutable_uint64s(); - - // repeated string strings = 8; - int strings_size() const; - private: - int _internal_strings_size() const; - public: - void clear_strings(); - const std::string& strings(int index) const; - std::string* mutable_strings(int index); - void set_strings(int index, const std::string& value); - void set_strings(int index, std::string&& value); - void set_strings(int index, const char* value); - void set_strings(int index, const char* value, size_t size); - std::string* add_strings(); - void add_strings(const std::string& value); - void add_strings(std::string&& value); - void add_strings(const char* value); - void add_strings(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& strings() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_strings(); - private: - const std::string& _internal_strings(int index) const; - std::string* _internal_add_strings(); - public: - - // optional int32 etype = 1; - bool has_etype() const; - private: - bool _internal_has_etype() const; - public: - void clear_etype(); - int32_t etype() const; - void set_etype(int32_t value); - private: - int32_t _internal_etype() const; - void _internal_set_etype(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CNETMsg_DebugOverlay) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgVector > vectors_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRGBA > colors_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > dimensions_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > times_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool > bools_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > uint64s_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField strings_; - int32_t etype_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networkbasetypes_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CMsgVector - -// optional float x = 1; -inline bool CMsgVector::_internal_has_x() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgVector::has_x() const { - return _internal_has_x(); -} -inline void CMsgVector::clear_x() { - _impl_.x_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CMsgVector::_internal_x() const { - return _impl_.x_; -} -inline float CMsgVector::x() const { - // @@protoc_insertion_point(field_get:CMsgVector.x) - return _internal_x(); -} -inline void CMsgVector::_internal_set_x(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.x_ = value; -} -inline void CMsgVector::set_x(float value) { - _internal_set_x(value); - // @@protoc_insertion_point(field_set:CMsgVector.x) -} - -// optional float y = 2; -inline bool CMsgVector::_internal_has_y() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgVector::has_y() const { - return _internal_has_y(); -} -inline void CMsgVector::clear_y() { - _impl_.y_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CMsgVector::_internal_y() const { - return _impl_.y_; -} -inline float CMsgVector::y() const { - // @@protoc_insertion_point(field_get:CMsgVector.y) - return _internal_y(); -} -inline void CMsgVector::_internal_set_y(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.y_ = value; -} -inline void CMsgVector::set_y(float value) { - _internal_set_y(value); - // @@protoc_insertion_point(field_set:CMsgVector.y) -} - -// optional float z = 3; -inline bool CMsgVector::_internal_has_z() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgVector::has_z() const { - return _internal_has_z(); -} -inline void CMsgVector::clear_z() { - _impl_.z_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CMsgVector::_internal_z() const { - return _impl_.z_; -} -inline float CMsgVector::z() const { - // @@protoc_insertion_point(field_get:CMsgVector.z) - return _internal_z(); -} -inline void CMsgVector::_internal_set_z(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.z_ = value; -} -inline void CMsgVector::set_z(float value) { - _internal_set_z(value); - // @@protoc_insertion_point(field_set:CMsgVector.z) -} - -// optional float w = 4; -inline bool CMsgVector::_internal_has_w() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgVector::has_w() const { - return _internal_has_w(); -} -inline void CMsgVector::clear_w() { - _impl_.w_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CMsgVector::_internal_w() const { - return _impl_.w_; -} -inline float CMsgVector::w() const { - // @@protoc_insertion_point(field_get:CMsgVector.w) - return _internal_w(); -} -inline void CMsgVector::_internal_set_w(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.w_ = value; -} -inline void CMsgVector::set_w(float value) { - _internal_set_w(value); - // @@protoc_insertion_point(field_set:CMsgVector.w) -} - -// ------------------------------------------------------------------- - -// CMsgVector2D - -// optional float x = 1; -inline bool CMsgVector2D::_internal_has_x() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgVector2D::has_x() const { - return _internal_has_x(); -} -inline void CMsgVector2D::clear_x() { - _impl_.x_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CMsgVector2D::_internal_x() const { - return _impl_.x_; -} -inline float CMsgVector2D::x() const { - // @@protoc_insertion_point(field_get:CMsgVector2D.x) - return _internal_x(); -} -inline void CMsgVector2D::_internal_set_x(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.x_ = value; -} -inline void CMsgVector2D::set_x(float value) { - _internal_set_x(value); - // @@protoc_insertion_point(field_set:CMsgVector2D.x) -} - -// optional float y = 2; -inline bool CMsgVector2D::_internal_has_y() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgVector2D::has_y() const { - return _internal_has_y(); -} -inline void CMsgVector2D::clear_y() { - _impl_.y_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CMsgVector2D::_internal_y() const { - return _impl_.y_; -} -inline float CMsgVector2D::y() const { - // @@protoc_insertion_point(field_get:CMsgVector2D.y) - return _internal_y(); -} -inline void CMsgVector2D::_internal_set_y(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.y_ = value; -} -inline void CMsgVector2D::set_y(float value) { - _internal_set_y(value); - // @@protoc_insertion_point(field_set:CMsgVector2D.y) -} - -// ------------------------------------------------------------------- - -// CMsgQAngle - -// optional float x = 1; -inline bool CMsgQAngle::_internal_has_x() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgQAngle::has_x() const { - return _internal_has_x(); -} -inline void CMsgQAngle::clear_x() { - _impl_.x_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CMsgQAngle::_internal_x() const { - return _impl_.x_; -} -inline float CMsgQAngle::x() const { - // @@protoc_insertion_point(field_get:CMsgQAngle.x) - return _internal_x(); -} -inline void CMsgQAngle::_internal_set_x(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.x_ = value; -} -inline void CMsgQAngle::set_x(float value) { - _internal_set_x(value); - // @@protoc_insertion_point(field_set:CMsgQAngle.x) -} - -// optional float y = 2; -inline bool CMsgQAngle::_internal_has_y() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgQAngle::has_y() const { - return _internal_has_y(); -} -inline void CMsgQAngle::clear_y() { - _impl_.y_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CMsgQAngle::_internal_y() const { - return _impl_.y_; -} -inline float CMsgQAngle::y() const { - // @@protoc_insertion_point(field_get:CMsgQAngle.y) - return _internal_y(); -} -inline void CMsgQAngle::_internal_set_y(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.y_ = value; -} -inline void CMsgQAngle::set_y(float value) { - _internal_set_y(value); - // @@protoc_insertion_point(field_set:CMsgQAngle.y) -} - -// optional float z = 3; -inline bool CMsgQAngle::_internal_has_z() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgQAngle::has_z() const { - return _internal_has_z(); -} -inline void CMsgQAngle::clear_z() { - _impl_.z_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CMsgQAngle::_internal_z() const { - return _impl_.z_; -} -inline float CMsgQAngle::z() const { - // @@protoc_insertion_point(field_get:CMsgQAngle.z) - return _internal_z(); -} -inline void CMsgQAngle::_internal_set_z(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.z_ = value; -} -inline void CMsgQAngle::set_z(float value) { - _internal_set_z(value); - // @@protoc_insertion_point(field_set:CMsgQAngle.z) -} - -// ------------------------------------------------------------------- - -// CMsgQuaternion - -// optional float x = 1; -inline bool CMsgQuaternion::_internal_has_x() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgQuaternion::has_x() const { - return _internal_has_x(); -} -inline void CMsgQuaternion::clear_x() { - _impl_.x_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CMsgQuaternion::_internal_x() const { - return _impl_.x_; -} -inline float CMsgQuaternion::x() const { - // @@protoc_insertion_point(field_get:CMsgQuaternion.x) - return _internal_x(); -} -inline void CMsgQuaternion::_internal_set_x(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.x_ = value; -} -inline void CMsgQuaternion::set_x(float value) { - _internal_set_x(value); - // @@protoc_insertion_point(field_set:CMsgQuaternion.x) -} - -// optional float y = 2; -inline bool CMsgQuaternion::_internal_has_y() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgQuaternion::has_y() const { - return _internal_has_y(); -} -inline void CMsgQuaternion::clear_y() { - _impl_.y_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CMsgQuaternion::_internal_y() const { - return _impl_.y_; -} -inline float CMsgQuaternion::y() const { - // @@protoc_insertion_point(field_get:CMsgQuaternion.y) - return _internal_y(); -} -inline void CMsgQuaternion::_internal_set_y(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.y_ = value; -} -inline void CMsgQuaternion::set_y(float value) { - _internal_set_y(value); - // @@protoc_insertion_point(field_set:CMsgQuaternion.y) -} - -// optional float z = 3; -inline bool CMsgQuaternion::_internal_has_z() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgQuaternion::has_z() const { - return _internal_has_z(); -} -inline void CMsgQuaternion::clear_z() { - _impl_.z_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CMsgQuaternion::_internal_z() const { - return _impl_.z_; -} -inline float CMsgQuaternion::z() const { - // @@protoc_insertion_point(field_get:CMsgQuaternion.z) - return _internal_z(); -} -inline void CMsgQuaternion::_internal_set_z(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.z_ = value; -} -inline void CMsgQuaternion::set_z(float value) { - _internal_set_z(value); - // @@protoc_insertion_point(field_set:CMsgQuaternion.z) -} - -// optional float w = 4; -inline bool CMsgQuaternion::_internal_has_w() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgQuaternion::has_w() const { - return _internal_has_w(); -} -inline void CMsgQuaternion::clear_w() { - _impl_.w_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CMsgQuaternion::_internal_w() const { - return _impl_.w_; -} -inline float CMsgQuaternion::w() const { - // @@protoc_insertion_point(field_get:CMsgQuaternion.w) - return _internal_w(); -} -inline void CMsgQuaternion::_internal_set_w(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.w_ = value; -} -inline void CMsgQuaternion::set_w(float value) { - _internal_set_w(value); - // @@protoc_insertion_point(field_set:CMsgQuaternion.w) -} - -// ------------------------------------------------------------------- - -// CMsgTransform - -// optional .CMsgVector position = 1; -inline bool CMsgTransform::_internal_has_position() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); - return value; -} -inline bool CMsgTransform::has_position() const { - return _internal_has_position(); -} -inline void CMsgTransform::clear_position() { - if (_impl_.position_ != nullptr) _impl_.position_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgVector& CMsgTransform::_internal_position() const { - const ::CMsgVector* p = _impl_.position_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTransform::position() const { - // @@protoc_insertion_point(field_get:CMsgTransform.position) - return _internal_position(); -} -inline void CMsgTransform::unsafe_arena_set_allocated_position( - ::CMsgVector* position) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); - } - _impl_.position_ = position; - if (position) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTransform.position) -} -inline ::CMsgVector* CMsgTransform::release_position() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.position_; - _impl_.position_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTransform::unsafe_arena_release_position() { - // @@protoc_insertion_point(field_release:CMsgTransform.position) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.position_; - _impl_.position_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTransform::_internal_mutable_position() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.position_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.position_ = p; - } - return _impl_.position_; -} -inline ::CMsgVector* CMsgTransform::mutable_position() { - ::CMsgVector* _msg = _internal_mutable_position(); - // @@protoc_insertion_point(field_mutable:CMsgTransform.position) - return _msg; -} -inline void CMsgTransform::set_allocated_position(::CMsgVector* position) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.position_; - } - if (position) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(position); - if (message_arena != submessage_arena) { - position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, position, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.position_ = position; - // @@protoc_insertion_point(field_set_allocated:CMsgTransform.position) -} - -// optional float scale = 2; -inline bool CMsgTransform::_internal_has_scale() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgTransform::has_scale() const { - return _internal_has_scale(); -} -inline void CMsgTransform::clear_scale() { - _impl_.scale_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CMsgTransform::_internal_scale() const { - return _impl_.scale_; -} -inline float CMsgTransform::scale() const { - // @@protoc_insertion_point(field_get:CMsgTransform.scale) - return _internal_scale(); -} -inline void CMsgTransform::_internal_set_scale(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.scale_ = value; -} -inline void CMsgTransform::set_scale(float value) { - _internal_set_scale(value); - // @@protoc_insertion_point(field_set:CMsgTransform.scale) -} - -// optional .CMsgQuaternion orientation = 3; -inline bool CMsgTransform::_internal_has_orientation() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.orientation_ != nullptr); - return value; -} -inline bool CMsgTransform::has_orientation() const { - return _internal_has_orientation(); -} -inline void CMsgTransform::clear_orientation() { - if (_impl_.orientation_ != nullptr) _impl_.orientation_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CMsgQuaternion& CMsgTransform::_internal_orientation() const { - const ::CMsgQuaternion* p = _impl_.orientation_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQuaternion_default_instance_); -} -inline const ::CMsgQuaternion& CMsgTransform::orientation() const { - // @@protoc_insertion_point(field_get:CMsgTransform.orientation) - return _internal_orientation(); -} -inline void CMsgTransform::unsafe_arena_set_allocated_orientation( - ::CMsgQuaternion* orientation) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.orientation_); - } - _impl_.orientation_ = orientation; - if (orientation) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTransform.orientation) -} -inline ::CMsgQuaternion* CMsgTransform::release_orientation() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQuaternion* temp = _impl_.orientation_; - _impl_.orientation_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQuaternion* CMsgTransform::unsafe_arena_release_orientation() { - // @@protoc_insertion_point(field_release:CMsgTransform.orientation) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQuaternion* temp = _impl_.orientation_; - _impl_.orientation_ = nullptr; - return temp; -} -inline ::CMsgQuaternion* CMsgTransform::_internal_mutable_orientation() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.orientation_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQuaternion>(GetArenaForAllocation()); - _impl_.orientation_ = p; - } - return _impl_.orientation_; -} -inline ::CMsgQuaternion* CMsgTransform::mutable_orientation() { - ::CMsgQuaternion* _msg = _internal_mutable_orientation(); - // @@protoc_insertion_point(field_mutable:CMsgTransform.orientation) - return _msg; -} -inline void CMsgTransform::set_allocated_orientation(::CMsgQuaternion* orientation) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.orientation_; - } - if (orientation) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(orientation); - if (message_arena != submessage_arena) { - orientation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, orientation, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.orientation_ = orientation; - // @@protoc_insertion_point(field_set_allocated:CMsgTransform.orientation) -} - -// ------------------------------------------------------------------- - -// CMsgRGBA - -// optional int32 r = 1; -inline bool CMsgRGBA::_internal_has_r() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgRGBA::has_r() const { - return _internal_has_r(); -} -inline void CMsgRGBA::clear_r() { - _impl_.r_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CMsgRGBA::_internal_r() const { - return _impl_.r_; -} -inline int32_t CMsgRGBA::r() const { - // @@protoc_insertion_point(field_get:CMsgRGBA.r) - return _internal_r(); -} -inline void CMsgRGBA::_internal_set_r(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.r_ = value; -} -inline void CMsgRGBA::set_r(int32_t value) { - _internal_set_r(value); - // @@protoc_insertion_point(field_set:CMsgRGBA.r) -} - -// optional int32 g = 2; -inline bool CMsgRGBA::_internal_has_g() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgRGBA::has_g() const { - return _internal_has_g(); -} -inline void CMsgRGBA::clear_g() { - _impl_.g_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgRGBA::_internal_g() const { - return _impl_.g_; -} -inline int32_t CMsgRGBA::g() const { - // @@protoc_insertion_point(field_get:CMsgRGBA.g) - return _internal_g(); -} -inline void CMsgRGBA::_internal_set_g(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.g_ = value; -} -inline void CMsgRGBA::set_g(int32_t value) { - _internal_set_g(value); - // @@protoc_insertion_point(field_set:CMsgRGBA.g) -} - -// optional int32 b = 3; -inline bool CMsgRGBA::_internal_has_b() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgRGBA::has_b() const { - return _internal_has_b(); -} -inline void CMsgRGBA::clear_b() { - _impl_.b_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CMsgRGBA::_internal_b() const { - return _impl_.b_; -} -inline int32_t CMsgRGBA::b() const { - // @@protoc_insertion_point(field_get:CMsgRGBA.b) - return _internal_b(); -} -inline void CMsgRGBA::_internal_set_b(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.b_ = value; -} -inline void CMsgRGBA::set_b(int32_t value) { - _internal_set_b(value); - // @@protoc_insertion_point(field_set:CMsgRGBA.b) -} - -// optional int32 a = 4; -inline bool CMsgRGBA::_internal_has_a() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgRGBA::has_a() const { - return _internal_has_a(); -} -inline void CMsgRGBA::clear_a() { - _impl_.a_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CMsgRGBA::_internal_a() const { - return _impl_.a_; -} -inline int32_t CMsgRGBA::a() const { - // @@protoc_insertion_point(field_get:CMsgRGBA.a) - return _internal_a(); -} -inline void CMsgRGBA::_internal_set_a(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.a_ = value; -} -inline void CMsgRGBA::set_a(int32_t value) { - _internal_set_a(value); - // @@protoc_insertion_point(field_set:CMsgRGBA.a) -} - -// ------------------------------------------------------------------- - -// CMsgPlayerInfo - -// optional string name = 1; -inline bool CMsgPlayerInfo::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgPlayerInfo::has_name() const { - return _internal_has_name(); -} -inline void CMsgPlayerInfo::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgPlayerInfo::name() const { - // @@protoc_insertion_point(field_get:CMsgPlayerInfo.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgPlayerInfo::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgPlayerInfo.name) -} -inline std::string* CMsgPlayerInfo::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CMsgPlayerInfo.name) - return _s; -} -inline const std::string& CMsgPlayerInfo::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CMsgPlayerInfo::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgPlayerInfo::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgPlayerInfo::release_name() { - // @@protoc_insertion_point(field_release:CMsgPlayerInfo.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgPlayerInfo::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgPlayerInfo.name) -} - -// optional fixed64 xuid = 2; -inline bool CMsgPlayerInfo::_internal_has_xuid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgPlayerInfo::has_xuid() const { - return _internal_has_xuid(); -} -inline void CMsgPlayerInfo::clear_xuid() { - _impl_.xuid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgPlayerInfo::_internal_xuid() const { - return _impl_.xuid_; -} -inline uint64_t CMsgPlayerInfo::xuid() const { - // @@protoc_insertion_point(field_get:CMsgPlayerInfo.xuid) - return _internal_xuid(); -} -inline void CMsgPlayerInfo::_internal_set_xuid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.xuid_ = value; -} -inline void CMsgPlayerInfo::set_xuid(uint64_t value) { - _internal_set_xuid(value); - // @@protoc_insertion_point(field_set:CMsgPlayerInfo.xuid) -} - -// optional int32 userid = 3; -inline bool CMsgPlayerInfo::_internal_has_userid() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgPlayerInfo::has_userid() const { - return _internal_has_userid(); -} -inline void CMsgPlayerInfo::clear_userid() { - _impl_.userid_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CMsgPlayerInfo::_internal_userid() const { - return _impl_.userid_; -} -inline int32_t CMsgPlayerInfo::userid() const { - // @@protoc_insertion_point(field_get:CMsgPlayerInfo.userid) - return _internal_userid(); -} -inline void CMsgPlayerInfo::_internal_set_userid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.userid_ = value; -} -inline void CMsgPlayerInfo::set_userid(int32_t value) { - _internal_set_userid(value); - // @@protoc_insertion_point(field_set:CMsgPlayerInfo.userid) -} - -// optional fixed64 steamid = 4; -inline bool CMsgPlayerInfo::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgPlayerInfo::has_steamid() const { - return _internal_has_steamid(); -} -inline void CMsgPlayerInfo::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgPlayerInfo::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CMsgPlayerInfo::steamid() const { - // @@protoc_insertion_point(field_get:CMsgPlayerInfo.steamid) - return _internal_steamid(); -} -inline void CMsgPlayerInfo::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.steamid_ = value; -} -inline void CMsgPlayerInfo::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CMsgPlayerInfo.steamid) -} - -// optional bool fakeplayer = 5; -inline bool CMsgPlayerInfo::_internal_has_fakeplayer() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgPlayerInfo::has_fakeplayer() const { - return _internal_has_fakeplayer(); -} -inline void CMsgPlayerInfo::clear_fakeplayer() { - _impl_.fakeplayer_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool CMsgPlayerInfo::_internal_fakeplayer() const { - return _impl_.fakeplayer_; -} -inline bool CMsgPlayerInfo::fakeplayer() const { - // @@protoc_insertion_point(field_get:CMsgPlayerInfo.fakeplayer) - return _internal_fakeplayer(); -} -inline void CMsgPlayerInfo::_internal_set_fakeplayer(bool value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.fakeplayer_ = value; -} -inline void CMsgPlayerInfo::set_fakeplayer(bool value) { - _internal_set_fakeplayer(value); - // @@protoc_insertion_point(field_set:CMsgPlayerInfo.fakeplayer) -} - -// optional bool ishltv = 6; -inline bool CMsgPlayerInfo::_internal_has_ishltv() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgPlayerInfo::has_ishltv() const { - return _internal_has_ishltv(); -} -inline void CMsgPlayerInfo::clear_ishltv() { - _impl_.ishltv_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool CMsgPlayerInfo::_internal_ishltv() const { - return _impl_.ishltv_; -} -inline bool CMsgPlayerInfo::ishltv() const { - // @@protoc_insertion_point(field_get:CMsgPlayerInfo.ishltv) - return _internal_ishltv(); -} -inline void CMsgPlayerInfo::_internal_set_ishltv(bool value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.ishltv_ = value; -} -inline void CMsgPlayerInfo::set_ishltv(bool value) { - _internal_set_ishltv(value); - // @@protoc_insertion_point(field_set:CMsgPlayerInfo.ishltv) -} - -// ------------------------------------------------------------------- - -// CEntityMsg - -// optional uint32 target_entity = 1 [default = 16777215]; -inline bool CEntityMsg::_internal_has_target_entity() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CEntityMsg::has_target_entity() const { - return _internal_has_target_entity(); -} -inline void CEntityMsg::clear_target_entity() { - _impl_.target_entity_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CEntityMsg::_internal_target_entity() const { - return _impl_.target_entity_; -} -inline uint32_t CEntityMsg::target_entity() const { - // @@protoc_insertion_point(field_get:CEntityMsg.target_entity) - return _internal_target_entity(); -} -inline void CEntityMsg::_internal_set_target_entity(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.target_entity_ = value; -} -inline void CEntityMsg::set_target_entity(uint32_t value) { - _internal_set_target_entity(value); - // @@protoc_insertion_point(field_set:CEntityMsg.target_entity) -} - -// ------------------------------------------------------------------- - -// CMsg_CVars_CVar - -// optional string name = 1; -inline bool CMsg_CVars_CVar::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsg_CVars_CVar::has_name() const { - return _internal_has_name(); -} -inline void CMsg_CVars_CVar::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsg_CVars_CVar::name() const { - // @@protoc_insertion_point(field_get:CMsg_CVars.CVar.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsg_CVars_CVar::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsg_CVars.CVar.name) -} -inline std::string* CMsg_CVars_CVar::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CMsg_CVars.CVar.name) - return _s; -} -inline const std::string& CMsg_CVars_CVar::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CMsg_CVars_CVar::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsg_CVars_CVar::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsg_CVars_CVar::release_name() { - // @@protoc_insertion_point(field_release:CMsg_CVars.CVar.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsg_CVars_CVar::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsg_CVars.CVar.name) -} - -// optional string value = 2; -inline bool CMsg_CVars_CVar::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsg_CVars_CVar::has_value() const { - return _internal_has_value(); -} -inline void CMsg_CVars_CVar::clear_value() { - _impl_.value_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsg_CVars_CVar::value() const { - // @@protoc_insertion_point(field_get:CMsg_CVars.CVar.value) - return _internal_value(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsg_CVars_CVar::set_value(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsg_CVars.CVar.value) -} -inline std::string* CMsg_CVars_CVar::mutable_value() { - std::string* _s = _internal_mutable_value(); - // @@protoc_insertion_point(field_mutable:CMsg_CVars.CVar.value) - return _s; -} -inline const std::string& CMsg_CVars_CVar::_internal_value() const { - return _impl_.value_.Get(); -} -inline void CMsg_CVars_CVar::_internal_set_value(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.value_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsg_CVars_CVar::_internal_mutable_value() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.value_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsg_CVars_CVar::release_value() { - // @@protoc_insertion_point(field_release:CMsg_CVars.CVar.value) - if (!_internal_has_value()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.value_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_.IsDefault()) { - _impl_.value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsg_CVars_CVar::set_allocated_value(std::string* value) { - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.value_.SetAllocated(value, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_.IsDefault()) { - _impl_.value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsg_CVars.CVar.value) -} - -// ------------------------------------------------------------------- - -// CMsg_CVars - -// repeated .CMsg_CVars.CVar cvars = 1; -inline int CMsg_CVars::_internal_cvars_size() const { - return _impl_.cvars_.size(); -} -inline int CMsg_CVars::cvars_size() const { - return _internal_cvars_size(); -} -inline void CMsg_CVars::clear_cvars() { - _impl_.cvars_.Clear(); -} -inline ::CMsg_CVars_CVar* CMsg_CVars::mutable_cvars(int index) { - // @@protoc_insertion_point(field_mutable:CMsg_CVars.cvars) - return _impl_.cvars_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsg_CVars_CVar >* -CMsg_CVars::mutable_cvars() { - // @@protoc_insertion_point(field_mutable_list:CMsg_CVars.cvars) - return &_impl_.cvars_; -} -inline const ::CMsg_CVars_CVar& CMsg_CVars::_internal_cvars(int index) const { - return _impl_.cvars_.Get(index); -} -inline const ::CMsg_CVars_CVar& CMsg_CVars::cvars(int index) const { - // @@protoc_insertion_point(field_get:CMsg_CVars.cvars) - return _internal_cvars(index); -} -inline ::CMsg_CVars_CVar* CMsg_CVars::_internal_add_cvars() { - return _impl_.cvars_.Add(); -} -inline ::CMsg_CVars_CVar* CMsg_CVars::add_cvars() { - ::CMsg_CVars_CVar* _add = _internal_add_cvars(); - // @@protoc_insertion_point(field_add:CMsg_CVars.cvars) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsg_CVars_CVar >& -CMsg_CVars::cvars() const { - // @@protoc_insertion_point(field_list:CMsg_CVars.cvars) - return _impl_.cvars_; -} - -// ------------------------------------------------------------------- - -// CNETMsg_NOP - -// ------------------------------------------------------------------- - -// CNETMsg_SplitScreenUser - -// optional int32 slot = 1; -inline bool CNETMsg_SplitScreenUser::_internal_has_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CNETMsg_SplitScreenUser::has_slot() const { - return _internal_has_slot(); -} -inline void CNETMsg_SplitScreenUser::clear_slot() { - _impl_.slot_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CNETMsg_SplitScreenUser::_internal_slot() const { - return _impl_.slot_; -} -inline int32_t CNETMsg_SplitScreenUser::slot() const { - // @@protoc_insertion_point(field_get:CNETMsg_SplitScreenUser.slot) - return _internal_slot(); -} -inline void CNETMsg_SplitScreenUser::_internal_set_slot(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.slot_ = value; -} -inline void CNETMsg_SplitScreenUser::set_slot(int32_t value) { - _internal_set_slot(value); - // @@protoc_insertion_point(field_set:CNETMsg_SplitScreenUser.slot) -} - -// ------------------------------------------------------------------- - -// CNETMsg_Tick - -// optional uint32 tick = 1; -inline bool CNETMsg_Tick::_internal_has_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CNETMsg_Tick::has_tick() const { - return _internal_has_tick(); -} -inline void CNETMsg_Tick::clear_tick() { - _impl_.tick_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CNETMsg_Tick::_internal_tick() const { - return _impl_.tick_; -} -inline uint32_t CNETMsg_Tick::tick() const { - // @@protoc_insertion_point(field_get:CNETMsg_Tick.tick) - return _internal_tick(); -} -inline void CNETMsg_Tick::_internal_set_tick(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.tick_ = value; -} -inline void CNETMsg_Tick::set_tick(uint32_t value) { - _internal_set_tick(value); - // @@protoc_insertion_point(field_set:CNETMsg_Tick.tick) -} - -// optional uint32 host_computationtime = 4; -inline bool CNETMsg_Tick::_internal_has_host_computationtime() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CNETMsg_Tick::has_host_computationtime() const { - return _internal_has_host_computationtime(); -} -inline void CNETMsg_Tick::clear_host_computationtime() { - _impl_.host_computationtime_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CNETMsg_Tick::_internal_host_computationtime() const { - return _impl_.host_computationtime_; -} -inline uint32_t CNETMsg_Tick::host_computationtime() const { - // @@protoc_insertion_point(field_get:CNETMsg_Tick.host_computationtime) - return _internal_host_computationtime(); -} -inline void CNETMsg_Tick::_internal_set_host_computationtime(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.host_computationtime_ = value; -} -inline void CNETMsg_Tick::set_host_computationtime(uint32_t value) { - _internal_set_host_computationtime(value); - // @@protoc_insertion_point(field_set:CNETMsg_Tick.host_computationtime) -} - -// optional uint32 host_computationtime_std_deviation = 5; -inline bool CNETMsg_Tick::_internal_has_host_computationtime_std_deviation() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CNETMsg_Tick::has_host_computationtime_std_deviation() const { - return _internal_has_host_computationtime_std_deviation(); -} -inline void CNETMsg_Tick::clear_host_computationtime_std_deviation() { - _impl_.host_computationtime_std_deviation_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CNETMsg_Tick::_internal_host_computationtime_std_deviation() const { - return _impl_.host_computationtime_std_deviation_; -} -inline uint32_t CNETMsg_Tick::host_computationtime_std_deviation() const { - // @@protoc_insertion_point(field_get:CNETMsg_Tick.host_computationtime_std_deviation) - return _internal_host_computationtime_std_deviation(); -} -inline void CNETMsg_Tick::_internal_set_host_computationtime_std_deviation(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.host_computationtime_std_deviation_ = value; -} -inline void CNETMsg_Tick::set_host_computationtime_std_deviation(uint32_t value) { - _internal_set_host_computationtime_std_deviation(value); - // @@protoc_insertion_point(field_set:CNETMsg_Tick.host_computationtime_std_deviation) -} - -// optional uint32 legacy_host_loss = 7; -inline bool CNETMsg_Tick::_internal_has_legacy_host_loss() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CNETMsg_Tick::has_legacy_host_loss() const { - return _internal_has_legacy_host_loss(); -} -inline void CNETMsg_Tick::clear_legacy_host_loss() { - _impl_.legacy_host_loss_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CNETMsg_Tick::_internal_legacy_host_loss() const { - return _impl_.legacy_host_loss_; -} -inline uint32_t CNETMsg_Tick::legacy_host_loss() const { - // @@protoc_insertion_point(field_get:CNETMsg_Tick.legacy_host_loss) - return _internal_legacy_host_loss(); -} -inline void CNETMsg_Tick::_internal_set_legacy_host_loss(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.legacy_host_loss_ = value; -} -inline void CNETMsg_Tick::set_legacy_host_loss(uint32_t value) { - _internal_set_legacy_host_loss(value); - // @@protoc_insertion_point(field_set:CNETMsg_Tick.legacy_host_loss) -} - -// optional uint32 host_unfiltered_frametime = 8; -inline bool CNETMsg_Tick::_internal_has_host_unfiltered_frametime() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CNETMsg_Tick::has_host_unfiltered_frametime() const { - return _internal_has_host_unfiltered_frametime(); -} -inline void CNETMsg_Tick::clear_host_unfiltered_frametime() { - _impl_.host_unfiltered_frametime_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CNETMsg_Tick::_internal_host_unfiltered_frametime() const { - return _impl_.host_unfiltered_frametime_; -} -inline uint32_t CNETMsg_Tick::host_unfiltered_frametime() const { - // @@protoc_insertion_point(field_get:CNETMsg_Tick.host_unfiltered_frametime) - return _internal_host_unfiltered_frametime(); -} -inline void CNETMsg_Tick::_internal_set_host_unfiltered_frametime(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.host_unfiltered_frametime_ = value; -} -inline void CNETMsg_Tick::set_host_unfiltered_frametime(uint32_t value) { - _internal_set_host_unfiltered_frametime(value); - // @@protoc_insertion_point(field_set:CNETMsg_Tick.host_unfiltered_frametime) -} - -// optional uint32 hltv_replay_flags = 9; -inline bool CNETMsg_Tick::_internal_has_hltv_replay_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CNETMsg_Tick::has_hltv_replay_flags() const { - return _internal_has_hltv_replay_flags(); -} -inline void CNETMsg_Tick::clear_hltv_replay_flags() { - _impl_.hltv_replay_flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CNETMsg_Tick::_internal_hltv_replay_flags() const { - return _impl_.hltv_replay_flags_; -} -inline uint32_t CNETMsg_Tick::hltv_replay_flags() const { - // @@protoc_insertion_point(field_get:CNETMsg_Tick.hltv_replay_flags) - return _internal_hltv_replay_flags(); -} -inline void CNETMsg_Tick::_internal_set_hltv_replay_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.hltv_replay_flags_ = value; -} -inline void CNETMsg_Tick::set_hltv_replay_flags(uint32_t value) { - _internal_set_hltv_replay_flags(value); - // @@protoc_insertion_point(field_set:CNETMsg_Tick.hltv_replay_flags) -} - -// optional uint32 expected_long_tick = 10; -inline bool CNETMsg_Tick::_internal_has_expected_long_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CNETMsg_Tick::has_expected_long_tick() const { - return _internal_has_expected_long_tick(); -} -inline void CNETMsg_Tick::clear_expected_long_tick() { - _impl_.expected_long_tick_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CNETMsg_Tick::_internal_expected_long_tick() const { - return _impl_.expected_long_tick_; -} -inline uint32_t CNETMsg_Tick::expected_long_tick() const { - // @@protoc_insertion_point(field_get:CNETMsg_Tick.expected_long_tick) - return _internal_expected_long_tick(); -} -inline void CNETMsg_Tick::_internal_set_expected_long_tick(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.expected_long_tick_ = value; -} -inline void CNETMsg_Tick::set_expected_long_tick(uint32_t value) { - _internal_set_expected_long_tick(value); - // @@protoc_insertion_point(field_set:CNETMsg_Tick.expected_long_tick) -} - -// optional string expected_long_tick_reason = 11; -inline bool CNETMsg_Tick::_internal_has_expected_long_tick_reason() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CNETMsg_Tick::has_expected_long_tick_reason() const { - return _internal_has_expected_long_tick_reason(); -} -inline void CNETMsg_Tick::clear_expected_long_tick_reason() { - _impl_.expected_long_tick_reason_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CNETMsg_Tick::expected_long_tick_reason() const { - // @@protoc_insertion_point(field_get:CNETMsg_Tick.expected_long_tick_reason) - return _internal_expected_long_tick_reason(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CNETMsg_Tick::set_expected_long_tick_reason(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.expected_long_tick_reason_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CNETMsg_Tick.expected_long_tick_reason) -} -inline std::string* CNETMsg_Tick::mutable_expected_long_tick_reason() { - std::string* _s = _internal_mutable_expected_long_tick_reason(); - // @@protoc_insertion_point(field_mutable:CNETMsg_Tick.expected_long_tick_reason) - return _s; -} -inline const std::string& CNETMsg_Tick::_internal_expected_long_tick_reason() const { - return _impl_.expected_long_tick_reason_.Get(); -} -inline void CNETMsg_Tick::_internal_set_expected_long_tick_reason(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.expected_long_tick_reason_.Set(value, GetArenaForAllocation()); -} -inline std::string* CNETMsg_Tick::_internal_mutable_expected_long_tick_reason() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.expected_long_tick_reason_.Mutable(GetArenaForAllocation()); -} -inline std::string* CNETMsg_Tick::release_expected_long_tick_reason() { - // @@protoc_insertion_point(field_release:CNETMsg_Tick.expected_long_tick_reason) - if (!_internal_has_expected_long_tick_reason()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.expected_long_tick_reason_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.expected_long_tick_reason_.IsDefault()) { - _impl_.expected_long_tick_reason_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CNETMsg_Tick::set_allocated_expected_long_tick_reason(std::string* expected_long_tick_reason) { - if (expected_long_tick_reason != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.expected_long_tick_reason_.SetAllocated(expected_long_tick_reason, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.expected_long_tick_reason_.IsDefault()) { - _impl_.expected_long_tick_reason_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CNETMsg_Tick.expected_long_tick_reason) -} - -// optional uint32 host_frame_dropped_pct_x10 = 12; -inline bool CNETMsg_Tick::_internal_has_host_frame_dropped_pct_x10() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CNETMsg_Tick::has_host_frame_dropped_pct_x10() const { - return _internal_has_host_frame_dropped_pct_x10(); -} -inline void CNETMsg_Tick::clear_host_frame_dropped_pct_x10() { - _impl_.host_frame_dropped_pct_x10_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CNETMsg_Tick::_internal_host_frame_dropped_pct_x10() const { - return _impl_.host_frame_dropped_pct_x10_; -} -inline uint32_t CNETMsg_Tick::host_frame_dropped_pct_x10() const { - // @@protoc_insertion_point(field_get:CNETMsg_Tick.host_frame_dropped_pct_x10) - return _internal_host_frame_dropped_pct_x10(); -} -inline void CNETMsg_Tick::_internal_set_host_frame_dropped_pct_x10(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.host_frame_dropped_pct_x10_ = value; -} -inline void CNETMsg_Tick::set_host_frame_dropped_pct_x10(uint32_t value) { - _internal_set_host_frame_dropped_pct_x10(value); - // @@protoc_insertion_point(field_set:CNETMsg_Tick.host_frame_dropped_pct_x10) -} - -// optional uint32 host_frame_irregular_arrival_pct_x10 = 13; -inline bool CNETMsg_Tick::_internal_has_host_frame_irregular_arrival_pct_x10() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CNETMsg_Tick::has_host_frame_irregular_arrival_pct_x10() const { - return _internal_has_host_frame_irregular_arrival_pct_x10(); -} -inline void CNETMsg_Tick::clear_host_frame_irregular_arrival_pct_x10() { - _impl_.host_frame_irregular_arrival_pct_x10_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CNETMsg_Tick::_internal_host_frame_irregular_arrival_pct_x10() const { - return _impl_.host_frame_irregular_arrival_pct_x10_; -} -inline uint32_t CNETMsg_Tick::host_frame_irregular_arrival_pct_x10() const { - // @@protoc_insertion_point(field_get:CNETMsg_Tick.host_frame_irregular_arrival_pct_x10) - return _internal_host_frame_irregular_arrival_pct_x10(); -} -inline void CNETMsg_Tick::_internal_set_host_frame_irregular_arrival_pct_x10(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.host_frame_irregular_arrival_pct_x10_ = value; -} -inline void CNETMsg_Tick::set_host_frame_irregular_arrival_pct_x10(uint32_t value) { - _internal_set_host_frame_irregular_arrival_pct_x10(value); - // @@protoc_insertion_point(field_set:CNETMsg_Tick.host_frame_irregular_arrival_pct_x10) -} - -// ------------------------------------------------------------------- - -// CNETMsg_StringCmd - -// optional string command = 1; -inline bool CNETMsg_StringCmd::_internal_has_command() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CNETMsg_StringCmd::has_command() const { - return _internal_has_command(); -} -inline void CNETMsg_StringCmd::clear_command() { - _impl_.command_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CNETMsg_StringCmd::command() const { - // @@protoc_insertion_point(field_get:CNETMsg_StringCmd.command) - return _internal_command(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CNETMsg_StringCmd::set_command(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.command_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CNETMsg_StringCmd.command) -} -inline std::string* CNETMsg_StringCmd::mutable_command() { - std::string* _s = _internal_mutable_command(); - // @@protoc_insertion_point(field_mutable:CNETMsg_StringCmd.command) - return _s; -} -inline const std::string& CNETMsg_StringCmd::_internal_command() const { - return _impl_.command_.Get(); -} -inline void CNETMsg_StringCmd::_internal_set_command(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.command_.Set(value, GetArenaForAllocation()); -} -inline std::string* CNETMsg_StringCmd::_internal_mutable_command() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.command_.Mutable(GetArenaForAllocation()); -} -inline std::string* CNETMsg_StringCmd::release_command() { - // @@protoc_insertion_point(field_release:CNETMsg_StringCmd.command) - if (!_internal_has_command()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.command_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.command_.IsDefault()) { - _impl_.command_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CNETMsg_StringCmd::set_allocated_command(std::string* command) { - if (command != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.command_.SetAllocated(command, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.command_.IsDefault()) { - _impl_.command_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CNETMsg_StringCmd.command) -} - -// optional uint32 prediction_sync = 2; -inline bool CNETMsg_StringCmd::_internal_has_prediction_sync() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CNETMsg_StringCmd::has_prediction_sync() const { - return _internal_has_prediction_sync(); -} -inline void CNETMsg_StringCmd::clear_prediction_sync() { - _impl_.prediction_sync_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CNETMsg_StringCmd::_internal_prediction_sync() const { - return _impl_.prediction_sync_; -} -inline uint32_t CNETMsg_StringCmd::prediction_sync() const { - // @@protoc_insertion_point(field_get:CNETMsg_StringCmd.prediction_sync) - return _internal_prediction_sync(); -} -inline void CNETMsg_StringCmd::_internal_set_prediction_sync(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.prediction_sync_ = value; -} -inline void CNETMsg_StringCmd::set_prediction_sync(uint32_t value) { - _internal_set_prediction_sync(value); - // @@protoc_insertion_point(field_set:CNETMsg_StringCmd.prediction_sync) -} - -// ------------------------------------------------------------------- - -// CNETMsg_SetConVar - -// optional .CMsg_CVars convars = 1; -inline bool CNETMsg_SetConVar::_internal_has_convars() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.convars_ != nullptr); - return value; -} -inline bool CNETMsg_SetConVar::has_convars() const { - return _internal_has_convars(); -} -inline void CNETMsg_SetConVar::clear_convars() { - if (_impl_.convars_ != nullptr) _impl_.convars_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsg_CVars& CNETMsg_SetConVar::_internal_convars() const { - const ::CMsg_CVars* p = _impl_.convars_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsg_CVars_default_instance_); -} -inline const ::CMsg_CVars& CNETMsg_SetConVar::convars() const { - // @@protoc_insertion_point(field_get:CNETMsg_SetConVar.convars) - return _internal_convars(); -} -inline void CNETMsg_SetConVar::unsafe_arena_set_allocated_convars( - ::CMsg_CVars* convars) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.convars_); - } - _impl_.convars_ = convars; - if (convars) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CNETMsg_SetConVar.convars) -} -inline ::CMsg_CVars* CNETMsg_SetConVar::release_convars() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsg_CVars* temp = _impl_.convars_; - _impl_.convars_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsg_CVars* CNETMsg_SetConVar::unsafe_arena_release_convars() { - // @@protoc_insertion_point(field_release:CNETMsg_SetConVar.convars) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsg_CVars* temp = _impl_.convars_; - _impl_.convars_ = nullptr; - return temp; -} -inline ::CMsg_CVars* CNETMsg_SetConVar::_internal_mutable_convars() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.convars_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsg_CVars>(GetArenaForAllocation()); - _impl_.convars_ = p; - } - return _impl_.convars_; -} -inline ::CMsg_CVars* CNETMsg_SetConVar::mutable_convars() { - ::CMsg_CVars* _msg = _internal_mutable_convars(); - // @@protoc_insertion_point(field_mutable:CNETMsg_SetConVar.convars) - return _msg; -} -inline void CNETMsg_SetConVar::set_allocated_convars(::CMsg_CVars* convars) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.convars_; - } - if (convars) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(convars); - if (message_arena != submessage_arena) { - convars = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, convars, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.convars_ = convars; - // @@protoc_insertion_point(field_set_allocated:CNETMsg_SetConVar.convars) -} - -// ------------------------------------------------------------------- - -// CNETMsg_SignonState - -// optional .SignonState_t signon_state = 1 [default = SIGNONSTATE_NONE]; -inline bool CNETMsg_SignonState::_internal_has_signon_state() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CNETMsg_SignonState::has_signon_state() const { - return _internal_has_signon_state(); -} -inline void CNETMsg_SignonState::clear_signon_state() { - _impl_.signon_state_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::SignonState_t CNETMsg_SignonState::_internal_signon_state() const { - return static_cast< ::SignonState_t >(_impl_.signon_state_); -} -inline ::SignonState_t CNETMsg_SignonState::signon_state() const { - // @@protoc_insertion_point(field_get:CNETMsg_SignonState.signon_state) - return _internal_signon_state(); -} -inline void CNETMsg_SignonState::_internal_set_signon_state(::SignonState_t value) { - assert(::SignonState_t_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.signon_state_ = value; -} -inline void CNETMsg_SignonState::set_signon_state(::SignonState_t value) { - _internal_set_signon_state(value); - // @@protoc_insertion_point(field_set:CNETMsg_SignonState.signon_state) -} - -// optional uint32 spawn_count = 2; -inline bool CNETMsg_SignonState::_internal_has_spawn_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CNETMsg_SignonState::has_spawn_count() const { - return _internal_has_spawn_count(); -} -inline void CNETMsg_SignonState::clear_spawn_count() { - _impl_.spawn_count_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CNETMsg_SignonState::_internal_spawn_count() const { - return _impl_.spawn_count_; -} -inline uint32_t CNETMsg_SignonState::spawn_count() const { - // @@protoc_insertion_point(field_get:CNETMsg_SignonState.spawn_count) - return _internal_spawn_count(); -} -inline void CNETMsg_SignonState::_internal_set_spawn_count(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.spawn_count_ = value; -} -inline void CNETMsg_SignonState::set_spawn_count(uint32_t value) { - _internal_set_spawn_count(value); - // @@protoc_insertion_point(field_set:CNETMsg_SignonState.spawn_count) -} - -// optional uint32 num_server_players = 3; -inline bool CNETMsg_SignonState::_internal_has_num_server_players() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CNETMsg_SignonState::has_num_server_players() const { - return _internal_has_num_server_players(); -} -inline void CNETMsg_SignonState::clear_num_server_players() { - _impl_.num_server_players_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CNETMsg_SignonState::_internal_num_server_players() const { - return _impl_.num_server_players_; -} -inline uint32_t CNETMsg_SignonState::num_server_players() const { - // @@protoc_insertion_point(field_get:CNETMsg_SignonState.num_server_players) - return _internal_num_server_players(); -} -inline void CNETMsg_SignonState::_internal_set_num_server_players(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.num_server_players_ = value; -} -inline void CNETMsg_SignonState::set_num_server_players(uint32_t value) { - _internal_set_num_server_players(value); - // @@protoc_insertion_point(field_set:CNETMsg_SignonState.num_server_players) -} - -// repeated string players_networkids = 4; -inline int CNETMsg_SignonState::_internal_players_networkids_size() const { - return _impl_.players_networkids_.size(); -} -inline int CNETMsg_SignonState::players_networkids_size() const { - return _internal_players_networkids_size(); -} -inline void CNETMsg_SignonState::clear_players_networkids() { - _impl_.players_networkids_.Clear(); -} -inline std::string* CNETMsg_SignonState::add_players_networkids() { - std::string* _s = _internal_add_players_networkids(); - // @@protoc_insertion_point(field_add_mutable:CNETMsg_SignonState.players_networkids) - return _s; -} -inline const std::string& CNETMsg_SignonState::_internal_players_networkids(int index) const { - return _impl_.players_networkids_.Get(index); -} -inline const std::string& CNETMsg_SignonState::players_networkids(int index) const { - // @@protoc_insertion_point(field_get:CNETMsg_SignonState.players_networkids) - return _internal_players_networkids(index); -} -inline std::string* CNETMsg_SignonState::mutable_players_networkids(int index) { - // @@protoc_insertion_point(field_mutable:CNETMsg_SignonState.players_networkids) - return _impl_.players_networkids_.Mutable(index); -} -inline void CNETMsg_SignonState::set_players_networkids(int index, const std::string& value) { - _impl_.players_networkids_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CNETMsg_SignonState.players_networkids) -} -inline void CNETMsg_SignonState::set_players_networkids(int index, std::string&& value) { - _impl_.players_networkids_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CNETMsg_SignonState.players_networkids) -} -inline void CNETMsg_SignonState::set_players_networkids(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.players_networkids_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CNETMsg_SignonState.players_networkids) -} -inline void CNETMsg_SignonState::set_players_networkids(int index, const char* value, size_t size) { - _impl_.players_networkids_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CNETMsg_SignonState.players_networkids) -} -inline std::string* CNETMsg_SignonState::_internal_add_players_networkids() { - return _impl_.players_networkids_.Add(); -} -inline void CNETMsg_SignonState::add_players_networkids(const std::string& value) { - _impl_.players_networkids_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CNETMsg_SignonState.players_networkids) -} -inline void CNETMsg_SignonState::add_players_networkids(std::string&& value) { - _impl_.players_networkids_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CNETMsg_SignonState.players_networkids) -} -inline void CNETMsg_SignonState::add_players_networkids(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.players_networkids_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CNETMsg_SignonState.players_networkids) -} -inline void CNETMsg_SignonState::add_players_networkids(const char* value, size_t size) { - _impl_.players_networkids_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CNETMsg_SignonState.players_networkids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CNETMsg_SignonState::players_networkids() const { - // @@protoc_insertion_point(field_list:CNETMsg_SignonState.players_networkids) - return _impl_.players_networkids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CNETMsg_SignonState::mutable_players_networkids() { - // @@protoc_insertion_point(field_mutable_list:CNETMsg_SignonState.players_networkids) - return &_impl_.players_networkids_; -} - -// optional string map_name = 5; -inline bool CNETMsg_SignonState::_internal_has_map_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CNETMsg_SignonState::has_map_name() const { - return _internal_has_map_name(); -} -inline void CNETMsg_SignonState::clear_map_name() { - _impl_.map_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CNETMsg_SignonState::map_name() const { - // @@protoc_insertion_point(field_get:CNETMsg_SignonState.map_name) - return _internal_map_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CNETMsg_SignonState::set_map_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.map_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CNETMsg_SignonState.map_name) -} -inline std::string* CNETMsg_SignonState::mutable_map_name() { - std::string* _s = _internal_mutable_map_name(); - // @@protoc_insertion_point(field_mutable:CNETMsg_SignonState.map_name) - return _s; -} -inline const std::string& CNETMsg_SignonState::_internal_map_name() const { - return _impl_.map_name_.Get(); -} -inline void CNETMsg_SignonState::_internal_set_map_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.map_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CNETMsg_SignonState::_internal_mutable_map_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.map_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CNETMsg_SignonState::release_map_name() { - // @@protoc_insertion_point(field_release:CNETMsg_SignonState.map_name) - if (!_internal_has_map_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.map_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.map_name_.IsDefault()) { - _impl_.map_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CNETMsg_SignonState::set_allocated_map_name(std::string* map_name) { - if (map_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.map_name_.SetAllocated(map_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.map_name_.IsDefault()) { - _impl_.map_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CNETMsg_SignonState.map_name) -} - -// optional string addons = 6; -inline bool CNETMsg_SignonState::_internal_has_addons() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CNETMsg_SignonState::has_addons() const { - return _internal_has_addons(); -} -inline void CNETMsg_SignonState::clear_addons() { - _impl_.addons_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CNETMsg_SignonState::addons() const { - // @@protoc_insertion_point(field_get:CNETMsg_SignonState.addons) - return _internal_addons(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CNETMsg_SignonState::set_addons(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.addons_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CNETMsg_SignonState.addons) -} -inline std::string* CNETMsg_SignonState::mutable_addons() { - std::string* _s = _internal_mutable_addons(); - // @@protoc_insertion_point(field_mutable:CNETMsg_SignonState.addons) - return _s; -} -inline const std::string& CNETMsg_SignonState::_internal_addons() const { - return _impl_.addons_.Get(); -} -inline void CNETMsg_SignonState::_internal_set_addons(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.addons_.Set(value, GetArenaForAllocation()); -} -inline std::string* CNETMsg_SignonState::_internal_mutable_addons() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.addons_.Mutable(GetArenaForAllocation()); -} -inline std::string* CNETMsg_SignonState::release_addons() { - // @@protoc_insertion_point(field_release:CNETMsg_SignonState.addons) - if (!_internal_has_addons()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.addons_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.addons_.IsDefault()) { - _impl_.addons_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CNETMsg_SignonState::set_allocated_addons(std::string* addons) { - if (addons != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.addons_.SetAllocated(addons, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.addons_.IsDefault()) { - _impl_.addons_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CNETMsg_SignonState.addons) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_GameEvent_key_t - -// optional int32 type = 1; -inline bool CSVCMsg_GameEvent_key_t::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_GameEvent_key_t::has_type() const { - return _internal_has_type(); -} -inline void CSVCMsg_GameEvent_key_t::clear_type() { - _impl_.type_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_GameEvent_key_t::_internal_type() const { - return _impl_.type_; -} -inline int32_t CSVCMsg_GameEvent_key_t::type() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.key_t.type) - return _internal_type(); -} -inline void CSVCMsg_GameEvent_key_t::_internal_set_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.type_ = value; -} -inline void CSVCMsg_GameEvent_key_t::set_type(int32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.key_t.type) -} - -// optional string val_string = 2; -inline bool CSVCMsg_GameEvent_key_t::_internal_has_val_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_GameEvent_key_t::has_val_string() const { - return _internal_has_val_string(); -} -inline void CSVCMsg_GameEvent_key_t::clear_val_string() { - _impl_.val_string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_GameEvent_key_t::val_string() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.key_t.val_string) - return _internal_val_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_GameEvent_key_t::set_val_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.val_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.key_t.val_string) -} -inline std::string* CSVCMsg_GameEvent_key_t::mutable_val_string() { - std::string* _s = _internal_mutable_val_string(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_GameEvent.key_t.val_string) - return _s; -} -inline const std::string& CSVCMsg_GameEvent_key_t::_internal_val_string() const { - return _impl_.val_string_.Get(); -} -inline void CSVCMsg_GameEvent_key_t::_internal_set_val_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.val_string_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameEvent_key_t::_internal_mutable_val_string() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.val_string_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameEvent_key_t::release_val_string() { - // @@protoc_insertion_point(field_release:CSVCMsg_GameEvent.key_t.val_string) - if (!_internal_has_val_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.val_string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.val_string_.IsDefault()) { - _impl_.val_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_GameEvent_key_t::set_allocated_val_string(std::string* val_string) { - if (val_string != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.val_string_.SetAllocated(val_string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.val_string_.IsDefault()) { - _impl_.val_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameEvent.key_t.val_string) -} - -// optional float val_float = 3; -inline bool CSVCMsg_GameEvent_key_t::_internal_has_val_float() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_GameEvent_key_t::has_val_float() const { - return _internal_has_val_float(); -} -inline void CSVCMsg_GameEvent_key_t::clear_val_float() { - _impl_.val_float_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CSVCMsg_GameEvent_key_t::_internal_val_float() const { - return _impl_.val_float_; -} -inline float CSVCMsg_GameEvent_key_t::val_float() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.key_t.val_float) - return _internal_val_float(); -} -inline void CSVCMsg_GameEvent_key_t::_internal_set_val_float(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.val_float_ = value; -} -inline void CSVCMsg_GameEvent_key_t::set_val_float(float value) { - _internal_set_val_float(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.key_t.val_float) -} - -// optional int32 val_long = 4; -inline bool CSVCMsg_GameEvent_key_t::_internal_has_val_long() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSVCMsg_GameEvent_key_t::has_val_long() const { - return _internal_has_val_long(); -} -inline void CSVCMsg_GameEvent_key_t::clear_val_long() { - _impl_.val_long_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CSVCMsg_GameEvent_key_t::_internal_val_long() const { - return _impl_.val_long_; -} -inline int32_t CSVCMsg_GameEvent_key_t::val_long() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.key_t.val_long) - return _internal_val_long(); -} -inline void CSVCMsg_GameEvent_key_t::_internal_set_val_long(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.val_long_ = value; -} -inline void CSVCMsg_GameEvent_key_t::set_val_long(int32_t value) { - _internal_set_val_long(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.key_t.val_long) -} - -// optional int32 val_short = 5; -inline bool CSVCMsg_GameEvent_key_t::_internal_has_val_short() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSVCMsg_GameEvent_key_t::has_val_short() const { - return _internal_has_val_short(); -} -inline void CSVCMsg_GameEvent_key_t::clear_val_short() { - _impl_.val_short_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CSVCMsg_GameEvent_key_t::_internal_val_short() const { - return _impl_.val_short_; -} -inline int32_t CSVCMsg_GameEvent_key_t::val_short() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.key_t.val_short) - return _internal_val_short(); -} -inline void CSVCMsg_GameEvent_key_t::_internal_set_val_short(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.val_short_ = value; -} -inline void CSVCMsg_GameEvent_key_t::set_val_short(int32_t value) { - _internal_set_val_short(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.key_t.val_short) -} - -// optional int32 val_byte = 6; -inline bool CSVCMsg_GameEvent_key_t::_internal_has_val_byte() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSVCMsg_GameEvent_key_t::has_val_byte() const { - return _internal_has_val_byte(); -} -inline void CSVCMsg_GameEvent_key_t::clear_val_byte() { - _impl_.val_byte_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CSVCMsg_GameEvent_key_t::_internal_val_byte() const { - return _impl_.val_byte_; -} -inline int32_t CSVCMsg_GameEvent_key_t::val_byte() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.key_t.val_byte) - return _internal_val_byte(); -} -inline void CSVCMsg_GameEvent_key_t::_internal_set_val_byte(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.val_byte_ = value; -} -inline void CSVCMsg_GameEvent_key_t::set_val_byte(int32_t value) { - _internal_set_val_byte(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.key_t.val_byte) -} - -// optional bool val_bool = 7; -inline bool CSVCMsg_GameEvent_key_t::_internal_has_val_bool() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CSVCMsg_GameEvent_key_t::has_val_bool() const { - return _internal_has_val_bool(); -} -inline void CSVCMsg_GameEvent_key_t::clear_val_bool() { - _impl_.val_bool_ = false; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline bool CSVCMsg_GameEvent_key_t::_internal_val_bool() const { - return _impl_.val_bool_; -} -inline bool CSVCMsg_GameEvent_key_t::val_bool() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.key_t.val_bool) - return _internal_val_bool(); -} -inline void CSVCMsg_GameEvent_key_t::_internal_set_val_bool(bool value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.val_bool_ = value; -} -inline void CSVCMsg_GameEvent_key_t::set_val_bool(bool value) { - _internal_set_val_bool(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.key_t.val_bool) -} - -// optional uint64 val_uint64 = 8; -inline bool CSVCMsg_GameEvent_key_t::_internal_has_val_uint64() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CSVCMsg_GameEvent_key_t::has_val_uint64() const { - return _internal_has_val_uint64(); -} -inline void CSVCMsg_GameEvent_key_t::clear_val_uint64() { - _impl_.val_uint64_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint64_t CSVCMsg_GameEvent_key_t::_internal_val_uint64() const { - return _impl_.val_uint64_; -} -inline uint64_t CSVCMsg_GameEvent_key_t::val_uint64() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.key_t.val_uint64) - return _internal_val_uint64(); -} -inline void CSVCMsg_GameEvent_key_t::_internal_set_val_uint64(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.val_uint64_ = value; -} -inline void CSVCMsg_GameEvent_key_t::set_val_uint64(uint64_t value) { - _internal_set_val_uint64(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.key_t.val_uint64) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_GameEvent - -// optional string event_name = 1; -inline bool CSVCMsg_GameEvent::_internal_has_event_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_GameEvent::has_event_name() const { - return _internal_has_event_name(); -} -inline void CSVCMsg_GameEvent::clear_event_name() { - _impl_.event_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_GameEvent::event_name() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.event_name) - return _internal_event_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_GameEvent::set_event_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.event_name) -} -inline std::string* CSVCMsg_GameEvent::mutable_event_name() { - std::string* _s = _internal_mutable_event_name(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_GameEvent.event_name) - return _s; -} -inline const std::string& CSVCMsg_GameEvent::_internal_event_name() const { - return _impl_.event_name_.Get(); -} -inline void CSVCMsg_GameEvent::_internal_set_event_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameEvent::_internal_mutable_event_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.event_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameEvent::release_event_name() { - // @@protoc_insertion_point(field_release:CSVCMsg_GameEvent.event_name) - if (!_internal_has_event_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.event_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_name_.IsDefault()) { - _impl_.event_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_GameEvent::set_allocated_event_name(std::string* event_name) { - if (event_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.event_name_.SetAllocated(event_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_name_.IsDefault()) { - _impl_.event_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameEvent.event_name) -} - -// optional int32 eventid = 2; -inline bool CSVCMsg_GameEvent::_internal_has_eventid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_GameEvent::has_eventid() const { - return _internal_has_eventid(); -} -inline void CSVCMsg_GameEvent::clear_eventid() { - _impl_.eventid_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsg_GameEvent::_internal_eventid() const { - return _impl_.eventid_; -} -inline int32_t CSVCMsg_GameEvent::eventid() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.eventid) - return _internal_eventid(); -} -inline void CSVCMsg_GameEvent::_internal_set_eventid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.eventid_ = value; -} -inline void CSVCMsg_GameEvent::set_eventid(int32_t value) { - _internal_set_eventid(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameEvent.eventid) -} - -// repeated .CSVCMsg_GameEvent.key_t keys = 3; -inline int CSVCMsg_GameEvent::_internal_keys_size() const { - return _impl_.keys_.size(); -} -inline int CSVCMsg_GameEvent::keys_size() const { - return _internal_keys_size(); -} -inline void CSVCMsg_GameEvent::clear_keys() { - _impl_.keys_.Clear(); -} -inline ::CSVCMsg_GameEvent_key_t* CSVCMsg_GameEvent::mutable_keys(int index) { - // @@protoc_insertion_point(field_mutable:CSVCMsg_GameEvent.keys) - return _impl_.keys_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEvent_key_t >* -CSVCMsg_GameEvent::mutable_keys() { - // @@protoc_insertion_point(field_mutable_list:CSVCMsg_GameEvent.keys) - return &_impl_.keys_; -} -inline const ::CSVCMsg_GameEvent_key_t& CSVCMsg_GameEvent::_internal_keys(int index) const { - return _impl_.keys_.Get(index); -} -inline const ::CSVCMsg_GameEvent_key_t& CSVCMsg_GameEvent::keys(int index) const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameEvent.keys) - return _internal_keys(index); -} -inline ::CSVCMsg_GameEvent_key_t* CSVCMsg_GameEvent::_internal_add_keys() { - return _impl_.keys_.Add(); -} -inline ::CSVCMsg_GameEvent_key_t* CSVCMsg_GameEvent::add_keys() { - ::CSVCMsg_GameEvent_key_t* _add = _internal_add_keys(); - // @@protoc_insertion_point(field_add:CSVCMsg_GameEvent.keys) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsg_GameEvent_key_t >& -CSVCMsg_GameEvent::keys() const { - // @@protoc_insertion_point(field_list:CSVCMsg_GameEvent.keys) - return _impl_.keys_; -} - -// ------------------------------------------------------------------- - -// CSVCMsgList_GameEvents_event_t - -// optional int32 tick = 1; -inline bool CSVCMsgList_GameEvents_event_t::_internal_has_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsgList_GameEvents_event_t::has_tick() const { - return _internal_has_tick(); -} -inline void CSVCMsgList_GameEvents_event_t::clear_tick() { - _impl_.tick_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CSVCMsgList_GameEvents_event_t::_internal_tick() const { - return _impl_.tick_; -} -inline int32_t CSVCMsgList_GameEvents_event_t::tick() const { - // @@protoc_insertion_point(field_get:CSVCMsgList_GameEvents.event_t.tick) - return _internal_tick(); -} -inline void CSVCMsgList_GameEvents_event_t::_internal_set_tick(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.tick_ = value; -} -inline void CSVCMsgList_GameEvents_event_t::set_tick(int32_t value) { - _internal_set_tick(value); - // @@protoc_insertion_point(field_set:CSVCMsgList_GameEvents.event_t.tick) -} - -// optional .CSVCMsg_GameEvent event = 2; -inline bool CSVCMsgList_GameEvents_event_t::_internal_has_event() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.event_ != nullptr); - return value; -} -inline bool CSVCMsgList_GameEvents_event_t::has_event() const { - return _internal_has_event(); -} -inline void CSVCMsgList_GameEvents_event_t::clear_event() { - if (_impl_.event_ != nullptr) _impl_.event_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CSVCMsg_GameEvent& CSVCMsgList_GameEvents_event_t::_internal_event() const { - const ::CSVCMsg_GameEvent* p = _impl_.event_; - return p != nullptr ? *p : reinterpret_cast( - ::_CSVCMsg_GameEvent_default_instance_); -} -inline const ::CSVCMsg_GameEvent& CSVCMsgList_GameEvents_event_t::event() const { - // @@protoc_insertion_point(field_get:CSVCMsgList_GameEvents.event_t.event) - return _internal_event(); -} -inline void CSVCMsgList_GameEvents_event_t::unsafe_arena_set_allocated_event( - ::CSVCMsg_GameEvent* event) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.event_); - } - _impl_.event_ = event; - if (event) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CSVCMsgList_GameEvents.event_t.event) -} -inline ::CSVCMsg_GameEvent* CSVCMsgList_GameEvents_event_t::release_event() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CSVCMsg_GameEvent* temp = _impl_.event_; - _impl_.event_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CSVCMsg_GameEvent* CSVCMsgList_GameEvents_event_t::unsafe_arena_release_event() { - // @@protoc_insertion_point(field_release:CSVCMsgList_GameEvents.event_t.event) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CSVCMsg_GameEvent* temp = _impl_.event_; - _impl_.event_ = nullptr; - return temp; -} -inline ::CSVCMsg_GameEvent* CSVCMsgList_GameEvents_event_t::_internal_mutable_event() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.event_ == nullptr) { - auto* p = CreateMaybeMessage<::CSVCMsg_GameEvent>(GetArenaForAllocation()); - _impl_.event_ = p; - } - return _impl_.event_; -} -inline ::CSVCMsg_GameEvent* CSVCMsgList_GameEvents_event_t::mutable_event() { - ::CSVCMsg_GameEvent* _msg = _internal_mutable_event(); - // @@protoc_insertion_point(field_mutable:CSVCMsgList_GameEvents.event_t.event) - return _msg; -} -inline void CSVCMsgList_GameEvents_event_t::set_allocated_event(::CSVCMsg_GameEvent* event) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.event_; - } - if (event) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(event); - if (message_arena != submessage_arena) { - event = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, event, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.event_ = event; - // @@protoc_insertion_point(field_set_allocated:CSVCMsgList_GameEvents.event_t.event) -} - -// ------------------------------------------------------------------- - -// CSVCMsgList_GameEvents - -// repeated .CSVCMsgList_GameEvents.event_t events = 1; -inline int CSVCMsgList_GameEvents::_internal_events_size() const { - return _impl_.events_.size(); -} -inline int CSVCMsgList_GameEvents::events_size() const { - return _internal_events_size(); -} -inline void CSVCMsgList_GameEvents::clear_events() { - _impl_.events_.Clear(); -} -inline ::CSVCMsgList_GameEvents_event_t* CSVCMsgList_GameEvents::mutable_events(int index) { - // @@protoc_insertion_point(field_mutable:CSVCMsgList_GameEvents.events) - return _impl_.events_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsgList_GameEvents_event_t >* -CSVCMsgList_GameEvents::mutable_events() { - // @@protoc_insertion_point(field_mutable_list:CSVCMsgList_GameEvents.events) - return &_impl_.events_; -} -inline const ::CSVCMsgList_GameEvents_event_t& CSVCMsgList_GameEvents::_internal_events(int index) const { - return _impl_.events_.Get(index); -} -inline const ::CSVCMsgList_GameEvents_event_t& CSVCMsgList_GameEvents::events(int index) const { - // @@protoc_insertion_point(field_get:CSVCMsgList_GameEvents.events) - return _internal_events(index); -} -inline ::CSVCMsgList_GameEvents_event_t* CSVCMsgList_GameEvents::_internal_add_events() { - return _impl_.events_.Add(); -} -inline ::CSVCMsgList_GameEvents_event_t* CSVCMsgList_GameEvents::add_events() { - ::CSVCMsgList_GameEvents_event_t* _add = _internal_add_events(); - // @@protoc_insertion_point(field_add:CSVCMsgList_GameEvents.events) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSVCMsgList_GameEvents_event_t >& -CSVCMsgList_GameEvents::events() const { - // @@protoc_insertion_point(field_list:CSVCMsgList_GameEvents.events) - return _impl_.events_; -} - -// ------------------------------------------------------------------- - -// CNETMsg_SpawnGroup_Load - -// optional string worldname = 1; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_worldname() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_worldname() const { - return _internal_has_worldname(); -} -inline void CNETMsg_SpawnGroup_Load::clear_worldname() { - _impl_.worldname_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CNETMsg_SpawnGroup_Load::worldname() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.worldname) - return _internal_worldname(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CNETMsg_SpawnGroup_Load::set_worldname(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.worldname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.worldname) -} -inline std::string* CNETMsg_SpawnGroup_Load::mutable_worldname() { - std::string* _s = _internal_mutable_worldname(); - // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.worldname) - return _s; -} -inline const std::string& CNETMsg_SpawnGroup_Load::_internal_worldname() const { - return _impl_.worldname_.Get(); -} -inline void CNETMsg_SpawnGroup_Load::_internal_set_worldname(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.worldname_.Set(value, GetArenaForAllocation()); -} -inline std::string* CNETMsg_SpawnGroup_Load::_internal_mutable_worldname() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.worldname_.Mutable(GetArenaForAllocation()); -} -inline std::string* CNETMsg_SpawnGroup_Load::release_worldname() { - // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.worldname) - if (!_internal_has_worldname()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.worldname_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.worldname_.IsDefault()) { - _impl_.worldname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CNETMsg_SpawnGroup_Load::set_allocated_worldname(std::string* worldname) { - if (worldname != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.worldname_.SetAllocated(worldname, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.worldname_.IsDefault()) { - _impl_.worldname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.worldname) -} - -// optional string entitylumpname = 2; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_entitylumpname() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_entitylumpname() const { - return _internal_has_entitylumpname(); -} -inline void CNETMsg_SpawnGroup_Load::clear_entitylumpname() { - _impl_.entitylumpname_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CNETMsg_SpawnGroup_Load::entitylumpname() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.entitylumpname) - return _internal_entitylumpname(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CNETMsg_SpawnGroup_Load::set_entitylumpname(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.entitylumpname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.entitylumpname) -} -inline std::string* CNETMsg_SpawnGroup_Load::mutable_entitylumpname() { - std::string* _s = _internal_mutable_entitylumpname(); - // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.entitylumpname) - return _s; -} -inline const std::string& CNETMsg_SpawnGroup_Load::_internal_entitylumpname() const { - return _impl_.entitylumpname_.Get(); -} -inline void CNETMsg_SpawnGroup_Load::_internal_set_entitylumpname(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.entitylumpname_.Set(value, GetArenaForAllocation()); -} -inline std::string* CNETMsg_SpawnGroup_Load::_internal_mutable_entitylumpname() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.entitylumpname_.Mutable(GetArenaForAllocation()); -} -inline std::string* CNETMsg_SpawnGroup_Load::release_entitylumpname() { - // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.entitylumpname) - if (!_internal_has_entitylumpname()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.entitylumpname_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.entitylumpname_.IsDefault()) { - _impl_.entitylumpname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CNETMsg_SpawnGroup_Load::set_allocated_entitylumpname(std::string* entitylumpname) { - if (entitylumpname != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.entitylumpname_.SetAllocated(entitylumpname, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.entitylumpname_.IsDefault()) { - _impl_.entitylumpname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.entitylumpname) -} - -// optional string entityfiltername = 3; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_entityfiltername() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_entityfiltername() const { - return _internal_has_entityfiltername(); -} -inline void CNETMsg_SpawnGroup_Load::clear_entityfiltername() { - _impl_.entityfiltername_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CNETMsg_SpawnGroup_Load::entityfiltername() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.entityfiltername) - return _internal_entityfiltername(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CNETMsg_SpawnGroup_Load::set_entityfiltername(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.entityfiltername_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.entityfiltername) -} -inline std::string* CNETMsg_SpawnGroup_Load::mutable_entityfiltername() { - std::string* _s = _internal_mutable_entityfiltername(); - // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.entityfiltername) - return _s; -} -inline const std::string& CNETMsg_SpawnGroup_Load::_internal_entityfiltername() const { - return _impl_.entityfiltername_.Get(); -} -inline void CNETMsg_SpawnGroup_Load::_internal_set_entityfiltername(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.entityfiltername_.Set(value, GetArenaForAllocation()); -} -inline std::string* CNETMsg_SpawnGroup_Load::_internal_mutable_entityfiltername() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.entityfiltername_.Mutable(GetArenaForAllocation()); -} -inline std::string* CNETMsg_SpawnGroup_Load::release_entityfiltername() { - // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.entityfiltername) - if (!_internal_has_entityfiltername()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.entityfiltername_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.entityfiltername_.IsDefault()) { - _impl_.entityfiltername_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CNETMsg_SpawnGroup_Load::set_allocated_entityfiltername(std::string* entityfiltername) { - if (entityfiltername != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.entityfiltername_.SetAllocated(entityfiltername, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.entityfiltername_.IsDefault()) { - _impl_.entityfiltername_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.entityfiltername) -} - -// optional uint32 spawngrouphandle = 4; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_spawngrouphandle() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_spawngrouphandle() const { - return _internal_has_spawngrouphandle(); -} -inline void CNETMsg_SpawnGroup_Load::clear_spawngrouphandle() { - _impl_.spawngrouphandle_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CNETMsg_SpawnGroup_Load::_internal_spawngrouphandle() const { - return _impl_.spawngrouphandle_; -} -inline uint32_t CNETMsg_SpawnGroup_Load::spawngrouphandle() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.spawngrouphandle) - return _internal_spawngrouphandle(); -} -inline void CNETMsg_SpawnGroup_Load::_internal_set_spawngrouphandle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.spawngrouphandle_ = value; -} -inline void CNETMsg_SpawnGroup_Load::set_spawngrouphandle(uint32_t value) { - _internal_set_spawngrouphandle(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.spawngrouphandle) -} - -// optional uint32 spawngroupownerhandle = 5; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_spawngroupownerhandle() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_spawngroupownerhandle() const { - return _internal_has_spawngroupownerhandle(); -} -inline void CNETMsg_SpawnGroup_Load::clear_spawngroupownerhandle() { - _impl_.spawngroupownerhandle_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CNETMsg_SpawnGroup_Load::_internal_spawngroupownerhandle() const { - return _impl_.spawngroupownerhandle_; -} -inline uint32_t CNETMsg_SpawnGroup_Load::spawngroupownerhandle() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.spawngroupownerhandle) - return _internal_spawngroupownerhandle(); -} -inline void CNETMsg_SpawnGroup_Load::_internal_set_spawngroupownerhandle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.spawngroupownerhandle_ = value; -} -inline void CNETMsg_SpawnGroup_Load::set_spawngroupownerhandle(uint32_t value) { - _internal_set_spawngroupownerhandle(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.spawngroupownerhandle) -} - -// optional .CMsgVector world_offset_pos = 6; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_world_offset_pos() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - PROTOBUF_ASSUME(!value || _impl_.world_offset_pos_ != nullptr); - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_world_offset_pos() const { - return _internal_has_world_offset_pos(); -} -inline void CNETMsg_SpawnGroup_Load::clear_world_offset_pos() { - if (_impl_.world_offset_pos_ != nullptr) _impl_.world_offset_pos_->Clear(); - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline const ::CMsgVector& CNETMsg_SpawnGroup_Load::_internal_world_offset_pos() const { - const ::CMsgVector* p = _impl_.world_offset_pos_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CNETMsg_SpawnGroup_Load::world_offset_pos() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.world_offset_pos) - return _internal_world_offset_pos(); -} -inline void CNETMsg_SpawnGroup_Load::unsafe_arena_set_allocated_world_offset_pos( - ::CMsgVector* world_offset_pos) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.world_offset_pos_); - } - _impl_.world_offset_pos_ = world_offset_pos; - if (world_offset_pos) { - _impl_._has_bits_[0] |= 0x00000100u; - } else { - _impl_._has_bits_[0] &= ~0x00000100u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CNETMsg_SpawnGroup_Load.world_offset_pos) -} -inline ::CMsgVector* CNETMsg_SpawnGroup_Load::release_world_offset_pos() { - _impl_._has_bits_[0] &= ~0x00000100u; - ::CMsgVector* temp = _impl_.world_offset_pos_; - _impl_.world_offset_pos_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CNETMsg_SpawnGroup_Load::unsafe_arena_release_world_offset_pos() { - // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.world_offset_pos) - _impl_._has_bits_[0] &= ~0x00000100u; - ::CMsgVector* temp = _impl_.world_offset_pos_; - _impl_.world_offset_pos_ = nullptr; - return temp; -} -inline ::CMsgVector* CNETMsg_SpawnGroup_Load::_internal_mutable_world_offset_pos() { - _impl_._has_bits_[0] |= 0x00000100u; - if (_impl_.world_offset_pos_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.world_offset_pos_ = p; - } - return _impl_.world_offset_pos_; -} -inline ::CMsgVector* CNETMsg_SpawnGroup_Load::mutable_world_offset_pos() { - ::CMsgVector* _msg = _internal_mutable_world_offset_pos(); - // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.world_offset_pos) - return _msg; -} -inline void CNETMsg_SpawnGroup_Load::set_allocated_world_offset_pos(::CMsgVector* world_offset_pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.world_offset_pos_; - } - if (world_offset_pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(world_offset_pos); - if (message_arena != submessage_arena) { - world_offset_pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, world_offset_pos, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000100u; - } else { - _impl_._has_bits_[0] &= ~0x00000100u; - } - _impl_.world_offset_pos_ = world_offset_pos; - // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.world_offset_pos) -} - -// optional .CMsgQAngle world_offset_angle = 7; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_world_offset_angle() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - PROTOBUF_ASSUME(!value || _impl_.world_offset_angle_ != nullptr); - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_world_offset_angle() const { - return _internal_has_world_offset_angle(); -} -inline void CNETMsg_SpawnGroup_Load::clear_world_offset_angle() { - if (_impl_.world_offset_angle_ != nullptr) _impl_.world_offset_angle_->Clear(); - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline const ::CMsgQAngle& CNETMsg_SpawnGroup_Load::_internal_world_offset_angle() const { - const ::CMsgQAngle* p = _impl_.world_offset_angle_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CNETMsg_SpawnGroup_Load::world_offset_angle() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.world_offset_angle) - return _internal_world_offset_angle(); -} -inline void CNETMsg_SpawnGroup_Load::unsafe_arena_set_allocated_world_offset_angle( - ::CMsgQAngle* world_offset_angle) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.world_offset_angle_); - } - _impl_.world_offset_angle_ = world_offset_angle; - if (world_offset_angle) { - _impl_._has_bits_[0] |= 0x00000200u; - } else { - _impl_._has_bits_[0] &= ~0x00000200u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CNETMsg_SpawnGroup_Load.world_offset_angle) -} -inline ::CMsgQAngle* CNETMsg_SpawnGroup_Load::release_world_offset_angle() { - _impl_._has_bits_[0] &= ~0x00000200u; - ::CMsgQAngle* temp = _impl_.world_offset_angle_; - _impl_.world_offset_angle_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CNETMsg_SpawnGroup_Load::unsafe_arena_release_world_offset_angle() { - // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.world_offset_angle) - _impl_._has_bits_[0] &= ~0x00000200u; - ::CMsgQAngle* temp = _impl_.world_offset_angle_; - _impl_.world_offset_angle_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CNETMsg_SpawnGroup_Load::_internal_mutable_world_offset_angle() { - _impl_._has_bits_[0] |= 0x00000200u; - if (_impl_.world_offset_angle_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.world_offset_angle_ = p; - } - return _impl_.world_offset_angle_; -} -inline ::CMsgQAngle* CNETMsg_SpawnGroup_Load::mutable_world_offset_angle() { - ::CMsgQAngle* _msg = _internal_mutable_world_offset_angle(); - // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.world_offset_angle) - return _msg; -} -inline void CNETMsg_SpawnGroup_Load::set_allocated_world_offset_angle(::CMsgQAngle* world_offset_angle) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.world_offset_angle_; - } - if (world_offset_angle) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(world_offset_angle); - if (message_arena != submessage_arena) { - world_offset_angle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, world_offset_angle, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000200u; - } else { - _impl_._has_bits_[0] &= ~0x00000200u; - } - _impl_.world_offset_angle_ = world_offset_angle; - // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.world_offset_angle) -} - -// optional bytes spawngroupmanifest = 8; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_spawngroupmanifest() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_spawngroupmanifest() const { - return _internal_has_spawngroupmanifest(); -} -inline void CNETMsg_SpawnGroup_Load::clear_spawngroupmanifest() { - _impl_.spawngroupmanifest_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CNETMsg_SpawnGroup_Load::spawngroupmanifest() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.spawngroupmanifest) - return _internal_spawngroupmanifest(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CNETMsg_SpawnGroup_Load::set_spawngroupmanifest(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.spawngroupmanifest_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.spawngroupmanifest) -} -inline std::string* CNETMsg_SpawnGroup_Load::mutable_spawngroupmanifest() { - std::string* _s = _internal_mutable_spawngroupmanifest(); - // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.spawngroupmanifest) - return _s; -} -inline const std::string& CNETMsg_SpawnGroup_Load::_internal_spawngroupmanifest() const { - return _impl_.spawngroupmanifest_.Get(); -} -inline void CNETMsg_SpawnGroup_Load::_internal_set_spawngroupmanifest(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.spawngroupmanifest_.Set(value, GetArenaForAllocation()); -} -inline std::string* CNETMsg_SpawnGroup_Load::_internal_mutable_spawngroupmanifest() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.spawngroupmanifest_.Mutable(GetArenaForAllocation()); -} -inline std::string* CNETMsg_SpawnGroup_Load::release_spawngroupmanifest() { - // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.spawngroupmanifest) - if (!_internal_has_spawngroupmanifest()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.spawngroupmanifest_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.spawngroupmanifest_.IsDefault()) { - _impl_.spawngroupmanifest_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CNETMsg_SpawnGroup_Load::set_allocated_spawngroupmanifest(std::string* spawngroupmanifest) { - if (spawngroupmanifest != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.spawngroupmanifest_.SetAllocated(spawngroupmanifest, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.spawngroupmanifest_.IsDefault()) { - _impl_.spawngroupmanifest_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.spawngroupmanifest) -} - -// optional uint32 flags = 9; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_flags() const { - return _internal_has_flags(); -} -inline void CNETMsg_SpawnGroup_Load::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CNETMsg_SpawnGroup_Load::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CNETMsg_SpawnGroup_Load::flags() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.flags) - return _internal_flags(); -} -inline void CNETMsg_SpawnGroup_Load::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.flags_ = value; -} -inline void CNETMsg_SpawnGroup_Load::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.flags) -} - -// optional int32 tickcount = 10; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_tickcount() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_tickcount() const { - return _internal_has_tickcount(); -} -inline void CNETMsg_SpawnGroup_Load::clear_tickcount() { - _impl_.tickcount_ = 0; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline int32_t CNETMsg_SpawnGroup_Load::_internal_tickcount() const { - return _impl_.tickcount_; -} -inline int32_t CNETMsg_SpawnGroup_Load::tickcount() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.tickcount) - return _internal_tickcount(); -} -inline void CNETMsg_SpawnGroup_Load::_internal_set_tickcount(int32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.tickcount_ = value; -} -inline void CNETMsg_SpawnGroup_Load::set_tickcount(int32_t value) { - _internal_set_tickcount(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.tickcount) -} - -// optional bool manifestincomplete = 11; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_manifestincomplete() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_manifestincomplete() const { - return _internal_has_manifestincomplete(); -} -inline void CNETMsg_SpawnGroup_Load::clear_manifestincomplete() { - _impl_.manifestincomplete_ = false; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline bool CNETMsg_SpawnGroup_Load::_internal_manifestincomplete() const { - return _impl_.manifestincomplete_; -} -inline bool CNETMsg_SpawnGroup_Load::manifestincomplete() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.manifestincomplete) - return _internal_manifestincomplete(); -} -inline void CNETMsg_SpawnGroup_Load::_internal_set_manifestincomplete(bool value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.manifestincomplete_ = value; -} -inline void CNETMsg_SpawnGroup_Load::set_manifestincomplete(bool value) { - _internal_set_manifestincomplete(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.manifestincomplete) -} - -// optional string localnamefixup = 12; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_localnamefixup() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_localnamefixup() const { - return _internal_has_localnamefixup(); -} -inline void CNETMsg_SpawnGroup_Load::clear_localnamefixup() { - _impl_.localnamefixup_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const std::string& CNETMsg_SpawnGroup_Load::localnamefixup() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.localnamefixup) - return _internal_localnamefixup(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CNETMsg_SpawnGroup_Load::set_localnamefixup(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.localnamefixup_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.localnamefixup) -} -inline std::string* CNETMsg_SpawnGroup_Load::mutable_localnamefixup() { - std::string* _s = _internal_mutable_localnamefixup(); - // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.localnamefixup) - return _s; -} -inline const std::string& CNETMsg_SpawnGroup_Load::_internal_localnamefixup() const { - return _impl_.localnamefixup_.Get(); -} -inline void CNETMsg_SpawnGroup_Load::_internal_set_localnamefixup(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.localnamefixup_.Set(value, GetArenaForAllocation()); -} -inline std::string* CNETMsg_SpawnGroup_Load::_internal_mutable_localnamefixup() { - _impl_._has_bits_[0] |= 0x00000010u; - return _impl_.localnamefixup_.Mutable(GetArenaForAllocation()); -} -inline std::string* CNETMsg_SpawnGroup_Load::release_localnamefixup() { - // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.localnamefixup) - if (!_internal_has_localnamefixup()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000010u; - auto* p = _impl_.localnamefixup_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.localnamefixup_.IsDefault()) { - _impl_.localnamefixup_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CNETMsg_SpawnGroup_Load::set_allocated_localnamefixup(std::string* localnamefixup) { - if (localnamefixup != nullptr) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.localnamefixup_.SetAllocated(localnamefixup, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.localnamefixup_.IsDefault()) { - _impl_.localnamefixup_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.localnamefixup) -} - -// optional string parentnamefixup = 13; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_parentnamefixup() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_parentnamefixup() const { - return _internal_has_parentnamefixup(); -} -inline void CNETMsg_SpawnGroup_Load::clear_parentnamefixup() { - _impl_.parentnamefixup_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline const std::string& CNETMsg_SpawnGroup_Load::parentnamefixup() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.parentnamefixup) - return _internal_parentnamefixup(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CNETMsg_SpawnGroup_Load::set_parentnamefixup(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.parentnamefixup_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.parentnamefixup) -} -inline std::string* CNETMsg_SpawnGroup_Load::mutable_parentnamefixup() { - std::string* _s = _internal_mutable_parentnamefixup(); - // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.parentnamefixup) - return _s; -} -inline const std::string& CNETMsg_SpawnGroup_Load::_internal_parentnamefixup() const { - return _impl_.parentnamefixup_.Get(); -} -inline void CNETMsg_SpawnGroup_Load::_internal_set_parentnamefixup(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.parentnamefixup_.Set(value, GetArenaForAllocation()); -} -inline std::string* CNETMsg_SpawnGroup_Load::_internal_mutable_parentnamefixup() { - _impl_._has_bits_[0] |= 0x00000020u; - return _impl_.parentnamefixup_.Mutable(GetArenaForAllocation()); -} -inline std::string* CNETMsg_SpawnGroup_Load::release_parentnamefixup() { - // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.parentnamefixup) - if (!_internal_has_parentnamefixup()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000020u; - auto* p = _impl_.parentnamefixup_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.parentnamefixup_.IsDefault()) { - _impl_.parentnamefixup_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CNETMsg_SpawnGroup_Load::set_allocated_parentnamefixup(std::string* parentnamefixup) { - if (parentnamefixup != nullptr) { - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - _impl_.parentnamefixup_.SetAllocated(parentnamefixup, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.parentnamefixup_.IsDefault()) { - _impl_.parentnamefixup_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.parentnamefixup) -} - -// optional int32 manifestloadpriority = 14; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_manifestloadpriority() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_manifestloadpriority() const { - return _internal_has_manifestloadpriority(); -} -inline void CNETMsg_SpawnGroup_Load::clear_manifestloadpriority() { - _impl_.manifestloadpriority_ = 0; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline int32_t CNETMsg_SpawnGroup_Load::_internal_manifestloadpriority() const { - return _impl_.manifestloadpriority_; -} -inline int32_t CNETMsg_SpawnGroup_Load::manifestloadpriority() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.manifestloadpriority) - return _internal_manifestloadpriority(); -} -inline void CNETMsg_SpawnGroup_Load::_internal_set_manifestloadpriority(int32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.manifestloadpriority_ = value; -} -inline void CNETMsg_SpawnGroup_Load::set_manifestloadpriority(int32_t value) { - _internal_set_manifestloadpriority(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.manifestloadpriority) -} - -// optional uint32 worldgroupid = 15; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_worldgroupid() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_worldgroupid() const { - return _internal_has_worldgroupid(); -} -inline void CNETMsg_SpawnGroup_Load::clear_worldgroupid() { - _impl_.worldgroupid_ = 0u; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint32_t CNETMsg_SpawnGroup_Load::_internal_worldgroupid() const { - return _impl_.worldgroupid_; -} -inline uint32_t CNETMsg_SpawnGroup_Load::worldgroupid() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.worldgroupid) - return _internal_worldgroupid(); -} -inline void CNETMsg_SpawnGroup_Load::_internal_set_worldgroupid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.worldgroupid_ = value; -} -inline void CNETMsg_SpawnGroup_Load::set_worldgroupid(uint32_t value) { - _internal_set_worldgroupid(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.worldgroupid) -} - -// optional uint32 creationsequence = 16; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_creationsequence() const { - bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_creationsequence() const { - return _internal_has_creationsequence(); -} -inline void CNETMsg_SpawnGroup_Load::clear_creationsequence() { - _impl_.creationsequence_ = 0u; - _impl_._has_bits_[0] &= ~0x00040000u; -} -inline uint32_t CNETMsg_SpawnGroup_Load::_internal_creationsequence() const { - return _impl_.creationsequence_; -} -inline uint32_t CNETMsg_SpawnGroup_Load::creationsequence() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.creationsequence) - return _internal_creationsequence(); -} -inline void CNETMsg_SpawnGroup_Load::_internal_set_creationsequence(uint32_t value) { - _impl_._has_bits_[0] |= 0x00040000u; - _impl_.creationsequence_ = value; -} -inline void CNETMsg_SpawnGroup_Load::set_creationsequence(uint32_t value) { - _internal_set_creationsequence(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.creationsequence) -} - -// optional string savegamefilename = 17; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_savegamefilename() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_savegamefilename() const { - return _internal_has_savegamefilename(); -} -inline void CNETMsg_SpawnGroup_Load::clear_savegamefilename() { - _impl_.savegamefilename_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline const std::string& CNETMsg_SpawnGroup_Load::savegamefilename() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.savegamefilename) - return _internal_savegamefilename(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CNETMsg_SpawnGroup_Load::set_savegamefilename(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.savegamefilename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.savegamefilename) -} -inline std::string* CNETMsg_SpawnGroup_Load::mutable_savegamefilename() { - std::string* _s = _internal_mutable_savegamefilename(); - // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.savegamefilename) - return _s; -} -inline const std::string& CNETMsg_SpawnGroup_Load::_internal_savegamefilename() const { - return _impl_.savegamefilename_.Get(); -} -inline void CNETMsg_SpawnGroup_Load::_internal_set_savegamefilename(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.savegamefilename_.Set(value, GetArenaForAllocation()); -} -inline std::string* CNETMsg_SpawnGroup_Load::_internal_mutable_savegamefilename() { - _impl_._has_bits_[0] |= 0x00000040u; - return _impl_.savegamefilename_.Mutable(GetArenaForAllocation()); -} -inline std::string* CNETMsg_SpawnGroup_Load::release_savegamefilename() { - // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.savegamefilename) - if (!_internal_has_savegamefilename()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000040u; - auto* p = _impl_.savegamefilename_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.savegamefilename_.IsDefault()) { - _impl_.savegamefilename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CNETMsg_SpawnGroup_Load::set_allocated_savegamefilename(std::string* savegamefilename) { - if (savegamefilename != nullptr) { - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - _impl_.savegamefilename_.SetAllocated(savegamefilename, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.savegamefilename_.IsDefault()) { - _impl_.savegamefilename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.savegamefilename) -} - -// optional uint32 spawngroupparenthandle = 18; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_spawngroupparenthandle() const { - bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_spawngroupparenthandle() const { - return _internal_has_spawngroupparenthandle(); -} -inline void CNETMsg_SpawnGroup_Load::clear_spawngroupparenthandle() { - _impl_.spawngroupparenthandle_ = 0u; - _impl_._has_bits_[0] &= ~0x00080000u; -} -inline uint32_t CNETMsg_SpawnGroup_Load::_internal_spawngroupparenthandle() const { - return _impl_.spawngroupparenthandle_; -} -inline uint32_t CNETMsg_SpawnGroup_Load::spawngroupparenthandle() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.spawngroupparenthandle) - return _internal_spawngroupparenthandle(); -} -inline void CNETMsg_SpawnGroup_Load::_internal_set_spawngroupparenthandle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00080000u; - _impl_.spawngroupparenthandle_ = value; -} -inline void CNETMsg_SpawnGroup_Load::set_spawngroupparenthandle(uint32_t value) { - _internal_set_spawngroupparenthandle(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.spawngroupparenthandle) -} - -// optional bool leveltransition = 19; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_leveltransition() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_leveltransition() const { - return _internal_has_leveltransition(); -} -inline void CNETMsg_SpawnGroup_Load::clear_leveltransition() { - _impl_.leveltransition_ = false; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline bool CNETMsg_SpawnGroup_Load::_internal_leveltransition() const { - return _impl_.leveltransition_; -} -inline bool CNETMsg_SpawnGroup_Load::leveltransition() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.leveltransition) - return _internal_leveltransition(); -} -inline void CNETMsg_SpawnGroup_Load::_internal_set_leveltransition(bool value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.leveltransition_ = value; -} -inline void CNETMsg_SpawnGroup_Load::set_leveltransition(bool value) { - _internal_set_leveltransition(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.leveltransition) -} - -// optional string worldgroupname = 20; -inline bool CNETMsg_SpawnGroup_Load::_internal_has_worldgroupname() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Load::has_worldgroupname() const { - return _internal_has_worldgroupname(); -} -inline void CNETMsg_SpawnGroup_Load::clear_worldgroupname() { - _impl_.worldgroupname_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline const std::string& CNETMsg_SpawnGroup_Load::worldgroupname() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.worldgroupname) - return _internal_worldgroupname(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CNETMsg_SpawnGroup_Load::set_worldgroupname(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.worldgroupname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.worldgroupname) -} -inline std::string* CNETMsg_SpawnGroup_Load::mutable_worldgroupname() { - std::string* _s = _internal_mutable_worldgroupname(); - // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.worldgroupname) - return _s; -} -inline const std::string& CNETMsg_SpawnGroup_Load::_internal_worldgroupname() const { - return _impl_.worldgroupname_.Get(); -} -inline void CNETMsg_SpawnGroup_Load::_internal_set_worldgroupname(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.worldgroupname_.Set(value, GetArenaForAllocation()); -} -inline std::string* CNETMsg_SpawnGroup_Load::_internal_mutable_worldgroupname() { - _impl_._has_bits_[0] |= 0x00000080u; - return _impl_.worldgroupname_.Mutable(GetArenaForAllocation()); -} -inline std::string* CNETMsg_SpawnGroup_Load::release_worldgroupname() { - // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_Load.worldgroupname) - if (!_internal_has_worldgroupname()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000080u; - auto* p = _impl_.worldgroupname_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.worldgroupname_.IsDefault()) { - _impl_.worldgroupname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CNETMsg_SpawnGroup_Load::set_allocated_worldgroupname(std::string* worldgroupname) { - if (worldgroupname != nullptr) { - _impl_._has_bits_[0] |= 0x00000080u; - } else { - _impl_._has_bits_[0] &= ~0x00000080u; - } - _impl_.worldgroupname_.SetAllocated(worldgroupname, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.worldgroupname_.IsDefault()) { - _impl_.worldgroupname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.worldgroupname) -} - -// ------------------------------------------------------------------- - -// CNETMsg_SpawnGroup_ManifestUpdate - -// optional uint32 spawngrouphandle = 1; -inline bool CNETMsg_SpawnGroup_ManifestUpdate::_internal_has_spawngrouphandle() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_ManifestUpdate::has_spawngrouphandle() const { - return _internal_has_spawngrouphandle(); -} -inline void CNETMsg_SpawnGroup_ManifestUpdate::clear_spawngrouphandle() { - _impl_.spawngrouphandle_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CNETMsg_SpawnGroup_ManifestUpdate::_internal_spawngrouphandle() const { - return _impl_.spawngrouphandle_; -} -inline uint32_t CNETMsg_SpawnGroup_ManifestUpdate::spawngrouphandle() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_ManifestUpdate.spawngrouphandle) - return _internal_spawngrouphandle(); -} -inline void CNETMsg_SpawnGroup_ManifestUpdate::_internal_set_spawngrouphandle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.spawngrouphandle_ = value; -} -inline void CNETMsg_SpawnGroup_ManifestUpdate::set_spawngrouphandle(uint32_t value) { - _internal_set_spawngrouphandle(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_ManifestUpdate.spawngrouphandle) -} - -// optional bytes spawngroupmanifest = 2; -inline bool CNETMsg_SpawnGroup_ManifestUpdate::_internal_has_spawngroupmanifest() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_ManifestUpdate::has_spawngroupmanifest() const { - return _internal_has_spawngroupmanifest(); -} -inline void CNETMsg_SpawnGroup_ManifestUpdate::clear_spawngroupmanifest() { - _impl_.spawngroupmanifest_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CNETMsg_SpawnGroup_ManifestUpdate::spawngroupmanifest() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_ManifestUpdate.spawngroupmanifest) - return _internal_spawngroupmanifest(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CNETMsg_SpawnGroup_ManifestUpdate::set_spawngroupmanifest(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.spawngroupmanifest_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_ManifestUpdate.spawngroupmanifest) -} -inline std::string* CNETMsg_SpawnGroup_ManifestUpdate::mutable_spawngroupmanifest() { - std::string* _s = _internal_mutable_spawngroupmanifest(); - // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_ManifestUpdate.spawngroupmanifest) - return _s; -} -inline const std::string& CNETMsg_SpawnGroup_ManifestUpdate::_internal_spawngroupmanifest() const { - return _impl_.spawngroupmanifest_.Get(); -} -inline void CNETMsg_SpawnGroup_ManifestUpdate::_internal_set_spawngroupmanifest(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.spawngroupmanifest_.Set(value, GetArenaForAllocation()); -} -inline std::string* CNETMsg_SpawnGroup_ManifestUpdate::_internal_mutable_spawngroupmanifest() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.spawngroupmanifest_.Mutable(GetArenaForAllocation()); -} -inline std::string* CNETMsg_SpawnGroup_ManifestUpdate::release_spawngroupmanifest() { - // @@protoc_insertion_point(field_release:CNETMsg_SpawnGroup_ManifestUpdate.spawngroupmanifest) - if (!_internal_has_spawngroupmanifest()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.spawngroupmanifest_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.spawngroupmanifest_.IsDefault()) { - _impl_.spawngroupmanifest_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CNETMsg_SpawnGroup_ManifestUpdate::set_allocated_spawngroupmanifest(std::string* spawngroupmanifest) { - if (spawngroupmanifest != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.spawngroupmanifest_.SetAllocated(spawngroupmanifest, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.spawngroupmanifest_.IsDefault()) { - _impl_.spawngroupmanifest_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_ManifestUpdate.spawngroupmanifest) -} - -// optional bool manifestincomplete = 3; -inline bool CNETMsg_SpawnGroup_ManifestUpdate::_internal_has_manifestincomplete() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_ManifestUpdate::has_manifestincomplete() const { - return _internal_has_manifestincomplete(); -} -inline void CNETMsg_SpawnGroup_ManifestUpdate::clear_manifestincomplete() { - _impl_.manifestincomplete_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CNETMsg_SpawnGroup_ManifestUpdate::_internal_manifestincomplete() const { - return _impl_.manifestincomplete_; -} -inline bool CNETMsg_SpawnGroup_ManifestUpdate::manifestincomplete() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_ManifestUpdate.manifestincomplete) - return _internal_manifestincomplete(); -} -inline void CNETMsg_SpawnGroup_ManifestUpdate::_internal_set_manifestincomplete(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.manifestincomplete_ = value; -} -inline void CNETMsg_SpawnGroup_ManifestUpdate::set_manifestincomplete(bool value) { - _internal_set_manifestincomplete(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_ManifestUpdate.manifestincomplete) -} - -// ------------------------------------------------------------------- - -// CNETMsg_SpawnGroup_SetCreationTick - -// optional uint32 spawngrouphandle = 1; -inline bool CNETMsg_SpawnGroup_SetCreationTick::_internal_has_spawngrouphandle() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_SetCreationTick::has_spawngrouphandle() const { - return _internal_has_spawngrouphandle(); -} -inline void CNETMsg_SpawnGroup_SetCreationTick::clear_spawngrouphandle() { - _impl_.spawngrouphandle_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CNETMsg_SpawnGroup_SetCreationTick::_internal_spawngrouphandle() const { - return _impl_.spawngrouphandle_; -} -inline uint32_t CNETMsg_SpawnGroup_SetCreationTick::spawngrouphandle() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_SetCreationTick.spawngrouphandle) - return _internal_spawngrouphandle(); -} -inline void CNETMsg_SpawnGroup_SetCreationTick::_internal_set_spawngrouphandle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.spawngrouphandle_ = value; -} -inline void CNETMsg_SpawnGroup_SetCreationTick::set_spawngrouphandle(uint32_t value) { - _internal_set_spawngrouphandle(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_SetCreationTick.spawngrouphandle) -} - -// optional int32 tickcount = 2; -inline bool CNETMsg_SpawnGroup_SetCreationTick::_internal_has_tickcount() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_SetCreationTick::has_tickcount() const { - return _internal_has_tickcount(); -} -inline void CNETMsg_SpawnGroup_SetCreationTick::clear_tickcount() { - _impl_.tickcount_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CNETMsg_SpawnGroup_SetCreationTick::_internal_tickcount() const { - return _impl_.tickcount_; -} -inline int32_t CNETMsg_SpawnGroup_SetCreationTick::tickcount() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_SetCreationTick.tickcount) - return _internal_tickcount(); -} -inline void CNETMsg_SpawnGroup_SetCreationTick::_internal_set_tickcount(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.tickcount_ = value; -} -inline void CNETMsg_SpawnGroup_SetCreationTick::set_tickcount(int32_t value) { - _internal_set_tickcount(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_SetCreationTick.tickcount) -} - -// optional uint32 creationsequence = 3; -inline bool CNETMsg_SpawnGroup_SetCreationTick::_internal_has_creationsequence() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_SetCreationTick::has_creationsequence() const { - return _internal_has_creationsequence(); -} -inline void CNETMsg_SpawnGroup_SetCreationTick::clear_creationsequence() { - _impl_.creationsequence_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CNETMsg_SpawnGroup_SetCreationTick::_internal_creationsequence() const { - return _impl_.creationsequence_; -} -inline uint32_t CNETMsg_SpawnGroup_SetCreationTick::creationsequence() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_SetCreationTick.creationsequence) - return _internal_creationsequence(); -} -inline void CNETMsg_SpawnGroup_SetCreationTick::_internal_set_creationsequence(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.creationsequence_ = value; -} -inline void CNETMsg_SpawnGroup_SetCreationTick::set_creationsequence(uint32_t value) { - _internal_set_creationsequence(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_SetCreationTick.creationsequence) -} - -// ------------------------------------------------------------------- - -// CNETMsg_SpawnGroup_Unload - -// optional uint32 spawngrouphandle = 1; -inline bool CNETMsg_SpawnGroup_Unload::_internal_has_spawngrouphandle() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Unload::has_spawngrouphandle() const { - return _internal_has_spawngrouphandle(); -} -inline void CNETMsg_SpawnGroup_Unload::clear_spawngrouphandle() { - _impl_.spawngrouphandle_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CNETMsg_SpawnGroup_Unload::_internal_spawngrouphandle() const { - return _impl_.spawngrouphandle_; -} -inline uint32_t CNETMsg_SpawnGroup_Unload::spawngrouphandle() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Unload.spawngrouphandle) - return _internal_spawngrouphandle(); -} -inline void CNETMsg_SpawnGroup_Unload::_internal_set_spawngrouphandle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.spawngrouphandle_ = value; -} -inline void CNETMsg_SpawnGroup_Unload::set_spawngrouphandle(uint32_t value) { - _internal_set_spawngrouphandle(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Unload.spawngrouphandle) -} - -// optional uint32 flags = 2; -inline bool CNETMsg_SpawnGroup_Unload::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Unload::has_flags() const { - return _internal_has_flags(); -} -inline void CNETMsg_SpawnGroup_Unload::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CNETMsg_SpawnGroup_Unload::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CNETMsg_SpawnGroup_Unload::flags() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Unload.flags) - return _internal_flags(); -} -inline void CNETMsg_SpawnGroup_Unload::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.flags_ = value; -} -inline void CNETMsg_SpawnGroup_Unload::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Unload.flags) -} - -// optional int32 tickcount = 3; -inline bool CNETMsg_SpawnGroup_Unload::_internal_has_tickcount() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_Unload::has_tickcount() const { - return _internal_has_tickcount(); -} -inline void CNETMsg_SpawnGroup_Unload::clear_tickcount() { - _impl_.tickcount_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CNETMsg_SpawnGroup_Unload::_internal_tickcount() const { - return _impl_.tickcount_; -} -inline int32_t CNETMsg_SpawnGroup_Unload::tickcount() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Unload.tickcount) - return _internal_tickcount(); -} -inline void CNETMsg_SpawnGroup_Unload::_internal_set_tickcount(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.tickcount_ = value; -} -inline void CNETMsg_SpawnGroup_Unload::set_tickcount(int32_t value) { - _internal_set_tickcount(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Unload.tickcount) -} - -// ------------------------------------------------------------------- - -// CNETMsg_SpawnGroup_LoadCompleted - -// optional uint32 spawngrouphandle = 1; -inline bool CNETMsg_SpawnGroup_LoadCompleted::_internal_has_spawngrouphandle() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CNETMsg_SpawnGroup_LoadCompleted::has_spawngrouphandle() const { - return _internal_has_spawngrouphandle(); -} -inline void CNETMsg_SpawnGroup_LoadCompleted::clear_spawngrouphandle() { - _impl_.spawngrouphandle_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CNETMsg_SpawnGroup_LoadCompleted::_internal_spawngrouphandle() const { - return _impl_.spawngrouphandle_; -} -inline uint32_t CNETMsg_SpawnGroup_LoadCompleted::spawngrouphandle() const { - // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_LoadCompleted.spawngrouphandle) - return _internal_spawngrouphandle(); -} -inline void CNETMsg_SpawnGroup_LoadCompleted::_internal_set_spawngrouphandle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.spawngrouphandle_ = value; -} -inline void CNETMsg_SpawnGroup_LoadCompleted::set_spawngrouphandle(uint32_t value) { - _internal_set_spawngrouphandle(value); - // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_LoadCompleted.spawngrouphandle) -} - -// ------------------------------------------------------------------- - -// CSVCMsg_GameSessionConfiguration - -// optional bool is_multiplayer = 1; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_is_multiplayer() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_is_multiplayer() const { - return _internal_has_is_multiplayer(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_is_multiplayer() { - _impl_.is_multiplayer_ = false; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline bool CSVCMsg_GameSessionConfiguration::_internal_is_multiplayer() const { - return _impl_.is_multiplayer_; -} -inline bool CSVCMsg_GameSessionConfiguration::is_multiplayer() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.is_multiplayer) - return _internal_is_multiplayer(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_is_multiplayer(bool value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.is_multiplayer_ = value; -} -inline void CSVCMsg_GameSessionConfiguration::set_is_multiplayer(bool value) { - _internal_set_is_multiplayer(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.is_multiplayer) -} - -// optional bool is_loadsavegame = 2; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_is_loadsavegame() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_is_loadsavegame() const { - return _internal_has_is_loadsavegame(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_is_loadsavegame() { - _impl_.is_loadsavegame_ = false; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline bool CSVCMsg_GameSessionConfiguration::_internal_is_loadsavegame() const { - return _impl_.is_loadsavegame_; -} -inline bool CSVCMsg_GameSessionConfiguration::is_loadsavegame() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.is_loadsavegame) - return _internal_is_loadsavegame(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_is_loadsavegame(bool value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.is_loadsavegame_ = value; -} -inline void CSVCMsg_GameSessionConfiguration::set_is_loadsavegame(bool value) { - _internal_set_is_loadsavegame(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.is_loadsavegame) -} - -// optional bool is_background_map = 3; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_is_background_map() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_is_background_map() const { - return _internal_has_is_background_map(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_is_background_map() { - _impl_.is_background_map_ = false; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline bool CSVCMsg_GameSessionConfiguration::_internal_is_background_map() const { - return _impl_.is_background_map_; -} -inline bool CSVCMsg_GameSessionConfiguration::is_background_map() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.is_background_map) - return _internal_is_background_map(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_is_background_map(bool value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.is_background_map_ = value; -} -inline void CSVCMsg_GameSessionConfiguration::set_is_background_map(bool value) { - _internal_set_is_background_map(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.is_background_map) -} - -// optional bool is_headless = 4; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_is_headless() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_is_headless() const { - return _internal_has_is_headless(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_is_headless() { - _impl_.is_headless_ = false; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline bool CSVCMsg_GameSessionConfiguration::_internal_is_headless() const { - return _impl_.is_headless_; -} -inline bool CSVCMsg_GameSessionConfiguration::is_headless() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.is_headless) - return _internal_is_headless(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_is_headless(bool value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.is_headless_ = value; -} -inline void CSVCMsg_GameSessionConfiguration::set_is_headless(bool value) { - _internal_set_is_headless(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.is_headless) -} - -// optional uint32 min_client_limit = 5; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_min_client_limit() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_min_client_limit() const { - return _internal_has_min_client_limit(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_min_client_limit() { - _impl_.min_client_limit_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CSVCMsg_GameSessionConfiguration::_internal_min_client_limit() const { - return _impl_.min_client_limit_; -} -inline uint32_t CSVCMsg_GameSessionConfiguration::min_client_limit() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.min_client_limit) - return _internal_min_client_limit(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_min_client_limit(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.min_client_limit_ = value; -} -inline void CSVCMsg_GameSessionConfiguration::set_min_client_limit(uint32_t value) { - _internal_set_min_client_limit(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.min_client_limit) -} - -// optional uint32 max_client_limit = 6; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_max_client_limit() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_max_client_limit() const { - return _internal_has_max_client_limit(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_max_client_limit() { - _impl_.max_client_limit_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CSVCMsg_GameSessionConfiguration::_internal_max_client_limit() const { - return _impl_.max_client_limit_; -} -inline uint32_t CSVCMsg_GameSessionConfiguration::max_client_limit() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.max_client_limit) - return _internal_max_client_limit(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_max_client_limit(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.max_client_limit_ = value; -} -inline void CSVCMsg_GameSessionConfiguration::set_max_client_limit(uint32_t value) { - _internal_set_max_client_limit(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.max_client_limit) -} - -// optional uint32 max_clients = 7; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_max_clients() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_max_clients() const { - return _internal_has_max_clients(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_max_clients() { - _impl_.max_clients_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CSVCMsg_GameSessionConfiguration::_internal_max_clients() const { - return _impl_.max_clients_; -} -inline uint32_t CSVCMsg_GameSessionConfiguration::max_clients() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.max_clients) - return _internal_max_clients(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_max_clients(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.max_clients_ = value; -} -inline void CSVCMsg_GameSessionConfiguration::set_max_clients(uint32_t value) { - _internal_set_max_clients(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.max_clients) -} - -// optional fixed32 tick_interval = 8; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_tick_interval() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_tick_interval() const { - return _internal_has_tick_interval(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_tick_interval() { - _impl_.tick_interval_ = 0u; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint32_t CSVCMsg_GameSessionConfiguration::_internal_tick_interval() const { - return _impl_.tick_interval_; -} -inline uint32_t CSVCMsg_GameSessionConfiguration::tick_interval() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.tick_interval) - return _internal_tick_interval(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_tick_interval(uint32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.tick_interval_ = value; -} -inline void CSVCMsg_GameSessionConfiguration::set_tick_interval(uint32_t value) { - _internal_set_tick_interval(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.tick_interval) -} - -// optional string hostname = 9; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_hostname() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_hostname() const { - return _internal_has_hostname(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_hostname() { - _impl_.hostname_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CSVCMsg_GameSessionConfiguration::hostname() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.hostname) - return _internal_hostname(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_GameSessionConfiguration::set_hostname(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.hostname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.hostname) -} -inline std::string* CSVCMsg_GameSessionConfiguration::mutable_hostname() { - std::string* _s = _internal_mutable_hostname(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.hostname) - return _s; -} -inline const std::string& CSVCMsg_GameSessionConfiguration::_internal_hostname() const { - return _impl_.hostname_.Get(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_hostname(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.hostname_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameSessionConfiguration::_internal_mutable_hostname() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.hostname_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameSessionConfiguration::release_hostname() { - // @@protoc_insertion_point(field_release:CSVCMsg_GameSessionConfiguration.hostname) - if (!_internal_has_hostname()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.hostname_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.hostname_.IsDefault()) { - _impl_.hostname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_GameSessionConfiguration::set_allocated_hostname(std::string* hostname) { - if (hostname != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.hostname_.SetAllocated(hostname, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.hostname_.IsDefault()) { - _impl_.hostname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.hostname) -} - -// optional string savegamename = 10; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_savegamename() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_savegamename() const { - return _internal_has_savegamename(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_savegamename() { - _impl_.savegamename_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CSVCMsg_GameSessionConfiguration::savegamename() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.savegamename) - return _internal_savegamename(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_GameSessionConfiguration::set_savegamename(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.savegamename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.savegamename) -} -inline std::string* CSVCMsg_GameSessionConfiguration::mutable_savegamename() { - std::string* _s = _internal_mutable_savegamename(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.savegamename) - return _s; -} -inline const std::string& CSVCMsg_GameSessionConfiguration::_internal_savegamename() const { - return _impl_.savegamename_.Get(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_savegamename(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.savegamename_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameSessionConfiguration::_internal_mutable_savegamename() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.savegamename_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameSessionConfiguration::release_savegamename() { - // @@protoc_insertion_point(field_release:CSVCMsg_GameSessionConfiguration.savegamename) - if (!_internal_has_savegamename()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.savegamename_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.savegamename_.IsDefault()) { - _impl_.savegamename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_GameSessionConfiguration::set_allocated_savegamename(std::string* savegamename) { - if (savegamename != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.savegamename_.SetAllocated(savegamename, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.savegamename_.IsDefault()) { - _impl_.savegamename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.savegamename) -} - -// optional string s1_mapname = 11; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_s1_mapname() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_s1_mapname() const { - return _internal_has_s1_mapname(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_s1_mapname() { - _impl_.s1_mapname_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CSVCMsg_GameSessionConfiguration::s1_mapname() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.s1_mapname) - return _internal_s1_mapname(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_GameSessionConfiguration::set_s1_mapname(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.s1_mapname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.s1_mapname) -} -inline std::string* CSVCMsg_GameSessionConfiguration::mutable_s1_mapname() { - std::string* _s = _internal_mutable_s1_mapname(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.s1_mapname) - return _s; -} -inline const std::string& CSVCMsg_GameSessionConfiguration::_internal_s1_mapname() const { - return _impl_.s1_mapname_.Get(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_s1_mapname(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.s1_mapname_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameSessionConfiguration::_internal_mutable_s1_mapname() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.s1_mapname_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameSessionConfiguration::release_s1_mapname() { - // @@protoc_insertion_point(field_release:CSVCMsg_GameSessionConfiguration.s1_mapname) - if (!_internal_has_s1_mapname()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.s1_mapname_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.s1_mapname_.IsDefault()) { - _impl_.s1_mapname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_GameSessionConfiguration::set_allocated_s1_mapname(std::string* s1_mapname) { - if (s1_mapname != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.s1_mapname_.SetAllocated(s1_mapname, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.s1_mapname_.IsDefault()) { - _impl_.s1_mapname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.s1_mapname) -} - -// optional string gamemode = 12; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_gamemode() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_gamemode() const { - return _internal_has_gamemode(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_gamemode() { - _impl_.gamemode_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CSVCMsg_GameSessionConfiguration::gamemode() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.gamemode) - return _internal_gamemode(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_GameSessionConfiguration::set_gamemode(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.gamemode_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.gamemode) -} -inline std::string* CSVCMsg_GameSessionConfiguration::mutable_gamemode() { - std::string* _s = _internal_mutable_gamemode(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.gamemode) - return _s; -} -inline const std::string& CSVCMsg_GameSessionConfiguration::_internal_gamemode() const { - return _impl_.gamemode_.Get(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_gamemode(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.gamemode_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameSessionConfiguration::_internal_mutable_gamemode() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.gamemode_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameSessionConfiguration::release_gamemode() { - // @@protoc_insertion_point(field_release:CSVCMsg_GameSessionConfiguration.gamemode) - if (!_internal_has_gamemode()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.gamemode_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gamemode_.IsDefault()) { - _impl_.gamemode_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_GameSessionConfiguration::set_allocated_gamemode(std::string* gamemode) { - if (gamemode != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.gamemode_.SetAllocated(gamemode, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gamemode_.IsDefault()) { - _impl_.gamemode_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.gamemode) -} - -// optional string server_ip_address = 13; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_server_ip_address() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_server_ip_address() const { - return _internal_has_server_ip_address(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_server_ip_address() { - _impl_.server_ip_address_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const std::string& CSVCMsg_GameSessionConfiguration::server_ip_address() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.server_ip_address) - return _internal_server_ip_address(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_GameSessionConfiguration::set_server_ip_address(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.server_ip_address_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.server_ip_address) -} -inline std::string* CSVCMsg_GameSessionConfiguration::mutable_server_ip_address() { - std::string* _s = _internal_mutable_server_ip_address(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.server_ip_address) - return _s; -} -inline const std::string& CSVCMsg_GameSessionConfiguration::_internal_server_ip_address() const { - return _impl_.server_ip_address_.Get(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_server_ip_address(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.server_ip_address_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameSessionConfiguration::_internal_mutable_server_ip_address() { - _impl_._has_bits_[0] |= 0x00000010u; - return _impl_.server_ip_address_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameSessionConfiguration::release_server_ip_address() { - // @@protoc_insertion_point(field_release:CSVCMsg_GameSessionConfiguration.server_ip_address) - if (!_internal_has_server_ip_address()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000010u; - auto* p = _impl_.server_ip_address_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.server_ip_address_.IsDefault()) { - _impl_.server_ip_address_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_GameSessionConfiguration::set_allocated_server_ip_address(std::string* server_ip_address) { - if (server_ip_address != nullptr) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.server_ip_address_.SetAllocated(server_ip_address, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.server_ip_address_.IsDefault()) { - _impl_.server_ip_address_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.server_ip_address) -} - -// optional bytes data = 14; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_data() const { - return _internal_has_data(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline const std::string& CSVCMsg_GameSessionConfiguration::data() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_GameSessionConfiguration::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.data) -} -inline std::string* CSVCMsg_GameSessionConfiguration::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.data) - return _s; -} -inline const std::string& CSVCMsg_GameSessionConfiguration::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameSessionConfiguration::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000020u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameSessionConfiguration::release_data() { - // @@protoc_insertion_point(field_release:CSVCMsg_GameSessionConfiguration.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000020u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_GameSessionConfiguration::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.data) -} - -// optional bool is_localonly = 15; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_is_localonly() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_is_localonly() const { - return _internal_has_is_localonly(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_is_localonly() { - _impl_.is_localonly_ = false; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline bool CSVCMsg_GameSessionConfiguration::_internal_is_localonly() const { - return _impl_.is_localonly_; -} -inline bool CSVCMsg_GameSessionConfiguration::is_localonly() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.is_localonly) - return _internal_is_localonly(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_is_localonly(bool value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.is_localonly_ = value; -} -inline void CSVCMsg_GameSessionConfiguration::set_is_localonly(bool value) { - _internal_set_is_localonly(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.is_localonly) -} - -// optional bool no_steam_server = 19; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_no_steam_server() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_no_steam_server() const { - return _internal_has_no_steam_server(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_no_steam_server() { - _impl_.no_steam_server_ = false; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline bool CSVCMsg_GameSessionConfiguration::_internal_no_steam_server() const { - return _impl_.no_steam_server_; -} -inline bool CSVCMsg_GameSessionConfiguration::no_steam_server() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.no_steam_server) - return _internal_no_steam_server(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_no_steam_server(bool value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.no_steam_server_ = value; -} -inline void CSVCMsg_GameSessionConfiguration::set_no_steam_server(bool value) { - _internal_set_no_steam_server(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.no_steam_server) -} - -// optional bool is_transition = 16; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_is_transition() const { - bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_is_transition() const { - return _internal_has_is_transition(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_is_transition() { - _impl_.is_transition_ = false; - _impl_._has_bits_[0] &= ~0x00040000u; -} -inline bool CSVCMsg_GameSessionConfiguration::_internal_is_transition() const { - return _impl_.is_transition_; -} -inline bool CSVCMsg_GameSessionConfiguration::is_transition() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.is_transition) - return _internal_is_transition(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_is_transition(bool value) { - _impl_._has_bits_[0] |= 0x00040000u; - _impl_.is_transition_ = value; -} -inline void CSVCMsg_GameSessionConfiguration::set_is_transition(bool value) { - _internal_set_is_transition(value); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.is_transition) -} - -// optional string previouslevel = 17; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_previouslevel() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_previouslevel() const { - return _internal_has_previouslevel(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_previouslevel() { - _impl_.previouslevel_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline const std::string& CSVCMsg_GameSessionConfiguration::previouslevel() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.previouslevel) - return _internal_previouslevel(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_GameSessionConfiguration::set_previouslevel(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.previouslevel_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.previouslevel) -} -inline std::string* CSVCMsg_GameSessionConfiguration::mutable_previouslevel() { - std::string* _s = _internal_mutable_previouslevel(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.previouslevel) - return _s; -} -inline const std::string& CSVCMsg_GameSessionConfiguration::_internal_previouslevel() const { - return _impl_.previouslevel_.Get(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_previouslevel(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.previouslevel_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameSessionConfiguration::_internal_mutable_previouslevel() { - _impl_._has_bits_[0] |= 0x00000040u; - return _impl_.previouslevel_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameSessionConfiguration::release_previouslevel() { - // @@protoc_insertion_point(field_release:CSVCMsg_GameSessionConfiguration.previouslevel) - if (!_internal_has_previouslevel()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000040u; - auto* p = _impl_.previouslevel_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.previouslevel_.IsDefault()) { - _impl_.previouslevel_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_GameSessionConfiguration::set_allocated_previouslevel(std::string* previouslevel) { - if (previouslevel != nullptr) { - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - _impl_.previouslevel_.SetAllocated(previouslevel, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.previouslevel_.IsDefault()) { - _impl_.previouslevel_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.previouslevel) -} - -// optional string landmarkname = 18; -inline bool CSVCMsg_GameSessionConfiguration::_internal_has_landmarkname() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CSVCMsg_GameSessionConfiguration::has_landmarkname() const { - return _internal_has_landmarkname(); -} -inline void CSVCMsg_GameSessionConfiguration::clear_landmarkname() { - _impl_.landmarkname_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline const std::string& CSVCMsg_GameSessionConfiguration::landmarkname() const { - // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.landmarkname) - return _internal_landmarkname(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CSVCMsg_GameSessionConfiguration::set_landmarkname(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.landmarkname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.landmarkname) -} -inline std::string* CSVCMsg_GameSessionConfiguration::mutable_landmarkname() { - std::string* _s = _internal_mutable_landmarkname(); - // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.landmarkname) - return _s; -} -inline const std::string& CSVCMsg_GameSessionConfiguration::_internal_landmarkname() const { - return _impl_.landmarkname_.Get(); -} -inline void CSVCMsg_GameSessionConfiguration::_internal_set_landmarkname(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.landmarkname_.Set(value, GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameSessionConfiguration::_internal_mutable_landmarkname() { - _impl_._has_bits_[0] |= 0x00000080u; - return _impl_.landmarkname_.Mutable(GetArenaForAllocation()); -} -inline std::string* CSVCMsg_GameSessionConfiguration::release_landmarkname() { - // @@protoc_insertion_point(field_release:CSVCMsg_GameSessionConfiguration.landmarkname) - if (!_internal_has_landmarkname()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000080u; - auto* p = _impl_.landmarkname_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.landmarkname_.IsDefault()) { - _impl_.landmarkname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CSVCMsg_GameSessionConfiguration::set_allocated_landmarkname(std::string* landmarkname) { - if (landmarkname != nullptr) { - _impl_._has_bits_[0] |= 0x00000080u; - } else { - _impl_._has_bits_[0] &= ~0x00000080u; - } - _impl_.landmarkname_.SetAllocated(landmarkname, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.landmarkname_.IsDefault()) { - _impl_.landmarkname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.landmarkname) -} - -// ------------------------------------------------------------------- - -// CNETMsg_DebugOverlay - -// optional int32 etype = 1; -inline bool CNETMsg_DebugOverlay::_internal_has_etype() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CNETMsg_DebugOverlay::has_etype() const { - return _internal_has_etype(); -} -inline void CNETMsg_DebugOverlay::clear_etype() { - _impl_.etype_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CNETMsg_DebugOverlay::_internal_etype() const { - return _impl_.etype_; -} -inline int32_t CNETMsg_DebugOverlay::etype() const { - // @@protoc_insertion_point(field_get:CNETMsg_DebugOverlay.etype) - return _internal_etype(); -} -inline void CNETMsg_DebugOverlay::_internal_set_etype(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.etype_ = value; -} -inline void CNETMsg_DebugOverlay::set_etype(int32_t value) { - _internal_set_etype(value); - // @@protoc_insertion_point(field_set:CNETMsg_DebugOverlay.etype) -} - -// repeated .CMsgVector vectors = 2; -inline int CNETMsg_DebugOverlay::_internal_vectors_size() const { - return _impl_.vectors_.size(); -} -inline int CNETMsg_DebugOverlay::vectors_size() const { - return _internal_vectors_size(); -} -inline void CNETMsg_DebugOverlay::clear_vectors() { - _impl_.vectors_.Clear(); -} -inline ::CMsgVector* CNETMsg_DebugOverlay::mutable_vectors(int index) { - // @@protoc_insertion_point(field_mutable:CNETMsg_DebugOverlay.vectors) - return _impl_.vectors_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgVector >* -CNETMsg_DebugOverlay::mutable_vectors() { - // @@protoc_insertion_point(field_mutable_list:CNETMsg_DebugOverlay.vectors) - return &_impl_.vectors_; -} -inline const ::CMsgVector& CNETMsg_DebugOverlay::_internal_vectors(int index) const { - return _impl_.vectors_.Get(index); -} -inline const ::CMsgVector& CNETMsg_DebugOverlay::vectors(int index) const { - // @@protoc_insertion_point(field_get:CNETMsg_DebugOverlay.vectors) - return _internal_vectors(index); -} -inline ::CMsgVector* CNETMsg_DebugOverlay::_internal_add_vectors() { - return _impl_.vectors_.Add(); -} -inline ::CMsgVector* CNETMsg_DebugOverlay::add_vectors() { - ::CMsgVector* _add = _internal_add_vectors(); - // @@protoc_insertion_point(field_add:CNETMsg_DebugOverlay.vectors) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgVector >& -CNETMsg_DebugOverlay::vectors() const { - // @@protoc_insertion_point(field_list:CNETMsg_DebugOverlay.vectors) - return _impl_.vectors_; -} - -// repeated .CMsgRGBA colors = 3; -inline int CNETMsg_DebugOverlay::_internal_colors_size() const { - return _impl_.colors_.size(); -} -inline int CNETMsg_DebugOverlay::colors_size() const { - return _internal_colors_size(); -} -inline void CNETMsg_DebugOverlay::clear_colors() { - _impl_.colors_.Clear(); -} -inline ::CMsgRGBA* CNETMsg_DebugOverlay::mutable_colors(int index) { - // @@protoc_insertion_point(field_mutable:CNETMsg_DebugOverlay.colors) - return _impl_.colors_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRGBA >* -CNETMsg_DebugOverlay::mutable_colors() { - // @@protoc_insertion_point(field_mutable_list:CNETMsg_DebugOverlay.colors) - return &_impl_.colors_; -} -inline const ::CMsgRGBA& CNETMsg_DebugOverlay::_internal_colors(int index) const { - return _impl_.colors_.Get(index); -} -inline const ::CMsgRGBA& CNETMsg_DebugOverlay::colors(int index) const { - // @@protoc_insertion_point(field_get:CNETMsg_DebugOverlay.colors) - return _internal_colors(index); -} -inline ::CMsgRGBA* CNETMsg_DebugOverlay::_internal_add_colors() { - return _impl_.colors_.Add(); -} -inline ::CMsgRGBA* CNETMsg_DebugOverlay::add_colors() { - ::CMsgRGBA* _add = _internal_add_colors(); - // @@protoc_insertion_point(field_add:CNETMsg_DebugOverlay.colors) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgRGBA >& -CNETMsg_DebugOverlay::colors() const { - // @@protoc_insertion_point(field_list:CNETMsg_DebugOverlay.colors) - return _impl_.colors_; -} - -// repeated float dimensions = 4; -inline int CNETMsg_DebugOverlay::_internal_dimensions_size() const { - return _impl_.dimensions_.size(); -} -inline int CNETMsg_DebugOverlay::dimensions_size() const { - return _internal_dimensions_size(); -} -inline void CNETMsg_DebugOverlay::clear_dimensions() { - _impl_.dimensions_.Clear(); -} -inline float CNETMsg_DebugOverlay::_internal_dimensions(int index) const { - return _impl_.dimensions_.Get(index); -} -inline float CNETMsg_DebugOverlay::dimensions(int index) const { - // @@protoc_insertion_point(field_get:CNETMsg_DebugOverlay.dimensions) - return _internal_dimensions(index); -} -inline void CNETMsg_DebugOverlay::set_dimensions(int index, float value) { - _impl_.dimensions_.Set(index, value); - // @@protoc_insertion_point(field_set:CNETMsg_DebugOverlay.dimensions) -} -inline void CNETMsg_DebugOverlay::_internal_add_dimensions(float value) { - _impl_.dimensions_.Add(value); -} -inline void CNETMsg_DebugOverlay::add_dimensions(float value) { - _internal_add_dimensions(value); - // @@protoc_insertion_point(field_add:CNETMsg_DebugOverlay.dimensions) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& -CNETMsg_DebugOverlay::_internal_dimensions() const { - return _impl_.dimensions_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& -CNETMsg_DebugOverlay::dimensions() const { - // @@protoc_insertion_point(field_list:CNETMsg_DebugOverlay.dimensions) - return _internal_dimensions(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* -CNETMsg_DebugOverlay::_internal_mutable_dimensions() { - return &_impl_.dimensions_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* -CNETMsg_DebugOverlay::mutable_dimensions() { - // @@protoc_insertion_point(field_mutable_list:CNETMsg_DebugOverlay.dimensions) - return _internal_mutable_dimensions(); -} - -// repeated float times = 5; -inline int CNETMsg_DebugOverlay::_internal_times_size() const { - return _impl_.times_.size(); -} -inline int CNETMsg_DebugOverlay::times_size() const { - return _internal_times_size(); -} -inline void CNETMsg_DebugOverlay::clear_times() { - _impl_.times_.Clear(); -} -inline float CNETMsg_DebugOverlay::_internal_times(int index) const { - return _impl_.times_.Get(index); -} -inline float CNETMsg_DebugOverlay::times(int index) const { - // @@protoc_insertion_point(field_get:CNETMsg_DebugOverlay.times) - return _internal_times(index); -} -inline void CNETMsg_DebugOverlay::set_times(int index, float value) { - _impl_.times_.Set(index, value); - // @@protoc_insertion_point(field_set:CNETMsg_DebugOverlay.times) -} -inline void CNETMsg_DebugOverlay::_internal_add_times(float value) { - _impl_.times_.Add(value); -} -inline void CNETMsg_DebugOverlay::add_times(float value) { - _internal_add_times(value); - // @@protoc_insertion_point(field_add:CNETMsg_DebugOverlay.times) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& -CNETMsg_DebugOverlay::_internal_times() const { - return _impl_.times_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& -CNETMsg_DebugOverlay::times() const { - // @@protoc_insertion_point(field_list:CNETMsg_DebugOverlay.times) - return _internal_times(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* -CNETMsg_DebugOverlay::_internal_mutable_times() { - return &_impl_.times_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* -CNETMsg_DebugOverlay::mutable_times() { - // @@protoc_insertion_point(field_mutable_list:CNETMsg_DebugOverlay.times) - return _internal_mutable_times(); -} - -// repeated bool bools = 6; -inline int CNETMsg_DebugOverlay::_internal_bools_size() const { - return _impl_.bools_.size(); -} -inline int CNETMsg_DebugOverlay::bools_size() const { - return _internal_bools_size(); -} -inline void CNETMsg_DebugOverlay::clear_bools() { - _impl_.bools_.Clear(); -} -inline bool CNETMsg_DebugOverlay::_internal_bools(int index) const { - return _impl_.bools_.Get(index); -} -inline bool CNETMsg_DebugOverlay::bools(int index) const { - // @@protoc_insertion_point(field_get:CNETMsg_DebugOverlay.bools) - return _internal_bools(index); -} -inline void CNETMsg_DebugOverlay::set_bools(int index, bool value) { - _impl_.bools_.Set(index, value); - // @@protoc_insertion_point(field_set:CNETMsg_DebugOverlay.bools) -} -inline void CNETMsg_DebugOverlay::_internal_add_bools(bool value) { - _impl_.bools_.Add(value); -} -inline void CNETMsg_DebugOverlay::add_bools(bool value) { - _internal_add_bools(value); - // @@protoc_insertion_point(field_add:CNETMsg_DebugOverlay.bools) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >& -CNETMsg_DebugOverlay::_internal_bools() const { - return _impl_.bools_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >& -CNETMsg_DebugOverlay::bools() const { - // @@protoc_insertion_point(field_list:CNETMsg_DebugOverlay.bools) - return _internal_bools(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >* -CNETMsg_DebugOverlay::_internal_mutable_bools() { - return &_impl_.bools_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >* -CNETMsg_DebugOverlay::mutable_bools() { - // @@protoc_insertion_point(field_mutable_list:CNETMsg_DebugOverlay.bools) - return _internal_mutable_bools(); -} - -// repeated uint64 uint64s = 7; -inline int CNETMsg_DebugOverlay::_internal_uint64s_size() const { - return _impl_.uint64s_.size(); -} -inline int CNETMsg_DebugOverlay::uint64s_size() const { - return _internal_uint64s_size(); -} -inline void CNETMsg_DebugOverlay::clear_uint64s() { - _impl_.uint64s_.Clear(); -} -inline uint64_t CNETMsg_DebugOverlay::_internal_uint64s(int index) const { - return _impl_.uint64s_.Get(index); -} -inline uint64_t CNETMsg_DebugOverlay::uint64s(int index) const { - // @@protoc_insertion_point(field_get:CNETMsg_DebugOverlay.uint64s) - return _internal_uint64s(index); -} -inline void CNETMsg_DebugOverlay::set_uint64s(int index, uint64_t value) { - _impl_.uint64s_.Set(index, value); - // @@protoc_insertion_point(field_set:CNETMsg_DebugOverlay.uint64s) -} -inline void CNETMsg_DebugOverlay::_internal_add_uint64s(uint64_t value) { - _impl_.uint64s_.Add(value); -} -inline void CNETMsg_DebugOverlay::add_uint64s(uint64_t value) { - _internal_add_uint64s(value); - // @@protoc_insertion_point(field_add:CNETMsg_DebugOverlay.uint64s) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CNETMsg_DebugOverlay::_internal_uint64s() const { - return _impl_.uint64s_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CNETMsg_DebugOverlay::uint64s() const { - // @@protoc_insertion_point(field_list:CNETMsg_DebugOverlay.uint64s) - return _internal_uint64s(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CNETMsg_DebugOverlay::_internal_mutable_uint64s() { - return &_impl_.uint64s_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CNETMsg_DebugOverlay::mutable_uint64s() { - // @@protoc_insertion_point(field_mutable_list:CNETMsg_DebugOverlay.uint64s) - return _internal_mutable_uint64s(); -} - -// repeated string strings = 8; -inline int CNETMsg_DebugOverlay::_internal_strings_size() const { - return _impl_.strings_.size(); -} -inline int CNETMsg_DebugOverlay::strings_size() const { - return _internal_strings_size(); -} -inline void CNETMsg_DebugOverlay::clear_strings() { - _impl_.strings_.Clear(); -} -inline std::string* CNETMsg_DebugOverlay::add_strings() { - std::string* _s = _internal_add_strings(); - // @@protoc_insertion_point(field_add_mutable:CNETMsg_DebugOverlay.strings) - return _s; -} -inline const std::string& CNETMsg_DebugOverlay::_internal_strings(int index) const { - return _impl_.strings_.Get(index); -} -inline const std::string& CNETMsg_DebugOverlay::strings(int index) const { - // @@protoc_insertion_point(field_get:CNETMsg_DebugOverlay.strings) - return _internal_strings(index); -} -inline std::string* CNETMsg_DebugOverlay::mutable_strings(int index) { - // @@protoc_insertion_point(field_mutable:CNETMsg_DebugOverlay.strings) - return _impl_.strings_.Mutable(index); -} -inline void CNETMsg_DebugOverlay::set_strings(int index, const std::string& value) { - _impl_.strings_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CNETMsg_DebugOverlay.strings) -} -inline void CNETMsg_DebugOverlay::set_strings(int index, std::string&& value) { - _impl_.strings_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CNETMsg_DebugOverlay.strings) -} -inline void CNETMsg_DebugOverlay::set_strings(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.strings_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CNETMsg_DebugOverlay.strings) -} -inline void CNETMsg_DebugOverlay::set_strings(int index, const char* value, size_t size) { - _impl_.strings_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CNETMsg_DebugOverlay.strings) -} -inline std::string* CNETMsg_DebugOverlay::_internal_add_strings() { - return _impl_.strings_.Add(); -} -inline void CNETMsg_DebugOverlay::add_strings(const std::string& value) { - _impl_.strings_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CNETMsg_DebugOverlay.strings) -} -inline void CNETMsg_DebugOverlay::add_strings(std::string&& value) { - _impl_.strings_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CNETMsg_DebugOverlay.strings) -} -inline void CNETMsg_DebugOverlay::add_strings(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.strings_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CNETMsg_DebugOverlay.strings) -} -inline void CNETMsg_DebugOverlay::add_strings(const char* value, size_t size) { - _impl_.strings_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CNETMsg_DebugOverlay.strings) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CNETMsg_DebugOverlay::strings() const { - // @@protoc_insertion_point(field_list:CNETMsg_DebugOverlay.strings) - return _impl_.strings_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CNETMsg_DebugOverlay::mutable_strings() { - // @@protoc_insertion_point(field_mutable_list:CNETMsg_DebugOverlay.strings) - return &_impl_.strings_; -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::SignonState_t> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::SignonState_t>() { - return ::SignonState_t_descriptor(); -} -template <> struct is_proto_enum< ::NET_Messages> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::NET_Messages>() { - return ::NET_Messages_descriptor(); -} -template <> struct is_proto_enum< ::SpawnGroupFlags_t> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::SpawnGroupFlags_t>() { - return ::SpawnGroupFlags_t_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_networkbasetypes_2eproto diff --git a/protobuf/generated/networksystem_protomessages.pb.cc b/protobuf/generated/networksystem_protomessages.pb.cc deleted file mode 100644 index 377e5b7f3..000000000 --- a/protobuf/generated/networksystem_protomessages.pb.cc +++ /dev/null @@ -1,986 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: networksystem_protomessages.proto - -#include "networksystem_protomessages.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR NetMessageSplitscreenUserChanged::NetMessageSplitscreenUserChanged( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.slot_)*/0u} {} -struct NetMessageSplitscreenUserChangedDefaultTypeInternal { - PROTOBUF_CONSTEXPR NetMessageSplitscreenUserChangedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~NetMessageSplitscreenUserChangedDefaultTypeInternal() {} - union { - NetMessageSplitscreenUserChanged _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NetMessageSplitscreenUserChangedDefaultTypeInternal _NetMessageSplitscreenUserChanged_default_instance_; -PROTOBUF_CONSTEXPR NetMessageConnectionClosed::NetMessageConnectionClosed( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.reason_)*/0u} {} -struct NetMessageConnectionClosedDefaultTypeInternal { - PROTOBUF_CONSTEXPR NetMessageConnectionClosedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~NetMessageConnectionClosedDefaultTypeInternal() {} - union { - NetMessageConnectionClosed _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NetMessageConnectionClosedDefaultTypeInternal _NetMessageConnectionClosed_default_instance_; -PROTOBUF_CONSTEXPR NetMessageConnectionCrashed::NetMessageConnectionCrashed( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.reason_)*/0u} {} -struct NetMessageConnectionCrashedDefaultTypeInternal { - PROTOBUF_CONSTEXPR NetMessageConnectionCrashedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~NetMessageConnectionCrashedDefaultTypeInternal() {} - union { - NetMessageConnectionCrashed _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NetMessageConnectionCrashedDefaultTypeInternal _NetMessageConnectionCrashed_default_instance_; -PROTOBUF_CONSTEXPR NetMessagePacketStart::NetMessagePacketStart( - ::_pbi::ConstantInitialized) {} -struct NetMessagePacketStartDefaultTypeInternal { - PROTOBUF_CONSTEXPR NetMessagePacketStartDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~NetMessagePacketStartDefaultTypeInternal() {} - union { - NetMessagePacketStart _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NetMessagePacketStartDefaultTypeInternal _NetMessagePacketStart_default_instance_; -PROTOBUF_CONSTEXPR NetMessagePacketEnd::NetMessagePacketEnd( - ::_pbi::ConstantInitialized) {} -struct NetMessagePacketEndDefaultTypeInternal { - PROTOBUF_CONSTEXPR NetMessagePacketEndDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~NetMessagePacketEndDefaultTypeInternal() {} - union { - NetMessagePacketEnd _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NetMessagePacketEndDefaultTypeInternal _NetMessagePacketEnd_default_instance_; -static ::_pb::Metadata file_level_metadata_networksystem_5fprotomessages_2eproto[5]; -static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_networksystem_5fprotomessages_2eproto = nullptr; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_networksystem_5fprotomessages_2eproto = nullptr; - -const uint32_t TableStruct_networksystem_5fprotomessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::NetMessageSplitscreenUserChanged, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::NetMessageSplitscreenUserChanged, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::NetMessageSplitscreenUserChanged, _impl_.slot_), - 0, - PROTOBUF_FIELD_OFFSET(::NetMessageConnectionClosed, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::NetMessageConnectionClosed, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::NetMessageConnectionClosed, _impl_.reason_), - PROTOBUF_FIELD_OFFSET(::NetMessageConnectionClosed, _impl_.message_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::NetMessageConnectionCrashed, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::NetMessageConnectionCrashed, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::NetMessageConnectionCrashed, _impl_.reason_), - PROTOBUF_FIELD_OFFSET(::NetMessageConnectionCrashed, _impl_.message_), - 1, - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::NetMessagePacketStart, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::NetMessagePacketEnd, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 7, -1, sizeof(::NetMessageSplitscreenUserChanged)}, - { 8, 16, -1, sizeof(::NetMessageConnectionClosed)}, - { 18, 26, -1, sizeof(::NetMessageConnectionCrashed)}, - { 28, -1, -1, sizeof(::NetMessagePacketStart)}, - { 34, -1, -1, sizeof(::NetMessagePacketEnd)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_NetMessageSplitscreenUserChanged_default_instance_._instance, - &::_NetMessageConnectionClosed_default_instance_._instance, - &::_NetMessageConnectionCrashed_default_instance_._instance, - &::_NetMessagePacketStart_default_instance_._instance, - &::_NetMessagePacketEnd_default_instance_._instance, -}; - -const char descriptor_table_protodef_networksystem_5fprotomessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n!networksystem_protomessages.proto\"0\n N" - "etMessageSplitscreenUserChanged\022\014\n\004slot\030" - "\001 \001(\r\"=\n\032NetMessageConnectionClosed\022\016\n\006r" - "eason\030\001 \001(\r\022\017\n\007message\030\002 \001(\t\">\n\033NetMessa" - "geConnectionCrashed\022\016\n\006reason\030\001 \001(\r\022\017\n\007m" - "essage\030\002 \001(\t\"\027\n\025NetMessagePacketStart\"\025\n" - "\023NetMessagePacketEnd" - ; -static ::_pbi::once_flag descriptor_table_networksystem_5fprotomessages_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_networksystem_5fprotomessages_2eproto = { - false, false, 260, descriptor_table_protodef_networksystem_5fprotomessages_2eproto, - "networksystem_protomessages.proto", - &descriptor_table_networksystem_5fprotomessages_2eproto_once, nullptr, 0, 5, - schemas, file_default_instances, TableStruct_networksystem_5fprotomessages_2eproto::offsets, - file_level_metadata_networksystem_5fprotomessages_2eproto, file_level_enum_descriptors_networksystem_5fprotomessages_2eproto, - file_level_service_descriptors_networksystem_5fprotomessages_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_networksystem_5fprotomessages_2eproto_getter() { - return &descriptor_table_networksystem_5fprotomessages_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_networksystem_5fprotomessages_2eproto(&descriptor_table_networksystem_5fprotomessages_2eproto); - -// =================================================================== - -class NetMessageSplitscreenUserChanged::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_slot(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -NetMessageSplitscreenUserChanged::NetMessageSplitscreenUserChanged(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:NetMessageSplitscreenUserChanged) -} -NetMessageSplitscreenUserChanged::NetMessageSplitscreenUserChanged(const NetMessageSplitscreenUserChanged& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - NetMessageSplitscreenUserChanged* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.slot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.slot_ = from._impl_.slot_; - // @@protoc_insertion_point(copy_constructor:NetMessageSplitscreenUserChanged) -} - -inline void NetMessageSplitscreenUserChanged::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.slot_){0u} - }; -} - -NetMessageSplitscreenUserChanged::~NetMessageSplitscreenUserChanged() { - // @@protoc_insertion_point(destructor:NetMessageSplitscreenUserChanged) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void NetMessageSplitscreenUserChanged::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void NetMessageSplitscreenUserChanged::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void NetMessageSplitscreenUserChanged::Clear() { -// @@protoc_insertion_point(message_clear_start:NetMessageSplitscreenUserChanged) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.slot_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* NetMessageSplitscreenUserChanged::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 slot = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_slot(&has_bits); - _impl_.slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* NetMessageSplitscreenUserChanged::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:NetMessageSplitscreenUserChanged) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 slot = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_slot(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:NetMessageSplitscreenUserChanged) - return target; -} - -size_t NetMessageSplitscreenUserChanged::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:NetMessageSplitscreenUserChanged) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 slot = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_slot()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NetMessageSplitscreenUserChanged::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - NetMessageSplitscreenUserChanged::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NetMessageSplitscreenUserChanged::GetClassData() const { return &_class_data_; } - - -void NetMessageSplitscreenUserChanged::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:NetMessageSplitscreenUserChanged) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_slot()) { - _this->_internal_set_slot(from._internal_slot()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void NetMessageSplitscreenUserChanged::CopyFrom(const NetMessageSplitscreenUserChanged& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:NetMessageSplitscreenUserChanged) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NetMessageSplitscreenUserChanged::IsInitialized() const { - return true; -} - -void NetMessageSplitscreenUserChanged::InternalSwap(NetMessageSplitscreenUserChanged* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.slot_, other->_impl_.slot_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata NetMessageSplitscreenUserChanged::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networksystem_5fprotomessages_2eproto_getter, &descriptor_table_networksystem_5fprotomessages_2eproto_once, - file_level_metadata_networksystem_5fprotomessages_2eproto[0]); -} - -// =================================================================== - -class NetMessageConnectionClosed::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_reason(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_message(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -NetMessageConnectionClosed::NetMessageConnectionClosed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:NetMessageConnectionClosed) -} -NetMessageConnectionClosed::NetMessageConnectionClosed(const NetMessageConnectionClosed& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - NetMessageConnectionClosed* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.message_){} - , decltype(_impl_.reason_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_message()) { - _this->_impl_.message_.Set(from._internal_message(), - _this->GetArenaForAllocation()); - } - _this->_impl_.reason_ = from._impl_.reason_; - // @@protoc_insertion_point(copy_constructor:NetMessageConnectionClosed) -} - -inline void NetMessageConnectionClosed::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.message_){} - , decltype(_impl_.reason_){0u} - }; - _impl_.message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -NetMessageConnectionClosed::~NetMessageConnectionClosed() { - // @@protoc_insertion_point(destructor:NetMessageConnectionClosed) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void NetMessageConnectionClosed::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.message_.Destroy(); -} - -void NetMessageConnectionClosed::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void NetMessageConnectionClosed::Clear() { -// @@protoc_insertion_point(message_clear_start:NetMessageConnectionClosed) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.message_.ClearNonDefaultToEmpty(); - } - _impl_.reason_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* NetMessageConnectionClosed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 reason = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_reason(&has_bits); - _impl_.reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string message = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_message(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "NetMessageConnectionClosed.message"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* NetMessageConnectionClosed::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:NetMessageConnectionClosed) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 reason = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_reason(), target); - } - - // optional string message = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_message().data(), static_cast(this->_internal_message().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "NetMessageConnectionClosed.message"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_message(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:NetMessageConnectionClosed) - return target; -} - -size_t NetMessageConnectionClosed::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:NetMessageConnectionClosed) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string message = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_message()); - } - - // optional uint32 reason = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reason()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NetMessageConnectionClosed::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - NetMessageConnectionClosed::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NetMessageConnectionClosed::GetClassData() const { return &_class_data_; } - - -void NetMessageConnectionClosed::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:NetMessageConnectionClosed) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_message(from._internal_message()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.reason_ = from._impl_.reason_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void NetMessageConnectionClosed::CopyFrom(const NetMessageConnectionClosed& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:NetMessageConnectionClosed) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NetMessageConnectionClosed::IsInitialized() const { - return true; -} - -void NetMessageConnectionClosed::InternalSwap(NetMessageConnectionClosed* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.message_, lhs_arena, - &other->_impl_.message_, rhs_arena - ); - swap(_impl_.reason_, other->_impl_.reason_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata NetMessageConnectionClosed::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networksystem_5fprotomessages_2eproto_getter, &descriptor_table_networksystem_5fprotomessages_2eproto_once, - file_level_metadata_networksystem_5fprotomessages_2eproto[1]); -} - -// =================================================================== - -class NetMessageConnectionCrashed::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_reason(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_message(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -NetMessageConnectionCrashed::NetMessageConnectionCrashed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:NetMessageConnectionCrashed) -} -NetMessageConnectionCrashed::NetMessageConnectionCrashed(const NetMessageConnectionCrashed& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - NetMessageConnectionCrashed* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.message_){} - , decltype(_impl_.reason_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_message()) { - _this->_impl_.message_.Set(from._internal_message(), - _this->GetArenaForAllocation()); - } - _this->_impl_.reason_ = from._impl_.reason_; - // @@protoc_insertion_point(copy_constructor:NetMessageConnectionCrashed) -} - -inline void NetMessageConnectionCrashed::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.message_){} - , decltype(_impl_.reason_){0u} - }; - _impl_.message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -NetMessageConnectionCrashed::~NetMessageConnectionCrashed() { - // @@protoc_insertion_point(destructor:NetMessageConnectionCrashed) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void NetMessageConnectionCrashed::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.message_.Destroy(); -} - -void NetMessageConnectionCrashed::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void NetMessageConnectionCrashed::Clear() { -// @@protoc_insertion_point(message_clear_start:NetMessageConnectionCrashed) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.message_.ClearNonDefaultToEmpty(); - } - _impl_.reason_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* NetMessageConnectionCrashed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 reason = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_reason(&has_bits); - _impl_.reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string message = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_message(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "NetMessageConnectionCrashed.message"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* NetMessageConnectionCrashed::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:NetMessageConnectionCrashed) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 reason = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_reason(), target); - } - - // optional string message = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_message().data(), static_cast(this->_internal_message().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "NetMessageConnectionCrashed.message"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_message(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:NetMessageConnectionCrashed) - return target; -} - -size_t NetMessageConnectionCrashed::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:NetMessageConnectionCrashed) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string message = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_message()); - } - - // optional uint32 reason = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reason()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NetMessageConnectionCrashed::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - NetMessageConnectionCrashed::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NetMessageConnectionCrashed::GetClassData() const { return &_class_data_; } - - -void NetMessageConnectionCrashed::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:NetMessageConnectionCrashed) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_message(from._internal_message()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.reason_ = from._impl_.reason_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void NetMessageConnectionCrashed::CopyFrom(const NetMessageConnectionCrashed& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:NetMessageConnectionCrashed) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool NetMessageConnectionCrashed::IsInitialized() const { - return true; -} - -void NetMessageConnectionCrashed::InternalSwap(NetMessageConnectionCrashed* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.message_, lhs_arena, - &other->_impl_.message_, rhs_arena - ); - swap(_impl_.reason_, other->_impl_.reason_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata NetMessageConnectionCrashed::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networksystem_5fprotomessages_2eproto_getter, &descriptor_table_networksystem_5fprotomessages_2eproto_once, - file_level_metadata_networksystem_5fprotomessages_2eproto[2]); -} - -// =================================================================== - -class NetMessagePacketStart::_Internal { - public: -}; - -NetMessagePacketStart::NetMessagePacketStart(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:NetMessagePacketStart) -} -NetMessagePacketStart::NetMessagePacketStart(const NetMessagePacketStart& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - NetMessagePacketStart* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:NetMessagePacketStart) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NetMessagePacketStart::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NetMessagePacketStart::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata NetMessagePacketStart::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networksystem_5fprotomessages_2eproto_getter, &descriptor_table_networksystem_5fprotomessages_2eproto_once, - file_level_metadata_networksystem_5fprotomessages_2eproto[3]); -} - -// =================================================================== - -class NetMessagePacketEnd::_Internal { - public: -}; - -NetMessagePacketEnd::NetMessagePacketEnd(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:NetMessagePacketEnd) -} -NetMessagePacketEnd::NetMessagePacketEnd(const NetMessagePacketEnd& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - NetMessagePacketEnd* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:NetMessagePacketEnd) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NetMessagePacketEnd::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NetMessagePacketEnd::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata NetMessagePacketEnd::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_networksystem_5fprotomessages_2eproto_getter, &descriptor_table_networksystem_5fprotomessages_2eproto_once, - file_level_metadata_networksystem_5fprotomessages_2eproto[4]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::NetMessageSplitscreenUserChanged* -Arena::CreateMaybeMessage< ::NetMessageSplitscreenUserChanged >(Arena* arena) { - return Arena::CreateMessageInternal< ::NetMessageSplitscreenUserChanged >(arena); -} -template<> PROTOBUF_NOINLINE ::NetMessageConnectionClosed* -Arena::CreateMaybeMessage< ::NetMessageConnectionClosed >(Arena* arena) { - return Arena::CreateMessageInternal< ::NetMessageConnectionClosed >(arena); -} -template<> PROTOBUF_NOINLINE ::NetMessageConnectionCrashed* -Arena::CreateMaybeMessage< ::NetMessageConnectionCrashed >(Arena* arena) { - return Arena::CreateMessageInternal< ::NetMessageConnectionCrashed >(arena); -} -template<> PROTOBUF_NOINLINE ::NetMessagePacketStart* -Arena::CreateMaybeMessage< ::NetMessagePacketStart >(Arena* arena) { - return Arena::CreateMessageInternal< ::NetMessagePacketStart >(arena); -} -template<> PROTOBUF_NOINLINE ::NetMessagePacketEnd* -Arena::CreateMaybeMessage< ::NetMessagePacketEnd >(Arena* arena) { - return Arena::CreateMessageInternal< ::NetMessagePacketEnd >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/networksystem_protomessages.pb.h b/protobuf/generated/networksystem_protomessages.pb.h deleted file mode 100644 index 59697d5f8..000000000 --- a/protobuf/generated/networksystem_protomessages.pb.h +++ /dev/null @@ -1,1106 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: networksystem_protomessages.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_networksystem_5fprotomessages_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_networksystem_5fprotomessages_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_networksystem_5fprotomessages_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_networksystem_5fprotomessages_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_networksystem_5fprotomessages_2eproto; -class NetMessageConnectionClosed; -struct NetMessageConnectionClosedDefaultTypeInternal; -extern NetMessageConnectionClosedDefaultTypeInternal _NetMessageConnectionClosed_default_instance_; -class NetMessageConnectionCrashed; -struct NetMessageConnectionCrashedDefaultTypeInternal; -extern NetMessageConnectionCrashedDefaultTypeInternal _NetMessageConnectionCrashed_default_instance_; -class NetMessagePacketEnd; -struct NetMessagePacketEndDefaultTypeInternal; -extern NetMessagePacketEndDefaultTypeInternal _NetMessagePacketEnd_default_instance_; -class NetMessagePacketStart; -struct NetMessagePacketStartDefaultTypeInternal; -extern NetMessagePacketStartDefaultTypeInternal _NetMessagePacketStart_default_instance_; -class NetMessageSplitscreenUserChanged; -struct NetMessageSplitscreenUserChangedDefaultTypeInternal; -extern NetMessageSplitscreenUserChangedDefaultTypeInternal _NetMessageSplitscreenUserChanged_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::NetMessageConnectionClosed* Arena::CreateMaybeMessage<::NetMessageConnectionClosed>(Arena*); -template<> ::NetMessageConnectionCrashed* Arena::CreateMaybeMessage<::NetMessageConnectionCrashed>(Arena*); -template<> ::NetMessagePacketEnd* Arena::CreateMaybeMessage<::NetMessagePacketEnd>(Arena*); -template<> ::NetMessagePacketStart* Arena::CreateMaybeMessage<::NetMessagePacketStart>(Arena*); -template<> ::NetMessageSplitscreenUserChanged* Arena::CreateMaybeMessage<::NetMessageSplitscreenUserChanged>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -// =================================================================== - -class NetMessageSplitscreenUserChanged : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NetMessageSplitscreenUserChanged) */ { - public: - inline NetMessageSplitscreenUserChanged() : NetMessageSplitscreenUserChanged(nullptr) {} - ~NetMessageSplitscreenUserChanged() override; - explicit PROTOBUF_CONSTEXPR NetMessageSplitscreenUserChanged(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - NetMessageSplitscreenUserChanged(const NetMessageSplitscreenUserChanged& from); - NetMessageSplitscreenUserChanged(NetMessageSplitscreenUserChanged&& from) noexcept - : NetMessageSplitscreenUserChanged() { - *this = ::std::move(from); - } - - inline NetMessageSplitscreenUserChanged& operator=(const NetMessageSplitscreenUserChanged& from) { - CopyFrom(from); - return *this; - } - inline NetMessageSplitscreenUserChanged& operator=(NetMessageSplitscreenUserChanged&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const NetMessageSplitscreenUserChanged& default_instance() { - return *internal_default_instance(); - } - static inline const NetMessageSplitscreenUserChanged* internal_default_instance() { - return reinterpret_cast( - &_NetMessageSplitscreenUserChanged_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(NetMessageSplitscreenUserChanged& a, NetMessageSplitscreenUserChanged& b) { - a.Swap(&b); - } - inline void Swap(NetMessageSplitscreenUserChanged* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(NetMessageSplitscreenUserChanged* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - NetMessageSplitscreenUserChanged* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NetMessageSplitscreenUserChanged& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const NetMessageSplitscreenUserChanged& from) { - NetMessageSplitscreenUserChanged::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(NetMessageSplitscreenUserChanged* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "NetMessageSplitscreenUserChanged"; - } - protected: - explicit NetMessageSplitscreenUserChanged(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSlotFieldNumber = 1, - }; - // optional uint32 slot = 1; - bool has_slot() const; - private: - bool _internal_has_slot() const; - public: - void clear_slot(); - uint32_t slot() const; - void set_slot(uint32_t value); - private: - uint32_t _internal_slot() const; - void _internal_set_slot(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:NetMessageSplitscreenUserChanged) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t slot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networksystem_5fprotomessages_2eproto; -}; -// ------------------------------------------------------------------- - -class NetMessageConnectionClosed : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NetMessageConnectionClosed) */ { - public: - inline NetMessageConnectionClosed() : NetMessageConnectionClosed(nullptr) {} - ~NetMessageConnectionClosed() override; - explicit PROTOBUF_CONSTEXPR NetMessageConnectionClosed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - NetMessageConnectionClosed(const NetMessageConnectionClosed& from); - NetMessageConnectionClosed(NetMessageConnectionClosed&& from) noexcept - : NetMessageConnectionClosed() { - *this = ::std::move(from); - } - - inline NetMessageConnectionClosed& operator=(const NetMessageConnectionClosed& from) { - CopyFrom(from); - return *this; - } - inline NetMessageConnectionClosed& operator=(NetMessageConnectionClosed&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const NetMessageConnectionClosed& default_instance() { - return *internal_default_instance(); - } - static inline const NetMessageConnectionClosed* internal_default_instance() { - return reinterpret_cast( - &_NetMessageConnectionClosed_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(NetMessageConnectionClosed& a, NetMessageConnectionClosed& b) { - a.Swap(&b); - } - inline void Swap(NetMessageConnectionClosed* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(NetMessageConnectionClosed* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - NetMessageConnectionClosed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NetMessageConnectionClosed& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const NetMessageConnectionClosed& from) { - NetMessageConnectionClosed::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(NetMessageConnectionClosed* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "NetMessageConnectionClosed"; - } - protected: - explicit NetMessageConnectionClosed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMessageFieldNumber = 2, - kReasonFieldNumber = 1, - }; - // optional string message = 2; - bool has_message() const; - private: - bool _internal_has_message() const; - public: - void clear_message(); - const std::string& message() const; - template - void set_message(ArgT0&& arg0, ArgT... args); - std::string* mutable_message(); - PROTOBUF_NODISCARD std::string* release_message(); - void set_allocated_message(std::string* message); - private: - const std::string& _internal_message() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value); - std::string* _internal_mutable_message(); - public: - - // optional uint32 reason = 1; - bool has_reason() const; - private: - bool _internal_has_reason() const; - public: - void clear_reason(); - uint32_t reason() const; - void set_reason(uint32_t value); - private: - uint32_t _internal_reason() const; - void _internal_set_reason(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:NetMessageConnectionClosed) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; - uint32_t reason_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networksystem_5fprotomessages_2eproto; -}; -// ------------------------------------------------------------------- - -class NetMessageConnectionCrashed : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NetMessageConnectionCrashed) */ { - public: - inline NetMessageConnectionCrashed() : NetMessageConnectionCrashed(nullptr) {} - ~NetMessageConnectionCrashed() override; - explicit PROTOBUF_CONSTEXPR NetMessageConnectionCrashed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - NetMessageConnectionCrashed(const NetMessageConnectionCrashed& from); - NetMessageConnectionCrashed(NetMessageConnectionCrashed&& from) noexcept - : NetMessageConnectionCrashed() { - *this = ::std::move(from); - } - - inline NetMessageConnectionCrashed& operator=(const NetMessageConnectionCrashed& from) { - CopyFrom(from); - return *this; - } - inline NetMessageConnectionCrashed& operator=(NetMessageConnectionCrashed&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const NetMessageConnectionCrashed& default_instance() { - return *internal_default_instance(); - } - static inline const NetMessageConnectionCrashed* internal_default_instance() { - return reinterpret_cast( - &_NetMessageConnectionCrashed_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(NetMessageConnectionCrashed& a, NetMessageConnectionCrashed& b) { - a.Swap(&b); - } - inline void Swap(NetMessageConnectionCrashed* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(NetMessageConnectionCrashed* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - NetMessageConnectionCrashed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const NetMessageConnectionCrashed& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const NetMessageConnectionCrashed& from) { - NetMessageConnectionCrashed::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(NetMessageConnectionCrashed* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "NetMessageConnectionCrashed"; - } - protected: - explicit NetMessageConnectionCrashed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMessageFieldNumber = 2, - kReasonFieldNumber = 1, - }; - // optional string message = 2; - bool has_message() const; - private: - bool _internal_has_message() const; - public: - void clear_message(); - const std::string& message() const; - template - void set_message(ArgT0&& arg0, ArgT... args); - std::string* mutable_message(); - PROTOBUF_NODISCARD std::string* release_message(); - void set_allocated_message(std::string* message); - private: - const std::string& _internal_message() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value); - std::string* _internal_mutable_message(); - public: - - // optional uint32 reason = 1; - bool has_reason() const; - private: - bool _internal_has_reason() const; - public: - void clear_reason(); - uint32_t reason() const; - void set_reason(uint32_t value); - private: - uint32_t _internal_reason() const; - void _internal_set_reason(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:NetMessageConnectionCrashed) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; - uint32_t reason_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_networksystem_5fprotomessages_2eproto; -}; -// ------------------------------------------------------------------- - -class NetMessagePacketStart : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:NetMessagePacketStart) */ { - public: - inline NetMessagePacketStart() : NetMessagePacketStart(nullptr) {} - explicit PROTOBUF_CONSTEXPR NetMessagePacketStart(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - NetMessagePacketStart(const NetMessagePacketStart& from); - NetMessagePacketStart(NetMessagePacketStart&& from) noexcept - : NetMessagePacketStart() { - *this = ::std::move(from); - } - - inline NetMessagePacketStart& operator=(const NetMessagePacketStart& from) { - CopyFrom(from); - return *this; - } - inline NetMessagePacketStart& operator=(NetMessagePacketStart&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const NetMessagePacketStart& default_instance() { - return *internal_default_instance(); - } - static inline const NetMessagePacketStart* internal_default_instance() { - return reinterpret_cast( - &_NetMessagePacketStart_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(NetMessagePacketStart& a, NetMessagePacketStart& b) { - a.Swap(&b); - } - inline void Swap(NetMessagePacketStart* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(NetMessagePacketStart* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - NetMessagePacketStart* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const NetMessagePacketStart& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const NetMessagePacketStart& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "NetMessagePacketStart"; - } - protected: - explicit NetMessagePacketStart(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:NetMessagePacketStart) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_networksystem_5fprotomessages_2eproto; -}; -// ------------------------------------------------------------------- - -class NetMessagePacketEnd : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:NetMessagePacketEnd) */ { - public: - inline NetMessagePacketEnd() : NetMessagePacketEnd(nullptr) {} - explicit PROTOBUF_CONSTEXPR NetMessagePacketEnd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - NetMessagePacketEnd(const NetMessagePacketEnd& from); - NetMessagePacketEnd(NetMessagePacketEnd&& from) noexcept - : NetMessagePacketEnd() { - *this = ::std::move(from); - } - - inline NetMessagePacketEnd& operator=(const NetMessagePacketEnd& from) { - CopyFrom(from); - return *this; - } - inline NetMessagePacketEnd& operator=(NetMessagePacketEnd&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const NetMessagePacketEnd& default_instance() { - return *internal_default_instance(); - } - static inline const NetMessagePacketEnd* internal_default_instance() { - return reinterpret_cast( - &_NetMessagePacketEnd_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(NetMessagePacketEnd& a, NetMessagePacketEnd& b) { - a.Swap(&b); - } - inline void Swap(NetMessagePacketEnd* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(NetMessagePacketEnd* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - NetMessagePacketEnd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const NetMessagePacketEnd& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const NetMessagePacketEnd& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "NetMessagePacketEnd"; - } - protected: - explicit NetMessagePacketEnd(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:NetMessagePacketEnd) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_networksystem_5fprotomessages_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// NetMessageSplitscreenUserChanged - -// optional uint32 slot = 1; -inline bool NetMessageSplitscreenUserChanged::_internal_has_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool NetMessageSplitscreenUserChanged::has_slot() const { - return _internal_has_slot(); -} -inline void NetMessageSplitscreenUserChanged::clear_slot() { - _impl_.slot_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t NetMessageSplitscreenUserChanged::_internal_slot() const { - return _impl_.slot_; -} -inline uint32_t NetMessageSplitscreenUserChanged::slot() const { - // @@protoc_insertion_point(field_get:NetMessageSplitscreenUserChanged.slot) - return _internal_slot(); -} -inline void NetMessageSplitscreenUserChanged::_internal_set_slot(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.slot_ = value; -} -inline void NetMessageSplitscreenUserChanged::set_slot(uint32_t value) { - _internal_set_slot(value); - // @@protoc_insertion_point(field_set:NetMessageSplitscreenUserChanged.slot) -} - -// ------------------------------------------------------------------- - -// NetMessageConnectionClosed - -// optional uint32 reason = 1; -inline bool NetMessageConnectionClosed::_internal_has_reason() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool NetMessageConnectionClosed::has_reason() const { - return _internal_has_reason(); -} -inline void NetMessageConnectionClosed::clear_reason() { - _impl_.reason_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t NetMessageConnectionClosed::_internal_reason() const { - return _impl_.reason_; -} -inline uint32_t NetMessageConnectionClosed::reason() const { - // @@protoc_insertion_point(field_get:NetMessageConnectionClosed.reason) - return _internal_reason(); -} -inline void NetMessageConnectionClosed::_internal_set_reason(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.reason_ = value; -} -inline void NetMessageConnectionClosed::set_reason(uint32_t value) { - _internal_set_reason(value); - // @@protoc_insertion_point(field_set:NetMessageConnectionClosed.reason) -} - -// optional string message = 2; -inline bool NetMessageConnectionClosed::_internal_has_message() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool NetMessageConnectionClosed::has_message() const { - return _internal_has_message(); -} -inline void NetMessageConnectionClosed::clear_message() { - _impl_.message_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& NetMessageConnectionClosed::message() const { - // @@protoc_insertion_point(field_get:NetMessageConnectionClosed.message) - return _internal_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void NetMessageConnectionClosed::set_message(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:NetMessageConnectionClosed.message) -} -inline std::string* NetMessageConnectionClosed::mutable_message() { - std::string* _s = _internal_mutable_message(); - // @@protoc_insertion_point(field_mutable:NetMessageConnectionClosed.message) - return _s; -} -inline const std::string& NetMessageConnectionClosed::_internal_message() const { - return _impl_.message_.Get(); -} -inline void NetMessageConnectionClosed::_internal_set_message(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.message_.Set(value, GetArenaForAllocation()); -} -inline std::string* NetMessageConnectionClosed::_internal_mutable_message() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.message_.Mutable(GetArenaForAllocation()); -} -inline std::string* NetMessageConnectionClosed::release_message() { - // @@protoc_insertion_point(field_release:NetMessageConnectionClosed.message) - if (!_internal_has_message()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.message_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void NetMessageConnectionClosed::set_allocated_message(std::string* message) { - if (message != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.message_.SetAllocated(message, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:NetMessageConnectionClosed.message) -} - -// ------------------------------------------------------------------- - -// NetMessageConnectionCrashed - -// optional uint32 reason = 1; -inline bool NetMessageConnectionCrashed::_internal_has_reason() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool NetMessageConnectionCrashed::has_reason() const { - return _internal_has_reason(); -} -inline void NetMessageConnectionCrashed::clear_reason() { - _impl_.reason_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t NetMessageConnectionCrashed::_internal_reason() const { - return _impl_.reason_; -} -inline uint32_t NetMessageConnectionCrashed::reason() const { - // @@protoc_insertion_point(field_get:NetMessageConnectionCrashed.reason) - return _internal_reason(); -} -inline void NetMessageConnectionCrashed::_internal_set_reason(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.reason_ = value; -} -inline void NetMessageConnectionCrashed::set_reason(uint32_t value) { - _internal_set_reason(value); - // @@protoc_insertion_point(field_set:NetMessageConnectionCrashed.reason) -} - -// optional string message = 2; -inline bool NetMessageConnectionCrashed::_internal_has_message() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool NetMessageConnectionCrashed::has_message() const { - return _internal_has_message(); -} -inline void NetMessageConnectionCrashed::clear_message() { - _impl_.message_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& NetMessageConnectionCrashed::message() const { - // @@protoc_insertion_point(field_get:NetMessageConnectionCrashed.message) - return _internal_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void NetMessageConnectionCrashed::set_message(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:NetMessageConnectionCrashed.message) -} -inline std::string* NetMessageConnectionCrashed::mutable_message() { - std::string* _s = _internal_mutable_message(); - // @@protoc_insertion_point(field_mutable:NetMessageConnectionCrashed.message) - return _s; -} -inline const std::string& NetMessageConnectionCrashed::_internal_message() const { - return _impl_.message_.Get(); -} -inline void NetMessageConnectionCrashed::_internal_set_message(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.message_.Set(value, GetArenaForAllocation()); -} -inline std::string* NetMessageConnectionCrashed::_internal_mutable_message() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.message_.Mutable(GetArenaForAllocation()); -} -inline std::string* NetMessageConnectionCrashed::release_message() { - // @@protoc_insertion_point(field_release:NetMessageConnectionCrashed.message) - if (!_internal_has_message()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.message_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void NetMessageConnectionCrashed::set_allocated_message(std::string* message) { - if (message != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.message_.SetAllocated(message, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:NetMessageConnectionCrashed.message) -} - -// ------------------------------------------------------------------- - -// NetMessagePacketStart - -// ------------------------------------------------------------------- - -// NetMessagePacketEnd - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_networksystem_5fprotomessages_2eproto diff --git a/protobuf/generated/prediction_events.pb.cc b/protobuf/generated/prediction_events.pb.cc deleted file mode 100644 index d32f7b9d3..000000000 --- a/protobuf/generated/prediction_events.pb.cc +++ /dev/null @@ -1,1009 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: prediction_events.proto - -#include "prediction_events.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CPredictionEvent_Teleport::CPredictionEvent_Teleport( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.angles_)*/nullptr - , /*decltype(_impl_.drop_to_ground_range_)*/0} {} -struct CPredictionEvent_TeleportDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPredictionEvent_TeleportDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPredictionEvent_TeleportDefaultTypeInternal() {} - union { - CPredictionEvent_Teleport _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPredictionEvent_TeleportDefaultTypeInternal _CPredictionEvent_Teleport_default_instance_; -PROTOBUF_CONSTEXPR CPredictionEvent_StringCommand::CPredictionEvent_StringCommand( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.command_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CPredictionEvent_StringCommandDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPredictionEvent_StringCommandDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPredictionEvent_StringCommandDefaultTypeInternal() {} - union { - CPredictionEvent_StringCommand _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPredictionEvent_StringCommandDefaultTypeInternal _CPredictionEvent_StringCommand_default_instance_; -PROTOBUF_CONSTEXPR CPredictionEvent_Diagnostic::CPredictionEvent_Diagnostic( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.execution_sync_)*/{} - , /*decltype(_impl_.id_)*/0u - , /*decltype(_impl_.requested_sync_)*/0u - , /*decltype(_impl_.requested_player_index_)*/0u} {} -struct CPredictionEvent_DiagnosticDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPredictionEvent_DiagnosticDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPredictionEvent_DiagnosticDefaultTypeInternal() {} - union { - CPredictionEvent_Diagnostic _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPredictionEvent_DiagnosticDefaultTypeInternal _CPredictionEvent_Diagnostic_default_instance_; -static ::_pb::Metadata file_level_metadata_prediction_5fevents_2eproto[3]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_prediction_5fevents_2eproto[1]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_prediction_5fevents_2eproto = nullptr; - -const uint32_t TableStruct_prediction_5fevents_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Teleport, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Teleport, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Teleport, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Teleport, _impl_.angles_), - PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Teleport, _impl_.drop_to_ground_range_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CPredictionEvent_StringCommand, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPredictionEvent_StringCommand, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPredictionEvent_StringCommand, _impl_.command_), - 0, - PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Diagnostic, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Diagnostic, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Diagnostic, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Diagnostic, _impl_.requested_sync_), - PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Diagnostic, _impl_.requested_player_index_), - PROTOBUF_FIELD_OFFSET(::CPredictionEvent_Diagnostic, _impl_.execution_sync_), - 0, - 1, - 2, - ~0u, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 9, -1, sizeof(::CPredictionEvent_Teleport)}, - { 12, 19, -1, sizeof(::CPredictionEvent_StringCommand)}, - { 20, 30, -1, sizeof(::CPredictionEvent_Diagnostic)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CPredictionEvent_Teleport_default_instance_._instance, - &::_CPredictionEvent_StringCommand_default_instance_._instance, - &::_CPredictionEvent_Diagnostic_default_instance_._instance, -}; - -const char descriptor_table_protodef_prediction_5fevents_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\027prediction_events.proto\032\026networkbasety" - "pes.proto\"s\n\031CPredictionEvent_Teleport\022\033" - "\n\006origin\030\001 \001(\0132\013.CMsgVector\022\033\n\006angles\030\002 " - "\001(\0132\013.CMsgQAngle\022\034\n\024drop_to_ground_range" - "\030\003 \001(\002\"1\n\036CPredictionEvent_StringCommand" - "\022\017\n\007command\030\001 \001(\t\"y\n\033CPredictionEvent_Di" - "agnostic\022\n\n\002id\030\001 \001(\r\022\026\n\016requested_sync\030\002" - " \001(\r\022\036\n\026requested_player_index\030\003 \001(\r\022\026\n\016" - "execution_sync\030\004 \003(\r*X\n\025EBasePredictionE" - "vents\022\026\n\021BPE_StringCommand\020\200\001\022\021\n\014BPE_Tel" - "eport\020\202\001\022\024\n\016BPE_Diagnostic\020\200\200\001" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_prediction_5fevents_2eproto_deps[1] = { - &::descriptor_table_networkbasetypes_2eproto, -}; -static ::_pbi::once_flag descriptor_table_prediction_5fevents_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_prediction_5fevents_2eproto = { - false, false, 430, descriptor_table_protodef_prediction_5fevents_2eproto, - "prediction_events.proto", - &descriptor_table_prediction_5fevents_2eproto_once, descriptor_table_prediction_5fevents_2eproto_deps, 1, 3, - schemas, file_default_instances, TableStruct_prediction_5fevents_2eproto::offsets, - file_level_metadata_prediction_5fevents_2eproto, file_level_enum_descriptors_prediction_5fevents_2eproto, - file_level_service_descriptors_prediction_5fevents_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_prediction_5fevents_2eproto_getter() { - return &descriptor_table_prediction_5fevents_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_prediction_5fevents_2eproto(&descriptor_table_prediction_5fevents_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBasePredictionEvents_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_prediction_5fevents_2eproto); - return file_level_enum_descriptors_prediction_5fevents_2eproto[0]; -} -bool EBasePredictionEvents_IsValid(int value) { - switch (value) { - case 128: - case 130: - case 16384: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CPredictionEvent_Teleport::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& origin(const CPredictionEvent_Teleport* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgQAngle& angles(const CPredictionEvent_Teleport* msg); - static void set_has_angles(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_drop_to_ground_range(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::CMsgVector& -CPredictionEvent_Teleport::_Internal::origin(const CPredictionEvent_Teleport* msg) { - return *msg->_impl_.origin_; -} -const ::CMsgQAngle& -CPredictionEvent_Teleport::_Internal::angles(const CPredictionEvent_Teleport* msg) { - return *msg->_impl_.angles_; -} -void CPredictionEvent_Teleport::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CPredictionEvent_Teleport::clear_angles() { - if (_impl_.angles_ != nullptr) _impl_.angles_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CPredictionEvent_Teleport::CPredictionEvent_Teleport(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPredictionEvent_Teleport) -} -CPredictionEvent_Teleport::CPredictionEvent_Teleport(const CPredictionEvent_Teleport& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPredictionEvent_Teleport* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.angles_){nullptr} - , decltype(_impl_.drop_to_ground_range_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - if (from._internal_has_angles()) { - _this->_impl_.angles_ = new ::CMsgQAngle(*from._impl_.angles_); - } - _this->_impl_.drop_to_ground_range_ = from._impl_.drop_to_ground_range_; - // @@protoc_insertion_point(copy_constructor:CPredictionEvent_Teleport) -} - -inline void CPredictionEvent_Teleport::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.angles_){nullptr} - , decltype(_impl_.drop_to_ground_range_){0} - }; -} - -CPredictionEvent_Teleport::~CPredictionEvent_Teleport() { - // @@protoc_insertion_point(destructor:CPredictionEvent_Teleport) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPredictionEvent_Teleport::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.origin_; - if (this != internal_default_instance()) delete _impl_.angles_; -} - -void CPredictionEvent_Teleport::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPredictionEvent_Teleport::Clear() { -// @@protoc_insertion_point(message_clear_start:CPredictionEvent_Teleport) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.angles_ != nullptr); - _impl_.angles_->Clear(); - } - } - _impl_.drop_to_ground_range_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPredictionEvent_Teleport::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector origin = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle angles = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_angles(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float drop_to_ground_range = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_drop_to_ground_range(&has_bits); - _impl_.drop_to_ground_range_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPredictionEvent_Teleport::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPredictionEvent_Teleport) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - // optional .CMsgQAngle angles = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::angles(this), - _Internal::angles(this).GetCachedSize(), target, stream); - } - - // optional float drop_to_ground_range = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_drop_to_ground_range(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPredictionEvent_Teleport) - return target; -} - -size_t CPredictionEvent_Teleport::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPredictionEvent_Teleport) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional .CMsgQAngle angles = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.angles_); - } - - // optional float drop_to_ground_range = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPredictionEvent_Teleport::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPredictionEvent_Teleport::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPredictionEvent_Teleport::GetClassData() const { return &_class_data_; } - - -void CPredictionEvent_Teleport::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPredictionEvent_Teleport) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_angles()->::CMsgQAngle::MergeFrom( - from._internal_angles()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.drop_to_ground_range_ = from._impl_.drop_to_ground_range_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPredictionEvent_Teleport::CopyFrom(const CPredictionEvent_Teleport& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPredictionEvent_Teleport) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPredictionEvent_Teleport::IsInitialized() const { - return true; -} - -void CPredictionEvent_Teleport::InternalSwap(CPredictionEvent_Teleport* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPredictionEvent_Teleport, _impl_.drop_to_ground_range_) - + sizeof(CPredictionEvent_Teleport::_impl_.drop_to_ground_range_) - - PROTOBUF_FIELD_OFFSET(CPredictionEvent_Teleport, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPredictionEvent_Teleport::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_prediction_5fevents_2eproto_getter, &descriptor_table_prediction_5fevents_2eproto_once, - file_level_metadata_prediction_5fevents_2eproto[0]); -} - -// =================================================================== - -class CPredictionEvent_StringCommand::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_command(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CPredictionEvent_StringCommand::CPredictionEvent_StringCommand(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPredictionEvent_StringCommand) -} -CPredictionEvent_StringCommand::CPredictionEvent_StringCommand(const CPredictionEvent_StringCommand& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPredictionEvent_StringCommand* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.command_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.command_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.command_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_command()) { - _this->_impl_.command_.Set(from._internal_command(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CPredictionEvent_StringCommand) -} - -inline void CPredictionEvent_StringCommand::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.command_){} - }; - _impl_.command_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.command_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CPredictionEvent_StringCommand::~CPredictionEvent_StringCommand() { - // @@protoc_insertion_point(destructor:CPredictionEvent_StringCommand) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPredictionEvent_StringCommand::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.command_.Destroy(); -} - -void CPredictionEvent_StringCommand::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPredictionEvent_StringCommand::Clear() { -// @@protoc_insertion_point(message_clear_start:CPredictionEvent_StringCommand) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.command_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPredictionEvent_StringCommand::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string command = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_command(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPredictionEvent_StringCommand.command"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPredictionEvent_StringCommand::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPredictionEvent_StringCommand) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string command = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_command().data(), static_cast(this->_internal_command().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPredictionEvent_StringCommand.command"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_command(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPredictionEvent_StringCommand) - return target; -} - -size_t CPredictionEvent_StringCommand::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPredictionEvent_StringCommand) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string command = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_command()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPredictionEvent_StringCommand::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPredictionEvent_StringCommand::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPredictionEvent_StringCommand::GetClassData() const { return &_class_data_; } - - -void CPredictionEvent_StringCommand::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPredictionEvent_StringCommand) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_command()) { - _this->_internal_set_command(from._internal_command()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPredictionEvent_StringCommand::CopyFrom(const CPredictionEvent_StringCommand& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPredictionEvent_StringCommand) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPredictionEvent_StringCommand::IsInitialized() const { - return true; -} - -void CPredictionEvent_StringCommand::InternalSwap(CPredictionEvent_StringCommand* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.command_, lhs_arena, - &other->_impl_.command_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPredictionEvent_StringCommand::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_prediction_5fevents_2eproto_getter, &descriptor_table_prediction_5fevents_2eproto_once, - file_level_metadata_prediction_5fevents_2eproto[1]); -} - -// =================================================================== - -class CPredictionEvent_Diagnostic::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_requested_sync(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_requested_player_index(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CPredictionEvent_Diagnostic::CPredictionEvent_Diagnostic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPredictionEvent_Diagnostic) -} -CPredictionEvent_Diagnostic::CPredictionEvent_Diagnostic(const CPredictionEvent_Diagnostic& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPredictionEvent_Diagnostic* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.execution_sync_){from._impl_.execution_sync_} - , decltype(_impl_.id_){} - , decltype(_impl_.requested_sync_){} - , decltype(_impl_.requested_player_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.id_, &from._impl_.id_, - static_cast(reinterpret_cast(&_impl_.requested_player_index_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.requested_player_index_)); - // @@protoc_insertion_point(copy_constructor:CPredictionEvent_Diagnostic) -} - -inline void CPredictionEvent_Diagnostic::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.execution_sync_){arena} - , decltype(_impl_.id_){0u} - , decltype(_impl_.requested_sync_){0u} - , decltype(_impl_.requested_player_index_){0u} - }; -} - -CPredictionEvent_Diagnostic::~CPredictionEvent_Diagnostic() { - // @@protoc_insertion_point(destructor:CPredictionEvent_Diagnostic) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPredictionEvent_Diagnostic::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.execution_sync_.~RepeatedField(); -} - -void CPredictionEvent_Diagnostic::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPredictionEvent_Diagnostic::Clear() { -// @@protoc_insertion_point(message_clear_start:CPredictionEvent_Diagnostic) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.execution_sync_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.id_, 0, static_cast( - reinterpret_cast(&_impl_.requested_player_index_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.requested_player_index_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPredictionEvent_Diagnostic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_id(&has_bits); - _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 requested_sync = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_requested_sync(&has_bits); - _impl_.requested_sync_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 requested_player_index = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_requested_player_index(&has_bits); - _impl_.requested_player_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 execution_sync = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_execution_sync(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<32>(ptr)); - } else if (static_cast(tag) == 34) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_execution_sync(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPredictionEvent_Diagnostic::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPredictionEvent_Diagnostic) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target); - } - - // optional uint32 requested_sync = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_requested_sync(), target); - } - - // optional uint32 requested_player_index = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_requested_player_index(), target); - } - - // repeated uint32 execution_sync = 4; - for (int i = 0, n = this->_internal_execution_sync_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_execution_sync(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPredictionEvent_Diagnostic) - return target; -} - -size_t CPredictionEvent_Diagnostic::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPredictionEvent_Diagnostic) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 execution_sync = 4; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.execution_sync_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_execution_sync_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id()); - } - - // optional uint32 requested_sync = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_requested_sync()); - } - - // optional uint32 requested_player_index = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_requested_player_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPredictionEvent_Diagnostic::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPredictionEvent_Diagnostic::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPredictionEvent_Diagnostic::GetClassData() const { return &_class_data_; } - - -void CPredictionEvent_Diagnostic::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPredictionEvent_Diagnostic) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.execution_sync_.MergeFrom(from._impl_.execution_sync_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.id_ = from._impl_.id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.requested_sync_ = from._impl_.requested_sync_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.requested_player_index_ = from._impl_.requested_player_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPredictionEvent_Diagnostic::CopyFrom(const CPredictionEvent_Diagnostic& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPredictionEvent_Diagnostic) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPredictionEvent_Diagnostic::IsInitialized() const { - return true; -} - -void CPredictionEvent_Diagnostic::InternalSwap(CPredictionEvent_Diagnostic* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.execution_sync_.InternalSwap(&other->_impl_.execution_sync_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPredictionEvent_Diagnostic, _impl_.requested_player_index_) - + sizeof(CPredictionEvent_Diagnostic::_impl_.requested_player_index_) - - PROTOBUF_FIELD_OFFSET(CPredictionEvent_Diagnostic, _impl_.id_)>( - reinterpret_cast(&_impl_.id_), - reinterpret_cast(&other->_impl_.id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPredictionEvent_Diagnostic::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_prediction_5fevents_2eproto_getter, &descriptor_table_prediction_5fevents_2eproto_once, - file_level_metadata_prediction_5fevents_2eproto[2]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CPredictionEvent_Teleport* -Arena::CreateMaybeMessage< ::CPredictionEvent_Teleport >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPredictionEvent_Teleport >(arena); -} -template<> PROTOBUF_NOINLINE ::CPredictionEvent_StringCommand* -Arena::CreateMaybeMessage< ::CPredictionEvent_StringCommand >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPredictionEvent_StringCommand >(arena); -} -template<> PROTOBUF_NOINLINE ::CPredictionEvent_Diagnostic* -Arena::CreateMaybeMessage< ::CPredictionEvent_Diagnostic >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPredictionEvent_Diagnostic >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/prediction_events.pb.h b/protobuf/generated/prediction_events.pb.h deleted file mode 100644 index 31ffce56e..000000000 --- a/protobuf/generated/prediction_events.pb.h +++ /dev/null @@ -1,1111 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: prediction_events.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_prediction_5fevents_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_prediction_5fevents_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "networkbasetypes.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_prediction_5fevents_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_prediction_5fevents_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_prediction_5fevents_2eproto; -class CPredictionEvent_Diagnostic; -struct CPredictionEvent_DiagnosticDefaultTypeInternal; -extern CPredictionEvent_DiagnosticDefaultTypeInternal _CPredictionEvent_Diagnostic_default_instance_; -class CPredictionEvent_StringCommand; -struct CPredictionEvent_StringCommandDefaultTypeInternal; -extern CPredictionEvent_StringCommandDefaultTypeInternal _CPredictionEvent_StringCommand_default_instance_; -class CPredictionEvent_Teleport; -struct CPredictionEvent_TeleportDefaultTypeInternal; -extern CPredictionEvent_TeleportDefaultTypeInternal _CPredictionEvent_Teleport_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CPredictionEvent_Diagnostic* Arena::CreateMaybeMessage<::CPredictionEvent_Diagnostic>(Arena*); -template<> ::CPredictionEvent_StringCommand* Arena::CreateMaybeMessage<::CPredictionEvent_StringCommand>(Arena*); -template<> ::CPredictionEvent_Teleport* Arena::CreateMaybeMessage<::CPredictionEvent_Teleport>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum EBasePredictionEvents : int { - BPE_StringCommand = 128, - BPE_Teleport = 130, - BPE_Diagnostic = 16384 -}; -bool EBasePredictionEvents_IsValid(int value); -constexpr EBasePredictionEvents EBasePredictionEvents_MIN = BPE_StringCommand; -constexpr EBasePredictionEvents EBasePredictionEvents_MAX = BPE_Diagnostic; -constexpr int EBasePredictionEvents_ARRAYSIZE = EBasePredictionEvents_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBasePredictionEvents_descriptor(); -template -inline const std::string& EBasePredictionEvents_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EBasePredictionEvents_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EBasePredictionEvents_descriptor(), enum_t_value); -} -inline bool EBasePredictionEvents_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EBasePredictionEvents* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EBasePredictionEvents_descriptor(), name, value); -} -// =================================================================== - -class CPredictionEvent_Teleport : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPredictionEvent_Teleport) */ { - public: - inline CPredictionEvent_Teleport() : CPredictionEvent_Teleport(nullptr) {} - ~CPredictionEvent_Teleport() override; - explicit PROTOBUF_CONSTEXPR CPredictionEvent_Teleport(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPredictionEvent_Teleport(const CPredictionEvent_Teleport& from); - CPredictionEvent_Teleport(CPredictionEvent_Teleport&& from) noexcept - : CPredictionEvent_Teleport() { - *this = ::std::move(from); - } - - inline CPredictionEvent_Teleport& operator=(const CPredictionEvent_Teleport& from) { - CopyFrom(from); - return *this; - } - inline CPredictionEvent_Teleport& operator=(CPredictionEvent_Teleport&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPredictionEvent_Teleport& default_instance() { - return *internal_default_instance(); - } - static inline const CPredictionEvent_Teleport* internal_default_instance() { - return reinterpret_cast( - &_CPredictionEvent_Teleport_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CPredictionEvent_Teleport& a, CPredictionEvent_Teleport& b) { - a.Swap(&b); - } - inline void Swap(CPredictionEvent_Teleport* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPredictionEvent_Teleport* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPredictionEvent_Teleport* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPredictionEvent_Teleport& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPredictionEvent_Teleport& from) { - CPredictionEvent_Teleport::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPredictionEvent_Teleport* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPredictionEvent_Teleport"; - } - protected: - explicit CPredictionEvent_Teleport(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginFieldNumber = 1, - kAnglesFieldNumber = 2, - kDropToGroundRangeFieldNumber = 3, - }; - // optional .CMsgVector origin = 1; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional .CMsgQAngle angles = 2; - bool has_angles() const; - private: - bool _internal_has_angles() const; - public: - void clear_angles(); - const ::CMsgQAngle& angles() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_angles(); - ::CMsgQAngle* mutable_angles(); - void set_allocated_angles(::CMsgQAngle* angles); - private: - const ::CMsgQAngle& _internal_angles() const; - ::CMsgQAngle* _internal_mutable_angles(); - public: - void unsafe_arena_set_allocated_angles( - ::CMsgQAngle* angles); - ::CMsgQAngle* unsafe_arena_release_angles(); - - // optional float drop_to_ground_range = 3; - bool has_drop_to_ground_range() const; - private: - bool _internal_has_drop_to_ground_range() const; - public: - void clear_drop_to_ground_range(); - float drop_to_ground_range() const; - void set_drop_to_ground_range(float value); - private: - float _internal_drop_to_ground_range() const; - void _internal_set_drop_to_ground_range(float value); - public: - - // @@protoc_insertion_point(class_scope:CPredictionEvent_Teleport) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* origin_; - ::CMsgQAngle* angles_; - float drop_to_ground_range_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_prediction_5fevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CPredictionEvent_StringCommand : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPredictionEvent_StringCommand) */ { - public: - inline CPredictionEvent_StringCommand() : CPredictionEvent_StringCommand(nullptr) {} - ~CPredictionEvent_StringCommand() override; - explicit PROTOBUF_CONSTEXPR CPredictionEvent_StringCommand(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPredictionEvent_StringCommand(const CPredictionEvent_StringCommand& from); - CPredictionEvent_StringCommand(CPredictionEvent_StringCommand&& from) noexcept - : CPredictionEvent_StringCommand() { - *this = ::std::move(from); - } - - inline CPredictionEvent_StringCommand& operator=(const CPredictionEvent_StringCommand& from) { - CopyFrom(from); - return *this; - } - inline CPredictionEvent_StringCommand& operator=(CPredictionEvent_StringCommand&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPredictionEvent_StringCommand& default_instance() { - return *internal_default_instance(); - } - static inline const CPredictionEvent_StringCommand* internal_default_instance() { - return reinterpret_cast( - &_CPredictionEvent_StringCommand_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CPredictionEvent_StringCommand& a, CPredictionEvent_StringCommand& b) { - a.Swap(&b); - } - inline void Swap(CPredictionEvent_StringCommand* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPredictionEvent_StringCommand* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPredictionEvent_StringCommand* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPredictionEvent_StringCommand& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPredictionEvent_StringCommand& from) { - CPredictionEvent_StringCommand::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPredictionEvent_StringCommand* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPredictionEvent_StringCommand"; - } - protected: - explicit CPredictionEvent_StringCommand(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCommandFieldNumber = 1, - }; - // optional string command = 1; - bool has_command() const; - private: - bool _internal_has_command() const; - public: - void clear_command(); - const std::string& command() const; - template - void set_command(ArgT0&& arg0, ArgT... args); - std::string* mutable_command(); - PROTOBUF_NODISCARD std::string* release_command(); - void set_allocated_command(std::string* command); - private: - const std::string& _internal_command() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_command(const std::string& value); - std::string* _internal_mutable_command(); - public: - - // @@protoc_insertion_point(class_scope:CPredictionEvent_StringCommand) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_prediction_5fevents_2eproto; -}; -// ------------------------------------------------------------------- - -class CPredictionEvent_Diagnostic : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPredictionEvent_Diagnostic) */ { - public: - inline CPredictionEvent_Diagnostic() : CPredictionEvent_Diagnostic(nullptr) {} - ~CPredictionEvent_Diagnostic() override; - explicit PROTOBUF_CONSTEXPR CPredictionEvent_Diagnostic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPredictionEvent_Diagnostic(const CPredictionEvent_Diagnostic& from); - CPredictionEvent_Diagnostic(CPredictionEvent_Diagnostic&& from) noexcept - : CPredictionEvent_Diagnostic() { - *this = ::std::move(from); - } - - inline CPredictionEvent_Diagnostic& operator=(const CPredictionEvent_Diagnostic& from) { - CopyFrom(from); - return *this; - } - inline CPredictionEvent_Diagnostic& operator=(CPredictionEvent_Diagnostic&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPredictionEvent_Diagnostic& default_instance() { - return *internal_default_instance(); - } - static inline const CPredictionEvent_Diagnostic* internal_default_instance() { - return reinterpret_cast( - &_CPredictionEvent_Diagnostic_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CPredictionEvent_Diagnostic& a, CPredictionEvent_Diagnostic& b) { - a.Swap(&b); - } - inline void Swap(CPredictionEvent_Diagnostic* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPredictionEvent_Diagnostic* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPredictionEvent_Diagnostic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPredictionEvent_Diagnostic& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPredictionEvent_Diagnostic& from) { - CPredictionEvent_Diagnostic::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPredictionEvent_Diagnostic* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPredictionEvent_Diagnostic"; - } - protected: - explicit CPredictionEvent_Diagnostic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kExecutionSyncFieldNumber = 4, - kIdFieldNumber = 1, - kRequestedSyncFieldNumber = 2, - kRequestedPlayerIndexFieldNumber = 3, - }; - // repeated uint32 execution_sync = 4; - int execution_sync_size() const; - private: - int _internal_execution_sync_size() const; - public: - void clear_execution_sync(); - private: - uint32_t _internal_execution_sync(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_execution_sync() const; - void _internal_add_execution_sync(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_execution_sync(); - public: - uint32_t execution_sync(int index) const; - void set_execution_sync(int index, uint32_t value); - void add_execution_sync(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - execution_sync() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_execution_sync(); - - // optional uint32 id = 1; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - uint32_t id() const; - void set_id(uint32_t value); - private: - uint32_t _internal_id() const; - void _internal_set_id(uint32_t value); - public: - - // optional uint32 requested_sync = 2; - bool has_requested_sync() const; - private: - bool _internal_has_requested_sync() const; - public: - void clear_requested_sync(); - uint32_t requested_sync() const; - void set_requested_sync(uint32_t value); - private: - uint32_t _internal_requested_sync() const; - void _internal_set_requested_sync(uint32_t value); - public: - - // optional uint32 requested_player_index = 3; - bool has_requested_player_index() const; - private: - bool _internal_has_requested_player_index() const; - public: - void clear_requested_player_index(); - uint32_t requested_player_index() const; - void set_requested_player_index(uint32_t value); - private: - uint32_t _internal_requested_player_index() const; - void _internal_set_requested_player_index(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPredictionEvent_Diagnostic) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > execution_sync_; - uint32_t id_; - uint32_t requested_sync_; - uint32_t requested_player_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_prediction_5fevents_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CPredictionEvent_Teleport - -// optional .CMsgVector origin = 1; -inline bool CPredictionEvent_Teleport::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CPredictionEvent_Teleport::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CPredictionEvent_Teleport::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CPredictionEvent_Teleport::origin() const { - // @@protoc_insertion_point(field_get:CPredictionEvent_Teleport.origin) - return _internal_origin(); -} -inline void CPredictionEvent_Teleport::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CPredictionEvent_Teleport.origin) -} -inline ::CMsgVector* CPredictionEvent_Teleport::release_origin() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CPredictionEvent_Teleport::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CPredictionEvent_Teleport.origin) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CPredictionEvent_Teleport::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CPredictionEvent_Teleport::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CPredictionEvent_Teleport.origin) - return _msg; -} -inline void CPredictionEvent_Teleport::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CPredictionEvent_Teleport.origin) -} - -// optional .CMsgQAngle angles = 2; -inline bool CPredictionEvent_Teleport::_internal_has_angles() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.angles_ != nullptr); - return value; -} -inline bool CPredictionEvent_Teleport::has_angles() const { - return _internal_has_angles(); -} -inline const ::CMsgQAngle& CPredictionEvent_Teleport::_internal_angles() const { - const ::CMsgQAngle* p = _impl_.angles_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CPredictionEvent_Teleport::angles() const { - // @@protoc_insertion_point(field_get:CPredictionEvent_Teleport.angles) - return _internal_angles(); -} -inline void CPredictionEvent_Teleport::unsafe_arena_set_allocated_angles( - ::CMsgQAngle* angles) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); - } - _impl_.angles_ = angles; - if (angles) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CPredictionEvent_Teleport.angles) -} -inline ::CMsgQAngle* CPredictionEvent_Teleport::release_angles() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQAngle* temp = _impl_.angles_; - _impl_.angles_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CPredictionEvent_Teleport::unsafe_arena_release_angles() { - // @@protoc_insertion_point(field_release:CPredictionEvent_Teleport.angles) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQAngle* temp = _impl_.angles_; - _impl_.angles_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CPredictionEvent_Teleport::_internal_mutable_angles() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.angles_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.angles_ = p; - } - return _impl_.angles_; -} -inline ::CMsgQAngle* CPredictionEvent_Teleport::mutable_angles() { - ::CMsgQAngle* _msg = _internal_mutable_angles(); - // @@protoc_insertion_point(field_mutable:CPredictionEvent_Teleport.angles) - return _msg; -} -inline void CPredictionEvent_Teleport::set_allocated_angles(::CMsgQAngle* angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); - } - if (angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angles)); - if (message_arena != submessage_arena) { - angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, angles, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.angles_ = angles; - // @@protoc_insertion_point(field_set_allocated:CPredictionEvent_Teleport.angles) -} - -// optional float drop_to_ground_range = 3; -inline bool CPredictionEvent_Teleport::_internal_has_drop_to_ground_range() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CPredictionEvent_Teleport::has_drop_to_ground_range() const { - return _internal_has_drop_to_ground_range(); -} -inline void CPredictionEvent_Teleport::clear_drop_to_ground_range() { - _impl_.drop_to_ground_range_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CPredictionEvent_Teleport::_internal_drop_to_ground_range() const { - return _impl_.drop_to_ground_range_; -} -inline float CPredictionEvent_Teleport::drop_to_ground_range() const { - // @@protoc_insertion_point(field_get:CPredictionEvent_Teleport.drop_to_ground_range) - return _internal_drop_to_ground_range(); -} -inline void CPredictionEvent_Teleport::_internal_set_drop_to_ground_range(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.drop_to_ground_range_ = value; -} -inline void CPredictionEvent_Teleport::set_drop_to_ground_range(float value) { - _internal_set_drop_to_ground_range(value); - // @@protoc_insertion_point(field_set:CPredictionEvent_Teleport.drop_to_ground_range) -} - -// ------------------------------------------------------------------- - -// CPredictionEvent_StringCommand - -// optional string command = 1; -inline bool CPredictionEvent_StringCommand::_internal_has_command() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPredictionEvent_StringCommand::has_command() const { - return _internal_has_command(); -} -inline void CPredictionEvent_StringCommand::clear_command() { - _impl_.command_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CPredictionEvent_StringCommand::command() const { - // @@protoc_insertion_point(field_get:CPredictionEvent_StringCommand.command) - return _internal_command(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPredictionEvent_StringCommand::set_command(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.command_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPredictionEvent_StringCommand.command) -} -inline std::string* CPredictionEvent_StringCommand::mutable_command() { - std::string* _s = _internal_mutable_command(); - // @@protoc_insertion_point(field_mutable:CPredictionEvent_StringCommand.command) - return _s; -} -inline const std::string& CPredictionEvent_StringCommand::_internal_command() const { - return _impl_.command_.Get(); -} -inline void CPredictionEvent_StringCommand::_internal_set_command(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.command_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPredictionEvent_StringCommand::_internal_mutable_command() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.command_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPredictionEvent_StringCommand::release_command() { - // @@protoc_insertion_point(field_release:CPredictionEvent_StringCommand.command) - if (!_internal_has_command()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.command_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.command_.IsDefault()) { - _impl_.command_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPredictionEvent_StringCommand::set_allocated_command(std::string* command) { - if (command != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.command_.SetAllocated(command, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.command_.IsDefault()) { - _impl_.command_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPredictionEvent_StringCommand.command) -} - -// ------------------------------------------------------------------- - -// CPredictionEvent_Diagnostic - -// optional uint32 id = 1; -inline bool CPredictionEvent_Diagnostic::_internal_has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPredictionEvent_Diagnostic::has_id() const { - return _internal_has_id(); -} -inline void CPredictionEvent_Diagnostic::clear_id() { - _impl_.id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CPredictionEvent_Diagnostic::_internal_id() const { - return _impl_.id_; -} -inline uint32_t CPredictionEvent_Diagnostic::id() const { - // @@protoc_insertion_point(field_get:CPredictionEvent_Diagnostic.id) - return _internal_id(); -} -inline void CPredictionEvent_Diagnostic::_internal_set_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.id_ = value; -} -inline void CPredictionEvent_Diagnostic::set_id(uint32_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:CPredictionEvent_Diagnostic.id) -} - -// optional uint32 requested_sync = 2; -inline bool CPredictionEvent_Diagnostic::_internal_has_requested_sync() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPredictionEvent_Diagnostic::has_requested_sync() const { - return _internal_has_requested_sync(); -} -inline void CPredictionEvent_Diagnostic::clear_requested_sync() { - _impl_.requested_sync_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CPredictionEvent_Diagnostic::_internal_requested_sync() const { - return _impl_.requested_sync_; -} -inline uint32_t CPredictionEvent_Diagnostic::requested_sync() const { - // @@protoc_insertion_point(field_get:CPredictionEvent_Diagnostic.requested_sync) - return _internal_requested_sync(); -} -inline void CPredictionEvent_Diagnostic::_internal_set_requested_sync(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.requested_sync_ = value; -} -inline void CPredictionEvent_Diagnostic::set_requested_sync(uint32_t value) { - _internal_set_requested_sync(value); - // @@protoc_insertion_point(field_set:CPredictionEvent_Diagnostic.requested_sync) -} - -// optional uint32 requested_player_index = 3; -inline bool CPredictionEvent_Diagnostic::_internal_has_requested_player_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CPredictionEvent_Diagnostic::has_requested_player_index() const { - return _internal_has_requested_player_index(); -} -inline void CPredictionEvent_Diagnostic::clear_requested_player_index() { - _impl_.requested_player_index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CPredictionEvent_Diagnostic::_internal_requested_player_index() const { - return _impl_.requested_player_index_; -} -inline uint32_t CPredictionEvent_Diagnostic::requested_player_index() const { - // @@protoc_insertion_point(field_get:CPredictionEvent_Diagnostic.requested_player_index) - return _internal_requested_player_index(); -} -inline void CPredictionEvent_Diagnostic::_internal_set_requested_player_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.requested_player_index_ = value; -} -inline void CPredictionEvent_Diagnostic::set_requested_player_index(uint32_t value) { - _internal_set_requested_player_index(value); - // @@protoc_insertion_point(field_set:CPredictionEvent_Diagnostic.requested_player_index) -} - -// repeated uint32 execution_sync = 4; -inline int CPredictionEvent_Diagnostic::_internal_execution_sync_size() const { - return _impl_.execution_sync_.size(); -} -inline int CPredictionEvent_Diagnostic::execution_sync_size() const { - return _internal_execution_sync_size(); -} -inline void CPredictionEvent_Diagnostic::clear_execution_sync() { - _impl_.execution_sync_.Clear(); -} -inline uint32_t CPredictionEvent_Diagnostic::_internal_execution_sync(int index) const { - return _impl_.execution_sync_.Get(index); -} -inline uint32_t CPredictionEvent_Diagnostic::execution_sync(int index) const { - // @@protoc_insertion_point(field_get:CPredictionEvent_Diagnostic.execution_sync) - return _internal_execution_sync(index); -} -inline void CPredictionEvent_Diagnostic::set_execution_sync(int index, uint32_t value) { - _impl_.execution_sync_.Set(index, value); - // @@protoc_insertion_point(field_set:CPredictionEvent_Diagnostic.execution_sync) -} -inline void CPredictionEvent_Diagnostic::_internal_add_execution_sync(uint32_t value) { - _impl_.execution_sync_.Add(value); -} -inline void CPredictionEvent_Diagnostic::add_execution_sync(uint32_t value) { - _internal_add_execution_sync(value); - // @@protoc_insertion_point(field_add:CPredictionEvent_Diagnostic.execution_sync) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CPredictionEvent_Diagnostic::_internal_execution_sync() const { - return _impl_.execution_sync_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CPredictionEvent_Diagnostic::execution_sync() const { - // @@protoc_insertion_point(field_list:CPredictionEvent_Diagnostic.execution_sync) - return _internal_execution_sync(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CPredictionEvent_Diagnostic::_internal_mutable_execution_sync() { - return &_impl_.execution_sync_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CPredictionEvent_Diagnostic::mutable_execution_sync() { - // @@protoc_insertion_point(field_mutable_list:CPredictionEvent_Diagnostic.execution_sync) - return _internal_mutable_execution_sync(); -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::EBasePredictionEvents> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EBasePredictionEvents>() { - return ::EBasePredictionEvents_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_prediction_5fevents_2eproto diff --git a/protobuf/generated/steamdatagram_messages_auth.pb.cc b/protobuf/generated/steamdatagram_messages_auth.pb.cc deleted file mode 100644 index 77999a1db..000000000 --- a/protobuf/generated/steamdatagram_messages_auth.pb.cc +++ /dev/null @@ -1,3259 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steamdatagram_messages_auth.proto - -#include "steamdatagram_messages_auth.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CMsgSteamDatagramRelayAuthTicket_ExtraField::CMsgSteamDatagramRelayAuthTicket_ExtraField( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.string_value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.int64_value_)*/int64_t{0} - , /*decltype(_impl_.fixed64_value_)*/uint64_t{0u}} {} -struct CMsgSteamDatagramRelayAuthTicket_ExtraFieldDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramRelayAuthTicket_ExtraFieldDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramRelayAuthTicket_ExtraFieldDefaultTypeInternal() {} - union { - CMsgSteamDatagramRelayAuthTicket_ExtraField _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramRelayAuthTicket_ExtraFieldDefaultTypeInternal _CMsgSteamDatagramRelayAuthTicket_ExtraField_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramRelayAuthTicket::CMsgSteamDatagramRelayAuthTicket( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.extra_fields_)*/{} - , /*decltype(_impl_.gameserver_address_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.legacy_authorized_client_identity_binary_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.legacy_gameserver_identity_binary_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.authorized_client_identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.gameserver_identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.legacy_authorized_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.time_expiry_)*/0u - , /*decltype(_impl_.authorized_public_ip_)*/0u - , /*decltype(_impl_.legacy_gameserver_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.app_id_)*/0u - , /*decltype(_impl_.legacy_gameserver_pop_id_)*/0u - , /*decltype(_impl_.virtual_port_)*/0u} {} -struct CMsgSteamDatagramRelayAuthTicketDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramRelayAuthTicketDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramRelayAuthTicketDefaultTypeInternal() {} - union { - CMsgSteamDatagramRelayAuthTicket _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramRelayAuthTicketDefaultTypeInternal _CMsgSteamDatagramRelayAuthTicket_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramSignedRelayAuthTicket::CMsgSteamDatagramSignedRelayAuthTicket( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.certs_)*/{} - , /*decltype(_impl_.ticket_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.signature_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.reserved_do_not_use_)*/uint64_t{0u} - , /*decltype(_impl_.key_id_)*/uint64_t{0u}} {} -struct CMsgSteamDatagramSignedRelayAuthTicketDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramSignedRelayAuthTicketDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramSignedRelayAuthTicketDefaultTypeInternal() {} - union { - CMsgSteamDatagramSignedRelayAuthTicket _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramSignedRelayAuthTicketDefaultTypeInternal _CMsgSteamDatagramSignedRelayAuthTicket_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramCachedCredentialsForApp::CMsgSteamDatagramCachedCredentialsForApp( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.relay_tickets_)*/{} - , /*decltype(_impl_.private_key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.cert_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CMsgSteamDatagramCachedCredentialsForAppDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramCachedCredentialsForAppDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramCachedCredentialsForAppDefaultTypeInternal() {} - union { - CMsgSteamDatagramCachedCredentialsForApp _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramCachedCredentialsForAppDefaultTypeInternal _CMsgSteamDatagramCachedCredentialsForApp_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramGameCoordinatorServerLogin::CMsgSteamDatagramGameCoordinatorServerLogin( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.routing_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.appdata_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.legacy_identity_binary_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.time_generated_)*/0u - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.dummy_steam_id_)*/uint64_t{0u}} {} -struct CMsgSteamDatagramGameCoordinatorServerLoginDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramGameCoordinatorServerLoginDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramGameCoordinatorServerLoginDefaultTypeInternal() {} - union { - CMsgSteamDatagramGameCoordinatorServerLogin _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramGameCoordinatorServerLoginDefaultTypeInternal _CMsgSteamDatagramGameCoordinatorServerLogin_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramSignedGameCoordinatorServerLogin::CMsgSteamDatagramSignedGameCoordinatorServerLogin( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.login_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.signature_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.cert_)*/nullptr} {} -struct CMsgSteamDatagramSignedGameCoordinatorServerLoginDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramSignedGameCoordinatorServerLoginDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramSignedGameCoordinatorServerLoginDefaultTypeInternal() {} - union { - CMsgSteamDatagramSignedGameCoordinatorServerLogin _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramSignedGameCoordinatorServerLoginDefaultTypeInternal _CMsgSteamDatagramSignedGameCoordinatorServerLogin_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramHostedServerAddressPlaintext::CMsgSteamDatagramHostedServerAddressPlaintext( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ipv6_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ipv4_)*/0u - , /*decltype(_impl_.port_)*/0u - , /*decltype(_impl_.routing_secret_)*/uint64_t{0u} - , /*decltype(_impl_.protocol_version_)*/0u} {} -struct CMsgSteamDatagramHostedServerAddressPlaintextDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramHostedServerAddressPlaintextDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramHostedServerAddressPlaintextDefaultTypeInternal() {} - union { - CMsgSteamDatagramHostedServerAddressPlaintext _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramHostedServerAddressPlaintextDefaultTypeInternal _CMsgSteamDatagramHostedServerAddressPlaintext_default_instance_; -static ::_pb::Metadata file_level_metadata_steamdatagram_5fmessages_5fauth_2eproto[7]; -static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_steamdatagram_5fmessages_5fauth_2eproto = nullptr; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steamdatagram_5fmessages_5fauth_2eproto = nullptr; - -const uint32_t TableStruct_steamdatagram_5fmessages_5fauth_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket_ExtraField, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket_ExtraField, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket_ExtraField, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket_ExtraField, _impl_.string_value_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket_ExtraField, _impl_.int64_value_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket_ExtraField, _impl_.fixed64_value_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.time_expiry_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.authorized_client_identity_string_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.gameserver_identity_string_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.authorized_public_ip_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.gameserver_address_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.app_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.virtual_port_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.extra_fields_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.legacy_authorized_steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.legacy_gameserver_steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.legacy_gameserver_pop_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.legacy_authorized_client_identity_binary_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRelayAuthTicket, _impl_.legacy_gameserver_identity_binary_), - 6, - 3, - 4, - 7, - 0, - 9, - 11, - ~0u, - 5, - 8, - 10, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedRelayAuthTicket, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedRelayAuthTicket, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedRelayAuthTicket, _impl_.reserved_do_not_use_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedRelayAuthTicket, _impl_.ticket_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedRelayAuthTicket, _impl_.signature_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedRelayAuthTicket, _impl_.key_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedRelayAuthTicket, _impl_.certs_), - 2, - 0, - 1, - 3, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCachedCredentialsForApp, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCachedCredentialsForApp, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCachedCredentialsForApp, _impl_.private_key_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCachedCredentialsForApp, _impl_.cert_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCachedCredentialsForApp, _impl_.relay_tickets_), - 0, - 1, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameCoordinatorServerLogin, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameCoordinatorServerLogin, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameCoordinatorServerLogin, _impl_.time_generated_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameCoordinatorServerLogin, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameCoordinatorServerLogin, _impl_.routing_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameCoordinatorServerLogin, _impl_.appdata_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameCoordinatorServerLogin, _impl_.legacy_identity_binary_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameCoordinatorServerLogin, _impl_.identity_string_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameCoordinatorServerLogin, _impl_.dummy_steam_id_), - 4, - 5, - 0, - 1, - 2, - 3, - 6, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedGameCoordinatorServerLogin, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedGameCoordinatorServerLogin, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedGameCoordinatorServerLogin, _impl_.cert_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedGameCoordinatorServerLogin, _impl_.login_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedGameCoordinatorServerLogin, _impl_.signature_), - 2, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramHostedServerAddressPlaintext, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramHostedServerAddressPlaintext, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramHostedServerAddressPlaintext, _impl_.ipv4_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramHostedServerAddressPlaintext, _impl_.ipv6_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramHostedServerAddressPlaintext, _impl_.port_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramHostedServerAddressPlaintext, _impl_.routing_secret_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramHostedServerAddressPlaintext, _impl_.protocol_version_), - 1, - 0, - 2, - 3, - 4, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 10, -1, sizeof(::CMsgSteamDatagramRelayAuthTicket_ExtraField)}, - { 14, 33, -1, sizeof(::CMsgSteamDatagramRelayAuthTicket)}, - { 46, 57, -1, sizeof(::CMsgSteamDatagramSignedRelayAuthTicket)}, - { 62, 71, -1, sizeof(::CMsgSteamDatagramCachedCredentialsForApp)}, - { 74, 87, -1, sizeof(::CMsgSteamDatagramGameCoordinatorServerLogin)}, - { 94, 103, -1, sizeof(::CMsgSteamDatagramSignedGameCoordinatorServerLogin)}, - { 106, 117, -1, sizeof(::CMsgSteamDatagramHostedServerAddressPlaintext)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CMsgSteamDatagramRelayAuthTicket_ExtraField_default_instance_._instance, - &::_CMsgSteamDatagramRelayAuthTicket_default_instance_._instance, - &::_CMsgSteamDatagramSignedRelayAuthTicket_default_instance_._instance, - &::_CMsgSteamDatagramCachedCredentialsForApp_default_instance_._instance, - &::_CMsgSteamDatagramGameCoordinatorServerLogin_default_instance_._instance, - &::_CMsgSteamDatagramSignedGameCoordinatorServerLogin_default_instance_._instance, - &::_CMsgSteamDatagramHostedServerAddressPlaintext_default_instance_._instance, -}; - -const char descriptor_table_protodef_steamdatagram_5fmessages_5fauth_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n!steamdatagram_messages_auth.proto\032+ste" - "amnetworkingsockets_messages_certs.proto" - "\"\317\004\n CMsgSteamDatagramRelayAuthTicket\022\023\n" - "\013time_expiry\030\001 \001(\007\022)\n!authorized_client_" - "identity_string\030\016 \001(\t\022\"\n\032gameserver_iden" - "tity_string\030\017 \001(\t\022\034\n\024authorized_public_i" - "p\030\003 \001(\007\022\032\n\022gameserver_address\030\013 \001(\014\022\016\n\006a" - "pp_id\030\007 \001(\r\022\024\n\014virtual_port\030\n \001(\r\022B\n\014ext" - "ra_fields\030\010 \003(\0132,.CMsgSteamDatagramRelay" - "AuthTicket.ExtraField\022\"\n\032legacy_authoriz" - "ed_steam_id\030\002 \001(\006\022\"\n\032legacy_gameserver_s" - "team_id\030\004 \001(\006\022 \n\030legacy_gameserver_pop_i" - "d\030\t \001(\007\0220\n(legacy_authorized_client_iden" - "tity_binary\030\014 \001(\014\022)\n!legacy_gameserver_i" - "dentity_binary\030\r \001(\014\032\\\n\nExtraField\022\014\n\004na" - "me\030\001 \001(\t\022\024\n\014string_value\030\002 \001(\t\022\023\n\013int64_" - "value\030\003 \001(\022\022\025\n\rfixed64_value\030\005 \001(\006\"\254\001\n&C" - "MsgSteamDatagramSignedRelayAuthTicket\022\033\n" - "\023reserved_do_not_use\030\001 \001(\006\022\016\n\006ticket\030\003 \001" - "(\014\022\021\n\tsignature\030\004 \001(\014\022\016\n\006key_id\030\002 \001(\006\0222\n" - "\005certs\030\005 \003(\0132#.CMsgSteamDatagramCertific" - "ateSigned\"d\n(CMsgSteamDatagramCachedCred" - "entialsForApp\022\023\n\013private_key\030\001 \001(\014\022\014\n\004ce" - "rt\030\002 \001(\014\022\025\n\rrelay_tickets\030\003 \003(\014\"\307\001\n+CMsg" - "SteamDatagramGameCoordinatorServerLogin\022" - "\026\n\016time_generated\030\001 \001(\r\022\r\n\005appid\030\002 \001(\r\022\017" - "\n\007routing\030\003 \001(\014\022\017\n\007appdata\030\004 \001(\014\022\036\n\026lega" - "cy_identity_binary\030\005 \001(\014\022\027\n\017identity_str" - "ing\030\006 \001(\t\022\026\n\016dummy_steam_id\030c \001(\006\"\210\001\n1CM" - "sgSteamDatagramSignedGameCoordinatorServ" - "erLogin\0221\n\004cert\030\001 \001(\0132#.CMsgSteamDatagra" - "mCertificateSigned\022\r\n\005login\030\002 \001(\014\022\021\n\tsig" - "nature\030\003 \001(\014\"\213\001\n-CMsgSteamDatagramHosted" - "ServerAddressPlaintext\022\014\n\004ipv4\030\001 \001(\007\022\014\n\004" - "ipv6\030\002 \001(\014\022\014\n\004port\030\003 \001(\r\022\026\n\016routing_secr" - "et\030\004 \001(\006\022\030\n\020protocol_version\030\005 \001(\rB\005H\001\200\001" - "\000" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_deps[1] = { - &::descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto, -}; -static ::_pbi::once_flag descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_steamdatagram_5fmessages_5fauth_2eproto = { - false, false, 1441, descriptor_table_protodef_steamdatagram_5fmessages_5fauth_2eproto, - "steamdatagram_messages_auth.proto", - &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_once, descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_deps, 1, 7, - schemas, file_default_instances, TableStruct_steamdatagram_5fmessages_5fauth_2eproto::offsets, - file_level_metadata_steamdatagram_5fmessages_5fauth_2eproto, file_level_enum_descriptors_steamdatagram_5fmessages_5fauth_2eproto, - file_level_service_descriptors_steamdatagram_5fmessages_5fauth_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_getter() { - return &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steamdatagram_5fmessages_5fauth_2eproto(&descriptor_table_steamdatagram_5fmessages_5fauth_2eproto); - -// =================================================================== - -class CMsgSteamDatagramRelayAuthTicket_ExtraField::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_string_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_int64_value(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_fixed64_value(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgSteamDatagramRelayAuthTicket_ExtraField::CMsgSteamDatagramRelayAuthTicket_ExtraField(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramRelayAuthTicket.ExtraField) -} -CMsgSteamDatagramRelayAuthTicket_ExtraField::CMsgSteamDatagramRelayAuthTicket_ExtraField(const CMsgSteamDatagramRelayAuthTicket_ExtraField& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramRelayAuthTicket_ExtraField* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.string_value_){} - , decltype(_impl_.int64_value_){} - , decltype(_impl_.fixed64_value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.string_value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.string_value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_string_value()) { - _this->_impl_.string_value_.Set(from._internal_string_value(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.int64_value_, &from._impl_.int64_value_, - static_cast(reinterpret_cast(&_impl_.fixed64_value_) - - reinterpret_cast(&_impl_.int64_value_)) + sizeof(_impl_.fixed64_value_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramRelayAuthTicket.ExtraField) -} - -inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.string_value_){} - , decltype(_impl_.int64_value_){int64_t{0}} - , decltype(_impl_.fixed64_value_){uint64_t{0u}} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.string_value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.string_value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramRelayAuthTicket_ExtraField::~CMsgSteamDatagramRelayAuthTicket_ExtraField() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramRelayAuthTicket.ExtraField) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); - _impl_.string_value_.Destroy(); -} - -void CMsgSteamDatagramRelayAuthTicket_ExtraField::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramRelayAuthTicket_ExtraField::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramRelayAuthTicket.ExtraField) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.string_value_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000000cu) { - ::memset(&_impl_.int64_value_, 0, static_cast( - reinterpret_cast(&_impl_.fixed64_value_) - - reinterpret_cast(&_impl_.int64_value_)) + sizeof(_impl_.fixed64_value_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramRelayAuthTicket_ExtraField::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramRelayAuthTicket.ExtraField.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string string_value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_string_value(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramRelayAuthTicket.ExtraField.string_value"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional sint64 int64_value = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_int64_value(&has_bits); - _impl_.int64_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarintZigZag64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 fixed64_value = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 41)) { - _Internal::set_has_fixed64_value(&has_bits); - _impl_.fixed64_value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramRelayAuthTicket_ExtraField::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramRelayAuthTicket.ExtraField) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramRelayAuthTicket.ExtraField.name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_name(), target); - } - - // optional string string_value = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_string_value().data(), static_cast(this->_internal_string_value().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramRelayAuthTicket.ExtraField.string_value"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_string_value(), target); - } - - // optional sint64 int64_value = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteSInt64ToArray(3, this->_internal_int64_value(), target); - } - - // optional fixed64 fixed64_value = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(5, this->_internal_fixed64_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramRelayAuthTicket.ExtraField) - return target; -} - -size_t CMsgSteamDatagramRelayAuthTicket_ExtraField::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramRelayAuthTicket.ExtraField) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional string string_value = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_string_value()); - } - - // optional sint64 int64_value = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::SInt64SizePlusOne(this->_internal_int64_value()); - } - - // optional fixed64 fixed64_value = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramRelayAuthTicket_ExtraField::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramRelayAuthTicket_ExtraField::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramRelayAuthTicket_ExtraField::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramRelayAuthTicket_ExtraField::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramRelayAuthTicket.ExtraField) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_string_value(from._internal_string_value()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.int64_value_ = from._impl_.int64_value_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.fixed64_value_ = from._impl_.fixed64_value_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramRelayAuthTicket_ExtraField::CopyFrom(const CMsgSteamDatagramRelayAuthTicket_ExtraField& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramRelayAuthTicket.ExtraField) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramRelayAuthTicket_ExtraField::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramRelayAuthTicket_ExtraField::InternalSwap(CMsgSteamDatagramRelayAuthTicket_ExtraField* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.string_value_, lhs_arena, - &other->_impl_.string_value_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRelayAuthTicket_ExtraField, _impl_.fixed64_value_) - + sizeof(CMsgSteamDatagramRelayAuthTicket_ExtraField::_impl_.fixed64_value_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRelayAuthTicket_ExtraField, _impl_.int64_value_)>( - reinterpret_cast(&_impl_.int64_value_), - reinterpret_cast(&other->_impl_.int64_value_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramRelayAuthTicket_ExtraField::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fauth_2eproto[0]); -} - -// =================================================================== - -class CMsgSteamDatagramRelayAuthTicket::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_time_expiry(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_authorized_client_identity_string(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_gameserver_identity_string(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_authorized_public_ip(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_gameserver_address(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_app_id(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_virtual_port(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_legacy_authorized_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_legacy_gameserver_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_legacy_gameserver_pop_id(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_legacy_authorized_client_identity_binary(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_legacy_gameserver_identity_binary(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgSteamDatagramRelayAuthTicket::CMsgSteamDatagramRelayAuthTicket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramRelayAuthTicket) -} -CMsgSteamDatagramRelayAuthTicket::CMsgSteamDatagramRelayAuthTicket(const CMsgSteamDatagramRelayAuthTicket& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramRelayAuthTicket* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.extra_fields_){from._impl_.extra_fields_} - , decltype(_impl_.gameserver_address_){} - , decltype(_impl_.legacy_authorized_client_identity_binary_){} - , decltype(_impl_.legacy_gameserver_identity_binary_){} - , decltype(_impl_.authorized_client_identity_string_){} - , decltype(_impl_.gameserver_identity_string_){} - , decltype(_impl_.legacy_authorized_steam_id_){} - , decltype(_impl_.time_expiry_){} - , decltype(_impl_.authorized_public_ip_){} - , decltype(_impl_.legacy_gameserver_steam_id_){} - , decltype(_impl_.app_id_){} - , decltype(_impl_.legacy_gameserver_pop_id_){} - , decltype(_impl_.virtual_port_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.gameserver_address_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gameserver_address_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_gameserver_address()) { - _this->_impl_.gameserver_address_.Set(from._internal_gameserver_address(), - _this->GetArenaForAllocation()); - } - _impl_.legacy_authorized_client_identity_binary_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.legacy_authorized_client_identity_binary_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_legacy_authorized_client_identity_binary()) { - _this->_impl_.legacy_authorized_client_identity_binary_.Set(from._internal_legacy_authorized_client_identity_binary(), - _this->GetArenaForAllocation()); - } - _impl_.legacy_gameserver_identity_binary_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.legacy_gameserver_identity_binary_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_legacy_gameserver_identity_binary()) { - _this->_impl_.legacy_gameserver_identity_binary_.Set(from._internal_legacy_gameserver_identity_binary(), - _this->GetArenaForAllocation()); - } - _impl_.authorized_client_identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.authorized_client_identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_authorized_client_identity_string()) { - _this->_impl_.authorized_client_identity_string_.Set(from._internal_authorized_client_identity_string(), - _this->GetArenaForAllocation()); - } - _impl_.gameserver_identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gameserver_identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_gameserver_identity_string()) { - _this->_impl_.gameserver_identity_string_.Set(from._internal_gameserver_identity_string(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.legacy_authorized_steam_id_, &from._impl_.legacy_authorized_steam_id_, - static_cast(reinterpret_cast(&_impl_.virtual_port_) - - reinterpret_cast(&_impl_.legacy_authorized_steam_id_)) + sizeof(_impl_.virtual_port_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramRelayAuthTicket) -} - -inline void CMsgSteamDatagramRelayAuthTicket::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.extra_fields_){arena} - , decltype(_impl_.gameserver_address_){} - , decltype(_impl_.legacy_authorized_client_identity_binary_){} - , decltype(_impl_.legacy_gameserver_identity_binary_){} - , decltype(_impl_.authorized_client_identity_string_){} - , decltype(_impl_.gameserver_identity_string_){} - , decltype(_impl_.legacy_authorized_steam_id_){uint64_t{0u}} - , decltype(_impl_.time_expiry_){0u} - , decltype(_impl_.authorized_public_ip_){0u} - , decltype(_impl_.legacy_gameserver_steam_id_){uint64_t{0u}} - , decltype(_impl_.app_id_){0u} - , decltype(_impl_.legacy_gameserver_pop_id_){0u} - , decltype(_impl_.virtual_port_){0u} - }; - _impl_.gameserver_address_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gameserver_address_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.legacy_authorized_client_identity_binary_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.legacy_authorized_client_identity_binary_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.legacy_gameserver_identity_binary_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.legacy_gameserver_identity_binary_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.authorized_client_identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.authorized_client_identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gameserver_identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gameserver_identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramRelayAuthTicket::~CMsgSteamDatagramRelayAuthTicket() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramRelayAuthTicket) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramRelayAuthTicket::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.extra_fields_.~RepeatedPtrField(); - _impl_.gameserver_address_.Destroy(); - _impl_.legacy_authorized_client_identity_binary_.Destroy(); - _impl_.legacy_gameserver_identity_binary_.Destroy(); - _impl_.authorized_client_identity_string_.Destroy(); - _impl_.gameserver_identity_string_.Destroy(); -} - -void CMsgSteamDatagramRelayAuthTicket::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramRelayAuthTicket::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramRelayAuthTicket) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.extra_fields_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.gameserver_address_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.legacy_authorized_client_identity_binary_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.legacy_gameserver_identity_binary_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.authorized_client_identity_string_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000010u) { - _impl_.gameserver_identity_string_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000e0u) { - ::memset(&_impl_.legacy_authorized_steam_id_, 0, static_cast( - reinterpret_cast(&_impl_.authorized_public_ip_) - - reinterpret_cast(&_impl_.legacy_authorized_steam_id_)) + sizeof(_impl_.authorized_public_ip_)); - } - if (cached_has_bits & 0x00000f00u) { - ::memset(&_impl_.legacy_gameserver_steam_id_, 0, static_cast( - reinterpret_cast(&_impl_.virtual_port_) - - reinterpret_cast(&_impl_.legacy_gameserver_steam_id_)) + sizeof(_impl_.virtual_port_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramRelayAuthTicket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 time_expiry = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_time_expiry(&has_bits); - _impl_.time_expiry_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 legacy_authorized_steam_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_legacy_authorized_steam_id(&has_bits); - _impl_.legacy_authorized_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional fixed32 authorized_public_ip = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_authorized_public_ip(&has_bits); - _impl_.authorized_public_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 legacy_gameserver_steam_id = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { - _Internal::set_has_legacy_gameserver_steam_id(&has_bits); - _impl_.legacy_gameserver_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 app_id = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_app_id(&has_bits); - _impl_.app_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgSteamDatagramRelayAuthTicket.ExtraField extra_fields = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_extra_fields(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr)); - } else - goto handle_unusual; - continue; - // optional fixed32 legacy_gameserver_pop_id = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_legacy_gameserver_pop_id(&has_bits); - _impl_.legacy_gameserver_pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 virtual_port = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_virtual_port(&has_bits); - _impl_.virtual_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes gameserver_address = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_gameserver_address(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes legacy_authorized_client_identity_binary = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - auto str = _internal_mutable_legacy_authorized_client_identity_binary(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes legacy_gameserver_identity_binary = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - auto str = _internal_mutable_legacy_gameserver_identity_binary(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string authorized_client_identity_string = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - auto str = _internal_mutable_authorized_client_identity_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramRelayAuthTicket.authorized_client_identity_string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string gameserver_identity_string = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - auto str = _internal_mutable_gameserver_identity_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramRelayAuthTicket.gameserver_identity_string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramRelayAuthTicket::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramRelayAuthTicket) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 time_expiry = 1; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_time_expiry(), target); - } - - // optional fixed64 legacy_authorized_steam_id = 2; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_legacy_authorized_steam_id(), target); - } - - // optional fixed32 authorized_public_ip = 3; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_authorized_public_ip(), target); - } - - // optional fixed64 legacy_gameserver_steam_id = 4; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_legacy_gameserver_steam_id(), target); - } - - // optional uint32 app_id = 7; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_app_id(), target); - } - - // repeated .CMsgSteamDatagramRelayAuthTicket.ExtraField extra_fields = 8; - for (unsigned i = 0, - n = static_cast(this->_internal_extra_fields_size()); i < n; i++) { - const auto& repfield = this->_internal_extra_fields(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional fixed32 legacy_gameserver_pop_id = 9; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(9, this->_internal_legacy_gameserver_pop_id(), target); - } - - // optional uint32 virtual_port = 10; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_virtual_port(), target); - } - - // optional bytes gameserver_address = 11; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 11, this->_internal_gameserver_address(), target); - } - - // optional bytes legacy_authorized_client_identity_binary = 12; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 12, this->_internal_legacy_authorized_client_identity_binary(), target); - } - - // optional bytes legacy_gameserver_identity_binary = 13; - if (cached_has_bits & 0x00000004u) { - target = stream->WriteBytesMaybeAliased( - 13, this->_internal_legacy_gameserver_identity_binary(), target); - } - - // optional string authorized_client_identity_string = 14; - if (cached_has_bits & 0x00000008u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_authorized_client_identity_string().data(), static_cast(this->_internal_authorized_client_identity_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramRelayAuthTicket.authorized_client_identity_string"); - target = stream->WriteStringMaybeAliased( - 14, this->_internal_authorized_client_identity_string(), target); - } - - // optional string gameserver_identity_string = 15; - if (cached_has_bits & 0x00000010u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_gameserver_identity_string().data(), static_cast(this->_internal_gameserver_identity_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramRelayAuthTicket.gameserver_identity_string"); - target = stream->WriteStringMaybeAliased( - 15, this->_internal_gameserver_identity_string(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramRelayAuthTicket) - return target; -} - -size_t CMsgSteamDatagramRelayAuthTicket::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramRelayAuthTicket) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSteamDatagramRelayAuthTicket.ExtraField extra_fields = 8; - total_size += 1UL * this->_internal_extra_fields_size(); - for (const auto& msg : this->_impl_.extra_fields_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bytes gameserver_address = 11; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_gameserver_address()); - } - - // optional bytes legacy_authorized_client_identity_binary = 12; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_legacy_authorized_client_identity_binary()); - } - - // optional bytes legacy_gameserver_identity_binary = 13; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_legacy_gameserver_identity_binary()); - } - - // optional string authorized_client_identity_string = 14; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_authorized_client_identity_string()); - } - - // optional string gameserver_identity_string = 15; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_gameserver_identity_string()); - } - - // optional fixed64 legacy_authorized_steam_id = 2; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 8; - } - - // optional fixed32 time_expiry = 1; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional fixed32 authorized_public_ip = 3; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - if (cached_has_bits & 0x00000f00u) { - // optional fixed64 legacy_gameserver_steam_id = 4; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 8; - } - - // optional uint32 app_id = 7; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_app_id()); - } - - // optional fixed32 legacy_gameserver_pop_id = 9; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 4; - } - - // optional uint32 virtual_port = 10; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_virtual_port()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramRelayAuthTicket::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramRelayAuthTicket::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramRelayAuthTicket::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramRelayAuthTicket::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramRelayAuthTicket) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.extra_fields_.MergeFrom(from._impl_.extra_fields_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_gameserver_address(from._internal_gameserver_address()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_legacy_authorized_client_identity_binary(from._internal_legacy_authorized_client_identity_binary()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_legacy_gameserver_identity_binary(from._internal_legacy_gameserver_identity_binary()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_authorized_client_identity_string(from._internal_authorized_client_identity_string()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_set_gameserver_identity_string(from._internal_gameserver_identity_string()); - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.legacy_authorized_steam_id_ = from._impl_.legacy_authorized_steam_id_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.time_expiry_ = from._impl_.time_expiry_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.authorized_public_ip_ = from._impl_.authorized_public_ip_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.legacy_gameserver_steam_id_ = from._impl_.legacy_gameserver_steam_id_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.app_id_ = from._impl_.app_id_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.legacy_gameserver_pop_id_ = from._impl_.legacy_gameserver_pop_id_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.virtual_port_ = from._impl_.virtual_port_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramRelayAuthTicket::CopyFrom(const CMsgSteamDatagramRelayAuthTicket& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramRelayAuthTicket) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramRelayAuthTicket::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramRelayAuthTicket::InternalSwap(CMsgSteamDatagramRelayAuthTicket* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.extra_fields_.InternalSwap(&other->_impl_.extra_fields_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.gameserver_address_, lhs_arena, - &other->_impl_.gameserver_address_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.legacy_authorized_client_identity_binary_, lhs_arena, - &other->_impl_.legacy_authorized_client_identity_binary_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.legacy_gameserver_identity_binary_, lhs_arena, - &other->_impl_.legacy_gameserver_identity_binary_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.authorized_client_identity_string_, lhs_arena, - &other->_impl_.authorized_client_identity_string_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.gameserver_identity_string_, lhs_arena, - &other->_impl_.gameserver_identity_string_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRelayAuthTicket, _impl_.virtual_port_) - + sizeof(CMsgSteamDatagramRelayAuthTicket::_impl_.virtual_port_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRelayAuthTicket, _impl_.legacy_authorized_steam_id_)>( - reinterpret_cast(&_impl_.legacy_authorized_steam_id_), - reinterpret_cast(&other->_impl_.legacy_authorized_steam_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramRelayAuthTicket::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fauth_2eproto[1]); -} - -// =================================================================== - -class CMsgSteamDatagramSignedRelayAuthTicket::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_reserved_do_not_use(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_ticket(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_signature(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_key_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -void CMsgSteamDatagramSignedRelayAuthTicket::clear_certs() { - _impl_.certs_.Clear(); -} -CMsgSteamDatagramSignedRelayAuthTicket::CMsgSteamDatagramSignedRelayAuthTicket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramSignedRelayAuthTicket) -} -CMsgSteamDatagramSignedRelayAuthTicket::CMsgSteamDatagramSignedRelayAuthTicket(const CMsgSteamDatagramSignedRelayAuthTicket& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramSignedRelayAuthTicket* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.certs_){from._impl_.certs_} - , decltype(_impl_.ticket_){} - , decltype(_impl_.signature_){} - , decltype(_impl_.reserved_do_not_use_){} - , decltype(_impl_.key_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.ticket_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ticket_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_ticket()) { - _this->_impl_.ticket_.Set(from._internal_ticket(), - _this->GetArenaForAllocation()); - } - _impl_.signature_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_signature()) { - _this->_impl_.signature_.Set(from._internal_signature(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.reserved_do_not_use_, &from._impl_.reserved_do_not_use_, - static_cast(reinterpret_cast(&_impl_.key_id_) - - reinterpret_cast(&_impl_.reserved_do_not_use_)) + sizeof(_impl_.key_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramSignedRelayAuthTicket) -} - -inline void CMsgSteamDatagramSignedRelayAuthTicket::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.certs_){arena} - , decltype(_impl_.ticket_){} - , decltype(_impl_.signature_){} - , decltype(_impl_.reserved_do_not_use_){uint64_t{0u}} - , decltype(_impl_.key_id_){uint64_t{0u}} - }; - _impl_.ticket_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ticket_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramSignedRelayAuthTicket::~CMsgSteamDatagramSignedRelayAuthTicket() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramSignedRelayAuthTicket) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramSignedRelayAuthTicket::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.certs_.~RepeatedPtrField(); - _impl_.ticket_.Destroy(); - _impl_.signature_.Destroy(); -} - -void CMsgSteamDatagramSignedRelayAuthTicket::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramSignedRelayAuthTicket::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramSignedRelayAuthTicket) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.certs_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.ticket_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.signature_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000000cu) { - ::memset(&_impl_.reserved_do_not_use_, 0, static_cast( - reinterpret_cast(&_impl_.key_id_) - - reinterpret_cast(&_impl_.reserved_do_not_use_)) + sizeof(_impl_.key_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramSignedRelayAuthTicket::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 reserved_do_not_use = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_reserved_do_not_use(&has_bits); - _impl_.reserved_do_not_use_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional fixed64 key_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_key_id(&has_bits); - _impl_.key_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional bytes ticket = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_ticket(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes signature = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_signature(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgSteamDatagramCertificateSigned certs = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_certs(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramSignedRelayAuthTicket::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramSignedRelayAuthTicket) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 reserved_do_not_use = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_reserved_do_not_use(), target); - } - - // optional fixed64 key_id = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_key_id(), target); - } - - // optional bytes ticket = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 3, this->_internal_ticket(), target); - } - - // optional bytes signature = 4; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 4, this->_internal_signature(), target); - } - - // repeated .CMsgSteamDatagramCertificateSigned certs = 5; - for (unsigned i = 0, - n = static_cast(this->_internal_certs_size()); i < n; i++) { - const auto& repfield = this->_internal_certs(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramSignedRelayAuthTicket) - return target; -} - -size_t CMsgSteamDatagramSignedRelayAuthTicket::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramSignedRelayAuthTicket) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSteamDatagramCertificateSigned certs = 5; - total_size += 1UL * this->_internal_certs_size(); - for (const auto& msg : this->_impl_.certs_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional bytes ticket = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_ticket()); - } - - // optional bytes signature = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_signature()); - } - - // optional fixed64 reserved_do_not_use = 1; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 8; - } - - // optional fixed64 key_id = 2; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramSignedRelayAuthTicket::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramSignedRelayAuthTicket::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramSignedRelayAuthTicket::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramSignedRelayAuthTicket::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramSignedRelayAuthTicket) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.certs_.MergeFrom(from._impl_.certs_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_ticket(from._internal_ticket()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_signature(from._internal_signature()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.reserved_do_not_use_ = from._impl_.reserved_do_not_use_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.key_id_ = from._impl_.key_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramSignedRelayAuthTicket::CopyFrom(const CMsgSteamDatagramSignedRelayAuthTicket& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramSignedRelayAuthTicket) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramSignedRelayAuthTicket::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramSignedRelayAuthTicket::InternalSwap(CMsgSteamDatagramSignedRelayAuthTicket* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.certs_.InternalSwap(&other->_impl_.certs_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.ticket_, lhs_arena, - &other->_impl_.ticket_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.signature_, lhs_arena, - &other->_impl_.signature_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramSignedRelayAuthTicket, _impl_.key_id_) - + sizeof(CMsgSteamDatagramSignedRelayAuthTicket::_impl_.key_id_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramSignedRelayAuthTicket, _impl_.reserved_do_not_use_)>( - reinterpret_cast(&_impl_.reserved_do_not_use_), - reinterpret_cast(&other->_impl_.reserved_do_not_use_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramSignedRelayAuthTicket::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fauth_2eproto[2]); -} - -// =================================================================== - -class CMsgSteamDatagramCachedCredentialsForApp::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_private_key(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_cert(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgSteamDatagramCachedCredentialsForApp::CMsgSteamDatagramCachedCredentialsForApp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramCachedCredentialsForApp) -} -CMsgSteamDatagramCachedCredentialsForApp::CMsgSteamDatagramCachedCredentialsForApp(const CMsgSteamDatagramCachedCredentialsForApp& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramCachedCredentialsForApp* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.relay_tickets_){from._impl_.relay_tickets_} - , decltype(_impl_.private_key_){} - , decltype(_impl_.cert_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.private_key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.private_key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_private_key()) { - _this->_impl_.private_key_.Set(from._internal_private_key(), - _this->GetArenaForAllocation()); - } - _impl_.cert_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cert_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_cert()) { - _this->_impl_.cert_.Set(from._internal_cert(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramCachedCredentialsForApp) -} - -inline void CMsgSteamDatagramCachedCredentialsForApp::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.relay_tickets_){arena} - , decltype(_impl_.private_key_){} - , decltype(_impl_.cert_){} - }; - _impl_.private_key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.private_key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cert_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cert_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramCachedCredentialsForApp::~CMsgSteamDatagramCachedCredentialsForApp() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramCachedCredentialsForApp) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramCachedCredentialsForApp::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.relay_tickets_.~RepeatedPtrField(); - _impl_.private_key_.Destroy(); - _impl_.cert_.Destroy(); -} - -void CMsgSteamDatagramCachedCredentialsForApp::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramCachedCredentialsForApp::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramCachedCredentialsForApp) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.relay_tickets_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.private_key_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.cert_.ClearNonDefaultToEmpty(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramCachedCredentialsForApp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes private_key = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_private_key(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes cert = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_cert(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated bytes relay_tickets = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_relay_tickets(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramCachedCredentialsForApp::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramCachedCredentialsForApp) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes private_key = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_private_key(), target); - } - - // optional bytes cert = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_cert(), target); - } - - // repeated bytes relay_tickets = 3; - for (int i = 0, n = this->_internal_relay_tickets_size(); i < n; i++) { - const auto& s = this->_internal_relay_tickets(i); - target = stream->WriteBytes(3, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramCachedCredentialsForApp) - return target; -} - -size_t CMsgSteamDatagramCachedCredentialsForApp::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramCachedCredentialsForApp) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated bytes relay_tickets = 3; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.relay_tickets_.size()); - for (int i = 0, n = _impl_.relay_tickets_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - _impl_.relay_tickets_.Get(i)); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bytes private_key = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_private_key()); - } - - // optional bytes cert = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_cert()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramCachedCredentialsForApp::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramCachedCredentialsForApp::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramCachedCredentialsForApp::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramCachedCredentialsForApp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramCachedCredentialsForApp) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.relay_tickets_.MergeFrom(from._impl_.relay_tickets_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_private_key(from._internal_private_key()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_cert(from._internal_cert()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramCachedCredentialsForApp::CopyFrom(const CMsgSteamDatagramCachedCredentialsForApp& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramCachedCredentialsForApp) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramCachedCredentialsForApp::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramCachedCredentialsForApp::InternalSwap(CMsgSteamDatagramCachedCredentialsForApp* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.relay_tickets_.InternalSwap(&other->_impl_.relay_tickets_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.private_key_, lhs_arena, - &other->_impl_.private_key_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.cert_, lhs_arena, - &other->_impl_.cert_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramCachedCredentialsForApp::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fauth_2eproto[3]); -} - -// =================================================================== - -class CMsgSteamDatagramGameCoordinatorServerLogin::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_time_generated(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_routing(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_appdata(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_legacy_identity_binary(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_identity_string(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_dummy_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } -}; - -CMsgSteamDatagramGameCoordinatorServerLogin::CMsgSteamDatagramGameCoordinatorServerLogin(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramGameCoordinatorServerLogin) -} -CMsgSteamDatagramGameCoordinatorServerLogin::CMsgSteamDatagramGameCoordinatorServerLogin(const CMsgSteamDatagramGameCoordinatorServerLogin& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramGameCoordinatorServerLogin* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.routing_){} - , decltype(_impl_.appdata_){} - , decltype(_impl_.legacy_identity_binary_){} - , decltype(_impl_.identity_string_){} - , decltype(_impl_.time_generated_){} - , decltype(_impl_.appid_){} - , decltype(_impl_.dummy_steam_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.routing_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.routing_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_routing()) { - _this->_impl_.routing_.Set(from._internal_routing(), - _this->GetArenaForAllocation()); - } - _impl_.appdata_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.appdata_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_appdata()) { - _this->_impl_.appdata_.Set(from._internal_appdata(), - _this->GetArenaForAllocation()); - } - _impl_.legacy_identity_binary_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.legacy_identity_binary_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_legacy_identity_binary()) { - _this->_impl_.legacy_identity_binary_.Set(from._internal_legacy_identity_binary(), - _this->GetArenaForAllocation()); - } - _impl_.identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_identity_string()) { - _this->_impl_.identity_string_.Set(from._internal_identity_string(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.time_generated_, &from._impl_.time_generated_, - static_cast(reinterpret_cast(&_impl_.dummy_steam_id_) - - reinterpret_cast(&_impl_.time_generated_)) + sizeof(_impl_.dummy_steam_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramGameCoordinatorServerLogin) -} - -inline void CMsgSteamDatagramGameCoordinatorServerLogin::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.routing_){} - , decltype(_impl_.appdata_){} - , decltype(_impl_.legacy_identity_binary_){} - , decltype(_impl_.identity_string_){} - , decltype(_impl_.time_generated_){0u} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.dummy_steam_id_){uint64_t{0u}} - }; - _impl_.routing_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.routing_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.appdata_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.appdata_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.legacy_identity_binary_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.legacy_identity_binary_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramGameCoordinatorServerLogin::~CMsgSteamDatagramGameCoordinatorServerLogin() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramGameCoordinatorServerLogin) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramGameCoordinatorServerLogin::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.routing_.Destroy(); - _impl_.appdata_.Destroy(); - _impl_.legacy_identity_binary_.Destroy(); - _impl_.identity_string_.Destroy(); -} - -void CMsgSteamDatagramGameCoordinatorServerLogin::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramGameCoordinatorServerLogin::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramGameCoordinatorServerLogin) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.routing_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.appdata_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.legacy_identity_binary_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.identity_string_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x00000070u) { - ::memset(&_impl_.time_generated_, 0, static_cast( - reinterpret_cast(&_impl_.dummy_steam_id_) - - reinterpret_cast(&_impl_.time_generated_)) + sizeof(_impl_.dummy_steam_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramGameCoordinatorServerLogin::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 time_generated = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_time_generated(&has_bits); - _impl_.time_generated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 appid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes routing = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_routing(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes appdata = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_appdata(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes legacy_identity_binary = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_legacy_identity_binary(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string identity_string = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_identity_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramGameCoordinatorServerLogin.identity_string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional fixed64 dummy_steam_id = 99; - case 99: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_dummy_steam_id(&has_bits); - _impl_.dummy_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramGameCoordinatorServerLogin::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramGameCoordinatorServerLogin) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 time_generated = 1; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_time_generated(), target); - } - - // optional uint32 appid = 2; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_appid(), target); - } - - // optional bytes routing = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 3, this->_internal_routing(), target); - } - - // optional bytes appdata = 4; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 4, this->_internal_appdata(), target); - } - - // optional bytes legacy_identity_binary = 5; - if (cached_has_bits & 0x00000004u) { - target = stream->WriteBytesMaybeAliased( - 5, this->_internal_legacy_identity_binary(), target); - } - - // optional string identity_string = 6; - if (cached_has_bits & 0x00000008u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_identity_string().data(), static_cast(this->_internal_identity_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramGameCoordinatorServerLogin.identity_string"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_identity_string(), target); - } - - // optional fixed64 dummy_steam_id = 99; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(99, this->_internal_dummy_steam_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramGameCoordinatorServerLogin) - return target; -} - -size_t CMsgSteamDatagramGameCoordinatorServerLogin::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramGameCoordinatorServerLogin) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional bytes routing = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_routing()); - } - - // optional bytes appdata = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_appdata()); - } - - // optional bytes legacy_identity_binary = 5; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_legacy_identity_binary()); - } - - // optional string identity_string = 6; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_identity_string()); - } - - // optional uint32 time_generated = 1; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_generated()); - } - - // optional uint32 appid = 2; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional fixed64 dummy_steam_id = 99; - if (cached_has_bits & 0x00000040u) { - total_size += 2 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramGameCoordinatorServerLogin::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramGameCoordinatorServerLogin::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramGameCoordinatorServerLogin::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramGameCoordinatorServerLogin::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramGameCoordinatorServerLogin) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_routing(from._internal_routing()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_appdata(from._internal_appdata()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_legacy_identity_binary(from._internal_legacy_identity_binary()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_identity_string(from._internal_identity_string()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.time_generated_ = from._impl_.time_generated_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.dummy_steam_id_ = from._impl_.dummy_steam_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramGameCoordinatorServerLogin::CopyFrom(const CMsgSteamDatagramGameCoordinatorServerLogin& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramGameCoordinatorServerLogin) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramGameCoordinatorServerLogin::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramGameCoordinatorServerLogin::InternalSwap(CMsgSteamDatagramGameCoordinatorServerLogin* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.routing_, lhs_arena, - &other->_impl_.routing_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.appdata_, lhs_arena, - &other->_impl_.appdata_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.legacy_identity_binary_, lhs_arena, - &other->_impl_.legacy_identity_binary_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.identity_string_, lhs_arena, - &other->_impl_.identity_string_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameCoordinatorServerLogin, _impl_.dummy_steam_id_) - + sizeof(CMsgSteamDatagramGameCoordinatorServerLogin::_impl_.dummy_steam_id_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameCoordinatorServerLogin, _impl_.time_generated_)>( - reinterpret_cast(&_impl_.time_generated_), - reinterpret_cast(&other->_impl_.time_generated_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramGameCoordinatorServerLogin::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fauth_2eproto[4]); -} - -// =================================================================== - -class CMsgSteamDatagramSignedGameCoordinatorServerLogin::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamDatagramSignedGameCoordinatorServerLogin* msg); - static void set_has_cert(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_login(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_signature(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgSteamDatagramCertificateSigned& -CMsgSteamDatagramSignedGameCoordinatorServerLogin::_Internal::cert(const CMsgSteamDatagramSignedGameCoordinatorServerLogin* msg) { - return *msg->_impl_.cert_; -} -void CMsgSteamDatagramSignedGameCoordinatorServerLogin::clear_cert() { - if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -CMsgSteamDatagramSignedGameCoordinatorServerLogin::CMsgSteamDatagramSignedGameCoordinatorServerLogin(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramSignedGameCoordinatorServerLogin) -} -CMsgSteamDatagramSignedGameCoordinatorServerLogin::CMsgSteamDatagramSignedGameCoordinatorServerLogin(const CMsgSteamDatagramSignedGameCoordinatorServerLogin& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramSignedGameCoordinatorServerLogin* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.login_){} - , decltype(_impl_.signature_){} - , decltype(_impl_.cert_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.login_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.login_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_login()) { - _this->_impl_.login_.Set(from._internal_login(), - _this->GetArenaForAllocation()); - } - _impl_.signature_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_signature()) { - _this->_impl_.signature_.Set(from._internal_signature(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_cert()) { - _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); - } - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramSignedGameCoordinatorServerLogin) -} - -inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.login_){} - , decltype(_impl_.signature_){} - , decltype(_impl_.cert_){nullptr} - }; - _impl_.login_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.login_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramSignedGameCoordinatorServerLogin::~CMsgSteamDatagramSignedGameCoordinatorServerLogin() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramSignedGameCoordinatorServerLogin) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.login_.Destroy(); - _impl_.signature_.Destroy(); - if (this != internal_default_instance()) delete _impl_.cert_; -} - -void CMsgSteamDatagramSignedGameCoordinatorServerLogin::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramSignedGameCoordinatorServerLogin::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramSignedGameCoordinatorServerLogin) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.login_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.signature_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.cert_ != nullptr); - _impl_.cert_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramSignedGameCoordinatorServerLogin::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSteamDatagramCertificateSigned cert = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes login = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_login(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes signature = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_signature(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramSignedGameCoordinatorServerLogin::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramSignedGameCoordinatorServerLogin) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSteamDatagramCertificateSigned cert = 1; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::cert(this), - _Internal::cert(this).GetCachedSize(), target, stream); - } - - // optional bytes login = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_login(), target); - } - - // optional bytes signature = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 3, this->_internal_signature(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramSignedGameCoordinatorServerLogin) - return target; -} - -size_t CMsgSteamDatagramSignedGameCoordinatorServerLogin::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramSignedGameCoordinatorServerLogin) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional bytes login = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_login()); - } - - // optional bytes signature = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_signature()); - } - - // optional .CMsgSteamDatagramCertificateSigned cert = 1; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cert_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramSignedGameCoordinatorServerLogin::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramSignedGameCoordinatorServerLogin::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramSignedGameCoordinatorServerLogin::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramSignedGameCoordinatorServerLogin::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramSignedGameCoordinatorServerLogin) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_login(from._internal_login()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_signature(from._internal_signature()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( - from._internal_cert()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramSignedGameCoordinatorServerLogin::CopyFrom(const CMsgSteamDatagramSignedGameCoordinatorServerLogin& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramSignedGameCoordinatorServerLogin) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramSignedGameCoordinatorServerLogin::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramSignedGameCoordinatorServerLogin::InternalSwap(CMsgSteamDatagramSignedGameCoordinatorServerLogin* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.login_, lhs_arena, - &other->_impl_.login_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.signature_, lhs_arena, - &other->_impl_.signature_, rhs_arena - ); - swap(_impl_.cert_, other->_impl_.cert_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramSignedGameCoordinatorServerLogin::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fauth_2eproto[5]); -} - -// =================================================================== - -class CMsgSteamDatagramHostedServerAddressPlaintext::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ipv4(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_ipv6(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_port(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_routing_secret(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_protocol_version(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CMsgSteamDatagramHostedServerAddressPlaintext::CMsgSteamDatagramHostedServerAddressPlaintext(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramHostedServerAddressPlaintext) -} -CMsgSteamDatagramHostedServerAddressPlaintext::CMsgSteamDatagramHostedServerAddressPlaintext(const CMsgSteamDatagramHostedServerAddressPlaintext& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramHostedServerAddressPlaintext* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ipv6_){} - , decltype(_impl_.ipv4_){} - , decltype(_impl_.port_){} - , decltype(_impl_.routing_secret_){} - , decltype(_impl_.protocol_version_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.ipv6_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ipv6_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_ipv6()) { - _this->_impl_.ipv6_.Set(from._internal_ipv6(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.ipv4_, &from._impl_.ipv4_, - static_cast(reinterpret_cast(&_impl_.protocol_version_) - - reinterpret_cast(&_impl_.ipv4_)) + sizeof(_impl_.protocol_version_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramHostedServerAddressPlaintext) -} - -inline void CMsgSteamDatagramHostedServerAddressPlaintext::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ipv6_){} - , decltype(_impl_.ipv4_){0u} - , decltype(_impl_.port_){0u} - , decltype(_impl_.routing_secret_){uint64_t{0u}} - , decltype(_impl_.protocol_version_){0u} - }; - _impl_.ipv6_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ipv6_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramHostedServerAddressPlaintext::~CMsgSteamDatagramHostedServerAddressPlaintext() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramHostedServerAddressPlaintext) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramHostedServerAddressPlaintext::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.ipv6_.Destroy(); -} - -void CMsgSteamDatagramHostedServerAddressPlaintext::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramHostedServerAddressPlaintext::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramHostedServerAddressPlaintext) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.ipv6_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000001eu) { - ::memset(&_impl_.ipv4_, 0, static_cast( - reinterpret_cast(&_impl_.protocol_version_) - - reinterpret_cast(&_impl_.ipv4_)) + sizeof(_impl_.protocol_version_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramHostedServerAddressPlaintext::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 ipv4 = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_ipv4(&has_bits); - _impl_.ipv4_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional bytes ipv6 = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_ipv6(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 port = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_port(&has_bits); - _impl_.port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 routing_secret = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { - _Internal::set_has_routing_secret(&has_bits); - _impl_.routing_secret_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 protocol_version = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_protocol_version(&has_bits); - _impl_.protocol_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramHostedServerAddressPlaintext::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramHostedServerAddressPlaintext) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 ipv4 = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_ipv4(), target); - } - - // optional bytes ipv6 = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_ipv6(), target); - } - - // optional uint32 port = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_port(), target); - } - - // optional fixed64 routing_secret = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_routing_secret(), target); - } - - // optional uint32 protocol_version = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_protocol_version(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramHostedServerAddressPlaintext) - return target; -} - -size_t CMsgSteamDatagramHostedServerAddressPlaintext::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramHostedServerAddressPlaintext) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional bytes ipv6 = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_ipv6()); - } - - // optional fixed32 ipv4 = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional uint32 port = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_port()); - } - - // optional fixed64 routing_secret = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 8; - } - - // optional uint32 protocol_version = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_protocol_version()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramHostedServerAddressPlaintext::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramHostedServerAddressPlaintext::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramHostedServerAddressPlaintext::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramHostedServerAddressPlaintext::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramHostedServerAddressPlaintext) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_ipv6(from._internal_ipv6()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.ipv4_ = from._impl_.ipv4_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.port_ = from._impl_.port_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.routing_secret_ = from._impl_.routing_secret_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.protocol_version_ = from._impl_.protocol_version_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramHostedServerAddressPlaintext::CopyFrom(const CMsgSteamDatagramHostedServerAddressPlaintext& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramHostedServerAddressPlaintext) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramHostedServerAddressPlaintext::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramHostedServerAddressPlaintext::InternalSwap(CMsgSteamDatagramHostedServerAddressPlaintext* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.ipv6_, lhs_arena, - &other->_impl_.ipv6_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramHostedServerAddressPlaintext, _impl_.protocol_version_) - + sizeof(CMsgSteamDatagramHostedServerAddressPlaintext::_impl_.protocol_version_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramHostedServerAddressPlaintext, _impl_.ipv4_)>( - reinterpret_cast(&_impl_.ipv4_), - reinterpret_cast(&other->_impl_.ipv4_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramHostedServerAddressPlaintext::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fauth_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fauth_2eproto[6]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramRelayAuthTicket_ExtraField* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramRelayAuthTicket_ExtraField >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramRelayAuthTicket_ExtraField >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramRelayAuthTicket* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramRelayAuthTicket >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramRelayAuthTicket >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramSignedRelayAuthTicket* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramSignedRelayAuthTicket >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramSignedRelayAuthTicket >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramCachedCredentialsForApp* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramCachedCredentialsForApp >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramCachedCredentialsForApp >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramGameCoordinatorServerLogin* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramGameCoordinatorServerLogin >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramGameCoordinatorServerLogin >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramSignedGameCoordinatorServerLogin* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramSignedGameCoordinatorServerLogin >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramSignedGameCoordinatorServerLogin >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramHostedServerAddressPlaintext* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramHostedServerAddressPlaintext >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramHostedServerAddressPlaintext >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/steamdatagram_messages_auth.pb.h b/protobuf/generated/steamdatagram_messages_auth.pb.h deleted file mode 100644 index 60a7df405..000000000 --- a/protobuf/generated/steamdatagram_messages_auth.pb.h +++ /dev/null @@ -1,3836 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steamdatagram_messages_auth.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_steamdatagram_5fmessages_5fauth_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_steamdatagram_5fmessages_5fauth_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "steamnetworkingsockets_messages_certs.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_steamdatagram_5fmessages_5fauth_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_steamdatagram_5fmessages_5fauth_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steamdatagram_5fmessages_5fauth_2eproto; -class CMsgSteamDatagramCachedCredentialsForApp; -struct CMsgSteamDatagramCachedCredentialsForAppDefaultTypeInternal; -extern CMsgSteamDatagramCachedCredentialsForAppDefaultTypeInternal _CMsgSteamDatagramCachedCredentialsForApp_default_instance_; -class CMsgSteamDatagramGameCoordinatorServerLogin; -struct CMsgSteamDatagramGameCoordinatorServerLoginDefaultTypeInternal; -extern CMsgSteamDatagramGameCoordinatorServerLoginDefaultTypeInternal _CMsgSteamDatagramGameCoordinatorServerLogin_default_instance_; -class CMsgSteamDatagramHostedServerAddressPlaintext; -struct CMsgSteamDatagramHostedServerAddressPlaintextDefaultTypeInternal; -extern CMsgSteamDatagramHostedServerAddressPlaintextDefaultTypeInternal _CMsgSteamDatagramHostedServerAddressPlaintext_default_instance_; -class CMsgSteamDatagramRelayAuthTicket; -struct CMsgSteamDatagramRelayAuthTicketDefaultTypeInternal; -extern CMsgSteamDatagramRelayAuthTicketDefaultTypeInternal _CMsgSteamDatagramRelayAuthTicket_default_instance_; -class CMsgSteamDatagramRelayAuthTicket_ExtraField; -struct CMsgSteamDatagramRelayAuthTicket_ExtraFieldDefaultTypeInternal; -extern CMsgSteamDatagramRelayAuthTicket_ExtraFieldDefaultTypeInternal _CMsgSteamDatagramRelayAuthTicket_ExtraField_default_instance_; -class CMsgSteamDatagramSignedGameCoordinatorServerLogin; -struct CMsgSteamDatagramSignedGameCoordinatorServerLoginDefaultTypeInternal; -extern CMsgSteamDatagramSignedGameCoordinatorServerLoginDefaultTypeInternal _CMsgSteamDatagramSignedGameCoordinatorServerLogin_default_instance_; -class CMsgSteamDatagramSignedRelayAuthTicket; -struct CMsgSteamDatagramSignedRelayAuthTicketDefaultTypeInternal; -extern CMsgSteamDatagramSignedRelayAuthTicketDefaultTypeInternal _CMsgSteamDatagramSignedRelayAuthTicket_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CMsgSteamDatagramCachedCredentialsForApp* Arena::CreateMaybeMessage<::CMsgSteamDatagramCachedCredentialsForApp>(Arena*); -template<> ::CMsgSteamDatagramGameCoordinatorServerLogin* Arena::CreateMaybeMessage<::CMsgSteamDatagramGameCoordinatorServerLogin>(Arena*); -template<> ::CMsgSteamDatagramHostedServerAddressPlaintext* Arena::CreateMaybeMessage<::CMsgSteamDatagramHostedServerAddressPlaintext>(Arena*); -template<> ::CMsgSteamDatagramRelayAuthTicket* Arena::CreateMaybeMessage<::CMsgSteamDatagramRelayAuthTicket>(Arena*); -template<> ::CMsgSteamDatagramRelayAuthTicket_ExtraField* Arena::CreateMaybeMessage<::CMsgSteamDatagramRelayAuthTicket_ExtraField>(Arena*); -template<> ::CMsgSteamDatagramSignedGameCoordinatorServerLogin* Arena::CreateMaybeMessage<::CMsgSteamDatagramSignedGameCoordinatorServerLogin>(Arena*); -template<> ::CMsgSteamDatagramSignedRelayAuthTicket* Arena::CreateMaybeMessage<::CMsgSteamDatagramSignedRelayAuthTicket>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -// =================================================================== - -class CMsgSteamDatagramRelayAuthTicket_ExtraField : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramRelayAuthTicket.ExtraField) */ { - public: - inline CMsgSteamDatagramRelayAuthTicket_ExtraField() : CMsgSteamDatagramRelayAuthTicket_ExtraField(nullptr) {} - ~CMsgSteamDatagramRelayAuthTicket_ExtraField() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramRelayAuthTicket_ExtraField(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramRelayAuthTicket_ExtraField(const CMsgSteamDatagramRelayAuthTicket_ExtraField& from); - CMsgSteamDatagramRelayAuthTicket_ExtraField(CMsgSteamDatagramRelayAuthTicket_ExtraField&& from) noexcept - : CMsgSteamDatagramRelayAuthTicket_ExtraField() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramRelayAuthTicket_ExtraField& operator=(const CMsgSteamDatagramRelayAuthTicket_ExtraField& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramRelayAuthTicket_ExtraField& operator=(CMsgSteamDatagramRelayAuthTicket_ExtraField&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramRelayAuthTicket_ExtraField& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramRelayAuthTicket_ExtraField* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramRelayAuthTicket_ExtraField_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CMsgSteamDatagramRelayAuthTicket_ExtraField& a, CMsgSteamDatagramRelayAuthTicket_ExtraField& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramRelayAuthTicket_ExtraField* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramRelayAuthTicket_ExtraField* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramRelayAuthTicket_ExtraField* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramRelayAuthTicket_ExtraField& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramRelayAuthTicket_ExtraField& from) { - CMsgSteamDatagramRelayAuthTicket_ExtraField::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramRelayAuthTicket_ExtraField* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramRelayAuthTicket.ExtraField"; - } - protected: - explicit CMsgSteamDatagramRelayAuthTicket_ExtraField(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 1, - kStringValueFieldNumber = 2, - kInt64ValueFieldNumber = 3, - kFixed64ValueFieldNumber = 5, - }; - // optional string name = 1; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional string string_value = 2; - bool has_string_value() const; - private: - bool _internal_has_string_value() const; - public: - void clear_string_value(); - const std::string& string_value() const; - template - void set_string_value(ArgT0&& arg0, ArgT... args); - std::string* mutable_string_value(); - PROTOBUF_NODISCARD std::string* release_string_value(); - void set_allocated_string_value(std::string* string_value); - private: - const std::string& _internal_string_value() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value); - std::string* _internal_mutable_string_value(); - public: - - // optional sint64 int64_value = 3; - bool has_int64_value() const; - private: - bool _internal_has_int64_value() const; - public: - void clear_int64_value(); - int64_t int64_value() const; - void set_int64_value(int64_t value); - private: - int64_t _internal_int64_value() const; - void _internal_set_int64_value(int64_t value); - public: - - // optional fixed64 fixed64_value = 5; - bool has_fixed64_value() const; - private: - bool _internal_has_fixed64_value() const; - public: - void clear_fixed64_value(); - uint64_t fixed64_value() const; - void set_fixed64_value(uint64_t value); - private: - uint64_t _internal_fixed64_value() const; - void _internal_set_fixed64_value(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramRelayAuthTicket.ExtraField) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_; - int64_t int64_value_; - uint64_t fixed64_value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fauth_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramRelayAuthTicket : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramRelayAuthTicket) */ { - public: - inline CMsgSteamDatagramRelayAuthTicket() : CMsgSteamDatagramRelayAuthTicket(nullptr) {} - ~CMsgSteamDatagramRelayAuthTicket() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramRelayAuthTicket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramRelayAuthTicket(const CMsgSteamDatagramRelayAuthTicket& from); - CMsgSteamDatagramRelayAuthTicket(CMsgSteamDatagramRelayAuthTicket&& from) noexcept - : CMsgSteamDatagramRelayAuthTicket() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramRelayAuthTicket& operator=(const CMsgSteamDatagramRelayAuthTicket& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramRelayAuthTicket& operator=(CMsgSteamDatagramRelayAuthTicket&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramRelayAuthTicket& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramRelayAuthTicket* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramRelayAuthTicket_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CMsgSteamDatagramRelayAuthTicket& a, CMsgSteamDatagramRelayAuthTicket& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramRelayAuthTicket* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramRelayAuthTicket* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramRelayAuthTicket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramRelayAuthTicket& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramRelayAuthTicket& from) { - CMsgSteamDatagramRelayAuthTicket::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramRelayAuthTicket* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramRelayAuthTicket"; - } - protected: - explicit CMsgSteamDatagramRelayAuthTicket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamDatagramRelayAuthTicket_ExtraField ExtraField; - - // accessors ------------------------------------------------------- - - enum : int { - kExtraFieldsFieldNumber = 8, - kGameserverAddressFieldNumber = 11, - kLegacyAuthorizedClientIdentityBinaryFieldNumber = 12, - kLegacyGameserverIdentityBinaryFieldNumber = 13, - kAuthorizedClientIdentityStringFieldNumber = 14, - kGameserverIdentityStringFieldNumber = 15, - kLegacyAuthorizedSteamIdFieldNumber = 2, - kTimeExpiryFieldNumber = 1, - kAuthorizedPublicIpFieldNumber = 3, - kLegacyGameserverSteamIdFieldNumber = 4, - kAppIdFieldNumber = 7, - kLegacyGameserverPopIdFieldNumber = 9, - kVirtualPortFieldNumber = 10, - }; - // repeated .CMsgSteamDatagramRelayAuthTicket.ExtraField extra_fields = 8; - int extra_fields_size() const; - private: - int _internal_extra_fields_size() const; - public: - void clear_extra_fields(); - ::CMsgSteamDatagramRelayAuthTicket_ExtraField* mutable_extra_fields(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRelayAuthTicket_ExtraField >* - mutable_extra_fields(); - private: - const ::CMsgSteamDatagramRelayAuthTicket_ExtraField& _internal_extra_fields(int index) const; - ::CMsgSteamDatagramRelayAuthTicket_ExtraField* _internal_add_extra_fields(); - public: - const ::CMsgSteamDatagramRelayAuthTicket_ExtraField& extra_fields(int index) const; - ::CMsgSteamDatagramRelayAuthTicket_ExtraField* add_extra_fields(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRelayAuthTicket_ExtraField >& - extra_fields() const; - - // optional bytes gameserver_address = 11; - bool has_gameserver_address() const; - private: - bool _internal_has_gameserver_address() const; - public: - void clear_gameserver_address(); - const std::string& gameserver_address() const; - template - void set_gameserver_address(ArgT0&& arg0, ArgT... args); - std::string* mutable_gameserver_address(); - PROTOBUF_NODISCARD std::string* release_gameserver_address(); - void set_allocated_gameserver_address(std::string* gameserver_address); - private: - const std::string& _internal_gameserver_address() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_gameserver_address(const std::string& value); - std::string* _internal_mutable_gameserver_address(); - public: - - // optional bytes legacy_authorized_client_identity_binary = 12; - bool has_legacy_authorized_client_identity_binary() const; - private: - bool _internal_has_legacy_authorized_client_identity_binary() const; - public: - void clear_legacy_authorized_client_identity_binary(); - const std::string& legacy_authorized_client_identity_binary() const; - template - void set_legacy_authorized_client_identity_binary(ArgT0&& arg0, ArgT... args); - std::string* mutable_legacy_authorized_client_identity_binary(); - PROTOBUF_NODISCARD std::string* release_legacy_authorized_client_identity_binary(); - void set_allocated_legacy_authorized_client_identity_binary(std::string* legacy_authorized_client_identity_binary); - private: - const std::string& _internal_legacy_authorized_client_identity_binary() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_legacy_authorized_client_identity_binary(const std::string& value); - std::string* _internal_mutable_legacy_authorized_client_identity_binary(); - public: - - // optional bytes legacy_gameserver_identity_binary = 13; - bool has_legacy_gameserver_identity_binary() const; - private: - bool _internal_has_legacy_gameserver_identity_binary() const; - public: - void clear_legacy_gameserver_identity_binary(); - const std::string& legacy_gameserver_identity_binary() const; - template - void set_legacy_gameserver_identity_binary(ArgT0&& arg0, ArgT... args); - std::string* mutable_legacy_gameserver_identity_binary(); - PROTOBUF_NODISCARD std::string* release_legacy_gameserver_identity_binary(); - void set_allocated_legacy_gameserver_identity_binary(std::string* legacy_gameserver_identity_binary); - private: - const std::string& _internal_legacy_gameserver_identity_binary() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_legacy_gameserver_identity_binary(const std::string& value); - std::string* _internal_mutable_legacy_gameserver_identity_binary(); - public: - - // optional string authorized_client_identity_string = 14; - bool has_authorized_client_identity_string() const; - private: - bool _internal_has_authorized_client_identity_string() const; - public: - void clear_authorized_client_identity_string(); - const std::string& authorized_client_identity_string() const; - template - void set_authorized_client_identity_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_authorized_client_identity_string(); - PROTOBUF_NODISCARD std::string* release_authorized_client_identity_string(); - void set_allocated_authorized_client_identity_string(std::string* authorized_client_identity_string); - private: - const std::string& _internal_authorized_client_identity_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_authorized_client_identity_string(const std::string& value); - std::string* _internal_mutable_authorized_client_identity_string(); - public: - - // optional string gameserver_identity_string = 15; - bool has_gameserver_identity_string() const; - private: - bool _internal_has_gameserver_identity_string() const; - public: - void clear_gameserver_identity_string(); - const std::string& gameserver_identity_string() const; - template - void set_gameserver_identity_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_gameserver_identity_string(); - PROTOBUF_NODISCARD std::string* release_gameserver_identity_string(); - void set_allocated_gameserver_identity_string(std::string* gameserver_identity_string); - private: - const std::string& _internal_gameserver_identity_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_gameserver_identity_string(const std::string& value); - std::string* _internal_mutable_gameserver_identity_string(); - public: - - // optional fixed64 legacy_authorized_steam_id = 2; - bool has_legacy_authorized_steam_id() const; - private: - bool _internal_has_legacy_authorized_steam_id() const; - public: - void clear_legacy_authorized_steam_id(); - uint64_t legacy_authorized_steam_id() const; - void set_legacy_authorized_steam_id(uint64_t value); - private: - uint64_t _internal_legacy_authorized_steam_id() const; - void _internal_set_legacy_authorized_steam_id(uint64_t value); - public: - - // optional fixed32 time_expiry = 1; - bool has_time_expiry() const; - private: - bool _internal_has_time_expiry() const; - public: - void clear_time_expiry(); - uint32_t time_expiry() const; - void set_time_expiry(uint32_t value); - private: - uint32_t _internal_time_expiry() const; - void _internal_set_time_expiry(uint32_t value); - public: - - // optional fixed32 authorized_public_ip = 3; - bool has_authorized_public_ip() const; - private: - bool _internal_has_authorized_public_ip() const; - public: - void clear_authorized_public_ip(); - uint32_t authorized_public_ip() const; - void set_authorized_public_ip(uint32_t value); - private: - uint32_t _internal_authorized_public_ip() const; - void _internal_set_authorized_public_ip(uint32_t value); - public: - - // optional fixed64 legacy_gameserver_steam_id = 4; - bool has_legacy_gameserver_steam_id() const; - private: - bool _internal_has_legacy_gameserver_steam_id() const; - public: - void clear_legacy_gameserver_steam_id(); - uint64_t legacy_gameserver_steam_id() const; - void set_legacy_gameserver_steam_id(uint64_t value); - private: - uint64_t _internal_legacy_gameserver_steam_id() const; - void _internal_set_legacy_gameserver_steam_id(uint64_t value); - public: - - // optional uint32 app_id = 7; - bool has_app_id() const; - private: - bool _internal_has_app_id() const; - public: - void clear_app_id(); - uint32_t app_id() const; - void set_app_id(uint32_t value); - private: - uint32_t _internal_app_id() const; - void _internal_set_app_id(uint32_t value); - public: - - // optional fixed32 legacy_gameserver_pop_id = 9; - bool has_legacy_gameserver_pop_id() const; - private: - bool _internal_has_legacy_gameserver_pop_id() const; - public: - void clear_legacy_gameserver_pop_id(); - uint32_t legacy_gameserver_pop_id() const; - void set_legacy_gameserver_pop_id(uint32_t value); - private: - uint32_t _internal_legacy_gameserver_pop_id() const; - void _internal_set_legacy_gameserver_pop_id(uint32_t value); - public: - - // optional uint32 virtual_port = 10; - bool has_virtual_port() const; - private: - bool _internal_has_virtual_port() const; - public: - void clear_virtual_port(); - uint32_t virtual_port() const; - void set_virtual_port(uint32_t value); - private: - uint32_t _internal_virtual_port() const; - void _internal_set_virtual_port(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramRelayAuthTicket) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRelayAuthTicket_ExtraField > extra_fields_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gameserver_address_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr legacy_authorized_client_identity_binary_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr legacy_gameserver_identity_binary_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr authorized_client_identity_string_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gameserver_identity_string_; - uint64_t legacy_authorized_steam_id_; - uint32_t time_expiry_; - uint32_t authorized_public_ip_; - uint64_t legacy_gameserver_steam_id_; - uint32_t app_id_; - uint32_t legacy_gameserver_pop_id_; - uint32_t virtual_port_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fauth_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramSignedRelayAuthTicket : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramSignedRelayAuthTicket) */ { - public: - inline CMsgSteamDatagramSignedRelayAuthTicket() : CMsgSteamDatagramSignedRelayAuthTicket(nullptr) {} - ~CMsgSteamDatagramSignedRelayAuthTicket() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramSignedRelayAuthTicket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramSignedRelayAuthTicket(const CMsgSteamDatagramSignedRelayAuthTicket& from); - CMsgSteamDatagramSignedRelayAuthTicket(CMsgSteamDatagramSignedRelayAuthTicket&& from) noexcept - : CMsgSteamDatagramSignedRelayAuthTicket() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramSignedRelayAuthTicket& operator=(const CMsgSteamDatagramSignedRelayAuthTicket& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramSignedRelayAuthTicket& operator=(CMsgSteamDatagramSignedRelayAuthTicket&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramSignedRelayAuthTicket& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramSignedRelayAuthTicket* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramSignedRelayAuthTicket_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CMsgSteamDatagramSignedRelayAuthTicket& a, CMsgSteamDatagramSignedRelayAuthTicket& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramSignedRelayAuthTicket* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramSignedRelayAuthTicket* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramSignedRelayAuthTicket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramSignedRelayAuthTicket& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramSignedRelayAuthTicket& from) { - CMsgSteamDatagramSignedRelayAuthTicket::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramSignedRelayAuthTicket* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramSignedRelayAuthTicket"; - } - protected: - explicit CMsgSteamDatagramSignedRelayAuthTicket(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCertsFieldNumber = 5, - kTicketFieldNumber = 3, - kSignatureFieldNumber = 4, - kReservedDoNotUseFieldNumber = 1, - kKeyIdFieldNumber = 2, - }; - // repeated .CMsgSteamDatagramCertificateSigned certs = 5; - int certs_size() const; - private: - int _internal_certs_size() const; - public: - void clear_certs(); - ::CMsgSteamDatagramCertificateSigned* mutable_certs(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramCertificateSigned >* - mutable_certs(); - private: - const ::CMsgSteamDatagramCertificateSigned& _internal_certs(int index) const; - ::CMsgSteamDatagramCertificateSigned* _internal_add_certs(); - public: - const ::CMsgSteamDatagramCertificateSigned& certs(int index) const; - ::CMsgSteamDatagramCertificateSigned* add_certs(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramCertificateSigned >& - certs() const; - - // optional bytes ticket = 3; - bool has_ticket() const; - private: - bool _internal_has_ticket() const; - public: - void clear_ticket(); - const std::string& ticket() const; - template - void set_ticket(ArgT0&& arg0, ArgT... args); - std::string* mutable_ticket(); - PROTOBUF_NODISCARD std::string* release_ticket(); - void set_allocated_ticket(std::string* ticket); - private: - const std::string& _internal_ticket() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_ticket(const std::string& value); - std::string* _internal_mutable_ticket(); - public: - - // optional bytes signature = 4; - bool has_signature() const; - private: - bool _internal_has_signature() const; - public: - void clear_signature(); - const std::string& signature() const; - template - void set_signature(ArgT0&& arg0, ArgT... args); - std::string* mutable_signature(); - PROTOBUF_NODISCARD std::string* release_signature(); - void set_allocated_signature(std::string* signature); - private: - const std::string& _internal_signature() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_signature(const std::string& value); - std::string* _internal_mutable_signature(); - public: - - // optional fixed64 reserved_do_not_use = 1; - bool has_reserved_do_not_use() const; - private: - bool _internal_has_reserved_do_not_use() const; - public: - void clear_reserved_do_not_use(); - uint64_t reserved_do_not_use() const; - void set_reserved_do_not_use(uint64_t value); - private: - uint64_t _internal_reserved_do_not_use() const; - void _internal_set_reserved_do_not_use(uint64_t value); - public: - - // optional fixed64 key_id = 2; - bool has_key_id() const; - private: - bool _internal_has_key_id() const; - public: - void clear_key_id(); - uint64_t key_id() const; - void set_key_id(uint64_t value); - private: - uint64_t _internal_key_id() const; - void _internal_set_key_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramSignedRelayAuthTicket) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramCertificateSigned > certs_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ticket_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signature_; - uint64_t reserved_do_not_use_; - uint64_t key_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fauth_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramCachedCredentialsForApp : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramCachedCredentialsForApp) */ { - public: - inline CMsgSteamDatagramCachedCredentialsForApp() : CMsgSteamDatagramCachedCredentialsForApp(nullptr) {} - ~CMsgSteamDatagramCachedCredentialsForApp() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramCachedCredentialsForApp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramCachedCredentialsForApp(const CMsgSteamDatagramCachedCredentialsForApp& from); - CMsgSteamDatagramCachedCredentialsForApp(CMsgSteamDatagramCachedCredentialsForApp&& from) noexcept - : CMsgSteamDatagramCachedCredentialsForApp() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramCachedCredentialsForApp& operator=(const CMsgSteamDatagramCachedCredentialsForApp& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramCachedCredentialsForApp& operator=(CMsgSteamDatagramCachedCredentialsForApp&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramCachedCredentialsForApp& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramCachedCredentialsForApp* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramCachedCredentialsForApp_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CMsgSteamDatagramCachedCredentialsForApp& a, CMsgSteamDatagramCachedCredentialsForApp& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramCachedCredentialsForApp* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramCachedCredentialsForApp* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramCachedCredentialsForApp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramCachedCredentialsForApp& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramCachedCredentialsForApp& from) { - CMsgSteamDatagramCachedCredentialsForApp::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramCachedCredentialsForApp* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramCachedCredentialsForApp"; - } - protected: - explicit CMsgSteamDatagramCachedCredentialsForApp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRelayTicketsFieldNumber = 3, - kPrivateKeyFieldNumber = 1, - kCertFieldNumber = 2, - }; - // repeated bytes relay_tickets = 3; - int relay_tickets_size() const; - private: - int _internal_relay_tickets_size() const; - public: - void clear_relay_tickets(); - const std::string& relay_tickets(int index) const; - std::string* mutable_relay_tickets(int index); - void set_relay_tickets(int index, const std::string& value); - void set_relay_tickets(int index, std::string&& value); - void set_relay_tickets(int index, const char* value); - void set_relay_tickets(int index, const void* value, size_t size); - std::string* add_relay_tickets(); - void add_relay_tickets(const std::string& value); - void add_relay_tickets(std::string&& value); - void add_relay_tickets(const char* value); - void add_relay_tickets(const void* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& relay_tickets() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_relay_tickets(); - private: - const std::string& _internal_relay_tickets(int index) const; - std::string* _internal_add_relay_tickets(); - public: - - // optional bytes private_key = 1; - bool has_private_key() const; - private: - bool _internal_has_private_key() const; - public: - void clear_private_key(); - const std::string& private_key() const; - template - void set_private_key(ArgT0&& arg0, ArgT... args); - std::string* mutable_private_key(); - PROTOBUF_NODISCARD std::string* release_private_key(); - void set_allocated_private_key(std::string* private_key); - private: - const std::string& _internal_private_key() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_private_key(const std::string& value); - std::string* _internal_mutable_private_key(); - public: - - // optional bytes cert = 2; - bool has_cert() const; - private: - bool _internal_has_cert() const; - public: - void clear_cert(); - const std::string& cert() const; - template - void set_cert(ArgT0&& arg0, ArgT... args); - std::string* mutable_cert(); - PROTOBUF_NODISCARD std::string* release_cert(); - void set_allocated_cert(std::string* cert); - private: - const std::string& _internal_cert() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_cert(const std::string& value); - std::string* _internal_mutable_cert(); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramCachedCredentialsForApp) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField relay_tickets_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr private_key_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cert_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fauth_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramGameCoordinatorServerLogin : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramGameCoordinatorServerLogin) */ { - public: - inline CMsgSteamDatagramGameCoordinatorServerLogin() : CMsgSteamDatagramGameCoordinatorServerLogin(nullptr) {} - ~CMsgSteamDatagramGameCoordinatorServerLogin() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramGameCoordinatorServerLogin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramGameCoordinatorServerLogin(const CMsgSteamDatagramGameCoordinatorServerLogin& from); - CMsgSteamDatagramGameCoordinatorServerLogin(CMsgSteamDatagramGameCoordinatorServerLogin&& from) noexcept - : CMsgSteamDatagramGameCoordinatorServerLogin() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramGameCoordinatorServerLogin& operator=(const CMsgSteamDatagramGameCoordinatorServerLogin& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramGameCoordinatorServerLogin& operator=(CMsgSteamDatagramGameCoordinatorServerLogin&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramGameCoordinatorServerLogin& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramGameCoordinatorServerLogin* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramGameCoordinatorServerLogin_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CMsgSteamDatagramGameCoordinatorServerLogin& a, CMsgSteamDatagramGameCoordinatorServerLogin& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramGameCoordinatorServerLogin* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramGameCoordinatorServerLogin* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramGameCoordinatorServerLogin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramGameCoordinatorServerLogin& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramGameCoordinatorServerLogin& from) { - CMsgSteamDatagramGameCoordinatorServerLogin::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramGameCoordinatorServerLogin* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramGameCoordinatorServerLogin"; - } - protected: - explicit CMsgSteamDatagramGameCoordinatorServerLogin(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRoutingFieldNumber = 3, - kAppdataFieldNumber = 4, - kLegacyIdentityBinaryFieldNumber = 5, - kIdentityStringFieldNumber = 6, - kTimeGeneratedFieldNumber = 1, - kAppidFieldNumber = 2, - kDummySteamIdFieldNumber = 99, - }; - // optional bytes routing = 3; - bool has_routing() const; - private: - bool _internal_has_routing() const; - public: - void clear_routing(); - const std::string& routing() const; - template - void set_routing(ArgT0&& arg0, ArgT... args); - std::string* mutable_routing(); - PROTOBUF_NODISCARD std::string* release_routing(); - void set_allocated_routing(std::string* routing); - private: - const std::string& _internal_routing() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_routing(const std::string& value); - std::string* _internal_mutable_routing(); - public: - - // optional bytes appdata = 4; - bool has_appdata() const; - private: - bool _internal_has_appdata() const; - public: - void clear_appdata(); - const std::string& appdata() const; - template - void set_appdata(ArgT0&& arg0, ArgT... args); - std::string* mutable_appdata(); - PROTOBUF_NODISCARD std::string* release_appdata(); - void set_allocated_appdata(std::string* appdata); - private: - const std::string& _internal_appdata() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_appdata(const std::string& value); - std::string* _internal_mutable_appdata(); - public: - - // optional bytes legacy_identity_binary = 5; - bool has_legacy_identity_binary() const; - private: - bool _internal_has_legacy_identity_binary() const; - public: - void clear_legacy_identity_binary(); - const std::string& legacy_identity_binary() const; - template - void set_legacy_identity_binary(ArgT0&& arg0, ArgT... args); - std::string* mutable_legacy_identity_binary(); - PROTOBUF_NODISCARD std::string* release_legacy_identity_binary(); - void set_allocated_legacy_identity_binary(std::string* legacy_identity_binary); - private: - const std::string& _internal_legacy_identity_binary() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_legacy_identity_binary(const std::string& value); - std::string* _internal_mutable_legacy_identity_binary(); - public: - - // optional string identity_string = 6; - bool has_identity_string() const; - private: - bool _internal_has_identity_string() const; - public: - void clear_identity_string(); - const std::string& identity_string() const; - template - void set_identity_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_identity_string(); - PROTOBUF_NODISCARD std::string* release_identity_string(); - void set_allocated_identity_string(std::string* identity_string); - private: - const std::string& _internal_identity_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_identity_string(const std::string& value); - std::string* _internal_mutable_identity_string(); - public: - - // optional uint32 time_generated = 1; - bool has_time_generated() const; - private: - bool _internal_has_time_generated() const; - public: - void clear_time_generated(); - uint32_t time_generated() const; - void set_time_generated(uint32_t value); - private: - uint32_t _internal_time_generated() const; - void _internal_set_time_generated(uint32_t value); - public: - - // optional uint32 appid = 2; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional fixed64 dummy_steam_id = 99; - bool has_dummy_steam_id() const; - private: - bool _internal_has_dummy_steam_id() const; - public: - void clear_dummy_steam_id(); - uint64_t dummy_steam_id() const; - void set_dummy_steam_id(uint64_t value); - private: - uint64_t _internal_dummy_steam_id() const; - void _internal_set_dummy_steam_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramGameCoordinatorServerLogin) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr routing_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr appdata_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr legacy_identity_binary_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identity_string_; - uint32_t time_generated_; - uint32_t appid_; - uint64_t dummy_steam_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fauth_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramSignedGameCoordinatorServerLogin : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramSignedGameCoordinatorServerLogin) */ { - public: - inline CMsgSteamDatagramSignedGameCoordinatorServerLogin() : CMsgSteamDatagramSignedGameCoordinatorServerLogin(nullptr) {} - ~CMsgSteamDatagramSignedGameCoordinatorServerLogin() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramSignedGameCoordinatorServerLogin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramSignedGameCoordinatorServerLogin(const CMsgSteamDatagramSignedGameCoordinatorServerLogin& from); - CMsgSteamDatagramSignedGameCoordinatorServerLogin(CMsgSteamDatagramSignedGameCoordinatorServerLogin&& from) noexcept - : CMsgSteamDatagramSignedGameCoordinatorServerLogin() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramSignedGameCoordinatorServerLogin& operator=(const CMsgSteamDatagramSignedGameCoordinatorServerLogin& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramSignedGameCoordinatorServerLogin& operator=(CMsgSteamDatagramSignedGameCoordinatorServerLogin&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramSignedGameCoordinatorServerLogin& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramSignedGameCoordinatorServerLogin* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramSignedGameCoordinatorServerLogin_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CMsgSteamDatagramSignedGameCoordinatorServerLogin& a, CMsgSteamDatagramSignedGameCoordinatorServerLogin& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramSignedGameCoordinatorServerLogin* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramSignedGameCoordinatorServerLogin* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramSignedGameCoordinatorServerLogin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramSignedGameCoordinatorServerLogin& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramSignedGameCoordinatorServerLogin& from) { - CMsgSteamDatagramSignedGameCoordinatorServerLogin::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramSignedGameCoordinatorServerLogin* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramSignedGameCoordinatorServerLogin"; - } - protected: - explicit CMsgSteamDatagramSignedGameCoordinatorServerLogin(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLoginFieldNumber = 2, - kSignatureFieldNumber = 3, - kCertFieldNumber = 1, - }; - // optional bytes login = 2; - bool has_login() const; - private: - bool _internal_has_login() const; - public: - void clear_login(); - const std::string& login() const; - template - void set_login(ArgT0&& arg0, ArgT... args); - std::string* mutable_login(); - PROTOBUF_NODISCARD std::string* release_login(); - void set_allocated_login(std::string* login); - private: - const std::string& _internal_login() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_login(const std::string& value); - std::string* _internal_mutable_login(); - public: - - // optional bytes signature = 3; - bool has_signature() const; - private: - bool _internal_has_signature() const; - public: - void clear_signature(); - const std::string& signature() const; - template - void set_signature(ArgT0&& arg0, ArgT... args); - std::string* mutable_signature(); - PROTOBUF_NODISCARD std::string* release_signature(); - void set_allocated_signature(std::string* signature); - private: - const std::string& _internal_signature() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_signature(const std::string& value); - std::string* _internal_mutable_signature(); - public: - - // optional .CMsgSteamDatagramCertificateSigned cert = 1; - bool has_cert() const; - private: - bool _internal_has_cert() const; - public: - void clear_cert(); - const ::CMsgSteamDatagramCertificateSigned& cert() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); - ::CMsgSteamDatagramCertificateSigned* mutable_cert(); - void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); - private: - const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; - ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); - public: - void unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert); - ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramSignedGameCoordinatorServerLogin) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr login_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signature_; - ::CMsgSteamDatagramCertificateSigned* cert_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fauth_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramHostedServerAddressPlaintext : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramHostedServerAddressPlaintext) */ { - public: - inline CMsgSteamDatagramHostedServerAddressPlaintext() : CMsgSteamDatagramHostedServerAddressPlaintext(nullptr) {} - ~CMsgSteamDatagramHostedServerAddressPlaintext() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramHostedServerAddressPlaintext(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramHostedServerAddressPlaintext(const CMsgSteamDatagramHostedServerAddressPlaintext& from); - CMsgSteamDatagramHostedServerAddressPlaintext(CMsgSteamDatagramHostedServerAddressPlaintext&& from) noexcept - : CMsgSteamDatagramHostedServerAddressPlaintext() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramHostedServerAddressPlaintext& operator=(const CMsgSteamDatagramHostedServerAddressPlaintext& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramHostedServerAddressPlaintext& operator=(CMsgSteamDatagramHostedServerAddressPlaintext&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramHostedServerAddressPlaintext& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramHostedServerAddressPlaintext* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramHostedServerAddressPlaintext_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CMsgSteamDatagramHostedServerAddressPlaintext& a, CMsgSteamDatagramHostedServerAddressPlaintext& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramHostedServerAddressPlaintext* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramHostedServerAddressPlaintext* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramHostedServerAddressPlaintext* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramHostedServerAddressPlaintext& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramHostedServerAddressPlaintext& from) { - CMsgSteamDatagramHostedServerAddressPlaintext::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramHostedServerAddressPlaintext* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramHostedServerAddressPlaintext"; - } - protected: - explicit CMsgSteamDatagramHostedServerAddressPlaintext(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIpv6FieldNumber = 2, - kIpv4FieldNumber = 1, - kPortFieldNumber = 3, - kRoutingSecretFieldNumber = 4, - kProtocolVersionFieldNumber = 5, - }; - // optional bytes ipv6 = 2; - bool has_ipv6() const; - private: - bool _internal_has_ipv6() const; - public: - void clear_ipv6(); - const std::string& ipv6() const; - template - void set_ipv6(ArgT0&& arg0, ArgT... args); - std::string* mutable_ipv6(); - PROTOBUF_NODISCARD std::string* release_ipv6(); - void set_allocated_ipv6(std::string* ipv6); - private: - const std::string& _internal_ipv6() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_ipv6(const std::string& value); - std::string* _internal_mutable_ipv6(); - public: - - // optional fixed32 ipv4 = 1; - bool has_ipv4() const; - private: - bool _internal_has_ipv4() const; - public: - void clear_ipv4(); - uint32_t ipv4() const; - void set_ipv4(uint32_t value); - private: - uint32_t _internal_ipv4() const; - void _internal_set_ipv4(uint32_t value); - public: - - // optional uint32 port = 3; - bool has_port() const; - private: - bool _internal_has_port() const; - public: - void clear_port(); - uint32_t port() const; - void set_port(uint32_t value); - private: - uint32_t _internal_port() const; - void _internal_set_port(uint32_t value); - public: - - // optional fixed64 routing_secret = 4; - bool has_routing_secret() const; - private: - bool _internal_has_routing_secret() const; - public: - void clear_routing_secret(); - uint64_t routing_secret() const; - void set_routing_secret(uint64_t value); - private: - uint64_t _internal_routing_secret() const; - void _internal_set_routing_secret(uint64_t value); - public: - - // optional uint32 protocol_version = 5; - bool has_protocol_version() const; - private: - bool _internal_has_protocol_version() const; - public: - void clear_protocol_version(); - uint32_t protocol_version() const; - void set_protocol_version(uint32_t value); - private: - uint32_t _internal_protocol_version() const; - void _internal_set_protocol_version(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramHostedServerAddressPlaintext) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ipv6_; - uint32_t ipv4_; - uint32_t port_; - uint64_t routing_secret_; - uint32_t protocol_version_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fauth_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CMsgSteamDatagramRelayAuthTicket_ExtraField - -// optional string name = 1; -inline bool CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramRelayAuthTicket_ExtraField::has_name() const { - return _internal_has_name(); -} -inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramRelayAuthTicket_ExtraField::name() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.ExtraField.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramRelayAuthTicket_ExtraField::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.ExtraField.name) -} -inline std::string* CMsgSteamDatagramRelayAuthTicket_ExtraField::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRelayAuthTicket.ExtraField.name) - return _s; -} -inline const std::string& CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramRelayAuthTicket_ExtraField::release_name() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramRelayAuthTicket.ExtraField.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramRelayAuthTicket.ExtraField.name) -} - -// optional string string_value = 2; -inline bool CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_has_string_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramRelayAuthTicket_ExtraField::has_string_value() const { - return _internal_has_string_value(); -} -inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::clear_string_value() { - _impl_.string_value_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramRelayAuthTicket_ExtraField::string_value() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.ExtraField.string_value) - return _internal_string_value(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramRelayAuthTicket_ExtraField::set_string_value(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.string_value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.ExtraField.string_value) -} -inline std::string* CMsgSteamDatagramRelayAuthTicket_ExtraField::mutable_string_value() { - std::string* _s = _internal_mutable_string_value(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRelayAuthTicket.ExtraField.string_value) - return _s; -} -inline const std::string& CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_string_value() const { - return _impl_.string_value_.Get(); -} -inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_set_string_value(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.string_value_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_mutable_string_value() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.string_value_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramRelayAuthTicket_ExtraField::release_string_value() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramRelayAuthTicket.ExtraField.string_value) - if (!_internal_has_string_value()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.string_value_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.string_value_.IsDefault()) { - _impl_.string_value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::set_allocated_string_value(std::string* string_value) { - if (string_value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.string_value_.SetAllocated(string_value, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.string_value_.IsDefault()) { - _impl_.string_value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramRelayAuthTicket.ExtraField.string_value) -} - -// optional sint64 int64_value = 3; -inline bool CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_has_int64_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramRelayAuthTicket_ExtraField::has_int64_value() const { - return _internal_has_int64_value(); -} -inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::clear_int64_value() { - _impl_.int64_value_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int64_t CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_int64_value() const { - return _impl_.int64_value_; -} -inline int64_t CMsgSteamDatagramRelayAuthTicket_ExtraField::int64_value() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.ExtraField.int64_value) - return _internal_int64_value(); -} -inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_set_int64_value(int64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.int64_value_ = value; -} -inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::set_int64_value(int64_t value) { - _internal_set_int64_value(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.ExtraField.int64_value) -} - -// optional fixed64 fixed64_value = 5; -inline bool CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_has_fixed64_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramRelayAuthTicket_ExtraField::has_fixed64_value() const { - return _internal_has_fixed64_value(); -} -inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::clear_fixed64_value() { - _impl_.fixed64_value_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_fixed64_value() const { - return _impl_.fixed64_value_; -} -inline uint64_t CMsgSteamDatagramRelayAuthTicket_ExtraField::fixed64_value() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.ExtraField.fixed64_value) - return _internal_fixed64_value(); -} -inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::_internal_set_fixed64_value(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.fixed64_value_ = value; -} -inline void CMsgSteamDatagramRelayAuthTicket_ExtraField::set_fixed64_value(uint64_t value) { - _internal_set_fixed64_value(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.ExtraField.fixed64_value) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramRelayAuthTicket - -// optional fixed32 time_expiry = 1; -inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_time_expiry() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramRelayAuthTicket::has_time_expiry() const { - return _internal_has_time_expiry(); -} -inline void CMsgSteamDatagramRelayAuthTicket::clear_time_expiry() { - _impl_.time_expiry_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramRelayAuthTicket::_internal_time_expiry() const { - return _impl_.time_expiry_; -} -inline uint32_t CMsgSteamDatagramRelayAuthTicket::time_expiry() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.time_expiry) - return _internal_time_expiry(); -} -inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_time_expiry(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.time_expiry_ = value; -} -inline void CMsgSteamDatagramRelayAuthTicket::set_time_expiry(uint32_t value) { - _internal_set_time_expiry(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.time_expiry) -} - -// optional string authorized_client_identity_string = 14; -inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_authorized_client_identity_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramRelayAuthTicket::has_authorized_client_identity_string() const { - return _internal_has_authorized_client_identity_string(); -} -inline void CMsgSteamDatagramRelayAuthTicket::clear_authorized_client_identity_string() { - _impl_.authorized_client_identity_string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CMsgSteamDatagramRelayAuthTicket::authorized_client_identity_string() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.authorized_client_identity_string) - return _internal_authorized_client_identity_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramRelayAuthTicket::set_authorized_client_identity_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.authorized_client_identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.authorized_client_identity_string) -} -inline std::string* CMsgSteamDatagramRelayAuthTicket::mutable_authorized_client_identity_string() { - std::string* _s = _internal_mutable_authorized_client_identity_string(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRelayAuthTicket.authorized_client_identity_string) - return _s; -} -inline const std::string& CMsgSteamDatagramRelayAuthTicket::_internal_authorized_client_identity_string() const { - return _impl_.authorized_client_identity_string_.Get(); -} -inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_authorized_client_identity_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.authorized_client_identity_string_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramRelayAuthTicket::_internal_mutable_authorized_client_identity_string() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.authorized_client_identity_string_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramRelayAuthTicket::release_authorized_client_identity_string() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramRelayAuthTicket.authorized_client_identity_string) - if (!_internal_has_authorized_client_identity_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.authorized_client_identity_string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.authorized_client_identity_string_.IsDefault()) { - _impl_.authorized_client_identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramRelayAuthTicket::set_allocated_authorized_client_identity_string(std::string* authorized_client_identity_string) { - if (authorized_client_identity_string != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.authorized_client_identity_string_.SetAllocated(authorized_client_identity_string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.authorized_client_identity_string_.IsDefault()) { - _impl_.authorized_client_identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramRelayAuthTicket.authorized_client_identity_string) -} - -// optional string gameserver_identity_string = 15; -inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_gameserver_identity_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramRelayAuthTicket::has_gameserver_identity_string() const { - return _internal_has_gameserver_identity_string(); -} -inline void CMsgSteamDatagramRelayAuthTicket::clear_gameserver_identity_string() { - _impl_.gameserver_identity_string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const std::string& CMsgSteamDatagramRelayAuthTicket::gameserver_identity_string() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.gameserver_identity_string) - return _internal_gameserver_identity_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramRelayAuthTicket::set_gameserver_identity_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.gameserver_identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.gameserver_identity_string) -} -inline std::string* CMsgSteamDatagramRelayAuthTicket::mutable_gameserver_identity_string() { - std::string* _s = _internal_mutable_gameserver_identity_string(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRelayAuthTicket.gameserver_identity_string) - return _s; -} -inline const std::string& CMsgSteamDatagramRelayAuthTicket::_internal_gameserver_identity_string() const { - return _impl_.gameserver_identity_string_.Get(); -} -inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_gameserver_identity_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.gameserver_identity_string_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramRelayAuthTicket::_internal_mutable_gameserver_identity_string() { - _impl_._has_bits_[0] |= 0x00000010u; - return _impl_.gameserver_identity_string_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramRelayAuthTicket::release_gameserver_identity_string() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramRelayAuthTicket.gameserver_identity_string) - if (!_internal_has_gameserver_identity_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000010u; - auto* p = _impl_.gameserver_identity_string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gameserver_identity_string_.IsDefault()) { - _impl_.gameserver_identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramRelayAuthTicket::set_allocated_gameserver_identity_string(std::string* gameserver_identity_string) { - if (gameserver_identity_string != nullptr) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.gameserver_identity_string_.SetAllocated(gameserver_identity_string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gameserver_identity_string_.IsDefault()) { - _impl_.gameserver_identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramRelayAuthTicket.gameserver_identity_string) -} - -// optional fixed32 authorized_public_ip = 3; -inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_authorized_public_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramRelayAuthTicket::has_authorized_public_ip() const { - return _internal_has_authorized_public_ip(); -} -inline void CMsgSteamDatagramRelayAuthTicket::clear_authorized_public_ip() { - _impl_.authorized_public_ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamDatagramRelayAuthTicket::_internal_authorized_public_ip() const { - return _impl_.authorized_public_ip_; -} -inline uint32_t CMsgSteamDatagramRelayAuthTicket::authorized_public_ip() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.authorized_public_ip) - return _internal_authorized_public_ip(); -} -inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_authorized_public_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.authorized_public_ip_ = value; -} -inline void CMsgSteamDatagramRelayAuthTicket::set_authorized_public_ip(uint32_t value) { - _internal_set_authorized_public_ip(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.authorized_public_ip) -} - -// optional bytes gameserver_address = 11; -inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_gameserver_address() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramRelayAuthTicket::has_gameserver_address() const { - return _internal_has_gameserver_address(); -} -inline void CMsgSteamDatagramRelayAuthTicket::clear_gameserver_address() { - _impl_.gameserver_address_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramRelayAuthTicket::gameserver_address() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.gameserver_address) - return _internal_gameserver_address(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramRelayAuthTicket::set_gameserver_address(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.gameserver_address_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.gameserver_address) -} -inline std::string* CMsgSteamDatagramRelayAuthTicket::mutable_gameserver_address() { - std::string* _s = _internal_mutable_gameserver_address(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRelayAuthTicket.gameserver_address) - return _s; -} -inline const std::string& CMsgSteamDatagramRelayAuthTicket::_internal_gameserver_address() const { - return _impl_.gameserver_address_.Get(); -} -inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_gameserver_address(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.gameserver_address_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramRelayAuthTicket::_internal_mutable_gameserver_address() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.gameserver_address_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramRelayAuthTicket::release_gameserver_address() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramRelayAuthTicket.gameserver_address) - if (!_internal_has_gameserver_address()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.gameserver_address_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gameserver_address_.IsDefault()) { - _impl_.gameserver_address_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramRelayAuthTicket::set_allocated_gameserver_address(std::string* gameserver_address) { - if (gameserver_address != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.gameserver_address_.SetAllocated(gameserver_address, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gameserver_address_.IsDefault()) { - _impl_.gameserver_address_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramRelayAuthTicket.gameserver_address) -} - -// optional uint32 app_id = 7; -inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_app_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamDatagramRelayAuthTicket::has_app_id() const { - return _internal_has_app_id(); -} -inline void CMsgSteamDatagramRelayAuthTicket::clear_app_id() { - _impl_.app_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSteamDatagramRelayAuthTicket::_internal_app_id() const { - return _impl_.app_id_; -} -inline uint32_t CMsgSteamDatagramRelayAuthTicket::app_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.app_id) - return _internal_app_id(); -} -inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_app_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.app_id_ = value; -} -inline void CMsgSteamDatagramRelayAuthTicket::set_app_id(uint32_t value) { - _internal_set_app_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.app_id) -} - -// optional uint32 virtual_port = 10; -inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_virtual_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSteamDatagramRelayAuthTicket::has_virtual_port() const { - return _internal_has_virtual_port(); -} -inline void CMsgSteamDatagramRelayAuthTicket::clear_virtual_port() { - _impl_.virtual_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgSteamDatagramRelayAuthTicket::_internal_virtual_port() const { - return _impl_.virtual_port_; -} -inline uint32_t CMsgSteamDatagramRelayAuthTicket::virtual_port() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.virtual_port) - return _internal_virtual_port(); -} -inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_virtual_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.virtual_port_ = value; -} -inline void CMsgSteamDatagramRelayAuthTicket::set_virtual_port(uint32_t value) { - _internal_set_virtual_port(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.virtual_port) -} - -// repeated .CMsgSteamDatagramRelayAuthTicket.ExtraField extra_fields = 8; -inline int CMsgSteamDatagramRelayAuthTicket::_internal_extra_fields_size() const { - return _impl_.extra_fields_.size(); -} -inline int CMsgSteamDatagramRelayAuthTicket::extra_fields_size() const { - return _internal_extra_fields_size(); -} -inline void CMsgSteamDatagramRelayAuthTicket::clear_extra_fields() { - _impl_.extra_fields_.Clear(); -} -inline ::CMsgSteamDatagramRelayAuthTicket_ExtraField* CMsgSteamDatagramRelayAuthTicket::mutable_extra_fields(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRelayAuthTicket.extra_fields) - return _impl_.extra_fields_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRelayAuthTicket_ExtraField >* -CMsgSteamDatagramRelayAuthTicket::mutable_extra_fields() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramRelayAuthTicket.extra_fields) - return &_impl_.extra_fields_; -} -inline const ::CMsgSteamDatagramRelayAuthTicket_ExtraField& CMsgSteamDatagramRelayAuthTicket::_internal_extra_fields(int index) const { - return _impl_.extra_fields_.Get(index); -} -inline const ::CMsgSteamDatagramRelayAuthTicket_ExtraField& CMsgSteamDatagramRelayAuthTicket::extra_fields(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.extra_fields) - return _internal_extra_fields(index); -} -inline ::CMsgSteamDatagramRelayAuthTicket_ExtraField* CMsgSteamDatagramRelayAuthTicket::_internal_add_extra_fields() { - return _impl_.extra_fields_.Add(); -} -inline ::CMsgSteamDatagramRelayAuthTicket_ExtraField* CMsgSteamDatagramRelayAuthTicket::add_extra_fields() { - ::CMsgSteamDatagramRelayAuthTicket_ExtraField* _add = _internal_add_extra_fields(); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramRelayAuthTicket.extra_fields) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRelayAuthTicket_ExtraField >& -CMsgSteamDatagramRelayAuthTicket::extra_fields() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramRelayAuthTicket.extra_fields) - return _impl_.extra_fields_; -} - -// optional fixed64 legacy_authorized_steam_id = 2; -inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_legacy_authorized_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramRelayAuthTicket::has_legacy_authorized_steam_id() const { - return _internal_has_legacy_authorized_steam_id(); -} -inline void CMsgSteamDatagramRelayAuthTicket::clear_legacy_authorized_steam_id() { - _impl_.legacy_authorized_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint64_t CMsgSteamDatagramRelayAuthTicket::_internal_legacy_authorized_steam_id() const { - return _impl_.legacy_authorized_steam_id_; -} -inline uint64_t CMsgSteamDatagramRelayAuthTicket::legacy_authorized_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.legacy_authorized_steam_id) - return _internal_legacy_authorized_steam_id(); -} -inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_legacy_authorized_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.legacy_authorized_steam_id_ = value; -} -inline void CMsgSteamDatagramRelayAuthTicket::set_legacy_authorized_steam_id(uint64_t value) { - _internal_set_legacy_authorized_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.legacy_authorized_steam_id) -} - -// optional fixed64 legacy_gameserver_steam_id = 4; -inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_legacy_gameserver_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamDatagramRelayAuthTicket::has_legacy_gameserver_steam_id() const { - return _internal_has_legacy_gameserver_steam_id(); -} -inline void CMsgSteamDatagramRelayAuthTicket::clear_legacy_gameserver_steam_id() { - _impl_.legacy_gameserver_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint64_t CMsgSteamDatagramRelayAuthTicket::_internal_legacy_gameserver_steam_id() const { - return _impl_.legacy_gameserver_steam_id_; -} -inline uint64_t CMsgSteamDatagramRelayAuthTicket::legacy_gameserver_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.legacy_gameserver_steam_id) - return _internal_legacy_gameserver_steam_id(); -} -inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_legacy_gameserver_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.legacy_gameserver_steam_id_ = value; -} -inline void CMsgSteamDatagramRelayAuthTicket::set_legacy_gameserver_steam_id(uint64_t value) { - _internal_set_legacy_gameserver_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.legacy_gameserver_steam_id) -} - -// optional fixed32 legacy_gameserver_pop_id = 9; -inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_legacy_gameserver_pop_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSteamDatagramRelayAuthTicket::has_legacy_gameserver_pop_id() const { - return _internal_has_legacy_gameserver_pop_id(); -} -inline void CMsgSteamDatagramRelayAuthTicket::clear_legacy_gameserver_pop_id() { - _impl_.legacy_gameserver_pop_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSteamDatagramRelayAuthTicket::_internal_legacy_gameserver_pop_id() const { - return _impl_.legacy_gameserver_pop_id_; -} -inline uint32_t CMsgSteamDatagramRelayAuthTicket::legacy_gameserver_pop_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.legacy_gameserver_pop_id) - return _internal_legacy_gameserver_pop_id(); -} -inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_legacy_gameserver_pop_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.legacy_gameserver_pop_id_ = value; -} -inline void CMsgSteamDatagramRelayAuthTicket::set_legacy_gameserver_pop_id(uint32_t value) { - _internal_set_legacy_gameserver_pop_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.legacy_gameserver_pop_id) -} - -// optional bytes legacy_authorized_client_identity_binary = 12; -inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_legacy_authorized_client_identity_binary() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramRelayAuthTicket::has_legacy_authorized_client_identity_binary() const { - return _internal_has_legacy_authorized_client_identity_binary(); -} -inline void CMsgSteamDatagramRelayAuthTicket::clear_legacy_authorized_client_identity_binary() { - _impl_.legacy_authorized_client_identity_binary_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramRelayAuthTicket::legacy_authorized_client_identity_binary() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.legacy_authorized_client_identity_binary) - return _internal_legacy_authorized_client_identity_binary(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramRelayAuthTicket::set_legacy_authorized_client_identity_binary(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.legacy_authorized_client_identity_binary_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.legacy_authorized_client_identity_binary) -} -inline std::string* CMsgSteamDatagramRelayAuthTicket::mutable_legacy_authorized_client_identity_binary() { - std::string* _s = _internal_mutable_legacy_authorized_client_identity_binary(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRelayAuthTicket.legacy_authorized_client_identity_binary) - return _s; -} -inline const std::string& CMsgSteamDatagramRelayAuthTicket::_internal_legacy_authorized_client_identity_binary() const { - return _impl_.legacy_authorized_client_identity_binary_.Get(); -} -inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_legacy_authorized_client_identity_binary(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.legacy_authorized_client_identity_binary_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramRelayAuthTicket::_internal_mutable_legacy_authorized_client_identity_binary() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.legacy_authorized_client_identity_binary_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramRelayAuthTicket::release_legacy_authorized_client_identity_binary() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramRelayAuthTicket.legacy_authorized_client_identity_binary) - if (!_internal_has_legacy_authorized_client_identity_binary()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.legacy_authorized_client_identity_binary_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.legacy_authorized_client_identity_binary_.IsDefault()) { - _impl_.legacy_authorized_client_identity_binary_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramRelayAuthTicket::set_allocated_legacy_authorized_client_identity_binary(std::string* legacy_authorized_client_identity_binary) { - if (legacy_authorized_client_identity_binary != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.legacy_authorized_client_identity_binary_.SetAllocated(legacy_authorized_client_identity_binary, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.legacy_authorized_client_identity_binary_.IsDefault()) { - _impl_.legacy_authorized_client_identity_binary_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramRelayAuthTicket.legacy_authorized_client_identity_binary) -} - -// optional bytes legacy_gameserver_identity_binary = 13; -inline bool CMsgSteamDatagramRelayAuthTicket::_internal_has_legacy_gameserver_identity_binary() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramRelayAuthTicket::has_legacy_gameserver_identity_binary() const { - return _internal_has_legacy_gameserver_identity_binary(); -} -inline void CMsgSteamDatagramRelayAuthTicket::clear_legacy_gameserver_identity_binary() { - _impl_.legacy_gameserver_identity_binary_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgSteamDatagramRelayAuthTicket::legacy_gameserver_identity_binary() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRelayAuthTicket.legacy_gameserver_identity_binary) - return _internal_legacy_gameserver_identity_binary(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramRelayAuthTicket::set_legacy_gameserver_identity_binary(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.legacy_gameserver_identity_binary_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRelayAuthTicket.legacy_gameserver_identity_binary) -} -inline std::string* CMsgSteamDatagramRelayAuthTicket::mutable_legacy_gameserver_identity_binary() { - std::string* _s = _internal_mutable_legacy_gameserver_identity_binary(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRelayAuthTicket.legacy_gameserver_identity_binary) - return _s; -} -inline const std::string& CMsgSteamDatagramRelayAuthTicket::_internal_legacy_gameserver_identity_binary() const { - return _impl_.legacy_gameserver_identity_binary_.Get(); -} -inline void CMsgSteamDatagramRelayAuthTicket::_internal_set_legacy_gameserver_identity_binary(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.legacy_gameserver_identity_binary_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramRelayAuthTicket::_internal_mutable_legacy_gameserver_identity_binary() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.legacy_gameserver_identity_binary_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramRelayAuthTicket::release_legacy_gameserver_identity_binary() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramRelayAuthTicket.legacy_gameserver_identity_binary) - if (!_internal_has_legacy_gameserver_identity_binary()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.legacy_gameserver_identity_binary_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.legacy_gameserver_identity_binary_.IsDefault()) { - _impl_.legacy_gameserver_identity_binary_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramRelayAuthTicket::set_allocated_legacy_gameserver_identity_binary(std::string* legacy_gameserver_identity_binary) { - if (legacy_gameserver_identity_binary != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.legacy_gameserver_identity_binary_.SetAllocated(legacy_gameserver_identity_binary, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.legacy_gameserver_identity_binary_.IsDefault()) { - _impl_.legacy_gameserver_identity_binary_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramRelayAuthTicket.legacy_gameserver_identity_binary) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramSignedRelayAuthTicket - -// optional fixed64 reserved_do_not_use = 1; -inline bool CMsgSteamDatagramSignedRelayAuthTicket::_internal_has_reserved_do_not_use() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramSignedRelayAuthTicket::has_reserved_do_not_use() const { - return _internal_has_reserved_do_not_use(); -} -inline void CMsgSteamDatagramSignedRelayAuthTicket::clear_reserved_do_not_use() { - _impl_.reserved_do_not_use_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgSteamDatagramSignedRelayAuthTicket::_internal_reserved_do_not_use() const { - return _impl_.reserved_do_not_use_; -} -inline uint64_t CMsgSteamDatagramSignedRelayAuthTicket::reserved_do_not_use() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedRelayAuthTicket.reserved_do_not_use) - return _internal_reserved_do_not_use(); -} -inline void CMsgSteamDatagramSignedRelayAuthTicket::_internal_set_reserved_do_not_use(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.reserved_do_not_use_ = value; -} -inline void CMsgSteamDatagramSignedRelayAuthTicket::set_reserved_do_not_use(uint64_t value) { - _internal_set_reserved_do_not_use(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSignedRelayAuthTicket.reserved_do_not_use) -} - -// optional bytes ticket = 3; -inline bool CMsgSteamDatagramSignedRelayAuthTicket::_internal_has_ticket() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramSignedRelayAuthTicket::has_ticket() const { - return _internal_has_ticket(); -} -inline void CMsgSteamDatagramSignedRelayAuthTicket::clear_ticket() { - _impl_.ticket_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramSignedRelayAuthTicket::ticket() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedRelayAuthTicket.ticket) - return _internal_ticket(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramSignedRelayAuthTicket::set_ticket(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ticket_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSignedRelayAuthTicket.ticket) -} -inline std::string* CMsgSteamDatagramSignedRelayAuthTicket::mutable_ticket() { - std::string* _s = _internal_mutable_ticket(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedRelayAuthTicket.ticket) - return _s; -} -inline const std::string& CMsgSteamDatagramSignedRelayAuthTicket::_internal_ticket() const { - return _impl_.ticket_.Get(); -} -inline void CMsgSteamDatagramSignedRelayAuthTicket::_internal_set_ticket(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ticket_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSignedRelayAuthTicket::_internal_mutable_ticket() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.ticket_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSignedRelayAuthTicket::release_ticket() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramSignedRelayAuthTicket.ticket) - if (!_internal_has_ticket()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.ticket_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ticket_.IsDefault()) { - _impl_.ticket_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramSignedRelayAuthTicket::set_allocated_ticket(std::string* ticket) { - if (ticket != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.ticket_.SetAllocated(ticket, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ticket_.IsDefault()) { - _impl_.ticket_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSignedRelayAuthTicket.ticket) -} - -// optional bytes signature = 4; -inline bool CMsgSteamDatagramSignedRelayAuthTicket::_internal_has_signature() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramSignedRelayAuthTicket::has_signature() const { - return _internal_has_signature(); -} -inline void CMsgSteamDatagramSignedRelayAuthTicket::clear_signature() { - _impl_.signature_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramSignedRelayAuthTicket::signature() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedRelayAuthTicket.signature) - return _internal_signature(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramSignedRelayAuthTicket::set_signature(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.signature_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSignedRelayAuthTicket.signature) -} -inline std::string* CMsgSteamDatagramSignedRelayAuthTicket::mutable_signature() { - std::string* _s = _internal_mutable_signature(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedRelayAuthTicket.signature) - return _s; -} -inline const std::string& CMsgSteamDatagramSignedRelayAuthTicket::_internal_signature() const { - return _impl_.signature_.Get(); -} -inline void CMsgSteamDatagramSignedRelayAuthTicket::_internal_set_signature(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.signature_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSignedRelayAuthTicket::_internal_mutable_signature() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.signature_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSignedRelayAuthTicket::release_signature() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramSignedRelayAuthTicket.signature) - if (!_internal_has_signature()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.signature_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.signature_.IsDefault()) { - _impl_.signature_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramSignedRelayAuthTicket::set_allocated_signature(std::string* signature) { - if (signature != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.signature_.SetAllocated(signature, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.signature_.IsDefault()) { - _impl_.signature_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSignedRelayAuthTicket.signature) -} - -// optional fixed64 key_id = 2; -inline bool CMsgSteamDatagramSignedRelayAuthTicket::_internal_has_key_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramSignedRelayAuthTicket::has_key_id() const { - return _internal_has_key_id(); -} -inline void CMsgSteamDatagramSignedRelayAuthTicket::clear_key_id() { - _impl_.key_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CMsgSteamDatagramSignedRelayAuthTicket::_internal_key_id() const { - return _impl_.key_id_; -} -inline uint64_t CMsgSteamDatagramSignedRelayAuthTicket::key_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedRelayAuthTicket.key_id) - return _internal_key_id(); -} -inline void CMsgSteamDatagramSignedRelayAuthTicket::_internal_set_key_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.key_id_ = value; -} -inline void CMsgSteamDatagramSignedRelayAuthTicket::set_key_id(uint64_t value) { - _internal_set_key_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSignedRelayAuthTicket.key_id) -} - -// repeated .CMsgSteamDatagramCertificateSigned certs = 5; -inline int CMsgSteamDatagramSignedRelayAuthTicket::_internal_certs_size() const { - return _impl_.certs_.size(); -} -inline int CMsgSteamDatagramSignedRelayAuthTicket::certs_size() const { - return _internal_certs_size(); -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedRelayAuthTicket::mutable_certs(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedRelayAuthTicket.certs) - return _impl_.certs_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramCertificateSigned >* -CMsgSteamDatagramSignedRelayAuthTicket::mutable_certs() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramSignedRelayAuthTicket.certs) - return &_impl_.certs_; -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramSignedRelayAuthTicket::_internal_certs(int index) const { - return _impl_.certs_.Get(index); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramSignedRelayAuthTicket::certs(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedRelayAuthTicket.certs) - return _internal_certs(index); -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedRelayAuthTicket::_internal_add_certs() { - return _impl_.certs_.Add(); -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedRelayAuthTicket::add_certs() { - ::CMsgSteamDatagramCertificateSigned* _add = _internal_add_certs(); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramSignedRelayAuthTicket.certs) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramCertificateSigned >& -CMsgSteamDatagramSignedRelayAuthTicket::certs() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramSignedRelayAuthTicket.certs) - return _impl_.certs_; -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramCachedCredentialsForApp - -// optional bytes private_key = 1; -inline bool CMsgSteamDatagramCachedCredentialsForApp::_internal_has_private_key() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramCachedCredentialsForApp::has_private_key() const { - return _internal_has_private_key(); -} -inline void CMsgSteamDatagramCachedCredentialsForApp::clear_private_key() { - _impl_.private_key_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramCachedCredentialsForApp::private_key() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramCachedCredentialsForApp.private_key) - return _internal_private_key(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramCachedCredentialsForApp::set_private_key(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.private_key_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramCachedCredentialsForApp.private_key) -} -inline std::string* CMsgSteamDatagramCachedCredentialsForApp::mutable_private_key() { - std::string* _s = _internal_mutable_private_key(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCachedCredentialsForApp.private_key) - return _s; -} -inline const std::string& CMsgSteamDatagramCachedCredentialsForApp::_internal_private_key() const { - return _impl_.private_key_.Get(); -} -inline void CMsgSteamDatagramCachedCredentialsForApp::_internal_set_private_key(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.private_key_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramCachedCredentialsForApp::_internal_mutable_private_key() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.private_key_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramCachedCredentialsForApp::release_private_key() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramCachedCredentialsForApp.private_key) - if (!_internal_has_private_key()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.private_key_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.private_key_.IsDefault()) { - _impl_.private_key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramCachedCredentialsForApp::set_allocated_private_key(std::string* private_key) { - if (private_key != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.private_key_.SetAllocated(private_key, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.private_key_.IsDefault()) { - _impl_.private_key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramCachedCredentialsForApp.private_key) -} - -// optional bytes cert = 2; -inline bool CMsgSteamDatagramCachedCredentialsForApp::_internal_has_cert() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramCachedCredentialsForApp::has_cert() const { - return _internal_has_cert(); -} -inline void CMsgSteamDatagramCachedCredentialsForApp::clear_cert() { - _impl_.cert_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramCachedCredentialsForApp::cert() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramCachedCredentialsForApp.cert) - return _internal_cert(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramCachedCredentialsForApp::set_cert(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.cert_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramCachedCredentialsForApp.cert) -} -inline std::string* CMsgSteamDatagramCachedCredentialsForApp::mutable_cert() { - std::string* _s = _internal_mutable_cert(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCachedCredentialsForApp.cert) - return _s; -} -inline const std::string& CMsgSteamDatagramCachedCredentialsForApp::_internal_cert() const { - return _impl_.cert_.Get(); -} -inline void CMsgSteamDatagramCachedCredentialsForApp::_internal_set_cert(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.cert_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramCachedCredentialsForApp::_internal_mutable_cert() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.cert_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramCachedCredentialsForApp::release_cert() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramCachedCredentialsForApp.cert) - if (!_internal_has_cert()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.cert_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cert_.IsDefault()) { - _impl_.cert_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramCachedCredentialsForApp::set_allocated_cert(std::string* cert) { - if (cert != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.cert_.SetAllocated(cert, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cert_.IsDefault()) { - _impl_.cert_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramCachedCredentialsForApp.cert) -} - -// repeated bytes relay_tickets = 3; -inline int CMsgSteamDatagramCachedCredentialsForApp::_internal_relay_tickets_size() const { - return _impl_.relay_tickets_.size(); -} -inline int CMsgSteamDatagramCachedCredentialsForApp::relay_tickets_size() const { - return _internal_relay_tickets_size(); -} -inline void CMsgSteamDatagramCachedCredentialsForApp::clear_relay_tickets() { - _impl_.relay_tickets_.Clear(); -} -inline std::string* CMsgSteamDatagramCachedCredentialsForApp::add_relay_tickets() { - std::string* _s = _internal_add_relay_tickets(); - // @@protoc_insertion_point(field_add_mutable:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) - return _s; -} -inline const std::string& CMsgSteamDatagramCachedCredentialsForApp::_internal_relay_tickets(int index) const { - return _impl_.relay_tickets_.Get(index); -} -inline const std::string& CMsgSteamDatagramCachedCredentialsForApp::relay_tickets(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) - return _internal_relay_tickets(index); -} -inline std::string* CMsgSteamDatagramCachedCredentialsForApp::mutable_relay_tickets(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) - return _impl_.relay_tickets_.Mutable(index); -} -inline void CMsgSteamDatagramCachedCredentialsForApp::set_relay_tickets(int index, const std::string& value) { - _impl_.relay_tickets_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) -} -inline void CMsgSteamDatagramCachedCredentialsForApp::set_relay_tickets(int index, std::string&& value) { - _impl_.relay_tickets_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) -} -inline void CMsgSteamDatagramCachedCredentialsForApp::set_relay_tickets(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.relay_tickets_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) -} -inline void CMsgSteamDatagramCachedCredentialsForApp::set_relay_tickets(int index, const void* value, size_t size) { - _impl_.relay_tickets_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) -} -inline std::string* CMsgSteamDatagramCachedCredentialsForApp::_internal_add_relay_tickets() { - return _impl_.relay_tickets_.Add(); -} -inline void CMsgSteamDatagramCachedCredentialsForApp::add_relay_tickets(const std::string& value) { - _impl_.relay_tickets_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) -} -inline void CMsgSteamDatagramCachedCredentialsForApp::add_relay_tickets(std::string&& value) { - _impl_.relay_tickets_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) -} -inline void CMsgSteamDatagramCachedCredentialsForApp::add_relay_tickets(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.relay_tickets_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) -} -inline void CMsgSteamDatagramCachedCredentialsForApp::add_relay_tickets(const void* value, size_t size) { - _impl_.relay_tickets_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CMsgSteamDatagramCachedCredentialsForApp::relay_tickets() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) - return _impl_.relay_tickets_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CMsgSteamDatagramCachedCredentialsForApp::mutable_relay_tickets() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramCachedCredentialsForApp.relay_tickets) - return &_impl_.relay_tickets_; -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramGameCoordinatorServerLogin - -// optional uint32 time_generated = 1; -inline bool CMsgSteamDatagramGameCoordinatorServerLogin::_internal_has_time_generated() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameCoordinatorServerLogin::has_time_generated() const { - return _internal_has_time_generated(); -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::clear_time_generated() { - _impl_.time_generated_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSteamDatagramGameCoordinatorServerLogin::_internal_time_generated() const { - return _impl_.time_generated_; -} -inline uint32_t CMsgSteamDatagramGameCoordinatorServerLogin::time_generated() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameCoordinatorServerLogin.time_generated) - return _internal_time_generated(); -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::_internal_set_time_generated(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.time_generated_ = value; -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::set_time_generated(uint32_t value) { - _internal_set_time_generated(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameCoordinatorServerLogin.time_generated) -} - -// optional uint32 appid = 2; -inline bool CMsgSteamDatagramGameCoordinatorServerLogin::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameCoordinatorServerLogin::has_appid() const { - return _internal_has_appid(); -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamDatagramGameCoordinatorServerLogin::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CMsgSteamDatagramGameCoordinatorServerLogin::appid() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameCoordinatorServerLogin.appid) - return _internal_appid(); -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.appid_ = value; -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameCoordinatorServerLogin.appid) -} - -// optional bytes routing = 3; -inline bool CMsgSteamDatagramGameCoordinatorServerLogin::_internal_has_routing() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameCoordinatorServerLogin::has_routing() const { - return _internal_has_routing(); -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::clear_routing() { - _impl_.routing_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramGameCoordinatorServerLogin::routing() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameCoordinatorServerLogin.routing) - return _internal_routing(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramGameCoordinatorServerLogin::set_routing(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.routing_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameCoordinatorServerLogin.routing) -} -inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::mutable_routing() { - std::string* _s = _internal_mutable_routing(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameCoordinatorServerLogin.routing) - return _s; -} -inline const std::string& CMsgSteamDatagramGameCoordinatorServerLogin::_internal_routing() const { - return _impl_.routing_.Get(); -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::_internal_set_routing(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.routing_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::_internal_mutable_routing() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.routing_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::release_routing() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameCoordinatorServerLogin.routing) - if (!_internal_has_routing()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.routing_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.routing_.IsDefault()) { - _impl_.routing_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::set_allocated_routing(std::string* routing) { - if (routing != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.routing_.SetAllocated(routing, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.routing_.IsDefault()) { - _impl_.routing_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameCoordinatorServerLogin.routing) -} - -// optional bytes appdata = 4; -inline bool CMsgSteamDatagramGameCoordinatorServerLogin::_internal_has_appdata() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameCoordinatorServerLogin::has_appdata() const { - return _internal_has_appdata(); -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::clear_appdata() { - _impl_.appdata_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramGameCoordinatorServerLogin::appdata() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameCoordinatorServerLogin.appdata) - return _internal_appdata(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramGameCoordinatorServerLogin::set_appdata(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.appdata_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameCoordinatorServerLogin.appdata) -} -inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::mutable_appdata() { - std::string* _s = _internal_mutable_appdata(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameCoordinatorServerLogin.appdata) - return _s; -} -inline const std::string& CMsgSteamDatagramGameCoordinatorServerLogin::_internal_appdata() const { - return _impl_.appdata_.Get(); -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::_internal_set_appdata(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.appdata_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::_internal_mutable_appdata() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.appdata_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::release_appdata() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameCoordinatorServerLogin.appdata) - if (!_internal_has_appdata()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.appdata_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.appdata_.IsDefault()) { - _impl_.appdata_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::set_allocated_appdata(std::string* appdata) { - if (appdata != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.appdata_.SetAllocated(appdata, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.appdata_.IsDefault()) { - _impl_.appdata_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameCoordinatorServerLogin.appdata) -} - -// optional bytes legacy_identity_binary = 5; -inline bool CMsgSteamDatagramGameCoordinatorServerLogin::_internal_has_legacy_identity_binary() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameCoordinatorServerLogin::has_legacy_identity_binary() const { - return _internal_has_legacy_identity_binary(); -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::clear_legacy_identity_binary() { - _impl_.legacy_identity_binary_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgSteamDatagramGameCoordinatorServerLogin::legacy_identity_binary() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameCoordinatorServerLogin.legacy_identity_binary) - return _internal_legacy_identity_binary(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramGameCoordinatorServerLogin::set_legacy_identity_binary(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.legacy_identity_binary_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameCoordinatorServerLogin.legacy_identity_binary) -} -inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::mutable_legacy_identity_binary() { - std::string* _s = _internal_mutable_legacy_identity_binary(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameCoordinatorServerLogin.legacy_identity_binary) - return _s; -} -inline const std::string& CMsgSteamDatagramGameCoordinatorServerLogin::_internal_legacy_identity_binary() const { - return _impl_.legacy_identity_binary_.Get(); -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::_internal_set_legacy_identity_binary(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.legacy_identity_binary_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::_internal_mutable_legacy_identity_binary() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.legacy_identity_binary_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::release_legacy_identity_binary() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameCoordinatorServerLogin.legacy_identity_binary) - if (!_internal_has_legacy_identity_binary()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.legacy_identity_binary_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.legacy_identity_binary_.IsDefault()) { - _impl_.legacy_identity_binary_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::set_allocated_legacy_identity_binary(std::string* legacy_identity_binary) { - if (legacy_identity_binary != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.legacy_identity_binary_.SetAllocated(legacy_identity_binary, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.legacy_identity_binary_.IsDefault()) { - _impl_.legacy_identity_binary_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameCoordinatorServerLogin.legacy_identity_binary) -} - -// optional string identity_string = 6; -inline bool CMsgSteamDatagramGameCoordinatorServerLogin::_internal_has_identity_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameCoordinatorServerLogin::has_identity_string() const { - return _internal_has_identity_string(); -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::clear_identity_string() { - _impl_.identity_string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CMsgSteamDatagramGameCoordinatorServerLogin::identity_string() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameCoordinatorServerLogin.identity_string) - return _internal_identity_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramGameCoordinatorServerLogin::set_identity_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameCoordinatorServerLogin.identity_string) -} -inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::mutable_identity_string() { - std::string* _s = _internal_mutable_identity_string(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameCoordinatorServerLogin.identity_string) - return _s; -} -inline const std::string& CMsgSteamDatagramGameCoordinatorServerLogin::_internal_identity_string() const { - return _impl_.identity_string_.Get(); -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::_internal_set_identity_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.identity_string_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::_internal_mutable_identity_string() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.identity_string_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameCoordinatorServerLogin::release_identity_string() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameCoordinatorServerLogin.identity_string) - if (!_internal_has_identity_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.identity_string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.identity_string_.IsDefault()) { - _impl_.identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::set_allocated_identity_string(std::string* identity_string) { - if (identity_string != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.identity_string_.SetAllocated(identity_string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.identity_string_.IsDefault()) { - _impl_.identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameCoordinatorServerLogin.identity_string) -} - -// optional fixed64 dummy_steam_id = 99; -inline bool CMsgSteamDatagramGameCoordinatorServerLogin::_internal_has_dummy_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameCoordinatorServerLogin::has_dummy_steam_id() const { - return _internal_has_dummy_steam_id(); -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::clear_dummy_steam_id() { - _impl_.dummy_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint64_t CMsgSteamDatagramGameCoordinatorServerLogin::_internal_dummy_steam_id() const { - return _impl_.dummy_steam_id_; -} -inline uint64_t CMsgSteamDatagramGameCoordinatorServerLogin::dummy_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameCoordinatorServerLogin.dummy_steam_id) - return _internal_dummy_steam_id(); -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::_internal_set_dummy_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.dummy_steam_id_ = value; -} -inline void CMsgSteamDatagramGameCoordinatorServerLogin::set_dummy_steam_id(uint64_t value) { - _internal_set_dummy_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameCoordinatorServerLogin.dummy_steam_id) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramSignedGameCoordinatorServerLogin - -// optional .CMsgSteamDatagramCertificateSigned cert = 1; -inline bool CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_has_cert() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramSignedGameCoordinatorServerLogin::has_cert() const { - return _internal_has_cert(); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_cert() const { - const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramCertificateSigned_default_instance_); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramSignedGameCoordinatorServerLogin::cert() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedGameCoordinatorServerLogin.cert) - return _internal_cert(); -} -inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - _impl_.cert_ = cert; - if (cert) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramSignedGameCoordinatorServerLogin.cert) -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedGameCoordinatorServerLogin::release_cert() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedGameCoordinatorServerLogin::unsafe_arena_release_cert() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramSignedGameCoordinatorServerLogin.cert) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_mutable_cert() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.cert_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); - _impl_.cert_ = p; - } - return _impl_.cert_; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedGameCoordinatorServerLogin::mutable_cert() { - ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedGameCoordinatorServerLogin.cert) - return _msg; -} -inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - if (cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); - if (message_arena != submessage_arena) { - cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cert, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.cert_ = cert; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSignedGameCoordinatorServerLogin.cert) -} - -// optional bytes login = 2; -inline bool CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_has_login() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramSignedGameCoordinatorServerLogin::has_login() const { - return _internal_has_login(); -} -inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::clear_login() { - _impl_.login_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramSignedGameCoordinatorServerLogin::login() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedGameCoordinatorServerLogin.login) - return _internal_login(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramSignedGameCoordinatorServerLogin::set_login(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.login_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSignedGameCoordinatorServerLogin.login) -} -inline std::string* CMsgSteamDatagramSignedGameCoordinatorServerLogin::mutable_login() { - std::string* _s = _internal_mutable_login(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedGameCoordinatorServerLogin.login) - return _s; -} -inline const std::string& CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_login() const { - return _impl_.login_.Get(); -} -inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_set_login(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.login_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_mutable_login() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.login_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSignedGameCoordinatorServerLogin::release_login() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramSignedGameCoordinatorServerLogin.login) - if (!_internal_has_login()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.login_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.login_.IsDefault()) { - _impl_.login_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::set_allocated_login(std::string* login) { - if (login != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.login_.SetAllocated(login, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.login_.IsDefault()) { - _impl_.login_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSignedGameCoordinatorServerLogin.login) -} - -// optional bytes signature = 3; -inline bool CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_has_signature() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramSignedGameCoordinatorServerLogin::has_signature() const { - return _internal_has_signature(); -} -inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::clear_signature() { - _impl_.signature_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramSignedGameCoordinatorServerLogin::signature() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedGameCoordinatorServerLogin.signature) - return _internal_signature(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramSignedGameCoordinatorServerLogin::set_signature(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.signature_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSignedGameCoordinatorServerLogin.signature) -} -inline std::string* CMsgSteamDatagramSignedGameCoordinatorServerLogin::mutable_signature() { - std::string* _s = _internal_mutable_signature(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedGameCoordinatorServerLogin.signature) - return _s; -} -inline const std::string& CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_signature() const { - return _impl_.signature_.Get(); -} -inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_set_signature(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.signature_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSignedGameCoordinatorServerLogin::_internal_mutable_signature() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.signature_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSignedGameCoordinatorServerLogin::release_signature() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramSignedGameCoordinatorServerLogin.signature) - if (!_internal_has_signature()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.signature_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.signature_.IsDefault()) { - _impl_.signature_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramSignedGameCoordinatorServerLogin::set_allocated_signature(std::string* signature) { - if (signature != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.signature_.SetAllocated(signature, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.signature_.IsDefault()) { - _impl_.signature_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSignedGameCoordinatorServerLogin.signature) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramHostedServerAddressPlaintext - -// optional fixed32 ipv4 = 1; -inline bool CMsgSteamDatagramHostedServerAddressPlaintext::_internal_has_ipv4() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramHostedServerAddressPlaintext::has_ipv4() const { - return _internal_has_ipv4(); -} -inline void CMsgSteamDatagramHostedServerAddressPlaintext::clear_ipv4() { - _impl_.ipv4_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamDatagramHostedServerAddressPlaintext::_internal_ipv4() const { - return _impl_.ipv4_; -} -inline uint32_t CMsgSteamDatagramHostedServerAddressPlaintext::ipv4() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramHostedServerAddressPlaintext.ipv4) - return _internal_ipv4(); -} -inline void CMsgSteamDatagramHostedServerAddressPlaintext::_internal_set_ipv4(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.ipv4_ = value; -} -inline void CMsgSteamDatagramHostedServerAddressPlaintext::set_ipv4(uint32_t value) { - _internal_set_ipv4(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramHostedServerAddressPlaintext.ipv4) -} - -// optional bytes ipv6 = 2; -inline bool CMsgSteamDatagramHostedServerAddressPlaintext::_internal_has_ipv6() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramHostedServerAddressPlaintext::has_ipv6() const { - return _internal_has_ipv6(); -} -inline void CMsgSteamDatagramHostedServerAddressPlaintext::clear_ipv6() { - _impl_.ipv6_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramHostedServerAddressPlaintext::ipv6() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramHostedServerAddressPlaintext.ipv6) - return _internal_ipv6(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramHostedServerAddressPlaintext::set_ipv6(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ipv6_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramHostedServerAddressPlaintext.ipv6) -} -inline std::string* CMsgSteamDatagramHostedServerAddressPlaintext::mutable_ipv6() { - std::string* _s = _internal_mutable_ipv6(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramHostedServerAddressPlaintext.ipv6) - return _s; -} -inline const std::string& CMsgSteamDatagramHostedServerAddressPlaintext::_internal_ipv6() const { - return _impl_.ipv6_.Get(); -} -inline void CMsgSteamDatagramHostedServerAddressPlaintext::_internal_set_ipv6(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ipv6_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramHostedServerAddressPlaintext::_internal_mutable_ipv6() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.ipv6_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramHostedServerAddressPlaintext::release_ipv6() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramHostedServerAddressPlaintext.ipv6) - if (!_internal_has_ipv6()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.ipv6_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ipv6_.IsDefault()) { - _impl_.ipv6_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramHostedServerAddressPlaintext::set_allocated_ipv6(std::string* ipv6) { - if (ipv6 != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.ipv6_.SetAllocated(ipv6, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ipv6_.IsDefault()) { - _impl_.ipv6_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramHostedServerAddressPlaintext.ipv6) -} - -// optional uint32 port = 3; -inline bool CMsgSteamDatagramHostedServerAddressPlaintext::_internal_has_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramHostedServerAddressPlaintext::has_port() const { - return _internal_has_port(); -} -inline void CMsgSteamDatagramHostedServerAddressPlaintext::clear_port() { - _impl_.port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramHostedServerAddressPlaintext::_internal_port() const { - return _impl_.port_; -} -inline uint32_t CMsgSteamDatagramHostedServerAddressPlaintext::port() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramHostedServerAddressPlaintext.port) - return _internal_port(); -} -inline void CMsgSteamDatagramHostedServerAddressPlaintext::_internal_set_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.port_ = value; -} -inline void CMsgSteamDatagramHostedServerAddressPlaintext::set_port(uint32_t value) { - _internal_set_port(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramHostedServerAddressPlaintext.port) -} - -// optional fixed64 routing_secret = 4; -inline bool CMsgSteamDatagramHostedServerAddressPlaintext::_internal_has_routing_secret() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramHostedServerAddressPlaintext::has_routing_secret() const { - return _internal_has_routing_secret(); -} -inline void CMsgSteamDatagramHostedServerAddressPlaintext::clear_routing_secret() { - _impl_.routing_secret_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CMsgSteamDatagramHostedServerAddressPlaintext::_internal_routing_secret() const { - return _impl_.routing_secret_; -} -inline uint64_t CMsgSteamDatagramHostedServerAddressPlaintext::routing_secret() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramHostedServerAddressPlaintext.routing_secret) - return _internal_routing_secret(); -} -inline void CMsgSteamDatagramHostedServerAddressPlaintext::_internal_set_routing_secret(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.routing_secret_ = value; -} -inline void CMsgSteamDatagramHostedServerAddressPlaintext::set_routing_secret(uint64_t value) { - _internal_set_routing_secret(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramHostedServerAddressPlaintext.routing_secret) -} - -// optional uint32 protocol_version = 5; -inline bool CMsgSteamDatagramHostedServerAddressPlaintext::_internal_has_protocol_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramHostedServerAddressPlaintext::has_protocol_version() const { - return _internal_has_protocol_version(); -} -inline void CMsgSteamDatagramHostedServerAddressPlaintext::clear_protocol_version() { - _impl_.protocol_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSteamDatagramHostedServerAddressPlaintext::_internal_protocol_version() const { - return _impl_.protocol_version_; -} -inline uint32_t CMsgSteamDatagramHostedServerAddressPlaintext::protocol_version() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramHostedServerAddressPlaintext.protocol_version) - return _internal_protocol_version(); -} -inline void CMsgSteamDatagramHostedServerAddressPlaintext::_internal_set_protocol_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.protocol_version_ = value; -} -inline void CMsgSteamDatagramHostedServerAddressPlaintext::set_protocol_version(uint32_t value) { - _internal_set_protocol_version(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramHostedServerAddressPlaintext.protocol_version) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steamdatagram_5fmessages_5fauth_2eproto diff --git a/protobuf/generated/steamdatagram_messages_sdr.pb.cc b/protobuf/generated/steamdatagram_messages_sdr.pb.cc deleted file mode 100644 index 498f94ebe..000000000 --- a/protobuf/generated/steamdatagram_messages_sdr.pb.cc +++ /dev/null @@ -1,21401 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steamdatagram_messages_sdr.proto - -#include "steamdatagram_messages_sdr.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CMsgSteamNetworkingIPAddress::CMsgSteamNetworkingIPAddress( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.v6_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.v4_)*/0u} {} -struct CMsgSteamNetworkingIPAddressDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamNetworkingIPAddressDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamNetworkingIPAddressDefaultTypeInternal() {} - union { - CMsgSteamNetworkingIPAddress _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingIPAddressDefaultTypeInternal _CMsgSteamNetworkingIPAddress_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramSignedMessageGeneric::CMsgSteamDatagramSignedMessageGeneric( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.signed_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.signature_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.dummy_pad_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.cert_)*/nullptr} {} -struct CMsgSteamDatagramSignedMessageGenericDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramSignedMessageGenericDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramSignedMessageGenericDefaultTypeInternal() {} - union { - CMsgSteamDatagramSignedMessageGeneric _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramSignedMessageGenericDefaultTypeInternal _CMsgSteamDatagramSignedMessageGeneric_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramRouterPingReply_RouteException::CMsgSteamDatagramRouterPingReply_RouteException( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_center_id_)*/0u - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.penalty_)*/0u} {} -struct CMsgSteamDatagramRouterPingReply_RouteExceptionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramRouterPingReply_RouteExceptionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramRouterPingReply_RouteExceptionDefaultTypeInternal() {} - union { - CMsgSteamDatagramRouterPingReply_RouteException _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramRouterPingReply_RouteExceptionDefaultTypeInternal _CMsgSteamDatagramRouterPingReply_RouteException_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramRouterPingReply_AltAddress::CMsgSteamDatagramRouterPingReply_AltAddress( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ipv4_)*/0u - , /*decltype(_impl_.port_)*/0u - , /*decltype(_impl_.penalty_)*/0u - , /*decltype(_impl_.protocol_)*/0} {} -struct CMsgSteamDatagramRouterPingReply_AltAddressDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramRouterPingReply_AltAddressDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramRouterPingReply_AltAddressDefaultTypeInternal() {} - union { - CMsgSteamDatagramRouterPingReply_AltAddress _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramRouterPingReply_AltAddressDefaultTypeInternal _CMsgSteamDatagramRouterPingReply_AltAddress_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramRouterPingReply::CMsgSteamDatagramRouterPingReply( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.latency_datacenter_ids_)*/{} - , /*decltype(_impl_.latency_ping_ms_)*/{} - , /*decltype(_impl_._latency_ping_ms_cached_byte_size_)*/{0} - , /*decltype(_impl_.route_exceptions_)*/{} - , /*decltype(_impl_.alt_addresses_)*/{} - , /*decltype(_impl_.latency_datacenter_ids_p2p_)*/{} - , /*decltype(_impl_.latency_ping_ms_p2p_)*/{} - , /*decltype(_impl_._latency_ping_ms_p2p_cached_byte_size_)*/{0} - , /*decltype(_impl_.dummy_pad_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.client_timestamp_)*/0u - , /*decltype(_impl_.your_public_ip_)*/0u - , /*decltype(_impl_.challenge_)*/uint64_t{0u} - , /*decltype(_impl_.server_time_)*/0u - , /*decltype(_impl_.seconds_until_shutdown_)*/0u - , /*decltype(_impl_.client_cookie_)*/0u - , /*decltype(_impl_.scoring_penalty_relay_cluster_)*/0u - , /*decltype(_impl_.your_public_port_)*/0u - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.recv_tos_)*/0u - , /*decltype(_impl_.echo_sent_tos_)*/0u - , /*decltype(_impl_.sent_tos_)*/0u - , /*decltype(_impl_.echo_request_reply_tos_)*/0u - , /*decltype(_impl_.dummy_varint_)*/uint64_t{0u}} {} -struct CMsgSteamDatagramRouterPingReplyDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramRouterPingReplyDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramRouterPingReplyDefaultTypeInternal() {} - union { - CMsgSteamDatagramRouterPingReply _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramRouterPingReplyDefaultTypeInternal _CMsgSteamDatagramRouterPingReply_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverPingRequestBody::CMsgSteamDatagramGameserverPingRequestBody( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.my_ips_)*/{} - , /*decltype(_impl_.echo_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.your_public_ip_)*/nullptr - , /*decltype(_impl_.relay_popid_)*/0u - , /*decltype(_impl_.your_public_port_)*/0u - , /*decltype(_impl_.relay_unix_time_)*/uint64_t{0u} - , /*decltype(_impl_.routing_secret_)*/uint64_t{0u}} {} -struct CMsgSteamDatagramGameserverPingRequestBodyDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverPingRequestBodyDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramGameserverPingRequestBodyDefaultTypeInternal() {} - union { - CMsgSteamDatagramGameserverPingRequestBody _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramGameserverPingRequestBodyDefaultTypeInternal _CMsgSteamDatagramGameserverPingRequestBody_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverPingRequestEnvelope::CMsgSteamDatagramGameserverPingRequestEnvelope( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.signed_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.signature_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.dummy_pad_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.cert_)*/nullptr - , /*decltype(_impl_.legacy_your_public_ip_)*/0u - , /*decltype(_impl_.legacy_relay_unix_time_)*/0u - , /*decltype(_impl_.legacy_challenge_)*/uint64_t{0u} - , /*decltype(_impl_.legacy_router_timestamp_)*/0u - , /*decltype(_impl_.legacy_your_public_port_)*/0u} {} -struct CMsgSteamDatagramGameserverPingRequestEnvelopeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverPingRequestEnvelopeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramGameserverPingRequestEnvelopeDefaultTypeInternal() {} - union { - CMsgSteamDatagramGameserverPingRequestEnvelope _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramGameserverPingRequestEnvelopeDefaultTypeInternal _CMsgSteamDatagramGameserverPingRequestEnvelope_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverPingReplyData::CMsgSteamDatagramGameserverPingReplyData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.echo_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.build_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.routing_blob_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.legacy_challenge_)*/uint64_t{0u} - , /*decltype(_impl_.echo_relay_unix_time_)*/0u - , /*decltype(_impl_.legacy_router_timestamp_)*/0u - , /*decltype(_impl_.data_center_id_)*/0u - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.protocol_version_)*/0u - , /*decltype(_impl_.my_unix_time_)*/0u - , /*decltype(_impl_.network_config_version_)*/uint64_t{0u}} {} -struct CMsgSteamDatagramGameserverPingReplyDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverPingReplyDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramGameserverPingReplyDataDefaultTypeInternal() {} - union { - CMsgSteamDatagramGameserverPingReplyData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramGameserverPingReplyDataDefaultTypeInternal _CMsgSteamDatagramGameserverPingReplyData_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramNoSessionRelayToClient::CMsgSteamDatagramNoSessionRelayToClient( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.your_public_ip_)*/0u - , /*decltype(_impl_.server_time_)*/0u - , /*decltype(_impl_.challenge_)*/uint64_t{0u} - , /*decltype(_impl_.seconds_until_shutdown_)*/0u - , /*decltype(_impl_.your_public_port_)*/0u - , /*decltype(_impl_.connection_id_)*/0u} {} -struct CMsgSteamDatagramNoSessionRelayToClientDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramNoSessionRelayToClientDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramNoSessionRelayToClientDefaultTypeInternal() {} - union { - CMsgSteamDatagramNoSessionRelayToClient _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramNoSessionRelayToClientDefaultTypeInternal _CMsgSteamDatagramNoSessionRelayToClient_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramNoSessionRelayToPeer::CMsgSteamDatagramNoSessionRelayToPeer( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.legacy_relay_session_id_)*/0u - , /*decltype(_impl_.from_relay_session_id_)*/0u - , /*decltype(_impl_.kludge_pad_)*/uint64_t{0u} - , /*decltype(_impl_.from_connection_id_)*/0u} {} -struct CMsgSteamDatagramNoSessionRelayToPeerDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramNoSessionRelayToPeerDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramNoSessionRelayToPeerDefaultTypeInternal() {} - union { - CMsgSteamDatagramNoSessionRelayToPeer _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramNoSessionRelayToPeerDefaultTypeInternal _CMsgSteamDatagramNoSessionRelayToPeer_default_instance_; -PROTOBUF_CONSTEXPR CMsgTOSTreatment::CMsgTOSTreatment( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.l4s_detect_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.up_ecn1_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.down_dscp45_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CMsgTOSTreatmentDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTOSTreatmentDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTOSTreatmentDefaultTypeInternal() {} - union { - CMsgTOSTreatment _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTOSTreatmentDefaultTypeInternal _CMsgTOSTreatment_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleRequest::CMsgSteamDatagramClientPingSampleRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.connection_id_)*/0u} {} -struct CMsgSteamDatagramClientPingSampleRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramClientPingSampleRequestDefaultTypeInternal() {} - union { - CMsgSteamDatagramClientPingSampleRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramClientPingSampleRequestDefaultTypeInternal _CMsgSteamDatagramClientPingSampleRequest_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.front_ping_ms_)*/0u - , /*decltype(_impl_.penalty_)*/0u} {} -struct CMsgSteamDatagramClientPingSampleReply_POP_AltAddressDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply_POP_AltAddressDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramClientPingSampleReply_POP_AltAddressDefaultTypeInternal() {} - union { - CMsgSteamDatagramClientPingSampleReply_POP_AltAddress _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramClientPingSampleReply_POP_AltAddressDefaultTypeInternal _CMsgSteamDatagramClientPingSampleReply_POP_AltAddress_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply_POP::CMsgSteamDatagramClientPingSampleReply_POP( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.alt_addresses_)*/{} - , /*decltype(_impl_.pop_id_)*/0u - , /*decltype(_impl_.default_front_ping_ms_)*/0u - , /*decltype(_impl_.default_e2e_ping_ms_)*/0u - , /*decltype(_impl_.cluster_penalty_)*/0u - , /*decltype(_impl_.default_e2e_score_)*/0u - , /*decltype(_impl_.p2p_via_peer_relay_pop_id_)*/0u - , /*decltype(_impl_.best_dc_ping_ms_)*/0u - , /*decltype(_impl_.best_dc_score_)*/0u - , /*decltype(_impl_.best_dc_via_relay_pop_id_)*/0u - , /*decltype(_impl_.default_dc_ping_ms_)*/0u - , /*decltype(_impl_.default_dc_score_)*/0u - , /*decltype(_impl_.default_dc_via_relay_pop_id_)*/0u - , /*decltype(_impl_.test_dc_ping_ms_)*/0u - , /*decltype(_impl_.test_dc_score_)*/0u - , /*decltype(_impl_.test_dc_via_relay_pop_id_)*/0u} {} -struct CMsgSteamDatagramClientPingSampleReply_POPDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply_POPDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramClientPingSampleReply_POPDefaultTypeInternal() {} - union { - CMsgSteamDatagramClientPingSampleReply_POP _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramClientPingSampleReply_POPDefaultTypeInternal _CMsgSteamDatagramClientPingSampleReply_POP_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_center_id_)*/0u - , /*decltype(_impl_.best_dc_via_relay_pop_id_)*/0u - , /*decltype(_impl_.best_dc_ping_ms_)*/0u} {} -struct CMsgSteamDatagramClientPingSampleReply_LegacyDataCenterDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply_LegacyDataCenterDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramClientPingSampleReply_LegacyDataCenterDefaultTypeInternal() {} - union { - CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramClientPingSampleReply_LegacyDataCenterDefaultTypeInternal _CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply::CMsgSteamDatagramClientPingSampleReply( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.pops_)*/{} - , /*decltype(_impl_.legacy_data_centers_)*/{} - , /*decltype(_impl_.tos_)*/nullptr - , /*decltype(_impl_.connection_id_)*/0u - , /*decltype(_impl_.relay_override_active_)*/false} {} -struct CMsgSteamDatagramClientPingSampleReplyDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReplyDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramClientPingSampleReplyDefaultTypeInternal() {} - union { - CMsgSteamDatagramClientPingSampleReply _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramClientPingSampleReplyDefaultTypeInternal _CMsgSteamDatagramClientPingSampleReply_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.score_)*/0u - , /*decltype(_impl_.front_ping_)*/0u - , /*decltype(_impl_.back_ping_)*/0u - , /*decltype(_impl_.seconds_until_down_)*/0u} {} -struct CMsgSteamDatagramClientSwitchedPrimary_RouterQualityDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramClientSwitchedPrimary_RouterQualityDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramClientSwitchedPrimary_RouterQualityDefaultTypeInternal() {} - union { - CMsgSteamDatagramClientSwitchedPrimary_RouterQuality _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramClientSwitchedPrimary_RouterQualityDefaultTypeInternal _CMsgSteamDatagramClientSwitchedPrimary_RouterQuality_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramClientSwitchedPrimary::CMsgSteamDatagramClientSwitchedPrimary( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.from_dropped_reason_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.from_quality_now_)*/nullptr - , /*decltype(_impl_.to_quality_now_)*/nullptr - , /*decltype(_impl_.from_quality_then_)*/nullptr - , /*decltype(_impl_.to_quality_then_)*/nullptr - , /*decltype(_impl_.connection_id_)*/0u - , /*decltype(_impl_.from_ip_)*/0u - , /*decltype(_impl_.from_port_)*/0u - , /*decltype(_impl_.from_router_cluster_)*/0u - , /*decltype(_impl_.from_active_time_)*/0u - , /*decltype(_impl_.from_active_packets_recv_)*/0u - , /*decltype(_impl_.gap_ms_)*/0u} {} -struct CMsgSteamDatagramClientSwitchedPrimaryDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramClientSwitchedPrimaryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramClientSwitchedPrimaryDefaultTypeInternal() {} - union { - CMsgSteamDatagramClientSwitchedPrimary _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramClientSwitchedPrimaryDefaultTypeInternal _CMsgSteamDatagramClientSwitchedPrimary_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectRequest::CMsgSteamDatagramConnectRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.crypt_)*/nullptr - , /*decltype(_impl_.cert_)*/nullptr - , /*decltype(_impl_.connection_id_)*/0u - , /*decltype(_impl_.gameserver_relay_session_id_)*/0u - , /*decltype(_impl_.legacy_client_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.my_timestamp_)*/uint64_t{0u} - , /*decltype(_impl_.ping_est_ms_)*/0u - , /*decltype(_impl_.virtual_port_)*/0u - , /*decltype(_impl_.routing_secret_)*/uint64_t{0u}} {} -struct CMsgSteamDatagramConnectRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramConnectRequestDefaultTypeInternal() {} - union { - CMsgSteamDatagramConnectRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectRequestDefaultTypeInternal _CMsgSteamDatagramConnectRequest_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectOK::CMsgSteamDatagramConnectOK( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.crypt_)*/nullptr - , /*decltype(_impl_.cert_)*/nullptr - , /*decltype(_impl_.client_connection_id_)*/0u - , /*decltype(_impl_.gameserver_relay_session_id_)*/0u - , /*decltype(_impl_.your_timestamp_)*/uint64_t{0u} - , /*decltype(_impl_.delay_time_usec_)*/0u - , /*decltype(_impl_.server_connection_id_)*/0u} {} -struct CMsgSteamDatagramConnectOKDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectOKDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramConnectOKDefaultTypeInternal() {} - union { - CMsgSteamDatagramConnectOK _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectOKDefaultTypeInternal _CMsgSteamDatagramConnectOK_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PSDRRoutingSummary::CMsgSteamNetworkingP2PSDRRoutingSummary( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.initial_ping_)*/0u - , /*decltype(_impl_.initial_ping_front_local_)*/0u - , /*decltype(_impl_.initial_ping_front_remote_)*/0u - , /*decltype(_impl_.initial_score_)*/0u - , /*decltype(_impl_.initial_pop_local_)*/0u - , /*decltype(_impl_.initial_pop_remote_)*/0u - , /*decltype(_impl_.negotiation_ms_)*/0u - , /*decltype(_impl_.selected_seconds_)*/0u - , /*decltype(_impl_.best_ping_)*/0u - , /*decltype(_impl_.best_ping_front_local_)*/0u - , /*decltype(_impl_.best_ping_front_remote_)*/0u - , /*decltype(_impl_.best_score_)*/0u - , /*decltype(_impl_.best_pop_local_)*/0u - , /*decltype(_impl_.best_pop_remote_)*/0u - , /*decltype(_impl_.best_time_)*/0u} {} -struct CMsgSteamNetworkingP2PSDRRoutingSummaryDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PSDRRoutingSummaryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamNetworkingP2PSDRRoutingSummaryDefaultTypeInternal() {} - union { - CMsgSteamNetworkingP2PSDRRoutingSummary _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingP2PSDRRoutingSummaryDefaultTypeInternal _CMsgSteamNetworkingP2PSDRRoutingSummary_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutingSummary::CMsgSteamDatagramP2PRoutingSummary( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ice_)*/nullptr - , /*decltype(_impl_.sdr_)*/nullptr} {} -struct CMsgSteamDatagramP2PRoutingSummaryDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutingSummaryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramP2PRoutingSummaryDefaultTypeInternal() {} - union { - CMsgSteamDatagramP2PRoutingSummary _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramP2PRoutingSummaryDefaultTypeInternal _CMsgSteamDatagramP2PRoutingSummary_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionClosed::CMsgSteamDatagramConnectionClosed( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.debug_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.forward_target_relay_routing_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.from_identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.legacy_from_identity_binary_)*/nullptr - , /*decltype(_impl_.quality_relay_)*/nullptr - , /*decltype(_impl_.quality_e2e_)*/nullptr - , /*decltype(_impl_.p2p_routing_summary_)*/nullptr - , /*decltype(_impl_.legacy_from_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.legacy_gameserver_relay_session_id_)*/0u - , /*decltype(_impl_.relay_mode_)*/0 - , /*decltype(_impl_.reason_code_)*/0u - , /*decltype(_impl_.to_connection_id_)*/0u - , /*decltype(_impl_.from_connection_id_)*/0u - , /*decltype(_impl_.to_relay_session_id_)*/0u - , /*decltype(_impl_.from_relay_session_id_)*/0u - , /*decltype(_impl_.forward_target_revision_)*/0u - , /*decltype(_impl_.routing_secret_)*/uint64_t{0u} - , /*decltype(_impl_.not_primary_session_)*/false - , /*decltype(_impl_.not_primary_transport_)*/false - , /*decltype(_impl_.relay_override_active_)*/false} {} -struct CMsgSteamDatagramConnectionClosedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionClosedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramConnectionClosedDefaultTypeInternal() {} - union { - CMsgSteamDatagramConnectionClosed _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectionClosedDefaultTypeInternal _CMsgSteamDatagramConnectionClosed_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramNoConnection::CMsgSteamDatagramNoConnection( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.from_identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.quality_relay_)*/nullptr - , /*decltype(_impl_.quality_e2e_)*/nullptr - , /*decltype(_impl_.p2p_routing_summary_)*/nullptr - , /*decltype(_impl_.legacy_from_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.legacy_gameserver_relay_session_id_)*/0u - , /*decltype(_impl_.to_connection_id_)*/0u - , /*decltype(_impl_.from_connection_id_)*/0u - , /*decltype(_impl_.to_relay_session_id_)*/0u - , /*decltype(_impl_.routing_secret_)*/uint64_t{0u} - , /*decltype(_impl_.from_relay_session_id_)*/0u - , /*decltype(_impl_.end_to_end_)*/false - , /*decltype(_impl_.not_primary_session_)*/false - , /*decltype(_impl_.not_primary_transport_)*/false - , /*decltype(_impl_.relay_override_active_)*/false - , /*decltype(_impl_.dummy_pad_)*/0u} {} -struct CMsgSteamDatagramNoConnectionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramNoConnectionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramNoConnectionDefaultTypeInternal() {} - union { - CMsgSteamDatagramNoConnection _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramNoConnectionDefaultTypeInternal _CMsgSteamDatagramNoConnection_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverSessionRequest::CMsgSteamDatagramGameserverSessionRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ticket_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.platform_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.build_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.dev_gameserver_identity_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.dev_client_cert_)*/nullptr - , /*decltype(_impl_.challenge_)*/uint64_t{0u} - , /*decltype(_impl_.challenge_time_)*/0u - , /*decltype(_impl_.client_connection_id_)*/0u - , /*decltype(_impl_.network_config_version_)*/uint64_t{0u} - , /*decltype(_impl_.protocol_version_)*/0u - , /*decltype(_impl_.server_connection_id_)*/0u} {} -struct CMsgSteamDatagramGameserverSessionRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverSessionRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramGameserverSessionRequestDefaultTypeInternal() {} - union { - CMsgSteamDatagramGameserverSessionRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramGameserverSessionRequestDefaultTypeInternal _CMsgSteamDatagramGameserverSessionRequest_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverSessionEstablished::CMsgSteamDatagramGameserverSessionEstablished( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.gameserver_identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.dummy_legacy_identity_binary_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.connection_id_)*/0u - , /*decltype(_impl_.seconds_until_shutdown_)*/0u - , /*decltype(_impl_.legacy_gameserver_steamid_)*/uint64_t{0u} - , /*decltype(_impl_.seq_num_r2c_)*/0u} {} -struct CMsgSteamDatagramGameserverSessionEstablishedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverSessionEstablishedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramGameserverSessionEstablishedDefaultTypeInternal() {} - union { - CMsgSteamDatagramGameserverSessionEstablished _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramGameserverSessionEstablishedDefaultTypeInternal _CMsgSteamDatagramGameserverSessionEstablished_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsClientToRouter::CMsgSteamDatagramConnectionStatsClientToRouter( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ack_relay_)*/{} - , /*decltype(_impl_.legacy_ack_e2e_)*/{} - , /*decltype(_impl_.quality_relay_)*/nullptr - , /*decltype(_impl_.quality_e2e_)*/nullptr - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.client_connection_id_)*/0u - , /*decltype(_impl_.seq_num_c2r_)*/0u - , /*decltype(_impl_.seq_num_e2e_)*/0u} {} -struct CMsgSteamDatagramConnectionStatsClientToRouterDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsClientToRouterDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramConnectionStatsClientToRouterDefaultTypeInternal() {} - union { - CMsgSteamDatagramConnectionStatsClientToRouter _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectionStatsClientToRouterDefaultTypeInternal _CMsgSteamDatagramConnectionStatsClientToRouter_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsRouterToClient::CMsgSteamDatagramConnectionStatsRouterToClient( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ack_relay_)*/{} - , /*decltype(_impl_.legacy_ack_e2e_)*/{} - , /*decltype(_impl_.quality_relay_)*/nullptr - , /*decltype(_impl_.quality_e2e_)*/nullptr - , /*decltype(_impl_.seconds_until_shutdown_)*/0u - , /*decltype(_impl_.client_connection_id_)*/0u - , /*decltype(_impl_.seq_num_r2c_)*/0u - , /*decltype(_impl_.seq_num_e2e_)*/0u - , /*decltype(_impl_.migrate_request_ip_)*/0u - , /*decltype(_impl_.migrate_request_port_)*/0u - , /*decltype(_impl_.scoring_penalty_relay_cluster_)*/0u - , /*decltype(_impl_.flags_)*/0u} {} -struct CMsgSteamDatagramConnectionStatsRouterToClientDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsRouterToClientDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramConnectionStatsRouterToClientDefaultTypeInternal() {} - union { - CMsgSteamDatagramConnectionStatsRouterToClient _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectionStatsRouterToClientDefaultTypeInternal _CMsgSteamDatagramConnectionStatsRouterToClient_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsRouterToServer::CMsgSteamDatagramConnectionStatsRouterToServer( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ack_relay_)*/{} - , /*decltype(_impl_.legacy_ack_e2e_)*/{} - , /*decltype(_impl_.client_identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.quality_relay_)*/nullptr - , /*decltype(_impl_.quality_e2e_)*/nullptr - , /*decltype(_impl_.seq_num_r2s_)*/0u - , /*decltype(_impl_.seq_num_e2e_)*/0u - , /*decltype(_impl_.legacy_client_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.relay_session_id_)*/0u - , /*decltype(_impl_.client_connection_id_)*/0u - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.server_connection_id_)*/0u - , /*decltype(_impl_.routing_secret_)*/uint64_t{0u}} {} -struct CMsgSteamDatagramConnectionStatsRouterToServerDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsRouterToServerDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramConnectionStatsRouterToServerDefaultTypeInternal() {} - union { - CMsgSteamDatagramConnectionStatsRouterToServer _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectionStatsRouterToServerDefaultTypeInternal _CMsgSteamDatagramConnectionStatsRouterToServer_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsServerToRouter::CMsgSteamDatagramConnectionStatsServerToRouter( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ack_relay_)*/{} - , /*decltype(_impl_.legacy_ack_e2e_)*/{} - , /*decltype(_impl_.quality_relay_)*/nullptr - , /*decltype(_impl_.quality_e2e_)*/nullptr - , /*decltype(_impl_.seq_num_s2r_)*/0u - , /*decltype(_impl_.seq_num_e2e_)*/0u - , /*decltype(_impl_.relay_session_id_)*/0u - , /*decltype(_impl_.client_connection_id_)*/0u - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.server_connection_id_)*/0u} {} -struct CMsgSteamDatagramConnectionStatsServerToRouterDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsServerToRouterDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramConnectionStatsServerToRouterDefaultTypeInternal() {} - union { - CMsgSteamDatagramConnectionStatsServerToRouter _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectionStatsServerToRouterDefaultTypeInternal _CMsgSteamDatagramConnectionStatsServerToRouter_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.peer_identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CMsgSteamDatagramP2PSessionRequestBody_EncryptedDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionRequestBody_EncryptedDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramP2PSessionRequestBody_EncryptedDataDefaultTypeInternal() {} - union { - CMsgSteamDatagramP2PSessionRequestBody_EncryptedData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramP2PSessionRequestBody_EncryptedDataDefaultTypeInternal _CMsgSteamDatagramP2PSessionRequestBody_EncryptedData_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionRequestBody::CMsgSteamDatagramP2PSessionRequestBody( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.peer_identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.platform_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.build_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.encrypted_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.encryption_my_ephemeral_public_key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.challenge_)*/uint64_t{0u} - , /*decltype(_impl_.challenge_time_)*/0u - , /*decltype(_impl_.client_connection_id_)*/0u - , /*decltype(_impl_.legacy_peer_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.peer_connection_id_)*/0u - , /*decltype(_impl_.protocol_version_)*/0u - , /*decltype(_impl_.network_config_version_)*/uint64_t{0u} - , /*decltype(_impl_.encryption_your_public_key_lead_byte_)*/0u} {} -struct CMsgSteamDatagramP2PSessionRequestBodyDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionRequestBodyDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramP2PSessionRequestBodyDefaultTypeInternal() {} - union { - CMsgSteamDatagramP2PSessionRequestBody _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramP2PSessionRequestBodyDefaultTypeInternal _CMsgSteamDatagramP2PSessionRequestBody_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionRequest::CMsgSteamDatagramP2PSessionRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.body_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.signature_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.cert_)*/nullptr} {} -struct CMsgSteamDatagramP2PSessionRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramP2PSessionRequestDefaultTypeInternal() {} - union { - CMsgSteamDatagramP2PSessionRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramP2PSessionRequestDefaultTypeInternal _CMsgSteamDatagramP2PSessionRequest_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionEstablished::CMsgSteamDatagramP2PSessionEstablished( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.relay_routing_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.connection_id_)*/0u - , /*decltype(_impl_.seconds_until_shutdown_)*/0u - , /*decltype(_impl_.seq_num_r2c_)*/0u} {} -struct CMsgSteamDatagramP2PSessionEstablishedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionEstablishedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramP2PSessionEstablishedDefaultTypeInternal() {} - union { - CMsgSteamDatagramP2PSessionEstablished _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramP2PSessionEstablishedDefaultTypeInternal _CMsgSteamDatagramP2PSessionEstablished_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsP2PClientToRouter::CMsgSteamDatagramConnectionStatsP2PClientToRouter( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ack_relay_)*/{} - , /*decltype(_impl_.legacy_ack_e2e_)*/{} - , /*decltype(_impl_.forward_target_relay_routing_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.routes_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.quality_relay_)*/nullptr - , /*decltype(_impl_.quality_e2e_)*/nullptr - , /*decltype(_impl_.p2p_routing_summary_)*/nullptr - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.forward_target_revision_)*/0u - , /*decltype(_impl_.ack_peer_routes_revision_)*/0u - , /*decltype(_impl_.connection_id_)*/0u - , /*decltype(_impl_.seq_num_c2r_)*/0u - , /*decltype(_impl_.seq_num_e2e_)*/0u} {} -struct CMsgSteamDatagramConnectionStatsP2PClientToRouterDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsP2PClientToRouterDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramConnectionStatsP2PClientToRouterDefaultTypeInternal() {} - union { - CMsgSteamDatagramConnectionStatsP2PClientToRouter _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectionStatsP2PClientToRouterDefaultTypeInternal _CMsgSteamDatagramConnectionStatsP2PClientToRouter_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsP2PRouterToClient::CMsgSteamDatagramConnectionStatsP2PRouterToClient( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ack_relay_)*/{} - , /*decltype(_impl_.legacy_ack_e2e_)*/{} - , /*decltype(_impl_.routes_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.quality_relay_)*/nullptr - , /*decltype(_impl_.quality_e2e_)*/nullptr - , /*decltype(_impl_.seconds_until_shutdown_)*/0u - , /*decltype(_impl_.migrate_request_ip_)*/0u - , /*decltype(_impl_.migrate_request_port_)*/0u - , /*decltype(_impl_.scoring_penalty_relay_cluster_)*/0u - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.ack_forward_target_revision_)*/0u - , /*decltype(_impl_.ack_peer_routes_revision_)*/0u - , /*decltype(_impl_.connection_id_)*/0u - , /*decltype(_impl_.seq_num_r2c_)*/0u - , /*decltype(_impl_.seq_num_e2e_)*/0u} {} -struct CMsgSteamDatagramConnectionStatsP2PRouterToClientDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsP2PRouterToClientDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramConnectionStatsP2PRouterToClientDefaultTypeInternal() {} - union { - CMsgSteamDatagramConnectionStatsP2PRouterToClient _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectionStatsP2PRouterToClientDefaultTypeInternal _CMsgSteamDatagramConnectionStatsP2PRouterToClient_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PBadRouteRouterToClient::CMsgSteamDatagramP2PBadRouteRouterToClient( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.failed_relay_routing_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.connection_id_)*/0u - , /*decltype(_impl_.ack_forward_target_revision_)*/0u - , /*decltype(_impl_.kludge_pad_)*/uint64_t{0u}} {} -struct CMsgSteamDatagramP2PBadRouteRouterToClientDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PBadRouteRouterToClientDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramP2PBadRouteRouterToClientDefaultTypeInternal() {} - union { - CMsgSteamDatagramP2PBadRouteRouterToClient _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramP2PBadRouteRouterToClientDefaultTypeInternal _CMsgSteamDatagramP2PBadRouteRouterToClient_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutes_RelayCluster::CMsgSteamDatagramP2PRoutes_RelayCluster( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.session_relay_routing_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.pop_id_)*/0u - , /*decltype(_impl_.ping_ms_)*/0u - , /*decltype(_impl_.score_penalty_)*/0u} {} -struct CMsgSteamDatagramP2PRoutes_RelayClusterDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutes_RelayClusterDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramP2PRoutes_RelayClusterDefaultTypeInternal() {} - union { - CMsgSteamDatagramP2PRoutes_RelayCluster _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramP2PRoutes_RelayClusterDefaultTypeInternal _CMsgSteamDatagramP2PRoutes_RelayCluster_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutes_Route::CMsgSteamDatagramP2PRoutes_Route( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.my_pop_id_)*/0u - , /*decltype(_impl_.your_pop_id_)*/0u - , /*decltype(_impl_.legacy_score_)*/0u - , /*decltype(_impl_.interior_score_)*/0u} {} -struct CMsgSteamDatagramP2PRoutes_RouteDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutes_RouteDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramP2PRoutes_RouteDefaultTypeInternal() {} - union { - CMsgSteamDatagramP2PRoutes_Route _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramP2PRoutes_RouteDefaultTypeInternal _CMsgSteamDatagramP2PRoutes_Route_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutes::CMsgSteamDatagramP2PRoutes( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.relay_clusters_)*/{} - , /*decltype(_impl_.routes_)*/{} - , /*decltype(_impl_.revision_)*/0u} {} -struct CMsgSteamDatagramP2PRoutesDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramP2PRoutesDefaultTypeInternal() {} - union { - CMsgSteamDatagramP2PRoutes _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramP2PRoutesDefaultTypeInternal _CMsgSteamDatagramP2PRoutes_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramSetSecondaryAddressRequest::CMsgSteamDatagramSetSecondaryAddressRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.client_identity_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.kludge_pad_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.client_main_ip_)*/0u - , /*decltype(_impl_.client_main_port_)*/0u - , /*decltype(_impl_.client_connection_id_)*/0u - , /*decltype(_impl_.request_send_duplication_)*/false} {} -struct CMsgSteamDatagramSetSecondaryAddressRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramSetSecondaryAddressRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramSetSecondaryAddressRequestDefaultTypeInternal() {} - union { - CMsgSteamDatagramSetSecondaryAddressRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramSetSecondaryAddressRequestDefaultTypeInternal _CMsgSteamDatagramSetSecondaryAddressRequest_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramSetSecondaryAddressResult::CMsgSteamDatagramSetSecondaryAddressResult( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.success_)*/false} {} -struct CMsgSteamDatagramSetSecondaryAddressResultDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramSetSecondaryAddressResultDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramSetSecondaryAddressResultDefaultTypeInternal() {} - union { - CMsgSteamDatagramSetSecondaryAddressResult _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramSetSecondaryAddressResultDefaultTypeInternal _CMsgSteamDatagramSetSecondaryAddressResult_default_instance_; -static ::_pb::Metadata file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[42]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[10]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steamdatagram_5fmessages_5fsdr_2eproto = nullptr; - -const uint32_t TableStruct_steamdatagram_5fmessages_5fsdr_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIPAddress, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIPAddress, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIPAddress, _impl_.v4_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIPAddress, _impl_.v6_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedMessageGeneric, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedMessageGeneric, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedMessageGeneric, _impl_.cert_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedMessageGeneric, _impl_.signed_data_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedMessageGeneric, _impl_.signature_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSignedMessageGeneric, _impl_.dummy_pad_), - 3, - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_RouteException, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_RouteException, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_RouteException, _impl_.data_center_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_RouteException, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_RouteException, _impl_.penalty_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_AltAddress, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_AltAddress, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_AltAddress, _impl_.ipv4_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_AltAddress, _impl_.port_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_AltAddress, _impl_.penalty_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_AltAddress, _impl_.protocol_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply_AltAddress, _impl_.id_), - 1, - 2, - 3, - 4, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.client_timestamp_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.latency_datacenter_ids_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.latency_ping_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.latency_datacenter_ids_p2p_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.latency_ping_ms_p2p_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.your_public_ip_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.your_public_port_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.server_time_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.challenge_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.seconds_until_shutdown_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.client_cookie_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.recv_tos_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.echo_sent_tos_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.sent_tos_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.echo_request_reply_tos_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.scoring_penalty_relay_cluster_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.route_exceptions_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.alt_addresses_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.dummy_pad_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramRouterPingReply, _impl_.dummy_varint_), - 1, - ~0u, - ~0u, - ~0u, - ~0u, - 2, - 8, - 4, - 3, - 5, - 6, - 10, - 11, - 12, - 13, - 7, - 9, - ~0u, - ~0u, - 0, - 14, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestBody, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestBody, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestBody, _impl_.relay_popid_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestBody, _impl_.your_public_ip_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestBody, _impl_.your_public_port_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestBody, _impl_.relay_unix_time_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestBody, _impl_.routing_secret_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestBody, _impl_.my_ips_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestBody, _impl_.echo_), - 2, - 1, - 3, - 4, - 5, - ~0u, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.cert_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.signed_data_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.signature_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.legacy_your_public_ip_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.legacy_your_public_port_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.legacy_relay_unix_time_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.legacy_challenge_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.legacy_router_timestamp_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.dummy_pad_), - 3, - 0, - 1, - 4, - 8, - 5, - 6, - 7, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.echo_relay_unix_time_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.echo_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.legacy_challenge_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.legacy_router_timestamp_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.data_center_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.protocol_version_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.build_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.network_config_version_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.my_unix_time_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverPingReplyData, _impl_.routing_blob_), - 4, - 0, - 3, - 5, - 6, - 7, - 8, - 1, - 10, - 9, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToClient, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToClient, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToClient, _impl_.connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToClient, _impl_.your_public_ip_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToClient, _impl_.your_public_port_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToClient, _impl_.server_time_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToClient, _impl_.challenge_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToClient, _impl_.seconds_until_shutdown_), - 5, - 0, - 4, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToPeer, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToPeer, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToPeer, _impl_.legacy_relay_session_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToPeer, _impl_.from_relay_session_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToPeer, _impl_.from_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoSessionRelayToPeer, _impl_.kludge_pad_), - 0, - 1, - 3, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgTOSTreatment, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTOSTreatment, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTOSTreatment, _impl_.l4s_detect_), - PROTOBUF_FIELD_OFFSET(::CMsgTOSTreatment, _impl_.up_ecn1_), - PROTOBUF_FIELD_OFFSET(::CMsgTOSTreatment, _impl_.down_dscp45_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleRequest, _impl_.connection_id_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress, _impl_.front_ping_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress, _impl_.penalty_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.pop_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.default_front_ping_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.cluster_penalty_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.alt_addresses_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.default_e2e_ping_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.default_e2e_score_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.p2p_via_peer_relay_pop_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.best_dc_ping_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.best_dc_score_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.best_dc_via_relay_pop_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.default_dc_ping_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.default_dc_score_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.default_dc_via_relay_pop_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.test_dc_ping_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.test_dc_score_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_POP, _impl_.test_dc_via_relay_pop_id_), - 0, - 1, - 3, - ~0u, - 2, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter, _impl_.data_center_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter, _impl_.best_dc_via_relay_pop_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter, _impl_.best_dc_ping_ms_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply, _impl_.connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply, _impl_.relay_override_active_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply, _impl_.tos_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply, _impl_.pops_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientPingSampleReply, _impl_.legacy_data_centers_), - 1, - 2, - 0, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality, _impl_.score_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality, _impl_.front_ping_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality, _impl_.back_ping_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality, _impl_.seconds_until_down_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.from_ip_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.from_port_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.from_router_cluster_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.from_active_time_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.from_active_packets_recv_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.from_dropped_reason_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.gap_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.from_quality_now_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.to_quality_now_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.from_quality_then_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramClientSwitchedPrimary, _impl_.to_quality_then_), - 5, - 6, - 7, - 8, - 9, - 10, - 0, - 11, - 1, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_.connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_.my_timestamp_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_.ping_est_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_.virtual_port_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_.gameserver_relay_session_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_.crypt_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_.cert_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_.routing_secret_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectRequest, _impl_.legacy_client_steam_id_), - 2, - 5, - 6, - 7, - 3, - 0, - 1, - 8, - 4, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectOK, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectOK, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectOK, _impl_.client_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectOK, _impl_.server_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectOK, _impl_.your_timestamp_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectOK, _impl_.delay_time_usec_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectOK, _impl_.gameserver_relay_session_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectOK, _impl_.crypt_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectOK, _impl_.cert_), - 2, - 6, - 4, - 5, - 3, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.initial_ping_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.initial_ping_front_local_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.initial_ping_front_remote_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.initial_score_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.initial_pop_local_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.initial_pop_remote_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.best_ping_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.best_ping_front_local_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.best_ping_front_remote_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.best_score_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.best_pop_local_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.best_pop_remote_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.best_time_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.negotiation_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.selected_seconds_), - 0, - 1, - 2, - 3, - 4, - 5, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 6, - 7, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutingSummary, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutingSummary, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutingSummary, _impl_.ice_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutingSummary, _impl_.sdr_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.to_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.from_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.from_identity_string_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.legacy_from_identity_binary_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.legacy_from_steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.legacy_gameserver_relay_session_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.to_relay_session_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.from_relay_session_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.forward_target_relay_routing_token_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.forward_target_revision_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.relay_mode_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.debug_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.reason_code_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.routing_secret_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.not_primary_session_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.not_primary_transport_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.relay_override_active_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.quality_relay_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.quality_e2e_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionClosed, _impl_.p2p_routing_summary_), - 11, - 12, - 2, - 3, - 7, - 8, - 13, - 14, - 1, - 15, - 9, - 0, - 10, - 16, - 17, - 18, - 19, - 4, - 5, - 6, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.to_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.from_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.legacy_gameserver_relay_session_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.to_relay_session_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.from_relay_session_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.from_identity_string_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.legacy_from_steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.end_to_end_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.not_primary_session_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.not_primary_transport_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.relay_override_active_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.quality_relay_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.quality_e2e_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.p2p_routing_summary_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.routing_secret_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramNoConnection, _impl_.dummy_pad_), - 6, - 7, - 5, - 8, - 10, - 0, - 4, - 11, - 12, - 13, - 14, - 1, - 2, - 3, - 9, - 15, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.ticket_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.challenge_time_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.challenge_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.client_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.server_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.network_config_version_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.protocol_version_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.platform_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.build_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.dev_gameserver_identity_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionRequest, _impl_.dev_client_cert_), - 0, - 6, - 5, - 7, - 10, - 8, - 9, - 1, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionEstablished, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionEstablished, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionEstablished, _impl_.connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionEstablished, _impl_.gameserver_identity_string_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionEstablished, _impl_.seconds_until_shutdown_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionEstablished, _impl_.seq_num_r2c_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionEstablished, _impl_.dummy_legacy_identity_binary_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramGameserverSessionEstablished, _impl_.legacy_gameserver_steamid_), - 2, - 0, - 3, - 5, - 1, - 4, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.quality_relay_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.quality_e2e_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.ack_relay_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.legacy_ack_e2e_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.client_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.seq_num_c2r_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.seq_num_e2e_), - 0, - 1, - ~0u, - ~0u, - 2, - 3, - 4, - 5, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.quality_relay_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.quality_e2e_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.seconds_until_shutdown_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.migrate_request_ip_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.migrate_request_port_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.scoring_penalty_relay_cluster_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.ack_relay_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.legacy_ack_e2e_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.client_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.seq_num_r2c_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.seq_num_e2e_), - 0, - 1, - 2, - 6, - 7, - 8, - ~0u, - ~0u, - 9, - 3, - 4, - 5, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.quality_relay_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.quality_e2e_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.ack_relay_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.legacy_ack_e2e_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.seq_num_r2s_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.seq_num_e2e_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.client_identity_string_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.legacy_client_steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.relay_session_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.client_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.server_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.routing_secret_), - 1, - 2, - ~0u, - ~0u, - 8, - 3, - 4, - 0, - 5, - 6, - 7, - 9, - 10, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.quality_relay_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.quality_e2e_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.ack_relay_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.legacy_ack_e2e_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.seq_num_s2r_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.seq_num_e2e_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.relay_session_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.client_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.server_connection_id_), - 0, - 1, - ~0u, - ~0u, - 6, - 2, - 3, - 4, - 5, - 7, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData, _impl_.peer_identity_string_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.challenge_time_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.challenge_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.client_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.legacy_peer_steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.peer_identity_string_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.peer_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.encrypted_data_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.encryption_your_public_key_lead_byte_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.encryption_my_ephemeral_public_key_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.protocol_version_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.network_config_version_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.platform_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequestBody, _impl_.build_), - 6, - 5, - 7, - 8, - 0, - 9, - 3, - 12, - 4, - 10, - 11, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequest, _impl_.cert_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequest, _impl_.body_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionRequest, _impl_.signature_), - 2, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionEstablished, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionEstablished, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionEstablished, _impl_.connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionEstablished, _impl_.seconds_until_shutdown_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionEstablished, _impl_.relay_routing_token_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PSessionEstablished, _impl_.seq_num_r2c_), - 1, - 2, - 0, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.quality_relay_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.quality_e2e_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.p2p_routing_summary_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.ack_relay_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.legacy_ack_e2e_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.forward_target_relay_routing_token_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.forward_target_revision_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.routes_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.ack_peer_routes_revision_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.seq_num_c2r_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.seq_num_e2e_), - 2, - 3, - 4, - ~0u, - ~0u, - 5, - 0, - 6, - 1, - 7, - 8, - 9, - 10, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.quality_relay_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.quality_e2e_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.seconds_until_shutdown_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.migrate_request_ip_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.migrate_request_port_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.scoring_penalty_relay_cluster_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.ack_relay_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.legacy_ack_e2e_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.ack_forward_target_revision_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.routes_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.ack_peer_routes_revision_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.seq_num_r2c_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.seq_num_e2e_), - 1, - 2, - 3, - 4, - 5, - 6, - ~0u, - ~0u, - 7, - 8, - 0, - 9, - 10, - 11, - 12, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PBadRouteRouterToClient, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PBadRouteRouterToClient, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PBadRouteRouterToClient, _impl_.connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PBadRouteRouterToClient, _impl_.failed_relay_routing_token_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PBadRouteRouterToClient, _impl_.ack_forward_target_revision_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PBadRouteRouterToClient, _impl_.kludge_pad_), - 1, - 0, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_RelayCluster, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_RelayCluster, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_RelayCluster, _impl_.pop_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_RelayCluster, _impl_.ping_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_RelayCluster, _impl_.score_penalty_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_RelayCluster, _impl_.session_relay_routing_token_), - 1, - 2, - 3, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_Route, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_Route, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_Route, _impl_.my_pop_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_Route, _impl_.your_pop_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_Route, _impl_.legacy_score_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes_Route, _impl_.interior_score_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes, _impl_.relay_clusters_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes, _impl_.routes_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramP2PRoutes, _impl_.revision_), - ~0u, - ~0u, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressRequest, _impl_.client_main_ip_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressRequest, _impl_.client_main_port_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressRequest, _impl_.client_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressRequest, _impl_.client_identity_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressRequest, _impl_.request_send_duplication_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressRequest, _impl_.kludge_pad_), - 2, - 3, - 4, - 0, - 5, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressResult, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressResult, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressResult, _impl_.success_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSetSecondaryAddressResult, _impl_.message_), - 1, - 0, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 8, -1, sizeof(::CMsgSteamNetworkingIPAddress)}, - { 10, 20, -1, sizeof(::CMsgSteamDatagramSignedMessageGeneric)}, - { 24, 33, -1, sizeof(::CMsgSteamDatagramRouterPingReply_RouteException)}, - { 36, 47, -1, sizeof(::CMsgSteamDatagramRouterPingReply_AltAddress)}, - { 52, 79, -1, sizeof(::CMsgSteamDatagramRouterPingReply)}, - { 100, 113, -1, sizeof(::CMsgSteamDatagramGameserverPingRequestBody)}, - { 120, 135, -1, sizeof(::CMsgSteamDatagramGameserverPingRequestEnvelope)}, - { 144, 161, -1, sizeof(::CMsgSteamDatagramGameserverPingReplyData)}, - { 172, 184, -1, sizeof(::CMsgSteamDatagramNoSessionRelayToClient)}, - { 190, 200, -1, sizeof(::CMsgSteamDatagramNoSessionRelayToPeer)}, - { 204, 213, -1, sizeof(::CMsgTOSTreatment)}, - { 216, 223, -1, sizeof(::CMsgSteamDatagramClientPingSampleRequest)}, - { 224, 233, -1, sizeof(::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress)}, - { 236, 258, -1, sizeof(::CMsgSteamDatagramClientPingSampleReply_POP)}, - { 274, 283, -1, sizeof(::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter)}, - { 286, 297, -1, sizeof(::CMsgSteamDatagramClientPingSampleReply)}, - { 302, 312, -1, sizeof(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality)}, - { 316, 334, -1, sizeof(::CMsgSteamDatagramClientSwitchedPrimary)}, - { 346, 361, -1, sizeof(::CMsgSteamDatagramConnectRequest)}, - { 370, 383, -1, sizeof(::CMsgSteamDatagramConnectOK)}, - { 390, 411, -1, sizeof(::CMsgSteamNetworkingP2PSDRRoutingSummary)}, - { 426, 434, -1, sizeof(::CMsgSteamDatagramP2PRoutingSummary)}, - { 436, 462, -1, sizeof(::CMsgSteamDatagramConnectionClosed)}, - { 482, 504, -1, sizeof(::CMsgSteamDatagramNoConnection)}, - { 520, 537, -1, sizeof(::CMsgSteamDatagramGameserverSessionRequest)}, - { 548, 560, -1, sizeof(::CMsgSteamDatagramGameserverSessionEstablished)}, - { 566, 580, -1, sizeof(::CMsgSteamDatagramConnectionStatsClientToRouter)}, - { 588, 606, -1, sizeof(::CMsgSteamDatagramConnectionStatsRouterToClient)}, - { 618, 637, -1, sizeof(::CMsgSteamDatagramConnectionStatsRouterToServer)}, - { 650, 666, -1, sizeof(::CMsgSteamDatagramConnectionStatsServerToRouter)}, - { 676, 683, -1, sizeof(::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData)}, - { 684, 703, -1, sizeof(::CMsgSteamDatagramP2PSessionRequestBody)}, - { 716, 725, -1, sizeof(::CMsgSteamDatagramP2PSessionRequest)}, - { 728, 738, -1, sizeof(::CMsgSteamDatagramP2PSessionEstablished)}, - { 742, 761, -1, sizeof(::CMsgSteamDatagramConnectionStatsP2PClientToRouter)}, - { 774, 795, -1, sizeof(::CMsgSteamDatagramConnectionStatsP2PRouterToClient)}, - { 810, 820, -1, sizeof(::CMsgSteamDatagramP2PBadRouteRouterToClient)}, - { 824, 834, -1, sizeof(::CMsgSteamDatagramP2PRoutes_RelayCluster)}, - { 838, 848, -1, sizeof(::CMsgSteamDatagramP2PRoutes_Route)}, - { 852, 861, -1, sizeof(::CMsgSteamDatagramP2PRoutes)}, - { 864, 876, -1, sizeof(::CMsgSteamDatagramSetSecondaryAddressRequest)}, - { 882, 890, -1, sizeof(::CMsgSteamDatagramSetSecondaryAddressResult)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CMsgSteamNetworkingIPAddress_default_instance_._instance, - &::_CMsgSteamDatagramSignedMessageGeneric_default_instance_._instance, - &::_CMsgSteamDatagramRouterPingReply_RouteException_default_instance_._instance, - &::_CMsgSteamDatagramRouterPingReply_AltAddress_default_instance_._instance, - &::_CMsgSteamDatagramRouterPingReply_default_instance_._instance, - &::_CMsgSteamDatagramGameserverPingRequestBody_default_instance_._instance, - &::_CMsgSteamDatagramGameserverPingRequestEnvelope_default_instance_._instance, - &::_CMsgSteamDatagramGameserverPingReplyData_default_instance_._instance, - &::_CMsgSteamDatagramNoSessionRelayToClient_default_instance_._instance, - &::_CMsgSteamDatagramNoSessionRelayToPeer_default_instance_._instance, - &::_CMsgTOSTreatment_default_instance_._instance, - &::_CMsgSteamDatagramClientPingSampleRequest_default_instance_._instance, - &::_CMsgSteamDatagramClientPingSampleReply_POP_AltAddress_default_instance_._instance, - &::_CMsgSteamDatagramClientPingSampleReply_POP_default_instance_._instance, - &::_CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter_default_instance_._instance, - &::_CMsgSteamDatagramClientPingSampleReply_default_instance_._instance, - &::_CMsgSteamDatagramClientSwitchedPrimary_RouterQuality_default_instance_._instance, - &::_CMsgSteamDatagramClientSwitchedPrimary_default_instance_._instance, - &::_CMsgSteamDatagramConnectRequest_default_instance_._instance, - &::_CMsgSteamDatagramConnectOK_default_instance_._instance, - &::_CMsgSteamNetworkingP2PSDRRoutingSummary_default_instance_._instance, - &::_CMsgSteamDatagramP2PRoutingSummary_default_instance_._instance, - &::_CMsgSteamDatagramConnectionClosed_default_instance_._instance, - &::_CMsgSteamDatagramNoConnection_default_instance_._instance, - &::_CMsgSteamDatagramGameserverSessionRequest_default_instance_._instance, - &::_CMsgSteamDatagramGameserverSessionEstablished_default_instance_._instance, - &::_CMsgSteamDatagramConnectionStatsClientToRouter_default_instance_._instance, - &::_CMsgSteamDatagramConnectionStatsRouterToClient_default_instance_._instance, - &::_CMsgSteamDatagramConnectionStatsRouterToServer_default_instance_._instance, - &::_CMsgSteamDatagramConnectionStatsServerToRouter_default_instance_._instance, - &::_CMsgSteamDatagramP2PSessionRequestBody_EncryptedData_default_instance_._instance, - &::_CMsgSteamDatagramP2PSessionRequestBody_default_instance_._instance, - &::_CMsgSteamDatagramP2PSessionRequest_default_instance_._instance, - &::_CMsgSteamDatagramP2PSessionEstablished_default_instance_._instance, - &::_CMsgSteamDatagramConnectionStatsP2PClientToRouter_default_instance_._instance, - &::_CMsgSteamDatagramConnectionStatsP2PRouterToClient_default_instance_._instance, - &::_CMsgSteamDatagramP2PBadRouteRouterToClient_default_instance_._instance, - &::_CMsgSteamDatagramP2PRoutes_RelayCluster_default_instance_._instance, - &::_CMsgSteamDatagramP2PRoutes_Route_default_instance_._instance, - &::_CMsgSteamDatagramP2PRoutes_default_instance_._instance, - &::_CMsgSteamDatagramSetSecondaryAddressRequest_default_instance_._instance, - &::_CMsgSteamDatagramSetSecondaryAddressResult_default_instance_._instance, -}; - -const char descriptor_table_protodef_steamdatagram_5fmessages_5fsdr_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n steamdatagram_messages_sdr.proto\032+stea" - "mnetworkingsockets_messages_certs.proto\032" - "%steamnetworkingsockets_messages.proto\"6" - "\n\034CMsgSteamNetworkingIPAddress\022\n\n\002v4\030\001 \001" - "(\007\022\n\n\002v6\030\002 \001(\014\"\226\001\n%CMsgSteamDatagramSign" - "edMessageGeneric\0221\n\004cert\030\001 \001(\0132#.CMsgSte" - "amDatagramCertificateSigned\022\023\n\013signed_da" - "ta\030\002 \001(\014\022\021\n\tsignature\030\003 \001(\014\022\022\n\tdummy_pad" - "\030\377\007 \001(\014\"\375\007\n CMsgSteamDatagramRouterPingR" - "eply\022\030\n\020client_timestamp\030\001 \001(\007\022\"\n\026latenc" - "y_datacenter_ids\030\002 \003(\007B\002\020\001\022\033\n\017latency_pi" - "ng_ms\030\003 \003(\rB\002\020\001\022&\n\032latency_datacenter_id" - "s_p2p\030\016 \003(\007B\002\020\001\022\037\n\023latency_ping_ms_p2p\030\017" - " \003(\rB\002\020\001\022\026\n\016your_public_ip\030\004 \001(\007\022\030\n\020your" - "_public_port\030\013 \001(\007\022\023\n\013server_time\030\005 \001(\007\022" - "\021\n\tchallenge\030\006 \001(\006\022\036\n\026seconds_until_shut" - "down\030\007 \001(\r\022\025\n\rclient_cookie\030\010 \001(\007\022\020\n\010rec" - "v_tos\030\020 \001(\r\022\025\n\recho_sent_tos\030\021 \001(\r\022\020\n\010se" - "nt_tos\030\022 \001(\r\022\036\n\026echo_request_reply_tos\030\023" - " \001(\r\022%\n\035scoring_penalty_relay_cluster\030\t " - "\001(\r\022\r\n\005flags\030\014 \001(\r\022J\n\020route_exceptions\030\n" - " \003(\01320.CMsgSteamDatagramRouterPingReply." - "RouteException\022C\n\ralt_addresses\030\r \003(\0132,." - "CMsgSteamDatagramRouterPingReply.AltAddr" - "ess\022\021\n\tdummy_pad\030c \001(\014\022\024\n\014dummy_varint\030d" - " \001(\004\032H\n\016RouteException\022\026\n\016data_center_id" - "\030\001 \001(\007\022\r\n\005flags\030\002 \001(\r\022\017\n\007penalty\030\003 \001(\r\032\300" - "\001\n\nAltAddress\022\014\n\004ipv4\030\001 \001(\007\022\014\n\004port\030\002 \001(" - "\r\022\017\n\007penalty\030\003 \001(\r\022X\n\010protocol\030\004 \001(\01625.C" - "MsgSteamDatagramRouterPingReply.AltAddre" - "ss.Protocol:\017DefaultProtocol\022\n\n\002id\030\005 \001(\t" - "\"\037\n\010Protocol\022\023\n\017DefaultProtocol\020\000\"L\n\005Fla" - "gs\022 \n\034FLAG_MAYBE_MORE_DATA_CENTERS\020\001\022!\n\035" - "FLAG_MAYBE_MORE_ALT_ADDRESSES\020\002\"\200\002\n*CMsg" - "SteamDatagramGameserverPingRequestBody\022\023" - "\n\013relay_popid\030\001 \001(\007\0225\n\016your_public_ip\030\002 " - "\001(\0132\035.CMsgSteamNetworkingIPAddress\022\030\n\020yo" - "ur_public_port\030\003 \001(\r\022\027\n\017relay_unix_time\030" - "\004 \001(\004\022\026\n\016routing_secret\030\005 \001(\006\022-\n\006my_ips\030" - "\006 \003(\0132\035.CMsgSteamNetworkingIPAddress\022\014\n\004" - "echo\030\010 \001(\014\"\272\002\n.CMsgSteamDatagramGameserv" - "erPingRequestEnvelope\0221\n\004cert\030\006 \001(\0132#.CM" - "sgSteamDatagramCertificateSigned\022\023\n\013sign" - "ed_data\030\007 \001(\014\022\021\n\tsignature\030\010 \001(\014\022\035\n\025lega" - "cy_your_public_ip\030\001 \001(\007\022\037\n\027legacy_your_p" - "ublic_port\030\005 \001(\007\022\036\n\026legacy_relay_unix_ti" - "me\030\002 \001(\007\022\030\n\020legacy_challenge\030\003 \001(\006\022\037\n\027le" - "gacy_router_timestamp\030\004 \001(\007\022\022\n\tdummy_pad" - "\030\377\007 \001(\014\"\255\002\n(CMsgSteamDatagramGameserverP" - "ingReplyData\022\034\n\024echo_relay_unix_time\030\002 \001" - "(\007\022\014\n\004echo\030\010 \001(\014\022\030\n\020legacy_challenge\030\003 \001" - "(\006\022\037\n\027legacy_router_timestamp\030\004 \001(\007\022\026\n\016d" - "ata_center_id\030\005 \001(\007\022\r\n\005appid\030\006 \001(\r\022\030\n\020pr" - "otocol_version\030\007 \001(\r\022\r\n\005build\030\t \001(\t\022\036\n\026n" - "etwork_config_version\030\n \001(\004\022\024\n\014my_unix_t" - "ime\030\013 \001(\007\022\024\n\014routing_blob\030\014 \001(\014\"\272\001\n\'CMsg" - "SteamDatagramNoSessionRelayToClient\022\025\n\rc" - "onnection_id\030\007 \001(\007\022\026\n\016your_public_ip\030\002 \001" - "(\007\022\030\n\020your_public_port\030\006 \001(\007\022\023\n\013server_t" - "ime\030\003 \001(\007\022\021\n\tchallenge\030\004 \001(\006\022\036\n\026seconds_" - "until_shutdown\030\005 \001(\r\"\227\001\n%CMsgSteamDatagr" - "amNoSessionRelayToPeer\022\037\n\027legacy_relay_s" - "ession_id\030\001 \001(\r\022\035\n\025from_relay_session_id" - "\030\002 \001(\007\022\032\n\022from_connection_id\030\007 \001(\007\022\022\n\nkl" - "udge_pad\030c \001(\006\"L\n\020CMsgTOSTreatment\022\022\n\nl4" - "s_detect\030\001 \001(\t\022\017\n\007up_ecn1\030\002 \001(\t\022\023\n\013down_" - "dscp45\030\003 \001(\t\"A\n(CMsgSteamDatagramClientP" - "ingSampleRequest\022\025\n\rconnection_id\030\001 \001(\007\"" - "\262\007\n&CMsgSteamDatagramClientPingSampleRep" - "ly\022\025\n\rconnection_id\030\001 \001(\007\022\035\n\025relay_overr" - "ide_active\030\005 \001(\010\022\036\n\003tos\030\006 \001(\0132\021.CMsgTOST" - "reatment\0229\n\004pops\030\002 \003(\0132+.CMsgSteamDatagr" - "amClientPingSampleReply.POP\022U\n\023legacy_da" - "ta_centers\030\003 \003(\01328.CMsgSteamDatagramClie" - "ntPingSampleReply.LegacyDataCenter\032\270\004\n\003P" - "OP\022\016\n\006pop_id\030\001 \001(\007\022\035\n\025default_front_ping" - "_ms\030\002 \001(\r\022\027\n\017cluster_penalty\030\004 \001(\r\022M\n\ral" - "t_addresses\030\007 \003(\01326.CMsgSteamDatagramCli" - "entPingSampleReply.POP.AltAddress\022\033\n\023def" - "ault_e2e_ping_ms\030\003 \001(\r\022\031\n\021default_e2e_sc" - "ore\030\005 \001(\r\022!\n\031p2p_via_peer_relay_pop_id\030\006" - " \001(\007\022\027\n\017best_dc_ping_ms\030\t \001(\r\022\025\n\rbest_dc" - "_score\030\n \001(\r\022 \n\030best_dc_via_relay_pop_id" - "\030\013 \001(\007\022\032\n\022default_dc_ping_ms\030\014 \001(\r\022\030\n\020de" - "fault_dc_score\030\r \001(\r\022#\n\033default_dc_via_r" - "elay_pop_id\030\016 \001(\007\022\027\n\017test_dc_ping_ms\030\017 \001" - "(\r\022\025\n\rtest_dc_score\030\020 \001(\r\022 \n\030test_dc_via" - "_relay_pop_id\030\021 \001(\007\032@\n\nAltAddress\022\n\n\002id\030" - "\001 \001(\t\022\025\n\rfront_ping_ms\030\002 \001(\r\022\017\n\007penalty\030" - "\003 \001(\r\032e\n\020LegacyDataCenter\022\026\n\016data_center" - "_id\030\001 \001(\007\022 \n\030best_dc_via_relay_pop_id\030\002 " - "\001(\007\022\027\n\017best_dc_ping_ms\030\003 \001(\r\"\216\005\n&CMsgSte" - "amDatagramClientSwitchedPrimary\022\025\n\rconne" - "ction_id\030\001 \001(\007\022\017\n\007from_ip\030\002 \001(\007\022\021\n\tfrom_" - "port\030\003 \001(\r\022\033\n\023from_router_cluster\030\004 \001(\007\022" - "\030\n\020from_active_time\030\005 \001(\r\022 \n\030from_active" - "_packets_recv\030\006 \001(\r\022\033\n\023from_dropped_reas" - "on\030\007 \001(\t\022\016\n\006gap_ms\030\010 \001(\r\022O\n\020from_quality" - "_now\030\t \001(\01325.CMsgSteamDatagramClientSwit" - "chedPrimary.RouterQuality\022M\n\016to_quality_" - "now\030\n \001(\01325.CMsgSteamDatagramClientSwitc" - "hedPrimary.RouterQuality\022P\n\021from_quality" - "_then\030\013 \001(\01325.CMsgSteamDatagramClientSwi" - "tchedPrimary.RouterQuality\022N\n\017to_quality" - "_then\030\014 \001(\01325.CMsgSteamDatagramClientSwi" - "tchedPrimary.RouterQuality\032a\n\rRouterQual" - "ity\022\r\n\005score\030\001 \001(\r\022\022\n\nfront_ping\030\002 \001(\r\022\021" - "\n\tback_ping\030\003 \001(\r\022\032\n\022seconds_until_down\030" - "\004 \001(\r\"\302\002\n\037CMsgSteamDatagramConnectReques" - "t\022\025\n\rconnection_id\030\001 \001(\007\022\024\n\014my_timestamp" - "\030\004 \001(\006\022\023\n\013ping_est_ms\030\005 \001(\r\022\024\n\014virtual_p" - "ort\030\t \001(\r\022#\n\033gameserver_relay_session_id" - "\030\002 \001(\r\0227\n\005crypt\030\006 \001(\0132(.CMsgSteamDatagra" - "mSessionCryptInfoSigned\0221\n\004cert\030\007 \001(\0132#." - "CMsgSteamDatagramCertificateSigned\022\026\n\016ro" - "uting_secret\030\n \001(\006\022\036\n\026legacy_client_stea" - "m_id\030\003 \001(\006\"\232\002\n\032CMsgSteamDatagramConnectO" - "K\022\034\n\024client_connection_id\030\001 \001(\007\022\034\n\024serve" - "r_connection_id\030\007 \001(\007\022\026\n\016your_timestamp\030" - "\003 \001(\006\022\027\n\017delay_time_usec\030\004 \001(\r\022#\n\033gamese" - "rver_relay_session_id\030\002 \001(\r\0227\n\005crypt\030\005 \001" - "(\0132(.CMsgSteamDatagramSessionCryptInfoSi" - "gned\0221\n\004cert\030\006 \001(\0132#.CMsgSteamDatagramCe" - "rtificateSigned\"\256\003\n\'CMsgSteamNetworkingP" - "2PSDRRoutingSummary\022\024\n\014initial_ping\030\001 \001(" - "\r\022 \n\030initial_ping_front_local\030\002 \001(\r\022!\n\031i" - "nitial_ping_front_remote\030\003 \001(\r\022\025\n\rinitia" - "l_score\030\004 \001(\r\022\031\n\021initial_pop_local\030\005 \001(\007" - "\022\032\n\022initial_pop_remote\030\006 \001(\007\022\021\n\tbest_pin" - "g\030\013 \001(\r\022\035\n\025best_ping_front_local\030\014 \001(\r\022\036" - "\n\026best_ping_front_remote\030\r \001(\r\022\022\n\nbest_s" - "core\030\016 \001(\r\022\026\n\016best_pop_local\030\017 \001(\007\022\027\n\017be" - "st_pop_remote\030\020 \001(\007\022\021\n\tbest_time\030\021 \001(\r\022\026" - "\n\016negotiation_ms\030\007 \001(\r\022\030\n\020selected_secon" - "ds\030\010 \001(\r\"\217\001\n\"CMsgSteamDatagramP2PRouting" - "Summary\0222\n\003ice\030\002 \001(\0132%.CMsgSteamNetworki" - "ngICESessionSummary\0225\n\003sdr\030\003 \001(\0132(.CMsgS" - "teamNetworkingP2PSDRRoutingSummary\"\351\006\n!C" - "MsgSteamDatagramConnectionClosed\022\030\n\020to_c" - "onnection_id\030\007 \001(\007\022\032\n\022from_connection_id" - "\030\010 \001(\007\022\034\n\024from_identity_string\030\017 \001(\t\022M\n\033" - "legacy_from_identity_binary\030\r \001(\0132(.CMsg" - "SteamNetworkingIdentityLegacyBinary\022\034\n\024l" - "egacy_from_steam_id\030\003 \001(\006\022*\n\"legacy_game" - "server_relay_session_id\030\002 \001(\r\022\033\n\023to_rela" - "y_session_id\030\t \001(\007\022\035\n\025from_relay_session" - "_id\030\n \001(\007\022*\n\"forward_target_relay_routin" - "g_token\030\013 \001(\014\022\037\n\027forward_target_revision" - "\030\014 \001(\r\022G\n\nrelay_mode\030\004 \001(\0162-.CMsgSteamDa" - "tagramConnectionClosed.ERelayMode:\004None\022" - "\r\n\005debug\030\005 \001(\t\022\023\n\013reason_code\030\006 \001(\r\022\026\n\016r" - "outing_secret\030\016 \001(\006\022\033\n\023not_primary_sessi" - "on\030\020 \001(\010\022\035\n\025not_primary_transport\030\023 \001(\010\022" - "\035\n\025relay_override_active\030\026 \001(\010\022:\n\rqualit" - "y_relay\030\021 \001(\0132#.CMsgSteamDatagramConnect" - "ionQuality\0228\n\013quality_e2e\030\022 \001(\0132#.CMsgSt" - "eamDatagramConnectionQuality\022@\n\023p2p_rout" - "ing_summary\030\025 \001(\0132#.CMsgSteamDatagramP2P" - "RoutingSummary\"6\n\nERelayMode\022\010\n\004None\020\000\022\014" - "\n\010EndToEnd\020\001\022\020\n\014ClosedByPeer\020\002\"\314\004\n\035CMsgS" - "teamDatagramNoConnection\022\030\n\020to_connectio" - "n_id\030\005 \001(\007\022\032\n\022from_connection_id\030\006 \001(\007\022*" - "\n\"legacy_gameserver_relay_session_id\030\002 \001" - "(\r\022\033\n\023to_relay_session_id\030\t \001(\007\022\035\n\025from_" - "relay_session_id\030\n \001(\007\022\034\n\024from_identity_" - "string\030\007 \001(\t\022\034\n\024legacy_from_steam_id\030\003 \001" - "(\006\022\022\n\nend_to_end\030\004 \001(\010\022\033\n\023not_primary_se" - "ssion\030\014 \001(\010\022\035\n\025not_primary_transport\030\017 \001" - "(\010\022\035\n\025relay_override_active\030\021 \001(\010\022:\n\rqua" - "lity_relay\030\r \001(\0132#.CMsgSteamDatagramConn" - "ectionQuality\0228\n\013quality_e2e\030\016 \001(\0132#.CMs" - "gSteamDatagramConnectionQuality\022@\n\023p2p_r" - "outing_summary\030\020 \001(\0132#.CMsgSteamDatagram" - "P2PRoutingSummary\022\026\n\016routing_secret\030\013 \001(" - "\006\022\022\n\tdummy_pad\030\377\007 \001(\007\"\334\002\n)CMsgSteamDatag" - "ramGameserverSessionRequest\022\016\n\006ticket\030\001 " - "\001(\014\022\026\n\016challenge_time\030\003 \001(\007\022\021\n\tchallenge" - "\030\004 \001(\006\022\034\n\024client_connection_id\030\005 \001(\007\022\034\n\024" - "server_connection_id\030\010 \001(\007\022\036\n\026network_co" - "nfig_version\030\006 \001(\004\022\030\n\020protocol_version\030\007" - " \001(\r\022\020\n\010platform\030\t \001(\t\022\r\n\005build\030\n \001(\t\022\037\n" - "\027dev_gameserver_identity\030d \001(\t\022<\n\017dev_cl" - "ient_cert\030e \001(\0132#.CMsgSteamDatagramCerti" - "ficateSigned\"\350\001\n-CMsgSteamDatagramGamese" - "rverSessionEstablished\022\025\n\rconnection_id\030" - "\001 \001(\007\022\"\n\032gameserver_identity_string\030\002 \001(" - "\t\022\036\n\026seconds_until_shutdown\030\004 \001(\r\022\023\n\013seq" - "_num_r2c\030\006 \001(\r\022$\n\034dummy_legacy_identity_" - "binary\030\007 \001(\014\022!\n\031legacy_gameserver_steami" - "d\030\003 \001(\006\"\255\003\n.CMsgSteamDatagramConnectionS" - "tatsClientToRouter\022:\n\rquality_relay\030\001 \001(" - "\0132#.CMsgSteamDatagramConnectionQuality\0228" - "\n\013quality_e2e\030\002 \001(\0132#.CMsgSteamDatagramC" - "onnectionQuality\022\021\n\tack_relay\030\004 \003(\007\022\026\n\016l" - "egacy_ack_e2e\030\005 \003(\007\022\r\n\005flags\030\006 \001(\r\022\034\n\024cl" - "ient_connection_id\030\010 \001(\007\022\023\n\013seq_num_c2r\030" - "\t \001(\r\022\023\n\013seq_num_e2e\030\n \001(\r\"\202\001\n\005Flags\022\025\n\021" - "ACK_REQUEST_RELAY\020\001\022\023\n\017ACK_REQUEST_E2E\020\002" - "\022\031\n\025ACK_REQUEST_IMMEDIATE\020\004\022\027\n\023NOT_PRIMA" - "RY_SESSION\020\010\022\031\n\025CLIENT_RELAY_OVERRIDE\020 \"" - "\371\003\n.CMsgSteamDatagramConnectionStatsRout" - "erToClient\022:\n\rquality_relay\030\001 \001(\0132#.CMsg" - "SteamDatagramConnectionQuality\0228\n\013qualit" - "y_e2e\030\002 \001(\0132#.CMsgSteamDatagramConnectio" - "nQuality\022\036\n\026seconds_until_shutdown\030\006 \001(\r" - "\022\032\n\022migrate_request_ip\030\n \001(\007\022\034\n\024migrate_" - "request_port\030\013 \001(\r\022%\n\035scoring_penalty_re" - "lay_cluster\030\014 \001(\r\022\021\n\tack_relay\030\r \003(\007\022\026\n\016" - "legacy_ack_e2e\030\016 \003(\007\022\r\n\005flags\030\017 \001(\r\022\034\n\024c" - "lient_connection_id\030\007 \001(\007\022\023\n\013seq_num_r2c" - "\030\010 \001(\r\022\023\n\013seq_num_e2e\030\t \001(\r\"N\n\005Flags\022\025\n\021" - "ACK_REQUEST_RELAY\020\001\022\023\n\017ACK_REQUEST_E2E\020\002" - "\022\031\n\025ACK_REQUEST_IMMEDIATE\020\004\"\210\004\n.CMsgStea" - "mDatagramConnectionStatsRouterToServer\022:" - "\n\rquality_relay\030\001 \001(\0132#.CMsgSteamDatagra" - "mConnectionQuality\0228\n\013quality_e2e\030\002 \001(\0132" - "#.CMsgSteamDatagramConnectionQuality\022\021\n\t" - "ack_relay\030\n \003(\007\022\026\n\016legacy_ack_e2e\030\013 \003(\007\022" - "\r\n\005flags\030\014 \001(\r\022\023\n\013seq_num_r2s\030\005 \001(\r\022\023\n\013s" - "eq_num_e2e\030\006 \001(\r\022\036\n\026client_identity_stri" - "ng\030\017 \001(\t\022\036\n\026legacy_client_steam_id\030\007 \001(\006" - "\022\030\n\020relay_session_id\030\010 \001(\r\022\034\n\024client_con" - "nection_id\030\t \001(\007\022\034\n\024server_connection_id" - "\030\r \001(\007\022\026\n\016routing_secret\030\016 \001(\006\"N\n\005Flags\022" - "\025\n\021ACK_REQUEST_RELAY\020\001\022\023\n\017ACK_REQUEST_E2" - "E\020\002\022\031\n\025ACK_REQUEST_IMMEDIATE\020\004\"\260\003\n.CMsgS" - "teamDatagramConnectionStatsServerToRoute" - "r\022:\n\rquality_relay\030\001 \001(\0132#.CMsgSteamData" - "gramConnectionQuality\0228\n\013quality_e2e\030\002 \001" - "(\0132#.CMsgSteamDatagramConnectionQuality\022" - "\021\n\tack_relay\030\010 \003(\007\022\026\n\016legacy_ack_e2e\030\t \003" - "(\007\022\r\n\005flags\030\n \001(\r\022\023\n\013seq_num_s2r\030\003 \001(\r\022\023" - "\n\013seq_num_e2e\030\004 \001(\r\022\030\n\020relay_session_id\030" - "\006 \001(\r\022\034\n\024client_connection_id\030\007 \001(\007\022\034\n\024s" - "erver_connection_id\030\013 \001(\007\"N\n\005Flags\022\025\n\021AC" - "K_REQUEST_RELAY\020\001\022\023\n\017ACK_REQUEST_E2E\020\002\022\031" - "\n\025ACK_REQUEST_IMMEDIATE\020\004\"\305\003\n&CMsgSteamD" - "atagramP2PSessionRequestBody\022\026\n\016challeng" - "e_time\030\001 \001(\007\022\021\n\tchallenge\030\002 \001(\006\022\034\n\024clien" - "t_connection_id\030\003 \001(\007\022\034\n\024legacy_peer_ste" - "am_id\030\004 \001(\006\022\034\n\024peer_identity_string\030\013 \001(" - "\t\022\032\n\022peer_connection_id\030\005 \001(\007\022\026\n\016encrypt" - "ed_data\030\016 \001(\014\022,\n$encryption_your_public_" - "key_lead_byte\030\017 \001(\r\022*\n\"encryption_my_eph" - "emeral_public_key\030\020 \001(\014\022\030\n\020protocol_vers" - "ion\030\010 \001(\r\022\036\n\026network_config_version\030\t \001(" - "\004\022\020\n\010platform\030\014 \001(\t\022\r\n\005build\030\r \001(\t\032-\n\rEn" - "cryptedData\022\034\n\024peer_identity_string\030\001 \001(" - "\t\"x\n\"CMsgSteamDatagramP2PSessionRequest\022" - "1\n\004cert\030\001 \001(\0132#.CMsgSteamDatagramCertifi" - "cateSigned\022\014\n\004body\030\002 \001(\014\022\021\n\tsignature\030\003 " - "\001(\014\"\221\001\n&CMsgSteamDatagramP2PSessionEstab" - "lished\022\025\n\rconnection_id\030\001 \001(\007\022\036\n\026seconds" - "_until_shutdown\030\003 \001(\r\022\033\n\023relay_routing_t" - "oken\030\004 \001(\014\022\023\n\013seq_num_r2c\030\005 \001(\r\"\211\005\n1CMsg" - "SteamDatagramConnectionStatsP2PClientToR" - "outer\022:\n\rquality_relay\030\001 \001(\0132#.CMsgSteam" - "DatagramConnectionQuality\0228\n\013quality_e2e" - "\030\002 \001(\0132#.CMsgSteamDatagramConnectionQual" - "ity\022@\n\023p2p_routing_summary\030\016 \001(\0132#.CMsgS" - "teamDatagramP2PRoutingSummary\022\021\n\tack_rel" - "ay\030\003 \003(\007\022\026\n\016legacy_ack_e2e\030\004 \003(\007\022\r\n\005flag" - "s\030\005 \001(\r\022*\n\"forward_target_relay_routing_" - "token\030\006 \001(\014\022\037\n\027forward_target_revision\030\007" - " \001(\r\022\016\n\006routes\030\010 \001(\014\022 \n\030ack_peer_routes_" - "revision\030\t \001(\r\022\025\n\rconnection_id\030\n \001(\007\022\023\n" - "\013seq_num_c2r\030\013 \001(\r\022\023\n\013seq_num_e2e\030\014 \001(\r\"" - "\241\001\n\005Flags\022\025\n\021ACK_REQUEST_RELAY\020\001\022\023\n\017ACK_" - "REQUEST_E2E\020\002\022\031\n\025ACK_REQUEST_IMMEDIATE\020\004" - "\022\027\n\023NOT_PRIMARY_SESSION\020\010\022\035\n\031NOT_PRIMARY" - "_TRANSPORT_E2E\020\020\022\031\n\025CLIENT_RELAY_OVERRID" - "E\020 \"\353\004\n1CMsgSteamDatagramConnectionStats" - "P2PRouterToClient\022:\n\rquality_relay\030\001 \001(\013" - "2#.CMsgSteamDatagramConnectionQuality\0228\n" - "\013quality_e2e\030\002 \001(\0132#.CMsgSteamDatagramCo" - "nnectionQuality\022\036\n\026seconds_until_shutdow" - "n\030\003 \001(\r\022\032\n\022migrate_request_ip\030\004 \001(\007\022\034\n\024m" - "igrate_request_port\030\005 \001(\r\022%\n\035scoring_pen" - "alty_relay_cluster\030\006 \001(\r\022\021\n\tack_relay\030\007 " - "\003(\007\022\026\n\016legacy_ack_e2e\030\010 \003(\007\022\r\n\005flags\030\t \001" - "(\r\022#\n\033ack_forward_target_revision\030\n \001(\r\022" - "\016\n\006routes\030\013 \001(\014\022 \n\030ack_peer_routes_revis" - "ion\030\014 \001(\r\022\025\n\rconnection_id\030\r \001(\007\022\023\n\013seq_" - "num_r2c\030\016 \001(\r\022\023\n\013seq_num_e2e\030\017 \001(\r\"m\n\005Fl" - "ags\022\025\n\021ACK_REQUEST_RELAY\020\001\022\023\n\017ACK_REQUES" - "T_E2E\020\002\022\031\n\025ACK_REQUEST_IMMEDIATE\020\004\022\035\n\031NO" - "T_PRIMARY_TRANSPORT_E2E\020\020\"\240\001\n*CMsgSteamD" - "atagramP2PBadRouteRouterToClient\022\025\n\rconn" - "ection_id\030\001 \001(\007\022\"\n\032failed_relay_routing_" - "token\030\002 \001(\014\022#\n\033ack_forward_target_revisi" - "on\030\003 \001(\r\022\022\n\nkludge_pad\030c \001(\006\"\357\002\n\032CMsgSte" - "amDatagramP2PRoutes\022@\n\016relay_clusters\030\001 " - "\003(\0132(.CMsgSteamDatagramP2PRoutes.RelayCl" - "uster\0221\n\006routes\030\002 \003(\0132!.CMsgSteamDatagra" - "mP2PRoutes.Route\022\020\n\010revision\030\003 \001(\r\032k\n\014Re" - "layCluster\022\016\n\006pop_id\030\001 \001(\007\022\017\n\007ping_ms\030\002 " - "\001(\r\022\025\n\rscore_penalty\030\003 \001(\r\022#\n\033session_re" - "lay_routing_token\030\004 \001(\014\032]\n\005Route\022\021\n\tmy_p" - "op_id\030\001 \001(\007\022\023\n\013your_pop_id\030\002 \001(\007\022\024\n\014lega" - "cy_score\030\003 \001(\r\022\026\n\016interior_score\030\004 \001(\r\"\314" - "\001\n+CMsgSteamDatagramSetSecondaryAddressR" - "equest\022\026\n\016client_main_ip\030\001 \001(\007\022\030\n\020client" - "_main_port\030\002 \001(\007\022\034\n\024client_connection_id" - "\030\003 \001(\007\022\027\n\017client_identity\030\004 \001(\t\022 \n\030reque" - "st_send_duplication\030\005 \001(\010\022\022\n\nkludge_pad\030" - "c \001(\014\"N\n*CMsgSteamDatagramSetSecondaryAd" - "dressResult\022\017\n\007success\030\001 \001(\010\022\017\n\007message\030" - "\002 \001(\t*\340\013\n\023ESteamDatagramMsgID\022\037\n\033k_EStea" - "mDatagramMsg_Invalid\020\000\022)\n%k_ESteamDatagr" - "amMsg_RouterPingRequest\020\001\022\'\n#k_ESteamDat" - "agramMsg_RouterPingReply\020\002\022-\n)k_ESteamDa" - "tagramMsg_GameserverPingRequest\020\003\0220\n,k_E" - "SteamDatagramMsg_GameserverSessionReques" - "t\020\005\0224\n0k_ESteamDatagramMsg_GameserverSes" - "sionEstablished\020\006\022!\n\035k_ESteamDatagramMsg" - "_NoSession\020\007\022\"\n\036k_ESteamDatagramMsg_Diag" - "nostic\020\010\022*\n&k_ESteamDatagramMsg_DataClie" - "ntToRouter\020\t\022*\n&k_ESteamDatagramMsg_Data" - "RouterToServer\020\n\022*\n&k_ESteamDatagramMsg_" - "DataServerToRouter\020\013\022*\n&k_ESteamDatagram" - "Msg_DataRouterToClient\020\014\022\035\n\031k_ESteamData" - "gramMsg_Stats\020\r\022/\n+k_ESteamDatagramMsg_C" - "lientPingSampleRequest\020\016\022-\n)k_ESteamData" - "gramMsg_ClientPingSampleReply\020\017\0225\n1k_ESt" - "eamDatagramMsg_ClientToRouterSwitchedPri" - "mary\020\020\022#\n\037k_ESteamDatagramMsg_RelayHealt" - "h\020\021\022&\n\"k_ESteamDatagramMsg_ConnectReques" - "t\020\022\022!\n\035k_ESteamDatagramMsg_ConnectOK\020\023\022(" - "\n$k_ESteamDatagramMsg_ConnectionClosed\020\024" - "\022$\n k_ESteamDatagramMsg_NoConnection\020\025\022," - "\n(k_ESteamDatagramMsg_TicketDecryptReque" - "st\020\026\022*\n&k_ESteamDatagramMsg_TicketDecryp" - "tReply\020\027\022)\n%k_ESteamDatagramMsg_P2PSessi" - "onRequest\020\030\022-\n)k_ESteamDatagramMsg_P2PSe" - "ssionEstablished\020\031\022&\n\"k_ESteamDatagramMs" - "g_P2PStatsClient\020\032\022%\n!k_ESteamDatagramMs" - "g_P2PStatsRelay\020\033\022#\n\037k_ESteamDatagramMsg" - "_P2PBadRoute\020\034\022+\n\'k_ESteamDatagramMsg_Ga" - "meserverPingReply\020\035\0224\n0k_ESteamDatagramM" - "sg_LegacyGameserverRegistration\020\036\0222\n.k_E" - "SteamDatagramMsg_SetSecondaryAddressRequ" - "est\020\037\0221\n-k_ESteamDatagramMsg_SetSecondar" - "yAddressResult\020 \022/\n+k_ESteamDatagramMsg_" - "RelayToRelayPingRequest\020!\022-\n)k_ESteamDat" - "agramMsg_RelayToRelayPingReply\020\"B\005H\001\200\001\000" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_deps[2] = { - &::descriptor_table_steamnetworkingsockets_5fmessages_2eproto, - &::descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto, -}; -static ::_pbi::once_flag descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto = { - false, false, 13799, descriptor_table_protodef_steamdatagram_5fmessages_5fsdr_2eproto, - "steamdatagram_messages_sdr.proto", - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_deps, 2, 42, - schemas, file_default_instances, TableStruct_steamdatagram_5fmessages_5fsdr_2eproto::offsets, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto, file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto, - file_level_service_descriptors_steamdatagram_5fmessages_5fsdr_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter() { - return &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steamdatagram_5fmessages_5fsdr_2eproto(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); - return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[0]; -} -bool CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_IsValid(int value) { - switch (value) { - case 0: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr CMsgSteamDatagramRouterPingReply_AltAddress_Protocol CMsgSteamDatagramRouterPingReply_AltAddress::DefaultProtocol; -constexpr CMsgSteamDatagramRouterPingReply_AltAddress_Protocol CMsgSteamDatagramRouterPingReply_AltAddress::Protocol_MIN; -constexpr CMsgSteamDatagramRouterPingReply_AltAddress_Protocol CMsgSteamDatagramRouterPingReply_AltAddress::Protocol_MAX; -constexpr int CMsgSteamDatagramRouterPingReply_AltAddress::Protocol_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramRouterPingReply_Flags_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); - return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[1]; -} -bool CMsgSteamDatagramRouterPingReply_Flags_IsValid(int value) { - switch (value) { - case 1: - case 2: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr CMsgSteamDatagramRouterPingReply_Flags CMsgSteamDatagramRouterPingReply::FLAG_MAYBE_MORE_DATA_CENTERS; -constexpr CMsgSteamDatagramRouterPingReply_Flags CMsgSteamDatagramRouterPingReply::FLAG_MAYBE_MORE_ALT_ADDRESSES; -constexpr CMsgSteamDatagramRouterPingReply_Flags CMsgSteamDatagramRouterPingReply::Flags_MIN; -constexpr CMsgSteamDatagramRouterPingReply_Flags CMsgSteamDatagramRouterPingReply::Flags_MAX; -constexpr int CMsgSteamDatagramRouterPingReply::Flags_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionClosed_ERelayMode_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); - return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[2]; -} -bool CMsgSteamDatagramConnectionClosed_ERelayMode_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr CMsgSteamDatagramConnectionClosed_ERelayMode CMsgSteamDatagramConnectionClosed::None; -constexpr CMsgSteamDatagramConnectionClosed_ERelayMode CMsgSteamDatagramConnectionClosed::EndToEnd; -constexpr CMsgSteamDatagramConnectionClosed_ERelayMode CMsgSteamDatagramConnectionClosed::ClosedByPeer; -constexpr CMsgSteamDatagramConnectionClosed_ERelayMode CMsgSteamDatagramConnectionClosed::ERelayMode_MIN; -constexpr CMsgSteamDatagramConnectionClosed_ERelayMode CMsgSteamDatagramConnectionClosed::ERelayMode_MAX; -constexpr int CMsgSteamDatagramConnectionClosed::ERelayMode_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsClientToRouter_Flags_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); - return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[3]; -} -bool CMsgSteamDatagramConnectionStatsClientToRouter_Flags_IsValid(int value) { - switch (value) { - case 1: - case 2: - case 4: - case 8: - case 32: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr CMsgSteamDatagramConnectionStatsClientToRouter_Flags CMsgSteamDatagramConnectionStatsClientToRouter::ACK_REQUEST_RELAY; -constexpr CMsgSteamDatagramConnectionStatsClientToRouter_Flags CMsgSteamDatagramConnectionStatsClientToRouter::ACK_REQUEST_E2E; -constexpr CMsgSteamDatagramConnectionStatsClientToRouter_Flags CMsgSteamDatagramConnectionStatsClientToRouter::ACK_REQUEST_IMMEDIATE; -constexpr CMsgSteamDatagramConnectionStatsClientToRouter_Flags CMsgSteamDatagramConnectionStatsClientToRouter::NOT_PRIMARY_SESSION; -constexpr CMsgSteamDatagramConnectionStatsClientToRouter_Flags CMsgSteamDatagramConnectionStatsClientToRouter::CLIENT_RELAY_OVERRIDE; -constexpr CMsgSteamDatagramConnectionStatsClientToRouter_Flags CMsgSteamDatagramConnectionStatsClientToRouter::Flags_MIN; -constexpr CMsgSteamDatagramConnectionStatsClientToRouter_Flags CMsgSteamDatagramConnectionStatsClientToRouter::Flags_MAX; -constexpr int CMsgSteamDatagramConnectionStatsClientToRouter::Flags_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsRouterToClient_Flags_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); - return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[4]; -} -bool CMsgSteamDatagramConnectionStatsRouterToClient_Flags_IsValid(int value) { - switch (value) { - case 1: - case 2: - case 4: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr CMsgSteamDatagramConnectionStatsRouterToClient_Flags CMsgSteamDatagramConnectionStatsRouterToClient::ACK_REQUEST_RELAY; -constexpr CMsgSteamDatagramConnectionStatsRouterToClient_Flags CMsgSteamDatagramConnectionStatsRouterToClient::ACK_REQUEST_E2E; -constexpr CMsgSteamDatagramConnectionStatsRouterToClient_Flags CMsgSteamDatagramConnectionStatsRouterToClient::ACK_REQUEST_IMMEDIATE; -constexpr CMsgSteamDatagramConnectionStatsRouterToClient_Flags CMsgSteamDatagramConnectionStatsRouterToClient::Flags_MIN; -constexpr CMsgSteamDatagramConnectionStatsRouterToClient_Flags CMsgSteamDatagramConnectionStatsRouterToClient::Flags_MAX; -constexpr int CMsgSteamDatagramConnectionStatsRouterToClient::Flags_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsRouterToServer_Flags_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); - return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[5]; -} -bool CMsgSteamDatagramConnectionStatsRouterToServer_Flags_IsValid(int value) { - switch (value) { - case 1: - case 2: - case 4: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr CMsgSteamDatagramConnectionStatsRouterToServer_Flags CMsgSteamDatagramConnectionStatsRouterToServer::ACK_REQUEST_RELAY; -constexpr CMsgSteamDatagramConnectionStatsRouterToServer_Flags CMsgSteamDatagramConnectionStatsRouterToServer::ACK_REQUEST_E2E; -constexpr CMsgSteamDatagramConnectionStatsRouterToServer_Flags CMsgSteamDatagramConnectionStatsRouterToServer::ACK_REQUEST_IMMEDIATE; -constexpr CMsgSteamDatagramConnectionStatsRouterToServer_Flags CMsgSteamDatagramConnectionStatsRouterToServer::Flags_MIN; -constexpr CMsgSteamDatagramConnectionStatsRouterToServer_Flags CMsgSteamDatagramConnectionStatsRouterToServer::Flags_MAX; -constexpr int CMsgSteamDatagramConnectionStatsRouterToServer::Flags_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsServerToRouter_Flags_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); - return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[6]; -} -bool CMsgSteamDatagramConnectionStatsServerToRouter_Flags_IsValid(int value) { - switch (value) { - case 1: - case 2: - case 4: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr CMsgSteamDatagramConnectionStatsServerToRouter_Flags CMsgSteamDatagramConnectionStatsServerToRouter::ACK_REQUEST_RELAY; -constexpr CMsgSteamDatagramConnectionStatsServerToRouter_Flags CMsgSteamDatagramConnectionStatsServerToRouter::ACK_REQUEST_E2E; -constexpr CMsgSteamDatagramConnectionStatsServerToRouter_Flags CMsgSteamDatagramConnectionStatsServerToRouter::ACK_REQUEST_IMMEDIATE; -constexpr CMsgSteamDatagramConnectionStatsServerToRouter_Flags CMsgSteamDatagramConnectionStatsServerToRouter::Flags_MIN; -constexpr CMsgSteamDatagramConnectionStatsServerToRouter_Flags CMsgSteamDatagramConnectionStatsServerToRouter::Flags_MAX; -constexpr int CMsgSteamDatagramConnectionStatsServerToRouter::Flags_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); - return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[7]; -} -bool CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_IsValid(int value) { - switch (value) { - case 1: - case 2: - case 4: - case 8: - case 16: - case 32: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter::ACK_REQUEST_RELAY; -constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter::ACK_REQUEST_E2E; -constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter::ACK_REQUEST_IMMEDIATE; -constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter::NOT_PRIMARY_SESSION; -constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter::NOT_PRIMARY_TRANSPORT_E2E; -constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter::CLIENT_RELAY_OVERRIDE; -constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter::Flags_MIN; -constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter::Flags_MAX; -constexpr int CMsgSteamDatagramConnectionStatsP2PClientToRouter::Flags_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); - return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[8]; -} -bool CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_IsValid(int value) { - switch (value) { - case 1: - case 2: - case 4: - case 16: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags CMsgSteamDatagramConnectionStatsP2PRouterToClient::ACK_REQUEST_RELAY; -constexpr CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags CMsgSteamDatagramConnectionStatsP2PRouterToClient::ACK_REQUEST_E2E; -constexpr CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags CMsgSteamDatagramConnectionStatsP2PRouterToClient::ACK_REQUEST_IMMEDIATE; -constexpr CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags CMsgSteamDatagramConnectionStatsP2PRouterToClient::NOT_PRIMARY_TRANSPORT_E2E; -constexpr CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags CMsgSteamDatagramConnectionStatsP2PRouterToClient::Flags_MIN; -constexpr CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags CMsgSteamDatagramConnectionStatsP2PRouterToClient::Flags_MAX; -constexpr int CMsgSteamDatagramConnectionStatsP2PRouterToClient::Flags_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESteamDatagramMsgID_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto); - return file_level_enum_descriptors_steamdatagram_5fmessages_5fsdr_2eproto[9]; -} -bool ESteamDatagramMsgID_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - case 16: - case 17: - case 18: - case 19: - case 20: - case 21: - case 22: - case 23: - case 24: - case 25: - case 26: - case 27: - case 28: - case 29: - case 30: - case 31: - case 32: - case 33: - case 34: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CMsgSteamNetworkingIPAddress::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_v4(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_v6(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSteamNetworkingIPAddress::CMsgSteamNetworkingIPAddress(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamNetworkingIPAddress) -} -CMsgSteamNetworkingIPAddress::CMsgSteamNetworkingIPAddress(const CMsgSteamNetworkingIPAddress& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamNetworkingIPAddress* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.v6_){} - , decltype(_impl_.v4_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.v6_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.v6_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_v6()) { - _this->_impl_.v6_.Set(from._internal_v6(), - _this->GetArenaForAllocation()); - } - _this->_impl_.v4_ = from._impl_.v4_; - // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingIPAddress) -} - -inline void CMsgSteamNetworkingIPAddress::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.v6_){} - , decltype(_impl_.v4_){0u} - }; - _impl_.v6_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.v6_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamNetworkingIPAddress::~CMsgSteamNetworkingIPAddress() { - // @@protoc_insertion_point(destructor:CMsgSteamNetworkingIPAddress) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamNetworkingIPAddress::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.v6_.Destroy(); -} - -void CMsgSteamNetworkingIPAddress::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamNetworkingIPAddress::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingIPAddress) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.v6_.ClearNonDefaultToEmpty(); - } - _impl_.v4_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamNetworkingIPAddress::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 v4 = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_v4(&has_bits); - _impl_.v4_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional bytes v6 = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_v6(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamNetworkingIPAddress::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingIPAddress) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 v4 = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_v4(), target); - } - - // optional bytes v6 = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_v6(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamNetworkingIPAddress) - return target; -} - -size_t CMsgSteamNetworkingIPAddress::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingIPAddress) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bytes v6 = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_v6()); - } - - // optional fixed32 v4 = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingIPAddress::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamNetworkingIPAddress::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingIPAddress::GetClassData() const { return &_class_data_; } - - -void CMsgSteamNetworkingIPAddress::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamNetworkingIPAddress) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_v6(from._internal_v6()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.v4_ = from._impl_.v4_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamNetworkingIPAddress::CopyFrom(const CMsgSteamNetworkingIPAddress& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingIPAddress) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamNetworkingIPAddress::IsInitialized() const { - return true; -} - -void CMsgSteamNetworkingIPAddress::InternalSwap(CMsgSteamNetworkingIPAddress* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.v6_, lhs_arena, - &other->_impl_.v6_, rhs_arena - ); - swap(_impl_.v4_, other->_impl_.v4_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingIPAddress::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[0]); -} - -// =================================================================== - -class CMsgSteamDatagramSignedMessageGeneric::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamDatagramSignedMessageGeneric* msg); - static void set_has_cert(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_signed_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_signature(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_dummy_pad(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::CMsgSteamDatagramCertificateSigned& -CMsgSteamDatagramSignedMessageGeneric::_Internal::cert(const CMsgSteamDatagramSignedMessageGeneric* msg) { - return *msg->_impl_.cert_; -} -void CMsgSteamDatagramSignedMessageGeneric::clear_cert() { - if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -CMsgSteamDatagramSignedMessageGeneric::CMsgSteamDatagramSignedMessageGeneric(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramSignedMessageGeneric) -} -CMsgSteamDatagramSignedMessageGeneric::CMsgSteamDatagramSignedMessageGeneric(const CMsgSteamDatagramSignedMessageGeneric& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramSignedMessageGeneric* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.signed_data_){} - , decltype(_impl_.signature_){} - , decltype(_impl_.dummy_pad_){} - , decltype(_impl_.cert_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.signed_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signed_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_signed_data()) { - _this->_impl_.signed_data_.Set(from._internal_signed_data(), - _this->GetArenaForAllocation()); - } - _impl_.signature_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_signature()) { - _this->_impl_.signature_.Set(from._internal_signature(), - _this->GetArenaForAllocation()); - } - _impl_.dummy_pad_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dummy_pad_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_dummy_pad()) { - _this->_impl_.dummy_pad_.Set(from._internal_dummy_pad(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_cert()) { - _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); - } - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramSignedMessageGeneric) -} - -inline void CMsgSteamDatagramSignedMessageGeneric::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.signed_data_){} - , decltype(_impl_.signature_){} - , decltype(_impl_.dummy_pad_){} - , decltype(_impl_.cert_){nullptr} - }; - _impl_.signed_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signed_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dummy_pad_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dummy_pad_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramSignedMessageGeneric::~CMsgSteamDatagramSignedMessageGeneric() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramSignedMessageGeneric) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramSignedMessageGeneric::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.signed_data_.Destroy(); - _impl_.signature_.Destroy(); - _impl_.dummy_pad_.Destroy(); - if (this != internal_default_instance()) delete _impl_.cert_; -} - -void CMsgSteamDatagramSignedMessageGeneric::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramSignedMessageGeneric::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramSignedMessageGeneric) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.signed_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.signature_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.dummy_pad_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.cert_ != nullptr); - _impl_.cert_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramSignedMessageGeneric::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSteamDatagramCertificateSigned cert = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes signed_data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_signed_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes signature = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_signature(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes dummy_pad = 1023; - case 1023: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 250)) { - auto str = _internal_mutable_dummy_pad(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramSignedMessageGeneric::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramSignedMessageGeneric) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSteamDatagramCertificateSigned cert = 1; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::cert(this), - _Internal::cert(this).GetCachedSize(), target, stream); - } - - // optional bytes signed_data = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_signed_data(), target); - } - - // optional bytes signature = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 3, this->_internal_signature(), target); - } - - // optional bytes dummy_pad = 1023; - if (cached_has_bits & 0x00000004u) { - target = stream->WriteBytesMaybeAliased( - 1023, this->_internal_dummy_pad(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramSignedMessageGeneric) - return target; -} - -size_t CMsgSteamDatagramSignedMessageGeneric::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramSignedMessageGeneric) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional bytes signed_data = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_signed_data()); - } - - // optional bytes signature = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_signature()); - } - - // optional bytes dummy_pad = 1023; - if (cached_has_bits & 0x00000004u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_dummy_pad()); - } - - // optional .CMsgSteamDatagramCertificateSigned cert = 1; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cert_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramSignedMessageGeneric::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramSignedMessageGeneric::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramSignedMessageGeneric::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramSignedMessageGeneric::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramSignedMessageGeneric) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_signed_data(from._internal_signed_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_signature(from._internal_signature()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_dummy_pad(from._internal_dummy_pad()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( - from._internal_cert()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramSignedMessageGeneric::CopyFrom(const CMsgSteamDatagramSignedMessageGeneric& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramSignedMessageGeneric) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramSignedMessageGeneric::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramSignedMessageGeneric::InternalSwap(CMsgSteamDatagramSignedMessageGeneric* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.signed_data_, lhs_arena, - &other->_impl_.signed_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.signature_, lhs_arena, - &other->_impl_.signature_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.dummy_pad_, lhs_arena, - &other->_impl_.dummy_pad_, rhs_arena - ); - swap(_impl_.cert_, other->_impl_.cert_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramSignedMessageGeneric::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[1]); -} - -// =================================================================== - -class CMsgSteamDatagramRouterPingReply_RouteException::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_data_center_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_penalty(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgSteamDatagramRouterPingReply_RouteException::CMsgSteamDatagramRouterPingReply_RouteException(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramRouterPingReply.RouteException) -} -CMsgSteamDatagramRouterPingReply_RouteException::CMsgSteamDatagramRouterPingReply_RouteException(const CMsgSteamDatagramRouterPingReply_RouteException& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramRouterPingReply_RouteException* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_center_id_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.penalty_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.data_center_id_, &from._impl_.data_center_id_, - static_cast(reinterpret_cast(&_impl_.penalty_) - - reinterpret_cast(&_impl_.data_center_id_)) + sizeof(_impl_.penalty_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramRouterPingReply.RouteException) -} - -inline void CMsgSteamDatagramRouterPingReply_RouteException::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_center_id_){0u} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.penalty_){0u} - }; -} - -CMsgSteamDatagramRouterPingReply_RouteException::~CMsgSteamDatagramRouterPingReply_RouteException() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramRouterPingReply.RouteException) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramRouterPingReply_RouteException::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSteamDatagramRouterPingReply_RouteException::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramRouterPingReply_RouteException::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramRouterPingReply.RouteException) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.data_center_id_, 0, static_cast( - reinterpret_cast(&_impl_.penalty_) - - reinterpret_cast(&_impl_.data_center_id_)) + sizeof(_impl_.penalty_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramRouterPingReply_RouteException::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 data_center_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_data_center_id(&has_bits); - _impl_.data_center_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 penalty = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_penalty(&has_bits); - _impl_.penalty_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramRouterPingReply_RouteException::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramRouterPingReply.RouteException) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 data_center_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_data_center_id(), target); - } - - // optional uint32 flags = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_flags(), target); - } - - // optional uint32 penalty = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_penalty(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramRouterPingReply.RouteException) - return target; -} - -size_t CMsgSteamDatagramRouterPingReply_RouteException::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramRouterPingReply.RouteException) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional fixed32 data_center_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional uint32 flags = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - // optional uint32 penalty = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_penalty()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramRouterPingReply_RouteException::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramRouterPingReply_RouteException::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramRouterPingReply_RouteException::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramRouterPingReply_RouteException::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramRouterPingReply.RouteException) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.data_center_id_ = from._impl_.data_center_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.penalty_ = from._impl_.penalty_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramRouterPingReply_RouteException::CopyFrom(const CMsgSteamDatagramRouterPingReply_RouteException& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramRouterPingReply.RouteException) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramRouterPingReply_RouteException::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramRouterPingReply_RouteException::InternalSwap(CMsgSteamDatagramRouterPingReply_RouteException* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRouterPingReply_RouteException, _impl_.penalty_) - + sizeof(CMsgSteamDatagramRouterPingReply_RouteException::_impl_.penalty_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRouterPingReply_RouteException, _impl_.data_center_id_)>( - reinterpret_cast(&_impl_.data_center_id_), - reinterpret_cast(&other->_impl_.data_center_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramRouterPingReply_RouteException::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[2]); -} - -// =================================================================== - -class CMsgSteamDatagramRouterPingReply_AltAddress::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ipv4(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_port(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_penalty(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_protocol(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSteamDatagramRouterPingReply_AltAddress::CMsgSteamDatagramRouterPingReply_AltAddress(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramRouterPingReply.AltAddress) -} -CMsgSteamDatagramRouterPingReply_AltAddress::CMsgSteamDatagramRouterPingReply_AltAddress(const CMsgSteamDatagramRouterPingReply_AltAddress& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramRouterPingReply_AltAddress* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.id_){} - , decltype(_impl_.ipv4_){} - , decltype(_impl_.port_){} - , decltype(_impl_.penalty_){} - , decltype(_impl_.protocol_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_id()) { - _this->_impl_.id_.Set(from._internal_id(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.ipv4_, &from._impl_.ipv4_, - static_cast(reinterpret_cast(&_impl_.protocol_) - - reinterpret_cast(&_impl_.ipv4_)) + sizeof(_impl_.protocol_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramRouterPingReply.AltAddress) -} - -inline void CMsgSteamDatagramRouterPingReply_AltAddress::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.id_){} - , decltype(_impl_.ipv4_){0u} - , decltype(_impl_.port_){0u} - , decltype(_impl_.penalty_){0u} - , decltype(_impl_.protocol_){0} - }; - _impl_.id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramRouterPingReply_AltAddress::~CMsgSteamDatagramRouterPingReply_AltAddress() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramRouterPingReply.AltAddress) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramRouterPingReply_AltAddress::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.id_.Destroy(); -} - -void CMsgSteamDatagramRouterPingReply_AltAddress::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramRouterPingReply_AltAddress::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramRouterPingReply.AltAddress) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.id_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000001eu) { - ::memset(&_impl_.ipv4_, 0, static_cast( - reinterpret_cast(&_impl_.protocol_) - - reinterpret_cast(&_impl_.ipv4_)) + sizeof(_impl_.protocol_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramRouterPingReply_AltAddress::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 ipv4 = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_ipv4(&has_bits); - _impl_.ipv4_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 port = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_port(&has_bits); - _impl_.port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 penalty = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_penalty(&has_bits); - _impl_.penalty_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramRouterPingReply.AltAddress.Protocol protocol = 4 [default = DefaultProtocol]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_IsValid(val))) { - _internal_set_protocol(static_cast<::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(4, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional string id = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramRouterPingReply.AltAddress.id"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramRouterPingReply_AltAddress::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramRouterPingReply.AltAddress) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 ipv4 = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_ipv4(), target); - } - - // optional uint32 port = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_port(), target); - } - - // optional uint32 penalty = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_penalty(), target); - } - - // optional .CMsgSteamDatagramRouterPingReply.AltAddress.Protocol protocol = 4 [default = DefaultProtocol]; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 4, this->_internal_protocol(), target); - } - - // optional string id = 5; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_id().data(), static_cast(this->_internal_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramRouterPingReply.AltAddress.id"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramRouterPingReply.AltAddress) - return target; -} - -size_t CMsgSteamDatagramRouterPingReply_AltAddress::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramRouterPingReply.AltAddress) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional string id = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_id()); - } - - // optional fixed32 ipv4 = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional uint32 port = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_port()); - } - - // optional uint32 penalty = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_penalty()); - } - - // optional .CMsgSteamDatagramRouterPingReply.AltAddress.Protocol protocol = 4 [default = DefaultProtocol]; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_protocol()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramRouterPingReply_AltAddress::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramRouterPingReply_AltAddress::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramRouterPingReply_AltAddress::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramRouterPingReply_AltAddress::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramRouterPingReply.AltAddress) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_id(from._internal_id()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.ipv4_ = from._impl_.ipv4_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.port_ = from._impl_.port_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.penalty_ = from._impl_.penalty_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.protocol_ = from._impl_.protocol_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramRouterPingReply_AltAddress::CopyFrom(const CMsgSteamDatagramRouterPingReply_AltAddress& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramRouterPingReply.AltAddress) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramRouterPingReply_AltAddress::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramRouterPingReply_AltAddress::InternalSwap(CMsgSteamDatagramRouterPingReply_AltAddress* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.id_, lhs_arena, - &other->_impl_.id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRouterPingReply_AltAddress, _impl_.protocol_) - + sizeof(CMsgSteamDatagramRouterPingReply_AltAddress::_impl_.protocol_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRouterPingReply_AltAddress, _impl_.ipv4_)>( - reinterpret_cast(&_impl_.ipv4_), - reinterpret_cast(&other->_impl_.ipv4_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramRouterPingReply_AltAddress::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[3]); -} - -// =================================================================== - -class CMsgSteamDatagramRouterPingReply::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_client_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_your_public_ip(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_your_public_port(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_server_time(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_challenge(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_seconds_until_shutdown(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_client_cookie(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_recv_tos(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_echo_sent_tos(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_sent_tos(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_echo_request_reply_tos(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_scoring_penalty_relay_cluster(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_dummy_pad(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_dummy_varint(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } -}; - -CMsgSteamDatagramRouterPingReply::CMsgSteamDatagramRouterPingReply(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramRouterPingReply) -} -CMsgSteamDatagramRouterPingReply::CMsgSteamDatagramRouterPingReply(const CMsgSteamDatagramRouterPingReply& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramRouterPingReply* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.latency_datacenter_ids_){from._impl_.latency_datacenter_ids_} - , decltype(_impl_.latency_ping_ms_){from._impl_.latency_ping_ms_} - , /*decltype(_impl_._latency_ping_ms_cached_byte_size_)*/{0} - , decltype(_impl_.route_exceptions_){from._impl_.route_exceptions_} - , decltype(_impl_.alt_addresses_){from._impl_.alt_addresses_} - , decltype(_impl_.latency_datacenter_ids_p2p_){from._impl_.latency_datacenter_ids_p2p_} - , decltype(_impl_.latency_ping_ms_p2p_){from._impl_.latency_ping_ms_p2p_} - , /*decltype(_impl_._latency_ping_ms_p2p_cached_byte_size_)*/{0} - , decltype(_impl_.dummy_pad_){} - , decltype(_impl_.client_timestamp_){} - , decltype(_impl_.your_public_ip_){} - , decltype(_impl_.challenge_){} - , decltype(_impl_.server_time_){} - , decltype(_impl_.seconds_until_shutdown_){} - , decltype(_impl_.client_cookie_){} - , decltype(_impl_.scoring_penalty_relay_cluster_){} - , decltype(_impl_.your_public_port_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.recv_tos_){} - , decltype(_impl_.echo_sent_tos_){} - , decltype(_impl_.sent_tos_){} - , decltype(_impl_.echo_request_reply_tos_){} - , decltype(_impl_.dummy_varint_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.dummy_pad_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dummy_pad_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_dummy_pad()) { - _this->_impl_.dummy_pad_.Set(from._internal_dummy_pad(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.client_timestamp_, &from._impl_.client_timestamp_, - static_cast(reinterpret_cast(&_impl_.dummy_varint_) - - reinterpret_cast(&_impl_.client_timestamp_)) + sizeof(_impl_.dummy_varint_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramRouterPingReply) -} - -inline void CMsgSteamDatagramRouterPingReply::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.latency_datacenter_ids_){arena} - , decltype(_impl_.latency_ping_ms_){arena} - , /*decltype(_impl_._latency_ping_ms_cached_byte_size_)*/{0} - , decltype(_impl_.route_exceptions_){arena} - , decltype(_impl_.alt_addresses_){arena} - , decltype(_impl_.latency_datacenter_ids_p2p_){arena} - , decltype(_impl_.latency_ping_ms_p2p_){arena} - , /*decltype(_impl_._latency_ping_ms_p2p_cached_byte_size_)*/{0} - , decltype(_impl_.dummy_pad_){} - , decltype(_impl_.client_timestamp_){0u} - , decltype(_impl_.your_public_ip_){0u} - , decltype(_impl_.challenge_){uint64_t{0u}} - , decltype(_impl_.server_time_){0u} - , decltype(_impl_.seconds_until_shutdown_){0u} - , decltype(_impl_.client_cookie_){0u} - , decltype(_impl_.scoring_penalty_relay_cluster_){0u} - , decltype(_impl_.your_public_port_){0u} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.recv_tos_){0u} - , decltype(_impl_.echo_sent_tos_){0u} - , decltype(_impl_.sent_tos_){0u} - , decltype(_impl_.echo_request_reply_tos_){0u} - , decltype(_impl_.dummy_varint_){uint64_t{0u}} - }; - _impl_.dummy_pad_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dummy_pad_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramRouterPingReply::~CMsgSteamDatagramRouterPingReply() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramRouterPingReply) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramRouterPingReply::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.latency_datacenter_ids_.~RepeatedField(); - _impl_.latency_ping_ms_.~RepeatedField(); - _impl_.route_exceptions_.~RepeatedPtrField(); - _impl_.alt_addresses_.~RepeatedPtrField(); - _impl_.latency_datacenter_ids_p2p_.~RepeatedField(); - _impl_.latency_ping_ms_p2p_.~RepeatedField(); - _impl_.dummy_pad_.Destroy(); -} - -void CMsgSteamDatagramRouterPingReply::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramRouterPingReply::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramRouterPingReply) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.latency_datacenter_ids_.Clear(); - _impl_.latency_ping_ms_.Clear(); - _impl_.route_exceptions_.Clear(); - _impl_.alt_addresses_.Clear(); - _impl_.latency_datacenter_ids_p2p_.Clear(); - _impl_.latency_ping_ms_p2p_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.dummy_pad_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x000000feu) { - ::memset(&_impl_.client_timestamp_, 0, static_cast( - reinterpret_cast(&_impl_.scoring_penalty_relay_cluster_) - - reinterpret_cast(&_impl_.client_timestamp_)) + sizeof(_impl_.scoring_penalty_relay_cluster_)); - } - if (cached_has_bits & 0x00007f00u) { - ::memset(&_impl_.your_public_port_, 0, static_cast( - reinterpret_cast(&_impl_.dummy_varint_) - - reinterpret_cast(&_impl_.your_public_port_)) + sizeof(_impl_.dummy_varint_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramRouterPingReply::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 client_timestamp = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_client_timestamp(&has_bits); - _impl_.client_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // repeated fixed32 latency_datacenter_ids = 2 [packed = true]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_latency_datacenter_ids(), ptr, ctx); - CHK_(ptr); - } else if (static_cast(tag) == 21) { - _internal_add_latency_datacenter_ids(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // repeated uint32 latency_ping_ms = 3 [packed = true]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_latency_ping_ms(), ptr, ctx); - CHK_(ptr); - } else if (static_cast(tag) == 24) { - _internal_add_latency_ping_ms(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 your_public_ip = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_your_public_ip(&has_bits); - _impl_.your_public_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 server_time = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_server_time(&has_bits); - _impl_.server_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 challenge = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 49)) { - _Internal::set_has_challenge(&has_bits); - _impl_.challenge_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 seconds_until_shutdown = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_seconds_until_shutdown(&has_bits); - _impl_.seconds_until_shutdown_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 client_cookie = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { - _Internal::set_has_client_cookie(&has_bits); - _impl_.client_cookie_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 scoring_penalty_relay_cluster = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_scoring_penalty_relay_cluster(&has_bits); - _impl_.scoring_penalty_relay_cluster_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgSteamDatagramRouterPingReply.RouteException route_exceptions = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_route_exceptions(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<82>(ptr)); - } else - goto handle_unusual; - continue; - // optional fixed32 your_public_port = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 93)) { - _Internal::set_has_your_public_port(&has_bits); - _impl_.your_public_port_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgSteamDatagramRouterPingReply.AltAddress alt_addresses = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_alt_addresses(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<106>(ptr)); - } else - goto handle_unusual; - continue; - // repeated fixed32 latency_datacenter_ids_p2p = 14 [packed = true]; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_latency_datacenter_ids_p2p(), ptr, ctx); - CHK_(ptr); - } else if (static_cast(tag) == 117) { - _internal_add_latency_datacenter_ids_p2p(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // repeated uint32 latency_ping_ms_p2p = 15 [packed = true]; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_latency_ping_ms_p2p(), ptr, ctx); - CHK_(ptr); - } else if (static_cast(tag) == 120) { - _internal_add_latency_ping_ms_p2p(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 recv_tos = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_recv_tos(&has_bits); - _impl_.recv_tos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 echo_sent_tos = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_echo_sent_tos(&has_bits); - _impl_.echo_sent_tos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 sent_tos = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_sent_tos(&has_bits); - _impl_.sent_tos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 echo_request_reply_tos = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_echo_request_reply_tos(&has_bits); - _impl_.echo_request_reply_tos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes dummy_pad = 99; - case 99: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_dummy_pad(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 dummy_varint = 100; - case 100: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_dummy_varint(&has_bits); - _impl_.dummy_varint_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramRouterPingReply::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramRouterPingReply) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 client_timestamp = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_client_timestamp(), target); - } - - // repeated fixed32 latency_datacenter_ids = 2 [packed = true]; - if (this->_internal_latency_datacenter_ids_size() > 0) { - target = stream->WriteFixedPacked(2, _internal_latency_datacenter_ids(), target); - } - - // repeated uint32 latency_ping_ms = 3 [packed = true]; - { - int byte_size = _impl_._latency_ping_ms_cached_byte_size_.load(std::memory_order_relaxed); - if (byte_size > 0) { - target = stream->WriteUInt32Packed( - 3, _internal_latency_ping_ms(), byte_size, target); - } - } - - // optional fixed32 your_public_ip = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_your_public_ip(), target); - } - - // optional fixed32 server_time = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_server_time(), target); - } - - // optional fixed64 challenge = 6; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(6, this->_internal_challenge(), target); - } - - // optional uint32 seconds_until_shutdown = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_seconds_until_shutdown(), target); - } - - // optional fixed32 client_cookie = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(8, this->_internal_client_cookie(), target); - } - - // optional uint32 scoring_penalty_relay_cluster = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_scoring_penalty_relay_cluster(), target); - } - - // repeated .CMsgSteamDatagramRouterPingReply.RouteException route_exceptions = 10; - for (unsigned i = 0, - n = static_cast(this->_internal_route_exceptions_size()); i < n; i++) { - const auto& repfield = this->_internal_route_exceptions(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional fixed32 your_public_port = 11; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(11, this->_internal_your_public_port(), target); - } - - // optional uint32 flags = 12; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_flags(), target); - } - - // repeated .CMsgSteamDatagramRouterPingReply.AltAddress alt_addresses = 13; - for (unsigned i = 0, - n = static_cast(this->_internal_alt_addresses_size()); i < n; i++) { - const auto& repfield = this->_internal_alt_addresses(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated fixed32 latency_datacenter_ids_p2p = 14 [packed = true]; - if (this->_internal_latency_datacenter_ids_p2p_size() > 0) { - target = stream->WriteFixedPacked(14, _internal_latency_datacenter_ids_p2p(), target); - } - - // repeated uint32 latency_ping_ms_p2p = 15 [packed = true]; - { - int byte_size = _impl_._latency_ping_ms_p2p_cached_byte_size_.load(std::memory_order_relaxed); - if (byte_size > 0) { - target = stream->WriteUInt32Packed( - 15, _internal_latency_ping_ms_p2p(), byte_size, target); - } - } - - // optional uint32 recv_tos = 16; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_recv_tos(), target); - } - - // optional uint32 echo_sent_tos = 17; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_echo_sent_tos(), target); - } - - // optional uint32 sent_tos = 18; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_sent_tos(), target); - } - - // optional uint32 echo_request_reply_tos = 19; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_echo_request_reply_tos(), target); - } - - // optional bytes dummy_pad = 99; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 99, this->_internal_dummy_pad(), target); - } - - // optional uint64 dummy_varint = 100; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(100, this->_internal_dummy_varint(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramRouterPingReply) - return target; -} - -size_t CMsgSteamDatagramRouterPingReply::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramRouterPingReply) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated fixed32 latency_datacenter_ids = 2 [packed = true]; - { - unsigned int count = static_cast(this->_internal_latency_datacenter_ids_size()); - size_t data_size = 4UL * count; - if (data_size > 0) { - total_size += 1 + - ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); - } - total_size += data_size; - } - - // repeated uint32 latency_ping_ms = 3 [packed = true]; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.latency_ping_ms_); - if (data_size > 0) { - total_size += 1 + - ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); - } - int cached_size = ::_pbi::ToCachedSize(data_size); - _impl_._latency_ping_ms_cached_byte_size_.store(cached_size, - std::memory_order_relaxed); - total_size += data_size; - } - - // repeated .CMsgSteamDatagramRouterPingReply.RouteException route_exceptions = 10; - total_size += 1UL * this->_internal_route_exceptions_size(); - for (const auto& msg : this->_impl_.route_exceptions_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CMsgSteamDatagramRouterPingReply.AltAddress alt_addresses = 13; - total_size += 1UL * this->_internal_alt_addresses_size(); - for (const auto& msg : this->_impl_.alt_addresses_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated fixed32 latency_datacenter_ids_p2p = 14 [packed = true]; - { - unsigned int count = static_cast(this->_internal_latency_datacenter_ids_p2p_size()); - size_t data_size = 4UL * count; - if (data_size > 0) { - total_size += 1 + - ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); - } - total_size += data_size; - } - - // repeated uint32 latency_ping_ms_p2p = 15 [packed = true]; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.latency_ping_ms_p2p_); - if (data_size > 0) { - total_size += 1 + - ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); - } - int cached_size = ::_pbi::ToCachedSize(data_size); - _impl_._latency_ping_ms_p2p_cached_byte_size_.store(cached_size, - std::memory_order_relaxed); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bytes dummy_pad = 99; - if (cached_has_bits & 0x00000001u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_dummy_pad()); - } - - // optional fixed32 client_timestamp = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional fixed32 your_public_ip = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional fixed64 challenge = 6; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 8; - } - - // optional fixed32 server_time = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional uint32 seconds_until_shutdown = 7; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds_until_shutdown()); - } - - // optional fixed32 client_cookie = 8; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional uint32 scoring_penalty_relay_cluster = 9; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_scoring_penalty_relay_cluster()); - } - - } - if (cached_has_bits & 0x00007f00u) { - // optional fixed32 your_public_port = 11; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 4; - } - - // optional uint32 flags = 12; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - // optional uint32 recv_tos = 16; - if (cached_has_bits & 0x00000400u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_recv_tos()); - } - - // optional uint32 echo_sent_tos = 17; - if (cached_has_bits & 0x00000800u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_echo_sent_tos()); - } - - // optional uint32 sent_tos = 18; - if (cached_has_bits & 0x00001000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_sent_tos()); - } - - // optional uint32 echo_request_reply_tos = 19; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_echo_request_reply_tos()); - } - - // optional uint64 dummy_varint = 100; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt64Size( - this->_internal_dummy_varint()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramRouterPingReply::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramRouterPingReply::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramRouterPingReply::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramRouterPingReply::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramRouterPingReply) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.latency_datacenter_ids_.MergeFrom(from._impl_.latency_datacenter_ids_); - _this->_impl_.latency_ping_ms_.MergeFrom(from._impl_.latency_ping_ms_); - _this->_impl_.route_exceptions_.MergeFrom(from._impl_.route_exceptions_); - _this->_impl_.alt_addresses_.MergeFrom(from._impl_.alt_addresses_); - _this->_impl_.latency_datacenter_ids_p2p_.MergeFrom(from._impl_.latency_datacenter_ids_p2p_); - _this->_impl_.latency_ping_ms_p2p_.MergeFrom(from._impl_.latency_ping_ms_p2p_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_dummy_pad(from._internal_dummy_pad()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.client_timestamp_ = from._impl_.client_timestamp_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.your_public_ip_ = from._impl_.your_public_ip_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.challenge_ = from._impl_.challenge_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.server_time_ = from._impl_.server_time_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.seconds_until_shutdown_ = from._impl_.seconds_until_shutdown_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.client_cookie_ = from._impl_.client_cookie_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.scoring_penalty_relay_cluster_ = from._impl_.scoring_penalty_relay_cluster_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00007f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.your_public_port_ = from._impl_.your_public_port_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.recv_tos_ = from._impl_.recv_tos_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.echo_sent_tos_ = from._impl_.echo_sent_tos_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.sent_tos_ = from._impl_.sent_tos_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.echo_request_reply_tos_ = from._impl_.echo_request_reply_tos_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.dummy_varint_ = from._impl_.dummy_varint_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramRouterPingReply::CopyFrom(const CMsgSteamDatagramRouterPingReply& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramRouterPingReply) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramRouterPingReply::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramRouterPingReply::InternalSwap(CMsgSteamDatagramRouterPingReply* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.latency_datacenter_ids_.InternalSwap(&other->_impl_.latency_datacenter_ids_); - _impl_.latency_ping_ms_.InternalSwap(&other->_impl_.latency_ping_ms_); - _impl_.route_exceptions_.InternalSwap(&other->_impl_.route_exceptions_); - _impl_.alt_addresses_.InternalSwap(&other->_impl_.alt_addresses_); - _impl_.latency_datacenter_ids_p2p_.InternalSwap(&other->_impl_.latency_datacenter_ids_p2p_); - _impl_.latency_ping_ms_p2p_.InternalSwap(&other->_impl_.latency_ping_ms_p2p_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.dummy_pad_, lhs_arena, - &other->_impl_.dummy_pad_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRouterPingReply, _impl_.dummy_varint_) - + sizeof(CMsgSteamDatagramRouterPingReply::_impl_.dummy_varint_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramRouterPingReply, _impl_.client_timestamp_)>( - reinterpret_cast(&_impl_.client_timestamp_), - reinterpret_cast(&other->_impl_.client_timestamp_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramRouterPingReply::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[4]); -} - -// =================================================================== - -class CMsgSteamDatagramGameserverPingRequestBody::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_relay_popid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgSteamNetworkingIPAddress& your_public_ip(const CMsgSteamDatagramGameserverPingRequestBody* msg); - static void set_has_your_public_ip(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_your_public_port(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_relay_unix_time(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_routing_secret(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_echo(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgSteamNetworkingIPAddress& -CMsgSteamDatagramGameserverPingRequestBody::_Internal::your_public_ip(const CMsgSteamDatagramGameserverPingRequestBody* msg) { - return *msg->_impl_.your_public_ip_; -} -CMsgSteamDatagramGameserverPingRequestBody::CMsgSteamDatagramGameserverPingRequestBody(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramGameserverPingRequestBody) -} -CMsgSteamDatagramGameserverPingRequestBody::CMsgSteamDatagramGameserverPingRequestBody(const CMsgSteamDatagramGameserverPingRequestBody& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramGameserverPingRequestBody* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.my_ips_){from._impl_.my_ips_} - , decltype(_impl_.echo_){} - , decltype(_impl_.your_public_ip_){nullptr} - , decltype(_impl_.relay_popid_){} - , decltype(_impl_.your_public_port_){} - , decltype(_impl_.relay_unix_time_){} - , decltype(_impl_.routing_secret_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.echo_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.echo_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_echo()) { - _this->_impl_.echo_.Set(from._internal_echo(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_your_public_ip()) { - _this->_impl_.your_public_ip_ = new ::CMsgSteamNetworkingIPAddress(*from._impl_.your_public_ip_); - } - ::memcpy(&_impl_.relay_popid_, &from._impl_.relay_popid_, - static_cast(reinterpret_cast(&_impl_.routing_secret_) - - reinterpret_cast(&_impl_.relay_popid_)) + sizeof(_impl_.routing_secret_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramGameserverPingRequestBody) -} - -inline void CMsgSteamDatagramGameserverPingRequestBody::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.my_ips_){arena} - , decltype(_impl_.echo_){} - , decltype(_impl_.your_public_ip_){nullptr} - , decltype(_impl_.relay_popid_){0u} - , decltype(_impl_.your_public_port_){0u} - , decltype(_impl_.relay_unix_time_){uint64_t{0u}} - , decltype(_impl_.routing_secret_){uint64_t{0u}} - }; - _impl_.echo_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.echo_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramGameserverPingRequestBody::~CMsgSteamDatagramGameserverPingRequestBody() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramGameserverPingRequestBody) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramGameserverPingRequestBody::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.my_ips_.~RepeatedPtrField(); - _impl_.echo_.Destroy(); - if (this != internal_default_instance()) delete _impl_.your_public_ip_; -} - -void CMsgSteamDatagramGameserverPingRequestBody::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramGameserverPingRequestBody::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramGameserverPingRequestBody) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.my_ips_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.echo_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.your_public_ip_ != nullptr); - _impl_.your_public_ip_->Clear(); - } - } - if (cached_has_bits & 0x0000003cu) { - ::memset(&_impl_.relay_popid_, 0, static_cast( - reinterpret_cast(&_impl_.routing_secret_) - - reinterpret_cast(&_impl_.relay_popid_)) + sizeof(_impl_.routing_secret_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramGameserverPingRequestBody::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 relay_popid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_relay_popid(&has_bits); - _impl_.relay_popid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamNetworkingIPAddress your_public_ip = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_your_public_ip(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 your_public_port = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_your_public_port(&has_bits); - _impl_.your_public_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 relay_unix_time = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_relay_unix_time(&has_bits); - _impl_.relay_unix_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 routing_secret = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 41)) { - _Internal::set_has_routing_secret(&has_bits); - _impl_.routing_secret_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // repeated .CMsgSteamNetworkingIPAddress my_ips = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_my_ips(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); - } else - goto handle_unusual; - continue; - // optional bytes echo = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_echo(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramGameserverPingRequestBody::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramGameserverPingRequestBody) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 relay_popid = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_relay_popid(), target); - } - - // optional .CMsgSteamNetworkingIPAddress your_public_ip = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::your_public_ip(this), - _Internal::your_public_ip(this).GetCachedSize(), target, stream); - } - - // optional uint32 your_public_port = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_your_public_port(), target); - } - - // optional uint64 relay_unix_time = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_relay_unix_time(), target); - } - - // optional fixed64 routing_secret = 5; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(5, this->_internal_routing_secret(), target); - } - - // repeated .CMsgSteamNetworkingIPAddress my_ips = 6; - for (unsigned i = 0, - n = static_cast(this->_internal_my_ips_size()); i < n; i++) { - const auto& repfield = this->_internal_my_ips(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional bytes echo = 8; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 8, this->_internal_echo(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramGameserverPingRequestBody) - return target; -} - -size_t CMsgSteamDatagramGameserverPingRequestBody::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramGameserverPingRequestBody) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSteamNetworkingIPAddress my_ips = 6; - total_size += 1UL * this->_internal_my_ips_size(); - for (const auto& msg : this->_impl_.my_ips_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional bytes echo = 8; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_echo()); - } - - // optional .CMsgSteamNetworkingIPAddress your_public_ip = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.your_public_ip_); - } - - // optional fixed32 relay_popid = 1; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional uint32 your_public_port = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_your_public_port()); - } - - // optional uint64 relay_unix_time = 4; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_relay_unix_time()); - } - - // optional fixed64 routing_secret = 5; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramGameserverPingRequestBody::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramGameserverPingRequestBody::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramGameserverPingRequestBody::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramGameserverPingRequestBody::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramGameserverPingRequestBody) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.my_ips_.MergeFrom(from._impl_.my_ips_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_echo(from._internal_echo()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_your_public_ip()->::CMsgSteamNetworkingIPAddress::MergeFrom( - from._internal_your_public_ip()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.relay_popid_ = from._impl_.relay_popid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.your_public_port_ = from._impl_.your_public_port_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.relay_unix_time_ = from._impl_.relay_unix_time_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.routing_secret_ = from._impl_.routing_secret_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramGameserverPingRequestBody::CopyFrom(const CMsgSteamDatagramGameserverPingRequestBody& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramGameserverPingRequestBody) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramGameserverPingRequestBody::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramGameserverPingRequestBody::InternalSwap(CMsgSteamDatagramGameserverPingRequestBody* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.my_ips_.InternalSwap(&other->_impl_.my_ips_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.echo_, lhs_arena, - &other->_impl_.echo_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverPingRequestBody, _impl_.routing_secret_) - + sizeof(CMsgSteamDatagramGameserverPingRequestBody::_impl_.routing_secret_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverPingRequestBody, _impl_.your_public_ip_)>( - reinterpret_cast(&_impl_.your_public_ip_), - reinterpret_cast(&other->_impl_.your_public_ip_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramGameserverPingRequestBody::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[5]); -} - -// =================================================================== - -class CMsgSteamDatagramGameserverPingRequestEnvelope::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamDatagramGameserverPingRequestEnvelope* msg); - static void set_has_cert(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_signed_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_signature(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_legacy_your_public_ip(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_legacy_your_public_port(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_legacy_relay_unix_time(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_legacy_challenge(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_legacy_router_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_dummy_pad(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::CMsgSteamDatagramCertificateSigned& -CMsgSteamDatagramGameserverPingRequestEnvelope::_Internal::cert(const CMsgSteamDatagramGameserverPingRequestEnvelope* msg) { - return *msg->_impl_.cert_; -} -void CMsgSteamDatagramGameserverPingRequestEnvelope::clear_cert() { - if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -CMsgSteamDatagramGameserverPingRequestEnvelope::CMsgSteamDatagramGameserverPingRequestEnvelope(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramGameserverPingRequestEnvelope) -} -CMsgSteamDatagramGameserverPingRequestEnvelope::CMsgSteamDatagramGameserverPingRequestEnvelope(const CMsgSteamDatagramGameserverPingRequestEnvelope& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramGameserverPingRequestEnvelope* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.signed_data_){} - , decltype(_impl_.signature_){} - , decltype(_impl_.dummy_pad_){} - , decltype(_impl_.cert_){nullptr} - , decltype(_impl_.legacy_your_public_ip_){} - , decltype(_impl_.legacy_relay_unix_time_){} - , decltype(_impl_.legacy_challenge_){} - , decltype(_impl_.legacy_router_timestamp_){} - , decltype(_impl_.legacy_your_public_port_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.signed_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signed_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_signed_data()) { - _this->_impl_.signed_data_.Set(from._internal_signed_data(), - _this->GetArenaForAllocation()); - } - _impl_.signature_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_signature()) { - _this->_impl_.signature_.Set(from._internal_signature(), - _this->GetArenaForAllocation()); - } - _impl_.dummy_pad_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dummy_pad_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_dummy_pad()) { - _this->_impl_.dummy_pad_.Set(from._internal_dummy_pad(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_cert()) { - _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); - } - ::memcpy(&_impl_.legacy_your_public_ip_, &from._impl_.legacy_your_public_ip_, - static_cast(reinterpret_cast(&_impl_.legacy_your_public_port_) - - reinterpret_cast(&_impl_.legacy_your_public_ip_)) + sizeof(_impl_.legacy_your_public_port_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramGameserverPingRequestEnvelope) -} - -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.signed_data_){} - , decltype(_impl_.signature_){} - , decltype(_impl_.dummy_pad_){} - , decltype(_impl_.cert_){nullptr} - , decltype(_impl_.legacy_your_public_ip_){0u} - , decltype(_impl_.legacy_relay_unix_time_){0u} - , decltype(_impl_.legacy_challenge_){uint64_t{0u}} - , decltype(_impl_.legacy_router_timestamp_){0u} - , decltype(_impl_.legacy_your_public_port_){0u} - }; - _impl_.signed_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signed_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dummy_pad_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dummy_pad_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramGameserverPingRequestEnvelope::~CMsgSteamDatagramGameserverPingRequestEnvelope() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramGameserverPingRequestEnvelope) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.signed_data_.Destroy(); - _impl_.signature_.Destroy(); - _impl_.dummy_pad_.Destroy(); - if (this != internal_default_instance()) delete _impl_.cert_; -} - -void CMsgSteamDatagramGameserverPingRequestEnvelope::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramGameserverPingRequestEnvelope::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramGameserverPingRequestEnvelope) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.signed_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.signature_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.dummy_pad_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.cert_ != nullptr); - _impl_.cert_->Clear(); - } - } - if (cached_has_bits & 0x000000f0u) { - ::memset(&_impl_.legacy_your_public_ip_, 0, static_cast( - reinterpret_cast(&_impl_.legacy_router_timestamp_) - - reinterpret_cast(&_impl_.legacy_your_public_ip_)) + sizeof(_impl_.legacy_router_timestamp_)); - } - _impl_.legacy_your_public_port_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramGameserverPingRequestEnvelope::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 legacy_your_public_ip = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_legacy_your_public_ip(&has_bits); - _impl_.legacy_your_public_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 legacy_relay_unix_time = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_legacy_relay_unix_time(&has_bits); - _impl_.legacy_relay_unix_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 legacy_challenge = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_legacy_challenge(&has_bits); - _impl_.legacy_challenge_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional fixed32 legacy_router_timestamp = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_legacy_router_timestamp(&has_bits); - _impl_.legacy_router_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 legacy_your_public_port = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_legacy_your_public_port(&has_bits); - _impl_.legacy_your_public_port_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramCertificateSigned cert = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes signed_data = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_signed_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes signature = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_signature(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes dummy_pad = 1023; - case 1023: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 250)) { - auto str = _internal_mutable_dummy_pad(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramGameserverPingRequestEnvelope::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramGameserverPingRequestEnvelope) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 legacy_your_public_ip = 1; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_legacy_your_public_ip(), target); - } - - // optional fixed32 legacy_relay_unix_time = 2; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_legacy_relay_unix_time(), target); - } - - // optional fixed64 legacy_challenge = 3; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_legacy_challenge(), target); - } - - // optional fixed32 legacy_router_timestamp = 4; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_legacy_router_timestamp(), target); - } - - // optional fixed32 legacy_your_public_port = 5; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_legacy_your_public_port(), target); - } - - // optional .CMsgSteamDatagramCertificateSigned cert = 6; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::cert(this), - _Internal::cert(this).GetCachedSize(), target, stream); - } - - // optional bytes signed_data = 7; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 7, this->_internal_signed_data(), target); - } - - // optional bytes signature = 8; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 8, this->_internal_signature(), target); - } - - // optional bytes dummy_pad = 1023; - if (cached_has_bits & 0x00000004u) { - target = stream->WriteBytesMaybeAliased( - 1023, this->_internal_dummy_pad(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramGameserverPingRequestEnvelope) - return target; -} - -size_t CMsgSteamDatagramGameserverPingRequestEnvelope::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramGameserverPingRequestEnvelope) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bytes signed_data = 7; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_signed_data()); - } - - // optional bytes signature = 8; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_signature()); - } - - // optional bytes dummy_pad = 1023; - if (cached_has_bits & 0x00000004u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_dummy_pad()); - } - - // optional .CMsgSteamDatagramCertificateSigned cert = 6; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cert_); - } - - // optional fixed32 legacy_your_public_ip = 1; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional fixed32 legacy_relay_unix_time = 2; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional fixed64 legacy_challenge = 3; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 8; - } - - // optional fixed32 legacy_router_timestamp = 4; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - // optional fixed32 legacy_your_public_port = 5; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 4; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramGameserverPingRequestEnvelope::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramGameserverPingRequestEnvelope::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramGameserverPingRequestEnvelope::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramGameserverPingRequestEnvelope::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramGameserverPingRequestEnvelope) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_signed_data(from._internal_signed_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_signature(from._internal_signature()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_dummy_pad(from._internal_dummy_pad()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( - from._internal_cert()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.legacy_your_public_ip_ = from._impl_.legacy_your_public_ip_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.legacy_relay_unix_time_ = from._impl_.legacy_relay_unix_time_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.legacy_challenge_ = from._impl_.legacy_challenge_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.legacy_router_timestamp_ = from._impl_.legacy_router_timestamp_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_legacy_your_public_port(from._internal_legacy_your_public_port()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramGameserverPingRequestEnvelope::CopyFrom(const CMsgSteamDatagramGameserverPingRequestEnvelope& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramGameserverPingRequestEnvelope) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramGameserverPingRequestEnvelope::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramGameserverPingRequestEnvelope::InternalSwap(CMsgSteamDatagramGameserverPingRequestEnvelope* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.signed_data_, lhs_arena, - &other->_impl_.signed_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.signature_, lhs_arena, - &other->_impl_.signature_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.dummy_pad_, lhs_arena, - &other->_impl_.dummy_pad_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.legacy_your_public_port_) - + sizeof(CMsgSteamDatagramGameserverPingRequestEnvelope::_impl_.legacy_your_public_port_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverPingRequestEnvelope, _impl_.cert_)>( - reinterpret_cast(&_impl_.cert_), - reinterpret_cast(&other->_impl_.cert_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramGameserverPingRequestEnvelope::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[6]); -} - -// =================================================================== - -class CMsgSteamDatagramGameserverPingReplyData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_echo_relay_unix_time(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_echo(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_legacy_challenge(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_legacy_router_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_data_center_id(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_protocol_version(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_build(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_network_config_version(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_my_unix_time(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_routing_blob(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgSteamDatagramGameserverPingReplyData::CMsgSteamDatagramGameserverPingReplyData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramGameserverPingReplyData) -} -CMsgSteamDatagramGameserverPingReplyData::CMsgSteamDatagramGameserverPingReplyData(const CMsgSteamDatagramGameserverPingReplyData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramGameserverPingReplyData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.echo_){} - , decltype(_impl_.build_){} - , decltype(_impl_.routing_blob_){} - , decltype(_impl_.legacy_challenge_){} - , decltype(_impl_.echo_relay_unix_time_){} - , decltype(_impl_.legacy_router_timestamp_){} - , decltype(_impl_.data_center_id_){} - , decltype(_impl_.appid_){} - , decltype(_impl_.protocol_version_){} - , decltype(_impl_.my_unix_time_){} - , decltype(_impl_.network_config_version_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.echo_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.echo_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_echo()) { - _this->_impl_.echo_.Set(from._internal_echo(), - _this->GetArenaForAllocation()); - } - _impl_.build_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.build_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_build()) { - _this->_impl_.build_.Set(from._internal_build(), - _this->GetArenaForAllocation()); - } - _impl_.routing_blob_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.routing_blob_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_routing_blob()) { - _this->_impl_.routing_blob_.Set(from._internal_routing_blob(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.legacy_challenge_, &from._impl_.legacy_challenge_, - static_cast(reinterpret_cast(&_impl_.network_config_version_) - - reinterpret_cast(&_impl_.legacy_challenge_)) + sizeof(_impl_.network_config_version_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramGameserverPingReplyData) -} - -inline void CMsgSteamDatagramGameserverPingReplyData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.echo_){} - , decltype(_impl_.build_){} - , decltype(_impl_.routing_blob_){} - , decltype(_impl_.legacy_challenge_){uint64_t{0u}} - , decltype(_impl_.echo_relay_unix_time_){0u} - , decltype(_impl_.legacy_router_timestamp_){0u} - , decltype(_impl_.data_center_id_){0u} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.protocol_version_){0u} - , decltype(_impl_.my_unix_time_){0u} - , decltype(_impl_.network_config_version_){uint64_t{0u}} - }; - _impl_.echo_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.echo_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.build_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.build_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.routing_blob_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.routing_blob_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramGameserverPingReplyData::~CMsgSteamDatagramGameserverPingReplyData() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramGameserverPingReplyData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramGameserverPingReplyData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.echo_.Destroy(); - _impl_.build_.Destroy(); - _impl_.routing_blob_.Destroy(); -} - -void CMsgSteamDatagramGameserverPingReplyData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramGameserverPingReplyData::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramGameserverPingReplyData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.echo_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.build_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.routing_blob_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000f8u) { - ::memset(&_impl_.legacy_challenge_, 0, static_cast( - reinterpret_cast(&_impl_.appid_) - - reinterpret_cast(&_impl_.legacy_challenge_)) + sizeof(_impl_.appid_)); - } - if (cached_has_bits & 0x00000700u) { - ::memset(&_impl_.protocol_version_, 0, static_cast( - reinterpret_cast(&_impl_.network_config_version_) - - reinterpret_cast(&_impl_.protocol_version_)) + sizeof(_impl_.network_config_version_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramGameserverPingReplyData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 echo_relay_unix_time = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_echo_relay_unix_time(&has_bits); - _impl_.echo_relay_unix_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 legacy_challenge = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_legacy_challenge(&has_bits); - _impl_.legacy_challenge_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional fixed32 legacy_router_timestamp = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_legacy_router_timestamp(&has_bits); - _impl_.legacy_router_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 data_center_id = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_data_center_id(&has_bits); - _impl_.data_center_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 appid = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 protocol_version = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_protocol_version(&has_bits); - _impl_.protocol_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes echo = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_echo(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string build = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_build(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramGameserverPingReplyData.build"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint64 network_config_version = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_network_config_version(&has_bits); - _impl_.network_config_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 my_unix_time = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 93)) { - _Internal::set_has_my_unix_time(&has_bits); - _impl_.my_unix_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional bytes routing_blob = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - auto str = _internal_mutable_routing_blob(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramGameserverPingReplyData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramGameserverPingReplyData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 echo_relay_unix_time = 2; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_echo_relay_unix_time(), target); - } - - // optional fixed64 legacy_challenge = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_legacy_challenge(), target); - } - - // optional fixed32 legacy_router_timestamp = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_legacy_router_timestamp(), target); - } - - // optional fixed32 data_center_id = 5; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_data_center_id(), target); - } - - // optional uint32 appid = 6; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_appid(), target); - } - - // optional uint32 protocol_version = 7; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_protocol_version(), target); - } - - // optional bytes echo = 8; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 8, this->_internal_echo(), target); - } - - // optional string build = 9; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_build().data(), static_cast(this->_internal_build().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramGameserverPingReplyData.build"); - target = stream->WriteStringMaybeAliased( - 9, this->_internal_build(), target); - } - - // optional uint64 network_config_version = 10; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(10, this->_internal_network_config_version(), target); - } - - // optional fixed32 my_unix_time = 11; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(11, this->_internal_my_unix_time(), target); - } - - // optional bytes routing_blob = 12; - if (cached_has_bits & 0x00000004u) { - target = stream->WriteBytesMaybeAliased( - 12, this->_internal_routing_blob(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramGameserverPingReplyData) - return target; -} - -size_t CMsgSteamDatagramGameserverPingReplyData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramGameserverPingReplyData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bytes echo = 8; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_echo()); - } - - // optional string build = 9; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_build()); - } - - // optional bytes routing_blob = 12; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_routing_blob()); - } - - // optional fixed64 legacy_challenge = 3; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 8; - } - - // optional fixed32 echo_relay_unix_time = 2; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional fixed32 legacy_router_timestamp = 4; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional fixed32 data_center_id = 5; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional uint32 appid = 6; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - } - if (cached_has_bits & 0x00000700u) { - // optional uint32 protocol_version = 7; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_protocol_version()); - } - - // optional fixed32 my_unix_time = 11; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 4; - } - - // optional uint64 network_config_version = 10; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_network_config_version()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramGameserverPingReplyData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramGameserverPingReplyData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramGameserverPingReplyData::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramGameserverPingReplyData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramGameserverPingReplyData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_echo(from._internal_echo()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_build(from._internal_build()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_routing_blob(from._internal_routing_blob()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.legacy_challenge_ = from._impl_.legacy_challenge_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.echo_relay_unix_time_ = from._impl_.echo_relay_unix_time_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.legacy_router_timestamp_ = from._impl_.legacy_router_timestamp_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.data_center_id_ = from._impl_.data_center_id_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000700u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.protocol_version_ = from._impl_.protocol_version_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.my_unix_time_ = from._impl_.my_unix_time_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.network_config_version_ = from._impl_.network_config_version_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramGameserverPingReplyData::CopyFrom(const CMsgSteamDatagramGameserverPingReplyData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramGameserverPingReplyData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramGameserverPingReplyData::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramGameserverPingReplyData::InternalSwap(CMsgSteamDatagramGameserverPingReplyData* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.echo_, lhs_arena, - &other->_impl_.echo_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.build_, lhs_arena, - &other->_impl_.build_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.routing_blob_, lhs_arena, - &other->_impl_.routing_blob_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverPingReplyData, _impl_.network_config_version_) - + sizeof(CMsgSteamDatagramGameserverPingReplyData::_impl_.network_config_version_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverPingReplyData, _impl_.legacy_challenge_)>( - reinterpret_cast(&_impl_.legacy_challenge_), - reinterpret_cast(&other->_impl_.legacy_challenge_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramGameserverPingReplyData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[7]); -} - -// =================================================================== - -class CMsgSteamDatagramNoSessionRelayToClient::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_your_public_ip(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_your_public_port(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_server_time(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_challenge(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_seconds_until_shutdown(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgSteamDatagramNoSessionRelayToClient::CMsgSteamDatagramNoSessionRelayToClient(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramNoSessionRelayToClient) -} -CMsgSteamDatagramNoSessionRelayToClient::CMsgSteamDatagramNoSessionRelayToClient(const CMsgSteamDatagramNoSessionRelayToClient& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramNoSessionRelayToClient* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.your_public_ip_){} - , decltype(_impl_.server_time_){} - , decltype(_impl_.challenge_){} - , decltype(_impl_.seconds_until_shutdown_){} - , decltype(_impl_.your_public_port_){} - , decltype(_impl_.connection_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.your_public_ip_, &from._impl_.your_public_ip_, - static_cast(reinterpret_cast(&_impl_.connection_id_) - - reinterpret_cast(&_impl_.your_public_ip_)) + sizeof(_impl_.connection_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramNoSessionRelayToClient) -} - -inline void CMsgSteamDatagramNoSessionRelayToClient::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.your_public_ip_){0u} - , decltype(_impl_.server_time_){0u} - , decltype(_impl_.challenge_){uint64_t{0u}} - , decltype(_impl_.seconds_until_shutdown_){0u} - , decltype(_impl_.your_public_port_){0u} - , decltype(_impl_.connection_id_){0u} - }; -} - -CMsgSteamDatagramNoSessionRelayToClient::~CMsgSteamDatagramNoSessionRelayToClient() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramNoSessionRelayToClient) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramNoSessionRelayToClient::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSteamDatagramNoSessionRelayToClient::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramNoSessionRelayToClient::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramNoSessionRelayToClient) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - ::memset(&_impl_.your_public_ip_, 0, static_cast( - reinterpret_cast(&_impl_.connection_id_) - - reinterpret_cast(&_impl_.your_public_ip_)) + sizeof(_impl_.connection_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramNoSessionRelayToClient::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 your_public_ip = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_your_public_ip(&has_bits); - _impl_.your_public_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 server_time = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_server_time(&has_bits); - _impl_.server_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 challenge = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { - _Internal::set_has_challenge(&has_bits); - _impl_.challenge_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 seconds_until_shutdown = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_seconds_until_shutdown(&has_bits); - _impl_.seconds_until_shutdown_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 your_public_port = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - _Internal::set_has_your_public_port(&has_bits); - _impl_.your_public_port_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 connection_id = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_connection_id(&has_bits); - _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramNoSessionRelayToClient::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramNoSessionRelayToClient) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 your_public_ip = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_your_public_ip(), target); - } - - // optional fixed32 server_time = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_server_time(), target); - } - - // optional fixed64 challenge = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_challenge(), target); - } - - // optional uint32 seconds_until_shutdown = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_seconds_until_shutdown(), target); - } - - // optional fixed32 your_public_port = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_your_public_port(), target); - } - - // optional fixed32 connection_id = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_connection_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramNoSessionRelayToClient) - return target; -} - -size_t CMsgSteamDatagramNoSessionRelayToClient::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramNoSessionRelayToClient) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional fixed32 your_public_ip = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional fixed32 server_time = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional fixed64 challenge = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 8; - } - - // optional uint32 seconds_until_shutdown = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds_until_shutdown()); - } - - // optional fixed32 your_public_port = 6; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional fixed32 connection_id = 7; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramNoSessionRelayToClient::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramNoSessionRelayToClient::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramNoSessionRelayToClient::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramNoSessionRelayToClient::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramNoSessionRelayToClient) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.your_public_ip_ = from._impl_.your_public_ip_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.server_time_ = from._impl_.server_time_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.challenge_ = from._impl_.challenge_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.seconds_until_shutdown_ = from._impl_.seconds_until_shutdown_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.your_public_port_ = from._impl_.your_public_port_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.connection_id_ = from._impl_.connection_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramNoSessionRelayToClient::CopyFrom(const CMsgSteamDatagramNoSessionRelayToClient& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramNoSessionRelayToClient) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramNoSessionRelayToClient::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramNoSessionRelayToClient::InternalSwap(CMsgSteamDatagramNoSessionRelayToClient* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramNoSessionRelayToClient, _impl_.connection_id_) - + sizeof(CMsgSteamDatagramNoSessionRelayToClient::_impl_.connection_id_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramNoSessionRelayToClient, _impl_.your_public_ip_)>( - reinterpret_cast(&_impl_.your_public_ip_), - reinterpret_cast(&other->_impl_.your_public_ip_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramNoSessionRelayToClient::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[8]); -} - -// =================================================================== - -class CMsgSteamDatagramNoSessionRelayToPeer::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_legacy_relay_session_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_from_relay_session_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_from_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_kludge_pad(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgSteamDatagramNoSessionRelayToPeer::CMsgSteamDatagramNoSessionRelayToPeer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramNoSessionRelayToPeer) -} -CMsgSteamDatagramNoSessionRelayToPeer::CMsgSteamDatagramNoSessionRelayToPeer(const CMsgSteamDatagramNoSessionRelayToPeer& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramNoSessionRelayToPeer* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.legacy_relay_session_id_){} - , decltype(_impl_.from_relay_session_id_){} - , decltype(_impl_.kludge_pad_){} - , decltype(_impl_.from_connection_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.legacy_relay_session_id_, &from._impl_.legacy_relay_session_id_, - static_cast(reinterpret_cast(&_impl_.from_connection_id_) - - reinterpret_cast(&_impl_.legacy_relay_session_id_)) + sizeof(_impl_.from_connection_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramNoSessionRelayToPeer) -} - -inline void CMsgSteamDatagramNoSessionRelayToPeer::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.legacy_relay_session_id_){0u} - , decltype(_impl_.from_relay_session_id_){0u} - , decltype(_impl_.kludge_pad_){uint64_t{0u}} - , decltype(_impl_.from_connection_id_){0u} - }; -} - -CMsgSteamDatagramNoSessionRelayToPeer::~CMsgSteamDatagramNoSessionRelayToPeer() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramNoSessionRelayToPeer) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramNoSessionRelayToPeer::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSteamDatagramNoSessionRelayToPeer::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramNoSessionRelayToPeer::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramNoSessionRelayToPeer) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.legacy_relay_session_id_, 0, static_cast( - reinterpret_cast(&_impl_.from_connection_id_) - - reinterpret_cast(&_impl_.legacy_relay_session_id_)) + sizeof(_impl_.from_connection_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramNoSessionRelayToPeer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 legacy_relay_session_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_legacy_relay_session_id(&has_bits); - _impl_.legacy_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 from_relay_session_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_from_relay_session_id(&has_bits); - _impl_.from_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 from_connection_id = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_from_connection_id(&has_bits); - _impl_.from_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 kludge_pad = 99; - case 99: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_kludge_pad(&has_bits); - _impl_.kludge_pad_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramNoSessionRelayToPeer::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramNoSessionRelayToPeer) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 legacy_relay_session_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_legacy_relay_session_id(), target); - } - - // optional fixed32 from_relay_session_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_from_relay_session_id(), target); - } - - // optional fixed32 from_connection_id = 7; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_from_connection_id(), target); - } - - // optional fixed64 kludge_pad = 99; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(99, this->_internal_kludge_pad(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramNoSessionRelayToPeer) - return target; -} - -size_t CMsgSteamDatagramNoSessionRelayToPeer::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramNoSessionRelayToPeer) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 legacy_relay_session_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_legacy_relay_session_id()); - } - - // optional fixed32 from_relay_session_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional fixed64 kludge_pad = 99; - if (cached_has_bits & 0x00000004u) { - total_size += 2 + 8; - } - - // optional fixed32 from_connection_id = 7; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramNoSessionRelayToPeer::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramNoSessionRelayToPeer::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramNoSessionRelayToPeer::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramNoSessionRelayToPeer::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramNoSessionRelayToPeer) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.legacy_relay_session_id_ = from._impl_.legacy_relay_session_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.from_relay_session_id_ = from._impl_.from_relay_session_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.kludge_pad_ = from._impl_.kludge_pad_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.from_connection_id_ = from._impl_.from_connection_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramNoSessionRelayToPeer::CopyFrom(const CMsgSteamDatagramNoSessionRelayToPeer& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramNoSessionRelayToPeer) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramNoSessionRelayToPeer::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramNoSessionRelayToPeer::InternalSwap(CMsgSteamDatagramNoSessionRelayToPeer* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramNoSessionRelayToPeer, _impl_.from_connection_id_) - + sizeof(CMsgSteamDatagramNoSessionRelayToPeer::_impl_.from_connection_id_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramNoSessionRelayToPeer, _impl_.legacy_relay_session_id_)>( - reinterpret_cast(&_impl_.legacy_relay_session_id_), - reinterpret_cast(&other->_impl_.legacy_relay_session_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramNoSessionRelayToPeer::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[9]); -} - -// =================================================================== - -class CMsgTOSTreatment::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_l4s_detect(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_up_ecn1(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_down_dscp45(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgTOSTreatment::CMsgTOSTreatment(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTOSTreatment) -} -CMsgTOSTreatment::CMsgTOSTreatment(const CMsgTOSTreatment& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTOSTreatment* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.l4s_detect_){} - , decltype(_impl_.up_ecn1_){} - , decltype(_impl_.down_dscp45_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.l4s_detect_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.l4s_detect_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_l4s_detect()) { - _this->_impl_.l4s_detect_.Set(from._internal_l4s_detect(), - _this->GetArenaForAllocation()); - } - _impl_.up_ecn1_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.up_ecn1_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_up_ecn1()) { - _this->_impl_.up_ecn1_.Set(from._internal_up_ecn1(), - _this->GetArenaForAllocation()); - } - _impl_.down_dscp45_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.down_dscp45_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_down_dscp45()) { - _this->_impl_.down_dscp45_.Set(from._internal_down_dscp45(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CMsgTOSTreatment) -} - -inline void CMsgTOSTreatment::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.l4s_detect_){} - , decltype(_impl_.up_ecn1_){} - , decltype(_impl_.down_dscp45_){} - }; - _impl_.l4s_detect_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.l4s_detect_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.up_ecn1_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.up_ecn1_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.down_dscp45_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.down_dscp45_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgTOSTreatment::~CMsgTOSTreatment() { - // @@protoc_insertion_point(destructor:CMsgTOSTreatment) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTOSTreatment::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.l4s_detect_.Destroy(); - _impl_.up_ecn1_.Destroy(); - _impl_.down_dscp45_.Destroy(); -} - -void CMsgTOSTreatment::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTOSTreatment::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTOSTreatment) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.l4s_detect_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.up_ecn1_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.down_dscp45_.ClearNonDefaultToEmpty(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTOSTreatment::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string l4s_detect = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_l4s_detect(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgTOSTreatment.l4s_detect"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string up_ecn1 = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_up_ecn1(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgTOSTreatment.up_ecn1"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string down_dscp45 = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_down_dscp45(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgTOSTreatment.down_dscp45"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTOSTreatment::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTOSTreatment) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string l4s_detect = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_l4s_detect().data(), static_cast(this->_internal_l4s_detect().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgTOSTreatment.l4s_detect"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_l4s_detect(), target); - } - - // optional string up_ecn1 = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_up_ecn1().data(), static_cast(this->_internal_up_ecn1().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgTOSTreatment.up_ecn1"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_up_ecn1(), target); - } - - // optional string down_dscp45 = 3; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_down_dscp45().data(), static_cast(this->_internal_down_dscp45().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgTOSTreatment.down_dscp45"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_down_dscp45(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTOSTreatment) - return target; -} - -size_t CMsgTOSTreatment::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTOSTreatment) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string l4s_detect = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_l4s_detect()); - } - - // optional string up_ecn1 = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_up_ecn1()); - } - - // optional string down_dscp45 = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_down_dscp45()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTOSTreatment::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTOSTreatment::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTOSTreatment::GetClassData() const { return &_class_data_; } - - -void CMsgTOSTreatment::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTOSTreatment) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_l4s_detect(from._internal_l4s_detect()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_up_ecn1(from._internal_up_ecn1()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_down_dscp45(from._internal_down_dscp45()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTOSTreatment::CopyFrom(const CMsgTOSTreatment& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTOSTreatment) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTOSTreatment::IsInitialized() const { - return true; -} - -void CMsgTOSTreatment::InternalSwap(CMsgTOSTreatment* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.l4s_detect_, lhs_arena, - &other->_impl_.l4s_detect_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.up_ecn1_, lhs_arena, - &other->_impl_.up_ecn1_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.down_dscp45_, lhs_arena, - &other->_impl_.down_dscp45_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTOSTreatment::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[10]); -} - -// =================================================================== - -class CMsgSteamDatagramClientPingSampleRequest::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSteamDatagramClientPingSampleRequest::CMsgSteamDatagramClientPingSampleRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramClientPingSampleRequest) -} -CMsgSteamDatagramClientPingSampleRequest::CMsgSteamDatagramClientPingSampleRequest(const CMsgSteamDatagramClientPingSampleRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramClientPingSampleRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.connection_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.connection_id_ = from._impl_.connection_id_; - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramClientPingSampleRequest) -} - -inline void CMsgSteamDatagramClientPingSampleRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.connection_id_){0u} - }; -} - -CMsgSteamDatagramClientPingSampleRequest::~CMsgSteamDatagramClientPingSampleRequest() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramClientPingSampleRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramClientPingSampleRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSteamDatagramClientPingSampleRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramClientPingSampleRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramClientPingSampleRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.connection_id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramClientPingSampleRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 connection_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_connection_id(&has_bits); - _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramClientPingSampleRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramClientPingSampleRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 connection_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_connection_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramClientPingSampleRequest) - return target; -} - -size_t CMsgSteamDatagramClientPingSampleRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramClientPingSampleRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional fixed32 connection_id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramClientPingSampleRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramClientPingSampleRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramClientPingSampleRequest::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramClientPingSampleRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramClientPingSampleRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_connection_id()) { - _this->_internal_set_connection_id(from._internal_connection_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramClientPingSampleRequest::CopyFrom(const CMsgSteamDatagramClientPingSampleRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramClientPingSampleRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramClientPingSampleRequest::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramClientPingSampleRequest::InternalSwap(CMsgSteamDatagramClientPingSampleRequest* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.connection_id_, other->_impl_.connection_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramClientPingSampleRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[11]); -} - -// =================================================================== - -class CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_front_ping_ms(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_penalty(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) -} -CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress(const CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.id_){} - , decltype(_impl_.front_ping_ms_){} - , decltype(_impl_.penalty_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_id()) { - _this->_impl_.id_.Set(from._internal_id(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.front_ping_ms_, &from._impl_.front_ping_ms_, - static_cast(reinterpret_cast(&_impl_.penalty_) - - reinterpret_cast(&_impl_.front_ping_ms_)) + sizeof(_impl_.penalty_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) -} - -inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.id_){} - , decltype(_impl_.front_ping_ms_){0u} - , decltype(_impl_.penalty_){0u} - }; - _impl_.id_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.id_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::~CMsgSteamDatagramClientPingSampleReply_POP_AltAddress() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.id_.Destroy(); -} - -void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.id_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.front_ping_ms_, 0, static_cast( - reinterpret_cast(&_impl_.penalty_) - - reinterpret_cast(&_impl_.front_ping_ms_)) + sizeof(_impl_.penalty_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_id(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.id"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 front_ping_ms = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_front_ping_ms(&has_bits); - _impl_.front_ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 penalty = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_penalty(&has_bits); - _impl_.penalty_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string id = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_id().data(), static_cast(this->_internal_id().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.id"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_id(), target); - } - - // optional uint32 front_ping_ms = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_front_ping_ms(), target); - } - - // optional uint32 penalty = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_penalty(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) - return target; -} - -size_t CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_id()); - } - - // optional uint32 front_ping_ms = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_front_ping_ms()); - } - - // optional uint32 penalty = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_penalty()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_id(from._internal_id()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.front_ping_ms_ = from._impl_.front_ping_ms_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.penalty_ = from._impl_.penalty_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::CopyFrom(const CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::InternalSwap(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.id_, lhs_arena, - &other->_impl_.id_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress, _impl_.penalty_) - + sizeof(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_impl_.penalty_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress, _impl_.front_ping_ms_)>( - reinterpret_cast(&_impl_.front_ping_ms_), - reinterpret_cast(&other->_impl_.front_ping_ms_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[12]); -} - -// =================================================================== - -class CMsgSteamDatagramClientPingSampleReply_POP::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_pop_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_default_front_ping_ms(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_cluster_penalty(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_default_e2e_ping_ms(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_default_e2e_score(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_p2p_via_peer_relay_pop_id(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_best_dc_ping_ms(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_best_dc_score(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_best_dc_via_relay_pop_id(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_default_dc_ping_ms(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_default_dc_score(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_default_dc_via_relay_pop_id(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_test_dc_ping_ms(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_test_dc_score(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_test_dc_via_relay_pop_id(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } -}; - -CMsgSteamDatagramClientPingSampleReply_POP::CMsgSteamDatagramClientPingSampleReply_POP(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramClientPingSampleReply.POP) -} -CMsgSteamDatagramClientPingSampleReply_POP::CMsgSteamDatagramClientPingSampleReply_POP(const CMsgSteamDatagramClientPingSampleReply_POP& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramClientPingSampleReply_POP* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.alt_addresses_){from._impl_.alt_addresses_} - , decltype(_impl_.pop_id_){} - , decltype(_impl_.default_front_ping_ms_){} - , decltype(_impl_.default_e2e_ping_ms_){} - , decltype(_impl_.cluster_penalty_){} - , decltype(_impl_.default_e2e_score_){} - , decltype(_impl_.p2p_via_peer_relay_pop_id_){} - , decltype(_impl_.best_dc_ping_ms_){} - , decltype(_impl_.best_dc_score_){} - , decltype(_impl_.best_dc_via_relay_pop_id_){} - , decltype(_impl_.default_dc_ping_ms_){} - , decltype(_impl_.default_dc_score_){} - , decltype(_impl_.default_dc_via_relay_pop_id_){} - , decltype(_impl_.test_dc_ping_ms_){} - , decltype(_impl_.test_dc_score_){} - , decltype(_impl_.test_dc_via_relay_pop_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.pop_id_, &from._impl_.pop_id_, - static_cast(reinterpret_cast(&_impl_.test_dc_via_relay_pop_id_) - - reinterpret_cast(&_impl_.pop_id_)) + sizeof(_impl_.test_dc_via_relay_pop_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramClientPingSampleReply.POP) -} - -inline void CMsgSteamDatagramClientPingSampleReply_POP::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.alt_addresses_){arena} - , decltype(_impl_.pop_id_){0u} - , decltype(_impl_.default_front_ping_ms_){0u} - , decltype(_impl_.default_e2e_ping_ms_){0u} - , decltype(_impl_.cluster_penalty_){0u} - , decltype(_impl_.default_e2e_score_){0u} - , decltype(_impl_.p2p_via_peer_relay_pop_id_){0u} - , decltype(_impl_.best_dc_ping_ms_){0u} - , decltype(_impl_.best_dc_score_){0u} - , decltype(_impl_.best_dc_via_relay_pop_id_){0u} - , decltype(_impl_.default_dc_ping_ms_){0u} - , decltype(_impl_.default_dc_score_){0u} - , decltype(_impl_.default_dc_via_relay_pop_id_){0u} - , decltype(_impl_.test_dc_ping_ms_){0u} - , decltype(_impl_.test_dc_score_){0u} - , decltype(_impl_.test_dc_via_relay_pop_id_){0u} - }; -} - -CMsgSteamDatagramClientPingSampleReply_POP::~CMsgSteamDatagramClientPingSampleReply_POP() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramClientPingSampleReply.POP) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramClientPingSampleReply_POP::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.alt_addresses_.~RepeatedPtrField(); -} - -void CMsgSteamDatagramClientPingSampleReply_POP::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramClientPingSampleReply_POP::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramClientPingSampleReply.POP) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.alt_addresses_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.pop_id_, 0, static_cast( - reinterpret_cast(&_impl_.best_dc_score_) - - reinterpret_cast(&_impl_.pop_id_)) + sizeof(_impl_.best_dc_score_)); - } - if (cached_has_bits & 0x00007f00u) { - ::memset(&_impl_.best_dc_via_relay_pop_id_, 0, static_cast( - reinterpret_cast(&_impl_.test_dc_via_relay_pop_id_) - - reinterpret_cast(&_impl_.best_dc_via_relay_pop_id_)) + sizeof(_impl_.test_dc_via_relay_pop_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramClientPingSampleReply_POP::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 pop_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_pop_id(&has_bits); - _impl_.pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 default_front_ping_ms = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_default_front_ping_ms(&has_bits); - _impl_.default_front_ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 default_e2e_ping_ms = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_default_e2e_ping_ms(&has_bits); - _impl_.default_e2e_ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 cluster_penalty = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_cluster_penalty(&has_bits); - _impl_.cluster_penalty_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 default_e2e_score = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_default_e2e_score(&has_bits); - _impl_.default_e2e_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 p2p_via_peer_relay_pop_id = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - _Internal::set_has_p2p_via_peer_relay_pop_id(&has_bits); - _impl_.p2p_via_peer_relay_pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // repeated .CMsgSteamDatagramClientPingSampleReply.POP.AltAddress alt_addresses = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_alt_addresses(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 best_dc_ping_ms = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_best_dc_ping_ms(&has_bits); - _impl_.best_dc_ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 best_dc_score = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_best_dc_score(&has_bits); - _impl_.best_dc_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 best_dc_via_relay_pop_id = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 93)) { - _Internal::set_has_best_dc_via_relay_pop_id(&has_bits); - _impl_.best_dc_via_relay_pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 default_dc_ping_ms = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_default_dc_ping_ms(&has_bits); - _impl_.default_dc_ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 default_dc_score = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_default_dc_score(&has_bits); - _impl_.default_dc_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 default_dc_via_relay_pop_id = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 117)) { - _Internal::set_has_default_dc_via_relay_pop_id(&has_bits); - _impl_.default_dc_via_relay_pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 test_dc_ping_ms = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_test_dc_ping_ms(&has_bits); - _impl_.test_dc_ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 test_dc_score = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_test_dc_score(&has_bits); - _impl_.test_dc_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 test_dc_via_relay_pop_id = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 141)) { - _Internal::set_has_test_dc_via_relay_pop_id(&has_bits); - _impl_.test_dc_via_relay_pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramClientPingSampleReply_POP::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramClientPingSampleReply.POP) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 pop_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_pop_id(), target); - } - - // optional uint32 default_front_ping_ms = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_default_front_ping_ms(), target); - } - - // optional uint32 default_e2e_ping_ms = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_default_e2e_ping_ms(), target); - } - - // optional uint32 cluster_penalty = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_cluster_penalty(), target); - } - - // optional uint32 default_e2e_score = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_default_e2e_score(), target); - } - - // optional fixed32 p2p_via_peer_relay_pop_id = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_p2p_via_peer_relay_pop_id(), target); - } - - // repeated .CMsgSteamDatagramClientPingSampleReply.POP.AltAddress alt_addresses = 7; - for (unsigned i = 0, - n = static_cast(this->_internal_alt_addresses_size()); i < n; i++) { - const auto& repfield = this->_internal_alt_addresses(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional uint32 best_dc_ping_ms = 9; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_best_dc_ping_ms(), target); - } - - // optional uint32 best_dc_score = 10; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_best_dc_score(), target); - } - - // optional fixed32 best_dc_via_relay_pop_id = 11; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(11, this->_internal_best_dc_via_relay_pop_id(), target); - } - - // optional uint32 default_dc_ping_ms = 12; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_default_dc_ping_ms(), target); - } - - // optional uint32 default_dc_score = 13; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_default_dc_score(), target); - } - - // optional fixed32 default_dc_via_relay_pop_id = 14; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(14, this->_internal_default_dc_via_relay_pop_id(), target); - } - - // optional uint32 test_dc_ping_ms = 15; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_test_dc_ping_ms(), target); - } - - // optional uint32 test_dc_score = 16; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_test_dc_score(), target); - } - - // optional fixed32 test_dc_via_relay_pop_id = 17; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(17, this->_internal_test_dc_via_relay_pop_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramClientPingSampleReply.POP) - return target; -} - -size_t CMsgSteamDatagramClientPingSampleReply_POP::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramClientPingSampleReply.POP) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSteamDatagramClientPingSampleReply.POP.AltAddress alt_addresses = 7; - total_size += 1UL * this->_internal_alt_addresses_size(); - for (const auto& msg : this->_impl_.alt_addresses_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional fixed32 pop_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional uint32 default_front_ping_ms = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_default_front_ping_ms()); - } - - // optional uint32 default_e2e_ping_ms = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_default_e2e_ping_ms()); - } - - // optional uint32 cluster_penalty = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cluster_penalty()); - } - - // optional uint32 default_e2e_score = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_default_e2e_score()); - } - - // optional fixed32 p2p_via_peer_relay_pop_id = 6; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional uint32 best_dc_ping_ms = 9; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_best_dc_ping_ms()); - } - - // optional uint32 best_dc_score = 10; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_best_dc_score()); - } - - } - if (cached_has_bits & 0x00007f00u) { - // optional fixed32 best_dc_via_relay_pop_id = 11; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 4; - } - - // optional uint32 default_dc_ping_ms = 12; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_default_dc_ping_ms()); - } - - // optional uint32 default_dc_score = 13; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_default_dc_score()); - } - - // optional fixed32 default_dc_via_relay_pop_id = 14; - if (cached_has_bits & 0x00000800u) { - total_size += 1 + 4; - } - - // optional uint32 test_dc_ping_ms = 15; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_test_dc_ping_ms()); - } - - // optional uint32 test_dc_score = 16; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_test_dc_score()); - } - - // optional fixed32 test_dc_via_relay_pop_id = 17; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramClientPingSampleReply_POP::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramClientPingSampleReply_POP::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramClientPingSampleReply_POP::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramClientPingSampleReply_POP::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramClientPingSampleReply.POP) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.alt_addresses_.MergeFrom(from._impl_.alt_addresses_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.pop_id_ = from._impl_.pop_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.default_front_ping_ms_ = from._impl_.default_front_ping_ms_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.default_e2e_ping_ms_ = from._impl_.default_e2e_ping_ms_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.cluster_penalty_ = from._impl_.cluster_penalty_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.default_e2e_score_ = from._impl_.default_e2e_score_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.p2p_via_peer_relay_pop_id_ = from._impl_.p2p_via_peer_relay_pop_id_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.best_dc_ping_ms_ = from._impl_.best_dc_ping_ms_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.best_dc_score_ = from._impl_.best_dc_score_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00007f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.best_dc_via_relay_pop_id_ = from._impl_.best_dc_via_relay_pop_id_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.default_dc_ping_ms_ = from._impl_.default_dc_ping_ms_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.default_dc_score_ = from._impl_.default_dc_score_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.default_dc_via_relay_pop_id_ = from._impl_.default_dc_via_relay_pop_id_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.test_dc_ping_ms_ = from._impl_.test_dc_ping_ms_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.test_dc_score_ = from._impl_.test_dc_score_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.test_dc_via_relay_pop_id_ = from._impl_.test_dc_via_relay_pop_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramClientPingSampleReply_POP::CopyFrom(const CMsgSteamDatagramClientPingSampleReply_POP& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramClientPingSampleReply.POP) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramClientPingSampleReply_POP::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramClientPingSampleReply_POP::InternalSwap(CMsgSteamDatagramClientPingSampleReply_POP* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.alt_addresses_.InternalSwap(&other->_impl_.alt_addresses_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientPingSampleReply_POP, _impl_.test_dc_via_relay_pop_id_) - + sizeof(CMsgSteamDatagramClientPingSampleReply_POP::_impl_.test_dc_via_relay_pop_id_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientPingSampleReply_POP, _impl_.pop_id_)>( - reinterpret_cast(&_impl_.pop_id_), - reinterpret_cast(&other->_impl_.pop_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramClientPingSampleReply_POP::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[13]); -} - -// =================================================================== - -class CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_data_center_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_best_dc_via_relay_pop_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_best_dc_ping_ms(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) -} -CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter(const CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_center_id_){} - , decltype(_impl_.best_dc_via_relay_pop_id_){} - , decltype(_impl_.best_dc_ping_ms_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.data_center_id_, &from._impl_.data_center_id_, - static_cast(reinterpret_cast(&_impl_.best_dc_ping_ms_) - - reinterpret_cast(&_impl_.data_center_id_)) + sizeof(_impl_.best_dc_ping_ms_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) -} - -inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_center_id_){0u} - , decltype(_impl_.best_dc_via_relay_pop_id_){0u} - , decltype(_impl_.best_dc_ping_ms_){0u} - }; -} - -CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::~CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.data_center_id_, 0, static_cast( - reinterpret_cast(&_impl_.best_dc_ping_ms_) - - reinterpret_cast(&_impl_.data_center_id_)) + sizeof(_impl_.best_dc_ping_ms_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 data_center_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_data_center_id(&has_bits); - _impl_.data_center_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 best_dc_via_relay_pop_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_best_dc_via_relay_pop_id(&has_bits); - _impl_.best_dc_via_relay_pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 best_dc_ping_ms = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_best_dc_ping_ms(&has_bits); - _impl_.best_dc_ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 data_center_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_data_center_id(), target); - } - - // optional fixed32 best_dc_via_relay_pop_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_best_dc_via_relay_pop_id(), target); - } - - // optional uint32 best_dc_ping_ms = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_best_dc_ping_ms(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) - return target; -} - -size_t CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional fixed32 data_center_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional fixed32 best_dc_via_relay_pop_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional uint32 best_dc_ping_ms = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_best_dc_ping_ms()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.data_center_id_ = from._impl_.data_center_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.best_dc_via_relay_pop_id_ = from._impl_.best_dc_via_relay_pop_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.best_dc_ping_ms_ = from._impl_.best_dc_ping_ms_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::CopyFrom(const CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::InternalSwap(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter, _impl_.best_dc_ping_ms_) - + sizeof(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_impl_.best_dc_ping_ms_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter, _impl_.data_center_id_)>( - reinterpret_cast(&_impl_.data_center_id_), - reinterpret_cast(&other->_impl_.data_center_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[14]); -} - -// =================================================================== - -class CMsgSteamDatagramClientPingSampleReply::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_relay_override_active(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgTOSTreatment& tos(const CMsgSteamDatagramClientPingSampleReply* msg); - static void set_has_tos(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgTOSTreatment& -CMsgSteamDatagramClientPingSampleReply::_Internal::tos(const CMsgSteamDatagramClientPingSampleReply* msg) { - return *msg->_impl_.tos_; -} -CMsgSteamDatagramClientPingSampleReply::CMsgSteamDatagramClientPingSampleReply(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramClientPingSampleReply) -} -CMsgSteamDatagramClientPingSampleReply::CMsgSteamDatagramClientPingSampleReply(const CMsgSteamDatagramClientPingSampleReply& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramClientPingSampleReply* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pops_){from._impl_.pops_} - , decltype(_impl_.legacy_data_centers_){from._impl_.legacy_data_centers_} - , decltype(_impl_.tos_){nullptr} - , decltype(_impl_.connection_id_){} - , decltype(_impl_.relay_override_active_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_tos()) { - _this->_impl_.tos_ = new ::CMsgTOSTreatment(*from._impl_.tos_); - } - ::memcpy(&_impl_.connection_id_, &from._impl_.connection_id_, - static_cast(reinterpret_cast(&_impl_.relay_override_active_) - - reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.relay_override_active_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramClientPingSampleReply) -} - -inline void CMsgSteamDatagramClientPingSampleReply::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pops_){arena} - , decltype(_impl_.legacy_data_centers_){arena} - , decltype(_impl_.tos_){nullptr} - , decltype(_impl_.connection_id_){0u} - , decltype(_impl_.relay_override_active_){false} - }; -} - -CMsgSteamDatagramClientPingSampleReply::~CMsgSteamDatagramClientPingSampleReply() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramClientPingSampleReply) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramClientPingSampleReply::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.pops_.~RepeatedPtrField(); - _impl_.legacy_data_centers_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.tos_; -} - -void CMsgSteamDatagramClientPingSampleReply::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramClientPingSampleReply::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramClientPingSampleReply) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.pops_.Clear(); - _impl_.legacy_data_centers_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.tos_ != nullptr); - _impl_.tos_->Clear(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.connection_id_, 0, static_cast( - reinterpret_cast(&_impl_.relay_override_active_) - - reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.relay_override_active_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramClientPingSampleReply::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 connection_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_connection_id(&has_bits); - _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // repeated .CMsgSteamDatagramClientPingSampleReply.POP pops = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_pops(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter legacy_data_centers = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_legacy_data_centers(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // optional bool relay_override_active = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_relay_override_active(&has_bits); - _impl_.relay_override_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgTOSTreatment tos = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_tos(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramClientPingSampleReply::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramClientPingSampleReply) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 connection_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_connection_id(), target); - } - - // repeated .CMsgSteamDatagramClientPingSampleReply.POP pops = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_pops_size()); i < n; i++) { - const auto& repfield = this->_internal_pops(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter legacy_data_centers = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_legacy_data_centers_size()); i < n; i++) { - const auto& repfield = this->_internal_legacy_data_centers(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional bool relay_override_active = 5; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_relay_override_active(), target); - } - - // optional .CMsgTOSTreatment tos = 6; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::tos(this), - _Internal::tos(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramClientPingSampleReply) - return target; -} - -size_t CMsgSteamDatagramClientPingSampleReply::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramClientPingSampleReply) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSteamDatagramClientPingSampleReply.POP pops = 2; - total_size += 1UL * this->_internal_pops_size(); - for (const auto& msg : this->_impl_.pops_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter legacy_data_centers = 3; - total_size += 1UL * this->_internal_legacy_data_centers_size(); - for (const auto& msg : this->_impl_.legacy_data_centers_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .CMsgTOSTreatment tos = 6; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.tos_); - } - - // optional fixed32 connection_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional bool relay_override_active = 5; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramClientPingSampleReply::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramClientPingSampleReply::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramClientPingSampleReply::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramClientPingSampleReply::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramClientPingSampleReply) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.pops_.MergeFrom(from._impl_.pops_); - _this->_impl_.legacy_data_centers_.MergeFrom(from._impl_.legacy_data_centers_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_tos()->::CMsgTOSTreatment::MergeFrom( - from._internal_tos()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.connection_id_ = from._impl_.connection_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.relay_override_active_ = from._impl_.relay_override_active_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramClientPingSampleReply::CopyFrom(const CMsgSteamDatagramClientPingSampleReply& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramClientPingSampleReply) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramClientPingSampleReply::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramClientPingSampleReply::InternalSwap(CMsgSteamDatagramClientPingSampleReply* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.pops_.InternalSwap(&other->_impl_.pops_); - _impl_.legacy_data_centers_.InternalSwap(&other->_impl_.legacy_data_centers_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientPingSampleReply, _impl_.relay_override_active_) - + sizeof(CMsgSteamDatagramClientPingSampleReply::_impl_.relay_override_active_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientPingSampleReply, _impl_.tos_)>( - reinterpret_cast(&_impl_.tos_), - reinterpret_cast(&other->_impl_.tos_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramClientPingSampleReply::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[15]); -} - -// =================================================================== - -class CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_score(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_front_ping(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_back_ping(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_seconds_until_down(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) -} -CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(const CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.score_){} - , decltype(_impl_.front_ping_){} - , decltype(_impl_.back_ping_){} - , decltype(_impl_.seconds_until_down_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.score_, &from._impl_.score_, - static_cast(reinterpret_cast(&_impl_.seconds_until_down_) - - reinterpret_cast(&_impl_.score_)) + sizeof(_impl_.seconds_until_down_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) -} - -inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.score_){0u} - , decltype(_impl_.front_ping_){0u} - , decltype(_impl_.back_ping_){0u} - , decltype(_impl_.seconds_until_down_){0u} - }; -} - -CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::~CMsgSteamDatagramClientSwitchedPrimary_RouterQuality() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.score_, 0, static_cast( - reinterpret_cast(&_impl_.seconds_until_down_) - - reinterpret_cast(&_impl_.score_)) + sizeof(_impl_.seconds_until_down_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 score = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_score(&has_bits); - _impl_.score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 front_ping = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_front_ping(&has_bits); - _impl_.front_ping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 back_ping = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_back_ping(&has_bits); - _impl_.back_ping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 seconds_until_down = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_seconds_until_down(&has_bits); - _impl_.seconds_until_down_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 score = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_score(), target); - } - - // optional uint32 front_ping = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_front_ping(), target); - } - - // optional uint32 back_ping = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_back_ping(), target); - } - - // optional uint32 seconds_until_down = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_seconds_until_down(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) - return target; -} - -size_t CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 score = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_score()); - } - - // optional uint32 front_ping = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_front_ping()); - } - - // optional uint32 back_ping = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_back_ping()); - } - - // optional uint32 seconds_until_down = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds_until_down()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.score_ = from._impl_.score_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.front_ping_ = from._impl_.front_ping_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.back_ping_ = from._impl_.back_ping_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.seconds_until_down_ = from._impl_.seconds_until_down_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::CopyFrom(const CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::InternalSwap(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality, _impl_.seconds_until_down_) - + sizeof(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_impl_.seconds_until_down_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality, _impl_.score_)>( - reinterpret_cast(&_impl_.score_), - reinterpret_cast(&other->_impl_.score_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[16]); -} - -// =================================================================== - -class CMsgSteamDatagramClientSwitchedPrimary::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_from_ip(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_from_port(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_from_router_cluster(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_from_active_time(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_from_active_packets_recv(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_from_dropped_reason(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_gap_ms(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from_quality_now(const CMsgSteamDatagramClientSwitchedPrimary* msg); - static void set_has_from_quality_now(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& to_quality_now(const CMsgSteamDatagramClientSwitchedPrimary* msg); - static void set_has_to_quality_now(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from_quality_then(const CMsgSteamDatagramClientSwitchedPrimary* msg); - static void set_has_from_quality_then(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& to_quality_then(const CMsgSteamDatagramClientSwitchedPrimary* msg); - static void set_has_to_quality_then(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& -CMsgSteamDatagramClientSwitchedPrimary::_Internal::from_quality_now(const CMsgSteamDatagramClientSwitchedPrimary* msg) { - return *msg->_impl_.from_quality_now_; -} -const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& -CMsgSteamDatagramClientSwitchedPrimary::_Internal::to_quality_now(const CMsgSteamDatagramClientSwitchedPrimary* msg) { - return *msg->_impl_.to_quality_now_; -} -const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& -CMsgSteamDatagramClientSwitchedPrimary::_Internal::from_quality_then(const CMsgSteamDatagramClientSwitchedPrimary* msg) { - return *msg->_impl_.from_quality_then_; -} -const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& -CMsgSteamDatagramClientSwitchedPrimary::_Internal::to_quality_then(const CMsgSteamDatagramClientSwitchedPrimary* msg) { - return *msg->_impl_.to_quality_then_; -} -CMsgSteamDatagramClientSwitchedPrimary::CMsgSteamDatagramClientSwitchedPrimary(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramClientSwitchedPrimary) -} -CMsgSteamDatagramClientSwitchedPrimary::CMsgSteamDatagramClientSwitchedPrimary(const CMsgSteamDatagramClientSwitchedPrimary& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramClientSwitchedPrimary* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.from_dropped_reason_){} - , decltype(_impl_.from_quality_now_){nullptr} - , decltype(_impl_.to_quality_now_){nullptr} - , decltype(_impl_.from_quality_then_){nullptr} - , decltype(_impl_.to_quality_then_){nullptr} - , decltype(_impl_.connection_id_){} - , decltype(_impl_.from_ip_){} - , decltype(_impl_.from_port_){} - , decltype(_impl_.from_router_cluster_){} - , decltype(_impl_.from_active_time_){} - , decltype(_impl_.from_active_packets_recv_){} - , decltype(_impl_.gap_ms_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.from_dropped_reason_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.from_dropped_reason_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_from_dropped_reason()) { - _this->_impl_.from_dropped_reason_.Set(from._internal_from_dropped_reason(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_from_quality_now()) { - _this->_impl_.from_quality_now_ = new ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(*from._impl_.from_quality_now_); - } - if (from._internal_has_to_quality_now()) { - _this->_impl_.to_quality_now_ = new ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(*from._impl_.to_quality_now_); - } - if (from._internal_has_from_quality_then()) { - _this->_impl_.from_quality_then_ = new ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(*from._impl_.from_quality_then_); - } - if (from._internal_has_to_quality_then()) { - _this->_impl_.to_quality_then_ = new ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(*from._impl_.to_quality_then_); - } - ::memcpy(&_impl_.connection_id_, &from._impl_.connection_id_, - static_cast(reinterpret_cast(&_impl_.gap_ms_) - - reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.gap_ms_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramClientSwitchedPrimary) -} - -inline void CMsgSteamDatagramClientSwitchedPrimary::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.from_dropped_reason_){} - , decltype(_impl_.from_quality_now_){nullptr} - , decltype(_impl_.to_quality_now_){nullptr} - , decltype(_impl_.from_quality_then_){nullptr} - , decltype(_impl_.to_quality_then_){nullptr} - , decltype(_impl_.connection_id_){0u} - , decltype(_impl_.from_ip_){0u} - , decltype(_impl_.from_port_){0u} - , decltype(_impl_.from_router_cluster_){0u} - , decltype(_impl_.from_active_time_){0u} - , decltype(_impl_.from_active_packets_recv_){0u} - , decltype(_impl_.gap_ms_){0u} - }; - _impl_.from_dropped_reason_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.from_dropped_reason_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramClientSwitchedPrimary::~CMsgSteamDatagramClientSwitchedPrimary() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramClientSwitchedPrimary) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramClientSwitchedPrimary::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.from_dropped_reason_.Destroy(); - if (this != internal_default_instance()) delete _impl_.from_quality_now_; - if (this != internal_default_instance()) delete _impl_.to_quality_now_; - if (this != internal_default_instance()) delete _impl_.from_quality_then_; - if (this != internal_default_instance()) delete _impl_.to_quality_then_; -} - -void CMsgSteamDatagramClientSwitchedPrimary::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramClientSwitchedPrimary::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramClientSwitchedPrimary) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.from_dropped_reason_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.from_quality_now_ != nullptr); - _impl_.from_quality_now_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.to_quality_now_ != nullptr); - _impl_.to_quality_now_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.from_quality_then_ != nullptr); - _impl_.from_quality_then_->Clear(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(_impl_.to_quality_then_ != nullptr); - _impl_.to_quality_then_->Clear(); - } - } - if (cached_has_bits & 0x000000e0u) { - ::memset(&_impl_.connection_id_, 0, static_cast( - reinterpret_cast(&_impl_.from_port_) - - reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.from_port_)); - } - if (cached_has_bits & 0x00000f00u) { - ::memset(&_impl_.from_router_cluster_, 0, static_cast( - reinterpret_cast(&_impl_.gap_ms_) - - reinterpret_cast(&_impl_.from_router_cluster_)) + sizeof(_impl_.gap_ms_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramClientSwitchedPrimary::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 connection_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_connection_id(&has_bits); - _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 from_ip = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_from_ip(&has_bits); - _impl_.from_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 from_port = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_from_port(&has_bits); - _impl_.from_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 from_router_cluster = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_from_router_cluster(&has_bits); - _impl_.from_router_cluster_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 from_active_time = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_from_active_time(&has_bits); - _impl_.from_active_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 from_active_packets_recv = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_from_active_packets_recv(&has_bits); - _impl_.from_active_packets_recv_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string from_dropped_reason = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_from_dropped_reason(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramClientSwitchedPrimary.from_dropped_reason"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 gap_ms = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_gap_ms(&has_bits); - _impl_.gap_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_now = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr = ctx->ParseMessage(_internal_mutable_from_quality_now(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_now = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr = ctx->ParseMessage(_internal_mutable_to_quality_now(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_then = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr = ctx->ParseMessage(_internal_mutable_from_quality_then(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_then = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - ptr = ctx->ParseMessage(_internal_mutable_to_quality_then(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramClientSwitchedPrimary::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramClientSwitchedPrimary) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 connection_id = 1; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_connection_id(), target); - } - - // optional fixed32 from_ip = 2; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_from_ip(), target); - } - - // optional uint32 from_port = 3; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_from_port(), target); - } - - // optional fixed32 from_router_cluster = 4; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_from_router_cluster(), target); - } - - // optional uint32 from_active_time = 5; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_from_active_time(), target); - } - - // optional uint32 from_active_packets_recv = 6; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_from_active_packets_recv(), target); - } - - // optional string from_dropped_reason = 7; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_from_dropped_reason().data(), static_cast(this->_internal_from_dropped_reason().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramClientSwitchedPrimary.from_dropped_reason"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_from_dropped_reason(), target); - } - - // optional uint32 gap_ms = 8; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_gap_ms(), target); - } - - // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_now = 9; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(9, _Internal::from_quality_now(this), - _Internal::from_quality_now(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_now = 10; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, _Internal::to_quality_now(this), - _Internal::to_quality_now(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_then = 11; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(11, _Internal::from_quality_then(this), - _Internal::from_quality_then(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_then = 12; - if (cached_has_bits & 0x00000010u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(12, _Internal::to_quality_then(this), - _Internal::to_quality_then(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramClientSwitchedPrimary) - return target; -} - -size_t CMsgSteamDatagramClientSwitchedPrimary::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramClientSwitchedPrimary) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string from_dropped_reason = 7; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_from_dropped_reason()); - } - - // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_now = 9; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.from_quality_now_); - } - - // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_now = 10; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.to_quality_now_); - } - - // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_then = 11; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.from_quality_then_); - } - - // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_then = 12; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.to_quality_then_); - } - - // optional fixed32 connection_id = 1; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional fixed32 from_ip = 2; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional uint32 from_port = 3; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_from_port()); - } - - } - if (cached_has_bits & 0x00000f00u) { - // optional fixed32 from_router_cluster = 4; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 4; - } - - // optional uint32 from_active_time = 5; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_from_active_time()); - } - - // optional uint32 from_active_packets_recv = 6; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_from_active_packets_recv()); - } - - // optional uint32 gap_ms = 8; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gap_ms()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramClientSwitchedPrimary::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramClientSwitchedPrimary::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramClientSwitchedPrimary::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramClientSwitchedPrimary::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramClientSwitchedPrimary) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_from_dropped_reason(from._internal_from_dropped_reason()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_from_quality_now()->::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::MergeFrom( - from._internal_from_quality_now()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_to_quality_now()->::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::MergeFrom( - from._internal_to_quality_now()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_from_quality_then()->::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::MergeFrom( - from._internal_from_quality_then()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_mutable_to_quality_then()->::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::MergeFrom( - from._internal_to_quality_then()); - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.connection_id_ = from._impl_.connection_id_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.from_ip_ = from._impl_.from_ip_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.from_port_ = from._impl_.from_port_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.from_router_cluster_ = from._impl_.from_router_cluster_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.from_active_time_ = from._impl_.from_active_time_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.from_active_packets_recv_ = from._impl_.from_active_packets_recv_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.gap_ms_ = from._impl_.gap_ms_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramClientSwitchedPrimary::CopyFrom(const CMsgSteamDatagramClientSwitchedPrimary& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramClientSwitchedPrimary) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramClientSwitchedPrimary::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramClientSwitchedPrimary::InternalSwap(CMsgSteamDatagramClientSwitchedPrimary* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.from_dropped_reason_, lhs_arena, - &other->_impl_.from_dropped_reason_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientSwitchedPrimary, _impl_.gap_ms_) - + sizeof(CMsgSteamDatagramClientSwitchedPrimary::_impl_.gap_ms_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramClientSwitchedPrimary, _impl_.from_quality_now_)>( - reinterpret_cast(&_impl_.from_quality_now_), - reinterpret_cast(&other->_impl_.from_quality_now_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramClientSwitchedPrimary::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[17]); -} - -// =================================================================== - -class CMsgSteamDatagramConnectRequest::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_my_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_ping_est_ms(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_virtual_port(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_gameserver_relay_session_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt(const CMsgSteamDatagramConnectRequest* msg); - static void set_has_crypt(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamDatagramConnectRequest* msg); - static void set_has_cert(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_routing_secret(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_legacy_client_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -const ::CMsgSteamDatagramSessionCryptInfoSigned& -CMsgSteamDatagramConnectRequest::_Internal::crypt(const CMsgSteamDatagramConnectRequest* msg) { - return *msg->_impl_.crypt_; -} -const ::CMsgSteamDatagramCertificateSigned& -CMsgSteamDatagramConnectRequest::_Internal::cert(const CMsgSteamDatagramConnectRequest* msg) { - return *msg->_impl_.cert_; -} -void CMsgSteamDatagramConnectRequest::clear_crypt() { - if (_impl_.crypt_ != nullptr) _impl_.crypt_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgSteamDatagramConnectRequest::clear_cert() { - if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CMsgSteamDatagramConnectRequest::CMsgSteamDatagramConnectRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramConnectRequest) -} -CMsgSteamDatagramConnectRequest::CMsgSteamDatagramConnectRequest(const CMsgSteamDatagramConnectRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramConnectRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.crypt_){nullptr} - , decltype(_impl_.cert_){nullptr} - , decltype(_impl_.connection_id_){} - , decltype(_impl_.gameserver_relay_session_id_){} - , decltype(_impl_.legacy_client_steam_id_){} - , decltype(_impl_.my_timestamp_){} - , decltype(_impl_.ping_est_ms_){} - , decltype(_impl_.virtual_port_){} - , decltype(_impl_.routing_secret_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_crypt()) { - _this->_impl_.crypt_ = new ::CMsgSteamDatagramSessionCryptInfoSigned(*from._impl_.crypt_); - } - if (from._internal_has_cert()) { - _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); - } - ::memcpy(&_impl_.connection_id_, &from._impl_.connection_id_, - static_cast(reinterpret_cast(&_impl_.routing_secret_) - - reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.routing_secret_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectRequest) -} - -inline void CMsgSteamDatagramConnectRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.crypt_){nullptr} - , decltype(_impl_.cert_){nullptr} - , decltype(_impl_.connection_id_){0u} - , decltype(_impl_.gameserver_relay_session_id_){0u} - , decltype(_impl_.legacy_client_steam_id_){uint64_t{0u}} - , decltype(_impl_.my_timestamp_){uint64_t{0u}} - , decltype(_impl_.ping_est_ms_){0u} - , decltype(_impl_.virtual_port_){0u} - , decltype(_impl_.routing_secret_){uint64_t{0u}} - }; -} - -CMsgSteamDatagramConnectRequest::~CMsgSteamDatagramConnectRequest() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramConnectRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.crypt_; - if (this != internal_default_instance()) delete _impl_.cert_; -} - -void CMsgSteamDatagramConnectRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramConnectRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.crypt_ != nullptr); - _impl_.crypt_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.cert_ != nullptr); - _impl_.cert_->Clear(); - } - } - if (cached_has_bits & 0x000000fcu) { - ::memset(&_impl_.connection_id_, 0, static_cast( - reinterpret_cast(&_impl_.virtual_port_) - - reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.virtual_port_)); - } - _impl_.routing_secret_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramConnectRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 connection_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_connection_id(&has_bits); - _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 gameserver_relay_session_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_gameserver_relay_session_id(&has_bits); - _impl_.gameserver_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 legacy_client_steam_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_legacy_client_steam_id(&has_bits); - _impl_.legacy_client_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional fixed64 my_timestamp = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { - _Internal::set_has_my_timestamp(&has_bits); - _impl_.my_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 ping_est_ms = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_ping_est_ms(&has_bits); - _impl_.ping_est_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_crypt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramCertificateSigned cert = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 virtual_port = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_virtual_port(&has_bits); - _impl_.virtual_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 routing_secret = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 81)) { - _Internal::set_has_routing_secret(&has_bits); - _impl_.routing_secret_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramConnectRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 connection_id = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_connection_id(), target); - } - - // optional uint32 gameserver_relay_session_id = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_gameserver_relay_session_id(), target); - } - - // optional fixed64 legacy_client_steam_id = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_legacy_client_steam_id(), target); - } - - // optional fixed64 my_timestamp = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_my_timestamp(), target); - } - - // optional uint32 ping_est_ms = 5; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_ping_est_ms(), target); - } - - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::crypt(this), - _Internal::crypt(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramCertificateSigned cert = 7; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::cert(this), - _Internal::cert(this).GetCachedSize(), target, stream); - } - - // optional uint32 virtual_port = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_virtual_port(), target); - } - - // optional fixed64 routing_secret = 10; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(10, this->_internal_routing_secret(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramConnectRequest) - return target; -} - -size_t CMsgSteamDatagramConnectRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.crypt_); - } - - // optional .CMsgSteamDatagramCertificateSigned cert = 7; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cert_); - } - - // optional fixed32 connection_id = 1; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional uint32 gameserver_relay_session_id = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gameserver_relay_session_id()); - } - - // optional fixed64 legacy_client_steam_id = 3; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 8; - } - - // optional fixed64 my_timestamp = 4; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 8; - } - - // optional uint32 ping_est_ms = 5; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ping_est_ms()); - } - - // optional uint32 virtual_port = 9; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_virtual_port()); - } - - } - // optional fixed64 routing_secret = 10; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 8; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramConnectRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectRequest::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramConnectRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramConnectRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_crypt()->::CMsgSteamDatagramSessionCryptInfoSigned::MergeFrom( - from._internal_crypt()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( - from._internal_cert()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.connection_id_ = from._impl_.connection_id_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.gameserver_relay_session_id_ = from._impl_.gameserver_relay_session_id_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.legacy_client_steam_id_ = from._impl_.legacy_client_steam_id_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.my_timestamp_ = from._impl_.my_timestamp_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.ping_est_ms_ = from._impl_.ping_est_ms_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.virtual_port_ = from._impl_.virtual_port_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_routing_secret(from._internal_routing_secret()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramConnectRequest::CopyFrom(const CMsgSteamDatagramConnectRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramConnectRequest::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramConnectRequest::InternalSwap(CMsgSteamDatagramConnectRequest* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectRequest, _impl_.routing_secret_) - + sizeof(CMsgSteamDatagramConnectRequest::_impl_.routing_secret_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectRequest, _impl_.crypt_)>( - reinterpret_cast(&_impl_.crypt_), - reinterpret_cast(&other->_impl_.crypt_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[18]); -} - -// =================================================================== - -class CMsgSteamDatagramConnectOK::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_client_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_server_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_your_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_delay_time_usec(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_gameserver_relay_session_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt(const CMsgSteamDatagramConnectOK* msg); - static void set_has_crypt(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamDatagramConnectOK* msg); - static void set_has_cert(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgSteamDatagramSessionCryptInfoSigned& -CMsgSteamDatagramConnectOK::_Internal::crypt(const CMsgSteamDatagramConnectOK* msg) { - return *msg->_impl_.crypt_; -} -const ::CMsgSteamDatagramCertificateSigned& -CMsgSteamDatagramConnectOK::_Internal::cert(const CMsgSteamDatagramConnectOK* msg) { - return *msg->_impl_.cert_; -} -void CMsgSteamDatagramConnectOK::clear_crypt() { - if (_impl_.crypt_ != nullptr) _impl_.crypt_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgSteamDatagramConnectOK::clear_cert() { - if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CMsgSteamDatagramConnectOK::CMsgSteamDatagramConnectOK(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramConnectOK) -} -CMsgSteamDatagramConnectOK::CMsgSteamDatagramConnectOK(const CMsgSteamDatagramConnectOK& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramConnectOK* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.crypt_){nullptr} - , decltype(_impl_.cert_){nullptr} - , decltype(_impl_.client_connection_id_){} - , decltype(_impl_.gameserver_relay_session_id_){} - , decltype(_impl_.your_timestamp_){} - , decltype(_impl_.delay_time_usec_){} - , decltype(_impl_.server_connection_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_crypt()) { - _this->_impl_.crypt_ = new ::CMsgSteamDatagramSessionCryptInfoSigned(*from._impl_.crypt_); - } - if (from._internal_has_cert()) { - _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); - } - ::memcpy(&_impl_.client_connection_id_, &from._impl_.client_connection_id_, - static_cast(reinterpret_cast(&_impl_.server_connection_id_) - - reinterpret_cast(&_impl_.client_connection_id_)) + sizeof(_impl_.server_connection_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectOK) -} - -inline void CMsgSteamDatagramConnectOK::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.crypt_){nullptr} - , decltype(_impl_.cert_){nullptr} - , decltype(_impl_.client_connection_id_){0u} - , decltype(_impl_.gameserver_relay_session_id_){0u} - , decltype(_impl_.your_timestamp_){uint64_t{0u}} - , decltype(_impl_.delay_time_usec_){0u} - , decltype(_impl_.server_connection_id_){0u} - }; -} - -CMsgSteamDatagramConnectOK::~CMsgSteamDatagramConnectOK() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectOK) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramConnectOK::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.crypt_; - if (this != internal_default_instance()) delete _impl_.cert_; -} - -void CMsgSteamDatagramConnectOK::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramConnectOK::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectOK) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.crypt_ != nullptr); - _impl_.crypt_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.cert_ != nullptr); - _impl_.cert_->Clear(); - } - } - if (cached_has_bits & 0x0000007cu) { - ::memset(&_impl_.client_connection_id_, 0, static_cast( - reinterpret_cast(&_impl_.server_connection_id_) - - reinterpret_cast(&_impl_.client_connection_id_)) + sizeof(_impl_.server_connection_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramConnectOK::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 client_connection_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_client_connection_id(&has_bits); - _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 gameserver_relay_session_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_gameserver_relay_session_id(&has_bits); - _impl_.gameserver_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 your_timestamp = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_your_timestamp(&has_bits); - _impl_.your_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 delay_time_usec = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_delay_time_usec(&has_bits); - _impl_.delay_time_usec_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_crypt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramCertificateSigned cert = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 server_connection_id = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_server_connection_id(&has_bits); - _impl_.server_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramConnectOK::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectOK) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 client_connection_id = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_client_connection_id(), target); - } - - // optional uint32 gameserver_relay_session_id = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_gameserver_relay_session_id(), target); - } - - // optional fixed64 your_timestamp = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_your_timestamp(), target); - } - - // optional uint32 delay_time_usec = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_delay_time_usec(), target); - } - - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::crypt(this), - _Internal::crypt(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramCertificateSigned cert = 6; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::cert(this), - _Internal::cert(this).GetCachedSize(), target, stream); - } - - // optional fixed32 server_connection_id = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_server_connection_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramConnectOK) - return target; -} - -size_t CMsgSteamDatagramConnectOK::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectOK) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.crypt_); - } - - // optional .CMsgSteamDatagramCertificateSigned cert = 6; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cert_); - } - - // optional fixed32 client_connection_id = 1; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional uint32 gameserver_relay_session_id = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gameserver_relay_session_id()); - } - - // optional fixed64 your_timestamp = 3; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 8; - } - - // optional uint32 delay_time_usec = 4; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_delay_time_usec()); - } - - // optional fixed32 server_connection_id = 7; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectOK::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramConnectOK::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectOK::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramConnectOK::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramConnectOK) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_crypt()->::CMsgSteamDatagramSessionCryptInfoSigned::MergeFrom( - from._internal_crypt()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( - from._internal_cert()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.gameserver_relay_session_id_ = from._impl_.gameserver_relay_session_id_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.your_timestamp_ = from._impl_.your_timestamp_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.delay_time_usec_ = from._impl_.delay_time_usec_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.server_connection_id_ = from._impl_.server_connection_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramConnectOK::CopyFrom(const CMsgSteamDatagramConnectOK& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectOK) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramConnectOK::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramConnectOK::InternalSwap(CMsgSteamDatagramConnectOK* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectOK, _impl_.server_connection_id_) - + sizeof(CMsgSteamDatagramConnectOK::_impl_.server_connection_id_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectOK, _impl_.crypt_)>( - reinterpret_cast(&_impl_.crypt_), - reinterpret_cast(&other->_impl_.crypt_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectOK::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[19]); -} - -// =================================================================== - -class CMsgSteamNetworkingP2PSDRRoutingSummary::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_initial_ping(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_initial_ping_front_local(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_initial_ping_front_remote(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_initial_score(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_initial_pop_local(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_initial_pop_remote(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_best_ping(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_best_ping_front_local(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_best_ping_front_remote(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_best_score(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_best_pop_local(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_best_pop_remote(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_best_time(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_negotiation_ms(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_selected_seconds(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } -}; - -CMsgSteamNetworkingP2PSDRRoutingSummary::CMsgSteamNetworkingP2PSDRRoutingSummary(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamNetworkingP2PSDRRoutingSummary) -} -CMsgSteamNetworkingP2PSDRRoutingSummary::CMsgSteamNetworkingP2PSDRRoutingSummary(const CMsgSteamNetworkingP2PSDRRoutingSummary& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamNetworkingP2PSDRRoutingSummary* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.initial_ping_){} - , decltype(_impl_.initial_ping_front_local_){} - , decltype(_impl_.initial_ping_front_remote_){} - , decltype(_impl_.initial_score_){} - , decltype(_impl_.initial_pop_local_){} - , decltype(_impl_.initial_pop_remote_){} - , decltype(_impl_.negotiation_ms_){} - , decltype(_impl_.selected_seconds_){} - , decltype(_impl_.best_ping_){} - , decltype(_impl_.best_ping_front_local_){} - , decltype(_impl_.best_ping_front_remote_){} - , decltype(_impl_.best_score_){} - , decltype(_impl_.best_pop_local_){} - , decltype(_impl_.best_pop_remote_){} - , decltype(_impl_.best_time_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.initial_ping_, &from._impl_.initial_ping_, - static_cast(reinterpret_cast(&_impl_.best_time_) - - reinterpret_cast(&_impl_.initial_ping_)) + sizeof(_impl_.best_time_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingP2PSDRRoutingSummary) -} - -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.initial_ping_){0u} - , decltype(_impl_.initial_ping_front_local_){0u} - , decltype(_impl_.initial_ping_front_remote_){0u} - , decltype(_impl_.initial_score_){0u} - , decltype(_impl_.initial_pop_local_){0u} - , decltype(_impl_.initial_pop_remote_){0u} - , decltype(_impl_.negotiation_ms_){0u} - , decltype(_impl_.selected_seconds_){0u} - , decltype(_impl_.best_ping_){0u} - , decltype(_impl_.best_ping_front_local_){0u} - , decltype(_impl_.best_ping_front_remote_){0u} - , decltype(_impl_.best_score_){0u} - , decltype(_impl_.best_pop_local_){0u} - , decltype(_impl_.best_pop_remote_){0u} - , decltype(_impl_.best_time_){0u} - }; -} - -CMsgSteamNetworkingP2PSDRRoutingSummary::~CMsgSteamNetworkingP2PSDRRoutingSummary() { - // @@protoc_insertion_point(destructor:CMsgSteamNetworkingP2PSDRRoutingSummary) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSteamNetworkingP2PSDRRoutingSummary::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamNetworkingP2PSDRRoutingSummary::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingP2PSDRRoutingSummary) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.initial_ping_, 0, static_cast( - reinterpret_cast(&_impl_.selected_seconds_) - - reinterpret_cast(&_impl_.initial_ping_)) + sizeof(_impl_.selected_seconds_)); - } - if (cached_has_bits & 0x00007f00u) { - ::memset(&_impl_.best_ping_, 0, static_cast( - reinterpret_cast(&_impl_.best_time_) - - reinterpret_cast(&_impl_.best_ping_)) + sizeof(_impl_.best_time_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamNetworkingP2PSDRRoutingSummary::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 initial_ping = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_initial_ping(&has_bits); - _impl_.initial_ping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 initial_ping_front_local = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_initial_ping_front_local(&has_bits); - _impl_.initial_ping_front_local_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 initial_ping_front_remote = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_initial_ping_front_remote(&has_bits); - _impl_.initial_ping_front_remote_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 initial_score = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_initial_score(&has_bits); - _impl_.initial_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 initial_pop_local = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_initial_pop_local(&has_bits); - _impl_.initial_pop_local_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 initial_pop_remote = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - _Internal::set_has_initial_pop_remote(&has_bits); - _impl_.initial_pop_remote_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 negotiation_ms = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_negotiation_ms(&has_bits); - _impl_.negotiation_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 selected_seconds = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_selected_seconds(&has_bits); - _impl_.selected_seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 best_ping = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_best_ping(&has_bits); - _impl_.best_ping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 best_ping_front_local = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_best_ping_front_local(&has_bits); - _impl_.best_ping_front_local_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 best_ping_front_remote = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_best_ping_front_remote(&has_bits); - _impl_.best_ping_front_remote_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 best_score = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_best_score(&has_bits); - _impl_.best_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 best_pop_local = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 125)) { - _Internal::set_has_best_pop_local(&has_bits); - _impl_.best_pop_local_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 best_pop_remote = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 133)) { - _Internal::set_has_best_pop_remote(&has_bits); - _impl_.best_pop_remote_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 best_time = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_best_time(&has_bits); - _impl_.best_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamNetworkingP2PSDRRoutingSummary::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingP2PSDRRoutingSummary) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 initial_ping = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_initial_ping(), target); - } - - // optional uint32 initial_ping_front_local = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_initial_ping_front_local(), target); - } - - // optional uint32 initial_ping_front_remote = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_initial_ping_front_remote(), target); - } - - // optional uint32 initial_score = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_initial_score(), target); - } - - // optional fixed32 initial_pop_local = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_initial_pop_local(), target); - } - - // optional fixed32 initial_pop_remote = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_initial_pop_remote(), target); - } - - // optional uint32 negotiation_ms = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_negotiation_ms(), target); - } - - // optional uint32 selected_seconds = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_selected_seconds(), target); - } - - // optional uint32 best_ping = 11; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_best_ping(), target); - } - - // optional uint32 best_ping_front_local = 12; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_best_ping_front_local(), target); - } - - // optional uint32 best_ping_front_remote = 13; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_best_ping_front_remote(), target); - } - - // optional uint32 best_score = 14; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_best_score(), target); - } - - // optional fixed32 best_pop_local = 15; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(15, this->_internal_best_pop_local(), target); - } - - // optional fixed32 best_pop_remote = 16; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(16, this->_internal_best_pop_remote(), target); - } - - // optional uint32 best_time = 17; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_best_time(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamNetworkingP2PSDRRoutingSummary) - return target; -} - -size_t CMsgSteamNetworkingP2PSDRRoutingSummary::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingP2PSDRRoutingSummary) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional uint32 initial_ping = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_initial_ping()); - } - - // optional uint32 initial_ping_front_local = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_initial_ping_front_local()); - } - - // optional uint32 initial_ping_front_remote = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_initial_ping_front_remote()); - } - - // optional uint32 initial_score = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_initial_score()); - } - - // optional fixed32 initial_pop_local = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional fixed32 initial_pop_remote = 6; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional uint32 negotiation_ms = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_negotiation_ms()); - } - - // optional uint32 selected_seconds = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_selected_seconds()); - } - - } - if (cached_has_bits & 0x00007f00u) { - // optional uint32 best_ping = 11; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_best_ping()); - } - - // optional uint32 best_ping_front_local = 12; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_best_ping_front_local()); - } - - // optional uint32 best_ping_front_remote = 13; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_best_ping_front_remote()); - } - - // optional uint32 best_score = 14; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_best_score()); - } - - // optional fixed32 best_pop_local = 15; - if (cached_has_bits & 0x00001000u) { - total_size += 1 + 4; - } - - // optional fixed32 best_pop_remote = 16; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + 4; - } - - // optional uint32 best_time = 17; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_best_time()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingP2PSDRRoutingSummary::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamNetworkingP2PSDRRoutingSummary::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingP2PSDRRoutingSummary::GetClassData() const { return &_class_data_; } - - -void CMsgSteamNetworkingP2PSDRRoutingSummary::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamNetworkingP2PSDRRoutingSummary) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.initial_ping_ = from._impl_.initial_ping_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.initial_ping_front_local_ = from._impl_.initial_ping_front_local_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.initial_ping_front_remote_ = from._impl_.initial_ping_front_remote_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.initial_score_ = from._impl_.initial_score_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.initial_pop_local_ = from._impl_.initial_pop_local_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.initial_pop_remote_ = from._impl_.initial_pop_remote_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.negotiation_ms_ = from._impl_.negotiation_ms_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.selected_seconds_ = from._impl_.selected_seconds_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00007f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.best_ping_ = from._impl_.best_ping_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.best_ping_front_local_ = from._impl_.best_ping_front_local_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.best_ping_front_remote_ = from._impl_.best_ping_front_remote_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.best_score_ = from._impl_.best_score_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.best_pop_local_ = from._impl_.best_pop_local_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.best_pop_remote_ = from._impl_.best_pop_remote_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.best_time_ = from._impl_.best_time_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamNetworkingP2PSDRRoutingSummary::CopyFrom(const CMsgSteamNetworkingP2PSDRRoutingSummary& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingP2PSDRRoutingSummary) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamNetworkingP2PSDRRoutingSummary::IsInitialized() const { - return true; -} - -void CMsgSteamNetworkingP2PSDRRoutingSummary::InternalSwap(CMsgSteamNetworkingP2PSDRRoutingSummary* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.best_time_) - + sizeof(CMsgSteamNetworkingP2PSDRRoutingSummary::_impl_.best_time_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PSDRRoutingSummary, _impl_.initial_ping_)>( - reinterpret_cast(&_impl_.initial_ping_), - reinterpret_cast(&other->_impl_.initial_ping_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingP2PSDRRoutingSummary::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[20]); -} - -// =================================================================== - -class CMsgSteamDatagramP2PRoutingSummary::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSteamNetworkingICESessionSummary& ice(const CMsgSteamDatagramP2PRoutingSummary* msg); - static void set_has_ice(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgSteamNetworkingP2PSDRRoutingSummary& sdr(const CMsgSteamDatagramP2PRoutingSummary* msg); - static void set_has_sdr(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgSteamNetworkingICESessionSummary& -CMsgSteamDatagramP2PRoutingSummary::_Internal::ice(const CMsgSteamDatagramP2PRoutingSummary* msg) { - return *msg->_impl_.ice_; -} -const ::CMsgSteamNetworkingP2PSDRRoutingSummary& -CMsgSteamDatagramP2PRoutingSummary::_Internal::sdr(const CMsgSteamDatagramP2PRoutingSummary* msg) { - return *msg->_impl_.sdr_; -} -void CMsgSteamDatagramP2PRoutingSummary::clear_ice() { - if (_impl_.ice_ != nullptr) _impl_.ice_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CMsgSteamDatagramP2PRoutingSummary::CMsgSteamDatagramP2PRoutingSummary(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramP2PRoutingSummary) -} -CMsgSteamDatagramP2PRoutingSummary::CMsgSteamDatagramP2PRoutingSummary(const CMsgSteamDatagramP2PRoutingSummary& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramP2PRoutingSummary* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ice_){nullptr} - , decltype(_impl_.sdr_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_ice()) { - _this->_impl_.ice_ = new ::CMsgSteamNetworkingICESessionSummary(*from._impl_.ice_); - } - if (from._internal_has_sdr()) { - _this->_impl_.sdr_ = new ::CMsgSteamNetworkingP2PSDRRoutingSummary(*from._impl_.sdr_); - } - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramP2PRoutingSummary) -} - -inline void CMsgSteamDatagramP2PRoutingSummary::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ice_){nullptr} - , decltype(_impl_.sdr_){nullptr} - }; -} - -CMsgSteamDatagramP2PRoutingSummary::~CMsgSteamDatagramP2PRoutingSummary() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramP2PRoutingSummary) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramP2PRoutingSummary::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.ice_; - if (this != internal_default_instance()) delete _impl_.sdr_; -} - -void CMsgSteamDatagramP2PRoutingSummary::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramP2PRoutingSummary::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramP2PRoutingSummary) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.ice_ != nullptr); - _impl_.ice_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.sdr_ != nullptr); - _impl_.sdr_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramP2PRoutingSummary::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSteamNetworkingICESessionSummary ice = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_ice(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamNetworkingP2PSDRRoutingSummary sdr = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_sdr(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramP2PRoutingSummary::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramP2PRoutingSummary) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSteamNetworkingICESessionSummary ice = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::ice(this), - _Internal::ice(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamNetworkingP2PSDRRoutingSummary sdr = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::sdr(this), - _Internal::sdr(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramP2PRoutingSummary) - return target; -} - -size_t CMsgSteamDatagramP2PRoutingSummary::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramP2PRoutingSummary) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgSteamNetworkingICESessionSummary ice = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.ice_); - } - - // optional .CMsgSteamNetworkingP2PSDRRoutingSummary sdr = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.sdr_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramP2PRoutingSummary::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramP2PRoutingSummary::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramP2PRoutingSummary::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramP2PRoutingSummary::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramP2PRoutingSummary) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_ice()->::CMsgSteamNetworkingICESessionSummary::MergeFrom( - from._internal_ice()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_sdr()->::CMsgSteamNetworkingP2PSDRRoutingSummary::MergeFrom( - from._internal_sdr()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramP2PRoutingSummary::CopyFrom(const CMsgSteamDatagramP2PRoutingSummary& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramP2PRoutingSummary) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramP2PRoutingSummary::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramP2PRoutingSummary::InternalSwap(CMsgSteamDatagramP2PRoutingSummary* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PRoutingSummary, _impl_.sdr_) - + sizeof(CMsgSteamDatagramP2PRoutingSummary::_impl_.sdr_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PRoutingSummary, _impl_.ice_)>( - reinterpret_cast(&_impl_.ice_), - reinterpret_cast(&other->_impl_.ice_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramP2PRoutingSummary::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[21]); -} - -// =================================================================== - -class CMsgSteamDatagramConnectionClosed::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_to_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_from_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_from_identity_string(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgSteamNetworkingIdentityLegacyBinary& legacy_from_identity_binary(const CMsgSteamDatagramConnectionClosed* msg); - static void set_has_legacy_from_identity_binary(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_legacy_from_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_legacy_gameserver_relay_session_id(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_to_relay_session_id(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_from_relay_session_id(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_forward_target_relay_routing_token(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_forward_target_revision(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_relay_mode(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_debug(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_reason_code(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_routing_secret(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_not_primary_session(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } - static void set_has_not_primary_transport(HasBits* has_bits) { - (*has_bits)[0] |= 262144u; - } - static void set_has_relay_override_active(HasBits* has_bits) { - (*has_bits)[0] |= 524288u; - } - static const ::CMsgSteamDatagramConnectionQuality& quality_relay(const CMsgSteamDatagramConnectionClosed* msg); - static void set_has_quality_relay(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static const ::CMsgSteamDatagramConnectionQuality& quality_e2e(const CMsgSteamDatagramConnectionClosed* msg); - static void set_has_quality_e2e(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static const ::CMsgSteamDatagramP2PRoutingSummary& p2p_routing_summary(const CMsgSteamDatagramConnectionClosed* msg); - static void set_has_p2p_routing_summary(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } -}; - -const ::CMsgSteamNetworkingIdentityLegacyBinary& -CMsgSteamDatagramConnectionClosed::_Internal::legacy_from_identity_binary(const CMsgSteamDatagramConnectionClosed* msg) { - return *msg->_impl_.legacy_from_identity_binary_; -} -const ::CMsgSteamDatagramConnectionQuality& -CMsgSteamDatagramConnectionClosed::_Internal::quality_relay(const CMsgSteamDatagramConnectionClosed* msg) { - return *msg->_impl_.quality_relay_; -} -const ::CMsgSteamDatagramConnectionQuality& -CMsgSteamDatagramConnectionClosed::_Internal::quality_e2e(const CMsgSteamDatagramConnectionClosed* msg) { - return *msg->_impl_.quality_e2e_; -} -const ::CMsgSteamDatagramP2PRoutingSummary& -CMsgSteamDatagramConnectionClosed::_Internal::p2p_routing_summary(const CMsgSteamDatagramConnectionClosed* msg) { - return *msg->_impl_.p2p_routing_summary_; -} -void CMsgSteamDatagramConnectionClosed::clear_legacy_from_identity_binary() { - if (_impl_.legacy_from_identity_binary_ != nullptr) _impl_.legacy_from_identity_binary_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -void CMsgSteamDatagramConnectionClosed::clear_quality_relay() { - if (_impl_.quality_relay_ != nullptr) _impl_.quality_relay_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -void CMsgSteamDatagramConnectionClosed::clear_quality_e2e() { - if (_impl_.quality_e2e_ != nullptr) _impl_.quality_e2e_->Clear(); - _impl_._has_bits_[0] &= ~0x00000020u; -} -CMsgSteamDatagramConnectionClosed::CMsgSteamDatagramConnectionClosed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramConnectionClosed) -} -CMsgSteamDatagramConnectionClosed::CMsgSteamDatagramConnectionClosed(const CMsgSteamDatagramConnectionClosed& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramConnectionClosed* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.debug_){} - , decltype(_impl_.forward_target_relay_routing_token_){} - , decltype(_impl_.from_identity_string_){} - , decltype(_impl_.legacy_from_identity_binary_){nullptr} - , decltype(_impl_.quality_relay_){nullptr} - , decltype(_impl_.quality_e2e_){nullptr} - , decltype(_impl_.p2p_routing_summary_){nullptr} - , decltype(_impl_.legacy_from_steam_id_){} - , decltype(_impl_.legacy_gameserver_relay_session_id_){} - , decltype(_impl_.relay_mode_){} - , decltype(_impl_.reason_code_){} - , decltype(_impl_.to_connection_id_){} - , decltype(_impl_.from_connection_id_){} - , decltype(_impl_.to_relay_session_id_){} - , decltype(_impl_.from_relay_session_id_){} - , decltype(_impl_.forward_target_revision_){} - , decltype(_impl_.routing_secret_){} - , decltype(_impl_.not_primary_session_){} - , decltype(_impl_.not_primary_transport_){} - , decltype(_impl_.relay_override_active_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.debug_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.debug_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_debug()) { - _this->_impl_.debug_.Set(from._internal_debug(), - _this->GetArenaForAllocation()); - } - _impl_.forward_target_relay_routing_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.forward_target_relay_routing_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_forward_target_relay_routing_token()) { - _this->_impl_.forward_target_relay_routing_token_.Set(from._internal_forward_target_relay_routing_token(), - _this->GetArenaForAllocation()); - } - _impl_.from_identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.from_identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_from_identity_string()) { - _this->_impl_.from_identity_string_.Set(from._internal_from_identity_string(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_legacy_from_identity_binary()) { - _this->_impl_.legacy_from_identity_binary_ = new ::CMsgSteamNetworkingIdentityLegacyBinary(*from._impl_.legacy_from_identity_binary_); - } - if (from._internal_has_quality_relay()) { - _this->_impl_.quality_relay_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_relay_); - } - if (from._internal_has_quality_e2e()) { - _this->_impl_.quality_e2e_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_e2e_); - } - if (from._internal_has_p2p_routing_summary()) { - _this->_impl_.p2p_routing_summary_ = new ::CMsgSteamDatagramP2PRoutingSummary(*from._impl_.p2p_routing_summary_); - } - ::memcpy(&_impl_.legacy_from_steam_id_, &from._impl_.legacy_from_steam_id_, - static_cast(reinterpret_cast(&_impl_.relay_override_active_) - - reinterpret_cast(&_impl_.legacy_from_steam_id_)) + sizeof(_impl_.relay_override_active_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectionClosed) -} - -inline void CMsgSteamDatagramConnectionClosed::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.debug_){} - , decltype(_impl_.forward_target_relay_routing_token_){} - , decltype(_impl_.from_identity_string_){} - , decltype(_impl_.legacy_from_identity_binary_){nullptr} - , decltype(_impl_.quality_relay_){nullptr} - , decltype(_impl_.quality_e2e_){nullptr} - , decltype(_impl_.p2p_routing_summary_){nullptr} - , decltype(_impl_.legacy_from_steam_id_){uint64_t{0u}} - , decltype(_impl_.legacy_gameserver_relay_session_id_){0u} - , decltype(_impl_.relay_mode_){0} - , decltype(_impl_.reason_code_){0u} - , decltype(_impl_.to_connection_id_){0u} - , decltype(_impl_.from_connection_id_){0u} - , decltype(_impl_.to_relay_session_id_){0u} - , decltype(_impl_.from_relay_session_id_){0u} - , decltype(_impl_.forward_target_revision_){0u} - , decltype(_impl_.routing_secret_){uint64_t{0u}} - , decltype(_impl_.not_primary_session_){false} - , decltype(_impl_.not_primary_transport_){false} - , decltype(_impl_.relay_override_active_){false} - }; - _impl_.debug_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.debug_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.forward_target_relay_routing_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.forward_target_relay_routing_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.from_identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.from_identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramConnectionClosed::~CMsgSteamDatagramConnectionClosed() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectionClosed) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramConnectionClosed::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.debug_.Destroy(); - _impl_.forward_target_relay_routing_token_.Destroy(); - _impl_.from_identity_string_.Destroy(); - if (this != internal_default_instance()) delete _impl_.legacy_from_identity_binary_; - if (this != internal_default_instance()) delete _impl_.quality_relay_; - if (this != internal_default_instance()) delete _impl_.quality_e2e_; - if (this != internal_default_instance()) delete _impl_.p2p_routing_summary_; -} - -void CMsgSteamDatagramConnectionClosed::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramConnectionClosed::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectionClosed) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.debug_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.forward_target_relay_routing_token_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.from_identity_string_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.legacy_from_identity_binary_ != nullptr); - _impl_.legacy_from_identity_binary_->Clear(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(_impl_.quality_relay_ != nullptr); - _impl_.quality_relay_->Clear(); - } - if (cached_has_bits & 0x00000020u) { - GOOGLE_DCHECK(_impl_.quality_e2e_ != nullptr); - _impl_.quality_e2e_->Clear(); - } - if (cached_has_bits & 0x00000040u) { - GOOGLE_DCHECK(_impl_.p2p_routing_summary_ != nullptr); - _impl_.p2p_routing_summary_->Clear(); - } - } - _impl_.legacy_from_steam_id_ = uint64_t{0u}; - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.legacy_gameserver_relay_session_id_, 0, static_cast( - reinterpret_cast(&_impl_.forward_target_revision_) - - reinterpret_cast(&_impl_.legacy_gameserver_relay_session_id_)) + sizeof(_impl_.forward_target_revision_)); - } - if (cached_has_bits & 0x000f0000u) { - ::memset(&_impl_.routing_secret_, 0, static_cast( - reinterpret_cast(&_impl_.relay_override_active_) - - reinterpret_cast(&_impl_.routing_secret_)) + sizeof(_impl_.relay_override_active_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramConnectionClosed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 legacy_gameserver_relay_session_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_legacy_gameserver_relay_session_id(&has_bits); - _impl_.legacy_gameserver_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 legacy_from_steam_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_legacy_from_steam_id(&has_bits); - _impl_.legacy_from_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramConnectionClosed.ERelayMode relay_mode = 4 [default = None]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::CMsgSteamDatagramConnectionClosed_ERelayMode_IsValid(val))) { - _internal_set_relay_mode(static_cast<::CMsgSteamDatagramConnectionClosed_ERelayMode>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(4, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional string debug = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_debug(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramConnectionClosed.debug"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 reason_code = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_reason_code(&has_bits); - _impl_.reason_code_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 to_connection_id = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_to_connection_id(&has_bits); - _impl_.to_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 from_connection_id = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { - _Internal::set_has_from_connection_id(&has_bits); - _impl_.from_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 to_relay_session_id = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_to_relay_session_id(&has_bits); - _impl_.to_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 from_relay_session_id = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { - _Internal::set_has_from_relay_session_id(&has_bits); - _impl_.from_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional bytes forward_target_relay_routing_token = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_forward_target_relay_routing_token(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 forward_target_revision = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_forward_target_revision(&has_bits); - _impl_.forward_target_revision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_from_identity_binary = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr = ctx->ParseMessage(_internal_mutable_legacy_from_identity_binary(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 routing_secret = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 113)) { - _Internal::set_has_routing_secret(&has_bits); - _impl_.routing_secret_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional string from_identity_string = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - auto str = _internal_mutable_from_identity_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramConnectionClosed.from_identity_string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool not_primary_session = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_not_primary_session(&has_bits); - _impl_.not_primary_session_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { - ptr = ctx->ParseMessage(_internal_mutable_quality_relay(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { - ptr = ctx->ParseMessage(_internal_mutable_quality_e2e(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool not_primary_transport = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_not_primary_transport(&has_bits); - _impl_.not_primary_transport_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 170)) { - ptr = ctx->ParseMessage(_internal_mutable_p2p_routing_summary(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool relay_override_active = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { - _Internal::set_has_relay_override_active(&has_bits); - _impl_.relay_override_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramConnectionClosed::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectionClosed) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 legacy_gameserver_relay_session_id = 2; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_legacy_gameserver_relay_session_id(), target); - } - - // optional fixed64 legacy_from_steam_id = 3; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_legacy_from_steam_id(), target); - } - - // optional .CMsgSteamDatagramConnectionClosed.ERelayMode relay_mode = 4 [default = None]; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 4, this->_internal_relay_mode(), target); - } - - // optional string debug = 5; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_debug().data(), static_cast(this->_internal_debug().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramConnectionClosed.debug"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_debug(), target); - } - - // optional uint32 reason_code = 6; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_reason_code(), target); - } - - // optional fixed32 to_connection_id = 7; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_to_connection_id(), target); - } - - // optional fixed32 from_connection_id = 8; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(8, this->_internal_from_connection_id(), target); - } - - // optional fixed32 to_relay_session_id = 9; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(9, this->_internal_to_relay_session_id(), target); - } - - // optional fixed32 from_relay_session_id = 10; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(10, this->_internal_from_relay_session_id(), target); - } - - // optional bytes forward_target_relay_routing_token = 11; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 11, this->_internal_forward_target_relay_routing_token(), target); - } - - // optional uint32 forward_target_revision = 12; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_forward_target_revision(), target); - } - - // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_from_identity_binary = 13; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, _Internal::legacy_from_identity_binary(this), - _Internal::legacy_from_identity_binary(this).GetCachedSize(), target, stream); - } - - // optional fixed64 routing_secret = 14; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(14, this->_internal_routing_secret(), target); - } - - // optional string from_identity_string = 15; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_from_identity_string().data(), static_cast(this->_internal_from_identity_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramConnectionClosed.from_identity_string"); - target = stream->WriteStringMaybeAliased( - 15, this->_internal_from_identity_string(), target); - } - - // optional bool not_primary_session = 16; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(16, this->_internal_not_primary_session(), target); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 17; - if (cached_has_bits & 0x00000010u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(17, _Internal::quality_relay(this), - _Internal::quality_relay(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 18; - if (cached_has_bits & 0x00000020u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(18, _Internal::quality_e2e(this), - _Internal::quality_e2e(this).GetCachedSize(), target, stream); - } - - // optional bool not_primary_transport = 19; - if (cached_has_bits & 0x00040000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(19, this->_internal_not_primary_transport(), target); - } - - // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 21; - if (cached_has_bits & 0x00000040u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(21, _Internal::p2p_routing_summary(this), - _Internal::p2p_routing_summary(this).GetCachedSize(), target, stream); - } - - // optional bool relay_override_active = 22; - if (cached_has_bits & 0x00080000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(22, this->_internal_relay_override_active(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramConnectionClosed) - return target; -} - -size_t CMsgSteamDatagramConnectionClosed::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectionClosed) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string debug = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_debug()); - } - - // optional bytes forward_target_relay_routing_token = 11; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_forward_target_relay_routing_token()); - } - - // optional string from_identity_string = 15; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_from_identity_string()); - } - - // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_from_identity_binary = 13; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.legacy_from_identity_binary_); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 17; - if (cached_has_bits & 0x00000010u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.quality_relay_); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 18; - if (cached_has_bits & 0x00000020u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.quality_e2e_); - } - - // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 21; - if (cached_has_bits & 0x00000040u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.p2p_routing_summary_); - } - - // optional fixed64 legacy_from_steam_id = 3; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 8; - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional uint32 legacy_gameserver_relay_session_id = 2; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_legacy_gameserver_relay_session_id()); - } - - // optional .CMsgSteamDatagramConnectionClosed.ERelayMode relay_mode = 4 [default = None]; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_relay_mode()); - } - - // optional uint32 reason_code = 6; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reason_code()); - } - - // optional fixed32 to_connection_id = 7; - if (cached_has_bits & 0x00000800u) { - total_size += 1 + 4; - } - - // optional fixed32 from_connection_id = 8; - if (cached_has_bits & 0x00001000u) { - total_size += 1 + 4; - } - - // optional fixed32 to_relay_session_id = 9; - if (cached_has_bits & 0x00002000u) { - total_size += 1 + 4; - } - - // optional fixed32 from_relay_session_id = 10; - if (cached_has_bits & 0x00004000u) { - total_size += 1 + 4; - } - - // optional uint32 forward_target_revision = 12; - if (cached_has_bits & 0x00008000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_forward_target_revision()); - } - - } - if (cached_has_bits & 0x000f0000u) { - // optional fixed64 routing_secret = 14; - if (cached_has_bits & 0x00010000u) { - total_size += 1 + 8; - } - - // optional bool not_primary_session = 16; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + 1; - } - - // optional bool not_primary_transport = 19; - if (cached_has_bits & 0x00040000u) { - total_size += 2 + 1; - } - - // optional bool relay_override_active = 22; - if (cached_has_bits & 0x00080000u) { - total_size += 2 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectionClosed::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramConnectionClosed::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectionClosed::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramConnectionClosed::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramConnectionClosed) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_debug(from._internal_debug()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_forward_target_relay_routing_token(from._internal_forward_target_relay_routing_token()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_from_identity_string(from._internal_from_identity_string()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_legacy_from_identity_binary()->::CMsgSteamNetworkingIdentityLegacyBinary::MergeFrom( - from._internal_legacy_from_identity_binary()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_mutable_quality_relay()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_quality_relay()); - } - if (cached_has_bits & 0x00000020u) { - _this->_internal_mutable_quality_e2e()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_quality_e2e()); - } - if (cached_has_bits & 0x00000040u) { - _this->_internal_mutable_p2p_routing_summary()->::CMsgSteamDatagramP2PRoutingSummary::MergeFrom( - from._internal_p2p_routing_summary()); - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.legacy_from_steam_id_ = from._impl_.legacy_from_steam_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.legacy_gameserver_relay_session_id_ = from._impl_.legacy_gameserver_relay_session_id_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.relay_mode_ = from._impl_.relay_mode_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.reason_code_ = from._impl_.reason_code_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.to_connection_id_ = from._impl_.to_connection_id_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.from_connection_id_ = from._impl_.from_connection_id_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.to_relay_session_id_ = from._impl_.to_relay_session_id_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.from_relay_session_id_ = from._impl_.from_relay_session_id_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.forward_target_revision_ = from._impl_.forward_target_revision_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x000f0000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.routing_secret_ = from._impl_.routing_secret_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.not_primary_session_ = from._impl_.not_primary_session_; - } - if (cached_has_bits & 0x00040000u) { - _this->_impl_.not_primary_transport_ = from._impl_.not_primary_transport_; - } - if (cached_has_bits & 0x00080000u) { - _this->_impl_.relay_override_active_ = from._impl_.relay_override_active_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramConnectionClosed::CopyFrom(const CMsgSteamDatagramConnectionClosed& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectionClosed) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramConnectionClosed::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramConnectionClosed::InternalSwap(CMsgSteamDatagramConnectionClosed* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.debug_, lhs_arena, - &other->_impl_.debug_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.forward_target_relay_routing_token_, lhs_arena, - &other->_impl_.forward_target_relay_routing_token_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.from_identity_string_, lhs_arena, - &other->_impl_.from_identity_string_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionClosed, _impl_.relay_override_active_) - + sizeof(CMsgSteamDatagramConnectionClosed::_impl_.relay_override_active_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionClosed, _impl_.legacy_from_identity_binary_)>( - reinterpret_cast(&_impl_.legacy_from_identity_binary_), - reinterpret_cast(&other->_impl_.legacy_from_identity_binary_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectionClosed::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[22]); -} - -// =================================================================== - -class CMsgSteamDatagramNoConnection::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_to_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_from_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_legacy_gameserver_relay_session_id(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_to_relay_session_id(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_from_relay_session_id(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_from_identity_string(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_legacy_from_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_end_to_end(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_not_primary_session(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_not_primary_transport(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_relay_override_active(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static const ::CMsgSteamDatagramConnectionQuality& quality_relay(const CMsgSteamDatagramNoConnection* msg); - static void set_has_quality_relay(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgSteamDatagramConnectionQuality& quality_e2e(const CMsgSteamDatagramNoConnection* msg); - static void set_has_quality_e2e(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgSteamDatagramP2PRoutingSummary& p2p_routing_summary(const CMsgSteamDatagramNoConnection* msg); - static void set_has_p2p_routing_summary(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_routing_secret(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_dummy_pad(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } -}; - -const ::CMsgSteamDatagramConnectionQuality& -CMsgSteamDatagramNoConnection::_Internal::quality_relay(const CMsgSteamDatagramNoConnection* msg) { - return *msg->_impl_.quality_relay_; -} -const ::CMsgSteamDatagramConnectionQuality& -CMsgSteamDatagramNoConnection::_Internal::quality_e2e(const CMsgSteamDatagramNoConnection* msg) { - return *msg->_impl_.quality_e2e_; -} -const ::CMsgSteamDatagramP2PRoutingSummary& -CMsgSteamDatagramNoConnection::_Internal::p2p_routing_summary(const CMsgSteamDatagramNoConnection* msg) { - return *msg->_impl_.p2p_routing_summary_; -} -void CMsgSteamDatagramNoConnection::clear_quality_relay() { - if (_impl_.quality_relay_ != nullptr) _impl_.quality_relay_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CMsgSteamDatagramNoConnection::clear_quality_e2e() { - if (_impl_.quality_e2e_ != nullptr) _impl_.quality_e2e_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -CMsgSteamDatagramNoConnection::CMsgSteamDatagramNoConnection(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramNoConnection) -} -CMsgSteamDatagramNoConnection::CMsgSteamDatagramNoConnection(const CMsgSteamDatagramNoConnection& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramNoConnection* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.from_identity_string_){} - , decltype(_impl_.quality_relay_){nullptr} - , decltype(_impl_.quality_e2e_){nullptr} - , decltype(_impl_.p2p_routing_summary_){nullptr} - , decltype(_impl_.legacy_from_steam_id_){} - , decltype(_impl_.legacy_gameserver_relay_session_id_){} - , decltype(_impl_.to_connection_id_){} - , decltype(_impl_.from_connection_id_){} - , decltype(_impl_.to_relay_session_id_){} - , decltype(_impl_.routing_secret_){} - , decltype(_impl_.from_relay_session_id_){} - , decltype(_impl_.end_to_end_){} - , decltype(_impl_.not_primary_session_){} - , decltype(_impl_.not_primary_transport_){} - , decltype(_impl_.relay_override_active_){} - , decltype(_impl_.dummy_pad_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.from_identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.from_identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_from_identity_string()) { - _this->_impl_.from_identity_string_.Set(from._internal_from_identity_string(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_quality_relay()) { - _this->_impl_.quality_relay_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_relay_); - } - if (from._internal_has_quality_e2e()) { - _this->_impl_.quality_e2e_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_e2e_); - } - if (from._internal_has_p2p_routing_summary()) { - _this->_impl_.p2p_routing_summary_ = new ::CMsgSteamDatagramP2PRoutingSummary(*from._impl_.p2p_routing_summary_); - } - ::memcpy(&_impl_.legacy_from_steam_id_, &from._impl_.legacy_from_steam_id_, - static_cast(reinterpret_cast(&_impl_.dummy_pad_) - - reinterpret_cast(&_impl_.legacy_from_steam_id_)) + sizeof(_impl_.dummy_pad_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramNoConnection) -} - -inline void CMsgSteamDatagramNoConnection::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.from_identity_string_){} - , decltype(_impl_.quality_relay_){nullptr} - , decltype(_impl_.quality_e2e_){nullptr} - , decltype(_impl_.p2p_routing_summary_){nullptr} - , decltype(_impl_.legacy_from_steam_id_){uint64_t{0u}} - , decltype(_impl_.legacy_gameserver_relay_session_id_){0u} - , decltype(_impl_.to_connection_id_){0u} - , decltype(_impl_.from_connection_id_){0u} - , decltype(_impl_.to_relay_session_id_){0u} - , decltype(_impl_.routing_secret_){uint64_t{0u}} - , decltype(_impl_.from_relay_session_id_){0u} - , decltype(_impl_.end_to_end_){false} - , decltype(_impl_.not_primary_session_){false} - , decltype(_impl_.not_primary_transport_){false} - , decltype(_impl_.relay_override_active_){false} - , decltype(_impl_.dummy_pad_){0u} - }; - _impl_.from_identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.from_identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramNoConnection::~CMsgSteamDatagramNoConnection() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramNoConnection) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramNoConnection::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.from_identity_string_.Destroy(); - if (this != internal_default_instance()) delete _impl_.quality_relay_; - if (this != internal_default_instance()) delete _impl_.quality_e2e_; - if (this != internal_default_instance()) delete _impl_.p2p_routing_summary_; -} - -void CMsgSteamDatagramNoConnection::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramNoConnection::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramNoConnection) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.from_identity_string_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.quality_relay_ != nullptr); - _impl_.quality_relay_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.quality_e2e_ != nullptr); - _impl_.quality_e2e_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.p2p_routing_summary_ != nullptr); - _impl_.p2p_routing_summary_->Clear(); - } - } - if (cached_has_bits & 0x000000f0u) { - ::memset(&_impl_.legacy_from_steam_id_, 0, static_cast( - reinterpret_cast(&_impl_.from_connection_id_) - - reinterpret_cast(&_impl_.legacy_from_steam_id_)) + sizeof(_impl_.from_connection_id_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.to_relay_session_id_, 0, static_cast( - reinterpret_cast(&_impl_.dummy_pad_) - - reinterpret_cast(&_impl_.to_relay_session_id_)) + sizeof(_impl_.dummy_pad_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramNoConnection::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 legacy_gameserver_relay_session_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_legacy_gameserver_relay_session_id(&has_bits); - _impl_.legacy_gameserver_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 legacy_from_steam_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_legacy_from_steam_id(&has_bits); - _impl_.legacy_from_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional bool end_to_end = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_end_to_end(&has_bits); - _impl_.end_to_end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 to_connection_id = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_to_connection_id(&has_bits); - _impl_.to_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 from_connection_id = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - _Internal::set_has_from_connection_id(&has_bits); - _impl_.from_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional string from_identity_string = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_from_identity_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramNoConnection.from_identity_string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional fixed32 to_relay_session_id = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_to_relay_session_id(&has_bits); - _impl_.to_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 from_relay_session_id = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { - _Internal::set_has_from_relay_session_id(&has_bits); - _impl_.from_relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 routing_secret = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 89)) { - _Internal::set_has_routing_secret(&has_bits); - _impl_.routing_secret_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional bool not_primary_session = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_not_primary_session(&has_bits); - _impl_.not_primary_session_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr = ctx->ParseMessage(_internal_mutable_quality_relay(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - ptr = ctx->ParseMessage(_internal_mutable_quality_e2e(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool not_primary_transport = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_not_primary_transport(&has_bits); - _impl_.not_primary_transport_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { - ptr = ctx->ParseMessage(_internal_mutable_p2p_routing_summary(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool relay_override_active = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_relay_override_active(&has_bits); - _impl_.relay_override_active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 dummy_pad = 1023; - case 1023: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 253)) { - _Internal::set_has_dummy_pad(&has_bits); - _impl_.dummy_pad_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramNoConnection::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramNoConnection) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 legacy_gameserver_relay_session_id = 2; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_legacy_gameserver_relay_session_id(), target); - } - - // optional fixed64 legacy_from_steam_id = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_legacy_from_steam_id(), target); - } - - // optional bool end_to_end = 4; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_end_to_end(), target); - } - - // optional fixed32 to_connection_id = 5; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_to_connection_id(), target); - } - - // optional fixed32 from_connection_id = 6; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_from_connection_id(), target); - } - - // optional string from_identity_string = 7; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_from_identity_string().data(), static_cast(this->_internal_from_identity_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramNoConnection.from_identity_string"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_from_identity_string(), target); - } - - // optional fixed32 to_relay_session_id = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(9, this->_internal_to_relay_session_id(), target); - } - - // optional fixed32 from_relay_session_id = 10; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(10, this->_internal_from_relay_session_id(), target); - } - - // optional fixed64 routing_secret = 11; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(11, this->_internal_routing_secret(), target); - } - - // optional bool not_primary_session = 12; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(12, this->_internal_not_primary_session(), target); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 13; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, _Internal::quality_relay(this), - _Internal::quality_relay(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 14; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(14, _Internal::quality_e2e(this), - _Internal::quality_e2e(this).GetCachedSize(), target, stream); - } - - // optional bool not_primary_transport = 15; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(15, this->_internal_not_primary_transport(), target); - } - - // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 16; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(16, _Internal::p2p_routing_summary(this), - _Internal::p2p_routing_summary(this).GetCachedSize(), target, stream); - } - - // optional bool relay_override_active = 17; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(17, this->_internal_relay_override_active(), target); - } - - // optional fixed32 dummy_pad = 1023; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1023, this->_internal_dummy_pad(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramNoConnection) - return target; -} - -size_t CMsgSteamDatagramNoConnection::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramNoConnection) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string from_identity_string = 7; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_from_identity_string()); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 13; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.quality_relay_); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 14; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.quality_e2e_); - } - - // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 16; - if (cached_has_bits & 0x00000008u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.p2p_routing_summary_); - } - - // optional fixed64 legacy_from_steam_id = 3; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 8; - } - - // optional uint32 legacy_gameserver_relay_session_id = 2; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_legacy_gameserver_relay_session_id()); - } - - // optional fixed32 to_connection_id = 5; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional fixed32 from_connection_id = 6; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional fixed32 to_relay_session_id = 9; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 4; - } - - // optional fixed64 routing_secret = 11; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 8; - } - - // optional fixed32 from_relay_session_id = 10; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 4; - } - - // optional bool end_to_end = 4; - if (cached_has_bits & 0x00000800u) { - total_size += 1 + 1; - } - - // optional bool not_primary_session = 12; - if (cached_has_bits & 0x00001000u) { - total_size += 1 + 1; - } - - // optional bool not_primary_transport = 15; - if (cached_has_bits & 0x00002000u) { - total_size += 1 + 1; - } - - // optional bool relay_override_active = 17; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + 1; - } - - // optional fixed32 dummy_pad = 1023; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramNoConnection::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramNoConnection::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramNoConnection::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramNoConnection::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramNoConnection) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_from_identity_string(from._internal_from_identity_string()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_quality_relay()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_quality_relay()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_quality_e2e()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_quality_e2e()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_p2p_routing_summary()->::CMsgSteamDatagramP2PRoutingSummary::MergeFrom( - from._internal_p2p_routing_summary()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.legacy_from_steam_id_ = from._impl_.legacy_from_steam_id_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.legacy_gameserver_relay_session_id_ = from._impl_.legacy_gameserver_relay_session_id_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.to_connection_id_ = from._impl_.to_connection_id_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.from_connection_id_ = from._impl_.from_connection_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.to_relay_session_id_ = from._impl_.to_relay_session_id_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.routing_secret_ = from._impl_.routing_secret_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.from_relay_session_id_ = from._impl_.from_relay_session_id_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.end_to_end_ = from._impl_.end_to_end_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.not_primary_session_ = from._impl_.not_primary_session_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.not_primary_transport_ = from._impl_.not_primary_transport_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.relay_override_active_ = from._impl_.relay_override_active_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.dummy_pad_ = from._impl_.dummy_pad_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramNoConnection::CopyFrom(const CMsgSteamDatagramNoConnection& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramNoConnection) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramNoConnection::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramNoConnection::InternalSwap(CMsgSteamDatagramNoConnection* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.from_identity_string_, lhs_arena, - &other->_impl_.from_identity_string_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramNoConnection, _impl_.dummy_pad_) - + sizeof(CMsgSteamDatagramNoConnection::_impl_.dummy_pad_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramNoConnection, _impl_.quality_relay_)>( - reinterpret_cast(&_impl_.quality_relay_), - reinterpret_cast(&other->_impl_.quality_relay_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramNoConnection::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[23]); -} - -// =================================================================== - -class CMsgSteamDatagramGameserverSessionRequest::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ticket(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_challenge_time(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_challenge(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_client_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_server_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_network_config_version(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_protocol_version(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_platform(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_build(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_dev_gameserver_identity(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CMsgSteamDatagramCertificateSigned& dev_client_cert(const CMsgSteamDatagramGameserverSessionRequest* msg); - static void set_has_dev_client_cert(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -const ::CMsgSteamDatagramCertificateSigned& -CMsgSteamDatagramGameserverSessionRequest::_Internal::dev_client_cert(const CMsgSteamDatagramGameserverSessionRequest* msg) { - return *msg->_impl_.dev_client_cert_; -} -void CMsgSteamDatagramGameserverSessionRequest::clear_dev_client_cert() { - if (_impl_.dev_client_cert_ != nullptr) _impl_.dev_client_cert_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -CMsgSteamDatagramGameserverSessionRequest::CMsgSteamDatagramGameserverSessionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramGameserverSessionRequest) -} -CMsgSteamDatagramGameserverSessionRequest::CMsgSteamDatagramGameserverSessionRequest(const CMsgSteamDatagramGameserverSessionRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramGameserverSessionRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ticket_){} - , decltype(_impl_.platform_){} - , decltype(_impl_.build_){} - , decltype(_impl_.dev_gameserver_identity_){} - , decltype(_impl_.dev_client_cert_){nullptr} - , decltype(_impl_.challenge_){} - , decltype(_impl_.challenge_time_){} - , decltype(_impl_.client_connection_id_){} - , decltype(_impl_.network_config_version_){} - , decltype(_impl_.protocol_version_){} - , decltype(_impl_.server_connection_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.ticket_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ticket_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_ticket()) { - _this->_impl_.ticket_.Set(from._internal_ticket(), - _this->GetArenaForAllocation()); - } - _impl_.platform_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.platform_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_platform()) { - _this->_impl_.platform_.Set(from._internal_platform(), - _this->GetArenaForAllocation()); - } - _impl_.build_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.build_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_build()) { - _this->_impl_.build_.Set(from._internal_build(), - _this->GetArenaForAllocation()); - } - _impl_.dev_gameserver_identity_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dev_gameserver_identity_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_dev_gameserver_identity()) { - _this->_impl_.dev_gameserver_identity_.Set(from._internal_dev_gameserver_identity(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_dev_client_cert()) { - _this->_impl_.dev_client_cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.dev_client_cert_); - } - ::memcpy(&_impl_.challenge_, &from._impl_.challenge_, - static_cast(reinterpret_cast(&_impl_.server_connection_id_) - - reinterpret_cast(&_impl_.challenge_)) + sizeof(_impl_.server_connection_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramGameserverSessionRequest) -} - -inline void CMsgSteamDatagramGameserverSessionRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ticket_){} - , decltype(_impl_.platform_){} - , decltype(_impl_.build_){} - , decltype(_impl_.dev_gameserver_identity_){} - , decltype(_impl_.dev_client_cert_){nullptr} - , decltype(_impl_.challenge_){uint64_t{0u}} - , decltype(_impl_.challenge_time_){0u} - , decltype(_impl_.client_connection_id_){0u} - , decltype(_impl_.network_config_version_){uint64_t{0u}} - , decltype(_impl_.protocol_version_){0u} - , decltype(_impl_.server_connection_id_){0u} - }; - _impl_.ticket_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ticket_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.platform_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.platform_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.build_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.build_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dev_gameserver_identity_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dev_gameserver_identity_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramGameserverSessionRequest::~CMsgSteamDatagramGameserverSessionRequest() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramGameserverSessionRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramGameserverSessionRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.ticket_.Destroy(); - _impl_.platform_.Destroy(); - _impl_.build_.Destroy(); - _impl_.dev_gameserver_identity_.Destroy(); - if (this != internal_default_instance()) delete _impl_.dev_client_cert_; -} - -void CMsgSteamDatagramGameserverSessionRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramGameserverSessionRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramGameserverSessionRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.ticket_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.platform_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.build_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.dev_gameserver_identity_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(_impl_.dev_client_cert_ != nullptr); - _impl_.dev_client_cert_->Clear(); - } - } - if (cached_has_bits & 0x000000e0u) { - ::memset(&_impl_.challenge_, 0, static_cast( - reinterpret_cast(&_impl_.client_connection_id_) - - reinterpret_cast(&_impl_.challenge_)) + sizeof(_impl_.client_connection_id_)); - } - if (cached_has_bits & 0x00000700u) { - ::memset(&_impl_.network_config_version_, 0, static_cast( - reinterpret_cast(&_impl_.server_connection_id_) - - reinterpret_cast(&_impl_.network_config_version_)) + sizeof(_impl_.server_connection_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramGameserverSessionRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes ticket = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_ticket(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 challenge_time = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_challenge_time(&has_bits); - _impl_.challenge_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 challenge = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { - _Internal::set_has_challenge(&has_bits); - _impl_.challenge_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional fixed32 client_connection_id = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_client_connection_id(&has_bits); - _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint64 network_config_version = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_network_config_version(&has_bits); - _impl_.network_config_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 protocol_version = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_protocol_version(&has_bits); - _impl_.protocol_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 server_connection_id = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { - _Internal::set_has_server_connection_id(&has_bits); - _impl_.server_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional string platform = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_platform(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramGameserverSessionRequest.platform"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string build = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_build(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramGameserverSessionRequest.build"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string dev_gameserver_identity = 100; - case 100: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_dev_gameserver_identity(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramGameserverSessionRequest.dev_gameserver_identity"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramCertificateSigned dev_client_cert = 101; - case 101: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_dev_client_cert(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramGameserverSessionRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramGameserverSessionRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes ticket = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_ticket(), target); - } - - // optional fixed32 challenge_time = 3; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_challenge_time(), target); - } - - // optional fixed64 challenge = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_challenge(), target); - } - - // optional fixed32 client_connection_id = 5; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_client_connection_id(), target); - } - - // optional uint64 network_config_version = 6; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_network_config_version(), target); - } - - // optional uint32 protocol_version = 7; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_protocol_version(), target); - } - - // optional fixed32 server_connection_id = 8; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(8, this->_internal_server_connection_id(), target); - } - - // optional string platform = 9; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_platform().data(), static_cast(this->_internal_platform().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramGameserverSessionRequest.platform"); - target = stream->WriteStringMaybeAliased( - 9, this->_internal_platform(), target); - } - - // optional string build = 10; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_build().data(), static_cast(this->_internal_build().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramGameserverSessionRequest.build"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_build(), target); - } - - // optional string dev_gameserver_identity = 100; - if (cached_has_bits & 0x00000008u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_dev_gameserver_identity().data(), static_cast(this->_internal_dev_gameserver_identity().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramGameserverSessionRequest.dev_gameserver_identity"); - target = stream->WriteStringMaybeAliased( - 100, this->_internal_dev_gameserver_identity(), target); - } - - // optional .CMsgSteamDatagramCertificateSigned dev_client_cert = 101; - if (cached_has_bits & 0x00000010u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(101, _Internal::dev_client_cert(this), - _Internal::dev_client_cert(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramGameserverSessionRequest) - return target; -} - -size_t CMsgSteamDatagramGameserverSessionRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramGameserverSessionRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bytes ticket = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_ticket()); - } - - // optional string platform = 9; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_platform()); - } - - // optional string build = 10; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_build()); - } - - // optional string dev_gameserver_identity = 100; - if (cached_has_bits & 0x00000008u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_dev_gameserver_identity()); - } - - // optional .CMsgSteamDatagramCertificateSigned dev_client_cert = 101; - if (cached_has_bits & 0x00000010u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.dev_client_cert_); - } - - // optional fixed64 challenge = 4; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 8; - } - - // optional fixed32 challenge_time = 3; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional fixed32 client_connection_id = 5; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - if (cached_has_bits & 0x00000700u) { - // optional uint64 network_config_version = 6; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_network_config_version()); - } - - // optional uint32 protocol_version = 7; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_protocol_version()); - } - - // optional fixed32 server_connection_id = 8; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramGameserverSessionRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramGameserverSessionRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramGameserverSessionRequest::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramGameserverSessionRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramGameserverSessionRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_ticket(from._internal_ticket()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_platform(from._internal_platform()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_build(from._internal_build()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_dev_gameserver_identity(from._internal_dev_gameserver_identity()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_mutable_dev_client_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( - from._internal_dev_client_cert()); - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.challenge_ = from._impl_.challenge_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.challenge_time_ = from._impl_.challenge_time_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000700u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.network_config_version_ = from._impl_.network_config_version_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.protocol_version_ = from._impl_.protocol_version_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.server_connection_id_ = from._impl_.server_connection_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramGameserverSessionRequest::CopyFrom(const CMsgSteamDatagramGameserverSessionRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramGameserverSessionRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramGameserverSessionRequest::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramGameserverSessionRequest::InternalSwap(CMsgSteamDatagramGameserverSessionRequest* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.ticket_, lhs_arena, - &other->_impl_.ticket_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.platform_, lhs_arena, - &other->_impl_.platform_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.build_, lhs_arena, - &other->_impl_.build_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.dev_gameserver_identity_, lhs_arena, - &other->_impl_.dev_gameserver_identity_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverSessionRequest, _impl_.server_connection_id_) - + sizeof(CMsgSteamDatagramGameserverSessionRequest::_impl_.server_connection_id_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverSessionRequest, _impl_.dev_client_cert_)>( - reinterpret_cast(&_impl_.dev_client_cert_), - reinterpret_cast(&other->_impl_.dev_client_cert_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramGameserverSessionRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[24]); -} - -// =================================================================== - -class CMsgSteamDatagramGameserverSessionEstablished::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_gameserver_identity_string(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_seconds_until_shutdown(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_seq_num_r2c(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_dummy_legacy_identity_binary(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_legacy_gameserver_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CMsgSteamDatagramGameserverSessionEstablished::CMsgSteamDatagramGameserverSessionEstablished(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramGameserverSessionEstablished) -} -CMsgSteamDatagramGameserverSessionEstablished::CMsgSteamDatagramGameserverSessionEstablished(const CMsgSteamDatagramGameserverSessionEstablished& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramGameserverSessionEstablished* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gameserver_identity_string_){} - , decltype(_impl_.dummy_legacy_identity_binary_){} - , decltype(_impl_.connection_id_){} - , decltype(_impl_.seconds_until_shutdown_){} - , decltype(_impl_.legacy_gameserver_steamid_){} - , decltype(_impl_.seq_num_r2c_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.gameserver_identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gameserver_identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_gameserver_identity_string()) { - _this->_impl_.gameserver_identity_string_.Set(from._internal_gameserver_identity_string(), - _this->GetArenaForAllocation()); - } - _impl_.dummy_legacy_identity_binary_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dummy_legacy_identity_binary_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_dummy_legacy_identity_binary()) { - _this->_impl_.dummy_legacy_identity_binary_.Set(from._internal_dummy_legacy_identity_binary(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.connection_id_, &from._impl_.connection_id_, - static_cast(reinterpret_cast(&_impl_.seq_num_r2c_) - - reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.seq_num_r2c_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramGameserverSessionEstablished) -} - -inline void CMsgSteamDatagramGameserverSessionEstablished::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gameserver_identity_string_){} - , decltype(_impl_.dummy_legacy_identity_binary_){} - , decltype(_impl_.connection_id_){0u} - , decltype(_impl_.seconds_until_shutdown_){0u} - , decltype(_impl_.legacy_gameserver_steamid_){uint64_t{0u}} - , decltype(_impl_.seq_num_r2c_){0u} - }; - _impl_.gameserver_identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.gameserver_identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dummy_legacy_identity_binary_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dummy_legacy_identity_binary_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramGameserverSessionEstablished::~CMsgSteamDatagramGameserverSessionEstablished() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramGameserverSessionEstablished) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramGameserverSessionEstablished::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.gameserver_identity_string_.Destroy(); - _impl_.dummy_legacy_identity_binary_.Destroy(); -} - -void CMsgSteamDatagramGameserverSessionEstablished::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramGameserverSessionEstablished::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramGameserverSessionEstablished) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.gameserver_identity_string_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.dummy_legacy_identity_binary_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000003cu) { - ::memset(&_impl_.connection_id_, 0, static_cast( - reinterpret_cast(&_impl_.seq_num_r2c_) - - reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.seq_num_r2c_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramGameserverSessionEstablished::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 connection_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_connection_id(&has_bits); - _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional string gameserver_identity_string = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_gameserver_identity_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramGameserverSessionEstablished.gameserver_identity_string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional fixed64 legacy_gameserver_steamid = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_legacy_gameserver_steamid(&has_bits); - _impl_.legacy_gameserver_steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 seconds_until_shutdown = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_seconds_until_shutdown(&has_bits); - _impl_.seconds_until_shutdown_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 seq_num_r2c = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_seq_num_r2c(&has_bits); - _impl_.seq_num_r2c_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes dummy_legacy_identity_binary = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_dummy_legacy_identity_binary(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramGameserverSessionEstablished::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramGameserverSessionEstablished) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 connection_id = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_connection_id(), target); - } - - // optional string gameserver_identity_string = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_gameserver_identity_string().data(), static_cast(this->_internal_gameserver_identity_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramGameserverSessionEstablished.gameserver_identity_string"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_gameserver_identity_string(), target); - } - - // optional fixed64 legacy_gameserver_steamid = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_legacy_gameserver_steamid(), target); - } - - // optional uint32 seconds_until_shutdown = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_seconds_until_shutdown(), target); - } - - // optional uint32 seq_num_r2c = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_seq_num_r2c(), target); - } - - // optional bytes dummy_legacy_identity_binary = 7; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 7, this->_internal_dummy_legacy_identity_binary(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramGameserverSessionEstablished) - return target; -} - -size_t CMsgSteamDatagramGameserverSessionEstablished::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramGameserverSessionEstablished) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional string gameserver_identity_string = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_gameserver_identity_string()); - } - - // optional bytes dummy_legacy_identity_binary = 7; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_dummy_legacy_identity_binary()); - } - - // optional fixed32 connection_id = 1; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional uint32 seconds_until_shutdown = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds_until_shutdown()); - } - - // optional fixed64 legacy_gameserver_steamid = 3; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 8; - } - - // optional uint32 seq_num_r2c = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_r2c()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramGameserverSessionEstablished::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramGameserverSessionEstablished::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramGameserverSessionEstablished::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramGameserverSessionEstablished::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramGameserverSessionEstablished) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_gameserver_identity_string(from._internal_gameserver_identity_string()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_dummy_legacy_identity_binary(from._internal_dummy_legacy_identity_binary()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.connection_id_ = from._impl_.connection_id_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.seconds_until_shutdown_ = from._impl_.seconds_until_shutdown_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.legacy_gameserver_steamid_ = from._impl_.legacy_gameserver_steamid_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.seq_num_r2c_ = from._impl_.seq_num_r2c_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramGameserverSessionEstablished::CopyFrom(const CMsgSteamDatagramGameserverSessionEstablished& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramGameserverSessionEstablished) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramGameserverSessionEstablished::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramGameserverSessionEstablished::InternalSwap(CMsgSteamDatagramGameserverSessionEstablished* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.gameserver_identity_string_, lhs_arena, - &other->_impl_.gameserver_identity_string_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.dummy_legacy_identity_binary_, lhs_arena, - &other->_impl_.dummy_legacy_identity_binary_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverSessionEstablished, _impl_.seq_num_r2c_) - + sizeof(CMsgSteamDatagramGameserverSessionEstablished::_impl_.seq_num_r2c_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramGameserverSessionEstablished, _impl_.connection_id_)>( - reinterpret_cast(&_impl_.connection_id_), - reinterpret_cast(&other->_impl_.connection_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramGameserverSessionEstablished::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[25]); -} - -// =================================================================== - -class CMsgSteamDatagramConnectionStatsClientToRouter::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSteamDatagramConnectionQuality& quality_relay(const CMsgSteamDatagramConnectionStatsClientToRouter* msg); - static void set_has_quality_relay(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgSteamDatagramConnectionQuality& quality_e2e(const CMsgSteamDatagramConnectionStatsClientToRouter* msg); - static void set_has_quality_e2e(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_client_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_seq_num_c2r(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_seq_num_e2e(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } -}; - -const ::CMsgSteamDatagramConnectionQuality& -CMsgSteamDatagramConnectionStatsClientToRouter::_Internal::quality_relay(const CMsgSteamDatagramConnectionStatsClientToRouter* msg) { - return *msg->_impl_.quality_relay_; -} -const ::CMsgSteamDatagramConnectionQuality& -CMsgSteamDatagramConnectionStatsClientToRouter::_Internal::quality_e2e(const CMsgSteamDatagramConnectionStatsClientToRouter* msg) { - return *msg->_impl_.quality_e2e_; -} -void CMsgSteamDatagramConnectionStatsClientToRouter::clear_quality_relay() { - if (_impl_.quality_relay_ != nullptr) _impl_.quality_relay_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgSteamDatagramConnectionStatsClientToRouter::clear_quality_e2e() { - if (_impl_.quality_e2e_ != nullptr) _impl_.quality_e2e_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CMsgSteamDatagramConnectionStatsClientToRouter::CMsgSteamDatagramConnectionStatsClientToRouter(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramConnectionStatsClientToRouter) -} -CMsgSteamDatagramConnectionStatsClientToRouter::CMsgSteamDatagramConnectionStatsClientToRouter(const CMsgSteamDatagramConnectionStatsClientToRouter& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramConnectionStatsClientToRouter* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ack_relay_){from._impl_.ack_relay_} - , decltype(_impl_.legacy_ack_e2e_){from._impl_.legacy_ack_e2e_} - , decltype(_impl_.quality_relay_){nullptr} - , decltype(_impl_.quality_e2e_){nullptr} - , decltype(_impl_.flags_){} - , decltype(_impl_.client_connection_id_){} - , decltype(_impl_.seq_num_c2r_){} - , decltype(_impl_.seq_num_e2e_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_quality_relay()) { - _this->_impl_.quality_relay_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_relay_); - } - if (from._internal_has_quality_e2e()) { - _this->_impl_.quality_e2e_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_e2e_); - } - ::memcpy(&_impl_.flags_, &from._impl_.flags_, - static_cast(reinterpret_cast(&_impl_.seq_num_e2e_) - - reinterpret_cast(&_impl_.flags_)) + sizeof(_impl_.seq_num_e2e_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectionStatsClientToRouter) -} - -inline void CMsgSteamDatagramConnectionStatsClientToRouter::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ack_relay_){arena} - , decltype(_impl_.legacy_ack_e2e_){arena} - , decltype(_impl_.quality_relay_){nullptr} - , decltype(_impl_.quality_e2e_){nullptr} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.client_connection_id_){0u} - , decltype(_impl_.seq_num_c2r_){0u} - , decltype(_impl_.seq_num_e2e_){0u} - }; -} - -CMsgSteamDatagramConnectionStatsClientToRouter::~CMsgSteamDatagramConnectionStatsClientToRouter() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectionStatsClientToRouter) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramConnectionStatsClientToRouter::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.ack_relay_.~RepeatedField(); - _impl_.legacy_ack_e2e_.~RepeatedField(); - if (this != internal_default_instance()) delete _impl_.quality_relay_; - if (this != internal_default_instance()) delete _impl_.quality_e2e_; -} - -void CMsgSteamDatagramConnectionStatsClientToRouter::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramConnectionStatsClientToRouter::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectionStatsClientToRouter) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.ack_relay_.Clear(); - _impl_.legacy_ack_e2e_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.quality_relay_ != nullptr); - _impl_.quality_relay_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.quality_e2e_ != nullptr); - _impl_.quality_e2e_->Clear(); - } - } - if (cached_has_bits & 0x0000003cu) { - ::memset(&_impl_.flags_, 0, static_cast( - reinterpret_cast(&_impl_.seq_num_e2e_) - - reinterpret_cast(&_impl_.flags_)) + sizeof(_impl_.seq_num_e2e_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramConnectionStatsClientToRouter::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_quality_relay(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_quality_e2e(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated fixed32 ack_relay = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_ack_relay(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint32_t); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<37>(ptr)); - } else if (static_cast(tag) == 34) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_ack_relay(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated fixed32 legacy_ack_e2e = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_legacy_ack_e2e(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint32_t); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<45>(ptr)); - } else if (static_cast(tag) == 42) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_legacy_ack_e2e(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 client_connection_id = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { - _Internal::set_has_client_connection_id(&has_bits); - _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 seq_num_c2r = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_seq_num_c2r(&has_bits); - _impl_.seq_num_c2r_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 seq_num_e2e = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_seq_num_e2e(&has_bits); - _impl_.seq_num_e2e_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramConnectionStatsClientToRouter::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectionStatsClientToRouter) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::quality_relay(this), - _Internal::quality_relay(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::quality_e2e(this), - _Internal::quality_e2e(this).GetCachedSize(), target, stream); - } - - // repeated fixed32 ack_relay = 4; - for (int i = 0, n = this->_internal_ack_relay_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_ack_relay(i), target); - } - - // repeated fixed32 legacy_ack_e2e = 5; - for (int i = 0, n = this->_internal_legacy_ack_e2e_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_legacy_ack_e2e(i), target); - } - - // optional uint32 flags = 6; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_flags(), target); - } - - // optional fixed32 client_connection_id = 8; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(8, this->_internal_client_connection_id(), target); - } - - // optional uint32 seq_num_c2r = 9; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_seq_num_c2r(), target); - } - - // optional uint32 seq_num_e2e = 10; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_seq_num_e2e(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramConnectionStatsClientToRouter) - return target; -} - -size_t CMsgSteamDatagramConnectionStatsClientToRouter::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectionStatsClientToRouter) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated fixed32 ack_relay = 4; - { - unsigned int count = static_cast(this->_internal_ack_relay_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_ack_relay_size()); - total_size += data_size; - } - - // repeated fixed32 legacy_ack_e2e = 5; - { - unsigned int count = static_cast(this->_internal_legacy_ack_e2e_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_legacy_ack_e2e_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.quality_relay_); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.quality_e2e_); - } - - // optional uint32 flags = 6; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - // optional fixed32 client_connection_id = 8; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - // optional uint32 seq_num_c2r = 9; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_c2r()); - } - - // optional uint32 seq_num_e2e = 10; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_e2e()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectionStatsClientToRouter::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramConnectionStatsClientToRouter::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectionStatsClientToRouter::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramConnectionStatsClientToRouter::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramConnectionStatsClientToRouter) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.ack_relay_.MergeFrom(from._impl_.ack_relay_); - _this->_impl_.legacy_ack_e2e_.MergeFrom(from._impl_.legacy_ack_e2e_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_quality_relay()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_quality_relay()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_quality_e2e()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_quality_e2e()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.seq_num_c2r_ = from._impl_.seq_num_c2r_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.seq_num_e2e_ = from._impl_.seq_num_e2e_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramConnectionStatsClientToRouter::CopyFrom(const CMsgSteamDatagramConnectionStatsClientToRouter& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectionStatsClientToRouter) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramConnectionStatsClientToRouter::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramConnectionStatsClientToRouter::InternalSwap(CMsgSteamDatagramConnectionStatsClientToRouter* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.ack_relay_.InternalSwap(&other->_impl_.ack_relay_); - _impl_.legacy_ack_e2e_.InternalSwap(&other->_impl_.legacy_ack_e2e_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.seq_num_e2e_) - + sizeof(CMsgSteamDatagramConnectionStatsClientToRouter::_impl_.seq_num_e2e_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsClientToRouter, _impl_.quality_relay_)>( - reinterpret_cast(&_impl_.quality_relay_), - reinterpret_cast(&other->_impl_.quality_relay_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectionStatsClientToRouter::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[26]); -} - -// =================================================================== - -class CMsgSteamDatagramConnectionStatsRouterToClient::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSteamDatagramConnectionQuality& quality_relay(const CMsgSteamDatagramConnectionStatsRouterToClient* msg); - static void set_has_quality_relay(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgSteamDatagramConnectionQuality& quality_e2e(const CMsgSteamDatagramConnectionStatsRouterToClient* msg); - static void set_has_quality_e2e(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_seconds_until_shutdown(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_migrate_request_ip(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_migrate_request_port(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_scoring_penalty_relay_cluster(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_client_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_seq_num_r2c(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_seq_num_e2e(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } -}; - -const ::CMsgSteamDatagramConnectionQuality& -CMsgSteamDatagramConnectionStatsRouterToClient::_Internal::quality_relay(const CMsgSteamDatagramConnectionStatsRouterToClient* msg) { - return *msg->_impl_.quality_relay_; -} -const ::CMsgSteamDatagramConnectionQuality& -CMsgSteamDatagramConnectionStatsRouterToClient::_Internal::quality_e2e(const CMsgSteamDatagramConnectionStatsRouterToClient* msg) { - return *msg->_impl_.quality_e2e_; -} -void CMsgSteamDatagramConnectionStatsRouterToClient::clear_quality_relay() { - if (_impl_.quality_relay_ != nullptr) _impl_.quality_relay_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgSteamDatagramConnectionStatsRouterToClient::clear_quality_e2e() { - if (_impl_.quality_e2e_ != nullptr) _impl_.quality_e2e_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CMsgSteamDatagramConnectionStatsRouterToClient::CMsgSteamDatagramConnectionStatsRouterToClient(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramConnectionStatsRouterToClient) -} -CMsgSteamDatagramConnectionStatsRouterToClient::CMsgSteamDatagramConnectionStatsRouterToClient(const CMsgSteamDatagramConnectionStatsRouterToClient& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramConnectionStatsRouterToClient* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ack_relay_){from._impl_.ack_relay_} - , decltype(_impl_.legacy_ack_e2e_){from._impl_.legacy_ack_e2e_} - , decltype(_impl_.quality_relay_){nullptr} - , decltype(_impl_.quality_e2e_){nullptr} - , decltype(_impl_.seconds_until_shutdown_){} - , decltype(_impl_.client_connection_id_){} - , decltype(_impl_.seq_num_r2c_){} - , decltype(_impl_.seq_num_e2e_){} - , decltype(_impl_.migrate_request_ip_){} - , decltype(_impl_.migrate_request_port_){} - , decltype(_impl_.scoring_penalty_relay_cluster_){} - , decltype(_impl_.flags_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_quality_relay()) { - _this->_impl_.quality_relay_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_relay_); - } - if (from._internal_has_quality_e2e()) { - _this->_impl_.quality_e2e_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_e2e_); - } - ::memcpy(&_impl_.seconds_until_shutdown_, &from._impl_.seconds_until_shutdown_, - static_cast(reinterpret_cast(&_impl_.flags_) - - reinterpret_cast(&_impl_.seconds_until_shutdown_)) + sizeof(_impl_.flags_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectionStatsRouterToClient) -} - -inline void CMsgSteamDatagramConnectionStatsRouterToClient::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ack_relay_){arena} - , decltype(_impl_.legacy_ack_e2e_){arena} - , decltype(_impl_.quality_relay_){nullptr} - , decltype(_impl_.quality_e2e_){nullptr} - , decltype(_impl_.seconds_until_shutdown_){0u} - , decltype(_impl_.client_connection_id_){0u} - , decltype(_impl_.seq_num_r2c_){0u} - , decltype(_impl_.seq_num_e2e_){0u} - , decltype(_impl_.migrate_request_ip_){0u} - , decltype(_impl_.migrate_request_port_){0u} - , decltype(_impl_.scoring_penalty_relay_cluster_){0u} - , decltype(_impl_.flags_){0u} - }; -} - -CMsgSteamDatagramConnectionStatsRouterToClient::~CMsgSteamDatagramConnectionStatsRouterToClient() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectionStatsRouterToClient) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramConnectionStatsRouterToClient::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.ack_relay_.~RepeatedField(); - _impl_.legacy_ack_e2e_.~RepeatedField(); - if (this != internal_default_instance()) delete _impl_.quality_relay_; - if (this != internal_default_instance()) delete _impl_.quality_e2e_; -} - -void CMsgSteamDatagramConnectionStatsRouterToClient::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramConnectionStatsRouterToClient::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectionStatsRouterToClient) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.ack_relay_.Clear(); - _impl_.legacy_ack_e2e_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.quality_relay_ != nullptr); - _impl_.quality_relay_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.quality_e2e_ != nullptr); - _impl_.quality_e2e_->Clear(); - } - } - if (cached_has_bits & 0x000000fcu) { - ::memset(&_impl_.seconds_until_shutdown_, 0, static_cast( - reinterpret_cast(&_impl_.migrate_request_port_) - - reinterpret_cast(&_impl_.seconds_until_shutdown_)) + sizeof(_impl_.migrate_request_port_)); - } - if (cached_has_bits & 0x00000300u) { - ::memset(&_impl_.scoring_penalty_relay_cluster_, 0, static_cast( - reinterpret_cast(&_impl_.flags_) - - reinterpret_cast(&_impl_.scoring_penalty_relay_cluster_)) + sizeof(_impl_.flags_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramConnectionStatsRouterToClient::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_quality_relay(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_quality_e2e(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 seconds_until_shutdown = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_seconds_until_shutdown(&has_bits); - _impl_.seconds_until_shutdown_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 client_connection_id = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_client_connection_id(&has_bits); - _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 seq_num_r2c = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_seq_num_r2c(&has_bits); - _impl_.seq_num_r2c_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 seq_num_e2e = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_seq_num_e2e(&has_bits); - _impl_.seq_num_e2e_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 migrate_request_ip = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { - _Internal::set_has_migrate_request_ip(&has_bits); - _impl_.migrate_request_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 migrate_request_port = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_migrate_request_port(&has_bits); - _impl_.migrate_request_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 scoring_penalty_relay_cluster = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_scoring_penalty_relay_cluster(&has_bits); - _impl_.scoring_penalty_relay_cluster_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated fixed32 ack_relay = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 109)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_ack_relay(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint32_t); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<109>(ptr)); - } else if (static_cast(tag) == 106) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_ack_relay(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated fixed32 legacy_ack_e2e = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 117)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_legacy_ack_e2e(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint32_t); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<117>(ptr)); - } else if (static_cast(tag) == 114) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_legacy_ack_e2e(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramConnectionStatsRouterToClient::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectionStatsRouterToClient) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::quality_relay(this), - _Internal::quality_relay(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::quality_e2e(this), - _Internal::quality_e2e(this).GetCachedSize(), target, stream); - } - - // optional uint32 seconds_until_shutdown = 6; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_seconds_until_shutdown(), target); - } - - // optional fixed32 client_connection_id = 7; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_client_connection_id(), target); - } - - // optional uint32 seq_num_r2c = 8; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_seq_num_r2c(), target); - } - - // optional uint32 seq_num_e2e = 9; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_seq_num_e2e(), target); - } - - // optional fixed32 migrate_request_ip = 10; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(10, this->_internal_migrate_request_ip(), target); - } - - // optional uint32 migrate_request_port = 11; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_migrate_request_port(), target); - } - - // optional uint32 scoring_penalty_relay_cluster = 12; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_scoring_penalty_relay_cluster(), target); - } - - // repeated fixed32 ack_relay = 13; - for (int i = 0, n = this->_internal_ack_relay_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(13, this->_internal_ack_relay(i), target); - } - - // repeated fixed32 legacy_ack_e2e = 14; - for (int i = 0, n = this->_internal_legacy_ack_e2e_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(14, this->_internal_legacy_ack_e2e(i), target); - } - - // optional uint32 flags = 15; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_flags(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramConnectionStatsRouterToClient) - return target; -} - -size_t CMsgSteamDatagramConnectionStatsRouterToClient::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectionStatsRouterToClient) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated fixed32 ack_relay = 13; - { - unsigned int count = static_cast(this->_internal_ack_relay_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_ack_relay_size()); - total_size += data_size; - } - - // repeated fixed32 legacy_ack_e2e = 14; - { - unsigned int count = static_cast(this->_internal_legacy_ack_e2e_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_legacy_ack_e2e_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.quality_relay_); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.quality_e2e_); - } - - // optional uint32 seconds_until_shutdown = 6; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds_until_shutdown()); - } - - // optional fixed32 client_connection_id = 7; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - // optional uint32 seq_num_r2c = 8; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_r2c()); - } - - // optional uint32 seq_num_e2e = 9; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_e2e()); - } - - // optional fixed32 migrate_request_ip = 10; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional uint32 migrate_request_port = 11; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_migrate_request_port()); - } - - } - if (cached_has_bits & 0x00000300u) { - // optional uint32 scoring_penalty_relay_cluster = 12; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_scoring_penalty_relay_cluster()); - } - - // optional uint32 flags = 15; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectionStatsRouterToClient::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramConnectionStatsRouterToClient::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectionStatsRouterToClient::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramConnectionStatsRouterToClient::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramConnectionStatsRouterToClient) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.ack_relay_.MergeFrom(from._impl_.ack_relay_); - _this->_impl_.legacy_ack_e2e_.MergeFrom(from._impl_.legacy_ack_e2e_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_quality_relay()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_quality_relay()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_quality_e2e()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_quality_e2e()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.seconds_until_shutdown_ = from._impl_.seconds_until_shutdown_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.seq_num_r2c_ = from._impl_.seq_num_r2c_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.seq_num_e2e_ = from._impl_.seq_num_e2e_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.migrate_request_ip_ = from._impl_.migrate_request_ip_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.migrate_request_port_ = from._impl_.migrate_request_port_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000300u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.scoring_penalty_relay_cluster_ = from._impl_.scoring_penalty_relay_cluster_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramConnectionStatsRouterToClient::CopyFrom(const CMsgSteamDatagramConnectionStatsRouterToClient& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectionStatsRouterToClient) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramConnectionStatsRouterToClient::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramConnectionStatsRouterToClient::InternalSwap(CMsgSteamDatagramConnectionStatsRouterToClient* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.ack_relay_.InternalSwap(&other->_impl_.ack_relay_); - _impl_.legacy_ack_e2e_.InternalSwap(&other->_impl_.legacy_ack_e2e_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.flags_) - + sizeof(CMsgSteamDatagramConnectionStatsRouterToClient::_impl_.flags_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsRouterToClient, _impl_.quality_relay_)>( - reinterpret_cast(&_impl_.quality_relay_), - reinterpret_cast(&other->_impl_.quality_relay_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectionStatsRouterToClient::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[27]); -} - -// =================================================================== - -class CMsgSteamDatagramConnectionStatsRouterToServer::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSteamDatagramConnectionQuality& quality_relay(const CMsgSteamDatagramConnectionStatsRouterToServer* msg); - static void set_has_quality_relay(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgSteamDatagramConnectionQuality& quality_e2e(const CMsgSteamDatagramConnectionStatsRouterToServer* msg); - static void set_has_quality_e2e(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_seq_num_r2s(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_seq_num_e2e(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_client_identity_string(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_legacy_client_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_relay_session_id(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_client_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_server_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_routing_secret(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } -}; - -const ::CMsgSteamDatagramConnectionQuality& -CMsgSteamDatagramConnectionStatsRouterToServer::_Internal::quality_relay(const CMsgSteamDatagramConnectionStatsRouterToServer* msg) { - return *msg->_impl_.quality_relay_; -} -const ::CMsgSteamDatagramConnectionQuality& -CMsgSteamDatagramConnectionStatsRouterToServer::_Internal::quality_e2e(const CMsgSteamDatagramConnectionStatsRouterToServer* msg) { - return *msg->_impl_.quality_e2e_; -} -void CMsgSteamDatagramConnectionStatsRouterToServer::clear_quality_relay() { - if (_impl_.quality_relay_ != nullptr) _impl_.quality_relay_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CMsgSteamDatagramConnectionStatsRouterToServer::clear_quality_e2e() { - if (_impl_.quality_e2e_ != nullptr) _impl_.quality_e2e_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -CMsgSteamDatagramConnectionStatsRouterToServer::CMsgSteamDatagramConnectionStatsRouterToServer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramConnectionStatsRouterToServer) -} -CMsgSteamDatagramConnectionStatsRouterToServer::CMsgSteamDatagramConnectionStatsRouterToServer(const CMsgSteamDatagramConnectionStatsRouterToServer& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramConnectionStatsRouterToServer* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ack_relay_){from._impl_.ack_relay_} - , decltype(_impl_.legacy_ack_e2e_){from._impl_.legacy_ack_e2e_} - , decltype(_impl_.client_identity_string_){} - , decltype(_impl_.quality_relay_){nullptr} - , decltype(_impl_.quality_e2e_){nullptr} - , decltype(_impl_.seq_num_r2s_){} - , decltype(_impl_.seq_num_e2e_){} - , decltype(_impl_.legacy_client_steam_id_){} - , decltype(_impl_.relay_session_id_){} - , decltype(_impl_.client_connection_id_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.server_connection_id_){} - , decltype(_impl_.routing_secret_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.client_identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.client_identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_client_identity_string()) { - _this->_impl_.client_identity_string_.Set(from._internal_client_identity_string(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_quality_relay()) { - _this->_impl_.quality_relay_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_relay_); - } - if (from._internal_has_quality_e2e()) { - _this->_impl_.quality_e2e_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_e2e_); - } - ::memcpy(&_impl_.seq_num_r2s_, &from._impl_.seq_num_r2s_, - static_cast(reinterpret_cast(&_impl_.routing_secret_) - - reinterpret_cast(&_impl_.seq_num_r2s_)) + sizeof(_impl_.routing_secret_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectionStatsRouterToServer) -} - -inline void CMsgSteamDatagramConnectionStatsRouterToServer::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ack_relay_){arena} - , decltype(_impl_.legacy_ack_e2e_){arena} - , decltype(_impl_.client_identity_string_){} - , decltype(_impl_.quality_relay_){nullptr} - , decltype(_impl_.quality_e2e_){nullptr} - , decltype(_impl_.seq_num_r2s_){0u} - , decltype(_impl_.seq_num_e2e_){0u} - , decltype(_impl_.legacy_client_steam_id_){uint64_t{0u}} - , decltype(_impl_.relay_session_id_){0u} - , decltype(_impl_.client_connection_id_){0u} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.server_connection_id_){0u} - , decltype(_impl_.routing_secret_){uint64_t{0u}} - }; - _impl_.client_identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.client_identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramConnectionStatsRouterToServer::~CMsgSteamDatagramConnectionStatsRouterToServer() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectionStatsRouterToServer) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramConnectionStatsRouterToServer::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.ack_relay_.~RepeatedField(); - _impl_.legacy_ack_e2e_.~RepeatedField(); - _impl_.client_identity_string_.Destroy(); - if (this != internal_default_instance()) delete _impl_.quality_relay_; - if (this != internal_default_instance()) delete _impl_.quality_e2e_; -} - -void CMsgSteamDatagramConnectionStatsRouterToServer::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramConnectionStatsRouterToServer::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectionStatsRouterToServer) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.ack_relay_.Clear(); - _impl_.legacy_ack_e2e_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.client_identity_string_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.quality_relay_ != nullptr); - _impl_.quality_relay_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.quality_e2e_ != nullptr); - _impl_.quality_e2e_->Clear(); - } - } - if (cached_has_bits & 0x000000f8u) { - ::memset(&_impl_.seq_num_r2s_, 0, static_cast( - reinterpret_cast(&_impl_.client_connection_id_) - - reinterpret_cast(&_impl_.seq_num_r2s_)) + sizeof(_impl_.client_connection_id_)); - } - if (cached_has_bits & 0x00000700u) { - ::memset(&_impl_.flags_, 0, static_cast( - reinterpret_cast(&_impl_.routing_secret_) - - reinterpret_cast(&_impl_.flags_)) + sizeof(_impl_.routing_secret_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramConnectionStatsRouterToServer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_quality_relay(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_quality_e2e(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 seq_num_r2s = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_seq_num_r2s(&has_bits); - _impl_.seq_num_r2s_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 seq_num_e2e = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_seq_num_e2e(&has_bits); - _impl_.seq_num_e2e_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 legacy_client_steam_id = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 57)) { - _Internal::set_has_legacy_client_steam_id(&has_bits); - _impl_.legacy_client_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 relay_session_id = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_relay_session_id(&has_bits); - _impl_.relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 client_connection_id = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_client_connection_id(&has_bits); - _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // repeated fixed32 ack_relay = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_ack_relay(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint32_t); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<85>(ptr)); - } else if (static_cast(tag) == 82) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_ack_relay(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated fixed32 legacy_ack_e2e = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 93)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_legacy_ack_e2e(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint32_t); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<93>(ptr)); - } else if (static_cast(tag) == 90) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_legacy_ack_e2e(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 server_connection_id = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 109)) { - _Internal::set_has_server_connection_id(&has_bits); - _impl_.server_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 routing_secret = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 113)) { - _Internal::set_has_routing_secret(&has_bits); - _impl_.routing_secret_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional string client_identity_string = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - auto str = _internal_mutable_client_identity_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramConnectionStatsRouterToServer.client_identity_string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramConnectionStatsRouterToServer::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectionStatsRouterToServer) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::quality_relay(this), - _Internal::quality_relay(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::quality_e2e(this), - _Internal::quality_e2e(this).GetCachedSize(), target, stream); - } - - // optional uint32 seq_num_r2s = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_seq_num_r2s(), target); - } - - // optional uint32 seq_num_e2e = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_seq_num_e2e(), target); - } - - // optional fixed64 legacy_client_steam_id = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(7, this->_internal_legacy_client_steam_id(), target); - } - - // optional uint32 relay_session_id = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_relay_session_id(), target); - } - - // optional fixed32 client_connection_id = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(9, this->_internal_client_connection_id(), target); - } - - // repeated fixed32 ack_relay = 10; - for (int i = 0, n = this->_internal_ack_relay_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(10, this->_internal_ack_relay(i), target); - } - - // repeated fixed32 legacy_ack_e2e = 11; - for (int i = 0, n = this->_internal_legacy_ack_e2e_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(11, this->_internal_legacy_ack_e2e(i), target); - } - - // optional uint32 flags = 12; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_flags(), target); - } - - // optional fixed32 server_connection_id = 13; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(13, this->_internal_server_connection_id(), target); - } - - // optional fixed64 routing_secret = 14; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(14, this->_internal_routing_secret(), target); - } - - // optional string client_identity_string = 15; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_client_identity_string().data(), static_cast(this->_internal_client_identity_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramConnectionStatsRouterToServer.client_identity_string"); - target = stream->WriteStringMaybeAliased( - 15, this->_internal_client_identity_string(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramConnectionStatsRouterToServer) - return target; -} - -size_t CMsgSteamDatagramConnectionStatsRouterToServer::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectionStatsRouterToServer) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated fixed32 ack_relay = 10; - { - unsigned int count = static_cast(this->_internal_ack_relay_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_ack_relay_size()); - total_size += data_size; - } - - // repeated fixed32 legacy_ack_e2e = 11; - { - unsigned int count = static_cast(this->_internal_legacy_ack_e2e_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_legacy_ack_e2e_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string client_identity_string = 15; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_client_identity_string()); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.quality_relay_); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.quality_e2e_); - } - - // optional uint32 seq_num_r2s = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_r2s()); - } - - // optional uint32 seq_num_e2e = 6; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_e2e()); - } - - // optional fixed64 legacy_client_steam_id = 7; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 8; - } - - // optional uint32 relay_session_id = 8; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_relay_session_id()); - } - - // optional fixed32 client_connection_id = 9; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - if (cached_has_bits & 0x00000700u) { - // optional uint32 flags = 12; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - // optional fixed32 server_connection_id = 13; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 4; - } - - // optional fixed64 routing_secret = 14; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectionStatsRouterToServer::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramConnectionStatsRouterToServer::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectionStatsRouterToServer::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramConnectionStatsRouterToServer::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramConnectionStatsRouterToServer) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.ack_relay_.MergeFrom(from._impl_.ack_relay_); - _this->_impl_.legacy_ack_e2e_.MergeFrom(from._impl_.legacy_ack_e2e_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_client_identity_string(from._internal_client_identity_string()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_quality_relay()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_quality_relay()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_quality_e2e()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_quality_e2e()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.seq_num_r2s_ = from._impl_.seq_num_r2s_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.seq_num_e2e_ = from._impl_.seq_num_e2e_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.legacy_client_steam_id_ = from._impl_.legacy_client_steam_id_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.relay_session_id_ = from._impl_.relay_session_id_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000700u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.server_connection_id_ = from._impl_.server_connection_id_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.routing_secret_ = from._impl_.routing_secret_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramConnectionStatsRouterToServer::CopyFrom(const CMsgSteamDatagramConnectionStatsRouterToServer& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectionStatsRouterToServer) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramConnectionStatsRouterToServer::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramConnectionStatsRouterToServer::InternalSwap(CMsgSteamDatagramConnectionStatsRouterToServer* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.ack_relay_.InternalSwap(&other->_impl_.ack_relay_); - _impl_.legacy_ack_e2e_.InternalSwap(&other->_impl_.legacy_ack_e2e_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.client_identity_string_, lhs_arena, - &other->_impl_.client_identity_string_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.routing_secret_) - + sizeof(CMsgSteamDatagramConnectionStatsRouterToServer::_impl_.routing_secret_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsRouterToServer, _impl_.quality_relay_)>( - reinterpret_cast(&_impl_.quality_relay_), - reinterpret_cast(&other->_impl_.quality_relay_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectionStatsRouterToServer::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[28]); -} - -// =================================================================== - -class CMsgSteamDatagramConnectionStatsServerToRouter::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSteamDatagramConnectionQuality& quality_relay(const CMsgSteamDatagramConnectionStatsServerToRouter* msg); - static void set_has_quality_relay(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgSteamDatagramConnectionQuality& quality_e2e(const CMsgSteamDatagramConnectionStatsServerToRouter* msg); - static void set_has_quality_e2e(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_seq_num_s2r(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_seq_num_e2e(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_relay_session_id(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_client_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_server_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } -}; - -const ::CMsgSteamDatagramConnectionQuality& -CMsgSteamDatagramConnectionStatsServerToRouter::_Internal::quality_relay(const CMsgSteamDatagramConnectionStatsServerToRouter* msg) { - return *msg->_impl_.quality_relay_; -} -const ::CMsgSteamDatagramConnectionQuality& -CMsgSteamDatagramConnectionStatsServerToRouter::_Internal::quality_e2e(const CMsgSteamDatagramConnectionStatsServerToRouter* msg) { - return *msg->_impl_.quality_e2e_; -} -void CMsgSteamDatagramConnectionStatsServerToRouter::clear_quality_relay() { - if (_impl_.quality_relay_ != nullptr) _impl_.quality_relay_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgSteamDatagramConnectionStatsServerToRouter::clear_quality_e2e() { - if (_impl_.quality_e2e_ != nullptr) _impl_.quality_e2e_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CMsgSteamDatagramConnectionStatsServerToRouter::CMsgSteamDatagramConnectionStatsServerToRouter(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramConnectionStatsServerToRouter) -} -CMsgSteamDatagramConnectionStatsServerToRouter::CMsgSteamDatagramConnectionStatsServerToRouter(const CMsgSteamDatagramConnectionStatsServerToRouter& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramConnectionStatsServerToRouter* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ack_relay_){from._impl_.ack_relay_} - , decltype(_impl_.legacy_ack_e2e_){from._impl_.legacy_ack_e2e_} - , decltype(_impl_.quality_relay_){nullptr} - , decltype(_impl_.quality_e2e_){nullptr} - , decltype(_impl_.seq_num_s2r_){} - , decltype(_impl_.seq_num_e2e_){} - , decltype(_impl_.relay_session_id_){} - , decltype(_impl_.client_connection_id_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.server_connection_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_quality_relay()) { - _this->_impl_.quality_relay_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_relay_); - } - if (from._internal_has_quality_e2e()) { - _this->_impl_.quality_e2e_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_e2e_); - } - ::memcpy(&_impl_.seq_num_s2r_, &from._impl_.seq_num_s2r_, - static_cast(reinterpret_cast(&_impl_.server_connection_id_) - - reinterpret_cast(&_impl_.seq_num_s2r_)) + sizeof(_impl_.server_connection_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectionStatsServerToRouter) -} - -inline void CMsgSteamDatagramConnectionStatsServerToRouter::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ack_relay_){arena} - , decltype(_impl_.legacy_ack_e2e_){arena} - , decltype(_impl_.quality_relay_){nullptr} - , decltype(_impl_.quality_e2e_){nullptr} - , decltype(_impl_.seq_num_s2r_){0u} - , decltype(_impl_.seq_num_e2e_){0u} - , decltype(_impl_.relay_session_id_){0u} - , decltype(_impl_.client_connection_id_){0u} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.server_connection_id_){0u} - }; -} - -CMsgSteamDatagramConnectionStatsServerToRouter::~CMsgSteamDatagramConnectionStatsServerToRouter() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectionStatsServerToRouter) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramConnectionStatsServerToRouter::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.ack_relay_.~RepeatedField(); - _impl_.legacy_ack_e2e_.~RepeatedField(); - if (this != internal_default_instance()) delete _impl_.quality_relay_; - if (this != internal_default_instance()) delete _impl_.quality_e2e_; -} - -void CMsgSteamDatagramConnectionStatsServerToRouter::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramConnectionStatsServerToRouter::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectionStatsServerToRouter) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.ack_relay_.Clear(); - _impl_.legacy_ack_e2e_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.quality_relay_ != nullptr); - _impl_.quality_relay_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.quality_e2e_ != nullptr); - _impl_.quality_e2e_->Clear(); - } - } - if (cached_has_bits & 0x000000fcu) { - ::memset(&_impl_.seq_num_s2r_, 0, static_cast( - reinterpret_cast(&_impl_.server_connection_id_) - - reinterpret_cast(&_impl_.seq_num_s2r_)) + sizeof(_impl_.server_connection_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramConnectionStatsServerToRouter::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_quality_relay(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_quality_e2e(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 seq_num_s2r = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_seq_num_s2r(&has_bits); - _impl_.seq_num_s2r_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 seq_num_e2e = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_seq_num_e2e(&has_bits); - _impl_.seq_num_e2e_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 relay_session_id = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_relay_session_id(&has_bits); - _impl_.relay_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 client_connection_id = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_client_connection_id(&has_bits); - _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // repeated fixed32 ack_relay = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_ack_relay(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint32_t); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<69>(ptr)); - } else if (static_cast(tag) == 66) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_ack_relay(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated fixed32 legacy_ack_e2e = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_legacy_ack_e2e(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint32_t); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<77>(ptr)); - } else if (static_cast(tag) == 74) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_legacy_ack_e2e(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 server_connection_id = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 93)) { - _Internal::set_has_server_connection_id(&has_bits); - _impl_.server_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramConnectionStatsServerToRouter::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectionStatsServerToRouter) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::quality_relay(this), - _Internal::quality_relay(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::quality_e2e(this), - _Internal::quality_e2e(this).GetCachedSize(), target, stream); - } - - // optional uint32 seq_num_s2r = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_seq_num_s2r(), target); - } - - // optional uint32 seq_num_e2e = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_seq_num_e2e(), target); - } - - // optional uint32 relay_session_id = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_relay_session_id(), target); - } - - // optional fixed32 client_connection_id = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_client_connection_id(), target); - } - - // repeated fixed32 ack_relay = 8; - for (int i = 0, n = this->_internal_ack_relay_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(8, this->_internal_ack_relay(i), target); - } - - // repeated fixed32 legacy_ack_e2e = 9; - for (int i = 0, n = this->_internal_legacy_ack_e2e_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(9, this->_internal_legacy_ack_e2e(i), target); - } - - // optional uint32 flags = 10; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_flags(), target); - } - - // optional fixed32 server_connection_id = 11; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(11, this->_internal_server_connection_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramConnectionStatsServerToRouter) - return target; -} - -size_t CMsgSteamDatagramConnectionStatsServerToRouter::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectionStatsServerToRouter) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated fixed32 ack_relay = 8; - { - unsigned int count = static_cast(this->_internal_ack_relay_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_ack_relay_size()); - total_size += data_size; - } - - // repeated fixed32 legacy_ack_e2e = 9; - { - unsigned int count = static_cast(this->_internal_legacy_ack_e2e_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_legacy_ack_e2e_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.quality_relay_); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.quality_e2e_); - } - - // optional uint32 seq_num_s2r = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_s2r()); - } - - // optional uint32 seq_num_e2e = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_e2e()); - } - - // optional uint32 relay_session_id = 6; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_relay_session_id()); - } - - // optional fixed32 client_connection_id = 7; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional uint32 flags = 10; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - // optional fixed32 server_connection_id = 11; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectionStatsServerToRouter::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramConnectionStatsServerToRouter::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectionStatsServerToRouter::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramConnectionStatsServerToRouter::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramConnectionStatsServerToRouter) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.ack_relay_.MergeFrom(from._impl_.ack_relay_); - _this->_impl_.legacy_ack_e2e_.MergeFrom(from._impl_.legacy_ack_e2e_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_quality_relay()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_quality_relay()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_quality_e2e()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_quality_e2e()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.seq_num_s2r_ = from._impl_.seq_num_s2r_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.seq_num_e2e_ = from._impl_.seq_num_e2e_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.relay_session_id_ = from._impl_.relay_session_id_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.server_connection_id_ = from._impl_.server_connection_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramConnectionStatsServerToRouter::CopyFrom(const CMsgSteamDatagramConnectionStatsServerToRouter& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectionStatsServerToRouter) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramConnectionStatsServerToRouter::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramConnectionStatsServerToRouter::InternalSwap(CMsgSteamDatagramConnectionStatsServerToRouter* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.ack_relay_.InternalSwap(&other->_impl_.ack_relay_); - _impl_.legacy_ack_e2e_.InternalSwap(&other->_impl_.legacy_ack_e2e_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.server_connection_id_) - + sizeof(CMsgSteamDatagramConnectionStatsServerToRouter::_impl_.server_connection_id_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsServerToRouter, _impl_.quality_relay_)>( - reinterpret_cast(&_impl_.quality_relay_), - reinterpret_cast(&other->_impl_.quality_relay_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectionStatsServerToRouter::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[29]); -} - -// =================================================================== - -class CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_peer_identity_string(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) -} -CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData(const CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramP2PSessionRequestBody_EncryptedData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.peer_identity_string_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.peer_identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.peer_identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_peer_identity_string()) { - _this->_impl_.peer_identity_string_.Set(from._internal_peer_identity_string(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) -} - -inline void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.peer_identity_string_){} - }; - _impl_.peer_identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.peer_identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::~CMsgSteamDatagramP2PSessionRequestBody_EncryptedData() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.peer_identity_string_.Destroy(); -} - -void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.peer_identity_string_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string peer_identity_string = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_peer_identity_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramP2PSessionRequestBody.EncryptedData.peer_identity_string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string peer_identity_string = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_peer_identity_string().data(), static_cast(this->_internal_peer_identity_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramP2PSessionRequestBody.EncryptedData.peer_identity_string"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_peer_identity_string(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) - return target; -} - -size_t CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string peer_identity_string = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_peer_identity_string()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_peer_identity_string()) { - _this->_internal_set_peer_identity_string(from._internal_peer_identity_string()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::CopyFrom(const CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::InternalSwap(CMsgSteamDatagramP2PSessionRequestBody_EncryptedData* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.peer_identity_string_, lhs_arena, - &other->_impl_.peer_identity_string_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[30]); -} - -// =================================================================== - -class CMsgSteamDatagramP2PSessionRequestBody::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_challenge_time(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_challenge(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_client_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_legacy_peer_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_peer_identity_string(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_peer_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_encrypted_data(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_encryption_your_public_key_lead_byte(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_encryption_my_ephemeral_public_key(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_protocol_version(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_network_config_version(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_platform(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_build(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgSteamDatagramP2PSessionRequestBody::CMsgSteamDatagramP2PSessionRequestBody(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramP2PSessionRequestBody) -} -CMsgSteamDatagramP2PSessionRequestBody::CMsgSteamDatagramP2PSessionRequestBody(const CMsgSteamDatagramP2PSessionRequestBody& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramP2PSessionRequestBody* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.peer_identity_string_){} - , decltype(_impl_.platform_){} - , decltype(_impl_.build_){} - , decltype(_impl_.encrypted_data_){} - , decltype(_impl_.encryption_my_ephemeral_public_key_){} - , decltype(_impl_.challenge_){} - , decltype(_impl_.challenge_time_){} - , decltype(_impl_.client_connection_id_){} - , decltype(_impl_.legacy_peer_steam_id_){} - , decltype(_impl_.peer_connection_id_){} - , decltype(_impl_.protocol_version_){} - , decltype(_impl_.network_config_version_){} - , decltype(_impl_.encryption_your_public_key_lead_byte_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.peer_identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.peer_identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_peer_identity_string()) { - _this->_impl_.peer_identity_string_.Set(from._internal_peer_identity_string(), - _this->GetArenaForAllocation()); - } - _impl_.platform_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.platform_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_platform()) { - _this->_impl_.platform_.Set(from._internal_platform(), - _this->GetArenaForAllocation()); - } - _impl_.build_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.build_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_build()) { - _this->_impl_.build_.Set(from._internal_build(), - _this->GetArenaForAllocation()); - } - _impl_.encrypted_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encrypted_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_encrypted_data()) { - _this->_impl_.encrypted_data_.Set(from._internal_encrypted_data(), - _this->GetArenaForAllocation()); - } - _impl_.encryption_my_ephemeral_public_key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encryption_my_ephemeral_public_key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_encryption_my_ephemeral_public_key()) { - _this->_impl_.encryption_my_ephemeral_public_key_.Set(from._internal_encryption_my_ephemeral_public_key(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.challenge_, &from._impl_.challenge_, - static_cast(reinterpret_cast(&_impl_.encryption_your_public_key_lead_byte_) - - reinterpret_cast(&_impl_.challenge_)) + sizeof(_impl_.encryption_your_public_key_lead_byte_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramP2PSessionRequestBody) -} - -inline void CMsgSteamDatagramP2PSessionRequestBody::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.peer_identity_string_){} - , decltype(_impl_.platform_){} - , decltype(_impl_.build_){} - , decltype(_impl_.encrypted_data_){} - , decltype(_impl_.encryption_my_ephemeral_public_key_){} - , decltype(_impl_.challenge_){uint64_t{0u}} - , decltype(_impl_.challenge_time_){0u} - , decltype(_impl_.client_connection_id_){0u} - , decltype(_impl_.legacy_peer_steam_id_){uint64_t{0u}} - , decltype(_impl_.peer_connection_id_){0u} - , decltype(_impl_.protocol_version_){0u} - , decltype(_impl_.network_config_version_){uint64_t{0u}} - , decltype(_impl_.encryption_your_public_key_lead_byte_){0u} - }; - _impl_.peer_identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.peer_identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.platform_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.platform_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.build_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.build_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encrypted_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encrypted_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encryption_my_ephemeral_public_key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encryption_my_ephemeral_public_key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramP2PSessionRequestBody::~CMsgSteamDatagramP2PSessionRequestBody() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramP2PSessionRequestBody) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramP2PSessionRequestBody::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.peer_identity_string_.Destroy(); - _impl_.platform_.Destroy(); - _impl_.build_.Destroy(); - _impl_.encrypted_data_.Destroy(); - _impl_.encryption_my_ephemeral_public_key_.Destroy(); -} - -void CMsgSteamDatagramP2PSessionRequestBody::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramP2PSessionRequestBody::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramP2PSessionRequestBody) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.peer_identity_string_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.platform_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.build_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.encrypted_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000010u) { - _impl_.encryption_my_ephemeral_public_key_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000e0u) { - ::memset(&_impl_.challenge_, 0, static_cast( - reinterpret_cast(&_impl_.client_connection_id_) - - reinterpret_cast(&_impl_.challenge_)) + sizeof(_impl_.client_connection_id_)); - } - if (cached_has_bits & 0x00001f00u) { - ::memset(&_impl_.legacy_peer_steam_id_, 0, static_cast( - reinterpret_cast(&_impl_.encryption_your_public_key_lead_byte_) - - reinterpret_cast(&_impl_.legacy_peer_steam_id_)) + sizeof(_impl_.encryption_your_public_key_lead_byte_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramP2PSessionRequestBody::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 challenge_time = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_challenge_time(&has_bits); - _impl_.challenge_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 challenge = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_challenge(&has_bits); - _impl_.challenge_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional fixed32 client_connection_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_client_connection_id(&has_bits); - _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 legacy_peer_steam_id = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { - _Internal::set_has_legacy_peer_steam_id(&has_bits); - _impl_.legacy_peer_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional fixed32 peer_connection_id = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_peer_connection_id(&has_bits); - _impl_.peer_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 protocol_version = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_protocol_version(&has_bits); - _impl_.protocol_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 network_config_version = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_network_config_version(&has_bits); - _impl_.network_config_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string peer_identity_string = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_peer_identity_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramP2PSessionRequestBody.peer_identity_string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string platform = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - auto str = _internal_mutable_platform(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramP2PSessionRequestBody.platform"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string build = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - auto str = _internal_mutable_build(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramP2PSessionRequestBody.build"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bytes encrypted_data = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - auto str = _internal_mutable_encrypted_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 encryption_your_public_key_lead_byte = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_encryption_your_public_key_lead_byte(&has_bits); - _impl_.encryption_your_public_key_lead_byte_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes encryption_my_ephemeral_public_key = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { - auto str = _internal_mutable_encryption_my_ephemeral_public_key(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramP2PSessionRequestBody::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramP2PSessionRequestBody) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 challenge_time = 1; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_challenge_time(), target); - } - - // optional fixed64 challenge = 2; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_challenge(), target); - } - - // optional fixed32 client_connection_id = 3; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_client_connection_id(), target); - } - - // optional fixed64 legacy_peer_steam_id = 4; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_legacy_peer_steam_id(), target); - } - - // optional fixed32 peer_connection_id = 5; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_peer_connection_id(), target); - } - - // optional uint32 protocol_version = 8; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_protocol_version(), target); - } - - // optional uint64 network_config_version = 9; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(9, this->_internal_network_config_version(), target); - } - - // optional string peer_identity_string = 11; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_peer_identity_string().data(), static_cast(this->_internal_peer_identity_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramP2PSessionRequestBody.peer_identity_string"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_peer_identity_string(), target); - } - - // optional string platform = 12; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_platform().data(), static_cast(this->_internal_platform().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramP2PSessionRequestBody.platform"); - target = stream->WriteStringMaybeAliased( - 12, this->_internal_platform(), target); - } - - // optional string build = 13; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_build().data(), static_cast(this->_internal_build().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramP2PSessionRequestBody.build"); - target = stream->WriteStringMaybeAliased( - 13, this->_internal_build(), target); - } - - // optional bytes encrypted_data = 14; - if (cached_has_bits & 0x00000008u) { - target = stream->WriteBytesMaybeAliased( - 14, this->_internal_encrypted_data(), target); - } - - // optional uint32 encryption_your_public_key_lead_byte = 15; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_encryption_your_public_key_lead_byte(), target); - } - - // optional bytes encryption_my_ephemeral_public_key = 16; - if (cached_has_bits & 0x00000010u) { - target = stream->WriteBytesMaybeAliased( - 16, this->_internal_encryption_my_ephemeral_public_key(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramP2PSessionRequestBody) - return target; -} - -size_t CMsgSteamDatagramP2PSessionRequestBody::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramP2PSessionRequestBody) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string peer_identity_string = 11; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_peer_identity_string()); - } - - // optional string platform = 12; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_platform()); - } - - // optional string build = 13; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_build()); - } - - // optional bytes encrypted_data = 14; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_encrypted_data()); - } - - // optional bytes encryption_my_ephemeral_public_key = 16; - if (cached_has_bits & 0x00000010u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_encryption_my_ephemeral_public_key()); - } - - // optional fixed64 challenge = 2; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 8; - } - - // optional fixed32 challenge_time = 1; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional fixed32 client_connection_id = 3; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - if (cached_has_bits & 0x00001f00u) { - // optional fixed64 legacy_peer_steam_id = 4; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 8; - } - - // optional fixed32 peer_connection_id = 5; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 4; - } - - // optional uint32 protocol_version = 8; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_protocol_version()); - } - - // optional uint64 network_config_version = 9; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_network_config_version()); - } - - // optional uint32 encryption_your_public_key_lead_byte = 15; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_encryption_your_public_key_lead_byte()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramP2PSessionRequestBody::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramP2PSessionRequestBody::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramP2PSessionRequestBody::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramP2PSessionRequestBody::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramP2PSessionRequestBody) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_peer_identity_string(from._internal_peer_identity_string()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_platform(from._internal_platform()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_build(from._internal_build()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_encrypted_data(from._internal_encrypted_data()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_set_encryption_my_ephemeral_public_key(from._internal_encryption_my_ephemeral_public_key()); - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.challenge_ = from._impl_.challenge_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.challenge_time_ = from._impl_.challenge_time_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00001f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.legacy_peer_steam_id_ = from._impl_.legacy_peer_steam_id_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.peer_connection_id_ = from._impl_.peer_connection_id_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.protocol_version_ = from._impl_.protocol_version_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.network_config_version_ = from._impl_.network_config_version_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.encryption_your_public_key_lead_byte_ = from._impl_.encryption_your_public_key_lead_byte_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramP2PSessionRequestBody::CopyFrom(const CMsgSteamDatagramP2PSessionRequestBody& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramP2PSessionRequestBody) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramP2PSessionRequestBody::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramP2PSessionRequestBody::InternalSwap(CMsgSteamDatagramP2PSessionRequestBody* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.peer_identity_string_, lhs_arena, - &other->_impl_.peer_identity_string_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.platform_, lhs_arena, - &other->_impl_.platform_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.build_, lhs_arena, - &other->_impl_.build_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.encrypted_data_, lhs_arena, - &other->_impl_.encrypted_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.encryption_my_ephemeral_public_key_, lhs_arena, - &other->_impl_.encryption_my_ephemeral_public_key_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PSessionRequestBody, _impl_.encryption_your_public_key_lead_byte_) - + sizeof(CMsgSteamDatagramP2PSessionRequestBody::_impl_.encryption_your_public_key_lead_byte_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PSessionRequestBody, _impl_.challenge_)>( - reinterpret_cast(&_impl_.challenge_), - reinterpret_cast(&other->_impl_.challenge_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramP2PSessionRequestBody::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[31]); -} - -// =================================================================== - -class CMsgSteamDatagramP2PSessionRequest::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamDatagramP2PSessionRequest* msg); - static void set_has_cert(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_body(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_signature(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgSteamDatagramCertificateSigned& -CMsgSteamDatagramP2PSessionRequest::_Internal::cert(const CMsgSteamDatagramP2PSessionRequest* msg) { - return *msg->_impl_.cert_; -} -void CMsgSteamDatagramP2PSessionRequest::clear_cert() { - if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -CMsgSteamDatagramP2PSessionRequest::CMsgSteamDatagramP2PSessionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramP2PSessionRequest) -} -CMsgSteamDatagramP2PSessionRequest::CMsgSteamDatagramP2PSessionRequest(const CMsgSteamDatagramP2PSessionRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramP2PSessionRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_){} - , decltype(_impl_.signature_){} - , decltype(_impl_.cert_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.body_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.body_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_body()) { - _this->_impl_.body_.Set(from._internal_body(), - _this->GetArenaForAllocation()); - } - _impl_.signature_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_signature()) { - _this->_impl_.signature_.Set(from._internal_signature(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_cert()) { - _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); - } - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramP2PSessionRequest) -} - -inline void CMsgSteamDatagramP2PSessionRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.body_){} - , decltype(_impl_.signature_){} - , decltype(_impl_.cert_){nullptr} - }; - _impl_.body_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.body_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramP2PSessionRequest::~CMsgSteamDatagramP2PSessionRequest() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramP2PSessionRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramP2PSessionRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.body_.Destroy(); - _impl_.signature_.Destroy(); - if (this != internal_default_instance()) delete _impl_.cert_; -} - -void CMsgSteamDatagramP2PSessionRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramP2PSessionRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramP2PSessionRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.body_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.signature_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.cert_ != nullptr); - _impl_.cert_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramP2PSessionRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSteamDatagramCertificateSigned cert = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes body = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_body(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes signature = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_signature(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramP2PSessionRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramP2PSessionRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSteamDatagramCertificateSigned cert = 1; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::cert(this), - _Internal::cert(this).GetCachedSize(), target, stream); - } - - // optional bytes body = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_body(), target); - } - - // optional bytes signature = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 3, this->_internal_signature(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramP2PSessionRequest) - return target; -} - -size_t CMsgSteamDatagramP2PSessionRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramP2PSessionRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional bytes body = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_body()); - } - - // optional bytes signature = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_signature()); - } - - // optional .CMsgSteamDatagramCertificateSigned cert = 1; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cert_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramP2PSessionRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramP2PSessionRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramP2PSessionRequest::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramP2PSessionRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramP2PSessionRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_body(from._internal_body()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_signature(from._internal_signature()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( - from._internal_cert()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramP2PSessionRequest::CopyFrom(const CMsgSteamDatagramP2PSessionRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramP2PSessionRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramP2PSessionRequest::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramP2PSessionRequest::InternalSwap(CMsgSteamDatagramP2PSessionRequest* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.body_, lhs_arena, - &other->_impl_.body_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.signature_, lhs_arena, - &other->_impl_.signature_, rhs_arena - ); - swap(_impl_.cert_, other->_impl_.cert_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramP2PSessionRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[32]); -} - -// =================================================================== - -class CMsgSteamDatagramP2PSessionEstablished::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_seconds_until_shutdown(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_relay_routing_token(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_seq_num_r2c(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgSteamDatagramP2PSessionEstablished::CMsgSteamDatagramP2PSessionEstablished(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramP2PSessionEstablished) -} -CMsgSteamDatagramP2PSessionEstablished::CMsgSteamDatagramP2PSessionEstablished(const CMsgSteamDatagramP2PSessionEstablished& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramP2PSessionEstablished* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.relay_routing_token_){} - , decltype(_impl_.connection_id_){} - , decltype(_impl_.seconds_until_shutdown_){} - , decltype(_impl_.seq_num_r2c_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.relay_routing_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.relay_routing_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_relay_routing_token()) { - _this->_impl_.relay_routing_token_.Set(from._internal_relay_routing_token(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.connection_id_, &from._impl_.connection_id_, - static_cast(reinterpret_cast(&_impl_.seq_num_r2c_) - - reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.seq_num_r2c_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramP2PSessionEstablished) -} - -inline void CMsgSteamDatagramP2PSessionEstablished::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.relay_routing_token_){} - , decltype(_impl_.connection_id_){0u} - , decltype(_impl_.seconds_until_shutdown_){0u} - , decltype(_impl_.seq_num_r2c_){0u} - }; - _impl_.relay_routing_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.relay_routing_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramP2PSessionEstablished::~CMsgSteamDatagramP2PSessionEstablished() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramP2PSessionEstablished) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramP2PSessionEstablished::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.relay_routing_token_.Destroy(); -} - -void CMsgSteamDatagramP2PSessionEstablished::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramP2PSessionEstablished::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramP2PSessionEstablished) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.relay_routing_token_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.connection_id_, 0, static_cast( - reinterpret_cast(&_impl_.seq_num_r2c_) - - reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.seq_num_r2c_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramP2PSessionEstablished::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 connection_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_connection_id(&has_bits); - _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 seconds_until_shutdown = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_seconds_until_shutdown(&has_bits); - _impl_.seconds_until_shutdown_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes relay_routing_token = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_relay_routing_token(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 seq_num_r2c = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_seq_num_r2c(&has_bits); - _impl_.seq_num_r2c_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramP2PSessionEstablished::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramP2PSessionEstablished) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 connection_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_connection_id(), target); - } - - // optional uint32 seconds_until_shutdown = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_seconds_until_shutdown(), target); - } - - // optional bytes relay_routing_token = 4; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 4, this->_internal_relay_routing_token(), target); - } - - // optional uint32 seq_num_r2c = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_seq_num_r2c(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramP2PSessionEstablished) - return target; -} - -size_t CMsgSteamDatagramP2PSessionEstablished::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramP2PSessionEstablished) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional bytes relay_routing_token = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_relay_routing_token()); - } - - // optional fixed32 connection_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional uint32 seconds_until_shutdown = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds_until_shutdown()); - } - - // optional uint32 seq_num_r2c = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_r2c()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramP2PSessionEstablished::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramP2PSessionEstablished::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramP2PSessionEstablished::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramP2PSessionEstablished::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramP2PSessionEstablished) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_relay_routing_token(from._internal_relay_routing_token()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.connection_id_ = from._impl_.connection_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.seconds_until_shutdown_ = from._impl_.seconds_until_shutdown_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.seq_num_r2c_ = from._impl_.seq_num_r2c_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramP2PSessionEstablished::CopyFrom(const CMsgSteamDatagramP2PSessionEstablished& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramP2PSessionEstablished) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramP2PSessionEstablished::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramP2PSessionEstablished::InternalSwap(CMsgSteamDatagramP2PSessionEstablished* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.relay_routing_token_, lhs_arena, - &other->_impl_.relay_routing_token_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PSessionEstablished, _impl_.seq_num_r2c_) - + sizeof(CMsgSteamDatagramP2PSessionEstablished::_impl_.seq_num_r2c_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PSessionEstablished, _impl_.connection_id_)>( - reinterpret_cast(&_impl_.connection_id_), - reinterpret_cast(&other->_impl_.connection_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramP2PSessionEstablished::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[33]); -} - -// =================================================================== - -class CMsgSteamDatagramConnectionStatsP2PClientToRouter::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSteamDatagramConnectionQuality& quality_relay(const CMsgSteamDatagramConnectionStatsP2PClientToRouter* msg); - static void set_has_quality_relay(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgSteamDatagramConnectionQuality& quality_e2e(const CMsgSteamDatagramConnectionStatsP2PClientToRouter* msg); - static void set_has_quality_e2e(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CMsgSteamDatagramP2PRoutingSummary& p2p_routing_summary(const CMsgSteamDatagramConnectionStatsP2PClientToRouter* msg); - static void set_has_p2p_routing_summary(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_forward_target_relay_routing_token(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_forward_target_revision(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_routes(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_ack_peer_routes_revision(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_seq_num_c2r(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_seq_num_e2e(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } -}; - -const ::CMsgSteamDatagramConnectionQuality& -CMsgSteamDatagramConnectionStatsP2PClientToRouter::_Internal::quality_relay(const CMsgSteamDatagramConnectionStatsP2PClientToRouter* msg) { - return *msg->_impl_.quality_relay_; -} -const ::CMsgSteamDatagramConnectionQuality& -CMsgSteamDatagramConnectionStatsP2PClientToRouter::_Internal::quality_e2e(const CMsgSteamDatagramConnectionStatsP2PClientToRouter* msg) { - return *msg->_impl_.quality_e2e_; -} -const ::CMsgSteamDatagramP2PRoutingSummary& -CMsgSteamDatagramConnectionStatsP2PClientToRouter::_Internal::p2p_routing_summary(const CMsgSteamDatagramConnectionStatsP2PClientToRouter* msg) { - return *msg->_impl_.p2p_routing_summary_; -} -void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_quality_relay() { - if (_impl_.quality_relay_ != nullptr) _impl_.quality_relay_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_quality_e2e() { - if (_impl_.quality_e2e_ != nullptr) _impl_.quality_e2e_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -CMsgSteamDatagramConnectionStatsP2PClientToRouter::CMsgSteamDatagramConnectionStatsP2PClientToRouter(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramConnectionStatsP2PClientToRouter) -} -CMsgSteamDatagramConnectionStatsP2PClientToRouter::CMsgSteamDatagramConnectionStatsP2PClientToRouter(const CMsgSteamDatagramConnectionStatsP2PClientToRouter& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramConnectionStatsP2PClientToRouter* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ack_relay_){from._impl_.ack_relay_} - , decltype(_impl_.legacy_ack_e2e_){from._impl_.legacy_ack_e2e_} - , decltype(_impl_.forward_target_relay_routing_token_){} - , decltype(_impl_.routes_){} - , decltype(_impl_.quality_relay_){nullptr} - , decltype(_impl_.quality_e2e_){nullptr} - , decltype(_impl_.p2p_routing_summary_){nullptr} - , decltype(_impl_.flags_){} - , decltype(_impl_.forward_target_revision_){} - , decltype(_impl_.ack_peer_routes_revision_){} - , decltype(_impl_.connection_id_){} - , decltype(_impl_.seq_num_c2r_){} - , decltype(_impl_.seq_num_e2e_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.forward_target_relay_routing_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.forward_target_relay_routing_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_forward_target_relay_routing_token()) { - _this->_impl_.forward_target_relay_routing_token_.Set(from._internal_forward_target_relay_routing_token(), - _this->GetArenaForAllocation()); - } - _impl_.routes_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.routes_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_routes()) { - _this->_impl_.routes_.Set(from._internal_routes(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_quality_relay()) { - _this->_impl_.quality_relay_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_relay_); - } - if (from._internal_has_quality_e2e()) { - _this->_impl_.quality_e2e_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_e2e_); - } - if (from._internal_has_p2p_routing_summary()) { - _this->_impl_.p2p_routing_summary_ = new ::CMsgSteamDatagramP2PRoutingSummary(*from._impl_.p2p_routing_summary_); - } - ::memcpy(&_impl_.flags_, &from._impl_.flags_, - static_cast(reinterpret_cast(&_impl_.seq_num_e2e_) - - reinterpret_cast(&_impl_.flags_)) + sizeof(_impl_.seq_num_e2e_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectionStatsP2PClientToRouter) -} - -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ack_relay_){arena} - , decltype(_impl_.legacy_ack_e2e_){arena} - , decltype(_impl_.forward_target_relay_routing_token_){} - , decltype(_impl_.routes_){} - , decltype(_impl_.quality_relay_){nullptr} - , decltype(_impl_.quality_e2e_){nullptr} - , decltype(_impl_.p2p_routing_summary_){nullptr} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.forward_target_revision_){0u} - , decltype(_impl_.ack_peer_routes_revision_){0u} - , decltype(_impl_.connection_id_){0u} - , decltype(_impl_.seq_num_c2r_){0u} - , decltype(_impl_.seq_num_e2e_){0u} - }; - _impl_.forward_target_relay_routing_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.forward_target_relay_routing_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.routes_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.routes_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramConnectionStatsP2PClientToRouter::~CMsgSteamDatagramConnectionStatsP2PClientToRouter() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectionStatsP2PClientToRouter) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.ack_relay_.~RepeatedField(); - _impl_.legacy_ack_e2e_.~RepeatedField(); - _impl_.forward_target_relay_routing_token_.Destroy(); - _impl_.routes_.Destroy(); - if (this != internal_default_instance()) delete _impl_.quality_relay_; - if (this != internal_default_instance()) delete _impl_.quality_e2e_; - if (this != internal_default_instance()) delete _impl_.p2p_routing_summary_; -} - -void CMsgSteamDatagramConnectionStatsP2PClientToRouter::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramConnectionStatsP2PClientToRouter::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectionStatsP2PClientToRouter) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.ack_relay_.Clear(); - _impl_.legacy_ack_e2e_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.forward_target_relay_routing_token_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.routes_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.quality_relay_ != nullptr); - _impl_.quality_relay_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.quality_e2e_ != nullptr); - _impl_.quality_e2e_->Clear(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(_impl_.p2p_routing_summary_ != nullptr); - _impl_.p2p_routing_summary_->Clear(); - } - } - if (cached_has_bits & 0x000000e0u) { - ::memset(&_impl_.flags_, 0, static_cast( - reinterpret_cast(&_impl_.ack_peer_routes_revision_) - - reinterpret_cast(&_impl_.flags_)) + sizeof(_impl_.ack_peer_routes_revision_)); - } - if (cached_has_bits & 0x00000700u) { - ::memset(&_impl_.connection_id_, 0, static_cast( - reinterpret_cast(&_impl_.seq_num_e2e_) - - reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.seq_num_e2e_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramConnectionStatsP2PClientToRouter::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_quality_relay(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_quality_e2e(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated fixed32 ack_relay = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_ack_relay(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint32_t); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<29>(ptr)); - } else if (static_cast(tag) == 26) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_ack_relay(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated fixed32 legacy_ack_e2e = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_legacy_ack_e2e(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint32_t); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<37>(ptr)); - } else if (static_cast(tag) == 34) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_legacy_ack_e2e(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes forward_target_relay_routing_token = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_forward_target_relay_routing_token(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 forward_target_revision = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_forward_target_revision(&has_bits); - _impl_.forward_target_revision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes routes = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_routes(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ack_peer_routes_revision = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_ack_peer_routes_revision(&has_bits); - _impl_.ack_peer_routes_revision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 connection_id = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { - _Internal::set_has_connection_id(&has_bits); - _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 seq_num_c2r = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_seq_num_c2r(&has_bits); - _impl_.seq_num_c2r_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 seq_num_e2e = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_seq_num_e2e(&has_bits); - _impl_.seq_num_e2e_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - ptr = ctx->ParseMessage(_internal_mutable_p2p_routing_summary(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramConnectionStatsP2PClientToRouter::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectionStatsP2PClientToRouter) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::quality_relay(this), - _Internal::quality_relay(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::quality_e2e(this), - _Internal::quality_e2e(this).GetCachedSize(), target, stream); - } - - // repeated fixed32 ack_relay = 3; - for (int i = 0, n = this->_internal_ack_relay_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_ack_relay(i), target); - } - - // repeated fixed32 legacy_ack_e2e = 4; - for (int i = 0, n = this->_internal_legacy_ack_e2e_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_legacy_ack_e2e(i), target); - } - - // optional uint32 flags = 5; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_flags(), target); - } - - // optional bytes forward_target_relay_routing_token = 6; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 6, this->_internal_forward_target_relay_routing_token(), target); - } - - // optional uint32 forward_target_revision = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_forward_target_revision(), target); - } - - // optional bytes routes = 8; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 8, this->_internal_routes(), target); - } - - // optional uint32 ack_peer_routes_revision = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_ack_peer_routes_revision(), target); - } - - // optional fixed32 connection_id = 10; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(10, this->_internal_connection_id(), target); - } - - // optional uint32 seq_num_c2r = 11; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_seq_num_c2r(), target); - } - - // optional uint32 seq_num_e2e = 12; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_seq_num_e2e(), target); - } - - // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 14; - if (cached_has_bits & 0x00000010u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(14, _Internal::p2p_routing_summary(this), - _Internal::p2p_routing_summary(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramConnectionStatsP2PClientToRouter) - return target; -} - -size_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectionStatsP2PClientToRouter) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated fixed32 ack_relay = 3; - { - unsigned int count = static_cast(this->_internal_ack_relay_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_ack_relay_size()); - total_size += data_size; - } - - // repeated fixed32 legacy_ack_e2e = 4; - { - unsigned int count = static_cast(this->_internal_legacy_ack_e2e_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_legacy_ack_e2e_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bytes forward_target_relay_routing_token = 6; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_forward_target_relay_routing_token()); - } - - // optional bytes routes = 8; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_routes()); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.quality_relay_); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.quality_e2e_); - } - - // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 14; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.p2p_routing_summary_); - } - - // optional uint32 flags = 5; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - // optional uint32 forward_target_revision = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_forward_target_revision()); - } - - // optional uint32 ack_peer_routes_revision = 9; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ack_peer_routes_revision()); - } - - } - if (cached_has_bits & 0x00000700u) { - // optional fixed32 connection_id = 10; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 4; - } - - // optional uint32 seq_num_c2r = 11; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_c2r()); - } - - // optional uint32 seq_num_e2e = 12; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_e2e()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectionStatsP2PClientToRouter::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramConnectionStatsP2PClientToRouter::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectionStatsP2PClientToRouter::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramConnectionStatsP2PClientToRouter::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramConnectionStatsP2PClientToRouter) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.ack_relay_.MergeFrom(from._impl_.ack_relay_); - _this->_impl_.legacy_ack_e2e_.MergeFrom(from._impl_.legacy_ack_e2e_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_forward_target_relay_routing_token(from._internal_forward_target_relay_routing_token()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_routes(from._internal_routes()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_quality_relay()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_quality_relay()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_quality_e2e()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_quality_e2e()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_mutable_p2p_routing_summary()->::CMsgSteamDatagramP2PRoutingSummary::MergeFrom( - from._internal_p2p_routing_summary()); - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.forward_target_revision_ = from._impl_.forward_target_revision_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.ack_peer_routes_revision_ = from._impl_.ack_peer_routes_revision_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000700u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.connection_id_ = from._impl_.connection_id_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.seq_num_c2r_ = from._impl_.seq_num_c2r_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.seq_num_e2e_ = from._impl_.seq_num_e2e_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramConnectionStatsP2PClientToRouter::CopyFrom(const CMsgSteamDatagramConnectionStatsP2PClientToRouter& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectionStatsP2PClientToRouter) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramConnectionStatsP2PClientToRouter::InternalSwap(CMsgSteamDatagramConnectionStatsP2PClientToRouter* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.ack_relay_.InternalSwap(&other->_impl_.ack_relay_); - _impl_.legacy_ack_e2e_.InternalSwap(&other->_impl_.legacy_ack_e2e_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.forward_target_relay_routing_token_, lhs_arena, - &other->_impl_.forward_target_relay_routing_token_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.routes_, lhs_arena, - &other->_impl_.routes_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.seq_num_e2e_) - + sizeof(CMsgSteamDatagramConnectionStatsP2PClientToRouter::_impl_.seq_num_e2e_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsP2PClientToRouter, _impl_.quality_relay_)>( - reinterpret_cast(&_impl_.quality_relay_), - reinterpret_cast(&other->_impl_.quality_relay_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectionStatsP2PClientToRouter::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[34]); -} - -// =================================================================== - -class CMsgSteamDatagramConnectionStatsP2PRouterToClient::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSteamDatagramConnectionQuality& quality_relay(const CMsgSteamDatagramConnectionStatsP2PRouterToClient* msg); - static void set_has_quality_relay(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgSteamDatagramConnectionQuality& quality_e2e(const CMsgSteamDatagramConnectionStatsP2PRouterToClient* msg); - static void set_has_quality_e2e(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_seconds_until_shutdown(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_migrate_request_ip(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_migrate_request_port(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_scoring_penalty_relay_cluster(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_ack_forward_target_revision(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_routes(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_ack_peer_routes_revision(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_seq_num_r2c(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_seq_num_e2e(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } -}; - -const ::CMsgSteamDatagramConnectionQuality& -CMsgSteamDatagramConnectionStatsP2PRouterToClient::_Internal::quality_relay(const CMsgSteamDatagramConnectionStatsP2PRouterToClient* msg) { - return *msg->_impl_.quality_relay_; -} -const ::CMsgSteamDatagramConnectionQuality& -CMsgSteamDatagramConnectionStatsP2PRouterToClient::_Internal::quality_e2e(const CMsgSteamDatagramConnectionStatsP2PRouterToClient* msg) { - return *msg->_impl_.quality_e2e_; -} -void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_quality_relay() { - if (_impl_.quality_relay_ != nullptr) _impl_.quality_relay_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_quality_e2e() { - if (_impl_.quality_e2e_ != nullptr) _impl_.quality_e2e_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -CMsgSteamDatagramConnectionStatsP2PRouterToClient::CMsgSteamDatagramConnectionStatsP2PRouterToClient(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramConnectionStatsP2PRouterToClient) -} -CMsgSteamDatagramConnectionStatsP2PRouterToClient::CMsgSteamDatagramConnectionStatsP2PRouterToClient(const CMsgSteamDatagramConnectionStatsP2PRouterToClient& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramConnectionStatsP2PRouterToClient* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ack_relay_){from._impl_.ack_relay_} - , decltype(_impl_.legacy_ack_e2e_){from._impl_.legacy_ack_e2e_} - , decltype(_impl_.routes_){} - , decltype(_impl_.quality_relay_){nullptr} - , decltype(_impl_.quality_e2e_){nullptr} - , decltype(_impl_.seconds_until_shutdown_){} - , decltype(_impl_.migrate_request_ip_){} - , decltype(_impl_.migrate_request_port_){} - , decltype(_impl_.scoring_penalty_relay_cluster_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.ack_forward_target_revision_){} - , decltype(_impl_.ack_peer_routes_revision_){} - , decltype(_impl_.connection_id_){} - , decltype(_impl_.seq_num_r2c_){} - , decltype(_impl_.seq_num_e2e_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.routes_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.routes_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_routes()) { - _this->_impl_.routes_.Set(from._internal_routes(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_quality_relay()) { - _this->_impl_.quality_relay_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_relay_); - } - if (from._internal_has_quality_e2e()) { - _this->_impl_.quality_e2e_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.quality_e2e_); - } - ::memcpy(&_impl_.seconds_until_shutdown_, &from._impl_.seconds_until_shutdown_, - static_cast(reinterpret_cast(&_impl_.seq_num_e2e_) - - reinterpret_cast(&_impl_.seconds_until_shutdown_)) + sizeof(_impl_.seq_num_e2e_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectionStatsP2PRouterToClient) -} - -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ack_relay_){arena} - , decltype(_impl_.legacy_ack_e2e_){arena} - , decltype(_impl_.routes_){} - , decltype(_impl_.quality_relay_){nullptr} - , decltype(_impl_.quality_e2e_){nullptr} - , decltype(_impl_.seconds_until_shutdown_){0u} - , decltype(_impl_.migrate_request_ip_){0u} - , decltype(_impl_.migrate_request_port_){0u} - , decltype(_impl_.scoring_penalty_relay_cluster_){0u} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.ack_forward_target_revision_){0u} - , decltype(_impl_.ack_peer_routes_revision_){0u} - , decltype(_impl_.connection_id_){0u} - , decltype(_impl_.seq_num_r2c_){0u} - , decltype(_impl_.seq_num_e2e_){0u} - }; - _impl_.routes_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.routes_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramConnectionStatsP2PRouterToClient::~CMsgSteamDatagramConnectionStatsP2PRouterToClient() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectionStatsP2PRouterToClient) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.ack_relay_.~RepeatedField(); - _impl_.legacy_ack_e2e_.~RepeatedField(); - _impl_.routes_.Destroy(); - if (this != internal_default_instance()) delete _impl_.quality_relay_; - if (this != internal_default_instance()) delete _impl_.quality_e2e_; -} - -void CMsgSteamDatagramConnectionStatsP2PRouterToClient::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramConnectionStatsP2PRouterToClient::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectionStatsP2PRouterToClient) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.ack_relay_.Clear(); - _impl_.legacy_ack_e2e_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.routes_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.quality_relay_ != nullptr); - _impl_.quality_relay_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.quality_e2e_ != nullptr); - _impl_.quality_e2e_->Clear(); - } - } - if (cached_has_bits & 0x000000f8u) { - ::memset(&_impl_.seconds_until_shutdown_, 0, static_cast( - reinterpret_cast(&_impl_.flags_) - - reinterpret_cast(&_impl_.seconds_until_shutdown_)) + sizeof(_impl_.flags_)); - } - if (cached_has_bits & 0x00001f00u) { - ::memset(&_impl_.ack_forward_target_revision_, 0, static_cast( - reinterpret_cast(&_impl_.seq_num_e2e_) - - reinterpret_cast(&_impl_.ack_forward_target_revision_)) + sizeof(_impl_.seq_num_e2e_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramConnectionStatsP2PRouterToClient::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_quality_relay(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_quality_e2e(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 seconds_until_shutdown = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_seconds_until_shutdown(&has_bits); - _impl_.seconds_until_shutdown_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 migrate_request_ip = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_migrate_request_ip(&has_bits); - _impl_.migrate_request_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 migrate_request_port = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_migrate_request_port(&has_bits); - _impl_.migrate_request_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 scoring_penalty_relay_cluster = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_scoring_penalty_relay_cluster(&has_bits); - _impl_.scoring_penalty_relay_cluster_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated fixed32 ack_relay = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_ack_relay(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint32_t); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<61>(ptr)); - } else if (static_cast(tag) == 58) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_ack_relay(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated fixed32 legacy_ack_e2e = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_legacy_ack_e2e(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint32_t); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<69>(ptr)); - } else if (static_cast(tag) == 66) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_legacy_ack_e2e(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ack_forward_target_revision = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_ack_forward_target_revision(&has_bits); - _impl_.ack_forward_target_revision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes routes = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_routes(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ack_peer_routes_revision = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_ack_peer_routes_revision(&has_bits); - _impl_.ack_peer_routes_revision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 connection_id = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 109)) { - _Internal::set_has_connection_id(&has_bits); - _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 seq_num_r2c = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_seq_num_r2c(&has_bits); - _impl_.seq_num_r2c_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 seq_num_e2e = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_seq_num_e2e(&has_bits); - _impl_.seq_num_e2e_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramConnectionStatsP2PRouterToClient::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectionStatsP2PRouterToClient) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::quality_relay(this), - _Internal::quality_relay(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::quality_e2e(this), - _Internal::quality_e2e(this).GetCachedSize(), target, stream); - } - - // optional uint32 seconds_until_shutdown = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_seconds_until_shutdown(), target); - } - - // optional fixed32 migrate_request_ip = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_migrate_request_ip(), target); - } - - // optional uint32 migrate_request_port = 5; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_migrate_request_port(), target); - } - - // optional uint32 scoring_penalty_relay_cluster = 6; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_scoring_penalty_relay_cluster(), target); - } - - // repeated fixed32 ack_relay = 7; - for (int i = 0, n = this->_internal_ack_relay_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_ack_relay(i), target); - } - - // repeated fixed32 legacy_ack_e2e = 8; - for (int i = 0, n = this->_internal_legacy_ack_e2e_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(8, this->_internal_legacy_ack_e2e(i), target); - } - - // optional uint32 flags = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_flags(), target); - } - - // optional uint32 ack_forward_target_revision = 10; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_ack_forward_target_revision(), target); - } - - // optional bytes routes = 11; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 11, this->_internal_routes(), target); - } - - // optional uint32 ack_peer_routes_revision = 12; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_ack_peer_routes_revision(), target); - } - - // optional fixed32 connection_id = 13; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(13, this->_internal_connection_id(), target); - } - - // optional uint32 seq_num_r2c = 14; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_seq_num_r2c(), target); - } - - // optional uint32 seq_num_e2e = 15; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_seq_num_e2e(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramConnectionStatsP2PRouterToClient) - return target; -} - -size_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectionStatsP2PRouterToClient) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated fixed32 ack_relay = 7; - { - unsigned int count = static_cast(this->_internal_ack_relay_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_ack_relay_size()); - total_size += data_size; - } - - // repeated fixed32 legacy_ack_e2e = 8; - { - unsigned int count = static_cast(this->_internal_legacy_ack_e2e_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_legacy_ack_e2e_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bytes routes = 11; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_routes()); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.quality_relay_); - } - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.quality_e2e_); - } - - // optional uint32 seconds_until_shutdown = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seconds_until_shutdown()); - } - - // optional fixed32 migrate_request_ip = 4; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional uint32 migrate_request_port = 5; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_migrate_request_port()); - } - - // optional uint32 scoring_penalty_relay_cluster = 6; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_scoring_penalty_relay_cluster()); - } - - // optional uint32 flags = 9; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - } - if (cached_has_bits & 0x00001f00u) { - // optional uint32 ack_forward_target_revision = 10; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ack_forward_target_revision()); - } - - // optional uint32 ack_peer_routes_revision = 12; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ack_peer_routes_revision()); - } - - // optional fixed32 connection_id = 13; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 4; - } - - // optional uint32 seq_num_r2c = 14; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_r2c()); - } - - // optional uint32 seq_num_e2e = 15; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seq_num_e2e()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectionStatsP2PRouterToClient::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramConnectionStatsP2PRouterToClient::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectionStatsP2PRouterToClient::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramConnectionStatsP2PRouterToClient::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramConnectionStatsP2PRouterToClient) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.ack_relay_.MergeFrom(from._impl_.ack_relay_); - _this->_impl_.legacy_ack_e2e_.MergeFrom(from._impl_.legacy_ack_e2e_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_routes(from._internal_routes()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_quality_relay()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_quality_relay()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_quality_e2e()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_quality_e2e()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.seconds_until_shutdown_ = from._impl_.seconds_until_shutdown_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.migrate_request_ip_ = from._impl_.migrate_request_ip_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.migrate_request_port_ = from._impl_.migrate_request_port_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.scoring_penalty_relay_cluster_ = from._impl_.scoring_penalty_relay_cluster_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00001f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.ack_forward_target_revision_ = from._impl_.ack_forward_target_revision_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.ack_peer_routes_revision_ = from._impl_.ack_peer_routes_revision_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.connection_id_ = from._impl_.connection_id_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.seq_num_r2c_ = from._impl_.seq_num_r2c_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.seq_num_e2e_ = from._impl_.seq_num_e2e_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramConnectionStatsP2PRouterToClient::CopyFrom(const CMsgSteamDatagramConnectionStatsP2PRouterToClient& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectionStatsP2PRouterToClient) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramConnectionStatsP2PRouterToClient::InternalSwap(CMsgSteamDatagramConnectionStatsP2PRouterToClient* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.ack_relay_.InternalSwap(&other->_impl_.ack_relay_); - _impl_.legacy_ack_e2e_.InternalSwap(&other->_impl_.legacy_ack_e2e_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.routes_, lhs_arena, - &other->_impl_.routes_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.seq_num_e2e_) - + sizeof(CMsgSteamDatagramConnectionStatsP2PRouterToClient::_impl_.seq_num_e2e_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionStatsP2PRouterToClient, _impl_.quality_relay_)>( - reinterpret_cast(&_impl_.quality_relay_), - reinterpret_cast(&other->_impl_.quality_relay_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectionStatsP2PRouterToClient::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[35]); -} - -// =================================================================== - -class CMsgSteamDatagramP2PBadRouteRouterToClient::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_failed_relay_routing_token(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_ack_forward_target_revision(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_kludge_pad(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgSteamDatagramP2PBadRouteRouterToClient::CMsgSteamDatagramP2PBadRouteRouterToClient(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramP2PBadRouteRouterToClient) -} -CMsgSteamDatagramP2PBadRouteRouterToClient::CMsgSteamDatagramP2PBadRouteRouterToClient(const CMsgSteamDatagramP2PBadRouteRouterToClient& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramP2PBadRouteRouterToClient* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.failed_relay_routing_token_){} - , decltype(_impl_.connection_id_){} - , decltype(_impl_.ack_forward_target_revision_){} - , decltype(_impl_.kludge_pad_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.failed_relay_routing_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.failed_relay_routing_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_failed_relay_routing_token()) { - _this->_impl_.failed_relay_routing_token_.Set(from._internal_failed_relay_routing_token(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.connection_id_, &from._impl_.connection_id_, - static_cast(reinterpret_cast(&_impl_.kludge_pad_) - - reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.kludge_pad_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramP2PBadRouteRouterToClient) -} - -inline void CMsgSteamDatagramP2PBadRouteRouterToClient::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.failed_relay_routing_token_){} - , decltype(_impl_.connection_id_){0u} - , decltype(_impl_.ack_forward_target_revision_){0u} - , decltype(_impl_.kludge_pad_){uint64_t{0u}} - }; - _impl_.failed_relay_routing_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.failed_relay_routing_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramP2PBadRouteRouterToClient::~CMsgSteamDatagramP2PBadRouteRouterToClient() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramP2PBadRouteRouterToClient) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramP2PBadRouteRouterToClient::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.failed_relay_routing_token_.Destroy(); -} - -void CMsgSteamDatagramP2PBadRouteRouterToClient::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramP2PBadRouteRouterToClient::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramP2PBadRouteRouterToClient) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.failed_relay_routing_token_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.connection_id_, 0, static_cast( - reinterpret_cast(&_impl_.kludge_pad_) - - reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.kludge_pad_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramP2PBadRouteRouterToClient::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 connection_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_connection_id(&has_bits); - _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional bytes failed_relay_routing_token = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_failed_relay_routing_token(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ack_forward_target_revision = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_ack_forward_target_revision(&has_bits); - _impl_.ack_forward_target_revision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 kludge_pad = 99; - case 99: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_kludge_pad(&has_bits); - _impl_.kludge_pad_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramP2PBadRouteRouterToClient::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramP2PBadRouteRouterToClient) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 connection_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_connection_id(), target); - } - - // optional bytes failed_relay_routing_token = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_failed_relay_routing_token(), target); - } - - // optional uint32 ack_forward_target_revision = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_ack_forward_target_revision(), target); - } - - // optional fixed64 kludge_pad = 99; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(99, this->_internal_kludge_pad(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramP2PBadRouteRouterToClient) - return target; -} - -size_t CMsgSteamDatagramP2PBadRouteRouterToClient::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramP2PBadRouteRouterToClient) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional bytes failed_relay_routing_token = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_failed_relay_routing_token()); - } - - // optional fixed32 connection_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional uint32 ack_forward_target_revision = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ack_forward_target_revision()); - } - - // optional fixed64 kludge_pad = 99; - if (cached_has_bits & 0x00000008u) { - total_size += 2 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramP2PBadRouteRouterToClient::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramP2PBadRouteRouterToClient::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramP2PBadRouteRouterToClient::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramP2PBadRouteRouterToClient::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramP2PBadRouteRouterToClient) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_failed_relay_routing_token(from._internal_failed_relay_routing_token()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.connection_id_ = from._impl_.connection_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.ack_forward_target_revision_ = from._impl_.ack_forward_target_revision_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.kludge_pad_ = from._impl_.kludge_pad_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramP2PBadRouteRouterToClient::CopyFrom(const CMsgSteamDatagramP2PBadRouteRouterToClient& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramP2PBadRouteRouterToClient) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramP2PBadRouteRouterToClient::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramP2PBadRouteRouterToClient::InternalSwap(CMsgSteamDatagramP2PBadRouteRouterToClient* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.failed_relay_routing_token_, lhs_arena, - &other->_impl_.failed_relay_routing_token_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PBadRouteRouterToClient, _impl_.kludge_pad_) - + sizeof(CMsgSteamDatagramP2PBadRouteRouterToClient::_impl_.kludge_pad_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PBadRouteRouterToClient, _impl_.connection_id_)>( - reinterpret_cast(&_impl_.connection_id_), - reinterpret_cast(&other->_impl_.connection_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramP2PBadRouteRouterToClient::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[36]); -} - -// =================================================================== - -class CMsgSteamDatagramP2PRoutes_RelayCluster::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_pop_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_ping_ms(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_score_penalty(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_session_relay_routing_token(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSteamDatagramP2PRoutes_RelayCluster::CMsgSteamDatagramP2PRoutes_RelayCluster(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramP2PRoutes.RelayCluster) -} -CMsgSteamDatagramP2PRoutes_RelayCluster::CMsgSteamDatagramP2PRoutes_RelayCluster(const CMsgSteamDatagramP2PRoutes_RelayCluster& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramP2PRoutes_RelayCluster* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.session_relay_routing_token_){} - , decltype(_impl_.pop_id_){} - , decltype(_impl_.ping_ms_){} - , decltype(_impl_.score_penalty_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.session_relay_routing_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.session_relay_routing_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_session_relay_routing_token()) { - _this->_impl_.session_relay_routing_token_.Set(from._internal_session_relay_routing_token(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.pop_id_, &from._impl_.pop_id_, - static_cast(reinterpret_cast(&_impl_.score_penalty_) - - reinterpret_cast(&_impl_.pop_id_)) + sizeof(_impl_.score_penalty_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramP2PRoutes.RelayCluster) -} - -inline void CMsgSteamDatagramP2PRoutes_RelayCluster::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.session_relay_routing_token_){} - , decltype(_impl_.pop_id_){0u} - , decltype(_impl_.ping_ms_){0u} - , decltype(_impl_.score_penalty_){0u} - }; - _impl_.session_relay_routing_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.session_relay_routing_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramP2PRoutes_RelayCluster::~CMsgSteamDatagramP2PRoutes_RelayCluster() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramP2PRoutes.RelayCluster) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramP2PRoutes_RelayCluster::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.session_relay_routing_token_.Destroy(); -} - -void CMsgSteamDatagramP2PRoutes_RelayCluster::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramP2PRoutes_RelayCluster::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramP2PRoutes.RelayCluster) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.session_relay_routing_token_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.pop_id_, 0, static_cast( - reinterpret_cast(&_impl_.score_penalty_) - - reinterpret_cast(&_impl_.pop_id_)) + sizeof(_impl_.score_penalty_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramP2PRoutes_RelayCluster::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 pop_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_pop_id(&has_bits); - _impl_.pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 ping_ms = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_ping_ms(&has_bits); - _impl_.ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 score_penalty = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_score_penalty(&has_bits); - _impl_.score_penalty_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes session_relay_routing_token = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_session_relay_routing_token(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramP2PRoutes_RelayCluster::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramP2PRoutes.RelayCluster) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 pop_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_pop_id(), target); - } - - // optional uint32 ping_ms = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_ping_ms(), target); - } - - // optional uint32 score_penalty = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_score_penalty(), target); - } - - // optional bytes session_relay_routing_token = 4; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 4, this->_internal_session_relay_routing_token(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramP2PRoutes.RelayCluster) - return target; -} - -size_t CMsgSteamDatagramP2PRoutes_RelayCluster::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramP2PRoutes.RelayCluster) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional bytes session_relay_routing_token = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_session_relay_routing_token()); - } - - // optional fixed32 pop_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional uint32 ping_ms = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ping_ms()); - } - - // optional uint32 score_penalty = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_score_penalty()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramP2PRoutes_RelayCluster::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramP2PRoutes_RelayCluster::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramP2PRoutes_RelayCluster::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramP2PRoutes_RelayCluster::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramP2PRoutes.RelayCluster) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_session_relay_routing_token(from._internal_session_relay_routing_token()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.pop_id_ = from._impl_.pop_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.ping_ms_ = from._impl_.ping_ms_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.score_penalty_ = from._impl_.score_penalty_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramP2PRoutes_RelayCluster::CopyFrom(const CMsgSteamDatagramP2PRoutes_RelayCluster& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramP2PRoutes.RelayCluster) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramP2PRoutes_RelayCluster::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramP2PRoutes_RelayCluster::InternalSwap(CMsgSteamDatagramP2PRoutes_RelayCluster* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.session_relay_routing_token_, lhs_arena, - &other->_impl_.session_relay_routing_token_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PRoutes_RelayCluster, _impl_.score_penalty_) - + sizeof(CMsgSteamDatagramP2PRoutes_RelayCluster::_impl_.score_penalty_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PRoutes_RelayCluster, _impl_.pop_id_)>( - reinterpret_cast(&_impl_.pop_id_), - reinterpret_cast(&other->_impl_.pop_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramP2PRoutes_RelayCluster::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[37]); -} - -// =================================================================== - -class CMsgSteamDatagramP2PRoutes_Route::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_my_pop_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_your_pop_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_legacy_score(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_interior_score(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgSteamDatagramP2PRoutes_Route::CMsgSteamDatagramP2PRoutes_Route(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramP2PRoutes.Route) -} -CMsgSteamDatagramP2PRoutes_Route::CMsgSteamDatagramP2PRoutes_Route(const CMsgSteamDatagramP2PRoutes_Route& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramP2PRoutes_Route* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.my_pop_id_){} - , decltype(_impl_.your_pop_id_){} - , decltype(_impl_.legacy_score_){} - , decltype(_impl_.interior_score_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.my_pop_id_, &from._impl_.my_pop_id_, - static_cast(reinterpret_cast(&_impl_.interior_score_) - - reinterpret_cast(&_impl_.my_pop_id_)) + sizeof(_impl_.interior_score_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramP2PRoutes.Route) -} - -inline void CMsgSteamDatagramP2PRoutes_Route::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.my_pop_id_){0u} - , decltype(_impl_.your_pop_id_){0u} - , decltype(_impl_.legacy_score_){0u} - , decltype(_impl_.interior_score_){0u} - }; -} - -CMsgSteamDatagramP2PRoutes_Route::~CMsgSteamDatagramP2PRoutes_Route() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramP2PRoutes.Route) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramP2PRoutes_Route::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSteamDatagramP2PRoutes_Route::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramP2PRoutes_Route::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramP2PRoutes.Route) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.my_pop_id_, 0, static_cast( - reinterpret_cast(&_impl_.interior_score_) - - reinterpret_cast(&_impl_.my_pop_id_)) + sizeof(_impl_.interior_score_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramP2PRoutes_Route::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 my_pop_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_my_pop_id(&has_bits); - _impl_.my_pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 your_pop_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_your_pop_id(&has_bits); - _impl_.your_pop_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 legacy_score = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_legacy_score(&has_bits); - _impl_.legacy_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 interior_score = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_interior_score(&has_bits); - _impl_.interior_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramP2PRoutes_Route::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramP2PRoutes.Route) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 my_pop_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_my_pop_id(), target); - } - - // optional fixed32 your_pop_id = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_your_pop_id(), target); - } - - // optional uint32 legacy_score = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_legacy_score(), target); - } - - // optional uint32 interior_score = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_interior_score(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramP2PRoutes.Route) - return target; -} - -size_t CMsgSteamDatagramP2PRoutes_Route::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramP2PRoutes.Route) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional fixed32 my_pop_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional fixed32 your_pop_id = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional uint32 legacy_score = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_legacy_score()); - } - - // optional uint32 interior_score = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_interior_score()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramP2PRoutes_Route::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramP2PRoutes_Route::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramP2PRoutes_Route::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramP2PRoutes_Route::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramP2PRoutes.Route) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.my_pop_id_ = from._impl_.my_pop_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.your_pop_id_ = from._impl_.your_pop_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.legacy_score_ = from._impl_.legacy_score_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.interior_score_ = from._impl_.interior_score_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramP2PRoutes_Route::CopyFrom(const CMsgSteamDatagramP2PRoutes_Route& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramP2PRoutes.Route) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramP2PRoutes_Route::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramP2PRoutes_Route::InternalSwap(CMsgSteamDatagramP2PRoutes_Route* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PRoutes_Route, _impl_.interior_score_) - + sizeof(CMsgSteamDatagramP2PRoutes_Route::_impl_.interior_score_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramP2PRoutes_Route, _impl_.my_pop_id_)>( - reinterpret_cast(&_impl_.my_pop_id_), - reinterpret_cast(&other->_impl_.my_pop_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramP2PRoutes_Route::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[38]); -} - -// =================================================================== - -class CMsgSteamDatagramP2PRoutes::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_revision(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSteamDatagramP2PRoutes::CMsgSteamDatagramP2PRoutes(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramP2PRoutes) -} -CMsgSteamDatagramP2PRoutes::CMsgSteamDatagramP2PRoutes(const CMsgSteamDatagramP2PRoutes& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramP2PRoutes* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.relay_clusters_){from._impl_.relay_clusters_} - , decltype(_impl_.routes_){from._impl_.routes_} - , decltype(_impl_.revision_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.revision_ = from._impl_.revision_; - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramP2PRoutes) -} - -inline void CMsgSteamDatagramP2PRoutes::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.relay_clusters_){arena} - , decltype(_impl_.routes_){arena} - , decltype(_impl_.revision_){0u} - }; -} - -CMsgSteamDatagramP2PRoutes::~CMsgSteamDatagramP2PRoutes() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramP2PRoutes) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramP2PRoutes::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.relay_clusters_.~RepeatedPtrField(); - _impl_.routes_.~RepeatedPtrField(); -} - -void CMsgSteamDatagramP2PRoutes::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramP2PRoutes::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramP2PRoutes) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.relay_clusters_.Clear(); - _impl_.routes_.Clear(); - _impl_.revision_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramP2PRoutes::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CMsgSteamDatagramP2PRoutes.RelayCluster relay_clusters = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_relay_clusters(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CMsgSteamDatagramP2PRoutes.Route routes = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_routes(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 revision = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_revision(&has_bits); - _impl_.revision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramP2PRoutes::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramP2PRoutes) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CMsgSteamDatagramP2PRoutes.RelayCluster relay_clusters = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_relay_clusters_size()); i < n; i++) { - const auto& repfield = this->_internal_relay_clusters(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CMsgSteamDatagramP2PRoutes.Route routes = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_routes_size()); i < n; i++) { - const auto& repfield = this->_internal_routes(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 revision = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_revision(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramP2PRoutes) - return target; -} - -size_t CMsgSteamDatagramP2PRoutes::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramP2PRoutes) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSteamDatagramP2PRoutes.RelayCluster relay_clusters = 1; - total_size += 1UL * this->_internal_relay_clusters_size(); - for (const auto& msg : this->_impl_.relay_clusters_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CMsgSteamDatagramP2PRoutes.Route routes = 2; - total_size += 1UL * this->_internal_routes_size(); - for (const auto& msg : this->_impl_.routes_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional uint32 revision = 3; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_revision()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramP2PRoutes::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramP2PRoutes::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramP2PRoutes::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramP2PRoutes::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramP2PRoutes) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.relay_clusters_.MergeFrom(from._impl_.relay_clusters_); - _this->_impl_.routes_.MergeFrom(from._impl_.routes_); - if (from._internal_has_revision()) { - _this->_internal_set_revision(from._internal_revision()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramP2PRoutes::CopyFrom(const CMsgSteamDatagramP2PRoutes& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramP2PRoutes) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramP2PRoutes::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramP2PRoutes::InternalSwap(CMsgSteamDatagramP2PRoutes* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.relay_clusters_.InternalSwap(&other->_impl_.relay_clusters_); - _impl_.routes_.InternalSwap(&other->_impl_.routes_); - swap(_impl_.revision_, other->_impl_.revision_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramP2PRoutes::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[39]); -} - -// =================================================================== - -class CMsgSteamDatagramSetSecondaryAddressRequest::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_client_main_ip(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_client_main_port(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_client_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_client_identity(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_request_send_duplication(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_kludge_pad(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgSteamDatagramSetSecondaryAddressRequest::CMsgSteamDatagramSetSecondaryAddressRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramSetSecondaryAddressRequest) -} -CMsgSteamDatagramSetSecondaryAddressRequest::CMsgSteamDatagramSetSecondaryAddressRequest(const CMsgSteamDatagramSetSecondaryAddressRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramSetSecondaryAddressRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.client_identity_){} - , decltype(_impl_.kludge_pad_){} - , decltype(_impl_.client_main_ip_){} - , decltype(_impl_.client_main_port_){} - , decltype(_impl_.client_connection_id_){} - , decltype(_impl_.request_send_duplication_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.client_identity_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.client_identity_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_client_identity()) { - _this->_impl_.client_identity_.Set(from._internal_client_identity(), - _this->GetArenaForAllocation()); - } - _impl_.kludge_pad_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.kludge_pad_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_kludge_pad()) { - _this->_impl_.kludge_pad_.Set(from._internal_kludge_pad(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.client_main_ip_, &from._impl_.client_main_ip_, - static_cast(reinterpret_cast(&_impl_.request_send_duplication_) - - reinterpret_cast(&_impl_.client_main_ip_)) + sizeof(_impl_.request_send_duplication_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramSetSecondaryAddressRequest) -} - -inline void CMsgSteamDatagramSetSecondaryAddressRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.client_identity_){} - , decltype(_impl_.kludge_pad_){} - , decltype(_impl_.client_main_ip_){0u} - , decltype(_impl_.client_main_port_){0u} - , decltype(_impl_.client_connection_id_){0u} - , decltype(_impl_.request_send_duplication_){false} - }; - _impl_.client_identity_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.client_identity_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.kludge_pad_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.kludge_pad_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramSetSecondaryAddressRequest::~CMsgSteamDatagramSetSecondaryAddressRequest() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramSetSecondaryAddressRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramSetSecondaryAddressRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.client_identity_.Destroy(); - _impl_.kludge_pad_.Destroy(); -} - -void CMsgSteamDatagramSetSecondaryAddressRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramSetSecondaryAddressRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramSetSecondaryAddressRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.client_identity_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.kludge_pad_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000003cu) { - ::memset(&_impl_.client_main_ip_, 0, static_cast( - reinterpret_cast(&_impl_.request_send_duplication_) - - reinterpret_cast(&_impl_.client_main_ip_)) + sizeof(_impl_.request_send_duplication_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramSetSecondaryAddressRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 client_main_ip = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_client_main_ip(&has_bits); - _impl_.client_main_ip_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 client_main_port = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_client_main_port(&has_bits); - _impl_.client_main_port_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 client_connection_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_client_connection_id(&has_bits); - _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional string client_identity = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_client_identity(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramSetSecondaryAddressRequest.client_identity"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool request_send_duplication = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_request_send_duplication(&has_bits); - _impl_.request_send_duplication_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes kludge_pad = 99; - case 99: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_kludge_pad(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramSetSecondaryAddressRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramSetSecondaryAddressRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 client_main_ip = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_client_main_ip(), target); - } - - // optional fixed32 client_main_port = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_client_main_port(), target); - } - - // optional fixed32 client_connection_id = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_client_connection_id(), target); - } - - // optional string client_identity = 4; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_client_identity().data(), static_cast(this->_internal_client_identity().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramSetSecondaryAddressRequest.client_identity"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_client_identity(), target); - } - - // optional bool request_send_duplication = 5; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_request_send_duplication(), target); - } - - // optional bytes kludge_pad = 99; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 99, this->_internal_kludge_pad(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramSetSecondaryAddressRequest) - return target; -} - -size_t CMsgSteamDatagramSetSecondaryAddressRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramSetSecondaryAddressRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional string client_identity = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_client_identity()); - } - - // optional bytes kludge_pad = 99; - if (cached_has_bits & 0x00000002u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_kludge_pad()); - } - - // optional fixed32 client_main_ip = 1; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional fixed32 client_main_port = 2; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - // optional fixed32 client_connection_id = 3; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional bool request_send_duplication = 5; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramSetSecondaryAddressRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramSetSecondaryAddressRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramSetSecondaryAddressRequest::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramSetSecondaryAddressRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramSetSecondaryAddressRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_client_identity(from._internal_client_identity()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_kludge_pad(from._internal_kludge_pad()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.client_main_ip_ = from._impl_.client_main_ip_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.client_main_port_ = from._impl_.client_main_port_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.request_send_duplication_ = from._impl_.request_send_duplication_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramSetSecondaryAddressRequest::CopyFrom(const CMsgSteamDatagramSetSecondaryAddressRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramSetSecondaryAddressRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramSetSecondaryAddressRequest::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramSetSecondaryAddressRequest::InternalSwap(CMsgSteamDatagramSetSecondaryAddressRequest* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.client_identity_, lhs_arena, - &other->_impl_.client_identity_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.kludge_pad_, lhs_arena, - &other->_impl_.kludge_pad_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramSetSecondaryAddressRequest, _impl_.request_send_duplication_) - + sizeof(CMsgSteamDatagramSetSecondaryAddressRequest::_impl_.request_send_duplication_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramSetSecondaryAddressRequest, _impl_.client_main_ip_)>( - reinterpret_cast(&_impl_.client_main_ip_), - reinterpret_cast(&other->_impl_.client_main_ip_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramSetSecondaryAddressRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[40]); -} - -// =================================================================== - -class CMsgSteamDatagramSetSecondaryAddressResult::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_success(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_message(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSteamDatagramSetSecondaryAddressResult::CMsgSteamDatagramSetSecondaryAddressResult(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramSetSecondaryAddressResult) -} -CMsgSteamDatagramSetSecondaryAddressResult::CMsgSteamDatagramSetSecondaryAddressResult(const CMsgSteamDatagramSetSecondaryAddressResult& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramSetSecondaryAddressResult* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.message_){} - , decltype(_impl_.success_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_message()) { - _this->_impl_.message_.Set(from._internal_message(), - _this->GetArenaForAllocation()); - } - _this->_impl_.success_ = from._impl_.success_; - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramSetSecondaryAddressResult) -} - -inline void CMsgSteamDatagramSetSecondaryAddressResult::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.message_){} - , decltype(_impl_.success_){false} - }; - _impl_.message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramSetSecondaryAddressResult::~CMsgSteamDatagramSetSecondaryAddressResult() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramSetSecondaryAddressResult) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramSetSecondaryAddressResult::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.message_.Destroy(); -} - -void CMsgSteamDatagramSetSecondaryAddressResult::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramSetSecondaryAddressResult::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramSetSecondaryAddressResult) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.message_.ClearNonDefaultToEmpty(); - } - _impl_.success_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramSetSecondaryAddressResult::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool success = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_success(&has_bits); - _impl_.success_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string message = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_message(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramSetSecondaryAddressResult.message"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramSetSecondaryAddressResult::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramSetSecondaryAddressResult) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool success = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_success(), target); - } - - // optional string message = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_message().data(), static_cast(this->_internal_message().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramSetSecondaryAddressResult.message"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_message(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramSetSecondaryAddressResult) - return target; -} - -size_t CMsgSteamDatagramSetSecondaryAddressResult::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramSetSecondaryAddressResult) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string message = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_message()); - } - - // optional bool success = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramSetSecondaryAddressResult::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramSetSecondaryAddressResult::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramSetSecondaryAddressResult::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramSetSecondaryAddressResult::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramSetSecondaryAddressResult) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_message(from._internal_message()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.success_ = from._impl_.success_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramSetSecondaryAddressResult::CopyFrom(const CMsgSteamDatagramSetSecondaryAddressResult& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramSetSecondaryAddressResult) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramSetSecondaryAddressResult::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramSetSecondaryAddressResult::InternalSwap(CMsgSteamDatagramSetSecondaryAddressResult* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.message_, lhs_arena, - &other->_impl_.message_, rhs_arena - ); - swap(_impl_.success_, other->_impl_.success_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramSetSecondaryAddressResult::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_getter, &descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto_once, - file_level_metadata_steamdatagram_5fmessages_5fsdr_2eproto[41]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingIPAddress* -Arena::CreateMaybeMessage< ::CMsgSteamNetworkingIPAddress >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamNetworkingIPAddress >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramSignedMessageGeneric* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramSignedMessageGeneric >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramSignedMessageGeneric >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramRouterPingReply_RouteException* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramRouterPingReply_RouteException >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramRouterPingReply_RouteException >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramRouterPingReply_AltAddress* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramRouterPingReply_AltAddress >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramRouterPingReply_AltAddress >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramRouterPingReply* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramRouterPingReply >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramRouterPingReply >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramGameserverPingRequestBody* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramGameserverPingRequestBody >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramGameserverPingRequestBody >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramGameserverPingRequestEnvelope* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramGameserverPingRequestEnvelope >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramGameserverPingRequestEnvelope >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramGameserverPingReplyData* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramGameserverPingReplyData >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramGameserverPingReplyData >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramNoSessionRelayToClient* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramNoSessionRelayToClient >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramNoSessionRelayToClient >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramNoSessionRelayToPeer* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramNoSessionRelayToPeer >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramNoSessionRelayToPeer >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTOSTreatment* -Arena::CreateMaybeMessage< ::CMsgTOSTreatment >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTOSTreatment >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramClientPingSampleRequest* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramClientPingSampleRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramClientPingSampleRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramClientPingSampleReply_POP* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramClientPingSampleReply_POP >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramClientPingSampleReply_POP >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramClientPingSampleReply* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramClientPingSampleReply >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramClientPingSampleReply >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramClientSwitchedPrimary* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramClientSwitchedPrimary >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramClientSwitchedPrimary >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectRequest* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectOK* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectOK >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectOK >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingP2PSDRRoutingSummary* -Arena::CreateMaybeMessage< ::CMsgSteamNetworkingP2PSDRRoutingSummary >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamNetworkingP2PSDRRoutingSummary >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramP2PRoutingSummary* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramP2PRoutingSummary >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramP2PRoutingSummary >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectionClosed* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectionClosed >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectionClosed >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramNoConnection* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramNoConnection >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramNoConnection >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramGameserverSessionRequest* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramGameserverSessionRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramGameserverSessionRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramGameserverSessionEstablished* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramGameserverSessionEstablished >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramGameserverSessionEstablished >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectionStatsClientToRouter* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectionStatsClientToRouter >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectionStatsClientToRouter >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectionStatsRouterToClient* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectionStatsRouterToClient >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectionStatsRouterToClient >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectionStatsRouterToServer* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectionStatsRouterToServer >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectionStatsRouterToServer >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectionStatsServerToRouter* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectionStatsServerToRouter >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectionStatsServerToRouter >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramP2PSessionRequestBody* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramP2PSessionRequestBody >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramP2PSessionRequestBody >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramP2PSessionRequest* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramP2PSessionRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramP2PSessionRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramP2PSessionEstablished* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramP2PSessionEstablished >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramP2PSessionEstablished >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectionStatsP2PClientToRouter* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectionStatsP2PClientToRouter >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectionStatsP2PClientToRouter >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectionStatsP2PRouterToClient* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectionStatsP2PRouterToClient >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectionStatsP2PRouterToClient >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramP2PBadRouteRouterToClient* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramP2PBadRouteRouterToClient >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramP2PBadRouteRouterToClient >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramP2PRoutes_RelayCluster* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramP2PRoutes_RelayCluster >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramP2PRoutes_RelayCluster >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramP2PRoutes_Route* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramP2PRoutes_Route >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramP2PRoutes_Route >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramP2PRoutes* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramP2PRoutes >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramP2PRoutes >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramSetSecondaryAddressRequest* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramSetSecondaryAddressRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramSetSecondaryAddressRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramSetSecondaryAddressResult* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramSetSecondaryAddressResult >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramSetSecondaryAddressResult >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/steamdatagram_messages_sdr.pb.h b/protobuf/generated/steamdatagram_messages_sdr.pb.h deleted file mode 100644 index 43a6dc3ad..000000000 --- a/protobuf/generated/steamdatagram_messages_sdr.pb.h +++ /dev/null @@ -1,25968 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steamdatagram_messages_sdr.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_steamdatagram_5fmessages_5fsdr_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_steamdatagram_5fmessages_5fsdr_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "steamnetworkingsockets_messages_certs.pb.h" -#include "steamnetworkingsockets_messages.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_steamdatagram_5fmessages_5fsdr_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_steamdatagram_5fmessages_5fsdr_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto; -class CMsgSteamDatagramClientPingSampleReply; -struct CMsgSteamDatagramClientPingSampleReplyDefaultTypeInternal; -extern CMsgSteamDatagramClientPingSampleReplyDefaultTypeInternal _CMsgSteamDatagramClientPingSampleReply_default_instance_; -class CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter; -struct CMsgSteamDatagramClientPingSampleReply_LegacyDataCenterDefaultTypeInternal; -extern CMsgSteamDatagramClientPingSampleReply_LegacyDataCenterDefaultTypeInternal _CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter_default_instance_; -class CMsgSteamDatagramClientPingSampleReply_POP; -struct CMsgSteamDatagramClientPingSampleReply_POPDefaultTypeInternal; -extern CMsgSteamDatagramClientPingSampleReply_POPDefaultTypeInternal _CMsgSteamDatagramClientPingSampleReply_POP_default_instance_; -class CMsgSteamDatagramClientPingSampleReply_POP_AltAddress; -struct CMsgSteamDatagramClientPingSampleReply_POP_AltAddressDefaultTypeInternal; -extern CMsgSteamDatagramClientPingSampleReply_POP_AltAddressDefaultTypeInternal _CMsgSteamDatagramClientPingSampleReply_POP_AltAddress_default_instance_; -class CMsgSteamDatagramClientPingSampleRequest; -struct CMsgSteamDatagramClientPingSampleRequestDefaultTypeInternal; -extern CMsgSteamDatagramClientPingSampleRequestDefaultTypeInternal _CMsgSteamDatagramClientPingSampleRequest_default_instance_; -class CMsgSteamDatagramClientSwitchedPrimary; -struct CMsgSteamDatagramClientSwitchedPrimaryDefaultTypeInternal; -extern CMsgSteamDatagramClientSwitchedPrimaryDefaultTypeInternal _CMsgSteamDatagramClientSwitchedPrimary_default_instance_; -class CMsgSteamDatagramClientSwitchedPrimary_RouterQuality; -struct CMsgSteamDatagramClientSwitchedPrimary_RouterQualityDefaultTypeInternal; -extern CMsgSteamDatagramClientSwitchedPrimary_RouterQualityDefaultTypeInternal _CMsgSteamDatagramClientSwitchedPrimary_RouterQuality_default_instance_; -class CMsgSteamDatagramConnectOK; -struct CMsgSteamDatagramConnectOKDefaultTypeInternal; -extern CMsgSteamDatagramConnectOKDefaultTypeInternal _CMsgSteamDatagramConnectOK_default_instance_; -class CMsgSteamDatagramConnectRequest; -struct CMsgSteamDatagramConnectRequestDefaultTypeInternal; -extern CMsgSteamDatagramConnectRequestDefaultTypeInternal _CMsgSteamDatagramConnectRequest_default_instance_; -class CMsgSteamDatagramConnectionClosed; -struct CMsgSteamDatagramConnectionClosedDefaultTypeInternal; -extern CMsgSteamDatagramConnectionClosedDefaultTypeInternal _CMsgSteamDatagramConnectionClosed_default_instance_; -class CMsgSteamDatagramConnectionStatsClientToRouter; -struct CMsgSteamDatagramConnectionStatsClientToRouterDefaultTypeInternal; -extern CMsgSteamDatagramConnectionStatsClientToRouterDefaultTypeInternal _CMsgSteamDatagramConnectionStatsClientToRouter_default_instance_; -class CMsgSteamDatagramConnectionStatsP2PClientToRouter; -struct CMsgSteamDatagramConnectionStatsP2PClientToRouterDefaultTypeInternal; -extern CMsgSteamDatagramConnectionStatsP2PClientToRouterDefaultTypeInternal _CMsgSteamDatagramConnectionStatsP2PClientToRouter_default_instance_; -class CMsgSteamDatagramConnectionStatsP2PRouterToClient; -struct CMsgSteamDatagramConnectionStatsP2PRouterToClientDefaultTypeInternal; -extern CMsgSteamDatagramConnectionStatsP2PRouterToClientDefaultTypeInternal _CMsgSteamDatagramConnectionStatsP2PRouterToClient_default_instance_; -class CMsgSteamDatagramConnectionStatsRouterToClient; -struct CMsgSteamDatagramConnectionStatsRouterToClientDefaultTypeInternal; -extern CMsgSteamDatagramConnectionStatsRouterToClientDefaultTypeInternal _CMsgSteamDatagramConnectionStatsRouterToClient_default_instance_; -class CMsgSteamDatagramConnectionStatsRouterToServer; -struct CMsgSteamDatagramConnectionStatsRouterToServerDefaultTypeInternal; -extern CMsgSteamDatagramConnectionStatsRouterToServerDefaultTypeInternal _CMsgSteamDatagramConnectionStatsRouterToServer_default_instance_; -class CMsgSteamDatagramConnectionStatsServerToRouter; -struct CMsgSteamDatagramConnectionStatsServerToRouterDefaultTypeInternal; -extern CMsgSteamDatagramConnectionStatsServerToRouterDefaultTypeInternal _CMsgSteamDatagramConnectionStatsServerToRouter_default_instance_; -class CMsgSteamDatagramGameserverPingReplyData; -struct CMsgSteamDatagramGameserverPingReplyDataDefaultTypeInternal; -extern CMsgSteamDatagramGameserverPingReplyDataDefaultTypeInternal _CMsgSteamDatagramGameserverPingReplyData_default_instance_; -class CMsgSteamDatagramGameserverPingRequestBody; -struct CMsgSteamDatagramGameserverPingRequestBodyDefaultTypeInternal; -extern CMsgSteamDatagramGameserverPingRequestBodyDefaultTypeInternal _CMsgSteamDatagramGameserverPingRequestBody_default_instance_; -class CMsgSteamDatagramGameserverPingRequestEnvelope; -struct CMsgSteamDatagramGameserverPingRequestEnvelopeDefaultTypeInternal; -extern CMsgSteamDatagramGameserverPingRequestEnvelopeDefaultTypeInternal _CMsgSteamDatagramGameserverPingRequestEnvelope_default_instance_; -class CMsgSteamDatagramGameserverSessionEstablished; -struct CMsgSteamDatagramGameserverSessionEstablishedDefaultTypeInternal; -extern CMsgSteamDatagramGameserverSessionEstablishedDefaultTypeInternal _CMsgSteamDatagramGameserverSessionEstablished_default_instance_; -class CMsgSteamDatagramGameserverSessionRequest; -struct CMsgSteamDatagramGameserverSessionRequestDefaultTypeInternal; -extern CMsgSteamDatagramGameserverSessionRequestDefaultTypeInternal _CMsgSteamDatagramGameserverSessionRequest_default_instance_; -class CMsgSteamDatagramNoConnection; -struct CMsgSteamDatagramNoConnectionDefaultTypeInternal; -extern CMsgSteamDatagramNoConnectionDefaultTypeInternal _CMsgSteamDatagramNoConnection_default_instance_; -class CMsgSteamDatagramNoSessionRelayToClient; -struct CMsgSteamDatagramNoSessionRelayToClientDefaultTypeInternal; -extern CMsgSteamDatagramNoSessionRelayToClientDefaultTypeInternal _CMsgSteamDatagramNoSessionRelayToClient_default_instance_; -class CMsgSteamDatagramNoSessionRelayToPeer; -struct CMsgSteamDatagramNoSessionRelayToPeerDefaultTypeInternal; -extern CMsgSteamDatagramNoSessionRelayToPeerDefaultTypeInternal _CMsgSteamDatagramNoSessionRelayToPeer_default_instance_; -class CMsgSteamDatagramP2PBadRouteRouterToClient; -struct CMsgSteamDatagramP2PBadRouteRouterToClientDefaultTypeInternal; -extern CMsgSteamDatagramP2PBadRouteRouterToClientDefaultTypeInternal _CMsgSteamDatagramP2PBadRouteRouterToClient_default_instance_; -class CMsgSteamDatagramP2PRoutes; -struct CMsgSteamDatagramP2PRoutesDefaultTypeInternal; -extern CMsgSteamDatagramP2PRoutesDefaultTypeInternal _CMsgSteamDatagramP2PRoutes_default_instance_; -class CMsgSteamDatagramP2PRoutes_RelayCluster; -struct CMsgSteamDatagramP2PRoutes_RelayClusterDefaultTypeInternal; -extern CMsgSteamDatagramP2PRoutes_RelayClusterDefaultTypeInternal _CMsgSteamDatagramP2PRoutes_RelayCluster_default_instance_; -class CMsgSteamDatagramP2PRoutes_Route; -struct CMsgSteamDatagramP2PRoutes_RouteDefaultTypeInternal; -extern CMsgSteamDatagramP2PRoutes_RouteDefaultTypeInternal _CMsgSteamDatagramP2PRoutes_Route_default_instance_; -class CMsgSteamDatagramP2PRoutingSummary; -struct CMsgSteamDatagramP2PRoutingSummaryDefaultTypeInternal; -extern CMsgSteamDatagramP2PRoutingSummaryDefaultTypeInternal _CMsgSteamDatagramP2PRoutingSummary_default_instance_; -class CMsgSteamDatagramP2PSessionEstablished; -struct CMsgSteamDatagramP2PSessionEstablishedDefaultTypeInternal; -extern CMsgSteamDatagramP2PSessionEstablishedDefaultTypeInternal _CMsgSteamDatagramP2PSessionEstablished_default_instance_; -class CMsgSteamDatagramP2PSessionRequest; -struct CMsgSteamDatagramP2PSessionRequestDefaultTypeInternal; -extern CMsgSteamDatagramP2PSessionRequestDefaultTypeInternal _CMsgSteamDatagramP2PSessionRequest_default_instance_; -class CMsgSteamDatagramP2PSessionRequestBody; -struct CMsgSteamDatagramP2PSessionRequestBodyDefaultTypeInternal; -extern CMsgSteamDatagramP2PSessionRequestBodyDefaultTypeInternal _CMsgSteamDatagramP2PSessionRequestBody_default_instance_; -class CMsgSteamDatagramP2PSessionRequestBody_EncryptedData; -struct CMsgSteamDatagramP2PSessionRequestBody_EncryptedDataDefaultTypeInternal; -extern CMsgSteamDatagramP2PSessionRequestBody_EncryptedDataDefaultTypeInternal _CMsgSteamDatagramP2PSessionRequestBody_EncryptedData_default_instance_; -class CMsgSteamDatagramRouterPingReply; -struct CMsgSteamDatagramRouterPingReplyDefaultTypeInternal; -extern CMsgSteamDatagramRouterPingReplyDefaultTypeInternal _CMsgSteamDatagramRouterPingReply_default_instance_; -class CMsgSteamDatagramRouterPingReply_AltAddress; -struct CMsgSteamDatagramRouterPingReply_AltAddressDefaultTypeInternal; -extern CMsgSteamDatagramRouterPingReply_AltAddressDefaultTypeInternal _CMsgSteamDatagramRouterPingReply_AltAddress_default_instance_; -class CMsgSteamDatagramRouterPingReply_RouteException; -struct CMsgSteamDatagramRouterPingReply_RouteExceptionDefaultTypeInternal; -extern CMsgSteamDatagramRouterPingReply_RouteExceptionDefaultTypeInternal _CMsgSteamDatagramRouterPingReply_RouteException_default_instance_; -class CMsgSteamDatagramSetSecondaryAddressRequest; -struct CMsgSteamDatagramSetSecondaryAddressRequestDefaultTypeInternal; -extern CMsgSteamDatagramSetSecondaryAddressRequestDefaultTypeInternal _CMsgSteamDatagramSetSecondaryAddressRequest_default_instance_; -class CMsgSteamDatagramSetSecondaryAddressResult; -struct CMsgSteamDatagramSetSecondaryAddressResultDefaultTypeInternal; -extern CMsgSteamDatagramSetSecondaryAddressResultDefaultTypeInternal _CMsgSteamDatagramSetSecondaryAddressResult_default_instance_; -class CMsgSteamDatagramSignedMessageGeneric; -struct CMsgSteamDatagramSignedMessageGenericDefaultTypeInternal; -extern CMsgSteamDatagramSignedMessageGenericDefaultTypeInternal _CMsgSteamDatagramSignedMessageGeneric_default_instance_; -class CMsgSteamNetworkingIPAddress; -struct CMsgSteamNetworkingIPAddressDefaultTypeInternal; -extern CMsgSteamNetworkingIPAddressDefaultTypeInternal _CMsgSteamNetworkingIPAddress_default_instance_; -class CMsgSteamNetworkingP2PSDRRoutingSummary; -struct CMsgSteamNetworkingP2PSDRRoutingSummaryDefaultTypeInternal; -extern CMsgSteamNetworkingP2PSDRRoutingSummaryDefaultTypeInternal _CMsgSteamNetworkingP2PSDRRoutingSummary_default_instance_; -class CMsgTOSTreatment; -struct CMsgTOSTreatmentDefaultTypeInternal; -extern CMsgTOSTreatmentDefaultTypeInternal _CMsgTOSTreatment_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CMsgSteamDatagramClientPingSampleReply* Arena::CreateMaybeMessage<::CMsgSteamDatagramClientPingSampleReply>(Arena*); -template<> ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* Arena::CreateMaybeMessage<::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter>(Arena*); -template<> ::CMsgSteamDatagramClientPingSampleReply_POP* Arena::CreateMaybeMessage<::CMsgSteamDatagramClientPingSampleReply_POP>(Arena*); -template<> ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* Arena::CreateMaybeMessage<::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress>(Arena*); -template<> ::CMsgSteamDatagramClientPingSampleRequest* Arena::CreateMaybeMessage<::CMsgSteamDatagramClientPingSampleRequest>(Arena*); -template<> ::CMsgSteamDatagramClientSwitchedPrimary* Arena::CreateMaybeMessage<::CMsgSteamDatagramClientSwitchedPrimary>(Arena*); -template<> ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* Arena::CreateMaybeMessage<::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality>(Arena*); -template<> ::CMsgSteamDatagramConnectOK* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectOK>(Arena*); -template<> ::CMsgSteamDatagramConnectRequest* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectRequest>(Arena*); -template<> ::CMsgSteamDatagramConnectionClosed* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectionClosed>(Arena*); -template<> ::CMsgSteamDatagramConnectionStatsClientToRouter* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectionStatsClientToRouter>(Arena*); -template<> ::CMsgSteamDatagramConnectionStatsP2PClientToRouter* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectionStatsP2PClientToRouter>(Arena*); -template<> ::CMsgSteamDatagramConnectionStatsP2PRouterToClient* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectionStatsP2PRouterToClient>(Arena*); -template<> ::CMsgSteamDatagramConnectionStatsRouterToClient* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectionStatsRouterToClient>(Arena*); -template<> ::CMsgSteamDatagramConnectionStatsRouterToServer* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectionStatsRouterToServer>(Arena*); -template<> ::CMsgSteamDatagramConnectionStatsServerToRouter* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectionStatsServerToRouter>(Arena*); -template<> ::CMsgSteamDatagramGameserverPingReplyData* Arena::CreateMaybeMessage<::CMsgSteamDatagramGameserverPingReplyData>(Arena*); -template<> ::CMsgSteamDatagramGameserverPingRequestBody* Arena::CreateMaybeMessage<::CMsgSteamDatagramGameserverPingRequestBody>(Arena*); -template<> ::CMsgSteamDatagramGameserverPingRequestEnvelope* Arena::CreateMaybeMessage<::CMsgSteamDatagramGameserverPingRequestEnvelope>(Arena*); -template<> ::CMsgSteamDatagramGameserverSessionEstablished* Arena::CreateMaybeMessage<::CMsgSteamDatagramGameserverSessionEstablished>(Arena*); -template<> ::CMsgSteamDatagramGameserverSessionRequest* Arena::CreateMaybeMessage<::CMsgSteamDatagramGameserverSessionRequest>(Arena*); -template<> ::CMsgSteamDatagramNoConnection* Arena::CreateMaybeMessage<::CMsgSteamDatagramNoConnection>(Arena*); -template<> ::CMsgSteamDatagramNoSessionRelayToClient* Arena::CreateMaybeMessage<::CMsgSteamDatagramNoSessionRelayToClient>(Arena*); -template<> ::CMsgSteamDatagramNoSessionRelayToPeer* Arena::CreateMaybeMessage<::CMsgSteamDatagramNoSessionRelayToPeer>(Arena*); -template<> ::CMsgSteamDatagramP2PBadRouteRouterToClient* Arena::CreateMaybeMessage<::CMsgSteamDatagramP2PBadRouteRouterToClient>(Arena*); -template<> ::CMsgSteamDatagramP2PRoutes* Arena::CreateMaybeMessage<::CMsgSteamDatagramP2PRoutes>(Arena*); -template<> ::CMsgSteamDatagramP2PRoutes_RelayCluster* Arena::CreateMaybeMessage<::CMsgSteamDatagramP2PRoutes_RelayCluster>(Arena*); -template<> ::CMsgSteamDatagramP2PRoutes_Route* Arena::CreateMaybeMessage<::CMsgSteamDatagramP2PRoutes_Route>(Arena*); -template<> ::CMsgSteamDatagramP2PRoutingSummary* Arena::CreateMaybeMessage<::CMsgSteamDatagramP2PRoutingSummary>(Arena*); -template<> ::CMsgSteamDatagramP2PSessionEstablished* Arena::CreateMaybeMessage<::CMsgSteamDatagramP2PSessionEstablished>(Arena*); -template<> ::CMsgSteamDatagramP2PSessionRequest* Arena::CreateMaybeMessage<::CMsgSteamDatagramP2PSessionRequest>(Arena*); -template<> ::CMsgSteamDatagramP2PSessionRequestBody* Arena::CreateMaybeMessage<::CMsgSteamDatagramP2PSessionRequestBody>(Arena*); -template<> ::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData* Arena::CreateMaybeMessage<::CMsgSteamDatagramP2PSessionRequestBody_EncryptedData>(Arena*); -template<> ::CMsgSteamDatagramRouterPingReply* Arena::CreateMaybeMessage<::CMsgSteamDatagramRouterPingReply>(Arena*); -template<> ::CMsgSteamDatagramRouterPingReply_AltAddress* Arena::CreateMaybeMessage<::CMsgSteamDatagramRouterPingReply_AltAddress>(Arena*); -template<> ::CMsgSteamDatagramRouterPingReply_RouteException* Arena::CreateMaybeMessage<::CMsgSteamDatagramRouterPingReply_RouteException>(Arena*); -template<> ::CMsgSteamDatagramSetSecondaryAddressRequest* Arena::CreateMaybeMessage<::CMsgSteamDatagramSetSecondaryAddressRequest>(Arena*); -template<> ::CMsgSteamDatagramSetSecondaryAddressResult* Arena::CreateMaybeMessage<::CMsgSteamDatagramSetSecondaryAddressResult>(Arena*); -template<> ::CMsgSteamDatagramSignedMessageGeneric* Arena::CreateMaybeMessage<::CMsgSteamDatagramSignedMessageGeneric>(Arena*); -template<> ::CMsgSteamNetworkingIPAddress* Arena::CreateMaybeMessage<::CMsgSteamNetworkingIPAddress>(Arena*); -template<> ::CMsgSteamNetworkingP2PSDRRoutingSummary* Arena::CreateMaybeMessage<::CMsgSteamNetworkingP2PSDRRoutingSummary>(Arena*); -template<> ::CMsgTOSTreatment* Arena::CreateMaybeMessage<::CMsgTOSTreatment>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum CMsgSteamDatagramRouterPingReply_AltAddress_Protocol : int { - CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_DefaultProtocol = 0 -}; -bool CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_IsValid(int value); -constexpr CMsgSteamDatagramRouterPingReply_AltAddress_Protocol CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Protocol_MIN = CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_DefaultProtocol; -constexpr CMsgSteamDatagramRouterPingReply_AltAddress_Protocol CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Protocol_MAX = CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_DefaultProtocol; -constexpr int CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Protocol_ARRAYSIZE = CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Protocol_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_descriptor(); -template -inline const std::string& CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_descriptor(), enum_t_value); -} -inline bool CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramRouterPingReply_AltAddress_Protocol* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_descriptor(), name, value); -} -enum CMsgSteamDatagramRouterPingReply_Flags : int { - CMsgSteamDatagramRouterPingReply_Flags_FLAG_MAYBE_MORE_DATA_CENTERS = 1, - CMsgSteamDatagramRouterPingReply_Flags_FLAG_MAYBE_MORE_ALT_ADDRESSES = 2 -}; -bool CMsgSteamDatagramRouterPingReply_Flags_IsValid(int value); -constexpr CMsgSteamDatagramRouterPingReply_Flags CMsgSteamDatagramRouterPingReply_Flags_Flags_MIN = CMsgSteamDatagramRouterPingReply_Flags_FLAG_MAYBE_MORE_DATA_CENTERS; -constexpr CMsgSteamDatagramRouterPingReply_Flags CMsgSteamDatagramRouterPingReply_Flags_Flags_MAX = CMsgSteamDatagramRouterPingReply_Flags_FLAG_MAYBE_MORE_ALT_ADDRESSES; -constexpr int CMsgSteamDatagramRouterPingReply_Flags_Flags_ARRAYSIZE = CMsgSteamDatagramRouterPingReply_Flags_Flags_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramRouterPingReply_Flags_descriptor(); -template -inline const std::string& CMsgSteamDatagramRouterPingReply_Flags_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CMsgSteamDatagramRouterPingReply_Flags_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CMsgSteamDatagramRouterPingReply_Flags_descriptor(), enum_t_value); -} -inline bool CMsgSteamDatagramRouterPingReply_Flags_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramRouterPingReply_Flags* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CMsgSteamDatagramRouterPingReply_Flags_descriptor(), name, value); -} -enum CMsgSteamDatagramConnectionClosed_ERelayMode : int { - CMsgSteamDatagramConnectionClosed_ERelayMode_None = 0, - CMsgSteamDatagramConnectionClosed_ERelayMode_EndToEnd = 1, - CMsgSteamDatagramConnectionClosed_ERelayMode_ClosedByPeer = 2 -}; -bool CMsgSteamDatagramConnectionClosed_ERelayMode_IsValid(int value); -constexpr CMsgSteamDatagramConnectionClosed_ERelayMode CMsgSteamDatagramConnectionClosed_ERelayMode_ERelayMode_MIN = CMsgSteamDatagramConnectionClosed_ERelayMode_None; -constexpr CMsgSteamDatagramConnectionClosed_ERelayMode CMsgSteamDatagramConnectionClosed_ERelayMode_ERelayMode_MAX = CMsgSteamDatagramConnectionClosed_ERelayMode_ClosedByPeer; -constexpr int CMsgSteamDatagramConnectionClosed_ERelayMode_ERelayMode_ARRAYSIZE = CMsgSteamDatagramConnectionClosed_ERelayMode_ERelayMode_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionClosed_ERelayMode_descriptor(); -template -inline const std::string& CMsgSteamDatagramConnectionClosed_ERelayMode_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CMsgSteamDatagramConnectionClosed_ERelayMode_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CMsgSteamDatagramConnectionClosed_ERelayMode_descriptor(), enum_t_value); -} -inline bool CMsgSteamDatagramConnectionClosed_ERelayMode_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramConnectionClosed_ERelayMode* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CMsgSteamDatagramConnectionClosed_ERelayMode_descriptor(), name, value); -} -enum CMsgSteamDatagramConnectionStatsClientToRouter_Flags : int { - CMsgSteamDatagramConnectionStatsClientToRouter_Flags_ACK_REQUEST_RELAY = 1, - CMsgSteamDatagramConnectionStatsClientToRouter_Flags_ACK_REQUEST_E2E = 2, - CMsgSteamDatagramConnectionStatsClientToRouter_Flags_ACK_REQUEST_IMMEDIATE = 4, - CMsgSteamDatagramConnectionStatsClientToRouter_Flags_NOT_PRIMARY_SESSION = 8, - CMsgSteamDatagramConnectionStatsClientToRouter_Flags_CLIENT_RELAY_OVERRIDE = 32 -}; -bool CMsgSteamDatagramConnectionStatsClientToRouter_Flags_IsValid(int value); -constexpr CMsgSteamDatagramConnectionStatsClientToRouter_Flags CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Flags_MIN = CMsgSteamDatagramConnectionStatsClientToRouter_Flags_ACK_REQUEST_RELAY; -constexpr CMsgSteamDatagramConnectionStatsClientToRouter_Flags CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Flags_MAX = CMsgSteamDatagramConnectionStatsClientToRouter_Flags_CLIENT_RELAY_OVERRIDE; -constexpr int CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Flags_ARRAYSIZE = CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Flags_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsClientToRouter_Flags_descriptor(); -template -inline const std::string& CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CMsgSteamDatagramConnectionStatsClientToRouter_Flags_descriptor(), enum_t_value); -} -inline bool CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramConnectionStatsClientToRouter_Flags* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CMsgSteamDatagramConnectionStatsClientToRouter_Flags_descriptor(), name, value); -} -enum CMsgSteamDatagramConnectionStatsRouterToClient_Flags : int { - CMsgSteamDatagramConnectionStatsRouterToClient_Flags_ACK_REQUEST_RELAY = 1, - CMsgSteamDatagramConnectionStatsRouterToClient_Flags_ACK_REQUEST_E2E = 2, - CMsgSteamDatagramConnectionStatsRouterToClient_Flags_ACK_REQUEST_IMMEDIATE = 4 -}; -bool CMsgSteamDatagramConnectionStatsRouterToClient_Flags_IsValid(int value); -constexpr CMsgSteamDatagramConnectionStatsRouterToClient_Flags CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Flags_MIN = CMsgSteamDatagramConnectionStatsRouterToClient_Flags_ACK_REQUEST_RELAY; -constexpr CMsgSteamDatagramConnectionStatsRouterToClient_Flags CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Flags_MAX = CMsgSteamDatagramConnectionStatsRouterToClient_Flags_ACK_REQUEST_IMMEDIATE; -constexpr int CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Flags_ARRAYSIZE = CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Flags_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsRouterToClient_Flags_descriptor(); -template -inline const std::string& CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CMsgSteamDatagramConnectionStatsRouterToClient_Flags_descriptor(), enum_t_value); -} -inline bool CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramConnectionStatsRouterToClient_Flags* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CMsgSteamDatagramConnectionStatsRouterToClient_Flags_descriptor(), name, value); -} -enum CMsgSteamDatagramConnectionStatsRouterToServer_Flags : int { - CMsgSteamDatagramConnectionStatsRouterToServer_Flags_ACK_REQUEST_RELAY = 1, - CMsgSteamDatagramConnectionStatsRouterToServer_Flags_ACK_REQUEST_E2E = 2, - CMsgSteamDatagramConnectionStatsRouterToServer_Flags_ACK_REQUEST_IMMEDIATE = 4 -}; -bool CMsgSteamDatagramConnectionStatsRouterToServer_Flags_IsValid(int value); -constexpr CMsgSteamDatagramConnectionStatsRouterToServer_Flags CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Flags_MIN = CMsgSteamDatagramConnectionStatsRouterToServer_Flags_ACK_REQUEST_RELAY; -constexpr CMsgSteamDatagramConnectionStatsRouterToServer_Flags CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Flags_MAX = CMsgSteamDatagramConnectionStatsRouterToServer_Flags_ACK_REQUEST_IMMEDIATE; -constexpr int CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Flags_ARRAYSIZE = CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Flags_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsRouterToServer_Flags_descriptor(); -template -inline const std::string& CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CMsgSteamDatagramConnectionStatsRouterToServer_Flags_descriptor(), enum_t_value); -} -inline bool CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramConnectionStatsRouterToServer_Flags* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CMsgSteamDatagramConnectionStatsRouterToServer_Flags_descriptor(), name, value); -} -enum CMsgSteamDatagramConnectionStatsServerToRouter_Flags : int { - CMsgSteamDatagramConnectionStatsServerToRouter_Flags_ACK_REQUEST_RELAY = 1, - CMsgSteamDatagramConnectionStatsServerToRouter_Flags_ACK_REQUEST_E2E = 2, - CMsgSteamDatagramConnectionStatsServerToRouter_Flags_ACK_REQUEST_IMMEDIATE = 4 -}; -bool CMsgSteamDatagramConnectionStatsServerToRouter_Flags_IsValid(int value); -constexpr CMsgSteamDatagramConnectionStatsServerToRouter_Flags CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Flags_MIN = CMsgSteamDatagramConnectionStatsServerToRouter_Flags_ACK_REQUEST_RELAY; -constexpr CMsgSteamDatagramConnectionStatsServerToRouter_Flags CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Flags_MAX = CMsgSteamDatagramConnectionStatsServerToRouter_Flags_ACK_REQUEST_IMMEDIATE; -constexpr int CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Flags_ARRAYSIZE = CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Flags_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsServerToRouter_Flags_descriptor(); -template -inline const std::string& CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CMsgSteamDatagramConnectionStatsServerToRouter_Flags_descriptor(), enum_t_value); -} -inline bool CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramConnectionStatsServerToRouter_Flags* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CMsgSteamDatagramConnectionStatsServerToRouter_Flags_descriptor(), name, value); -} -enum CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags : int { - CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_ACK_REQUEST_RELAY = 1, - CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_ACK_REQUEST_E2E = 2, - CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_ACK_REQUEST_IMMEDIATE = 4, - CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_NOT_PRIMARY_SESSION = 8, - CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_NOT_PRIMARY_TRANSPORT_E2E = 16, - CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_CLIENT_RELAY_OVERRIDE = 32 -}; -bool CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_IsValid(int value); -constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Flags_MIN = CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_ACK_REQUEST_RELAY; -constexpr CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Flags_MAX = CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_CLIENT_RELAY_OVERRIDE; -constexpr int CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Flags_ARRAYSIZE = CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Flags_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_descriptor(); -template -inline const std::string& CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_descriptor(), enum_t_value); -} -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_descriptor(), name, value); -} -enum CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags : int { - CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_ACK_REQUEST_RELAY = 1, - CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_ACK_REQUEST_E2E = 2, - CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_ACK_REQUEST_IMMEDIATE = 4, - CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_NOT_PRIMARY_TRANSPORT_E2E = 16 -}; -bool CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_IsValid(int value); -constexpr CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Flags_MIN = CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_ACK_REQUEST_RELAY; -constexpr CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Flags_MAX = CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_NOT_PRIMARY_TRANSPORT_E2E; -constexpr int CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Flags_ARRAYSIZE = CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Flags_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_descriptor(); -template -inline const std::string& CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_descriptor(), enum_t_value); -} -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_descriptor(), name, value); -} -enum ESteamDatagramMsgID : int { - k_ESteamDatagramMsg_Invalid = 0, - k_ESteamDatagramMsg_RouterPingRequest = 1, - k_ESteamDatagramMsg_RouterPingReply = 2, - k_ESteamDatagramMsg_GameserverPingRequest = 3, - k_ESteamDatagramMsg_GameserverSessionRequest = 5, - k_ESteamDatagramMsg_GameserverSessionEstablished = 6, - k_ESteamDatagramMsg_NoSession = 7, - k_ESteamDatagramMsg_Diagnostic = 8, - k_ESteamDatagramMsg_DataClientToRouter = 9, - k_ESteamDatagramMsg_DataRouterToServer = 10, - k_ESteamDatagramMsg_DataServerToRouter = 11, - k_ESteamDatagramMsg_DataRouterToClient = 12, - k_ESteamDatagramMsg_Stats = 13, - k_ESteamDatagramMsg_ClientPingSampleRequest = 14, - k_ESteamDatagramMsg_ClientPingSampleReply = 15, - k_ESteamDatagramMsg_ClientToRouterSwitchedPrimary = 16, - k_ESteamDatagramMsg_RelayHealth = 17, - k_ESteamDatagramMsg_ConnectRequest = 18, - k_ESteamDatagramMsg_ConnectOK = 19, - k_ESteamDatagramMsg_ConnectionClosed = 20, - k_ESteamDatagramMsg_NoConnection = 21, - k_ESteamDatagramMsg_TicketDecryptRequest = 22, - k_ESteamDatagramMsg_TicketDecryptReply = 23, - k_ESteamDatagramMsg_P2PSessionRequest = 24, - k_ESteamDatagramMsg_P2PSessionEstablished = 25, - k_ESteamDatagramMsg_P2PStatsClient = 26, - k_ESteamDatagramMsg_P2PStatsRelay = 27, - k_ESteamDatagramMsg_P2PBadRoute = 28, - k_ESteamDatagramMsg_GameserverPingReply = 29, - k_ESteamDatagramMsg_LegacyGameserverRegistration = 30, - k_ESteamDatagramMsg_SetSecondaryAddressRequest = 31, - k_ESteamDatagramMsg_SetSecondaryAddressResult = 32, - k_ESteamDatagramMsg_RelayToRelayPingRequest = 33, - k_ESteamDatagramMsg_RelayToRelayPingReply = 34 -}; -bool ESteamDatagramMsgID_IsValid(int value); -constexpr ESteamDatagramMsgID ESteamDatagramMsgID_MIN = k_ESteamDatagramMsg_Invalid; -constexpr ESteamDatagramMsgID ESteamDatagramMsgID_MAX = k_ESteamDatagramMsg_RelayToRelayPingReply; -constexpr int ESteamDatagramMsgID_ARRAYSIZE = ESteamDatagramMsgID_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESteamDatagramMsgID_descriptor(); -template -inline const std::string& ESteamDatagramMsgID_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ESteamDatagramMsgID_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ESteamDatagramMsgID_descriptor(), enum_t_value); -} -inline bool ESteamDatagramMsgID_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ESteamDatagramMsgID* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ESteamDatagramMsgID_descriptor(), name, value); -} -// =================================================================== - -class CMsgSteamNetworkingIPAddress : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingIPAddress) */ { - public: - inline CMsgSteamNetworkingIPAddress() : CMsgSteamNetworkingIPAddress(nullptr) {} - ~CMsgSteamNetworkingIPAddress() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingIPAddress(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamNetworkingIPAddress(const CMsgSteamNetworkingIPAddress& from); - CMsgSteamNetworkingIPAddress(CMsgSteamNetworkingIPAddress&& from) noexcept - : CMsgSteamNetworkingIPAddress() { - *this = ::std::move(from); - } - - inline CMsgSteamNetworkingIPAddress& operator=(const CMsgSteamNetworkingIPAddress& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamNetworkingIPAddress& operator=(CMsgSteamNetworkingIPAddress&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamNetworkingIPAddress& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamNetworkingIPAddress* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamNetworkingIPAddress_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CMsgSteamNetworkingIPAddress& a, CMsgSteamNetworkingIPAddress& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamNetworkingIPAddress* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamNetworkingIPAddress* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamNetworkingIPAddress* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamNetworkingIPAddress& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamNetworkingIPAddress& from) { - CMsgSteamNetworkingIPAddress::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamNetworkingIPAddress* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamNetworkingIPAddress"; - } - protected: - explicit CMsgSteamNetworkingIPAddress(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kV6FieldNumber = 2, - kV4FieldNumber = 1, - }; - // optional bytes v6 = 2; - bool has_v6() const; - private: - bool _internal_has_v6() const; - public: - void clear_v6(); - const std::string& v6() const; - template - void set_v6(ArgT0&& arg0, ArgT... args); - std::string* mutable_v6(); - PROTOBUF_NODISCARD std::string* release_v6(); - void set_allocated_v6(std::string* v6); - private: - const std::string& _internal_v6() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_v6(const std::string& value); - std::string* _internal_mutable_v6(); - public: - - // optional fixed32 v4 = 1; - bool has_v4() const; - private: - bool _internal_has_v4() const; - public: - void clear_v4(); - uint32_t v4() const; - void set_v4(uint32_t value); - private: - uint32_t _internal_v4() const; - void _internal_set_v4(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingIPAddress) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr v6_; - uint32_t v4_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramSignedMessageGeneric : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramSignedMessageGeneric) */ { - public: - inline CMsgSteamDatagramSignedMessageGeneric() : CMsgSteamDatagramSignedMessageGeneric(nullptr) {} - ~CMsgSteamDatagramSignedMessageGeneric() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramSignedMessageGeneric(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramSignedMessageGeneric(const CMsgSteamDatagramSignedMessageGeneric& from); - CMsgSteamDatagramSignedMessageGeneric(CMsgSteamDatagramSignedMessageGeneric&& from) noexcept - : CMsgSteamDatagramSignedMessageGeneric() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramSignedMessageGeneric& operator=(const CMsgSteamDatagramSignedMessageGeneric& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramSignedMessageGeneric& operator=(CMsgSteamDatagramSignedMessageGeneric&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramSignedMessageGeneric& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramSignedMessageGeneric* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramSignedMessageGeneric_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CMsgSteamDatagramSignedMessageGeneric& a, CMsgSteamDatagramSignedMessageGeneric& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramSignedMessageGeneric* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramSignedMessageGeneric* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramSignedMessageGeneric* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramSignedMessageGeneric& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramSignedMessageGeneric& from) { - CMsgSteamDatagramSignedMessageGeneric::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramSignedMessageGeneric* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramSignedMessageGeneric"; - } - protected: - explicit CMsgSteamDatagramSignedMessageGeneric(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSignedDataFieldNumber = 2, - kSignatureFieldNumber = 3, - kDummyPadFieldNumber = 1023, - kCertFieldNumber = 1, - }; - // optional bytes signed_data = 2; - bool has_signed_data() const; - private: - bool _internal_has_signed_data() const; - public: - void clear_signed_data(); - const std::string& signed_data() const; - template - void set_signed_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_signed_data(); - PROTOBUF_NODISCARD std::string* release_signed_data(); - void set_allocated_signed_data(std::string* signed_data); - private: - const std::string& _internal_signed_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_signed_data(const std::string& value); - std::string* _internal_mutable_signed_data(); - public: - - // optional bytes signature = 3; - bool has_signature() const; - private: - bool _internal_has_signature() const; - public: - void clear_signature(); - const std::string& signature() const; - template - void set_signature(ArgT0&& arg0, ArgT... args); - std::string* mutable_signature(); - PROTOBUF_NODISCARD std::string* release_signature(); - void set_allocated_signature(std::string* signature); - private: - const std::string& _internal_signature() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_signature(const std::string& value); - std::string* _internal_mutable_signature(); - public: - - // optional bytes dummy_pad = 1023; - bool has_dummy_pad() const; - private: - bool _internal_has_dummy_pad() const; - public: - void clear_dummy_pad(); - const std::string& dummy_pad() const; - template - void set_dummy_pad(ArgT0&& arg0, ArgT... args); - std::string* mutable_dummy_pad(); - PROTOBUF_NODISCARD std::string* release_dummy_pad(); - void set_allocated_dummy_pad(std::string* dummy_pad); - private: - const std::string& _internal_dummy_pad() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_dummy_pad(const std::string& value); - std::string* _internal_mutable_dummy_pad(); - public: - - // optional .CMsgSteamDatagramCertificateSigned cert = 1; - bool has_cert() const; - private: - bool _internal_has_cert() const; - public: - void clear_cert(); - const ::CMsgSteamDatagramCertificateSigned& cert() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); - ::CMsgSteamDatagramCertificateSigned* mutable_cert(); - void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); - private: - const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; - ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); - public: - void unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert); - ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramSignedMessageGeneric) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signed_data_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signature_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dummy_pad_; - ::CMsgSteamDatagramCertificateSigned* cert_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramRouterPingReply_RouteException : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramRouterPingReply.RouteException) */ { - public: - inline CMsgSteamDatagramRouterPingReply_RouteException() : CMsgSteamDatagramRouterPingReply_RouteException(nullptr) {} - ~CMsgSteamDatagramRouterPingReply_RouteException() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramRouterPingReply_RouteException(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramRouterPingReply_RouteException(const CMsgSteamDatagramRouterPingReply_RouteException& from); - CMsgSteamDatagramRouterPingReply_RouteException(CMsgSteamDatagramRouterPingReply_RouteException&& from) noexcept - : CMsgSteamDatagramRouterPingReply_RouteException() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramRouterPingReply_RouteException& operator=(const CMsgSteamDatagramRouterPingReply_RouteException& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramRouterPingReply_RouteException& operator=(CMsgSteamDatagramRouterPingReply_RouteException&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramRouterPingReply_RouteException& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramRouterPingReply_RouteException* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramRouterPingReply_RouteException_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CMsgSteamDatagramRouterPingReply_RouteException& a, CMsgSteamDatagramRouterPingReply_RouteException& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramRouterPingReply_RouteException* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramRouterPingReply_RouteException* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramRouterPingReply_RouteException* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramRouterPingReply_RouteException& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramRouterPingReply_RouteException& from) { - CMsgSteamDatagramRouterPingReply_RouteException::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramRouterPingReply_RouteException* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramRouterPingReply.RouteException"; - } - protected: - explicit CMsgSteamDatagramRouterPingReply_RouteException(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataCenterIdFieldNumber = 1, - kFlagsFieldNumber = 2, - kPenaltyFieldNumber = 3, - }; - // optional fixed32 data_center_id = 1; - bool has_data_center_id() const; - private: - bool _internal_has_data_center_id() const; - public: - void clear_data_center_id(); - uint32_t data_center_id() const; - void set_data_center_id(uint32_t value); - private: - uint32_t _internal_data_center_id() const; - void _internal_set_data_center_id(uint32_t value); - public: - - // optional uint32 flags = 2; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional uint32 penalty = 3; - bool has_penalty() const; - private: - bool _internal_has_penalty() const; - public: - void clear_penalty(); - uint32_t penalty() const; - void set_penalty(uint32_t value); - private: - uint32_t _internal_penalty() const; - void _internal_set_penalty(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramRouterPingReply.RouteException) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t data_center_id_; - uint32_t flags_; - uint32_t penalty_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramRouterPingReply_AltAddress : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramRouterPingReply.AltAddress) */ { - public: - inline CMsgSteamDatagramRouterPingReply_AltAddress() : CMsgSteamDatagramRouterPingReply_AltAddress(nullptr) {} - ~CMsgSteamDatagramRouterPingReply_AltAddress() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramRouterPingReply_AltAddress(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramRouterPingReply_AltAddress(const CMsgSteamDatagramRouterPingReply_AltAddress& from); - CMsgSteamDatagramRouterPingReply_AltAddress(CMsgSteamDatagramRouterPingReply_AltAddress&& from) noexcept - : CMsgSteamDatagramRouterPingReply_AltAddress() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramRouterPingReply_AltAddress& operator=(const CMsgSteamDatagramRouterPingReply_AltAddress& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramRouterPingReply_AltAddress& operator=(CMsgSteamDatagramRouterPingReply_AltAddress&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramRouterPingReply_AltAddress& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramRouterPingReply_AltAddress* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramRouterPingReply_AltAddress_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CMsgSteamDatagramRouterPingReply_AltAddress& a, CMsgSteamDatagramRouterPingReply_AltAddress& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramRouterPingReply_AltAddress* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramRouterPingReply_AltAddress* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramRouterPingReply_AltAddress* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramRouterPingReply_AltAddress& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramRouterPingReply_AltAddress& from) { - CMsgSteamDatagramRouterPingReply_AltAddress::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramRouterPingReply_AltAddress* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramRouterPingReply.AltAddress"; - } - protected: - explicit CMsgSteamDatagramRouterPingReply_AltAddress(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamDatagramRouterPingReply_AltAddress_Protocol Protocol; - static constexpr Protocol DefaultProtocol = - CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_DefaultProtocol; - static inline bool Protocol_IsValid(int value) { - return CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_IsValid(value); - } - static constexpr Protocol Protocol_MIN = - CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Protocol_MIN; - static constexpr Protocol Protocol_MAX = - CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Protocol_MAX; - static constexpr int Protocol_ARRAYSIZE = - CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Protocol_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Protocol_descriptor() { - return CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_descriptor(); - } - template - static inline const std::string& Protocol_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Protocol_Name."); - return CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Name(enum_t_value); - } - static inline bool Protocol_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Protocol* value) { - return CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kIdFieldNumber = 5, - kIpv4FieldNumber = 1, - kPortFieldNumber = 2, - kPenaltyFieldNumber = 3, - kProtocolFieldNumber = 4, - }; - // optional string id = 5; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - const std::string& id() const; - template - void set_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* id); - private: - const std::string& _internal_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); - std::string* _internal_mutable_id(); - public: - - // optional fixed32 ipv4 = 1; - bool has_ipv4() const; - private: - bool _internal_has_ipv4() const; - public: - void clear_ipv4(); - uint32_t ipv4() const; - void set_ipv4(uint32_t value); - private: - uint32_t _internal_ipv4() const; - void _internal_set_ipv4(uint32_t value); - public: - - // optional uint32 port = 2; - bool has_port() const; - private: - bool _internal_has_port() const; - public: - void clear_port(); - uint32_t port() const; - void set_port(uint32_t value); - private: - uint32_t _internal_port() const; - void _internal_set_port(uint32_t value); - public: - - // optional uint32 penalty = 3; - bool has_penalty() const; - private: - bool _internal_has_penalty() const; - public: - void clear_penalty(); - uint32_t penalty() const; - void set_penalty(uint32_t value); - private: - uint32_t _internal_penalty() const; - void _internal_set_penalty(uint32_t value); - public: - - // optional .CMsgSteamDatagramRouterPingReply.AltAddress.Protocol protocol = 4 [default = DefaultProtocol]; - bool has_protocol() const; - private: - bool _internal_has_protocol() const; - public: - void clear_protocol(); - ::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol protocol() const; - void set_protocol(::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol value); - private: - ::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol _internal_protocol() const; - void _internal_set_protocol(::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramRouterPingReply.AltAddress) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; - uint32_t ipv4_; - uint32_t port_; - uint32_t penalty_; - int protocol_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramRouterPingReply : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramRouterPingReply) */ { - public: - inline CMsgSteamDatagramRouterPingReply() : CMsgSteamDatagramRouterPingReply(nullptr) {} - ~CMsgSteamDatagramRouterPingReply() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramRouterPingReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramRouterPingReply(const CMsgSteamDatagramRouterPingReply& from); - CMsgSteamDatagramRouterPingReply(CMsgSteamDatagramRouterPingReply&& from) noexcept - : CMsgSteamDatagramRouterPingReply() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramRouterPingReply& operator=(const CMsgSteamDatagramRouterPingReply& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramRouterPingReply& operator=(CMsgSteamDatagramRouterPingReply&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramRouterPingReply& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramRouterPingReply* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramRouterPingReply_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CMsgSteamDatagramRouterPingReply& a, CMsgSteamDatagramRouterPingReply& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramRouterPingReply* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramRouterPingReply* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramRouterPingReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramRouterPingReply& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramRouterPingReply& from) { - CMsgSteamDatagramRouterPingReply::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramRouterPingReply* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramRouterPingReply"; - } - protected: - explicit CMsgSteamDatagramRouterPingReply(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamDatagramRouterPingReply_RouteException RouteException; - typedef CMsgSteamDatagramRouterPingReply_AltAddress AltAddress; - - typedef CMsgSteamDatagramRouterPingReply_Flags Flags; - static constexpr Flags FLAG_MAYBE_MORE_DATA_CENTERS = - CMsgSteamDatagramRouterPingReply_Flags_FLAG_MAYBE_MORE_DATA_CENTERS; - static constexpr Flags FLAG_MAYBE_MORE_ALT_ADDRESSES = - CMsgSteamDatagramRouterPingReply_Flags_FLAG_MAYBE_MORE_ALT_ADDRESSES; - static inline bool Flags_IsValid(int value) { - return CMsgSteamDatagramRouterPingReply_Flags_IsValid(value); - } - static constexpr Flags Flags_MIN = - CMsgSteamDatagramRouterPingReply_Flags_Flags_MIN; - static constexpr Flags Flags_MAX = - CMsgSteamDatagramRouterPingReply_Flags_Flags_MAX; - static constexpr int Flags_ARRAYSIZE = - CMsgSteamDatagramRouterPingReply_Flags_Flags_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Flags_descriptor() { - return CMsgSteamDatagramRouterPingReply_Flags_descriptor(); - } - template - static inline const std::string& Flags_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Flags_Name."); - return CMsgSteamDatagramRouterPingReply_Flags_Name(enum_t_value); - } - static inline bool Flags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Flags* value) { - return CMsgSteamDatagramRouterPingReply_Flags_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kLatencyDatacenterIdsFieldNumber = 2, - kLatencyPingMsFieldNumber = 3, - kRouteExceptionsFieldNumber = 10, - kAltAddressesFieldNumber = 13, - kLatencyDatacenterIdsP2PFieldNumber = 14, - kLatencyPingMsP2PFieldNumber = 15, - kDummyPadFieldNumber = 99, - kClientTimestampFieldNumber = 1, - kYourPublicIpFieldNumber = 4, - kChallengeFieldNumber = 6, - kServerTimeFieldNumber = 5, - kSecondsUntilShutdownFieldNumber = 7, - kClientCookieFieldNumber = 8, - kScoringPenaltyRelayClusterFieldNumber = 9, - kYourPublicPortFieldNumber = 11, - kFlagsFieldNumber = 12, - kRecvTosFieldNumber = 16, - kEchoSentTosFieldNumber = 17, - kSentTosFieldNumber = 18, - kEchoRequestReplyTosFieldNumber = 19, - kDummyVarintFieldNumber = 100, - }; - // repeated fixed32 latency_datacenter_ids = 2 [packed = true]; - int latency_datacenter_ids_size() const; - private: - int _internal_latency_datacenter_ids_size() const; - public: - void clear_latency_datacenter_ids(); - private: - uint32_t _internal_latency_datacenter_ids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_latency_datacenter_ids() const; - void _internal_add_latency_datacenter_ids(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_latency_datacenter_ids(); - public: - uint32_t latency_datacenter_ids(int index) const; - void set_latency_datacenter_ids(int index, uint32_t value); - void add_latency_datacenter_ids(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - latency_datacenter_ids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_latency_datacenter_ids(); - - // repeated uint32 latency_ping_ms = 3 [packed = true]; - int latency_ping_ms_size() const; - private: - int _internal_latency_ping_ms_size() const; - public: - void clear_latency_ping_ms(); - private: - uint32_t _internal_latency_ping_ms(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_latency_ping_ms() const; - void _internal_add_latency_ping_ms(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_latency_ping_ms(); - public: - uint32_t latency_ping_ms(int index) const; - void set_latency_ping_ms(int index, uint32_t value); - void add_latency_ping_ms(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - latency_ping_ms() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_latency_ping_ms(); - - // repeated .CMsgSteamDatagramRouterPingReply.RouteException route_exceptions = 10; - int route_exceptions_size() const; - private: - int _internal_route_exceptions_size() const; - public: - void clear_route_exceptions(); - ::CMsgSteamDatagramRouterPingReply_RouteException* mutable_route_exceptions(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_RouteException >* - mutable_route_exceptions(); - private: - const ::CMsgSteamDatagramRouterPingReply_RouteException& _internal_route_exceptions(int index) const; - ::CMsgSteamDatagramRouterPingReply_RouteException* _internal_add_route_exceptions(); - public: - const ::CMsgSteamDatagramRouterPingReply_RouteException& route_exceptions(int index) const; - ::CMsgSteamDatagramRouterPingReply_RouteException* add_route_exceptions(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_RouteException >& - route_exceptions() const; - - // repeated .CMsgSteamDatagramRouterPingReply.AltAddress alt_addresses = 13; - int alt_addresses_size() const; - private: - int _internal_alt_addresses_size() const; - public: - void clear_alt_addresses(); - ::CMsgSteamDatagramRouterPingReply_AltAddress* mutable_alt_addresses(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_AltAddress >* - mutable_alt_addresses(); - private: - const ::CMsgSteamDatagramRouterPingReply_AltAddress& _internal_alt_addresses(int index) const; - ::CMsgSteamDatagramRouterPingReply_AltAddress* _internal_add_alt_addresses(); - public: - const ::CMsgSteamDatagramRouterPingReply_AltAddress& alt_addresses(int index) const; - ::CMsgSteamDatagramRouterPingReply_AltAddress* add_alt_addresses(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_AltAddress >& - alt_addresses() const; - - // repeated fixed32 latency_datacenter_ids_p2p = 14 [packed = true]; - int latency_datacenter_ids_p2p_size() const; - private: - int _internal_latency_datacenter_ids_p2p_size() const; - public: - void clear_latency_datacenter_ids_p2p(); - private: - uint32_t _internal_latency_datacenter_ids_p2p(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_latency_datacenter_ids_p2p() const; - void _internal_add_latency_datacenter_ids_p2p(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_latency_datacenter_ids_p2p(); - public: - uint32_t latency_datacenter_ids_p2p(int index) const; - void set_latency_datacenter_ids_p2p(int index, uint32_t value); - void add_latency_datacenter_ids_p2p(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - latency_datacenter_ids_p2p() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_latency_datacenter_ids_p2p(); - - // repeated uint32 latency_ping_ms_p2p = 15 [packed = true]; - int latency_ping_ms_p2p_size() const; - private: - int _internal_latency_ping_ms_p2p_size() const; - public: - void clear_latency_ping_ms_p2p(); - private: - uint32_t _internal_latency_ping_ms_p2p(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_latency_ping_ms_p2p() const; - void _internal_add_latency_ping_ms_p2p(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_latency_ping_ms_p2p(); - public: - uint32_t latency_ping_ms_p2p(int index) const; - void set_latency_ping_ms_p2p(int index, uint32_t value); - void add_latency_ping_ms_p2p(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - latency_ping_ms_p2p() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_latency_ping_ms_p2p(); - - // optional bytes dummy_pad = 99; - bool has_dummy_pad() const; - private: - bool _internal_has_dummy_pad() const; - public: - void clear_dummy_pad(); - const std::string& dummy_pad() const; - template - void set_dummy_pad(ArgT0&& arg0, ArgT... args); - std::string* mutable_dummy_pad(); - PROTOBUF_NODISCARD std::string* release_dummy_pad(); - void set_allocated_dummy_pad(std::string* dummy_pad); - private: - const std::string& _internal_dummy_pad() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_dummy_pad(const std::string& value); - std::string* _internal_mutable_dummy_pad(); - public: - - // optional fixed32 client_timestamp = 1; - bool has_client_timestamp() const; - private: - bool _internal_has_client_timestamp() const; - public: - void clear_client_timestamp(); - uint32_t client_timestamp() const; - void set_client_timestamp(uint32_t value); - private: - uint32_t _internal_client_timestamp() const; - void _internal_set_client_timestamp(uint32_t value); - public: - - // optional fixed32 your_public_ip = 4; - bool has_your_public_ip() const; - private: - bool _internal_has_your_public_ip() const; - public: - void clear_your_public_ip(); - uint32_t your_public_ip() const; - void set_your_public_ip(uint32_t value); - private: - uint32_t _internal_your_public_ip() const; - void _internal_set_your_public_ip(uint32_t value); - public: - - // optional fixed64 challenge = 6; - bool has_challenge() const; - private: - bool _internal_has_challenge() const; - public: - void clear_challenge(); - uint64_t challenge() const; - void set_challenge(uint64_t value); - private: - uint64_t _internal_challenge() const; - void _internal_set_challenge(uint64_t value); - public: - - // optional fixed32 server_time = 5; - bool has_server_time() const; - private: - bool _internal_has_server_time() const; - public: - void clear_server_time(); - uint32_t server_time() const; - void set_server_time(uint32_t value); - private: - uint32_t _internal_server_time() const; - void _internal_set_server_time(uint32_t value); - public: - - // optional uint32 seconds_until_shutdown = 7; - bool has_seconds_until_shutdown() const; - private: - bool _internal_has_seconds_until_shutdown() const; - public: - void clear_seconds_until_shutdown(); - uint32_t seconds_until_shutdown() const; - void set_seconds_until_shutdown(uint32_t value); - private: - uint32_t _internal_seconds_until_shutdown() const; - void _internal_set_seconds_until_shutdown(uint32_t value); - public: - - // optional fixed32 client_cookie = 8; - bool has_client_cookie() const; - private: - bool _internal_has_client_cookie() const; - public: - void clear_client_cookie(); - uint32_t client_cookie() const; - void set_client_cookie(uint32_t value); - private: - uint32_t _internal_client_cookie() const; - void _internal_set_client_cookie(uint32_t value); - public: - - // optional uint32 scoring_penalty_relay_cluster = 9; - bool has_scoring_penalty_relay_cluster() const; - private: - bool _internal_has_scoring_penalty_relay_cluster() const; - public: - void clear_scoring_penalty_relay_cluster(); - uint32_t scoring_penalty_relay_cluster() const; - void set_scoring_penalty_relay_cluster(uint32_t value); - private: - uint32_t _internal_scoring_penalty_relay_cluster() const; - void _internal_set_scoring_penalty_relay_cluster(uint32_t value); - public: - - // optional fixed32 your_public_port = 11; - bool has_your_public_port() const; - private: - bool _internal_has_your_public_port() const; - public: - void clear_your_public_port(); - uint32_t your_public_port() const; - void set_your_public_port(uint32_t value); - private: - uint32_t _internal_your_public_port() const; - void _internal_set_your_public_port(uint32_t value); - public: - - // optional uint32 flags = 12; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional uint32 recv_tos = 16; - bool has_recv_tos() const; - private: - bool _internal_has_recv_tos() const; - public: - void clear_recv_tos(); - uint32_t recv_tos() const; - void set_recv_tos(uint32_t value); - private: - uint32_t _internal_recv_tos() const; - void _internal_set_recv_tos(uint32_t value); - public: - - // optional uint32 echo_sent_tos = 17; - bool has_echo_sent_tos() const; - private: - bool _internal_has_echo_sent_tos() const; - public: - void clear_echo_sent_tos(); - uint32_t echo_sent_tos() const; - void set_echo_sent_tos(uint32_t value); - private: - uint32_t _internal_echo_sent_tos() const; - void _internal_set_echo_sent_tos(uint32_t value); - public: - - // optional uint32 sent_tos = 18; - bool has_sent_tos() const; - private: - bool _internal_has_sent_tos() const; - public: - void clear_sent_tos(); - uint32_t sent_tos() const; - void set_sent_tos(uint32_t value); - private: - uint32_t _internal_sent_tos() const; - void _internal_set_sent_tos(uint32_t value); - public: - - // optional uint32 echo_request_reply_tos = 19; - bool has_echo_request_reply_tos() const; - private: - bool _internal_has_echo_request_reply_tos() const; - public: - void clear_echo_request_reply_tos(); - uint32_t echo_request_reply_tos() const; - void set_echo_request_reply_tos(uint32_t value); - private: - uint32_t _internal_echo_request_reply_tos() const; - void _internal_set_echo_request_reply_tos(uint32_t value); - public: - - // optional uint64 dummy_varint = 100; - bool has_dummy_varint() const; - private: - bool _internal_has_dummy_varint() const; - public: - void clear_dummy_varint(); - uint64_t dummy_varint() const; - void set_dummy_varint(uint64_t value); - private: - uint64_t _internal_dummy_varint() const; - void _internal_set_dummy_varint(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramRouterPingReply) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > latency_datacenter_ids_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > latency_ping_ms_; - mutable std::atomic _latency_ping_ms_cached_byte_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_RouteException > route_exceptions_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_AltAddress > alt_addresses_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > latency_datacenter_ids_p2p_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > latency_ping_ms_p2p_; - mutable std::atomic _latency_ping_ms_p2p_cached_byte_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dummy_pad_; - uint32_t client_timestamp_; - uint32_t your_public_ip_; - uint64_t challenge_; - uint32_t server_time_; - uint32_t seconds_until_shutdown_; - uint32_t client_cookie_; - uint32_t scoring_penalty_relay_cluster_; - uint32_t your_public_port_; - uint32_t flags_; - uint32_t recv_tos_; - uint32_t echo_sent_tos_; - uint32_t sent_tos_; - uint32_t echo_request_reply_tos_; - uint64_t dummy_varint_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramGameserverPingRequestBody : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramGameserverPingRequestBody) */ { - public: - inline CMsgSteamDatagramGameserverPingRequestBody() : CMsgSteamDatagramGameserverPingRequestBody(nullptr) {} - ~CMsgSteamDatagramGameserverPingRequestBody() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverPingRequestBody(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramGameserverPingRequestBody(const CMsgSteamDatagramGameserverPingRequestBody& from); - CMsgSteamDatagramGameserverPingRequestBody(CMsgSteamDatagramGameserverPingRequestBody&& from) noexcept - : CMsgSteamDatagramGameserverPingRequestBody() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramGameserverPingRequestBody& operator=(const CMsgSteamDatagramGameserverPingRequestBody& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramGameserverPingRequestBody& operator=(CMsgSteamDatagramGameserverPingRequestBody&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramGameserverPingRequestBody& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramGameserverPingRequestBody* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramGameserverPingRequestBody_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CMsgSteamDatagramGameserverPingRequestBody& a, CMsgSteamDatagramGameserverPingRequestBody& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramGameserverPingRequestBody* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramGameserverPingRequestBody* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramGameserverPingRequestBody* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramGameserverPingRequestBody& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramGameserverPingRequestBody& from) { - CMsgSteamDatagramGameserverPingRequestBody::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramGameserverPingRequestBody* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramGameserverPingRequestBody"; - } - protected: - explicit CMsgSteamDatagramGameserverPingRequestBody(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMyIpsFieldNumber = 6, - kEchoFieldNumber = 8, - kYourPublicIpFieldNumber = 2, - kRelayPopidFieldNumber = 1, - kYourPublicPortFieldNumber = 3, - kRelayUnixTimeFieldNumber = 4, - kRoutingSecretFieldNumber = 5, - }; - // repeated .CMsgSteamNetworkingIPAddress my_ips = 6; - int my_ips_size() const; - private: - int _internal_my_ips_size() const; - public: - void clear_my_ips(); - ::CMsgSteamNetworkingIPAddress* mutable_my_ips(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingIPAddress >* - mutable_my_ips(); - private: - const ::CMsgSteamNetworkingIPAddress& _internal_my_ips(int index) const; - ::CMsgSteamNetworkingIPAddress* _internal_add_my_ips(); - public: - const ::CMsgSteamNetworkingIPAddress& my_ips(int index) const; - ::CMsgSteamNetworkingIPAddress* add_my_ips(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingIPAddress >& - my_ips() const; - - // optional bytes echo = 8; - bool has_echo() const; - private: - bool _internal_has_echo() const; - public: - void clear_echo(); - const std::string& echo() const; - template - void set_echo(ArgT0&& arg0, ArgT... args); - std::string* mutable_echo(); - PROTOBUF_NODISCARD std::string* release_echo(); - void set_allocated_echo(std::string* echo); - private: - const std::string& _internal_echo() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_echo(const std::string& value); - std::string* _internal_mutable_echo(); - public: - - // optional .CMsgSteamNetworkingIPAddress your_public_ip = 2; - bool has_your_public_ip() const; - private: - bool _internal_has_your_public_ip() const; - public: - void clear_your_public_ip(); - const ::CMsgSteamNetworkingIPAddress& your_public_ip() const; - PROTOBUF_NODISCARD ::CMsgSteamNetworkingIPAddress* release_your_public_ip(); - ::CMsgSteamNetworkingIPAddress* mutable_your_public_ip(); - void set_allocated_your_public_ip(::CMsgSteamNetworkingIPAddress* your_public_ip); - private: - const ::CMsgSteamNetworkingIPAddress& _internal_your_public_ip() const; - ::CMsgSteamNetworkingIPAddress* _internal_mutable_your_public_ip(); - public: - void unsafe_arena_set_allocated_your_public_ip( - ::CMsgSteamNetworkingIPAddress* your_public_ip); - ::CMsgSteamNetworkingIPAddress* unsafe_arena_release_your_public_ip(); - - // optional fixed32 relay_popid = 1; - bool has_relay_popid() const; - private: - bool _internal_has_relay_popid() const; - public: - void clear_relay_popid(); - uint32_t relay_popid() const; - void set_relay_popid(uint32_t value); - private: - uint32_t _internal_relay_popid() const; - void _internal_set_relay_popid(uint32_t value); - public: - - // optional uint32 your_public_port = 3; - bool has_your_public_port() const; - private: - bool _internal_has_your_public_port() const; - public: - void clear_your_public_port(); - uint32_t your_public_port() const; - void set_your_public_port(uint32_t value); - private: - uint32_t _internal_your_public_port() const; - void _internal_set_your_public_port(uint32_t value); - public: - - // optional uint64 relay_unix_time = 4; - bool has_relay_unix_time() const; - private: - bool _internal_has_relay_unix_time() const; - public: - void clear_relay_unix_time(); - uint64_t relay_unix_time() const; - void set_relay_unix_time(uint64_t value); - private: - uint64_t _internal_relay_unix_time() const; - void _internal_set_relay_unix_time(uint64_t value); - public: - - // optional fixed64 routing_secret = 5; - bool has_routing_secret() const; - private: - bool _internal_has_routing_secret() const; - public: - void clear_routing_secret(); - uint64_t routing_secret() const; - void set_routing_secret(uint64_t value); - private: - uint64_t _internal_routing_secret() const; - void _internal_set_routing_secret(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramGameserverPingRequestBody) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingIPAddress > my_ips_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr echo_; - ::CMsgSteamNetworkingIPAddress* your_public_ip_; - uint32_t relay_popid_; - uint32_t your_public_port_; - uint64_t relay_unix_time_; - uint64_t routing_secret_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramGameserverPingRequestEnvelope : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramGameserverPingRequestEnvelope) */ { - public: - inline CMsgSteamDatagramGameserverPingRequestEnvelope() : CMsgSteamDatagramGameserverPingRequestEnvelope(nullptr) {} - ~CMsgSteamDatagramGameserverPingRequestEnvelope() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverPingRequestEnvelope(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramGameserverPingRequestEnvelope(const CMsgSteamDatagramGameserverPingRequestEnvelope& from); - CMsgSteamDatagramGameserverPingRequestEnvelope(CMsgSteamDatagramGameserverPingRequestEnvelope&& from) noexcept - : CMsgSteamDatagramGameserverPingRequestEnvelope() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramGameserverPingRequestEnvelope& operator=(const CMsgSteamDatagramGameserverPingRequestEnvelope& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramGameserverPingRequestEnvelope& operator=(CMsgSteamDatagramGameserverPingRequestEnvelope&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramGameserverPingRequestEnvelope& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramGameserverPingRequestEnvelope* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramGameserverPingRequestEnvelope_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CMsgSteamDatagramGameserverPingRequestEnvelope& a, CMsgSteamDatagramGameserverPingRequestEnvelope& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramGameserverPingRequestEnvelope* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramGameserverPingRequestEnvelope* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramGameserverPingRequestEnvelope* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramGameserverPingRequestEnvelope& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramGameserverPingRequestEnvelope& from) { - CMsgSteamDatagramGameserverPingRequestEnvelope::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramGameserverPingRequestEnvelope* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramGameserverPingRequestEnvelope"; - } - protected: - explicit CMsgSteamDatagramGameserverPingRequestEnvelope(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSignedDataFieldNumber = 7, - kSignatureFieldNumber = 8, - kDummyPadFieldNumber = 1023, - kCertFieldNumber = 6, - kLegacyYourPublicIpFieldNumber = 1, - kLegacyRelayUnixTimeFieldNumber = 2, - kLegacyChallengeFieldNumber = 3, - kLegacyRouterTimestampFieldNumber = 4, - kLegacyYourPublicPortFieldNumber = 5, - }; - // optional bytes signed_data = 7; - bool has_signed_data() const; - private: - bool _internal_has_signed_data() const; - public: - void clear_signed_data(); - const std::string& signed_data() const; - template - void set_signed_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_signed_data(); - PROTOBUF_NODISCARD std::string* release_signed_data(); - void set_allocated_signed_data(std::string* signed_data); - private: - const std::string& _internal_signed_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_signed_data(const std::string& value); - std::string* _internal_mutable_signed_data(); - public: - - // optional bytes signature = 8; - bool has_signature() const; - private: - bool _internal_has_signature() const; - public: - void clear_signature(); - const std::string& signature() const; - template - void set_signature(ArgT0&& arg0, ArgT... args); - std::string* mutable_signature(); - PROTOBUF_NODISCARD std::string* release_signature(); - void set_allocated_signature(std::string* signature); - private: - const std::string& _internal_signature() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_signature(const std::string& value); - std::string* _internal_mutable_signature(); - public: - - // optional bytes dummy_pad = 1023; - bool has_dummy_pad() const; - private: - bool _internal_has_dummy_pad() const; - public: - void clear_dummy_pad(); - const std::string& dummy_pad() const; - template - void set_dummy_pad(ArgT0&& arg0, ArgT... args); - std::string* mutable_dummy_pad(); - PROTOBUF_NODISCARD std::string* release_dummy_pad(); - void set_allocated_dummy_pad(std::string* dummy_pad); - private: - const std::string& _internal_dummy_pad() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_dummy_pad(const std::string& value); - std::string* _internal_mutable_dummy_pad(); - public: - - // optional .CMsgSteamDatagramCertificateSigned cert = 6; - bool has_cert() const; - private: - bool _internal_has_cert() const; - public: - void clear_cert(); - const ::CMsgSteamDatagramCertificateSigned& cert() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); - ::CMsgSteamDatagramCertificateSigned* mutable_cert(); - void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); - private: - const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; - ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); - public: - void unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert); - ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); - - // optional fixed32 legacy_your_public_ip = 1; - bool has_legacy_your_public_ip() const; - private: - bool _internal_has_legacy_your_public_ip() const; - public: - void clear_legacy_your_public_ip(); - uint32_t legacy_your_public_ip() const; - void set_legacy_your_public_ip(uint32_t value); - private: - uint32_t _internal_legacy_your_public_ip() const; - void _internal_set_legacy_your_public_ip(uint32_t value); - public: - - // optional fixed32 legacy_relay_unix_time = 2; - bool has_legacy_relay_unix_time() const; - private: - bool _internal_has_legacy_relay_unix_time() const; - public: - void clear_legacy_relay_unix_time(); - uint32_t legacy_relay_unix_time() const; - void set_legacy_relay_unix_time(uint32_t value); - private: - uint32_t _internal_legacy_relay_unix_time() const; - void _internal_set_legacy_relay_unix_time(uint32_t value); - public: - - // optional fixed64 legacy_challenge = 3; - bool has_legacy_challenge() const; - private: - bool _internal_has_legacy_challenge() const; - public: - void clear_legacy_challenge(); - uint64_t legacy_challenge() const; - void set_legacy_challenge(uint64_t value); - private: - uint64_t _internal_legacy_challenge() const; - void _internal_set_legacy_challenge(uint64_t value); - public: - - // optional fixed32 legacy_router_timestamp = 4; - bool has_legacy_router_timestamp() const; - private: - bool _internal_has_legacy_router_timestamp() const; - public: - void clear_legacy_router_timestamp(); - uint32_t legacy_router_timestamp() const; - void set_legacy_router_timestamp(uint32_t value); - private: - uint32_t _internal_legacy_router_timestamp() const; - void _internal_set_legacy_router_timestamp(uint32_t value); - public: - - // optional fixed32 legacy_your_public_port = 5; - bool has_legacy_your_public_port() const; - private: - bool _internal_has_legacy_your_public_port() const; - public: - void clear_legacy_your_public_port(); - uint32_t legacy_your_public_port() const; - void set_legacy_your_public_port(uint32_t value); - private: - uint32_t _internal_legacy_your_public_port() const; - void _internal_set_legacy_your_public_port(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramGameserverPingRequestEnvelope) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signed_data_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signature_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dummy_pad_; - ::CMsgSteamDatagramCertificateSigned* cert_; - uint32_t legacy_your_public_ip_; - uint32_t legacy_relay_unix_time_; - uint64_t legacy_challenge_; - uint32_t legacy_router_timestamp_; - uint32_t legacy_your_public_port_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramGameserverPingReplyData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramGameserverPingReplyData) */ { - public: - inline CMsgSteamDatagramGameserverPingReplyData() : CMsgSteamDatagramGameserverPingReplyData(nullptr) {} - ~CMsgSteamDatagramGameserverPingReplyData() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverPingReplyData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramGameserverPingReplyData(const CMsgSteamDatagramGameserverPingReplyData& from); - CMsgSteamDatagramGameserverPingReplyData(CMsgSteamDatagramGameserverPingReplyData&& from) noexcept - : CMsgSteamDatagramGameserverPingReplyData() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramGameserverPingReplyData& operator=(const CMsgSteamDatagramGameserverPingReplyData& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramGameserverPingReplyData& operator=(CMsgSteamDatagramGameserverPingReplyData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramGameserverPingReplyData& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramGameserverPingReplyData* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramGameserverPingReplyData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(CMsgSteamDatagramGameserverPingReplyData& a, CMsgSteamDatagramGameserverPingReplyData& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramGameserverPingReplyData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramGameserverPingReplyData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramGameserverPingReplyData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramGameserverPingReplyData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramGameserverPingReplyData& from) { - CMsgSteamDatagramGameserverPingReplyData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramGameserverPingReplyData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramGameserverPingReplyData"; - } - protected: - explicit CMsgSteamDatagramGameserverPingReplyData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEchoFieldNumber = 8, - kBuildFieldNumber = 9, - kRoutingBlobFieldNumber = 12, - kLegacyChallengeFieldNumber = 3, - kEchoRelayUnixTimeFieldNumber = 2, - kLegacyRouterTimestampFieldNumber = 4, - kDataCenterIdFieldNumber = 5, - kAppidFieldNumber = 6, - kProtocolVersionFieldNumber = 7, - kMyUnixTimeFieldNumber = 11, - kNetworkConfigVersionFieldNumber = 10, - }; - // optional bytes echo = 8; - bool has_echo() const; - private: - bool _internal_has_echo() const; - public: - void clear_echo(); - const std::string& echo() const; - template - void set_echo(ArgT0&& arg0, ArgT... args); - std::string* mutable_echo(); - PROTOBUF_NODISCARD std::string* release_echo(); - void set_allocated_echo(std::string* echo); - private: - const std::string& _internal_echo() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_echo(const std::string& value); - std::string* _internal_mutable_echo(); - public: - - // optional string build = 9; - bool has_build() const; - private: - bool _internal_has_build() const; - public: - void clear_build(); - const std::string& build() const; - template - void set_build(ArgT0&& arg0, ArgT... args); - std::string* mutable_build(); - PROTOBUF_NODISCARD std::string* release_build(); - void set_allocated_build(std::string* build); - private: - const std::string& _internal_build() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_build(const std::string& value); - std::string* _internal_mutable_build(); - public: - - // optional bytes routing_blob = 12; - bool has_routing_blob() const; - private: - bool _internal_has_routing_blob() const; - public: - void clear_routing_blob(); - const std::string& routing_blob() const; - template - void set_routing_blob(ArgT0&& arg0, ArgT... args); - std::string* mutable_routing_blob(); - PROTOBUF_NODISCARD std::string* release_routing_blob(); - void set_allocated_routing_blob(std::string* routing_blob); - private: - const std::string& _internal_routing_blob() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_routing_blob(const std::string& value); - std::string* _internal_mutable_routing_blob(); - public: - - // optional fixed64 legacy_challenge = 3; - bool has_legacy_challenge() const; - private: - bool _internal_has_legacy_challenge() const; - public: - void clear_legacy_challenge(); - uint64_t legacy_challenge() const; - void set_legacy_challenge(uint64_t value); - private: - uint64_t _internal_legacy_challenge() const; - void _internal_set_legacy_challenge(uint64_t value); - public: - - // optional fixed32 echo_relay_unix_time = 2; - bool has_echo_relay_unix_time() const; - private: - bool _internal_has_echo_relay_unix_time() const; - public: - void clear_echo_relay_unix_time(); - uint32_t echo_relay_unix_time() const; - void set_echo_relay_unix_time(uint32_t value); - private: - uint32_t _internal_echo_relay_unix_time() const; - void _internal_set_echo_relay_unix_time(uint32_t value); - public: - - // optional fixed32 legacy_router_timestamp = 4; - bool has_legacy_router_timestamp() const; - private: - bool _internal_has_legacy_router_timestamp() const; - public: - void clear_legacy_router_timestamp(); - uint32_t legacy_router_timestamp() const; - void set_legacy_router_timestamp(uint32_t value); - private: - uint32_t _internal_legacy_router_timestamp() const; - void _internal_set_legacy_router_timestamp(uint32_t value); - public: - - // optional fixed32 data_center_id = 5; - bool has_data_center_id() const; - private: - bool _internal_has_data_center_id() const; - public: - void clear_data_center_id(); - uint32_t data_center_id() const; - void set_data_center_id(uint32_t value); - private: - uint32_t _internal_data_center_id() const; - void _internal_set_data_center_id(uint32_t value); - public: - - // optional uint32 appid = 6; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional uint32 protocol_version = 7; - bool has_protocol_version() const; - private: - bool _internal_has_protocol_version() const; - public: - void clear_protocol_version(); - uint32_t protocol_version() const; - void set_protocol_version(uint32_t value); - private: - uint32_t _internal_protocol_version() const; - void _internal_set_protocol_version(uint32_t value); - public: - - // optional fixed32 my_unix_time = 11; - bool has_my_unix_time() const; - private: - bool _internal_has_my_unix_time() const; - public: - void clear_my_unix_time(); - uint32_t my_unix_time() const; - void set_my_unix_time(uint32_t value); - private: - uint32_t _internal_my_unix_time() const; - void _internal_set_my_unix_time(uint32_t value); - public: - - // optional uint64 network_config_version = 10; - bool has_network_config_version() const; - private: - bool _internal_has_network_config_version() const; - public: - void clear_network_config_version(); - uint64_t network_config_version() const; - void set_network_config_version(uint64_t value); - private: - uint64_t _internal_network_config_version() const; - void _internal_set_network_config_version(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramGameserverPingReplyData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr echo_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr build_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr routing_blob_; - uint64_t legacy_challenge_; - uint32_t echo_relay_unix_time_; - uint32_t legacy_router_timestamp_; - uint32_t data_center_id_; - uint32_t appid_; - uint32_t protocol_version_; - uint32_t my_unix_time_; - uint64_t network_config_version_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramNoSessionRelayToClient : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramNoSessionRelayToClient) */ { - public: - inline CMsgSteamDatagramNoSessionRelayToClient() : CMsgSteamDatagramNoSessionRelayToClient(nullptr) {} - ~CMsgSteamDatagramNoSessionRelayToClient() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramNoSessionRelayToClient(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramNoSessionRelayToClient(const CMsgSteamDatagramNoSessionRelayToClient& from); - CMsgSteamDatagramNoSessionRelayToClient(CMsgSteamDatagramNoSessionRelayToClient&& from) noexcept - : CMsgSteamDatagramNoSessionRelayToClient() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramNoSessionRelayToClient& operator=(const CMsgSteamDatagramNoSessionRelayToClient& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramNoSessionRelayToClient& operator=(CMsgSteamDatagramNoSessionRelayToClient&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramNoSessionRelayToClient& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramNoSessionRelayToClient* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramNoSessionRelayToClient_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(CMsgSteamDatagramNoSessionRelayToClient& a, CMsgSteamDatagramNoSessionRelayToClient& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramNoSessionRelayToClient* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramNoSessionRelayToClient* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramNoSessionRelayToClient* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramNoSessionRelayToClient& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramNoSessionRelayToClient& from) { - CMsgSteamDatagramNoSessionRelayToClient::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramNoSessionRelayToClient* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramNoSessionRelayToClient"; - } - protected: - explicit CMsgSteamDatagramNoSessionRelayToClient(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kYourPublicIpFieldNumber = 2, - kServerTimeFieldNumber = 3, - kChallengeFieldNumber = 4, - kSecondsUntilShutdownFieldNumber = 5, - kYourPublicPortFieldNumber = 6, - kConnectionIdFieldNumber = 7, - }; - // optional fixed32 your_public_ip = 2; - bool has_your_public_ip() const; - private: - bool _internal_has_your_public_ip() const; - public: - void clear_your_public_ip(); - uint32_t your_public_ip() const; - void set_your_public_ip(uint32_t value); - private: - uint32_t _internal_your_public_ip() const; - void _internal_set_your_public_ip(uint32_t value); - public: - - // optional fixed32 server_time = 3; - bool has_server_time() const; - private: - bool _internal_has_server_time() const; - public: - void clear_server_time(); - uint32_t server_time() const; - void set_server_time(uint32_t value); - private: - uint32_t _internal_server_time() const; - void _internal_set_server_time(uint32_t value); - public: - - // optional fixed64 challenge = 4; - bool has_challenge() const; - private: - bool _internal_has_challenge() const; - public: - void clear_challenge(); - uint64_t challenge() const; - void set_challenge(uint64_t value); - private: - uint64_t _internal_challenge() const; - void _internal_set_challenge(uint64_t value); - public: - - // optional uint32 seconds_until_shutdown = 5; - bool has_seconds_until_shutdown() const; - private: - bool _internal_has_seconds_until_shutdown() const; - public: - void clear_seconds_until_shutdown(); - uint32_t seconds_until_shutdown() const; - void set_seconds_until_shutdown(uint32_t value); - private: - uint32_t _internal_seconds_until_shutdown() const; - void _internal_set_seconds_until_shutdown(uint32_t value); - public: - - // optional fixed32 your_public_port = 6; - bool has_your_public_port() const; - private: - bool _internal_has_your_public_port() const; - public: - void clear_your_public_port(); - uint32_t your_public_port() const; - void set_your_public_port(uint32_t value); - private: - uint32_t _internal_your_public_port() const; - void _internal_set_your_public_port(uint32_t value); - public: - - // optional fixed32 connection_id = 7; - bool has_connection_id() const; - private: - bool _internal_has_connection_id() const; - public: - void clear_connection_id(); - uint32_t connection_id() const; - void set_connection_id(uint32_t value); - private: - uint32_t _internal_connection_id() const; - void _internal_set_connection_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramNoSessionRelayToClient) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t your_public_ip_; - uint32_t server_time_; - uint64_t challenge_; - uint32_t seconds_until_shutdown_; - uint32_t your_public_port_; - uint32_t connection_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramNoSessionRelayToPeer : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramNoSessionRelayToPeer) */ { - public: - inline CMsgSteamDatagramNoSessionRelayToPeer() : CMsgSteamDatagramNoSessionRelayToPeer(nullptr) {} - ~CMsgSteamDatagramNoSessionRelayToPeer() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramNoSessionRelayToPeer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramNoSessionRelayToPeer(const CMsgSteamDatagramNoSessionRelayToPeer& from); - CMsgSteamDatagramNoSessionRelayToPeer(CMsgSteamDatagramNoSessionRelayToPeer&& from) noexcept - : CMsgSteamDatagramNoSessionRelayToPeer() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramNoSessionRelayToPeer& operator=(const CMsgSteamDatagramNoSessionRelayToPeer& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramNoSessionRelayToPeer& operator=(CMsgSteamDatagramNoSessionRelayToPeer&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramNoSessionRelayToPeer& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramNoSessionRelayToPeer* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramNoSessionRelayToPeer_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(CMsgSteamDatagramNoSessionRelayToPeer& a, CMsgSteamDatagramNoSessionRelayToPeer& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramNoSessionRelayToPeer* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramNoSessionRelayToPeer* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramNoSessionRelayToPeer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramNoSessionRelayToPeer& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramNoSessionRelayToPeer& from) { - CMsgSteamDatagramNoSessionRelayToPeer::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramNoSessionRelayToPeer* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramNoSessionRelayToPeer"; - } - protected: - explicit CMsgSteamDatagramNoSessionRelayToPeer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLegacyRelaySessionIdFieldNumber = 1, - kFromRelaySessionIdFieldNumber = 2, - kKludgePadFieldNumber = 99, - kFromConnectionIdFieldNumber = 7, - }; - // optional uint32 legacy_relay_session_id = 1; - bool has_legacy_relay_session_id() const; - private: - bool _internal_has_legacy_relay_session_id() const; - public: - void clear_legacy_relay_session_id(); - uint32_t legacy_relay_session_id() const; - void set_legacy_relay_session_id(uint32_t value); - private: - uint32_t _internal_legacy_relay_session_id() const; - void _internal_set_legacy_relay_session_id(uint32_t value); - public: - - // optional fixed32 from_relay_session_id = 2; - bool has_from_relay_session_id() const; - private: - bool _internal_has_from_relay_session_id() const; - public: - void clear_from_relay_session_id(); - uint32_t from_relay_session_id() const; - void set_from_relay_session_id(uint32_t value); - private: - uint32_t _internal_from_relay_session_id() const; - void _internal_set_from_relay_session_id(uint32_t value); - public: - - // optional fixed64 kludge_pad = 99; - bool has_kludge_pad() const; - private: - bool _internal_has_kludge_pad() const; - public: - void clear_kludge_pad(); - uint64_t kludge_pad() const; - void set_kludge_pad(uint64_t value); - private: - uint64_t _internal_kludge_pad() const; - void _internal_set_kludge_pad(uint64_t value); - public: - - // optional fixed32 from_connection_id = 7; - bool has_from_connection_id() const; - private: - bool _internal_has_from_connection_id() const; - public: - void clear_from_connection_id(); - uint32_t from_connection_id() const; - void set_from_connection_id(uint32_t value); - private: - uint32_t _internal_from_connection_id() const; - void _internal_set_from_connection_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramNoSessionRelayToPeer) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t legacy_relay_session_id_; - uint32_t from_relay_session_id_; - uint64_t kludge_pad_; - uint32_t from_connection_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTOSTreatment : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTOSTreatment) */ { - public: - inline CMsgTOSTreatment() : CMsgTOSTreatment(nullptr) {} - ~CMsgTOSTreatment() override; - explicit PROTOBUF_CONSTEXPR CMsgTOSTreatment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTOSTreatment(const CMsgTOSTreatment& from); - CMsgTOSTreatment(CMsgTOSTreatment&& from) noexcept - : CMsgTOSTreatment() { - *this = ::std::move(from); - } - - inline CMsgTOSTreatment& operator=(const CMsgTOSTreatment& from) { - CopyFrom(from); - return *this; - } - inline CMsgTOSTreatment& operator=(CMsgTOSTreatment&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTOSTreatment& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTOSTreatment* internal_default_instance() { - return reinterpret_cast( - &_CMsgTOSTreatment_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(CMsgTOSTreatment& a, CMsgTOSTreatment& b) { - a.Swap(&b); - } - inline void Swap(CMsgTOSTreatment* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTOSTreatment* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTOSTreatment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTOSTreatment& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTOSTreatment& from) { - CMsgTOSTreatment::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTOSTreatment* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTOSTreatment"; - } - protected: - explicit CMsgTOSTreatment(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kL4SDetectFieldNumber = 1, - kUpEcn1FieldNumber = 2, - kDownDscp45FieldNumber = 3, - }; - // optional string l4s_detect = 1; - bool has_l4s_detect() const; - private: - bool _internal_has_l4s_detect() const; - public: - void clear_l4s_detect(); - const std::string& l4s_detect() const; - template - void set_l4s_detect(ArgT0&& arg0, ArgT... args); - std::string* mutable_l4s_detect(); - PROTOBUF_NODISCARD std::string* release_l4s_detect(); - void set_allocated_l4s_detect(std::string* l4s_detect); - private: - const std::string& _internal_l4s_detect() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_l4s_detect(const std::string& value); - std::string* _internal_mutable_l4s_detect(); - public: - - // optional string up_ecn1 = 2; - bool has_up_ecn1() const; - private: - bool _internal_has_up_ecn1() const; - public: - void clear_up_ecn1(); - const std::string& up_ecn1() const; - template - void set_up_ecn1(ArgT0&& arg0, ArgT... args); - std::string* mutable_up_ecn1(); - PROTOBUF_NODISCARD std::string* release_up_ecn1(); - void set_allocated_up_ecn1(std::string* up_ecn1); - private: - const std::string& _internal_up_ecn1() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_up_ecn1(const std::string& value); - std::string* _internal_mutable_up_ecn1(); - public: - - // optional string down_dscp45 = 3; - bool has_down_dscp45() const; - private: - bool _internal_has_down_dscp45() const; - public: - void clear_down_dscp45(); - const std::string& down_dscp45() const; - template - void set_down_dscp45(ArgT0&& arg0, ArgT... args); - std::string* mutable_down_dscp45(); - PROTOBUF_NODISCARD std::string* release_down_dscp45(); - void set_allocated_down_dscp45(std::string* down_dscp45); - private: - const std::string& _internal_down_dscp45() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_down_dscp45(const std::string& value); - std::string* _internal_mutable_down_dscp45(); - public: - - // @@protoc_insertion_point(class_scope:CMsgTOSTreatment) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr l4s_detect_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr up_ecn1_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr down_dscp45_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramClientPingSampleRequest : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramClientPingSampleRequest) */ { - public: - inline CMsgSteamDatagramClientPingSampleRequest() : CMsgSteamDatagramClientPingSampleRequest(nullptr) {} - ~CMsgSteamDatagramClientPingSampleRequest() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramClientPingSampleRequest(const CMsgSteamDatagramClientPingSampleRequest& from); - CMsgSteamDatagramClientPingSampleRequest(CMsgSteamDatagramClientPingSampleRequest&& from) noexcept - : CMsgSteamDatagramClientPingSampleRequest() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramClientPingSampleRequest& operator=(const CMsgSteamDatagramClientPingSampleRequest& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramClientPingSampleRequest& operator=(CMsgSteamDatagramClientPingSampleRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramClientPingSampleRequest& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramClientPingSampleRequest* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramClientPingSampleRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(CMsgSteamDatagramClientPingSampleRequest& a, CMsgSteamDatagramClientPingSampleRequest& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramClientPingSampleRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramClientPingSampleRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramClientPingSampleRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramClientPingSampleRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramClientPingSampleRequest& from) { - CMsgSteamDatagramClientPingSampleRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramClientPingSampleRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramClientPingSampleRequest"; - } - protected: - explicit CMsgSteamDatagramClientPingSampleRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kConnectionIdFieldNumber = 1, - }; - // optional fixed32 connection_id = 1; - bool has_connection_id() const; - private: - bool _internal_has_connection_id() const; - public: - void clear_connection_id(); - uint32_t connection_id() const; - void set_connection_id(uint32_t value); - private: - uint32_t _internal_connection_id() const; - void _internal_set_connection_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramClientPingSampleRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t connection_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramClientPingSampleReply_POP_AltAddress : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) */ { - public: - inline CMsgSteamDatagramClientPingSampleReply_POP_AltAddress() : CMsgSteamDatagramClientPingSampleReply_POP_AltAddress(nullptr) {} - ~CMsgSteamDatagramClientPingSampleReply_POP_AltAddress() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply_POP_AltAddress(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramClientPingSampleReply_POP_AltAddress(const CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& from); - CMsgSteamDatagramClientPingSampleReply_POP_AltAddress(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress&& from) noexcept - : CMsgSteamDatagramClientPingSampleReply_POP_AltAddress() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& operator=(const CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& operator=(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramClientPingSampleReply_POP_AltAddress_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& a, CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& from) { - CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramClientPingSampleReply.POP.AltAddress"; - } - protected: - explicit CMsgSteamDatagramClientPingSampleReply_POP_AltAddress(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIdFieldNumber = 1, - kFrontPingMsFieldNumber = 2, - kPenaltyFieldNumber = 3, - }; - // optional string id = 1; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - const std::string& id() const; - template - void set_id(ArgT0&& arg0, ArgT... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* id); - private: - const std::string& _internal_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value); - std::string* _internal_mutable_id(); - public: - - // optional uint32 front_ping_ms = 2; - bool has_front_ping_ms() const; - private: - bool _internal_has_front_ping_ms() const; - public: - void clear_front_ping_ms(); - uint32_t front_ping_ms() const; - void set_front_ping_ms(uint32_t value); - private: - uint32_t _internal_front_ping_ms() const; - void _internal_set_front_ping_ms(uint32_t value); - public: - - // optional uint32 penalty = 3; - bool has_penalty() const; - private: - bool _internal_has_penalty() const; - public: - void clear_penalty(); - uint32_t penalty() const; - void set_penalty(uint32_t value); - private: - uint32_t _internal_penalty() const; - void _internal_set_penalty(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; - uint32_t front_ping_ms_; - uint32_t penalty_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramClientPingSampleReply_POP : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramClientPingSampleReply.POP) */ { - public: - inline CMsgSteamDatagramClientPingSampleReply_POP() : CMsgSteamDatagramClientPingSampleReply_POP(nullptr) {} - ~CMsgSteamDatagramClientPingSampleReply_POP() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply_POP(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramClientPingSampleReply_POP(const CMsgSteamDatagramClientPingSampleReply_POP& from); - CMsgSteamDatagramClientPingSampleReply_POP(CMsgSteamDatagramClientPingSampleReply_POP&& from) noexcept - : CMsgSteamDatagramClientPingSampleReply_POP() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramClientPingSampleReply_POP& operator=(const CMsgSteamDatagramClientPingSampleReply_POP& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramClientPingSampleReply_POP& operator=(CMsgSteamDatagramClientPingSampleReply_POP&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramClientPingSampleReply_POP& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramClientPingSampleReply_POP* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramClientPingSampleReply_POP_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - friend void swap(CMsgSteamDatagramClientPingSampleReply_POP& a, CMsgSteamDatagramClientPingSampleReply_POP& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramClientPingSampleReply_POP* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramClientPingSampleReply_POP* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramClientPingSampleReply_POP* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramClientPingSampleReply_POP& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramClientPingSampleReply_POP& from) { - CMsgSteamDatagramClientPingSampleReply_POP::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramClientPingSampleReply_POP* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramClientPingSampleReply.POP"; - } - protected: - explicit CMsgSteamDatagramClientPingSampleReply_POP(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamDatagramClientPingSampleReply_POP_AltAddress AltAddress; - - // accessors ------------------------------------------------------- - - enum : int { - kAltAddressesFieldNumber = 7, - kPopIdFieldNumber = 1, - kDefaultFrontPingMsFieldNumber = 2, - kDefaultE2EPingMsFieldNumber = 3, - kClusterPenaltyFieldNumber = 4, - kDefaultE2EScoreFieldNumber = 5, - kP2PViaPeerRelayPopIdFieldNumber = 6, - kBestDcPingMsFieldNumber = 9, - kBestDcScoreFieldNumber = 10, - kBestDcViaRelayPopIdFieldNumber = 11, - kDefaultDcPingMsFieldNumber = 12, - kDefaultDcScoreFieldNumber = 13, - kDefaultDcViaRelayPopIdFieldNumber = 14, - kTestDcPingMsFieldNumber = 15, - kTestDcScoreFieldNumber = 16, - kTestDcViaRelayPopIdFieldNumber = 17, - }; - // repeated .CMsgSteamDatagramClientPingSampleReply.POP.AltAddress alt_addresses = 7; - int alt_addresses_size() const; - private: - int _internal_alt_addresses_size() const; - public: - void clear_alt_addresses(); - ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* mutable_alt_addresses(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress >* - mutable_alt_addresses(); - private: - const ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& _internal_alt_addresses(int index) const; - ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* _internal_add_alt_addresses(); - public: - const ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& alt_addresses(int index) const; - ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* add_alt_addresses(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress >& - alt_addresses() const; - - // optional fixed32 pop_id = 1; - bool has_pop_id() const; - private: - bool _internal_has_pop_id() const; - public: - void clear_pop_id(); - uint32_t pop_id() const; - void set_pop_id(uint32_t value); - private: - uint32_t _internal_pop_id() const; - void _internal_set_pop_id(uint32_t value); - public: - - // optional uint32 default_front_ping_ms = 2; - bool has_default_front_ping_ms() const; - private: - bool _internal_has_default_front_ping_ms() const; - public: - void clear_default_front_ping_ms(); - uint32_t default_front_ping_ms() const; - void set_default_front_ping_ms(uint32_t value); - private: - uint32_t _internal_default_front_ping_ms() const; - void _internal_set_default_front_ping_ms(uint32_t value); - public: - - // optional uint32 default_e2e_ping_ms = 3; - bool has_default_e2e_ping_ms() const; - private: - bool _internal_has_default_e2e_ping_ms() const; - public: - void clear_default_e2e_ping_ms(); - uint32_t default_e2e_ping_ms() const; - void set_default_e2e_ping_ms(uint32_t value); - private: - uint32_t _internal_default_e2e_ping_ms() const; - void _internal_set_default_e2e_ping_ms(uint32_t value); - public: - - // optional uint32 cluster_penalty = 4; - bool has_cluster_penalty() const; - private: - bool _internal_has_cluster_penalty() const; - public: - void clear_cluster_penalty(); - uint32_t cluster_penalty() const; - void set_cluster_penalty(uint32_t value); - private: - uint32_t _internal_cluster_penalty() const; - void _internal_set_cluster_penalty(uint32_t value); - public: - - // optional uint32 default_e2e_score = 5; - bool has_default_e2e_score() const; - private: - bool _internal_has_default_e2e_score() const; - public: - void clear_default_e2e_score(); - uint32_t default_e2e_score() const; - void set_default_e2e_score(uint32_t value); - private: - uint32_t _internal_default_e2e_score() const; - void _internal_set_default_e2e_score(uint32_t value); - public: - - // optional fixed32 p2p_via_peer_relay_pop_id = 6; - bool has_p2p_via_peer_relay_pop_id() const; - private: - bool _internal_has_p2p_via_peer_relay_pop_id() const; - public: - void clear_p2p_via_peer_relay_pop_id(); - uint32_t p2p_via_peer_relay_pop_id() const; - void set_p2p_via_peer_relay_pop_id(uint32_t value); - private: - uint32_t _internal_p2p_via_peer_relay_pop_id() const; - void _internal_set_p2p_via_peer_relay_pop_id(uint32_t value); - public: - - // optional uint32 best_dc_ping_ms = 9; - bool has_best_dc_ping_ms() const; - private: - bool _internal_has_best_dc_ping_ms() const; - public: - void clear_best_dc_ping_ms(); - uint32_t best_dc_ping_ms() const; - void set_best_dc_ping_ms(uint32_t value); - private: - uint32_t _internal_best_dc_ping_ms() const; - void _internal_set_best_dc_ping_ms(uint32_t value); - public: - - // optional uint32 best_dc_score = 10; - bool has_best_dc_score() const; - private: - bool _internal_has_best_dc_score() const; - public: - void clear_best_dc_score(); - uint32_t best_dc_score() const; - void set_best_dc_score(uint32_t value); - private: - uint32_t _internal_best_dc_score() const; - void _internal_set_best_dc_score(uint32_t value); - public: - - // optional fixed32 best_dc_via_relay_pop_id = 11; - bool has_best_dc_via_relay_pop_id() const; - private: - bool _internal_has_best_dc_via_relay_pop_id() const; - public: - void clear_best_dc_via_relay_pop_id(); - uint32_t best_dc_via_relay_pop_id() const; - void set_best_dc_via_relay_pop_id(uint32_t value); - private: - uint32_t _internal_best_dc_via_relay_pop_id() const; - void _internal_set_best_dc_via_relay_pop_id(uint32_t value); - public: - - // optional uint32 default_dc_ping_ms = 12; - bool has_default_dc_ping_ms() const; - private: - bool _internal_has_default_dc_ping_ms() const; - public: - void clear_default_dc_ping_ms(); - uint32_t default_dc_ping_ms() const; - void set_default_dc_ping_ms(uint32_t value); - private: - uint32_t _internal_default_dc_ping_ms() const; - void _internal_set_default_dc_ping_ms(uint32_t value); - public: - - // optional uint32 default_dc_score = 13; - bool has_default_dc_score() const; - private: - bool _internal_has_default_dc_score() const; - public: - void clear_default_dc_score(); - uint32_t default_dc_score() const; - void set_default_dc_score(uint32_t value); - private: - uint32_t _internal_default_dc_score() const; - void _internal_set_default_dc_score(uint32_t value); - public: - - // optional fixed32 default_dc_via_relay_pop_id = 14; - bool has_default_dc_via_relay_pop_id() const; - private: - bool _internal_has_default_dc_via_relay_pop_id() const; - public: - void clear_default_dc_via_relay_pop_id(); - uint32_t default_dc_via_relay_pop_id() const; - void set_default_dc_via_relay_pop_id(uint32_t value); - private: - uint32_t _internal_default_dc_via_relay_pop_id() const; - void _internal_set_default_dc_via_relay_pop_id(uint32_t value); - public: - - // optional uint32 test_dc_ping_ms = 15; - bool has_test_dc_ping_ms() const; - private: - bool _internal_has_test_dc_ping_ms() const; - public: - void clear_test_dc_ping_ms(); - uint32_t test_dc_ping_ms() const; - void set_test_dc_ping_ms(uint32_t value); - private: - uint32_t _internal_test_dc_ping_ms() const; - void _internal_set_test_dc_ping_ms(uint32_t value); - public: - - // optional uint32 test_dc_score = 16; - bool has_test_dc_score() const; - private: - bool _internal_has_test_dc_score() const; - public: - void clear_test_dc_score(); - uint32_t test_dc_score() const; - void set_test_dc_score(uint32_t value); - private: - uint32_t _internal_test_dc_score() const; - void _internal_set_test_dc_score(uint32_t value); - public: - - // optional fixed32 test_dc_via_relay_pop_id = 17; - bool has_test_dc_via_relay_pop_id() const; - private: - bool _internal_has_test_dc_via_relay_pop_id() const; - public: - void clear_test_dc_via_relay_pop_id(); - uint32_t test_dc_via_relay_pop_id() const; - void set_test_dc_via_relay_pop_id(uint32_t value); - private: - uint32_t _internal_test_dc_via_relay_pop_id() const; - void _internal_set_test_dc_via_relay_pop_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramClientPingSampleReply.POP) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress > alt_addresses_; - uint32_t pop_id_; - uint32_t default_front_ping_ms_; - uint32_t default_e2e_ping_ms_; - uint32_t cluster_penalty_; - uint32_t default_e2e_score_; - uint32_t p2p_via_peer_relay_pop_id_; - uint32_t best_dc_ping_ms_; - uint32_t best_dc_score_; - uint32_t best_dc_via_relay_pop_id_; - uint32_t default_dc_ping_ms_; - uint32_t default_dc_score_; - uint32_t default_dc_via_relay_pop_id_; - uint32_t test_dc_ping_ms_; - uint32_t test_dc_score_; - uint32_t test_dc_via_relay_pop_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) */ { - public: - inline CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter() : CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter(nullptr) {} - ~CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter(const CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& from); - CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter&& from) noexcept - : CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& operator=(const CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& operator=(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - friend void swap(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& a, CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& from) { - CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter"; - } - protected: - explicit CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataCenterIdFieldNumber = 1, - kBestDcViaRelayPopIdFieldNumber = 2, - kBestDcPingMsFieldNumber = 3, - }; - // optional fixed32 data_center_id = 1; - bool has_data_center_id() const; - private: - bool _internal_has_data_center_id() const; - public: - void clear_data_center_id(); - uint32_t data_center_id() const; - void set_data_center_id(uint32_t value); - private: - uint32_t _internal_data_center_id() const; - void _internal_set_data_center_id(uint32_t value); - public: - - // optional fixed32 best_dc_via_relay_pop_id = 2; - bool has_best_dc_via_relay_pop_id() const; - private: - bool _internal_has_best_dc_via_relay_pop_id() const; - public: - void clear_best_dc_via_relay_pop_id(); - uint32_t best_dc_via_relay_pop_id() const; - void set_best_dc_via_relay_pop_id(uint32_t value); - private: - uint32_t _internal_best_dc_via_relay_pop_id() const; - void _internal_set_best_dc_via_relay_pop_id(uint32_t value); - public: - - // optional uint32 best_dc_ping_ms = 3; - bool has_best_dc_ping_ms() const; - private: - bool _internal_has_best_dc_ping_ms() const; - public: - void clear_best_dc_ping_ms(); - uint32_t best_dc_ping_ms() const; - void set_best_dc_ping_ms(uint32_t value); - private: - uint32_t _internal_best_dc_ping_ms() const; - void _internal_set_best_dc_ping_ms(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t data_center_id_; - uint32_t best_dc_via_relay_pop_id_; - uint32_t best_dc_ping_ms_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramClientPingSampleReply : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramClientPingSampleReply) */ { - public: - inline CMsgSteamDatagramClientPingSampleReply() : CMsgSteamDatagramClientPingSampleReply(nullptr) {} - ~CMsgSteamDatagramClientPingSampleReply() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramClientPingSampleReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramClientPingSampleReply(const CMsgSteamDatagramClientPingSampleReply& from); - CMsgSteamDatagramClientPingSampleReply(CMsgSteamDatagramClientPingSampleReply&& from) noexcept - : CMsgSteamDatagramClientPingSampleReply() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramClientPingSampleReply& operator=(const CMsgSteamDatagramClientPingSampleReply& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramClientPingSampleReply& operator=(CMsgSteamDatagramClientPingSampleReply&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramClientPingSampleReply& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramClientPingSampleReply* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramClientPingSampleReply_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - friend void swap(CMsgSteamDatagramClientPingSampleReply& a, CMsgSteamDatagramClientPingSampleReply& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramClientPingSampleReply* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramClientPingSampleReply* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramClientPingSampleReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramClientPingSampleReply& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramClientPingSampleReply& from) { - CMsgSteamDatagramClientPingSampleReply::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramClientPingSampleReply* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramClientPingSampleReply"; - } - protected: - explicit CMsgSteamDatagramClientPingSampleReply(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamDatagramClientPingSampleReply_POP POP; - typedef CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter LegacyDataCenter; - - // accessors ------------------------------------------------------- - - enum : int { - kPopsFieldNumber = 2, - kLegacyDataCentersFieldNumber = 3, - kTosFieldNumber = 6, - kConnectionIdFieldNumber = 1, - kRelayOverrideActiveFieldNumber = 5, - }; - // repeated .CMsgSteamDatagramClientPingSampleReply.POP pops = 2; - int pops_size() const; - private: - int _internal_pops_size() const; - public: - void clear_pops(); - ::CMsgSteamDatagramClientPingSampleReply_POP* mutable_pops(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP >* - mutable_pops(); - private: - const ::CMsgSteamDatagramClientPingSampleReply_POP& _internal_pops(int index) const; - ::CMsgSteamDatagramClientPingSampleReply_POP* _internal_add_pops(); - public: - const ::CMsgSteamDatagramClientPingSampleReply_POP& pops(int index) const; - ::CMsgSteamDatagramClientPingSampleReply_POP* add_pops(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP >& - pops() const; - - // repeated .CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter legacy_data_centers = 3; - int legacy_data_centers_size() const; - private: - int _internal_legacy_data_centers_size() const; - public: - void clear_legacy_data_centers(); - ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* mutable_legacy_data_centers(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter >* - mutable_legacy_data_centers(); - private: - const ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& _internal_legacy_data_centers(int index) const; - ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* _internal_add_legacy_data_centers(); - public: - const ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& legacy_data_centers(int index) const; - ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* add_legacy_data_centers(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter >& - legacy_data_centers() const; - - // optional .CMsgTOSTreatment tos = 6; - bool has_tos() const; - private: - bool _internal_has_tos() const; - public: - void clear_tos(); - const ::CMsgTOSTreatment& tos() const; - PROTOBUF_NODISCARD ::CMsgTOSTreatment* release_tos(); - ::CMsgTOSTreatment* mutable_tos(); - void set_allocated_tos(::CMsgTOSTreatment* tos); - private: - const ::CMsgTOSTreatment& _internal_tos() const; - ::CMsgTOSTreatment* _internal_mutable_tos(); - public: - void unsafe_arena_set_allocated_tos( - ::CMsgTOSTreatment* tos); - ::CMsgTOSTreatment* unsafe_arena_release_tos(); - - // optional fixed32 connection_id = 1; - bool has_connection_id() const; - private: - bool _internal_has_connection_id() const; - public: - void clear_connection_id(); - uint32_t connection_id() const; - void set_connection_id(uint32_t value); - private: - uint32_t _internal_connection_id() const; - void _internal_set_connection_id(uint32_t value); - public: - - // optional bool relay_override_active = 5; - bool has_relay_override_active() const; - private: - bool _internal_has_relay_override_active() const; - public: - void clear_relay_override_active(); - bool relay_override_active() const; - void set_relay_override_active(bool value); - private: - bool _internal_relay_override_active() const; - void _internal_set_relay_override_active(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramClientPingSampleReply) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP > pops_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter > legacy_data_centers_; - ::CMsgTOSTreatment* tos_; - uint32_t connection_id_; - bool relay_override_active_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramClientSwitchedPrimary_RouterQuality : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) */ { - public: - inline CMsgSteamDatagramClientSwitchedPrimary_RouterQuality() : CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(nullptr) {} - ~CMsgSteamDatagramClientSwitchedPrimary_RouterQuality() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(const CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from); - CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality&& from) noexcept - : CMsgSteamDatagramClientSwitchedPrimary_RouterQuality() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& operator=(const CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& operator=(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramClientSwitchedPrimary_RouterQuality_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - friend void swap(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& a, CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from) { - CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramClientSwitchedPrimary.RouterQuality"; - } - protected: - explicit CMsgSteamDatagramClientSwitchedPrimary_RouterQuality(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kScoreFieldNumber = 1, - kFrontPingFieldNumber = 2, - kBackPingFieldNumber = 3, - kSecondsUntilDownFieldNumber = 4, - }; - // optional uint32 score = 1; - bool has_score() const; - private: - bool _internal_has_score() const; - public: - void clear_score(); - uint32_t score() const; - void set_score(uint32_t value); - private: - uint32_t _internal_score() const; - void _internal_set_score(uint32_t value); - public: - - // optional uint32 front_ping = 2; - bool has_front_ping() const; - private: - bool _internal_has_front_ping() const; - public: - void clear_front_ping(); - uint32_t front_ping() const; - void set_front_ping(uint32_t value); - private: - uint32_t _internal_front_ping() const; - void _internal_set_front_ping(uint32_t value); - public: - - // optional uint32 back_ping = 3; - bool has_back_ping() const; - private: - bool _internal_has_back_ping() const; - public: - void clear_back_ping(); - uint32_t back_ping() const; - void set_back_ping(uint32_t value); - private: - uint32_t _internal_back_ping() const; - void _internal_set_back_ping(uint32_t value); - public: - - // optional uint32 seconds_until_down = 4; - bool has_seconds_until_down() const; - private: - bool _internal_has_seconds_until_down() const; - public: - void clear_seconds_until_down(); - uint32_t seconds_until_down() const; - void set_seconds_until_down(uint32_t value); - private: - uint32_t _internal_seconds_until_down() const; - void _internal_set_seconds_until_down(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t score_; - uint32_t front_ping_; - uint32_t back_ping_; - uint32_t seconds_until_down_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramClientSwitchedPrimary : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramClientSwitchedPrimary) */ { - public: - inline CMsgSteamDatagramClientSwitchedPrimary() : CMsgSteamDatagramClientSwitchedPrimary(nullptr) {} - ~CMsgSteamDatagramClientSwitchedPrimary() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramClientSwitchedPrimary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramClientSwitchedPrimary(const CMsgSteamDatagramClientSwitchedPrimary& from); - CMsgSteamDatagramClientSwitchedPrimary(CMsgSteamDatagramClientSwitchedPrimary&& from) noexcept - : CMsgSteamDatagramClientSwitchedPrimary() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramClientSwitchedPrimary& operator=(const CMsgSteamDatagramClientSwitchedPrimary& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramClientSwitchedPrimary& operator=(CMsgSteamDatagramClientSwitchedPrimary&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramClientSwitchedPrimary& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramClientSwitchedPrimary* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramClientSwitchedPrimary_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - friend void swap(CMsgSteamDatagramClientSwitchedPrimary& a, CMsgSteamDatagramClientSwitchedPrimary& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramClientSwitchedPrimary* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramClientSwitchedPrimary* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramClientSwitchedPrimary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramClientSwitchedPrimary& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramClientSwitchedPrimary& from) { - CMsgSteamDatagramClientSwitchedPrimary::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramClientSwitchedPrimary* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramClientSwitchedPrimary"; - } - protected: - explicit CMsgSteamDatagramClientSwitchedPrimary(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamDatagramClientSwitchedPrimary_RouterQuality RouterQuality; - - // accessors ------------------------------------------------------- - - enum : int { - kFromDroppedReasonFieldNumber = 7, - kFromQualityNowFieldNumber = 9, - kToQualityNowFieldNumber = 10, - kFromQualityThenFieldNumber = 11, - kToQualityThenFieldNumber = 12, - kConnectionIdFieldNumber = 1, - kFromIpFieldNumber = 2, - kFromPortFieldNumber = 3, - kFromRouterClusterFieldNumber = 4, - kFromActiveTimeFieldNumber = 5, - kFromActivePacketsRecvFieldNumber = 6, - kGapMsFieldNumber = 8, - }; - // optional string from_dropped_reason = 7; - bool has_from_dropped_reason() const; - private: - bool _internal_has_from_dropped_reason() const; - public: - void clear_from_dropped_reason(); - const std::string& from_dropped_reason() const; - template - void set_from_dropped_reason(ArgT0&& arg0, ArgT... args); - std::string* mutable_from_dropped_reason(); - PROTOBUF_NODISCARD std::string* release_from_dropped_reason(); - void set_allocated_from_dropped_reason(std::string* from_dropped_reason); - private: - const std::string& _internal_from_dropped_reason() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_from_dropped_reason(const std::string& value); - std::string* _internal_mutable_from_dropped_reason(); - public: - - // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_now = 9; - bool has_from_quality_now() const; - private: - bool _internal_has_from_quality_now() const; - public: - void clear_from_quality_now(); - const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from_quality_now() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* release_from_quality_now(); - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* mutable_from_quality_now(); - void set_allocated_from_quality_now(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_now); - private: - const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& _internal_from_quality_now() const; - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* _internal_mutable_from_quality_now(); - public: - void unsafe_arena_set_allocated_from_quality_now( - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_now); - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* unsafe_arena_release_from_quality_now(); - - // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_now = 10; - bool has_to_quality_now() const; - private: - bool _internal_has_to_quality_now() const; - public: - void clear_to_quality_now(); - const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& to_quality_now() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* release_to_quality_now(); - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* mutable_to_quality_now(); - void set_allocated_to_quality_now(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_now); - private: - const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& _internal_to_quality_now() const; - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* _internal_mutable_to_quality_now(); - public: - void unsafe_arena_set_allocated_to_quality_now( - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_now); - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* unsafe_arena_release_to_quality_now(); - - // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_then = 11; - bool has_from_quality_then() const; - private: - bool _internal_has_from_quality_then() const; - public: - void clear_from_quality_then(); - const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& from_quality_then() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* release_from_quality_then(); - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* mutable_from_quality_then(); - void set_allocated_from_quality_then(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_then); - private: - const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& _internal_from_quality_then() const; - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* _internal_mutable_from_quality_then(); - public: - void unsafe_arena_set_allocated_from_quality_then( - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_then); - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* unsafe_arena_release_from_quality_then(); - - // optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_then = 12; - bool has_to_quality_then() const; - private: - bool _internal_has_to_quality_then() const; - public: - void clear_to_quality_then(); - const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& to_quality_then() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* release_to_quality_then(); - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* mutable_to_quality_then(); - void set_allocated_to_quality_then(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_then); - private: - const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& _internal_to_quality_then() const; - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* _internal_mutable_to_quality_then(); - public: - void unsafe_arena_set_allocated_to_quality_then( - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_then); - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* unsafe_arena_release_to_quality_then(); - - // optional fixed32 connection_id = 1; - bool has_connection_id() const; - private: - bool _internal_has_connection_id() const; - public: - void clear_connection_id(); - uint32_t connection_id() const; - void set_connection_id(uint32_t value); - private: - uint32_t _internal_connection_id() const; - void _internal_set_connection_id(uint32_t value); - public: - - // optional fixed32 from_ip = 2; - bool has_from_ip() const; - private: - bool _internal_has_from_ip() const; - public: - void clear_from_ip(); - uint32_t from_ip() const; - void set_from_ip(uint32_t value); - private: - uint32_t _internal_from_ip() const; - void _internal_set_from_ip(uint32_t value); - public: - - // optional uint32 from_port = 3; - bool has_from_port() const; - private: - bool _internal_has_from_port() const; - public: - void clear_from_port(); - uint32_t from_port() const; - void set_from_port(uint32_t value); - private: - uint32_t _internal_from_port() const; - void _internal_set_from_port(uint32_t value); - public: - - // optional fixed32 from_router_cluster = 4; - bool has_from_router_cluster() const; - private: - bool _internal_has_from_router_cluster() const; - public: - void clear_from_router_cluster(); - uint32_t from_router_cluster() const; - void set_from_router_cluster(uint32_t value); - private: - uint32_t _internal_from_router_cluster() const; - void _internal_set_from_router_cluster(uint32_t value); - public: - - // optional uint32 from_active_time = 5; - bool has_from_active_time() const; - private: - bool _internal_has_from_active_time() const; - public: - void clear_from_active_time(); - uint32_t from_active_time() const; - void set_from_active_time(uint32_t value); - private: - uint32_t _internal_from_active_time() const; - void _internal_set_from_active_time(uint32_t value); - public: - - // optional uint32 from_active_packets_recv = 6; - bool has_from_active_packets_recv() const; - private: - bool _internal_has_from_active_packets_recv() const; - public: - void clear_from_active_packets_recv(); - uint32_t from_active_packets_recv() const; - void set_from_active_packets_recv(uint32_t value); - private: - uint32_t _internal_from_active_packets_recv() const; - void _internal_set_from_active_packets_recv(uint32_t value); - public: - - // optional uint32 gap_ms = 8; - bool has_gap_ms() const; - private: - bool _internal_has_gap_ms() const; - public: - void clear_gap_ms(); - uint32_t gap_ms() const; - void set_gap_ms(uint32_t value); - private: - uint32_t _internal_gap_ms() const; - void _internal_set_gap_ms(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramClientSwitchedPrimary) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr from_dropped_reason_; - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_now_; - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_now_; - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_then_; - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_then_; - uint32_t connection_id_; - uint32_t from_ip_; - uint32_t from_port_; - uint32_t from_router_cluster_; - uint32_t from_active_time_; - uint32_t from_active_packets_recv_; - uint32_t gap_ms_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramConnectRequest : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectRequest) */ { - public: - inline CMsgSteamDatagramConnectRequest() : CMsgSteamDatagramConnectRequest(nullptr) {} - ~CMsgSteamDatagramConnectRequest() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramConnectRequest(const CMsgSteamDatagramConnectRequest& from); - CMsgSteamDatagramConnectRequest(CMsgSteamDatagramConnectRequest&& from) noexcept - : CMsgSteamDatagramConnectRequest() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramConnectRequest& operator=(const CMsgSteamDatagramConnectRequest& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramConnectRequest& operator=(CMsgSteamDatagramConnectRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramConnectRequest& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramConnectRequest* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramConnectRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - friend void swap(CMsgSteamDatagramConnectRequest& a, CMsgSteamDatagramConnectRequest& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramConnectRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramConnectRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramConnectRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramConnectRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramConnectRequest& from) { - CMsgSteamDatagramConnectRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramConnectRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramConnectRequest"; - } - protected: - explicit CMsgSteamDatagramConnectRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCryptFieldNumber = 6, - kCertFieldNumber = 7, - kConnectionIdFieldNumber = 1, - kGameserverRelaySessionIdFieldNumber = 2, - kLegacyClientSteamIdFieldNumber = 3, - kMyTimestampFieldNumber = 4, - kPingEstMsFieldNumber = 5, - kVirtualPortFieldNumber = 9, - kRoutingSecretFieldNumber = 10, - }; - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; - bool has_crypt() const; - private: - bool _internal_has_crypt() const; - public: - void clear_crypt(); - const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramSessionCryptInfoSigned* release_crypt(); - ::CMsgSteamDatagramSessionCryptInfoSigned* mutable_crypt(); - void set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt); - private: - const ::CMsgSteamDatagramSessionCryptInfoSigned& _internal_crypt() const; - ::CMsgSteamDatagramSessionCryptInfoSigned* _internal_mutable_crypt(); - public: - void unsafe_arena_set_allocated_crypt( - ::CMsgSteamDatagramSessionCryptInfoSigned* crypt); - ::CMsgSteamDatagramSessionCryptInfoSigned* unsafe_arena_release_crypt(); - - // optional .CMsgSteamDatagramCertificateSigned cert = 7; - bool has_cert() const; - private: - bool _internal_has_cert() const; - public: - void clear_cert(); - const ::CMsgSteamDatagramCertificateSigned& cert() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); - ::CMsgSteamDatagramCertificateSigned* mutable_cert(); - void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); - private: - const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; - ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); - public: - void unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert); - ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); - - // optional fixed32 connection_id = 1; - bool has_connection_id() const; - private: - bool _internal_has_connection_id() const; - public: - void clear_connection_id(); - uint32_t connection_id() const; - void set_connection_id(uint32_t value); - private: - uint32_t _internal_connection_id() const; - void _internal_set_connection_id(uint32_t value); - public: - - // optional uint32 gameserver_relay_session_id = 2; - bool has_gameserver_relay_session_id() const; - private: - bool _internal_has_gameserver_relay_session_id() const; - public: - void clear_gameserver_relay_session_id(); - uint32_t gameserver_relay_session_id() const; - void set_gameserver_relay_session_id(uint32_t value); - private: - uint32_t _internal_gameserver_relay_session_id() const; - void _internal_set_gameserver_relay_session_id(uint32_t value); - public: - - // optional fixed64 legacy_client_steam_id = 3; - bool has_legacy_client_steam_id() const; - private: - bool _internal_has_legacy_client_steam_id() const; - public: - void clear_legacy_client_steam_id(); - uint64_t legacy_client_steam_id() const; - void set_legacy_client_steam_id(uint64_t value); - private: - uint64_t _internal_legacy_client_steam_id() const; - void _internal_set_legacy_client_steam_id(uint64_t value); - public: - - // optional fixed64 my_timestamp = 4; - bool has_my_timestamp() const; - private: - bool _internal_has_my_timestamp() const; - public: - void clear_my_timestamp(); - uint64_t my_timestamp() const; - void set_my_timestamp(uint64_t value); - private: - uint64_t _internal_my_timestamp() const; - void _internal_set_my_timestamp(uint64_t value); - public: - - // optional uint32 ping_est_ms = 5; - bool has_ping_est_ms() const; - private: - bool _internal_has_ping_est_ms() const; - public: - void clear_ping_est_ms(); - uint32_t ping_est_ms() const; - void set_ping_est_ms(uint32_t value); - private: - uint32_t _internal_ping_est_ms() const; - void _internal_set_ping_est_ms(uint32_t value); - public: - - // optional uint32 virtual_port = 9; - bool has_virtual_port() const; - private: - bool _internal_has_virtual_port() const; - public: - void clear_virtual_port(); - uint32_t virtual_port() const; - void set_virtual_port(uint32_t value); - private: - uint32_t _internal_virtual_port() const; - void _internal_set_virtual_port(uint32_t value); - public: - - // optional fixed64 routing_secret = 10; - bool has_routing_secret() const; - private: - bool _internal_has_routing_secret() const; - public: - void clear_routing_secret(); - uint64_t routing_secret() const; - void set_routing_secret(uint64_t value); - private: - uint64_t _internal_routing_secret() const; - void _internal_set_routing_secret(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgSteamDatagramSessionCryptInfoSigned* crypt_; - ::CMsgSteamDatagramCertificateSigned* cert_; - uint32_t connection_id_; - uint32_t gameserver_relay_session_id_; - uint64_t legacy_client_steam_id_; - uint64_t my_timestamp_; - uint32_t ping_est_ms_; - uint32_t virtual_port_; - uint64_t routing_secret_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramConnectOK : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectOK) */ { - public: - inline CMsgSteamDatagramConnectOK() : CMsgSteamDatagramConnectOK(nullptr) {} - ~CMsgSteamDatagramConnectOK() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectOK(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramConnectOK(const CMsgSteamDatagramConnectOK& from); - CMsgSteamDatagramConnectOK(CMsgSteamDatagramConnectOK&& from) noexcept - : CMsgSteamDatagramConnectOK() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramConnectOK& operator=(const CMsgSteamDatagramConnectOK& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramConnectOK& operator=(CMsgSteamDatagramConnectOK&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramConnectOK& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramConnectOK* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramConnectOK_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - friend void swap(CMsgSteamDatagramConnectOK& a, CMsgSteamDatagramConnectOK& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramConnectOK* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramConnectOK* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramConnectOK* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramConnectOK& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramConnectOK& from) { - CMsgSteamDatagramConnectOK::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramConnectOK* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramConnectOK"; - } - protected: - explicit CMsgSteamDatagramConnectOK(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCryptFieldNumber = 5, - kCertFieldNumber = 6, - kClientConnectionIdFieldNumber = 1, - kGameserverRelaySessionIdFieldNumber = 2, - kYourTimestampFieldNumber = 3, - kDelayTimeUsecFieldNumber = 4, - kServerConnectionIdFieldNumber = 7, - }; - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; - bool has_crypt() const; - private: - bool _internal_has_crypt() const; - public: - void clear_crypt(); - const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramSessionCryptInfoSigned* release_crypt(); - ::CMsgSteamDatagramSessionCryptInfoSigned* mutable_crypt(); - void set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt); - private: - const ::CMsgSteamDatagramSessionCryptInfoSigned& _internal_crypt() const; - ::CMsgSteamDatagramSessionCryptInfoSigned* _internal_mutable_crypt(); - public: - void unsafe_arena_set_allocated_crypt( - ::CMsgSteamDatagramSessionCryptInfoSigned* crypt); - ::CMsgSteamDatagramSessionCryptInfoSigned* unsafe_arena_release_crypt(); - - // optional .CMsgSteamDatagramCertificateSigned cert = 6; - bool has_cert() const; - private: - bool _internal_has_cert() const; - public: - void clear_cert(); - const ::CMsgSteamDatagramCertificateSigned& cert() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); - ::CMsgSteamDatagramCertificateSigned* mutable_cert(); - void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); - private: - const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; - ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); - public: - void unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert); - ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); - - // optional fixed32 client_connection_id = 1; - bool has_client_connection_id() const; - private: - bool _internal_has_client_connection_id() const; - public: - void clear_client_connection_id(); - uint32_t client_connection_id() const; - void set_client_connection_id(uint32_t value); - private: - uint32_t _internal_client_connection_id() const; - void _internal_set_client_connection_id(uint32_t value); - public: - - // optional uint32 gameserver_relay_session_id = 2; - bool has_gameserver_relay_session_id() const; - private: - bool _internal_has_gameserver_relay_session_id() const; - public: - void clear_gameserver_relay_session_id(); - uint32_t gameserver_relay_session_id() const; - void set_gameserver_relay_session_id(uint32_t value); - private: - uint32_t _internal_gameserver_relay_session_id() const; - void _internal_set_gameserver_relay_session_id(uint32_t value); - public: - - // optional fixed64 your_timestamp = 3; - bool has_your_timestamp() const; - private: - bool _internal_has_your_timestamp() const; - public: - void clear_your_timestamp(); - uint64_t your_timestamp() const; - void set_your_timestamp(uint64_t value); - private: - uint64_t _internal_your_timestamp() const; - void _internal_set_your_timestamp(uint64_t value); - public: - - // optional uint32 delay_time_usec = 4; - bool has_delay_time_usec() const; - private: - bool _internal_has_delay_time_usec() const; - public: - void clear_delay_time_usec(); - uint32_t delay_time_usec() const; - void set_delay_time_usec(uint32_t value); - private: - uint32_t _internal_delay_time_usec() const; - void _internal_set_delay_time_usec(uint32_t value); - public: - - // optional fixed32 server_connection_id = 7; - bool has_server_connection_id() const; - private: - bool _internal_has_server_connection_id() const; - public: - void clear_server_connection_id(); - uint32_t server_connection_id() const; - void set_server_connection_id(uint32_t value); - private: - uint32_t _internal_server_connection_id() const; - void _internal_set_server_connection_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectOK) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgSteamDatagramSessionCryptInfoSigned* crypt_; - ::CMsgSteamDatagramCertificateSigned* cert_; - uint32_t client_connection_id_; - uint32_t gameserver_relay_session_id_; - uint64_t your_timestamp_; - uint32_t delay_time_usec_; - uint32_t server_connection_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamNetworkingP2PSDRRoutingSummary : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingP2PSDRRoutingSummary) */ { - public: - inline CMsgSteamNetworkingP2PSDRRoutingSummary() : CMsgSteamNetworkingP2PSDRRoutingSummary(nullptr) {} - ~CMsgSteamNetworkingP2PSDRRoutingSummary() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PSDRRoutingSummary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamNetworkingP2PSDRRoutingSummary(const CMsgSteamNetworkingP2PSDRRoutingSummary& from); - CMsgSteamNetworkingP2PSDRRoutingSummary(CMsgSteamNetworkingP2PSDRRoutingSummary&& from) noexcept - : CMsgSteamNetworkingP2PSDRRoutingSummary() { - *this = ::std::move(from); - } - - inline CMsgSteamNetworkingP2PSDRRoutingSummary& operator=(const CMsgSteamNetworkingP2PSDRRoutingSummary& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamNetworkingP2PSDRRoutingSummary& operator=(CMsgSteamNetworkingP2PSDRRoutingSummary&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamNetworkingP2PSDRRoutingSummary& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamNetworkingP2PSDRRoutingSummary* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamNetworkingP2PSDRRoutingSummary_default_instance_); - } - static constexpr int kIndexInFileMessages = - 20; - - friend void swap(CMsgSteamNetworkingP2PSDRRoutingSummary& a, CMsgSteamNetworkingP2PSDRRoutingSummary& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamNetworkingP2PSDRRoutingSummary* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamNetworkingP2PSDRRoutingSummary* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamNetworkingP2PSDRRoutingSummary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamNetworkingP2PSDRRoutingSummary& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamNetworkingP2PSDRRoutingSummary& from) { - CMsgSteamNetworkingP2PSDRRoutingSummary::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamNetworkingP2PSDRRoutingSummary* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamNetworkingP2PSDRRoutingSummary"; - } - protected: - explicit CMsgSteamNetworkingP2PSDRRoutingSummary(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kInitialPingFieldNumber = 1, - kInitialPingFrontLocalFieldNumber = 2, - kInitialPingFrontRemoteFieldNumber = 3, - kInitialScoreFieldNumber = 4, - kInitialPopLocalFieldNumber = 5, - kInitialPopRemoteFieldNumber = 6, - kNegotiationMsFieldNumber = 7, - kSelectedSecondsFieldNumber = 8, - kBestPingFieldNumber = 11, - kBestPingFrontLocalFieldNumber = 12, - kBestPingFrontRemoteFieldNumber = 13, - kBestScoreFieldNumber = 14, - kBestPopLocalFieldNumber = 15, - kBestPopRemoteFieldNumber = 16, - kBestTimeFieldNumber = 17, - }; - // optional uint32 initial_ping = 1; - bool has_initial_ping() const; - private: - bool _internal_has_initial_ping() const; - public: - void clear_initial_ping(); - uint32_t initial_ping() const; - void set_initial_ping(uint32_t value); - private: - uint32_t _internal_initial_ping() const; - void _internal_set_initial_ping(uint32_t value); - public: - - // optional uint32 initial_ping_front_local = 2; - bool has_initial_ping_front_local() const; - private: - bool _internal_has_initial_ping_front_local() const; - public: - void clear_initial_ping_front_local(); - uint32_t initial_ping_front_local() const; - void set_initial_ping_front_local(uint32_t value); - private: - uint32_t _internal_initial_ping_front_local() const; - void _internal_set_initial_ping_front_local(uint32_t value); - public: - - // optional uint32 initial_ping_front_remote = 3; - bool has_initial_ping_front_remote() const; - private: - bool _internal_has_initial_ping_front_remote() const; - public: - void clear_initial_ping_front_remote(); - uint32_t initial_ping_front_remote() const; - void set_initial_ping_front_remote(uint32_t value); - private: - uint32_t _internal_initial_ping_front_remote() const; - void _internal_set_initial_ping_front_remote(uint32_t value); - public: - - // optional uint32 initial_score = 4; - bool has_initial_score() const; - private: - bool _internal_has_initial_score() const; - public: - void clear_initial_score(); - uint32_t initial_score() const; - void set_initial_score(uint32_t value); - private: - uint32_t _internal_initial_score() const; - void _internal_set_initial_score(uint32_t value); - public: - - // optional fixed32 initial_pop_local = 5; - bool has_initial_pop_local() const; - private: - bool _internal_has_initial_pop_local() const; - public: - void clear_initial_pop_local(); - uint32_t initial_pop_local() const; - void set_initial_pop_local(uint32_t value); - private: - uint32_t _internal_initial_pop_local() const; - void _internal_set_initial_pop_local(uint32_t value); - public: - - // optional fixed32 initial_pop_remote = 6; - bool has_initial_pop_remote() const; - private: - bool _internal_has_initial_pop_remote() const; - public: - void clear_initial_pop_remote(); - uint32_t initial_pop_remote() const; - void set_initial_pop_remote(uint32_t value); - private: - uint32_t _internal_initial_pop_remote() const; - void _internal_set_initial_pop_remote(uint32_t value); - public: - - // optional uint32 negotiation_ms = 7; - bool has_negotiation_ms() const; - private: - bool _internal_has_negotiation_ms() const; - public: - void clear_negotiation_ms(); - uint32_t negotiation_ms() const; - void set_negotiation_ms(uint32_t value); - private: - uint32_t _internal_negotiation_ms() const; - void _internal_set_negotiation_ms(uint32_t value); - public: - - // optional uint32 selected_seconds = 8; - bool has_selected_seconds() const; - private: - bool _internal_has_selected_seconds() const; - public: - void clear_selected_seconds(); - uint32_t selected_seconds() const; - void set_selected_seconds(uint32_t value); - private: - uint32_t _internal_selected_seconds() const; - void _internal_set_selected_seconds(uint32_t value); - public: - - // optional uint32 best_ping = 11; - bool has_best_ping() const; - private: - bool _internal_has_best_ping() const; - public: - void clear_best_ping(); - uint32_t best_ping() const; - void set_best_ping(uint32_t value); - private: - uint32_t _internal_best_ping() const; - void _internal_set_best_ping(uint32_t value); - public: - - // optional uint32 best_ping_front_local = 12; - bool has_best_ping_front_local() const; - private: - bool _internal_has_best_ping_front_local() const; - public: - void clear_best_ping_front_local(); - uint32_t best_ping_front_local() const; - void set_best_ping_front_local(uint32_t value); - private: - uint32_t _internal_best_ping_front_local() const; - void _internal_set_best_ping_front_local(uint32_t value); - public: - - // optional uint32 best_ping_front_remote = 13; - bool has_best_ping_front_remote() const; - private: - bool _internal_has_best_ping_front_remote() const; - public: - void clear_best_ping_front_remote(); - uint32_t best_ping_front_remote() const; - void set_best_ping_front_remote(uint32_t value); - private: - uint32_t _internal_best_ping_front_remote() const; - void _internal_set_best_ping_front_remote(uint32_t value); - public: - - // optional uint32 best_score = 14; - bool has_best_score() const; - private: - bool _internal_has_best_score() const; - public: - void clear_best_score(); - uint32_t best_score() const; - void set_best_score(uint32_t value); - private: - uint32_t _internal_best_score() const; - void _internal_set_best_score(uint32_t value); - public: - - // optional fixed32 best_pop_local = 15; - bool has_best_pop_local() const; - private: - bool _internal_has_best_pop_local() const; - public: - void clear_best_pop_local(); - uint32_t best_pop_local() const; - void set_best_pop_local(uint32_t value); - private: - uint32_t _internal_best_pop_local() const; - void _internal_set_best_pop_local(uint32_t value); - public: - - // optional fixed32 best_pop_remote = 16; - bool has_best_pop_remote() const; - private: - bool _internal_has_best_pop_remote() const; - public: - void clear_best_pop_remote(); - uint32_t best_pop_remote() const; - void set_best_pop_remote(uint32_t value); - private: - uint32_t _internal_best_pop_remote() const; - void _internal_set_best_pop_remote(uint32_t value); - public: - - // optional uint32 best_time = 17; - bool has_best_time() const; - private: - bool _internal_has_best_time() const; - public: - void clear_best_time(); - uint32_t best_time() const; - void set_best_time(uint32_t value); - private: - uint32_t _internal_best_time() const; - void _internal_set_best_time(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingP2PSDRRoutingSummary) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t initial_ping_; - uint32_t initial_ping_front_local_; - uint32_t initial_ping_front_remote_; - uint32_t initial_score_; - uint32_t initial_pop_local_; - uint32_t initial_pop_remote_; - uint32_t negotiation_ms_; - uint32_t selected_seconds_; - uint32_t best_ping_; - uint32_t best_ping_front_local_; - uint32_t best_ping_front_remote_; - uint32_t best_score_; - uint32_t best_pop_local_; - uint32_t best_pop_remote_; - uint32_t best_time_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramP2PRoutingSummary : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramP2PRoutingSummary) */ { - public: - inline CMsgSteamDatagramP2PRoutingSummary() : CMsgSteamDatagramP2PRoutingSummary(nullptr) {} - ~CMsgSteamDatagramP2PRoutingSummary() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutingSummary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramP2PRoutingSummary(const CMsgSteamDatagramP2PRoutingSummary& from); - CMsgSteamDatagramP2PRoutingSummary(CMsgSteamDatagramP2PRoutingSummary&& from) noexcept - : CMsgSteamDatagramP2PRoutingSummary() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramP2PRoutingSummary& operator=(const CMsgSteamDatagramP2PRoutingSummary& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramP2PRoutingSummary& operator=(CMsgSteamDatagramP2PRoutingSummary&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramP2PRoutingSummary& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramP2PRoutingSummary* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramP2PRoutingSummary_default_instance_); - } - static constexpr int kIndexInFileMessages = - 21; - - friend void swap(CMsgSteamDatagramP2PRoutingSummary& a, CMsgSteamDatagramP2PRoutingSummary& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramP2PRoutingSummary* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramP2PRoutingSummary* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramP2PRoutingSummary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramP2PRoutingSummary& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramP2PRoutingSummary& from) { - CMsgSteamDatagramP2PRoutingSummary::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramP2PRoutingSummary* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramP2PRoutingSummary"; - } - protected: - explicit CMsgSteamDatagramP2PRoutingSummary(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIceFieldNumber = 2, - kSdrFieldNumber = 3, - }; - // optional .CMsgSteamNetworkingICESessionSummary ice = 2; - bool has_ice() const; - private: - bool _internal_has_ice() const; - public: - void clear_ice(); - const ::CMsgSteamNetworkingICESessionSummary& ice() const; - PROTOBUF_NODISCARD ::CMsgSteamNetworkingICESessionSummary* release_ice(); - ::CMsgSteamNetworkingICESessionSummary* mutable_ice(); - void set_allocated_ice(::CMsgSteamNetworkingICESessionSummary* ice); - private: - const ::CMsgSteamNetworkingICESessionSummary& _internal_ice() const; - ::CMsgSteamNetworkingICESessionSummary* _internal_mutable_ice(); - public: - void unsafe_arena_set_allocated_ice( - ::CMsgSteamNetworkingICESessionSummary* ice); - ::CMsgSteamNetworkingICESessionSummary* unsafe_arena_release_ice(); - - // optional .CMsgSteamNetworkingP2PSDRRoutingSummary sdr = 3; - bool has_sdr() const; - private: - bool _internal_has_sdr() const; - public: - void clear_sdr(); - const ::CMsgSteamNetworkingP2PSDRRoutingSummary& sdr() const; - PROTOBUF_NODISCARD ::CMsgSteamNetworkingP2PSDRRoutingSummary* release_sdr(); - ::CMsgSteamNetworkingP2PSDRRoutingSummary* mutable_sdr(); - void set_allocated_sdr(::CMsgSteamNetworkingP2PSDRRoutingSummary* sdr); - private: - const ::CMsgSteamNetworkingP2PSDRRoutingSummary& _internal_sdr() const; - ::CMsgSteamNetworkingP2PSDRRoutingSummary* _internal_mutable_sdr(); - public: - void unsafe_arena_set_allocated_sdr( - ::CMsgSteamNetworkingP2PSDRRoutingSummary* sdr); - ::CMsgSteamNetworkingP2PSDRRoutingSummary* unsafe_arena_release_sdr(); - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramP2PRoutingSummary) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgSteamNetworkingICESessionSummary* ice_; - ::CMsgSteamNetworkingP2PSDRRoutingSummary* sdr_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramConnectionClosed : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectionClosed) */ { - public: - inline CMsgSteamDatagramConnectionClosed() : CMsgSteamDatagramConnectionClosed(nullptr) {} - ~CMsgSteamDatagramConnectionClosed() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionClosed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramConnectionClosed(const CMsgSteamDatagramConnectionClosed& from); - CMsgSteamDatagramConnectionClosed(CMsgSteamDatagramConnectionClosed&& from) noexcept - : CMsgSteamDatagramConnectionClosed() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramConnectionClosed& operator=(const CMsgSteamDatagramConnectionClosed& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramConnectionClosed& operator=(CMsgSteamDatagramConnectionClosed&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramConnectionClosed& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramConnectionClosed* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramConnectionClosed_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - friend void swap(CMsgSteamDatagramConnectionClosed& a, CMsgSteamDatagramConnectionClosed& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramConnectionClosed* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramConnectionClosed* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramConnectionClosed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramConnectionClosed& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramConnectionClosed& from) { - CMsgSteamDatagramConnectionClosed::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramConnectionClosed* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramConnectionClosed"; - } - protected: - explicit CMsgSteamDatagramConnectionClosed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamDatagramConnectionClosed_ERelayMode ERelayMode; - static constexpr ERelayMode None = - CMsgSteamDatagramConnectionClosed_ERelayMode_None; - static constexpr ERelayMode EndToEnd = - CMsgSteamDatagramConnectionClosed_ERelayMode_EndToEnd; - static constexpr ERelayMode ClosedByPeer = - CMsgSteamDatagramConnectionClosed_ERelayMode_ClosedByPeer; - static inline bool ERelayMode_IsValid(int value) { - return CMsgSteamDatagramConnectionClosed_ERelayMode_IsValid(value); - } - static constexpr ERelayMode ERelayMode_MIN = - CMsgSteamDatagramConnectionClosed_ERelayMode_ERelayMode_MIN; - static constexpr ERelayMode ERelayMode_MAX = - CMsgSteamDatagramConnectionClosed_ERelayMode_ERelayMode_MAX; - static constexpr int ERelayMode_ARRAYSIZE = - CMsgSteamDatagramConnectionClosed_ERelayMode_ERelayMode_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - ERelayMode_descriptor() { - return CMsgSteamDatagramConnectionClosed_ERelayMode_descriptor(); - } - template - static inline const std::string& ERelayMode_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ERelayMode_Name."); - return CMsgSteamDatagramConnectionClosed_ERelayMode_Name(enum_t_value); - } - static inline bool ERelayMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - ERelayMode* value) { - return CMsgSteamDatagramConnectionClosed_ERelayMode_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kDebugFieldNumber = 5, - kForwardTargetRelayRoutingTokenFieldNumber = 11, - kFromIdentityStringFieldNumber = 15, - kLegacyFromIdentityBinaryFieldNumber = 13, - kQualityRelayFieldNumber = 17, - kQualityE2EFieldNumber = 18, - kP2PRoutingSummaryFieldNumber = 21, - kLegacyFromSteamIdFieldNumber = 3, - kLegacyGameserverRelaySessionIdFieldNumber = 2, - kRelayModeFieldNumber = 4, - kReasonCodeFieldNumber = 6, - kToConnectionIdFieldNumber = 7, - kFromConnectionIdFieldNumber = 8, - kToRelaySessionIdFieldNumber = 9, - kFromRelaySessionIdFieldNumber = 10, - kForwardTargetRevisionFieldNumber = 12, - kRoutingSecretFieldNumber = 14, - kNotPrimarySessionFieldNumber = 16, - kNotPrimaryTransportFieldNumber = 19, - kRelayOverrideActiveFieldNumber = 22, - }; - // optional string debug = 5; - bool has_debug() const; - private: - bool _internal_has_debug() const; - public: - void clear_debug(); - const std::string& debug() const; - template - void set_debug(ArgT0&& arg0, ArgT... args); - std::string* mutable_debug(); - PROTOBUF_NODISCARD std::string* release_debug(); - void set_allocated_debug(std::string* debug); - private: - const std::string& _internal_debug() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_debug(const std::string& value); - std::string* _internal_mutable_debug(); - public: - - // optional bytes forward_target_relay_routing_token = 11; - bool has_forward_target_relay_routing_token() const; - private: - bool _internal_has_forward_target_relay_routing_token() const; - public: - void clear_forward_target_relay_routing_token(); - const std::string& forward_target_relay_routing_token() const; - template - void set_forward_target_relay_routing_token(ArgT0&& arg0, ArgT... args); - std::string* mutable_forward_target_relay_routing_token(); - PROTOBUF_NODISCARD std::string* release_forward_target_relay_routing_token(); - void set_allocated_forward_target_relay_routing_token(std::string* forward_target_relay_routing_token); - private: - const std::string& _internal_forward_target_relay_routing_token() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_forward_target_relay_routing_token(const std::string& value); - std::string* _internal_mutable_forward_target_relay_routing_token(); - public: - - // optional string from_identity_string = 15; - bool has_from_identity_string() const; - private: - bool _internal_has_from_identity_string() const; - public: - void clear_from_identity_string(); - const std::string& from_identity_string() const; - template - void set_from_identity_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_from_identity_string(); - PROTOBUF_NODISCARD std::string* release_from_identity_string(); - void set_allocated_from_identity_string(std::string* from_identity_string); - private: - const std::string& _internal_from_identity_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_from_identity_string(const std::string& value); - std::string* _internal_mutable_from_identity_string(); - public: - - // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_from_identity_binary = 13; - bool has_legacy_from_identity_binary() const; - private: - bool _internal_has_legacy_from_identity_binary() const; - public: - void clear_legacy_from_identity_binary(); - const ::CMsgSteamNetworkingIdentityLegacyBinary& legacy_from_identity_binary() const; - PROTOBUF_NODISCARD ::CMsgSteamNetworkingIdentityLegacyBinary* release_legacy_from_identity_binary(); - ::CMsgSteamNetworkingIdentityLegacyBinary* mutable_legacy_from_identity_binary(); - void set_allocated_legacy_from_identity_binary(::CMsgSteamNetworkingIdentityLegacyBinary* legacy_from_identity_binary); - private: - const ::CMsgSteamNetworkingIdentityLegacyBinary& _internal_legacy_from_identity_binary() const; - ::CMsgSteamNetworkingIdentityLegacyBinary* _internal_mutable_legacy_from_identity_binary(); - public: - void unsafe_arena_set_allocated_legacy_from_identity_binary( - ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_from_identity_binary); - ::CMsgSteamNetworkingIdentityLegacyBinary* unsafe_arena_release_legacy_from_identity_binary(); - - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 17; - bool has_quality_relay() const; - private: - bool _internal_has_quality_relay() const; - public: - void clear_quality_relay(); - const ::CMsgSteamDatagramConnectionQuality& quality_relay() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_relay(); - ::CMsgSteamDatagramConnectionQuality* mutable_quality_relay(); - void set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_quality_relay() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_relay(); - public: - void unsafe_arena_set_allocated_quality_relay( - ::CMsgSteamDatagramConnectionQuality* quality_relay); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_relay(); - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 18; - bool has_quality_e2e() const; - private: - bool _internal_has_quality_e2e() const; - public: - void clear_quality_e2e(); - const ::CMsgSteamDatagramConnectionQuality& quality_e2e() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_e2e(); - ::CMsgSteamDatagramConnectionQuality* mutable_quality_e2e(); - void set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_quality_e2e() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_e2e(); - public: - void unsafe_arena_set_allocated_quality_e2e( - ::CMsgSteamDatagramConnectionQuality* quality_e2e); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_e2e(); - - // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 21; - bool has_p2p_routing_summary() const; - private: - bool _internal_has_p2p_routing_summary() const; - public: - void clear_p2p_routing_summary(); - const ::CMsgSteamDatagramP2PRoutingSummary& p2p_routing_summary() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramP2PRoutingSummary* release_p2p_routing_summary(); - ::CMsgSteamDatagramP2PRoutingSummary* mutable_p2p_routing_summary(); - void set_allocated_p2p_routing_summary(::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary); - private: - const ::CMsgSteamDatagramP2PRoutingSummary& _internal_p2p_routing_summary() const; - ::CMsgSteamDatagramP2PRoutingSummary* _internal_mutable_p2p_routing_summary(); - public: - void unsafe_arena_set_allocated_p2p_routing_summary( - ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary); - ::CMsgSteamDatagramP2PRoutingSummary* unsafe_arena_release_p2p_routing_summary(); - - // optional fixed64 legacy_from_steam_id = 3; - bool has_legacy_from_steam_id() const; - private: - bool _internal_has_legacy_from_steam_id() const; - public: - void clear_legacy_from_steam_id(); - uint64_t legacy_from_steam_id() const; - void set_legacy_from_steam_id(uint64_t value); - private: - uint64_t _internal_legacy_from_steam_id() const; - void _internal_set_legacy_from_steam_id(uint64_t value); - public: - - // optional uint32 legacy_gameserver_relay_session_id = 2; - bool has_legacy_gameserver_relay_session_id() const; - private: - bool _internal_has_legacy_gameserver_relay_session_id() const; - public: - void clear_legacy_gameserver_relay_session_id(); - uint32_t legacy_gameserver_relay_session_id() const; - void set_legacy_gameserver_relay_session_id(uint32_t value); - private: - uint32_t _internal_legacy_gameserver_relay_session_id() const; - void _internal_set_legacy_gameserver_relay_session_id(uint32_t value); - public: - - // optional .CMsgSteamDatagramConnectionClosed.ERelayMode relay_mode = 4 [default = None]; - bool has_relay_mode() const; - private: - bool _internal_has_relay_mode() const; - public: - void clear_relay_mode(); - ::CMsgSteamDatagramConnectionClosed_ERelayMode relay_mode() const; - void set_relay_mode(::CMsgSteamDatagramConnectionClosed_ERelayMode value); - private: - ::CMsgSteamDatagramConnectionClosed_ERelayMode _internal_relay_mode() const; - void _internal_set_relay_mode(::CMsgSteamDatagramConnectionClosed_ERelayMode value); - public: - - // optional uint32 reason_code = 6; - bool has_reason_code() const; - private: - bool _internal_has_reason_code() const; - public: - void clear_reason_code(); - uint32_t reason_code() const; - void set_reason_code(uint32_t value); - private: - uint32_t _internal_reason_code() const; - void _internal_set_reason_code(uint32_t value); - public: - - // optional fixed32 to_connection_id = 7; - bool has_to_connection_id() const; - private: - bool _internal_has_to_connection_id() const; - public: - void clear_to_connection_id(); - uint32_t to_connection_id() const; - void set_to_connection_id(uint32_t value); - private: - uint32_t _internal_to_connection_id() const; - void _internal_set_to_connection_id(uint32_t value); - public: - - // optional fixed32 from_connection_id = 8; - bool has_from_connection_id() const; - private: - bool _internal_has_from_connection_id() const; - public: - void clear_from_connection_id(); - uint32_t from_connection_id() const; - void set_from_connection_id(uint32_t value); - private: - uint32_t _internal_from_connection_id() const; - void _internal_set_from_connection_id(uint32_t value); - public: - - // optional fixed32 to_relay_session_id = 9; - bool has_to_relay_session_id() const; - private: - bool _internal_has_to_relay_session_id() const; - public: - void clear_to_relay_session_id(); - uint32_t to_relay_session_id() const; - void set_to_relay_session_id(uint32_t value); - private: - uint32_t _internal_to_relay_session_id() const; - void _internal_set_to_relay_session_id(uint32_t value); - public: - - // optional fixed32 from_relay_session_id = 10; - bool has_from_relay_session_id() const; - private: - bool _internal_has_from_relay_session_id() const; - public: - void clear_from_relay_session_id(); - uint32_t from_relay_session_id() const; - void set_from_relay_session_id(uint32_t value); - private: - uint32_t _internal_from_relay_session_id() const; - void _internal_set_from_relay_session_id(uint32_t value); - public: - - // optional uint32 forward_target_revision = 12; - bool has_forward_target_revision() const; - private: - bool _internal_has_forward_target_revision() const; - public: - void clear_forward_target_revision(); - uint32_t forward_target_revision() const; - void set_forward_target_revision(uint32_t value); - private: - uint32_t _internal_forward_target_revision() const; - void _internal_set_forward_target_revision(uint32_t value); - public: - - // optional fixed64 routing_secret = 14; - bool has_routing_secret() const; - private: - bool _internal_has_routing_secret() const; - public: - void clear_routing_secret(); - uint64_t routing_secret() const; - void set_routing_secret(uint64_t value); - private: - uint64_t _internal_routing_secret() const; - void _internal_set_routing_secret(uint64_t value); - public: - - // optional bool not_primary_session = 16; - bool has_not_primary_session() const; - private: - bool _internal_has_not_primary_session() const; - public: - void clear_not_primary_session(); - bool not_primary_session() const; - void set_not_primary_session(bool value); - private: - bool _internal_not_primary_session() const; - void _internal_set_not_primary_session(bool value); - public: - - // optional bool not_primary_transport = 19; - bool has_not_primary_transport() const; - private: - bool _internal_has_not_primary_transport() const; - public: - void clear_not_primary_transport(); - bool not_primary_transport() const; - void set_not_primary_transport(bool value); - private: - bool _internal_not_primary_transport() const; - void _internal_set_not_primary_transport(bool value); - public: - - // optional bool relay_override_active = 22; - bool has_relay_override_active() const; - private: - bool _internal_has_relay_override_active() const; - public: - void clear_relay_override_active(); - bool relay_override_active() const; - void set_relay_override_active(bool value); - private: - bool _internal_relay_override_active() const; - void _internal_set_relay_override_active(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectionClosed) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr debug_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr forward_target_relay_routing_token_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr from_identity_string_; - ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_from_identity_binary_; - ::CMsgSteamDatagramConnectionQuality* quality_relay_; - ::CMsgSteamDatagramConnectionQuality* quality_e2e_; - ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary_; - uint64_t legacy_from_steam_id_; - uint32_t legacy_gameserver_relay_session_id_; - int relay_mode_; - uint32_t reason_code_; - uint32_t to_connection_id_; - uint32_t from_connection_id_; - uint32_t to_relay_session_id_; - uint32_t from_relay_session_id_; - uint32_t forward_target_revision_; - uint64_t routing_secret_; - bool not_primary_session_; - bool not_primary_transport_; - bool relay_override_active_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramNoConnection : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramNoConnection) */ { - public: - inline CMsgSteamDatagramNoConnection() : CMsgSteamDatagramNoConnection(nullptr) {} - ~CMsgSteamDatagramNoConnection() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramNoConnection(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramNoConnection(const CMsgSteamDatagramNoConnection& from); - CMsgSteamDatagramNoConnection(CMsgSteamDatagramNoConnection&& from) noexcept - : CMsgSteamDatagramNoConnection() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramNoConnection& operator=(const CMsgSteamDatagramNoConnection& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramNoConnection& operator=(CMsgSteamDatagramNoConnection&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramNoConnection& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramNoConnection* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramNoConnection_default_instance_); - } - static constexpr int kIndexInFileMessages = - 23; - - friend void swap(CMsgSteamDatagramNoConnection& a, CMsgSteamDatagramNoConnection& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramNoConnection* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramNoConnection* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramNoConnection* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramNoConnection& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramNoConnection& from) { - CMsgSteamDatagramNoConnection::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramNoConnection* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramNoConnection"; - } - protected: - explicit CMsgSteamDatagramNoConnection(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFromIdentityStringFieldNumber = 7, - kQualityRelayFieldNumber = 13, - kQualityE2EFieldNumber = 14, - kP2PRoutingSummaryFieldNumber = 16, - kLegacyFromSteamIdFieldNumber = 3, - kLegacyGameserverRelaySessionIdFieldNumber = 2, - kToConnectionIdFieldNumber = 5, - kFromConnectionIdFieldNumber = 6, - kToRelaySessionIdFieldNumber = 9, - kRoutingSecretFieldNumber = 11, - kFromRelaySessionIdFieldNumber = 10, - kEndToEndFieldNumber = 4, - kNotPrimarySessionFieldNumber = 12, - kNotPrimaryTransportFieldNumber = 15, - kRelayOverrideActiveFieldNumber = 17, - kDummyPadFieldNumber = 1023, - }; - // optional string from_identity_string = 7; - bool has_from_identity_string() const; - private: - bool _internal_has_from_identity_string() const; - public: - void clear_from_identity_string(); - const std::string& from_identity_string() const; - template - void set_from_identity_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_from_identity_string(); - PROTOBUF_NODISCARD std::string* release_from_identity_string(); - void set_allocated_from_identity_string(std::string* from_identity_string); - private: - const std::string& _internal_from_identity_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_from_identity_string(const std::string& value); - std::string* _internal_mutable_from_identity_string(); - public: - - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 13; - bool has_quality_relay() const; - private: - bool _internal_has_quality_relay() const; - public: - void clear_quality_relay(); - const ::CMsgSteamDatagramConnectionQuality& quality_relay() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_relay(); - ::CMsgSteamDatagramConnectionQuality* mutable_quality_relay(); - void set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_quality_relay() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_relay(); - public: - void unsafe_arena_set_allocated_quality_relay( - ::CMsgSteamDatagramConnectionQuality* quality_relay); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_relay(); - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 14; - bool has_quality_e2e() const; - private: - bool _internal_has_quality_e2e() const; - public: - void clear_quality_e2e(); - const ::CMsgSteamDatagramConnectionQuality& quality_e2e() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_e2e(); - ::CMsgSteamDatagramConnectionQuality* mutable_quality_e2e(); - void set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_quality_e2e() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_e2e(); - public: - void unsafe_arena_set_allocated_quality_e2e( - ::CMsgSteamDatagramConnectionQuality* quality_e2e); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_e2e(); - - // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 16; - bool has_p2p_routing_summary() const; - private: - bool _internal_has_p2p_routing_summary() const; - public: - void clear_p2p_routing_summary(); - const ::CMsgSteamDatagramP2PRoutingSummary& p2p_routing_summary() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramP2PRoutingSummary* release_p2p_routing_summary(); - ::CMsgSteamDatagramP2PRoutingSummary* mutable_p2p_routing_summary(); - void set_allocated_p2p_routing_summary(::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary); - private: - const ::CMsgSteamDatagramP2PRoutingSummary& _internal_p2p_routing_summary() const; - ::CMsgSteamDatagramP2PRoutingSummary* _internal_mutable_p2p_routing_summary(); - public: - void unsafe_arena_set_allocated_p2p_routing_summary( - ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary); - ::CMsgSteamDatagramP2PRoutingSummary* unsafe_arena_release_p2p_routing_summary(); - - // optional fixed64 legacy_from_steam_id = 3; - bool has_legacy_from_steam_id() const; - private: - bool _internal_has_legacy_from_steam_id() const; - public: - void clear_legacy_from_steam_id(); - uint64_t legacy_from_steam_id() const; - void set_legacy_from_steam_id(uint64_t value); - private: - uint64_t _internal_legacy_from_steam_id() const; - void _internal_set_legacy_from_steam_id(uint64_t value); - public: - - // optional uint32 legacy_gameserver_relay_session_id = 2; - bool has_legacy_gameserver_relay_session_id() const; - private: - bool _internal_has_legacy_gameserver_relay_session_id() const; - public: - void clear_legacy_gameserver_relay_session_id(); - uint32_t legacy_gameserver_relay_session_id() const; - void set_legacy_gameserver_relay_session_id(uint32_t value); - private: - uint32_t _internal_legacy_gameserver_relay_session_id() const; - void _internal_set_legacy_gameserver_relay_session_id(uint32_t value); - public: - - // optional fixed32 to_connection_id = 5; - bool has_to_connection_id() const; - private: - bool _internal_has_to_connection_id() const; - public: - void clear_to_connection_id(); - uint32_t to_connection_id() const; - void set_to_connection_id(uint32_t value); - private: - uint32_t _internal_to_connection_id() const; - void _internal_set_to_connection_id(uint32_t value); - public: - - // optional fixed32 from_connection_id = 6; - bool has_from_connection_id() const; - private: - bool _internal_has_from_connection_id() const; - public: - void clear_from_connection_id(); - uint32_t from_connection_id() const; - void set_from_connection_id(uint32_t value); - private: - uint32_t _internal_from_connection_id() const; - void _internal_set_from_connection_id(uint32_t value); - public: - - // optional fixed32 to_relay_session_id = 9; - bool has_to_relay_session_id() const; - private: - bool _internal_has_to_relay_session_id() const; - public: - void clear_to_relay_session_id(); - uint32_t to_relay_session_id() const; - void set_to_relay_session_id(uint32_t value); - private: - uint32_t _internal_to_relay_session_id() const; - void _internal_set_to_relay_session_id(uint32_t value); - public: - - // optional fixed64 routing_secret = 11; - bool has_routing_secret() const; - private: - bool _internal_has_routing_secret() const; - public: - void clear_routing_secret(); - uint64_t routing_secret() const; - void set_routing_secret(uint64_t value); - private: - uint64_t _internal_routing_secret() const; - void _internal_set_routing_secret(uint64_t value); - public: - - // optional fixed32 from_relay_session_id = 10; - bool has_from_relay_session_id() const; - private: - bool _internal_has_from_relay_session_id() const; - public: - void clear_from_relay_session_id(); - uint32_t from_relay_session_id() const; - void set_from_relay_session_id(uint32_t value); - private: - uint32_t _internal_from_relay_session_id() const; - void _internal_set_from_relay_session_id(uint32_t value); - public: - - // optional bool end_to_end = 4; - bool has_end_to_end() const; - private: - bool _internal_has_end_to_end() const; - public: - void clear_end_to_end(); - bool end_to_end() const; - void set_end_to_end(bool value); - private: - bool _internal_end_to_end() const; - void _internal_set_end_to_end(bool value); - public: - - // optional bool not_primary_session = 12; - bool has_not_primary_session() const; - private: - bool _internal_has_not_primary_session() const; - public: - void clear_not_primary_session(); - bool not_primary_session() const; - void set_not_primary_session(bool value); - private: - bool _internal_not_primary_session() const; - void _internal_set_not_primary_session(bool value); - public: - - // optional bool not_primary_transport = 15; - bool has_not_primary_transport() const; - private: - bool _internal_has_not_primary_transport() const; - public: - void clear_not_primary_transport(); - bool not_primary_transport() const; - void set_not_primary_transport(bool value); - private: - bool _internal_not_primary_transport() const; - void _internal_set_not_primary_transport(bool value); - public: - - // optional bool relay_override_active = 17; - bool has_relay_override_active() const; - private: - bool _internal_has_relay_override_active() const; - public: - void clear_relay_override_active(); - bool relay_override_active() const; - void set_relay_override_active(bool value); - private: - bool _internal_relay_override_active() const; - void _internal_set_relay_override_active(bool value); - public: - - // optional fixed32 dummy_pad = 1023; - bool has_dummy_pad() const; - private: - bool _internal_has_dummy_pad() const; - public: - void clear_dummy_pad(); - uint32_t dummy_pad() const; - void set_dummy_pad(uint32_t value); - private: - uint32_t _internal_dummy_pad() const; - void _internal_set_dummy_pad(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramNoConnection) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr from_identity_string_; - ::CMsgSteamDatagramConnectionQuality* quality_relay_; - ::CMsgSteamDatagramConnectionQuality* quality_e2e_; - ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary_; - uint64_t legacy_from_steam_id_; - uint32_t legacy_gameserver_relay_session_id_; - uint32_t to_connection_id_; - uint32_t from_connection_id_; - uint32_t to_relay_session_id_; - uint64_t routing_secret_; - uint32_t from_relay_session_id_; - bool end_to_end_; - bool not_primary_session_; - bool not_primary_transport_; - bool relay_override_active_; - uint32_t dummy_pad_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramGameserverSessionRequest : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramGameserverSessionRequest) */ { - public: - inline CMsgSteamDatagramGameserverSessionRequest() : CMsgSteamDatagramGameserverSessionRequest(nullptr) {} - ~CMsgSteamDatagramGameserverSessionRequest() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverSessionRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramGameserverSessionRequest(const CMsgSteamDatagramGameserverSessionRequest& from); - CMsgSteamDatagramGameserverSessionRequest(CMsgSteamDatagramGameserverSessionRequest&& from) noexcept - : CMsgSteamDatagramGameserverSessionRequest() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramGameserverSessionRequest& operator=(const CMsgSteamDatagramGameserverSessionRequest& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramGameserverSessionRequest& operator=(CMsgSteamDatagramGameserverSessionRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramGameserverSessionRequest& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramGameserverSessionRequest* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramGameserverSessionRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 24; - - friend void swap(CMsgSteamDatagramGameserverSessionRequest& a, CMsgSteamDatagramGameserverSessionRequest& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramGameserverSessionRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramGameserverSessionRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramGameserverSessionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramGameserverSessionRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramGameserverSessionRequest& from) { - CMsgSteamDatagramGameserverSessionRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramGameserverSessionRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramGameserverSessionRequest"; - } - protected: - explicit CMsgSteamDatagramGameserverSessionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTicketFieldNumber = 1, - kPlatformFieldNumber = 9, - kBuildFieldNumber = 10, - kDevGameserverIdentityFieldNumber = 100, - kDevClientCertFieldNumber = 101, - kChallengeFieldNumber = 4, - kChallengeTimeFieldNumber = 3, - kClientConnectionIdFieldNumber = 5, - kNetworkConfigVersionFieldNumber = 6, - kProtocolVersionFieldNumber = 7, - kServerConnectionIdFieldNumber = 8, - }; - // optional bytes ticket = 1; - bool has_ticket() const; - private: - bool _internal_has_ticket() const; - public: - void clear_ticket(); - const std::string& ticket() const; - template - void set_ticket(ArgT0&& arg0, ArgT... args); - std::string* mutable_ticket(); - PROTOBUF_NODISCARD std::string* release_ticket(); - void set_allocated_ticket(std::string* ticket); - private: - const std::string& _internal_ticket() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_ticket(const std::string& value); - std::string* _internal_mutable_ticket(); - public: - - // optional string platform = 9; - bool has_platform() const; - private: - bool _internal_has_platform() const; - public: - void clear_platform(); - const std::string& platform() const; - template - void set_platform(ArgT0&& arg0, ArgT... args); - std::string* mutable_platform(); - PROTOBUF_NODISCARD std::string* release_platform(); - void set_allocated_platform(std::string* platform); - private: - const std::string& _internal_platform() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_platform(const std::string& value); - std::string* _internal_mutable_platform(); - public: - - // optional string build = 10; - bool has_build() const; - private: - bool _internal_has_build() const; - public: - void clear_build(); - const std::string& build() const; - template - void set_build(ArgT0&& arg0, ArgT... args); - std::string* mutable_build(); - PROTOBUF_NODISCARD std::string* release_build(); - void set_allocated_build(std::string* build); - private: - const std::string& _internal_build() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_build(const std::string& value); - std::string* _internal_mutable_build(); - public: - - // optional string dev_gameserver_identity = 100; - bool has_dev_gameserver_identity() const; - private: - bool _internal_has_dev_gameserver_identity() const; - public: - void clear_dev_gameserver_identity(); - const std::string& dev_gameserver_identity() const; - template - void set_dev_gameserver_identity(ArgT0&& arg0, ArgT... args); - std::string* mutable_dev_gameserver_identity(); - PROTOBUF_NODISCARD std::string* release_dev_gameserver_identity(); - void set_allocated_dev_gameserver_identity(std::string* dev_gameserver_identity); - private: - const std::string& _internal_dev_gameserver_identity() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_dev_gameserver_identity(const std::string& value); - std::string* _internal_mutable_dev_gameserver_identity(); - public: - - // optional .CMsgSteamDatagramCertificateSigned dev_client_cert = 101; - bool has_dev_client_cert() const; - private: - bool _internal_has_dev_client_cert() const; - public: - void clear_dev_client_cert(); - const ::CMsgSteamDatagramCertificateSigned& dev_client_cert() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_dev_client_cert(); - ::CMsgSteamDatagramCertificateSigned* mutable_dev_client_cert(); - void set_allocated_dev_client_cert(::CMsgSteamDatagramCertificateSigned* dev_client_cert); - private: - const ::CMsgSteamDatagramCertificateSigned& _internal_dev_client_cert() const; - ::CMsgSteamDatagramCertificateSigned* _internal_mutable_dev_client_cert(); - public: - void unsafe_arena_set_allocated_dev_client_cert( - ::CMsgSteamDatagramCertificateSigned* dev_client_cert); - ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_dev_client_cert(); - - // optional fixed64 challenge = 4; - bool has_challenge() const; - private: - bool _internal_has_challenge() const; - public: - void clear_challenge(); - uint64_t challenge() const; - void set_challenge(uint64_t value); - private: - uint64_t _internal_challenge() const; - void _internal_set_challenge(uint64_t value); - public: - - // optional fixed32 challenge_time = 3; - bool has_challenge_time() const; - private: - bool _internal_has_challenge_time() const; - public: - void clear_challenge_time(); - uint32_t challenge_time() const; - void set_challenge_time(uint32_t value); - private: - uint32_t _internal_challenge_time() const; - void _internal_set_challenge_time(uint32_t value); - public: - - // optional fixed32 client_connection_id = 5; - bool has_client_connection_id() const; - private: - bool _internal_has_client_connection_id() const; - public: - void clear_client_connection_id(); - uint32_t client_connection_id() const; - void set_client_connection_id(uint32_t value); - private: - uint32_t _internal_client_connection_id() const; - void _internal_set_client_connection_id(uint32_t value); - public: - - // optional uint64 network_config_version = 6; - bool has_network_config_version() const; - private: - bool _internal_has_network_config_version() const; - public: - void clear_network_config_version(); - uint64_t network_config_version() const; - void set_network_config_version(uint64_t value); - private: - uint64_t _internal_network_config_version() const; - void _internal_set_network_config_version(uint64_t value); - public: - - // optional uint32 protocol_version = 7; - bool has_protocol_version() const; - private: - bool _internal_has_protocol_version() const; - public: - void clear_protocol_version(); - uint32_t protocol_version() const; - void set_protocol_version(uint32_t value); - private: - uint32_t _internal_protocol_version() const; - void _internal_set_protocol_version(uint32_t value); - public: - - // optional fixed32 server_connection_id = 8; - bool has_server_connection_id() const; - private: - bool _internal_has_server_connection_id() const; - public: - void clear_server_connection_id(); - uint32_t server_connection_id() const; - void set_server_connection_id(uint32_t value); - private: - uint32_t _internal_server_connection_id() const; - void _internal_set_server_connection_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramGameserverSessionRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ticket_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr platform_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr build_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dev_gameserver_identity_; - ::CMsgSteamDatagramCertificateSigned* dev_client_cert_; - uint64_t challenge_; - uint32_t challenge_time_; - uint32_t client_connection_id_; - uint64_t network_config_version_; - uint32_t protocol_version_; - uint32_t server_connection_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramGameserverSessionEstablished : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramGameserverSessionEstablished) */ { - public: - inline CMsgSteamDatagramGameserverSessionEstablished() : CMsgSteamDatagramGameserverSessionEstablished(nullptr) {} - ~CMsgSteamDatagramGameserverSessionEstablished() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramGameserverSessionEstablished(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramGameserverSessionEstablished(const CMsgSteamDatagramGameserverSessionEstablished& from); - CMsgSteamDatagramGameserverSessionEstablished(CMsgSteamDatagramGameserverSessionEstablished&& from) noexcept - : CMsgSteamDatagramGameserverSessionEstablished() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramGameserverSessionEstablished& operator=(const CMsgSteamDatagramGameserverSessionEstablished& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramGameserverSessionEstablished& operator=(CMsgSteamDatagramGameserverSessionEstablished&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramGameserverSessionEstablished& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramGameserverSessionEstablished* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramGameserverSessionEstablished_default_instance_); - } - static constexpr int kIndexInFileMessages = - 25; - - friend void swap(CMsgSteamDatagramGameserverSessionEstablished& a, CMsgSteamDatagramGameserverSessionEstablished& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramGameserverSessionEstablished* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramGameserverSessionEstablished* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramGameserverSessionEstablished* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramGameserverSessionEstablished& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramGameserverSessionEstablished& from) { - CMsgSteamDatagramGameserverSessionEstablished::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramGameserverSessionEstablished* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramGameserverSessionEstablished"; - } - protected: - explicit CMsgSteamDatagramGameserverSessionEstablished(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGameserverIdentityStringFieldNumber = 2, - kDummyLegacyIdentityBinaryFieldNumber = 7, - kConnectionIdFieldNumber = 1, - kSecondsUntilShutdownFieldNumber = 4, - kLegacyGameserverSteamidFieldNumber = 3, - kSeqNumR2CFieldNumber = 6, - }; - // optional string gameserver_identity_string = 2; - bool has_gameserver_identity_string() const; - private: - bool _internal_has_gameserver_identity_string() const; - public: - void clear_gameserver_identity_string(); - const std::string& gameserver_identity_string() const; - template - void set_gameserver_identity_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_gameserver_identity_string(); - PROTOBUF_NODISCARD std::string* release_gameserver_identity_string(); - void set_allocated_gameserver_identity_string(std::string* gameserver_identity_string); - private: - const std::string& _internal_gameserver_identity_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_gameserver_identity_string(const std::string& value); - std::string* _internal_mutable_gameserver_identity_string(); - public: - - // optional bytes dummy_legacy_identity_binary = 7; - bool has_dummy_legacy_identity_binary() const; - private: - bool _internal_has_dummy_legacy_identity_binary() const; - public: - void clear_dummy_legacy_identity_binary(); - const std::string& dummy_legacy_identity_binary() const; - template - void set_dummy_legacy_identity_binary(ArgT0&& arg0, ArgT... args); - std::string* mutable_dummy_legacy_identity_binary(); - PROTOBUF_NODISCARD std::string* release_dummy_legacy_identity_binary(); - void set_allocated_dummy_legacy_identity_binary(std::string* dummy_legacy_identity_binary); - private: - const std::string& _internal_dummy_legacy_identity_binary() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_dummy_legacy_identity_binary(const std::string& value); - std::string* _internal_mutable_dummy_legacy_identity_binary(); - public: - - // optional fixed32 connection_id = 1; - bool has_connection_id() const; - private: - bool _internal_has_connection_id() const; - public: - void clear_connection_id(); - uint32_t connection_id() const; - void set_connection_id(uint32_t value); - private: - uint32_t _internal_connection_id() const; - void _internal_set_connection_id(uint32_t value); - public: - - // optional uint32 seconds_until_shutdown = 4; - bool has_seconds_until_shutdown() const; - private: - bool _internal_has_seconds_until_shutdown() const; - public: - void clear_seconds_until_shutdown(); - uint32_t seconds_until_shutdown() const; - void set_seconds_until_shutdown(uint32_t value); - private: - uint32_t _internal_seconds_until_shutdown() const; - void _internal_set_seconds_until_shutdown(uint32_t value); - public: - - // optional fixed64 legacy_gameserver_steamid = 3; - bool has_legacy_gameserver_steamid() const; - private: - bool _internal_has_legacy_gameserver_steamid() const; - public: - void clear_legacy_gameserver_steamid(); - uint64_t legacy_gameserver_steamid() const; - void set_legacy_gameserver_steamid(uint64_t value); - private: - uint64_t _internal_legacy_gameserver_steamid() const; - void _internal_set_legacy_gameserver_steamid(uint64_t value); - public: - - // optional uint32 seq_num_r2c = 6; - bool has_seq_num_r2c() const; - private: - bool _internal_has_seq_num_r2c() const; - public: - void clear_seq_num_r2c(); - uint32_t seq_num_r2c() const; - void set_seq_num_r2c(uint32_t value); - private: - uint32_t _internal_seq_num_r2c() const; - void _internal_set_seq_num_r2c(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramGameserverSessionEstablished) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gameserver_identity_string_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dummy_legacy_identity_binary_; - uint32_t connection_id_; - uint32_t seconds_until_shutdown_; - uint64_t legacy_gameserver_steamid_; - uint32_t seq_num_r2c_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramConnectionStatsClientToRouter : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectionStatsClientToRouter) */ { - public: - inline CMsgSteamDatagramConnectionStatsClientToRouter() : CMsgSteamDatagramConnectionStatsClientToRouter(nullptr) {} - ~CMsgSteamDatagramConnectionStatsClientToRouter() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsClientToRouter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramConnectionStatsClientToRouter(const CMsgSteamDatagramConnectionStatsClientToRouter& from); - CMsgSteamDatagramConnectionStatsClientToRouter(CMsgSteamDatagramConnectionStatsClientToRouter&& from) noexcept - : CMsgSteamDatagramConnectionStatsClientToRouter() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramConnectionStatsClientToRouter& operator=(const CMsgSteamDatagramConnectionStatsClientToRouter& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramConnectionStatsClientToRouter& operator=(CMsgSteamDatagramConnectionStatsClientToRouter&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramConnectionStatsClientToRouter& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramConnectionStatsClientToRouter* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramConnectionStatsClientToRouter_default_instance_); - } - static constexpr int kIndexInFileMessages = - 26; - - friend void swap(CMsgSteamDatagramConnectionStatsClientToRouter& a, CMsgSteamDatagramConnectionStatsClientToRouter& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramConnectionStatsClientToRouter* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramConnectionStatsClientToRouter* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramConnectionStatsClientToRouter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramConnectionStatsClientToRouter& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramConnectionStatsClientToRouter& from) { - CMsgSteamDatagramConnectionStatsClientToRouter::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramConnectionStatsClientToRouter* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramConnectionStatsClientToRouter"; - } - protected: - explicit CMsgSteamDatagramConnectionStatsClientToRouter(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamDatagramConnectionStatsClientToRouter_Flags Flags; - static constexpr Flags ACK_REQUEST_RELAY = - CMsgSteamDatagramConnectionStatsClientToRouter_Flags_ACK_REQUEST_RELAY; - static constexpr Flags ACK_REQUEST_E2E = - CMsgSteamDatagramConnectionStatsClientToRouter_Flags_ACK_REQUEST_E2E; - static constexpr Flags ACK_REQUEST_IMMEDIATE = - CMsgSteamDatagramConnectionStatsClientToRouter_Flags_ACK_REQUEST_IMMEDIATE; - static constexpr Flags NOT_PRIMARY_SESSION = - CMsgSteamDatagramConnectionStatsClientToRouter_Flags_NOT_PRIMARY_SESSION; - static constexpr Flags CLIENT_RELAY_OVERRIDE = - CMsgSteamDatagramConnectionStatsClientToRouter_Flags_CLIENT_RELAY_OVERRIDE; - static inline bool Flags_IsValid(int value) { - return CMsgSteamDatagramConnectionStatsClientToRouter_Flags_IsValid(value); - } - static constexpr Flags Flags_MIN = - CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Flags_MIN; - static constexpr Flags Flags_MAX = - CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Flags_MAX; - static constexpr int Flags_ARRAYSIZE = - CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Flags_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Flags_descriptor() { - return CMsgSteamDatagramConnectionStatsClientToRouter_Flags_descriptor(); - } - template - static inline const std::string& Flags_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Flags_Name."); - return CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Name(enum_t_value); - } - static inline bool Flags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Flags* value) { - return CMsgSteamDatagramConnectionStatsClientToRouter_Flags_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kAckRelayFieldNumber = 4, - kLegacyAckE2EFieldNumber = 5, - kQualityRelayFieldNumber = 1, - kQualityE2EFieldNumber = 2, - kFlagsFieldNumber = 6, - kClientConnectionIdFieldNumber = 8, - kSeqNumC2RFieldNumber = 9, - kSeqNumE2EFieldNumber = 10, - }; - // repeated fixed32 ack_relay = 4; - int ack_relay_size() const; - private: - int _internal_ack_relay_size() const; - public: - void clear_ack_relay(); - private: - uint32_t _internal_ack_relay(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_ack_relay() const; - void _internal_add_ack_relay(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_ack_relay(); - public: - uint32_t ack_relay(int index) const; - void set_ack_relay(int index, uint32_t value); - void add_ack_relay(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - ack_relay() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_ack_relay(); - - // repeated fixed32 legacy_ack_e2e = 5; - int legacy_ack_e2e_size() const; - private: - int _internal_legacy_ack_e2e_size() const; - public: - void clear_legacy_ack_e2e(); - private: - uint32_t _internal_legacy_ack_e2e(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_legacy_ack_e2e() const; - void _internal_add_legacy_ack_e2e(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_legacy_ack_e2e(); - public: - uint32_t legacy_ack_e2e(int index) const; - void set_legacy_ack_e2e(int index, uint32_t value); - void add_legacy_ack_e2e(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - legacy_ack_e2e() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_legacy_ack_e2e(); - - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - bool has_quality_relay() const; - private: - bool _internal_has_quality_relay() const; - public: - void clear_quality_relay(); - const ::CMsgSteamDatagramConnectionQuality& quality_relay() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_relay(); - ::CMsgSteamDatagramConnectionQuality* mutable_quality_relay(); - void set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_quality_relay() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_relay(); - public: - void unsafe_arena_set_allocated_quality_relay( - ::CMsgSteamDatagramConnectionQuality* quality_relay); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_relay(); - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - bool has_quality_e2e() const; - private: - bool _internal_has_quality_e2e() const; - public: - void clear_quality_e2e(); - const ::CMsgSteamDatagramConnectionQuality& quality_e2e() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_e2e(); - ::CMsgSteamDatagramConnectionQuality* mutable_quality_e2e(); - void set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_quality_e2e() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_e2e(); - public: - void unsafe_arena_set_allocated_quality_e2e( - ::CMsgSteamDatagramConnectionQuality* quality_e2e); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_e2e(); - - // optional uint32 flags = 6; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional fixed32 client_connection_id = 8; - bool has_client_connection_id() const; - private: - bool _internal_has_client_connection_id() const; - public: - void clear_client_connection_id(); - uint32_t client_connection_id() const; - void set_client_connection_id(uint32_t value); - private: - uint32_t _internal_client_connection_id() const; - void _internal_set_client_connection_id(uint32_t value); - public: - - // optional uint32 seq_num_c2r = 9; - bool has_seq_num_c2r() const; - private: - bool _internal_has_seq_num_c2r() const; - public: - void clear_seq_num_c2r(); - uint32_t seq_num_c2r() const; - void set_seq_num_c2r(uint32_t value); - private: - uint32_t _internal_seq_num_c2r() const; - void _internal_set_seq_num_c2r(uint32_t value); - public: - - // optional uint32 seq_num_e2e = 10; - bool has_seq_num_e2e() const; - private: - bool _internal_has_seq_num_e2e() const; - public: - void clear_seq_num_e2e(); - uint32_t seq_num_e2e() const; - void set_seq_num_e2e(uint32_t value); - private: - uint32_t _internal_seq_num_e2e() const; - void _internal_set_seq_num_e2e(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectionStatsClientToRouter) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > ack_relay_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > legacy_ack_e2e_; - ::CMsgSteamDatagramConnectionQuality* quality_relay_; - ::CMsgSteamDatagramConnectionQuality* quality_e2e_; - uint32_t flags_; - uint32_t client_connection_id_; - uint32_t seq_num_c2r_; - uint32_t seq_num_e2e_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramConnectionStatsRouterToClient : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectionStatsRouterToClient) */ { - public: - inline CMsgSteamDatagramConnectionStatsRouterToClient() : CMsgSteamDatagramConnectionStatsRouterToClient(nullptr) {} - ~CMsgSteamDatagramConnectionStatsRouterToClient() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsRouterToClient(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramConnectionStatsRouterToClient(const CMsgSteamDatagramConnectionStatsRouterToClient& from); - CMsgSteamDatagramConnectionStatsRouterToClient(CMsgSteamDatagramConnectionStatsRouterToClient&& from) noexcept - : CMsgSteamDatagramConnectionStatsRouterToClient() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramConnectionStatsRouterToClient& operator=(const CMsgSteamDatagramConnectionStatsRouterToClient& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramConnectionStatsRouterToClient& operator=(CMsgSteamDatagramConnectionStatsRouterToClient&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramConnectionStatsRouterToClient& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramConnectionStatsRouterToClient* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramConnectionStatsRouterToClient_default_instance_); - } - static constexpr int kIndexInFileMessages = - 27; - - friend void swap(CMsgSteamDatagramConnectionStatsRouterToClient& a, CMsgSteamDatagramConnectionStatsRouterToClient& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramConnectionStatsRouterToClient* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramConnectionStatsRouterToClient* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramConnectionStatsRouterToClient* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramConnectionStatsRouterToClient& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramConnectionStatsRouterToClient& from) { - CMsgSteamDatagramConnectionStatsRouterToClient::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramConnectionStatsRouterToClient* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramConnectionStatsRouterToClient"; - } - protected: - explicit CMsgSteamDatagramConnectionStatsRouterToClient(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamDatagramConnectionStatsRouterToClient_Flags Flags; - static constexpr Flags ACK_REQUEST_RELAY = - CMsgSteamDatagramConnectionStatsRouterToClient_Flags_ACK_REQUEST_RELAY; - static constexpr Flags ACK_REQUEST_E2E = - CMsgSteamDatagramConnectionStatsRouterToClient_Flags_ACK_REQUEST_E2E; - static constexpr Flags ACK_REQUEST_IMMEDIATE = - CMsgSteamDatagramConnectionStatsRouterToClient_Flags_ACK_REQUEST_IMMEDIATE; - static inline bool Flags_IsValid(int value) { - return CMsgSteamDatagramConnectionStatsRouterToClient_Flags_IsValid(value); - } - static constexpr Flags Flags_MIN = - CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Flags_MIN; - static constexpr Flags Flags_MAX = - CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Flags_MAX; - static constexpr int Flags_ARRAYSIZE = - CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Flags_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Flags_descriptor() { - return CMsgSteamDatagramConnectionStatsRouterToClient_Flags_descriptor(); - } - template - static inline const std::string& Flags_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Flags_Name."); - return CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Name(enum_t_value); - } - static inline bool Flags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Flags* value) { - return CMsgSteamDatagramConnectionStatsRouterToClient_Flags_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kAckRelayFieldNumber = 13, - kLegacyAckE2EFieldNumber = 14, - kQualityRelayFieldNumber = 1, - kQualityE2EFieldNumber = 2, - kSecondsUntilShutdownFieldNumber = 6, - kClientConnectionIdFieldNumber = 7, - kSeqNumR2CFieldNumber = 8, - kSeqNumE2EFieldNumber = 9, - kMigrateRequestIpFieldNumber = 10, - kMigrateRequestPortFieldNumber = 11, - kScoringPenaltyRelayClusterFieldNumber = 12, - kFlagsFieldNumber = 15, - }; - // repeated fixed32 ack_relay = 13; - int ack_relay_size() const; - private: - int _internal_ack_relay_size() const; - public: - void clear_ack_relay(); - private: - uint32_t _internal_ack_relay(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_ack_relay() const; - void _internal_add_ack_relay(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_ack_relay(); - public: - uint32_t ack_relay(int index) const; - void set_ack_relay(int index, uint32_t value); - void add_ack_relay(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - ack_relay() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_ack_relay(); - - // repeated fixed32 legacy_ack_e2e = 14; - int legacy_ack_e2e_size() const; - private: - int _internal_legacy_ack_e2e_size() const; - public: - void clear_legacy_ack_e2e(); - private: - uint32_t _internal_legacy_ack_e2e(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_legacy_ack_e2e() const; - void _internal_add_legacy_ack_e2e(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_legacy_ack_e2e(); - public: - uint32_t legacy_ack_e2e(int index) const; - void set_legacy_ack_e2e(int index, uint32_t value); - void add_legacy_ack_e2e(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - legacy_ack_e2e() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_legacy_ack_e2e(); - - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - bool has_quality_relay() const; - private: - bool _internal_has_quality_relay() const; - public: - void clear_quality_relay(); - const ::CMsgSteamDatagramConnectionQuality& quality_relay() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_relay(); - ::CMsgSteamDatagramConnectionQuality* mutable_quality_relay(); - void set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_quality_relay() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_relay(); - public: - void unsafe_arena_set_allocated_quality_relay( - ::CMsgSteamDatagramConnectionQuality* quality_relay); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_relay(); - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - bool has_quality_e2e() const; - private: - bool _internal_has_quality_e2e() const; - public: - void clear_quality_e2e(); - const ::CMsgSteamDatagramConnectionQuality& quality_e2e() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_e2e(); - ::CMsgSteamDatagramConnectionQuality* mutable_quality_e2e(); - void set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_quality_e2e() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_e2e(); - public: - void unsafe_arena_set_allocated_quality_e2e( - ::CMsgSteamDatagramConnectionQuality* quality_e2e); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_e2e(); - - // optional uint32 seconds_until_shutdown = 6; - bool has_seconds_until_shutdown() const; - private: - bool _internal_has_seconds_until_shutdown() const; - public: - void clear_seconds_until_shutdown(); - uint32_t seconds_until_shutdown() const; - void set_seconds_until_shutdown(uint32_t value); - private: - uint32_t _internal_seconds_until_shutdown() const; - void _internal_set_seconds_until_shutdown(uint32_t value); - public: - - // optional fixed32 client_connection_id = 7; - bool has_client_connection_id() const; - private: - bool _internal_has_client_connection_id() const; - public: - void clear_client_connection_id(); - uint32_t client_connection_id() const; - void set_client_connection_id(uint32_t value); - private: - uint32_t _internal_client_connection_id() const; - void _internal_set_client_connection_id(uint32_t value); - public: - - // optional uint32 seq_num_r2c = 8; - bool has_seq_num_r2c() const; - private: - bool _internal_has_seq_num_r2c() const; - public: - void clear_seq_num_r2c(); - uint32_t seq_num_r2c() const; - void set_seq_num_r2c(uint32_t value); - private: - uint32_t _internal_seq_num_r2c() const; - void _internal_set_seq_num_r2c(uint32_t value); - public: - - // optional uint32 seq_num_e2e = 9; - bool has_seq_num_e2e() const; - private: - bool _internal_has_seq_num_e2e() const; - public: - void clear_seq_num_e2e(); - uint32_t seq_num_e2e() const; - void set_seq_num_e2e(uint32_t value); - private: - uint32_t _internal_seq_num_e2e() const; - void _internal_set_seq_num_e2e(uint32_t value); - public: - - // optional fixed32 migrate_request_ip = 10; - bool has_migrate_request_ip() const; - private: - bool _internal_has_migrate_request_ip() const; - public: - void clear_migrate_request_ip(); - uint32_t migrate_request_ip() const; - void set_migrate_request_ip(uint32_t value); - private: - uint32_t _internal_migrate_request_ip() const; - void _internal_set_migrate_request_ip(uint32_t value); - public: - - // optional uint32 migrate_request_port = 11; - bool has_migrate_request_port() const; - private: - bool _internal_has_migrate_request_port() const; - public: - void clear_migrate_request_port(); - uint32_t migrate_request_port() const; - void set_migrate_request_port(uint32_t value); - private: - uint32_t _internal_migrate_request_port() const; - void _internal_set_migrate_request_port(uint32_t value); - public: - - // optional uint32 scoring_penalty_relay_cluster = 12; - bool has_scoring_penalty_relay_cluster() const; - private: - bool _internal_has_scoring_penalty_relay_cluster() const; - public: - void clear_scoring_penalty_relay_cluster(); - uint32_t scoring_penalty_relay_cluster() const; - void set_scoring_penalty_relay_cluster(uint32_t value); - private: - uint32_t _internal_scoring_penalty_relay_cluster() const; - void _internal_set_scoring_penalty_relay_cluster(uint32_t value); - public: - - // optional uint32 flags = 15; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectionStatsRouterToClient) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > ack_relay_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > legacy_ack_e2e_; - ::CMsgSteamDatagramConnectionQuality* quality_relay_; - ::CMsgSteamDatagramConnectionQuality* quality_e2e_; - uint32_t seconds_until_shutdown_; - uint32_t client_connection_id_; - uint32_t seq_num_r2c_; - uint32_t seq_num_e2e_; - uint32_t migrate_request_ip_; - uint32_t migrate_request_port_; - uint32_t scoring_penalty_relay_cluster_; - uint32_t flags_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramConnectionStatsRouterToServer : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectionStatsRouterToServer) */ { - public: - inline CMsgSteamDatagramConnectionStatsRouterToServer() : CMsgSteamDatagramConnectionStatsRouterToServer(nullptr) {} - ~CMsgSteamDatagramConnectionStatsRouterToServer() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsRouterToServer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramConnectionStatsRouterToServer(const CMsgSteamDatagramConnectionStatsRouterToServer& from); - CMsgSteamDatagramConnectionStatsRouterToServer(CMsgSteamDatagramConnectionStatsRouterToServer&& from) noexcept - : CMsgSteamDatagramConnectionStatsRouterToServer() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramConnectionStatsRouterToServer& operator=(const CMsgSteamDatagramConnectionStatsRouterToServer& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramConnectionStatsRouterToServer& operator=(CMsgSteamDatagramConnectionStatsRouterToServer&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramConnectionStatsRouterToServer& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramConnectionStatsRouterToServer* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramConnectionStatsRouterToServer_default_instance_); - } - static constexpr int kIndexInFileMessages = - 28; - - friend void swap(CMsgSteamDatagramConnectionStatsRouterToServer& a, CMsgSteamDatagramConnectionStatsRouterToServer& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramConnectionStatsRouterToServer* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramConnectionStatsRouterToServer* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramConnectionStatsRouterToServer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramConnectionStatsRouterToServer& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramConnectionStatsRouterToServer& from) { - CMsgSteamDatagramConnectionStatsRouterToServer::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramConnectionStatsRouterToServer* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramConnectionStatsRouterToServer"; - } - protected: - explicit CMsgSteamDatagramConnectionStatsRouterToServer(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamDatagramConnectionStatsRouterToServer_Flags Flags; - static constexpr Flags ACK_REQUEST_RELAY = - CMsgSteamDatagramConnectionStatsRouterToServer_Flags_ACK_REQUEST_RELAY; - static constexpr Flags ACK_REQUEST_E2E = - CMsgSteamDatagramConnectionStatsRouterToServer_Flags_ACK_REQUEST_E2E; - static constexpr Flags ACK_REQUEST_IMMEDIATE = - CMsgSteamDatagramConnectionStatsRouterToServer_Flags_ACK_REQUEST_IMMEDIATE; - static inline bool Flags_IsValid(int value) { - return CMsgSteamDatagramConnectionStatsRouterToServer_Flags_IsValid(value); - } - static constexpr Flags Flags_MIN = - CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Flags_MIN; - static constexpr Flags Flags_MAX = - CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Flags_MAX; - static constexpr int Flags_ARRAYSIZE = - CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Flags_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Flags_descriptor() { - return CMsgSteamDatagramConnectionStatsRouterToServer_Flags_descriptor(); - } - template - static inline const std::string& Flags_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Flags_Name."); - return CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Name(enum_t_value); - } - static inline bool Flags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Flags* value) { - return CMsgSteamDatagramConnectionStatsRouterToServer_Flags_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kAckRelayFieldNumber = 10, - kLegacyAckE2EFieldNumber = 11, - kClientIdentityStringFieldNumber = 15, - kQualityRelayFieldNumber = 1, - kQualityE2EFieldNumber = 2, - kSeqNumR2SFieldNumber = 5, - kSeqNumE2EFieldNumber = 6, - kLegacyClientSteamIdFieldNumber = 7, - kRelaySessionIdFieldNumber = 8, - kClientConnectionIdFieldNumber = 9, - kFlagsFieldNumber = 12, - kServerConnectionIdFieldNumber = 13, - kRoutingSecretFieldNumber = 14, - }; - // repeated fixed32 ack_relay = 10; - int ack_relay_size() const; - private: - int _internal_ack_relay_size() const; - public: - void clear_ack_relay(); - private: - uint32_t _internal_ack_relay(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_ack_relay() const; - void _internal_add_ack_relay(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_ack_relay(); - public: - uint32_t ack_relay(int index) const; - void set_ack_relay(int index, uint32_t value); - void add_ack_relay(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - ack_relay() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_ack_relay(); - - // repeated fixed32 legacy_ack_e2e = 11; - int legacy_ack_e2e_size() const; - private: - int _internal_legacy_ack_e2e_size() const; - public: - void clear_legacy_ack_e2e(); - private: - uint32_t _internal_legacy_ack_e2e(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_legacy_ack_e2e() const; - void _internal_add_legacy_ack_e2e(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_legacy_ack_e2e(); - public: - uint32_t legacy_ack_e2e(int index) const; - void set_legacy_ack_e2e(int index, uint32_t value); - void add_legacy_ack_e2e(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - legacy_ack_e2e() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_legacy_ack_e2e(); - - // optional string client_identity_string = 15; - bool has_client_identity_string() const; - private: - bool _internal_has_client_identity_string() const; - public: - void clear_client_identity_string(); - const std::string& client_identity_string() const; - template - void set_client_identity_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_client_identity_string(); - PROTOBUF_NODISCARD std::string* release_client_identity_string(); - void set_allocated_client_identity_string(std::string* client_identity_string); - private: - const std::string& _internal_client_identity_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_identity_string(const std::string& value); - std::string* _internal_mutable_client_identity_string(); - public: - - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - bool has_quality_relay() const; - private: - bool _internal_has_quality_relay() const; - public: - void clear_quality_relay(); - const ::CMsgSteamDatagramConnectionQuality& quality_relay() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_relay(); - ::CMsgSteamDatagramConnectionQuality* mutable_quality_relay(); - void set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_quality_relay() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_relay(); - public: - void unsafe_arena_set_allocated_quality_relay( - ::CMsgSteamDatagramConnectionQuality* quality_relay); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_relay(); - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - bool has_quality_e2e() const; - private: - bool _internal_has_quality_e2e() const; - public: - void clear_quality_e2e(); - const ::CMsgSteamDatagramConnectionQuality& quality_e2e() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_e2e(); - ::CMsgSteamDatagramConnectionQuality* mutable_quality_e2e(); - void set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_quality_e2e() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_e2e(); - public: - void unsafe_arena_set_allocated_quality_e2e( - ::CMsgSteamDatagramConnectionQuality* quality_e2e); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_e2e(); - - // optional uint32 seq_num_r2s = 5; - bool has_seq_num_r2s() const; - private: - bool _internal_has_seq_num_r2s() const; - public: - void clear_seq_num_r2s(); - uint32_t seq_num_r2s() const; - void set_seq_num_r2s(uint32_t value); - private: - uint32_t _internal_seq_num_r2s() const; - void _internal_set_seq_num_r2s(uint32_t value); - public: - - // optional uint32 seq_num_e2e = 6; - bool has_seq_num_e2e() const; - private: - bool _internal_has_seq_num_e2e() const; - public: - void clear_seq_num_e2e(); - uint32_t seq_num_e2e() const; - void set_seq_num_e2e(uint32_t value); - private: - uint32_t _internal_seq_num_e2e() const; - void _internal_set_seq_num_e2e(uint32_t value); - public: - - // optional fixed64 legacy_client_steam_id = 7; - bool has_legacy_client_steam_id() const; - private: - bool _internal_has_legacy_client_steam_id() const; - public: - void clear_legacy_client_steam_id(); - uint64_t legacy_client_steam_id() const; - void set_legacy_client_steam_id(uint64_t value); - private: - uint64_t _internal_legacy_client_steam_id() const; - void _internal_set_legacy_client_steam_id(uint64_t value); - public: - - // optional uint32 relay_session_id = 8; - bool has_relay_session_id() const; - private: - bool _internal_has_relay_session_id() const; - public: - void clear_relay_session_id(); - uint32_t relay_session_id() const; - void set_relay_session_id(uint32_t value); - private: - uint32_t _internal_relay_session_id() const; - void _internal_set_relay_session_id(uint32_t value); - public: - - // optional fixed32 client_connection_id = 9; - bool has_client_connection_id() const; - private: - bool _internal_has_client_connection_id() const; - public: - void clear_client_connection_id(); - uint32_t client_connection_id() const; - void set_client_connection_id(uint32_t value); - private: - uint32_t _internal_client_connection_id() const; - void _internal_set_client_connection_id(uint32_t value); - public: - - // optional uint32 flags = 12; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional fixed32 server_connection_id = 13; - bool has_server_connection_id() const; - private: - bool _internal_has_server_connection_id() const; - public: - void clear_server_connection_id(); - uint32_t server_connection_id() const; - void set_server_connection_id(uint32_t value); - private: - uint32_t _internal_server_connection_id() const; - void _internal_set_server_connection_id(uint32_t value); - public: - - // optional fixed64 routing_secret = 14; - bool has_routing_secret() const; - private: - bool _internal_has_routing_secret() const; - public: - void clear_routing_secret(); - uint64_t routing_secret() const; - void set_routing_secret(uint64_t value); - private: - uint64_t _internal_routing_secret() const; - void _internal_set_routing_secret(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectionStatsRouterToServer) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > ack_relay_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > legacy_ack_e2e_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_identity_string_; - ::CMsgSteamDatagramConnectionQuality* quality_relay_; - ::CMsgSteamDatagramConnectionQuality* quality_e2e_; - uint32_t seq_num_r2s_; - uint32_t seq_num_e2e_; - uint64_t legacy_client_steam_id_; - uint32_t relay_session_id_; - uint32_t client_connection_id_; - uint32_t flags_; - uint32_t server_connection_id_; - uint64_t routing_secret_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramConnectionStatsServerToRouter : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectionStatsServerToRouter) */ { - public: - inline CMsgSteamDatagramConnectionStatsServerToRouter() : CMsgSteamDatagramConnectionStatsServerToRouter(nullptr) {} - ~CMsgSteamDatagramConnectionStatsServerToRouter() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsServerToRouter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramConnectionStatsServerToRouter(const CMsgSteamDatagramConnectionStatsServerToRouter& from); - CMsgSteamDatagramConnectionStatsServerToRouter(CMsgSteamDatagramConnectionStatsServerToRouter&& from) noexcept - : CMsgSteamDatagramConnectionStatsServerToRouter() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramConnectionStatsServerToRouter& operator=(const CMsgSteamDatagramConnectionStatsServerToRouter& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramConnectionStatsServerToRouter& operator=(CMsgSteamDatagramConnectionStatsServerToRouter&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramConnectionStatsServerToRouter& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramConnectionStatsServerToRouter* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramConnectionStatsServerToRouter_default_instance_); - } - static constexpr int kIndexInFileMessages = - 29; - - friend void swap(CMsgSteamDatagramConnectionStatsServerToRouter& a, CMsgSteamDatagramConnectionStatsServerToRouter& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramConnectionStatsServerToRouter* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramConnectionStatsServerToRouter* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramConnectionStatsServerToRouter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramConnectionStatsServerToRouter& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramConnectionStatsServerToRouter& from) { - CMsgSteamDatagramConnectionStatsServerToRouter::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramConnectionStatsServerToRouter* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramConnectionStatsServerToRouter"; - } - protected: - explicit CMsgSteamDatagramConnectionStatsServerToRouter(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamDatagramConnectionStatsServerToRouter_Flags Flags; - static constexpr Flags ACK_REQUEST_RELAY = - CMsgSteamDatagramConnectionStatsServerToRouter_Flags_ACK_REQUEST_RELAY; - static constexpr Flags ACK_REQUEST_E2E = - CMsgSteamDatagramConnectionStatsServerToRouter_Flags_ACK_REQUEST_E2E; - static constexpr Flags ACK_REQUEST_IMMEDIATE = - CMsgSteamDatagramConnectionStatsServerToRouter_Flags_ACK_REQUEST_IMMEDIATE; - static inline bool Flags_IsValid(int value) { - return CMsgSteamDatagramConnectionStatsServerToRouter_Flags_IsValid(value); - } - static constexpr Flags Flags_MIN = - CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Flags_MIN; - static constexpr Flags Flags_MAX = - CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Flags_MAX; - static constexpr int Flags_ARRAYSIZE = - CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Flags_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Flags_descriptor() { - return CMsgSteamDatagramConnectionStatsServerToRouter_Flags_descriptor(); - } - template - static inline const std::string& Flags_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Flags_Name."); - return CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Name(enum_t_value); - } - static inline bool Flags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Flags* value) { - return CMsgSteamDatagramConnectionStatsServerToRouter_Flags_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kAckRelayFieldNumber = 8, - kLegacyAckE2EFieldNumber = 9, - kQualityRelayFieldNumber = 1, - kQualityE2EFieldNumber = 2, - kSeqNumS2RFieldNumber = 3, - kSeqNumE2EFieldNumber = 4, - kRelaySessionIdFieldNumber = 6, - kClientConnectionIdFieldNumber = 7, - kFlagsFieldNumber = 10, - kServerConnectionIdFieldNumber = 11, - }; - // repeated fixed32 ack_relay = 8; - int ack_relay_size() const; - private: - int _internal_ack_relay_size() const; - public: - void clear_ack_relay(); - private: - uint32_t _internal_ack_relay(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_ack_relay() const; - void _internal_add_ack_relay(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_ack_relay(); - public: - uint32_t ack_relay(int index) const; - void set_ack_relay(int index, uint32_t value); - void add_ack_relay(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - ack_relay() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_ack_relay(); - - // repeated fixed32 legacy_ack_e2e = 9; - int legacy_ack_e2e_size() const; - private: - int _internal_legacy_ack_e2e_size() const; - public: - void clear_legacy_ack_e2e(); - private: - uint32_t _internal_legacy_ack_e2e(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_legacy_ack_e2e() const; - void _internal_add_legacy_ack_e2e(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_legacy_ack_e2e(); - public: - uint32_t legacy_ack_e2e(int index) const; - void set_legacy_ack_e2e(int index, uint32_t value); - void add_legacy_ack_e2e(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - legacy_ack_e2e() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_legacy_ack_e2e(); - - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - bool has_quality_relay() const; - private: - bool _internal_has_quality_relay() const; - public: - void clear_quality_relay(); - const ::CMsgSteamDatagramConnectionQuality& quality_relay() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_relay(); - ::CMsgSteamDatagramConnectionQuality* mutable_quality_relay(); - void set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_quality_relay() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_relay(); - public: - void unsafe_arena_set_allocated_quality_relay( - ::CMsgSteamDatagramConnectionQuality* quality_relay); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_relay(); - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - bool has_quality_e2e() const; - private: - bool _internal_has_quality_e2e() const; - public: - void clear_quality_e2e(); - const ::CMsgSteamDatagramConnectionQuality& quality_e2e() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_e2e(); - ::CMsgSteamDatagramConnectionQuality* mutable_quality_e2e(); - void set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_quality_e2e() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_e2e(); - public: - void unsafe_arena_set_allocated_quality_e2e( - ::CMsgSteamDatagramConnectionQuality* quality_e2e); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_e2e(); - - // optional uint32 seq_num_s2r = 3; - bool has_seq_num_s2r() const; - private: - bool _internal_has_seq_num_s2r() const; - public: - void clear_seq_num_s2r(); - uint32_t seq_num_s2r() const; - void set_seq_num_s2r(uint32_t value); - private: - uint32_t _internal_seq_num_s2r() const; - void _internal_set_seq_num_s2r(uint32_t value); - public: - - // optional uint32 seq_num_e2e = 4; - bool has_seq_num_e2e() const; - private: - bool _internal_has_seq_num_e2e() const; - public: - void clear_seq_num_e2e(); - uint32_t seq_num_e2e() const; - void set_seq_num_e2e(uint32_t value); - private: - uint32_t _internal_seq_num_e2e() const; - void _internal_set_seq_num_e2e(uint32_t value); - public: - - // optional uint32 relay_session_id = 6; - bool has_relay_session_id() const; - private: - bool _internal_has_relay_session_id() const; - public: - void clear_relay_session_id(); - uint32_t relay_session_id() const; - void set_relay_session_id(uint32_t value); - private: - uint32_t _internal_relay_session_id() const; - void _internal_set_relay_session_id(uint32_t value); - public: - - // optional fixed32 client_connection_id = 7; - bool has_client_connection_id() const; - private: - bool _internal_has_client_connection_id() const; - public: - void clear_client_connection_id(); - uint32_t client_connection_id() const; - void set_client_connection_id(uint32_t value); - private: - uint32_t _internal_client_connection_id() const; - void _internal_set_client_connection_id(uint32_t value); - public: - - // optional uint32 flags = 10; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional fixed32 server_connection_id = 11; - bool has_server_connection_id() const; - private: - bool _internal_has_server_connection_id() const; - public: - void clear_server_connection_id(); - uint32_t server_connection_id() const; - void set_server_connection_id(uint32_t value); - private: - uint32_t _internal_server_connection_id() const; - void _internal_set_server_connection_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectionStatsServerToRouter) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > ack_relay_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > legacy_ack_e2e_; - ::CMsgSteamDatagramConnectionQuality* quality_relay_; - ::CMsgSteamDatagramConnectionQuality* quality_e2e_; - uint32_t seq_num_s2r_; - uint32_t seq_num_e2e_; - uint32_t relay_session_id_; - uint32_t client_connection_id_; - uint32_t flags_; - uint32_t server_connection_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramP2PSessionRequestBody_EncryptedData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) */ { - public: - inline CMsgSteamDatagramP2PSessionRequestBody_EncryptedData() : CMsgSteamDatagramP2PSessionRequestBody_EncryptedData(nullptr) {} - ~CMsgSteamDatagramP2PSessionRequestBody_EncryptedData() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionRequestBody_EncryptedData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramP2PSessionRequestBody_EncryptedData(const CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& from); - CMsgSteamDatagramP2PSessionRequestBody_EncryptedData(CMsgSteamDatagramP2PSessionRequestBody_EncryptedData&& from) noexcept - : CMsgSteamDatagramP2PSessionRequestBody_EncryptedData() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& operator=(const CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& operator=(CMsgSteamDatagramP2PSessionRequestBody_EncryptedData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramP2PSessionRequestBody_EncryptedData* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramP2PSessionRequestBody_EncryptedData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 30; - - friend void swap(CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& a, CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramP2PSessionRequestBody_EncryptedData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramP2PSessionRequestBody_EncryptedData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramP2PSessionRequestBody_EncryptedData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramP2PSessionRequestBody_EncryptedData& from) { - CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramP2PSessionRequestBody_EncryptedData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramP2PSessionRequestBody.EncryptedData"; - } - protected: - explicit CMsgSteamDatagramP2PSessionRequestBody_EncryptedData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPeerIdentityStringFieldNumber = 1, - }; - // optional string peer_identity_string = 1; - bool has_peer_identity_string() const; - private: - bool _internal_has_peer_identity_string() const; - public: - void clear_peer_identity_string(); - const std::string& peer_identity_string() const; - template - void set_peer_identity_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_peer_identity_string(); - PROTOBUF_NODISCARD std::string* release_peer_identity_string(); - void set_allocated_peer_identity_string(std::string* peer_identity_string); - private: - const std::string& _internal_peer_identity_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_peer_identity_string(const std::string& value); - std::string* _internal_mutable_peer_identity_string(); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr peer_identity_string_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramP2PSessionRequestBody : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramP2PSessionRequestBody) */ { - public: - inline CMsgSteamDatagramP2PSessionRequestBody() : CMsgSteamDatagramP2PSessionRequestBody(nullptr) {} - ~CMsgSteamDatagramP2PSessionRequestBody() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionRequestBody(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramP2PSessionRequestBody(const CMsgSteamDatagramP2PSessionRequestBody& from); - CMsgSteamDatagramP2PSessionRequestBody(CMsgSteamDatagramP2PSessionRequestBody&& from) noexcept - : CMsgSteamDatagramP2PSessionRequestBody() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramP2PSessionRequestBody& operator=(const CMsgSteamDatagramP2PSessionRequestBody& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramP2PSessionRequestBody& operator=(CMsgSteamDatagramP2PSessionRequestBody&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramP2PSessionRequestBody& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramP2PSessionRequestBody* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramP2PSessionRequestBody_default_instance_); - } - static constexpr int kIndexInFileMessages = - 31; - - friend void swap(CMsgSteamDatagramP2PSessionRequestBody& a, CMsgSteamDatagramP2PSessionRequestBody& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramP2PSessionRequestBody* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramP2PSessionRequestBody* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramP2PSessionRequestBody* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramP2PSessionRequestBody& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramP2PSessionRequestBody& from) { - CMsgSteamDatagramP2PSessionRequestBody::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramP2PSessionRequestBody* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramP2PSessionRequestBody"; - } - protected: - explicit CMsgSteamDatagramP2PSessionRequestBody(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamDatagramP2PSessionRequestBody_EncryptedData EncryptedData; - - // accessors ------------------------------------------------------- - - enum : int { - kPeerIdentityStringFieldNumber = 11, - kPlatformFieldNumber = 12, - kBuildFieldNumber = 13, - kEncryptedDataFieldNumber = 14, - kEncryptionMyEphemeralPublicKeyFieldNumber = 16, - kChallengeFieldNumber = 2, - kChallengeTimeFieldNumber = 1, - kClientConnectionIdFieldNumber = 3, - kLegacyPeerSteamIdFieldNumber = 4, - kPeerConnectionIdFieldNumber = 5, - kProtocolVersionFieldNumber = 8, - kNetworkConfigVersionFieldNumber = 9, - kEncryptionYourPublicKeyLeadByteFieldNumber = 15, - }; - // optional string peer_identity_string = 11; - bool has_peer_identity_string() const; - private: - bool _internal_has_peer_identity_string() const; - public: - void clear_peer_identity_string(); - const std::string& peer_identity_string() const; - template - void set_peer_identity_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_peer_identity_string(); - PROTOBUF_NODISCARD std::string* release_peer_identity_string(); - void set_allocated_peer_identity_string(std::string* peer_identity_string); - private: - const std::string& _internal_peer_identity_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_peer_identity_string(const std::string& value); - std::string* _internal_mutable_peer_identity_string(); - public: - - // optional string platform = 12; - bool has_platform() const; - private: - bool _internal_has_platform() const; - public: - void clear_platform(); - const std::string& platform() const; - template - void set_platform(ArgT0&& arg0, ArgT... args); - std::string* mutable_platform(); - PROTOBUF_NODISCARD std::string* release_platform(); - void set_allocated_platform(std::string* platform); - private: - const std::string& _internal_platform() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_platform(const std::string& value); - std::string* _internal_mutable_platform(); - public: - - // optional string build = 13; - bool has_build() const; - private: - bool _internal_has_build() const; - public: - void clear_build(); - const std::string& build() const; - template - void set_build(ArgT0&& arg0, ArgT... args); - std::string* mutable_build(); - PROTOBUF_NODISCARD std::string* release_build(); - void set_allocated_build(std::string* build); - private: - const std::string& _internal_build() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_build(const std::string& value); - std::string* _internal_mutable_build(); - public: - - // optional bytes encrypted_data = 14; - bool has_encrypted_data() const; - private: - bool _internal_has_encrypted_data() const; - public: - void clear_encrypted_data(); - const std::string& encrypted_data() const; - template - void set_encrypted_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_encrypted_data(); - PROTOBUF_NODISCARD std::string* release_encrypted_data(); - void set_allocated_encrypted_data(std::string* encrypted_data); - private: - const std::string& _internal_encrypted_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_encrypted_data(const std::string& value); - std::string* _internal_mutable_encrypted_data(); - public: - - // optional bytes encryption_my_ephemeral_public_key = 16; - bool has_encryption_my_ephemeral_public_key() const; - private: - bool _internal_has_encryption_my_ephemeral_public_key() const; - public: - void clear_encryption_my_ephemeral_public_key(); - const std::string& encryption_my_ephemeral_public_key() const; - template - void set_encryption_my_ephemeral_public_key(ArgT0&& arg0, ArgT... args); - std::string* mutable_encryption_my_ephemeral_public_key(); - PROTOBUF_NODISCARD std::string* release_encryption_my_ephemeral_public_key(); - void set_allocated_encryption_my_ephemeral_public_key(std::string* encryption_my_ephemeral_public_key); - private: - const std::string& _internal_encryption_my_ephemeral_public_key() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_encryption_my_ephemeral_public_key(const std::string& value); - std::string* _internal_mutable_encryption_my_ephemeral_public_key(); - public: - - // optional fixed64 challenge = 2; - bool has_challenge() const; - private: - bool _internal_has_challenge() const; - public: - void clear_challenge(); - uint64_t challenge() const; - void set_challenge(uint64_t value); - private: - uint64_t _internal_challenge() const; - void _internal_set_challenge(uint64_t value); - public: - - // optional fixed32 challenge_time = 1; - bool has_challenge_time() const; - private: - bool _internal_has_challenge_time() const; - public: - void clear_challenge_time(); - uint32_t challenge_time() const; - void set_challenge_time(uint32_t value); - private: - uint32_t _internal_challenge_time() const; - void _internal_set_challenge_time(uint32_t value); - public: - - // optional fixed32 client_connection_id = 3; - bool has_client_connection_id() const; - private: - bool _internal_has_client_connection_id() const; - public: - void clear_client_connection_id(); - uint32_t client_connection_id() const; - void set_client_connection_id(uint32_t value); - private: - uint32_t _internal_client_connection_id() const; - void _internal_set_client_connection_id(uint32_t value); - public: - - // optional fixed64 legacy_peer_steam_id = 4; - bool has_legacy_peer_steam_id() const; - private: - bool _internal_has_legacy_peer_steam_id() const; - public: - void clear_legacy_peer_steam_id(); - uint64_t legacy_peer_steam_id() const; - void set_legacy_peer_steam_id(uint64_t value); - private: - uint64_t _internal_legacy_peer_steam_id() const; - void _internal_set_legacy_peer_steam_id(uint64_t value); - public: - - // optional fixed32 peer_connection_id = 5; - bool has_peer_connection_id() const; - private: - bool _internal_has_peer_connection_id() const; - public: - void clear_peer_connection_id(); - uint32_t peer_connection_id() const; - void set_peer_connection_id(uint32_t value); - private: - uint32_t _internal_peer_connection_id() const; - void _internal_set_peer_connection_id(uint32_t value); - public: - - // optional uint32 protocol_version = 8; - bool has_protocol_version() const; - private: - bool _internal_has_protocol_version() const; - public: - void clear_protocol_version(); - uint32_t protocol_version() const; - void set_protocol_version(uint32_t value); - private: - uint32_t _internal_protocol_version() const; - void _internal_set_protocol_version(uint32_t value); - public: - - // optional uint64 network_config_version = 9; - bool has_network_config_version() const; - private: - bool _internal_has_network_config_version() const; - public: - void clear_network_config_version(); - uint64_t network_config_version() const; - void set_network_config_version(uint64_t value); - private: - uint64_t _internal_network_config_version() const; - void _internal_set_network_config_version(uint64_t value); - public: - - // optional uint32 encryption_your_public_key_lead_byte = 15; - bool has_encryption_your_public_key_lead_byte() const; - private: - bool _internal_has_encryption_your_public_key_lead_byte() const; - public: - void clear_encryption_your_public_key_lead_byte(); - uint32_t encryption_your_public_key_lead_byte() const; - void set_encryption_your_public_key_lead_byte(uint32_t value); - private: - uint32_t _internal_encryption_your_public_key_lead_byte() const; - void _internal_set_encryption_your_public_key_lead_byte(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramP2PSessionRequestBody) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr peer_identity_string_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr platform_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr build_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encrypted_data_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encryption_my_ephemeral_public_key_; - uint64_t challenge_; - uint32_t challenge_time_; - uint32_t client_connection_id_; - uint64_t legacy_peer_steam_id_; - uint32_t peer_connection_id_; - uint32_t protocol_version_; - uint64_t network_config_version_; - uint32_t encryption_your_public_key_lead_byte_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramP2PSessionRequest : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramP2PSessionRequest) */ { - public: - inline CMsgSteamDatagramP2PSessionRequest() : CMsgSteamDatagramP2PSessionRequest(nullptr) {} - ~CMsgSteamDatagramP2PSessionRequest() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramP2PSessionRequest(const CMsgSteamDatagramP2PSessionRequest& from); - CMsgSteamDatagramP2PSessionRequest(CMsgSteamDatagramP2PSessionRequest&& from) noexcept - : CMsgSteamDatagramP2PSessionRequest() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramP2PSessionRequest& operator=(const CMsgSteamDatagramP2PSessionRequest& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramP2PSessionRequest& operator=(CMsgSteamDatagramP2PSessionRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramP2PSessionRequest& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramP2PSessionRequest* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramP2PSessionRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 32; - - friend void swap(CMsgSteamDatagramP2PSessionRequest& a, CMsgSteamDatagramP2PSessionRequest& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramP2PSessionRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramP2PSessionRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramP2PSessionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramP2PSessionRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramP2PSessionRequest& from) { - CMsgSteamDatagramP2PSessionRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramP2PSessionRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramP2PSessionRequest"; - } - protected: - explicit CMsgSteamDatagramP2PSessionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBodyFieldNumber = 2, - kSignatureFieldNumber = 3, - kCertFieldNumber = 1, - }; - // optional bytes body = 2; - bool has_body() const; - private: - bool _internal_has_body() const; - public: - void clear_body(); - const std::string& body() const; - template - void set_body(ArgT0&& arg0, ArgT... args); - std::string* mutable_body(); - PROTOBUF_NODISCARD std::string* release_body(); - void set_allocated_body(std::string* body); - private: - const std::string& _internal_body() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_body(const std::string& value); - std::string* _internal_mutable_body(); - public: - - // optional bytes signature = 3; - bool has_signature() const; - private: - bool _internal_has_signature() const; - public: - void clear_signature(); - const std::string& signature() const; - template - void set_signature(ArgT0&& arg0, ArgT... args); - std::string* mutable_signature(); - PROTOBUF_NODISCARD std::string* release_signature(); - void set_allocated_signature(std::string* signature); - private: - const std::string& _internal_signature() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_signature(const std::string& value); - std::string* _internal_mutable_signature(); - public: - - // optional .CMsgSteamDatagramCertificateSigned cert = 1; - bool has_cert() const; - private: - bool _internal_has_cert() const; - public: - void clear_cert(); - const ::CMsgSteamDatagramCertificateSigned& cert() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); - ::CMsgSteamDatagramCertificateSigned* mutable_cert(); - void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); - private: - const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; - ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); - public: - void unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert); - ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramP2PSessionRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr body_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signature_; - ::CMsgSteamDatagramCertificateSigned* cert_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramP2PSessionEstablished : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramP2PSessionEstablished) */ { - public: - inline CMsgSteamDatagramP2PSessionEstablished() : CMsgSteamDatagramP2PSessionEstablished(nullptr) {} - ~CMsgSteamDatagramP2PSessionEstablished() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PSessionEstablished(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramP2PSessionEstablished(const CMsgSteamDatagramP2PSessionEstablished& from); - CMsgSteamDatagramP2PSessionEstablished(CMsgSteamDatagramP2PSessionEstablished&& from) noexcept - : CMsgSteamDatagramP2PSessionEstablished() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramP2PSessionEstablished& operator=(const CMsgSteamDatagramP2PSessionEstablished& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramP2PSessionEstablished& operator=(CMsgSteamDatagramP2PSessionEstablished&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramP2PSessionEstablished& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramP2PSessionEstablished* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramP2PSessionEstablished_default_instance_); - } - static constexpr int kIndexInFileMessages = - 33; - - friend void swap(CMsgSteamDatagramP2PSessionEstablished& a, CMsgSteamDatagramP2PSessionEstablished& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramP2PSessionEstablished* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramP2PSessionEstablished* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramP2PSessionEstablished* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramP2PSessionEstablished& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramP2PSessionEstablished& from) { - CMsgSteamDatagramP2PSessionEstablished::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramP2PSessionEstablished* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramP2PSessionEstablished"; - } - protected: - explicit CMsgSteamDatagramP2PSessionEstablished(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRelayRoutingTokenFieldNumber = 4, - kConnectionIdFieldNumber = 1, - kSecondsUntilShutdownFieldNumber = 3, - kSeqNumR2CFieldNumber = 5, - }; - // optional bytes relay_routing_token = 4; - bool has_relay_routing_token() const; - private: - bool _internal_has_relay_routing_token() const; - public: - void clear_relay_routing_token(); - const std::string& relay_routing_token() const; - template - void set_relay_routing_token(ArgT0&& arg0, ArgT... args); - std::string* mutable_relay_routing_token(); - PROTOBUF_NODISCARD std::string* release_relay_routing_token(); - void set_allocated_relay_routing_token(std::string* relay_routing_token); - private: - const std::string& _internal_relay_routing_token() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_relay_routing_token(const std::string& value); - std::string* _internal_mutable_relay_routing_token(); - public: - - // optional fixed32 connection_id = 1; - bool has_connection_id() const; - private: - bool _internal_has_connection_id() const; - public: - void clear_connection_id(); - uint32_t connection_id() const; - void set_connection_id(uint32_t value); - private: - uint32_t _internal_connection_id() const; - void _internal_set_connection_id(uint32_t value); - public: - - // optional uint32 seconds_until_shutdown = 3; - bool has_seconds_until_shutdown() const; - private: - bool _internal_has_seconds_until_shutdown() const; - public: - void clear_seconds_until_shutdown(); - uint32_t seconds_until_shutdown() const; - void set_seconds_until_shutdown(uint32_t value); - private: - uint32_t _internal_seconds_until_shutdown() const; - void _internal_set_seconds_until_shutdown(uint32_t value); - public: - - // optional uint32 seq_num_r2c = 5; - bool has_seq_num_r2c() const; - private: - bool _internal_has_seq_num_r2c() const; - public: - void clear_seq_num_r2c(); - uint32_t seq_num_r2c() const; - void set_seq_num_r2c(uint32_t value); - private: - uint32_t _internal_seq_num_r2c() const; - void _internal_set_seq_num_r2c(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramP2PSessionEstablished) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr relay_routing_token_; - uint32_t connection_id_; - uint32_t seconds_until_shutdown_; - uint32_t seq_num_r2c_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramConnectionStatsP2PClientToRouter : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectionStatsP2PClientToRouter) */ { - public: - inline CMsgSteamDatagramConnectionStatsP2PClientToRouter() : CMsgSteamDatagramConnectionStatsP2PClientToRouter(nullptr) {} - ~CMsgSteamDatagramConnectionStatsP2PClientToRouter() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsP2PClientToRouter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramConnectionStatsP2PClientToRouter(const CMsgSteamDatagramConnectionStatsP2PClientToRouter& from); - CMsgSteamDatagramConnectionStatsP2PClientToRouter(CMsgSteamDatagramConnectionStatsP2PClientToRouter&& from) noexcept - : CMsgSteamDatagramConnectionStatsP2PClientToRouter() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramConnectionStatsP2PClientToRouter& operator=(const CMsgSteamDatagramConnectionStatsP2PClientToRouter& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramConnectionStatsP2PClientToRouter& operator=(CMsgSteamDatagramConnectionStatsP2PClientToRouter&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramConnectionStatsP2PClientToRouter& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramConnectionStatsP2PClientToRouter* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramConnectionStatsP2PClientToRouter_default_instance_); - } - static constexpr int kIndexInFileMessages = - 34; - - friend void swap(CMsgSteamDatagramConnectionStatsP2PClientToRouter& a, CMsgSteamDatagramConnectionStatsP2PClientToRouter& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramConnectionStatsP2PClientToRouter* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramConnectionStatsP2PClientToRouter* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramConnectionStatsP2PClientToRouter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramConnectionStatsP2PClientToRouter& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramConnectionStatsP2PClientToRouter& from) { - CMsgSteamDatagramConnectionStatsP2PClientToRouter::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramConnectionStatsP2PClientToRouter* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramConnectionStatsP2PClientToRouter"; - } - protected: - explicit CMsgSteamDatagramConnectionStatsP2PClientToRouter(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags Flags; - static constexpr Flags ACK_REQUEST_RELAY = - CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_ACK_REQUEST_RELAY; - static constexpr Flags ACK_REQUEST_E2E = - CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_ACK_REQUEST_E2E; - static constexpr Flags ACK_REQUEST_IMMEDIATE = - CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_ACK_REQUEST_IMMEDIATE; - static constexpr Flags NOT_PRIMARY_SESSION = - CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_NOT_PRIMARY_SESSION; - static constexpr Flags NOT_PRIMARY_TRANSPORT_E2E = - CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_NOT_PRIMARY_TRANSPORT_E2E; - static constexpr Flags CLIENT_RELAY_OVERRIDE = - CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_CLIENT_RELAY_OVERRIDE; - static inline bool Flags_IsValid(int value) { - return CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_IsValid(value); - } - static constexpr Flags Flags_MIN = - CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Flags_MIN; - static constexpr Flags Flags_MAX = - CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Flags_MAX; - static constexpr int Flags_ARRAYSIZE = - CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Flags_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Flags_descriptor() { - return CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_descriptor(); - } - template - static inline const std::string& Flags_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Flags_Name."); - return CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Name(enum_t_value); - } - static inline bool Flags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Flags* value) { - return CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kAckRelayFieldNumber = 3, - kLegacyAckE2EFieldNumber = 4, - kForwardTargetRelayRoutingTokenFieldNumber = 6, - kRoutesFieldNumber = 8, - kQualityRelayFieldNumber = 1, - kQualityE2EFieldNumber = 2, - kP2PRoutingSummaryFieldNumber = 14, - kFlagsFieldNumber = 5, - kForwardTargetRevisionFieldNumber = 7, - kAckPeerRoutesRevisionFieldNumber = 9, - kConnectionIdFieldNumber = 10, - kSeqNumC2RFieldNumber = 11, - kSeqNumE2EFieldNumber = 12, - }; - // repeated fixed32 ack_relay = 3; - int ack_relay_size() const; - private: - int _internal_ack_relay_size() const; - public: - void clear_ack_relay(); - private: - uint32_t _internal_ack_relay(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_ack_relay() const; - void _internal_add_ack_relay(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_ack_relay(); - public: - uint32_t ack_relay(int index) const; - void set_ack_relay(int index, uint32_t value); - void add_ack_relay(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - ack_relay() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_ack_relay(); - - // repeated fixed32 legacy_ack_e2e = 4; - int legacy_ack_e2e_size() const; - private: - int _internal_legacy_ack_e2e_size() const; - public: - void clear_legacy_ack_e2e(); - private: - uint32_t _internal_legacy_ack_e2e(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_legacy_ack_e2e() const; - void _internal_add_legacy_ack_e2e(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_legacy_ack_e2e(); - public: - uint32_t legacy_ack_e2e(int index) const; - void set_legacy_ack_e2e(int index, uint32_t value); - void add_legacy_ack_e2e(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - legacy_ack_e2e() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_legacy_ack_e2e(); - - // optional bytes forward_target_relay_routing_token = 6; - bool has_forward_target_relay_routing_token() const; - private: - bool _internal_has_forward_target_relay_routing_token() const; - public: - void clear_forward_target_relay_routing_token(); - const std::string& forward_target_relay_routing_token() const; - template - void set_forward_target_relay_routing_token(ArgT0&& arg0, ArgT... args); - std::string* mutable_forward_target_relay_routing_token(); - PROTOBUF_NODISCARD std::string* release_forward_target_relay_routing_token(); - void set_allocated_forward_target_relay_routing_token(std::string* forward_target_relay_routing_token); - private: - const std::string& _internal_forward_target_relay_routing_token() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_forward_target_relay_routing_token(const std::string& value); - std::string* _internal_mutable_forward_target_relay_routing_token(); - public: - - // optional bytes routes = 8; - bool has_routes() const; - private: - bool _internal_has_routes() const; - public: - void clear_routes(); - const std::string& routes() const; - template - void set_routes(ArgT0&& arg0, ArgT... args); - std::string* mutable_routes(); - PROTOBUF_NODISCARD std::string* release_routes(); - void set_allocated_routes(std::string* routes); - private: - const std::string& _internal_routes() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_routes(const std::string& value); - std::string* _internal_mutable_routes(); - public: - - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - bool has_quality_relay() const; - private: - bool _internal_has_quality_relay() const; - public: - void clear_quality_relay(); - const ::CMsgSteamDatagramConnectionQuality& quality_relay() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_relay(); - ::CMsgSteamDatagramConnectionQuality* mutable_quality_relay(); - void set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_quality_relay() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_relay(); - public: - void unsafe_arena_set_allocated_quality_relay( - ::CMsgSteamDatagramConnectionQuality* quality_relay); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_relay(); - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - bool has_quality_e2e() const; - private: - bool _internal_has_quality_e2e() const; - public: - void clear_quality_e2e(); - const ::CMsgSteamDatagramConnectionQuality& quality_e2e() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_e2e(); - ::CMsgSteamDatagramConnectionQuality* mutable_quality_e2e(); - void set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_quality_e2e() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_e2e(); - public: - void unsafe_arena_set_allocated_quality_e2e( - ::CMsgSteamDatagramConnectionQuality* quality_e2e); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_e2e(); - - // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 14; - bool has_p2p_routing_summary() const; - private: - bool _internal_has_p2p_routing_summary() const; - public: - void clear_p2p_routing_summary(); - const ::CMsgSteamDatagramP2PRoutingSummary& p2p_routing_summary() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramP2PRoutingSummary* release_p2p_routing_summary(); - ::CMsgSteamDatagramP2PRoutingSummary* mutable_p2p_routing_summary(); - void set_allocated_p2p_routing_summary(::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary); - private: - const ::CMsgSteamDatagramP2PRoutingSummary& _internal_p2p_routing_summary() const; - ::CMsgSteamDatagramP2PRoutingSummary* _internal_mutable_p2p_routing_summary(); - public: - void unsafe_arena_set_allocated_p2p_routing_summary( - ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary); - ::CMsgSteamDatagramP2PRoutingSummary* unsafe_arena_release_p2p_routing_summary(); - - // optional uint32 flags = 5; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional uint32 forward_target_revision = 7; - bool has_forward_target_revision() const; - private: - bool _internal_has_forward_target_revision() const; - public: - void clear_forward_target_revision(); - uint32_t forward_target_revision() const; - void set_forward_target_revision(uint32_t value); - private: - uint32_t _internal_forward_target_revision() const; - void _internal_set_forward_target_revision(uint32_t value); - public: - - // optional uint32 ack_peer_routes_revision = 9; - bool has_ack_peer_routes_revision() const; - private: - bool _internal_has_ack_peer_routes_revision() const; - public: - void clear_ack_peer_routes_revision(); - uint32_t ack_peer_routes_revision() const; - void set_ack_peer_routes_revision(uint32_t value); - private: - uint32_t _internal_ack_peer_routes_revision() const; - void _internal_set_ack_peer_routes_revision(uint32_t value); - public: - - // optional fixed32 connection_id = 10; - bool has_connection_id() const; - private: - bool _internal_has_connection_id() const; - public: - void clear_connection_id(); - uint32_t connection_id() const; - void set_connection_id(uint32_t value); - private: - uint32_t _internal_connection_id() const; - void _internal_set_connection_id(uint32_t value); - public: - - // optional uint32 seq_num_c2r = 11; - bool has_seq_num_c2r() const; - private: - bool _internal_has_seq_num_c2r() const; - public: - void clear_seq_num_c2r(); - uint32_t seq_num_c2r() const; - void set_seq_num_c2r(uint32_t value); - private: - uint32_t _internal_seq_num_c2r() const; - void _internal_set_seq_num_c2r(uint32_t value); - public: - - // optional uint32 seq_num_e2e = 12; - bool has_seq_num_e2e() const; - private: - bool _internal_has_seq_num_e2e() const; - public: - void clear_seq_num_e2e(); - uint32_t seq_num_e2e() const; - void set_seq_num_e2e(uint32_t value); - private: - uint32_t _internal_seq_num_e2e() const; - void _internal_set_seq_num_e2e(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectionStatsP2PClientToRouter) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > ack_relay_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > legacy_ack_e2e_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr forward_target_relay_routing_token_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr routes_; - ::CMsgSteamDatagramConnectionQuality* quality_relay_; - ::CMsgSteamDatagramConnectionQuality* quality_e2e_; - ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary_; - uint32_t flags_; - uint32_t forward_target_revision_; - uint32_t ack_peer_routes_revision_; - uint32_t connection_id_; - uint32_t seq_num_c2r_; - uint32_t seq_num_e2e_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramConnectionStatsP2PRouterToClient : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectionStatsP2PRouterToClient) */ { - public: - inline CMsgSteamDatagramConnectionStatsP2PRouterToClient() : CMsgSteamDatagramConnectionStatsP2PRouterToClient(nullptr) {} - ~CMsgSteamDatagramConnectionStatsP2PRouterToClient() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionStatsP2PRouterToClient(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramConnectionStatsP2PRouterToClient(const CMsgSteamDatagramConnectionStatsP2PRouterToClient& from); - CMsgSteamDatagramConnectionStatsP2PRouterToClient(CMsgSteamDatagramConnectionStatsP2PRouterToClient&& from) noexcept - : CMsgSteamDatagramConnectionStatsP2PRouterToClient() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramConnectionStatsP2PRouterToClient& operator=(const CMsgSteamDatagramConnectionStatsP2PRouterToClient& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramConnectionStatsP2PRouterToClient& operator=(CMsgSteamDatagramConnectionStatsP2PRouterToClient&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramConnectionStatsP2PRouterToClient& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramConnectionStatsP2PRouterToClient* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramConnectionStatsP2PRouterToClient_default_instance_); - } - static constexpr int kIndexInFileMessages = - 35; - - friend void swap(CMsgSteamDatagramConnectionStatsP2PRouterToClient& a, CMsgSteamDatagramConnectionStatsP2PRouterToClient& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramConnectionStatsP2PRouterToClient* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramConnectionStatsP2PRouterToClient* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramConnectionStatsP2PRouterToClient* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramConnectionStatsP2PRouterToClient& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramConnectionStatsP2PRouterToClient& from) { - CMsgSteamDatagramConnectionStatsP2PRouterToClient::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramConnectionStatsP2PRouterToClient* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramConnectionStatsP2PRouterToClient"; - } - protected: - explicit CMsgSteamDatagramConnectionStatsP2PRouterToClient(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags Flags; - static constexpr Flags ACK_REQUEST_RELAY = - CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_ACK_REQUEST_RELAY; - static constexpr Flags ACK_REQUEST_E2E = - CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_ACK_REQUEST_E2E; - static constexpr Flags ACK_REQUEST_IMMEDIATE = - CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_ACK_REQUEST_IMMEDIATE; - static constexpr Flags NOT_PRIMARY_TRANSPORT_E2E = - CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_NOT_PRIMARY_TRANSPORT_E2E; - static inline bool Flags_IsValid(int value) { - return CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_IsValid(value); - } - static constexpr Flags Flags_MIN = - CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Flags_MIN; - static constexpr Flags Flags_MAX = - CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Flags_MAX; - static constexpr int Flags_ARRAYSIZE = - CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Flags_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Flags_descriptor() { - return CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_descriptor(); - } - template - static inline const std::string& Flags_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Flags_Name."); - return CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Name(enum_t_value); - } - static inline bool Flags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Flags* value) { - return CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kAckRelayFieldNumber = 7, - kLegacyAckE2EFieldNumber = 8, - kRoutesFieldNumber = 11, - kQualityRelayFieldNumber = 1, - kQualityE2EFieldNumber = 2, - kSecondsUntilShutdownFieldNumber = 3, - kMigrateRequestIpFieldNumber = 4, - kMigrateRequestPortFieldNumber = 5, - kScoringPenaltyRelayClusterFieldNumber = 6, - kFlagsFieldNumber = 9, - kAckForwardTargetRevisionFieldNumber = 10, - kAckPeerRoutesRevisionFieldNumber = 12, - kConnectionIdFieldNumber = 13, - kSeqNumR2CFieldNumber = 14, - kSeqNumE2EFieldNumber = 15, - }; - // repeated fixed32 ack_relay = 7; - int ack_relay_size() const; - private: - int _internal_ack_relay_size() const; - public: - void clear_ack_relay(); - private: - uint32_t _internal_ack_relay(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_ack_relay() const; - void _internal_add_ack_relay(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_ack_relay(); - public: - uint32_t ack_relay(int index) const; - void set_ack_relay(int index, uint32_t value); - void add_ack_relay(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - ack_relay() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_ack_relay(); - - // repeated fixed32 legacy_ack_e2e = 8; - int legacy_ack_e2e_size() const; - private: - int _internal_legacy_ack_e2e_size() const; - public: - void clear_legacy_ack_e2e(); - private: - uint32_t _internal_legacy_ack_e2e(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_legacy_ack_e2e() const; - void _internal_add_legacy_ack_e2e(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_legacy_ack_e2e(); - public: - uint32_t legacy_ack_e2e(int index) const; - void set_legacy_ack_e2e(int index, uint32_t value); - void add_legacy_ack_e2e(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - legacy_ack_e2e() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_legacy_ack_e2e(); - - // optional bytes routes = 11; - bool has_routes() const; - private: - bool _internal_has_routes() const; - public: - void clear_routes(); - const std::string& routes() const; - template - void set_routes(ArgT0&& arg0, ArgT... args); - std::string* mutable_routes(); - PROTOBUF_NODISCARD std::string* release_routes(); - void set_allocated_routes(std::string* routes); - private: - const std::string& _internal_routes() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_routes(const std::string& value); - std::string* _internal_mutable_routes(); - public: - - // optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - bool has_quality_relay() const; - private: - bool _internal_has_quality_relay() const; - public: - void clear_quality_relay(); - const ::CMsgSteamDatagramConnectionQuality& quality_relay() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_relay(); - ::CMsgSteamDatagramConnectionQuality* mutable_quality_relay(); - void set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_quality_relay() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_relay(); - public: - void unsafe_arena_set_allocated_quality_relay( - ::CMsgSteamDatagramConnectionQuality* quality_relay); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_relay(); - - // optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - bool has_quality_e2e() const; - private: - bool _internal_has_quality_e2e() const; - public: - void clear_quality_e2e(); - const ::CMsgSteamDatagramConnectionQuality& quality_e2e() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_quality_e2e(); - ::CMsgSteamDatagramConnectionQuality* mutable_quality_e2e(); - void set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_quality_e2e() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_quality_e2e(); - public: - void unsafe_arena_set_allocated_quality_e2e( - ::CMsgSteamDatagramConnectionQuality* quality_e2e); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_quality_e2e(); - - // optional uint32 seconds_until_shutdown = 3; - bool has_seconds_until_shutdown() const; - private: - bool _internal_has_seconds_until_shutdown() const; - public: - void clear_seconds_until_shutdown(); - uint32_t seconds_until_shutdown() const; - void set_seconds_until_shutdown(uint32_t value); - private: - uint32_t _internal_seconds_until_shutdown() const; - void _internal_set_seconds_until_shutdown(uint32_t value); - public: - - // optional fixed32 migrate_request_ip = 4; - bool has_migrate_request_ip() const; - private: - bool _internal_has_migrate_request_ip() const; - public: - void clear_migrate_request_ip(); - uint32_t migrate_request_ip() const; - void set_migrate_request_ip(uint32_t value); - private: - uint32_t _internal_migrate_request_ip() const; - void _internal_set_migrate_request_ip(uint32_t value); - public: - - // optional uint32 migrate_request_port = 5; - bool has_migrate_request_port() const; - private: - bool _internal_has_migrate_request_port() const; - public: - void clear_migrate_request_port(); - uint32_t migrate_request_port() const; - void set_migrate_request_port(uint32_t value); - private: - uint32_t _internal_migrate_request_port() const; - void _internal_set_migrate_request_port(uint32_t value); - public: - - // optional uint32 scoring_penalty_relay_cluster = 6; - bool has_scoring_penalty_relay_cluster() const; - private: - bool _internal_has_scoring_penalty_relay_cluster() const; - public: - void clear_scoring_penalty_relay_cluster(); - uint32_t scoring_penalty_relay_cluster() const; - void set_scoring_penalty_relay_cluster(uint32_t value); - private: - uint32_t _internal_scoring_penalty_relay_cluster() const; - void _internal_set_scoring_penalty_relay_cluster(uint32_t value); - public: - - // optional uint32 flags = 9; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional uint32 ack_forward_target_revision = 10; - bool has_ack_forward_target_revision() const; - private: - bool _internal_has_ack_forward_target_revision() const; - public: - void clear_ack_forward_target_revision(); - uint32_t ack_forward_target_revision() const; - void set_ack_forward_target_revision(uint32_t value); - private: - uint32_t _internal_ack_forward_target_revision() const; - void _internal_set_ack_forward_target_revision(uint32_t value); - public: - - // optional uint32 ack_peer_routes_revision = 12; - bool has_ack_peer_routes_revision() const; - private: - bool _internal_has_ack_peer_routes_revision() const; - public: - void clear_ack_peer_routes_revision(); - uint32_t ack_peer_routes_revision() const; - void set_ack_peer_routes_revision(uint32_t value); - private: - uint32_t _internal_ack_peer_routes_revision() const; - void _internal_set_ack_peer_routes_revision(uint32_t value); - public: - - // optional fixed32 connection_id = 13; - bool has_connection_id() const; - private: - bool _internal_has_connection_id() const; - public: - void clear_connection_id(); - uint32_t connection_id() const; - void set_connection_id(uint32_t value); - private: - uint32_t _internal_connection_id() const; - void _internal_set_connection_id(uint32_t value); - public: - - // optional uint32 seq_num_r2c = 14; - bool has_seq_num_r2c() const; - private: - bool _internal_has_seq_num_r2c() const; - public: - void clear_seq_num_r2c(); - uint32_t seq_num_r2c() const; - void set_seq_num_r2c(uint32_t value); - private: - uint32_t _internal_seq_num_r2c() const; - void _internal_set_seq_num_r2c(uint32_t value); - public: - - // optional uint32 seq_num_e2e = 15; - bool has_seq_num_e2e() const; - private: - bool _internal_has_seq_num_e2e() const; - public: - void clear_seq_num_e2e(); - uint32_t seq_num_e2e() const; - void set_seq_num_e2e(uint32_t value); - private: - uint32_t _internal_seq_num_e2e() const; - void _internal_set_seq_num_e2e(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectionStatsP2PRouterToClient) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > ack_relay_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > legacy_ack_e2e_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr routes_; - ::CMsgSteamDatagramConnectionQuality* quality_relay_; - ::CMsgSteamDatagramConnectionQuality* quality_e2e_; - uint32_t seconds_until_shutdown_; - uint32_t migrate_request_ip_; - uint32_t migrate_request_port_; - uint32_t scoring_penalty_relay_cluster_; - uint32_t flags_; - uint32_t ack_forward_target_revision_; - uint32_t ack_peer_routes_revision_; - uint32_t connection_id_; - uint32_t seq_num_r2c_; - uint32_t seq_num_e2e_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramP2PBadRouteRouterToClient : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramP2PBadRouteRouterToClient) */ { - public: - inline CMsgSteamDatagramP2PBadRouteRouterToClient() : CMsgSteamDatagramP2PBadRouteRouterToClient(nullptr) {} - ~CMsgSteamDatagramP2PBadRouteRouterToClient() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PBadRouteRouterToClient(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramP2PBadRouteRouterToClient(const CMsgSteamDatagramP2PBadRouteRouterToClient& from); - CMsgSteamDatagramP2PBadRouteRouterToClient(CMsgSteamDatagramP2PBadRouteRouterToClient&& from) noexcept - : CMsgSteamDatagramP2PBadRouteRouterToClient() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramP2PBadRouteRouterToClient& operator=(const CMsgSteamDatagramP2PBadRouteRouterToClient& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramP2PBadRouteRouterToClient& operator=(CMsgSteamDatagramP2PBadRouteRouterToClient&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramP2PBadRouteRouterToClient& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramP2PBadRouteRouterToClient* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramP2PBadRouteRouterToClient_default_instance_); - } - static constexpr int kIndexInFileMessages = - 36; - - friend void swap(CMsgSteamDatagramP2PBadRouteRouterToClient& a, CMsgSteamDatagramP2PBadRouteRouterToClient& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramP2PBadRouteRouterToClient* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramP2PBadRouteRouterToClient* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramP2PBadRouteRouterToClient* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramP2PBadRouteRouterToClient& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramP2PBadRouteRouterToClient& from) { - CMsgSteamDatagramP2PBadRouteRouterToClient::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramP2PBadRouteRouterToClient* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramP2PBadRouteRouterToClient"; - } - protected: - explicit CMsgSteamDatagramP2PBadRouteRouterToClient(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFailedRelayRoutingTokenFieldNumber = 2, - kConnectionIdFieldNumber = 1, - kAckForwardTargetRevisionFieldNumber = 3, - kKludgePadFieldNumber = 99, - }; - // optional bytes failed_relay_routing_token = 2; - bool has_failed_relay_routing_token() const; - private: - bool _internal_has_failed_relay_routing_token() const; - public: - void clear_failed_relay_routing_token(); - const std::string& failed_relay_routing_token() const; - template - void set_failed_relay_routing_token(ArgT0&& arg0, ArgT... args); - std::string* mutable_failed_relay_routing_token(); - PROTOBUF_NODISCARD std::string* release_failed_relay_routing_token(); - void set_allocated_failed_relay_routing_token(std::string* failed_relay_routing_token); - private: - const std::string& _internal_failed_relay_routing_token() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_failed_relay_routing_token(const std::string& value); - std::string* _internal_mutable_failed_relay_routing_token(); - public: - - // optional fixed32 connection_id = 1; - bool has_connection_id() const; - private: - bool _internal_has_connection_id() const; - public: - void clear_connection_id(); - uint32_t connection_id() const; - void set_connection_id(uint32_t value); - private: - uint32_t _internal_connection_id() const; - void _internal_set_connection_id(uint32_t value); - public: - - // optional uint32 ack_forward_target_revision = 3; - bool has_ack_forward_target_revision() const; - private: - bool _internal_has_ack_forward_target_revision() const; - public: - void clear_ack_forward_target_revision(); - uint32_t ack_forward_target_revision() const; - void set_ack_forward_target_revision(uint32_t value); - private: - uint32_t _internal_ack_forward_target_revision() const; - void _internal_set_ack_forward_target_revision(uint32_t value); - public: - - // optional fixed64 kludge_pad = 99; - bool has_kludge_pad() const; - private: - bool _internal_has_kludge_pad() const; - public: - void clear_kludge_pad(); - uint64_t kludge_pad() const; - void set_kludge_pad(uint64_t value); - private: - uint64_t _internal_kludge_pad() const; - void _internal_set_kludge_pad(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramP2PBadRouteRouterToClient) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr failed_relay_routing_token_; - uint32_t connection_id_; - uint32_t ack_forward_target_revision_; - uint64_t kludge_pad_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramP2PRoutes_RelayCluster : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramP2PRoutes.RelayCluster) */ { - public: - inline CMsgSteamDatagramP2PRoutes_RelayCluster() : CMsgSteamDatagramP2PRoutes_RelayCluster(nullptr) {} - ~CMsgSteamDatagramP2PRoutes_RelayCluster() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutes_RelayCluster(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramP2PRoutes_RelayCluster(const CMsgSteamDatagramP2PRoutes_RelayCluster& from); - CMsgSteamDatagramP2PRoutes_RelayCluster(CMsgSteamDatagramP2PRoutes_RelayCluster&& from) noexcept - : CMsgSteamDatagramP2PRoutes_RelayCluster() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramP2PRoutes_RelayCluster& operator=(const CMsgSteamDatagramP2PRoutes_RelayCluster& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramP2PRoutes_RelayCluster& operator=(CMsgSteamDatagramP2PRoutes_RelayCluster&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramP2PRoutes_RelayCluster& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramP2PRoutes_RelayCluster* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramP2PRoutes_RelayCluster_default_instance_); - } - static constexpr int kIndexInFileMessages = - 37; - - friend void swap(CMsgSteamDatagramP2PRoutes_RelayCluster& a, CMsgSteamDatagramP2PRoutes_RelayCluster& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramP2PRoutes_RelayCluster* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramP2PRoutes_RelayCluster* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramP2PRoutes_RelayCluster* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramP2PRoutes_RelayCluster& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramP2PRoutes_RelayCluster& from) { - CMsgSteamDatagramP2PRoutes_RelayCluster::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramP2PRoutes_RelayCluster* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramP2PRoutes.RelayCluster"; - } - protected: - explicit CMsgSteamDatagramP2PRoutes_RelayCluster(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSessionRelayRoutingTokenFieldNumber = 4, - kPopIdFieldNumber = 1, - kPingMsFieldNumber = 2, - kScorePenaltyFieldNumber = 3, - }; - // optional bytes session_relay_routing_token = 4; - bool has_session_relay_routing_token() const; - private: - bool _internal_has_session_relay_routing_token() const; - public: - void clear_session_relay_routing_token(); - const std::string& session_relay_routing_token() const; - template - void set_session_relay_routing_token(ArgT0&& arg0, ArgT... args); - std::string* mutable_session_relay_routing_token(); - PROTOBUF_NODISCARD std::string* release_session_relay_routing_token(); - void set_allocated_session_relay_routing_token(std::string* session_relay_routing_token); - private: - const std::string& _internal_session_relay_routing_token() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_session_relay_routing_token(const std::string& value); - std::string* _internal_mutable_session_relay_routing_token(); - public: - - // optional fixed32 pop_id = 1; - bool has_pop_id() const; - private: - bool _internal_has_pop_id() const; - public: - void clear_pop_id(); - uint32_t pop_id() const; - void set_pop_id(uint32_t value); - private: - uint32_t _internal_pop_id() const; - void _internal_set_pop_id(uint32_t value); - public: - - // optional uint32 ping_ms = 2; - bool has_ping_ms() const; - private: - bool _internal_has_ping_ms() const; - public: - void clear_ping_ms(); - uint32_t ping_ms() const; - void set_ping_ms(uint32_t value); - private: - uint32_t _internal_ping_ms() const; - void _internal_set_ping_ms(uint32_t value); - public: - - // optional uint32 score_penalty = 3; - bool has_score_penalty() const; - private: - bool _internal_has_score_penalty() const; - public: - void clear_score_penalty(); - uint32_t score_penalty() const; - void set_score_penalty(uint32_t value); - private: - uint32_t _internal_score_penalty() const; - void _internal_set_score_penalty(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramP2PRoutes.RelayCluster) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_relay_routing_token_; - uint32_t pop_id_; - uint32_t ping_ms_; - uint32_t score_penalty_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramP2PRoutes_Route : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramP2PRoutes.Route) */ { - public: - inline CMsgSteamDatagramP2PRoutes_Route() : CMsgSteamDatagramP2PRoutes_Route(nullptr) {} - ~CMsgSteamDatagramP2PRoutes_Route() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutes_Route(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramP2PRoutes_Route(const CMsgSteamDatagramP2PRoutes_Route& from); - CMsgSteamDatagramP2PRoutes_Route(CMsgSteamDatagramP2PRoutes_Route&& from) noexcept - : CMsgSteamDatagramP2PRoutes_Route() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramP2PRoutes_Route& operator=(const CMsgSteamDatagramP2PRoutes_Route& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramP2PRoutes_Route& operator=(CMsgSteamDatagramP2PRoutes_Route&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramP2PRoutes_Route& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramP2PRoutes_Route* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramP2PRoutes_Route_default_instance_); - } - static constexpr int kIndexInFileMessages = - 38; - - friend void swap(CMsgSteamDatagramP2PRoutes_Route& a, CMsgSteamDatagramP2PRoutes_Route& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramP2PRoutes_Route* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramP2PRoutes_Route* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramP2PRoutes_Route* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramP2PRoutes_Route& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramP2PRoutes_Route& from) { - CMsgSteamDatagramP2PRoutes_Route::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramP2PRoutes_Route* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramP2PRoutes.Route"; - } - protected: - explicit CMsgSteamDatagramP2PRoutes_Route(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMyPopIdFieldNumber = 1, - kYourPopIdFieldNumber = 2, - kLegacyScoreFieldNumber = 3, - kInteriorScoreFieldNumber = 4, - }; - // optional fixed32 my_pop_id = 1; - bool has_my_pop_id() const; - private: - bool _internal_has_my_pop_id() const; - public: - void clear_my_pop_id(); - uint32_t my_pop_id() const; - void set_my_pop_id(uint32_t value); - private: - uint32_t _internal_my_pop_id() const; - void _internal_set_my_pop_id(uint32_t value); - public: - - // optional fixed32 your_pop_id = 2; - bool has_your_pop_id() const; - private: - bool _internal_has_your_pop_id() const; - public: - void clear_your_pop_id(); - uint32_t your_pop_id() const; - void set_your_pop_id(uint32_t value); - private: - uint32_t _internal_your_pop_id() const; - void _internal_set_your_pop_id(uint32_t value); - public: - - // optional uint32 legacy_score = 3; - bool has_legacy_score() const; - private: - bool _internal_has_legacy_score() const; - public: - void clear_legacy_score(); - uint32_t legacy_score() const; - void set_legacy_score(uint32_t value); - private: - uint32_t _internal_legacy_score() const; - void _internal_set_legacy_score(uint32_t value); - public: - - // optional uint32 interior_score = 4; - bool has_interior_score() const; - private: - bool _internal_has_interior_score() const; - public: - void clear_interior_score(); - uint32_t interior_score() const; - void set_interior_score(uint32_t value); - private: - uint32_t _internal_interior_score() const; - void _internal_set_interior_score(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramP2PRoutes.Route) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t my_pop_id_; - uint32_t your_pop_id_; - uint32_t legacy_score_; - uint32_t interior_score_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramP2PRoutes : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramP2PRoutes) */ { - public: - inline CMsgSteamDatagramP2PRoutes() : CMsgSteamDatagramP2PRoutes(nullptr) {} - ~CMsgSteamDatagramP2PRoutes() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramP2PRoutes(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramP2PRoutes(const CMsgSteamDatagramP2PRoutes& from); - CMsgSteamDatagramP2PRoutes(CMsgSteamDatagramP2PRoutes&& from) noexcept - : CMsgSteamDatagramP2PRoutes() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramP2PRoutes& operator=(const CMsgSteamDatagramP2PRoutes& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramP2PRoutes& operator=(CMsgSteamDatagramP2PRoutes&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramP2PRoutes& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramP2PRoutes* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramP2PRoutes_default_instance_); - } - static constexpr int kIndexInFileMessages = - 39; - - friend void swap(CMsgSteamDatagramP2PRoutes& a, CMsgSteamDatagramP2PRoutes& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramP2PRoutes* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramP2PRoutes* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramP2PRoutes* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramP2PRoutes& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramP2PRoutes& from) { - CMsgSteamDatagramP2PRoutes::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramP2PRoutes* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramP2PRoutes"; - } - protected: - explicit CMsgSteamDatagramP2PRoutes(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamDatagramP2PRoutes_RelayCluster RelayCluster; - typedef CMsgSteamDatagramP2PRoutes_Route Route; - - // accessors ------------------------------------------------------- - - enum : int { - kRelayClustersFieldNumber = 1, - kRoutesFieldNumber = 2, - kRevisionFieldNumber = 3, - }; - // repeated .CMsgSteamDatagramP2PRoutes.RelayCluster relay_clusters = 1; - int relay_clusters_size() const; - private: - int _internal_relay_clusters_size() const; - public: - void clear_relay_clusters(); - ::CMsgSteamDatagramP2PRoutes_RelayCluster* mutable_relay_clusters(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_RelayCluster >* - mutable_relay_clusters(); - private: - const ::CMsgSteamDatagramP2PRoutes_RelayCluster& _internal_relay_clusters(int index) const; - ::CMsgSteamDatagramP2PRoutes_RelayCluster* _internal_add_relay_clusters(); - public: - const ::CMsgSteamDatagramP2PRoutes_RelayCluster& relay_clusters(int index) const; - ::CMsgSteamDatagramP2PRoutes_RelayCluster* add_relay_clusters(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_RelayCluster >& - relay_clusters() const; - - // repeated .CMsgSteamDatagramP2PRoutes.Route routes = 2; - int routes_size() const; - private: - int _internal_routes_size() const; - public: - void clear_routes(); - ::CMsgSteamDatagramP2PRoutes_Route* mutable_routes(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_Route >* - mutable_routes(); - private: - const ::CMsgSteamDatagramP2PRoutes_Route& _internal_routes(int index) const; - ::CMsgSteamDatagramP2PRoutes_Route* _internal_add_routes(); - public: - const ::CMsgSteamDatagramP2PRoutes_Route& routes(int index) const; - ::CMsgSteamDatagramP2PRoutes_Route* add_routes(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_Route >& - routes() const; - - // optional uint32 revision = 3; - bool has_revision() const; - private: - bool _internal_has_revision() const; - public: - void clear_revision(); - uint32_t revision() const; - void set_revision(uint32_t value); - private: - uint32_t _internal_revision() const; - void _internal_set_revision(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramP2PRoutes) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_RelayCluster > relay_clusters_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_Route > routes_; - uint32_t revision_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramSetSecondaryAddressRequest : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramSetSecondaryAddressRequest) */ { - public: - inline CMsgSteamDatagramSetSecondaryAddressRequest() : CMsgSteamDatagramSetSecondaryAddressRequest(nullptr) {} - ~CMsgSteamDatagramSetSecondaryAddressRequest() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramSetSecondaryAddressRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramSetSecondaryAddressRequest(const CMsgSteamDatagramSetSecondaryAddressRequest& from); - CMsgSteamDatagramSetSecondaryAddressRequest(CMsgSteamDatagramSetSecondaryAddressRequest&& from) noexcept - : CMsgSteamDatagramSetSecondaryAddressRequest() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramSetSecondaryAddressRequest& operator=(const CMsgSteamDatagramSetSecondaryAddressRequest& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramSetSecondaryAddressRequest& operator=(CMsgSteamDatagramSetSecondaryAddressRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramSetSecondaryAddressRequest& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramSetSecondaryAddressRequest* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramSetSecondaryAddressRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 40; - - friend void swap(CMsgSteamDatagramSetSecondaryAddressRequest& a, CMsgSteamDatagramSetSecondaryAddressRequest& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramSetSecondaryAddressRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramSetSecondaryAddressRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramSetSecondaryAddressRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramSetSecondaryAddressRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramSetSecondaryAddressRequest& from) { - CMsgSteamDatagramSetSecondaryAddressRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramSetSecondaryAddressRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramSetSecondaryAddressRequest"; - } - protected: - explicit CMsgSteamDatagramSetSecondaryAddressRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kClientIdentityFieldNumber = 4, - kKludgePadFieldNumber = 99, - kClientMainIpFieldNumber = 1, - kClientMainPortFieldNumber = 2, - kClientConnectionIdFieldNumber = 3, - kRequestSendDuplicationFieldNumber = 5, - }; - // optional string client_identity = 4; - bool has_client_identity() const; - private: - bool _internal_has_client_identity() const; - public: - void clear_client_identity(); - const std::string& client_identity() const; - template - void set_client_identity(ArgT0&& arg0, ArgT... args); - std::string* mutable_client_identity(); - PROTOBUF_NODISCARD std::string* release_client_identity(); - void set_allocated_client_identity(std::string* client_identity); - private: - const std::string& _internal_client_identity() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_identity(const std::string& value); - std::string* _internal_mutable_client_identity(); - public: - - // optional bytes kludge_pad = 99; - bool has_kludge_pad() const; - private: - bool _internal_has_kludge_pad() const; - public: - void clear_kludge_pad(); - const std::string& kludge_pad() const; - template - void set_kludge_pad(ArgT0&& arg0, ArgT... args); - std::string* mutable_kludge_pad(); - PROTOBUF_NODISCARD std::string* release_kludge_pad(); - void set_allocated_kludge_pad(std::string* kludge_pad); - private: - const std::string& _internal_kludge_pad() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_kludge_pad(const std::string& value); - std::string* _internal_mutable_kludge_pad(); - public: - - // optional fixed32 client_main_ip = 1; - bool has_client_main_ip() const; - private: - bool _internal_has_client_main_ip() const; - public: - void clear_client_main_ip(); - uint32_t client_main_ip() const; - void set_client_main_ip(uint32_t value); - private: - uint32_t _internal_client_main_ip() const; - void _internal_set_client_main_ip(uint32_t value); - public: - - // optional fixed32 client_main_port = 2; - bool has_client_main_port() const; - private: - bool _internal_has_client_main_port() const; - public: - void clear_client_main_port(); - uint32_t client_main_port() const; - void set_client_main_port(uint32_t value); - private: - uint32_t _internal_client_main_port() const; - void _internal_set_client_main_port(uint32_t value); - public: - - // optional fixed32 client_connection_id = 3; - bool has_client_connection_id() const; - private: - bool _internal_has_client_connection_id() const; - public: - void clear_client_connection_id(); - uint32_t client_connection_id() const; - void set_client_connection_id(uint32_t value); - private: - uint32_t _internal_client_connection_id() const; - void _internal_set_client_connection_id(uint32_t value); - public: - - // optional bool request_send_duplication = 5; - bool has_request_send_duplication() const; - private: - bool _internal_has_request_send_duplication() const; - public: - void clear_request_send_duplication(); - bool request_send_duplication() const; - void set_request_send_duplication(bool value); - private: - bool _internal_request_send_duplication() const; - void _internal_set_request_send_duplication(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramSetSecondaryAddressRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_identity_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr kludge_pad_; - uint32_t client_main_ip_; - uint32_t client_main_port_; - uint32_t client_connection_id_; - bool request_send_duplication_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramSetSecondaryAddressResult : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramSetSecondaryAddressResult) */ { - public: - inline CMsgSteamDatagramSetSecondaryAddressResult() : CMsgSteamDatagramSetSecondaryAddressResult(nullptr) {} - ~CMsgSteamDatagramSetSecondaryAddressResult() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramSetSecondaryAddressResult(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramSetSecondaryAddressResult(const CMsgSteamDatagramSetSecondaryAddressResult& from); - CMsgSteamDatagramSetSecondaryAddressResult(CMsgSteamDatagramSetSecondaryAddressResult&& from) noexcept - : CMsgSteamDatagramSetSecondaryAddressResult() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramSetSecondaryAddressResult& operator=(const CMsgSteamDatagramSetSecondaryAddressResult& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramSetSecondaryAddressResult& operator=(CMsgSteamDatagramSetSecondaryAddressResult&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramSetSecondaryAddressResult& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramSetSecondaryAddressResult* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramSetSecondaryAddressResult_default_instance_); - } - static constexpr int kIndexInFileMessages = - 41; - - friend void swap(CMsgSteamDatagramSetSecondaryAddressResult& a, CMsgSteamDatagramSetSecondaryAddressResult& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramSetSecondaryAddressResult* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramSetSecondaryAddressResult* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramSetSecondaryAddressResult* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramSetSecondaryAddressResult& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramSetSecondaryAddressResult& from) { - CMsgSteamDatagramSetSecondaryAddressResult::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramSetSecondaryAddressResult* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramSetSecondaryAddressResult"; - } - protected: - explicit CMsgSteamDatagramSetSecondaryAddressResult(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMessageFieldNumber = 2, - kSuccessFieldNumber = 1, - }; - // optional string message = 2; - bool has_message() const; - private: - bool _internal_has_message() const; - public: - void clear_message(); - const std::string& message() const; - template - void set_message(ArgT0&& arg0, ArgT... args); - std::string* mutable_message(); - PROTOBUF_NODISCARD std::string* release_message(); - void set_allocated_message(std::string* message); - private: - const std::string& _internal_message() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value); - std::string* _internal_mutable_message(); - public: - - // optional bool success = 1; - bool has_success() const; - private: - bool _internal_has_success() const; - public: - void clear_success(); - bool success() const; - void set_success(bool value); - private: - bool _internal_success() const; - void _internal_set_success(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramSetSecondaryAddressResult) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; - bool success_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamdatagram_5fmessages_5fsdr_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CMsgSteamNetworkingIPAddress - -// optional fixed32 v4 = 1; -inline bool CMsgSteamNetworkingIPAddress::_internal_has_v4() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamNetworkingIPAddress::has_v4() const { - return _internal_has_v4(); -} -inline void CMsgSteamNetworkingIPAddress::clear_v4() { - _impl_.v4_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamNetworkingIPAddress::_internal_v4() const { - return _impl_.v4_; -} -inline uint32_t CMsgSteamNetworkingIPAddress::v4() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingIPAddress.v4) - return _internal_v4(); -} -inline void CMsgSteamNetworkingIPAddress::_internal_set_v4(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.v4_ = value; -} -inline void CMsgSteamNetworkingIPAddress::set_v4(uint32_t value) { - _internal_set_v4(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingIPAddress.v4) -} - -// optional bytes v6 = 2; -inline bool CMsgSteamNetworkingIPAddress::_internal_has_v6() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamNetworkingIPAddress::has_v6() const { - return _internal_has_v6(); -} -inline void CMsgSteamNetworkingIPAddress::clear_v6() { - _impl_.v6_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamNetworkingIPAddress::v6() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingIPAddress.v6) - return _internal_v6(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamNetworkingIPAddress::set_v6(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.v6_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingIPAddress.v6) -} -inline std::string* CMsgSteamNetworkingIPAddress::mutable_v6() { - std::string* _s = _internal_mutable_v6(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingIPAddress.v6) - return _s; -} -inline const std::string& CMsgSteamNetworkingIPAddress::_internal_v6() const { - return _impl_.v6_.Get(); -} -inline void CMsgSteamNetworkingIPAddress::_internal_set_v6(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.v6_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingIPAddress::_internal_mutable_v6() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.v6_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingIPAddress::release_v6() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingIPAddress.v6) - if (!_internal_has_v6()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.v6_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.v6_.IsDefault()) { - _impl_.v6_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamNetworkingIPAddress::set_allocated_v6(std::string* v6) { - if (v6 != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.v6_.SetAllocated(v6, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.v6_.IsDefault()) { - _impl_.v6_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingIPAddress.v6) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramSignedMessageGeneric - -// optional .CMsgSteamDatagramCertificateSigned cert = 1; -inline bool CMsgSteamDatagramSignedMessageGeneric::_internal_has_cert() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramSignedMessageGeneric::has_cert() const { - return _internal_has_cert(); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramSignedMessageGeneric::_internal_cert() const { - const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramCertificateSigned_default_instance_); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramSignedMessageGeneric::cert() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedMessageGeneric.cert) - return _internal_cert(); -} -inline void CMsgSteamDatagramSignedMessageGeneric::unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - _impl_.cert_ = cert; - if (cert) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramSignedMessageGeneric.cert) -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedMessageGeneric::release_cert() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedMessageGeneric::unsafe_arena_release_cert() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramSignedMessageGeneric.cert) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedMessageGeneric::_internal_mutable_cert() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.cert_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); - _impl_.cert_ = p; - } - return _impl_.cert_; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramSignedMessageGeneric::mutable_cert() { - ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedMessageGeneric.cert) - return _msg; -} -inline void CMsgSteamDatagramSignedMessageGeneric::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - if (cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); - if (message_arena != submessage_arena) { - cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cert, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.cert_ = cert; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSignedMessageGeneric.cert) -} - -// optional bytes signed_data = 2; -inline bool CMsgSteamDatagramSignedMessageGeneric::_internal_has_signed_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramSignedMessageGeneric::has_signed_data() const { - return _internal_has_signed_data(); -} -inline void CMsgSteamDatagramSignedMessageGeneric::clear_signed_data() { - _impl_.signed_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramSignedMessageGeneric::signed_data() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedMessageGeneric.signed_data) - return _internal_signed_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramSignedMessageGeneric::set_signed_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.signed_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSignedMessageGeneric.signed_data) -} -inline std::string* CMsgSteamDatagramSignedMessageGeneric::mutable_signed_data() { - std::string* _s = _internal_mutable_signed_data(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedMessageGeneric.signed_data) - return _s; -} -inline const std::string& CMsgSteamDatagramSignedMessageGeneric::_internal_signed_data() const { - return _impl_.signed_data_.Get(); -} -inline void CMsgSteamDatagramSignedMessageGeneric::_internal_set_signed_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.signed_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSignedMessageGeneric::_internal_mutable_signed_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.signed_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSignedMessageGeneric::release_signed_data() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramSignedMessageGeneric.signed_data) - if (!_internal_has_signed_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.signed_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.signed_data_.IsDefault()) { - _impl_.signed_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramSignedMessageGeneric::set_allocated_signed_data(std::string* signed_data) { - if (signed_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.signed_data_.SetAllocated(signed_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.signed_data_.IsDefault()) { - _impl_.signed_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSignedMessageGeneric.signed_data) -} - -// optional bytes signature = 3; -inline bool CMsgSteamDatagramSignedMessageGeneric::_internal_has_signature() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramSignedMessageGeneric::has_signature() const { - return _internal_has_signature(); -} -inline void CMsgSteamDatagramSignedMessageGeneric::clear_signature() { - _impl_.signature_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramSignedMessageGeneric::signature() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedMessageGeneric.signature) - return _internal_signature(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramSignedMessageGeneric::set_signature(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.signature_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSignedMessageGeneric.signature) -} -inline std::string* CMsgSteamDatagramSignedMessageGeneric::mutable_signature() { - std::string* _s = _internal_mutable_signature(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedMessageGeneric.signature) - return _s; -} -inline const std::string& CMsgSteamDatagramSignedMessageGeneric::_internal_signature() const { - return _impl_.signature_.Get(); -} -inline void CMsgSteamDatagramSignedMessageGeneric::_internal_set_signature(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.signature_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSignedMessageGeneric::_internal_mutable_signature() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.signature_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSignedMessageGeneric::release_signature() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramSignedMessageGeneric.signature) - if (!_internal_has_signature()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.signature_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.signature_.IsDefault()) { - _impl_.signature_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramSignedMessageGeneric::set_allocated_signature(std::string* signature) { - if (signature != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.signature_.SetAllocated(signature, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.signature_.IsDefault()) { - _impl_.signature_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSignedMessageGeneric.signature) -} - -// optional bytes dummy_pad = 1023; -inline bool CMsgSteamDatagramSignedMessageGeneric::_internal_has_dummy_pad() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramSignedMessageGeneric::has_dummy_pad() const { - return _internal_has_dummy_pad(); -} -inline void CMsgSteamDatagramSignedMessageGeneric::clear_dummy_pad() { - _impl_.dummy_pad_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgSteamDatagramSignedMessageGeneric::dummy_pad() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSignedMessageGeneric.dummy_pad) - return _internal_dummy_pad(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramSignedMessageGeneric::set_dummy_pad(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.dummy_pad_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSignedMessageGeneric.dummy_pad) -} -inline std::string* CMsgSteamDatagramSignedMessageGeneric::mutable_dummy_pad() { - std::string* _s = _internal_mutable_dummy_pad(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSignedMessageGeneric.dummy_pad) - return _s; -} -inline const std::string& CMsgSteamDatagramSignedMessageGeneric::_internal_dummy_pad() const { - return _impl_.dummy_pad_.Get(); -} -inline void CMsgSteamDatagramSignedMessageGeneric::_internal_set_dummy_pad(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.dummy_pad_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSignedMessageGeneric::_internal_mutable_dummy_pad() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.dummy_pad_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSignedMessageGeneric::release_dummy_pad() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramSignedMessageGeneric.dummy_pad) - if (!_internal_has_dummy_pad()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.dummy_pad_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dummy_pad_.IsDefault()) { - _impl_.dummy_pad_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramSignedMessageGeneric::set_allocated_dummy_pad(std::string* dummy_pad) { - if (dummy_pad != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.dummy_pad_.SetAllocated(dummy_pad, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dummy_pad_.IsDefault()) { - _impl_.dummy_pad_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSignedMessageGeneric.dummy_pad) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramRouterPingReply_RouteException - -// optional fixed32 data_center_id = 1; -inline bool CMsgSteamDatagramRouterPingReply_RouteException::_internal_has_data_center_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply_RouteException::has_data_center_id() const { - return _internal_has_data_center_id(); -} -inline void CMsgSteamDatagramRouterPingReply_RouteException::clear_data_center_id() { - _impl_.data_center_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSteamDatagramRouterPingReply_RouteException::_internal_data_center_id() const { - return _impl_.data_center_id_; -} -inline uint32_t CMsgSteamDatagramRouterPingReply_RouteException::data_center_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.RouteException.data_center_id) - return _internal_data_center_id(); -} -inline void CMsgSteamDatagramRouterPingReply_RouteException::_internal_set_data_center_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_center_id_ = value; -} -inline void CMsgSteamDatagramRouterPingReply_RouteException::set_data_center_id(uint32_t value) { - _internal_set_data_center_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.RouteException.data_center_id) -} - -// optional uint32 flags = 2; -inline bool CMsgSteamDatagramRouterPingReply_RouteException::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply_RouteException::has_flags() const { - return _internal_has_flags(); -} -inline void CMsgSteamDatagramRouterPingReply_RouteException::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamDatagramRouterPingReply_RouteException::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CMsgSteamDatagramRouterPingReply_RouteException::flags() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.RouteException.flags) - return _internal_flags(); -} -inline void CMsgSteamDatagramRouterPingReply_RouteException::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.flags_ = value; -} -inline void CMsgSteamDatagramRouterPingReply_RouteException::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.RouteException.flags) -} - -// optional uint32 penalty = 3; -inline bool CMsgSteamDatagramRouterPingReply_RouteException::_internal_has_penalty() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply_RouteException::has_penalty() const { - return _internal_has_penalty(); -} -inline void CMsgSteamDatagramRouterPingReply_RouteException::clear_penalty() { - _impl_.penalty_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramRouterPingReply_RouteException::_internal_penalty() const { - return _impl_.penalty_; -} -inline uint32_t CMsgSteamDatagramRouterPingReply_RouteException::penalty() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.RouteException.penalty) - return _internal_penalty(); -} -inline void CMsgSteamDatagramRouterPingReply_RouteException::_internal_set_penalty(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.penalty_ = value; -} -inline void CMsgSteamDatagramRouterPingReply_RouteException::set_penalty(uint32_t value) { - _internal_set_penalty(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.RouteException.penalty) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramRouterPingReply_AltAddress - -// optional fixed32 ipv4 = 1; -inline bool CMsgSteamDatagramRouterPingReply_AltAddress::_internal_has_ipv4() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply_AltAddress::has_ipv4() const { - return _internal_has_ipv4(); -} -inline void CMsgSteamDatagramRouterPingReply_AltAddress::clear_ipv4() { - _impl_.ipv4_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamDatagramRouterPingReply_AltAddress::_internal_ipv4() const { - return _impl_.ipv4_; -} -inline uint32_t CMsgSteamDatagramRouterPingReply_AltAddress::ipv4() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.AltAddress.ipv4) - return _internal_ipv4(); -} -inline void CMsgSteamDatagramRouterPingReply_AltAddress::_internal_set_ipv4(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.ipv4_ = value; -} -inline void CMsgSteamDatagramRouterPingReply_AltAddress::set_ipv4(uint32_t value) { - _internal_set_ipv4(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.AltAddress.ipv4) -} - -// optional uint32 port = 2; -inline bool CMsgSteamDatagramRouterPingReply_AltAddress::_internal_has_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply_AltAddress::has_port() const { - return _internal_has_port(); -} -inline void CMsgSteamDatagramRouterPingReply_AltAddress::clear_port() { - _impl_.port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramRouterPingReply_AltAddress::_internal_port() const { - return _impl_.port_; -} -inline uint32_t CMsgSteamDatagramRouterPingReply_AltAddress::port() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.AltAddress.port) - return _internal_port(); -} -inline void CMsgSteamDatagramRouterPingReply_AltAddress::_internal_set_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.port_ = value; -} -inline void CMsgSteamDatagramRouterPingReply_AltAddress::set_port(uint32_t value) { - _internal_set_port(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.AltAddress.port) -} - -// optional uint32 penalty = 3; -inline bool CMsgSteamDatagramRouterPingReply_AltAddress::_internal_has_penalty() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply_AltAddress::has_penalty() const { - return _internal_has_penalty(); -} -inline void CMsgSteamDatagramRouterPingReply_AltAddress::clear_penalty() { - _impl_.penalty_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramRouterPingReply_AltAddress::_internal_penalty() const { - return _impl_.penalty_; -} -inline uint32_t CMsgSteamDatagramRouterPingReply_AltAddress::penalty() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.AltAddress.penalty) - return _internal_penalty(); -} -inline void CMsgSteamDatagramRouterPingReply_AltAddress::_internal_set_penalty(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.penalty_ = value; -} -inline void CMsgSteamDatagramRouterPingReply_AltAddress::set_penalty(uint32_t value) { - _internal_set_penalty(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.AltAddress.penalty) -} - -// optional .CMsgSteamDatagramRouterPingReply.AltAddress.Protocol protocol = 4 [default = DefaultProtocol]; -inline bool CMsgSteamDatagramRouterPingReply_AltAddress::_internal_has_protocol() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply_AltAddress::has_protocol() const { - return _internal_has_protocol(); -} -inline void CMsgSteamDatagramRouterPingReply_AltAddress::clear_protocol() { - _impl_.protocol_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline ::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol CMsgSteamDatagramRouterPingReply_AltAddress::_internal_protocol() const { - return static_cast< ::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol >(_impl_.protocol_); -} -inline ::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol CMsgSteamDatagramRouterPingReply_AltAddress::protocol() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.AltAddress.protocol) - return _internal_protocol(); -} -inline void CMsgSteamDatagramRouterPingReply_AltAddress::_internal_set_protocol(::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol value) { - assert(::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.protocol_ = value; -} -inline void CMsgSteamDatagramRouterPingReply_AltAddress::set_protocol(::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol value) { - _internal_set_protocol(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.AltAddress.protocol) -} - -// optional string id = 5; -inline bool CMsgSteamDatagramRouterPingReply_AltAddress::_internal_has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply_AltAddress::has_id() const { - return _internal_has_id(); -} -inline void CMsgSteamDatagramRouterPingReply_AltAddress::clear_id() { - _impl_.id_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramRouterPingReply_AltAddress::id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.AltAddress.id) - return _internal_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramRouterPingReply_AltAddress::set_id(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.AltAddress.id) -} -inline std::string* CMsgSteamDatagramRouterPingReply_AltAddress::mutable_id() { - std::string* _s = _internal_mutable_id(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRouterPingReply.AltAddress.id) - return _s; -} -inline const std::string& CMsgSteamDatagramRouterPingReply_AltAddress::_internal_id() const { - return _impl_.id_.Get(); -} -inline void CMsgSteamDatagramRouterPingReply_AltAddress::_internal_set_id(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.id_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramRouterPingReply_AltAddress::_internal_mutable_id() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.id_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramRouterPingReply_AltAddress::release_id() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramRouterPingReply.AltAddress.id) - if (!_internal_has_id()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.id_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.id_.IsDefault()) { - _impl_.id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramRouterPingReply_AltAddress::set_allocated_id(std::string* id) { - if (id != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.id_.SetAllocated(id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.id_.IsDefault()) { - _impl_.id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramRouterPingReply.AltAddress.id) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramRouterPingReply - -// optional fixed32 client_timestamp = 1; -inline bool CMsgSteamDatagramRouterPingReply::_internal_has_client_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply::has_client_timestamp() const { - return _internal_has_client_timestamp(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_client_timestamp() { - _impl_.client_timestamp_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_client_timestamp() const { - return _impl_.client_timestamp_; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::client_timestamp() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.client_timestamp) - return _internal_client_timestamp(); -} -inline void CMsgSteamDatagramRouterPingReply::_internal_set_client_timestamp(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.client_timestamp_ = value; -} -inline void CMsgSteamDatagramRouterPingReply::set_client_timestamp(uint32_t value) { - _internal_set_client_timestamp(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.client_timestamp) -} - -// repeated fixed32 latency_datacenter_ids = 2 [packed = true]; -inline int CMsgSteamDatagramRouterPingReply::_internal_latency_datacenter_ids_size() const { - return _impl_.latency_datacenter_ids_.size(); -} -inline int CMsgSteamDatagramRouterPingReply::latency_datacenter_ids_size() const { - return _internal_latency_datacenter_ids_size(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_latency_datacenter_ids() { - _impl_.latency_datacenter_ids_.Clear(); -} -inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_latency_datacenter_ids(int index) const { - return _impl_.latency_datacenter_ids_.Get(index); -} -inline uint32_t CMsgSteamDatagramRouterPingReply::latency_datacenter_ids(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids) - return _internal_latency_datacenter_ids(index); -} -inline void CMsgSteamDatagramRouterPingReply::set_latency_datacenter_ids(int index, uint32_t value) { - _impl_.latency_datacenter_ids_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids) -} -inline void CMsgSteamDatagramRouterPingReply::_internal_add_latency_datacenter_ids(uint32_t value) { - _impl_.latency_datacenter_ids_.Add(value); -} -inline void CMsgSteamDatagramRouterPingReply::add_latency_datacenter_ids(uint32_t value) { - _internal_add_latency_datacenter_ids(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramRouterPingReply::_internal_latency_datacenter_ids() const { - return _impl_.latency_datacenter_ids_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramRouterPingReply::latency_datacenter_ids() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids) - return _internal_latency_datacenter_ids(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramRouterPingReply::_internal_mutable_latency_datacenter_ids() { - return &_impl_.latency_datacenter_ids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramRouterPingReply::mutable_latency_datacenter_ids() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids) - return _internal_mutable_latency_datacenter_ids(); -} - -// repeated uint32 latency_ping_ms = 3 [packed = true]; -inline int CMsgSteamDatagramRouterPingReply::_internal_latency_ping_ms_size() const { - return _impl_.latency_ping_ms_.size(); -} -inline int CMsgSteamDatagramRouterPingReply::latency_ping_ms_size() const { - return _internal_latency_ping_ms_size(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_latency_ping_ms() { - _impl_.latency_ping_ms_.Clear(); -} -inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_latency_ping_ms(int index) const { - return _impl_.latency_ping_ms_.Get(index); -} -inline uint32_t CMsgSteamDatagramRouterPingReply::latency_ping_ms(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.latency_ping_ms) - return _internal_latency_ping_ms(index); -} -inline void CMsgSteamDatagramRouterPingReply::set_latency_ping_ms(int index, uint32_t value) { - _impl_.latency_ping_ms_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.latency_ping_ms) -} -inline void CMsgSteamDatagramRouterPingReply::_internal_add_latency_ping_ms(uint32_t value) { - _impl_.latency_ping_ms_.Add(value); -} -inline void CMsgSteamDatagramRouterPingReply::add_latency_ping_ms(uint32_t value) { - _internal_add_latency_ping_ms(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramRouterPingReply.latency_ping_ms) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramRouterPingReply::_internal_latency_ping_ms() const { - return _impl_.latency_ping_ms_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramRouterPingReply::latency_ping_ms() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramRouterPingReply.latency_ping_ms) - return _internal_latency_ping_ms(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramRouterPingReply::_internal_mutable_latency_ping_ms() { - return &_impl_.latency_ping_ms_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramRouterPingReply::mutable_latency_ping_ms() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramRouterPingReply.latency_ping_ms) - return _internal_mutable_latency_ping_ms(); -} - -// repeated fixed32 latency_datacenter_ids_p2p = 14 [packed = true]; -inline int CMsgSteamDatagramRouterPingReply::_internal_latency_datacenter_ids_p2p_size() const { - return _impl_.latency_datacenter_ids_p2p_.size(); -} -inline int CMsgSteamDatagramRouterPingReply::latency_datacenter_ids_p2p_size() const { - return _internal_latency_datacenter_ids_p2p_size(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_latency_datacenter_ids_p2p() { - _impl_.latency_datacenter_ids_p2p_.Clear(); -} -inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_latency_datacenter_ids_p2p(int index) const { - return _impl_.latency_datacenter_ids_p2p_.Get(index); -} -inline uint32_t CMsgSteamDatagramRouterPingReply::latency_datacenter_ids_p2p(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids_p2p) - return _internal_latency_datacenter_ids_p2p(index); -} -inline void CMsgSteamDatagramRouterPingReply::set_latency_datacenter_ids_p2p(int index, uint32_t value) { - _impl_.latency_datacenter_ids_p2p_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids_p2p) -} -inline void CMsgSteamDatagramRouterPingReply::_internal_add_latency_datacenter_ids_p2p(uint32_t value) { - _impl_.latency_datacenter_ids_p2p_.Add(value); -} -inline void CMsgSteamDatagramRouterPingReply::add_latency_datacenter_ids_p2p(uint32_t value) { - _internal_add_latency_datacenter_ids_p2p(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids_p2p) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramRouterPingReply::_internal_latency_datacenter_ids_p2p() const { - return _impl_.latency_datacenter_ids_p2p_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramRouterPingReply::latency_datacenter_ids_p2p() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids_p2p) - return _internal_latency_datacenter_ids_p2p(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramRouterPingReply::_internal_mutable_latency_datacenter_ids_p2p() { - return &_impl_.latency_datacenter_ids_p2p_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramRouterPingReply::mutable_latency_datacenter_ids_p2p() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramRouterPingReply.latency_datacenter_ids_p2p) - return _internal_mutable_latency_datacenter_ids_p2p(); -} - -// repeated uint32 latency_ping_ms_p2p = 15 [packed = true]; -inline int CMsgSteamDatagramRouterPingReply::_internal_latency_ping_ms_p2p_size() const { - return _impl_.latency_ping_ms_p2p_.size(); -} -inline int CMsgSteamDatagramRouterPingReply::latency_ping_ms_p2p_size() const { - return _internal_latency_ping_ms_p2p_size(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_latency_ping_ms_p2p() { - _impl_.latency_ping_ms_p2p_.Clear(); -} -inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_latency_ping_ms_p2p(int index) const { - return _impl_.latency_ping_ms_p2p_.Get(index); -} -inline uint32_t CMsgSteamDatagramRouterPingReply::latency_ping_ms_p2p(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.latency_ping_ms_p2p) - return _internal_latency_ping_ms_p2p(index); -} -inline void CMsgSteamDatagramRouterPingReply::set_latency_ping_ms_p2p(int index, uint32_t value) { - _impl_.latency_ping_ms_p2p_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.latency_ping_ms_p2p) -} -inline void CMsgSteamDatagramRouterPingReply::_internal_add_latency_ping_ms_p2p(uint32_t value) { - _impl_.latency_ping_ms_p2p_.Add(value); -} -inline void CMsgSteamDatagramRouterPingReply::add_latency_ping_ms_p2p(uint32_t value) { - _internal_add_latency_ping_ms_p2p(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramRouterPingReply.latency_ping_ms_p2p) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramRouterPingReply::_internal_latency_ping_ms_p2p() const { - return _impl_.latency_ping_ms_p2p_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramRouterPingReply::latency_ping_ms_p2p() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramRouterPingReply.latency_ping_ms_p2p) - return _internal_latency_ping_ms_p2p(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramRouterPingReply::_internal_mutable_latency_ping_ms_p2p() { - return &_impl_.latency_ping_ms_p2p_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramRouterPingReply::mutable_latency_ping_ms_p2p() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramRouterPingReply.latency_ping_ms_p2p) - return _internal_mutable_latency_ping_ms_p2p(); -} - -// optional fixed32 your_public_ip = 4; -inline bool CMsgSteamDatagramRouterPingReply::_internal_has_your_public_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply::has_your_public_ip() const { - return _internal_has_your_public_ip(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_your_public_ip() { - _impl_.your_public_ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_your_public_ip() const { - return _impl_.your_public_ip_; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::your_public_ip() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.your_public_ip) - return _internal_your_public_ip(); -} -inline void CMsgSteamDatagramRouterPingReply::_internal_set_your_public_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.your_public_ip_ = value; -} -inline void CMsgSteamDatagramRouterPingReply::set_your_public_ip(uint32_t value) { - _internal_set_your_public_ip(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.your_public_ip) -} - -// optional fixed32 your_public_port = 11; -inline bool CMsgSteamDatagramRouterPingReply::_internal_has_your_public_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply::has_your_public_port() const { - return _internal_has_your_public_port(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_your_public_port() { - _impl_.your_public_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_your_public_port() const { - return _impl_.your_public_port_; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::your_public_port() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.your_public_port) - return _internal_your_public_port(); -} -inline void CMsgSteamDatagramRouterPingReply::_internal_set_your_public_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.your_public_port_ = value; -} -inline void CMsgSteamDatagramRouterPingReply::set_your_public_port(uint32_t value) { - _internal_set_your_public_port(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.your_public_port) -} - -// optional fixed32 server_time = 5; -inline bool CMsgSteamDatagramRouterPingReply::_internal_has_server_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply::has_server_time() const { - return _internal_has_server_time(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_server_time() { - _impl_.server_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_server_time() const { - return _impl_.server_time_; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::server_time() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.server_time) - return _internal_server_time(); -} -inline void CMsgSteamDatagramRouterPingReply::_internal_set_server_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.server_time_ = value; -} -inline void CMsgSteamDatagramRouterPingReply::set_server_time(uint32_t value) { - _internal_set_server_time(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.server_time) -} - -// optional fixed64 challenge = 6; -inline bool CMsgSteamDatagramRouterPingReply::_internal_has_challenge() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply::has_challenge() const { - return _internal_has_challenge(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_challenge() { - _impl_.challenge_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CMsgSteamDatagramRouterPingReply::_internal_challenge() const { - return _impl_.challenge_; -} -inline uint64_t CMsgSteamDatagramRouterPingReply::challenge() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.challenge) - return _internal_challenge(); -} -inline void CMsgSteamDatagramRouterPingReply::_internal_set_challenge(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.challenge_ = value; -} -inline void CMsgSteamDatagramRouterPingReply::set_challenge(uint64_t value) { - _internal_set_challenge(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.challenge) -} - -// optional uint32 seconds_until_shutdown = 7; -inline bool CMsgSteamDatagramRouterPingReply::_internal_has_seconds_until_shutdown() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply::has_seconds_until_shutdown() const { - return _internal_has_seconds_until_shutdown(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_seconds_until_shutdown() { - _impl_.seconds_until_shutdown_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_seconds_until_shutdown() const { - return _impl_.seconds_until_shutdown_; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::seconds_until_shutdown() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.seconds_until_shutdown) - return _internal_seconds_until_shutdown(); -} -inline void CMsgSteamDatagramRouterPingReply::_internal_set_seconds_until_shutdown(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.seconds_until_shutdown_ = value; -} -inline void CMsgSteamDatagramRouterPingReply::set_seconds_until_shutdown(uint32_t value) { - _internal_set_seconds_until_shutdown(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.seconds_until_shutdown) -} - -// optional fixed32 client_cookie = 8; -inline bool CMsgSteamDatagramRouterPingReply::_internal_has_client_cookie() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply::has_client_cookie() const { - return _internal_has_client_cookie(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_client_cookie() { - _impl_.client_cookie_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_client_cookie() const { - return _impl_.client_cookie_; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::client_cookie() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.client_cookie) - return _internal_client_cookie(); -} -inline void CMsgSteamDatagramRouterPingReply::_internal_set_client_cookie(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.client_cookie_ = value; -} -inline void CMsgSteamDatagramRouterPingReply::set_client_cookie(uint32_t value) { - _internal_set_client_cookie(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.client_cookie) -} - -// optional uint32 recv_tos = 16; -inline bool CMsgSteamDatagramRouterPingReply::_internal_has_recv_tos() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply::has_recv_tos() const { - return _internal_has_recv_tos(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_recv_tos() { - _impl_.recv_tos_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_recv_tos() const { - return _impl_.recv_tos_; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::recv_tos() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.recv_tos) - return _internal_recv_tos(); -} -inline void CMsgSteamDatagramRouterPingReply::_internal_set_recv_tos(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.recv_tos_ = value; -} -inline void CMsgSteamDatagramRouterPingReply::set_recv_tos(uint32_t value) { - _internal_set_recv_tos(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.recv_tos) -} - -// optional uint32 echo_sent_tos = 17; -inline bool CMsgSteamDatagramRouterPingReply::_internal_has_echo_sent_tos() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply::has_echo_sent_tos() const { - return _internal_has_echo_sent_tos(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_echo_sent_tos() { - _impl_.echo_sent_tos_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_echo_sent_tos() const { - return _impl_.echo_sent_tos_; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::echo_sent_tos() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.echo_sent_tos) - return _internal_echo_sent_tos(); -} -inline void CMsgSteamDatagramRouterPingReply::_internal_set_echo_sent_tos(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.echo_sent_tos_ = value; -} -inline void CMsgSteamDatagramRouterPingReply::set_echo_sent_tos(uint32_t value) { - _internal_set_echo_sent_tos(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.echo_sent_tos) -} - -// optional uint32 sent_tos = 18; -inline bool CMsgSteamDatagramRouterPingReply::_internal_has_sent_tos() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply::has_sent_tos() const { - return _internal_has_sent_tos(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_sent_tos() { - _impl_.sent_tos_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_sent_tos() const { - return _impl_.sent_tos_; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::sent_tos() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.sent_tos) - return _internal_sent_tos(); -} -inline void CMsgSteamDatagramRouterPingReply::_internal_set_sent_tos(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.sent_tos_ = value; -} -inline void CMsgSteamDatagramRouterPingReply::set_sent_tos(uint32_t value) { - _internal_set_sent_tos(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.sent_tos) -} - -// optional uint32 echo_request_reply_tos = 19; -inline bool CMsgSteamDatagramRouterPingReply::_internal_has_echo_request_reply_tos() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply::has_echo_request_reply_tos() const { - return _internal_has_echo_request_reply_tos(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_echo_request_reply_tos() { - _impl_.echo_request_reply_tos_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_echo_request_reply_tos() const { - return _impl_.echo_request_reply_tos_; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::echo_request_reply_tos() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.echo_request_reply_tos) - return _internal_echo_request_reply_tos(); -} -inline void CMsgSteamDatagramRouterPingReply::_internal_set_echo_request_reply_tos(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.echo_request_reply_tos_ = value; -} -inline void CMsgSteamDatagramRouterPingReply::set_echo_request_reply_tos(uint32_t value) { - _internal_set_echo_request_reply_tos(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.echo_request_reply_tos) -} - -// optional uint32 scoring_penalty_relay_cluster = 9; -inline bool CMsgSteamDatagramRouterPingReply::_internal_has_scoring_penalty_relay_cluster() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply::has_scoring_penalty_relay_cluster() const { - return _internal_has_scoring_penalty_relay_cluster(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_scoring_penalty_relay_cluster() { - _impl_.scoring_penalty_relay_cluster_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_scoring_penalty_relay_cluster() const { - return _impl_.scoring_penalty_relay_cluster_; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::scoring_penalty_relay_cluster() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.scoring_penalty_relay_cluster) - return _internal_scoring_penalty_relay_cluster(); -} -inline void CMsgSteamDatagramRouterPingReply::_internal_set_scoring_penalty_relay_cluster(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.scoring_penalty_relay_cluster_ = value; -} -inline void CMsgSteamDatagramRouterPingReply::set_scoring_penalty_relay_cluster(uint32_t value) { - _internal_set_scoring_penalty_relay_cluster(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.scoring_penalty_relay_cluster) -} - -// optional uint32 flags = 12; -inline bool CMsgSteamDatagramRouterPingReply::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply::has_flags() const { - return _internal_has_flags(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CMsgSteamDatagramRouterPingReply::flags() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.flags) - return _internal_flags(); -} -inline void CMsgSteamDatagramRouterPingReply::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.flags_ = value; -} -inline void CMsgSteamDatagramRouterPingReply::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.flags) -} - -// repeated .CMsgSteamDatagramRouterPingReply.RouteException route_exceptions = 10; -inline int CMsgSteamDatagramRouterPingReply::_internal_route_exceptions_size() const { - return _impl_.route_exceptions_.size(); -} -inline int CMsgSteamDatagramRouterPingReply::route_exceptions_size() const { - return _internal_route_exceptions_size(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_route_exceptions() { - _impl_.route_exceptions_.Clear(); -} -inline ::CMsgSteamDatagramRouterPingReply_RouteException* CMsgSteamDatagramRouterPingReply::mutable_route_exceptions(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRouterPingReply.route_exceptions) - return _impl_.route_exceptions_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_RouteException >* -CMsgSteamDatagramRouterPingReply::mutable_route_exceptions() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramRouterPingReply.route_exceptions) - return &_impl_.route_exceptions_; -} -inline const ::CMsgSteamDatagramRouterPingReply_RouteException& CMsgSteamDatagramRouterPingReply::_internal_route_exceptions(int index) const { - return _impl_.route_exceptions_.Get(index); -} -inline const ::CMsgSteamDatagramRouterPingReply_RouteException& CMsgSteamDatagramRouterPingReply::route_exceptions(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.route_exceptions) - return _internal_route_exceptions(index); -} -inline ::CMsgSteamDatagramRouterPingReply_RouteException* CMsgSteamDatagramRouterPingReply::_internal_add_route_exceptions() { - return _impl_.route_exceptions_.Add(); -} -inline ::CMsgSteamDatagramRouterPingReply_RouteException* CMsgSteamDatagramRouterPingReply::add_route_exceptions() { - ::CMsgSteamDatagramRouterPingReply_RouteException* _add = _internal_add_route_exceptions(); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramRouterPingReply.route_exceptions) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_RouteException >& -CMsgSteamDatagramRouterPingReply::route_exceptions() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramRouterPingReply.route_exceptions) - return _impl_.route_exceptions_; -} - -// repeated .CMsgSteamDatagramRouterPingReply.AltAddress alt_addresses = 13; -inline int CMsgSteamDatagramRouterPingReply::_internal_alt_addresses_size() const { - return _impl_.alt_addresses_.size(); -} -inline int CMsgSteamDatagramRouterPingReply::alt_addresses_size() const { - return _internal_alt_addresses_size(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_alt_addresses() { - _impl_.alt_addresses_.Clear(); -} -inline ::CMsgSteamDatagramRouterPingReply_AltAddress* CMsgSteamDatagramRouterPingReply::mutable_alt_addresses(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRouterPingReply.alt_addresses) - return _impl_.alt_addresses_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_AltAddress >* -CMsgSteamDatagramRouterPingReply::mutable_alt_addresses() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramRouterPingReply.alt_addresses) - return &_impl_.alt_addresses_; -} -inline const ::CMsgSteamDatagramRouterPingReply_AltAddress& CMsgSteamDatagramRouterPingReply::_internal_alt_addresses(int index) const { - return _impl_.alt_addresses_.Get(index); -} -inline const ::CMsgSteamDatagramRouterPingReply_AltAddress& CMsgSteamDatagramRouterPingReply::alt_addresses(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.alt_addresses) - return _internal_alt_addresses(index); -} -inline ::CMsgSteamDatagramRouterPingReply_AltAddress* CMsgSteamDatagramRouterPingReply::_internal_add_alt_addresses() { - return _impl_.alt_addresses_.Add(); -} -inline ::CMsgSteamDatagramRouterPingReply_AltAddress* CMsgSteamDatagramRouterPingReply::add_alt_addresses() { - ::CMsgSteamDatagramRouterPingReply_AltAddress* _add = _internal_add_alt_addresses(); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramRouterPingReply.alt_addresses) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramRouterPingReply_AltAddress >& -CMsgSteamDatagramRouterPingReply::alt_addresses() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramRouterPingReply.alt_addresses) - return _impl_.alt_addresses_; -} - -// optional bytes dummy_pad = 99; -inline bool CMsgSteamDatagramRouterPingReply::_internal_has_dummy_pad() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply::has_dummy_pad() const { - return _internal_has_dummy_pad(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_dummy_pad() { - _impl_.dummy_pad_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramRouterPingReply::dummy_pad() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.dummy_pad) - return _internal_dummy_pad(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramRouterPingReply::set_dummy_pad(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.dummy_pad_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.dummy_pad) -} -inline std::string* CMsgSteamDatagramRouterPingReply::mutable_dummy_pad() { - std::string* _s = _internal_mutable_dummy_pad(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramRouterPingReply.dummy_pad) - return _s; -} -inline const std::string& CMsgSteamDatagramRouterPingReply::_internal_dummy_pad() const { - return _impl_.dummy_pad_.Get(); -} -inline void CMsgSteamDatagramRouterPingReply::_internal_set_dummy_pad(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.dummy_pad_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramRouterPingReply::_internal_mutable_dummy_pad() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.dummy_pad_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramRouterPingReply::release_dummy_pad() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramRouterPingReply.dummy_pad) - if (!_internal_has_dummy_pad()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.dummy_pad_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dummy_pad_.IsDefault()) { - _impl_.dummy_pad_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramRouterPingReply::set_allocated_dummy_pad(std::string* dummy_pad) { - if (dummy_pad != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.dummy_pad_.SetAllocated(dummy_pad, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dummy_pad_.IsDefault()) { - _impl_.dummy_pad_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramRouterPingReply.dummy_pad) -} - -// optional uint64 dummy_varint = 100; -inline bool CMsgSteamDatagramRouterPingReply::_internal_has_dummy_varint() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgSteamDatagramRouterPingReply::has_dummy_varint() const { - return _internal_has_dummy_varint(); -} -inline void CMsgSteamDatagramRouterPingReply::clear_dummy_varint() { - _impl_.dummy_varint_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint64_t CMsgSteamDatagramRouterPingReply::_internal_dummy_varint() const { - return _impl_.dummy_varint_; -} -inline uint64_t CMsgSteamDatagramRouterPingReply::dummy_varint() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramRouterPingReply.dummy_varint) - return _internal_dummy_varint(); -} -inline void CMsgSteamDatagramRouterPingReply::_internal_set_dummy_varint(uint64_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.dummy_varint_ = value; -} -inline void CMsgSteamDatagramRouterPingReply::set_dummy_varint(uint64_t value) { - _internal_set_dummy_varint(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramRouterPingReply.dummy_varint) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramGameserverPingRequestBody - -// optional fixed32 relay_popid = 1; -inline bool CMsgSteamDatagramGameserverPingRequestBody::_internal_has_relay_popid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingRequestBody::has_relay_popid() const { - return _internal_has_relay_popid(); -} -inline void CMsgSteamDatagramGameserverPingRequestBody::clear_relay_popid() { - _impl_.relay_popid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramGameserverPingRequestBody::_internal_relay_popid() const { - return _impl_.relay_popid_; -} -inline uint32_t CMsgSteamDatagramGameserverPingRequestBody::relay_popid() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestBody.relay_popid) - return _internal_relay_popid(); -} -inline void CMsgSteamDatagramGameserverPingRequestBody::_internal_set_relay_popid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.relay_popid_ = value; -} -inline void CMsgSteamDatagramGameserverPingRequestBody::set_relay_popid(uint32_t value) { - _internal_set_relay_popid(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestBody.relay_popid) -} - -// optional .CMsgSteamNetworkingIPAddress your_public_ip = 2; -inline bool CMsgSteamDatagramGameserverPingRequestBody::_internal_has_your_public_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.your_public_ip_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramGameserverPingRequestBody::has_your_public_ip() const { - return _internal_has_your_public_ip(); -} -inline void CMsgSteamDatagramGameserverPingRequestBody::clear_your_public_ip() { - if (_impl_.your_public_ip_ != nullptr) _impl_.your_public_ip_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CMsgSteamNetworkingIPAddress& CMsgSteamDatagramGameserverPingRequestBody::_internal_your_public_ip() const { - const ::CMsgSteamNetworkingIPAddress* p = _impl_.your_public_ip_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamNetworkingIPAddress_default_instance_); -} -inline const ::CMsgSteamNetworkingIPAddress& CMsgSteamDatagramGameserverPingRequestBody::your_public_ip() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestBody.your_public_ip) - return _internal_your_public_ip(); -} -inline void CMsgSteamDatagramGameserverPingRequestBody::unsafe_arena_set_allocated_your_public_ip( - ::CMsgSteamNetworkingIPAddress* your_public_ip) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.your_public_ip_); - } - _impl_.your_public_ip_ = your_public_ip; - if (your_public_ip) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramGameserverPingRequestBody.your_public_ip) -} -inline ::CMsgSteamNetworkingIPAddress* CMsgSteamDatagramGameserverPingRequestBody::release_your_public_ip() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamNetworkingIPAddress* temp = _impl_.your_public_ip_; - _impl_.your_public_ip_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamNetworkingIPAddress* CMsgSteamDatagramGameserverPingRequestBody::unsafe_arena_release_your_public_ip() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverPingRequestBody.your_public_ip) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamNetworkingIPAddress* temp = _impl_.your_public_ip_; - _impl_.your_public_ip_ = nullptr; - return temp; -} -inline ::CMsgSteamNetworkingIPAddress* CMsgSteamDatagramGameserverPingRequestBody::_internal_mutable_your_public_ip() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.your_public_ip_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamNetworkingIPAddress>(GetArenaForAllocation()); - _impl_.your_public_ip_ = p; - } - return _impl_.your_public_ip_; -} -inline ::CMsgSteamNetworkingIPAddress* CMsgSteamDatagramGameserverPingRequestBody::mutable_your_public_ip() { - ::CMsgSteamNetworkingIPAddress* _msg = _internal_mutable_your_public_ip(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingRequestBody.your_public_ip) - return _msg; -} -inline void CMsgSteamDatagramGameserverPingRequestBody::set_allocated_your_public_ip(::CMsgSteamNetworkingIPAddress* your_public_ip) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.your_public_ip_; - } - if (your_public_ip) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(your_public_ip); - if (message_arena != submessage_arena) { - your_public_ip = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, your_public_ip, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.your_public_ip_ = your_public_ip; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverPingRequestBody.your_public_ip) -} - -// optional uint32 your_public_port = 3; -inline bool CMsgSteamDatagramGameserverPingRequestBody::_internal_has_your_public_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingRequestBody::has_your_public_port() const { - return _internal_has_your_public_port(); -} -inline void CMsgSteamDatagramGameserverPingRequestBody::clear_your_public_port() { - _impl_.your_public_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramGameserverPingRequestBody::_internal_your_public_port() const { - return _impl_.your_public_port_; -} -inline uint32_t CMsgSteamDatagramGameserverPingRequestBody::your_public_port() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestBody.your_public_port) - return _internal_your_public_port(); -} -inline void CMsgSteamDatagramGameserverPingRequestBody::_internal_set_your_public_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.your_public_port_ = value; -} -inline void CMsgSteamDatagramGameserverPingRequestBody::set_your_public_port(uint32_t value) { - _internal_set_your_public_port(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestBody.your_public_port) -} - -// optional uint64 relay_unix_time = 4; -inline bool CMsgSteamDatagramGameserverPingRequestBody::_internal_has_relay_unix_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingRequestBody::has_relay_unix_time() const { - return _internal_has_relay_unix_time(); -} -inline void CMsgSteamDatagramGameserverPingRequestBody::clear_relay_unix_time() { - _impl_.relay_unix_time_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CMsgSteamDatagramGameserverPingRequestBody::_internal_relay_unix_time() const { - return _impl_.relay_unix_time_; -} -inline uint64_t CMsgSteamDatagramGameserverPingRequestBody::relay_unix_time() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestBody.relay_unix_time) - return _internal_relay_unix_time(); -} -inline void CMsgSteamDatagramGameserverPingRequestBody::_internal_set_relay_unix_time(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.relay_unix_time_ = value; -} -inline void CMsgSteamDatagramGameserverPingRequestBody::set_relay_unix_time(uint64_t value) { - _internal_set_relay_unix_time(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestBody.relay_unix_time) -} - -// optional fixed64 routing_secret = 5; -inline bool CMsgSteamDatagramGameserverPingRequestBody::_internal_has_routing_secret() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingRequestBody::has_routing_secret() const { - return _internal_has_routing_secret(); -} -inline void CMsgSteamDatagramGameserverPingRequestBody::clear_routing_secret() { - _impl_.routing_secret_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint64_t CMsgSteamDatagramGameserverPingRequestBody::_internal_routing_secret() const { - return _impl_.routing_secret_; -} -inline uint64_t CMsgSteamDatagramGameserverPingRequestBody::routing_secret() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestBody.routing_secret) - return _internal_routing_secret(); -} -inline void CMsgSteamDatagramGameserverPingRequestBody::_internal_set_routing_secret(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.routing_secret_ = value; -} -inline void CMsgSteamDatagramGameserverPingRequestBody::set_routing_secret(uint64_t value) { - _internal_set_routing_secret(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestBody.routing_secret) -} - -// repeated .CMsgSteamNetworkingIPAddress my_ips = 6; -inline int CMsgSteamDatagramGameserverPingRequestBody::_internal_my_ips_size() const { - return _impl_.my_ips_.size(); -} -inline int CMsgSteamDatagramGameserverPingRequestBody::my_ips_size() const { - return _internal_my_ips_size(); -} -inline void CMsgSteamDatagramGameserverPingRequestBody::clear_my_ips() { - _impl_.my_ips_.Clear(); -} -inline ::CMsgSteamNetworkingIPAddress* CMsgSteamDatagramGameserverPingRequestBody::mutable_my_ips(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingRequestBody.my_ips) - return _impl_.my_ips_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingIPAddress >* -CMsgSteamDatagramGameserverPingRequestBody::mutable_my_ips() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramGameserverPingRequestBody.my_ips) - return &_impl_.my_ips_; -} -inline const ::CMsgSteamNetworkingIPAddress& CMsgSteamDatagramGameserverPingRequestBody::_internal_my_ips(int index) const { - return _impl_.my_ips_.Get(index); -} -inline const ::CMsgSteamNetworkingIPAddress& CMsgSteamDatagramGameserverPingRequestBody::my_ips(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestBody.my_ips) - return _internal_my_ips(index); -} -inline ::CMsgSteamNetworkingIPAddress* CMsgSteamDatagramGameserverPingRequestBody::_internal_add_my_ips() { - return _impl_.my_ips_.Add(); -} -inline ::CMsgSteamNetworkingIPAddress* CMsgSteamDatagramGameserverPingRequestBody::add_my_ips() { - ::CMsgSteamNetworkingIPAddress* _add = _internal_add_my_ips(); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramGameserverPingRequestBody.my_ips) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingIPAddress >& -CMsgSteamDatagramGameserverPingRequestBody::my_ips() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramGameserverPingRequestBody.my_ips) - return _impl_.my_ips_; -} - -// optional bytes echo = 8; -inline bool CMsgSteamDatagramGameserverPingRequestBody::_internal_has_echo() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingRequestBody::has_echo() const { - return _internal_has_echo(); -} -inline void CMsgSteamDatagramGameserverPingRequestBody::clear_echo() { - _impl_.echo_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramGameserverPingRequestBody::echo() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestBody.echo) - return _internal_echo(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramGameserverPingRequestBody::set_echo(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.echo_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestBody.echo) -} -inline std::string* CMsgSteamDatagramGameserverPingRequestBody::mutable_echo() { - std::string* _s = _internal_mutable_echo(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingRequestBody.echo) - return _s; -} -inline const std::string& CMsgSteamDatagramGameserverPingRequestBody::_internal_echo() const { - return _impl_.echo_.Get(); -} -inline void CMsgSteamDatagramGameserverPingRequestBody::_internal_set_echo(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.echo_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverPingRequestBody::_internal_mutable_echo() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.echo_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverPingRequestBody::release_echo() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverPingRequestBody.echo) - if (!_internal_has_echo()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.echo_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.echo_.IsDefault()) { - _impl_.echo_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramGameserverPingRequestBody::set_allocated_echo(std::string* echo) { - if (echo != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.echo_.SetAllocated(echo, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.echo_.IsDefault()) { - _impl_.echo_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverPingRequestBody.echo) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramGameserverPingRequestEnvelope - -// optional .CMsgSteamDatagramCertificateSigned cert = 6; -inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_has_cert() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::has_cert() const { - return _internal_has_cert(); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_cert() const { - const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramCertificateSigned_default_instance_); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramGameserverPingRequestEnvelope::cert() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestEnvelope.cert) - return _internal_cert(); -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - _impl_.cert_ = cert; - if (cert) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramGameserverPingRequestEnvelope.cert) -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramGameserverPingRequestEnvelope::release_cert() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramGameserverPingRequestEnvelope::unsafe_arena_release_cert() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverPingRequestEnvelope.cert) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_mutable_cert() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.cert_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); - _impl_.cert_ = p; - } - return _impl_.cert_; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramGameserverPingRequestEnvelope::mutable_cert() { - ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingRequestEnvelope.cert) - return _msg; -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - if (cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); - if (message_arena != submessage_arena) { - cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cert, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.cert_ = cert; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverPingRequestEnvelope.cert) -} - -// optional bytes signed_data = 7; -inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_has_signed_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::has_signed_data() const { - return _internal_has_signed_data(); -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::clear_signed_data() { - _impl_.signed_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramGameserverPingRequestEnvelope::signed_data() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestEnvelope.signed_data) - return _internal_signed_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramGameserverPingRequestEnvelope::set_signed_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.signed_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestEnvelope.signed_data) -} -inline std::string* CMsgSteamDatagramGameserverPingRequestEnvelope::mutable_signed_data() { - std::string* _s = _internal_mutable_signed_data(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingRequestEnvelope.signed_data) - return _s; -} -inline const std::string& CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_signed_data() const { - return _impl_.signed_data_.Get(); -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_set_signed_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.signed_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_mutable_signed_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.signed_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverPingRequestEnvelope::release_signed_data() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverPingRequestEnvelope.signed_data) - if (!_internal_has_signed_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.signed_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.signed_data_.IsDefault()) { - _impl_.signed_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::set_allocated_signed_data(std::string* signed_data) { - if (signed_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.signed_data_.SetAllocated(signed_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.signed_data_.IsDefault()) { - _impl_.signed_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverPingRequestEnvelope.signed_data) -} - -// optional bytes signature = 8; -inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_has_signature() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::has_signature() const { - return _internal_has_signature(); -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::clear_signature() { - _impl_.signature_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramGameserverPingRequestEnvelope::signature() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestEnvelope.signature) - return _internal_signature(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramGameserverPingRequestEnvelope::set_signature(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.signature_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestEnvelope.signature) -} -inline std::string* CMsgSteamDatagramGameserverPingRequestEnvelope::mutable_signature() { - std::string* _s = _internal_mutable_signature(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingRequestEnvelope.signature) - return _s; -} -inline const std::string& CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_signature() const { - return _impl_.signature_.Get(); -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_set_signature(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.signature_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_mutable_signature() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.signature_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverPingRequestEnvelope::release_signature() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverPingRequestEnvelope.signature) - if (!_internal_has_signature()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.signature_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.signature_.IsDefault()) { - _impl_.signature_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::set_allocated_signature(std::string* signature) { - if (signature != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.signature_.SetAllocated(signature, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.signature_.IsDefault()) { - _impl_.signature_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverPingRequestEnvelope.signature) -} - -// optional fixed32 legacy_your_public_ip = 1; -inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_has_legacy_your_public_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::has_legacy_your_public_ip() const { - return _internal_has_legacy_your_public_ip(); -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::clear_legacy_your_public_ip() { - _impl_.legacy_your_public_ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_legacy_your_public_ip() const { - return _impl_.legacy_your_public_ip_; -} -inline uint32_t CMsgSteamDatagramGameserverPingRequestEnvelope::legacy_your_public_ip() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_your_public_ip) - return _internal_legacy_your_public_ip(); -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_set_legacy_your_public_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.legacy_your_public_ip_ = value; -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::set_legacy_your_public_ip(uint32_t value) { - _internal_set_legacy_your_public_ip(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_your_public_ip) -} - -// optional fixed32 legacy_your_public_port = 5; -inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_has_legacy_your_public_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::has_legacy_your_public_port() const { - return _internal_has_legacy_your_public_port(); -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::clear_legacy_your_public_port() { - _impl_.legacy_your_public_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_legacy_your_public_port() const { - return _impl_.legacy_your_public_port_; -} -inline uint32_t CMsgSteamDatagramGameserverPingRequestEnvelope::legacy_your_public_port() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_your_public_port) - return _internal_legacy_your_public_port(); -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_set_legacy_your_public_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.legacy_your_public_port_ = value; -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::set_legacy_your_public_port(uint32_t value) { - _internal_set_legacy_your_public_port(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_your_public_port) -} - -// optional fixed32 legacy_relay_unix_time = 2; -inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_has_legacy_relay_unix_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::has_legacy_relay_unix_time() const { - return _internal_has_legacy_relay_unix_time(); -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::clear_legacy_relay_unix_time() { - _impl_.legacy_relay_unix_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_legacy_relay_unix_time() const { - return _impl_.legacy_relay_unix_time_; -} -inline uint32_t CMsgSteamDatagramGameserverPingRequestEnvelope::legacy_relay_unix_time() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_relay_unix_time) - return _internal_legacy_relay_unix_time(); -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_set_legacy_relay_unix_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.legacy_relay_unix_time_ = value; -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::set_legacy_relay_unix_time(uint32_t value) { - _internal_set_legacy_relay_unix_time(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_relay_unix_time) -} - -// optional fixed64 legacy_challenge = 3; -inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_has_legacy_challenge() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::has_legacy_challenge() const { - return _internal_has_legacy_challenge(); -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::clear_legacy_challenge() { - _impl_.legacy_challenge_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint64_t CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_legacy_challenge() const { - return _impl_.legacy_challenge_; -} -inline uint64_t CMsgSteamDatagramGameserverPingRequestEnvelope::legacy_challenge() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_challenge) - return _internal_legacy_challenge(); -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_set_legacy_challenge(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.legacy_challenge_ = value; -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::set_legacy_challenge(uint64_t value) { - _internal_set_legacy_challenge(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_challenge) -} - -// optional fixed32 legacy_router_timestamp = 4; -inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_has_legacy_router_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::has_legacy_router_timestamp() const { - return _internal_has_legacy_router_timestamp(); -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::clear_legacy_router_timestamp() { - _impl_.legacy_router_timestamp_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_legacy_router_timestamp() const { - return _impl_.legacy_router_timestamp_; -} -inline uint32_t CMsgSteamDatagramGameserverPingRequestEnvelope::legacy_router_timestamp() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_router_timestamp) - return _internal_legacy_router_timestamp(); -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_set_legacy_router_timestamp(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.legacy_router_timestamp_ = value; -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::set_legacy_router_timestamp(uint32_t value) { - _internal_set_legacy_router_timestamp(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestEnvelope.legacy_router_timestamp) -} - -// optional bytes dummy_pad = 1023; -inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_has_dummy_pad() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingRequestEnvelope::has_dummy_pad() const { - return _internal_has_dummy_pad(); -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::clear_dummy_pad() { - _impl_.dummy_pad_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgSteamDatagramGameserverPingRequestEnvelope::dummy_pad() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingRequestEnvelope.dummy_pad) - return _internal_dummy_pad(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramGameserverPingRequestEnvelope::set_dummy_pad(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.dummy_pad_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingRequestEnvelope.dummy_pad) -} -inline std::string* CMsgSteamDatagramGameserverPingRequestEnvelope::mutable_dummy_pad() { - std::string* _s = _internal_mutable_dummy_pad(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingRequestEnvelope.dummy_pad) - return _s; -} -inline const std::string& CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_dummy_pad() const { - return _impl_.dummy_pad_.Get(); -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_set_dummy_pad(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.dummy_pad_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverPingRequestEnvelope::_internal_mutable_dummy_pad() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.dummy_pad_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverPingRequestEnvelope::release_dummy_pad() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverPingRequestEnvelope.dummy_pad) - if (!_internal_has_dummy_pad()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.dummy_pad_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dummy_pad_.IsDefault()) { - _impl_.dummy_pad_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramGameserverPingRequestEnvelope::set_allocated_dummy_pad(std::string* dummy_pad) { - if (dummy_pad != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.dummy_pad_.SetAllocated(dummy_pad, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dummy_pad_.IsDefault()) { - _impl_.dummy_pad_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverPingRequestEnvelope.dummy_pad) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramGameserverPingReplyData - -// optional fixed32 echo_relay_unix_time = 2; -inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_echo_relay_unix_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingReplyData::has_echo_relay_unix_time() const { - return _internal_has_echo_relay_unix_time(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::clear_echo_relay_unix_time() { - _impl_.echo_relay_unix_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSteamDatagramGameserverPingReplyData::_internal_echo_relay_unix_time() const { - return _impl_.echo_relay_unix_time_; -} -inline uint32_t CMsgSteamDatagramGameserverPingReplyData::echo_relay_unix_time() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.echo_relay_unix_time) - return _internal_echo_relay_unix_time(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_echo_relay_unix_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.echo_relay_unix_time_ = value; -} -inline void CMsgSteamDatagramGameserverPingReplyData::set_echo_relay_unix_time(uint32_t value) { - _internal_set_echo_relay_unix_time(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.echo_relay_unix_time) -} - -// optional bytes echo = 8; -inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_echo() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingReplyData::has_echo() const { - return _internal_has_echo(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::clear_echo() { - _impl_.echo_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramGameserverPingReplyData::echo() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.echo) - return _internal_echo(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramGameserverPingReplyData::set_echo(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.echo_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.echo) -} -inline std::string* CMsgSteamDatagramGameserverPingReplyData::mutable_echo() { - std::string* _s = _internal_mutable_echo(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingReplyData.echo) - return _s; -} -inline const std::string& CMsgSteamDatagramGameserverPingReplyData::_internal_echo() const { - return _impl_.echo_.Get(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_echo(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.echo_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverPingReplyData::_internal_mutable_echo() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.echo_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverPingReplyData::release_echo() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverPingReplyData.echo) - if (!_internal_has_echo()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.echo_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.echo_.IsDefault()) { - _impl_.echo_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramGameserverPingReplyData::set_allocated_echo(std::string* echo) { - if (echo != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.echo_.SetAllocated(echo, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.echo_.IsDefault()) { - _impl_.echo_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverPingReplyData.echo) -} - -// optional fixed64 legacy_challenge = 3; -inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_legacy_challenge() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingReplyData::has_legacy_challenge() const { - return _internal_has_legacy_challenge(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::clear_legacy_challenge() { - _impl_.legacy_challenge_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CMsgSteamDatagramGameserverPingReplyData::_internal_legacy_challenge() const { - return _impl_.legacy_challenge_; -} -inline uint64_t CMsgSteamDatagramGameserverPingReplyData::legacy_challenge() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.legacy_challenge) - return _internal_legacy_challenge(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_legacy_challenge(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.legacy_challenge_ = value; -} -inline void CMsgSteamDatagramGameserverPingReplyData::set_legacy_challenge(uint64_t value) { - _internal_set_legacy_challenge(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.legacy_challenge) -} - -// optional fixed32 legacy_router_timestamp = 4; -inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_legacy_router_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingReplyData::has_legacy_router_timestamp() const { - return _internal_has_legacy_router_timestamp(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::clear_legacy_router_timestamp() { - _impl_.legacy_router_timestamp_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamDatagramGameserverPingReplyData::_internal_legacy_router_timestamp() const { - return _impl_.legacy_router_timestamp_; -} -inline uint32_t CMsgSteamDatagramGameserverPingReplyData::legacy_router_timestamp() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.legacy_router_timestamp) - return _internal_legacy_router_timestamp(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_legacy_router_timestamp(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.legacy_router_timestamp_ = value; -} -inline void CMsgSteamDatagramGameserverPingReplyData::set_legacy_router_timestamp(uint32_t value) { - _internal_set_legacy_router_timestamp(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.legacy_router_timestamp) -} - -// optional fixed32 data_center_id = 5; -inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_data_center_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingReplyData::has_data_center_id() const { - return _internal_has_data_center_id(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::clear_data_center_id() { - _impl_.data_center_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramGameserverPingReplyData::_internal_data_center_id() const { - return _impl_.data_center_id_; -} -inline uint32_t CMsgSteamDatagramGameserverPingReplyData::data_center_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.data_center_id) - return _internal_data_center_id(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_data_center_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.data_center_id_ = value; -} -inline void CMsgSteamDatagramGameserverPingReplyData::set_data_center_id(uint32_t value) { - _internal_set_data_center_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.data_center_id) -} - -// optional uint32 appid = 6; -inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingReplyData::has_appid() const { - return _internal_has_appid(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamDatagramGameserverPingReplyData::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CMsgSteamDatagramGameserverPingReplyData::appid() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.appid) - return _internal_appid(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.appid_ = value; -} -inline void CMsgSteamDatagramGameserverPingReplyData::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.appid) -} - -// optional uint32 protocol_version = 7; -inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_protocol_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingReplyData::has_protocol_version() const { - return _internal_has_protocol_version(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::clear_protocol_version() { - _impl_.protocol_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSteamDatagramGameserverPingReplyData::_internal_protocol_version() const { - return _impl_.protocol_version_; -} -inline uint32_t CMsgSteamDatagramGameserverPingReplyData::protocol_version() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.protocol_version) - return _internal_protocol_version(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_protocol_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.protocol_version_ = value; -} -inline void CMsgSteamDatagramGameserverPingReplyData::set_protocol_version(uint32_t value) { - _internal_set_protocol_version(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.protocol_version) -} - -// optional string build = 9; -inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_build() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingReplyData::has_build() const { - return _internal_has_build(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::clear_build() { - _impl_.build_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramGameserverPingReplyData::build() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.build) - return _internal_build(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramGameserverPingReplyData::set_build(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.build_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.build) -} -inline std::string* CMsgSteamDatagramGameserverPingReplyData::mutable_build() { - std::string* _s = _internal_mutable_build(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingReplyData.build) - return _s; -} -inline const std::string& CMsgSteamDatagramGameserverPingReplyData::_internal_build() const { - return _impl_.build_.Get(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_build(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.build_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverPingReplyData::_internal_mutable_build() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.build_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverPingReplyData::release_build() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverPingReplyData.build) - if (!_internal_has_build()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.build_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.build_.IsDefault()) { - _impl_.build_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramGameserverPingReplyData::set_allocated_build(std::string* build) { - if (build != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.build_.SetAllocated(build, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.build_.IsDefault()) { - _impl_.build_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverPingReplyData.build) -} - -// optional uint64 network_config_version = 10; -inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_network_config_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingReplyData::has_network_config_version() const { - return _internal_has_network_config_version(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::clear_network_config_version() { - _impl_.network_config_version_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint64_t CMsgSteamDatagramGameserverPingReplyData::_internal_network_config_version() const { - return _impl_.network_config_version_; -} -inline uint64_t CMsgSteamDatagramGameserverPingReplyData::network_config_version() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.network_config_version) - return _internal_network_config_version(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_network_config_version(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.network_config_version_ = value; -} -inline void CMsgSteamDatagramGameserverPingReplyData::set_network_config_version(uint64_t value) { - _internal_set_network_config_version(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.network_config_version) -} - -// optional fixed32 my_unix_time = 11; -inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_my_unix_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingReplyData::has_my_unix_time() const { - return _internal_has_my_unix_time(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::clear_my_unix_time() { - _impl_.my_unix_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSteamDatagramGameserverPingReplyData::_internal_my_unix_time() const { - return _impl_.my_unix_time_; -} -inline uint32_t CMsgSteamDatagramGameserverPingReplyData::my_unix_time() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.my_unix_time) - return _internal_my_unix_time(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_my_unix_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.my_unix_time_ = value; -} -inline void CMsgSteamDatagramGameserverPingReplyData::set_my_unix_time(uint32_t value) { - _internal_set_my_unix_time(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.my_unix_time) -} - -// optional bytes routing_blob = 12; -inline bool CMsgSteamDatagramGameserverPingReplyData::_internal_has_routing_blob() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverPingReplyData::has_routing_blob() const { - return _internal_has_routing_blob(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::clear_routing_blob() { - _impl_.routing_blob_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgSteamDatagramGameserverPingReplyData::routing_blob() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverPingReplyData.routing_blob) - return _internal_routing_blob(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramGameserverPingReplyData::set_routing_blob(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.routing_blob_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverPingReplyData.routing_blob) -} -inline std::string* CMsgSteamDatagramGameserverPingReplyData::mutable_routing_blob() { - std::string* _s = _internal_mutable_routing_blob(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverPingReplyData.routing_blob) - return _s; -} -inline const std::string& CMsgSteamDatagramGameserverPingReplyData::_internal_routing_blob() const { - return _impl_.routing_blob_.Get(); -} -inline void CMsgSteamDatagramGameserverPingReplyData::_internal_set_routing_blob(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.routing_blob_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverPingReplyData::_internal_mutable_routing_blob() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.routing_blob_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverPingReplyData::release_routing_blob() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverPingReplyData.routing_blob) - if (!_internal_has_routing_blob()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.routing_blob_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.routing_blob_.IsDefault()) { - _impl_.routing_blob_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramGameserverPingReplyData::set_allocated_routing_blob(std::string* routing_blob) { - if (routing_blob != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.routing_blob_.SetAllocated(routing_blob, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.routing_blob_.IsDefault()) { - _impl_.routing_blob_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverPingReplyData.routing_blob) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramNoSessionRelayToClient - -// optional fixed32 connection_id = 7; -inline bool CMsgSteamDatagramNoSessionRelayToClient::_internal_has_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoSessionRelayToClient::has_connection_id() const { - return _internal_has_connection_id(); -} -inline void CMsgSteamDatagramNoSessionRelayToClient::clear_connection_id() { - _impl_.connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::_internal_connection_id() const { - return _impl_.connection_id_; -} -inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToClient.connection_id) - return _internal_connection_id(); -} -inline void CMsgSteamDatagramNoSessionRelayToClient::_internal_set_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.connection_id_ = value; -} -inline void CMsgSteamDatagramNoSessionRelayToClient::set_connection_id(uint32_t value) { - _internal_set_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToClient.connection_id) -} - -// optional fixed32 your_public_ip = 2; -inline bool CMsgSteamDatagramNoSessionRelayToClient::_internal_has_your_public_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoSessionRelayToClient::has_your_public_ip() const { - return _internal_has_your_public_ip(); -} -inline void CMsgSteamDatagramNoSessionRelayToClient::clear_your_public_ip() { - _impl_.your_public_ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::_internal_your_public_ip() const { - return _impl_.your_public_ip_; -} -inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::your_public_ip() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToClient.your_public_ip) - return _internal_your_public_ip(); -} -inline void CMsgSteamDatagramNoSessionRelayToClient::_internal_set_your_public_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.your_public_ip_ = value; -} -inline void CMsgSteamDatagramNoSessionRelayToClient::set_your_public_ip(uint32_t value) { - _internal_set_your_public_ip(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToClient.your_public_ip) -} - -// optional fixed32 your_public_port = 6; -inline bool CMsgSteamDatagramNoSessionRelayToClient::_internal_has_your_public_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoSessionRelayToClient::has_your_public_port() const { - return _internal_has_your_public_port(); -} -inline void CMsgSteamDatagramNoSessionRelayToClient::clear_your_public_port() { - _impl_.your_public_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::_internal_your_public_port() const { - return _impl_.your_public_port_; -} -inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::your_public_port() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToClient.your_public_port) - return _internal_your_public_port(); -} -inline void CMsgSteamDatagramNoSessionRelayToClient::_internal_set_your_public_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.your_public_port_ = value; -} -inline void CMsgSteamDatagramNoSessionRelayToClient::set_your_public_port(uint32_t value) { - _internal_set_your_public_port(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToClient.your_public_port) -} - -// optional fixed32 server_time = 3; -inline bool CMsgSteamDatagramNoSessionRelayToClient::_internal_has_server_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoSessionRelayToClient::has_server_time() const { - return _internal_has_server_time(); -} -inline void CMsgSteamDatagramNoSessionRelayToClient::clear_server_time() { - _impl_.server_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::_internal_server_time() const { - return _impl_.server_time_; -} -inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::server_time() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToClient.server_time) - return _internal_server_time(); -} -inline void CMsgSteamDatagramNoSessionRelayToClient::_internal_set_server_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.server_time_ = value; -} -inline void CMsgSteamDatagramNoSessionRelayToClient::set_server_time(uint32_t value) { - _internal_set_server_time(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToClient.server_time) -} - -// optional fixed64 challenge = 4; -inline bool CMsgSteamDatagramNoSessionRelayToClient::_internal_has_challenge() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoSessionRelayToClient::has_challenge() const { - return _internal_has_challenge(); -} -inline void CMsgSteamDatagramNoSessionRelayToClient::clear_challenge() { - _impl_.challenge_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgSteamDatagramNoSessionRelayToClient::_internal_challenge() const { - return _impl_.challenge_; -} -inline uint64_t CMsgSteamDatagramNoSessionRelayToClient::challenge() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToClient.challenge) - return _internal_challenge(); -} -inline void CMsgSteamDatagramNoSessionRelayToClient::_internal_set_challenge(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.challenge_ = value; -} -inline void CMsgSteamDatagramNoSessionRelayToClient::set_challenge(uint64_t value) { - _internal_set_challenge(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToClient.challenge) -} - -// optional uint32 seconds_until_shutdown = 5; -inline bool CMsgSteamDatagramNoSessionRelayToClient::_internal_has_seconds_until_shutdown() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoSessionRelayToClient::has_seconds_until_shutdown() const { - return _internal_has_seconds_until_shutdown(); -} -inline void CMsgSteamDatagramNoSessionRelayToClient::clear_seconds_until_shutdown() { - _impl_.seconds_until_shutdown_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::_internal_seconds_until_shutdown() const { - return _impl_.seconds_until_shutdown_; -} -inline uint32_t CMsgSteamDatagramNoSessionRelayToClient::seconds_until_shutdown() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToClient.seconds_until_shutdown) - return _internal_seconds_until_shutdown(); -} -inline void CMsgSteamDatagramNoSessionRelayToClient::_internal_set_seconds_until_shutdown(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.seconds_until_shutdown_ = value; -} -inline void CMsgSteamDatagramNoSessionRelayToClient::set_seconds_until_shutdown(uint32_t value) { - _internal_set_seconds_until_shutdown(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToClient.seconds_until_shutdown) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramNoSessionRelayToPeer - -// optional uint32 legacy_relay_session_id = 1; -inline bool CMsgSteamDatagramNoSessionRelayToPeer::_internal_has_legacy_relay_session_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoSessionRelayToPeer::has_legacy_relay_session_id() const { - return _internal_has_legacy_relay_session_id(); -} -inline void CMsgSteamDatagramNoSessionRelayToPeer::clear_legacy_relay_session_id() { - _impl_.legacy_relay_session_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSteamDatagramNoSessionRelayToPeer::_internal_legacy_relay_session_id() const { - return _impl_.legacy_relay_session_id_; -} -inline uint32_t CMsgSteamDatagramNoSessionRelayToPeer::legacy_relay_session_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToPeer.legacy_relay_session_id) - return _internal_legacy_relay_session_id(); -} -inline void CMsgSteamDatagramNoSessionRelayToPeer::_internal_set_legacy_relay_session_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.legacy_relay_session_id_ = value; -} -inline void CMsgSteamDatagramNoSessionRelayToPeer::set_legacy_relay_session_id(uint32_t value) { - _internal_set_legacy_relay_session_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToPeer.legacy_relay_session_id) -} - -// optional fixed32 from_relay_session_id = 2; -inline bool CMsgSteamDatagramNoSessionRelayToPeer::_internal_has_from_relay_session_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoSessionRelayToPeer::has_from_relay_session_id() const { - return _internal_has_from_relay_session_id(); -} -inline void CMsgSteamDatagramNoSessionRelayToPeer::clear_from_relay_session_id() { - _impl_.from_relay_session_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamDatagramNoSessionRelayToPeer::_internal_from_relay_session_id() const { - return _impl_.from_relay_session_id_; -} -inline uint32_t CMsgSteamDatagramNoSessionRelayToPeer::from_relay_session_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToPeer.from_relay_session_id) - return _internal_from_relay_session_id(); -} -inline void CMsgSteamDatagramNoSessionRelayToPeer::_internal_set_from_relay_session_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.from_relay_session_id_ = value; -} -inline void CMsgSteamDatagramNoSessionRelayToPeer::set_from_relay_session_id(uint32_t value) { - _internal_set_from_relay_session_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToPeer.from_relay_session_id) -} - -// optional fixed32 from_connection_id = 7; -inline bool CMsgSteamDatagramNoSessionRelayToPeer::_internal_has_from_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoSessionRelayToPeer::has_from_connection_id() const { - return _internal_has_from_connection_id(); -} -inline void CMsgSteamDatagramNoSessionRelayToPeer::clear_from_connection_id() { - _impl_.from_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramNoSessionRelayToPeer::_internal_from_connection_id() const { - return _impl_.from_connection_id_; -} -inline uint32_t CMsgSteamDatagramNoSessionRelayToPeer::from_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToPeer.from_connection_id) - return _internal_from_connection_id(); -} -inline void CMsgSteamDatagramNoSessionRelayToPeer::_internal_set_from_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.from_connection_id_ = value; -} -inline void CMsgSteamDatagramNoSessionRelayToPeer::set_from_connection_id(uint32_t value) { - _internal_set_from_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToPeer.from_connection_id) -} - -// optional fixed64 kludge_pad = 99; -inline bool CMsgSteamDatagramNoSessionRelayToPeer::_internal_has_kludge_pad() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoSessionRelayToPeer::has_kludge_pad() const { - return _internal_has_kludge_pad(); -} -inline void CMsgSteamDatagramNoSessionRelayToPeer::clear_kludge_pad() { - _impl_.kludge_pad_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgSteamDatagramNoSessionRelayToPeer::_internal_kludge_pad() const { - return _impl_.kludge_pad_; -} -inline uint64_t CMsgSteamDatagramNoSessionRelayToPeer::kludge_pad() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoSessionRelayToPeer.kludge_pad) - return _internal_kludge_pad(); -} -inline void CMsgSteamDatagramNoSessionRelayToPeer::_internal_set_kludge_pad(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.kludge_pad_ = value; -} -inline void CMsgSteamDatagramNoSessionRelayToPeer::set_kludge_pad(uint64_t value) { - _internal_set_kludge_pad(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoSessionRelayToPeer.kludge_pad) -} - -// ------------------------------------------------------------------- - -// CMsgTOSTreatment - -// optional string l4s_detect = 1; -inline bool CMsgTOSTreatment::_internal_has_l4s_detect() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgTOSTreatment::has_l4s_detect() const { - return _internal_has_l4s_detect(); -} -inline void CMsgTOSTreatment::clear_l4s_detect() { - _impl_.l4s_detect_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgTOSTreatment::l4s_detect() const { - // @@protoc_insertion_point(field_get:CMsgTOSTreatment.l4s_detect) - return _internal_l4s_detect(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgTOSTreatment::set_l4s_detect(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.l4s_detect_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgTOSTreatment.l4s_detect) -} -inline std::string* CMsgTOSTreatment::mutable_l4s_detect() { - std::string* _s = _internal_mutable_l4s_detect(); - // @@protoc_insertion_point(field_mutable:CMsgTOSTreatment.l4s_detect) - return _s; -} -inline const std::string& CMsgTOSTreatment::_internal_l4s_detect() const { - return _impl_.l4s_detect_.Get(); -} -inline void CMsgTOSTreatment::_internal_set_l4s_detect(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.l4s_detect_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgTOSTreatment::_internal_mutable_l4s_detect() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.l4s_detect_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgTOSTreatment::release_l4s_detect() { - // @@protoc_insertion_point(field_release:CMsgTOSTreatment.l4s_detect) - if (!_internal_has_l4s_detect()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.l4s_detect_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.l4s_detect_.IsDefault()) { - _impl_.l4s_detect_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgTOSTreatment::set_allocated_l4s_detect(std::string* l4s_detect) { - if (l4s_detect != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.l4s_detect_.SetAllocated(l4s_detect, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.l4s_detect_.IsDefault()) { - _impl_.l4s_detect_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgTOSTreatment.l4s_detect) -} - -// optional string up_ecn1 = 2; -inline bool CMsgTOSTreatment::_internal_has_up_ecn1() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgTOSTreatment::has_up_ecn1() const { - return _internal_has_up_ecn1(); -} -inline void CMsgTOSTreatment::clear_up_ecn1() { - _impl_.up_ecn1_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgTOSTreatment::up_ecn1() const { - // @@protoc_insertion_point(field_get:CMsgTOSTreatment.up_ecn1) - return _internal_up_ecn1(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgTOSTreatment::set_up_ecn1(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.up_ecn1_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgTOSTreatment.up_ecn1) -} -inline std::string* CMsgTOSTreatment::mutable_up_ecn1() { - std::string* _s = _internal_mutable_up_ecn1(); - // @@protoc_insertion_point(field_mutable:CMsgTOSTreatment.up_ecn1) - return _s; -} -inline const std::string& CMsgTOSTreatment::_internal_up_ecn1() const { - return _impl_.up_ecn1_.Get(); -} -inline void CMsgTOSTreatment::_internal_set_up_ecn1(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.up_ecn1_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgTOSTreatment::_internal_mutable_up_ecn1() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.up_ecn1_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgTOSTreatment::release_up_ecn1() { - // @@protoc_insertion_point(field_release:CMsgTOSTreatment.up_ecn1) - if (!_internal_has_up_ecn1()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.up_ecn1_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.up_ecn1_.IsDefault()) { - _impl_.up_ecn1_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgTOSTreatment::set_allocated_up_ecn1(std::string* up_ecn1) { - if (up_ecn1 != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.up_ecn1_.SetAllocated(up_ecn1, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.up_ecn1_.IsDefault()) { - _impl_.up_ecn1_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgTOSTreatment.up_ecn1) -} - -// optional string down_dscp45 = 3; -inline bool CMsgTOSTreatment::_internal_has_down_dscp45() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgTOSTreatment::has_down_dscp45() const { - return _internal_has_down_dscp45(); -} -inline void CMsgTOSTreatment::clear_down_dscp45() { - _impl_.down_dscp45_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgTOSTreatment::down_dscp45() const { - // @@protoc_insertion_point(field_get:CMsgTOSTreatment.down_dscp45) - return _internal_down_dscp45(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgTOSTreatment::set_down_dscp45(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.down_dscp45_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgTOSTreatment.down_dscp45) -} -inline std::string* CMsgTOSTreatment::mutable_down_dscp45() { - std::string* _s = _internal_mutable_down_dscp45(); - // @@protoc_insertion_point(field_mutable:CMsgTOSTreatment.down_dscp45) - return _s; -} -inline const std::string& CMsgTOSTreatment::_internal_down_dscp45() const { - return _impl_.down_dscp45_.Get(); -} -inline void CMsgTOSTreatment::_internal_set_down_dscp45(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.down_dscp45_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgTOSTreatment::_internal_mutable_down_dscp45() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.down_dscp45_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgTOSTreatment::release_down_dscp45() { - // @@protoc_insertion_point(field_release:CMsgTOSTreatment.down_dscp45) - if (!_internal_has_down_dscp45()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.down_dscp45_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.down_dscp45_.IsDefault()) { - _impl_.down_dscp45_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgTOSTreatment::set_allocated_down_dscp45(std::string* down_dscp45) { - if (down_dscp45 != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.down_dscp45_.SetAllocated(down_dscp45, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.down_dscp45_.IsDefault()) { - _impl_.down_dscp45_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgTOSTreatment.down_dscp45) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramClientPingSampleRequest - -// optional fixed32 connection_id = 1; -inline bool CMsgSteamDatagramClientPingSampleRequest::_internal_has_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleRequest::has_connection_id() const { - return _internal_has_connection_id(); -} -inline void CMsgSteamDatagramClientPingSampleRequest::clear_connection_id() { - _impl_.connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleRequest::_internal_connection_id() const { - return _impl_.connection_id_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleRequest::connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleRequest.connection_id) - return _internal_connection_id(); -} -inline void CMsgSteamDatagramClientPingSampleRequest::_internal_set_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.connection_id_ = value; -} -inline void CMsgSteamDatagramClientPingSampleRequest::set_connection_id(uint32_t value) { - _internal_set_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleRequest.connection_id) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramClientPingSampleReply_POP_AltAddress - -// optional string id = 1; -inline bool CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::has_id() const { - return _internal_has_id(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::clear_id() { - _impl_.id_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.id) - return _internal_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::set_id(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.id_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.id) -} -inline std::string* CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::mutable_id() { - std::string* _s = _internal_mutable_id(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.id) - return _s; -} -inline const std::string& CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_id() const { - return _impl_.id_.Get(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_set_id(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.id_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_mutable_id() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.id_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::release_id() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.id) - if (!_internal_has_id()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.id_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.id_.IsDefault()) { - _impl_.id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::set_allocated_id(std::string* id) { - if (id != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.id_.SetAllocated(id, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.id_.IsDefault()) { - _impl_.id_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.id) -} - -// optional uint32 front_ping_ms = 2; -inline bool CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_has_front_ping_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::has_front_ping_ms() const { - return _internal_has_front_ping_ms(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::clear_front_ping_ms() { - _impl_.front_ping_ms_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_front_ping_ms() const { - return _impl_.front_ping_ms_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::front_ping_ms() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.front_ping_ms) - return _internal_front_ping_ms(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_set_front_ping_ms(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.front_ping_ms_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::set_front_ping_ms(uint32_t value) { - _internal_set_front_ping_ms(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.front_ping_ms) -} - -// optional uint32 penalty = 3; -inline bool CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_has_penalty() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::has_penalty() const { - return _internal_has_penalty(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::clear_penalty() { - _impl_.penalty_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_penalty() const { - return _impl_.penalty_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::penalty() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.penalty) - return _internal_penalty(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::_internal_set_penalty(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.penalty_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_POP_AltAddress::set_penalty(uint32_t value) { - _internal_set_penalty(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.AltAddress.penalty) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramClientPingSampleReply_POP - -// optional fixed32 pop_id = 1; -inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_pop_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_pop_id() const { - return _internal_has_pop_id(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_pop_id() { - _impl_.pop_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_pop_id() const { - return _impl_.pop_id_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::pop_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.pop_id) - return _internal_pop_id(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_pop_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.pop_id_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::set_pop_id(uint32_t value) { - _internal_set_pop_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.pop_id) -} - -// optional uint32 default_front_ping_ms = 2; -inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_default_front_ping_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_default_front_ping_ms() const { - return _internal_has_default_front_ping_ms(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_default_front_ping_ms() { - _impl_.default_front_ping_ms_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_default_front_ping_ms() const { - return _impl_.default_front_ping_ms_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::default_front_ping_ms() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.default_front_ping_ms) - return _internal_default_front_ping_ms(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_default_front_ping_ms(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.default_front_ping_ms_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::set_default_front_ping_ms(uint32_t value) { - _internal_set_default_front_ping_ms(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.default_front_ping_ms) -} - -// optional uint32 cluster_penalty = 4; -inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_cluster_penalty() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_cluster_penalty() const { - return _internal_has_cluster_penalty(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_cluster_penalty() { - _impl_.cluster_penalty_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_cluster_penalty() const { - return _impl_.cluster_penalty_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::cluster_penalty() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.cluster_penalty) - return _internal_cluster_penalty(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_cluster_penalty(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.cluster_penalty_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::set_cluster_penalty(uint32_t value) { - _internal_set_cluster_penalty(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.cluster_penalty) -} - -// repeated .CMsgSteamDatagramClientPingSampleReply.POP.AltAddress alt_addresses = 7; -inline int CMsgSteamDatagramClientPingSampleReply_POP::_internal_alt_addresses_size() const { - return _impl_.alt_addresses_.size(); -} -inline int CMsgSteamDatagramClientPingSampleReply_POP::alt_addresses_size() const { - return _internal_alt_addresses_size(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_alt_addresses() { - _impl_.alt_addresses_.Clear(); -} -inline ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* CMsgSteamDatagramClientPingSampleReply_POP::mutable_alt_addresses(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientPingSampleReply.POP.alt_addresses) - return _impl_.alt_addresses_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress >* -CMsgSteamDatagramClientPingSampleReply_POP::mutable_alt_addresses() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramClientPingSampleReply.POP.alt_addresses) - return &_impl_.alt_addresses_; -} -inline const ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& CMsgSteamDatagramClientPingSampleReply_POP::_internal_alt_addresses(int index) const { - return _impl_.alt_addresses_.Get(index); -} -inline const ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress& CMsgSteamDatagramClientPingSampleReply_POP::alt_addresses(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.alt_addresses) - return _internal_alt_addresses(index); -} -inline ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* CMsgSteamDatagramClientPingSampleReply_POP::_internal_add_alt_addresses() { - return _impl_.alt_addresses_.Add(); -} -inline ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* CMsgSteamDatagramClientPingSampleReply_POP::add_alt_addresses() { - ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress* _add = _internal_add_alt_addresses(); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramClientPingSampleReply.POP.alt_addresses) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP_AltAddress >& -CMsgSteamDatagramClientPingSampleReply_POP::alt_addresses() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramClientPingSampleReply.POP.alt_addresses) - return _impl_.alt_addresses_; -} - -// optional uint32 default_e2e_ping_ms = 3; -inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_default_e2e_ping_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_default_e2e_ping_ms() const { - return _internal_has_default_e2e_ping_ms(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_default_e2e_ping_ms() { - _impl_.default_e2e_ping_ms_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_default_e2e_ping_ms() const { - return _impl_.default_e2e_ping_ms_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::default_e2e_ping_ms() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.default_e2e_ping_ms) - return _internal_default_e2e_ping_ms(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_default_e2e_ping_ms(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.default_e2e_ping_ms_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::set_default_e2e_ping_ms(uint32_t value) { - _internal_set_default_e2e_ping_ms(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.default_e2e_ping_ms) -} - -// optional uint32 default_e2e_score = 5; -inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_default_e2e_score() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_default_e2e_score() const { - return _internal_has_default_e2e_score(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_default_e2e_score() { - _impl_.default_e2e_score_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_default_e2e_score() const { - return _impl_.default_e2e_score_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::default_e2e_score() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.default_e2e_score) - return _internal_default_e2e_score(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_default_e2e_score(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.default_e2e_score_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::set_default_e2e_score(uint32_t value) { - _internal_set_default_e2e_score(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.default_e2e_score) -} - -// optional fixed32 p2p_via_peer_relay_pop_id = 6; -inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_p2p_via_peer_relay_pop_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_p2p_via_peer_relay_pop_id() const { - return _internal_has_p2p_via_peer_relay_pop_id(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_p2p_via_peer_relay_pop_id() { - _impl_.p2p_via_peer_relay_pop_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_p2p_via_peer_relay_pop_id() const { - return _impl_.p2p_via_peer_relay_pop_id_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::p2p_via_peer_relay_pop_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.p2p_via_peer_relay_pop_id) - return _internal_p2p_via_peer_relay_pop_id(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_p2p_via_peer_relay_pop_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.p2p_via_peer_relay_pop_id_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::set_p2p_via_peer_relay_pop_id(uint32_t value) { - _internal_set_p2p_via_peer_relay_pop_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.p2p_via_peer_relay_pop_id) -} - -// optional uint32 best_dc_ping_ms = 9; -inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_best_dc_ping_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_best_dc_ping_ms() const { - return _internal_has_best_dc_ping_ms(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_best_dc_ping_ms() { - _impl_.best_dc_ping_ms_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_best_dc_ping_ms() const { - return _impl_.best_dc_ping_ms_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::best_dc_ping_ms() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.best_dc_ping_ms) - return _internal_best_dc_ping_ms(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_best_dc_ping_ms(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.best_dc_ping_ms_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::set_best_dc_ping_ms(uint32_t value) { - _internal_set_best_dc_ping_ms(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.best_dc_ping_ms) -} - -// optional uint32 best_dc_score = 10; -inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_best_dc_score() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_best_dc_score() const { - return _internal_has_best_dc_score(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_best_dc_score() { - _impl_.best_dc_score_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_best_dc_score() const { - return _impl_.best_dc_score_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::best_dc_score() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.best_dc_score) - return _internal_best_dc_score(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_best_dc_score(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.best_dc_score_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::set_best_dc_score(uint32_t value) { - _internal_set_best_dc_score(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.best_dc_score) -} - -// optional fixed32 best_dc_via_relay_pop_id = 11; -inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_best_dc_via_relay_pop_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_best_dc_via_relay_pop_id() const { - return _internal_has_best_dc_via_relay_pop_id(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_best_dc_via_relay_pop_id() { - _impl_.best_dc_via_relay_pop_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_best_dc_via_relay_pop_id() const { - return _impl_.best_dc_via_relay_pop_id_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::best_dc_via_relay_pop_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.best_dc_via_relay_pop_id) - return _internal_best_dc_via_relay_pop_id(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_best_dc_via_relay_pop_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.best_dc_via_relay_pop_id_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::set_best_dc_via_relay_pop_id(uint32_t value) { - _internal_set_best_dc_via_relay_pop_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.best_dc_via_relay_pop_id) -} - -// optional uint32 default_dc_ping_ms = 12; -inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_default_dc_ping_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_default_dc_ping_ms() const { - return _internal_has_default_dc_ping_ms(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_default_dc_ping_ms() { - _impl_.default_dc_ping_ms_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_default_dc_ping_ms() const { - return _impl_.default_dc_ping_ms_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::default_dc_ping_ms() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.default_dc_ping_ms) - return _internal_default_dc_ping_ms(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_default_dc_ping_ms(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.default_dc_ping_ms_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::set_default_dc_ping_ms(uint32_t value) { - _internal_set_default_dc_ping_ms(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.default_dc_ping_ms) -} - -// optional uint32 default_dc_score = 13; -inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_default_dc_score() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_default_dc_score() const { - return _internal_has_default_dc_score(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_default_dc_score() { - _impl_.default_dc_score_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_default_dc_score() const { - return _impl_.default_dc_score_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::default_dc_score() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.default_dc_score) - return _internal_default_dc_score(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_default_dc_score(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.default_dc_score_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::set_default_dc_score(uint32_t value) { - _internal_set_default_dc_score(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.default_dc_score) -} - -// optional fixed32 default_dc_via_relay_pop_id = 14; -inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_default_dc_via_relay_pop_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_default_dc_via_relay_pop_id() const { - return _internal_has_default_dc_via_relay_pop_id(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_default_dc_via_relay_pop_id() { - _impl_.default_dc_via_relay_pop_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_default_dc_via_relay_pop_id() const { - return _impl_.default_dc_via_relay_pop_id_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::default_dc_via_relay_pop_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.default_dc_via_relay_pop_id) - return _internal_default_dc_via_relay_pop_id(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_default_dc_via_relay_pop_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.default_dc_via_relay_pop_id_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::set_default_dc_via_relay_pop_id(uint32_t value) { - _internal_set_default_dc_via_relay_pop_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.default_dc_via_relay_pop_id) -} - -// optional uint32 test_dc_ping_ms = 15; -inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_test_dc_ping_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_test_dc_ping_ms() const { - return _internal_has_test_dc_ping_ms(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_test_dc_ping_ms() { - _impl_.test_dc_ping_ms_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_test_dc_ping_ms() const { - return _impl_.test_dc_ping_ms_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::test_dc_ping_ms() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.test_dc_ping_ms) - return _internal_test_dc_ping_ms(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_test_dc_ping_ms(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.test_dc_ping_ms_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::set_test_dc_ping_ms(uint32_t value) { - _internal_set_test_dc_ping_ms(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.test_dc_ping_ms) -} - -// optional uint32 test_dc_score = 16; -inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_test_dc_score() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_test_dc_score() const { - return _internal_has_test_dc_score(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_test_dc_score() { - _impl_.test_dc_score_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_test_dc_score() const { - return _impl_.test_dc_score_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::test_dc_score() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.test_dc_score) - return _internal_test_dc_score(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_test_dc_score(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.test_dc_score_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::set_test_dc_score(uint32_t value) { - _internal_set_test_dc_score(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.test_dc_score) -} - -// optional fixed32 test_dc_via_relay_pop_id = 17; -inline bool CMsgSteamDatagramClientPingSampleReply_POP::_internal_has_test_dc_via_relay_pop_id() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_POP::has_test_dc_via_relay_pop_id() const { - return _internal_has_test_dc_via_relay_pop_id(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::clear_test_dc_via_relay_pop_id() { - _impl_.test_dc_via_relay_pop_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::_internal_test_dc_via_relay_pop_id() const { - return _impl_.test_dc_via_relay_pop_id_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_POP::test_dc_via_relay_pop_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.POP.test_dc_via_relay_pop_id) - return _internal_test_dc_via_relay_pop_id(); -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::_internal_set_test_dc_via_relay_pop_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.test_dc_via_relay_pop_id_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_POP::set_test_dc_via_relay_pop_id(uint32_t value) { - _internal_set_test_dc_via_relay_pop_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.POP.test_dc_via_relay_pop_id) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter - -// optional fixed32 data_center_id = 1; -inline bool CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_internal_has_data_center_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::has_data_center_id() const { - return _internal_has_data_center_id(); -} -inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::clear_data_center_id() { - _impl_.data_center_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_internal_data_center_id() const { - return _impl_.data_center_id_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::data_center_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter.data_center_id) - return _internal_data_center_id(); -} -inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_internal_set_data_center_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_center_id_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::set_data_center_id(uint32_t value) { - _internal_set_data_center_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter.data_center_id) -} - -// optional fixed32 best_dc_via_relay_pop_id = 2; -inline bool CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_internal_has_best_dc_via_relay_pop_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::has_best_dc_via_relay_pop_id() const { - return _internal_has_best_dc_via_relay_pop_id(); -} -inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::clear_best_dc_via_relay_pop_id() { - _impl_.best_dc_via_relay_pop_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_internal_best_dc_via_relay_pop_id() const { - return _impl_.best_dc_via_relay_pop_id_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::best_dc_via_relay_pop_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter.best_dc_via_relay_pop_id) - return _internal_best_dc_via_relay_pop_id(); -} -inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_internal_set_best_dc_via_relay_pop_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.best_dc_via_relay_pop_id_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::set_best_dc_via_relay_pop_id(uint32_t value) { - _internal_set_best_dc_via_relay_pop_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter.best_dc_via_relay_pop_id) -} - -// optional uint32 best_dc_ping_ms = 3; -inline bool CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_internal_has_best_dc_ping_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::has_best_dc_ping_ms() const { - return _internal_has_best_dc_ping_ms(); -} -inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::clear_best_dc_ping_ms() { - _impl_.best_dc_ping_ms_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_internal_best_dc_ping_ms() const { - return _impl_.best_dc_ping_ms_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::best_dc_ping_ms() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter.best_dc_ping_ms) - return _internal_best_dc_ping_ms(); -} -inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::_internal_set_best_dc_ping_ms(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.best_dc_ping_ms_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter::set_best_dc_ping_ms(uint32_t value) { - _internal_set_best_dc_ping_ms(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter.best_dc_ping_ms) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramClientPingSampleReply - -// optional fixed32 connection_id = 1; -inline bool CMsgSteamDatagramClientPingSampleReply::_internal_has_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply::has_connection_id() const { - return _internal_has_connection_id(); -} -inline void CMsgSteamDatagramClientPingSampleReply::clear_connection_id() { - _impl_.connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply::_internal_connection_id() const { - return _impl_.connection_id_; -} -inline uint32_t CMsgSteamDatagramClientPingSampleReply::connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.connection_id) - return _internal_connection_id(); -} -inline void CMsgSteamDatagramClientPingSampleReply::_internal_set_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.connection_id_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply::set_connection_id(uint32_t value) { - _internal_set_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.connection_id) -} - -// optional bool relay_override_active = 5; -inline bool CMsgSteamDatagramClientPingSampleReply::_internal_has_relay_override_active() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply::has_relay_override_active() const { - return _internal_has_relay_override_active(); -} -inline void CMsgSteamDatagramClientPingSampleReply::clear_relay_override_active() { - _impl_.relay_override_active_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CMsgSteamDatagramClientPingSampleReply::_internal_relay_override_active() const { - return _impl_.relay_override_active_; -} -inline bool CMsgSteamDatagramClientPingSampleReply::relay_override_active() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.relay_override_active) - return _internal_relay_override_active(); -} -inline void CMsgSteamDatagramClientPingSampleReply::_internal_set_relay_override_active(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.relay_override_active_ = value; -} -inline void CMsgSteamDatagramClientPingSampleReply::set_relay_override_active(bool value) { - _internal_set_relay_override_active(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientPingSampleReply.relay_override_active) -} - -// optional .CMsgTOSTreatment tos = 6; -inline bool CMsgSteamDatagramClientPingSampleReply::_internal_has_tos() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.tos_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramClientPingSampleReply::has_tos() const { - return _internal_has_tos(); -} -inline void CMsgSteamDatagramClientPingSampleReply::clear_tos() { - if (_impl_.tos_ != nullptr) _impl_.tos_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgTOSTreatment& CMsgSteamDatagramClientPingSampleReply::_internal_tos() const { - const ::CMsgTOSTreatment* p = _impl_.tos_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgTOSTreatment_default_instance_); -} -inline const ::CMsgTOSTreatment& CMsgSteamDatagramClientPingSampleReply::tos() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.tos) - return _internal_tos(); -} -inline void CMsgSteamDatagramClientPingSampleReply::unsafe_arena_set_allocated_tos( - ::CMsgTOSTreatment* tos) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tos_); - } - _impl_.tos_ = tos; - if (tos) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramClientPingSampleReply.tos) -} -inline ::CMsgTOSTreatment* CMsgSteamDatagramClientPingSampleReply::release_tos() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgTOSTreatment* temp = _impl_.tos_; - _impl_.tos_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgTOSTreatment* CMsgSteamDatagramClientPingSampleReply::unsafe_arena_release_tos() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramClientPingSampleReply.tos) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgTOSTreatment* temp = _impl_.tos_; - _impl_.tos_ = nullptr; - return temp; -} -inline ::CMsgTOSTreatment* CMsgSteamDatagramClientPingSampleReply::_internal_mutable_tos() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.tos_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgTOSTreatment>(GetArenaForAllocation()); - _impl_.tos_ = p; - } - return _impl_.tos_; -} -inline ::CMsgTOSTreatment* CMsgSteamDatagramClientPingSampleReply::mutable_tos() { - ::CMsgTOSTreatment* _msg = _internal_mutable_tos(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientPingSampleReply.tos) - return _msg; -} -inline void CMsgSteamDatagramClientPingSampleReply::set_allocated_tos(::CMsgTOSTreatment* tos) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.tos_; - } - if (tos) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(tos); - if (message_arena != submessage_arena) { - tos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, tos, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.tos_ = tos; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramClientPingSampleReply.tos) -} - -// repeated .CMsgSteamDatagramClientPingSampleReply.POP pops = 2; -inline int CMsgSteamDatagramClientPingSampleReply::_internal_pops_size() const { - return _impl_.pops_.size(); -} -inline int CMsgSteamDatagramClientPingSampleReply::pops_size() const { - return _internal_pops_size(); -} -inline void CMsgSteamDatagramClientPingSampleReply::clear_pops() { - _impl_.pops_.Clear(); -} -inline ::CMsgSteamDatagramClientPingSampleReply_POP* CMsgSteamDatagramClientPingSampleReply::mutable_pops(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientPingSampleReply.pops) - return _impl_.pops_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP >* -CMsgSteamDatagramClientPingSampleReply::mutable_pops() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramClientPingSampleReply.pops) - return &_impl_.pops_; -} -inline const ::CMsgSteamDatagramClientPingSampleReply_POP& CMsgSteamDatagramClientPingSampleReply::_internal_pops(int index) const { - return _impl_.pops_.Get(index); -} -inline const ::CMsgSteamDatagramClientPingSampleReply_POP& CMsgSteamDatagramClientPingSampleReply::pops(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.pops) - return _internal_pops(index); -} -inline ::CMsgSteamDatagramClientPingSampleReply_POP* CMsgSteamDatagramClientPingSampleReply::_internal_add_pops() { - return _impl_.pops_.Add(); -} -inline ::CMsgSteamDatagramClientPingSampleReply_POP* CMsgSteamDatagramClientPingSampleReply::add_pops() { - ::CMsgSteamDatagramClientPingSampleReply_POP* _add = _internal_add_pops(); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramClientPingSampleReply.pops) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_POP >& -CMsgSteamDatagramClientPingSampleReply::pops() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramClientPingSampleReply.pops) - return _impl_.pops_; -} - -// repeated .CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter legacy_data_centers = 3; -inline int CMsgSteamDatagramClientPingSampleReply::_internal_legacy_data_centers_size() const { - return _impl_.legacy_data_centers_.size(); -} -inline int CMsgSteamDatagramClientPingSampleReply::legacy_data_centers_size() const { - return _internal_legacy_data_centers_size(); -} -inline void CMsgSteamDatagramClientPingSampleReply::clear_legacy_data_centers() { - _impl_.legacy_data_centers_.Clear(); -} -inline ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* CMsgSteamDatagramClientPingSampleReply::mutable_legacy_data_centers(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientPingSampleReply.legacy_data_centers) - return _impl_.legacy_data_centers_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter >* -CMsgSteamDatagramClientPingSampleReply::mutable_legacy_data_centers() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramClientPingSampleReply.legacy_data_centers) - return &_impl_.legacy_data_centers_; -} -inline const ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& CMsgSteamDatagramClientPingSampleReply::_internal_legacy_data_centers(int index) const { - return _impl_.legacy_data_centers_.Get(index); -} -inline const ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter& CMsgSteamDatagramClientPingSampleReply::legacy_data_centers(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientPingSampleReply.legacy_data_centers) - return _internal_legacy_data_centers(index); -} -inline ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* CMsgSteamDatagramClientPingSampleReply::_internal_add_legacy_data_centers() { - return _impl_.legacy_data_centers_.Add(); -} -inline ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* CMsgSteamDatagramClientPingSampleReply::add_legacy_data_centers() { - ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter* _add = _internal_add_legacy_data_centers(); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramClientPingSampleReply.legacy_data_centers) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramClientPingSampleReply_LegacyDataCenter >& -CMsgSteamDatagramClientPingSampleReply::legacy_data_centers() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramClientPingSampleReply.legacy_data_centers) - return _impl_.legacy_data_centers_; -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramClientSwitchedPrimary_RouterQuality - -// optional uint32 score = 1; -inline bool CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_has_score() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::has_score() const { - return _internal_has_score(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::clear_score() { - _impl_.score_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_score() const { - return _impl_.score_; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::score() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality.score) - return _internal_score(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_set_score(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.score_ = value; -} -inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::set_score(uint32_t value) { - _internal_set_score(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality.score) -} - -// optional uint32 front_ping = 2; -inline bool CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_has_front_ping() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::has_front_ping() const { - return _internal_has_front_ping(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::clear_front_ping() { - _impl_.front_ping_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_front_ping() const { - return _impl_.front_ping_; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::front_ping() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality.front_ping) - return _internal_front_ping(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_set_front_ping(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.front_ping_ = value; -} -inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::set_front_ping(uint32_t value) { - _internal_set_front_ping(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality.front_ping) -} - -// optional uint32 back_ping = 3; -inline bool CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_has_back_ping() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::has_back_ping() const { - return _internal_has_back_ping(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::clear_back_ping() { - _impl_.back_ping_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_back_ping() const { - return _impl_.back_ping_; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::back_ping() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality.back_ping) - return _internal_back_ping(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_set_back_ping(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.back_ping_ = value; -} -inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::set_back_ping(uint32_t value) { - _internal_set_back_ping(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality.back_ping) -} - -// optional uint32 seconds_until_down = 4; -inline bool CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_has_seconds_until_down() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::has_seconds_until_down() const { - return _internal_has_seconds_until_down(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::clear_seconds_until_down() { - _impl_.seconds_until_down_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_seconds_until_down() const { - return _impl_.seconds_until_down_; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::seconds_until_down() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality.seconds_until_down) - return _internal_seconds_until_down(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::_internal_set_seconds_until_down(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.seconds_until_down_ = value; -} -inline void CMsgSteamDatagramClientSwitchedPrimary_RouterQuality::set_seconds_until_down(uint32_t value) { - _internal_set_seconds_until_down(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.RouterQuality.seconds_until_down) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramClientSwitchedPrimary - -// optional fixed32 connection_id = 1; -inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientSwitchedPrimary::has_connection_id() const { - return _internal_has_connection_id(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::clear_connection_id() { - _impl_.connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::_internal_connection_id() const { - return _impl_.connection_id_; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.connection_id) - return _internal_connection_id(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::_internal_set_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.connection_id_ = value; -} -inline void CMsgSteamDatagramClientSwitchedPrimary::set_connection_id(uint32_t value) { - _internal_set_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.connection_id) -} - -// optional fixed32 from_ip = 2; -inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_from_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientSwitchedPrimary::has_from_ip() const { - return _internal_has_from_ip(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::clear_from_ip() { - _impl_.from_ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::_internal_from_ip() const { - return _impl_.from_ip_; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::from_ip() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.from_ip) - return _internal_from_ip(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::_internal_set_from_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.from_ip_ = value; -} -inline void CMsgSteamDatagramClientSwitchedPrimary::set_from_ip(uint32_t value) { - _internal_set_from_ip(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.from_ip) -} - -// optional uint32 from_port = 3; -inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_from_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientSwitchedPrimary::has_from_port() const { - return _internal_has_from_port(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::clear_from_port() { - _impl_.from_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::_internal_from_port() const { - return _impl_.from_port_; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::from_port() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.from_port) - return _internal_from_port(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::_internal_set_from_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.from_port_ = value; -} -inline void CMsgSteamDatagramClientSwitchedPrimary::set_from_port(uint32_t value) { - _internal_set_from_port(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.from_port) -} - -// optional fixed32 from_router_cluster = 4; -inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_from_router_cluster() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientSwitchedPrimary::has_from_router_cluster() const { - return _internal_has_from_router_cluster(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::clear_from_router_cluster() { - _impl_.from_router_cluster_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::_internal_from_router_cluster() const { - return _impl_.from_router_cluster_; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::from_router_cluster() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.from_router_cluster) - return _internal_from_router_cluster(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::_internal_set_from_router_cluster(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.from_router_cluster_ = value; -} -inline void CMsgSteamDatagramClientSwitchedPrimary::set_from_router_cluster(uint32_t value) { - _internal_set_from_router_cluster(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.from_router_cluster) -} - -// optional uint32 from_active_time = 5; -inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_from_active_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientSwitchedPrimary::has_from_active_time() const { - return _internal_has_from_active_time(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::clear_from_active_time() { - _impl_.from_active_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::_internal_from_active_time() const { - return _impl_.from_active_time_; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::from_active_time() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.from_active_time) - return _internal_from_active_time(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::_internal_set_from_active_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.from_active_time_ = value; -} -inline void CMsgSteamDatagramClientSwitchedPrimary::set_from_active_time(uint32_t value) { - _internal_set_from_active_time(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.from_active_time) -} - -// optional uint32 from_active_packets_recv = 6; -inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_from_active_packets_recv() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientSwitchedPrimary::has_from_active_packets_recv() const { - return _internal_has_from_active_packets_recv(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::clear_from_active_packets_recv() { - _impl_.from_active_packets_recv_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::_internal_from_active_packets_recv() const { - return _impl_.from_active_packets_recv_; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::from_active_packets_recv() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.from_active_packets_recv) - return _internal_from_active_packets_recv(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::_internal_set_from_active_packets_recv(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.from_active_packets_recv_ = value; -} -inline void CMsgSteamDatagramClientSwitchedPrimary::set_from_active_packets_recv(uint32_t value) { - _internal_set_from_active_packets_recv(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.from_active_packets_recv) -} - -// optional string from_dropped_reason = 7; -inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_from_dropped_reason() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientSwitchedPrimary::has_from_dropped_reason() const { - return _internal_has_from_dropped_reason(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::clear_from_dropped_reason() { - _impl_.from_dropped_reason_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramClientSwitchedPrimary::from_dropped_reason() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.from_dropped_reason) - return _internal_from_dropped_reason(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramClientSwitchedPrimary::set_from_dropped_reason(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.from_dropped_reason_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.from_dropped_reason) -} -inline std::string* CMsgSteamDatagramClientSwitchedPrimary::mutable_from_dropped_reason() { - std::string* _s = _internal_mutable_from_dropped_reason(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientSwitchedPrimary.from_dropped_reason) - return _s; -} -inline const std::string& CMsgSteamDatagramClientSwitchedPrimary::_internal_from_dropped_reason() const { - return _impl_.from_dropped_reason_.Get(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::_internal_set_from_dropped_reason(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.from_dropped_reason_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramClientSwitchedPrimary::_internal_mutable_from_dropped_reason() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.from_dropped_reason_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramClientSwitchedPrimary::release_from_dropped_reason() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramClientSwitchedPrimary.from_dropped_reason) - if (!_internal_has_from_dropped_reason()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.from_dropped_reason_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.from_dropped_reason_.IsDefault()) { - _impl_.from_dropped_reason_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramClientSwitchedPrimary::set_allocated_from_dropped_reason(std::string* from_dropped_reason) { - if (from_dropped_reason != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.from_dropped_reason_.SetAllocated(from_dropped_reason, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.from_dropped_reason_.IsDefault()) { - _impl_.from_dropped_reason_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramClientSwitchedPrimary.from_dropped_reason) -} - -// optional uint32 gap_ms = 8; -inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_gap_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSteamDatagramClientSwitchedPrimary::has_gap_ms() const { - return _internal_has_gap_ms(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::clear_gap_ms() { - _impl_.gap_ms_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::_internal_gap_ms() const { - return _impl_.gap_ms_; -} -inline uint32_t CMsgSteamDatagramClientSwitchedPrimary::gap_ms() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.gap_ms) - return _internal_gap_ms(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::_internal_set_gap_ms(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.gap_ms_ = value; -} -inline void CMsgSteamDatagramClientSwitchedPrimary::set_gap_ms(uint32_t value) { - _internal_set_gap_ms(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramClientSwitchedPrimary.gap_ms) -} - -// optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_now = 9; -inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_from_quality_now() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.from_quality_now_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramClientSwitchedPrimary::has_from_quality_now() const { - return _internal_has_from_quality_now(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::clear_from_quality_now() { - if (_impl_.from_quality_now_ != nullptr) _impl_.from_quality_now_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& CMsgSteamDatagramClientSwitchedPrimary::_internal_from_quality_now() const { - const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* p = _impl_.from_quality_now_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramClientSwitchedPrimary_RouterQuality_default_instance_); -} -inline const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& CMsgSteamDatagramClientSwitchedPrimary::from_quality_now() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.from_quality_now) - return _internal_from_quality_now(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::unsafe_arena_set_allocated_from_quality_now( - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_now) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.from_quality_now_); - } - _impl_.from_quality_now_ = from_quality_now; - if (from_quality_now) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramClientSwitchedPrimary.from_quality_now) -} -inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::release_from_quality_now() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* temp = _impl_.from_quality_now_; - _impl_.from_quality_now_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::unsafe_arena_release_from_quality_now() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramClientSwitchedPrimary.from_quality_now) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* temp = _impl_.from_quality_now_; - _impl_.from_quality_now_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::_internal_mutable_from_quality_now() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.from_quality_now_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality>(GetArenaForAllocation()); - _impl_.from_quality_now_ = p; - } - return _impl_.from_quality_now_; -} -inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::mutable_from_quality_now() { - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* _msg = _internal_mutable_from_quality_now(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientSwitchedPrimary.from_quality_now) - return _msg; -} -inline void CMsgSteamDatagramClientSwitchedPrimary::set_allocated_from_quality_now(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_now) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.from_quality_now_; - } - if (from_quality_now) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(from_quality_now); - if (message_arena != submessage_arena) { - from_quality_now = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, from_quality_now, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.from_quality_now_ = from_quality_now; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramClientSwitchedPrimary.from_quality_now) -} - -// optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_now = 10; -inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_to_quality_now() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.to_quality_now_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramClientSwitchedPrimary::has_to_quality_now() const { - return _internal_has_to_quality_now(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::clear_to_quality_now() { - if (_impl_.to_quality_now_ != nullptr) _impl_.to_quality_now_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& CMsgSteamDatagramClientSwitchedPrimary::_internal_to_quality_now() const { - const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* p = _impl_.to_quality_now_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramClientSwitchedPrimary_RouterQuality_default_instance_); -} -inline const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& CMsgSteamDatagramClientSwitchedPrimary::to_quality_now() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.to_quality_now) - return _internal_to_quality_now(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::unsafe_arena_set_allocated_to_quality_now( - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_now) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.to_quality_now_); - } - _impl_.to_quality_now_ = to_quality_now; - if (to_quality_now) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramClientSwitchedPrimary.to_quality_now) -} -inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::release_to_quality_now() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* temp = _impl_.to_quality_now_; - _impl_.to_quality_now_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::unsafe_arena_release_to_quality_now() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramClientSwitchedPrimary.to_quality_now) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* temp = _impl_.to_quality_now_; - _impl_.to_quality_now_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::_internal_mutable_to_quality_now() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.to_quality_now_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality>(GetArenaForAllocation()); - _impl_.to_quality_now_ = p; - } - return _impl_.to_quality_now_; -} -inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::mutable_to_quality_now() { - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* _msg = _internal_mutable_to_quality_now(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientSwitchedPrimary.to_quality_now) - return _msg; -} -inline void CMsgSteamDatagramClientSwitchedPrimary::set_allocated_to_quality_now(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_now) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.to_quality_now_; - } - if (to_quality_now) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(to_quality_now); - if (message_arena != submessage_arena) { - to_quality_now = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, to_quality_now, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.to_quality_now_ = to_quality_now; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramClientSwitchedPrimary.to_quality_now) -} - -// optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_then = 11; -inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_from_quality_then() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.from_quality_then_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramClientSwitchedPrimary::has_from_quality_then() const { - return _internal_has_from_quality_then(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::clear_from_quality_then() { - if (_impl_.from_quality_then_ != nullptr) _impl_.from_quality_then_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& CMsgSteamDatagramClientSwitchedPrimary::_internal_from_quality_then() const { - const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* p = _impl_.from_quality_then_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramClientSwitchedPrimary_RouterQuality_default_instance_); -} -inline const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& CMsgSteamDatagramClientSwitchedPrimary::from_quality_then() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.from_quality_then) - return _internal_from_quality_then(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::unsafe_arena_set_allocated_from_quality_then( - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_then) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.from_quality_then_); - } - _impl_.from_quality_then_ = from_quality_then; - if (from_quality_then) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramClientSwitchedPrimary.from_quality_then) -} -inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::release_from_quality_then() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* temp = _impl_.from_quality_then_; - _impl_.from_quality_then_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::unsafe_arena_release_from_quality_then() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramClientSwitchedPrimary.from_quality_then) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* temp = _impl_.from_quality_then_; - _impl_.from_quality_then_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::_internal_mutable_from_quality_then() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.from_quality_then_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality>(GetArenaForAllocation()); - _impl_.from_quality_then_ = p; - } - return _impl_.from_quality_then_; -} -inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::mutable_from_quality_then() { - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* _msg = _internal_mutable_from_quality_then(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientSwitchedPrimary.from_quality_then) - return _msg; -} -inline void CMsgSteamDatagramClientSwitchedPrimary::set_allocated_from_quality_then(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* from_quality_then) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.from_quality_then_; - } - if (from_quality_then) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(from_quality_then); - if (message_arena != submessage_arena) { - from_quality_then = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, from_quality_then, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.from_quality_then_ = from_quality_then; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramClientSwitchedPrimary.from_quality_then) -} - -// optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_then = 12; -inline bool CMsgSteamDatagramClientSwitchedPrimary::_internal_has_to_quality_then() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.to_quality_then_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramClientSwitchedPrimary::has_to_quality_then() const { - return _internal_has_to_quality_then(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::clear_to_quality_then() { - if (_impl_.to_quality_then_ != nullptr) _impl_.to_quality_then_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& CMsgSteamDatagramClientSwitchedPrimary::_internal_to_quality_then() const { - const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* p = _impl_.to_quality_then_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramClientSwitchedPrimary_RouterQuality_default_instance_); -} -inline const ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality& CMsgSteamDatagramClientSwitchedPrimary::to_quality_then() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramClientSwitchedPrimary.to_quality_then) - return _internal_to_quality_then(); -} -inline void CMsgSteamDatagramClientSwitchedPrimary::unsafe_arena_set_allocated_to_quality_then( - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_then) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.to_quality_then_); - } - _impl_.to_quality_then_ = to_quality_then; - if (to_quality_then) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramClientSwitchedPrimary.to_quality_then) -} -inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::release_to_quality_then() { - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* temp = _impl_.to_quality_then_; - _impl_.to_quality_then_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::unsafe_arena_release_to_quality_then() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramClientSwitchedPrimary.to_quality_then) - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* temp = _impl_.to_quality_then_; - _impl_.to_quality_then_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::_internal_mutable_to_quality_then() { - _impl_._has_bits_[0] |= 0x00000010u; - if (_impl_.to_quality_then_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality>(GetArenaForAllocation()); - _impl_.to_quality_then_ = p; - } - return _impl_.to_quality_then_; -} -inline ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* CMsgSteamDatagramClientSwitchedPrimary::mutable_to_quality_then() { - ::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* _msg = _internal_mutable_to_quality_then(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramClientSwitchedPrimary.to_quality_then) - return _msg; -} -inline void CMsgSteamDatagramClientSwitchedPrimary::set_allocated_to_quality_then(::CMsgSteamDatagramClientSwitchedPrimary_RouterQuality* to_quality_then) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.to_quality_then_; - } - if (to_quality_then) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(to_quality_then); - if (message_arena != submessage_arena) { - to_quality_then = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, to_quality_then, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.to_quality_then_ = to_quality_then; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramClientSwitchedPrimary.to_quality_then) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramConnectRequest - -// optional fixed32 connection_id = 1; -inline bool CMsgSteamDatagramConnectRequest::_internal_has_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectRequest::has_connection_id() const { - return _internal_has_connection_id(); -} -inline void CMsgSteamDatagramConnectRequest::clear_connection_id() { - _impl_.connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramConnectRequest::_internal_connection_id() const { - return _impl_.connection_id_; -} -inline uint32_t CMsgSteamDatagramConnectRequest::connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectRequest.connection_id) - return _internal_connection_id(); -} -inline void CMsgSteamDatagramConnectRequest::_internal_set_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.connection_id_ = value; -} -inline void CMsgSteamDatagramConnectRequest::set_connection_id(uint32_t value) { - _internal_set_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectRequest.connection_id) -} - -// optional fixed64 my_timestamp = 4; -inline bool CMsgSteamDatagramConnectRequest::_internal_has_my_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectRequest::has_my_timestamp() const { - return _internal_has_my_timestamp(); -} -inline void CMsgSteamDatagramConnectRequest::clear_my_timestamp() { - _impl_.my_timestamp_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint64_t CMsgSteamDatagramConnectRequest::_internal_my_timestamp() const { - return _impl_.my_timestamp_; -} -inline uint64_t CMsgSteamDatagramConnectRequest::my_timestamp() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectRequest.my_timestamp) - return _internal_my_timestamp(); -} -inline void CMsgSteamDatagramConnectRequest::_internal_set_my_timestamp(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.my_timestamp_ = value; -} -inline void CMsgSteamDatagramConnectRequest::set_my_timestamp(uint64_t value) { - _internal_set_my_timestamp(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectRequest.my_timestamp) -} - -// optional uint32 ping_est_ms = 5; -inline bool CMsgSteamDatagramConnectRequest::_internal_has_ping_est_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectRequest::has_ping_est_ms() const { - return _internal_has_ping_est_ms(); -} -inline void CMsgSteamDatagramConnectRequest::clear_ping_est_ms() { - _impl_.ping_est_ms_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramConnectRequest::_internal_ping_est_ms() const { - return _impl_.ping_est_ms_; -} -inline uint32_t CMsgSteamDatagramConnectRequest::ping_est_ms() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectRequest.ping_est_ms) - return _internal_ping_est_ms(); -} -inline void CMsgSteamDatagramConnectRequest::_internal_set_ping_est_ms(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.ping_est_ms_ = value; -} -inline void CMsgSteamDatagramConnectRequest::set_ping_est_ms(uint32_t value) { - _internal_set_ping_est_ms(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectRequest.ping_est_ms) -} - -// optional uint32 virtual_port = 9; -inline bool CMsgSteamDatagramConnectRequest::_internal_has_virtual_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectRequest::has_virtual_port() const { - return _internal_has_virtual_port(); -} -inline void CMsgSteamDatagramConnectRequest::clear_virtual_port() { - _impl_.virtual_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamDatagramConnectRequest::_internal_virtual_port() const { - return _impl_.virtual_port_; -} -inline uint32_t CMsgSteamDatagramConnectRequest::virtual_port() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectRequest.virtual_port) - return _internal_virtual_port(); -} -inline void CMsgSteamDatagramConnectRequest::_internal_set_virtual_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.virtual_port_ = value; -} -inline void CMsgSteamDatagramConnectRequest::set_virtual_port(uint32_t value) { - _internal_set_virtual_port(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectRequest.virtual_port) -} - -// optional uint32 gameserver_relay_session_id = 2; -inline bool CMsgSteamDatagramConnectRequest::_internal_has_gameserver_relay_session_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectRequest::has_gameserver_relay_session_id() const { - return _internal_has_gameserver_relay_session_id(); -} -inline void CMsgSteamDatagramConnectRequest::clear_gameserver_relay_session_id() { - _impl_.gameserver_relay_session_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramConnectRequest::_internal_gameserver_relay_session_id() const { - return _impl_.gameserver_relay_session_id_; -} -inline uint32_t CMsgSteamDatagramConnectRequest::gameserver_relay_session_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectRequest.gameserver_relay_session_id) - return _internal_gameserver_relay_session_id(); -} -inline void CMsgSteamDatagramConnectRequest::_internal_set_gameserver_relay_session_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.gameserver_relay_session_id_ = value; -} -inline void CMsgSteamDatagramConnectRequest::set_gameserver_relay_session_id(uint32_t value) { - _internal_set_gameserver_relay_session_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectRequest.gameserver_relay_session_id) -} - -// optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; -inline bool CMsgSteamDatagramConnectRequest::_internal_has_crypt() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.crypt_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectRequest::has_crypt() const { - return _internal_has_crypt(); -} -inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamDatagramConnectRequest::_internal_crypt() const { - const ::CMsgSteamDatagramSessionCryptInfoSigned* p = _impl_.crypt_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramSessionCryptInfoSigned_default_instance_); -} -inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamDatagramConnectRequest::crypt() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectRequest.crypt) - return _internal_crypt(); -} -inline void CMsgSteamDatagramConnectRequest::unsafe_arena_set_allocated_crypt( - ::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); - } - _impl_.crypt_ = crypt; - if (crypt) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectRequest.crypt) -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamDatagramConnectRequest::release_crypt() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; - _impl_.crypt_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamDatagramConnectRequest::unsafe_arena_release_crypt() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectRequest.crypt) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; - _impl_.crypt_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamDatagramConnectRequest::_internal_mutable_crypt() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.crypt_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramSessionCryptInfoSigned>(GetArenaForAllocation()); - _impl_.crypt_ = p; - } - return _impl_.crypt_; -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamDatagramConnectRequest::mutable_crypt() { - ::CMsgSteamDatagramSessionCryptInfoSigned* _msg = _internal_mutable_crypt(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectRequest.crypt) - return _msg; -} -inline void CMsgSteamDatagramConnectRequest::set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); - } - if (crypt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(crypt)); - if (message_arena != submessage_arena) { - crypt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, crypt, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.crypt_ = crypt; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectRequest.crypt) -} - -// optional .CMsgSteamDatagramCertificateSigned cert = 7; -inline bool CMsgSteamDatagramConnectRequest::_internal_has_cert() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectRequest::has_cert() const { - return _internal_has_cert(); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramConnectRequest::_internal_cert() const { - const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramCertificateSigned_default_instance_); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramConnectRequest::cert() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectRequest.cert) - return _internal_cert(); -} -inline void CMsgSteamDatagramConnectRequest::unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - _impl_.cert_ = cert; - if (cert) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectRequest.cert) -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramConnectRequest::release_cert() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramConnectRequest::unsafe_arena_release_cert() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectRequest.cert) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramConnectRequest::_internal_mutable_cert() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.cert_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); - _impl_.cert_ = p; - } - return _impl_.cert_; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramConnectRequest::mutable_cert() { - ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectRequest.cert) - return _msg; -} -inline void CMsgSteamDatagramConnectRequest::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - if (cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); - if (message_arena != submessage_arena) { - cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cert, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.cert_ = cert; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectRequest.cert) -} - -// optional fixed64 routing_secret = 10; -inline bool CMsgSteamDatagramConnectRequest::_internal_has_routing_secret() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectRequest::has_routing_secret() const { - return _internal_has_routing_secret(); -} -inline void CMsgSteamDatagramConnectRequest::clear_routing_secret() { - _impl_.routing_secret_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint64_t CMsgSteamDatagramConnectRequest::_internal_routing_secret() const { - return _impl_.routing_secret_; -} -inline uint64_t CMsgSteamDatagramConnectRequest::routing_secret() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectRequest.routing_secret) - return _internal_routing_secret(); -} -inline void CMsgSteamDatagramConnectRequest::_internal_set_routing_secret(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.routing_secret_ = value; -} -inline void CMsgSteamDatagramConnectRequest::set_routing_secret(uint64_t value) { - _internal_set_routing_secret(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectRequest.routing_secret) -} - -// optional fixed64 legacy_client_steam_id = 3; -inline bool CMsgSteamDatagramConnectRequest::_internal_has_legacy_client_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectRequest::has_legacy_client_steam_id() const { - return _internal_has_legacy_client_steam_id(); -} -inline void CMsgSteamDatagramConnectRequest::clear_legacy_client_steam_id() { - _impl_.legacy_client_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CMsgSteamDatagramConnectRequest::_internal_legacy_client_steam_id() const { - return _impl_.legacy_client_steam_id_; -} -inline uint64_t CMsgSteamDatagramConnectRequest::legacy_client_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectRequest.legacy_client_steam_id) - return _internal_legacy_client_steam_id(); -} -inline void CMsgSteamDatagramConnectRequest::_internal_set_legacy_client_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.legacy_client_steam_id_ = value; -} -inline void CMsgSteamDatagramConnectRequest::set_legacy_client_steam_id(uint64_t value) { - _internal_set_legacy_client_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectRequest.legacy_client_steam_id) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramConnectOK - -// optional fixed32 client_connection_id = 1; -inline bool CMsgSteamDatagramConnectOK::_internal_has_client_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectOK::has_client_connection_id() const { - return _internal_has_client_connection_id(); -} -inline void CMsgSteamDatagramConnectOK::clear_client_connection_id() { - _impl_.client_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramConnectOK::_internal_client_connection_id() const { - return _impl_.client_connection_id_; -} -inline uint32_t CMsgSteamDatagramConnectOK::client_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectOK.client_connection_id) - return _internal_client_connection_id(); -} -inline void CMsgSteamDatagramConnectOK::_internal_set_client_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.client_connection_id_ = value; -} -inline void CMsgSteamDatagramConnectOK::set_client_connection_id(uint32_t value) { - _internal_set_client_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectOK.client_connection_id) -} - -// optional fixed32 server_connection_id = 7; -inline bool CMsgSteamDatagramConnectOK::_internal_has_server_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectOK::has_server_connection_id() const { - return _internal_has_server_connection_id(); -} -inline void CMsgSteamDatagramConnectOK::clear_server_connection_id() { - _impl_.server_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramConnectOK::_internal_server_connection_id() const { - return _impl_.server_connection_id_; -} -inline uint32_t CMsgSteamDatagramConnectOK::server_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectOK.server_connection_id) - return _internal_server_connection_id(); -} -inline void CMsgSteamDatagramConnectOK::_internal_set_server_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.server_connection_id_ = value; -} -inline void CMsgSteamDatagramConnectOK::set_server_connection_id(uint32_t value) { - _internal_set_server_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectOK.server_connection_id) -} - -// optional fixed64 your_timestamp = 3; -inline bool CMsgSteamDatagramConnectOK::_internal_has_your_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectOK::has_your_timestamp() const { - return _internal_has_your_timestamp(); -} -inline void CMsgSteamDatagramConnectOK::clear_your_timestamp() { - _impl_.your_timestamp_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CMsgSteamDatagramConnectOK::_internal_your_timestamp() const { - return _impl_.your_timestamp_; -} -inline uint64_t CMsgSteamDatagramConnectOK::your_timestamp() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectOK.your_timestamp) - return _internal_your_timestamp(); -} -inline void CMsgSteamDatagramConnectOK::_internal_set_your_timestamp(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.your_timestamp_ = value; -} -inline void CMsgSteamDatagramConnectOK::set_your_timestamp(uint64_t value) { - _internal_set_your_timestamp(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectOK.your_timestamp) -} - -// optional uint32 delay_time_usec = 4; -inline bool CMsgSteamDatagramConnectOK::_internal_has_delay_time_usec() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectOK::has_delay_time_usec() const { - return _internal_has_delay_time_usec(); -} -inline void CMsgSteamDatagramConnectOK::clear_delay_time_usec() { - _impl_.delay_time_usec_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamDatagramConnectOK::_internal_delay_time_usec() const { - return _impl_.delay_time_usec_; -} -inline uint32_t CMsgSteamDatagramConnectOK::delay_time_usec() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectOK.delay_time_usec) - return _internal_delay_time_usec(); -} -inline void CMsgSteamDatagramConnectOK::_internal_set_delay_time_usec(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.delay_time_usec_ = value; -} -inline void CMsgSteamDatagramConnectOK::set_delay_time_usec(uint32_t value) { - _internal_set_delay_time_usec(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectOK.delay_time_usec) -} - -// optional uint32 gameserver_relay_session_id = 2; -inline bool CMsgSteamDatagramConnectOK::_internal_has_gameserver_relay_session_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectOK::has_gameserver_relay_session_id() const { - return _internal_has_gameserver_relay_session_id(); -} -inline void CMsgSteamDatagramConnectOK::clear_gameserver_relay_session_id() { - _impl_.gameserver_relay_session_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramConnectOK::_internal_gameserver_relay_session_id() const { - return _impl_.gameserver_relay_session_id_; -} -inline uint32_t CMsgSteamDatagramConnectOK::gameserver_relay_session_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectOK.gameserver_relay_session_id) - return _internal_gameserver_relay_session_id(); -} -inline void CMsgSteamDatagramConnectOK::_internal_set_gameserver_relay_session_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.gameserver_relay_session_id_ = value; -} -inline void CMsgSteamDatagramConnectOK::set_gameserver_relay_session_id(uint32_t value) { - _internal_set_gameserver_relay_session_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectOK.gameserver_relay_session_id) -} - -// optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; -inline bool CMsgSteamDatagramConnectOK::_internal_has_crypt() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.crypt_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectOK::has_crypt() const { - return _internal_has_crypt(); -} -inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamDatagramConnectOK::_internal_crypt() const { - const ::CMsgSteamDatagramSessionCryptInfoSigned* p = _impl_.crypt_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramSessionCryptInfoSigned_default_instance_); -} -inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamDatagramConnectOK::crypt() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectOK.crypt) - return _internal_crypt(); -} -inline void CMsgSteamDatagramConnectOK::unsafe_arena_set_allocated_crypt( - ::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); - } - _impl_.crypt_ = crypt; - if (crypt) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectOK.crypt) -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamDatagramConnectOK::release_crypt() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; - _impl_.crypt_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamDatagramConnectOK::unsafe_arena_release_crypt() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectOK.crypt) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; - _impl_.crypt_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamDatagramConnectOK::_internal_mutable_crypt() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.crypt_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramSessionCryptInfoSigned>(GetArenaForAllocation()); - _impl_.crypt_ = p; - } - return _impl_.crypt_; -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamDatagramConnectOK::mutable_crypt() { - ::CMsgSteamDatagramSessionCryptInfoSigned* _msg = _internal_mutable_crypt(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectOK.crypt) - return _msg; -} -inline void CMsgSteamDatagramConnectOK::set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); - } - if (crypt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(crypt)); - if (message_arena != submessage_arena) { - crypt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, crypt, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.crypt_ = crypt; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectOK.crypt) -} - -// optional .CMsgSteamDatagramCertificateSigned cert = 6; -inline bool CMsgSteamDatagramConnectOK::_internal_has_cert() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectOK::has_cert() const { - return _internal_has_cert(); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramConnectOK::_internal_cert() const { - const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramCertificateSigned_default_instance_); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramConnectOK::cert() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectOK.cert) - return _internal_cert(); -} -inline void CMsgSteamDatagramConnectOK::unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - _impl_.cert_ = cert; - if (cert) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectOK.cert) -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramConnectOK::release_cert() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramConnectOK::unsafe_arena_release_cert() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectOK.cert) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramConnectOK::_internal_mutable_cert() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.cert_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); - _impl_.cert_ = p; - } - return _impl_.cert_; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramConnectOK::mutable_cert() { - ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectOK.cert) - return _msg; -} -inline void CMsgSteamDatagramConnectOK::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - if (cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); - if (message_arena != submessage_arena) { - cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cert, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.cert_ = cert; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectOK.cert) -} - -// ------------------------------------------------------------------- - -// CMsgSteamNetworkingP2PSDRRoutingSummary - -// optional uint32 initial_ping = 1; -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_initial_ping() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_initial_ping() const { - return _internal_has_initial_ping(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_initial_ping() { - _impl_.initial_ping_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_initial_ping() const { - return _impl_.initial_ping_; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::initial_ping() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_ping) - return _internal_initial_ping(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_initial_ping(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.initial_ping_ = value; -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_initial_ping(uint32_t value) { - _internal_set_initial_ping(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_ping) -} - -// optional uint32 initial_ping_front_local = 2; -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_initial_ping_front_local() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_initial_ping_front_local() const { - return _internal_has_initial_ping_front_local(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_initial_ping_front_local() { - _impl_.initial_ping_front_local_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_initial_ping_front_local() const { - return _impl_.initial_ping_front_local_; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::initial_ping_front_local() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_ping_front_local) - return _internal_initial_ping_front_local(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_initial_ping_front_local(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.initial_ping_front_local_ = value; -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_initial_ping_front_local(uint32_t value) { - _internal_set_initial_ping_front_local(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_ping_front_local) -} - -// optional uint32 initial_ping_front_remote = 3; -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_initial_ping_front_remote() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_initial_ping_front_remote() const { - return _internal_has_initial_ping_front_remote(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_initial_ping_front_remote() { - _impl_.initial_ping_front_remote_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_initial_ping_front_remote() const { - return _impl_.initial_ping_front_remote_; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::initial_ping_front_remote() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_ping_front_remote) - return _internal_initial_ping_front_remote(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_initial_ping_front_remote(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.initial_ping_front_remote_ = value; -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_initial_ping_front_remote(uint32_t value) { - _internal_set_initial_ping_front_remote(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_ping_front_remote) -} - -// optional uint32 initial_score = 4; -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_initial_score() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_initial_score() const { - return _internal_has_initial_score(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_initial_score() { - _impl_.initial_score_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_initial_score() const { - return _impl_.initial_score_; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::initial_score() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_score) - return _internal_initial_score(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_initial_score(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.initial_score_ = value; -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_initial_score(uint32_t value) { - _internal_set_initial_score(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_score) -} - -// optional fixed32 initial_pop_local = 5; -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_initial_pop_local() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_initial_pop_local() const { - return _internal_has_initial_pop_local(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_initial_pop_local() { - _impl_.initial_pop_local_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_initial_pop_local() const { - return _impl_.initial_pop_local_; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::initial_pop_local() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_pop_local) - return _internal_initial_pop_local(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_initial_pop_local(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.initial_pop_local_ = value; -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_initial_pop_local(uint32_t value) { - _internal_set_initial_pop_local(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_pop_local) -} - -// optional fixed32 initial_pop_remote = 6; -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_initial_pop_remote() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_initial_pop_remote() const { - return _internal_has_initial_pop_remote(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_initial_pop_remote() { - _impl_.initial_pop_remote_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_initial_pop_remote() const { - return _impl_.initial_pop_remote_; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::initial_pop_remote() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_pop_remote) - return _internal_initial_pop_remote(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_initial_pop_remote(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.initial_pop_remote_ = value; -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_initial_pop_remote(uint32_t value) { - _internal_set_initial_pop_remote(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.initial_pop_remote) -} - -// optional uint32 best_ping = 11; -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_best_ping() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_best_ping() const { - return _internal_has_best_ping(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_best_ping() { - _impl_.best_ping_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_best_ping() const { - return _impl_.best_ping_; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::best_ping() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.best_ping) - return _internal_best_ping(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_best_ping(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.best_ping_ = value; -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_best_ping(uint32_t value) { - _internal_set_best_ping(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.best_ping) -} - -// optional uint32 best_ping_front_local = 12; -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_best_ping_front_local() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_best_ping_front_local() const { - return _internal_has_best_ping_front_local(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_best_ping_front_local() { - _impl_.best_ping_front_local_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_best_ping_front_local() const { - return _impl_.best_ping_front_local_; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::best_ping_front_local() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.best_ping_front_local) - return _internal_best_ping_front_local(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_best_ping_front_local(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.best_ping_front_local_ = value; -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_best_ping_front_local(uint32_t value) { - _internal_set_best_ping_front_local(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.best_ping_front_local) -} - -// optional uint32 best_ping_front_remote = 13; -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_best_ping_front_remote() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_best_ping_front_remote() const { - return _internal_has_best_ping_front_remote(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_best_ping_front_remote() { - _impl_.best_ping_front_remote_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_best_ping_front_remote() const { - return _impl_.best_ping_front_remote_; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::best_ping_front_remote() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.best_ping_front_remote) - return _internal_best_ping_front_remote(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_best_ping_front_remote(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.best_ping_front_remote_ = value; -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_best_ping_front_remote(uint32_t value) { - _internal_set_best_ping_front_remote(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.best_ping_front_remote) -} - -// optional uint32 best_score = 14; -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_best_score() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_best_score() const { - return _internal_has_best_score(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_best_score() { - _impl_.best_score_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_best_score() const { - return _impl_.best_score_; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::best_score() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.best_score) - return _internal_best_score(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_best_score(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.best_score_ = value; -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_best_score(uint32_t value) { - _internal_set_best_score(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.best_score) -} - -// optional fixed32 best_pop_local = 15; -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_best_pop_local() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_best_pop_local() const { - return _internal_has_best_pop_local(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_best_pop_local() { - _impl_.best_pop_local_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_best_pop_local() const { - return _impl_.best_pop_local_; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::best_pop_local() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.best_pop_local) - return _internal_best_pop_local(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_best_pop_local(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.best_pop_local_ = value; -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_best_pop_local(uint32_t value) { - _internal_set_best_pop_local(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.best_pop_local) -} - -// optional fixed32 best_pop_remote = 16; -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_best_pop_remote() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_best_pop_remote() const { - return _internal_has_best_pop_remote(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_best_pop_remote() { - _impl_.best_pop_remote_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_best_pop_remote() const { - return _impl_.best_pop_remote_; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::best_pop_remote() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.best_pop_remote) - return _internal_best_pop_remote(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_best_pop_remote(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.best_pop_remote_ = value; -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_best_pop_remote(uint32_t value) { - _internal_set_best_pop_remote(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.best_pop_remote) -} - -// optional uint32 best_time = 17; -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_best_time() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_best_time() const { - return _internal_has_best_time(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_best_time() { - _impl_.best_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_best_time() const { - return _impl_.best_time_; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::best_time() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.best_time) - return _internal_best_time(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_best_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.best_time_ = value; -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_best_time(uint32_t value) { - _internal_set_best_time(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.best_time) -} - -// optional uint32 negotiation_ms = 7; -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_negotiation_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_negotiation_ms() const { - return _internal_has_negotiation_ms(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_negotiation_ms() { - _impl_.negotiation_ms_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_negotiation_ms() const { - return _impl_.negotiation_ms_; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::negotiation_ms() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.negotiation_ms) - return _internal_negotiation_ms(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_negotiation_ms(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.negotiation_ms_ = value; -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_negotiation_ms(uint32_t value) { - _internal_set_negotiation_ms(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.negotiation_ms) -} - -// optional uint32 selected_seconds = 8; -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_has_selected_seconds() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PSDRRoutingSummary::has_selected_seconds() const { - return _internal_has_selected_seconds(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::clear_selected_seconds() { - _impl_.selected_seconds_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_selected_seconds() const { - return _impl_.selected_seconds_; -} -inline uint32_t CMsgSteamNetworkingP2PSDRRoutingSummary::selected_seconds() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PSDRRoutingSummary.selected_seconds) - return _internal_selected_seconds(); -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::_internal_set_selected_seconds(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.selected_seconds_ = value; -} -inline void CMsgSteamNetworkingP2PSDRRoutingSummary::set_selected_seconds(uint32_t value) { - _internal_set_selected_seconds(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PSDRRoutingSummary.selected_seconds) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramP2PRoutingSummary - -// optional .CMsgSteamNetworkingICESessionSummary ice = 2; -inline bool CMsgSteamDatagramP2PRoutingSummary::_internal_has_ice() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.ice_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramP2PRoutingSummary::has_ice() const { - return _internal_has_ice(); -} -inline const ::CMsgSteamNetworkingICESessionSummary& CMsgSteamDatagramP2PRoutingSummary::_internal_ice() const { - const ::CMsgSteamNetworkingICESessionSummary* p = _impl_.ice_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamNetworkingICESessionSummary_default_instance_); -} -inline const ::CMsgSteamNetworkingICESessionSummary& CMsgSteamDatagramP2PRoutingSummary::ice() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutingSummary.ice) - return _internal_ice(); -} -inline void CMsgSteamDatagramP2PRoutingSummary::unsafe_arena_set_allocated_ice( - ::CMsgSteamNetworkingICESessionSummary* ice) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ice_); - } - _impl_.ice_ = ice; - if (ice) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramP2PRoutingSummary.ice) -} -inline ::CMsgSteamNetworkingICESessionSummary* CMsgSteamDatagramP2PRoutingSummary::release_ice() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamNetworkingICESessionSummary* temp = _impl_.ice_; - _impl_.ice_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamNetworkingICESessionSummary* CMsgSteamDatagramP2PRoutingSummary::unsafe_arena_release_ice() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PRoutingSummary.ice) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamNetworkingICESessionSummary* temp = _impl_.ice_; - _impl_.ice_ = nullptr; - return temp; -} -inline ::CMsgSteamNetworkingICESessionSummary* CMsgSteamDatagramP2PRoutingSummary::_internal_mutable_ice() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.ice_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamNetworkingICESessionSummary>(GetArenaForAllocation()); - _impl_.ice_ = p; - } - return _impl_.ice_; -} -inline ::CMsgSteamNetworkingICESessionSummary* CMsgSteamDatagramP2PRoutingSummary::mutable_ice() { - ::CMsgSteamNetworkingICESessionSummary* _msg = _internal_mutable_ice(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PRoutingSummary.ice) - return _msg; -} -inline void CMsgSteamDatagramP2PRoutingSummary::set_allocated_ice(::CMsgSteamNetworkingICESessionSummary* ice) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ice_); - } - if (ice) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ice)); - if (message_arena != submessage_arena) { - ice = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, ice, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.ice_ = ice; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PRoutingSummary.ice) -} - -// optional .CMsgSteamNetworkingP2PSDRRoutingSummary sdr = 3; -inline bool CMsgSteamDatagramP2PRoutingSummary::_internal_has_sdr() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.sdr_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramP2PRoutingSummary::has_sdr() const { - return _internal_has_sdr(); -} -inline void CMsgSteamDatagramP2PRoutingSummary::clear_sdr() { - if (_impl_.sdr_ != nullptr) _impl_.sdr_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CMsgSteamNetworkingP2PSDRRoutingSummary& CMsgSteamDatagramP2PRoutingSummary::_internal_sdr() const { - const ::CMsgSteamNetworkingP2PSDRRoutingSummary* p = _impl_.sdr_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamNetworkingP2PSDRRoutingSummary_default_instance_); -} -inline const ::CMsgSteamNetworkingP2PSDRRoutingSummary& CMsgSteamDatagramP2PRoutingSummary::sdr() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutingSummary.sdr) - return _internal_sdr(); -} -inline void CMsgSteamDatagramP2PRoutingSummary::unsafe_arena_set_allocated_sdr( - ::CMsgSteamNetworkingP2PSDRRoutingSummary* sdr) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.sdr_); - } - _impl_.sdr_ = sdr; - if (sdr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramP2PRoutingSummary.sdr) -} -inline ::CMsgSteamNetworkingP2PSDRRoutingSummary* CMsgSteamDatagramP2PRoutingSummary::release_sdr() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamNetworkingP2PSDRRoutingSummary* temp = _impl_.sdr_; - _impl_.sdr_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamNetworkingP2PSDRRoutingSummary* CMsgSteamDatagramP2PRoutingSummary::unsafe_arena_release_sdr() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PRoutingSummary.sdr) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamNetworkingP2PSDRRoutingSummary* temp = _impl_.sdr_; - _impl_.sdr_ = nullptr; - return temp; -} -inline ::CMsgSteamNetworkingP2PSDRRoutingSummary* CMsgSteamDatagramP2PRoutingSummary::_internal_mutable_sdr() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.sdr_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamNetworkingP2PSDRRoutingSummary>(GetArenaForAllocation()); - _impl_.sdr_ = p; - } - return _impl_.sdr_; -} -inline ::CMsgSteamNetworkingP2PSDRRoutingSummary* CMsgSteamDatagramP2PRoutingSummary::mutable_sdr() { - ::CMsgSteamNetworkingP2PSDRRoutingSummary* _msg = _internal_mutable_sdr(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PRoutingSummary.sdr) - return _msg; -} -inline void CMsgSteamDatagramP2PRoutingSummary::set_allocated_sdr(::CMsgSteamNetworkingP2PSDRRoutingSummary* sdr) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.sdr_; - } - if (sdr) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(sdr); - if (message_arena != submessage_arena) { - sdr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, sdr, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.sdr_ = sdr; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PRoutingSummary.sdr) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramConnectionClosed - -// optional fixed32 to_connection_id = 7; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_to_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_to_connection_id() const { - return _internal_has_to_connection_id(); -} -inline void CMsgSteamDatagramConnectionClosed::clear_to_connection_id() { - _impl_.to_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgSteamDatagramConnectionClosed::_internal_to_connection_id() const { - return _impl_.to_connection_id_; -} -inline uint32_t CMsgSteamDatagramConnectionClosed::to_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.to_connection_id) - return _internal_to_connection_id(); -} -inline void CMsgSteamDatagramConnectionClosed::_internal_set_to_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.to_connection_id_ = value; -} -inline void CMsgSteamDatagramConnectionClosed::set_to_connection_id(uint32_t value) { - _internal_set_to_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.to_connection_id) -} - -// optional fixed32 from_connection_id = 8; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_from_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_from_connection_id() const { - return _internal_has_from_connection_id(); -} -inline void CMsgSteamDatagramConnectionClosed::clear_from_connection_id() { - _impl_.from_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgSteamDatagramConnectionClosed::_internal_from_connection_id() const { - return _impl_.from_connection_id_; -} -inline uint32_t CMsgSteamDatagramConnectionClosed::from_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.from_connection_id) - return _internal_from_connection_id(); -} -inline void CMsgSteamDatagramConnectionClosed::_internal_set_from_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.from_connection_id_ = value; -} -inline void CMsgSteamDatagramConnectionClosed::set_from_connection_id(uint32_t value) { - _internal_set_from_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.from_connection_id) -} - -// optional string from_identity_string = 15; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_from_identity_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_from_identity_string() const { - return _internal_has_from_identity_string(); -} -inline void CMsgSteamDatagramConnectionClosed::clear_from_identity_string() { - _impl_.from_identity_string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgSteamDatagramConnectionClosed::from_identity_string() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.from_identity_string) - return _internal_from_identity_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramConnectionClosed::set_from_identity_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.from_identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.from_identity_string) -} -inline std::string* CMsgSteamDatagramConnectionClosed::mutable_from_identity_string() { - std::string* _s = _internal_mutable_from_identity_string(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionClosed.from_identity_string) - return _s; -} -inline const std::string& CMsgSteamDatagramConnectionClosed::_internal_from_identity_string() const { - return _impl_.from_identity_string_.Get(); -} -inline void CMsgSteamDatagramConnectionClosed::_internal_set_from_identity_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.from_identity_string_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramConnectionClosed::_internal_mutable_from_identity_string() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.from_identity_string_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramConnectionClosed::release_from_identity_string() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionClosed.from_identity_string) - if (!_internal_has_from_identity_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.from_identity_string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.from_identity_string_.IsDefault()) { - _impl_.from_identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramConnectionClosed::set_allocated_from_identity_string(std::string* from_identity_string) { - if (from_identity_string != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.from_identity_string_.SetAllocated(from_identity_string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.from_identity_string_.IsDefault()) { - _impl_.from_identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionClosed.from_identity_string) -} - -// optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_from_identity_binary = 13; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_legacy_from_identity_binary() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.legacy_from_identity_binary_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_legacy_from_identity_binary() const { - return _internal_has_legacy_from_identity_binary(); -} -inline const ::CMsgSteamNetworkingIdentityLegacyBinary& CMsgSteamDatagramConnectionClosed::_internal_legacy_from_identity_binary() const { - const ::CMsgSteamNetworkingIdentityLegacyBinary* p = _impl_.legacy_from_identity_binary_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamNetworkingIdentityLegacyBinary_default_instance_); -} -inline const ::CMsgSteamNetworkingIdentityLegacyBinary& CMsgSteamDatagramConnectionClosed::legacy_from_identity_binary() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.legacy_from_identity_binary) - return _internal_legacy_from_identity_binary(); -} -inline void CMsgSteamDatagramConnectionClosed::unsafe_arena_set_allocated_legacy_from_identity_binary( - ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_from_identity_binary) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.legacy_from_identity_binary_); - } - _impl_.legacy_from_identity_binary_ = legacy_from_identity_binary; - if (legacy_from_identity_binary) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionClosed.legacy_from_identity_binary) -} -inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamDatagramConnectionClosed::release_legacy_from_identity_binary() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSteamNetworkingIdentityLegacyBinary* temp = _impl_.legacy_from_identity_binary_; - _impl_.legacy_from_identity_binary_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamDatagramConnectionClosed::unsafe_arena_release_legacy_from_identity_binary() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionClosed.legacy_from_identity_binary) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSteamNetworkingIdentityLegacyBinary* temp = _impl_.legacy_from_identity_binary_; - _impl_.legacy_from_identity_binary_ = nullptr; - return temp; -} -inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamDatagramConnectionClosed::_internal_mutable_legacy_from_identity_binary() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.legacy_from_identity_binary_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamNetworkingIdentityLegacyBinary>(GetArenaForAllocation()); - _impl_.legacy_from_identity_binary_ = p; - } - return _impl_.legacy_from_identity_binary_; -} -inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamDatagramConnectionClosed::mutable_legacy_from_identity_binary() { - ::CMsgSteamNetworkingIdentityLegacyBinary* _msg = _internal_mutable_legacy_from_identity_binary(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionClosed.legacy_from_identity_binary) - return _msg; -} -inline void CMsgSteamDatagramConnectionClosed::set_allocated_legacy_from_identity_binary(::CMsgSteamNetworkingIdentityLegacyBinary* legacy_from_identity_binary) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.legacy_from_identity_binary_); - } - if (legacy_from_identity_binary) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(legacy_from_identity_binary)); - if (message_arena != submessage_arena) { - legacy_from_identity_binary = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, legacy_from_identity_binary, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.legacy_from_identity_binary_ = legacy_from_identity_binary; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionClosed.legacy_from_identity_binary) -} - -// optional fixed64 legacy_from_steam_id = 3; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_legacy_from_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_legacy_from_steam_id() const { - return _internal_has_legacy_from_steam_id(); -} -inline void CMsgSteamDatagramConnectionClosed::clear_legacy_from_steam_id() { - _impl_.legacy_from_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint64_t CMsgSteamDatagramConnectionClosed::_internal_legacy_from_steam_id() const { - return _impl_.legacy_from_steam_id_; -} -inline uint64_t CMsgSteamDatagramConnectionClosed::legacy_from_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.legacy_from_steam_id) - return _internal_legacy_from_steam_id(); -} -inline void CMsgSteamDatagramConnectionClosed::_internal_set_legacy_from_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.legacy_from_steam_id_ = value; -} -inline void CMsgSteamDatagramConnectionClosed::set_legacy_from_steam_id(uint64_t value) { - _internal_set_legacy_from_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.legacy_from_steam_id) -} - -// optional uint32 legacy_gameserver_relay_session_id = 2; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_legacy_gameserver_relay_session_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_legacy_gameserver_relay_session_id() const { - return _internal_has_legacy_gameserver_relay_session_id(); -} -inline void CMsgSteamDatagramConnectionClosed::clear_legacy_gameserver_relay_session_id() { - _impl_.legacy_gameserver_relay_session_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSteamDatagramConnectionClosed::_internal_legacy_gameserver_relay_session_id() const { - return _impl_.legacy_gameserver_relay_session_id_; -} -inline uint32_t CMsgSteamDatagramConnectionClosed::legacy_gameserver_relay_session_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.legacy_gameserver_relay_session_id) - return _internal_legacy_gameserver_relay_session_id(); -} -inline void CMsgSteamDatagramConnectionClosed::_internal_set_legacy_gameserver_relay_session_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.legacy_gameserver_relay_session_id_ = value; -} -inline void CMsgSteamDatagramConnectionClosed::set_legacy_gameserver_relay_session_id(uint32_t value) { - _internal_set_legacy_gameserver_relay_session_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.legacy_gameserver_relay_session_id) -} - -// optional fixed32 to_relay_session_id = 9; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_to_relay_session_id() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_to_relay_session_id() const { - return _internal_has_to_relay_session_id(); -} -inline void CMsgSteamDatagramConnectionClosed::clear_to_relay_session_id() { - _impl_.to_relay_session_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CMsgSteamDatagramConnectionClosed::_internal_to_relay_session_id() const { - return _impl_.to_relay_session_id_; -} -inline uint32_t CMsgSteamDatagramConnectionClosed::to_relay_session_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.to_relay_session_id) - return _internal_to_relay_session_id(); -} -inline void CMsgSteamDatagramConnectionClosed::_internal_set_to_relay_session_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.to_relay_session_id_ = value; -} -inline void CMsgSteamDatagramConnectionClosed::set_to_relay_session_id(uint32_t value) { - _internal_set_to_relay_session_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.to_relay_session_id) -} - -// optional fixed32 from_relay_session_id = 10; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_from_relay_session_id() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_from_relay_session_id() const { - return _internal_has_from_relay_session_id(); -} -inline void CMsgSteamDatagramConnectionClosed::clear_from_relay_session_id() { - _impl_.from_relay_session_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CMsgSteamDatagramConnectionClosed::_internal_from_relay_session_id() const { - return _impl_.from_relay_session_id_; -} -inline uint32_t CMsgSteamDatagramConnectionClosed::from_relay_session_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.from_relay_session_id) - return _internal_from_relay_session_id(); -} -inline void CMsgSteamDatagramConnectionClosed::_internal_set_from_relay_session_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.from_relay_session_id_ = value; -} -inline void CMsgSteamDatagramConnectionClosed::set_from_relay_session_id(uint32_t value) { - _internal_set_from_relay_session_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.from_relay_session_id) -} - -// optional bytes forward_target_relay_routing_token = 11; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_forward_target_relay_routing_token() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_forward_target_relay_routing_token() const { - return _internal_has_forward_target_relay_routing_token(); -} -inline void CMsgSteamDatagramConnectionClosed::clear_forward_target_relay_routing_token() { - _impl_.forward_target_relay_routing_token_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramConnectionClosed::forward_target_relay_routing_token() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.forward_target_relay_routing_token) - return _internal_forward_target_relay_routing_token(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramConnectionClosed::set_forward_target_relay_routing_token(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.forward_target_relay_routing_token_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.forward_target_relay_routing_token) -} -inline std::string* CMsgSteamDatagramConnectionClosed::mutable_forward_target_relay_routing_token() { - std::string* _s = _internal_mutable_forward_target_relay_routing_token(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionClosed.forward_target_relay_routing_token) - return _s; -} -inline const std::string& CMsgSteamDatagramConnectionClosed::_internal_forward_target_relay_routing_token() const { - return _impl_.forward_target_relay_routing_token_.Get(); -} -inline void CMsgSteamDatagramConnectionClosed::_internal_set_forward_target_relay_routing_token(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.forward_target_relay_routing_token_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramConnectionClosed::_internal_mutable_forward_target_relay_routing_token() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.forward_target_relay_routing_token_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramConnectionClosed::release_forward_target_relay_routing_token() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionClosed.forward_target_relay_routing_token) - if (!_internal_has_forward_target_relay_routing_token()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.forward_target_relay_routing_token_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.forward_target_relay_routing_token_.IsDefault()) { - _impl_.forward_target_relay_routing_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramConnectionClosed::set_allocated_forward_target_relay_routing_token(std::string* forward_target_relay_routing_token) { - if (forward_target_relay_routing_token != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.forward_target_relay_routing_token_.SetAllocated(forward_target_relay_routing_token, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.forward_target_relay_routing_token_.IsDefault()) { - _impl_.forward_target_relay_routing_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionClosed.forward_target_relay_routing_token) -} - -// optional uint32 forward_target_revision = 12; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_forward_target_revision() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_forward_target_revision() const { - return _internal_has_forward_target_revision(); -} -inline void CMsgSteamDatagramConnectionClosed::clear_forward_target_revision() { - _impl_.forward_target_revision_ = 0u; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint32_t CMsgSteamDatagramConnectionClosed::_internal_forward_target_revision() const { - return _impl_.forward_target_revision_; -} -inline uint32_t CMsgSteamDatagramConnectionClosed::forward_target_revision() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.forward_target_revision) - return _internal_forward_target_revision(); -} -inline void CMsgSteamDatagramConnectionClosed::_internal_set_forward_target_revision(uint32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.forward_target_revision_ = value; -} -inline void CMsgSteamDatagramConnectionClosed::set_forward_target_revision(uint32_t value) { - _internal_set_forward_target_revision(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.forward_target_revision) -} - -// optional .CMsgSteamDatagramConnectionClosed.ERelayMode relay_mode = 4 [default = None]; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_relay_mode() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_relay_mode() const { - return _internal_has_relay_mode(); -} -inline void CMsgSteamDatagramConnectionClosed::clear_relay_mode() { - _impl_.relay_mode_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline ::CMsgSteamDatagramConnectionClosed_ERelayMode CMsgSteamDatagramConnectionClosed::_internal_relay_mode() const { - return static_cast< ::CMsgSteamDatagramConnectionClosed_ERelayMode >(_impl_.relay_mode_); -} -inline ::CMsgSteamDatagramConnectionClosed_ERelayMode CMsgSteamDatagramConnectionClosed::relay_mode() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.relay_mode) - return _internal_relay_mode(); -} -inline void CMsgSteamDatagramConnectionClosed::_internal_set_relay_mode(::CMsgSteamDatagramConnectionClosed_ERelayMode value) { - assert(::CMsgSteamDatagramConnectionClosed_ERelayMode_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.relay_mode_ = value; -} -inline void CMsgSteamDatagramConnectionClosed::set_relay_mode(::CMsgSteamDatagramConnectionClosed_ERelayMode value) { - _internal_set_relay_mode(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.relay_mode) -} - -// optional string debug = 5; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_debug() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_debug() const { - return _internal_has_debug(); -} -inline void CMsgSteamDatagramConnectionClosed::clear_debug() { - _impl_.debug_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramConnectionClosed::debug() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.debug) - return _internal_debug(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramConnectionClosed::set_debug(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.debug_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.debug) -} -inline std::string* CMsgSteamDatagramConnectionClosed::mutable_debug() { - std::string* _s = _internal_mutable_debug(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionClosed.debug) - return _s; -} -inline const std::string& CMsgSteamDatagramConnectionClosed::_internal_debug() const { - return _impl_.debug_.Get(); -} -inline void CMsgSteamDatagramConnectionClosed::_internal_set_debug(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.debug_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramConnectionClosed::_internal_mutable_debug() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.debug_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramConnectionClosed::release_debug() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionClosed.debug) - if (!_internal_has_debug()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.debug_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.debug_.IsDefault()) { - _impl_.debug_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramConnectionClosed::set_allocated_debug(std::string* debug) { - if (debug != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.debug_.SetAllocated(debug, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.debug_.IsDefault()) { - _impl_.debug_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionClosed.debug) -} - -// optional uint32 reason_code = 6; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_reason_code() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_reason_code() const { - return _internal_has_reason_code(); -} -inline void CMsgSteamDatagramConnectionClosed::clear_reason_code() { - _impl_.reason_code_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSteamDatagramConnectionClosed::_internal_reason_code() const { - return _impl_.reason_code_; -} -inline uint32_t CMsgSteamDatagramConnectionClosed::reason_code() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.reason_code) - return _internal_reason_code(); -} -inline void CMsgSteamDatagramConnectionClosed::_internal_set_reason_code(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.reason_code_ = value; -} -inline void CMsgSteamDatagramConnectionClosed::set_reason_code(uint32_t value) { - _internal_set_reason_code(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.reason_code) -} - -// optional fixed64 routing_secret = 14; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_routing_secret() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_routing_secret() const { - return _internal_has_routing_secret(); -} -inline void CMsgSteamDatagramConnectionClosed::clear_routing_secret() { - _impl_.routing_secret_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline uint64_t CMsgSteamDatagramConnectionClosed::_internal_routing_secret() const { - return _impl_.routing_secret_; -} -inline uint64_t CMsgSteamDatagramConnectionClosed::routing_secret() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.routing_secret) - return _internal_routing_secret(); -} -inline void CMsgSteamDatagramConnectionClosed::_internal_set_routing_secret(uint64_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.routing_secret_ = value; -} -inline void CMsgSteamDatagramConnectionClosed::set_routing_secret(uint64_t value) { - _internal_set_routing_secret(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.routing_secret) -} - -// optional bool not_primary_session = 16; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_not_primary_session() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_not_primary_session() const { - return _internal_has_not_primary_session(); -} -inline void CMsgSteamDatagramConnectionClosed::clear_not_primary_session() { - _impl_.not_primary_session_ = false; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline bool CMsgSteamDatagramConnectionClosed::_internal_not_primary_session() const { - return _impl_.not_primary_session_; -} -inline bool CMsgSteamDatagramConnectionClosed::not_primary_session() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.not_primary_session) - return _internal_not_primary_session(); -} -inline void CMsgSteamDatagramConnectionClosed::_internal_set_not_primary_session(bool value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.not_primary_session_ = value; -} -inline void CMsgSteamDatagramConnectionClosed::set_not_primary_session(bool value) { - _internal_set_not_primary_session(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.not_primary_session) -} - -// optional bool not_primary_transport = 19; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_not_primary_transport() const { - bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_not_primary_transport() const { - return _internal_has_not_primary_transport(); -} -inline void CMsgSteamDatagramConnectionClosed::clear_not_primary_transport() { - _impl_.not_primary_transport_ = false; - _impl_._has_bits_[0] &= ~0x00040000u; -} -inline bool CMsgSteamDatagramConnectionClosed::_internal_not_primary_transport() const { - return _impl_.not_primary_transport_; -} -inline bool CMsgSteamDatagramConnectionClosed::not_primary_transport() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.not_primary_transport) - return _internal_not_primary_transport(); -} -inline void CMsgSteamDatagramConnectionClosed::_internal_set_not_primary_transport(bool value) { - _impl_._has_bits_[0] |= 0x00040000u; - _impl_.not_primary_transport_ = value; -} -inline void CMsgSteamDatagramConnectionClosed::set_not_primary_transport(bool value) { - _internal_set_not_primary_transport(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.not_primary_transport) -} - -// optional bool relay_override_active = 22; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_relay_override_active() const { - bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_relay_override_active() const { - return _internal_has_relay_override_active(); -} -inline void CMsgSteamDatagramConnectionClosed::clear_relay_override_active() { - _impl_.relay_override_active_ = false; - _impl_._has_bits_[0] &= ~0x00080000u; -} -inline bool CMsgSteamDatagramConnectionClosed::_internal_relay_override_active() const { - return _impl_.relay_override_active_; -} -inline bool CMsgSteamDatagramConnectionClosed::relay_override_active() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.relay_override_active) - return _internal_relay_override_active(); -} -inline void CMsgSteamDatagramConnectionClosed::_internal_set_relay_override_active(bool value) { - _impl_._has_bits_[0] |= 0x00080000u; - _impl_.relay_override_active_ = value; -} -inline void CMsgSteamDatagramConnectionClosed::set_relay_override_active(bool value) { - _internal_set_relay_override_active(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionClosed.relay_override_active) -} - -// optional .CMsgSteamDatagramConnectionQuality quality_relay = 17; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_quality_relay() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.quality_relay_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_quality_relay() const { - return _internal_has_quality_relay(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionClosed::_internal_quality_relay() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_relay_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionClosed::quality_relay() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.quality_relay) - return _internal_quality_relay(); -} -inline void CMsgSteamDatagramConnectionClosed::unsafe_arena_set_allocated_quality_relay( - ::CMsgSteamDatagramConnectionQuality* quality_relay) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); - } - _impl_.quality_relay_ = quality_relay; - if (quality_relay) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionClosed.quality_relay) -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionClosed::release_quality_relay() { - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; - _impl_.quality_relay_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionClosed::unsafe_arena_release_quality_relay() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionClosed.quality_relay) - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; - _impl_.quality_relay_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionClosed::_internal_mutable_quality_relay() { - _impl_._has_bits_[0] |= 0x00000010u; - if (_impl_.quality_relay_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.quality_relay_ = p; - } - return _impl_.quality_relay_; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionClosed::mutable_quality_relay() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_relay(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionClosed.quality_relay) - return _msg; -} -inline void CMsgSteamDatagramConnectionClosed::set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); - } - if (quality_relay) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_relay)); - if (message_arena != submessage_arena) { - quality_relay = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, quality_relay, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.quality_relay_ = quality_relay; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionClosed.quality_relay) -} - -// optional .CMsgSteamDatagramConnectionQuality quality_e2e = 18; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_quality_e2e() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - PROTOBUF_ASSUME(!value || _impl_.quality_e2e_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_quality_e2e() const { - return _internal_has_quality_e2e(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionClosed::_internal_quality_e2e() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_e2e_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionClosed::quality_e2e() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.quality_e2e) - return _internal_quality_e2e(); -} -inline void CMsgSteamDatagramConnectionClosed::unsafe_arena_set_allocated_quality_e2e( - ::CMsgSteamDatagramConnectionQuality* quality_e2e) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); - } - _impl_.quality_e2e_ = quality_e2e; - if (quality_e2e) { - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionClosed.quality_e2e) -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionClosed::release_quality_e2e() { - _impl_._has_bits_[0] &= ~0x00000020u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; - _impl_.quality_e2e_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionClosed::unsafe_arena_release_quality_e2e() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionClosed.quality_e2e) - _impl_._has_bits_[0] &= ~0x00000020u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; - _impl_.quality_e2e_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionClosed::_internal_mutable_quality_e2e() { - _impl_._has_bits_[0] |= 0x00000020u; - if (_impl_.quality_e2e_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.quality_e2e_ = p; - } - return _impl_.quality_e2e_; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionClosed::mutable_quality_e2e() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_e2e(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionClosed.quality_e2e) - return _msg; -} -inline void CMsgSteamDatagramConnectionClosed::set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); - } - if (quality_e2e) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_e2e)); - if (message_arena != submessage_arena) { - quality_e2e = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, quality_e2e, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - _impl_.quality_e2e_ = quality_e2e; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionClosed.quality_e2e) -} - -// optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 21; -inline bool CMsgSteamDatagramConnectionClosed::_internal_has_p2p_routing_summary() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - PROTOBUF_ASSUME(!value || _impl_.p2p_routing_summary_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionClosed::has_p2p_routing_summary() const { - return _internal_has_p2p_routing_summary(); -} -inline void CMsgSteamDatagramConnectionClosed::clear_p2p_routing_summary() { - if (_impl_.p2p_routing_summary_ != nullptr) _impl_.p2p_routing_summary_->Clear(); - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline const ::CMsgSteamDatagramP2PRoutingSummary& CMsgSteamDatagramConnectionClosed::_internal_p2p_routing_summary() const { - const ::CMsgSteamDatagramP2PRoutingSummary* p = _impl_.p2p_routing_summary_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramP2PRoutingSummary_default_instance_); -} -inline const ::CMsgSteamDatagramP2PRoutingSummary& CMsgSteamDatagramConnectionClosed::p2p_routing_summary() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionClosed.p2p_routing_summary) - return _internal_p2p_routing_summary(); -} -inline void CMsgSteamDatagramConnectionClosed::unsafe_arena_set_allocated_p2p_routing_summary( - ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.p2p_routing_summary_); - } - _impl_.p2p_routing_summary_ = p2p_routing_summary; - if (p2p_routing_summary) { - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionClosed.p2p_routing_summary) -} -inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramConnectionClosed::release_p2p_routing_summary() { - _impl_._has_bits_[0] &= ~0x00000040u; - ::CMsgSteamDatagramP2PRoutingSummary* temp = _impl_.p2p_routing_summary_; - _impl_.p2p_routing_summary_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramConnectionClosed::unsafe_arena_release_p2p_routing_summary() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionClosed.p2p_routing_summary) - _impl_._has_bits_[0] &= ~0x00000040u; - ::CMsgSteamDatagramP2PRoutingSummary* temp = _impl_.p2p_routing_summary_; - _impl_.p2p_routing_summary_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramConnectionClosed::_internal_mutable_p2p_routing_summary() { - _impl_._has_bits_[0] |= 0x00000040u; - if (_impl_.p2p_routing_summary_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramP2PRoutingSummary>(GetArenaForAllocation()); - _impl_.p2p_routing_summary_ = p; - } - return _impl_.p2p_routing_summary_; -} -inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramConnectionClosed::mutable_p2p_routing_summary() { - ::CMsgSteamDatagramP2PRoutingSummary* _msg = _internal_mutable_p2p_routing_summary(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionClosed.p2p_routing_summary) - return _msg; -} -inline void CMsgSteamDatagramConnectionClosed::set_allocated_p2p_routing_summary(::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.p2p_routing_summary_; - } - if (p2p_routing_summary) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(p2p_routing_summary); - if (message_arena != submessage_arena) { - p2p_routing_summary = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, p2p_routing_summary, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - _impl_.p2p_routing_summary_ = p2p_routing_summary; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionClosed.p2p_routing_summary) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramNoConnection - -// optional fixed32 to_connection_id = 5; -inline bool CMsgSteamDatagramNoConnection::_internal_has_to_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoConnection::has_to_connection_id() const { - return _internal_has_to_connection_id(); -} -inline void CMsgSteamDatagramNoConnection::clear_to_connection_id() { - _impl_.to_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramNoConnection::_internal_to_connection_id() const { - return _impl_.to_connection_id_; -} -inline uint32_t CMsgSteamDatagramNoConnection::to_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.to_connection_id) - return _internal_to_connection_id(); -} -inline void CMsgSteamDatagramNoConnection::_internal_set_to_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.to_connection_id_ = value; -} -inline void CMsgSteamDatagramNoConnection::set_to_connection_id(uint32_t value) { - _internal_set_to_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.to_connection_id) -} - -// optional fixed32 from_connection_id = 6; -inline bool CMsgSteamDatagramNoConnection::_internal_has_from_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoConnection::has_from_connection_id() const { - return _internal_has_from_connection_id(); -} -inline void CMsgSteamDatagramNoConnection::clear_from_connection_id() { - _impl_.from_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamDatagramNoConnection::_internal_from_connection_id() const { - return _impl_.from_connection_id_; -} -inline uint32_t CMsgSteamDatagramNoConnection::from_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.from_connection_id) - return _internal_from_connection_id(); -} -inline void CMsgSteamDatagramNoConnection::_internal_set_from_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.from_connection_id_ = value; -} -inline void CMsgSteamDatagramNoConnection::set_from_connection_id(uint32_t value) { - _internal_set_from_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.from_connection_id) -} - -// optional uint32 legacy_gameserver_relay_session_id = 2; -inline bool CMsgSteamDatagramNoConnection::_internal_has_legacy_gameserver_relay_session_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoConnection::has_legacy_gameserver_relay_session_id() const { - return _internal_has_legacy_gameserver_relay_session_id(); -} -inline void CMsgSteamDatagramNoConnection::clear_legacy_gameserver_relay_session_id() { - _impl_.legacy_gameserver_relay_session_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamDatagramNoConnection::_internal_legacy_gameserver_relay_session_id() const { - return _impl_.legacy_gameserver_relay_session_id_; -} -inline uint32_t CMsgSteamDatagramNoConnection::legacy_gameserver_relay_session_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.legacy_gameserver_relay_session_id) - return _internal_legacy_gameserver_relay_session_id(); -} -inline void CMsgSteamDatagramNoConnection::_internal_set_legacy_gameserver_relay_session_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.legacy_gameserver_relay_session_id_ = value; -} -inline void CMsgSteamDatagramNoConnection::set_legacy_gameserver_relay_session_id(uint32_t value) { - _internal_set_legacy_gameserver_relay_session_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.legacy_gameserver_relay_session_id) -} - -// optional fixed32 to_relay_session_id = 9; -inline bool CMsgSteamDatagramNoConnection::_internal_has_to_relay_session_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoConnection::has_to_relay_session_id() const { - return _internal_has_to_relay_session_id(); -} -inline void CMsgSteamDatagramNoConnection::clear_to_relay_session_id() { - _impl_.to_relay_session_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSteamDatagramNoConnection::_internal_to_relay_session_id() const { - return _impl_.to_relay_session_id_; -} -inline uint32_t CMsgSteamDatagramNoConnection::to_relay_session_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.to_relay_session_id) - return _internal_to_relay_session_id(); -} -inline void CMsgSteamDatagramNoConnection::_internal_set_to_relay_session_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.to_relay_session_id_ = value; -} -inline void CMsgSteamDatagramNoConnection::set_to_relay_session_id(uint32_t value) { - _internal_set_to_relay_session_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.to_relay_session_id) -} - -// optional fixed32 from_relay_session_id = 10; -inline bool CMsgSteamDatagramNoConnection::_internal_has_from_relay_session_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoConnection::has_from_relay_session_id() const { - return _internal_has_from_relay_session_id(); -} -inline void CMsgSteamDatagramNoConnection::clear_from_relay_session_id() { - _impl_.from_relay_session_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSteamDatagramNoConnection::_internal_from_relay_session_id() const { - return _impl_.from_relay_session_id_; -} -inline uint32_t CMsgSteamDatagramNoConnection::from_relay_session_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.from_relay_session_id) - return _internal_from_relay_session_id(); -} -inline void CMsgSteamDatagramNoConnection::_internal_set_from_relay_session_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.from_relay_session_id_ = value; -} -inline void CMsgSteamDatagramNoConnection::set_from_relay_session_id(uint32_t value) { - _internal_set_from_relay_session_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.from_relay_session_id) -} - -// optional string from_identity_string = 7; -inline bool CMsgSteamDatagramNoConnection::_internal_has_from_identity_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoConnection::has_from_identity_string() const { - return _internal_has_from_identity_string(); -} -inline void CMsgSteamDatagramNoConnection::clear_from_identity_string() { - _impl_.from_identity_string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramNoConnection::from_identity_string() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.from_identity_string) - return _internal_from_identity_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramNoConnection::set_from_identity_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.from_identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.from_identity_string) -} -inline std::string* CMsgSteamDatagramNoConnection::mutable_from_identity_string() { - std::string* _s = _internal_mutable_from_identity_string(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramNoConnection.from_identity_string) - return _s; -} -inline const std::string& CMsgSteamDatagramNoConnection::_internal_from_identity_string() const { - return _impl_.from_identity_string_.Get(); -} -inline void CMsgSteamDatagramNoConnection::_internal_set_from_identity_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.from_identity_string_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramNoConnection::_internal_mutable_from_identity_string() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.from_identity_string_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramNoConnection::release_from_identity_string() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramNoConnection.from_identity_string) - if (!_internal_has_from_identity_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.from_identity_string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.from_identity_string_.IsDefault()) { - _impl_.from_identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramNoConnection::set_allocated_from_identity_string(std::string* from_identity_string) { - if (from_identity_string != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.from_identity_string_.SetAllocated(from_identity_string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.from_identity_string_.IsDefault()) { - _impl_.from_identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramNoConnection.from_identity_string) -} - -// optional fixed64 legacy_from_steam_id = 3; -inline bool CMsgSteamDatagramNoConnection::_internal_has_legacy_from_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoConnection::has_legacy_from_steam_id() const { - return _internal_has_legacy_from_steam_id(); -} -inline void CMsgSteamDatagramNoConnection::clear_legacy_from_steam_id() { - _impl_.legacy_from_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CMsgSteamDatagramNoConnection::_internal_legacy_from_steam_id() const { - return _impl_.legacy_from_steam_id_; -} -inline uint64_t CMsgSteamDatagramNoConnection::legacy_from_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.legacy_from_steam_id) - return _internal_legacy_from_steam_id(); -} -inline void CMsgSteamDatagramNoConnection::_internal_set_legacy_from_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.legacy_from_steam_id_ = value; -} -inline void CMsgSteamDatagramNoConnection::set_legacy_from_steam_id(uint64_t value) { - _internal_set_legacy_from_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.legacy_from_steam_id) -} - -// optional bool end_to_end = 4; -inline bool CMsgSteamDatagramNoConnection::_internal_has_end_to_end() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoConnection::has_end_to_end() const { - return _internal_has_end_to_end(); -} -inline void CMsgSteamDatagramNoConnection::clear_end_to_end() { - _impl_.end_to_end_ = false; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline bool CMsgSteamDatagramNoConnection::_internal_end_to_end() const { - return _impl_.end_to_end_; -} -inline bool CMsgSteamDatagramNoConnection::end_to_end() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.end_to_end) - return _internal_end_to_end(); -} -inline void CMsgSteamDatagramNoConnection::_internal_set_end_to_end(bool value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.end_to_end_ = value; -} -inline void CMsgSteamDatagramNoConnection::set_end_to_end(bool value) { - _internal_set_end_to_end(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.end_to_end) -} - -// optional bool not_primary_session = 12; -inline bool CMsgSteamDatagramNoConnection::_internal_has_not_primary_session() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoConnection::has_not_primary_session() const { - return _internal_has_not_primary_session(); -} -inline void CMsgSteamDatagramNoConnection::clear_not_primary_session() { - _impl_.not_primary_session_ = false; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline bool CMsgSteamDatagramNoConnection::_internal_not_primary_session() const { - return _impl_.not_primary_session_; -} -inline bool CMsgSteamDatagramNoConnection::not_primary_session() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.not_primary_session) - return _internal_not_primary_session(); -} -inline void CMsgSteamDatagramNoConnection::_internal_set_not_primary_session(bool value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.not_primary_session_ = value; -} -inline void CMsgSteamDatagramNoConnection::set_not_primary_session(bool value) { - _internal_set_not_primary_session(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.not_primary_session) -} - -// optional bool not_primary_transport = 15; -inline bool CMsgSteamDatagramNoConnection::_internal_has_not_primary_transport() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoConnection::has_not_primary_transport() const { - return _internal_has_not_primary_transport(); -} -inline void CMsgSteamDatagramNoConnection::clear_not_primary_transport() { - _impl_.not_primary_transport_ = false; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline bool CMsgSteamDatagramNoConnection::_internal_not_primary_transport() const { - return _impl_.not_primary_transport_; -} -inline bool CMsgSteamDatagramNoConnection::not_primary_transport() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.not_primary_transport) - return _internal_not_primary_transport(); -} -inline void CMsgSteamDatagramNoConnection::_internal_set_not_primary_transport(bool value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.not_primary_transport_ = value; -} -inline void CMsgSteamDatagramNoConnection::set_not_primary_transport(bool value) { - _internal_set_not_primary_transport(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.not_primary_transport) -} - -// optional bool relay_override_active = 17; -inline bool CMsgSteamDatagramNoConnection::_internal_has_relay_override_active() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoConnection::has_relay_override_active() const { - return _internal_has_relay_override_active(); -} -inline void CMsgSteamDatagramNoConnection::clear_relay_override_active() { - _impl_.relay_override_active_ = false; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline bool CMsgSteamDatagramNoConnection::_internal_relay_override_active() const { - return _impl_.relay_override_active_; -} -inline bool CMsgSteamDatagramNoConnection::relay_override_active() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.relay_override_active) - return _internal_relay_override_active(); -} -inline void CMsgSteamDatagramNoConnection::_internal_set_relay_override_active(bool value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.relay_override_active_ = value; -} -inline void CMsgSteamDatagramNoConnection::set_relay_override_active(bool value) { - _internal_set_relay_override_active(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.relay_override_active) -} - -// optional .CMsgSteamDatagramConnectionQuality quality_relay = 13; -inline bool CMsgSteamDatagramNoConnection::_internal_has_quality_relay() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.quality_relay_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramNoConnection::has_quality_relay() const { - return _internal_has_quality_relay(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramNoConnection::_internal_quality_relay() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_relay_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramNoConnection::quality_relay() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.quality_relay) - return _internal_quality_relay(); -} -inline void CMsgSteamDatagramNoConnection::unsafe_arena_set_allocated_quality_relay( - ::CMsgSteamDatagramConnectionQuality* quality_relay) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); - } - _impl_.quality_relay_ = quality_relay; - if (quality_relay) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramNoConnection.quality_relay) -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramNoConnection::release_quality_relay() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; - _impl_.quality_relay_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramNoConnection::unsafe_arena_release_quality_relay() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramNoConnection.quality_relay) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; - _impl_.quality_relay_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramNoConnection::_internal_mutable_quality_relay() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.quality_relay_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.quality_relay_ = p; - } - return _impl_.quality_relay_; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramNoConnection::mutable_quality_relay() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_relay(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramNoConnection.quality_relay) - return _msg; -} -inline void CMsgSteamDatagramNoConnection::set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); - } - if (quality_relay) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_relay)); - if (message_arena != submessage_arena) { - quality_relay = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, quality_relay, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.quality_relay_ = quality_relay; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramNoConnection.quality_relay) -} - -// optional .CMsgSteamDatagramConnectionQuality quality_e2e = 14; -inline bool CMsgSteamDatagramNoConnection::_internal_has_quality_e2e() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.quality_e2e_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramNoConnection::has_quality_e2e() const { - return _internal_has_quality_e2e(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramNoConnection::_internal_quality_e2e() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_e2e_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramNoConnection::quality_e2e() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.quality_e2e) - return _internal_quality_e2e(); -} -inline void CMsgSteamDatagramNoConnection::unsafe_arena_set_allocated_quality_e2e( - ::CMsgSteamDatagramConnectionQuality* quality_e2e) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); - } - _impl_.quality_e2e_ = quality_e2e; - if (quality_e2e) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramNoConnection.quality_e2e) -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramNoConnection::release_quality_e2e() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; - _impl_.quality_e2e_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramNoConnection::unsafe_arena_release_quality_e2e() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramNoConnection.quality_e2e) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; - _impl_.quality_e2e_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramNoConnection::_internal_mutable_quality_e2e() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.quality_e2e_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.quality_e2e_ = p; - } - return _impl_.quality_e2e_; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramNoConnection::mutable_quality_e2e() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_e2e(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramNoConnection.quality_e2e) - return _msg; -} -inline void CMsgSteamDatagramNoConnection::set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); - } - if (quality_e2e) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_e2e)); - if (message_arena != submessage_arena) { - quality_e2e = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, quality_e2e, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.quality_e2e_ = quality_e2e; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramNoConnection.quality_e2e) -} - -// optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 16; -inline bool CMsgSteamDatagramNoConnection::_internal_has_p2p_routing_summary() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.p2p_routing_summary_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramNoConnection::has_p2p_routing_summary() const { - return _internal_has_p2p_routing_summary(); -} -inline void CMsgSteamDatagramNoConnection::clear_p2p_routing_summary() { - if (_impl_.p2p_routing_summary_ != nullptr) _impl_.p2p_routing_summary_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::CMsgSteamDatagramP2PRoutingSummary& CMsgSteamDatagramNoConnection::_internal_p2p_routing_summary() const { - const ::CMsgSteamDatagramP2PRoutingSummary* p = _impl_.p2p_routing_summary_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramP2PRoutingSummary_default_instance_); -} -inline const ::CMsgSteamDatagramP2PRoutingSummary& CMsgSteamDatagramNoConnection::p2p_routing_summary() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.p2p_routing_summary) - return _internal_p2p_routing_summary(); -} -inline void CMsgSteamDatagramNoConnection::unsafe_arena_set_allocated_p2p_routing_summary( - ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.p2p_routing_summary_); - } - _impl_.p2p_routing_summary_ = p2p_routing_summary; - if (p2p_routing_summary) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramNoConnection.p2p_routing_summary) -} -inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramNoConnection::release_p2p_routing_summary() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSteamDatagramP2PRoutingSummary* temp = _impl_.p2p_routing_summary_; - _impl_.p2p_routing_summary_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramNoConnection::unsafe_arena_release_p2p_routing_summary() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramNoConnection.p2p_routing_summary) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSteamDatagramP2PRoutingSummary* temp = _impl_.p2p_routing_summary_; - _impl_.p2p_routing_summary_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramNoConnection::_internal_mutable_p2p_routing_summary() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.p2p_routing_summary_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramP2PRoutingSummary>(GetArenaForAllocation()); - _impl_.p2p_routing_summary_ = p; - } - return _impl_.p2p_routing_summary_; -} -inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramNoConnection::mutable_p2p_routing_summary() { - ::CMsgSteamDatagramP2PRoutingSummary* _msg = _internal_mutable_p2p_routing_summary(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramNoConnection.p2p_routing_summary) - return _msg; -} -inline void CMsgSteamDatagramNoConnection::set_allocated_p2p_routing_summary(::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.p2p_routing_summary_; - } - if (p2p_routing_summary) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(p2p_routing_summary); - if (message_arena != submessage_arena) { - p2p_routing_summary = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, p2p_routing_summary, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.p2p_routing_summary_ = p2p_routing_summary; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramNoConnection.p2p_routing_summary) -} - -// optional fixed64 routing_secret = 11; -inline bool CMsgSteamDatagramNoConnection::_internal_has_routing_secret() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoConnection::has_routing_secret() const { - return _internal_has_routing_secret(); -} -inline void CMsgSteamDatagramNoConnection::clear_routing_secret() { - _impl_.routing_secret_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint64_t CMsgSteamDatagramNoConnection::_internal_routing_secret() const { - return _impl_.routing_secret_; -} -inline uint64_t CMsgSteamDatagramNoConnection::routing_secret() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.routing_secret) - return _internal_routing_secret(); -} -inline void CMsgSteamDatagramNoConnection::_internal_set_routing_secret(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.routing_secret_ = value; -} -inline void CMsgSteamDatagramNoConnection::set_routing_secret(uint64_t value) { - _internal_set_routing_secret(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.routing_secret) -} - -// optional fixed32 dummy_pad = 1023; -inline bool CMsgSteamDatagramNoConnection::_internal_has_dummy_pad() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CMsgSteamDatagramNoConnection::has_dummy_pad() const { - return _internal_has_dummy_pad(); -} -inline void CMsgSteamDatagramNoConnection::clear_dummy_pad() { - _impl_.dummy_pad_ = 0u; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint32_t CMsgSteamDatagramNoConnection::_internal_dummy_pad() const { - return _impl_.dummy_pad_; -} -inline uint32_t CMsgSteamDatagramNoConnection::dummy_pad() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramNoConnection.dummy_pad) - return _internal_dummy_pad(); -} -inline void CMsgSteamDatagramNoConnection::_internal_set_dummy_pad(uint32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.dummy_pad_ = value; -} -inline void CMsgSteamDatagramNoConnection::set_dummy_pad(uint32_t value) { - _internal_set_dummy_pad(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramNoConnection.dummy_pad) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramGameserverSessionRequest - -// optional bytes ticket = 1; -inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_ticket() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverSessionRequest::has_ticket() const { - return _internal_has_ticket(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::clear_ticket() { - _impl_.ticket_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramGameserverSessionRequest::ticket() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.ticket) - return _internal_ticket(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramGameserverSessionRequest::set_ticket(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ticket_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.ticket) -} -inline std::string* CMsgSteamDatagramGameserverSessionRequest::mutable_ticket() { - std::string* _s = _internal_mutable_ticket(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverSessionRequest.ticket) - return _s; -} -inline const std::string& CMsgSteamDatagramGameserverSessionRequest::_internal_ticket() const { - return _impl_.ticket_.Get(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_ticket(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ticket_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverSessionRequest::_internal_mutable_ticket() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.ticket_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverSessionRequest::release_ticket() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverSessionRequest.ticket) - if (!_internal_has_ticket()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.ticket_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ticket_.IsDefault()) { - _impl_.ticket_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramGameserverSessionRequest::set_allocated_ticket(std::string* ticket) { - if (ticket != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.ticket_.SetAllocated(ticket, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ticket_.IsDefault()) { - _impl_.ticket_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverSessionRequest.ticket) -} - -// optional fixed32 challenge_time = 3; -inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_challenge_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverSessionRequest::has_challenge_time() const { - return _internal_has_challenge_time(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::clear_challenge_time() { - _impl_.challenge_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramGameserverSessionRequest::_internal_challenge_time() const { - return _impl_.challenge_time_; -} -inline uint32_t CMsgSteamDatagramGameserverSessionRequest::challenge_time() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.challenge_time) - return _internal_challenge_time(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_challenge_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.challenge_time_ = value; -} -inline void CMsgSteamDatagramGameserverSessionRequest::set_challenge_time(uint32_t value) { - _internal_set_challenge_time(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.challenge_time) -} - -// optional fixed64 challenge = 4; -inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_challenge() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverSessionRequest::has_challenge() const { - return _internal_has_challenge(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::clear_challenge() { - _impl_.challenge_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint64_t CMsgSteamDatagramGameserverSessionRequest::_internal_challenge() const { - return _impl_.challenge_; -} -inline uint64_t CMsgSteamDatagramGameserverSessionRequest::challenge() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.challenge) - return _internal_challenge(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_challenge(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.challenge_ = value; -} -inline void CMsgSteamDatagramGameserverSessionRequest::set_challenge(uint64_t value) { - _internal_set_challenge(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.challenge) -} - -// optional fixed32 client_connection_id = 5; -inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_client_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverSessionRequest::has_client_connection_id() const { - return _internal_has_client_connection_id(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::clear_client_connection_id() { - _impl_.client_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamDatagramGameserverSessionRequest::_internal_client_connection_id() const { - return _impl_.client_connection_id_; -} -inline uint32_t CMsgSteamDatagramGameserverSessionRequest::client_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.client_connection_id) - return _internal_client_connection_id(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_client_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.client_connection_id_ = value; -} -inline void CMsgSteamDatagramGameserverSessionRequest::set_client_connection_id(uint32_t value) { - _internal_set_client_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.client_connection_id) -} - -// optional fixed32 server_connection_id = 8; -inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_server_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverSessionRequest::has_server_connection_id() const { - return _internal_has_server_connection_id(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::clear_server_connection_id() { - _impl_.server_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSteamDatagramGameserverSessionRequest::_internal_server_connection_id() const { - return _impl_.server_connection_id_; -} -inline uint32_t CMsgSteamDatagramGameserverSessionRequest::server_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.server_connection_id) - return _internal_server_connection_id(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_server_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.server_connection_id_ = value; -} -inline void CMsgSteamDatagramGameserverSessionRequest::set_server_connection_id(uint32_t value) { - _internal_set_server_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.server_connection_id) -} - -// optional uint64 network_config_version = 6; -inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_network_config_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverSessionRequest::has_network_config_version() const { - return _internal_has_network_config_version(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::clear_network_config_version() { - _impl_.network_config_version_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint64_t CMsgSteamDatagramGameserverSessionRequest::_internal_network_config_version() const { - return _impl_.network_config_version_; -} -inline uint64_t CMsgSteamDatagramGameserverSessionRequest::network_config_version() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.network_config_version) - return _internal_network_config_version(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_network_config_version(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.network_config_version_ = value; -} -inline void CMsgSteamDatagramGameserverSessionRequest::set_network_config_version(uint64_t value) { - _internal_set_network_config_version(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.network_config_version) -} - -// optional uint32 protocol_version = 7; -inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_protocol_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverSessionRequest::has_protocol_version() const { - return _internal_has_protocol_version(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::clear_protocol_version() { - _impl_.protocol_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSteamDatagramGameserverSessionRequest::_internal_protocol_version() const { - return _impl_.protocol_version_; -} -inline uint32_t CMsgSteamDatagramGameserverSessionRequest::protocol_version() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.protocol_version) - return _internal_protocol_version(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_protocol_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.protocol_version_ = value; -} -inline void CMsgSteamDatagramGameserverSessionRequest::set_protocol_version(uint32_t value) { - _internal_set_protocol_version(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.protocol_version) -} - -// optional string platform = 9; -inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_platform() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverSessionRequest::has_platform() const { - return _internal_has_platform(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::clear_platform() { - _impl_.platform_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramGameserverSessionRequest::platform() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.platform) - return _internal_platform(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramGameserverSessionRequest::set_platform(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.platform_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.platform) -} -inline std::string* CMsgSteamDatagramGameserverSessionRequest::mutable_platform() { - std::string* _s = _internal_mutable_platform(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverSessionRequest.platform) - return _s; -} -inline const std::string& CMsgSteamDatagramGameserverSessionRequest::_internal_platform() const { - return _impl_.platform_.Get(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_platform(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.platform_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverSessionRequest::_internal_mutable_platform() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.platform_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverSessionRequest::release_platform() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverSessionRequest.platform) - if (!_internal_has_platform()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.platform_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.platform_.IsDefault()) { - _impl_.platform_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramGameserverSessionRequest::set_allocated_platform(std::string* platform) { - if (platform != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.platform_.SetAllocated(platform, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.platform_.IsDefault()) { - _impl_.platform_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverSessionRequest.platform) -} - -// optional string build = 10; -inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_build() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverSessionRequest::has_build() const { - return _internal_has_build(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::clear_build() { - _impl_.build_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgSteamDatagramGameserverSessionRequest::build() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.build) - return _internal_build(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramGameserverSessionRequest::set_build(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.build_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.build) -} -inline std::string* CMsgSteamDatagramGameserverSessionRequest::mutable_build() { - std::string* _s = _internal_mutable_build(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverSessionRequest.build) - return _s; -} -inline const std::string& CMsgSteamDatagramGameserverSessionRequest::_internal_build() const { - return _impl_.build_.Get(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_build(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.build_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverSessionRequest::_internal_mutable_build() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.build_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverSessionRequest::release_build() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverSessionRequest.build) - if (!_internal_has_build()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.build_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.build_.IsDefault()) { - _impl_.build_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramGameserverSessionRequest::set_allocated_build(std::string* build) { - if (build != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.build_.SetAllocated(build, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.build_.IsDefault()) { - _impl_.build_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverSessionRequest.build) -} - -// optional string dev_gameserver_identity = 100; -inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_dev_gameserver_identity() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverSessionRequest::has_dev_gameserver_identity() const { - return _internal_has_dev_gameserver_identity(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::clear_dev_gameserver_identity() { - _impl_.dev_gameserver_identity_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CMsgSteamDatagramGameserverSessionRequest::dev_gameserver_identity() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.dev_gameserver_identity) - return _internal_dev_gameserver_identity(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramGameserverSessionRequest::set_dev_gameserver_identity(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.dev_gameserver_identity_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionRequest.dev_gameserver_identity) -} -inline std::string* CMsgSteamDatagramGameserverSessionRequest::mutable_dev_gameserver_identity() { - std::string* _s = _internal_mutable_dev_gameserver_identity(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverSessionRequest.dev_gameserver_identity) - return _s; -} -inline const std::string& CMsgSteamDatagramGameserverSessionRequest::_internal_dev_gameserver_identity() const { - return _impl_.dev_gameserver_identity_.Get(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::_internal_set_dev_gameserver_identity(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.dev_gameserver_identity_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverSessionRequest::_internal_mutable_dev_gameserver_identity() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.dev_gameserver_identity_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverSessionRequest::release_dev_gameserver_identity() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverSessionRequest.dev_gameserver_identity) - if (!_internal_has_dev_gameserver_identity()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.dev_gameserver_identity_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dev_gameserver_identity_.IsDefault()) { - _impl_.dev_gameserver_identity_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramGameserverSessionRequest::set_allocated_dev_gameserver_identity(std::string* dev_gameserver_identity) { - if (dev_gameserver_identity != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.dev_gameserver_identity_.SetAllocated(dev_gameserver_identity, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dev_gameserver_identity_.IsDefault()) { - _impl_.dev_gameserver_identity_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverSessionRequest.dev_gameserver_identity) -} - -// optional .CMsgSteamDatagramCertificateSigned dev_client_cert = 101; -inline bool CMsgSteamDatagramGameserverSessionRequest::_internal_has_dev_client_cert() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.dev_client_cert_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramGameserverSessionRequest::has_dev_client_cert() const { - return _internal_has_dev_client_cert(); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramGameserverSessionRequest::_internal_dev_client_cert() const { - const ::CMsgSteamDatagramCertificateSigned* p = _impl_.dev_client_cert_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramCertificateSigned_default_instance_); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramGameserverSessionRequest::dev_client_cert() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionRequest.dev_client_cert) - return _internal_dev_client_cert(); -} -inline void CMsgSteamDatagramGameserverSessionRequest::unsafe_arena_set_allocated_dev_client_cert( - ::CMsgSteamDatagramCertificateSigned* dev_client_cert) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dev_client_cert_); - } - _impl_.dev_client_cert_ = dev_client_cert; - if (dev_client_cert) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramGameserverSessionRequest.dev_client_cert) -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramGameserverSessionRequest::release_dev_client_cert() { - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.dev_client_cert_; - _impl_.dev_client_cert_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramGameserverSessionRequest::unsafe_arena_release_dev_client_cert() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverSessionRequest.dev_client_cert) - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.dev_client_cert_; - _impl_.dev_client_cert_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramGameserverSessionRequest::_internal_mutable_dev_client_cert() { - _impl_._has_bits_[0] |= 0x00000010u; - if (_impl_.dev_client_cert_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); - _impl_.dev_client_cert_ = p; - } - return _impl_.dev_client_cert_; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramGameserverSessionRequest::mutable_dev_client_cert() { - ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_dev_client_cert(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverSessionRequest.dev_client_cert) - return _msg; -} -inline void CMsgSteamDatagramGameserverSessionRequest::set_allocated_dev_client_cert(::CMsgSteamDatagramCertificateSigned* dev_client_cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dev_client_cert_); - } - if (dev_client_cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(dev_client_cert)); - if (message_arena != submessage_arena) { - dev_client_cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, dev_client_cert, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.dev_client_cert_ = dev_client_cert; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverSessionRequest.dev_client_cert) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramGameserverSessionEstablished - -// optional fixed32 connection_id = 1; -inline bool CMsgSteamDatagramGameserverSessionEstablished::_internal_has_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverSessionEstablished::has_connection_id() const { - return _internal_has_connection_id(); -} -inline void CMsgSteamDatagramGameserverSessionEstablished::clear_connection_id() { - _impl_.connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramGameserverSessionEstablished::_internal_connection_id() const { - return _impl_.connection_id_; -} -inline uint32_t CMsgSteamDatagramGameserverSessionEstablished::connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionEstablished.connection_id) - return _internal_connection_id(); -} -inline void CMsgSteamDatagramGameserverSessionEstablished::_internal_set_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.connection_id_ = value; -} -inline void CMsgSteamDatagramGameserverSessionEstablished::set_connection_id(uint32_t value) { - _internal_set_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionEstablished.connection_id) -} - -// optional string gameserver_identity_string = 2; -inline bool CMsgSteamDatagramGameserverSessionEstablished::_internal_has_gameserver_identity_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverSessionEstablished::has_gameserver_identity_string() const { - return _internal_has_gameserver_identity_string(); -} -inline void CMsgSteamDatagramGameserverSessionEstablished::clear_gameserver_identity_string() { - _impl_.gameserver_identity_string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramGameserverSessionEstablished::gameserver_identity_string() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionEstablished.gameserver_identity_string) - return _internal_gameserver_identity_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramGameserverSessionEstablished::set_gameserver_identity_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.gameserver_identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionEstablished.gameserver_identity_string) -} -inline std::string* CMsgSteamDatagramGameserverSessionEstablished::mutable_gameserver_identity_string() { - std::string* _s = _internal_mutable_gameserver_identity_string(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverSessionEstablished.gameserver_identity_string) - return _s; -} -inline const std::string& CMsgSteamDatagramGameserverSessionEstablished::_internal_gameserver_identity_string() const { - return _impl_.gameserver_identity_string_.Get(); -} -inline void CMsgSteamDatagramGameserverSessionEstablished::_internal_set_gameserver_identity_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.gameserver_identity_string_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverSessionEstablished::_internal_mutable_gameserver_identity_string() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.gameserver_identity_string_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverSessionEstablished::release_gameserver_identity_string() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverSessionEstablished.gameserver_identity_string) - if (!_internal_has_gameserver_identity_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.gameserver_identity_string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gameserver_identity_string_.IsDefault()) { - _impl_.gameserver_identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramGameserverSessionEstablished::set_allocated_gameserver_identity_string(std::string* gameserver_identity_string) { - if (gameserver_identity_string != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.gameserver_identity_string_.SetAllocated(gameserver_identity_string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.gameserver_identity_string_.IsDefault()) { - _impl_.gameserver_identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverSessionEstablished.gameserver_identity_string) -} - -// optional uint32 seconds_until_shutdown = 4; -inline bool CMsgSteamDatagramGameserverSessionEstablished::_internal_has_seconds_until_shutdown() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverSessionEstablished::has_seconds_until_shutdown() const { - return _internal_has_seconds_until_shutdown(); -} -inline void CMsgSteamDatagramGameserverSessionEstablished::clear_seconds_until_shutdown() { - _impl_.seconds_until_shutdown_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramGameserverSessionEstablished::_internal_seconds_until_shutdown() const { - return _impl_.seconds_until_shutdown_; -} -inline uint32_t CMsgSteamDatagramGameserverSessionEstablished::seconds_until_shutdown() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionEstablished.seconds_until_shutdown) - return _internal_seconds_until_shutdown(); -} -inline void CMsgSteamDatagramGameserverSessionEstablished::_internal_set_seconds_until_shutdown(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.seconds_until_shutdown_ = value; -} -inline void CMsgSteamDatagramGameserverSessionEstablished::set_seconds_until_shutdown(uint32_t value) { - _internal_set_seconds_until_shutdown(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionEstablished.seconds_until_shutdown) -} - -// optional uint32 seq_num_r2c = 6; -inline bool CMsgSteamDatagramGameserverSessionEstablished::_internal_has_seq_num_r2c() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverSessionEstablished::has_seq_num_r2c() const { - return _internal_has_seq_num_r2c(); -} -inline void CMsgSteamDatagramGameserverSessionEstablished::clear_seq_num_r2c() { - _impl_.seq_num_r2c_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamDatagramGameserverSessionEstablished::_internal_seq_num_r2c() const { - return _impl_.seq_num_r2c_; -} -inline uint32_t CMsgSteamDatagramGameserverSessionEstablished::seq_num_r2c() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionEstablished.seq_num_r2c) - return _internal_seq_num_r2c(); -} -inline void CMsgSteamDatagramGameserverSessionEstablished::_internal_set_seq_num_r2c(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.seq_num_r2c_ = value; -} -inline void CMsgSteamDatagramGameserverSessionEstablished::set_seq_num_r2c(uint32_t value) { - _internal_set_seq_num_r2c(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionEstablished.seq_num_r2c) -} - -// optional bytes dummy_legacy_identity_binary = 7; -inline bool CMsgSteamDatagramGameserverSessionEstablished::_internal_has_dummy_legacy_identity_binary() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverSessionEstablished::has_dummy_legacy_identity_binary() const { - return _internal_has_dummy_legacy_identity_binary(); -} -inline void CMsgSteamDatagramGameserverSessionEstablished::clear_dummy_legacy_identity_binary() { - _impl_.dummy_legacy_identity_binary_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramGameserverSessionEstablished::dummy_legacy_identity_binary() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionEstablished.dummy_legacy_identity_binary) - return _internal_dummy_legacy_identity_binary(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramGameserverSessionEstablished::set_dummy_legacy_identity_binary(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.dummy_legacy_identity_binary_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionEstablished.dummy_legacy_identity_binary) -} -inline std::string* CMsgSteamDatagramGameserverSessionEstablished::mutable_dummy_legacy_identity_binary() { - std::string* _s = _internal_mutable_dummy_legacy_identity_binary(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramGameserverSessionEstablished.dummy_legacy_identity_binary) - return _s; -} -inline const std::string& CMsgSteamDatagramGameserverSessionEstablished::_internal_dummy_legacy_identity_binary() const { - return _impl_.dummy_legacy_identity_binary_.Get(); -} -inline void CMsgSteamDatagramGameserverSessionEstablished::_internal_set_dummy_legacy_identity_binary(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.dummy_legacy_identity_binary_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverSessionEstablished::_internal_mutable_dummy_legacy_identity_binary() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.dummy_legacy_identity_binary_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramGameserverSessionEstablished::release_dummy_legacy_identity_binary() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramGameserverSessionEstablished.dummy_legacy_identity_binary) - if (!_internal_has_dummy_legacy_identity_binary()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.dummy_legacy_identity_binary_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dummy_legacy_identity_binary_.IsDefault()) { - _impl_.dummy_legacy_identity_binary_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramGameserverSessionEstablished::set_allocated_dummy_legacy_identity_binary(std::string* dummy_legacy_identity_binary) { - if (dummy_legacy_identity_binary != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.dummy_legacy_identity_binary_.SetAllocated(dummy_legacy_identity_binary, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dummy_legacy_identity_binary_.IsDefault()) { - _impl_.dummy_legacy_identity_binary_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramGameserverSessionEstablished.dummy_legacy_identity_binary) -} - -// optional fixed64 legacy_gameserver_steamid = 3; -inline bool CMsgSteamDatagramGameserverSessionEstablished::_internal_has_legacy_gameserver_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramGameserverSessionEstablished::has_legacy_gameserver_steamid() const { - return _internal_has_legacy_gameserver_steamid(); -} -inline void CMsgSteamDatagramGameserverSessionEstablished::clear_legacy_gameserver_steamid() { - _impl_.legacy_gameserver_steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CMsgSteamDatagramGameserverSessionEstablished::_internal_legacy_gameserver_steamid() const { - return _impl_.legacy_gameserver_steamid_; -} -inline uint64_t CMsgSteamDatagramGameserverSessionEstablished::legacy_gameserver_steamid() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramGameserverSessionEstablished.legacy_gameserver_steamid) - return _internal_legacy_gameserver_steamid(); -} -inline void CMsgSteamDatagramGameserverSessionEstablished::_internal_set_legacy_gameserver_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.legacy_gameserver_steamid_ = value; -} -inline void CMsgSteamDatagramGameserverSessionEstablished::set_legacy_gameserver_steamid(uint64_t value) { - _internal_set_legacy_gameserver_steamid(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramGameserverSessionEstablished.legacy_gameserver_steamid) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramConnectionStatsClientToRouter - -// optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; -inline bool CMsgSteamDatagramConnectionStatsClientToRouter::_internal_has_quality_relay() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.quality_relay_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionStatsClientToRouter::has_quality_relay() const { - return _internal_has_quality_relay(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsClientToRouter::_internal_quality_relay() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_relay_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsClientToRouter::quality_relay() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsClientToRouter.quality_relay) - return _internal_quality_relay(); -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::unsafe_arena_set_allocated_quality_relay( - ::CMsgSteamDatagramConnectionQuality* quality_relay) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); - } - _impl_.quality_relay_ = quality_relay; - if (quality_relay) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsClientToRouter.quality_relay) -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsClientToRouter::release_quality_relay() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; - _impl_.quality_relay_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsClientToRouter::unsafe_arena_release_quality_relay() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsClientToRouter.quality_relay) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; - _impl_.quality_relay_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsClientToRouter::_internal_mutable_quality_relay() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.quality_relay_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.quality_relay_ = p; - } - return _impl_.quality_relay_; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsClientToRouter::mutable_quality_relay() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_relay(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsClientToRouter.quality_relay) - return _msg; -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); - } - if (quality_relay) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_relay)); - if (message_arena != submessage_arena) { - quality_relay = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, quality_relay, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.quality_relay_ = quality_relay; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsClientToRouter.quality_relay) -} - -// optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; -inline bool CMsgSteamDatagramConnectionStatsClientToRouter::_internal_has_quality_e2e() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.quality_e2e_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionStatsClientToRouter::has_quality_e2e() const { - return _internal_has_quality_e2e(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsClientToRouter::_internal_quality_e2e() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_e2e_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsClientToRouter::quality_e2e() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsClientToRouter.quality_e2e) - return _internal_quality_e2e(); -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::unsafe_arena_set_allocated_quality_e2e( - ::CMsgSteamDatagramConnectionQuality* quality_e2e) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); - } - _impl_.quality_e2e_ = quality_e2e; - if (quality_e2e) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsClientToRouter.quality_e2e) -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsClientToRouter::release_quality_e2e() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; - _impl_.quality_e2e_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsClientToRouter::unsafe_arena_release_quality_e2e() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsClientToRouter.quality_e2e) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; - _impl_.quality_e2e_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsClientToRouter::_internal_mutable_quality_e2e() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.quality_e2e_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.quality_e2e_ = p; - } - return _impl_.quality_e2e_; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsClientToRouter::mutable_quality_e2e() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_e2e(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsClientToRouter.quality_e2e) - return _msg; -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); - } - if (quality_e2e) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_e2e)); - if (message_arena != submessage_arena) { - quality_e2e = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, quality_e2e, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.quality_e2e_ = quality_e2e; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsClientToRouter.quality_e2e) -} - -// repeated fixed32 ack_relay = 4; -inline int CMsgSteamDatagramConnectionStatsClientToRouter::_internal_ack_relay_size() const { - return _impl_.ack_relay_.size(); -} -inline int CMsgSteamDatagramConnectionStatsClientToRouter::ack_relay_size() const { - return _internal_ack_relay_size(); -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::clear_ack_relay() { - _impl_.ack_relay_.Clear(); -} -inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::_internal_ack_relay(int index) const { - return _impl_.ack_relay_.Get(index); -} -inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::ack_relay(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsClientToRouter.ack_relay) - return _internal_ack_relay(index); -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::set_ack_relay(int index, uint32_t value) { - _impl_.ack_relay_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsClientToRouter.ack_relay) -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::_internal_add_ack_relay(uint32_t value) { - _impl_.ack_relay_.Add(value); -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::add_ack_relay(uint32_t value) { - _internal_add_ack_relay(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsClientToRouter.ack_relay) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsClientToRouter::_internal_ack_relay() const { - return _impl_.ack_relay_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsClientToRouter::ack_relay() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsClientToRouter.ack_relay) - return _internal_ack_relay(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsClientToRouter::_internal_mutable_ack_relay() { - return &_impl_.ack_relay_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsClientToRouter::mutable_ack_relay() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsClientToRouter.ack_relay) - return _internal_mutable_ack_relay(); -} - -// repeated fixed32 legacy_ack_e2e = 5; -inline int CMsgSteamDatagramConnectionStatsClientToRouter::_internal_legacy_ack_e2e_size() const { - return _impl_.legacy_ack_e2e_.size(); -} -inline int CMsgSteamDatagramConnectionStatsClientToRouter::legacy_ack_e2e_size() const { - return _internal_legacy_ack_e2e_size(); -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::clear_legacy_ack_e2e() { - _impl_.legacy_ack_e2e_.Clear(); -} -inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::_internal_legacy_ack_e2e(int index) const { - return _impl_.legacy_ack_e2e_.Get(index); -} -inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::legacy_ack_e2e(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsClientToRouter.legacy_ack_e2e) - return _internal_legacy_ack_e2e(index); -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::set_legacy_ack_e2e(int index, uint32_t value) { - _impl_.legacy_ack_e2e_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsClientToRouter.legacy_ack_e2e) -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::_internal_add_legacy_ack_e2e(uint32_t value) { - _impl_.legacy_ack_e2e_.Add(value); -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::add_legacy_ack_e2e(uint32_t value) { - _internal_add_legacy_ack_e2e(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsClientToRouter.legacy_ack_e2e) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsClientToRouter::_internal_legacy_ack_e2e() const { - return _impl_.legacy_ack_e2e_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsClientToRouter::legacy_ack_e2e() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsClientToRouter.legacy_ack_e2e) - return _internal_legacy_ack_e2e(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsClientToRouter::_internal_mutable_legacy_ack_e2e() { - return &_impl_.legacy_ack_e2e_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsClientToRouter::mutable_legacy_ack_e2e() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsClientToRouter.legacy_ack_e2e) - return _internal_mutable_legacy_ack_e2e(); -} - -// optional uint32 flags = 6; -inline bool CMsgSteamDatagramConnectionStatsClientToRouter::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsClientToRouter::has_flags() const { - return _internal_has_flags(); -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::flags() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsClientToRouter.flags) - return _internal_flags(); -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.flags_ = value; -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsClientToRouter.flags) -} - -// optional fixed32 client_connection_id = 8; -inline bool CMsgSteamDatagramConnectionStatsClientToRouter::_internal_has_client_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsClientToRouter::has_client_connection_id() const { - return _internal_has_client_connection_id(); -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::clear_client_connection_id() { - _impl_.client_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::_internal_client_connection_id() const { - return _impl_.client_connection_id_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::client_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsClientToRouter.client_connection_id) - return _internal_client_connection_id(); -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::_internal_set_client_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.client_connection_id_ = value; -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::set_client_connection_id(uint32_t value) { - _internal_set_client_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsClientToRouter.client_connection_id) -} - -// optional uint32 seq_num_c2r = 9; -inline bool CMsgSteamDatagramConnectionStatsClientToRouter::_internal_has_seq_num_c2r() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsClientToRouter::has_seq_num_c2r() const { - return _internal_has_seq_num_c2r(); -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::clear_seq_num_c2r() { - _impl_.seq_num_c2r_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::_internal_seq_num_c2r() const { - return _impl_.seq_num_c2r_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::seq_num_c2r() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsClientToRouter.seq_num_c2r) - return _internal_seq_num_c2r(); -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::_internal_set_seq_num_c2r(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.seq_num_c2r_ = value; -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::set_seq_num_c2r(uint32_t value) { - _internal_set_seq_num_c2r(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsClientToRouter.seq_num_c2r) -} - -// optional uint32 seq_num_e2e = 10; -inline bool CMsgSteamDatagramConnectionStatsClientToRouter::_internal_has_seq_num_e2e() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsClientToRouter::has_seq_num_e2e() const { - return _internal_has_seq_num_e2e(); -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::clear_seq_num_e2e() { - _impl_.seq_num_e2e_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::_internal_seq_num_e2e() const { - return _impl_.seq_num_e2e_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsClientToRouter::seq_num_e2e() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsClientToRouter.seq_num_e2e) - return _internal_seq_num_e2e(); -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::_internal_set_seq_num_e2e(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.seq_num_e2e_ = value; -} -inline void CMsgSteamDatagramConnectionStatsClientToRouter::set_seq_num_e2e(uint32_t value) { - _internal_set_seq_num_e2e(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsClientToRouter.seq_num_e2e) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramConnectionStatsRouterToClient - -// optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_quality_relay() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.quality_relay_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_quality_relay() const { - return _internal_has_quality_relay(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsRouterToClient::_internal_quality_relay() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_relay_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsRouterToClient::quality_relay() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.quality_relay) - return _internal_quality_relay(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::unsafe_arena_set_allocated_quality_relay( - ::CMsgSteamDatagramConnectionQuality* quality_relay) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); - } - _impl_.quality_relay_ = quality_relay; - if (quality_relay) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsRouterToClient.quality_relay) -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToClient::release_quality_relay() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; - _impl_.quality_relay_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToClient::unsafe_arena_release_quality_relay() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsRouterToClient.quality_relay) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; - _impl_.quality_relay_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToClient::_internal_mutable_quality_relay() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.quality_relay_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.quality_relay_ = p; - } - return _impl_.quality_relay_; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToClient::mutable_quality_relay() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_relay(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsRouterToClient.quality_relay) - return _msg; -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); - } - if (quality_relay) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_relay)); - if (message_arena != submessage_arena) { - quality_relay = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, quality_relay, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.quality_relay_ = quality_relay; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsRouterToClient.quality_relay) -} - -// optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_quality_e2e() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.quality_e2e_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_quality_e2e() const { - return _internal_has_quality_e2e(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsRouterToClient::_internal_quality_e2e() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_e2e_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsRouterToClient::quality_e2e() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.quality_e2e) - return _internal_quality_e2e(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::unsafe_arena_set_allocated_quality_e2e( - ::CMsgSteamDatagramConnectionQuality* quality_e2e) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); - } - _impl_.quality_e2e_ = quality_e2e; - if (quality_e2e) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsRouterToClient.quality_e2e) -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToClient::release_quality_e2e() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; - _impl_.quality_e2e_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToClient::unsafe_arena_release_quality_e2e() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsRouterToClient.quality_e2e) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; - _impl_.quality_e2e_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToClient::_internal_mutable_quality_e2e() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.quality_e2e_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.quality_e2e_ = p; - } - return _impl_.quality_e2e_; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToClient::mutable_quality_e2e() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_e2e(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsRouterToClient.quality_e2e) - return _msg; -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); - } - if (quality_e2e) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_e2e)); - if (message_arena != submessage_arena) { - quality_e2e = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, quality_e2e, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.quality_e2e_ = quality_e2e; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsRouterToClient.quality_e2e) -} - -// optional uint32 seconds_until_shutdown = 6; -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_seconds_until_shutdown() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_seconds_until_shutdown() const { - return _internal_has_seconds_until_shutdown(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_seconds_until_shutdown() { - _impl_.seconds_until_shutdown_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_seconds_until_shutdown() const { - return _impl_.seconds_until_shutdown_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::seconds_until_shutdown() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.seconds_until_shutdown) - return _internal_seconds_until_shutdown(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_set_seconds_until_shutdown(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.seconds_until_shutdown_ = value; -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_seconds_until_shutdown(uint32_t value) { - _internal_set_seconds_until_shutdown(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.seconds_until_shutdown) -} - -// optional fixed32 migrate_request_ip = 10; -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_migrate_request_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_migrate_request_ip() const { - return _internal_has_migrate_request_ip(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_migrate_request_ip() { - _impl_.migrate_request_ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_migrate_request_ip() const { - return _impl_.migrate_request_ip_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::migrate_request_ip() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.migrate_request_ip) - return _internal_migrate_request_ip(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_set_migrate_request_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.migrate_request_ip_ = value; -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_migrate_request_ip(uint32_t value) { - _internal_set_migrate_request_ip(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.migrate_request_ip) -} - -// optional uint32 migrate_request_port = 11; -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_migrate_request_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_migrate_request_port() const { - return _internal_has_migrate_request_port(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_migrate_request_port() { - _impl_.migrate_request_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_migrate_request_port() const { - return _impl_.migrate_request_port_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::migrate_request_port() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.migrate_request_port) - return _internal_migrate_request_port(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_set_migrate_request_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.migrate_request_port_ = value; -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_migrate_request_port(uint32_t value) { - _internal_set_migrate_request_port(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.migrate_request_port) -} - -// optional uint32 scoring_penalty_relay_cluster = 12; -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_scoring_penalty_relay_cluster() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_scoring_penalty_relay_cluster() const { - return _internal_has_scoring_penalty_relay_cluster(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_scoring_penalty_relay_cluster() { - _impl_.scoring_penalty_relay_cluster_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_scoring_penalty_relay_cluster() const { - return _impl_.scoring_penalty_relay_cluster_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::scoring_penalty_relay_cluster() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.scoring_penalty_relay_cluster) - return _internal_scoring_penalty_relay_cluster(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_set_scoring_penalty_relay_cluster(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.scoring_penalty_relay_cluster_ = value; -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_scoring_penalty_relay_cluster(uint32_t value) { - _internal_set_scoring_penalty_relay_cluster(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.scoring_penalty_relay_cluster) -} - -// repeated fixed32 ack_relay = 13; -inline int CMsgSteamDatagramConnectionStatsRouterToClient::_internal_ack_relay_size() const { - return _impl_.ack_relay_.size(); -} -inline int CMsgSteamDatagramConnectionStatsRouterToClient::ack_relay_size() const { - return _internal_ack_relay_size(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_ack_relay() { - _impl_.ack_relay_.Clear(); -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_ack_relay(int index) const { - return _impl_.ack_relay_.Get(index); -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::ack_relay(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.ack_relay) - return _internal_ack_relay(index); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_ack_relay(int index, uint32_t value) { - _impl_.ack_relay_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.ack_relay) -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_add_ack_relay(uint32_t value) { - _impl_.ack_relay_.Add(value); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::add_ack_relay(uint32_t value) { - _internal_add_ack_relay(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsRouterToClient.ack_relay) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsRouterToClient::_internal_ack_relay() const { - return _impl_.ack_relay_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsRouterToClient::ack_relay() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsRouterToClient.ack_relay) - return _internal_ack_relay(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsRouterToClient::_internal_mutable_ack_relay() { - return &_impl_.ack_relay_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsRouterToClient::mutable_ack_relay() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsRouterToClient.ack_relay) - return _internal_mutable_ack_relay(); -} - -// repeated fixed32 legacy_ack_e2e = 14; -inline int CMsgSteamDatagramConnectionStatsRouterToClient::_internal_legacy_ack_e2e_size() const { - return _impl_.legacy_ack_e2e_.size(); -} -inline int CMsgSteamDatagramConnectionStatsRouterToClient::legacy_ack_e2e_size() const { - return _internal_legacy_ack_e2e_size(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_legacy_ack_e2e() { - _impl_.legacy_ack_e2e_.Clear(); -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_legacy_ack_e2e(int index) const { - return _impl_.legacy_ack_e2e_.Get(index); -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::legacy_ack_e2e(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.legacy_ack_e2e) - return _internal_legacy_ack_e2e(index); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_legacy_ack_e2e(int index, uint32_t value) { - _impl_.legacy_ack_e2e_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.legacy_ack_e2e) -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_add_legacy_ack_e2e(uint32_t value) { - _impl_.legacy_ack_e2e_.Add(value); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::add_legacy_ack_e2e(uint32_t value) { - _internal_add_legacy_ack_e2e(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsRouterToClient.legacy_ack_e2e) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsRouterToClient::_internal_legacy_ack_e2e() const { - return _impl_.legacy_ack_e2e_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsRouterToClient::legacy_ack_e2e() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsRouterToClient.legacy_ack_e2e) - return _internal_legacy_ack_e2e(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsRouterToClient::_internal_mutable_legacy_ack_e2e() { - return &_impl_.legacy_ack_e2e_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsRouterToClient::mutable_legacy_ack_e2e() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsRouterToClient.legacy_ack_e2e) - return _internal_mutable_legacy_ack_e2e(); -} - -// optional uint32 flags = 15; -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_flags() const { - return _internal_has_flags(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::flags() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.flags) - return _internal_flags(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.flags_ = value; -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.flags) -} - -// optional fixed32 client_connection_id = 7; -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_client_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_client_connection_id() const { - return _internal_has_client_connection_id(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_client_connection_id() { - _impl_.client_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_client_connection_id() const { - return _impl_.client_connection_id_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::client_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.client_connection_id) - return _internal_client_connection_id(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_set_client_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.client_connection_id_ = value; -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_client_connection_id(uint32_t value) { - _internal_set_client_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.client_connection_id) -} - -// optional uint32 seq_num_r2c = 8; -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_seq_num_r2c() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_seq_num_r2c() const { - return _internal_has_seq_num_r2c(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_seq_num_r2c() { - _impl_.seq_num_r2c_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_seq_num_r2c() const { - return _impl_.seq_num_r2c_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::seq_num_r2c() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.seq_num_r2c) - return _internal_seq_num_r2c(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_set_seq_num_r2c(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.seq_num_r2c_ = value; -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_seq_num_r2c(uint32_t value) { - _internal_set_seq_num_r2c(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.seq_num_r2c) -} - -// optional uint32 seq_num_e2e = 9; -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::_internal_has_seq_num_e2e() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToClient::has_seq_num_e2e() const { - return _internal_has_seq_num_e2e(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::clear_seq_num_e2e() { - _impl_.seq_num_e2e_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::_internal_seq_num_e2e() const { - return _impl_.seq_num_e2e_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToClient::seq_num_e2e() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToClient.seq_num_e2e) - return _internal_seq_num_e2e(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::_internal_set_seq_num_e2e(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.seq_num_e2e_ = value; -} -inline void CMsgSteamDatagramConnectionStatsRouterToClient::set_seq_num_e2e(uint32_t value) { - _internal_set_seq_num_e2e(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToClient.seq_num_e2e) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramConnectionStatsRouterToServer - -// optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_quality_relay() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.quality_relay_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_quality_relay() const { - return _internal_has_quality_relay(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsRouterToServer::_internal_quality_relay() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_relay_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsRouterToServer::quality_relay() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.quality_relay) - return _internal_quality_relay(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::unsafe_arena_set_allocated_quality_relay( - ::CMsgSteamDatagramConnectionQuality* quality_relay) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); - } - _impl_.quality_relay_ = quality_relay; - if (quality_relay) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsRouterToServer.quality_relay) -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToServer::release_quality_relay() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; - _impl_.quality_relay_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToServer::unsafe_arena_release_quality_relay() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsRouterToServer.quality_relay) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; - _impl_.quality_relay_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToServer::_internal_mutable_quality_relay() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.quality_relay_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.quality_relay_ = p; - } - return _impl_.quality_relay_; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToServer::mutable_quality_relay() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_relay(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsRouterToServer.quality_relay) - return _msg; -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); - } - if (quality_relay) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_relay)); - if (message_arena != submessage_arena) { - quality_relay = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, quality_relay, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.quality_relay_ = quality_relay; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsRouterToServer.quality_relay) -} - -// optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_quality_e2e() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.quality_e2e_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_quality_e2e() const { - return _internal_has_quality_e2e(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsRouterToServer::_internal_quality_e2e() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_e2e_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsRouterToServer::quality_e2e() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.quality_e2e) - return _internal_quality_e2e(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::unsafe_arena_set_allocated_quality_e2e( - ::CMsgSteamDatagramConnectionQuality* quality_e2e) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); - } - _impl_.quality_e2e_ = quality_e2e; - if (quality_e2e) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsRouterToServer.quality_e2e) -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToServer::release_quality_e2e() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; - _impl_.quality_e2e_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToServer::unsafe_arena_release_quality_e2e() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsRouterToServer.quality_e2e) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; - _impl_.quality_e2e_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToServer::_internal_mutable_quality_e2e() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.quality_e2e_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.quality_e2e_ = p; - } - return _impl_.quality_e2e_; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsRouterToServer::mutable_quality_e2e() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_e2e(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsRouterToServer.quality_e2e) - return _msg; -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); - } - if (quality_e2e) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_e2e)); - if (message_arena != submessage_arena) { - quality_e2e = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, quality_e2e, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.quality_e2e_ = quality_e2e; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsRouterToServer.quality_e2e) -} - -// repeated fixed32 ack_relay = 10; -inline int CMsgSteamDatagramConnectionStatsRouterToServer::_internal_ack_relay_size() const { - return _impl_.ack_relay_.size(); -} -inline int CMsgSteamDatagramConnectionStatsRouterToServer::ack_relay_size() const { - return _internal_ack_relay_size(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_ack_relay() { - _impl_.ack_relay_.Clear(); -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_ack_relay(int index) const { - return _impl_.ack_relay_.Get(index); -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::ack_relay(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.ack_relay) - return _internal_ack_relay(index); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_ack_relay(int index, uint32_t value) { - _impl_.ack_relay_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.ack_relay) -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_add_ack_relay(uint32_t value) { - _impl_.ack_relay_.Add(value); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::add_ack_relay(uint32_t value) { - _internal_add_ack_relay(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsRouterToServer.ack_relay) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsRouterToServer::_internal_ack_relay() const { - return _impl_.ack_relay_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsRouterToServer::ack_relay() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsRouterToServer.ack_relay) - return _internal_ack_relay(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsRouterToServer::_internal_mutable_ack_relay() { - return &_impl_.ack_relay_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsRouterToServer::mutable_ack_relay() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsRouterToServer.ack_relay) - return _internal_mutable_ack_relay(); -} - -// repeated fixed32 legacy_ack_e2e = 11; -inline int CMsgSteamDatagramConnectionStatsRouterToServer::_internal_legacy_ack_e2e_size() const { - return _impl_.legacy_ack_e2e_.size(); -} -inline int CMsgSteamDatagramConnectionStatsRouterToServer::legacy_ack_e2e_size() const { - return _internal_legacy_ack_e2e_size(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_legacy_ack_e2e() { - _impl_.legacy_ack_e2e_.Clear(); -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_legacy_ack_e2e(int index) const { - return _impl_.legacy_ack_e2e_.Get(index); -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::legacy_ack_e2e(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.legacy_ack_e2e) - return _internal_legacy_ack_e2e(index); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_legacy_ack_e2e(int index, uint32_t value) { - _impl_.legacy_ack_e2e_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.legacy_ack_e2e) -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_add_legacy_ack_e2e(uint32_t value) { - _impl_.legacy_ack_e2e_.Add(value); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::add_legacy_ack_e2e(uint32_t value) { - _internal_add_legacy_ack_e2e(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsRouterToServer.legacy_ack_e2e) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsRouterToServer::_internal_legacy_ack_e2e() const { - return _impl_.legacy_ack_e2e_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsRouterToServer::legacy_ack_e2e() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsRouterToServer.legacy_ack_e2e) - return _internal_legacy_ack_e2e(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsRouterToServer::_internal_mutable_legacy_ack_e2e() { - return &_impl_.legacy_ack_e2e_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsRouterToServer::mutable_legacy_ack_e2e() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsRouterToServer.legacy_ack_e2e) - return _internal_mutable_legacy_ack_e2e(); -} - -// optional uint32 flags = 12; -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_flags() const { - return _internal_has_flags(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::flags() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.flags) - return _internal_flags(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.flags_ = value; -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.flags) -} - -// optional uint32 seq_num_r2s = 5; -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_seq_num_r2s() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_seq_num_r2s() const { - return _internal_has_seq_num_r2s(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_seq_num_r2s() { - _impl_.seq_num_r2s_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_seq_num_r2s() const { - return _impl_.seq_num_r2s_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::seq_num_r2s() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.seq_num_r2s) - return _internal_seq_num_r2s(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_set_seq_num_r2s(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.seq_num_r2s_ = value; -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_seq_num_r2s(uint32_t value) { - _internal_set_seq_num_r2s(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.seq_num_r2s) -} - -// optional uint32 seq_num_e2e = 6; -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_seq_num_e2e() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_seq_num_e2e() const { - return _internal_has_seq_num_e2e(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_seq_num_e2e() { - _impl_.seq_num_e2e_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_seq_num_e2e() const { - return _impl_.seq_num_e2e_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::seq_num_e2e() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.seq_num_e2e) - return _internal_seq_num_e2e(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_set_seq_num_e2e(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.seq_num_e2e_ = value; -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_seq_num_e2e(uint32_t value) { - _internal_set_seq_num_e2e(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.seq_num_e2e) -} - -// optional string client_identity_string = 15; -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_client_identity_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_client_identity_string() const { - return _internal_has_client_identity_string(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_client_identity_string() { - _impl_.client_identity_string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramConnectionStatsRouterToServer::client_identity_string() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.client_identity_string) - return _internal_client_identity_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramConnectionStatsRouterToServer::set_client_identity_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.client_identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.client_identity_string) -} -inline std::string* CMsgSteamDatagramConnectionStatsRouterToServer::mutable_client_identity_string() { - std::string* _s = _internal_mutable_client_identity_string(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsRouterToServer.client_identity_string) - return _s; -} -inline const std::string& CMsgSteamDatagramConnectionStatsRouterToServer::_internal_client_identity_string() const { - return _impl_.client_identity_string_.Get(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_set_client_identity_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.client_identity_string_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramConnectionStatsRouterToServer::_internal_mutable_client_identity_string() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.client_identity_string_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramConnectionStatsRouterToServer::release_client_identity_string() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsRouterToServer.client_identity_string) - if (!_internal_has_client_identity_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.client_identity_string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.client_identity_string_.IsDefault()) { - _impl_.client_identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_allocated_client_identity_string(std::string* client_identity_string) { - if (client_identity_string != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.client_identity_string_.SetAllocated(client_identity_string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.client_identity_string_.IsDefault()) { - _impl_.client_identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsRouterToServer.client_identity_string) -} - -// optional fixed64 legacy_client_steam_id = 7; -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_legacy_client_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_legacy_client_steam_id() const { - return _internal_has_legacy_client_steam_id(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_legacy_client_steam_id() { - _impl_.legacy_client_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint64_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_legacy_client_steam_id() const { - return _impl_.legacy_client_steam_id_; -} -inline uint64_t CMsgSteamDatagramConnectionStatsRouterToServer::legacy_client_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.legacy_client_steam_id) - return _internal_legacy_client_steam_id(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_set_legacy_client_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.legacy_client_steam_id_ = value; -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_legacy_client_steam_id(uint64_t value) { - _internal_set_legacy_client_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.legacy_client_steam_id) -} - -// optional uint32 relay_session_id = 8; -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_relay_session_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_relay_session_id() const { - return _internal_has_relay_session_id(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_relay_session_id() { - _impl_.relay_session_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_relay_session_id() const { - return _impl_.relay_session_id_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::relay_session_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.relay_session_id) - return _internal_relay_session_id(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_set_relay_session_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.relay_session_id_ = value; -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_relay_session_id(uint32_t value) { - _internal_set_relay_session_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.relay_session_id) -} - -// optional fixed32 client_connection_id = 9; -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_client_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_client_connection_id() const { - return _internal_has_client_connection_id(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_client_connection_id() { - _impl_.client_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_client_connection_id() const { - return _impl_.client_connection_id_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::client_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.client_connection_id) - return _internal_client_connection_id(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_set_client_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.client_connection_id_ = value; -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_client_connection_id(uint32_t value) { - _internal_set_client_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.client_connection_id) -} - -// optional fixed32 server_connection_id = 13; -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_server_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_server_connection_id() const { - return _internal_has_server_connection_id(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_server_connection_id() { - _impl_.server_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_server_connection_id() const { - return _impl_.server_connection_id_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsRouterToServer::server_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.server_connection_id) - return _internal_server_connection_id(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_set_server_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.server_connection_id_ = value; -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_server_connection_id(uint32_t value) { - _internal_set_server_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.server_connection_id) -} - -// optional fixed64 routing_secret = 14; -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::_internal_has_routing_secret() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsRouterToServer::has_routing_secret() const { - return _internal_has_routing_secret(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::clear_routing_secret() { - _impl_.routing_secret_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint64_t CMsgSteamDatagramConnectionStatsRouterToServer::_internal_routing_secret() const { - return _impl_.routing_secret_; -} -inline uint64_t CMsgSteamDatagramConnectionStatsRouterToServer::routing_secret() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsRouterToServer.routing_secret) - return _internal_routing_secret(); -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::_internal_set_routing_secret(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.routing_secret_ = value; -} -inline void CMsgSteamDatagramConnectionStatsRouterToServer::set_routing_secret(uint64_t value) { - _internal_set_routing_secret(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsRouterToServer.routing_secret) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramConnectionStatsServerToRouter - -// optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; -inline bool CMsgSteamDatagramConnectionStatsServerToRouter::_internal_has_quality_relay() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.quality_relay_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionStatsServerToRouter::has_quality_relay() const { - return _internal_has_quality_relay(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsServerToRouter::_internal_quality_relay() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_relay_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsServerToRouter::quality_relay() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.quality_relay) - return _internal_quality_relay(); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::unsafe_arena_set_allocated_quality_relay( - ::CMsgSteamDatagramConnectionQuality* quality_relay) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); - } - _impl_.quality_relay_ = quality_relay; - if (quality_relay) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsServerToRouter.quality_relay) -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsServerToRouter::release_quality_relay() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; - _impl_.quality_relay_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsServerToRouter::unsafe_arena_release_quality_relay() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsServerToRouter.quality_relay) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; - _impl_.quality_relay_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsServerToRouter::_internal_mutable_quality_relay() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.quality_relay_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.quality_relay_ = p; - } - return _impl_.quality_relay_; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsServerToRouter::mutable_quality_relay() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_relay(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsServerToRouter.quality_relay) - return _msg; -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); - } - if (quality_relay) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_relay)); - if (message_arena != submessage_arena) { - quality_relay = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, quality_relay, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.quality_relay_ = quality_relay; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsServerToRouter.quality_relay) -} - -// optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; -inline bool CMsgSteamDatagramConnectionStatsServerToRouter::_internal_has_quality_e2e() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.quality_e2e_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionStatsServerToRouter::has_quality_e2e() const { - return _internal_has_quality_e2e(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsServerToRouter::_internal_quality_e2e() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_e2e_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsServerToRouter::quality_e2e() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.quality_e2e) - return _internal_quality_e2e(); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::unsafe_arena_set_allocated_quality_e2e( - ::CMsgSteamDatagramConnectionQuality* quality_e2e) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); - } - _impl_.quality_e2e_ = quality_e2e; - if (quality_e2e) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsServerToRouter.quality_e2e) -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsServerToRouter::release_quality_e2e() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; - _impl_.quality_e2e_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsServerToRouter::unsafe_arena_release_quality_e2e() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsServerToRouter.quality_e2e) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; - _impl_.quality_e2e_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsServerToRouter::_internal_mutable_quality_e2e() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.quality_e2e_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.quality_e2e_ = p; - } - return _impl_.quality_e2e_; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsServerToRouter::mutable_quality_e2e() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_e2e(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsServerToRouter.quality_e2e) - return _msg; -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); - } - if (quality_e2e) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_e2e)); - if (message_arena != submessage_arena) { - quality_e2e = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, quality_e2e, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.quality_e2e_ = quality_e2e; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsServerToRouter.quality_e2e) -} - -// repeated fixed32 ack_relay = 8; -inline int CMsgSteamDatagramConnectionStatsServerToRouter::_internal_ack_relay_size() const { - return _impl_.ack_relay_.size(); -} -inline int CMsgSteamDatagramConnectionStatsServerToRouter::ack_relay_size() const { - return _internal_ack_relay_size(); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::clear_ack_relay() { - _impl_.ack_relay_.Clear(); -} -inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::_internal_ack_relay(int index) const { - return _impl_.ack_relay_.Get(index); -} -inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::ack_relay(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.ack_relay) - return _internal_ack_relay(index); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_ack_relay(int index, uint32_t value) { - _impl_.ack_relay_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsServerToRouter.ack_relay) -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::_internal_add_ack_relay(uint32_t value) { - _impl_.ack_relay_.Add(value); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::add_ack_relay(uint32_t value) { - _internal_add_ack_relay(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsServerToRouter.ack_relay) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsServerToRouter::_internal_ack_relay() const { - return _impl_.ack_relay_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsServerToRouter::ack_relay() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsServerToRouter.ack_relay) - return _internal_ack_relay(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsServerToRouter::_internal_mutable_ack_relay() { - return &_impl_.ack_relay_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsServerToRouter::mutable_ack_relay() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsServerToRouter.ack_relay) - return _internal_mutable_ack_relay(); -} - -// repeated fixed32 legacy_ack_e2e = 9; -inline int CMsgSteamDatagramConnectionStatsServerToRouter::_internal_legacy_ack_e2e_size() const { - return _impl_.legacy_ack_e2e_.size(); -} -inline int CMsgSteamDatagramConnectionStatsServerToRouter::legacy_ack_e2e_size() const { - return _internal_legacy_ack_e2e_size(); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::clear_legacy_ack_e2e() { - _impl_.legacy_ack_e2e_.Clear(); -} -inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::_internal_legacy_ack_e2e(int index) const { - return _impl_.legacy_ack_e2e_.Get(index); -} -inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::legacy_ack_e2e(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.legacy_ack_e2e) - return _internal_legacy_ack_e2e(index); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_legacy_ack_e2e(int index, uint32_t value) { - _impl_.legacy_ack_e2e_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsServerToRouter.legacy_ack_e2e) -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::_internal_add_legacy_ack_e2e(uint32_t value) { - _impl_.legacy_ack_e2e_.Add(value); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::add_legacy_ack_e2e(uint32_t value) { - _internal_add_legacy_ack_e2e(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsServerToRouter.legacy_ack_e2e) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsServerToRouter::_internal_legacy_ack_e2e() const { - return _impl_.legacy_ack_e2e_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsServerToRouter::legacy_ack_e2e() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsServerToRouter.legacy_ack_e2e) - return _internal_legacy_ack_e2e(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsServerToRouter::_internal_mutable_legacy_ack_e2e() { - return &_impl_.legacy_ack_e2e_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsServerToRouter::mutable_legacy_ack_e2e() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsServerToRouter.legacy_ack_e2e) - return _internal_mutable_legacy_ack_e2e(); -} - -// optional uint32 flags = 10; -inline bool CMsgSteamDatagramConnectionStatsServerToRouter::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsServerToRouter::has_flags() const { - return _internal_has_flags(); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::flags() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.flags) - return _internal_flags(); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.flags_ = value; -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsServerToRouter.flags) -} - -// optional uint32 seq_num_s2r = 3; -inline bool CMsgSteamDatagramConnectionStatsServerToRouter::_internal_has_seq_num_s2r() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsServerToRouter::has_seq_num_s2r() const { - return _internal_has_seq_num_s2r(); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::clear_seq_num_s2r() { - _impl_.seq_num_s2r_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::_internal_seq_num_s2r() const { - return _impl_.seq_num_s2r_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::seq_num_s2r() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.seq_num_s2r) - return _internal_seq_num_s2r(); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::_internal_set_seq_num_s2r(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.seq_num_s2r_ = value; -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_seq_num_s2r(uint32_t value) { - _internal_set_seq_num_s2r(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsServerToRouter.seq_num_s2r) -} - -// optional uint32 seq_num_e2e = 4; -inline bool CMsgSteamDatagramConnectionStatsServerToRouter::_internal_has_seq_num_e2e() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsServerToRouter::has_seq_num_e2e() const { - return _internal_has_seq_num_e2e(); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::clear_seq_num_e2e() { - _impl_.seq_num_e2e_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::_internal_seq_num_e2e() const { - return _impl_.seq_num_e2e_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::seq_num_e2e() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.seq_num_e2e) - return _internal_seq_num_e2e(); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::_internal_set_seq_num_e2e(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.seq_num_e2e_ = value; -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_seq_num_e2e(uint32_t value) { - _internal_set_seq_num_e2e(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsServerToRouter.seq_num_e2e) -} - -// optional uint32 relay_session_id = 6; -inline bool CMsgSteamDatagramConnectionStatsServerToRouter::_internal_has_relay_session_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsServerToRouter::has_relay_session_id() const { - return _internal_has_relay_session_id(); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::clear_relay_session_id() { - _impl_.relay_session_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::_internal_relay_session_id() const { - return _impl_.relay_session_id_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::relay_session_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.relay_session_id) - return _internal_relay_session_id(); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::_internal_set_relay_session_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.relay_session_id_ = value; -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_relay_session_id(uint32_t value) { - _internal_set_relay_session_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsServerToRouter.relay_session_id) -} - -// optional fixed32 client_connection_id = 7; -inline bool CMsgSteamDatagramConnectionStatsServerToRouter::_internal_has_client_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsServerToRouter::has_client_connection_id() const { - return _internal_has_client_connection_id(); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::clear_client_connection_id() { - _impl_.client_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::_internal_client_connection_id() const { - return _impl_.client_connection_id_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::client_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.client_connection_id) - return _internal_client_connection_id(); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::_internal_set_client_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.client_connection_id_ = value; -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_client_connection_id(uint32_t value) { - _internal_set_client_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsServerToRouter.client_connection_id) -} - -// optional fixed32 server_connection_id = 11; -inline bool CMsgSteamDatagramConnectionStatsServerToRouter::_internal_has_server_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsServerToRouter::has_server_connection_id() const { - return _internal_has_server_connection_id(); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::clear_server_connection_id() { - _impl_.server_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::_internal_server_connection_id() const { - return _impl_.server_connection_id_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsServerToRouter::server_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsServerToRouter.server_connection_id) - return _internal_server_connection_id(); -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::_internal_set_server_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.server_connection_id_ = value; -} -inline void CMsgSteamDatagramConnectionStatsServerToRouter::set_server_connection_id(uint32_t value) { - _internal_set_server_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsServerToRouter.server_connection_id) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramP2PSessionRequestBody_EncryptedData - -// optional string peer_identity_string = 1; -inline bool CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::_internal_has_peer_identity_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::has_peer_identity_string() const { - return _internal_has_peer_identity_string(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::clear_peer_identity_string() { - _impl_.peer_identity_string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::peer_identity_string() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData.peer_identity_string) - return _internal_peer_identity_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::set_peer_identity_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.peer_identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData.peer_identity_string) -} -inline std::string* CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::mutable_peer_identity_string() { - std::string* _s = _internal_mutable_peer_identity_string(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData.peer_identity_string) - return _s; -} -inline const std::string& CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::_internal_peer_identity_string() const { - return _impl_.peer_identity_string_.Get(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::_internal_set_peer_identity_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.peer_identity_string_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::_internal_mutable_peer_identity_string() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.peer_identity_string_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::release_peer_identity_string() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData.peer_identity_string) - if (!_internal_has_peer_identity_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.peer_identity_string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.peer_identity_string_.IsDefault()) { - _impl_.peer_identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramP2PSessionRequestBody_EncryptedData::set_allocated_peer_identity_string(std::string* peer_identity_string) { - if (peer_identity_string != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.peer_identity_string_.SetAllocated(peer_identity_string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.peer_identity_string_.IsDefault()) { - _impl_.peer_identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionRequestBody.EncryptedData.peer_identity_string) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramP2PSessionRequestBody - -// optional fixed32 challenge_time = 1; -inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_challenge_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionRequestBody::has_challenge_time() const { - return _internal_has_challenge_time(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::clear_challenge_time() { - _impl_.challenge_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::_internal_challenge_time() const { - return _impl_.challenge_time_; -} -inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::challenge_time() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.challenge_time) - return _internal_challenge_time(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_challenge_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.challenge_time_ = value; -} -inline void CMsgSteamDatagramP2PSessionRequestBody::set_challenge_time(uint32_t value) { - _internal_set_challenge_time(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.challenge_time) -} - -// optional fixed64 challenge = 2; -inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_challenge() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionRequestBody::has_challenge() const { - return _internal_has_challenge(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::clear_challenge() { - _impl_.challenge_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint64_t CMsgSteamDatagramP2PSessionRequestBody::_internal_challenge() const { - return _impl_.challenge_; -} -inline uint64_t CMsgSteamDatagramP2PSessionRequestBody::challenge() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.challenge) - return _internal_challenge(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_challenge(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.challenge_ = value; -} -inline void CMsgSteamDatagramP2PSessionRequestBody::set_challenge(uint64_t value) { - _internal_set_challenge(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.challenge) -} - -// optional fixed32 client_connection_id = 3; -inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_client_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionRequestBody::has_client_connection_id() const { - return _internal_has_client_connection_id(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::clear_client_connection_id() { - _impl_.client_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::_internal_client_connection_id() const { - return _impl_.client_connection_id_; -} -inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::client_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.client_connection_id) - return _internal_client_connection_id(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_client_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.client_connection_id_ = value; -} -inline void CMsgSteamDatagramP2PSessionRequestBody::set_client_connection_id(uint32_t value) { - _internal_set_client_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.client_connection_id) -} - -// optional fixed64 legacy_peer_steam_id = 4; -inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_legacy_peer_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionRequestBody::has_legacy_peer_steam_id() const { - return _internal_has_legacy_peer_steam_id(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::clear_legacy_peer_steam_id() { - _impl_.legacy_peer_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint64_t CMsgSteamDatagramP2PSessionRequestBody::_internal_legacy_peer_steam_id() const { - return _impl_.legacy_peer_steam_id_; -} -inline uint64_t CMsgSteamDatagramP2PSessionRequestBody::legacy_peer_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.legacy_peer_steam_id) - return _internal_legacy_peer_steam_id(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_legacy_peer_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.legacy_peer_steam_id_ = value; -} -inline void CMsgSteamDatagramP2PSessionRequestBody::set_legacy_peer_steam_id(uint64_t value) { - _internal_set_legacy_peer_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.legacy_peer_steam_id) -} - -// optional string peer_identity_string = 11; -inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_peer_identity_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionRequestBody::has_peer_identity_string() const { - return _internal_has_peer_identity_string(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::clear_peer_identity_string() { - _impl_.peer_identity_string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::peer_identity_string() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.peer_identity_string) - return _internal_peer_identity_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramP2PSessionRequestBody::set_peer_identity_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.peer_identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.peer_identity_string) -} -inline std::string* CMsgSteamDatagramP2PSessionRequestBody::mutable_peer_identity_string() { - std::string* _s = _internal_mutable_peer_identity_string(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionRequestBody.peer_identity_string) - return _s; -} -inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::_internal_peer_identity_string() const { - return _impl_.peer_identity_string_.Get(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_peer_identity_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.peer_identity_string_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PSessionRequestBody::_internal_mutable_peer_identity_string() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.peer_identity_string_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PSessionRequestBody::release_peer_identity_string() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionRequestBody.peer_identity_string) - if (!_internal_has_peer_identity_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.peer_identity_string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.peer_identity_string_.IsDefault()) { - _impl_.peer_identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramP2PSessionRequestBody::set_allocated_peer_identity_string(std::string* peer_identity_string) { - if (peer_identity_string != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.peer_identity_string_.SetAllocated(peer_identity_string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.peer_identity_string_.IsDefault()) { - _impl_.peer_identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionRequestBody.peer_identity_string) -} - -// optional fixed32 peer_connection_id = 5; -inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_peer_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionRequestBody::has_peer_connection_id() const { - return _internal_has_peer_connection_id(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::clear_peer_connection_id() { - _impl_.peer_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::_internal_peer_connection_id() const { - return _impl_.peer_connection_id_; -} -inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::peer_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.peer_connection_id) - return _internal_peer_connection_id(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_peer_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.peer_connection_id_ = value; -} -inline void CMsgSteamDatagramP2PSessionRequestBody::set_peer_connection_id(uint32_t value) { - _internal_set_peer_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.peer_connection_id) -} - -// optional bytes encrypted_data = 14; -inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_encrypted_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionRequestBody::has_encrypted_data() const { - return _internal_has_encrypted_data(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::clear_encrypted_data() { - _impl_.encrypted_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::encrypted_data() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.encrypted_data) - return _internal_encrypted_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramP2PSessionRequestBody::set_encrypted_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.encrypted_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.encrypted_data) -} -inline std::string* CMsgSteamDatagramP2PSessionRequestBody::mutable_encrypted_data() { - std::string* _s = _internal_mutable_encrypted_data(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionRequestBody.encrypted_data) - return _s; -} -inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::_internal_encrypted_data() const { - return _impl_.encrypted_data_.Get(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_encrypted_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.encrypted_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PSessionRequestBody::_internal_mutable_encrypted_data() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.encrypted_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PSessionRequestBody::release_encrypted_data() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionRequestBody.encrypted_data) - if (!_internal_has_encrypted_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.encrypted_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.encrypted_data_.IsDefault()) { - _impl_.encrypted_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramP2PSessionRequestBody::set_allocated_encrypted_data(std::string* encrypted_data) { - if (encrypted_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.encrypted_data_.SetAllocated(encrypted_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.encrypted_data_.IsDefault()) { - _impl_.encrypted_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionRequestBody.encrypted_data) -} - -// optional uint32 encryption_your_public_key_lead_byte = 15; -inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_encryption_your_public_key_lead_byte() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionRequestBody::has_encryption_your_public_key_lead_byte() const { - return _internal_has_encryption_your_public_key_lead_byte(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::clear_encryption_your_public_key_lead_byte() { - _impl_.encryption_your_public_key_lead_byte_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::_internal_encryption_your_public_key_lead_byte() const { - return _impl_.encryption_your_public_key_lead_byte_; -} -inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::encryption_your_public_key_lead_byte() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.encryption_your_public_key_lead_byte) - return _internal_encryption_your_public_key_lead_byte(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_encryption_your_public_key_lead_byte(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.encryption_your_public_key_lead_byte_ = value; -} -inline void CMsgSteamDatagramP2PSessionRequestBody::set_encryption_your_public_key_lead_byte(uint32_t value) { - _internal_set_encryption_your_public_key_lead_byte(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.encryption_your_public_key_lead_byte) -} - -// optional bytes encryption_my_ephemeral_public_key = 16; -inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_encryption_my_ephemeral_public_key() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionRequestBody::has_encryption_my_ephemeral_public_key() const { - return _internal_has_encryption_my_ephemeral_public_key(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::clear_encryption_my_ephemeral_public_key() { - _impl_.encryption_my_ephemeral_public_key_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::encryption_my_ephemeral_public_key() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.encryption_my_ephemeral_public_key) - return _internal_encryption_my_ephemeral_public_key(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramP2PSessionRequestBody::set_encryption_my_ephemeral_public_key(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.encryption_my_ephemeral_public_key_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.encryption_my_ephemeral_public_key) -} -inline std::string* CMsgSteamDatagramP2PSessionRequestBody::mutable_encryption_my_ephemeral_public_key() { - std::string* _s = _internal_mutable_encryption_my_ephemeral_public_key(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionRequestBody.encryption_my_ephemeral_public_key) - return _s; -} -inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::_internal_encryption_my_ephemeral_public_key() const { - return _impl_.encryption_my_ephemeral_public_key_.Get(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_encryption_my_ephemeral_public_key(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.encryption_my_ephemeral_public_key_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PSessionRequestBody::_internal_mutable_encryption_my_ephemeral_public_key() { - _impl_._has_bits_[0] |= 0x00000010u; - return _impl_.encryption_my_ephemeral_public_key_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PSessionRequestBody::release_encryption_my_ephemeral_public_key() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionRequestBody.encryption_my_ephemeral_public_key) - if (!_internal_has_encryption_my_ephemeral_public_key()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000010u; - auto* p = _impl_.encryption_my_ephemeral_public_key_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.encryption_my_ephemeral_public_key_.IsDefault()) { - _impl_.encryption_my_ephemeral_public_key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramP2PSessionRequestBody::set_allocated_encryption_my_ephemeral_public_key(std::string* encryption_my_ephemeral_public_key) { - if (encryption_my_ephemeral_public_key != nullptr) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.encryption_my_ephemeral_public_key_.SetAllocated(encryption_my_ephemeral_public_key, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.encryption_my_ephemeral_public_key_.IsDefault()) { - _impl_.encryption_my_ephemeral_public_key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionRequestBody.encryption_my_ephemeral_public_key) -} - -// optional uint32 protocol_version = 8; -inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_protocol_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionRequestBody::has_protocol_version() const { - return _internal_has_protocol_version(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::clear_protocol_version() { - _impl_.protocol_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::_internal_protocol_version() const { - return _impl_.protocol_version_; -} -inline uint32_t CMsgSteamDatagramP2PSessionRequestBody::protocol_version() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.protocol_version) - return _internal_protocol_version(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_protocol_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.protocol_version_ = value; -} -inline void CMsgSteamDatagramP2PSessionRequestBody::set_protocol_version(uint32_t value) { - _internal_set_protocol_version(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.protocol_version) -} - -// optional uint64 network_config_version = 9; -inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_network_config_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionRequestBody::has_network_config_version() const { - return _internal_has_network_config_version(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::clear_network_config_version() { - _impl_.network_config_version_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint64_t CMsgSteamDatagramP2PSessionRequestBody::_internal_network_config_version() const { - return _impl_.network_config_version_; -} -inline uint64_t CMsgSteamDatagramP2PSessionRequestBody::network_config_version() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.network_config_version) - return _internal_network_config_version(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_network_config_version(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.network_config_version_ = value; -} -inline void CMsgSteamDatagramP2PSessionRequestBody::set_network_config_version(uint64_t value) { - _internal_set_network_config_version(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.network_config_version) -} - -// optional string platform = 12; -inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_platform() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionRequestBody::has_platform() const { - return _internal_has_platform(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::clear_platform() { - _impl_.platform_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::platform() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.platform) - return _internal_platform(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramP2PSessionRequestBody::set_platform(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.platform_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.platform) -} -inline std::string* CMsgSteamDatagramP2PSessionRequestBody::mutable_platform() { - std::string* _s = _internal_mutable_platform(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionRequestBody.platform) - return _s; -} -inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::_internal_platform() const { - return _impl_.platform_.Get(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_platform(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.platform_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PSessionRequestBody::_internal_mutable_platform() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.platform_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PSessionRequestBody::release_platform() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionRequestBody.platform) - if (!_internal_has_platform()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.platform_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.platform_.IsDefault()) { - _impl_.platform_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramP2PSessionRequestBody::set_allocated_platform(std::string* platform) { - if (platform != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.platform_.SetAllocated(platform, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.platform_.IsDefault()) { - _impl_.platform_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionRequestBody.platform) -} - -// optional string build = 13; -inline bool CMsgSteamDatagramP2PSessionRequestBody::_internal_has_build() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionRequestBody::has_build() const { - return _internal_has_build(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::clear_build() { - _impl_.build_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::build() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequestBody.build) - return _internal_build(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramP2PSessionRequestBody::set_build(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.build_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequestBody.build) -} -inline std::string* CMsgSteamDatagramP2PSessionRequestBody::mutable_build() { - std::string* _s = _internal_mutable_build(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionRequestBody.build) - return _s; -} -inline const std::string& CMsgSteamDatagramP2PSessionRequestBody::_internal_build() const { - return _impl_.build_.Get(); -} -inline void CMsgSteamDatagramP2PSessionRequestBody::_internal_set_build(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.build_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PSessionRequestBody::_internal_mutable_build() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.build_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PSessionRequestBody::release_build() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionRequestBody.build) - if (!_internal_has_build()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.build_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.build_.IsDefault()) { - _impl_.build_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramP2PSessionRequestBody::set_allocated_build(std::string* build) { - if (build != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.build_.SetAllocated(build, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.build_.IsDefault()) { - _impl_.build_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionRequestBody.build) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramP2PSessionRequest - -// optional .CMsgSteamDatagramCertificateSigned cert = 1; -inline bool CMsgSteamDatagramP2PSessionRequest::_internal_has_cert() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramP2PSessionRequest::has_cert() const { - return _internal_has_cert(); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramP2PSessionRequest::_internal_cert() const { - const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramCertificateSigned_default_instance_); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamDatagramP2PSessionRequest::cert() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequest.cert) - return _internal_cert(); -} -inline void CMsgSteamDatagramP2PSessionRequest::unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - _impl_.cert_ = cert; - if (cert) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramP2PSessionRequest.cert) -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramP2PSessionRequest::release_cert() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramP2PSessionRequest::unsafe_arena_release_cert() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionRequest.cert) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramP2PSessionRequest::_internal_mutable_cert() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.cert_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); - _impl_.cert_ = p; - } - return _impl_.cert_; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamDatagramP2PSessionRequest::mutable_cert() { - ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionRequest.cert) - return _msg; -} -inline void CMsgSteamDatagramP2PSessionRequest::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - if (cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); - if (message_arena != submessage_arena) { - cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cert, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.cert_ = cert; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionRequest.cert) -} - -// optional bytes body = 2; -inline bool CMsgSteamDatagramP2PSessionRequest::_internal_has_body() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionRequest::has_body() const { - return _internal_has_body(); -} -inline void CMsgSteamDatagramP2PSessionRequest::clear_body() { - _impl_.body_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramP2PSessionRequest::body() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequest.body) - return _internal_body(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramP2PSessionRequest::set_body(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.body_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequest.body) -} -inline std::string* CMsgSteamDatagramP2PSessionRequest::mutable_body() { - std::string* _s = _internal_mutable_body(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionRequest.body) - return _s; -} -inline const std::string& CMsgSteamDatagramP2PSessionRequest::_internal_body() const { - return _impl_.body_.Get(); -} -inline void CMsgSteamDatagramP2PSessionRequest::_internal_set_body(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.body_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PSessionRequest::_internal_mutable_body() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.body_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PSessionRequest::release_body() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionRequest.body) - if (!_internal_has_body()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.body_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.body_.IsDefault()) { - _impl_.body_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramP2PSessionRequest::set_allocated_body(std::string* body) { - if (body != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.body_.SetAllocated(body, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.body_.IsDefault()) { - _impl_.body_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionRequest.body) -} - -// optional bytes signature = 3; -inline bool CMsgSteamDatagramP2PSessionRequest::_internal_has_signature() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionRequest::has_signature() const { - return _internal_has_signature(); -} -inline void CMsgSteamDatagramP2PSessionRequest::clear_signature() { - _impl_.signature_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramP2PSessionRequest::signature() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionRequest.signature) - return _internal_signature(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramP2PSessionRequest::set_signature(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.signature_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionRequest.signature) -} -inline std::string* CMsgSteamDatagramP2PSessionRequest::mutable_signature() { - std::string* _s = _internal_mutable_signature(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionRequest.signature) - return _s; -} -inline const std::string& CMsgSteamDatagramP2PSessionRequest::_internal_signature() const { - return _impl_.signature_.Get(); -} -inline void CMsgSteamDatagramP2PSessionRequest::_internal_set_signature(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.signature_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PSessionRequest::_internal_mutable_signature() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.signature_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PSessionRequest::release_signature() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionRequest.signature) - if (!_internal_has_signature()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.signature_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.signature_.IsDefault()) { - _impl_.signature_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramP2PSessionRequest::set_allocated_signature(std::string* signature) { - if (signature != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.signature_.SetAllocated(signature, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.signature_.IsDefault()) { - _impl_.signature_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionRequest.signature) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramP2PSessionEstablished - -// optional fixed32 connection_id = 1; -inline bool CMsgSteamDatagramP2PSessionEstablished::_internal_has_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionEstablished::has_connection_id() const { - return _internal_has_connection_id(); -} -inline void CMsgSteamDatagramP2PSessionEstablished::clear_connection_id() { - _impl_.connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamDatagramP2PSessionEstablished::_internal_connection_id() const { - return _impl_.connection_id_; -} -inline uint32_t CMsgSteamDatagramP2PSessionEstablished::connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionEstablished.connection_id) - return _internal_connection_id(); -} -inline void CMsgSteamDatagramP2PSessionEstablished::_internal_set_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.connection_id_ = value; -} -inline void CMsgSteamDatagramP2PSessionEstablished::set_connection_id(uint32_t value) { - _internal_set_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionEstablished.connection_id) -} - -// optional uint32 seconds_until_shutdown = 3; -inline bool CMsgSteamDatagramP2PSessionEstablished::_internal_has_seconds_until_shutdown() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionEstablished::has_seconds_until_shutdown() const { - return _internal_has_seconds_until_shutdown(); -} -inline void CMsgSteamDatagramP2PSessionEstablished::clear_seconds_until_shutdown() { - _impl_.seconds_until_shutdown_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramP2PSessionEstablished::_internal_seconds_until_shutdown() const { - return _impl_.seconds_until_shutdown_; -} -inline uint32_t CMsgSteamDatagramP2PSessionEstablished::seconds_until_shutdown() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionEstablished.seconds_until_shutdown) - return _internal_seconds_until_shutdown(); -} -inline void CMsgSteamDatagramP2PSessionEstablished::_internal_set_seconds_until_shutdown(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.seconds_until_shutdown_ = value; -} -inline void CMsgSteamDatagramP2PSessionEstablished::set_seconds_until_shutdown(uint32_t value) { - _internal_set_seconds_until_shutdown(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionEstablished.seconds_until_shutdown) -} - -// optional bytes relay_routing_token = 4; -inline bool CMsgSteamDatagramP2PSessionEstablished::_internal_has_relay_routing_token() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionEstablished::has_relay_routing_token() const { - return _internal_has_relay_routing_token(); -} -inline void CMsgSteamDatagramP2PSessionEstablished::clear_relay_routing_token() { - _impl_.relay_routing_token_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramP2PSessionEstablished::relay_routing_token() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionEstablished.relay_routing_token) - return _internal_relay_routing_token(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramP2PSessionEstablished::set_relay_routing_token(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.relay_routing_token_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionEstablished.relay_routing_token) -} -inline std::string* CMsgSteamDatagramP2PSessionEstablished::mutable_relay_routing_token() { - std::string* _s = _internal_mutable_relay_routing_token(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PSessionEstablished.relay_routing_token) - return _s; -} -inline const std::string& CMsgSteamDatagramP2PSessionEstablished::_internal_relay_routing_token() const { - return _impl_.relay_routing_token_.Get(); -} -inline void CMsgSteamDatagramP2PSessionEstablished::_internal_set_relay_routing_token(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.relay_routing_token_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PSessionEstablished::_internal_mutable_relay_routing_token() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.relay_routing_token_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PSessionEstablished::release_relay_routing_token() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PSessionEstablished.relay_routing_token) - if (!_internal_has_relay_routing_token()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.relay_routing_token_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.relay_routing_token_.IsDefault()) { - _impl_.relay_routing_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramP2PSessionEstablished::set_allocated_relay_routing_token(std::string* relay_routing_token) { - if (relay_routing_token != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.relay_routing_token_.SetAllocated(relay_routing_token, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.relay_routing_token_.IsDefault()) { - _impl_.relay_routing_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PSessionEstablished.relay_routing_token) -} - -// optional uint32 seq_num_r2c = 5; -inline bool CMsgSteamDatagramP2PSessionEstablished::_internal_has_seq_num_r2c() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PSessionEstablished::has_seq_num_r2c() const { - return _internal_has_seq_num_r2c(); -} -inline void CMsgSteamDatagramP2PSessionEstablished::clear_seq_num_r2c() { - _impl_.seq_num_r2c_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramP2PSessionEstablished::_internal_seq_num_r2c() const { - return _impl_.seq_num_r2c_; -} -inline uint32_t CMsgSteamDatagramP2PSessionEstablished::seq_num_r2c() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PSessionEstablished.seq_num_r2c) - return _internal_seq_num_r2c(); -} -inline void CMsgSteamDatagramP2PSessionEstablished::_internal_set_seq_num_r2c(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.seq_num_r2c_ = value; -} -inline void CMsgSteamDatagramP2PSessionEstablished::set_seq_num_r2c(uint32_t value) { - _internal_set_seq_num_r2c(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PSessionEstablished.seq_num_r2c) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramConnectionStatsP2PClientToRouter - -// optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_quality_relay() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.quality_relay_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_quality_relay() const { - return _internal_has_quality_relay(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_quality_relay() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_relay_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsP2PClientToRouter::quality_relay() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_relay) - return _internal_quality_relay(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::unsafe_arena_set_allocated_quality_relay( - ::CMsgSteamDatagramConnectionQuality* quality_relay) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); - } - _impl_.quality_relay_ = quality_relay; - if (quality_relay) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_relay) -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PClientToRouter::release_quality_relay() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; - _impl_.quality_relay_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PClientToRouter::unsafe_arena_release_quality_relay() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_relay) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; - _impl_.quality_relay_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_mutable_quality_relay() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.quality_relay_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.quality_relay_ = p; - } - return _impl_.quality_relay_; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PClientToRouter::mutable_quality_relay() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_relay(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_relay) - return _msg; -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); - } - if (quality_relay) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_relay)); - if (message_arena != submessage_arena) { - quality_relay = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, quality_relay, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.quality_relay_ = quality_relay; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_relay) -} - -// optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_quality_e2e() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.quality_e2e_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_quality_e2e() const { - return _internal_has_quality_e2e(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_quality_e2e() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_e2e_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsP2PClientToRouter::quality_e2e() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_e2e) - return _internal_quality_e2e(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::unsafe_arena_set_allocated_quality_e2e( - ::CMsgSteamDatagramConnectionQuality* quality_e2e) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); - } - _impl_.quality_e2e_ = quality_e2e; - if (quality_e2e) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_e2e) -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PClientToRouter::release_quality_e2e() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; - _impl_.quality_e2e_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PClientToRouter::unsafe_arena_release_quality_e2e() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_e2e) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; - _impl_.quality_e2e_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_mutable_quality_e2e() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.quality_e2e_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.quality_e2e_ = p; - } - return _impl_.quality_e2e_; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PClientToRouter::mutable_quality_e2e() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_e2e(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_e2e) - return _msg; -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); - } - if (quality_e2e) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_e2e)); - if (message_arena != submessage_arena) { - quality_e2e = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, quality_e2e, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.quality_e2e_ = quality_e2e; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsP2PClientToRouter.quality_e2e) -} - -// optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 14; -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_p2p_routing_summary() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.p2p_routing_summary_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_p2p_routing_summary() const { - return _internal_has_p2p_routing_summary(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_p2p_routing_summary() { - if (_impl_.p2p_routing_summary_ != nullptr) _impl_.p2p_routing_summary_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const ::CMsgSteamDatagramP2PRoutingSummary& CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_p2p_routing_summary() const { - const ::CMsgSteamDatagramP2PRoutingSummary* p = _impl_.p2p_routing_summary_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramP2PRoutingSummary_default_instance_); -} -inline const ::CMsgSteamDatagramP2PRoutingSummary& CMsgSteamDatagramConnectionStatsP2PClientToRouter::p2p_routing_summary() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.p2p_routing_summary) - return _internal_p2p_routing_summary(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::unsafe_arena_set_allocated_p2p_routing_summary( - ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.p2p_routing_summary_); - } - _impl_.p2p_routing_summary_ = p2p_routing_summary; - if (p2p_routing_summary) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsP2PClientToRouter.p2p_routing_summary) -} -inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramConnectionStatsP2PClientToRouter::release_p2p_routing_summary() { - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgSteamDatagramP2PRoutingSummary* temp = _impl_.p2p_routing_summary_; - _impl_.p2p_routing_summary_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramConnectionStatsP2PClientToRouter::unsafe_arena_release_p2p_routing_summary() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsP2PClientToRouter.p2p_routing_summary) - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgSteamDatagramP2PRoutingSummary* temp = _impl_.p2p_routing_summary_; - _impl_.p2p_routing_summary_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_mutable_p2p_routing_summary() { - _impl_._has_bits_[0] |= 0x00000010u; - if (_impl_.p2p_routing_summary_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramP2PRoutingSummary>(GetArenaForAllocation()); - _impl_.p2p_routing_summary_ = p; - } - return _impl_.p2p_routing_summary_; -} -inline ::CMsgSteamDatagramP2PRoutingSummary* CMsgSteamDatagramConnectionStatsP2PClientToRouter::mutable_p2p_routing_summary() { - ::CMsgSteamDatagramP2PRoutingSummary* _msg = _internal_mutable_p2p_routing_summary(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsP2PClientToRouter.p2p_routing_summary) - return _msg; -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_allocated_p2p_routing_summary(::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_summary) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.p2p_routing_summary_; - } - if (p2p_routing_summary) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(p2p_routing_summary); - if (message_arena != submessage_arena) { - p2p_routing_summary = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, p2p_routing_summary, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.p2p_routing_summary_ = p2p_routing_summary; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsP2PClientToRouter.p2p_routing_summary) -} - -// repeated fixed32 ack_relay = 3; -inline int CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_ack_relay_size() const { - return _impl_.ack_relay_.size(); -} -inline int CMsgSteamDatagramConnectionStatsP2PClientToRouter::ack_relay_size() const { - return _internal_ack_relay_size(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_ack_relay() { - _impl_.ack_relay_.Clear(); -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_ack_relay(int index) const { - return _impl_.ack_relay_.Get(index); -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::ack_relay(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.ack_relay) - return _internal_ack_relay(index); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_ack_relay(int index, uint32_t value) { - _impl_.ack_relay_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.ack_relay) -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_add_ack_relay(uint32_t value) { - _impl_.ack_relay_.Add(value); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::add_ack_relay(uint32_t value) { - _internal_add_ack_relay(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsP2PClientToRouter.ack_relay) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_ack_relay() const { - return _impl_.ack_relay_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsP2PClientToRouter::ack_relay() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsP2PClientToRouter.ack_relay) - return _internal_ack_relay(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_mutable_ack_relay() { - return &_impl_.ack_relay_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsP2PClientToRouter::mutable_ack_relay() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsP2PClientToRouter.ack_relay) - return _internal_mutable_ack_relay(); -} - -// repeated fixed32 legacy_ack_e2e = 4; -inline int CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_legacy_ack_e2e_size() const { - return _impl_.legacy_ack_e2e_.size(); -} -inline int CMsgSteamDatagramConnectionStatsP2PClientToRouter::legacy_ack_e2e_size() const { - return _internal_legacy_ack_e2e_size(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_legacy_ack_e2e() { - _impl_.legacy_ack_e2e_.Clear(); -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_legacy_ack_e2e(int index) const { - return _impl_.legacy_ack_e2e_.Get(index); -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::legacy_ack_e2e(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.legacy_ack_e2e) - return _internal_legacy_ack_e2e(index); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_legacy_ack_e2e(int index, uint32_t value) { - _impl_.legacy_ack_e2e_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.legacy_ack_e2e) -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_add_legacy_ack_e2e(uint32_t value) { - _impl_.legacy_ack_e2e_.Add(value); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::add_legacy_ack_e2e(uint32_t value) { - _internal_add_legacy_ack_e2e(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsP2PClientToRouter.legacy_ack_e2e) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_legacy_ack_e2e() const { - return _impl_.legacy_ack_e2e_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsP2PClientToRouter::legacy_ack_e2e() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsP2PClientToRouter.legacy_ack_e2e) - return _internal_legacy_ack_e2e(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_mutable_legacy_ack_e2e() { - return &_impl_.legacy_ack_e2e_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsP2PClientToRouter::mutable_legacy_ack_e2e() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsP2PClientToRouter.legacy_ack_e2e) - return _internal_mutable_legacy_ack_e2e(); -} - -// optional uint32 flags = 5; -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_flags() const { - return _internal_has_flags(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::flags() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.flags) - return _internal_flags(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.flags_ = value; -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.flags) -} - -// optional bytes forward_target_relay_routing_token = 6; -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_forward_target_relay_routing_token() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_forward_target_relay_routing_token() const { - return _internal_has_forward_target_relay_routing_token(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_forward_target_relay_routing_token() { - _impl_.forward_target_relay_routing_token_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramConnectionStatsP2PClientToRouter::forward_target_relay_routing_token() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.forward_target_relay_routing_token) - return _internal_forward_target_relay_routing_token(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_forward_target_relay_routing_token(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.forward_target_relay_routing_token_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.forward_target_relay_routing_token) -} -inline std::string* CMsgSteamDatagramConnectionStatsP2PClientToRouter::mutable_forward_target_relay_routing_token() { - std::string* _s = _internal_mutable_forward_target_relay_routing_token(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsP2PClientToRouter.forward_target_relay_routing_token) - return _s; -} -inline const std::string& CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_forward_target_relay_routing_token() const { - return _impl_.forward_target_relay_routing_token_.Get(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_set_forward_target_relay_routing_token(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.forward_target_relay_routing_token_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_mutable_forward_target_relay_routing_token() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.forward_target_relay_routing_token_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramConnectionStatsP2PClientToRouter::release_forward_target_relay_routing_token() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsP2PClientToRouter.forward_target_relay_routing_token) - if (!_internal_has_forward_target_relay_routing_token()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.forward_target_relay_routing_token_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.forward_target_relay_routing_token_.IsDefault()) { - _impl_.forward_target_relay_routing_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_allocated_forward_target_relay_routing_token(std::string* forward_target_relay_routing_token) { - if (forward_target_relay_routing_token != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.forward_target_relay_routing_token_.SetAllocated(forward_target_relay_routing_token, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.forward_target_relay_routing_token_.IsDefault()) { - _impl_.forward_target_relay_routing_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsP2PClientToRouter.forward_target_relay_routing_token) -} - -// optional uint32 forward_target_revision = 7; -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_forward_target_revision() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_forward_target_revision() const { - return _internal_has_forward_target_revision(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_forward_target_revision() { - _impl_.forward_target_revision_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_forward_target_revision() const { - return _impl_.forward_target_revision_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::forward_target_revision() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.forward_target_revision) - return _internal_forward_target_revision(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_set_forward_target_revision(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.forward_target_revision_ = value; -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_forward_target_revision(uint32_t value) { - _internal_set_forward_target_revision(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.forward_target_revision) -} - -// optional bytes routes = 8; -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_routes() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_routes() const { - return _internal_has_routes(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_routes() { - _impl_.routes_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramConnectionStatsP2PClientToRouter::routes() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.routes) - return _internal_routes(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_routes(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.routes_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.routes) -} -inline std::string* CMsgSteamDatagramConnectionStatsP2PClientToRouter::mutable_routes() { - std::string* _s = _internal_mutable_routes(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsP2PClientToRouter.routes) - return _s; -} -inline const std::string& CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_routes() const { - return _impl_.routes_.Get(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_set_routes(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.routes_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_mutable_routes() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.routes_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramConnectionStatsP2PClientToRouter::release_routes() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsP2PClientToRouter.routes) - if (!_internal_has_routes()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.routes_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.routes_.IsDefault()) { - _impl_.routes_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_allocated_routes(std::string* routes) { - if (routes != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.routes_.SetAllocated(routes, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.routes_.IsDefault()) { - _impl_.routes_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsP2PClientToRouter.routes) -} - -// optional uint32 ack_peer_routes_revision = 9; -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_ack_peer_routes_revision() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_ack_peer_routes_revision() const { - return _internal_has_ack_peer_routes_revision(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_ack_peer_routes_revision() { - _impl_.ack_peer_routes_revision_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_ack_peer_routes_revision() const { - return _impl_.ack_peer_routes_revision_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::ack_peer_routes_revision() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.ack_peer_routes_revision) - return _internal_ack_peer_routes_revision(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_set_ack_peer_routes_revision(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.ack_peer_routes_revision_ = value; -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_ack_peer_routes_revision(uint32_t value) { - _internal_set_ack_peer_routes_revision(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.ack_peer_routes_revision) -} - -// optional fixed32 connection_id = 10; -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_connection_id() const { - return _internal_has_connection_id(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_connection_id() { - _impl_.connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_connection_id() const { - return _impl_.connection_id_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.connection_id) - return _internal_connection_id(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_set_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.connection_id_ = value; -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_connection_id(uint32_t value) { - _internal_set_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.connection_id) -} - -// optional uint32 seq_num_c2r = 11; -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_seq_num_c2r() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_seq_num_c2r() const { - return _internal_has_seq_num_c2r(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_seq_num_c2r() { - _impl_.seq_num_c2r_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_seq_num_c2r() const { - return _impl_.seq_num_c2r_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::seq_num_c2r() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.seq_num_c2r) - return _internal_seq_num_c2r(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_set_seq_num_c2r(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.seq_num_c2r_ = value; -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_seq_num_c2r(uint32_t value) { - _internal_set_seq_num_c2r(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.seq_num_c2r) -} - -// optional uint32 seq_num_e2e = 12; -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_has_seq_num_e2e() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PClientToRouter::has_seq_num_e2e() const { - return _internal_has_seq_num_e2e(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::clear_seq_num_e2e() { - _impl_.seq_num_e2e_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_seq_num_e2e() const { - return _impl_.seq_num_e2e_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PClientToRouter::seq_num_e2e() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PClientToRouter.seq_num_e2e) - return _internal_seq_num_e2e(); -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::_internal_set_seq_num_e2e(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.seq_num_e2e_ = value; -} -inline void CMsgSteamDatagramConnectionStatsP2PClientToRouter::set_seq_num_e2e(uint32_t value) { - _internal_set_seq_num_e2e(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PClientToRouter.seq_num_e2e) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramConnectionStatsP2PRouterToClient - -// optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_quality_relay() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.quality_relay_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_quality_relay() const { - return _internal_has_quality_relay(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_quality_relay() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_relay_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsP2PRouterToClient::quality_relay() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_relay) - return _internal_quality_relay(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::unsafe_arena_set_allocated_quality_relay( - ::CMsgSteamDatagramConnectionQuality* quality_relay) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); - } - _impl_.quality_relay_ = quality_relay; - if (quality_relay) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_relay) -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PRouterToClient::release_quality_relay() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; - _impl_.quality_relay_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PRouterToClient::unsafe_arena_release_quality_relay() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_relay) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_relay_; - _impl_.quality_relay_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_mutable_quality_relay() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.quality_relay_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.quality_relay_ = p; - } - return _impl_.quality_relay_; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PRouterToClient::mutable_quality_relay() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_relay(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_relay) - return _msg; -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_allocated_quality_relay(::CMsgSteamDatagramConnectionQuality* quality_relay) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_relay_); - } - if (quality_relay) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_relay)); - if (message_arena != submessage_arena) { - quality_relay = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, quality_relay, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.quality_relay_ = quality_relay; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_relay) -} - -// optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_quality_e2e() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.quality_e2e_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_quality_e2e() const { - return _internal_has_quality_e2e(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_quality_e2e() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.quality_e2e_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamDatagramConnectionStatsP2PRouterToClient::quality_e2e() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_e2e) - return _internal_quality_e2e(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::unsafe_arena_set_allocated_quality_e2e( - ::CMsgSteamDatagramConnectionQuality* quality_e2e) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); - } - _impl_.quality_e2e_ = quality_e2e; - if (quality_e2e) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_e2e) -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PRouterToClient::release_quality_e2e() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; - _impl_.quality_e2e_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PRouterToClient::unsafe_arena_release_quality_e2e() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_e2e) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.quality_e2e_; - _impl_.quality_e2e_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_mutable_quality_e2e() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.quality_e2e_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.quality_e2e_ = p; - } - return _impl_.quality_e2e_; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamDatagramConnectionStatsP2PRouterToClient::mutable_quality_e2e() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_quality_e2e(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_e2e) - return _msg; -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_allocated_quality_e2e(::CMsgSteamDatagramConnectionQuality* quality_e2e) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.quality_e2e_); - } - if (quality_e2e) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(quality_e2e)); - if (message_arena != submessage_arena) { - quality_e2e = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, quality_e2e, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.quality_e2e_ = quality_e2e; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsP2PRouterToClient.quality_e2e) -} - -// optional uint32 seconds_until_shutdown = 3; -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_seconds_until_shutdown() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_seconds_until_shutdown() const { - return _internal_has_seconds_until_shutdown(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_seconds_until_shutdown() { - _impl_.seconds_until_shutdown_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_seconds_until_shutdown() const { - return _impl_.seconds_until_shutdown_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::seconds_until_shutdown() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.seconds_until_shutdown) - return _internal_seconds_until_shutdown(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_seconds_until_shutdown(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.seconds_until_shutdown_ = value; -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_seconds_until_shutdown(uint32_t value) { - _internal_set_seconds_until_shutdown(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.seconds_until_shutdown) -} - -// optional fixed32 migrate_request_ip = 4; -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_migrate_request_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_migrate_request_ip() const { - return _internal_has_migrate_request_ip(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_migrate_request_ip() { - _impl_.migrate_request_ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_migrate_request_ip() const { - return _impl_.migrate_request_ip_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::migrate_request_ip() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.migrate_request_ip) - return _internal_migrate_request_ip(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_migrate_request_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.migrate_request_ip_ = value; -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_migrate_request_ip(uint32_t value) { - _internal_set_migrate_request_ip(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.migrate_request_ip) -} - -// optional uint32 migrate_request_port = 5; -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_migrate_request_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_migrate_request_port() const { - return _internal_has_migrate_request_port(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_migrate_request_port() { - _impl_.migrate_request_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_migrate_request_port() const { - return _impl_.migrate_request_port_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::migrate_request_port() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.migrate_request_port) - return _internal_migrate_request_port(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_migrate_request_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.migrate_request_port_ = value; -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_migrate_request_port(uint32_t value) { - _internal_set_migrate_request_port(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.migrate_request_port) -} - -// optional uint32 scoring_penalty_relay_cluster = 6; -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_scoring_penalty_relay_cluster() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_scoring_penalty_relay_cluster() const { - return _internal_has_scoring_penalty_relay_cluster(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_scoring_penalty_relay_cluster() { - _impl_.scoring_penalty_relay_cluster_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_scoring_penalty_relay_cluster() const { - return _impl_.scoring_penalty_relay_cluster_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::scoring_penalty_relay_cluster() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.scoring_penalty_relay_cluster) - return _internal_scoring_penalty_relay_cluster(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_scoring_penalty_relay_cluster(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.scoring_penalty_relay_cluster_ = value; -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_scoring_penalty_relay_cluster(uint32_t value) { - _internal_set_scoring_penalty_relay_cluster(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.scoring_penalty_relay_cluster) -} - -// repeated fixed32 ack_relay = 7; -inline int CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_ack_relay_size() const { - return _impl_.ack_relay_.size(); -} -inline int CMsgSteamDatagramConnectionStatsP2PRouterToClient::ack_relay_size() const { - return _internal_ack_relay_size(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_ack_relay() { - _impl_.ack_relay_.Clear(); -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_ack_relay(int index) const { - return _impl_.ack_relay_.Get(index); -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::ack_relay(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.ack_relay) - return _internal_ack_relay(index); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_ack_relay(int index, uint32_t value) { - _impl_.ack_relay_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.ack_relay) -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_add_ack_relay(uint32_t value) { - _impl_.ack_relay_.Add(value); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::add_ack_relay(uint32_t value) { - _internal_add_ack_relay(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsP2PRouterToClient.ack_relay) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_ack_relay() const { - return _impl_.ack_relay_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsP2PRouterToClient::ack_relay() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsP2PRouterToClient.ack_relay) - return _internal_ack_relay(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_mutable_ack_relay() { - return &_impl_.ack_relay_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsP2PRouterToClient::mutable_ack_relay() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsP2PRouterToClient.ack_relay) - return _internal_mutable_ack_relay(); -} - -// repeated fixed32 legacy_ack_e2e = 8; -inline int CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_legacy_ack_e2e_size() const { - return _impl_.legacy_ack_e2e_.size(); -} -inline int CMsgSteamDatagramConnectionStatsP2PRouterToClient::legacy_ack_e2e_size() const { - return _internal_legacy_ack_e2e_size(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_legacy_ack_e2e() { - _impl_.legacy_ack_e2e_.Clear(); -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_legacy_ack_e2e(int index) const { - return _impl_.legacy_ack_e2e_.Get(index); -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::legacy_ack_e2e(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.legacy_ack_e2e) - return _internal_legacy_ack_e2e(index); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_legacy_ack_e2e(int index, uint32_t value) { - _impl_.legacy_ack_e2e_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.legacy_ack_e2e) -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_add_legacy_ack_e2e(uint32_t value) { - _impl_.legacy_ack_e2e_.Add(value); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::add_legacy_ack_e2e(uint32_t value) { - _internal_add_legacy_ack_e2e(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramConnectionStatsP2PRouterToClient.legacy_ack_e2e) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_legacy_ack_e2e() const { - return _impl_.legacy_ack_e2e_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramConnectionStatsP2PRouterToClient::legacy_ack_e2e() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramConnectionStatsP2PRouterToClient.legacy_ack_e2e) - return _internal_legacy_ack_e2e(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_mutable_legacy_ack_e2e() { - return &_impl_.legacy_ack_e2e_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramConnectionStatsP2PRouterToClient::mutable_legacy_ack_e2e() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramConnectionStatsP2PRouterToClient.legacy_ack_e2e) - return _internal_mutable_legacy_ack_e2e(); -} - -// optional uint32 flags = 9; -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_flags() const { - return _internal_has_flags(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::flags() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.flags) - return _internal_flags(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.flags_ = value; -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.flags) -} - -// optional uint32 ack_forward_target_revision = 10; -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_ack_forward_target_revision() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_ack_forward_target_revision() const { - return _internal_has_ack_forward_target_revision(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_ack_forward_target_revision() { - _impl_.ack_forward_target_revision_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_ack_forward_target_revision() const { - return _impl_.ack_forward_target_revision_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::ack_forward_target_revision() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.ack_forward_target_revision) - return _internal_ack_forward_target_revision(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_ack_forward_target_revision(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.ack_forward_target_revision_ = value; -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_ack_forward_target_revision(uint32_t value) { - _internal_set_ack_forward_target_revision(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.ack_forward_target_revision) -} - -// optional bytes routes = 11; -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_routes() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_routes() const { - return _internal_has_routes(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_routes() { - _impl_.routes_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramConnectionStatsP2PRouterToClient::routes() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.routes) - return _internal_routes(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_routes(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.routes_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.routes) -} -inline std::string* CMsgSteamDatagramConnectionStatsP2PRouterToClient::mutable_routes() { - std::string* _s = _internal_mutable_routes(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionStatsP2PRouterToClient.routes) - return _s; -} -inline const std::string& CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_routes() const { - return _impl_.routes_.Get(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_routes(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.routes_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_mutable_routes() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.routes_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramConnectionStatsP2PRouterToClient::release_routes() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionStatsP2PRouterToClient.routes) - if (!_internal_has_routes()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.routes_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.routes_.IsDefault()) { - _impl_.routes_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_allocated_routes(std::string* routes) { - if (routes != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.routes_.SetAllocated(routes, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.routes_.IsDefault()) { - _impl_.routes_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionStatsP2PRouterToClient.routes) -} - -// optional uint32 ack_peer_routes_revision = 12; -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_ack_peer_routes_revision() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_ack_peer_routes_revision() const { - return _internal_has_ack_peer_routes_revision(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_ack_peer_routes_revision() { - _impl_.ack_peer_routes_revision_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_ack_peer_routes_revision() const { - return _impl_.ack_peer_routes_revision_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::ack_peer_routes_revision() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.ack_peer_routes_revision) - return _internal_ack_peer_routes_revision(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_ack_peer_routes_revision(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.ack_peer_routes_revision_ = value; -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_ack_peer_routes_revision(uint32_t value) { - _internal_set_ack_peer_routes_revision(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.ack_peer_routes_revision) -} - -// optional fixed32 connection_id = 13; -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_connection_id() const { - return _internal_has_connection_id(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_connection_id() { - _impl_.connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_connection_id() const { - return _impl_.connection_id_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.connection_id) - return _internal_connection_id(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.connection_id_ = value; -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_connection_id(uint32_t value) { - _internal_set_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.connection_id) -} - -// optional uint32 seq_num_r2c = 14; -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_seq_num_r2c() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_seq_num_r2c() const { - return _internal_has_seq_num_r2c(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_seq_num_r2c() { - _impl_.seq_num_r2c_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_seq_num_r2c() const { - return _impl_.seq_num_r2c_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::seq_num_r2c() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.seq_num_r2c) - return _internal_seq_num_r2c(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_seq_num_r2c(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.seq_num_r2c_ = value; -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_seq_num_r2c(uint32_t value) { - _internal_set_seq_num_r2c(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.seq_num_r2c) -} - -// optional uint32 seq_num_e2e = 15; -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_has_seq_num_e2e() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgSteamDatagramConnectionStatsP2PRouterToClient::has_seq_num_e2e() const { - return _internal_has_seq_num_e2e(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::clear_seq_num_e2e() { - _impl_.seq_num_e2e_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_seq_num_e2e() const { - return _impl_.seq_num_e2e_; -} -inline uint32_t CMsgSteamDatagramConnectionStatsP2PRouterToClient::seq_num_e2e() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionStatsP2PRouterToClient.seq_num_e2e) - return _internal_seq_num_e2e(); -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::_internal_set_seq_num_e2e(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.seq_num_e2e_ = value; -} -inline void CMsgSteamDatagramConnectionStatsP2PRouterToClient::set_seq_num_e2e(uint32_t value) { - _internal_set_seq_num_e2e(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramConnectionStatsP2PRouterToClient.seq_num_e2e) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramP2PBadRouteRouterToClient - -// optional fixed32 connection_id = 1; -inline bool CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_has_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PBadRouteRouterToClient::has_connection_id() const { - return _internal_has_connection_id(); -} -inline void CMsgSteamDatagramP2PBadRouteRouterToClient::clear_connection_id() { - _impl_.connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_connection_id() const { - return _impl_.connection_id_; -} -inline uint32_t CMsgSteamDatagramP2PBadRouteRouterToClient::connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PBadRouteRouterToClient.connection_id) - return _internal_connection_id(); -} -inline void CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_set_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.connection_id_ = value; -} -inline void CMsgSteamDatagramP2PBadRouteRouterToClient::set_connection_id(uint32_t value) { - _internal_set_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PBadRouteRouterToClient.connection_id) -} - -// optional bytes failed_relay_routing_token = 2; -inline bool CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_has_failed_relay_routing_token() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PBadRouteRouterToClient::has_failed_relay_routing_token() const { - return _internal_has_failed_relay_routing_token(); -} -inline void CMsgSteamDatagramP2PBadRouteRouterToClient::clear_failed_relay_routing_token() { - _impl_.failed_relay_routing_token_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramP2PBadRouteRouterToClient::failed_relay_routing_token() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PBadRouteRouterToClient.failed_relay_routing_token) - return _internal_failed_relay_routing_token(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramP2PBadRouteRouterToClient::set_failed_relay_routing_token(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.failed_relay_routing_token_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PBadRouteRouterToClient.failed_relay_routing_token) -} -inline std::string* CMsgSteamDatagramP2PBadRouteRouterToClient::mutable_failed_relay_routing_token() { - std::string* _s = _internal_mutable_failed_relay_routing_token(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PBadRouteRouterToClient.failed_relay_routing_token) - return _s; -} -inline const std::string& CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_failed_relay_routing_token() const { - return _impl_.failed_relay_routing_token_.Get(); -} -inline void CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_set_failed_relay_routing_token(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.failed_relay_routing_token_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_mutable_failed_relay_routing_token() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.failed_relay_routing_token_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PBadRouteRouterToClient::release_failed_relay_routing_token() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PBadRouteRouterToClient.failed_relay_routing_token) - if (!_internal_has_failed_relay_routing_token()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.failed_relay_routing_token_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.failed_relay_routing_token_.IsDefault()) { - _impl_.failed_relay_routing_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramP2PBadRouteRouterToClient::set_allocated_failed_relay_routing_token(std::string* failed_relay_routing_token) { - if (failed_relay_routing_token != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.failed_relay_routing_token_.SetAllocated(failed_relay_routing_token, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.failed_relay_routing_token_.IsDefault()) { - _impl_.failed_relay_routing_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PBadRouteRouterToClient.failed_relay_routing_token) -} - -// optional uint32 ack_forward_target_revision = 3; -inline bool CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_has_ack_forward_target_revision() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PBadRouteRouterToClient::has_ack_forward_target_revision() const { - return _internal_has_ack_forward_target_revision(); -} -inline void CMsgSteamDatagramP2PBadRouteRouterToClient::clear_ack_forward_target_revision() { - _impl_.ack_forward_target_revision_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_ack_forward_target_revision() const { - return _impl_.ack_forward_target_revision_; -} -inline uint32_t CMsgSteamDatagramP2PBadRouteRouterToClient::ack_forward_target_revision() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PBadRouteRouterToClient.ack_forward_target_revision) - return _internal_ack_forward_target_revision(); -} -inline void CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_set_ack_forward_target_revision(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.ack_forward_target_revision_ = value; -} -inline void CMsgSteamDatagramP2PBadRouteRouterToClient::set_ack_forward_target_revision(uint32_t value) { - _internal_set_ack_forward_target_revision(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PBadRouteRouterToClient.ack_forward_target_revision) -} - -// optional fixed64 kludge_pad = 99; -inline bool CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_has_kludge_pad() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PBadRouteRouterToClient::has_kludge_pad() const { - return _internal_has_kludge_pad(); -} -inline void CMsgSteamDatagramP2PBadRouteRouterToClient::clear_kludge_pad() { - _impl_.kludge_pad_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_kludge_pad() const { - return _impl_.kludge_pad_; -} -inline uint64_t CMsgSteamDatagramP2PBadRouteRouterToClient::kludge_pad() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PBadRouteRouterToClient.kludge_pad) - return _internal_kludge_pad(); -} -inline void CMsgSteamDatagramP2PBadRouteRouterToClient::_internal_set_kludge_pad(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.kludge_pad_ = value; -} -inline void CMsgSteamDatagramP2PBadRouteRouterToClient::set_kludge_pad(uint64_t value) { - _internal_set_kludge_pad(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PBadRouteRouterToClient.kludge_pad) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramP2PRoutes_RelayCluster - -// optional fixed32 pop_id = 1; -inline bool CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_has_pop_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PRoutes_RelayCluster::has_pop_id() const { - return _internal_has_pop_id(); -} -inline void CMsgSteamDatagramP2PRoutes_RelayCluster::clear_pop_id() { - _impl_.pop_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_pop_id() const { - return _impl_.pop_id_; -} -inline uint32_t CMsgSteamDatagramP2PRoutes_RelayCluster::pop_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.RelayCluster.pop_id) - return _internal_pop_id(); -} -inline void CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_set_pop_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.pop_id_ = value; -} -inline void CMsgSteamDatagramP2PRoutes_RelayCluster::set_pop_id(uint32_t value) { - _internal_set_pop_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PRoutes.RelayCluster.pop_id) -} - -// optional uint32 ping_ms = 2; -inline bool CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_has_ping_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PRoutes_RelayCluster::has_ping_ms() const { - return _internal_has_ping_ms(); -} -inline void CMsgSteamDatagramP2PRoutes_RelayCluster::clear_ping_ms() { - _impl_.ping_ms_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_ping_ms() const { - return _impl_.ping_ms_; -} -inline uint32_t CMsgSteamDatagramP2PRoutes_RelayCluster::ping_ms() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.RelayCluster.ping_ms) - return _internal_ping_ms(); -} -inline void CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_set_ping_ms(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.ping_ms_ = value; -} -inline void CMsgSteamDatagramP2PRoutes_RelayCluster::set_ping_ms(uint32_t value) { - _internal_set_ping_ms(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PRoutes.RelayCluster.ping_ms) -} - -// optional uint32 score_penalty = 3; -inline bool CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_has_score_penalty() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PRoutes_RelayCluster::has_score_penalty() const { - return _internal_has_score_penalty(); -} -inline void CMsgSteamDatagramP2PRoutes_RelayCluster::clear_score_penalty() { - _impl_.score_penalty_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_score_penalty() const { - return _impl_.score_penalty_; -} -inline uint32_t CMsgSteamDatagramP2PRoutes_RelayCluster::score_penalty() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.RelayCluster.score_penalty) - return _internal_score_penalty(); -} -inline void CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_set_score_penalty(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.score_penalty_ = value; -} -inline void CMsgSteamDatagramP2PRoutes_RelayCluster::set_score_penalty(uint32_t value) { - _internal_set_score_penalty(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PRoutes.RelayCluster.score_penalty) -} - -// optional bytes session_relay_routing_token = 4; -inline bool CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_has_session_relay_routing_token() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PRoutes_RelayCluster::has_session_relay_routing_token() const { - return _internal_has_session_relay_routing_token(); -} -inline void CMsgSteamDatagramP2PRoutes_RelayCluster::clear_session_relay_routing_token() { - _impl_.session_relay_routing_token_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramP2PRoutes_RelayCluster::session_relay_routing_token() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.RelayCluster.session_relay_routing_token) - return _internal_session_relay_routing_token(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramP2PRoutes_RelayCluster::set_session_relay_routing_token(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.session_relay_routing_token_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PRoutes.RelayCluster.session_relay_routing_token) -} -inline std::string* CMsgSteamDatagramP2PRoutes_RelayCluster::mutable_session_relay_routing_token() { - std::string* _s = _internal_mutable_session_relay_routing_token(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PRoutes.RelayCluster.session_relay_routing_token) - return _s; -} -inline const std::string& CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_session_relay_routing_token() const { - return _impl_.session_relay_routing_token_.Get(); -} -inline void CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_set_session_relay_routing_token(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.session_relay_routing_token_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PRoutes_RelayCluster::_internal_mutable_session_relay_routing_token() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.session_relay_routing_token_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramP2PRoutes_RelayCluster::release_session_relay_routing_token() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramP2PRoutes.RelayCluster.session_relay_routing_token) - if (!_internal_has_session_relay_routing_token()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.session_relay_routing_token_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.session_relay_routing_token_.IsDefault()) { - _impl_.session_relay_routing_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramP2PRoutes_RelayCluster::set_allocated_session_relay_routing_token(std::string* session_relay_routing_token) { - if (session_relay_routing_token != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.session_relay_routing_token_.SetAllocated(session_relay_routing_token, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.session_relay_routing_token_.IsDefault()) { - _impl_.session_relay_routing_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramP2PRoutes.RelayCluster.session_relay_routing_token) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramP2PRoutes_Route - -// optional fixed32 my_pop_id = 1; -inline bool CMsgSteamDatagramP2PRoutes_Route::_internal_has_my_pop_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PRoutes_Route::has_my_pop_id() const { - return _internal_has_my_pop_id(); -} -inline void CMsgSteamDatagramP2PRoutes_Route::clear_my_pop_id() { - _impl_.my_pop_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSteamDatagramP2PRoutes_Route::_internal_my_pop_id() const { - return _impl_.my_pop_id_; -} -inline uint32_t CMsgSteamDatagramP2PRoutes_Route::my_pop_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.Route.my_pop_id) - return _internal_my_pop_id(); -} -inline void CMsgSteamDatagramP2PRoutes_Route::_internal_set_my_pop_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.my_pop_id_ = value; -} -inline void CMsgSteamDatagramP2PRoutes_Route::set_my_pop_id(uint32_t value) { - _internal_set_my_pop_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PRoutes.Route.my_pop_id) -} - -// optional fixed32 your_pop_id = 2; -inline bool CMsgSteamDatagramP2PRoutes_Route::_internal_has_your_pop_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PRoutes_Route::has_your_pop_id() const { - return _internal_has_your_pop_id(); -} -inline void CMsgSteamDatagramP2PRoutes_Route::clear_your_pop_id() { - _impl_.your_pop_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamDatagramP2PRoutes_Route::_internal_your_pop_id() const { - return _impl_.your_pop_id_; -} -inline uint32_t CMsgSteamDatagramP2PRoutes_Route::your_pop_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.Route.your_pop_id) - return _internal_your_pop_id(); -} -inline void CMsgSteamDatagramP2PRoutes_Route::_internal_set_your_pop_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.your_pop_id_ = value; -} -inline void CMsgSteamDatagramP2PRoutes_Route::set_your_pop_id(uint32_t value) { - _internal_set_your_pop_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PRoutes.Route.your_pop_id) -} - -// optional uint32 legacy_score = 3; -inline bool CMsgSteamDatagramP2PRoutes_Route::_internal_has_legacy_score() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PRoutes_Route::has_legacy_score() const { - return _internal_has_legacy_score(); -} -inline void CMsgSteamDatagramP2PRoutes_Route::clear_legacy_score() { - _impl_.legacy_score_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramP2PRoutes_Route::_internal_legacy_score() const { - return _impl_.legacy_score_; -} -inline uint32_t CMsgSteamDatagramP2PRoutes_Route::legacy_score() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.Route.legacy_score) - return _internal_legacy_score(); -} -inline void CMsgSteamDatagramP2PRoutes_Route::_internal_set_legacy_score(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.legacy_score_ = value; -} -inline void CMsgSteamDatagramP2PRoutes_Route::set_legacy_score(uint32_t value) { - _internal_set_legacy_score(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PRoutes.Route.legacy_score) -} - -// optional uint32 interior_score = 4; -inline bool CMsgSteamDatagramP2PRoutes_Route::_internal_has_interior_score() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PRoutes_Route::has_interior_score() const { - return _internal_has_interior_score(); -} -inline void CMsgSteamDatagramP2PRoutes_Route::clear_interior_score() { - _impl_.interior_score_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramP2PRoutes_Route::_internal_interior_score() const { - return _impl_.interior_score_; -} -inline uint32_t CMsgSteamDatagramP2PRoutes_Route::interior_score() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.Route.interior_score) - return _internal_interior_score(); -} -inline void CMsgSteamDatagramP2PRoutes_Route::_internal_set_interior_score(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.interior_score_ = value; -} -inline void CMsgSteamDatagramP2PRoutes_Route::set_interior_score(uint32_t value) { - _internal_set_interior_score(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PRoutes.Route.interior_score) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramP2PRoutes - -// repeated .CMsgSteamDatagramP2PRoutes.RelayCluster relay_clusters = 1; -inline int CMsgSteamDatagramP2PRoutes::_internal_relay_clusters_size() const { - return _impl_.relay_clusters_.size(); -} -inline int CMsgSteamDatagramP2PRoutes::relay_clusters_size() const { - return _internal_relay_clusters_size(); -} -inline void CMsgSteamDatagramP2PRoutes::clear_relay_clusters() { - _impl_.relay_clusters_.Clear(); -} -inline ::CMsgSteamDatagramP2PRoutes_RelayCluster* CMsgSteamDatagramP2PRoutes::mutable_relay_clusters(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PRoutes.relay_clusters) - return _impl_.relay_clusters_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_RelayCluster >* -CMsgSteamDatagramP2PRoutes::mutable_relay_clusters() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramP2PRoutes.relay_clusters) - return &_impl_.relay_clusters_; -} -inline const ::CMsgSteamDatagramP2PRoutes_RelayCluster& CMsgSteamDatagramP2PRoutes::_internal_relay_clusters(int index) const { - return _impl_.relay_clusters_.Get(index); -} -inline const ::CMsgSteamDatagramP2PRoutes_RelayCluster& CMsgSteamDatagramP2PRoutes::relay_clusters(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.relay_clusters) - return _internal_relay_clusters(index); -} -inline ::CMsgSteamDatagramP2PRoutes_RelayCluster* CMsgSteamDatagramP2PRoutes::_internal_add_relay_clusters() { - return _impl_.relay_clusters_.Add(); -} -inline ::CMsgSteamDatagramP2PRoutes_RelayCluster* CMsgSteamDatagramP2PRoutes::add_relay_clusters() { - ::CMsgSteamDatagramP2PRoutes_RelayCluster* _add = _internal_add_relay_clusters(); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramP2PRoutes.relay_clusters) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_RelayCluster >& -CMsgSteamDatagramP2PRoutes::relay_clusters() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramP2PRoutes.relay_clusters) - return _impl_.relay_clusters_; -} - -// repeated .CMsgSteamDatagramP2PRoutes.Route routes = 2; -inline int CMsgSteamDatagramP2PRoutes::_internal_routes_size() const { - return _impl_.routes_.size(); -} -inline int CMsgSteamDatagramP2PRoutes::routes_size() const { - return _internal_routes_size(); -} -inline void CMsgSteamDatagramP2PRoutes::clear_routes() { - _impl_.routes_.Clear(); -} -inline ::CMsgSteamDatagramP2PRoutes_Route* CMsgSteamDatagramP2PRoutes::mutable_routes(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramP2PRoutes.routes) - return _impl_.routes_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_Route >* -CMsgSteamDatagramP2PRoutes::mutable_routes() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramP2PRoutes.routes) - return &_impl_.routes_; -} -inline const ::CMsgSteamDatagramP2PRoutes_Route& CMsgSteamDatagramP2PRoutes::_internal_routes(int index) const { - return _impl_.routes_.Get(index); -} -inline const ::CMsgSteamDatagramP2PRoutes_Route& CMsgSteamDatagramP2PRoutes::routes(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.routes) - return _internal_routes(index); -} -inline ::CMsgSteamDatagramP2PRoutes_Route* CMsgSteamDatagramP2PRoutes::_internal_add_routes() { - return _impl_.routes_.Add(); -} -inline ::CMsgSteamDatagramP2PRoutes_Route* CMsgSteamDatagramP2PRoutes::add_routes() { - ::CMsgSteamDatagramP2PRoutes_Route* _add = _internal_add_routes(); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramP2PRoutes.routes) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamDatagramP2PRoutes_Route >& -CMsgSteamDatagramP2PRoutes::routes() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramP2PRoutes.routes) - return _impl_.routes_; -} - -// optional uint32 revision = 3; -inline bool CMsgSteamDatagramP2PRoutes::_internal_has_revision() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramP2PRoutes::has_revision() const { - return _internal_has_revision(); -} -inline void CMsgSteamDatagramP2PRoutes::clear_revision() { - _impl_.revision_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSteamDatagramP2PRoutes::_internal_revision() const { - return _impl_.revision_; -} -inline uint32_t CMsgSteamDatagramP2PRoutes::revision() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramP2PRoutes.revision) - return _internal_revision(); -} -inline void CMsgSteamDatagramP2PRoutes::_internal_set_revision(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.revision_ = value; -} -inline void CMsgSteamDatagramP2PRoutes::set_revision(uint32_t value) { - _internal_set_revision(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramP2PRoutes.revision) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramSetSecondaryAddressRequest - -// optional fixed32 client_main_ip = 1; -inline bool CMsgSteamDatagramSetSecondaryAddressRequest::_internal_has_client_main_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramSetSecondaryAddressRequest::has_client_main_ip() const { - return _internal_has_client_main_ip(); -} -inline void CMsgSteamDatagramSetSecondaryAddressRequest::clear_client_main_ip() { - _impl_.client_main_ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramSetSecondaryAddressRequest::_internal_client_main_ip() const { - return _impl_.client_main_ip_; -} -inline uint32_t CMsgSteamDatagramSetSecondaryAddressRequest::client_main_ip() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSetSecondaryAddressRequest.client_main_ip) - return _internal_client_main_ip(); -} -inline void CMsgSteamDatagramSetSecondaryAddressRequest::_internal_set_client_main_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.client_main_ip_ = value; -} -inline void CMsgSteamDatagramSetSecondaryAddressRequest::set_client_main_ip(uint32_t value) { - _internal_set_client_main_ip(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSetSecondaryAddressRequest.client_main_ip) -} - -// optional fixed32 client_main_port = 2; -inline bool CMsgSteamDatagramSetSecondaryAddressRequest::_internal_has_client_main_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramSetSecondaryAddressRequest::has_client_main_port() const { - return _internal_has_client_main_port(); -} -inline void CMsgSteamDatagramSetSecondaryAddressRequest::clear_client_main_port() { - _impl_.client_main_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramSetSecondaryAddressRequest::_internal_client_main_port() const { - return _impl_.client_main_port_; -} -inline uint32_t CMsgSteamDatagramSetSecondaryAddressRequest::client_main_port() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSetSecondaryAddressRequest.client_main_port) - return _internal_client_main_port(); -} -inline void CMsgSteamDatagramSetSecondaryAddressRequest::_internal_set_client_main_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.client_main_port_ = value; -} -inline void CMsgSteamDatagramSetSecondaryAddressRequest::set_client_main_port(uint32_t value) { - _internal_set_client_main_port(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSetSecondaryAddressRequest.client_main_port) -} - -// optional fixed32 client_connection_id = 3; -inline bool CMsgSteamDatagramSetSecondaryAddressRequest::_internal_has_client_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramSetSecondaryAddressRequest::has_client_connection_id() const { - return _internal_has_client_connection_id(); -} -inline void CMsgSteamDatagramSetSecondaryAddressRequest::clear_client_connection_id() { - _impl_.client_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSteamDatagramSetSecondaryAddressRequest::_internal_client_connection_id() const { - return _impl_.client_connection_id_; -} -inline uint32_t CMsgSteamDatagramSetSecondaryAddressRequest::client_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSetSecondaryAddressRequest.client_connection_id) - return _internal_client_connection_id(); -} -inline void CMsgSteamDatagramSetSecondaryAddressRequest::_internal_set_client_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.client_connection_id_ = value; -} -inline void CMsgSteamDatagramSetSecondaryAddressRequest::set_client_connection_id(uint32_t value) { - _internal_set_client_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSetSecondaryAddressRequest.client_connection_id) -} - -// optional string client_identity = 4; -inline bool CMsgSteamDatagramSetSecondaryAddressRequest::_internal_has_client_identity() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramSetSecondaryAddressRequest::has_client_identity() const { - return _internal_has_client_identity(); -} -inline void CMsgSteamDatagramSetSecondaryAddressRequest::clear_client_identity() { - _impl_.client_identity_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramSetSecondaryAddressRequest::client_identity() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSetSecondaryAddressRequest.client_identity) - return _internal_client_identity(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramSetSecondaryAddressRequest::set_client_identity(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.client_identity_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSetSecondaryAddressRequest.client_identity) -} -inline std::string* CMsgSteamDatagramSetSecondaryAddressRequest::mutable_client_identity() { - std::string* _s = _internal_mutable_client_identity(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSetSecondaryAddressRequest.client_identity) - return _s; -} -inline const std::string& CMsgSteamDatagramSetSecondaryAddressRequest::_internal_client_identity() const { - return _impl_.client_identity_.Get(); -} -inline void CMsgSteamDatagramSetSecondaryAddressRequest::_internal_set_client_identity(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.client_identity_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSetSecondaryAddressRequest::_internal_mutable_client_identity() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.client_identity_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSetSecondaryAddressRequest::release_client_identity() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramSetSecondaryAddressRequest.client_identity) - if (!_internal_has_client_identity()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.client_identity_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.client_identity_.IsDefault()) { - _impl_.client_identity_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramSetSecondaryAddressRequest::set_allocated_client_identity(std::string* client_identity) { - if (client_identity != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.client_identity_.SetAllocated(client_identity, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.client_identity_.IsDefault()) { - _impl_.client_identity_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSetSecondaryAddressRequest.client_identity) -} - -// optional bool request_send_duplication = 5; -inline bool CMsgSteamDatagramSetSecondaryAddressRequest::_internal_has_request_send_duplication() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramSetSecondaryAddressRequest::has_request_send_duplication() const { - return _internal_has_request_send_duplication(); -} -inline void CMsgSteamDatagramSetSecondaryAddressRequest::clear_request_send_duplication() { - _impl_.request_send_duplication_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool CMsgSteamDatagramSetSecondaryAddressRequest::_internal_request_send_duplication() const { - return _impl_.request_send_duplication_; -} -inline bool CMsgSteamDatagramSetSecondaryAddressRequest::request_send_duplication() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSetSecondaryAddressRequest.request_send_duplication) - return _internal_request_send_duplication(); -} -inline void CMsgSteamDatagramSetSecondaryAddressRequest::_internal_set_request_send_duplication(bool value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.request_send_duplication_ = value; -} -inline void CMsgSteamDatagramSetSecondaryAddressRequest::set_request_send_duplication(bool value) { - _internal_set_request_send_duplication(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSetSecondaryAddressRequest.request_send_duplication) -} - -// optional bytes kludge_pad = 99; -inline bool CMsgSteamDatagramSetSecondaryAddressRequest::_internal_has_kludge_pad() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramSetSecondaryAddressRequest::has_kludge_pad() const { - return _internal_has_kludge_pad(); -} -inline void CMsgSteamDatagramSetSecondaryAddressRequest::clear_kludge_pad() { - _impl_.kludge_pad_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramSetSecondaryAddressRequest::kludge_pad() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSetSecondaryAddressRequest.kludge_pad) - return _internal_kludge_pad(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramSetSecondaryAddressRequest::set_kludge_pad(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.kludge_pad_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSetSecondaryAddressRequest.kludge_pad) -} -inline std::string* CMsgSteamDatagramSetSecondaryAddressRequest::mutable_kludge_pad() { - std::string* _s = _internal_mutable_kludge_pad(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSetSecondaryAddressRequest.kludge_pad) - return _s; -} -inline const std::string& CMsgSteamDatagramSetSecondaryAddressRequest::_internal_kludge_pad() const { - return _impl_.kludge_pad_.Get(); -} -inline void CMsgSteamDatagramSetSecondaryAddressRequest::_internal_set_kludge_pad(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.kludge_pad_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSetSecondaryAddressRequest::_internal_mutable_kludge_pad() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.kludge_pad_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSetSecondaryAddressRequest::release_kludge_pad() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramSetSecondaryAddressRequest.kludge_pad) - if (!_internal_has_kludge_pad()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.kludge_pad_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.kludge_pad_.IsDefault()) { - _impl_.kludge_pad_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramSetSecondaryAddressRequest::set_allocated_kludge_pad(std::string* kludge_pad) { - if (kludge_pad != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.kludge_pad_.SetAllocated(kludge_pad, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.kludge_pad_.IsDefault()) { - _impl_.kludge_pad_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSetSecondaryAddressRequest.kludge_pad) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramSetSecondaryAddressResult - -// optional bool success = 1; -inline bool CMsgSteamDatagramSetSecondaryAddressResult::_internal_has_success() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramSetSecondaryAddressResult::has_success() const { - return _internal_has_success(); -} -inline void CMsgSteamDatagramSetSecondaryAddressResult::clear_success() { - _impl_.success_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CMsgSteamDatagramSetSecondaryAddressResult::_internal_success() const { - return _impl_.success_; -} -inline bool CMsgSteamDatagramSetSecondaryAddressResult::success() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSetSecondaryAddressResult.success) - return _internal_success(); -} -inline void CMsgSteamDatagramSetSecondaryAddressResult::_internal_set_success(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.success_ = value; -} -inline void CMsgSteamDatagramSetSecondaryAddressResult::set_success(bool value) { - _internal_set_success(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSetSecondaryAddressResult.success) -} - -// optional string message = 2; -inline bool CMsgSteamDatagramSetSecondaryAddressResult::_internal_has_message() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramSetSecondaryAddressResult::has_message() const { - return _internal_has_message(); -} -inline void CMsgSteamDatagramSetSecondaryAddressResult::clear_message() { - _impl_.message_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramSetSecondaryAddressResult::message() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSetSecondaryAddressResult.message) - return _internal_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramSetSecondaryAddressResult::set_message(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSetSecondaryAddressResult.message) -} -inline std::string* CMsgSteamDatagramSetSecondaryAddressResult::mutable_message() { - std::string* _s = _internal_mutable_message(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSetSecondaryAddressResult.message) - return _s; -} -inline const std::string& CMsgSteamDatagramSetSecondaryAddressResult::_internal_message() const { - return _impl_.message_.Get(); -} -inline void CMsgSteamDatagramSetSecondaryAddressResult::_internal_set_message(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.message_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSetSecondaryAddressResult::_internal_mutable_message() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.message_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSetSecondaryAddressResult::release_message() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramSetSecondaryAddressResult.message) - if (!_internal_has_message()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.message_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramSetSecondaryAddressResult::set_allocated_message(std::string* message) { - if (message != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.message_.SetAllocated(message, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSetSecondaryAddressResult.message) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol>() { - return ::CMsgSteamDatagramRouterPingReply_AltAddress_Protocol_descriptor(); -} -template <> struct is_proto_enum< ::CMsgSteamDatagramRouterPingReply_Flags> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramRouterPingReply_Flags>() { - return ::CMsgSteamDatagramRouterPingReply_Flags_descriptor(); -} -template <> struct is_proto_enum< ::CMsgSteamDatagramConnectionClosed_ERelayMode> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramConnectionClosed_ERelayMode>() { - return ::CMsgSteamDatagramConnectionClosed_ERelayMode_descriptor(); -} -template <> struct is_proto_enum< ::CMsgSteamDatagramConnectionStatsClientToRouter_Flags> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramConnectionStatsClientToRouter_Flags>() { - return ::CMsgSteamDatagramConnectionStatsClientToRouter_Flags_descriptor(); -} -template <> struct is_proto_enum< ::CMsgSteamDatagramConnectionStatsRouterToClient_Flags> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramConnectionStatsRouterToClient_Flags>() { - return ::CMsgSteamDatagramConnectionStatsRouterToClient_Flags_descriptor(); -} -template <> struct is_proto_enum< ::CMsgSteamDatagramConnectionStatsRouterToServer_Flags> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramConnectionStatsRouterToServer_Flags>() { - return ::CMsgSteamDatagramConnectionStatsRouterToServer_Flags_descriptor(); -} -template <> struct is_proto_enum< ::CMsgSteamDatagramConnectionStatsServerToRouter_Flags> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramConnectionStatsServerToRouter_Flags>() { - return ::CMsgSteamDatagramConnectionStatsServerToRouter_Flags_descriptor(); -} -template <> struct is_proto_enum< ::CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags>() { - return ::CMsgSteamDatagramConnectionStatsP2PClientToRouter_Flags_descriptor(); -} -template <> struct is_proto_enum< ::CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags>() { - return ::CMsgSteamDatagramConnectionStatsP2PRouterToClient_Flags_descriptor(); -} -template <> struct is_proto_enum< ::ESteamDatagramMsgID> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ESteamDatagramMsgID>() { - return ::ESteamDatagramMsgID_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steamdatagram_5fmessages_5fsdr_2eproto diff --git a/protobuf/generated/steammessages.pb.cc b/protobuf/generated/steammessages.pb.cc deleted file mode 100644 index 9ce535893..000000000 --- a/protobuf/generated/steammessages.pb.cc +++ /dev/null @@ -1,1321 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steammessages.proto - -#include "steammessages.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CMsgProtoBufHeader::CMsgProtoBufHeader( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.target_job_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.error_message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.client_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.client_session_id_)*/0 - , /*decltype(_impl_.source_app_id_)*/0u - , /*decltype(_impl_.ip_)*/0u - , /*decltype(_impl_.gc_msg_src_)*/0 - , /*decltype(_impl_.gc_dir_index_source_)*/0u - , /*decltype(_impl_.eresult_)*/2 - , /*decltype(_impl_.job_id_source_)*/uint64_t{18446744073709551615u} - , /*decltype(_impl_.job_id_target_)*/uint64_t{18446744073709551615u}} {} -struct CMsgProtoBufHeaderDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgProtoBufHeaderDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgProtoBufHeaderDefaultTypeInternal() {} - union { - CMsgProtoBufHeader _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgProtoBufHeaderDefaultTypeInternal _CMsgProtoBufHeader_default_instance_; -PROTOBUF_CONSTEXPR CChinaAgreementSessions_StartAgreementSessionInGame_Request::CChinaAgreementSessions_StartAgreementSessionInGame_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.client_ipaddress_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.appid_)*/0u} {} -struct CChinaAgreementSessions_StartAgreementSessionInGame_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CChinaAgreementSessions_StartAgreementSessionInGame_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CChinaAgreementSessions_StartAgreementSessionInGame_RequestDefaultTypeInternal() {} - union { - CChinaAgreementSessions_StartAgreementSessionInGame_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CChinaAgreementSessions_StartAgreementSessionInGame_RequestDefaultTypeInternal _CChinaAgreementSessions_StartAgreementSessionInGame_Request_default_instance_; -PROTOBUF_CONSTEXPR CChinaAgreementSessions_StartAgreementSessionInGame_Response::CChinaAgreementSessions_StartAgreementSessionInGame_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.agreement_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CChinaAgreementSessions_StartAgreementSessionInGame_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CChinaAgreementSessions_StartAgreementSessionInGame_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CChinaAgreementSessions_StartAgreementSessionInGame_ResponseDefaultTypeInternal() {} - union { - CChinaAgreementSessions_StartAgreementSessionInGame_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CChinaAgreementSessions_StartAgreementSessionInGame_ResponseDefaultTypeInternal _CChinaAgreementSessions_StartAgreementSessionInGame_Response_default_instance_; -static ::_pb::Metadata file_level_metadata_steammessages_2eproto[3]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_steammessages_2eproto[1]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steammessages_2eproto = nullptr; - -const uint32_t TableStruct_steammessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.client_steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.client_session_id_), - PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.source_app_id_), - PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.job_id_source_), - PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.job_id_target_), - PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.target_job_name_), - PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.eresult_), - PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.error_message_), - PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.ip_), - PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.gc_msg_src_), - PROTOBUF_FIELD_OFFSET(::CMsgProtoBufHeader, _impl_.gc_dir_index_source_), - 2, - 3, - 4, - 9, - 10, - 0, - 8, - 1, - 5, - 6, - 7, - PROTOBUF_FIELD_OFFSET(::CChinaAgreementSessions_StartAgreementSessionInGame_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CChinaAgreementSessions_StartAgreementSessionInGame_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CChinaAgreementSessions_StartAgreementSessionInGame_Request, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CChinaAgreementSessions_StartAgreementSessionInGame_Request, _impl_.steamid_), - PROTOBUF_FIELD_OFFSET(::CChinaAgreementSessions_StartAgreementSessionInGame_Request, _impl_.client_ipaddress_), - 2, - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CChinaAgreementSessions_StartAgreementSessionInGame_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CChinaAgreementSessions_StartAgreementSessionInGame_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CChinaAgreementSessions_StartAgreementSessionInGame_Response, _impl_.agreement_url_), - 0, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 17, -1, sizeof(::CMsgProtoBufHeader)}, - { 28, 37, -1, sizeof(::CChinaAgreementSessions_StartAgreementSessionInGame_Request)}, - { 40, 47, -1, sizeof(::CChinaAgreementSessions_StartAgreementSessionInGame_Response)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CMsgProtoBufHeader_default_instance_._instance, - &::_CChinaAgreementSessions_StartAgreementSessionInGame_Request_default_instance_._instance, - &::_CChinaAgreementSessions_StartAgreementSessionInGame_Response_default_instance_._instance, -}; - -const char descriptor_table_protodef_steammessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\023steammessages.proto\032 google/protobuf/d" - "escriptor.proto\"\371\002\n\022CMsgProtoBufHeader\022\027" - "\n\017client_steam_id\030\001 \001(\006\022\031\n\021client_sessio" - "n_id\030\002 \001(\005\022\025\n\rsource_app_id\030\003 \001(\r\022+\n\rjob" - "_id_source\030\n \001(\006:\02418446744073709551615\022+" - "\n\rjob_id_target\030\013 \001(\006:\02418446744073709551" - "615\022\027\n\017target_job_name\030\014 \001(\t\022\022\n\007eresult\030" - "\r \001(\005:\0012\022\025\n\rerror_message\030\016 \001(\t\022\n\n\002ip\030\017 " - "\001(\r\022D\n\ngc_msg_src\030\310\001 \001(\0162\021.GCProtoBufMsg" - "Src:\034GCProtoBufMsgSrc_Unspecified\022\034\n\023gc_" - "dir_index_source\030\311\001 \001(\r:\n\200\246\035\200\002\210\246\035\200\010\"w\n;C" - "ChinaAgreementSessions_StartAgreementSes" - "sionInGame_Request\022\r\n\005appid\030\001 \001(\r\022\017\n\007ste" - "amid\030\002 \001(\006\022\030\n\020client_ipaddress\030\003 \001(\t\"U\n<" - "CChinaAgreementSessions_StartAgreementSe" - "ssionInGame_Response\022\025\n\ragreement_url\030\001 " - "\001(\t*\266\001\n\020GCProtoBufMsgSrc\022 \n\034GCProtoBufMs" - "gSrc_Unspecified\020\000\022\037\n\033GCProtoBufMsgSrc_F" - "romSystem\020\001\022 \n\034GCProtoBufMsgSrc_FromStea" - "mID\020\002\022\033\n\027GCProtoBufMsgSrc_FromGC\020\003\022 \n\034GC" - "ProtoBufMsgSrc_ReplySystem\020\004:9\n\tkey_fiel" - "d\022\035.google.protobuf.FieldOptions\030\340\324\003 \001(\010" - ":\005false:A\n\022msgpool_soft_limit\022\037.google.p" - "rotobuf.MessageOptions\030\340\324\003 \001(\005:\00232:B\n\022ms" - "gpool_hard_limit\022\037.google.protobuf.Messa" - "geOptions\030\341\324\003 \001(\005:\003384" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_steammessages_2eproto_deps[1] = { - &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, -}; -static ::_pbi::once_flag descriptor_table_steammessages_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_steammessages_2eproto = { - false, false, 1022, descriptor_table_protodef_steammessages_2eproto, - "steammessages.proto", - &descriptor_table_steammessages_2eproto_once, descriptor_table_steammessages_2eproto_deps, 1, 3, - schemas, file_default_instances, TableStruct_steammessages_2eproto::offsets, - file_level_metadata_steammessages_2eproto, file_level_enum_descriptors_steammessages_2eproto, - file_level_service_descriptors_steammessages_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steammessages_2eproto_getter() { - return &descriptor_table_steammessages_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steammessages_2eproto(&descriptor_table_steammessages_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GCProtoBufMsgSrc_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steammessages_2eproto); - return file_level_enum_descriptors_steammessages_2eproto[0]; -} -bool GCProtoBufMsgSrc_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CMsgProtoBufHeader::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_client_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_client_session_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_source_app_id(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_job_id_source(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_job_id_target(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_target_job_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_eresult(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_error_message(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_ip(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_gc_msg_src(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_gc_dir_index_source(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } -}; - -CMsgProtoBufHeader::CMsgProtoBufHeader(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgProtoBufHeader) -} -CMsgProtoBufHeader::CMsgProtoBufHeader(const CMsgProtoBufHeader& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgProtoBufHeader* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.target_job_name_){} - , decltype(_impl_.error_message_){} - , decltype(_impl_.client_steam_id_){} - , decltype(_impl_.client_session_id_){} - , decltype(_impl_.source_app_id_){} - , decltype(_impl_.ip_){} - , decltype(_impl_.gc_msg_src_){} - , decltype(_impl_.gc_dir_index_source_){} - , decltype(_impl_.eresult_){} - , decltype(_impl_.job_id_source_){} - , decltype(_impl_.job_id_target_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.target_job_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.target_job_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_target_job_name()) { - _this->_impl_.target_job_name_.Set(from._internal_target_job_name(), - _this->GetArenaForAllocation()); - } - _impl_.error_message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.error_message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_error_message()) { - _this->_impl_.error_message_.Set(from._internal_error_message(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.client_steam_id_, &from._impl_.client_steam_id_, - static_cast(reinterpret_cast(&_impl_.job_id_target_) - - reinterpret_cast(&_impl_.client_steam_id_)) + sizeof(_impl_.job_id_target_)); - // @@protoc_insertion_point(copy_constructor:CMsgProtoBufHeader) -} - -inline void CMsgProtoBufHeader::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.target_job_name_){} - , decltype(_impl_.error_message_){} - , decltype(_impl_.client_steam_id_){uint64_t{0u}} - , decltype(_impl_.client_session_id_){0} - , decltype(_impl_.source_app_id_){0u} - , decltype(_impl_.ip_){0u} - , decltype(_impl_.gc_msg_src_){0} - , decltype(_impl_.gc_dir_index_source_){0u} - , decltype(_impl_.eresult_){2} - , decltype(_impl_.job_id_source_){uint64_t{18446744073709551615u}} - , decltype(_impl_.job_id_target_){uint64_t{18446744073709551615u}} - }; - _impl_.target_job_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.target_job_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.error_message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.error_message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgProtoBufHeader::~CMsgProtoBufHeader() { - // @@protoc_insertion_point(destructor:CMsgProtoBufHeader) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgProtoBufHeader::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.target_job_name_.Destroy(); - _impl_.error_message_.Destroy(); -} - -void CMsgProtoBufHeader::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgProtoBufHeader::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgProtoBufHeader) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.target_job_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.error_message_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000fcu) { - ::memset(&_impl_.client_steam_id_, 0, static_cast( - reinterpret_cast(&_impl_.gc_dir_index_source_) - - reinterpret_cast(&_impl_.client_steam_id_)) + sizeof(_impl_.gc_dir_index_source_)); - } - if (cached_has_bits & 0x00000700u) { - _impl_.eresult_ = 2; - _impl_.job_id_source_ = uint64_t{18446744073709551615u}; - _impl_.job_id_target_ = uint64_t{18446744073709551615u}; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgProtoBufHeader::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 client_steam_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_client_steam_id(&has_bits); - _impl_.client_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional int32 client_session_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_client_session_id(&has_bits); - _impl_.client_session_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 source_app_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_source_app_id(&has_bits); - _impl_.source_app_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 job_id_source = 10 [default = 18446744073709551615]; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 81)) { - _Internal::set_has_job_id_source(&has_bits); - _impl_.job_id_source_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional fixed64 job_id_target = 11 [default = 18446744073709551615]; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 89)) { - _Internal::set_has_job_id_target(&has_bits); - _impl_.job_id_target_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional string target_job_name = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - auto str = _internal_mutable_target_job_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgProtoBufHeader.target_job_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 eresult = 13 [default = 2]; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_eresult(&has_bits); - _impl_.eresult_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string error_message = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - auto str = _internal_mutable_error_message(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgProtoBufHeader.error_message"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 ip = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_ip(&has_bits); - _impl_.ip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified]; - case 200: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::GCProtoBufMsgSrc_IsValid(val))) { - _internal_set_gc_msg_src(static_cast<::GCProtoBufMsgSrc>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(200, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional uint32 gc_dir_index_source = 201; - case 201: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_gc_dir_index_source(&has_bits); - _impl_.gc_dir_index_source_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgProtoBufHeader::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgProtoBufHeader) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 client_steam_id = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_client_steam_id(), target); - } - - // optional int32 client_session_id = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_client_session_id(), target); - } - - // optional uint32 source_app_id = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_source_app_id(), target); - } - - // optional fixed64 job_id_source = 10 [default = 18446744073709551615]; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(10, this->_internal_job_id_source(), target); - } - - // optional fixed64 job_id_target = 11 [default = 18446744073709551615]; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(11, this->_internal_job_id_target(), target); - } - - // optional string target_job_name = 12; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_target_job_name().data(), static_cast(this->_internal_target_job_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgProtoBufHeader.target_job_name"); - target = stream->WriteStringMaybeAliased( - 12, this->_internal_target_job_name(), target); - } - - // optional int32 eresult = 13 [default = 2]; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_eresult(), target); - } - - // optional string error_message = 14; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_error_message().data(), static_cast(this->_internal_error_message().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgProtoBufHeader.error_message"); - target = stream->WriteStringMaybeAliased( - 14, this->_internal_error_message(), target); - } - - // optional uint32 ip = 15; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_ip(), target); - } - - // optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified]; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 200, this->_internal_gc_msg_src(), target); - } - - // optional uint32 gc_dir_index_source = 201; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(201, this->_internal_gc_dir_index_source(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgProtoBufHeader) - return target; -} - -size_t CMsgProtoBufHeader::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgProtoBufHeader) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string target_job_name = 12; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_target_job_name()); - } - - // optional string error_message = 14; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_error_message()); - } - - // optional fixed64 client_steam_id = 1; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 8; - } - - // optional int32 client_session_id = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_client_session_id()); - } - - // optional uint32 source_app_id = 3; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_source_app_id()); - } - - // optional uint32 ip = 15; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ip()); - } - - // optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified]; - if (cached_has_bits & 0x00000040u) { - total_size += 2 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_gc_msg_src()); - } - - // optional uint32 gc_dir_index_source = 201; - if (cached_has_bits & 0x00000080u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_gc_dir_index_source()); - } - - } - if (cached_has_bits & 0x00000700u) { - // optional int32 eresult = 13 [default = 2]; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_eresult()); - } - - // optional fixed64 job_id_source = 10 [default = 18446744073709551615]; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 8; - } - - // optional fixed64 job_id_target = 11 [default = 18446744073709551615]; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgProtoBufHeader::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgProtoBufHeader::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgProtoBufHeader::GetClassData() const { return &_class_data_; } - - -void CMsgProtoBufHeader::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgProtoBufHeader) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_target_job_name(from._internal_target_job_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_error_message(from._internal_error_message()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.client_steam_id_ = from._impl_.client_steam_id_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.client_session_id_ = from._impl_.client_session_id_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.source_app_id_ = from._impl_.source_app_id_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.ip_ = from._impl_.ip_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.gc_msg_src_ = from._impl_.gc_msg_src_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.gc_dir_index_source_ = from._impl_.gc_dir_index_source_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000700u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.eresult_ = from._impl_.eresult_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.job_id_source_ = from._impl_.job_id_source_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.job_id_target_ = from._impl_.job_id_target_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgProtoBufHeader::CopyFrom(const CMsgProtoBufHeader& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgProtoBufHeader) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgProtoBufHeader::IsInitialized() const { - return true; -} - -void CMsgProtoBufHeader::InternalSwap(CMsgProtoBufHeader* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.target_job_name_, lhs_arena, - &other->_impl_.target_job_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.error_message_, lhs_arena, - &other->_impl_.error_message_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgProtoBufHeader, _impl_.gc_dir_index_source_) - + sizeof(CMsgProtoBufHeader::_impl_.gc_dir_index_source_) - - PROTOBUF_FIELD_OFFSET(CMsgProtoBufHeader, _impl_.client_steam_id_)>( - reinterpret_cast(&_impl_.client_steam_id_), - reinterpret_cast(&other->_impl_.client_steam_id_)); - swap(_impl_.eresult_, other->_impl_.eresult_); - swap(_impl_.job_id_source_, other->_impl_.job_id_source_); - swap(_impl_.job_id_target_, other->_impl_.job_id_target_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgProtoBufHeader::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_2eproto_getter, &descriptor_table_steammessages_2eproto_once, - file_level_metadata_steammessages_2eproto[0]); -} - -// =================================================================== - -class CChinaAgreementSessions_StartAgreementSessionInGame_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_client_ipaddress(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CChinaAgreementSessions_StartAgreementSessionInGame_Request::CChinaAgreementSessions_StartAgreementSessionInGame_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CChinaAgreementSessions_StartAgreementSessionInGame_Request) -} -CChinaAgreementSessions_StartAgreementSessionInGame_Request::CChinaAgreementSessions_StartAgreementSessionInGame_Request(const CChinaAgreementSessions_StartAgreementSessionInGame_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CChinaAgreementSessions_StartAgreementSessionInGame_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.client_ipaddress_){} - , decltype(_impl_.steamid_){} - , decltype(_impl_.appid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.client_ipaddress_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.client_ipaddress_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_client_ipaddress()) { - _this->_impl_.client_ipaddress_.Set(from._internal_client_ipaddress(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, - static_cast(reinterpret_cast(&_impl_.appid_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); - // @@protoc_insertion_point(copy_constructor:CChinaAgreementSessions_StartAgreementSessionInGame_Request) -} - -inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.client_ipaddress_){} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.appid_){0u} - }; - _impl_.client_ipaddress_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.client_ipaddress_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CChinaAgreementSessions_StartAgreementSessionInGame_Request::~CChinaAgreementSessions_StartAgreementSessionInGame_Request() { - // @@protoc_insertion_point(destructor:CChinaAgreementSessions_StartAgreementSessionInGame_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.client_ipaddress_.Destroy(); -} - -void CChinaAgreementSessions_StartAgreementSessionInGame_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CChinaAgreementSessions_StartAgreementSessionInGame_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CChinaAgreementSessions_StartAgreementSessionInGame_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.client_ipaddress_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.steamid_, 0, static_cast( - reinterpret_cast(&_impl_.appid_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.appid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CChinaAgreementSessions_StartAgreementSessionInGame_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 steamid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional string client_ipaddress = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_client_ipaddress(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CChinaAgreementSessions_StartAgreementSessionInGame_Request.client_ipaddress"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CChinaAgreementSessions_StartAgreementSessionInGame_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CChinaAgreementSessions_StartAgreementSessionInGame_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // optional fixed64 steamid = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_steamid(), target); - } - - // optional string client_ipaddress = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_client_ipaddress().data(), static_cast(this->_internal_client_ipaddress().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CChinaAgreementSessions_StartAgreementSessionInGame_Request.client_ipaddress"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_client_ipaddress(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CChinaAgreementSessions_StartAgreementSessionInGame_Request) - return target; -} - -size_t CChinaAgreementSessions_StartAgreementSessionInGame_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CChinaAgreementSessions_StartAgreementSessionInGame_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string client_ipaddress = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_client_ipaddress()); - } - - // optional fixed64 steamid = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CChinaAgreementSessions_StartAgreementSessionInGame_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CChinaAgreementSessions_StartAgreementSessionInGame_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CChinaAgreementSessions_StartAgreementSessionInGame_Request::GetClassData() const { return &_class_data_; } - - -void CChinaAgreementSessions_StartAgreementSessionInGame_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CChinaAgreementSessions_StartAgreementSessionInGame_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_client_ipaddress(from._internal_client_ipaddress()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CChinaAgreementSessions_StartAgreementSessionInGame_Request::CopyFrom(const CChinaAgreementSessions_StartAgreementSessionInGame_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CChinaAgreementSessions_StartAgreementSessionInGame_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CChinaAgreementSessions_StartAgreementSessionInGame_Request::IsInitialized() const { - return true; -} - -void CChinaAgreementSessions_StartAgreementSessionInGame_Request::InternalSwap(CChinaAgreementSessions_StartAgreementSessionInGame_Request* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.client_ipaddress_, lhs_arena, - &other->_impl_.client_ipaddress_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CChinaAgreementSessions_StartAgreementSessionInGame_Request, _impl_.appid_) - + sizeof(CChinaAgreementSessions_StartAgreementSessionInGame_Request::_impl_.appid_) - - PROTOBUF_FIELD_OFFSET(CChinaAgreementSessions_StartAgreementSessionInGame_Request, _impl_.steamid_)>( - reinterpret_cast(&_impl_.steamid_), - reinterpret_cast(&other->_impl_.steamid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CChinaAgreementSessions_StartAgreementSessionInGame_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_2eproto_getter, &descriptor_table_steammessages_2eproto_once, - file_level_metadata_steammessages_2eproto[1]); -} - -// =================================================================== - -class CChinaAgreementSessions_StartAgreementSessionInGame_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_agreement_url(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CChinaAgreementSessions_StartAgreementSessionInGame_Response::CChinaAgreementSessions_StartAgreementSessionInGame_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CChinaAgreementSessions_StartAgreementSessionInGame_Response) -} -CChinaAgreementSessions_StartAgreementSessionInGame_Response::CChinaAgreementSessions_StartAgreementSessionInGame_Response(const CChinaAgreementSessions_StartAgreementSessionInGame_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CChinaAgreementSessions_StartAgreementSessionInGame_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.agreement_url_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.agreement_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.agreement_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_agreement_url()) { - _this->_impl_.agreement_url_.Set(from._internal_agreement_url(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CChinaAgreementSessions_StartAgreementSessionInGame_Response) -} - -inline void CChinaAgreementSessions_StartAgreementSessionInGame_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.agreement_url_){} - }; - _impl_.agreement_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.agreement_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CChinaAgreementSessions_StartAgreementSessionInGame_Response::~CChinaAgreementSessions_StartAgreementSessionInGame_Response() { - // @@protoc_insertion_point(destructor:CChinaAgreementSessions_StartAgreementSessionInGame_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CChinaAgreementSessions_StartAgreementSessionInGame_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.agreement_url_.Destroy(); -} - -void CChinaAgreementSessions_StartAgreementSessionInGame_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CChinaAgreementSessions_StartAgreementSessionInGame_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CChinaAgreementSessions_StartAgreementSessionInGame_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.agreement_url_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CChinaAgreementSessions_StartAgreementSessionInGame_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string agreement_url = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_agreement_url(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CChinaAgreementSessions_StartAgreementSessionInGame_Response.agreement_url"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CChinaAgreementSessions_StartAgreementSessionInGame_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CChinaAgreementSessions_StartAgreementSessionInGame_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string agreement_url = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_agreement_url().data(), static_cast(this->_internal_agreement_url().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CChinaAgreementSessions_StartAgreementSessionInGame_Response.agreement_url"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_agreement_url(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CChinaAgreementSessions_StartAgreementSessionInGame_Response) - return target; -} - -size_t CChinaAgreementSessions_StartAgreementSessionInGame_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CChinaAgreementSessions_StartAgreementSessionInGame_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string agreement_url = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_agreement_url()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CChinaAgreementSessions_StartAgreementSessionInGame_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CChinaAgreementSessions_StartAgreementSessionInGame_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CChinaAgreementSessions_StartAgreementSessionInGame_Response::GetClassData() const { return &_class_data_; } - - -void CChinaAgreementSessions_StartAgreementSessionInGame_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CChinaAgreementSessions_StartAgreementSessionInGame_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_agreement_url()) { - _this->_internal_set_agreement_url(from._internal_agreement_url()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CChinaAgreementSessions_StartAgreementSessionInGame_Response::CopyFrom(const CChinaAgreementSessions_StartAgreementSessionInGame_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CChinaAgreementSessions_StartAgreementSessionInGame_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CChinaAgreementSessions_StartAgreementSessionInGame_Response::IsInitialized() const { - return true; -} - -void CChinaAgreementSessions_StartAgreementSessionInGame_Response::InternalSwap(CChinaAgreementSessions_StartAgreementSessionInGame_Response* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.agreement_url_, lhs_arena, - &other->_impl_.agreement_url_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CChinaAgreementSessions_StartAgreementSessionInGame_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_2eproto_getter, &descriptor_table_steammessages_2eproto_once, - file_level_metadata_steammessages_2eproto[2]); -} -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false> - key_field(kKeyFieldFieldNumber, false, nullptr); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::MessageOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< int32_t >, 5, false> - msgpool_soft_limit(kMsgpoolSoftLimitFieldNumber, 32, nullptr); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::MessageOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< int32_t >, 5, false> - msgpool_hard_limit(kMsgpoolHardLimitFieldNumber, 384, nullptr); - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CMsgProtoBufHeader* -Arena::CreateMaybeMessage< ::CMsgProtoBufHeader >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgProtoBufHeader >(arena); -} -template<> PROTOBUF_NOINLINE ::CChinaAgreementSessions_StartAgreementSessionInGame_Request* -Arena::CreateMaybeMessage< ::CChinaAgreementSessions_StartAgreementSessionInGame_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CChinaAgreementSessions_StartAgreementSessionInGame_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CChinaAgreementSessions_StartAgreementSessionInGame_Response* -Arena::CreateMaybeMessage< ::CChinaAgreementSessions_StartAgreementSessionInGame_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CChinaAgreementSessions_StartAgreementSessionInGame_Response >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/steammessages.pb.h b/protobuf/generated/steammessages.pb.h deleted file mode 100644 index abd53418c..000000000 --- a/protobuf/generated/steammessages.pb.h +++ /dev/null @@ -1,1406 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steammessages.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_steammessages_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_steammessages_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_steammessages_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_steammessages_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steammessages_2eproto; -class CChinaAgreementSessions_StartAgreementSessionInGame_Request; -struct CChinaAgreementSessions_StartAgreementSessionInGame_RequestDefaultTypeInternal; -extern CChinaAgreementSessions_StartAgreementSessionInGame_RequestDefaultTypeInternal _CChinaAgreementSessions_StartAgreementSessionInGame_Request_default_instance_; -class CChinaAgreementSessions_StartAgreementSessionInGame_Response; -struct CChinaAgreementSessions_StartAgreementSessionInGame_ResponseDefaultTypeInternal; -extern CChinaAgreementSessions_StartAgreementSessionInGame_ResponseDefaultTypeInternal _CChinaAgreementSessions_StartAgreementSessionInGame_Response_default_instance_; -class CMsgProtoBufHeader; -struct CMsgProtoBufHeaderDefaultTypeInternal; -extern CMsgProtoBufHeaderDefaultTypeInternal _CMsgProtoBufHeader_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CChinaAgreementSessions_StartAgreementSessionInGame_Request* Arena::CreateMaybeMessage<::CChinaAgreementSessions_StartAgreementSessionInGame_Request>(Arena*); -template<> ::CChinaAgreementSessions_StartAgreementSessionInGame_Response* Arena::CreateMaybeMessage<::CChinaAgreementSessions_StartAgreementSessionInGame_Response>(Arena*); -template<> ::CMsgProtoBufHeader* Arena::CreateMaybeMessage<::CMsgProtoBufHeader>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum GCProtoBufMsgSrc : int { - GCProtoBufMsgSrc_Unspecified = 0, - GCProtoBufMsgSrc_FromSystem = 1, - GCProtoBufMsgSrc_FromSteamID = 2, - GCProtoBufMsgSrc_FromGC = 3, - GCProtoBufMsgSrc_ReplySystem = 4 -}; -bool GCProtoBufMsgSrc_IsValid(int value); -constexpr GCProtoBufMsgSrc GCProtoBufMsgSrc_MIN = GCProtoBufMsgSrc_Unspecified; -constexpr GCProtoBufMsgSrc GCProtoBufMsgSrc_MAX = GCProtoBufMsgSrc_ReplySystem; -constexpr int GCProtoBufMsgSrc_ARRAYSIZE = GCProtoBufMsgSrc_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GCProtoBufMsgSrc_descriptor(); -template -inline const std::string& GCProtoBufMsgSrc_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function GCProtoBufMsgSrc_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - GCProtoBufMsgSrc_descriptor(), enum_t_value); -} -inline bool GCProtoBufMsgSrc_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GCProtoBufMsgSrc* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - GCProtoBufMsgSrc_descriptor(), name, value); -} -// =================================================================== - -class CMsgProtoBufHeader : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgProtoBufHeader) */ { - public: - inline CMsgProtoBufHeader() : CMsgProtoBufHeader(nullptr) {} - ~CMsgProtoBufHeader() override; - explicit PROTOBUF_CONSTEXPR CMsgProtoBufHeader(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgProtoBufHeader(const CMsgProtoBufHeader& from); - CMsgProtoBufHeader(CMsgProtoBufHeader&& from) noexcept - : CMsgProtoBufHeader() { - *this = ::std::move(from); - } - - inline CMsgProtoBufHeader& operator=(const CMsgProtoBufHeader& from) { - CopyFrom(from); - return *this; - } - inline CMsgProtoBufHeader& operator=(CMsgProtoBufHeader&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgProtoBufHeader& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgProtoBufHeader* internal_default_instance() { - return reinterpret_cast( - &_CMsgProtoBufHeader_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CMsgProtoBufHeader& a, CMsgProtoBufHeader& b) { - a.Swap(&b); - } - inline void Swap(CMsgProtoBufHeader* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgProtoBufHeader* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgProtoBufHeader* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgProtoBufHeader& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgProtoBufHeader& from) { - CMsgProtoBufHeader::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgProtoBufHeader* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgProtoBufHeader"; - } - protected: - explicit CMsgProtoBufHeader(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTargetJobNameFieldNumber = 12, - kErrorMessageFieldNumber = 14, - kClientSteamIdFieldNumber = 1, - kClientSessionIdFieldNumber = 2, - kSourceAppIdFieldNumber = 3, - kIpFieldNumber = 15, - kGcMsgSrcFieldNumber = 200, - kGcDirIndexSourceFieldNumber = 201, - kEresultFieldNumber = 13, - kJobIdSourceFieldNumber = 10, - kJobIdTargetFieldNumber = 11, - }; - // optional string target_job_name = 12; - bool has_target_job_name() const; - private: - bool _internal_has_target_job_name() const; - public: - void clear_target_job_name(); - const std::string& target_job_name() const; - template - void set_target_job_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_target_job_name(); - PROTOBUF_NODISCARD std::string* release_target_job_name(); - void set_allocated_target_job_name(std::string* target_job_name); - private: - const std::string& _internal_target_job_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_target_job_name(const std::string& value); - std::string* _internal_mutable_target_job_name(); - public: - - // optional string error_message = 14; - bool has_error_message() const; - private: - bool _internal_has_error_message() const; - public: - void clear_error_message(); - const std::string& error_message() const; - template - void set_error_message(ArgT0&& arg0, ArgT... args); - std::string* mutable_error_message(); - PROTOBUF_NODISCARD std::string* release_error_message(); - void set_allocated_error_message(std::string* error_message); - private: - const std::string& _internal_error_message() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_error_message(const std::string& value); - std::string* _internal_mutable_error_message(); - public: - - // optional fixed64 client_steam_id = 1; - bool has_client_steam_id() const; - private: - bool _internal_has_client_steam_id() const; - public: - void clear_client_steam_id(); - uint64_t client_steam_id() const; - void set_client_steam_id(uint64_t value); - private: - uint64_t _internal_client_steam_id() const; - void _internal_set_client_steam_id(uint64_t value); - public: - - // optional int32 client_session_id = 2; - bool has_client_session_id() const; - private: - bool _internal_has_client_session_id() const; - public: - void clear_client_session_id(); - int32_t client_session_id() const; - void set_client_session_id(int32_t value); - private: - int32_t _internal_client_session_id() const; - void _internal_set_client_session_id(int32_t value); - public: - - // optional uint32 source_app_id = 3; - bool has_source_app_id() const; - private: - bool _internal_has_source_app_id() const; - public: - void clear_source_app_id(); - uint32_t source_app_id() const; - void set_source_app_id(uint32_t value); - private: - uint32_t _internal_source_app_id() const; - void _internal_set_source_app_id(uint32_t value); - public: - - // optional uint32 ip = 15; - bool has_ip() const; - private: - bool _internal_has_ip() const; - public: - void clear_ip(); - uint32_t ip() const; - void set_ip(uint32_t value); - private: - uint32_t _internal_ip() const; - void _internal_set_ip(uint32_t value); - public: - - // optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified]; - bool has_gc_msg_src() const; - private: - bool _internal_has_gc_msg_src() const; - public: - void clear_gc_msg_src(); - ::GCProtoBufMsgSrc gc_msg_src() const; - void set_gc_msg_src(::GCProtoBufMsgSrc value); - private: - ::GCProtoBufMsgSrc _internal_gc_msg_src() const; - void _internal_set_gc_msg_src(::GCProtoBufMsgSrc value); - public: - - // optional uint32 gc_dir_index_source = 201; - bool has_gc_dir_index_source() const; - private: - bool _internal_has_gc_dir_index_source() const; - public: - void clear_gc_dir_index_source(); - uint32_t gc_dir_index_source() const; - void set_gc_dir_index_source(uint32_t value); - private: - uint32_t _internal_gc_dir_index_source() const; - void _internal_set_gc_dir_index_source(uint32_t value); - public: - - // optional int32 eresult = 13 [default = 2]; - bool has_eresult() const; - private: - bool _internal_has_eresult() const; - public: - void clear_eresult(); - int32_t eresult() const; - void set_eresult(int32_t value); - private: - int32_t _internal_eresult() const; - void _internal_set_eresult(int32_t value); - public: - - // optional fixed64 job_id_source = 10 [default = 18446744073709551615]; - bool has_job_id_source() const; - private: - bool _internal_has_job_id_source() const; - public: - void clear_job_id_source(); - uint64_t job_id_source() const; - void set_job_id_source(uint64_t value); - private: - uint64_t _internal_job_id_source() const; - void _internal_set_job_id_source(uint64_t value); - public: - - // optional fixed64 job_id_target = 11 [default = 18446744073709551615]; - bool has_job_id_target() const; - private: - bool _internal_has_job_id_target() const; - public: - void clear_job_id_target(); - uint64_t job_id_target() const; - void set_job_id_target(uint64_t value); - private: - uint64_t _internal_job_id_target() const; - void _internal_set_job_id_target(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgProtoBufHeader) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr target_job_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_message_; - uint64_t client_steam_id_; - int32_t client_session_id_; - uint32_t source_app_id_; - uint32_t ip_; - int gc_msg_src_; - uint32_t gc_dir_index_source_; - int32_t eresult_; - uint64_t job_id_source_; - uint64_t job_id_target_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CChinaAgreementSessions_StartAgreementSessionInGame_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CChinaAgreementSessions_StartAgreementSessionInGame_Request) */ { - public: - inline CChinaAgreementSessions_StartAgreementSessionInGame_Request() : CChinaAgreementSessions_StartAgreementSessionInGame_Request(nullptr) {} - ~CChinaAgreementSessions_StartAgreementSessionInGame_Request() override; - explicit PROTOBUF_CONSTEXPR CChinaAgreementSessions_StartAgreementSessionInGame_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CChinaAgreementSessions_StartAgreementSessionInGame_Request(const CChinaAgreementSessions_StartAgreementSessionInGame_Request& from); - CChinaAgreementSessions_StartAgreementSessionInGame_Request(CChinaAgreementSessions_StartAgreementSessionInGame_Request&& from) noexcept - : CChinaAgreementSessions_StartAgreementSessionInGame_Request() { - *this = ::std::move(from); - } - - inline CChinaAgreementSessions_StartAgreementSessionInGame_Request& operator=(const CChinaAgreementSessions_StartAgreementSessionInGame_Request& from) { - CopyFrom(from); - return *this; - } - inline CChinaAgreementSessions_StartAgreementSessionInGame_Request& operator=(CChinaAgreementSessions_StartAgreementSessionInGame_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CChinaAgreementSessions_StartAgreementSessionInGame_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CChinaAgreementSessions_StartAgreementSessionInGame_Request* internal_default_instance() { - return reinterpret_cast( - &_CChinaAgreementSessions_StartAgreementSessionInGame_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CChinaAgreementSessions_StartAgreementSessionInGame_Request& a, CChinaAgreementSessions_StartAgreementSessionInGame_Request& b) { - a.Swap(&b); - } - inline void Swap(CChinaAgreementSessions_StartAgreementSessionInGame_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CChinaAgreementSessions_StartAgreementSessionInGame_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CChinaAgreementSessions_StartAgreementSessionInGame_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CChinaAgreementSessions_StartAgreementSessionInGame_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CChinaAgreementSessions_StartAgreementSessionInGame_Request& from) { - CChinaAgreementSessions_StartAgreementSessionInGame_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CChinaAgreementSessions_StartAgreementSessionInGame_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CChinaAgreementSessions_StartAgreementSessionInGame_Request"; - } - protected: - explicit CChinaAgreementSessions_StartAgreementSessionInGame_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kClientIpaddressFieldNumber = 3, - kSteamidFieldNumber = 2, - kAppidFieldNumber = 1, - }; - // optional string client_ipaddress = 3; - bool has_client_ipaddress() const; - private: - bool _internal_has_client_ipaddress() const; - public: - void clear_client_ipaddress(); - const std::string& client_ipaddress() const; - template - void set_client_ipaddress(ArgT0&& arg0, ArgT... args); - std::string* mutable_client_ipaddress(); - PROTOBUF_NODISCARD std::string* release_client_ipaddress(); - void set_allocated_client_ipaddress(std::string* client_ipaddress); - private: - const std::string& _internal_client_ipaddress() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_ipaddress(const std::string& value); - std::string* _internal_mutable_client_ipaddress(); - public: - - // optional fixed64 steamid = 2; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional uint32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CChinaAgreementSessions_StartAgreementSessionInGame_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_ipaddress_; - uint64_t steamid_; - uint32_t appid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CChinaAgreementSessions_StartAgreementSessionInGame_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CChinaAgreementSessions_StartAgreementSessionInGame_Response) */ { - public: - inline CChinaAgreementSessions_StartAgreementSessionInGame_Response() : CChinaAgreementSessions_StartAgreementSessionInGame_Response(nullptr) {} - ~CChinaAgreementSessions_StartAgreementSessionInGame_Response() override; - explicit PROTOBUF_CONSTEXPR CChinaAgreementSessions_StartAgreementSessionInGame_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CChinaAgreementSessions_StartAgreementSessionInGame_Response(const CChinaAgreementSessions_StartAgreementSessionInGame_Response& from); - CChinaAgreementSessions_StartAgreementSessionInGame_Response(CChinaAgreementSessions_StartAgreementSessionInGame_Response&& from) noexcept - : CChinaAgreementSessions_StartAgreementSessionInGame_Response() { - *this = ::std::move(from); - } - - inline CChinaAgreementSessions_StartAgreementSessionInGame_Response& operator=(const CChinaAgreementSessions_StartAgreementSessionInGame_Response& from) { - CopyFrom(from); - return *this; - } - inline CChinaAgreementSessions_StartAgreementSessionInGame_Response& operator=(CChinaAgreementSessions_StartAgreementSessionInGame_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CChinaAgreementSessions_StartAgreementSessionInGame_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CChinaAgreementSessions_StartAgreementSessionInGame_Response* internal_default_instance() { - return reinterpret_cast( - &_CChinaAgreementSessions_StartAgreementSessionInGame_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CChinaAgreementSessions_StartAgreementSessionInGame_Response& a, CChinaAgreementSessions_StartAgreementSessionInGame_Response& b) { - a.Swap(&b); - } - inline void Swap(CChinaAgreementSessions_StartAgreementSessionInGame_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CChinaAgreementSessions_StartAgreementSessionInGame_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CChinaAgreementSessions_StartAgreementSessionInGame_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CChinaAgreementSessions_StartAgreementSessionInGame_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CChinaAgreementSessions_StartAgreementSessionInGame_Response& from) { - CChinaAgreementSessions_StartAgreementSessionInGame_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CChinaAgreementSessions_StartAgreementSessionInGame_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CChinaAgreementSessions_StartAgreementSessionInGame_Response"; - } - protected: - explicit CChinaAgreementSessions_StartAgreementSessionInGame_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAgreementUrlFieldNumber = 1, - }; - // optional string agreement_url = 1; - bool has_agreement_url() const; - private: - bool _internal_has_agreement_url() const; - public: - void clear_agreement_url(); - const std::string& agreement_url() const; - template - void set_agreement_url(ArgT0&& arg0, ArgT... args); - std::string* mutable_agreement_url(); - PROTOBUF_NODISCARD std::string* release_agreement_url(); - void set_allocated_agreement_url(std::string* agreement_url); - private: - const std::string& _internal_agreement_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_agreement_url(const std::string& value); - std::string* _internal_mutable_agreement_url(); - public: - - // @@protoc_insertion_point(class_scope:CChinaAgreementSessions_StartAgreementSessionInGame_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr agreement_url_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_2eproto; -}; -// =================================================================== - -static const int kKeyFieldFieldNumber = 60000; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false > - key_field; -static const int kMsgpoolSoftLimitFieldNumber = 60000; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::MessageOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< int32_t >, 5, false > - msgpool_soft_limit; -static const int kMsgpoolHardLimitFieldNumber = 60001; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::MessageOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< int32_t >, 5, false > - msgpool_hard_limit; - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CMsgProtoBufHeader - -// optional fixed64 client_steam_id = 1; -inline bool CMsgProtoBufHeader::_internal_has_client_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgProtoBufHeader::has_client_steam_id() const { - return _internal_has_client_steam_id(); -} -inline void CMsgProtoBufHeader::clear_client_steam_id() { - _impl_.client_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgProtoBufHeader::_internal_client_steam_id() const { - return _impl_.client_steam_id_; -} -inline uint64_t CMsgProtoBufHeader::client_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.client_steam_id) - return _internal_client_steam_id(); -} -inline void CMsgProtoBufHeader::_internal_set_client_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.client_steam_id_ = value; -} -inline void CMsgProtoBufHeader::set_client_steam_id(uint64_t value) { - _internal_set_client_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.client_steam_id) -} - -// optional int32 client_session_id = 2; -inline bool CMsgProtoBufHeader::_internal_has_client_session_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgProtoBufHeader::has_client_session_id() const { - return _internal_has_client_session_id(); -} -inline void CMsgProtoBufHeader::clear_client_session_id() { - _impl_.client_session_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CMsgProtoBufHeader::_internal_client_session_id() const { - return _impl_.client_session_id_; -} -inline int32_t CMsgProtoBufHeader::client_session_id() const { - // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.client_session_id) - return _internal_client_session_id(); -} -inline void CMsgProtoBufHeader::_internal_set_client_session_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.client_session_id_ = value; -} -inline void CMsgProtoBufHeader::set_client_session_id(int32_t value) { - _internal_set_client_session_id(value); - // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.client_session_id) -} - -// optional uint32 source_app_id = 3; -inline bool CMsgProtoBufHeader::_internal_has_source_app_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgProtoBufHeader::has_source_app_id() const { - return _internal_has_source_app_id(); -} -inline void CMsgProtoBufHeader::clear_source_app_id() { - _impl_.source_app_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgProtoBufHeader::_internal_source_app_id() const { - return _impl_.source_app_id_; -} -inline uint32_t CMsgProtoBufHeader::source_app_id() const { - // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.source_app_id) - return _internal_source_app_id(); -} -inline void CMsgProtoBufHeader::_internal_set_source_app_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.source_app_id_ = value; -} -inline void CMsgProtoBufHeader::set_source_app_id(uint32_t value) { - _internal_set_source_app_id(value); - // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.source_app_id) -} - -// optional fixed64 job_id_source = 10 [default = 18446744073709551615]; -inline bool CMsgProtoBufHeader::_internal_has_job_id_source() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgProtoBufHeader::has_job_id_source() const { - return _internal_has_job_id_source(); -} -inline void CMsgProtoBufHeader::clear_job_id_source() { - _impl_.job_id_source_ = uint64_t{18446744073709551615u}; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint64_t CMsgProtoBufHeader::_internal_job_id_source() const { - return _impl_.job_id_source_; -} -inline uint64_t CMsgProtoBufHeader::job_id_source() const { - // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.job_id_source) - return _internal_job_id_source(); -} -inline void CMsgProtoBufHeader::_internal_set_job_id_source(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.job_id_source_ = value; -} -inline void CMsgProtoBufHeader::set_job_id_source(uint64_t value) { - _internal_set_job_id_source(value); - // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.job_id_source) -} - -// optional fixed64 job_id_target = 11 [default = 18446744073709551615]; -inline bool CMsgProtoBufHeader::_internal_has_job_id_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgProtoBufHeader::has_job_id_target() const { - return _internal_has_job_id_target(); -} -inline void CMsgProtoBufHeader::clear_job_id_target() { - _impl_.job_id_target_ = uint64_t{18446744073709551615u}; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint64_t CMsgProtoBufHeader::_internal_job_id_target() const { - return _impl_.job_id_target_; -} -inline uint64_t CMsgProtoBufHeader::job_id_target() const { - // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.job_id_target) - return _internal_job_id_target(); -} -inline void CMsgProtoBufHeader::_internal_set_job_id_target(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.job_id_target_ = value; -} -inline void CMsgProtoBufHeader::set_job_id_target(uint64_t value) { - _internal_set_job_id_target(value); - // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.job_id_target) -} - -// optional string target_job_name = 12; -inline bool CMsgProtoBufHeader::_internal_has_target_job_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgProtoBufHeader::has_target_job_name() const { - return _internal_has_target_job_name(); -} -inline void CMsgProtoBufHeader::clear_target_job_name() { - _impl_.target_job_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgProtoBufHeader::target_job_name() const { - // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.target_job_name) - return _internal_target_job_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgProtoBufHeader::set_target_job_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.target_job_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.target_job_name) -} -inline std::string* CMsgProtoBufHeader::mutable_target_job_name() { - std::string* _s = _internal_mutable_target_job_name(); - // @@protoc_insertion_point(field_mutable:CMsgProtoBufHeader.target_job_name) - return _s; -} -inline const std::string& CMsgProtoBufHeader::_internal_target_job_name() const { - return _impl_.target_job_name_.Get(); -} -inline void CMsgProtoBufHeader::_internal_set_target_job_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.target_job_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgProtoBufHeader::_internal_mutable_target_job_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.target_job_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgProtoBufHeader::release_target_job_name() { - // @@protoc_insertion_point(field_release:CMsgProtoBufHeader.target_job_name) - if (!_internal_has_target_job_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.target_job_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.target_job_name_.IsDefault()) { - _impl_.target_job_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgProtoBufHeader::set_allocated_target_job_name(std::string* target_job_name) { - if (target_job_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.target_job_name_.SetAllocated(target_job_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.target_job_name_.IsDefault()) { - _impl_.target_job_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgProtoBufHeader.target_job_name) -} - -// optional int32 eresult = 13 [default = 2]; -inline bool CMsgProtoBufHeader::_internal_has_eresult() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgProtoBufHeader::has_eresult() const { - return _internal_has_eresult(); -} -inline void CMsgProtoBufHeader::clear_eresult() { - _impl_.eresult_ = 2; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t CMsgProtoBufHeader::_internal_eresult() const { - return _impl_.eresult_; -} -inline int32_t CMsgProtoBufHeader::eresult() const { - // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.eresult) - return _internal_eresult(); -} -inline void CMsgProtoBufHeader::_internal_set_eresult(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.eresult_ = value; -} -inline void CMsgProtoBufHeader::set_eresult(int32_t value) { - _internal_set_eresult(value); - // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.eresult) -} - -// optional string error_message = 14; -inline bool CMsgProtoBufHeader::_internal_has_error_message() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgProtoBufHeader::has_error_message() const { - return _internal_has_error_message(); -} -inline void CMsgProtoBufHeader::clear_error_message() { - _impl_.error_message_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgProtoBufHeader::error_message() const { - // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.error_message) - return _internal_error_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgProtoBufHeader::set_error_message(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.error_message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.error_message) -} -inline std::string* CMsgProtoBufHeader::mutable_error_message() { - std::string* _s = _internal_mutable_error_message(); - // @@protoc_insertion_point(field_mutable:CMsgProtoBufHeader.error_message) - return _s; -} -inline const std::string& CMsgProtoBufHeader::_internal_error_message() const { - return _impl_.error_message_.Get(); -} -inline void CMsgProtoBufHeader::_internal_set_error_message(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.error_message_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgProtoBufHeader::_internal_mutable_error_message() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.error_message_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgProtoBufHeader::release_error_message() { - // @@protoc_insertion_point(field_release:CMsgProtoBufHeader.error_message) - if (!_internal_has_error_message()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.error_message_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.error_message_.IsDefault()) { - _impl_.error_message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgProtoBufHeader::set_allocated_error_message(std::string* error_message) { - if (error_message != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.error_message_.SetAllocated(error_message, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.error_message_.IsDefault()) { - _impl_.error_message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgProtoBufHeader.error_message) -} - -// optional uint32 ip = 15; -inline bool CMsgProtoBufHeader::_internal_has_ip() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgProtoBufHeader::has_ip() const { - return _internal_has_ip(); -} -inline void CMsgProtoBufHeader::clear_ip() { - _impl_.ip_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgProtoBufHeader::_internal_ip() const { - return _impl_.ip_; -} -inline uint32_t CMsgProtoBufHeader::ip() const { - // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.ip) - return _internal_ip(); -} -inline void CMsgProtoBufHeader::_internal_set_ip(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.ip_ = value; -} -inline void CMsgProtoBufHeader::set_ip(uint32_t value) { - _internal_set_ip(value); - // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.ip) -} - -// optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified]; -inline bool CMsgProtoBufHeader::_internal_has_gc_msg_src() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgProtoBufHeader::has_gc_msg_src() const { - return _internal_has_gc_msg_src(); -} -inline void CMsgProtoBufHeader::clear_gc_msg_src() { - _impl_.gc_msg_src_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline ::GCProtoBufMsgSrc CMsgProtoBufHeader::_internal_gc_msg_src() const { - return static_cast< ::GCProtoBufMsgSrc >(_impl_.gc_msg_src_); -} -inline ::GCProtoBufMsgSrc CMsgProtoBufHeader::gc_msg_src() const { - // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.gc_msg_src) - return _internal_gc_msg_src(); -} -inline void CMsgProtoBufHeader::_internal_set_gc_msg_src(::GCProtoBufMsgSrc value) { - assert(::GCProtoBufMsgSrc_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.gc_msg_src_ = value; -} -inline void CMsgProtoBufHeader::set_gc_msg_src(::GCProtoBufMsgSrc value) { - _internal_set_gc_msg_src(value); - // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.gc_msg_src) -} - -// optional uint32 gc_dir_index_source = 201; -inline bool CMsgProtoBufHeader::_internal_has_gc_dir_index_source() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgProtoBufHeader::has_gc_dir_index_source() const { - return _internal_has_gc_dir_index_source(); -} -inline void CMsgProtoBufHeader::clear_gc_dir_index_source() { - _impl_.gc_dir_index_source_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgProtoBufHeader::_internal_gc_dir_index_source() const { - return _impl_.gc_dir_index_source_; -} -inline uint32_t CMsgProtoBufHeader::gc_dir_index_source() const { - // @@protoc_insertion_point(field_get:CMsgProtoBufHeader.gc_dir_index_source) - return _internal_gc_dir_index_source(); -} -inline void CMsgProtoBufHeader::_internal_set_gc_dir_index_source(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.gc_dir_index_source_ = value; -} -inline void CMsgProtoBufHeader::set_gc_dir_index_source(uint32_t value) { - _internal_set_gc_dir_index_source(value); - // @@protoc_insertion_point(field_set:CMsgProtoBufHeader.gc_dir_index_source) -} - -// ------------------------------------------------------------------- - -// CChinaAgreementSessions_StartAgreementSessionInGame_Request - -// optional uint32 appid = 1; -inline bool CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CChinaAgreementSessions_StartAgreementSessionInGame_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CChinaAgreementSessions_StartAgreementSessionInGame_Request::appid() const { - // @@protoc_insertion_point(field_get:CChinaAgreementSessions_StartAgreementSessionInGame_Request.appid) - return _internal_appid(); -} -inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.appid_ = value; -} -inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CChinaAgreementSessions_StartAgreementSessionInGame_Request.appid) -} - -// optional fixed64 steamid = 2; -inline bool CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CChinaAgreementSessions_StartAgreementSessionInGame_Request::has_steamid() const { - return _internal_has_steamid(); -} -inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CChinaAgreementSessions_StartAgreementSessionInGame_Request::steamid() const { - // @@protoc_insertion_point(field_get:CChinaAgreementSessions_StartAgreementSessionInGame_Request.steamid) - return _internal_steamid(); -} -inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.steamid_ = value; -} -inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CChinaAgreementSessions_StartAgreementSessionInGame_Request.steamid) -} - -// optional string client_ipaddress = 3; -inline bool CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_has_client_ipaddress() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CChinaAgreementSessions_StartAgreementSessionInGame_Request::has_client_ipaddress() const { - return _internal_has_client_ipaddress(); -} -inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::clear_client_ipaddress() { - _impl_.client_ipaddress_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CChinaAgreementSessions_StartAgreementSessionInGame_Request::client_ipaddress() const { - // @@protoc_insertion_point(field_get:CChinaAgreementSessions_StartAgreementSessionInGame_Request.client_ipaddress) - return _internal_client_ipaddress(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CChinaAgreementSessions_StartAgreementSessionInGame_Request::set_client_ipaddress(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.client_ipaddress_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CChinaAgreementSessions_StartAgreementSessionInGame_Request.client_ipaddress) -} -inline std::string* CChinaAgreementSessions_StartAgreementSessionInGame_Request::mutable_client_ipaddress() { - std::string* _s = _internal_mutable_client_ipaddress(); - // @@protoc_insertion_point(field_mutable:CChinaAgreementSessions_StartAgreementSessionInGame_Request.client_ipaddress) - return _s; -} -inline const std::string& CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_client_ipaddress() const { - return _impl_.client_ipaddress_.Get(); -} -inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_set_client_ipaddress(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.client_ipaddress_.Set(value, GetArenaForAllocation()); -} -inline std::string* CChinaAgreementSessions_StartAgreementSessionInGame_Request::_internal_mutable_client_ipaddress() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.client_ipaddress_.Mutable(GetArenaForAllocation()); -} -inline std::string* CChinaAgreementSessions_StartAgreementSessionInGame_Request::release_client_ipaddress() { - // @@protoc_insertion_point(field_release:CChinaAgreementSessions_StartAgreementSessionInGame_Request.client_ipaddress) - if (!_internal_has_client_ipaddress()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.client_ipaddress_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.client_ipaddress_.IsDefault()) { - _impl_.client_ipaddress_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CChinaAgreementSessions_StartAgreementSessionInGame_Request::set_allocated_client_ipaddress(std::string* client_ipaddress) { - if (client_ipaddress != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.client_ipaddress_.SetAllocated(client_ipaddress, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.client_ipaddress_.IsDefault()) { - _impl_.client_ipaddress_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CChinaAgreementSessions_StartAgreementSessionInGame_Request.client_ipaddress) -} - -// ------------------------------------------------------------------- - -// CChinaAgreementSessions_StartAgreementSessionInGame_Response - -// optional string agreement_url = 1; -inline bool CChinaAgreementSessions_StartAgreementSessionInGame_Response::_internal_has_agreement_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CChinaAgreementSessions_StartAgreementSessionInGame_Response::has_agreement_url() const { - return _internal_has_agreement_url(); -} -inline void CChinaAgreementSessions_StartAgreementSessionInGame_Response::clear_agreement_url() { - _impl_.agreement_url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CChinaAgreementSessions_StartAgreementSessionInGame_Response::agreement_url() const { - // @@protoc_insertion_point(field_get:CChinaAgreementSessions_StartAgreementSessionInGame_Response.agreement_url) - return _internal_agreement_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CChinaAgreementSessions_StartAgreementSessionInGame_Response::set_agreement_url(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.agreement_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CChinaAgreementSessions_StartAgreementSessionInGame_Response.agreement_url) -} -inline std::string* CChinaAgreementSessions_StartAgreementSessionInGame_Response::mutable_agreement_url() { - std::string* _s = _internal_mutable_agreement_url(); - // @@protoc_insertion_point(field_mutable:CChinaAgreementSessions_StartAgreementSessionInGame_Response.agreement_url) - return _s; -} -inline const std::string& CChinaAgreementSessions_StartAgreementSessionInGame_Response::_internal_agreement_url() const { - return _impl_.agreement_url_.Get(); -} -inline void CChinaAgreementSessions_StartAgreementSessionInGame_Response::_internal_set_agreement_url(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.agreement_url_.Set(value, GetArenaForAllocation()); -} -inline std::string* CChinaAgreementSessions_StartAgreementSessionInGame_Response::_internal_mutable_agreement_url() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.agreement_url_.Mutable(GetArenaForAllocation()); -} -inline std::string* CChinaAgreementSessions_StartAgreementSessionInGame_Response::release_agreement_url() { - // @@protoc_insertion_point(field_release:CChinaAgreementSessions_StartAgreementSessionInGame_Response.agreement_url) - if (!_internal_has_agreement_url()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.agreement_url_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.agreement_url_.IsDefault()) { - _impl_.agreement_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CChinaAgreementSessions_StartAgreementSessionInGame_Response::set_allocated_agreement_url(std::string* agreement_url) { - if (agreement_url != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.agreement_url_.SetAllocated(agreement_url, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.agreement_url_.IsDefault()) { - _impl_.agreement_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CChinaAgreementSessions_StartAgreementSessionInGame_Response.agreement_url) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::GCProtoBufMsgSrc> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::GCProtoBufMsgSrc>() { - return ::GCProtoBufMsgSrc_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steammessages_2eproto diff --git a/protobuf/generated/steammessages_cloud.steamworkssdk.pb.cc b/protobuf/generated/steammessages_cloud.steamworkssdk.pb.cc deleted file mode 100644 index a5770d778..000000000 --- a/protobuf/generated/steammessages_cloud.steamworkssdk.pb.cc +++ /dev/null @@ -1,2501 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steammessages_cloud.steamworkssdk.proto - -#include "steammessages_cloud.steamworkssdk.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CCloud_GetUploadServerInfo_Request::CCloud_GetUploadServerInfo_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.appid_)*/0u} {} -struct CCloud_GetUploadServerInfo_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCloud_GetUploadServerInfo_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCloud_GetUploadServerInfo_RequestDefaultTypeInternal() {} - union { - CCloud_GetUploadServerInfo_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCloud_GetUploadServerInfo_RequestDefaultTypeInternal _CCloud_GetUploadServerInfo_Request_default_instance_; -PROTOBUF_CONSTEXPR CCloud_GetUploadServerInfo_Response::CCloud_GetUploadServerInfo_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.server_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CCloud_GetUploadServerInfo_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCloud_GetUploadServerInfo_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCloud_GetUploadServerInfo_ResponseDefaultTypeInternal() {} - union { - CCloud_GetUploadServerInfo_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCloud_GetUploadServerInfo_ResponseDefaultTypeInternal _CCloud_GetUploadServerInfo_Response_default_instance_; -PROTOBUF_CONSTEXPR CCloud_GetFileDetails_Request::CCloud_GetFileDetails_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ugcid_)*/uint64_t{0u} - , /*decltype(_impl_.appid_)*/0u} {} -struct CCloud_GetFileDetails_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCloud_GetFileDetails_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCloud_GetFileDetails_RequestDefaultTypeInternal() {} - union { - CCloud_GetFileDetails_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCloud_GetFileDetails_RequestDefaultTypeInternal _CCloud_GetFileDetails_Request_default_instance_; -PROTOBUF_CONSTEXPR CCloud_UserFile::CCloud_UserFile( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ugcid_)*/uint64_t{0u} - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.file_size_)*/0u - , /*decltype(_impl_.timestamp_)*/uint64_t{0u} - , /*decltype(_impl_.steamid_creator_)*/uint64_t{0u}} {} -struct CCloud_UserFileDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCloud_UserFileDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCloud_UserFileDefaultTypeInternal() {} - union { - CCloud_UserFile _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCloud_UserFileDefaultTypeInternal _CCloud_UserFile_default_instance_; -PROTOBUF_CONSTEXPR CCloud_GetFileDetails_Response::CCloud_GetFileDetails_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.details_)*/nullptr} {} -struct CCloud_GetFileDetails_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCloud_GetFileDetails_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCloud_GetFileDetails_ResponseDefaultTypeInternal() {} - union { - CCloud_GetFileDetails_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCloud_GetFileDetails_ResponseDefaultTypeInternal _CCloud_GetFileDetails_Response_default_instance_; -PROTOBUF_CONSTEXPR CCloud_EnumerateUserFiles_Request::CCloud_EnumerateUserFiles_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.extended_details_)*/false - , /*decltype(_impl_.count_)*/0u - , /*decltype(_impl_.start_index_)*/0u} {} -struct CCloud_EnumerateUserFiles_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCloud_EnumerateUserFiles_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCloud_EnumerateUserFiles_RequestDefaultTypeInternal() {} - union { - CCloud_EnumerateUserFiles_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCloud_EnumerateUserFiles_RequestDefaultTypeInternal _CCloud_EnumerateUserFiles_Request_default_instance_; -PROTOBUF_CONSTEXPR CCloud_EnumerateUserFiles_Response::CCloud_EnumerateUserFiles_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.files_)*/{} - , /*decltype(_impl_.total_files_)*/0u} {} -struct CCloud_EnumerateUserFiles_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCloud_EnumerateUserFiles_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCloud_EnumerateUserFiles_ResponseDefaultTypeInternal() {} - union { - CCloud_EnumerateUserFiles_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCloud_EnumerateUserFiles_ResponseDefaultTypeInternal _CCloud_EnumerateUserFiles_Response_default_instance_; -PROTOBUF_CONSTEXPR CCloud_Delete_Request::CCloud_Delete_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.appid_)*/0u} {} -struct CCloud_Delete_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCloud_Delete_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCloud_Delete_RequestDefaultTypeInternal() {} - union { - CCloud_Delete_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCloud_Delete_RequestDefaultTypeInternal _CCloud_Delete_Request_default_instance_; -PROTOBUF_CONSTEXPR CCloud_Delete_Response::CCloud_Delete_Response( - ::_pbi::ConstantInitialized) {} -struct CCloud_Delete_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CCloud_Delete_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CCloud_Delete_ResponseDefaultTypeInternal() {} - union { - CCloud_Delete_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CCloud_Delete_ResponseDefaultTypeInternal _CCloud_Delete_Response_default_instance_; -static ::_pb::Metadata file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[9]; -static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_steammessages_5fcloud_2esteamworkssdk_2eproto = nullptr; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steammessages_5fcloud_2esteamworkssdk_2eproto = nullptr; - -const uint32_t TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CCloud_GetUploadServerInfo_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCloud_GetUploadServerInfo_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCloud_GetUploadServerInfo_Request, _impl_.appid_), - 0, - PROTOBUF_FIELD_OFFSET(::CCloud_GetUploadServerInfo_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCloud_GetUploadServerInfo_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCloud_GetUploadServerInfo_Response, _impl_.server_url_), - 0, - PROTOBUF_FIELD_OFFSET(::CCloud_GetFileDetails_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCloud_GetFileDetails_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCloud_GetFileDetails_Request, _impl_.ugcid_), - PROTOBUF_FIELD_OFFSET(::CCloud_GetFileDetails_Request, _impl_.appid_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CCloud_UserFile, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCloud_UserFile, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCloud_UserFile, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CCloud_UserFile, _impl_.ugcid_), - PROTOBUF_FIELD_OFFSET(::CCloud_UserFile, _impl_.filename_), - PROTOBUF_FIELD_OFFSET(::CCloud_UserFile, _impl_.timestamp_), - PROTOBUF_FIELD_OFFSET(::CCloud_UserFile, _impl_.file_size_), - PROTOBUF_FIELD_OFFSET(::CCloud_UserFile, _impl_.url_), - PROTOBUF_FIELD_OFFSET(::CCloud_UserFile, _impl_.steamid_creator_), - 3, - 2, - 0, - 5, - 4, - 1, - 6, - PROTOBUF_FIELD_OFFSET(::CCloud_GetFileDetails_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCloud_GetFileDetails_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCloud_GetFileDetails_Response, _impl_.details_), - 0, - PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Request, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Request, _impl_.extended_details_), - PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Request, _impl_.count_), - PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Request, _impl_.start_index_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Response, _impl_.files_), - PROTOBUF_FIELD_OFFSET(::CCloud_EnumerateUserFiles_Response, _impl_.total_files_), - ~0u, - 0, - PROTOBUF_FIELD_OFFSET(::CCloud_Delete_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CCloud_Delete_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CCloud_Delete_Request, _impl_.filename_), - PROTOBUF_FIELD_OFFSET(::CCloud_Delete_Request, _impl_.appid_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CCloud_Delete_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 7, -1, sizeof(::CCloud_GetUploadServerInfo_Request)}, - { 8, 15, -1, sizeof(::CCloud_GetUploadServerInfo_Response)}, - { 16, 24, -1, sizeof(::CCloud_GetFileDetails_Request)}, - { 26, 39, -1, sizeof(::CCloud_UserFile)}, - { 46, 53, -1, sizeof(::CCloud_GetFileDetails_Response)}, - { 54, 64, -1, sizeof(::CCloud_EnumerateUserFiles_Request)}, - { 68, 76, -1, sizeof(::CCloud_EnumerateUserFiles_Response)}, - { 78, 86, -1, sizeof(::CCloud_Delete_Request)}, - { 88, -1, -1, sizeof(::CCloud_Delete_Response)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CCloud_GetUploadServerInfo_Request_default_instance_._instance, - &::_CCloud_GetUploadServerInfo_Response_default_instance_._instance, - &::_CCloud_GetFileDetails_Request_default_instance_._instance, - &::_CCloud_UserFile_default_instance_._instance, - &::_CCloud_GetFileDetails_Response_default_instance_._instance, - &::_CCloud_EnumerateUserFiles_Request_default_instance_._instance, - &::_CCloud_EnumerateUserFiles_Response_default_instance_._instance, - &::_CCloud_Delete_Request_default_instance_._instance, - &::_CCloud_Delete_Response_default_instance_._instance, -}; - -const char descriptor_table_protodef_steammessages_5fcloud_2esteamworkssdk_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\'steammessages_cloud.steamworkssdk.prot" - "o\032.steammessages_unified_base.steamworks" - "sdk.proto\"d\n\"CCloud_GetUploadServerInfo_" - "Request\022>\n\005appid\030\001 \001(\rB/\202\265\030+App ID to wh" - "ich a file will be uploaded to.\"9\n#CClou" - "d_GetUploadServerInfo_Response\022\022\n\nserver" - "_url\030\001 \001(\t\"\214\001\n\035CCloud_GetFileDetails_Req" - "uest\022;\n\005ugcid\030\001 \001(\004B,\202\265\030(ID of the Cloud" - " file to get details for.\022.\n\005appid\030\002 \001(\r" - "B\037\202\265\030\033App ID the file belongs to.\"\215\001\n\017CC" - "loud_UserFile\022\r\n\005appid\030\001 \001(\r\022\r\n\005ugcid\030\002 " - "\001(\004\022\020\n\010filename\030\003 \001(\t\022\021\n\ttimestamp\030\004 \001(\004" - "\022\021\n\tfile_size\030\005 \001(\r\022\013\n\003url\030\006 \001(\t\022\027\n\017stea" - "mid_creator\030\007 \001(\006\"C\n\036CCloud_GetFileDetai" - "ls_Response\022!\n\007details\030\001 \001(\0132\020.CCloud_Us" - "erFile\"\351\003\n!CCloud_EnumerateUserFiles_Req" - "uest\0224\n\005appid\030\001 \001(\rB%\202\265\030!App ID to enume" - "rate the files of.\022\233\001\n\020extended_details\030" - "\002 \001(\010B\200\001\202\265\030|(Optional) Get extended deta" - "ils back on the files found. Defaults to" - " only returned the app Id and UGC Id of " - "the files found.\022|\n\005count\030\003 \001(\rBm\202\265\030i(Op" - "tional) Maximum number of results to ret" - "urn on this call. Defaults to a maximum " - "of 500 files returned.\022r\n\013start_index\030\004 " - "\001(\rB]\202\265\030Y(Optional) Starting index to be" - "gin enumeration at. Defaults to the begi" - "nning of the list.\"Z\n\"CCloud_EnumerateUs" - "erFiles_Response\022\037\n\005files\030\001 \003(\0132\020.CCloud" - "_UserFile\022\023\n\013total_files\030\002 \001(\r\"Y\n\025CCloud" - "_Delete_Request\022\020\n\010filename\030\001 \001(\t\022.\n\005app" - "id\030\002 \001(\rB\037\202\265\030\033App ID the file belongs to" - ".\"\030\n\026CCloud_Delete_Response2\355\004\n\005Cloud\022\234\001" - "\n\023GetUploadServerInfo\022#.CCloud_GetUpload" - "ServerInfo_Request\032$.CCloud_GetUploadSer" - "verInfo_Response\":\202\265\0306Returns the URL of" - " the proper cloud server for a user.\022w\n\016" - "GetFileDetails\022\036.CCloud_GetFileDetails_R" - "equest\032\037.CCloud_GetFileDetails_Response\"" - "$\202\265\030 Returns details on a Cloud file.\022\272\001" - "\n\022EnumerateUserFiles\022\".CCloud_EnumerateU" - "serFiles_Request\032#.CCloud_EnumerateUserF" - "iles_Response\"[\202\265\030WEnumerates Cloud file" - "s for a user of a given app ID. Returns " - "up to 500 files at a time.\022d\n\006Delete\022\026.C" - "Cloud_Delete_Request\032\027.CCloud_Delete_Res" - "ponse\")\202\265\030%Deletes a file from the user\'" - "s cloud.\032)\202\265\030%A service for Steam Cloud " - "operations." - ; -static const ::_pbi::DescriptorTable* const descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_deps[1] = { - &::descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto, -}; -static ::_pbi::once_flag descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto = { - false, false, 1931, descriptor_table_protodef_steammessages_5fcloud_2esteamworkssdk_2eproto, - "steammessages_cloud.steamworkssdk.proto", - &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_deps, 1, 9, - schemas, file_default_instances, TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto::offsets, - file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto, file_level_enum_descriptors_steammessages_5fcloud_2esteamworkssdk_2eproto, - file_level_service_descriptors_steammessages_5fcloud_2esteamworkssdk_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter() { - return &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steammessages_5fcloud_2esteamworkssdk_2eproto(&descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto); - -// =================================================================== - -class CCloud_GetUploadServerInfo_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCloud_GetUploadServerInfo_Request::CCloud_GetUploadServerInfo_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCloud_GetUploadServerInfo_Request) -} -CCloud_GetUploadServerInfo_Request::CCloud_GetUploadServerInfo_Request(const CCloud_GetUploadServerInfo_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCloud_GetUploadServerInfo_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.appid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.appid_ = from._impl_.appid_; - // @@protoc_insertion_point(copy_constructor:CCloud_GetUploadServerInfo_Request) -} - -inline void CCloud_GetUploadServerInfo_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.appid_){0u} - }; -} - -CCloud_GetUploadServerInfo_Request::~CCloud_GetUploadServerInfo_Request() { - // @@protoc_insertion_point(destructor:CCloud_GetUploadServerInfo_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCloud_GetUploadServerInfo_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCloud_GetUploadServerInfo_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCloud_GetUploadServerInfo_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CCloud_GetUploadServerInfo_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.appid_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCloud_GetUploadServerInfo_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1 [(.description) = "App ID to which a file will be uploaded to."]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCloud_GetUploadServerInfo_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCloud_GetUploadServerInfo_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1 [(.description) = "App ID to which a file will be uploaded to."]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCloud_GetUploadServerInfo_Request) - return target; -} - -size_t CCloud_GetUploadServerInfo_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCloud_GetUploadServerInfo_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 appid = 1 [(.description) = "App ID to which a file will be uploaded to."]; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCloud_GetUploadServerInfo_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCloud_GetUploadServerInfo_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCloud_GetUploadServerInfo_Request::GetClassData() const { return &_class_data_; } - - -void CCloud_GetUploadServerInfo_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCloud_GetUploadServerInfo_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_appid()) { - _this->_internal_set_appid(from._internal_appid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCloud_GetUploadServerInfo_Request::CopyFrom(const CCloud_GetUploadServerInfo_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCloud_GetUploadServerInfo_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCloud_GetUploadServerInfo_Request::IsInitialized() const { - return true; -} - -void CCloud_GetUploadServerInfo_Request::InternalSwap(CCloud_GetUploadServerInfo_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.appid_, other->_impl_.appid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCloud_GetUploadServerInfo_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[0]); -} - -// =================================================================== - -class CCloud_GetUploadServerInfo_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_server_url(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCloud_GetUploadServerInfo_Response::CCloud_GetUploadServerInfo_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCloud_GetUploadServerInfo_Response) -} -CCloud_GetUploadServerInfo_Response::CCloud_GetUploadServerInfo_Response(const CCloud_GetUploadServerInfo_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCloud_GetUploadServerInfo_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.server_url_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.server_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.server_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_server_url()) { - _this->_impl_.server_url_.Set(from._internal_server_url(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CCloud_GetUploadServerInfo_Response) -} - -inline void CCloud_GetUploadServerInfo_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.server_url_){} - }; - _impl_.server_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.server_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCloud_GetUploadServerInfo_Response::~CCloud_GetUploadServerInfo_Response() { - // @@protoc_insertion_point(destructor:CCloud_GetUploadServerInfo_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCloud_GetUploadServerInfo_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.server_url_.Destroy(); -} - -void CCloud_GetUploadServerInfo_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCloud_GetUploadServerInfo_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CCloud_GetUploadServerInfo_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.server_url_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCloud_GetUploadServerInfo_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string server_url = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_server_url(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCloud_GetUploadServerInfo_Response.server_url"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCloud_GetUploadServerInfo_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCloud_GetUploadServerInfo_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string server_url = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_server_url().data(), static_cast(this->_internal_server_url().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCloud_GetUploadServerInfo_Response.server_url"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_server_url(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCloud_GetUploadServerInfo_Response) - return target; -} - -size_t CCloud_GetUploadServerInfo_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCloud_GetUploadServerInfo_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string server_url = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_server_url()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCloud_GetUploadServerInfo_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCloud_GetUploadServerInfo_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCloud_GetUploadServerInfo_Response::GetClassData() const { return &_class_data_; } - - -void CCloud_GetUploadServerInfo_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCloud_GetUploadServerInfo_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_server_url()) { - _this->_internal_set_server_url(from._internal_server_url()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCloud_GetUploadServerInfo_Response::CopyFrom(const CCloud_GetUploadServerInfo_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCloud_GetUploadServerInfo_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCloud_GetUploadServerInfo_Response::IsInitialized() const { - return true; -} - -void CCloud_GetUploadServerInfo_Response::InternalSwap(CCloud_GetUploadServerInfo_Response* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.server_url_, lhs_arena, - &other->_impl_.server_url_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCloud_GetUploadServerInfo_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[1]); -} - -// =================================================================== - -class CCloud_GetFileDetails_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ugcid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCloud_GetFileDetails_Request::CCloud_GetFileDetails_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCloud_GetFileDetails_Request) -} -CCloud_GetFileDetails_Request::CCloud_GetFileDetails_Request(const CCloud_GetFileDetails_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCloud_GetFileDetails_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ugcid_){} - , decltype(_impl_.appid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.ugcid_, &from._impl_.ugcid_, - static_cast(reinterpret_cast(&_impl_.appid_) - - reinterpret_cast(&_impl_.ugcid_)) + sizeof(_impl_.appid_)); - // @@protoc_insertion_point(copy_constructor:CCloud_GetFileDetails_Request) -} - -inline void CCloud_GetFileDetails_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ugcid_){uint64_t{0u}} - , decltype(_impl_.appid_){0u} - }; -} - -CCloud_GetFileDetails_Request::~CCloud_GetFileDetails_Request() { - // @@protoc_insertion_point(destructor:CCloud_GetFileDetails_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCloud_GetFileDetails_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCloud_GetFileDetails_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCloud_GetFileDetails_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CCloud_GetFileDetails_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.ugcid_, 0, static_cast( - reinterpret_cast(&_impl_.appid_) - - reinterpret_cast(&_impl_.ugcid_)) + sizeof(_impl_.appid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCloud_GetFileDetails_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 ugcid = 1 [(.description) = "ID of the Cloud file to get details for."]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_ugcid(&has_bits); - _impl_.ugcid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCloud_GetFileDetails_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCloud_GetFileDetails_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 ugcid = 1 [(.description) = "ID of the Cloud file to get details for."]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_ugcid(), target); - } - - // optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_appid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCloud_GetFileDetails_Request) - return target; -} - -size_t CCloud_GetFileDetails_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCloud_GetFileDetails_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 ugcid = 1 [(.description) = "ID of the Cloud file to get details for."]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ugcid()); - } - - // optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCloud_GetFileDetails_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCloud_GetFileDetails_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCloud_GetFileDetails_Request::GetClassData() const { return &_class_data_; } - - -void CCloud_GetFileDetails_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCloud_GetFileDetails_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.ugcid_ = from._impl_.ugcid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCloud_GetFileDetails_Request::CopyFrom(const CCloud_GetFileDetails_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCloud_GetFileDetails_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCloud_GetFileDetails_Request::IsInitialized() const { - return true; -} - -void CCloud_GetFileDetails_Request::InternalSwap(CCloud_GetFileDetails_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCloud_GetFileDetails_Request, _impl_.appid_) - + sizeof(CCloud_GetFileDetails_Request::_impl_.appid_) - - PROTOBUF_FIELD_OFFSET(CCloud_GetFileDetails_Request, _impl_.ugcid_)>( - reinterpret_cast(&_impl_.ugcid_), - reinterpret_cast(&other->_impl_.ugcid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCloud_GetFileDetails_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[2]); -} - -// =================================================================== - -class CCloud_UserFile::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_ugcid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_filename(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_file_size(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_url(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_steamid_creator(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } -}; - -CCloud_UserFile::CCloud_UserFile(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCloud_UserFile) -} -CCloud_UserFile::CCloud_UserFile(const CCloud_UserFile& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCloud_UserFile* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.filename_){} - , decltype(_impl_.url_){} - , decltype(_impl_.ugcid_){} - , decltype(_impl_.appid_){} - , decltype(_impl_.file_size_){} - , decltype(_impl_.timestamp_){} - , decltype(_impl_.steamid_creator_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.filename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.filename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_filename()) { - _this->_impl_.filename_.Set(from._internal_filename(), - _this->GetArenaForAllocation()); - } - _impl_.url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_url()) { - _this->_impl_.url_.Set(from._internal_url(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.ugcid_, &from._impl_.ugcid_, - static_cast(reinterpret_cast(&_impl_.steamid_creator_) - - reinterpret_cast(&_impl_.ugcid_)) + sizeof(_impl_.steamid_creator_)); - // @@protoc_insertion_point(copy_constructor:CCloud_UserFile) -} - -inline void CCloud_UserFile::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.filename_){} - , decltype(_impl_.url_){} - , decltype(_impl_.ugcid_){uint64_t{0u}} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.file_size_){0u} - , decltype(_impl_.timestamp_){uint64_t{0u}} - , decltype(_impl_.steamid_creator_){uint64_t{0u}} - }; - _impl_.filename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.filename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCloud_UserFile::~CCloud_UserFile() { - // @@protoc_insertion_point(destructor:CCloud_UserFile) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCloud_UserFile::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.filename_.Destroy(); - _impl_.url_.Destroy(); -} - -void CCloud_UserFile::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCloud_UserFile::Clear() { -// @@protoc_insertion_point(message_clear_start:CCloud_UserFile) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.filename_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.url_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000007cu) { - ::memset(&_impl_.ugcid_, 0, static_cast( - reinterpret_cast(&_impl_.steamid_creator_) - - reinterpret_cast(&_impl_.ugcid_)) + sizeof(_impl_.steamid_creator_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCloud_UserFile::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 ugcid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_ugcid(&has_bits); - _impl_.ugcid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string filename = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_filename(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCloud_UserFile.filename"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint64 timestamp = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_timestamp(&has_bits); - _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 file_size = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_file_size(&has_bits); - _impl_.file_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string url = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_url(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCloud_UserFile.url"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional fixed64 steamid_creator = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 57)) { - _Internal::set_has_steamid_creator(&has_bits); - _impl_.steamid_creator_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCloud_UserFile::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCloud_UserFile) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // optional uint64 ugcid = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ugcid(), target); - } - - // optional string filename = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_filename().data(), static_cast(this->_internal_filename().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCloud_UserFile.filename"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_filename(), target); - } - - // optional uint64 timestamp = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_timestamp(), target); - } - - // optional uint32 file_size = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_file_size(), target); - } - - // optional string url = 6; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_url().data(), static_cast(this->_internal_url().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCloud_UserFile.url"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_url(), target); - } - - // optional fixed64 steamid_creator = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(7, this->_internal_steamid_creator(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCloud_UserFile) - return target; -} - -size_t CCloud_UserFile::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCloud_UserFile) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional string filename = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_filename()); - } - - // optional string url = 6; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_url()); - } - - // optional uint64 ugcid = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ugcid()); - } - - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional uint32 file_size = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_file_size()); - } - - // optional uint64 timestamp = 4; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); - } - - // optional fixed64 steamid_creator = 7; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCloud_UserFile::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCloud_UserFile::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCloud_UserFile::GetClassData() const { return &_class_data_; } - - -void CCloud_UserFile::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCloud_UserFile) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_filename(from._internal_filename()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_url(from._internal_url()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.ugcid_ = from._impl_.ugcid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.file_size_ = from._impl_.file_size_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.timestamp_ = from._impl_.timestamp_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.steamid_creator_ = from._impl_.steamid_creator_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCloud_UserFile::CopyFrom(const CCloud_UserFile& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCloud_UserFile) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCloud_UserFile::IsInitialized() const { - return true; -} - -void CCloud_UserFile::InternalSwap(CCloud_UserFile* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.filename_, lhs_arena, - &other->_impl_.filename_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.url_, lhs_arena, - &other->_impl_.url_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCloud_UserFile, _impl_.steamid_creator_) - + sizeof(CCloud_UserFile::_impl_.steamid_creator_) - - PROTOBUF_FIELD_OFFSET(CCloud_UserFile, _impl_.ugcid_)>( - reinterpret_cast(&_impl_.ugcid_), - reinterpret_cast(&other->_impl_.ugcid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCloud_UserFile::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[3]); -} - -// =================================================================== - -class CCloud_GetFileDetails_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CCloud_UserFile& details(const CCloud_GetFileDetails_Response* msg); - static void set_has_details(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CCloud_UserFile& -CCloud_GetFileDetails_Response::_Internal::details(const CCloud_GetFileDetails_Response* msg) { - return *msg->_impl_.details_; -} -CCloud_GetFileDetails_Response::CCloud_GetFileDetails_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCloud_GetFileDetails_Response) -} -CCloud_GetFileDetails_Response::CCloud_GetFileDetails_Response(const CCloud_GetFileDetails_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCloud_GetFileDetails_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.details_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_details()) { - _this->_impl_.details_ = new ::CCloud_UserFile(*from._impl_.details_); - } - // @@protoc_insertion_point(copy_constructor:CCloud_GetFileDetails_Response) -} - -inline void CCloud_GetFileDetails_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.details_){nullptr} - }; -} - -CCloud_GetFileDetails_Response::~CCloud_GetFileDetails_Response() { - // @@protoc_insertion_point(destructor:CCloud_GetFileDetails_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCloud_GetFileDetails_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.details_; -} - -void CCloud_GetFileDetails_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCloud_GetFileDetails_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CCloud_GetFileDetails_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.details_ != nullptr); - _impl_.details_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCloud_GetFileDetails_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CCloud_UserFile details = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_details(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCloud_GetFileDetails_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCloud_GetFileDetails_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CCloud_UserFile details = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::details(this), - _Internal::details(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCloud_GetFileDetails_Response) - return target; -} - -size_t CCloud_GetFileDetails_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCloud_GetFileDetails_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CCloud_UserFile details = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.details_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCloud_GetFileDetails_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCloud_GetFileDetails_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCloud_GetFileDetails_Response::GetClassData() const { return &_class_data_; } - - -void CCloud_GetFileDetails_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCloud_GetFileDetails_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_details()) { - _this->_internal_mutable_details()->::CCloud_UserFile::MergeFrom( - from._internal_details()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCloud_GetFileDetails_Response::CopyFrom(const CCloud_GetFileDetails_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCloud_GetFileDetails_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCloud_GetFileDetails_Response::IsInitialized() const { - return true; -} - -void CCloud_GetFileDetails_Response::InternalSwap(CCloud_GetFileDetails_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.details_, other->_impl_.details_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCloud_GetFileDetails_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[4]); -} - -// =================================================================== - -class CCloud_EnumerateUserFiles_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_extended_details(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_count(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_start_index(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CCloud_EnumerateUserFiles_Request::CCloud_EnumerateUserFiles_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCloud_EnumerateUserFiles_Request) -} -CCloud_EnumerateUserFiles_Request::CCloud_EnumerateUserFiles_Request(const CCloud_EnumerateUserFiles_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCloud_EnumerateUserFiles_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.appid_){} - , decltype(_impl_.extended_details_){} - , decltype(_impl_.count_){} - , decltype(_impl_.start_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.appid_, &from._impl_.appid_, - static_cast(reinterpret_cast(&_impl_.start_index_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.start_index_)); - // @@protoc_insertion_point(copy_constructor:CCloud_EnumerateUserFiles_Request) -} - -inline void CCloud_EnumerateUserFiles_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.extended_details_){false} - , decltype(_impl_.count_){0u} - , decltype(_impl_.start_index_){0u} - }; -} - -CCloud_EnumerateUserFiles_Request::~CCloud_EnumerateUserFiles_Request() { - // @@protoc_insertion_point(destructor:CCloud_EnumerateUserFiles_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCloud_EnumerateUserFiles_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CCloud_EnumerateUserFiles_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCloud_EnumerateUserFiles_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CCloud_EnumerateUserFiles_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.appid_, 0, static_cast( - reinterpret_cast(&_impl_.start_index_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.start_index_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCloud_EnumerateUserFiles_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1 [(.description) = "App ID to enumerate the files of."]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool extended_details = 2 [(.description) = "(Optional) Get extended details back on the files found. Defaults to only returned the app Id and UGC Id of the files found."]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_extended_details(&has_bits); - _impl_.extended_details_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 count = 3 [(.description) = "(Optional) Maximum number of results to return on this call. Defaults to a maximum of 500 files returned."]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_count(&has_bits); - _impl_.count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 start_index = 4 [(.description) = "(Optional) Starting index to begin enumeration at. Defaults to the beginning of the list."]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_start_index(&has_bits); - _impl_.start_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCloud_EnumerateUserFiles_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCloud_EnumerateUserFiles_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1 [(.description) = "App ID to enumerate the files of."]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // optional bool extended_details = 2 [(.description) = "(Optional) Get extended details back on the files found. Defaults to only returned the app Id and UGC Id of the files found."]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_extended_details(), target); - } - - // optional uint32 count = 3 [(.description) = "(Optional) Maximum number of results to return on this call. Defaults to a maximum of 500 files returned."]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_count(), target); - } - - // optional uint32 start_index = 4 [(.description) = "(Optional) Starting index to begin enumeration at. Defaults to the beginning of the list."]; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_start_index(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCloud_EnumerateUserFiles_Request) - return target; -} - -size_t CCloud_EnumerateUserFiles_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCloud_EnumerateUserFiles_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 appid = 1 [(.description) = "App ID to enumerate the files of."]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional bool extended_details = 2 [(.description) = "(Optional) Get extended details back on the files found. Defaults to only returned the app Id and UGC Id of the files found."]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - // optional uint32 count = 3 [(.description) = "(Optional) Maximum number of results to return on this call. Defaults to a maximum of 500 files returned."]; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_count()); - } - - // optional uint32 start_index = 4 [(.description) = "(Optional) Starting index to begin enumeration at. Defaults to the beginning of the list."]; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_start_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCloud_EnumerateUserFiles_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCloud_EnumerateUserFiles_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCloud_EnumerateUserFiles_Request::GetClassData() const { return &_class_data_; } - - -void CCloud_EnumerateUserFiles_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCloud_EnumerateUserFiles_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.extended_details_ = from._impl_.extended_details_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.count_ = from._impl_.count_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.start_index_ = from._impl_.start_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCloud_EnumerateUserFiles_Request::CopyFrom(const CCloud_EnumerateUserFiles_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCloud_EnumerateUserFiles_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCloud_EnumerateUserFiles_Request::IsInitialized() const { - return true; -} - -void CCloud_EnumerateUserFiles_Request::InternalSwap(CCloud_EnumerateUserFiles_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CCloud_EnumerateUserFiles_Request, _impl_.start_index_) - + sizeof(CCloud_EnumerateUserFiles_Request::_impl_.start_index_) - - PROTOBUF_FIELD_OFFSET(CCloud_EnumerateUserFiles_Request, _impl_.appid_)>( - reinterpret_cast(&_impl_.appid_), - reinterpret_cast(&other->_impl_.appid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCloud_EnumerateUserFiles_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[5]); -} - -// =================================================================== - -class CCloud_EnumerateUserFiles_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_total_files(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CCloud_EnumerateUserFiles_Response::CCloud_EnumerateUserFiles_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCloud_EnumerateUserFiles_Response) -} -CCloud_EnumerateUserFiles_Response::CCloud_EnumerateUserFiles_Response(const CCloud_EnumerateUserFiles_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCloud_EnumerateUserFiles_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.files_){from._impl_.files_} - , decltype(_impl_.total_files_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.total_files_ = from._impl_.total_files_; - // @@protoc_insertion_point(copy_constructor:CCloud_EnumerateUserFiles_Response) -} - -inline void CCloud_EnumerateUserFiles_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.files_){arena} - , decltype(_impl_.total_files_){0u} - }; -} - -CCloud_EnumerateUserFiles_Response::~CCloud_EnumerateUserFiles_Response() { - // @@protoc_insertion_point(destructor:CCloud_EnumerateUserFiles_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCloud_EnumerateUserFiles_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.files_.~RepeatedPtrField(); -} - -void CCloud_EnumerateUserFiles_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCloud_EnumerateUserFiles_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CCloud_EnumerateUserFiles_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.files_.Clear(); - _impl_.total_files_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCloud_EnumerateUserFiles_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CCloud_UserFile files = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_files(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 total_files = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_total_files(&has_bits); - _impl_.total_files_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCloud_EnumerateUserFiles_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCloud_EnumerateUserFiles_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CCloud_UserFile files = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_files_size()); i < n; i++) { - const auto& repfield = this->_internal_files(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 total_files = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_total_files(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCloud_EnumerateUserFiles_Response) - return target; -} - -size_t CCloud_EnumerateUserFiles_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCloud_EnumerateUserFiles_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CCloud_UserFile files = 1; - total_size += 1UL * this->_internal_files_size(); - for (const auto& msg : this->_impl_.files_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional uint32 total_files = 2; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_total_files()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCloud_EnumerateUserFiles_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCloud_EnumerateUserFiles_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCloud_EnumerateUserFiles_Response::GetClassData() const { return &_class_data_; } - - -void CCloud_EnumerateUserFiles_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCloud_EnumerateUserFiles_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.files_.MergeFrom(from._impl_.files_); - if (from._internal_has_total_files()) { - _this->_internal_set_total_files(from._internal_total_files()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCloud_EnumerateUserFiles_Response::CopyFrom(const CCloud_EnumerateUserFiles_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCloud_EnumerateUserFiles_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCloud_EnumerateUserFiles_Response::IsInitialized() const { - return true; -} - -void CCloud_EnumerateUserFiles_Response::InternalSwap(CCloud_EnumerateUserFiles_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.files_.InternalSwap(&other->_impl_.files_); - swap(_impl_.total_files_, other->_impl_.total_files_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCloud_EnumerateUserFiles_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[6]); -} - -// =================================================================== - -class CCloud_Delete_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_filename(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CCloud_Delete_Request::CCloud_Delete_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CCloud_Delete_Request) -} -CCloud_Delete_Request::CCloud_Delete_Request(const CCloud_Delete_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CCloud_Delete_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.filename_){} - , decltype(_impl_.appid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.filename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.filename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_filename()) { - _this->_impl_.filename_.Set(from._internal_filename(), - _this->GetArenaForAllocation()); - } - _this->_impl_.appid_ = from._impl_.appid_; - // @@protoc_insertion_point(copy_constructor:CCloud_Delete_Request) -} - -inline void CCloud_Delete_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.filename_){} - , decltype(_impl_.appid_){0u} - }; - _impl_.filename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.filename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CCloud_Delete_Request::~CCloud_Delete_Request() { - // @@protoc_insertion_point(destructor:CCloud_Delete_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CCloud_Delete_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.filename_.Destroy(); -} - -void CCloud_Delete_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CCloud_Delete_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CCloud_Delete_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.filename_.ClearNonDefaultToEmpty(); - } - _impl_.appid_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CCloud_Delete_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string filename = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_filename(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CCloud_Delete_Request.filename"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CCloud_Delete_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CCloud_Delete_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string filename = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_filename().data(), static_cast(this->_internal_filename().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CCloud_Delete_Request.filename"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_filename(), target); - } - - // optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_appid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CCloud_Delete_Request) - return target; -} - -size_t CCloud_Delete_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CCloud_Delete_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string filename = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_filename()); - } - - // optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCloud_Delete_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CCloud_Delete_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCloud_Delete_Request::GetClassData() const { return &_class_data_; } - - -void CCloud_Delete_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CCloud_Delete_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_filename(from._internal_filename()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CCloud_Delete_Request::CopyFrom(const CCloud_Delete_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CCloud_Delete_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CCloud_Delete_Request::IsInitialized() const { - return true; -} - -void CCloud_Delete_Request::InternalSwap(CCloud_Delete_Request* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.filename_, lhs_arena, - &other->_impl_.filename_, rhs_arena - ); - swap(_impl_.appid_, other->_impl_.appid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CCloud_Delete_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[7]); -} - -// =================================================================== - -class CCloud_Delete_Response::_Internal { - public: -}; - -CCloud_Delete_Response::CCloud_Delete_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CCloud_Delete_Response) -} -CCloud_Delete_Response::CCloud_Delete_Response(const CCloud_Delete_Response& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CCloud_Delete_Response* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CCloud_Delete_Response) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CCloud_Delete_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CCloud_Delete_Response::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CCloud_Delete_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fcloud_2esteamworkssdk_2eproto[8]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CCloud_GetUploadServerInfo_Request* -Arena::CreateMaybeMessage< ::CCloud_GetUploadServerInfo_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCloud_GetUploadServerInfo_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CCloud_GetUploadServerInfo_Response* -Arena::CreateMaybeMessage< ::CCloud_GetUploadServerInfo_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCloud_GetUploadServerInfo_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CCloud_GetFileDetails_Request* -Arena::CreateMaybeMessage< ::CCloud_GetFileDetails_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCloud_GetFileDetails_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CCloud_UserFile* -Arena::CreateMaybeMessage< ::CCloud_UserFile >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCloud_UserFile >(arena); -} -template<> PROTOBUF_NOINLINE ::CCloud_GetFileDetails_Response* -Arena::CreateMaybeMessage< ::CCloud_GetFileDetails_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCloud_GetFileDetails_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CCloud_EnumerateUserFiles_Request* -Arena::CreateMaybeMessage< ::CCloud_EnumerateUserFiles_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCloud_EnumerateUserFiles_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CCloud_EnumerateUserFiles_Response* -Arena::CreateMaybeMessage< ::CCloud_EnumerateUserFiles_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCloud_EnumerateUserFiles_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CCloud_Delete_Request* -Arena::CreateMaybeMessage< ::CCloud_Delete_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCloud_Delete_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CCloud_Delete_Response* -Arena::CreateMaybeMessage< ::CCloud_Delete_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CCloud_Delete_Response >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/steammessages_cloud.steamworkssdk.pb.h b/protobuf/generated/steammessages_cloud.steamworkssdk.pb.h deleted file mode 100644 index 12b7c1f0e..000000000 --- a/protobuf/generated/steammessages_cloud.steamworkssdk.pb.h +++ /dev/null @@ -1,2566 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steammessages_cloud.steamworkssdk.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_steammessages_5fcloud_2esteamworkssdk_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_steammessages_5fcloud_2esteamworkssdk_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "steammessages_unified_base.steamworkssdk.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_steammessages_5fcloud_2esteamworkssdk_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steammessages_5fcloud_2esteamworkssdk_2eproto; -class CCloud_Delete_Request; -struct CCloud_Delete_RequestDefaultTypeInternal; -extern CCloud_Delete_RequestDefaultTypeInternal _CCloud_Delete_Request_default_instance_; -class CCloud_Delete_Response; -struct CCloud_Delete_ResponseDefaultTypeInternal; -extern CCloud_Delete_ResponseDefaultTypeInternal _CCloud_Delete_Response_default_instance_; -class CCloud_EnumerateUserFiles_Request; -struct CCloud_EnumerateUserFiles_RequestDefaultTypeInternal; -extern CCloud_EnumerateUserFiles_RequestDefaultTypeInternal _CCloud_EnumerateUserFiles_Request_default_instance_; -class CCloud_EnumerateUserFiles_Response; -struct CCloud_EnumerateUserFiles_ResponseDefaultTypeInternal; -extern CCloud_EnumerateUserFiles_ResponseDefaultTypeInternal _CCloud_EnumerateUserFiles_Response_default_instance_; -class CCloud_GetFileDetails_Request; -struct CCloud_GetFileDetails_RequestDefaultTypeInternal; -extern CCloud_GetFileDetails_RequestDefaultTypeInternal _CCloud_GetFileDetails_Request_default_instance_; -class CCloud_GetFileDetails_Response; -struct CCloud_GetFileDetails_ResponseDefaultTypeInternal; -extern CCloud_GetFileDetails_ResponseDefaultTypeInternal _CCloud_GetFileDetails_Response_default_instance_; -class CCloud_GetUploadServerInfo_Request; -struct CCloud_GetUploadServerInfo_RequestDefaultTypeInternal; -extern CCloud_GetUploadServerInfo_RequestDefaultTypeInternal _CCloud_GetUploadServerInfo_Request_default_instance_; -class CCloud_GetUploadServerInfo_Response; -struct CCloud_GetUploadServerInfo_ResponseDefaultTypeInternal; -extern CCloud_GetUploadServerInfo_ResponseDefaultTypeInternal _CCloud_GetUploadServerInfo_Response_default_instance_; -class CCloud_UserFile; -struct CCloud_UserFileDefaultTypeInternal; -extern CCloud_UserFileDefaultTypeInternal _CCloud_UserFile_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CCloud_Delete_Request* Arena::CreateMaybeMessage<::CCloud_Delete_Request>(Arena*); -template<> ::CCloud_Delete_Response* Arena::CreateMaybeMessage<::CCloud_Delete_Response>(Arena*); -template<> ::CCloud_EnumerateUserFiles_Request* Arena::CreateMaybeMessage<::CCloud_EnumerateUserFiles_Request>(Arena*); -template<> ::CCloud_EnumerateUserFiles_Response* Arena::CreateMaybeMessage<::CCloud_EnumerateUserFiles_Response>(Arena*); -template<> ::CCloud_GetFileDetails_Request* Arena::CreateMaybeMessage<::CCloud_GetFileDetails_Request>(Arena*); -template<> ::CCloud_GetFileDetails_Response* Arena::CreateMaybeMessage<::CCloud_GetFileDetails_Response>(Arena*); -template<> ::CCloud_GetUploadServerInfo_Request* Arena::CreateMaybeMessage<::CCloud_GetUploadServerInfo_Request>(Arena*); -template<> ::CCloud_GetUploadServerInfo_Response* Arena::CreateMaybeMessage<::CCloud_GetUploadServerInfo_Response>(Arena*); -template<> ::CCloud_UserFile* Arena::CreateMaybeMessage<::CCloud_UserFile>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -// =================================================================== - -class CCloud_GetUploadServerInfo_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCloud_GetUploadServerInfo_Request) */ { - public: - inline CCloud_GetUploadServerInfo_Request() : CCloud_GetUploadServerInfo_Request(nullptr) {} - ~CCloud_GetUploadServerInfo_Request() override; - explicit PROTOBUF_CONSTEXPR CCloud_GetUploadServerInfo_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCloud_GetUploadServerInfo_Request(const CCloud_GetUploadServerInfo_Request& from); - CCloud_GetUploadServerInfo_Request(CCloud_GetUploadServerInfo_Request&& from) noexcept - : CCloud_GetUploadServerInfo_Request() { - *this = ::std::move(from); - } - - inline CCloud_GetUploadServerInfo_Request& operator=(const CCloud_GetUploadServerInfo_Request& from) { - CopyFrom(from); - return *this; - } - inline CCloud_GetUploadServerInfo_Request& operator=(CCloud_GetUploadServerInfo_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCloud_GetUploadServerInfo_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CCloud_GetUploadServerInfo_Request* internal_default_instance() { - return reinterpret_cast( - &_CCloud_GetUploadServerInfo_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CCloud_GetUploadServerInfo_Request& a, CCloud_GetUploadServerInfo_Request& b) { - a.Swap(&b); - } - inline void Swap(CCloud_GetUploadServerInfo_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCloud_GetUploadServerInfo_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCloud_GetUploadServerInfo_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCloud_GetUploadServerInfo_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCloud_GetUploadServerInfo_Request& from) { - CCloud_GetUploadServerInfo_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCloud_GetUploadServerInfo_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCloud_GetUploadServerInfo_Request"; - } - protected: - explicit CCloud_GetUploadServerInfo_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAppidFieldNumber = 1, - }; - // optional uint32 appid = 1 [(.description) = "App ID to which a file will be uploaded to."]; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCloud_GetUploadServerInfo_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t appid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CCloud_GetUploadServerInfo_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCloud_GetUploadServerInfo_Response) */ { - public: - inline CCloud_GetUploadServerInfo_Response() : CCloud_GetUploadServerInfo_Response(nullptr) {} - ~CCloud_GetUploadServerInfo_Response() override; - explicit PROTOBUF_CONSTEXPR CCloud_GetUploadServerInfo_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCloud_GetUploadServerInfo_Response(const CCloud_GetUploadServerInfo_Response& from); - CCloud_GetUploadServerInfo_Response(CCloud_GetUploadServerInfo_Response&& from) noexcept - : CCloud_GetUploadServerInfo_Response() { - *this = ::std::move(from); - } - - inline CCloud_GetUploadServerInfo_Response& operator=(const CCloud_GetUploadServerInfo_Response& from) { - CopyFrom(from); - return *this; - } - inline CCloud_GetUploadServerInfo_Response& operator=(CCloud_GetUploadServerInfo_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCloud_GetUploadServerInfo_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CCloud_GetUploadServerInfo_Response* internal_default_instance() { - return reinterpret_cast( - &_CCloud_GetUploadServerInfo_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CCloud_GetUploadServerInfo_Response& a, CCloud_GetUploadServerInfo_Response& b) { - a.Swap(&b); - } - inline void Swap(CCloud_GetUploadServerInfo_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCloud_GetUploadServerInfo_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCloud_GetUploadServerInfo_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCloud_GetUploadServerInfo_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCloud_GetUploadServerInfo_Response& from) { - CCloud_GetUploadServerInfo_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCloud_GetUploadServerInfo_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCloud_GetUploadServerInfo_Response"; - } - protected: - explicit CCloud_GetUploadServerInfo_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kServerUrlFieldNumber = 1, - }; - // optional string server_url = 1; - bool has_server_url() const; - private: - bool _internal_has_server_url() const; - public: - void clear_server_url(); - const std::string& server_url() const; - template - void set_server_url(ArgT0&& arg0, ArgT... args); - std::string* mutable_server_url(); - PROTOBUF_NODISCARD std::string* release_server_url(); - void set_allocated_server_url(std::string* server_url); - private: - const std::string& _internal_server_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_server_url(const std::string& value); - std::string* _internal_mutable_server_url(); - public: - - // @@protoc_insertion_point(class_scope:CCloud_GetUploadServerInfo_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr server_url_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CCloud_GetFileDetails_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCloud_GetFileDetails_Request) */ { - public: - inline CCloud_GetFileDetails_Request() : CCloud_GetFileDetails_Request(nullptr) {} - ~CCloud_GetFileDetails_Request() override; - explicit PROTOBUF_CONSTEXPR CCloud_GetFileDetails_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCloud_GetFileDetails_Request(const CCloud_GetFileDetails_Request& from); - CCloud_GetFileDetails_Request(CCloud_GetFileDetails_Request&& from) noexcept - : CCloud_GetFileDetails_Request() { - *this = ::std::move(from); - } - - inline CCloud_GetFileDetails_Request& operator=(const CCloud_GetFileDetails_Request& from) { - CopyFrom(from); - return *this; - } - inline CCloud_GetFileDetails_Request& operator=(CCloud_GetFileDetails_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCloud_GetFileDetails_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CCloud_GetFileDetails_Request* internal_default_instance() { - return reinterpret_cast( - &_CCloud_GetFileDetails_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CCloud_GetFileDetails_Request& a, CCloud_GetFileDetails_Request& b) { - a.Swap(&b); - } - inline void Swap(CCloud_GetFileDetails_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCloud_GetFileDetails_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCloud_GetFileDetails_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCloud_GetFileDetails_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCloud_GetFileDetails_Request& from) { - CCloud_GetFileDetails_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCloud_GetFileDetails_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCloud_GetFileDetails_Request"; - } - protected: - explicit CCloud_GetFileDetails_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kUgcidFieldNumber = 1, - kAppidFieldNumber = 2, - }; - // optional uint64 ugcid = 1 [(.description) = "ID of the Cloud file to get details for."]; - bool has_ugcid() const; - private: - bool _internal_has_ugcid() const; - public: - void clear_ugcid(); - uint64_t ugcid() const; - void set_ugcid(uint64_t value); - private: - uint64_t _internal_ugcid() const; - void _internal_set_ugcid(uint64_t value); - public: - - // optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCloud_GetFileDetails_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t ugcid_; - uint32_t appid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CCloud_UserFile : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCloud_UserFile) */ { - public: - inline CCloud_UserFile() : CCloud_UserFile(nullptr) {} - ~CCloud_UserFile() override; - explicit PROTOBUF_CONSTEXPR CCloud_UserFile(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCloud_UserFile(const CCloud_UserFile& from); - CCloud_UserFile(CCloud_UserFile&& from) noexcept - : CCloud_UserFile() { - *this = ::std::move(from); - } - - inline CCloud_UserFile& operator=(const CCloud_UserFile& from) { - CopyFrom(from); - return *this; - } - inline CCloud_UserFile& operator=(CCloud_UserFile&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCloud_UserFile& default_instance() { - return *internal_default_instance(); - } - static inline const CCloud_UserFile* internal_default_instance() { - return reinterpret_cast( - &_CCloud_UserFile_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CCloud_UserFile& a, CCloud_UserFile& b) { - a.Swap(&b); - } - inline void Swap(CCloud_UserFile* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCloud_UserFile* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCloud_UserFile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCloud_UserFile& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCloud_UserFile& from) { - CCloud_UserFile::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCloud_UserFile* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCloud_UserFile"; - } - protected: - explicit CCloud_UserFile(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFilenameFieldNumber = 3, - kUrlFieldNumber = 6, - kUgcidFieldNumber = 2, - kAppidFieldNumber = 1, - kFileSizeFieldNumber = 5, - kTimestampFieldNumber = 4, - kSteamidCreatorFieldNumber = 7, - }; - // optional string filename = 3; - bool has_filename() const; - private: - bool _internal_has_filename() const; - public: - void clear_filename(); - const std::string& filename() const; - template - void set_filename(ArgT0&& arg0, ArgT... args); - std::string* mutable_filename(); - PROTOBUF_NODISCARD std::string* release_filename(); - void set_allocated_filename(std::string* filename); - private: - const std::string& _internal_filename() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_filename(const std::string& value); - std::string* _internal_mutable_filename(); - public: - - // optional string url = 6; - bool has_url() const; - private: - bool _internal_has_url() const; - public: - void clear_url(); - const std::string& url() const; - template - void set_url(ArgT0&& arg0, ArgT... args); - std::string* mutable_url(); - PROTOBUF_NODISCARD std::string* release_url(); - void set_allocated_url(std::string* url); - private: - const std::string& _internal_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value); - std::string* _internal_mutable_url(); - public: - - // optional uint64 ugcid = 2; - bool has_ugcid() const; - private: - bool _internal_has_ugcid() const; - public: - void clear_ugcid(); - uint64_t ugcid() const; - void set_ugcid(uint64_t value); - private: - uint64_t _internal_ugcid() const; - void _internal_set_ugcid(uint64_t value); - public: - - // optional uint32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional uint32 file_size = 5; - bool has_file_size() const; - private: - bool _internal_has_file_size() const; - public: - void clear_file_size(); - uint32_t file_size() const; - void set_file_size(uint32_t value); - private: - uint32_t _internal_file_size() const; - void _internal_set_file_size(uint32_t value); - public: - - // optional uint64 timestamp = 4; - bool has_timestamp() const; - private: - bool _internal_has_timestamp() const; - public: - void clear_timestamp(); - uint64_t timestamp() const; - void set_timestamp(uint64_t value); - private: - uint64_t _internal_timestamp() const; - void _internal_set_timestamp(uint64_t value); - public: - - // optional fixed64 steamid_creator = 7; - bool has_steamid_creator() const; - private: - bool _internal_has_steamid_creator() const; - public: - void clear_steamid_creator(); - uint64_t steamid_creator() const; - void set_steamid_creator(uint64_t value); - private: - uint64_t _internal_steamid_creator() const; - void _internal_set_steamid_creator(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CCloud_UserFile) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; - uint64_t ugcid_; - uint32_t appid_; - uint32_t file_size_; - uint64_t timestamp_; - uint64_t steamid_creator_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CCloud_GetFileDetails_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCloud_GetFileDetails_Response) */ { - public: - inline CCloud_GetFileDetails_Response() : CCloud_GetFileDetails_Response(nullptr) {} - ~CCloud_GetFileDetails_Response() override; - explicit PROTOBUF_CONSTEXPR CCloud_GetFileDetails_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCloud_GetFileDetails_Response(const CCloud_GetFileDetails_Response& from); - CCloud_GetFileDetails_Response(CCloud_GetFileDetails_Response&& from) noexcept - : CCloud_GetFileDetails_Response() { - *this = ::std::move(from); - } - - inline CCloud_GetFileDetails_Response& operator=(const CCloud_GetFileDetails_Response& from) { - CopyFrom(from); - return *this; - } - inline CCloud_GetFileDetails_Response& operator=(CCloud_GetFileDetails_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCloud_GetFileDetails_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CCloud_GetFileDetails_Response* internal_default_instance() { - return reinterpret_cast( - &_CCloud_GetFileDetails_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CCloud_GetFileDetails_Response& a, CCloud_GetFileDetails_Response& b) { - a.Swap(&b); - } - inline void Swap(CCloud_GetFileDetails_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCloud_GetFileDetails_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCloud_GetFileDetails_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCloud_GetFileDetails_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCloud_GetFileDetails_Response& from) { - CCloud_GetFileDetails_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCloud_GetFileDetails_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCloud_GetFileDetails_Response"; - } - protected: - explicit CCloud_GetFileDetails_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDetailsFieldNumber = 1, - }; - // optional .CCloud_UserFile details = 1; - bool has_details() const; - private: - bool _internal_has_details() const; - public: - void clear_details(); - const ::CCloud_UserFile& details() const; - PROTOBUF_NODISCARD ::CCloud_UserFile* release_details(); - ::CCloud_UserFile* mutable_details(); - void set_allocated_details(::CCloud_UserFile* details); - private: - const ::CCloud_UserFile& _internal_details() const; - ::CCloud_UserFile* _internal_mutable_details(); - public: - void unsafe_arena_set_allocated_details( - ::CCloud_UserFile* details); - ::CCloud_UserFile* unsafe_arena_release_details(); - - // @@protoc_insertion_point(class_scope:CCloud_GetFileDetails_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CCloud_UserFile* details_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CCloud_EnumerateUserFiles_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCloud_EnumerateUserFiles_Request) */ { - public: - inline CCloud_EnumerateUserFiles_Request() : CCloud_EnumerateUserFiles_Request(nullptr) {} - ~CCloud_EnumerateUserFiles_Request() override; - explicit PROTOBUF_CONSTEXPR CCloud_EnumerateUserFiles_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCloud_EnumerateUserFiles_Request(const CCloud_EnumerateUserFiles_Request& from); - CCloud_EnumerateUserFiles_Request(CCloud_EnumerateUserFiles_Request&& from) noexcept - : CCloud_EnumerateUserFiles_Request() { - *this = ::std::move(from); - } - - inline CCloud_EnumerateUserFiles_Request& operator=(const CCloud_EnumerateUserFiles_Request& from) { - CopyFrom(from); - return *this; - } - inline CCloud_EnumerateUserFiles_Request& operator=(CCloud_EnumerateUserFiles_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCloud_EnumerateUserFiles_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CCloud_EnumerateUserFiles_Request* internal_default_instance() { - return reinterpret_cast( - &_CCloud_EnumerateUserFiles_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CCloud_EnumerateUserFiles_Request& a, CCloud_EnumerateUserFiles_Request& b) { - a.Swap(&b); - } - inline void Swap(CCloud_EnumerateUserFiles_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCloud_EnumerateUserFiles_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCloud_EnumerateUserFiles_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCloud_EnumerateUserFiles_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCloud_EnumerateUserFiles_Request& from) { - CCloud_EnumerateUserFiles_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCloud_EnumerateUserFiles_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCloud_EnumerateUserFiles_Request"; - } - protected: - explicit CCloud_EnumerateUserFiles_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAppidFieldNumber = 1, - kExtendedDetailsFieldNumber = 2, - kCountFieldNumber = 3, - kStartIndexFieldNumber = 4, - }; - // optional uint32 appid = 1 [(.description) = "App ID to enumerate the files of."]; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional bool extended_details = 2 [(.description) = "(Optional) Get extended details back on the files found. Defaults to only returned the app Id and UGC Id of the files found."]; - bool has_extended_details() const; - private: - bool _internal_has_extended_details() const; - public: - void clear_extended_details(); - bool extended_details() const; - void set_extended_details(bool value); - private: - bool _internal_extended_details() const; - void _internal_set_extended_details(bool value); - public: - - // optional uint32 count = 3 [(.description) = "(Optional) Maximum number of results to return on this call. Defaults to a maximum of 500 files returned."]; - bool has_count() const; - private: - bool _internal_has_count() const; - public: - void clear_count(); - uint32_t count() const; - void set_count(uint32_t value); - private: - uint32_t _internal_count() const; - void _internal_set_count(uint32_t value); - public: - - // optional uint32 start_index = 4 [(.description) = "(Optional) Starting index to begin enumeration at. Defaults to the beginning of the list."]; - bool has_start_index() const; - private: - bool _internal_has_start_index() const; - public: - void clear_start_index(); - uint32_t start_index() const; - void set_start_index(uint32_t value); - private: - uint32_t _internal_start_index() const; - void _internal_set_start_index(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCloud_EnumerateUserFiles_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t appid_; - bool extended_details_; - uint32_t count_; - uint32_t start_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CCloud_EnumerateUserFiles_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCloud_EnumerateUserFiles_Response) */ { - public: - inline CCloud_EnumerateUserFiles_Response() : CCloud_EnumerateUserFiles_Response(nullptr) {} - ~CCloud_EnumerateUserFiles_Response() override; - explicit PROTOBUF_CONSTEXPR CCloud_EnumerateUserFiles_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCloud_EnumerateUserFiles_Response(const CCloud_EnumerateUserFiles_Response& from); - CCloud_EnumerateUserFiles_Response(CCloud_EnumerateUserFiles_Response&& from) noexcept - : CCloud_EnumerateUserFiles_Response() { - *this = ::std::move(from); - } - - inline CCloud_EnumerateUserFiles_Response& operator=(const CCloud_EnumerateUserFiles_Response& from) { - CopyFrom(from); - return *this; - } - inline CCloud_EnumerateUserFiles_Response& operator=(CCloud_EnumerateUserFiles_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCloud_EnumerateUserFiles_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CCloud_EnumerateUserFiles_Response* internal_default_instance() { - return reinterpret_cast( - &_CCloud_EnumerateUserFiles_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CCloud_EnumerateUserFiles_Response& a, CCloud_EnumerateUserFiles_Response& b) { - a.Swap(&b); - } - inline void Swap(CCloud_EnumerateUserFiles_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCloud_EnumerateUserFiles_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCloud_EnumerateUserFiles_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCloud_EnumerateUserFiles_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCloud_EnumerateUserFiles_Response& from) { - CCloud_EnumerateUserFiles_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCloud_EnumerateUserFiles_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCloud_EnumerateUserFiles_Response"; - } - protected: - explicit CCloud_EnumerateUserFiles_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFilesFieldNumber = 1, - kTotalFilesFieldNumber = 2, - }; - // repeated .CCloud_UserFile files = 1; - int files_size() const; - private: - int _internal_files_size() const; - public: - void clear_files(); - ::CCloud_UserFile* mutable_files(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCloud_UserFile >* - mutable_files(); - private: - const ::CCloud_UserFile& _internal_files(int index) const; - ::CCloud_UserFile* _internal_add_files(); - public: - const ::CCloud_UserFile& files(int index) const; - ::CCloud_UserFile* add_files(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCloud_UserFile >& - files() const; - - // optional uint32 total_files = 2; - bool has_total_files() const; - private: - bool _internal_has_total_files() const; - public: - void clear_total_files(); - uint32_t total_files() const; - void set_total_files(uint32_t value); - private: - uint32_t _internal_total_files() const; - void _internal_set_total_files(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCloud_EnumerateUserFiles_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCloud_UserFile > files_; - uint32_t total_files_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CCloud_Delete_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CCloud_Delete_Request) */ { - public: - inline CCloud_Delete_Request() : CCloud_Delete_Request(nullptr) {} - ~CCloud_Delete_Request() override; - explicit PROTOBUF_CONSTEXPR CCloud_Delete_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCloud_Delete_Request(const CCloud_Delete_Request& from); - CCloud_Delete_Request(CCloud_Delete_Request&& from) noexcept - : CCloud_Delete_Request() { - *this = ::std::move(from); - } - - inline CCloud_Delete_Request& operator=(const CCloud_Delete_Request& from) { - CopyFrom(from); - return *this; - } - inline CCloud_Delete_Request& operator=(CCloud_Delete_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCloud_Delete_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CCloud_Delete_Request* internal_default_instance() { - return reinterpret_cast( - &_CCloud_Delete_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(CCloud_Delete_Request& a, CCloud_Delete_Request& b) { - a.Swap(&b); - } - inline void Swap(CCloud_Delete_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCloud_Delete_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCloud_Delete_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CCloud_Delete_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CCloud_Delete_Request& from) { - CCloud_Delete_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CCloud_Delete_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCloud_Delete_Request"; - } - protected: - explicit CCloud_Delete_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFilenameFieldNumber = 1, - kAppidFieldNumber = 2, - }; - // optional string filename = 1; - bool has_filename() const; - private: - bool _internal_has_filename() const; - public: - void clear_filename(); - const std::string& filename() const; - template - void set_filename(ArgT0&& arg0, ArgT... args); - std::string* mutable_filename(); - PROTOBUF_NODISCARD std::string* release_filename(); - void set_allocated_filename(std::string* filename); - private: - const std::string& _internal_filename() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_filename(const std::string& value); - std::string* _internal_mutable_filename(); - public: - - // optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CCloud_Delete_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_; - uint32_t appid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CCloud_Delete_Response : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CCloud_Delete_Response) */ { - public: - inline CCloud_Delete_Response() : CCloud_Delete_Response(nullptr) {} - explicit PROTOBUF_CONSTEXPR CCloud_Delete_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CCloud_Delete_Response(const CCloud_Delete_Response& from); - CCloud_Delete_Response(CCloud_Delete_Response&& from) noexcept - : CCloud_Delete_Response() { - *this = ::std::move(from); - } - - inline CCloud_Delete_Response& operator=(const CCloud_Delete_Response& from) { - CopyFrom(from); - return *this; - } - inline CCloud_Delete_Response& operator=(CCloud_Delete_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CCloud_Delete_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CCloud_Delete_Response* internal_default_instance() { - return reinterpret_cast( - &_CCloud_Delete_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(CCloud_Delete_Response& a, CCloud_Delete_Response& b) { - a.Swap(&b); - } - inline void Swap(CCloud_Delete_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CCloud_Delete_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CCloud_Delete_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CCloud_Delete_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CCloud_Delete_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CCloud_Delete_Response"; - } - protected: - explicit CCloud_Delete_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CCloud_Delete_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_steammessages_5fcloud_2esteamworkssdk_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CCloud_GetUploadServerInfo_Request - -// optional uint32 appid = 1 [(.description) = "App ID to which a file will be uploaded to."]; -inline bool CCloud_GetUploadServerInfo_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCloud_GetUploadServerInfo_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CCloud_GetUploadServerInfo_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CCloud_GetUploadServerInfo_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CCloud_GetUploadServerInfo_Request::appid() const { - // @@protoc_insertion_point(field_get:CCloud_GetUploadServerInfo_Request.appid) - return _internal_appid(); -} -inline void CCloud_GetUploadServerInfo_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.appid_ = value; -} -inline void CCloud_GetUploadServerInfo_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CCloud_GetUploadServerInfo_Request.appid) -} - -// ------------------------------------------------------------------- - -// CCloud_GetUploadServerInfo_Response - -// optional string server_url = 1; -inline bool CCloud_GetUploadServerInfo_Response::_internal_has_server_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCloud_GetUploadServerInfo_Response::has_server_url() const { - return _internal_has_server_url(); -} -inline void CCloud_GetUploadServerInfo_Response::clear_server_url() { - _impl_.server_url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCloud_GetUploadServerInfo_Response::server_url() const { - // @@protoc_insertion_point(field_get:CCloud_GetUploadServerInfo_Response.server_url) - return _internal_server_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCloud_GetUploadServerInfo_Response::set_server_url(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.server_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCloud_GetUploadServerInfo_Response.server_url) -} -inline std::string* CCloud_GetUploadServerInfo_Response::mutable_server_url() { - std::string* _s = _internal_mutable_server_url(); - // @@protoc_insertion_point(field_mutable:CCloud_GetUploadServerInfo_Response.server_url) - return _s; -} -inline const std::string& CCloud_GetUploadServerInfo_Response::_internal_server_url() const { - return _impl_.server_url_.Get(); -} -inline void CCloud_GetUploadServerInfo_Response::_internal_set_server_url(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.server_url_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCloud_GetUploadServerInfo_Response::_internal_mutable_server_url() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.server_url_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCloud_GetUploadServerInfo_Response::release_server_url() { - // @@protoc_insertion_point(field_release:CCloud_GetUploadServerInfo_Response.server_url) - if (!_internal_has_server_url()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.server_url_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.server_url_.IsDefault()) { - _impl_.server_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCloud_GetUploadServerInfo_Response::set_allocated_server_url(std::string* server_url) { - if (server_url != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.server_url_.SetAllocated(server_url, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.server_url_.IsDefault()) { - _impl_.server_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCloud_GetUploadServerInfo_Response.server_url) -} - -// ------------------------------------------------------------------- - -// CCloud_GetFileDetails_Request - -// optional uint64 ugcid = 1 [(.description) = "ID of the Cloud file to get details for."]; -inline bool CCloud_GetFileDetails_Request::_internal_has_ugcid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCloud_GetFileDetails_Request::has_ugcid() const { - return _internal_has_ugcid(); -} -inline void CCloud_GetFileDetails_Request::clear_ugcid() { - _impl_.ugcid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CCloud_GetFileDetails_Request::_internal_ugcid() const { - return _impl_.ugcid_; -} -inline uint64_t CCloud_GetFileDetails_Request::ugcid() const { - // @@protoc_insertion_point(field_get:CCloud_GetFileDetails_Request.ugcid) - return _internal_ugcid(); -} -inline void CCloud_GetFileDetails_Request::_internal_set_ugcid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ugcid_ = value; -} -inline void CCloud_GetFileDetails_Request::set_ugcid(uint64_t value) { - _internal_set_ugcid(value); - // @@protoc_insertion_point(field_set:CCloud_GetFileDetails_Request.ugcid) -} - -// optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; -inline bool CCloud_GetFileDetails_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCloud_GetFileDetails_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CCloud_GetFileDetails_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CCloud_GetFileDetails_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CCloud_GetFileDetails_Request::appid() const { - // @@protoc_insertion_point(field_get:CCloud_GetFileDetails_Request.appid) - return _internal_appid(); -} -inline void CCloud_GetFileDetails_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.appid_ = value; -} -inline void CCloud_GetFileDetails_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CCloud_GetFileDetails_Request.appid) -} - -// ------------------------------------------------------------------- - -// CCloud_UserFile - -// optional uint32 appid = 1; -inline bool CCloud_UserFile::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCloud_UserFile::has_appid() const { - return _internal_has_appid(); -} -inline void CCloud_UserFile::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CCloud_UserFile::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CCloud_UserFile::appid() const { - // @@protoc_insertion_point(field_get:CCloud_UserFile.appid) - return _internal_appid(); -} -inline void CCloud_UserFile::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.appid_ = value; -} -inline void CCloud_UserFile::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CCloud_UserFile.appid) -} - -// optional uint64 ugcid = 2; -inline bool CCloud_UserFile::_internal_has_ugcid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCloud_UserFile::has_ugcid() const { - return _internal_has_ugcid(); -} -inline void CCloud_UserFile::clear_ugcid() { - _impl_.ugcid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CCloud_UserFile::_internal_ugcid() const { - return _impl_.ugcid_; -} -inline uint64_t CCloud_UserFile::ugcid() const { - // @@protoc_insertion_point(field_get:CCloud_UserFile.ugcid) - return _internal_ugcid(); -} -inline void CCloud_UserFile::_internal_set_ugcid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.ugcid_ = value; -} -inline void CCloud_UserFile::set_ugcid(uint64_t value) { - _internal_set_ugcid(value); - // @@protoc_insertion_point(field_set:CCloud_UserFile.ugcid) -} - -// optional string filename = 3; -inline bool CCloud_UserFile::_internal_has_filename() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCloud_UserFile::has_filename() const { - return _internal_has_filename(); -} -inline void CCloud_UserFile::clear_filename() { - _impl_.filename_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCloud_UserFile::filename() const { - // @@protoc_insertion_point(field_get:CCloud_UserFile.filename) - return _internal_filename(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCloud_UserFile::set_filename(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.filename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCloud_UserFile.filename) -} -inline std::string* CCloud_UserFile::mutable_filename() { - std::string* _s = _internal_mutable_filename(); - // @@protoc_insertion_point(field_mutable:CCloud_UserFile.filename) - return _s; -} -inline const std::string& CCloud_UserFile::_internal_filename() const { - return _impl_.filename_.Get(); -} -inline void CCloud_UserFile::_internal_set_filename(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.filename_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCloud_UserFile::_internal_mutable_filename() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.filename_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCloud_UserFile::release_filename() { - // @@protoc_insertion_point(field_release:CCloud_UserFile.filename) - if (!_internal_has_filename()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.filename_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.filename_.IsDefault()) { - _impl_.filename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCloud_UserFile::set_allocated_filename(std::string* filename) { - if (filename != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.filename_.SetAllocated(filename, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.filename_.IsDefault()) { - _impl_.filename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCloud_UserFile.filename) -} - -// optional uint64 timestamp = 4; -inline bool CCloud_UserFile::_internal_has_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CCloud_UserFile::has_timestamp() const { - return _internal_has_timestamp(); -} -inline void CCloud_UserFile::clear_timestamp() { - _impl_.timestamp_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint64_t CCloud_UserFile::_internal_timestamp() const { - return _impl_.timestamp_; -} -inline uint64_t CCloud_UserFile::timestamp() const { - // @@protoc_insertion_point(field_get:CCloud_UserFile.timestamp) - return _internal_timestamp(); -} -inline void CCloud_UserFile::_internal_set_timestamp(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.timestamp_ = value; -} -inline void CCloud_UserFile::set_timestamp(uint64_t value) { - _internal_set_timestamp(value); - // @@protoc_insertion_point(field_set:CCloud_UserFile.timestamp) -} - -// optional uint32 file_size = 5; -inline bool CCloud_UserFile::_internal_has_file_size() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CCloud_UserFile::has_file_size() const { - return _internal_has_file_size(); -} -inline void CCloud_UserFile::clear_file_size() { - _impl_.file_size_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CCloud_UserFile::_internal_file_size() const { - return _impl_.file_size_; -} -inline uint32_t CCloud_UserFile::file_size() const { - // @@protoc_insertion_point(field_get:CCloud_UserFile.file_size) - return _internal_file_size(); -} -inline void CCloud_UserFile::_internal_set_file_size(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.file_size_ = value; -} -inline void CCloud_UserFile::set_file_size(uint32_t value) { - _internal_set_file_size(value); - // @@protoc_insertion_point(field_set:CCloud_UserFile.file_size) -} - -// optional string url = 6; -inline bool CCloud_UserFile::_internal_has_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCloud_UserFile::has_url() const { - return _internal_has_url(); -} -inline void CCloud_UserFile::clear_url() { - _impl_.url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CCloud_UserFile::url() const { - // @@protoc_insertion_point(field_get:CCloud_UserFile.url) - return _internal_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCloud_UserFile::set_url(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCloud_UserFile.url) -} -inline std::string* CCloud_UserFile::mutable_url() { - std::string* _s = _internal_mutable_url(); - // @@protoc_insertion_point(field_mutable:CCloud_UserFile.url) - return _s; -} -inline const std::string& CCloud_UserFile::_internal_url() const { - return _impl_.url_.Get(); -} -inline void CCloud_UserFile::_internal_set_url(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.url_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCloud_UserFile::_internal_mutable_url() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.url_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCloud_UserFile::release_url() { - // @@protoc_insertion_point(field_release:CCloud_UserFile.url) - if (!_internal_has_url()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.url_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.url_.IsDefault()) { - _impl_.url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCloud_UserFile::set_allocated_url(std::string* url) { - if (url != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.url_.SetAllocated(url, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.url_.IsDefault()) { - _impl_.url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCloud_UserFile.url) -} - -// optional fixed64 steamid_creator = 7; -inline bool CCloud_UserFile::_internal_has_steamid_creator() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CCloud_UserFile::has_steamid_creator() const { - return _internal_has_steamid_creator(); -} -inline void CCloud_UserFile::clear_steamid_creator() { - _impl_.steamid_creator_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint64_t CCloud_UserFile::_internal_steamid_creator() const { - return _impl_.steamid_creator_; -} -inline uint64_t CCloud_UserFile::steamid_creator() const { - // @@protoc_insertion_point(field_get:CCloud_UserFile.steamid_creator) - return _internal_steamid_creator(); -} -inline void CCloud_UserFile::_internal_set_steamid_creator(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.steamid_creator_ = value; -} -inline void CCloud_UserFile::set_steamid_creator(uint64_t value) { - _internal_set_steamid_creator(value); - // @@protoc_insertion_point(field_set:CCloud_UserFile.steamid_creator) -} - -// ------------------------------------------------------------------- - -// CCloud_GetFileDetails_Response - -// optional .CCloud_UserFile details = 1; -inline bool CCloud_GetFileDetails_Response::_internal_has_details() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.details_ != nullptr); - return value; -} -inline bool CCloud_GetFileDetails_Response::has_details() const { - return _internal_has_details(); -} -inline void CCloud_GetFileDetails_Response::clear_details() { - if (_impl_.details_ != nullptr) _impl_.details_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CCloud_UserFile& CCloud_GetFileDetails_Response::_internal_details() const { - const ::CCloud_UserFile* p = _impl_.details_; - return p != nullptr ? *p : reinterpret_cast( - ::_CCloud_UserFile_default_instance_); -} -inline const ::CCloud_UserFile& CCloud_GetFileDetails_Response::details() const { - // @@protoc_insertion_point(field_get:CCloud_GetFileDetails_Response.details) - return _internal_details(); -} -inline void CCloud_GetFileDetails_Response::unsafe_arena_set_allocated_details( - ::CCloud_UserFile* details) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.details_); - } - _impl_.details_ = details; - if (details) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CCloud_GetFileDetails_Response.details) -} -inline ::CCloud_UserFile* CCloud_GetFileDetails_Response::release_details() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CCloud_UserFile* temp = _impl_.details_; - _impl_.details_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CCloud_UserFile* CCloud_GetFileDetails_Response::unsafe_arena_release_details() { - // @@protoc_insertion_point(field_release:CCloud_GetFileDetails_Response.details) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CCloud_UserFile* temp = _impl_.details_; - _impl_.details_ = nullptr; - return temp; -} -inline ::CCloud_UserFile* CCloud_GetFileDetails_Response::_internal_mutable_details() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.details_ == nullptr) { - auto* p = CreateMaybeMessage<::CCloud_UserFile>(GetArenaForAllocation()); - _impl_.details_ = p; - } - return _impl_.details_; -} -inline ::CCloud_UserFile* CCloud_GetFileDetails_Response::mutable_details() { - ::CCloud_UserFile* _msg = _internal_mutable_details(); - // @@protoc_insertion_point(field_mutable:CCloud_GetFileDetails_Response.details) - return _msg; -} -inline void CCloud_GetFileDetails_Response::set_allocated_details(::CCloud_UserFile* details) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.details_; - } - if (details) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(details); - if (message_arena != submessage_arena) { - details = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, details, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.details_ = details; - // @@protoc_insertion_point(field_set_allocated:CCloud_GetFileDetails_Response.details) -} - -// ------------------------------------------------------------------- - -// CCloud_EnumerateUserFiles_Request - -// optional uint32 appid = 1 [(.description) = "App ID to enumerate the files of."]; -inline bool CCloud_EnumerateUserFiles_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCloud_EnumerateUserFiles_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CCloud_EnumerateUserFiles_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CCloud_EnumerateUserFiles_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CCloud_EnumerateUserFiles_Request::appid() const { - // @@protoc_insertion_point(field_get:CCloud_EnumerateUserFiles_Request.appid) - return _internal_appid(); -} -inline void CCloud_EnumerateUserFiles_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.appid_ = value; -} -inline void CCloud_EnumerateUserFiles_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CCloud_EnumerateUserFiles_Request.appid) -} - -// optional bool extended_details = 2 [(.description) = "(Optional) Get extended details back on the files found. Defaults to only returned the app Id and UGC Id of the files found."]; -inline bool CCloud_EnumerateUserFiles_Request::_internal_has_extended_details() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCloud_EnumerateUserFiles_Request::has_extended_details() const { - return _internal_has_extended_details(); -} -inline void CCloud_EnumerateUserFiles_Request::clear_extended_details() { - _impl_.extended_details_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CCloud_EnumerateUserFiles_Request::_internal_extended_details() const { - return _impl_.extended_details_; -} -inline bool CCloud_EnumerateUserFiles_Request::extended_details() const { - // @@protoc_insertion_point(field_get:CCloud_EnumerateUserFiles_Request.extended_details) - return _internal_extended_details(); -} -inline void CCloud_EnumerateUserFiles_Request::_internal_set_extended_details(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.extended_details_ = value; -} -inline void CCloud_EnumerateUserFiles_Request::set_extended_details(bool value) { - _internal_set_extended_details(value); - // @@protoc_insertion_point(field_set:CCloud_EnumerateUserFiles_Request.extended_details) -} - -// optional uint32 count = 3 [(.description) = "(Optional) Maximum number of results to return on this call. Defaults to a maximum of 500 files returned."]; -inline bool CCloud_EnumerateUserFiles_Request::_internal_has_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CCloud_EnumerateUserFiles_Request::has_count() const { - return _internal_has_count(); -} -inline void CCloud_EnumerateUserFiles_Request::clear_count() { - _impl_.count_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CCloud_EnumerateUserFiles_Request::_internal_count() const { - return _impl_.count_; -} -inline uint32_t CCloud_EnumerateUserFiles_Request::count() const { - // @@protoc_insertion_point(field_get:CCloud_EnumerateUserFiles_Request.count) - return _internal_count(); -} -inline void CCloud_EnumerateUserFiles_Request::_internal_set_count(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.count_ = value; -} -inline void CCloud_EnumerateUserFiles_Request::set_count(uint32_t value) { - _internal_set_count(value); - // @@protoc_insertion_point(field_set:CCloud_EnumerateUserFiles_Request.count) -} - -// optional uint32 start_index = 4 [(.description) = "(Optional) Starting index to begin enumeration at. Defaults to the beginning of the list."]; -inline bool CCloud_EnumerateUserFiles_Request::_internal_has_start_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CCloud_EnumerateUserFiles_Request::has_start_index() const { - return _internal_has_start_index(); -} -inline void CCloud_EnumerateUserFiles_Request::clear_start_index() { - _impl_.start_index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CCloud_EnumerateUserFiles_Request::_internal_start_index() const { - return _impl_.start_index_; -} -inline uint32_t CCloud_EnumerateUserFiles_Request::start_index() const { - // @@protoc_insertion_point(field_get:CCloud_EnumerateUserFiles_Request.start_index) - return _internal_start_index(); -} -inline void CCloud_EnumerateUserFiles_Request::_internal_set_start_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.start_index_ = value; -} -inline void CCloud_EnumerateUserFiles_Request::set_start_index(uint32_t value) { - _internal_set_start_index(value); - // @@protoc_insertion_point(field_set:CCloud_EnumerateUserFiles_Request.start_index) -} - -// ------------------------------------------------------------------- - -// CCloud_EnumerateUserFiles_Response - -// repeated .CCloud_UserFile files = 1; -inline int CCloud_EnumerateUserFiles_Response::_internal_files_size() const { - return _impl_.files_.size(); -} -inline int CCloud_EnumerateUserFiles_Response::files_size() const { - return _internal_files_size(); -} -inline void CCloud_EnumerateUserFiles_Response::clear_files() { - _impl_.files_.Clear(); -} -inline ::CCloud_UserFile* CCloud_EnumerateUserFiles_Response::mutable_files(int index) { - // @@protoc_insertion_point(field_mutable:CCloud_EnumerateUserFiles_Response.files) - return _impl_.files_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCloud_UserFile >* -CCloud_EnumerateUserFiles_Response::mutable_files() { - // @@protoc_insertion_point(field_mutable_list:CCloud_EnumerateUserFiles_Response.files) - return &_impl_.files_; -} -inline const ::CCloud_UserFile& CCloud_EnumerateUserFiles_Response::_internal_files(int index) const { - return _impl_.files_.Get(index); -} -inline const ::CCloud_UserFile& CCloud_EnumerateUserFiles_Response::files(int index) const { - // @@protoc_insertion_point(field_get:CCloud_EnumerateUserFiles_Response.files) - return _internal_files(index); -} -inline ::CCloud_UserFile* CCloud_EnumerateUserFiles_Response::_internal_add_files() { - return _impl_.files_.Add(); -} -inline ::CCloud_UserFile* CCloud_EnumerateUserFiles_Response::add_files() { - ::CCloud_UserFile* _add = _internal_add_files(); - // @@protoc_insertion_point(field_add:CCloud_EnumerateUserFiles_Response.files) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CCloud_UserFile >& -CCloud_EnumerateUserFiles_Response::files() const { - // @@protoc_insertion_point(field_list:CCloud_EnumerateUserFiles_Response.files) - return _impl_.files_; -} - -// optional uint32 total_files = 2; -inline bool CCloud_EnumerateUserFiles_Response::_internal_has_total_files() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCloud_EnumerateUserFiles_Response::has_total_files() const { - return _internal_has_total_files(); -} -inline void CCloud_EnumerateUserFiles_Response::clear_total_files() { - _impl_.total_files_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CCloud_EnumerateUserFiles_Response::_internal_total_files() const { - return _impl_.total_files_; -} -inline uint32_t CCloud_EnumerateUserFiles_Response::total_files() const { - // @@protoc_insertion_point(field_get:CCloud_EnumerateUserFiles_Response.total_files) - return _internal_total_files(); -} -inline void CCloud_EnumerateUserFiles_Response::_internal_set_total_files(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.total_files_ = value; -} -inline void CCloud_EnumerateUserFiles_Response::set_total_files(uint32_t value) { - _internal_set_total_files(value); - // @@protoc_insertion_point(field_set:CCloud_EnumerateUserFiles_Response.total_files) -} - -// ------------------------------------------------------------------- - -// CCloud_Delete_Request - -// optional string filename = 1; -inline bool CCloud_Delete_Request::_internal_has_filename() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CCloud_Delete_Request::has_filename() const { - return _internal_has_filename(); -} -inline void CCloud_Delete_Request::clear_filename() { - _impl_.filename_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CCloud_Delete_Request::filename() const { - // @@protoc_insertion_point(field_get:CCloud_Delete_Request.filename) - return _internal_filename(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CCloud_Delete_Request::set_filename(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.filename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CCloud_Delete_Request.filename) -} -inline std::string* CCloud_Delete_Request::mutable_filename() { - std::string* _s = _internal_mutable_filename(); - // @@protoc_insertion_point(field_mutable:CCloud_Delete_Request.filename) - return _s; -} -inline const std::string& CCloud_Delete_Request::_internal_filename() const { - return _impl_.filename_.Get(); -} -inline void CCloud_Delete_Request::_internal_set_filename(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.filename_.Set(value, GetArenaForAllocation()); -} -inline std::string* CCloud_Delete_Request::_internal_mutable_filename() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.filename_.Mutable(GetArenaForAllocation()); -} -inline std::string* CCloud_Delete_Request::release_filename() { - // @@protoc_insertion_point(field_release:CCloud_Delete_Request.filename) - if (!_internal_has_filename()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.filename_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.filename_.IsDefault()) { - _impl_.filename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CCloud_Delete_Request::set_allocated_filename(std::string* filename) { - if (filename != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.filename_.SetAllocated(filename, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.filename_.IsDefault()) { - _impl_.filename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CCloud_Delete_Request.filename) -} - -// optional uint32 appid = 2 [(.description) = "App ID the file belongs to."]; -inline bool CCloud_Delete_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CCloud_Delete_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CCloud_Delete_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CCloud_Delete_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CCloud_Delete_Request::appid() const { - // @@protoc_insertion_point(field_get:CCloud_Delete_Request.appid) - return _internal_appid(); -} -inline void CCloud_Delete_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.appid_ = value; -} -inline void CCloud_Delete_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CCloud_Delete_Request.appid) -} - -// ------------------------------------------------------------------- - -// CCloud_Delete_Response - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steammessages_5fcloud_2esteamworkssdk_2eproto diff --git a/protobuf/generated/steammessages_gamenetworkingui.pb.cc b/protobuf/generated/steammessages_gamenetworkingui.pb.cc deleted file mode 100644 index 3354f6d2e..000000000 --- a/protobuf/generated/steammessages_gamenetworkingui.pb.cc +++ /dev/null @@ -1,2694 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steammessages_gamenetworkingui.proto - -#include "steammessages_gamenetworkingui.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CGameNetworkingUI_GlobalState::CGameNetworkingUI_GlobalState( - ::_pbi::ConstantInitialized) {} -struct CGameNetworkingUI_GlobalStateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGameNetworkingUI_GlobalStateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGameNetworkingUI_GlobalStateDefaultTypeInternal() {} - union { - CGameNetworkingUI_GlobalState _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameNetworkingUI_GlobalStateDefaultTypeInternal _CGameNetworkingUI_GlobalState_default_instance_; -PROTOBUF_CONSTEXPR CGameNetworkingUI_ConnectionState::CGameNetworkingUI_ConnectionState( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.connection_key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.identity_local_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.identity_remote_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.close_message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.status_loc_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.sdrpopid_local_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.sdrpopid_remote_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.address_remote_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.p2p_routing_)*/nullptr - , /*decltype(_impl_.e2e_quality_local_)*/nullptr - , /*decltype(_impl_.e2e_quality_remote_)*/nullptr - , /*decltype(_impl_.front_quality_local_)*/nullptr - , /*decltype(_impl_.front_quality_remote_)*/nullptr - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.connection_id_local_)*/0u - , /*decltype(_impl_.connection_state_)*/0u - , /*decltype(_impl_.start_time_)*/0u - , /*decltype(_impl_.close_time_)*/0u - , /*decltype(_impl_.close_reason_)*/0u - , /*decltype(_impl_.transport_kind_)*/0u - , /*decltype(_impl_.ping_interior_)*/0u - , /*decltype(_impl_.ping_remote_front_)*/0u - , /*decltype(_impl_.ping_default_internet_route_)*/0u - , /*decltype(_impl_.e2e_quality_remote_instantaneous_time_)*/uint64_t{0u} - , /*decltype(_impl_.e2e_quality_remote_lifetime_time_)*/uint64_t{0u} - , /*decltype(_impl_.front_quality_remote_instantaneous_time_)*/uint64_t{0u} - , /*decltype(_impl_.front_quality_remote_lifetime_time_)*/uint64_t{0u}} {} -struct CGameNetworkingUI_ConnectionStateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGameNetworkingUI_ConnectionStateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGameNetworkingUI_ConnectionStateDefaultTypeInternal() {} - union { - CGameNetworkingUI_ConnectionState _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameNetworkingUI_ConnectionStateDefaultTypeInternal _CGameNetworkingUI_ConnectionState_default_instance_; -PROTOBUF_CONSTEXPR CGameNetworkingUI_Message::CGameNetworkingUI_Message( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.connection_state_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CGameNetworkingUI_MessageDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGameNetworkingUI_MessageDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGameNetworkingUI_MessageDefaultTypeInternal() {} - union { - CGameNetworkingUI_Message _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameNetworkingUI_MessageDefaultTypeInternal _CGameNetworkingUI_Message_default_instance_; -PROTOBUF_CONSTEXPR CGameNetworkingUI_ConnectionSummary::CGameNetworkingUI_ConnectionSummary( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.sdrpop_local_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.sdrpop_remote_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.transport_kind_)*/0u - , /*decltype(_impl_.ping_ms_)*/0u - , /*decltype(_impl_.packet_loss_)*/0 - , /*decltype(_impl_.ping_default_internet_route_)*/0u - , /*decltype(_impl_.ip_was_shared_)*/false - , /*decltype(_impl_.connection_state_)*/0u} {} -struct CGameNetworkingUI_ConnectionSummaryDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGameNetworkingUI_ConnectionSummaryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGameNetworkingUI_ConnectionSummaryDefaultTypeInternal() {} - union { - CGameNetworkingUI_ConnectionSummary _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameNetworkingUI_ConnectionSummaryDefaultTypeInternal _CGameNetworkingUI_ConnectionSummary_default_instance_; -PROTOBUF_CONSTEXPR CGameNetworkingUI_AppSummary::CGameNetworkingUI_AppSummary( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.main_cxn_)*/nullptr - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.ip_was_shared_with_friend_)*/false - , /*decltype(_impl_.ip_was_shared_with_nonfriend_)*/false - , /*decltype(_impl_.active_connections_)*/0u} {} -struct CGameNetworkingUI_AppSummaryDefaultTypeInternal { - PROTOBUF_CONSTEXPR CGameNetworkingUI_AppSummaryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CGameNetworkingUI_AppSummaryDefaultTypeInternal() {} - union { - CGameNetworkingUI_AppSummary _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CGameNetworkingUI_AppSummaryDefaultTypeInternal _CGameNetworkingUI_AppSummary_default_instance_; -static ::_pb::Metadata file_level_metadata_steammessages_5fgamenetworkingui_2eproto[5]; -static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_steammessages_5fgamenetworkingui_2eproto = nullptr; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steammessages_5fgamenetworkingui_2eproto = nullptr; - -const uint32_t TableStruct_steammessages_5fgamenetworkingui_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_GlobalState, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.connection_key_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.connection_id_local_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.identity_local_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.identity_remote_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.connection_state_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.start_time_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.close_time_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.close_reason_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.close_message_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.status_loc_token_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.transport_kind_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.sdrpopid_local_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.sdrpopid_remote_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.address_remote_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.p2p_routing_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.ping_interior_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.ping_remote_front_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.ping_default_internet_route_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.e2e_quality_local_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.e2e_quality_remote_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.e2e_quality_remote_instantaneous_time_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.e2e_quality_remote_lifetime_time_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.front_quality_local_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.front_quality_remote_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.front_quality_remote_instantaneous_time_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionState, _impl_.front_quality_remote_lifetime_time_), - 0, - 13, - 14, - 1, - 2, - 15, - 16, - 17, - 18, - 3, - 4, - 19, - 5, - 6, - 7, - 8, - 20, - 21, - 22, - 9, - 10, - 23, - 24, - 11, - 12, - 25, - 26, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_Message, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_Message, _impl_.connection_state_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _impl_.transport_kind_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _impl_.connection_state_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _impl_.sdrpop_local_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _impl_.sdrpop_remote_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _impl_.ping_ms_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _impl_.packet_loss_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _impl_.ping_default_internet_route_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_ConnectionSummary, _impl_.ip_was_shared_), - 2, - 7, - 0, - 1, - 3, - 4, - 5, - 6, - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_AppSummary, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_AppSummary, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_AppSummary, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_AppSummary, _impl_.ip_was_shared_with_friend_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_AppSummary, _impl_.ip_was_shared_with_nonfriend_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_AppSummary, _impl_.active_connections_), - PROTOBUF_FIELD_OFFSET(::CGameNetworkingUI_AppSummary, _impl_.main_cxn_), - 1, - 2, - 3, - 4, - 0, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, -1, sizeof(::CGameNetworkingUI_GlobalState)}, - { 6, 39, -1, sizeof(::CGameNetworkingUI_ConnectionState)}, - { 66, -1, -1, sizeof(::CGameNetworkingUI_Message)}, - { 73, 87, -1, sizeof(::CGameNetworkingUI_ConnectionSummary)}, - { 95, 106, -1, sizeof(::CGameNetworkingUI_AppSummary)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CGameNetworkingUI_GlobalState_default_instance_._instance, - &::_CGameNetworkingUI_ConnectionState_default_instance_._instance, - &::_CGameNetworkingUI_Message_default_instance_._instance, - &::_CGameNetworkingUI_ConnectionSummary_default_instance_._instance, - &::_CGameNetworkingUI_AppSummary_default_instance_._instance, -}; - -const char descriptor_table_protodef_steammessages_5fgamenetworkingui_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n$steammessages_gamenetworkingui.proto\032%" - "steamnetworkingsockets_messages.proto\032 s" - "teamdatagram_messages_sdr.proto\"\037\n\035CGame" - "NetworkingUI_GlobalState\"\317\007\n!CGameNetwor" - "kingUI_ConnectionState\022\026\n\016connection_key" - "\030\001 \001(\t\022\r\n\005appid\030\002 \001(\r\022\033\n\023connection_id_l" - "ocal\030\003 \001(\007\022\026\n\016identity_local\030\004 \001(\t\022\027\n\017id" - "entity_remote\030\005 \001(\t\022\030\n\020connection_state\030" - "\n \001(\r\022\022\n\nstart_time\030\014 \001(\r\022\022\n\nclose_time\030" - "\r \001(\r\022\024\n\014close_reason\030\016 \001(\r\022\025\n\rclose_mes" - "sage\030\017 \001(\t\022\030\n\020status_loc_token\030\020 \001(\t\022\026\n\016" - "transport_kind\030\024 \001(\r\022\026\n\016sdrpopid_local\030\025" - " \001(\t\022\027\n\017sdrpopid_remote\030\026 \001(\t\022\026\n\016address" - "_remote\030\027 \001(\t\0228\n\013p2p_routing\030\030 \001(\0132#.CMs" - "gSteamDatagramP2PRoutingSummary\022\025\n\rping_" - "interior\030\031 \001(\r\022\031\n\021ping_remote_front\030\032 \001(" - "\r\022#\n\033ping_default_internet_route\030\033 \001(\r\022>" - "\n\021e2e_quality_local\030\036 \001(\0132#.CMsgSteamDat" - "agramConnectionQuality\022\?\n\022e2e_quality_re" - "mote\030\037 \001(\0132#.CMsgSteamDatagramConnection" - "Quality\022-\n%e2e_quality_remote_instantane" - "ous_time\030 \001(\004\022(\n e2e_quality_remote_lif" - "etime_time\030! \001(\004\022@\n\023front_quality_local\030" - "( \001(\0132#.CMsgSteamDatagramConnectionQuali" - "ty\022A\n\024front_quality_remote\030) \001(\0132#.CMsgS" - "teamDatagramConnectionQuality\022/\n\'front_q" - "uality_remote_instantaneous_time\030* \001(\004\022*" - "\n\"front_quality_remote_lifetime_time\030+ \001" - "(\004\"Y\n\031CGameNetworkingUI_Message\022<\n\020conne" - "ction_state\030\001 \003(\0132\".CGameNetworkingUI_Co" - "nnectionState\"\346\001\n#CGameNetworkingUI_Conn" - "ectionSummary\022\026\n\016transport_kind\030\001 \001(\r\022\030\n" - "\020connection_state\030\010 \001(\r\022\024\n\014sdrpop_local\030" - "\002 \001(\t\022\025\n\rsdrpop_remote\030\003 \001(\t\022\017\n\007ping_ms\030" - "\004 \001(\r\022\023\n\013packet_loss\030\005 \001(\002\022#\n\033ping_defau" - "lt_internet_route\030\006 \001(\r\022\025\n\rip_was_shared" - "\030\007 \001(\010\"\312\001\n\034CGameNetworkingUI_AppSummary\022" - "\r\n\005appid\030\001 \001(\r\022!\n\031ip_was_shared_with_fri" - "end\030\n \001(\010\022$\n\034ip_was_shared_with_nonfrien" - "d\030\013 \001(\010\022\032\n\022active_connections\030\024 \001(\r\0226\n\010m" - "ain_cxn\030\036 \001(\0132$.CGameNetworkingUI_Connec" - "tionSummaryB\005H\001\200\001\001" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_steammessages_5fgamenetworkingui_2eproto_deps[2] = { - &::descriptor_table_steamdatagram_5fmessages_5fsdr_2eproto, - &::descriptor_table_steamnetworkingsockets_5fmessages_2eproto, -}; -static ::_pbi::once_flag descriptor_table_steammessages_5fgamenetworkingui_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_steammessages_5fgamenetworkingui_2eproto = { - false, false, 1658, descriptor_table_protodef_steammessages_5fgamenetworkingui_2eproto, - "steammessages_gamenetworkingui.proto", - &descriptor_table_steammessages_5fgamenetworkingui_2eproto_once, descriptor_table_steammessages_5fgamenetworkingui_2eproto_deps, 2, 5, - schemas, file_default_instances, TableStruct_steammessages_5fgamenetworkingui_2eproto::offsets, - file_level_metadata_steammessages_5fgamenetworkingui_2eproto, file_level_enum_descriptors_steammessages_5fgamenetworkingui_2eproto, - file_level_service_descriptors_steammessages_5fgamenetworkingui_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steammessages_5fgamenetworkingui_2eproto_getter() { - return &descriptor_table_steammessages_5fgamenetworkingui_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steammessages_5fgamenetworkingui_2eproto(&descriptor_table_steammessages_5fgamenetworkingui_2eproto); - -// =================================================================== - -class CGameNetworkingUI_GlobalState::_Internal { - public: -}; - -CGameNetworkingUI_GlobalState::CGameNetworkingUI_GlobalState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CGameNetworkingUI_GlobalState) -} -CGameNetworkingUI_GlobalState::CGameNetworkingUI_GlobalState(const CGameNetworkingUI_GlobalState& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CGameNetworkingUI_GlobalState* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CGameNetworkingUI_GlobalState) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameNetworkingUI_GlobalState::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameNetworkingUI_GlobalState::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CGameNetworkingUI_GlobalState::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fgamenetworkingui_2eproto_getter, &descriptor_table_steammessages_5fgamenetworkingui_2eproto_once, - file_level_metadata_steammessages_5fgamenetworkingui_2eproto[0]); -} - -// =================================================================== - -class CGameNetworkingUI_ConnectionState::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_connection_key(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_connection_id_local(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_identity_local(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_identity_remote(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_connection_state(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_start_time(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_close_time(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } - static void set_has_close_reason(HasBits* has_bits) { - (*has_bits)[0] |= 262144u; - } - static void set_has_close_message(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_status_loc_token(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_transport_kind(HasBits* has_bits) { - (*has_bits)[0] |= 524288u; - } - static void set_has_sdrpopid_local(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_sdrpopid_remote(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_address_remote(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static const ::CMsgSteamDatagramP2PRoutingSummary& p2p_routing(const CGameNetworkingUI_ConnectionState* msg); - static void set_has_p2p_routing(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_ping_interior(HasBits* has_bits) { - (*has_bits)[0] |= 1048576u; - } - static void set_has_ping_remote_front(HasBits* has_bits) { - (*has_bits)[0] |= 2097152u; - } - static void set_has_ping_default_internet_route(HasBits* has_bits) { - (*has_bits)[0] |= 4194304u; - } - static const ::CMsgSteamDatagramConnectionQuality& e2e_quality_local(const CGameNetworkingUI_ConnectionState* msg); - static void set_has_e2e_quality_local(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static const ::CMsgSteamDatagramConnectionQuality& e2e_quality_remote(const CGameNetworkingUI_ConnectionState* msg); - static void set_has_e2e_quality_remote(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_e2e_quality_remote_instantaneous_time(HasBits* has_bits) { - (*has_bits)[0] |= 8388608u; - } - static void set_has_e2e_quality_remote_lifetime_time(HasBits* has_bits) { - (*has_bits)[0] |= 16777216u; - } - static const ::CMsgSteamDatagramConnectionQuality& front_quality_local(const CGameNetworkingUI_ConnectionState* msg); - static void set_has_front_quality_local(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static const ::CMsgSteamDatagramConnectionQuality& front_quality_remote(const CGameNetworkingUI_ConnectionState* msg); - static void set_has_front_quality_remote(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_front_quality_remote_instantaneous_time(HasBits* has_bits) { - (*has_bits)[0] |= 33554432u; - } - static void set_has_front_quality_remote_lifetime_time(HasBits* has_bits) { - (*has_bits)[0] |= 67108864u; - } -}; - -const ::CMsgSteamDatagramP2PRoutingSummary& -CGameNetworkingUI_ConnectionState::_Internal::p2p_routing(const CGameNetworkingUI_ConnectionState* msg) { - return *msg->_impl_.p2p_routing_; -} -const ::CMsgSteamDatagramConnectionQuality& -CGameNetworkingUI_ConnectionState::_Internal::e2e_quality_local(const CGameNetworkingUI_ConnectionState* msg) { - return *msg->_impl_.e2e_quality_local_; -} -const ::CMsgSteamDatagramConnectionQuality& -CGameNetworkingUI_ConnectionState::_Internal::e2e_quality_remote(const CGameNetworkingUI_ConnectionState* msg) { - return *msg->_impl_.e2e_quality_remote_; -} -const ::CMsgSteamDatagramConnectionQuality& -CGameNetworkingUI_ConnectionState::_Internal::front_quality_local(const CGameNetworkingUI_ConnectionState* msg) { - return *msg->_impl_.front_quality_local_; -} -const ::CMsgSteamDatagramConnectionQuality& -CGameNetworkingUI_ConnectionState::_Internal::front_quality_remote(const CGameNetworkingUI_ConnectionState* msg) { - return *msg->_impl_.front_quality_remote_; -} -void CGameNetworkingUI_ConnectionState::clear_p2p_routing() { - if (_impl_.p2p_routing_ != nullptr) _impl_.p2p_routing_->Clear(); - _impl_._has_bits_[0] &= ~0x00000100u; -} -void CGameNetworkingUI_ConnectionState::clear_e2e_quality_local() { - if (_impl_.e2e_quality_local_ != nullptr) _impl_.e2e_quality_local_->Clear(); - _impl_._has_bits_[0] &= ~0x00000200u; -} -void CGameNetworkingUI_ConnectionState::clear_e2e_quality_remote() { - if (_impl_.e2e_quality_remote_ != nullptr) _impl_.e2e_quality_remote_->Clear(); - _impl_._has_bits_[0] &= ~0x00000400u; -} -void CGameNetworkingUI_ConnectionState::clear_front_quality_local() { - if (_impl_.front_quality_local_ != nullptr) _impl_.front_quality_local_->Clear(); - _impl_._has_bits_[0] &= ~0x00000800u; -} -void CGameNetworkingUI_ConnectionState::clear_front_quality_remote() { - if (_impl_.front_quality_remote_ != nullptr) _impl_.front_quality_remote_->Clear(); - _impl_._has_bits_[0] &= ~0x00001000u; -} -CGameNetworkingUI_ConnectionState::CGameNetworkingUI_ConnectionState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CGameNetworkingUI_ConnectionState) -} -CGameNetworkingUI_ConnectionState::CGameNetworkingUI_ConnectionState(const CGameNetworkingUI_ConnectionState& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CGameNetworkingUI_ConnectionState* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.connection_key_){} - , decltype(_impl_.identity_local_){} - , decltype(_impl_.identity_remote_){} - , decltype(_impl_.close_message_){} - , decltype(_impl_.status_loc_token_){} - , decltype(_impl_.sdrpopid_local_){} - , decltype(_impl_.sdrpopid_remote_){} - , decltype(_impl_.address_remote_){} - , decltype(_impl_.p2p_routing_){nullptr} - , decltype(_impl_.e2e_quality_local_){nullptr} - , decltype(_impl_.e2e_quality_remote_){nullptr} - , decltype(_impl_.front_quality_local_){nullptr} - , decltype(_impl_.front_quality_remote_){nullptr} - , decltype(_impl_.appid_){} - , decltype(_impl_.connection_id_local_){} - , decltype(_impl_.connection_state_){} - , decltype(_impl_.start_time_){} - , decltype(_impl_.close_time_){} - , decltype(_impl_.close_reason_){} - , decltype(_impl_.transport_kind_){} - , decltype(_impl_.ping_interior_){} - , decltype(_impl_.ping_remote_front_){} - , decltype(_impl_.ping_default_internet_route_){} - , decltype(_impl_.e2e_quality_remote_instantaneous_time_){} - , decltype(_impl_.e2e_quality_remote_lifetime_time_){} - , decltype(_impl_.front_quality_remote_instantaneous_time_){} - , decltype(_impl_.front_quality_remote_lifetime_time_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.connection_key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.connection_key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_connection_key()) { - _this->_impl_.connection_key_.Set(from._internal_connection_key(), - _this->GetArenaForAllocation()); - } - _impl_.identity_local_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.identity_local_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_identity_local()) { - _this->_impl_.identity_local_.Set(from._internal_identity_local(), - _this->GetArenaForAllocation()); - } - _impl_.identity_remote_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.identity_remote_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_identity_remote()) { - _this->_impl_.identity_remote_.Set(from._internal_identity_remote(), - _this->GetArenaForAllocation()); - } - _impl_.close_message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.close_message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_close_message()) { - _this->_impl_.close_message_.Set(from._internal_close_message(), - _this->GetArenaForAllocation()); - } - _impl_.status_loc_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.status_loc_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_status_loc_token()) { - _this->_impl_.status_loc_token_.Set(from._internal_status_loc_token(), - _this->GetArenaForAllocation()); - } - _impl_.sdrpopid_local_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sdrpopid_local_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_sdrpopid_local()) { - _this->_impl_.sdrpopid_local_.Set(from._internal_sdrpopid_local(), - _this->GetArenaForAllocation()); - } - _impl_.sdrpopid_remote_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sdrpopid_remote_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_sdrpopid_remote()) { - _this->_impl_.sdrpopid_remote_.Set(from._internal_sdrpopid_remote(), - _this->GetArenaForAllocation()); - } - _impl_.address_remote_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.address_remote_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_address_remote()) { - _this->_impl_.address_remote_.Set(from._internal_address_remote(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_p2p_routing()) { - _this->_impl_.p2p_routing_ = new ::CMsgSteamDatagramP2PRoutingSummary(*from._impl_.p2p_routing_); - } - if (from._internal_has_e2e_quality_local()) { - _this->_impl_.e2e_quality_local_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.e2e_quality_local_); - } - if (from._internal_has_e2e_quality_remote()) { - _this->_impl_.e2e_quality_remote_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.e2e_quality_remote_); - } - if (from._internal_has_front_quality_local()) { - _this->_impl_.front_quality_local_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.front_quality_local_); - } - if (from._internal_has_front_quality_remote()) { - _this->_impl_.front_quality_remote_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.front_quality_remote_); - } - ::memcpy(&_impl_.appid_, &from._impl_.appid_, - static_cast(reinterpret_cast(&_impl_.front_quality_remote_lifetime_time_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.front_quality_remote_lifetime_time_)); - // @@protoc_insertion_point(copy_constructor:CGameNetworkingUI_ConnectionState) -} - -inline void CGameNetworkingUI_ConnectionState::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.connection_key_){} - , decltype(_impl_.identity_local_){} - , decltype(_impl_.identity_remote_){} - , decltype(_impl_.close_message_){} - , decltype(_impl_.status_loc_token_){} - , decltype(_impl_.sdrpopid_local_){} - , decltype(_impl_.sdrpopid_remote_){} - , decltype(_impl_.address_remote_){} - , decltype(_impl_.p2p_routing_){nullptr} - , decltype(_impl_.e2e_quality_local_){nullptr} - , decltype(_impl_.e2e_quality_remote_){nullptr} - , decltype(_impl_.front_quality_local_){nullptr} - , decltype(_impl_.front_quality_remote_){nullptr} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.connection_id_local_){0u} - , decltype(_impl_.connection_state_){0u} - , decltype(_impl_.start_time_){0u} - , decltype(_impl_.close_time_){0u} - , decltype(_impl_.close_reason_){0u} - , decltype(_impl_.transport_kind_){0u} - , decltype(_impl_.ping_interior_){0u} - , decltype(_impl_.ping_remote_front_){0u} - , decltype(_impl_.ping_default_internet_route_){0u} - , decltype(_impl_.e2e_quality_remote_instantaneous_time_){uint64_t{0u}} - , decltype(_impl_.e2e_quality_remote_lifetime_time_){uint64_t{0u}} - , decltype(_impl_.front_quality_remote_instantaneous_time_){uint64_t{0u}} - , decltype(_impl_.front_quality_remote_lifetime_time_){uint64_t{0u}} - }; - _impl_.connection_key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.connection_key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.identity_local_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.identity_local_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.identity_remote_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.identity_remote_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.close_message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.close_message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.status_loc_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.status_loc_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sdrpopid_local_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sdrpopid_local_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sdrpopid_remote_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sdrpopid_remote_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.address_remote_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.address_remote_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CGameNetworkingUI_ConnectionState::~CGameNetworkingUI_ConnectionState() { - // @@protoc_insertion_point(destructor:CGameNetworkingUI_ConnectionState) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CGameNetworkingUI_ConnectionState::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.connection_key_.Destroy(); - _impl_.identity_local_.Destroy(); - _impl_.identity_remote_.Destroy(); - _impl_.close_message_.Destroy(); - _impl_.status_loc_token_.Destroy(); - _impl_.sdrpopid_local_.Destroy(); - _impl_.sdrpopid_remote_.Destroy(); - _impl_.address_remote_.Destroy(); - if (this != internal_default_instance()) delete _impl_.p2p_routing_; - if (this != internal_default_instance()) delete _impl_.e2e_quality_local_; - if (this != internal_default_instance()) delete _impl_.e2e_quality_remote_; - if (this != internal_default_instance()) delete _impl_.front_quality_local_; - if (this != internal_default_instance()) delete _impl_.front_quality_remote_; -} - -void CGameNetworkingUI_ConnectionState::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CGameNetworkingUI_ConnectionState::Clear() { -// @@protoc_insertion_point(message_clear_start:CGameNetworkingUI_ConnectionState) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _impl_.connection_key_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.identity_local_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.identity_remote_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.close_message_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000010u) { - _impl_.status_loc_token_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000020u) { - _impl_.sdrpopid_local_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000040u) { - _impl_.sdrpopid_remote_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000080u) { - _impl_.address_remote_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x00001f00u) { - if (cached_has_bits & 0x00000100u) { - GOOGLE_DCHECK(_impl_.p2p_routing_ != nullptr); - _impl_.p2p_routing_->Clear(); - } - if (cached_has_bits & 0x00000200u) { - GOOGLE_DCHECK(_impl_.e2e_quality_local_ != nullptr); - _impl_.e2e_quality_local_->Clear(); - } - if (cached_has_bits & 0x00000400u) { - GOOGLE_DCHECK(_impl_.e2e_quality_remote_ != nullptr); - _impl_.e2e_quality_remote_->Clear(); - } - if (cached_has_bits & 0x00000800u) { - GOOGLE_DCHECK(_impl_.front_quality_local_ != nullptr); - _impl_.front_quality_local_->Clear(); - } - if (cached_has_bits & 0x00001000u) { - GOOGLE_DCHECK(_impl_.front_quality_remote_ != nullptr); - _impl_.front_quality_remote_->Clear(); - } - } - if (cached_has_bits & 0x0000e000u) { - ::memset(&_impl_.appid_, 0, static_cast( - reinterpret_cast(&_impl_.connection_state_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.connection_state_)); - } - if (cached_has_bits & 0x00ff0000u) { - ::memset(&_impl_.start_time_, 0, static_cast( - reinterpret_cast(&_impl_.e2e_quality_remote_instantaneous_time_) - - reinterpret_cast(&_impl_.start_time_)) + sizeof(_impl_.e2e_quality_remote_instantaneous_time_)); - } - if (cached_has_bits & 0x07000000u) { - ::memset(&_impl_.e2e_quality_remote_lifetime_time_, 0, static_cast( - reinterpret_cast(&_impl_.front_quality_remote_lifetime_time_) - - reinterpret_cast(&_impl_.e2e_quality_remote_lifetime_time_)) + sizeof(_impl_.front_quality_remote_lifetime_time_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CGameNetworkingUI_ConnectionState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string connection_key = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_connection_key(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionState.connection_key"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 appid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 connection_id_local = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_connection_id_local(&has_bits); - _impl_.connection_id_local_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional string identity_local = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_identity_local(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionState.identity_local"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string identity_remote = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_identity_remote(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionState.identity_remote"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 connection_state = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_connection_state(&has_bits); - _impl_.connection_state_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 start_time = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_start_time(&has_bits); - _impl_.start_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 close_time = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_close_time(&has_bits); - _impl_.close_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 close_reason = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_close_reason(&has_bits); - _impl_.close_reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string close_message = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - auto str = _internal_mutable_close_message(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionState.close_message"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string status_loc_token = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { - auto str = _internal_mutable_status_loc_token(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionState.status_loc_token"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 transport_kind = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { - _Internal::set_has_transport_kind(&has_bits); - _impl_.transport_kind_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string sdrpopid_local = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 170)) { - auto str = _internal_mutable_sdrpopid_local(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionState.sdrpopid_local"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string sdrpopid_remote = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 178)) { - auto str = _internal_mutable_sdrpopid_remote(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionState.sdrpopid_remote"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string address_remote = 23; - case 23: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 186)) { - auto str = _internal_mutable_address_remote(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionState.address_remote"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing = 24; - case 24: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 194)) { - ptr = ctx->ParseMessage(_internal_mutable_p2p_routing(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ping_interior = 25; - case 25: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 200)) { - _Internal::set_has_ping_interior(&has_bits); - _impl_.ping_interior_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ping_remote_front = 26; - case 26: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 208)) { - _Internal::set_has_ping_remote_front(&has_bits); - _impl_.ping_remote_front_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ping_default_internet_route = 27; - case 27: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 216)) { - _Internal::set_has_ping_default_internet_route(&has_bits); - _impl_.ping_default_internet_route_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramConnectionQuality e2e_quality_local = 30; - case 30: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 242)) { - ptr = ctx->ParseMessage(_internal_mutable_e2e_quality_local(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramConnectionQuality e2e_quality_remote = 31; - case 31: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 250)) { - ptr = ctx->ParseMessage(_internal_mutable_e2e_quality_remote(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 e2e_quality_remote_instantaneous_time = 32; - case 32: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { - _Internal::set_has_e2e_quality_remote_instantaneous_time(&has_bits); - _impl_.e2e_quality_remote_instantaneous_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 e2e_quality_remote_lifetime_time = 33; - case 33: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_e2e_quality_remote_lifetime_time(&has_bits); - _impl_.e2e_quality_remote_lifetime_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramConnectionQuality front_quality_local = 40; - case 40: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_front_quality_local(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramConnectionQuality front_quality_remote = 41; - case 41: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr = ctx->ParseMessage(_internal_mutable_front_quality_remote(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 front_quality_remote_instantaneous_time = 42; - case 42: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_front_quality_remote_instantaneous_time(&has_bits); - _impl_.front_quality_remote_instantaneous_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 front_quality_remote_lifetime_time = 43; - case 43: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_front_quality_remote_lifetime_time(&has_bits); - _impl_.front_quality_remote_lifetime_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CGameNetworkingUI_ConnectionState::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CGameNetworkingUI_ConnectionState) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string connection_key = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_connection_key().data(), static_cast(this->_internal_connection_key().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CGameNetworkingUI_ConnectionState.connection_key"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_connection_key(), target); - } - - // optional uint32 appid = 2; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_appid(), target); - } - - // optional fixed32 connection_id_local = 3; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_connection_id_local(), target); - } - - // optional string identity_local = 4; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_identity_local().data(), static_cast(this->_internal_identity_local().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CGameNetworkingUI_ConnectionState.identity_local"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_identity_local(), target); - } - - // optional string identity_remote = 5; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_identity_remote().data(), static_cast(this->_internal_identity_remote().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CGameNetworkingUI_ConnectionState.identity_remote"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_identity_remote(), target); - } - - // optional uint32 connection_state = 10; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_connection_state(), target); - } - - // optional uint32 start_time = 12; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_start_time(), target); - } - - // optional uint32 close_time = 13; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_close_time(), target); - } - - // optional uint32 close_reason = 14; - if (cached_has_bits & 0x00040000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_close_reason(), target); - } - - // optional string close_message = 15; - if (cached_has_bits & 0x00000008u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_close_message().data(), static_cast(this->_internal_close_message().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CGameNetworkingUI_ConnectionState.close_message"); - target = stream->WriteStringMaybeAliased( - 15, this->_internal_close_message(), target); - } - - // optional string status_loc_token = 16; - if (cached_has_bits & 0x00000010u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_status_loc_token().data(), static_cast(this->_internal_status_loc_token().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CGameNetworkingUI_ConnectionState.status_loc_token"); - target = stream->WriteStringMaybeAliased( - 16, this->_internal_status_loc_token(), target); - } - - // optional uint32 transport_kind = 20; - if (cached_has_bits & 0x00080000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_transport_kind(), target); - } - - // optional string sdrpopid_local = 21; - if (cached_has_bits & 0x00000020u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_sdrpopid_local().data(), static_cast(this->_internal_sdrpopid_local().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CGameNetworkingUI_ConnectionState.sdrpopid_local"); - target = stream->WriteStringMaybeAliased( - 21, this->_internal_sdrpopid_local(), target); - } - - // optional string sdrpopid_remote = 22; - if (cached_has_bits & 0x00000040u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_sdrpopid_remote().data(), static_cast(this->_internal_sdrpopid_remote().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CGameNetworkingUI_ConnectionState.sdrpopid_remote"); - target = stream->WriteStringMaybeAliased( - 22, this->_internal_sdrpopid_remote(), target); - } - - // optional string address_remote = 23; - if (cached_has_bits & 0x00000080u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_address_remote().data(), static_cast(this->_internal_address_remote().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CGameNetworkingUI_ConnectionState.address_remote"); - target = stream->WriteStringMaybeAliased( - 23, this->_internal_address_remote(), target); - } - - // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing = 24; - if (cached_has_bits & 0x00000100u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(24, _Internal::p2p_routing(this), - _Internal::p2p_routing(this).GetCachedSize(), target, stream); - } - - // optional uint32 ping_interior = 25; - if (cached_has_bits & 0x00100000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(25, this->_internal_ping_interior(), target); - } - - // optional uint32 ping_remote_front = 26; - if (cached_has_bits & 0x00200000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(26, this->_internal_ping_remote_front(), target); - } - - // optional uint32 ping_default_internet_route = 27; - if (cached_has_bits & 0x00400000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(27, this->_internal_ping_default_internet_route(), target); - } - - // optional .CMsgSteamDatagramConnectionQuality e2e_quality_local = 30; - if (cached_has_bits & 0x00000200u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(30, _Internal::e2e_quality_local(this), - _Internal::e2e_quality_local(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramConnectionQuality e2e_quality_remote = 31; - if (cached_has_bits & 0x00000400u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(31, _Internal::e2e_quality_remote(this), - _Internal::e2e_quality_remote(this).GetCachedSize(), target, stream); - } - - // optional uint64 e2e_quality_remote_instantaneous_time = 32; - if (cached_has_bits & 0x00800000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(32, this->_internal_e2e_quality_remote_instantaneous_time(), target); - } - - // optional uint64 e2e_quality_remote_lifetime_time = 33; - if (cached_has_bits & 0x01000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(33, this->_internal_e2e_quality_remote_lifetime_time(), target); - } - - // optional .CMsgSteamDatagramConnectionQuality front_quality_local = 40; - if (cached_has_bits & 0x00000800u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(40, _Internal::front_quality_local(this), - _Internal::front_quality_local(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramConnectionQuality front_quality_remote = 41; - if (cached_has_bits & 0x00001000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(41, _Internal::front_quality_remote(this), - _Internal::front_quality_remote(this).GetCachedSize(), target, stream); - } - - // optional uint64 front_quality_remote_instantaneous_time = 42; - if (cached_has_bits & 0x02000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(42, this->_internal_front_quality_remote_instantaneous_time(), target); - } - - // optional uint64 front_quality_remote_lifetime_time = 43; - if (cached_has_bits & 0x04000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(43, this->_internal_front_quality_remote_lifetime_time(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CGameNetworkingUI_ConnectionState) - return target; -} - -size_t CGameNetworkingUI_ConnectionState::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CGameNetworkingUI_ConnectionState) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string connection_key = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_connection_key()); - } - - // optional string identity_local = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_identity_local()); - } - - // optional string identity_remote = 5; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_identity_remote()); - } - - // optional string close_message = 15; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_close_message()); - } - - // optional string status_loc_token = 16; - if (cached_has_bits & 0x00000010u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_status_loc_token()); - } - - // optional string sdrpopid_local = 21; - if (cached_has_bits & 0x00000020u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_sdrpopid_local()); - } - - // optional string sdrpopid_remote = 22; - if (cached_has_bits & 0x00000040u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_sdrpopid_remote()); - } - - // optional string address_remote = 23; - if (cached_has_bits & 0x00000080u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_address_remote()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing = 24; - if (cached_has_bits & 0x00000100u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.p2p_routing_); - } - - // optional .CMsgSteamDatagramConnectionQuality e2e_quality_local = 30; - if (cached_has_bits & 0x00000200u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.e2e_quality_local_); - } - - // optional .CMsgSteamDatagramConnectionQuality e2e_quality_remote = 31; - if (cached_has_bits & 0x00000400u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.e2e_quality_remote_); - } - - // optional .CMsgSteamDatagramConnectionQuality front_quality_local = 40; - if (cached_has_bits & 0x00000800u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.front_quality_local_); - } - - // optional .CMsgSteamDatagramConnectionQuality front_quality_remote = 41; - if (cached_has_bits & 0x00001000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.front_quality_remote_); - } - - // optional uint32 appid = 2; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional fixed32 connection_id_local = 3; - if (cached_has_bits & 0x00004000u) { - total_size += 1 + 4; - } - - // optional uint32 connection_state = 10; - if (cached_has_bits & 0x00008000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_connection_state()); - } - - } - if (cached_has_bits & 0x00ff0000u) { - // optional uint32 start_time = 12; - if (cached_has_bits & 0x00010000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_start_time()); - } - - // optional uint32 close_time = 13; - if (cached_has_bits & 0x00020000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_close_time()); - } - - // optional uint32 close_reason = 14; - if (cached_has_bits & 0x00040000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_close_reason()); - } - - // optional uint32 transport_kind = 20; - if (cached_has_bits & 0x00080000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_transport_kind()); - } - - // optional uint32 ping_interior = 25; - if (cached_has_bits & 0x00100000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ping_interior()); - } - - // optional uint32 ping_remote_front = 26; - if (cached_has_bits & 0x00200000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ping_remote_front()); - } - - // optional uint32 ping_default_internet_route = 27; - if (cached_has_bits & 0x00400000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ping_default_internet_route()); - } - - // optional uint64 e2e_quality_remote_instantaneous_time = 32; - if (cached_has_bits & 0x00800000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt64Size( - this->_internal_e2e_quality_remote_instantaneous_time()); - } - - } - if (cached_has_bits & 0x07000000u) { - // optional uint64 e2e_quality_remote_lifetime_time = 33; - if (cached_has_bits & 0x01000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt64Size( - this->_internal_e2e_quality_remote_lifetime_time()); - } - - // optional uint64 front_quality_remote_instantaneous_time = 42; - if (cached_has_bits & 0x02000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt64Size( - this->_internal_front_quality_remote_instantaneous_time()); - } - - // optional uint64 front_quality_remote_lifetime_time = 43; - if (cached_has_bits & 0x04000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt64Size( - this->_internal_front_quality_remote_lifetime_time()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameNetworkingUI_ConnectionState::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CGameNetworkingUI_ConnectionState::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameNetworkingUI_ConnectionState::GetClassData() const { return &_class_data_; } - - -void CGameNetworkingUI_ConnectionState::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CGameNetworkingUI_ConnectionState) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_connection_key(from._internal_connection_key()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_identity_local(from._internal_identity_local()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_identity_remote(from._internal_identity_remote()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_close_message(from._internal_close_message()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_set_status_loc_token(from._internal_status_loc_token()); - } - if (cached_has_bits & 0x00000020u) { - _this->_internal_set_sdrpopid_local(from._internal_sdrpopid_local()); - } - if (cached_has_bits & 0x00000040u) { - _this->_internal_set_sdrpopid_remote(from._internal_sdrpopid_remote()); - } - if (cached_has_bits & 0x00000080u) { - _this->_internal_set_address_remote(from._internal_address_remote()); - } - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_internal_mutable_p2p_routing()->::CMsgSteamDatagramP2PRoutingSummary::MergeFrom( - from._internal_p2p_routing()); - } - if (cached_has_bits & 0x00000200u) { - _this->_internal_mutable_e2e_quality_local()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_e2e_quality_local()); - } - if (cached_has_bits & 0x00000400u) { - _this->_internal_mutable_e2e_quality_remote()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_e2e_quality_remote()); - } - if (cached_has_bits & 0x00000800u) { - _this->_internal_mutable_front_quality_local()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_front_quality_local()); - } - if (cached_has_bits & 0x00001000u) { - _this->_internal_mutable_front_quality_remote()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_front_quality_remote()); - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.connection_id_local_ = from._impl_.connection_id_local_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.connection_state_ = from._impl_.connection_state_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00ff0000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.start_time_ = from._impl_.start_time_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.close_time_ = from._impl_.close_time_; - } - if (cached_has_bits & 0x00040000u) { - _this->_impl_.close_reason_ = from._impl_.close_reason_; - } - if (cached_has_bits & 0x00080000u) { - _this->_impl_.transport_kind_ = from._impl_.transport_kind_; - } - if (cached_has_bits & 0x00100000u) { - _this->_impl_.ping_interior_ = from._impl_.ping_interior_; - } - if (cached_has_bits & 0x00200000u) { - _this->_impl_.ping_remote_front_ = from._impl_.ping_remote_front_; - } - if (cached_has_bits & 0x00400000u) { - _this->_impl_.ping_default_internet_route_ = from._impl_.ping_default_internet_route_; - } - if (cached_has_bits & 0x00800000u) { - _this->_impl_.e2e_quality_remote_instantaneous_time_ = from._impl_.e2e_quality_remote_instantaneous_time_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x07000000u) { - if (cached_has_bits & 0x01000000u) { - _this->_impl_.e2e_quality_remote_lifetime_time_ = from._impl_.e2e_quality_remote_lifetime_time_; - } - if (cached_has_bits & 0x02000000u) { - _this->_impl_.front_quality_remote_instantaneous_time_ = from._impl_.front_quality_remote_instantaneous_time_; - } - if (cached_has_bits & 0x04000000u) { - _this->_impl_.front_quality_remote_lifetime_time_ = from._impl_.front_quality_remote_lifetime_time_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CGameNetworkingUI_ConnectionState::CopyFrom(const CGameNetworkingUI_ConnectionState& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CGameNetworkingUI_ConnectionState) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CGameNetworkingUI_ConnectionState::IsInitialized() const { - return true; -} - -void CGameNetworkingUI_ConnectionState::InternalSwap(CGameNetworkingUI_ConnectionState* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.connection_key_, lhs_arena, - &other->_impl_.connection_key_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.identity_local_, lhs_arena, - &other->_impl_.identity_local_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.identity_remote_, lhs_arena, - &other->_impl_.identity_remote_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.close_message_, lhs_arena, - &other->_impl_.close_message_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.status_loc_token_, lhs_arena, - &other->_impl_.status_loc_token_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.sdrpopid_local_, lhs_arena, - &other->_impl_.sdrpopid_local_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.sdrpopid_remote_, lhs_arena, - &other->_impl_.sdrpopid_remote_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.address_remote_, lhs_arena, - &other->_impl_.address_remote_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CGameNetworkingUI_ConnectionState, _impl_.front_quality_remote_lifetime_time_) - + sizeof(CGameNetworkingUI_ConnectionState::_impl_.front_quality_remote_lifetime_time_) - - PROTOBUF_FIELD_OFFSET(CGameNetworkingUI_ConnectionState, _impl_.p2p_routing_)>( - reinterpret_cast(&_impl_.p2p_routing_), - reinterpret_cast(&other->_impl_.p2p_routing_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CGameNetworkingUI_ConnectionState::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fgamenetworkingui_2eproto_getter, &descriptor_table_steammessages_5fgamenetworkingui_2eproto_once, - file_level_metadata_steammessages_5fgamenetworkingui_2eproto[1]); -} - -// =================================================================== - -class CGameNetworkingUI_Message::_Internal { - public: -}; - -CGameNetworkingUI_Message::CGameNetworkingUI_Message(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CGameNetworkingUI_Message) -} -CGameNetworkingUI_Message::CGameNetworkingUI_Message(const CGameNetworkingUI_Message& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CGameNetworkingUI_Message* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.connection_state_){from._impl_.connection_state_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CGameNetworkingUI_Message) -} - -inline void CGameNetworkingUI_Message::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.connection_state_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CGameNetworkingUI_Message::~CGameNetworkingUI_Message() { - // @@protoc_insertion_point(destructor:CGameNetworkingUI_Message) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CGameNetworkingUI_Message::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.connection_state_.~RepeatedPtrField(); -} - -void CGameNetworkingUI_Message::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CGameNetworkingUI_Message::Clear() { -// @@protoc_insertion_point(message_clear_start:CGameNetworkingUI_Message) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.connection_state_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CGameNetworkingUI_Message::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CGameNetworkingUI_ConnectionState connection_state = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_connection_state(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CGameNetworkingUI_Message::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CGameNetworkingUI_Message) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CGameNetworkingUI_ConnectionState connection_state = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_connection_state_size()); i < n; i++) { - const auto& repfield = this->_internal_connection_state(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CGameNetworkingUI_Message) - return target; -} - -size_t CGameNetworkingUI_Message::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CGameNetworkingUI_Message) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CGameNetworkingUI_ConnectionState connection_state = 1; - total_size += 1UL * this->_internal_connection_state_size(); - for (const auto& msg : this->_impl_.connection_state_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameNetworkingUI_Message::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CGameNetworkingUI_Message::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameNetworkingUI_Message::GetClassData() const { return &_class_data_; } - - -void CGameNetworkingUI_Message::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CGameNetworkingUI_Message) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.connection_state_.MergeFrom(from._impl_.connection_state_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CGameNetworkingUI_Message::CopyFrom(const CGameNetworkingUI_Message& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CGameNetworkingUI_Message) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CGameNetworkingUI_Message::IsInitialized() const { - return true; -} - -void CGameNetworkingUI_Message::InternalSwap(CGameNetworkingUI_Message* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.connection_state_.InternalSwap(&other->_impl_.connection_state_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CGameNetworkingUI_Message::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fgamenetworkingui_2eproto_getter, &descriptor_table_steammessages_5fgamenetworkingui_2eproto_once, - file_level_metadata_steammessages_5fgamenetworkingui_2eproto[2]); -} - -// =================================================================== - -class CGameNetworkingUI_ConnectionSummary::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_transport_kind(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_connection_state(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_sdrpop_local(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_sdrpop_remote(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_ping_ms(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_packet_loss(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_ping_default_internet_route(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_ip_was_shared(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } -}; - -CGameNetworkingUI_ConnectionSummary::CGameNetworkingUI_ConnectionSummary(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CGameNetworkingUI_ConnectionSummary) -} -CGameNetworkingUI_ConnectionSummary::CGameNetworkingUI_ConnectionSummary(const CGameNetworkingUI_ConnectionSummary& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CGameNetworkingUI_ConnectionSummary* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sdrpop_local_){} - , decltype(_impl_.sdrpop_remote_){} - , decltype(_impl_.transport_kind_){} - , decltype(_impl_.ping_ms_){} - , decltype(_impl_.packet_loss_){} - , decltype(_impl_.ping_default_internet_route_){} - , decltype(_impl_.ip_was_shared_){} - , decltype(_impl_.connection_state_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.sdrpop_local_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sdrpop_local_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_sdrpop_local()) { - _this->_impl_.sdrpop_local_.Set(from._internal_sdrpop_local(), - _this->GetArenaForAllocation()); - } - _impl_.sdrpop_remote_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sdrpop_remote_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_sdrpop_remote()) { - _this->_impl_.sdrpop_remote_.Set(from._internal_sdrpop_remote(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.transport_kind_, &from._impl_.transport_kind_, - static_cast(reinterpret_cast(&_impl_.connection_state_) - - reinterpret_cast(&_impl_.transport_kind_)) + sizeof(_impl_.connection_state_)); - // @@protoc_insertion_point(copy_constructor:CGameNetworkingUI_ConnectionSummary) -} - -inline void CGameNetworkingUI_ConnectionSummary::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sdrpop_local_){} - , decltype(_impl_.sdrpop_remote_){} - , decltype(_impl_.transport_kind_){0u} - , decltype(_impl_.ping_ms_){0u} - , decltype(_impl_.packet_loss_){0} - , decltype(_impl_.ping_default_internet_route_){0u} - , decltype(_impl_.ip_was_shared_){false} - , decltype(_impl_.connection_state_){0u} - }; - _impl_.sdrpop_local_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sdrpop_local_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sdrpop_remote_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sdrpop_remote_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CGameNetworkingUI_ConnectionSummary::~CGameNetworkingUI_ConnectionSummary() { - // @@protoc_insertion_point(destructor:CGameNetworkingUI_ConnectionSummary) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CGameNetworkingUI_ConnectionSummary::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.sdrpop_local_.Destroy(); - _impl_.sdrpop_remote_.Destroy(); -} - -void CGameNetworkingUI_ConnectionSummary::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CGameNetworkingUI_ConnectionSummary::Clear() { -// @@protoc_insertion_point(message_clear_start:CGameNetworkingUI_ConnectionSummary) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.sdrpop_local_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.sdrpop_remote_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000fcu) { - ::memset(&_impl_.transport_kind_, 0, static_cast( - reinterpret_cast(&_impl_.connection_state_) - - reinterpret_cast(&_impl_.transport_kind_)) + sizeof(_impl_.connection_state_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CGameNetworkingUI_ConnectionSummary::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 transport_kind = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_transport_kind(&has_bits); - _impl_.transport_kind_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string sdrpop_local = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_sdrpop_local(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionSummary.sdrpop_local"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string sdrpop_remote = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_sdrpop_remote(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CGameNetworkingUI_ConnectionSummary.sdrpop_remote"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 ping_ms = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_ping_ms(&has_bits); - _impl_.ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float packet_loss = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_packet_loss(&has_bits); - _impl_.packet_loss_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 ping_default_internet_route = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_ping_default_internet_route(&has_bits); - _impl_.ping_default_internet_route_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool ip_was_shared = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_ip_was_shared(&has_bits); - _impl_.ip_was_shared_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 connection_state = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_connection_state(&has_bits); - _impl_.connection_state_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CGameNetworkingUI_ConnectionSummary::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CGameNetworkingUI_ConnectionSummary) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 transport_kind = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_transport_kind(), target); - } - - // optional string sdrpop_local = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_sdrpop_local().data(), static_cast(this->_internal_sdrpop_local().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CGameNetworkingUI_ConnectionSummary.sdrpop_local"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_sdrpop_local(), target); - } - - // optional string sdrpop_remote = 3; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_sdrpop_remote().data(), static_cast(this->_internal_sdrpop_remote().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CGameNetworkingUI_ConnectionSummary.sdrpop_remote"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_sdrpop_remote(), target); - } - - // optional uint32 ping_ms = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_ping_ms(), target); - } - - // optional float packet_loss = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_packet_loss(), target); - } - - // optional uint32 ping_default_internet_route = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_ping_default_internet_route(), target); - } - - // optional bool ip_was_shared = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_ip_was_shared(), target); - } - - // optional uint32 connection_state = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_connection_state(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CGameNetworkingUI_ConnectionSummary) - return target; -} - -size_t CGameNetworkingUI_ConnectionSummary::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CGameNetworkingUI_ConnectionSummary) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string sdrpop_local = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_sdrpop_local()); - } - - // optional string sdrpop_remote = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_sdrpop_remote()); - } - - // optional uint32 transport_kind = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_transport_kind()); - } - - // optional uint32 ping_ms = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ping_ms()); - } - - // optional float packet_loss = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional uint32 ping_default_internet_route = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ping_default_internet_route()); - } - - // optional bool ip_was_shared = 7; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 1; - } - - // optional uint32 connection_state = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_connection_state()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameNetworkingUI_ConnectionSummary::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CGameNetworkingUI_ConnectionSummary::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameNetworkingUI_ConnectionSummary::GetClassData() const { return &_class_data_; } - - -void CGameNetworkingUI_ConnectionSummary::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CGameNetworkingUI_ConnectionSummary) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_sdrpop_local(from._internal_sdrpop_local()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_sdrpop_remote(from._internal_sdrpop_remote()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.transport_kind_ = from._impl_.transport_kind_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.ping_ms_ = from._impl_.ping_ms_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.packet_loss_ = from._impl_.packet_loss_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.ping_default_internet_route_ = from._impl_.ping_default_internet_route_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.ip_was_shared_ = from._impl_.ip_was_shared_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.connection_state_ = from._impl_.connection_state_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CGameNetworkingUI_ConnectionSummary::CopyFrom(const CGameNetworkingUI_ConnectionSummary& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CGameNetworkingUI_ConnectionSummary) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CGameNetworkingUI_ConnectionSummary::IsInitialized() const { - return true; -} - -void CGameNetworkingUI_ConnectionSummary::InternalSwap(CGameNetworkingUI_ConnectionSummary* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.sdrpop_local_, lhs_arena, - &other->_impl_.sdrpop_local_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.sdrpop_remote_, lhs_arena, - &other->_impl_.sdrpop_remote_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CGameNetworkingUI_ConnectionSummary, _impl_.connection_state_) - + sizeof(CGameNetworkingUI_ConnectionSummary::_impl_.connection_state_) - - PROTOBUF_FIELD_OFFSET(CGameNetworkingUI_ConnectionSummary, _impl_.transport_kind_)>( - reinterpret_cast(&_impl_.transport_kind_), - reinterpret_cast(&other->_impl_.transport_kind_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CGameNetworkingUI_ConnectionSummary::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fgamenetworkingui_2eproto_getter, &descriptor_table_steammessages_5fgamenetworkingui_2eproto_once, - file_level_metadata_steammessages_5fgamenetworkingui_2eproto[3]); -} - -// =================================================================== - -class CGameNetworkingUI_AppSummary::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_ip_was_shared_with_friend(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_ip_was_shared_with_nonfriend(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_active_connections(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static const ::CGameNetworkingUI_ConnectionSummary& main_cxn(const CGameNetworkingUI_AppSummary* msg); - static void set_has_main_cxn(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CGameNetworkingUI_ConnectionSummary& -CGameNetworkingUI_AppSummary::_Internal::main_cxn(const CGameNetworkingUI_AppSummary* msg) { - return *msg->_impl_.main_cxn_; -} -CGameNetworkingUI_AppSummary::CGameNetworkingUI_AppSummary(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CGameNetworkingUI_AppSummary) -} -CGameNetworkingUI_AppSummary::CGameNetworkingUI_AppSummary(const CGameNetworkingUI_AppSummary& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CGameNetworkingUI_AppSummary* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.main_cxn_){nullptr} - , decltype(_impl_.appid_){} - , decltype(_impl_.ip_was_shared_with_friend_){} - , decltype(_impl_.ip_was_shared_with_nonfriend_){} - , decltype(_impl_.active_connections_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_main_cxn()) { - _this->_impl_.main_cxn_ = new ::CGameNetworkingUI_ConnectionSummary(*from._impl_.main_cxn_); - } - ::memcpy(&_impl_.appid_, &from._impl_.appid_, - static_cast(reinterpret_cast(&_impl_.active_connections_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.active_connections_)); - // @@protoc_insertion_point(copy_constructor:CGameNetworkingUI_AppSummary) -} - -inline void CGameNetworkingUI_AppSummary::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.main_cxn_){nullptr} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.ip_was_shared_with_friend_){false} - , decltype(_impl_.ip_was_shared_with_nonfriend_){false} - , decltype(_impl_.active_connections_){0u} - }; -} - -CGameNetworkingUI_AppSummary::~CGameNetworkingUI_AppSummary() { - // @@protoc_insertion_point(destructor:CGameNetworkingUI_AppSummary) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CGameNetworkingUI_AppSummary::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.main_cxn_; -} - -void CGameNetworkingUI_AppSummary::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CGameNetworkingUI_AppSummary::Clear() { -// @@protoc_insertion_point(message_clear_start:CGameNetworkingUI_AppSummary) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.main_cxn_ != nullptr); - _impl_.main_cxn_->Clear(); - } - if (cached_has_bits & 0x0000001eu) { - ::memset(&_impl_.appid_, 0, static_cast( - reinterpret_cast(&_impl_.active_connections_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.active_connections_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CGameNetworkingUI_AppSummary::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool ip_was_shared_with_friend = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_ip_was_shared_with_friend(&has_bits); - _impl_.ip_was_shared_with_friend_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool ip_was_shared_with_nonfriend = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_ip_was_shared_with_nonfriend(&has_bits); - _impl_.ip_was_shared_with_nonfriend_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 active_connections = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { - _Internal::set_has_active_connections(&has_bits); - _impl_.active_connections_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CGameNetworkingUI_ConnectionSummary main_cxn = 30; - case 30: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 242)) { - ptr = ctx->ParseMessage(_internal_mutable_main_cxn(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CGameNetworkingUI_AppSummary::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CGameNetworkingUI_AppSummary) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // optional bool ip_was_shared_with_friend = 10; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(10, this->_internal_ip_was_shared_with_friend(), target); - } - - // optional bool ip_was_shared_with_nonfriend = 11; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(11, this->_internal_ip_was_shared_with_nonfriend(), target); - } - - // optional uint32 active_connections = 20; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_active_connections(), target); - } - - // optional .CGameNetworkingUI_ConnectionSummary main_cxn = 30; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(30, _Internal::main_cxn(this), - _Internal::main_cxn(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CGameNetworkingUI_AppSummary) - return target; -} - -size_t CGameNetworkingUI_AppSummary::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CGameNetworkingUI_AppSummary) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional .CGameNetworkingUI_ConnectionSummary main_cxn = 30; - if (cached_has_bits & 0x00000001u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.main_cxn_); - } - - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional bool ip_was_shared_with_friend = 10; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional bool ip_was_shared_with_nonfriend = 11; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - // optional uint32 active_connections = 20; - if (cached_has_bits & 0x00000010u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_active_connections()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CGameNetworkingUI_AppSummary::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CGameNetworkingUI_AppSummary::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CGameNetworkingUI_AppSummary::GetClassData() const { return &_class_data_; } - - -void CGameNetworkingUI_AppSummary::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CGameNetworkingUI_AppSummary) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_main_cxn()->::CGameNetworkingUI_ConnectionSummary::MergeFrom( - from._internal_main_cxn()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.ip_was_shared_with_friend_ = from._impl_.ip_was_shared_with_friend_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.ip_was_shared_with_nonfriend_ = from._impl_.ip_was_shared_with_nonfriend_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.active_connections_ = from._impl_.active_connections_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CGameNetworkingUI_AppSummary::CopyFrom(const CGameNetworkingUI_AppSummary& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CGameNetworkingUI_AppSummary) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CGameNetworkingUI_AppSummary::IsInitialized() const { - return true; -} - -void CGameNetworkingUI_AppSummary::InternalSwap(CGameNetworkingUI_AppSummary* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CGameNetworkingUI_AppSummary, _impl_.active_connections_) - + sizeof(CGameNetworkingUI_AppSummary::_impl_.active_connections_) - - PROTOBUF_FIELD_OFFSET(CGameNetworkingUI_AppSummary, _impl_.main_cxn_)>( - reinterpret_cast(&_impl_.main_cxn_), - reinterpret_cast(&other->_impl_.main_cxn_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CGameNetworkingUI_AppSummary::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fgamenetworkingui_2eproto_getter, &descriptor_table_steammessages_5fgamenetworkingui_2eproto_once, - file_level_metadata_steammessages_5fgamenetworkingui_2eproto[4]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CGameNetworkingUI_GlobalState* -Arena::CreateMaybeMessage< ::CGameNetworkingUI_GlobalState >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGameNetworkingUI_GlobalState >(arena); -} -template<> PROTOBUF_NOINLINE ::CGameNetworkingUI_ConnectionState* -Arena::CreateMaybeMessage< ::CGameNetworkingUI_ConnectionState >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGameNetworkingUI_ConnectionState >(arena); -} -template<> PROTOBUF_NOINLINE ::CGameNetworkingUI_Message* -Arena::CreateMaybeMessage< ::CGameNetworkingUI_Message >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGameNetworkingUI_Message >(arena); -} -template<> PROTOBUF_NOINLINE ::CGameNetworkingUI_ConnectionSummary* -Arena::CreateMaybeMessage< ::CGameNetworkingUI_ConnectionSummary >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGameNetworkingUI_ConnectionSummary >(arena); -} -template<> PROTOBUF_NOINLINE ::CGameNetworkingUI_AppSummary* -Arena::CreateMaybeMessage< ::CGameNetworkingUI_AppSummary >(Arena* arena) { - return Arena::CreateMessageInternal< ::CGameNetworkingUI_AppSummary >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/steammessages_gamenetworkingui.pb.h b/protobuf/generated/steammessages_gamenetworkingui.pb.h deleted file mode 100644 index 84a36481d..000000000 --- a/protobuf/generated/steammessages_gamenetworkingui.pb.h +++ /dev/null @@ -1,3439 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steammessages_gamenetworkingui.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_steammessages_5fgamenetworkingui_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_steammessages_5fgamenetworkingui_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "steamnetworkingsockets_messages.pb.h" -#include "steamdatagram_messages_sdr.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_steammessages_5fgamenetworkingui_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_steammessages_5fgamenetworkingui_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steammessages_5fgamenetworkingui_2eproto; -class CGameNetworkingUI_AppSummary; -struct CGameNetworkingUI_AppSummaryDefaultTypeInternal; -extern CGameNetworkingUI_AppSummaryDefaultTypeInternal _CGameNetworkingUI_AppSummary_default_instance_; -class CGameNetworkingUI_ConnectionState; -struct CGameNetworkingUI_ConnectionStateDefaultTypeInternal; -extern CGameNetworkingUI_ConnectionStateDefaultTypeInternal _CGameNetworkingUI_ConnectionState_default_instance_; -class CGameNetworkingUI_ConnectionSummary; -struct CGameNetworkingUI_ConnectionSummaryDefaultTypeInternal; -extern CGameNetworkingUI_ConnectionSummaryDefaultTypeInternal _CGameNetworkingUI_ConnectionSummary_default_instance_; -class CGameNetworkingUI_GlobalState; -struct CGameNetworkingUI_GlobalStateDefaultTypeInternal; -extern CGameNetworkingUI_GlobalStateDefaultTypeInternal _CGameNetworkingUI_GlobalState_default_instance_; -class CGameNetworkingUI_Message; -struct CGameNetworkingUI_MessageDefaultTypeInternal; -extern CGameNetworkingUI_MessageDefaultTypeInternal _CGameNetworkingUI_Message_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CGameNetworkingUI_AppSummary* Arena::CreateMaybeMessage<::CGameNetworkingUI_AppSummary>(Arena*); -template<> ::CGameNetworkingUI_ConnectionState* Arena::CreateMaybeMessage<::CGameNetworkingUI_ConnectionState>(Arena*); -template<> ::CGameNetworkingUI_ConnectionSummary* Arena::CreateMaybeMessage<::CGameNetworkingUI_ConnectionSummary>(Arena*); -template<> ::CGameNetworkingUI_GlobalState* Arena::CreateMaybeMessage<::CGameNetworkingUI_GlobalState>(Arena*); -template<> ::CGameNetworkingUI_Message* Arena::CreateMaybeMessage<::CGameNetworkingUI_Message>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -// =================================================================== - -class CGameNetworkingUI_GlobalState : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CGameNetworkingUI_GlobalState) */ { - public: - inline CGameNetworkingUI_GlobalState() : CGameNetworkingUI_GlobalState(nullptr) {} - explicit PROTOBUF_CONSTEXPR CGameNetworkingUI_GlobalState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGameNetworkingUI_GlobalState(const CGameNetworkingUI_GlobalState& from); - CGameNetworkingUI_GlobalState(CGameNetworkingUI_GlobalState&& from) noexcept - : CGameNetworkingUI_GlobalState() { - *this = ::std::move(from); - } - - inline CGameNetworkingUI_GlobalState& operator=(const CGameNetworkingUI_GlobalState& from) { - CopyFrom(from); - return *this; - } - inline CGameNetworkingUI_GlobalState& operator=(CGameNetworkingUI_GlobalState&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGameNetworkingUI_GlobalState& default_instance() { - return *internal_default_instance(); - } - static inline const CGameNetworkingUI_GlobalState* internal_default_instance() { - return reinterpret_cast( - &_CGameNetworkingUI_GlobalState_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CGameNetworkingUI_GlobalState& a, CGameNetworkingUI_GlobalState& b) { - a.Swap(&b); - } - inline void Swap(CGameNetworkingUI_GlobalState* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGameNetworkingUI_GlobalState* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGameNetworkingUI_GlobalState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CGameNetworkingUI_GlobalState& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CGameNetworkingUI_GlobalState& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGameNetworkingUI_GlobalState"; - } - protected: - explicit CGameNetworkingUI_GlobalState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CGameNetworkingUI_GlobalState) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_steammessages_5fgamenetworkingui_2eproto; -}; -// ------------------------------------------------------------------- - -class CGameNetworkingUI_ConnectionState : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameNetworkingUI_ConnectionState) */ { - public: - inline CGameNetworkingUI_ConnectionState() : CGameNetworkingUI_ConnectionState(nullptr) {} - ~CGameNetworkingUI_ConnectionState() override; - explicit PROTOBUF_CONSTEXPR CGameNetworkingUI_ConnectionState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGameNetworkingUI_ConnectionState(const CGameNetworkingUI_ConnectionState& from); - CGameNetworkingUI_ConnectionState(CGameNetworkingUI_ConnectionState&& from) noexcept - : CGameNetworkingUI_ConnectionState() { - *this = ::std::move(from); - } - - inline CGameNetworkingUI_ConnectionState& operator=(const CGameNetworkingUI_ConnectionState& from) { - CopyFrom(from); - return *this; - } - inline CGameNetworkingUI_ConnectionState& operator=(CGameNetworkingUI_ConnectionState&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGameNetworkingUI_ConnectionState& default_instance() { - return *internal_default_instance(); - } - static inline const CGameNetworkingUI_ConnectionState* internal_default_instance() { - return reinterpret_cast( - &_CGameNetworkingUI_ConnectionState_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CGameNetworkingUI_ConnectionState& a, CGameNetworkingUI_ConnectionState& b) { - a.Swap(&b); - } - inline void Swap(CGameNetworkingUI_ConnectionState* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGameNetworkingUI_ConnectionState* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGameNetworkingUI_ConnectionState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CGameNetworkingUI_ConnectionState& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CGameNetworkingUI_ConnectionState& from) { - CGameNetworkingUI_ConnectionState::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CGameNetworkingUI_ConnectionState* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGameNetworkingUI_ConnectionState"; - } - protected: - explicit CGameNetworkingUI_ConnectionState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kConnectionKeyFieldNumber = 1, - kIdentityLocalFieldNumber = 4, - kIdentityRemoteFieldNumber = 5, - kCloseMessageFieldNumber = 15, - kStatusLocTokenFieldNumber = 16, - kSdrpopidLocalFieldNumber = 21, - kSdrpopidRemoteFieldNumber = 22, - kAddressRemoteFieldNumber = 23, - kP2PRoutingFieldNumber = 24, - kE2EQualityLocalFieldNumber = 30, - kE2EQualityRemoteFieldNumber = 31, - kFrontQualityLocalFieldNumber = 40, - kFrontQualityRemoteFieldNumber = 41, - kAppidFieldNumber = 2, - kConnectionIdLocalFieldNumber = 3, - kConnectionStateFieldNumber = 10, - kStartTimeFieldNumber = 12, - kCloseTimeFieldNumber = 13, - kCloseReasonFieldNumber = 14, - kTransportKindFieldNumber = 20, - kPingInteriorFieldNumber = 25, - kPingRemoteFrontFieldNumber = 26, - kPingDefaultInternetRouteFieldNumber = 27, - kE2EQualityRemoteInstantaneousTimeFieldNumber = 32, - kE2EQualityRemoteLifetimeTimeFieldNumber = 33, - kFrontQualityRemoteInstantaneousTimeFieldNumber = 42, - kFrontQualityRemoteLifetimeTimeFieldNumber = 43, - }; - // optional string connection_key = 1; - bool has_connection_key() const; - private: - bool _internal_has_connection_key() const; - public: - void clear_connection_key(); - const std::string& connection_key() const; - template - void set_connection_key(ArgT0&& arg0, ArgT... args); - std::string* mutable_connection_key(); - PROTOBUF_NODISCARD std::string* release_connection_key(); - void set_allocated_connection_key(std::string* connection_key); - private: - const std::string& _internal_connection_key() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_connection_key(const std::string& value); - std::string* _internal_mutable_connection_key(); - public: - - // optional string identity_local = 4; - bool has_identity_local() const; - private: - bool _internal_has_identity_local() const; - public: - void clear_identity_local(); - const std::string& identity_local() const; - template - void set_identity_local(ArgT0&& arg0, ArgT... args); - std::string* mutable_identity_local(); - PROTOBUF_NODISCARD std::string* release_identity_local(); - void set_allocated_identity_local(std::string* identity_local); - private: - const std::string& _internal_identity_local() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_identity_local(const std::string& value); - std::string* _internal_mutable_identity_local(); - public: - - // optional string identity_remote = 5; - bool has_identity_remote() const; - private: - bool _internal_has_identity_remote() const; - public: - void clear_identity_remote(); - const std::string& identity_remote() const; - template - void set_identity_remote(ArgT0&& arg0, ArgT... args); - std::string* mutable_identity_remote(); - PROTOBUF_NODISCARD std::string* release_identity_remote(); - void set_allocated_identity_remote(std::string* identity_remote); - private: - const std::string& _internal_identity_remote() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_identity_remote(const std::string& value); - std::string* _internal_mutable_identity_remote(); - public: - - // optional string close_message = 15; - bool has_close_message() const; - private: - bool _internal_has_close_message() const; - public: - void clear_close_message(); - const std::string& close_message() const; - template - void set_close_message(ArgT0&& arg0, ArgT... args); - std::string* mutable_close_message(); - PROTOBUF_NODISCARD std::string* release_close_message(); - void set_allocated_close_message(std::string* close_message); - private: - const std::string& _internal_close_message() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_close_message(const std::string& value); - std::string* _internal_mutable_close_message(); - public: - - // optional string status_loc_token = 16; - bool has_status_loc_token() const; - private: - bool _internal_has_status_loc_token() const; - public: - void clear_status_loc_token(); - const std::string& status_loc_token() const; - template - void set_status_loc_token(ArgT0&& arg0, ArgT... args); - std::string* mutable_status_loc_token(); - PROTOBUF_NODISCARD std::string* release_status_loc_token(); - void set_allocated_status_loc_token(std::string* status_loc_token); - private: - const std::string& _internal_status_loc_token() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_status_loc_token(const std::string& value); - std::string* _internal_mutable_status_loc_token(); - public: - - // optional string sdrpopid_local = 21; - bool has_sdrpopid_local() const; - private: - bool _internal_has_sdrpopid_local() const; - public: - void clear_sdrpopid_local(); - const std::string& sdrpopid_local() const; - template - void set_sdrpopid_local(ArgT0&& arg0, ArgT... args); - std::string* mutable_sdrpopid_local(); - PROTOBUF_NODISCARD std::string* release_sdrpopid_local(); - void set_allocated_sdrpopid_local(std::string* sdrpopid_local); - private: - const std::string& _internal_sdrpopid_local() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdrpopid_local(const std::string& value); - std::string* _internal_mutable_sdrpopid_local(); - public: - - // optional string sdrpopid_remote = 22; - bool has_sdrpopid_remote() const; - private: - bool _internal_has_sdrpopid_remote() const; - public: - void clear_sdrpopid_remote(); - const std::string& sdrpopid_remote() const; - template - void set_sdrpopid_remote(ArgT0&& arg0, ArgT... args); - std::string* mutable_sdrpopid_remote(); - PROTOBUF_NODISCARD std::string* release_sdrpopid_remote(); - void set_allocated_sdrpopid_remote(std::string* sdrpopid_remote); - private: - const std::string& _internal_sdrpopid_remote() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdrpopid_remote(const std::string& value); - std::string* _internal_mutable_sdrpopid_remote(); - public: - - // optional string address_remote = 23; - bool has_address_remote() const; - private: - bool _internal_has_address_remote() const; - public: - void clear_address_remote(); - const std::string& address_remote() const; - template - void set_address_remote(ArgT0&& arg0, ArgT... args); - std::string* mutable_address_remote(); - PROTOBUF_NODISCARD std::string* release_address_remote(); - void set_allocated_address_remote(std::string* address_remote); - private: - const std::string& _internal_address_remote() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_address_remote(const std::string& value); - std::string* _internal_mutable_address_remote(); - public: - - // optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing = 24; - bool has_p2p_routing() const; - private: - bool _internal_has_p2p_routing() const; - public: - void clear_p2p_routing(); - const ::CMsgSteamDatagramP2PRoutingSummary& p2p_routing() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramP2PRoutingSummary* release_p2p_routing(); - ::CMsgSteamDatagramP2PRoutingSummary* mutable_p2p_routing(); - void set_allocated_p2p_routing(::CMsgSteamDatagramP2PRoutingSummary* p2p_routing); - private: - const ::CMsgSteamDatagramP2PRoutingSummary& _internal_p2p_routing() const; - ::CMsgSteamDatagramP2PRoutingSummary* _internal_mutable_p2p_routing(); - public: - void unsafe_arena_set_allocated_p2p_routing( - ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing); - ::CMsgSteamDatagramP2PRoutingSummary* unsafe_arena_release_p2p_routing(); - - // optional .CMsgSteamDatagramConnectionQuality e2e_quality_local = 30; - bool has_e2e_quality_local() const; - private: - bool _internal_has_e2e_quality_local() const; - public: - void clear_e2e_quality_local(); - const ::CMsgSteamDatagramConnectionQuality& e2e_quality_local() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_e2e_quality_local(); - ::CMsgSteamDatagramConnectionQuality* mutable_e2e_quality_local(); - void set_allocated_e2e_quality_local(::CMsgSteamDatagramConnectionQuality* e2e_quality_local); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_e2e_quality_local() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_e2e_quality_local(); - public: - void unsafe_arena_set_allocated_e2e_quality_local( - ::CMsgSteamDatagramConnectionQuality* e2e_quality_local); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_e2e_quality_local(); - - // optional .CMsgSteamDatagramConnectionQuality e2e_quality_remote = 31; - bool has_e2e_quality_remote() const; - private: - bool _internal_has_e2e_quality_remote() const; - public: - void clear_e2e_quality_remote(); - const ::CMsgSteamDatagramConnectionQuality& e2e_quality_remote() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_e2e_quality_remote(); - ::CMsgSteamDatagramConnectionQuality* mutable_e2e_quality_remote(); - void set_allocated_e2e_quality_remote(::CMsgSteamDatagramConnectionQuality* e2e_quality_remote); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_e2e_quality_remote() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_e2e_quality_remote(); - public: - void unsafe_arena_set_allocated_e2e_quality_remote( - ::CMsgSteamDatagramConnectionQuality* e2e_quality_remote); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_e2e_quality_remote(); - - // optional .CMsgSteamDatagramConnectionQuality front_quality_local = 40; - bool has_front_quality_local() const; - private: - bool _internal_has_front_quality_local() const; - public: - void clear_front_quality_local(); - const ::CMsgSteamDatagramConnectionQuality& front_quality_local() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_front_quality_local(); - ::CMsgSteamDatagramConnectionQuality* mutable_front_quality_local(); - void set_allocated_front_quality_local(::CMsgSteamDatagramConnectionQuality* front_quality_local); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_front_quality_local() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_front_quality_local(); - public: - void unsafe_arena_set_allocated_front_quality_local( - ::CMsgSteamDatagramConnectionQuality* front_quality_local); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_front_quality_local(); - - // optional .CMsgSteamDatagramConnectionQuality front_quality_remote = 41; - bool has_front_quality_remote() const; - private: - bool _internal_has_front_quality_remote() const; - public: - void clear_front_quality_remote(); - const ::CMsgSteamDatagramConnectionQuality& front_quality_remote() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_front_quality_remote(); - ::CMsgSteamDatagramConnectionQuality* mutable_front_quality_remote(); - void set_allocated_front_quality_remote(::CMsgSteamDatagramConnectionQuality* front_quality_remote); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_front_quality_remote() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_front_quality_remote(); - public: - void unsafe_arena_set_allocated_front_quality_remote( - ::CMsgSteamDatagramConnectionQuality* front_quality_remote); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_front_quality_remote(); - - // optional uint32 appid = 2; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional fixed32 connection_id_local = 3; - bool has_connection_id_local() const; - private: - bool _internal_has_connection_id_local() const; - public: - void clear_connection_id_local(); - uint32_t connection_id_local() const; - void set_connection_id_local(uint32_t value); - private: - uint32_t _internal_connection_id_local() const; - void _internal_set_connection_id_local(uint32_t value); - public: - - // optional uint32 connection_state = 10; - bool has_connection_state() const; - private: - bool _internal_has_connection_state() const; - public: - void clear_connection_state(); - uint32_t connection_state() const; - void set_connection_state(uint32_t value); - private: - uint32_t _internal_connection_state() const; - void _internal_set_connection_state(uint32_t value); - public: - - // optional uint32 start_time = 12; - bool has_start_time() const; - private: - bool _internal_has_start_time() const; - public: - void clear_start_time(); - uint32_t start_time() const; - void set_start_time(uint32_t value); - private: - uint32_t _internal_start_time() const; - void _internal_set_start_time(uint32_t value); - public: - - // optional uint32 close_time = 13; - bool has_close_time() const; - private: - bool _internal_has_close_time() const; - public: - void clear_close_time(); - uint32_t close_time() const; - void set_close_time(uint32_t value); - private: - uint32_t _internal_close_time() const; - void _internal_set_close_time(uint32_t value); - public: - - // optional uint32 close_reason = 14; - bool has_close_reason() const; - private: - bool _internal_has_close_reason() const; - public: - void clear_close_reason(); - uint32_t close_reason() const; - void set_close_reason(uint32_t value); - private: - uint32_t _internal_close_reason() const; - void _internal_set_close_reason(uint32_t value); - public: - - // optional uint32 transport_kind = 20; - bool has_transport_kind() const; - private: - bool _internal_has_transport_kind() const; - public: - void clear_transport_kind(); - uint32_t transport_kind() const; - void set_transport_kind(uint32_t value); - private: - uint32_t _internal_transport_kind() const; - void _internal_set_transport_kind(uint32_t value); - public: - - // optional uint32 ping_interior = 25; - bool has_ping_interior() const; - private: - bool _internal_has_ping_interior() const; - public: - void clear_ping_interior(); - uint32_t ping_interior() const; - void set_ping_interior(uint32_t value); - private: - uint32_t _internal_ping_interior() const; - void _internal_set_ping_interior(uint32_t value); - public: - - // optional uint32 ping_remote_front = 26; - bool has_ping_remote_front() const; - private: - bool _internal_has_ping_remote_front() const; - public: - void clear_ping_remote_front(); - uint32_t ping_remote_front() const; - void set_ping_remote_front(uint32_t value); - private: - uint32_t _internal_ping_remote_front() const; - void _internal_set_ping_remote_front(uint32_t value); - public: - - // optional uint32 ping_default_internet_route = 27; - bool has_ping_default_internet_route() const; - private: - bool _internal_has_ping_default_internet_route() const; - public: - void clear_ping_default_internet_route(); - uint32_t ping_default_internet_route() const; - void set_ping_default_internet_route(uint32_t value); - private: - uint32_t _internal_ping_default_internet_route() const; - void _internal_set_ping_default_internet_route(uint32_t value); - public: - - // optional uint64 e2e_quality_remote_instantaneous_time = 32; - bool has_e2e_quality_remote_instantaneous_time() const; - private: - bool _internal_has_e2e_quality_remote_instantaneous_time() const; - public: - void clear_e2e_quality_remote_instantaneous_time(); - uint64_t e2e_quality_remote_instantaneous_time() const; - void set_e2e_quality_remote_instantaneous_time(uint64_t value); - private: - uint64_t _internal_e2e_quality_remote_instantaneous_time() const; - void _internal_set_e2e_quality_remote_instantaneous_time(uint64_t value); - public: - - // optional uint64 e2e_quality_remote_lifetime_time = 33; - bool has_e2e_quality_remote_lifetime_time() const; - private: - bool _internal_has_e2e_quality_remote_lifetime_time() const; - public: - void clear_e2e_quality_remote_lifetime_time(); - uint64_t e2e_quality_remote_lifetime_time() const; - void set_e2e_quality_remote_lifetime_time(uint64_t value); - private: - uint64_t _internal_e2e_quality_remote_lifetime_time() const; - void _internal_set_e2e_quality_remote_lifetime_time(uint64_t value); - public: - - // optional uint64 front_quality_remote_instantaneous_time = 42; - bool has_front_quality_remote_instantaneous_time() const; - private: - bool _internal_has_front_quality_remote_instantaneous_time() const; - public: - void clear_front_quality_remote_instantaneous_time(); - uint64_t front_quality_remote_instantaneous_time() const; - void set_front_quality_remote_instantaneous_time(uint64_t value); - private: - uint64_t _internal_front_quality_remote_instantaneous_time() const; - void _internal_set_front_quality_remote_instantaneous_time(uint64_t value); - public: - - // optional uint64 front_quality_remote_lifetime_time = 43; - bool has_front_quality_remote_lifetime_time() const; - private: - bool _internal_has_front_quality_remote_lifetime_time() const; - public: - void clear_front_quality_remote_lifetime_time(); - uint64_t front_quality_remote_lifetime_time() const; - void set_front_quality_remote_lifetime_time(uint64_t value); - private: - uint64_t _internal_front_quality_remote_lifetime_time() const; - void _internal_set_front_quality_remote_lifetime_time(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CGameNetworkingUI_ConnectionState) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr connection_key_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identity_local_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identity_remote_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr close_message_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr status_loc_token_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdrpopid_local_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdrpopid_remote_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr address_remote_; - ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing_; - ::CMsgSteamDatagramConnectionQuality* e2e_quality_local_; - ::CMsgSteamDatagramConnectionQuality* e2e_quality_remote_; - ::CMsgSteamDatagramConnectionQuality* front_quality_local_; - ::CMsgSteamDatagramConnectionQuality* front_quality_remote_; - uint32_t appid_; - uint32_t connection_id_local_; - uint32_t connection_state_; - uint32_t start_time_; - uint32_t close_time_; - uint32_t close_reason_; - uint32_t transport_kind_; - uint32_t ping_interior_; - uint32_t ping_remote_front_; - uint32_t ping_default_internet_route_; - uint64_t e2e_quality_remote_instantaneous_time_; - uint64_t e2e_quality_remote_lifetime_time_; - uint64_t front_quality_remote_instantaneous_time_; - uint64_t front_quality_remote_lifetime_time_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fgamenetworkingui_2eproto; -}; -// ------------------------------------------------------------------- - -class CGameNetworkingUI_Message : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameNetworkingUI_Message) */ { - public: - inline CGameNetworkingUI_Message() : CGameNetworkingUI_Message(nullptr) {} - ~CGameNetworkingUI_Message() override; - explicit PROTOBUF_CONSTEXPR CGameNetworkingUI_Message(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGameNetworkingUI_Message(const CGameNetworkingUI_Message& from); - CGameNetworkingUI_Message(CGameNetworkingUI_Message&& from) noexcept - : CGameNetworkingUI_Message() { - *this = ::std::move(from); - } - - inline CGameNetworkingUI_Message& operator=(const CGameNetworkingUI_Message& from) { - CopyFrom(from); - return *this; - } - inline CGameNetworkingUI_Message& operator=(CGameNetworkingUI_Message&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGameNetworkingUI_Message& default_instance() { - return *internal_default_instance(); - } - static inline const CGameNetworkingUI_Message* internal_default_instance() { - return reinterpret_cast( - &_CGameNetworkingUI_Message_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CGameNetworkingUI_Message& a, CGameNetworkingUI_Message& b) { - a.Swap(&b); - } - inline void Swap(CGameNetworkingUI_Message* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGameNetworkingUI_Message* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGameNetworkingUI_Message* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CGameNetworkingUI_Message& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CGameNetworkingUI_Message& from) { - CGameNetworkingUI_Message::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CGameNetworkingUI_Message* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGameNetworkingUI_Message"; - } - protected: - explicit CGameNetworkingUI_Message(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kConnectionStateFieldNumber = 1, - }; - // repeated .CGameNetworkingUI_ConnectionState connection_state = 1; - int connection_state_size() const; - private: - int _internal_connection_state_size() const; - public: - void clear_connection_state(); - ::CGameNetworkingUI_ConnectionState* mutable_connection_state(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameNetworkingUI_ConnectionState >* - mutable_connection_state(); - private: - const ::CGameNetworkingUI_ConnectionState& _internal_connection_state(int index) const; - ::CGameNetworkingUI_ConnectionState* _internal_add_connection_state(); - public: - const ::CGameNetworkingUI_ConnectionState& connection_state(int index) const; - ::CGameNetworkingUI_ConnectionState* add_connection_state(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameNetworkingUI_ConnectionState >& - connection_state() const; - - // @@protoc_insertion_point(class_scope:CGameNetworkingUI_Message) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameNetworkingUI_ConnectionState > connection_state_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fgamenetworkingui_2eproto; -}; -// ------------------------------------------------------------------- - -class CGameNetworkingUI_ConnectionSummary : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameNetworkingUI_ConnectionSummary) */ { - public: - inline CGameNetworkingUI_ConnectionSummary() : CGameNetworkingUI_ConnectionSummary(nullptr) {} - ~CGameNetworkingUI_ConnectionSummary() override; - explicit PROTOBUF_CONSTEXPR CGameNetworkingUI_ConnectionSummary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGameNetworkingUI_ConnectionSummary(const CGameNetworkingUI_ConnectionSummary& from); - CGameNetworkingUI_ConnectionSummary(CGameNetworkingUI_ConnectionSummary&& from) noexcept - : CGameNetworkingUI_ConnectionSummary() { - *this = ::std::move(from); - } - - inline CGameNetworkingUI_ConnectionSummary& operator=(const CGameNetworkingUI_ConnectionSummary& from) { - CopyFrom(from); - return *this; - } - inline CGameNetworkingUI_ConnectionSummary& operator=(CGameNetworkingUI_ConnectionSummary&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGameNetworkingUI_ConnectionSummary& default_instance() { - return *internal_default_instance(); - } - static inline const CGameNetworkingUI_ConnectionSummary* internal_default_instance() { - return reinterpret_cast( - &_CGameNetworkingUI_ConnectionSummary_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CGameNetworkingUI_ConnectionSummary& a, CGameNetworkingUI_ConnectionSummary& b) { - a.Swap(&b); - } - inline void Swap(CGameNetworkingUI_ConnectionSummary* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGameNetworkingUI_ConnectionSummary* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGameNetworkingUI_ConnectionSummary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CGameNetworkingUI_ConnectionSummary& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CGameNetworkingUI_ConnectionSummary& from) { - CGameNetworkingUI_ConnectionSummary::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CGameNetworkingUI_ConnectionSummary* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGameNetworkingUI_ConnectionSummary"; - } - protected: - explicit CGameNetworkingUI_ConnectionSummary(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSdrpopLocalFieldNumber = 2, - kSdrpopRemoteFieldNumber = 3, - kTransportKindFieldNumber = 1, - kPingMsFieldNumber = 4, - kPacketLossFieldNumber = 5, - kPingDefaultInternetRouteFieldNumber = 6, - kIpWasSharedFieldNumber = 7, - kConnectionStateFieldNumber = 8, - }; - // optional string sdrpop_local = 2; - bool has_sdrpop_local() const; - private: - bool _internal_has_sdrpop_local() const; - public: - void clear_sdrpop_local(); - const std::string& sdrpop_local() const; - template - void set_sdrpop_local(ArgT0&& arg0, ArgT... args); - std::string* mutable_sdrpop_local(); - PROTOBUF_NODISCARD std::string* release_sdrpop_local(); - void set_allocated_sdrpop_local(std::string* sdrpop_local); - private: - const std::string& _internal_sdrpop_local() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdrpop_local(const std::string& value); - std::string* _internal_mutable_sdrpop_local(); - public: - - // optional string sdrpop_remote = 3; - bool has_sdrpop_remote() const; - private: - bool _internal_has_sdrpop_remote() const; - public: - void clear_sdrpop_remote(); - const std::string& sdrpop_remote() const; - template - void set_sdrpop_remote(ArgT0&& arg0, ArgT... args); - std::string* mutable_sdrpop_remote(); - PROTOBUF_NODISCARD std::string* release_sdrpop_remote(); - void set_allocated_sdrpop_remote(std::string* sdrpop_remote); - private: - const std::string& _internal_sdrpop_remote() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdrpop_remote(const std::string& value); - std::string* _internal_mutable_sdrpop_remote(); - public: - - // optional uint32 transport_kind = 1; - bool has_transport_kind() const; - private: - bool _internal_has_transport_kind() const; - public: - void clear_transport_kind(); - uint32_t transport_kind() const; - void set_transport_kind(uint32_t value); - private: - uint32_t _internal_transport_kind() const; - void _internal_set_transport_kind(uint32_t value); - public: - - // optional uint32 ping_ms = 4; - bool has_ping_ms() const; - private: - bool _internal_has_ping_ms() const; - public: - void clear_ping_ms(); - uint32_t ping_ms() const; - void set_ping_ms(uint32_t value); - private: - uint32_t _internal_ping_ms() const; - void _internal_set_ping_ms(uint32_t value); - public: - - // optional float packet_loss = 5; - bool has_packet_loss() const; - private: - bool _internal_has_packet_loss() const; - public: - void clear_packet_loss(); - float packet_loss() const; - void set_packet_loss(float value); - private: - float _internal_packet_loss() const; - void _internal_set_packet_loss(float value); - public: - - // optional uint32 ping_default_internet_route = 6; - bool has_ping_default_internet_route() const; - private: - bool _internal_has_ping_default_internet_route() const; - public: - void clear_ping_default_internet_route(); - uint32_t ping_default_internet_route() const; - void set_ping_default_internet_route(uint32_t value); - private: - uint32_t _internal_ping_default_internet_route() const; - void _internal_set_ping_default_internet_route(uint32_t value); - public: - - // optional bool ip_was_shared = 7; - bool has_ip_was_shared() const; - private: - bool _internal_has_ip_was_shared() const; - public: - void clear_ip_was_shared(); - bool ip_was_shared() const; - void set_ip_was_shared(bool value); - private: - bool _internal_ip_was_shared() const; - void _internal_set_ip_was_shared(bool value); - public: - - // optional uint32 connection_state = 8; - bool has_connection_state() const; - private: - bool _internal_has_connection_state() const; - public: - void clear_connection_state(); - uint32_t connection_state() const; - void set_connection_state(uint32_t value); - private: - uint32_t _internal_connection_state() const; - void _internal_set_connection_state(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CGameNetworkingUI_ConnectionSummary) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdrpop_local_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdrpop_remote_; - uint32_t transport_kind_; - uint32_t ping_ms_; - float packet_loss_; - uint32_t ping_default_internet_route_; - bool ip_was_shared_; - uint32_t connection_state_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fgamenetworkingui_2eproto; -}; -// ------------------------------------------------------------------- - -class CGameNetworkingUI_AppSummary : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CGameNetworkingUI_AppSummary) */ { - public: - inline CGameNetworkingUI_AppSummary() : CGameNetworkingUI_AppSummary(nullptr) {} - ~CGameNetworkingUI_AppSummary() override; - explicit PROTOBUF_CONSTEXPR CGameNetworkingUI_AppSummary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CGameNetworkingUI_AppSummary(const CGameNetworkingUI_AppSummary& from); - CGameNetworkingUI_AppSummary(CGameNetworkingUI_AppSummary&& from) noexcept - : CGameNetworkingUI_AppSummary() { - *this = ::std::move(from); - } - - inline CGameNetworkingUI_AppSummary& operator=(const CGameNetworkingUI_AppSummary& from) { - CopyFrom(from); - return *this; - } - inline CGameNetworkingUI_AppSummary& operator=(CGameNetworkingUI_AppSummary&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CGameNetworkingUI_AppSummary& default_instance() { - return *internal_default_instance(); - } - static inline const CGameNetworkingUI_AppSummary* internal_default_instance() { - return reinterpret_cast( - &_CGameNetworkingUI_AppSummary_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CGameNetworkingUI_AppSummary& a, CGameNetworkingUI_AppSummary& b) { - a.Swap(&b); - } - inline void Swap(CGameNetworkingUI_AppSummary* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CGameNetworkingUI_AppSummary* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CGameNetworkingUI_AppSummary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CGameNetworkingUI_AppSummary& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CGameNetworkingUI_AppSummary& from) { - CGameNetworkingUI_AppSummary::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CGameNetworkingUI_AppSummary* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CGameNetworkingUI_AppSummary"; - } - protected: - explicit CGameNetworkingUI_AppSummary(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMainCxnFieldNumber = 30, - kAppidFieldNumber = 1, - kIpWasSharedWithFriendFieldNumber = 10, - kIpWasSharedWithNonfriendFieldNumber = 11, - kActiveConnectionsFieldNumber = 20, - }; - // optional .CGameNetworkingUI_ConnectionSummary main_cxn = 30; - bool has_main_cxn() const; - private: - bool _internal_has_main_cxn() const; - public: - void clear_main_cxn(); - const ::CGameNetworkingUI_ConnectionSummary& main_cxn() const; - PROTOBUF_NODISCARD ::CGameNetworkingUI_ConnectionSummary* release_main_cxn(); - ::CGameNetworkingUI_ConnectionSummary* mutable_main_cxn(); - void set_allocated_main_cxn(::CGameNetworkingUI_ConnectionSummary* main_cxn); - private: - const ::CGameNetworkingUI_ConnectionSummary& _internal_main_cxn() const; - ::CGameNetworkingUI_ConnectionSummary* _internal_mutable_main_cxn(); - public: - void unsafe_arena_set_allocated_main_cxn( - ::CGameNetworkingUI_ConnectionSummary* main_cxn); - ::CGameNetworkingUI_ConnectionSummary* unsafe_arena_release_main_cxn(); - - // optional uint32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional bool ip_was_shared_with_friend = 10; - bool has_ip_was_shared_with_friend() const; - private: - bool _internal_has_ip_was_shared_with_friend() const; - public: - void clear_ip_was_shared_with_friend(); - bool ip_was_shared_with_friend() const; - void set_ip_was_shared_with_friend(bool value); - private: - bool _internal_ip_was_shared_with_friend() const; - void _internal_set_ip_was_shared_with_friend(bool value); - public: - - // optional bool ip_was_shared_with_nonfriend = 11; - bool has_ip_was_shared_with_nonfriend() const; - private: - bool _internal_has_ip_was_shared_with_nonfriend() const; - public: - void clear_ip_was_shared_with_nonfriend(); - bool ip_was_shared_with_nonfriend() const; - void set_ip_was_shared_with_nonfriend(bool value); - private: - bool _internal_ip_was_shared_with_nonfriend() const; - void _internal_set_ip_was_shared_with_nonfriend(bool value); - public: - - // optional uint32 active_connections = 20; - bool has_active_connections() const; - private: - bool _internal_has_active_connections() const; - public: - void clear_active_connections(); - uint32_t active_connections() const; - void set_active_connections(uint32_t value); - private: - uint32_t _internal_active_connections() const; - void _internal_set_active_connections(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CGameNetworkingUI_AppSummary) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CGameNetworkingUI_ConnectionSummary* main_cxn_; - uint32_t appid_; - bool ip_was_shared_with_friend_; - bool ip_was_shared_with_nonfriend_; - uint32_t active_connections_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fgamenetworkingui_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CGameNetworkingUI_GlobalState - -// ------------------------------------------------------------------- - -// CGameNetworkingUI_ConnectionState - -// optional string connection_key = 1; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_connection_key() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_connection_key() const { - return _internal_has_connection_key(); -} -inline void CGameNetworkingUI_ConnectionState::clear_connection_key() { - _impl_.connection_key_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CGameNetworkingUI_ConnectionState::connection_key() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.connection_key) - return _internal_connection_key(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CGameNetworkingUI_ConnectionState::set_connection_key(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.connection_key_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.connection_key) -} -inline std::string* CGameNetworkingUI_ConnectionState::mutable_connection_key() { - std::string* _s = _internal_mutable_connection_key(); - // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.connection_key) - return _s; -} -inline const std::string& CGameNetworkingUI_ConnectionState::_internal_connection_key() const { - return _impl_.connection_key_.Get(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_connection_key(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.connection_key_.Set(value, GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionState::_internal_mutable_connection_key() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.connection_key_.Mutable(GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionState::release_connection_key() { - // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.connection_key) - if (!_internal_has_connection_key()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.connection_key_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.connection_key_.IsDefault()) { - _impl_.connection_key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CGameNetworkingUI_ConnectionState::set_allocated_connection_key(std::string* connection_key) { - if (connection_key != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.connection_key_.SetAllocated(connection_key, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.connection_key_.IsDefault()) { - _impl_.connection_key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.connection_key) -} - -// optional uint32 appid = 2; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_appid() const { - return _internal_has_appid(); -} -inline void CGameNetworkingUI_ConnectionState::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CGameNetworkingUI_ConnectionState::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CGameNetworkingUI_ConnectionState::appid() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.appid) - return _internal_appid(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.appid_ = value; -} -inline void CGameNetworkingUI_ConnectionState::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.appid) -} - -// optional fixed32 connection_id_local = 3; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_connection_id_local() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_connection_id_local() const { - return _internal_has_connection_id_local(); -} -inline void CGameNetworkingUI_ConnectionState::clear_connection_id_local() { - _impl_.connection_id_local_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CGameNetworkingUI_ConnectionState::_internal_connection_id_local() const { - return _impl_.connection_id_local_; -} -inline uint32_t CGameNetworkingUI_ConnectionState::connection_id_local() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.connection_id_local) - return _internal_connection_id_local(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_connection_id_local(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.connection_id_local_ = value; -} -inline void CGameNetworkingUI_ConnectionState::set_connection_id_local(uint32_t value) { - _internal_set_connection_id_local(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.connection_id_local) -} - -// optional string identity_local = 4; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_identity_local() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_identity_local() const { - return _internal_has_identity_local(); -} -inline void CGameNetworkingUI_ConnectionState::clear_identity_local() { - _impl_.identity_local_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CGameNetworkingUI_ConnectionState::identity_local() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.identity_local) - return _internal_identity_local(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CGameNetworkingUI_ConnectionState::set_identity_local(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.identity_local_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.identity_local) -} -inline std::string* CGameNetworkingUI_ConnectionState::mutable_identity_local() { - std::string* _s = _internal_mutable_identity_local(); - // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.identity_local) - return _s; -} -inline const std::string& CGameNetworkingUI_ConnectionState::_internal_identity_local() const { - return _impl_.identity_local_.Get(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_identity_local(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.identity_local_.Set(value, GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionState::_internal_mutable_identity_local() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.identity_local_.Mutable(GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionState::release_identity_local() { - // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.identity_local) - if (!_internal_has_identity_local()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.identity_local_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.identity_local_.IsDefault()) { - _impl_.identity_local_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CGameNetworkingUI_ConnectionState::set_allocated_identity_local(std::string* identity_local) { - if (identity_local != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.identity_local_.SetAllocated(identity_local, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.identity_local_.IsDefault()) { - _impl_.identity_local_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.identity_local) -} - -// optional string identity_remote = 5; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_identity_remote() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_identity_remote() const { - return _internal_has_identity_remote(); -} -inline void CGameNetworkingUI_ConnectionState::clear_identity_remote() { - _impl_.identity_remote_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CGameNetworkingUI_ConnectionState::identity_remote() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.identity_remote) - return _internal_identity_remote(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CGameNetworkingUI_ConnectionState::set_identity_remote(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.identity_remote_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.identity_remote) -} -inline std::string* CGameNetworkingUI_ConnectionState::mutable_identity_remote() { - std::string* _s = _internal_mutable_identity_remote(); - // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.identity_remote) - return _s; -} -inline const std::string& CGameNetworkingUI_ConnectionState::_internal_identity_remote() const { - return _impl_.identity_remote_.Get(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_identity_remote(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.identity_remote_.Set(value, GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionState::_internal_mutable_identity_remote() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.identity_remote_.Mutable(GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionState::release_identity_remote() { - // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.identity_remote) - if (!_internal_has_identity_remote()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.identity_remote_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.identity_remote_.IsDefault()) { - _impl_.identity_remote_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CGameNetworkingUI_ConnectionState::set_allocated_identity_remote(std::string* identity_remote) { - if (identity_remote != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.identity_remote_.SetAllocated(identity_remote, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.identity_remote_.IsDefault()) { - _impl_.identity_remote_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.identity_remote) -} - -// optional uint32 connection_state = 10; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_connection_state() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_connection_state() const { - return _internal_has_connection_state(); -} -inline void CGameNetworkingUI_ConnectionState::clear_connection_state() { - _impl_.connection_state_ = 0u; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint32_t CGameNetworkingUI_ConnectionState::_internal_connection_state() const { - return _impl_.connection_state_; -} -inline uint32_t CGameNetworkingUI_ConnectionState::connection_state() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.connection_state) - return _internal_connection_state(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_connection_state(uint32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.connection_state_ = value; -} -inline void CGameNetworkingUI_ConnectionState::set_connection_state(uint32_t value) { - _internal_set_connection_state(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.connection_state) -} - -// optional uint32 start_time = 12; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_start_time() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_start_time() const { - return _internal_has_start_time(); -} -inline void CGameNetworkingUI_ConnectionState::clear_start_time() { - _impl_.start_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline uint32_t CGameNetworkingUI_ConnectionState::_internal_start_time() const { - return _impl_.start_time_; -} -inline uint32_t CGameNetworkingUI_ConnectionState::start_time() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.start_time) - return _internal_start_time(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_start_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.start_time_ = value; -} -inline void CGameNetworkingUI_ConnectionState::set_start_time(uint32_t value) { - _internal_set_start_time(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.start_time) -} - -// optional uint32 close_time = 13; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_close_time() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_close_time() const { - return _internal_has_close_time(); -} -inline void CGameNetworkingUI_ConnectionState::clear_close_time() { - _impl_.close_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline uint32_t CGameNetworkingUI_ConnectionState::_internal_close_time() const { - return _impl_.close_time_; -} -inline uint32_t CGameNetworkingUI_ConnectionState::close_time() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.close_time) - return _internal_close_time(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_close_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.close_time_ = value; -} -inline void CGameNetworkingUI_ConnectionState::set_close_time(uint32_t value) { - _internal_set_close_time(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.close_time) -} - -// optional uint32 close_reason = 14; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_close_reason() const { - bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_close_reason() const { - return _internal_has_close_reason(); -} -inline void CGameNetworkingUI_ConnectionState::clear_close_reason() { - _impl_.close_reason_ = 0u; - _impl_._has_bits_[0] &= ~0x00040000u; -} -inline uint32_t CGameNetworkingUI_ConnectionState::_internal_close_reason() const { - return _impl_.close_reason_; -} -inline uint32_t CGameNetworkingUI_ConnectionState::close_reason() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.close_reason) - return _internal_close_reason(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_close_reason(uint32_t value) { - _impl_._has_bits_[0] |= 0x00040000u; - _impl_.close_reason_ = value; -} -inline void CGameNetworkingUI_ConnectionState::set_close_reason(uint32_t value) { - _internal_set_close_reason(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.close_reason) -} - -// optional string close_message = 15; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_close_message() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_close_message() const { - return _internal_has_close_message(); -} -inline void CGameNetworkingUI_ConnectionState::clear_close_message() { - _impl_.close_message_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CGameNetworkingUI_ConnectionState::close_message() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.close_message) - return _internal_close_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CGameNetworkingUI_ConnectionState::set_close_message(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.close_message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.close_message) -} -inline std::string* CGameNetworkingUI_ConnectionState::mutable_close_message() { - std::string* _s = _internal_mutable_close_message(); - // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.close_message) - return _s; -} -inline const std::string& CGameNetworkingUI_ConnectionState::_internal_close_message() const { - return _impl_.close_message_.Get(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_close_message(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.close_message_.Set(value, GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionState::_internal_mutable_close_message() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.close_message_.Mutable(GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionState::release_close_message() { - // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.close_message) - if (!_internal_has_close_message()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.close_message_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.close_message_.IsDefault()) { - _impl_.close_message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CGameNetworkingUI_ConnectionState::set_allocated_close_message(std::string* close_message) { - if (close_message != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.close_message_.SetAllocated(close_message, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.close_message_.IsDefault()) { - _impl_.close_message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.close_message) -} - -// optional string status_loc_token = 16; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_status_loc_token() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_status_loc_token() const { - return _internal_has_status_loc_token(); -} -inline void CGameNetworkingUI_ConnectionState::clear_status_loc_token() { - _impl_.status_loc_token_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const std::string& CGameNetworkingUI_ConnectionState::status_loc_token() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.status_loc_token) - return _internal_status_loc_token(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CGameNetworkingUI_ConnectionState::set_status_loc_token(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.status_loc_token_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.status_loc_token) -} -inline std::string* CGameNetworkingUI_ConnectionState::mutable_status_loc_token() { - std::string* _s = _internal_mutable_status_loc_token(); - // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.status_loc_token) - return _s; -} -inline const std::string& CGameNetworkingUI_ConnectionState::_internal_status_loc_token() const { - return _impl_.status_loc_token_.Get(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_status_loc_token(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.status_loc_token_.Set(value, GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionState::_internal_mutable_status_loc_token() { - _impl_._has_bits_[0] |= 0x00000010u; - return _impl_.status_loc_token_.Mutable(GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionState::release_status_loc_token() { - // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.status_loc_token) - if (!_internal_has_status_loc_token()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000010u; - auto* p = _impl_.status_loc_token_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.status_loc_token_.IsDefault()) { - _impl_.status_loc_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CGameNetworkingUI_ConnectionState::set_allocated_status_loc_token(std::string* status_loc_token) { - if (status_loc_token != nullptr) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.status_loc_token_.SetAllocated(status_loc_token, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.status_loc_token_.IsDefault()) { - _impl_.status_loc_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.status_loc_token) -} - -// optional uint32 transport_kind = 20; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_transport_kind() const { - bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_transport_kind() const { - return _internal_has_transport_kind(); -} -inline void CGameNetworkingUI_ConnectionState::clear_transport_kind() { - _impl_.transport_kind_ = 0u; - _impl_._has_bits_[0] &= ~0x00080000u; -} -inline uint32_t CGameNetworkingUI_ConnectionState::_internal_transport_kind() const { - return _impl_.transport_kind_; -} -inline uint32_t CGameNetworkingUI_ConnectionState::transport_kind() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.transport_kind) - return _internal_transport_kind(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_transport_kind(uint32_t value) { - _impl_._has_bits_[0] |= 0x00080000u; - _impl_.transport_kind_ = value; -} -inline void CGameNetworkingUI_ConnectionState::set_transport_kind(uint32_t value) { - _internal_set_transport_kind(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.transport_kind) -} - -// optional string sdrpopid_local = 21; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_sdrpopid_local() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_sdrpopid_local() const { - return _internal_has_sdrpopid_local(); -} -inline void CGameNetworkingUI_ConnectionState::clear_sdrpopid_local() { - _impl_.sdrpopid_local_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline const std::string& CGameNetworkingUI_ConnectionState::sdrpopid_local() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.sdrpopid_local) - return _internal_sdrpopid_local(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CGameNetworkingUI_ConnectionState::set_sdrpopid_local(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.sdrpopid_local_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.sdrpopid_local) -} -inline std::string* CGameNetworkingUI_ConnectionState::mutable_sdrpopid_local() { - std::string* _s = _internal_mutable_sdrpopid_local(); - // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.sdrpopid_local) - return _s; -} -inline const std::string& CGameNetworkingUI_ConnectionState::_internal_sdrpopid_local() const { - return _impl_.sdrpopid_local_.Get(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_sdrpopid_local(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.sdrpopid_local_.Set(value, GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionState::_internal_mutable_sdrpopid_local() { - _impl_._has_bits_[0] |= 0x00000020u; - return _impl_.sdrpopid_local_.Mutable(GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionState::release_sdrpopid_local() { - // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.sdrpopid_local) - if (!_internal_has_sdrpopid_local()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000020u; - auto* p = _impl_.sdrpopid_local_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sdrpopid_local_.IsDefault()) { - _impl_.sdrpopid_local_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CGameNetworkingUI_ConnectionState::set_allocated_sdrpopid_local(std::string* sdrpopid_local) { - if (sdrpopid_local != nullptr) { - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - _impl_.sdrpopid_local_.SetAllocated(sdrpopid_local, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sdrpopid_local_.IsDefault()) { - _impl_.sdrpopid_local_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.sdrpopid_local) -} - -// optional string sdrpopid_remote = 22; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_sdrpopid_remote() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_sdrpopid_remote() const { - return _internal_has_sdrpopid_remote(); -} -inline void CGameNetworkingUI_ConnectionState::clear_sdrpopid_remote() { - _impl_.sdrpopid_remote_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline const std::string& CGameNetworkingUI_ConnectionState::sdrpopid_remote() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.sdrpopid_remote) - return _internal_sdrpopid_remote(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CGameNetworkingUI_ConnectionState::set_sdrpopid_remote(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.sdrpopid_remote_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.sdrpopid_remote) -} -inline std::string* CGameNetworkingUI_ConnectionState::mutable_sdrpopid_remote() { - std::string* _s = _internal_mutable_sdrpopid_remote(); - // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.sdrpopid_remote) - return _s; -} -inline const std::string& CGameNetworkingUI_ConnectionState::_internal_sdrpopid_remote() const { - return _impl_.sdrpopid_remote_.Get(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_sdrpopid_remote(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.sdrpopid_remote_.Set(value, GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionState::_internal_mutable_sdrpopid_remote() { - _impl_._has_bits_[0] |= 0x00000040u; - return _impl_.sdrpopid_remote_.Mutable(GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionState::release_sdrpopid_remote() { - // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.sdrpopid_remote) - if (!_internal_has_sdrpopid_remote()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000040u; - auto* p = _impl_.sdrpopid_remote_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sdrpopid_remote_.IsDefault()) { - _impl_.sdrpopid_remote_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CGameNetworkingUI_ConnectionState::set_allocated_sdrpopid_remote(std::string* sdrpopid_remote) { - if (sdrpopid_remote != nullptr) { - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - _impl_.sdrpopid_remote_.SetAllocated(sdrpopid_remote, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sdrpopid_remote_.IsDefault()) { - _impl_.sdrpopid_remote_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.sdrpopid_remote) -} - -// optional string address_remote = 23; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_address_remote() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_address_remote() const { - return _internal_has_address_remote(); -} -inline void CGameNetworkingUI_ConnectionState::clear_address_remote() { - _impl_.address_remote_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline const std::string& CGameNetworkingUI_ConnectionState::address_remote() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.address_remote) - return _internal_address_remote(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CGameNetworkingUI_ConnectionState::set_address_remote(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.address_remote_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.address_remote) -} -inline std::string* CGameNetworkingUI_ConnectionState::mutable_address_remote() { - std::string* _s = _internal_mutable_address_remote(); - // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.address_remote) - return _s; -} -inline const std::string& CGameNetworkingUI_ConnectionState::_internal_address_remote() const { - return _impl_.address_remote_.Get(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_address_remote(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.address_remote_.Set(value, GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionState::_internal_mutable_address_remote() { - _impl_._has_bits_[0] |= 0x00000080u; - return _impl_.address_remote_.Mutable(GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionState::release_address_remote() { - // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.address_remote) - if (!_internal_has_address_remote()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000080u; - auto* p = _impl_.address_remote_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.address_remote_.IsDefault()) { - _impl_.address_remote_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CGameNetworkingUI_ConnectionState::set_allocated_address_remote(std::string* address_remote) { - if (address_remote != nullptr) { - _impl_._has_bits_[0] |= 0x00000080u; - } else { - _impl_._has_bits_[0] &= ~0x00000080u; - } - _impl_.address_remote_.SetAllocated(address_remote, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.address_remote_.IsDefault()) { - _impl_.address_remote_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.address_remote) -} - -// optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing = 24; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_p2p_routing() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - PROTOBUF_ASSUME(!value || _impl_.p2p_routing_ != nullptr); - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_p2p_routing() const { - return _internal_has_p2p_routing(); -} -inline const ::CMsgSteamDatagramP2PRoutingSummary& CGameNetworkingUI_ConnectionState::_internal_p2p_routing() const { - const ::CMsgSteamDatagramP2PRoutingSummary* p = _impl_.p2p_routing_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramP2PRoutingSummary_default_instance_); -} -inline const ::CMsgSteamDatagramP2PRoutingSummary& CGameNetworkingUI_ConnectionState::p2p_routing() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.p2p_routing) - return _internal_p2p_routing(); -} -inline void CGameNetworkingUI_ConnectionState::unsafe_arena_set_allocated_p2p_routing( - ::CMsgSteamDatagramP2PRoutingSummary* p2p_routing) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.p2p_routing_); - } - _impl_.p2p_routing_ = p2p_routing; - if (p2p_routing) { - _impl_._has_bits_[0] |= 0x00000100u; - } else { - _impl_._has_bits_[0] &= ~0x00000100u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CGameNetworkingUI_ConnectionState.p2p_routing) -} -inline ::CMsgSteamDatagramP2PRoutingSummary* CGameNetworkingUI_ConnectionState::release_p2p_routing() { - _impl_._has_bits_[0] &= ~0x00000100u; - ::CMsgSteamDatagramP2PRoutingSummary* temp = _impl_.p2p_routing_; - _impl_.p2p_routing_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramP2PRoutingSummary* CGameNetworkingUI_ConnectionState::unsafe_arena_release_p2p_routing() { - // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.p2p_routing) - _impl_._has_bits_[0] &= ~0x00000100u; - ::CMsgSteamDatagramP2PRoutingSummary* temp = _impl_.p2p_routing_; - _impl_.p2p_routing_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramP2PRoutingSummary* CGameNetworkingUI_ConnectionState::_internal_mutable_p2p_routing() { - _impl_._has_bits_[0] |= 0x00000100u; - if (_impl_.p2p_routing_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramP2PRoutingSummary>(GetArenaForAllocation()); - _impl_.p2p_routing_ = p; - } - return _impl_.p2p_routing_; -} -inline ::CMsgSteamDatagramP2PRoutingSummary* CGameNetworkingUI_ConnectionState::mutable_p2p_routing() { - ::CMsgSteamDatagramP2PRoutingSummary* _msg = _internal_mutable_p2p_routing(); - // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.p2p_routing) - return _msg; -} -inline void CGameNetworkingUI_ConnectionState::set_allocated_p2p_routing(::CMsgSteamDatagramP2PRoutingSummary* p2p_routing) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.p2p_routing_); - } - if (p2p_routing) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(p2p_routing)); - if (message_arena != submessage_arena) { - p2p_routing = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, p2p_routing, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000100u; - } else { - _impl_._has_bits_[0] &= ~0x00000100u; - } - _impl_.p2p_routing_ = p2p_routing; - // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.p2p_routing) -} - -// optional uint32 ping_interior = 25; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_ping_interior() const { - bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_ping_interior() const { - return _internal_has_ping_interior(); -} -inline void CGameNetworkingUI_ConnectionState::clear_ping_interior() { - _impl_.ping_interior_ = 0u; - _impl_._has_bits_[0] &= ~0x00100000u; -} -inline uint32_t CGameNetworkingUI_ConnectionState::_internal_ping_interior() const { - return _impl_.ping_interior_; -} -inline uint32_t CGameNetworkingUI_ConnectionState::ping_interior() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.ping_interior) - return _internal_ping_interior(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_ping_interior(uint32_t value) { - _impl_._has_bits_[0] |= 0x00100000u; - _impl_.ping_interior_ = value; -} -inline void CGameNetworkingUI_ConnectionState::set_ping_interior(uint32_t value) { - _internal_set_ping_interior(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.ping_interior) -} - -// optional uint32 ping_remote_front = 26; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_ping_remote_front() const { - bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_ping_remote_front() const { - return _internal_has_ping_remote_front(); -} -inline void CGameNetworkingUI_ConnectionState::clear_ping_remote_front() { - _impl_.ping_remote_front_ = 0u; - _impl_._has_bits_[0] &= ~0x00200000u; -} -inline uint32_t CGameNetworkingUI_ConnectionState::_internal_ping_remote_front() const { - return _impl_.ping_remote_front_; -} -inline uint32_t CGameNetworkingUI_ConnectionState::ping_remote_front() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.ping_remote_front) - return _internal_ping_remote_front(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_ping_remote_front(uint32_t value) { - _impl_._has_bits_[0] |= 0x00200000u; - _impl_.ping_remote_front_ = value; -} -inline void CGameNetworkingUI_ConnectionState::set_ping_remote_front(uint32_t value) { - _internal_set_ping_remote_front(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.ping_remote_front) -} - -// optional uint32 ping_default_internet_route = 27; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_ping_default_internet_route() const { - bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_ping_default_internet_route() const { - return _internal_has_ping_default_internet_route(); -} -inline void CGameNetworkingUI_ConnectionState::clear_ping_default_internet_route() { - _impl_.ping_default_internet_route_ = 0u; - _impl_._has_bits_[0] &= ~0x00400000u; -} -inline uint32_t CGameNetworkingUI_ConnectionState::_internal_ping_default_internet_route() const { - return _impl_.ping_default_internet_route_; -} -inline uint32_t CGameNetworkingUI_ConnectionState::ping_default_internet_route() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.ping_default_internet_route) - return _internal_ping_default_internet_route(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_ping_default_internet_route(uint32_t value) { - _impl_._has_bits_[0] |= 0x00400000u; - _impl_.ping_default_internet_route_ = value; -} -inline void CGameNetworkingUI_ConnectionState::set_ping_default_internet_route(uint32_t value) { - _internal_set_ping_default_internet_route(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.ping_default_internet_route) -} - -// optional .CMsgSteamDatagramConnectionQuality e2e_quality_local = 30; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_e2e_quality_local() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - PROTOBUF_ASSUME(!value || _impl_.e2e_quality_local_ != nullptr); - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_e2e_quality_local() const { - return _internal_has_e2e_quality_local(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CGameNetworkingUI_ConnectionState::_internal_e2e_quality_local() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.e2e_quality_local_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CGameNetworkingUI_ConnectionState::e2e_quality_local() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.e2e_quality_local) - return _internal_e2e_quality_local(); -} -inline void CGameNetworkingUI_ConnectionState::unsafe_arena_set_allocated_e2e_quality_local( - ::CMsgSteamDatagramConnectionQuality* e2e_quality_local) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.e2e_quality_local_); - } - _impl_.e2e_quality_local_ = e2e_quality_local; - if (e2e_quality_local) { - _impl_._has_bits_[0] |= 0x00000200u; - } else { - _impl_._has_bits_[0] &= ~0x00000200u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CGameNetworkingUI_ConnectionState.e2e_quality_local) -} -inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::release_e2e_quality_local() { - _impl_._has_bits_[0] &= ~0x00000200u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.e2e_quality_local_; - _impl_.e2e_quality_local_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::unsafe_arena_release_e2e_quality_local() { - // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.e2e_quality_local) - _impl_._has_bits_[0] &= ~0x00000200u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.e2e_quality_local_; - _impl_.e2e_quality_local_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::_internal_mutable_e2e_quality_local() { - _impl_._has_bits_[0] |= 0x00000200u; - if (_impl_.e2e_quality_local_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.e2e_quality_local_ = p; - } - return _impl_.e2e_quality_local_; -} -inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::mutable_e2e_quality_local() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_e2e_quality_local(); - // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.e2e_quality_local) - return _msg; -} -inline void CGameNetworkingUI_ConnectionState::set_allocated_e2e_quality_local(::CMsgSteamDatagramConnectionQuality* e2e_quality_local) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.e2e_quality_local_); - } - if (e2e_quality_local) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(e2e_quality_local)); - if (message_arena != submessage_arena) { - e2e_quality_local = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, e2e_quality_local, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000200u; - } else { - _impl_._has_bits_[0] &= ~0x00000200u; - } - _impl_.e2e_quality_local_ = e2e_quality_local; - // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.e2e_quality_local) -} - -// optional .CMsgSteamDatagramConnectionQuality e2e_quality_remote = 31; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_e2e_quality_remote() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - PROTOBUF_ASSUME(!value || _impl_.e2e_quality_remote_ != nullptr); - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_e2e_quality_remote() const { - return _internal_has_e2e_quality_remote(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CGameNetworkingUI_ConnectionState::_internal_e2e_quality_remote() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.e2e_quality_remote_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CGameNetworkingUI_ConnectionState::e2e_quality_remote() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.e2e_quality_remote) - return _internal_e2e_quality_remote(); -} -inline void CGameNetworkingUI_ConnectionState::unsafe_arena_set_allocated_e2e_quality_remote( - ::CMsgSteamDatagramConnectionQuality* e2e_quality_remote) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.e2e_quality_remote_); - } - _impl_.e2e_quality_remote_ = e2e_quality_remote; - if (e2e_quality_remote) { - _impl_._has_bits_[0] |= 0x00000400u; - } else { - _impl_._has_bits_[0] &= ~0x00000400u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CGameNetworkingUI_ConnectionState.e2e_quality_remote) -} -inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::release_e2e_quality_remote() { - _impl_._has_bits_[0] &= ~0x00000400u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.e2e_quality_remote_; - _impl_.e2e_quality_remote_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::unsafe_arena_release_e2e_quality_remote() { - // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.e2e_quality_remote) - _impl_._has_bits_[0] &= ~0x00000400u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.e2e_quality_remote_; - _impl_.e2e_quality_remote_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::_internal_mutable_e2e_quality_remote() { - _impl_._has_bits_[0] |= 0x00000400u; - if (_impl_.e2e_quality_remote_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.e2e_quality_remote_ = p; - } - return _impl_.e2e_quality_remote_; -} -inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::mutable_e2e_quality_remote() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_e2e_quality_remote(); - // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.e2e_quality_remote) - return _msg; -} -inline void CGameNetworkingUI_ConnectionState::set_allocated_e2e_quality_remote(::CMsgSteamDatagramConnectionQuality* e2e_quality_remote) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.e2e_quality_remote_); - } - if (e2e_quality_remote) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(e2e_quality_remote)); - if (message_arena != submessage_arena) { - e2e_quality_remote = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, e2e_quality_remote, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000400u; - } else { - _impl_._has_bits_[0] &= ~0x00000400u; - } - _impl_.e2e_quality_remote_ = e2e_quality_remote; - // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.e2e_quality_remote) -} - -// optional uint64 e2e_quality_remote_instantaneous_time = 32; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_e2e_quality_remote_instantaneous_time() const { - bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_e2e_quality_remote_instantaneous_time() const { - return _internal_has_e2e_quality_remote_instantaneous_time(); -} -inline void CGameNetworkingUI_ConnectionState::clear_e2e_quality_remote_instantaneous_time() { - _impl_.e2e_quality_remote_instantaneous_time_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00800000u; -} -inline uint64_t CGameNetworkingUI_ConnectionState::_internal_e2e_quality_remote_instantaneous_time() const { - return _impl_.e2e_quality_remote_instantaneous_time_; -} -inline uint64_t CGameNetworkingUI_ConnectionState::e2e_quality_remote_instantaneous_time() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.e2e_quality_remote_instantaneous_time) - return _internal_e2e_quality_remote_instantaneous_time(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_e2e_quality_remote_instantaneous_time(uint64_t value) { - _impl_._has_bits_[0] |= 0x00800000u; - _impl_.e2e_quality_remote_instantaneous_time_ = value; -} -inline void CGameNetworkingUI_ConnectionState::set_e2e_quality_remote_instantaneous_time(uint64_t value) { - _internal_set_e2e_quality_remote_instantaneous_time(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.e2e_quality_remote_instantaneous_time) -} - -// optional uint64 e2e_quality_remote_lifetime_time = 33; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_e2e_quality_remote_lifetime_time() const { - bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_e2e_quality_remote_lifetime_time() const { - return _internal_has_e2e_quality_remote_lifetime_time(); -} -inline void CGameNetworkingUI_ConnectionState::clear_e2e_quality_remote_lifetime_time() { - _impl_.e2e_quality_remote_lifetime_time_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x01000000u; -} -inline uint64_t CGameNetworkingUI_ConnectionState::_internal_e2e_quality_remote_lifetime_time() const { - return _impl_.e2e_quality_remote_lifetime_time_; -} -inline uint64_t CGameNetworkingUI_ConnectionState::e2e_quality_remote_lifetime_time() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.e2e_quality_remote_lifetime_time) - return _internal_e2e_quality_remote_lifetime_time(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_e2e_quality_remote_lifetime_time(uint64_t value) { - _impl_._has_bits_[0] |= 0x01000000u; - _impl_.e2e_quality_remote_lifetime_time_ = value; -} -inline void CGameNetworkingUI_ConnectionState::set_e2e_quality_remote_lifetime_time(uint64_t value) { - _internal_set_e2e_quality_remote_lifetime_time(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.e2e_quality_remote_lifetime_time) -} - -// optional .CMsgSteamDatagramConnectionQuality front_quality_local = 40; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_front_quality_local() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - PROTOBUF_ASSUME(!value || _impl_.front_quality_local_ != nullptr); - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_front_quality_local() const { - return _internal_has_front_quality_local(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CGameNetworkingUI_ConnectionState::_internal_front_quality_local() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.front_quality_local_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CGameNetworkingUI_ConnectionState::front_quality_local() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.front_quality_local) - return _internal_front_quality_local(); -} -inline void CGameNetworkingUI_ConnectionState::unsafe_arena_set_allocated_front_quality_local( - ::CMsgSteamDatagramConnectionQuality* front_quality_local) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.front_quality_local_); - } - _impl_.front_quality_local_ = front_quality_local; - if (front_quality_local) { - _impl_._has_bits_[0] |= 0x00000800u; - } else { - _impl_._has_bits_[0] &= ~0x00000800u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CGameNetworkingUI_ConnectionState.front_quality_local) -} -inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::release_front_quality_local() { - _impl_._has_bits_[0] &= ~0x00000800u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.front_quality_local_; - _impl_.front_quality_local_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::unsafe_arena_release_front_quality_local() { - // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.front_quality_local) - _impl_._has_bits_[0] &= ~0x00000800u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.front_quality_local_; - _impl_.front_quality_local_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::_internal_mutable_front_quality_local() { - _impl_._has_bits_[0] |= 0x00000800u; - if (_impl_.front_quality_local_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.front_quality_local_ = p; - } - return _impl_.front_quality_local_; -} -inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::mutable_front_quality_local() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_front_quality_local(); - // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.front_quality_local) - return _msg; -} -inline void CGameNetworkingUI_ConnectionState::set_allocated_front_quality_local(::CMsgSteamDatagramConnectionQuality* front_quality_local) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.front_quality_local_); - } - if (front_quality_local) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(front_quality_local)); - if (message_arena != submessage_arena) { - front_quality_local = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, front_quality_local, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000800u; - } else { - _impl_._has_bits_[0] &= ~0x00000800u; - } - _impl_.front_quality_local_ = front_quality_local; - // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.front_quality_local) -} - -// optional .CMsgSteamDatagramConnectionQuality front_quality_remote = 41; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_front_quality_remote() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.front_quality_remote_ != nullptr); - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_front_quality_remote() const { - return _internal_has_front_quality_remote(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CGameNetworkingUI_ConnectionState::_internal_front_quality_remote() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.front_quality_remote_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CGameNetworkingUI_ConnectionState::front_quality_remote() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.front_quality_remote) - return _internal_front_quality_remote(); -} -inline void CGameNetworkingUI_ConnectionState::unsafe_arena_set_allocated_front_quality_remote( - ::CMsgSteamDatagramConnectionQuality* front_quality_remote) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.front_quality_remote_); - } - _impl_.front_quality_remote_ = front_quality_remote; - if (front_quality_remote) { - _impl_._has_bits_[0] |= 0x00001000u; - } else { - _impl_._has_bits_[0] &= ~0x00001000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CGameNetworkingUI_ConnectionState.front_quality_remote) -} -inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::release_front_quality_remote() { - _impl_._has_bits_[0] &= ~0x00001000u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.front_quality_remote_; - _impl_.front_quality_remote_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::unsafe_arena_release_front_quality_remote() { - // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionState.front_quality_remote) - _impl_._has_bits_[0] &= ~0x00001000u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.front_quality_remote_; - _impl_.front_quality_remote_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::_internal_mutable_front_quality_remote() { - _impl_._has_bits_[0] |= 0x00001000u; - if (_impl_.front_quality_remote_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.front_quality_remote_ = p; - } - return _impl_.front_quality_remote_; -} -inline ::CMsgSteamDatagramConnectionQuality* CGameNetworkingUI_ConnectionState::mutable_front_quality_remote() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_front_quality_remote(); - // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionState.front_quality_remote) - return _msg; -} -inline void CGameNetworkingUI_ConnectionState::set_allocated_front_quality_remote(::CMsgSteamDatagramConnectionQuality* front_quality_remote) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.front_quality_remote_); - } - if (front_quality_remote) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(front_quality_remote)); - if (message_arena != submessage_arena) { - front_quality_remote = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, front_quality_remote, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00001000u; - } else { - _impl_._has_bits_[0] &= ~0x00001000u; - } - _impl_.front_quality_remote_ = front_quality_remote; - // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionState.front_quality_remote) -} - -// optional uint64 front_quality_remote_instantaneous_time = 42; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_front_quality_remote_instantaneous_time() const { - bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_front_quality_remote_instantaneous_time() const { - return _internal_has_front_quality_remote_instantaneous_time(); -} -inline void CGameNetworkingUI_ConnectionState::clear_front_quality_remote_instantaneous_time() { - _impl_.front_quality_remote_instantaneous_time_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x02000000u; -} -inline uint64_t CGameNetworkingUI_ConnectionState::_internal_front_quality_remote_instantaneous_time() const { - return _impl_.front_quality_remote_instantaneous_time_; -} -inline uint64_t CGameNetworkingUI_ConnectionState::front_quality_remote_instantaneous_time() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.front_quality_remote_instantaneous_time) - return _internal_front_quality_remote_instantaneous_time(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_front_quality_remote_instantaneous_time(uint64_t value) { - _impl_._has_bits_[0] |= 0x02000000u; - _impl_.front_quality_remote_instantaneous_time_ = value; -} -inline void CGameNetworkingUI_ConnectionState::set_front_quality_remote_instantaneous_time(uint64_t value) { - _internal_set_front_quality_remote_instantaneous_time(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.front_quality_remote_instantaneous_time) -} - -// optional uint64 front_quality_remote_lifetime_time = 43; -inline bool CGameNetworkingUI_ConnectionState::_internal_has_front_quality_remote_lifetime_time() const { - bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionState::has_front_quality_remote_lifetime_time() const { - return _internal_has_front_quality_remote_lifetime_time(); -} -inline void CGameNetworkingUI_ConnectionState::clear_front_quality_remote_lifetime_time() { - _impl_.front_quality_remote_lifetime_time_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x04000000u; -} -inline uint64_t CGameNetworkingUI_ConnectionState::_internal_front_quality_remote_lifetime_time() const { - return _impl_.front_quality_remote_lifetime_time_; -} -inline uint64_t CGameNetworkingUI_ConnectionState::front_quality_remote_lifetime_time() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionState.front_quality_remote_lifetime_time) - return _internal_front_quality_remote_lifetime_time(); -} -inline void CGameNetworkingUI_ConnectionState::_internal_set_front_quality_remote_lifetime_time(uint64_t value) { - _impl_._has_bits_[0] |= 0x04000000u; - _impl_.front_quality_remote_lifetime_time_ = value; -} -inline void CGameNetworkingUI_ConnectionState::set_front_quality_remote_lifetime_time(uint64_t value) { - _internal_set_front_quality_remote_lifetime_time(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionState.front_quality_remote_lifetime_time) -} - -// ------------------------------------------------------------------- - -// CGameNetworkingUI_Message - -// repeated .CGameNetworkingUI_ConnectionState connection_state = 1; -inline int CGameNetworkingUI_Message::_internal_connection_state_size() const { - return _impl_.connection_state_.size(); -} -inline int CGameNetworkingUI_Message::connection_state_size() const { - return _internal_connection_state_size(); -} -inline void CGameNetworkingUI_Message::clear_connection_state() { - _impl_.connection_state_.Clear(); -} -inline ::CGameNetworkingUI_ConnectionState* CGameNetworkingUI_Message::mutable_connection_state(int index) { - // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_Message.connection_state) - return _impl_.connection_state_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameNetworkingUI_ConnectionState >* -CGameNetworkingUI_Message::mutable_connection_state() { - // @@protoc_insertion_point(field_mutable_list:CGameNetworkingUI_Message.connection_state) - return &_impl_.connection_state_; -} -inline const ::CGameNetworkingUI_ConnectionState& CGameNetworkingUI_Message::_internal_connection_state(int index) const { - return _impl_.connection_state_.Get(index); -} -inline const ::CGameNetworkingUI_ConnectionState& CGameNetworkingUI_Message::connection_state(int index) const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_Message.connection_state) - return _internal_connection_state(index); -} -inline ::CGameNetworkingUI_ConnectionState* CGameNetworkingUI_Message::_internal_add_connection_state() { - return _impl_.connection_state_.Add(); -} -inline ::CGameNetworkingUI_ConnectionState* CGameNetworkingUI_Message::add_connection_state() { - ::CGameNetworkingUI_ConnectionState* _add = _internal_add_connection_state(); - // @@protoc_insertion_point(field_add:CGameNetworkingUI_Message.connection_state) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CGameNetworkingUI_ConnectionState >& -CGameNetworkingUI_Message::connection_state() const { - // @@protoc_insertion_point(field_list:CGameNetworkingUI_Message.connection_state) - return _impl_.connection_state_; -} - -// ------------------------------------------------------------------- - -// CGameNetworkingUI_ConnectionSummary - -// optional uint32 transport_kind = 1; -inline bool CGameNetworkingUI_ConnectionSummary::_internal_has_transport_kind() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionSummary::has_transport_kind() const { - return _internal_has_transport_kind(); -} -inline void CGameNetworkingUI_ConnectionSummary::clear_transport_kind() { - _impl_.transport_kind_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CGameNetworkingUI_ConnectionSummary::_internal_transport_kind() const { - return _impl_.transport_kind_; -} -inline uint32_t CGameNetworkingUI_ConnectionSummary::transport_kind() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionSummary.transport_kind) - return _internal_transport_kind(); -} -inline void CGameNetworkingUI_ConnectionSummary::_internal_set_transport_kind(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.transport_kind_ = value; -} -inline void CGameNetworkingUI_ConnectionSummary::set_transport_kind(uint32_t value) { - _internal_set_transport_kind(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionSummary.transport_kind) -} - -// optional uint32 connection_state = 8; -inline bool CGameNetworkingUI_ConnectionSummary::_internal_has_connection_state() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionSummary::has_connection_state() const { - return _internal_has_connection_state(); -} -inline void CGameNetworkingUI_ConnectionSummary::clear_connection_state() { - _impl_.connection_state_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CGameNetworkingUI_ConnectionSummary::_internal_connection_state() const { - return _impl_.connection_state_; -} -inline uint32_t CGameNetworkingUI_ConnectionSummary::connection_state() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionSummary.connection_state) - return _internal_connection_state(); -} -inline void CGameNetworkingUI_ConnectionSummary::_internal_set_connection_state(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.connection_state_ = value; -} -inline void CGameNetworkingUI_ConnectionSummary::set_connection_state(uint32_t value) { - _internal_set_connection_state(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionSummary.connection_state) -} - -// optional string sdrpop_local = 2; -inline bool CGameNetworkingUI_ConnectionSummary::_internal_has_sdrpop_local() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionSummary::has_sdrpop_local() const { - return _internal_has_sdrpop_local(); -} -inline void CGameNetworkingUI_ConnectionSummary::clear_sdrpop_local() { - _impl_.sdrpop_local_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CGameNetworkingUI_ConnectionSummary::sdrpop_local() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionSummary.sdrpop_local) - return _internal_sdrpop_local(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CGameNetworkingUI_ConnectionSummary::set_sdrpop_local(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sdrpop_local_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionSummary.sdrpop_local) -} -inline std::string* CGameNetworkingUI_ConnectionSummary::mutable_sdrpop_local() { - std::string* _s = _internal_mutable_sdrpop_local(); - // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionSummary.sdrpop_local) - return _s; -} -inline const std::string& CGameNetworkingUI_ConnectionSummary::_internal_sdrpop_local() const { - return _impl_.sdrpop_local_.Get(); -} -inline void CGameNetworkingUI_ConnectionSummary::_internal_set_sdrpop_local(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sdrpop_local_.Set(value, GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionSummary::_internal_mutable_sdrpop_local() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.sdrpop_local_.Mutable(GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionSummary::release_sdrpop_local() { - // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionSummary.sdrpop_local) - if (!_internal_has_sdrpop_local()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.sdrpop_local_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sdrpop_local_.IsDefault()) { - _impl_.sdrpop_local_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CGameNetworkingUI_ConnectionSummary::set_allocated_sdrpop_local(std::string* sdrpop_local) { - if (sdrpop_local != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.sdrpop_local_.SetAllocated(sdrpop_local, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sdrpop_local_.IsDefault()) { - _impl_.sdrpop_local_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionSummary.sdrpop_local) -} - -// optional string sdrpop_remote = 3; -inline bool CGameNetworkingUI_ConnectionSummary::_internal_has_sdrpop_remote() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionSummary::has_sdrpop_remote() const { - return _internal_has_sdrpop_remote(); -} -inline void CGameNetworkingUI_ConnectionSummary::clear_sdrpop_remote() { - _impl_.sdrpop_remote_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CGameNetworkingUI_ConnectionSummary::sdrpop_remote() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionSummary.sdrpop_remote) - return _internal_sdrpop_remote(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CGameNetworkingUI_ConnectionSummary::set_sdrpop_remote(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.sdrpop_remote_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionSummary.sdrpop_remote) -} -inline std::string* CGameNetworkingUI_ConnectionSummary::mutable_sdrpop_remote() { - std::string* _s = _internal_mutable_sdrpop_remote(); - // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_ConnectionSummary.sdrpop_remote) - return _s; -} -inline const std::string& CGameNetworkingUI_ConnectionSummary::_internal_sdrpop_remote() const { - return _impl_.sdrpop_remote_.Get(); -} -inline void CGameNetworkingUI_ConnectionSummary::_internal_set_sdrpop_remote(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.sdrpop_remote_.Set(value, GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionSummary::_internal_mutable_sdrpop_remote() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.sdrpop_remote_.Mutable(GetArenaForAllocation()); -} -inline std::string* CGameNetworkingUI_ConnectionSummary::release_sdrpop_remote() { - // @@protoc_insertion_point(field_release:CGameNetworkingUI_ConnectionSummary.sdrpop_remote) - if (!_internal_has_sdrpop_remote()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.sdrpop_remote_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sdrpop_remote_.IsDefault()) { - _impl_.sdrpop_remote_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CGameNetworkingUI_ConnectionSummary::set_allocated_sdrpop_remote(std::string* sdrpop_remote) { - if (sdrpop_remote != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.sdrpop_remote_.SetAllocated(sdrpop_remote, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sdrpop_remote_.IsDefault()) { - _impl_.sdrpop_remote_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_ConnectionSummary.sdrpop_remote) -} - -// optional uint32 ping_ms = 4; -inline bool CGameNetworkingUI_ConnectionSummary::_internal_has_ping_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionSummary::has_ping_ms() const { - return _internal_has_ping_ms(); -} -inline void CGameNetworkingUI_ConnectionSummary::clear_ping_ms() { - _impl_.ping_ms_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CGameNetworkingUI_ConnectionSummary::_internal_ping_ms() const { - return _impl_.ping_ms_; -} -inline uint32_t CGameNetworkingUI_ConnectionSummary::ping_ms() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionSummary.ping_ms) - return _internal_ping_ms(); -} -inline void CGameNetworkingUI_ConnectionSummary::_internal_set_ping_ms(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.ping_ms_ = value; -} -inline void CGameNetworkingUI_ConnectionSummary::set_ping_ms(uint32_t value) { - _internal_set_ping_ms(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionSummary.ping_ms) -} - -// optional float packet_loss = 5; -inline bool CGameNetworkingUI_ConnectionSummary::_internal_has_packet_loss() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionSummary::has_packet_loss() const { - return _internal_has_packet_loss(); -} -inline void CGameNetworkingUI_ConnectionSummary::clear_packet_loss() { - _impl_.packet_loss_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float CGameNetworkingUI_ConnectionSummary::_internal_packet_loss() const { - return _impl_.packet_loss_; -} -inline float CGameNetworkingUI_ConnectionSummary::packet_loss() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionSummary.packet_loss) - return _internal_packet_loss(); -} -inline void CGameNetworkingUI_ConnectionSummary::_internal_set_packet_loss(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.packet_loss_ = value; -} -inline void CGameNetworkingUI_ConnectionSummary::set_packet_loss(float value) { - _internal_set_packet_loss(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionSummary.packet_loss) -} - -// optional uint32 ping_default_internet_route = 6; -inline bool CGameNetworkingUI_ConnectionSummary::_internal_has_ping_default_internet_route() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionSummary::has_ping_default_internet_route() const { - return _internal_has_ping_default_internet_route(); -} -inline void CGameNetworkingUI_ConnectionSummary::clear_ping_default_internet_route() { - _impl_.ping_default_internet_route_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CGameNetworkingUI_ConnectionSummary::_internal_ping_default_internet_route() const { - return _impl_.ping_default_internet_route_; -} -inline uint32_t CGameNetworkingUI_ConnectionSummary::ping_default_internet_route() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionSummary.ping_default_internet_route) - return _internal_ping_default_internet_route(); -} -inline void CGameNetworkingUI_ConnectionSummary::_internal_set_ping_default_internet_route(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.ping_default_internet_route_ = value; -} -inline void CGameNetworkingUI_ConnectionSummary::set_ping_default_internet_route(uint32_t value) { - _internal_set_ping_default_internet_route(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionSummary.ping_default_internet_route) -} - -// optional bool ip_was_shared = 7; -inline bool CGameNetworkingUI_ConnectionSummary::_internal_has_ip_was_shared() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CGameNetworkingUI_ConnectionSummary::has_ip_was_shared() const { - return _internal_has_ip_was_shared(); -} -inline void CGameNetworkingUI_ConnectionSummary::clear_ip_was_shared() { - _impl_.ip_was_shared_ = false; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline bool CGameNetworkingUI_ConnectionSummary::_internal_ip_was_shared() const { - return _impl_.ip_was_shared_; -} -inline bool CGameNetworkingUI_ConnectionSummary::ip_was_shared() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_ConnectionSummary.ip_was_shared) - return _internal_ip_was_shared(); -} -inline void CGameNetworkingUI_ConnectionSummary::_internal_set_ip_was_shared(bool value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.ip_was_shared_ = value; -} -inline void CGameNetworkingUI_ConnectionSummary::set_ip_was_shared(bool value) { - _internal_set_ip_was_shared(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_ConnectionSummary.ip_was_shared) -} - -// ------------------------------------------------------------------- - -// CGameNetworkingUI_AppSummary - -// optional uint32 appid = 1; -inline bool CGameNetworkingUI_AppSummary::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CGameNetworkingUI_AppSummary::has_appid() const { - return _internal_has_appid(); -} -inline void CGameNetworkingUI_AppSummary::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CGameNetworkingUI_AppSummary::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CGameNetworkingUI_AppSummary::appid() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_AppSummary.appid) - return _internal_appid(); -} -inline void CGameNetworkingUI_AppSummary::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.appid_ = value; -} -inline void CGameNetworkingUI_AppSummary::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_AppSummary.appid) -} - -// optional bool ip_was_shared_with_friend = 10; -inline bool CGameNetworkingUI_AppSummary::_internal_has_ip_was_shared_with_friend() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CGameNetworkingUI_AppSummary::has_ip_was_shared_with_friend() const { - return _internal_has_ip_was_shared_with_friend(); -} -inline void CGameNetworkingUI_AppSummary::clear_ip_was_shared_with_friend() { - _impl_.ip_was_shared_with_friend_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CGameNetworkingUI_AppSummary::_internal_ip_was_shared_with_friend() const { - return _impl_.ip_was_shared_with_friend_; -} -inline bool CGameNetworkingUI_AppSummary::ip_was_shared_with_friend() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_AppSummary.ip_was_shared_with_friend) - return _internal_ip_was_shared_with_friend(); -} -inline void CGameNetworkingUI_AppSummary::_internal_set_ip_was_shared_with_friend(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.ip_was_shared_with_friend_ = value; -} -inline void CGameNetworkingUI_AppSummary::set_ip_was_shared_with_friend(bool value) { - _internal_set_ip_was_shared_with_friend(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_AppSummary.ip_was_shared_with_friend) -} - -// optional bool ip_was_shared_with_nonfriend = 11; -inline bool CGameNetworkingUI_AppSummary::_internal_has_ip_was_shared_with_nonfriend() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CGameNetworkingUI_AppSummary::has_ip_was_shared_with_nonfriend() const { - return _internal_has_ip_was_shared_with_nonfriend(); -} -inline void CGameNetworkingUI_AppSummary::clear_ip_was_shared_with_nonfriend() { - _impl_.ip_was_shared_with_nonfriend_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CGameNetworkingUI_AppSummary::_internal_ip_was_shared_with_nonfriend() const { - return _impl_.ip_was_shared_with_nonfriend_; -} -inline bool CGameNetworkingUI_AppSummary::ip_was_shared_with_nonfriend() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_AppSummary.ip_was_shared_with_nonfriend) - return _internal_ip_was_shared_with_nonfriend(); -} -inline void CGameNetworkingUI_AppSummary::_internal_set_ip_was_shared_with_nonfriend(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.ip_was_shared_with_nonfriend_ = value; -} -inline void CGameNetworkingUI_AppSummary::set_ip_was_shared_with_nonfriend(bool value) { - _internal_set_ip_was_shared_with_nonfriend(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_AppSummary.ip_was_shared_with_nonfriend) -} - -// optional uint32 active_connections = 20; -inline bool CGameNetworkingUI_AppSummary::_internal_has_active_connections() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CGameNetworkingUI_AppSummary::has_active_connections() const { - return _internal_has_active_connections(); -} -inline void CGameNetworkingUI_AppSummary::clear_active_connections() { - _impl_.active_connections_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CGameNetworkingUI_AppSummary::_internal_active_connections() const { - return _impl_.active_connections_; -} -inline uint32_t CGameNetworkingUI_AppSummary::active_connections() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_AppSummary.active_connections) - return _internal_active_connections(); -} -inline void CGameNetworkingUI_AppSummary::_internal_set_active_connections(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.active_connections_ = value; -} -inline void CGameNetworkingUI_AppSummary::set_active_connections(uint32_t value) { - _internal_set_active_connections(value); - // @@protoc_insertion_point(field_set:CGameNetworkingUI_AppSummary.active_connections) -} - -// optional .CGameNetworkingUI_ConnectionSummary main_cxn = 30; -inline bool CGameNetworkingUI_AppSummary::_internal_has_main_cxn() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.main_cxn_ != nullptr); - return value; -} -inline bool CGameNetworkingUI_AppSummary::has_main_cxn() const { - return _internal_has_main_cxn(); -} -inline void CGameNetworkingUI_AppSummary::clear_main_cxn() { - if (_impl_.main_cxn_ != nullptr) _impl_.main_cxn_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CGameNetworkingUI_ConnectionSummary& CGameNetworkingUI_AppSummary::_internal_main_cxn() const { - const ::CGameNetworkingUI_ConnectionSummary* p = _impl_.main_cxn_; - return p != nullptr ? *p : reinterpret_cast( - ::_CGameNetworkingUI_ConnectionSummary_default_instance_); -} -inline const ::CGameNetworkingUI_ConnectionSummary& CGameNetworkingUI_AppSummary::main_cxn() const { - // @@protoc_insertion_point(field_get:CGameNetworkingUI_AppSummary.main_cxn) - return _internal_main_cxn(); -} -inline void CGameNetworkingUI_AppSummary::unsafe_arena_set_allocated_main_cxn( - ::CGameNetworkingUI_ConnectionSummary* main_cxn) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.main_cxn_); - } - _impl_.main_cxn_ = main_cxn; - if (main_cxn) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CGameNetworkingUI_AppSummary.main_cxn) -} -inline ::CGameNetworkingUI_ConnectionSummary* CGameNetworkingUI_AppSummary::release_main_cxn() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CGameNetworkingUI_ConnectionSummary* temp = _impl_.main_cxn_; - _impl_.main_cxn_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CGameNetworkingUI_ConnectionSummary* CGameNetworkingUI_AppSummary::unsafe_arena_release_main_cxn() { - // @@protoc_insertion_point(field_release:CGameNetworkingUI_AppSummary.main_cxn) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CGameNetworkingUI_ConnectionSummary* temp = _impl_.main_cxn_; - _impl_.main_cxn_ = nullptr; - return temp; -} -inline ::CGameNetworkingUI_ConnectionSummary* CGameNetworkingUI_AppSummary::_internal_mutable_main_cxn() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.main_cxn_ == nullptr) { - auto* p = CreateMaybeMessage<::CGameNetworkingUI_ConnectionSummary>(GetArenaForAllocation()); - _impl_.main_cxn_ = p; - } - return _impl_.main_cxn_; -} -inline ::CGameNetworkingUI_ConnectionSummary* CGameNetworkingUI_AppSummary::mutable_main_cxn() { - ::CGameNetworkingUI_ConnectionSummary* _msg = _internal_mutable_main_cxn(); - // @@protoc_insertion_point(field_mutable:CGameNetworkingUI_AppSummary.main_cxn) - return _msg; -} -inline void CGameNetworkingUI_AppSummary::set_allocated_main_cxn(::CGameNetworkingUI_ConnectionSummary* main_cxn) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.main_cxn_; - } - if (main_cxn) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(main_cxn); - if (message_arena != submessage_arena) { - main_cxn = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, main_cxn, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.main_cxn_ = main_cxn; - // @@protoc_insertion_point(field_set_allocated:CGameNetworkingUI_AppSummary.main_cxn) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steammessages_5fgamenetworkingui_2eproto diff --git a/protobuf/generated/steammessages_helprequest.steamworkssdk.pb.cc b/protobuf/generated/steammessages_helprequest.steamworkssdk.pb.cc deleted file mode 100644 index 06677e4d2..000000000 --- a/protobuf/generated/steammessages_helprequest.steamworkssdk.pb.cc +++ /dev/null @@ -1,791 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steammessages_helprequest.steamworkssdk.proto - -#include "steammessages_helprequest.steamworkssdk.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CHelpRequestLogs_UploadUserApplicationLog_Request::CHelpRequestLogs_UploadUserApplicationLog_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.log_type_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.version_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.log_contents_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.appid_)*/0u} {} -struct CHelpRequestLogs_UploadUserApplicationLog_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CHelpRequestLogs_UploadUserApplicationLog_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CHelpRequestLogs_UploadUserApplicationLog_RequestDefaultTypeInternal() {} - union { - CHelpRequestLogs_UploadUserApplicationLog_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CHelpRequestLogs_UploadUserApplicationLog_RequestDefaultTypeInternal _CHelpRequestLogs_UploadUserApplicationLog_Request_default_instance_; -PROTOBUF_CONSTEXPR CHelpRequestLogs_UploadUserApplicationLog_Response::CHelpRequestLogs_UploadUserApplicationLog_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.id_)*/uint64_t{0u}} {} -struct CHelpRequestLogs_UploadUserApplicationLog_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CHelpRequestLogs_UploadUserApplicationLog_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CHelpRequestLogs_UploadUserApplicationLog_ResponseDefaultTypeInternal() {} - union { - CHelpRequestLogs_UploadUserApplicationLog_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CHelpRequestLogs_UploadUserApplicationLog_ResponseDefaultTypeInternal _CHelpRequestLogs_UploadUserApplicationLog_Response_default_instance_; -static ::_pb::Metadata file_level_metadata_steammessages_5fhelprequest_2esteamworkssdk_2eproto[2]; -static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_steammessages_5fhelprequest_2esteamworkssdk_2eproto = nullptr; -static const ::_pb::ServiceDescriptor* file_level_service_descriptors_steammessages_5fhelprequest_2esteamworkssdk_2eproto[1]; - -const uint32_t TableStruct_steammessages_5fhelprequest_2esteamworkssdk_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Request, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Request, _impl_.log_type_), - PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Request, _impl_.version_string_), - PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Request, _impl_.log_contents_), - 3, - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Response, _impl_.id_), - 0, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 10, -1, sizeof(::CHelpRequestLogs_UploadUserApplicationLog_Request)}, - { 14, 21, -1, sizeof(::CHelpRequestLogs_UploadUserApplicationLog_Response)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CHelpRequestLogs_UploadUserApplicationLog_Request_default_instance_._instance, - &::_CHelpRequestLogs_UploadUserApplicationLog_Response_default_instance_._instance, -}; - -const char descriptor_table_protodef_steammessages_5fhelprequest_2esteamworkssdk_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n-steammessages_helprequest.steamworkssd" - "k.proto\032.steammessages_unified_base.stea" - "mworkssdk.proto\"\202\001\n1CHelpRequestLogs_Upl" - "oadUserApplicationLog_Request\022\r\n\005appid\030\001" - " \001(\r\022\020\n\010log_type\030\002 \001(\t\022\026\n\016version_string" - "\030\003 \001(\t\022\024\n\014log_contents\030\004 \001(\t\"@\n2CHelpReq" - "uestLogs_UploadUserApplicationLog_Respon" - "se\022\n\n\002id\030\001 \001(\0042\356\001\n\017HelpRequestLogs\022\250\001\n\030U" - "ploadUserApplicationLog\0222.CHelpRequestLo" - "gs_UploadUserApplicationLog_Request\0323.CH" - "elpRequestLogs_UploadUserApplicationLog_" - "Response\"#\202\265\030\037User uploading application" - " logs\0320\202\265\030,Service for dealing with user" - "-submitted logsB\003\200\001\001" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_deps[1] = { - &::descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto, -}; -static ::_pbi::once_flag descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto = { - false, false, 540, descriptor_table_protodef_steammessages_5fhelprequest_2esteamworkssdk_2eproto, - "steammessages_helprequest.steamworkssdk.proto", - &descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_once, descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_deps, 1, 2, - schemas, file_default_instances, TableStruct_steammessages_5fhelprequest_2esteamworkssdk_2eproto::offsets, - file_level_metadata_steammessages_5fhelprequest_2esteamworkssdk_2eproto, file_level_enum_descriptors_steammessages_5fhelprequest_2esteamworkssdk_2eproto, - file_level_service_descriptors_steammessages_5fhelprequest_2esteamworkssdk_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_getter() { - return &descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steammessages_5fhelprequest_2esteamworkssdk_2eproto(&descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto); - -// =================================================================== - -class CHelpRequestLogs_UploadUserApplicationLog_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_log_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_version_string(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_log_contents(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CHelpRequestLogs_UploadUserApplicationLog_Request::CHelpRequestLogs_UploadUserApplicationLog_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CHelpRequestLogs_UploadUserApplicationLog_Request) -} -CHelpRequestLogs_UploadUserApplicationLog_Request::CHelpRequestLogs_UploadUserApplicationLog_Request(const CHelpRequestLogs_UploadUserApplicationLog_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CHelpRequestLogs_UploadUserApplicationLog_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.log_type_){} - , decltype(_impl_.version_string_){} - , decltype(_impl_.log_contents_){} - , decltype(_impl_.appid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.log_type_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.log_type_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_log_type()) { - _this->_impl_.log_type_.Set(from._internal_log_type(), - _this->GetArenaForAllocation()); - } - _impl_.version_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.version_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_version_string()) { - _this->_impl_.version_string_.Set(from._internal_version_string(), - _this->GetArenaForAllocation()); - } - _impl_.log_contents_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.log_contents_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_log_contents()) { - _this->_impl_.log_contents_.Set(from._internal_log_contents(), - _this->GetArenaForAllocation()); - } - _this->_impl_.appid_ = from._impl_.appid_; - // @@protoc_insertion_point(copy_constructor:CHelpRequestLogs_UploadUserApplicationLog_Request) -} - -inline void CHelpRequestLogs_UploadUserApplicationLog_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.log_type_){} - , decltype(_impl_.version_string_){} - , decltype(_impl_.log_contents_){} - , decltype(_impl_.appid_){0u} - }; - _impl_.log_type_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.log_type_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.version_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.version_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.log_contents_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.log_contents_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CHelpRequestLogs_UploadUserApplicationLog_Request::~CHelpRequestLogs_UploadUserApplicationLog_Request() { - // @@protoc_insertion_point(destructor:CHelpRequestLogs_UploadUserApplicationLog_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CHelpRequestLogs_UploadUserApplicationLog_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.log_type_.Destroy(); - _impl_.version_string_.Destroy(); - _impl_.log_contents_.Destroy(); -} - -void CHelpRequestLogs_UploadUserApplicationLog_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CHelpRequestLogs_UploadUserApplicationLog_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CHelpRequestLogs_UploadUserApplicationLog_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.log_type_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.version_string_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.log_contents_.ClearNonDefaultToEmpty(); - } - } - _impl_.appid_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CHelpRequestLogs_UploadUserApplicationLog_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string log_type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_log_type(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CHelpRequestLogs_UploadUserApplicationLog_Request.log_type"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string version_string = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_version_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CHelpRequestLogs_UploadUserApplicationLog_Request.version_string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string log_contents = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_log_contents(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CHelpRequestLogs_UploadUserApplicationLog_Request.log_contents"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CHelpRequestLogs_UploadUserApplicationLog_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CHelpRequestLogs_UploadUserApplicationLog_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // optional string log_type = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_log_type().data(), static_cast(this->_internal_log_type().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CHelpRequestLogs_UploadUserApplicationLog_Request.log_type"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_log_type(), target); - } - - // optional string version_string = 3; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_version_string().data(), static_cast(this->_internal_version_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CHelpRequestLogs_UploadUserApplicationLog_Request.version_string"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_version_string(), target); - } - - // optional string log_contents = 4; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_log_contents().data(), static_cast(this->_internal_log_contents().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CHelpRequestLogs_UploadUserApplicationLog_Request.log_contents"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_log_contents(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CHelpRequestLogs_UploadUserApplicationLog_Request) - return target; -} - -size_t CHelpRequestLogs_UploadUserApplicationLog_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CHelpRequestLogs_UploadUserApplicationLog_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string log_type = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_log_type()); - } - - // optional string version_string = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_version_string()); - } - - // optional string log_contents = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_log_contents()); - } - - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CHelpRequestLogs_UploadUserApplicationLog_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CHelpRequestLogs_UploadUserApplicationLog_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CHelpRequestLogs_UploadUserApplicationLog_Request::GetClassData() const { return &_class_data_; } - - -void CHelpRequestLogs_UploadUserApplicationLog_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CHelpRequestLogs_UploadUserApplicationLog_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_log_type(from._internal_log_type()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_version_string(from._internal_version_string()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_log_contents(from._internal_log_contents()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CHelpRequestLogs_UploadUserApplicationLog_Request::CopyFrom(const CHelpRequestLogs_UploadUserApplicationLog_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CHelpRequestLogs_UploadUserApplicationLog_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CHelpRequestLogs_UploadUserApplicationLog_Request::IsInitialized() const { - return true; -} - -void CHelpRequestLogs_UploadUserApplicationLog_Request::InternalSwap(CHelpRequestLogs_UploadUserApplicationLog_Request* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.log_type_, lhs_arena, - &other->_impl_.log_type_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.version_string_, lhs_arena, - &other->_impl_.version_string_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.log_contents_, lhs_arena, - &other->_impl_.log_contents_, rhs_arena - ); - swap(_impl_.appid_, other->_impl_.appid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CHelpRequestLogs_UploadUserApplicationLog_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fhelprequest_2esteamworkssdk_2eproto[0]); -} - -// =================================================================== - -class CHelpRequestLogs_UploadUserApplicationLog_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CHelpRequestLogs_UploadUserApplicationLog_Response::CHelpRequestLogs_UploadUserApplicationLog_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CHelpRequestLogs_UploadUserApplicationLog_Response) -} -CHelpRequestLogs_UploadUserApplicationLog_Response::CHelpRequestLogs_UploadUserApplicationLog_Response(const CHelpRequestLogs_UploadUserApplicationLog_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CHelpRequestLogs_UploadUserApplicationLog_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.id_ = from._impl_.id_; - // @@protoc_insertion_point(copy_constructor:CHelpRequestLogs_UploadUserApplicationLog_Response) -} - -inline void CHelpRequestLogs_UploadUserApplicationLog_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.id_){uint64_t{0u}} - }; -} - -CHelpRequestLogs_UploadUserApplicationLog_Response::~CHelpRequestLogs_UploadUserApplicationLog_Response() { - // @@protoc_insertion_point(destructor:CHelpRequestLogs_UploadUserApplicationLog_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CHelpRequestLogs_UploadUserApplicationLog_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CHelpRequestLogs_UploadUserApplicationLog_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CHelpRequestLogs_UploadUserApplicationLog_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CHelpRequestLogs_UploadUserApplicationLog_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.id_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CHelpRequestLogs_UploadUserApplicationLog_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_id(&has_bits); - _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CHelpRequestLogs_UploadUserApplicationLog_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CHelpRequestLogs_UploadUserApplicationLog_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CHelpRequestLogs_UploadUserApplicationLog_Response) - return target; -} - -size_t CHelpRequestLogs_UploadUserApplicationLog_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CHelpRequestLogs_UploadUserApplicationLog_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint64 id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CHelpRequestLogs_UploadUserApplicationLog_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CHelpRequestLogs_UploadUserApplicationLog_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CHelpRequestLogs_UploadUserApplicationLog_Response::GetClassData() const { return &_class_data_; } - - -void CHelpRequestLogs_UploadUserApplicationLog_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CHelpRequestLogs_UploadUserApplicationLog_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_id()) { - _this->_internal_set_id(from._internal_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CHelpRequestLogs_UploadUserApplicationLog_Response::CopyFrom(const CHelpRequestLogs_UploadUserApplicationLog_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CHelpRequestLogs_UploadUserApplicationLog_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CHelpRequestLogs_UploadUserApplicationLog_Response::IsInitialized() const { - return true; -} - -void CHelpRequestLogs_UploadUserApplicationLog_Response::InternalSwap(CHelpRequestLogs_UploadUserApplicationLog_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.id_, other->_impl_.id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CHelpRequestLogs_UploadUserApplicationLog_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fhelprequest_2esteamworkssdk_2eproto[1]); -} - -// =================================================================== - -HelpRequestLogs::~HelpRequestLogs() {} - -const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* HelpRequestLogs::descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto); - return file_level_service_descriptors_steammessages_5fhelprequest_2esteamworkssdk_2eproto[0]; -} - -const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* HelpRequestLogs::GetDescriptor() { - return descriptor(); -} - -void HelpRequestLogs::UploadUserApplicationLog(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CHelpRequestLogs_UploadUserApplicationLog_Request*, - ::CHelpRequestLogs_UploadUserApplicationLog_Response*, - ::google::protobuf::Closure* done) { - controller->SetFailed("Method UploadUserApplicationLog() not implemented."); - done->Run(); -} - -void HelpRequestLogs::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, - ::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::PROTOBUF_NAMESPACE_ID::Message* request, - ::PROTOBUF_NAMESPACE_ID::Message* response, - ::google::protobuf::Closure* done) { - GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_steammessages_5fhelprequest_2esteamworkssdk_2eproto[0]); - switch(method->index()) { - case 0: - UploadUserApplicationLog(controller, - ::PROTOBUF_NAMESPACE_ID::internal::DownCast( - request), - ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CHelpRequestLogs_UploadUserApplicationLog_Response*>( - response), - done); - break; - default: - GOOGLE_LOG(FATAL) << "Bad method index; this should never happen."; - break; - } -} - -const ::PROTOBUF_NAMESPACE_ID::Message& HelpRequestLogs::GetRequestPrototype( - const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { - GOOGLE_DCHECK_EQ(method->service(), descriptor()); - switch(method->index()) { - case 0: - return ::CHelpRequestLogs_UploadUserApplicationLog_Request::default_instance(); - default: - GOOGLE_LOG(FATAL) << "Bad method index; this should never happen."; - return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() - ->GetPrototype(method->input_type()); - } -} - -const ::PROTOBUF_NAMESPACE_ID::Message& HelpRequestLogs::GetResponsePrototype( - const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { - GOOGLE_DCHECK_EQ(method->service(), descriptor()); - switch(method->index()) { - case 0: - return ::CHelpRequestLogs_UploadUserApplicationLog_Response::default_instance(); - default: - GOOGLE_LOG(FATAL) << "Bad method index; this should never happen."; - return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() - ->GetPrototype(method->output_type()); - } -} - -HelpRequestLogs_Stub::HelpRequestLogs_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) - : channel_(channel), owns_channel_(false) {} -HelpRequestLogs_Stub::HelpRequestLogs_Stub( - ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, - ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) - : channel_(channel), - owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} -HelpRequestLogs_Stub::~HelpRequestLogs_Stub() { - if (owns_channel_) delete channel_; -} - -void HelpRequestLogs_Stub::UploadUserApplicationLog(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CHelpRequestLogs_UploadUserApplicationLog_Request* request, - ::CHelpRequestLogs_UploadUserApplicationLog_Response* response, - ::google::protobuf::Closure* done) { - channel_->CallMethod(descriptor()->method(0), - controller, request, response, done); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CHelpRequestLogs_UploadUserApplicationLog_Request* -Arena::CreateMaybeMessage< ::CHelpRequestLogs_UploadUserApplicationLog_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CHelpRequestLogs_UploadUserApplicationLog_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CHelpRequestLogs_UploadUserApplicationLog_Response* -Arena::CreateMaybeMessage< ::CHelpRequestLogs_UploadUserApplicationLog_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CHelpRequestLogs_UploadUserApplicationLog_Response >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/steammessages_helprequest.steamworkssdk.pb.h b/protobuf/generated/steammessages_helprequest.steamworkssdk.pb.h deleted file mode 100644 index 38bff50a2..000000000 --- a/protobuf/generated/steammessages_helprequest.steamworkssdk.pb.h +++ /dev/null @@ -1,786 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steammessages_helprequest.steamworkssdk.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_steammessages_5fhelprequest_2esteamworkssdk_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_steammessages_5fhelprequest_2esteamworkssdk_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "steammessages_unified_base.steamworkssdk.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_steammessages_5fhelprequest_2esteamworkssdk_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_steammessages_5fhelprequest_2esteamworkssdk_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto; -class CHelpRequestLogs_UploadUserApplicationLog_Request; -struct CHelpRequestLogs_UploadUserApplicationLog_RequestDefaultTypeInternal; -extern CHelpRequestLogs_UploadUserApplicationLog_RequestDefaultTypeInternal _CHelpRequestLogs_UploadUserApplicationLog_Request_default_instance_; -class CHelpRequestLogs_UploadUserApplicationLog_Response; -struct CHelpRequestLogs_UploadUserApplicationLog_ResponseDefaultTypeInternal; -extern CHelpRequestLogs_UploadUserApplicationLog_ResponseDefaultTypeInternal _CHelpRequestLogs_UploadUserApplicationLog_Response_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CHelpRequestLogs_UploadUserApplicationLog_Request* Arena::CreateMaybeMessage<::CHelpRequestLogs_UploadUserApplicationLog_Request>(Arena*); -template<> ::CHelpRequestLogs_UploadUserApplicationLog_Response* Arena::CreateMaybeMessage<::CHelpRequestLogs_UploadUserApplicationLog_Response>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -// =================================================================== - -class CHelpRequestLogs_UploadUserApplicationLog_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CHelpRequestLogs_UploadUserApplicationLog_Request) */ { - public: - inline CHelpRequestLogs_UploadUserApplicationLog_Request() : CHelpRequestLogs_UploadUserApplicationLog_Request(nullptr) {} - ~CHelpRequestLogs_UploadUserApplicationLog_Request() override; - explicit PROTOBUF_CONSTEXPR CHelpRequestLogs_UploadUserApplicationLog_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CHelpRequestLogs_UploadUserApplicationLog_Request(const CHelpRequestLogs_UploadUserApplicationLog_Request& from); - CHelpRequestLogs_UploadUserApplicationLog_Request(CHelpRequestLogs_UploadUserApplicationLog_Request&& from) noexcept - : CHelpRequestLogs_UploadUserApplicationLog_Request() { - *this = ::std::move(from); - } - - inline CHelpRequestLogs_UploadUserApplicationLog_Request& operator=(const CHelpRequestLogs_UploadUserApplicationLog_Request& from) { - CopyFrom(from); - return *this; - } - inline CHelpRequestLogs_UploadUserApplicationLog_Request& operator=(CHelpRequestLogs_UploadUserApplicationLog_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CHelpRequestLogs_UploadUserApplicationLog_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CHelpRequestLogs_UploadUserApplicationLog_Request* internal_default_instance() { - return reinterpret_cast( - &_CHelpRequestLogs_UploadUserApplicationLog_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CHelpRequestLogs_UploadUserApplicationLog_Request& a, CHelpRequestLogs_UploadUserApplicationLog_Request& b) { - a.Swap(&b); - } - inline void Swap(CHelpRequestLogs_UploadUserApplicationLog_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CHelpRequestLogs_UploadUserApplicationLog_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CHelpRequestLogs_UploadUserApplicationLog_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CHelpRequestLogs_UploadUserApplicationLog_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CHelpRequestLogs_UploadUserApplicationLog_Request& from) { - CHelpRequestLogs_UploadUserApplicationLog_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CHelpRequestLogs_UploadUserApplicationLog_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CHelpRequestLogs_UploadUserApplicationLog_Request"; - } - protected: - explicit CHelpRequestLogs_UploadUserApplicationLog_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLogTypeFieldNumber = 2, - kVersionStringFieldNumber = 3, - kLogContentsFieldNumber = 4, - kAppidFieldNumber = 1, - }; - // optional string log_type = 2; - bool has_log_type() const; - private: - bool _internal_has_log_type() const; - public: - void clear_log_type(); - const std::string& log_type() const; - template - void set_log_type(ArgT0&& arg0, ArgT... args); - std::string* mutable_log_type(); - PROTOBUF_NODISCARD std::string* release_log_type(); - void set_allocated_log_type(std::string* log_type); - private: - const std::string& _internal_log_type() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_log_type(const std::string& value); - std::string* _internal_mutable_log_type(); - public: - - // optional string version_string = 3; - bool has_version_string() const; - private: - bool _internal_has_version_string() const; - public: - void clear_version_string(); - const std::string& version_string() const; - template - void set_version_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_version_string(); - PROTOBUF_NODISCARD std::string* release_version_string(); - void set_allocated_version_string(std::string* version_string); - private: - const std::string& _internal_version_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_version_string(const std::string& value); - std::string* _internal_mutable_version_string(); - public: - - // optional string log_contents = 4; - bool has_log_contents() const; - private: - bool _internal_has_log_contents() const; - public: - void clear_log_contents(); - const std::string& log_contents() const; - template - void set_log_contents(ArgT0&& arg0, ArgT... args); - std::string* mutable_log_contents(); - PROTOBUF_NODISCARD std::string* release_log_contents(); - void set_allocated_log_contents(std::string* log_contents); - private: - const std::string& _internal_log_contents() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_log_contents(const std::string& value); - std::string* _internal_mutable_log_contents(); - public: - - // optional uint32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CHelpRequestLogs_UploadUserApplicationLog_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr log_type_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_string_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr log_contents_; - uint32_t appid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fhelprequest_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CHelpRequestLogs_UploadUserApplicationLog_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CHelpRequestLogs_UploadUserApplicationLog_Response) */ { - public: - inline CHelpRequestLogs_UploadUserApplicationLog_Response() : CHelpRequestLogs_UploadUserApplicationLog_Response(nullptr) {} - ~CHelpRequestLogs_UploadUserApplicationLog_Response() override; - explicit PROTOBUF_CONSTEXPR CHelpRequestLogs_UploadUserApplicationLog_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CHelpRequestLogs_UploadUserApplicationLog_Response(const CHelpRequestLogs_UploadUserApplicationLog_Response& from); - CHelpRequestLogs_UploadUserApplicationLog_Response(CHelpRequestLogs_UploadUserApplicationLog_Response&& from) noexcept - : CHelpRequestLogs_UploadUserApplicationLog_Response() { - *this = ::std::move(from); - } - - inline CHelpRequestLogs_UploadUserApplicationLog_Response& operator=(const CHelpRequestLogs_UploadUserApplicationLog_Response& from) { - CopyFrom(from); - return *this; - } - inline CHelpRequestLogs_UploadUserApplicationLog_Response& operator=(CHelpRequestLogs_UploadUserApplicationLog_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CHelpRequestLogs_UploadUserApplicationLog_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CHelpRequestLogs_UploadUserApplicationLog_Response* internal_default_instance() { - return reinterpret_cast( - &_CHelpRequestLogs_UploadUserApplicationLog_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CHelpRequestLogs_UploadUserApplicationLog_Response& a, CHelpRequestLogs_UploadUserApplicationLog_Response& b) { - a.Swap(&b); - } - inline void Swap(CHelpRequestLogs_UploadUserApplicationLog_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CHelpRequestLogs_UploadUserApplicationLog_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CHelpRequestLogs_UploadUserApplicationLog_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CHelpRequestLogs_UploadUserApplicationLog_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CHelpRequestLogs_UploadUserApplicationLog_Response& from) { - CHelpRequestLogs_UploadUserApplicationLog_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CHelpRequestLogs_UploadUserApplicationLog_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CHelpRequestLogs_UploadUserApplicationLog_Response"; - } - protected: - explicit CHelpRequestLogs_UploadUserApplicationLog_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIdFieldNumber = 1, - }; - // optional uint64 id = 1; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - uint64_t id() const; - void set_id(uint64_t value); - private: - uint64_t _internal_id() const; - void _internal_set_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CHelpRequestLogs_UploadUserApplicationLog_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fhelprequest_2esteamworkssdk_2eproto; -}; -// =================================================================== - -class HelpRequestLogs_Stub; - -class HelpRequestLogs : public ::PROTOBUF_NAMESPACE_ID::Service { - protected: - // This class should be treated as an abstract interface. - inline HelpRequestLogs() {}; - public: - virtual ~HelpRequestLogs(); - - typedef HelpRequestLogs_Stub Stub; - - static const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* descriptor(); - - virtual void UploadUserApplicationLog(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CHelpRequestLogs_UploadUserApplicationLog_Request* request, - ::CHelpRequestLogs_UploadUserApplicationLog_Response* response, - ::google::protobuf::Closure* done); - - // implements Service ---------------------------------------------- - - const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* GetDescriptor(); - void CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, - ::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::PROTOBUF_NAMESPACE_ID::Message* request, - ::PROTOBUF_NAMESPACE_ID::Message* response, - ::google::protobuf::Closure* done); - const ::PROTOBUF_NAMESPACE_ID::Message& GetRequestPrototype( - const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const; - const ::PROTOBUF_NAMESPACE_ID::Message& GetResponsePrototype( - const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const; - - private: - GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(HelpRequestLogs); -}; - -class HelpRequestLogs_Stub : public HelpRequestLogs { - public: - HelpRequestLogs_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel); - HelpRequestLogs_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, - ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership); - ~HelpRequestLogs_Stub(); - - inline ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel() { return channel_; } - - // implements HelpRequestLogs ------------------------------------------ - - void UploadUserApplicationLog(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CHelpRequestLogs_UploadUserApplicationLog_Request* request, - ::CHelpRequestLogs_UploadUserApplicationLog_Response* response, - ::google::protobuf::Closure* done); - private: - ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel_; - bool owns_channel_; - GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(HelpRequestLogs_Stub); -}; - - -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CHelpRequestLogs_UploadUserApplicationLog_Request - -// optional uint32 appid = 1; -inline bool CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CHelpRequestLogs_UploadUserApplicationLog_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CHelpRequestLogs_UploadUserApplicationLog_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CHelpRequestLogs_UploadUserApplicationLog_Request::appid() const { - // @@protoc_insertion_point(field_get:CHelpRequestLogs_UploadUserApplicationLog_Request.appid) - return _internal_appid(); -} -inline void CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.appid_ = value; -} -inline void CHelpRequestLogs_UploadUserApplicationLog_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CHelpRequestLogs_UploadUserApplicationLog_Request.appid) -} - -// optional string log_type = 2; -inline bool CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_has_log_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CHelpRequestLogs_UploadUserApplicationLog_Request::has_log_type() const { - return _internal_has_log_type(); -} -inline void CHelpRequestLogs_UploadUserApplicationLog_Request::clear_log_type() { - _impl_.log_type_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CHelpRequestLogs_UploadUserApplicationLog_Request::log_type() const { - // @@protoc_insertion_point(field_get:CHelpRequestLogs_UploadUserApplicationLog_Request.log_type) - return _internal_log_type(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CHelpRequestLogs_UploadUserApplicationLog_Request::set_log_type(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.log_type_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CHelpRequestLogs_UploadUserApplicationLog_Request.log_type) -} -inline std::string* CHelpRequestLogs_UploadUserApplicationLog_Request::mutable_log_type() { - std::string* _s = _internal_mutable_log_type(); - // @@protoc_insertion_point(field_mutable:CHelpRequestLogs_UploadUserApplicationLog_Request.log_type) - return _s; -} -inline const std::string& CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_log_type() const { - return _impl_.log_type_.Get(); -} -inline void CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_set_log_type(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.log_type_.Set(value, GetArenaForAllocation()); -} -inline std::string* CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_mutable_log_type() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.log_type_.Mutable(GetArenaForAllocation()); -} -inline std::string* CHelpRequestLogs_UploadUserApplicationLog_Request::release_log_type() { - // @@protoc_insertion_point(field_release:CHelpRequestLogs_UploadUserApplicationLog_Request.log_type) - if (!_internal_has_log_type()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.log_type_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.log_type_.IsDefault()) { - _impl_.log_type_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CHelpRequestLogs_UploadUserApplicationLog_Request::set_allocated_log_type(std::string* log_type) { - if (log_type != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.log_type_.SetAllocated(log_type, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.log_type_.IsDefault()) { - _impl_.log_type_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CHelpRequestLogs_UploadUserApplicationLog_Request.log_type) -} - -// optional string version_string = 3; -inline bool CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_has_version_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CHelpRequestLogs_UploadUserApplicationLog_Request::has_version_string() const { - return _internal_has_version_string(); -} -inline void CHelpRequestLogs_UploadUserApplicationLog_Request::clear_version_string() { - _impl_.version_string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CHelpRequestLogs_UploadUserApplicationLog_Request::version_string() const { - // @@protoc_insertion_point(field_get:CHelpRequestLogs_UploadUserApplicationLog_Request.version_string) - return _internal_version_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CHelpRequestLogs_UploadUserApplicationLog_Request::set_version_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.version_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CHelpRequestLogs_UploadUserApplicationLog_Request.version_string) -} -inline std::string* CHelpRequestLogs_UploadUserApplicationLog_Request::mutable_version_string() { - std::string* _s = _internal_mutable_version_string(); - // @@protoc_insertion_point(field_mutable:CHelpRequestLogs_UploadUserApplicationLog_Request.version_string) - return _s; -} -inline const std::string& CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_version_string() const { - return _impl_.version_string_.Get(); -} -inline void CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_set_version_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.version_string_.Set(value, GetArenaForAllocation()); -} -inline std::string* CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_mutable_version_string() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.version_string_.Mutable(GetArenaForAllocation()); -} -inline std::string* CHelpRequestLogs_UploadUserApplicationLog_Request::release_version_string() { - // @@protoc_insertion_point(field_release:CHelpRequestLogs_UploadUserApplicationLog_Request.version_string) - if (!_internal_has_version_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.version_string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.version_string_.IsDefault()) { - _impl_.version_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CHelpRequestLogs_UploadUserApplicationLog_Request::set_allocated_version_string(std::string* version_string) { - if (version_string != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.version_string_.SetAllocated(version_string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.version_string_.IsDefault()) { - _impl_.version_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CHelpRequestLogs_UploadUserApplicationLog_Request.version_string) -} - -// optional string log_contents = 4; -inline bool CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_has_log_contents() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CHelpRequestLogs_UploadUserApplicationLog_Request::has_log_contents() const { - return _internal_has_log_contents(); -} -inline void CHelpRequestLogs_UploadUserApplicationLog_Request::clear_log_contents() { - _impl_.log_contents_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CHelpRequestLogs_UploadUserApplicationLog_Request::log_contents() const { - // @@protoc_insertion_point(field_get:CHelpRequestLogs_UploadUserApplicationLog_Request.log_contents) - return _internal_log_contents(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CHelpRequestLogs_UploadUserApplicationLog_Request::set_log_contents(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.log_contents_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CHelpRequestLogs_UploadUserApplicationLog_Request.log_contents) -} -inline std::string* CHelpRequestLogs_UploadUserApplicationLog_Request::mutable_log_contents() { - std::string* _s = _internal_mutable_log_contents(); - // @@protoc_insertion_point(field_mutable:CHelpRequestLogs_UploadUserApplicationLog_Request.log_contents) - return _s; -} -inline const std::string& CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_log_contents() const { - return _impl_.log_contents_.Get(); -} -inline void CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_set_log_contents(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.log_contents_.Set(value, GetArenaForAllocation()); -} -inline std::string* CHelpRequestLogs_UploadUserApplicationLog_Request::_internal_mutable_log_contents() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.log_contents_.Mutable(GetArenaForAllocation()); -} -inline std::string* CHelpRequestLogs_UploadUserApplicationLog_Request::release_log_contents() { - // @@protoc_insertion_point(field_release:CHelpRequestLogs_UploadUserApplicationLog_Request.log_contents) - if (!_internal_has_log_contents()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.log_contents_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.log_contents_.IsDefault()) { - _impl_.log_contents_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CHelpRequestLogs_UploadUserApplicationLog_Request::set_allocated_log_contents(std::string* log_contents) { - if (log_contents != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.log_contents_.SetAllocated(log_contents, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.log_contents_.IsDefault()) { - _impl_.log_contents_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CHelpRequestLogs_UploadUserApplicationLog_Request.log_contents) -} - -// ------------------------------------------------------------------- - -// CHelpRequestLogs_UploadUserApplicationLog_Response - -// optional uint64 id = 1; -inline bool CHelpRequestLogs_UploadUserApplicationLog_Response::_internal_has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CHelpRequestLogs_UploadUserApplicationLog_Response::has_id() const { - return _internal_has_id(); -} -inline void CHelpRequestLogs_UploadUserApplicationLog_Response::clear_id() { - _impl_.id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CHelpRequestLogs_UploadUserApplicationLog_Response::_internal_id() const { - return _impl_.id_; -} -inline uint64_t CHelpRequestLogs_UploadUserApplicationLog_Response::id() const { - // @@protoc_insertion_point(field_get:CHelpRequestLogs_UploadUserApplicationLog_Response.id) - return _internal_id(); -} -inline void CHelpRequestLogs_UploadUserApplicationLog_Response::_internal_set_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.id_ = value; -} -inline void CHelpRequestLogs_UploadUserApplicationLog_Response::set_id(uint64_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:CHelpRequestLogs_UploadUserApplicationLog_Response.id) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steammessages_5fhelprequest_2esteamworkssdk_2eproto diff --git a/protobuf/generated/steammessages_oauth.steamworkssdk.pb.cc b/protobuf/generated/steammessages_oauth.steamworkssdk.pb.cc deleted file mode 100644 index fea6998b2..000000000 --- a/protobuf/generated/steammessages_oauth.steamworkssdk.pb.cc +++ /dev/null @@ -1,642 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steammessages_oauth.steamworkssdk.proto - -#include "steammessages_oauth.steamworkssdk.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR COAuthToken_ImplicitGrantNoPrompt_Request::COAuthToken_ImplicitGrantNoPrompt_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.clientid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct COAuthToken_ImplicitGrantNoPrompt_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR COAuthToken_ImplicitGrantNoPrompt_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~COAuthToken_ImplicitGrantNoPrompt_RequestDefaultTypeInternal() {} - union { - COAuthToken_ImplicitGrantNoPrompt_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 COAuthToken_ImplicitGrantNoPrompt_RequestDefaultTypeInternal _COAuthToken_ImplicitGrantNoPrompt_Request_default_instance_; -PROTOBUF_CONSTEXPR COAuthToken_ImplicitGrantNoPrompt_Response::COAuthToken_ImplicitGrantNoPrompt_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.access_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.redirect_uri_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct COAuthToken_ImplicitGrantNoPrompt_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR COAuthToken_ImplicitGrantNoPrompt_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~COAuthToken_ImplicitGrantNoPrompt_ResponseDefaultTypeInternal() {} - union { - COAuthToken_ImplicitGrantNoPrompt_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 COAuthToken_ImplicitGrantNoPrompt_ResponseDefaultTypeInternal _COAuthToken_ImplicitGrantNoPrompt_Response_default_instance_; -static ::_pb::Metadata file_level_metadata_steammessages_5foauth_2esteamworkssdk_2eproto[2]; -static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_steammessages_5foauth_2esteamworkssdk_2eproto = nullptr; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steammessages_5foauth_2esteamworkssdk_2eproto = nullptr; - -const uint32_t TableStruct_steammessages_5foauth_2esteamworkssdk_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::COAuthToken_ImplicitGrantNoPrompt_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::COAuthToken_ImplicitGrantNoPrompt_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::COAuthToken_ImplicitGrantNoPrompt_Request, _impl_.clientid_), - 0, - PROTOBUF_FIELD_OFFSET(::COAuthToken_ImplicitGrantNoPrompt_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::COAuthToken_ImplicitGrantNoPrompt_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::COAuthToken_ImplicitGrantNoPrompt_Response, _impl_.access_token_), - PROTOBUF_FIELD_OFFSET(::COAuthToken_ImplicitGrantNoPrompt_Response, _impl_.redirect_uri_), - 0, - 1, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 7, -1, sizeof(::COAuthToken_ImplicitGrantNoPrompt_Request)}, - { 8, 16, -1, sizeof(::COAuthToken_ImplicitGrantNoPrompt_Response)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_COAuthToken_ImplicitGrantNoPrompt_Request_default_instance_._instance, - &::_COAuthToken_ImplicitGrantNoPrompt_Response_default_instance_._instance, -}; - -const char descriptor_table_protodef_steammessages_5foauth_2esteamworkssdk_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\'steammessages_oauth.steamworkssdk.prot" - "o\032.steammessages_unified_base.steamworks" - "sdk.proto\"{\n)COAuthToken_ImplicitGrantNo" - "Prompt_Request\022N\n\010clientid\030\001 \001(\tB<\202\265\0308Cl" - "ient ID for which to count the number of" - " issued tokens\"\267\001\n*COAuthToken_ImplicitG" - "rantNoPrompt_Response\0229\n\014access_token\030\001 " - "\001(\tB#\202\265\030\037OAuth Token, granted on success" - "\022N\n\014redirect_uri\030\002 \001(\tB8\202\265\0304Redirection " - "URI provided during client registration." - "2\261\002\n\nOAuthToken\022\353\001\n\025ImplicitGrantNoPromp" - "t\022*.COAuthToken_ImplicitGrantNoPrompt_Re" - "quest\032+.COAuthToken_ImplicitGrantNoPromp" - "t_Response\"y\202\265\030uGrants an implicit OAuth" - " token (grant type \'token\') for the spec" - "ified client ID on behalf of a user with" - "out prompting\0325\202\265\0301Service containing me" - "thods to manage OAuth tokens" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto_deps[1] = { - &::descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto, -}; -static ::_pbi::once_flag descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto = { - false, false, 708, descriptor_table_protodef_steammessages_5foauth_2esteamworkssdk_2eproto, - "steammessages_oauth.steamworkssdk.proto", - &descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto_once, descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto_deps, 1, 2, - schemas, file_default_instances, TableStruct_steammessages_5foauth_2esteamworkssdk_2eproto::offsets, - file_level_metadata_steammessages_5foauth_2esteamworkssdk_2eproto, file_level_enum_descriptors_steammessages_5foauth_2esteamworkssdk_2eproto, - file_level_service_descriptors_steammessages_5foauth_2esteamworkssdk_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto_getter() { - return &descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steammessages_5foauth_2esteamworkssdk_2eproto(&descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto); - -// =================================================================== - -class COAuthToken_ImplicitGrantNoPrompt_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_clientid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -COAuthToken_ImplicitGrantNoPrompt_Request::COAuthToken_ImplicitGrantNoPrompt_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:COAuthToken_ImplicitGrantNoPrompt_Request) -} -COAuthToken_ImplicitGrantNoPrompt_Request::COAuthToken_ImplicitGrantNoPrompt_Request(const COAuthToken_ImplicitGrantNoPrompt_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - COAuthToken_ImplicitGrantNoPrompt_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.clientid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.clientid_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.clientid_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_clientid()) { - _this->_impl_.clientid_.Set(from._internal_clientid(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:COAuthToken_ImplicitGrantNoPrompt_Request) -} - -inline void COAuthToken_ImplicitGrantNoPrompt_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.clientid_){} - }; - _impl_.clientid_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.clientid_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -COAuthToken_ImplicitGrantNoPrompt_Request::~COAuthToken_ImplicitGrantNoPrompt_Request() { - // @@protoc_insertion_point(destructor:COAuthToken_ImplicitGrantNoPrompt_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void COAuthToken_ImplicitGrantNoPrompt_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.clientid_.Destroy(); -} - -void COAuthToken_ImplicitGrantNoPrompt_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void COAuthToken_ImplicitGrantNoPrompt_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:COAuthToken_ImplicitGrantNoPrompt_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.clientid_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* COAuthToken_ImplicitGrantNoPrompt_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string clientid = 1 [(.description) = "Client ID for which to count the number of issued tokens"]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_clientid(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "COAuthToken_ImplicitGrantNoPrompt_Request.clientid"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* COAuthToken_ImplicitGrantNoPrompt_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:COAuthToken_ImplicitGrantNoPrompt_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string clientid = 1 [(.description) = "Client ID for which to count the number of issued tokens"]; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_clientid().data(), static_cast(this->_internal_clientid().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "COAuthToken_ImplicitGrantNoPrompt_Request.clientid"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_clientid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:COAuthToken_ImplicitGrantNoPrompt_Request) - return target; -} - -size_t COAuthToken_ImplicitGrantNoPrompt_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:COAuthToken_ImplicitGrantNoPrompt_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string clientid = 1 [(.description) = "Client ID for which to count the number of issued tokens"]; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_clientid()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData COAuthToken_ImplicitGrantNoPrompt_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - COAuthToken_ImplicitGrantNoPrompt_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*COAuthToken_ImplicitGrantNoPrompt_Request::GetClassData() const { return &_class_data_; } - - -void COAuthToken_ImplicitGrantNoPrompt_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:COAuthToken_ImplicitGrantNoPrompt_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_clientid()) { - _this->_internal_set_clientid(from._internal_clientid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void COAuthToken_ImplicitGrantNoPrompt_Request::CopyFrom(const COAuthToken_ImplicitGrantNoPrompt_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:COAuthToken_ImplicitGrantNoPrompt_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool COAuthToken_ImplicitGrantNoPrompt_Request::IsInitialized() const { - return true; -} - -void COAuthToken_ImplicitGrantNoPrompt_Request::InternalSwap(COAuthToken_ImplicitGrantNoPrompt_Request* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.clientid_, lhs_arena, - &other->_impl_.clientid_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata COAuthToken_ImplicitGrantNoPrompt_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5foauth_2esteamworkssdk_2eproto[0]); -} - -// =================================================================== - -class COAuthToken_ImplicitGrantNoPrompt_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_access_token(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_redirect_uri(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -COAuthToken_ImplicitGrantNoPrompt_Response::COAuthToken_ImplicitGrantNoPrompt_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:COAuthToken_ImplicitGrantNoPrompt_Response) -} -COAuthToken_ImplicitGrantNoPrompt_Response::COAuthToken_ImplicitGrantNoPrompt_Response(const COAuthToken_ImplicitGrantNoPrompt_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - COAuthToken_ImplicitGrantNoPrompt_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.access_token_){} - , decltype(_impl_.redirect_uri_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.access_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.access_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_access_token()) { - _this->_impl_.access_token_.Set(from._internal_access_token(), - _this->GetArenaForAllocation()); - } - _impl_.redirect_uri_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.redirect_uri_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_redirect_uri()) { - _this->_impl_.redirect_uri_.Set(from._internal_redirect_uri(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:COAuthToken_ImplicitGrantNoPrompt_Response) -} - -inline void COAuthToken_ImplicitGrantNoPrompt_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.access_token_){} - , decltype(_impl_.redirect_uri_){} - }; - _impl_.access_token_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.access_token_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.redirect_uri_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.redirect_uri_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -COAuthToken_ImplicitGrantNoPrompt_Response::~COAuthToken_ImplicitGrantNoPrompt_Response() { - // @@protoc_insertion_point(destructor:COAuthToken_ImplicitGrantNoPrompt_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void COAuthToken_ImplicitGrantNoPrompt_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.access_token_.Destroy(); - _impl_.redirect_uri_.Destroy(); -} - -void COAuthToken_ImplicitGrantNoPrompt_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void COAuthToken_ImplicitGrantNoPrompt_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:COAuthToken_ImplicitGrantNoPrompt_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.access_token_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.redirect_uri_.ClearNonDefaultToEmpty(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* COAuthToken_ImplicitGrantNoPrompt_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string access_token = 1 [(.description) = "OAuth Token, granted on success"]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_access_token(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "COAuthToken_ImplicitGrantNoPrompt_Response.access_token"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string redirect_uri = 2 [(.description) = "Redirection URI provided during client registration."]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_redirect_uri(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "COAuthToken_ImplicitGrantNoPrompt_Response.redirect_uri"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* COAuthToken_ImplicitGrantNoPrompt_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:COAuthToken_ImplicitGrantNoPrompt_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string access_token = 1 [(.description) = "OAuth Token, granted on success"]; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_access_token().data(), static_cast(this->_internal_access_token().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "COAuthToken_ImplicitGrantNoPrompt_Response.access_token"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_access_token(), target); - } - - // optional string redirect_uri = 2 [(.description) = "Redirection URI provided during client registration."]; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_redirect_uri().data(), static_cast(this->_internal_redirect_uri().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "COAuthToken_ImplicitGrantNoPrompt_Response.redirect_uri"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_redirect_uri(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:COAuthToken_ImplicitGrantNoPrompt_Response) - return target; -} - -size_t COAuthToken_ImplicitGrantNoPrompt_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:COAuthToken_ImplicitGrantNoPrompt_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string access_token = 1 [(.description) = "OAuth Token, granted on success"]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_access_token()); - } - - // optional string redirect_uri = 2 [(.description) = "Redirection URI provided during client registration."]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_redirect_uri()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData COAuthToken_ImplicitGrantNoPrompt_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - COAuthToken_ImplicitGrantNoPrompt_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*COAuthToken_ImplicitGrantNoPrompt_Response::GetClassData() const { return &_class_data_; } - - -void COAuthToken_ImplicitGrantNoPrompt_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:COAuthToken_ImplicitGrantNoPrompt_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_access_token(from._internal_access_token()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_redirect_uri(from._internal_redirect_uri()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void COAuthToken_ImplicitGrantNoPrompt_Response::CopyFrom(const COAuthToken_ImplicitGrantNoPrompt_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:COAuthToken_ImplicitGrantNoPrompt_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool COAuthToken_ImplicitGrantNoPrompt_Response::IsInitialized() const { - return true; -} - -void COAuthToken_ImplicitGrantNoPrompt_Response::InternalSwap(COAuthToken_ImplicitGrantNoPrompt_Response* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.access_token_, lhs_arena, - &other->_impl_.access_token_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.redirect_uri_, lhs_arena, - &other->_impl_.redirect_uri_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata COAuthToken_ImplicitGrantNoPrompt_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5foauth_2esteamworkssdk_2eproto[1]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::COAuthToken_ImplicitGrantNoPrompt_Request* -Arena::CreateMaybeMessage< ::COAuthToken_ImplicitGrantNoPrompt_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::COAuthToken_ImplicitGrantNoPrompt_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::COAuthToken_ImplicitGrantNoPrompt_Response* -Arena::CreateMaybeMessage< ::COAuthToken_ImplicitGrantNoPrompt_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::COAuthToken_ImplicitGrantNoPrompt_Response >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/steammessages_oauth.steamworkssdk.pb.h b/protobuf/generated/steammessages_oauth.steamworkssdk.pb.h deleted file mode 100644 index 3930633eb..000000000 --- a/protobuf/generated/steammessages_oauth.steamworkssdk.pb.h +++ /dev/null @@ -1,640 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steammessages_oauth.steamworkssdk.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_steammessages_5foauth_2esteamworkssdk_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_steammessages_5foauth_2esteamworkssdk_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "steammessages_unified_base.steamworkssdk.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_steammessages_5foauth_2esteamworkssdk_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_steammessages_5foauth_2esteamworkssdk_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steammessages_5foauth_2esteamworkssdk_2eproto; -class COAuthToken_ImplicitGrantNoPrompt_Request; -struct COAuthToken_ImplicitGrantNoPrompt_RequestDefaultTypeInternal; -extern COAuthToken_ImplicitGrantNoPrompt_RequestDefaultTypeInternal _COAuthToken_ImplicitGrantNoPrompt_Request_default_instance_; -class COAuthToken_ImplicitGrantNoPrompt_Response; -struct COAuthToken_ImplicitGrantNoPrompt_ResponseDefaultTypeInternal; -extern COAuthToken_ImplicitGrantNoPrompt_ResponseDefaultTypeInternal _COAuthToken_ImplicitGrantNoPrompt_Response_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::COAuthToken_ImplicitGrantNoPrompt_Request* Arena::CreateMaybeMessage<::COAuthToken_ImplicitGrantNoPrompt_Request>(Arena*); -template<> ::COAuthToken_ImplicitGrantNoPrompt_Response* Arena::CreateMaybeMessage<::COAuthToken_ImplicitGrantNoPrompt_Response>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -// =================================================================== - -class COAuthToken_ImplicitGrantNoPrompt_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:COAuthToken_ImplicitGrantNoPrompt_Request) */ { - public: - inline COAuthToken_ImplicitGrantNoPrompt_Request() : COAuthToken_ImplicitGrantNoPrompt_Request(nullptr) {} - ~COAuthToken_ImplicitGrantNoPrompt_Request() override; - explicit PROTOBUF_CONSTEXPR COAuthToken_ImplicitGrantNoPrompt_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - COAuthToken_ImplicitGrantNoPrompt_Request(const COAuthToken_ImplicitGrantNoPrompt_Request& from); - COAuthToken_ImplicitGrantNoPrompt_Request(COAuthToken_ImplicitGrantNoPrompt_Request&& from) noexcept - : COAuthToken_ImplicitGrantNoPrompt_Request() { - *this = ::std::move(from); - } - - inline COAuthToken_ImplicitGrantNoPrompt_Request& operator=(const COAuthToken_ImplicitGrantNoPrompt_Request& from) { - CopyFrom(from); - return *this; - } - inline COAuthToken_ImplicitGrantNoPrompt_Request& operator=(COAuthToken_ImplicitGrantNoPrompt_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const COAuthToken_ImplicitGrantNoPrompt_Request& default_instance() { - return *internal_default_instance(); - } - static inline const COAuthToken_ImplicitGrantNoPrompt_Request* internal_default_instance() { - return reinterpret_cast( - &_COAuthToken_ImplicitGrantNoPrompt_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(COAuthToken_ImplicitGrantNoPrompt_Request& a, COAuthToken_ImplicitGrantNoPrompt_Request& b) { - a.Swap(&b); - } - inline void Swap(COAuthToken_ImplicitGrantNoPrompt_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(COAuthToken_ImplicitGrantNoPrompt_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - COAuthToken_ImplicitGrantNoPrompt_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const COAuthToken_ImplicitGrantNoPrompt_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const COAuthToken_ImplicitGrantNoPrompt_Request& from) { - COAuthToken_ImplicitGrantNoPrompt_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(COAuthToken_ImplicitGrantNoPrompt_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "COAuthToken_ImplicitGrantNoPrompt_Request"; - } - protected: - explicit COAuthToken_ImplicitGrantNoPrompt_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kClientidFieldNumber = 1, - }; - // optional string clientid = 1 [(.description) = "Client ID for which to count the number of issued tokens"]; - bool has_clientid() const; - private: - bool _internal_has_clientid() const; - public: - void clear_clientid(); - const std::string& clientid() const; - template - void set_clientid(ArgT0&& arg0, ArgT... args); - std::string* mutable_clientid(); - PROTOBUF_NODISCARD std::string* release_clientid(); - void set_allocated_clientid(std::string* clientid); - private: - const std::string& _internal_clientid() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_clientid(const std::string& value); - std::string* _internal_mutable_clientid(); - public: - - // @@protoc_insertion_point(class_scope:COAuthToken_ImplicitGrantNoPrompt_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr clientid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5foauth_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class COAuthToken_ImplicitGrantNoPrompt_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:COAuthToken_ImplicitGrantNoPrompt_Response) */ { - public: - inline COAuthToken_ImplicitGrantNoPrompt_Response() : COAuthToken_ImplicitGrantNoPrompt_Response(nullptr) {} - ~COAuthToken_ImplicitGrantNoPrompt_Response() override; - explicit PROTOBUF_CONSTEXPR COAuthToken_ImplicitGrantNoPrompt_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - COAuthToken_ImplicitGrantNoPrompt_Response(const COAuthToken_ImplicitGrantNoPrompt_Response& from); - COAuthToken_ImplicitGrantNoPrompt_Response(COAuthToken_ImplicitGrantNoPrompt_Response&& from) noexcept - : COAuthToken_ImplicitGrantNoPrompt_Response() { - *this = ::std::move(from); - } - - inline COAuthToken_ImplicitGrantNoPrompt_Response& operator=(const COAuthToken_ImplicitGrantNoPrompt_Response& from) { - CopyFrom(from); - return *this; - } - inline COAuthToken_ImplicitGrantNoPrompt_Response& operator=(COAuthToken_ImplicitGrantNoPrompt_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const COAuthToken_ImplicitGrantNoPrompt_Response& default_instance() { - return *internal_default_instance(); - } - static inline const COAuthToken_ImplicitGrantNoPrompt_Response* internal_default_instance() { - return reinterpret_cast( - &_COAuthToken_ImplicitGrantNoPrompt_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(COAuthToken_ImplicitGrantNoPrompt_Response& a, COAuthToken_ImplicitGrantNoPrompt_Response& b) { - a.Swap(&b); - } - inline void Swap(COAuthToken_ImplicitGrantNoPrompt_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(COAuthToken_ImplicitGrantNoPrompt_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - COAuthToken_ImplicitGrantNoPrompt_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const COAuthToken_ImplicitGrantNoPrompt_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const COAuthToken_ImplicitGrantNoPrompt_Response& from) { - COAuthToken_ImplicitGrantNoPrompt_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(COAuthToken_ImplicitGrantNoPrompt_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "COAuthToken_ImplicitGrantNoPrompt_Response"; - } - protected: - explicit COAuthToken_ImplicitGrantNoPrompt_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAccessTokenFieldNumber = 1, - kRedirectUriFieldNumber = 2, - }; - // optional string access_token = 1 [(.description) = "OAuth Token, granted on success"]; - bool has_access_token() const; - private: - bool _internal_has_access_token() const; - public: - void clear_access_token(); - const std::string& access_token() const; - template - void set_access_token(ArgT0&& arg0, ArgT... args); - std::string* mutable_access_token(); - PROTOBUF_NODISCARD std::string* release_access_token(); - void set_allocated_access_token(std::string* access_token); - private: - const std::string& _internal_access_token() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_access_token(const std::string& value); - std::string* _internal_mutable_access_token(); - public: - - // optional string redirect_uri = 2 [(.description) = "Redirection URI provided during client registration."]; - bool has_redirect_uri() const; - private: - bool _internal_has_redirect_uri() const; - public: - void clear_redirect_uri(); - const std::string& redirect_uri() const; - template - void set_redirect_uri(ArgT0&& arg0, ArgT... args); - std::string* mutable_redirect_uri(); - PROTOBUF_NODISCARD std::string* release_redirect_uri(); - void set_allocated_redirect_uri(std::string* redirect_uri); - private: - const std::string& _internal_redirect_uri() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_redirect_uri(const std::string& value); - std::string* _internal_mutable_redirect_uri(); - public: - - // @@protoc_insertion_point(class_scope:COAuthToken_ImplicitGrantNoPrompt_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr access_token_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr redirect_uri_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5foauth_2esteamworkssdk_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// COAuthToken_ImplicitGrantNoPrompt_Request - -// optional string clientid = 1 [(.description) = "Client ID for which to count the number of issued tokens"]; -inline bool COAuthToken_ImplicitGrantNoPrompt_Request::_internal_has_clientid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool COAuthToken_ImplicitGrantNoPrompt_Request::has_clientid() const { - return _internal_has_clientid(); -} -inline void COAuthToken_ImplicitGrantNoPrompt_Request::clear_clientid() { - _impl_.clientid_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& COAuthToken_ImplicitGrantNoPrompt_Request::clientid() const { - // @@protoc_insertion_point(field_get:COAuthToken_ImplicitGrantNoPrompt_Request.clientid) - return _internal_clientid(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void COAuthToken_ImplicitGrantNoPrompt_Request::set_clientid(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.clientid_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:COAuthToken_ImplicitGrantNoPrompt_Request.clientid) -} -inline std::string* COAuthToken_ImplicitGrantNoPrompt_Request::mutable_clientid() { - std::string* _s = _internal_mutable_clientid(); - // @@protoc_insertion_point(field_mutable:COAuthToken_ImplicitGrantNoPrompt_Request.clientid) - return _s; -} -inline const std::string& COAuthToken_ImplicitGrantNoPrompt_Request::_internal_clientid() const { - return _impl_.clientid_.Get(); -} -inline void COAuthToken_ImplicitGrantNoPrompt_Request::_internal_set_clientid(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.clientid_.Set(value, GetArenaForAllocation()); -} -inline std::string* COAuthToken_ImplicitGrantNoPrompt_Request::_internal_mutable_clientid() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.clientid_.Mutable(GetArenaForAllocation()); -} -inline std::string* COAuthToken_ImplicitGrantNoPrompt_Request::release_clientid() { - // @@protoc_insertion_point(field_release:COAuthToken_ImplicitGrantNoPrompt_Request.clientid) - if (!_internal_has_clientid()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.clientid_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.clientid_.IsDefault()) { - _impl_.clientid_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void COAuthToken_ImplicitGrantNoPrompt_Request::set_allocated_clientid(std::string* clientid) { - if (clientid != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.clientid_.SetAllocated(clientid, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.clientid_.IsDefault()) { - _impl_.clientid_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:COAuthToken_ImplicitGrantNoPrompt_Request.clientid) -} - -// ------------------------------------------------------------------- - -// COAuthToken_ImplicitGrantNoPrompt_Response - -// optional string access_token = 1 [(.description) = "OAuth Token, granted on success"]; -inline bool COAuthToken_ImplicitGrantNoPrompt_Response::_internal_has_access_token() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool COAuthToken_ImplicitGrantNoPrompt_Response::has_access_token() const { - return _internal_has_access_token(); -} -inline void COAuthToken_ImplicitGrantNoPrompt_Response::clear_access_token() { - _impl_.access_token_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& COAuthToken_ImplicitGrantNoPrompt_Response::access_token() const { - // @@protoc_insertion_point(field_get:COAuthToken_ImplicitGrantNoPrompt_Response.access_token) - return _internal_access_token(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void COAuthToken_ImplicitGrantNoPrompt_Response::set_access_token(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.access_token_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:COAuthToken_ImplicitGrantNoPrompt_Response.access_token) -} -inline std::string* COAuthToken_ImplicitGrantNoPrompt_Response::mutable_access_token() { - std::string* _s = _internal_mutable_access_token(); - // @@protoc_insertion_point(field_mutable:COAuthToken_ImplicitGrantNoPrompt_Response.access_token) - return _s; -} -inline const std::string& COAuthToken_ImplicitGrantNoPrompt_Response::_internal_access_token() const { - return _impl_.access_token_.Get(); -} -inline void COAuthToken_ImplicitGrantNoPrompt_Response::_internal_set_access_token(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.access_token_.Set(value, GetArenaForAllocation()); -} -inline std::string* COAuthToken_ImplicitGrantNoPrompt_Response::_internal_mutable_access_token() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.access_token_.Mutable(GetArenaForAllocation()); -} -inline std::string* COAuthToken_ImplicitGrantNoPrompt_Response::release_access_token() { - // @@protoc_insertion_point(field_release:COAuthToken_ImplicitGrantNoPrompt_Response.access_token) - if (!_internal_has_access_token()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.access_token_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.access_token_.IsDefault()) { - _impl_.access_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void COAuthToken_ImplicitGrantNoPrompt_Response::set_allocated_access_token(std::string* access_token) { - if (access_token != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.access_token_.SetAllocated(access_token, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.access_token_.IsDefault()) { - _impl_.access_token_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:COAuthToken_ImplicitGrantNoPrompt_Response.access_token) -} - -// optional string redirect_uri = 2 [(.description) = "Redirection URI provided during client registration."]; -inline bool COAuthToken_ImplicitGrantNoPrompt_Response::_internal_has_redirect_uri() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool COAuthToken_ImplicitGrantNoPrompt_Response::has_redirect_uri() const { - return _internal_has_redirect_uri(); -} -inline void COAuthToken_ImplicitGrantNoPrompt_Response::clear_redirect_uri() { - _impl_.redirect_uri_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& COAuthToken_ImplicitGrantNoPrompt_Response::redirect_uri() const { - // @@protoc_insertion_point(field_get:COAuthToken_ImplicitGrantNoPrompt_Response.redirect_uri) - return _internal_redirect_uri(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void COAuthToken_ImplicitGrantNoPrompt_Response::set_redirect_uri(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.redirect_uri_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:COAuthToken_ImplicitGrantNoPrompt_Response.redirect_uri) -} -inline std::string* COAuthToken_ImplicitGrantNoPrompt_Response::mutable_redirect_uri() { - std::string* _s = _internal_mutable_redirect_uri(); - // @@protoc_insertion_point(field_mutable:COAuthToken_ImplicitGrantNoPrompt_Response.redirect_uri) - return _s; -} -inline const std::string& COAuthToken_ImplicitGrantNoPrompt_Response::_internal_redirect_uri() const { - return _impl_.redirect_uri_.Get(); -} -inline void COAuthToken_ImplicitGrantNoPrompt_Response::_internal_set_redirect_uri(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.redirect_uri_.Set(value, GetArenaForAllocation()); -} -inline std::string* COAuthToken_ImplicitGrantNoPrompt_Response::_internal_mutable_redirect_uri() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.redirect_uri_.Mutable(GetArenaForAllocation()); -} -inline std::string* COAuthToken_ImplicitGrantNoPrompt_Response::release_redirect_uri() { - // @@protoc_insertion_point(field_release:COAuthToken_ImplicitGrantNoPrompt_Response.redirect_uri) - if (!_internal_has_redirect_uri()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.redirect_uri_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.redirect_uri_.IsDefault()) { - _impl_.redirect_uri_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void COAuthToken_ImplicitGrantNoPrompt_Response::set_allocated_redirect_uri(std::string* redirect_uri) { - if (redirect_uri != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.redirect_uri_.SetAllocated(redirect_uri, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.redirect_uri_.IsDefault()) { - _impl_.redirect_uri_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:COAuthToken_ImplicitGrantNoPrompt_Response.redirect_uri) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steammessages_5foauth_2esteamworkssdk_2eproto diff --git a/protobuf/generated/steammessages_player.steamworkssdk.pb.cc b/protobuf/generated/steammessages_player.steamworkssdk.pb.cc deleted file mode 100644 index 3464d39dc..000000000 --- a/protobuf/generated/steammessages_player.steamworkssdk.pb.cc +++ /dev/null @@ -1,9253 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steammessages_player.steamworkssdk.proto - -#include "steammessages_player.steamworkssdk.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CPlayer_GetMutualFriendsForIncomingInvites_Request::CPlayer_GetMutualFriendsForIncomingInvites_Request( - ::_pbi::ConstantInitialized) {} -struct CPlayer_GetMutualFriendsForIncomingInvites_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetMutualFriendsForIncomingInvites_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetMutualFriendsForIncomingInvites_RequestDefaultTypeInternal() {} - union { - CPlayer_GetMutualFriendsForIncomingInvites_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetMutualFriendsForIncomingInvites_RequestDefaultTypeInternal _CPlayer_GetMutualFriendsForIncomingInvites_Request_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_IncomingInviteMutualFriendList::CPlayer_IncomingInviteMutualFriendList( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.mutual_friend_account_ids_)*/{} - , /*decltype(_impl_.steamid_)*/uint64_t{0u}} {} -struct CPlayer_IncomingInviteMutualFriendListDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_IncomingInviteMutualFriendListDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_IncomingInviteMutualFriendListDefaultTypeInternal() {} - union { - CPlayer_IncomingInviteMutualFriendList _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_IncomingInviteMutualFriendListDefaultTypeInternal _CPlayer_IncomingInviteMutualFriendList_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetMutualFriendsForIncomingInvites_Response::CPlayer_GetMutualFriendsForIncomingInvites_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.incoming_invite_mutual_friends_lists_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CPlayer_GetMutualFriendsForIncomingInvites_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetMutualFriendsForIncomingInvites_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetMutualFriendsForIncomingInvites_ResponseDefaultTypeInternal() {} - union { - CPlayer_GetMutualFriendsForIncomingInvites_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetMutualFriendsForIncomingInvites_ResponseDefaultTypeInternal _CPlayer_GetMutualFriendsForIncomingInvites_Response_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Request::CPlayer_GetFriendsGameplayInfo_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.appid_)*/0u} {} -struct CPlayer_GetFriendsGameplayInfo_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetFriendsGameplayInfo_RequestDefaultTypeInternal() {} - union { - CPlayer_GetFriendsGameplayInfo_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetFriendsGameplayInfo_RequestDefaultTypeInternal _CPlayer_GetFriendsGameplayInfo_Request_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.minutes_played_)*/0u - , /*decltype(_impl_.minutes_played_forever_)*/0u} {} -struct CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfoDefaultTypeInternal() {} - union { - CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfoDefaultTypeInternal _CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.minutes_played_)*/0u - , /*decltype(_impl_.minutes_played_forever_)*/0u - , /*decltype(_impl_.in_wishlist_)*/false - , /*decltype(_impl_.owned_)*/false} {} -struct CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfoDefaultTypeInternal() {} - union { - CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfoDefaultTypeInternal _CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Response::CPlayer_GetFriendsGameplayInfo_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.in_game_)*/{} - , /*decltype(_impl_.played_recently_)*/{} - , /*decltype(_impl_.played_ever_)*/{} - , /*decltype(_impl_.owns_)*/{} - , /*decltype(_impl_.in_wishlist_)*/{} - , /*decltype(_impl_.your_info_)*/nullptr} {} -struct CPlayer_GetFriendsGameplayInfo_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetFriendsGameplayInfo_ResponseDefaultTypeInternal() {} - union { - CPlayer_GetFriendsGameplayInfo_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetFriendsGameplayInfo_ResponseDefaultTypeInternal _CPlayer_GetFriendsGameplayInfo_Response_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetGameBadgeLevels_Request::CPlayer_GetGameBadgeLevels_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.appid_)*/0u} {} -struct CPlayer_GetGameBadgeLevels_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetGameBadgeLevels_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetGameBadgeLevels_RequestDefaultTypeInternal() {} - union { - CPlayer_GetGameBadgeLevels_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetGameBadgeLevels_RequestDefaultTypeInternal _CPlayer_GetGameBadgeLevels_Request_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetGameBadgeLevels_Response_Badge::CPlayer_GetGameBadgeLevels_Response_Badge( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.level_)*/0 - , /*decltype(_impl_.series_)*/0 - , /*decltype(_impl_.border_color_)*/0u} {} -struct CPlayer_GetGameBadgeLevels_Response_BadgeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetGameBadgeLevels_Response_BadgeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetGameBadgeLevels_Response_BadgeDefaultTypeInternal() {} - union { - CPlayer_GetGameBadgeLevels_Response_Badge _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetGameBadgeLevels_Response_BadgeDefaultTypeInternal _CPlayer_GetGameBadgeLevels_Response_Badge_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetGameBadgeLevels_Response::CPlayer_GetGameBadgeLevels_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.badges_)*/{} - , /*decltype(_impl_.player_level_)*/0u} {} -struct CPlayer_GetGameBadgeLevels_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetGameBadgeLevels_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetGameBadgeLevels_ResponseDefaultTypeInternal() {} - union { - CPlayer_GetGameBadgeLevels_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetGameBadgeLevels_ResponseDefaultTypeInternal _CPlayer_GetGameBadgeLevels_Response_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetLastPlayedTimes_Request::CPlayer_GetLastPlayedTimes_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.min_last_played_)*/0u} {} -struct CPlayer_GetLastPlayedTimes_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetLastPlayedTimes_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetLastPlayedTimes_RequestDefaultTypeInternal() {} - union { - CPlayer_GetLastPlayedTimes_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetLastPlayedTimes_RequestDefaultTypeInternal _CPlayer_GetLastPlayedTimes_Request_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetLastPlayedTimes_Response_Game::CPlayer_GetLastPlayedTimes_Response_Game( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.appid_)*/0 - , /*decltype(_impl_.last_playtime_)*/0u - , /*decltype(_impl_.playtime_2weeks_)*/0 - , /*decltype(_impl_.playtime_forever_)*/0 - , /*decltype(_impl_.first_playtime_)*/0u} {} -struct CPlayer_GetLastPlayedTimes_Response_GameDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetLastPlayedTimes_Response_GameDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetLastPlayedTimes_Response_GameDefaultTypeInternal() {} - union { - CPlayer_GetLastPlayedTimes_Response_Game _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetLastPlayedTimes_Response_GameDefaultTypeInternal _CPlayer_GetLastPlayedTimes_Response_Game_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetLastPlayedTimes_Response::CPlayer_GetLastPlayedTimes_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.games_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CPlayer_GetLastPlayedTimes_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetLastPlayedTimes_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetLastPlayedTimes_ResponseDefaultTypeInternal() {} - union { - CPlayer_GetLastPlayedTimes_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetLastPlayedTimes_ResponseDefaultTypeInternal _CPlayer_GetLastPlayedTimes_Response_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_AcceptSSA_Request::CPlayer_AcceptSSA_Request( - ::_pbi::ConstantInitialized) {} -struct CPlayer_AcceptSSA_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_AcceptSSA_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_AcceptSSA_RequestDefaultTypeInternal() {} - union { - CPlayer_AcceptSSA_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_AcceptSSA_RequestDefaultTypeInternal _CPlayer_AcceptSSA_Request_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_AcceptSSA_Response::CPlayer_AcceptSSA_Response( - ::_pbi::ConstantInitialized) {} -struct CPlayer_AcceptSSA_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_AcceptSSA_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_AcceptSSA_ResponseDefaultTypeInternal() {} - union { - CPlayer_AcceptSSA_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_AcceptSSA_ResponseDefaultTypeInternal _CPlayer_AcceptSSA_Response_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetNicknameList_Request::CPlayer_GetNicknameList_Request( - ::_pbi::ConstantInitialized) {} -struct CPlayer_GetNicknameList_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetNicknameList_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetNicknameList_RequestDefaultTypeInternal() {} - union { - CPlayer_GetNicknameList_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetNicknameList_RequestDefaultTypeInternal _CPlayer_GetNicknameList_Request_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetNicknameList_Response_PlayerNickname::CPlayer_GetNicknameList_Response_PlayerNickname( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.nickname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.accountid_)*/0u} {} -struct CPlayer_GetNicknameList_Response_PlayerNicknameDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetNicknameList_Response_PlayerNicknameDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetNicknameList_Response_PlayerNicknameDefaultTypeInternal() {} - union { - CPlayer_GetNicknameList_Response_PlayerNickname _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetNicknameList_Response_PlayerNicknameDefaultTypeInternal _CPlayer_GetNicknameList_Response_PlayerNickname_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetNicknameList_Response::CPlayer_GetNicknameList_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.nicknames_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CPlayer_GetNicknameList_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetNicknameList_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetNicknameList_ResponseDefaultTypeInternal() {} - union { - CPlayer_GetNicknameList_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetNicknameList_ResponseDefaultTypeInternal _CPlayer_GetNicknameList_Response_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetPerFriendPreferences_Request::CPlayer_GetPerFriendPreferences_Request( - ::_pbi::ConstantInitialized) {} -struct CPlayer_GetPerFriendPreferences_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetPerFriendPreferences_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetPerFriendPreferences_RequestDefaultTypeInternal() {} - union { - CPlayer_GetPerFriendPreferences_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetPerFriendPreferences_RequestDefaultTypeInternal _CPlayer_GetPerFriendPreferences_Request_default_instance_; -PROTOBUF_CONSTEXPR PerFriendPreferences::PerFriendPreferences( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.nickname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.accountid_)*/0u - , /*decltype(_impl_.notifications_showingame_)*/0 - , /*decltype(_impl_.notifications_showonline_)*/0 - , /*decltype(_impl_.notifications_showmessages_)*/0 - , /*decltype(_impl_.sounds_showingame_)*/0 - , /*decltype(_impl_.sounds_showonline_)*/0 - , /*decltype(_impl_.sounds_showmessages_)*/0 - , /*decltype(_impl_.notifications_sendmobile_)*/0} {} -struct PerFriendPreferencesDefaultTypeInternal { - PROTOBUF_CONSTEXPR PerFriendPreferencesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~PerFriendPreferencesDefaultTypeInternal() {} - union { - PerFriendPreferences _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PerFriendPreferencesDefaultTypeInternal _PerFriendPreferences_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetPerFriendPreferences_Response::CPlayer_GetPerFriendPreferences_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.preferences_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CPlayer_GetPerFriendPreferences_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetPerFriendPreferences_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetPerFriendPreferences_ResponseDefaultTypeInternal() {} - union { - CPlayer_GetPerFriendPreferences_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetPerFriendPreferences_ResponseDefaultTypeInternal _CPlayer_GetPerFriendPreferences_Response_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_SetPerFriendPreferences_Request::CPlayer_SetPerFriendPreferences_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.preferences_)*/nullptr} {} -struct CPlayer_SetPerFriendPreferences_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_SetPerFriendPreferences_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_SetPerFriendPreferences_RequestDefaultTypeInternal() {} - union { - CPlayer_SetPerFriendPreferences_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_SetPerFriendPreferences_RequestDefaultTypeInternal _CPlayer_SetPerFriendPreferences_Request_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_SetPerFriendPreferences_Response::CPlayer_SetPerFriendPreferences_Response( - ::_pbi::ConstantInitialized) {} -struct CPlayer_SetPerFriendPreferences_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_SetPerFriendPreferences_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_SetPerFriendPreferences_ResponseDefaultTypeInternal() {} - union { - CPlayer_SetPerFriendPreferences_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_SetPerFriendPreferences_ResponseDefaultTypeInternal _CPlayer_SetPerFriendPreferences_Response_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_AddFriend_Request::CPlayer_AddFriend_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.steamid_)*/uint64_t{0u}} {} -struct CPlayer_AddFriend_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_AddFriend_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_AddFriend_RequestDefaultTypeInternal() {} - union { - CPlayer_AddFriend_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_AddFriend_RequestDefaultTypeInternal _CPlayer_AddFriend_Request_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_AddFriend_Response::CPlayer_AddFriend_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.invite_sent_)*/false - , /*decltype(_impl_.friend_relationship_)*/0u} {} -struct CPlayer_AddFriend_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_AddFriend_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_AddFriend_ResponseDefaultTypeInternal() {} - union { - CPlayer_AddFriend_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_AddFriend_ResponseDefaultTypeInternal _CPlayer_AddFriend_Response_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_RemoveFriend_Request::CPlayer_RemoveFriend_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.steamid_)*/uint64_t{0u}} {} -struct CPlayer_RemoveFriend_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_RemoveFriend_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_RemoveFriend_RequestDefaultTypeInternal() {} - union { - CPlayer_RemoveFriend_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_RemoveFriend_RequestDefaultTypeInternal _CPlayer_RemoveFriend_Request_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_RemoveFriend_Response::CPlayer_RemoveFriend_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.friend_relationship_)*/0u} {} -struct CPlayer_RemoveFriend_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_RemoveFriend_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_RemoveFriend_ResponseDefaultTypeInternal() {} - union { - CPlayer_RemoveFriend_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_RemoveFriend_ResponseDefaultTypeInternal _CPlayer_RemoveFriend_Response_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_IgnoreFriend_Request::CPlayer_IgnoreFriend_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.steamid_)*/uint64_t{0u} - , /*decltype(_impl_.unignore_)*/false} {} -struct CPlayer_IgnoreFriend_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_IgnoreFriend_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_IgnoreFriend_RequestDefaultTypeInternal() {} - union { - CPlayer_IgnoreFriend_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_IgnoreFriend_RequestDefaultTypeInternal _CPlayer_IgnoreFriend_Request_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_IgnoreFriend_Response::CPlayer_IgnoreFriend_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.friend_relationship_)*/0u} {} -struct CPlayer_IgnoreFriend_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_IgnoreFriend_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_IgnoreFriend_ResponseDefaultTypeInternal() {} - union { - CPlayer_IgnoreFriend_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_IgnoreFriend_ResponseDefaultTypeInternal _CPlayer_IgnoreFriend_Response_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetCommunityPreferences_Request::CPlayer_GetCommunityPreferences_Request( - ::_pbi::ConstantInitialized) {} -struct CPlayer_GetCommunityPreferences_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetCommunityPreferences_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetCommunityPreferences_RequestDefaultTypeInternal() {} - union { - CPlayer_GetCommunityPreferences_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetCommunityPreferences_RequestDefaultTypeInternal _CPlayer_GetCommunityPreferences_Request_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_CommunityPreferences::CPlayer_CommunityPreferences( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.timestamp_updated_)*/0u - , /*decltype(_impl_.parenthesize_nicknames_)*/false - , /*decltype(_impl_.hide_adult_content_violence_)*/true - , /*decltype(_impl_.hide_adult_content_sex_)*/true} {} -struct CPlayer_CommunityPreferencesDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_CommunityPreferencesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_CommunityPreferencesDefaultTypeInternal() {} - union { - CPlayer_CommunityPreferences _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_CommunityPreferencesDefaultTypeInternal _CPlayer_CommunityPreferences_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetCommunityPreferences_Response::CPlayer_GetCommunityPreferences_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.preferences_)*/nullptr} {} -struct CPlayer_GetCommunityPreferences_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetCommunityPreferences_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetCommunityPreferences_ResponseDefaultTypeInternal() {} - union { - CPlayer_GetCommunityPreferences_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetCommunityPreferences_ResponseDefaultTypeInternal _CPlayer_GetCommunityPreferences_Response_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_SetCommunityPreferences_Request::CPlayer_SetCommunityPreferences_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.preferences_)*/nullptr} {} -struct CPlayer_SetCommunityPreferences_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_SetCommunityPreferences_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_SetCommunityPreferences_RequestDefaultTypeInternal() {} - union { - CPlayer_SetCommunityPreferences_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_SetCommunityPreferences_RequestDefaultTypeInternal _CPlayer_SetCommunityPreferences_Request_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_SetCommunityPreferences_Response::CPlayer_SetCommunityPreferences_Response( - ::_pbi::ConstantInitialized) {} -struct CPlayer_SetCommunityPreferences_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_SetCommunityPreferences_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_SetCommunityPreferences_ResponseDefaultTypeInternal() {} - union { - CPlayer_SetCommunityPreferences_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_SetCommunityPreferences_ResponseDefaultTypeInternal _CPlayer_SetCommunityPreferences_Response_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetNewSteamAnnouncementState_Request::CPlayer_GetNewSteamAnnouncementState_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.language_)*/0} {} -struct CPlayer_GetNewSteamAnnouncementState_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetNewSteamAnnouncementState_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetNewSteamAnnouncementState_RequestDefaultTypeInternal() {} - union { - CPlayer_GetNewSteamAnnouncementState_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetNewSteamAnnouncementState_RequestDefaultTypeInternal _CPlayer_GetNewSteamAnnouncementState_Request_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_GetNewSteamAnnouncementState_Response::CPlayer_GetNewSteamAnnouncementState_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.announcement_headline_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.announcement_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.state_)*/0 - , /*decltype(_impl_.time_posted_)*/0u - , /*decltype(_impl_.announcement_gid_)*/uint64_t{0u}} {} -struct CPlayer_GetNewSteamAnnouncementState_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_GetNewSteamAnnouncementState_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_GetNewSteamAnnouncementState_ResponseDefaultTypeInternal() {} - union { - CPlayer_GetNewSteamAnnouncementState_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_GetNewSteamAnnouncementState_ResponseDefaultTypeInternal _CPlayer_GetNewSteamAnnouncementState_Response_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_UpdateSteamAnnouncementLastRead_Request::CPlayer_UpdateSteamAnnouncementLastRead_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.announcement_gid_)*/uint64_t{0u} - , /*decltype(_impl_.time_posted_)*/0u} {} -struct CPlayer_UpdateSteamAnnouncementLastRead_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_UpdateSteamAnnouncementLastRead_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_UpdateSteamAnnouncementLastRead_RequestDefaultTypeInternal() {} - union { - CPlayer_UpdateSteamAnnouncementLastRead_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_UpdateSteamAnnouncementLastRead_RequestDefaultTypeInternal _CPlayer_UpdateSteamAnnouncementLastRead_Request_default_instance_; -PROTOBUF_CONSTEXPR CPlayer_UpdateSteamAnnouncementLastRead_Response::CPlayer_UpdateSteamAnnouncementLastRead_Response( - ::_pbi::ConstantInitialized) {} -struct CPlayer_UpdateSteamAnnouncementLastRead_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPlayer_UpdateSteamAnnouncementLastRead_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPlayer_UpdateSteamAnnouncementLastRead_ResponseDefaultTypeInternal() {} - union { - CPlayer_UpdateSteamAnnouncementLastRead_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPlayer_UpdateSteamAnnouncementLastRead_ResponseDefaultTypeInternal _CPlayer_UpdateSteamAnnouncementLastRead_Response_default_instance_; -static ::_pb::Metadata file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[38]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_steammessages_5fplayer_2esteamworkssdk_2eproto[1]; -static const ::_pb::ServiceDescriptor* file_level_service_descriptors_steammessages_5fplayer_2esteamworkssdk_2eproto[1]; - -const uint32_t TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetMutualFriendsForIncomingInvites_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_IncomingInviteMutualFriendList, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_IncomingInviteMutualFriendList, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_IncomingInviteMutualFriendList, _impl_.steamid_), - PROTOBUF_FIELD_OFFSET(::CPlayer_IncomingInviteMutualFriendList, _impl_.mutual_friend_account_ids_), - 0, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetMutualFriendsForIncomingInvites_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetMutualFriendsForIncomingInvites_Response, _impl_.incoming_invite_mutual_friends_lists_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Request, _impl_.appid_), - 0, - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo, _impl_.steamid_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo, _impl_.minutes_played_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo, _impl_.minutes_played_forever_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo, _impl_.steamid_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo, _impl_.minutes_played_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo, _impl_.minutes_played_forever_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo, _impl_.in_wishlist_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo, _impl_.owned_), - 0, - 1, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response, _impl_.your_info_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response, _impl_.in_game_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response, _impl_.played_recently_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response, _impl_.played_ever_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response, _impl_.owns_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetFriendsGameplayInfo_Response, _impl_.in_wishlist_), - 0, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Request, _impl_.appid_), - 0, - PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Response_Badge, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Response_Badge, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Response_Badge, _impl_.level_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Response_Badge, _impl_.series_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Response_Badge, _impl_.border_color_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Response, _impl_.player_level_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetGameBadgeLevels_Response, _impl_.badges_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Request, _impl_.min_last_played_), - 0, - PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Response_Game, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Response_Game, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Response_Game, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Response_Game, _impl_.last_playtime_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Response_Game, _impl_.playtime_2weeks_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Response_Game, _impl_.playtime_forever_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Response_Game, _impl_.first_playtime_), - 0, - 1, - 2, - 3, - 4, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetLastPlayedTimes_Response, _impl_.games_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CPlayer_AcceptSSA_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CPlayer_AcceptSSA_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetNicknameList_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetNicknameList_Response_PlayerNickname, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetNicknameList_Response_PlayerNickname, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetNicknameList_Response_PlayerNickname, _impl_.accountid_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetNicknameList_Response_PlayerNickname, _impl_.nickname_), - 1, - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetNicknameList_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetNicknameList_Response, _impl_.nicknames_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetPerFriendPreferences_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_.accountid_), - PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_.nickname_), - PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_.notifications_showingame_), - PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_.notifications_showonline_), - PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_.notifications_showmessages_), - PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_.sounds_showingame_), - PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_.sounds_showonline_), - PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_.sounds_showmessages_), - PROTOBUF_FIELD_OFFSET(::PerFriendPreferences, _impl_.notifications_sendmobile_), - 1, - 0, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetPerFriendPreferences_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetPerFriendPreferences_Response, _impl_.preferences_), - PROTOBUF_FIELD_OFFSET(::CPlayer_SetPerFriendPreferences_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_SetPerFriendPreferences_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_SetPerFriendPreferences_Request, _impl_.preferences_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CPlayer_SetPerFriendPreferences_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_AddFriend_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_AddFriend_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_AddFriend_Request, _impl_.steamid_), - 0, - PROTOBUF_FIELD_OFFSET(::CPlayer_AddFriend_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_AddFriend_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_AddFriend_Response, _impl_.invite_sent_), - PROTOBUF_FIELD_OFFSET(::CPlayer_AddFriend_Response, _impl_.friend_relationship_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CPlayer_RemoveFriend_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_RemoveFriend_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_RemoveFriend_Request, _impl_.steamid_), - 0, - PROTOBUF_FIELD_OFFSET(::CPlayer_RemoveFriend_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_RemoveFriend_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_RemoveFriend_Response, _impl_.friend_relationship_), - 0, - PROTOBUF_FIELD_OFFSET(::CPlayer_IgnoreFriend_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_IgnoreFriend_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_IgnoreFriend_Request, _impl_.steamid_), - PROTOBUF_FIELD_OFFSET(::CPlayer_IgnoreFriend_Request, _impl_.unignore_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CPlayer_IgnoreFriend_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_IgnoreFriend_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_IgnoreFriend_Response, _impl_.friend_relationship_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetCommunityPreferences_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_CommunityPreferences, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_CommunityPreferences, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_CommunityPreferences, _impl_.hide_adult_content_violence_), - PROTOBUF_FIELD_OFFSET(::CPlayer_CommunityPreferences, _impl_.hide_adult_content_sex_), - PROTOBUF_FIELD_OFFSET(::CPlayer_CommunityPreferences, _impl_.parenthesize_nicknames_), - PROTOBUF_FIELD_OFFSET(::CPlayer_CommunityPreferences, _impl_.timestamp_updated_), - 2, - 3, - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CPlayer_GetCommunityPreferences_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetCommunityPreferences_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetCommunityPreferences_Response, _impl_.preferences_), - 0, - PROTOBUF_FIELD_OFFSET(::CPlayer_SetCommunityPreferences_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_SetCommunityPreferences_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_SetCommunityPreferences_Request, _impl_.preferences_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CPlayer_SetCommunityPreferences_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Request, _impl_.language_), - 0, - PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Response, _impl_.state_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Response, _impl_.announcement_headline_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Response, _impl_.announcement_url_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Response, _impl_.time_posted_), - PROTOBUF_FIELD_OFFSET(::CPlayer_GetNewSteamAnnouncementState_Response, _impl_.announcement_gid_), - 2, - 0, - 1, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CPlayer_UpdateSteamAnnouncementLastRead_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPlayer_UpdateSteamAnnouncementLastRead_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPlayer_UpdateSteamAnnouncementLastRead_Request, _impl_.announcement_gid_), - PROTOBUF_FIELD_OFFSET(::CPlayer_UpdateSteamAnnouncementLastRead_Request, _impl_.time_posted_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CPlayer_UpdateSteamAnnouncementLastRead_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, -1, sizeof(::CPlayer_GetMutualFriendsForIncomingInvites_Request)}, - { 6, 14, -1, sizeof(::CPlayer_IncomingInviteMutualFriendList)}, - { 16, -1, -1, sizeof(::CPlayer_GetMutualFriendsForIncomingInvites_Response)}, - { 23, 30, -1, sizeof(::CPlayer_GetFriendsGameplayInfo_Request)}, - { 31, 40, -1, sizeof(::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo)}, - { 43, 54, -1, sizeof(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo)}, - { 59, 71, -1, sizeof(::CPlayer_GetFriendsGameplayInfo_Response)}, - { 77, 84, -1, sizeof(::CPlayer_GetGameBadgeLevels_Request)}, - { 85, 94, -1, sizeof(::CPlayer_GetGameBadgeLevels_Response_Badge)}, - { 97, 105, -1, sizeof(::CPlayer_GetGameBadgeLevels_Response)}, - { 107, 114, -1, sizeof(::CPlayer_GetLastPlayedTimes_Request)}, - { 115, 126, -1, sizeof(::CPlayer_GetLastPlayedTimes_Response_Game)}, - { 131, -1, -1, sizeof(::CPlayer_GetLastPlayedTimes_Response)}, - { 138, -1, -1, sizeof(::CPlayer_AcceptSSA_Request)}, - { 144, -1, -1, sizeof(::CPlayer_AcceptSSA_Response)}, - { 150, -1, -1, sizeof(::CPlayer_GetNicknameList_Request)}, - { 156, 164, -1, sizeof(::CPlayer_GetNicknameList_Response_PlayerNickname)}, - { 166, -1, -1, sizeof(::CPlayer_GetNicknameList_Response)}, - { 173, -1, -1, sizeof(::CPlayer_GetPerFriendPreferences_Request)}, - { 179, 194, -1, sizeof(::PerFriendPreferences)}, - { 203, -1, -1, sizeof(::CPlayer_GetPerFriendPreferences_Response)}, - { 210, 217, -1, sizeof(::CPlayer_SetPerFriendPreferences_Request)}, - { 218, -1, -1, sizeof(::CPlayer_SetPerFriendPreferences_Response)}, - { 224, 231, -1, sizeof(::CPlayer_AddFriend_Request)}, - { 232, 240, -1, sizeof(::CPlayer_AddFriend_Response)}, - { 242, 249, -1, sizeof(::CPlayer_RemoveFriend_Request)}, - { 250, 257, -1, sizeof(::CPlayer_RemoveFriend_Response)}, - { 258, 266, -1, sizeof(::CPlayer_IgnoreFriend_Request)}, - { 268, 275, -1, sizeof(::CPlayer_IgnoreFriend_Response)}, - { 276, -1, -1, sizeof(::CPlayer_GetCommunityPreferences_Request)}, - { 282, 292, -1, sizeof(::CPlayer_CommunityPreferences)}, - { 296, 303, -1, sizeof(::CPlayer_GetCommunityPreferences_Response)}, - { 304, 311, -1, sizeof(::CPlayer_SetCommunityPreferences_Request)}, - { 312, -1, -1, sizeof(::CPlayer_SetCommunityPreferences_Response)}, - { 318, 325, -1, sizeof(::CPlayer_GetNewSteamAnnouncementState_Request)}, - { 326, 337, -1, sizeof(::CPlayer_GetNewSteamAnnouncementState_Response)}, - { 342, 350, -1, sizeof(::CPlayer_UpdateSteamAnnouncementLastRead_Request)}, - { 352, -1, -1, sizeof(::CPlayer_UpdateSteamAnnouncementLastRead_Response)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CPlayer_GetMutualFriendsForIncomingInvites_Request_default_instance_._instance, - &::_CPlayer_IncomingInviteMutualFriendList_default_instance_._instance, - &::_CPlayer_GetMutualFriendsForIncomingInvites_Response_default_instance_._instance, - &::_CPlayer_GetFriendsGameplayInfo_Request_default_instance_._instance, - &::_CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo_default_instance_._instance, - &::_CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo_default_instance_._instance, - &::_CPlayer_GetFriendsGameplayInfo_Response_default_instance_._instance, - &::_CPlayer_GetGameBadgeLevels_Request_default_instance_._instance, - &::_CPlayer_GetGameBadgeLevels_Response_Badge_default_instance_._instance, - &::_CPlayer_GetGameBadgeLevels_Response_default_instance_._instance, - &::_CPlayer_GetLastPlayedTimes_Request_default_instance_._instance, - &::_CPlayer_GetLastPlayedTimes_Response_Game_default_instance_._instance, - &::_CPlayer_GetLastPlayedTimes_Response_default_instance_._instance, - &::_CPlayer_AcceptSSA_Request_default_instance_._instance, - &::_CPlayer_AcceptSSA_Response_default_instance_._instance, - &::_CPlayer_GetNicknameList_Request_default_instance_._instance, - &::_CPlayer_GetNicknameList_Response_PlayerNickname_default_instance_._instance, - &::_CPlayer_GetNicknameList_Response_default_instance_._instance, - &::_CPlayer_GetPerFriendPreferences_Request_default_instance_._instance, - &::_PerFriendPreferences_default_instance_._instance, - &::_CPlayer_GetPerFriendPreferences_Response_default_instance_._instance, - &::_CPlayer_SetPerFriendPreferences_Request_default_instance_._instance, - &::_CPlayer_SetPerFriendPreferences_Response_default_instance_._instance, - &::_CPlayer_AddFriend_Request_default_instance_._instance, - &::_CPlayer_AddFriend_Response_default_instance_._instance, - &::_CPlayer_RemoveFriend_Request_default_instance_._instance, - &::_CPlayer_RemoveFriend_Response_default_instance_._instance, - &::_CPlayer_IgnoreFriend_Request_default_instance_._instance, - &::_CPlayer_IgnoreFriend_Response_default_instance_._instance, - &::_CPlayer_GetCommunityPreferences_Request_default_instance_._instance, - &::_CPlayer_CommunityPreferences_default_instance_._instance, - &::_CPlayer_GetCommunityPreferences_Response_default_instance_._instance, - &::_CPlayer_SetCommunityPreferences_Request_default_instance_._instance, - &::_CPlayer_SetCommunityPreferences_Response_default_instance_._instance, - &::_CPlayer_GetNewSteamAnnouncementState_Request_default_instance_._instance, - &::_CPlayer_GetNewSteamAnnouncementState_Response_default_instance_._instance, - &::_CPlayer_UpdateSteamAnnouncementLastRead_Request_default_instance_._instance, - &::_CPlayer_UpdateSteamAnnouncementLastRead_Response_default_instance_._instance, -}; - -const char descriptor_table_protodef_steammessages_5fplayer_2esteamworkssdk_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n(steammessages_player.steamworkssdk.pro" - "to\032.steammessages_unified_base.steamwork" - "ssdk.proto\"4\n2CPlayer_GetMutualFriendsFo" - "rIncomingInvites_Request\"\\\n&CPlayer_Inco" - "mingInviteMutualFriendList\022\017\n\007steamid\030\001 " - "\001(\006\022!\n\031mutual_friend_account_ids\030\002 \003(\r\"\214" - "\001\n3CPlayer_GetMutualFriendsForIncomingIn" - "vites_Response\022U\n$incoming_invite_mutual" - "_friends_lists\030\001 \003(\0132\'.CPlayer_IncomingI" - "nviteMutualFriendList\"7\n&CPlayer_GetFrie" - "ndsGameplayInfo_Request\022\r\n\005appid\030\001 \001(\r\"\356" - "\005\n\'CPlayer_GetFriendsGameplayInfo_Respon" - "se\022K\n\tyour_info\030\001 \001(\01328.CPlayer_GetFrien" - "dsGameplayInfo_Response.OwnGameplayInfo\022" - "M\n\007in_game\030\002 \003(\0132<.CPlayer_GetFriendsGam" - "eplayInfo_Response.FriendsGameplayInfo\022U" - "\n\017played_recently\030\003 \003(\0132<.CPlayer_GetFri" - "endsGameplayInfo_Response.FriendsGamepla" - "yInfo\022Q\n\013played_ever\030\004 \003(\0132<.CPlayer_Get" - "FriendsGameplayInfo_Response.FriendsGame" - "playInfo\022J\n\004owns\030\005 \003(\0132<.CPlayer_GetFrie" - "ndsGameplayInfo_Response.FriendsGameplay" - "Info\022Q\n\013in_wishlist\030\006 \003(\0132<.CPlayer_GetF" - "riendsGameplayInfo_Response.FriendsGamep" - "layInfo\032^\n\023FriendsGameplayInfo\022\017\n\007steami" - "d\030\001 \001(\006\022\026\n\016minutes_played\030\002 \001(\r\022\036\n\026minut" - "es_played_forever\030\003 \001(\r\032~\n\017OwnGameplayIn" - "fo\022\017\n\007steamid\030\001 \001(\006\022\026\n\016minutes_played\030\002 " - "\001(\r\022\036\n\026minutes_played_forever\030\003 \001(\r\022\023\n\013i" - "n_wishlist\030\004 \001(\010\022\r\n\005owned\030\005 \001(\010\"3\n\"CPlay" - "er_GetGameBadgeLevels_Request\022\r\n\005appid\030\001" - " \001(\r\"\265\001\n#CPlayer_GetGameBadgeLevels_Resp" - "onse\022\024\n\014player_level\030\001 \001(\r\022:\n\006badges\030\002 \003" - "(\0132*.CPlayer_GetGameBadgeLevels_Response" - ".Badge\032<\n\005Badge\022\r\n\005level\030\001 \001(\005\022\016\n\006series" - "\030\002 \001(\005\022\024\n\014border_color\030\003 \001(\r\"\202\001\n\"CPlayer" - "_GetLastPlayedTimes_Request\022\\\n\017min_last_" - "played\030\001 \001(\rBC\202\265\030\?The most recent last-p" - "layed time the client already knows abou" - "t\"\330\001\n#CPlayer_GetLastPlayedTimes_Respons" - "e\0228\n\005games\030\001 \003(\0132).CPlayer_GetLastPlayed" - "Times_Response.Game\032w\n\004Game\022\r\n\005appid\030\001 \001" - "(\005\022\025\n\rlast_playtime\030\002 \001(\r\022\027\n\017playtime_2w" - "eeks\030\003 \001(\005\022\030\n\020playtime_forever\030\004 \001(\005\022\026\n\016" - "first_playtime\030\005 \001(\r\"\033\n\031CPlayer_AcceptSS" - "A_Request\"\034\n\032CPlayer_AcceptSSA_Response\"" - "!\n\037CPlayer_GetNicknameList_Request\"\236\001\n C" - "Player_GetNicknameList_Response\022C\n\tnickn" - "ames\030\001 \003(\01320.CPlayer_GetNicknameList_Res" - "ponse.PlayerNickname\0325\n\016PlayerNickname\022\021" - "\n\taccountid\030\001 \001(\007\022\020\n\010nickname\030\002 \001(\t\")\n\'C" - "Player_GetPerFriendPreferences_Request\"\321" - "\005\n\024PerFriendPreferences\022\021\n\taccountid\030\001 \001" - "(\007\022\020\n\010nickname\030\002 \001(\t\022_\n\030notifications_sh" - "owingame\030\003 \001(\0162\025.ENotificationSetting:&k" - "_ENotificationSettingNotifyUseDefault\022_\n" - "\030notifications_showonline\030\004 \001(\0162\025.ENotif" - "icationSetting:&k_ENotificationSettingNo" - "tifyUseDefault\022a\n\032notifications_showmess" - "ages\030\005 \001(\0162\025.ENotificationSetting:&k_ENo" - "tificationSettingNotifyUseDefault\022X\n\021sou" - "nds_showingame\030\006 \001(\0162\025.ENotificationSett" - "ing:&k_ENotificationSettingNotifyUseDefa" - "ult\022X\n\021sounds_showonline\030\007 \001(\0162\025.ENotifi" - "cationSetting:&k_ENotificationSettingNot" - "ifyUseDefault\022Z\n\023sounds_showmessages\030\010 \001" - "(\0162\025.ENotificationSetting:&k_ENotificati" - "onSettingNotifyUseDefault\022_\n\030notificatio" - "ns_sendmobile\030\t \001(\0162\025.ENotificationSetti" - "ng:&k_ENotificationSettingNotifyUseDefau" - "lt\"V\n(CPlayer_GetPerFriendPreferences_Re" - "sponse\022*\n\013preferences\030\001 \003(\0132\025.PerFriendP" - "references\"U\n\'CPlayer_SetPerFriendPrefer" - "ences_Request\022*\n\013preferences\030\001 \001(\0132\025.Per" - "FriendPreferences\"*\n(CPlayer_SetPerFrien" - "dPreferences_Response\"c\n\031CPlayer_AddFrie" - "nd_Request\022F\n\007steamid\030\001 \001(\006B5\202\265\0301Steam I" - "D of user to whom to send a friend invit" - "e.\"\366\001\n\032CPlayer_AddFriend_Response\022O\n\013inv" - "ite_sent\030\001 \001(\010B:\202\265\0306True if the operatio" - "n was successful, false otherwise.\022\206\001\n\023f" - "riend_relationship\030\002 \001(\rBi\202\265\030ethe result" - "ing relationship. Depending on state, m" - "ay move directly to friends rather than " - "invite sent\"R\n\034CPlayer_RemoveFriend_Requ" - "est\0222\n\007steamid\030\001 \001(\006B!\202\265\030\035Steam ID of fr" - "iend to remove.\"\\\n\035CPlayer_RemoveFriend_" - "Response\022;\n\023friend_relationship\030\001 \001(\rB\036\202" - "\265\030\032the resulting relationship\"\177\n\034CPlayer" - "_IgnoreFriend_Request\022\017\n\007steamid\030\001 \001(\006\022N" - "\n\010unignore\030\002 \001(\010B<\202\265\0308If set, remove fro" - "m ignore/block list instead of adding \"\\" - "\n\035CPlayer_IgnoreFriend_Response\022;\n\023frien" - "d_relationship\030\001 \001(\rB\036\202\265\030\032the resulting " - "relationship\")\n\'CPlayer_GetCommunityPref" - "erences_Request\"\261\001\n\034CPlayer_CommunityPre" - "ferences\022)\n\033hide_adult_content_violence\030" - "\001 \001(\010:\004true\022$\n\026hide_adult_content_sex\030\002 " - "\001(\010:\004true\022%\n\026parenthesize_nicknames\030\004 \001(" - "\010:\005false\022\031\n\021timestamp_updated\030\003 \001(\r\"^\n(C" - "Player_GetCommunityPreferences_Response\022" - "2\n\013preferences\030\001 \001(\0132\035.CPlayer_Community" - "Preferences\"]\n\'CPlayer_SetCommunityPrefe" - "rences_Request\0222\n\013preferences\030\001 \001(\0132\035.CP" - "layer_CommunityPreferences\"*\n(CPlayer_Se" - "tCommunityPreferences_Response\"@\n,CPlaye" - "r_GetNewSteamAnnouncementState_Request\022\020" - "\n\010language\030\001 \001(\005\"\246\001\n-CPlayer_GetNewSteam" - "AnnouncementState_Response\022\r\n\005state\030\001 \001(" - "\005\022\035\n\025announcement_headline\030\002 \001(\t\022\030\n\020anno" - "uncement_url\030\003 \001(\t\022\023\n\013time_posted\030\004 \001(\r\022" - "\030\n\020announcement_gid\030\005 \001(\004\"`\n/CPlayer_Upd" - "ateSteamAnnouncementLastRead_Request\022\030\n\020" - "announcement_gid\030\001 \001(\004\022\023\n\013time_posted\030\002 " - "\001(\r\"2\n0CPlayer_UpdateSteamAnnouncementLa" - "stRead_Response*\205\001\n\024ENotificationSetting" - "\022*\n&k_ENotificationSettingNotifyUseDefau" - "lt\020\000\022 \n\034k_ENotificationSettingAlways\020\001\022\037" - "\n\033k_ENotificationSettingNever\020\0022\255\024\n\006Play" - "er\022\357\001\n\"GetMutualFriendsForIncomingInvite" - "s\0223.CPlayer_GetMutualFriendsForIncomingI" - "nvites_Request\0324.CPlayer_GetMutualFriend" - "sForIncomingInvites_Response\"^\202\265\030ZGet me" - " the mutual friends for each of my pendi" - "ng incoming invites (individuals and cla" - "ns).\022\270\001\n\026GetFriendsGameplayInfo\022\'.CPlaye" - "r_GetFriendsGameplayInfo_Request\032(.CPlay" - "er_GetFriendsGameplayInfo_Response\"K\202\265\030G" - "Get a list of friends who are playing, h" - "ave played, own, or want a game\022\266\001\n\022GetG" - "ameBadgeLevels\022#.CPlayer_GetGameBadgeLev" - "els_Request\032$.CPlayer_GetGameBadgeLevels" - "_Response\"U\202\265\030QReturns the Steam Level o" - "f a user, the Badge level for the game, " - "and if it\'s foil\022\225\001\n\030ClientGetLastPlayed" - "Times\022#.CPlayer_GetLastPlayedTimes_Reque" - "st\032$.CPlayer_GetLastPlayedTimes_Response" - "\".\202\265\030*Gets the last-played times for the" - " account\022c\n\tAcceptSSA\022\032.CPlayer_AcceptSS" - "A_Request\032\033.CPlayer_AcceptSSA_Response\"\035" - "\202\265\030\031User is accepting the SSA\022\224\001\n\017GetNic" - "knameList\022 .CPlayer_GetNicknameList_Requ" - "est\032!.CPlayer_GetNicknameList_Response\"<" - "\202\265\0308Gets the list of nicknames this user" - " has for other users\022\275\001\n\027GetPerFriendPre" - "ferences\022(.CPlayer_GetPerFriendPreferenc" - "es_Request\032).CPlayer_GetPerFriendPrefere" - "nces_Response\"M\202\265\030IGets the list of per-" - "friend preferences this user has set for" - " other users\022\267\001\n\027SetPerFriendPreferences" - "\022(.CPlayer_SetPerFriendPreferences_Reque" - "st\032).CPlayer_SetPerFriendPreferences_Res" - "ponse\"G\202\265\030CSets the logged in user\'s per" - "-friend preferences for the given user\022s" - "\n\tAddFriend\022\032.CPlayer_AddFriend_Request\032" - "\033.CPlayer_AddFriend_Response\"-\202\265\030)Invite" - "s another Steam user to be a friend\022\202\001\n\014" - "RemoveFriend\022\035.CPlayer_RemoveFriend_Requ" - "est\032\036.CPlayer_RemoveFriend_Response\"3\202\265\030" - "/Removes a friend or ignores a friend su" - "ggestion\022\246\001\n\014IgnoreFriend\022\035.CPlayer_Igno" - "reFriend_Request\032\036.CPlayer_IgnoreFriend_" - "Response\"W\202\265\030SBlocks or unblocks communi" - "cation with the user. Despite name, can" - " be a non-friend.\022\236\001\n\027GetCommunityPrefer" - "ences\022(.CPlayer_GetCommunityPreferences_" - "Request\032).CPlayer_GetCommunityPreference" - "s_Response\".\202\265\030*Returns the player\'s com" - "munity preferences\022\233\001\n\027SetCommunityPrefe" - "rences\022(.CPlayer_SetCommunityPreferences" - "_Request\032).CPlayer_SetCommunityPreferenc" - "es_Response\"+\202\265\030\'Sets the player\'s commu" - "nity preferences\022\336\001\n\034GetNewSteamAnnounce" - "mentState\022-.CPlayer_GetNewSteamAnnouncem" - "entState_Request\032..CPlayer_GetNewSteamAn" - "nouncementState_Response\"_\202\265\030[Calculates" - " and returns what to display for UI that" - " renders new steam announcement availabl" - "e\022\274\001\n\037UpdateSteamAnnouncementLastRead\0220." - "CPlayer_UpdateSteamAnnouncementLastRead_" - "Request\0321.CPlayer_UpdateSteamAnnouncemen" - "tLastRead_Response\"4\202\265\0300Marks latest ann" - "ouncement timestamp read by user\032-\202\265\030)A " - "service for accessing Steam player dataB" - "\003\200\001\001" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_deps[1] = { - &::descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto, -}; -static ::_pbi::once_flag descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto = { - false, false, 7364, descriptor_table_protodef_steammessages_5fplayer_2esteamworkssdk_2eproto, - "steammessages_player.steamworkssdk.proto", - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_deps, 1, 38, - schemas, file_default_instances, TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto::offsets, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto, file_level_enum_descriptors_steammessages_5fplayer_2esteamworkssdk_2eproto, - file_level_service_descriptors_steammessages_5fplayer_2esteamworkssdk_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter() { - return &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steammessages_5fplayer_2esteamworkssdk_2eproto(&descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ENotificationSetting_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto); - return file_level_enum_descriptors_steammessages_5fplayer_2esteamworkssdk_2eproto[0]; -} -bool ENotificationSetting_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CPlayer_GetMutualFriendsForIncomingInvites_Request::_Internal { - public: -}; - -CPlayer_GetMutualFriendsForIncomingInvites_Request::CPlayer_GetMutualFriendsForIncomingInvites_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CPlayer_GetMutualFriendsForIncomingInvites_Request) -} -CPlayer_GetMutualFriendsForIncomingInvites_Request::CPlayer_GetMutualFriendsForIncomingInvites_Request(const CPlayer_GetMutualFriendsForIncomingInvites_Request& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CPlayer_GetMutualFriendsForIncomingInvites_Request* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CPlayer_GetMutualFriendsForIncomingInvites_Request) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetMutualFriendsForIncomingInvites_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetMutualFriendsForIncomingInvites_Request::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetMutualFriendsForIncomingInvites_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[0]); -} - -// =================================================================== - -class CPlayer_IncomingInviteMutualFriendList::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CPlayer_IncomingInviteMutualFriendList::CPlayer_IncomingInviteMutualFriendList(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_IncomingInviteMutualFriendList) -} -CPlayer_IncomingInviteMutualFriendList::CPlayer_IncomingInviteMutualFriendList(const CPlayer_IncomingInviteMutualFriendList& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_IncomingInviteMutualFriendList* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mutual_friend_account_ids_){from._impl_.mutual_friend_account_ids_} - , decltype(_impl_.steamid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.steamid_ = from._impl_.steamid_; - // @@protoc_insertion_point(copy_constructor:CPlayer_IncomingInviteMutualFriendList) -} - -inline void CPlayer_IncomingInviteMutualFriendList::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mutual_friend_account_ids_){arena} - , decltype(_impl_.steamid_){uint64_t{0u}} - }; -} - -CPlayer_IncomingInviteMutualFriendList::~CPlayer_IncomingInviteMutualFriendList() { - // @@protoc_insertion_point(destructor:CPlayer_IncomingInviteMutualFriendList) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_IncomingInviteMutualFriendList::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.mutual_friend_account_ids_.~RepeatedField(); -} - -void CPlayer_IncomingInviteMutualFriendList::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_IncomingInviteMutualFriendList::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_IncomingInviteMutualFriendList) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.mutual_friend_account_ids_.Clear(); - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_IncomingInviteMutualFriendList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 steamid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // repeated uint32 mutual_friend_account_ids = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_mutual_friend_account_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); - } else if (static_cast(tag) == 18) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_mutual_friend_account_ids(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_IncomingInviteMutualFriendList::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_IncomingInviteMutualFriendList) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 steamid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); - } - - // repeated uint32 mutual_friend_account_ids = 2; - for (int i = 0, n = this->_internal_mutual_friend_account_ids_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_mutual_friend_account_ids(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_IncomingInviteMutualFriendList) - return target; -} - -size_t CPlayer_IncomingInviteMutualFriendList::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_IncomingInviteMutualFriendList) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 mutual_friend_account_ids = 2; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.mutual_friend_account_ids_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_mutual_friend_account_ids_size()); - total_size += data_size; - } - - // optional fixed64 steamid = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_IncomingInviteMutualFriendList::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_IncomingInviteMutualFriendList::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_IncomingInviteMutualFriendList::GetClassData() const { return &_class_data_; } - - -void CPlayer_IncomingInviteMutualFriendList::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_IncomingInviteMutualFriendList) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.mutual_friend_account_ids_.MergeFrom(from._impl_.mutual_friend_account_ids_); - if (from._internal_has_steamid()) { - _this->_internal_set_steamid(from._internal_steamid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_IncomingInviteMutualFriendList::CopyFrom(const CPlayer_IncomingInviteMutualFriendList& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_IncomingInviteMutualFriendList) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_IncomingInviteMutualFriendList::IsInitialized() const { - return true; -} - -void CPlayer_IncomingInviteMutualFriendList::InternalSwap(CPlayer_IncomingInviteMutualFriendList* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.mutual_friend_account_ids_.InternalSwap(&other->_impl_.mutual_friend_account_ids_); - swap(_impl_.steamid_, other->_impl_.steamid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_IncomingInviteMutualFriendList::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[1]); -} - -// =================================================================== - -class CPlayer_GetMutualFriendsForIncomingInvites_Response::_Internal { - public: -}; - -CPlayer_GetMutualFriendsForIncomingInvites_Response::CPlayer_GetMutualFriendsForIncomingInvites_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_GetMutualFriendsForIncomingInvites_Response) -} -CPlayer_GetMutualFriendsForIncomingInvites_Response::CPlayer_GetMutualFriendsForIncomingInvites_Response(const CPlayer_GetMutualFriendsForIncomingInvites_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_GetMutualFriendsForIncomingInvites_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.incoming_invite_mutual_friends_lists_){from._impl_.incoming_invite_mutual_friends_lists_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CPlayer_GetMutualFriendsForIncomingInvites_Response) -} - -inline void CPlayer_GetMutualFriendsForIncomingInvites_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.incoming_invite_mutual_friends_lists_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CPlayer_GetMutualFriendsForIncomingInvites_Response::~CPlayer_GetMutualFriendsForIncomingInvites_Response() { - // @@protoc_insertion_point(destructor:CPlayer_GetMutualFriendsForIncomingInvites_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_GetMutualFriendsForIncomingInvites_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.incoming_invite_mutual_friends_lists_.~RepeatedPtrField(); -} - -void CPlayer_GetMutualFriendsForIncomingInvites_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_GetMutualFriendsForIncomingInvites_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_GetMutualFriendsForIncomingInvites_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.incoming_invite_mutual_friends_lists_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_GetMutualFriendsForIncomingInvites_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CPlayer_IncomingInviteMutualFriendList incoming_invite_mutual_friends_lists = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_incoming_invite_mutual_friends_lists(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_GetMutualFriendsForIncomingInvites_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetMutualFriendsForIncomingInvites_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CPlayer_IncomingInviteMutualFriendList incoming_invite_mutual_friends_lists = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_incoming_invite_mutual_friends_lists_size()); i < n; i++) { - const auto& repfield = this->_internal_incoming_invite_mutual_friends_lists(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_GetMutualFriendsForIncomingInvites_Response) - return target; -} - -size_t CPlayer_GetMutualFriendsForIncomingInvites_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetMutualFriendsForIncomingInvites_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CPlayer_IncomingInviteMutualFriendList incoming_invite_mutual_friends_lists = 1; - total_size += 1UL * this->_internal_incoming_invite_mutual_friends_lists_size(); - for (const auto& msg : this->_impl_.incoming_invite_mutual_friends_lists_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetMutualFriendsForIncomingInvites_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_GetMutualFriendsForIncomingInvites_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetMutualFriendsForIncomingInvites_Response::GetClassData() const { return &_class_data_; } - - -void CPlayer_GetMutualFriendsForIncomingInvites_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_GetMutualFriendsForIncomingInvites_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.incoming_invite_mutual_friends_lists_.MergeFrom(from._impl_.incoming_invite_mutual_friends_lists_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_GetMutualFriendsForIncomingInvites_Response::CopyFrom(const CPlayer_GetMutualFriendsForIncomingInvites_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetMutualFriendsForIncomingInvites_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_GetMutualFriendsForIncomingInvites_Response::IsInitialized() const { - return true; -} - -void CPlayer_GetMutualFriendsForIncomingInvites_Response::InternalSwap(CPlayer_GetMutualFriendsForIncomingInvites_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.incoming_invite_mutual_friends_lists_.InternalSwap(&other->_impl_.incoming_invite_mutual_friends_lists_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetMutualFriendsForIncomingInvites_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[2]); -} - -// =================================================================== - -class CPlayer_GetFriendsGameplayInfo_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CPlayer_GetFriendsGameplayInfo_Request::CPlayer_GetFriendsGameplayInfo_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_GetFriendsGameplayInfo_Request) -} -CPlayer_GetFriendsGameplayInfo_Request::CPlayer_GetFriendsGameplayInfo_Request(const CPlayer_GetFriendsGameplayInfo_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_GetFriendsGameplayInfo_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.appid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.appid_ = from._impl_.appid_; - // @@protoc_insertion_point(copy_constructor:CPlayer_GetFriendsGameplayInfo_Request) -} - -inline void CPlayer_GetFriendsGameplayInfo_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.appid_){0u} - }; -} - -CPlayer_GetFriendsGameplayInfo_Request::~CPlayer_GetFriendsGameplayInfo_Request() { - // @@protoc_insertion_point(destructor:CPlayer_GetFriendsGameplayInfo_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_GetFriendsGameplayInfo_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CPlayer_GetFriendsGameplayInfo_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_GetFriendsGameplayInfo_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_GetFriendsGameplayInfo_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.appid_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_GetFriendsGameplayInfo_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_GetFriendsGameplayInfo_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetFriendsGameplayInfo_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_GetFriendsGameplayInfo_Request) - return target; -} - -size_t CPlayer_GetFriendsGameplayInfo_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetFriendsGameplayInfo_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 appid = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetFriendsGameplayInfo_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_GetFriendsGameplayInfo_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetFriendsGameplayInfo_Request::GetClassData() const { return &_class_data_; } - - -void CPlayer_GetFriendsGameplayInfo_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_GetFriendsGameplayInfo_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_appid()) { - _this->_internal_set_appid(from._internal_appid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_GetFriendsGameplayInfo_Request::CopyFrom(const CPlayer_GetFriendsGameplayInfo_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetFriendsGameplayInfo_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_GetFriendsGameplayInfo_Request::IsInitialized() const { - return true; -} - -void CPlayer_GetFriendsGameplayInfo_Request::InternalSwap(CPlayer_GetFriendsGameplayInfo_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.appid_, other->_impl_.appid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetFriendsGameplayInfo_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[3]); -} - -// =================================================================== - -class CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_minutes_played(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_minutes_played_forever(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) -} -CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo(const CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){} - , decltype(_impl_.minutes_played_){} - , decltype(_impl_.minutes_played_forever_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, - static_cast(reinterpret_cast(&_impl_.minutes_played_forever_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.minutes_played_forever_)); - // @@protoc_insertion_point(copy_constructor:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) -} - -inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.minutes_played_){0u} - , decltype(_impl_.minutes_played_forever_){0u} - }; -} - -CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::~CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo() { - // @@protoc_insertion_point(destructor:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.steamid_, 0, static_cast( - reinterpret_cast(&_impl_.minutes_played_forever_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.minutes_played_forever_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 steamid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 minutes_played = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_minutes_played(&has_bits); - _impl_.minutes_played_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 minutes_played_forever = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_minutes_played_forever(&has_bits); - _impl_.minutes_played_forever_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 steamid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); - } - - // optional uint32 minutes_played = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_minutes_played(), target); - } - - // optional uint32 minutes_played_forever = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_minutes_played_forever(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) - return target; -} - -size_t CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional fixed64 steamid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - // optional uint32 minutes_played = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_minutes_played()); - } - - // optional uint32 minutes_played_forever = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_minutes_played_forever()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::GetClassData() const { return &_class_data_; } - - -void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.minutes_played_ = from._impl_.minutes_played_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.minutes_played_forever_ = from._impl_.minutes_played_forever_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::CopyFrom(const CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::IsInitialized() const { - return true; -} - -void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::InternalSwap(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo, _impl_.minutes_played_forever_) - + sizeof(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_impl_.minutes_played_forever_) - - PROTOBUF_FIELD_OFFSET(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo, _impl_.steamid_)>( - reinterpret_cast(&_impl_.steamid_), - reinterpret_cast(&other->_impl_.steamid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[4]); -} - -// =================================================================== - -class CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_minutes_played(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_minutes_played_forever(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_in_wishlist(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_owned(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) -} -CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo(const CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){} - , decltype(_impl_.minutes_played_){} - , decltype(_impl_.minutes_played_forever_){} - , decltype(_impl_.in_wishlist_){} - , decltype(_impl_.owned_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, - static_cast(reinterpret_cast(&_impl_.owned_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.owned_)); - // @@protoc_insertion_point(copy_constructor:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) -} - -inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.minutes_played_){0u} - , decltype(_impl_.minutes_played_forever_){0u} - , decltype(_impl_.in_wishlist_){false} - , decltype(_impl_.owned_){false} - }; -} - -CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::~CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo() { - // @@protoc_insertion_point(destructor:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.steamid_, 0, static_cast( - reinterpret_cast(&_impl_.owned_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.owned_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 steamid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 minutes_played = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_minutes_played(&has_bits); - _impl_.minutes_played_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 minutes_played_forever = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_minutes_played_forever(&has_bits); - _impl_.minutes_played_forever_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool in_wishlist = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_in_wishlist(&has_bits); - _impl_.in_wishlist_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool owned = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_owned(&has_bits); - _impl_.owned_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 steamid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); - } - - // optional uint32 minutes_played = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_minutes_played(), target); - } - - // optional uint32 minutes_played_forever = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_minutes_played_forever(), target); - } - - // optional bool in_wishlist = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_in_wishlist(), target); - } - - // optional bool owned = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_owned(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) - return target; -} - -size_t CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional fixed64 steamid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - // optional uint32 minutes_played = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_minutes_played()); - } - - // optional uint32 minutes_played_forever = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_minutes_played_forever()); - } - - // optional bool in_wishlist = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - // optional bool owned = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::GetClassData() const { return &_class_data_; } - - -void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.minutes_played_ = from._impl_.minutes_played_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.minutes_played_forever_ = from._impl_.minutes_played_forever_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.in_wishlist_ = from._impl_.in_wishlist_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.owned_ = from._impl_.owned_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::CopyFrom(const CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::IsInitialized() const { - return true; -} - -void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::InternalSwap(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo, _impl_.owned_) - + sizeof(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_impl_.owned_) - - PROTOBUF_FIELD_OFFSET(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo, _impl_.steamid_)>( - reinterpret_cast(&_impl_.steamid_), - reinterpret_cast(&other->_impl_.steamid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[5]); -} - -// =================================================================== - -class CPlayer_GetFriendsGameplayInfo_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& your_info(const CPlayer_GetFriendsGameplayInfo_Response* msg); - static void set_has_your_info(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& -CPlayer_GetFriendsGameplayInfo_Response::_Internal::your_info(const CPlayer_GetFriendsGameplayInfo_Response* msg) { - return *msg->_impl_.your_info_; -} -CPlayer_GetFriendsGameplayInfo_Response::CPlayer_GetFriendsGameplayInfo_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_GetFriendsGameplayInfo_Response) -} -CPlayer_GetFriendsGameplayInfo_Response::CPlayer_GetFriendsGameplayInfo_Response(const CPlayer_GetFriendsGameplayInfo_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_GetFriendsGameplayInfo_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.in_game_){from._impl_.in_game_} - , decltype(_impl_.played_recently_){from._impl_.played_recently_} - , decltype(_impl_.played_ever_){from._impl_.played_ever_} - , decltype(_impl_.owns_){from._impl_.owns_} - , decltype(_impl_.in_wishlist_){from._impl_.in_wishlist_} - , decltype(_impl_.your_info_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_your_info()) { - _this->_impl_.your_info_ = new ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo(*from._impl_.your_info_); - } - // @@protoc_insertion_point(copy_constructor:CPlayer_GetFriendsGameplayInfo_Response) -} - -inline void CPlayer_GetFriendsGameplayInfo_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.in_game_){arena} - , decltype(_impl_.played_recently_){arena} - , decltype(_impl_.played_ever_){arena} - , decltype(_impl_.owns_){arena} - , decltype(_impl_.in_wishlist_){arena} - , decltype(_impl_.your_info_){nullptr} - }; -} - -CPlayer_GetFriendsGameplayInfo_Response::~CPlayer_GetFriendsGameplayInfo_Response() { - // @@protoc_insertion_point(destructor:CPlayer_GetFriendsGameplayInfo_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_GetFriendsGameplayInfo_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.in_game_.~RepeatedPtrField(); - _impl_.played_recently_.~RepeatedPtrField(); - _impl_.played_ever_.~RepeatedPtrField(); - _impl_.owns_.~RepeatedPtrField(); - _impl_.in_wishlist_.~RepeatedPtrField(); - if (this != internal_default_instance()) delete _impl_.your_info_; -} - -void CPlayer_GetFriendsGameplayInfo_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_GetFriendsGameplayInfo_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_GetFriendsGameplayInfo_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.in_game_.Clear(); - _impl_.played_recently_.Clear(); - _impl_.played_ever_.Clear(); - _impl_.owns_.Clear(); - _impl_.in_wishlist_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.your_info_ != nullptr); - _impl_.your_info_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_GetFriendsGameplayInfo_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo your_info = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_your_info(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_game = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_in_game(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_recently = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_played_recently(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_ever = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_played_ever(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo owns = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_owns(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_wishlist = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_in_wishlist(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_GetFriendsGameplayInfo_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetFriendsGameplayInfo_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo your_info = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::your_info(this), - _Internal::your_info(this).GetCachedSize(), target, stream); - } - - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_game = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_in_game_size()); i < n; i++) { - const auto& repfield = this->_internal_in_game(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_recently = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_played_recently_size()); i < n; i++) { - const auto& repfield = this->_internal_played_recently(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_ever = 4; - for (unsigned i = 0, - n = static_cast(this->_internal_played_ever_size()); i < n; i++) { - const auto& repfield = this->_internal_played_ever(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo owns = 5; - for (unsigned i = 0, - n = static_cast(this->_internal_owns_size()); i < n; i++) { - const auto& repfield = this->_internal_owns(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_wishlist = 6; - for (unsigned i = 0, - n = static_cast(this->_internal_in_wishlist_size()); i < n; i++) { - const auto& repfield = this->_internal_in_wishlist(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_GetFriendsGameplayInfo_Response) - return target; -} - -size_t CPlayer_GetFriendsGameplayInfo_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetFriendsGameplayInfo_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_game = 2; - total_size += 1UL * this->_internal_in_game_size(); - for (const auto& msg : this->_impl_.in_game_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_recently = 3; - total_size += 1UL * this->_internal_played_recently_size(); - for (const auto& msg : this->_impl_.played_recently_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_ever = 4; - total_size += 1UL * this->_internal_played_ever_size(); - for (const auto& msg : this->_impl_.played_ever_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo owns = 5; - total_size += 1UL * this->_internal_owns_size(); - for (const auto& msg : this->_impl_.owns_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_wishlist = 6; - total_size += 1UL * this->_internal_in_wishlist_size(); - for (const auto& msg : this->_impl_.in_wishlist_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional .CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo your_info = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.your_info_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetFriendsGameplayInfo_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_GetFriendsGameplayInfo_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetFriendsGameplayInfo_Response::GetClassData() const { return &_class_data_; } - - -void CPlayer_GetFriendsGameplayInfo_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_GetFriendsGameplayInfo_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.in_game_.MergeFrom(from._impl_.in_game_); - _this->_impl_.played_recently_.MergeFrom(from._impl_.played_recently_); - _this->_impl_.played_ever_.MergeFrom(from._impl_.played_ever_); - _this->_impl_.owns_.MergeFrom(from._impl_.owns_); - _this->_impl_.in_wishlist_.MergeFrom(from._impl_.in_wishlist_); - if (from._internal_has_your_info()) { - _this->_internal_mutable_your_info()->::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::MergeFrom( - from._internal_your_info()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_GetFriendsGameplayInfo_Response::CopyFrom(const CPlayer_GetFriendsGameplayInfo_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetFriendsGameplayInfo_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_GetFriendsGameplayInfo_Response::IsInitialized() const { - return true; -} - -void CPlayer_GetFriendsGameplayInfo_Response::InternalSwap(CPlayer_GetFriendsGameplayInfo_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.in_game_.InternalSwap(&other->_impl_.in_game_); - _impl_.played_recently_.InternalSwap(&other->_impl_.played_recently_); - _impl_.played_ever_.InternalSwap(&other->_impl_.played_ever_); - _impl_.owns_.InternalSwap(&other->_impl_.owns_); - _impl_.in_wishlist_.InternalSwap(&other->_impl_.in_wishlist_); - swap(_impl_.your_info_, other->_impl_.your_info_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetFriendsGameplayInfo_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[6]); -} - -// =================================================================== - -class CPlayer_GetGameBadgeLevels_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CPlayer_GetGameBadgeLevels_Request::CPlayer_GetGameBadgeLevels_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_GetGameBadgeLevels_Request) -} -CPlayer_GetGameBadgeLevels_Request::CPlayer_GetGameBadgeLevels_Request(const CPlayer_GetGameBadgeLevels_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_GetGameBadgeLevels_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.appid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.appid_ = from._impl_.appid_; - // @@protoc_insertion_point(copy_constructor:CPlayer_GetGameBadgeLevels_Request) -} - -inline void CPlayer_GetGameBadgeLevels_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.appid_){0u} - }; -} - -CPlayer_GetGameBadgeLevels_Request::~CPlayer_GetGameBadgeLevels_Request() { - // @@protoc_insertion_point(destructor:CPlayer_GetGameBadgeLevels_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_GetGameBadgeLevels_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CPlayer_GetGameBadgeLevels_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_GetGameBadgeLevels_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_GetGameBadgeLevels_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.appid_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_GetGameBadgeLevels_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_GetGameBadgeLevels_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetGameBadgeLevels_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_GetGameBadgeLevels_Request) - return target; -} - -size_t CPlayer_GetGameBadgeLevels_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetGameBadgeLevels_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 appid = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetGameBadgeLevels_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_GetGameBadgeLevels_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetGameBadgeLevels_Request::GetClassData() const { return &_class_data_; } - - -void CPlayer_GetGameBadgeLevels_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_GetGameBadgeLevels_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_appid()) { - _this->_internal_set_appid(from._internal_appid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_GetGameBadgeLevels_Request::CopyFrom(const CPlayer_GetGameBadgeLevels_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetGameBadgeLevels_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_GetGameBadgeLevels_Request::IsInitialized() const { - return true; -} - -void CPlayer_GetGameBadgeLevels_Request::InternalSwap(CPlayer_GetGameBadgeLevels_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.appid_, other->_impl_.appid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetGameBadgeLevels_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[7]); -} - -// =================================================================== - -class CPlayer_GetGameBadgeLevels_Response_Badge::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_level(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_series(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_border_color(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CPlayer_GetGameBadgeLevels_Response_Badge::CPlayer_GetGameBadgeLevels_Response_Badge(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_GetGameBadgeLevels_Response.Badge) -} -CPlayer_GetGameBadgeLevels_Response_Badge::CPlayer_GetGameBadgeLevels_Response_Badge(const CPlayer_GetGameBadgeLevels_Response_Badge& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_GetGameBadgeLevels_Response_Badge* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.level_){} - , decltype(_impl_.series_){} - , decltype(_impl_.border_color_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.level_, &from._impl_.level_, - static_cast(reinterpret_cast(&_impl_.border_color_) - - reinterpret_cast(&_impl_.level_)) + sizeof(_impl_.border_color_)); - // @@protoc_insertion_point(copy_constructor:CPlayer_GetGameBadgeLevels_Response.Badge) -} - -inline void CPlayer_GetGameBadgeLevels_Response_Badge::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.level_){0} - , decltype(_impl_.series_){0} - , decltype(_impl_.border_color_){0u} - }; -} - -CPlayer_GetGameBadgeLevels_Response_Badge::~CPlayer_GetGameBadgeLevels_Response_Badge() { - // @@protoc_insertion_point(destructor:CPlayer_GetGameBadgeLevels_Response.Badge) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_GetGameBadgeLevels_Response_Badge::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CPlayer_GetGameBadgeLevels_Response_Badge::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_GetGameBadgeLevels_Response_Badge::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_GetGameBadgeLevels_Response.Badge) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.level_, 0, static_cast( - reinterpret_cast(&_impl_.border_color_) - - reinterpret_cast(&_impl_.level_)) + sizeof(_impl_.border_color_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_GetGameBadgeLevels_Response_Badge::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 level = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_level(&has_bits); - _impl_.level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 series = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_series(&has_bits); - _impl_.series_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 border_color = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_border_color(&has_bits); - _impl_.border_color_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_GetGameBadgeLevels_Response_Badge::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetGameBadgeLevels_Response.Badge) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 level = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_level(), target); - } - - // optional int32 series = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_series(), target); - } - - // optional uint32 border_color = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_border_color(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_GetGameBadgeLevels_Response.Badge) - return target; -} - -size_t CPlayer_GetGameBadgeLevels_Response_Badge::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetGameBadgeLevels_Response.Badge) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 level = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_level()); - } - - // optional int32 series = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_series()); - } - - // optional uint32 border_color = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_border_color()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetGameBadgeLevels_Response_Badge::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_GetGameBadgeLevels_Response_Badge::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetGameBadgeLevels_Response_Badge::GetClassData() const { return &_class_data_; } - - -void CPlayer_GetGameBadgeLevels_Response_Badge::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_GetGameBadgeLevels_Response.Badge) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.level_ = from._impl_.level_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.series_ = from._impl_.series_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.border_color_ = from._impl_.border_color_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_GetGameBadgeLevels_Response_Badge::CopyFrom(const CPlayer_GetGameBadgeLevels_Response_Badge& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetGameBadgeLevels_Response.Badge) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_GetGameBadgeLevels_Response_Badge::IsInitialized() const { - return true; -} - -void CPlayer_GetGameBadgeLevels_Response_Badge::InternalSwap(CPlayer_GetGameBadgeLevels_Response_Badge* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPlayer_GetGameBadgeLevels_Response_Badge, _impl_.border_color_) - + sizeof(CPlayer_GetGameBadgeLevels_Response_Badge::_impl_.border_color_) - - PROTOBUF_FIELD_OFFSET(CPlayer_GetGameBadgeLevels_Response_Badge, _impl_.level_)>( - reinterpret_cast(&_impl_.level_), - reinterpret_cast(&other->_impl_.level_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetGameBadgeLevels_Response_Badge::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[8]); -} - -// =================================================================== - -class CPlayer_GetGameBadgeLevels_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_player_level(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CPlayer_GetGameBadgeLevels_Response::CPlayer_GetGameBadgeLevels_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_GetGameBadgeLevels_Response) -} -CPlayer_GetGameBadgeLevels_Response::CPlayer_GetGameBadgeLevels_Response(const CPlayer_GetGameBadgeLevels_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_GetGameBadgeLevels_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.badges_){from._impl_.badges_} - , decltype(_impl_.player_level_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.player_level_ = from._impl_.player_level_; - // @@protoc_insertion_point(copy_constructor:CPlayer_GetGameBadgeLevels_Response) -} - -inline void CPlayer_GetGameBadgeLevels_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.badges_){arena} - , decltype(_impl_.player_level_){0u} - }; -} - -CPlayer_GetGameBadgeLevels_Response::~CPlayer_GetGameBadgeLevels_Response() { - // @@protoc_insertion_point(destructor:CPlayer_GetGameBadgeLevels_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_GetGameBadgeLevels_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.badges_.~RepeatedPtrField(); -} - -void CPlayer_GetGameBadgeLevels_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_GetGameBadgeLevels_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_GetGameBadgeLevels_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.badges_.Clear(); - _impl_.player_level_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_GetGameBadgeLevels_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 player_level = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_player_level(&has_bits); - _impl_.player_level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CPlayer_GetGameBadgeLevels_Response.Badge badges = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_badges(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_GetGameBadgeLevels_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetGameBadgeLevels_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 player_level = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_player_level(), target); - } - - // repeated .CPlayer_GetGameBadgeLevels_Response.Badge badges = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_badges_size()); i < n; i++) { - const auto& repfield = this->_internal_badges(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_GetGameBadgeLevels_Response) - return target; -} - -size_t CPlayer_GetGameBadgeLevels_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetGameBadgeLevels_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CPlayer_GetGameBadgeLevels_Response.Badge badges = 2; - total_size += 1UL * this->_internal_badges_size(); - for (const auto& msg : this->_impl_.badges_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // optional uint32 player_level = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_player_level()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetGameBadgeLevels_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_GetGameBadgeLevels_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetGameBadgeLevels_Response::GetClassData() const { return &_class_data_; } - - -void CPlayer_GetGameBadgeLevels_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_GetGameBadgeLevels_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.badges_.MergeFrom(from._impl_.badges_); - if (from._internal_has_player_level()) { - _this->_internal_set_player_level(from._internal_player_level()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_GetGameBadgeLevels_Response::CopyFrom(const CPlayer_GetGameBadgeLevels_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetGameBadgeLevels_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_GetGameBadgeLevels_Response::IsInitialized() const { - return true; -} - -void CPlayer_GetGameBadgeLevels_Response::InternalSwap(CPlayer_GetGameBadgeLevels_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.badges_.InternalSwap(&other->_impl_.badges_); - swap(_impl_.player_level_, other->_impl_.player_level_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetGameBadgeLevels_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[9]); -} - -// =================================================================== - -class CPlayer_GetLastPlayedTimes_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_min_last_played(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CPlayer_GetLastPlayedTimes_Request::CPlayer_GetLastPlayedTimes_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_GetLastPlayedTimes_Request) -} -CPlayer_GetLastPlayedTimes_Request::CPlayer_GetLastPlayedTimes_Request(const CPlayer_GetLastPlayedTimes_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_GetLastPlayedTimes_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.min_last_played_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.min_last_played_ = from._impl_.min_last_played_; - // @@protoc_insertion_point(copy_constructor:CPlayer_GetLastPlayedTimes_Request) -} - -inline void CPlayer_GetLastPlayedTimes_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.min_last_played_){0u} - }; -} - -CPlayer_GetLastPlayedTimes_Request::~CPlayer_GetLastPlayedTimes_Request() { - // @@protoc_insertion_point(destructor:CPlayer_GetLastPlayedTimes_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_GetLastPlayedTimes_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CPlayer_GetLastPlayedTimes_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_GetLastPlayedTimes_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_GetLastPlayedTimes_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.min_last_played_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_GetLastPlayedTimes_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 min_last_played = 1 [(.description) = "The most recent last-played time the client already knows about"]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_min_last_played(&has_bits); - _impl_.min_last_played_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_GetLastPlayedTimes_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetLastPlayedTimes_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 min_last_played = 1 [(.description) = "The most recent last-played time the client already knows about"]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_min_last_played(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_GetLastPlayedTimes_Request) - return target; -} - -size_t CPlayer_GetLastPlayedTimes_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetLastPlayedTimes_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 min_last_played = 1 [(.description) = "The most recent last-played time the client already knows about"]; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_min_last_played()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetLastPlayedTimes_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_GetLastPlayedTimes_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetLastPlayedTimes_Request::GetClassData() const { return &_class_data_; } - - -void CPlayer_GetLastPlayedTimes_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_GetLastPlayedTimes_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_min_last_played()) { - _this->_internal_set_min_last_played(from._internal_min_last_played()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_GetLastPlayedTimes_Request::CopyFrom(const CPlayer_GetLastPlayedTimes_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetLastPlayedTimes_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_GetLastPlayedTimes_Request::IsInitialized() const { - return true; -} - -void CPlayer_GetLastPlayedTimes_Request::InternalSwap(CPlayer_GetLastPlayedTimes_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.min_last_played_, other->_impl_.min_last_played_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetLastPlayedTimes_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[10]); -} - -// =================================================================== - -class CPlayer_GetLastPlayedTimes_Response_Game::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_last_playtime(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_playtime_2weeks(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_playtime_forever(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_first_playtime(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CPlayer_GetLastPlayedTimes_Response_Game::CPlayer_GetLastPlayedTimes_Response_Game(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_GetLastPlayedTimes_Response.Game) -} -CPlayer_GetLastPlayedTimes_Response_Game::CPlayer_GetLastPlayedTimes_Response_Game(const CPlayer_GetLastPlayedTimes_Response_Game& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_GetLastPlayedTimes_Response_Game* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.appid_){} - , decltype(_impl_.last_playtime_){} - , decltype(_impl_.playtime_2weeks_){} - , decltype(_impl_.playtime_forever_){} - , decltype(_impl_.first_playtime_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.appid_, &from._impl_.appid_, - static_cast(reinterpret_cast(&_impl_.first_playtime_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.first_playtime_)); - // @@protoc_insertion_point(copy_constructor:CPlayer_GetLastPlayedTimes_Response.Game) -} - -inline void CPlayer_GetLastPlayedTimes_Response_Game::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.appid_){0} - , decltype(_impl_.last_playtime_){0u} - , decltype(_impl_.playtime_2weeks_){0} - , decltype(_impl_.playtime_forever_){0} - , decltype(_impl_.first_playtime_){0u} - }; -} - -CPlayer_GetLastPlayedTimes_Response_Game::~CPlayer_GetLastPlayedTimes_Response_Game() { - // @@protoc_insertion_point(destructor:CPlayer_GetLastPlayedTimes_Response.Game) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_GetLastPlayedTimes_Response_Game::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CPlayer_GetLastPlayedTimes_Response_Game::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_GetLastPlayedTimes_Response_Game::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_GetLastPlayedTimes_Response.Game) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.appid_, 0, static_cast( - reinterpret_cast(&_impl_.first_playtime_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.first_playtime_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_GetLastPlayedTimes_Response_Game::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 last_playtime = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_last_playtime(&has_bits); - _impl_.last_playtime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 playtime_2weeks = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_playtime_2weeks(&has_bits); - _impl_.playtime_2weeks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 playtime_forever = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_playtime_forever(&has_bits); - _impl_.playtime_forever_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 first_playtime = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_first_playtime(&has_bits); - _impl_.first_playtime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_GetLastPlayedTimes_Response_Game::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetLastPlayedTimes_Response.Game) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 appid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_appid(), target); - } - - // optional uint32 last_playtime = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_last_playtime(), target); - } - - // optional int32 playtime_2weeks = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_playtime_2weeks(), target); - } - - // optional int32 playtime_forever = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_playtime_forever(), target); - } - - // optional uint32 first_playtime = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_first_playtime(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_GetLastPlayedTimes_Response.Game) - return target; -} - -size_t CPlayer_GetLastPlayedTimes_Response_Game::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetLastPlayedTimes_Response.Game) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional int32 appid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_appid()); - } - - // optional uint32 last_playtime = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_last_playtime()); - } - - // optional int32 playtime_2weeks = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playtime_2weeks()); - } - - // optional int32 playtime_forever = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playtime_forever()); - } - - // optional uint32 first_playtime = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_first_playtime()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetLastPlayedTimes_Response_Game::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_GetLastPlayedTimes_Response_Game::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetLastPlayedTimes_Response_Game::GetClassData() const { return &_class_data_; } - - -void CPlayer_GetLastPlayedTimes_Response_Game::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_GetLastPlayedTimes_Response.Game) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.last_playtime_ = from._impl_.last_playtime_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.playtime_2weeks_ = from._impl_.playtime_2weeks_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.playtime_forever_ = from._impl_.playtime_forever_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.first_playtime_ = from._impl_.first_playtime_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_GetLastPlayedTimes_Response_Game::CopyFrom(const CPlayer_GetLastPlayedTimes_Response_Game& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetLastPlayedTimes_Response.Game) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_GetLastPlayedTimes_Response_Game::IsInitialized() const { - return true; -} - -void CPlayer_GetLastPlayedTimes_Response_Game::InternalSwap(CPlayer_GetLastPlayedTimes_Response_Game* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPlayer_GetLastPlayedTimes_Response_Game, _impl_.first_playtime_) - + sizeof(CPlayer_GetLastPlayedTimes_Response_Game::_impl_.first_playtime_) - - PROTOBUF_FIELD_OFFSET(CPlayer_GetLastPlayedTimes_Response_Game, _impl_.appid_)>( - reinterpret_cast(&_impl_.appid_), - reinterpret_cast(&other->_impl_.appid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetLastPlayedTimes_Response_Game::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[11]); -} - -// =================================================================== - -class CPlayer_GetLastPlayedTimes_Response::_Internal { - public: -}; - -CPlayer_GetLastPlayedTimes_Response::CPlayer_GetLastPlayedTimes_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_GetLastPlayedTimes_Response) -} -CPlayer_GetLastPlayedTimes_Response::CPlayer_GetLastPlayedTimes_Response(const CPlayer_GetLastPlayedTimes_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_GetLastPlayedTimes_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.games_){from._impl_.games_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CPlayer_GetLastPlayedTimes_Response) -} - -inline void CPlayer_GetLastPlayedTimes_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.games_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CPlayer_GetLastPlayedTimes_Response::~CPlayer_GetLastPlayedTimes_Response() { - // @@protoc_insertion_point(destructor:CPlayer_GetLastPlayedTimes_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_GetLastPlayedTimes_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.games_.~RepeatedPtrField(); -} - -void CPlayer_GetLastPlayedTimes_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_GetLastPlayedTimes_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_GetLastPlayedTimes_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.games_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_GetLastPlayedTimes_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CPlayer_GetLastPlayedTimes_Response.Game games = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_games(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_GetLastPlayedTimes_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetLastPlayedTimes_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CPlayer_GetLastPlayedTimes_Response.Game games = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_games_size()); i < n; i++) { - const auto& repfield = this->_internal_games(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_GetLastPlayedTimes_Response) - return target; -} - -size_t CPlayer_GetLastPlayedTimes_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetLastPlayedTimes_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CPlayer_GetLastPlayedTimes_Response.Game games = 1; - total_size += 1UL * this->_internal_games_size(); - for (const auto& msg : this->_impl_.games_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetLastPlayedTimes_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_GetLastPlayedTimes_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetLastPlayedTimes_Response::GetClassData() const { return &_class_data_; } - - -void CPlayer_GetLastPlayedTimes_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_GetLastPlayedTimes_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.games_.MergeFrom(from._impl_.games_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_GetLastPlayedTimes_Response::CopyFrom(const CPlayer_GetLastPlayedTimes_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetLastPlayedTimes_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_GetLastPlayedTimes_Response::IsInitialized() const { - return true; -} - -void CPlayer_GetLastPlayedTimes_Response::InternalSwap(CPlayer_GetLastPlayedTimes_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.games_.InternalSwap(&other->_impl_.games_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetLastPlayedTimes_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[12]); -} - -// =================================================================== - -class CPlayer_AcceptSSA_Request::_Internal { - public: -}; - -CPlayer_AcceptSSA_Request::CPlayer_AcceptSSA_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CPlayer_AcceptSSA_Request) -} -CPlayer_AcceptSSA_Request::CPlayer_AcceptSSA_Request(const CPlayer_AcceptSSA_Request& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CPlayer_AcceptSSA_Request* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CPlayer_AcceptSSA_Request) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_AcceptSSA_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_AcceptSSA_Request::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_AcceptSSA_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[13]); -} - -// =================================================================== - -class CPlayer_AcceptSSA_Response::_Internal { - public: -}; - -CPlayer_AcceptSSA_Response::CPlayer_AcceptSSA_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CPlayer_AcceptSSA_Response) -} -CPlayer_AcceptSSA_Response::CPlayer_AcceptSSA_Response(const CPlayer_AcceptSSA_Response& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CPlayer_AcceptSSA_Response* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CPlayer_AcceptSSA_Response) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_AcceptSSA_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_AcceptSSA_Response::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_AcceptSSA_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[14]); -} - -// =================================================================== - -class CPlayer_GetNicknameList_Request::_Internal { - public: -}; - -CPlayer_GetNicknameList_Request::CPlayer_GetNicknameList_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CPlayer_GetNicknameList_Request) -} -CPlayer_GetNicknameList_Request::CPlayer_GetNicknameList_Request(const CPlayer_GetNicknameList_Request& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CPlayer_GetNicknameList_Request* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CPlayer_GetNicknameList_Request) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetNicknameList_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetNicknameList_Request::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetNicknameList_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[15]); -} - -// =================================================================== - -class CPlayer_GetNicknameList_Response_PlayerNickname::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_nickname(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CPlayer_GetNicknameList_Response_PlayerNickname::CPlayer_GetNicknameList_Response_PlayerNickname(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_GetNicknameList_Response.PlayerNickname) -} -CPlayer_GetNicknameList_Response_PlayerNickname::CPlayer_GetNicknameList_Response_PlayerNickname(const CPlayer_GetNicknameList_Response_PlayerNickname& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_GetNicknameList_Response_PlayerNickname* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.nickname_){} - , decltype(_impl_.accountid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.nickname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nickname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_nickname()) { - _this->_impl_.nickname_.Set(from._internal_nickname(), - _this->GetArenaForAllocation()); - } - _this->_impl_.accountid_ = from._impl_.accountid_; - // @@protoc_insertion_point(copy_constructor:CPlayer_GetNicknameList_Response.PlayerNickname) -} - -inline void CPlayer_GetNicknameList_Response_PlayerNickname::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.nickname_){} - , decltype(_impl_.accountid_){0u} - }; - _impl_.nickname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nickname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CPlayer_GetNicknameList_Response_PlayerNickname::~CPlayer_GetNicknameList_Response_PlayerNickname() { - // @@protoc_insertion_point(destructor:CPlayer_GetNicknameList_Response.PlayerNickname) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_GetNicknameList_Response_PlayerNickname::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.nickname_.Destroy(); -} - -void CPlayer_GetNicknameList_Response_PlayerNickname::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_GetNicknameList_Response_PlayerNickname::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_GetNicknameList_Response.PlayerNickname) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.nickname_.ClearNonDefaultToEmpty(); - } - _impl_.accountid_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_GetNicknameList_Response_PlayerNickname::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 accountid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional string nickname = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_nickname(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPlayer_GetNicknameList_Response.PlayerNickname.nickname"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_GetNicknameList_Response_PlayerNickname::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetNicknameList_Response.PlayerNickname) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 accountid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_accountid(), target); - } - - // optional string nickname = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_nickname().data(), static_cast(this->_internal_nickname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPlayer_GetNicknameList_Response.PlayerNickname.nickname"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_nickname(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_GetNicknameList_Response.PlayerNickname) - return target; -} - -size_t CPlayer_GetNicknameList_Response_PlayerNickname::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetNicknameList_Response.PlayerNickname) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string nickname = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_nickname()); - } - - // optional fixed32 accountid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetNicknameList_Response_PlayerNickname::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_GetNicknameList_Response_PlayerNickname::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetNicknameList_Response_PlayerNickname::GetClassData() const { return &_class_data_; } - - -void CPlayer_GetNicknameList_Response_PlayerNickname::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_GetNicknameList_Response.PlayerNickname) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_nickname(from._internal_nickname()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.accountid_ = from._impl_.accountid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_GetNicknameList_Response_PlayerNickname::CopyFrom(const CPlayer_GetNicknameList_Response_PlayerNickname& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetNicknameList_Response.PlayerNickname) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_GetNicknameList_Response_PlayerNickname::IsInitialized() const { - return true; -} - -void CPlayer_GetNicknameList_Response_PlayerNickname::InternalSwap(CPlayer_GetNicknameList_Response_PlayerNickname* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.nickname_, lhs_arena, - &other->_impl_.nickname_, rhs_arena - ); - swap(_impl_.accountid_, other->_impl_.accountid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetNicknameList_Response_PlayerNickname::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[16]); -} - -// =================================================================== - -class CPlayer_GetNicknameList_Response::_Internal { - public: -}; - -CPlayer_GetNicknameList_Response::CPlayer_GetNicknameList_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_GetNicknameList_Response) -} -CPlayer_GetNicknameList_Response::CPlayer_GetNicknameList_Response(const CPlayer_GetNicknameList_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_GetNicknameList_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.nicknames_){from._impl_.nicknames_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CPlayer_GetNicknameList_Response) -} - -inline void CPlayer_GetNicknameList_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.nicknames_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CPlayer_GetNicknameList_Response::~CPlayer_GetNicknameList_Response() { - // @@protoc_insertion_point(destructor:CPlayer_GetNicknameList_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_GetNicknameList_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.nicknames_.~RepeatedPtrField(); -} - -void CPlayer_GetNicknameList_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_GetNicknameList_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_GetNicknameList_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.nicknames_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_GetNicknameList_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CPlayer_GetNicknameList_Response.PlayerNickname nicknames = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_nicknames(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_GetNicknameList_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetNicknameList_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CPlayer_GetNicknameList_Response.PlayerNickname nicknames = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_nicknames_size()); i < n; i++) { - const auto& repfield = this->_internal_nicknames(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_GetNicknameList_Response) - return target; -} - -size_t CPlayer_GetNicknameList_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetNicknameList_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CPlayer_GetNicknameList_Response.PlayerNickname nicknames = 1; - total_size += 1UL * this->_internal_nicknames_size(); - for (const auto& msg : this->_impl_.nicknames_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetNicknameList_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_GetNicknameList_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetNicknameList_Response::GetClassData() const { return &_class_data_; } - - -void CPlayer_GetNicknameList_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_GetNicknameList_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.nicknames_.MergeFrom(from._impl_.nicknames_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_GetNicknameList_Response::CopyFrom(const CPlayer_GetNicknameList_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetNicknameList_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_GetNicknameList_Response::IsInitialized() const { - return true; -} - -void CPlayer_GetNicknameList_Response::InternalSwap(CPlayer_GetNicknameList_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.nicknames_.InternalSwap(&other->_impl_.nicknames_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetNicknameList_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[17]); -} - -// =================================================================== - -class CPlayer_GetPerFriendPreferences_Request::_Internal { - public: -}; - -CPlayer_GetPerFriendPreferences_Request::CPlayer_GetPerFriendPreferences_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CPlayer_GetPerFriendPreferences_Request) -} -CPlayer_GetPerFriendPreferences_Request::CPlayer_GetPerFriendPreferences_Request(const CPlayer_GetPerFriendPreferences_Request& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CPlayer_GetPerFriendPreferences_Request* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CPlayer_GetPerFriendPreferences_Request) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetPerFriendPreferences_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetPerFriendPreferences_Request::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetPerFriendPreferences_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[18]); -} - -// =================================================================== - -class PerFriendPreferences::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_accountid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_nickname(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_notifications_showingame(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_notifications_showonline(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_notifications_showmessages(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_sounds_showingame(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_sounds_showonline(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_sounds_showmessages(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_notifications_sendmobile(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } -}; - -PerFriendPreferences::PerFriendPreferences(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:PerFriendPreferences) -} -PerFriendPreferences::PerFriendPreferences(const PerFriendPreferences& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - PerFriendPreferences* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.nickname_){} - , decltype(_impl_.accountid_){} - , decltype(_impl_.notifications_showingame_){} - , decltype(_impl_.notifications_showonline_){} - , decltype(_impl_.notifications_showmessages_){} - , decltype(_impl_.sounds_showingame_){} - , decltype(_impl_.sounds_showonline_){} - , decltype(_impl_.sounds_showmessages_){} - , decltype(_impl_.notifications_sendmobile_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.nickname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nickname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_nickname()) { - _this->_impl_.nickname_.Set(from._internal_nickname(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.accountid_, &from._impl_.accountid_, - static_cast(reinterpret_cast(&_impl_.notifications_sendmobile_) - - reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.notifications_sendmobile_)); - // @@protoc_insertion_point(copy_constructor:PerFriendPreferences) -} - -inline void PerFriendPreferences::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.nickname_){} - , decltype(_impl_.accountid_){0u} - , decltype(_impl_.notifications_showingame_){0} - , decltype(_impl_.notifications_showonline_){0} - , decltype(_impl_.notifications_showmessages_){0} - , decltype(_impl_.sounds_showingame_){0} - , decltype(_impl_.sounds_showonline_){0} - , decltype(_impl_.sounds_showmessages_){0} - , decltype(_impl_.notifications_sendmobile_){0} - }; - _impl_.nickname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.nickname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -PerFriendPreferences::~PerFriendPreferences() { - // @@protoc_insertion_point(destructor:PerFriendPreferences) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void PerFriendPreferences::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.nickname_.Destroy(); -} - -void PerFriendPreferences::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void PerFriendPreferences::Clear() { -// @@protoc_insertion_point(message_clear_start:PerFriendPreferences) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.nickname_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x000000feu) { - ::memset(&_impl_.accountid_, 0, static_cast( - reinterpret_cast(&_impl_.sounds_showmessages_) - - reinterpret_cast(&_impl_.accountid_)) + sizeof(_impl_.sounds_showmessages_)); - } - _impl_.notifications_sendmobile_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* PerFriendPreferences::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 accountid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_accountid(&has_bits); - _impl_.accountid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional string nickname = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_nickname(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PerFriendPreferences.nickname"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional .ENotificationSetting notifications_showingame = 3 [default = k_ENotificationSettingNotifyUseDefault]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::ENotificationSetting_IsValid(val))) { - _internal_set_notifications_showingame(static_cast<::ENotificationSetting>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional .ENotificationSetting notifications_showonline = 4 [default = k_ENotificationSettingNotifyUseDefault]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::ENotificationSetting_IsValid(val))) { - _internal_set_notifications_showonline(static_cast<::ENotificationSetting>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(4, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional .ENotificationSetting notifications_showmessages = 5 [default = k_ENotificationSettingNotifyUseDefault]; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::ENotificationSetting_IsValid(val))) { - _internal_set_notifications_showmessages(static_cast<::ENotificationSetting>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(5, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional .ENotificationSetting sounds_showingame = 6 [default = k_ENotificationSettingNotifyUseDefault]; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::ENotificationSetting_IsValid(val))) { - _internal_set_sounds_showingame(static_cast<::ENotificationSetting>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(6, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional .ENotificationSetting sounds_showonline = 7 [default = k_ENotificationSettingNotifyUseDefault]; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::ENotificationSetting_IsValid(val))) { - _internal_set_sounds_showonline(static_cast<::ENotificationSetting>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(7, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional .ENotificationSetting sounds_showmessages = 8 [default = k_ENotificationSettingNotifyUseDefault]; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::ENotificationSetting_IsValid(val))) { - _internal_set_sounds_showmessages(static_cast<::ENotificationSetting>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(8, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional .ENotificationSetting notifications_sendmobile = 9 [default = k_ENotificationSettingNotifyUseDefault]; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::ENotificationSetting_IsValid(val))) { - _internal_set_notifications_sendmobile(static_cast<::ENotificationSetting>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(9, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* PerFriendPreferences::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:PerFriendPreferences) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 accountid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_accountid(), target); - } - - // optional string nickname = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_nickname().data(), static_cast(this->_internal_nickname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PerFriendPreferences.nickname"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_nickname(), target); - } - - // optional .ENotificationSetting notifications_showingame = 3 [default = k_ENotificationSettingNotifyUseDefault]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 3, this->_internal_notifications_showingame(), target); - } - - // optional .ENotificationSetting notifications_showonline = 4 [default = k_ENotificationSettingNotifyUseDefault]; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 4, this->_internal_notifications_showonline(), target); - } - - // optional .ENotificationSetting notifications_showmessages = 5 [default = k_ENotificationSettingNotifyUseDefault]; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 5, this->_internal_notifications_showmessages(), target); - } - - // optional .ENotificationSetting sounds_showingame = 6 [default = k_ENotificationSettingNotifyUseDefault]; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 6, this->_internal_sounds_showingame(), target); - } - - // optional .ENotificationSetting sounds_showonline = 7 [default = k_ENotificationSettingNotifyUseDefault]; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 7, this->_internal_sounds_showonline(), target); - } - - // optional .ENotificationSetting sounds_showmessages = 8 [default = k_ENotificationSettingNotifyUseDefault]; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 8, this->_internal_sounds_showmessages(), target); - } - - // optional .ENotificationSetting notifications_sendmobile = 9 [default = k_ENotificationSettingNotifyUseDefault]; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 9, this->_internal_notifications_sendmobile(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:PerFriendPreferences) - return target; -} - -size_t PerFriendPreferences::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:PerFriendPreferences) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string nickname = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_nickname()); - } - - // optional fixed32 accountid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional .ENotificationSetting notifications_showingame = 3 [default = k_ENotificationSettingNotifyUseDefault]; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_notifications_showingame()); - } - - // optional .ENotificationSetting notifications_showonline = 4 [default = k_ENotificationSettingNotifyUseDefault]; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_notifications_showonline()); - } - - // optional .ENotificationSetting notifications_showmessages = 5 [default = k_ENotificationSettingNotifyUseDefault]; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_notifications_showmessages()); - } - - // optional .ENotificationSetting sounds_showingame = 6 [default = k_ENotificationSettingNotifyUseDefault]; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_sounds_showingame()); - } - - // optional .ENotificationSetting sounds_showonline = 7 [default = k_ENotificationSettingNotifyUseDefault]; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_sounds_showonline()); - } - - // optional .ENotificationSetting sounds_showmessages = 8 [default = k_ENotificationSettingNotifyUseDefault]; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_sounds_showmessages()); - } - - } - // optional .ENotificationSetting notifications_sendmobile = 9 [default = k_ENotificationSettingNotifyUseDefault]; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_notifications_sendmobile()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PerFriendPreferences::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - PerFriendPreferences::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PerFriendPreferences::GetClassData() const { return &_class_data_; } - - -void PerFriendPreferences::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:PerFriendPreferences) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_nickname(from._internal_nickname()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.accountid_ = from._impl_.accountid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.notifications_showingame_ = from._impl_.notifications_showingame_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.notifications_showonline_ = from._impl_.notifications_showonline_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.notifications_showmessages_ = from._impl_.notifications_showmessages_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.sounds_showingame_ = from._impl_.sounds_showingame_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.sounds_showonline_ = from._impl_.sounds_showonline_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.sounds_showmessages_ = from._impl_.sounds_showmessages_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_notifications_sendmobile(from._internal_notifications_sendmobile()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void PerFriendPreferences::CopyFrom(const PerFriendPreferences& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:PerFriendPreferences) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PerFriendPreferences::IsInitialized() const { - return true; -} - -void PerFriendPreferences::InternalSwap(PerFriendPreferences* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.nickname_, lhs_arena, - &other->_impl_.nickname_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(PerFriendPreferences, _impl_.notifications_sendmobile_) - + sizeof(PerFriendPreferences::_impl_.notifications_sendmobile_) - - PROTOBUF_FIELD_OFFSET(PerFriendPreferences, _impl_.accountid_)>( - reinterpret_cast(&_impl_.accountid_), - reinterpret_cast(&other->_impl_.accountid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata PerFriendPreferences::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[19]); -} - -// =================================================================== - -class CPlayer_GetPerFriendPreferences_Response::_Internal { - public: -}; - -CPlayer_GetPerFriendPreferences_Response::CPlayer_GetPerFriendPreferences_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_GetPerFriendPreferences_Response) -} -CPlayer_GetPerFriendPreferences_Response::CPlayer_GetPerFriendPreferences_Response(const CPlayer_GetPerFriendPreferences_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_GetPerFriendPreferences_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.preferences_){from._impl_.preferences_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CPlayer_GetPerFriendPreferences_Response) -} - -inline void CPlayer_GetPerFriendPreferences_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.preferences_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CPlayer_GetPerFriendPreferences_Response::~CPlayer_GetPerFriendPreferences_Response() { - // @@protoc_insertion_point(destructor:CPlayer_GetPerFriendPreferences_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_GetPerFriendPreferences_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.preferences_.~RepeatedPtrField(); -} - -void CPlayer_GetPerFriendPreferences_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_GetPerFriendPreferences_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_GetPerFriendPreferences_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.preferences_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_GetPerFriendPreferences_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .PerFriendPreferences preferences = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_preferences(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_GetPerFriendPreferences_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetPerFriendPreferences_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .PerFriendPreferences preferences = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_preferences_size()); i < n; i++) { - const auto& repfield = this->_internal_preferences(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_GetPerFriendPreferences_Response) - return target; -} - -size_t CPlayer_GetPerFriendPreferences_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetPerFriendPreferences_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .PerFriendPreferences preferences = 1; - total_size += 1UL * this->_internal_preferences_size(); - for (const auto& msg : this->_impl_.preferences_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetPerFriendPreferences_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_GetPerFriendPreferences_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetPerFriendPreferences_Response::GetClassData() const { return &_class_data_; } - - -void CPlayer_GetPerFriendPreferences_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_GetPerFriendPreferences_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.preferences_.MergeFrom(from._impl_.preferences_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_GetPerFriendPreferences_Response::CopyFrom(const CPlayer_GetPerFriendPreferences_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetPerFriendPreferences_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_GetPerFriendPreferences_Response::IsInitialized() const { - return true; -} - -void CPlayer_GetPerFriendPreferences_Response::InternalSwap(CPlayer_GetPerFriendPreferences_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.preferences_.InternalSwap(&other->_impl_.preferences_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetPerFriendPreferences_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[20]); -} - -// =================================================================== - -class CPlayer_SetPerFriendPreferences_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::PerFriendPreferences& preferences(const CPlayer_SetPerFriendPreferences_Request* msg); - static void set_has_preferences(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::PerFriendPreferences& -CPlayer_SetPerFriendPreferences_Request::_Internal::preferences(const CPlayer_SetPerFriendPreferences_Request* msg) { - return *msg->_impl_.preferences_; -} -CPlayer_SetPerFriendPreferences_Request::CPlayer_SetPerFriendPreferences_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_SetPerFriendPreferences_Request) -} -CPlayer_SetPerFriendPreferences_Request::CPlayer_SetPerFriendPreferences_Request(const CPlayer_SetPerFriendPreferences_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_SetPerFriendPreferences_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.preferences_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_preferences()) { - _this->_impl_.preferences_ = new ::PerFriendPreferences(*from._impl_.preferences_); - } - // @@protoc_insertion_point(copy_constructor:CPlayer_SetPerFriendPreferences_Request) -} - -inline void CPlayer_SetPerFriendPreferences_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.preferences_){nullptr} - }; -} - -CPlayer_SetPerFriendPreferences_Request::~CPlayer_SetPerFriendPreferences_Request() { - // @@protoc_insertion_point(destructor:CPlayer_SetPerFriendPreferences_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_SetPerFriendPreferences_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.preferences_; -} - -void CPlayer_SetPerFriendPreferences_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_SetPerFriendPreferences_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_SetPerFriendPreferences_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.preferences_ != nullptr); - _impl_.preferences_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_SetPerFriendPreferences_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .PerFriendPreferences preferences = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_preferences(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_SetPerFriendPreferences_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_SetPerFriendPreferences_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .PerFriendPreferences preferences = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::preferences(this), - _Internal::preferences(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_SetPerFriendPreferences_Request) - return target; -} - -size_t CPlayer_SetPerFriendPreferences_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_SetPerFriendPreferences_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .PerFriendPreferences preferences = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.preferences_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_SetPerFriendPreferences_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_SetPerFriendPreferences_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_SetPerFriendPreferences_Request::GetClassData() const { return &_class_data_; } - - -void CPlayer_SetPerFriendPreferences_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_SetPerFriendPreferences_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_preferences()) { - _this->_internal_mutable_preferences()->::PerFriendPreferences::MergeFrom( - from._internal_preferences()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_SetPerFriendPreferences_Request::CopyFrom(const CPlayer_SetPerFriendPreferences_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_SetPerFriendPreferences_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_SetPerFriendPreferences_Request::IsInitialized() const { - return true; -} - -void CPlayer_SetPerFriendPreferences_Request::InternalSwap(CPlayer_SetPerFriendPreferences_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.preferences_, other->_impl_.preferences_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_SetPerFriendPreferences_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[21]); -} - -// =================================================================== - -class CPlayer_SetPerFriendPreferences_Response::_Internal { - public: -}; - -CPlayer_SetPerFriendPreferences_Response::CPlayer_SetPerFriendPreferences_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CPlayer_SetPerFriendPreferences_Response) -} -CPlayer_SetPerFriendPreferences_Response::CPlayer_SetPerFriendPreferences_Response(const CPlayer_SetPerFriendPreferences_Response& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CPlayer_SetPerFriendPreferences_Response* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CPlayer_SetPerFriendPreferences_Response) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_SetPerFriendPreferences_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_SetPerFriendPreferences_Response::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_SetPerFriendPreferences_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[22]); -} - -// =================================================================== - -class CPlayer_AddFriend_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CPlayer_AddFriend_Request::CPlayer_AddFriend_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_AddFriend_Request) -} -CPlayer_AddFriend_Request::CPlayer_AddFriend_Request(const CPlayer_AddFriend_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_AddFriend_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.steamid_ = from._impl_.steamid_; - // @@protoc_insertion_point(copy_constructor:CPlayer_AddFriend_Request) -} - -inline void CPlayer_AddFriend_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){uint64_t{0u}} - }; -} - -CPlayer_AddFriend_Request::~CPlayer_AddFriend_Request() { - // @@protoc_insertion_point(destructor:CPlayer_AddFriend_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_AddFriend_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CPlayer_AddFriend_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_AddFriend_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_AddFriend_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_AddFriend_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 steamid = 1 [(.description) = "Steam ID of user to whom to send a friend invite."]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_AddFriend_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_AddFriend_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 steamid = 1 [(.description) = "Steam ID of user to whom to send a friend invite."]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_AddFriend_Request) - return target; -} - -size_t CPlayer_AddFriend_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_AddFriend_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional fixed64 steamid = 1 [(.description) = "Steam ID of user to whom to send a friend invite."]; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_AddFriend_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_AddFriend_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_AddFriend_Request::GetClassData() const { return &_class_data_; } - - -void CPlayer_AddFriend_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_AddFriend_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_steamid()) { - _this->_internal_set_steamid(from._internal_steamid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_AddFriend_Request::CopyFrom(const CPlayer_AddFriend_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_AddFriend_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_AddFriend_Request::IsInitialized() const { - return true; -} - -void CPlayer_AddFriend_Request::InternalSwap(CPlayer_AddFriend_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.steamid_, other->_impl_.steamid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_AddFriend_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[23]); -} - -// =================================================================== - -class CPlayer_AddFriend_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_invite_sent(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_friend_relationship(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CPlayer_AddFriend_Response::CPlayer_AddFriend_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_AddFriend_Response) -} -CPlayer_AddFriend_Response::CPlayer_AddFriend_Response(const CPlayer_AddFriend_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_AddFriend_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.invite_sent_){} - , decltype(_impl_.friend_relationship_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.invite_sent_, &from._impl_.invite_sent_, - static_cast(reinterpret_cast(&_impl_.friend_relationship_) - - reinterpret_cast(&_impl_.invite_sent_)) + sizeof(_impl_.friend_relationship_)); - // @@protoc_insertion_point(copy_constructor:CPlayer_AddFriend_Response) -} - -inline void CPlayer_AddFriend_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.invite_sent_){false} - , decltype(_impl_.friend_relationship_){0u} - }; -} - -CPlayer_AddFriend_Response::~CPlayer_AddFriend_Response() { - // @@protoc_insertion_point(destructor:CPlayer_AddFriend_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_AddFriend_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CPlayer_AddFriend_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_AddFriend_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_AddFriend_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.invite_sent_, 0, static_cast( - reinterpret_cast(&_impl_.friend_relationship_) - - reinterpret_cast(&_impl_.invite_sent_)) + sizeof(_impl_.friend_relationship_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_AddFriend_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool invite_sent = 1 [(.description) = "True if the operation was successful, false otherwise."]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_invite_sent(&has_bits); - _impl_.invite_sent_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 friend_relationship = 2 [(.description) = "the resulting relationship. Depending on state, may move directly to friends rather than invite sent"]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_friend_relationship(&has_bits); - _impl_.friend_relationship_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_AddFriend_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_AddFriend_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool invite_sent = 1 [(.description) = "True if the operation was successful, false otherwise."]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_invite_sent(), target); - } - - // optional uint32 friend_relationship = 2 [(.description) = "the resulting relationship. Depending on state, may move directly to friends rather than invite sent"]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_friend_relationship(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_AddFriend_Response) - return target; -} - -size_t CPlayer_AddFriend_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_AddFriend_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bool invite_sent = 1 [(.description) = "True if the operation was successful, false otherwise."]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - // optional uint32 friend_relationship = 2 [(.description) = "the resulting relationship. Depending on state, may move directly to friends rather than invite sent"]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_friend_relationship()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_AddFriend_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_AddFriend_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_AddFriend_Response::GetClassData() const { return &_class_data_; } - - -void CPlayer_AddFriend_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_AddFriend_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.invite_sent_ = from._impl_.invite_sent_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.friend_relationship_ = from._impl_.friend_relationship_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_AddFriend_Response::CopyFrom(const CPlayer_AddFriend_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_AddFriend_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_AddFriend_Response::IsInitialized() const { - return true; -} - -void CPlayer_AddFriend_Response::InternalSwap(CPlayer_AddFriend_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPlayer_AddFriend_Response, _impl_.friend_relationship_) - + sizeof(CPlayer_AddFriend_Response::_impl_.friend_relationship_) - - PROTOBUF_FIELD_OFFSET(CPlayer_AddFriend_Response, _impl_.invite_sent_)>( - reinterpret_cast(&_impl_.invite_sent_), - reinterpret_cast(&other->_impl_.invite_sent_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_AddFriend_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[24]); -} - -// =================================================================== - -class CPlayer_RemoveFriend_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CPlayer_RemoveFriend_Request::CPlayer_RemoveFriend_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_RemoveFriend_Request) -} -CPlayer_RemoveFriend_Request::CPlayer_RemoveFriend_Request(const CPlayer_RemoveFriend_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_RemoveFriend_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.steamid_ = from._impl_.steamid_; - // @@protoc_insertion_point(copy_constructor:CPlayer_RemoveFriend_Request) -} - -inline void CPlayer_RemoveFriend_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){uint64_t{0u}} - }; -} - -CPlayer_RemoveFriend_Request::~CPlayer_RemoveFriend_Request() { - // @@protoc_insertion_point(destructor:CPlayer_RemoveFriend_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_RemoveFriend_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CPlayer_RemoveFriend_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_RemoveFriend_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_RemoveFriend_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_RemoveFriend_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 steamid = 1 [(.description) = "Steam ID of friend to remove."]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_RemoveFriend_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_RemoveFriend_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 steamid = 1 [(.description) = "Steam ID of friend to remove."]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_RemoveFriend_Request) - return target; -} - -size_t CPlayer_RemoveFriend_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_RemoveFriend_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional fixed64 steamid = 1 [(.description) = "Steam ID of friend to remove."]; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_RemoveFriend_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_RemoveFriend_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_RemoveFriend_Request::GetClassData() const { return &_class_data_; } - - -void CPlayer_RemoveFriend_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_RemoveFriend_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_steamid()) { - _this->_internal_set_steamid(from._internal_steamid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_RemoveFriend_Request::CopyFrom(const CPlayer_RemoveFriend_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_RemoveFriend_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_RemoveFriend_Request::IsInitialized() const { - return true; -} - -void CPlayer_RemoveFriend_Request::InternalSwap(CPlayer_RemoveFriend_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.steamid_, other->_impl_.steamid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_RemoveFriend_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[25]); -} - -// =================================================================== - -class CPlayer_RemoveFriend_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_friend_relationship(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CPlayer_RemoveFriend_Response::CPlayer_RemoveFriend_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_RemoveFriend_Response) -} -CPlayer_RemoveFriend_Response::CPlayer_RemoveFriend_Response(const CPlayer_RemoveFriend_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_RemoveFriend_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.friend_relationship_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.friend_relationship_ = from._impl_.friend_relationship_; - // @@protoc_insertion_point(copy_constructor:CPlayer_RemoveFriend_Response) -} - -inline void CPlayer_RemoveFriend_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.friend_relationship_){0u} - }; -} - -CPlayer_RemoveFriend_Response::~CPlayer_RemoveFriend_Response() { - // @@protoc_insertion_point(destructor:CPlayer_RemoveFriend_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_RemoveFriend_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CPlayer_RemoveFriend_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_RemoveFriend_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_RemoveFriend_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.friend_relationship_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_RemoveFriend_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_friend_relationship(&has_bits); - _impl_.friend_relationship_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_RemoveFriend_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_RemoveFriend_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_friend_relationship(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_RemoveFriend_Response) - return target; -} - -size_t CPlayer_RemoveFriend_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_RemoveFriend_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_friend_relationship()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_RemoveFriend_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_RemoveFriend_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_RemoveFriend_Response::GetClassData() const { return &_class_data_; } - - -void CPlayer_RemoveFriend_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_RemoveFriend_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_friend_relationship()) { - _this->_internal_set_friend_relationship(from._internal_friend_relationship()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_RemoveFriend_Response::CopyFrom(const CPlayer_RemoveFriend_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_RemoveFriend_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_RemoveFriend_Response::IsInitialized() const { - return true; -} - -void CPlayer_RemoveFriend_Response::InternalSwap(CPlayer_RemoveFriend_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.friend_relationship_, other->_impl_.friend_relationship_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_RemoveFriend_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[26]); -} - -// =================================================================== - -class CPlayer_IgnoreFriend_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steamid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_unignore(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CPlayer_IgnoreFriend_Request::CPlayer_IgnoreFriend_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_IgnoreFriend_Request) -} -CPlayer_IgnoreFriend_Request::CPlayer_IgnoreFriend_Request(const CPlayer_IgnoreFriend_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_IgnoreFriend_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){} - , decltype(_impl_.unignore_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.steamid_, &from._impl_.steamid_, - static_cast(reinterpret_cast(&_impl_.unignore_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.unignore_)); - // @@protoc_insertion_point(copy_constructor:CPlayer_IgnoreFriend_Request) -} - -inline void CPlayer_IgnoreFriend_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.steamid_){uint64_t{0u}} - , decltype(_impl_.unignore_){false} - }; -} - -CPlayer_IgnoreFriend_Request::~CPlayer_IgnoreFriend_Request() { - // @@protoc_insertion_point(destructor:CPlayer_IgnoreFriend_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_IgnoreFriend_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CPlayer_IgnoreFriend_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_IgnoreFriend_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_IgnoreFriend_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.steamid_, 0, static_cast( - reinterpret_cast(&_impl_.unignore_) - - reinterpret_cast(&_impl_.steamid_)) + sizeof(_impl_.unignore_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_IgnoreFriend_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 steamid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_steamid(&has_bits); - _impl_.steamid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional bool unignore = 2 [(.description) = "If set, remove from ignore/block list instead of adding "]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_unignore(&has_bits); - _impl_.unignore_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_IgnoreFriend_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_IgnoreFriend_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 steamid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_steamid(), target); - } - - // optional bool unignore = 2 [(.description) = "If set, remove from ignore/block list instead of adding "]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_unignore(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_IgnoreFriend_Request) - return target; -} - -size_t CPlayer_IgnoreFriend_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_IgnoreFriend_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional fixed64 steamid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - // optional bool unignore = 2 [(.description) = "If set, remove from ignore/block list instead of adding "]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_IgnoreFriend_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_IgnoreFriend_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_IgnoreFriend_Request::GetClassData() const { return &_class_data_; } - - -void CPlayer_IgnoreFriend_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_IgnoreFriend_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.steamid_ = from._impl_.steamid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.unignore_ = from._impl_.unignore_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_IgnoreFriend_Request::CopyFrom(const CPlayer_IgnoreFriend_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_IgnoreFriend_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_IgnoreFriend_Request::IsInitialized() const { - return true; -} - -void CPlayer_IgnoreFriend_Request::InternalSwap(CPlayer_IgnoreFriend_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPlayer_IgnoreFriend_Request, _impl_.unignore_) - + sizeof(CPlayer_IgnoreFriend_Request::_impl_.unignore_) - - PROTOBUF_FIELD_OFFSET(CPlayer_IgnoreFriend_Request, _impl_.steamid_)>( - reinterpret_cast(&_impl_.steamid_), - reinterpret_cast(&other->_impl_.steamid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_IgnoreFriend_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[27]); -} - -// =================================================================== - -class CPlayer_IgnoreFriend_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_friend_relationship(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CPlayer_IgnoreFriend_Response::CPlayer_IgnoreFriend_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_IgnoreFriend_Response) -} -CPlayer_IgnoreFriend_Response::CPlayer_IgnoreFriend_Response(const CPlayer_IgnoreFriend_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_IgnoreFriend_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.friend_relationship_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.friend_relationship_ = from._impl_.friend_relationship_; - // @@protoc_insertion_point(copy_constructor:CPlayer_IgnoreFriend_Response) -} - -inline void CPlayer_IgnoreFriend_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.friend_relationship_){0u} - }; -} - -CPlayer_IgnoreFriend_Response::~CPlayer_IgnoreFriend_Response() { - // @@protoc_insertion_point(destructor:CPlayer_IgnoreFriend_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_IgnoreFriend_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CPlayer_IgnoreFriend_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_IgnoreFriend_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_IgnoreFriend_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.friend_relationship_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_IgnoreFriend_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_friend_relationship(&has_bits); - _impl_.friend_relationship_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_IgnoreFriend_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_IgnoreFriend_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_friend_relationship(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_IgnoreFriend_Response) - return target; -} - -size_t CPlayer_IgnoreFriend_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_IgnoreFriend_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_friend_relationship()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_IgnoreFriend_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_IgnoreFriend_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_IgnoreFriend_Response::GetClassData() const { return &_class_data_; } - - -void CPlayer_IgnoreFriend_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_IgnoreFriend_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_friend_relationship()) { - _this->_internal_set_friend_relationship(from._internal_friend_relationship()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_IgnoreFriend_Response::CopyFrom(const CPlayer_IgnoreFriend_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_IgnoreFriend_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_IgnoreFriend_Response::IsInitialized() const { - return true; -} - -void CPlayer_IgnoreFriend_Response::InternalSwap(CPlayer_IgnoreFriend_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.friend_relationship_, other->_impl_.friend_relationship_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_IgnoreFriend_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[28]); -} - -// =================================================================== - -class CPlayer_GetCommunityPreferences_Request::_Internal { - public: -}; - -CPlayer_GetCommunityPreferences_Request::CPlayer_GetCommunityPreferences_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CPlayer_GetCommunityPreferences_Request) -} -CPlayer_GetCommunityPreferences_Request::CPlayer_GetCommunityPreferences_Request(const CPlayer_GetCommunityPreferences_Request& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CPlayer_GetCommunityPreferences_Request* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CPlayer_GetCommunityPreferences_Request) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetCommunityPreferences_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetCommunityPreferences_Request::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetCommunityPreferences_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[29]); -} - -// =================================================================== - -class CPlayer_CommunityPreferences::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_hide_adult_content_violence(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_hide_adult_content_sex(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_parenthesize_nicknames(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_timestamp_updated(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CPlayer_CommunityPreferences::CPlayer_CommunityPreferences(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_CommunityPreferences) -} -CPlayer_CommunityPreferences::CPlayer_CommunityPreferences(const CPlayer_CommunityPreferences& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_CommunityPreferences* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.timestamp_updated_){} - , decltype(_impl_.parenthesize_nicknames_){} - , decltype(_impl_.hide_adult_content_violence_){} - , decltype(_impl_.hide_adult_content_sex_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.timestamp_updated_, &from._impl_.timestamp_updated_, - static_cast(reinterpret_cast(&_impl_.hide_adult_content_sex_) - - reinterpret_cast(&_impl_.timestamp_updated_)) + sizeof(_impl_.hide_adult_content_sex_)); - // @@protoc_insertion_point(copy_constructor:CPlayer_CommunityPreferences) -} - -inline void CPlayer_CommunityPreferences::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.timestamp_updated_){0u} - , decltype(_impl_.parenthesize_nicknames_){false} - , decltype(_impl_.hide_adult_content_violence_){true} - , decltype(_impl_.hide_adult_content_sex_){true} - }; -} - -CPlayer_CommunityPreferences::~CPlayer_CommunityPreferences() { - // @@protoc_insertion_point(destructor:CPlayer_CommunityPreferences) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_CommunityPreferences::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CPlayer_CommunityPreferences::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_CommunityPreferences::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_CommunityPreferences) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.timestamp_updated_, 0, static_cast( - reinterpret_cast(&_impl_.parenthesize_nicknames_) - - reinterpret_cast(&_impl_.timestamp_updated_)) + sizeof(_impl_.parenthesize_nicknames_)); - _impl_.hide_adult_content_violence_ = true; - _impl_.hide_adult_content_sex_ = true; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_CommunityPreferences::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool hide_adult_content_violence = 1 [default = true]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_hide_adult_content_violence(&has_bits); - _impl_.hide_adult_content_violence_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool hide_adult_content_sex = 2 [default = true]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_hide_adult_content_sex(&has_bits); - _impl_.hide_adult_content_sex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 timestamp_updated = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_timestamp_updated(&has_bits); - _impl_.timestamp_updated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool parenthesize_nicknames = 4 [default = false]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_parenthesize_nicknames(&has_bits); - _impl_.parenthesize_nicknames_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_CommunityPreferences::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_CommunityPreferences) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool hide_adult_content_violence = 1 [default = true]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_hide_adult_content_violence(), target); - } - - // optional bool hide_adult_content_sex = 2 [default = true]; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_hide_adult_content_sex(), target); - } - - // optional uint32 timestamp_updated = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_timestamp_updated(), target); - } - - // optional bool parenthesize_nicknames = 4 [default = false]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_parenthesize_nicknames(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_CommunityPreferences) - return target; -} - -size_t CPlayer_CommunityPreferences::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_CommunityPreferences) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 timestamp_updated = 3; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_timestamp_updated()); - } - - // optional bool parenthesize_nicknames = 4 [default = false]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - // optional bool hide_adult_content_violence = 1 [default = true]; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional bool hide_adult_content_sex = 2 [default = true]; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_CommunityPreferences::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_CommunityPreferences::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_CommunityPreferences::GetClassData() const { return &_class_data_; } - - -void CPlayer_CommunityPreferences::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_CommunityPreferences) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.timestamp_updated_ = from._impl_.timestamp_updated_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.parenthesize_nicknames_ = from._impl_.parenthesize_nicknames_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.hide_adult_content_violence_ = from._impl_.hide_adult_content_violence_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.hide_adult_content_sex_ = from._impl_.hide_adult_content_sex_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_CommunityPreferences::CopyFrom(const CPlayer_CommunityPreferences& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_CommunityPreferences) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_CommunityPreferences::IsInitialized() const { - return true; -} - -void CPlayer_CommunityPreferences::InternalSwap(CPlayer_CommunityPreferences* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPlayer_CommunityPreferences, _impl_.parenthesize_nicknames_) - + sizeof(CPlayer_CommunityPreferences::_impl_.parenthesize_nicknames_) - - PROTOBUF_FIELD_OFFSET(CPlayer_CommunityPreferences, _impl_.timestamp_updated_)>( - reinterpret_cast(&_impl_.timestamp_updated_), - reinterpret_cast(&other->_impl_.timestamp_updated_)); - swap(_impl_.hide_adult_content_violence_, other->_impl_.hide_adult_content_violence_); - swap(_impl_.hide_adult_content_sex_, other->_impl_.hide_adult_content_sex_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_CommunityPreferences::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[30]); -} - -// =================================================================== - -class CPlayer_GetCommunityPreferences_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CPlayer_CommunityPreferences& preferences(const CPlayer_GetCommunityPreferences_Response* msg); - static void set_has_preferences(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CPlayer_CommunityPreferences& -CPlayer_GetCommunityPreferences_Response::_Internal::preferences(const CPlayer_GetCommunityPreferences_Response* msg) { - return *msg->_impl_.preferences_; -} -CPlayer_GetCommunityPreferences_Response::CPlayer_GetCommunityPreferences_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_GetCommunityPreferences_Response) -} -CPlayer_GetCommunityPreferences_Response::CPlayer_GetCommunityPreferences_Response(const CPlayer_GetCommunityPreferences_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_GetCommunityPreferences_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.preferences_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_preferences()) { - _this->_impl_.preferences_ = new ::CPlayer_CommunityPreferences(*from._impl_.preferences_); - } - // @@protoc_insertion_point(copy_constructor:CPlayer_GetCommunityPreferences_Response) -} - -inline void CPlayer_GetCommunityPreferences_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.preferences_){nullptr} - }; -} - -CPlayer_GetCommunityPreferences_Response::~CPlayer_GetCommunityPreferences_Response() { - // @@protoc_insertion_point(destructor:CPlayer_GetCommunityPreferences_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_GetCommunityPreferences_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.preferences_; -} - -void CPlayer_GetCommunityPreferences_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_GetCommunityPreferences_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_GetCommunityPreferences_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.preferences_ != nullptr); - _impl_.preferences_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_GetCommunityPreferences_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CPlayer_CommunityPreferences preferences = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_preferences(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_GetCommunityPreferences_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetCommunityPreferences_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CPlayer_CommunityPreferences preferences = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::preferences(this), - _Internal::preferences(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_GetCommunityPreferences_Response) - return target; -} - -size_t CPlayer_GetCommunityPreferences_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetCommunityPreferences_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CPlayer_CommunityPreferences preferences = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.preferences_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetCommunityPreferences_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_GetCommunityPreferences_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetCommunityPreferences_Response::GetClassData() const { return &_class_data_; } - - -void CPlayer_GetCommunityPreferences_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_GetCommunityPreferences_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_preferences()) { - _this->_internal_mutable_preferences()->::CPlayer_CommunityPreferences::MergeFrom( - from._internal_preferences()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_GetCommunityPreferences_Response::CopyFrom(const CPlayer_GetCommunityPreferences_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetCommunityPreferences_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_GetCommunityPreferences_Response::IsInitialized() const { - return true; -} - -void CPlayer_GetCommunityPreferences_Response::InternalSwap(CPlayer_GetCommunityPreferences_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.preferences_, other->_impl_.preferences_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetCommunityPreferences_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[31]); -} - -// =================================================================== - -class CPlayer_SetCommunityPreferences_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CPlayer_CommunityPreferences& preferences(const CPlayer_SetCommunityPreferences_Request* msg); - static void set_has_preferences(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CPlayer_CommunityPreferences& -CPlayer_SetCommunityPreferences_Request::_Internal::preferences(const CPlayer_SetCommunityPreferences_Request* msg) { - return *msg->_impl_.preferences_; -} -CPlayer_SetCommunityPreferences_Request::CPlayer_SetCommunityPreferences_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_SetCommunityPreferences_Request) -} -CPlayer_SetCommunityPreferences_Request::CPlayer_SetCommunityPreferences_Request(const CPlayer_SetCommunityPreferences_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_SetCommunityPreferences_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.preferences_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_preferences()) { - _this->_impl_.preferences_ = new ::CPlayer_CommunityPreferences(*from._impl_.preferences_); - } - // @@protoc_insertion_point(copy_constructor:CPlayer_SetCommunityPreferences_Request) -} - -inline void CPlayer_SetCommunityPreferences_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.preferences_){nullptr} - }; -} - -CPlayer_SetCommunityPreferences_Request::~CPlayer_SetCommunityPreferences_Request() { - // @@protoc_insertion_point(destructor:CPlayer_SetCommunityPreferences_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_SetCommunityPreferences_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.preferences_; -} - -void CPlayer_SetCommunityPreferences_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_SetCommunityPreferences_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_SetCommunityPreferences_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.preferences_ != nullptr); - _impl_.preferences_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_SetCommunityPreferences_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CPlayer_CommunityPreferences preferences = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_preferences(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_SetCommunityPreferences_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_SetCommunityPreferences_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CPlayer_CommunityPreferences preferences = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::preferences(this), - _Internal::preferences(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_SetCommunityPreferences_Request) - return target; -} - -size_t CPlayer_SetCommunityPreferences_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_SetCommunityPreferences_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CPlayer_CommunityPreferences preferences = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.preferences_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_SetCommunityPreferences_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_SetCommunityPreferences_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_SetCommunityPreferences_Request::GetClassData() const { return &_class_data_; } - - -void CPlayer_SetCommunityPreferences_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_SetCommunityPreferences_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_preferences()) { - _this->_internal_mutable_preferences()->::CPlayer_CommunityPreferences::MergeFrom( - from._internal_preferences()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_SetCommunityPreferences_Request::CopyFrom(const CPlayer_SetCommunityPreferences_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_SetCommunityPreferences_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_SetCommunityPreferences_Request::IsInitialized() const { - return true; -} - -void CPlayer_SetCommunityPreferences_Request::InternalSwap(CPlayer_SetCommunityPreferences_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.preferences_, other->_impl_.preferences_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_SetCommunityPreferences_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[32]); -} - -// =================================================================== - -class CPlayer_SetCommunityPreferences_Response::_Internal { - public: -}; - -CPlayer_SetCommunityPreferences_Response::CPlayer_SetCommunityPreferences_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CPlayer_SetCommunityPreferences_Response) -} -CPlayer_SetCommunityPreferences_Response::CPlayer_SetCommunityPreferences_Response(const CPlayer_SetCommunityPreferences_Response& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CPlayer_SetCommunityPreferences_Response* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CPlayer_SetCommunityPreferences_Response) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_SetCommunityPreferences_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_SetCommunityPreferences_Response::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_SetCommunityPreferences_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[33]); -} - -// =================================================================== - -class CPlayer_GetNewSteamAnnouncementState_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_language(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CPlayer_GetNewSteamAnnouncementState_Request::CPlayer_GetNewSteamAnnouncementState_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_GetNewSteamAnnouncementState_Request) -} -CPlayer_GetNewSteamAnnouncementState_Request::CPlayer_GetNewSteamAnnouncementState_Request(const CPlayer_GetNewSteamAnnouncementState_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_GetNewSteamAnnouncementState_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.language_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.language_ = from._impl_.language_; - // @@protoc_insertion_point(copy_constructor:CPlayer_GetNewSteamAnnouncementState_Request) -} - -inline void CPlayer_GetNewSteamAnnouncementState_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.language_){0} - }; -} - -CPlayer_GetNewSteamAnnouncementState_Request::~CPlayer_GetNewSteamAnnouncementState_Request() { - // @@protoc_insertion_point(destructor:CPlayer_GetNewSteamAnnouncementState_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_GetNewSteamAnnouncementState_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CPlayer_GetNewSteamAnnouncementState_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_GetNewSteamAnnouncementState_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_GetNewSteamAnnouncementState_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.language_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_GetNewSteamAnnouncementState_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 language = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_language(&has_bits); - _impl_.language_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_GetNewSteamAnnouncementState_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetNewSteamAnnouncementState_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 language = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_language(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_GetNewSteamAnnouncementState_Request) - return target; -} - -size_t CPlayer_GetNewSteamAnnouncementState_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetNewSteamAnnouncementState_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 language = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_language()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetNewSteamAnnouncementState_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_GetNewSteamAnnouncementState_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetNewSteamAnnouncementState_Request::GetClassData() const { return &_class_data_; } - - -void CPlayer_GetNewSteamAnnouncementState_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_GetNewSteamAnnouncementState_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_language()) { - _this->_internal_set_language(from._internal_language()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_GetNewSteamAnnouncementState_Request::CopyFrom(const CPlayer_GetNewSteamAnnouncementState_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetNewSteamAnnouncementState_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_GetNewSteamAnnouncementState_Request::IsInitialized() const { - return true; -} - -void CPlayer_GetNewSteamAnnouncementState_Request::InternalSwap(CPlayer_GetNewSteamAnnouncementState_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.language_, other->_impl_.language_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetNewSteamAnnouncementState_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[34]); -} - -// =================================================================== - -class CPlayer_GetNewSteamAnnouncementState_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_state(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_announcement_headline(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_announcement_url(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_time_posted(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_announcement_gid(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CPlayer_GetNewSteamAnnouncementState_Response::CPlayer_GetNewSteamAnnouncementState_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_GetNewSteamAnnouncementState_Response) -} -CPlayer_GetNewSteamAnnouncementState_Response::CPlayer_GetNewSteamAnnouncementState_Response(const CPlayer_GetNewSteamAnnouncementState_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_GetNewSteamAnnouncementState_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.announcement_headline_){} - , decltype(_impl_.announcement_url_){} - , decltype(_impl_.state_){} - , decltype(_impl_.time_posted_){} - , decltype(_impl_.announcement_gid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.announcement_headline_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.announcement_headline_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_announcement_headline()) { - _this->_impl_.announcement_headline_.Set(from._internal_announcement_headline(), - _this->GetArenaForAllocation()); - } - _impl_.announcement_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.announcement_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_announcement_url()) { - _this->_impl_.announcement_url_.Set(from._internal_announcement_url(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.state_, &from._impl_.state_, - static_cast(reinterpret_cast(&_impl_.announcement_gid_) - - reinterpret_cast(&_impl_.state_)) + sizeof(_impl_.announcement_gid_)); - // @@protoc_insertion_point(copy_constructor:CPlayer_GetNewSteamAnnouncementState_Response) -} - -inline void CPlayer_GetNewSteamAnnouncementState_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.announcement_headline_){} - , decltype(_impl_.announcement_url_){} - , decltype(_impl_.state_){0} - , decltype(_impl_.time_posted_){0u} - , decltype(_impl_.announcement_gid_){uint64_t{0u}} - }; - _impl_.announcement_headline_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.announcement_headline_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.announcement_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.announcement_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CPlayer_GetNewSteamAnnouncementState_Response::~CPlayer_GetNewSteamAnnouncementState_Response() { - // @@protoc_insertion_point(destructor:CPlayer_GetNewSteamAnnouncementState_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_GetNewSteamAnnouncementState_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.announcement_headline_.Destroy(); - _impl_.announcement_url_.Destroy(); -} - -void CPlayer_GetNewSteamAnnouncementState_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_GetNewSteamAnnouncementState_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_GetNewSteamAnnouncementState_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.announcement_headline_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.announcement_url_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000001cu) { - ::memset(&_impl_.state_, 0, static_cast( - reinterpret_cast(&_impl_.announcement_gid_) - - reinterpret_cast(&_impl_.state_)) + sizeof(_impl_.announcement_gid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_GetNewSteamAnnouncementState_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 state = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_state(&has_bits); - _impl_.state_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string announcement_headline = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_announcement_headline(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPlayer_GetNewSteamAnnouncementState_Response.announcement_headline"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string announcement_url = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_announcement_url(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPlayer_GetNewSteamAnnouncementState_Response.announcement_url"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 time_posted = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_time_posted(&has_bits); - _impl_.time_posted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 announcement_gid = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_announcement_gid(&has_bits); - _impl_.announcement_gid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_GetNewSteamAnnouncementState_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_GetNewSteamAnnouncementState_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 state = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_state(), target); - } - - // optional string announcement_headline = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_announcement_headline().data(), static_cast(this->_internal_announcement_headline().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPlayer_GetNewSteamAnnouncementState_Response.announcement_headline"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_announcement_headline(), target); - } - - // optional string announcement_url = 3; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_announcement_url().data(), static_cast(this->_internal_announcement_url().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPlayer_GetNewSteamAnnouncementState_Response.announcement_url"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_announcement_url(), target); - } - - // optional uint32 time_posted = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_time_posted(), target); - } - - // optional uint64 announcement_gid = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_announcement_gid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_GetNewSteamAnnouncementState_Response) - return target; -} - -size_t CPlayer_GetNewSteamAnnouncementState_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_GetNewSteamAnnouncementState_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional string announcement_headline = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_announcement_headline()); - } - - // optional string announcement_url = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_announcement_url()); - } - - // optional int32 state = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_state()); - } - - // optional uint32 time_posted = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_posted()); - } - - // optional uint64 announcement_gid = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_announcement_gid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_GetNewSteamAnnouncementState_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_GetNewSteamAnnouncementState_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_GetNewSteamAnnouncementState_Response::GetClassData() const { return &_class_data_; } - - -void CPlayer_GetNewSteamAnnouncementState_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_GetNewSteamAnnouncementState_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_announcement_headline(from._internal_announcement_headline()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_announcement_url(from._internal_announcement_url()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.state_ = from._impl_.state_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.time_posted_ = from._impl_.time_posted_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.announcement_gid_ = from._impl_.announcement_gid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_GetNewSteamAnnouncementState_Response::CopyFrom(const CPlayer_GetNewSteamAnnouncementState_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_GetNewSteamAnnouncementState_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_GetNewSteamAnnouncementState_Response::IsInitialized() const { - return true; -} - -void CPlayer_GetNewSteamAnnouncementState_Response::InternalSwap(CPlayer_GetNewSteamAnnouncementState_Response* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.announcement_headline_, lhs_arena, - &other->_impl_.announcement_headline_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.announcement_url_, lhs_arena, - &other->_impl_.announcement_url_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPlayer_GetNewSteamAnnouncementState_Response, _impl_.announcement_gid_) - + sizeof(CPlayer_GetNewSteamAnnouncementState_Response::_impl_.announcement_gid_) - - PROTOBUF_FIELD_OFFSET(CPlayer_GetNewSteamAnnouncementState_Response, _impl_.state_)>( - reinterpret_cast(&_impl_.state_), - reinterpret_cast(&other->_impl_.state_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_GetNewSteamAnnouncementState_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[35]); -} - -// =================================================================== - -class CPlayer_UpdateSteamAnnouncementLastRead_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_announcement_gid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_time_posted(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CPlayer_UpdateSteamAnnouncementLastRead_Request::CPlayer_UpdateSteamAnnouncementLastRead_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPlayer_UpdateSteamAnnouncementLastRead_Request) -} -CPlayer_UpdateSteamAnnouncementLastRead_Request::CPlayer_UpdateSteamAnnouncementLastRead_Request(const CPlayer_UpdateSteamAnnouncementLastRead_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPlayer_UpdateSteamAnnouncementLastRead_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.announcement_gid_){} - , decltype(_impl_.time_posted_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.announcement_gid_, &from._impl_.announcement_gid_, - static_cast(reinterpret_cast(&_impl_.time_posted_) - - reinterpret_cast(&_impl_.announcement_gid_)) + sizeof(_impl_.time_posted_)); - // @@protoc_insertion_point(copy_constructor:CPlayer_UpdateSteamAnnouncementLastRead_Request) -} - -inline void CPlayer_UpdateSteamAnnouncementLastRead_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.announcement_gid_){uint64_t{0u}} - , decltype(_impl_.time_posted_){0u} - }; -} - -CPlayer_UpdateSteamAnnouncementLastRead_Request::~CPlayer_UpdateSteamAnnouncementLastRead_Request() { - // @@protoc_insertion_point(destructor:CPlayer_UpdateSteamAnnouncementLastRead_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPlayer_UpdateSteamAnnouncementLastRead_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CPlayer_UpdateSteamAnnouncementLastRead_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPlayer_UpdateSteamAnnouncementLastRead_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CPlayer_UpdateSteamAnnouncementLastRead_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.announcement_gid_, 0, static_cast( - reinterpret_cast(&_impl_.time_posted_) - - reinterpret_cast(&_impl_.announcement_gid_)) + sizeof(_impl_.time_posted_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPlayer_UpdateSteamAnnouncementLastRead_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 announcement_gid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_announcement_gid(&has_bits); - _impl_.announcement_gid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 time_posted = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_time_posted(&has_bits); - _impl_.time_posted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPlayer_UpdateSteamAnnouncementLastRead_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPlayer_UpdateSteamAnnouncementLastRead_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 announcement_gid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_announcement_gid(), target); - } - - // optional uint32 time_posted = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_time_posted(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPlayer_UpdateSteamAnnouncementLastRead_Request) - return target; -} - -size_t CPlayer_UpdateSteamAnnouncementLastRead_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPlayer_UpdateSteamAnnouncementLastRead_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint64 announcement_gid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_announcement_gid()); - } - - // optional uint32 time_posted = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_time_posted()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_UpdateSteamAnnouncementLastRead_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPlayer_UpdateSteamAnnouncementLastRead_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_UpdateSteamAnnouncementLastRead_Request::GetClassData() const { return &_class_data_; } - - -void CPlayer_UpdateSteamAnnouncementLastRead_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPlayer_UpdateSteamAnnouncementLastRead_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.announcement_gid_ = from._impl_.announcement_gid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.time_posted_ = from._impl_.time_posted_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPlayer_UpdateSteamAnnouncementLastRead_Request::CopyFrom(const CPlayer_UpdateSteamAnnouncementLastRead_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPlayer_UpdateSteamAnnouncementLastRead_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPlayer_UpdateSteamAnnouncementLastRead_Request::IsInitialized() const { - return true; -} - -void CPlayer_UpdateSteamAnnouncementLastRead_Request::InternalSwap(CPlayer_UpdateSteamAnnouncementLastRead_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPlayer_UpdateSteamAnnouncementLastRead_Request, _impl_.time_posted_) - + sizeof(CPlayer_UpdateSteamAnnouncementLastRead_Request::_impl_.time_posted_) - - PROTOBUF_FIELD_OFFSET(CPlayer_UpdateSteamAnnouncementLastRead_Request, _impl_.announcement_gid_)>( - reinterpret_cast(&_impl_.announcement_gid_), - reinterpret_cast(&other->_impl_.announcement_gid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_UpdateSteamAnnouncementLastRead_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[36]); -} - -// =================================================================== - -class CPlayer_UpdateSteamAnnouncementLastRead_Response::_Internal { - public: -}; - -CPlayer_UpdateSteamAnnouncementLastRead_Response::CPlayer_UpdateSteamAnnouncementLastRead_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CPlayer_UpdateSteamAnnouncementLastRead_Response) -} -CPlayer_UpdateSteamAnnouncementLastRead_Response::CPlayer_UpdateSteamAnnouncementLastRead_Response(const CPlayer_UpdateSteamAnnouncementLastRead_Response& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CPlayer_UpdateSteamAnnouncementLastRead_Response* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CPlayer_UpdateSteamAnnouncementLastRead_Response) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPlayer_UpdateSteamAnnouncementLastRead_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPlayer_UpdateSteamAnnouncementLastRead_Response::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CPlayer_UpdateSteamAnnouncementLastRead_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fplayer_2esteamworkssdk_2eproto[37]); -} - -// =================================================================== - -Player::~Player() {} - -const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* Player::descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto); - return file_level_service_descriptors_steammessages_5fplayer_2esteamworkssdk_2eproto[0]; -} - -const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* Player::GetDescriptor() { - return descriptor(); -} - -void Player::GetMutualFriendsForIncomingInvites(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetMutualFriendsForIncomingInvites_Request*, - ::CPlayer_GetMutualFriendsForIncomingInvites_Response*, - ::google::protobuf::Closure* done) { - controller->SetFailed("Method GetMutualFriendsForIncomingInvites() not implemented."); - done->Run(); -} - -void Player::GetFriendsGameplayInfo(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetFriendsGameplayInfo_Request*, - ::CPlayer_GetFriendsGameplayInfo_Response*, - ::google::protobuf::Closure* done) { - controller->SetFailed("Method GetFriendsGameplayInfo() not implemented."); - done->Run(); -} - -void Player::GetGameBadgeLevels(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetGameBadgeLevels_Request*, - ::CPlayer_GetGameBadgeLevels_Response*, - ::google::protobuf::Closure* done) { - controller->SetFailed("Method GetGameBadgeLevels() not implemented."); - done->Run(); -} - -void Player::ClientGetLastPlayedTimes(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetLastPlayedTimes_Request*, - ::CPlayer_GetLastPlayedTimes_Response*, - ::google::protobuf::Closure* done) { - controller->SetFailed("Method ClientGetLastPlayedTimes() not implemented."); - done->Run(); -} - -void Player::AcceptSSA(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_AcceptSSA_Request*, - ::CPlayer_AcceptSSA_Response*, - ::google::protobuf::Closure* done) { - controller->SetFailed("Method AcceptSSA() not implemented."); - done->Run(); -} - -void Player::GetNicknameList(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetNicknameList_Request*, - ::CPlayer_GetNicknameList_Response*, - ::google::protobuf::Closure* done) { - controller->SetFailed("Method GetNicknameList() not implemented."); - done->Run(); -} - -void Player::GetPerFriendPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetPerFriendPreferences_Request*, - ::CPlayer_GetPerFriendPreferences_Response*, - ::google::protobuf::Closure* done) { - controller->SetFailed("Method GetPerFriendPreferences() not implemented."); - done->Run(); -} - -void Player::SetPerFriendPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_SetPerFriendPreferences_Request*, - ::CPlayer_SetPerFriendPreferences_Response*, - ::google::protobuf::Closure* done) { - controller->SetFailed("Method SetPerFriendPreferences() not implemented."); - done->Run(); -} - -void Player::AddFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_AddFriend_Request*, - ::CPlayer_AddFriend_Response*, - ::google::protobuf::Closure* done) { - controller->SetFailed("Method AddFriend() not implemented."); - done->Run(); -} - -void Player::RemoveFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_RemoveFriend_Request*, - ::CPlayer_RemoveFriend_Response*, - ::google::protobuf::Closure* done) { - controller->SetFailed("Method RemoveFriend() not implemented."); - done->Run(); -} - -void Player::IgnoreFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_IgnoreFriend_Request*, - ::CPlayer_IgnoreFriend_Response*, - ::google::protobuf::Closure* done) { - controller->SetFailed("Method IgnoreFriend() not implemented."); - done->Run(); -} - -void Player::GetCommunityPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetCommunityPreferences_Request*, - ::CPlayer_GetCommunityPreferences_Response*, - ::google::protobuf::Closure* done) { - controller->SetFailed("Method GetCommunityPreferences() not implemented."); - done->Run(); -} - -void Player::SetCommunityPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_SetCommunityPreferences_Request*, - ::CPlayer_SetCommunityPreferences_Response*, - ::google::protobuf::Closure* done) { - controller->SetFailed("Method SetCommunityPreferences() not implemented."); - done->Run(); -} - -void Player::GetNewSteamAnnouncementState(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetNewSteamAnnouncementState_Request*, - ::CPlayer_GetNewSteamAnnouncementState_Response*, - ::google::protobuf::Closure* done) { - controller->SetFailed("Method GetNewSteamAnnouncementState() not implemented."); - done->Run(); -} - -void Player::UpdateSteamAnnouncementLastRead(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_UpdateSteamAnnouncementLastRead_Request*, - ::CPlayer_UpdateSteamAnnouncementLastRead_Response*, - ::google::protobuf::Closure* done) { - controller->SetFailed("Method UpdateSteamAnnouncementLastRead() not implemented."); - done->Run(); -} - -void Player::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, - ::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::PROTOBUF_NAMESPACE_ID::Message* request, - ::PROTOBUF_NAMESPACE_ID::Message* response, - ::google::protobuf::Closure* done) { - GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_steammessages_5fplayer_2esteamworkssdk_2eproto[0]); - switch(method->index()) { - case 0: - GetMutualFriendsForIncomingInvites(controller, - ::PROTOBUF_NAMESPACE_ID::internal::DownCast( - request), - ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_GetMutualFriendsForIncomingInvites_Response*>( - response), - done); - break; - case 1: - GetFriendsGameplayInfo(controller, - ::PROTOBUF_NAMESPACE_ID::internal::DownCast( - request), - ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_GetFriendsGameplayInfo_Response*>( - response), - done); - break; - case 2: - GetGameBadgeLevels(controller, - ::PROTOBUF_NAMESPACE_ID::internal::DownCast( - request), - ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_GetGameBadgeLevels_Response*>( - response), - done); - break; - case 3: - ClientGetLastPlayedTimes(controller, - ::PROTOBUF_NAMESPACE_ID::internal::DownCast( - request), - ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_GetLastPlayedTimes_Response*>( - response), - done); - break; - case 4: - AcceptSSA(controller, - ::PROTOBUF_NAMESPACE_ID::internal::DownCast( - request), - ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_AcceptSSA_Response*>( - response), - done); - break; - case 5: - GetNicknameList(controller, - ::PROTOBUF_NAMESPACE_ID::internal::DownCast( - request), - ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_GetNicknameList_Response*>( - response), - done); - break; - case 6: - GetPerFriendPreferences(controller, - ::PROTOBUF_NAMESPACE_ID::internal::DownCast( - request), - ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_GetPerFriendPreferences_Response*>( - response), - done); - break; - case 7: - SetPerFriendPreferences(controller, - ::PROTOBUF_NAMESPACE_ID::internal::DownCast( - request), - ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_SetPerFriendPreferences_Response*>( - response), - done); - break; - case 8: - AddFriend(controller, - ::PROTOBUF_NAMESPACE_ID::internal::DownCast( - request), - ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_AddFriend_Response*>( - response), - done); - break; - case 9: - RemoveFriend(controller, - ::PROTOBUF_NAMESPACE_ID::internal::DownCast( - request), - ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_RemoveFriend_Response*>( - response), - done); - break; - case 10: - IgnoreFriend(controller, - ::PROTOBUF_NAMESPACE_ID::internal::DownCast( - request), - ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_IgnoreFriend_Response*>( - response), - done); - break; - case 11: - GetCommunityPreferences(controller, - ::PROTOBUF_NAMESPACE_ID::internal::DownCast( - request), - ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_GetCommunityPreferences_Response*>( - response), - done); - break; - case 12: - SetCommunityPreferences(controller, - ::PROTOBUF_NAMESPACE_ID::internal::DownCast( - request), - ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_SetCommunityPreferences_Response*>( - response), - done); - break; - case 13: - GetNewSteamAnnouncementState(controller, - ::PROTOBUF_NAMESPACE_ID::internal::DownCast( - request), - ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_GetNewSteamAnnouncementState_Response*>( - response), - done); - break; - case 14: - UpdateSteamAnnouncementLastRead(controller, - ::PROTOBUF_NAMESPACE_ID::internal::DownCast( - request), - ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CPlayer_UpdateSteamAnnouncementLastRead_Response*>( - response), - done); - break; - default: - GOOGLE_LOG(FATAL) << "Bad method index; this should never happen."; - break; - } -} - -const ::PROTOBUF_NAMESPACE_ID::Message& Player::GetRequestPrototype( - const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { - GOOGLE_DCHECK_EQ(method->service(), descriptor()); - switch(method->index()) { - case 0: - return ::CPlayer_GetMutualFriendsForIncomingInvites_Request::default_instance(); - case 1: - return ::CPlayer_GetFriendsGameplayInfo_Request::default_instance(); - case 2: - return ::CPlayer_GetGameBadgeLevels_Request::default_instance(); - case 3: - return ::CPlayer_GetLastPlayedTimes_Request::default_instance(); - case 4: - return ::CPlayer_AcceptSSA_Request::default_instance(); - case 5: - return ::CPlayer_GetNicknameList_Request::default_instance(); - case 6: - return ::CPlayer_GetPerFriendPreferences_Request::default_instance(); - case 7: - return ::CPlayer_SetPerFriendPreferences_Request::default_instance(); - case 8: - return ::CPlayer_AddFriend_Request::default_instance(); - case 9: - return ::CPlayer_RemoveFriend_Request::default_instance(); - case 10: - return ::CPlayer_IgnoreFriend_Request::default_instance(); - case 11: - return ::CPlayer_GetCommunityPreferences_Request::default_instance(); - case 12: - return ::CPlayer_SetCommunityPreferences_Request::default_instance(); - case 13: - return ::CPlayer_GetNewSteamAnnouncementState_Request::default_instance(); - case 14: - return ::CPlayer_UpdateSteamAnnouncementLastRead_Request::default_instance(); - default: - GOOGLE_LOG(FATAL) << "Bad method index; this should never happen."; - return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() - ->GetPrototype(method->input_type()); - } -} - -const ::PROTOBUF_NAMESPACE_ID::Message& Player::GetResponsePrototype( - const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { - GOOGLE_DCHECK_EQ(method->service(), descriptor()); - switch(method->index()) { - case 0: - return ::CPlayer_GetMutualFriendsForIncomingInvites_Response::default_instance(); - case 1: - return ::CPlayer_GetFriendsGameplayInfo_Response::default_instance(); - case 2: - return ::CPlayer_GetGameBadgeLevels_Response::default_instance(); - case 3: - return ::CPlayer_GetLastPlayedTimes_Response::default_instance(); - case 4: - return ::CPlayer_AcceptSSA_Response::default_instance(); - case 5: - return ::CPlayer_GetNicknameList_Response::default_instance(); - case 6: - return ::CPlayer_GetPerFriendPreferences_Response::default_instance(); - case 7: - return ::CPlayer_SetPerFriendPreferences_Response::default_instance(); - case 8: - return ::CPlayer_AddFriend_Response::default_instance(); - case 9: - return ::CPlayer_RemoveFriend_Response::default_instance(); - case 10: - return ::CPlayer_IgnoreFriend_Response::default_instance(); - case 11: - return ::CPlayer_GetCommunityPreferences_Response::default_instance(); - case 12: - return ::CPlayer_SetCommunityPreferences_Response::default_instance(); - case 13: - return ::CPlayer_GetNewSteamAnnouncementState_Response::default_instance(); - case 14: - return ::CPlayer_UpdateSteamAnnouncementLastRead_Response::default_instance(); - default: - GOOGLE_LOG(FATAL) << "Bad method index; this should never happen."; - return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() - ->GetPrototype(method->output_type()); - } -} - -Player_Stub::Player_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) - : channel_(channel), owns_channel_(false) {} -Player_Stub::Player_Stub( - ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, - ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) - : channel_(channel), - owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} -Player_Stub::~Player_Stub() { - if (owns_channel_) delete channel_; -} - -void Player_Stub::GetMutualFriendsForIncomingInvites(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetMutualFriendsForIncomingInvites_Request* request, - ::CPlayer_GetMutualFriendsForIncomingInvites_Response* response, - ::google::protobuf::Closure* done) { - channel_->CallMethod(descriptor()->method(0), - controller, request, response, done); -} -void Player_Stub::GetFriendsGameplayInfo(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetFriendsGameplayInfo_Request* request, - ::CPlayer_GetFriendsGameplayInfo_Response* response, - ::google::protobuf::Closure* done) { - channel_->CallMethod(descriptor()->method(1), - controller, request, response, done); -} -void Player_Stub::GetGameBadgeLevels(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetGameBadgeLevels_Request* request, - ::CPlayer_GetGameBadgeLevels_Response* response, - ::google::protobuf::Closure* done) { - channel_->CallMethod(descriptor()->method(2), - controller, request, response, done); -} -void Player_Stub::ClientGetLastPlayedTimes(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetLastPlayedTimes_Request* request, - ::CPlayer_GetLastPlayedTimes_Response* response, - ::google::protobuf::Closure* done) { - channel_->CallMethod(descriptor()->method(3), - controller, request, response, done); -} -void Player_Stub::AcceptSSA(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_AcceptSSA_Request* request, - ::CPlayer_AcceptSSA_Response* response, - ::google::protobuf::Closure* done) { - channel_->CallMethod(descriptor()->method(4), - controller, request, response, done); -} -void Player_Stub::GetNicknameList(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetNicknameList_Request* request, - ::CPlayer_GetNicknameList_Response* response, - ::google::protobuf::Closure* done) { - channel_->CallMethod(descriptor()->method(5), - controller, request, response, done); -} -void Player_Stub::GetPerFriendPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetPerFriendPreferences_Request* request, - ::CPlayer_GetPerFriendPreferences_Response* response, - ::google::protobuf::Closure* done) { - channel_->CallMethod(descriptor()->method(6), - controller, request, response, done); -} -void Player_Stub::SetPerFriendPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_SetPerFriendPreferences_Request* request, - ::CPlayer_SetPerFriendPreferences_Response* response, - ::google::protobuf::Closure* done) { - channel_->CallMethod(descriptor()->method(7), - controller, request, response, done); -} -void Player_Stub::AddFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_AddFriend_Request* request, - ::CPlayer_AddFriend_Response* response, - ::google::protobuf::Closure* done) { - channel_->CallMethod(descriptor()->method(8), - controller, request, response, done); -} -void Player_Stub::RemoveFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_RemoveFriend_Request* request, - ::CPlayer_RemoveFriend_Response* response, - ::google::protobuf::Closure* done) { - channel_->CallMethod(descriptor()->method(9), - controller, request, response, done); -} -void Player_Stub::IgnoreFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_IgnoreFriend_Request* request, - ::CPlayer_IgnoreFriend_Response* response, - ::google::protobuf::Closure* done) { - channel_->CallMethod(descriptor()->method(10), - controller, request, response, done); -} -void Player_Stub::GetCommunityPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetCommunityPreferences_Request* request, - ::CPlayer_GetCommunityPreferences_Response* response, - ::google::protobuf::Closure* done) { - channel_->CallMethod(descriptor()->method(11), - controller, request, response, done); -} -void Player_Stub::SetCommunityPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_SetCommunityPreferences_Request* request, - ::CPlayer_SetCommunityPreferences_Response* response, - ::google::protobuf::Closure* done) { - channel_->CallMethod(descriptor()->method(12), - controller, request, response, done); -} -void Player_Stub::GetNewSteamAnnouncementState(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetNewSteamAnnouncementState_Request* request, - ::CPlayer_GetNewSteamAnnouncementState_Response* response, - ::google::protobuf::Closure* done) { - channel_->CallMethod(descriptor()->method(13), - controller, request, response, done); -} -void Player_Stub::UpdateSteamAnnouncementLastRead(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_UpdateSteamAnnouncementLastRead_Request* request, - ::CPlayer_UpdateSteamAnnouncementLastRead_Response* response, - ::google::protobuf::Closure* done) { - channel_->CallMethod(descriptor()->method(14), - controller, request, response, done); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CPlayer_GetMutualFriendsForIncomingInvites_Request* -Arena::CreateMaybeMessage< ::CPlayer_GetMutualFriendsForIncomingInvites_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetMutualFriendsForIncomingInvites_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_IncomingInviteMutualFriendList* -Arena::CreateMaybeMessage< ::CPlayer_IncomingInviteMutualFriendList >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_IncomingInviteMutualFriendList >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetMutualFriendsForIncomingInvites_Response* -Arena::CreateMaybeMessage< ::CPlayer_GetMutualFriendsForIncomingInvites_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetMutualFriendsForIncomingInvites_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetFriendsGameplayInfo_Request* -Arena::CreateMaybeMessage< ::CPlayer_GetFriendsGameplayInfo_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetFriendsGameplayInfo_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* -Arena::CreateMaybeMessage< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* -Arena::CreateMaybeMessage< ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetFriendsGameplayInfo_Response* -Arena::CreateMaybeMessage< ::CPlayer_GetFriendsGameplayInfo_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetFriendsGameplayInfo_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetGameBadgeLevels_Request* -Arena::CreateMaybeMessage< ::CPlayer_GetGameBadgeLevels_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetGameBadgeLevels_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetGameBadgeLevels_Response_Badge* -Arena::CreateMaybeMessage< ::CPlayer_GetGameBadgeLevels_Response_Badge >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetGameBadgeLevels_Response_Badge >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetGameBadgeLevels_Response* -Arena::CreateMaybeMessage< ::CPlayer_GetGameBadgeLevels_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetGameBadgeLevels_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetLastPlayedTimes_Request* -Arena::CreateMaybeMessage< ::CPlayer_GetLastPlayedTimes_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetLastPlayedTimes_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetLastPlayedTimes_Response_Game* -Arena::CreateMaybeMessage< ::CPlayer_GetLastPlayedTimes_Response_Game >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetLastPlayedTimes_Response_Game >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetLastPlayedTimes_Response* -Arena::CreateMaybeMessage< ::CPlayer_GetLastPlayedTimes_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetLastPlayedTimes_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_AcceptSSA_Request* -Arena::CreateMaybeMessage< ::CPlayer_AcceptSSA_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_AcceptSSA_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_AcceptSSA_Response* -Arena::CreateMaybeMessage< ::CPlayer_AcceptSSA_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_AcceptSSA_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetNicknameList_Request* -Arena::CreateMaybeMessage< ::CPlayer_GetNicknameList_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetNicknameList_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetNicknameList_Response_PlayerNickname* -Arena::CreateMaybeMessage< ::CPlayer_GetNicknameList_Response_PlayerNickname >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetNicknameList_Response_PlayerNickname >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetNicknameList_Response* -Arena::CreateMaybeMessage< ::CPlayer_GetNicknameList_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetNicknameList_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetPerFriendPreferences_Request* -Arena::CreateMaybeMessage< ::CPlayer_GetPerFriendPreferences_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetPerFriendPreferences_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::PerFriendPreferences* -Arena::CreateMaybeMessage< ::PerFriendPreferences >(Arena* arena) { - return Arena::CreateMessageInternal< ::PerFriendPreferences >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetPerFriendPreferences_Response* -Arena::CreateMaybeMessage< ::CPlayer_GetPerFriendPreferences_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetPerFriendPreferences_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_SetPerFriendPreferences_Request* -Arena::CreateMaybeMessage< ::CPlayer_SetPerFriendPreferences_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_SetPerFriendPreferences_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_SetPerFriendPreferences_Response* -Arena::CreateMaybeMessage< ::CPlayer_SetPerFriendPreferences_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_SetPerFriendPreferences_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_AddFriend_Request* -Arena::CreateMaybeMessage< ::CPlayer_AddFriend_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_AddFriend_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_AddFriend_Response* -Arena::CreateMaybeMessage< ::CPlayer_AddFriend_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_AddFriend_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_RemoveFriend_Request* -Arena::CreateMaybeMessage< ::CPlayer_RemoveFriend_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_RemoveFriend_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_RemoveFriend_Response* -Arena::CreateMaybeMessage< ::CPlayer_RemoveFriend_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_RemoveFriend_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_IgnoreFriend_Request* -Arena::CreateMaybeMessage< ::CPlayer_IgnoreFriend_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_IgnoreFriend_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_IgnoreFriend_Response* -Arena::CreateMaybeMessage< ::CPlayer_IgnoreFriend_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_IgnoreFriend_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetCommunityPreferences_Request* -Arena::CreateMaybeMessage< ::CPlayer_GetCommunityPreferences_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetCommunityPreferences_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_CommunityPreferences* -Arena::CreateMaybeMessage< ::CPlayer_CommunityPreferences >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_CommunityPreferences >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetCommunityPreferences_Response* -Arena::CreateMaybeMessage< ::CPlayer_GetCommunityPreferences_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetCommunityPreferences_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_SetCommunityPreferences_Request* -Arena::CreateMaybeMessage< ::CPlayer_SetCommunityPreferences_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_SetCommunityPreferences_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_SetCommunityPreferences_Response* -Arena::CreateMaybeMessage< ::CPlayer_SetCommunityPreferences_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_SetCommunityPreferences_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetNewSteamAnnouncementState_Request* -Arena::CreateMaybeMessage< ::CPlayer_GetNewSteamAnnouncementState_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetNewSteamAnnouncementState_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_GetNewSteamAnnouncementState_Response* -Arena::CreateMaybeMessage< ::CPlayer_GetNewSteamAnnouncementState_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_GetNewSteamAnnouncementState_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_UpdateSteamAnnouncementLastRead_Request* -Arena::CreateMaybeMessage< ::CPlayer_UpdateSteamAnnouncementLastRead_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_UpdateSteamAnnouncementLastRead_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPlayer_UpdateSteamAnnouncementLastRead_Response* -Arena::CreateMaybeMessage< ::CPlayer_UpdateSteamAnnouncementLastRead_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPlayer_UpdateSteamAnnouncementLastRead_Response >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/steammessages_player.steamworkssdk.pb.h b/protobuf/generated/steammessages_player.steamworkssdk.pb.h deleted file mode 100644 index 634a47f43..000000000 --- a/protobuf/generated/steammessages_player.steamworkssdk.pb.h +++ /dev/null @@ -1,9523 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steammessages_player.steamworkssdk.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_steammessages_5fplayer_2esteamworkssdk_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_steammessages_5fplayer_2esteamworkssdk_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include -#include "steammessages_unified_base.steamworkssdk.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_steammessages_5fplayer_2esteamworkssdk_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steammessages_5fplayer_2esteamworkssdk_2eproto; -class CPlayer_AcceptSSA_Request; -struct CPlayer_AcceptSSA_RequestDefaultTypeInternal; -extern CPlayer_AcceptSSA_RequestDefaultTypeInternal _CPlayer_AcceptSSA_Request_default_instance_; -class CPlayer_AcceptSSA_Response; -struct CPlayer_AcceptSSA_ResponseDefaultTypeInternal; -extern CPlayer_AcceptSSA_ResponseDefaultTypeInternal _CPlayer_AcceptSSA_Response_default_instance_; -class CPlayer_AddFriend_Request; -struct CPlayer_AddFriend_RequestDefaultTypeInternal; -extern CPlayer_AddFriend_RequestDefaultTypeInternal _CPlayer_AddFriend_Request_default_instance_; -class CPlayer_AddFriend_Response; -struct CPlayer_AddFriend_ResponseDefaultTypeInternal; -extern CPlayer_AddFriend_ResponseDefaultTypeInternal _CPlayer_AddFriend_Response_default_instance_; -class CPlayer_CommunityPreferences; -struct CPlayer_CommunityPreferencesDefaultTypeInternal; -extern CPlayer_CommunityPreferencesDefaultTypeInternal _CPlayer_CommunityPreferences_default_instance_; -class CPlayer_GetCommunityPreferences_Request; -struct CPlayer_GetCommunityPreferences_RequestDefaultTypeInternal; -extern CPlayer_GetCommunityPreferences_RequestDefaultTypeInternal _CPlayer_GetCommunityPreferences_Request_default_instance_; -class CPlayer_GetCommunityPreferences_Response; -struct CPlayer_GetCommunityPreferences_ResponseDefaultTypeInternal; -extern CPlayer_GetCommunityPreferences_ResponseDefaultTypeInternal _CPlayer_GetCommunityPreferences_Response_default_instance_; -class CPlayer_GetFriendsGameplayInfo_Request; -struct CPlayer_GetFriendsGameplayInfo_RequestDefaultTypeInternal; -extern CPlayer_GetFriendsGameplayInfo_RequestDefaultTypeInternal _CPlayer_GetFriendsGameplayInfo_Request_default_instance_; -class CPlayer_GetFriendsGameplayInfo_Response; -struct CPlayer_GetFriendsGameplayInfo_ResponseDefaultTypeInternal; -extern CPlayer_GetFriendsGameplayInfo_ResponseDefaultTypeInternal _CPlayer_GetFriendsGameplayInfo_Response_default_instance_; -class CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo; -struct CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfoDefaultTypeInternal; -extern CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfoDefaultTypeInternal _CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo_default_instance_; -class CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo; -struct CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfoDefaultTypeInternal; -extern CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfoDefaultTypeInternal _CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo_default_instance_; -class CPlayer_GetGameBadgeLevels_Request; -struct CPlayer_GetGameBadgeLevels_RequestDefaultTypeInternal; -extern CPlayer_GetGameBadgeLevels_RequestDefaultTypeInternal _CPlayer_GetGameBadgeLevels_Request_default_instance_; -class CPlayer_GetGameBadgeLevels_Response; -struct CPlayer_GetGameBadgeLevels_ResponseDefaultTypeInternal; -extern CPlayer_GetGameBadgeLevels_ResponseDefaultTypeInternal _CPlayer_GetGameBadgeLevels_Response_default_instance_; -class CPlayer_GetGameBadgeLevels_Response_Badge; -struct CPlayer_GetGameBadgeLevels_Response_BadgeDefaultTypeInternal; -extern CPlayer_GetGameBadgeLevels_Response_BadgeDefaultTypeInternal _CPlayer_GetGameBadgeLevels_Response_Badge_default_instance_; -class CPlayer_GetLastPlayedTimes_Request; -struct CPlayer_GetLastPlayedTimes_RequestDefaultTypeInternal; -extern CPlayer_GetLastPlayedTimes_RequestDefaultTypeInternal _CPlayer_GetLastPlayedTimes_Request_default_instance_; -class CPlayer_GetLastPlayedTimes_Response; -struct CPlayer_GetLastPlayedTimes_ResponseDefaultTypeInternal; -extern CPlayer_GetLastPlayedTimes_ResponseDefaultTypeInternal _CPlayer_GetLastPlayedTimes_Response_default_instance_; -class CPlayer_GetLastPlayedTimes_Response_Game; -struct CPlayer_GetLastPlayedTimes_Response_GameDefaultTypeInternal; -extern CPlayer_GetLastPlayedTimes_Response_GameDefaultTypeInternal _CPlayer_GetLastPlayedTimes_Response_Game_default_instance_; -class CPlayer_GetMutualFriendsForIncomingInvites_Request; -struct CPlayer_GetMutualFriendsForIncomingInvites_RequestDefaultTypeInternal; -extern CPlayer_GetMutualFriendsForIncomingInvites_RequestDefaultTypeInternal _CPlayer_GetMutualFriendsForIncomingInvites_Request_default_instance_; -class CPlayer_GetMutualFriendsForIncomingInvites_Response; -struct CPlayer_GetMutualFriendsForIncomingInvites_ResponseDefaultTypeInternal; -extern CPlayer_GetMutualFriendsForIncomingInvites_ResponseDefaultTypeInternal _CPlayer_GetMutualFriendsForIncomingInvites_Response_default_instance_; -class CPlayer_GetNewSteamAnnouncementState_Request; -struct CPlayer_GetNewSteamAnnouncementState_RequestDefaultTypeInternal; -extern CPlayer_GetNewSteamAnnouncementState_RequestDefaultTypeInternal _CPlayer_GetNewSteamAnnouncementState_Request_default_instance_; -class CPlayer_GetNewSteamAnnouncementState_Response; -struct CPlayer_GetNewSteamAnnouncementState_ResponseDefaultTypeInternal; -extern CPlayer_GetNewSteamAnnouncementState_ResponseDefaultTypeInternal _CPlayer_GetNewSteamAnnouncementState_Response_default_instance_; -class CPlayer_GetNicknameList_Request; -struct CPlayer_GetNicknameList_RequestDefaultTypeInternal; -extern CPlayer_GetNicknameList_RequestDefaultTypeInternal _CPlayer_GetNicknameList_Request_default_instance_; -class CPlayer_GetNicknameList_Response; -struct CPlayer_GetNicknameList_ResponseDefaultTypeInternal; -extern CPlayer_GetNicknameList_ResponseDefaultTypeInternal _CPlayer_GetNicknameList_Response_default_instance_; -class CPlayer_GetNicknameList_Response_PlayerNickname; -struct CPlayer_GetNicknameList_Response_PlayerNicknameDefaultTypeInternal; -extern CPlayer_GetNicknameList_Response_PlayerNicknameDefaultTypeInternal _CPlayer_GetNicknameList_Response_PlayerNickname_default_instance_; -class CPlayer_GetPerFriendPreferences_Request; -struct CPlayer_GetPerFriendPreferences_RequestDefaultTypeInternal; -extern CPlayer_GetPerFriendPreferences_RequestDefaultTypeInternal _CPlayer_GetPerFriendPreferences_Request_default_instance_; -class CPlayer_GetPerFriendPreferences_Response; -struct CPlayer_GetPerFriendPreferences_ResponseDefaultTypeInternal; -extern CPlayer_GetPerFriendPreferences_ResponseDefaultTypeInternal _CPlayer_GetPerFriendPreferences_Response_default_instance_; -class CPlayer_IgnoreFriend_Request; -struct CPlayer_IgnoreFriend_RequestDefaultTypeInternal; -extern CPlayer_IgnoreFriend_RequestDefaultTypeInternal _CPlayer_IgnoreFriend_Request_default_instance_; -class CPlayer_IgnoreFriend_Response; -struct CPlayer_IgnoreFriend_ResponseDefaultTypeInternal; -extern CPlayer_IgnoreFriend_ResponseDefaultTypeInternal _CPlayer_IgnoreFriend_Response_default_instance_; -class CPlayer_IncomingInviteMutualFriendList; -struct CPlayer_IncomingInviteMutualFriendListDefaultTypeInternal; -extern CPlayer_IncomingInviteMutualFriendListDefaultTypeInternal _CPlayer_IncomingInviteMutualFriendList_default_instance_; -class CPlayer_RemoveFriend_Request; -struct CPlayer_RemoveFriend_RequestDefaultTypeInternal; -extern CPlayer_RemoveFriend_RequestDefaultTypeInternal _CPlayer_RemoveFriend_Request_default_instance_; -class CPlayer_RemoveFriend_Response; -struct CPlayer_RemoveFriend_ResponseDefaultTypeInternal; -extern CPlayer_RemoveFriend_ResponseDefaultTypeInternal _CPlayer_RemoveFriend_Response_default_instance_; -class CPlayer_SetCommunityPreferences_Request; -struct CPlayer_SetCommunityPreferences_RequestDefaultTypeInternal; -extern CPlayer_SetCommunityPreferences_RequestDefaultTypeInternal _CPlayer_SetCommunityPreferences_Request_default_instance_; -class CPlayer_SetCommunityPreferences_Response; -struct CPlayer_SetCommunityPreferences_ResponseDefaultTypeInternal; -extern CPlayer_SetCommunityPreferences_ResponseDefaultTypeInternal _CPlayer_SetCommunityPreferences_Response_default_instance_; -class CPlayer_SetPerFriendPreferences_Request; -struct CPlayer_SetPerFriendPreferences_RequestDefaultTypeInternal; -extern CPlayer_SetPerFriendPreferences_RequestDefaultTypeInternal _CPlayer_SetPerFriendPreferences_Request_default_instance_; -class CPlayer_SetPerFriendPreferences_Response; -struct CPlayer_SetPerFriendPreferences_ResponseDefaultTypeInternal; -extern CPlayer_SetPerFriendPreferences_ResponseDefaultTypeInternal _CPlayer_SetPerFriendPreferences_Response_default_instance_; -class CPlayer_UpdateSteamAnnouncementLastRead_Request; -struct CPlayer_UpdateSteamAnnouncementLastRead_RequestDefaultTypeInternal; -extern CPlayer_UpdateSteamAnnouncementLastRead_RequestDefaultTypeInternal _CPlayer_UpdateSteamAnnouncementLastRead_Request_default_instance_; -class CPlayer_UpdateSteamAnnouncementLastRead_Response; -struct CPlayer_UpdateSteamAnnouncementLastRead_ResponseDefaultTypeInternal; -extern CPlayer_UpdateSteamAnnouncementLastRead_ResponseDefaultTypeInternal _CPlayer_UpdateSteamAnnouncementLastRead_Response_default_instance_; -class PerFriendPreferences; -struct PerFriendPreferencesDefaultTypeInternal; -extern PerFriendPreferencesDefaultTypeInternal _PerFriendPreferences_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CPlayer_AcceptSSA_Request* Arena::CreateMaybeMessage<::CPlayer_AcceptSSA_Request>(Arena*); -template<> ::CPlayer_AcceptSSA_Response* Arena::CreateMaybeMessage<::CPlayer_AcceptSSA_Response>(Arena*); -template<> ::CPlayer_AddFriend_Request* Arena::CreateMaybeMessage<::CPlayer_AddFriend_Request>(Arena*); -template<> ::CPlayer_AddFriend_Response* Arena::CreateMaybeMessage<::CPlayer_AddFriend_Response>(Arena*); -template<> ::CPlayer_CommunityPreferences* Arena::CreateMaybeMessage<::CPlayer_CommunityPreferences>(Arena*); -template<> ::CPlayer_GetCommunityPreferences_Request* Arena::CreateMaybeMessage<::CPlayer_GetCommunityPreferences_Request>(Arena*); -template<> ::CPlayer_GetCommunityPreferences_Response* Arena::CreateMaybeMessage<::CPlayer_GetCommunityPreferences_Response>(Arena*); -template<> ::CPlayer_GetFriendsGameplayInfo_Request* Arena::CreateMaybeMessage<::CPlayer_GetFriendsGameplayInfo_Request>(Arena*); -template<> ::CPlayer_GetFriendsGameplayInfo_Response* Arena::CreateMaybeMessage<::CPlayer_GetFriendsGameplayInfo_Response>(Arena*); -template<> ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* Arena::CreateMaybeMessage<::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo>(Arena*); -template<> ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* Arena::CreateMaybeMessage<::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo>(Arena*); -template<> ::CPlayer_GetGameBadgeLevels_Request* Arena::CreateMaybeMessage<::CPlayer_GetGameBadgeLevels_Request>(Arena*); -template<> ::CPlayer_GetGameBadgeLevels_Response* Arena::CreateMaybeMessage<::CPlayer_GetGameBadgeLevels_Response>(Arena*); -template<> ::CPlayer_GetGameBadgeLevels_Response_Badge* Arena::CreateMaybeMessage<::CPlayer_GetGameBadgeLevels_Response_Badge>(Arena*); -template<> ::CPlayer_GetLastPlayedTimes_Request* Arena::CreateMaybeMessage<::CPlayer_GetLastPlayedTimes_Request>(Arena*); -template<> ::CPlayer_GetLastPlayedTimes_Response* Arena::CreateMaybeMessage<::CPlayer_GetLastPlayedTimes_Response>(Arena*); -template<> ::CPlayer_GetLastPlayedTimes_Response_Game* Arena::CreateMaybeMessage<::CPlayer_GetLastPlayedTimes_Response_Game>(Arena*); -template<> ::CPlayer_GetMutualFriendsForIncomingInvites_Request* Arena::CreateMaybeMessage<::CPlayer_GetMutualFriendsForIncomingInvites_Request>(Arena*); -template<> ::CPlayer_GetMutualFriendsForIncomingInvites_Response* Arena::CreateMaybeMessage<::CPlayer_GetMutualFriendsForIncomingInvites_Response>(Arena*); -template<> ::CPlayer_GetNewSteamAnnouncementState_Request* Arena::CreateMaybeMessage<::CPlayer_GetNewSteamAnnouncementState_Request>(Arena*); -template<> ::CPlayer_GetNewSteamAnnouncementState_Response* Arena::CreateMaybeMessage<::CPlayer_GetNewSteamAnnouncementState_Response>(Arena*); -template<> ::CPlayer_GetNicknameList_Request* Arena::CreateMaybeMessage<::CPlayer_GetNicknameList_Request>(Arena*); -template<> ::CPlayer_GetNicknameList_Response* Arena::CreateMaybeMessage<::CPlayer_GetNicknameList_Response>(Arena*); -template<> ::CPlayer_GetNicknameList_Response_PlayerNickname* Arena::CreateMaybeMessage<::CPlayer_GetNicknameList_Response_PlayerNickname>(Arena*); -template<> ::CPlayer_GetPerFriendPreferences_Request* Arena::CreateMaybeMessage<::CPlayer_GetPerFriendPreferences_Request>(Arena*); -template<> ::CPlayer_GetPerFriendPreferences_Response* Arena::CreateMaybeMessage<::CPlayer_GetPerFriendPreferences_Response>(Arena*); -template<> ::CPlayer_IgnoreFriend_Request* Arena::CreateMaybeMessage<::CPlayer_IgnoreFriend_Request>(Arena*); -template<> ::CPlayer_IgnoreFriend_Response* Arena::CreateMaybeMessage<::CPlayer_IgnoreFriend_Response>(Arena*); -template<> ::CPlayer_IncomingInviteMutualFriendList* Arena::CreateMaybeMessage<::CPlayer_IncomingInviteMutualFriendList>(Arena*); -template<> ::CPlayer_RemoveFriend_Request* Arena::CreateMaybeMessage<::CPlayer_RemoveFriend_Request>(Arena*); -template<> ::CPlayer_RemoveFriend_Response* Arena::CreateMaybeMessage<::CPlayer_RemoveFriend_Response>(Arena*); -template<> ::CPlayer_SetCommunityPreferences_Request* Arena::CreateMaybeMessage<::CPlayer_SetCommunityPreferences_Request>(Arena*); -template<> ::CPlayer_SetCommunityPreferences_Response* Arena::CreateMaybeMessage<::CPlayer_SetCommunityPreferences_Response>(Arena*); -template<> ::CPlayer_SetPerFriendPreferences_Request* Arena::CreateMaybeMessage<::CPlayer_SetPerFriendPreferences_Request>(Arena*); -template<> ::CPlayer_SetPerFriendPreferences_Response* Arena::CreateMaybeMessage<::CPlayer_SetPerFriendPreferences_Response>(Arena*); -template<> ::CPlayer_UpdateSteamAnnouncementLastRead_Request* Arena::CreateMaybeMessage<::CPlayer_UpdateSteamAnnouncementLastRead_Request>(Arena*); -template<> ::CPlayer_UpdateSteamAnnouncementLastRead_Response* Arena::CreateMaybeMessage<::CPlayer_UpdateSteamAnnouncementLastRead_Response>(Arena*); -template<> ::PerFriendPreferences* Arena::CreateMaybeMessage<::PerFriendPreferences>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum ENotificationSetting : int { - k_ENotificationSettingNotifyUseDefault = 0, - k_ENotificationSettingAlways = 1, - k_ENotificationSettingNever = 2 -}; -bool ENotificationSetting_IsValid(int value); -constexpr ENotificationSetting ENotificationSetting_MIN = k_ENotificationSettingNotifyUseDefault; -constexpr ENotificationSetting ENotificationSetting_MAX = k_ENotificationSettingNever; -constexpr int ENotificationSetting_ARRAYSIZE = ENotificationSetting_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ENotificationSetting_descriptor(); -template -inline const std::string& ENotificationSetting_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ENotificationSetting_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ENotificationSetting_descriptor(), enum_t_value); -} -inline bool ENotificationSetting_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ENotificationSetting* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ENotificationSetting_descriptor(), name, value); -} -// =================================================================== - -class CPlayer_GetMutualFriendsForIncomingInvites_Request : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPlayer_GetMutualFriendsForIncomingInvites_Request) */ { - public: - inline CPlayer_GetMutualFriendsForIncomingInvites_Request() : CPlayer_GetMutualFriendsForIncomingInvites_Request(nullptr) {} - explicit PROTOBUF_CONSTEXPR CPlayer_GetMutualFriendsForIncomingInvites_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetMutualFriendsForIncomingInvites_Request(const CPlayer_GetMutualFriendsForIncomingInvites_Request& from); - CPlayer_GetMutualFriendsForIncomingInvites_Request(CPlayer_GetMutualFriendsForIncomingInvites_Request&& from) noexcept - : CPlayer_GetMutualFriendsForIncomingInvites_Request() { - *this = ::std::move(from); - } - - inline CPlayer_GetMutualFriendsForIncomingInvites_Request& operator=(const CPlayer_GetMutualFriendsForIncomingInvites_Request& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetMutualFriendsForIncomingInvites_Request& operator=(CPlayer_GetMutualFriendsForIncomingInvites_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetMutualFriendsForIncomingInvites_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetMutualFriendsForIncomingInvites_Request* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetMutualFriendsForIncomingInvites_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CPlayer_GetMutualFriendsForIncomingInvites_Request& a, CPlayer_GetMutualFriendsForIncomingInvites_Request& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetMutualFriendsForIncomingInvites_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetMutualFriendsForIncomingInvites_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetMutualFriendsForIncomingInvites_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CPlayer_GetMutualFriendsForIncomingInvites_Request& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CPlayer_GetMutualFriendsForIncomingInvites_Request& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetMutualFriendsForIncomingInvites_Request"; - } - protected: - explicit CPlayer_GetMutualFriendsForIncomingInvites_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CPlayer_GetMutualFriendsForIncomingInvites_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_IncomingInviteMutualFriendList : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_IncomingInviteMutualFriendList) */ { - public: - inline CPlayer_IncomingInviteMutualFriendList() : CPlayer_IncomingInviteMutualFriendList(nullptr) {} - ~CPlayer_IncomingInviteMutualFriendList() override; - explicit PROTOBUF_CONSTEXPR CPlayer_IncomingInviteMutualFriendList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_IncomingInviteMutualFriendList(const CPlayer_IncomingInviteMutualFriendList& from); - CPlayer_IncomingInviteMutualFriendList(CPlayer_IncomingInviteMutualFriendList&& from) noexcept - : CPlayer_IncomingInviteMutualFriendList() { - *this = ::std::move(from); - } - - inline CPlayer_IncomingInviteMutualFriendList& operator=(const CPlayer_IncomingInviteMutualFriendList& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_IncomingInviteMutualFriendList& operator=(CPlayer_IncomingInviteMutualFriendList&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_IncomingInviteMutualFriendList& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_IncomingInviteMutualFriendList* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_IncomingInviteMutualFriendList_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CPlayer_IncomingInviteMutualFriendList& a, CPlayer_IncomingInviteMutualFriendList& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_IncomingInviteMutualFriendList* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_IncomingInviteMutualFriendList* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_IncomingInviteMutualFriendList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_IncomingInviteMutualFriendList& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_IncomingInviteMutualFriendList& from) { - CPlayer_IncomingInviteMutualFriendList::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_IncomingInviteMutualFriendList* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_IncomingInviteMutualFriendList"; - } - protected: - explicit CPlayer_IncomingInviteMutualFriendList(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMutualFriendAccountIdsFieldNumber = 2, - kSteamidFieldNumber = 1, - }; - // repeated uint32 mutual_friend_account_ids = 2; - int mutual_friend_account_ids_size() const; - private: - int _internal_mutual_friend_account_ids_size() const; - public: - void clear_mutual_friend_account_ids(); - private: - uint32_t _internal_mutual_friend_account_ids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_mutual_friend_account_ids() const; - void _internal_add_mutual_friend_account_ids(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_mutual_friend_account_ids(); - public: - uint32_t mutual_friend_account_ids(int index) const; - void set_mutual_friend_account_ids(int index, uint32_t value); - void add_mutual_friend_account_ids(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - mutual_friend_account_ids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_mutual_friend_account_ids(); - - // optional fixed64 steamid = 1; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_IncomingInviteMutualFriendList) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > mutual_friend_account_ids_; - uint64_t steamid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetMutualFriendsForIncomingInvites_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetMutualFriendsForIncomingInvites_Response) */ { - public: - inline CPlayer_GetMutualFriendsForIncomingInvites_Response() : CPlayer_GetMutualFriendsForIncomingInvites_Response(nullptr) {} - ~CPlayer_GetMutualFriendsForIncomingInvites_Response() override; - explicit PROTOBUF_CONSTEXPR CPlayer_GetMutualFriendsForIncomingInvites_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetMutualFriendsForIncomingInvites_Response(const CPlayer_GetMutualFriendsForIncomingInvites_Response& from); - CPlayer_GetMutualFriendsForIncomingInvites_Response(CPlayer_GetMutualFriendsForIncomingInvites_Response&& from) noexcept - : CPlayer_GetMutualFriendsForIncomingInvites_Response() { - *this = ::std::move(from); - } - - inline CPlayer_GetMutualFriendsForIncomingInvites_Response& operator=(const CPlayer_GetMutualFriendsForIncomingInvites_Response& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetMutualFriendsForIncomingInvites_Response& operator=(CPlayer_GetMutualFriendsForIncomingInvites_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetMutualFriendsForIncomingInvites_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetMutualFriendsForIncomingInvites_Response* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetMutualFriendsForIncomingInvites_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CPlayer_GetMutualFriendsForIncomingInvites_Response& a, CPlayer_GetMutualFriendsForIncomingInvites_Response& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetMutualFriendsForIncomingInvites_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetMutualFriendsForIncomingInvites_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetMutualFriendsForIncomingInvites_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_GetMutualFriendsForIncomingInvites_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_GetMutualFriendsForIncomingInvites_Response& from) { - CPlayer_GetMutualFriendsForIncomingInvites_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_GetMutualFriendsForIncomingInvites_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetMutualFriendsForIncomingInvites_Response"; - } - protected: - explicit CPlayer_GetMutualFriendsForIncomingInvites_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIncomingInviteMutualFriendsListsFieldNumber = 1, - }; - // repeated .CPlayer_IncomingInviteMutualFriendList incoming_invite_mutual_friends_lists = 1; - int incoming_invite_mutual_friends_lists_size() const; - private: - int _internal_incoming_invite_mutual_friends_lists_size() const; - public: - void clear_incoming_invite_mutual_friends_lists(); - ::CPlayer_IncomingInviteMutualFriendList* mutable_incoming_invite_mutual_friends_lists(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_IncomingInviteMutualFriendList >* - mutable_incoming_invite_mutual_friends_lists(); - private: - const ::CPlayer_IncomingInviteMutualFriendList& _internal_incoming_invite_mutual_friends_lists(int index) const; - ::CPlayer_IncomingInviteMutualFriendList* _internal_add_incoming_invite_mutual_friends_lists(); - public: - const ::CPlayer_IncomingInviteMutualFriendList& incoming_invite_mutual_friends_lists(int index) const; - ::CPlayer_IncomingInviteMutualFriendList* add_incoming_invite_mutual_friends_lists(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_IncomingInviteMutualFriendList >& - incoming_invite_mutual_friends_lists() const; - - // @@protoc_insertion_point(class_scope:CPlayer_GetMutualFriendsForIncomingInvites_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_IncomingInviteMutualFriendList > incoming_invite_mutual_friends_lists_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetFriendsGameplayInfo_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetFriendsGameplayInfo_Request) */ { - public: - inline CPlayer_GetFriendsGameplayInfo_Request() : CPlayer_GetFriendsGameplayInfo_Request(nullptr) {} - ~CPlayer_GetFriendsGameplayInfo_Request() override; - explicit PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetFriendsGameplayInfo_Request(const CPlayer_GetFriendsGameplayInfo_Request& from); - CPlayer_GetFriendsGameplayInfo_Request(CPlayer_GetFriendsGameplayInfo_Request&& from) noexcept - : CPlayer_GetFriendsGameplayInfo_Request() { - *this = ::std::move(from); - } - - inline CPlayer_GetFriendsGameplayInfo_Request& operator=(const CPlayer_GetFriendsGameplayInfo_Request& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetFriendsGameplayInfo_Request& operator=(CPlayer_GetFriendsGameplayInfo_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetFriendsGameplayInfo_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetFriendsGameplayInfo_Request* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetFriendsGameplayInfo_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CPlayer_GetFriendsGameplayInfo_Request& a, CPlayer_GetFriendsGameplayInfo_Request& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetFriendsGameplayInfo_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetFriendsGameplayInfo_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetFriendsGameplayInfo_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_GetFriendsGameplayInfo_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_GetFriendsGameplayInfo_Request& from) { - CPlayer_GetFriendsGameplayInfo_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_GetFriendsGameplayInfo_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetFriendsGameplayInfo_Request"; - } - protected: - explicit CPlayer_GetFriendsGameplayInfo_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAppidFieldNumber = 1, - }; - // optional uint32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_GetFriendsGameplayInfo_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t appid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) */ { - public: - inline CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo() : CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo(nullptr) {} - ~CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo() override; - explicit PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo(const CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& from); - CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo&& from) noexcept - : CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo() { - *this = ::std::move(from); - } - - inline CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& operator=(const CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& operator=(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& a, CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& from) { - CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo"; - } - protected: - explicit CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSteamidFieldNumber = 1, - kMinutesPlayedFieldNumber = 2, - kMinutesPlayedForeverFieldNumber = 3, - }; - // optional fixed64 steamid = 1; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional uint32 minutes_played = 2; - bool has_minutes_played() const; - private: - bool _internal_has_minutes_played() const; - public: - void clear_minutes_played(); - uint32_t minutes_played() const; - void set_minutes_played(uint32_t value); - private: - uint32_t _internal_minutes_played() const; - void _internal_set_minutes_played(uint32_t value); - public: - - // optional uint32 minutes_played_forever = 3; - bool has_minutes_played_forever() const; - private: - bool _internal_has_minutes_played_forever() const; - public: - void clear_minutes_played_forever(); - uint32_t minutes_played_forever() const; - void set_minutes_played_forever(uint32_t value); - private: - uint32_t _internal_minutes_played_forever() const; - void _internal_set_minutes_played_forever(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t steamid_; - uint32_t minutes_played_; - uint32_t minutes_played_forever_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) */ { - public: - inline CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo() : CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo(nullptr) {} - ~CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo() override; - explicit PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo(const CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& from); - CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo&& from) noexcept - : CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo() { - *this = ::std::move(from); - } - - inline CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& operator=(const CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& operator=(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& a, CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& from) { - CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo"; - } - protected: - explicit CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSteamidFieldNumber = 1, - kMinutesPlayedFieldNumber = 2, - kMinutesPlayedForeverFieldNumber = 3, - kInWishlistFieldNumber = 4, - kOwnedFieldNumber = 5, - }; - // optional fixed64 steamid = 1; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional uint32 minutes_played = 2; - bool has_minutes_played() const; - private: - bool _internal_has_minutes_played() const; - public: - void clear_minutes_played(); - uint32_t minutes_played() const; - void set_minutes_played(uint32_t value); - private: - uint32_t _internal_minutes_played() const; - void _internal_set_minutes_played(uint32_t value); - public: - - // optional uint32 minutes_played_forever = 3; - bool has_minutes_played_forever() const; - private: - bool _internal_has_minutes_played_forever() const; - public: - void clear_minutes_played_forever(); - uint32_t minutes_played_forever() const; - void set_minutes_played_forever(uint32_t value); - private: - uint32_t _internal_minutes_played_forever() const; - void _internal_set_minutes_played_forever(uint32_t value); - public: - - // optional bool in_wishlist = 4; - bool has_in_wishlist() const; - private: - bool _internal_has_in_wishlist() const; - public: - void clear_in_wishlist(); - bool in_wishlist() const; - void set_in_wishlist(bool value); - private: - bool _internal_in_wishlist() const; - void _internal_set_in_wishlist(bool value); - public: - - // optional bool owned = 5; - bool has_owned() const; - private: - bool _internal_has_owned() const; - public: - void clear_owned(); - bool owned() const; - void set_owned(bool value); - private: - bool _internal_owned() const; - void _internal_set_owned(bool value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t steamid_; - uint32_t minutes_played_; - uint32_t minutes_played_forever_; - bool in_wishlist_; - bool owned_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetFriendsGameplayInfo_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetFriendsGameplayInfo_Response) */ { - public: - inline CPlayer_GetFriendsGameplayInfo_Response() : CPlayer_GetFriendsGameplayInfo_Response(nullptr) {} - ~CPlayer_GetFriendsGameplayInfo_Response() override; - explicit PROTOBUF_CONSTEXPR CPlayer_GetFriendsGameplayInfo_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetFriendsGameplayInfo_Response(const CPlayer_GetFriendsGameplayInfo_Response& from); - CPlayer_GetFriendsGameplayInfo_Response(CPlayer_GetFriendsGameplayInfo_Response&& from) noexcept - : CPlayer_GetFriendsGameplayInfo_Response() { - *this = ::std::move(from); - } - - inline CPlayer_GetFriendsGameplayInfo_Response& operator=(const CPlayer_GetFriendsGameplayInfo_Response& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetFriendsGameplayInfo_Response& operator=(CPlayer_GetFriendsGameplayInfo_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetFriendsGameplayInfo_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetFriendsGameplayInfo_Response* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetFriendsGameplayInfo_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CPlayer_GetFriendsGameplayInfo_Response& a, CPlayer_GetFriendsGameplayInfo_Response& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetFriendsGameplayInfo_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetFriendsGameplayInfo_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetFriendsGameplayInfo_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_GetFriendsGameplayInfo_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_GetFriendsGameplayInfo_Response& from) { - CPlayer_GetFriendsGameplayInfo_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_GetFriendsGameplayInfo_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetFriendsGameplayInfo_Response"; - } - protected: - explicit CPlayer_GetFriendsGameplayInfo_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo FriendsGameplayInfo; - typedef CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo OwnGameplayInfo; - - // accessors ------------------------------------------------------- - - enum : int { - kInGameFieldNumber = 2, - kPlayedRecentlyFieldNumber = 3, - kPlayedEverFieldNumber = 4, - kOwnsFieldNumber = 5, - kInWishlistFieldNumber = 6, - kYourInfoFieldNumber = 1, - }; - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_game = 2; - int in_game_size() const; - private: - int _internal_in_game_size() const; - public: - void clear_in_game(); - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* mutable_in_game(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* - mutable_in_game(); - private: - const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& _internal_in_game(int index) const; - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _internal_add_in_game(); - public: - const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& in_game(int index) const; - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* add_in_game(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& - in_game() const; - - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_recently = 3; - int played_recently_size() const; - private: - int _internal_played_recently_size() const; - public: - void clear_played_recently(); - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* mutable_played_recently(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* - mutable_played_recently(); - private: - const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& _internal_played_recently(int index) const; - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _internal_add_played_recently(); - public: - const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& played_recently(int index) const; - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* add_played_recently(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& - played_recently() const; - - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_ever = 4; - int played_ever_size() const; - private: - int _internal_played_ever_size() const; - public: - void clear_played_ever(); - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* mutable_played_ever(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* - mutable_played_ever(); - private: - const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& _internal_played_ever(int index) const; - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _internal_add_played_ever(); - public: - const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& played_ever(int index) const; - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* add_played_ever(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& - played_ever() const; - - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo owns = 5; - int owns_size() const; - private: - int _internal_owns_size() const; - public: - void clear_owns(); - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* mutable_owns(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* - mutable_owns(); - private: - const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& _internal_owns(int index) const; - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _internal_add_owns(); - public: - const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& owns(int index) const; - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* add_owns(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& - owns() const; - - // repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_wishlist = 6; - int in_wishlist_size() const; - private: - int _internal_in_wishlist_size() const; - public: - void clear_in_wishlist(); - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* mutable_in_wishlist(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* - mutable_in_wishlist(); - private: - const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& _internal_in_wishlist(int index) const; - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _internal_add_in_wishlist(); - public: - const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& in_wishlist(int index) const; - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* add_in_wishlist(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& - in_wishlist() const; - - // optional .CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo your_info = 1; - bool has_your_info() const; - private: - bool _internal_has_your_info() const; - public: - void clear_your_info(); - const ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& your_info() const; - PROTOBUF_NODISCARD ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* release_your_info(); - ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* mutable_your_info(); - void set_allocated_your_info(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* your_info); - private: - const ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& _internal_your_info() const; - ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* _internal_mutable_your_info(); - public: - void unsafe_arena_set_allocated_your_info( - ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* your_info); - ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* unsafe_arena_release_your_info(); - - // @@protoc_insertion_point(class_scope:CPlayer_GetFriendsGameplayInfo_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo > in_game_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo > played_recently_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo > played_ever_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo > owns_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo > in_wishlist_; - ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* your_info_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetGameBadgeLevels_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetGameBadgeLevels_Request) */ { - public: - inline CPlayer_GetGameBadgeLevels_Request() : CPlayer_GetGameBadgeLevels_Request(nullptr) {} - ~CPlayer_GetGameBadgeLevels_Request() override; - explicit PROTOBUF_CONSTEXPR CPlayer_GetGameBadgeLevels_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetGameBadgeLevels_Request(const CPlayer_GetGameBadgeLevels_Request& from); - CPlayer_GetGameBadgeLevels_Request(CPlayer_GetGameBadgeLevels_Request&& from) noexcept - : CPlayer_GetGameBadgeLevels_Request() { - *this = ::std::move(from); - } - - inline CPlayer_GetGameBadgeLevels_Request& operator=(const CPlayer_GetGameBadgeLevels_Request& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetGameBadgeLevels_Request& operator=(CPlayer_GetGameBadgeLevels_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetGameBadgeLevels_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetGameBadgeLevels_Request* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetGameBadgeLevels_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(CPlayer_GetGameBadgeLevels_Request& a, CPlayer_GetGameBadgeLevels_Request& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetGameBadgeLevels_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetGameBadgeLevels_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetGameBadgeLevels_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_GetGameBadgeLevels_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_GetGameBadgeLevels_Request& from) { - CPlayer_GetGameBadgeLevels_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_GetGameBadgeLevels_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetGameBadgeLevels_Request"; - } - protected: - explicit CPlayer_GetGameBadgeLevels_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAppidFieldNumber = 1, - }; - // optional uint32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_GetGameBadgeLevels_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t appid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetGameBadgeLevels_Response_Badge : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetGameBadgeLevels_Response.Badge) */ { - public: - inline CPlayer_GetGameBadgeLevels_Response_Badge() : CPlayer_GetGameBadgeLevels_Response_Badge(nullptr) {} - ~CPlayer_GetGameBadgeLevels_Response_Badge() override; - explicit PROTOBUF_CONSTEXPR CPlayer_GetGameBadgeLevels_Response_Badge(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetGameBadgeLevels_Response_Badge(const CPlayer_GetGameBadgeLevels_Response_Badge& from); - CPlayer_GetGameBadgeLevels_Response_Badge(CPlayer_GetGameBadgeLevels_Response_Badge&& from) noexcept - : CPlayer_GetGameBadgeLevels_Response_Badge() { - *this = ::std::move(from); - } - - inline CPlayer_GetGameBadgeLevels_Response_Badge& operator=(const CPlayer_GetGameBadgeLevels_Response_Badge& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetGameBadgeLevels_Response_Badge& operator=(CPlayer_GetGameBadgeLevels_Response_Badge&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetGameBadgeLevels_Response_Badge& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetGameBadgeLevels_Response_Badge* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetGameBadgeLevels_Response_Badge_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(CPlayer_GetGameBadgeLevels_Response_Badge& a, CPlayer_GetGameBadgeLevels_Response_Badge& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetGameBadgeLevels_Response_Badge* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetGameBadgeLevels_Response_Badge* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetGameBadgeLevels_Response_Badge* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_GetGameBadgeLevels_Response_Badge& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_GetGameBadgeLevels_Response_Badge& from) { - CPlayer_GetGameBadgeLevels_Response_Badge::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_GetGameBadgeLevels_Response_Badge* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetGameBadgeLevels_Response.Badge"; - } - protected: - explicit CPlayer_GetGameBadgeLevels_Response_Badge(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLevelFieldNumber = 1, - kSeriesFieldNumber = 2, - kBorderColorFieldNumber = 3, - }; - // optional int32 level = 1; - bool has_level() const; - private: - bool _internal_has_level() const; - public: - void clear_level(); - int32_t level() const; - void set_level(int32_t value); - private: - int32_t _internal_level() const; - void _internal_set_level(int32_t value); - public: - - // optional int32 series = 2; - bool has_series() const; - private: - bool _internal_has_series() const; - public: - void clear_series(); - int32_t series() const; - void set_series(int32_t value); - private: - int32_t _internal_series() const; - void _internal_set_series(int32_t value); - public: - - // optional uint32 border_color = 3; - bool has_border_color() const; - private: - bool _internal_has_border_color() const; - public: - void clear_border_color(); - uint32_t border_color() const; - void set_border_color(uint32_t value); - private: - uint32_t _internal_border_color() const; - void _internal_set_border_color(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_GetGameBadgeLevels_Response.Badge) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t level_; - int32_t series_; - uint32_t border_color_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetGameBadgeLevels_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetGameBadgeLevels_Response) */ { - public: - inline CPlayer_GetGameBadgeLevels_Response() : CPlayer_GetGameBadgeLevels_Response(nullptr) {} - ~CPlayer_GetGameBadgeLevels_Response() override; - explicit PROTOBUF_CONSTEXPR CPlayer_GetGameBadgeLevels_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetGameBadgeLevels_Response(const CPlayer_GetGameBadgeLevels_Response& from); - CPlayer_GetGameBadgeLevels_Response(CPlayer_GetGameBadgeLevels_Response&& from) noexcept - : CPlayer_GetGameBadgeLevels_Response() { - *this = ::std::move(from); - } - - inline CPlayer_GetGameBadgeLevels_Response& operator=(const CPlayer_GetGameBadgeLevels_Response& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetGameBadgeLevels_Response& operator=(CPlayer_GetGameBadgeLevels_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetGameBadgeLevels_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetGameBadgeLevels_Response* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetGameBadgeLevels_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(CPlayer_GetGameBadgeLevels_Response& a, CPlayer_GetGameBadgeLevels_Response& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetGameBadgeLevels_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetGameBadgeLevels_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetGameBadgeLevels_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_GetGameBadgeLevels_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_GetGameBadgeLevels_Response& from) { - CPlayer_GetGameBadgeLevels_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_GetGameBadgeLevels_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetGameBadgeLevels_Response"; - } - protected: - explicit CPlayer_GetGameBadgeLevels_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CPlayer_GetGameBadgeLevels_Response_Badge Badge; - - // accessors ------------------------------------------------------- - - enum : int { - kBadgesFieldNumber = 2, - kPlayerLevelFieldNumber = 1, - }; - // repeated .CPlayer_GetGameBadgeLevels_Response.Badge badges = 2; - int badges_size() const; - private: - int _internal_badges_size() const; - public: - void clear_badges(); - ::CPlayer_GetGameBadgeLevels_Response_Badge* mutable_badges(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetGameBadgeLevels_Response_Badge >* - mutable_badges(); - private: - const ::CPlayer_GetGameBadgeLevels_Response_Badge& _internal_badges(int index) const; - ::CPlayer_GetGameBadgeLevels_Response_Badge* _internal_add_badges(); - public: - const ::CPlayer_GetGameBadgeLevels_Response_Badge& badges(int index) const; - ::CPlayer_GetGameBadgeLevels_Response_Badge* add_badges(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetGameBadgeLevels_Response_Badge >& - badges() const; - - // optional uint32 player_level = 1; - bool has_player_level() const; - private: - bool _internal_has_player_level() const; - public: - void clear_player_level(); - uint32_t player_level() const; - void set_player_level(uint32_t value); - private: - uint32_t _internal_player_level() const; - void _internal_set_player_level(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_GetGameBadgeLevels_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetGameBadgeLevels_Response_Badge > badges_; - uint32_t player_level_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetLastPlayedTimes_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetLastPlayedTimes_Request) */ { - public: - inline CPlayer_GetLastPlayedTimes_Request() : CPlayer_GetLastPlayedTimes_Request(nullptr) {} - ~CPlayer_GetLastPlayedTimes_Request() override; - explicit PROTOBUF_CONSTEXPR CPlayer_GetLastPlayedTimes_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetLastPlayedTimes_Request(const CPlayer_GetLastPlayedTimes_Request& from); - CPlayer_GetLastPlayedTimes_Request(CPlayer_GetLastPlayedTimes_Request&& from) noexcept - : CPlayer_GetLastPlayedTimes_Request() { - *this = ::std::move(from); - } - - inline CPlayer_GetLastPlayedTimes_Request& operator=(const CPlayer_GetLastPlayedTimes_Request& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetLastPlayedTimes_Request& operator=(CPlayer_GetLastPlayedTimes_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetLastPlayedTimes_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetLastPlayedTimes_Request* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetLastPlayedTimes_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(CPlayer_GetLastPlayedTimes_Request& a, CPlayer_GetLastPlayedTimes_Request& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetLastPlayedTimes_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetLastPlayedTimes_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetLastPlayedTimes_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_GetLastPlayedTimes_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_GetLastPlayedTimes_Request& from) { - CPlayer_GetLastPlayedTimes_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_GetLastPlayedTimes_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetLastPlayedTimes_Request"; - } - protected: - explicit CPlayer_GetLastPlayedTimes_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMinLastPlayedFieldNumber = 1, - }; - // optional uint32 min_last_played = 1 [(.description) = "The most recent last-played time the client already knows about"]; - bool has_min_last_played() const; - private: - bool _internal_has_min_last_played() const; - public: - void clear_min_last_played(); - uint32_t min_last_played() const; - void set_min_last_played(uint32_t value); - private: - uint32_t _internal_min_last_played() const; - void _internal_set_min_last_played(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_GetLastPlayedTimes_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t min_last_played_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetLastPlayedTimes_Response_Game : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetLastPlayedTimes_Response.Game) */ { - public: - inline CPlayer_GetLastPlayedTimes_Response_Game() : CPlayer_GetLastPlayedTimes_Response_Game(nullptr) {} - ~CPlayer_GetLastPlayedTimes_Response_Game() override; - explicit PROTOBUF_CONSTEXPR CPlayer_GetLastPlayedTimes_Response_Game(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetLastPlayedTimes_Response_Game(const CPlayer_GetLastPlayedTimes_Response_Game& from); - CPlayer_GetLastPlayedTimes_Response_Game(CPlayer_GetLastPlayedTimes_Response_Game&& from) noexcept - : CPlayer_GetLastPlayedTimes_Response_Game() { - *this = ::std::move(from); - } - - inline CPlayer_GetLastPlayedTimes_Response_Game& operator=(const CPlayer_GetLastPlayedTimes_Response_Game& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetLastPlayedTimes_Response_Game& operator=(CPlayer_GetLastPlayedTimes_Response_Game&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetLastPlayedTimes_Response_Game& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetLastPlayedTimes_Response_Game* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetLastPlayedTimes_Response_Game_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(CPlayer_GetLastPlayedTimes_Response_Game& a, CPlayer_GetLastPlayedTimes_Response_Game& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetLastPlayedTimes_Response_Game* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetLastPlayedTimes_Response_Game* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetLastPlayedTimes_Response_Game* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_GetLastPlayedTimes_Response_Game& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_GetLastPlayedTimes_Response_Game& from) { - CPlayer_GetLastPlayedTimes_Response_Game::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_GetLastPlayedTimes_Response_Game* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetLastPlayedTimes_Response.Game"; - } - protected: - explicit CPlayer_GetLastPlayedTimes_Response_Game(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAppidFieldNumber = 1, - kLastPlaytimeFieldNumber = 2, - kPlaytime2WeeksFieldNumber = 3, - kPlaytimeForeverFieldNumber = 4, - kFirstPlaytimeFieldNumber = 5, - }; - // optional int32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - int32_t appid() const; - void set_appid(int32_t value); - private: - int32_t _internal_appid() const; - void _internal_set_appid(int32_t value); - public: - - // optional uint32 last_playtime = 2; - bool has_last_playtime() const; - private: - bool _internal_has_last_playtime() const; - public: - void clear_last_playtime(); - uint32_t last_playtime() const; - void set_last_playtime(uint32_t value); - private: - uint32_t _internal_last_playtime() const; - void _internal_set_last_playtime(uint32_t value); - public: - - // optional int32 playtime_2weeks = 3; - bool has_playtime_2weeks() const; - private: - bool _internal_has_playtime_2weeks() const; - public: - void clear_playtime_2weeks(); - int32_t playtime_2weeks() const; - void set_playtime_2weeks(int32_t value); - private: - int32_t _internal_playtime_2weeks() const; - void _internal_set_playtime_2weeks(int32_t value); - public: - - // optional int32 playtime_forever = 4; - bool has_playtime_forever() const; - private: - bool _internal_has_playtime_forever() const; - public: - void clear_playtime_forever(); - int32_t playtime_forever() const; - void set_playtime_forever(int32_t value); - private: - int32_t _internal_playtime_forever() const; - void _internal_set_playtime_forever(int32_t value); - public: - - // optional uint32 first_playtime = 5; - bool has_first_playtime() const; - private: - bool _internal_has_first_playtime() const; - public: - void clear_first_playtime(); - uint32_t first_playtime() const; - void set_first_playtime(uint32_t value); - private: - uint32_t _internal_first_playtime() const; - void _internal_set_first_playtime(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_GetLastPlayedTimes_Response.Game) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t appid_; - uint32_t last_playtime_; - int32_t playtime_2weeks_; - int32_t playtime_forever_; - uint32_t first_playtime_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetLastPlayedTimes_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetLastPlayedTimes_Response) */ { - public: - inline CPlayer_GetLastPlayedTimes_Response() : CPlayer_GetLastPlayedTimes_Response(nullptr) {} - ~CPlayer_GetLastPlayedTimes_Response() override; - explicit PROTOBUF_CONSTEXPR CPlayer_GetLastPlayedTimes_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetLastPlayedTimes_Response(const CPlayer_GetLastPlayedTimes_Response& from); - CPlayer_GetLastPlayedTimes_Response(CPlayer_GetLastPlayedTimes_Response&& from) noexcept - : CPlayer_GetLastPlayedTimes_Response() { - *this = ::std::move(from); - } - - inline CPlayer_GetLastPlayedTimes_Response& operator=(const CPlayer_GetLastPlayedTimes_Response& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetLastPlayedTimes_Response& operator=(CPlayer_GetLastPlayedTimes_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetLastPlayedTimes_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetLastPlayedTimes_Response* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetLastPlayedTimes_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(CPlayer_GetLastPlayedTimes_Response& a, CPlayer_GetLastPlayedTimes_Response& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetLastPlayedTimes_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetLastPlayedTimes_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetLastPlayedTimes_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_GetLastPlayedTimes_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_GetLastPlayedTimes_Response& from) { - CPlayer_GetLastPlayedTimes_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_GetLastPlayedTimes_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetLastPlayedTimes_Response"; - } - protected: - explicit CPlayer_GetLastPlayedTimes_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CPlayer_GetLastPlayedTimes_Response_Game Game; - - // accessors ------------------------------------------------------- - - enum : int { - kGamesFieldNumber = 1, - }; - // repeated .CPlayer_GetLastPlayedTimes_Response.Game games = 1; - int games_size() const; - private: - int _internal_games_size() const; - public: - void clear_games(); - ::CPlayer_GetLastPlayedTimes_Response_Game* mutable_games(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetLastPlayedTimes_Response_Game >* - mutable_games(); - private: - const ::CPlayer_GetLastPlayedTimes_Response_Game& _internal_games(int index) const; - ::CPlayer_GetLastPlayedTimes_Response_Game* _internal_add_games(); - public: - const ::CPlayer_GetLastPlayedTimes_Response_Game& games(int index) const; - ::CPlayer_GetLastPlayedTimes_Response_Game* add_games(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetLastPlayedTimes_Response_Game >& - games() const; - - // @@protoc_insertion_point(class_scope:CPlayer_GetLastPlayedTimes_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetLastPlayedTimes_Response_Game > games_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_AcceptSSA_Request : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPlayer_AcceptSSA_Request) */ { - public: - inline CPlayer_AcceptSSA_Request() : CPlayer_AcceptSSA_Request(nullptr) {} - explicit PROTOBUF_CONSTEXPR CPlayer_AcceptSSA_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_AcceptSSA_Request(const CPlayer_AcceptSSA_Request& from); - CPlayer_AcceptSSA_Request(CPlayer_AcceptSSA_Request&& from) noexcept - : CPlayer_AcceptSSA_Request() { - *this = ::std::move(from); - } - - inline CPlayer_AcceptSSA_Request& operator=(const CPlayer_AcceptSSA_Request& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_AcceptSSA_Request& operator=(CPlayer_AcceptSSA_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_AcceptSSA_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_AcceptSSA_Request* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_AcceptSSA_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - friend void swap(CPlayer_AcceptSSA_Request& a, CPlayer_AcceptSSA_Request& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_AcceptSSA_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_AcceptSSA_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_AcceptSSA_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CPlayer_AcceptSSA_Request& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CPlayer_AcceptSSA_Request& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_AcceptSSA_Request"; - } - protected: - explicit CPlayer_AcceptSSA_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CPlayer_AcceptSSA_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_AcceptSSA_Response : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPlayer_AcceptSSA_Response) */ { - public: - inline CPlayer_AcceptSSA_Response() : CPlayer_AcceptSSA_Response(nullptr) {} - explicit PROTOBUF_CONSTEXPR CPlayer_AcceptSSA_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_AcceptSSA_Response(const CPlayer_AcceptSSA_Response& from); - CPlayer_AcceptSSA_Response(CPlayer_AcceptSSA_Response&& from) noexcept - : CPlayer_AcceptSSA_Response() { - *this = ::std::move(from); - } - - inline CPlayer_AcceptSSA_Response& operator=(const CPlayer_AcceptSSA_Response& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_AcceptSSA_Response& operator=(CPlayer_AcceptSSA_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_AcceptSSA_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_AcceptSSA_Response* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_AcceptSSA_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - friend void swap(CPlayer_AcceptSSA_Response& a, CPlayer_AcceptSSA_Response& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_AcceptSSA_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_AcceptSSA_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_AcceptSSA_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CPlayer_AcceptSSA_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CPlayer_AcceptSSA_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_AcceptSSA_Response"; - } - protected: - explicit CPlayer_AcceptSSA_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CPlayer_AcceptSSA_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetNicknameList_Request : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPlayer_GetNicknameList_Request) */ { - public: - inline CPlayer_GetNicknameList_Request() : CPlayer_GetNicknameList_Request(nullptr) {} - explicit PROTOBUF_CONSTEXPR CPlayer_GetNicknameList_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetNicknameList_Request(const CPlayer_GetNicknameList_Request& from); - CPlayer_GetNicknameList_Request(CPlayer_GetNicknameList_Request&& from) noexcept - : CPlayer_GetNicknameList_Request() { - *this = ::std::move(from); - } - - inline CPlayer_GetNicknameList_Request& operator=(const CPlayer_GetNicknameList_Request& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetNicknameList_Request& operator=(CPlayer_GetNicknameList_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetNicknameList_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetNicknameList_Request* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetNicknameList_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - friend void swap(CPlayer_GetNicknameList_Request& a, CPlayer_GetNicknameList_Request& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetNicknameList_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetNicknameList_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetNicknameList_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CPlayer_GetNicknameList_Request& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CPlayer_GetNicknameList_Request& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetNicknameList_Request"; - } - protected: - explicit CPlayer_GetNicknameList_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CPlayer_GetNicknameList_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetNicknameList_Response_PlayerNickname : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetNicknameList_Response.PlayerNickname) */ { - public: - inline CPlayer_GetNicknameList_Response_PlayerNickname() : CPlayer_GetNicknameList_Response_PlayerNickname(nullptr) {} - ~CPlayer_GetNicknameList_Response_PlayerNickname() override; - explicit PROTOBUF_CONSTEXPR CPlayer_GetNicknameList_Response_PlayerNickname(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetNicknameList_Response_PlayerNickname(const CPlayer_GetNicknameList_Response_PlayerNickname& from); - CPlayer_GetNicknameList_Response_PlayerNickname(CPlayer_GetNicknameList_Response_PlayerNickname&& from) noexcept - : CPlayer_GetNicknameList_Response_PlayerNickname() { - *this = ::std::move(from); - } - - inline CPlayer_GetNicknameList_Response_PlayerNickname& operator=(const CPlayer_GetNicknameList_Response_PlayerNickname& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetNicknameList_Response_PlayerNickname& operator=(CPlayer_GetNicknameList_Response_PlayerNickname&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetNicknameList_Response_PlayerNickname& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetNicknameList_Response_PlayerNickname* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetNicknameList_Response_PlayerNickname_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - friend void swap(CPlayer_GetNicknameList_Response_PlayerNickname& a, CPlayer_GetNicknameList_Response_PlayerNickname& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetNicknameList_Response_PlayerNickname* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetNicknameList_Response_PlayerNickname* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetNicknameList_Response_PlayerNickname* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_GetNicknameList_Response_PlayerNickname& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_GetNicknameList_Response_PlayerNickname& from) { - CPlayer_GetNicknameList_Response_PlayerNickname::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_GetNicknameList_Response_PlayerNickname* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetNicknameList_Response.PlayerNickname"; - } - protected: - explicit CPlayer_GetNicknameList_Response_PlayerNickname(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNicknameFieldNumber = 2, - kAccountidFieldNumber = 1, - }; - // optional string nickname = 2; - bool has_nickname() const; - private: - bool _internal_has_nickname() const; - public: - void clear_nickname(); - const std::string& nickname() const; - template - void set_nickname(ArgT0&& arg0, ArgT... args); - std::string* mutable_nickname(); - PROTOBUF_NODISCARD std::string* release_nickname(); - void set_allocated_nickname(std::string* nickname); - private: - const std::string& _internal_nickname() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_nickname(const std::string& value); - std::string* _internal_mutable_nickname(); - public: - - // optional fixed32 accountid = 1; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_GetNicknameList_Response.PlayerNickname) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nickname_; - uint32_t accountid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetNicknameList_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetNicknameList_Response) */ { - public: - inline CPlayer_GetNicknameList_Response() : CPlayer_GetNicknameList_Response(nullptr) {} - ~CPlayer_GetNicknameList_Response() override; - explicit PROTOBUF_CONSTEXPR CPlayer_GetNicknameList_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetNicknameList_Response(const CPlayer_GetNicknameList_Response& from); - CPlayer_GetNicknameList_Response(CPlayer_GetNicknameList_Response&& from) noexcept - : CPlayer_GetNicknameList_Response() { - *this = ::std::move(from); - } - - inline CPlayer_GetNicknameList_Response& operator=(const CPlayer_GetNicknameList_Response& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetNicknameList_Response& operator=(CPlayer_GetNicknameList_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetNicknameList_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetNicknameList_Response* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetNicknameList_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - friend void swap(CPlayer_GetNicknameList_Response& a, CPlayer_GetNicknameList_Response& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetNicknameList_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetNicknameList_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetNicknameList_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_GetNicknameList_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_GetNicknameList_Response& from) { - CPlayer_GetNicknameList_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_GetNicknameList_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetNicknameList_Response"; - } - protected: - explicit CPlayer_GetNicknameList_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CPlayer_GetNicknameList_Response_PlayerNickname PlayerNickname; - - // accessors ------------------------------------------------------- - - enum : int { - kNicknamesFieldNumber = 1, - }; - // repeated .CPlayer_GetNicknameList_Response.PlayerNickname nicknames = 1; - int nicknames_size() const; - private: - int _internal_nicknames_size() const; - public: - void clear_nicknames(); - ::CPlayer_GetNicknameList_Response_PlayerNickname* mutable_nicknames(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetNicknameList_Response_PlayerNickname >* - mutable_nicknames(); - private: - const ::CPlayer_GetNicknameList_Response_PlayerNickname& _internal_nicknames(int index) const; - ::CPlayer_GetNicknameList_Response_PlayerNickname* _internal_add_nicknames(); - public: - const ::CPlayer_GetNicknameList_Response_PlayerNickname& nicknames(int index) const; - ::CPlayer_GetNicknameList_Response_PlayerNickname* add_nicknames(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetNicknameList_Response_PlayerNickname >& - nicknames() const; - - // @@protoc_insertion_point(class_scope:CPlayer_GetNicknameList_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetNicknameList_Response_PlayerNickname > nicknames_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetPerFriendPreferences_Request : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPlayer_GetPerFriendPreferences_Request) */ { - public: - inline CPlayer_GetPerFriendPreferences_Request() : CPlayer_GetPerFriendPreferences_Request(nullptr) {} - explicit PROTOBUF_CONSTEXPR CPlayer_GetPerFriendPreferences_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetPerFriendPreferences_Request(const CPlayer_GetPerFriendPreferences_Request& from); - CPlayer_GetPerFriendPreferences_Request(CPlayer_GetPerFriendPreferences_Request&& from) noexcept - : CPlayer_GetPerFriendPreferences_Request() { - *this = ::std::move(from); - } - - inline CPlayer_GetPerFriendPreferences_Request& operator=(const CPlayer_GetPerFriendPreferences_Request& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetPerFriendPreferences_Request& operator=(CPlayer_GetPerFriendPreferences_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetPerFriendPreferences_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetPerFriendPreferences_Request* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetPerFriendPreferences_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - friend void swap(CPlayer_GetPerFriendPreferences_Request& a, CPlayer_GetPerFriendPreferences_Request& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetPerFriendPreferences_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetPerFriendPreferences_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetPerFriendPreferences_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CPlayer_GetPerFriendPreferences_Request& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CPlayer_GetPerFriendPreferences_Request& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetPerFriendPreferences_Request"; - } - protected: - explicit CPlayer_GetPerFriendPreferences_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CPlayer_GetPerFriendPreferences_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class PerFriendPreferences : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PerFriendPreferences) */ { - public: - inline PerFriendPreferences() : PerFriendPreferences(nullptr) {} - ~PerFriendPreferences() override; - explicit PROTOBUF_CONSTEXPR PerFriendPreferences(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - PerFriendPreferences(const PerFriendPreferences& from); - PerFriendPreferences(PerFriendPreferences&& from) noexcept - : PerFriendPreferences() { - *this = ::std::move(from); - } - - inline PerFriendPreferences& operator=(const PerFriendPreferences& from) { - CopyFrom(from); - return *this; - } - inline PerFriendPreferences& operator=(PerFriendPreferences&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const PerFriendPreferences& default_instance() { - return *internal_default_instance(); - } - static inline const PerFriendPreferences* internal_default_instance() { - return reinterpret_cast( - &_PerFriendPreferences_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - friend void swap(PerFriendPreferences& a, PerFriendPreferences& b) { - a.Swap(&b); - } - inline void Swap(PerFriendPreferences* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(PerFriendPreferences* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - PerFriendPreferences* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const PerFriendPreferences& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const PerFriendPreferences& from) { - PerFriendPreferences::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(PerFriendPreferences* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "PerFriendPreferences"; - } - protected: - explicit PerFriendPreferences(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNicknameFieldNumber = 2, - kAccountidFieldNumber = 1, - kNotificationsShowingameFieldNumber = 3, - kNotificationsShowonlineFieldNumber = 4, - kNotificationsShowmessagesFieldNumber = 5, - kSoundsShowingameFieldNumber = 6, - kSoundsShowonlineFieldNumber = 7, - kSoundsShowmessagesFieldNumber = 8, - kNotificationsSendmobileFieldNumber = 9, - }; - // optional string nickname = 2; - bool has_nickname() const; - private: - bool _internal_has_nickname() const; - public: - void clear_nickname(); - const std::string& nickname() const; - template - void set_nickname(ArgT0&& arg0, ArgT... args); - std::string* mutable_nickname(); - PROTOBUF_NODISCARD std::string* release_nickname(); - void set_allocated_nickname(std::string* nickname); - private: - const std::string& _internal_nickname() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_nickname(const std::string& value); - std::string* _internal_mutable_nickname(); - public: - - // optional fixed32 accountid = 1; - bool has_accountid() const; - private: - bool _internal_has_accountid() const; - public: - void clear_accountid(); - uint32_t accountid() const; - void set_accountid(uint32_t value); - private: - uint32_t _internal_accountid() const; - void _internal_set_accountid(uint32_t value); - public: - - // optional .ENotificationSetting notifications_showingame = 3 [default = k_ENotificationSettingNotifyUseDefault]; - bool has_notifications_showingame() const; - private: - bool _internal_has_notifications_showingame() const; - public: - void clear_notifications_showingame(); - ::ENotificationSetting notifications_showingame() const; - void set_notifications_showingame(::ENotificationSetting value); - private: - ::ENotificationSetting _internal_notifications_showingame() const; - void _internal_set_notifications_showingame(::ENotificationSetting value); - public: - - // optional .ENotificationSetting notifications_showonline = 4 [default = k_ENotificationSettingNotifyUseDefault]; - bool has_notifications_showonline() const; - private: - bool _internal_has_notifications_showonline() const; - public: - void clear_notifications_showonline(); - ::ENotificationSetting notifications_showonline() const; - void set_notifications_showonline(::ENotificationSetting value); - private: - ::ENotificationSetting _internal_notifications_showonline() const; - void _internal_set_notifications_showonline(::ENotificationSetting value); - public: - - // optional .ENotificationSetting notifications_showmessages = 5 [default = k_ENotificationSettingNotifyUseDefault]; - bool has_notifications_showmessages() const; - private: - bool _internal_has_notifications_showmessages() const; - public: - void clear_notifications_showmessages(); - ::ENotificationSetting notifications_showmessages() const; - void set_notifications_showmessages(::ENotificationSetting value); - private: - ::ENotificationSetting _internal_notifications_showmessages() const; - void _internal_set_notifications_showmessages(::ENotificationSetting value); - public: - - // optional .ENotificationSetting sounds_showingame = 6 [default = k_ENotificationSettingNotifyUseDefault]; - bool has_sounds_showingame() const; - private: - bool _internal_has_sounds_showingame() const; - public: - void clear_sounds_showingame(); - ::ENotificationSetting sounds_showingame() const; - void set_sounds_showingame(::ENotificationSetting value); - private: - ::ENotificationSetting _internal_sounds_showingame() const; - void _internal_set_sounds_showingame(::ENotificationSetting value); - public: - - // optional .ENotificationSetting sounds_showonline = 7 [default = k_ENotificationSettingNotifyUseDefault]; - bool has_sounds_showonline() const; - private: - bool _internal_has_sounds_showonline() const; - public: - void clear_sounds_showonline(); - ::ENotificationSetting sounds_showonline() const; - void set_sounds_showonline(::ENotificationSetting value); - private: - ::ENotificationSetting _internal_sounds_showonline() const; - void _internal_set_sounds_showonline(::ENotificationSetting value); - public: - - // optional .ENotificationSetting sounds_showmessages = 8 [default = k_ENotificationSettingNotifyUseDefault]; - bool has_sounds_showmessages() const; - private: - bool _internal_has_sounds_showmessages() const; - public: - void clear_sounds_showmessages(); - ::ENotificationSetting sounds_showmessages() const; - void set_sounds_showmessages(::ENotificationSetting value); - private: - ::ENotificationSetting _internal_sounds_showmessages() const; - void _internal_set_sounds_showmessages(::ENotificationSetting value); - public: - - // optional .ENotificationSetting notifications_sendmobile = 9 [default = k_ENotificationSettingNotifyUseDefault]; - bool has_notifications_sendmobile() const; - private: - bool _internal_has_notifications_sendmobile() const; - public: - void clear_notifications_sendmobile(); - ::ENotificationSetting notifications_sendmobile() const; - void set_notifications_sendmobile(::ENotificationSetting value); - private: - ::ENotificationSetting _internal_notifications_sendmobile() const; - void _internal_set_notifications_sendmobile(::ENotificationSetting value); - public: - - // @@protoc_insertion_point(class_scope:PerFriendPreferences) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nickname_; - uint32_t accountid_; - int notifications_showingame_; - int notifications_showonline_; - int notifications_showmessages_; - int sounds_showingame_; - int sounds_showonline_; - int sounds_showmessages_; - int notifications_sendmobile_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetPerFriendPreferences_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetPerFriendPreferences_Response) */ { - public: - inline CPlayer_GetPerFriendPreferences_Response() : CPlayer_GetPerFriendPreferences_Response(nullptr) {} - ~CPlayer_GetPerFriendPreferences_Response() override; - explicit PROTOBUF_CONSTEXPR CPlayer_GetPerFriendPreferences_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetPerFriendPreferences_Response(const CPlayer_GetPerFriendPreferences_Response& from); - CPlayer_GetPerFriendPreferences_Response(CPlayer_GetPerFriendPreferences_Response&& from) noexcept - : CPlayer_GetPerFriendPreferences_Response() { - *this = ::std::move(from); - } - - inline CPlayer_GetPerFriendPreferences_Response& operator=(const CPlayer_GetPerFriendPreferences_Response& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetPerFriendPreferences_Response& operator=(CPlayer_GetPerFriendPreferences_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetPerFriendPreferences_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetPerFriendPreferences_Response* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetPerFriendPreferences_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 20; - - friend void swap(CPlayer_GetPerFriendPreferences_Response& a, CPlayer_GetPerFriendPreferences_Response& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetPerFriendPreferences_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetPerFriendPreferences_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetPerFriendPreferences_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_GetPerFriendPreferences_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_GetPerFriendPreferences_Response& from) { - CPlayer_GetPerFriendPreferences_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_GetPerFriendPreferences_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetPerFriendPreferences_Response"; - } - protected: - explicit CPlayer_GetPerFriendPreferences_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPreferencesFieldNumber = 1, - }; - // repeated .PerFriendPreferences preferences = 1; - int preferences_size() const; - private: - int _internal_preferences_size() const; - public: - void clear_preferences(); - ::PerFriendPreferences* mutable_preferences(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PerFriendPreferences >* - mutable_preferences(); - private: - const ::PerFriendPreferences& _internal_preferences(int index) const; - ::PerFriendPreferences* _internal_add_preferences(); - public: - const ::PerFriendPreferences& preferences(int index) const; - ::PerFriendPreferences* add_preferences(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PerFriendPreferences >& - preferences() const; - - // @@protoc_insertion_point(class_scope:CPlayer_GetPerFriendPreferences_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PerFriendPreferences > preferences_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_SetPerFriendPreferences_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_SetPerFriendPreferences_Request) */ { - public: - inline CPlayer_SetPerFriendPreferences_Request() : CPlayer_SetPerFriendPreferences_Request(nullptr) {} - ~CPlayer_SetPerFriendPreferences_Request() override; - explicit PROTOBUF_CONSTEXPR CPlayer_SetPerFriendPreferences_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_SetPerFriendPreferences_Request(const CPlayer_SetPerFriendPreferences_Request& from); - CPlayer_SetPerFriendPreferences_Request(CPlayer_SetPerFriendPreferences_Request&& from) noexcept - : CPlayer_SetPerFriendPreferences_Request() { - *this = ::std::move(from); - } - - inline CPlayer_SetPerFriendPreferences_Request& operator=(const CPlayer_SetPerFriendPreferences_Request& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_SetPerFriendPreferences_Request& operator=(CPlayer_SetPerFriendPreferences_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_SetPerFriendPreferences_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_SetPerFriendPreferences_Request* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_SetPerFriendPreferences_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 21; - - friend void swap(CPlayer_SetPerFriendPreferences_Request& a, CPlayer_SetPerFriendPreferences_Request& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_SetPerFriendPreferences_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_SetPerFriendPreferences_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_SetPerFriendPreferences_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_SetPerFriendPreferences_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_SetPerFriendPreferences_Request& from) { - CPlayer_SetPerFriendPreferences_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_SetPerFriendPreferences_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_SetPerFriendPreferences_Request"; - } - protected: - explicit CPlayer_SetPerFriendPreferences_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPreferencesFieldNumber = 1, - }; - // optional .PerFriendPreferences preferences = 1; - bool has_preferences() const; - private: - bool _internal_has_preferences() const; - public: - void clear_preferences(); - const ::PerFriendPreferences& preferences() const; - PROTOBUF_NODISCARD ::PerFriendPreferences* release_preferences(); - ::PerFriendPreferences* mutable_preferences(); - void set_allocated_preferences(::PerFriendPreferences* preferences); - private: - const ::PerFriendPreferences& _internal_preferences() const; - ::PerFriendPreferences* _internal_mutable_preferences(); - public: - void unsafe_arena_set_allocated_preferences( - ::PerFriendPreferences* preferences); - ::PerFriendPreferences* unsafe_arena_release_preferences(); - - // @@protoc_insertion_point(class_scope:CPlayer_SetPerFriendPreferences_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PerFriendPreferences* preferences_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_SetPerFriendPreferences_Response : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPlayer_SetPerFriendPreferences_Response) */ { - public: - inline CPlayer_SetPerFriendPreferences_Response() : CPlayer_SetPerFriendPreferences_Response(nullptr) {} - explicit PROTOBUF_CONSTEXPR CPlayer_SetPerFriendPreferences_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_SetPerFriendPreferences_Response(const CPlayer_SetPerFriendPreferences_Response& from); - CPlayer_SetPerFriendPreferences_Response(CPlayer_SetPerFriendPreferences_Response&& from) noexcept - : CPlayer_SetPerFriendPreferences_Response() { - *this = ::std::move(from); - } - - inline CPlayer_SetPerFriendPreferences_Response& operator=(const CPlayer_SetPerFriendPreferences_Response& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_SetPerFriendPreferences_Response& operator=(CPlayer_SetPerFriendPreferences_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_SetPerFriendPreferences_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_SetPerFriendPreferences_Response* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_SetPerFriendPreferences_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - friend void swap(CPlayer_SetPerFriendPreferences_Response& a, CPlayer_SetPerFriendPreferences_Response& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_SetPerFriendPreferences_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_SetPerFriendPreferences_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_SetPerFriendPreferences_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CPlayer_SetPerFriendPreferences_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CPlayer_SetPerFriendPreferences_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_SetPerFriendPreferences_Response"; - } - protected: - explicit CPlayer_SetPerFriendPreferences_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CPlayer_SetPerFriendPreferences_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_AddFriend_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_AddFriend_Request) */ { - public: - inline CPlayer_AddFriend_Request() : CPlayer_AddFriend_Request(nullptr) {} - ~CPlayer_AddFriend_Request() override; - explicit PROTOBUF_CONSTEXPR CPlayer_AddFriend_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_AddFriend_Request(const CPlayer_AddFriend_Request& from); - CPlayer_AddFriend_Request(CPlayer_AddFriend_Request&& from) noexcept - : CPlayer_AddFriend_Request() { - *this = ::std::move(from); - } - - inline CPlayer_AddFriend_Request& operator=(const CPlayer_AddFriend_Request& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_AddFriend_Request& operator=(CPlayer_AddFriend_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_AddFriend_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_AddFriend_Request* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_AddFriend_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 23; - - friend void swap(CPlayer_AddFriend_Request& a, CPlayer_AddFriend_Request& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_AddFriend_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_AddFriend_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_AddFriend_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_AddFriend_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_AddFriend_Request& from) { - CPlayer_AddFriend_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_AddFriend_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_AddFriend_Request"; - } - protected: - explicit CPlayer_AddFriend_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSteamidFieldNumber = 1, - }; - // optional fixed64 steamid = 1 [(.description) = "Steam ID of user to whom to send a friend invite."]; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_AddFriend_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t steamid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_AddFriend_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_AddFriend_Response) */ { - public: - inline CPlayer_AddFriend_Response() : CPlayer_AddFriend_Response(nullptr) {} - ~CPlayer_AddFriend_Response() override; - explicit PROTOBUF_CONSTEXPR CPlayer_AddFriend_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_AddFriend_Response(const CPlayer_AddFriend_Response& from); - CPlayer_AddFriend_Response(CPlayer_AddFriend_Response&& from) noexcept - : CPlayer_AddFriend_Response() { - *this = ::std::move(from); - } - - inline CPlayer_AddFriend_Response& operator=(const CPlayer_AddFriend_Response& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_AddFriend_Response& operator=(CPlayer_AddFriend_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_AddFriend_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_AddFriend_Response* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_AddFriend_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 24; - - friend void swap(CPlayer_AddFriend_Response& a, CPlayer_AddFriend_Response& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_AddFriend_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_AddFriend_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_AddFriend_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_AddFriend_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_AddFriend_Response& from) { - CPlayer_AddFriend_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_AddFriend_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_AddFriend_Response"; - } - protected: - explicit CPlayer_AddFriend_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kInviteSentFieldNumber = 1, - kFriendRelationshipFieldNumber = 2, - }; - // optional bool invite_sent = 1 [(.description) = "True if the operation was successful, false otherwise."]; - bool has_invite_sent() const; - private: - bool _internal_has_invite_sent() const; - public: - void clear_invite_sent(); - bool invite_sent() const; - void set_invite_sent(bool value); - private: - bool _internal_invite_sent() const; - void _internal_set_invite_sent(bool value); - public: - - // optional uint32 friend_relationship = 2 [(.description) = "the resulting relationship. Depending on state, may move directly to friends rather than invite sent"]; - bool has_friend_relationship() const; - private: - bool _internal_has_friend_relationship() const; - public: - void clear_friend_relationship(); - uint32_t friend_relationship() const; - void set_friend_relationship(uint32_t value); - private: - uint32_t _internal_friend_relationship() const; - void _internal_set_friend_relationship(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_AddFriend_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool invite_sent_; - uint32_t friend_relationship_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_RemoveFriend_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_RemoveFriend_Request) */ { - public: - inline CPlayer_RemoveFriend_Request() : CPlayer_RemoveFriend_Request(nullptr) {} - ~CPlayer_RemoveFriend_Request() override; - explicit PROTOBUF_CONSTEXPR CPlayer_RemoveFriend_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_RemoveFriend_Request(const CPlayer_RemoveFriend_Request& from); - CPlayer_RemoveFriend_Request(CPlayer_RemoveFriend_Request&& from) noexcept - : CPlayer_RemoveFriend_Request() { - *this = ::std::move(from); - } - - inline CPlayer_RemoveFriend_Request& operator=(const CPlayer_RemoveFriend_Request& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_RemoveFriend_Request& operator=(CPlayer_RemoveFriend_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_RemoveFriend_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_RemoveFriend_Request* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_RemoveFriend_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 25; - - friend void swap(CPlayer_RemoveFriend_Request& a, CPlayer_RemoveFriend_Request& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_RemoveFriend_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_RemoveFriend_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_RemoveFriend_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_RemoveFriend_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_RemoveFriend_Request& from) { - CPlayer_RemoveFriend_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_RemoveFriend_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_RemoveFriend_Request"; - } - protected: - explicit CPlayer_RemoveFriend_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSteamidFieldNumber = 1, - }; - // optional fixed64 steamid = 1 [(.description) = "Steam ID of friend to remove."]; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_RemoveFriend_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t steamid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_RemoveFriend_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_RemoveFriend_Response) */ { - public: - inline CPlayer_RemoveFriend_Response() : CPlayer_RemoveFriend_Response(nullptr) {} - ~CPlayer_RemoveFriend_Response() override; - explicit PROTOBUF_CONSTEXPR CPlayer_RemoveFriend_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_RemoveFriend_Response(const CPlayer_RemoveFriend_Response& from); - CPlayer_RemoveFriend_Response(CPlayer_RemoveFriend_Response&& from) noexcept - : CPlayer_RemoveFriend_Response() { - *this = ::std::move(from); - } - - inline CPlayer_RemoveFriend_Response& operator=(const CPlayer_RemoveFriend_Response& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_RemoveFriend_Response& operator=(CPlayer_RemoveFriend_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_RemoveFriend_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_RemoveFriend_Response* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_RemoveFriend_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 26; - - friend void swap(CPlayer_RemoveFriend_Response& a, CPlayer_RemoveFriend_Response& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_RemoveFriend_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_RemoveFriend_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_RemoveFriend_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_RemoveFriend_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_RemoveFriend_Response& from) { - CPlayer_RemoveFriend_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_RemoveFriend_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_RemoveFriend_Response"; - } - protected: - explicit CPlayer_RemoveFriend_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFriendRelationshipFieldNumber = 1, - }; - // optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; - bool has_friend_relationship() const; - private: - bool _internal_has_friend_relationship() const; - public: - void clear_friend_relationship(); - uint32_t friend_relationship() const; - void set_friend_relationship(uint32_t value); - private: - uint32_t _internal_friend_relationship() const; - void _internal_set_friend_relationship(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_RemoveFriend_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t friend_relationship_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_IgnoreFriend_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_IgnoreFriend_Request) */ { - public: - inline CPlayer_IgnoreFriend_Request() : CPlayer_IgnoreFriend_Request(nullptr) {} - ~CPlayer_IgnoreFriend_Request() override; - explicit PROTOBUF_CONSTEXPR CPlayer_IgnoreFriend_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_IgnoreFriend_Request(const CPlayer_IgnoreFriend_Request& from); - CPlayer_IgnoreFriend_Request(CPlayer_IgnoreFriend_Request&& from) noexcept - : CPlayer_IgnoreFriend_Request() { - *this = ::std::move(from); - } - - inline CPlayer_IgnoreFriend_Request& operator=(const CPlayer_IgnoreFriend_Request& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_IgnoreFriend_Request& operator=(CPlayer_IgnoreFriend_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_IgnoreFriend_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_IgnoreFriend_Request* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_IgnoreFriend_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 27; - - friend void swap(CPlayer_IgnoreFriend_Request& a, CPlayer_IgnoreFriend_Request& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_IgnoreFriend_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_IgnoreFriend_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_IgnoreFriend_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_IgnoreFriend_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_IgnoreFriend_Request& from) { - CPlayer_IgnoreFriend_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_IgnoreFriend_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_IgnoreFriend_Request"; - } - protected: - explicit CPlayer_IgnoreFriend_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSteamidFieldNumber = 1, - kUnignoreFieldNumber = 2, - }; - // optional fixed64 steamid = 1; - bool has_steamid() const; - private: - bool _internal_has_steamid() const; - public: - void clear_steamid(); - uint64_t steamid() const; - void set_steamid(uint64_t value); - private: - uint64_t _internal_steamid() const; - void _internal_set_steamid(uint64_t value); - public: - - // optional bool unignore = 2 [(.description) = "If set, remove from ignore/block list instead of adding "]; - bool has_unignore() const; - private: - bool _internal_has_unignore() const; - public: - void clear_unignore(); - bool unignore() const; - void set_unignore(bool value); - private: - bool _internal_unignore() const; - void _internal_set_unignore(bool value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_IgnoreFriend_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t steamid_; - bool unignore_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_IgnoreFriend_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_IgnoreFriend_Response) */ { - public: - inline CPlayer_IgnoreFriend_Response() : CPlayer_IgnoreFriend_Response(nullptr) {} - ~CPlayer_IgnoreFriend_Response() override; - explicit PROTOBUF_CONSTEXPR CPlayer_IgnoreFriend_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_IgnoreFriend_Response(const CPlayer_IgnoreFriend_Response& from); - CPlayer_IgnoreFriend_Response(CPlayer_IgnoreFriend_Response&& from) noexcept - : CPlayer_IgnoreFriend_Response() { - *this = ::std::move(from); - } - - inline CPlayer_IgnoreFriend_Response& operator=(const CPlayer_IgnoreFriend_Response& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_IgnoreFriend_Response& operator=(CPlayer_IgnoreFriend_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_IgnoreFriend_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_IgnoreFriend_Response* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_IgnoreFriend_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 28; - - friend void swap(CPlayer_IgnoreFriend_Response& a, CPlayer_IgnoreFriend_Response& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_IgnoreFriend_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_IgnoreFriend_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_IgnoreFriend_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_IgnoreFriend_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_IgnoreFriend_Response& from) { - CPlayer_IgnoreFriend_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_IgnoreFriend_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_IgnoreFriend_Response"; - } - protected: - explicit CPlayer_IgnoreFriend_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFriendRelationshipFieldNumber = 1, - }; - // optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; - bool has_friend_relationship() const; - private: - bool _internal_has_friend_relationship() const; - public: - void clear_friend_relationship(); - uint32_t friend_relationship() const; - void set_friend_relationship(uint32_t value); - private: - uint32_t _internal_friend_relationship() const; - void _internal_set_friend_relationship(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_IgnoreFriend_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t friend_relationship_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetCommunityPreferences_Request : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPlayer_GetCommunityPreferences_Request) */ { - public: - inline CPlayer_GetCommunityPreferences_Request() : CPlayer_GetCommunityPreferences_Request(nullptr) {} - explicit PROTOBUF_CONSTEXPR CPlayer_GetCommunityPreferences_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetCommunityPreferences_Request(const CPlayer_GetCommunityPreferences_Request& from); - CPlayer_GetCommunityPreferences_Request(CPlayer_GetCommunityPreferences_Request&& from) noexcept - : CPlayer_GetCommunityPreferences_Request() { - *this = ::std::move(from); - } - - inline CPlayer_GetCommunityPreferences_Request& operator=(const CPlayer_GetCommunityPreferences_Request& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetCommunityPreferences_Request& operator=(CPlayer_GetCommunityPreferences_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetCommunityPreferences_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetCommunityPreferences_Request* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetCommunityPreferences_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 29; - - friend void swap(CPlayer_GetCommunityPreferences_Request& a, CPlayer_GetCommunityPreferences_Request& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetCommunityPreferences_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetCommunityPreferences_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetCommunityPreferences_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CPlayer_GetCommunityPreferences_Request& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CPlayer_GetCommunityPreferences_Request& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetCommunityPreferences_Request"; - } - protected: - explicit CPlayer_GetCommunityPreferences_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CPlayer_GetCommunityPreferences_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_CommunityPreferences : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_CommunityPreferences) */ { - public: - inline CPlayer_CommunityPreferences() : CPlayer_CommunityPreferences(nullptr) {} - ~CPlayer_CommunityPreferences() override; - explicit PROTOBUF_CONSTEXPR CPlayer_CommunityPreferences(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_CommunityPreferences(const CPlayer_CommunityPreferences& from); - CPlayer_CommunityPreferences(CPlayer_CommunityPreferences&& from) noexcept - : CPlayer_CommunityPreferences() { - *this = ::std::move(from); - } - - inline CPlayer_CommunityPreferences& operator=(const CPlayer_CommunityPreferences& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_CommunityPreferences& operator=(CPlayer_CommunityPreferences&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_CommunityPreferences& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_CommunityPreferences* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_CommunityPreferences_default_instance_); - } - static constexpr int kIndexInFileMessages = - 30; - - friend void swap(CPlayer_CommunityPreferences& a, CPlayer_CommunityPreferences& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_CommunityPreferences* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_CommunityPreferences* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_CommunityPreferences* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_CommunityPreferences& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_CommunityPreferences& from) { - CPlayer_CommunityPreferences::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_CommunityPreferences* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_CommunityPreferences"; - } - protected: - explicit CPlayer_CommunityPreferences(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTimestampUpdatedFieldNumber = 3, - kParenthesizeNicknamesFieldNumber = 4, - kHideAdultContentViolenceFieldNumber = 1, - kHideAdultContentSexFieldNumber = 2, - }; - // optional uint32 timestamp_updated = 3; - bool has_timestamp_updated() const; - private: - bool _internal_has_timestamp_updated() const; - public: - void clear_timestamp_updated(); - uint32_t timestamp_updated() const; - void set_timestamp_updated(uint32_t value); - private: - uint32_t _internal_timestamp_updated() const; - void _internal_set_timestamp_updated(uint32_t value); - public: - - // optional bool parenthesize_nicknames = 4 [default = false]; - bool has_parenthesize_nicknames() const; - private: - bool _internal_has_parenthesize_nicknames() const; - public: - void clear_parenthesize_nicknames(); - bool parenthesize_nicknames() const; - void set_parenthesize_nicknames(bool value); - private: - bool _internal_parenthesize_nicknames() const; - void _internal_set_parenthesize_nicknames(bool value); - public: - - // optional bool hide_adult_content_violence = 1 [default = true]; - bool has_hide_adult_content_violence() const; - private: - bool _internal_has_hide_adult_content_violence() const; - public: - void clear_hide_adult_content_violence(); - bool hide_adult_content_violence() const; - void set_hide_adult_content_violence(bool value); - private: - bool _internal_hide_adult_content_violence() const; - void _internal_set_hide_adult_content_violence(bool value); - public: - - // optional bool hide_adult_content_sex = 2 [default = true]; - bool has_hide_adult_content_sex() const; - private: - bool _internal_has_hide_adult_content_sex() const; - public: - void clear_hide_adult_content_sex(); - bool hide_adult_content_sex() const; - void set_hide_adult_content_sex(bool value); - private: - bool _internal_hide_adult_content_sex() const; - void _internal_set_hide_adult_content_sex(bool value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_CommunityPreferences) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t timestamp_updated_; - bool parenthesize_nicknames_; - bool hide_adult_content_violence_; - bool hide_adult_content_sex_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetCommunityPreferences_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetCommunityPreferences_Response) */ { - public: - inline CPlayer_GetCommunityPreferences_Response() : CPlayer_GetCommunityPreferences_Response(nullptr) {} - ~CPlayer_GetCommunityPreferences_Response() override; - explicit PROTOBUF_CONSTEXPR CPlayer_GetCommunityPreferences_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetCommunityPreferences_Response(const CPlayer_GetCommunityPreferences_Response& from); - CPlayer_GetCommunityPreferences_Response(CPlayer_GetCommunityPreferences_Response&& from) noexcept - : CPlayer_GetCommunityPreferences_Response() { - *this = ::std::move(from); - } - - inline CPlayer_GetCommunityPreferences_Response& operator=(const CPlayer_GetCommunityPreferences_Response& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetCommunityPreferences_Response& operator=(CPlayer_GetCommunityPreferences_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetCommunityPreferences_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetCommunityPreferences_Response* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetCommunityPreferences_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 31; - - friend void swap(CPlayer_GetCommunityPreferences_Response& a, CPlayer_GetCommunityPreferences_Response& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetCommunityPreferences_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetCommunityPreferences_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetCommunityPreferences_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_GetCommunityPreferences_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_GetCommunityPreferences_Response& from) { - CPlayer_GetCommunityPreferences_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_GetCommunityPreferences_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetCommunityPreferences_Response"; - } - protected: - explicit CPlayer_GetCommunityPreferences_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPreferencesFieldNumber = 1, - }; - // optional .CPlayer_CommunityPreferences preferences = 1; - bool has_preferences() const; - private: - bool _internal_has_preferences() const; - public: - void clear_preferences(); - const ::CPlayer_CommunityPreferences& preferences() const; - PROTOBUF_NODISCARD ::CPlayer_CommunityPreferences* release_preferences(); - ::CPlayer_CommunityPreferences* mutable_preferences(); - void set_allocated_preferences(::CPlayer_CommunityPreferences* preferences); - private: - const ::CPlayer_CommunityPreferences& _internal_preferences() const; - ::CPlayer_CommunityPreferences* _internal_mutable_preferences(); - public: - void unsafe_arena_set_allocated_preferences( - ::CPlayer_CommunityPreferences* preferences); - ::CPlayer_CommunityPreferences* unsafe_arena_release_preferences(); - - // @@protoc_insertion_point(class_scope:CPlayer_GetCommunityPreferences_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CPlayer_CommunityPreferences* preferences_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_SetCommunityPreferences_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_SetCommunityPreferences_Request) */ { - public: - inline CPlayer_SetCommunityPreferences_Request() : CPlayer_SetCommunityPreferences_Request(nullptr) {} - ~CPlayer_SetCommunityPreferences_Request() override; - explicit PROTOBUF_CONSTEXPR CPlayer_SetCommunityPreferences_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_SetCommunityPreferences_Request(const CPlayer_SetCommunityPreferences_Request& from); - CPlayer_SetCommunityPreferences_Request(CPlayer_SetCommunityPreferences_Request&& from) noexcept - : CPlayer_SetCommunityPreferences_Request() { - *this = ::std::move(from); - } - - inline CPlayer_SetCommunityPreferences_Request& operator=(const CPlayer_SetCommunityPreferences_Request& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_SetCommunityPreferences_Request& operator=(CPlayer_SetCommunityPreferences_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_SetCommunityPreferences_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_SetCommunityPreferences_Request* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_SetCommunityPreferences_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 32; - - friend void swap(CPlayer_SetCommunityPreferences_Request& a, CPlayer_SetCommunityPreferences_Request& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_SetCommunityPreferences_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_SetCommunityPreferences_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_SetCommunityPreferences_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_SetCommunityPreferences_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_SetCommunityPreferences_Request& from) { - CPlayer_SetCommunityPreferences_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_SetCommunityPreferences_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_SetCommunityPreferences_Request"; - } - protected: - explicit CPlayer_SetCommunityPreferences_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPreferencesFieldNumber = 1, - }; - // optional .CPlayer_CommunityPreferences preferences = 1; - bool has_preferences() const; - private: - bool _internal_has_preferences() const; - public: - void clear_preferences(); - const ::CPlayer_CommunityPreferences& preferences() const; - PROTOBUF_NODISCARD ::CPlayer_CommunityPreferences* release_preferences(); - ::CPlayer_CommunityPreferences* mutable_preferences(); - void set_allocated_preferences(::CPlayer_CommunityPreferences* preferences); - private: - const ::CPlayer_CommunityPreferences& _internal_preferences() const; - ::CPlayer_CommunityPreferences* _internal_mutable_preferences(); - public: - void unsafe_arena_set_allocated_preferences( - ::CPlayer_CommunityPreferences* preferences); - ::CPlayer_CommunityPreferences* unsafe_arena_release_preferences(); - - // @@protoc_insertion_point(class_scope:CPlayer_SetCommunityPreferences_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CPlayer_CommunityPreferences* preferences_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_SetCommunityPreferences_Response : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPlayer_SetCommunityPreferences_Response) */ { - public: - inline CPlayer_SetCommunityPreferences_Response() : CPlayer_SetCommunityPreferences_Response(nullptr) {} - explicit PROTOBUF_CONSTEXPR CPlayer_SetCommunityPreferences_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_SetCommunityPreferences_Response(const CPlayer_SetCommunityPreferences_Response& from); - CPlayer_SetCommunityPreferences_Response(CPlayer_SetCommunityPreferences_Response&& from) noexcept - : CPlayer_SetCommunityPreferences_Response() { - *this = ::std::move(from); - } - - inline CPlayer_SetCommunityPreferences_Response& operator=(const CPlayer_SetCommunityPreferences_Response& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_SetCommunityPreferences_Response& operator=(CPlayer_SetCommunityPreferences_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_SetCommunityPreferences_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_SetCommunityPreferences_Response* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_SetCommunityPreferences_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 33; - - friend void swap(CPlayer_SetCommunityPreferences_Response& a, CPlayer_SetCommunityPreferences_Response& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_SetCommunityPreferences_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_SetCommunityPreferences_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_SetCommunityPreferences_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CPlayer_SetCommunityPreferences_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CPlayer_SetCommunityPreferences_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_SetCommunityPreferences_Response"; - } - protected: - explicit CPlayer_SetCommunityPreferences_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CPlayer_SetCommunityPreferences_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetNewSteamAnnouncementState_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetNewSteamAnnouncementState_Request) */ { - public: - inline CPlayer_GetNewSteamAnnouncementState_Request() : CPlayer_GetNewSteamAnnouncementState_Request(nullptr) {} - ~CPlayer_GetNewSteamAnnouncementState_Request() override; - explicit PROTOBUF_CONSTEXPR CPlayer_GetNewSteamAnnouncementState_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetNewSteamAnnouncementState_Request(const CPlayer_GetNewSteamAnnouncementState_Request& from); - CPlayer_GetNewSteamAnnouncementState_Request(CPlayer_GetNewSteamAnnouncementState_Request&& from) noexcept - : CPlayer_GetNewSteamAnnouncementState_Request() { - *this = ::std::move(from); - } - - inline CPlayer_GetNewSteamAnnouncementState_Request& operator=(const CPlayer_GetNewSteamAnnouncementState_Request& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetNewSteamAnnouncementState_Request& operator=(CPlayer_GetNewSteamAnnouncementState_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetNewSteamAnnouncementState_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetNewSteamAnnouncementState_Request* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetNewSteamAnnouncementState_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 34; - - friend void swap(CPlayer_GetNewSteamAnnouncementState_Request& a, CPlayer_GetNewSteamAnnouncementState_Request& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetNewSteamAnnouncementState_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetNewSteamAnnouncementState_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetNewSteamAnnouncementState_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_GetNewSteamAnnouncementState_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_GetNewSteamAnnouncementState_Request& from) { - CPlayer_GetNewSteamAnnouncementState_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_GetNewSteamAnnouncementState_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetNewSteamAnnouncementState_Request"; - } - protected: - explicit CPlayer_GetNewSteamAnnouncementState_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLanguageFieldNumber = 1, - }; - // optional int32 language = 1; - bool has_language() const; - private: - bool _internal_has_language() const; - public: - void clear_language(); - int32_t language() const; - void set_language(int32_t value); - private: - int32_t _internal_language() const; - void _internal_set_language(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_GetNewSteamAnnouncementState_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t language_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_GetNewSteamAnnouncementState_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_GetNewSteamAnnouncementState_Response) */ { - public: - inline CPlayer_GetNewSteamAnnouncementState_Response() : CPlayer_GetNewSteamAnnouncementState_Response(nullptr) {} - ~CPlayer_GetNewSteamAnnouncementState_Response() override; - explicit PROTOBUF_CONSTEXPR CPlayer_GetNewSteamAnnouncementState_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_GetNewSteamAnnouncementState_Response(const CPlayer_GetNewSteamAnnouncementState_Response& from); - CPlayer_GetNewSteamAnnouncementState_Response(CPlayer_GetNewSteamAnnouncementState_Response&& from) noexcept - : CPlayer_GetNewSteamAnnouncementState_Response() { - *this = ::std::move(from); - } - - inline CPlayer_GetNewSteamAnnouncementState_Response& operator=(const CPlayer_GetNewSteamAnnouncementState_Response& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_GetNewSteamAnnouncementState_Response& operator=(CPlayer_GetNewSteamAnnouncementState_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_GetNewSteamAnnouncementState_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_GetNewSteamAnnouncementState_Response* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_GetNewSteamAnnouncementState_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 35; - - friend void swap(CPlayer_GetNewSteamAnnouncementState_Response& a, CPlayer_GetNewSteamAnnouncementState_Response& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_GetNewSteamAnnouncementState_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_GetNewSteamAnnouncementState_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_GetNewSteamAnnouncementState_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_GetNewSteamAnnouncementState_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_GetNewSteamAnnouncementState_Response& from) { - CPlayer_GetNewSteamAnnouncementState_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_GetNewSteamAnnouncementState_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_GetNewSteamAnnouncementState_Response"; - } - protected: - explicit CPlayer_GetNewSteamAnnouncementState_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAnnouncementHeadlineFieldNumber = 2, - kAnnouncementUrlFieldNumber = 3, - kStateFieldNumber = 1, - kTimePostedFieldNumber = 4, - kAnnouncementGidFieldNumber = 5, - }; - // optional string announcement_headline = 2; - bool has_announcement_headline() const; - private: - bool _internal_has_announcement_headline() const; - public: - void clear_announcement_headline(); - const std::string& announcement_headline() const; - template - void set_announcement_headline(ArgT0&& arg0, ArgT... args); - std::string* mutable_announcement_headline(); - PROTOBUF_NODISCARD std::string* release_announcement_headline(); - void set_allocated_announcement_headline(std::string* announcement_headline); - private: - const std::string& _internal_announcement_headline() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_announcement_headline(const std::string& value); - std::string* _internal_mutable_announcement_headline(); - public: - - // optional string announcement_url = 3; - bool has_announcement_url() const; - private: - bool _internal_has_announcement_url() const; - public: - void clear_announcement_url(); - const std::string& announcement_url() const; - template - void set_announcement_url(ArgT0&& arg0, ArgT... args); - std::string* mutable_announcement_url(); - PROTOBUF_NODISCARD std::string* release_announcement_url(); - void set_allocated_announcement_url(std::string* announcement_url); - private: - const std::string& _internal_announcement_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_announcement_url(const std::string& value); - std::string* _internal_mutable_announcement_url(); - public: - - // optional int32 state = 1; - bool has_state() const; - private: - bool _internal_has_state() const; - public: - void clear_state(); - int32_t state() const; - void set_state(int32_t value); - private: - int32_t _internal_state() const; - void _internal_set_state(int32_t value); - public: - - // optional uint32 time_posted = 4; - bool has_time_posted() const; - private: - bool _internal_has_time_posted() const; - public: - void clear_time_posted(); - uint32_t time_posted() const; - void set_time_posted(uint32_t value); - private: - uint32_t _internal_time_posted() const; - void _internal_set_time_posted(uint32_t value); - public: - - // optional uint64 announcement_gid = 5; - bool has_announcement_gid() const; - private: - bool _internal_has_announcement_gid() const; - public: - void clear_announcement_gid(); - uint64_t announcement_gid() const; - void set_announcement_gid(uint64_t value); - private: - uint64_t _internal_announcement_gid() const; - void _internal_set_announcement_gid(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_GetNewSteamAnnouncementState_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr announcement_headline_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr announcement_url_; - int32_t state_; - uint32_t time_posted_; - uint64_t announcement_gid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_UpdateSteamAnnouncementLastRead_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPlayer_UpdateSteamAnnouncementLastRead_Request) */ { - public: - inline CPlayer_UpdateSteamAnnouncementLastRead_Request() : CPlayer_UpdateSteamAnnouncementLastRead_Request(nullptr) {} - ~CPlayer_UpdateSteamAnnouncementLastRead_Request() override; - explicit PROTOBUF_CONSTEXPR CPlayer_UpdateSteamAnnouncementLastRead_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_UpdateSteamAnnouncementLastRead_Request(const CPlayer_UpdateSteamAnnouncementLastRead_Request& from); - CPlayer_UpdateSteamAnnouncementLastRead_Request(CPlayer_UpdateSteamAnnouncementLastRead_Request&& from) noexcept - : CPlayer_UpdateSteamAnnouncementLastRead_Request() { - *this = ::std::move(from); - } - - inline CPlayer_UpdateSteamAnnouncementLastRead_Request& operator=(const CPlayer_UpdateSteamAnnouncementLastRead_Request& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_UpdateSteamAnnouncementLastRead_Request& operator=(CPlayer_UpdateSteamAnnouncementLastRead_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_UpdateSteamAnnouncementLastRead_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_UpdateSteamAnnouncementLastRead_Request* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_UpdateSteamAnnouncementLastRead_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 36; - - friend void swap(CPlayer_UpdateSteamAnnouncementLastRead_Request& a, CPlayer_UpdateSteamAnnouncementLastRead_Request& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_UpdateSteamAnnouncementLastRead_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_UpdateSteamAnnouncementLastRead_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_UpdateSteamAnnouncementLastRead_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPlayer_UpdateSteamAnnouncementLastRead_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPlayer_UpdateSteamAnnouncementLastRead_Request& from) { - CPlayer_UpdateSteamAnnouncementLastRead_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPlayer_UpdateSteamAnnouncementLastRead_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_UpdateSteamAnnouncementLastRead_Request"; - } - protected: - explicit CPlayer_UpdateSteamAnnouncementLastRead_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAnnouncementGidFieldNumber = 1, - kTimePostedFieldNumber = 2, - }; - // optional uint64 announcement_gid = 1; - bool has_announcement_gid() const; - private: - bool _internal_has_announcement_gid() const; - public: - void clear_announcement_gid(); - uint64_t announcement_gid() const; - void set_announcement_gid(uint64_t value); - private: - uint64_t _internal_announcement_gid() const; - void _internal_set_announcement_gid(uint64_t value); - public: - - // optional uint32 time_posted = 2; - bool has_time_posted() const; - private: - bool _internal_has_time_posted() const; - public: - void clear_time_posted(); - uint32_t time_posted() const; - void set_time_posted(uint32_t value); - private: - uint32_t _internal_time_posted() const; - void _internal_set_time_posted(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPlayer_UpdateSteamAnnouncementLastRead_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t announcement_gid_; - uint32_t time_posted_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPlayer_UpdateSteamAnnouncementLastRead_Response : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPlayer_UpdateSteamAnnouncementLastRead_Response) */ { - public: - inline CPlayer_UpdateSteamAnnouncementLastRead_Response() : CPlayer_UpdateSteamAnnouncementLastRead_Response(nullptr) {} - explicit PROTOBUF_CONSTEXPR CPlayer_UpdateSteamAnnouncementLastRead_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPlayer_UpdateSteamAnnouncementLastRead_Response(const CPlayer_UpdateSteamAnnouncementLastRead_Response& from); - CPlayer_UpdateSteamAnnouncementLastRead_Response(CPlayer_UpdateSteamAnnouncementLastRead_Response&& from) noexcept - : CPlayer_UpdateSteamAnnouncementLastRead_Response() { - *this = ::std::move(from); - } - - inline CPlayer_UpdateSteamAnnouncementLastRead_Response& operator=(const CPlayer_UpdateSteamAnnouncementLastRead_Response& from) { - CopyFrom(from); - return *this; - } - inline CPlayer_UpdateSteamAnnouncementLastRead_Response& operator=(CPlayer_UpdateSteamAnnouncementLastRead_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPlayer_UpdateSteamAnnouncementLastRead_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPlayer_UpdateSteamAnnouncementLastRead_Response* internal_default_instance() { - return reinterpret_cast( - &_CPlayer_UpdateSteamAnnouncementLastRead_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 37; - - friend void swap(CPlayer_UpdateSteamAnnouncementLastRead_Response& a, CPlayer_UpdateSteamAnnouncementLastRead_Response& b) { - a.Swap(&b); - } - inline void Swap(CPlayer_UpdateSteamAnnouncementLastRead_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPlayer_UpdateSteamAnnouncementLastRead_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPlayer_UpdateSteamAnnouncementLastRead_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CPlayer_UpdateSteamAnnouncementLastRead_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CPlayer_UpdateSteamAnnouncementLastRead_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPlayer_UpdateSteamAnnouncementLastRead_Response"; - } - protected: - explicit CPlayer_UpdateSteamAnnouncementLastRead_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CPlayer_UpdateSteamAnnouncementLastRead_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_steammessages_5fplayer_2esteamworkssdk_2eproto; -}; -// =================================================================== - -class Player_Stub; - -class Player : public ::PROTOBUF_NAMESPACE_ID::Service { - protected: - // This class should be treated as an abstract interface. - inline Player() {}; - public: - virtual ~Player(); - - typedef Player_Stub Stub; - - static const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* descriptor(); - - virtual void GetMutualFriendsForIncomingInvites(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetMutualFriendsForIncomingInvites_Request* request, - ::CPlayer_GetMutualFriendsForIncomingInvites_Response* response, - ::google::protobuf::Closure* done); - virtual void GetFriendsGameplayInfo(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetFriendsGameplayInfo_Request* request, - ::CPlayer_GetFriendsGameplayInfo_Response* response, - ::google::protobuf::Closure* done); - virtual void GetGameBadgeLevels(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetGameBadgeLevels_Request* request, - ::CPlayer_GetGameBadgeLevels_Response* response, - ::google::protobuf::Closure* done); - virtual void ClientGetLastPlayedTimes(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetLastPlayedTimes_Request* request, - ::CPlayer_GetLastPlayedTimes_Response* response, - ::google::protobuf::Closure* done); - virtual void AcceptSSA(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_AcceptSSA_Request* request, - ::CPlayer_AcceptSSA_Response* response, - ::google::protobuf::Closure* done); - virtual void GetNicknameList(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetNicknameList_Request* request, - ::CPlayer_GetNicknameList_Response* response, - ::google::protobuf::Closure* done); - virtual void GetPerFriendPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetPerFriendPreferences_Request* request, - ::CPlayer_GetPerFriendPreferences_Response* response, - ::google::protobuf::Closure* done); - virtual void SetPerFriendPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_SetPerFriendPreferences_Request* request, - ::CPlayer_SetPerFriendPreferences_Response* response, - ::google::protobuf::Closure* done); - virtual void AddFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_AddFriend_Request* request, - ::CPlayer_AddFriend_Response* response, - ::google::protobuf::Closure* done); - virtual void RemoveFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_RemoveFriend_Request* request, - ::CPlayer_RemoveFriend_Response* response, - ::google::protobuf::Closure* done); - virtual void IgnoreFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_IgnoreFriend_Request* request, - ::CPlayer_IgnoreFriend_Response* response, - ::google::protobuf::Closure* done); - virtual void GetCommunityPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetCommunityPreferences_Request* request, - ::CPlayer_GetCommunityPreferences_Response* response, - ::google::protobuf::Closure* done); - virtual void SetCommunityPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_SetCommunityPreferences_Request* request, - ::CPlayer_SetCommunityPreferences_Response* response, - ::google::protobuf::Closure* done); - virtual void GetNewSteamAnnouncementState(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetNewSteamAnnouncementState_Request* request, - ::CPlayer_GetNewSteamAnnouncementState_Response* response, - ::google::protobuf::Closure* done); - virtual void UpdateSteamAnnouncementLastRead(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_UpdateSteamAnnouncementLastRead_Request* request, - ::CPlayer_UpdateSteamAnnouncementLastRead_Response* response, - ::google::protobuf::Closure* done); - - // implements Service ---------------------------------------------- - - const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* GetDescriptor(); - void CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, - ::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::PROTOBUF_NAMESPACE_ID::Message* request, - ::PROTOBUF_NAMESPACE_ID::Message* response, - ::google::protobuf::Closure* done); - const ::PROTOBUF_NAMESPACE_ID::Message& GetRequestPrototype( - const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const; - const ::PROTOBUF_NAMESPACE_ID::Message& GetResponsePrototype( - const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const; - - private: - GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Player); -}; - -class Player_Stub : public Player { - public: - Player_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel); - Player_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, - ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership); - ~Player_Stub(); - - inline ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel() { return channel_; } - - // implements Player ------------------------------------------ - - void GetMutualFriendsForIncomingInvites(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetMutualFriendsForIncomingInvites_Request* request, - ::CPlayer_GetMutualFriendsForIncomingInvites_Response* response, - ::google::protobuf::Closure* done); - void GetFriendsGameplayInfo(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetFriendsGameplayInfo_Request* request, - ::CPlayer_GetFriendsGameplayInfo_Response* response, - ::google::protobuf::Closure* done); - void GetGameBadgeLevels(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetGameBadgeLevels_Request* request, - ::CPlayer_GetGameBadgeLevels_Response* response, - ::google::protobuf::Closure* done); - void ClientGetLastPlayedTimes(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetLastPlayedTimes_Request* request, - ::CPlayer_GetLastPlayedTimes_Response* response, - ::google::protobuf::Closure* done); - void AcceptSSA(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_AcceptSSA_Request* request, - ::CPlayer_AcceptSSA_Response* response, - ::google::protobuf::Closure* done); - void GetNicknameList(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetNicknameList_Request* request, - ::CPlayer_GetNicknameList_Response* response, - ::google::protobuf::Closure* done); - void GetPerFriendPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetPerFriendPreferences_Request* request, - ::CPlayer_GetPerFriendPreferences_Response* response, - ::google::protobuf::Closure* done); - void SetPerFriendPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_SetPerFriendPreferences_Request* request, - ::CPlayer_SetPerFriendPreferences_Response* response, - ::google::protobuf::Closure* done); - void AddFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_AddFriend_Request* request, - ::CPlayer_AddFriend_Response* response, - ::google::protobuf::Closure* done); - void RemoveFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_RemoveFriend_Request* request, - ::CPlayer_RemoveFriend_Response* response, - ::google::protobuf::Closure* done); - void IgnoreFriend(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_IgnoreFriend_Request* request, - ::CPlayer_IgnoreFriend_Response* response, - ::google::protobuf::Closure* done); - void GetCommunityPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetCommunityPreferences_Request* request, - ::CPlayer_GetCommunityPreferences_Response* response, - ::google::protobuf::Closure* done); - void SetCommunityPreferences(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_SetCommunityPreferences_Request* request, - ::CPlayer_SetCommunityPreferences_Response* response, - ::google::protobuf::Closure* done); - void GetNewSteamAnnouncementState(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_GetNewSteamAnnouncementState_Request* request, - ::CPlayer_GetNewSteamAnnouncementState_Response* response, - ::google::protobuf::Closure* done); - void UpdateSteamAnnouncementLastRead(::PROTOBUF_NAMESPACE_ID::RpcController* controller, - const ::CPlayer_UpdateSteamAnnouncementLastRead_Request* request, - ::CPlayer_UpdateSteamAnnouncementLastRead_Response* response, - ::google::protobuf::Closure* done); - private: - ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel_; - bool owns_channel_; - GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Player_Stub); -}; - - -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CPlayer_GetMutualFriendsForIncomingInvites_Request - -// ------------------------------------------------------------------- - -// CPlayer_IncomingInviteMutualFriendList - -// optional fixed64 steamid = 1; -inline bool CPlayer_IncomingInviteMutualFriendList::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_IncomingInviteMutualFriendList::has_steamid() const { - return _internal_has_steamid(); -} -inline void CPlayer_IncomingInviteMutualFriendList::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CPlayer_IncomingInviteMutualFriendList::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CPlayer_IncomingInviteMutualFriendList::steamid() const { - // @@protoc_insertion_point(field_get:CPlayer_IncomingInviteMutualFriendList.steamid) - return _internal_steamid(); -} -inline void CPlayer_IncomingInviteMutualFriendList::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steamid_ = value; -} -inline void CPlayer_IncomingInviteMutualFriendList::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CPlayer_IncomingInviteMutualFriendList.steamid) -} - -// repeated uint32 mutual_friend_account_ids = 2; -inline int CPlayer_IncomingInviteMutualFriendList::_internal_mutual_friend_account_ids_size() const { - return _impl_.mutual_friend_account_ids_.size(); -} -inline int CPlayer_IncomingInviteMutualFriendList::mutual_friend_account_ids_size() const { - return _internal_mutual_friend_account_ids_size(); -} -inline void CPlayer_IncomingInviteMutualFriendList::clear_mutual_friend_account_ids() { - _impl_.mutual_friend_account_ids_.Clear(); -} -inline uint32_t CPlayer_IncomingInviteMutualFriendList::_internal_mutual_friend_account_ids(int index) const { - return _impl_.mutual_friend_account_ids_.Get(index); -} -inline uint32_t CPlayer_IncomingInviteMutualFriendList::mutual_friend_account_ids(int index) const { - // @@protoc_insertion_point(field_get:CPlayer_IncomingInviteMutualFriendList.mutual_friend_account_ids) - return _internal_mutual_friend_account_ids(index); -} -inline void CPlayer_IncomingInviteMutualFriendList::set_mutual_friend_account_ids(int index, uint32_t value) { - _impl_.mutual_friend_account_ids_.Set(index, value); - // @@protoc_insertion_point(field_set:CPlayer_IncomingInviteMutualFriendList.mutual_friend_account_ids) -} -inline void CPlayer_IncomingInviteMutualFriendList::_internal_add_mutual_friend_account_ids(uint32_t value) { - _impl_.mutual_friend_account_ids_.Add(value); -} -inline void CPlayer_IncomingInviteMutualFriendList::add_mutual_friend_account_ids(uint32_t value) { - _internal_add_mutual_friend_account_ids(value); - // @@protoc_insertion_point(field_add:CPlayer_IncomingInviteMutualFriendList.mutual_friend_account_ids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CPlayer_IncomingInviteMutualFriendList::_internal_mutual_friend_account_ids() const { - return _impl_.mutual_friend_account_ids_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CPlayer_IncomingInviteMutualFriendList::mutual_friend_account_ids() const { - // @@protoc_insertion_point(field_list:CPlayer_IncomingInviteMutualFriendList.mutual_friend_account_ids) - return _internal_mutual_friend_account_ids(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CPlayer_IncomingInviteMutualFriendList::_internal_mutable_mutual_friend_account_ids() { - return &_impl_.mutual_friend_account_ids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CPlayer_IncomingInviteMutualFriendList::mutable_mutual_friend_account_ids() { - // @@protoc_insertion_point(field_mutable_list:CPlayer_IncomingInviteMutualFriendList.mutual_friend_account_ids) - return _internal_mutable_mutual_friend_account_ids(); -} - -// ------------------------------------------------------------------- - -// CPlayer_GetMutualFriendsForIncomingInvites_Response - -// repeated .CPlayer_IncomingInviteMutualFriendList incoming_invite_mutual_friends_lists = 1; -inline int CPlayer_GetMutualFriendsForIncomingInvites_Response::_internal_incoming_invite_mutual_friends_lists_size() const { - return _impl_.incoming_invite_mutual_friends_lists_.size(); -} -inline int CPlayer_GetMutualFriendsForIncomingInvites_Response::incoming_invite_mutual_friends_lists_size() const { - return _internal_incoming_invite_mutual_friends_lists_size(); -} -inline void CPlayer_GetMutualFriendsForIncomingInvites_Response::clear_incoming_invite_mutual_friends_lists() { - _impl_.incoming_invite_mutual_friends_lists_.Clear(); -} -inline ::CPlayer_IncomingInviteMutualFriendList* CPlayer_GetMutualFriendsForIncomingInvites_Response::mutable_incoming_invite_mutual_friends_lists(int index) { - // @@protoc_insertion_point(field_mutable:CPlayer_GetMutualFriendsForIncomingInvites_Response.incoming_invite_mutual_friends_lists) - return _impl_.incoming_invite_mutual_friends_lists_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_IncomingInviteMutualFriendList >* -CPlayer_GetMutualFriendsForIncomingInvites_Response::mutable_incoming_invite_mutual_friends_lists() { - // @@protoc_insertion_point(field_mutable_list:CPlayer_GetMutualFriendsForIncomingInvites_Response.incoming_invite_mutual_friends_lists) - return &_impl_.incoming_invite_mutual_friends_lists_; -} -inline const ::CPlayer_IncomingInviteMutualFriendList& CPlayer_GetMutualFriendsForIncomingInvites_Response::_internal_incoming_invite_mutual_friends_lists(int index) const { - return _impl_.incoming_invite_mutual_friends_lists_.Get(index); -} -inline const ::CPlayer_IncomingInviteMutualFriendList& CPlayer_GetMutualFriendsForIncomingInvites_Response::incoming_invite_mutual_friends_lists(int index) const { - // @@protoc_insertion_point(field_get:CPlayer_GetMutualFriendsForIncomingInvites_Response.incoming_invite_mutual_friends_lists) - return _internal_incoming_invite_mutual_friends_lists(index); -} -inline ::CPlayer_IncomingInviteMutualFriendList* CPlayer_GetMutualFriendsForIncomingInvites_Response::_internal_add_incoming_invite_mutual_friends_lists() { - return _impl_.incoming_invite_mutual_friends_lists_.Add(); -} -inline ::CPlayer_IncomingInviteMutualFriendList* CPlayer_GetMutualFriendsForIncomingInvites_Response::add_incoming_invite_mutual_friends_lists() { - ::CPlayer_IncomingInviteMutualFriendList* _add = _internal_add_incoming_invite_mutual_friends_lists(); - // @@protoc_insertion_point(field_add:CPlayer_GetMutualFriendsForIncomingInvites_Response.incoming_invite_mutual_friends_lists) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_IncomingInviteMutualFriendList >& -CPlayer_GetMutualFriendsForIncomingInvites_Response::incoming_invite_mutual_friends_lists() const { - // @@protoc_insertion_point(field_list:CPlayer_GetMutualFriendsForIncomingInvites_Response.incoming_invite_mutual_friends_lists) - return _impl_.incoming_invite_mutual_friends_lists_; -} - -// ------------------------------------------------------------------- - -// CPlayer_GetFriendsGameplayInfo_Request - -// optional uint32 appid = 1; -inline bool CPlayer_GetFriendsGameplayInfo_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_GetFriendsGameplayInfo_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CPlayer_GetFriendsGameplayInfo_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CPlayer_GetFriendsGameplayInfo_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CPlayer_GetFriendsGameplayInfo_Request::appid() const { - // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Request.appid) - return _internal_appid(); -} -inline void CPlayer_GetFriendsGameplayInfo_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.appid_ = value; -} -inline void CPlayer_GetFriendsGameplayInfo_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CPlayer_GetFriendsGameplayInfo_Request.appid) -} - -// ------------------------------------------------------------------- - -// CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo - -// optional fixed64 steamid = 1; -inline bool CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::has_steamid() const { - return _internal_has_steamid(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::steamid() const { - // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo.steamid) - return _internal_steamid(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steamid_ = value; -} -inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo.steamid) -} - -// optional uint32 minutes_played = 2; -inline bool CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_internal_has_minutes_played() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::has_minutes_played() const { - return _internal_has_minutes_played(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::clear_minutes_played() { - _impl_.minutes_played_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_internal_minutes_played() const { - return _impl_.minutes_played_; -} -inline uint32_t CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::minutes_played() const { - // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo.minutes_played) - return _internal_minutes_played(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_internal_set_minutes_played(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.minutes_played_ = value; -} -inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::set_minutes_played(uint32_t value) { - _internal_set_minutes_played(value); - // @@protoc_insertion_point(field_set:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo.minutes_played) -} - -// optional uint32 minutes_played_forever = 3; -inline bool CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_internal_has_minutes_played_forever() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::has_minutes_played_forever() const { - return _internal_has_minutes_played_forever(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::clear_minutes_played_forever() { - _impl_.minutes_played_forever_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_internal_minutes_played_forever() const { - return _impl_.minutes_played_forever_; -} -inline uint32_t CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::minutes_played_forever() const { - // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo.minutes_played_forever) - return _internal_minutes_played_forever(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::_internal_set_minutes_played_forever(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.minutes_played_forever_ = value; -} -inline void CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo::set_minutes_played_forever(uint32_t value) { - _internal_set_minutes_played_forever(value); - // @@protoc_insertion_point(field_set:CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo.minutes_played_forever) -} - -// ------------------------------------------------------------------- - -// CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo - -// optional fixed64 steamid = 1; -inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::has_steamid() const { - return _internal_has_steamid(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::steamid() const { - // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.steamid) - return _internal_steamid(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steamid_ = value; -} -inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.steamid) -} - -// optional uint32 minutes_played = 2; -inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_has_minutes_played() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::has_minutes_played() const { - return _internal_has_minutes_played(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::clear_minutes_played() { - _impl_.minutes_played_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_minutes_played() const { - return _impl_.minutes_played_; -} -inline uint32_t CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::minutes_played() const { - // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.minutes_played) - return _internal_minutes_played(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_set_minutes_played(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.minutes_played_ = value; -} -inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::set_minutes_played(uint32_t value) { - _internal_set_minutes_played(value); - // @@protoc_insertion_point(field_set:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.minutes_played) -} - -// optional uint32 minutes_played_forever = 3; -inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_has_minutes_played_forever() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::has_minutes_played_forever() const { - return _internal_has_minutes_played_forever(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::clear_minutes_played_forever() { - _impl_.minutes_played_forever_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_minutes_played_forever() const { - return _impl_.minutes_played_forever_; -} -inline uint32_t CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::minutes_played_forever() const { - // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.minutes_played_forever) - return _internal_minutes_played_forever(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_set_minutes_played_forever(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.minutes_played_forever_ = value; -} -inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::set_minutes_played_forever(uint32_t value) { - _internal_set_minutes_played_forever(value); - // @@protoc_insertion_point(field_set:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.minutes_played_forever) -} - -// optional bool in_wishlist = 4; -inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_has_in_wishlist() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::has_in_wishlist() const { - return _internal_has_in_wishlist(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::clear_in_wishlist() { - _impl_.in_wishlist_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_in_wishlist() const { - return _impl_.in_wishlist_; -} -inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::in_wishlist() const { - // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.in_wishlist) - return _internal_in_wishlist(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_set_in_wishlist(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.in_wishlist_ = value; -} -inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::set_in_wishlist(bool value) { - _internal_set_in_wishlist(value); - // @@protoc_insertion_point(field_set:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.in_wishlist) -} - -// optional bool owned = 5; -inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_has_owned() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::has_owned() const { - return _internal_has_owned(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::clear_owned() { - _impl_.owned_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_owned() const { - return _impl_.owned_; -} -inline bool CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::owned() const { - // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.owned) - return _internal_owned(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::_internal_set_owned(bool value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.owned_ = value; -} -inline void CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo::set_owned(bool value) { - _internal_set_owned(value); - // @@protoc_insertion_point(field_set:CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo.owned) -} - -// ------------------------------------------------------------------- - -// CPlayer_GetFriendsGameplayInfo_Response - -// optional .CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo your_info = 1; -inline bool CPlayer_GetFriendsGameplayInfo_Response::_internal_has_your_info() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.your_info_ != nullptr); - return value; -} -inline bool CPlayer_GetFriendsGameplayInfo_Response::has_your_info() const { - return _internal_has_your_info(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response::clear_your_info() { - if (_impl_.your_info_ != nullptr) _impl_.your_info_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::_internal_your_info() const { - const ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* p = _impl_.your_info_; - return p != nullptr ? *p : reinterpret_cast( - ::_CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo_default_instance_); -} -inline const ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::your_info() const { - // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.your_info) - return _internal_your_info(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response::unsafe_arena_set_allocated_your_info( - ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* your_info) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.your_info_); - } - _impl_.your_info_ = your_info; - if (your_info) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CPlayer_GetFriendsGameplayInfo_Response.your_info) -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::release_your_info() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* temp = _impl_.your_info_; - _impl_.your_info_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::unsafe_arena_release_your_info() { - // @@protoc_insertion_point(field_release:CPlayer_GetFriendsGameplayInfo_Response.your_info) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* temp = _impl_.your_info_; - _impl_.your_info_ = nullptr; - return temp; -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::_internal_mutable_your_info() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.your_info_ == nullptr) { - auto* p = CreateMaybeMessage<::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo>(GetArenaForAllocation()); - _impl_.your_info_ = p; - } - return _impl_.your_info_; -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::mutable_your_info() { - ::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* _msg = _internal_mutable_your_info(); - // @@protoc_insertion_point(field_mutable:CPlayer_GetFriendsGameplayInfo_Response.your_info) - return _msg; -} -inline void CPlayer_GetFriendsGameplayInfo_Response::set_allocated_your_info(::CPlayer_GetFriendsGameplayInfo_Response_OwnGameplayInfo* your_info) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.your_info_; - } - if (your_info) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(your_info); - if (message_arena != submessage_arena) { - your_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, your_info, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.your_info_ = your_info; - // @@protoc_insertion_point(field_set_allocated:CPlayer_GetFriendsGameplayInfo_Response.your_info) -} - -// repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_game = 2; -inline int CPlayer_GetFriendsGameplayInfo_Response::_internal_in_game_size() const { - return _impl_.in_game_.size(); -} -inline int CPlayer_GetFriendsGameplayInfo_Response::in_game_size() const { - return _internal_in_game_size(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response::clear_in_game() { - _impl_.in_game_.Clear(); -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::mutable_in_game(int index) { - // @@protoc_insertion_point(field_mutable:CPlayer_GetFriendsGameplayInfo_Response.in_game) - return _impl_.in_game_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* -CPlayer_GetFriendsGameplayInfo_Response::mutable_in_game() { - // @@protoc_insertion_point(field_mutable_list:CPlayer_GetFriendsGameplayInfo_Response.in_game) - return &_impl_.in_game_; -} -inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::_internal_in_game(int index) const { - return _impl_.in_game_.Get(index); -} -inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::in_game(int index) const { - // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.in_game) - return _internal_in_game(index); -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::_internal_add_in_game() { - return _impl_.in_game_.Add(); -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::add_in_game() { - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _add = _internal_add_in_game(); - // @@protoc_insertion_point(field_add:CPlayer_GetFriendsGameplayInfo_Response.in_game) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& -CPlayer_GetFriendsGameplayInfo_Response::in_game() const { - // @@protoc_insertion_point(field_list:CPlayer_GetFriendsGameplayInfo_Response.in_game) - return _impl_.in_game_; -} - -// repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_recently = 3; -inline int CPlayer_GetFriendsGameplayInfo_Response::_internal_played_recently_size() const { - return _impl_.played_recently_.size(); -} -inline int CPlayer_GetFriendsGameplayInfo_Response::played_recently_size() const { - return _internal_played_recently_size(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response::clear_played_recently() { - _impl_.played_recently_.Clear(); -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::mutable_played_recently(int index) { - // @@protoc_insertion_point(field_mutable:CPlayer_GetFriendsGameplayInfo_Response.played_recently) - return _impl_.played_recently_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* -CPlayer_GetFriendsGameplayInfo_Response::mutable_played_recently() { - // @@protoc_insertion_point(field_mutable_list:CPlayer_GetFriendsGameplayInfo_Response.played_recently) - return &_impl_.played_recently_; -} -inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::_internal_played_recently(int index) const { - return _impl_.played_recently_.Get(index); -} -inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::played_recently(int index) const { - // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.played_recently) - return _internal_played_recently(index); -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::_internal_add_played_recently() { - return _impl_.played_recently_.Add(); -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::add_played_recently() { - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _add = _internal_add_played_recently(); - // @@protoc_insertion_point(field_add:CPlayer_GetFriendsGameplayInfo_Response.played_recently) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& -CPlayer_GetFriendsGameplayInfo_Response::played_recently() const { - // @@protoc_insertion_point(field_list:CPlayer_GetFriendsGameplayInfo_Response.played_recently) - return _impl_.played_recently_; -} - -// repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_ever = 4; -inline int CPlayer_GetFriendsGameplayInfo_Response::_internal_played_ever_size() const { - return _impl_.played_ever_.size(); -} -inline int CPlayer_GetFriendsGameplayInfo_Response::played_ever_size() const { - return _internal_played_ever_size(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response::clear_played_ever() { - _impl_.played_ever_.Clear(); -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::mutable_played_ever(int index) { - // @@protoc_insertion_point(field_mutable:CPlayer_GetFriendsGameplayInfo_Response.played_ever) - return _impl_.played_ever_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* -CPlayer_GetFriendsGameplayInfo_Response::mutable_played_ever() { - // @@protoc_insertion_point(field_mutable_list:CPlayer_GetFriendsGameplayInfo_Response.played_ever) - return &_impl_.played_ever_; -} -inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::_internal_played_ever(int index) const { - return _impl_.played_ever_.Get(index); -} -inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::played_ever(int index) const { - // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.played_ever) - return _internal_played_ever(index); -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::_internal_add_played_ever() { - return _impl_.played_ever_.Add(); -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::add_played_ever() { - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _add = _internal_add_played_ever(); - // @@protoc_insertion_point(field_add:CPlayer_GetFriendsGameplayInfo_Response.played_ever) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& -CPlayer_GetFriendsGameplayInfo_Response::played_ever() const { - // @@protoc_insertion_point(field_list:CPlayer_GetFriendsGameplayInfo_Response.played_ever) - return _impl_.played_ever_; -} - -// repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo owns = 5; -inline int CPlayer_GetFriendsGameplayInfo_Response::_internal_owns_size() const { - return _impl_.owns_.size(); -} -inline int CPlayer_GetFriendsGameplayInfo_Response::owns_size() const { - return _internal_owns_size(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response::clear_owns() { - _impl_.owns_.Clear(); -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::mutable_owns(int index) { - // @@protoc_insertion_point(field_mutable:CPlayer_GetFriendsGameplayInfo_Response.owns) - return _impl_.owns_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* -CPlayer_GetFriendsGameplayInfo_Response::mutable_owns() { - // @@protoc_insertion_point(field_mutable_list:CPlayer_GetFriendsGameplayInfo_Response.owns) - return &_impl_.owns_; -} -inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::_internal_owns(int index) const { - return _impl_.owns_.Get(index); -} -inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::owns(int index) const { - // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.owns) - return _internal_owns(index); -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::_internal_add_owns() { - return _impl_.owns_.Add(); -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::add_owns() { - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _add = _internal_add_owns(); - // @@protoc_insertion_point(field_add:CPlayer_GetFriendsGameplayInfo_Response.owns) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& -CPlayer_GetFriendsGameplayInfo_Response::owns() const { - // @@protoc_insertion_point(field_list:CPlayer_GetFriendsGameplayInfo_Response.owns) - return _impl_.owns_; -} - -// repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_wishlist = 6; -inline int CPlayer_GetFriendsGameplayInfo_Response::_internal_in_wishlist_size() const { - return _impl_.in_wishlist_.size(); -} -inline int CPlayer_GetFriendsGameplayInfo_Response::in_wishlist_size() const { - return _internal_in_wishlist_size(); -} -inline void CPlayer_GetFriendsGameplayInfo_Response::clear_in_wishlist() { - _impl_.in_wishlist_.Clear(); -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::mutable_in_wishlist(int index) { - // @@protoc_insertion_point(field_mutable:CPlayer_GetFriendsGameplayInfo_Response.in_wishlist) - return _impl_.in_wishlist_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >* -CPlayer_GetFriendsGameplayInfo_Response::mutable_in_wishlist() { - // @@protoc_insertion_point(field_mutable_list:CPlayer_GetFriendsGameplayInfo_Response.in_wishlist) - return &_impl_.in_wishlist_; -} -inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::_internal_in_wishlist(int index) const { - return _impl_.in_wishlist_.Get(index); -} -inline const ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo& CPlayer_GetFriendsGameplayInfo_Response::in_wishlist(int index) const { - // @@protoc_insertion_point(field_get:CPlayer_GetFriendsGameplayInfo_Response.in_wishlist) - return _internal_in_wishlist(index); -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::_internal_add_in_wishlist() { - return _impl_.in_wishlist_.Add(); -} -inline ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* CPlayer_GetFriendsGameplayInfo_Response::add_in_wishlist() { - ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo* _add = _internal_add_in_wishlist(); - // @@protoc_insertion_point(field_add:CPlayer_GetFriendsGameplayInfo_Response.in_wishlist) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetFriendsGameplayInfo_Response_FriendsGameplayInfo >& -CPlayer_GetFriendsGameplayInfo_Response::in_wishlist() const { - // @@protoc_insertion_point(field_list:CPlayer_GetFriendsGameplayInfo_Response.in_wishlist) - return _impl_.in_wishlist_; -} - -// ------------------------------------------------------------------- - -// CPlayer_GetGameBadgeLevels_Request - -// optional uint32 appid = 1; -inline bool CPlayer_GetGameBadgeLevels_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_GetGameBadgeLevels_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CPlayer_GetGameBadgeLevels_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CPlayer_GetGameBadgeLevels_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CPlayer_GetGameBadgeLevels_Request::appid() const { - // @@protoc_insertion_point(field_get:CPlayer_GetGameBadgeLevels_Request.appid) - return _internal_appid(); -} -inline void CPlayer_GetGameBadgeLevels_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.appid_ = value; -} -inline void CPlayer_GetGameBadgeLevels_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CPlayer_GetGameBadgeLevels_Request.appid) -} - -// ------------------------------------------------------------------- - -// CPlayer_GetGameBadgeLevels_Response_Badge - -// optional int32 level = 1; -inline bool CPlayer_GetGameBadgeLevels_Response_Badge::_internal_has_level() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_GetGameBadgeLevels_Response_Badge::has_level() const { - return _internal_has_level(); -} -inline void CPlayer_GetGameBadgeLevels_Response_Badge::clear_level() { - _impl_.level_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CPlayer_GetGameBadgeLevels_Response_Badge::_internal_level() const { - return _impl_.level_; -} -inline int32_t CPlayer_GetGameBadgeLevels_Response_Badge::level() const { - // @@protoc_insertion_point(field_get:CPlayer_GetGameBadgeLevels_Response.Badge.level) - return _internal_level(); -} -inline void CPlayer_GetGameBadgeLevels_Response_Badge::_internal_set_level(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.level_ = value; -} -inline void CPlayer_GetGameBadgeLevels_Response_Badge::set_level(int32_t value) { - _internal_set_level(value); - // @@protoc_insertion_point(field_set:CPlayer_GetGameBadgeLevels_Response.Badge.level) -} - -// optional int32 series = 2; -inline bool CPlayer_GetGameBadgeLevels_Response_Badge::_internal_has_series() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPlayer_GetGameBadgeLevels_Response_Badge::has_series() const { - return _internal_has_series(); -} -inline void CPlayer_GetGameBadgeLevels_Response_Badge::clear_series() { - _impl_.series_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CPlayer_GetGameBadgeLevels_Response_Badge::_internal_series() const { - return _impl_.series_; -} -inline int32_t CPlayer_GetGameBadgeLevels_Response_Badge::series() const { - // @@protoc_insertion_point(field_get:CPlayer_GetGameBadgeLevels_Response.Badge.series) - return _internal_series(); -} -inline void CPlayer_GetGameBadgeLevels_Response_Badge::_internal_set_series(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.series_ = value; -} -inline void CPlayer_GetGameBadgeLevels_Response_Badge::set_series(int32_t value) { - _internal_set_series(value); - // @@protoc_insertion_point(field_set:CPlayer_GetGameBadgeLevels_Response.Badge.series) -} - -// optional uint32 border_color = 3; -inline bool CPlayer_GetGameBadgeLevels_Response_Badge::_internal_has_border_color() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CPlayer_GetGameBadgeLevels_Response_Badge::has_border_color() const { - return _internal_has_border_color(); -} -inline void CPlayer_GetGameBadgeLevels_Response_Badge::clear_border_color() { - _impl_.border_color_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CPlayer_GetGameBadgeLevels_Response_Badge::_internal_border_color() const { - return _impl_.border_color_; -} -inline uint32_t CPlayer_GetGameBadgeLevels_Response_Badge::border_color() const { - // @@protoc_insertion_point(field_get:CPlayer_GetGameBadgeLevels_Response.Badge.border_color) - return _internal_border_color(); -} -inline void CPlayer_GetGameBadgeLevels_Response_Badge::_internal_set_border_color(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.border_color_ = value; -} -inline void CPlayer_GetGameBadgeLevels_Response_Badge::set_border_color(uint32_t value) { - _internal_set_border_color(value); - // @@protoc_insertion_point(field_set:CPlayer_GetGameBadgeLevels_Response.Badge.border_color) -} - -// ------------------------------------------------------------------- - -// CPlayer_GetGameBadgeLevels_Response - -// optional uint32 player_level = 1; -inline bool CPlayer_GetGameBadgeLevels_Response::_internal_has_player_level() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_GetGameBadgeLevels_Response::has_player_level() const { - return _internal_has_player_level(); -} -inline void CPlayer_GetGameBadgeLevels_Response::clear_player_level() { - _impl_.player_level_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CPlayer_GetGameBadgeLevels_Response::_internal_player_level() const { - return _impl_.player_level_; -} -inline uint32_t CPlayer_GetGameBadgeLevels_Response::player_level() const { - // @@protoc_insertion_point(field_get:CPlayer_GetGameBadgeLevels_Response.player_level) - return _internal_player_level(); -} -inline void CPlayer_GetGameBadgeLevels_Response::_internal_set_player_level(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.player_level_ = value; -} -inline void CPlayer_GetGameBadgeLevels_Response::set_player_level(uint32_t value) { - _internal_set_player_level(value); - // @@protoc_insertion_point(field_set:CPlayer_GetGameBadgeLevels_Response.player_level) -} - -// repeated .CPlayer_GetGameBadgeLevels_Response.Badge badges = 2; -inline int CPlayer_GetGameBadgeLevels_Response::_internal_badges_size() const { - return _impl_.badges_.size(); -} -inline int CPlayer_GetGameBadgeLevels_Response::badges_size() const { - return _internal_badges_size(); -} -inline void CPlayer_GetGameBadgeLevels_Response::clear_badges() { - _impl_.badges_.Clear(); -} -inline ::CPlayer_GetGameBadgeLevels_Response_Badge* CPlayer_GetGameBadgeLevels_Response::mutable_badges(int index) { - // @@protoc_insertion_point(field_mutable:CPlayer_GetGameBadgeLevels_Response.badges) - return _impl_.badges_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetGameBadgeLevels_Response_Badge >* -CPlayer_GetGameBadgeLevels_Response::mutable_badges() { - // @@protoc_insertion_point(field_mutable_list:CPlayer_GetGameBadgeLevels_Response.badges) - return &_impl_.badges_; -} -inline const ::CPlayer_GetGameBadgeLevels_Response_Badge& CPlayer_GetGameBadgeLevels_Response::_internal_badges(int index) const { - return _impl_.badges_.Get(index); -} -inline const ::CPlayer_GetGameBadgeLevels_Response_Badge& CPlayer_GetGameBadgeLevels_Response::badges(int index) const { - // @@protoc_insertion_point(field_get:CPlayer_GetGameBadgeLevels_Response.badges) - return _internal_badges(index); -} -inline ::CPlayer_GetGameBadgeLevels_Response_Badge* CPlayer_GetGameBadgeLevels_Response::_internal_add_badges() { - return _impl_.badges_.Add(); -} -inline ::CPlayer_GetGameBadgeLevels_Response_Badge* CPlayer_GetGameBadgeLevels_Response::add_badges() { - ::CPlayer_GetGameBadgeLevels_Response_Badge* _add = _internal_add_badges(); - // @@protoc_insertion_point(field_add:CPlayer_GetGameBadgeLevels_Response.badges) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetGameBadgeLevels_Response_Badge >& -CPlayer_GetGameBadgeLevels_Response::badges() const { - // @@protoc_insertion_point(field_list:CPlayer_GetGameBadgeLevels_Response.badges) - return _impl_.badges_; -} - -// ------------------------------------------------------------------- - -// CPlayer_GetLastPlayedTimes_Request - -// optional uint32 min_last_played = 1 [(.description) = "The most recent last-played time the client already knows about"]; -inline bool CPlayer_GetLastPlayedTimes_Request::_internal_has_min_last_played() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_GetLastPlayedTimes_Request::has_min_last_played() const { - return _internal_has_min_last_played(); -} -inline void CPlayer_GetLastPlayedTimes_Request::clear_min_last_played() { - _impl_.min_last_played_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CPlayer_GetLastPlayedTimes_Request::_internal_min_last_played() const { - return _impl_.min_last_played_; -} -inline uint32_t CPlayer_GetLastPlayedTimes_Request::min_last_played() const { - // @@protoc_insertion_point(field_get:CPlayer_GetLastPlayedTimes_Request.min_last_played) - return _internal_min_last_played(); -} -inline void CPlayer_GetLastPlayedTimes_Request::_internal_set_min_last_played(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.min_last_played_ = value; -} -inline void CPlayer_GetLastPlayedTimes_Request::set_min_last_played(uint32_t value) { - _internal_set_min_last_played(value); - // @@protoc_insertion_point(field_set:CPlayer_GetLastPlayedTimes_Request.min_last_played) -} - -// ------------------------------------------------------------------- - -// CPlayer_GetLastPlayedTimes_Response_Game - -// optional int32 appid = 1; -inline bool CPlayer_GetLastPlayedTimes_Response_Game::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_GetLastPlayedTimes_Response_Game::has_appid() const { - return _internal_has_appid(); -} -inline void CPlayer_GetLastPlayedTimes_Response_Game::clear_appid() { - _impl_.appid_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CPlayer_GetLastPlayedTimes_Response_Game::_internal_appid() const { - return _impl_.appid_; -} -inline int32_t CPlayer_GetLastPlayedTimes_Response_Game::appid() const { - // @@protoc_insertion_point(field_get:CPlayer_GetLastPlayedTimes_Response.Game.appid) - return _internal_appid(); -} -inline void CPlayer_GetLastPlayedTimes_Response_Game::_internal_set_appid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.appid_ = value; -} -inline void CPlayer_GetLastPlayedTimes_Response_Game::set_appid(int32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CPlayer_GetLastPlayedTimes_Response.Game.appid) -} - -// optional uint32 last_playtime = 2; -inline bool CPlayer_GetLastPlayedTimes_Response_Game::_internal_has_last_playtime() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPlayer_GetLastPlayedTimes_Response_Game::has_last_playtime() const { - return _internal_has_last_playtime(); -} -inline void CPlayer_GetLastPlayedTimes_Response_Game::clear_last_playtime() { - _impl_.last_playtime_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CPlayer_GetLastPlayedTimes_Response_Game::_internal_last_playtime() const { - return _impl_.last_playtime_; -} -inline uint32_t CPlayer_GetLastPlayedTimes_Response_Game::last_playtime() const { - // @@protoc_insertion_point(field_get:CPlayer_GetLastPlayedTimes_Response.Game.last_playtime) - return _internal_last_playtime(); -} -inline void CPlayer_GetLastPlayedTimes_Response_Game::_internal_set_last_playtime(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.last_playtime_ = value; -} -inline void CPlayer_GetLastPlayedTimes_Response_Game::set_last_playtime(uint32_t value) { - _internal_set_last_playtime(value); - // @@protoc_insertion_point(field_set:CPlayer_GetLastPlayedTimes_Response.Game.last_playtime) -} - -// optional int32 playtime_2weeks = 3; -inline bool CPlayer_GetLastPlayedTimes_Response_Game::_internal_has_playtime_2weeks() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CPlayer_GetLastPlayedTimes_Response_Game::has_playtime_2weeks() const { - return _internal_has_playtime_2weeks(); -} -inline void CPlayer_GetLastPlayedTimes_Response_Game::clear_playtime_2weeks() { - _impl_.playtime_2weeks_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CPlayer_GetLastPlayedTimes_Response_Game::_internal_playtime_2weeks() const { - return _impl_.playtime_2weeks_; -} -inline int32_t CPlayer_GetLastPlayedTimes_Response_Game::playtime_2weeks() const { - // @@protoc_insertion_point(field_get:CPlayer_GetLastPlayedTimes_Response.Game.playtime_2weeks) - return _internal_playtime_2weeks(); -} -inline void CPlayer_GetLastPlayedTimes_Response_Game::_internal_set_playtime_2weeks(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.playtime_2weeks_ = value; -} -inline void CPlayer_GetLastPlayedTimes_Response_Game::set_playtime_2weeks(int32_t value) { - _internal_set_playtime_2weeks(value); - // @@protoc_insertion_point(field_set:CPlayer_GetLastPlayedTimes_Response.Game.playtime_2weeks) -} - -// optional int32 playtime_forever = 4; -inline bool CPlayer_GetLastPlayedTimes_Response_Game::_internal_has_playtime_forever() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CPlayer_GetLastPlayedTimes_Response_Game::has_playtime_forever() const { - return _internal_has_playtime_forever(); -} -inline void CPlayer_GetLastPlayedTimes_Response_Game::clear_playtime_forever() { - _impl_.playtime_forever_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CPlayer_GetLastPlayedTimes_Response_Game::_internal_playtime_forever() const { - return _impl_.playtime_forever_; -} -inline int32_t CPlayer_GetLastPlayedTimes_Response_Game::playtime_forever() const { - // @@protoc_insertion_point(field_get:CPlayer_GetLastPlayedTimes_Response.Game.playtime_forever) - return _internal_playtime_forever(); -} -inline void CPlayer_GetLastPlayedTimes_Response_Game::_internal_set_playtime_forever(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.playtime_forever_ = value; -} -inline void CPlayer_GetLastPlayedTimes_Response_Game::set_playtime_forever(int32_t value) { - _internal_set_playtime_forever(value); - // @@protoc_insertion_point(field_set:CPlayer_GetLastPlayedTimes_Response.Game.playtime_forever) -} - -// optional uint32 first_playtime = 5; -inline bool CPlayer_GetLastPlayedTimes_Response_Game::_internal_has_first_playtime() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CPlayer_GetLastPlayedTimes_Response_Game::has_first_playtime() const { - return _internal_has_first_playtime(); -} -inline void CPlayer_GetLastPlayedTimes_Response_Game::clear_first_playtime() { - _impl_.first_playtime_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CPlayer_GetLastPlayedTimes_Response_Game::_internal_first_playtime() const { - return _impl_.first_playtime_; -} -inline uint32_t CPlayer_GetLastPlayedTimes_Response_Game::first_playtime() const { - // @@protoc_insertion_point(field_get:CPlayer_GetLastPlayedTimes_Response.Game.first_playtime) - return _internal_first_playtime(); -} -inline void CPlayer_GetLastPlayedTimes_Response_Game::_internal_set_first_playtime(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.first_playtime_ = value; -} -inline void CPlayer_GetLastPlayedTimes_Response_Game::set_first_playtime(uint32_t value) { - _internal_set_first_playtime(value); - // @@protoc_insertion_point(field_set:CPlayer_GetLastPlayedTimes_Response.Game.first_playtime) -} - -// ------------------------------------------------------------------- - -// CPlayer_GetLastPlayedTimes_Response - -// repeated .CPlayer_GetLastPlayedTimes_Response.Game games = 1; -inline int CPlayer_GetLastPlayedTimes_Response::_internal_games_size() const { - return _impl_.games_.size(); -} -inline int CPlayer_GetLastPlayedTimes_Response::games_size() const { - return _internal_games_size(); -} -inline void CPlayer_GetLastPlayedTimes_Response::clear_games() { - _impl_.games_.Clear(); -} -inline ::CPlayer_GetLastPlayedTimes_Response_Game* CPlayer_GetLastPlayedTimes_Response::mutable_games(int index) { - // @@protoc_insertion_point(field_mutable:CPlayer_GetLastPlayedTimes_Response.games) - return _impl_.games_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetLastPlayedTimes_Response_Game >* -CPlayer_GetLastPlayedTimes_Response::mutable_games() { - // @@protoc_insertion_point(field_mutable_list:CPlayer_GetLastPlayedTimes_Response.games) - return &_impl_.games_; -} -inline const ::CPlayer_GetLastPlayedTimes_Response_Game& CPlayer_GetLastPlayedTimes_Response::_internal_games(int index) const { - return _impl_.games_.Get(index); -} -inline const ::CPlayer_GetLastPlayedTimes_Response_Game& CPlayer_GetLastPlayedTimes_Response::games(int index) const { - // @@protoc_insertion_point(field_get:CPlayer_GetLastPlayedTimes_Response.games) - return _internal_games(index); -} -inline ::CPlayer_GetLastPlayedTimes_Response_Game* CPlayer_GetLastPlayedTimes_Response::_internal_add_games() { - return _impl_.games_.Add(); -} -inline ::CPlayer_GetLastPlayedTimes_Response_Game* CPlayer_GetLastPlayedTimes_Response::add_games() { - ::CPlayer_GetLastPlayedTimes_Response_Game* _add = _internal_add_games(); - // @@protoc_insertion_point(field_add:CPlayer_GetLastPlayedTimes_Response.games) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetLastPlayedTimes_Response_Game >& -CPlayer_GetLastPlayedTimes_Response::games() const { - // @@protoc_insertion_point(field_list:CPlayer_GetLastPlayedTimes_Response.games) - return _impl_.games_; -} - -// ------------------------------------------------------------------- - -// CPlayer_AcceptSSA_Request - -// ------------------------------------------------------------------- - -// CPlayer_AcceptSSA_Response - -// ------------------------------------------------------------------- - -// CPlayer_GetNicknameList_Request - -// ------------------------------------------------------------------- - -// CPlayer_GetNicknameList_Response_PlayerNickname - -// optional fixed32 accountid = 1; -inline bool CPlayer_GetNicknameList_Response_PlayerNickname::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPlayer_GetNicknameList_Response_PlayerNickname::has_accountid() const { - return _internal_has_accountid(); -} -inline void CPlayer_GetNicknameList_Response_PlayerNickname::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CPlayer_GetNicknameList_Response_PlayerNickname::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t CPlayer_GetNicknameList_Response_PlayerNickname::accountid() const { - // @@protoc_insertion_point(field_get:CPlayer_GetNicknameList_Response.PlayerNickname.accountid) - return _internal_accountid(); -} -inline void CPlayer_GetNicknameList_Response_PlayerNickname::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.accountid_ = value; -} -inline void CPlayer_GetNicknameList_Response_PlayerNickname::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:CPlayer_GetNicknameList_Response.PlayerNickname.accountid) -} - -// optional string nickname = 2; -inline bool CPlayer_GetNicknameList_Response_PlayerNickname::_internal_has_nickname() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_GetNicknameList_Response_PlayerNickname::has_nickname() const { - return _internal_has_nickname(); -} -inline void CPlayer_GetNicknameList_Response_PlayerNickname::clear_nickname() { - _impl_.nickname_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CPlayer_GetNicknameList_Response_PlayerNickname::nickname() const { - // @@protoc_insertion_point(field_get:CPlayer_GetNicknameList_Response.PlayerNickname.nickname) - return _internal_nickname(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPlayer_GetNicknameList_Response_PlayerNickname::set_nickname(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.nickname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPlayer_GetNicknameList_Response.PlayerNickname.nickname) -} -inline std::string* CPlayer_GetNicknameList_Response_PlayerNickname::mutable_nickname() { - std::string* _s = _internal_mutable_nickname(); - // @@protoc_insertion_point(field_mutable:CPlayer_GetNicknameList_Response.PlayerNickname.nickname) - return _s; -} -inline const std::string& CPlayer_GetNicknameList_Response_PlayerNickname::_internal_nickname() const { - return _impl_.nickname_.Get(); -} -inline void CPlayer_GetNicknameList_Response_PlayerNickname::_internal_set_nickname(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.nickname_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPlayer_GetNicknameList_Response_PlayerNickname::_internal_mutable_nickname() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.nickname_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPlayer_GetNicknameList_Response_PlayerNickname::release_nickname() { - // @@protoc_insertion_point(field_release:CPlayer_GetNicknameList_Response.PlayerNickname.nickname) - if (!_internal_has_nickname()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.nickname_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.nickname_.IsDefault()) { - _impl_.nickname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPlayer_GetNicknameList_Response_PlayerNickname::set_allocated_nickname(std::string* nickname) { - if (nickname != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.nickname_.SetAllocated(nickname, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.nickname_.IsDefault()) { - _impl_.nickname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPlayer_GetNicknameList_Response.PlayerNickname.nickname) -} - -// ------------------------------------------------------------------- - -// CPlayer_GetNicknameList_Response - -// repeated .CPlayer_GetNicknameList_Response.PlayerNickname nicknames = 1; -inline int CPlayer_GetNicknameList_Response::_internal_nicknames_size() const { - return _impl_.nicknames_.size(); -} -inline int CPlayer_GetNicknameList_Response::nicknames_size() const { - return _internal_nicknames_size(); -} -inline void CPlayer_GetNicknameList_Response::clear_nicknames() { - _impl_.nicknames_.Clear(); -} -inline ::CPlayer_GetNicknameList_Response_PlayerNickname* CPlayer_GetNicknameList_Response::mutable_nicknames(int index) { - // @@protoc_insertion_point(field_mutable:CPlayer_GetNicknameList_Response.nicknames) - return _impl_.nicknames_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetNicknameList_Response_PlayerNickname >* -CPlayer_GetNicknameList_Response::mutable_nicknames() { - // @@protoc_insertion_point(field_mutable_list:CPlayer_GetNicknameList_Response.nicknames) - return &_impl_.nicknames_; -} -inline const ::CPlayer_GetNicknameList_Response_PlayerNickname& CPlayer_GetNicknameList_Response::_internal_nicknames(int index) const { - return _impl_.nicknames_.Get(index); -} -inline const ::CPlayer_GetNicknameList_Response_PlayerNickname& CPlayer_GetNicknameList_Response::nicknames(int index) const { - // @@protoc_insertion_point(field_get:CPlayer_GetNicknameList_Response.nicknames) - return _internal_nicknames(index); -} -inline ::CPlayer_GetNicknameList_Response_PlayerNickname* CPlayer_GetNicknameList_Response::_internal_add_nicknames() { - return _impl_.nicknames_.Add(); -} -inline ::CPlayer_GetNicknameList_Response_PlayerNickname* CPlayer_GetNicknameList_Response::add_nicknames() { - ::CPlayer_GetNicknameList_Response_PlayerNickname* _add = _internal_add_nicknames(); - // @@protoc_insertion_point(field_add:CPlayer_GetNicknameList_Response.nicknames) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPlayer_GetNicknameList_Response_PlayerNickname >& -CPlayer_GetNicknameList_Response::nicknames() const { - // @@protoc_insertion_point(field_list:CPlayer_GetNicknameList_Response.nicknames) - return _impl_.nicknames_; -} - -// ------------------------------------------------------------------- - -// CPlayer_GetPerFriendPreferences_Request - -// ------------------------------------------------------------------- - -// PerFriendPreferences - -// optional fixed32 accountid = 1; -inline bool PerFriendPreferences::_internal_has_accountid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool PerFriendPreferences::has_accountid() const { - return _internal_has_accountid(); -} -inline void PerFriendPreferences::clear_accountid() { - _impl_.accountid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t PerFriendPreferences::_internal_accountid() const { - return _impl_.accountid_; -} -inline uint32_t PerFriendPreferences::accountid() const { - // @@protoc_insertion_point(field_get:PerFriendPreferences.accountid) - return _internal_accountid(); -} -inline void PerFriendPreferences::_internal_set_accountid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.accountid_ = value; -} -inline void PerFriendPreferences::set_accountid(uint32_t value) { - _internal_set_accountid(value); - // @@protoc_insertion_point(field_set:PerFriendPreferences.accountid) -} - -// optional string nickname = 2; -inline bool PerFriendPreferences::_internal_has_nickname() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool PerFriendPreferences::has_nickname() const { - return _internal_has_nickname(); -} -inline void PerFriendPreferences::clear_nickname() { - _impl_.nickname_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& PerFriendPreferences::nickname() const { - // @@protoc_insertion_point(field_get:PerFriendPreferences.nickname) - return _internal_nickname(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PerFriendPreferences::set_nickname(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.nickname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PerFriendPreferences.nickname) -} -inline std::string* PerFriendPreferences::mutable_nickname() { - std::string* _s = _internal_mutable_nickname(); - // @@protoc_insertion_point(field_mutable:PerFriendPreferences.nickname) - return _s; -} -inline const std::string& PerFriendPreferences::_internal_nickname() const { - return _impl_.nickname_.Get(); -} -inline void PerFriendPreferences::_internal_set_nickname(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.nickname_.Set(value, GetArenaForAllocation()); -} -inline std::string* PerFriendPreferences::_internal_mutable_nickname() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.nickname_.Mutable(GetArenaForAllocation()); -} -inline std::string* PerFriendPreferences::release_nickname() { - // @@protoc_insertion_point(field_release:PerFriendPreferences.nickname) - if (!_internal_has_nickname()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.nickname_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.nickname_.IsDefault()) { - _impl_.nickname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PerFriendPreferences::set_allocated_nickname(std::string* nickname) { - if (nickname != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.nickname_.SetAllocated(nickname, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.nickname_.IsDefault()) { - _impl_.nickname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PerFriendPreferences.nickname) -} - -// optional .ENotificationSetting notifications_showingame = 3 [default = k_ENotificationSettingNotifyUseDefault]; -inline bool PerFriendPreferences::_internal_has_notifications_showingame() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool PerFriendPreferences::has_notifications_showingame() const { - return _internal_has_notifications_showingame(); -} -inline void PerFriendPreferences::clear_notifications_showingame() { - _impl_.notifications_showingame_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::ENotificationSetting PerFriendPreferences::_internal_notifications_showingame() const { - return static_cast< ::ENotificationSetting >(_impl_.notifications_showingame_); -} -inline ::ENotificationSetting PerFriendPreferences::notifications_showingame() const { - // @@protoc_insertion_point(field_get:PerFriendPreferences.notifications_showingame) - return _internal_notifications_showingame(); -} -inline void PerFriendPreferences::_internal_set_notifications_showingame(::ENotificationSetting value) { - assert(::ENotificationSetting_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.notifications_showingame_ = value; -} -inline void PerFriendPreferences::set_notifications_showingame(::ENotificationSetting value) { - _internal_set_notifications_showingame(value); - // @@protoc_insertion_point(field_set:PerFriendPreferences.notifications_showingame) -} - -// optional .ENotificationSetting notifications_showonline = 4 [default = k_ENotificationSettingNotifyUseDefault]; -inline bool PerFriendPreferences::_internal_has_notifications_showonline() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool PerFriendPreferences::has_notifications_showonline() const { - return _internal_has_notifications_showonline(); -} -inline void PerFriendPreferences::clear_notifications_showonline() { - _impl_.notifications_showonline_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline ::ENotificationSetting PerFriendPreferences::_internal_notifications_showonline() const { - return static_cast< ::ENotificationSetting >(_impl_.notifications_showonline_); -} -inline ::ENotificationSetting PerFriendPreferences::notifications_showonline() const { - // @@protoc_insertion_point(field_get:PerFriendPreferences.notifications_showonline) - return _internal_notifications_showonline(); -} -inline void PerFriendPreferences::_internal_set_notifications_showonline(::ENotificationSetting value) { - assert(::ENotificationSetting_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.notifications_showonline_ = value; -} -inline void PerFriendPreferences::set_notifications_showonline(::ENotificationSetting value) { - _internal_set_notifications_showonline(value); - // @@protoc_insertion_point(field_set:PerFriendPreferences.notifications_showonline) -} - -// optional .ENotificationSetting notifications_showmessages = 5 [default = k_ENotificationSettingNotifyUseDefault]; -inline bool PerFriendPreferences::_internal_has_notifications_showmessages() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool PerFriendPreferences::has_notifications_showmessages() const { - return _internal_has_notifications_showmessages(); -} -inline void PerFriendPreferences::clear_notifications_showmessages() { - _impl_.notifications_showmessages_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline ::ENotificationSetting PerFriendPreferences::_internal_notifications_showmessages() const { - return static_cast< ::ENotificationSetting >(_impl_.notifications_showmessages_); -} -inline ::ENotificationSetting PerFriendPreferences::notifications_showmessages() const { - // @@protoc_insertion_point(field_get:PerFriendPreferences.notifications_showmessages) - return _internal_notifications_showmessages(); -} -inline void PerFriendPreferences::_internal_set_notifications_showmessages(::ENotificationSetting value) { - assert(::ENotificationSetting_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.notifications_showmessages_ = value; -} -inline void PerFriendPreferences::set_notifications_showmessages(::ENotificationSetting value) { - _internal_set_notifications_showmessages(value); - // @@protoc_insertion_point(field_set:PerFriendPreferences.notifications_showmessages) -} - -// optional .ENotificationSetting sounds_showingame = 6 [default = k_ENotificationSettingNotifyUseDefault]; -inline bool PerFriendPreferences::_internal_has_sounds_showingame() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool PerFriendPreferences::has_sounds_showingame() const { - return _internal_has_sounds_showingame(); -} -inline void PerFriendPreferences::clear_sounds_showingame() { - _impl_.sounds_showingame_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline ::ENotificationSetting PerFriendPreferences::_internal_sounds_showingame() const { - return static_cast< ::ENotificationSetting >(_impl_.sounds_showingame_); -} -inline ::ENotificationSetting PerFriendPreferences::sounds_showingame() const { - // @@protoc_insertion_point(field_get:PerFriendPreferences.sounds_showingame) - return _internal_sounds_showingame(); -} -inline void PerFriendPreferences::_internal_set_sounds_showingame(::ENotificationSetting value) { - assert(::ENotificationSetting_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.sounds_showingame_ = value; -} -inline void PerFriendPreferences::set_sounds_showingame(::ENotificationSetting value) { - _internal_set_sounds_showingame(value); - // @@protoc_insertion_point(field_set:PerFriendPreferences.sounds_showingame) -} - -// optional .ENotificationSetting sounds_showonline = 7 [default = k_ENotificationSettingNotifyUseDefault]; -inline bool PerFriendPreferences::_internal_has_sounds_showonline() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool PerFriendPreferences::has_sounds_showonline() const { - return _internal_has_sounds_showonline(); -} -inline void PerFriendPreferences::clear_sounds_showonline() { - _impl_.sounds_showonline_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline ::ENotificationSetting PerFriendPreferences::_internal_sounds_showonline() const { - return static_cast< ::ENotificationSetting >(_impl_.sounds_showonline_); -} -inline ::ENotificationSetting PerFriendPreferences::sounds_showonline() const { - // @@protoc_insertion_point(field_get:PerFriendPreferences.sounds_showonline) - return _internal_sounds_showonline(); -} -inline void PerFriendPreferences::_internal_set_sounds_showonline(::ENotificationSetting value) { - assert(::ENotificationSetting_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.sounds_showonline_ = value; -} -inline void PerFriendPreferences::set_sounds_showonline(::ENotificationSetting value) { - _internal_set_sounds_showonline(value); - // @@protoc_insertion_point(field_set:PerFriendPreferences.sounds_showonline) -} - -// optional .ENotificationSetting sounds_showmessages = 8 [default = k_ENotificationSettingNotifyUseDefault]; -inline bool PerFriendPreferences::_internal_has_sounds_showmessages() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool PerFriendPreferences::has_sounds_showmessages() const { - return _internal_has_sounds_showmessages(); -} -inline void PerFriendPreferences::clear_sounds_showmessages() { - _impl_.sounds_showmessages_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline ::ENotificationSetting PerFriendPreferences::_internal_sounds_showmessages() const { - return static_cast< ::ENotificationSetting >(_impl_.sounds_showmessages_); -} -inline ::ENotificationSetting PerFriendPreferences::sounds_showmessages() const { - // @@protoc_insertion_point(field_get:PerFriendPreferences.sounds_showmessages) - return _internal_sounds_showmessages(); -} -inline void PerFriendPreferences::_internal_set_sounds_showmessages(::ENotificationSetting value) { - assert(::ENotificationSetting_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.sounds_showmessages_ = value; -} -inline void PerFriendPreferences::set_sounds_showmessages(::ENotificationSetting value) { - _internal_set_sounds_showmessages(value); - // @@protoc_insertion_point(field_set:PerFriendPreferences.sounds_showmessages) -} - -// optional .ENotificationSetting notifications_sendmobile = 9 [default = k_ENotificationSettingNotifyUseDefault]; -inline bool PerFriendPreferences::_internal_has_notifications_sendmobile() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool PerFriendPreferences::has_notifications_sendmobile() const { - return _internal_has_notifications_sendmobile(); -} -inline void PerFriendPreferences::clear_notifications_sendmobile() { - _impl_.notifications_sendmobile_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline ::ENotificationSetting PerFriendPreferences::_internal_notifications_sendmobile() const { - return static_cast< ::ENotificationSetting >(_impl_.notifications_sendmobile_); -} -inline ::ENotificationSetting PerFriendPreferences::notifications_sendmobile() const { - // @@protoc_insertion_point(field_get:PerFriendPreferences.notifications_sendmobile) - return _internal_notifications_sendmobile(); -} -inline void PerFriendPreferences::_internal_set_notifications_sendmobile(::ENotificationSetting value) { - assert(::ENotificationSetting_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.notifications_sendmobile_ = value; -} -inline void PerFriendPreferences::set_notifications_sendmobile(::ENotificationSetting value) { - _internal_set_notifications_sendmobile(value); - // @@protoc_insertion_point(field_set:PerFriendPreferences.notifications_sendmobile) -} - -// ------------------------------------------------------------------- - -// CPlayer_GetPerFriendPreferences_Response - -// repeated .PerFriendPreferences preferences = 1; -inline int CPlayer_GetPerFriendPreferences_Response::_internal_preferences_size() const { - return _impl_.preferences_.size(); -} -inline int CPlayer_GetPerFriendPreferences_Response::preferences_size() const { - return _internal_preferences_size(); -} -inline void CPlayer_GetPerFriendPreferences_Response::clear_preferences() { - _impl_.preferences_.Clear(); -} -inline ::PerFriendPreferences* CPlayer_GetPerFriendPreferences_Response::mutable_preferences(int index) { - // @@protoc_insertion_point(field_mutable:CPlayer_GetPerFriendPreferences_Response.preferences) - return _impl_.preferences_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PerFriendPreferences >* -CPlayer_GetPerFriendPreferences_Response::mutable_preferences() { - // @@protoc_insertion_point(field_mutable_list:CPlayer_GetPerFriendPreferences_Response.preferences) - return &_impl_.preferences_; -} -inline const ::PerFriendPreferences& CPlayer_GetPerFriendPreferences_Response::_internal_preferences(int index) const { - return _impl_.preferences_.Get(index); -} -inline const ::PerFriendPreferences& CPlayer_GetPerFriendPreferences_Response::preferences(int index) const { - // @@protoc_insertion_point(field_get:CPlayer_GetPerFriendPreferences_Response.preferences) - return _internal_preferences(index); -} -inline ::PerFriendPreferences* CPlayer_GetPerFriendPreferences_Response::_internal_add_preferences() { - return _impl_.preferences_.Add(); -} -inline ::PerFriendPreferences* CPlayer_GetPerFriendPreferences_Response::add_preferences() { - ::PerFriendPreferences* _add = _internal_add_preferences(); - // @@protoc_insertion_point(field_add:CPlayer_GetPerFriendPreferences_Response.preferences) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PerFriendPreferences >& -CPlayer_GetPerFriendPreferences_Response::preferences() const { - // @@protoc_insertion_point(field_list:CPlayer_GetPerFriendPreferences_Response.preferences) - return _impl_.preferences_; -} - -// ------------------------------------------------------------------- - -// CPlayer_SetPerFriendPreferences_Request - -// optional .PerFriendPreferences preferences = 1; -inline bool CPlayer_SetPerFriendPreferences_Request::_internal_has_preferences() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.preferences_ != nullptr); - return value; -} -inline bool CPlayer_SetPerFriendPreferences_Request::has_preferences() const { - return _internal_has_preferences(); -} -inline void CPlayer_SetPerFriendPreferences_Request::clear_preferences() { - if (_impl_.preferences_ != nullptr) _impl_.preferences_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::PerFriendPreferences& CPlayer_SetPerFriendPreferences_Request::_internal_preferences() const { - const ::PerFriendPreferences* p = _impl_.preferences_; - return p != nullptr ? *p : reinterpret_cast( - ::_PerFriendPreferences_default_instance_); -} -inline const ::PerFriendPreferences& CPlayer_SetPerFriendPreferences_Request::preferences() const { - // @@protoc_insertion_point(field_get:CPlayer_SetPerFriendPreferences_Request.preferences) - return _internal_preferences(); -} -inline void CPlayer_SetPerFriendPreferences_Request::unsafe_arena_set_allocated_preferences( - ::PerFriendPreferences* preferences) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.preferences_); - } - _impl_.preferences_ = preferences; - if (preferences) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CPlayer_SetPerFriendPreferences_Request.preferences) -} -inline ::PerFriendPreferences* CPlayer_SetPerFriendPreferences_Request::release_preferences() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::PerFriendPreferences* temp = _impl_.preferences_; - _impl_.preferences_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::PerFriendPreferences* CPlayer_SetPerFriendPreferences_Request::unsafe_arena_release_preferences() { - // @@protoc_insertion_point(field_release:CPlayer_SetPerFriendPreferences_Request.preferences) - _impl_._has_bits_[0] &= ~0x00000001u; - ::PerFriendPreferences* temp = _impl_.preferences_; - _impl_.preferences_ = nullptr; - return temp; -} -inline ::PerFriendPreferences* CPlayer_SetPerFriendPreferences_Request::_internal_mutable_preferences() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.preferences_ == nullptr) { - auto* p = CreateMaybeMessage<::PerFriendPreferences>(GetArenaForAllocation()); - _impl_.preferences_ = p; - } - return _impl_.preferences_; -} -inline ::PerFriendPreferences* CPlayer_SetPerFriendPreferences_Request::mutable_preferences() { - ::PerFriendPreferences* _msg = _internal_mutable_preferences(); - // @@protoc_insertion_point(field_mutable:CPlayer_SetPerFriendPreferences_Request.preferences) - return _msg; -} -inline void CPlayer_SetPerFriendPreferences_Request::set_allocated_preferences(::PerFriendPreferences* preferences) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.preferences_; - } - if (preferences) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(preferences); - if (message_arena != submessage_arena) { - preferences = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, preferences, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.preferences_ = preferences; - // @@protoc_insertion_point(field_set_allocated:CPlayer_SetPerFriendPreferences_Request.preferences) -} - -// ------------------------------------------------------------------- - -// CPlayer_SetPerFriendPreferences_Response - -// ------------------------------------------------------------------- - -// CPlayer_AddFriend_Request - -// optional fixed64 steamid = 1 [(.description) = "Steam ID of user to whom to send a friend invite."]; -inline bool CPlayer_AddFriend_Request::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_AddFriend_Request::has_steamid() const { - return _internal_has_steamid(); -} -inline void CPlayer_AddFriend_Request::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CPlayer_AddFriend_Request::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CPlayer_AddFriend_Request::steamid() const { - // @@protoc_insertion_point(field_get:CPlayer_AddFriend_Request.steamid) - return _internal_steamid(); -} -inline void CPlayer_AddFriend_Request::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steamid_ = value; -} -inline void CPlayer_AddFriend_Request::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CPlayer_AddFriend_Request.steamid) -} - -// ------------------------------------------------------------------- - -// CPlayer_AddFriend_Response - -// optional bool invite_sent = 1 [(.description) = "True if the operation was successful, false otherwise."]; -inline bool CPlayer_AddFriend_Response::_internal_has_invite_sent() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_AddFriend_Response::has_invite_sent() const { - return _internal_has_invite_sent(); -} -inline void CPlayer_AddFriend_Response::clear_invite_sent() { - _impl_.invite_sent_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CPlayer_AddFriend_Response::_internal_invite_sent() const { - return _impl_.invite_sent_; -} -inline bool CPlayer_AddFriend_Response::invite_sent() const { - // @@protoc_insertion_point(field_get:CPlayer_AddFriend_Response.invite_sent) - return _internal_invite_sent(); -} -inline void CPlayer_AddFriend_Response::_internal_set_invite_sent(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.invite_sent_ = value; -} -inline void CPlayer_AddFriend_Response::set_invite_sent(bool value) { - _internal_set_invite_sent(value); - // @@protoc_insertion_point(field_set:CPlayer_AddFriend_Response.invite_sent) -} - -// optional uint32 friend_relationship = 2 [(.description) = "the resulting relationship. Depending on state, may move directly to friends rather than invite sent"]; -inline bool CPlayer_AddFriend_Response::_internal_has_friend_relationship() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPlayer_AddFriend_Response::has_friend_relationship() const { - return _internal_has_friend_relationship(); -} -inline void CPlayer_AddFriend_Response::clear_friend_relationship() { - _impl_.friend_relationship_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CPlayer_AddFriend_Response::_internal_friend_relationship() const { - return _impl_.friend_relationship_; -} -inline uint32_t CPlayer_AddFriend_Response::friend_relationship() const { - // @@protoc_insertion_point(field_get:CPlayer_AddFriend_Response.friend_relationship) - return _internal_friend_relationship(); -} -inline void CPlayer_AddFriend_Response::_internal_set_friend_relationship(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.friend_relationship_ = value; -} -inline void CPlayer_AddFriend_Response::set_friend_relationship(uint32_t value) { - _internal_set_friend_relationship(value); - // @@protoc_insertion_point(field_set:CPlayer_AddFriend_Response.friend_relationship) -} - -// ------------------------------------------------------------------- - -// CPlayer_RemoveFriend_Request - -// optional fixed64 steamid = 1 [(.description) = "Steam ID of friend to remove."]; -inline bool CPlayer_RemoveFriend_Request::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_RemoveFriend_Request::has_steamid() const { - return _internal_has_steamid(); -} -inline void CPlayer_RemoveFriend_Request::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CPlayer_RemoveFriend_Request::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CPlayer_RemoveFriend_Request::steamid() const { - // @@protoc_insertion_point(field_get:CPlayer_RemoveFriend_Request.steamid) - return _internal_steamid(); -} -inline void CPlayer_RemoveFriend_Request::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steamid_ = value; -} -inline void CPlayer_RemoveFriend_Request::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CPlayer_RemoveFriend_Request.steamid) -} - -// ------------------------------------------------------------------- - -// CPlayer_RemoveFriend_Response - -// optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; -inline bool CPlayer_RemoveFriend_Response::_internal_has_friend_relationship() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_RemoveFriend_Response::has_friend_relationship() const { - return _internal_has_friend_relationship(); -} -inline void CPlayer_RemoveFriend_Response::clear_friend_relationship() { - _impl_.friend_relationship_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CPlayer_RemoveFriend_Response::_internal_friend_relationship() const { - return _impl_.friend_relationship_; -} -inline uint32_t CPlayer_RemoveFriend_Response::friend_relationship() const { - // @@protoc_insertion_point(field_get:CPlayer_RemoveFriend_Response.friend_relationship) - return _internal_friend_relationship(); -} -inline void CPlayer_RemoveFriend_Response::_internal_set_friend_relationship(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.friend_relationship_ = value; -} -inline void CPlayer_RemoveFriend_Response::set_friend_relationship(uint32_t value) { - _internal_set_friend_relationship(value); - // @@protoc_insertion_point(field_set:CPlayer_RemoveFriend_Response.friend_relationship) -} - -// ------------------------------------------------------------------- - -// CPlayer_IgnoreFriend_Request - -// optional fixed64 steamid = 1; -inline bool CPlayer_IgnoreFriend_Request::_internal_has_steamid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_IgnoreFriend_Request::has_steamid() const { - return _internal_has_steamid(); -} -inline void CPlayer_IgnoreFriend_Request::clear_steamid() { - _impl_.steamid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CPlayer_IgnoreFriend_Request::_internal_steamid() const { - return _impl_.steamid_; -} -inline uint64_t CPlayer_IgnoreFriend_Request::steamid() const { - // @@protoc_insertion_point(field_get:CPlayer_IgnoreFriend_Request.steamid) - return _internal_steamid(); -} -inline void CPlayer_IgnoreFriend_Request::_internal_set_steamid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.steamid_ = value; -} -inline void CPlayer_IgnoreFriend_Request::set_steamid(uint64_t value) { - _internal_set_steamid(value); - // @@protoc_insertion_point(field_set:CPlayer_IgnoreFriend_Request.steamid) -} - -// optional bool unignore = 2 [(.description) = "If set, remove from ignore/block list instead of adding "]; -inline bool CPlayer_IgnoreFriend_Request::_internal_has_unignore() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPlayer_IgnoreFriend_Request::has_unignore() const { - return _internal_has_unignore(); -} -inline void CPlayer_IgnoreFriend_Request::clear_unignore() { - _impl_.unignore_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CPlayer_IgnoreFriend_Request::_internal_unignore() const { - return _impl_.unignore_; -} -inline bool CPlayer_IgnoreFriend_Request::unignore() const { - // @@protoc_insertion_point(field_get:CPlayer_IgnoreFriend_Request.unignore) - return _internal_unignore(); -} -inline void CPlayer_IgnoreFriend_Request::_internal_set_unignore(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.unignore_ = value; -} -inline void CPlayer_IgnoreFriend_Request::set_unignore(bool value) { - _internal_set_unignore(value); - // @@protoc_insertion_point(field_set:CPlayer_IgnoreFriend_Request.unignore) -} - -// ------------------------------------------------------------------- - -// CPlayer_IgnoreFriend_Response - -// optional uint32 friend_relationship = 1 [(.description) = "the resulting relationship"]; -inline bool CPlayer_IgnoreFriend_Response::_internal_has_friend_relationship() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_IgnoreFriend_Response::has_friend_relationship() const { - return _internal_has_friend_relationship(); -} -inline void CPlayer_IgnoreFriend_Response::clear_friend_relationship() { - _impl_.friend_relationship_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CPlayer_IgnoreFriend_Response::_internal_friend_relationship() const { - return _impl_.friend_relationship_; -} -inline uint32_t CPlayer_IgnoreFriend_Response::friend_relationship() const { - // @@protoc_insertion_point(field_get:CPlayer_IgnoreFriend_Response.friend_relationship) - return _internal_friend_relationship(); -} -inline void CPlayer_IgnoreFriend_Response::_internal_set_friend_relationship(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.friend_relationship_ = value; -} -inline void CPlayer_IgnoreFriend_Response::set_friend_relationship(uint32_t value) { - _internal_set_friend_relationship(value); - // @@protoc_insertion_point(field_set:CPlayer_IgnoreFriend_Response.friend_relationship) -} - -// ------------------------------------------------------------------- - -// CPlayer_GetCommunityPreferences_Request - -// ------------------------------------------------------------------- - -// CPlayer_CommunityPreferences - -// optional bool hide_adult_content_violence = 1 [default = true]; -inline bool CPlayer_CommunityPreferences::_internal_has_hide_adult_content_violence() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CPlayer_CommunityPreferences::has_hide_adult_content_violence() const { - return _internal_has_hide_adult_content_violence(); -} -inline void CPlayer_CommunityPreferences::clear_hide_adult_content_violence() { - _impl_.hide_adult_content_violence_ = true; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CPlayer_CommunityPreferences::_internal_hide_adult_content_violence() const { - return _impl_.hide_adult_content_violence_; -} -inline bool CPlayer_CommunityPreferences::hide_adult_content_violence() const { - // @@protoc_insertion_point(field_get:CPlayer_CommunityPreferences.hide_adult_content_violence) - return _internal_hide_adult_content_violence(); -} -inline void CPlayer_CommunityPreferences::_internal_set_hide_adult_content_violence(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.hide_adult_content_violence_ = value; -} -inline void CPlayer_CommunityPreferences::set_hide_adult_content_violence(bool value) { - _internal_set_hide_adult_content_violence(value); - // @@protoc_insertion_point(field_set:CPlayer_CommunityPreferences.hide_adult_content_violence) -} - -// optional bool hide_adult_content_sex = 2 [default = true]; -inline bool CPlayer_CommunityPreferences::_internal_has_hide_adult_content_sex() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CPlayer_CommunityPreferences::has_hide_adult_content_sex() const { - return _internal_has_hide_adult_content_sex(); -} -inline void CPlayer_CommunityPreferences::clear_hide_adult_content_sex() { - _impl_.hide_adult_content_sex_ = true; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CPlayer_CommunityPreferences::_internal_hide_adult_content_sex() const { - return _impl_.hide_adult_content_sex_; -} -inline bool CPlayer_CommunityPreferences::hide_adult_content_sex() const { - // @@protoc_insertion_point(field_get:CPlayer_CommunityPreferences.hide_adult_content_sex) - return _internal_hide_adult_content_sex(); -} -inline void CPlayer_CommunityPreferences::_internal_set_hide_adult_content_sex(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.hide_adult_content_sex_ = value; -} -inline void CPlayer_CommunityPreferences::set_hide_adult_content_sex(bool value) { - _internal_set_hide_adult_content_sex(value); - // @@protoc_insertion_point(field_set:CPlayer_CommunityPreferences.hide_adult_content_sex) -} - -// optional bool parenthesize_nicknames = 4 [default = false]; -inline bool CPlayer_CommunityPreferences::_internal_has_parenthesize_nicknames() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPlayer_CommunityPreferences::has_parenthesize_nicknames() const { - return _internal_has_parenthesize_nicknames(); -} -inline void CPlayer_CommunityPreferences::clear_parenthesize_nicknames() { - _impl_.parenthesize_nicknames_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CPlayer_CommunityPreferences::_internal_parenthesize_nicknames() const { - return _impl_.parenthesize_nicknames_; -} -inline bool CPlayer_CommunityPreferences::parenthesize_nicknames() const { - // @@protoc_insertion_point(field_get:CPlayer_CommunityPreferences.parenthesize_nicknames) - return _internal_parenthesize_nicknames(); -} -inline void CPlayer_CommunityPreferences::_internal_set_parenthesize_nicknames(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.parenthesize_nicknames_ = value; -} -inline void CPlayer_CommunityPreferences::set_parenthesize_nicknames(bool value) { - _internal_set_parenthesize_nicknames(value); - // @@protoc_insertion_point(field_set:CPlayer_CommunityPreferences.parenthesize_nicknames) -} - -// optional uint32 timestamp_updated = 3; -inline bool CPlayer_CommunityPreferences::_internal_has_timestamp_updated() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_CommunityPreferences::has_timestamp_updated() const { - return _internal_has_timestamp_updated(); -} -inline void CPlayer_CommunityPreferences::clear_timestamp_updated() { - _impl_.timestamp_updated_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CPlayer_CommunityPreferences::_internal_timestamp_updated() const { - return _impl_.timestamp_updated_; -} -inline uint32_t CPlayer_CommunityPreferences::timestamp_updated() const { - // @@protoc_insertion_point(field_get:CPlayer_CommunityPreferences.timestamp_updated) - return _internal_timestamp_updated(); -} -inline void CPlayer_CommunityPreferences::_internal_set_timestamp_updated(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.timestamp_updated_ = value; -} -inline void CPlayer_CommunityPreferences::set_timestamp_updated(uint32_t value) { - _internal_set_timestamp_updated(value); - // @@protoc_insertion_point(field_set:CPlayer_CommunityPreferences.timestamp_updated) -} - -// ------------------------------------------------------------------- - -// CPlayer_GetCommunityPreferences_Response - -// optional .CPlayer_CommunityPreferences preferences = 1; -inline bool CPlayer_GetCommunityPreferences_Response::_internal_has_preferences() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.preferences_ != nullptr); - return value; -} -inline bool CPlayer_GetCommunityPreferences_Response::has_preferences() const { - return _internal_has_preferences(); -} -inline void CPlayer_GetCommunityPreferences_Response::clear_preferences() { - if (_impl_.preferences_ != nullptr) _impl_.preferences_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CPlayer_CommunityPreferences& CPlayer_GetCommunityPreferences_Response::_internal_preferences() const { - const ::CPlayer_CommunityPreferences* p = _impl_.preferences_; - return p != nullptr ? *p : reinterpret_cast( - ::_CPlayer_CommunityPreferences_default_instance_); -} -inline const ::CPlayer_CommunityPreferences& CPlayer_GetCommunityPreferences_Response::preferences() const { - // @@protoc_insertion_point(field_get:CPlayer_GetCommunityPreferences_Response.preferences) - return _internal_preferences(); -} -inline void CPlayer_GetCommunityPreferences_Response::unsafe_arena_set_allocated_preferences( - ::CPlayer_CommunityPreferences* preferences) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.preferences_); - } - _impl_.preferences_ = preferences; - if (preferences) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CPlayer_GetCommunityPreferences_Response.preferences) -} -inline ::CPlayer_CommunityPreferences* CPlayer_GetCommunityPreferences_Response::release_preferences() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CPlayer_CommunityPreferences* temp = _impl_.preferences_; - _impl_.preferences_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CPlayer_CommunityPreferences* CPlayer_GetCommunityPreferences_Response::unsafe_arena_release_preferences() { - // @@protoc_insertion_point(field_release:CPlayer_GetCommunityPreferences_Response.preferences) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CPlayer_CommunityPreferences* temp = _impl_.preferences_; - _impl_.preferences_ = nullptr; - return temp; -} -inline ::CPlayer_CommunityPreferences* CPlayer_GetCommunityPreferences_Response::_internal_mutable_preferences() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.preferences_ == nullptr) { - auto* p = CreateMaybeMessage<::CPlayer_CommunityPreferences>(GetArenaForAllocation()); - _impl_.preferences_ = p; - } - return _impl_.preferences_; -} -inline ::CPlayer_CommunityPreferences* CPlayer_GetCommunityPreferences_Response::mutable_preferences() { - ::CPlayer_CommunityPreferences* _msg = _internal_mutable_preferences(); - // @@protoc_insertion_point(field_mutable:CPlayer_GetCommunityPreferences_Response.preferences) - return _msg; -} -inline void CPlayer_GetCommunityPreferences_Response::set_allocated_preferences(::CPlayer_CommunityPreferences* preferences) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.preferences_; - } - if (preferences) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(preferences); - if (message_arena != submessage_arena) { - preferences = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, preferences, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.preferences_ = preferences; - // @@protoc_insertion_point(field_set_allocated:CPlayer_GetCommunityPreferences_Response.preferences) -} - -// ------------------------------------------------------------------- - -// CPlayer_SetCommunityPreferences_Request - -// optional .CPlayer_CommunityPreferences preferences = 1; -inline bool CPlayer_SetCommunityPreferences_Request::_internal_has_preferences() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.preferences_ != nullptr); - return value; -} -inline bool CPlayer_SetCommunityPreferences_Request::has_preferences() const { - return _internal_has_preferences(); -} -inline void CPlayer_SetCommunityPreferences_Request::clear_preferences() { - if (_impl_.preferences_ != nullptr) _impl_.preferences_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CPlayer_CommunityPreferences& CPlayer_SetCommunityPreferences_Request::_internal_preferences() const { - const ::CPlayer_CommunityPreferences* p = _impl_.preferences_; - return p != nullptr ? *p : reinterpret_cast( - ::_CPlayer_CommunityPreferences_default_instance_); -} -inline const ::CPlayer_CommunityPreferences& CPlayer_SetCommunityPreferences_Request::preferences() const { - // @@protoc_insertion_point(field_get:CPlayer_SetCommunityPreferences_Request.preferences) - return _internal_preferences(); -} -inline void CPlayer_SetCommunityPreferences_Request::unsafe_arena_set_allocated_preferences( - ::CPlayer_CommunityPreferences* preferences) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.preferences_); - } - _impl_.preferences_ = preferences; - if (preferences) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CPlayer_SetCommunityPreferences_Request.preferences) -} -inline ::CPlayer_CommunityPreferences* CPlayer_SetCommunityPreferences_Request::release_preferences() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CPlayer_CommunityPreferences* temp = _impl_.preferences_; - _impl_.preferences_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CPlayer_CommunityPreferences* CPlayer_SetCommunityPreferences_Request::unsafe_arena_release_preferences() { - // @@protoc_insertion_point(field_release:CPlayer_SetCommunityPreferences_Request.preferences) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CPlayer_CommunityPreferences* temp = _impl_.preferences_; - _impl_.preferences_ = nullptr; - return temp; -} -inline ::CPlayer_CommunityPreferences* CPlayer_SetCommunityPreferences_Request::_internal_mutable_preferences() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.preferences_ == nullptr) { - auto* p = CreateMaybeMessage<::CPlayer_CommunityPreferences>(GetArenaForAllocation()); - _impl_.preferences_ = p; - } - return _impl_.preferences_; -} -inline ::CPlayer_CommunityPreferences* CPlayer_SetCommunityPreferences_Request::mutable_preferences() { - ::CPlayer_CommunityPreferences* _msg = _internal_mutable_preferences(); - // @@protoc_insertion_point(field_mutable:CPlayer_SetCommunityPreferences_Request.preferences) - return _msg; -} -inline void CPlayer_SetCommunityPreferences_Request::set_allocated_preferences(::CPlayer_CommunityPreferences* preferences) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.preferences_; - } - if (preferences) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(preferences); - if (message_arena != submessage_arena) { - preferences = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, preferences, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.preferences_ = preferences; - // @@protoc_insertion_point(field_set_allocated:CPlayer_SetCommunityPreferences_Request.preferences) -} - -// ------------------------------------------------------------------- - -// CPlayer_SetCommunityPreferences_Response - -// ------------------------------------------------------------------- - -// CPlayer_GetNewSteamAnnouncementState_Request - -// optional int32 language = 1; -inline bool CPlayer_GetNewSteamAnnouncementState_Request::_internal_has_language() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_GetNewSteamAnnouncementState_Request::has_language() const { - return _internal_has_language(); -} -inline void CPlayer_GetNewSteamAnnouncementState_Request::clear_language() { - _impl_.language_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CPlayer_GetNewSteamAnnouncementState_Request::_internal_language() const { - return _impl_.language_; -} -inline int32_t CPlayer_GetNewSteamAnnouncementState_Request::language() const { - // @@protoc_insertion_point(field_get:CPlayer_GetNewSteamAnnouncementState_Request.language) - return _internal_language(); -} -inline void CPlayer_GetNewSteamAnnouncementState_Request::_internal_set_language(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.language_ = value; -} -inline void CPlayer_GetNewSteamAnnouncementState_Request::set_language(int32_t value) { - _internal_set_language(value); - // @@protoc_insertion_point(field_set:CPlayer_GetNewSteamAnnouncementState_Request.language) -} - -// ------------------------------------------------------------------- - -// CPlayer_GetNewSteamAnnouncementState_Response - -// optional int32 state = 1; -inline bool CPlayer_GetNewSteamAnnouncementState_Response::_internal_has_state() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CPlayer_GetNewSteamAnnouncementState_Response::has_state() const { - return _internal_has_state(); -} -inline void CPlayer_GetNewSteamAnnouncementState_Response::clear_state() { - _impl_.state_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CPlayer_GetNewSteamAnnouncementState_Response::_internal_state() const { - return _impl_.state_; -} -inline int32_t CPlayer_GetNewSteamAnnouncementState_Response::state() const { - // @@protoc_insertion_point(field_get:CPlayer_GetNewSteamAnnouncementState_Response.state) - return _internal_state(); -} -inline void CPlayer_GetNewSteamAnnouncementState_Response::_internal_set_state(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.state_ = value; -} -inline void CPlayer_GetNewSteamAnnouncementState_Response::set_state(int32_t value) { - _internal_set_state(value); - // @@protoc_insertion_point(field_set:CPlayer_GetNewSteamAnnouncementState_Response.state) -} - -// optional string announcement_headline = 2; -inline bool CPlayer_GetNewSteamAnnouncementState_Response::_internal_has_announcement_headline() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_GetNewSteamAnnouncementState_Response::has_announcement_headline() const { - return _internal_has_announcement_headline(); -} -inline void CPlayer_GetNewSteamAnnouncementState_Response::clear_announcement_headline() { - _impl_.announcement_headline_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CPlayer_GetNewSteamAnnouncementState_Response::announcement_headline() const { - // @@protoc_insertion_point(field_get:CPlayer_GetNewSteamAnnouncementState_Response.announcement_headline) - return _internal_announcement_headline(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPlayer_GetNewSteamAnnouncementState_Response::set_announcement_headline(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.announcement_headline_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPlayer_GetNewSteamAnnouncementState_Response.announcement_headline) -} -inline std::string* CPlayer_GetNewSteamAnnouncementState_Response::mutable_announcement_headline() { - std::string* _s = _internal_mutable_announcement_headline(); - // @@protoc_insertion_point(field_mutable:CPlayer_GetNewSteamAnnouncementState_Response.announcement_headline) - return _s; -} -inline const std::string& CPlayer_GetNewSteamAnnouncementState_Response::_internal_announcement_headline() const { - return _impl_.announcement_headline_.Get(); -} -inline void CPlayer_GetNewSteamAnnouncementState_Response::_internal_set_announcement_headline(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.announcement_headline_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPlayer_GetNewSteamAnnouncementState_Response::_internal_mutable_announcement_headline() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.announcement_headline_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPlayer_GetNewSteamAnnouncementState_Response::release_announcement_headline() { - // @@protoc_insertion_point(field_release:CPlayer_GetNewSteamAnnouncementState_Response.announcement_headline) - if (!_internal_has_announcement_headline()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.announcement_headline_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.announcement_headline_.IsDefault()) { - _impl_.announcement_headline_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPlayer_GetNewSteamAnnouncementState_Response::set_allocated_announcement_headline(std::string* announcement_headline) { - if (announcement_headline != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.announcement_headline_.SetAllocated(announcement_headline, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.announcement_headline_.IsDefault()) { - _impl_.announcement_headline_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPlayer_GetNewSteamAnnouncementState_Response.announcement_headline) -} - -// optional string announcement_url = 3; -inline bool CPlayer_GetNewSteamAnnouncementState_Response::_internal_has_announcement_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPlayer_GetNewSteamAnnouncementState_Response::has_announcement_url() const { - return _internal_has_announcement_url(); -} -inline void CPlayer_GetNewSteamAnnouncementState_Response::clear_announcement_url() { - _impl_.announcement_url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CPlayer_GetNewSteamAnnouncementState_Response::announcement_url() const { - // @@protoc_insertion_point(field_get:CPlayer_GetNewSteamAnnouncementState_Response.announcement_url) - return _internal_announcement_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPlayer_GetNewSteamAnnouncementState_Response::set_announcement_url(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.announcement_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPlayer_GetNewSteamAnnouncementState_Response.announcement_url) -} -inline std::string* CPlayer_GetNewSteamAnnouncementState_Response::mutable_announcement_url() { - std::string* _s = _internal_mutable_announcement_url(); - // @@protoc_insertion_point(field_mutable:CPlayer_GetNewSteamAnnouncementState_Response.announcement_url) - return _s; -} -inline const std::string& CPlayer_GetNewSteamAnnouncementState_Response::_internal_announcement_url() const { - return _impl_.announcement_url_.Get(); -} -inline void CPlayer_GetNewSteamAnnouncementState_Response::_internal_set_announcement_url(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.announcement_url_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPlayer_GetNewSteamAnnouncementState_Response::_internal_mutable_announcement_url() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.announcement_url_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPlayer_GetNewSteamAnnouncementState_Response::release_announcement_url() { - // @@protoc_insertion_point(field_release:CPlayer_GetNewSteamAnnouncementState_Response.announcement_url) - if (!_internal_has_announcement_url()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.announcement_url_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.announcement_url_.IsDefault()) { - _impl_.announcement_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPlayer_GetNewSteamAnnouncementState_Response::set_allocated_announcement_url(std::string* announcement_url) { - if (announcement_url != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.announcement_url_.SetAllocated(announcement_url, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.announcement_url_.IsDefault()) { - _impl_.announcement_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPlayer_GetNewSteamAnnouncementState_Response.announcement_url) -} - -// optional uint32 time_posted = 4; -inline bool CPlayer_GetNewSteamAnnouncementState_Response::_internal_has_time_posted() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CPlayer_GetNewSteamAnnouncementState_Response::has_time_posted() const { - return _internal_has_time_posted(); -} -inline void CPlayer_GetNewSteamAnnouncementState_Response::clear_time_posted() { - _impl_.time_posted_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CPlayer_GetNewSteamAnnouncementState_Response::_internal_time_posted() const { - return _impl_.time_posted_; -} -inline uint32_t CPlayer_GetNewSteamAnnouncementState_Response::time_posted() const { - // @@protoc_insertion_point(field_get:CPlayer_GetNewSteamAnnouncementState_Response.time_posted) - return _internal_time_posted(); -} -inline void CPlayer_GetNewSteamAnnouncementState_Response::_internal_set_time_posted(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.time_posted_ = value; -} -inline void CPlayer_GetNewSteamAnnouncementState_Response::set_time_posted(uint32_t value) { - _internal_set_time_posted(value); - // @@protoc_insertion_point(field_set:CPlayer_GetNewSteamAnnouncementState_Response.time_posted) -} - -// optional uint64 announcement_gid = 5; -inline bool CPlayer_GetNewSteamAnnouncementState_Response::_internal_has_announcement_gid() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CPlayer_GetNewSteamAnnouncementState_Response::has_announcement_gid() const { - return _internal_has_announcement_gid(); -} -inline void CPlayer_GetNewSteamAnnouncementState_Response::clear_announcement_gid() { - _impl_.announcement_gid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CPlayer_GetNewSteamAnnouncementState_Response::_internal_announcement_gid() const { - return _impl_.announcement_gid_; -} -inline uint64_t CPlayer_GetNewSteamAnnouncementState_Response::announcement_gid() const { - // @@protoc_insertion_point(field_get:CPlayer_GetNewSteamAnnouncementState_Response.announcement_gid) - return _internal_announcement_gid(); -} -inline void CPlayer_GetNewSteamAnnouncementState_Response::_internal_set_announcement_gid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.announcement_gid_ = value; -} -inline void CPlayer_GetNewSteamAnnouncementState_Response::set_announcement_gid(uint64_t value) { - _internal_set_announcement_gid(value); - // @@protoc_insertion_point(field_set:CPlayer_GetNewSteamAnnouncementState_Response.announcement_gid) -} - -// ------------------------------------------------------------------- - -// CPlayer_UpdateSteamAnnouncementLastRead_Request - -// optional uint64 announcement_gid = 1; -inline bool CPlayer_UpdateSteamAnnouncementLastRead_Request::_internal_has_announcement_gid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPlayer_UpdateSteamAnnouncementLastRead_Request::has_announcement_gid() const { - return _internal_has_announcement_gid(); -} -inline void CPlayer_UpdateSteamAnnouncementLastRead_Request::clear_announcement_gid() { - _impl_.announcement_gid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CPlayer_UpdateSteamAnnouncementLastRead_Request::_internal_announcement_gid() const { - return _impl_.announcement_gid_; -} -inline uint64_t CPlayer_UpdateSteamAnnouncementLastRead_Request::announcement_gid() const { - // @@protoc_insertion_point(field_get:CPlayer_UpdateSteamAnnouncementLastRead_Request.announcement_gid) - return _internal_announcement_gid(); -} -inline void CPlayer_UpdateSteamAnnouncementLastRead_Request::_internal_set_announcement_gid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.announcement_gid_ = value; -} -inline void CPlayer_UpdateSteamAnnouncementLastRead_Request::set_announcement_gid(uint64_t value) { - _internal_set_announcement_gid(value); - // @@protoc_insertion_point(field_set:CPlayer_UpdateSteamAnnouncementLastRead_Request.announcement_gid) -} - -// optional uint32 time_posted = 2; -inline bool CPlayer_UpdateSteamAnnouncementLastRead_Request::_internal_has_time_posted() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPlayer_UpdateSteamAnnouncementLastRead_Request::has_time_posted() const { - return _internal_has_time_posted(); -} -inline void CPlayer_UpdateSteamAnnouncementLastRead_Request::clear_time_posted() { - _impl_.time_posted_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CPlayer_UpdateSteamAnnouncementLastRead_Request::_internal_time_posted() const { - return _impl_.time_posted_; -} -inline uint32_t CPlayer_UpdateSteamAnnouncementLastRead_Request::time_posted() const { - // @@protoc_insertion_point(field_get:CPlayer_UpdateSteamAnnouncementLastRead_Request.time_posted) - return _internal_time_posted(); -} -inline void CPlayer_UpdateSteamAnnouncementLastRead_Request::_internal_set_time_posted(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.time_posted_ = value; -} -inline void CPlayer_UpdateSteamAnnouncementLastRead_Request::set_time_posted(uint32_t value) { - _internal_set_time_posted(value); - // @@protoc_insertion_point(field_set:CPlayer_UpdateSteamAnnouncementLastRead_Request.time_posted) -} - -// ------------------------------------------------------------------- - -// CPlayer_UpdateSteamAnnouncementLastRead_Response - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::ENotificationSetting> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ENotificationSetting>() { - return ::ENotificationSetting_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steammessages_5fplayer_2esteamworkssdk_2eproto diff --git a/protobuf/generated/steammessages_publishedfile.steamworkssdk.pb.cc b/protobuf/generated/steammessages_publishedfile.steamworkssdk.pb.cc deleted file mode 100644 index 2575f9833..000000000 --- a/protobuf/generated/steammessages_publishedfile.steamworkssdk.pb.cc +++ /dev/null @@ -1,9521 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steammessages_publishedfile.steamworkssdk.proto - -#include "steammessages_publishedfile.steamworkssdk.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CPublishedFile_Subscribe_Request::CPublishedFile_Subscribe_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.publishedfileid_)*/uint64_t{0u} - , /*decltype(_impl_.list_type_)*/0u - , /*decltype(_impl_.appid_)*/0 - , /*decltype(_impl_.notify_client_)*/false} {} -struct CPublishedFile_Subscribe_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPublishedFile_Subscribe_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPublishedFile_Subscribe_RequestDefaultTypeInternal() {} - union { - CPublishedFile_Subscribe_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_Subscribe_RequestDefaultTypeInternal _CPublishedFile_Subscribe_Request_default_instance_; -PROTOBUF_CONSTEXPR CPublishedFile_Subscribe_Response::CPublishedFile_Subscribe_Response( - ::_pbi::ConstantInitialized) {} -struct CPublishedFile_Subscribe_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPublishedFile_Subscribe_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPublishedFile_Subscribe_ResponseDefaultTypeInternal() {} - union { - CPublishedFile_Subscribe_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_Subscribe_ResponseDefaultTypeInternal _CPublishedFile_Subscribe_Response_default_instance_; -PROTOBUF_CONSTEXPR CPublishedFile_Unsubscribe_Request::CPublishedFile_Unsubscribe_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.publishedfileid_)*/uint64_t{0u} - , /*decltype(_impl_.list_type_)*/0u - , /*decltype(_impl_.appid_)*/0 - , /*decltype(_impl_.notify_client_)*/false} {} -struct CPublishedFile_Unsubscribe_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPublishedFile_Unsubscribe_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPublishedFile_Unsubscribe_RequestDefaultTypeInternal() {} - union { - CPublishedFile_Unsubscribe_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_Unsubscribe_RequestDefaultTypeInternal _CPublishedFile_Unsubscribe_Request_default_instance_; -PROTOBUF_CONSTEXPR CPublishedFile_Unsubscribe_Response::CPublishedFile_Unsubscribe_Response( - ::_pbi::ConstantInitialized) {} -struct CPublishedFile_Unsubscribe_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPublishedFile_Unsubscribe_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPublishedFile_Unsubscribe_ResponseDefaultTypeInternal() {} - union { - CPublishedFile_Unsubscribe_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_Unsubscribe_ResponseDefaultTypeInternal _CPublishedFile_Unsubscribe_Response_default_instance_; -PROTOBUF_CONSTEXPR CPublishedFile_Publish_Request::CPublishedFile_Publish_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.tags_)*/{} - , /*decltype(_impl_.cloudfilename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.preview_cloudfilename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.file_description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.consumer_shortcut_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.youtube_username_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.youtube_videoid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.redirect_uri_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.collection_type_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.game_type_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.consumer_appid_)*/0u - , /*decltype(_impl_.file_type_)*/0u - , /*decltype(_impl_.visibility_)*/0u} {} -struct CPublishedFile_Publish_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPublishedFile_Publish_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPublishedFile_Publish_RequestDefaultTypeInternal() {} - union { - CPublishedFile_Publish_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_Publish_RequestDefaultTypeInternal _CPublishedFile_Publish_Request_default_instance_; -PROTOBUF_CONSTEXPR CPublishedFile_Publish_Response::CPublishedFile_Publish_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.redirect_uri_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.publishedfileid_)*/uint64_t{0u}} {} -struct CPublishedFile_Publish_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPublishedFile_Publish_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPublishedFile_Publish_ResponseDefaultTypeInternal() {} - union { - CPublishedFile_Publish_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_Publish_ResponseDefaultTypeInternal _CPublishedFile_Publish_Response_default_instance_; -PROTOBUF_CONSTEXPR CPublishedFile_GetDetails_Request::CPublishedFile_GetDetails_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.publishedfileids_)*/{} - , /*decltype(_impl_.includetags_)*/false - , /*decltype(_impl_.includeadditionalpreviews_)*/false - , /*decltype(_impl_.includechildren_)*/false - , /*decltype(_impl_.includekvtags_)*/false - , /*decltype(_impl_.includevotes_)*/false - , /*decltype(_impl_.short_description_)*/false} {} -struct CPublishedFile_GetDetails_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPublishedFile_GetDetails_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPublishedFile_GetDetails_RequestDefaultTypeInternal() {} - union { - CPublishedFile_GetDetails_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_GetDetails_RequestDefaultTypeInternal _CPublishedFile_GetDetails_Request_default_instance_; -PROTOBUF_CONSTEXPR PublishedFileDetails_Tag::PublishedFileDetails_Tag( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.tag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.adminonly_)*/false} {} -struct PublishedFileDetails_TagDefaultTypeInternal { - PROTOBUF_CONSTEXPR PublishedFileDetails_TagDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~PublishedFileDetails_TagDefaultTypeInternal() {} - union { - PublishedFileDetails_Tag _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishedFileDetails_TagDefaultTypeInternal _PublishedFileDetails_Tag_default_instance_; -PROTOBUF_CONSTEXPR PublishedFileDetails_Preview::PublishedFileDetails_Preview( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.youtubevideoid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.previewid_)*/uint64_t{0u} - , /*decltype(_impl_.sortorder_)*/0u - , /*decltype(_impl_.size_)*/0u} {} -struct PublishedFileDetails_PreviewDefaultTypeInternal { - PROTOBUF_CONSTEXPR PublishedFileDetails_PreviewDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~PublishedFileDetails_PreviewDefaultTypeInternal() {} - union { - PublishedFileDetails_Preview _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishedFileDetails_PreviewDefaultTypeInternal _PublishedFileDetails_Preview_default_instance_; -PROTOBUF_CONSTEXPR PublishedFileDetails_Child::PublishedFileDetails_Child( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.publishedfileid_)*/uint64_t{0u} - , /*decltype(_impl_.sortorder_)*/0u - , /*decltype(_impl_.file_type_)*/0u} {} -struct PublishedFileDetails_ChildDefaultTypeInternal { - PROTOBUF_CONSTEXPR PublishedFileDetails_ChildDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~PublishedFileDetails_ChildDefaultTypeInternal() {} - union { - PublishedFileDetails_Child _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishedFileDetails_ChildDefaultTypeInternal _PublishedFileDetails_Child_default_instance_; -PROTOBUF_CONSTEXPR PublishedFileDetails_KVTag::PublishedFileDetails_KVTag( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct PublishedFileDetails_KVTagDefaultTypeInternal { - PROTOBUF_CONSTEXPR PublishedFileDetails_KVTagDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~PublishedFileDetails_KVTagDefaultTypeInternal() {} - union { - PublishedFileDetails_KVTag _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishedFileDetails_KVTagDefaultTypeInternal _PublishedFileDetails_KVTag_default_instance_; -PROTOBUF_CONSTEXPR PublishedFileDetails_VoteData::PublishedFileDetails_VoteData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.score_)*/0 - , /*decltype(_impl_.votes_up_)*/0u - , /*decltype(_impl_.votes_down_)*/0u} {} -struct PublishedFileDetails_VoteDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR PublishedFileDetails_VoteDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~PublishedFileDetails_VoteDataDefaultTypeInternal() {} - union { - PublishedFileDetails_VoteData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishedFileDetails_VoteDataDefaultTypeInternal _PublishedFileDetails_VoteData_default_instance_; -PROTOBUF_CONSTEXPR PublishedFileDetails::PublishedFileDetails( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.previews_)*/{} - , /*decltype(_impl_.tags_)*/{} - , /*decltype(_impl_.children_)*/{} - , /*decltype(_impl_.kvtags_)*/{} - , /*decltype(_impl_.filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.file_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.preview_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.youtubevideoid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.file_description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.short_description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ban_reason_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.app_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.image_url_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.shortcutname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.vote_data_)*/nullptr - , /*decltype(_impl_.publishedfileid_)*/uint64_t{0u} - , /*decltype(_impl_.result_)*/0u - , /*decltype(_impl_.creator_appid_)*/0u - , /*decltype(_impl_.creator_)*/uint64_t{0u} - , /*decltype(_impl_.consumer_appid_)*/0u - , /*decltype(_impl_.consumer_shortcutid_)*/0u - , /*decltype(_impl_.file_size_)*/uint64_t{0u} - , /*decltype(_impl_.preview_file_size_)*/uint64_t{0u} - , /*decltype(_impl_.hcontent_file_)*/uint64_t{0u} - , /*decltype(_impl_.hcontent_preview_)*/uint64_t{0u} - , /*decltype(_impl_.time_created_)*/0u - , /*decltype(_impl_.time_updated_)*/0u - , /*decltype(_impl_.visibility_)*/0u - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.workshop_file_)*/false - , /*decltype(_impl_.workshop_accepted_)*/false - , /*decltype(_impl_.show_subscribe_all_)*/false - , /*decltype(_impl_.banned_)*/false - , /*decltype(_impl_.num_comments_developer_)*/0 - , /*decltype(_impl_.banner_)*/uint64_t{0u} - , /*decltype(_impl_.num_comments_public_)*/0 - , /*decltype(_impl_.file_type_)*/0u - , /*decltype(_impl_.subscriptions_)*/0u - , /*decltype(_impl_.can_be_deleted_)*/false - , /*decltype(_impl_.incompatible_)*/false - , /*decltype(_impl_.can_subscribe_)*/false - , /*decltype(_impl_.spoiler_tag_)*/false - , /*decltype(_impl_.favorited_)*/0u - , /*decltype(_impl_.followers_)*/0u - , /*decltype(_impl_.lifetime_subscriptions_)*/0u - , /*decltype(_impl_.lifetime_favorited_)*/0u - , /*decltype(_impl_.lifetime_followers_)*/0u - , /*decltype(_impl_.views_)*/0u - , /*decltype(_impl_.image_width_)*/0u - , /*decltype(_impl_.image_height_)*/0u - , /*decltype(_impl_.shortcutid_)*/0u - , /*decltype(_impl_.num_children_)*/0u - , /*decltype(_impl_.num_reports_)*/0u - , /*decltype(_impl_.time_subscribed_)*/0u} {} -struct PublishedFileDetailsDefaultTypeInternal { - PROTOBUF_CONSTEXPR PublishedFileDetailsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~PublishedFileDetailsDefaultTypeInternal() {} - union { - PublishedFileDetails _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PublishedFileDetailsDefaultTypeInternal _PublishedFileDetails_default_instance_; -PROTOBUF_CONSTEXPR CPublishedFile_GetDetails_Response::CPublishedFile_GetDetails_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.publishedfiledetails_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CPublishedFile_GetDetails_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPublishedFile_GetDetails_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPublishedFile_GetDetails_ResponseDefaultTypeInternal() {} - union { - CPublishedFile_GetDetails_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_GetDetails_ResponseDefaultTypeInternal _CPublishedFile_GetDetails_Response_default_instance_; -PROTOBUF_CONSTEXPR CPublishedFile_GetUserFiles_Request::CPublishedFile_GetUserFiles_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.requiredtags_)*/{} - , /*decltype(_impl_.excludedtags_)*/{} - , /*decltype(_impl_.sortmethod_)*/{nullptr, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.totalonly_)*/false - , /*decltype(_impl_.ids_only_)*/false - , /*decltype(_impl_.privacy_)*/0u - , /*decltype(_impl_.page_)*/1u - , /*decltype(_impl_.numperpage_)*/1u} {} -struct CPublishedFile_GetUserFiles_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPublishedFile_GetUserFiles_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPublishedFile_GetUserFiles_RequestDefaultTypeInternal() {} - union { - CPublishedFile_GetUserFiles_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_GetUserFiles_RequestDefaultTypeInternal _CPublishedFile_GetUserFiles_Request_default_instance_; -PROTOBUF_CONSTEXPR CPublishedFile_GetUserFiles_Response_App::CPublishedFile_GetUserFiles_Response_App( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.shortcutid_)*/0u - , /*decltype(_impl_.private__)*/false} {} -struct CPublishedFile_GetUserFiles_Response_AppDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPublishedFile_GetUserFiles_Response_AppDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPublishedFile_GetUserFiles_Response_AppDefaultTypeInternal() {} - union { - CPublishedFile_GetUserFiles_Response_App _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_GetUserFiles_Response_AppDefaultTypeInternal _CPublishedFile_GetUserFiles_Response_App_default_instance_; -PROTOBUF_CONSTEXPR CPublishedFile_GetUserFiles_Response::CPublishedFile_GetUserFiles_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.publishedfiledetails_)*/{} - , /*decltype(_impl_.apps_)*/{} - , /*decltype(_impl_.total_)*/0u - , /*decltype(_impl_.startindex_)*/0u} {} -struct CPublishedFile_GetUserFiles_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPublishedFile_GetUserFiles_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPublishedFile_GetUserFiles_ResponseDefaultTypeInternal() {} - union { - CPublishedFile_GetUserFiles_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_GetUserFiles_ResponseDefaultTypeInternal _CPublishedFile_GetUserFiles_Response_default_instance_; -PROTOBUF_CONSTEXPR CPublishedFile_Update_Request::CPublishedFile_Update_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.tags_)*/{} - , /*decltype(_impl_.title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.file_description_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.preview_filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.publishedfileid_)*/uint64_t{0u} - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.visibility_)*/0u} {} -struct CPublishedFile_Update_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPublishedFile_Update_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPublishedFile_Update_RequestDefaultTypeInternal() {} - union { - CPublishedFile_Update_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_Update_RequestDefaultTypeInternal _CPublishedFile_Update_Request_default_instance_; -PROTOBUF_CONSTEXPR CPublishedFile_Update_Response::CPublishedFile_Update_Response( - ::_pbi::ConstantInitialized) {} -struct CPublishedFile_Update_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPublishedFile_Update_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPublishedFile_Update_ResponseDefaultTypeInternal() {} - union { - CPublishedFile_Update_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_Update_ResponseDefaultTypeInternal _CPublishedFile_Update_Response_default_instance_; -PROTOBUF_CONSTEXPR CPublishedFile_RefreshVotingQueue_Request::CPublishedFile_RefreshVotingQueue_Request( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.tags_)*/{} - , /*decltype(_impl_.excluded_tags_)*/{} - , /*decltype(_impl_.appid_)*/0u - , /*decltype(_impl_.matching_file_type_)*/0u - , /*decltype(_impl_.desired_queue_size_)*/0u - , /*decltype(_impl_.match_all_tags_)*/true} {} -struct CPublishedFile_RefreshVotingQueue_RequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPublishedFile_RefreshVotingQueue_RequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPublishedFile_RefreshVotingQueue_RequestDefaultTypeInternal() {} - union { - CPublishedFile_RefreshVotingQueue_Request _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_RefreshVotingQueue_RequestDefaultTypeInternal _CPublishedFile_RefreshVotingQueue_Request_default_instance_; -PROTOBUF_CONSTEXPR CPublishedFile_RefreshVotingQueue_Response::CPublishedFile_RefreshVotingQueue_Response( - ::_pbi::ConstantInitialized) {} -struct CPublishedFile_RefreshVotingQueue_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CPublishedFile_RefreshVotingQueue_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CPublishedFile_RefreshVotingQueue_ResponseDefaultTypeInternal() {} - union { - CPublishedFile_RefreshVotingQueue_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CPublishedFile_RefreshVotingQueue_ResponseDefaultTypeInternal _CPublishedFile_RefreshVotingQueue_Response_default_instance_; -static ::_pb::Metadata file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[21]; -static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_steammessages_5fpublishedfile_2esteamworkssdk_2eproto = nullptr; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steammessages_5fpublishedfile_2esteamworkssdk_2eproto = nullptr; - -const uint32_t TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Subscribe_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Subscribe_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Subscribe_Request, _impl_.publishedfileid_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Subscribe_Request, _impl_.list_type_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Subscribe_Request, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Subscribe_Request, _impl_.notify_client_), - 0, - 1, - 2, - 3, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Subscribe_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Unsubscribe_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Unsubscribe_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Unsubscribe_Request, _impl_.publishedfileid_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Unsubscribe_Request, _impl_.list_type_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Unsubscribe_Request, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Unsubscribe_Request, _impl_.notify_client_), - 0, - 1, - 2, - 3, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Unsubscribe_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.consumer_appid_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.cloudfilename_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.preview_cloudfilename_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.title_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.file_description_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.file_type_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.consumer_shortcut_name_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.youtube_username_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.youtube_videoid_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.visibility_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.redirect_uri_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.tags_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.collection_type_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.game_type_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Request, _impl_.url_), - 11, - 12, - 0, - 1, - 2, - 3, - 13, - 4, - 5, - 6, - 14, - 7, - ~0u, - 8, - 9, - 10, - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Response, _impl_.publishedfileid_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Publish_Response, _impl_.redirect_uri_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Request, _impl_.publishedfileids_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Request, _impl_.includetags_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Request, _impl_.includeadditionalpreviews_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Request, _impl_.includechildren_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Request, _impl_.includekvtags_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Request, _impl_.includevotes_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Request, _impl_.short_description_), - ~0u, - 0, - 1, - 2, - 3, - 4, - 5, - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Tag, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Tag, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Tag, _impl_.tag_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Tag, _impl_.adminonly_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Preview, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Preview, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Preview, _impl_.previewid_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Preview, _impl_.sortorder_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Preview, _impl_.url_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Preview, _impl_.size_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Preview, _impl_.filename_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Preview, _impl_.youtubevideoid_), - 3, - 4, - 0, - 5, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Child, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Child, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Child, _impl_.publishedfileid_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Child, _impl_.sortorder_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_Child, _impl_.file_type_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_KVTag, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_KVTag, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_KVTag, _impl_.key_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_KVTag, _impl_.value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_VoteData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_VoteData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_VoteData, _impl_.score_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_VoteData, _impl_.votes_up_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails_VoteData, _impl_.votes_down_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.result_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.publishedfileid_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.creator_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.creator_appid_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.consumer_appid_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.consumer_shortcutid_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.filename_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.file_size_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.preview_file_size_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.file_url_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.preview_url_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.youtubevideoid_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.url_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.hcontent_file_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.hcontent_preview_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.title_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.file_description_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.short_description_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.time_created_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.time_updated_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.visibility_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.workshop_file_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.workshop_accepted_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.show_subscribe_all_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.num_comments_developer_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.num_comments_public_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.banned_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.ban_reason_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.banner_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.can_be_deleted_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.incompatible_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.app_name_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.file_type_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.can_subscribe_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.subscriptions_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.favorited_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.followers_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.lifetime_subscriptions_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.lifetime_favorited_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.lifetime_followers_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.views_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.image_width_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.image_height_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.image_url_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.spoiler_tag_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.shortcutid_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.shortcutname_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.num_children_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.num_reports_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.previews_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.tags_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.children_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.kvtags_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.vote_data_), - PROTOBUF_FIELD_OFFSET(::PublishedFileDetails, _impl_.time_subscribed_), - 14, - 13, - 16, - 15, - 17, - 18, - 0, - 19, - 20, - 1, - 2, - 3, - 4, - 21, - 22, - 5, - 6, - 7, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 31, - 33, - 30, - 8, - 32, - 36, - 37, - 9, - 34, - 38, - 35, - 40, - 41, - 42, - 43, - 44, - 45, - 46, - 47, - 10, - 39, - 48, - 11, - 49, - 50, - ~0u, - ~0u, - ~0u, - ~0u, - 12, - 51, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetDetails_Response, _impl_.publishedfiledetails_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_.page_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_.numperpage_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_.sortmethod_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_.totalonly_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_.privacy_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_.ids_only_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_.requiredtags_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Request, _impl_.excludedtags_), - 1, - 5, - 6, - 0, - 2, - 4, - 3, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response_App, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response_App, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response_App, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response_App, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response_App, _impl_.shortcutid_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response_App, _impl_.private__), - 1, - 0, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response, _impl_.total_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response, _impl_.startindex_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response, _impl_.publishedfiledetails_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_GetUserFiles_Response, _impl_.apps_), - 0, - 1, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _impl_.publishedfileid_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _impl_.title_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _impl_.file_description_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _impl_.visibility_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _impl_.tags_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _impl_.filename_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Request, _impl_.preview_filename_), - 5, - 4, - 0, - 1, - 6, - ~0u, - 2, - 3, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_Update_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_RefreshVotingQueue_Request, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_RefreshVotingQueue_Request, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_RefreshVotingQueue_Request, _impl_.appid_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_RefreshVotingQueue_Request, _impl_.matching_file_type_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_RefreshVotingQueue_Request, _impl_.tags_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_RefreshVotingQueue_Request, _impl_.match_all_tags_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_RefreshVotingQueue_Request, _impl_.excluded_tags_), - PROTOBUF_FIELD_OFFSET(::CPublishedFile_RefreshVotingQueue_Request, _impl_.desired_queue_size_), - 0, - 1, - ~0u, - 3, - ~0u, - 2, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CPublishedFile_RefreshVotingQueue_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 10, -1, sizeof(::CPublishedFile_Subscribe_Request)}, - { 14, -1, -1, sizeof(::CPublishedFile_Subscribe_Response)}, - { 20, 30, -1, sizeof(::CPublishedFile_Unsubscribe_Request)}, - { 34, -1, -1, sizeof(::CPublishedFile_Unsubscribe_Response)}, - { 40, 62, -1, sizeof(::CPublishedFile_Publish_Request)}, - { 78, 86, -1, sizeof(::CPublishedFile_Publish_Response)}, - { 88, 101, -1, sizeof(::CPublishedFile_GetDetails_Request)}, - { 108, 116, -1, sizeof(::PublishedFileDetails_Tag)}, - { 118, 130, -1, sizeof(::PublishedFileDetails_Preview)}, - { 136, 145, -1, sizeof(::PublishedFileDetails_Child)}, - { 148, 156, -1, sizeof(::PublishedFileDetails_KVTag)}, - { 158, 167, -1, sizeof(::PublishedFileDetails_VoteData)}, - { 170, 232, -1, sizeof(::PublishedFileDetails)}, - { 288, -1, -1, sizeof(::CPublishedFile_GetDetails_Response)}, - { 295, 310, -1, sizeof(::CPublishedFile_GetUserFiles_Request)}, - { 319, 329, -1, sizeof(::CPublishedFile_GetUserFiles_Response_App)}, - { 333, 343, -1, sizeof(::CPublishedFile_GetUserFiles_Response)}, - { 347, 361, -1, sizeof(::CPublishedFile_Update_Request)}, - { 369, -1, -1, sizeof(::CPublishedFile_Update_Response)}, - { 375, 387, -1, sizeof(::CPublishedFile_RefreshVotingQueue_Request)}, - { 393, -1, -1, sizeof(::CPublishedFile_RefreshVotingQueue_Response)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CPublishedFile_Subscribe_Request_default_instance_._instance, - &::_CPublishedFile_Subscribe_Response_default_instance_._instance, - &::_CPublishedFile_Unsubscribe_Request_default_instance_._instance, - &::_CPublishedFile_Unsubscribe_Response_default_instance_._instance, - &::_CPublishedFile_Publish_Request_default_instance_._instance, - &::_CPublishedFile_Publish_Response_default_instance_._instance, - &::_CPublishedFile_GetDetails_Request_default_instance_._instance, - &::_PublishedFileDetails_Tag_default_instance_._instance, - &::_PublishedFileDetails_Preview_default_instance_._instance, - &::_PublishedFileDetails_Child_default_instance_._instance, - &::_PublishedFileDetails_KVTag_default_instance_._instance, - &::_PublishedFileDetails_VoteData_default_instance_._instance, - &::_PublishedFileDetails_default_instance_._instance, - &::_CPublishedFile_GetDetails_Response_default_instance_._instance, - &::_CPublishedFile_GetUserFiles_Request_default_instance_._instance, - &::_CPublishedFile_GetUserFiles_Response_App_default_instance_._instance, - &::_CPublishedFile_GetUserFiles_Response_default_instance_._instance, - &::_CPublishedFile_Update_Request_default_instance_._instance, - &::_CPublishedFile_Update_Response_default_instance_._instance, - &::_CPublishedFile_RefreshVotingQueue_Request_default_instance_._instance, - &::_CPublishedFile_RefreshVotingQueue_Response_default_instance_._instance, -}; - -const char descriptor_table_protodef_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n/steammessages_publishedfile.steamworks" - "sdk.proto\032.steammessages_unified_base.st" - "eamworkssdk.proto\"t\n CPublishedFile_Subs" - "cribe_Request\022\027\n\017publishedfileid\030\001 \001(\004\022\021" - "\n\tlist_type\030\002 \001(\r\022\r\n\005appid\030\003 \001(\005\022\025\n\rnoti" - "fy_client\030\004 \001(\010\"#\n!CPublishedFile_Subscr" - "ibe_Response\"v\n\"CPublishedFile_Unsubscri" - "be_Request\022\027\n\017publishedfileid\030\001 \001(\004\022\021\n\tl" - "ist_type\030\002 \001(\r\022\r\n\005appid\030\003 \001(\005\022\025\n\rnotify_" - "client\030\004 \001(\010\"%\n#CPublishedFile_Unsubscri" - "be_Response\"\314\n\n\036CPublishedFile_Publish_R" - "equest\022<\n\005appid\030\001 \001(\rB-\202\265\030)App Id this f" - "ile is being published FROM.\022C\n\016consumer" - "_appid\030\002 \001(\rB+\202\265\030\'App Id this file is be" - "ing published TO.\022K\n\rcloudfilename\030\003 \001(\t" - "B4\202\265\0300Name of the file to publish in the" - " user\'s cloud.\022[\n\025preview_cloudfilename\030" - "\004 \001(\tB<\202\265\0308Name of the file to use as th" - "e published file\'s preview.\0225\n\005title\030\005 \001" - "(\tB&\202\265\030\"Text title for the published fil" - "e.\022F\n\020file_description\030\006 \001(\tB,\202\265\030(Text d" - "escription for the published file.\022L\n\tfi" - "le_type\030\007 \001(\rB9\202\265\0305(EWorkshopFileType) T" - "ype of Workshop file to publish.\022I\n\026cons" - "umer_shortcut_name\030\010 \001(\tB)\202\265\030%Shortcut n" - "ame for the published file.\022I\n\020youtube_u" - "sername\030\t \001(\tB/\202\265\030+(Optional) User\'s You" - "Tube account username.\022\\\n\017youtube_videoi" - "d\030\n \001(\tBC\202\265\030\?(Optional) Video Id of a Yo" - "uTube video for this published file.\022\201\001\n" - "\nvisibility\030\013 \001(\rBm\202\265\030i(ERemoteStoragePu" - "blishedFileVisibility) Visibility of the" - " published file (private, friends, publi" - "c, etc.)\022k\n\014redirect_uri\030\014 \001(\tBU\202\265\030Q(Opt" - "ional) If supplied, the resulting publis" - "hed file\'s Id is appended to the URI.\022D\n" - "\004tags\030\r \003(\tB6\202\265\0302Array of text tags to a" - "pply to the published file.\022Y\n\017collectio" - "n_type\030\016 \001(\tB@\202\265\030<(Optional) Type of col" - "lection the published file represents.\022M" - "\n\tgame_type\030\017 \001(\tB:\202\265\0306(Optional) Type o" - "f game the published file represents.\022[\n" - "\003url\030\020 \001(\tBN\202\265\030J(Optional) If this repre" - "sents a game, this is the URL to that ga" - "me\'s page.\"P\n\037CPublishedFile_Publish_Res" - "ponse\022\027\n\017publishedfileid\030\001 \001(\004\022\024\n\014redire" - "ct_uri\030\002 \001(\t\"\204\005\n!CPublishedFile_GetDetai" - "ls_Request\022P\n\020publishedfileids\030\001 \003(\006B6\202\265" - "\0302Set of published file Ids to retrieve " - "details for.\022Q\n\013includetags\030\002 \001(\010B<\202\265\0308I" - "f true, return tag information in the re" - "turned details.\022c\n\031includeadditionalprev" - "iews\030\003 \001(\010B@\202\265\030()._impl_._has_bits_); - static void set_has_publishedfileid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_list_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_notify_client(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CPublishedFile_Subscribe_Request::CPublishedFile_Subscribe_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPublishedFile_Subscribe_Request) -} -CPublishedFile_Subscribe_Request::CPublishedFile_Subscribe_Request(const CPublishedFile_Subscribe_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPublishedFile_Subscribe_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.publishedfileid_){} - , decltype(_impl_.list_type_){} - , decltype(_impl_.appid_){} - , decltype(_impl_.notify_client_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.publishedfileid_, &from._impl_.publishedfileid_, - static_cast(reinterpret_cast(&_impl_.notify_client_) - - reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.notify_client_)); - // @@protoc_insertion_point(copy_constructor:CPublishedFile_Subscribe_Request) -} - -inline void CPublishedFile_Subscribe_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.publishedfileid_){uint64_t{0u}} - , decltype(_impl_.list_type_){0u} - , decltype(_impl_.appid_){0} - , decltype(_impl_.notify_client_){false} - }; -} - -CPublishedFile_Subscribe_Request::~CPublishedFile_Subscribe_Request() { - // @@protoc_insertion_point(destructor:CPublishedFile_Subscribe_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPublishedFile_Subscribe_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CPublishedFile_Subscribe_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPublishedFile_Subscribe_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CPublishedFile_Subscribe_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.publishedfileid_, 0, static_cast( - reinterpret_cast(&_impl_.notify_client_) - - reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.notify_client_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPublishedFile_Subscribe_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 publishedfileid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_publishedfileid(&has_bits); - _impl_.publishedfileid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 list_type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_list_type(&has_bits); - _impl_.list_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 appid = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool notify_client = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_notify_client(&has_bits); - _impl_.notify_client_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPublishedFile_Subscribe_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_Subscribe_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 publishedfileid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_publishedfileid(), target); - } - - // optional uint32 list_type = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_list_type(), target); - } - - // optional int32 appid = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_appid(), target); - } - - // optional bool notify_client = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_notify_client(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPublishedFile_Subscribe_Request) - return target; -} - -size_t CPublishedFile_Subscribe_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_Subscribe_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint64 publishedfileid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_publishedfileid()); - } - - // optional uint32 list_type = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_list_type()); - } - - // optional int32 appid = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_appid()); - } - - // optional bool notify_client = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_Subscribe_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPublishedFile_Subscribe_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_Subscribe_Request::GetClassData() const { return &_class_data_; } - - -void CPublishedFile_Subscribe_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPublishedFile_Subscribe_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.publishedfileid_ = from._impl_.publishedfileid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.list_type_ = from._impl_.list_type_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.notify_client_ = from._impl_.notify_client_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPublishedFile_Subscribe_Request::CopyFrom(const CPublishedFile_Subscribe_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_Subscribe_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPublishedFile_Subscribe_Request::IsInitialized() const { - return true; -} - -void CPublishedFile_Subscribe_Request::InternalSwap(CPublishedFile_Subscribe_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPublishedFile_Subscribe_Request, _impl_.notify_client_) - + sizeof(CPublishedFile_Subscribe_Request::_impl_.notify_client_) - - PROTOBUF_FIELD_OFFSET(CPublishedFile_Subscribe_Request, _impl_.publishedfileid_)>( - reinterpret_cast(&_impl_.publishedfileid_), - reinterpret_cast(&other->_impl_.publishedfileid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_Subscribe_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[0]); -} - -// =================================================================== - -class CPublishedFile_Subscribe_Response::_Internal { - public: -}; - -CPublishedFile_Subscribe_Response::CPublishedFile_Subscribe_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CPublishedFile_Subscribe_Response) -} -CPublishedFile_Subscribe_Response::CPublishedFile_Subscribe_Response(const CPublishedFile_Subscribe_Response& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CPublishedFile_Subscribe_Response* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CPublishedFile_Subscribe_Response) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_Subscribe_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_Subscribe_Response::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_Subscribe_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[1]); -} - -// =================================================================== - -class CPublishedFile_Unsubscribe_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_publishedfileid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_list_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_notify_client(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CPublishedFile_Unsubscribe_Request::CPublishedFile_Unsubscribe_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPublishedFile_Unsubscribe_Request) -} -CPublishedFile_Unsubscribe_Request::CPublishedFile_Unsubscribe_Request(const CPublishedFile_Unsubscribe_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPublishedFile_Unsubscribe_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.publishedfileid_){} - , decltype(_impl_.list_type_){} - , decltype(_impl_.appid_){} - , decltype(_impl_.notify_client_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.publishedfileid_, &from._impl_.publishedfileid_, - static_cast(reinterpret_cast(&_impl_.notify_client_) - - reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.notify_client_)); - // @@protoc_insertion_point(copy_constructor:CPublishedFile_Unsubscribe_Request) -} - -inline void CPublishedFile_Unsubscribe_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.publishedfileid_){uint64_t{0u}} - , decltype(_impl_.list_type_){0u} - , decltype(_impl_.appid_){0} - , decltype(_impl_.notify_client_){false} - }; -} - -CPublishedFile_Unsubscribe_Request::~CPublishedFile_Unsubscribe_Request() { - // @@protoc_insertion_point(destructor:CPublishedFile_Unsubscribe_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPublishedFile_Unsubscribe_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CPublishedFile_Unsubscribe_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPublishedFile_Unsubscribe_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CPublishedFile_Unsubscribe_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.publishedfileid_, 0, static_cast( - reinterpret_cast(&_impl_.notify_client_) - - reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.notify_client_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPublishedFile_Unsubscribe_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 publishedfileid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_publishedfileid(&has_bits); - _impl_.publishedfileid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 list_type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_list_type(&has_bits); - _impl_.list_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 appid = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool notify_client = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_notify_client(&has_bits); - _impl_.notify_client_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPublishedFile_Unsubscribe_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_Unsubscribe_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 publishedfileid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_publishedfileid(), target); - } - - // optional uint32 list_type = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_list_type(), target); - } - - // optional int32 appid = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_appid(), target); - } - - // optional bool notify_client = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_notify_client(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPublishedFile_Unsubscribe_Request) - return target; -} - -size_t CPublishedFile_Unsubscribe_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_Unsubscribe_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint64 publishedfileid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_publishedfileid()); - } - - // optional uint32 list_type = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_list_type()); - } - - // optional int32 appid = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_appid()); - } - - // optional bool notify_client = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_Unsubscribe_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPublishedFile_Unsubscribe_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_Unsubscribe_Request::GetClassData() const { return &_class_data_; } - - -void CPublishedFile_Unsubscribe_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPublishedFile_Unsubscribe_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.publishedfileid_ = from._impl_.publishedfileid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.list_type_ = from._impl_.list_type_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.notify_client_ = from._impl_.notify_client_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPublishedFile_Unsubscribe_Request::CopyFrom(const CPublishedFile_Unsubscribe_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_Unsubscribe_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPublishedFile_Unsubscribe_Request::IsInitialized() const { - return true; -} - -void CPublishedFile_Unsubscribe_Request::InternalSwap(CPublishedFile_Unsubscribe_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPublishedFile_Unsubscribe_Request, _impl_.notify_client_) - + sizeof(CPublishedFile_Unsubscribe_Request::_impl_.notify_client_) - - PROTOBUF_FIELD_OFFSET(CPublishedFile_Unsubscribe_Request, _impl_.publishedfileid_)>( - reinterpret_cast(&_impl_.publishedfileid_), - reinterpret_cast(&other->_impl_.publishedfileid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_Unsubscribe_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[2]); -} - -// =================================================================== - -class CPublishedFile_Unsubscribe_Response::_Internal { - public: -}; - -CPublishedFile_Unsubscribe_Response::CPublishedFile_Unsubscribe_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CPublishedFile_Unsubscribe_Response) -} -CPublishedFile_Unsubscribe_Response::CPublishedFile_Unsubscribe_Response(const CPublishedFile_Unsubscribe_Response& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CPublishedFile_Unsubscribe_Response* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CPublishedFile_Unsubscribe_Response) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_Unsubscribe_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_Unsubscribe_Response::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_Unsubscribe_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[3]); -} - -// =================================================================== - -class CPublishedFile_Publish_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_consumer_appid(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_cloudfilename(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_preview_cloudfilename(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_title(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_file_description(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_file_type(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_consumer_shortcut_name(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_youtube_username(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_youtube_videoid(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_visibility(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_redirect_uri(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_collection_type(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_game_type(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_url(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } -}; - -CPublishedFile_Publish_Request::CPublishedFile_Publish_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPublishedFile_Publish_Request) -} -CPublishedFile_Publish_Request::CPublishedFile_Publish_Request(const CPublishedFile_Publish_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPublishedFile_Publish_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tags_){from._impl_.tags_} - , decltype(_impl_.cloudfilename_){} - , decltype(_impl_.preview_cloudfilename_){} - , decltype(_impl_.title_){} - , decltype(_impl_.file_description_){} - , decltype(_impl_.consumer_shortcut_name_){} - , decltype(_impl_.youtube_username_){} - , decltype(_impl_.youtube_videoid_){} - , decltype(_impl_.redirect_uri_){} - , decltype(_impl_.collection_type_){} - , decltype(_impl_.game_type_){} - , decltype(_impl_.url_){} - , decltype(_impl_.appid_){} - , decltype(_impl_.consumer_appid_){} - , decltype(_impl_.file_type_){} - , decltype(_impl_.visibility_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.cloudfilename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cloudfilename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_cloudfilename()) { - _this->_impl_.cloudfilename_.Set(from._internal_cloudfilename(), - _this->GetArenaForAllocation()); - } - _impl_.preview_cloudfilename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.preview_cloudfilename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_preview_cloudfilename()) { - _this->_impl_.preview_cloudfilename_.Set(from._internal_preview_cloudfilename(), - _this->GetArenaForAllocation()); - } - _impl_.title_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.title_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_title()) { - _this->_impl_.title_.Set(from._internal_title(), - _this->GetArenaForAllocation()); - } - _impl_.file_description_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.file_description_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_file_description()) { - _this->_impl_.file_description_.Set(from._internal_file_description(), - _this->GetArenaForAllocation()); - } - _impl_.consumer_shortcut_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.consumer_shortcut_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_consumer_shortcut_name()) { - _this->_impl_.consumer_shortcut_name_.Set(from._internal_consumer_shortcut_name(), - _this->GetArenaForAllocation()); - } - _impl_.youtube_username_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.youtube_username_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_youtube_username()) { - _this->_impl_.youtube_username_.Set(from._internal_youtube_username(), - _this->GetArenaForAllocation()); - } - _impl_.youtube_videoid_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.youtube_videoid_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_youtube_videoid()) { - _this->_impl_.youtube_videoid_.Set(from._internal_youtube_videoid(), - _this->GetArenaForAllocation()); - } - _impl_.redirect_uri_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.redirect_uri_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_redirect_uri()) { - _this->_impl_.redirect_uri_.Set(from._internal_redirect_uri(), - _this->GetArenaForAllocation()); - } - _impl_.collection_type_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.collection_type_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_collection_type()) { - _this->_impl_.collection_type_.Set(from._internal_collection_type(), - _this->GetArenaForAllocation()); - } - _impl_.game_type_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_type_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_game_type()) { - _this->_impl_.game_type_.Set(from._internal_game_type(), - _this->GetArenaForAllocation()); - } - _impl_.url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_url()) { - _this->_impl_.url_.Set(from._internal_url(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.appid_, &from._impl_.appid_, - static_cast(reinterpret_cast(&_impl_.visibility_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.visibility_)); - // @@protoc_insertion_point(copy_constructor:CPublishedFile_Publish_Request) -} - -inline void CPublishedFile_Publish_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tags_){arena} - , decltype(_impl_.cloudfilename_){} - , decltype(_impl_.preview_cloudfilename_){} - , decltype(_impl_.title_){} - , decltype(_impl_.file_description_){} - , decltype(_impl_.consumer_shortcut_name_){} - , decltype(_impl_.youtube_username_){} - , decltype(_impl_.youtube_videoid_){} - , decltype(_impl_.redirect_uri_){} - , decltype(_impl_.collection_type_){} - , decltype(_impl_.game_type_){} - , decltype(_impl_.url_){} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.consumer_appid_){0u} - , decltype(_impl_.file_type_){0u} - , decltype(_impl_.visibility_){0u} - }; - _impl_.cloudfilename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cloudfilename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.preview_cloudfilename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.preview_cloudfilename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.title_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.title_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.file_description_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.file_description_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.consumer_shortcut_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.consumer_shortcut_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.youtube_username_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.youtube_username_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.youtube_videoid_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.youtube_videoid_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.redirect_uri_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.redirect_uri_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.collection_type_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.collection_type_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_type_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.game_type_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CPublishedFile_Publish_Request::~CPublishedFile_Publish_Request() { - // @@protoc_insertion_point(destructor:CPublishedFile_Publish_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPublishedFile_Publish_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.tags_.~RepeatedPtrField(); - _impl_.cloudfilename_.Destroy(); - _impl_.preview_cloudfilename_.Destroy(); - _impl_.title_.Destroy(); - _impl_.file_description_.Destroy(); - _impl_.consumer_shortcut_name_.Destroy(); - _impl_.youtube_username_.Destroy(); - _impl_.youtube_videoid_.Destroy(); - _impl_.redirect_uri_.Destroy(); - _impl_.collection_type_.Destroy(); - _impl_.game_type_.Destroy(); - _impl_.url_.Destroy(); -} - -void CPublishedFile_Publish_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPublishedFile_Publish_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CPublishedFile_Publish_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.tags_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _impl_.cloudfilename_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.preview_cloudfilename_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.title_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.file_description_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000010u) { - _impl_.consumer_shortcut_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000020u) { - _impl_.youtube_username_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000040u) { - _impl_.youtube_videoid_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000080u) { - _impl_.redirect_uri_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x00000700u) { - if (cached_has_bits & 0x00000100u) { - _impl_.collection_type_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000200u) { - _impl_.game_type_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000400u) { - _impl_.url_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x00007800u) { - ::memset(&_impl_.appid_, 0, static_cast( - reinterpret_cast(&_impl_.visibility_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.visibility_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPublishedFile_Publish_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1 [(.description) = "App Id this file is being published FROM."]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 consumer_appid = 2 [(.description) = "App Id this file is being published TO."]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_consumer_appid(&has_bits); - _impl_.consumer_appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string cloudfilename = 3 [(.description) = "Name of the file to publish in the user\'s cloud."]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_cloudfilename(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.cloudfilename"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string preview_cloudfilename = 4 [(.description) = "Name of the file to use as the published file\'s preview."]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_preview_cloudfilename(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.preview_cloudfilename"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string title = 5 [(.description) = "Text title for the published file."]; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_title(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.title"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string file_description = 6 [(.description) = "Text description for the published file."]; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_file_description(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.file_description"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 file_type = 7 [(.description) = "(EWorkshopFileType) Type of Workshop file to publish."]; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_file_type(&has_bits); - _impl_.file_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string consumer_shortcut_name = 8 [(.description) = "Shortcut name for the published file."]; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_consumer_shortcut_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.consumer_shortcut_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string youtube_username = 9 [(.description) = "(Optional) User\'s YouTube account username."]; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - auto str = _internal_mutable_youtube_username(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.youtube_username"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string youtube_videoid = 10 [(.description) = "(Optional) Video Id of a YouTube video for this published file."]; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_youtube_videoid(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.youtube_videoid"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 visibility = 11 [(.description) = "(ERemoteStoragePublishedFileVisibility) Visibility of the published file (private, friends, public, etc.)"]; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_visibility(&has_bits); - _impl_.visibility_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string redirect_uri = 12 [(.description) = "(Optional) If supplied, the resulting published file\'s Id is appended to the URI."]; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - auto str = _internal_mutable_redirect_uri(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.redirect_uri"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated string tags = 13 [(.description) = "Array of text tags to apply to the published file."]; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_tags(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.tags"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<106>(ptr)); - } else - goto handle_unusual; - continue; - // optional string collection_type = 14 [(.description) = "(Optional) Type of collection the published file represents."]; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - auto str = _internal_mutable_collection_type(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.collection_type"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string game_type = 15 [(.description) = "(Optional) Type of game the published file represents."]; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - auto str = _internal_mutable_game_type(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.game_type"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string url = 16 [(.description) = "(Optional) If this represents a game, this is the URL to that game\'s page."]; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { - auto str = _internal_mutable_url(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Request.url"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPublishedFile_Publish_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_Publish_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1 [(.description) = "App Id this file is being published FROM."]; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // optional uint32 consumer_appid = 2 [(.description) = "App Id this file is being published TO."]; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_consumer_appid(), target); - } - - // optional string cloudfilename = 3 [(.description) = "Name of the file to publish in the user\'s cloud."]; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_cloudfilename().data(), static_cast(this->_internal_cloudfilename().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_Publish_Request.cloudfilename"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_cloudfilename(), target); - } - - // optional string preview_cloudfilename = 4 [(.description) = "Name of the file to use as the published file\'s preview."]; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_preview_cloudfilename().data(), static_cast(this->_internal_preview_cloudfilename().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_Publish_Request.preview_cloudfilename"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_preview_cloudfilename(), target); - } - - // optional string title = 5 [(.description) = "Text title for the published file."]; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_title().data(), static_cast(this->_internal_title().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_Publish_Request.title"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_title(), target); - } - - // optional string file_description = 6 [(.description) = "Text description for the published file."]; - if (cached_has_bits & 0x00000008u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_file_description().data(), static_cast(this->_internal_file_description().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_Publish_Request.file_description"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_file_description(), target); - } - - // optional uint32 file_type = 7 [(.description) = "(EWorkshopFileType) Type of Workshop file to publish."]; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_file_type(), target); - } - - // optional string consumer_shortcut_name = 8 [(.description) = "Shortcut name for the published file."]; - if (cached_has_bits & 0x00000010u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_consumer_shortcut_name().data(), static_cast(this->_internal_consumer_shortcut_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_Publish_Request.consumer_shortcut_name"); - target = stream->WriteStringMaybeAliased( - 8, this->_internal_consumer_shortcut_name(), target); - } - - // optional string youtube_username = 9 [(.description) = "(Optional) User\'s YouTube account username."]; - if (cached_has_bits & 0x00000020u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_youtube_username().data(), static_cast(this->_internal_youtube_username().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_Publish_Request.youtube_username"); - target = stream->WriteStringMaybeAliased( - 9, this->_internal_youtube_username(), target); - } - - // optional string youtube_videoid = 10 [(.description) = "(Optional) Video Id of a YouTube video for this published file."]; - if (cached_has_bits & 0x00000040u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_youtube_videoid().data(), static_cast(this->_internal_youtube_videoid().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_Publish_Request.youtube_videoid"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_youtube_videoid(), target); - } - - // optional uint32 visibility = 11 [(.description) = "(ERemoteStoragePublishedFileVisibility) Visibility of the published file (private, friends, public, etc.)"]; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_visibility(), target); - } - - // optional string redirect_uri = 12 [(.description) = "(Optional) If supplied, the resulting published file\'s Id is appended to the URI."]; - if (cached_has_bits & 0x00000080u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_redirect_uri().data(), static_cast(this->_internal_redirect_uri().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_Publish_Request.redirect_uri"); - target = stream->WriteStringMaybeAliased( - 12, this->_internal_redirect_uri(), target); - } - - // repeated string tags = 13 [(.description) = "Array of text tags to apply to the published file."]; - for (int i = 0, n = this->_internal_tags_size(); i < n; i++) { - const auto& s = this->_internal_tags(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_Publish_Request.tags"); - target = stream->WriteString(13, s, target); - } - - // optional string collection_type = 14 [(.description) = "(Optional) Type of collection the published file represents."]; - if (cached_has_bits & 0x00000100u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_collection_type().data(), static_cast(this->_internal_collection_type().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_Publish_Request.collection_type"); - target = stream->WriteStringMaybeAliased( - 14, this->_internal_collection_type(), target); - } - - // optional string game_type = 15 [(.description) = "(Optional) Type of game the published file represents."]; - if (cached_has_bits & 0x00000200u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_game_type().data(), static_cast(this->_internal_game_type().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_Publish_Request.game_type"); - target = stream->WriteStringMaybeAliased( - 15, this->_internal_game_type(), target); - } - - // optional string url = 16 [(.description) = "(Optional) If this represents a game, this is the URL to that game\'s page."]; - if (cached_has_bits & 0x00000400u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_url().data(), static_cast(this->_internal_url().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_Publish_Request.url"); - target = stream->WriteStringMaybeAliased( - 16, this->_internal_url(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPublishedFile_Publish_Request) - return target; -} - -size_t CPublishedFile_Publish_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_Publish_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string tags = 13 [(.description) = "Array of text tags to apply to the published file."]; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.tags_.size()); - for (int i = 0, n = _impl_.tags_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.tags_.Get(i)); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string cloudfilename = 3 [(.description) = "Name of the file to publish in the user\'s cloud."]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_cloudfilename()); - } - - // optional string preview_cloudfilename = 4 [(.description) = "Name of the file to use as the published file\'s preview."]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_preview_cloudfilename()); - } - - // optional string title = 5 [(.description) = "Text title for the published file."]; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_title()); - } - - // optional string file_description = 6 [(.description) = "Text description for the published file."]; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_file_description()); - } - - // optional string consumer_shortcut_name = 8 [(.description) = "Shortcut name for the published file."]; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_consumer_shortcut_name()); - } - - // optional string youtube_username = 9 [(.description) = "(Optional) User\'s YouTube account username."]; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_youtube_username()); - } - - // optional string youtube_videoid = 10 [(.description) = "(Optional) Video Id of a YouTube video for this published file."]; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_youtube_videoid()); - } - - // optional string redirect_uri = 12 [(.description) = "(Optional) If supplied, the resulting published file\'s Id is appended to the URI."]; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_redirect_uri()); - } - - } - if (cached_has_bits & 0x00007f00u) { - // optional string collection_type = 14 [(.description) = "(Optional) Type of collection the published file represents."]; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_collection_type()); - } - - // optional string game_type = 15 [(.description) = "(Optional) Type of game the published file represents."]; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_game_type()); - } - - // optional string url = 16 [(.description) = "(Optional) If this represents a game, this is the URL to that game\'s page."]; - if (cached_has_bits & 0x00000400u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_url()); - } - - // optional uint32 appid = 1 [(.description) = "App Id this file is being published FROM."]; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional uint32 consumer_appid = 2 [(.description) = "App Id this file is being published TO."]; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_consumer_appid()); - } - - // optional uint32 file_type = 7 [(.description) = "(EWorkshopFileType) Type of Workshop file to publish."]; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_file_type()); - } - - // optional uint32 visibility = 11 [(.description) = "(ERemoteStoragePublishedFileVisibility) Visibility of the published file (private, friends, public, etc.)"]; - if (cached_has_bits & 0x00004000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_visibility()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_Publish_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPublishedFile_Publish_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_Publish_Request::GetClassData() const { return &_class_data_; } - - -void CPublishedFile_Publish_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPublishedFile_Publish_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.tags_.MergeFrom(from._impl_.tags_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_cloudfilename(from._internal_cloudfilename()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_preview_cloudfilename(from._internal_preview_cloudfilename()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_title(from._internal_title()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_file_description(from._internal_file_description()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_set_consumer_shortcut_name(from._internal_consumer_shortcut_name()); - } - if (cached_has_bits & 0x00000020u) { - _this->_internal_set_youtube_username(from._internal_youtube_username()); - } - if (cached_has_bits & 0x00000040u) { - _this->_internal_set_youtube_videoid(from._internal_youtube_videoid()); - } - if (cached_has_bits & 0x00000080u) { - _this->_internal_set_redirect_uri(from._internal_redirect_uri()); - } - } - if (cached_has_bits & 0x00007f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_collection_type(from._internal_collection_type()); - } - if (cached_has_bits & 0x00000200u) { - _this->_internal_set_game_type(from._internal_game_type()); - } - if (cached_has_bits & 0x00000400u) { - _this->_internal_set_url(from._internal_url()); - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.consumer_appid_ = from._impl_.consumer_appid_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.file_type_ = from._impl_.file_type_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.visibility_ = from._impl_.visibility_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPublishedFile_Publish_Request::CopyFrom(const CPublishedFile_Publish_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_Publish_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPublishedFile_Publish_Request::IsInitialized() const { - return true; -} - -void CPublishedFile_Publish_Request::InternalSwap(CPublishedFile_Publish_Request* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.tags_.InternalSwap(&other->_impl_.tags_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.cloudfilename_, lhs_arena, - &other->_impl_.cloudfilename_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.preview_cloudfilename_, lhs_arena, - &other->_impl_.preview_cloudfilename_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.title_, lhs_arena, - &other->_impl_.title_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.file_description_, lhs_arena, - &other->_impl_.file_description_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.consumer_shortcut_name_, lhs_arena, - &other->_impl_.consumer_shortcut_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.youtube_username_, lhs_arena, - &other->_impl_.youtube_username_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.youtube_videoid_, lhs_arena, - &other->_impl_.youtube_videoid_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.redirect_uri_, lhs_arena, - &other->_impl_.redirect_uri_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.collection_type_, lhs_arena, - &other->_impl_.collection_type_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.game_type_, lhs_arena, - &other->_impl_.game_type_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.url_, lhs_arena, - &other->_impl_.url_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPublishedFile_Publish_Request, _impl_.visibility_) - + sizeof(CPublishedFile_Publish_Request::_impl_.visibility_) - - PROTOBUF_FIELD_OFFSET(CPublishedFile_Publish_Request, _impl_.appid_)>( - reinterpret_cast(&_impl_.appid_), - reinterpret_cast(&other->_impl_.appid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_Publish_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[4]); -} - -// =================================================================== - -class CPublishedFile_Publish_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_publishedfileid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_redirect_uri(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CPublishedFile_Publish_Response::CPublishedFile_Publish_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPublishedFile_Publish_Response) -} -CPublishedFile_Publish_Response::CPublishedFile_Publish_Response(const CPublishedFile_Publish_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPublishedFile_Publish_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.redirect_uri_){} - , decltype(_impl_.publishedfileid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.redirect_uri_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.redirect_uri_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_redirect_uri()) { - _this->_impl_.redirect_uri_.Set(from._internal_redirect_uri(), - _this->GetArenaForAllocation()); - } - _this->_impl_.publishedfileid_ = from._impl_.publishedfileid_; - // @@protoc_insertion_point(copy_constructor:CPublishedFile_Publish_Response) -} - -inline void CPublishedFile_Publish_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.redirect_uri_){} - , decltype(_impl_.publishedfileid_){uint64_t{0u}} - }; - _impl_.redirect_uri_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.redirect_uri_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CPublishedFile_Publish_Response::~CPublishedFile_Publish_Response() { - // @@protoc_insertion_point(destructor:CPublishedFile_Publish_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPublishedFile_Publish_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.redirect_uri_.Destroy(); -} - -void CPublishedFile_Publish_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPublishedFile_Publish_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CPublishedFile_Publish_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.redirect_uri_.ClearNonDefaultToEmpty(); - } - _impl_.publishedfileid_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPublishedFile_Publish_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 publishedfileid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_publishedfileid(&has_bits); - _impl_.publishedfileid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string redirect_uri = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_redirect_uri(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_Publish_Response.redirect_uri"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPublishedFile_Publish_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_Publish_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 publishedfileid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_publishedfileid(), target); - } - - // optional string redirect_uri = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_redirect_uri().data(), static_cast(this->_internal_redirect_uri().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_Publish_Response.redirect_uri"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_redirect_uri(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPublishedFile_Publish_Response) - return target; -} - -size_t CPublishedFile_Publish_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_Publish_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string redirect_uri = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_redirect_uri()); - } - - // optional uint64 publishedfileid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_publishedfileid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_Publish_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPublishedFile_Publish_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_Publish_Response::GetClassData() const { return &_class_data_; } - - -void CPublishedFile_Publish_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPublishedFile_Publish_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_redirect_uri(from._internal_redirect_uri()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.publishedfileid_ = from._impl_.publishedfileid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPublishedFile_Publish_Response::CopyFrom(const CPublishedFile_Publish_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_Publish_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPublishedFile_Publish_Response::IsInitialized() const { - return true; -} - -void CPublishedFile_Publish_Response::InternalSwap(CPublishedFile_Publish_Response* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.redirect_uri_, lhs_arena, - &other->_impl_.redirect_uri_, rhs_arena - ); - swap(_impl_.publishedfileid_, other->_impl_.publishedfileid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_Publish_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[5]); -} - -// =================================================================== - -class CPublishedFile_GetDetails_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_includetags(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_includeadditionalpreviews(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_includechildren(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_includekvtags(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_includevotes(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_short_description(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } -}; - -CPublishedFile_GetDetails_Request::CPublishedFile_GetDetails_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPublishedFile_GetDetails_Request) -} -CPublishedFile_GetDetails_Request::CPublishedFile_GetDetails_Request(const CPublishedFile_GetDetails_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPublishedFile_GetDetails_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.publishedfileids_){from._impl_.publishedfileids_} - , decltype(_impl_.includetags_){} - , decltype(_impl_.includeadditionalpreviews_){} - , decltype(_impl_.includechildren_){} - , decltype(_impl_.includekvtags_){} - , decltype(_impl_.includevotes_){} - , decltype(_impl_.short_description_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.includetags_, &from._impl_.includetags_, - static_cast(reinterpret_cast(&_impl_.short_description_) - - reinterpret_cast(&_impl_.includetags_)) + sizeof(_impl_.short_description_)); - // @@protoc_insertion_point(copy_constructor:CPublishedFile_GetDetails_Request) -} - -inline void CPublishedFile_GetDetails_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.publishedfileids_){arena} - , decltype(_impl_.includetags_){false} - , decltype(_impl_.includeadditionalpreviews_){false} - , decltype(_impl_.includechildren_){false} - , decltype(_impl_.includekvtags_){false} - , decltype(_impl_.includevotes_){false} - , decltype(_impl_.short_description_){false} - }; -} - -CPublishedFile_GetDetails_Request::~CPublishedFile_GetDetails_Request() { - // @@protoc_insertion_point(destructor:CPublishedFile_GetDetails_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPublishedFile_GetDetails_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.publishedfileids_.~RepeatedField(); -} - -void CPublishedFile_GetDetails_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPublishedFile_GetDetails_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CPublishedFile_GetDetails_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.publishedfileids_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - ::memset(&_impl_.includetags_, 0, static_cast( - reinterpret_cast(&_impl_.short_description_) - - reinterpret_cast(&_impl_.includetags_)) + sizeof(_impl_.short_description_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPublishedFile_GetDetails_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated fixed64 publishedfileids = 1 [(.description) = "Set of published file Ids to retrieve details for."]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_publishedfileids(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint64_t); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<9>(ptr)); - } else if (static_cast(tag) == 10) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed64Parser(_internal_mutable_publishedfileids(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool includetags = 2 [(.description) = "If true, return tag information in the returned details."]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_includetags(&has_bits); - _impl_.includetags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool includeadditionalpreviews = 3 [(.description) = "If true, return preview information in the returned details."]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_includeadditionalpreviews(&has_bits); - _impl_.includeadditionalpreviews_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool includechildren = 4 [(.description) = "If true, return children in the returned details."]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_includechildren(&has_bits); - _impl_.includechildren_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool includekvtags = 5 [(.description) = "If true, return key value tags in the returned details."]; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_includekvtags(&has_bits); - _impl_.includekvtags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool includevotes = 6 [(.description) = "If true, return vote data in the returned details."]; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_includevotes(&has_bits); - _impl_.includevotes_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool short_description = 8 [(.description) = "If true, return a short description instead of the full description."]; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_short_description(&has_bits); - _impl_.short_description_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPublishedFile_GetDetails_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_GetDetails_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated fixed64 publishedfileids = 1 [(.description) = "Set of published file Ids to retrieve details for."]; - for (int i = 0, n = this->_internal_publishedfileids_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_publishedfileids(i), target); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool includetags = 2 [(.description) = "If true, return tag information in the returned details."]; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_includetags(), target); - } - - // optional bool includeadditionalpreviews = 3 [(.description) = "If true, return preview information in the returned details."]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_includeadditionalpreviews(), target); - } - - // optional bool includechildren = 4 [(.description) = "If true, return children in the returned details."]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_includechildren(), target); - } - - // optional bool includekvtags = 5 [(.description) = "If true, return key value tags in the returned details."]; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_includekvtags(), target); - } - - // optional bool includevotes = 6 [(.description) = "If true, return vote data in the returned details."]; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_includevotes(), target); - } - - // optional bool short_description = 8 [(.description) = "If true, return a short description instead of the full description."]; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_short_description(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPublishedFile_GetDetails_Request) - return target; -} - -size_t CPublishedFile_GetDetails_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_GetDetails_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated fixed64 publishedfileids = 1 [(.description) = "Set of published file Ids to retrieve details for."]; - { - unsigned int count = static_cast(this->_internal_publishedfileids_size()); - size_t data_size = 8UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_publishedfileids_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional bool includetags = 2 [(.description) = "If true, return tag information in the returned details."]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - // optional bool includeadditionalpreviews = 3 [(.description) = "If true, return preview information in the returned details."]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - // optional bool includechildren = 4 [(.description) = "If true, return children in the returned details."]; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional bool includekvtags = 5 [(.description) = "If true, return key value tags in the returned details."]; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - // optional bool includevotes = 6 [(.description) = "If true, return vote data in the returned details."]; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 1; - } - - // optional bool short_description = 8 [(.description) = "If true, return a short description instead of the full description."]; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_GetDetails_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPublishedFile_GetDetails_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_GetDetails_Request::GetClassData() const { return &_class_data_; } - - -void CPublishedFile_GetDetails_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPublishedFile_GetDetails_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.publishedfileids_.MergeFrom(from._impl_.publishedfileids_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.includetags_ = from._impl_.includetags_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.includeadditionalpreviews_ = from._impl_.includeadditionalpreviews_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.includechildren_ = from._impl_.includechildren_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.includekvtags_ = from._impl_.includekvtags_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.includevotes_ = from._impl_.includevotes_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.short_description_ = from._impl_.short_description_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPublishedFile_GetDetails_Request::CopyFrom(const CPublishedFile_GetDetails_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_GetDetails_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPublishedFile_GetDetails_Request::IsInitialized() const { - return true; -} - -void CPublishedFile_GetDetails_Request::InternalSwap(CPublishedFile_GetDetails_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.publishedfileids_.InternalSwap(&other->_impl_.publishedfileids_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPublishedFile_GetDetails_Request, _impl_.short_description_) - + sizeof(CPublishedFile_GetDetails_Request::_impl_.short_description_) - - PROTOBUF_FIELD_OFFSET(CPublishedFile_GetDetails_Request, _impl_.includetags_)>( - reinterpret_cast(&_impl_.includetags_), - reinterpret_cast(&other->_impl_.includetags_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_GetDetails_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[6]); -} - -// =================================================================== - -class PublishedFileDetails_Tag::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_tag(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_adminonly(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -PublishedFileDetails_Tag::PublishedFileDetails_Tag(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:PublishedFileDetails.Tag) -} -PublishedFileDetails_Tag::PublishedFileDetails_Tag(const PublishedFileDetails_Tag& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - PublishedFileDetails_Tag* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tag_){} - , decltype(_impl_.adminonly_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.tag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.tag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_tag()) { - _this->_impl_.tag_.Set(from._internal_tag(), - _this->GetArenaForAllocation()); - } - _this->_impl_.adminonly_ = from._impl_.adminonly_; - // @@protoc_insertion_point(copy_constructor:PublishedFileDetails.Tag) -} - -inline void PublishedFileDetails_Tag::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tag_){} - , decltype(_impl_.adminonly_){false} - }; - _impl_.tag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.tag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -PublishedFileDetails_Tag::~PublishedFileDetails_Tag() { - // @@protoc_insertion_point(destructor:PublishedFileDetails.Tag) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void PublishedFileDetails_Tag::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.tag_.Destroy(); -} - -void PublishedFileDetails_Tag::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void PublishedFileDetails_Tag::Clear() { -// @@protoc_insertion_point(message_clear_start:PublishedFileDetails.Tag) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.tag_.ClearNonDefaultToEmpty(); - } - _impl_.adminonly_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* PublishedFileDetails_Tag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string tag = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_tag(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PublishedFileDetails.Tag.tag"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool adminonly = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_adminonly(&has_bits); - _impl_.adminonly_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* PublishedFileDetails_Tag::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:PublishedFileDetails.Tag) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string tag = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_tag().data(), static_cast(this->_internal_tag().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PublishedFileDetails.Tag.tag"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_tag(), target); - } - - // optional bool adminonly = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_adminonly(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:PublishedFileDetails.Tag) - return target; -} - -size_t PublishedFileDetails_Tag::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:PublishedFileDetails.Tag) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string tag = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_tag()); - } - - // optional bool adminonly = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PublishedFileDetails_Tag::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - PublishedFileDetails_Tag::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PublishedFileDetails_Tag::GetClassData() const { return &_class_data_; } - - -void PublishedFileDetails_Tag::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:PublishedFileDetails.Tag) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_tag(from._internal_tag()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.adminonly_ = from._impl_.adminonly_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void PublishedFileDetails_Tag::CopyFrom(const PublishedFileDetails_Tag& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:PublishedFileDetails.Tag) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PublishedFileDetails_Tag::IsInitialized() const { - return true; -} - -void PublishedFileDetails_Tag::InternalSwap(PublishedFileDetails_Tag* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.tag_, lhs_arena, - &other->_impl_.tag_, rhs_arena - ); - swap(_impl_.adminonly_, other->_impl_.adminonly_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata PublishedFileDetails_Tag::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[7]); -} - -// =================================================================== - -class PublishedFileDetails_Preview::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_previewid(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_sortorder(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_url(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_size(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_filename(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_youtubevideoid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -PublishedFileDetails_Preview::PublishedFileDetails_Preview(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:PublishedFileDetails.Preview) -} -PublishedFileDetails_Preview::PublishedFileDetails_Preview(const PublishedFileDetails_Preview& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - PublishedFileDetails_Preview* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.url_){} - , decltype(_impl_.filename_){} - , decltype(_impl_.youtubevideoid_){} - , decltype(_impl_.previewid_){} - , decltype(_impl_.sortorder_){} - , decltype(_impl_.size_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_url()) { - _this->_impl_.url_.Set(from._internal_url(), - _this->GetArenaForAllocation()); - } - _impl_.filename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.filename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_filename()) { - _this->_impl_.filename_.Set(from._internal_filename(), - _this->GetArenaForAllocation()); - } - _impl_.youtubevideoid_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.youtubevideoid_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_youtubevideoid()) { - _this->_impl_.youtubevideoid_.Set(from._internal_youtubevideoid(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.previewid_, &from._impl_.previewid_, - static_cast(reinterpret_cast(&_impl_.size_) - - reinterpret_cast(&_impl_.previewid_)) + sizeof(_impl_.size_)); - // @@protoc_insertion_point(copy_constructor:PublishedFileDetails.Preview) -} - -inline void PublishedFileDetails_Preview::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.url_){} - , decltype(_impl_.filename_){} - , decltype(_impl_.youtubevideoid_){} - , decltype(_impl_.previewid_){uint64_t{0u}} - , decltype(_impl_.sortorder_){0u} - , decltype(_impl_.size_){0u} - }; - _impl_.url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.filename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.filename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.youtubevideoid_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.youtubevideoid_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -PublishedFileDetails_Preview::~PublishedFileDetails_Preview() { - // @@protoc_insertion_point(destructor:PublishedFileDetails.Preview) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void PublishedFileDetails_Preview::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.url_.Destroy(); - _impl_.filename_.Destroy(); - _impl_.youtubevideoid_.Destroy(); -} - -void PublishedFileDetails_Preview::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void PublishedFileDetails_Preview::Clear() { -// @@protoc_insertion_point(message_clear_start:PublishedFileDetails.Preview) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.url_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.filename_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.youtubevideoid_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x00000038u) { - ::memset(&_impl_.previewid_, 0, static_cast( - reinterpret_cast(&_impl_.size_) - - reinterpret_cast(&_impl_.previewid_)) + sizeof(_impl_.size_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* PublishedFileDetails_Preview::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 previewid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_previewid(&has_bits); - _impl_.previewid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 sortorder = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_sortorder(&has_bits); - _impl_.sortorder_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string url = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_url(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PublishedFileDetails.Preview.url"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 size = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_size(&has_bits); - _impl_.size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string filename = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_filename(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PublishedFileDetails.Preview.filename"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string youtubevideoid = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_youtubevideoid(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PublishedFileDetails.Preview.youtubevideoid"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* PublishedFileDetails_Preview::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:PublishedFileDetails.Preview) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 previewid = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_previewid(), target); - } - - // optional uint32 sortorder = 2; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_sortorder(), target); - } - - // optional string url = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_url().data(), static_cast(this->_internal_url().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PublishedFileDetails.Preview.url"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_url(), target); - } - - // optional uint32 size = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_size(), target); - } - - // optional string filename = 5; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_filename().data(), static_cast(this->_internal_filename().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PublishedFileDetails.Preview.filename"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_filename(), target); - } - - // optional string youtubevideoid = 6; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_youtubevideoid().data(), static_cast(this->_internal_youtubevideoid().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PublishedFileDetails.Preview.youtubevideoid"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_youtubevideoid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:PublishedFileDetails.Preview) - return target; -} - -size_t PublishedFileDetails_Preview::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:PublishedFileDetails.Preview) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional string url = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_url()); - } - - // optional string filename = 5; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_filename()); - } - - // optional string youtubevideoid = 6; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_youtubevideoid()); - } - - // optional uint64 previewid = 1; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_previewid()); - } - - // optional uint32 sortorder = 2; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sortorder()); - } - - // optional uint32 size = 4; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_size()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PublishedFileDetails_Preview::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - PublishedFileDetails_Preview::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PublishedFileDetails_Preview::GetClassData() const { return &_class_data_; } - - -void PublishedFileDetails_Preview::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:PublishedFileDetails.Preview) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_url(from._internal_url()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_filename(from._internal_filename()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_youtubevideoid(from._internal_youtubevideoid()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.previewid_ = from._impl_.previewid_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.sortorder_ = from._impl_.sortorder_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.size_ = from._impl_.size_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void PublishedFileDetails_Preview::CopyFrom(const PublishedFileDetails_Preview& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:PublishedFileDetails.Preview) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PublishedFileDetails_Preview::IsInitialized() const { - return true; -} - -void PublishedFileDetails_Preview::InternalSwap(PublishedFileDetails_Preview* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.url_, lhs_arena, - &other->_impl_.url_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.filename_, lhs_arena, - &other->_impl_.filename_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.youtubevideoid_, lhs_arena, - &other->_impl_.youtubevideoid_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(PublishedFileDetails_Preview, _impl_.size_) - + sizeof(PublishedFileDetails_Preview::_impl_.size_) - - PROTOBUF_FIELD_OFFSET(PublishedFileDetails_Preview, _impl_.previewid_)>( - reinterpret_cast(&_impl_.previewid_), - reinterpret_cast(&other->_impl_.previewid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata PublishedFileDetails_Preview::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[8]); -} - -// =================================================================== - -class PublishedFileDetails_Child::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_publishedfileid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_sortorder(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_file_type(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -PublishedFileDetails_Child::PublishedFileDetails_Child(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:PublishedFileDetails.Child) -} -PublishedFileDetails_Child::PublishedFileDetails_Child(const PublishedFileDetails_Child& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - PublishedFileDetails_Child* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.publishedfileid_){} - , decltype(_impl_.sortorder_){} - , decltype(_impl_.file_type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.publishedfileid_, &from._impl_.publishedfileid_, - static_cast(reinterpret_cast(&_impl_.file_type_) - - reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.file_type_)); - // @@protoc_insertion_point(copy_constructor:PublishedFileDetails.Child) -} - -inline void PublishedFileDetails_Child::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.publishedfileid_){uint64_t{0u}} - , decltype(_impl_.sortorder_){0u} - , decltype(_impl_.file_type_){0u} - }; -} - -PublishedFileDetails_Child::~PublishedFileDetails_Child() { - // @@protoc_insertion_point(destructor:PublishedFileDetails.Child) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void PublishedFileDetails_Child::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void PublishedFileDetails_Child::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void PublishedFileDetails_Child::Clear() { -// @@protoc_insertion_point(message_clear_start:PublishedFileDetails.Child) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.publishedfileid_, 0, static_cast( - reinterpret_cast(&_impl_.file_type_) - - reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.file_type_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* PublishedFileDetails_Child::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 publishedfileid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_publishedfileid(&has_bits); - _impl_.publishedfileid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 sortorder = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_sortorder(&has_bits); - _impl_.sortorder_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 file_type = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_file_type(&has_bits); - _impl_.file_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* PublishedFileDetails_Child::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:PublishedFileDetails.Child) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 publishedfileid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_publishedfileid(), target); - } - - // optional uint32 sortorder = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_sortorder(), target); - } - - // optional uint32 file_type = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_file_type(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:PublishedFileDetails.Child) - return target; -} - -size_t PublishedFileDetails_Child::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:PublishedFileDetails.Child) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint64 publishedfileid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_publishedfileid()); - } - - // optional uint32 sortorder = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sortorder()); - } - - // optional uint32 file_type = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_file_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PublishedFileDetails_Child::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - PublishedFileDetails_Child::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PublishedFileDetails_Child::GetClassData() const { return &_class_data_; } - - -void PublishedFileDetails_Child::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:PublishedFileDetails.Child) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.publishedfileid_ = from._impl_.publishedfileid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.sortorder_ = from._impl_.sortorder_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.file_type_ = from._impl_.file_type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void PublishedFileDetails_Child::CopyFrom(const PublishedFileDetails_Child& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:PublishedFileDetails.Child) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PublishedFileDetails_Child::IsInitialized() const { - return true; -} - -void PublishedFileDetails_Child::InternalSwap(PublishedFileDetails_Child* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(PublishedFileDetails_Child, _impl_.file_type_) - + sizeof(PublishedFileDetails_Child::_impl_.file_type_) - - PROTOBUF_FIELD_OFFSET(PublishedFileDetails_Child, _impl_.publishedfileid_)>( - reinterpret_cast(&_impl_.publishedfileid_), - reinterpret_cast(&other->_impl_.publishedfileid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata PublishedFileDetails_Child::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[9]); -} - -// =================================================================== - -class PublishedFileDetails_KVTag::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_key(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -PublishedFileDetails_KVTag::PublishedFileDetails_KVTag(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:PublishedFileDetails.KVTag) -} -PublishedFileDetails_KVTag::PublishedFileDetails_KVTag(const PublishedFileDetails_KVTag& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - PublishedFileDetails_KVTag* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.key_){} - , decltype(_impl_.value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_key()) { - _this->_impl_.key_.Set(from._internal_key(), - _this->GetArenaForAllocation()); - } - _impl_.value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_value()) { - _this->_impl_.value_.Set(from._internal_value(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:PublishedFileDetails.KVTag) -} - -inline void PublishedFileDetails_KVTag::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.key_){} - , decltype(_impl_.value_){} - }; - _impl_.key_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.key_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -PublishedFileDetails_KVTag::~PublishedFileDetails_KVTag() { - // @@protoc_insertion_point(destructor:PublishedFileDetails.KVTag) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void PublishedFileDetails_KVTag::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.key_.Destroy(); - _impl_.value_.Destroy(); -} - -void PublishedFileDetails_KVTag::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void PublishedFileDetails_KVTag::Clear() { -// @@protoc_insertion_point(message_clear_start:PublishedFileDetails.KVTag) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.key_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.value_.ClearNonDefaultToEmpty(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* PublishedFileDetails_KVTag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string key = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_key(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PublishedFileDetails.KVTag.key"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_value(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PublishedFileDetails.KVTag.value"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* PublishedFileDetails_KVTag::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:PublishedFileDetails.KVTag) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string key = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_key().data(), static_cast(this->_internal_key().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PublishedFileDetails.KVTag.key"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_key(), target); - } - - // optional string value = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_value().data(), static_cast(this->_internal_value().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PublishedFileDetails.KVTag.value"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:PublishedFileDetails.KVTag) - return target; -} - -size_t PublishedFileDetails_KVTag::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:PublishedFileDetails.KVTag) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string key = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_key()); - } - - // optional string value = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_value()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PublishedFileDetails_KVTag::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - PublishedFileDetails_KVTag::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PublishedFileDetails_KVTag::GetClassData() const { return &_class_data_; } - - -void PublishedFileDetails_KVTag::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:PublishedFileDetails.KVTag) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_key(from._internal_key()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_value(from._internal_value()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void PublishedFileDetails_KVTag::CopyFrom(const PublishedFileDetails_KVTag& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:PublishedFileDetails.KVTag) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PublishedFileDetails_KVTag::IsInitialized() const { - return true; -} - -void PublishedFileDetails_KVTag::InternalSwap(PublishedFileDetails_KVTag* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.key_, lhs_arena, - &other->_impl_.key_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.value_, lhs_arena, - &other->_impl_.value_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata PublishedFileDetails_KVTag::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[10]); -} - -// =================================================================== - -class PublishedFileDetails_VoteData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_score(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_votes_up(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_votes_down(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -PublishedFileDetails_VoteData::PublishedFileDetails_VoteData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:PublishedFileDetails.VoteData) -} -PublishedFileDetails_VoteData::PublishedFileDetails_VoteData(const PublishedFileDetails_VoteData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - PublishedFileDetails_VoteData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.score_){} - , decltype(_impl_.votes_up_){} - , decltype(_impl_.votes_down_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.score_, &from._impl_.score_, - static_cast(reinterpret_cast(&_impl_.votes_down_) - - reinterpret_cast(&_impl_.score_)) + sizeof(_impl_.votes_down_)); - // @@protoc_insertion_point(copy_constructor:PublishedFileDetails.VoteData) -} - -inline void PublishedFileDetails_VoteData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.score_){0} - , decltype(_impl_.votes_up_){0u} - , decltype(_impl_.votes_down_){0u} - }; -} - -PublishedFileDetails_VoteData::~PublishedFileDetails_VoteData() { - // @@protoc_insertion_point(destructor:PublishedFileDetails.VoteData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void PublishedFileDetails_VoteData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void PublishedFileDetails_VoteData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void PublishedFileDetails_VoteData::Clear() { -// @@protoc_insertion_point(message_clear_start:PublishedFileDetails.VoteData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.score_, 0, static_cast( - reinterpret_cast(&_impl_.votes_down_) - - reinterpret_cast(&_impl_.score_)) + sizeof(_impl_.votes_down_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* PublishedFileDetails_VoteData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float score = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_score(&has_bits); - _impl_.score_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 votes_up = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_votes_up(&has_bits); - _impl_.votes_up_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 votes_down = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_votes_down(&has_bits); - _impl_.votes_down_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* PublishedFileDetails_VoteData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:PublishedFileDetails.VoteData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float score = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_score(), target); - } - - // optional uint32 votes_up = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_votes_up(), target); - } - - // optional uint32 votes_down = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_votes_down(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:PublishedFileDetails.VoteData) - return target; -} - -size_t PublishedFileDetails_VoteData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:PublishedFileDetails.VoteData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional float score = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional uint32 votes_up = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_votes_up()); - } - - // optional uint32 votes_down = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_votes_down()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PublishedFileDetails_VoteData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - PublishedFileDetails_VoteData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PublishedFileDetails_VoteData::GetClassData() const { return &_class_data_; } - - -void PublishedFileDetails_VoteData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:PublishedFileDetails.VoteData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.score_ = from._impl_.score_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.votes_up_ = from._impl_.votes_up_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.votes_down_ = from._impl_.votes_down_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void PublishedFileDetails_VoteData::CopyFrom(const PublishedFileDetails_VoteData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:PublishedFileDetails.VoteData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PublishedFileDetails_VoteData::IsInitialized() const { - return true; -} - -void PublishedFileDetails_VoteData::InternalSwap(PublishedFileDetails_VoteData* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(PublishedFileDetails_VoteData, _impl_.votes_down_) - + sizeof(PublishedFileDetails_VoteData::_impl_.votes_down_) - - PROTOBUF_FIELD_OFFSET(PublishedFileDetails_VoteData, _impl_.score_)>( - reinterpret_cast(&_impl_.score_), - reinterpret_cast(&other->_impl_.score_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata PublishedFileDetails_VoteData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[11]); -} - -// =================================================================== - -class PublishedFileDetails::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_result(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_publishedfileid(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_creator(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_creator_appid(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_consumer_appid(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } - static void set_has_consumer_shortcutid(HasBits* has_bits) { - (*has_bits)[0] |= 262144u; - } - static void set_has_filename(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_file_size(HasBits* has_bits) { - (*has_bits)[0] |= 524288u; - } - static void set_has_preview_file_size(HasBits* has_bits) { - (*has_bits)[0] |= 1048576u; - } - static void set_has_file_url(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_preview_url(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_youtubevideoid(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_url(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_hcontent_file(HasBits* has_bits) { - (*has_bits)[0] |= 2097152u; - } - static void set_has_hcontent_preview(HasBits* has_bits) { - (*has_bits)[0] |= 4194304u; - } - static void set_has_title(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_file_description(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_short_description(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_time_created(HasBits* has_bits) { - (*has_bits)[0] |= 8388608u; - } - static void set_has_time_updated(HasBits* has_bits) { - (*has_bits)[0] |= 16777216u; - } - static void set_has_visibility(HasBits* has_bits) { - (*has_bits)[0] |= 33554432u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 67108864u; - } - static void set_has_workshop_file(HasBits* has_bits) { - (*has_bits)[0] |= 134217728u; - } - static void set_has_workshop_accepted(HasBits* has_bits) { - (*has_bits)[0] |= 268435456u; - } - static void set_has_show_subscribe_all(HasBits* has_bits) { - (*has_bits)[0] |= 536870912u; - } - static void set_has_num_comments_developer(HasBits* has_bits) { - (*has_bits)[0] |= 2147483648u; - } - static void set_has_num_comments_public(HasBits* has_bits) { - (*has_bits)[1] |= 2u; - } - static void set_has_banned(HasBits* has_bits) { - (*has_bits)[0] |= 1073741824u; - } - static void set_has_ban_reason(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_banner(HasBits* has_bits) { - (*has_bits)[1] |= 1u; - } - static void set_has_can_be_deleted(HasBits* has_bits) { - (*has_bits)[1] |= 16u; - } - static void set_has_incompatible(HasBits* has_bits) { - (*has_bits)[1] |= 32u; - } - static void set_has_app_name(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_file_type(HasBits* has_bits) { - (*has_bits)[1] |= 4u; - } - static void set_has_can_subscribe(HasBits* has_bits) { - (*has_bits)[1] |= 64u; - } - static void set_has_subscriptions(HasBits* has_bits) { - (*has_bits)[1] |= 8u; - } - static void set_has_favorited(HasBits* has_bits) { - (*has_bits)[1] |= 256u; - } - static void set_has_followers(HasBits* has_bits) { - (*has_bits)[1] |= 512u; - } - static void set_has_lifetime_subscriptions(HasBits* has_bits) { - (*has_bits)[1] |= 1024u; - } - static void set_has_lifetime_favorited(HasBits* has_bits) { - (*has_bits)[1] |= 2048u; - } - static void set_has_lifetime_followers(HasBits* has_bits) { - (*has_bits)[1] |= 4096u; - } - static void set_has_views(HasBits* has_bits) { - (*has_bits)[1] |= 8192u; - } - static void set_has_image_width(HasBits* has_bits) { - (*has_bits)[1] |= 16384u; - } - static void set_has_image_height(HasBits* has_bits) { - (*has_bits)[1] |= 32768u; - } - static void set_has_image_url(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_spoiler_tag(HasBits* has_bits) { - (*has_bits)[1] |= 128u; - } - static void set_has_shortcutid(HasBits* has_bits) { - (*has_bits)[1] |= 65536u; - } - static void set_has_shortcutname(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_num_children(HasBits* has_bits) { - (*has_bits)[1] |= 131072u; - } - static void set_has_num_reports(HasBits* has_bits) { - (*has_bits)[1] |= 262144u; - } - static const ::PublishedFileDetails_VoteData& vote_data(const PublishedFileDetails* msg); - static void set_has_vote_data(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_time_subscribed(HasBits* has_bits) { - (*has_bits)[1] |= 524288u; - } -}; - -const ::PublishedFileDetails_VoteData& -PublishedFileDetails::_Internal::vote_data(const PublishedFileDetails* msg) { - return *msg->_impl_.vote_data_; -} -PublishedFileDetails::PublishedFileDetails(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:PublishedFileDetails) -} -PublishedFileDetails::PublishedFileDetails(const PublishedFileDetails& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - PublishedFileDetails* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.previews_){from._impl_.previews_} - , decltype(_impl_.tags_){from._impl_.tags_} - , decltype(_impl_.children_){from._impl_.children_} - , decltype(_impl_.kvtags_){from._impl_.kvtags_} - , decltype(_impl_.filename_){} - , decltype(_impl_.file_url_){} - , decltype(_impl_.preview_url_){} - , decltype(_impl_.youtubevideoid_){} - , decltype(_impl_.url_){} - , decltype(_impl_.title_){} - , decltype(_impl_.file_description_){} - , decltype(_impl_.short_description_){} - , decltype(_impl_.ban_reason_){} - , decltype(_impl_.app_name_){} - , decltype(_impl_.image_url_){} - , decltype(_impl_.shortcutname_){} - , decltype(_impl_.vote_data_){nullptr} - , decltype(_impl_.publishedfileid_){} - , decltype(_impl_.result_){} - , decltype(_impl_.creator_appid_){} - , decltype(_impl_.creator_){} - , decltype(_impl_.consumer_appid_){} - , decltype(_impl_.consumer_shortcutid_){} - , decltype(_impl_.file_size_){} - , decltype(_impl_.preview_file_size_){} - , decltype(_impl_.hcontent_file_){} - , decltype(_impl_.hcontent_preview_){} - , decltype(_impl_.time_created_){} - , decltype(_impl_.time_updated_){} - , decltype(_impl_.visibility_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.workshop_file_){} - , decltype(_impl_.workshop_accepted_){} - , decltype(_impl_.show_subscribe_all_){} - , decltype(_impl_.banned_){} - , decltype(_impl_.num_comments_developer_){} - , decltype(_impl_.banner_){} - , decltype(_impl_.num_comments_public_){} - , decltype(_impl_.file_type_){} - , decltype(_impl_.subscriptions_){} - , decltype(_impl_.can_be_deleted_){} - , decltype(_impl_.incompatible_){} - , decltype(_impl_.can_subscribe_){} - , decltype(_impl_.spoiler_tag_){} - , decltype(_impl_.favorited_){} - , decltype(_impl_.followers_){} - , decltype(_impl_.lifetime_subscriptions_){} - , decltype(_impl_.lifetime_favorited_){} - , decltype(_impl_.lifetime_followers_){} - , decltype(_impl_.views_){} - , decltype(_impl_.image_width_){} - , decltype(_impl_.image_height_){} - , decltype(_impl_.shortcutid_){} - , decltype(_impl_.num_children_){} - , decltype(_impl_.num_reports_){} - , decltype(_impl_.time_subscribed_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.filename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.filename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_filename()) { - _this->_impl_.filename_.Set(from._internal_filename(), - _this->GetArenaForAllocation()); - } - _impl_.file_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.file_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_file_url()) { - _this->_impl_.file_url_.Set(from._internal_file_url(), - _this->GetArenaForAllocation()); - } - _impl_.preview_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.preview_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_preview_url()) { - _this->_impl_.preview_url_.Set(from._internal_preview_url(), - _this->GetArenaForAllocation()); - } - _impl_.youtubevideoid_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.youtubevideoid_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_youtubevideoid()) { - _this->_impl_.youtubevideoid_.Set(from._internal_youtubevideoid(), - _this->GetArenaForAllocation()); - } - _impl_.url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_url()) { - _this->_impl_.url_.Set(from._internal_url(), - _this->GetArenaForAllocation()); - } - _impl_.title_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.title_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_title()) { - _this->_impl_.title_.Set(from._internal_title(), - _this->GetArenaForAllocation()); - } - _impl_.file_description_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.file_description_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_file_description()) { - _this->_impl_.file_description_.Set(from._internal_file_description(), - _this->GetArenaForAllocation()); - } - _impl_.short_description_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.short_description_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_short_description()) { - _this->_impl_.short_description_.Set(from._internal_short_description(), - _this->GetArenaForAllocation()); - } - _impl_.ban_reason_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ban_reason_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_ban_reason()) { - _this->_impl_.ban_reason_.Set(from._internal_ban_reason(), - _this->GetArenaForAllocation()); - } - _impl_.app_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.app_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_app_name()) { - _this->_impl_.app_name_.Set(from._internal_app_name(), - _this->GetArenaForAllocation()); - } - _impl_.image_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.image_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_image_url()) { - _this->_impl_.image_url_.Set(from._internal_image_url(), - _this->GetArenaForAllocation()); - } - _impl_.shortcutname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.shortcutname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_shortcutname()) { - _this->_impl_.shortcutname_.Set(from._internal_shortcutname(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_vote_data()) { - _this->_impl_.vote_data_ = new ::PublishedFileDetails_VoteData(*from._impl_.vote_data_); - } - ::memcpy(&_impl_.publishedfileid_, &from._impl_.publishedfileid_, - static_cast(reinterpret_cast(&_impl_.time_subscribed_) - - reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.time_subscribed_)); - // @@protoc_insertion_point(copy_constructor:PublishedFileDetails) -} - -inline void PublishedFileDetails::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.previews_){arena} - , decltype(_impl_.tags_){arena} - , decltype(_impl_.children_){arena} - , decltype(_impl_.kvtags_){arena} - , decltype(_impl_.filename_){} - , decltype(_impl_.file_url_){} - , decltype(_impl_.preview_url_){} - , decltype(_impl_.youtubevideoid_){} - , decltype(_impl_.url_){} - , decltype(_impl_.title_){} - , decltype(_impl_.file_description_){} - , decltype(_impl_.short_description_){} - , decltype(_impl_.ban_reason_){} - , decltype(_impl_.app_name_){} - , decltype(_impl_.image_url_){} - , decltype(_impl_.shortcutname_){} - , decltype(_impl_.vote_data_){nullptr} - , decltype(_impl_.publishedfileid_){uint64_t{0u}} - , decltype(_impl_.result_){0u} - , decltype(_impl_.creator_appid_){0u} - , decltype(_impl_.creator_){uint64_t{0u}} - , decltype(_impl_.consumer_appid_){0u} - , decltype(_impl_.consumer_shortcutid_){0u} - , decltype(_impl_.file_size_){uint64_t{0u}} - , decltype(_impl_.preview_file_size_){uint64_t{0u}} - , decltype(_impl_.hcontent_file_){uint64_t{0u}} - , decltype(_impl_.hcontent_preview_){uint64_t{0u}} - , decltype(_impl_.time_created_){0u} - , decltype(_impl_.time_updated_){0u} - , decltype(_impl_.visibility_){0u} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.workshop_file_){false} - , decltype(_impl_.workshop_accepted_){false} - , decltype(_impl_.show_subscribe_all_){false} - , decltype(_impl_.banned_){false} - , decltype(_impl_.num_comments_developer_){0} - , decltype(_impl_.banner_){uint64_t{0u}} - , decltype(_impl_.num_comments_public_){0} - , decltype(_impl_.file_type_){0u} - , decltype(_impl_.subscriptions_){0u} - , decltype(_impl_.can_be_deleted_){false} - , decltype(_impl_.incompatible_){false} - , decltype(_impl_.can_subscribe_){false} - , decltype(_impl_.spoiler_tag_){false} - , decltype(_impl_.favorited_){0u} - , decltype(_impl_.followers_){0u} - , decltype(_impl_.lifetime_subscriptions_){0u} - , decltype(_impl_.lifetime_favorited_){0u} - , decltype(_impl_.lifetime_followers_){0u} - , decltype(_impl_.views_){0u} - , decltype(_impl_.image_width_){0u} - , decltype(_impl_.image_height_){0u} - , decltype(_impl_.shortcutid_){0u} - , decltype(_impl_.num_children_){0u} - , decltype(_impl_.num_reports_){0u} - , decltype(_impl_.time_subscribed_){0u} - }; - _impl_.filename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.filename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.file_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.file_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.preview_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.preview_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.youtubevideoid_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.youtubevideoid_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.title_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.title_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.file_description_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.file_description_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.short_description_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.short_description_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ban_reason_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ban_reason_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.app_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.app_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.image_url_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.image_url_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.shortcutname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.shortcutname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -PublishedFileDetails::~PublishedFileDetails() { - // @@protoc_insertion_point(destructor:PublishedFileDetails) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void PublishedFileDetails::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.previews_.~RepeatedPtrField(); - _impl_.tags_.~RepeatedPtrField(); - _impl_.children_.~RepeatedPtrField(); - _impl_.kvtags_.~RepeatedPtrField(); - _impl_.filename_.Destroy(); - _impl_.file_url_.Destroy(); - _impl_.preview_url_.Destroy(); - _impl_.youtubevideoid_.Destroy(); - _impl_.url_.Destroy(); - _impl_.title_.Destroy(); - _impl_.file_description_.Destroy(); - _impl_.short_description_.Destroy(); - _impl_.ban_reason_.Destroy(); - _impl_.app_name_.Destroy(); - _impl_.image_url_.Destroy(); - _impl_.shortcutname_.Destroy(); - if (this != internal_default_instance()) delete _impl_.vote_data_; -} - -void PublishedFileDetails::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void PublishedFileDetails::Clear() { -// @@protoc_insertion_point(message_clear_start:PublishedFileDetails) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.previews_.Clear(); - _impl_.tags_.Clear(); - _impl_.children_.Clear(); - _impl_.kvtags_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _impl_.filename_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.file_url_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.preview_url_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.youtubevideoid_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000010u) { - _impl_.url_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000020u) { - _impl_.title_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000040u) { - _impl_.file_description_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000080u) { - _impl_.short_description_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x00001f00u) { - if (cached_has_bits & 0x00000100u) { - _impl_.ban_reason_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000200u) { - _impl_.app_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000400u) { - _impl_.image_url_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000800u) { - _impl_.shortcutname_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00001000u) { - GOOGLE_DCHECK(_impl_.vote_data_ != nullptr); - _impl_.vote_data_->Clear(); - } - } - if (cached_has_bits & 0x0000e000u) { - ::memset(&_impl_.publishedfileid_, 0, static_cast( - reinterpret_cast(&_impl_.creator_appid_) - - reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.creator_appid_)); - } - if (cached_has_bits & 0x00ff0000u) { - ::memset(&_impl_.creator_, 0, static_cast( - reinterpret_cast(&_impl_.time_created_) - - reinterpret_cast(&_impl_.creator_)) + sizeof(_impl_.time_created_)); - } - if (cached_has_bits & 0xff000000u) { - ::memset(&_impl_.time_updated_, 0, static_cast( - reinterpret_cast(&_impl_.num_comments_developer_) - - reinterpret_cast(&_impl_.time_updated_)) + sizeof(_impl_.num_comments_developer_)); - } - cached_has_bits = _impl_._has_bits_[1]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.banner_, 0, static_cast( - reinterpret_cast(&_impl_.spoiler_tag_) - - reinterpret_cast(&_impl_.banner_)) + sizeof(_impl_.spoiler_tag_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.favorited_, 0, static_cast( - reinterpret_cast(&_impl_.image_height_) - - reinterpret_cast(&_impl_.favorited_)) + sizeof(_impl_.image_height_)); - } - if (cached_has_bits & 0x000f0000u) { - ::memset(&_impl_.shortcutid_, 0, static_cast( - reinterpret_cast(&_impl_.time_subscribed_) - - reinterpret_cast(&_impl_.shortcutid_)) + sizeof(_impl_.time_subscribed_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* PublishedFileDetails::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 result = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_result(&_impl_._has_bits_); - _impl_.result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 publishedfileid = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_publishedfileid(&_impl_._has_bits_); - _impl_.publishedfileid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 creator = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_creator(&_impl_._has_bits_); - _impl_.creator_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 creator_appid = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_creator_appid(&_impl_._has_bits_); - _impl_.creator_appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 consumer_appid = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_consumer_appid(&_impl_._has_bits_); - _impl_.consumer_appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 consumer_shortcutid = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_consumer_shortcutid(&_impl_._has_bits_); - _impl_.consumer_shortcutid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string filename = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_filename(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PublishedFileDetails.filename"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint64 file_size = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_file_size(&_impl_._has_bits_); - _impl_.file_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 preview_file_size = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_preview_file_size(&_impl_._has_bits_); - _impl_.preview_file_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string file_url = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_file_url(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PublishedFileDetails.file_url"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string preview_url = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_preview_url(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PublishedFileDetails.preview_url"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string youtubevideoid = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - auto str = _internal_mutable_youtubevideoid(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PublishedFileDetails.youtubevideoid"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string url = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - auto str = _internal_mutable_url(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PublishedFileDetails.url"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional fixed64 hcontent_file = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 113)) { - _Internal::set_has_hcontent_file(&_impl_._has_bits_); - _impl_.hcontent_file_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional fixed64 hcontent_preview = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 121)) { - _Internal::set_has_hcontent_preview(&_impl_._has_bits_); - _impl_.hcontent_preview_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional string title = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { - auto str = _internal_mutable_title(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PublishedFileDetails.title"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string file_description = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { - auto str = _internal_mutable_file_description(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PublishedFileDetails.file_description"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string short_description = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { - auto str = _internal_mutable_short_description(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PublishedFileDetails.short_description"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 time_created = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_time_created(&_impl_._has_bits_); - _impl_.time_created_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 time_updated = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { - _Internal::set_has_time_updated(&_impl_._has_bits_); - _impl_.time_updated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 visibility = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { - _Internal::set_has_visibility(&_impl_._has_bits_); - _impl_.visibility_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { - _Internal::set_has_flags(&_impl_._has_bits_); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool workshop_file = 23; - case 23: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 184)) { - _Internal::set_has_workshop_file(&_impl_._has_bits_); - _impl_.workshop_file_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool workshop_accepted = 24; - case 24: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 192)) { - _Internal::set_has_workshop_accepted(&_impl_._has_bits_); - _impl_.workshop_accepted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool show_subscribe_all = 25; - case 25: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 200)) { - _Internal::set_has_show_subscribe_all(&_impl_._has_bits_); - _impl_.show_subscribe_all_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 num_comments_developer = 26; - case 26: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 208)) { - _Internal::set_has_num_comments_developer(&_impl_._has_bits_); - _impl_.num_comments_developer_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 num_comments_public = 27; - case 27: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 216)) { - _Internal::set_has_num_comments_public(&_impl_._has_bits_); - _impl_.num_comments_public_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool banned = 28; - case 28: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 224)) { - _Internal::set_has_banned(&_impl_._has_bits_); - _impl_.banned_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string ban_reason = 29; - case 29: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 234)) { - auto str = _internal_mutable_ban_reason(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PublishedFileDetails.ban_reason"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional fixed64 banner = 30; - case 30: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 241)) { - _Internal::set_has_banner(&_impl_._has_bits_); - _impl_.banner_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional bool can_be_deleted = 31; - case 31: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 248)) { - _Internal::set_has_can_be_deleted(&_impl_._has_bits_); - _impl_.can_be_deleted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool incompatible = 32; - case 32: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { - _Internal::set_has_incompatible(&_impl_._has_bits_); - _impl_.incompatible_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string app_name = 33; - case 33: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_app_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PublishedFileDetails.app_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 file_type = 34; - case 34: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_file_type(&_impl_._has_bits_); - _impl_.file_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool can_subscribe = 35; - case 35: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_can_subscribe(&_impl_._has_bits_); - _impl_.can_subscribe_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 subscriptions = 36; - case 36: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_subscriptions(&_impl_._has_bits_); - _impl_.subscriptions_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 favorited = 37; - case 37: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_favorited(&_impl_._has_bits_); - _impl_.favorited_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 followers = 38; - case 38: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_followers(&_impl_._has_bits_); - _impl_.followers_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 lifetime_subscriptions = 39; - case 39: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_lifetime_subscriptions(&_impl_._has_bits_); - _impl_.lifetime_subscriptions_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 lifetime_favorited = 40; - case 40: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_lifetime_favorited(&_impl_._has_bits_); - _impl_.lifetime_favorited_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 lifetime_followers = 41; - case 41: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_lifetime_followers(&_impl_._has_bits_); - _impl_.lifetime_followers_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 views = 42; - case 42: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_views(&_impl_._has_bits_); - _impl_.views_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 image_width = 43; - case 43: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_image_width(&_impl_._has_bits_); - _impl_.image_width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 image_height = 44; - case 44: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_image_height(&_impl_._has_bits_); - _impl_.image_height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string image_url = 45; - case 45: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - auto str = _internal_mutable_image_url(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PublishedFileDetails.image_url"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool spoiler_tag = 46; - case 46: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_spoiler_tag(&_impl_._has_bits_); - _impl_.spoiler_tag_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 shortcutid = 47; - case 47: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_shortcutid(&_impl_._has_bits_); - _impl_.shortcutid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string shortcutname = 48; - case 48: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { - auto str = _internal_mutable_shortcutname(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "PublishedFileDetails.shortcutname"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 num_children = 49; - case 49: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_num_children(&_impl_._has_bits_); - _impl_.num_children_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 num_reports = 50; - case 50: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_num_reports(&_impl_._has_bits_); - _impl_.num_reports_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .PublishedFileDetails.Preview previews = 51; - case 51: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(_internal_add_previews(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<410>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .PublishedFileDetails.Tag tags = 52; - case 52: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(_internal_add_tags(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<418>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .PublishedFileDetails.Child children = 53; - case 53: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 170)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(_internal_add_children(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<426>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .PublishedFileDetails.KVTag kvtags = 54; - case 54: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 178)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(_internal_add_kvtags(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<434>(ptr)); - } else - goto handle_unusual; - continue; - // optional .PublishedFileDetails.VoteData vote_data = 55; - case 55: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 186)) { - ptr = ctx->ParseMessage(_internal_mutable_vote_data(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 time_subscribed = 56 [(.description) = "Only valid in PublishedFile.GetUserFiles and not normal PublishedFile.GetDetail calls"]; - case 56: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 192)) { - _Internal::set_has_time_subscribed(&_impl_._has_bits_); - _impl_.time_subscribed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* PublishedFileDetails::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:PublishedFileDetails) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 result = 1; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_result(), target); - } - - // optional uint64 publishedfileid = 2; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_publishedfileid(), target); - } - - // optional fixed64 creator = 3; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_creator(), target); - } - - // optional uint32 creator_appid = 4; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_creator_appid(), target); - } - - // optional uint32 consumer_appid = 5; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_consumer_appid(), target); - } - - // optional uint32 consumer_shortcutid = 6; - if (cached_has_bits & 0x00040000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_consumer_shortcutid(), target); - } - - // optional string filename = 7; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_filename().data(), static_cast(this->_internal_filename().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PublishedFileDetails.filename"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_filename(), target); - } - - // optional uint64 file_size = 8; - if (cached_has_bits & 0x00080000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_file_size(), target); - } - - // optional uint64 preview_file_size = 9; - if (cached_has_bits & 0x00100000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(9, this->_internal_preview_file_size(), target); - } - - // optional string file_url = 10; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_file_url().data(), static_cast(this->_internal_file_url().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PublishedFileDetails.file_url"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_file_url(), target); - } - - // optional string preview_url = 11; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_preview_url().data(), static_cast(this->_internal_preview_url().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PublishedFileDetails.preview_url"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_preview_url(), target); - } - - // optional string youtubevideoid = 12; - if (cached_has_bits & 0x00000008u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_youtubevideoid().data(), static_cast(this->_internal_youtubevideoid().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PublishedFileDetails.youtubevideoid"); - target = stream->WriteStringMaybeAliased( - 12, this->_internal_youtubevideoid(), target); - } - - // optional string url = 13; - if (cached_has_bits & 0x00000010u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_url().data(), static_cast(this->_internal_url().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PublishedFileDetails.url"); - target = stream->WriteStringMaybeAliased( - 13, this->_internal_url(), target); - } - - // optional fixed64 hcontent_file = 14; - if (cached_has_bits & 0x00200000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(14, this->_internal_hcontent_file(), target); - } - - // optional fixed64 hcontent_preview = 15; - if (cached_has_bits & 0x00400000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(15, this->_internal_hcontent_preview(), target); - } - - // optional string title = 16; - if (cached_has_bits & 0x00000020u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_title().data(), static_cast(this->_internal_title().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PublishedFileDetails.title"); - target = stream->WriteStringMaybeAliased( - 16, this->_internal_title(), target); - } - - // optional string file_description = 17; - if (cached_has_bits & 0x00000040u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_file_description().data(), static_cast(this->_internal_file_description().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PublishedFileDetails.file_description"); - target = stream->WriteStringMaybeAliased( - 17, this->_internal_file_description(), target); - } - - // optional string short_description = 18; - if (cached_has_bits & 0x00000080u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_short_description().data(), static_cast(this->_internal_short_description().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PublishedFileDetails.short_description"); - target = stream->WriteStringMaybeAliased( - 18, this->_internal_short_description(), target); - } - - // optional uint32 time_created = 19; - if (cached_has_bits & 0x00800000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_time_created(), target); - } - - // optional uint32 time_updated = 20; - if (cached_has_bits & 0x01000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_time_updated(), target); - } - - // optional uint32 visibility = 21; - if (cached_has_bits & 0x02000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_visibility(), target); - } - - // optional uint32 flags = 22; - if (cached_has_bits & 0x04000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_flags(), target); - } - - // optional bool workshop_file = 23; - if (cached_has_bits & 0x08000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(23, this->_internal_workshop_file(), target); - } - - // optional bool workshop_accepted = 24; - if (cached_has_bits & 0x10000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(24, this->_internal_workshop_accepted(), target); - } - - // optional bool show_subscribe_all = 25; - if (cached_has_bits & 0x20000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(25, this->_internal_show_subscribe_all(), target); - } - - // optional int32 num_comments_developer = 26; - if (cached_has_bits & 0x80000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(26, this->_internal_num_comments_developer(), target); - } - - cached_has_bits = _impl_._has_bits_[1]; - // optional int32 num_comments_public = 27; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(27, this->_internal_num_comments_public(), target); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool banned = 28; - if (cached_has_bits & 0x40000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(28, this->_internal_banned(), target); - } - - // optional string ban_reason = 29; - if (cached_has_bits & 0x00000100u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_ban_reason().data(), static_cast(this->_internal_ban_reason().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PublishedFileDetails.ban_reason"); - target = stream->WriteStringMaybeAliased( - 29, this->_internal_ban_reason(), target); - } - - cached_has_bits = _impl_._has_bits_[1]; - // optional fixed64 banner = 30; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(30, this->_internal_banner(), target); - } - - // optional bool can_be_deleted = 31; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(31, this->_internal_can_be_deleted(), target); - } - - // optional bool incompatible = 32; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(32, this->_internal_incompatible(), target); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional string app_name = 33; - if (cached_has_bits & 0x00000200u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_app_name().data(), static_cast(this->_internal_app_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PublishedFileDetails.app_name"); - target = stream->WriteStringMaybeAliased( - 33, this->_internal_app_name(), target); - } - - cached_has_bits = _impl_._has_bits_[1]; - // optional uint32 file_type = 34; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(34, this->_internal_file_type(), target); - } - - // optional bool can_subscribe = 35; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(35, this->_internal_can_subscribe(), target); - } - - // optional uint32 subscriptions = 36; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(36, this->_internal_subscriptions(), target); - } - - // optional uint32 favorited = 37; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(37, this->_internal_favorited(), target); - } - - // optional uint32 followers = 38; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(38, this->_internal_followers(), target); - } - - // optional uint32 lifetime_subscriptions = 39; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(39, this->_internal_lifetime_subscriptions(), target); - } - - // optional uint32 lifetime_favorited = 40; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(40, this->_internal_lifetime_favorited(), target); - } - - // optional uint32 lifetime_followers = 41; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(41, this->_internal_lifetime_followers(), target); - } - - // optional uint32 views = 42; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(42, this->_internal_views(), target); - } - - // optional uint32 image_width = 43; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(43, this->_internal_image_width(), target); - } - - // optional uint32 image_height = 44; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(44, this->_internal_image_height(), target); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional string image_url = 45; - if (cached_has_bits & 0x00000400u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_image_url().data(), static_cast(this->_internal_image_url().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PublishedFileDetails.image_url"); - target = stream->WriteStringMaybeAliased( - 45, this->_internal_image_url(), target); - } - - cached_has_bits = _impl_._has_bits_[1]; - // optional bool spoiler_tag = 46; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(46, this->_internal_spoiler_tag(), target); - } - - // optional uint32 shortcutid = 47; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(47, this->_internal_shortcutid(), target); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional string shortcutname = 48; - if (cached_has_bits & 0x00000800u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_shortcutname().data(), static_cast(this->_internal_shortcutname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "PublishedFileDetails.shortcutname"); - target = stream->WriteStringMaybeAliased( - 48, this->_internal_shortcutname(), target); - } - - cached_has_bits = _impl_._has_bits_[1]; - // optional uint32 num_children = 49; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(49, this->_internal_num_children(), target); - } - - // optional uint32 num_reports = 50; - if (cached_has_bits & 0x00040000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(50, this->_internal_num_reports(), target); - } - - // repeated .PublishedFileDetails.Preview previews = 51; - for (unsigned i = 0, - n = static_cast(this->_internal_previews_size()); i < n; i++) { - const auto& repfield = this->_internal_previews(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(51, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .PublishedFileDetails.Tag tags = 52; - for (unsigned i = 0, - n = static_cast(this->_internal_tags_size()); i < n; i++) { - const auto& repfield = this->_internal_tags(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(52, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .PublishedFileDetails.Child children = 53; - for (unsigned i = 0, - n = static_cast(this->_internal_children_size()); i < n; i++) { - const auto& repfield = this->_internal_children(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(53, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .PublishedFileDetails.KVTag kvtags = 54; - for (unsigned i = 0, - n = static_cast(this->_internal_kvtags_size()); i < n; i++) { - const auto& repfield = this->_internal_kvtags(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(54, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional .PublishedFileDetails.VoteData vote_data = 55; - if (cached_has_bits & 0x00001000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(55, _Internal::vote_data(this), - _Internal::vote_data(this).GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[1]; - // optional uint32 time_subscribed = 56 [(.description) = "Only valid in PublishedFile.GetUserFiles and not normal PublishedFile.GetDetail calls"]; - if (cached_has_bits & 0x00080000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(56, this->_internal_time_subscribed(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:PublishedFileDetails) - return target; -} - -size_t PublishedFileDetails::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:PublishedFileDetails) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .PublishedFileDetails.Preview previews = 51; - total_size += 2UL * this->_internal_previews_size(); - for (const auto& msg : this->_impl_.previews_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .PublishedFileDetails.Tag tags = 52; - total_size += 2UL * this->_internal_tags_size(); - for (const auto& msg : this->_impl_.tags_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .PublishedFileDetails.Child children = 53; - total_size += 2UL * this->_internal_children_size(); - for (const auto& msg : this->_impl_.children_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .PublishedFileDetails.KVTag kvtags = 54; - total_size += 2UL * this->_internal_kvtags_size(); - for (const auto& msg : this->_impl_.kvtags_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string filename = 7; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_filename()); - } - - // optional string file_url = 10; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_file_url()); - } - - // optional string preview_url = 11; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_preview_url()); - } - - // optional string youtubevideoid = 12; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_youtubevideoid()); - } - - // optional string url = 13; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_url()); - } - - // optional string title = 16; - if (cached_has_bits & 0x00000020u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_title()); - } - - // optional string file_description = 17; - if (cached_has_bits & 0x00000040u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_file_description()); - } - - // optional string short_description = 18; - if (cached_has_bits & 0x00000080u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_short_description()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional string ban_reason = 29; - if (cached_has_bits & 0x00000100u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_ban_reason()); - } - - // optional string app_name = 33; - if (cached_has_bits & 0x00000200u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_app_name()); - } - - // optional string image_url = 45; - if (cached_has_bits & 0x00000400u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_image_url()); - } - - // optional string shortcutname = 48; - if (cached_has_bits & 0x00000800u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_shortcutname()); - } - - // optional .PublishedFileDetails.VoteData vote_data = 55; - if (cached_has_bits & 0x00001000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.vote_data_); - } - - // optional uint64 publishedfileid = 2; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_publishedfileid()); - } - - // optional uint32 result = 1; - if (cached_has_bits & 0x00004000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_result()); - } - - // optional uint32 creator_appid = 4; - if (cached_has_bits & 0x00008000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_creator_appid()); - } - - } - if (cached_has_bits & 0x00ff0000u) { - // optional fixed64 creator = 3; - if (cached_has_bits & 0x00010000u) { - total_size += 1 + 8; - } - - // optional uint32 consumer_appid = 5; - if (cached_has_bits & 0x00020000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_consumer_appid()); - } - - // optional uint32 consumer_shortcutid = 6; - if (cached_has_bits & 0x00040000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_consumer_shortcutid()); - } - - // optional uint64 file_size = 8; - if (cached_has_bits & 0x00080000u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_file_size()); - } - - // optional uint64 preview_file_size = 9; - if (cached_has_bits & 0x00100000u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_preview_file_size()); - } - - // optional fixed64 hcontent_file = 14; - if (cached_has_bits & 0x00200000u) { - total_size += 1 + 8; - } - - // optional fixed64 hcontent_preview = 15; - if (cached_has_bits & 0x00400000u) { - total_size += 1 + 8; - } - - // optional uint32 time_created = 19; - if (cached_has_bits & 0x00800000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_time_created()); - } - - } - if (cached_has_bits & 0xff000000u) { - // optional uint32 time_updated = 20; - if (cached_has_bits & 0x01000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_time_updated()); - } - - // optional uint32 visibility = 21; - if (cached_has_bits & 0x02000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_visibility()); - } - - // optional uint32 flags = 22; - if (cached_has_bits & 0x04000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_flags()); - } - - // optional bool workshop_file = 23; - if (cached_has_bits & 0x08000000u) { - total_size += 2 + 1; - } - - // optional bool workshop_accepted = 24; - if (cached_has_bits & 0x10000000u) { - total_size += 2 + 1; - } - - // optional bool show_subscribe_all = 25; - if (cached_has_bits & 0x20000000u) { - total_size += 2 + 1; - } - - // optional bool banned = 28; - if (cached_has_bits & 0x40000000u) { - total_size += 2 + 1; - } - - // optional int32 num_comments_developer = 26; - if (cached_has_bits & 0x80000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::Int32Size( - this->_internal_num_comments_developer()); - } - - } - cached_has_bits = _impl_._has_bits_[1]; - if (cached_has_bits & 0x000000ffu) { - // optional fixed64 banner = 30; - if (cached_has_bits & 0x00000001u) { - total_size += 2 + 8; - } - - // optional int32 num_comments_public = 27; - if (cached_has_bits & 0x00000002u) { - total_size += 2 + - ::_pbi::WireFormatLite::Int32Size( - this->_internal_num_comments_public()); - } - - // optional uint32 file_type = 34; - if (cached_has_bits & 0x00000004u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_file_type()); - } - - // optional uint32 subscriptions = 36; - if (cached_has_bits & 0x00000008u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_subscriptions()); - } - - // optional bool can_be_deleted = 31; - if (cached_has_bits & 0x00000010u) { - total_size += 2 + 1; - } - - // optional bool incompatible = 32; - if (cached_has_bits & 0x00000020u) { - total_size += 2 + 1; - } - - // optional bool can_subscribe = 35; - if (cached_has_bits & 0x00000040u) { - total_size += 2 + 1; - } - - // optional bool spoiler_tag = 46; - if (cached_has_bits & 0x00000080u) { - total_size += 2 + 1; - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional uint32 favorited = 37; - if (cached_has_bits & 0x00000100u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_favorited()); - } - - // optional uint32 followers = 38; - if (cached_has_bits & 0x00000200u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_followers()); - } - - // optional uint32 lifetime_subscriptions = 39; - if (cached_has_bits & 0x00000400u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_lifetime_subscriptions()); - } - - // optional uint32 lifetime_favorited = 40; - if (cached_has_bits & 0x00000800u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_lifetime_favorited()); - } - - // optional uint32 lifetime_followers = 41; - if (cached_has_bits & 0x00001000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_lifetime_followers()); - } - - // optional uint32 views = 42; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_views()); - } - - // optional uint32 image_width = 43; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_image_width()); - } - - // optional uint32 image_height = 44; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_image_height()); - } - - } - if (cached_has_bits & 0x000f0000u) { - // optional uint32 shortcutid = 47; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_shortcutid()); - } - - // optional uint32 num_children = 49; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_num_children()); - } - - // optional uint32 num_reports = 50; - if (cached_has_bits & 0x00040000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_num_reports()); - } - - // optional uint32 time_subscribed = 56 [(.description) = "Only valid in PublishedFile.GetUserFiles and not normal PublishedFile.GetDetail calls"]; - if (cached_has_bits & 0x00080000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_time_subscribed()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PublishedFileDetails::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - PublishedFileDetails::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PublishedFileDetails::GetClassData() const { return &_class_data_; } - - -void PublishedFileDetails::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:PublishedFileDetails) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.previews_.MergeFrom(from._impl_.previews_); - _this->_impl_.tags_.MergeFrom(from._impl_.tags_); - _this->_impl_.children_.MergeFrom(from._impl_.children_); - _this->_impl_.kvtags_.MergeFrom(from._impl_.kvtags_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_filename(from._internal_filename()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_file_url(from._internal_file_url()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_preview_url(from._internal_preview_url()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_youtubevideoid(from._internal_youtubevideoid()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_set_url(from._internal_url()); - } - if (cached_has_bits & 0x00000020u) { - _this->_internal_set_title(from._internal_title()); - } - if (cached_has_bits & 0x00000040u) { - _this->_internal_set_file_description(from._internal_file_description()); - } - if (cached_has_bits & 0x00000080u) { - _this->_internal_set_short_description(from._internal_short_description()); - } - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_ban_reason(from._internal_ban_reason()); - } - if (cached_has_bits & 0x00000200u) { - _this->_internal_set_app_name(from._internal_app_name()); - } - if (cached_has_bits & 0x00000400u) { - _this->_internal_set_image_url(from._internal_image_url()); - } - if (cached_has_bits & 0x00000800u) { - _this->_internal_set_shortcutname(from._internal_shortcutname()); - } - if (cached_has_bits & 0x00001000u) { - _this->_internal_mutable_vote_data()->::PublishedFileDetails_VoteData::MergeFrom( - from._internal_vote_data()); - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.publishedfileid_ = from._impl_.publishedfileid_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.result_ = from._impl_.result_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.creator_appid_ = from._impl_.creator_appid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00ff0000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.creator_ = from._impl_.creator_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.consumer_appid_ = from._impl_.consumer_appid_; - } - if (cached_has_bits & 0x00040000u) { - _this->_impl_.consumer_shortcutid_ = from._impl_.consumer_shortcutid_; - } - if (cached_has_bits & 0x00080000u) { - _this->_impl_.file_size_ = from._impl_.file_size_; - } - if (cached_has_bits & 0x00100000u) { - _this->_impl_.preview_file_size_ = from._impl_.preview_file_size_; - } - if (cached_has_bits & 0x00200000u) { - _this->_impl_.hcontent_file_ = from._impl_.hcontent_file_; - } - if (cached_has_bits & 0x00400000u) { - _this->_impl_.hcontent_preview_ = from._impl_.hcontent_preview_; - } - if (cached_has_bits & 0x00800000u) { - _this->_impl_.time_created_ = from._impl_.time_created_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0xff000000u) { - if (cached_has_bits & 0x01000000u) { - _this->_impl_.time_updated_ = from._impl_.time_updated_; - } - if (cached_has_bits & 0x02000000u) { - _this->_impl_.visibility_ = from._impl_.visibility_; - } - if (cached_has_bits & 0x04000000u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x08000000u) { - _this->_impl_.workshop_file_ = from._impl_.workshop_file_; - } - if (cached_has_bits & 0x10000000u) { - _this->_impl_.workshop_accepted_ = from._impl_.workshop_accepted_; - } - if (cached_has_bits & 0x20000000u) { - _this->_impl_.show_subscribe_all_ = from._impl_.show_subscribe_all_; - } - if (cached_has_bits & 0x40000000u) { - _this->_impl_.banned_ = from._impl_.banned_; - } - if (cached_has_bits & 0x80000000u) { - _this->_impl_.num_comments_developer_ = from._impl_.num_comments_developer_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - cached_has_bits = from._impl_._has_bits_[1]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.banner_ = from._impl_.banner_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.num_comments_public_ = from._impl_.num_comments_public_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.file_type_ = from._impl_.file_type_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.subscriptions_ = from._impl_.subscriptions_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.can_be_deleted_ = from._impl_.can_be_deleted_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.incompatible_ = from._impl_.incompatible_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.can_subscribe_ = from._impl_.can_subscribe_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.spoiler_tag_ = from._impl_.spoiler_tag_; - } - _this->_impl_._has_bits_[1] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.favorited_ = from._impl_.favorited_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.followers_ = from._impl_.followers_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.lifetime_subscriptions_ = from._impl_.lifetime_subscriptions_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.lifetime_favorited_ = from._impl_.lifetime_favorited_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.lifetime_followers_ = from._impl_.lifetime_followers_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.views_ = from._impl_.views_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.image_width_ = from._impl_.image_width_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.image_height_ = from._impl_.image_height_; - } - _this->_impl_._has_bits_[1] |= cached_has_bits; - } - if (cached_has_bits & 0x000f0000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.shortcutid_ = from._impl_.shortcutid_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.num_children_ = from._impl_.num_children_; - } - if (cached_has_bits & 0x00040000u) { - _this->_impl_.num_reports_ = from._impl_.num_reports_; - } - if (cached_has_bits & 0x00080000u) { - _this->_impl_.time_subscribed_ = from._impl_.time_subscribed_; - } - _this->_impl_._has_bits_[1] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void PublishedFileDetails::CopyFrom(const PublishedFileDetails& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:PublishedFileDetails) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool PublishedFileDetails::IsInitialized() const { - return true; -} - -void PublishedFileDetails::InternalSwap(PublishedFileDetails* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_._has_bits_[1], other->_impl_._has_bits_[1]); - _impl_.previews_.InternalSwap(&other->_impl_.previews_); - _impl_.tags_.InternalSwap(&other->_impl_.tags_); - _impl_.children_.InternalSwap(&other->_impl_.children_); - _impl_.kvtags_.InternalSwap(&other->_impl_.kvtags_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.filename_, lhs_arena, - &other->_impl_.filename_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.file_url_, lhs_arena, - &other->_impl_.file_url_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.preview_url_, lhs_arena, - &other->_impl_.preview_url_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.youtubevideoid_, lhs_arena, - &other->_impl_.youtubevideoid_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.url_, lhs_arena, - &other->_impl_.url_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.title_, lhs_arena, - &other->_impl_.title_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.file_description_, lhs_arena, - &other->_impl_.file_description_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.short_description_, lhs_arena, - &other->_impl_.short_description_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.ban_reason_, lhs_arena, - &other->_impl_.ban_reason_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.app_name_, lhs_arena, - &other->_impl_.app_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.image_url_, lhs_arena, - &other->_impl_.image_url_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.shortcutname_, lhs_arena, - &other->_impl_.shortcutname_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(PublishedFileDetails, _impl_.time_subscribed_) - + sizeof(PublishedFileDetails::_impl_.time_subscribed_) - - PROTOBUF_FIELD_OFFSET(PublishedFileDetails, _impl_.vote_data_)>( - reinterpret_cast(&_impl_.vote_data_), - reinterpret_cast(&other->_impl_.vote_data_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata PublishedFileDetails::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[12]); -} - -// =================================================================== - -class CPublishedFile_GetDetails_Response::_Internal { - public: -}; - -CPublishedFile_GetDetails_Response::CPublishedFile_GetDetails_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPublishedFile_GetDetails_Response) -} -CPublishedFile_GetDetails_Response::CPublishedFile_GetDetails_Response(const CPublishedFile_GetDetails_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPublishedFile_GetDetails_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.publishedfiledetails_){from._impl_.publishedfiledetails_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CPublishedFile_GetDetails_Response) -} - -inline void CPublishedFile_GetDetails_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.publishedfiledetails_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CPublishedFile_GetDetails_Response::~CPublishedFile_GetDetails_Response() { - // @@protoc_insertion_point(destructor:CPublishedFile_GetDetails_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPublishedFile_GetDetails_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.publishedfiledetails_.~RepeatedPtrField(); -} - -void CPublishedFile_GetDetails_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPublishedFile_GetDetails_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CPublishedFile_GetDetails_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.publishedfiledetails_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPublishedFile_GetDetails_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .PublishedFileDetails publishedfiledetails = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_publishedfiledetails(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPublishedFile_GetDetails_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_GetDetails_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .PublishedFileDetails publishedfiledetails = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_publishedfiledetails_size()); i < n; i++) { - const auto& repfield = this->_internal_publishedfiledetails(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPublishedFile_GetDetails_Response) - return target; -} - -size_t CPublishedFile_GetDetails_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_GetDetails_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .PublishedFileDetails publishedfiledetails = 1; - total_size += 1UL * this->_internal_publishedfiledetails_size(); - for (const auto& msg : this->_impl_.publishedfiledetails_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_GetDetails_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPublishedFile_GetDetails_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_GetDetails_Response::GetClassData() const { return &_class_data_; } - - -void CPublishedFile_GetDetails_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPublishedFile_GetDetails_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.publishedfiledetails_.MergeFrom(from._impl_.publishedfiledetails_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPublishedFile_GetDetails_Response::CopyFrom(const CPublishedFile_GetDetails_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_GetDetails_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPublishedFile_GetDetails_Response::IsInitialized() const { - return true; -} - -void CPublishedFile_GetDetails_Response::InternalSwap(CPublishedFile_GetDetails_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.publishedfiledetails_.InternalSwap(&other->_impl_.publishedfiledetails_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_GetDetails_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[13]); -} - -// =================================================================== - -class CPublishedFile_GetUserFiles_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_page(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_numperpage(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_sortmethod(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_totalonly(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_privacy(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_ids_only(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::PROTOBUF_NAMESPACE_ID::internal::LazyString CPublishedFile_GetUserFiles_Request::Impl_::_i_give_permission_to_break_this_code_default_sortmethod_{{{"lastupdated", 11}}, {nullptr}}; -CPublishedFile_GetUserFiles_Request::CPublishedFile_GetUserFiles_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPublishedFile_GetUserFiles_Request) -} -CPublishedFile_GetUserFiles_Request::CPublishedFile_GetUserFiles_Request(const CPublishedFile_GetUserFiles_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPublishedFile_GetUserFiles_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.requiredtags_){from._impl_.requiredtags_} - , decltype(_impl_.excludedtags_){from._impl_.excludedtags_} - , decltype(_impl_.sortmethod_){} - , decltype(_impl_.appid_){} - , decltype(_impl_.totalonly_){} - , decltype(_impl_.ids_only_){} - , decltype(_impl_.privacy_){} - , decltype(_impl_.page_){} - , decltype(_impl_.numperpage_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.sortmethod_.InitDefault(); - if (from._internal_has_sortmethod()) { - _this->_impl_.sortmethod_.Set(from._internal_sortmethod(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.appid_, &from._impl_.appid_, - static_cast(reinterpret_cast(&_impl_.numperpage_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.numperpage_)); - // @@protoc_insertion_point(copy_constructor:CPublishedFile_GetUserFiles_Request) -} - -inline void CPublishedFile_GetUserFiles_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.requiredtags_){arena} - , decltype(_impl_.excludedtags_){arena} - , decltype(_impl_.sortmethod_){} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.totalonly_){false} - , decltype(_impl_.ids_only_){false} - , decltype(_impl_.privacy_){0u} - , decltype(_impl_.page_){1u} - , decltype(_impl_.numperpage_){1u} - }; - _impl_.sortmethod_.InitDefault(); -} - -CPublishedFile_GetUserFiles_Request::~CPublishedFile_GetUserFiles_Request() { - // @@protoc_insertion_point(destructor:CPublishedFile_GetUserFiles_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPublishedFile_GetUserFiles_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.requiredtags_.~RepeatedPtrField(); - _impl_.excludedtags_.~RepeatedPtrField(); - _impl_.sortmethod_.Destroy(); -} - -void CPublishedFile_GetUserFiles_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPublishedFile_GetUserFiles_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CPublishedFile_GetUserFiles_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.requiredtags_.Clear(); - _impl_.excludedtags_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.sortmethod_.ClearToDefault(::CPublishedFile_GetUserFiles_Request::Impl_::_i_give_permission_to_break_this_code_default_sortmethod_, GetArenaForAllocation()); - } - if (cached_has_bits & 0x0000007eu) { - ::memset(&_impl_.appid_, 0, static_cast( - reinterpret_cast(&_impl_.privacy_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.privacy_)); - _impl_.page_ = 1u; - _impl_.numperpage_ = 1u; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPublishedFile_GetUserFiles_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1 [(.description) = "App Id to retrieve published files from."]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 page = 3 [default = 1, (.description) = "(Optional) Starting page for results."]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_page(&has_bits); - _impl_.page_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 numperpage = 4 [default = 1, (.description) = "(Optional) The number of results, per page to return."]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_numperpage(&has_bits); - _impl_.numperpage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string sortmethod = 6 [default = "lastupdated", (.description) = "(Optional) Sorting method to use on returned values."]; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_sortmethod(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_GetUserFiles_Request.sortmethod"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool totalonly = 7 [(.description) = "(Optional) If true, only return the total number of files that satisfy this query."]; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_totalonly(&has_bits); - _impl_.totalonly_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 privacy = 9 [(.description) = "(optional) Filter by privacy settings."]; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_privacy(&has_bits); - _impl_.privacy_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool ids_only = 10 [(.description) = "(Optional) If true, only return the published file ids of files that satisfy this query."]; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_ids_only(&has_bits); - _impl_.ids_only_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated string requiredtags = 11 [(.description) = "(Optional) Tags that must be present on a published file to satisfy the query."]; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_requiredtags(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_GetUserFiles_Request.requiredtags"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<90>(ptr)); - } else - goto handle_unusual; - continue; - // repeated string excludedtags = 12 [(.description) = "(Optional) Tags that must NOT be present on a published file to satisfy the query."]; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_excludedtags(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_GetUserFiles_Request.excludedtags"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<98>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPublishedFile_GetUserFiles_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_GetUserFiles_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1 [(.description) = "App Id to retrieve published files from."]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // optional uint32 page = 3 [default = 1, (.description) = "(Optional) Starting page for results."]; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_page(), target); - } - - // optional uint32 numperpage = 4 [default = 1, (.description) = "(Optional) The number of results, per page to return."]; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_numperpage(), target); - } - - // optional string sortmethod = 6 [default = "lastupdated", (.description) = "(Optional) Sorting method to use on returned values."]; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_sortmethod().data(), static_cast(this->_internal_sortmethod().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_GetUserFiles_Request.sortmethod"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_sortmethod(), target); - } - - // optional bool totalonly = 7 [(.description) = "(Optional) If true, only return the total number of files that satisfy this query."]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_totalonly(), target); - } - - // optional uint32 privacy = 9 [(.description) = "(optional) Filter by privacy settings."]; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_privacy(), target); - } - - // optional bool ids_only = 10 [(.description) = "(Optional) If true, only return the published file ids of files that satisfy this query."]; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(10, this->_internal_ids_only(), target); - } - - // repeated string requiredtags = 11 [(.description) = "(Optional) Tags that must be present on a published file to satisfy the query."]; - for (int i = 0, n = this->_internal_requiredtags_size(); i < n; i++) { - const auto& s = this->_internal_requiredtags(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_GetUserFiles_Request.requiredtags"); - target = stream->WriteString(11, s, target); - } - - // repeated string excludedtags = 12 [(.description) = "(Optional) Tags that must NOT be present on a published file to satisfy the query."]; - for (int i = 0, n = this->_internal_excludedtags_size(); i < n; i++) { - const auto& s = this->_internal_excludedtags(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_GetUserFiles_Request.excludedtags"); - target = stream->WriteString(12, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPublishedFile_GetUserFiles_Request) - return target; -} - -size_t CPublishedFile_GetUserFiles_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_GetUserFiles_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string requiredtags = 11 [(.description) = "(Optional) Tags that must be present on a published file to satisfy the query."]; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.requiredtags_.size()); - for (int i = 0, n = _impl_.requiredtags_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.requiredtags_.Get(i)); - } - - // repeated string excludedtags = 12 [(.description) = "(Optional) Tags that must NOT be present on a published file to satisfy the query."]; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.excludedtags_.size()); - for (int i = 0, n = _impl_.excludedtags_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.excludedtags_.Get(i)); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional string sortmethod = 6 [default = "lastupdated", (.description) = "(Optional) Sorting method to use on returned values."]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_sortmethod()); - } - - // optional uint32 appid = 1 [(.description) = "App Id to retrieve published files from."]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional bool totalonly = 7 [(.description) = "(Optional) If true, only return the total number of files that satisfy this query."]; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional bool ids_only = 10 [(.description) = "(Optional) If true, only return the published file ids of files that satisfy this query."]; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - // optional uint32 privacy = 9 [(.description) = "(optional) Filter by privacy settings."]; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_privacy()); - } - - // optional uint32 page = 3 [default = 1, (.description) = "(Optional) Starting page for results."]; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_page()); - } - - // optional uint32 numperpage = 4 [default = 1, (.description) = "(Optional) The number of results, per page to return."]; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_numperpage()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_GetUserFiles_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPublishedFile_GetUserFiles_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_GetUserFiles_Request::GetClassData() const { return &_class_data_; } - - -void CPublishedFile_GetUserFiles_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPublishedFile_GetUserFiles_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.requiredtags_.MergeFrom(from._impl_.requiredtags_); - _this->_impl_.excludedtags_.MergeFrom(from._impl_.excludedtags_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_sortmethod(from._internal_sortmethod()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.totalonly_ = from._impl_.totalonly_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.ids_only_ = from._impl_.ids_only_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.privacy_ = from._impl_.privacy_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.page_ = from._impl_.page_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.numperpage_ = from._impl_.numperpage_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPublishedFile_GetUserFiles_Request::CopyFrom(const CPublishedFile_GetUserFiles_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_GetUserFiles_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPublishedFile_GetUserFiles_Request::IsInitialized() const { - return true; -} - -void CPublishedFile_GetUserFiles_Request::InternalSwap(CPublishedFile_GetUserFiles_Request* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.requiredtags_.InternalSwap(&other->_impl_.requiredtags_); - _impl_.excludedtags_.InternalSwap(&other->_impl_.excludedtags_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.sortmethod_, lhs_arena, - &other->_impl_.sortmethod_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPublishedFile_GetUserFiles_Request, _impl_.privacy_) - + sizeof(CPublishedFile_GetUserFiles_Request::_impl_.privacy_) - - PROTOBUF_FIELD_OFFSET(CPublishedFile_GetUserFiles_Request, _impl_.appid_)>( - reinterpret_cast(&_impl_.appid_), - reinterpret_cast(&other->_impl_.appid_)); - swap(_impl_.page_, other->_impl_.page_); - swap(_impl_.numperpage_, other->_impl_.numperpage_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_GetUserFiles_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[14]); -} - -// =================================================================== - -class CPublishedFile_GetUserFiles_Response_App::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_shortcutid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_private_(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CPublishedFile_GetUserFiles_Response_App::CPublishedFile_GetUserFiles_Response_App(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPublishedFile_GetUserFiles_Response.App) -} -CPublishedFile_GetUserFiles_Response_App::CPublishedFile_GetUserFiles_Response_App(const CPublishedFile_GetUserFiles_Response_App& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPublishedFile_GetUserFiles_Response_App* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.appid_){} - , decltype(_impl_.shortcutid_){} - , decltype(_impl_.private__){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.appid_, &from._impl_.appid_, - static_cast(reinterpret_cast(&_impl_.private__) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.private__)); - // @@protoc_insertion_point(copy_constructor:CPublishedFile_GetUserFiles_Response.App) -} - -inline void CPublishedFile_GetUserFiles_Response_App::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.shortcutid_){0u} - , decltype(_impl_.private__){false} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CPublishedFile_GetUserFiles_Response_App::~CPublishedFile_GetUserFiles_Response_App() { - // @@protoc_insertion_point(destructor:CPublishedFile_GetUserFiles_Response.App) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPublishedFile_GetUserFiles_Response_App::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); -} - -void CPublishedFile_GetUserFiles_Response_App::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPublishedFile_GetUserFiles_Response_App::Clear() { -// @@protoc_insertion_point(message_clear_start:CPublishedFile_GetUserFiles_Response.App) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.appid_, 0, static_cast( - reinterpret_cast(&_impl_.private__) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.private__)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPublishedFile_GetUserFiles_Response_App::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_GetUserFiles_Response.App.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 shortcutid = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_shortcutid(&has_bits); - _impl_.shortcutid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool private = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_private_(&has_bits); - _impl_.private__ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPublishedFile_GetUserFiles_Response_App::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_GetUserFiles_Response.App) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_GetUserFiles_Response.App.name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_name(), target); - } - - // optional uint32 shortcutid = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_shortcutid(), target); - } - - // optional bool private = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_private_(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPublishedFile_GetUserFiles_Response.App) - return target; -} - -size_t CPublishedFile_GetUserFiles_Response_App::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_GetUserFiles_Response.App) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional uint32 shortcutid = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_shortcutid()); - } - - // optional bool private = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_GetUserFiles_Response_App::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPublishedFile_GetUserFiles_Response_App::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_GetUserFiles_Response_App::GetClassData() const { return &_class_data_; } - - -void CPublishedFile_GetUserFiles_Response_App::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPublishedFile_GetUserFiles_Response.App) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.shortcutid_ = from._impl_.shortcutid_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.private__ = from._impl_.private__; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPublishedFile_GetUserFiles_Response_App::CopyFrom(const CPublishedFile_GetUserFiles_Response_App& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_GetUserFiles_Response.App) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPublishedFile_GetUserFiles_Response_App::IsInitialized() const { - return true; -} - -void CPublishedFile_GetUserFiles_Response_App::InternalSwap(CPublishedFile_GetUserFiles_Response_App* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPublishedFile_GetUserFiles_Response_App, _impl_.private__) - + sizeof(CPublishedFile_GetUserFiles_Response_App::_impl_.private__) - - PROTOBUF_FIELD_OFFSET(CPublishedFile_GetUserFiles_Response_App, _impl_.appid_)>( - reinterpret_cast(&_impl_.appid_), - reinterpret_cast(&other->_impl_.appid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_GetUserFiles_Response_App::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[15]); -} - -// =================================================================== - -class CPublishedFile_GetUserFiles_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_total(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_startindex(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CPublishedFile_GetUserFiles_Response::CPublishedFile_GetUserFiles_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPublishedFile_GetUserFiles_Response) -} -CPublishedFile_GetUserFiles_Response::CPublishedFile_GetUserFiles_Response(const CPublishedFile_GetUserFiles_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPublishedFile_GetUserFiles_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.publishedfiledetails_){from._impl_.publishedfiledetails_} - , decltype(_impl_.apps_){from._impl_.apps_} - , decltype(_impl_.total_){} - , decltype(_impl_.startindex_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.total_, &from._impl_.total_, - static_cast(reinterpret_cast(&_impl_.startindex_) - - reinterpret_cast(&_impl_.total_)) + sizeof(_impl_.startindex_)); - // @@protoc_insertion_point(copy_constructor:CPublishedFile_GetUserFiles_Response) -} - -inline void CPublishedFile_GetUserFiles_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.publishedfiledetails_){arena} - , decltype(_impl_.apps_){arena} - , decltype(_impl_.total_){0u} - , decltype(_impl_.startindex_){0u} - }; -} - -CPublishedFile_GetUserFiles_Response::~CPublishedFile_GetUserFiles_Response() { - // @@protoc_insertion_point(destructor:CPublishedFile_GetUserFiles_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPublishedFile_GetUserFiles_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.publishedfiledetails_.~RepeatedPtrField(); - _impl_.apps_.~RepeatedPtrField(); -} - -void CPublishedFile_GetUserFiles_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPublishedFile_GetUserFiles_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CPublishedFile_GetUserFiles_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.publishedfiledetails_.Clear(); - _impl_.apps_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.total_, 0, static_cast( - reinterpret_cast(&_impl_.startindex_) - - reinterpret_cast(&_impl_.total_)) + sizeof(_impl_.startindex_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPublishedFile_GetUserFiles_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 total = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_total(&has_bits); - _impl_.total_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 startindex = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_startindex(&has_bits); - _impl_.startindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .PublishedFileDetails publishedfiledetails = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_publishedfiledetails(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CPublishedFile_GetUserFiles_Response.App apps = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_apps(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPublishedFile_GetUserFiles_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_GetUserFiles_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 total = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_total(), target); - } - - // optional uint32 startindex = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_startindex(), target); - } - - // repeated .PublishedFileDetails publishedfiledetails = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_publishedfiledetails_size()); i < n; i++) { - const auto& repfield = this->_internal_publishedfiledetails(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CPublishedFile_GetUserFiles_Response.App apps = 4; - for (unsigned i = 0, - n = static_cast(this->_internal_apps_size()); i < n; i++) { - const auto& repfield = this->_internal_apps(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPublishedFile_GetUserFiles_Response) - return target; -} - -size_t CPublishedFile_GetUserFiles_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_GetUserFiles_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .PublishedFileDetails publishedfiledetails = 3; - total_size += 1UL * this->_internal_publishedfiledetails_size(); - for (const auto& msg : this->_impl_.publishedfiledetails_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CPublishedFile_GetUserFiles_Response.App apps = 4; - total_size += 1UL * this->_internal_apps_size(); - for (const auto& msg : this->_impl_.apps_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 total = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_total()); - } - - // optional uint32 startindex = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_startindex()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_GetUserFiles_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPublishedFile_GetUserFiles_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_GetUserFiles_Response::GetClassData() const { return &_class_data_; } - - -void CPublishedFile_GetUserFiles_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPublishedFile_GetUserFiles_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.publishedfiledetails_.MergeFrom(from._impl_.publishedfiledetails_); - _this->_impl_.apps_.MergeFrom(from._impl_.apps_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.total_ = from._impl_.total_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.startindex_ = from._impl_.startindex_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPublishedFile_GetUserFiles_Response::CopyFrom(const CPublishedFile_GetUserFiles_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_GetUserFiles_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPublishedFile_GetUserFiles_Response::IsInitialized() const { - return true; -} - -void CPublishedFile_GetUserFiles_Response::InternalSwap(CPublishedFile_GetUserFiles_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.publishedfiledetails_.InternalSwap(&other->_impl_.publishedfiledetails_); - _impl_.apps_.InternalSwap(&other->_impl_.apps_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPublishedFile_GetUserFiles_Response, _impl_.startindex_) - + sizeof(CPublishedFile_GetUserFiles_Response::_impl_.startindex_) - - PROTOBUF_FIELD_OFFSET(CPublishedFile_GetUserFiles_Response, _impl_.total_)>( - reinterpret_cast(&_impl_.total_), - reinterpret_cast(&other->_impl_.total_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_GetUserFiles_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[16]); -} - -// =================================================================== - -class CPublishedFile_Update_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_publishedfileid(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_title(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_file_description(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_visibility(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_filename(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_preview_filename(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CPublishedFile_Update_Request::CPublishedFile_Update_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPublishedFile_Update_Request) -} -CPublishedFile_Update_Request::CPublishedFile_Update_Request(const CPublishedFile_Update_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPublishedFile_Update_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tags_){from._impl_.tags_} - , decltype(_impl_.title_){} - , decltype(_impl_.file_description_){} - , decltype(_impl_.filename_){} - , decltype(_impl_.preview_filename_){} - , decltype(_impl_.publishedfileid_){} - , decltype(_impl_.appid_){} - , decltype(_impl_.visibility_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.title_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.title_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_title()) { - _this->_impl_.title_.Set(from._internal_title(), - _this->GetArenaForAllocation()); - } - _impl_.file_description_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.file_description_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_file_description()) { - _this->_impl_.file_description_.Set(from._internal_file_description(), - _this->GetArenaForAllocation()); - } - _impl_.filename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.filename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_filename()) { - _this->_impl_.filename_.Set(from._internal_filename(), - _this->GetArenaForAllocation()); - } - _impl_.preview_filename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.preview_filename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_preview_filename()) { - _this->_impl_.preview_filename_.Set(from._internal_preview_filename(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.publishedfileid_, &from._impl_.publishedfileid_, - static_cast(reinterpret_cast(&_impl_.visibility_) - - reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.visibility_)); - // @@protoc_insertion_point(copy_constructor:CPublishedFile_Update_Request) -} - -inline void CPublishedFile_Update_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tags_){arena} - , decltype(_impl_.title_){} - , decltype(_impl_.file_description_){} - , decltype(_impl_.filename_){} - , decltype(_impl_.preview_filename_){} - , decltype(_impl_.publishedfileid_){uint64_t{0u}} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.visibility_){0u} - }; - _impl_.title_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.title_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.file_description_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.file_description_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.filename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.filename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.preview_filename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.preview_filename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CPublishedFile_Update_Request::~CPublishedFile_Update_Request() { - // @@protoc_insertion_point(destructor:CPublishedFile_Update_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPublishedFile_Update_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.tags_.~RepeatedPtrField(); - _impl_.title_.Destroy(); - _impl_.file_description_.Destroy(); - _impl_.filename_.Destroy(); - _impl_.preview_filename_.Destroy(); -} - -void CPublishedFile_Update_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPublishedFile_Update_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CPublishedFile_Update_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.tags_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.title_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.file_description_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.filename_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.preview_filename_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x00000070u) { - ::memset(&_impl_.publishedfileid_, 0, static_cast( - reinterpret_cast(&_impl_.visibility_) - - reinterpret_cast(&_impl_.publishedfileid_)) + sizeof(_impl_.visibility_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPublishedFile_Update_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1 [(.description) = "App Id this published file belongs to."]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 publishedfileid = 2 [(.description) = "Published file id of the file we\'d like update."]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_publishedfileid(&has_bits); - _impl_.publishedfileid_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional string title = 3 [(.description) = "(Optional) Title of the published file."]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_title(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_Update_Request.title"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string file_description = 4 [(.description) = "(Optional) Description of the published file."]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_file_description(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_Update_Request.file_description"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 visibility = 5 [(.description) = "(Optional) Visibility of the published file."]; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_visibility(&has_bits); - _impl_.visibility_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated string tags = 6 [(.description) = "(Optional) Set of tags for the published file."]; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_tags(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_Update_Request.tags"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); - } else - goto handle_unusual; - continue; - // optional string filename = 7 [(.description) = "(Optional) Filename for the published file."]; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_filename(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_Update_Request.filename"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string preview_filename = 8 [(.description) = "(Optional) Preview filename for the published file."]; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_preview_filename(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_Update_Request.preview_filename"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPublishedFile_Update_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_Update_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1 [(.description) = "App Id this published file belongs to."]; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // optional fixed64 publishedfileid = 2 [(.description) = "Published file id of the file we\'d like update."]; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_publishedfileid(), target); - } - - // optional string title = 3 [(.description) = "(Optional) Title of the published file."]; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_title().data(), static_cast(this->_internal_title().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_Update_Request.title"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_title(), target); - } - - // optional string file_description = 4 [(.description) = "(Optional) Description of the published file."]; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_file_description().data(), static_cast(this->_internal_file_description().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_Update_Request.file_description"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_file_description(), target); - } - - // optional uint32 visibility = 5 [(.description) = "(Optional) Visibility of the published file."]; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_visibility(), target); - } - - // repeated string tags = 6 [(.description) = "(Optional) Set of tags for the published file."]; - for (int i = 0, n = this->_internal_tags_size(); i < n; i++) { - const auto& s = this->_internal_tags(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_Update_Request.tags"); - target = stream->WriteString(6, s, target); - } - - // optional string filename = 7 [(.description) = "(Optional) Filename for the published file."]; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_filename().data(), static_cast(this->_internal_filename().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_Update_Request.filename"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_filename(), target); - } - - // optional string preview_filename = 8 [(.description) = "(Optional) Preview filename for the published file."]; - if (cached_has_bits & 0x00000008u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_preview_filename().data(), static_cast(this->_internal_preview_filename().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_Update_Request.preview_filename"); - target = stream->WriteStringMaybeAliased( - 8, this->_internal_preview_filename(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPublishedFile_Update_Request) - return target; -} - -size_t CPublishedFile_Update_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_Update_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string tags = 6 [(.description) = "(Optional) Set of tags for the published file."]; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.tags_.size()); - for (int i = 0, n = _impl_.tags_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.tags_.Get(i)); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional string title = 3 [(.description) = "(Optional) Title of the published file."]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_title()); - } - - // optional string file_description = 4 [(.description) = "(Optional) Description of the published file."]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_file_description()); - } - - // optional string filename = 7 [(.description) = "(Optional) Filename for the published file."]; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_filename()); - } - - // optional string preview_filename = 8 [(.description) = "(Optional) Preview filename for the published file."]; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_preview_filename()); - } - - // optional fixed64 publishedfileid = 2 [(.description) = "Published file id of the file we\'d like update."]; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 8; - } - - // optional uint32 appid = 1 [(.description) = "App Id this published file belongs to."]; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional uint32 visibility = 5 [(.description) = "(Optional) Visibility of the published file."]; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_visibility()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_Update_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPublishedFile_Update_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_Update_Request::GetClassData() const { return &_class_data_; } - - -void CPublishedFile_Update_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPublishedFile_Update_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.tags_.MergeFrom(from._impl_.tags_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_title(from._internal_title()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_file_description(from._internal_file_description()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_filename(from._internal_filename()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_preview_filename(from._internal_preview_filename()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.publishedfileid_ = from._impl_.publishedfileid_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.visibility_ = from._impl_.visibility_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPublishedFile_Update_Request::CopyFrom(const CPublishedFile_Update_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_Update_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPublishedFile_Update_Request::IsInitialized() const { - return true; -} - -void CPublishedFile_Update_Request::InternalSwap(CPublishedFile_Update_Request* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.tags_.InternalSwap(&other->_impl_.tags_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.title_, lhs_arena, - &other->_impl_.title_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.file_description_, lhs_arena, - &other->_impl_.file_description_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.filename_, lhs_arena, - &other->_impl_.filename_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.preview_filename_, lhs_arena, - &other->_impl_.preview_filename_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPublishedFile_Update_Request, _impl_.visibility_) - + sizeof(CPublishedFile_Update_Request::_impl_.visibility_) - - PROTOBUF_FIELD_OFFSET(CPublishedFile_Update_Request, _impl_.publishedfileid_)>( - reinterpret_cast(&_impl_.publishedfileid_), - reinterpret_cast(&other->_impl_.publishedfileid_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_Update_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[17]); -} - -// =================================================================== - -class CPublishedFile_Update_Response::_Internal { - public: -}; - -CPublishedFile_Update_Response::CPublishedFile_Update_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CPublishedFile_Update_Response) -} -CPublishedFile_Update_Response::CPublishedFile_Update_Response(const CPublishedFile_Update_Response& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CPublishedFile_Update_Response* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CPublishedFile_Update_Response) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_Update_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_Update_Response::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_Update_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[18]); -} - -// =================================================================== - -class CPublishedFile_RefreshVotingQueue_Request::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_appid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_matching_file_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_match_all_tags(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_desired_queue_size(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CPublishedFile_RefreshVotingQueue_Request::CPublishedFile_RefreshVotingQueue_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CPublishedFile_RefreshVotingQueue_Request) -} -CPublishedFile_RefreshVotingQueue_Request::CPublishedFile_RefreshVotingQueue_Request(const CPublishedFile_RefreshVotingQueue_Request& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CPublishedFile_RefreshVotingQueue_Request* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tags_){from._impl_.tags_} - , decltype(_impl_.excluded_tags_){from._impl_.excluded_tags_} - , decltype(_impl_.appid_){} - , decltype(_impl_.matching_file_type_){} - , decltype(_impl_.desired_queue_size_){} - , decltype(_impl_.match_all_tags_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.appid_, &from._impl_.appid_, - static_cast(reinterpret_cast(&_impl_.match_all_tags_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.match_all_tags_)); - // @@protoc_insertion_point(copy_constructor:CPublishedFile_RefreshVotingQueue_Request) -} - -inline void CPublishedFile_RefreshVotingQueue_Request::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tags_){arena} - , decltype(_impl_.excluded_tags_){arena} - , decltype(_impl_.appid_){0u} - , decltype(_impl_.matching_file_type_){0u} - , decltype(_impl_.desired_queue_size_){0u} - , decltype(_impl_.match_all_tags_){true} - }; -} - -CPublishedFile_RefreshVotingQueue_Request::~CPublishedFile_RefreshVotingQueue_Request() { - // @@protoc_insertion_point(destructor:CPublishedFile_RefreshVotingQueue_Request) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CPublishedFile_RefreshVotingQueue_Request::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.tags_.~RepeatedPtrField(); - _impl_.excluded_tags_.~RepeatedPtrField(); -} - -void CPublishedFile_RefreshVotingQueue_Request::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CPublishedFile_RefreshVotingQueue_Request::Clear() { -// @@protoc_insertion_point(message_clear_start:CPublishedFile_RefreshVotingQueue_Request) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.tags_.Clear(); - _impl_.excluded_tags_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.appid_, 0, static_cast( - reinterpret_cast(&_impl_.desired_queue_size_) - - reinterpret_cast(&_impl_.appid_)) + sizeof(_impl_.desired_queue_size_)); - _impl_.match_all_tags_ = true; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CPublishedFile_RefreshVotingQueue_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 appid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_appid(&has_bits); - _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 matching_file_type = 2 [(.description) = "EPublishedFileInfoMatchingFileType"]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_matching_file_type(&has_bits); - _impl_.matching_file_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated string tags = 3 [(.description) = "Include files that have all the tags or any of the tags if match_all_tags is set to false."]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_tags(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_RefreshVotingQueue_Request.tags"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // optional bool match_all_tags = 4 [default = true, (.description) = "If true, then files must have all the tags specified. If false, then must have at least one of the tags specified."]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_match_all_tags(&has_bits); - _impl_.match_all_tags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated string excluded_tags = 5 [(.description) = "Exclude any files that have any of these tags."]; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_excluded_tags(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CPublishedFile_RefreshVotingQueue_Request.excluded_tags"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else - goto handle_unusual; - continue; - // optional uint32 desired_queue_size = 6 [(.description) = "Desired number of items in the voting queue. May be clamped by the server"]; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_desired_queue_size(&has_bits); - _impl_.desired_queue_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CPublishedFile_RefreshVotingQueue_Request::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CPublishedFile_RefreshVotingQueue_Request) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target); - } - - // optional uint32 matching_file_type = 2 [(.description) = "EPublishedFileInfoMatchingFileType"]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_matching_file_type(), target); - } - - // repeated string tags = 3 [(.description) = "Include files that have all the tags or any of the tags if match_all_tags is set to false."]; - for (int i = 0, n = this->_internal_tags_size(); i < n; i++) { - const auto& s = this->_internal_tags(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_RefreshVotingQueue_Request.tags"); - target = stream->WriteString(3, s, target); - } - - // optional bool match_all_tags = 4 [default = true, (.description) = "If true, then files must have all the tags specified. If false, then must have at least one of the tags specified."]; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_match_all_tags(), target); - } - - // repeated string excluded_tags = 5 [(.description) = "Exclude any files that have any of these tags."]; - for (int i = 0, n = this->_internal_excluded_tags_size(); i < n; i++) { - const auto& s = this->_internal_excluded_tags(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CPublishedFile_RefreshVotingQueue_Request.excluded_tags"); - target = stream->WriteString(5, s, target); - } - - // optional uint32 desired_queue_size = 6 [(.description) = "Desired number of items in the voting queue. May be clamped by the server"]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_desired_queue_size(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CPublishedFile_RefreshVotingQueue_Request) - return target; -} - -size_t CPublishedFile_RefreshVotingQueue_Request::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CPublishedFile_RefreshVotingQueue_Request) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string tags = 3 [(.description) = "Include files that have all the tags or any of the tags if match_all_tags is set to false."]; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.tags_.size()); - for (int i = 0, n = _impl_.tags_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.tags_.Get(i)); - } - - // repeated string excluded_tags = 5 [(.description) = "Exclude any files that have any of these tags."]; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.excluded_tags_.size()); - for (int i = 0, n = _impl_.excluded_tags_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.excluded_tags_.Get(i)); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 appid = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid()); - } - - // optional uint32 matching_file_type = 2 [(.description) = "EPublishedFileInfoMatchingFileType"]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_matching_file_type()); - } - - // optional uint32 desired_queue_size = 6 [(.description) = "Desired number of items in the voting queue. May be clamped by the server"]; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_desired_queue_size()); - } - - // optional bool match_all_tags = 4 [default = true, (.description) = "If true, then files must have all the tags specified. If false, then must have at least one of the tags specified."]; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_RefreshVotingQueue_Request::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CPublishedFile_RefreshVotingQueue_Request::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_RefreshVotingQueue_Request::GetClassData() const { return &_class_data_; } - - -void CPublishedFile_RefreshVotingQueue_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CPublishedFile_RefreshVotingQueue_Request) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.tags_.MergeFrom(from._impl_.tags_); - _this->_impl_.excluded_tags_.MergeFrom(from._impl_.excluded_tags_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.appid_ = from._impl_.appid_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.matching_file_type_ = from._impl_.matching_file_type_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.desired_queue_size_ = from._impl_.desired_queue_size_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.match_all_tags_ = from._impl_.match_all_tags_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CPublishedFile_RefreshVotingQueue_Request::CopyFrom(const CPublishedFile_RefreshVotingQueue_Request& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CPublishedFile_RefreshVotingQueue_Request) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CPublishedFile_RefreshVotingQueue_Request::IsInitialized() const { - return true; -} - -void CPublishedFile_RefreshVotingQueue_Request::InternalSwap(CPublishedFile_RefreshVotingQueue_Request* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.tags_.InternalSwap(&other->_impl_.tags_); - _impl_.excluded_tags_.InternalSwap(&other->_impl_.excluded_tags_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CPublishedFile_RefreshVotingQueue_Request, _impl_.desired_queue_size_) - + sizeof(CPublishedFile_RefreshVotingQueue_Request::_impl_.desired_queue_size_) - - PROTOBUF_FIELD_OFFSET(CPublishedFile_RefreshVotingQueue_Request, _impl_.appid_)>( - reinterpret_cast(&_impl_.appid_), - reinterpret_cast(&other->_impl_.appid_)); - swap(_impl_.match_all_tags_, other->_impl_.match_all_tags_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_RefreshVotingQueue_Request::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[19]); -} - -// =================================================================== - -class CPublishedFile_RefreshVotingQueue_Response::_Internal { - public: -}; - -CPublishedFile_RefreshVotingQueue_Response::CPublishedFile_RefreshVotingQueue_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CPublishedFile_RefreshVotingQueue_Response) -} -CPublishedFile_RefreshVotingQueue_Response::CPublishedFile_RefreshVotingQueue_Response(const CPublishedFile_RefreshVotingQueue_Response& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CPublishedFile_RefreshVotingQueue_Response* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CPublishedFile_RefreshVotingQueue_Response) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CPublishedFile_RefreshVotingQueue_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CPublishedFile_RefreshVotingQueue_Response::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CPublishedFile_RefreshVotingQueue_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto_once, - file_level_metadata_steammessages_5fpublishedfile_2esteamworkssdk_2eproto[20]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CPublishedFile_Subscribe_Request* -Arena::CreateMaybeMessage< ::CPublishedFile_Subscribe_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPublishedFile_Subscribe_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPublishedFile_Subscribe_Response* -Arena::CreateMaybeMessage< ::CPublishedFile_Subscribe_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPublishedFile_Subscribe_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPublishedFile_Unsubscribe_Request* -Arena::CreateMaybeMessage< ::CPublishedFile_Unsubscribe_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPublishedFile_Unsubscribe_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPublishedFile_Unsubscribe_Response* -Arena::CreateMaybeMessage< ::CPublishedFile_Unsubscribe_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPublishedFile_Unsubscribe_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPublishedFile_Publish_Request* -Arena::CreateMaybeMessage< ::CPublishedFile_Publish_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPublishedFile_Publish_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPublishedFile_Publish_Response* -Arena::CreateMaybeMessage< ::CPublishedFile_Publish_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPublishedFile_Publish_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPublishedFile_GetDetails_Request* -Arena::CreateMaybeMessage< ::CPublishedFile_GetDetails_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPublishedFile_GetDetails_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::PublishedFileDetails_Tag* -Arena::CreateMaybeMessage< ::PublishedFileDetails_Tag >(Arena* arena) { - return Arena::CreateMessageInternal< ::PublishedFileDetails_Tag >(arena); -} -template<> PROTOBUF_NOINLINE ::PublishedFileDetails_Preview* -Arena::CreateMaybeMessage< ::PublishedFileDetails_Preview >(Arena* arena) { - return Arena::CreateMessageInternal< ::PublishedFileDetails_Preview >(arena); -} -template<> PROTOBUF_NOINLINE ::PublishedFileDetails_Child* -Arena::CreateMaybeMessage< ::PublishedFileDetails_Child >(Arena* arena) { - return Arena::CreateMessageInternal< ::PublishedFileDetails_Child >(arena); -} -template<> PROTOBUF_NOINLINE ::PublishedFileDetails_KVTag* -Arena::CreateMaybeMessage< ::PublishedFileDetails_KVTag >(Arena* arena) { - return Arena::CreateMessageInternal< ::PublishedFileDetails_KVTag >(arena); -} -template<> PROTOBUF_NOINLINE ::PublishedFileDetails_VoteData* -Arena::CreateMaybeMessage< ::PublishedFileDetails_VoteData >(Arena* arena) { - return Arena::CreateMessageInternal< ::PublishedFileDetails_VoteData >(arena); -} -template<> PROTOBUF_NOINLINE ::PublishedFileDetails* -Arena::CreateMaybeMessage< ::PublishedFileDetails >(Arena* arena) { - return Arena::CreateMessageInternal< ::PublishedFileDetails >(arena); -} -template<> PROTOBUF_NOINLINE ::CPublishedFile_GetDetails_Response* -Arena::CreateMaybeMessage< ::CPublishedFile_GetDetails_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPublishedFile_GetDetails_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPublishedFile_GetUserFiles_Request* -Arena::CreateMaybeMessage< ::CPublishedFile_GetUserFiles_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPublishedFile_GetUserFiles_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPublishedFile_GetUserFiles_Response_App* -Arena::CreateMaybeMessage< ::CPublishedFile_GetUserFiles_Response_App >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPublishedFile_GetUserFiles_Response_App >(arena); -} -template<> PROTOBUF_NOINLINE ::CPublishedFile_GetUserFiles_Response* -Arena::CreateMaybeMessage< ::CPublishedFile_GetUserFiles_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPublishedFile_GetUserFiles_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPublishedFile_Update_Request* -Arena::CreateMaybeMessage< ::CPublishedFile_Update_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPublishedFile_Update_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPublishedFile_Update_Response* -Arena::CreateMaybeMessage< ::CPublishedFile_Update_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPublishedFile_Update_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CPublishedFile_RefreshVotingQueue_Request* -Arena::CreateMaybeMessage< ::CPublishedFile_RefreshVotingQueue_Request >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPublishedFile_RefreshVotingQueue_Request >(arena); -} -template<> PROTOBUF_NOINLINE ::CPublishedFile_RefreshVotingQueue_Response* -Arena::CreateMaybeMessage< ::CPublishedFile_RefreshVotingQueue_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CPublishedFile_RefreshVotingQueue_Response >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/steammessages_publishedfile.steamworkssdk.pb.h b/protobuf/generated/steammessages_publishedfile.steamworkssdk.pb.h deleted file mode 100644 index 0a6d93f1a..000000000 --- a/protobuf/generated/steammessages_publishedfile.steamworkssdk.pb.h +++ /dev/null @@ -1,11314 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steammessages_publishedfile.steamworkssdk.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_steammessages_5fpublishedfile_2esteamworkssdk_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_steammessages_5fpublishedfile_2esteamworkssdk_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "steammessages_unified_base.steamworkssdk.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_steammessages_5fpublishedfile_2esteamworkssdk_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -class CPublishedFile_GetDetails_Request; -struct CPublishedFile_GetDetails_RequestDefaultTypeInternal; -extern CPublishedFile_GetDetails_RequestDefaultTypeInternal _CPublishedFile_GetDetails_Request_default_instance_; -class CPublishedFile_GetDetails_Response; -struct CPublishedFile_GetDetails_ResponseDefaultTypeInternal; -extern CPublishedFile_GetDetails_ResponseDefaultTypeInternal _CPublishedFile_GetDetails_Response_default_instance_; -class CPublishedFile_GetUserFiles_Request; -struct CPublishedFile_GetUserFiles_RequestDefaultTypeInternal; -extern CPublishedFile_GetUserFiles_RequestDefaultTypeInternal _CPublishedFile_GetUserFiles_Request_default_instance_; -class CPublishedFile_GetUserFiles_Response; -struct CPublishedFile_GetUserFiles_ResponseDefaultTypeInternal; -extern CPublishedFile_GetUserFiles_ResponseDefaultTypeInternal _CPublishedFile_GetUserFiles_Response_default_instance_; -class CPublishedFile_GetUserFiles_Response_App; -struct CPublishedFile_GetUserFiles_Response_AppDefaultTypeInternal; -extern CPublishedFile_GetUserFiles_Response_AppDefaultTypeInternal _CPublishedFile_GetUserFiles_Response_App_default_instance_; -class CPublishedFile_Publish_Request; -struct CPublishedFile_Publish_RequestDefaultTypeInternal; -extern CPublishedFile_Publish_RequestDefaultTypeInternal _CPublishedFile_Publish_Request_default_instance_; -class CPublishedFile_Publish_Response; -struct CPublishedFile_Publish_ResponseDefaultTypeInternal; -extern CPublishedFile_Publish_ResponseDefaultTypeInternal _CPublishedFile_Publish_Response_default_instance_; -class CPublishedFile_RefreshVotingQueue_Request; -struct CPublishedFile_RefreshVotingQueue_RequestDefaultTypeInternal; -extern CPublishedFile_RefreshVotingQueue_RequestDefaultTypeInternal _CPublishedFile_RefreshVotingQueue_Request_default_instance_; -class CPublishedFile_RefreshVotingQueue_Response; -struct CPublishedFile_RefreshVotingQueue_ResponseDefaultTypeInternal; -extern CPublishedFile_RefreshVotingQueue_ResponseDefaultTypeInternal _CPublishedFile_RefreshVotingQueue_Response_default_instance_; -class CPublishedFile_Subscribe_Request; -struct CPublishedFile_Subscribe_RequestDefaultTypeInternal; -extern CPublishedFile_Subscribe_RequestDefaultTypeInternal _CPublishedFile_Subscribe_Request_default_instance_; -class CPublishedFile_Subscribe_Response; -struct CPublishedFile_Subscribe_ResponseDefaultTypeInternal; -extern CPublishedFile_Subscribe_ResponseDefaultTypeInternal _CPublishedFile_Subscribe_Response_default_instance_; -class CPublishedFile_Unsubscribe_Request; -struct CPublishedFile_Unsubscribe_RequestDefaultTypeInternal; -extern CPublishedFile_Unsubscribe_RequestDefaultTypeInternal _CPublishedFile_Unsubscribe_Request_default_instance_; -class CPublishedFile_Unsubscribe_Response; -struct CPublishedFile_Unsubscribe_ResponseDefaultTypeInternal; -extern CPublishedFile_Unsubscribe_ResponseDefaultTypeInternal _CPublishedFile_Unsubscribe_Response_default_instance_; -class CPublishedFile_Update_Request; -struct CPublishedFile_Update_RequestDefaultTypeInternal; -extern CPublishedFile_Update_RequestDefaultTypeInternal _CPublishedFile_Update_Request_default_instance_; -class CPublishedFile_Update_Response; -struct CPublishedFile_Update_ResponseDefaultTypeInternal; -extern CPublishedFile_Update_ResponseDefaultTypeInternal _CPublishedFile_Update_Response_default_instance_; -class PublishedFileDetails; -struct PublishedFileDetailsDefaultTypeInternal; -extern PublishedFileDetailsDefaultTypeInternal _PublishedFileDetails_default_instance_; -class PublishedFileDetails_Child; -struct PublishedFileDetails_ChildDefaultTypeInternal; -extern PublishedFileDetails_ChildDefaultTypeInternal _PublishedFileDetails_Child_default_instance_; -class PublishedFileDetails_KVTag; -struct PublishedFileDetails_KVTagDefaultTypeInternal; -extern PublishedFileDetails_KVTagDefaultTypeInternal _PublishedFileDetails_KVTag_default_instance_; -class PublishedFileDetails_Preview; -struct PublishedFileDetails_PreviewDefaultTypeInternal; -extern PublishedFileDetails_PreviewDefaultTypeInternal _PublishedFileDetails_Preview_default_instance_; -class PublishedFileDetails_Tag; -struct PublishedFileDetails_TagDefaultTypeInternal; -extern PublishedFileDetails_TagDefaultTypeInternal _PublishedFileDetails_Tag_default_instance_; -class PublishedFileDetails_VoteData; -struct PublishedFileDetails_VoteDataDefaultTypeInternal; -extern PublishedFileDetails_VoteDataDefaultTypeInternal _PublishedFileDetails_VoteData_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CPublishedFile_GetDetails_Request* Arena::CreateMaybeMessage<::CPublishedFile_GetDetails_Request>(Arena*); -template<> ::CPublishedFile_GetDetails_Response* Arena::CreateMaybeMessage<::CPublishedFile_GetDetails_Response>(Arena*); -template<> ::CPublishedFile_GetUserFiles_Request* Arena::CreateMaybeMessage<::CPublishedFile_GetUserFiles_Request>(Arena*); -template<> ::CPublishedFile_GetUserFiles_Response* Arena::CreateMaybeMessage<::CPublishedFile_GetUserFiles_Response>(Arena*); -template<> ::CPublishedFile_GetUserFiles_Response_App* Arena::CreateMaybeMessage<::CPublishedFile_GetUserFiles_Response_App>(Arena*); -template<> ::CPublishedFile_Publish_Request* Arena::CreateMaybeMessage<::CPublishedFile_Publish_Request>(Arena*); -template<> ::CPublishedFile_Publish_Response* Arena::CreateMaybeMessage<::CPublishedFile_Publish_Response>(Arena*); -template<> ::CPublishedFile_RefreshVotingQueue_Request* Arena::CreateMaybeMessage<::CPublishedFile_RefreshVotingQueue_Request>(Arena*); -template<> ::CPublishedFile_RefreshVotingQueue_Response* Arena::CreateMaybeMessage<::CPublishedFile_RefreshVotingQueue_Response>(Arena*); -template<> ::CPublishedFile_Subscribe_Request* Arena::CreateMaybeMessage<::CPublishedFile_Subscribe_Request>(Arena*); -template<> ::CPublishedFile_Subscribe_Response* Arena::CreateMaybeMessage<::CPublishedFile_Subscribe_Response>(Arena*); -template<> ::CPublishedFile_Unsubscribe_Request* Arena::CreateMaybeMessage<::CPublishedFile_Unsubscribe_Request>(Arena*); -template<> ::CPublishedFile_Unsubscribe_Response* Arena::CreateMaybeMessage<::CPublishedFile_Unsubscribe_Response>(Arena*); -template<> ::CPublishedFile_Update_Request* Arena::CreateMaybeMessage<::CPublishedFile_Update_Request>(Arena*); -template<> ::CPublishedFile_Update_Response* Arena::CreateMaybeMessage<::CPublishedFile_Update_Response>(Arena*); -template<> ::PublishedFileDetails* Arena::CreateMaybeMessage<::PublishedFileDetails>(Arena*); -template<> ::PublishedFileDetails_Child* Arena::CreateMaybeMessage<::PublishedFileDetails_Child>(Arena*); -template<> ::PublishedFileDetails_KVTag* Arena::CreateMaybeMessage<::PublishedFileDetails_KVTag>(Arena*); -template<> ::PublishedFileDetails_Preview* Arena::CreateMaybeMessage<::PublishedFileDetails_Preview>(Arena*); -template<> ::PublishedFileDetails_Tag* Arena::CreateMaybeMessage<::PublishedFileDetails_Tag>(Arena*); -template<> ::PublishedFileDetails_VoteData* Arena::CreateMaybeMessage<::PublishedFileDetails_VoteData>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -// =================================================================== - -class CPublishedFile_Subscribe_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_Subscribe_Request) */ { - public: - inline CPublishedFile_Subscribe_Request() : CPublishedFile_Subscribe_Request(nullptr) {} - ~CPublishedFile_Subscribe_Request() override; - explicit PROTOBUF_CONSTEXPR CPublishedFile_Subscribe_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPublishedFile_Subscribe_Request(const CPublishedFile_Subscribe_Request& from); - CPublishedFile_Subscribe_Request(CPublishedFile_Subscribe_Request&& from) noexcept - : CPublishedFile_Subscribe_Request() { - *this = ::std::move(from); - } - - inline CPublishedFile_Subscribe_Request& operator=(const CPublishedFile_Subscribe_Request& from) { - CopyFrom(from); - return *this; - } - inline CPublishedFile_Subscribe_Request& operator=(CPublishedFile_Subscribe_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPublishedFile_Subscribe_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPublishedFile_Subscribe_Request* internal_default_instance() { - return reinterpret_cast( - &_CPublishedFile_Subscribe_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CPublishedFile_Subscribe_Request& a, CPublishedFile_Subscribe_Request& b) { - a.Swap(&b); - } - inline void Swap(CPublishedFile_Subscribe_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPublishedFile_Subscribe_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPublishedFile_Subscribe_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPublishedFile_Subscribe_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPublishedFile_Subscribe_Request& from) { - CPublishedFile_Subscribe_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPublishedFile_Subscribe_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPublishedFile_Subscribe_Request"; - } - protected: - explicit CPublishedFile_Subscribe_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPublishedfileidFieldNumber = 1, - kListTypeFieldNumber = 2, - kAppidFieldNumber = 3, - kNotifyClientFieldNumber = 4, - }; - // optional uint64 publishedfileid = 1; - bool has_publishedfileid() const; - private: - bool _internal_has_publishedfileid() const; - public: - void clear_publishedfileid(); - uint64_t publishedfileid() const; - void set_publishedfileid(uint64_t value); - private: - uint64_t _internal_publishedfileid() const; - void _internal_set_publishedfileid(uint64_t value); - public: - - // optional uint32 list_type = 2; - bool has_list_type() const; - private: - bool _internal_has_list_type() const; - public: - void clear_list_type(); - uint32_t list_type() const; - void set_list_type(uint32_t value); - private: - uint32_t _internal_list_type() const; - void _internal_set_list_type(uint32_t value); - public: - - // optional int32 appid = 3; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - int32_t appid() const; - void set_appid(int32_t value); - private: - int32_t _internal_appid() const; - void _internal_set_appid(int32_t value); - public: - - // optional bool notify_client = 4; - bool has_notify_client() const; - private: - bool _internal_has_notify_client() const; - public: - void clear_notify_client(); - bool notify_client() const; - void set_notify_client(bool value); - private: - bool _internal_notify_client() const; - void _internal_set_notify_client(bool value); - public: - - // @@protoc_insertion_point(class_scope:CPublishedFile_Subscribe_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t publishedfileid_; - uint32_t list_type_; - int32_t appid_; - bool notify_client_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPublishedFile_Subscribe_Response : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPublishedFile_Subscribe_Response) */ { - public: - inline CPublishedFile_Subscribe_Response() : CPublishedFile_Subscribe_Response(nullptr) {} - explicit PROTOBUF_CONSTEXPR CPublishedFile_Subscribe_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPublishedFile_Subscribe_Response(const CPublishedFile_Subscribe_Response& from); - CPublishedFile_Subscribe_Response(CPublishedFile_Subscribe_Response&& from) noexcept - : CPublishedFile_Subscribe_Response() { - *this = ::std::move(from); - } - - inline CPublishedFile_Subscribe_Response& operator=(const CPublishedFile_Subscribe_Response& from) { - CopyFrom(from); - return *this; - } - inline CPublishedFile_Subscribe_Response& operator=(CPublishedFile_Subscribe_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPublishedFile_Subscribe_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPublishedFile_Subscribe_Response* internal_default_instance() { - return reinterpret_cast( - &_CPublishedFile_Subscribe_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CPublishedFile_Subscribe_Response& a, CPublishedFile_Subscribe_Response& b) { - a.Swap(&b); - } - inline void Swap(CPublishedFile_Subscribe_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPublishedFile_Subscribe_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPublishedFile_Subscribe_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CPublishedFile_Subscribe_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CPublishedFile_Subscribe_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPublishedFile_Subscribe_Response"; - } - protected: - explicit CPublishedFile_Subscribe_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CPublishedFile_Subscribe_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPublishedFile_Unsubscribe_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_Unsubscribe_Request) */ { - public: - inline CPublishedFile_Unsubscribe_Request() : CPublishedFile_Unsubscribe_Request(nullptr) {} - ~CPublishedFile_Unsubscribe_Request() override; - explicit PROTOBUF_CONSTEXPR CPublishedFile_Unsubscribe_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPublishedFile_Unsubscribe_Request(const CPublishedFile_Unsubscribe_Request& from); - CPublishedFile_Unsubscribe_Request(CPublishedFile_Unsubscribe_Request&& from) noexcept - : CPublishedFile_Unsubscribe_Request() { - *this = ::std::move(from); - } - - inline CPublishedFile_Unsubscribe_Request& operator=(const CPublishedFile_Unsubscribe_Request& from) { - CopyFrom(from); - return *this; - } - inline CPublishedFile_Unsubscribe_Request& operator=(CPublishedFile_Unsubscribe_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPublishedFile_Unsubscribe_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPublishedFile_Unsubscribe_Request* internal_default_instance() { - return reinterpret_cast( - &_CPublishedFile_Unsubscribe_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CPublishedFile_Unsubscribe_Request& a, CPublishedFile_Unsubscribe_Request& b) { - a.Swap(&b); - } - inline void Swap(CPublishedFile_Unsubscribe_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPublishedFile_Unsubscribe_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPublishedFile_Unsubscribe_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPublishedFile_Unsubscribe_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPublishedFile_Unsubscribe_Request& from) { - CPublishedFile_Unsubscribe_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPublishedFile_Unsubscribe_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPublishedFile_Unsubscribe_Request"; - } - protected: - explicit CPublishedFile_Unsubscribe_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPublishedfileidFieldNumber = 1, - kListTypeFieldNumber = 2, - kAppidFieldNumber = 3, - kNotifyClientFieldNumber = 4, - }; - // optional uint64 publishedfileid = 1; - bool has_publishedfileid() const; - private: - bool _internal_has_publishedfileid() const; - public: - void clear_publishedfileid(); - uint64_t publishedfileid() const; - void set_publishedfileid(uint64_t value); - private: - uint64_t _internal_publishedfileid() const; - void _internal_set_publishedfileid(uint64_t value); - public: - - // optional uint32 list_type = 2; - bool has_list_type() const; - private: - bool _internal_has_list_type() const; - public: - void clear_list_type(); - uint32_t list_type() const; - void set_list_type(uint32_t value); - private: - uint32_t _internal_list_type() const; - void _internal_set_list_type(uint32_t value); - public: - - // optional int32 appid = 3; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - int32_t appid() const; - void set_appid(int32_t value); - private: - int32_t _internal_appid() const; - void _internal_set_appid(int32_t value); - public: - - // optional bool notify_client = 4; - bool has_notify_client() const; - private: - bool _internal_has_notify_client() const; - public: - void clear_notify_client(); - bool notify_client() const; - void set_notify_client(bool value); - private: - bool _internal_notify_client() const; - void _internal_set_notify_client(bool value); - public: - - // @@protoc_insertion_point(class_scope:CPublishedFile_Unsubscribe_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t publishedfileid_; - uint32_t list_type_; - int32_t appid_; - bool notify_client_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPublishedFile_Unsubscribe_Response : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPublishedFile_Unsubscribe_Response) */ { - public: - inline CPublishedFile_Unsubscribe_Response() : CPublishedFile_Unsubscribe_Response(nullptr) {} - explicit PROTOBUF_CONSTEXPR CPublishedFile_Unsubscribe_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPublishedFile_Unsubscribe_Response(const CPublishedFile_Unsubscribe_Response& from); - CPublishedFile_Unsubscribe_Response(CPublishedFile_Unsubscribe_Response&& from) noexcept - : CPublishedFile_Unsubscribe_Response() { - *this = ::std::move(from); - } - - inline CPublishedFile_Unsubscribe_Response& operator=(const CPublishedFile_Unsubscribe_Response& from) { - CopyFrom(from); - return *this; - } - inline CPublishedFile_Unsubscribe_Response& operator=(CPublishedFile_Unsubscribe_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPublishedFile_Unsubscribe_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPublishedFile_Unsubscribe_Response* internal_default_instance() { - return reinterpret_cast( - &_CPublishedFile_Unsubscribe_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CPublishedFile_Unsubscribe_Response& a, CPublishedFile_Unsubscribe_Response& b) { - a.Swap(&b); - } - inline void Swap(CPublishedFile_Unsubscribe_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPublishedFile_Unsubscribe_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPublishedFile_Unsubscribe_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CPublishedFile_Unsubscribe_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CPublishedFile_Unsubscribe_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPublishedFile_Unsubscribe_Response"; - } - protected: - explicit CPublishedFile_Unsubscribe_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CPublishedFile_Unsubscribe_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPublishedFile_Publish_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_Publish_Request) */ { - public: - inline CPublishedFile_Publish_Request() : CPublishedFile_Publish_Request(nullptr) {} - ~CPublishedFile_Publish_Request() override; - explicit PROTOBUF_CONSTEXPR CPublishedFile_Publish_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPublishedFile_Publish_Request(const CPublishedFile_Publish_Request& from); - CPublishedFile_Publish_Request(CPublishedFile_Publish_Request&& from) noexcept - : CPublishedFile_Publish_Request() { - *this = ::std::move(from); - } - - inline CPublishedFile_Publish_Request& operator=(const CPublishedFile_Publish_Request& from) { - CopyFrom(from); - return *this; - } - inline CPublishedFile_Publish_Request& operator=(CPublishedFile_Publish_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPublishedFile_Publish_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPublishedFile_Publish_Request* internal_default_instance() { - return reinterpret_cast( - &_CPublishedFile_Publish_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CPublishedFile_Publish_Request& a, CPublishedFile_Publish_Request& b) { - a.Swap(&b); - } - inline void Swap(CPublishedFile_Publish_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPublishedFile_Publish_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPublishedFile_Publish_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPublishedFile_Publish_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPublishedFile_Publish_Request& from) { - CPublishedFile_Publish_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPublishedFile_Publish_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPublishedFile_Publish_Request"; - } - protected: - explicit CPublishedFile_Publish_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTagsFieldNumber = 13, - kCloudfilenameFieldNumber = 3, - kPreviewCloudfilenameFieldNumber = 4, - kTitleFieldNumber = 5, - kFileDescriptionFieldNumber = 6, - kConsumerShortcutNameFieldNumber = 8, - kYoutubeUsernameFieldNumber = 9, - kYoutubeVideoidFieldNumber = 10, - kRedirectUriFieldNumber = 12, - kCollectionTypeFieldNumber = 14, - kGameTypeFieldNumber = 15, - kUrlFieldNumber = 16, - kAppidFieldNumber = 1, - kConsumerAppidFieldNumber = 2, - kFileTypeFieldNumber = 7, - kVisibilityFieldNumber = 11, - }; - // repeated string tags = 13 [(.description) = "Array of text tags to apply to the published file."]; - int tags_size() const; - private: - int _internal_tags_size() const; - public: - void clear_tags(); - const std::string& tags(int index) const; - std::string* mutable_tags(int index); - void set_tags(int index, const std::string& value); - void set_tags(int index, std::string&& value); - void set_tags(int index, const char* value); - void set_tags(int index, const char* value, size_t size); - std::string* add_tags(); - void add_tags(const std::string& value); - void add_tags(std::string&& value); - void add_tags(const char* value); - void add_tags(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& tags() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_tags(); - private: - const std::string& _internal_tags(int index) const; - std::string* _internal_add_tags(); - public: - - // optional string cloudfilename = 3 [(.description) = "Name of the file to publish in the user\'s cloud."]; - bool has_cloudfilename() const; - private: - bool _internal_has_cloudfilename() const; - public: - void clear_cloudfilename(); - const std::string& cloudfilename() const; - template - void set_cloudfilename(ArgT0&& arg0, ArgT... args); - std::string* mutable_cloudfilename(); - PROTOBUF_NODISCARD std::string* release_cloudfilename(); - void set_allocated_cloudfilename(std::string* cloudfilename); - private: - const std::string& _internal_cloudfilename() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_cloudfilename(const std::string& value); - std::string* _internal_mutable_cloudfilename(); - public: - - // optional string preview_cloudfilename = 4 [(.description) = "Name of the file to use as the published file\'s preview."]; - bool has_preview_cloudfilename() const; - private: - bool _internal_has_preview_cloudfilename() const; - public: - void clear_preview_cloudfilename(); - const std::string& preview_cloudfilename() const; - template - void set_preview_cloudfilename(ArgT0&& arg0, ArgT... args); - std::string* mutable_preview_cloudfilename(); - PROTOBUF_NODISCARD std::string* release_preview_cloudfilename(); - void set_allocated_preview_cloudfilename(std::string* preview_cloudfilename); - private: - const std::string& _internal_preview_cloudfilename() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_preview_cloudfilename(const std::string& value); - std::string* _internal_mutable_preview_cloudfilename(); - public: - - // optional string title = 5 [(.description) = "Text title for the published file."]; - bool has_title() const; - private: - bool _internal_has_title() const; - public: - void clear_title(); - const std::string& title() const; - template - void set_title(ArgT0&& arg0, ArgT... args); - std::string* mutable_title(); - PROTOBUF_NODISCARD std::string* release_title(); - void set_allocated_title(std::string* title); - private: - const std::string& _internal_title() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_title(const std::string& value); - std::string* _internal_mutable_title(); - public: - - // optional string file_description = 6 [(.description) = "Text description for the published file."]; - bool has_file_description() const; - private: - bool _internal_has_file_description() const; - public: - void clear_file_description(); - const std::string& file_description() const; - template - void set_file_description(ArgT0&& arg0, ArgT... args); - std::string* mutable_file_description(); - PROTOBUF_NODISCARD std::string* release_file_description(); - void set_allocated_file_description(std::string* file_description); - private: - const std::string& _internal_file_description() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_description(const std::string& value); - std::string* _internal_mutable_file_description(); - public: - - // optional string consumer_shortcut_name = 8 [(.description) = "Shortcut name for the published file."]; - bool has_consumer_shortcut_name() const; - private: - bool _internal_has_consumer_shortcut_name() const; - public: - void clear_consumer_shortcut_name(); - const std::string& consumer_shortcut_name() const; - template - void set_consumer_shortcut_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_consumer_shortcut_name(); - PROTOBUF_NODISCARD std::string* release_consumer_shortcut_name(); - void set_allocated_consumer_shortcut_name(std::string* consumer_shortcut_name); - private: - const std::string& _internal_consumer_shortcut_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_consumer_shortcut_name(const std::string& value); - std::string* _internal_mutable_consumer_shortcut_name(); - public: - - // optional string youtube_username = 9 [(.description) = "(Optional) User\'s YouTube account username."]; - bool has_youtube_username() const; - private: - bool _internal_has_youtube_username() const; - public: - void clear_youtube_username(); - const std::string& youtube_username() const; - template - void set_youtube_username(ArgT0&& arg0, ArgT... args); - std::string* mutable_youtube_username(); - PROTOBUF_NODISCARD std::string* release_youtube_username(); - void set_allocated_youtube_username(std::string* youtube_username); - private: - const std::string& _internal_youtube_username() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_youtube_username(const std::string& value); - std::string* _internal_mutable_youtube_username(); - public: - - // optional string youtube_videoid = 10 [(.description) = "(Optional) Video Id of a YouTube video for this published file."]; - bool has_youtube_videoid() const; - private: - bool _internal_has_youtube_videoid() const; - public: - void clear_youtube_videoid(); - const std::string& youtube_videoid() const; - template - void set_youtube_videoid(ArgT0&& arg0, ArgT... args); - std::string* mutable_youtube_videoid(); - PROTOBUF_NODISCARD std::string* release_youtube_videoid(); - void set_allocated_youtube_videoid(std::string* youtube_videoid); - private: - const std::string& _internal_youtube_videoid() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_youtube_videoid(const std::string& value); - std::string* _internal_mutable_youtube_videoid(); - public: - - // optional string redirect_uri = 12 [(.description) = "(Optional) If supplied, the resulting published file\'s Id is appended to the URI."]; - bool has_redirect_uri() const; - private: - bool _internal_has_redirect_uri() const; - public: - void clear_redirect_uri(); - const std::string& redirect_uri() const; - template - void set_redirect_uri(ArgT0&& arg0, ArgT... args); - std::string* mutable_redirect_uri(); - PROTOBUF_NODISCARD std::string* release_redirect_uri(); - void set_allocated_redirect_uri(std::string* redirect_uri); - private: - const std::string& _internal_redirect_uri() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_redirect_uri(const std::string& value); - std::string* _internal_mutable_redirect_uri(); - public: - - // optional string collection_type = 14 [(.description) = "(Optional) Type of collection the published file represents."]; - bool has_collection_type() const; - private: - bool _internal_has_collection_type() const; - public: - void clear_collection_type(); - const std::string& collection_type() const; - template - void set_collection_type(ArgT0&& arg0, ArgT... args); - std::string* mutable_collection_type(); - PROTOBUF_NODISCARD std::string* release_collection_type(); - void set_allocated_collection_type(std::string* collection_type); - private: - const std::string& _internal_collection_type() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_collection_type(const std::string& value); - std::string* _internal_mutable_collection_type(); - public: - - // optional string game_type = 15 [(.description) = "(Optional) Type of game the published file represents."]; - bool has_game_type() const; - private: - bool _internal_has_game_type() const; - public: - void clear_game_type(); - const std::string& game_type() const; - template - void set_game_type(ArgT0&& arg0, ArgT... args); - std::string* mutable_game_type(); - PROTOBUF_NODISCARD std::string* release_game_type(); - void set_allocated_game_type(std::string* game_type); - private: - const std::string& _internal_game_type() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_game_type(const std::string& value); - std::string* _internal_mutable_game_type(); - public: - - // optional string url = 16 [(.description) = "(Optional) If this represents a game, this is the URL to that game\'s page."]; - bool has_url() const; - private: - bool _internal_has_url() const; - public: - void clear_url(); - const std::string& url() const; - template - void set_url(ArgT0&& arg0, ArgT... args); - std::string* mutable_url(); - PROTOBUF_NODISCARD std::string* release_url(); - void set_allocated_url(std::string* url); - private: - const std::string& _internal_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value); - std::string* _internal_mutable_url(); - public: - - // optional uint32 appid = 1 [(.description) = "App Id this file is being published FROM."]; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional uint32 consumer_appid = 2 [(.description) = "App Id this file is being published TO."]; - bool has_consumer_appid() const; - private: - bool _internal_has_consumer_appid() const; - public: - void clear_consumer_appid(); - uint32_t consumer_appid() const; - void set_consumer_appid(uint32_t value); - private: - uint32_t _internal_consumer_appid() const; - void _internal_set_consumer_appid(uint32_t value); - public: - - // optional uint32 file_type = 7 [(.description) = "(EWorkshopFileType) Type of Workshop file to publish."]; - bool has_file_type() const; - private: - bool _internal_has_file_type() const; - public: - void clear_file_type(); - uint32_t file_type() const; - void set_file_type(uint32_t value); - private: - uint32_t _internal_file_type() const; - void _internal_set_file_type(uint32_t value); - public: - - // optional uint32 visibility = 11 [(.description) = "(ERemoteStoragePublishedFileVisibility) Visibility of the published file (private, friends, public, etc.)"]; - bool has_visibility() const; - private: - bool _internal_has_visibility() const; - public: - void clear_visibility(); - uint32_t visibility() const; - void set_visibility(uint32_t value); - private: - uint32_t _internal_visibility() const; - void _internal_set_visibility(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPublishedFile_Publish_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField tags_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cloudfilename_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr preview_cloudfilename_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_description_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr consumer_shortcut_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr youtube_username_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr youtube_videoid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr redirect_uri_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_type_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr game_type_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; - uint32_t appid_; - uint32_t consumer_appid_; - uint32_t file_type_; - uint32_t visibility_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPublishedFile_Publish_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_Publish_Response) */ { - public: - inline CPublishedFile_Publish_Response() : CPublishedFile_Publish_Response(nullptr) {} - ~CPublishedFile_Publish_Response() override; - explicit PROTOBUF_CONSTEXPR CPublishedFile_Publish_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPublishedFile_Publish_Response(const CPublishedFile_Publish_Response& from); - CPublishedFile_Publish_Response(CPublishedFile_Publish_Response&& from) noexcept - : CPublishedFile_Publish_Response() { - *this = ::std::move(from); - } - - inline CPublishedFile_Publish_Response& operator=(const CPublishedFile_Publish_Response& from) { - CopyFrom(from); - return *this; - } - inline CPublishedFile_Publish_Response& operator=(CPublishedFile_Publish_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPublishedFile_Publish_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPublishedFile_Publish_Response* internal_default_instance() { - return reinterpret_cast( - &_CPublishedFile_Publish_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CPublishedFile_Publish_Response& a, CPublishedFile_Publish_Response& b) { - a.Swap(&b); - } - inline void Swap(CPublishedFile_Publish_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPublishedFile_Publish_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPublishedFile_Publish_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPublishedFile_Publish_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPublishedFile_Publish_Response& from) { - CPublishedFile_Publish_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPublishedFile_Publish_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPublishedFile_Publish_Response"; - } - protected: - explicit CPublishedFile_Publish_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRedirectUriFieldNumber = 2, - kPublishedfileidFieldNumber = 1, - }; - // optional string redirect_uri = 2; - bool has_redirect_uri() const; - private: - bool _internal_has_redirect_uri() const; - public: - void clear_redirect_uri(); - const std::string& redirect_uri() const; - template - void set_redirect_uri(ArgT0&& arg0, ArgT... args); - std::string* mutable_redirect_uri(); - PROTOBUF_NODISCARD std::string* release_redirect_uri(); - void set_allocated_redirect_uri(std::string* redirect_uri); - private: - const std::string& _internal_redirect_uri() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_redirect_uri(const std::string& value); - std::string* _internal_mutable_redirect_uri(); - public: - - // optional uint64 publishedfileid = 1; - bool has_publishedfileid() const; - private: - bool _internal_has_publishedfileid() const; - public: - void clear_publishedfileid(); - uint64_t publishedfileid() const; - void set_publishedfileid(uint64_t value); - private: - uint64_t _internal_publishedfileid() const; - void _internal_set_publishedfileid(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CPublishedFile_Publish_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr redirect_uri_; - uint64_t publishedfileid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPublishedFile_GetDetails_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_GetDetails_Request) */ { - public: - inline CPublishedFile_GetDetails_Request() : CPublishedFile_GetDetails_Request(nullptr) {} - ~CPublishedFile_GetDetails_Request() override; - explicit PROTOBUF_CONSTEXPR CPublishedFile_GetDetails_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPublishedFile_GetDetails_Request(const CPublishedFile_GetDetails_Request& from); - CPublishedFile_GetDetails_Request(CPublishedFile_GetDetails_Request&& from) noexcept - : CPublishedFile_GetDetails_Request() { - *this = ::std::move(from); - } - - inline CPublishedFile_GetDetails_Request& operator=(const CPublishedFile_GetDetails_Request& from) { - CopyFrom(from); - return *this; - } - inline CPublishedFile_GetDetails_Request& operator=(CPublishedFile_GetDetails_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPublishedFile_GetDetails_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPublishedFile_GetDetails_Request* internal_default_instance() { - return reinterpret_cast( - &_CPublishedFile_GetDetails_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CPublishedFile_GetDetails_Request& a, CPublishedFile_GetDetails_Request& b) { - a.Swap(&b); - } - inline void Swap(CPublishedFile_GetDetails_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPublishedFile_GetDetails_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPublishedFile_GetDetails_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPublishedFile_GetDetails_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPublishedFile_GetDetails_Request& from) { - CPublishedFile_GetDetails_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPublishedFile_GetDetails_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPublishedFile_GetDetails_Request"; - } - protected: - explicit CPublishedFile_GetDetails_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPublishedfileidsFieldNumber = 1, - kIncludetagsFieldNumber = 2, - kIncludeadditionalpreviewsFieldNumber = 3, - kIncludechildrenFieldNumber = 4, - kIncludekvtagsFieldNumber = 5, - kIncludevotesFieldNumber = 6, - kShortDescriptionFieldNumber = 8, - }; - // repeated fixed64 publishedfileids = 1 [(.description) = "Set of published file Ids to retrieve details for."]; - int publishedfileids_size() const; - private: - int _internal_publishedfileids_size() const; - public: - void clear_publishedfileids(); - private: - uint64_t _internal_publishedfileids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - _internal_publishedfileids() const; - void _internal_add_publishedfileids(uint64_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - _internal_mutable_publishedfileids(); - public: - uint64_t publishedfileids(int index) const; - void set_publishedfileids(int index, uint64_t value); - void add_publishedfileids(uint64_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - publishedfileids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - mutable_publishedfileids(); - - // optional bool includetags = 2 [(.description) = "If true, return tag information in the returned details."]; - bool has_includetags() const; - private: - bool _internal_has_includetags() const; - public: - void clear_includetags(); - bool includetags() const; - void set_includetags(bool value); - private: - bool _internal_includetags() const; - void _internal_set_includetags(bool value); - public: - - // optional bool includeadditionalpreviews = 3 [(.description) = "If true, return preview information in the returned details."]; - bool has_includeadditionalpreviews() const; - private: - bool _internal_has_includeadditionalpreviews() const; - public: - void clear_includeadditionalpreviews(); - bool includeadditionalpreviews() const; - void set_includeadditionalpreviews(bool value); - private: - bool _internal_includeadditionalpreviews() const; - void _internal_set_includeadditionalpreviews(bool value); - public: - - // optional bool includechildren = 4 [(.description) = "If true, return children in the returned details."]; - bool has_includechildren() const; - private: - bool _internal_has_includechildren() const; - public: - void clear_includechildren(); - bool includechildren() const; - void set_includechildren(bool value); - private: - bool _internal_includechildren() const; - void _internal_set_includechildren(bool value); - public: - - // optional bool includekvtags = 5 [(.description) = "If true, return key value tags in the returned details."]; - bool has_includekvtags() const; - private: - bool _internal_has_includekvtags() const; - public: - void clear_includekvtags(); - bool includekvtags() const; - void set_includekvtags(bool value); - private: - bool _internal_includekvtags() const; - void _internal_set_includekvtags(bool value); - public: - - // optional bool includevotes = 6 [(.description) = "If true, return vote data in the returned details."]; - bool has_includevotes() const; - private: - bool _internal_has_includevotes() const; - public: - void clear_includevotes(); - bool includevotes() const; - void set_includevotes(bool value); - private: - bool _internal_includevotes() const; - void _internal_set_includevotes(bool value); - public: - - // optional bool short_description = 8 [(.description) = "If true, return a short description instead of the full description."]; - bool has_short_description() const; - private: - bool _internal_has_short_description() const; - public: - void clear_short_description(); - bool short_description() const; - void set_short_description(bool value); - private: - bool _internal_short_description() const; - void _internal_set_short_description(bool value); - public: - - // @@protoc_insertion_point(class_scope:CPublishedFile_GetDetails_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > publishedfileids_; - bool includetags_; - bool includeadditionalpreviews_; - bool includechildren_; - bool includekvtags_; - bool includevotes_; - bool short_description_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class PublishedFileDetails_Tag : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PublishedFileDetails.Tag) */ { - public: - inline PublishedFileDetails_Tag() : PublishedFileDetails_Tag(nullptr) {} - ~PublishedFileDetails_Tag() override; - explicit PROTOBUF_CONSTEXPR PublishedFileDetails_Tag(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - PublishedFileDetails_Tag(const PublishedFileDetails_Tag& from); - PublishedFileDetails_Tag(PublishedFileDetails_Tag&& from) noexcept - : PublishedFileDetails_Tag() { - *this = ::std::move(from); - } - - inline PublishedFileDetails_Tag& operator=(const PublishedFileDetails_Tag& from) { - CopyFrom(from); - return *this; - } - inline PublishedFileDetails_Tag& operator=(PublishedFileDetails_Tag&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const PublishedFileDetails_Tag& default_instance() { - return *internal_default_instance(); - } - static inline const PublishedFileDetails_Tag* internal_default_instance() { - return reinterpret_cast( - &_PublishedFileDetails_Tag_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(PublishedFileDetails_Tag& a, PublishedFileDetails_Tag& b) { - a.Swap(&b); - } - inline void Swap(PublishedFileDetails_Tag* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(PublishedFileDetails_Tag* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - PublishedFileDetails_Tag* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const PublishedFileDetails_Tag& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const PublishedFileDetails_Tag& from) { - PublishedFileDetails_Tag::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(PublishedFileDetails_Tag* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "PublishedFileDetails.Tag"; - } - protected: - explicit PublishedFileDetails_Tag(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTagFieldNumber = 1, - kAdminonlyFieldNumber = 2, - }; - // optional string tag = 1; - bool has_tag() const; - private: - bool _internal_has_tag() const; - public: - void clear_tag(); - const std::string& tag() const; - template - void set_tag(ArgT0&& arg0, ArgT... args); - std::string* mutable_tag(); - PROTOBUF_NODISCARD std::string* release_tag(); - void set_allocated_tag(std::string* tag); - private: - const std::string& _internal_tag() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_tag(const std::string& value); - std::string* _internal_mutable_tag(); - public: - - // optional bool adminonly = 2; - bool has_adminonly() const; - private: - bool _internal_has_adminonly() const; - public: - void clear_adminonly(); - bool adminonly() const; - void set_adminonly(bool value); - private: - bool _internal_adminonly() const; - void _internal_set_adminonly(bool value); - public: - - // @@protoc_insertion_point(class_scope:PublishedFileDetails.Tag) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_; - bool adminonly_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class PublishedFileDetails_Preview : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PublishedFileDetails.Preview) */ { - public: - inline PublishedFileDetails_Preview() : PublishedFileDetails_Preview(nullptr) {} - ~PublishedFileDetails_Preview() override; - explicit PROTOBUF_CONSTEXPR PublishedFileDetails_Preview(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - PublishedFileDetails_Preview(const PublishedFileDetails_Preview& from); - PublishedFileDetails_Preview(PublishedFileDetails_Preview&& from) noexcept - : PublishedFileDetails_Preview() { - *this = ::std::move(from); - } - - inline PublishedFileDetails_Preview& operator=(const PublishedFileDetails_Preview& from) { - CopyFrom(from); - return *this; - } - inline PublishedFileDetails_Preview& operator=(PublishedFileDetails_Preview&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const PublishedFileDetails_Preview& default_instance() { - return *internal_default_instance(); - } - static inline const PublishedFileDetails_Preview* internal_default_instance() { - return reinterpret_cast( - &_PublishedFileDetails_Preview_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(PublishedFileDetails_Preview& a, PublishedFileDetails_Preview& b) { - a.Swap(&b); - } - inline void Swap(PublishedFileDetails_Preview* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(PublishedFileDetails_Preview* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - PublishedFileDetails_Preview* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const PublishedFileDetails_Preview& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const PublishedFileDetails_Preview& from) { - PublishedFileDetails_Preview::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(PublishedFileDetails_Preview* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "PublishedFileDetails.Preview"; - } - protected: - explicit PublishedFileDetails_Preview(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kUrlFieldNumber = 3, - kFilenameFieldNumber = 5, - kYoutubevideoidFieldNumber = 6, - kPreviewidFieldNumber = 1, - kSortorderFieldNumber = 2, - kSizeFieldNumber = 4, - }; - // optional string url = 3; - bool has_url() const; - private: - bool _internal_has_url() const; - public: - void clear_url(); - const std::string& url() const; - template - void set_url(ArgT0&& arg0, ArgT... args); - std::string* mutable_url(); - PROTOBUF_NODISCARD std::string* release_url(); - void set_allocated_url(std::string* url); - private: - const std::string& _internal_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value); - std::string* _internal_mutable_url(); - public: - - // optional string filename = 5; - bool has_filename() const; - private: - bool _internal_has_filename() const; - public: - void clear_filename(); - const std::string& filename() const; - template - void set_filename(ArgT0&& arg0, ArgT... args); - std::string* mutable_filename(); - PROTOBUF_NODISCARD std::string* release_filename(); - void set_allocated_filename(std::string* filename); - private: - const std::string& _internal_filename() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_filename(const std::string& value); - std::string* _internal_mutable_filename(); - public: - - // optional string youtubevideoid = 6; - bool has_youtubevideoid() const; - private: - bool _internal_has_youtubevideoid() const; - public: - void clear_youtubevideoid(); - const std::string& youtubevideoid() const; - template - void set_youtubevideoid(ArgT0&& arg0, ArgT... args); - std::string* mutable_youtubevideoid(); - PROTOBUF_NODISCARD std::string* release_youtubevideoid(); - void set_allocated_youtubevideoid(std::string* youtubevideoid); - private: - const std::string& _internal_youtubevideoid() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_youtubevideoid(const std::string& value); - std::string* _internal_mutable_youtubevideoid(); - public: - - // optional uint64 previewid = 1; - bool has_previewid() const; - private: - bool _internal_has_previewid() const; - public: - void clear_previewid(); - uint64_t previewid() const; - void set_previewid(uint64_t value); - private: - uint64_t _internal_previewid() const; - void _internal_set_previewid(uint64_t value); - public: - - // optional uint32 sortorder = 2; - bool has_sortorder() const; - private: - bool _internal_has_sortorder() const; - public: - void clear_sortorder(); - uint32_t sortorder() const; - void set_sortorder(uint32_t value); - private: - uint32_t _internal_sortorder() const; - void _internal_set_sortorder(uint32_t value); - public: - - // optional uint32 size = 4; - bool has_size() const; - private: - bool _internal_has_size() const; - public: - void clear_size(); - uint32_t size() const; - void set_size(uint32_t value); - private: - uint32_t _internal_size() const; - void _internal_set_size(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:PublishedFileDetails.Preview) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr youtubevideoid_; - uint64_t previewid_; - uint32_t sortorder_; - uint32_t size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class PublishedFileDetails_Child : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PublishedFileDetails.Child) */ { - public: - inline PublishedFileDetails_Child() : PublishedFileDetails_Child(nullptr) {} - ~PublishedFileDetails_Child() override; - explicit PROTOBUF_CONSTEXPR PublishedFileDetails_Child(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - PublishedFileDetails_Child(const PublishedFileDetails_Child& from); - PublishedFileDetails_Child(PublishedFileDetails_Child&& from) noexcept - : PublishedFileDetails_Child() { - *this = ::std::move(from); - } - - inline PublishedFileDetails_Child& operator=(const PublishedFileDetails_Child& from) { - CopyFrom(from); - return *this; - } - inline PublishedFileDetails_Child& operator=(PublishedFileDetails_Child&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const PublishedFileDetails_Child& default_instance() { - return *internal_default_instance(); - } - static inline const PublishedFileDetails_Child* internal_default_instance() { - return reinterpret_cast( - &_PublishedFileDetails_Child_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(PublishedFileDetails_Child& a, PublishedFileDetails_Child& b) { - a.Swap(&b); - } - inline void Swap(PublishedFileDetails_Child* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(PublishedFileDetails_Child* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - PublishedFileDetails_Child* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const PublishedFileDetails_Child& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const PublishedFileDetails_Child& from) { - PublishedFileDetails_Child::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(PublishedFileDetails_Child* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "PublishedFileDetails.Child"; - } - protected: - explicit PublishedFileDetails_Child(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPublishedfileidFieldNumber = 1, - kSortorderFieldNumber = 2, - kFileTypeFieldNumber = 3, - }; - // optional uint64 publishedfileid = 1; - bool has_publishedfileid() const; - private: - bool _internal_has_publishedfileid() const; - public: - void clear_publishedfileid(); - uint64_t publishedfileid() const; - void set_publishedfileid(uint64_t value); - private: - uint64_t _internal_publishedfileid() const; - void _internal_set_publishedfileid(uint64_t value); - public: - - // optional uint32 sortorder = 2; - bool has_sortorder() const; - private: - bool _internal_has_sortorder() const; - public: - void clear_sortorder(); - uint32_t sortorder() const; - void set_sortorder(uint32_t value); - private: - uint32_t _internal_sortorder() const; - void _internal_set_sortorder(uint32_t value); - public: - - // optional uint32 file_type = 3; - bool has_file_type() const; - private: - bool _internal_has_file_type() const; - public: - void clear_file_type(); - uint32_t file_type() const; - void set_file_type(uint32_t value); - private: - uint32_t _internal_file_type() const; - void _internal_set_file_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:PublishedFileDetails.Child) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t publishedfileid_; - uint32_t sortorder_; - uint32_t file_type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class PublishedFileDetails_KVTag : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PublishedFileDetails.KVTag) */ { - public: - inline PublishedFileDetails_KVTag() : PublishedFileDetails_KVTag(nullptr) {} - ~PublishedFileDetails_KVTag() override; - explicit PROTOBUF_CONSTEXPR PublishedFileDetails_KVTag(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - PublishedFileDetails_KVTag(const PublishedFileDetails_KVTag& from); - PublishedFileDetails_KVTag(PublishedFileDetails_KVTag&& from) noexcept - : PublishedFileDetails_KVTag() { - *this = ::std::move(from); - } - - inline PublishedFileDetails_KVTag& operator=(const PublishedFileDetails_KVTag& from) { - CopyFrom(from); - return *this; - } - inline PublishedFileDetails_KVTag& operator=(PublishedFileDetails_KVTag&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const PublishedFileDetails_KVTag& default_instance() { - return *internal_default_instance(); - } - static inline const PublishedFileDetails_KVTag* internal_default_instance() { - return reinterpret_cast( - &_PublishedFileDetails_KVTag_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(PublishedFileDetails_KVTag& a, PublishedFileDetails_KVTag& b) { - a.Swap(&b); - } - inline void Swap(PublishedFileDetails_KVTag* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(PublishedFileDetails_KVTag* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - PublishedFileDetails_KVTag* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const PublishedFileDetails_KVTag& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const PublishedFileDetails_KVTag& from) { - PublishedFileDetails_KVTag::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(PublishedFileDetails_KVTag* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "PublishedFileDetails.KVTag"; - } - protected: - explicit PublishedFileDetails_KVTag(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kKeyFieldNumber = 1, - kValueFieldNumber = 2, - }; - // optional string key = 1; - bool has_key() const; - private: - bool _internal_has_key() const; - public: - void clear_key(); - const std::string& key() const; - template - void set_key(ArgT0&& arg0, ArgT... args); - std::string* mutable_key(); - PROTOBUF_NODISCARD std::string* release_key(); - void set_allocated_key(std::string* key); - private: - const std::string& _internal_key() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(const std::string& value); - std::string* _internal_mutable_key(); - public: - - // optional string value = 2; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - const std::string& value() const; - template - void set_value(ArgT0&& arg0, ArgT... args); - std::string* mutable_value(); - PROTOBUF_NODISCARD std::string* release_value(); - void set_allocated_value(std::string* value); - private: - const std::string& _internal_value() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); - std::string* _internal_mutable_value(); - public: - - // @@protoc_insertion_point(class_scope:PublishedFileDetails.KVTag) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class PublishedFileDetails_VoteData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PublishedFileDetails.VoteData) */ { - public: - inline PublishedFileDetails_VoteData() : PublishedFileDetails_VoteData(nullptr) {} - ~PublishedFileDetails_VoteData() override; - explicit PROTOBUF_CONSTEXPR PublishedFileDetails_VoteData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - PublishedFileDetails_VoteData(const PublishedFileDetails_VoteData& from); - PublishedFileDetails_VoteData(PublishedFileDetails_VoteData&& from) noexcept - : PublishedFileDetails_VoteData() { - *this = ::std::move(from); - } - - inline PublishedFileDetails_VoteData& operator=(const PublishedFileDetails_VoteData& from) { - CopyFrom(from); - return *this; - } - inline PublishedFileDetails_VoteData& operator=(PublishedFileDetails_VoteData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const PublishedFileDetails_VoteData& default_instance() { - return *internal_default_instance(); - } - static inline const PublishedFileDetails_VoteData* internal_default_instance() { - return reinterpret_cast( - &_PublishedFileDetails_VoteData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(PublishedFileDetails_VoteData& a, PublishedFileDetails_VoteData& b) { - a.Swap(&b); - } - inline void Swap(PublishedFileDetails_VoteData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(PublishedFileDetails_VoteData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - PublishedFileDetails_VoteData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const PublishedFileDetails_VoteData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const PublishedFileDetails_VoteData& from) { - PublishedFileDetails_VoteData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(PublishedFileDetails_VoteData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "PublishedFileDetails.VoteData"; - } - protected: - explicit PublishedFileDetails_VoteData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kScoreFieldNumber = 1, - kVotesUpFieldNumber = 2, - kVotesDownFieldNumber = 3, - }; - // optional float score = 1; - bool has_score() const; - private: - bool _internal_has_score() const; - public: - void clear_score(); - float score() const; - void set_score(float value); - private: - float _internal_score() const; - void _internal_set_score(float value); - public: - - // optional uint32 votes_up = 2; - bool has_votes_up() const; - private: - bool _internal_has_votes_up() const; - public: - void clear_votes_up(); - uint32_t votes_up() const; - void set_votes_up(uint32_t value); - private: - uint32_t _internal_votes_up() const; - void _internal_set_votes_up(uint32_t value); - public: - - // optional uint32 votes_down = 3; - bool has_votes_down() const; - private: - bool _internal_has_votes_down() const; - public: - void clear_votes_down(); - uint32_t votes_down() const; - void set_votes_down(uint32_t value); - private: - uint32_t _internal_votes_down() const; - void _internal_set_votes_down(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:PublishedFileDetails.VoteData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float score_; - uint32_t votes_up_; - uint32_t votes_down_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class PublishedFileDetails : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PublishedFileDetails) */ { - public: - inline PublishedFileDetails() : PublishedFileDetails(nullptr) {} - ~PublishedFileDetails() override; - explicit PROTOBUF_CONSTEXPR PublishedFileDetails(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - PublishedFileDetails(const PublishedFileDetails& from); - PublishedFileDetails(PublishedFileDetails&& from) noexcept - : PublishedFileDetails() { - *this = ::std::move(from); - } - - inline PublishedFileDetails& operator=(const PublishedFileDetails& from) { - CopyFrom(from); - return *this; - } - inline PublishedFileDetails& operator=(PublishedFileDetails&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const PublishedFileDetails& default_instance() { - return *internal_default_instance(); - } - static inline const PublishedFileDetails* internal_default_instance() { - return reinterpret_cast( - &_PublishedFileDetails_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(PublishedFileDetails& a, PublishedFileDetails& b) { - a.Swap(&b); - } - inline void Swap(PublishedFileDetails* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(PublishedFileDetails* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - PublishedFileDetails* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const PublishedFileDetails& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const PublishedFileDetails& from) { - PublishedFileDetails::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(PublishedFileDetails* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "PublishedFileDetails"; - } - protected: - explicit PublishedFileDetails(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef PublishedFileDetails_Tag Tag; - typedef PublishedFileDetails_Preview Preview; - typedef PublishedFileDetails_Child Child; - typedef PublishedFileDetails_KVTag KVTag; - typedef PublishedFileDetails_VoteData VoteData; - - // accessors ------------------------------------------------------- - - enum : int { - kPreviewsFieldNumber = 51, - kTagsFieldNumber = 52, - kChildrenFieldNumber = 53, - kKvtagsFieldNumber = 54, - kFilenameFieldNumber = 7, - kFileUrlFieldNumber = 10, - kPreviewUrlFieldNumber = 11, - kYoutubevideoidFieldNumber = 12, - kUrlFieldNumber = 13, - kTitleFieldNumber = 16, - kFileDescriptionFieldNumber = 17, - kShortDescriptionFieldNumber = 18, - kBanReasonFieldNumber = 29, - kAppNameFieldNumber = 33, - kImageUrlFieldNumber = 45, - kShortcutnameFieldNumber = 48, - kVoteDataFieldNumber = 55, - kPublishedfileidFieldNumber = 2, - kResultFieldNumber = 1, - kCreatorAppidFieldNumber = 4, - kCreatorFieldNumber = 3, - kConsumerAppidFieldNumber = 5, - kConsumerShortcutidFieldNumber = 6, - kFileSizeFieldNumber = 8, - kPreviewFileSizeFieldNumber = 9, - kHcontentFileFieldNumber = 14, - kHcontentPreviewFieldNumber = 15, - kTimeCreatedFieldNumber = 19, - kTimeUpdatedFieldNumber = 20, - kVisibilityFieldNumber = 21, - kFlagsFieldNumber = 22, - kWorkshopFileFieldNumber = 23, - kWorkshopAcceptedFieldNumber = 24, - kShowSubscribeAllFieldNumber = 25, - kBannedFieldNumber = 28, - kNumCommentsDeveloperFieldNumber = 26, - kBannerFieldNumber = 30, - kNumCommentsPublicFieldNumber = 27, - kFileTypeFieldNumber = 34, - kSubscriptionsFieldNumber = 36, - kCanBeDeletedFieldNumber = 31, - kIncompatibleFieldNumber = 32, - kCanSubscribeFieldNumber = 35, - kSpoilerTagFieldNumber = 46, - kFavoritedFieldNumber = 37, - kFollowersFieldNumber = 38, - kLifetimeSubscriptionsFieldNumber = 39, - kLifetimeFavoritedFieldNumber = 40, - kLifetimeFollowersFieldNumber = 41, - kViewsFieldNumber = 42, - kImageWidthFieldNumber = 43, - kImageHeightFieldNumber = 44, - kShortcutidFieldNumber = 47, - kNumChildrenFieldNumber = 49, - kNumReportsFieldNumber = 50, - kTimeSubscribedFieldNumber = 56, - }; - // repeated .PublishedFileDetails.Preview previews = 51; - int previews_size() const; - private: - int _internal_previews_size() const; - public: - void clear_previews(); - ::PublishedFileDetails_Preview* mutable_previews(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Preview >* - mutable_previews(); - private: - const ::PublishedFileDetails_Preview& _internal_previews(int index) const; - ::PublishedFileDetails_Preview* _internal_add_previews(); - public: - const ::PublishedFileDetails_Preview& previews(int index) const; - ::PublishedFileDetails_Preview* add_previews(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Preview >& - previews() const; - - // repeated .PublishedFileDetails.Tag tags = 52; - int tags_size() const; - private: - int _internal_tags_size() const; - public: - void clear_tags(); - ::PublishedFileDetails_Tag* mutable_tags(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Tag >* - mutable_tags(); - private: - const ::PublishedFileDetails_Tag& _internal_tags(int index) const; - ::PublishedFileDetails_Tag* _internal_add_tags(); - public: - const ::PublishedFileDetails_Tag& tags(int index) const; - ::PublishedFileDetails_Tag* add_tags(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Tag >& - tags() const; - - // repeated .PublishedFileDetails.Child children = 53; - int children_size() const; - private: - int _internal_children_size() const; - public: - void clear_children(); - ::PublishedFileDetails_Child* mutable_children(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Child >* - mutable_children(); - private: - const ::PublishedFileDetails_Child& _internal_children(int index) const; - ::PublishedFileDetails_Child* _internal_add_children(); - public: - const ::PublishedFileDetails_Child& children(int index) const; - ::PublishedFileDetails_Child* add_children(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Child >& - children() const; - - // repeated .PublishedFileDetails.KVTag kvtags = 54; - int kvtags_size() const; - private: - int _internal_kvtags_size() const; - public: - void clear_kvtags(); - ::PublishedFileDetails_KVTag* mutable_kvtags(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_KVTag >* - mutable_kvtags(); - private: - const ::PublishedFileDetails_KVTag& _internal_kvtags(int index) const; - ::PublishedFileDetails_KVTag* _internal_add_kvtags(); - public: - const ::PublishedFileDetails_KVTag& kvtags(int index) const; - ::PublishedFileDetails_KVTag* add_kvtags(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_KVTag >& - kvtags() const; - - // optional string filename = 7; - bool has_filename() const; - private: - bool _internal_has_filename() const; - public: - void clear_filename(); - const std::string& filename() const; - template - void set_filename(ArgT0&& arg0, ArgT... args); - std::string* mutable_filename(); - PROTOBUF_NODISCARD std::string* release_filename(); - void set_allocated_filename(std::string* filename); - private: - const std::string& _internal_filename() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_filename(const std::string& value); - std::string* _internal_mutable_filename(); - public: - - // optional string file_url = 10; - bool has_file_url() const; - private: - bool _internal_has_file_url() const; - public: - void clear_file_url(); - const std::string& file_url() const; - template - void set_file_url(ArgT0&& arg0, ArgT... args); - std::string* mutable_file_url(); - PROTOBUF_NODISCARD std::string* release_file_url(); - void set_allocated_file_url(std::string* file_url); - private: - const std::string& _internal_file_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_url(const std::string& value); - std::string* _internal_mutable_file_url(); - public: - - // optional string preview_url = 11; - bool has_preview_url() const; - private: - bool _internal_has_preview_url() const; - public: - void clear_preview_url(); - const std::string& preview_url() const; - template - void set_preview_url(ArgT0&& arg0, ArgT... args); - std::string* mutable_preview_url(); - PROTOBUF_NODISCARD std::string* release_preview_url(); - void set_allocated_preview_url(std::string* preview_url); - private: - const std::string& _internal_preview_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_preview_url(const std::string& value); - std::string* _internal_mutable_preview_url(); - public: - - // optional string youtubevideoid = 12; - bool has_youtubevideoid() const; - private: - bool _internal_has_youtubevideoid() const; - public: - void clear_youtubevideoid(); - const std::string& youtubevideoid() const; - template - void set_youtubevideoid(ArgT0&& arg0, ArgT... args); - std::string* mutable_youtubevideoid(); - PROTOBUF_NODISCARD std::string* release_youtubevideoid(); - void set_allocated_youtubevideoid(std::string* youtubevideoid); - private: - const std::string& _internal_youtubevideoid() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_youtubevideoid(const std::string& value); - std::string* _internal_mutable_youtubevideoid(); - public: - - // optional string url = 13; - bool has_url() const; - private: - bool _internal_has_url() const; - public: - void clear_url(); - const std::string& url() const; - template - void set_url(ArgT0&& arg0, ArgT... args); - std::string* mutable_url(); - PROTOBUF_NODISCARD std::string* release_url(); - void set_allocated_url(std::string* url); - private: - const std::string& _internal_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(const std::string& value); - std::string* _internal_mutable_url(); - public: - - // optional string title = 16; - bool has_title() const; - private: - bool _internal_has_title() const; - public: - void clear_title(); - const std::string& title() const; - template - void set_title(ArgT0&& arg0, ArgT... args); - std::string* mutable_title(); - PROTOBUF_NODISCARD std::string* release_title(); - void set_allocated_title(std::string* title); - private: - const std::string& _internal_title() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_title(const std::string& value); - std::string* _internal_mutable_title(); - public: - - // optional string file_description = 17; - bool has_file_description() const; - private: - bool _internal_has_file_description() const; - public: - void clear_file_description(); - const std::string& file_description() const; - template - void set_file_description(ArgT0&& arg0, ArgT... args); - std::string* mutable_file_description(); - PROTOBUF_NODISCARD std::string* release_file_description(); - void set_allocated_file_description(std::string* file_description); - private: - const std::string& _internal_file_description() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_description(const std::string& value); - std::string* _internal_mutable_file_description(); - public: - - // optional string short_description = 18; - bool has_short_description() const; - private: - bool _internal_has_short_description() const; - public: - void clear_short_description(); - const std::string& short_description() const; - template - void set_short_description(ArgT0&& arg0, ArgT... args); - std::string* mutable_short_description(); - PROTOBUF_NODISCARD std::string* release_short_description(); - void set_allocated_short_description(std::string* short_description); - private: - const std::string& _internal_short_description() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_short_description(const std::string& value); - std::string* _internal_mutable_short_description(); - public: - - // optional string ban_reason = 29; - bool has_ban_reason() const; - private: - bool _internal_has_ban_reason() const; - public: - void clear_ban_reason(); - const std::string& ban_reason() const; - template - void set_ban_reason(ArgT0&& arg0, ArgT... args); - std::string* mutable_ban_reason(); - PROTOBUF_NODISCARD std::string* release_ban_reason(); - void set_allocated_ban_reason(std::string* ban_reason); - private: - const std::string& _internal_ban_reason() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_ban_reason(const std::string& value); - std::string* _internal_mutable_ban_reason(); - public: - - // optional string app_name = 33; - bool has_app_name() const; - private: - bool _internal_has_app_name() const; - public: - void clear_app_name(); - const std::string& app_name() const; - template - void set_app_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_app_name(); - PROTOBUF_NODISCARD std::string* release_app_name(); - void set_allocated_app_name(std::string* app_name); - private: - const std::string& _internal_app_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_app_name(const std::string& value); - std::string* _internal_mutable_app_name(); - public: - - // optional string image_url = 45; - bool has_image_url() const; - private: - bool _internal_has_image_url() const; - public: - void clear_image_url(); - const std::string& image_url() const; - template - void set_image_url(ArgT0&& arg0, ArgT... args); - std::string* mutable_image_url(); - PROTOBUF_NODISCARD std::string* release_image_url(); - void set_allocated_image_url(std::string* image_url); - private: - const std::string& _internal_image_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_image_url(const std::string& value); - std::string* _internal_mutable_image_url(); - public: - - // optional string shortcutname = 48; - bool has_shortcutname() const; - private: - bool _internal_has_shortcutname() const; - public: - void clear_shortcutname(); - const std::string& shortcutname() const; - template - void set_shortcutname(ArgT0&& arg0, ArgT... args); - std::string* mutable_shortcutname(); - PROTOBUF_NODISCARD std::string* release_shortcutname(); - void set_allocated_shortcutname(std::string* shortcutname); - private: - const std::string& _internal_shortcutname() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_shortcutname(const std::string& value); - std::string* _internal_mutable_shortcutname(); - public: - - // optional .PublishedFileDetails.VoteData vote_data = 55; - bool has_vote_data() const; - private: - bool _internal_has_vote_data() const; - public: - void clear_vote_data(); - const ::PublishedFileDetails_VoteData& vote_data() const; - PROTOBUF_NODISCARD ::PublishedFileDetails_VoteData* release_vote_data(); - ::PublishedFileDetails_VoteData* mutable_vote_data(); - void set_allocated_vote_data(::PublishedFileDetails_VoteData* vote_data); - private: - const ::PublishedFileDetails_VoteData& _internal_vote_data() const; - ::PublishedFileDetails_VoteData* _internal_mutable_vote_data(); - public: - void unsafe_arena_set_allocated_vote_data( - ::PublishedFileDetails_VoteData* vote_data); - ::PublishedFileDetails_VoteData* unsafe_arena_release_vote_data(); - - // optional uint64 publishedfileid = 2; - bool has_publishedfileid() const; - private: - bool _internal_has_publishedfileid() const; - public: - void clear_publishedfileid(); - uint64_t publishedfileid() const; - void set_publishedfileid(uint64_t value); - private: - uint64_t _internal_publishedfileid() const; - void _internal_set_publishedfileid(uint64_t value); - public: - - // optional uint32 result = 1; - bool has_result() const; - private: - bool _internal_has_result() const; - public: - void clear_result(); - uint32_t result() const; - void set_result(uint32_t value); - private: - uint32_t _internal_result() const; - void _internal_set_result(uint32_t value); - public: - - // optional uint32 creator_appid = 4; - bool has_creator_appid() const; - private: - bool _internal_has_creator_appid() const; - public: - void clear_creator_appid(); - uint32_t creator_appid() const; - void set_creator_appid(uint32_t value); - private: - uint32_t _internal_creator_appid() const; - void _internal_set_creator_appid(uint32_t value); - public: - - // optional fixed64 creator = 3; - bool has_creator() const; - private: - bool _internal_has_creator() const; - public: - void clear_creator(); - uint64_t creator() const; - void set_creator(uint64_t value); - private: - uint64_t _internal_creator() const; - void _internal_set_creator(uint64_t value); - public: - - // optional uint32 consumer_appid = 5; - bool has_consumer_appid() const; - private: - bool _internal_has_consumer_appid() const; - public: - void clear_consumer_appid(); - uint32_t consumer_appid() const; - void set_consumer_appid(uint32_t value); - private: - uint32_t _internal_consumer_appid() const; - void _internal_set_consumer_appid(uint32_t value); - public: - - // optional uint32 consumer_shortcutid = 6; - bool has_consumer_shortcutid() const; - private: - bool _internal_has_consumer_shortcutid() const; - public: - void clear_consumer_shortcutid(); - uint32_t consumer_shortcutid() const; - void set_consumer_shortcutid(uint32_t value); - private: - uint32_t _internal_consumer_shortcutid() const; - void _internal_set_consumer_shortcutid(uint32_t value); - public: - - // optional uint64 file_size = 8; - bool has_file_size() const; - private: - bool _internal_has_file_size() const; - public: - void clear_file_size(); - uint64_t file_size() const; - void set_file_size(uint64_t value); - private: - uint64_t _internal_file_size() const; - void _internal_set_file_size(uint64_t value); - public: - - // optional uint64 preview_file_size = 9; - bool has_preview_file_size() const; - private: - bool _internal_has_preview_file_size() const; - public: - void clear_preview_file_size(); - uint64_t preview_file_size() const; - void set_preview_file_size(uint64_t value); - private: - uint64_t _internal_preview_file_size() const; - void _internal_set_preview_file_size(uint64_t value); - public: - - // optional fixed64 hcontent_file = 14; - bool has_hcontent_file() const; - private: - bool _internal_has_hcontent_file() const; - public: - void clear_hcontent_file(); - uint64_t hcontent_file() const; - void set_hcontent_file(uint64_t value); - private: - uint64_t _internal_hcontent_file() const; - void _internal_set_hcontent_file(uint64_t value); - public: - - // optional fixed64 hcontent_preview = 15; - bool has_hcontent_preview() const; - private: - bool _internal_has_hcontent_preview() const; - public: - void clear_hcontent_preview(); - uint64_t hcontent_preview() const; - void set_hcontent_preview(uint64_t value); - private: - uint64_t _internal_hcontent_preview() const; - void _internal_set_hcontent_preview(uint64_t value); - public: - - // optional uint32 time_created = 19; - bool has_time_created() const; - private: - bool _internal_has_time_created() const; - public: - void clear_time_created(); - uint32_t time_created() const; - void set_time_created(uint32_t value); - private: - uint32_t _internal_time_created() const; - void _internal_set_time_created(uint32_t value); - public: - - // optional uint32 time_updated = 20; - bool has_time_updated() const; - private: - bool _internal_has_time_updated() const; - public: - void clear_time_updated(); - uint32_t time_updated() const; - void set_time_updated(uint32_t value); - private: - uint32_t _internal_time_updated() const; - void _internal_set_time_updated(uint32_t value); - public: - - // optional uint32 visibility = 21; - bool has_visibility() const; - private: - bool _internal_has_visibility() const; - public: - void clear_visibility(); - uint32_t visibility() const; - void set_visibility(uint32_t value); - private: - uint32_t _internal_visibility() const; - void _internal_set_visibility(uint32_t value); - public: - - // optional uint32 flags = 22; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional bool workshop_file = 23; - bool has_workshop_file() const; - private: - bool _internal_has_workshop_file() const; - public: - void clear_workshop_file(); - bool workshop_file() const; - void set_workshop_file(bool value); - private: - bool _internal_workshop_file() const; - void _internal_set_workshop_file(bool value); - public: - - // optional bool workshop_accepted = 24; - bool has_workshop_accepted() const; - private: - bool _internal_has_workshop_accepted() const; - public: - void clear_workshop_accepted(); - bool workshop_accepted() const; - void set_workshop_accepted(bool value); - private: - bool _internal_workshop_accepted() const; - void _internal_set_workshop_accepted(bool value); - public: - - // optional bool show_subscribe_all = 25; - bool has_show_subscribe_all() const; - private: - bool _internal_has_show_subscribe_all() const; - public: - void clear_show_subscribe_all(); - bool show_subscribe_all() const; - void set_show_subscribe_all(bool value); - private: - bool _internal_show_subscribe_all() const; - void _internal_set_show_subscribe_all(bool value); - public: - - // optional bool banned = 28; - bool has_banned() const; - private: - bool _internal_has_banned() const; - public: - void clear_banned(); - bool banned() const; - void set_banned(bool value); - private: - bool _internal_banned() const; - void _internal_set_banned(bool value); - public: - - // optional int32 num_comments_developer = 26; - bool has_num_comments_developer() const; - private: - bool _internal_has_num_comments_developer() const; - public: - void clear_num_comments_developer(); - int32_t num_comments_developer() const; - void set_num_comments_developer(int32_t value); - private: - int32_t _internal_num_comments_developer() const; - void _internal_set_num_comments_developer(int32_t value); - public: - - // optional fixed64 banner = 30; - bool has_banner() const; - private: - bool _internal_has_banner() const; - public: - void clear_banner(); - uint64_t banner() const; - void set_banner(uint64_t value); - private: - uint64_t _internal_banner() const; - void _internal_set_banner(uint64_t value); - public: - - // optional int32 num_comments_public = 27; - bool has_num_comments_public() const; - private: - bool _internal_has_num_comments_public() const; - public: - void clear_num_comments_public(); - int32_t num_comments_public() const; - void set_num_comments_public(int32_t value); - private: - int32_t _internal_num_comments_public() const; - void _internal_set_num_comments_public(int32_t value); - public: - - // optional uint32 file_type = 34; - bool has_file_type() const; - private: - bool _internal_has_file_type() const; - public: - void clear_file_type(); - uint32_t file_type() const; - void set_file_type(uint32_t value); - private: - uint32_t _internal_file_type() const; - void _internal_set_file_type(uint32_t value); - public: - - // optional uint32 subscriptions = 36; - bool has_subscriptions() const; - private: - bool _internal_has_subscriptions() const; - public: - void clear_subscriptions(); - uint32_t subscriptions() const; - void set_subscriptions(uint32_t value); - private: - uint32_t _internal_subscriptions() const; - void _internal_set_subscriptions(uint32_t value); - public: - - // optional bool can_be_deleted = 31; - bool has_can_be_deleted() const; - private: - bool _internal_has_can_be_deleted() const; - public: - void clear_can_be_deleted(); - bool can_be_deleted() const; - void set_can_be_deleted(bool value); - private: - bool _internal_can_be_deleted() const; - void _internal_set_can_be_deleted(bool value); - public: - - // optional bool incompatible = 32; - bool has_incompatible() const; - private: - bool _internal_has_incompatible() const; - public: - void clear_incompatible(); - bool incompatible() const; - void set_incompatible(bool value); - private: - bool _internal_incompatible() const; - void _internal_set_incompatible(bool value); - public: - - // optional bool can_subscribe = 35; - bool has_can_subscribe() const; - private: - bool _internal_has_can_subscribe() const; - public: - void clear_can_subscribe(); - bool can_subscribe() const; - void set_can_subscribe(bool value); - private: - bool _internal_can_subscribe() const; - void _internal_set_can_subscribe(bool value); - public: - - // optional bool spoiler_tag = 46; - bool has_spoiler_tag() const; - private: - bool _internal_has_spoiler_tag() const; - public: - void clear_spoiler_tag(); - bool spoiler_tag() const; - void set_spoiler_tag(bool value); - private: - bool _internal_spoiler_tag() const; - void _internal_set_spoiler_tag(bool value); - public: - - // optional uint32 favorited = 37; - bool has_favorited() const; - private: - bool _internal_has_favorited() const; - public: - void clear_favorited(); - uint32_t favorited() const; - void set_favorited(uint32_t value); - private: - uint32_t _internal_favorited() const; - void _internal_set_favorited(uint32_t value); - public: - - // optional uint32 followers = 38; - bool has_followers() const; - private: - bool _internal_has_followers() const; - public: - void clear_followers(); - uint32_t followers() const; - void set_followers(uint32_t value); - private: - uint32_t _internal_followers() const; - void _internal_set_followers(uint32_t value); - public: - - // optional uint32 lifetime_subscriptions = 39; - bool has_lifetime_subscriptions() const; - private: - bool _internal_has_lifetime_subscriptions() const; - public: - void clear_lifetime_subscriptions(); - uint32_t lifetime_subscriptions() const; - void set_lifetime_subscriptions(uint32_t value); - private: - uint32_t _internal_lifetime_subscriptions() const; - void _internal_set_lifetime_subscriptions(uint32_t value); - public: - - // optional uint32 lifetime_favorited = 40; - bool has_lifetime_favorited() const; - private: - bool _internal_has_lifetime_favorited() const; - public: - void clear_lifetime_favorited(); - uint32_t lifetime_favorited() const; - void set_lifetime_favorited(uint32_t value); - private: - uint32_t _internal_lifetime_favorited() const; - void _internal_set_lifetime_favorited(uint32_t value); - public: - - // optional uint32 lifetime_followers = 41; - bool has_lifetime_followers() const; - private: - bool _internal_has_lifetime_followers() const; - public: - void clear_lifetime_followers(); - uint32_t lifetime_followers() const; - void set_lifetime_followers(uint32_t value); - private: - uint32_t _internal_lifetime_followers() const; - void _internal_set_lifetime_followers(uint32_t value); - public: - - // optional uint32 views = 42; - bool has_views() const; - private: - bool _internal_has_views() const; - public: - void clear_views(); - uint32_t views() const; - void set_views(uint32_t value); - private: - uint32_t _internal_views() const; - void _internal_set_views(uint32_t value); - public: - - // optional uint32 image_width = 43; - bool has_image_width() const; - private: - bool _internal_has_image_width() const; - public: - void clear_image_width(); - uint32_t image_width() const; - void set_image_width(uint32_t value); - private: - uint32_t _internal_image_width() const; - void _internal_set_image_width(uint32_t value); - public: - - // optional uint32 image_height = 44; - bool has_image_height() const; - private: - bool _internal_has_image_height() const; - public: - void clear_image_height(); - uint32_t image_height() const; - void set_image_height(uint32_t value); - private: - uint32_t _internal_image_height() const; - void _internal_set_image_height(uint32_t value); - public: - - // optional uint32 shortcutid = 47; - bool has_shortcutid() const; - private: - bool _internal_has_shortcutid() const; - public: - void clear_shortcutid(); - uint32_t shortcutid() const; - void set_shortcutid(uint32_t value); - private: - uint32_t _internal_shortcutid() const; - void _internal_set_shortcutid(uint32_t value); - public: - - // optional uint32 num_children = 49; - bool has_num_children() const; - private: - bool _internal_has_num_children() const; - public: - void clear_num_children(); - uint32_t num_children() const; - void set_num_children(uint32_t value); - private: - uint32_t _internal_num_children() const; - void _internal_set_num_children(uint32_t value); - public: - - // optional uint32 num_reports = 50; - bool has_num_reports() const; - private: - bool _internal_has_num_reports() const; - public: - void clear_num_reports(); - uint32_t num_reports() const; - void set_num_reports(uint32_t value); - private: - uint32_t _internal_num_reports() const; - void _internal_set_num_reports(uint32_t value); - public: - - // optional uint32 time_subscribed = 56 [(.description) = "Only valid in PublishedFile.GetUserFiles and not normal PublishedFile.GetDetail calls"]; - bool has_time_subscribed() const; - private: - bool _internal_has_time_subscribed() const; - public: - void clear_time_subscribed(); - uint32_t time_subscribed() const; - void set_time_subscribed(uint32_t value); - private: - uint32_t _internal_time_subscribed() const; - void _internal_set_time_subscribed(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:PublishedFileDetails) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<2> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Preview > previews_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Tag > tags_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Child > children_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_KVTag > kvtags_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_url_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr preview_url_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr youtubevideoid_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_description_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr short_description_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ban_reason_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr app_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr image_url_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr shortcutname_; - ::PublishedFileDetails_VoteData* vote_data_; - uint64_t publishedfileid_; - uint32_t result_; - uint32_t creator_appid_; - uint64_t creator_; - uint32_t consumer_appid_; - uint32_t consumer_shortcutid_; - uint64_t file_size_; - uint64_t preview_file_size_; - uint64_t hcontent_file_; - uint64_t hcontent_preview_; - uint32_t time_created_; - uint32_t time_updated_; - uint32_t visibility_; - uint32_t flags_; - bool workshop_file_; - bool workshop_accepted_; - bool show_subscribe_all_; - bool banned_; - int32_t num_comments_developer_; - uint64_t banner_; - int32_t num_comments_public_; - uint32_t file_type_; - uint32_t subscriptions_; - bool can_be_deleted_; - bool incompatible_; - bool can_subscribe_; - bool spoiler_tag_; - uint32_t favorited_; - uint32_t followers_; - uint32_t lifetime_subscriptions_; - uint32_t lifetime_favorited_; - uint32_t lifetime_followers_; - uint32_t views_; - uint32_t image_width_; - uint32_t image_height_; - uint32_t shortcutid_; - uint32_t num_children_; - uint32_t num_reports_; - uint32_t time_subscribed_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPublishedFile_GetDetails_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_GetDetails_Response) */ { - public: - inline CPublishedFile_GetDetails_Response() : CPublishedFile_GetDetails_Response(nullptr) {} - ~CPublishedFile_GetDetails_Response() override; - explicit PROTOBUF_CONSTEXPR CPublishedFile_GetDetails_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPublishedFile_GetDetails_Response(const CPublishedFile_GetDetails_Response& from); - CPublishedFile_GetDetails_Response(CPublishedFile_GetDetails_Response&& from) noexcept - : CPublishedFile_GetDetails_Response() { - *this = ::std::move(from); - } - - inline CPublishedFile_GetDetails_Response& operator=(const CPublishedFile_GetDetails_Response& from) { - CopyFrom(from); - return *this; - } - inline CPublishedFile_GetDetails_Response& operator=(CPublishedFile_GetDetails_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPublishedFile_GetDetails_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPublishedFile_GetDetails_Response* internal_default_instance() { - return reinterpret_cast( - &_CPublishedFile_GetDetails_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - friend void swap(CPublishedFile_GetDetails_Response& a, CPublishedFile_GetDetails_Response& b) { - a.Swap(&b); - } - inline void Swap(CPublishedFile_GetDetails_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPublishedFile_GetDetails_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPublishedFile_GetDetails_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPublishedFile_GetDetails_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPublishedFile_GetDetails_Response& from) { - CPublishedFile_GetDetails_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPublishedFile_GetDetails_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPublishedFile_GetDetails_Response"; - } - protected: - explicit CPublishedFile_GetDetails_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPublishedfiledetailsFieldNumber = 1, - }; - // repeated .PublishedFileDetails publishedfiledetails = 1; - int publishedfiledetails_size() const; - private: - int _internal_publishedfiledetails_size() const; - public: - void clear_publishedfiledetails(); - ::PublishedFileDetails* mutable_publishedfiledetails(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails >* - mutable_publishedfiledetails(); - private: - const ::PublishedFileDetails& _internal_publishedfiledetails(int index) const; - ::PublishedFileDetails* _internal_add_publishedfiledetails(); - public: - const ::PublishedFileDetails& publishedfiledetails(int index) const; - ::PublishedFileDetails* add_publishedfiledetails(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails >& - publishedfiledetails() const; - - // @@protoc_insertion_point(class_scope:CPublishedFile_GetDetails_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails > publishedfiledetails_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPublishedFile_GetUserFiles_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_GetUserFiles_Request) */ { - public: - inline CPublishedFile_GetUserFiles_Request() : CPublishedFile_GetUserFiles_Request(nullptr) {} - ~CPublishedFile_GetUserFiles_Request() override; - explicit PROTOBUF_CONSTEXPR CPublishedFile_GetUserFiles_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPublishedFile_GetUserFiles_Request(const CPublishedFile_GetUserFiles_Request& from); - CPublishedFile_GetUserFiles_Request(CPublishedFile_GetUserFiles_Request&& from) noexcept - : CPublishedFile_GetUserFiles_Request() { - *this = ::std::move(from); - } - - inline CPublishedFile_GetUserFiles_Request& operator=(const CPublishedFile_GetUserFiles_Request& from) { - CopyFrom(from); - return *this; - } - inline CPublishedFile_GetUserFiles_Request& operator=(CPublishedFile_GetUserFiles_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPublishedFile_GetUserFiles_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPublishedFile_GetUserFiles_Request* internal_default_instance() { - return reinterpret_cast( - &_CPublishedFile_GetUserFiles_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - friend void swap(CPublishedFile_GetUserFiles_Request& a, CPublishedFile_GetUserFiles_Request& b) { - a.Swap(&b); - } - inline void Swap(CPublishedFile_GetUserFiles_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPublishedFile_GetUserFiles_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPublishedFile_GetUserFiles_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPublishedFile_GetUserFiles_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPublishedFile_GetUserFiles_Request& from) { - CPublishedFile_GetUserFiles_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPublishedFile_GetUserFiles_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPublishedFile_GetUserFiles_Request"; - } - protected: - explicit CPublishedFile_GetUserFiles_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kRequiredtagsFieldNumber = 11, - kExcludedtagsFieldNumber = 12, - kSortmethodFieldNumber = 6, - kAppidFieldNumber = 1, - kTotalonlyFieldNumber = 7, - kIdsOnlyFieldNumber = 10, - kPrivacyFieldNumber = 9, - kPageFieldNumber = 3, - kNumperpageFieldNumber = 4, - }; - // repeated string requiredtags = 11 [(.description) = "(Optional) Tags that must be present on a published file to satisfy the query."]; - int requiredtags_size() const; - private: - int _internal_requiredtags_size() const; - public: - void clear_requiredtags(); - const std::string& requiredtags(int index) const; - std::string* mutable_requiredtags(int index); - void set_requiredtags(int index, const std::string& value); - void set_requiredtags(int index, std::string&& value); - void set_requiredtags(int index, const char* value); - void set_requiredtags(int index, const char* value, size_t size); - std::string* add_requiredtags(); - void add_requiredtags(const std::string& value); - void add_requiredtags(std::string&& value); - void add_requiredtags(const char* value); - void add_requiredtags(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& requiredtags() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_requiredtags(); - private: - const std::string& _internal_requiredtags(int index) const; - std::string* _internal_add_requiredtags(); - public: - - // repeated string excludedtags = 12 [(.description) = "(Optional) Tags that must NOT be present on a published file to satisfy the query."]; - int excludedtags_size() const; - private: - int _internal_excludedtags_size() const; - public: - void clear_excludedtags(); - const std::string& excludedtags(int index) const; - std::string* mutable_excludedtags(int index); - void set_excludedtags(int index, const std::string& value); - void set_excludedtags(int index, std::string&& value); - void set_excludedtags(int index, const char* value); - void set_excludedtags(int index, const char* value, size_t size); - std::string* add_excludedtags(); - void add_excludedtags(const std::string& value); - void add_excludedtags(std::string&& value); - void add_excludedtags(const char* value); - void add_excludedtags(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& excludedtags() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_excludedtags(); - private: - const std::string& _internal_excludedtags(int index) const; - std::string* _internal_add_excludedtags(); - public: - - // optional string sortmethod = 6 [default = "lastupdated", (.description) = "(Optional) Sorting method to use on returned values."]; - bool has_sortmethod() const; - private: - bool _internal_has_sortmethod() const; - public: - void clear_sortmethod(); - const std::string& sortmethod() const; - template - void set_sortmethod(ArgT0&& arg0, ArgT... args); - std::string* mutable_sortmethod(); - PROTOBUF_NODISCARD std::string* release_sortmethod(); - void set_allocated_sortmethod(std::string* sortmethod); - private: - const std::string& _internal_sortmethod() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_sortmethod(const std::string& value); - std::string* _internal_mutable_sortmethod(); - public: - - // optional uint32 appid = 1 [(.description) = "App Id to retrieve published files from."]; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional bool totalonly = 7 [(.description) = "(Optional) If true, only return the total number of files that satisfy this query."]; - bool has_totalonly() const; - private: - bool _internal_has_totalonly() const; - public: - void clear_totalonly(); - bool totalonly() const; - void set_totalonly(bool value); - private: - bool _internal_totalonly() const; - void _internal_set_totalonly(bool value); - public: - - // optional bool ids_only = 10 [(.description) = "(Optional) If true, only return the published file ids of files that satisfy this query."]; - bool has_ids_only() const; - private: - bool _internal_has_ids_only() const; - public: - void clear_ids_only(); - bool ids_only() const; - void set_ids_only(bool value); - private: - bool _internal_ids_only() const; - void _internal_set_ids_only(bool value); - public: - - // optional uint32 privacy = 9 [(.description) = "(optional) Filter by privacy settings."]; - bool has_privacy() const; - private: - bool _internal_has_privacy() const; - public: - void clear_privacy(); - uint32_t privacy() const; - void set_privacy(uint32_t value); - private: - uint32_t _internal_privacy() const; - void _internal_set_privacy(uint32_t value); - public: - - // optional uint32 page = 3 [default = 1, (.description) = "(Optional) Starting page for results."]; - bool has_page() const; - private: - bool _internal_has_page() const; - public: - void clear_page(); - uint32_t page() const; - void set_page(uint32_t value); - private: - uint32_t _internal_page() const; - void _internal_set_page(uint32_t value); - public: - - // optional uint32 numperpage = 4 [default = 1, (.description) = "(Optional) The number of results, per page to return."]; - bool has_numperpage() const; - private: - bool _internal_has_numperpage() const; - public: - void clear_numperpage(); - uint32_t numperpage() const; - void set_numperpage(uint32_t value); - private: - uint32_t _internal_numperpage() const; - void _internal_set_numperpage(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPublishedFile_GetUserFiles_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField requiredtags_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField excludedtags_; - static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_sortmethod_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sortmethod_; - uint32_t appid_; - bool totalonly_; - bool ids_only_; - uint32_t privacy_; - uint32_t page_; - uint32_t numperpage_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPublishedFile_GetUserFiles_Response_App : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_GetUserFiles_Response.App) */ { - public: - inline CPublishedFile_GetUserFiles_Response_App() : CPublishedFile_GetUserFiles_Response_App(nullptr) {} - ~CPublishedFile_GetUserFiles_Response_App() override; - explicit PROTOBUF_CONSTEXPR CPublishedFile_GetUserFiles_Response_App(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPublishedFile_GetUserFiles_Response_App(const CPublishedFile_GetUserFiles_Response_App& from); - CPublishedFile_GetUserFiles_Response_App(CPublishedFile_GetUserFiles_Response_App&& from) noexcept - : CPublishedFile_GetUserFiles_Response_App() { - *this = ::std::move(from); - } - - inline CPublishedFile_GetUserFiles_Response_App& operator=(const CPublishedFile_GetUserFiles_Response_App& from) { - CopyFrom(from); - return *this; - } - inline CPublishedFile_GetUserFiles_Response_App& operator=(CPublishedFile_GetUserFiles_Response_App&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPublishedFile_GetUserFiles_Response_App& default_instance() { - return *internal_default_instance(); - } - static inline const CPublishedFile_GetUserFiles_Response_App* internal_default_instance() { - return reinterpret_cast( - &_CPublishedFile_GetUserFiles_Response_App_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - friend void swap(CPublishedFile_GetUserFiles_Response_App& a, CPublishedFile_GetUserFiles_Response_App& b) { - a.Swap(&b); - } - inline void Swap(CPublishedFile_GetUserFiles_Response_App* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPublishedFile_GetUserFiles_Response_App* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPublishedFile_GetUserFiles_Response_App* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPublishedFile_GetUserFiles_Response_App& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPublishedFile_GetUserFiles_Response_App& from) { - CPublishedFile_GetUserFiles_Response_App::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPublishedFile_GetUserFiles_Response_App* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPublishedFile_GetUserFiles_Response.App"; - } - protected: - explicit CPublishedFile_GetUserFiles_Response_App(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 2, - kAppidFieldNumber = 1, - kShortcutidFieldNumber = 3, - kPrivateFieldNumber = 4, - }; - // optional string name = 2; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional uint32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional uint32 shortcutid = 3; - bool has_shortcutid() const; - private: - bool _internal_has_shortcutid() const; - public: - void clear_shortcutid(); - uint32_t shortcutid() const; - void set_shortcutid(uint32_t value); - private: - uint32_t _internal_shortcutid() const; - void _internal_set_shortcutid(uint32_t value); - public: - - // optional bool private = 4; - bool has_private_() const; - private: - bool _internal_has_private_() const; - public: - void clear_private_(); - bool private_() const; - void set_private_(bool value); - private: - bool _internal_private_() const; - void _internal_set_private_(bool value); - public: - - // @@protoc_insertion_point(class_scope:CPublishedFile_GetUserFiles_Response.App) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - uint32_t appid_; - uint32_t shortcutid_; - bool private__; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPublishedFile_GetUserFiles_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_GetUserFiles_Response) */ { - public: - inline CPublishedFile_GetUserFiles_Response() : CPublishedFile_GetUserFiles_Response(nullptr) {} - ~CPublishedFile_GetUserFiles_Response() override; - explicit PROTOBUF_CONSTEXPR CPublishedFile_GetUserFiles_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPublishedFile_GetUserFiles_Response(const CPublishedFile_GetUserFiles_Response& from); - CPublishedFile_GetUserFiles_Response(CPublishedFile_GetUserFiles_Response&& from) noexcept - : CPublishedFile_GetUserFiles_Response() { - *this = ::std::move(from); - } - - inline CPublishedFile_GetUserFiles_Response& operator=(const CPublishedFile_GetUserFiles_Response& from) { - CopyFrom(from); - return *this; - } - inline CPublishedFile_GetUserFiles_Response& operator=(CPublishedFile_GetUserFiles_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPublishedFile_GetUserFiles_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPublishedFile_GetUserFiles_Response* internal_default_instance() { - return reinterpret_cast( - &_CPublishedFile_GetUserFiles_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - friend void swap(CPublishedFile_GetUserFiles_Response& a, CPublishedFile_GetUserFiles_Response& b) { - a.Swap(&b); - } - inline void Swap(CPublishedFile_GetUserFiles_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPublishedFile_GetUserFiles_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPublishedFile_GetUserFiles_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPublishedFile_GetUserFiles_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPublishedFile_GetUserFiles_Response& from) { - CPublishedFile_GetUserFiles_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPublishedFile_GetUserFiles_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPublishedFile_GetUserFiles_Response"; - } - protected: - explicit CPublishedFile_GetUserFiles_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CPublishedFile_GetUserFiles_Response_App App; - - // accessors ------------------------------------------------------- - - enum : int { - kPublishedfiledetailsFieldNumber = 3, - kAppsFieldNumber = 4, - kTotalFieldNumber = 1, - kStartindexFieldNumber = 2, - }; - // repeated .PublishedFileDetails publishedfiledetails = 3; - int publishedfiledetails_size() const; - private: - int _internal_publishedfiledetails_size() const; - public: - void clear_publishedfiledetails(); - ::PublishedFileDetails* mutable_publishedfiledetails(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails >* - mutable_publishedfiledetails(); - private: - const ::PublishedFileDetails& _internal_publishedfiledetails(int index) const; - ::PublishedFileDetails* _internal_add_publishedfiledetails(); - public: - const ::PublishedFileDetails& publishedfiledetails(int index) const; - ::PublishedFileDetails* add_publishedfiledetails(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails >& - publishedfiledetails() const; - - // repeated .CPublishedFile_GetUserFiles_Response.App apps = 4; - int apps_size() const; - private: - int _internal_apps_size() const; - public: - void clear_apps(); - ::CPublishedFile_GetUserFiles_Response_App* mutable_apps(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPublishedFile_GetUserFiles_Response_App >* - mutable_apps(); - private: - const ::CPublishedFile_GetUserFiles_Response_App& _internal_apps(int index) const; - ::CPublishedFile_GetUserFiles_Response_App* _internal_add_apps(); - public: - const ::CPublishedFile_GetUserFiles_Response_App& apps(int index) const; - ::CPublishedFile_GetUserFiles_Response_App* add_apps(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPublishedFile_GetUserFiles_Response_App >& - apps() const; - - // optional uint32 total = 1; - bool has_total() const; - private: - bool _internal_has_total() const; - public: - void clear_total(); - uint32_t total() const; - void set_total(uint32_t value); - private: - uint32_t _internal_total() const; - void _internal_set_total(uint32_t value); - public: - - // optional uint32 startindex = 2; - bool has_startindex() const; - private: - bool _internal_has_startindex() const; - public: - void clear_startindex(); - uint32_t startindex() const; - void set_startindex(uint32_t value); - private: - uint32_t _internal_startindex() const; - void _internal_set_startindex(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPublishedFile_GetUserFiles_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails > publishedfiledetails_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPublishedFile_GetUserFiles_Response_App > apps_; - uint32_t total_; - uint32_t startindex_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPublishedFile_Update_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_Update_Request) */ { - public: - inline CPublishedFile_Update_Request() : CPublishedFile_Update_Request(nullptr) {} - ~CPublishedFile_Update_Request() override; - explicit PROTOBUF_CONSTEXPR CPublishedFile_Update_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPublishedFile_Update_Request(const CPublishedFile_Update_Request& from); - CPublishedFile_Update_Request(CPublishedFile_Update_Request&& from) noexcept - : CPublishedFile_Update_Request() { - *this = ::std::move(from); - } - - inline CPublishedFile_Update_Request& operator=(const CPublishedFile_Update_Request& from) { - CopyFrom(from); - return *this; - } - inline CPublishedFile_Update_Request& operator=(CPublishedFile_Update_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPublishedFile_Update_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPublishedFile_Update_Request* internal_default_instance() { - return reinterpret_cast( - &_CPublishedFile_Update_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - friend void swap(CPublishedFile_Update_Request& a, CPublishedFile_Update_Request& b) { - a.Swap(&b); - } - inline void Swap(CPublishedFile_Update_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPublishedFile_Update_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPublishedFile_Update_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPublishedFile_Update_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPublishedFile_Update_Request& from) { - CPublishedFile_Update_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPublishedFile_Update_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPublishedFile_Update_Request"; - } - protected: - explicit CPublishedFile_Update_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTagsFieldNumber = 6, - kTitleFieldNumber = 3, - kFileDescriptionFieldNumber = 4, - kFilenameFieldNumber = 7, - kPreviewFilenameFieldNumber = 8, - kPublishedfileidFieldNumber = 2, - kAppidFieldNumber = 1, - kVisibilityFieldNumber = 5, - }; - // repeated string tags = 6 [(.description) = "(Optional) Set of tags for the published file."]; - int tags_size() const; - private: - int _internal_tags_size() const; - public: - void clear_tags(); - const std::string& tags(int index) const; - std::string* mutable_tags(int index); - void set_tags(int index, const std::string& value); - void set_tags(int index, std::string&& value); - void set_tags(int index, const char* value); - void set_tags(int index, const char* value, size_t size); - std::string* add_tags(); - void add_tags(const std::string& value); - void add_tags(std::string&& value); - void add_tags(const char* value); - void add_tags(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& tags() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_tags(); - private: - const std::string& _internal_tags(int index) const; - std::string* _internal_add_tags(); - public: - - // optional string title = 3 [(.description) = "(Optional) Title of the published file."]; - bool has_title() const; - private: - bool _internal_has_title() const; - public: - void clear_title(); - const std::string& title() const; - template - void set_title(ArgT0&& arg0, ArgT... args); - std::string* mutable_title(); - PROTOBUF_NODISCARD std::string* release_title(); - void set_allocated_title(std::string* title); - private: - const std::string& _internal_title() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_title(const std::string& value); - std::string* _internal_mutable_title(); - public: - - // optional string file_description = 4 [(.description) = "(Optional) Description of the published file."]; - bool has_file_description() const; - private: - bool _internal_has_file_description() const; - public: - void clear_file_description(); - const std::string& file_description() const; - template - void set_file_description(ArgT0&& arg0, ArgT... args); - std::string* mutable_file_description(); - PROTOBUF_NODISCARD std::string* release_file_description(); - void set_allocated_file_description(std::string* file_description); - private: - const std::string& _internal_file_description() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_description(const std::string& value); - std::string* _internal_mutable_file_description(); - public: - - // optional string filename = 7 [(.description) = "(Optional) Filename for the published file."]; - bool has_filename() const; - private: - bool _internal_has_filename() const; - public: - void clear_filename(); - const std::string& filename() const; - template - void set_filename(ArgT0&& arg0, ArgT... args); - std::string* mutable_filename(); - PROTOBUF_NODISCARD std::string* release_filename(); - void set_allocated_filename(std::string* filename); - private: - const std::string& _internal_filename() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_filename(const std::string& value); - std::string* _internal_mutable_filename(); - public: - - // optional string preview_filename = 8 [(.description) = "(Optional) Preview filename for the published file."]; - bool has_preview_filename() const; - private: - bool _internal_has_preview_filename() const; - public: - void clear_preview_filename(); - const std::string& preview_filename() const; - template - void set_preview_filename(ArgT0&& arg0, ArgT... args); - std::string* mutable_preview_filename(); - PROTOBUF_NODISCARD std::string* release_preview_filename(); - void set_allocated_preview_filename(std::string* preview_filename); - private: - const std::string& _internal_preview_filename() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_preview_filename(const std::string& value); - std::string* _internal_mutable_preview_filename(); - public: - - // optional fixed64 publishedfileid = 2 [(.description) = "Published file id of the file we\'d like update."]; - bool has_publishedfileid() const; - private: - bool _internal_has_publishedfileid() const; - public: - void clear_publishedfileid(); - uint64_t publishedfileid() const; - void set_publishedfileid(uint64_t value); - private: - uint64_t _internal_publishedfileid() const; - void _internal_set_publishedfileid(uint64_t value); - public: - - // optional uint32 appid = 1 [(.description) = "App Id this published file belongs to."]; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional uint32 visibility = 5 [(.description) = "(Optional) Visibility of the published file."]; - bool has_visibility() const; - private: - bool _internal_has_visibility() const; - public: - void clear_visibility(); - uint32_t visibility() const; - void set_visibility(uint32_t value); - private: - uint32_t _internal_visibility() const; - void _internal_set_visibility(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CPublishedFile_Update_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField tags_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_description_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr preview_filename_; - uint64_t publishedfileid_; - uint32_t appid_; - uint32_t visibility_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPublishedFile_Update_Response : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPublishedFile_Update_Response) */ { - public: - inline CPublishedFile_Update_Response() : CPublishedFile_Update_Response(nullptr) {} - explicit PROTOBUF_CONSTEXPR CPublishedFile_Update_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPublishedFile_Update_Response(const CPublishedFile_Update_Response& from); - CPublishedFile_Update_Response(CPublishedFile_Update_Response&& from) noexcept - : CPublishedFile_Update_Response() { - *this = ::std::move(from); - } - - inline CPublishedFile_Update_Response& operator=(const CPublishedFile_Update_Response& from) { - CopyFrom(from); - return *this; - } - inline CPublishedFile_Update_Response& operator=(CPublishedFile_Update_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPublishedFile_Update_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPublishedFile_Update_Response* internal_default_instance() { - return reinterpret_cast( - &_CPublishedFile_Update_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - friend void swap(CPublishedFile_Update_Response& a, CPublishedFile_Update_Response& b) { - a.Swap(&b); - } - inline void Swap(CPublishedFile_Update_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPublishedFile_Update_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPublishedFile_Update_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CPublishedFile_Update_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CPublishedFile_Update_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPublishedFile_Update_Response"; - } - protected: - explicit CPublishedFile_Update_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CPublishedFile_Update_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPublishedFile_RefreshVotingQueue_Request : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CPublishedFile_RefreshVotingQueue_Request) */ { - public: - inline CPublishedFile_RefreshVotingQueue_Request() : CPublishedFile_RefreshVotingQueue_Request(nullptr) {} - ~CPublishedFile_RefreshVotingQueue_Request() override; - explicit PROTOBUF_CONSTEXPR CPublishedFile_RefreshVotingQueue_Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPublishedFile_RefreshVotingQueue_Request(const CPublishedFile_RefreshVotingQueue_Request& from); - CPublishedFile_RefreshVotingQueue_Request(CPublishedFile_RefreshVotingQueue_Request&& from) noexcept - : CPublishedFile_RefreshVotingQueue_Request() { - *this = ::std::move(from); - } - - inline CPublishedFile_RefreshVotingQueue_Request& operator=(const CPublishedFile_RefreshVotingQueue_Request& from) { - CopyFrom(from); - return *this; - } - inline CPublishedFile_RefreshVotingQueue_Request& operator=(CPublishedFile_RefreshVotingQueue_Request&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPublishedFile_RefreshVotingQueue_Request& default_instance() { - return *internal_default_instance(); - } - static inline const CPublishedFile_RefreshVotingQueue_Request* internal_default_instance() { - return reinterpret_cast( - &_CPublishedFile_RefreshVotingQueue_Request_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - friend void swap(CPublishedFile_RefreshVotingQueue_Request& a, CPublishedFile_RefreshVotingQueue_Request& b) { - a.Swap(&b); - } - inline void Swap(CPublishedFile_RefreshVotingQueue_Request* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPublishedFile_RefreshVotingQueue_Request* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPublishedFile_RefreshVotingQueue_Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CPublishedFile_RefreshVotingQueue_Request& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CPublishedFile_RefreshVotingQueue_Request& from) { - CPublishedFile_RefreshVotingQueue_Request::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CPublishedFile_RefreshVotingQueue_Request* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPublishedFile_RefreshVotingQueue_Request"; - } - protected: - explicit CPublishedFile_RefreshVotingQueue_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTagsFieldNumber = 3, - kExcludedTagsFieldNumber = 5, - kAppidFieldNumber = 1, - kMatchingFileTypeFieldNumber = 2, - kDesiredQueueSizeFieldNumber = 6, - kMatchAllTagsFieldNumber = 4, - }; - // repeated string tags = 3 [(.description) = "Include files that have all the tags or any of the tags if match_all_tags is set to false."]; - int tags_size() const; - private: - int _internal_tags_size() const; - public: - void clear_tags(); - const std::string& tags(int index) const; - std::string* mutable_tags(int index); - void set_tags(int index, const std::string& value); - void set_tags(int index, std::string&& value); - void set_tags(int index, const char* value); - void set_tags(int index, const char* value, size_t size); - std::string* add_tags(); - void add_tags(const std::string& value); - void add_tags(std::string&& value); - void add_tags(const char* value); - void add_tags(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& tags() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_tags(); - private: - const std::string& _internal_tags(int index) const; - std::string* _internal_add_tags(); - public: - - // repeated string excluded_tags = 5 [(.description) = "Exclude any files that have any of these tags."]; - int excluded_tags_size() const; - private: - int _internal_excluded_tags_size() const; - public: - void clear_excluded_tags(); - const std::string& excluded_tags(int index) const; - std::string* mutable_excluded_tags(int index); - void set_excluded_tags(int index, const std::string& value); - void set_excluded_tags(int index, std::string&& value); - void set_excluded_tags(int index, const char* value); - void set_excluded_tags(int index, const char* value, size_t size); - std::string* add_excluded_tags(); - void add_excluded_tags(const std::string& value); - void add_excluded_tags(std::string&& value); - void add_excluded_tags(const char* value); - void add_excluded_tags(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& excluded_tags() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_excluded_tags(); - private: - const std::string& _internal_excluded_tags(int index) const; - std::string* _internal_add_excluded_tags(); - public: - - // optional uint32 appid = 1; - bool has_appid() const; - private: - bool _internal_has_appid() const; - public: - void clear_appid(); - uint32_t appid() const; - void set_appid(uint32_t value); - private: - uint32_t _internal_appid() const; - void _internal_set_appid(uint32_t value); - public: - - // optional uint32 matching_file_type = 2 [(.description) = "EPublishedFileInfoMatchingFileType"]; - bool has_matching_file_type() const; - private: - bool _internal_has_matching_file_type() const; - public: - void clear_matching_file_type(); - uint32_t matching_file_type() const; - void set_matching_file_type(uint32_t value); - private: - uint32_t _internal_matching_file_type() const; - void _internal_set_matching_file_type(uint32_t value); - public: - - // optional uint32 desired_queue_size = 6 [(.description) = "Desired number of items in the voting queue. May be clamped by the server"]; - bool has_desired_queue_size() const; - private: - bool _internal_has_desired_queue_size() const; - public: - void clear_desired_queue_size(); - uint32_t desired_queue_size() const; - void set_desired_queue_size(uint32_t value); - private: - uint32_t _internal_desired_queue_size() const; - void _internal_set_desired_queue_size(uint32_t value); - public: - - // optional bool match_all_tags = 4 [default = true, (.description) = "If true, then files must have all the tags specified. If false, then must have at least one of the tags specified."]; - bool has_match_all_tags() const; - private: - bool _internal_has_match_all_tags() const; - public: - void clear_match_all_tags(); - bool match_all_tags() const; - void set_match_all_tags(bool value); - private: - bool _internal_match_all_tags() const; - void _internal_set_match_all_tags(bool value); - public: - - // @@protoc_insertion_point(class_scope:CPublishedFile_RefreshVotingQueue_Request) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField tags_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField excluded_tags_; - uint32_t appid_; - uint32_t matching_file_type_; - uint32_t desired_queue_size_; - bool match_all_tags_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// ------------------------------------------------------------------- - -class CPublishedFile_RefreshVotingQueue_Response : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CPublishedFile_RefreshVotingQueue_Response) */ { - public: - inline CPublishedFile_RefreshVotingQueue_Response() : CPublishedFile_RefreshVotingQueue_Response(nullptr) {} - explicit PROTOBUF_CONSTEXPR CPublishedFile_RefreshVotingQueue_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CPublishedFile_RefreshVotingQueue_Response(const CPublishedFile_RefreshVotingQueue_Response& from); - CPublishedFile_RefreshVotingQueue_Response(CPublishedFile_RefreshVotingQueue_Response&& from) noexcept - : CPublishedFile_RefreshVotingQueue_Response() { - *this = ::std::move(from); - } - - inline CPublishedFile_RefreshVotingQueue_Response& operator=(const CPublishedFile_RefreshVotingQueue_Response& from) { - CopyFrom(from); - return *this; - } - inline CPublishedFile_RefreshVotingQueue_Response& operator=(CPublishedFile_RefreshVotingQueue_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CPublishedFile_RefreshVotingQueue_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CPublishedFile_RefreshVotingQueue_Response* internal_default_instance() { - return reinterpret_cast( - &_CPublishedFile_RefreshVotingQueue_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 20; - - friend void swap(CPublishedFile_RefreshVotingQueue_Response& a, CPublishedFile_RefreshVotingQueue_Response& b) { - a.Swap(&b); - } - inline void Swap(CPublishedFile_RefreshVotingQueue_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CPublishedFile_RefreshVotingQueue_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CPublishedFile_RefreshVotingQueue_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CPublishedFile_RefreshVotingQueue_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CPublishedFile_RefreshVotingQueue_Response& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CPublishedFile_RefreshVotingQueue_Response"; - } - protected: - explicit CPublishedFile_RefreshVotingQueue_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CPublishedFile_RefreshVotingQueue_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_steammessages_5fpublishedfile_2esteamworkssdk_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CPublishedFile_Subscribe_Request - -// optional uint64 publishedfileid = 1; -inline bool CPublishedFile_Subscribe_Request::_internal_has_publishedfileid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPublishedFile_Subscribe_Request::has_publishedfileid() const { - return _internal_has_publishedfileid(); -} -inline void CPublishedFile_Subscribe_Request::clear_publishedfileid() { - _impl_.publishedfileid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CPublishedFile_Subscribe_Request::_internal_publishedfileid() const { - return _impl_.publishedfileid_; -} -inline uint64_t CPublishedFile_Subscribe_Request::publishedfileid() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Subscribe_Request.publishedfileid) - return _internal_publishedfileid(); -} -inline void CPublishedFile_Subscribe_Request::_internal_set_publishedfileid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.publishedfileid_ = value; -} -inline void CPublishedFile_Subscribe_Request::set_publishedfileid(uint64_t value) { - _internal_set_publishedfileid(value); - // @@protoc_insertion_point(field_set:CPublishedFile_Subscribe_Request.publishedfileid) -} - -// optional uint32 list_type = 2; -inline bool CPublishedFile_Subscribe_Request::_internal_has_list_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPublishedFile_Subscribe_Request::has_list_type() const { - return _internal_has_list_type(); -} -inline void CPublishedFile_Subscribe_Request::clear_list_type() { - _impl_.list_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CPublishedFile_Subscribe_Request::_internal_list_type() const { - return _impl_.list_type_; -} -inline uint32_t CPublishedFile_Subscribe_Request::list_type() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Subscribe_Request.list_type) - return _internal_list_type(); -} -inline void CPublishedFile_Subscribe_Request::_internal_set_list_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.list_type_ = value; -} -inline void CPublishedFile_Subscribe_Request::set_list_type(uint32_t value) { - _internal_set_list_type(value); - // @@protoc_insertion_point(field_set:CPublishedFile_Subscribe_Request.list_type) -} - -// optional int32 appid = 3; -inline bool CPublishedFile_Subscribe_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CPublishedFile_Subscribe_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CPublishedFile_Subscribe_Request::clear_appid() { - _impl_.appid_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CPublishedFile_Subscribe_Request::_internal_appid() const { - return _impl_.appid_; -} -inline int32_t CPublishedFile_Subscribe_Request::appid() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Subscribe_Request.appid) - return _internal_appid(); -} -inline void CPublishedFile_Subscribe_Request::_internal_set_appid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.appid_ = value; -} -inline void CPublishedFile_Subscribe_Request::set_appid(int32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CPublishedFile_Subscribe_Request.appid) -} - -// optional bool notify_client = 4; -inline bool CPublishedFile_Subscribe_Request::_internal_has_notify_client() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CPublishedFile_Subscribe_Request::has_notify_client() const { - return _internal_has_notify_client(); -} -inline void CPublishedFile_Subscribe_Request::clear_notify_client() { - _impl_.notify_client_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CPublishedFile_Subscribe_Request::_internal_notify_client() const { - return _impl_.notify_client_; -} -inline bool CPublishedFile_Subscribe_Request::notify_client() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Subscribe_Request.notify_client) - return _internal_notify_client(); -} -inline void CPublishedFile_Subscribe_Request::_internal_set_notify_client(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.notify_client_ = value; -} -inline void CPublishedFile_Subscribe_Request::set_notify_client(bool value) { - _internal_set_notify_client(value); - // @@protoc_insertion_point(field_set:CPublishedFile_Subscribe_Request.notify_client) -} - -// ------------------------------------------------------------------- - -// CPublishedFile_Subscribe_Response - -// ------------------------------------------------------------------- - -// CPublishedFile_Unsubscribe_Request - -// optional uint64 publishedfileid = 1; -inline bool CPublishedFile_Unsubscribe_Request::_internal_has_publishedfileid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPublishedFile_Unsubscribe_Request::has_publishedfileid() const { - return _internal_has_publishedfileid(); -} -inline void CPublishedFile_Unsubscribe_Request::clear_publishedfileid() { - _impl_.publishedfileid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CPublishedFile_Unsubscribe_Request::_internal_publishedfileid() const { - return _impl_.publishedfileid_; -} -inline uint64_t CPublishedFile_Unsubscribe_Request::publishedfileid() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Unsubscribe_Request.publishedfileid) - return _internal_publishedfileid(); -} -inline void CPublishedFile_Unsubscribe_Request::_internal_set_publishedfileid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.publishedfileid_ = value; -} -inline void CPublishedFile_Unsubscribe_Request::set_publishedfileid(uint64_t value) { - _internal_set_publishedfileid(value); - // @@protoc_insertion_point(field_set:CPublishedFile_Unsubscribe_Request.publishedfileid) -} - -// optional uint32 list_type = 2; -inline bool CPublishedFile_Unsubscribe_Request::_internal_has_list_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPublishedFile_Unsubscribe_Request::has_list_type() const { - return _internal_has_list_type(); -} -inline void CPublishedFile_Unsubscribe_Request::clear_list_type() { - _impl_.list_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CPublishedFile_Unsubscribe_Request::_internal_list_type() const { - return _impl_.list_type_; -} -inline uint32_t CPublishedFile_Unsubscribe_Request::list_type() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Unsubscribe_Request.list_type) - return _internal_list_type(); -} -inline void CPublishedFile_Unsubscribe_Request::_internal_set_list_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.list_type_ = value; -} -inline void CPublishedFile_Unsubscribe_Request::set_list_type(uint32_t value) { - _internal_set_list_type(value); - // @@protoc_insertion_point(field_set:CPublishedFile_Unsubscribe_Request.list_type) -} - -// optional int32 appid = 3; -inline bool CPublishedFile_Unsubscribe_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CPublishedFile_Unsubscribe_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CPublishedFile_Unsubscribe_Request::clear_appid() { - _impl_.appid_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CPublishedFile_Unsubscribe_Request::_internal_appid() const { - return _impl_.appid_; -} -inline int32_t CPublishedFile_Unsubscribe_Request::appid() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Unsubscribe_Request.appid) - return _internal_appid(); -} -inline void CPublishedFile_Unsubscribe_Request::_internal_set_appid(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.appid_ = value; -} -inline void CPublishedFile_Unsubscribe_Request::set_appid(int32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CPublishedFile_Unsubscribe_Request.appid) -} - -// optional bool notify_client = 4; -inline bool CPublishedFile_Unsubscribe_Request::_internal_has_notify_client() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CPublishedFile_Unsubscribe_Request::has_notify_client() const { - return _internal_has_notify_client(); -} -inline void CPublishedFile_Unsubscribe_Request::clear_notify_client() { - _impl_.notify_client_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CPublishedFile_Unsubscribe_Request::_internal_notify_client() const { - return _impl_.notify_client_; -} -inline bool CPublishedFile_Unsubscribe_Request::notify_client() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Unsubscribe_Request.notify_client) - return _internal_notify_client(); -} -inline void CPublishedFile_Unsubscribe_Request::_internal_set_notify_client(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.notify_client_ = value; -} -inline void CPublishedFile_Unsubscribe_Request::set_notify_client(bool value) { - _internal_set_notify_client(value); - // @@protoc_insertion_point(field_set:CPublishedFile_Unsubscribe_Request.notify_client) -} - -// ------------------------------------------------------------------- - -// CPublishedFile_Unsubscribe_Response - -// ------------------------------------------------------------------- - -// CPublishedFile_Publish_Request - -// optional uint32 appid = 1 [(.description) = "App Id this file is being published FROM."]; -inline bool CPublishedFile_Publish_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CPublishedFile_Publish_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CPublishedFile_Publish_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CPublishedFile_Publish_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CPublishedFile_Publish_Request::appid() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.appid) - return _internal_appid(); -} -inline void CPublishedFile_Publish_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.appid_ = value; -} -inline void CPublishedFile_Publish_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.appid) -} - -// optional uint32 consumer_appid = 2 [(.description) = "App Id this file is being published TO."]; -inline bool CPublishedFile_Publish_Request::_internal_has_consumer_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CPublishedFile_Publish_Request::has_consumer_appid() const { - return _internal_has_consumer_appid(); -} -inline void CPublishedFile_Publish_Request::clear_consumer_appid() { - _impl_.consumer_appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CPublishedFile_Publish_Request::_internal_consumer_appid() const { - return _impl_.consumer_appid_; -} -inline uint32_t CPublishedFile_Publish_Request::consumer_appid() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.consumer_appid) - return _internal_consumer_appid(); -} -inline void CPublishedFile_Publish_Request::_internal_set_consumer_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.consumer_appid_ = value; -} -inline void CPublishedFile_Publish_Request::set_consumer_appid(uint32_t value) { - _internal_set_consumer_appid(value); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.consumer_appid) -} - -// optional string cloudfilename = 3 [(.description) = "Name of the file to publish in the user\'s cloud."]; -inline bool CPublishedFile_Publish_Request::_internal_has_cloudfilename() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPublishedFile_Publish_Request::has_cloudfilename() const { - return _internal_has_cloudfilename(); -} -inline void CPublishedFile_Publish_Request::clear_cloudfilename() { - _impl_.cloudfilename_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CPublishedFile_Publish_Request::cloudfilename() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.cloudfilename) - return _internal_cloudfilename(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPublishedFile_Publish_Request::set_cloudfilename(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.cloudfilename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.cloudfilename) -} -inline std::string* CPublishedFile_Publish_Request::mutable_cloudfilename() { - std::string* _s = _internal_mutable_cloudfilename(); - // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.cloudfilename) - return _s; -} -inline const std::string& CPublishedFile_Publish_Request::_internal_cloudfilename() const { - return _impl_.cloudfilename_.Get(); -} -inline void CPublishedFile_Publish_Request::_internal_set_cloudfilename(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.cloudfilename_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::_internal_mutable_cloudfilename() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.cloudfilename_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::release_cloudfilename() { - // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.cloudfilename) - if (!_internal_has_cloudfilename()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.cloudfilename_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cloudfilename_.IsDefault()) { - _impl_.cloudfilename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPublishedFile_Publish_Request::set_allocated_cloudfilename(std::string* cloudfilename) { - if (cloudfilename != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.cloudfilename_.SetAllocated(cloudfilename, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cloudfilename_.IsDefault()) { - _impl_.cloudfilename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.cloudfilename) -} - -// optional string preview_cloudfilename = 4 [(.description) = "Name of the file to use as the published file\'s preview."]; -inline bool CPublishedFile_Publish_Request::_internal_has_preview_cloudfilename() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPublishedFile_Publish_Request::has_preview_cloudfilename() const { - return _internal_has_preview_cloudfilename(); -} -inline void CPublishedFile_Publish_Request::clear_preview_cloudfilename() { - _impl_.preview_cloudfilename_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CPublishedFile_Publish_Request::preview_cloudfilename() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.preview_cloudfilename) - return _internal_preview_cloudfilename(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPublishedFile_Publish_Request::set_preview_cloudfilename(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.preview_cloudfilename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.preview_cloudfilename) -} -inline std::string* CPublishedFile_Publish_Request::mutable_preview_cloudfilename() { - std::string* _s = _internal_mutable_preview_cloudfilename(); - // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.preview_cloudfilename) - return _s; -} -inline const std::string& CPublishedFile_Publish_Request::_internal_preview_cloudfilename() const { - return _impl_.preview_cloudfilename_.Get(); -} -inline void CPublishedFile_Publish_Request::_internal_set_preview_cloudfilename(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.preview_cloudfilename_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::_internal_mutable_preview_cloudfilename() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.preview_cloudfilename_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::release_preview_cloudfilename() { - // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.preview_cloudfilename) - if (!_internal_has_preview_cloudfilename()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.preview_cloudfilename_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.preview_cloudfilename_.IsDefault()) { - _impl_.preview_cloudfilename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPublishedFile_Publish_Request::set_allocated_preview_cloudfilename(std::string* preview_cloudfilename) { - if (preview_cloudfilename != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.preview_cloudfilename_.SetAllocated(preview_cloudfilename, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.preview_cloudfilename_.IsDefault()) { - _impl_.preview_cloudfilename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.preview_cloudfilename) -} - -// optional string title = 5 [(.description) = "Text title for the published file."]; -inline bool CPublishedFile_Publish_Request::_internal_has_title() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CPublishedFile_Publish_Request::has_title() const { - return _internal_has_title(); -} -inline void CPublishedFile_Publish_Request::clear_title() { - _impl_.title_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CPublishedFile_Publish_Request::title() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.title) - return _internal_title(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPublishedFile_Publish_Request::set_title(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.title_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.title) -} -inline std::string* CPublishedFile_Publish_Request::mutable_title() { - std::string* _s = _internal_mutable_title(); - // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.title) - return _s; -} -inline const std::string& CPublishedFile_Publish_Request::_internal_title() const { - return _impl_.title_.Get(); -} -inline void CPublishedFile_Publish_Request::_internal_set_title(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.title_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::_internal_mutable_title() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.title_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::release_title() { - // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.title) - if (!_internal_has_title()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.title_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.title_.IsDefault()) { - _impl_.title_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPublishedFile_Publish_Request::set_allocated_title(std::string* title) { - if (title != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.title_.SetAllocated(title, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.title_.IsDefault()) { - _impl_.title_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.title) -} - -// optional string file_description = 6 [(.description) = "Text description for the published file."]; -inline bool CPublishedFile_Publish_Request::_internal_has_file_description() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CPublishedFile_Publish_Request::has_file_description() const { - return _internal_has_file_description(); -} -inline void CPublishedFile_Publish_Request::clear_file_description() { - _impl_.file_description_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CPublishedFile_Publish_Request::file_description() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.file_description) - return _internal_file_description(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPublishedFile_Publish_Request::set_file_description(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.file_description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.file_description) -} -inline std::string* CPublishedFile_Publish_Request::mutable_file_description() { - std::string* _s = _internal_mutable_file_description(); - // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.file_description) - return _s; -} -inline const std::string& CPublishedFile_Publish_Request::_internal_file_description() const { - return _impl_.file_description_.Get(); -} -inline void CPublishedFile_Publish_Request::_internal_set_file_description(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.file_description_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::_internal_mutable_file_description() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.file_description_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::release_file_description() { - // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.file_description) - if (!_internal_has_file_description()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.file_description_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.file_description_.IsDefault()) { - _impl_.file_description_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPublishedFile_Publish_Request::set_allocated_file_description(std::string* file_description) { - if (file_description != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.file_description_.SetAllocated(file_description, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.file_description_.IsDefault()) { - _impl_.file_description_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.file_description) -} - -// optional uint32 file_type = 7 [(.description) = "(EWorkshopFileType) Type of Workshop file to publish."]; -inline bool CPublishedFile_Publish_Request::_internal_has_file_type() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CPublishedFile_Publish_Request::has_file_type() const { - return _internal_has_file_type(); -} -inline void CPublishedFile_Publish_Request::clear_file_type() { - _impl_.file_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CPublishedFile_Publish_Request::_internal_file_type() const { - return _impl_.file_type_; -} -inline uint32_t CPublishedFile_Publish_Request::file_type() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.file_type) - return _internal_file_type(); -} -inline void CPublishedFile_Publish_Request::_internal_set_file_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.file_type_ = value; -} -inline void CPublishedFile_Publish_Request::set_file_type(uint32_t value) { - _internal_set_file_type(value); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.file_type) -} - -// optional string consumer_shortcut_name = 8 [(.description) = "Shortcut name for the published file."]; -inline bool CPublishedFile_Publish_Request::_internal_has_consumer_shortcut_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CPublishedFile_Publish_Request::has_consumer_shortcut_name() const { - return _internal_has_consumer_shortcut_name(); -} -inline void CPublishedFile_Publish_Request::clear_consumer_shortcut_name() { - _impl_.consumer_shortcut_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const std::string& CPublishedFile_Publish_Request::consumer_shortcut_name() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.consumer_shortcut_name) - return _internal_consumer_shortcut_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPublishedFile_Publish_Request::set_consumer_shortcut_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.consumer_shortcut_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.consumer_shortcut_name) -} -inline std::string* CPublishedFile_Publish_Request::mutable_consumer_shortcut_name() { - std::string* _s = _internal_mutable_consumer_shortcut_name(); - // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.consumer_shortcut_name) - return _s; -} -inline const std::string& CPublishedFile_Publish_Request::_internal_consumer_shortcut_name() const { - return _impl_.consumer_shortcut_name_.Get(); -} -inline void CPublishedFile_Publish_Request::_internal_set_consumer_shortcut_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.consumer_shortcut_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::_internal_mutable_consumer_shortcut_name() { - _impl_._has_bits_[0] |= 0x00000010u; - return _impl_.consumer_shortcut_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::release_consumer_shortcut_name() { - // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.consumer_shortcut_name) - if (!_internal_has_consumer_shortcut_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000010u; - auto* p = _impl_.consumer_shortcut_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.consumer_shortcut_name_.IsDefault()) { - _impl_.consumer_shortcut_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPublishedFile_Publish_Request::set_allocated_consumer_shortcut_name(std::string* consumer_shortcut_name) { - if (consumer_shortcut_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.consumer_shortcut_name_.SetAllocated(consumer_shortcut_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.consumer_shortcut_name_.IsDefault()) { - _impl_.consumer_shortcut_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.consumer_shortcut_name) -} - -// optional string youtube_username = 9 [(.description) = "(Optional) User\'s YouTube account username."]; -inline bool CPublishedFile_Publish_Request::_internal_has_youtube_username() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CPublishedFile_Publish_Request::has_youtube_username() const { - return _internal_has_youtube_username(); -} -inline void CPublishedFile_Publish_Request::clear_youtube_username() { - _impl_.youtube_username_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline const std::string& CPublishedFile_Publish_Request::youtube_username() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.youtube_username) - return _internal_youtube_username(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPublishedFile_Publish_Request::set_youtube_username(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.youtube_username_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.youtube_username) -} -inline std::string* CPublishedFile_Publish_Request::mutable_youtube_username() { - std::string* _s = _internal_mutable_youtube_username(); - // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.youtube_username) - return _s; -} -inline const std::string& CPublishedFile_Publish_Request::_internal_youtube_username() const { - return _impl_.youtube_username_.Get(); -} -inline void CPublishedFile_Publish_Request::_internal_set_youtube_username(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.youtube_username_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::_internal_mutable_youtube_username() { - _impl_._has_bits_[0] |= 0x00000020u; - return _impl_.youtube_username_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::release_youtube_username() { - // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.youtube_username) - if (!_internal_has_youtube_username()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000020u; - auto* p = _impl_.youtube_username_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.youtube_username_.IsDefault()) { - _impl_.youtube_username_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPublishedFile_Publish_Request::set_allocated_youtube_username(std::string* youtube_username) { - if (youtube_username != nullptr) { - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - _impl_.youtube_username_.SetAllocated(youtube_username, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.youtube_username_.IsDefault()) { - _impl_.youtube_username_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.youtube_username) -} - -// optional string youtube_videoid = 10 [(.description) = "(Optional) Video Id of a YouTube video for this published file."]; -inline bool CPublishedFile_Publish_Request::_internal_has_youtube_videoid() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CPublishedFile_Publish_Request::has_youtube_videoid() const { - return _internal_has_youtube_videoid(); -} -inline void CPublishedFile_Publish_Request::clear_youtube_videoid() { - _impl_.youtube_videoid_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline const std::string& CPublishedFile_Publish_Request::youtube_videoid() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.youtube_videoid) - return _internal_youtube_videoid(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPublishedFile_Publish_Request::set_youtube_videoid(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.youtube_videoid_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.youtube_videoid) -} -inline std::string* CPublishedFile_Publish_Request::mutable_youtube_videoid() { - std::string* _s = _internal_mutable_youtube_videoid(); - // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.youtube_videoid) - return _s; -} -inline const std::string& CPublishedFile_Publish_Request::_internal_youtube_videoid() const { - return _impl_.youtube_videoid_.Get(); -} -inline void CPublishedFile_Publish_Request::_internal_set_youtube_videoid(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.youtube_videoid_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::_internal_mutable_youtube_videoid() { - _impl_._has_bits_[0] |= 0x00000040u; - return _impl_.youtube_videoid_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::release_youtube_videoid() { - // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.youtube_videoid) - if (!_internal_has_youtube_videoid()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000040u; - auto* p = _impl_.youtube_videoid_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.youtube_videoid_.IsDefault()) { - _impl_.youtube_videoid_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPublishedFile_Publish_Request::set_allocated_youtube_videoid(std::string* youtube_videoid) { - if (youtube_videoid != nullptr) { - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - _impl_.youtube_videoid_.SetAllocated(youtube_videoid, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.youtube_videoid_.IsDefault()) { - _impl_.youtube_videoid_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.youtube_videoid) -} - -// optional uint32 visibility = 11 [(.description) = "(ERemoteStoragePublishedFileVisibility) Visibility of the published file (private, friends, public, etc.)"]; -inline bool CPublishedFile_Publish_Request::_internal_has_visibility() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CPublishedFile_Publish_Request::has_visibility() const { - return _internal_has_visibility(); -} -inline void CPublishedFile_Publish_Request::clear_visibility() { - _impl_.visibility_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CPublishedFile_Publish_Request::_internal_visibility() const { - return _impl_.visibility_; -} -inline uint32_t CPublishedFile_Publish_Request::visibility() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.visibility) - return _internal_visibility(); -} -inline void CPublishedFile_Publish_Request::_internal_set_visibility(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.visibility_ = value; -} -inline void CPublishedFile_Publish_Request::set_visibility(uint32_t value) { - _internal_set_visibility(value); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.visibility) -} - -// optional string redirect_uri = 12 [(.description) = "(Optional) If supplied, the resulting published file\'s Id is appended to the URI."]; -inline bool CPublishedFile_Publish_Request::_internal_has_redirect_uri() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CPublishedFile_Publish_Request::has_redirect_uri() const { - return _internal_has_redirect_uri(); -} -inline void CPublishedFile_Publish_Request::clear_redirect_uri() { - _impl_.redirect_uri_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline const std::string& CPublishedFile_Publish_Request::redirect_uri() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.redirect_uri) - return _internal_redirect_uri(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPublishedFile_Publish_Request::set_redirect_uri(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.redirect_uri_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.redirect_uri) -} -inline std::string* CPublishedFile_Publish_Request::mutable_redirect_uri() { - std::string* _s = _internal_mutable_redirect_uri(); - // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.redirect_uri) - return _s; -} -inline const std::string& CPublishedFile_Publish_Request::_internal_redirect_uri() const { - return _impl_.redirect_uri_.Get(); -} -inline void CPublishedFile_Publish_Request::_internal_set_redirect_uri(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.redirect_uri_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::_internal_mutable_redirect_uri() { - _impl_._has_bits_[0] |= 0x00000080u; - return _impl_.redirect_uri_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::release_redirect_uri() { - // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.redirect_uri) - if (!_internal_has_redirect_uri()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000080u; - auto* p = _impl_.redirect_uri_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.redirect_uri_.IsDefault()) { - _impl_.redirect_uri_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPublishedFile_Publish_Request::set_allocated_redirect_uri(std::string* redirect_uri) { - if (redirect_uri != nullptr) { - _impl_._has_bits_[0] |= 0x00000080u; - } else { - _impl_._has_bits_[0] &= ~0x00000080u; - } - _impl_.redirect_uri_.SetAllocated(redirect_uri, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.redirect_uri_.IsDefault()) { - _impl_.redirect_uri_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.redirect_uri) -} - -// repeated string tags = 13 [(.description) = "Array of text tags to apply to the published file."]; -inline int CPublishedFile_Publish_Request::_internal_tags_size() const { - return _impl_.tags_.size(); -} -inline int CPublishedFile_Publish_Request::tags_size() const { - return _internal_tags_size(); -} -inline void CPublishedFile_Publish_Request::clear_tags() { - _impl_.tags_.Clear(); -} -inline std::string* CPublishedFile_Publish_Request::add_tags() { - std::string* _s = _internal_add_tags(); - // @@protoc_insertion_point(field_add_mutable:CPublishedFile_Publish_Request.tags) - return _s; -} -inline const std::string& CPublishedFile_Publish_Request::_internal_tags(int index) const { - return _impl_.tags_.Get(index); -} -inline const std::string& CPublishedFile_Publish_Request::tags(int index) const { - // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.tags) - return _internal_tags(index); -} -inline std::string* CPublishedFile_Publish_Request::mutable_tags(int index) { - // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.tags) - return _impl_.tags_.Mutable(index); -} -inline void CPublishedFile_Publish_Request::set_tags(int index, const std::string& value) { - _impl_.tags_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.tags) -} -inline void CPublishedFile_Publish_Request::set_tags(int index, std::string&& value) { - _impl_.tags_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.tags) -} -inline void CPublishedFile_Publish_Request::set_tags(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.tags_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CPublishedFile_Publish_Request.tags) -} -inline void CPublishedFile_Publish_Request::set_tags(int index, const char* value, size_t size) { - _impl_.tags_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CPublishedFile_Publish_Request.tags) -} -inline std::string* CPublishedFile_Publish_Request::_internal_add_tags() { - return _impl_.tags_.Add(); -} -inline void CPublishedFile_Publish_Request::add_tags(const std::string& value) { - _impl_.tags_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CPublishedFile_Publish_Request.tags) -} -inline void CPublishedFile_Publish_Request::add_tags(std::string&& value) { - _impl_.tags_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CPublishedFile_Publish_Request.tags) -} -inline void CPublishedFile_Publish_Request::add_tags(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.tags_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CPublishedFile_Publish_Request.tags) -} -inline void CPublishedFile_Publish_Request::add_tags(const char* value, size_t size) { - _impl_.tags_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CPublishedFile_Publish_Request.tags) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CPublishedFile_Publish_Request::tags() const { - // @@protoc_insertion_point(field_list:CPublishedFile_Publish_Request.tags) - return _impl_.tags_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CPublishedFile_Publish_Request::mutable_tags() { - // @@protoc_insertion_point(field_mutable_list:CPublishedFile_Publish_Request.tags) - return &_impl_.tags_; -} - -// optional string collection_type = 14 [(.description) = "(Optional) Type of collection the published file represents."]; -inline bool CPublishedFile_Publish_Request::_internal_has_collection_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CPublishedFile_Publish_Request::has_collection_type() const { - return _internal_has_collection_type(); -} -inline void CPublishedFile_Publish_Request::clear_collection_type() { - _impl_.collection_type_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline const std::string& CPublishedFile_Publish_Request::collection_type() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.collection_type) - return _internal_collection_type(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPublishedFile_Publish_Request::set_collection_type(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.collection_type_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.collection_type) -} -inline std::string* CPublishedFile_Publish_Request::mutable_collection_type() { - std::string* _s = _internal_mutable_collection_type(); - // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.collection_type) - return _s; -} -inline const std::string& CPublishedFile_Publish_Request::_internal_collection_type() const { - return _impl_.collection_type_.Get(); -} -inline void CPublishedFile_Publish_Request::_internal_set_collection_type(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.collection_type_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::_internal_mutable_collection_type() { - _impl_._has_bits_[0] |= 0x00000100u; - return _impl_.collection_type_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::release_collection_type() { - // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.collection_type) - if (!_internal_has_collection_type()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000100u; - auto* p = _impl_.collection_type_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.collection_type_.IsDefault()) { - _impl_.collection_type_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPublishedFile_Publish_Request::set_allocated_collection_type(std::string* collection_type) { - if (collection_type != nullptr) { - _impl_._has_bits_[0] |= 0x00000100u; - } else { - _impl_._has_bits_[0] &= ~0x00000100u; - } - _impl_.collection_type_.SetAllocated(collection_type, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.collection_type_.IsDefault()) { - _impl_.collection_type_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.collection_type) -} - -// optional string game_type = 15 [(.description) = "(Optional) Type of game the published file represents."]; -inline bool CPublishedFile_Publish_Request::_internal_has_game_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CPublishedFile_Publish_Request::has_game_type() const { - return _internal_has_game_type(); -} -inline void CPublishedFile_Publish_Request::clear_game_type() { - _impl_.game_type_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline const std::string& CPublishedFile_Publish_Request::game_type() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.game_type) - return _internal_game_type(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPublishedFile_Publish_Request::set_game_type(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.game_type_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.game_type) -} -inline std::string* CPublishedFile_Publish_Request::mutable_game_type() { - std::string* _s = _internal_mutable_game_type(); - // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.game_type) - return _s; -} -inline const std::string& CPublishedFile_Publish_Request::_internal_game_type() const { - return _impl_.game_type_.Get(); -} -inline void CPublishedFile_Publish_Request::_internal_set_game_type(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.game_type_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::_internal_mutable_game_type() { - _impl_._has_bits_[0] |= 0x00000200u; - return _impl_.game_type_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::release_game_type() { - // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.game_type) - if (!_internal_has_game_type()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000200u; - auto* p = _impl_.game_type_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_type_.IsDefault()) { - _impl_.game_type_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPublishedFile_Publish_Request::set_allocated_game_type(std::string* game_type) { - if (game_type != nullptr) { - _impl_._has_bits_[0] |= 0x00000200u; - } else { - _impl_._has_bits_[0] &= ~0x00000200u; - } - _impl_.game_type_.SetAllocated(game_type, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.game_type_.IsDefault()) { - _impl_.game_type_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.game_type) -} - -// optional string url = 16 [(.description) = "(Optional) If this represents a game, this is the URL to that game\'s page."]; -inline bool CPublishedFile_Publish_Request::_internal_has_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CPublishedFile_Publish_Request::has_url() const { - return _internal_has_url(); -} -inline void CPublishedFile_Publish_Request::clear_url() { - _impl_.url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline const std::string& CPublishedFile_Publish_Request::url() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Request.url) - return _internal_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPublishedFile_Publish_Request::set_url(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Request.url) -} -inline std::string* CPublishedFile_Publish_Request::mutable_url() { - std::string* _s = _internal_mutable_url(); - // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Request.url) - return _s; -} -inline const std::string& CPublishedFile_Publish_Request::_internal_url() const { - return _impl_.url_.Get(); -} -inline void CPublishedFile_Publish_Request::_internal_set_url(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.url_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::_internal_mutable_url() { - _impl_._has_bits_[0] |= 0x00000400u; - return _impl_.url_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Request::release_url() { - // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Request.url) - if (!_internal_has_url()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000400u; - auto* p = _impl_.url_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.url_.IsDefault()) { - _impl_.url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPublishedFile_Publish_Request::set_allocated_url(std::string* url) { - if (url != nullptr) { - _impl_._has_bits_[0] |= 0x00000400u; - } else { - _impl_._has_bits_[0] &= ~0x00000400u; - } - _impl_.url_.SetAllocated(url, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.url_.IsDefault()) { - _impl_.url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Request.url) -} - -// ------------------------------------------------------------------- - -// CPublishedFile_Publish_Response - -// optional uint64 publishedfileid = 1; -inline bool CPublishedFile_Publish_Response::_internal_has_publishedfileid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPublishedFile_Publish_Response::has_publishedfileid() const { - return _internal_has_publishedfileid(); -} -inline void CPublishedFile_Publish_Response::clear_publishedfileid() { - _impl_.publishedfileid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CPublishedFile_Publish_Response::_internal_publishedfileid() const { - return _impl_.publishedfileid_; -} -inline uint64_t CPublishedFile_Publish_Response::publishedfileid() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Response.publishedfileid) - return _internal_publishedfileid(); -} -inline void CPublishedFile_Publish_Response::_internal_set_publishedfileid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.publishedfileid_ = value; -} -inline void CPublishedFile_Publish_Response::set_publishedfileid(uint64_t value) { - _internal_set_publishedfileid(value); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Response.publishedfileid) -} - -// optional string redirect_uri = 2; -inline bool CPublishedFile_Publish_Response::_internal_has_redirect_uri() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPublishedFile_Publish_Response::has_redirect_uri() const { - return _internal_has_redirect_uri(); -} -inline void CPublishedFile_Publish_Response::clear_redirect_uri() { - _impl_.redirect_uri_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CPublishedFile_Publish_Response::redirect_uri() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Publish_Response.redirect_uri) - return _internal_redirect_uri(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPublishedFile_Publish_Response::set_redirect_uri(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.redirect_uri_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPublishedFile_Publish_Response.redirect_uri) -} -inline std::string* CPublishedFile_Publish_Response::mutable_redirect_uri() { - std::string* _s = _internal_mutable_redirect_uri(); - // @@protoc_insertion_point(field_mutable:CPublishedFile_Publish_Response.redirect_uri) - return _s; -} -inline const std::string& CPublishedFile_Publish_Response::_internal_redirect_uri() const { - return _impl_.redirect_uri_.Get(); -} -inline void CPublishedFile_Publish_Response::_internal_set_redirect_uri(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.redirect_uri_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Response::_internal_mutable_redirect_uri() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.redirect_uri_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Publish_Response::release_redirect_uri() { - // @@protoc_insertion_point(field_release:CPublishedFile_Publish_Response.redirect_uri) - if (!_internal_has_redirect_uri()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.redirect_uri_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.redirect_uri_.IsDefault()) { - _impl_.redirect_uri_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPublishedFile_Publish_Response::set_allocated_redirect_uri(std::string* redirect_uri) { - if (redirect_uri != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.redirect_uri_.SetAllocated(redirect_uri, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.redirect_uri_.IsDefault()) { - _impl_.redirect_uri_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Publish_Response.redirect_uri) -} - -// ------------------------------------------------------------------- - -// CPublishedFile_GetDetails_Request - -// repeated fixed64 publishedfileids = 1 [(.description) = "Set of published file Ids to retrieve details for."]; -inline int CPublishedFile_GetDetails_Request::_internal_publishedfileids_size() const { - return _impl_.publishedfileids_.size(); -} -inline int CPublishedFile_GetDetails_Request::publishedfileids_size() const { - return _internal_publishedfileids_size(); -} -inline void CPublishedFile_GetDetails_Request::clear_publishedfileids() { - _impl_.publishedfileids_.Clear(); -} -inline uint64_t CPublishedFile_GetDetails_Request::_internal_publishedfileids(int index) const { - return _impl_.publishedfileids_.Get(index); -} -inline uint64_t CPublishedFile_GetDetails_Request::publishedfileids(int index) const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetDetails_Request.publishedfileids) - return _internal_publishedfileids(index); -} -inline void CPublishedFile_GetDetails_Request::set_publishedfileids(int index, uint64_t value) { - _impl_.publishedfileids_.Set(index, value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetDetails_Request.publishedfileids) -} -inline void CPublishedFile_GetDetails_Request::_internal_add_publishedfileids(uint64_t value) { - _impl_.publishedfileids_.Add(value); -} -inline void CPublishedFile_GetDetails_Request::add_publishedfileids(uint64_t value) { - _internal_add_publishedfileids(value); - // @@protoc_insertion_point(field_add:CPublishedFile_GetDetails_Request.publishedfileids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CPublishedFile_GetDetails_Request::_internal_publishedfileids() const { - return _impl_.publishedfileids_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CPublishedFile_GetDetails_Request::publishedfileids() const { - // @@protoc_insertion_point(field_list:CPublishedFile_GetDetails_Request.publishedfileids) - return _internal_publishedfileids(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CPublishedFile_GetDetails_Request::_internal_mutable_publishedfileids() { - return &_impl_.publishedfileids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CPublishedFile_GetDetails_Request::mutable_publishedfileids() { - // @@protoc_insertion_point(field_mutable_list:CPublishedFile_GetDetails_Request.publishedfileids) - return _internal_mutable_publishedfileids(); -} - -// optional bool includetags = 2 [(.description) = "If true, return tag information in the returned details."]; -inline bool CPublishedFile_GetDetails_Request::_internal_has_includetags() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPublishedFile_GetDetails_Request::has_includetags() const { - return _internal_has_includetags(); -} -inline void CPublishedFile_GetDetails_Request::clear_includetags() { - _impl_.includetags_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CPublishedFile_GetDetails_Request::_internal_includetags() const { - return _impl_.includetags_; -} -inline bool CPublishedFile_GetDetails_Request::includetags() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetDetails_Request.includetags) - return _internal_includetags(); -} -inline void CPublishedFile_GetDetails_Request::_internal_set_includetags(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.includetags_ = value; -} -inline void CPublishedFile_GetDetails_Request::set_includetags(bool value) { - _internal_set_includetags(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetDetails_Request.includetags) -} - -// optional bool includeadditionalpreviews = 3 [(.description) = "If true, return preview information in the returned details."]; -inline bool CPublishedFile_GetDetails_Request::_internal_has_includeadditionalpreviews() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPublishedFile_GetDetails_Request::has_includeadditionalpreviews() const { - return _internal_has_includeadditionalpreviews(); -} -inline void CPublishedFile_GetDetails_Request::clear_includeadditionalpreviews() { - _impl_.includeadditionalpreviews_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CPublishedFile_GetDetails_Request::_internal_includeadditionalpreviews() const { - return _impl_.includeadditionalpreviews_; -} -inline bool CPublishedFile_GetDetails_Request::includeadditionalpreviews() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetDetails_Request.includeadditionalpreviews) - return _internal_includeadditionalpreviews(); -} -inline void CPublishedFile_GetDetails_Request::_internal_set_includeadditionalpreviews(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.includeadditionalpreviews_ = value; -} -inline void CPublishedFile_GetDetails_Request::set_includeadditionalpreviews(bool value) { - _internal_set_includeadditionalpreviews(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetDetails_Request.includeadditionalpreviews) -} - -// optional bool includechildren = 4 [(.description) = "If true, return children in the returned details."]; -inline bool CPublishedFile_GetDetails_Request::_internal_has_includechildren() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CPublishedFile_GetDetails_Request::has_includechildren() const { - return _internal_has_includechildren(); -} -inline void CPublishedFile_GetDetails_Request::clear_includechildren() { - _impl_.includechildren_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CPublishedFile_GetDetails_Request::_internal_includechildren() const { - return _impl_.includechildren_; -} -inline bool CPublishedFile_GetDetails_Request::includechildren() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetDetails_Request.includechildren) - return _internal_includechildren(); -} -inline void CPublishedFile_GetDetails_Request::_internal_set_includechildren(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.includechildren_ = value; -} -inline void CPublishedFile_GetDetails_Request::set_includechildren(bool value) { - _internal_set_includechildren(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetDetails_Request.includechildren) -} - -// optional bool includekvtags = 5 [(.description) = "If true, return key value tags in the returned details."]; -inline bool CPublishedFile_GetDetails_Request::_internal_has_includekvtags() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CPublishedFile_GetDetails_Request::has_includekvtags() const { - return _internal_has_includekvtags(); -} -inline void CPublishedFile_GetDetails_Request::clear_includekvtags() { - _impl_.includekvtags_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CPublishedFile_GetDetails_Request::_internal_includekvtags() const { - return _impl_.includekvtags_; -} -inline bool CPublishedFile_GetDetails_Request::includekvtags() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetDetails_Request.includekvtags) - return _internal_includekvtags(); -} -inline void CPublishedFile_GetDetails_Request::_internal_set_includekvtags(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.includekvtags_ = value; -} -inline void CPublishedFile_GetDetails_Request::set_includekvtags(bool value) { - _internal_set_includekvtags(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetDetails_Request.includekvtags) -} - -// optional bool includevotes = 6 [(.description) = "If true, return vote data in the returned details."]; -inline bool CPublishedFile_GetDetails_Request::_internal_has_includevotes() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CPublishedFile_GetDetails_Request::has_includevotes() const { - return _internal_has_includevotes(); -} -inline void CPublishedFile_GetDetails_Request::clear_includevotes() { - _impl_.includevotes_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool CPublishedFile_GetDetails_Request::_internal_includevotes() const { - return _impl_.includevotes_; -} -inline bool CPublishedFile_GetDetails_Request::includevotes() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetDetails_Request.includevotes) - return _internal_includevotes(); -} -inline void CPublishedFile_GetDetails_Request::_internal_set_includevotes(bool value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.includevotes_ = value; -} -inline void CPublishedFile_GetDetails_Request::set_includevotes(bool value) { - _internal_set_includevotes(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetDetails_Request.includevotes) -} - -// optional bool short_description = 8 [(.description) = "If true, return a short description instead of the full description."]; -inline bool CPublishedFile_GetDetails_Request::_internal_has_short_description() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CPublishedFile_GetDetails_Request::has_short_description() const { - return _internal_has_short_description(); -} -inline void CPublishedFile_GetDetails_Request::clear_short_description() { - _impl_.short_description_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool CPublishedFile_GetDetails_Request::_internal_short_description() const { - return _impl_.short_description_; -} -inline bool CPublishedFile_GetDetails_Request::short_description() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetDetails_Request.short_description) - return _internal_short_description(); -} -inline void CPublishedFile_GetDetails_Request::_internal_set_short_description(bool value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.short_description_ = value; -} -inline void CPublishedFile_GetDetails_Request::set_short_description(bool value) { - _internal_set_short_description(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetDetails_Request.short_description) -} - -// ------------------------------------------------------------------- - -// PublishedFileDetails_Tag - -// optional string tag = 1; -inline bool PublishedFileDetails_Tag::_internal_has_tag() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool PublishedFileDetails_Tag::has_tag() const { - return _internal_has_tag(); -} -inline void PublishedFileDetails_Tag::clear_tag() { - _impl_.tag_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& PublishedFileDetails_Tag::tag() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.Tag.tag) - return _internal_tag(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PublishedFileDetails_Tag::set_tag(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.tag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PublishedFileDetails.Tag.tag) -} -inline std::string* PublishedFileDetails_Tag::mutable_tag() { - std::string* _s = _internal_mutable_tag(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.Tag.tag) - return _s; -} -inline const std::string& PublishedFileDetails_Tag::_internal_tag() const { - return _impl_.tag_.Get(); -} -inline void PublishedFileDetails_Tag::_internal_set_tag(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.tag_.Set(value, GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails_Tag::_internal_mutable_tag() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.tag_.Mutable(GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails_Tag::release_tag() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.Tag.tag) - if (!_internal_has_tag()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.tag_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.tag_.IsDefault()) { - _impl_.tag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PublishedFileDetails_Tag::set_allocated_tag(std::string* tag) { - if (tag != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.tag_.SetAllocated(tag, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.tag_.IsDefault()) { - _impl_.tag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.Tag.tag) -} - -// optional bool adminonly = 2; -inline bool PublishedFileDetails_Tag::_internal_has_adminonly() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool PublishedFileDetails_Tag::has_adminonly() const { - return _internal_has_adminonly(); -} -inline void PublishedFileDetails_Tag::clear_adminonly() { - _impl_.adminonly_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool PublishedFileDetails_Tag::_internal_adminonly() const { - return _impl_.adminonly_; -} -inline bool PublishedFileDetails_Tag::adminonly() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.Tag.adminonly) - return _internal_adminonly(); -} -inline void PublishedFileDetails_Tag::_internal_set_adminonly(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.adminonly_ = value; -} -inline void PublishedFileDetails_Tag::set_adminonly(bool value) { - _internal_set_adminonly(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.Tag.adminonly) -} - -// ------------------------------------------------------------------- - -// PublishedFileDetails_Preview - -// optional uint64 previewid = 1; -inline bool PublishedFileDetails_Preview::_internal_has_previewid() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool PublishedFileDetails_Preview::has_previewid() const { - return _internal_has_previewid(); -} -inline void PublishedFileDetails_Preview::clear_previewid() { - _impl_.previewid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t PublishedFileDetails_Preview::_internal_previewid() const { - return _impl_.previewid_; -} -inline uint64_t PublishedFileDetails_Preview::previewid() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.Preview.previewid) - return _internal_previewid(); -} -inline void PublishedFileDetails_Preview::_internal_set_previewid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.previewid_ = value; -} -inline void PublishedFileDetails_Preview::set_previewid(uint64_t value) { - _internal_set_previewid(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.Preview.previewid) -} - -// optional uint32 sortorder = 2; -inline bool PublishedFileDetails_Preview::_internal_has_sortorder() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool PublishedFileDetails_Preview::has_sortorder() const { - return _internal_has_sortorder(); -} -inline void PublishedFileDetails_Preview::clear_sortorder() { - _impl_.sortorder_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t PublishedFileDetails_Preview::_internal_sortorder() const { - return _impl_.sortorder_; -} -inline uint32_t PublishedFileDetails_Preview::sortorder() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.Preview.sortorder) - return _internal_sortorder(); -} -inline void PublishedFileDetails_Preview::_internal_set_sortorder(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.sortorder_ = value; -} -inline void PublishedFileDetails_Preview::set_sortorder(uint32_t value) { - _internal_set_sortorder(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.Preview.sortorder) -} - -// optional string url = 3; -inline bool PublishedFileDetails_Preview::_internal_has_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool PublishedFileDetails_Preview::has_url() const { - return _internal_has_url(); -} -inline void PublishedFileDetails_Preview::clear_url() { - _impl_.url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& PublishedFileDetails_Preview::url() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.Preview.url) - return _internal_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PublishedFileDetails_Preview::set_url(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PublishedFileDetails.Preview.url) -} -inline std::string* PublishedFileDetails_Preview::mutable_url() { - std::string* _s = _internal_mutable_url(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.Preview.url) - return _s; -} -inline const std::string& PublishedFileDetails_Preview::_internal_url() const { - return _impl_.url_.Get(); -} -inline void PublishedFileDetails_Preview::_internal_set_url(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.url_.Set(value, GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails_Preview::_internal_mutable_url() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.url_.Mutable(GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails_Preview::release_url() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.Preview.url) - if (!_internal_has_url()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.url_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.url_.IsDefault()) { - _impl_.url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PublishedFileDetails_Preview::set_allocated_url(std::string* url) { - if (url != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.url_.SetAllocated(url, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.url_.IsDefault()) { - _impl_.url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.Preview.url) -} - -// optional uint32 size = 4; -inline bool PublishedFileDetails_Preview::_internal_has_size() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool PublishedFileDetails_Preview::has_size() const { - return _internal_has_size(); -} -inline void PublishedFileDetails_Preview::clear_size() { - _impl_.size_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t PublishedFileDetails_Preview::_internal_size() const { - return _impl_.size_; -} -inline uint32_t PublishedFileDetails_Preview::size() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.Preview.size) - return _internal_size(); -} -inline void PublishedFileDetails_Preview::_internal_set_size(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.size_ = value; -} -inline void PublishedFileDetails_Preview::set_size(uint32_t value) { - _internal_set_size(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.Preview.size) -} - -// optional string filename = 5; -inline bool PublishedFileDetails_Preview::_internal_has_filename() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool PublishedFileDetails_Preview::has_filename() const { - return _internal_has_filename(); -} -inline void PublishedFileDetails_Preview::clear_filename() { - _impl_.filename_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& PublishedFileDetails_Preview::filename() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.Preview.filename) - return _internal_filename(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PublishedFileDetails_Preview::set_filename(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.filename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PublishedFileDetails.Preview.filename) -} -inline std::string* PublishedFileDetails_Preview::mutable_filename() { - std::string* _s = _internal_mutable_filename(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.Preview.filename) - return _s; -} -inline const std::string& PublishedFileDetails_Preview::_internal_filename() const { - return _impl_.filename_.Get(); -} -inline void PublishedFileDetails_Preview::_internal_set_filename(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.filename_.Set(value, GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails_Preview::_internal_mutable_filename() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.filename_.Mutable(GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails_Preview::release_filename() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.Preview.filename) - if (!_internal_has_filename()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.filename_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.filename_.IsDefault()) { - _impl_.filename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PublishedFileDetails_Preview::set_allocated_filename(std::string* filename) { - if (filename != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.filename_.SetAllocated(filename, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.filename_.IsDefault()) { - _impl_.filename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.Preview.filename) -} - -// optional string youtubevideoid = 6; -inline bool PublishedFileDetails_Preview::_internal_has_youtubevideoid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool PublishedFileDetails_Preview::has_youtubevideoid() const { - return _internal_has_youtubevideoid(); -} -inline void PublishedFileDetails_Preview::clear_youtubevideoid() { - _impl_.youtubevideoid_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& PublishedFileDetails_Preview::youtubevideoid() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.Preview.youtubevideoid) - return _internal_youtubevideoid(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PublishedFileDetails_Preview::set_youtubevideoid(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.youtubevideoid_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PublishedFileDetails.Preview.youtubevideoid) -} -inline std::string* PublishedFileDetails_Preview::mutable_youtubevideoid() { - std::string* _s = _internal_mutable_youtubevideoid(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.Preview.youtubevideoid) - return _s; -} -inline const std::string& PublishedFileDetails_Preview::_internal_youtubevideoid() const { - return _impl_.youtubevideoid_.Get(); -} -inline void PublishedFileDetails_Preview::_internal_set_youtubevideoid(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.youtubevideoid_.Set(value, GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails_Preview::_internal_mutable_youtubevideoid() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.youtubevideoid_.Mutable(GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails_Preview::release_youtubevideoid() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.Preview.youtubevideoid) - if (!_internal_has_youtubevideoid()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.youtubevideoid_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.youtubevideoid_.IsDefault()) { - _impl_.youtubevideoid_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PublishedFileDetails_Preview::set_allocated_youtubevideoid(std::string* youtubevideoid) { - if (youtubevideoid != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.youtubevideoid_.SetAllocated(youtubevideoid, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.youtubevideoid_.IsDefault()) { - _impl_.youtubevideoid_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.Preview.youtubevideoid) -} - -// ------------------------------------------------------------------- - -// PublishedFileDetails_Child - -// optional uint64 publishedfileid = 1; -inline bool PublishedFileDetails_Child::_internal_has_publishedfileid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool PublishedFileDetails_Child::has_publishedfileid() const { - return _internal_has_publishedfileid(); -} -inline void PublishedFileDetails_Child::clear_publishedfileid() { - _impl_.publishedfileid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t PublishedFileDetails_Child::_internal_publishedfileid() const { - return _impl_.publishedfileid_; -} -inline uint64_t PublishedFileDetails_Child::publishedfileid() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.Child.publishedfileid) - return _internal_publishedfileid(); -} -inline void PublishedFileDetails_Child::_internal_set_publishedfileid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.publishedfileid_ = value; -} -inline void PublishedFileDetails_Child::set_publishedfileid(uint64_t value) { - _internal_set_publishedfileid(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.Child.publishedfileid) -} - -// optional uint32 sortorder = 2; -inline bool PublishedFileDetails_Child::_internal_has_sortorder() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool PublishedFileDetails_Child::has_sortorder() const { - return _internal_has_sortorder(); -} -inline void PublishedFileDetails_Child::clear_sortorder() { - _impl_.sortorder_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t PublishedFileDetails_Child::_internal_sortorder() const { - return _impl_.sortorder_; -} -inline uint32_t PublishedFileDetails_Child::sortorder() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.Child.sortorder) - return _internal_sortorder(); -} -inline void PublishedFileDetails_Child::_internal_set_sortorder(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.sortorder_ = value; -} -inline void PublishedFileDetails_Child::set_sortorder(uint32_t value) { - _internal_set_sortorder(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.Child.sortorder) -} - -// optional uint32 file_type = 3; -inline bool PublishedFileDetails_Child::_internal_has_file_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool PublishedFileDetails_Child::has_file_type() const { - return _internal_has_file_type(); -} -inline void PublishedFileDetails_Child::clear_file_type() { - _impl_.file_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t PublishedFileDetails_Child::_internal_file_type() const { - return _impl_.file_type_; -} -inline uint32_t PublishedFileDetails_Child::file_type() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.Child.file_type) - return _internal_file_type(); -} -inline void PublishedFileDetails_Child::_internal_set_file_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.file_type_ = value; -} -inline void PublishedFileDetails_Child::set_file_type(uint32_t value) { - _internal_set_file_type(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.Child.file_type) -} - -// ------------------------------------------------------------------- - -// PublishedFileDetails_KVTag - -// optional string key = 1; -inline bool PublishedFileDetails_KVTag::_internal_has_key() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool PublishedFileDetails_KVTag::has_key() const { - return _internal_has_key(); -} -inline void PublishedFileDetails_KVTag::clear_key() { - _impl_.key_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& PublishedFileDetails_KVTag::key() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.KVTag.key) - return _internal_key(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PublishedFileDetails_KVTag::set_key(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.key_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PublishedFileDetails.KVTag.key) -} -inline std::string* PublishedFileDetails_KVTag::mutable_key() { - std::string* _s = _internal_mutable_key(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.KVTag.key) - return _s; -} -inline const std::string& PublishedFileDetails_KVTag::_internal_key() const { - return _impl_.key_.Get(); -} -inline void PublishedFileDetails_KVTag::_internal_set_key(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.key_.Set(value, GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails_KVTag::_internal_mutable_key() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.key_.Mutable(GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails_KVTag::release_key() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.KVTag.key) - if (!_internal_has_key()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.key_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.key_.IsDefault()) { - _impl_.key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PublishedFileDetails_KVTag::set_allocated_key(std::string* key) { - if (key != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.key_.SetAllocated(key, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.key_.IsDefault()) { - _impl_.key_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.KVTag.key) -} - -// optional string value = 2; -inline bool PublishedFileDetails_KVTag::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool PublishedFileDetails_KVTag::has_value() const { - return _internal_has_value(); -} -inline void PublishedFileDetails_KVTag::clear_value() { - _impl_.value_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& PublishedFileDetails_KVTag::value() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.KVTag.value) - return _internal_value(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PublishedFileDetails_KVTag::set_value(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PublishedFileDetails.KVTag.value) -} -inline std::string* PublishedFileDetails_KVTag::mutable_value() { - std::string* _s = _internal_mutable_value(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.KVTag.value) - return _s; -} -inline const std::string& PublishedFileDetails_KVTag::_internal_value() const { - return _impl_.value_.Get(); -} -inline void PublishedFileDetails_KVTag::_internal_set_value(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.value_.Set(value, GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails_KVTag::_internal_mutable_value() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.value_.Mutable(GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails_KVTag::release_value() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.KVTag.value) - if (!_internal_has_value()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.value_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_.IsDefault()) { - _impl_.value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PublishedFileDetails_KVTag::set_allocated_value(std::string* value) { - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.value_.SetAllocated(value, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_.IsDefault()) { - _impl_.value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.KVTag.value) -} - -// ------------------------------------------------------------------- - -// PublishedFileDetails_VoteData - -// optional float score = 1; -inline bool PublishedFileDetails_VoteData::_internal_has_score() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool PublishedFileDetails_VoteData::has_score() const { - return _internal_has_score(); -} -inline void PublishedFileDetails_VoteData::clear_score() { - _impl_.score_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float PublishedFileDetails_VoteData::_internal_score() const { - return _impl_.score_; -} -inline float PublishedFileDetails_VoteData::score() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.VoteData.score) - return _internal_score(); -} -inline void PublishedFileDetails_VoteData::_internal_set_score(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.score_ = value; -} -inline void PublishedFileDetails_VoteData::set_score(float value) { - _internal_set_score(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.VoteData.score) -} - -// optional uint32 votes_up = 2; -inline bool PublishedFileDetails_VoteData::_internal_has_votes_up() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool PublishedFileDetails_VoteData::has_votes_up() const { - return _internal_has_votes_up(); -} -inline void PublishedFileDetails_VoteData::clear_votes_up() { - _impl_.votes_up_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t PublishedFileDetails_VoteData::_internal_votes_up() const { - return _impl_.votes_up_; -} -inline uint32_t PublishedFileDetails_VoteData::votes_up() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.VoteData.votes_up) - return _internal_votes_up(); -} -inline void PublishedFileDetails_VoteData::_internal_set_votes_up(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.votes_up_ = value; -} -inline void PublishedFileDetails_VoteData::set_votes_up(uint32_t value) { - _internal_set_votes_up(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.VoteData.votes_up) -} - -// optional uint32 votes_down = 3; -inline bool PublishedFileDetails_VoteData::_internal_has_votes_down() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool PublishedFileDetails_VoteData::has_votes_down() const { - return _internal_has_votes_down(); -} -inline void PublishedFileDetails_VoteData::clear_votes_down() { - _impl_.votes_down_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t PublishedFileDetails_VoteData::_internal_votes_down() const { - return _impl_.votes_down_; -} -inline uint32_t PublishedFileDetails_VoteData::votes_down() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.VoteData.votes_down) - return _internal_votes_down(); -} -inline void PublishedFileDetails_VoteData::_internal_set_votes_down(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.votes_down_ = value; -} -inline void PublishedFileDetails_VoteData::set_votes_down(uint32_t value) { - _internal_set_votes_down(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.VoteData.votes_down) -} - -// ------------------------------------------------------------------- - -// PublishedFileDetails - -// optional uint32 result = 1; -inline bool PublishedFileDetails::_internal_has_result() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_result() const { - return _internal_has_result(); -} -inline void PublishedFileDetails::clear_result() { - _impl_.result_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t PublishedFileDetails::_internal_result() const { - return _impl_.result_; -} -inline uint32_t PublishedFileDetails::result() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.result) - return _internal_result(); -} -inline void PublishedFileDetails::_internal_set_result(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.result_ = value; -} -inline void PublishedFileDetails::set_result(uint32_t value) { - _internal_set_result(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.result) -} - -// optional uint64 publishedfileid = 2; -inline bool PublishedFileDetails::_internal_has_publishedfileid() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_publishedfileid() const { - return _internal_has_publishedfileid(); -} -inline void PublishedFileDetails::clear_publishedfileid() { - _impl_.publishedfileid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint64_t PublishedFileDetails::_internal_publishedfileid() const { - return _impl_.publishedfileid_; -} -inline uint64_t PublishedFileDetails::publishedfileid() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.publishedfileid) - return _internal_publishedfileid(); -} -inline void PublishedFileDetails::_internal_set_publishedfileid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.publishedfileid_ = value; -} -inline void PublishedFileDetails::set_publishedfileid(uint64_t value) { - _internal_set_publishedfileid(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.publishedfileid) -} - -// optional fixed64 creator = 3; -inline bool PublishedFileDetails::_internal_has_creator() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_creator() const { - return _internal_has_creator(); -} -inline void PublishedFileDetails::clear_creator() { - _impl_.creator_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline uint64_t PublishedFileDetails::_internal_creator() const { - return _impl_.creator_; -} -inline uint64_t PublishedFileDetails::creator() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.creator) - return _internal_creator(); -} -inline void PublishedFileDetails::_internal_set_creator(uint64_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.creator_ = value; -} -inline void PublishedFileDetails::set_creator(uint64_t value) { - _internal_set_creator(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.creator) -} - -// optional uint32 creator_appid = 4; -inline bool PublishedFileDetails::_internal_has_creator_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_creator_appid() const { - return _internal_has_creator_appid(); -} -inline void PublishedFileDetails::clear_creator_appid() { - _impl_.creator_appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint32_t PublishedFileDetails::_internal_creator_appid() const { - return _impl_.creator_appid_; -} -inline uint32_t PublishedFileDetails::creator_appid() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.creator_appid) - return _internal_creator_appid(); -} -inline void PublishedFileDetails::_internal_set_creator_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.creator_appid_ = value; -} -inline void PublishedFileDetails::set_creator_appid(uint32_t value) { - _internal_set_creator_appid(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.creator_appid) -} - -// optional uint32 consumer_appid = 5; -inline bool PublishedFileDetails::_internal_has_consumer_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_consumer_appid() const { - return _internal_has_consumer_appid(); -} -inline void PublishedFileDetails::clear_consumer_appid() { - _impl_.consumer_appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline uint32_t PublishedFileDetails::_internal_consumer_appid() const { - return _impl_.consumer_appid_; -} -inline uint32_t PublishedFileDetails::consumer_appid() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.consumer_appid) - return _internal_consumer_appid(); -} -inline void PublishedFileDetails::_internal_set_consumer_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.consumer_appid_ = value; -} -inline void PublishedFileDetails::set_consumer_appid(uint32_t value) { - _internal_set_consumer_appid(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.consumer_appid) -} - -// optional uint32 consumer_shortcutid = 6; -inline bool PublishedFileDetails::_internal_has_consumer_shortcutid() const { - bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_consumer_shortcutid() const { - return _internal_has_consumer_shortcutid(); -} -inline void PublishedFileDetails::clear_consumer_shortcutid() { - _impl_.consumer_shortcutid_ = 0u; - _impl_._has_bits_[0] &= ~0x00040000u; -} -inline uint32_t PublishedFileDetails::_internal_consumer_shortcutid() const { - return _impl_.consumer_shortcutid_; -} -inline uint32_t PublishedFileDetails::consumer_shortcutid() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.consumer_shortcutid) - return _internal_consumer_shortcutid(); -} -inline void PublishedFileDetails::_internal_set_consumer_shortcutid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00040000u; - _impl_.consumer_shortcutid_ = value; -} -inline void PublishedFileDetails::set_consumer_shortcutid(uint32_t value) { - _internal_set_consumer_shortcutid(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.consumer_shortcutid) -} - -// optional string filename = 7; -inline bool PublishedFileDetails::_internal_has_filename() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool PublishedFileDetails::has_filename() const { - return _internal_has_filename(); -} -inline void PublishedFileDetails::clear_filename() { - _impl_.filename_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& PublishedFileDetails::filename() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.filename) - return _internal_filename(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PublishedFileDetails::set_filename(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.filename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PublishedFileDetails.filename) -} -inline std::string* PublishedFileDetails::mutable_filename() { - std::string* _s = _internal_mutable_filename(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.filename) - return _s; -} -inline const std::string& PublishedFileDetails::_internal_filename() const { - return _impl_.filename_.Get(); -} -inline void PublishedFileDetails::_internal_set_filename(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.filename_.Set(value, GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::_internal_mutable_filename() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.filename_.Mutable(GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::release_filename() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.filename) - if (!_internal_has_filename()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.filename_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.filename_.IsDefault()) { - _impl_.filename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PublishedFileDetails::set_allocated_filename(std::string* filename) { - if (filename != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.filename_.SetAllocated(filename, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.filename_.IsDefault()) { - _impl_.filename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.filename) -} - -// optional uint64 file_size = 8; -inline bool PublishedFileDetails::_internal_has_file_size() const { - bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_file_size() const { - return _internal_has_file_size(); -} -inline void PublishedFileDetails::clear_file_size() { - _impl_.file_size_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00080000u; -} -inline uint64_t PublishedFileDetails::_internal_file_size() const { - return _impl_.file_size_; -} -inline uint64_t PublishedFileDetails::file_size() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.file_size) - return _internal_file_size(); -} -inline void PublishedFileDetails::_internal_set_file_size(uint64_t value) { - _impl_._has_bits_[0] |= 0x00080000u; - _impl_.file_size_ = value; -} -inline void PublishedFileDetails::set_file_size(uint64_t value) { - _internal_set_file_size(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.file_size) -} - -// optional uint64 preview_file_size = 9; -inline bool PublishedFileDetails::_internal_has_preview_file_size() const { - bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_preview_file_size() const { - return _internal_has_preview_file_size(); -} -inline void PublishedFileDetails::clear_preview_file_size() { - _impl_.preview_file_size_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00100000u; -} -inline uint64_t PublishedFileDetails::_internal_preview_file_size() const { - return _impl_.preview_file_size_; -} -inline uint64_t PublishedFileDetails::preview_file_size() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.preview_file_size) - return _internal_preview_file_size(); -} -inline void PublishedFileDetails::_internal_set_preview_file_size(uint64_t value) { - _impl_._has_bits_[0] |= 0x00100000u; - _impl_.preview_file_size_ = value; -} -inline void PublishedFileDetails::set_preview_file_size(uint64_t value) { - _internal_set_preview_file_size(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.preview_file_size) -} - -// optional string file_url = 10; -inline bool PublishedFileDetails::_internal_has_file_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool PublishedFileDetails::has_file_url() const { - return _internal_has_file_url(); -} -inline void PublishedFileDetails::clear_file_url() { - _impl_.file_url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& PublishedFileDetails::file_url() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.file_url) - return _internal_file_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PublishedFileDetails::set_file_url(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.file_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PublishedFileDetails.file_url) -} -inline std::string* PublishedFileDetails::mutable_file_url() { - std::string* _s = _internal_mutable_file_url(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.file_url) - return _s; -} -inline const std::string& PublishedFileDetails::_internal_file_url() const { - return _impl_.file_url_.Get(); -} -inline void PublishedFileDetails::_internal_set_file_url(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.file_url_.Set(value, GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::_internal_mutable_file_url() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.file_url_.Mutable(GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::release_file_url() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.file_url) - if (!_internal_has_file_url()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.file_url_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.file_url_.IsDefault()) { - _impl_.file_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PublishedFileDetails::set_allocated_file_url(std::string* file_url) { - if (file_url != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.file_url_.SetAllocated(file_url, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.file_url_.IsDefault()) { - _impl_.file_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.file_url) -} - -// optional string preview_url = 11; -inline bool PublishedFileDetails::_internal_has_preview_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool PublishedFileDetails::has_preview_url() const { - return _internal_has_preview_url(); -} -inline void PublishedFileDetails::clear_preview_url() { - _impl_.preview_url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& PublishedFileDetails::preview_url() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.preview_url) - return _internal_preview_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PublishedFileDetails::set_preview_url(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.preview_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PublishedFileDetails.preview_url) -} -inline std::string* PublishedFileDetails::mutable_preview_url() { - std::string* _s = _internal_mutable_preview_url(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.preview_url) - return _s; -} -inline const std::string& PublishedFileDetails::_internal_preview_url() const { - return _impl_.preview_url_.Get(); -} -inline void PublishedFileDetails::_internal_set_preview_url(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.preview_url_.Set(value, GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::_internal_mutable_preview_url() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.preview_url_.Mutable(GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::release_preview_url() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.preview_url) - if (!_internal_has_preview_url()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.preview_url_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.preview_url_.IsDefault()) { - _impl_.preview_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PublishedFileDetails::set_allocated_preview_url(std::string* preview_url) { - if (preview_url != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.preview_url_.SetAllocated(preview_url, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.preview_url_.IsDefault()) { - _impl_.preview_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.preview_url) -} - -// optional string youtubevideoid = 12; -inline bool PublishedFileDetails::_internal_has_youtubevideoid() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool PublishedFileDetails::has_youtubevideoid() const { - return _internal_has_youtubevideoid(); -} -inline void PublishedFileDetails::clear_youtubevideoid() { - _impl_.youtubevideoid_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& PublishedFileDetails::youtubevideoid() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.youtubevideoid) - return _internal_youtubevideoid(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PublishedFileDetails::set_youtubevideoid(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.youtubevideoid_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PublishedFileDetails.youtubevideoid) -} -inline std::string* PublishedFileDetails::mutable_youtubevideoid() { - std::string* _s = _internal_mutable_youtubevideoid(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.youtubevideoid) - return _s; -} -inline const std::string& PublishedFileDetails::_internal_youtubevideoid() const { - return _impl_.youtubevideoid_.Get(); -} -inline void PublishedFileDetails::_internal_set_youtubevideoid(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.youtubevideoid_.Set(value, GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::_internal_mutable_youtubevideoid() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.youtubevideoid_.Mutable(GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::release_youtubevideoid() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.youtubevideoid) - if (!_internal_has_youtubevideoid()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.youtubevideoid_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.youtubevideoid_.IsDefault()) { - _impl_.youtubevideoid_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PublishedFileDetails::set_allocated_youtubevideoid(std::string* youtubevideoid) { - if (youtubevideoid != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.youtubevideoid_.SetAllocated(youtubevideoid, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.youtubevideoid_.IsDefault()) { - _impl_.youtubevideoid_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.youtubevideoid) -} - -// optional string url = 13; -inline bool PublishedFileDetails::_internal_has_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool PublishedFileDetails::has_url() const { - return _internal_has_url(); -} -inline void PublishedFileDetails::clear_url() { - _impl_.url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const std::string& PublishedFileDetails::url() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.url) - return _internal_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PublishedFileDetails::set_url(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PublishedFileDetails.url) -} -inline std::string* PublishedFileDetails::mutable_url() { - std::string* _s = _internal_mutable_url(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.url) - return _s; -} -inline const std::string& PublishedFileDetails::_internal_url() const { - return _impl_.url_.Get(); -} -inline void PublishedFileDetails::_internal_set_url(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.url_.Set(value, GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::_internal_mutable_url() { - _impl_._has_bits_[0] |= 0x00000010u; - return _impl_.url_.Mutable(GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::release_url() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.url) - if (!_internal_has_url()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000010u; - auto* p = _impl_.url_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.url_.IsDefault()) { - _impl_.url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PublishedFileDetails::set_allocated_url(std::string* url) { - if (url != nullptr) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.url_.SetAllocated(url, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.url_.IsDefault()) { - _impl_.url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.url) -} - -// optional fixed64 hcontent_file = 14; -inline bool PublishedFileDetails::_internal_has_hcontent_file() const { - bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_hcontent_file() const { - return _internal_has_hcontent_file(); -} -inline void PublishedFileDetails::clear_hcontent_file() { - _impl_.hcontent_file_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00200000u; -} -inline uint64_t PublishedFileDetails::_internal_hcontent_file() const { - return _impl_.hcontent_file_; -} -inline uint64_t PublishedFileDetails::hcontent_file() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.hcontent_file) - return _internal_hcontent_file(); -} -inline void PublishedFileDetails::_internal_set_hcontent_file(uint64_t value) { - _impl_._has_bits_[0] |= 0x00200000u; - _impl_.hcontent_file_ = value; -} -inline void PublishedFileDetails::set_hcontent_file(uint64_t value) { - _internal_set_hcontent_file(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.hcontent_file) -} - -// optional fixed64 hcontent_preview = 15; -inline bool PublishedFileDetails::_internal_has_hcontent_preview() const { - bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_hcontent_preview() const { - return _internal_has_hcontent_preview(); -} -inline void PublishedFileDetails::clear_hcontent_preview() { - _impl_.hcontent_preview_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00400000u; -} -inline uint64_t PublishedFileDetails::_internal_hcontent_preview() const { - return _impl_.hcontent_preview_; -} -inline uint64_t PublishedFileDetails::hcontent_preview() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.hcontent_preview) - return _internal_hcontent_preview(); -} -inline void PublishedFileDetails::_internal_set_hcontent_preview(uint64_t value) { - _impl_._has_bits_[0] |= 0x00400000u; - _impl_.hcontent_preview_ = value; -} -inline void PublishedFileDetails::set_hcontent_preview(uint64_t value) { - _internal_set_hcontent_preview(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.hcontent_preview) -} - -// optional string title = 16; -inline bool PublishedFileDetails::_internal_has_title() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool PublishedFileDetails::has_title() const { - return _internal_has_title(); -} -inline void PublishedFileDetails::clear_title() { - _impl_.title_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline const std::string& PublishedFileDetails::title() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.title) - return _internal_title(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PublishedFileDetails::set_title(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.title_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PublishedFileDetails.title) -} -inline std::string* PublishedFileDetails::mutable_title() { - std::string* _s = _internal_mutable_title(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.title) - return _s; -} -inline const std::string& PublishedFileDetails::_internal_title() const { - return _impl_.title_.Get(); -} -inline void PublishedFileDetails::_internal_set_title(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.title_.Set(value, GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::_internal_mutable_title() { - _impl_._has_bits_[0] |= 0x00000020u; - return _impl_.title_.Mutable(GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::release_title() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.title) - if (!_internal_has_title()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000020u; - auto* p = _impl_.title_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.title_.IsDefault()) { - _impl_.title_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PublishedFileDetails::set_allocated_title(std::string* title) { - if (title != nullptr) { - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - _impl_.title_.SetAllocated(title, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.title_.IsDefault()) { - _impl_.title_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.title) -} - -// optional string file_description = 17; -inline bool PublishedFileDetails::_internal_has_file_description() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool PublishedFileDetails::has_file_description() const { - return _internal_has_file_description(); -} -inline void PublishedFileDetails::clear_file_description() { - _impl_.file_description_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline const std::string& PublishedFileDetails::file_description() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.file_description) - return _internal_file_description(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PublishedFileDetails::set_file_description(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.file_description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PublishedFileDetails.file_description) -} -inline std::string* PublishedFileDetails::mutable_file_description() { - std::string* _s = _internal_mutable_file_description(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.file_description) - return _s; -} -inline const std::string& PublishedFileDetails::_internal_file_description() const { - return _impl_.file_description_.Get(); -} -inline void PublishedFileDetails::_internal_set_file_description(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.file_description_.Set(value, GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::_internal_mutable_file_description() { - _impl_._has_bits_[0] |= 0x00000040u; - return _impl_.file_description_.Mutable(GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::release_file_description() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.file_description) - if (!_internal_has_file_description()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000040u; - auto* p = _impl_.file_description_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.file_description_.IsDefault()) { - _impl_.file_description_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PublishedFileDetails::set_allocated_file_description(std::string* file_description) { - if (file_description != nullptr) { - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - _impl_.file_description_.SetAllocated(file_description, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.file_description_.IsDefault()) { - _impl_.file_description_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.file_description) -} - -// optional string short_description = 18; -inline bool PublishedFileDetails::_internal_has_short_description() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool PublishedFileDetails::has_short_description() const { - return _internal_has_short_description(); -} -inline void PublishedFileDetails::clear_short_description() { - _impl_.short_description_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline const std::string& PublishedFileDetails::short_description() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.short_description) - return _internal_short_description(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PublishedFileDetails::set_short_description(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.short_description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PublishedFileDetails.short_description) -} -inline std::string* PublishedFileDetails::mutable_short_description() { - std::string* _s = _internal_mutable_short_description(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.short_description) - return _s; -} -inline const std::string& PublishedFileDetails::_internal_short_description() const { - return _impl_.short_description_.Get(); -} -inline void PublishedFileDetails::_internal_set_short_description(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.short_description_.Set(value, GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::_internal_mutable_short_description() { - _impl_._has_bits_[0] |= 0x00000080u; - return _impl_.short_description_.Mutable(GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::release_short_description() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.short_description) - if (!_internal_has_short_description()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000080u; - auto* p = _impl_.short_description_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.short_description_.IsDefault()) { - _impl_.short_description_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PublishedFileDetails::set_allocated_short_description(std::string* short_description) { - if (short_description != nullptr) { - _impl_._has_bits_[0] |= 0x00000080u; - } else { - _impl_._has_bits_[0] &= ~0x00000080u; - } - _impl_.short_description_.SetAllocated(short_description, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.short_description_.IsDefault()) { - _impl_.short_description_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.short_description) -} - -// optional uint32 time_created = 19; -inline bool PublishedFileDetails::_internal_has_time_created() const { - bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_time_created() const { - return _internal_has_time_created(); -} -inline void PublishedFileDetails::clear_time_created() { - _impl_.time_created_ = 0u; - _impl_._has_bits_[0] &= ~0x00800000u; -} -inline uint32_t PublishedFileDetails::_internal_time_created() const { - return _impl_.time_created_; -} -inline uint32_t PublishedFileDetails::time_created() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.time_created) - return _internal_time_created(); -} -inline void PublishedFileDetails::_internal_set_time_created(uint32_t value) { - _impl_._has_bits_[0] |= 0x00800000u; - _impl_.time_created_ = value; -} -inline void PublishedFileDetails::set_time_created(uint32_t value) { - _internal_set_time_created(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.time_created) -} - -// optional uint32 time_updated = 20; -inline bool PublishedFileDetails::_internal_has_time_updated() const { - bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_time_updated() const { - return _internal_has_time_updated(); -} -inline void PublishedFileDetails::clear_time_updated() { - _impl_.time_updated_ = 0u; - _impl_._has_bits_[0] &= ~0x01000000u; -} -inline uint32_t PublishedFileDetails::_internal_time_updated() const { - return _impl_.time_updated_; -} -inline uint32_t PublishedFileDetails::time_updated() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.time_updated) - return _internal_time_updated(); -} -inline void PublishedFileDetails::_internal_set_time_updated(uint32_t value) { - _impl_._has_bits_[0] |= 0x01000000u; - _impl_.time_updated_ = value; -} -inline void PublishedFileDetails::set_time_updated(uint32_t value) { - _internal_set_time_updated(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.time_updated) -} - -// optional uint32 visibility = 21; -inline bool PublishedFileDetails::_internal_has_visibility() const { - bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_visibility() const { - return _internal_has_visibility(); -} -inline void PublishedFileDetails::clear_visibility() { - _impl_.visibility_ = 0u; - _impl_._has_bits_[0] &= ~0x02000000u; -} -inline uint32_t PublishedFileDetails::_internal_visibility() const { - return _impl_.visibility_; -} -inline uint32_t PublishedFileDetails::visibility() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.visibility) - return _internal_visibility(); -} -inline void PublishedFileDetails::_internal_set_visibility(uint32_t value) { - _impl_._has_bits_[0] |= 0x02000000u; - _impl_.visibility_ = value; -} -inline void PublishedFileDetails::set_visibility(uint32_t value) { - _internal_set_visibility(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.visibility) -} - -// optional uint32 flags = 22; -inline bool PublishedFileDetails::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_flags() const { - return _internal_has_flags(); -} -inline void PublishedFileDetails::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x04000000u; -} -inline uint32_t PublishedFileDetails::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t PublishedFileDetails::flags() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.flags) - return _internal_flags(); -} -inline void PublishedFileDetails::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x04000000u; - _impl_.flags_ = value; -} -inline void PublishedFileDetails::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.flags) -} - -// optional bool workshop_file = 23; -inline bool PublishedFileDetails::_internal_has_workshop_file() const { - bool value = (_impl_._has_bits_[0] & 0x08000000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_workshop_file() const { - return _internal_has_workshop_file(); -} -inline void PublishedFileDetails::clear_workshop_file() { - _impl_.workshop_file_ = false; - _impl_._has_bits_[0] &= ~0x08000000u; -} -inline bool PublishedFileDetails::_internal_workshop_file() const { - return _impl_.workshop_file_; -} -inline bool PublishedFileDetails::workshop_file() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.workshop_file) - return _internal_workshop_file(); -} -inline void PublishedFileDetails::_internal_set_workshop_file(bool value) { - _impl_._has_bits_[0] |= 0x08000000u; - _impl_.workshop_file_ = value; -} -inline void PublishedFileDetails::set_workshop_file(bool value) { - _internal_set_workshop_file(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.workshop_file) -} - -// optional bool workshop_accepted = 24; -inline bool PublishedFileDetails::_internal_has_workshop_accepted() const { - bool value = (_impl_._has_bits_[0] & 0x10000000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_workshop_accepted() const { - return _internal_has_workshop_accepted(); -} -inline void PublishedFileDetails::clear_workshop_accepted() { - _impl_.workshop_accepted_ = false; - _impl_._has_bits_[0] &= ~0x10000000u; -} -inline bool PublishedFileDetails::_internal_workshop_accepted() const { - return _impl_.workshop_accepted_; -} -inline bool PublishedFileDetails::workshop_accepted() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.workshop_accepted) - return _internal_workshop_accepted(); -} -inline void PublishedFileDetails::_internal_set_workshop_accepted(bool value) { - _impl_._has_bits_[0] |= 0x10000000u; - _impl_.workshop_accepted_ = value; -} -inline void PublishedFileDetails::set_workshop_accepted(bool value) { - _internal_set_workshop_accepted(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.workshop_accepted) -} - -// optional bool show_subscribe_all = 25; -inline bool PublishedFileDetails::_internal_has_show_subscribe_all() const { - bool value = (_impl_._has_bits_[0] & 0x20000000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_show_subscribe_all() const { - return _internal_has_show_subscribe_all(); -} -inline void PublishedFileDetails::clear_show_subscribe_all() { - _impl_.show_subscribe_all_ = false; - _impl_._has_bits_[0] &= ~0x20000000u; -} -inline bool PublishedFileDetails::_internal_show_subscribe_all() const { - return _impl_.show_subscribe_all_; -} -inline bool PublishedFileDetails::show_subscribe_all() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.show_subscribe_all) - return _internal_show_subscribe_all(); -} -inline void PublishedFileDetails::_internal_set_show_subscribe_all(bool value) { - _impl_._has_bits_[0] |= 0x20000000u; - _impl_.show_subscribe_all_ = value; -} -inline void PublishedFileDetails::set_show_subscribe_all(bool value) { - _internal_set_show_subscribe_all(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.show_subscribe_all) -} - -// optional int32 num_comments_developer = 26; -inline bool PublishedFileDetails::_internal_has_num_comments_developer() const { - bool value = (_impl_._has_bits_[0] & 0x80000000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_num_comments_developer() const { - return _internal_has_num_comments_developer(); -} -inline void PublishedFileDetails::clear_num_comments_developer() { - _impl_.num_comments_developer_ = 0; - _impl_._has_bits_[0] &= ~0x80000000u; -} -inline int32_t PublishedFileDetails::_internal_num_comments_developer() const { - return _impl_.num_comments_developer_; -} -inline int32_t PublishedFileDetails::num_comments_developer() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.num_comments_developer) - return _internal_num_comments_developer(); -} -inline void PublishedFileDetails::_internal_set_num_comments_developer(int32_t value) { - _impl_._has_bits_[0] |= 0x80000000u; - _impl_.num_comments_developer_ = value; -} -inline void PublishedFileDetails::set_num_comments_developer(int32_t value) { - _internal_set_num_comments_developer(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.num_comments_developer) -} - -// optional int32 num_comments_public = 27; -inline bool PublishedFileDetails::_internal_has_num_comments_public() const { - bool value = (_impl_._has_bits_[1] & 0x00000002u) != 0; - return value; -} -inline bool PublishedFileDetails::has_num_comments_public() const { - return _internal_has_num_comments_public(); -} -inline void PublishedFileDetails::clear_num_comments_public() { - _impl_.num_comments_public_ = 0; - _impl_._has_bits_[1] &= ~0x00000002u; -} -inline int32_t PublishedFileDetails::_internal_num_comments_public() const { - return _impl_.num_comments_public_; -} -inline int32_t PublishedFileDetails::num_comments_public() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.num_comments_public) - return _internal_num_comments_public(); -} -inline void PublishedFileDetails::_internal_set_num_comments_public(int32_t value) { - _impl_._has_bits_[1] |= 0x00000002u; - _impl_.num_comments_public_ = value; -} -inline void PublishedFileDetails::set_num_comments_public(int32_t value) { - _internal_set_num_comments_public(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.num_comments_public) -} - -// optional bool banned = 28; -inline bool PublishedFileDetails::_internal_has_banned() const { - bool value = (_impl_._has_bits_[0] & 0x40000000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_banned() const { - return _internal_has_banned(); -} -inline void PublishedFileDetails::clear_banned() { - _impl_.banned_ = false; - _impl_._has_bits_[0] &= ~0x40000000u; -} -inline bool PublishedFileDetails::_internal_banned() const { - return _impl_.banned_; -} -inline bool PublishedFileDetails::banned() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.banned) - return _internal_banned(); -} -inline void PublishedFileDetails::_internal_set_banned(bool value) { - _impl_._has_bits_[0] |= 0x40000000u; - _impl_.banned_ = value; -} -inline void PublishedFileDetails::set_banned(bool value) { - _internal_set_banned(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.banned) -} - -// optional string ban_reason = 29; -inline bool PublishedFileDetails::_internal_has_ban_reason() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool PublishedFileDetails::has_ban_reason() const { - return _internal_has_ban_reason(); -} -inline void PublishedFileDetails::clear_ban_reason() { - _impl_.ban_reason_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline const std::string& PublishedFileDetails::ban_reason() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.ban_reason) - return _internal_ban_reason(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PublishedFileDetails::set_ban_reason(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.ban_reason_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PublishedFileDetails.ban_reason) -} -inline std::string* PublishedFileDetails::mutable_ban_reason() { - std::string* _s = _internal_mutable_ban_reason(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.ban_reason) - return _s; -} -inline const std::string& PublishedFileDetails::_internal_ban_reason() const { - return _impl_.ban_reason_.Get(); -} -inline void PublishedFileDetails::_internal_set_ban_reason(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.ban_reason_.Set(value, GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::_internal_mutable_ban_reason() { - _impl_._has_bits_[0] |= 0x00000100u; - return _impl_.ban_reason_.Mutable(GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::release_ban_reason() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.ban_reason) - if (!_internal_has_ban_reason()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000100u; - auto* p = _impl_.ban_reason_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ban_reason_.IsDefault()) { - _impl_.ban_reason_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PublishedFileDetails::set_allocated_ban_reason(std::string* ban_reason) { - if (ban_reason != nullptr) { - _impl_._has_bits_[0] |= 0x00000100u; - } else { - _impl_._has_bits_[0] &= ~0x00000100u; - } - _impl_.ban_reason_.SetAllocated(ban_reason, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ban_reason_.IsDefault()) { - _impl_.ban_reason_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.ban_reason) -} - -// optional fixed64 banner = 30; -inline bool PublishedFileDetails::_internal_has_banner() const { - bool value = (_impl_._has_bits_[1] & 0x00000001u) != 0; - return value; -} -inline bool PublishedFileDetails::has_banner() const { - return _internal_has_banner(); -} -inline void PublishedFileDetails::clear_banner() { - _impl_.banner_ = uint64_t{0u}; - _impl_._has_bits_[1] &= ~0x00000001u; -} -inline uint64_t PublishedFileDetails::_internal_banner() const { - return _impl_.banner_; -} -inline uint64_t PublishedFileDetails::banner() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.banner) - return _internal_banner(); -} -inline void PublishedFileDetails::_internal_set_banner(uint64_t value) { - _impl_._has_bits_[1] |= 0x00000001u; - _impl_.banner_ = value; -} -inline void PublishedFileDetails::set_banner(uint64_t value) { - _internal_set_banner(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.banner) -} - -// optional bool can_be_deleted = 31; -inline bool PublishedFileDetails::_internal_has_can_be_deleted() const { - bool value = (_impl_._has_bits_[1] & 0x00000010u) != 0; - return value; -} -inline bool PublishedFileDetails::has_can_be_deleted() const { - return _internal_has_can_be_deleted(); -} -inline void PublishedFileDetails::clear_can_be_deleted() { - _impl_.can_be_deleted_ = false; - _impl_._has_bits_[1] &= ~0x00000010u; -} -inline bool PublishedFileDetails::_internal_can_be_deleted() const { - return _impl_.can_be_deleted_; -} -inline bool PublishedFileDetails::can_be_deleted() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.can_be_deleted) - return _internal_can_be_deleted(); -} -inline void PublishedFileDetails::_internal_set_can_be_deleted(bool value) { - _impl_._has_bits_[1] |= 0x00000010u; - _impl_.can_be_deleted_ = value; -} -inline void PublishedFileDetails::set_can_be_deleted(bool value) { - _internal_set_can_be_deleted(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.can_be_deleted) -} - -// optional bool incompatible = 32; -inline bool PublishedFileDetails::_internal_has_incompatible() const { - bool value = (_impl_._has_bits_[1] & 0x00000020u) != 0; - return value; -} -inline bool PublishedFileDetails::has_incompatible() const { - return _internal_has_incompatible(); -} -inline void PublishedFileDetails::clear_incompatible() { - _impl_.incompatible_ = false; - _impl_._has_bits_[1] &= ~0x00000020u; -} -inline bool PublishedFileDetails::_internal_incompatible() const { - return _impl_.incompatible_; -} -inline bool PublishedFileDetails::incompatible() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.incompatible) - return _internal_incompatible(); -} -inline void PublishedFileDetails::_internal_set_incompatible(bool value) { - _impl_._has_bits_[1] |= 0x00000020u; - _impl_.incompatible_ = value; -} -inline void PublishedFileDetails::set_incompatible(bool value) { - _internal_set_incompatible(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.incompatible) -} - -// optional string app_name = 33; -inline bool PublishedFileDetails::_internal_has_app_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool PublishedFileDetails::has_app_name() const { - return _internal_has_app_name(); -} -inline void PublishedFileDetails::clear_app_name() { - _impl_.app_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline const std::string& PublishedFileDetails::app_name() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.app_name) - return _internal_app_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PublishedFileDetails::set_app_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.app_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PublishedFileDetails.app_name) -} -inline std::string* PublishedFileDetails::mutable_app_name() { - std::string* _s = _internal_mutable_app_name(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.app_name) - return _s; -} -inline const std::string& PublishedFileDetails::_internal_app_name() const { - return _impl_.app_name_.Get(); -} -inline void PublishedFileDetails::_internal_set_app_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.app_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::_internal_mutable_app_name() { - _impl_._has_bits_[0] |= 0x00000200u; - return _impl_.app_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::release_app_name() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.app_name) - if (!_internal_has_app_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000200u; - auto* p = _impl_.app_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.app_name_.IsDefault()) { - _impl_.app_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PublishedFileDetails::set_allocated_app_name(std::string* app_name) { - if (app_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000200u; - } else { - _impl_._has_bits_[0] &= ~0x00000200u; - } - _impl_.app_name_.SetAllocated(app_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.app_name_.IsDefault()) { - _impl_.app_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.app_name) -} - -// optional uint32 file_type = 34; -inline bool PublishedFileDetails::_internal_has_file_type() const { - bool value = (_impl_._has_bits_[1] & 0x00000004u) != 0; - return value; -} -inline bool PublishedFileDetails::has_file_type() const { - return _internal_has_file_type(); -} -inline void PublishedFileDetails::clear_file_type() { - _impl_.file_type_ = 0u; - _impl_._has_bits_[1] &= ~0x00000004u; -} -inline uint32_t PublishedFileDetails::_internal_file_type() const { - return _impl_.file_type_; -} -inline uint32_t PublishedFileDetails::file_type() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.file_type) - return _internal_file_type(); -} -inline void PublishedFileDetails::_internal_set_file_type(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000004u; - _impl_.file_type_ = value; -} -inline void PublishedFileDetails::set_file_type(uint32_t value) { - _internal_set_file_type(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.file_type) -} - -// optional bool can_subscribe = 35; -inline bool PublishedFileDetails::_internal_has_can_subscribe() const { - bool value = (_impl_._has_bits_[1] & 0x00000040u) != 0; - return value; -} -inline bool PublishedFileDetails::has_can_subscribe() const { - return _internal_has_can_subscribe(); -} -inline void PublishedFileDetails::clear_can_subscribe() { - _impl_.can_subscribe_ = false; - _impl_._has_bits_[1] &= ~0x00000040u; -} -inline bool PublishedFileDetails::_internal_can_subscribe() const { - return _impl_.can_subscribe_; -} -inline bool PublishedFileDetails::can_subscribe() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.can_subscribe) - return _internal_can_subscribe(); -} -inline void PublishedFileDetails::_internal_set_can_subscribe(bool value) { - _impl_._has_bits_[1] |= 0x00000040u; - _impl_.can_subscribe_ = value; -} -inline void PublishedFileDetails::set_can_subscribe(bool value) { - _internal_set_can_subscribe(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.can_subscribe) -} - -// optional uint32 subscriptions = 36; -inline bool PublishedFileDetails::_internal_has_subscriptions() const { - bool value = (_impl_._has_bits_[1] & 0x00000008u) != 0; - return value; -} -inline bool PublishedFileDetails::has_subscriptions() const { - return _internal_has_subscriptions(); -} -inline void PublishedFileDetails::clear_subscriptions() { - _impl_.subscriptions_ = 0u; - _impl_._has_bits_[1] &= ~0x00000008u; -} -inline uint32_t PublishedFileDetails::_internal_subscriptions() const { - return _impl_.subscriptions_; -} -inline uint32_t PublishedFileDetails::subscriptions() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.subscriptions) - return _internal_subscriptions(); -} -inline void PublishedFileDetails::_internal_set_subscriptions(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000008u; - _impl_.subscriptions_ = value; -} -inline void PublishedFileDetails::set_subscriptions(uint32_t value) { - _internal_set_subscriptions(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.subscriptions) -} - -// optional uint32 favorited = 37; -inline bool PublishedFileDetails::_internal_has_favorited() const { - bool value = (_impl_._has_bits_[1] & 0x00000100u) != 0; - return value; -} -inline bool PublishedFileDetails::has_favorited() const { - return _internal_has_favorited(); -} -inline void PublishedFileDetails::clear_favorited() { - _impl_.favorited_ = 0u; - _impl_._has_bits_[1] &= ~0x00000100u; -} -inline uint32_t PublishedFileDetails::_internal_favorited() const { - return _impl_.favorited_; -} -inline uint32_t PublishedFileDetails::favorited() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.favorited) - return _internal_favorited(); -} -inline void PublishedFileDetails::_internal_set_favorited(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000100u; - _impl_.favorited_ = value; -} -inline void PublishedFileDetails::set_favorited(uint32_t value) { - _internal_set_favorited(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.favorited) -} - -// optional uint32 followers = 38; -inline bool PublishedFileDetails::_internal_has_followers() const { - bool value = (_impl_._has_bits_[1] & 0x00000200u) != 0; - return value; -} -inline bool PublishedFileDetails::has_followers() const { - return _internal_has_followers(); -} -inline void PublishedFileDetails::clear_followers() { - _impl_.followers_ = 0u; - _impl_._has_bits_[1] &= ~0x00000200u; -} -inline uint32_t PublishedFileDetails::_internal_followers() const { - return _impl_.followers_; -} -inline uint32_t PublishedFileDetails::followers() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.followers) - return _internal_followers(); -} -inline void PublishedFileDetails::_internal_set_followers(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000200u; - _impl_.followers_ = value; -} -inline void PublishedFileDetails::set_followers(uint32_t value) { - _internal_set_followers(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.followers) -} - -// optional uint32 lifetime_subscriptions = 39; -inline bool PublishedFileDetails::_internal_has_lifetime_subscriptions() const { - bool value = (_impl_._has_bits_[1] & 0x00000400u) != 0; - return value; -} -inline bool PublishedFileDetails::has_lifetime_subscriptions() const { - return _internal_has_lifetime_subscriptions(); -} -inline void PublishedFileDetails::clear_lifetime_subscriptions() { - _impl_.lifetime_subscriptions_ = 0u; - _impl_._has_bits_[1] &= ~0x00000400u; -} -inline uint32_t PublishedFileDetails::_internal_lifetime_subscriptions() const { - return _impl_.lifetime_subscriptions_; -} -inline uint32_t PublishedFileDetails::lifetime_subscriptions() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.lifetime_subscriptions) - return _internal_lifetime_subscriptions(); -} -inline void PublishedFileDetails::_internal_set_lifetime_subscriptions(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000400u; - _impl_.lifetime_subscriptions_ = value; -} -inline void PublishedFileDetails::set_lifetime_subscriptions(uint32_t value) { - _internal_set_lifetime_subscriptions(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.lifetime_subscriptions) -} - -// optional uint32 lifetime_favorited = 40; -inline bool PublishedFileDetails::_internal_has_lifetime_favorited() const { - bool value = (_impl_._has_bits_[1] & 0x00000800u) != 0; - return value; -} -inline bool PublishedFileDetails::has_lifetime_favorited() const { - return _internal_has_lifetime_favorited(); -} -inline void PublishedFileDetails::clear_lifetime_favorited() { - _impl_.lifetime_favorited_ = 0u; - _impl_._has_bits_[1] &= ~0x00000800u; -} -inline uint32_t PublishedFileDetails::_internal_lifetime_favorited() const { - return _impl_.lifetime_favorited_; -} -inline uint32_t PublishedFileDetails::lifetime_favorited() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.lifetime_favorited) - return _internal_lifetime_favorited(); -} -inline void PublishedFileDetails::_internal_set_lifetime_favorited(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000800u; - _impl_.lifetime_favorited_ = value; -} -inline void PublishedFileDetails::set_lifetime_favorited(uint32_t value) { - _internal_set_lifetime_favorited(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.lifetime_favorited) -} - -// optional uint32 lifetime_followers = 41; -inline bool PublishedFileDetails::_internal_has_lifetime_followers() const { - bool value = (_impl_._has_bits_[1] & 0x00001000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_lifetime_followers() const { - return _internal_has_lifetime_followers(); -} -inline void PublishedFileDetails::clear_lifetime_followers() { - _impl_.lifetime_followers_ = 0u; - _impl_._has_bits_[1] &= ~0x00001000u; -} -inline uint32_t PublishedFileDetails::_internal_lifetime_followers() const { - return _impl_.lifetime_followers_; -} -inline uint32_t PublishedFileDetails::lifetime_followers() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.lifetime_followers) - return _internal_lifetime_followers(); -} -inline void PublishedFileDetails::_internal_set_lifetime_followers(uint32_t value) { - _impl_._has_bits_[1] |= 0x00001000u; - _impl_.lifetime_followers_ = value; -} -inline void PublishedFileDetails::set_lifetime_followers(uint32_t value) { - _internal_set_lifetime_followers(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.lifetime_followers) -} - -// optional uint32 views = 42; -inline bool PublishedFileDetails::_internal_has_views() const { - bool value = (_impl_._has_bits_[1] & 0x00002000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_views() const { - return _internal_has_views(); -} -inline void PublishedFileDetails::clear_views() { - _impl_.views_ = 0u; - _impl_._has_bits_[1] &= ~0x00002000u; -} -inline uint32_t PublishedFileDetails::_internal_views() const { - return _impl_.views_; -} -inline uint32_t PublishedFileDetails::views() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.views) - return _internal_views(); -} -inline void PublishedFileDetails::_internal_set_views(uint32_t value) { - _impl_._has_bits_[1] |= 0x00002000u; - _impl_.views_ = value; -} -inline void PublishedFileDetails::set_views(uint32_t value) { - _internal_set_views(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.views) -} - -// optional uint32 image_width = 43; -inline bool PublishedFileDetails::_internal_has_image_width() const { - bool value = (_impl_._has_bits_[1] & 0x00004000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_image_width() const { - return _internal_has_image_width(); -} -inline void PublishedFileDetails::clear_image_width() { - _impl_.image_width_ = 0u; - _impl_._has_bits_[1] &= ~0x00004000u; -} -inline uint32_t PublishedFileDetails::_internal_image_width() const { - return _impl_.image_width_; -} -inline uint32_t PublishedFileDetails::image_width() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.image_width) - return _internal_image_width(); -} -inline void PublishedFileDetails::_internal_set_image_width(uint32_t value) { - _impl_._has_bits_[1] |= 0x00004000u; - _impl_.image_width_ = value; -} -inline void PublishedFileDetails::set_image_width(uint32_t value) { - _internal_set_image_width(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.image_width) -} - -// optional uint32 image_height = 44; -inline bool PublishedFileDetails::_internal_has_image_height() const { - bool value = (_impl_._has_bits_[1] & 0x00008000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_image_height() const { - return _internal_has_image_height(); -} -inline void PublishedFileDetails::clear_image_height() { - _impl_.image_height_ = 0u; - _impl_._has_bits_[1] &= ~0x00008000u; -} -inline uint32_t PublishedFileDetails::_internal_image_height() const { - return _impl_.image_height_; -} -inline uint32_t PublishedFileDetails::image_height() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.image_height) - return _internal_image_height(); -} -inline void PublishedFileDetails::_internal_set_image_height(uint32_t value) { - _impl_._has_bits_[1] |= 0x00008000u; - _impl_.image_height_ = value; -} -inline void PublishedFileDetails::set_image_height(uint32_t value) { - _internal_set_image_height(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.image_height) -} - -// optional string image_url = 45; -inline bool PublishedFileDetails::_internal_has_image_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool PublishedFileDetails::has_image_url() const { - return _internal_has_image_url(); -} -inline void PublishedFileDetails::clear_image_url() { - _impl_.image_url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline const std::string& PublishedFileDetails::image_url() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.image_url) - return _internal_image_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PublishedFileDetails::set_image_url(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.image_url_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PublishedFileDetails.image_url) -} -inline std::string* PublishedFileDetails::mutable_image_url() { - std::string* _s = _internal_mutable_image_url(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.image_url) - return _s; -} -inline const std::string& PublishedFileDetails::_internal_image_url() const { - return _impl_.image_url_.Get(); -} -inline void PublishedFileDetails::_internal_set_image_url(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.image_url_.Set(value, GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::_internal_mutable_image_url() { - _impl_._has_bits_[0] |= 0x00000400u; - return _impl_.image_url_.Mutable(GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::release_image_url() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.image_url) - if (!_internal_has_image_url()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000400u; - auto* p = _impl_.image_url_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.image_url_.IsDefault()) { - _impl_.image_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PublishedFileDetails::set_allocated_image_url(std::string* image_url) { - if (image_url != nullptr) { - _impl_._has_bits_[0] |= 0x00000400u; - } else { - _impl_._has_bits_[0] &= ~0x00000400u; - } - _impl_.image_url_.SetAllocated(image_url, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.image_url_.IsDefault()) { - _impl_.image_url_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.image_url) -} - -// optional bool spoiler_tag = 46; -inline bool PublishedFileDetails::_internal_has_spoiler_tag() const { - bool value = (_impl_._has_bits_[1] & 0x00000080u) != 0; - return value; -} -inline bool PublishedFileDetails::has_spoiler_tag() const { - return _internal_has_spoiler_tag(); -} -inline void PublishedFileDetails::clear_spoiler_tag() { - _impl_.spoiler_tag_ = false; - _impl_._has_bits_[1] &= ~0x00000080u; -} -inline bool PublishedFileDetails::_internal_spoiler_tag() const { - return _impl_.spoiler_tag_; -} -inline bool PublishedFileDetails::spoiler_tag() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.spoiler_tag) - return _internal_spoiler_tag(); -} -inline void PublishedFileDetails::_internal_set_spoiler_tag(bool value) { - _impl_._has_bits_[1] |= 0x00000080u; - _impl_.spoiler_tag_ = value; -} -inline void PublishedFileDetails::set_spoiler_tag(bool value) { - _internal_set_spoiler_tag(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.spoiler_tag) -} - -// optional uint32 shortcutid = 47; -inline bool PublishedFileDetails::_internal_has_shortcutid() const { - bool value = (_impl_._has_bits_[1] & 0x00010000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_shortcutid() const { - return _internal_has_shortcutid(); -} -inline void PublishedFileDetails::clear_shortcutid() { - _impl_.shortcutid_ = 0u; - _impl_._has_bits_[1] &= ~0x00010000u; -} -inline uint32_t PublishedFileDetails::_internal_shortcutid() const { - return _impl_.shortcutid_; -} -inline uint32_t PublishedFileDetails::shortcutid() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.shortcutid) - return _internal_shortcutid(); -} -inline void PublishedFileDetails::_internal_set_shortcutid(uint32_t value) { - _impl_._has_bits_[1] |= 0x00010000u; - _impl_.shortcutid_ = value; -} -inline void PublishedFileDetails::set_shortcutid(uint32_t value) { - _internal_set_shortcutid(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.shortcutid) -} - -// optional string shortcutname = 48; -inline bool PublishedFileDetails::_internal_has_shortcutname() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool PublishedFileDetails::has_shortcutname() const { - return _internal_has_shortcutname(); -} -inline void PublishedFileDetails::clear_shortcutname() { - _impl_.shortcutname_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline const std::string& PublishedFileDetails::shortcutname() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.shortcutname) - return _internal_shortcutname(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void PublishedFileDetails::set_shortcutname(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.shortcutname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:PublishedFileDetails.shortcutname) -} -inline std::string* PublishedFileDetails::mutable_shortcutname() { - std::string* _s = _internal_mutable_shortcutname(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.shortcutname) - return _s; -} -inline const std::string& PublishedFileDetails::_internal_shortcutname() const { - return _impl_.shortcutname_.Get(); -} -inline void PublishedFileDetails::_internal_set_shortcutname(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.shortcutname_.Set(value, GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::_internal_mutable_shortcutname() { - _impl_._has_bits_[0] |= 0x00000800u; - return _impl_.shortcutname_.Mutable(GetArenaForAllocation()); -} -inline std::string* PublishedFileDetails::release_shortcutname() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.shortcutname) - if (!_internal_has_shortcutname()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000800u; - auto* p = _impl_.shortcutname_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.shortcutname_.IsDefault()) { - _impl_.shortcutname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void PublishedFileDetails::set_allocated_shortcutname(std::string* shortcutname) { - if (shortcutname != nullptr) { - _impl_._has_bits_[0] |= 0x00000800u; - } else { - _impl_._has_bits_[0] &= ~0x00000800u; - } - _impl_.shortcutname_.SetAllocated(shortcutname, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.shortcutname_.IsDefault()) { - _impl_.shortcutname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.shortcutname) -} - -// optional uint32 num_children = 49; -inline bool PublishedFileDetails::_internal_has_num_children() const { - bool value = (_impl_._has_bits_[1] & 0x00020000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_num_children() const { - return _internal_has_num_children(); -} -inline void PublishedFileDetails::clear_num_children() { - _impl_.num_children_ = 0u; - _impl_._has_bits_[1] &= ~0x00020000u; -} -inline uint32_t PublishedFileDetails::_internal_num_children() const { - return _impl_.num_children_; -} -inline uint32_t PublishedFileDetails::num_children() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.num_children) - return _internal_num_children(); -} -inline void PublishedFileDetails::_internal_set_num_children(uint32_t value) { - _impl_._has_bits_[1] |= 0x00020000u; - _impl_.num_children_ = value; -} -inline void PublishedFileDetails::set_num_children(uint32_t value) { - _internal_set_num_children(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.num_children) -} - -// optional uint32 num_reports = 50; -inline bool PublishedFileDetails::_internal_has_num_reports() const { - bool value = (_impl_._has_bits_[1] & 0x00040000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_num_reports() const { - return _internal_has_num_reports(); -} -inline void PublishedFileDetails::clear_num_reports() { - _impl_.num_reports_ = 0u; - _impl_._has_bits_[1] &= ~0x00040000u; -} -inline uint32_t PublishedFileDetails::_internal_num_reports() const { - return _impl_.num_reports_; -} -inline uint32_t PublishedFileDetails::num_reports() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.num_reports) - return _internal_num_reports(); -} -inline void PublishedFileDetails::_internal_set_num_reports(uint32_t value) { - _impl_._has_bits_[1] |= 0x00040000u; - _impl_.num_reports_ = value; -} -inline void PublishedFileDetails::set_num_reports(uint32_t value) { - _internal_set_num_reports(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.num_reports) -} - -// repeated .PublishedFileDetails.Preview previews = 51; -inline int PublishedFileDetails::_internal_previews_size() const { - return _impl_.previews_.size(); -} -inline int PublishedFileDetails::previews_size() const { - return _internal_previews_size(); -} -inline void PublishedFileDetails::clear_previews() { - _impl_.previews_.Clear(); -} -inline ::PublishedFileDetails_Preview* PublishedFileDetails::mutable_previews(int index) { - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.previews) - return _impl_.previews_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Preview >* -PublishedFileDetails::mutable_previews() { - // @@protoc_insertion_point(field_mutable_list:PublishedFileDetails.previews) - return &_impl_.previews_; -} -inline const ::PublishedFileDetails_Preview& PublishedFileDetails::_internal_previews(int index) const { - return _impl_.previews_.Get(index); -} -inline const ::PublishedFileDetails_Preview& PublishedFileDetails::previews(int index) const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.previews) - return _internal_previews(index); -} -inline ::PublishedFileDetails_Preview* PublishedFileDetails::_internal_add_previews() { - return _impl_.previews_.Add(); -} -inline ::PublishedFileDetails_Preview* PublishedFileDetails::add_previews() { - ::PublishedFileDetails_Preview* _add = _internal_add_previews(); - // @@protoc_insertion_point(field_add:PublishedFileDetails.previews) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Preview >& -PublishedFileDetails::previews() const { - // @@protoc_insertion_point(field_list:PublishedFileDetails.previews) - return _impl_.previews_; -} - -// repeated .PublishedFileDetails.Tag tags = 52; -inline int PublishedFileDetails::_internal_tags_size() const { - return _impl_.tags_.size(); -} -inline int PublishedFileDetails::tags_size() const { - return _internal_tags_size(); -} -inline void PublishedFileDetails::clear_tags() { - _impl_.tags_.Clear(); -} -inline ::PublishedFileDetails_Tag* PublishedFileDetails::mutable_tags(int index) { - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.tags) - return _impl_.tags_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Tag >* -PublishedFileDetails::mutable_tags() { - // @@protoc_insertion_point(field_mutable_list:PublishedFileDetails.tags) - return &_impl_.tags_; -} -inline const ::PublishedFileDetails_Tag& PublishedFileDetails::_internal_tags(int index) const { - return _impl_.tags_.Get(index); -} -inline const ::PublishedFileDetails_Tag& PublishedFileDetails::tags(int index) const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.tags) - return _internal_tags(index); -} -inline ::PublishedFileDetails_Tag* PublishedFileDetails::_internal_add_tags() { - return _impl_.tags_.Add(); -} -inline ::PublishedFileDetails_Tag* PublishedFileDetails::add_tags() { - ::PublishedFileDetails_Tag* _add = _internal_add_tags(); - // @@protoc_insertion_point(field_add:PublishedFileDetails.tags) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Tag >& -PublishedFileDetails::tags() const { - // @@protoc_insertion_point(field_list:PublishedFileDetails.tags) - return _impl_.tags_; -} - -// repeated .PublishedFileDetails.Child children = 53; -inline int PublishedFileDetails::_internal_children_size() const { - return _impl_.children_.size(); -} -inline int PublishedFileDetails::children_size() const { - return _internal_children_size(); -} -inline void PublishedFileDetails::clear_children() { - _impl_.children_.Clear(); -} -inline ::PublishedFileDetails_Child* PublishedFileDetails::mutable_children(int index) { - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.children) - return _impl_.children_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Child >* -PublishedFileDetails::mutable_children() { - // @@protoc_insertion_point(field_mutable_list:PublishedFileDetails.children) - return &_impl_.children_; -} -inline const ::PublishedFileDetails_Child& PublishedFileDetails::_internal_children(int index) const { - return _impl_.children_.Get(index); -} -inline const ::PublishedFileDetails_Child& PublishedFileDetails::children(int index) const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.children) - return _internal_children(index); -} -inline ::PublishedFileDetails_Child* PublishedFileDetails::_internal_add_children() { - return _impl_.children_.Add(); -} -inline ::PublishedFileDetails_Child* PublishedFileDetails::add_children() { - ::PublishedFileDetails_Child* _add = _internal_add_children(); - // @@protoc_insertion_point(field_add:PublishedFileDetails.children) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_Child >& -PublishedFileDetails::children() const { - // @@protoc_insertion_point(field_list:PublishedFileDetails.children) - return _impl_.children_; -} - -// repeated .PublishedFileDetails.KVTag kvtags = 54; -inline int PublishedFileDetails::_internal_kvtags_size() const { - return _impl_.kvtags_.size(); -} -inline int PublishedFileDetails::kvtags_size() const { - return _internal_kvtags_size(); -} -inline void PublishedFileDetails::clear_kvtags() { - _impl_.kvtags_.Clear(); -} -inline ::PublishedFileDetails_KVTag* PublishedFileDetails::mutable_kvtags(int index) { - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.kvtags) - return _impl_.kvtags_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_KVTag >* -PublishedFileDetails::mutable_kvtags() { - // @@protoc_insertion_point(field_mutable_list:PublishedFileDetails.kvtags) - return &_impl_.kvtags_; -} -inline const ::PublishedFileDetails_KVTag& PublishedFileDetails::_internal_kvtags(int index) const { - return _impl_.kvtags_.Get(index); -} -inline const ::PublishedFileDetails_KVTag& PublishedFileDetails::kvtags(int index) const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.kvtags) - return _internal_kvtags(index); -} -inline ::PublishedFileDetails_KVTag* PublishedFileDetails::_internal_add_kvtags() { - return _impl_.kvtags_.Add(); -} -inline ::PublishedFileDetails_KVTag* PublishedFileDetails::add_kvtags() { - ::PublishedFileDetails_KVTag* _add = _internal_add_kvtags(); - // @@protoc_insertion_point(field_add:PublishedFileDetails.kvtags) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails_KVTag >& -PublishedFileDetails::kvtags() const { - // @@protoc_insertion_point(field_list:PublishedFileDetails.kvtags) - return _impl_.kvtags_; -} - -// optional .PublishedFileDetails.VoteData vote_data = 55; -inline bool PublishedFileDetails::_internal_has_vote_data() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.vote_data_ != nullptr); - return value; -} -inline bool PublishedFileDetails::has_vote_data() const { - return _internal_has_vote_data(); -} -inline void PublishedFileDetails::clear_vote_data() { - if (_impl_.vote_data_ != nullptr) _impl_.vote_data_->Clear(); - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline const ::PublishedFileDetails_VoteData& PublishedFileDetails::_internal_vote_data() const { - const ::PublishedFileDetails_VoteData* p = _impl_.vote_data_; - return p != nullptr ? *p : reinterpret_cast( - ::_PublishedFileDetails_VoteData_default_instance_); -} -inline const ::PublishedFileDetails_VoteData& PublishedFileDetails::vote_data() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.vote_data) - return _internal_vote_data(); -} -inline void PublishedFileDetails::unsafe_arena_set_allocated_vote_data( - ::PublishedFileDetails_VoteData* vote_data) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.vote_data_); - } - _impl_.vote_data_ = vote_data; - if (vote_data) { - _impl_._has_bits_[0] |= 0x00001000u; - } else { - _impl_._has_bits_[0] &= ~0x00001000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PublishedFileDetails.vote_data) -} -inline ::PublishedFileDetails_VoteData* PublishedFileDetails::release_vote_data() { - _impl_._has_bits_[0] &= ~0x00001000u; - ::PublishedFileDetails_VoteData* temp = _impl_.vote_data_; - _impl_.vote_data_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::PublishedFileDetails_VoteData* PublishedFileDetails::unsafe_arena_release_vote_data() { - // @@protoc_insertion_point(field_release:PublishedFileDetails.vote_data) - _impl_._has_bits_[0] &= ~0x00001000u; - ::PublishedFileDetails_VoteData* temp = _impl_.vote_data_; - _impl_.vote_data_ = nullptr; - return temp; -} -inline ::PublishedFileDetails_VoteData* PublishedFileDetails::_internal_mutable_vote_data() { - _impl_._has_bits_[0] |= 0x00001000u; - if (_impl_.vote_data_ == nullptr) { - auto* p = CreateMaybeMessage<::PublishedFileDetails_VoteData>(GetArenaForAllocation()); - _impl_.vote_data_ = p; - } - return _impl_.vote_data_; -} -inline ::PublishedFileDetails_VoteData* PublishedFileDetails::mutable_vote_data() { - ::PublishedFileDetails_VoteData* _msg = _internal_mutable_vote_data(); - // @@protoc_insertion_point(field_mutable:PublishedFileDetails.vote_data) - return _msg; -} -inline void PublishedFileDetails::set_allocated_vote_data(::PublishedFileDetails_VoteData* vote_data) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.vote_data_; - } - if (vote_data) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(vote_data); - if (message_arena != submessage_arena) { - vote_data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, vote_data, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00001000u; - } else { - _impl_._has_bits_[0] &= ~0x00001000u; - } - _impl_.vote_data_ = vote_data; - // @@protoc_insertion_point(field_set_allocated:PublishedFileDetails.vote_data) -} - -// optional uint32 time_subscribed = 56 [(.description) = "Only valid in PublishedFile.GetUserFiles and not normal PublishedFile.GetDetail calls"]; -inline bool PublishedFileDetails::_internal_has_time_subscribed() const { - bool value = (_impl_._has_bits_[1] & 0x00080000u) != 0; - return value; -} -inline bool PublishedFileDetails::has_time_subscribed() const { - return _internal_has_time_subscribed(); -} -inline void PublishedFileDetails::clear_time_subscribed() { - _impl_.time_subscribed_ = 0u; - _impl_._has_bits_[1] &= ~0x00080000u; -} -inline uint32_t PublishedFileDetails::_internal_time_subscribed() const { - return _impl_.time_subscribed_; -} -inline uint32_t PublishedFileDetails::time_subscribed() const { - // @@protoc_insertion_point(field_get:PublishedFileDetails.time_subscribed) - return _internal_time_subscribed(); -} -inline void PublishedFileDetails::_internal_set_time_subscribed(uint32_t value) { - _impl_._has_bits_[1] |= 0x00080000u; - _impl_.time_subscribed_ = value; -} -inline void PublishedFileDetails::set_time_subscribed(uint32_t value) { - _internal_set_time_subscribed(value); - // @@protoc_insertion_point(field_set:PublishedFileDetails.time_subscribed) -} - -// ------------------------------------------------------------------- - -// CPublishedFile_GetDetails_Response - -// repeated .PublishedFileDetails publishedfiledetails = 1; -inline int CPublishedFile_GetDetails_Response::_internal_publishedfiledetails_size() const { - return _impl_.publishedfiledetails_.size(); -} -inline int CPublishedFile_GetDetails_Response::publishedfiledetails_size() const { - return _internal_publishedfiledetails_size(); -} -inline void CPublishedFile_GetDetails_Response::clear_publishedfiledetails() { - _impl_.publishedfiledetails_.Clear(); -} -inline ::PublishedFileDetails* CPublishedFile_GetDetails_Response::mutable_publishedfiledetails(int index) { - // @@protoc_insertion_point(field_mutable:CPublishedFile_GetDetails_Response.publishedfiledetails) - return _impl_.publishedfiledetails_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails >* -CPublishedFile_GetDetails_Response::mutable_publishedfiledetails() { - // @@protoc_insertion_point(field_mutable_list:CPublishedFile_GetDetails_Response.publishedfiledetails) - return &_impl_.publishedfiledetails_; -} -inline const ::PublishedFileDetails& CPublishedFile_GetDetails_Response::_internal_publishedfiledetails(int index) const { - return _impl_.publishedfiledetails_.Get(index); -} -inline const ::PublishedFileDetails& CPublishedFile_GetDetails_Response::publishedfiledetails(int index) const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetDetails_Response.publishedfiledetails) - return _internal_publishedfiledetails(index); -} -inline ::PublishedFileDetails* CPublishedFile_GetDetails_Response::_internal_add_publishedfiledetails() { - return _impl_.publishedfiledetails_.Add(); -} -inline ::PublishedFileDetails* CPublishedFile_GetDetails_Response::add_publishedfiledetails() { - ::PublishedFileDetails* _add = _internal_add_publishedfiledetails(); - // @@protoc_insertion_point(field_add:CPublishedFile_GetDetails_Response.publishedfiledetails) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails >& -CPublishedFile_GetDetails_Response::publishedfiledetails() const { - // @@protoc_insertion_point(field_list:CPublishedFile_GetDetails_Response.publishedfiledetails) - return _impl_.publishedfiledetails_; -} - -// ------------------------------------------------------------------- - -// CPublishedFile_GetUserFiles_Request - -// optional uint32 appid = 1 [(.description) = "App Id to retrieve published files from."]; -inline bool CPublishedFile_GetUserFiles_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPublishedFile_GetUserFiles_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CPublishedFile_GetUserFiles_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CPublishedFile_GetUserFiles_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CPublishedFile_GetUserFiles_Request::appid() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Request.appid) - return _internal_appid(); -} -inline void CPublishedFile_GetUserFiles_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.appid_ = value; -} -inline void CPublishedFile_GetUserFiles_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.appid) -} - -// optional uint32 page = 3 [default = 1, (.description) = "(Optional) Starting page for results."]; -inline bool CPublishedFile_GetUserFiles_Request::_internal_has_page() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CPublishedFile_GetUserFiles_Request::has_page() const { - return _internal_has_page(); -} -inline void CPublishedFile_GetUserFiles_Request::clear_page() { - _impl_.page_ = 1u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CPublishedFile_GetUserFiles_Request::_internal_page() const { - return _impl_.page_; -} -inline uint32_t CPublishedFile_GetUserFiles_Request::page() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Request.page) - return _internal_page(); -} -inline void CPublishedFile_GetUserFiles_Request::_internal_set_page(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.page_ = value; -} -inline void CPublishedFile_GetUserFiles_Request::set_page(uint32_t value) { - _internal_set_page(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.page) -} - -// optional uint32 numperpage = 4 [default = 1, (.description) = "(Optional) The number of results, per page to return."]; -inline bool CPublishedFile_GetUserFiles_Request::_internal_has_numperpage() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CPublishedFile_GetUserFiles_Request::has_numperpage() const { - return _internal_has_numperpage(); -} -inline void CPublishedFile_GetUserFiles_Request::clear_numperpage() { - _impl_.numperpage_ = 1u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CPublishedFile_GetUserFiles_Request::_internal_numperpage() const { - return _impl_.numperpage_; -} -inline uint32_t CPublishedFile_GetUserFiles_Request::numperpage() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Request.numperpage) - return _internal_numperpage(); -} -inline void CPublishedFile_GetUserFiles_Request::_internal_set_numperpage(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.numperpage_ = value; -} -inline void CPublishedFile_GetUserFiles_Request::set_numperpage(uint32_t value) { - _internal_set_numperpage(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.numperpage) -} - -// optional string sortmethod = 6 [default = "lastupdated", (.description) = "(Optional) Sorting method to use on returned values."]; -inline bool CPublishedFile_GetUserFiles_Request::_internal_has_sortmethod() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPublishedFile_GetUserFiles_Request::has_sortmethod() const { - return _internal_has_sortmethod(); -} -inline void CPublishedFile_GetUserFiles_Request::clear_sortmethod() { - _impl_.sortmethod_.ClearToDefault(::CPublishedFile_GetUserFiles_Request::Impl_::_i_give_permission_to_break_this_code_default_sortmethod_, GetArenaForAllocation()); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CPublishedFile_GetUserFiles_Request::sortmethod() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Request.sortmethod) - if (_impl_.sortmethod_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_sortmethod_.get(); - return _internal_sortmethod(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPublishedFile_GetUserFiles_Request::set_sortmethod(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sortmethod_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.sortmethod) -} -inline std::string* CPublishedFile_GetUserFiles_Request::mutable_sortmethod() { - std::string* _s = _internal_mutable_sortmethod(); - // @@protoc_insertion_point(field_mutable:CPublishedFile_GetUserFiles_Request.sortmethod) - return _s; -} -inline const std::string& CPublishedFile_GetUserFiles_Request::_internal_sortmethod() const { - return _impl_.sortmethod_.Get(); -} -inline void CPublishedFile_GetUserFiles_Request::_internal_set_sortmethod(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sortmethod_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_GetUserFiles_Request::_internal_mutable_sortmethod() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.sortmethod_.Mutable(::CPublishedFile_GetUserFiles_Request::Impl_::_i_give_permission_to_break_this_code_default_sortmethod_, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_GetUserFiles_Request::release_sortmethod() { - // @@protoc_insertion_point(field_release:CPublishedFile_GetUserFiles_Request.sortmethod) - if (!_internal_has_sortmethod()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.sortmethod_.Release(); - return p; -} -inline void CPublishedFile_GetUserFiles_Request::set_allocated_sortmethod(std::string* sortmethod) { - if (sortmethod != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.sortmethod_.SetAllocated(sortmethod, GetArenaForAllocation()); - // @@protoc_insertion_point(field_set_allocated:CPublishedFile_GetUserFiles_Request.sortmethod) -} - -// optional bool totalonly = 7 [(.description) = "(Optional) If true, only return the total number of files that satisfy this query."]; -inline bool CPublishedFile_GetUserFiles_Request::_internal_has_totalonly() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CPublishedFile_GetUserFiles_Request::has_totalonly() const { - return _internal_has_totalonly(); -} -inline void CPublishedFile_GetUserFiles_Request::clear_totalonly() { - _impl_.totalonly_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CPublishedFile_GetUserFiles_Request::_internal_totalonly() const { - return _impl_.totalonly_; -} -inline bool CPublishedFile_GetUserFiles_Request::totalonly() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Request.totalonly) - return _internal_totalonly(); -} -inline void CPublishedFile_GetUserFiles_Request::_internal_set_totalonly(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.totalonly_ = value; -} -inline void CPublishedFile_GetUserFiles_Request::set_totalonly(bool value) { - _internal_set_totalonly(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.totalonly) -} - -// optional uint32 privacy = 9 [(.description) = "(optional) Filter by privacy settings."]; -inline bool CPublishedFile_GetUserFiles_Request::_internal_has_privacy() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CPublishedFile_GetUserFiles_Request::has_privacy() const { - return _internal_has_privacy(); -} -inline void CPublishedFile_GetUserFiles_Request::clear_privacy() { - _impl_.privacy_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CPublishedFile_GetUserFiles_Request::_internal_privacy() const { - return _impl_.privacy_; -} -inline uint32_t CPublishedFile_GetUserFiles_Request::privacy() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Request.privacy) - return _internal_privacy(); -} -inline void CPublishedFile_GetUserFiles_Request::_internal_set_privacy(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.privacy_ = value; -} -inline void CPublishedFile_GetUserFiles_Request::set_privacy(uint32_t value) { - _internal_set_privacy(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.privacy) -} - -// optional bool ids_only = 10 [(.description) = "(Optional) If true, only return the published file ids of files that satisfy this query."]; -inline bool CPublishedFile_GetUserFiles_Request::_internal_has_ids_only() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CPublishedFile_GetUserFiles_Request::has_ids_only() const { - return _internal_has_ids_only(); -} -inline void CPublishedFile_GetUserFiles_Request::clear_ids_only() { - _impl_.ids_only_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CPublishedFile_GetUserFiles_Request::_internal_ids_only() const { - return _impl_.ids_only_; -} -inline bool CPublishedFile_GetUserFiles_Request::ids_only() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Request.ids_only) - return _internal_ids_only(); -} -inline void CPublishedFile_GetUserFiles_Request::_internal_set_ids_only(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.ids_only_ = value; -} -inline void CPublishedFile_GetUserFiles_Request::set_ids_only(bool value) { - _internal_set_ids_only(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.ids_only) -} - -// repeated string requiredtags = 11 [(.description) = "(Optional) Tags that must be present on a published file to satisfy the query."]; -inline int CPublishedFile_GetUserFiles_Request::_internal_requiredtags_size() const { - return _impl_.requiredtags_.size(); -} -inline int CPublishedFile_GetUserFiles_Request::requiredtags_size() const { - return _internal_requiredtags_size(); -} -inline void CPublishedFile_GetUserFiles_Request::clear_requiredtags() { - _impl_.requiredtags_.Clear(); -} -inline std::string* CPublishedFile_GetUserFiles_Request::add_requiredtags() { - std::string* _s = _internal_add_requiredtags(); - // @@protoc_insertion_point(field_add_mutable:CPublishedFile_GetUserFiles_Request.requiredtags) - return _s; -} -inline const std::string& CPublishedFile_GetUserFiles_Request::_internal_requiredtags(int index) const { - return _impl_.requiredtags_.Get(index); -} -inline const std::string& CPublishedFile_GetUserFiles_Request::requiredtags(int index) const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Request.requiredtags) - return _internal_requiredtags(index); -} -inline std::string* CPublishedFile_GetUserFiles_Request::mutable_requiredtags(int index) { - // @@protoc_insertion_point(field_mutable:CPublishedFile_GetUserFiles_Request.requiredtags) - return _impl_.requiredtags_.Mutable(index); -} -inline void CPublishedFile_GetUserFiles_Request::set_requiredtags(int index, const std::string& value) { - _impl_.requiredtags_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.requiredtags) -} -inline void CPublishedFile_GetUserFiles_Request::set_requiredtags(int index, std::string&& value) { - _impl_.requiredtags_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.requiredtags) -} -inline void CPublishedFile_GetUserFiles_Request::set_requiredtags(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.requiredtags_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CPublishedFile_GetUserFiles_Request.requiredtags) -} -inline void CPublishedFile_GetUserFiles_Request::set_requiredtags(int index, const char* value, size_t size) { - _impl_.requiredtags_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CPublishedFile_GetUserFiles_Request.requiredtags) -} -inline std::string* CPublishedFile_GetUserFiles_Request::_internal_add_requiredtags() { - return _impl_.requiredtags_.Add(); -} -inline void CPublishedFile_GetUserFiles_Request::add_requiredtags(const std::string& value) { - _impl_.requiredtags_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CPublishedFile_GetUserFiles_Request.requiredtags) -} -inline void CPublishedFile_GetUserFiles_Request::add_requiredtags(std::string&& value) { - _impl_.requiredtags_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CPublishedFile_GetUserFiles_Request.requiredtags) -} -inline void CPublishedFile_GetUserFiles_Request::add_requiredtags(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.requiredtags_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CPublishedFile_GetUserFiles_Request.requiredtags) -} -inline void CPublishedFile_GetUserFiles_Request::add_requiredtags(const char* value, size_t size) { - _impl_.requiredtags_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CPublishedFile_GetUserFiles_Request.requiredtags) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CPublishedFile_GetUserFiles_Request::requiredtags() const { - // @@protoc_insertion_point(field_list:CPublishedFile_GetUserFiles_Request.requiredtags) - return _impl_.requiredtags_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CPublishedFile_GetUserFiles_Request::mutable_requiredtags() { - // @@protoc_insertion_point(field_mutable_list:CPublishedFile_GetUserFiles_Request.requiredtags) - return &_impl_.requiredtags_; -} - -// repeated string excludedtags = 12 [(.description) = "(Optional) Tags that must NOT be present on a published file to satisfy the query."]; -inline int CPublishedFile_GetUserFiles_Request::_internal_excludedtags_size() const { - return _impl_.excludedtags_.size(); -} -inline int CPublishedFile_GetUserFiles_Request::excludedtags_size() const { - return _internal_excludedtags_size(); -} -inline void CPublishedFile_GetUserFiles_Request::clear_excludedtags() { - _impl_.excludedtags_.Clear(); -} -inline std::string* CPublishedFile_GetUserFiles_Request::add_excludedtags() { - std::string* _s = _internal_add_excludedtags(); - // @@protoc_insertion_point(field_add_mutable:CPublishedFile_GetUserFiles_Request.excludedtags) - return _s; -} -inline const std::string& CPublishedFile_GetUserFiles_Request::_internal_excludedtags(int index) const { - return _impl_.excludedtags_.Get(index); -} -inline const std::string& CPublishedFile_GetUserFiles_Request::excludedtags(int index) const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Request.excludedtags) - return _internal_excludedtags(index); -} -inline std::string* CPublishedFile_GetUserFiles_Request::mutable_excludedtags(int index) { - // @@protoc_insertion_point(field_mutable:CPublishedFile_GetUserFiles_Request.excludedtags) - return _impl_.excludedtags_.Mutable(index); -} -inline void CPublishedFile_GetUserFiles_Request::set_excludedtags(int index, const std::string& value) { - _impl_.excludedtags_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.excludedtags) -} -inline void CPublishedFile_GetUserFiles_Request::set_excludedtags(int index, std::string&& value) { - _impl_.excludedtags_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Request.excludedtags) -} -inline void CPublishedFile_GetUserFiles_Request::set_excludedtags(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.excludedtags_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CPublishedFile_GetUserFiles_Request.excludedtags) -} -inline void CPublishedFile_GetUserFiles_Request::set_excludedtags(int index, const char* value, size_t size) { - _impl_.excludedtags_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CPublishedFile_GetUserFiles_Request.excludedtags) -} -inline std::string* CPublishedFile_GetUserFiles_Request::_internal_add_excludedtags() { - return _impl_.excludedtags_.Add(); -} -inline void CPublishedFile_GetUserFiles_Request::add_excludedtags(const std::string& value) { - _impl_.excludedtags_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CPublishedFile_GetUserFiles_Request.excludedtags) -} -inline void CPublishedFile_GetUserFiles_Request::add_excludedtags(std::string&& value) { - _impl_.excludedtags_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CPublishedFile_GetUserFiles_Request.excludedtags) -} -inline void CPublishedFile_GetUserFiles_Request::add_excludedtags(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.excludedtags_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CPublishedFile_GetUserFiles_Request.excludedtags) -} -inline void CPublishedFile_GetUserFiles_Request::add_excludedtags(const char* value, size_t size) { - _impl_.excludedtags_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CPublishedFile_GetUserFiles_Request.excludedtags) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CPublishedFile_GetUserFiles_Request::excludedtags() const { - // @@protoc_insertion_point(field_list:CPublishedFile_GetUserFiles_Request.excludedtags) - return _impl_.excludedtags_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CPublishedFile_GetUserFiles_Request::mutable_excludedtags() { - // @@protoc_insertion_point(field_mutable_list:CPublishedFile_GetUserFiles_Request.excludedtags) - return &_impl_.excludedtags_; -} - -// ------------------------------------------------------------------- - -// CPublishedFile_GetUserFiles_Response_App - -// optional uint32 appid = 1; -inline bool CPublishedFile_GetUserFiles_Response_App::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPublishedFile_GetUserFiles_Response_App::has_appid() const { - return _internal_has_appid(); -} -inline void CPublishedFile_GetUserFiles_Response_App::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CPublishedFile_GetUserFiles_Response_App::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CPublishedFile_GetUserFiles_Response_App::appid() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Response.App.appid) - return _internal_appid(); -} -inline void CPublishedFile_GetUserFiles_Response_App::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.appid_ = value; -} -inline void CPublishedFile_GetUserFiles_Response_App::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Response.App.appid) -} - -// optional string name = 2; -inline bool CPublishedFile_GetUserFiles_Response_App::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPublishedFile_GetUserFiles_Response_App::has_name() const { - return _internal_has_name(); -} -inline void CPublishedFile_GetUserFiles_Response_App::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CPublishedFile_GetUserFiles_Response_App::name() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Response.App.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPublishedFile_GetUserFiles_Response_App::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Response.App.name) -} -inline std::string* CPublishedFile_GetUserFiles_Response_App::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CPublishedFile_GetUserFiles_Response.App.name) - return _s; -} -inline const std::string& CPublishedFile_GetUserFiles_Response_App::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CPublishedFile_GetUserFiles_Response_App::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_GetUserFiles_Response_App::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPublishedFile_GetUserFiles_Response_App::release_name() { - // @@protoc_insertion_point(field_release:CPublishedFile_GetUserFiles_Response.App.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPublishedFile_GetUserFiles_Response_App::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPublishedFile_GetUserFiles_Response.App.name) -} - -// optional uint32 shortcutid = 3; -inline bool CPublishedFile_GetUserFiles_Response_App::_internal_has_shortcutid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CPublishedFile_GetUserFiles_Response_App::has_shortcutid() const { - return _internal_has_shortcutid(); -} -inline void CPublishedFile_GetUserFiles_Response_App::clear_shortcutid() { - _impl_.shortcutid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CPublishedFile_GetUserFiles_Response_App::_internal_shortcutid() const { - return _impl_.shortcutid_; -} -inline uint32_t CPublishedFile_GetUserFiles_Response_App::shortcutid() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Response.App.shortcutid) - return _internal_shortcutid(); -} -inline void CPublishedFile_GetUserFiles_Response_App::_internal_set_shortcutid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.shortcutid_ = value; -} -inline void CPublishedFile_GetUserFiles_Response_App::set_shortcutid(uint32_t value) { - _internal_set_shortcutid(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Response.App.shortcutid) -} - -// optional bool private = 4; -inline bool CPublishedFile_GetUserFiles_Response_App::_internal_has_private_() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CPublishedFile_GetUserFiles_Response_App::has_private_() const { - return _internal_has_private_(); -} -inline void CPublishedFile_GetUserFiles_Response_App::clear_private_() { - _impl_.private__ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CPublishedFile_GetUserFiles_Response_App::_internal_private_() const { - return _impl_.private__; -} -inline bool CPublishedFile_GetUserFiles_Response_App::private_() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Response.App.private) - return _internal_private_(); -} -inline void CPublishedFile_GetUserFiles_Response_App::_internal_set_private_(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.private__ = value; -} -inline void CPublishedFile_GetUserFiles_Response_App::set_private_(bool value) { - _internal_set_private_(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Response.App.private) -} - -// ------------------------------------------------------------------- - -// CPublishedFile_GetUserFiles_Response - -// optional uint32 total = 1; -inline bool CPublishedFile_GetUserFiles_Response::_internal_has_total() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPublishedFile_GetUserFiles_Response::has_total() const { - return _internal_has_total(); -} -inline void CPublishedFile_GetUserFiles_Response::clear_total() { - _impl_.total_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CPublishedFile_GetUserFiles_Response::_internal_total() const { - return _impl_.total_; -} -inline uint32_t CPublishedFile_GetUserFiles_Response::total() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Response.total) - return _internal_total(); -} -inline void CPublishedFile_GetUserFiles_Response::_internal_set_total(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.total_ = value; -} -inline void CPublishedFile_GetUserFiles_Response::set_total(uint32_t value) { - _internal_set_total(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Response.total) -} - -// optional uint32 startindex = 2; -inline bool CPublishedFile_GetUserFiles_Response::_internal_has_startindex() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPublishedFile_GetUserFiles_Response::has_startindex() const { - return _internal_has_startindex(); -} -inline void CPublishedFile_GetUserFiles_Response::clear_startindex() { - _impl_.startindex_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CPublishedFile_GetUserFiles_Response::_internal_startindex() const { - return _impl_.startindex_; -} -inline uint32_t CPublishedFile_GetUserFiles_Response::startindex() const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Response.startindex) - return _internal_startindex(); -} -inline void CPublishedFile_GetUserFiles_Response::_internal_set_startindex(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.startindex_ = value; -} -inline void CPublishedFile_GetUserFiles_Response::set_startindex(uint32_t value) { - _internal_set_startindex(value); - // @@protoc_insertion_point(field_set:CPublishedFile_GetUserFiles_Response.startindex) -} - -// repeated .PublishedFileDetails publishedfiledetails = 3; -inline int CPublishedFile_GetUserFiles_Response::_internal_publishedfiledetails_size() const { - return _impl_.publishedfiledetails_.size(); -} -inline int CPublishedFile_GetUserFiles_Response::publishedfiledetails_size() const { - return _internal_publishedfiledetails_size(); -} -inline void CPublishedFile_GetUserFiles_Response::clear_publishedfiledetails() { - _impl_.publishedfiledetails_.Clear(); -} -inline ::PublishedFileDetails* CPublishedFile_GetUserFiles_Response::mutable_publishedfiledetails(int index) { - // @@protoc_insertion_point(field_mutable:CPublishedFile_GetUserFiles_Response.publishedfiledetails) - return _impl_.publishedfiledetails_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails >* -CPublishedFile_GetUserFiles_Response::mutable_publishedfiledetails() { - // @@protoc_insertion_point(field_mutable_list:CPublishedFile_GetUserFiles_Response.publishedfiledetails) - return &_impl_.publishedfiledetails_; -} -inline const ::PublishedFileDetails& CPublishedFile_GetUserFiles_Response::_internal_publishedfiledetails(int index) const { - return _impl_.publishedfiledetails_.Get(index); -} -inline const ::PublishedFileDetails& CPublishedFile_GetUserFiles_Response::publishedfiledetails(int index) const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Response.publishedfiledetails) - return _internal_publishedfiledetails(index); -} -inline ::PublishedFileDetails* CPublishedFile_GetUserFiles_Response::_internal_add_publishedfiledetails() { - return _impl_.publishedfiledetails_.Add(); -} -inline ::PublishedFileDetails* CPublishedFile_GetUserFiles_Response::add_publishedfiledetails() { - ::PublishedFileDetails* _add = _internal_add_publishedfiledetails(); - // @@protoc_insertion_point(field_add:CPublishedFile_GetUserFiles_Response.publishedfiledetails) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PublishedFileDetails >& -CPublishedFile_GetUserFiles_Response::publishedfiledetails() const { - // @@protoc_insertion_point(field_list:CPublishedFile_GetUserFiles_Response.publishedfiledetails) - return _impl_.publishedfiledetails_; -} - -// repeated .CPublishedFile_GetUserFiles_Response.App apps = 4; -inline int CPublishedFile_GetUserFiles_Response::_internal_apps_size() const { - return _impl_.apps_.size(); -} -inline int CPublishedFile_GetUserFiles_Response::apps_size() const { - return _internal_apps_size(); -} -inline void CPublishedFile_GetUserFiles_Response::clear_apps() { - _impl_.apps_.Clear(); -} -inline ::CPublishedFile_GetUserFiles_Response_App* CPublishedFile_GetUserFiles_Response::mutable_apps(int index) { - // @@protoc_insertion_point(field_mutable:CPublishedFile_GetUserFiles_Response.apps) - return _impl_.apps_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPublishedFile_GetUserFiles_Response_App >* -CPublishedFile_GetUserFiles_Response::mutable_apps() { - // @@protoc_insertion_point(field_mutable_list:CPublishedFile_GetUserFiles_Response.apps) - return &_impl_.apps_; -} -inline const ::CPublishedFile_GetUserFiles_Response_App& CPublishedFile_GetUserFiles_Response::_internal_apps(int index) const { - return _impl_.apps_.Get(index); -} -inline const ::CPublishedFile_GetUserFiles_Response_App& CPublishedFile_GetUserFiles_Response::apps(int index) const { - // @@protoc_insertion_point(field_get:CPublishedFile_GetUserFiles_Response.apps) - return _internal_apps(index); -} -inline ::CPublishedFile_GetUserFiles_Response_App* CPublishedFile_GetUserFiles_Response::_internal_add_apps() { - return _impl_.apps_.Add(); -} -inline ::CPublishedFile_GetUserFiles_Response_App* CPublishedFile_GetUserFiles_Response::add_apps() { - ::CPublishedFile_GetUserFiles_Response_App* _add = _internal_add_apps(); - // @@protoc_insertion_point(field_add:CPublishedFile_GetUserFiles_Response.apps) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CPublishedFile_GetUserFiles_Response_App >& -CPublishedFile_GetUserFiles_Response::apps() const { - // @@protoc_insertion_point(field_list:CPublishedFile_GetUserFiles_Response.apps) - return _impl_.apps_; -} - -// ------------------------------------------------------------------- - -// CPublishedFile_Update_Request - -// optional uint32 appid = 1 [(.description) = "App Id this published file belongs to."]; -inline bool CPublishedFile_Update_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CPublishedFile_Update_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CPublishedFile_Update_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CPublishedFile_Update_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CPublishedFile_Update_Request::appid() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Update_Request.appid) - return _internal_appid(); -} -inline void CPublishedFile_Update_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.appid_ = value; -} -inline void CPublishedFile_Update_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CPublishedFile_Update_Request.appid) -} - -// optional fixed64 publishedfileid = 2 [(.description) = "Published file id of the file we\'d like update."]; -inline bool CPublishedFile_Update_Request::_internal_has_publishedfileid() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CPublishedFile_Update_Request::has_publishedfileid() const { - return _internal_has_publishedfileid(); -} -inline void CPublishedFile_Update_Request::clear_publishedfileid() { - _impl_.publishedfileid_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CPublishedFile_Update_Request::_internal_publishedfileid() const { - return _impl_.publishedfileid_; -} -inline uint64_t CPublishedFile_Update_Request::publishedfileid() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Update_Request.publishedfileid) - return _internal_publishedfileid(); -} -inline void CPublishedFile_Update_Request::_internal_set_publishedfileid(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.publishedfileid_ = value; -} -inline void CPublishedFile_Update_Request::set_publishedfileid(uint64_t value) { - _internal_set_publishedfileid(value); - // @@protoc_insertion_point(field_set:CPublishedFile_Update_Request.publishedfileid) -} - -// optional string title = 3 [(.description) = "(Optional) Title of the published file."]; -inline bool CPublishedFile_Update_Request::_internal_has_title() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPublishedFile_Update_Request::has_title() const { - return _internal_has_title(); -} -inline void CPublishedFile_Update_Request::clear_title() { - _impl_.title_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CPublishedFile_Update_Request::title() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Update_Request.title) - return _internal_title(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPublishedFile_Update_Request::set_title(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.title_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPublishedFile_Update_Request.title) -} -inline std::string* CPublishedFile_Update_Request::mutable_title() { - std::string* _s = _internal_mutable_title(); - // @@protoc_insertion_point(field_mutable:CPublishedFile_Update_Request.title) - return _s; -} -inline const std::string& CPublishedFile_Update_Request::_internal_title() const { - return _impl_.title_.Get(); -} -inline void CPublishedFile_Update_Request::_internal_set_title(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.title_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Update_Request::_internal_mutable_title() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.title_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Update_Request::release_title() { - // @@protoc_insertion_point(field_release:CPublishedFile_Update_Request.title) - if (!_internal_has_title()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.title_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.title_.IsDefault()) { - _impl_.title_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPublishedFile_Update_Request::set_allocated_title(std::string* title) { - if (title != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.title_.SetAllocated(title, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.title_.IsDefault()) { - _impl_.title_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Update_Request.title) -} - -// optional string file_description = 4 [(.description) = "(Optional) Description of the published file."]; -inline bool CPublishedFile_Update_Request::_internal_has_file_description() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPublishedFile_Update_Request::has_file_description() const { - return _internal_has_file_description(); -} -inline void CPublishedFile_Update_Request::clear_file_description() { - _impl_.file_description_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CPublishedFile_Update_Request::file_description() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Update_Request.file_description) - return _internal_file_description(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPublishedFile_Update_Request::set_file_description(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.file_description_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPublishedFile_Update_Request.file_description) -} -inline std::string* CPublishedFile_Update_Request::mutable_file_description() { - std::string* _s = _internal_mutable_file_description(); - // @@protoc_insertion_point(field_mutable:CPublishedFile_Update_Request.file_description) - return _s; -} -inline const std::string& CPublishedFile_Update_Request::_internal_file_description() const { - return _impl_.file_description_.Get(); -} -inline void CPublishedFile_Update_Request::_internal_set_file_description(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.file_description_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Update_Request::_internal_mutable_file_description() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.file_description_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Update_Request::release_file_description() { - // @@protoc_insertion_point(field_release:CPublishedFile_Update_Request.file_description) - if (!_internal_has_file_description()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.file_description_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.file_description_.IsDefault()) { - _impl_.file_description_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPublishedFile_Update_Request::set_allocated_file_description(std::string* file_description) { - if (file_description != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.file_description_.SetAllocated(file_description, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.file_description_.IsDefault()) { - _impl_.file_description_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Update_Request.file_description) -} - -// optional uint32 visibility = 5 [(.description) = "(Optional) Visibility of the published file."]; -inline bool CPublishedFile_Update_Request::_internal_has_visibility() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CPublishedFile_Update_Request::has_visibility() const { - return _internal_has_visibility(); -} -inline void CPublishedFile_Update_Request::clear_visibility() { - _impl_.visibility_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CPublishedFile_Update_Request::_internal_visibility() const { - return _impl_.visibility_; -} -inline uint32_t CPublishedFile_Update_Request::visibility() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Update_Request.visibility) - return _internal_visibility(); -} -inline void CPublishedFile_Update_Request::_internal_set_visibility(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.visibility_ = value; -} -inline void CPublishedFile_Update_Request::set_visibility(uint32_t value) { - _internal_set_visibility(value); - // @@protoc_insertion_point(field_set:CPublishedFile_Update_Request.visibility) -} - -// repeated string tags = 6 [(.description) = "(Optional) Set of tags for the published file."]; -inline int CPublishedFile_Update_Request::_internal_tags_size() const { - return _impl_.tags_.size(); -} -inline int CPublishedFile_Update_Request::tags_size() const { - return _internal_tags_size(); -} -inline void CPublishedFile_Update_Request::clear_tags() { - _impl_.tags_.Clear(); -} -inline std::string* CPublishedFile_Update_Request::add_tags() { - std::string* _s = _internal_add_tags(); - // @@protoc_insertion_point(field_add_mutable:CPublishedFile_Update_Request.tags) - return _s; -} -inline const std::string& CPublishedFile_Update_Request::_internal_tags(int index) const { - return _impl_.tags_.Get(index); -} -inline const std::string& CPublishedFile_Update_Request::tags(int index) const { - // @@protoc_insertion_point(field_get:CPublishedFile_Update_Request.tags) - return _internal_tags(index); -} -inline std::string* CPublishedFile_Update_Request::mutable_tags(int index) { - // @@protoc_insertion_point(field_mutable:CPublishedFile_Update_Request.tags) - return _impl_.tags_.Mutable(index); -} -inline void CPublishedFile_Update_Request::set_tags(int index, const std::string& value) { - _impl_.tags_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CPublishedFile_Update_Request.tags) -} -inline void CPublishedFile_Update_Request::set_tags(int index, std::string&& value) { - _impl_.tags_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CPublishedFile_Update_Request.tags) -} -inline void CPublishedFile_Update_Request::set_tags(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.tags_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CPublishedFile_Update_Request.tags) -} -inline void CPublishedFile_Update_Request::set_tags(int index, const char* value, size_t size) { - _impl_.tags_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CPublishedFile_Update_Request.tags) -} -inline std::string* CPublishedFile_Update_Request::_internal_add_tags() { - return _impl_.tags_.Add(); -} -inline void CPublishedFile_Update_Request::add_tags(const std::string& value) { - _impl_.tags_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CPublishedFile_Update_Request.tags) -} -inline void CPublishedFile_Update_Request::add_tags(std::string&& value) { - _impl_.tags_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CPublishedFile_Update_Request.tags) -} -inline void CPublishedFile_Update_Request::add_tags(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.tags_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CPublishedFile_Update_Request.tags) -} -inline void CPublishedFile_Update_Request::add_tags(const char* value, size_t size) { - _impl_.tags_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CPublishedFile_Update_Request.tags) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CPublishedFile_Update_Request::tags() const { - // @@protoc_insertion_point(field_list:CPublishedFile_Update_Request.tags) - return _impl_.tags_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CPublishedFile_Update_Request::mutable_tags() { - // @@protoc_insertion_point(field_mutable_list:CPublishedFile_Update_Request.tags) - return &_impl_.tags_; -} - -// optional string filename = 7 [(.description) = "(Optional) Filename for the published file."]; -inline bool CPublishedFile_Update_Request::_internal_has_filename() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CPublishedFile_Update_Request::has_filename() const { - return _internal_has_filename(); -} -inline void CPublishedFile_Update_Request::clear_filename() { - _impl_.filename_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CPublishedFile_Update_Request::filename() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Update_Request.filename) - return _internal_filename(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPublishedFile_Update_Request::set_filename(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.filename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPublishedFile_Update_Request.filename) -} -inline std::string* CPublishedFile_Update_Request::mutable_filename() { - std::string* _s = _internal_mutable_filename(); - // @@protoc_insertion_point(field_mutable:CPublishedFile_Update_Request.filename) - return _s; -} -inline const std::string& CPublishedFile_Update_Request::_internal_filename() const { - return _impl_.filename_.Get(); -} -inline void CPublishedFile_Update_Request::_internal_set_filename(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.filename_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Update_Request::_internal_mutable_filename() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.filename_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Update_Request::release_filename() { - // @@protoc_insertion_point(field_release:CPublishedFile_Update_Request.filename) - if (!_internal_has_filename()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.filename_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.filename_.IsDefault()) { - _impl_.filename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPublishedFile_Update_Request::set_allocated_filename(std::string* filename) { - if (filename != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.filename_.SetAllocated(filename, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.filename_.IsDefault()) { - _impl_.filename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Update_Request.filename) -} - -// optional string preview_filename = 8 [(.description) = "(Optional) Preview filename for the published file."]; -inline bool CPublishedFile_Update_Request::_internal_has_preview_filename() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CPublishedFile_Update_Request::has_preview_filename() const { - return _internal_has_preview_filename(); -} -inline void CPublishedFile_Update_Request::clear_preview_filename() { - _impl_.preview_filename_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CPublishedFile_Update_Request::preview_filename() const { - // @@protoc_insertion_point(field_get:CPublishedFile_Update_Request.preview_filename) - return _internal_preview_filename(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CPublishedFile_Update_Request::set_preview_filename(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.preview_filename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CPublishedFile_Update_Request.preview_filename) -} -inline std::string* CPublishedFile_Update_Request::mutable_preview_filename() { - std::string* _s = _internal_mutable_preview_filename(); - // @@protoc_insertion_point(field_mutable:CPublishedFile_Update_Request.preview_filename) - return _s; -} -inline const std::string& CPublishedFile_Update_Request::_internal_preview_filename() const { - return _impl_.preview_filename_.Get(); -} -inline void CPublishedFile_Update_Request::_internal_set_preview_filename(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.preview_filename_.Set(value, GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Update_Request::_internal_mutable_preview_filename() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.preview_filename_.Mutable(GetArenaForAllocation()); -} -inline std::string* CPublishedFile_Update_Request::release_preview_filename() { - // @@protoc_insertion_point(field_release:CPublishedFile_Update_Request.preview_filename) - if (!_internal_has_preview_filename()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.preview_filename_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.preview_filename_.IsDefault()) { - _impl_.preview_filename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CPublishedFile_Update_Request::set_allocated_preview_filename(std::string* preview_filename) { - if (preview_filename != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.preview_filename_.SetAllocated(preview_filename, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.preview_filename_.IsDefault()) { - _impl_.preview_filename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CPublishedFile_Update_Request.preview_filename) -} - -// ------------------------------------------------------------------- - -// CPublishedFile_Update_Response - -// ------------------------------------------------------------------- - -// CPublishedFile_RefreshVotingQueue_Request - -// optional uint32 appid = 1; -inline bool CPublishedFile_RefreshVotingQueue_Request::_internal_has_appid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CPublishedFile_RefreshVotingQueue_Request::has_appid() const { - return _internal_has_appid(); -} -inline void CPublishedFile_RefreshVotingQueue_Request::clear_appid() { - _impl_.appid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CPublishedFile_RefreshVotingQueue_Request::_internal_appid() const { - return _impl_.appid_; -} -inline uint32_t CPublishedFile_RefreshVotingQueue_Request::appid() const { - // @@protoc_insertion_point(field_get:CPublishedFile_RefreshVotingQueue_Request.appid) - return _internal_appid(); -} -inline void CPublishedFile_RefreshVotingQueue_Request::_internal_set_appid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.appid_ = value; -} -inline void CPublishedFile_RefreshVotingQueue_Request::set_appid(uint32_t value) { - _internal_set_appid(value); - // @@protoc_insertion_point(field_set:CPublishedFile_RefreshVotingQueue_Request.appid) -} - -// optional uint32 matching_file_type = 2 [(.description) = "EPublishedFileInfoMatchingFileType"]; -inline bool CPublishedFile_RefreshVotingQueue_Request::_internal_has_matching_file_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CPublishedFile_RefreshVotingQueue_Request::has_matching_file_type() const { - return _internal_has_matching_file_type(); -} -inline void CPublishedFile_RefreshVotingQueue_Request::clear_matching_file_type() { - _impl_.matching_file_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CPublishedFile_RefreshVotingQueue_Request::_internal_matching_file_type() const { - return _impl_.matching_file_type_; -} -inline uint32_t CPublishedFile_RefreshVotingQueue_Request::matching_file_type() const { - // @@protoc_insertion_point(field_get:CPublishedFile_RefreshVotingQueue_Request.matching_file_type) - return _internal_matching_file_type(); -} -inline void CPublishedFile_RefreshVotingQueue_Request::_internal_set_matching_file_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.matching_file_type_ = value; -} -inline void CPublishedFile_RefreshVotingQueue_Request::set_matching_file_type(uint32_t value) { - _internal_set_matching_file_type(value); - // @@protoc_insertion_point(field_set:CPublishedFile_RefreshVotingQueue_Request.matching_file_type) -} - -// repeated string tags = 3 [(.description) = "Include files that have all the tags or any of the tags if match_all_tags is set to false."]; -inline int CPublishedFile_RefreshVotingQueue_Request::_internal_tags_size() const { - return _impl_.tags_.size(); -} -inline int CPublishedFile_RefreshVotingQueue_Request::tags_size() const { - return _internal_tags_size(); -} -inline void CPublishedFile_RefreshVotingQueue_Request::clear_tags() { - _impl_.tags_.Clear(); -} -inline std::string* CPublishedFile_RefreshVotingQueue_Request::add_tags() { - std::string* _s = _internal_add_tags(); - // @@protoc_insertion_point(field_add_mutable:CPublishedFile_RefreshVotingQueue_Request.tags) - return _s; -} -inline const std::string& CPublishedFile_RefreshVotingQueue_Request::_internal_tags(int index) const { - return _impl_.tags_.Get(index); -} -inline const std::string& CPublishedFile_RefreshVotingQueue_Request::tags(int index) const { - // @@protoc_insertion_point(field_get:CPublishedFile_RefreshVotingQueue_Request.tags) - return _internal_tags(index); -} -inline std::string* CPublishedFile_RefreshVotingQueue_Request::mutable_tags(int index) { - // @@protoc_insertion_point(field_mutable:CPublishedFile_RefreshVotingQueue_Request.tags) - return _impl_.tags_.Mutable(index); -} -inline void CPublishedFile_RefreshVotingQueue_Request::set_tags(int index, const std::string& value) { - _impl_.tags_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CPublishedFile_RefreshVotingQueue_Request.tags) -} -inline void CPublishedFile_RefreshVotingQueue_Request::set_tags(int index, std::string&& value) { - _impl_.tags_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CPublishedFile_RefreshVotingQueue_Request.tags) -} -inline void CPublishedFile_RefreshVotingQueue_Request::set_tags(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.tags_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CPublishedFile_RefreshVotingQueue_Request.tags) -} -inline void CPublishedFile_RefreshVotingQueue_Request::set_tags(int index, const char* value, size_t size) { - _impl_.tags_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CPublishedFile_RefreshVotingQueue_Request.tags) -} -inline std::string* CPublishedFile_RefreshVotingQueue_Request::_internal_add_tags() { - return _impl_.tags_.Add(); -} -inline void CPublishedFile_RefreshVotingQueue_Request::add_tags(const std::string& value) { - _impl_.tags_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CPublishedFile_RefreshVotingQueue_Request.tags) -} -inline void CPublishedFile_RefreshVotingQueue_Request::add_tags(std::string&& value) { - _impl_.tags_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CPublishedFile_RefreshVotingQueue_Request.tags) -} -inline void CPublishedFile_RefreshVotingQueue_Request::add_tags(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.tags_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CPublishedFile_RefreshVotingQueue_Request.tags) -} -inline void CPublishedFile_RefreshVotingQueue_Request::add_tags(const char* value, size_t size) { - _impl_.tags_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CPublishedFile_RefreshVotingQueue_Request.tags) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CPublishedFile_RefreshVotingQueue_Request::tags() const { - // @@protoc_insertion_point(field_list:CPublishedFile_RefreshVotingQueue_Request.tags) - return _impl_.tags_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CPublishedFile_RefreshVotingQueue_Request::mutable_tags() { - // @@protoc_insertion_point(field_mutable_list:CPublishedFile_RefreshVotingQueue_Request.tags) - return &_impl_.tags_; -} - -// optional bool match_all_tags = 4 [default = true, (.description) = "If true, then files must have all the tags specified. If false, then must have at least one of the tags specified."]; -inline bool CPublishedFile_RefreshVotingQueue_Request::_internal_has_match_all_tags() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CPublishedFile_RefreshVotingQueue_Request::has_match_all_tags() const { - return _internal_has_match_all_tags(); -} -inline void CPublishedFile_RefreshVotingQueue_Request::clear_match_all_tags() { - _impl_.match_all_tags_ = true; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CPublishedFile_RefreshVotingQueue_Request::_internal_match_all_tags() const { - return _impl_.match_all_tags_; -} -inline bool CPublishedFile_RefreshVotingQueue_Request::match_all_tags() const { - // @@protoc_insertion_point(field_get:CPublishedFile_RefreshVotingQueue_Request.match_all_tags) - return _internal_match_all_tags(); -} -inline void CPublishedFile_RefreshVotingQueue_Request::_internal_set_match_all_tags(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.match_all_tags_ = value; -} -inline void CPublishedFile_RefreshVotingQueue_Request::set_match_all_tags(bool value) { - _internal_set_match_all_tags(value); - // @@protoc_insertion_point(field_set:CPublishedFile_RefreshVotingQueue_Request.match_all_tags) -} - -// repeated string excluded_tags = 5 [(.description) = "Exclude any files that have any of these tags."]; -inline int CPublishedFile_RefreshVotingQueue_Request::_internal_excluded_tags_size() const { - return _impl_.excluded_tags_.size(); -} -inline int CPublishedFile_RefreshVotingQueue_Request::excluded_tags_size() const { - return _internal_excluded_tags_size(); -} -inline void CPublishedFile_RefreshVotingQueue_Request::clear_excluded_tags() { - _impl_.excluded_tags_.Clear(); -} -inline std::string* CPublishedFile_RefreshVotingQueue_Request::add_excluded_tags() { - std::string* _s = _internal_add_excluded_tags(); - // @@protoc_insertion_point(field_add_mutable:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) - return _s; -} -inline const std::string& CPublishedFile_RefreshVotingQueue_Request::_internal_excluded_tags(int index) const { - return _impl_.excluded_tags_.Get(index); -} -inline const std::string& CPublishedFile_RefreshVotingQueue_Request::excluded_tags(int index) const { - // @@protoc_insertion_point(field_get:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) - return _internal_excluded_tags(index); -} -inline std::string* CPublishedFile_RefreshVotingQueue_Request::mutable_excluded_tags(int index) { - // @@protoc_insertion_point(field_mutable:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) - return _impl_.excluded_tags_.Mutable(index); -} -inline void CPublishedFile_RefreshVotingQueue_Request::set_excluded_tags(int index, const std::string& value) { - _impl_.excluded_tags_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) -} -inline void CPublishedFile_RefreshVotingQueue_Request::set_excluded_tags(int index, std::string&& value) { - _impl_.excluded_tags_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) -} -inline void CPublishedFile_RefreshVotingQueue_Request::set_excluded_tags(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.excluded_tags_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) -} -inline void CPublishedFile_RefreshVotingQueue_Request::set_excluded_tags(int index, const char* value, size_t size) { - _impl_.excluded_tags_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) -} -inline std::string* CPublishedFile_RefreshVotingQueue_Request::_internal_add_excluded_tags() { - return _impl_.excluded_tags_.Add(); -} -inline void CPublishedFile_RefreshVotingQueue_Request::add_excluded_tags(const std::string& value) { - _impl_.excluded_tags_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) -} -inline void CPublishedFile_RefreshVotingQueue_Request::add_excluded_tags(std::string&& value) { - _impl_.excluded_tags_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) -} -inline void CPublishedFile_RefreshVotingQueue_Request::add_excluded_tags(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.excluded_tags_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) -} -inline void CPublishedFile_RefreshVotingQueue_Request::add_excluded_tags(const char* value, size_t size) { - _impl_.excluded_tags_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CPublishedFile_RefreshVotingQueue_Request::excluded_tags() const { - // @@protoc_insertion_point(field_list:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) - return _impl_.excluded_tags_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CPublishedFile_RefreshVotingQueue_Request::mutable_excluded_tags() { - // @@protoc_insertion_point(field_mutable_list:CPublishedFile_RefreshVotingQueue_Request.excluded_tags) - return &_impl_.excluded_tags_; -} - -// optional uint32 desired_queue_size = 6 [(.description) = "Desired number of items in the voting queue. May be clamped by the server"]; -inline bool CPublishedFile_RefreshVotingQueue_Request::_internal_has_desired_queue_size() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CPublishedFile_RefreshVotingQueue_Request::has_desired_queue_size() const { - return _internal_has_desired_queue_size(); -} -inline void CPublishedFile_RefreshVotingQueue_Request::clear_desired_queue_size() { - _impl_.desired_queue_size_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CPublishedFile_RefreshVotingQueue_Request::_internal_desired_queue_size() const { - return _impl_.desired_queue_size_; -} -inline uint32_t CPublishedFile_RefreshVotingQueue_Request::desired_queue_size() const { - // @@protoc_insertion_point(field_get:CPublishedFile_RefreshVotingQueue_Request.desired_queue_size) - return _internal_desired_queue_size(); -} -inline void CPublishedFile_RefreshVotingQueue_Request::_internal_set_desired_queue_size(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.desired_queue_size_ = value; -} -inline void CPublishedFile_RefreshVotingQueue_Request::set_desired_queue_size(uint32_t value) { - _internal_set_desired_queue_size(value); - // @@protoc_insertion_point(field_set:CPublishedFile_RefreshVotingQueue_Request.desired_queue_size) -} - -// ------------------------------------------------------------------- - -// CPublishedFile_RefreshVotingQueue_Response - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steammessages_5fpublishedfile_2esteamworkssdk_2eproto diff --git a/protobuf/generated/steammessages_unified_base.steamworkssdk.pb.cc b/protobuf/generated/steammessages_unified_base.steamworkssdk.pb.cc deleted file mode 100644 index 15122f5ca..000000000 --- a/protobuf/generated/steammessages_unified_base.steamworkssdk.pb.cc +++ /dev/null @@ -1,108 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steammessages_unified_base.steamworkssdk.proto - -#include "steammessages_unified_base.steamworkssdk.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_steammessages_5funified_5fbase_2esteamworkssdk_2eproto[1]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steammessages_5funified_5fbase_2esteamworkssdk_2eproto = nullptr; -const uint32_t TableStruct_steammessages_5funified_5fbase_2esteamworkssdk_2eproto::offsets[1] = {}; -static constexpr ::_pbi::MigrationSchema* schemas = nullptr; -static constexpr ::_pb::Message* const* file_default_instances = nullptr; - -const char descriptor_table_protodef_steammessages_5funified_5fbase_2esteamworkssdk_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n.steammessages_unified_base.steamworkss" - "dk.proto\032 google/protobuf/descriptor.pro" - "to*]\n\023EProtoExecutionSite\022 \n\034k_EProtoExe" - "cutionSiteUnknown\020\000\022$\n k_EProtoExecution" - "SiteSteamClient\020\003:4\n\013description\022\035.googl" - "e.protobuf.FieldOptions\030\320\206\003 \001(\t:>\n\023servi" - "ce_description\022\037.google.protobuf.Service" - "Options\030\320\206\003 \001(\t:u\n\026service_execution_sit" - "e\022\037.google.protobuf.ServiceOptions\030\330\206\003 \001" - "(\0162\024.EProtoExecutionSite:\034k_EProtoExecut" - "ionSiteUnknown:<\n\022method_description\022\036.g" - "oogle.protobuf.MethodOptions\030\320\206\003 \001(\t:8\n\020" - "enum_description\022\034.google.protobuf.EnumO" - "ptions\030\320\206\003 \001(\t:C\n\026enum_value_description" - "\022!.google.protobuf.EnumValueOptions\030\320\206\003 " - "\001(\tB\005H\001\200\001\000" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto_deps[1] = { - &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, -}; -static ::_pbi::once_flag descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto = { - false, false, 610, descriptor_table_protodef_steammessages_5funified_5fbase_2esteamworkssdk_2eproto, - "steammessages_unified_base.steamworkssdk.proto", - &descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto_once, descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto_deps, 1, 0, - schemas, file_default_instances, TableStruct_steammessages_5funified_5fbase_2esteamworkssdk_2eproto::offsets, - nullptr, file_level_enum_descriptors_steammessages_5funified_5fbase_2esteamworkssdk_2eproto, - file_level_service_descriptors_steammessages_5funified_5fbase_2esteamworkssdk_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto_getter() { - return &descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steammessages_5funified_5fbase_2esteamworkssdk_2eproto(&descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EProtoExecutionSite_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto); - return file_level_enum_descriptors_steammessages_5funified_5fbase_2esteamworkssdk_2eproto[0]; -} -bool EProtoExecutionSite_IsValid(int value) { - switch (value) { - case 0: - case 3: - return true; - default: - return false; - } -} - -const std::string description_default(""); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> - description(kDescriptionFieldNumber, description_default, nullptr); -const std::string service_description_default(""); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::ServiceOptions, - ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> - service_description(kServiceDescriptionFieldNumber, service_description_default, nullptr); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::ServiceOptions, - ::PROTOBUF_NAMESPACE_ID::internal::EnumTypeTraits< ::EProtoExecutionSite, ::EProtoExecutionSite_IsValid>, 14, false> - service_execution_site(kServiceExecutionSiteFieldNumber, static_cast< ::EProtoExecutionSite >(0), nullptr); -const std::string method_description_default(""); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::MethodOptions, - ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> - method_description(kMethodDescriptionFieldNumber, method_description_default, nullptr); -const std::string enum_description_default(""); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumOptions, - ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> - enum_description(kEnumDescriptionFieldNumber, enum_description_default, nullptr); -const std::string enum_value_description_default(""); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, - ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> - enum_value_description(kEnumValueDescriptionFieldNumber, enum_value_description_default, nullptr); - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/steammessages_unified_base.steamworkssdk.pb.h b/protobuf/generated/steammessages_unified_base.steamworkssdk.pb.h deleted file mode 100644 index 3e4049072..000000000 --- a/protobuf/generated/steammessages_unified_base.steamworkssdk.pb.h +++ /dev/null @@ -1,129 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steammessages_unified_base.steamworkssdk.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_steammessages_5funified_5fbase_2esteamworkssdk_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_steammessages_5funified_5fbase_2esteamworkssdk_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_steammessages_5funified_5fbase_2esteamworkssdk_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_steammessages_5funified_5fbase_2esteamworkssdk_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto; -PROTOBUF_NAMESPACE_OPEN -PROTOBUF_NAMESPACE_CLOSE - -enum EProtoExecutionSite : int { - k_EProtoExecutionSiteUnknown = 0, - k_EProtoExecutionSiteSteamClient = 3 -}; -bool EProtoExecutionSite_IsValid(int value); -constexpr EProtoExecutionSite EProtoExecutionSite_MIN = k_EProtoExecutionSiteUnknown; -constexpr EProtoExecutionSite EProtoExecutionSite_MAX = k_EProtoExecutionSiteSteamClient; -constexpr int EProtoExecutionSite_ARRAYSIZE = EProtoExecutionSite_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EProtoExecutionSite_descriptor(); -template -inline const std::string& EProtoExecutionSite_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EProtoExecutionSite_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EProtoExecutionSite_descriptor(), enum_t_value); -} -inline bool EProtoExecutionSite_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EProtoExecutionSite* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EProtoExecutionSite_descriptor(), name, value); -} -// =================================================================== - - -// =================================================================== - -static const int kDescriptionFieldNumber = 50000; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > - description; -static const int kServiceDescriptionFieldNumber = 50000; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::ServiceOptions, - ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > - service_description; -static const int kServiceExecutionSiteFieldNumber = 50008; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::ServiceOptions, - ::PROTOBUF_NAMESPACE_ID::internal::EnumTypeTraits< ::EProtoExecutionSite, ::EProtoExecutionSite_IsValid>, 14, false > - service_execution_site; -static const int kMethodDescriptionFieldNumber = 50000; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::MethodOptions, - ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > - method_description; -static const int kEnumDescriptionFieldNumber = 50000; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumOptions, - ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > - enum_description; -static const int kEnumValueDescriptionFieldNumber = 50000; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, - ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > - enum_value_description; - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::EProtoExecutionSite> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EProtoExecutionSite>() { - return ::EProtoExecutionSite_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steammessages_5funified_5fbase_2esteamworkssdk_2eproto diff --git a/protobuf/generated/steamnetworkingsockets_messages.pb.cc b/protobuf/generated/steamnetworkingsockets_messages.pb.cc deleted file mode 100644 index 0ea53b7f3..000000000 --- a/protobuf/generated/steamnetworkingsockets_messages.pb.cc +++ /dev/null @@ -1,7671 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steamnetworkingsockets_messages.proto - -#include "steamnetworkingsockets_messages.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CMsgSteamDatagramSessionCryptInfo::CMsgSteamDatagramSessionCryptInfo( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ciphers_)*/{} - , /*decltype(_impl_.key_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.key_type_)*/0 - , /*decltype(_impl_.protocol_version_)*/0u - , /*decltype(_impl_.nonce_)*/uint64_t{0u}} {} -struct CMsgSteamDatagramSessionCryptInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramSessionCryptInfoDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramSessionCryptInfoDefaultTypeInternal() {} - union { - CMsgSteamDatagramSessionCryptInfo _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramSessionCryptInfoDefaultTypeInternal _CMsgSteamDatagramSessionCryptInfo_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramSessionCryptInfoSigned::CMsgSteamDatagramSessionCryptInfoSigned( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.info_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.signature_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CMsgSteamDatagramSessionCryptInfoSignedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramSessionCryptInfoSignedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramSessionCryptInfoSignedDefaultTypeInternal() {} - union { - CMsgSteamDatagramSessionCryptInfoSigned _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramSessionCryptInfoSignedDefaultTypeInternal _CMsgSteamDatagramSessionCryptInfoSigned_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramDiagnostic::CMsgSteamDatagramDiagnostic( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.severity_)*/0u} {} -struct CMsgSteamDatagramDiagnosticDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramDiagnosticDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramDiagnosticDefaultTypeInternal() {} - union { - CMsgSteamDatagramDiagnostic _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramDiagnosticDefaultTypeInternal _CMsgSteamDatagramDiagnostic_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramLinkInstantaneousStats::CMsgSteamDatagramLinkInstantaneousStats( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.out_packets_per_sec_x10_)*/0u - , /*decltype(_impl_.out_bytes_per_sec_)*/0u - , /*decltype(_impl_.in_packets_per_sec_x10_)*/0u - , /*decltype(_impl_.in_bytes_per_sec_)*/0u - , /*decltype(_impl_.ping_ms_)*/0u - , /*decltype(_impl_.packets_dropped_pct_)*/0u - , /*decltype(_impl_.packets_weird_sequence_pct_)*/0u - , /*decltype(_impl_.peak_jitter_usec_)*/0u} {} -struct CMsgSteamDatagramLinkInstantaneousStatsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramLinkInstantaneousStatsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramLinkInstantaneousStatsDefaultTypeInternal() {} - union { - CMsgSteamDatagramLinkInstantaneousStats _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramLinkInstantaneousStatsDefaultTypeInternal _CMsgSteamDatagramLinkInstantaneousStats_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramLinkLifetimeStats::CMsgSteamDatagramLinkLifetimeStats( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.multipath_packets_recv_sequenced_)*/{} - , /*decltype(_impl_.multipath_packets_recv_later_)*/{} - , /*decltype(_impl_.packets_sent_)*/uint64_t{0u} - , /*decltype(_impl_.kb_sent_)*/uint64_t{0u} - , /*decltype(_impl_.packets_recv_)*/uint64_t{0u} - , /*decltype(_impl_.kb_recv_)*/uint64_t{0u} - , /*decltype(_impl_.packets_recv_sequenced_)*/uint64_t{0u} - , /*decltype(_impl_.packets_recv_dropped_)*/uint64_t{0u} - , /*decltype(_impl_.connected_seconds_)*/0u - , /*decltype(_impl_.multipath_send_enabled_)*/0u - , /*decltype(_impl_.packets_recv_out_of_order_)*/uint64_t{0u} - , /*decltype(_impl_.packets_recv_duplicate_)*/uint64_t{0u} - , /*decltype(_impl_.packets_recv_lurch_)*/uint64_t{0u} - , /*decltype(_impl_.packets_recv_out_of_order_corrected_)*/uint64_t{0u} - , /*decltype(_impl_.quality_histogram_100_)*/0u - , /*decltype(_impl_.quality_histogram_99_)*/0u - , /*decltype(_impl_.quality_histogram_97_)*/0u - , /*decltype(_impl_.quality_histogram_95_)*/0u - , /*decltype(_impl_.quality_histogram_90_)*/0u - , /*decltype(_impl_.quality_histogram_75_)*/0u - , /*decltype(_impl_.quality_histogram_50_)*/0u - , /*decltype(_impl_.quality_histogram_1_)*/0u - , /*decltype(_impl_.quality_histogram_dead_)*/0u - , /*decltype(_impl_.quality_ntile_2nd_)*/0u - , /*decltype(_impl_.quality_ntile_5th_)*/0u - , /*decltype(_impl_.quality_ntile_25th_)*/0u - , /*decltype(_impl_.quality_ntile_50th_)*/0u - , /*decltype(_impl_.ping_histogram_25_)*/0u - , /*decltype(_impl_.ping_histogram_50_)*/0u - , /*decltype(_impl_.ping_histogram_75_)*/0u - , /*decltype(_impl_.ping_histogram_100_)*/0u - , /*decltype(_impl_.ping_histogram_125_)*/0u - , /*decltype(_impl_.ping_histogram_150_)*/0u - , /*decltype(_impl_.ping_histogram_200_)*/0u - , /*decltype(_impl_.ping_histogram_300_)*/0u - , /*decltype(_impl_.ping_histogram_max_)*/0u - , /*decltype(_impl_.ping_ntile_5th_)*/0u - , /*decltype(_impl_.ping_ntile_50th_)*/0u - , /*decltype(_impl_.ping_ntile_75th_)*/0u - , /*decltype(_impl_.ping_ntile_95th_)*/0u - , /*decltype(_impl_.ping_ntile_98th_)*/0u - , /*decltype(_impl_.jitter_histogram_negligible_)*/0u - , /*decltype(_impl_.jitter_histogram_1_)*/0u - , /*decltype(_impl_.jitter_histogram_2_)*/0u - , /*decltype(_impl_.jitter_histogram_5_)*/0u - , /*decltype(_impl_.jitter_histogram_10_)*/0u - , /*decltype(_impl_.jitter_histogram_20_)*/0u} {} -struct CMsgSteamDatagramLinkLifetimeStatsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramLinkLifetimeStatsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramLinkLifetimeStatsDefaultTypeInternal() {} - union { - CMsgSteamDatagramLinkLifetimeStats _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramLinkLifetimeStatsDefaultTypeInternal _CMsgSteamDatagramLinkLifetimeStats_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionQuality::CMsgSteamDatagramConnectionQuality( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.instantaneous_)*/nullptr - , /*decltype(_impl_.lifetime_)*/nullptr} {} -struct CMsgSteamDatagramConnectionQualityDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionQualityDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramConnectionQualityDefaultTypeInternal() {} - union { - CMsgSteamDatagramConnectionQuality _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramConnectionQualityDefaultTypeInternal _CMsgSteamDatagramConnectionQuality_default_instance_; -PROTOBUF_CONSTEXPR CMsgICECandidate::CMsgICECandidate( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.candidate_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CMsgICECandidateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgICECandidateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgICECandidateDefaultTypeInternal() {} - union { - CMsgICECandidate _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgICECandidateDefaultTypeInternal _CMsgICECandidate_default_instance_; -PROTOBUF_CONSTEXPR CMsgICERendezvous_Auth::CMsgICERendezvous_Auth( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.pwd_frag_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CMsgICERendezvous_AuthDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgICERendezvous_AuthDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgICERendezvous_AuthDefaultTypeInternal() {} - union { - CMsgICERendezvous_Auth _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgICERendezvous_AuthDefaultTypeInternal _CMsgICERendezvous_Auth_default_instance_; -PROTOBUF_CONSTEXPR CMsgICERendezvous::CMsgICERendezvous( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.add_candidate_)*/nullptr - , /*decltype(_impl_.auth_)*/nullptr} {} -struct CMsgICERendezvousDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgICERendezvousDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgICERendezvousDefaultTypeInternal() {} - union { - CMsgICERendezvous _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgICERendezvousDefaultTypeInternal _CMsgICERendezvous_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ConnectRequest::CMsgSteamNetworkingP2PRendezvous_ConnectRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.from_fakeip_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.crypt_)*/nullptr - , /*decltype(_impl_.cert_)*/nullptr - , /*decltype(_impl_.to_virtual_port_)*/0u - , /*decltype(_impl_.from_virtual_port_)*/0u} {} -struct CMsgSteamNetworkingP2PRendezvous_ConnectRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ConnectRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamNetworkingP2PRendezvous_ConnectRequestDefaultTypeInternal() {} - union { - CMsgSteamNetworkingP2PRendezvous_ConnectRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingP2PRendezvous_ConnectRequestDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ConnectRequest_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ConnectOK::CMsgSteamNetworkingP2PRendezvous_ConnectOK( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.crypt_)*/nullptr - , /*decltype(_impl_.cert_)*/nullptr} {} -struct CMsgSteamNetworkingP2PRendezvous_ConnectOKDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ConnectOKDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamNetworkingP2PRendezvous_ConnectOKDefaultTypeInternal() {} - union { - CMsgSteamNetworkingP2PRendezvous_ConnectOK _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingP2PRendezvous_ConnectOKDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ConnectOK_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.debug_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.reason_code_)*/0u} {} -struct CMsgSteamNetworkingP2PRendezvous_ConnectionClosedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ConnectionClosedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamNetworkingP2PRendezvous_ConnectionClosedDefaultTypeInternal() {} - union { - CMsgSteamNetworkingP2PRendezvous_ConnectionClosed _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingP2PRendezvous_ConnectionClosedDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ConnectionClosed_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ReliableMessage::CMsgSteamNetworkingP2PRendezvous_ReliableMessage( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ice_)*/nullptr} {} -struct CMsgSteamNetworkingP2PRendezvous_ReliableMessageDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ReliableMessageDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamNetworkingP2PRendezvous_ReliableMessageDefaultTypeInternal() {} - union { - CMsgSteamNetworkingP2PRendezvous_ReliableMessage _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingP2PRendezvous_ReliableMessageDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ReliableMessage_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.msg_num_)*/uint64_t{0u} - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.lane_idx_)*/0u} {} -struct CMsgSteamNetworkingP2PRendezvous_ApplicationMessageDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ApplicationMessageDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamNetworkingP2PRendezvous_ApplicationMessageDefaultTypeInternal() {} - union { - CMsgSteamNetworkingP2PRendezvous_ApplicationMessage _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingP2PRendezvous_ApplicationMessageDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ApplicationMessage_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous::CMsgSteamNetworkingP2PRendezvous( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.reliable_messages_)*/{} - , /*decltype(_impl_.application_messages_)*/{} - , /*decltype(_impl_.sdr_routes_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.from_identity_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.to_identity_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.hosted_server_ticket_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.connect_request_)*/nullptr - , /*decltype(_impl_.connect_ok_)*/nullptr - , /*decltype(_impl_.connection_closed_)*/nullptr - , /*decltype(_impl_.to_connection_id_)*/0u - , /*decltype(_impl_.ack_peer_routes_revision_)*/0u - , /*decltype(_impl_.ice_enabled_)*/false - , /*decltype(_impl_.from_connection_id_)*/0u - , /*decltype(_impl_.ack_reliable_msg_)*/0u - , /*decltype(_impl_.first_reliable_msg_)*/0u} {} -struct CMsgSteamNetworkingP2PRendezvousDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvousDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamNetworkingP2PRendezvousDefaultTypeInternal() {} - union { - CMsgSteamNetworkingP2PRendezvous _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingP2PRendezvousDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamNetworkingICESessionSummary::CMsgSteamNetworkingICESessionSummary( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.local_candidate_types_)*/0u - , /*decltype(_impl_.remote_candidate_types_)*/0u - , /*decltype(_impl_.initial_route_kind_)*/0u - , /*decltype(_impl_.initial_ping_)*/0u - , /*decltype(_impl_.negotiation_ms_)*/0u - , /*decltype(_impl_.initial_score_)*/0u - , /*decltype(_impl_.failure_reason_code_)*/0u - , /*decltype(_impl_.selected_seconds_)*/0u - , /*decltype(_impl_.user_settings_)*/0u - , /*decltype(_impl_.ice_enable_var_)*/0u - , /*decltype(_impl_.local_candidate_types_allowed_)*/0u - , /*decltype(_impl_.best_route_kind_)*/0u - , /*decltype(_impl_.best_ping_)*/0u - , /*decltype(_impl_.best_score_)*/0u - , /*decltype(_impl_.best_time_)*/0u} {} -struct CMsgSteamNetworkingICESessionSummaryDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamNetworkingICESessionSummaryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamNetworkingICESessionSummaryDefaultTypeInternal() {} - union { - CMsgSteamNetworkingICESessionSummary _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingICESessionSummaryDefaultTypeInternal _CMsgSteamNetworkingICESessionSummary_default_instance_; -static ::_pb::Metadata file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[16]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_steamnetworkingsockets_5fmessages_2eproto[2]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steamnetworkingsockets_5fmessages_2eproto = nullptr; - -const uint32_t TableStruct_steamnetworkingsockets_5fmessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfo, _impl_.key_type_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfo, _impl_.key_data_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfo, _impl_.nonce_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfo, _impl_.protocol_version_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfo, _impl_.ciphers_), - 1, - 0, - 3, - 2, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfoSigned, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfoSigned, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfoSigned, _impl_.info_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramSessionCryptInfoSigned, _impl_.signature_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramDiagnostic, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramDiagnostic, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramDiagnostic, _impl_.severity_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramDiagnostic, _impl_.text_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _impl_.out_packets_per_sec_x10_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _impl_.out_bytes_per_sec_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _impl_.in_packets_per_sec_x10_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _impl_.in_bytes_per_sec_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _impl_.ping_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _impl_.packets_dropped_pct_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _impl_.packets_weird_sequence_pct_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkInstantaneousStats, _impl_.peak_jitter_usec_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.connected_seconds_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.packets_sent_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.kb_sent_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.packets_recv_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.kb_recv_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.packets_recv_sequenced_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.packets_recv_dropped_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.packets_recv_out_of_order_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.packets_recv_out_of_order_corrected_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.packets_recv_duplicate_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.packets_recv_lurch_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.multipath_packets_recv_sequenced_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.multipath_packets_recv_later_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.multipath_send_enabled_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_histogram_100_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_histogram_99_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_histogram_97_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_histogram_95_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_histogram_90_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_histogram_75_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_histogram_50_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_histogram_1_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_histogram_dead_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_ntile_2nd_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_ntile_5th_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_ntile_25th_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.quality_ntile_50th_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_histogram_25_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_histogram_50_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_histogram_75_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_histogram_100_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_histogram_125_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_histogram_150_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_histogram_200_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_histogram_300_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_histogram_max_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_ntile_5th_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_ntile_50th_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_ntile_75th_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_ntile_95th_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.ping_ntile_98th_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.jitter_histogram_negligible_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.jitter_histogram_1_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.jitter_histogram_2_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.jitter_histogram_5_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.jitter_histogram_10_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramLinkLifetimeStats, _impl_.jitter_histogram_20_), - 6, - 0, - 1, - 2, - 3, - 4, - 5, - 8, - 11, - 9, - 10, - ~0u, - ~0u, - 7, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34, - 35, - 36, - 37, - 38, - 39, - 40, - 41, - 42, - 43, - 44, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionQuality, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionQuality, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionQuality, _impl_.instantaneous_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramConnectionQuality, _impl_.lifetime_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgICECandidate, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgICECandidate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgICECandidate, _impl_.candidate_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgICERendezvous_Auth, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgICERendezvous_Auth, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgICERendezvous_Auth, _impl_.pwd_frag_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgICERendezvous, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgICERendezvous, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgICERendezvous, _impl_.auth_), - PROTOBUF_FIELD_OFFSET(::CMsgICERendezvous, _impl_.add_candidate_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest, _impl_.crypt_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest, _impl_.cert_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest, _impl_.to_virtual_port_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest, _impl_.from_virtual_port_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest, _impl_.from_fakeip_), - 1, - 2, - 3, - 4, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectOK, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectOK, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectOK, _impl_.crypt_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectOK, _impl_.cert_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed, _impl_.debug_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed, _impl_.reason_code_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ReliableMessage, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ReliableMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ReliableMessage, _impl_.ice_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage, _impl_.data_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage, _impl_.msg_num_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage, _impl_.lane_idx_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.from_identity_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.from_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.to_identity_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.to_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.sdr_routes_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.ack_peer_routes_revision_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.ice_enabled_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.hosted_server_ticket_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.connect_request_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.connect_ok_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.connection_closed_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.ack_reliable_msg_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.first_reliable_msg_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.reliable_messages_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingP2PRendezvous, _impl_.application_messages_), - 1, - 10, - 2, - 7, - 0, - 8, - 9, - 3, - 4, - 5, - 6, - 11, - 12, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.failure_reason_code_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.local_candidate_types_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.remote_candidate_types_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.initial_route_kind_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.initial_ping_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.initial_score_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.negotiation_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.best_route_kind_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.best_ping_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.best_score_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.best_time_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.selected_seconds_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.user_settings_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.ice_enable_var_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingICESessionSummary, _impl_.local_candidate_types_allowed_), - 6, - 0, - 1, - 2, - 3, - 5, - 4, - 11, - 12, - 13, - 14, - 7, - 8, - 9, - 10, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 11, -1, sizeof(::CMsgSteamDatagramSessionCryptInfo)}, - { 16, 24, -1, sizeof(::CMsgSteamDatagramSessionCryptInfoSigned)}, - { 26, 34, -1, sizeof(::CMsgSteamDatagramDiagnostic)}, - { 36, 50, -1, sizeof(::CMsgSteamDatagramLinkInstantaneousStats)}, - { 58, 111, -1, sizeof(::CMsgSteamDatagramLinkLifetimeStats)}, - { 158, 166, -1, sizeof(::CMsgSteamDatagramConnectionQuality)}, - { 168, 175, -1, sizeof(::CMsgICECandidate)}, - { 176, 183, -1, sizeof(::CMsgICERendezvous_Auth)}, - { 184, 192, -1, sizeof(::CMsgICERendezvous)}, - { 194, 205, -1, sizeof(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest)}, - { 210, 218, -1, sizeof(::CMsgSteamNetworkingP2PRendezvous_ConnectOK)}, - { 220, 228, -1, sizeof(::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed)}, - { 230, 237, -1, sizeof(::CMsgSteamNetworkingP2PRendezvous_ReliableMessage)}, - { 238, 248, -1, sizeof(::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage)}, - { 252, 273, -1, sizeof(::CMsgSteamNetworkingP2PRendezvous)}, - { 288, 309, -1, sizeof(::CMsgSteamNetworkingICESessionSummary)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CMsgSteamDatagramSessionCryptInfo_default_instance_._instance, - &::_CMsgSteamDatagramSessionCryptInfoSigned_default_instance_._instance, - &::_CMsgSteamDatagramDiagnostic_default_instance_._instance, - &::_CMsgSteamDatagramLinkInstantaneousStats_default_instance_._instance, - &::_CMsgSteamDatagramLinkLifetimeStats_default_instance_._instance, - &::_CMsgSteamDatagramConnectionQuality_default_instance_._instance, - &::_CMsgICECandidate_default_instance_._instance, - &::_CMsgICERendezvous_Auth_default_instance_._instance, - &::_CMsgICERendezvous_default_instance_._instance, - &::_CMsgSteamNetworkingP2PRendezvous_ConnectRequest_default_instance_._instance, - &::_CMsgSteamNetworkingP2PRendezvous_ConnectOK_default_instance_._instance, - &::_CMsgSteamNetworkingP2PRendezvous_ConnectionClosed_default_instance_._instance, - &::_CMsgSteamNetworkingP2PRendezvous_ReliableMessage_default_instance_._instance, - &::_CMsgSteamNetworkingP2PRendezvous_ApplicationMessage_default_instance_._instance, - &::_CMsgSteamNetworkingP2PRendezvous_default_instance_._instance, - &::_CMsgSteamNetworkingICESessionSummary_default_instance_._instance, -}; - -const char descriptor_table_protodef_steamnetworkingsockets_5fmessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n%steamnetworkingsockets_messages.proto\032" - "+steamnetworkingsockets_messages_certs.p" - "roto\"\200\002\n!CMsgSteamDatagramSessionCryptIn" - "fo\022F\n\010key_type\030\001 \001(\0162+.CMsgSteamDatagram" - "SessionCryptInfo.EKeyType:\007INVALID\022\020\n\010ke" - "y_data\030\002 \001(\014\022\r\n\005nonce\030\003 \001(\006\022\030\n\020protocol_" - "version\030\004 \001(\r\022/\n\007ciphers\030\005 \003(\0162\036.ESteamN" - "etworkingSocketsCipher\"\'\n\010EKeyType\022\013\n\007IN" - "VALID\020\000\022\016\n\nCURVE25519\020\001\"J\n\'CMsgSteamData" - "gramSessionCryptInfoSigned\022\014\n\004info\030\001 \001(\014" - "\022\021\n\tsignature\030\002 \001(\014\"=\n\033CMsgSteamDatagram" - "Diagnostic\022\020\n\010severity\030\001 \001(\r\022\014\n\004text\030\002 \001" - "(\t\"\213\002\n\'CMsgSteamDatagramLinkInstantaneou" - "sStats\022\037\n\027out_packets_per_sec_x10\030\001 \001(\r\022" - "\031\n\021out_bytes_per_sec\030\002 \001(\r\022\036\n\026in_packets" - "_per_sec_x10\030\003 \001(\r\022\030\n\020in_bytes_per_sec\030\004" - " \001(\r\022\017\n\007ping_ms\030\005 \001(\r\022\033\n\023packets_dropped" - "_pct\030\006 \001(\r\022\"\n\032packets_weird_sequence_pct" - "\030\007 \001(\r\022\030\n\020peak_jitter_usec\030\010 \001(\r\"\355\n\n\"CMs" - "gSteamDatagramLinkLifetimeStats\022\031\n\021conne" - "cted_seconds\030\002 \001(\r\022\024\n\014packets_sent\030\003 \001(\004" - "\022\017\n\007kb_sent\030\004 \001(\004\022\024\n\014packets_recv\030\005 \001(\004\022" - "\017\n\007kb_recv\030\006 \001(\004\022\036\n\026packets_recv_sequenc" - "ed\030\007 \001(\004\022\034\n\024packets_recv_dropped\030\010 \001(\004\022!" - "\n\031packets_recv_out_of_order\030\t \001(\004\022+\n#pac" - "kets_recv_out_of_order_corrected\030\017 \001(\004\022\036" - "\n\026packets_recv_duplicate\030\n \001(\004\022\032\n\022packet" - "s_recv_lurch\030\013 \001(\004\022(\n multipath_packets_" - "recv_sequenced\030\014 \003(\004\022$\n\034multipath_packet" - "s_recv_later\030\r \003(\004\022\036\n\026multipath_send_ena" - "bled\030\016 \001(\r\022\035\n\025quality_histogram_100\030\025 \001(" - "\r\022\034\n\024quality_histogram_99\030\026 \001(\r\022\034\n\024quali" - "ty_histogram_97\030\027 \001(\r\022\034\n\024quality_histogr" - "am_95\030\030 \001(\r\022\034\n\024quality_histogram_90\030\031 \001(" - "\r\022\034\n\024quality_histogram_75\030\032 \001(\r\022\034\n\024quali" - "ty_histogram_50\030\033 \001(\r\022\033\n\023quality_histogr" - "am_1\030\034 \001(\r\022\036\n\026quality_histogram_dead\030\035 \001" - "(\r\022\031\n\021quality_ntile_2nd\030\036 \001(\r\022\031\n\021quality" - "_ntile_5th\030\037 \001(\r\022\032\n\022quality_ntile_25th\030 " - " \001(\r\022\032\n\022quality_ntile_50th\030! \001(\r\022\031\n\021ping" - "_histogram_25\030) \001(\r\022\031\n\021ping_histogram_50" - "\030* \001(\r\022\031\n\021ping_histogram_75\030+ \001(\r\022\032\n\022pin" - "g_histogram_100\030, \001(\r\022\032\n\022ping_histogram_" - "125\030- \001(\r\022\032\n\022ping_histogram_150\030. \001(\r\022\032\n" - "\022ping_histogram_200\030/ \001(\r\022\032\n\022ping_histog" - "ram_300\0300 \001(\r\022\032\n\022ping_histogram_max\0301 \001(" - "\r\022\026\n\016ping_ntile_5th\0302 \001(\r\022\027\n\017ping_ntile_" - "50th\0303 \001(\r\022\027\n\017ping_ntile_75th\0304 \001(\r\022\027\n\017p" - "ing_ntile_95th\0305 \001(\r\022\027\n\017ping_ntile_98th\030" - "6 \001(\r\022#\n\033jitter_histogram_negligible\030= \001" - "(\r\022\032\n\022jitter_histogram_1\030> \001(\r\022\032\n\022jitter" - "_histogram_2\030\? \001(\r\022\032\n\022jitter_histogram_5" - "\030@ \001(\r\022\033\n\023jitter_histogram_10\030A \001(\r\022\033\n\023j" - "itter_histogram_20\030B \001(\r\"\234\001\n\"CMsgSteamDa" - "tagramConnectionQuality\022\?\n\rinstantaneous" - "\030\001 \001(\0132(.CMsgSteamDatagramLinkInstantane" - "ousStats\0225\n\010lifetime\030\002 \001(\0132#.CMsgSteamDa" - "tagramLinkLifetimeStats\"%\n\020CMsgICECandid" - "ate\022\021\n\tcandidate\030\003 \001(\t\"~\n\021CMsgICERendezv" - "ous\022%\n\004auth\030\002 \001(\0132\027.CMsgICERendezvous.Au" - "th\022(\n\radd_candidate\030\001 \001(\0132\021.CMsgICECandi" - "date\032\030\n\004Auth\022\020\n\010pwd_frag\030\001 \001(\t\"\243\t\n CMsgS" - "teamNetworkingP2PRendezvous\022\025\n\rfrom_iden" - "tity\030\010 \001(\t\022\032\n\022from_connection_id\030\t \001(\007\022\023" - "\n\013to_identity\030\n \001(\t\022\030\n\020to_connection_id\030" - "\001 \001(\007\022\022\n\nsdr_routes\030\002 \001(\014\022 \n\030ack_peer_ro" - "utes_revision\030\003 \001(\r\022\023\n\013ice_enabled\030\007 \001(\010" - "\022\034\n\024hosted_server_ticket\030\016 \001(\014\022I\n\017connec" - "t_request\030\004 \001(\01320.CMsgSteamNetworkingP2P" - "Rendezvous.ConnectRequest\022\?\n\nconnect_ok\030" - "\005 \001(\0132+.CMsgSteamNetworkingP2PRendezvous" - ".ConnectOK\022M\n\021connection_closed\030\006 \001(\01322." - "CMsgSteamNetworkingP2PRendezvous.Connect" - "ionClosed\022\030\n\020ack_reliable_msg\030\013 \001(\r\022\032\n\022f" - "irst_reliable_msg\030\014 \001(\r\022L\n\021reliable_mess" - "ages\030\r \003(\01321.CMsgSteamNetworkingP2PRende" - "zvous.ReliableMessage\022R\n\024application_mes" - "sages\030\017 \003(\01324.CMsgSteamNetworkingP2PRend" - "ezvous.ApplicationMessage\032\305\001\n\016ConnectReq" - "uest\0227\n\005crypt\030\006 \001(\0132(.CMsgSteamDatagramS" - "essionCryptInfoSigned\0221\n\004cert\030\007 \001(\0132#.CM" - "sgSteamDatagramCertificateSigned\022\027\n\017to_v" - "irtual_port\030\t \001(\r\022\031\n\021from_virtual_port\030\n" - " \001(\r\022\023\n\013from_fakeip\030\013 \001(\t\032w\n\tConnectOK\0227" - "\n\005crypt\030\005 \001(\0132(.CMsgSteamDatagramSession" - "CryptInfoSigned\0221\n\004cert\030\006 \001(\0132#.CMsgStea" - "mDatagramCertificateSigned\0326\n\020Connection" - "Closed\022\r\n\005debug\030\005 \001(\t\022\023\n\013reason_code\030\006 \001" - "(\r\0322\n\017ReliableMessage\022\037\n\003ice\030\001 \001(\0132\022.CMs" - "gICERendezvous\032T\n\022ApplicationMessage\022\014\n\004" - "data\030\001 \001(\014\022\017\n\007msg_num\030\002 \001(\004\022\r\n\005flags\030\003 \001" - "(\r\022\020\n\010lane_idx\030\004 \001(\r\"\246\003\n$CMsgSteamNetwor" - "kingICESessionSummary\022\033\n\023failure_reason_" - "code\030\007 \001(\r\022\035\n\025local_candidate_types\030\001 \001(" - "\r\022\036\n\026remote_candidate_types\030\002 \001(\r\022\032\n\022ini" - "tial_route_kind\030\003 \001(\r\022\024\n\014initial_ping\030\004 " - "\001(\r\022\025\n\rinitial_score\030\006 \001(\r\022\026\n\016negotiatio" - "n_ms\030\005 \001(\r\022\027\n\017best_route_kind\030\020 \001(\r\022\021\n\tb" - "est_ping\030\021 \001(\r\022\022\n\nbest_score\030\022 \001(\r\022\021\n\tbe" - "st_time\030\023 \001(\r\022\030\n\020selected_seconds\030\014 \001(\r\022" - "\025\n\ruser_settings\030\r \001(\r\022\026\n\016ice_enable_var" - "\030\016 \001(\r\022%\n\035local_candidate_types_allowed\030" - "\017 \001(\r*\247\001\n\035ESteamNetworkingSocketsCipher\022" - "+\n\'k_ESteamNetworkingSocketsCipher_INVAL" - "ID\020\000\022(\n$k_ESteamNetworkingSocketsCipher_" - "NULL\020\001\022/\n+k_ESteamNetworkingSocketsCiphe" - "r_AES_256_GCM\020\002B\005H\001\200\001\000" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_steamnetworkingsockets_5fmessages_2eproto_deps[1] = { - &::descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto, -}; -static ::_pbi::once_flag descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_steamnetworkingsockets_5fmessages_2eproto = { - false, false, 4262, descriptor_table_protodef_steamnetworkingsockets_5fmessages_2eproto, - "steamnetworkingsockets_messages.proto", - &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, descriptor_table_steamnetworkingsockets_5fmessages_2eproto_deps, 1, 16, - schemas, file_default_instances, TableStruct_steamnetworkingsockets_5fmessages_2eproto::offsets, - file_level_metadata_steamnetworkingsockets_5fmessages_2eproto, file_level_enum_descriptors_steamnetworkingsockets_5fmessages_2eproto, - file_level_service_descriptors_steamnetworkingsockets_5fmessages_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter() { - return &descriptor_table_steamnetworkingsockets_5fmessages_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steamnetworkingsockets_5fmessages_2eproto(&descriptor_table_steamnetworkingsockets_5fmessages_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramSessionCryptInfo_EKeyType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamnetworkingsockets_5fmessages_2eproto); - return file_level_enum_descriptors_steamnetworkingsockets_5fmessages_2eproto[0]; -} -bool CMsgSteamDatagramSessionCryptInfo_EKeyType_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr CMsgSteamDatagramSessionCryptInfo_EKeyType CMsgSteamDatagramSessionCryptInfo::INVALID; -constexpr CMsgSteamDatagramSessionCryptInfo_EKeyType CMsgSteamDatagramSessionCryptInfo::CURVE25519; -constexpr CMsgSteamDatagramSessionCryptInfo_EKeyType CMsgSteamDatagramSessionCryptInfo::EKeyType_MIN; -constexpr CMsgSteamDatagramSessionCryptInfo_EKeyType CMsgSteamDatagramSessionCryptInfo::EKeyType_MAX; -constexpr int CMsgSteamDatagramSessionCryptInfo::EKeyType_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESteamNetworkingSocketsCipher_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamnetworkingsockets_5fmessages_2eproto); - return file_level_enum_descriptors_steamnetworkingsockets_5fmessages_2eproto[1]; -} -bool ESteamNetworkingSocketsCipher_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CMsgSteamDatagramSessionCryptInfo::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_key_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_key_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_nonce(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_protocol_version(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgSteamDatagramSessionCryptInfo::CMsgSteamDatagramSessionCryptInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramSessionCryptInfo) -} -CMsgSteamDatagramSessionCryptInfo::CMsgSteamDatagramSessionCryptInfo(const CMsgSteamDatagramSessionCryptInfo& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramSessionCryptInfo* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ciphers_){from._impl_.ciphers_} - , decltype(_impl_.key_data_){} - , decltype(_impl_.key_type_){} - , decltype(_impl_.protocol_version_){} - , decltype(_impl_.nonce_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.key_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.key_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_key_data()) { - _this->_impl_.key_data_.Set(from._internal_key_data(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.key_type_, &from._impl_.key_type_, - static_cast(reinterpret_cast(&_impl_.nonce_) - - reinterpret_cast(&_impl_.key_type_)) + sizeof(_impl_.nonce_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramSessionCryptInfo) -} - -inline void CMsgSteamDatagramSessionCryptInfo::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ciphers_){arena} - , decltype(_impl_.key_data_){} - , decltype(_impl_.key_type_){0} - , decltype(_impl_.protocol_version_){0u} - , decltype(_impl_.nonce_){uint64_t{0u}} - }; - _impl_.key_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.key_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramSessionCryptInfo::~CMsgSteamDatagramSessionCryptInfo() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramSessionCryptInfo) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramSessionCryptInfo::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.ciphers_.~RepeatedField(); - _impl_.key_data_.Destroy(); -} - -void CMsgSteamDatagramSessionCryptInfo::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramSessionCryptInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramSessionCryptInfo) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.ciphers_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.key_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.key_type_, 0, static_cast( - reinterpret_cast(&_impl_.nonce_) - - reinterpret_cast(&_impl_.key_type_)) + sizeof(_impl_.nonce_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramSessionCryptInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSteamDatagramSessionCryptInfo.EKeyType key_type = 1 [default = INVALID]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::CMsgSteamDatagramSessionCryptInfo_EKeyType_IsValid(val))) { - _internal_set_key_type(static_cast<::CMsgSteamDatagramSessionCryptInfo_EKeyType>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional bytes key_data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_key_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 nonce = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_nonce(&has_bits); - _impl_.nonce_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 protocol_version = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_protocol_version(&has_bits); - _impl_.protocol_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .ESteamNetworkingSocketsCipher ciphers = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - ptr -= 1; - do { - ptr += 1; - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::ESteamNetworkingSocketsCipher_IsValid(val))) { - _internal_add_ciphers(static_cast<::ESteamNetworkingSocketsCipher>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(5, val, mutable_unknown_fields()); - } - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<40>(ptr)); - } else if (static_cast(tag) == 42) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedEnumParser<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(_internal_mutable_ciphers(), ptr, ctx, ::ESteamNetworkingSocketsCipher_IsValid, &_internal_metadata_, 5); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramSessionCryptInfo::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramSessionCryptInfo) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSteamDatagramSessionCryptInfo.EKeyType key_type = 1 [default = INVALID]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_key_type(), target); - } - - // optional bytes key_data = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_key_data(), target); - } - - // optional fixed64 nonce = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_nonce(), target); - } - - // optional uint32 protocol_version = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_protocol_version(), target); - } - - // repeated .ESteamNetworkingSocketsCipher ciphers = 5; - for (int i = 0, n = this->_internal_ciphers_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 5, this->_internal_ciphers(i), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramSessionCryptInfo) - return target; -} - -size_t CMsgSteamDatagramSessionCryptInfo::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramSessionCryptInfo) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .ESteamNetworkingSocketsCipher ciphers = 5; - { - size_t data_size = 0; - unsigned int count = static_cast(this->_internal_ciphers_size());for (unsigned int i = 0; i < count; i++) { - data_size += ::_pbi::WireFormatLite::EnumSize( - this->_internal_ciphers(static_cast(i))); - } - total_size += (1UL * count) + data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional bytes key_data = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_key_data()); - } - - // optional .CMsgSteamDatagramSessionCryptInfo.EKeyType key_type = 1 [default = INVALID]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_key_type()); - } - - // optional uint32 protocol_version = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_protocol_version()); - } - - // optional fixed64 nonce = 3; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramSessionCryptInfo::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramSessionCryptInfo::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramSessionCryptInfo::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramSessionCryptInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramSessionCryptInfo) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.ciphers_.MergeFrom(from._impl_.ciphers_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_key_data(from._internal_key_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.key_type_ = from._impl_.key_type_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.protocol_version_ = from._impl_.protocol_version_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.nonce_ = from._impl_.nonce_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramSessionCryptInfo::CopyFrom(const CMsgSteamDatagramSessionCryptInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramSessionCryptInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramSessionCryptInfo::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramSessionCryptInfo::InternalSwap(CMsgSteamDatagramSessionCryptInfo* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.ciphers_.InternalSwap(&other->_impl_.ciphers_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.key_data_, lhs_arena, - &other->_impl_.key_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramSessionCryptInfo, _impl_.nonce_) - + sizeof(CMsgSteamDatagramSessionCryptInfo::_impl_.nonce_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramSessionCryptInfo, _impl_.key_type_)>( - reinterpret_cast(&_impl_.key_type_), - reinterpret_cast(&other->_impl_.key_type_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramSessionCryptInfo::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[0]); -} - -// =================================================================== - -class CMsgSteamDatagramSessionCryptInfoSigned::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_info(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_signature(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgSteamDatagramSessionCryptInfoSigned::CMsgSteamDatagramSessionCryptInfoSigned(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramSessionCryptInfoSigned) -} -CMsgSteamDatagramSessionCryptInfoSigned::CMsgSteamDatagramSessionCryptInfoSigned(const CMsgSteamDatagramSessionCryptInfoSigned& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramSessionCryptInfoSigned* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.info_){} - , decltype(_impl_.signature_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.info_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.info_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_info()) { - _this->_impl_.info_.Set(from._internal_info(), - _this->GetArenaForAllocation()); - } - _impl_.signature_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_signature()) { - _this->_impl_.signature_.Set(from._internal_signature(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramSessionCryptInfoSigned) -} - -inline void CMsgSteamDatagramSessionCryptInfoSigned::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.info_){} - , decltype(_impl_.signature_){} - }; - _impl_.info_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.info_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.signature_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramSessionCryptInfoSigned::~CMsgSteamDatagramSessionCryptInfoSigned() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramSessionCryptInfoSigned) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramSessionCryptInfoSigned::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.info_.Destroy(); - _impl_.signature_.Destroy(); -} - -void CMsgSteamDatagramSessionCryptInfoSigned::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramSessionCryptInfoSigned::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramSessionCryptInfoSigned) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.info_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.signature_.ClearNonDefaultToEmpty(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramSessionCryptInfoSigned::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes info = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_info(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes signature = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_signature(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramSessionCryptInfoSigned::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramSessionCryptInfoSigned) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes info = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_info(), target); - } - - // optional bytes signature = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_signature(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramSessionCryptInfoSigned) - return target; -} - -size_t CMsgSteamDatagramSessionCryptInfoSigned::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramSessionCryptInfoSigned) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bytes info = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_info()); - } - - // optional bytes signature = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_signature()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramSessionCryptInfoSigned::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramSessionCryptInfoSigned::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramSessionCryptInfoSigned::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramSessionCryptInfoSigned::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramSessionCryptInfoSigned) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_info(from._internal_info()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_signature(from._internal_signature()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramSessionCryptInfoSigned::CopyFrom(const CMsgSteamDatagramSessionCryptInfoSigned& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramSessionCryptInfoSigned) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramSessionCryptInfoSigned::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramSessionCryptInfoSigned::InternalSwap(CMsgSteamDatagramSessionCryptInfoSigned* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.info_, lhs_arena, - &other->_impl_.info_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.signature_, lhs_arena, - &other->_impl_.signature_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramSessionCryptInfoSigned::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[1]); -} - -// =================================================================== - -class CMsgSteamDatagramDiagnostic::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_severity(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_text(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSteamDatagramDiagnostic::CMsgSteamDatagramDiagnostic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramDiagnostic) -} -CMsgSteamDatagramDiagnostic::CMsgSteamDatagramDiagnostic(const CMsgSteamDatagramDiagnostic& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramDiagnostic* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - , decltype(_impl_.severity_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_text()) { - _this->_impl_.text_.Set(from._internal_text(), - _this->GetArenaForAllocation()); - } - _this->_impl_.severity_ = from._impl_.severity_; - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramDiagnostic) -} - -inline void CMsgSteamDatagramDiagnostic::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - , decltype(_impl_.severity_){0u} - }; - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramDiagnostic::~CMsgSteamDatagramDiagnostic() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramDiagnostic) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramDiagnostic::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.text_.Destroy(); -} - -void CMsgSteamDatagramDiagnostic::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramDiagnostic::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramDiagnostic) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.text_.ClearNonDefaultToEmpty(); - } - _impl_.severity_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramDiagnostic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 severity = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_severity(&has_bits); - _impl_.severity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string text = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_text(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramDiagnostic.text"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramDiagnostic::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramDiagnostic) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 severity = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_severity(), target); - } - - // optional string text = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_text().data(), static_cast(this->_internal_text().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramDiagnostic.text"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_text(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramDiagnostic) - return target; -} - -size_t CMsgSteamDatagramDiagnostic::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramDiagnostic) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string text = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_text()); - } - - // optional uint32 severity = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_severity()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramDiagnostic::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramDiagnostic::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramDiagnostic::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramDiagnostic::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramDiagnostic) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_text(from._internal_text()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.severity_ = from._impl_.severity_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramDiagnostic::CopyFrom(const CMsgSteamDatagramDiagnostic& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramDiagnostic) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramDiagnostic::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramDiagnostic::InternalSwap(CMsgSteamDatagramDiagnostic* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.text_, lhs_arena, - &other->_impl_.text_, rhs_arena - ); - swap(_impl_.severity_, other->_impl_.severity_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramDiagnostic::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[2]); -} - -// =================================================================== - -class CMsgSteamDatagramLinkInstantaneousStats::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_out_packets_per_sec_x10(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_out_bytes_per_sec(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_in_packets_per_sec_x10(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_in_bytes_per_sec(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_ping_ms(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_packets_dropped_pct(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_packets_weird_sequence_pct(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_peak_jitter_usec(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } -}; - -CMsgSteamDatagramLinkInstantaneousStats::CMsgSteamDatagramLinkInstantaneousStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramLinkInstantaneousStats) -} -CMsgSteamDatagramLinkInstantaneousStats::CMsgSteamDatagramLinkInstantaneousStats(const CMsgSteamDatagramLinkInstantaneousStats& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramLinkInstantaneousStats* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.out_packets_per_sec_x10_){} - , decltype(_impl_.out_bytes_per_sec_){} - , decltype(_impl_.in_packets_per_sec_x10_){} - , decltype(_impl_.in_bytes_per_sec_){} - , decltype(_impl_.ping_ms_){} - , decltype(_impl_.packets_dropped_pct_){} - , decltype(_impl_.packets_weird_sequence_pct_){} - , decltype(_impl_.peak_jitter_usec_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.out_packets_per_sec_x10_, &from._impl_.out_packets_per_sec_x10_, - static_cast(reinterpret_cast(&_impl_.peak_jitter_usec_) - - reinterpret_cast(&_impl_.out_packets_per_sec_x10_)) + sizeof(_impl_.peak_jitter_usec_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramLinkInstantaneousStats) -} - -inline void CMsgSteamDatagramLinkInstantaneousStats::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.out_packets_per_sec_x10_){0u} - , decltype(_impl_.out_bytes_per_sec_){0u} - , decltype(_impl_.in_packets_per_sec_x10_){0u} - , decltype(_impl_.in_bytes_per_sec_){0u} - , decltype(_impl_.ping_ms_){0u} - , decltype(_impl_.packets_dropped_pct_){0u} - , decltype(_impl_.packets_weird_sequence_pct_){0u} - , decltype(_impl_.peak_jitter_usec_){0u} - }; -} - -CMsgSteamDatagramLinkInstantaneousStats::~CMsgSteamDatagramLinkInstantaneousStats() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramLinkInstantaneousStats) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramLinkInstantaneousStats::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSteamDatagramLinkInstantaneousStats::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramLinkInstantaneousStats::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramLinkInstantaneousStats) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.out_packets_per_sec_x10_, 0, static_cast( - reinterpret_cast(&_impl_.peak_jitter_usec_) - - reinterpret_cast(&_impl_.out_packets_per_sec_x10_)) + sizeof(_impl_.peak_jitter_usec_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramLinkInstantaneousStats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 out_packets_per_sec_x10 = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_out_packets_per_sec_x10(&has_bits); - _impl_.out_packets_per_sec_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 out_bytes_per_sec = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_out_bytes_per_sec(&has_bits); - _impl_.out_bytes_per_sec_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 in_packets_per_sec_x10 = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_in_packets_per_sec_x10(&has_bits); - _impl_.in_packets_per_sec_x10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 in_bytes_per_sec = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_in_bytes_per_sec(&has_bits); - _impl_.in_bytes_per_sec_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ping_ms = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_ping_ms(&has_bits); - _impl_.ping_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 packets_dropped_pct = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_packets_dropped_pct(&has_bits); - _impl_.packets_dropped_pct_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 packets_weird_sequence_pct = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_packets_weird_sequence_pct(&has_bits); - _impl_.packets_weird_sequence_pct_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 peak_jitter_usec = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_peak_jitter_usec(&has_bits); - _impl_.peak_jitter_usec_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramLinkInstantaneousStats::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramLinkInstantaneousStats) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 out_packets_per_sec_x10 = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_out_packets_per_sec_x10(), target); - } - - // optional uint32 out_bytes_per_sec = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_out_bytes_per_sec(), target); - } - - // optional uint32 in_packets_per_sec_x10 = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_in_packets_per_sec_x10(), target); - } - - // optional uint32 in_bytes_per_sec = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_in_bytes_per_sec(), target); - } - - // optional uint32 ping_ms = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_ping_ms(), target); - } - - // optional uint32 packets_dropped_pct = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_packets_dropped_pct(), target); - } - - // optional uint32 packets_weird_sequence_pct = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_packets_weird_sequence_pct(), target); - } - - // optional uint32 peak_jitter_usec = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_peak_jitter_usec(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramLinkInstantaneousStats) - return target; -} - -size_t CMsgSteamDatagramLinkInstantaneousStats::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramLinkInstantaneousStats) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional uint32 out_packets_per_sec_x10 = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_out_packets_per_sec_x10()); - } - - // optional uint32 out_bytes_per_sec = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_out_bytes_per_sec()); - } - - // optional uint32 in_packets_per_sec_x10 = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_in_packets_per_sec_x10()); - } - - // optional uint32 in_bytes_per_sec = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_in_bytes_per_sec()); - } - - // optional uint32 ping_ms = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ping_ms()); - } - - // optional uint32 packets_dropped_pct = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_packets_dropped_pct()); - } - - // optional uint32 packets_weird_sequence_pct = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_packets_weird_sequence_pct()); - } - - // optional uint32 peak_jitter_usec = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_peak_jitter_usec()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramLinkInstantaneousStats::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramLinkInstantaneousStats::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramLinkInstantaneousStats::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramLinkInstantaneousStats::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramLinkInstantaneousStats) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.out_packets_per_sec_x10_ = from._impl_.out_packets_per_sec_x10_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.out_bytes_per_sec_ = from._impl_.out_bytes_per_sec_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.in_packets_per_sec_x10_ = from._impl_.in_packets_per_sec_x10_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.in_bytes_per_sec_ = from._impl_.in_bytes_per_sec_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.ping_ms_ = from._impl_.ping_ms_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.packets_dropped_pct_ = from._impl_.packets_dropped_pct_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.packets_weird_sequence_pct_ = from._impl_.packets_weird_sequence_pct_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.peak_jitter_usec_ = from._impl_.peak_jitter_usec_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramLinkInstantaneousStats::CopyFrom(const CMsgSteamDatagramLinkInstantaneousStats& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramLinkInstantaneousStats) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramLinkInstantaneousStats::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramLinkInstantaneousStats::InternalSwap(CMsgSteamDatagramLinkInstantaneousStats* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramLinkInstantaneousStats, _impl_.peak_jitter_usec_) - + sizeof(CMsgSteamDatagramLinkInstantaneousStats::_impl_.peak_jitter_usec_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramLinkInstantaneousStats, _impl_.out_packets_per_sec_x10_)>( - reinterpret_cast(&_impl_.out_packets_per_sec_x10_), - reinterpret_cast(&other->_impl_.out_packets_per_sec_x10_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramLinkInstantaneousStats::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[3]); -} - -// =================================================================== - -class CMsgSteamDatagramLinkLifetimeStats::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_connected_seconds(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_packets_sent(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_kb_sent(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_packets_recv(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_kb_recv(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_packets_recv_sequenced(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_packets_recv_dropped(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_packets_recv_out_of_order(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_packets_recv_out_of_order_corrected(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_packets_recv_duplicate(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_packets_recv_lurch(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_multipath_send_enabled(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_quality_histogram_100(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_quality_histogram_99(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_quality_histogram_97(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_quality_histogram_95(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_quality_histogram_90(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_quality_histogram_75(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } - static void set_has_quality_histogram_50(HasBits* has_bits) { - (*has_bits)[0] |= 262144u; - } - static void set_has_quality_histogram_1(HasBits* has_bits) { - (*has_bits)[0] |= 524288u; - } - static void set_has_quality_histogram_dead(HasBits* has_bits) { - (*has_bits)[0] |= 1048576u; - } - static void set_has_quality_ntile_2nd(HasBits* has_bits) { - (*has_bits)[0] |= 2097152u; - } - static void set_has_quality_ntile_5th(HasBits* has_bits) { - (*has_bits)[0] |= 4194304u; - } - static void set_has_quality_ntile_25th(HasBits* has_bits) { - (*has_bits)[0] |= 8388608u; - } - static void set_has_quality_ntile_50th(HasBits* has_bits) { - (*has_bits)[0] |= 16777216u; - } - static void set_has_ping_histogram_25(HasBits* has_bits) { - (*has_bits)[0] |= 33554432u; - } - static void set_has_ping_histogram_50(HasBits* has_bits) { - (*has_bits)[0] |= 67108864u; - } - static void set_has_ping_histogram_75(HasBits* has_bits) { - (*has_bits)[0] |= 134217728u; - } - static void set_has_ping_histogram_100(HasBits* has_bits) { - (*has_bits)[0] |= 268435456u; - } - static void set_has_ping_histogram_125(HasBits* has_bits) { - (*has_bits)[0] |= 536870912u; - } - static void set_has_ping_histogram_150(HasBits* has_bits) { - (*has_bits)[0] |= 1073741824u; - } - static void set_has_ping_histogram_200(HasBits* has_bits) { - (*has_bits)[0] |= 2147483648u; - } - static void set_has_ping_histogram_300(HasBits* has_bits) { - (*has_bits)[1] |= 1u; - } - static void set_has_ping_histogram_max(HasBits* has_bits) { - (*has_bits)[1] |= 2u; - } - static void set_has_ping_ntile_5th(HasBits* has_bits) { - (*has_bits)[1] |= 4u; - } - static void set_has_ping_ntile_50th(HasBits* has_bits) { - (*has_bits)[1] |= 8u; - } - static void set_has_ping_ntile_75th(HasBits* has_bits) { - (*has_bits)[1] |= 16u; - } - static void set_has_ping_ntile_95th(HasBits* has_bits) { - (*has_bits)[1] |= 32u; - } - static void set_has_ping_ntile_98th(HasBits* has_bits) { - (*has_bits)[1] |= 64u; - } - static void set_has_jitter_histogram_negligible(HasBits* has_bits) { - (*has_bits)[1] |= 128u; - } - static void set_has_jitter_histogram_1(HasBits* has_bits) { - (*has_bits)[1] |= 256u; - } - static void set_has_jitter_histogram_2(HasBits* has_bits) { - (*has_bits)[1] |= 512u; - } - static void set_has_jitter_histogram_5(HasBits* has_bits) { - (*has_bits)[1] |= 1024u; - } - static void set_has_jitter_histogram_10(HasBits* has_bits) { - (*has_bits)[1] |= 2048u; - } - static void set_has_jitter_histogram_20(HasBits* has_bits) { - (*has_bits)[1] |= 4096u; - } -}; - -CMsgSteamDatagramLinkLifetimeStats::CMsgSteamDatagramLinkLifetimeStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramLinkLifetimeStats) -} -CMsgSteamDatagramLinkLifetimeStats::CMsgSteamDatagramLinkLifetimeStats(const CMsgSteamDatagramLinkLifetimeStats& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramLinkLifetimeStats* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.multipath_packets_recv_sequenced_){from._impl_.multipath_packets_recv_sequenced_} - , decltype(_impl_.multipath_packets_recv_later_){from._impl_.multipath_packets_recv_later_} - , decltype(_impl_.packets_sent_){} - , decltype(_impl_.kb_sent_){} - , decltype(_impl_.packets_recv_){} - , decltype(_impl_.kb_recv_){} - , decltype(_impl_.packets_recv_sequenced_){} - , decltype(_impl_.packets_recv_dropped_){} - , decltype(_impl_.connected_seconds_){} - , decltype(_impl_.multipath_send_enabled_){} - , decltype(_impl_.packets_recv_out_of_order_){} - , decltype(_impl_.packets_recv_duplicate_){} - , decltype(_impl_.packets_recv_lurch_){} - , decltype(_impl_.packets_recv_out_of_order_corrected_){} - , decltype(_impl_.quality_histogram_100_){} - , decltype(_impl_.quality_histogram_99_){} - , decltype(_impl_.quality_histogram_97_){} - , decltype(_impl_.quality_histogram_95_){} - , decltype(_impl_.quality_histogram_90_){} - , decltype(_impl_.quality_histogram_75_){} - , decltype(_impl_.quality_histogram_50_){} - , decltype(_impl_.quality_histogram_1_){} - , decltype(_impl_.quality_histogram_dead_){} - , decltype(_impl_.quality_ntile_2nd_){} - , decltype(_impl_.quality_ntile_5th_){} - , decltype(_impl_.quality_ntile_25th_){} - , decltype(_impl_.quality_ntile_50th_){} - , decltype(_impl_.ping_histogram_25_){} - , decltype(_impl_.ping_histogram_50_){} - , decltype(_impl_.ping_histogram_75_){} - , decltype(_impl_.ping_histogram_100_){} - , decltype(_impl_.ping_histogram_125_){} - , decltype(_impl_.ping_histogram_150_){} - , decltype(_impl_.ping_histogram_200_){} - , decltype(_impl_.ping_histogram_300_){} - , decltype(_impl_.ping_histogram_max_){} - , decltype(_impl_.ping_ntile_5th_){} - , decltype(_impl_.ping_ntile_50th_){} - , decltype(_impl_.ping_ntile_75th_){} - , decltype(_impl_.ping_ntile_95th_){} - , decltype(_impl_.ping_ntile_98th_){} - , decltype(_impl_.jitter_histogram_negligible_){} - , decltype(_impl_.jitter_histogram_1_){} - , decltype(_impl_.jitter_histogram_2_){} - , decltype(_impl_.jitter_histogram_5_){} - , decltype(_impl_.jitter_histogram_10_){} - , decltype(_impl_.jitter_histogram_20_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.packets_sent_, &from._impl_.packets_sent_, - static_cast(reinterpret_cast(&_impl_.jitter_histogram_20_) - - reinterpret_cast(&_impl_.packets_sent_)) + sizeof(_impl_.jitter_histogram_20_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramLinkLifetimeStats) -} - -inline void CMsgSteamDatagramLinkLifetimeStats::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.multipath_packets_recv_sequenced_){arena} - , decltype(_impl_.multipath_packets_recv_later_){arena} - , decltype(_impl_.packets_sent_){uint64_t{0u}} - , decltype(_impl_.kb_sent_){uint64_t{0u}} - , decltype(_impl_.packets_recv_){uint64_t{0u}} - , decltype(_impl_.kb_recv_){uint64_t{0u}} - , decltype(_impl_.packets_recv_sequenced_){uint64_t{0u}} - , decltype(_impl_.packets_recv_dropped_){uint64_t{0u}} - , decltype(_impl_.connected_seconds_){0u} - , decltype(_impl_.multipath_send_enabled_){0u} - , decltype(_impl_.packets_recv_out_of_order_){uint64_t{0u}} - , decltype(_impl_.packets_recv_duplicate_){uint64_t{0u}} - , decltype(_impl_.packets_recv_lurch_){uint64_t{0u}} - , decltype(_impl_.packets_recv_out_of_order_corrected_){uint64_t{0u}} - , decltype(_impl_.quality_histogram_100_){0u} - , decltype(_impl_.quality_histogram_99_){0u} - , decltype(_impl_.quality_histogram_97_){0u} - , decltype(_impl_.quality_histogram_95_){0u} - , decltype(_impl_.quality_histogram_90_){0u} - , decltype(_impl_.quality_histogram_75_){0u} - , decltype(_impl_.quality_histogram_50_){0u} - , decltype(_impl_.quality_histogram_1_){0u} - , decltype(_impl_.quality_histogram_dead_){0u} - , decltype(_impl_.quality_ntile_2nd_){0u} - , decltype(_impl_.quality_ntile_5th_){0u} - , decltype(_impl_.quality_ntile_25th_){0u} - , decltype(_impl_.quality_ntile_50th_){0u} - , decltype(_impl_.ping_histogram_25_){0u} - , decltype(_impl_.ping_histogram_50_){0u} - , decltype(_impl_.ping_histogram_75_){0u} - , decltype(_impl_.ping_histogram_100_){0u} - , decltype(_impl_.ping_histogram_125_){0u} - , decltype(_impl_.ping_histogram_150_){0u} - , decltype(_impl_.ping_histogram_200_){0u} - , decltype(_impl_.ping_histogram_300_){0u} - , decltype(_impl_.ping_histogram_max_){0u} - , decltype(_impl_.ping_ntile_5th_){0u} - , decltype(_impl_.ping_ntile_50th_){0u} - , decltype(_impl_.ping_ntile_75th_){0u} - , decltype(_impl_.ping_ntile_95th_){0u} - , decltype(_impl_.ping_ntile_98th_){0u} - , decltype(_impl_.jitter_histogram_negligible_){0u} - , decltype(_impl_.jitter_histogram_1_){0u} - , decltype(_impl_.jitter_histogram_2_){0u} - , decltype(_impl_.jitter_histogram_5_){0u} - , decltype(_impl_.jitter_histogram_10_){0u} - , decltype(_impl_.jitter_histogram_20_){0u} - }; -} - -CMsgSteamDatagramLinkLifetimeStats::~CMsgSteamDatagramLinkLifetimeStats() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramLinkLifetimeStats) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramLinkLifetimeStats::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.multipath_packets_recv_sequenced_.~RepeatedField(); - _impl_.multipath_packets_recv_later_.~RepeatedField(); -} - -void CMsgSteamDatagramLinkLifetimeStats::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramLinkLifetimeStats::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramLinkLifetimeStats) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.multipath_packets_recv_sequenced_.Clear(); - _impl_.multipath_packets_recv_later_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.packets_sent_, 0, static_cast( - reinterpret_cast(&_impl_.multipath_send_enabled_) - - reinterpret_cast(&_impl_.packets_sent_)) + sizeof(_impl_.multipath_send_enabled_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.packets_recv_out_of_order_, 0, static_cast( - reinterpret_cast(&_impl_.quality_histogram_95_) - - reinterpret_cast(&_impl_.packets_recv_out_of_order_)) + sizeof(_impl_.quality_histogram_95_)); - } - if (cached_has_bits & 0x00ff0000u) { - ::memset(&_impl_.quality_histogram_90_, 0, static_cast( - reinterpret_cast(&_impl_.quality_ntile_25th_) - - reinterpret_cast(&_impl_.quality_histogram_90_)) + sizeof(_impl_.quality_ntile_25th_)); - } - if (cached_has_bits & 0xff000000u) { - ::memset(&_impl_.quality_ntile_50th_, 0, static_cast( - reinterpret_cast(&_impl_.ping_histogram_200_) - - reinterpret_cast(&_impl_.quality_ntile_50th_)) + sizeof(_impl_.ping_histogram_200_)); - } - cached_has_bits = _impl_._has_bits_[1]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.ping_histogram_300_, 0, static_cast( - reinterpret_cast(&_impl_.jitter_histogram_negligible_) - - reinterpret_cast(&_impl_.ping_histogram_300_)) + sizeof(_impl_.jitter_histogram_negligible_)); - } - if (cached_has_bits & 0x00001f00u) { - ::memset(&_impl_.jitter_histogram_1_, 0, static_cast( - reinterpret_cast(&_impl_.jitter_histogram_20_) - - reinterpret_cast(&_impl_.jitter_histogram_1_)) + sizeof(_impl_.jitter_histogram_20_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramLinkLifetimeStats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 connected_seconds = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_connected_seconds(&_impl_._has_bits_); - _impl_.connected_seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 packets_sent = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_packets_sent(&_impl_._has_bits_); - _impl_.packets_sent_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 kb_sent = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_kb_sent(&_impl_._has_bits_); - _impl_.kb_sent_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 packets_recv = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_packets_recv(&_impl_._has_bits_); - _impl_.packets_recv_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 kb_recv = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_kb_recv(&_impl_._has_bits_); - _impl_.kb_recv_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 packets_recv_sequenced = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_packets_recv_sequenced(&_impl_._has_bits_); - _impl_.packets_recv_sequenced_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 packets_recv_dropped = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_packets_recv_dropped(&_impl_._has_bits_); - _impl_.packets_recv_dropped_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 packets_recv_out_of_order = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_packets_recv_out_of_order(&_impl_._has_bits_); - _impl_.packets_recv_out_of_order_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 packets_recv_duplicate = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_packets_recv_duplicate(&_impl_._has_bits_); - _impl_.packets_recv_duplicate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 packets_recv_lurch = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_packets_recv_lurch(&_impl_._has_bits_); - _impl_.packets_recv_lurch_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint64 multipath_packets_recv_sequenced = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_multipath_packets_recv_sequenced(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<96>(ptr)); - } else if (static_cast(tag) == 98) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_multipath_packets_recv_sequenced(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint64 multipath_packets_recv_later = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_multipath_packets_recv_later(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<104>(ptr)); - } else if (static_cast(tag) == 106) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(_internal_mutable_multipath_packets_recv_later(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 multipath_send_enabled = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_multipath_send_enabled(&_impl_._has_bits_); - _impl_.multipath_send_enabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 packets_recv_out_of_order_corrected = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_packets_recv_out_of_order_corrected(&_impl_._has_bits_); - _impl_.packets_recv_out_of_order_corrected_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 quality_histogram_100 = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { - _Internal::set_has_quality_histogram_100(&_impl_._has_bits_); - _impl_.quality_histogram_100_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 quality_histogram_99 = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { - _Internal::set_has_quality_histogram_99(&_impl_._has_bits_); - _impl_.quality_histogram_99_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 quality_histogram_97 = 23; - case 23: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 184)) { - _Internal::set_has_quality_histogram_97(&_impl_._has_bits_); - _impl_.quality_histogram_97_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 quality_histogram_95 = 24; - case 24: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 192)) { - _Internal::set_has_quality_histogram_95(&_impl_._has_bits_); - _impl_.quality_histogram_95_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 quality_histogram_90 = 25; - case 25: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 200)) { - _Internal::set_has_quality_histogram_90(&_impl_._has_bits_); - _impl_.quality_histogram_90_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 quality_histogram_75 = 26; - case 26: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 208)) { - _Internal::set_has_quality_histogram_75(&_impl_._has_bits_); - _impl_.quality_histogram_75_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 quality_histogram_50 = 27; - case 27: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 216)) { - _Internal::set_has_quality_histogram_50(&_impl_._has_bits_); - _impl_.quality_histogram_50_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 quality_histogram_1 = 28; - case 28: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 224)) { - _Internal::set_has_quality_histogram_1(&_impl_._has_bits_); - _impl_.quality_histogram_1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 quality_histogram_dead = 29; - case 29: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 232)) { - _Internal::set_has_quality_histogram_dead(&_impl_._has_bits_); - _impl_.quality_histogram_dead_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 quality_ntile_2nd = 30; - case 30: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 240)) { - _Internal::set_has_quality_ntile_2nd(&_impl_._has_bits_); - _impl_.quality_ntile_2nd_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 quality_ntile_5th = 31; - case 31: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 248)) { - _Internal::set_has_quality_ntile_5th(&_impl_._has_bits_); - _impl_.quality_ntile_5th_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 quality_ntile_25th = 32; - case 32: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { - _Internal::set_has_quality_ntile_25th(&_impl_._has_bits_); - _impl_.quality_ntile_25th_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 quality_ntile_50th = 33; - case 33: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_quality_ntile_50th(&_impl_._has_bits_); - _impl_.quality_ntile_50th_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ping_histogram_25 = 41; - case 41: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_ping_histogram_25(&_impl_._has_bits_); - _impl_.ping_histogram_25_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ping_histogram_50 = 42; - case 42: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_ping_histogram_50(&_impl_._has_bits_); - _impl_.ping_histogram_50_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ping_histogram_75 = 43; - case 43: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_ping_histogram_75(&_impl_._has_bits_); - _impl_.ping_histogram_75_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ping_histogram_100 = 44; - case 44: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_ping_histogram_100(&_impl_._has_bits_); - _impl_.ping_histogram_100_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ping_histogram_125 = 45; - case 45: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_ping_histogram_125(&_impl_._has_bits_); - _impl_.ping_histogram_125_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ping_histogram_150 = 46; - case 46: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_ping_histogram_150(&_impl_._has_bits_); - _impl_.ping_histogram_150_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ping_histogram_200 = 47; - case 47: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_ping_histogram_200(&_impl_._has_bits_); - _impl_.ping_histogram_200_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ping_histogram_300 = 48; - case 48: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_ping_histogram_300(&_impl_._has_bits_); - _impl_.ping_histogram_300_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ping_histogram_max = 49; - case 49: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_ping_histogram_max(&_impl_._has_bits_); - _impl_.ping_histogram_max_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ping_ntile_5th = 50; - case 50: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_ping_ntile_5th(&_impl_._has_bits_); - _impl_.ping_ntile_5th_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ping_ntile_50th = 51; - case 51: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_ping_ntile_50th(&_impl_._has_bits_); - _impl_.ping_ntile_50th_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ping_ntile_75th = 52; - case 52: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { - _Internal::set_has_ping_ntile_75th(&_impl_._has_bits_); - _impl_.ping_ntile_75th_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ping_ntile_95th = 53; - case 53: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { - _Internal::set_has_ping_ntile_95th(&_impl_._has_bits_); - _impl_.ping_ntile_95th_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ping_ntile_98th = 54; - case 54: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 176)) { - _Internal::set_has_ping_ntile_98th(&_impl_._has_bits_); - _impl_.ping_ntile_98th_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 jitter_histogram_negligible = 61; - case 61: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 232)) { - _Internal::set_has_jitter_histogram_negligible(&_impl_._has_bits_); - _impl_.jitter_histogram_negligible_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 jitter_histogram_1 = 62; - case 62: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 240)) { - _Internal::set_has_jitter_histogram_1(&_impl_._has_bits_); - _impl_.jitter_histogram_1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 jitter_histogram_2 = 63; - case 63: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 248)) { - _Internal::set_has_jitter_histogram_2(&_impl_._has_bits_); - _impl_.jitter_histogram_2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 jitter_histogram_5 = 64; - case 64: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 0)) { - _Internal::set_has_jitter_histogram_5(&_impl_._has_bits_); - _impl_.jitter_histogram_5_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 jitter_histogram_10 = 65; - case 65: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_jitter_histogram_10(&_impl_._has_bits_); - _impl_.jitter_histogram_10_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 jitter_histogram_20 = 66; - case 66: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_jitter_histogram_20(&_impl_._has_bits_); - _impl_.jitter_histogram_20_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramLinkLifetimeStats::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramLinkLifetimeStats) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 connected_seconds = 2; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_connected_seconds(), target); - } - - // optional uint64 packets_sent = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_packets_sent(), target); - } - - // optional uint64 kb_sent = 4; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_kb_sent(), target); - } - - // optional uint64 packets_recv = 5; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_packets_recv(), target); - } - - // optional uint64 kb_recv = 6; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_kb_recv(), target); - } - - // optional uint64 packets_recv_sequenced = 7; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_packets_recv_sequenced(), target); - } - - // optional uint64 packets_recv_dropped = 8; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_packets_recv_dropped(), target); - } - - // optional uint64 packets_recv_out_of_order = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(9, this->_internal_packets_recv_out_of_order(), target); - } - - // optional uint64 packets_recv_duplicate = 10; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(10, this->_internal_packets_recv_duplicate(), target); - } - - // optional uint64 packets_recv_lurch = 11; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(11, this->_internal_packets_recv_lurch(), target); - } - - // repeated uint64 multipath_packets_recv_sequenced = 12; - for (int i = 0, n = this->_internal_multipath_packets_recv_sequenced_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(12, this->_internal_multipath_packets_recv_sequenced(i), target); - } - - // repeated uint64 multipath_packets_recv_later = 13; - for (int i = 0, n = this->_internal_multipath_packets_recv_later_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(13, this->_internal_multipath_packets_recv_later(i), target); - } - - // optional uint32 multipath_send_enabled = 14; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_multipath_send_enabled(), target); - } - - // optional uint64 packets_recv_out_of_order_corrected = 15; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(15, this->_internal_packets_recv_out_of_order_corrected(), target); - } - - // optional uint32 quality_histogram_100 = 21; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_quality_histogram_100(), target); - } - - // optional uint32 quality_histogram_99 = 22; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_quality_histogram_99(), target); - } - - // optional uint32 quality_histogram_97 = 23; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(23, this->_internal_quality_histogram_97(), target); - } - - // optional uint32 quality_histogram_95 = 24; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(24, this->_internal_quality_histogram_95(), target); - } - - // optional uint32 quality_histogram_90 = 25; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(25, this->_internal_quality_histogram_90(), target); - } - - // optional uint32 quality_histogram_75 = 26; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(26, this->_internal_quality_histogram_75(), target); - } - - // optional uint32 quality_histogram_50 = 27; - if (cached_has_bits & 0x00040000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(27, this->_internal_quality_histogram_50(), target); - } - - // optional uint32 quality_histogram_1 = 28; - if (cached_has_bits & 0x00080000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(28, this->_internal_quality_histogram_1(), target); - } - - // optional uint32 quality_histogram_dead = 29; - if (cached_has_bits & 0x00100000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(29, this->_internal_quality_histogram_dead(), target); - } - - // optional uint32 quality_ntile_2nd = 30; - if (cached_has_bits & 0x00200000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(30, this->_internal_quality_ntile_2nd(), target); - } - - // optional uint32 quality_ntile_5th = 31; - if (cached_has_bits & 0x00400000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(31, this->_internal_quality_ntile_5th(), target); - } - - // optional uint32 quality_ntile_25th = 32; - if (cached_has_bits & 0x00800000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(32, this->_internal_quality_ntile_25th(), target); - } - - // optional uint32 quality_ntile_50th = 33; - if (cached_has_bits & 0x01000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(33, this->_internal_quality_ntile_50th(), target); - } - - // optional uint32 ping_histogram_25 = 41; - if (cached_has_bits & 0x02000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(41, this->_internal_ping_histogram_25(), target); - } - - // optional uint32 ping_histogram_50 = 42; - if (cached_has_bits & 0x04000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(42, this->_internal_ping_histogram_50(), target); - } - - // optional uint32 ping_histogram_75 = 43; - if (cached_has_bits & 0x08000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(43, this->_internal_ping_histogram_75(), target); - } - - // optional uint32 ping_histogram_100 = 44; - if (cached_has_bits & 0x10000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(44, this->_internal_ping_histogram_100(), target); - } - - // optional uint32 ping_histogram_125 = 45; - if (cached_has_bits & 0x20000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(45, this->_internal_ping_histogram_125(), target); - } - - // optional uint32 ping_histogram_150 = 46; - if (cached_has_bits & 0x40000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(46, this->_internal_ping_histogram_150(), target); - } - - // optional uint32 ping_histogram_200 = 47; - if (cached_has_bits & 0x80000000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(47, this->_internal_ping_histogram_200(), target); - } - - cached_has_bits = _impl_._has_bits_[1]; - // optional uint32 ping_histogram_300 = 48; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(48, this->_internal_ping_histogram_300(), target); - } - - // optional uint32 ping_histogram_max = 49; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(49, this->_internal_ping_histogram_max(), target); - } - - // optional uint32 ping_ntile_5th = 50; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(50, this->_internal_ping_ntile_5th(), target); - } - - // optional uint32 ping_ntile_50th = 51; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(51, this->_internal_ping_ntile_50th(), target); - } - - // optional uint32 ping_ntile_75th = 52; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(52, this->_internal_ping_ntile_75th(), target); - } - - // optional uint32 ping_ntile_95th = 53; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(53, this->_internal_ping_ntile_95th(), target); - } - - // optional uint32 ping_ntile_98th = 54; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(54, this->_internal_ping_ntile_98th(), target); - } - - // optional uint32 jitter_histogram_negligible = 61; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(61, this->_internal_jitter_histogram_negligible(), target); - } - - // optional uint32 jitter_histogram_1 = 62; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(62, this->_internal_jitter_histogram_1(), target); - } - - // optional uint32 jitter_histogram_2 = 63; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(63, this->_internal_jitter_histogram_2(), target); - } - - // optional uint32 jitter_histogram_5 = 64; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(64, this->_internal_jitter_histogram_5(), target); - } - - // optional uint32 jitter_histogram_10 = 65; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(65, this->_internal_jitter_histogram_10(), target); - } - - // optional uint32 jitter_histogram_20 = 66; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(66, this->_internal_jitter_histogram_20(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramLinkLifetimeStats) - return target; -} - -size_t CMsgSteamDatagramLinkLifetimeStats::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramLinkLifetimeStats) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint64 multipath_packets_recv_sequenced = 12; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt64Size(this->_impl_.multipath_packets_recv_sequenced_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_multipath_packets_recv_sequenced_size()); - total_size += data_size; - } - - // repeated uint64 multipath_packets_recv_later = 13; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt64Size(this->_impl_.multipath_packets_recv_later_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_multipath_packets_recv_later_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional uint64 packets_sent = 3; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_packets_sent()); - } - - // optional uint64 kb_sent = 4; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_kb_sent()); - } - - // optional uint64 packets_recv = 5; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_packets_recv()); - } - - // optional uint64 kb_recv = 6; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_kb_recv()); - } - - // optional uint64 packets_recv_sequenced = 7; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_packets_recv_sequenced()); - } - - // optional uint64 packets_recv_dropped = 8; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_packets_recv_dropped()); - } - - // optional uint32 connected_seconds = 2; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_connected_seconds()); - } - - // optional uint32 multipath_send_enabled = 14; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_multipath_send_enabled()); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional uint64 packets_recv_out_of_order = 9; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_packets_recv_out_of_order()); - } - - // optional uint64 packets_recv_duplicate = 10; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_packets_recv_duplicate()); - } - - // optional uint64 packets_recv_lurch = 11; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_packets_recv_lurch()); - } - - // optional uint64 packets_recv_out_of_order_corrected = 15; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_packets_recv_out_of_order_corrected()); - } - - // optional uint32 quality_histogram_100 = 21; - if (cached_has_bits & 0x00001000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_quality_histogram_100()); - } - - // optional uint32 quality_histogram_99 = 22; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_quality_histogram_99()); - } - - // optional uint32 quality_histogram_97 = 23; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_quality_histogram_97()); - } - - // optional uint32 quality_histogram_95 = 24; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_quality_histogram_95()); - } - - } - if (cached_has_bits & 0x00ff0000u) { - // optional uint32 quality_histogram_90 = 25; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_quality_histogram_90()); - } - - // optional uint32 quality_histogram_75 = 26; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_quality_histogram_75()); - } - - // optional uint32 quality_histogram_50 = 27; - if (cached_has_bits & 0x00040000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_quality_histogram_50()); - } - - // optional uint32 quality_histogram_1 = 28; - if (cached_has_bits & 0x00080000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_quality_histogram_1()); - } - - // optional uint32 quality_histogram_dead = 29; - if (cached_has_bits & 0x00100000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_quality_histogram_dead()); - } - - // optional uint32 quality_ntile_2nd = 30; - if (cached_has_bits & 0x00200000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_quality_ntile_2nd()); - } - - // optional uint32 quality_ntile_5th = 31; - if (cached_has_bits & 0x00400000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_quality_ntile_5th()); - } - - // optional uint32 quality_ntile_25th = 32; - if (cached_has_bits & 0x00800000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_quality_ntile_25th()); - } - - } - if (cached_has_bits & 0xff000000u) { - // optional uint32 quality_ntile_50th = 33; - if (cached_has_bits & 0x01000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_quality_ntile_50th()); - } - - // optional uint32 ping_histogram_25 = 41; - if (cached_has_bits & 0x02000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ping_histogram_25()); - } - - // optional uint32 ping_histogram_50 = 42; - if (cached_has_bits & 0x04000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ping_histogram_50()); - } - - // optional uint32 ping_histogram_75 = 43; - if (cached_has_bits & 0x08000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ping_histogram_75()); - } - - // optional uint32 ping_histogram_100 = 44; - if (cached_has_bits & 0x10000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ping_histogram_100()); - } - - // optional uint32 ping_histogram_125 = 45; - if (cached_has_bits & 0x20000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ping_histogram_125()); - } - - // optional uint32 ping_histogram_150 = 46; - if (cached_has_bits & 0x40000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ping_histogram_150()); - } - - // optional uint32 ping_histogram_200 = 47; - if (cached_has_bits & 0x80000000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ping_histogram_200()); - } - - } - cached_has_bits = _impl_._has_bits_[1]; - if (cached_has_bits & 0x000000ffu) { - // optional uint32 ping_histogram_300 = 48; - if (cached_has_bits & 0x00000001u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ping_histogram_300()); - } - - // optional uint32 ping_histogram_max = 49; - if (cached_has_bits & 0x00000002u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ping_histogram_max()); - } - - // optional uint32 ping_ntile_5th = 50; - if (cached_has_bits & 0x00000004u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ping_ntile_5th()); - } - - // optional uint32 ping_ntile_50th = 51; - if (cached_has_bits & 0x00000008u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ping_ntile_50th()); - } - - // optional uint32 ping_ntile_75th = 52; - if (cached_has_bits & 0x00000010u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ping_ntile_75th()); - } - - // optional uint32 ping_ntile_95th = 53; - if (cached_has_bits & 0x00000020u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ping_ntile_95th()); - } - - // optional uint32 ping_ntile_98th = 54; - if (cached_has_bits & 0x00000040u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_ping_ntile_98th()); - } - - // optional uint32 jitter_histogram_negligible = 61; - if (cached_has_bits & 0x00000080u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_jitter_histogram_negligible()); - } - - } - if (cached_has_bits & 0x00001f00u) { - // optional uint32 jitter_histogram_1 = 62; - if (cached_has_bits & 0x00000100u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_jitter_histogram_1()); - } - - // optional uint32 jitter_histogram_2 = 63; - if (cached_has_bits & 0x00000200u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_jitter_histogram_2()); - } - - // optional uint32 jitter_histogram_5 = 64; - if (cached_has_bits & 0x00000400u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_jitter_histogram_5()); - } - - // optional uint32 jitter_histogram_10 = 65; - if (cached_has_bits & 0x00000800u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_jitter_histogram_10()); - } - - // optional uint32 jitter_histogram_20 = 66; - if (cached_has_bits & 0x00001000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_jitter_histogram_20()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramLinkLifetimeStats::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramLinkLifetimeStats::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramLinkLifetimeStats::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramLinkLifetimeStats::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramLinkLifetimeStats) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.multipath_packets_recv_sequenced_.MergeFrom(from._impl_.multipath_packets_recv_sequenced_); - _this->_impl_.multipath_packets_recv_later_.MergeFrom(from._impl_.multipath_packets_recv_later_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.packets_sent_ = from._impl_.packets_sent_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.kb_sent_ = from._impl_.kb_sent_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.packets_recv_ = from._impl_.packets_recv_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.kb_recv_ = from._impl_.kb_recv_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.packets_recv_sequenced_ = from._impl_.packets_recv_sequenced_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.packets_recv_dropped_ = from._impl_.packets_recv_dropped_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.connected_seconds_ = from._impl_.connected_seconds_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.multipath_send_enabled_ = from._impl_.multipath_send_enabled_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.packets_recv_out_of_order_ = from._impl_.packets_recv_out_of_order_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.packets_recv_duplicate_ = from._impl_.packets_recv_duplicate_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.packets_recv_lurch_ = from._impl_.packets_recv_lurch_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.packets_recv_out_of_order_corrected_ = from._impl_.packets_recv_out_of_order_corrected_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.quality_histogram_100_ = from._impl_.quality_histogram_100_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.quality_histogram_99_ = from._impl_.quality_histogram_99_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.quality_histogram_97_ = from._impl_.quality_histogram_97_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.quality_histogram_95_ = from._impl_.quality_histogram_95_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00ff0000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.quality_histogram_90_ = from._impl_.quality_histogram_90_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.quality_histogram_75_ = from._impl_.quality_histogram_75_; - } - if (cached_has_bits & 0x00040000u) { - _this->_impl_.quality_histogram_50_ = from._impl_.quality_histogram_50_; - } - if (cached_has_bits & 0x00080000u) { - _this->_impl_.quality_histogram_1_ = from._impl_.quality_histogram_1_; - } - if (cached_has_bits & 0x00100000u) { - _this->_impl_.quality_histogram_dead_ = from._impl_.quality_histogram_dead_; - } - if (cached_has_bits & 0x00200000u) { - _this->_impl_.quality_ntile_2nd_ = from._impl_.quality_ntile_2nd_; - } - if (cached_has_bits & 0x00400000u) { - _this->_impl_.quality_ntile_5th_ = from._impl_.quality_ntile_5th_; - } - if (cached_has_bits & 0x00800000u) { - _this->_impl_.quality_ntile_25th_ = from._impl_.quality_ntile_25th_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0xff000000u) { - if (cached_has_bits & 0x01000000u) { - _this->_impl_.quality_ntile_50th_ = from._impl_.quality_ntile_50th_; - } - if (cached_has_bits & 0x02000000u) { - _this->_impl_.ping_histogram_25_ = from._impl_.ping_histogram_25_; - } - if (cached_has_bits & 0x04000000u) { - _this->_impl_.ping_histogram_50_ = from._impl_.ping_histogram_50_; - } - if (cached_has_bits & 0x08000000u) { - _this->_impl_.ping_histogram_75_ = from._impl_.ping_histogram_75_; - } - if (cached_has_bits & 0x10000000u) { - _this->_impl_.ping_histogram_100_ = from._impl_.ping_histogram_100_; - } - if (cached_has_bits & 0x20000000u) { - _this->_impl_.ping_histogram_125_ = from._impl_.ping_histogram_125_; - } - if (cached_has_bits & 0x40000000u) { - _this->_impl_.ping_histogram_150_ = from._impl_.ping_histogram_150_; - } - if (cached_has_bits & 0x80000000u) { - _this->_impl_.ping_histogram_200_ = from._impl_.ping_histogram_200_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - cached_has_bits = from._impl_._has_bits_[1]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.ping_histogram_300_ = from._impl_.ping_histogram_300_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.ping_histogram_max_ = from._impl_.ping_histogram_max_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.ping_ntile_5th_ = from._impl_.ping_ntile_5th_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.ping_ntile_50th_ = from._impl_.ping_ntile_50th_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.ping_ntile_75th_ = from._impl_.ping_ntile_75th_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.ping_ntile_95th_ = from._impl_.ping_ntile_95th_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.ping_ntile_98th_ = from._impl_.ping_ntile_98th_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.jitter_histogram_negligible_ = from._impl_.jitter_histogram_negligible_; - } - _this->_impl_._has_bits_[1] |= cached_has_bits; - } - if (cached_has_bits & 0x00001f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.jitter_histogram_1_ = from._impl_.jitter_histogram_1_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.jitter_histogram_2_ = from._impl_.jitter_histogram_2_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.jitter_histogram_5_ = from._impl_.jitter_histogram_5_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.jitter_histogram_10_ = from._impl_.jitter_histogram_10_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.jitter_histogram_20_ = from._impl_.jitter_histogram_20_; - } - _this->_impl_._has_bits_[1] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramLinkLifetimeStats::CopyFrom(const CMsgSteamDatagramLinkLifetimeStats& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramLinkLifetimeStats) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramLinkLifetimeStats::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramLinkLifetimeStats::InternalSwap(CMsgSteamDatagramLinkLifetimeStats* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_._has_bits_[1], other->_impl_._has_bits_[1]); - _impl_.multipath_packets_recv_sequenced_.InternalSwap(&other->_impl_.multipath_packets_recv_sequenced_); - _impl_.multipath_packets_recv_later_.InternalSwap(&other->_impl_.multipath_packets_recv_later_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramLinkLifetimeStats, _impl_.jitter_histogram_20_) - + sizeof(CMsgSteamDatagramLinkLifetimeStats::_impl_.jitter_histogram_20_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramLinkLifetimeStats, _impl_.packets_sent_)>( - reinterpret_cast(&_impl_.packets_sent_), - reinterpret_cast(&other->_impl_.packets_sent_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramLinkLifetimeStats::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[4]); -} - -// =================================================================== - -class CMsgSteamDatagramConnectionQuality::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSteamDatagramLinkInstantaneousStats& instantaneous(const CMsgSteamDatagramConnectionQuality* msg); - static void set_has_instantaneous(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgSteamDatagramLinkLifetimeStats& lifetime(const CMsgSteamDatagramConnectionQuality* msg); - static void set_has_lifetime(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgSteamDatagramLinkInstantaneousStats& -CMsgSteamDatagramConnectionQuality::_Internal::instantaneous(const CMsgSteamDatagramConnectionQuality* msg) { - return *msg->_impl_.instantaneous_; -} -const ::CMsgSteamDatagramLinkLifetimeStats& -CMsgSteamDatagramConnectionQuality::_Internal::lifetime(const CMsgSteamDatagramConnectionQuality* msg) { - return *msg->_impl_.lifetime_; -} -CMsgSteamDatagramConnectionQuality::CMsgSteamDatagramConnectionQuality(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramConnectionQuality) -} -CMsgSteamDatagramConnectionQuality::CMsgSteamDatagramConnectionQuality(const CMsgSteamDatagramConnectionQuality& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramConnectionQuality* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.instantaneous_){nullptr} - , decltype(_impl_.lifetime_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_instantaneous()) { - _this->_impl_.instantaneous_ = new ::CMsgSteamDatagramLinkInstantaneousStats(*from._impl_.instantaneous_); - } - if (from._internal_has_lifetime()) { - _this->_impl_.lifetime_ = new ::CMsgSteamDatagramLinkLifetimeStats(*from._impl_.lifetime_); - } - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramConnectionQuality) -} - -inline void CMsgSteamDatagramConnectionQuality::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.instantaneous_){nullptr} - , decltype(_impl_.lifetime_){nullptr} - }; -} - -CMsgSteamDatagramConnectionQuality::~CMsgSteamDatagramConnectionQuality() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramConnectionQuality) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramConnectionQuality::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.instantaneous_; - if (this != internal_default_instance()) delete _impl_.lifetime_; -} - -void CMsgSteamDatagramConnectionQuality::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramConnectionQuality::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramConnectionQuality) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.instantaneous_ != nullptr); - _impl_.instantaneous_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.lifetime_ != nullptr); - _impl_.lifetime_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramConnectionQuality::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSteamDatagramLinkInstantaneousStats instantaneous = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_instantaneous(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramLinkLifetimeStats lifetime = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_lifetime(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramConnectionQuality::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramConnectionQuality) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSteamDatagramLinkInstantaneousStats instantaneous = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::instantaneous(this), - _Internal::instantaneous(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramLinkLifetimeStats lifetime = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::lifetime(this), - _Internal::lifetime(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramConnectionQuality) - return target; -} - -size_t CMsgSteamDatagramConnectionQuality::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramConnectionQuality) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgSteamDatagramLinkInstantaneousStats instantaneous = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.instantaneous_); - } - - // optional .CMsgSteamDatagramLinkLifetimeStats lifetime = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.lifetime_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramConnectionQuality::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramConnectionQuality::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramConnectionQuality::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramConnectionQuality::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramConnectionQuality) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_instantaneous()->::CMsgSteamDatagramLinkInstantaneousStats::MergeFrom( - from._internal_instantaneous()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_lifetime()->::CMsgSteamDatagramLinkLifetimeStats::MergeFrom( - from._internal_lifetime()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramConnectionQuality::CopyFrom(const CMsgSteamDatagramConnectionQuality& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramConnectionQuality) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramConnectionQuality::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramConnectionQuality::InternalSwap(CMsgSteamDatagramConnectionQuality* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionQuality, _impl_.lifetime_) - + sizeof(CMsgSteamDatagramConnectionQuality::_impl_.lifetime_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramConnectionQuality, _impl_.instantaneous_)>( - reinterpret_cast(&_impl_.instantaneous_), - reinterpret_cast(&other->_impl_.instantaneous_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramConnectionQuality::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[5]); -} - -// =================================================================== - -class CMsgICECandidate::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_candidate(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgICECandidate::CMsgICECandidate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgICECandidate) -} -CMsgICECandidate::CMsgICECandidate(const CMsgICECandidate& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgICECandidate* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.candidate_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.candidate_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.candidate_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_candidate()) { - _this->_impl_.candidate_.Set(from._internal_candidate(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CMsgICECandidate) -} - -inline void CMsgICECandidate::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.candidate_){} - }; - _impl_.candidate_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.candidate_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgICECandidate::~CMsgICECandidate() { - // @@protoc_insertion_point(destructor:CMsgICECandidate) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgICECandidate::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.candidate_.Destroy(); -} - -void CMsgICECandidate::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgICECandidate::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgICECandidate) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.candidate_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgICECandidate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string candidate = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_candidate(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgICECandidate.candidate"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgICECandidate::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgICECandidate) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string candidate = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_candidate().data(), static_cast(this->_internal_candidate().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgICECandidate.candidate"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_candidate(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgICECandidate) - return target; -} - -size_t CMsgICECandidate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgICECandidate) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string candidate = 3; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_candidate()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgICECandidate::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgICECandidate::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgICECandidate::GetClassData() const { return &_class_data_; } - - -void CMsgICECandidate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgICECandidate) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_candidate()) { - _this->_internal_set_candidate(from._internal_candidate()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgICECandidate::CopyFrom(const CMsgICECandidate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgICECandidate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgICECandidate::IsInitialized() const { - return true; -} - -void CMsgICECandidate::InternalSwap(CMsgICECandidate* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.candidate_, lhs_arena, - &other->_impl_.candidate_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgICECandidate::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[6]); -} - -// =================================================================== - -class CMsgICERendezvous_Auth::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_pwd_frag(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgICERendezvous_Auth::CMsgICERendezvous_Auth(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgICERendezvous.Auth) -} -CMsgICERendezvous_Auth::CMsgICERendezvous_Auth(const CMsgICERendezvous_Auth& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgICERendezvous_Auth* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pwd_frag_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.pwd_frag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.pwd_frag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_pwd_frag()) { - _this->_impl_.pwd_frag_.Set(from._internal_pwd_frag(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CMsgICERendezvous.Auth) -} - -inline void CMsgICERendezvous_Auth::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pwd_frag_){} - }; - _impl_.pwd_frag_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.pwd_frag_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgICERendezvous_Auth::~CMsgICERendezvous_Auth() { - // @@protoc_insertion_point(destructor:CMsgICERendezvous.Auth) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgICERendezvous_Auth::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.pwd_frag_.Destroy(); -} - -void CMsgICERendezvous_Auth::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgICERendezvous_Auth::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgICERendezvous.Auth) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.pwd_frag_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgICERendezvous_Auth::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string pwd_frag = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_pwd_frag(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgICERendezvous.Auth.pwd_frag"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgICERendezvous_Auth::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgICERendezvous.Auth) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string pwd_frag = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_pwd_frag().data(), static_cast(this->_internal_pwd_frag().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgICERendezvous.Auth.pwd_frag"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_pwd_frag(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgICERendezvous.Auth) - return target; -} - -size_t CMsgICERendezvous_Auth::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgICERendezvous.Auth) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string pwd_frag = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_pwd_frag()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgICERendezvous_Auth::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgICERendezvous_Auth::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgICERendezvous_Auth::GetClassData() const { return &_class_data_; } - - -void CMsgICERendezvous_Auth::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgICERendezvous.Auth) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_pwd_frag()) { - _this->_internal_set_pwd_frag(from._internal_pwd_frag()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgICERendezvous_Auth::CopyFrom(const CMsgICERendezvous_Auth& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgICERendezvous.Auth) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgICERendezvous_Auth::IsInitialized() const { - return true; -} - -void CMsgICERendezvous_Auth::InternalSwap(CMsgICERendezvous_Auth* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.pwd_frag_, lhs_arena, - &other->_impl_.pwd_frag_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgICERendezvous_Auth::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[7]); -} - -// =================================================================== - -class CMsgICERendezvous::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgICERendezvous_Auth& auth(const CMsgICERendezvous* msg); - static void set_has_auth(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgICECandidate& add_candidate(const CMsgICERendezvous* msg); - static void set_has_add_candidate(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgICERendezvous_Auth& -CMsgICERendezvous::_Internal::auth(const CMsgICERendezvous* msg) { - return *msg->_impl_.auth_; -} -const ::CMsgICECandidate& -CMsgICERendezvous::_Internal::add_candidate(const CMsgICERendezvous* msg) { - return *msg->_impl_.add_candidate_; -} -CMsgICERendezvous::CMsgICERendezvous(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgICERendezvous) -} -CMsgICERendezvous::CMsgICERendezvous(const CMsgICERendezvous& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgICERendezvous* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.add_candidate_){nullptr} - , decltype(_impl_.auth_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_add_candidate()) { - _this->_impl_.add_candidate_ = new ::CMsgICECandidate(*from._impl_.add_candidate_); - } - if (from._internal_has_auth()) { - _this->_impl_.auth_ = new ::CMsgICERendezvous_Auth(*from._impl_.auth_); - } - // @@protoc_insertion_point(copy_constructor:CMsgICERendezvous) -} - -inline void CMsgICERendezvous::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.add_candidate_){nullptr} - , decltype(_impl_.auth_){nullptr} - }; -} - -CMsgICERendezvous::~CMsgICERendezvous() { - // @@protoc_insertion_point(destructor:CMsgICERendezvous) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgICERendezvous::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.add_candidate_; - if (this != internal_default_instance()) delete _impl_.auth_; -} - -void CMsgICERendezvous::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgICERendezvous::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgICERendezvous) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.add_candidate_ != nullptr); - _impl_.add_candidate_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.auth_ != nullptr); - _impl_.auth_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgICERendezvous::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgICECandidate add_candidate = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_add_candidate(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgICERendezvous.Auth auth = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_auth(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgICERendezvous::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgICERendezvous) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgICECandidate add_candidate = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::add_candidate(this), - _Internal::add_candidate(this).GetCachedSize(), target, stream); - } - - // optional .CMsgICERendezvous.Auth auth = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::auth(this), - _Internal::auth(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgICERendezvous) - return target; -} - -size_t CMsgICERendezvous::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgICERendezvous) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgICECandidate add_candidate = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.add_candidate_); - } - - // optional .CMsgICERendezvous.Auth auth = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.auth_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgICERendezvous::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgICERendezvous::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgICERendezvous::GetClassData() const { return &_class_data_; } - - -void CMsgICERendezvous::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgICERendezvous) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_add_candidate()->::CMsgICECandidate::MergeFrom( - from._internal_add_candidate()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_auth()->::CMsgICERendezvous_Auth::MergeFrom( - from._internal_auth()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgICERendezvous::CopyFrom(const CMsgICERendezvous& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgICERendezvous) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgICERendezvous::IsInitialized() const { - return true; -} - -void CMsgICERendezvous::InternalSwap(CMsgICERendezvous* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgICERendezvous, _impl_.auth_) - + sizeof(CMsgICERendezvous::_impl_.auth_) - - PROTOBUF_FIELD_OFFSET(CMsgICERendezvous, _impl_.add_candidate_)>( - reinterpret_cast(&_impl_.add_candidate_), - reinterpret_cast(&other->_impl_.add_candidate_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgICERendezvous::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[8]); -} - -// =================================================================== - -class CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt(const CMsgSteamNetworkingP2PRendezvous_ConnectRequest* msg); - static void set_has_crypt(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamNetworkingP2PRendezvous_ConnectRequest* msg); - static void set_has_cert(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_to_virtual_port(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_from_virtual_port(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_from_fakeip(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgSteamDatagramSessionCryptInfoSigned& -CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_Internal::crypt(const CMsgSteamNetworkingP2PRendezvous_ConnectRequest* msg) { - return *msg->_impl_.crypt_; -} -const ::CMsgSteamDatagramCertificateSigned& -CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_Internal::cert(const CMsgSteamNetworkingP2PRendezvous_ConnectRequest* msg) { - return *msg->_impl_.cert_; -} -void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::clear_cert() { - if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -CMsgSteamNetworkingP2PRendezvous_ConnectRequest::CMsgSteamNetworkingP2PRendezvous_ConnectRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) -} -CMsgSteamNetworkingP2PRendezvous_ConnectRequest::CMsgSteamNetworkingP2PRendezvous_ConnectRequest(const CMsgSteamNetworkingP2PRendezvous_ConnectRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamNetworkingP2PRendezvous_ConnectRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.from_fakeip_){} - , decltype(_impl_.crypt_){nullptr} - , decltype(_impl_.cert_){nullptr} - , decltype(_impl_.to_virtual_port_){} - , decltype(_impl_.from_virtual_port_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.from_fakeip_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.from_fakeip_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_from_fakeip()) { - _this->_impl_.from_fakeip_.Set(from._internal_from_fakeip(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_crypt()) { - _this->_impl_.crypt_ = new ::CMsgSteamDatagramSessionCryptInfoSigned(*from._impl_.crypt_); - } - if (from._internal_has_cert()) { - _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); - } - ::memcpy(&_impl_.to_virtual_port_, &from._impl_.to_virtual_port_, - static_cast(reinterpret_cast(&_impl_.from_virtual_port_) - - reinterpret_cast(&_impl_.to_virtual_port_)) + sizeof(_impl_.from_virtual_port_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) -} - -inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.from_fakeip_){} - , decltype(_impl_.crypt_){nullptr} - , decltype(_impl_.cert_){nullptr} - , decltype(_impl_.to_virtual_port_){0u} - , decltype(_impl_.from_virtual_port_){0u} - }; - _impl_.from_fakeip_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.from_fakeip_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamNetworkingP2PRendezvous_ConnectRequest::~CMsgSteamNetworkingP2PRendezvous_ConnectRequest() { - // @@protoc_insertion_point(destructor:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.from_fakeip_.Destroy(); - if (this != internal_default_instance()) delete _impl_.crypt_; - if (this != internal_default_instance()) delete _impl_.cert_; -} - -void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.from_fakeip_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.crypt_ != nullptr); - _impl_.crypt_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.cert_ != nullptr); - _impl_.cert_->Clear(); - } - } - if (cached_has_bits & 0x00000018u) { - ::memset(&_impl_.to_virtual_port_, 0, static_cast( - reinterpret_cast(&_impl_.from_virtual_port_) - - reinterpret_cast(&_impl_.to_virtual_port_)) + sizeof(_impl_.from_virtual_port_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_crypt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramCertificateSigned cert = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 to_virtual_port = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_to_virtual_port(&has_bits); - _impl_.to_virtual_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 from_virtual_port = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_from_virtual_port(&has_bits); - _impl_.from_virtual_port_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string from_fakeip = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_from_fakeip(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamNetworkingP2PRendezvous.ConnectRequest.from_fakeip"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::crypt(this), - _Internal::crypt(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramCertificateSigned cert = 7; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::cert(this), - _Internal::cert(this).GetCachedSize(), target, stream); - } - - // optional uint32 to_virtual_port = 9; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_to_virtual_port(), target); - } - - // optional uint32 from_virtual_port = 10; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_from_virtual_port(), target); - } - - // optional string from_fakeip = 11; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_from_fakeip().data(), static_cast(this->_internal_from_fakeip().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamNetworkingP2PRendezvous.ConnectRequest.from_fakeip"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_from_fakeip(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) - return target; -} - -size_t CMsgSteamNetworkingP2PRendezvous_ConnectRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional string from_fakeip = 11; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_from_fakeip()); - } - - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.crypt_); - } - - // optional .CMsgSteamDatagramCertificateSigned cert = 7; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cert_); - } - - // optional uint32 to_virtual_port = 9; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_to_virtual_port()); - } - - // optional uint32 from_virtual_port = 10; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_from_virtual_port()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamNetworkingP2PRendezvous_ConnectRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingP2PRendezvous_ConnectRequest::GetClassData() const { return &_class_data_; } - - -void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_from_fakeip(from._internal_from_fakeip()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_crypt()->::CMsgSteamDatagramSessionCryptInfoSigned::MergeFrom( - from._internal_crypt()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( - from._internal_cert()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.to_virtual_port_ = from._impl_.to_virtual_port_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.from_virtual_port_ = from._impl_.from_virtual_port_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ConnectRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::IsInitialized() const { - return true; -} - -void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::InternalSwap(CMsgSteamNetworkingP2PRendezvous_ConnectRequest* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.from_fakeip_, lhs_arena, - &other->_impl_.from_fakeip_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PRendezvous_ConnectRequest, _impl_.from_virtual_port_) - + sizeof(CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_impl_.from_virtual_port_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PRendezvous_ConnectRequest, _impl_.crypt_)>( - reinterpret_cast(&_impl_.crypt_), - reinterpret_cast(&other->_impl_.crypt_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingP2PRendezvous_ConnectRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[9]); -} - -// =================================================================== - -class CMsgSteamNetworkingP2PRendezvous_ConnectOK::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt(const CMsgSteamNetworkingP2PRendezvous_ConnectOK* msg); - static void set_has_crypt(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamNetworkingP2PRendezvous_ConnectOK* msg); - static void set_has_cert(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgSteamDatagramSessionCryptInfoSigned& -CMsgSteamNetworkingP2PRendezvous_ConnectOK::_Internal::crypt(const CMsgSteamNetworkingP2PRendezvous_ConnectOK* msg) { - return *msg->_impl_.crypt_; -} -const ::CMsgSteamDatagramCertificateSigned& -CMsgSteamNetworkingP2PRendezvous_ConnectOK::_Internal::cert(const CMsgSteamNetworkingP2PRendezvous_ConnectOK* msg) { - return *msg->_impl_.cert_; -} -void CMsgSteamNetworkingP2PRendezvous_ConnectOK::clear_cert() { - if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CMsgSteamNetworkingP2PRendezvous_ConnectOK::CMsgSteamNetworkingP2PRendezvous_ConnectOK(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamNetworkingP2PRendezvous.ConnectOK) -} -CMsgSteamNetworkingP2PRendezvous_ConnectOK::CMsgSteamNetworkingP2PRendezvous_ConnectOK(const CMsgSteamNetworkingP2PRendezvous_ConnectOK& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamNetworkingP2PRendezvous_ConnectOK* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.crypt_){nullptr} - , decltype(_impl_.cert_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_crypt()) { - _this->_impl_.crypt_ = new ::CMsgSteamDatagramSessionCryptInfoSigned(*from._impl_.crypt_); - } - if (from._internal_has_cert()) { - _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); - } - // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingP2PRendezvous.ConnectOK) -} - -inline void CMsgSteamNetworkingP2PRendezvous_ConnectOK::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.crypt_){nullptr} - , decltype(_impl_.cert_){nullptr} - }; -} - -CMsgSteamNetworkingP2PRendezvous_ConnectOK::~CMsgSteamNetworkingP2PRendezvous_ConnectOK() { - // @@protoc_insertion_point(destructor:CMsgSteamNetworkingP2PRendezvous.ConnectOK) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamNetworkingP2PRendezvous_ConnectOK::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.crypt_; - if (this != internal_default_instance()) delete _impl_.cert_; -} - -void CMsgSteamNetworkingP2PRendezvous_ConnectOK::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamNetworkingP2PRendezvous_ConnectOK::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingP2PRendezvous.ConnectOK) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.crypt_ != nullptr); - _impl_.crypt_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.cert_ != nullptr); - _impl_.cert_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamNetworkingP2PRendezvous_ConnectOK::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_crypt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramCertificateSigned cert = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamNetworkingP2PRendezvous_ConnectOK::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingP2PRendezvous.ConnectOK) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::crypt(this), - _Internal::crypt(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramCertificateSigned cert = 6; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::cert(this), - _Internal::cert(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamNetworkingP2PRendezvous.ConnectOK) - return target; -} - -size_t CMsgSteamNetworkingP2PRendezvous_ConnectOK::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingP2PRendezvous.ConnectOK) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.crypt_); - } - - // optional .CMsgSteamDatagramCertificateSigned cert = 6; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cert_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingP2PRendezvous_ConnectOK::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamNetworkingP2PRendezvous_ConnectOK::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingP2PRendezvous_ConnectOK::GetClassData() const { return &_class_data_; } - - -void CMsgSteamNetworkingP2PRendezvous_ConnectOK::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamNetworkingP2PRendezvous.ConnectOK) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_crypt()->::CMsgSteamDatagramSessionCryptInfoSigned::MergeFrom( - from._internal_crypt()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( - from._internal_cert()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamNetworkingP2PRendezvous_ConnectOK::CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ConnectOK& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingP2PRendezvous.ConnectOK) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamNetworkingP2PRendezvous_ConnectOK::IsInitialized() const { - return true; -} - -void CMsgSteamNetworkingP2PRendezvous_ConnectOK::InternalSwap(CMsgSteamNetworkingP2PRendezvous_ConnectOK* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PRendezvous_ConnectOK, _impl_.cert_) - + sizeof(CMsgSteamNetworkingP2PRendezvous_ConnectOK::_impl_.cert_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PRendezvous_ConnectOK, _impl_.crypt_)>( - reinterpret_cast(&_impl_.crypt_), - reinterpret_cast(&other->_impl_.crypt_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingP2PRendezvous_ConnectOK::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[10]); -} - -// =================================================================== - -class CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_debug(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_reason_code(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) -} -CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed(const CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.debug_){} - , decltype(_impl_.reason_code_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.debug_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.debug_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_debug()) { - _this->_impl_.debug_.Set(from._internal_debug(), - _this->GetArenaForAllocation()); - } - _this->_impl_.reason_code_ = from._impl_.reason_code_; - // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) -} - -inline void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.debug_){} - , decltype(_impl_.reason_code_){0u} - }; - _impl_.debug_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.debug_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::~CMsgSteamNetworkingP2PRendezvous_ConnectionClosed() { - // @@protoc_insertion_point(destructor:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.debug_.Destroy(); -} - -void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.debug_.ClearNonDefaultToEmpty(); - } - _impl_.reason_code_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string debug = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_debug(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamNetworkingP2PRendezvous.ConnectionClosed.debug"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 reason_code = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_reason_code(&has_bits); - _impl_.reason_code_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string debug = 5; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_debug().data(), static_cast(this->_internal_debug().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamNetworkingP2PRendezvous.ConnectionClosed.debug"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_debug(), target); - } - - // optional uint32 reason_code = 6; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_reason_code(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) - return target; -} - -size_t CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string debug = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_debug()); - } - - // optional uint32 reason_code = 6; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reason_code()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::GetClassData() const { return &_class_data_; } - - -void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_debug(from._internal_debug()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.reason_code_ = from._impl_.reason_code_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::IsInitialized() const { - return true; -} - -void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::InternalSwap(CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.debug_, lhs_arena, - &other->_impl_.debug_, rhs_arena - ); - swap(_impl_.reason_code_, other->_impl_.reason_code_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[11]); -} - -// =================================================================== - -class CMsgSteamNetworkingP2PRendezvous_ReliableMessage::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgICERendezvous& ice(const CMsgSteamNetworkingP2PRendezvous_ReliableMessage* msg); - static void set_has_ice(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgICERendezvous& -CMsgSteamNetworkingP2PRendezvous_ReliableMessage::_Internal::ice(const CMsgSteamNetworkingP2PRendezvous_ReliableMessage* msg) { - return *msg->_impl_.ice_; -} -CMsgSteamNetworkingP2PRendezvous_ReliableMessage::CMsgSteamNetworkingP2PRendezvous_ReliableMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) -} -CMsgSteamNetworkingP2PRendezvous_ReliableMessage::CMsgSteamNetworkingP2PRendezvous_ReliableMessage(const CMsgSteamNetworkingP2PRendezvous_ReliableMessage& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamNetworkingP2PRendezvous_ReliableMessage* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ice_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_ice()) { - _this->_impl_.ice_ = new ::CMsgICERendezvous(*from._impl_.ice_); - } - // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) -} - -inline void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ice_){nullptr} - }; -} - -CMsgSteamNetworkingP2PRendezvous_ReliableMessage::~CMsgSteamNetworkingP2PRendezvous_ReliableMessage() { - // @@protoc_insertion_point(destructor:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.ice_; -} - -void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.ice_ != nullptr); - _impl_.ice_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamNetworkingP2PRendezvous_ReliableMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgICERendezvous ice = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_ice(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamNetworkingP2PRendezvous_ReliableMessage::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgICERendezvous ice = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::ice(this), - _Internal::ice(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) - return target; -} - -size_t CMsgSteamNetworkingP2PRendezvous_ReliableMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CMsgICERendezvous ice = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.ice_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingP2PRendezvous_ReliableMessage::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamNetworkingP2PRendezvous_ReliableMessage::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingP2PRendezvous_ReliableMessage::GetClassData() const { return &_class_data_; } - - -void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_ice()) { - _this->_internal_mutable_ice()->::CMsgICERendezvous::MergeFrom( - from._internal_ice()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ReliableMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamNetworkingP2PRendezvous_ReliableMessage::IsInitialized() const { - return true; -} - -void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::InternalSwap(CMsgSteamNetworkingP2PRendezvous_ReliableMessage* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.ice_, other->_impl_.ice_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingP2PRendezvous_ReliableMessage::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[12]); -} - -// =================================================================== - -class CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_msg_num(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_lane_idx(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) -} -CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage(const CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.msg_num_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.lane_idx_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.msg_num_, &from._impl_.msg_num_, - static_cast(reinterpret_cast(&_impl_.lane_idx_) - - reinterpret_cast(&_impl_.msg_num_)) + sizeof(_impl_.lane_idx_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) -} - -inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.msg_num_){uint64_t{0u}} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.lane_idx_){0u} - }; - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::~CMsgSteamNetworkingP2PRendezvous_ApplicationMessage() { - // @@protoc_insertion_point(destructor:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_.Destroy(); -} - -void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.msg_num_, 0, static_cast( - reinterpret_cast(&_impl_.lane_idx_) - - reinterpret_cast(&_impl_.msg_num_)) + sizeof(_impl_.lane_idx_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes data = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 msg_num = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_msg_num(&has_bits); - _impl_.msg_num_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 lane_idx = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_lane_idx(&has_bits); - _impl_.lane_idx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes data = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_data(), target); - } - - // optional uint64 msg_num = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_msg_num(), target); - } - - // optional uint32 flags = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_flags(), target); - } - - // optional uint32 lane_idx = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_lane_idx(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) - return target; -} - -size_t CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional bytes data = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - // optional uint64 msg_num = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_msg_num()); - } - - // optional uint32 flags = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - // optional uint32 lane_idx = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lane_idx()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::GetClassData() const { return &_class_data_; } - - -void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_data(from._internal_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.msg_num_ = from._impl_.msg_num_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.lane_idx_ = from._impl_.lane_idx_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::IsInitialized() const { - return true; -} - -void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::InternalSwap(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage, _impl_.lane_idx_) - + sizeof(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_impl_.lane_idx_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage, _impl_.msg_num_)>( - reinterpret_cast(&_impl_.msg_num_), - reinterpret_cast(&other->_impl_.msg_num_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[13]); -} - -// =================================================================== - -class CMsgSteamNetworkingP2PRendezvous::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_from_identity(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_from_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_to_identity(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_to_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_sdr_routes(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_ack_peer_routes_revision(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_ice_enabled(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_hosted_server_ticket(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest& connect_request(const CMsgSteamNetworkingP2PRendezvous* msg); - static void set_has_connect_request(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static const ::CMsgSteamNetworkingP2PRendezvous_ConnectOK& connect_ok(const CMsgSteamNetworkingP2PRendezvous* msg); - static void set_has_connect_ok(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static const ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& connection_closed(const CMsgSteamNetworkingP2PRendezvous* msg); - static void set_has_connection_closed(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_ack_reliable_msg(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_first_reliable_msg(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } -}; - -const ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest& -CMsgSteamNetworkingP2PRendezvous::_Internal::connect_request(const CMsgSteamNetworkingP2PRendezvous* msg) { - return *msg->_impl_.connect_request_; -} -const ::CMsgSteamNetworkingP2PRendezvous_ConnectOK& -CMsgSteamNetworkingP2PRendezvous::_Internal::connect_ok(const CMsgSteamNetworkingP2PRendezvous* msg) { - return *msg->_impl_.connect_ok_; -} -const ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& -CMsgSteamNetworkingP2PRendezvous::_Internal::connection_closed(const CMsgSteamNetworkingP2PRendezvous* msg) { - return *msg->_impl_.connection_closed_; -} -CMsgSteamNetworkingP2PRendezvous::CMsgSteamNetworkingP2PRendezvous(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamNetworkingP2PRendezvous) -} -CMsgSteamNetworkingP2PRendezvous::CMsgSteamNetworkingP2PRendezvous(const CMsgSteamNetworkingP2PRendezvous& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamNetworkingP2PRendezvous* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.reliable_messages_){from._impl_.reliable_messages_} - , decltype(_impl_.application_messages_){from._impl_.application_messages_} - , decltype(_impl_.sdr_routes_){} - , decltype(_impl_.from_identity_){} - , decltype(_impl_.to_identity_){} - , decltype(_impl_.hosted_server_ticket_){} - , decltype(_impl_.connect_request_){nullptr} - , decltype(_impl_.connect_ok_){nullptr} - , decltype(_impl_.connection_closed_){nullptr} - , decltype(_impl_.to_connection_id_){} - , decltype(_impl_.ack_peer_routes_revision_){} - , decltype(_impl_.ice_enabled_){} - , decltype(_impl_.from_connection_id_){} - , decltype(_impl_.ack_reliable_msg_){} - , decltype(_impl_.first_reliable_msg_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.sdr_routes_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sdr_routes_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_sdr_routes()) { - _this->_impl_.sdr_routes_.Set(from._internal_sdr_routes(), - _this->GetArenaForAllocation()); - } - _impl_.from_identity_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.from_identity_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_from_identity()) { - _this->_impl_.from_identity_.Set(from._internal_from_identity(), - _this->GetArenaForAllocation()); - } - _impl_.to_identity_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.to_identity_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_to_identity()) { - _this->_impl_.to_identity_.Set(from._internal_to_identity(), - _this->GetArenaForAllocation()); - } - _impl_.hosted_server_ticket_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.hosted_server_ticket_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_hosted_server_ticket()) { - _this->_impl_.hosted_server_ticket_.Set(from._internal_hosted_server_ticket(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_connect_request()) { - _this->_impl_.connect_request_ = new ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest(*from._impl_.connect_request_); - } - if (from._internal_has_connect_ok()) { - _this->_impl_.connect_ok_ = new ::CMsgSteamNetworkingP2PRendezvous_ConnectOK(*from._impl_.connect_ok_); - } - if (from._internal_has_connection_closed()) { - _this->_impl_.connection_closed_ = new ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed(*from._impl_.connection_closed_); - } - ::memcpy(&_impl_.to_connection_id_, &from._impl_.to_connection_id_, - static_cast(reinterpret_cast(&_impl_.first_reliable_msg_) - - reinterpret_cast(&_impl_.to_connection_id_)) + sizeof(_impl_.first_reliable_msg_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingP2PRendezvous) -} - -inline void CMsgSteamNetworkingP2PRendezvous::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.reliable_messages_){arena} - , decltype(_impl_.application_messages_){arena} - , decltype(_impl_.sdr_routes_){} - , decltype(_impl_.from_identity_){} - , decltype(_impl_.to_identity_){} - , decltype(_impl_.hosted_server_ticket_){} - , decltype(_impl_.connect_request_){nullptr} - , decltype(_impl_.connect_ok_){nullptr} - , decltype(_impl_.connection_closed_){nullptr} - , decltype(_impl_.to_connection_id_){0u} - , decltype(_impl_.ack_peer_routes_revision_){0u} - , decltype(_impl_.ice_enabled_){false} - , decltype(_impl_.from_connection_id_){0u} - , decltype(_impl_.ack_reliable_msg_){0u} - , decltype(_impl_.first_reliable_msg_){0u} - }; - _impl_.sdr_routes_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sdr_routes_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.from_identity_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.from_identity_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.to_identity_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.to_identity_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.hosted_server_ticket_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.hosted_server_ticket_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamNetworkingP2PRendezvous::~CMsgSteamNetworkingP2PRendezvous() { - // @@protoc_insertion_point(destructor:CMsgSteamNetworkingP2PRendezvous) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamNetworkingP2PRendezvous::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.reliable_messages_.~RepeatedPtrField(); - _impl_.application_messages_.~RepeatedPtrField(); - _impl_.sdr_routes_.Destroy(); - _impl_.from_identity_.Destroy(); - _impl_.to_identity_.Destroy(); - _impl_.hosted_server_ticket_.Destroy(); - if (this != internal_default_instance()) delete _impl_.connect_request_; - if (this != internal_default_instance()) delete _impl_.connect_ok_; - if (this != internal_default_instance()) delete _impl_.connection_closed_; -} - -void CMsgSteamNetworkingP2PRendezvous::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamNetworkingP2PRendezvous::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingP2PRendezvous) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.reliable_messages_.Clear(); - _impl_.application_messages_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.sdr_routes_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.from_identity_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.to_identity_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.hosted_server_ticket_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(_impl_.connect_request_ != nullptr); - _impl_.connect_request_->Clear(); - } - if (cached_has_bits & 0x00000020u) { - GOOGLE_DCHECK(_impl_.connect_ok_ != nullptr); - _impl_.connect_ok_->Clear(); - } - if (cached_has_bits & 0x00000040u) { - GOOGLE_DCHECK(_impl_.connection_closed_ != nullptr); - _impl_.connection_closed_->Clear(); - } - } - _impl_.to_connection_id_ = 0u; - if (cached_has_bits & 0x00001f00u) { - ::memset(&_impl_.ack_peer_routes_revision_, 0, static_cast( - reinterpret_cast(&_impl_.first_reliable_msg_) - - reinterpret_cast(&_impl_.ack_peer_routes_revision_)) + sizeof(_impl_.first_reliable_msg_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamNetworkingP2PRendezvous::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 to_connection_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_to_connection_id(&has_bits); - _impl_.to_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional bytes sdr_routes = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_sdr_routes(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ack_peer_routes_revision = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_ack_peer_routes_revision(&has_bits); - _impl_.ack_peer_routes_revision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamNetworkingP2PRendezvous.ConnectRequest connect_request = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_connect_request(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamNetworkingP2PRendezvous.ConnectOK connect_ok = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_connect_ok(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamNetworkingP2PRendezvous.ConnectionClosed connection_closed = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_connection_closed(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool ice_enabled = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_ice_enabled(&has_bits); - _impl_.ice_enabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string from_identity = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_from_identity(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamNetworkingP2PRendezvous.from_identity"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional fixed32 from_connection_id = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_from_connection_id(&has_bits); - _impl_.from_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional string to_identity = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_to_identity(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamNetworkingP2PRendezvous.to_identity"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 ack_reliable_msg = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_ack_reliable_msg(&has_bits); - _impl_.ack_reliable_msg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 first_reliable_msg = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_first_reliable_msg(&has_bits); - _impl_.first_reliable_msg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgSteamNetworkingP2PRendezvous.ReliableMessage reliable_messages = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_reliable_messages(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<106>(ptr)); - } else - goto handle_unusual; - continue; - // optional bytes hosted_server_ticket = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - auto str = _internal_mutable_hosted_server_ticket(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CMsgSteamNetworkingP2PRendezvous.ApplicationMessage application_messages = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_application_messages(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<122>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamNetworkingP2PRendezvous::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingP2PRendezvous) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 to_connection_id = 1; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_to_connection_id(), target); - } - - // optional bytes sdr_routes = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_sdr_routes(), target); - } - - // optional uint32 ack_peer_routes_revision = 3; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_ack_peer_routes_revision(), target); - } - - // optional .CMsgSteamNetworkingP2PRendezvous.ConnectRequest connect_request = 4; - if (cached_has_bits & 0x00000010u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::connect_request(this), - _Internal::connect_request(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamNetworkingP2PRendezvous.ConnectOK connect_ok = 5; - if (cached_has_bits & 0x00000020u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::connect_ok(this), - _Internal::connect_ok(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamNetworkingP2PRendezvous.ConnectionClosed connection_closed = 6; - if (cached_has_bits & 0x00000040u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::connection_closed(this), - _Internal::connection_closed(this).GetCachedSize(), target, stream); - } - - // optional bool ice_enabled = 7; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_ice_enabled(), target); - } - - // optional string from_identity = 8; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_from_identity().data(), static_cast(this->_internal_from_identity().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamNetworkingP2PRendezvous.from_identity"); - target = stream->WriteStringMaybeAliased( - 8, this->_internal_from_identity(), target); - } - - // optional fixed32 from_connection_id = 9; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(9, this->_internal_from_connection_id(), target); - } - - // optional string to_identity = 10; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_to_identity().data(), static_cast(this->_internal_to_identity().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamNetworkingP2PRendezvous.to_identity"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_to_identity(), target); - } - - // optional uint32 ack_reliable_msg = 11; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_ack_reliable_msg(), target); - } - - // optional uint32 first_reliable_msg = 12; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_first_reliable_msg(), target); - } - - // repeated .CMsgSteamNetworkingP2PRendezvous.ReliableMessage reliable_messages = 13; - for (unsigned i = 0, - n = static_cast(this->_internal_reliable_messages_size()); i < n; i++) { - const auto& repfield = this->_internal_reliable_messages(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional bytes hosted_server_ticket = 14; - if (cached_has_bits & 0x00000008u) { - target = stream->WriteBytesMaybeAliased( - 14, this->_internal_hosted_server_ticket(), target); - } - - // repeated .CMsgSteamNetworkingP2PRendezvous.ApplicationMessage application_messages = 15; - for (unsigned i = 0, - n = static_cast(this->_internal_application_messages_size()); i < n; i++) { - const auto& repfield = this->_internal_application_messages(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(15, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamNetworkingP2PRendezvous) - return target; -} - -size_t CMsgSteamNetworkingP2PRendezvous::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingP2PRendezvous) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CMsgSteamNetworkingP2PRendezvous.ReliableMessage reliable_messages = 13; - total_size += 1UL * this->_internal_reliable_messages_size(); - for (const auto& msg : this->_impl_.reliable_messages_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CMsgSteamNetworkingP2PRendezvous.ApplicationMessage application_messages = 15; - total_size += 1UL * this->_internal_application_messages_size(); - for (const auto& msg : this->_impl_.application_messages_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bytes sdr_routes = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_sdr_routes()); - } - - // optional string from_identity = 8; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_from_identity()); - } - - // optional string to_identity = 10; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_to_identity()); - } - - // optional bytes hosted_server_ticket = 14; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_hosted_server_ticket()); - } - - // optional .CMsgSteamNetworkingP2PRendezvous.ConnectRequest connect_request = 4; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.connect_request_); - } - - // optional .CMsgSteamNetworkingP2PRendezvous.ConnectOK connect_ok = 5; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.connect_ok_); - } - - // optional .CMsgSteamNetworkingP2PRendezvous.ConnectionClosed connection_closed = 6; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.connection_closed_); - } - - // optional fixed32 to_connection_id = 1; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - if (cached_has_bits & 0x00001f00u) { - // optional uint32 ack_peer_routes_revision = 3; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ack_peer_routes_revision()); - } - - // optional bool ice_enabled = 7; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 1; - } - - // optional fixed32 from_connection_id = 9; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 4; - } - - // optional uint32 ack_reliable_msg = 11; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ack_reliable_msg()); - } - - // optional uint32 first_reliable_msg = 12; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_first_reliable_msg()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingP2PRendezvous::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamNetworkingP2PRendezvous::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingP2PRendezvous::GetClassData() const { return &_class_data_; } - - -void CMsgSteamNetworkingP2PRendezvous::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamNetworkingP2PRendezvous) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.reliable_messages_.MergeFrom(from._impl_.reliable_messages_); - _this->_impl_.application_messages_.MergeFrom(from._impl_.application_messages_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_sdr_routes(from._internal_sdr_routes()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_from_identity(from._internal_from_identity()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_to_identity(from._internal_to_identity()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_hosted_server_ticket(from._internal_hosted_server_ticket()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_mutable_connect_request()->::CMsgSteamNetworkingP2PRendezvous_ConnectRequest::MergeFrom( - from._internal_connect_request()); - } - if (cached_has_bits & 0x00000020u) { - _this->_internal_mutable_connect_ok()->::CMsgSteamNetworkingP2PRendezvous_ConnectOK::MergeFrom( - from._internal_connect_ok()); - } - if (cached_has_bits & 0x00000040u) { - _this->_internal_mutable_connection_closed()->::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::MergeFrom( - from._internal_connection_closed()); - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.to_connection_id_ = from._impl_.to_connection_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00001f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.ack_peer_routes_revision_ = from._impl_.ack_peer_routes_revision_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.ice_enabled_ = from._impl_.ice_enabled_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.from_connection_id_ = from._impl_.from_connection_id_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.ack_reliable_msg_ = from._impl_.ack_reliable_msg_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.first_reliable_msg_ = from._impl_.first_reliable_msg_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamNetworkingP2PRendezvous::CopyFrom(const CMsgSteamNetworkingP2PRendezvous& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingP2PRendezvous) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamNetworkingP2PRendezvous::IsInitialized() const { - return true; -} - -void CMsgSteamNetworkingP2PRendezvous::InternalSwap(CMsgSteamNetworkingP2PRendezvous* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.reliable_messages_.InternalSwap(&other->_impl_.reliable_messages_); - _impl_.application_messages_.InternalSwap(&other->_impl_.application_messages_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.sdr_routes_, lhs_arena, - &other->_impl_.sdr_routes_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.from_identity_, lhs_arena, - &other->_impl_.from_identity_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.to_identity_, lhs_arena, - &other->_impl_.to_identity_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.hosted_server_ticket_, lhs_arena, - &other->_impl_.hosted_server_ticket_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PRendezvous, _impl_.first_reliable_msg_) - + sizeof(CMsgSteamNetworkingP2PRendezvous::_impl_.first_reliable_msg_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingP2PRendezvous, _impl_.connect_request_)>( - reinterpret_cast(&_impl_.connect_request_), - reinterpret_cast(&other->_impl_.connect_request_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingP2PRendezvous::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[14]); -} - -// =================================================================== - -class CMsgSteamNetworkingICESessionSummary::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_failure_reason_code(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_local_candidate_types(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_remote_candidate_types(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_initial_route_kind(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_initial_ping(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_initial_score(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_negotiation_ms(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_best_route_kind(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_best_ping(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_best_score(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_best_time(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_selected_seconds(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_user_settings(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_ice_enable_var(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_local_candidate_types_allowed(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } -}; - -CMsgSteamNetworkingICESessionSummary::CMsgSteamNetworkingICESessionSummary(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamNetworkingICESessionSummary) -} -CMsgSteamNetworkingICESessionSummary::CMsgSteamNetworkingICESessionSummary(const CMsgSteamNetworkingICESessionSummary& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamNetworkingICESessionSummary* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.local_candidate_types_){} - , decltype(_impl_.remote_candidate_types_){} - , decltype(_impl_.initial_route_kind_){} - , decltype(_impl_.initial_ping_){} - , decltype(_impl_.negotiation_ms_){} - , decltype(_impl_.initial_score_){} - , decltype(_impl_.failure_reason_code_){} - , decltype(_impl_.selected_seconds_){} - , decltype(_impl_.user_settings_){} - , decltype(_impl_.ice_enable_var_){} - , decltype(_impl_.local_candidate_types_allowed_){} - , decltype(_impl_.best_route_kind_){} - , decltype(_impl_.best_ping_){} - , decltype(_impl_.best_score_){} - , decltype(_impl_.best_time_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.local_candidate_types_, &from._impl_.local_candidate_types_, - static_cast(reinterpret_cast(&_impl_.best_time_) - - reinterpret_cast(&_impl_.local_candidate_types_)) + sizeof(_impl_.best_time_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingICESessionSummary) -} - -inline void CMsgSteamNetworkingICESessionSummary::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.local_candidate_types_){0u} - , decltype(_impl_.remote_candidate_types_){0u} - , decltype(_impl_.initial_route_kind_){0u} - , decltype(_impl_.initial_ping_){0u} - , decltype(_impl_.negotiation_ms_){0u} - , decltype(_impl_.initial_score_){0u} - , decltype(_impl_.failure_reason_code_){0u} - , decltype(_impl_.selected_seconds_){0u} - , decltype(_impl_.user_settings_){0u} - , decltype(_impl_.ice_enable_var_){0u} - , decltype(_impl_.local_candidate_types_allowed_){0u} - , decltype(_impl_.best_route_kind_){0u} - , decltype(_impl_.best_ping_){0u} - , decltype(_impl_.best_score_){0u} - , decltype(_impl_.best_time_){0u} - }; -} - -CMsgSteamNetworkingICESessionSummary::~CMsgSteamNetworkingICESessionSummary() { - // @@protoc_insertion_point(destructor:CMsgSteamNetworkingICESessionSummary) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamNetworkingICESessionSummary::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSteamNetworkingICESessionSummary::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamNetworkingICESessionSummary::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingICESessionSummary) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.local_candidate_types_, 0, static_cast( - reinterpret_cast(&_impl_.selected_seconds_) - - reinterpret_cast(&_impl_.local_candidate_types_)) + sizeof(_impl_.selected_seconds_)); - } - if (cached_has_bits & 0x00007f00u) { - ::memset(&_impl_.user_settings_, 0, static_cast( - reinterpret_cast(&_impl_.best_time_) - - reinterpret_cast(&_impl_.user_settings_)) + sizeof(_impl_.best_time_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamNetworkingICESessionSummary::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 local_candidate_types = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_local_candidate_types(&has_bits); - _impl_.local_candidate_types_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 remote_candidate_types = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_remote_candidate_types(&has_bits); - _impl_.remote_candidate_types_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 initial_route_kind = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_initial_route_kind(&has_bits); - _impl_.initial_route_kind_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 initial_ping = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_initial_ping(&has_bits); - _impl_.initial_ping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 negotiation_ms = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_negotiation_ms(&has_bits); - _impl_.negotiation_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 initial_score = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_initial_score(&has_bits); - _impl_.initial_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 failure_reason_code = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_failure_reason_code(&has_bits); - _impl_.failure_reason_code_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 selected_seconds = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_selected_seconds(&has_bits); - _impl_.selected_seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 user_settings = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_user_settings(&has_bits); - _impl_.user_settings_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ice_enable_var = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_ice_enable_var(&has_bits); - _impl_.ice_enable_var_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 local_candidate_types_allowed = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_local_candidate_types_allowed(&has_bits); - _impl_.local_candidate_types_allowed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 best_route_kind = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_best_route_kind(&has_bits); - _impl_.best_route_kind_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 best_ping = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_best_ping(&has_bits); - _impl_.best_ping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 best_score = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_best_score(&has_bits); - _impl_.best_score_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 best_time = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_best_time(&has_bits); - _impl_.best_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamNetworkingICESessionSummary::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingICESessionSummary) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 local_candidate_types = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_local_candidate_types(), target); - } - - // optional uint32 remote_candidate_types = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_remote_candidate_types(), target); - } - - // optional uint32 initial_route_kind = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_initial_route_kind(), target); - } - - // optional uint32 initial_ping = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_initial_ping(), target); - } - - // optional uint32 negotiation_ms = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_negotiation_ms(), target); - } - - // optional uint32 initial_score = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_initial_score(), target); - } - - // optional uint32 failure_reason_code = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_failure_reason_code(), target); - } - - // optional uint32 selected_seconds = 12; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_selected_seconds(), target); - } - - // optional uint32 user_settings = 13; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_user_settings(), target); - } - - // optional uint32 ice_enable_var = 14; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_ice_enable_var(), target); - } - - // optional uint32 local_candidate_types_allowed = 15; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_local_candidate_types_allowed(), target); - } - - // optional uint32 best_route_kind = 16; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_best_route_kind(), target); - } - - // optional uint32 best_ping = 17; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_best_ping(), target); - } - - // optional uint32 best_score = 18; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_best_score(), target); - } - - // optional uint32 best_time = 19; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_best_time(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamNetworkingICESessionSummary) - return target; -} - -size_t CMsgSteamNetworkingICESessionSummary::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingICESessionSummary) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional uint32 local_candidate_types = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_local_candidate_types()); - } - - // optional uint32 remote_candidate_types = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_remote_candidate_types()); - } - - // optional uint32 initial_route_kind = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_initial_route_kind()); - } - - // optional uint32 initial_ping = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_initial_ping()); - } - - // optional uint32 negotiation_ms = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_negotiation_ms()); - } - - // optional uint32 initial_score = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_initial_score()); - } - - // optional uint32 failure_reason_code = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_failure_reason_code()); - } - - // optional uint32 selected_seconds = 12; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_selected_seconds()); - } - - } - if (cached_has_bits & 0x00007f00u) { - // optional uint32 user_settings = 13; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_user_settings()); - } - - // optional uint32 ice_enable_var = 14; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ice_enable_var()); - } - - // optional uint32 local_candidate_types_allowed = 15; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_local_candidate_types_allowed()); - } - - // optional uint32 best_route_kind = 16; - if (cached_has_bits & 0x00000800u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_best_route_kind()); - } - - // optional uint32 best_ping = 17; - if (cached_has_bits & 0x00001000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_best_ping()); - } - - // optional uint32 best_score = 18; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_best_score()); - } - - // optional uint32 best_time = 19; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_best_time()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingICESessionSummary::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamNetworkingICESessionSummary::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingICESessionSummary::GetClassData() const { return &_class_data_; } - - -void CMsgSteamNetworkingICESessionSummary::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamNetworkingICESessionSummary) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.local_candidate_types_ = from._impl_.local_candidate_types_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.remote_candidate_types_ = from._impl_.remote_candidate_types_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.initial_route_kind_ = from._impl_.initial_route_kind_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.initial_ping_ = from._impl_.initial_ping_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.negotiation_ms_ = from._impl_.negotiation_ms_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.initial_score_ = from._impl_.initial_score_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.failure_reason_code_ = from._impl_.failure_reason_code_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.selected_seconds_ = from._impl_.selected_seconds_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00007f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.user_settings_ = from._impl_.user_settings_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.ice_enable_var_ = from._impl_.ice_enable_var_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.local_candidate_types_allowed_ = from._impl_.local_candidate_types_allowed_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.best_route_kind_ = from._impl_.best_route_kind_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.best_ping_ = from._impl_.best_ping_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.best_score_ = from._impl_.best_score_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.best_time_ = from._impl_.best_time_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamNetworkingICESessionSummary::CopyFrom(const CMsgSteamNetworkingICESessionSummary& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingICESessionSummary) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamNetworkingICESessionSummary::IsInitialized() const { - return true; -} - -void CMsgSteamNetworkingICESessionSummary::InternalSwap(CMsgSteamNetworkingICESessionSummary* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingICESessionSummary, _impl_.best_time_) - + sizeof(CMsgSteamNetworkingICESessionSummary::_impl_.best_time_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamNetworkingICESessionSummary, _impl_.local_candidate_types_)>( - reinterpret_cast(&_impl_.local_candidate_types_), - reinterpret_cast(&other->_impl_.local_candidate_types_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingICESessionSummary::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_2eproto[15]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramSessionCryptInfo* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramSessionCryptInfo >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramSessionCryptInfo >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramSessionCryptInfoSigned* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramSessionCryptInfoSigned >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramSessionCryptInfoSigned >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramDiagnostic* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramDiagnostic >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramDiagnostic >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramLinkInstantaneousStats* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramLinkInstantaneousStats >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramLinkInstantaneousStats >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramLinkLifetimeStats* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramLinkLifetimeStats >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramLinkLifetimeStats >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramConnectionQuality* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramConnectionQuality >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramConnectionQuality >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgICECandidate* -Arena::CreateMaybeMessage< ::CMsgICECandidate >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgICECandidate >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgICERendezvous_Auth* -Arena::CreateMaybeMessage< ::CMsgICERendezvous_Auth >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgICERendezvous_Auth >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgICERendezvous* -Arena::CreateMaybeMessage< ::CMsgICERendezvous >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgICERendezvous >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* -Arena::CreateMaybeMessage< ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* -Arena::CreateMaybeMessage< ::CMsgSteamNetworkingP2PRendezvous_ConnectOK >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamNetworkingP2PRendezvous_ConnectOK >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* -Arena::CreateMaybeMessage< ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage* -Arena::CreateMaybeMessage< ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* -Arena::CreateMaybeMessage< ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingP2PRendezvous* -Arena::CreateMaybeMessage< ::CMsgSteamNetworkingP2PRendezvous >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamNetworkingP2PRendezvous >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingICESessionSummary* -Arena::CreateMaybeMessage< ::CMsgSteamNetworkingICESessionSummary >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamNetworkingICESessionSummary >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/steamnetworkingsockets_messages.pb.h b/protobuf/generated/steamnetworkingsockets_messages.pb.h deleted file mode 100644 index b60b35544..000000000 --- a/protobuf/generated/steamnetworkingsockets_messages.pb.h +++ /dev/null @@ -1,9044 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steamnetworkingsockets_messages.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_steamnetworkingsockets_5fmessages_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_steamnetworkingsockets_5fmessages_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "steamnetworkingsockets_messages_certs.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_steamnetworkingsockets_5fmessages_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_steamnetworkingsockets_5fmessages_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steamnetworkingsockets_5fmessages_2eproto; -class CMsgICECandidate; -struct CMsgICECandidateDefaultTypeInternal; -extern CMsgICECandidateDefaultTypeInternal _CMsgICECandidate_default_instance_; -class CMsgICERendezvous; -struct CMsgICERendezvousDefaultTypeInternal; -extern CMsgICERendezvousDefaultTypeInternal _CMsgICERendezvous_default_instance_; -class CMsgICERendezvous_Auth; -struct CMsgICERendezvous_AuthDefaultTypeInternal; -extern CMsgICERendezvous_AuthDefaultTypeInternal _CMsgICERendezvous_Auth_default_instance_; -class CMsgSteamDatagramConnectionQuality; -struct CMsgSteamDatagramConnectionQualityDefaultTypeInternal; -extern CMsgSteamDatagramConnectionQualityDefaultTypeInternal _CMsgSteamDatagramConnectionQuality_default_instance_; -class CMsgSteamDatagramDiagnostic; -struct CMsgSteamDatagramDiagnosticDefaultTypeInternal; -extern CMsgSteamDatagramDiagnosticDefaultTypeInternal _CMsgSteamDatagramDiagnostic_default_instance_; -class CMsgSteamDatagramLinkInstantaneousStats; -struct CMsgSteamDatagramLinkInstantaneousStatsDefaultTypeInternal; -extern CMsgSteamDatagramLinkInstantaneousStatsDefaultTypeInternal _CMsgSteamDatagramLinkInstantaneousStats_default_instance_; -class CMsgSteamDatagramLinkLifetimeStats; -struct CMsgSteamDatagramLinkLifetimeStatsDefaultTypeInternal; -extern CMsgSteamDatagramLinkLifetimeStatsDefaultTypeInternal _CMsgSteamDatagramLinkLifetimeStats_default_instance_; -class CMsgSteamDatagramSessionCryptInfo; -struct CMsgSteamDatagramSessionCryptInfoDefaultTypeInternal; -extern CMsgSteamDatagramSessionCryptInfoDefaultTypeInternal _CMsgSteamDatagramSessionCryptInfo_default_instance_; -class CMsgSteamDatagramSessionCryptInfoSigned; -struct CMsgSteamDatagramSessionCryptInfoSignedDefaultTypeInternal; -extern CMsgSteamDatagramSessionCryptInfoSignedDefaultTypeInternal _CMsgSteamDatagramSessionCryptInfoSigned_default_instance_; -class CMsgSteamNetworkingICESessionSummary; -struct CMsgSteamNetworkingICESessionSummaryDefaultTypeInternal; -extern CMsgSteamNetworkingICESessionSummaryDefaultTypeInternal _CMsgSteamNetworkingICESessionSummary_default_instance_; -class CMsgSteamNetworkingP2PRendezvous; -struct CMsgSteamNetworkingP2PRendezvousDefaultTypeInternal; -extern CMsgSteamNetworkingP2PRendezvousDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_default_instance_; -class CMsgSteamNetworkingP2PRendezvous_ApplicationMessage; -struct CMsgSteamNetworkingP2PRendezvous_ApplicationMessageDefaultTypeInternal; -extern CMsgSteamNetworkingP2PRendezvous_ApplicationMessageDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ApplicationMessage_default_instance_; -class CMsgSteamNetworkingP2PRendezvous_ConnectOK; -struct CMsgSteamNetworkingP2PRendezvous_ConnectOKDefaultTypeInternal; -extern CMsgSteamNetworkingP2PRendezvous_ConnectOKDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ConnectOK_default_instance_; -class CMsgSteamNetworkingP2PRendezvous_ConnectRequest; -struct CMsgSteamNetworkingP2PRendezvous_ConnectRequestDefaultTypeInternal; -extern CMsgSteamNetworkingP2PRendezvous_ConnectRequestDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ConnectRequest_default_instance_; -class CMsgSteamNetworkingP2PRendezvous_ConnectionClosed; -struct CMsgSteamNetworkingP2PRendezvous_ConnectionClosedDefaultTypeInternal; -extern CMsgSteamNetworkingP2PRendezvous_ConnectionClosedDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ConnectionClosed_default_instance_; -class CMsgSteamNetworkingP2PRendezvous_ReliableMessage; -struct CMsgSteamNetworkingP2PRendezvous_ReliableMessageDefaultTypeInternal; -extern CMsgSteamNetworkingP2PRendezvous_ReliableMessageDefaultTypeInternal _CMsgSteamNetworkingP2PRendezvous_ReliableMessage_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CMsgICECandidate* Arena::CreateMaybeMessage<::CMsgICECandidate>(Arena*); -template<> ::CMsgICERendezvous* Arena::CreateMaybeMessage<::CMsgICERendezvous>(Arena*); -template<> ::CMsgICERendezvous_Auth* Arena::CreateMaybeMessage<::CMsgICERendezvous_Auth>(Arena*); -template<> ::CMsgSteamDatagramConnectionQuality* Arena::CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(Arena*); -template<> ::CMsgSteamDatagramDiagnostic* Arena::CreateMaybeMessage<::CMsgSteamDatagramDiagnostic>(Arena*); -template<> ::CMsgSteamDatagramLinkInstantaneousStats* Arena::CreateMaybeMessage<::CMsgSteamDatagramLinkInstantaneousStats>(Arena*); -template<> ::CMsgSteamDatagramLinkLifetimeStats* Arena::CreateMaybeMessage<::CMsgSteamDatagramLinkLifetimeStats>(Arena*); -template<> ::CMsgSteamDatagramSessionCryptInfo* Arena::CreateMaybeMessage<::CMsgSteamDatagramSessionCryptInfo>(Arena*); -template<> ::CMsgSteamDatagramSessionCryptInfoSigned* Arena::CreateMaybeMessage<::CMsgSteamDatagramSessionCryptInfoSigned>(Arena*); -template<> ::CMsgSteamNetworkingICESessionSummary* Arena::CreateMaybeMessage<::CMsgSteamNetworkingICESessionSummary>(Arena*); -template<> ::CMsgSteamNetworkingP2PRendezvous* Arena::CreateMaybeMessage<::CMsgSteamNetworkingP2PRendezvous>(Arena*); -template<> ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* Arena::CreateMaybeMessage<::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage>(Arena*); -template<> ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* Arena::CreateMaybeMessage<::CMsgSteamNetworkingP2PRendezvous_ConnectOK>(Arena*); -template<> ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* Arena::CreateMaybeMessage<::CMsgSteamNetworkingP2PRendezvous_ConnectRequest>(Arena*); -template<> ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* Arena::CreateMaybeMessage<::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed>(Arena*); -template<> ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage* Arena::CreateMaybeMessage<::CMsgSteamNetworkingP2PRendezvous_ReliableMessage>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum CMsgSteamDatagramSessionCryptInfo_EKeyType : int { - CMsgSteamDatagramSessionCryptInfo_EKeyType_INVALID = 0, - CMsgSteamDatagramSessionCryptInfo_EKeyType_CURVE25519 = 1 -}; -bool CMsgSteamDatagramSessionCryptInfo_EKeyType_IsValid(int value); -constexpr CMsgSteamDatagramSessionCryptInfo_EKeyType CMsgSteamDatagramSessionCryptInfo_EKeyType_EKeyType_MIN = CMsgSteamDatagramSessionCryptInfo_EKeyType_INVALID; -constexpr CMsgSteamDatagramSessionCryptInfo_EKeyType CMsgSteamDatagramSessionCryptInfo_EKeyType_EKeyType_MAX = CMsgSteamDatagramSessionCryptInfo_EKeyType_CURVE25519; -constexpr int CMsgSteamDatagramSessionCryptInfo_EKeyType_EKeyType_ARRAYSIZE = CMsgSteamDatagramSessionCryptInfo_EKeyType_EKeyType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramSessionCryptInfo_EKeyType_descriptor(); -template -inline const std::string& CMsgSteamDatagramSessionCryptInfo_EKeyType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CMsgSteamDatagramSessionCryptInfo_EKeyType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CMsgSteamDatagramSessionCryptInfo_EKeyType_descriptor(), enum_t_value); -} -inline bool CMsgSteamDatagramSessionCryptInfo_EKeyType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramSessionCryptInfo_EKeyType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CMsgSteamDatagramSessionCryptInfo_EKeyType_descriptor(), name, value); -} -enum ESteamNetworkingSocketsCipher : int { - k_ESteamNetworkingSocketsCipher_INVALID = 0, - k_ESteamNetworkingSocketsCipher_NULL = 1, - k_ESteamNetworkingSocketsCipher_AES_256_GCM = 2 -}; -bool ESteamNetworkingSocketsCipher_IsValid(int value); -constexpr ESteamNetworkingSocketsCipher ESteamNetworkingSocketsCipher_MIN = k_ESteamNetworkingSocketsCipher_INVALID; -constexpr ESteamNetworkingSocketsCipher ESteamNetworkingSocketsCipher_MAX = k_ESteamNetworkingSocketsCipher_AES_256_GCM; -constexpr int ESteamNetworkingSocketsCipher_ARRAYSIZE = ESteamNetworkingSocketsCipher_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESteamNetworkingSocketsCipher_descriptor(); -template -inline const std::string& ESteamNetworkingSocketsCipher_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ESteamNetworkingSocketsCipher_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ESteamNetworkingSocketsCipher_descriptor(), enum_t_value); -} -inline bool ESteamNetworkingSocketsCipher_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ESteamNetworkingSocketsCipher* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ESteamNetworkingSocketsCipher_descriptor(), name, value); -} -// =================================================================== - -class CMsgSteamDatagramSessionCryptInfo : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramSessionCryptInfo) */ { - public: - inline CMsgSteamDatagramSessionCryptInfo() : CMsgSteamDatagramSessionCryptInfo(nullptr) {} - ~CMsgSteamDatagramSessionCryptInfo() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramSessionCryptInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramSessionCryptInfo(const CMsgSteamDatagramSessionCryptInfo& from); - CMsgSteamDatagramSessionCryptInfo(CMsgSteamDatagramSessionCryptInfo&& from) noexcept - : CMsgSteamDatagramSessionCryptInfo() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramSessionCryptInfo& operator=(const CMsgSteamDatagramSessionCryptInfo& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramSessionCryptInfo& operator=(CMsgSteamDatagramSessionCryptInfo&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramSessionCryptInfo& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramSessionCryptInfo* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramSessionCryptInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CMsgSteamDatagramSessionCryptInfo& a, CMsgSteamDatagramSessionCryptInfo& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramSessionCryptInfo* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramSessionCryptInfo* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramSessionCryptInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramSessionCryptInfo& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramSessionCryptInfo& from) { - CMsgSteamDatagramSessionCryptInfo::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramSessionCryptInfo* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramSessionCryptInfo"; - } - protected: - explicit CMsgSteamDatagramSessionCryptInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamDatagramSessionCryptInfo_EKeyType EKeyType; - static constexpr EKeyType INVALID = - CMsgSteamDatagramSessionCryptInfo_EKeyType_INVALID; - static constexpr EKeyType CURVE25519 = - CMsgSteamDatagramSessionCryptInfo_EKeyType_CURVE25519; - static inline bool EKeyType_IsValid(int value) { - return CMsgSteamDatagramSessionCryptInfo_EKeyType_IsValid(value); - } - static constexpr EKeyType EKeyType_MIN = - CMsgSteamDatagramSessionCryptInfo_EKeyType_EKeyType_MIN; - static constexpr EKeyType EKeyType_MAX = - CMsgSteamDatagramSessionCryptInfo_EKeyType_EKeyType_MAX; - static constexpr int EKeyType_ARRAYSIZE = - CMsgSteamDatagramSessionCryptInfo_EKeyType_EKeyType_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - EKeyType_descriptor() { - return CMsgSteamDatagramSessionCryptInfo_EKeyType_descriptor(); - } - template - static inline const std::string& EKeyType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EKeyType_Name."); - return CMsgSteamDatagramSessionCryptInfo_EKeyType_Name(enum_t_value); - } - static inline bool EKeyType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - EKeyType* value) { - return CMsgSteamDatagramSessionCryptInfo_EKeyType_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kCiphersFieldNumber = 5, - kKeyDataFieldNumber = 2, - kKeyTypeFieldNumber = 1, - kProtocolVersionFieldNumber = 4, - kNonceFieldNumber = 3, - }; - // repeated .ESteamNetworkingSocketsCipher ciphers = 5; - int ciphers_size() const; - private: - int _internal_ciphers_size() const; - public: - void clear_ciphers(); - private: - ::ESteamNetworkingSocketsCipher _internal_ciphers(int index) const; - void _internal_add_ciphers(::ESteamNetworkingSocketsCipher value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField* _internal_mutable_ciphers(); - public: - ::ESteamNetworkingSocketsCipher ciphers(int index) const; - void set_ciphers(int index, ::ESteamNetworkingSocketsCipher value); - void add_ciphers(::ESteamNetworkingSocketsCipher value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField& ciphers() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField* mutable_ciphers(); - - // optional bytes key_data = 2; - bool has_key_data() const; - private: - bool _internal_has_key_data() const; - public: - void clear_key_data(); - const std::string& key_data() const; - template - void set_key_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_key_data(); - PROTOBUF_NODISCARD std::string* release_key_data(); - void set_allocated_key_data(std::string* key_data); - private: - const std::string& _internal_key_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_key_data(const std::string& value); - std::string* _internal_mutable_key_data(); - public: - - // optional .CMsgSteamDatagramSessionCryptInfo.EKeyType key_type = 1 [default = INVALID]; - bool has_key_type() const; - private: - bool _internal_has_key_type() const; - public: - void clear_key_type(); - ::CMsgSteamDatagramSessionCryptInfo_EKeyType key_type() const; - void set_key_type(::CMsgSteamDatagramSessionCryptInfo_EKeyType value); - private: - ::CMsgSteamDatagramSessionCryptInfo_EKeyType _internal_key_type() const; - void _internal_set_key_type(::CMsgSteamDatagramSessionCryptInfo_EKeyType value); - public: - - // optional uint32 protocol_version = 4; - bool has_protocol_version() const; - private: - bool _internal_has_protocol_version() const; - public: - void clear_protocol_version(); - uint32_t protocol_version() const; - void set_protocol_version(uint32_t value); - private: - uint32_t _internal_protocol_version() const; - void _internal_set_protocol_version(uint32_t value); - public: - - // optional fixed64 nonce = 3; - bool has_nonce() const; - private: - bool _internal_has_nonce() const; - public: - void clear_nonce(); - uint64_t nonce() const; - void set_nonce(uint64_t value); - private: - uint64_t _internal_nonce() const; - void _internal_set_nonce(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramSessionCryptInfo) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField ciphers_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_data_; - int key_type_; - uint32_t protocol_version_; - uint64_t nonce_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramSessionCryptInfoSigned : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramSessionCryptInfoSigned) */ { - public: - inline CMsgSteamDatagramSessionCryptInfoSigned() : CMsgSteamDatagramSessionCryptInfoSigned(nullptr) {} - ~CMsgSteamDatagramSessionCryptInfoSigned() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramSessionCryptInfoSigned(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramSessionCryptInfoSigned(const CMsgSteamDatagramSessionCryptInfoSigned& from); - CMsgSteamDatagramSessionCryptInfoSigned(CMsgSteamDatagramSessionCryptInfoSigned&& from) noexcept - : CMsgSteamDatagramSessionCryptInfoSigned() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramSessionCryptInfoSigned& operator=(const CMsgSteamDatagramSessionCryptInfoSigned& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramSessionCryptInfoSigned& operator=(CMsgSteamDatagramSessionCryptInfoSigned&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramSessionCryptInfoSigned& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramSessionCryptInfoSigned* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramSessionCryptInfoSigned_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CMsgSteamDatagramSessionCryptInfoSigned& a, CMsgSteamDatagramSessionCryptInfoSigned& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramSessionCryptInfoSigned* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramSessionCryptInfoSigned* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramSessionCryptInfoSigned* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramSessionCryptInfoSigned& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramSessionCryptInfoSigned& from) { - CMsgSteamDatagramSessionCryptInfoSigned::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramSessionCryptInfoSigned* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramSessionCryptInfoSigned"; - } - protected: - explicit CMsgSteamDatagramSessionCryptInfoSigned(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kInfoFieldNumber = 1, - kSignatureFieldNumber = 2, - }; - // optional bytes info = 1; - bool has_info() const; - private: - bool _internal_has_info() const; - public: - void clear_info(); - const std::string& info() const; - template - void set_info(ArgT0&& arg0, ArgT... args); - std::string* mutable_info(); - PROTOBUF_NODISCARD std::string* release_info(); - void set_allocated_info(std::string* info); - private: - const std::string& _internal_info() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_info(const std::string& value); - std::string* _internal_mutable_info(); - public: - - // optional bytes signature = 2; - bool has_signature() const; - private: - bool _internal_has_signature() const; - public: - void clear_signature(); - const std::string& signature() const; - template - void set_signature(ArgT0&& arg0, ArgT... args); - std::string* mutable_signature(); - PROTOBUF_NODISCARD std::string* release_signature(); - void set_allocated_signature(std::string* signature); - private: - const std::string& _internal_signature() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_signature(const std::string& value); - std::string* _internal_mutable_signature(); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramSessionCryptInfoSigned) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr info_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signature_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramDiagnostic : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramDiagnostic) */ { - public: - inline CMsgSteamDatagramDiagnostic() : CMsgSteamDatagramDiagnostic(nullptr) {} - ~CMsgSteamDatagramDiagnostic() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramDiagnostic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramDiagnostic(const CMsgSteamDatagramDiagnostic& from); - CMsgSteamDatagramDiagnostic(CMsgSteamDatagramDiagnostic&& from) noexcept - : CMsgSteamDatagramDiagnostic() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramDiagnostic& operator=(const CMsgSteamDatagramDiagnostic& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramDiagnostic& operator=(CMsgSteamDatagramDiagnostic&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramDiagnostic& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramDiagnostic* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramDiagnostic_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CMsgSteamDatagramDiagnostic& a, CMsgSteamDatagramDiagnostic& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramDiagnostic* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramDiagnostic* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramDiagnostic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramDiagnostic& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramDiagnostic& from) { - CMsgSteamDatagramDiagnostic::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramDiagnostic* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramDiagnostic"; - } - protected: - explicit CMsgSteamDatagramDiagnostic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTextFieldNumber = 2, - kSeverityFieldNumber = 1, - }; - // optional string text = 2; - bool has_text() const; - private: - bool _internal_has_text() const; - public: - void clear_text(); - const std::string& text() const; - template - void set_text(ArgT0&& arg0, ArgT... args); - std::string* mutable_text(); - PROTOBUF_NODISCARD std::string* release_text(); - void set_allocated_text(std::string* text); - private: - const std::string& _internal_text() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value); - std::string* _internal_mutable_text(); - public: - - // optional uint32 severity = 1; - bool has_severity() const; - private: - bool _internal_has_severity() const; - public: - void clear_severity(); - uint32_t severity() const; - void set_severity(uint32_t value); - private: - uint32_t _internal_severity() const; - void _internal_set_severity(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramDiagnostic) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; - uint32_t severity_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramLinkInstantaneousStats : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramLinkInstantaneousStats) */ { - public: - inline CMsgSteamDatagramLinkInstantaneousStats() : CMsgSteamDatagramLinkInstantaneousStats(nullptr) {} - ~CMsgSteamDatagramLinkInstantaneousStats() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramLinkInstantaneousStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramLinkInstantaneousStats(const CMsgSteamDatagramLinkInstantaneousStats& from); - CMsgSteamDatagramLinkInstantaneousStats(CMsgSteamDatagramLinkInstantaneousStats&& from) noexcept - : CMsgSteamDatagramLinkInstantaneousStats() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramLinkInstantaneousStats& operator=(const CMsgSteamDatagramLinkInstantaneousStats& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramLinkInstantaneousStats& operator=(CMsgSteamDatagramLinkInstantaneousStats&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramLinkInstantaneousStats& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramLinkInstantaneousStats* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramLinkInstantaneousStats_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CMsgSteamDatagramLinkInstantaneousStats& a, CMsgSteamDatagramLinkInstantaneousStats& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramLinkInstantaneousStats* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramLinkInstantaneousStats* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramLinkInstantaneousStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramLinkInstantaneousStats& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramLinkInstantaneousStats& from) { - CMsgSteamDatagramLinkInstantaneousStats::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramLinkInstantaneousStats* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramLinkInstantaneousStats"; - } - protected: - explicit CMsgSteamDatagramLinkInstantaneousStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOutPacketsPerSecX10FieldNumber = 1, - kOutBytesPerSecFieldNumber = 2, - kInPacketsPerSecX10FieldNumber = 3, - kInBytesPerSecFieldNumber = 4, - kPingMsFieldNumber = 5, - kPacketsDroppedPctFieldNumber = 6, - kPacketsWeirdSequencePctFieldNumber = 7, - kPeakJitterUsecFieldNumber = 8, - }; - // optional uint32 out_packets_per_sec_x10 = 1; - bool has_out_packets_per_sec_x10() const; - private: - bool _internal_has_out_packets_per_sec_x10() const; - public: - void clear_out_packets_per_sec_x10(); - uint32_t out_packets_per_sec_x10() const; - void set_out_packets_per_sec_x10(uint32_t value); - private: - uint32_t _internal_out_packets_per_sec_x10() const; - void _internal_set_out_packets_per_sec_x10(uint32_t value); - public: - - // optional uint32 out_bytes_per_sec = 2; - bool has_out_bytes_per_sec() const; - private: - bool _internal_has_out_bytes_per_sec() const; - public: - void clear_out_bytes_per_sec(); - uint32_t out_bytes_per_sec() const; - void set_out_bytes_per_sec(uint32_t value); - private: - uint32_t _internal_out_bytes_per_sec() const; - void _internal_set_out_bytes_per_sec(uint32_t value); - public: - - // optional uint32 in_packets_per_sec_x10 = 3; - bool has_in_packets_per_sec_x10() const; - private: - bool _internal_has_in_packets_per_sec_x10() const; - public: - void clear_in_packets_per_sec_x10(); - uint32_t in_packets_per_sec_x10() const; - void set_in_packets_per_sec_x10(uint32_t value); - private: - uint32_t _internal_in_packets_per_sec_x10() const; - void _internal_set_in_packets_per_sec_x10(uint32_t value); - public: - - // optional uint32 in_bytes_per_sec = 4; - bool has_in_bytes_per_sec() const; - private: - bool _internal_has_in_bytes_per_sec() const; - public: - void clear_in_bytes_per_sec(); - uint32_t in_bytes_per_sec() const; - void set_in_bytes_per_sec(uint32_t value); - private: - uint32_t _internal_in_bytes_per_sec() const; - void _internal_set_in_bytes_per_sec(uint32_t value); - public: - - // optional uint32 ping_ms = 5; - bool has_ping_ms() const; - private: - bool _internal_has_ping_ms() const; - public: - void clear_ping_ms(); - uint32_t ping_ms() const; - void set_ping_ms(uint32_t value); - private: - uint32_t _internal_ping_ms() const; - void _internal_set_ping_ms(uint32_t value); - public: - - // optional uint32 packets_dropped_pct = 6; - bool has_packets_dropped_pct() const; - private: - bool _internal_has_packets_dropped_pct() const; - public: - void clear_packets_dropped_pct(); - uint32_t packets_dropped_pct() const; - void set_packets_dropped_pct(uint32_t value); - private: - uint32_t _internal_packets_dropped_pct() const; - void _internal_set_packets_dropped_pct(uint32_t value); - public: - - // optional uint32 packets_weird_sequence_pct = 7; - bool has_packets_weird_sequence_pct() const; - private: - bool _internal_has_packets_weird_sequence_pct() const; - public: - void clear_packets_weird_sequence_pct(); - uint32_t packets_weird_sequence_pct() const; - void set_packets_weird_sequence_pct(uint32_t value); - private: - uint32_t _internal_packets_weird_sequence_pct() const; - void _internal_set_packets_weird_sequence_pct(uint32_t value); - public: - - // optional uint32 peak_jitter_usec = 8; - bool has_peak_jitter_usec() const; - private: - bool _internal_has_peak_jitter_usec() const; - public: - void clear_peak_jitter_usec(); - uint32_t peak_jitter_usec() const; - void set_peak_jitter_usec(uint32_t value); - private: - uint32_t _internal_peak_jitter_usec() const; - void _internal_set_peak_jitter_usec(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramLinkInstantaneousStats) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t out_packets_per_sec_x10_; - uint32_t out_bytes_per_sec_; - uint32_t in_packets_per_sec_x10_; - uint32_t in_bytes_per_sec_; - uint32_t ping_ms_; - uint32_t packets_dropped_pct_; - uint32_t packets_weird_sequence_pct_; - uint32_t peak_jitter_usec_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramLinkLifetimeStats : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramLinkLifetimeStats) */ { - public: - inline CMsgSteamDatagramLinkLifetimeStats() : CMsgSteamDatagramLinkLifetimeStats(nullptr) {} - ~CMsgSteamDatagramLinkLifetimeStats() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramLinkLifetimeStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramLinkLifetimeStats(const CMsgSteamDatagramLinkLifetimeStats& from); - CMsgSteamDatagramLinkLifetimeStats(CMsgSteamDatagramLinkLifetimeStats&& from) noexcept - : CMsgSteamDatagramLinkLifetimeStats() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramLinkLifetimeStats& operator=(const CMsgSteamDatagramLinkLifetimeStats& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramLinkLifetimeStats& operator=(CMsgSteamDatagramLinkLifetimeStats&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramLinkLifetimeStats& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramLinkLifetimeStats* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramLinkLifetimeStats_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CMsgSteamDatagramLinkLifetimeStats& a, CMsgSteamDatagramLinkLifetimeStats& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramLinkLifetimeStats* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramLinkLifetimeStats* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramLinkLifetimeStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramLinkLifetimeStats& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramLinkLifetimeStats& from) { - CMsgSteamDatagramLinkLifetimeStats::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramLinkLifetimeStats* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramLinkLifetimeStats"; - } - protected: - explicit CMsgSteamDatagramLinkLifetimeStats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMultipathPacketsRecvSequencedFieldNumber = 12, - kMultipathPacketsRecvLaterFieldNumber = 13, - kPacketsSentFieldNumber = 3, - kKbSentFieldNumber = 4, - kPacketsRecvFieldNumber = 5, - kKbRecvFieldNumber = 6, - kPacketsRecvSequencedFieldNumber = 7, - kPacketsRecvDroppedFieldNumber = 8, - kConnectedSecondsFieldNumber = 2, - kMultipathSendEnabledFieldNumber = 14, - kPacketsRecvOutOfOrderFieldNumber = 9, - kPacketsRecvDuplicateFieldNumber = 10, - kPacketsRecvLurchFieldNumber = 11, - kPacketsRecvOutOfOrderCorrectedFieldNumber = 15, - kQualityHistogram100FieldNumber = 21, - kQualityHistogram99FieldNumber = 22, - kQualityHistogram97FieldNumber = 23, - kQualityHistogram95FieldNumber = 24, - kQualityHistogram90FieldNumber = 25, - kQualityHistogram75FieldNumber = 26, - kQualityHistogram50FieldNumber = 27, - kQualityHistogram1FieldNumber = 28, - kQualityHistogramDeadFieldNumber = 29, - kQualityNtile2NdFieldNumber = 30, - kQualityNtile5ThFieldNumber = 31, - kQualityNtile25ThFieldNumber = 32, - kQualityNtile50ThFieldNumber = 33, - kPingHistogram25FieldNumber = 41, - kPingHistogram50FieldNumber = 42, - kPingHistogram75FieldNumber = 43, - kPingHistogram100FieldNumber = 44, - kPingHistogram125FieldNumber = 45, - kPingHistogram150FieldNumber = 46, - kPingHistogram200FieldNumber = 47, - kPingHistogram300FieldNumber = 48, - kPingHistogramMaxFieldNumber = 49, - kPingNtile5ThFieldNumber = 50, - kPingNtile50ThFieldNumber = 51, - kPingNtile75ThFieldNumber = 52, - kPingNtile95ThFieldNumber = 53, - kPingNtile98ThFieldNumber = 54, - kJitterHistogramNegligibleFieldNumber = 61, - kJitterHistogram1FieldNumber = 62, - kJitterHistogram2FieldNumber = 63, - kJitterHistogram5FieldNumber = 64, - kJitterHistogram10FieldNumber = 65, - kJitterHistogram20FieldNumber = 66, - }; - // repeated uint64 multipath_packets_recv_sequenced = 12; - int multipath_packets_recv_sequenced_size() const; - private: - int _internal_multipath_packets_recv_sequenced_size() const; - public: - void clear_multipath_packets_recv_sequenced(); - private: - uint64_t _internal_multipath_packets_recv_sequenced(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - _internal_multipath_packets_recv_sequenced() const; - void _internal_add_multipath_packets_recv_sequenced(uint64_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - _internal_mutable_multipath_packets_recv_sequenced(); - public: - uint64_t multipath_packets_recv_sequenced(int index) const; - void set_multipath_packets_recv_sequenced(int index, uint64_t value); - void add_multipath_packets_recv_sequenced(uint64_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - multipath_packets_recv_sequenced() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - mutable_multipath_packets_recv_sequenced(); - - // repeated uint64 multipath_packets_recv_later = 13; - int multipath_packets_recv_later_size() const; - private: - int _internal_multipath_packets_recv_later_size() const; - public: - void clear_multipath_packets_recv_later(); - private: - uint64_t _internal_multipath_packets_recv_later(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - _internal_multipath_packets_recv_later() const; - void _internal_add_multipath_packets_recv_later(uint64_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - _internal_mutable_multipath_packets_recv_later(); - public: - uint64_t multipath_packets_recv_later(int index) const; - void set_multipath_packets_recv_later(int index, uint64_t value); - void add_multipath_packets_recv_later(uint64_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& - multipath_packets_recv_later() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* - mutable_multipath_packets_recv_later(); - - // optional uint64 packets_sent = 3; - bool has_packets_sent() const; - private: - bool _internal_has_packets_sent() const; - public: - void clear_packets_sent(); - uint64_t packets_sent() const; - void set_packets_sent(uint64_t value); - private: - uint64_t _internal_packets_sent() const; - void _internal_set_packets_sent(uint64_t value); - public: - - // optional uint64 kb_sent = 4; - bool has_kb_sent() const; - private: - bool _internal_has_kb_sent() const; - public: - void clear_kb_sent(); - uint64_t kb_sent() const; - void set_kb_sent(uint64_t value); - private: - uint64_t _internal_kb_sent() const; - void _internal_set_kb_sent(uint64_t value); - public: - - // optional uint64 packets_recv = 5; - bool has_packets_recv() const; - private: - bool _internal_has_packets_recv() const; - public: - void clear_packets_recv(); - uint64_t packets_recv() const; - void set_packets_recv(uint64_t value); - private: - uint64_t _internal_packets_recv() const; - void _internal_set_packets_recv(uint64_t value); - public: - - // optional uint64 kb_recv = 6; - bool has_kb_recv() const; - private: - bool _internal_has_kb_recv() const; - public: - void clear_kb_recv(); - uint64_t kb_recv() const; - void set_kb_recv(uint64_t value); - private: - uint64_t _internal_kb_recv() const; - void _internal_set_kb_recv(uint64_t value); - public: - - // optional uint64 packets_recv_sequenced = 7; - bool has_packets_recv_sequenced() const; - private: - bool _internal_has_packets_recv_sequenced() const; - public: - void clear_packets_recv_sequenced(); - uint64_t packets_recv_sequenced() const; - void set_packets_recv_sequenced(uint64_t value); - private: - uint64_t _internal_packets_recv_sequenced() const; - void _internal_set_packets_recv_sequenced(uint64_t value); - public: - - // optional uint64 packets_recv_dropped = 8; - bool has_packets_recv_dropped() const; - private: - bool _internal_has_packets_recv_dropped() const; - public: - void clear_packets_recv_dropped(); - uint64_t packets_recv_dropped() const; - void set_packets_recv_dropped(uint64_t value); - private: - uint64_t _internal_packets_recv_dropped() const; - void _internal_set_packets_recv_dropped(uint64_t value); - public: - - // optional uint32 connected_seconds = 2; - bool has_connected_seconds() const; - private: - bool _internal_has_connected_seconds() const; - public: - void clear_connected_seconds(); - uint32_t connected_seconds() const; - void set_connected_seconds(uint32_t value); - private: - uint32_t _internal_connected_seconds() const; - void _internal_set_connected_seconds(uint32_t value); - public: - - // optional uint32 multipath_send_enabled = 14; - bool has_multipath_send_enabled() const; - private: - bool _internal_has_multipath_send_enabled() const; - public: - void clear_multipath_send_enabled(); - uint32_t multipath_send_enabled() const; - void set_multipath_send_enabled(uint32_t value); - private: - uint32_t _internal_multipath_send_enabled() const; - void _internal_set_multipath_send_enabled(uint32_t value); - public: - - // optional uint64 packets_recv_out_of_order = 9; - bool has_packets_recv_out_of_order() const; - private: - bool _internal_has_packets_recv_out_of_order() const; - public: - void clear_packets_recv_out_of_order(); - uint64_t packets_recv_out_of_order() const; - void set_packets_recv_out_of_order(uint64_t value); - private: - uint64_t _internal_packets_recv_out_of_order() const; - void _internal_set_packets_recv_out_of_order(uint64_t value); - public: - - // optional uint64 packets_recv_duplicate = 10; - bool has_packets_recv_duplicate() const; - private: - bool _internal_has_packets_recv_duplicate() const; - public: - void clear_packets_recv_duplicate(); - uint64_t packets_recv_duplicate() const; - void set_packets_recv_duplicate(uint64_t value); - private: - uint64_t _internal_packets_recv_duplicate() const; - void _internal_set_packets_recv_duplicate(uint64_t value); - public: - - // optional uint64 packets_recv_lurch = 11; - bool has_packets_recv_lurch() const; - private: - bool _internal_has_packets_recv_lurch() const; - public: - void clear_packets_recv_lurch(); - uint64_t packets_recv_lurch() const; - void set_packets_recv_lurch(uint64_t value); - private: - uint64_t _internal_packets_recv_lurch() const; - void _internal_set_packets_recv_lurch(uint64_t value); - public: - - // optional uint64 packets_recv_out_of_order_corrected = 15; - bool has_packets_recv_out_of_order_corrected() const; - private: - bool _internal_has_packets_recv_out_of_order_corrected() const; - public: - void clear_packets_recv_out_of_order_corrected(); - uint64_t packets_recv_out_of_order_corrected() const; - void set_packets_recv_out_of_order_corrected(uint64_t value); - private: - uint64_t _internal_packets_recv_out_of_order_corrected() const; - void _internal_set_packets_recv_out_of_order_corrected(uint64_t value); - public: - - // optional uint32 quality_histogram_100 = 21; - bool has_quality_histogram_100() const; - private: - bool _internal_has_quality_histogram_100() const; - public: - void clear_quality_histogram_100(); - uint32_t quality_histogram_100() const; - void set_quality_histogram_100(uint32_t value); - private: - uint32_t _internal_quality_histogram_100() const; - void _internal_set_quality_histogram_100(uint32_t value); - public: - - // optional uint32 quality_histogram_99 = 22; - bool has_quality_histogram_99() const; - private: - bool _internal_has_quality_histogram_99() const; - public: - void clear_quality_histogram_99(); - uint32_t quality_histogram_99() const; - void set_quality_histogram_99(uint32_t value); - private: - uint32_t _internal_quality_histogram_99() const; - void _internal_set_quality_histogram_99(uint32_t value); - public: - - // optional uint32 quality_histogram_97 = 23; - bool has_quality_histogram_97() const; - private: - bool _internal_has_quality_histogram_97() const; - public: - void clear_quality_histogram_97(); - uint32_t quality_histogram_97() const; - void set_quality_histogram_97(uint32_t value); - private: - uint32_t _internal_quality_histogram_97() const; - void _internal_set_quality_histogram_97(uint32_t value); - public: - - // optional uint32 quality_histogram_95 = 24; - bool has_quality_histogram_95() const; - private: - bool _internal_has_quality_histogram_95() const; - public: - void clear_quality_histogram_95(); - uint32_t quality_histogram_95() const; - void set_quality_histogram_95(uint32_t value); - private: - uint32_t _internal_quality_histogram_95() const; - void _internal_set_quality_histogram_95(uint32_t value); - public: - - // optional uint32 quality_histogram_90 = 25; - bool has_quality_histogram_90() const; - private: - bool _internal_has_quality_histogram_90() const; - public: - void clear_quality_histogram_90(); - uint32_t quality_histogram_90() const; - void set_quality_histogram_90(uint32_t value); - private: - uint32_t _internal_quality_histogram_90() const; - void _internal_set_quality_histogram_90(uint32_t value); - public: - - // optional uint32 quality_histogram_75 = 26; - bool has_quality_histogram_75() const; - private: - bool _internal_has_quality_histogram_75() const; - public: - void clear_quality_histogram_75(); - uint32_t quality_histogram_75() const; - void set_quality_histogram_75(uint32_t value); - private: - uint32_t _internal_quality_histogram_75() const; - void _internal_set_quality_histogram_75(uint32_t value); - public: - - // optional uint32 quality_histogram_50 = 27; - bool has_quality_histogram_50() const; - private: - bool _internal_has_quality_histogram_50() const; - public: - void clear_quality_histogram_50(); - uint32_t quality_histogram_50() const; - void set_quality_histogram_50(uint32_t value); - private: - uint32_t _internal_quality_histogram_50() const; - void _internal_set_quality_histogram_50(uint32_t value); - public: - - // optional uint32 quality_histogram_1 = 28; - bool has_quality_histogram_1() const; - private: - bool _internal_has_quality_histogram_1() const; - public: - void clear_quality_histogram_1(); - uint32_t quality_histogram_1() const; - void set_quality_histogram_1(uint32_t value); - private: - uint32_t _internal_quality_histogram_1() const; - void _internal_set_quality_histogram_1(uint32_t value); - public: - - // optional uint32 quality_histogram_dead = 29; - bool has_quality_histogram_dead() const; - private: - bool _internal_has_quality_histogram_dead() const; - public: - void clear_quality_histogram_dead(); - uint32_t quality_histogram_dead() const; - void set_quality_histogram_dead(uint32_t value); - private: - uint32_t _internal_quality_histogram_dead() const; - void _internal_set_quality_histogram_dead(uint32_t value); - public: - - // optional uint32 quality_ntile_2nd = 30; - bool has_quality_ntile_2nd() const; - private: - bool _internal_has_quality_ntile_2nd() const; - public: - void clear_quality_ntile_2nd(); - uint32_t quality_ntile_2nd() const; - void set_quality_ntile_2nd(uint32_t value); - private: - uint32_t _internal_quality_ntile_2nd() const; - void _internal_set_quality_ntile_2nd(uint32_t value); - public: - - // optional uint32 quality_ntile_5th = 31; - bool has_quality_ntile_5th() const; - private: - bool _internal_has_quality_ntile_5th() const; - public: - void clear_quality_ntile_5th(); - uint32_t quality_ntile_5th() const; - void set_quality_ntile_5th(uint32_t value); - private: - uint32_t _internal_quality_ntile_5th() const; - void _internal_set_quality_ntile_5th(uint32_t value); - public: - - // optional uint32 quality_ntile_25th = 32; - bool has_quality_ntile_25th() const; - private: - bool _internal_has_quality_ntile_25th() const; - public: - void clear_quality_ntile_25th(); - uint32_t quality_ntile_25th() const; - void set_quality_ntile_25th(uint32_t value); - private: - uint32_t _internal_quality_ntile_25th() const; - void _internal_set_quality_ntile_25th(uint32_t value); - public: - - // optional uint32 quality_ntile_50th = 33; - bool has_quality_ntile_50th() const; - private: - bool _internal_has_quality_ntile_50th() const; - public: - void clear_quality_ntile_50th(); - uint32_t quality_ntile_50th() const; - void set_quality_ntile_50th(uint32_t value); - private: - uint32_t _internal_quality_ntile_50th() const; - void _internal_set_quality_ntile_50th(uint32_t value); - public: - - // optional uint32 ping_histogram_25 = 41; - bool has_ping_histogram_25() const; - private: - bool _internal_has_ping_histogram_25() const; - public: - void clear_ping_histogram_25(); - uint32_t ping_histogram_25() const; - void set_ping_histogram_25(uint32_t value); - private: - uint32_t _internal_ping_histogram_25() const; - void _internal_set_ping_histogram_25(uint32_t value); - public: - - // optional uint32 ping_histogram_50 = 42; - bool has_ping_histogram_50() const; - private: - bool _internal_has_ping_histogram_50() const; - public: - void clear_ping_histogram_50(); - uint32_t ping_histogram_50() const; - void set_ping_histogram_50(uint32_t value); - private: - uint32_t _internal_ping_histogram_50() const; - void _internal_set_ping_histogram_50(uint32_t value); - public: - - // optional uint32 ping_histogram_75 = 43; - bool has_ping_histogram_75() const; - private: - bool _internal_has_ping_histogram_75() const; - public: - void clear_ping_histogram_75(); - uint32_t ping_histogram_75() const; - void set_ping_histogram_75(uint32_t value); - private: - uint32_t _internal_ping_histogram_75() const; - void _internal_set_ping_histogram_75(uint32_t value); - public: - - // optional uint32 ping_histogram_100 = 44; - bool has_ping_histogram_100() const; - private: - bool _internal_has_ping_histogram_100() const; - public: - void clear_ping_histogram_100(); - uint32_t ping_histogram_100() const; - void set_ping_histogram_100(uint32_t value); - private: - uint32_t _internal_ping_histogram_100() const; - void _internal_set_ping_histogram_100(uint32_t value); - public: - - // optional uint32 ping_histogram_125 = 45; - bool has_ping_histogram_125() const; - private: - bool _internal_has_ping_histogram_125() const; - public: - void clear_ping_histogram_125(); - uint32_t ping_histogram_125() const; - void set_ping_histogram_125(uint32_t value); - private: - uint32_t _internal_ping_histogram_125() const; - void _internal_set_ping_histogram_125(uint32_t value); - public: - - // optional uint32 ping_histogram_150 = 46; - bool has_ping_histogram_150() const; - private: - bool _internal_has_ping_histogram_150() const; - public: - void clear_ping_histogram_150(); - uint32_t ping_histogram_150() const; - void set_ping_histogram_150(uint32_t value); - private: - uint32_t _internal_ping_histogram_150() const; - void _internal_set_ping_histogram_150(uint32_t value); - public: - - // optional uint32 ping_histogram_200 = 47; - bool has_ping_histogram_200() const; - private: - bool _internal_has_ping_histogram_200() const; - public: - void clear_ping_histogram_200(); - uint32_t ping_histogram_200() const; - void set_ping_histogram_200(uint32_t value); - private: - uint32_t _internal_ping_histogram_200() const; - void _internal_set_ping_histogram_200(uint32_t value); - public: - - // optional uint32 ping_histogram_300 = 48; - bool has_ping_histogram_300() const; - private: - bool _internal_has_ping_histogram_300() const; - public: - void clear_ping_histogram_300(); - uint32_t ping_histogram_300() const; - void set_ping_histogram_300(uint32_t value); - private: - uint32_t _internal_ping_histogram_300() const; - void _internal_set_ping_histogram_300(uint32_t value); - public: - - // optional uint32 ping_histogram_max = 49; - bool has_ping_histogram_max() const; - private: - bool _internal_has_ping_histogram_max() const; - public: - void clear_ping_histogram_max(); - uint32_t ping_histogram_max() const; - void set_ping_histogram_max(uint32_t value); - private: - uint32_t _internal_ping_histogram_max() const; - void _internal_set_ping_histogram_max(uint32_t value); - public: - - // optional uint32 ping_ntile_5th = 50; - bool has_ping_ntile_5th() const; - private: - bool _internal_has_ping_ntile_5th() const; - public: - void clear_ping_ntile_5th(); - uint32_t ping_ntile_5th() const; - void set_ping_ntile_5th(uint32_t value); - private: - uint32_t _internal_ping_ntile_5th() const; - void _internal_set_ping_ntile_5th(uint32_t value); - public: - - // optional uint32 ping_ntile_50th = 51; - bool has_ping_ntile_50th() const; - private: - bool _internal_has_ping_ntile_50th() const; - public: - void clear_ping_ntile_50th(); - uint32_t ping_ntile_50th() const; - void set_ping_ntile_50th(uint32_t value); - private: - uint32_t _internal_ping_ntile_50th() const; - void _internal_set_ping_ntile_50th(uint32_t value); - public: - - // optional uint32 ping_ntile_75th = 52; - bool has_ping_ntile_75th() const; - private: - bool _internal_has_ping_ntile_75th() const; - public: - void clear_ping_ntile_75th(); - uint32_t ping_ntile_75th() const; - void set_ping_ntile_75th(uint32_t value); - private: - uint32_t _internal_ping_ntile_75th() const; - void _internal_set_ping_ntile_75th(uint32_t value); - public: - - // optional uint32 ping_ntile_95th = 53; - bool has_ping_ntile_95th() const; - private: - bool _internal_has_ping_ntile_95th() const; - public: - void clear_ping_ntile_95th(); - uint32_t ping_ntile_95th() const; - void set_ping_ntile_95th(uint32_t value); - private: - uint32_t _internal_ping_ntile_95th() const; - void _internal_set_ping_ntile_95th(uint32_t value); - public: - - // optional uint32 ping_ntile_98th = 54; - bool has_ping_ntile_98th() const; - private: - bool _internal_has_ping_ntile_98th() const; - public: - void clear_ping_ntile_98th(); - uint32_t ping_ntile_98th() const; - void set_ping_ntile_98th(uint32_t value); - private: - uint32_t _internal_ping_ntile_98th() const; - void _internal_set_ping_ntile_98th(uint32_t value); - public: - - // optional uint32 jitter_histogram_negligible = 61; - bool has_jitter_histogram_negligible() const; - private: - bool _internal_has_jitter_histogram_negligible() const; - public: - void clear_jitter_histogram_negligible(); - uint32_t jitter_histogram_negligible() const; - void set_jitter_histogram_negligible(uint32_t value); - private: - uint32_t _internal_jitter_histogram_negligible() const; - void _internal_set_jitter_histogram_negligible(uint32_t value); - public: - - // optional uint32 jitter_histogram_1 = 62; - bool has_jitter_histogram_1() const; - private: - bool _internal_has_jitter_histogram_1() const; - public: - void clear_jitter_histogram_1(); - uint32_t jitter_histogram_1() const; - void set_jitter_histogram_1(uint32_t value); - private: - uint32_t _internal_jitter_histogram_1() const; - void _internal_set_jitter_histogram_1(uint32_t value); - public: - - // optional uint32 jitter_histogram_2 = 63; - bool has_jitter_histogram_2() const; - private: - bool _internal_has_jitter_histogram_2() const; - public: - void clear_jitter_histogram_2(); - uint32_t jitter_histogram_2() const; - void set_jitter_histogram_2(uint32_t value); - private: - uint32_t _internal_jitter_histogram_2() const; - void _internal_set_jitter_histogram_2(uint32_t value); - public: - - // optional uint32 jitter_histogram_5 = 64; - bool has_jitter_histogram_5() const; - private: - bool _internal_has_jitter_histogram_5() const; - public: - void clear_jitter_histogram_5(); - uint32_t jitter_histogram_5() const; - void set_jitter_histogram_5(uint32_t value); - private: - uint32_t _internal_jitter_histogram_5() const; - void _internal_set_jitter_histogram_5(uint32_t value); - public: - - // optional uint32 jitter_histogram_10 = 65; - bool has_jitter_histogram_10() const; - private: - bool _internal_has_jitter_histogram_10() const; - public: - void clear_jitter_histogram_10(); - uint32_t jitter_histogram_10() const; - void set_jitter_histogram_10(uint32_t value); - private: - uint32_t _internal_jitter_histogram_10() const; - void _internal_set_jitter_histogram_10(uint32_t value); - public: - - // optional uint32 jitter_histogram_20 = 66; - bool has_jitter_histogram_20() const; - private: - bool _internal_has_jitter_histogram_20() const; - public: - void clear_jitter_histogram_20(); - uint32_t jitter_histogram_20() const; - void set_jitter_histogram_20(uint32_t value); - private: - uint32_t _internal_jitter_histogram_20() const; - void _internal_set_jitter_histogram_20(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramLinkLifetimeStats) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<2> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > multipath_packets_recv_sequenced_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > multipath_packets_recv_later_; - uint64_t packets_sent_; - uint64_t kb_sent_; - uint64_t packets_recv_; - uint64_t kb_recv_; - uint64_t packets_recv_sequenced_; - uint64_t packets_recv_dropped_; - uint32_t connected_seconds_; - uint32_t multipath_send_enabled_; - uint64_t packets_recv_out_of_order_; - uint64_t packets_recv_duplicate_; - uint64_t packets_recv_lurch_; - uint64_t packets_recv_out_of_order_corrected_; - uint32_t quality_histogram_100_; - uint32_t quality_histogram_99_; - uint32_t quality_histogram_97_; - uint32_t quality_histogram_95_; - uint32_t quality_histogram_90_; - uint32_t quality_histogram_75_; - uint32_t quality_histogram_50_; - uint32_t quality_histogram_1_; - uint32_t quality_histogram_dead_; - uint32_t quality_ntile_2nd_; - uint32_t quality_ntile_5th_; - uint32_t quality_ntile_25th_; - uint32_t quality_ntile_50th_; - uint32_t ping_histogram_25_; - uint32_t ping_histogram_50_; - uint32_t ping_histogram_75_; - uint32_t ping_histogram_100_; - uint32_t ping_histogram_125_; - uint32_t ping_histogram_150_; - uint32_t ping_histogram_200_; - uint32_t ping_histogram_300_; - uint32_t ping_histogram_max_; - uint32_t ping_ntile_5th_; - uint32_t ping_ntile_50th_; - uint32_t ping_ntile_75th_; - uint32_t ping_ntile_95th_; - uint32_t ping_ntile_98th_; - uint32_t jitter_histogram_negligible_; - uint32_t jitter_histogram_1_; - uint32_t jitter_histogram_2_; - uint32_t jitter_histogram_5_; - uint32_t jitter_histogram_10_; - uint32_t jitter_histogram_20_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramConnectionQuality : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramConnectionQuality) */ { - public: - inline CMsgSteamDatagramConnectionQuality() : CMsgSteamDatagramConnectionQuality(nullptr) {} - ~CMsgSteamDatagramConnectionQuality() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramConnectionQuality(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramConnectionQuality(const CMsgSteamDatagramConnectionQuality& from); - CMsgSteamDatagramConnectionQuality(CMsgSteamDatagramConnectionQuality&& from) noexcept - : CMsgSteamDatagramConnectionQuality() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramConnectionQuality& operator=(const CMsgSteamDatagramConnectionQuality& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramConnectionQuality& operator=(CMsgSteamDatagramConnectionQuality&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramConnectionQuality& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramConnectionQuality* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramConnectionQuality_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CMsgSteamDatagramConnectionQuality& a, CMsgSteamDatagramConnectionQuality& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramConnectionQuality* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramConnectionQuality* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramConnectionQuality* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramConnectionQuality& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramConnectionQuality& from) { - CMsgSteamDatagramConnectionQuality::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramConnectionQuality* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramConnectionQuality"; - } - protected: - explicit CMsgSteamDatagramConnectionQuality(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kInstantaneousFieldNumber = 1, - kLifetimeFieldNumber = 2, - }; - // optional .CMsgSteamDatagramLinkInstantaneousStats instantaneous = 1; - bool has_instantaneous() const; - private: - bool _internal_has_instantaneous() const; - public: - void clear_instantaneous(); - const ::CMsgSteamDatagramLinkInstantaneousStats& instantaneous() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramLinkInstantaneousStats* release_instantaneous(); - ::CMsgSteamDatagramLinkInstantaneousStats* mutable_instantaneous(); - void set_allocated_instantaneous(::CMsgSteamDatagramLinkInstantaneousStats* instantaneous); - private: - const ::CMsgSteamDatagramLinkInstantaneousStats& _internal_instantaneous() const; - ::CMsgSteamDatagramLinkInstantaneousStats* _internal_mutable_instantaneous(); - public: - void unsafe_arena_set_allocated_instantaneous( - ::CMsgSteamDatagramLinkInstantaneousStats* instantaneous); - ::CMsgSteamDatagramLinkInstantaneousStats* unsafe_arena_release_instantaneous(); - - // optional .CMsgSteamDatagramLinkLifetimeStats lifetime = 2; - bool has_lifetime() const; - private: - bool _internal_has_lifetime() const; - public: - void clear_lifetime(); - const ::CMsgSteamDatagramLinkLifetimeStats& lifetime() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramLinkLifetimeStats* release_lifetime(); - ::CMsgSteamDatagramLinkLifetimeStats* mutable_lifetime(); - void set_allocated_lifetime(::CMsgSteamDatagramLinkLifetimeStats* lifetime); - private: - const ::CMsgSteamDatagramLinkLifetimeStats& _internal_lifetime() const; - ::CMsgSteamDatagramLinkLifetimeStats* _internal_mutable_lifetime(); - public: - void unsafe_arena_set_allocated_lifetime( - ::CMsgSteamDatagramLinkLifetimeStats* lifetime); - ::CMsgSteamDatagramLinkLifetimeStats* unsafe_arena_release_lifetime(); - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramConnectionQuality) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgSteamDatagramLinkInstantaneousStats* instantaneous_; - ::CMsgSteamDatagramLinkLifetimeStats* lifetime_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgICECandidate : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgICECandidate) */ { - public: - inline CMsgICECandidate() : CMsgICECandidate(nullptr) {} - ~CMsgICECandidate() override; - explicit PROTOBUF_CONSTEXPR CMsgICECandidate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgICECandidate(const CMsgICECandidate& from); - CMsgICECandidate(CMsgICECandidate&& from) noexcept - : CMsgICECandidate() { - *this = ::std::move(from); - } - - inline CMsgICECandidate& operator=(const CMsgICECandidate& from) { - CopyFrom(from); - return *this; - } - inline CMsgICECandidate& operator=(CMsgICECandidate&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgICECandidate& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgICECandidate* internal_default_instance() { - return reinterpret_cast( - &_CMsgICECandidate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CMsgICECandidate& a, CMsgICECandidate& b) { - a.Swap(&b); - } - inline void Swap(CMsgICECandidate* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgICECandidate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgICECandidate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgICECandidate& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgICECandidate& from) { - CMsgICECandidate::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgICECandidate* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgICECandidate"; - } - protected: - explicit CMsgICECandidate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCandidateFieldNumber = 3, - }; - // optional string candidate = 3; - bool has_candidate() const; - private: - bool _internal_has_candidate() const; - public: - void clear_candidate(); - const std::string& candidate() const; - template - void set_candidate(ArgT0&& arg0, ArgT... args); - std::string* mutable_candidate(); - PROTOBUF_NODISCARD std::string* release_candidate(); - void set_allocated_candidate(std::string* candidate); - private: - const std::string& _internal_candidate() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_candidate(const std::string& value); - std::string* _internal_mutable_candidate(); - public: - - // @@protoc_insertion_point(class_scope:CMsgICECandidate) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr candidate_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgICERendezvous_Auth : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgICERendezvous.Auth) */ { - public: - inline CMsgICERendezvous_Auth() : CMsgICERendezvous_Auth(nullptr) {} - ~CMsgICERendezvous_Auth() override; - explicit PROTOBUF_CONSTEXPR CMsgICERendezvous_Auth(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgICERendezvous_Auth(const CMsgICERendezvous_Auth& from); - CMsgICERendezvous_Auth(CMsgICERendezvous_Auth&& from) noexcept - : CMsgICERendezvous_Auth() { - *this = ::std::move(from); - } - - inline CMsgICERendezvous_Auth& operator=(const CMsgICERendezvous_Auth& from) { - CopyFrom(from); - return *this; - } - inline CMsgICERendezvous_Auth& operator=(CMsgICERendezvous_Auth&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgICERendezvous_Auth& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgICERendezvous_Auth* internal_default_instance() { - return reinterpret_cast( - &_CMsgICERendezvous_Auth_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(CMsgICERendezvous_Auth& a, CMsgICERendezvous_Auth& b) { - a.Swap(&b); - } - inline void Swap(CMsgICERendezvous_Auth* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgICERendezvous_Auth* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgICERendezvous_Auth* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgICERendezvous_Auth& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgICERendezvous_Auth& from) { - CMsgICERendezvous_Auth::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgICERendezvous_Auth* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgICERendezvous.Auth"; - } - protected: - explicit CMsgICERendezvous_Auth(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPwdFragFieldNumber = 1, - }; - // optional string pwd_frag = 1; - bool has_pwd_frag() const; - private: - bool _internal_has_pwd_frag() const; - public: - void clear_pwd_frag(); - const std::string& pwd_frag() const; - template - void set_pwd_frag(ArgT0&& arg0, ArgT... args); - std::string* mutable_pwd_frag(); - PROTOBUF_NODISCARD std::string* release_pwd_frag(); - void set_allocated_pwd_frag(std::string* pwd_frag); - private: - const std::string& _internal_pwd_frag() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_pwd_frag(const std::string& value); - std::string* _internal_mutable_pwd_frag(); - public: - - // @@protoc_insertion_point(class_scope:CMsgICERendezvous.Auth) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pwd_frag_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgICERendezvous : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgICERendezvous) */ { - public: - inline CMsgICERendezvous() : CMsgICERendezvous(nullptr) {} - ~CMsgICERendezvous() override; - explicit PROTOBUF_CONSTEXPR CMsgICERendezvous(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgICERendezvous(const CMsgICERendezvous& from); - CMsgICERendezvous(CMsgICERendezvous&& from) noexcept - : CMsgICERendezvous() { - *this = ::std::move(from); - } - - inline CMsgICERendezvous& operator=(const CMsgICERendezvous& from) { - CopyFrom(from); - return *this; - } - inline CMsgICERendezvous& operator=(CMsgICERendezvous&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgICERendezvous& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgICERendezvous* internal_default_instance() { - return reinterpret_cast( - &_CMsgICERendezvous_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(CMsgICERendezvous& a, CMsgICERendezvous& b) { - a.Swap(&b); - } - inline void Swap(CMsgICERendezvous* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgICERendezvous* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgICERendezvous* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgICERendezvous& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgICERendezvous& from) { - CMsgICERendezvous::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgICERendezvous* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgICERendezvous"; - } - protected: - explicit CMsgICERendezvous(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgICERendezvous_Auth Auth; - - // accessors ------------------------------------------------------- - - enum : int { - kAddCandidateFieldNumber = 1, - kAuthFieldNumber = 2, - }; - // optional .CMsgICECandidate add_candidate = 1; - bool has_add_candidate() const; - private: - bool _internal_has_add_candidate() const; - public: - void clear_add_candidate(); - const ::CMsgICECandidate& add_candidate() const; - PROTOBUF_NODISCARD ::CMsgICECandidate* release_add_candidate(); - ::CMsgICECandidate* mutable_add_candidate(); - void set_allocated_add_candidate(::CMsgICECandidate* add_candidate); - private: - const ::CMsgICECandidate& _internal_add_candidate() const; - ::CMsgICECandidate* _internal_mutable_add_candidate(); - public: - void unsafe_arena_set_allocated_add_candidate( - ::CMsgICECandidate* add_candidate); - ::CMsgICECandidate* unsafe_arena_release_add_candidate(); - - // optional .CMsgICERendezvous.Auth auth = 2; - bool has_auth() const; - private: - bool _internal_has_auth() const; - public: - void clear_auth(); - const ::CMsgICERendezvous_Auth& auth() const; - PROTOBUF_NODISCARD ::CMsgICERendezvous_Auth* release_auth(); - ::CMsgICERendezvous_Auth* mutable_auth(); - void set_allocated_auth(::CMsgICERendezvous_Auth* auth); - private: - const ::CMsgICERendezvous_Auth& _internal_auth() const; - ::CMsgICERendezvous_Auth* _internal_mutable_auth(); - public: - void unsafe_arena_set_allocated_auth( - ::CMsgICERendezvous_Auth* auth); - ::CMsgICERendezvous_Auth* unsafe_arena_release_auth(); - - // @@protoc_insertion_point(class_scope:CMsgICERendezvous) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgICECandidate* add_candidate_; - ::CMsgICERendezvous_Auth* auth_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamNetworkingP2PRendezvous_ConnectRequest : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) */ { - public: - inline CMsgSteamNetworkingP2PRendezvous_ConnectRequest() : CMsgSteamNetworkingP2PRendezvous_ConnectRequest(nullptr) {} - ~CMsgSteamNetworkingP2PRendezvous_ConnectRequest() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ConnectRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamNetworkingP2PRendezvous_ConnectRequest(const CMsgSteamNetworkingP2PRendezvous_ConnectRequest& from); - CMsgSteamNetworkingP2PRendezvous_ConnectRequest(CMsgSteamNetworkingP2PRendezvous_ConnectRequest&& from) noexcept - : CMsgSteamNetworkingP2PRendezvous_ConnectRequest() { - *this = ::std::move(from); - } - - inline CMsgSteamNetworkingP2PRendezvous_ConnectRequest& operator=(const CMsgSteamNetworkingP2PRendezvous_ConnectRequest& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamNetworkingP2PRendezvous_ConnectRequest& operator=(CMsgSteamNetworkingP2PRendezvous_ConnectRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamNetworkingP2PRendezvous_ConnectRequest& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamNetworkingP2PRendezvous_ConnectRequest* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamNetworkingP2PRendezvous_ConnectRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(CMsgSteamNetworkingP2PRendezvous_ConnectRequest& a, CMsgSteamNetworkingP2PRendezvous_ConnectRequest& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamNetworkingP2PRendezvous_ConnectRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamNetworkingP2PRendezvous_ConnectRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamNetworkingP2PRendezvous_ConnectRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ConnectRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamNetworkingP2PRendezvous_ConnectRequest& from) { - CMsgSteamNetworkingP2PRendezvous_ConnectRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamNetworkingP2PRendezvous_ConnectRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamNetworkingP2PRendezvous.ConnectRequest"; - } - protected: - explicit CMsgSteamNetworkingP2PRendezvous_ConnectRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFromFakeipFieldNumber = 11, - kCryptFieldNumber = 6, - kCertFieldNumber = 7, - kToVirtualPortFieldNumber = 9, - kFromVirtualPortFieldNumber = 10, - }; - // optional string from_fakeip = 11; - bool has_from_fakeip() const; - private: - bool _internal_has_from_fakeip() const; - public: - void clear_from_fakeip(); - const std::string& from_fakeip() const; - template - void set_from_fakeip(ArgT0&& arg0, ArgT... args); - std::string* mutable_from_fakeip(); - PROTOBUF_NODISCARD std::string* release_from_fakeip(); - void set_allocated_from_fakeip(std::string* from_fakeip); - private: - const std::string& _internal_from_fakeip() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_from_fakeip(const std::string& value); - std::string* _internal_mutable_from_fakeip(); - public: - - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; - bool has_crypt() const; - private: - bool _internal_has_crypt() const; - public: - void clear_crypt(); - const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramSessionCryptInfoSigned* release_crypt(); - ::CMsgSteamDatagramSessionCryptInfoSigned* mutable_crypt(); - void set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt); - private: - const ::CMsgSteamDatagramSessionCryptInfoSigned& _internal_crypt() const; - ::CMsgSteamDatagramSessionCryptInfoSigned* _internal_mutable_crypt(); - public: - void unsafe_arena_set_allocated_crypt( - ::CMsgSteamDatagramSessionCryptInfoSigned* crypt); - ::CMsgSteamDatagramSessionCryptInfoSigned* unsafe_arena_release_crypt(); - - // optional .CMsgSteamDatagramCertificateSigned cert = 7; - bool has_cert() const; - private: - bool _internal_has_cert() const; - public: - void clear_cert(); - const ::CMsgSteamDatagramCertificateSigned& cert() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); - ::CMsgSteamDatagramCertificateSigned* mutable_cert(); - void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); - private: - const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; - ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); - public: - void unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert); - ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); - - // optional uint32 to_virtual_port = 9; - bool has_to_virtual_port() const; - private: - bool _internal_has_to_virtual_port() const; - public: - void clear_to_virtual_port(); - uint32_t to_virtual_port() const; - void set_to_virtual_port(uint32_t value); - private: - uint32_t _internal_to_virtual_port() const; - void _internal_set_to_virtual_port(uint32_t value); - public: - - // optional uint32 from_virtual_port = 10; - bool has_from_virtual_port() const; - private: - bool _internal_has_from_virtual_port() const; - public: - void clear_from_virtual_port(); - uint32_t from_virtual_port() const; - void set_from_virtual_port(uint32_t value); - private: - uint32_t _internal_from_virtual_port() const; - void _internal_set_from_virtual_port(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingP2PRendezvous.ConnectRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr from_fakeip_; - ::CMsgSteamDatagramSessionCryptInfoSigned* crypt_; - ::CMsgSteamDatagramCertificateSigned* cert_; - uint32_t to_virtual_port_; - uint32_t from_virtual_port_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamNetworkingP2PRendezvous_ConnectOK : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingP2PRendezvous.ConnectOK) */ { - public: - inline CMsgSteamNetworkingP2PRendezvous_ConnectOK() : CMsgSteamNetworkingP2PRendezvous_ConnectOK(nullptr) {} - ~CMsgSteamNetworkingP2PRendezvous_ConnectOK() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ConnectOK(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamNetworkingP2PRendezvous_ConnectOK(const CMsgSteamNetworkingP2PRendezvous_ConnectOK& from); - CMsgSteamNetworkingP2PRendezvous_ConnectOK(CMsgSteamNetworkingP2PRendezvous_ConnectOK&& from) noexcept - : CMsgSteamNetworkingP2PRendezvous_ConnectOK() { - *this = ::std::move(from); - } - - inline CMsgSteamNetworkingP2PRendezvous_ConnectOK& operator=(const CMsgSteamNetworkingP2PRendezvous_ConnectOK& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamNetworkingP2PRendezvous_ConnectOK& operator=(CMsgSteamNetworkingP2PRendezvous_ConnectOK&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamNetworkingP2PRendezvous_ConnectOK& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamNetworkingP2PRendezvous_ConnectOK* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamNetworkingP2PRendezvous_ConnectOK_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(CMsgSteamNetworkingP2PRendezvous_ConnectOK& a, CMsgSteamNetworkingP2PRendezvous_ConnectOK& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamNetworkingP2PRendezvous_ConnectOK* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamNetworkingP2PRendezvous_ConnectOK* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamNetworkingP2PRendezvous_ConnectOK* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ConnectOK& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamNetworkingP2PRendezvous_ConnectOK& from) { - CMsgSteamNetworkingP2PRendezvous_ConnectOK::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamNetworkingP2PRendezvous_ConnectOK* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamNetworkingP2PRendezvous.ConnectOK"; - } - protected: - explicit CMsgSteamNetworkingP2PRendezvous_ConnectOK(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCryptFieldNumber = 5, - kCertFieldNumber = 6, - }; - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; - bool has_crypt() const; - private: - bool _internal_has_crypt() const; - public: - void clear_crypt(); - const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramSessionCryptInfoSigned* release_crypt(); - ::CMsgSteamDatagramSessionCryptInfoSigned* mutable_crypt(); - void set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt); - private: - const ::CMsgSteamDatagramSessionCryptInfoSigned& _internal_crypt() const; - ::CMsgSteamDatagramSessionCryptInfoSigned* _internal_mutable_crypt(); - public: - void unsafe_arena_set_allocated_crypt( - ::CMsgSteamDatagramSessionCryptInfoSigned* crypt); - ::CMsgSteamDatagramSessionCryptInfoSigned* unsafe_arena_release_crypt(); - - // optional .CMsgSteamDatagramCertificateSigned cert = 6; - bool has_cert() const; - private: - bool _internal_has_cert() const; - public: - void clear_cert(); - const ::CMsgSteamDatagramCertificateSigned& cert() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); - ::CMsgSteamDatagramCertificateSigned* mutable_cert(); - void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); - private: - const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; - ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); - public: - void unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert); - ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); - - // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingP2PRendezvous.ConnectOK) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgSteamDatagramSessionCryptInfoSigned* crypt_; - ::CMsgSteamDatagramCertificateSigned* cert_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamNetworkingP2PRendezvous_ConnectionClosed : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) */ { - public: - inline CMsgSteamNetworkingP2PRendezvous_ConnectionClosed() : CMsgSteamNetworkingP2PRendezvous_ConnectionClosed(nullptr) {} - ~CMsgSteamNetworkingP2PRendezvous_ConnectionClosed() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ConnectionClosed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamNetworkingP2PRendezvous_ConnectionClosed(const CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& from); - CMsgSteamNetworkingP2PRendezvous_ConnectionClosed(CMsgSteamNetworkingP2PRendezvous_ConnectionClosed&& from) noexcept - : CMsgSteamNetworkingP2PRendezvous_ConnectionClosed() { - *this = ::std::move(from); - } - - inline CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& operator=(const CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& operator=(CMsgSteamNetworkingP2PRendezvous_ConnectionClosed&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamNetworkingP2PRendezvous_ConnectionClosed_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& a, CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& from) { - CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamNetworkingP2PRendezvous.ConnectionClosed"; - } - protected: - explicit CMsgSteamNetworkingP2PRendezvous_ConnectionClosed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDebugFieldNumber = 5, - kReasonCodeFieldNumber = 6, - }; - // optional string debug = 5; - bool has_debug() const; - private: - bool _internal_has_debug() const; - public: - void clear_debug(); - const std::string& debug() const; - template - void set_debug(ArgT0&& arg0, ArgT... args); - std::string* mutable_debug(); - PROTOBUF_NODISCARD std::string* release_debug(); - void set_allocated_debug(std::string* debug); - private: - const std::string& _internal_debug() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_debug(const std::string& value); - std::string* _internal_mutable_debug(); - public: - - // optional uint32 reason_code = 6; - bool has_reason_code() const; - private: - bool _internal_has_reason_code() const; - public: - void clear_reason_code(); - uint32_t reason_code() const; - void set_reason_code(uint32_t value); - private: - uint32_t _internal_reason_code() const; - void _internal_set_reason_code(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr debug_; - uint32_t reason_code_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamNetworkingP2PRendezvous_ReliableMessage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) */ { - public: - inline CMsgSteamNetworkingP2PRendezvous_ReliableMessage() : CMsgSteamNetworkingP2PRendezvous_ReliableMessage(nullptr) {} - ~CMsgSteamNetworkingP2PRendezvous_ReliableMessage() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ReliableMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamNetworkingP2PRendezvous_ReliableMessage(const CMsgSteamNetworkingP2PRendezvous_ReliableMessage& from); - CMsgSteamNetworkingP2PRendezvous_ReliableMessage(CMsgSteamNetworkingP2PRendezvous_ReliableMessage&& from) noexcept - : CMsgSteamNetworkingP2PRendezvous_ReliableMessage() { - *this = ::std::move(from); - } - - inline CMsgSteamNetworkingP2PRendezvous_ReliableMessage& operator=(const CMsgSteamNetworkingP2PRendezvous_ReliableMessage& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamNetworkingP2PRendezvous_ReliableMessage& operator=(CMsgSteamNetworkingP2PRendezvous_ReliableMessage&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamNetworkingP2PRendezvous_ReliableMessage& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamNetworkingP2PRendezvous_ReliableMessage* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamNetworkingP2PRendezvous_ReliableMessage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(CMsgSteamNetworkingP2PRendezvous_ReliableMessage& a, CMsgSteamNetworkingP2PRendezvous_ReliableMessage& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamNetworkingP2PRendezvous_ReliableMessage* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamNetworkingP2PRendezvous_ReliableMessage* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamNetworkingP2PRendezvous_ReliableMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ReliableMessage& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamNetworkingP2PRendezvous_ReliableMessage& from) { - CMsgSteamNetworkingP2PRendezvous_ReliableMessage::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamNetworkingP2PRendezvous_ReliableMessage* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamNetworkingP2PRendezvous.ReliableMessage"; - } - protected: - explicit CMsgSteamNetworkingP2PRendezvous_ReliableMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIceFieldNumber = 1, - }; - // optional .CMsgICERendezvous ice = 1; - bool has_ice() const; - private: - bool _internal_has_ice() const; - public: - void clear_ice(); - const ::CMsgICERendezvous& ice() const; - PROTOBUF_NODISCARD ::CMsgICERendezvous* release_ice(); - ::CMsgICERendezvous* mutable_ice(); - void set_allocated_ice(::CMsgICERendezvous* ice); - private: - const ::CMsgICERendezvous& _internal_ice() const; - ::CMsgICERendezvous* _internal_mutable_ice(); - public: - void unsafe_arena_set_allocated_ice( - ::CMsgICERendezvous* ice); - ::CMsgICERendezvous* unsafe_arena_release_ice(); - - // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingP2PRendezvous.ReliableMessage) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgICERendezvous* ice_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamNetworkingP2PRendezvous_ApplicationMessage : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) */ { - public: - inline CMsgSteamNetworkingP2PRendezvous_ApplicationMessage() : CMsgSteamNetworkingP2PRendezvous_ApplicationMessage(nullptr) {} - ~CMsgSteamNetworkingP2PRendezvous_ApplicationMessage() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous_ApplicationMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamNetworkingP2PRendezvous_ApplicationMessage(const CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& from); - CMsgSteamNetworkingP2PRendezvous_ApplicationMessage(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage&& from) noexcept - : CMsgSteamNetworkingP2PRendezvous_ApplicationMessage() { - *this = ::std::move(from); - } - - inline CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& operator=(const CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& operator=(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamNetworkingP2PRendezvous_ApplicationMessage_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - friend void swap(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& a, CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& from) { - CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamNetworkingP2PRendezvous.ApplicationMessage"; - } - protected: - explicit CMsgSteamNetworkingP2PRendezvous_ApplicationMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 1, - kMsgNumFieldNumber = 2, - kFlagsFieldNumber = 3, - kLaneIdxFieldNumber = 4, - }; - // optional bytes data = 1; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // optional uint64 msg_num = 2; - bool has_msg_num() const; - private: - bool _internal_has_msg_num() const; - public: - void clear_msg_num(); - uint64_t msg_num() const; - void set_msg_num(uint64_t value); - private: - uint64_t _internal_msg_num() const; - void _internal_set_msg_num(uint64_t value); - public: - - // optional uint32 flags = 3; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional uint32 lane_idx = 4; - bool has_lane_idx() const; - private: - bool _internal_has_lane_idx() const; - public: - void clear_lane_idx(); - uint32_t lane_idx() const; - void set_lane_idx(uint32_t value); - private: - uint32_t _internal_lane_idx() const; - void _internal_set_lane_idx(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - uint64_t msg_num_; - uint32_t flags_; - uint32_t lane_idx_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamNetworkingP2PRendezvous : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingP2PRendezvous) */ { - public: - inline CMsgSteamNetworkingP2PRendezvous() : CMsgSteamNetworkingP2PRendezvous(nullptr) {} - ~CMsgSteamNetworkingP2PRendezvous() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingP2PRendezvous(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamNetworkingP2PRendezvous(const CMsgSteamNetworkingP2PRendezvous& from); - CMsgSteamNetworkingP2PRendezvous(CMsgSteamNetworkingP2PRendezvous&& from) noexcept - : CMsgSteamNetworkingP2PRendezvous() { - *this = ::std::move(from); - } - - inline CMsgSteamNetworkingP2PRendezvous& operator=(const CMsgSteamNetworkingP2PRendezvous& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamNetworkingP2PRendezvous& operator=(CMsgSteamNetworkingP2PRendezvous&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamNetworkingP2PRendezvous& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamNetworkingP2PRendezvous* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamNetworkingP2PRendezvous_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - friend void swap(CMsgSteamNetworkingP2PRendezvous& a, CMsgSteamNetworkingP2PRendezvous& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamNetworkingP2PRendezvous* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamNetworkingP2PRendezvous* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamNetworkingP2PRendezvous* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamNetworkingP2PRendezvous& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamNetworkingP2PRendezvous& from) { - CMsgSteamNetworkingP2PRendezvous::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamNetworkingP2PRendezvous* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamNetworkingP2PRendezvous"; - } - protected: - explicit CMsgSteamNetworkingP2PRendezvous(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamNetworkingP2PRendezvous_ConnectRequest ConnectRequest; - typedef CMsgSteamNetworkingP2PRendezvous_ConnectOK ConnectOK; - typedef CMsgSteamNetworkingP2PRendezvous_ConnectionClosed ConnectionClosed; - typedef CMsgSteamNetworkingP2PRendezvous_ReliableMessage ReliableMessage; - typedef CMsgSteamNetworkingP2PRendezvous_ApplicationMessage ApplicationMessage; - - // accessors ------------------------------------------------------- - - enum : int { - kReliableMessagesFieldNumber = 13, - kApplicationMessagesFieldNumber = 15, - kSdrRoutesFieldNumber = 2, - kFromIdentityFieldNumber = 8, - kToIdentityFieldNumber = 10, - kHostedServerTicketFieldNumber = 14, - kConnectRequestFieldNumber = 4, - kConnectOkFieldNumber = 5, - kConnectionClosedFieldNumber = 6, - kToConnectionIdFieldNumber = 1, - kAckPeerRoutesRevisionFieldNumber = 3, - kIceEnabledFieldNumber = 7, - kFromConnectionIdFieldNumber = 9, - kAckReliableMsgFieldNumber = 11, - kFirstReliableMsgFieldNumber = 12, - }; - // repeated .CMsgSteamNetworkingP2PRendezvous.ReliableMessage reliable_messages = 13; - int reliable_messages_size() const; - private: - int _internal_reliable_messages_size() const; - public: - void clear_reliable_messages(); - ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage* mutable_reliable_messages(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage >* - mutable_reliable_messages(); - private: - const ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage& _internal_reliable_messages(int index) const; - ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage* _internal_add_reliable_messages(); - public: - const ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage& reliable_messages(int index) const; - ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage* add_reliable_messages(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage >& - reliable_messages() const; - - // repeated .CMsgSteamNetworkingP2PRendezvous.ApplicationMessage application_messages = 15; - int application_messages_size() const; - private: - int _internal_application_messages_size() const; - public: - void clear_application_messages(); - ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* mutable_application_messages(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage >* - mutable_application_messages(); - private: - const ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& _internal_application_messages(int index) const; - ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* _internal_add_application_messages(); - public: - const ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& application_messages(int index) const; - ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* add_application_messages(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage >& - application_messages() const; - - // optional bytes sdr_routes = 2; - bool has_sdr_routes() const; - private: - bool _internal_has_sdr_routes() const; - public: - void clear_sdr_routes(); - const std::string& sdr_routes() const; - template - void set_sdr_routes(ArgT0&& arg0, ArgT... args); - std::string* mutable_sdr_routes(); - PROTOBUF_NODISCARD std::string* release_sdr_routes(); - void set_allocated_sdr_routes(std::string* sdr_routes); - private: - const std::string& _internal_sdr_routes() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdr_routes(const std::string& value); - std::string* _internal_mutable_sdr_routes(); - public: - - // optional string from_identity = 8; - bool has_from_identity() const; - private: - bool _internal_has_from_identity() const; - public: - void clear_from_identity(); - const std::string& from_identity() const; - template - void set_from_identity(ArgT0&& arg0, ArgT... args); - std::string* mutable_from_identity(); - PROTOBUF_NODISCARD std::string* release_from_identity(); - void set_allocated_from_identity(std::string* from_identity); - private: - const std::string& _internal_from_identity() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_from_identity(const std::string& value); - std::string* _internal_mutable_from_identity(); - public: - - // optional string to_identity = 10; - bool has_to_identity() const; - private: - bool _internal_has_to_identity() const; - public: - void clear_to_identity(); - const std::string& to_identity() const; - template - void set_to_identity(ArgT0&& arg0, ArgT... args); - std::string* mutable_to_identity(); - PROTOBUF_NODISCARD std::string* release_to_identity(); - void set_allocated_to_identity(std::string* to_identity); - private: - const std::string& _internal_to_identity() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_to_identity(const std::string& value); - std::string* _internal_mutable_to_identity(); - public: - - // optional bytes hosted_server_ticket = 14; - bool has_hosted_server_ticket() const; - private: - bool _internal_has_hosted_server_ticket() const; - public: - void clear_hosted_server_ticket(); - const std::string& hosted_server_ticket() const; - template - void set_hosted_server_ticket(ArgT0&& arg0, ArgT... args); - std::string* mutable_hosted_server_ticket(); - PROTOBUF_NODISCARD std::string* release_hosted_server_ticket(); - void set_allocated_hosted_server_ticket(std::string* hosted_server_ticket); - private: - const std::string& _internal_hosted_server_ticket() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_hosted_server_ticket(const std::string& value); - std::string* _internal_mutable_hosted_server_ticket(); - public: - - // optional .CMsgSteamNetworkingP2PRendezvous.ConnectRequest connect_request = 4; - bool has_connect_request() const; - private: - bool _internal_has_connect_request() const; - public: - void clear_connect_request(); - const ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest& connect_request() const; - PROTOBUF_NODISCARD ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* release_connect_request(); - ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* mutable_connect_request(); - void set_allocated_connect_request(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* connect_request); - private: - const ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest& _internal_connect_request() const; - ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* _internal_mutable_connect_request(); - public: - void unsafe_arena_set_allocated_connect_request( - ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* connect_request); - ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* unsafe_arena_release_connect_request(); - - // optional .CMsgSteamNetworkingP2PRendezvous.ConnectOK connect_ok = 5; - bool has_connect_ok() const; - private: - bool _internal_has_connect_ok() const; - public: - void clear_connect_ok(); - const ::CMsgSteamNetworkingP2PRendezvous_ConnectOK& connect_ok() const; - PROTOBUF_NODISCARD ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* release_connect_ok(); - ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* mutable_connect_ok(); - void set_allocated_connect_ok(::CMsgSteamNetworkingP2PRendezvous_ConnectOK* connect_ok); - private: - const ::CMsgSteamNetworkingP2PRendezvous_ConnectOK& _internal_connect_ok() const; - ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* _internal_mutable_connect_ok(); - public: - void unsafe_arena_set_allocated_connect_ok( - ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* connect_ok); - ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* unsafe_arena_release_connect_ok(); - - // optional .CMsgSteamNetworkingP2PRendezvous.ConnectionClosed connection_closed = 6; - bool has_connection_closed() const; - private: - bool _internal_has_connection_closed() const; - public: - void clear_connection_closed(); - const ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& connection_closed() const; - PROTOBUF_NODISCARD ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* release_connection_closed(); - ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* mutable_connection_closed(); - void set_allocated_connection_closed(::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* connection_closed); - private: - const ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& _internal_connection_closed() const; - ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* _internal_mutable_connection_closed(); - public: - void unsafe_arena_set_allocated_connection_closed( - ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* connection_closed); - ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* unsafe_arena_release_connection_closed(); - - // optional fixed32 to_connection_id = 1; - bool has_to_connection_id() const; - private: - bool _internal_has_to_connection_id() const; - public: - void clear_to_connection_id(); - uint32_t to_connection_id() const; - void set_to_connection_id(uint32_t value); - private: - uint32_t _internal_to_connection_id() const; - void _internal_set_to_connection_id(uint32_t value); - public: - - // optional uint32 ack_peer_routes_revision = 3; - bool has_ack_peer_routes_revision() const; - private: - bool _internal_has_ack_peer_routes_revision() const; - public: - void clear_ack_peer_routes_revision(); - uint32_t ack_peer_routes_revision() const; - void set_ack_peer_routes_revision(uint32_t value); - private: - uint32_t _internal_ack_peer_routes_revision() const; - void _internal_set_ack_peer_routes_revision(uint32_t value); - public: - - // optional bool ice_enabled = 7; - bool has_ice_enabled() const; - private: - bool _internal_has_ice_enabled() const; - public: - void clear_ice_enabled(); - bool ice_enabled() const; - void set_ice_enabled(bool value); - private: - bool _internal_ice_enabled() const; - void _internal_set_ice_enabled(bool value); - public: - - // optional fixed32 from_connection_id = 9; - bool has_from_connection_id() const; - private: - bool _internal_has_from_connection_id() const; - public: - void clear_from_connection_id(); - uint32_t from_connection_id() const; - void set_from_connection_id(uint32_t value); - private: - uint32_t _internal_from_connection_id() const; - void _internal_set_from_connection_id(uint32_t value); - public: - - // optional uint32 ack_reliable_msg = 11; - bool has_ack_reliable_msg() const; - private: - bool _internal_has_ack_reliable_msg() const; - public: - void clear_ack_reliable_msg(); - uint32_t ack_reliable_msg() const; - void set_ack_reliable_msg(uint32_t value); - private: - uint32_t _internal_ack_reliable_msg() const; - void _internal_set_ack_reliable_msg(uint32_t value); - public: - - // optional uint32 first_reliable_msg = 12; - bool has_first_reliable_msg() const; - private: - bool _internal_has_first_reliable_msg() const; - public: - void clear_first_reliable_msg(); - uint32_t first_reliable_msg() const; - void set_first_reliable_msg(uint32_t value); - private: - uint32_t _internal_first_reliable_msg() const; - void _internal_set_first_reliable_msg(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingP2PRendezvous) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage > reliable_messages_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage > application_messages_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdr_routes_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr from_identity_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr to_identity_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hosted_server_ticket_; - ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* connect_request_; - ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* connect_ok_; - ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* connection_closed_; - uint32_t to_connection_id_; - uint32_t ack_peer_routes_revision_; - bool ice_enabled_; - uint32_t from_connection_id_; - uint32_t ack_reliable_msg_; - uint32_t first_reliable_msg_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamNetworkingICESessionSummary : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingICESessionSummary) */ { - public: - inline CMsgSteamNetworkingICESessionSummary() : CMsgSteamNetworkingICESessionSummary(nullptr) {} - ~CMsgSteamNetworkingICESessionSummary() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingICESessionSummary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamNetworkingICESessionSummary(const CMsgSteamNetworkingICESessionSummary& from); - CMsgSteamNetworkingICESessionSummary(CMsgSteamNetworkingICESessionSummary&& from) noexcept - : CMsgSteamNetworkingICESessionSummary() { - *this = ::std::move(from); - } - - inline CMsgSteamNetworkingICESessionSummary& operator=(const CMsgSteamNetworkingICESessionSummary& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamNetworkingICESessionSummary& operator=(CMsgSteamNetworkingICESessionSummary&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamNetworkingICESessionSummary& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamNetworkingICESessionSummary* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamNetworkingICESessionSummary_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - friend void swap(CMsgSteamNetworkingICESessionSummary& a, CMsgSteamNetworkingICESessionSummary& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamNetworkingICESessionSummary* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamNetworkingICESessionSummary* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamNetworkingICESessionSummary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamNetworkingICESessionSummary& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamNetworkingICESessionSummary& from) { - CMsgSteamNetworkingICESessionSummary::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamNetworkingICESessionSummary* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamNetworkingICESessionSummary"; - } - protected: - explicit CMsgSteamNetworkingICESessionSummary(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLocalCandidateTypesFieldNumber = 1, - kRemoteCandidateTypesFieldNumber = 2, - kInitialRouteKindFieldNumber = 3, - kInitialPingFieldNumber = 4, - kNegotiationMsFieldNumber = 5, - kInitialScoreFieldNumber = 6, - kFailureReasonCodeFieldNumber = 7, - kSelectedSecondsFieldNumber = 12, - kUserSettingsFieldNumber = 13, - kIceEnableVarFieldNumber = 14, - kLocalCandidateTypesAllowedFieldNumber = 15, - kBestRouteKindFieldNumber = 16, - kBestPingFieldNumber = 17, - kBestScoreFieldNumber = 18, - kBestTimeFieldNumber = 19, - }; - // optional uint32 local_candidate_types = 1; - bool has_local_candidate_types() const; - private: - bool _internal_has_local_candidate_types() const; - public: - void clear_local_candidate_types(); - uint32_t local_candidate_types() const; - void set_local_candidate_types(uint32_t value); - private: - uint32_t _internal_local_candidate_types() const; - void _internal_set_local_candidate_types(uint32_t value); - public: - - // optional uint32 remote_candidate_types = 2; - bool has_remote_candidate_types() const; - private: - bool _internal_has_remote_candidate_types() const; - public: - void clear_remote_candidate_types(); - uint32_t remote_candidate_types() const; - void set_remote_candidate_types(uint32_t value); - private: - uint32_t _internal_remote_candidate_types() const; - void _internal_set_remote_candidate_types(uint32_t value); - public: - - // optional uint32 initial_route_kind = 3; - bool has_initial_route_kind() const; - private: - bool _internal_has_initial_route_kind() const; - public: - void clear_initial_route_kind(); - uint32_t initial_route_kind() const; - void set_initial_route_kind(uint32_t value); - private: - uint32_t _internal_initial_route_kind() const; - void _internal_set_initial_route_kind(uint32_t value); - public: - - // optional uint32 initial_ping = 4; - bool has_initial_ping() const; - private: - bool _internal_has_initial_ping() const; - public: - void clear_initial_ping(); - uint32_t initial_ping() const; - void set_initial_ping(uint32_t value); - private: - uint32_t _internal_initial_ping() const; - void _internal_set_initial_ping(uint32_t value); - public: - - // optional uint32 negotiation_ms = 5; - bool has_negotiation_ms() const; - private: - bool _internal_has_negotiation_ms() const; - public: - void clear_negotiation_ms(); - uint32_t negotiation_ms() const; - void set_negotiation_ms(uint32_t value); - private: - uint32_t _internal_negotiation_ms() const; - void _internal_set_negotiation_ms(uint32_t value); - public: - - // optional uint32 initial_score = 6; - bool has_initial_score() const; - private: - bool _internal_has_initial_score() const; - public: - void clear_initial_score(); - uint32_t initial_score() const; - void set_initial_score(uint32_t value); - private: - uint32_t _internal_initial_score() const; - void _internal_set_initial_score(uint32_t value); - public: - - // optional uint32 failure_reason_code = 7; - bool has_failure_reason_code() const; - private: - bool _internal_has_failure_reason_code() const; - public: - void clear_failure_reason_code(); - uint32_t failure_reason_code() const; - void set_failure_reason_code(uint32_t value); - private: - uint32_t _internal_failure_reason_code() const; - void _internal_set_failure_reason_code(uint32_t value); - public: - - // optional uint32 selected_seconds = 12; - bool has_selected_seconds() const; - private: - bool _internal_has_selected_seconds() const; - public: - void clear_selected_seconds(); - uint32_t selected_seconds() const; - void set_selected_seconds(uint32_t value); - private: - uint32_t _internal_selected_seconds() const; - void _internal_set_selected_seconds(uint32_t value); - public: - - // optional uint32 user_settings = 13; - bool has_user_settings() const; - private: - bool _internal_has_user_settings() const; - public: - void clear_user_settings(); - uint32_t user_settings() const; - void set_user_settings(uint32_t value); - private: - uint32_t _internal_user_settings() const; - void _internal_set_user_settings(uint32_t value); - public: - - // optional uint32 ice_enable_var = 14; - bool has_ice_enable_var() const; - private: - bool _internal_has_ice_enable_var() const; - public: - void clear_ice_enable_var(); - uint32_t ice_enable_var() const; - void set_ice_enable_var(uint32_t value); - private: - uint32_t _internal_ice_enable_var() const; - void _internal_set_ice_enable_var(uint32_t value); - public: - - // optional uint32 local_candidate_types_allowed = 15; - bool has_local_candidate_types_allowed() const; - private: - bool _internal_has_local_candidate_types_allowed() const; - public: - void clear_local_candidate_types_allowed(); - uint32_t local_candidate_types_allowed() const; - void set_local_candidate_types_allowed(uint32_t value); - private: - uint32_t _internal_local_candidate_types_allowed() const; - void _internal_set_local_candidate_types_allowed(uint32_t value); - public: - - // optional uint32 best_route_kind = 16; - bool has_best_route_kind() const; - private: - bool _internal_has_best_route_kind() const; - public: - void clear_best_route_kind(); - uint32_t best_route_kind() const; - void set_best_route_kind(uint32_t value); - private: - uint32_t _internal_best_route_kind() const; - void _internal_set_best_route_kind(uint32_t value); - public: - - // optional uint32 best_ping = 17; - bool has_best_ping() const; - private: - bool _internal_has_best_ping() const; - public: - void clear_best_ping(); - uint32_t best_ping() const; - void set_best_ping(uint32_t value); - private: - uint32_t _internal_best_ping() const; - void _internal_set_best_ping(uint32_t value); - public: - - // optional uint32 best_score = 18; - bool has_best_score() const; - private: - bool _internal_has_best_score() const; - public: - void clear_best_score(); - uint32_t best_score() const; - void set_best_score(uint32_t value); - private: - uint32_t _internal_best_score() const; - void _internal_set_best_score(uint32_t value); - public: - - // optional uint32 best_time = 19; - bool has_best_time() const; - private: - bool _internal_has_best_time() const; - public: - void clear_best_time(); - uint32_t best_time() const; - void set_best_time(uint32_t value); - private: - uint32_t _internal_best_time() const; - void _internal_set_best_time(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingICESessionSummary) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t local_candidate_types_; - uint32_t remote_candidate_types_; - uint32_t initial_route_kind_; - uint32_t initial_ping_; - uint32_t negotiation_ms_; - uint32_t initial_score_; - uint32_t failure_reason_code_; - uint32_t selected_seconds_; - uint32_t user_settings_; - uint32_t ice_enable_var_; - uint32_t local_candidate_types_allowed_; - uint32_t best_route_kind_; - uint32_t best_ping_; - uint32_t best_score_; - uint32_t best_time_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CMsgSteamDatagramSessionCryptInfo - -// optional .CMsgSteamDatagramSessionCryptInfo.EKeyType key_type = 1 [default = INVALID]; -inline bool CMsgSteamDatagramSessionCryptInfo::_internal_has_key_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramSessionCryptInfo::has_key_type() const { - return _internal_has_key_type(); -} -inline void CMsgSteamDatagramSessionCryptInfo::clear_key_type() { - _impl_.key_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::CMsgSteamDatagramSessionCryptInfo_EKeyType CMsgSteamDatagramSessionCryptInfo::_internal_key_type() const { - return static_cast< ::CMsgSteamDatagramSessionCryptInfo_EKeyType >(_impl_.key_type_); -} -inline ::CMsgSteamDatagramSessionCryptInfo_EKeyType CMsgSteamDatagramSessionCryptInfo::key_type() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSessionCryptInfo.key_type) - return _internal_key_type(); -} -inline void CMsgSteamDatagramSessionCryptInfo::_internal_set_key_type(::CMsgSteamDatagramSessionCryptInfo_EKeyType value) { - assert(::CMsgSteamDatagramSessionCryptInfo_EKeyType_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.key_type_ = value; -} -inline void CMsgSteamDatagramSessionCryptInfo::set_key_type(::CMsgSteamDatagramSessionCryptInfo_EKeyType value) { - _internal_set_key_type(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSessionCryptInfo.key_type) -} - -// optional bytes key_data = 2; -inline bool CMsgSteamDatagramSessionCryptInfo::_internal_has_key_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramSessionCryptInfo::has_key_data() const { - return _internal_has_key_data(); -} -inline void CMsgSteamDatagramSessionCryptInfo::clear_key_data() { - _impl_.key_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramSessionCryptInfo::key_data() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSessionCryptInfo.key_data) - return _internal_key_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramSessionCryptInfo::set_key_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.key_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSessionCryptInfo.key_data) -} -inline std::string* CMsgSteamDatagramSessionCryptInfo::mutable_key_data() { - std::string* _s = _internal_mutable_key_data(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSessionCryptInfo.key_data) - return _s; -} -inline const std::string& CMsgSteamDatagramSessionCryptInfo::_internal_key_data() const { - return _impl_.key_data_.Get(); -} -inline void CMsgSteamDatagramSessionCryptInfo::_internal_set_key_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.key_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSessionCryptInfo::_internal_mutable_key_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.key_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSessionCryptInfo::release_key_data() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramSessionCryptInfo.key_data) - if (!_internal_has_key_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.key_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.key_data_.IsDefault()) { - _impl_.key_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramSessionCryptInfo::set_allocated_key_data(std::string* key_data) { - if (key_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.key_data_.SetAllocated(key_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.key_data_.IsDefault()) { - _impl_.key_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSessionCryptInfo.key_data) -} - -// optional fixed64 nonce = 3; -inline bool CMsgSteamDatagramSessionCryptInfo::_internal_has_nonce() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramSessionCryptInfo::has_nonce() const { - return _internal_has_nonce(); -} -inline void CMsgSteamDatagramSessionCryptInfo::clear_nonce() { - _impl_.nonce_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CMsgSteamDatagramSessionCryptInfo::_internal_nonce() const { - return _impl_.nonce_; -} -inline uint64_t CMsgSteamDatagramSessionCryptInfo::nonce() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSessionCryptInfo.nonce) - return _internal_nonce(); -} -inline void CMsgSteamDatagramSessionCryptInfo::_internal_set_nonce(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.nonce_ = value; -} -inline void CMsgSteamDatagramSessionCryptInfo::set_nonce(uint64_t value) { - _internal_set_nonce(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSessionCryptInfo.nonce) -} - -// optional uint32 protocol_version = 4; -inline bool CMsgSteamDatagramSessionCryptInfo::_internal_has_protocol_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramSessionCryptInfo::has_protocol_version() const { - return _internal_has_protocol_version(); -} -inline void CMsgSteamDatagramSessionCryptInfo::clear_protocol_version() { - _impl_.protocol_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramSessionCryptInfo::_internal_protocol_version() const { - return _impl_.protocol_version_; -} -inline uint32_t CMsgSteamDatagramSessionCryptInfo::protocol_version() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSessionCryptInfo.protocol_version) - return _internal_protocol_version(); -} -inline void CMsgSteamDatagramSessionCryptInfo::_internal_set_protocol_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.protocol_version_ = value; -} -inline void CMsgSteamDatagramSessionCryptInfo::set_protocol_version(uint32_t value) { - _internal_set_protocol_version(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSessionCryptInfo.protocol_version) -} - -// repeated .ESteamNetworkingSocketsCipher ciphers = 5; -inline int CMsgSteamDatagramSessionCryptInfo::_internal_ciphers_size() const { - return _impl_.ciphers_.size(); -} -inline int CMsgSteamDatagramSessionCryptInfo::ciphers_size() const { - return _internal_ciphers_size(); -} -inline void CMsgSteamDatagramSessionCryptInfo::clear_ciphers() { - _impl_.ciphers_.Clear(); -} -inline ::ESteamNetworkingSocketsCipher CMsgSteamDatagramSessionCryptInfo::_internal_ciphers(int index) const { - return static_cast< ::ESteamNetworkingSocketsCipher >(_impl_.ciphers_.Get(index)); -} -inline ::ESteamNetworkingSocketsCipher CMsgSteamDatagramSessionCryptInfo::ciphers(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSessionCryptInfo.ciphers) - return _internal_ciphers(index); -} -inline void CMsgSteamDatagramSessionCryptInfo::set_ciphers(int index, ::ESteamNetworkingSocketsCipher value) { - assert(::ESteamNetworkingSocketsCipher_IsValid(value)); - _impl_.ciphers_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSessionCryptInfo.ciphers) -} -inline void CMsgSteamDatagramSessionCryptInfo::_internal_add_ciphers(::ESteamNetworkingSocketsCipher value) { - assert(::ESteamNetworkingSocketsCipher_IsValid(value)); - _impl_.ciphers_.Add(value); -} -inline void CMsgSteamDatagramSessionCryptInfo::add_ciphers(::ESteamNetworkingSocketsCipher value) { - _internal_add_ciphers(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramSessionCryptInfo.ciphers) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField& -CMsgSteamDatagramSessionCryptInfo::ciphers() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramSessionCryptInfo.ciphers) - return _impl_.ciphers_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* -CMsgSteamDatagramSessionCryptInfo::_internal_mutable_ciphers() { - return &_impl_.ciphers_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* -CMsgSteamDatagramSessionCryptInfo::mutable_ciphers() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramSessionCryptInfo.ciphers) - return _internal_mutable_ciphers(); -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramSessionCryptInfoSigned - -// optional bytes info = 1; -inline bool CMsgSteamDatagramSessionCryptInfoSigned::_internal_has_info() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramSessionCryptInfoSigned::has_info() const { - return _internal_has_info(); -} -inline void CMsgSteamDatagramSessionCryptInfoSigned::clear_info() { - _impl_.info_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramSessionCryptInfoSigned::info() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSessionCryptInfoSigned.info) - return _internal_info(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramSessionCryptInfoSigned::set_info(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.info_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSessionCryptInfoSigned.info) -} -inline std::string* CMsgSteamDatagramSessionCryptInfoSigned::mutable_info() { - std::string* _s = _internal_mutable_info(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSessionCryptInfoSigned.info) - return _s; -} -inline const std::string& CMsgSteamDatagramSessionCryptInfoSigned::_internal_info() const { - return _impl_.info_.Get(); -} -inline void CMsgSteamDatagramSessionCryptInfoSigned::_internal_set_info(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.info_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSessionCryptInfoSigned::_internal_mutable_info() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.info_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSessionCryptInfoSigned::release_info() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramSessionCryptInfoSigned.info) - if (!_internal_has_info()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.info_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.info_.IsDefault()) { - _impl_.info_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramSessionCryptInfoSigned::set_allocated_info(std::string* info) { - if (info != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.info_.SetAllocated(info, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.info_.IsDefault()) { - _impl_.info_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSessionCryptInfoSigned.info) -} - -// optional bytes signature = 2; -inline bool CMsgSteamDatagramSessionCryptInfoSigned::_internal_has_signature() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramSessionCryptInfoSigned::has_signature() const { - return _internal_has_signature(); -} -inline void CMsgSteamDatagramSessionCryptInfoSigned::clear_signature() { - _impl_.signature_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramSessionCryptInfoSigned::signature() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramSessionCryptInfoSigned.signature) - return _internal_signature(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramSessionCryptInfoSigned::set_signature(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.signature_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramSessionCryptInfoSigned.signature) -} -inline std::string* CMsgSteamDatagramSessionCryptInfoSigned::mutable_signature() { - std::string* _s = _internal_mutable_signature(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramSessionCryptInfoSigned.signature) - return _s; -} -inline const std::string& CMsgSteamDatagramSessionCryptInfoSigned::_internal_signature() const { - return _impl_.signature_.Get(); -} -inline void CMsgSteamDatagramSessionCryptInfoSigned::_internal_set_signature(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.signature_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSessionCryptInfoSigned::_internal_mutable_signature() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.signature_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramSessionCryptInfoSigned::release_signature() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramSessionCryptInfoSigned.signature) - if (!_internal_has_signature()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.signature_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.signature_.IsDefault()) { - _impl_.signature_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramSessionCryptInfoSigned::set_allocated_signature(std::string* signature) { - if (signature != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.signature_.SetAllocated(signature, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.signature_.IsDefault()) { - _impl_.signature_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramSessionCryptInfoSigned.signature) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramDiagnostic - -// optional uint32 severity = 1; -inline bool CMsgSteamDatagramDiagnostic::_internal_has_severity() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramDiagnostic::has_severity() const { - return _internal_has_severity(); -} -inline void CMsgSteamDatagramDiagnostic::clear_severity() { - _impl_.severity_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamDatagramDiagnostic::_internal_severity() const { - return _impl_.severity_; -} -inline uint32_t CMsgSteamDatagramDiagnostic::severity() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramDiagnostic.severity) - return _internal_severity(); -} -inline void CMsgSteamDatagramDiagnostic::_internal_set_severity(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.severity_ = value; -} -inline void CMsgSteamDatagramDiagnostic::set_severity(uint32_t value) { - _internal_set_severity(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramDiagnostic.severity) -} - -// optional string text = 2; -inline bool CMsgSteamDatagramDiagnostic::_internal_has_text() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramDiagnostic::has_text() const { - return _internal_has_text(); -} -inline void CMsgSteamDatagramDiagnostic::clear_text() { - _impl_.text_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramDiagnostic::text() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramDiagnostic.text) - return _internal_text(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramDiagnostic::set_text(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramDiagnostic.text) -} -inline std::string* CMsgSteamDatagramDiagnostic::mutable_text() { - std::string* _s = _internal_mutable_text(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramDiagnostic.text) - return _s; -} -inline const std::string& CMsgSteamDatagramDiagnostic::_internal_text() const { - return _impl_.text_.Get(); -} -inline void CMsgSteamDatagramDiagnostic::_internal_set_text(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramDiagnostic::_internal_mutable_text() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.text_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramDiagnostic::release_text() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramDiagnostic.text) - if (!_internal_has_text()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.text_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramDiagnostic::set_allocated_text(std::string* text) { - if (text != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.text_.SetAllocated(text, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramDiagnostic.text) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramLinkInstantaneousStats - -// optional uint32 out_packets_per_sec_x10 = 1; -inline bool CMsgSteamDatagramLinkInstantaneousStats::_internal_has_out_packets_per_sec_x10() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkInstantaneousStats::has_out_packets_per_sec_x10() const { - return _internal_has_out_packets_per_sec_x10(); -} -inline void CMsgSteamDatagramLinkInstantaneousStats::clear_out_packets_per_sec_x10() { - _impl_.out_packets_per_sec_x10_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::_internal_out_packets_per_sec_x10() const { - return _impl_.out_packets_per_sec_x10_; -} -inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::out_packets_per_sec_x10() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkInstantaneousStats.out_packets_per_sec_x10) - return _internal_out_packets_per_sec_x10(); -} -inline void CMsgSteamDatagramLinkInstantaneousStats::_internal_set_out_packets_per_sec_x10(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.out_packets_per_sec_x10_ = value; -} -inline void CMsgSteamDatagramLinkInstantaneousStats::set_out_packets_per_sec_x10(uint32_t value) { - _internal_set_out_packets_per_sec_x10(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkInstantaneousStats.out_packets_per_sec_x10) -} - -// optional uint32 out_bytes_per_sec = 2; -inline bool CMsgSteamDatagramLinkInstantaneousStats::_internal_has_out_bytes_per_sec() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkInstantaneousStats::has_out_bytes_per_sec() const { - return _internal_has_out_bytes_per_sec(); -} -inline void CMsgSteamDatagramLinkInstantaneousStats::clear_out_bytes_per_sec() { - _impl_.out_bytes_per_sec_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::_internal_out_bytes_per_sec() const { - return _impl_.out_bytes_per_sec_; -} -inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::out_bytes_per_sec() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkInstantaneousStats.out_bytes_per_sec) - return _internal_out_bytes_per_sec(); -} -inline void CMsgSteamDatagramLinkInstantaneousStats::_internal_set_out_bytes_per_sec(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.out_bytes_per_sec_ = value; -} -inline void CMsgSteamDatagramLinkInstantaneousStats::set_out_bytes_per_sec(uint32_t value) { - _internal_set_out_bytes_per_sec(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkInstantaneousStats.out_bytes_per_sec) -} - -// optional uint32 in_packets_per_sec_x10 = 3; -inline bool CMsgSteamDatagramLinkInstantaneousStats::_internal_has_in_packets_per_sec_x10() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkInstantaneousStats::has_in_packets_per_sec_x10() const { - return _internal_has_in_packets_per_sec_x10(); -} -inline void CMsgSteamDatagramLinkInstantaneousStats::clear_in_packets_per_sec_x10() { - _impl_.in_packets_per_sec_x10_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::_internal_in_packets_per_sec_x10() const { - return _impl_.in_packets_per_sec_x10_; -} -inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::in_packets_per_sec_x10() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkInstantaneousStats.in_packets_per_sec_x10) - return _internal_in_packets_per_sec_x10(); -} -inline void CMsgSteamDatagramLinkInstantaneousStats::_internal_set_in_packets_per_sec_x10(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.in_packets_per_sec_x10_ = value; -} -inline void CMsgSteamDatagramLinkInstantaneousStats::set_in_packets_per_sec_x10(uint32_t value) { - _internal_set_in_packets_per_sec_x10(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkInstantaneousStats.in_packets_per_sec_x10) -} - -// optional uint32 in_bytes_per_sec = 4; -inline bool CMsgSteamDatagramLinkInstantaneousStats::_internal_has_in_bytes_per_sec() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkInstantaneousStats::has_in_bytes_per_sec() const { - return _internal_has_in_bytes_per_sec(); -} -inline void CMsgSteamDatagramLinkInstantaneousStats::clear_in_bytes_per_sec() { - _impl_.in_bytes_per_sec_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::_internal_in_bytes_per_sec() const { - return _impl_.in_bytes_per_sec_; -} -inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::in_bytes_per_sec() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkInstantaneousStats.in_bytes_per_sec) - return _internal_in_bytes_per_sec(); -} -inline void CMsgSteamDatagramLinkInstantaneousStats::_internal_set_in_bytes_per_sec(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.in_bytes_per_sec_ = value; -} -inline void CMsgSteamDatagramLinkInstantaneousStats::set_in_bytes_per_sec(uint32_t value) { - _internal_set_in_bytes_per_sec(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkInstantaneousStats.in_bytes_per_sec) -} - -// optional uint32 ping_ms = 5; -inline bool CMsgSteamDatagramLinkInstantaneousStats::_internal_has_ping_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkInstantaneousStats::has_ping_ms() const { - return _internal_has_ping_ms(); -} -inline void CMsgSteamDatagramLinkInstantaneousStats::clear_ping_ms() { - _impl_.ping_ms_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::_internal_ping_ms() const { - return _impl_.ping_ms_; -} -inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::ping_ms() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkInstantaneousStats.ping_ms) - return _internal_ping_ms(); -} -inline void CMsgSteamDatagramLinkInstantaneousStats::_internal_set_ping_ms(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.ping_ms_ = value; -} -inline void CMsgSteamDatagramLinkInstantaneousStats::set_ping_ms(uint32_t value) { - _internal_set_ping_ms(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkInstantaneousStats.ping_ms) -} - -// optional uint32 packets_dropped_pct = 6; -inline bool CMsgSteamDatagramLinkInstantaneousStats::_internal_has_packets_dropped_pct() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkInstantaneousStats::has_packets_dropped_pct() const { - return _internal_has_packets_dropped_pct(); -} -inline void CMsgSteamDatagramLinkInstantaneousStats::clear_packets_dropped_pct() { - _impl_.packets_dropped_pct_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::_internal_packets_dropped_pct() const { - return _impl_.packets_dropped_pct_; -} -inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::packets_dropped_pct() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkInstantaneousStats.packets_dropped_pct) - return _internal_packets_dropped_pct(); -} -inline void CMsgSteamDatagramLinkInstantaneousStats::_internal_set_packets_dropped_pct(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.packets_dropped_pct_ = value; -} -inline void CMsgSteamDatagramLinkInstantaneousStats::set_packets_dropped_pct(uint32_t value) { - _internal_set_packets_dropped_pct(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkInstantaneousStats.packets_dropped_pct) -} - -// optional uint32 packets_weird_sequence_pct = 7; -inline bool CMsgSteamDatagramLinkInstantaneousStats::_internal_has_packets_weird_sequence_pct() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkInstantaneousStats::has_packets_weird_sequence_pct() const { - return _internal_has_packets_weird_sequence_pct(); -} -inline void CMsgSteamDatagramLinkInstantaneousStats::clear_packets_weird_sequence_pct() { - _impl_.packets_weird_sequence_pct_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::_internal_packets_weird_sequence_pct() const { - return _impl_.packets_weird_sequence_pct_; -} -inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::packets_weird_sequence_pct() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkInstantaneousStats.packets_weird_sequence_pct) - return _internal_packets_weird_sequence_pct(); -} -inline void CMsgSteamDatagramLinkInstantaneousStats::_internal_set_packets_weird_sequence_pct(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.packets_weird_sequence_pct_ = value; -} -inline void CMsgSteamDatagramLinkInstantaneousStats::set_packets_weird_sequence_pct(uint32_t value) { - _internal_set_packets_weird_sequence_pct(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkInstantaneousStats.packets_weird_sequence_pct) -} - -// optional uint32 peak_jitter_usec = 8; -inline bool CMsgSteamDatagramLinkInstantaneousStats::_internal_has_peak_jitter_usec() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkInstantaneousStats::has_peak_jitter_usec() const { - return _internal_has_peak_jitter_usec(); -} -inline void CMsgSteamDatagramLinkInstantaneousStats::clear_peak_jitter_usec() { - _impl_.peak_jitter_usec_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::_internal_peak_jitter_usec() const { - return _impl_.peak_jitter_usec_; -} -inline uint32_t CMsgSteamDatagramLinkInstantaneousStats::peak_jitter_usec() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkInstantaneousStats.peak_jitter_usec) - return _internal_peak_jitter_usec(); -} -inline void CMsgSteamDatagramLinkInstantaneousStats::_internal_set_peak_jitter_usec(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.peak_jitter_usec_ = value; -} -inline void CMsgSteamDatagramLinkInstantaneousStats::set_peak_jitter_usec(uint32_t value) { - _internal_set_peak_jitter_usec(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkInstantaneousStats.peak_jitter_usec) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramLinkLifetimeStats - -// optional uint32 connected_seconds = 2; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_connected_seconds() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_connected_seconds() const { - return _internal_has_connected_seconds(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_connected_seconds() { - _impl_.connected_seconds_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_connected_seconds() const { - return _impl_.connected_seconds_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::connected_seconds() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.connected_seconds) - return _internal_connected_seconds(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_connected_seconds(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.connected_seconds_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_connected_seconds(uint32_t value) { - _internal_set_connected_seconds(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.connected_seconds) -} - -// optional uint64 packets_sent = 3; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_packets_sent() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_packets_sent() const { - return _internal_has_packets_sent(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_packets_sent() { - _impl_.packets_sent_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_packets_sent() const { - return _impl_.packets_sent_; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::packets_sent() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.packets_sent) - return _internal_packets_sent(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_packets_sent(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.packets_sent_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_packets_sent(uint64_t value) { - _internal_set_packets_sent(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.packets_sent) -} - -// optional uint64 kb_sent = 4; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_kb_sent() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_kb_sent() const { - return _internal_has_kb_sent(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_kb_sent() { - _impl_.kb_sent_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_kb_sent() const { - return _impl_.kb_sent_; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::kb_sent() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.kb_sent) - return _internal_kb_sent(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_kb_sent(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.kb_sent_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_kb_sent(uint64_t value) { - _internal_set_kb_sent(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.kb_sent) -} - -// optional uint64 packets_recv = 5; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_packets_recv() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_packets_recv() const { - return _internal_has_packets_recv(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_packets_recv() { - _impl_.packets_recv_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_packets_recv() const { - return _impl_.packets_recv_; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::packets_recv() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.packets_recv) - return _internal_packets_recv(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_packets_recv(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.packets_recv_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_packets_recv(uint64_t value) { - _internal_set_packets_recv(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.packets_recv) -} - -// optional uint64 kb_recv = 6; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_kb_recv() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_kb_recv() const { - return _internal_has_kb_recv(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_kb_recv() { - _impl_.kb_recv_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_kb_recv() const { - return _impl_.kb_recv_; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::kb_recv() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.kb_recv) - return _internal_kb_recv(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_kb_recv(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.kb_recv_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_kb_recv(uint64_t value) { - _internal_set_kb_recv(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.kb_recv) -} - -// optional uint64 packets_recv_sequenced = 7; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_packets_recv_sequenced() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_packets_recv_sequenced() const { - return _internal_has_packets_recv_sequenced(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_packets_recv_sequenced() { - _impl_.packets_recv_sequenced_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_packets_recv_sequenced() const { - return _impl_.packets_recv_sequenced_; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::packets_recv_sequenced() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.packets_recv_sequenced) - return _internal_packets_recv_sequenced(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_packets_recv_sequenced(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.packets_recv_sequenced_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_packets_recv_sequenced(uint64_t value) { - _internal_set_packets_recv_sequenced(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.packets_recv_sequenced) -} - -// optional uint64 packets_recv_dropped = 8; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_packets_recv_dropped() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_packets_recv_dropped() const { - return _internal_has_packets_recv_dropped(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_packets_recv_dropped() { - _impl_.packets_recv_dropped_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_packets_recv_dropped() const { - return _impl_.packets_recv_dropped_; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::packets_recv_dropped() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.packets_recv_dropped) - return _internal_packets_recv_dropped(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_packets_recv_dropped(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.packets_recv_dropped_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_packets_recv_dropped(uint64_t value) { - _internal_set_packets_recv_dropped(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.packets_recv_dropped) -} - -// optional uint64 packets_recv_out_of_order = 9; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_packets_recv_out_of_order() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_packets_recv_out_of_order() const { - return _internal_has_packets_recv_out_of_order(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_packets_recv_out_of_order() { - _impl_.packets_recv_out_of_order_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_packets_recv_out_of_order() const { - return _impl_.packets_recv_out_of_order_; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::packets_recv_out_of_order() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.packets_recv_out_of_order) - return _internal_packets_recv_out_of_order(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_packets_recv_out_of_order(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.packets_recv_out_of_order_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_packets_recv_out_of_order(uint64_t value) { - _internal_set_packets_recv_out_of_order(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.packets_recv_out_of_order) -} - -// optional uint64 packets_recv_out_of_order_corrected = 15; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_packets_recv_out_of_order_corrected() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_packets_recv_out_of_order_corrected() const { - return _internal_has_packets_recv_out_of_order_corrected(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_packets_recv_out_of_order_corrected() { - _impl_.packets_recv_out_of_order_corrected_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_packets_recv_out_of_order_corrected() const { - return _impl_.packets_recv_out_of_order_corrected_; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::packets_recv_out_of_order_corrected() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.packets_recv_out_of_order_corrected) - return _internal_packets_recv_out_of_order_corrected(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_packets_recv_out_of_order_corrected(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.packets_recv_out_of_order_corrected_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_packets_recv_out_of_order_corrected(uint64_t value) { - _internal_set_packets_recv_out_of_order_corrected(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.packets_recv_out_of_order_corrected) -} - -// optional uint64 packets_recv_duplicate = 10; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_packets_recv_duplicate() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_packets_recv_duplicate() const { - return _internal_has_packets_recv_duplicate(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_packets_recv_duplicate() { - _impl_.packets_recv_duplicate_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_packets_recv_duplicate() const { - return _impl_.packets_recv_duplicate_; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::packets_recv_duplicate() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.packets_recv_duplicate) - return _internal_packets_recv_duplicate(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_packets_recv_duplicate(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.packets_recv_duplicate_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_packets_recv_duplicate(uint64_t value) { - _internal_set_packets_recv_duplicate(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.packets_recv_duplicate) -} - -// optional uint64 packets_recv_lurch = 11; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_packets_recv_lurch() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_packets_recv_lurch() const { - return _internal_has_packets_recv_lurch(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_packets_recv_lurch() { - _impl_.packets_recv_lurch_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_packets_recv_lurch() const { - return _impl_.packets_recv_lurch_; -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::packets_recv_lurch() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.packets_recv_lurch) - return _internal_packets_recv_lurch(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_packets_recv_lurch(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.packets_recv_lurch_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_packets_recv_lurch(uint64_t value) { - _internal_set_packets_recv_lurch(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.packets_recv_lurch) -} - -// repeated uint64 multipath_packets_recv_sequenced = 12; -inline int CMsgSteamDatagramLinkLifetimeStats::_internal_multipath_packets_recv_sequenced_size() const { - return _impl_.multipath_packets_recv_sequenced_.size(); -} -inline int CMsgSteamDatagramLinkLifetimeStats::multipath_packets_recv_sequenced_size() const { - return _internal_multipath_packets_recv_sequenced_size(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_multipath_packets_recv_sequenced() { - _impl_.multipath_packets_recv_sequenced_.Clear(); -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_multipath_packets_recv_sequenced(int index) const { - return _impl_.multipath_packets_recv_sequenced_.Get(index); -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::multipath_packets_recv_sequenced(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_sequenced) - return _internal_multipath_packets_recv_sequenced(index); -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_multipath_packets_recv_sequenced(int index, uint64_t value) { - _impl_.multipath_packets_recv_sequenced_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_sequenced) -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_add_multipath_packets_recv_sequenced(uint64_t value) { - _impl_.multipath_packets_recv_sequenced_.Add(value); -} -inline void CMsgSteamDatagramLinkLifetimeStats::add_multipath_packets_recv_sequenced(uint64_t value) { - _internal_add_multipath_packets_recv_sequenced(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_sequenced) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CMsgSteamDatagramLinkLifetimeStats::_internal_multipath_packets_recv_sequenced() const { - return _impl_.multipath_packets_recv_sequenced_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CMsgSteamDatagramLinkLifetimeStats::multipath_packets_recv_sequenced() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_sequenced) - return _internal_multipath_packets_recv_sequenced(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CMsgSteamDatagramLinkLifetimeStats::_internal_mutable_multipath_packets_recv_sequenced() { - return &_impl_.multipath_packets_recv_sequenced_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CMsgSteamDatagramLinkLifetimeStats::mutable_multipath_packets_recv_sequenced() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_sequenced) - return _internal_mutable_multipath_packets_recv_sequenced(); -} - -// repeated uint64 multipath_packets_recv_later = 13; -inline int CMsgSteamDatagramLinkLifetimeStats::_internal_multipath_packets_recv_later_size() const { - return _impl_.multipath_packets_recv_later_.size(); -} -inline int CMsgSteamDatagramLinkLifetimeStats::multipath_packets_recv_later_size() const { - return _internal_multipath_packets_recv_later_size(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_multipath_packets_recv_later() { - _impl_.multipath_packets_recv_later_.Clear(); -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::_internal_multipath_packets_recv_later(int index) const { - return _impl_.multipath_packets_recv_later_.Get(index); -} -inline uint64_t CMsgSteamDatagramLinkLifetimeStats::multipath_packets_recv_later(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_later) - return _internal_multipath_packets_recv_later(index); -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_multipath_packets_recv_later(int index, uint64_t value) { - _impl_.multipath_packets_recv_later_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_later) -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_add_multipath_packets_recv_later(uint64_t value) { - _impl_.multipath_packets_recv_later_.Add(value); -} -inline void CMsgSteamDatagramLinkLifetimeStats::add_multipath_packets_recv_later(uint64_t value) { - _internal_add_multipath_packets_recv_later(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_later) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CMsgSteamDatagramLinkLifetimeStats::_internal_multipath_packets_recv_later() const { - return _impl_.multipath_packets_recv_later_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >& -CMsgSteamDatagramLinkLifetimeStats::multipath_packets_recv_later() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_later) - return _internal_multipath_packets_recv_later(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CMsgSteamDatagramLinkLifetimeStats::_internal_mutable_multipath_packets_recv_later() { - return &_impl_.multipath_packets_recv_later_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >* -CMsgSteamDatagramLinkLifetimeStats::mutable_multipath_packets_recv_later() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramLinkLifetimeStats.multipath_packets_recv_later) - return _internal_mutable_multipath_packets_recv_later(); -} - -// optional uint32 multipath_send_enabled = 14; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_multipath_send_enabled() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_multipath_send_enabled() const { - return _internal_has_multipath_send_enabled(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_multipath_send_enabled() { - _impl_.multipath_send_enabled_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_multipath_send_enabled() const { - return _impl_.multipath_send_enabled_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::multipath_send_enabled() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.multipath_send_enabled) - return _internal_multipath_send_enabled(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_multipath_send_enabled(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.multipath_send_enabled_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_multipath_send_enabled(uint32_t value) { - _internal_set_multipath_send_enabled(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.multipath_send_enabled) -} - -// optional uint32 quality_histogram_100 = 21; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_histogram_100() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_histogram_100() const { - return _internal_has_quality_histogram_100(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_histogram_100() { - _impl_.quality_histogram_100_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_histogram_100() const { - return _impl_.quality_histogram_100_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_histogram_100() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_100) - return _internal_quality_histogram_100(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_histogram_100(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.quality_histogram_100_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_histogram_100(uint32_t value) { - _internal_set_quality_histogram_100(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_100) -} - -// optional uint32 quality_histogram_99 = 22; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_histogram_99() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_histogram_99() const { - return _internal_has_quality_histogram_99(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_histogram_99() { - _impl_.quality_histogram_99_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_histogram_99() const { - return _impl_.quality_histogram_99_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_histogram_99() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_99) - return _internal_quality_histogram_99(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_histogram_99(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.quality_histogram_99_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_histogram_99(uint32_t value) { - _internal_set_quality_histogram_99(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_99) -} - -// optional uint32 quality_histogram_97 = 23; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_histogram_97() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_histogram_97() const { - return _internal_has_quality_histogram_97(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_histogram_97() { - _impl_.quality_histogram_97_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_histogram_97() const { - return _impl_.quality_histogram_97_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_histogram_97() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_97) - return _internal_quality_histogram_97(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_histogram_97(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.quality_histogram_97_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_histogram_97(uint32_t value) { - _internal_set_quality_histogram_97(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_97) -} - -// optional uint32 quality_histogram_95 = 24; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_histogram_95() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_histogram_95() const { - return _internal_has_quality_histogram_95(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_histogram_95() { - _impl_.quality_histogram_95_ = 0u; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_histogram_95() const { - return _impl_.quality_histogram_95_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_histogram_95() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_95) - return _internal_quality_histogram_95(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_histogram_95(uint32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.quality_histogram_95_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_histogram_95(uint32_t value) { - _internal_set_quality_histogram_95(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_95) -} - -// optional uint32 quality_histogram_90 = 25; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_histogram_90() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_histogram_90() const { - return _internal_has_quality_histogram_90(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_histogram_90() { - _impl_.quality_histogram_90_ = 0u; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_histogram_90() const { - return _impl_.quality_histogram_90_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_histogram_90() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_90) - return _internal_quality_histogram_90(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_histogram_90(uint32_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.quality_histogram_90_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_histogram_90(uint32_t value) { - _internal_set_quality_histogram_90(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_90) -} - -// optional uint32 quality_histogram_75 = 26; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_histogram_75() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_histogram_75() const { - return _internal_has_quality_histogram_75(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_histogram_75() { - _impl_.quality_histogram_75_ = 0u; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_histogram_75() const { - return _impl_.quality_histogram_75_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_histogram_75() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_75) - return _internal_quality_histogram_75(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_histogram_75(uint32_t value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.quality_histogram_75_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_histogram_75(uint32_t value) { - _internal_set_quality_histogram_75(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_75) -} - -// optional uint32 quality_histogram_50 = 27; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_histogram_50() const { - bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_histogram_50() const { - return _internal_has_quality_histogram_50(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_histogram_50() { - _impl_.quality_histogram_50_ = 0u; - _impl_._has_bits_[0] &= ~0x00040000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_histogram_50() const { - return _impl_.quality_histogram_50_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_histogram_50() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_50) - return _internal_quality_histogram_50(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_histogram_50(uint32_t value) { - _impl_._has_bits_[0] |= 0x00040000u; - _impl_.quality_histogram_50_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_histogram_50(uint32_t value) { - _internal_set_quality_histogram_50(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_50) -} - -// optional uint32 quality_histogram_1 = 28; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_histogram_1() const { - bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_histogram_1() const { - return _internal_has_quality_histogram_1(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_histogram_1() { - _impl_.quality_histogram_1_ = 0u; - _impl_._has_bits_[0] &= ~0x00080000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_histogram_1() const { - return _impl_.quality_histogram_1_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_histogram_1() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_1) - return _internal_quality_histogram_1(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_histogram_1(uint32_t value) { - _impl_._has_bits_[0] |= 0x00080000u; - _impl_.quality_histogram_1_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_histogram_1(uint32_t value) { - _internal_set_quality_histogram_1(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_1) -} - -// optional uint32 quality_histogram_dead = 29; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_histogram_dead() const { - bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_histogram_dead() const { - return _internal_has_quality_histogram_dead(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_histogram_dead() { - _impl_.quality_histogram_dead_ = 0u; - _impl_._has_bits_[0] &= ~0x00100000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_histogram_dead() const { - return _impl_.quality_histogram_dead_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_histogram_dead() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_dead) - return _internal_quality_histogram_dead(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_histogram_dead(uint32_t value) { - _impl_._has_bits_[0] |= 0x00100000u; - _impl_.quality_histogram_dead_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_histogram_dead(uint32_t value) { - _internal_set_quality_histogram_dead(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_histogram_dead) -} - -// optional uint32 quality_ntile_2nd = 30; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_ntile_2nd() const { - bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_ntile_2nd() const { - return _internal_has_quality_ntile_2nd(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_ntile_2nd() { - _impl_.quality_ntile_2nd_ = 0u; - _impl_._has_bits_[0] &= ~0x00200000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_ntile_2nd() const { - return _impl_.quality_ntile_2nd_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_ntile_2nd() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_ntile_2nd) - return _internal_quality_ntile_2nd(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_ntile_2nd(uint32_t value) { - _impl_._has_bits_[0] |= 0x00200000u; - _impl_.quality_ntile_2nd_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_ntile_2nd(uint32_t value) { - _internal_set_quality_ntile_2nd(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_ntile_2nd) -} - -// optional uint32 quality_ntile_5th = 31; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_ntile_5th() const { - bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_ntile_5th() const { - return _internal_has_quality_ntile_5th(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_ntile_5th() { - _impl_.quality_ntile_5th_ = 0u; - _impl_._has_bits_[0] &= ~0x00400000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_ntile_5th() const { - return _impl_.quality_ntile_5th_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_ntile_5th() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_ntile_5th) - return _internal_quality_ntile_5th(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_ntile_5th(uint32_t value) { - _impl_._has_bits_[0] |= 0x00400000u; - _impl_.quality_ntile_5th_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_ntile_5th(uint32_t value) { - _internal_set_quality_ntile_5th(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_ntile_5th) -} - -// optional uint32 quality_ntile_25th = 32; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_ntile_25th() const { - bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_ntile_25th() const { - return _internal_has_quality_ntile_25th(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_ntile_25th() { - _impl_.quality_ntile_25th_ = 0u; - _impl_._has_bits_[0] &= ~0x00800000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_ntile_25th() const { - return _impl_.quality_ntile_25th_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_ntile_25th() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_ntile_25th) - return _internal_quality_ntile_25th(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_ntile_25th(uint32_t value) { - _impl_._has_bits_[0] |= 0x00800000u; - _impl_.quality_ntile_25th_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_ntile_25th(uint32_t value) { - _internal_set_quality_ntile_25th(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_ntile_25th) -} - -// optional uint32 quality_ntile_50th = 33; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_quality_ntile_50th() const { - bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_quality_ntile_50th() const { - return _internal_has_quality_ntile_50th(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_quality_ntile_50th() { - _impl_.quality_ntile_50th_ = 0u; - _impl_._has_bits_[0] &= ~0x01000000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_quality_ntile_50th() const { - return _impl_.quality_ntile_50th_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::quality_ntile_50th() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.quality_ntile_50th) - return _internal_quality_ntile_50th(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_quality_ntile_50th(uint32_t value) { - _impl_._has_bits_[0] |= 0x01000000u; - _impl_.quality_ntile_50th_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_quality_ntile_50th(uint32_t value) { - _internal_set_quality_ntile_50th(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.quality_ntile_50th) -} - -// optional uint32 ping_histogram_25 = 41; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_histogram_25() const { - bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_histogram_25() const { - return _internal_has_ping_histogram_25(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_histogram_25() { - _impl_.ping_histogram_25_ = 0u; - _impl_._has_bits_[0] &= ~0x02000000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_histogram_25() const { - return _impl_.ping_histogram_25_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_histogram_25() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_25) - return _internal_ping_histogram_25(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_histogram_25(uint32_t value) { - _impl_._has_bits_[0] |= 0x02000000u; - _impl_.ping_histogram_25_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_histogram_25(uint32_t value) { - _internal_set_ping_histogram_25(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_25) -} - -// optional uint32 ping_histogram_50 = 42; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_histogram_50() const { - bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_histogram_50() const { - return _internal_has_ping_histogram_50(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_histogram_50() { - _impl_.ping_histogram_50_ = 0u; - _impl_._has_bits_[0] &= ~0x04000000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_histogram_50() const { - return _impl_.ping_histogram_50_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_histogram_50() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_50) - return _internal_ping_histogram_50(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_histogram_50(uint32_t value) { - _impl_._has_bits_[0] |= 0x04000000u; - _impl_.ping_histogram_50_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_histogram_50(uint32_t value) { - _internal_set_ping_histogram_50(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_50) -} - -// optional uint32 ping_histogram_75 = 43; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_histogram_75() const { - bool value = (_impl_._has_bits_[0] & 0x08000000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_histogram_75() const { - return _internal_has_ping_histogram_75(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_histogram_75() { - _impl_.ping_histogram_75_ = 0u; - _impl_._has_bits_[0] &= ~0x08000000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_histogram_75() const { - return _impl_.ping_histogram_75_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_histogram_75() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_75) - return _internal_ping_histogram_75(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_histogram_75(uint32_t value) { - _impl_._has_bits_[0] |= 0x08000000u; - _impl_.ping_histogram_75_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_histogram_75(uint32_t value) { - _internal_set_ping_histogram_75(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_75) -} - -// optional uint32 ping_histogram_100 = 44; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_histogram_100() const { - bool value = (_impl_._has_bits_[0] & 0x10000000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_histogram_100() const { - return _internal_has_ping_histogram_100(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_histogram_100() { - _impl_.ping_histogram_100_ = 0u; - _impl_._has_bits_[0] &= ~0x10000000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_histogram_100() const { - return _impl_.ping_histogram_100_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_histogram_100() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_100) - return _internal_ping_histogram_100(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_histogram_100(uint32_t value) { - _impl_._has_bits_[0] |= 0x10000000u; - _impl_.ping_histogram_100_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_histogram_100(uint32_t value) { - _internal_set_ping_histogram_100(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_100) -} - -// optional uint32 ping_histogram_125 = 45; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_histogram_125() const { - bool value = (_impl_._has_bits_[0] & 0x20000000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_histogram_125() const { - return _internal_has_ping_histogram_125(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_histogram_125() { - _impl_.ping_histogram_125_ = 0u; - _impl_._has_bits_[0] &= ~0x20000000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_histogram_125() const { - return _impl_.ping_histogram_125_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_histogram_125() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_125) - return _internal_ping_histogram_125(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_histogram_125(uint32_t value) { - _impl_._has_bits_[0] |= 0x20000000u; - _impl_.ping_histogram_125_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_histogram_125(uint32_t value) { - _internal_set_ping_histogram_125(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_125) -} - -// optional uint32 ping_histogram_150 = 46; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_histogram_150() const { - bool value = (_impl_._has_bits_[0] & 0x40000000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_histogram_150() const { - return _internal_has_ping_histogram_150(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_histogram_150() { - _impl_.ping_histogram_150_ = 0u; - _impl_._has_bits_[0] &= ~0x40000000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_histogram_150() const { - return _impl_.ping_histogram_150_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_histogram_150() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_150) - return _internal_ping_histogram_150(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_histogram_150(uint32_t value) { - _impl_._has_bits_[0] |= 0x40000000u; - _impl_.ping_histogram_150_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_histogram_150(uint32_t value) { - _internal_set_ping_histogram_150(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_150) -} - -// optional uint32 ping_histogram_200 = 47; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_histogram_200() const { - bool value = (_impl_._has_bits_[0] & 0x80000000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_histogram_200() const { - return _internal_has_ping_histogram_200(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_histogram_200() { - _impl_.ping_histogram_200_ = 0u; - _impl_._has_bits_[0] &= ~0x80000000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_histogram_200() const { - return _impl_.ping_histogram_200_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_histogram_200() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_200) - return _internal_ping_histogram_200(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_histogram_200(uint32_t value) { - _impl_._has_bits_[0] |= 0x80000000u; - _impl_.ping_histogram_200_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_histogram_200(uint32_t value) { - _internal_set_ping_histogram_200(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_200) -} - -// optional uint32 ping_histogram_300 = 48; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_histogram_300() const { - bool value = (_impl_._has_bits_[1] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_histogram_300() const { - return _internal_has_ping_histogram_300(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_histogram_300() { - _impl_.ping_histogram_300_ = 0u; - _impl_._has_bits_[1] &= ~0x00000001u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_histogram_300() const { - return _impl_.ping_histogram_300_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_histogram_300() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_300) - return _internal_ping_histogram_300(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_histogram_300(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000001u; - _impl_.ping_histogram_300_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_histogram_300(uint32_t value) { - _internal_set_ping_histogram_300(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_300) -} - -// optional uint32 ping_histogram_max = 49; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_histogram_max() const { - bool value = (_impl_._has_bits_[1] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_histogram_max() const { - return _internal_has_ping_histogram_max(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_histogram_max() { - _impl_.ping_histogram_max_ = 0u; - _impl_._has_bits_[1] &= ~0x00000002u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_histogram_max() const { - return _impl_.ping_histogram_max_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_histogram_max() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_max) - return _internal_ping_histogram_max(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_histogram_max(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000002u; - _impl_.ping_histogram_max_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_histogram_max(uint32_t value) { - _internal_set_ping_histogram_max(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_histogram_max) -} - -// optional uint32 ping_ntile_5th = 50; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_ntile_5th() const { - bool value = (_impl_._has_bits_[1] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_ntile_5th() const { - return _internal_has_ping_ntile_5th(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_ntile_5th() { - _impl_.ping_ntile_5th_ = 0u; - _impl_._has_bits_[1] &= ~0x00000004u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_ntile_5th() const { - return _impl_.ping_ntile_5th_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_ntile_5th() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_5th) - return _internal_ping_ntile_5th(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_ntile_5th(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000004u; - _impl_.ping_ntile_5th_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_ntile_5th(uint32_t value) { - _internal_set_ping_ntile_5th(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_5th) -} - -// optional uint32 ping_ntile_50th = 51; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_ntile_50th() const { - bool value = (_impl_._has_bits_[1] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_ntile_50th() const { - return _internal_has_ping_ntile_50th(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_ntile_50th() { - _impl_.ping_ntile_50th_ = 0u; - _impl_._has_bits_[1] &= ~0x00000008u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_ntile_50th() const { - return _impl_.ping_ntile_50th_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_ntile_50th() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_50th) - return _internal_ping_ntile_50th(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_ntile_50th(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000008u; - _impl_.ping_ntile_50th_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_ntile_50th(uint32_t value) { - _internal_set_ping_ntile_50th(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_50th) -} - -// optional uint32 ping_ntile_75th = 52; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_ntile_75th() const { - bool value = (_impl_._has_bits_[1] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_ntile_75th() const { - return _internal_has_ping_ntile_75th(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_ntile_75th() { - _impl_.ping_ntile_75th_ = 0u; - _impl_._has_bits_[1] &= ~0x00000010u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_ntile_75th() const { - return _impl_.ping_ntile_75th_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_ntile_75th() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_75th) - return _internal_ping_ntile_75th(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_ntile_75th(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000010u; - _impl_.ping_ntile_75th_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_ntile_75th(uint32_t value) { - _internal_set_ping_ntile_75th(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_75th) -} - -// optional uint32 ping_ntile_95th = 53; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_ntile_95th() const { - bool value = (_impl_._has_bits_[1] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_ntile_95th() const { - return _internal_has_ping_ntile_95th(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_ntile_95th() { - _impl_.ping_ntile_95th_ = 0u; - _impl_._has_bits_[1] &= ~0x00000020u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_ntile_95th() const { - return _impl_.ping_ntile_95th_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_ntile_95th() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_95th) - return _internal_ping_ntile_95th(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_ntile_95th(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000020u; - _impl_.ping_ntile_95th_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_ntile_95th(uint32_t value) { - _internal_set_ping_ntile_95th(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_95th) -} - -// optional uint32 ping_ntile_98th = 54; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_ping_ntile_98th() const { - bool value = (_impl_._has_bits_[1] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_ping_ntile_98th() const { - return _internal_has_ping_ntile_98th(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_ping_ntile_98th() { - _impl_.ping_ntile_98th_ = 0u; - _impl_._has_bits_[1] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_ping_ntile_98th() const { - return _impl_.ping_ntile_98th_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::ping_ntile_98th() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_98th) - return _internal_ping_ntile_98th(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_ping_ntile_98th(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000040u; - _impl_.ping_ntile_98th_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_ping_ntile_98th(uint32_t value) { - _internal_set_ping_ntile_98th(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.ping_ntile_98th) -} - -// optional uint32 jitter_histogram_negligible = 61; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_jitter_histogram_negligible() const { - bool value = (_impl_._has_bits_[1] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_jitter_histogram_negligible() const { - return _internal_has_jitter_histogram_negligible(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_jitter_histogram_negligible() { - _impl_.jitter_histogram_negligible_ = 0u; - _impl_._has_bits_[1] &= ~0x00000080u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_jitter_histogram_negligible() const { - return _impl_.jitter_histogram_negligible_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::jitter_histogram_negligible() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_negligible) - return _internal_jitter_histogram_negligible(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_jitter_histogram_negligible(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000080u; - _impl_.jitter_histogram_negligible_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_jitter_histogram_negligible(uint32_t value) { - _internal_set_jitter_histogram_negligible(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_negligible) -} - -// optional uint32 jitter_histogram_1 = 62; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_jitter_histogram_1() const { - bool value = (_impl_._has_bits_[1] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_jitter_histogram_1() const { - return _internal_has_jitter_histogram_1(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_jitter_histogram_1() { - _impl_.jitter_histogram_1_ = 0u; - _impl_._has_bits_[1] &= ~0x00000100u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_jitter_histogram_1() const { - return _impl_.jitter_histogram_1_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::jitter_histogram_1() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_1) - return _internal_jitter_histogram_1(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_jitter_histogram_1(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000100u; - _impl_.jitter_histogram_1_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_jitter_histogram_1(uint32_t value) { - _internal_set_jitter_histogram_1(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_1) -} - -// optional uint32 jitter_histogram_2 = 63; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_jitter_histogram_2() const { - bool value = (_impl_._has_bits_[1] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_jitter_histogram_2() const { - return _internal_has_jitter_histogram_2(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_jitter_histogram_2() { - _impl_.jitter_histogram_2_ = 0u; - _impl_._has_bits_[1] &= ~0x00000200u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_jitter_histogram_2() const { - return _impl_.jitter_histogram_2_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::jitter_histogram_2() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_2) - return _internal_jitter_histogram_2(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_jitter_histogram_2(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000200u; - _impl_.jitter_histogram_2_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_jitter_histogram_2(uint32_t value) { - _internal_set_jitter_histogram_2(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_2) -} - -// optional uint32 jitter_histogram_5 = 64; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_jitter_histogram_5() const { - bool value = (_impl_._has_bits_[1] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_jitter_histogram_5() const { - return _internal_has_jitter_histogram_5(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_jitter_histogram_5() { - _impl_.jitter_histogram_5_ = 0u; - _impl_._has_bits_[1] &= ~0x00000400u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_jitter_histogram_5() const { - return _impl_.jitter_histogram_5_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::jitter_histogram_5() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_5) - return _internal_jitter_histogram_5(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_jitter_histogram_5(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000400u; - _impl_.jitter_histogram_5_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_jitter_histogram_5(uint32_t value) { - _internal_set_jitter_histogram_5(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_5) -} - -// optional uint32 jitter_histogram_10 = 65; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_jitter_histogram_10() const { - bool value = (_impl_._has_bits_[1] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_jitter_histogram_10() const { - return _internal_has_jitter_histogram_10(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_jitter_histogram_10() { - _impl_.jitter_histogram_10_ = 0u; - _impl_._has_bits_[1] &= ~0x00000800u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_jitter_histogram_10() const { - return _impl_.jitter_histogram_10_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::jitter_histogram_10() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_10) - return _internal_jitter_histogram_10(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_jitter_histogram_10(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000800u; - _impl_.jitter_histogram_10_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_jitter_histogram_10(uint32_t value) { - _internal_set_jitter_histogram_10(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_10) -} - -// optional uint32 jitter_histogram_20 = 66; -inline bool CMsgSteamDatagramLinkLifetimeStats::_internal_has_jitter_histogram_20() const { - bool value = (_impl_._has_bits_[1] & 0x00001000u) != 0; - return value; -} -inline bool CMsgSteamDatagramLinkLifetimeStats::has_jitter_histogram_20() const { - return _internal_has_jitter_histogram_20(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::clear_jitter_histogram_20() { - _impl_.jitter_histogram_20_ = 0u; - _impl_._has_bits_[1] &= ~0x00001000u; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::_internal_jitter_histogram_20() const { - return _impl_.jitter_histogram_20_; -} -inline uint32_t CMsgSteamDatagramLinkLifetimeStats::jitter_histogram_20() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_20) - return _internal_jitter_histogram_20(); -} -inline void CMsgSteamDatagramLinkLifetimeStats::_internal_set_jitter_histogram_20(uint32_t value) { - _impl_._has_bits_[1] |= 0x00001000u; - _impl_.jitter_histogram_20_ = value; -} -inline void CMsgSteamDatagramLinkLifetimeStats::set_jitter_histogram_20(uint32_t value) { - _internal_set_jitter_histogram_20(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramLinkLifetimeStats.jitter_histogram_20) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramConnectionQuality - -// optional .CMsgSteamDatagramLinkInstantaneousStats instantaneous = 1; -inline bool CMsgSteamDatagramConnectionQuality::_internal_has_instantaneous() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.instantaneous_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionQuality::has_instantaneous() const { - return _internal_has_instantaneous(); -} -inline void CMsgSteamDatagramConnectionQuality::clear_instantaneous() { - if (_impl_.instantaneous_ != nullptr) _impl_.instantaneous_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgSteamDatagramLinkInstantaneousStats& CMsgSteamDatagramConnectionQuality::_internal_instantaneous() const { - const ::CMsgSteamDatagramLinkInstantaneousStats* p = _impl_.instantaneous_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramLinkInstantaneousStats_default_instance_); -} -inline const ::CMsgSteamDatagramLinkInstantaneousStats& CMsgSteamDatagramConnectionQuality::instantaneous() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionQuality.instantaneous) - return _internal_instantaneous(); -} -inline void CMsgSteamDatagramConnectionQuality::unsafe_arena_set_allocated_instantaneous( - ::CMsgSteamDatagramLinkInstantaneousStats* instantaneous) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.instantaneous_); - } - _impl_.instantaneous_ = instantaneous; - if (instantaneous) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionQuality.instantaneous) -} -inline ::CMsgSteamDatagramLinkInstantaneousStats* CMsgSteamDatagramConnectionQuality::release_instantaneous() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamDatagramLinkInstantaneousStats* temp = _impl_.instantaneous_; - _impl_.instantaneous_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramLinkInstantaneousStats* CMsgSteamDatagramConnectionQuality::unsafe_arena_release_instantaneous() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionQuality.instantaneous) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamDatagramLinkInstantaneousStats* temp = _impl_.instantaneous_; - _impl_.instantaneous_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramLinkInstantaneousStats* CMsgSteamDatagramConnectionQuality::_internal_mutable_instantaneous() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.instantaneous_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramLinkInstantaneousStats>(GetArenaForAllocation()); - _impl_.instantaneous_ = p; - } - return _impl_.instantaneous_; -} -inline ::CMsgSteamDatagramLinkInstantaneousStats* CMsgSteamDatagramConnectionQuality::mutable_instantaneous() { - ::CMsgSteamDatagramLinkInstantaneousStats* _msg = _internal_mutable_instantaneous(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionQuality.instantaneous) - return _msg; -} -inline void CMsgSteamDatagramConnectionQuality::set_allocated_instantaneous(::CMsgSteamDatagramLinkInstantaneousStats* instantaneous) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.instantaneous_; - } - if (instantaneous) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(instantaneous); - if (message_arena != submessage_arena) { - instantaneous = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, instantaneous, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.instantaneous_ = instantaneous; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionQuality.instantaneous) -} - -// optional .CMsgSteamDatagramLinkLifetimeStats lifetime = 2; -inline bool CMsgSteamDatagramConnectionQuality::_internal_has_lifetime() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.lifetime_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramConnectionQuality::has_lifetime() const { - return _internal_has_lifetime(); -} -inline void CMsgSteamDatagramConnectionQuality::clear_lifetime() { - if (_impl_.lifetime_ != nullptr) _impl_.lifetime_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CMsgSteamDatagramLinkLifetimeStats& CMsgSteamDatagramConnectionQuality::_internal_lifetime() const { - const ::CMsgSteamDatagramLinkLifetimeStats* p = _impl_.lifetime_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramLinkLifetimeStats_default_instance_); -} -inline const ::CMsgSteamDatagramLinkLifetimeStats& CMsgSteamDatagramConnectionQuality::lifetime() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramConnectionQuality.lifetime) - return _internal_lifetime(); -} -inline void CMsgSteamDatagramConnectionQuality::unsafe_arena_set_allocated_lifetime( - ::CMsgSteamDatagramLinkLifetimeStats* lifetime) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.lifetime_); - } - _impl_.lifetime_ = lifetime; - if (lifetime) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramConnectionQuality.lifetime) -} -inline ::CMsgSteamDatagramLinkLifetimeStats* CMsgSteamDatagramConnectionQuality::release_lifetime() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramLinkLifetimeStats* temp = _impl_.lifetime_; - _impl_.lifetime_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramLinkLifetimeStats* CMsgSteamDatagramConnectionQuality::unsafe_arena_release_lifetime() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramConnectionQuality.lifetime) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramLinkLifetimeStats* temp = _impl_.lifetime_; - _impl_.lifetime_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramLinkLifetimeStats* CMsgSteamDatagramConnectionQuality::_internal_mutable_lifetime() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.lifetime_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramLinkLifetimeStats>(GetArenaForAllocation()); - _impl_.lifetime_ = p; - } - return _impl_.lifetime_; -} -inline ::CMsgSteamDatagramLinkLifetimeStats* CMsgSteamDatagramConnectionQuality::mutable_lifetime() { - ::CMsgSteamDatagramLinkLifetimeStats* _msg = _internal_mutable_lifetime(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramConnectionQuality.lifetime) - return _msg; -} -inline void CMsgSteamDatagramConnectionQuality::set_allocated_lifetime(::CMsgSteamDatagramLinkLifetimeStats* lifetime) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.lifetime_; - } - if (lifetime) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(lifetime); - if (message_arena != submessage_arena) { - lifetime = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, lifetime, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.lifetime_ = lifetime; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramConnectionQuality.lifetime) -} - -// ------------------------------------------------------------------- - -// CMsgICECandidate - -// optional string candidate = 3; -inline bool CMsgICECandidate::_internal_has_candidate() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgICECandidate::has_candidate() const { - return _internal_has_candidate(); -} -inline void CMsgICECandidate::clear_candidate() { - _impl_.candidate_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgICECandidate::candidate() const { - // @@protoc_insertion_point(field_get:CMsgICECandidate.candidate) - return _internal_candidate(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgICECandidate::set_candidate(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.candidate_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgICECandidate.candidate) -} -inline std::string* CMsgICECandidate::mutable_candidate() { - std::string* _s = _internal_mutable_candidate(); - // @@protoc_insertion_point(field_mutable:CMsgICECandidate.candidate) - return _s; -} -inline const std::string& CMsgICECandidate::_internal_candidate() const { - return _impl_.candidate_.Get(); -} -inline void CMsgICECandidate::_internal_set_candidate(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.candidate_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgICECandidate::_internal_mutable_candidate() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.candidate_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgICECandidate::release_candidate() { - // @@protoc_insertion_point(field_release:CMsgICECandidate.candidate) - if (!_internal_has_candidate()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.candidate_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.candidate_.IsDefault()) { - _impl_.candidate_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgICECandidate::set_allocated_candidate(std::string* candidate) { - if (candidate != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.candidate_.SetAllocated(candidate, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.candidate_.IsDefault()) { - _impl_.candidate_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgICECandidate.candidate) -} - -// ------------------------------------------------------------------- - -// CMsgICERendezvous_Auth - -// optional string pwd_frag = 1; -inline bool CMsgICERendezvous_Auth::_internal_has_pwd_frag() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgICERendezvous_Auth::has_pwd_frag() const { - return _internal_has_pwd_frag(); -} -inline void CMsgICERendezvous_Auth::clear_pwd_frag() { - _impl_.pwd_frag_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgICERendezvous_Auth::pwd_frag() const { - // @@protoc_insertion_point(field_get:CMsgICERendezvous.Auth.pwd_frag) - return _internal_pwd_frag(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgICERendezvous_Auth::set_pwd_frag(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.pwd_frag_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgICERendezvous.Auth.pwd_frag) -} -inline std::string* CMsgICERendezvous_Auth::mutable_pwd_frag() { - std::string* _s = _internal_mutable_pwd_frag(); - // @@protoc_insertion_point(field_mutable:CMsgICERendezvous.Auth.pwd_frag) - return _s; -} -inline const std::string& CMsgICERendezvous_Auth::_internal_pwd_frag() const { - return _impl_.pwd_frag_.Get(); -} -inline void CMsgICERendezvous_Auth::_internal_set_pwd_frag(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.pwd_frag_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgICERendezvous_Auth::_internal_mutable_pwd_frag() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.pwd_frag_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgICERendezvous_Auth::release_pwd_frag() { - // @@protoc_insertion_point(field_release:CMsgICERendezvous.Auth.pwd_frag) - if (!_internal_has_pwd_frag()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.pwd_frag_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.pwd_frag_.IsDefault()) { - _impl_.pwd_frag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgICERendezvous_Auth::set_allocated_pwd_frag(std::string* pwd_frag) { - if (pwd_frag != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.pwd_frag_.SetAllocated(pwd_frag, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.pwd_frag_.IsDefault()) { - _impl_.pwd_frag_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgICERendezvous.Auth.pwd_frag) -} - -// ------------------------------------------------------------------- - -// CMsgICERendezvous - -// optional .CMsgICERendezvous.Auth auth = 2; -inline bool CMsgICERendezvous::_internal_has_auth() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.auth_ != nullptr); - return value; -} -inline bool CMsgICERendezvous::has_auth() const { - return _internal_has_auth(); -} -inline void CMsgICERendezvous::clear_auth() { - if (_impl_.auth_ != nullptr) _impl_.auth_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CMsgICERendezvous_Auth& CMsgICERendezvous::_internal_auth() const { - const ::CMsgICERendezvous_Auth* p = _impl_.auth_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgICERendezvous_Auth_default_instance_); -} -inline const ::CMsgICERendezvous_Auth& CMsgICERendezvous::auth() const { - // @@protoc_insertion_point(field_get:CMsgICERendezvous.auth) - return _internal_auth(); -} -inline void CMsgICERendezvous::unsafe_arena_set_allocated_auth( - ::CMsgICERendezvous_Auth* auth) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.auth_); - } - _impl_.auth_ = auth; - if (auth) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgICERendezvous.auth) -} -inline ::CMsgICERendezvous_Auth* CMsgICERendezvous::release_auth() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgICERendezvous_Auth* temp = _impl_.auth_; - _impl_.auth_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgICERendezvous_Auth* CMsgICERendezvous::unsafe_arena_release_auth() { - // @@protoc_insertion_point(field_release:CMsgICERendezvous.auth) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgICERendezvous_Auth* temp = _impl_.auth_; - _impl_.auth_ = nullptr; - return temp; -} -inline ::CMsgICERendezvous_Auth* CMsgICERendezvous::_internal_mutable_auth() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.auth_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgICERendezvous_Auth>(GetArenaForAllocation()); - _impl_.auth_ = p; - } - return _impl_.auth_; -} -inline ::CMsgICERendezvous_Auth* CMsgICERendezvous::mutable_auth() { - ::CMsgICERendezvous_Auth* _msg = _internal_mutable_auth(); - // @@protoc_insertion_point(field_mutable:CMsgICERendezvous.auth) - return _msg; -} -inline void CMsgICERendezvous::set_allocated_auth(::CMsgICERendezvous_Auth* auth) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.auth_; - } - if (auth) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(auth); - if (message_arena != submessage_arena) { - auth = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, auth, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.auth_ = auth; - // @@protoc_insertion_point(field_set_allocated:CMsgICERendezvous.auth) -} - -// optional .CMsgICECandidate add_candidate = 1; -inline bool CMsgICERendezvous::_internal_has_add_candidate() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.add_candidate_ != nullptr); - return value; -} -inline bool CMsgICERendezvous::has_add_candidate() const { - return _internal_has_add_candidate(); -} -inline void CMsgICERendezvous::clear_add_candidate() { - if (_impl_.add_candidate_ != nullptr) _impl_.add_candidate_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgICECandidate& CMsgICERendezvous::_internal_add_candidate() const { - const ::CMsgICECandidate* p = _impl_.add_candidate_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgICECandidate_default_instance_); -} -inline const ::CMsgICECandidate& CMsgICERendezvous::add_candidate() const { - // @@protoc_insertion_point(field_get:CMsgICERendezvous.add_candidate) - return _internal_add_candidate(); -} -inline void CMsgICERendezvous::unsafe_arena_set_allocated_add_candidate( - ::CMsgICECandidate* add_candidate) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.add_candidate_); - } - _impl_.add_candidate_ = add_candidate; - if (add_candidate) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgICERendezvous.add_candidate) -} -inline ::CMsgICECandidate* CMsgICERendezvous::release_add_candidate() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgICECandidate* temp = _impl_.add_candidate_; - _impl_.add_candidate_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgICECandidate* CMsgICERendezvous::unsafe_arena_release_add_candidate() { - // @@protoc_insertion_point(field_release:CMsgICERendezvous.add_candidate) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgICECandidate* temp = _impl_.add_candidate_; - _impl_.add_candidate_ = nullptr; - return temp; -} -inline ::CMsgICECandidate* CMsgICERendezvous::_internal_mutable_add_candidate() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.add_candidate_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgICECandidate>(GetArenaForAllocation()); - _impl_.add_candidate_ = p; - } - return _impl_.add_candidate_; -} -inline ::CMsgICECandidate* CMsgICERendezvous::mutable_add_candidate() { - ::CMsgICECandidate* _msg = _internal_mutable_add_candidate(); - // @@protoc_insertion_point(field_mutable:CMsgICERendezvous.add_candidate) - return _msg; -} -inline void CMsgICERendezvous::set_allocated_add_candidate(::CMsgICECandidate* add_candidate) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.add_candidate_; - } - if (add_candidate) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(add_candidate); - if (message_arena != submessage_arena) { - add_candidate = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, add_candidate, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.add_candidate_ = add_candidate; - // @@protoc_insertion_point(field_set_allocated:CMsgICERendezvous.add_candidate) -} - -// ------------------------------------------------------------------- - -// CMsgSteamNetworkingP2PRendezvous_ConnectRequest - -// optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; -inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_has_crypt() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.crypt_ != nullptr); - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::has_crypt() const { - return _internal_has_crypt(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::clear_crypt() { - if (_impl_.crypt_ != nullptr) _impl_.crypt_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_crypt() const { - const ::CMsgSteamDatagramSessionCryptInfoSigned* p = _impl_.crypt_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramSessionCryptInfoSigned_default_instance_); -} -inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamNetworkingP2PRendezvous_ConnectRequest::crypt() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.crypt) - return _internal_crypt(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::unsafe_arena_set_allocated_crypt( - ::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); - } - _impl_.crypt_ = crypt; - if (crypt) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.crypt) -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::release_crypt() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; - _impl_.crypt_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::unsafe_arena_release_crypt() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.crypt) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; - _impl_.crypt_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_mutable_crypt() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.crypt_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramSessionCryptInfoSigned>(GetArenaForAllocation()); - _impl_.crypt_ = p; - } - return _impl_.crypt_; -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::mutable_crypt() { - ::CMsgSteamDatagramSessionCryptInfoSigned* _msg = _internal_mutable_crypt(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.crypt) - return _msg; -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.crypt_; - } - if (crypt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(crypt); - if (message_arena != submessage_arena) { - crypt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, crypt, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.crypt_ = crypt; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.crypt) -} - -// optional .CMsgSteamDatagramCertificateSigned cert = 7; -inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_has_cert() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::has_cert() const { - return _internal_has_cert(); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_cert() const { - const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramCertificateSigned_default_instance_); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamNetworkingP2PRendezvous_ConnectRequest::cert() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.cert) - return _internal_cert(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - _impl_.cert_ = cert; - if (cert) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.cert) -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::release_cert() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::unsafe_arena_release_cert() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.cert) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_mutable_cert() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.cert_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); - _impl_.cert_ = p; - } - return _impl_.cert_; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::mutable_cert() { - ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.cert) - return _msg; -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - if (cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); - if (message_arena != submessage_arena) { - cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cert, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.cert_ = cert; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.cert) -} - -// optional uint32 to_virtual_port = 9; -inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_has_to_virtual_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::has_to_virtual_port() const { - return _internal_has_to_virtual_port(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::clear_to_virtual_port() { - _impl_.to_virtual_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_to_virtual_port() const { - return _impl_.to_virtual_port_; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous_ConnectRequest::to_virtual_port() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.to_virtual_port) - return _internal_to_virtual_port(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_set_to_virtual_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.to_virtual_port_ = value; -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::set_to_virtual_port(uint32_t value) { - _internal_set_to_virtual_port(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.to_virtual_port) -} - -// optional uint32 from_virtual_port = 10; -inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_has_from_virtual_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::has_from_virtual_port() const { - return _internal_has_from_virtual_port(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::clear_from_virtual_port() { - _impl_.from_virtual_port_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_from_virtual_port() const { - return _impl_.from_virtual_port_; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous_ConnectRequest::from_virtual_port() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.from_virtual_port) - return _internal_from_virtual_port(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_set_from_virtual_port(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.from_virtual_port_ = value; -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::set_from_virtual_port(uint32_t value) { - _internal_set_from_virtual_port(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.from_virtual_port) -} - -// optional string from_fakeip = 11; -inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_has_from_fakeip() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous_ConnectRequest::has_from_fakeip() const { - return _internal_has_from_fakeip(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::clear_from_fakeip() { - _impl_.from_fakeip_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamNetworkingP2PRendezvous_ConnectRequest::from_fakeip() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.from_fakeip) - return _internal_from_fakeip(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::set_from_fakeip(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.from_fakeip_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.from_fakeip) -} -inline std::string* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::mutable_from_fakeip() { - std::string* _s = _internal_mutable_from_fakeip(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.from_fakeip) - return _s; -} -inline const std::string& CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_from_fakeip() const { - return _impl_.from_fakeip_.Get(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_set_from_fakeip(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.from_fakeip_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::_internal_mutable_from_fakeip() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.from_fakeip_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingP2PRendezvous_ConnectRequest::release_from_fakeip() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.from_fakeip) - if (!_internal_has_from_fakeip()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.from_fakeip_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.from_fakeip_.IsDefault()) { - _impl_.from_fakeip_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectRequest::set_allocated_from_fakeip(std::string* from_fakeip) { - if (from_fakeip != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.from_fakeip_.SetAllocated(from_fakeip, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.from_fakeip_.IsDefault()) { - _impl_.from_fakeip_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectRequest.from_fakeip) -} - -// ------------------------------------------------------------------- - -// CMsgSteamNetworkingP2PRendezvous_ConnectOK - -// optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; -inline bool CMsgSteamNetworkingP2PRendezvous_ConnectOK::_internal_has_crypt() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.crypt_ != nullptr); - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous_ConnectOK::has_crypt() const { - return _internal_has_crypt(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectOK::clear_crypt() { - if (_impl_.crypt_ != nullptr) _impl_.crypt_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamNetworkingP2PRendezvous_ConnectOK::_internal_crypt() const { - const ::CMsgSteamDatagramSessionCryptInfoSigned* p = _impl_.crypt_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramSessionCryptInfoSigned_default_instance_); -} -inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamNetworkingP2PRendezvous_ConnectOK::crypt() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ConnectOK.crypt) - return _internal_crypt(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectOK::unsafe_arena_set_allocated_crypt( - ::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); - } - _impl_.crypt_ = crypt; - if (crypt) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectOK.crypt) -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamNetworkingP2PRendezvous_ConnectOK::release_crypt() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; - _impl_.crypt_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamNetworkingP2PRendezvous_ConnectOK::unsafe_arena_release_crypt() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.ConnectOK.crypt) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; - _impl_.crypt_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamNetworkingP2PRendezvous_ConnectOK::_internal_mutable_crypt() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.crypt_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramSessionCryptInfoSigned>(GetArenaForAllocation()); - _impl_.crypt_ = p; - } - return _impl_.crypt_; -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamNetworkingP2PRendezvous_ConnectOK::mutable_crypt() { - ::CMsgSteamDatagramSessionCryptInfoSigned* _msg = _internal_mutable_crypt(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.ConnectOK.crypt) - return _msg; -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectOK::set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.crypt_; - } - if (crypt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(crypt); - if (message_arena != submessage_arena) { - crypt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, crypt, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.crypt_ = crypt; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectOK.crypt) -} - -// optional .CMsgSteamDatagramCertificateSigned cert = 6; -inline bool CMsgSteamNetworkingP2PRendezvous_ConnectOK::_internal_has_cert() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous_ConnectOK::has_cert() const { - return _internal_has_cert(); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamNetworkingP2PRendezvous_ConnectOK::_internal_cert() const { - const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramCertificateSigned_default_instance_); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamNetworkingP2PRendezvous_ConnectOK::cert() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ConnectOK.cert) - return _internal_cert(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectOK::unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - _impl_.cert_ = cert; - if (cert) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectOK.cert) -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamNetworkingP2PRendezvous_ConnectOK::release_cert() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamNetworkingP2PRendezvous_ConnectOK::unsafe_arena_release_cert() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.ConnectOK.cert) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamNetworkingP2PRendezvous_ConnectOK::_internal_mutable_cert() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.cert_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); - _impl_.cert_ = p; - } - return _impl_.cert_; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamNetworkingP2PRendezvous_ConnectOK::mutable_cert() { - ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.ConnectOK.cert) - return _msg; -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectOK::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - if (cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); - if (message_arena != submessage_arena) { - cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cert, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.cert_ = cert; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectOK.cert) -} - -// ------------------------------------------------------------------- - -// CMsgSteamNetworkingP2PRendezvous_ConnectionClosed - -// optional string debug = 5; -inline bool CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_internal_has_debug() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::has_debug() const { - return _internal_has_debug(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::clear_debug() { - _impl_.debug_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::debug() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed.debug) - return _internal_debug(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::set_debug(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.debug_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed.debug) -} -inline std::string* CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::mutable_debug() { - std::string* _s = _internal_mutable_debug(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed.debug) - return _s; -} -inline const std::string& CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_internal_debug() const { - return _impl_.debug_.Get(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_internal_set_debug(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.debug_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_internal_mutable_debug() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.debug_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::release_debug() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed.debug) - if (!_internal_has_debug()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.debug_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.debug_.IsDefault()) { - _impl_.debug_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::set_allocated_debug(std::string* debug) { - if (debug != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.debug_.SetAllocated(debug, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.debug_.IsDefault()) { - _impl_.debug_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed.debug) -} - -// optional uint32 reason_code = 6; -inline bool CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_internal_has_reason_code() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::has_reason_code() const { - return _internal_has_reason_code(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::clear_reason_code() { - _impl_.reason_code_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_internal_reason_code() const { - return _impl_.reason_code_; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::reason_code() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed.reason_code) - return _internal_reason_code(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::_internal_set_reason_code(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.reason_code_ = value; -} -inline void CMsgSteamNetworkingP2PRendezvous_ConnectionClosed::set_reason_code(uint32_t value) { - _internal_set_reason_code(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ConnectionClosed.reason_code) -} - -// ------------------------------------------------------------------- - -// CMsgSteamNetworkingP2PRendezvous_ReliableMessage - -// optional .CMsgICERendezvous ice = 1; -inline bool CMsgSteamNetworkingP2PRendezvous_ReliableMessage::_internal_has_ice() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.ice_ != nullptr); - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous_ReliableMessage::has_ice() const { - return _internal_has_ice(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::clear_ice() { - if (_impl_.ice_ != nullptr) _impl_.ice_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgICERendezvous& CMsgSteamNetworkingP2PRendezvous_ReliableMessage::_internal_ice() const { - const ::CMsgICERendezvous* p = _impl_.ice_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgICERendezvous_default_instance_); -} -inline const ::CMsgICERendezvous& CMsgSteamNetworkingP2PRendezvous_ReliableMessage::ice() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ReliableMessage.ice) - return _internal_ice(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::unsafe_arena_set_allocated_ice( - ::CMsgICERendezvous* ice) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ice_); - } - _impl_.ice_ = ice; - if (ice) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamNetworkingP2PRendezvous.ReliableMessage.ice) -} -inline ::CMsgICERendezvous* CMsgSteamNetworkingP2PRendezvous_ReliableMessage::release_ice() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgICERendezvous* temp = _impl_.ice_; - _impl_.ice_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgICERendezvous* CMsgSteamNetworkingP2PRendezvous_ReliableMessage::unsafe_arena_release_ice() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.ReliableMessage.ice) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgICERendezvous* temp = _impl_.ice_; - _impl_.ice_ = nullptr; - return temp; -} -inline ::CMsgICERendezvous* CMsgSteamNetworkingP2PRendezvous_ReliableMessage::_internal_mutable_ice() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.ice_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgICERendezvous>(GetArenaForAllocation()); - _impl_.ice_ = p; - } - return _impl_.ice_; -} -inline ::CMsgICERendezvous* CMsgSteamNetworkingP2PRendezvous_ReliableMessage::mutable_ice() { - ::CMsgICERendezvous* _msg = _internal_mutable_ice(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.ReliableMessage.ice) - return _msg; -} -inline void CMsgSteamNetworkingP2PRendezvous_ReliableMessage::set_allocated_ice(::CMsgICERendezvous* ice) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.ice_; - } - if (ice) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ice); - if (message_arena != submessage_arena) { - ice = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, ice, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.ice_ = ice; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.ReliableMessage.ice) -} - -// ------------------------------------------------------------------- - -// CMsgSteamNetworkingP2PRendezvous_ApplicationMessage - -// optional bytes data = 1; -inline bool CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::has_data() const { - return _internal_has_data(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::data() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.data) -} -inline std::string* CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.data) - return _s; -} -inline const std::string& CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::release_data() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.data) -} - -// optional uint64 msg_num = 2; -inline bool CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_has_msg_num() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::has_msg_num() const { - return _internal_has_msg_num(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::clear_msg_num() { - _impl_.msg_num_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_msg_num() const { - return _impl_.msg_num_; -} -inline uint64_t CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::msg_num() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.msg_num) - return _internal_msg_num(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_set_msg_num(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.msg_num_ = value; -} -inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::set_msg_num(uint64_t value) { - _internal_set_msg_num(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.msg_num) -} - -// optional uint32 flags = 3; -inline bool CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::has_flags() const { - return _internal_has_flags(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::flags() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.flags) - return _internal_flags(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.flags_ = value; -} -inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.flags) -} - -// optional uint32 lane_idx = 4; -inline bool CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_has_lane_idx() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::has_lane_idx() const { - return _internal_has_lane_idx(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::clear_lane_idx() { - _impl_.lane_idx_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_lane_idx() const { - return _impl_.lane_idx_; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::lane_idx() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.lane_idx) - return _internal_lane_idx(); -} -inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::_internal_set_lane_idx(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.lane_idx_ = value; -} -inline void CMsgSteamNetworkingP2PRendezvous_ApplicationMessage::set_lane_idx(uint32_t value) { - _internal_set_lane_idx(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ApplicationMessage.lane_idx) -} - -// ------------------------------------------------------------------- - -// CMsgSteamNetworkingP2PRendezvous - -// optional string from_identity = 8; -inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_from_identity() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous::has_from_identity() const { - return _internal_has_from_identity(); -} -inline void CMsgSteamNetworkingP2PRendezvous::clear_from_identity() { - _impl_.from_identity_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamNetworkingP2PRendezvous::from_identity() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.from_identity) - return _internal_from_identity(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamNetworkingP2PRendezvous::set_from_identity(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.from_identity_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.from_identity) -} -inline std::string* CMsgSteamNetworkingP2PRendezvous::mutable_from_identity() { - std::string* _s = _internal_mutable_from_identity(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.from_identity) - return _s; -} -inline const std::string& CMsgSteamNetworkingP2PRendezvous::_internal_from_identity() const { - return _impl_.from_identity_.Get(); -} -inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_from_identity(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.from_identity_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingP2PRendezvous::_internal_mutable_from_identity() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.from_identity_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingP2PRendezvous::release_from_identity() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.from_identity) - if (!_internal_has_from_identity()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.from_identity_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.from_identity_.IsDefault()) { - _impl_.from_identity_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamNetworkingP2PRendezvous::set_allocated_from_identity(std::string* from_identity) { - if (from_identity != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.from_identity_.SetAllocated(from_identity, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.from_identity_.IsDefault()) { - _impl_.from_identity_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.from_identity) -} - -// optional fixed32 from_connection_id = 9; -inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_from_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous::has_from_connection_id() const { - return _internal_has_from_connection_id(); -} -inline void CMsgSteamNetworkingP2PRendezvous::clear_from_connection_id() { - _impl_.from_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous::_internal_from_connection_id() const { - return _impl_.from_connection_id_; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous::from_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.from_connection_id) - return _internal_from_connection_id(); -} -inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_from_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.from_connection_id_ = value; -} -inline void CMsgSteamNetworkingP2PRendezvous::set_from_connection_id(uint32_t value) { - _internal_set_from_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.from_connection_id) -} - -// optional string to_identity = 10; -inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_to_identity() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous::has_to_identity() const { - return _internal_has_to_identity(); -} -inline void CMsgSteamNetworkingP2PRendezvous::clear_to_identity() { - _impl_.to_identity_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgSteamNetworkingP2PRendezvous::to_identity() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.to_identity) - return _internal_to_identity(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamNetworkingP2PRendezvous::set_to_identity(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.to_identity_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.to_identity) -} -inline std::string* CMsgSteamNetworkingP2PRendezvous::mutable_to_identity() { - std::string* _s = _internal_mutable_to_identity(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.to_identity) - return _s; -} -inline const std::string& CMsgSteamNetworkingP2PRendezvous::_internal_to_identity() const { - return _impl_.to_identity_.Get(); -} -inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_to_identity(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.to_identity_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingP2PRendezvous::_internal_mutable_to_identity() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.to_identity_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingP2PRendezvous::release_to_identity() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.to_identity) - if (!_internal_has_to_identity()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.to_identity_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.to_identity_.IsDefault()) { - _impl_.to_identity_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamNetworkingP2PRendezvous::set_allocated_to_identity(std::string* to_identity) { - if (to_identity != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.to_identity_.SetAllocated(to_identity, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.to_identity_.IsDefault()) { - _impl_.to_identity_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.to_identity) -} - -// optional fixed32 to_connection_id = 1; -inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_to_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous::has_to_connection_id() const { - return _internal_has_to_connection_id(); -} -inline void CMsgSteamNetworkingP2PRendezvous::clear_to_connection_id() { - _impl_.to_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous::_internal_to_connection_id() const { - return _impl_.to_connection_id_; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous::to_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.to_connection_id) - return _internal_to_connection_id(); -} -inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_to_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.to_connection_id_ = value; -} -inline void CMsgSteamNetworkingP2PRendezvous::set_to_connection_id(uint32_t value) { - _internal_set_to_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.to_connection_id) -} - -// optional bytes sdr_routes = 2; -inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_sdr_routes() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous::has_sdr_routes() const { - return _internal_has_sdr_routes(); -} -inline void CMsgSteamNetworkingP2PRendezvous::clear_sdr_routes() { - _impl_.sdr_routes_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamNetworkingP2PRendezvous::sdr_routes() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.sdr_routes) - return _internal_sdr_routes(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamNetworkingP2PRendezvous::set_sdr_routes(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sdr_routes_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.sdr_routes) -} -inline std::string* CMsgSteamNetworkingP2PRendezvous::mutable_sdr_routes() { - std::string* _s = _internal_mutable_sdr_routes(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.sdr_routes) - return _s; -} -inline const std::string& CMsgSteamNetworkingP2PRendezvous::_internal_sdr_routes() const { - return _impl_.sdr_routes_.Get(); -} -inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_sdr_routes(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sdr_routes_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingP2PRendezvous::_internal_mutable_sdr_routes() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.sdr_routes_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingP2PRendezvous::release_sdr_routes() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.sdr_routes) - if (!_internal_has_sdr_routes()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.sdr_routes_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sdr_routes_.IsDefault()) { - _impl_.sdr_routes_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamNetworkingP2PRendezvous::set_allocated_sdr_routes(std::string* sdr_routes) { - if (sdr_routes != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.sdr_routes_.SetAllocated(sdr_routes, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sdr_routes_.IsDefault()) { - _impl_.sdr_routes_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.sdr_routes) -} - -// optional uint32 ack_peer_routes_revision = 3; -inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_ack_peer_routes_revision() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous::has_ack_peer_routes_revision() const { - return _internal_has_ack_peer_routes_revision(); -} -inline void CMsgSteamNetworkingP2PRendezvous::clear_ack_peer_routes_revision() { - _impl_.ack_peer_routes_revision_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous::_internal_ack_peer_routes_revision() const { - return _impl_.ack_peer_routes_revision_; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous::ack_peer_routes_revision() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ack_peer_routes_revision) - return _internal_ack_peer_routes_revision(); -} -inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_ack_peer_routes_revision(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.ack_peer_routes_revision_ = value; -} -inline void CMsgSteamNetworkingP2PRendezvous::set_ack_peer_routes_revision(uint32_t value) { - _internal_set_ack_peer_routes_revision(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ack_peer_routes_revision) -} - -// optional bool ice_enabled = 7; -inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_ice_enabled() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous::has_ice_enabled() const { - return _internal_has_ice_enabled(); -} -inline void CMsgSteamNetworkingP2PRendezvous::clear_ice_enabled() { - _impl_.ice_enabled_ = false; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline bool CMsgSteamNetworkingP2PRendezvous::_internal_ice_enabled() const { - return _impl_.ice_enabled_; -} -inline bool CMsgSteamNetworkingP2PRendezvous::ice_enabled() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ice_enabled) - return _internal_ice_enabled(); -} -inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_ice_enabled(bool value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.ice_enabled_ = value; -} -inline void CMsgSteamNetworkingP2PRendezvous::set_ice_enabled(bool value) { - _internal_set_ice_enabled(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ice_enabled) -} - -// optional bytes hosted_server_ticket = 14; -inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_hosted_server_ticket() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous::has_hosted_server_ticket() const { - return _internal_has_hosted_server_ticket(); -} -inline void CMsgSteamNetworkingP2PRendezvous::clear_hosted_server_ticket() { - _impl_.hosted_server_ticket_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CMsgSteamNetworkingP2PRendezvous::hosted_server_ticket() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.hosted_server_ticket) - return _internal_hosted_server_ticket(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamNetworkingP2PRendezvous::set_hosted_server_ticket(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.hosted_server_ticket_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.hosted_server_ticket) -} -inline std::string* CMsgSteamNetworkingP2PRendezvous::mutable_hosted_server_ticket() { - std::string* _s = _internal_mutable_hosted_server_ticket(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.hosted_server_ticket) - return _s; -} -inline const std::string& CMsgSteamNetworkingP2PRendezvous::_internal_hosted_server_ticket() const { - return _impl_.hosted_server_ticket_.Get(); -} -inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_hosted_server_ticket(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.hosted_server_ticket_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingP2PRendezvous::_internal_mutable_hosted_server_ticket() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.hosted_server_ticket_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingP2PRendezvous::release_hosted_server_ticket() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.hosted_server_ticket) - if (!_internal_has_hosted_server_ticket()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.hosted_server_ticket_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.hosted_server_ticket_.IsDefault()) { - _impl_.hosted_server_ticket_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamNetworkingP2PRendezvous::set_allocated_hosted_server_ticket(std::string* hosted_server_ticket) { - if (hosted_server_ticket != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.hosted_server_ticket_.SetAllocated(hosted_server_ticket, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.hosted_server_ticket_.IsDefault()) { - _impl_.hosted_server_ticket_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.hosted_server_ticket) -} - -// optional .CMsgSteamNetworkingP2PRendezvous.ConnectRequest connect_request = 4; -inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_connect_request() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.connect_request_ != nullptr); - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous::has_connect_request() const { - return _internal_has_connect_request(); -} -inline void CMsgSteamNetworkingP2PRendezvous::clear_connect_request() { - if (_impl_.connect_request_ != nullptr) _impl_.connect_request_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest& CMsgSteamNetworkingP2PRendezvous::_internal_connect_request() const { - const ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* p = _impl_.connect_request_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamNetworkingP2PRendezvous_ConnectRequest_default_instance_); -} -inline const ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest& CMsgSteamNetworkingP2PRendezvous::connect_request() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.connect_request) - return _internal_connect_request(); -} -inline void CMsgSteamNetworkingP2PRendezvous::unsafe_arena_set_allocated_connect_request( - ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* connect_request) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.connect_request_); - } - _impl_.connect_request_ = connect_request; - if (connect_request) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamNetworkingP2PRendezvous.connect_request) -} -inline ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* CMsgSteamNetworkingP2PRendezvous::release_connect_request() { - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* temp = _impl_.connect_request_; - _impl_.connect_request_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* CMsgSteamNetworkingP2PRendezvous::unsafe_arena_release_connect_request() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.connect_request) - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* temp = _impl_.connect_request_; - _impl_.connect_request_ = nullptr; - return temp; -} -inline ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* CMsgSteamNetworkingP2PRendezvous::_internal_mutable_connect_request() { - _impl_._has_bits_[0] |= 0x00000010u; - if (_impl_.connect_request_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamNetworkingP2PRendezvous_ConnectRequest>(GetArenaForAllocation()); - _impl_.connect_request_ = p; - } - return _impl_.connect_request_; -} -inline ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* CMsgSteamNetworkingP2PRendezvous::mutable_connect_request() { - ::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* _msg = _internal_mutable_connect_request(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.connect_request) - return _msg; -} -inline void CMsgSteamNetworkingP2PRendezvous::set_allocated_connect_request(::CMsgSteamNetworkingP2PRendezvous_ConnectRequest* connect_request) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.connect_request_; - } - if (connect_request) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(connect_request); - if (message_arena != submessage_arena) { - connect_request = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, connect_request, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.connect_request_ = connect_request; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.connect_request) -} - -// optional .CMsgSteamNetworkingP2PRendezvous.ConnectOK connect_ok = 5; -inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_connect_ok() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - PROTOBUF_ASSUME(!value || _impl_.connect_ok_ != nullptr); - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous::has_connect_ok() const { - return _internal_has_connect_ok(); -} -inline void CMsgSteamNetworkingP2PRendezvous::clear_connect_ok() { - if (_impl_.connect_ok_ != nullptr) _impl_.connect_ok_->Clear(); - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline const ::CMsgSteamNetworkingP2PRendezvous_ConnectOK& CMsgSteamNetworkingP2PRendezvous::_internal_connect_ok() const { - const ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* p = _impl_.connect_ok_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamNetworkingP2PRendezvous_ConnectOK_default_instance_); -} -inline const ::CMsgSteamNetworkingP2PRendezvous_ConnectOK& CMsgSteamNetworkingP2PRendezvous::connect_ok() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.connect_ok) - return _internal_connect_ok(); -} -inline void CMsgSteamNetworkingP2PRendezvous::unsafe_arena_set_allocated_connect_ok( - ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* connect_ok) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.connect_ok_); - } - _impl_.connect_ok_ = connect_ok; - if (connect_ok) { - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamNetworkingP2PRendezvous.connect_ok) -} -inline ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* CMsgSteamNetworkingP2PRendezvous::release_connect_ok() { - _impl_._has_bits_[0] &= ~0x00000020u; - ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* temp = _impl_.connect_ok_; - _impl_.connect_ok_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* CMsgSteamNetworkingP2PRendezvous::unsafe_arena_release_connect_ok() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.connect_ok) - _impl_._has_bits_[0] &= ~0x00000020u; - ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* temp = _impl_.connect_ok_; - _impl_.connect_ok_ = nullptr; - return temp; -} -inline ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* CMsgSteamNetworkingP2PRendezvous::_internal_mutable_connect_ok() { - _impl_._has_bits_[0] |= 0x00000020u; - if (_impl_.connect_ok_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamNetworkingP2PRendezvous_ConnectOK>(GetArenaForAllocation()); - _impl_.connect_ok_ = p; - } - return _impl_.connect_ok_; -} -inline ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* CMsgSteamNetworkingP2PRendezvous::mutable_connect_ok() { - ::CMsgSteamNetworkingP2PRendezvous_ConnectOK* _msg = _internal_mutable_connect_ok(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.connect_ok) - return _msg; -} -inline void CMsgSteamNetworkingP2PRendezvous::set_allocated_connect_ok(::CMsgSteamNetworkingP2PRendezvous_ConnectOK* connect_ok) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.connect_ok_; - } - if (connect_ok) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(connect_ok); - if (message_arena != submessage_arena) { - connect_ok = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, connect_ok, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - _impl_.connect_ok_ = connect_ok; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.connect_ok) -} - -// optional .CMsgSteamNetworkingP2PRendezvous.ConnectionClosed connection_closed = 6; -inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_connection_closed() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - PROTOBUF_ASSUME(!value || _impl_.connection_closed_ != nullptr); - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous::has_connection_closed() const { - return _internal_has_connection_closed(); -} -inline void CMsgSteamNetworkingP2PRendezvous::clear_connection_closed() { - if (_impl_.connection_closed_ != nullptr) _impl_.connection_closed_->Clear(); - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline const ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& CMsgSteamNetworkingP2PRendezvous::_internal_connection_closed() const { - const ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* p = _impl_.connection_closed_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamNetworkingP2PRendezvous_ConnectionClosed_default_instance_); -} -inline const ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed& CMsgSteamNetworkingP2PRendezvous::connection_closed() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.connection_closed) - return _internal_connection_closed(); -} -inline void CMsgSteamNetworkingP2PRendezvous::unsafe_arena_set_allocated_connection_closed( - ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* connection_closed) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.connection_closed_); - } - _impl_.connection_closed_ = connection_closed; - if (connection_closed) { - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamNetworkingP2PRendezvous.connection_closed) -} -inline ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* CMsgSteamNetworkingP2PRendezvous::release_connection_closed() { - _impl_._has_bits_[0] &= ~0x00000040u; - ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* temp = _impl_.connection_closed_; - _impl_.connection_closed_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* CMsgSteamNetworkingP2PRendezvous::unsafe_arena_release_connection_closed() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingP2PRendezvous.connection_closed) - _impl_._has_bits_[0] &= ~0x00000040u; - ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* temp = _impl_.connection_closed_; - _impl_.connection_closed_ = nullptr; - return temp; -} -inline ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* CMsgSteamNetworkingP2PRendezvous::_internal_mutable_connection_closed() { - _impl_._has_bits_[0] |= 0x00000040u; - if (_impl_.connection_closed_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed>(GetArenaForAllocation()); - _impl_.connection_closed_ = p; - } - return _impl_.connection_closed_; -} -inline ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* CMsgSteamNetworkingP2PRendezvous::mutable_connection_closed() { - ::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* _msg = _internal_mutable_connection_closed(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.connection_closed) - return _msg; -} -inline void CMsgSteamNetworkingP2PRendezvous::set_allocated_connection_closed(::CMsgSteamNetworkingP2PRendezvous_ConnectionClosed* connection_closed) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.connection_closed_; - } - if (connection_closed) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(connection_closed); - if (message_arena != submessage_arena) { - connection_closed = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, connection_closed, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - _impl_.connection_closed_ = connection_closed; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingP2PRendezvous.connection_closed) -} - -// optional uint32 ack_reliable_msg = 11; -inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_ack_reliable_msg() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous::has_ack_reliable_msg() const { - return _internal_has_ack_reliable_msg(); -} -inline void CMsgSteamNetworkingP2PRendezvous::clear_ack_reliable_msg() { - _impl_.ack_reliable_msg_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous::_internal_ack_reliable_msg() const { - return _impl_.ack_reliable_msg_; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous::ack_reliable_msg() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.ack_reliable_msg) - return _internal_ack_reliable_msg(); -} -inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_ack_reliable_msg(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.ack_reliable_msg_ = value; -} -inline void CMsgSteamNetworkingP2PRendezvous::set_ack_reliable_msg(uint32_t value) { - _internal_set_ack_reliable_msg(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.ack_reliable_msg) -} - -// optional uint32 first_reliable_msg = 12; -inline bool CMsgSteamNetworkingP2PRendezvous::_internal_has_first_reliable_msg() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgSteamNetworkingP2PRendezvous::has_first_reliable_msg() const { - return _internal_has_first_reliable_msg(); -} -inline void CMsgSteamNetworkingP2PRendezvous::clear_first_reliable_msg() { - _impl_.first_reliable_msg_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous::_internal_first_reliable_msg() const { - return _impl_.first_reliable_msg_; -} -inline uint32_t CMsgSteamNetworkingP2PRendezvous::first_reliable_msg() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.first_reliable_msg) - return _internal_first_reliable_msg(); -} -inline void CMsgSteamNetworkingP2PRendezvous::_internal_set_first_reliable_msg(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.first_reliable_msg_ = value; -} -inline void CMsgSteamNetworkingP2PRendezvous::set_first_reliable_msg(uint32_t value) { - _internal_set_first_reliable_msg(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingP2PRendezvous.first_reliable_msg) -} - -// repeated .CMsgSteamNetworkingP2PRendezvous.ReliableMessage reliable_messages = 13; -inline int CMsgSteamNetworkingP2PRendezvous::_internal_reliable_messages_size() const { - return _impl_.reliable_messages_.size(); -} -inline int CMsgSteamNetworkingP2PRendezvous::reliable_messages_size() const { - return _internal_reliable_messages_size(); -} -inline void CMsgSteamNetworkingP2PRendezvous::clear_reliable_messages() { - _impl_.reliable_messages_.Clear(); -} -inline ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage* CMsgSteamNetworkingP2PRendezvous::mutable_reliable_messages(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.reliable_messages) - return _impl_.reliable_messages_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage >* -CMsgSteamNetworkingP2PRendezvous::mutable_reliable_messages() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamNetworkingP2PRendezvous.reliable_messages) - return &_impl_.reliable_messages_; -} -inline const ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage& CMsgSteamNetworkingP2PRendezvous::_internal_reliable_messages(int index) const { - return _impl_.reliable_messages_.Get(index); -} -inline const ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage& CMsgSteamNetworkingP2PRendezvous::reliable_messages(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.reliable_messages) - return _internal_reliable_messages(index); -} -inline ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage* CMsgSteamNetworkingP2PRendezvous::_internal_add_reliable_messages() { - return _impl_.reliable_messages_.Add(); -} -inline ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage* CMsgSteamNetworkingP2PRendezvous::add_reliable_messages() { - ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage* _add = _internal_add_reliable_messages(); - // @@protoc_insertion_point(field_add:CMsgSteamNetworkingP2PRendezvous.reliable_messages) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ReliableMessage >& -CMsgSteamNetworkingP2PRendezvous::reliable_messages() const { - // @@protoc_insertion_point(field_list:CMsgSteamNetworkingP2PRendezvous.reliable_messages) - return _impl_.reliable_messages_; -} - -// repeated .CMsgSteamNetworkingP2PRendezvous.ApplicationMessage application_messages = 15; -inline int CMsgSteamNetworkingP2PRendezvous::_internal_application_messages_size() const { - return _impl_.application_messages_.size(); -} -inline int CMsgSteamNetworkingP2PRendezvous::application_messages_size() const { - return _internal_application_messages_size(); -} -inline void CMsgSteamNetworkingP2PRendezvous::clear_application_messages() { - _impl_.application_messages_.Clear(); -} -inline ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* CMsgSteamNetworkingP2PRendezvous::mutable_application_messages(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingP2PRendezvous.application_messages) - return _impl_.application_messages_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage >* -CMsgSteamNetworkingP2PRendezvous::mutable_application_messages() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamNetworkingP2PRendezvous.application_messages) - return &_impl_.application_messages_; -} -inline const ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& CMsgSteamNetworkingP2PRendezvous::_internal_application_messages(int index) const { - return _impl_.application_messages_.Get(index); -} -inline const ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage& CMsgSteamNetworkingP2PRendezvous::application_messages(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingP2PRendezvous.application_messages) - return _internal_application_messages(index); -} -inline ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* CMsgSteamNetworkingP2PRendezvous::_internal_add_application_messages() { - return _impl_.application_messages_.Add(); -} -inline ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* CMsgSteamNetworkingP2PRendezvous::add_application_messages() { - ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage* _add = _internal_add_application_messages(); - // @@protoc_insertion_point(field_add:CMsgSteamNetworkingP2PRendezvous.application_messages) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CMsgSteamNetworkingP2PRendezvous_ApplicationMessage >& -CMsgSteamNetworkingP2PRendezvous::application_messages() const { - // @@protoc_insertion_point(field_list:CMsgSteamNetworkingP2PRendezvous.application_messages) - return _impl_.application_messages_; -} - -// ------------------------------------------------------------------- - -// CMsgSteamNetworkingICESessionSummary - -// optional uint32 failure_reason_code = 7; -inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_failure_reason_code() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamNetworkingICESessionSummary::has_failure_reason_code() const { - return _internal_has_failure_reason_code(); -} -inline void CMsgSteamNetworkingICESessionSummary::clear_failure_reason_code() { - _impl_.failure_reason_code_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_failure_reason_code() const { - return _impl_.failure_reason_code_; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::failure_reason_code() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.failure_reason_code) - return _internal_failure_reason_code(); -} -inline void CMsgSteamNetworkingICESessionSummary::_internal_set_failure_reason_code(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.failure_reason_code_ = value; -} -inline void CMsgSteamNetworkingICESessionSummary::set_failure_reason_code(uint32_t value) { - _internal_set_failure_reason_code(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.failure_reason_code) -} - -// optional uint32 local_candidate_types = 1; -inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_local_candidate_types() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamNetworkingICESessionSummary::has_local_candidate_types() const { - return _internal_has_local_candidate_types(); -} -inline void CMsgSteamNetworkingICESessionSummary::clear_local_candidate_types() { - _impl_.local_candidate_types_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_local_candidate_types() const { - return _impl_.local_candidate_types_; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::local_candidate_types() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.local_candidate_types) - return _internal_local_candidate_types(); -} -inline void CMsgSteamNetworkingICESessionSummary::_internal_set_local_candidate_types(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.local_candidate_types_ = value; -} -inline void CMsgSteamNetworkingICESessionSummary::set_local_candidate_types(uint32_t value) { - _internal_set_local_candidate_types(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.local_candidate_types) -} - -// optional uint32 remote_candidate_types = 2; -inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_remote_candidate_types() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamNetworkingICESessionSummary::has_remote_candidate_types() const { - return _internal_has_remote_candidate_types(); -} -inline void CMsgSteamNetworkingICESessionSummary::clear_remote_candidate_types() { - _impl_.remote_candidate_types_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_remote_candidate_types() const { - return _impl_.remote_candidate_types_; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::remote_candidate_types() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.remote_candidate_types) - return _internal_remote_candidate_types(); -} -inline void CMsgSteamNetworkingICESessionSummary::_internal_set_remote_candidate_types(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.remote_candidate_types_ = value; -} -inline void CMsgSteamNetworkingICESessionSummary::set_remote_candidate_types(uint32_t value) { - _internal_set_remote_candidate_types(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.remote_candidate_types) -} - -// optional uint32 initial_route_kind = 3; -inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_initial_route_kind() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamNetworkingICESessionSummary::has_initial_route_kind() const { - return _internal_has_initial_route_kind(); -} -inline void CMsgSteamNetworkingICESessionSummary::clear_initial_route_kind() { - _impl_.initial_route_kind_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_initial_route_kind() const { - return _impl_.initial_route_kind_; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::initial_route_kind() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.initial_route_kind) - return _internal_initial_route_kind(); -} -inline void CMsgSteamNetworkingICESessionSummary::_internal_set_initial_route_kind(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.initial_route_kind_ = value; -} -inline void CMsgSteamNetworkingICESessionSummary::set_initial_route_kind(uint32_t value) { - _internal_set_initial_route_kind(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.initial_route_kind) -} - -// optional uint32 initial_ping = 4; -inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_initial_ping() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamNetworkingICESessionSummary::has_initial_ping() const { - return _internal_has_initial_ping(); -} -inline void CMsgSteamNetworkingICESessionSummary::clear_initial_ping() { - _impl_.initial_ping_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_initial_ping() const { - return _impl_.initial_ping_; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::initial_ping() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.initial_ping) - return _internal_initial_ping(); -} -inline void CMsgSteamNetworkingICESessionSummary::_internal_set_initial_ping(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.initial_ping_ = value; -} -inline void CMsgSteamNetworkingICESessionSummary::set_initial_ping(uint32_t value) { - _internal_set_initial_ping(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.initial_ping) -} - -// optional uint32 initial_score = 6; -inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_initial_score() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamNetworkingICESessionSummary::has_initial_score() const { - return _internal_has_initial_score(); -} -inline void CMsgSteamNetworkingICESessionSummary::clear_initial_score() { - _impl_.initial_score_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_initial_score() const { - return _impl_.initial_score_; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::initial_score() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.initial_score) - return _internal_initial_score(); -} -inline void CMsgSteamNetworkingICESessionSummary::_internal_set_initial_score(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.initial_score_ = value; -} -inline void CMsgSteamNetworkingICESessionSummary::set_initial_score(uint32_t value) { - _internal_set_initial_score(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.initial_score) -} - -// optional uint32 negotiation_ms = 5; -inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_negotiation_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamNetworkingICESessionSummary::has_negotiation_ms() const { - return _internal_has_negotiation_ms(); -} -inline void CMsgSteamNetworkingICESessionSummary::clear_negotiation_ms() { - _impl_.negotiation_ms_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_negotiation_ms() const { - return _impl_.negotiation_ms_; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::negotiation_ms() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.negotiation_ms) - return _internal_negotiation_ms(); -} -inline void CMsgSteamNetworkingICESessionSummary::_internal_set_negotiation_ms(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.negotiation_ms_ = value; -} -inline void CMsgSteamNetworkingICESessionSummary::set_negotiation_ms(uint32_t value) { - _internal_set_negotiation_ms(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.negotiation_ms) -} - -// optional uint32 best_route_kind = 16; -inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_best_route_kind() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgSteamNetworkingICESessionSummary::has_best_route_kind() const { - return _internal_has_best_route_kind(); -} -inline void CMsgSteamNetworkingICESessionSummary::clear_best_route_kind() { - _impl_.best_route_kind_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_best_route_kind() const { - return _impl_.best_route_kind_; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::best_route_kind() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.best_route_kind) - return _internal_best_route_kind(); -} -inline void CMsgSteamNetworkingICESessionSummary::_internal_set_best_route_kind(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.best_route_kind_ = value; -} -inline void CMsgSteamNetworkingICESessionSummary::set_best_route_kind(uint32_t value) { - _internal_set_best_route_kind(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.best_route_kind) -} - -// optional uint32 best_ping = 17; -inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_best_ping() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgSteamNetworkingICESessionSummary::has_best_ping() const { - return _internal_has_best_ping(); -} -inline void CMsgSteamNetworkingICESessionSummary::clear_best_ping() { - _impl_.best_ping_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_best_ping() const { - return _impl_.best_ping_; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::best_ping() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.best_ping) - return _internal_best_ping(); -} -inline void CMsgSteamNetworkingICESessionSummary::_internal_set_best_ping(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.best_ping_ = value; -} -inline void CMsgSteamNetworkingICESessionSummary::set_best_ping(uint32_t value) { - _internal_set_best_ping(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.best_ping) -} - -// optional uint32 best_score = 18; -inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_best_score() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgSteamNetworkingICESessionSummary::has_best_score() const { - return _internal_has_best_score(); -} -inline void CMsgSteamNetworkingICESessionSummary::clear_best_score() { - _impl_.best_score_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_best_score() const { - return _impl_.best_score_; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::best_score() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.best_score) - return _internal_best_score(); -} -inline void CMsgSteamNetworkingICESessionSummary::_internal_set_best_score(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.best_score_ = value; -} -inline void CMsgSteamNetworkingICESessionSummary::set_best_score(uint32_t value) { - _internal_set_best_score(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.best_score) -} - -// optional uint32 best_time = 19; -inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_best_time() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgSteamNetworkingICESessionSummary::has_best_time() const { - return _internal_has_best_time(); -} -inline void CMsgSteamNetworkingICESessionSummary::clear_best_time() { - _impl_.best_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_best_time() const { - return _impl_.best_time_; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::best_time() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.best_time) - return _internal_best_time(); -} -inline void CMsgSteamNetworkingICESessionSummary::_internal_set_best_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.best_time_ = value; -} -inline void CMsgSteamNetworkingICESessionSummary::set_best_time(uint32_t value) { - _internal_set_best_time(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.best_time) -} - -// optional uint32 selected_seconds = 12; -inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_selected_seconds() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamNetworkingICESessionSummary::has_selected_seconds() const { - return _internal_has_selected_seconds(); -} -inline void CMsgSteamNetworkingICESessionSummary::clear_selected_seconds() { - _impl_.selected_seconds_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_selected_seconds() const { - return _impl_.selected_seconds_; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::selected_seconds() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.selected_seconds) - return _internal_selected_seconds(); -} -inline void CMsgSteamNetworkingICESessionSummary::_internal_set_selected_seconds(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.selected_seconds_ = value; -} -inline void CMsgSteamNetworkingICESessionSummary::set_selected_seconds(uint32_t value) { - _internal_set_selected_seconds(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.selected_seconds) -} - -// optional uint32 user_settings = 13; -inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_user_settings() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamNetworkingICESessionSummary::has_user_settings() const { - return _internal_has_user_settings(); -} -inline void CMsgSteamNetworkingICESessionSummary::clear_user_settings() { - _impl_.user_settings_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_user_settings() const { - return _impl_.user_settings_; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::user_settings() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.user_settings) - return _internal_user_settings(); -} -inline void CMsgSteamNetworkingICESessionSummary::_internal_set_user_settings(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.user_settings_ = value; -} -inline void CMsgSteamNetworkingICESessionSummary::set_user_settings(uint32_t value) { - _internal_set_user_settings(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.user_settings) -} - -// optional uint32 ice_enable_var = 14; -inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_ice_enable_var() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamNetworkingICESessionSummary::has_ice_enable_var() const { - return _internal_has_ice_enable_var(); -} -inline void CMsgSteamNetworkingICESessionSummary::clear_ice_enable_var() { - _impl_.ice_enable_var_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_ice_enable_var() const { - return _impl_.ice_enable_var_; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::ice_enable_var() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.ice_enable_var) - return _internal_ice_enable_var(); -} -inline void CMsgSteamNetworkingICESessionSummary::_internal_set_ice_enable_var(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.ice_enable_var_ = value; -} -inline void CMsgSteamNetworkingICESessionSummary::set_ice_enable_var(uint32_t value) { - _internal_set_ice_enable_var(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.ice_enable_var) -} - -// optional uint32 local_candidate_types_allowed = 15; -inline bool CMsgSteamNetworkingICESessionSummary::_internal_has_local_candidate_types_allowed() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgSteamNetworkingICESessionSummary::has_local_candidate_types_allowed() const { - return _internal_has_local_candidate_types_allowed(); -} -inline void CMsgSteamNetworkingICESessionSummary::clear_local_candidate_types_allowed() { - _impl_.local_candidate_types_allowed_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::_internal_local_candidate_types_allowed() const { - return _impl_.local_candidate_types_allowed_; -} -inline uint32_t CMsgSteamNetworkingICESessionSummary::local_candidate_types_allowed() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingICESessionSummary.local_candidate_types_allowed) - return _internal_local_candidate_types_allowed(); -} -inline void CMsgSteamNetworkingICESessionSummary::_internal_set_local_candidate_types_allowed(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.local_candidate_types_allowed_ = value; -} -inline void CMsgSteamNetworkingICESessionSummary::set_local_candidate_types_allowed(uint32_t value) { - _internal_set_local_candidate_types_allowed(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingICESessionSummary.local_candidate_types_allowed) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::CMsgSteamDatagramSessionCryptInfo_EKeyType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramSessionCryptInfo_EKeyType>() { - return ::CMsgSteamDatagramSessionCryptInfo_EKeyType_descriptor(); -} -template <> struct is_proto_enum< ::ESteamNetworkingSocketsCipher> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ESteamNetworkingSocketsCipher>() { - return ::ESteamNetworkingSocketsCipher_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steamnetworkingsockets_5fmessages_2eproto diff --git a/protobuf/generated/steamnetworkingsockets_messages_certs.pb.cc b/protobuf/generated/steamnetworkingsockets_messages_certs.pb.cc deleted file mode 100644 index f85e79f0e..000000000 --- a/protobuf/generated/steamnetworkingsockets_messages_certs.pb.cc +++ /dev/null @@ -1,1742 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steamnetworkingsockets_messages_certs.proto - -#include "steamnetworkingsockets_messages_certs.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CMsgSteamNetworkingIdentityLegacyBinary::CMsgSteamNetworkingIdentityLegacyBinary( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.generic_bytes_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.generic_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ipv6_and_port_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.steam_id_)*/uint64_t{0u}} {} -struct CMsgSteamNetworkingIdentityLegacyBinaryDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamNetworkingIdentityLegacyBinaryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamNetworkingIdentityLegacyBinaryDefaultTypeInternal() {} - union { - CMsgSteamNetworkingIdentityLegacyBinary _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamNetworkingIdentityLegacyBinaryDefaultTypeInternal _CMsgSteamNetworkingIdentityLegacyBinary_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramCertificate::CMsgSteamDatagramCertificate( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.gameserver_datacenter_ids_)*/{} - , /*decltype(_impl_.app_ids_)*/{} - , /*decltype(_impl_.ip_addresses_)*/{} - , /*decltype(_impl_.key_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.legacy_identity_binary_)*/nullptr - , /*decltype(_impl_.legacy_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.key_type_)*/0 - , /*decltype(_impl_.time_created_)*/0u - , /*decltype(_impl_.time_expiry_)*/0u} {} -struct CMsgSteamDatagramCertificateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramCertificateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramCertificateDefaultTypeInternal() {} - union { - CMsgSteamDatagramCertificate _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramCertificateDefaultTypeInternal _CMsgSteamDatagramCertificate_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramCertificateSigned::CMsgSteamDatagramCertificateSigned( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.private_key_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.cert_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ca_signature_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ca_key_id_)*/uint64_t{0u}} {} -struct CMsgSteamDatagramCertificateSignedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramCertificateSignedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramCertificateSignedDefaultTypeInternal() {} - union { - CMsgSteamDatagramCertificateSigned _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramCertificateSignedDefaultTypeInternal _CMsgSteamDatagramCertificateSigned_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamDatagramCertificateRequest::CMsgSteamDatagramCertificateRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.cert_)*/nullptr} {} -struct CMsgSteamDatagramCertificateRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamDatagramCertificateRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamDatagramCertificateRequestDefaultTypeInternal() {} - union { - CMsgSteamDatagramCertificateRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamDatagramCertificateRequestDefaultTypeInternal _CMsgSteamDatagramCertificateRequest_default_instance_; -static ::_pb::Metadata file_level_metadata_steamnetworkingsockets_5fmessages_5fcerts_2eproto[4]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_steamnetworkingsockets_5fmessages_5fcerts_2eproto[1]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steamnetworkingsockets_5fmessages_5fcerts_2eproto = nullptr; - -const uint32_t TableStruct_steamnetworkingsockets_5fmessages_5fcerts_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIdentityLegacyBinary, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIdentityLegacyBinary, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIdentityLegacyBinary, _impl_.steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIdentityLegacyBinary, _impl_.generic_bytes_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIdentityLegacyBinary, _impl_.generic_string_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamNetworkingIdentityLegacyBinary, _impl_.ipv6_and_port_), - 3, - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.key_type_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.key_data_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.legacy_steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.legacy_identity_binary_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.identity_string_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.gameserver_datacenter_ids_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.time_created_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.time_expiry_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.app_ids_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificate, _impl_.ip_addresses_), - 4, - 0, - 3, - 2, - 1, - ~0u, - 5, - 6, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificateSigned, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificateSigned, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificateSigned, _impl_.cert_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificateSigned, _impl_.ca_key_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificateSigned, _impl_.ca_signature_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificateSigned, _impl_.private_key_data_), - 1, - 3, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificateRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamDatagramCertificateRequest, _impl_.cert_), - 0, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 10, -1, sizeof(::CMsgSteamNetworkingIdentityLegacyBinary)}, - { 14, 30, -1, sizeof(::CMsgSteamDatagramCertificate)}, - { 40, 50, -1, sizeof(::CMsgSteamDatagramCertificateSigned)}, - { 54, 61, -1, sizeof(::CMsgSteamDatagramCertificateRequest)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CMsgSteamNetworkingIdentityLegacyBinary_default_instance_._instance, - &::_CMsgSteamDatagramCertificate_default_instance_._instance, - &::_CMsgSteamDatagramCertificateSigned_default_instance_._instance, - &::_CMsgSteamDatagramCertificateRequest_default_instance_._instance, -}; - -const char descriptor_table_protodef_steamnetworkingsockets_5fmessages_5fcerts_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n+steamnetworkingsockets_messages_certs." - "proto\"\201\001\n\'CMsgSteamNetworkingIdentityLeg" - "acyBinary\022\020\n\010steam_id\030\020 \001(\006\022\025\n\rgeneric_b" - "ytes\030\002 \001(\014\022\026\n\016generic_string\030\003 \001(\t\022\025\n\rip" - "v6_and_port\030\004 \001(\014\"\212\003\n\034CMsgSteamDatagramC" - "ertificate\022A\n\010key_type\030\001 \001(\0162&.CMsgSteam" - "DatagramCertificate.EKeyType:\007INVALID\022\020\n" - "\010key_data\030\002 \001(\014\022\027\n\017legacy_steam_id\030\004 \001(\006" - "\022H\n\026legacy_identity_binary\030\013 \001(\0132(.CMsgS" - "teamNetworkingIdentityLegacyBinary\022\027\n\017id" - "entity_string\030\014 \001(\t\022!\n\031gameserver_datace" - "nter_ids\030\005 \003(\007\022\024\n\014time_created\030\010 \001(\007\022\023\n\013" - "time_expiry\030\t \001(\007\022\017\n\007app_ids\030\n \003(\r\022\024\n\014ip" - "_addresses\030\r \003(\t\"$\n\010EKeyType\022\013\n\007INVALID\020" - "\000\022\013\n\007ED25519\020\001\"u\n\"CMsgSteamDatagramCerti" - "ficateSigned\022\014\n\004cert\030\004 \001(\014\022\021\n\tca_key_id\030" - "\005 \001(\006\022\024\n\014ca_signature\030\006 \001(\014\022\030\n\020private_k" - "ey_data\030\001 \001(\014\"R\n#CMsgSteamDatagramCertif" - "icateRequest\022+\n\004cert\030\001 \001(\0132\035.CMsgSteamDa" - "tagramCertificateB\005H\001\200\001\000" - ; -static ::_pbi::once_flag descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto = { - false, false, 784, descriptor_table_protodef_steamnetworkingsockets_5fmessages_5fcerts_2eproto, - "steamnetworkingsockets_messages_certs.proto", - &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_once, nullptr, 0, 4, - schemas, file_default_instances, TableStruct_steamnetworkingsockets_5fmessages_5fcerts_2eproto::offsets, - file_level_metadata_steamnetworkingsockets_5fmessages_5fcerts_2eproto, file_level_enum_descriptors_steamnetworkingsockets_5fmessages_5fcerts_2eproto, - file_level_service_descriptors_steamnetworkingsockets_5fmessages_5fcerts_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_getter() { - return &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steamnetworkingsockets_5fmessages_5fcerts_2eproto(&descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramCertificate_EKeyType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto); - return file_level_enum_descriptors_steamnetworkingsockets_5fmessages_5fcerts_2eproto[0]; -} -bool CMsgSteamDatagramCertificate_EKeyType_IsValid(int value) { - switch (value) { - case 0: - case 1: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr CMsgSteamDatagramCertificate_EKeyType CMsgSteamDatagramCertificate::INVALID; -constexpr CMsgSteamDatagramCertificate_EKeyType CMsgSteamDatagramCertificate::ED25519; -constexpr CMsgSteamDatagramCertificate_EKeyType CMsgSteamDatagramCertificate::EKeyType_MIN; -constexpr CMsgSteamDatagramCertificate_EKeyType CMsgSteamDatagramCertificate::EKeyType_MAX; -constexpr int CMsgSteamDatagramCertificate::EKeyType_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) - -// =================================================================== - -class CMsgSteamNetworkingIdentityLegacyBinary::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_generic_bytes(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_generic_string(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_ipv6_and_port(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgSteamNetworkingIdentityLegacyBinary::CMsgSteamNetworkingIdentityLegacyBinary(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamNetworkingIdentityLegacyBinary) -} -CMsgSteamNetworkingIdentityLegacyBinary::CMsgSteamNetworkingIdentityLegacyBinary(const CMsgSteamNetworkingIdentityLegacyBinary& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamNetworkingIdentityLegacyBinary* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.generic_bytes_){} - , decltype(_impl_.generic_string_){} - , decltype(_impl_.ipv6_and_port_){} - , decltype(_impl_.steam_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.generic_bytes_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.generic_bytes_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_generic_bytes()) { - _this->_impl_.generic_bytes_.Set(from._internal_generic_bytes(), - _this->GetArenaForAllocation()); - } - _impl_.generic_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.generic_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_generic_string()) { - _this->_impl_.generic_string_.Set(from._internal_generic_string(), - _this->GetArenaForAllocation()); - } - _impl_.ipv6_and_port_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ipv6_and_port_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_ipv6_and_port()) { - _this->_impl_.ipv6_and_port_.Set(from._internal_ipv6_and_port(), - _this->GetArenaForAllocation()); - } - _this->_impl_.steam_id_ = from._impl_.steam_id_; - // @@protoc_insertion_point(copy_constructor:CMsgSteamNetworkingIdentityLegacyBinary) -} - -inline void CMsgSteamNetworkingIdentityLegacyBinary::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.generic_bytes_){} - , decltype(_impl_.generic_string_){} - , decltype(_impl_.ipv6_and_port_){} - , decltype(_impl_.steam_id_){uint64_t{0u}} - }; - _impl_.generic_bytes_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.generic_bytes_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.generic_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.generic_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ipv6_and_port_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ipv6_and_port_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamNetworkingIdentityLegacyBinary::~CMsgSteamNetworkingIdentityLegacyBinary() { - // @@protoc_insertion_point(destructor:CMsgSteamNetworkingIdentityLegacyBinary) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamNetworkingIdentityLegacyBinary::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.generic_bytes_.Destroy(); - _impl_.generic_string_.Destroy(); - _impl_.ipv6_and_port_.Destroy(); -} - -void CMsgSteamNetworkingIdentityLegacyBinary::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamNetworkingIdentityLegacyBinary::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamNetworkingIdentityLegacyBinary) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.generic_bytes_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.generic_string_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.ipv6_and_port_.ClearNonDefaultToEmpty(); - } - } - _impl_.steam_id_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamNetworkingIdentityLegacyBinary::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes generic_bytes = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_generic_bytes(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string generic_string = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_generic_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamNetworkingIdentityLegacyBinary.generic_string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bytes ipv6_and_port = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_ipv6_and_port(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 steam_id = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 129)) { - _Internal::set_has_steam_id(&has_bits); - _impl_.steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamNetworkingIdentityLegacyBinary::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamNetworkingIdentityLegacyBinary) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes generic_bytes = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_generic_bytes(), target); - } - - // optional string generic_string = 3; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_generic_string().data(), static_cast(this->_internal_generic_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamNetworkingIdentityLegacyBinary.generic_string"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_generic_string(), target); - } - - // optional bytes ipv6_and_port = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->WriteBytesMaybeAliased( - 4, this->_internal_ipv6_and_port(), target); - } - - // optional fixed64 steam_id = 16; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(16, this->_internal_steam_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamNetworkingIdentityLegacyBinary) - return target; -} - -size_t CMsgSteamNetworkingIdentityLegacyBinary::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamNetworkingIdentityLegacyBinary) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional bytes generic_bytes = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_generic_bytes()); - } - - // optional string generic_string = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_generic_string()); - } - - // optional bytes ipv6_and_port = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_ipv6_and_port()); - } - - // optional fixed64 steam_id = 16; - if (cached_has_bits & 0x00000008u) { - total_size += 2 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamNetworkingIdentityLegacyBinary::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamNetworkingIdentityLegacyBinary::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamNetworkingIdentityLegacyBinary::GetClassData() const { return &_class_data_; } - - -void CMsgSteamNetworkingIdentityLegacyBinary::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamNetworkingIdentityLegacyBinary) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_generic_bytes(from._internal_generic_bytes()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_generic_string(from._internal_generic_string()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_ipv6_and_port(from._internal_ipv6_and_port()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.steam_id_ = from._impl_.steam_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamNetworkingIdentityLegacyBinary::CopyFrom(const CMsgSteamNetworkingIdentityLegacyBinary& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamNetworkingIdentityLegacyBinary) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamNetworkingIdentityLegacyBinary::IsInitialized() const { - return true; -} - -void CMsgSteamNetworkingIdentityLegacyBinary::InternalSwap(CMsgSteamNetworkingIdentityLegacyBinary* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.generic_bytes_, lhs_arena, - &other->_impl_.generic_bytes_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.generic_string_, lhs_arena, - &other->_impl_.generic_string_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.ipv6_and_port_, lhs_arena, - &other->_impl_.ipv6_and_port_, rhs_arena - ); - swap(_impl_.steam_id_, other->_impl_.steam_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamNetworkingIdentityLegacyBinary::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_5fcerts_2eproto[0]); -} - -// =================================================================== - -class CMsgSteamDatagramCertificate::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_key_type(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_key_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_legacy_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CMsgSteamNetworkingIdentityLegacyBinary& legacy_identity_binary(const CMsgSteamDatagramCertificate* msg); - static void set_has_legacy_identity_binary(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_identity_string(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_time_created(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_time_expiry(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } -}; - -const ::CMsgSteamNetworkingIdentityLegacyBinary& -CMsgSteamDatagramCertificate::_Internal::legacy_identity_binary(const CMsgSteamDatagramCertificate* msg) { - return *msg->_impl_.legacy_identity_binary_; -} -CMsgSteamDatagramCertificate::CMsgSteamDatagramCertificate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramCertificate) -} -CMsgSteamDatagramCertificate::CMsgSteamDatagramCertificate(const CMsgSteamDatagramCertificate& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramCertificate* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gameserver_datacenter_ids_){from._impl_.gameserver_datacenter_ids_} - , decltype(_impl_.app_ids_){from._impl_.app_ids_} - , decltype(_impl_.ip_addresses_){from._impl_.ip_addresses_} - , decltype(_impl_.key_data_){} - , decltype(_impl_.identity_string_){} - , decltype(_impl_.legacy_identity_binary_){nullptr} - , decltype(_impl_.legacy_steam_id_){} - , decltype(_impl_.key_type_){} - , decltype(_impl_.time_created_){} - , decltype(_impl_.time_expiry_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.key_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.key_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_key_data()) { - _this->_impl_.key_data_.Set(from._internal_key_data(), - _this->GetArenaForAllocation()); - } - _impl_.identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_identity_string()) { - _this->_impl_.identity_string_.Set(from._internal_identity_string(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_legacy_identity_binary()) { - _this->_impl_.legacy_identity_binary_ = new ::CMsgSteamNetworkingIdentityLegacyBinary(*from._impl_.legacy_identity_binary_); - } - ::memcpy(&_impl_.legacy_steam_id_, &from._impl_.legacy_steam_id_, - static_cast(reinterpret_cast(&_impl_.time_expiry_) - - reinterpret_cast(&_impl_.legacy_steam_id_)) + sizeof(_impl_.time_expiry_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramCertificate) -} - -inline void CMsgSteamDatagramCertificate::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gameserver_datacenter_ids_){arena} - , decltype(_impl_.app_ids_){arena} - , decltype(_impl_.ip_addresses_){arena} - , decltype(_impl_.key_data_){} - , decltype(_impl_.identity_string_){} - , decltype(_impl_.legacy_identity_binary_){nullptr} - , decltype(_impl_.legacy_steam_id_){uint64_t{0u}} - , decltype(_impl_.key_type_){0} - , decltype(_impl_.time_created_){0u} - , decltype(_impl_.time_expiry_){0u} - }; - _impl_.key_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.key_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramCertificate::~CMsgSteamDatagramCertificate() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramCertificate) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramCertificate::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.gameserver_datacenter_ids_.~RepeatedField(); - _impl_.app_ids_.~RepeatedField(); - _impl_.ip_addresses_.~RepeatedPtrField(); - _impl_.key_data_.Destroy(); - _impl_.identity_string_.Destroy(); - if (this != internal_default_instance()) delete _impl_.legacy_identity_binary_; -} - -void CMsgSteamDatagramCertificate::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramCertificate::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramCertificate) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.gameserver_datacenter_ids_.Clear(); - _impl_.app_ids_.Clear(); - _impl_.ip_addresses_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.key_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.identity_string_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.legacy_identity_binary_ != nullptr); - _impl_.legacy_identity_binary_->Clear(); - } - } - if (cached_has_bits & 0x00000078u) { - ::memset(&_impl_.legacy_steam_id_, 0, static_cast( - reinterpret_cast(&_impl_.time_expiry_) - - reinterpret_cast(&_impl_.legacy_steam_id_)) + sizeof(_impl_.time_expiry_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramCertificate::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSteamDatagramCertificate.EKeyType key_type = 1 [default = INVALID]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::CMsgSteamDatagramCertificate_EKeyType_IsValid(val))) { - _internal_set_key_type(static_cast<::CMsgSteamDatagramCertificate_EKeyType>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional bytes key_data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_key_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 legacy_steam_id = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 33)) { - _Internal::set_has_legacy_steam_id(&has_bits); - _impl_.legacy_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // repeated fixed32 gameserver_datacenter_ids = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_gameserver_datacenter_ids(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(uint32_t); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<45>(ptr)); - } else if (static_cast(tag) == 42) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFixed32Parser(_internal_mutable_gameserver_datacenter_ids(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 time_created = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { - _Internal::set_has_time_created(&has_bits); - _impl_.time_created_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 time_expiry = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_time_expiry(&has_bits); - _impl_.time_expiry_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // repeated uint32 app_ids = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_app_ids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<80>(ptr)); - } else if (static_cast(tag) == 82) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_app_ids(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr = ctx->ParseMessage(_internal_mutable_legacy_identity_binary(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string identity_string = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - auto str = _internal_mutable_identity_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramCertificate.identity_string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated string ip_addresses = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_ip_addresses(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamDatagramCertificate.ip_addresses"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<106>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramCertificate::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramCertificate) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSteamDatagramCertificate.EKeyType key_type = 1 [default = INVALID]; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_key_type(), target); - } - - // optional bytes key_data = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_key_data(), target); - } - - // optional fixed64 legacy_steam_id = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(4, this->_internal_legacy_steam_id(), target); - } - - // repeated fixed32 gameserver_datacenter_ids = 5; - for (int i = 0, n = this->_internal_gameserver_datacenter_ids_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_gameserver_datacenter_ids(i), target); - } - - // optional fixed32 time_created = 8; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(8, this->_internal_time_created(), target); - } - - // optional fixed32 time_expiry = 9; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(9, this->_internal_time_expiry(), target); - } - - // repeated uint32 app_ids = 10; - for (int i = 0, n = this->_internal_app_ids_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_app_ids(i), target); - } - - // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 11; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(11, _Internal::legacy_identity_binary(this), - _Internal::legacy_identity_binary(this).GetCachedSize(), target, stream); - } - - // optional string identity_string = 12; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_identity_string().data(), static_cast(this->_internal_identity_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramCertificate.identity_string"); - target = stream->WriteStringMaybeAliased( - 12, this->_internal_identity_string(), target); - } - - // repeated string ip_addresses = 13; - for (int i = 0, n = this->_internal_ip_addresses_size(); i < n; i++) { - const auto& s = this->_internal_ip_addresses(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamDatagramCertificate.ip_addresses"); - target = stream->WriteString(13, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramCertificate) - return target; -} - -size_t CMsgSteamDatagramCertificate::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramCertificate) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated fixed32 gameserver_datacenter_ids = 5; - { - unsigned int count = static_cast(this->_internal_gameserver_datacenter_ids_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_gameserver_datacenter_ids_size()); - total_size += data_size; - } - - // repeated uint32 app_ids = 10; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.app_ids_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_app_ids_size()); - total_size += data_size; - } - - // repeated string ip_addresses = 13; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.ip_addresses_.size()); - for (int i = 0, n = _impl_.ip_addresses_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.ip_addresses_.Get(i)); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional bytes key_data = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_key_data()); - } - - // optional string identity_string = 12; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_identity_string()); - } - - // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 11; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.legacy_identity_binary_); - } - - // optional fixed64 legacy_steam_id = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 8; - } - - // optional .CMsgSteamDatagramCertificate.EKeyType key_type = 1 [default = INVALID]; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_key_type()); - } - - // optional fixed32 time_created = 8; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional fixed32 time_expiry = 9; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramCertificate::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramCertificate::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramCertificate::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramCertificate::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramCertificate) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.gameserver_datacenter_ids_.MergeFrom(from._impl_.gameserver_datacenter_ids_); - _this->_impl_.app_ids_.MergeFrom(from._impl_.app_ids_); - _this->_impl_.ip_addresses_.MergeFrom(from._impl_.ip_addresses_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_key_data(from._internal_key_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_identity_string(from._internal_identity_string()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_legacy_identity_binary()->::CMsgSteamNetworkingIdentityLegacyBinary::MergeFrom( - from._internal_legacy_identity_binary()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.legacy_steam_id_ = from._impl_.legacy_steam_id_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.key_type_ = from._impl_.key_type_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.time_created_ = from._impl_.time_created_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.time_expiry_ = from._impl_.time_expiry_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramCertificate::CopyFrom(const CMsgSteamDatagramCertificate& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramCertificate) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramCertificate::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramCertificate::InternalSwap(CMsgSteamDatagramCertificate* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.gameserver_datacenter_ids_.InternalSwap(&other->_impl_.gameserver_datacenter_ids_); - _impl_.app_ids_.InternalSwap(&other->_impl_.app_ids_); - _impl_.ip_addresses_.InternalSwap(&other->_impl_.ip_addresses_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.key_data_, lhs_arena, - &other->_impl_.key_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.identity_string_, lhs_arena, - &other->_impl_.identity_string_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramCertificate, _impl_.time_expiry_) - + sizeof(CMsgSteamDatagramCertificate::_impl_.time_expiry_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamDatagramCertificate, _impl_.legacy_identity_binary_)>( - reinterpret_cast(&_impl_.legacy_identity_binary_), - reinterpret_cast(&other->_impl_.legacy_identity_binary_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramCertificate::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_5fcerts_2eproto[1]); -} - -// =================================================================== - -class CMsgSteamDatagramCertificateSigned::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_cert(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_ca_key_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_ca_signature(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_private_key_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CMsgSteamDatagramCertificateSigned::CMsgSteamDatagramCertificateSigned(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramCertificateSigned) -} -CMsgSteamDatagramCertificateSigned::CMsgSteamDatagramCertificateSigned(const CMsgSteamDatagramCertificateSigned& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramCertificateSigned* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.private_key_data_){} - , decltype(_impl_.cert_){} - , decltype(_impl_.ca_signature_){} - , decltype(_impl_.ca_key_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.private_key_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.private_key_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_private_key_data()) { - _this->_impl_.private_key_data_.Set(from._internal_private_key_data(), - _this->GetArenaForAllocation()); - } - _impl_.cert_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cert_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_cert()) { - _this->_impl_.cert_.Set(from._internal_cert(), - _this->GetArenaForAllocation()); - } - _impl_.ca_signature_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ca_signature_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_ca_signature()) { - _this->_impl_.ca_signature_.Set(from._internal_ca_signature(), - _this->GetArenaForAllocation()); - } - _this->_impl_.ca_key_id_ = from._impl_.ca_key_id_; - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramCertificateSigned) -} - -inline void CMsgSteamDatagramCertificateSigned::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.private_key_data_){} - , decltype(_impl_.cert_){} - , decltype(_impl_.ca_signature_){} - , decltype(_impl_.ca_key_id_){uint64_t{0u}} - }; - _impl_.private_key_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.private_key_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cert_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.cert_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ca_signature_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.ca_signature_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamDatagramCertificateSigned::~CMsgSteamDatagramCertificateSigned() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramCertificateSigned) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramCertificateSigned::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.private_key_data_.Destroy(); - _impl_.cert_.Destroy(); - _impl_.ca_signature_.Destroy(); -} - -void CMsgSteamDatagramCertificateSigned::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramCertificateSigned::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramCertificateSigned) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.private_key_data_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.cert_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.ca_signature_.ClearNonDefaultToEmpty(); - } - } - _impl_.ca_key_id_ = uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramCertificateSigned::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes private_key_data = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_private_key_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes cert = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_cert(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 ca_key_id = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 41)) { - _Internal::set_has_ca_key_id(&has_bits); - _impl_.ca_key_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional bytes ca_signature = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_ca_signature(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramCertificateSigned::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramCertificateSigned) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes private_key_data = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_private_key_data(), target); - } - - // optional bytes cert = 4; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 4, this->_internal_cert(), target); - } - - // optional fixed64 ca_key_id = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(5, this->_internal_ca_key_id(), target); - } - - // optional bytes ca_signature = 6; - if (cached_has_bits & 0x00000004u) { - target = stream->WriteBytesMaybeAliased( - 6, this->_internal_ca_signature(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramCertificateSigned) - return target; -} - -size_t CMsgSteamDatagramCertificateSigned::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramCertificateSigned) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional bytes private_key_data = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_private_key_data()); - } - - // optional bytes cert = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_cert()); - } - - // optional bytes ca_signature = 6; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_ca_signature()); - } - - // optional fixed64 ca_key_id = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramCertificateSigned::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramCertificateSigned::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramCertificateSigned::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramCertificateSigned::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramCertificateSigned) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_private_key_data(from._internal_private_key_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_cert(from._internal_cert()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_ca_signature(from._internal_ca_signature()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.ca_key_id_ = from._impl_.ca_key_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramCertificateSigned::CopyFrom(const CMsgSteamDatagramCertificateSigned& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramCertificateSigned) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramCertificateSigned::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramCertificateSigned::InternalSwap(CMsgSteamDatagramCertificateSigned* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.private_key_data_, lhs_arena, - &other->_impl_.private_key_data_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.cert_, lhs_arena, - &other->_impl_.cert_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.ca_signature_, lhs_arena, - &other->_impl_.ca_signature_, rhs_arena - ); - swap(_impl_.ca_key_id_, other->_impl_.ca_key_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramCertificateSigned::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_5fcerts_2eproto[2]); -} - -// =================================================================== - -class CMsgSteamDatagramCertificateRequest::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSteamDatagramCertificate& cert(const CMsgSteamDatagramCertificateRequest* msg); - static void set_has_cert(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgSteamDatagramCertificate& -CMsgSteamDatagramCertificateRequest::_Internal::cert(const CMsgSteamDatagramCertificateRequest* msg) { - return *msg->_impl_.cert_; -} -CMsgSteamDatagramCertificateRequest::CMsgSteamDatagramCertificateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamDatagramCertificateRequest) -} -CMsgSteamDatagramCertificateRequest::CMsgSteamDatagramCertificateRequest(const CMsgSteamDatagramCertificateRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamDatagramCertificateRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cert_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_cert()) { - _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificate(*from._impl_.cert_); - } - // @@protoc_insertion_point(copy_constructor:CMsgSteamDatagramCertificateRequest) -} - -inline void CMsgSteamDatagramCertificateRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.cert_){nullptr} - }; -} - -CMsgSteamDatagramCertificateRequest::~CMsgSteamDatagramCertificateRequest() { - // @@protoc_insertion_point(destructor:CMsgSteamDatagramCertificateRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamDatagramCertificateRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.cert_; -} - -void CMsgSteamDatagramCertificateRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamDatagramCertificateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamDatagramCertificateRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.cert_ != nullptr); - _impl_.cert_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamDatagramCertificateRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSteamDatagramCertificate cert = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamDatagramCertificateRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamDatagramCertificateRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSteamDatagramCertificate cert = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::cert(this), - _Internal::cert(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamDatagramCertificateRequest) - return target; -} - -size_t CMsgSteamDatagramCertificateRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamDatagramCertificateRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CMsgSteamDatagramCertificate cert = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cert_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamDatagramCertificateRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamDatagramCertificateRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamDatagramCertificateRequest::GetClassData() const { return &_class_data_; } - - -void CMsgSteamDatagramCertificateRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamDatagramCertificateRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_cert()) { - _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificate::MergeFrom( - from._internal_cert()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamDatagramCertificateRequest::CopyFrom(const CMsgSteamDatagramCertificateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamDatagramCertificateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamDatagramCertificateRequest::IsInitialized() const { - return true; -} - -void CMsgSteamDatagramCertificateRequest::InternalSwap(CMsgSteamDatagramCertificateRequest* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.cert_, other->_impl_.cert_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamDatagramCertificateRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_5fcerts_2eproto[3]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CMsgSteamNetworkingIdentityLegacyBinary* -Arena::CreateMaybeMessage< ::CMsgSteamNetworkingIdentityLegacyBinary >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamNetworkingIdentityLegacyBinary >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramCertificate* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramCertificate >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramCertificate >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramCertificateSigned* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramCertificateSigned >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramCertificateSigned >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamDatagramCertificateRequest* -Arena::CreateMaybeMessage< ::CMsgSteamDatagramCertificateRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamDatagramCertificateRequest >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/steamnetworkingsockets_messages_certs.pb.h b/protobuf/generated/steamnetworkingsockets_messages_certs.pb.h deleted file mode 100644 index ccd05bc62..000000000 --- a/protobuf/generated/steamnetworkingsockets_messages_certs.pb.h +++ /dev/null @@ -1,2175 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steamnetworkingsockets_messages_certs.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_steamnetworkingsockets_5fmessages_5fcerts_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_steamnetworkingsockets_5fmessages_5fcerts_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_steamnetworkingsockets_5fmessages_5fcerts_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_steamnetworkingsockets_5fmessages_5fcerts_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto; -class CMsgSteamDatagramCertificate; -struct CMsgSteamDatagramCertificateDefaultTypeInternal; -extern CMsgSteamDatagramCertificateDefaultTypeInternal _CMsgSteamDatagramCertificate_default_instance_; -class CMsgSteamDatagramCertificateRequest; -struct CMsgSteamDatagramCertificateRequestDefaultTypeInternal; -extern CMsgSteamDatagramCertificateRequestDefaultTypeInternal _CMsgSteamDatagramCertificateRequest_default_instance_; -class CMsgSteamDatagramCertificateSigned; -struct CMsgSteamDatagramCertificateSignedDefaultTypeInternal; -extern CMsgSteamDatagramCertificateSignedDefaultTypeInternal _CMsgSteamDatagramCertificateSigned_default_instance_; -class CMsgSteamNetworkingIdentityLegacyBinary; -struct CMsgSteamNetworkingIdentityLegacyBinaryDefaultTypeInternal; -extern CMsgSteamNetworkingIdentityLegacyBinaryDefaultTypeInternal _CMsgSteamNetworkingIdentityLegacyBinary_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CMsgSteamDatagramCertificate* Arena::CreateMaybeMessage<::CMsgSteamDatagramCertificate>(Arena*); -template<> ::CMsgSteamDatagramCertificateRequest* Arena::CreateMaybeMessage<::CMsgSteamDatagramCertificateRequest>(Arena*); -template<> ::CMsgSteamDatagramCertificateSigned* Arena::CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(Arena*); -template<> ::CMsgSteamNetworkingIdentityLegacyBinary* Arena::CreateMaybeMessage<::CMsgSteamNetworkingIdentityLegacyBinary>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum CMsgSteamDatagramCertificate_EKeyType : int { - CMsgSteamDatagramCertificate_EKeyType_INVALID = 0, - CMsgSteamDatagramCertificate_EKeyType_ED25519 = 1 -}; -bool CMsgSteamDatagramCertificate_EKeyType_IsValid(int value); -constexpr CMsgSteamDatagramCertificate_EKeyType CMsgSteamDatagramCertificate_EKeyType_EKeyType_MIN = CMsgSteamDatagramCertificate_EKeyType_INVALID; -constexpr CMsgSteamDatagramCertificate_EKeyType CMsgSteamDatagramCertificate_EKeyType_EKeyType_MAX = CMsgSteamDatagramCertificate_EKeyType_ED25519; -constexpr int CMsgSteamDatagramCertificate_EKeyType_EKeyType_ARRAYSIZE = CMsgSteamDatagramCertificate_EKeyType_EKeyType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamDatagramCertificate_EKeyType_descriptor(); -template -inline const std::string& CMsgSteamDatagramCertificate_EKeyType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CMsgSteamDatagramCertificate_EKeyType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CMsgSteamDatagramCertificate_EKeyType_descriptor(), enum_t_value); -} -inline bool CMsgSteamDatagramCertificate_EKeyType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamDatagramCertificate_EKeyType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CMsgSteamDatagramCertificate_EKeyType_descriptor(), name, value); -} -// =================================================================== - -class CMsgSteamNetworkingIdentityLegacyBinary : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamNetworkingIdentityLegacyBinary) */ { - public: - inline CMsgSteamNetworkingIdentityLegacyBinary() : CMsgSteamNetworkingIdentityLegacyBinary(nullptr) {} - ~CMsgSteamNetworkingIdentityLegacyBinary() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamNetworkingIdentityLegacyBinary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamNetworkingIdentityLegacyBinary(const CMsgSteamNetworkingIdentityLegacyBinary& from); - CMsgSteamNetworkingIdentityLegacyBinary(CMsgSteamNetworkingIdentityLegacyBinary&& from) noexcept - : CMsgSteamNetworkingIdentityLegacyBinary() { - *this = ::std::move(from); - } - - inline CMsgSteamNetworkingIdentityLegacyBinary& operator=(const CMsgSteamNetworkingIdentityLegacyBinary& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamNetworkingIdentityLegacyBinary& operator=(CMsgSteamNetworkingIdentityLegacyBinary&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamNetworkingIdentityLegacyBinary& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamNetworkingIdentityLegacyBinary* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamNetworkingIdentityLegacyBinary_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CMsgSteamNetworkingIdentityLegacyBinary& a, CMsgSteamNetworkingIdentityLegacyBinary& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamNetworkingIdentityLegacyBinary* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamNetworkingIdentityLegacyBinary* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamNetworkingIdentityLegacyBinary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamNetworkingIdentityLegacyBinary& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamNetworkingIdentityLegacyBinary& from) { - CMsgSteamNetworkingIdentityLegacyBinary::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamNetworkingIdentityLegacyBinary* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamNetworkingIdentityLegacyBinary"; - } - protected: - explicit CMsgSteamNetworkingIdentityLegacyBinary(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGenericBytesFieldNumber = 2, - kGenericStringFieldNumber = 3, - kIpv6AndPortFieldNumber = 4, - kSteamIdFieldNumber = 16, - }; - // optional bytes generic_bytes = 2; - bool has_generic_bytes() const; - private: - bool _internal_has_generic_bytes() const; - public: - void clear_generic_bytes(); - const std::string& generic_bytes() const; - template - void set_generic_bytes(ArgT0&& arg0, ArgT... args); - std::string* mutable_generic_bytes(); - PROTOBUF_NODISCARD std::string* release_generic_bytes(); - void set_allocated_generic_bytes(std::string* generic_bytes); - private: - const std::string& _internal_generic_bytes() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_generic_bytes(const std::string& value); - std::string* _internal_mutable_generic_bytes(); - public: - - // optional string generic_string = 3; - bool has_generic_string() const; - private: - bool _internal_has_generic_string() const; - public: - void clear_generic_string(); - const std::string& generic_string() const; - template - void set_generic_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_generic_string(); - PROTOBUF_NODISCARD std::string* release_generic_string(); - void set_allocated_generic_string(std::string* generic_string); - private: - const std::string& _internal_generic_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_generic_string(const std::string& value); - std::string* _internal_mutable_generic_string(); - public: - - // optional bytes ipv6_and_port = 4; - bool has_ipv6_and_port() const; - private: - bool _internal_has_ipv6_and_port() const; - public: - void clear_ipv6_and_port(); - const std::string& ipv6_and_port() const; - template - void set_ipv6_and_port(ArgT0&& arg0, ArgT... args); - std::string* mutable_ipv6_and_port(); - PROTOBUF_NODISCARD std::string* release_ipv6_and_port(); - void set_allocated_ipv6_and_port(std::string* ipv6_and_port); - private: - const std::string& _internal_ipv6_and_port() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_ipv6_and_port(const std::string& value); - std::string* _internal_mutable_ipv6_and_port(); - public: - - // optional fixed64 steam_id = 16; - bool has_steam_id() const; - private: - bool _internal_has_steam_id() const; - public: - void clear_steam_id(); - uint64_t steam_id() const; - void set_steam_id(uint64_t value); - private: - uint64_t _internal_steam_id() const; - void _internal_set_steam_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamNetworkingIdentityLegacyBinary) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr generic_bytes_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr generic_string_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ipv6_and_port_; - uint64_t steam_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fcerts_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramCertificate : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramCertificate) */ { - public: - inline CMsgSteamDatagramCertificate() : CMsgSteamDatagramCertificate(nullptr) {} - ~CMsgSteamDatagramCertificate() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramCertificate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramCertificate(const CMsgSteamDatagramCertificate& from); - CMsgSteamDatagramCertificate(CMsgSteamDatagramCertificate&& from) noexcept - : CMsgSteamDatagramCertificate() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramCertificate& operator=(const CMsgSteamDatagramCertificate& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramCertificate& operator=(CMsgSteamDatagramCertificate&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramCertificate& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramCertificate* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramCertificate_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CMsgSteamDatagramCertificate& a, CMsgSteamDatagramCertificate& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramCertificate* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramCertificate* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramCertificate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramCertificate& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramCertificate& from) { - CMsgSteamDatagramCertificate::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramCertificate* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramCertificate"; - } - protected: - explicit CMsgSteamDatagramCertificate(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamDatagramCertificate_EKeyType EKeyType; - static constexpr EKeyType INVALID = - CMsgSteamDatagramCertificate_EKeyType_INVALID; - static constexpr EKeyType ED25519 = - CMsgSteamDatagramCertificate_EKeyType_ED25519; - static inline bool EKeyType_IsValid(int value) { - return CMsgSteamDatagramCertificate_EKeyType_IsValid(value); - } - static constexpr EKeyType EKeyType_MIN = - CMsgSteamDatagramCertificate_EKeyType_EKeyType_MIN; - static constexpr EKeyType EKeyType_MAX = - CMsgSteamDatagramCertificate_EKeyType_EKeyType_MAX; - static constexpr int EKeyType_ARRAYSIZE = - CMsgSteamDatagramCertificate_EKeyType_EKeyType_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - EKeyType_descriptor() { - return CMsgSteamDatagramCertificate_EKeyType_descriptor(); - } - template - static inline const std::string& EKeyType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EKeyType_Name."); - return CMsgSteamDatagramCertificate_EKeyType_Name(enum_t_value); - } - static inline bool EKeyType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - EKeyType* value) { - return CMsgSteamDatagramCertificate_EKeyType_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kGameserverDatacenterIdsFieldNumber = 5, - kAppIdsFieldNumber = 10, - kIpAddressesFieldNumber = 13, - kKeyDataFieldNumber = 2, - kIdentityStringFieldNumber = 12, - kLegacyIdentityBinaryFieldNumber = 11, - kLegacySteamIdFieldNumber = 4, - kKeyTypeFieldNumber = 1, - kTimeCreatedFieldNumber = 8, - kTimeExpiryFieldNumber = 9, - }; - // repeated fixed32 gameserver_datacenter_ids = 5; - int gameserver_datacenter_ids_size() const; - private: - int _internal_gameserver_datacenter_ids_size() const; - public: - void clear_gameserver_datacenter_ids(); - private: - uint32_t _internal_gameserver_datacenter_ids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_gameserver_datacenter_ids() const; - void _internal_add_gameserver_datacenter_ids(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_gameserver_datacenter_ids(); - public: - uint32_t gameserver_datacenter_ids(int index) const; - void set_gameserver_datacenter_ids(int index, uint32_t value); - void add_gameserver_datacenter_ids(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - gameserver_datacenter_ids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_gameserver_datacenter_ids(); - - // repeated uint32 app_ids = 10; - int app_ids_size() const; - private: - int _internal_app_ids_size() const; - public: - void clear_app_ids(); - private: - uint32_t _internal_app_ids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_app_ids() const; - void _internal_add_app_ids(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_app_ids(); - public: - uint32_t app_ids(int index) const; - void set_app_ids(int index, uint32_t value); - void add_app_ids(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - app_ids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_app_ids(); - - // repeated string ip_addresses = 13; - int ip_addresses_size() const; - private: - int _internal_ip_addresses_size() const; - public: - void clear_ip_addresses(); - const std::string& ip_addresses(int index) const; - std::string* mutable_ip_addresses(int index); - void set_ip_addresses(int index, const std::string& value); - void set_ip_addresses(int index, std::string&& value); - void set_ip_addresses(int index, const char* value); - void set_ip_addresses(int index, const char* value, size_t size); - std::string* add_ip_addresses(); - void add_ip_addresses(const std::string& value); - void add_ip_addresses(std::string&& value); - void add_ip_addresses(const char* value); - void add_ip_addresses(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& ip_addresses() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_ip_addresses(); - private: - const std::string& _internal_ip_addresses(int index) const; - std::string* _internal_add_ip_addresses(); - public: - - // optional bytes key_data = 2; - bool has_key_data() const; - private: - bool _internal_has_key_data() const; - public: - void clear_key_data(); - const std::string& key_data() const; - template - void set_key_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_key_data(); - PROTOBUF_NODISCARD std::string* release_key_data(); - void set_allocated_key_data(std::string* key_data); - private: - const std::string& _internal_key_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_key_data(const std::string& value); - std::string* _internal_mutable_key_data(); - public: - - // optional string identity_string = 12; - bool has_identity_string() const; - private: - bool _internal_has_identity_string() const; - public: - void clear_identity_string(); - const std::string& identity_string() const; - template - void set_identity_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_identity_string(); - PROTOBUF_NODISCARD std::string* release_identity_string(); - void set_allocated_identity_string(std::string* identity_string); - private: - const std::string& _internal_identity_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_identity_string(const std::string& value); - std::string* _internal_mutable_identity_string(); - public: - - // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 11; - bool has_legacy_identity_binary() const; - private: - bool _internal_has_legacy_identity_binary() const; - public: - void clear_legacy_identity_binary(); - const ::CMsgSteamNetworkingIdentityLegacyBinary& legacy_identity_binary() const; - PROTOBUF_NODISCARD ::CMsgSteamNetworkingIdentityLegacyBinary* release_legacy_identity_binary(); - ::CMsgSteamNetworkingIdentityLegacyBinary* mutable_legacy_identity_binary(); - void set_allocated_legacy_identity_binary(::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary); - private: - const ::CMsgSteamNetworkingIdentityLegacyBinary& _internal_legacy_identity_binary() const; - ::CMsgSteamNetworkingIdentityLegacyBinary* _internal_mutable_legacy_identity_binary(); - public: - void unsafe_arena_set_allocated_legacy_identity_binary( - ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary); - ::CMsgSteamNetworkingIdentityLegacyBinary* unsafe_arena_release_legacy_identity_binary(); - - // optional fixed64 legacy_steam_id = 4; - bool has_legacy_steam_id() const; - private: - bool _internal_has_legacy_steam_id() const; - public: - void clear_legacy_steam_id(); - uint64_t legacy_steam_id() const; - void set_legacy_steam_id(uint64_t value); - private: - uint64_t _internal_legacy_steam_id() const; - void _internal_set_legacy_steam_id(uint64_t value); - public: - - // optional .CMsgSteamDatagramCertificate.EKeyType key_type = 1 [default = INVALID]; - bool has_key_type() const; - private: - bool _internal_has_key_type() const; - public: - void clear_key_type(); - ::CMsgSteamDatagramCertificate_EKeyType key_type() const; - void set_key_type(::CMsgSteamDatagramCertificate_EKeyType value); - private: - ::CMsgSteamDatagramCertificate_EKeyType _internal_key_type() const; - void _internal_set_key_type(::CMsgSteamDatagramCertificate_EKeyType value); - public: - - // optional fixed32 time_created = 8; - bool has_time_created() const; - private: - bool _internal_has_time_created() const; - public: - void clear_time_created(); - uint32_t time_created() const; - void set_time_created(uint32_t value); - private: - uint32_t _internal_time_created() const; - void _internal_set_time_created(uint32_t value); - public: - - // optional fixed32 time_expiry = 9; - bool has_time_expiry() const; - private: - bool _internal_has_time_expiry() const; - public: - void clear_time_expiry(); - uint32_t time_expiry() const; - void set_time_expiry(uint32_t value); - private: - uint32_t _internal_time_expiry() const; - void _internal_set_time_expiry(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramCertificate) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > gameserver_datacenter_ids_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > app_ids_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField ip_addresses_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_data_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identity_string_; - ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary_; - uint64_t legacy_steam_id_; - int key_type_; - uint32_t time_created_; - uint32_t time_expiry_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fcerts_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramCertificateSigned : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramCertificateSigned) */ { - public: - inline CMsgSteamDatagramCertificateSigned() : CMsgSteamDatagramCertificateSigned(nullptr) {} - ~CMsgSteamDatagramCertificateSigned() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramCertificateSigned(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramCertificateSigned(const CMsgSteamDatagramCertificateSigned& from); - CMsgSteamDatagramCertificateSigned(CMsgSteamDatagramCertificateSigned&& from) noexcept - : CMsgSteamDatagramCertificateSigned() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramCertificateSigned& operator=(const CMsgSteamDatagramCertificateSigned& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramCertificateSigned& operator=(CMsgSteamDatagramCertificateSigned&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramCertificateSigned& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramCertificateSigned* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramCertificateSigned_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CMsgSteamDatagramCertificateSigned& a, CMsgSteamDatagramCertificateSigned& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramCertificateSigned* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramCertificateSigned* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramCertificateSigned* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramCertificateSigned& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramCertificateSigned& from) { - CMsgSteamDatagramCertificateSigned::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramCertificateSigned* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramCertificateSigned"; - } - protected: - explicit CMsgSteamDatagramCertificateSigned(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPrivateKeyDataFieldNumber = 1, - kCertFieldNumber = 4, - kCaSignatureFieldNumber = 6, - kCaKeyIdFieldNumber = 5, - }; - // optional bytes private_key_data = 1; - bool has_private_key_data() const; - private: - bool _internal_has_private_key_data() const; - public: - void clear_private_key_data(); - const std::string& private_key_data() const; - template - void set_private_key_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_private_key_data(); - PROTOBUF_NODISCARD std::string* release_private_key_data(); - void set_allocated_private_key_data(std::string* private_key_data); - private: - const std::string& _internal_private_key_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_private_key_data(const std::string& value); - std::string* _internal_mutable_private_key_data(); - public: - - // optional bytes cert = 4; - bool has_cert() const; - private: - bool _internal_has_cert() const; - public: - void clear_cert(); - const std::string& cert() const; - template - void set_cert(ArgT0&& arg0, ArgT... args); - std::string* mutable_cert(); - PROTOBUF_NODISCARD std::string* release_cert(); - void set_allocated_cert(std::string* cert); - private: - const std::string& _internal_cert() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_cert(const std::string& value); - std::string* _internal_mutable_cert(); - public: - - // optional bytes ca_signature = 6; - bool has_ca_signature() const; - private: - bool _internal_has_ca_signature() const; - public: - void clear_ca_signature(); - const std::string& ca_signature() const; - template - void set_ca_signature(ArgT0&& arg0, ArgT... args); - std::string* mutable_ca_signature(); - PROTOBUF_NODISCARD std::string* release_ca_signature(); - void set_allocated_ca_signature(std::string* ca_signature); - private: - const std::string& _internal_ca_signature() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_ca_signature(const std::string& value); - std::string* _internal_mutable_ca_signature(); - public: - - // optional fixed64 ca_key_id = 5; - bool has_ca_key_id() const; - private: - bool _internal_has_ca_key_id() const; - public: - void clear_ca_key_id(); - uint64_t ca_key_id() const; - void set_ca_key_id(uint64_t value); - private: - uint64_t _internal_ca_key_id() const; - void _internal_set_ca_key_id(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramCertificateSigned) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr private_key_data_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cert_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ca_signature_; - uint64_t ca_key_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fcerts_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamDatagramCertificateRequest : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamDatagramCertificateRequest) */ { - public: - inline CMsgSteamDatagramCertificateRequest() : CMsgSteamDatagramCertificateRequest(nullptr) {} - ~CMsgSteamDatagramCertificateRequest() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamDatagramCertificateRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamDatagramCertificateRequest(const CMsgSteamDatagramCertificateRequest& from); - CMsgSteamDatagramCertificateRequest(CMsgSteamDatagramCertificateRequest&& from) noexcept - : CMsgSteamDatagramCertificateRequest() { - *this = ::std::move(from); - } - - inline CMsgSteamDatagramCertificateRequest& operator=(const CMsgSteamDatagramCertificateRequest& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamDatagramCertificateRequest& operator=(CMsgSteamDatagramCertificateRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamDatagramCertificateRequest& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamDatagramCertificateRequest* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamDatagramCertificateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CMsgSteamDatagramCertificateRequest& a, CMsgSteamDatagramCertificateRequest& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamDatagramCertificateRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamDatagramCertificateRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamDatagramCertificateRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamDatagramCertificateRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamDatagramCertificateRequest& from) { - CMsgSteamDatagramCertificateRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamDatagramCertificateRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamDatagramCertificateRequest"; - } - protected: - explicit CMsgSteamDatagramCertificateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCertFieldNumber = 1, - }; - // optional .CMsgSteamDatagramCertificate cert = 1; - bool has_cert() const; - private: - bool _internal_has_cert() const; - public: - void clear_cert(); - const ::CMsgSteamDatagramCertificate& cert() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificate* release_cert(); - ::CMsgSteamDatagramCertificate* mutable_cert(); - void set_allocated_cert(::CMsgSteamDatagramCertificate* cert); - private: - const ::CMsgSteamDatagramCertificate& _internal_cert() const; - ::CMsgSteamDatagramCertificate* _internal_mutable_cert(); - public: - void unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificate* cert); - ::CMsgSteamDatagramCertificate* unsafe_arena_release_cert(); - - // @@protoc_insertion_point(class_scope:CMsgSteamDatagramCertificateRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgSteamDatagramCertificate* cert_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fcerts_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CMsgSteamNetworkingIdentityLegacyBinary - -// optional fixed64 steam_id = 16; -inline bool CMsgSteamNetworkingIdentityLegacyBinary::_internal_has_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamNetworkingIdentityLegacyBinary::has_steam_id() const { - return _internal_has_steam_id(); -} -inline void CMsgSteamNetworkingIdentityLegacyBinary::clear_steam_id() { - _impl_.steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CMsgSteamNetworkingIdentityLegacyBinary::_internal_steam_id() const { - return _impl_.steam_id_; -} -inline uint64_t CMsgSteamNetworkingIdentityLegacyBinary::steam_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingIdentityLegacyBinary.steam_id) - return _internal_steam_id(); -} -inline void CMsgSteamNetworkingIdentityLegacyBinary::_internal_set_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.steam_id_ = value; -} -inline void CMsgSteamNetworkingIdentityLegacyBinary::set_steam_id(uint64_t value) { - _internal_set_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingIdentityLegacyBinary.steam_id) -} - -// optional bytes generic_bytes = 2; -inline bool CMsgSteamNetworkingIdentityLegacyBinary::_internal_has_generic_bytes() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamNetworkingIdentityLegacyBinary::has_generic_bytes() const { - return _internal_has_generic_bytes(); -} -inline void CMsgSteamNetworkingIdentityLegacyBinary::clear_generic_bytes() { - _impl_.generic_bytes_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamNetworkingIdentityLegacyBinary::generic_bytes() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingIdentityLegacyBinary.generic_bytes) - return _internal_generic_bytes(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamNetworkingIdentityLegacyBinary::set_generic_bytes(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.generic_bytes_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingIdentityLegacyBinary.generic_bytes) -} -inline std::string* CMsgSteamNetworkingIdentityLegacyBinary::mutable_generic_bytes() { - std::string* _s = _internal_mutable_generic_bytes(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingIdentityLegacyBinary.generic_bytes) - return _s; -} -inline const std::string& CMsgSteamNetworkingIdentityLegacyBinary::_internal_generic_bytes() const { - return _impl_.generic_bytes_.Get(); -} -inline void CMsgSteamNetworkingIdentityLegacyBinary::_internal_set_generic_bytes(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.generic_bytes_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingIdentityLegacyBinary::_internal_mutable_generic_bytes() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.generic_bytes_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingIdentityLegacyBinary::release_generic_bytes() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingIdentityLegacyBinary.generic_bytes) - if (!_internal_has_generic_bytes()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.generic_bytes_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.generic_bytes_.IsDefault()) { - _impl_.generic_bytes_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamNetworkingIdentityLegacyBinary::set_allocated_generic_bytes(std::string* generic_bytes) { - if (generic_bytes != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.generic_bytes_.SetAllocated(generic_bytes, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.generic_bytes_.IsDefault()) { - _impl_.generic_bytes_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingIdentityLegacyBinary.generic_bytes) -} - -// optional string generic_string = 3; -inline bool CMsgSteamNetworkingIdentityLegacyBinary::_internal_has_generic_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamNetworkingIdentityLegacyBinary::has_generic_string() const { - return _internal_has_generic_string(); -} -inline void CMsgSteamNetworkingIdentityLegacyBinary::clear_generic_string() { - _impl_.generic_string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamNetworkingIdentityLegacyBinary::generic_string() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingIdentityLegacyBinary.generic_string) - return _internal_generic_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamNetworkingIdentityLegacyBinary::set_generic_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.generic_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingIdentityLegacyBinary.generic_string) -} -inline std::string* CMsgSteamNetworkingIdentityLegacyBinary::mutable_generic_string() { - std::string* _s = _internal_mutable_generic_string(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingIdentityLegacyBinary.generic_string) - return _s; -} -inline const std::string& CMsgSteamNetworkingIdentityLegacyBinary::_internal_generic_string() const { - return _impl_.generic_string_.Get(); -} -inline void CMsgSteamNetworkingIdentityLegacyBinary::_internal_set_generic_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.generic_string_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingIdentityLegacyBinary::_internal_mutable_generic_string() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.generic_string_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingIdentityLegacyBinary::release_generic_string() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingIdentityLegacyBinary.generic_string) - if (!_internal_has_generic_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.generic_string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.generic_string_.IsDefault()) { - _impl_.generic_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamNetworkingIdentityLegacyBinary::set_allocated_generic_string(std::string* generic_string) { - if (generic_string != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.generic_string_.SetAllocated(generic_string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.generic_string_.IsDefault()) { - _impl_.generic_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingIdentityLegacyBinary.generic_string) -} - -// optional bytes ipv6_and_port = 4; -inline bool CMsgSteamNetworkingIdentityLegacyBinary::_internal_has_ipv6_and_port() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamNetworkingIdentityLegacyBinary::has_ipv6_and_port() const { - return _internal_has_ipv6_and_port(); -} -inline void CMsgSteamNetworkingIdentityLegacyBinary::clear_ipv6_and_port() { - _impl_.ipv6_and_port_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgSteamNetworkingIdentityLegacyBinary::ipv6_and_port() const { - // @@protoc_insertion_point(field_get:CMsgSteamNetworkingIdentityLegacyBinary.ipv6_and_port) - return _internal_ipv6_and_port(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamNetworkingIdentityLegacyBinary::set_ipv6_and_port(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.ipv6_and_port_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamNetworkingIdentityLegacyBinary.ipv6_and_port) -} -inline std::string* CMsgSteamNetworkingIdentityLegacyBinary::mutable_ipv6_and_port() { - std::string* _s = _internal_mutable_ipv6_and_port(); - // @@protoc_insertion_point(field_mutable:CMsgSteamNetworkingIdentityLegacyBinary.ipv6_and_port) - return _s; -} -inline const std::string& CMsgSteamNetworkingIdentityLegacyBinary::_internal_ipv6_and_port() const { - return _impl_.ipv6_and_port_.Get(); -} -inline void CMsgSteamNetworkingIdentityLegacyBinary::_internal_set_ipv6_and_port(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.ipv6_and_port_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingIdentityLegacyBinary::_internal_mutable_ipv6_and_port() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.ipv6_and_port_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamNetworkingIdentityLegacyBinary::release_ipv6_and_port() { - // @@protoc_insertion_point(field_release:CMsgSteamNetworkingIdentityLegacyBinary.ipv6_and_port) - if (!_internal_has_ipv6_and_port()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.ipv6_and_port_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ipv6_and_port_.IsDefault()) { - _impl_.ipv6_and_port_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamNetworkingIdentityLegacyBinary::set_allocated_ipv6_and_port(std::string* ipv6_and_port) { - if (ipv6_and_port != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.ipv6_and_port_.SetAllocated(ipv6_and_port, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ipv6_and_port_.IsDefault()) { - _impl_.ipv6_and_port_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamNetworkingIdentityLegacyBinary.ipv6_and_port) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramCertificate - -// optional .CMsgSteamDatagramCertificate.EKeyType key_type = 1 [default = INVALID]; -inline bool CMsgSteamDatagramCertificate::_internal_has_key_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamDatagramCertificate::has_key_type() const { - return _internal_has_key_type(); -} -inline void CMsgSteamDatagramCertificate::clear_key_type() { - _impl_.key_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline ::CMsgSteamDatagramCertificate_EKeyType CMsgSteamDatagramCertificate::_internal_key_type() const { - return static_cast< ::CMsgSteamDatagramCertificate_EKeyType >(_impl_.key_type_); -} -inline ::CMsgSteamDatagramCertificate_EKeyType CMsgSteamDatagramCertificate::key_type() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.key_type) - return _internal_key_type(); -} -inline void CMsgSteamDatagramCertificate::_internal_set_key_type(::CMsgSteamDatagramCertificate_EKeyType value) { - assert(::CMsgSteamDatagramCertificate_EKeyType_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.key_type_ = value; -} -inline void CMsgSteamDatagramCertificate::set_key_type(::CMsgSteamDatagramCertificate_EKeyType value) { - _internal_set_key_type(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.key_type) -} - -// optional bytes key_data = 2; -inline bool CMsgSteamDatagramCertificate::_internal_has_key_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramCertificate::has_key_data() const { - return _internal_has_key_data(); -} -inline void CMsgSteamDatagramCertificate::clear_key_data() { - _impl_.key_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramCertificate::key_data() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.key_data) - return _internal_key_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramCertificate::set_key_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.key_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.key_data) -} -inline std::string* CMsgSteamDatagramCertificate::mutable_key_data() { - std::string* _s = _internal_mutable_key_data(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCertificate.key_data) - return _s; -} -inline const std::string& CMsgSteamDatagramCertificate::_internal_key_data() const { - return _impl_.key_data_.Get(); -} -inline void CMsgSteamDatagramCertificate::_internal_set_key_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.key_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramCertificate::_internal_mutable_key_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.key_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramCertificate::release_key_data() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramCertificate.key_data) - if (!_internal_has_key_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.key_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.key_data_.IsDefault()) { - _impl_.key_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramCertificate::set_allocated_key_data(std::string* key_data) { - if (key_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.key_data_.SetAllocated(key_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.key_data_.IsDefault()) { - _impl_.key_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramCertificate.key_data) -} - -// optional fixed64 legacy_steam_id = 4; -inline bool CMsgSteamDatagramCertificate::_internal_has_legacy_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramCertificate::has_legacy_steam_id() const { - return _internal_has_legacy_steam_id(); -} -inline void CMsgSteamDatagramCertificate::clear_legacy_steam_id() { - _impl_.legacy_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CMsgSteamDatagramCertificate::_internal_legacy_steam_id() const { - return _impl_.legacy_steam_id_; -} -inline uint64_t CMsgSteamDatagramCertificate::legacy_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.legacy_steam_id) - return _internal_legacy_steam_id(); -} -inline void CMsgSteamDatagramCertificate::_internal_set_legacy_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.legacy_steam_id_ = value; -} -inline void CMsgSteamDatagramCertificate::set_legacy_steam_id(uint64_t value) { - _internal_set_legacy_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.legacy_steam_id) -} - -// optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 11; -inline bool CMsgSteamDatagramCertificate::_internal_has_legacy_identity_binary() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.legacy_identity_binary_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramCertificate::has_legacy_identity_binary() const { - return _internal_has_legacy_identity_binary(); -} -inline void CMsgSteamDatagramCertificate::clear_legacy_identity_binary() { - if (_impl_.legacy_identity_binary_ != nullptr) _impl_.legacy_identity_binary_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::CMsgSteamNetworkingIdentityLegacyBinary& CMsgSteamDatagramCertificate::_internal_legacy_identity_binary() const { - const ::CMsgSteamNetworkingIdentityLegacyBinary* p = _impl_.legacy_identity_binary_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamNetworkingIdentityLegacyBinary_default_instance_); -} -inline const ::CMsgSteamNetworkingIdentityLegacyBinary& CMsgSteamDatagramCertificate::legacy_identity_binary() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.legacy_identity_binary) - return _internal_legacy_identity_binary(); -} -inline void CMsgSteamDatagramCertificate::unsafe_arena_set_allocated_legacy_identity_binary( - ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.legacy_identity_binary_); - } - _impl_.legacy_identity_binary_ = legacy_identity_binary; - if (legacy_identity_binary) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramCertificate.legacy_identity_binary) -} -inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamDatagramCertificate::release_legacy_identity_binary() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamNetworkingIdentityLegacyBinary* temp = _impl_.legacy_identity_binary_; - _impl_.legacy_identity_binary_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamDatagramCertificate::unsafe_arena_release_legacy_identity_binary() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramCertificate.legacy_identity_binary) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamNetworkingIdentityLegacyBinary* temp = _impl_.legacy_identity_binary_; - _impl_.legacy_identity_binary_ = nullptr; - return temp; -} -inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamDatagramCertificate::_internal_mutable_legacy_identity_binary() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.legacy_identity_binary_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamNetworkingIdentityLegacyBinary>(GetArenaForAllocation()); - _impl_.legacy_identity_binary_ = p; - } - return _impl_.legacy_identity_binary_; -} -inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamDatagramCertificate::mutable_legacy_identity_binary() { - ::CMsgSteamNetworkingIdentityLegacyBinary* _msg = _internal_mutable_legacy_identity_binary(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCertificate.legacy_identity_binary) - return _msg; -} -inline void CMsgSteamDatagramCertificate::set_allocated_legacy_identity_binary(::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.legacy_identity_binary_; - } - if (legacy_identity_binary) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(legacy_identity_binary); - if (message_arena != submessage_arena) { - legacy_identity_binary = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, legacy_identity_binary, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.legacy_identity_binary_ = legacy_identity_binary; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramCertificate.legacy_identity_binary) -} - -// optional string identity_string = 12; -inline bool CMsgSteamDatagramCertificate::_internal_has_identity_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramCertificate::has_identity_string() const { - return _internal_has_identity_string(); -} -inline void CMsgSteamDatagramCertificate::clear_identity_string() { - _impl_.identity_string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramCertificate::identity_string() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.identity_string) - return _internal_identity_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramCertificate::set_identity_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.identity_string) -} -inline std::string* CMsgSteamDatagramCertificate::mutable_identity_string() { - std::string* _s = _internal_mutable_identity_string(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCertificate.identity_string) - return _s; -} -inline const std::string& CMsgSteamDatagramCertificate::_internal_identity_string() const { - return _impl_.identity_string_.Get(); -} -inline void CMsgSteamDatagramCertificate::_internal_set_identity_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.identity_string_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramCertificate::_internal_mutable_identity_string() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.identity_string_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramCertificate::release_identity_string() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramCertificate.identity_string) - if (!_internal_has_identity_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.identity_string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.identity_string_.IsDefault()) { - _impl_.identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramCertificate::set_allocated_identity_string(std::string* identity_string) { - if (identity_string != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.identity_string_.SetAllocated(identity_string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.identity_string_.IsDefault()) { - _impl_.identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramCertificate.identity_string) -} - -// repeated fixed32 gameserver_datacenter_ids = 5; -inline int CMsgSteamDatagramCertificate::_internal_gameserver_datacenter_ids_size() const { - return _impl_.gameserver_datacenter_ids_.size(); -} -inline int CMsgSteamDatagramCertificate::gameserver_datacenter_ids_size() const { - return _internal_gameserver_datacenter_ids_size(); -} -inline void CMsgSteamDatagramCertificate::clear_gameserver_datacenter_ids() { - _impl_.gameserver_datacenter_ids_.Clear(); -} -inline uint32_t CMsgSteamDatagramCertificate::_internal_gameserver_datacenter_ids(int index) const { - return _impl_.gameserver_datacenter_ids_.Get(index); -} -inline uint32_t CMsgSteamDatagramCertificate::gameserver_datacenter_ids(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.gameserver_datacenter_ids) - return _internal_gameserver_datacenter_ids(index); -} -inline void CMsgSteamDatagramCertificate::set_gameserver_datacenter_ids(int index, uint32_t value) { - _impl_.gameserver_datacenter_ids_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.gameserver_datacenter_ids) -} -inline void CMsgSteamDatagramCertificate::_internal_add_gameserver_datacenter_ids(uint32_t value) { - _impl_.gameserver_datacenter_ids_.Add(value); -} -inline void CMsgSteamDatagramCertificate::add_gameserver_datacenter_ids(uint32_t value) { - _internal_add_gameserver_datacenter_ids(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramCertificate.gameserver_datacenter_ids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramCertificate::_internal_gameserver_datacenter_ids() const { - return _impl_.gameserver_datacenter_ids_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramCertificate::gameserver_datacenter_ids() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramCertificate.gameserver_datacenter_ids) - return _internal_gameserver_datacenter_ids(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramCertificate::_internal_mutable_gameserver_datacenter_ids() { - return &_impl_.gameserver_datacenter_ids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramCertificate::mutable_gameserver_datacenter_ids() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramCertificate.gameserver_datacenter_ids) - return _internal_mutable_gameserver_datacenter_ids(); -} - -// optional fixed32 time_created = 8; -inline bool CMsgSteamDatagramCertificate::_internal_has_time_created() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamDatagramCertificate::has_time_created() const { - return _internal_has_time_created(); -} -inline void CMsgSteamDatagramCertificate::clear_time_created() { - _impl_.time_created_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamDatagramCertificate::_internal_time_created() const { - return _impl_.time_created_; -} -inline uint32_t CMsgSteamDatagramCertificate::time_created() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.time_created) - return _internal_time_created(); -} -inline void CMsgSteamDatagramCertificate::_internal_set_time_created(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.time_created_ = value; -} -inline void CMsgSteamDatagramCertificate::set_time_created(uint32_t value) { - _internal_set_time_created(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.time_created) -} - -// optional fixed32 time_expiry = 9; -inline bool CMsgSteamDatagramCertificate::_internal_has_time_expiry() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamDatagramCertificate::has_time_expiry() const { - return _internal_has_time_expiry(); -} -inline void CMsgSteamDatagramCertificate::clear_time_expiry() { - _impl_.time_expiry_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamDatagramCertificate::_internal_time_expiry() const { - return _impl_.time_expiry_; -} -inline uint32_t CMsgSteamDatagramCertificate::time_expiry() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.time_expiry) - return _internal_time_expiry(); -} -inline void CMsgSteamDatagramCertificate::_internal_set_time_expiry(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.time_expiry_ = value; -} -inline void CMsgSteamDatagramCertificate::set_time_expiry(uint32_t value) { - _internal_set_time_expiry(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.time_expiry) -} - -// repeated uint32 app_ids = 10; -inline int CMsgSteamDatagramCertificate::_internal_app_ids_size() const { - return _impl_.app_ids_.size(); -} -inline int CMsgSteamDatagramCertificate::app_ids_size() const { - return _internal_app_ids_size(); -} -inline void CMsgSteamDatagramCertificate::clear_app_ids() { - _impl_.app_ids_.Clear(); -} -inline uint32_t CMsgSteamDatagramCertificate::_internal_app_ids(int index) const { - return _impl_.app_ids_.Get(index); -} -inline uint32_t CMsgSteamDatagramCertificate::app_ids(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.app_ids) - return _internal_app_ids(index); -} -inline void CMsgSteamDatagramCertificate::set_app_ids(int index, uint32_t value) { - _impl_.app_ids_.Set(index, value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.app_ids) -} -inline void CMsgSteamDatagramCertificate::_internal_add_app_ids(uint32_t value) { - _impl_.app_ids_.Add(value); -} -inline void CMsgSteamDatagramCertificate::add_app_ids(uint32_t value) { - _internal_add_app_ids(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramCertificate.app_ids) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramCertificate::_internal_app_ids() const { - return _impl_.app_ids_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CMsgSteamDatagramCertificate::app_ids() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramCertificate.app_ids) - return _internal_app_ids(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramCertificate::_internal_mutable_app_ids() { - return &_impl_.app_ids_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CMsgSteamDatagramCertificate::mutable_app_ids() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramCertificate.app_ids) - return _internal_mutable_app_ids(); -} - -// repeated string ip_addresses = 13; -inline int CMsgSteamDatagramCertificate::_internal_ip_addresses_size() const { - return _impl_.ip_addresses_.size(); -} -inline int CMsgSteamDatagramCertificate::ip_addresses_size() const { - return _internal_ip_addresses_size(); -} -inline void CMsgSteamDatagramCertificate::clear_ip_addresses() { - _impl_.ip_addresses_.Clear(); -} -inline std::string* CMsgSteamDatagramCertificate::add_ip_addresses() { - std::string* _s = _internal_add_ip_addresses(); - // @@protoc_insertion_point(field_add_mutable:CMsgSteamDatagramCertificate.ip_addresses) - return _s; -} -inline const std::string& CMsgSteamDatagramCertificate::_internal_ip_addresses(int index) const { - return _impl_.ip_addresses_.Get(index); -} -inline const std::string& CMsgSteamDatagramCertificate::ip_addresses(int index) const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificate.ip_addresses) - return _internal_ip_addresses(index); -} -inline std::string* CMsgSteamDatagramCertificate::mutable_ip_addresses(int index) { - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCertificate.ip_addresses) - return _impl_.ip_addresses_.Mutable(index); -} -inline void CMsgSteamDatagramCertificate::set_ip_addresses(int index, const std::string& value) { - _impl_.ip_addresses_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.ip_addresses) -} -inline void CMsgSteamDatagramCertificate::set_ip_addresses(int index, std::string&& value) { - _impl_.ip_addresses_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificate.ip_addresses) -} -inline void CMsgSteamDatagramCertificate::set_ip_addresses(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.ip_addresses_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CMsgSteamDatagramCertificate.ip_addresses) -} -inline void CMsgSteamDatagramCertificate::set_ip_addresses(int index, const char* value, size_t size) { - _impl_.ip_addresses_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CMsgSteamDatagramCertificate.ip_addresses) -} -inline std::string* CMsgSteamDatagramCertificate::_internal_add_ip_addresses() { - return _impl_.ip_addresses_.Add(); -} -inline void CMsgSteamDatagramCertificate::add_ip_addresses(const std::string& value) { - _impl_.ip_addresses_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramCertificate.ip_addresses) -} -inline void CMsgSteamDatagramCertificate::add_ip_addresses(std::string&& value) { - _impl_.ip_addresses_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CMsgSteamDatagramCertificate.ip_addresses) -} -inline void CMsgSteamDatagramCertificate::add_ip_addresses(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.ip_addresses_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CMsgSteamDatagramCertificate.ip_addresses) -} -inline void CMsgSteamDatagramCertificate::add_ip_addresses(const char* value, size_t size) { - _impl_.ip_addresses_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CMsgSteamDatagramCertificate.ip_addresses) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CMsgSteamDatagramCertificate::ip_addresses() const { - // @@protoc_insertion_point(field_list:CMsgSteamDatagramCertificate.ip_addresses) - return _impl_.ip_addresses_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CMsgSteamDatagramCertificate::mutable_ip_addresses() { - // @@protoc_insertion_point(field_mutable_list:CMsgSteamDatagramCertificate.ip_addresses) - return &_impl_.ip_addresses_; -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramCertificateSigned - -// optional bytes cert = 4; -inline bool CMsgSteamDatagramCertificateSigned::_internal_has_cert() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamDatagramCertificateSigned::has_cert() const { - return _internal_has_cert(); -} -inline void CMsgSteamDatagramCertificateSigned::clear_cert() { - _impl_.cert_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CMsgSteamDatagramCertificateSigned::cert() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificateSigned.cert) - return _internal_cert(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramCertificateSigned::set_cert(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.cert_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificateSigned.cert) -} -inline std::string* CMsgSteamDatagramCertificateSigned::mutable_cert() { - std::string* _s = _internal_mutable_cert(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCertificateSigned.cert) - return _s; -} -inline const std::string& CMsgSteamDatagramCertificateSigned::_internal_cert() const { - return _impl_.cert_.Get(); -} -inline void CMsgSteamDatagramCertificateSigned::_internal_set_cert(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.cert_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramCertificateSigned::_internal_mutable_cert() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.cert_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramCertificateSigned::release_cert() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramCertificateSigned.cert) - if (!_internal_has_cert()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.cert_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cert_.IsDefault()) { - _impl_.cert_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramCertificateSigned::set_allocated_cert(std::string* cert) { - if (cert != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.cert_.SetAllocated(cert, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.cert_.IsDefault()) { - _impl_.cert_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramCertificateSigned.cert) -} - -// optional fixed64 ca_key_id = 5; -inline bool CMsgSteamDatagramCertificateSigned::_internal_has_ca_key_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamDatagramCertificateSigned::has_ca_key_id() const { - return _internal_has_ca_key_id(); -} -inline void CMsgSteamDatagramCertificateSigned::clear_ca_key_id() { - _impl_.ca_key_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CMsgSteamDatagramCertificateSigned::_internal_ca_key_id() const { - return _impl_.ca_key_id_; -} -inline uint64_t CMsgSteamDatagramCertificateSigned::ca_key_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificateSigned.ca_key_id) - return _internal_ca_key_id(); -} -inline void CMsgSteamDatagramCertificateSigned::_internal_set_ca_key_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.ca_key_id_ = value; -} -inline void CMsgSteamDatagramCertificateSigned::set_ca_key_id(uint64_t value) { - _internal_set_ca_key_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificateSigned.ca_key_id) -} - -// optional bytes ca_signature = 6; -inline bool CMsgSteamDatagramCertificateSigned::_internal_has_ca_signature() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamDatagramCertificateSigned::has_ca_signature() const { - return _internal_has_ca_signature(); -} -inline void CMsgSteamDatagramCertificateSigned::clear_ca_signature() { - _impl_.ca_signature_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CMsgSteamDatagramCertificateSigned::ca_signature() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificateSigned.ca_signature) - return _internal_ca_signature(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramCertificateSigned::set_ca_signature(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.ca_signature_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificateSigned.ca_signature) -} -inline std::string* CMsgSteamDatagramCertificateSigned::mutable_ca_signature() { - std::string* _s = _internal_mutable_ca_signature(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCertificateSigned.ca_signature) - return _s; -} -inline const std::string& CMsgSteamDatagramCertificateSigned::_internal_ca_signature() const { - return _impl_.ca_signature_.Get(); -} -inline void CMsgSteamDatagramCertificateSigned::_internal_set_ca_signature(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.ca_signature_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramCertificateSigned::_internal_mutable_ca_signature() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.ca_signature_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramCertificateSigned::release_ca_signature() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramCertificateSigned.ca_signature) - if (!_internal_has_ca_signature()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.ca_signature_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ca_signature_.IsDefault()) { - _impl_.ca_signature_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramCertificateSigned::set_allocated_ca_signature(std::string* ca_signature) { - if (ca_signature != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.ca_signature_.SetAllocated(ca_signature, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.ca_signature_.IsDefault()) { - _impl_.ca_signature_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramCertificateSigned.ca_signature) -} - -// optional bytes private_key_data = 1; -inline bool CMsgSteamDatagramCertificateSigned::_internal_has_private_key_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamDatagramCertificateSigned::has_private_key_data() const { - return _internal_has_private_key_data(); -} -inline void CMsgSteamDatagramCertificateSigned::clear_private_key_data() { - _impl_.private_key_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamDatagramCertificateSigned::private_key_data() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificateSigned.private_key_data) - return _internal_private_key_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamDatagramCertificateSigned::set_private_key_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.private_key_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamDatagramCertificateSigned.private_key_data) -} -inline std::string* CMsgSteamDatagramCertificateSigned::mutable_private_key_data() { - std::string* _s = _internal_mutable_private_key_data(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCertificateSigned.private_key_data) - return _s; -} -inline const std::string& CMsgSteamDatagramCertificateSigned::_internal_private_key_data() const { - return _impl_.private_key_data_.Get(); -} -inline void CMsgSteamDatagramCertificateSigned::_internal_set_private_key_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.private_key_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramCertificateSigned::_internal_mutable_private_key_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.private_key_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamDatagramCertificateSigned::release_private_key_data() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramCertificateSigned.private_key_data) - if (!_internal_has_private_key_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.private_key_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.private_key_data_.IsDefault()) { - _impl_.private_key_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamDatagramCertificateSigned::set_allocated_private_key_data(std::string* private_key_data) { - if (private_key_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.private_key_data_.SetAllocated(private_key_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.private_key_data_.IsDefault()) { - _impl_.private_key_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramCertificateSigned.private_key_data) -} - -// ------------------------------------------------------------------- - -// CMsgSteamDatagramCertificateRequest - -// optional .CMsgSteamDatagramCertificate cert = 1; -inline bool CMsgSteamDatagramCertificateRequest::_internal_has_cert() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); - return value; -} -inline bool CMsgSteamDatagramCertificateRequest::has_cert() const { - return _internal_has_cert(); -} -inline void CMsgSteamDatagramCertificateRequest::clear_cert() { - if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgSteamDatagramCertificate& CMsgSteamDatagramCertificateRequest::_internal_cert() const { - const ::CMsgSteamDatagramCertificate* p = _impl_.cert_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramCertificate_default_instance_); -} -inline const ::CMsgSteamDatagramCertificate& CMsgSteamDatagramCertificateRequest::cert() const { - // @@protoc_insertion_point(field_get:CMsgSteamDatagramCertificateRequest.cert) - return _internal_cert(); -} -inline void CMsgSteamDatagramCertificateRequest::unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificate* cert) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - _impl_.cert_ = cert; - if (cert) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamDatagramCertificateRequest.cert) -} -inline ::CMsgSteamDatagramCertificate* CMsgSteamDatagramCertificateRequest::release_cert() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamDatagramCertificate* temp = _impl_.cert_; - _impl_.cert_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramCertificate* CMsgSteamDatagramCertificateRequest::unsafe_arena_release_cert() { - // @@protoc_insertion_point(field_release:CMsgSteamDatagramCertificateRequest.cert) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamDatagramCertificate* temp = _impl_.cert_; - _impl_.cert_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramCertificate* CMsgSteamDatagramCertificateRequest::_internal_mutable_cert() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.cert_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificate>(GetArenaForAllocation()); - _impl_.cert_ = p; - } - return _impl_.cert_; -} -inline ::CMsgSteamDatagramCertificate* CMsgSteamDatagramCertificateRequest::mutable_cert() { - ::CMsgSteamDatagramCertificate* _msg = _internal_mutable_cert(); - // @@protoc_insertion_point(field_mutable:CMsgSteamDatagramCertificateRequest.cert) - return _msg; -} -inline void CMsgSteamDatagramCertificateRequest::set_allocated_cert(::CMsgSteamDatagramCertificate* cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.cert_; - } - if (cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cert); - if (message_arena != submessage_arena) { - cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cert, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.cert_ = cert; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamDatagramCertificateRequest.cert) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::CMsgSteamDatagramCertificate_EKeyType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamDatagramCertificate_EKeyType>() { - return ::CMsgSteamDatagramCertificate_EKeyType_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steamnetworkingsockets_5fmessages_5fcerts_2eproto diff --git a/protobuf/generated/steamnetworkingsockets_messages_udp.pb.cc b/protobuf/generated/steamnetworkingsockets_messages_udp.pb.cc deleted file mode 100644 index 30a22faa3..000000000 --- a/protobuf/generated/steamnetworkingsockets_messages_udp.pb.cc +++ /dev/null @@ -1,2888 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steamnetworkingsockets_messages_udp.proto - -#include "steamnetworkingsockets_messages_udp.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ChallengeRequest::CMsgSteamSockets_UDP_ChallengeRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.connection_id_)*/0u - , /*decltype(_impl_.protocol_version_)*/0u - , /*decltype(_impl_.my_timestamp_)*/uint64_t{0u}} {} -struct CMsgSteamSockets_UDP_ChallengeRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ChallengeRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamSockets_UDP_ChallengeRequestDefaultTypeInternal() {} - union { - CMsgSteamSockets_UDP_ChallengeRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamSockets_UDP_ChallengeRequestDefaultTypeInternal _CMsgSteamSockets_UDP_ChallengeRequest_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ChallengeReply::CMsgSteamSockets_UDP_ChallengeReply( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.challenge_)*/uint64_t{0u} - , /*decltype(_impl_.connection_id_)*/0u - , /*decltype(_impl_.protocol_version_)*/0u - , /*decltype(_impl_.your_timestamp_)*/uint64_t{0u}} {} -struct CMsgSteamSockets_UDP_ChallengeReplyDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ChallengeReplyDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamSockets_UDP_ChallengeReplyDefaultTypeInternal() {} - union { - CMsgSteamSockets_UDP_ChallengeReply _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamSockets_UDP_ChallengeReplyDefaultTypeInternal _CMsgSteamSockets_UDP_ChallengeReply_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ConnectRequest::CMsgSteamSockets_UDP_ConnectRequest( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.cert_)*/nullptr - , /*decltype(_impl_.crypt_)*/nullptr - , /*decltype(_impl_.legacy_identity_binary_)*/nullptr - , /*decltype(_impl_.challenge_)*/uint64_t{0u} - , /*decltype(_impl_.legacy_client_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.client_connection_id_)*/0u - , /*decltype(_impl_.ping_est_ms_)*/0u - , /*decltype(_impl_.my_timestamp_)*/uint64_t{0u} - , /*decltype(_impl_.legacy_protocol_version_)*/0u} {} -struct CMsgSteamSockets_UDP_ConnectRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ConnectRequestDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamSockets_UDP_ConnectRequestDefaultTypeInternal() {} - union { - CMsgSteamSockets_UDP_ConnectRequest _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamSockets_UDP_ConnectRequestDefaultTypeInternal _CMsgSteamSockets_UDP_ConnectRequest_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ConnectOK::CMsgSteamSockets_UDP_ConnectOK( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.identity_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.crypt_)*/nullptr - , /*decltype(_impl_.cert_)*/nullptr - , /*decltype(_impl_.legacy_identity_binary_)*/nullptr - , /*decltype(_impl_.legacy_server_steam_id_)*/uint64_t{0u} - , /*decltype(_impl_.client_connection_id_)*/0u - , /*decltype(_impl_.delay_time_usec_)*/0u - , /*decltype(_impl_.your_timestamp_)*/uint64_t{0u} - , /*decltype(_impl_.server_connection_id_)*/0u} {} -struct CMsgSteamSockets_UDP_ConnectOKDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ConnectOKDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamSockets_UDP_ConnectOKDefaultTypeInternal() {} - union { - CMsgSteamSockets_UDP_ConnectOK _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamSockets_UDP_ConnectOKDefaultTypeInternal _CMsgSteamSockets_UDP_ConnectOK_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ConnectionClosed::CMsgSteamSockets_UDP_ConnectionClosed( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.debug_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.reason_code_)*/0u - , /*decltype(_impl_.to_connection_id_)*/0u - , /*decltype(_impl_.from_connection_id_)*/0u} {} -struct CMsgSteamSockets_UDP_ConnectionClosedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ConnectionClosedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamSockets_UDP_ConnectionClosedDefaultTypeInternal() {} - union { - CMsgSteamSockets_UDP_ConnectionClosed _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamSockets_UDP_ConnectionClosedDefaultTypeInternal _CMsgSteamSockets_UDP_ConnectionClosed_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_NoConnection::CMsgSteamSockets_UDP_NoConnection( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.from_connection_id_)*/0u - , /*decltype(_impl_.to_connection_id_)*/0u} {} -struct CMsgSteamSockets_UDP_NoConnectionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_NoConnectionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamSockets_UDP_NoConnectionDefaultTypeInternal() {} - union { - CMsgSteamSockets_UDP_NoConnection _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamSockets_UDP_NoConnectionDefaultTypeInternal _CMsgSteamSockets_UDP_NoConnection_default_instance_; -PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_Stats::CMsgSteamSockets_UDP_Stats( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.stats_)*/nullptr - , /*decltype(_impl_.flags_)*/0u} {} -struct CMsgSteamSockets_UDP_StatsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_StatsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgSteamSockets_UDP_StatsDefaultTypeInternal() {} - union { - CMsgSteamSockets_UDP_Stats _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgSteamSockets_UDP_StatsDefaultTypeInternal _CMsgSteamSockets_UDP_Stats_default_instance_; -static ::_pb::Metadata file_level_metadata_steamnetworkingsockets_5fmessages_5fudp_2eproto[7]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_steamnetworkingsockets_5fmessages_5fudp_2eproto[2]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_steamnetworkingsockets_5fmessages_5fudp_2eproto = nullptr; - -const uint32_t TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeRequest, _impl_.connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeRequest, _impl_.my_timestamp_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeRequest, _impl_.protocol_version_), - 0, - 2, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeReply, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeReply, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeReply, _impl_.connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeReply, _impl_.challenge_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeReply, _impl_.your_timestamp_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ChallengeReply, _impl_.protocol_version_), - 1, - 0, - 3, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.client_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.challenge_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.my_timestamp_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.ping_est_ms_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.crypt_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.cert_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.legacy_protocol_version_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.identity_string_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.legacy_client_steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectRequest, _impl_.legacy_identity_binary_), - 6, - 4, - 8, - 7, - 2, - 1, - 9, - 0, - 5, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_.client_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_.server_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_.your_timestamp_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_.delay_time_usec_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_.crypt_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_.cert_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_.identity_string_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_.legacy_server_steam_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectOK, _impl_.legacy_identity_binary_), - 5, - 8, - 7, - 6, - 1, - 2, - 0, - 4, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectionClosed, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectionClosed, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectionClosed, _impl_.to_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectionClosed, _impl_.from_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectionClosed, _impl_.debug_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_ConnectionClosed, _impl_.reason_code_), - 2, - 3, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_NoConnection, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_NoConnection, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_NoConnection, _impl_.from_connection_id_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_NoConnection, _impl_.to_connection_id_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_Stats, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_Stats, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_Stats, _impl_.stats_), - PROTOBUF_FIELD_OFFSET(::CMsgSteamSockets_UDP_Stats, _impl_.flags_), - 0, - 1, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 9, -1, sizeof(::CMsgSteamSockets_UDP_ChallengeRequest)}, - { 12, 22, -1, sizeof(::CMsgSteamSockets_UDP_ChallengeReply)}, - { 26, 42, -1, sizeof(::CMsgSteamSockets_UDP_ConnectRequest)}, - { 52, 67, -1, sizeof(::CMsgSteamSockets_UDP_ConnectOK)}, - { 76, 86, -1, sizeof(::CMsgSteamSockets_UDP_ConnectionClosed)}, - { 90, 98, -1, sizeof(::CMsgSteamSockets_UDP_NoConnection)}, - { 100, 108, -1, sizeof(::CMsgSteamSockets_UDP_Stats)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CMsgSteamSockets_UDP_ChallengeRequest_default_instance_._instance, - &::_CMsgSteamSockets_UDP_ChallengeReply_default_instance_._instance, - &::_CMsgSteamSockets_UDP_ConnectRequest_default_instance_._instance, - &::_CMsgSteamSockets_UDP_ConnectOK_default_instance_._instance, - &::_CMsgSteamSockets_UDP_ConnectionClosed_default_instance_._instance, - &::_CMsgSteamSockets_UDP_NoConnection_default_instance_._instance, - &::_CMsgSteamSockets_UDP_Stats_default_instance_._instance, -}; - -const char descriptor_table_protodef_steamnetworkingsockets_5fmessages_5fudp_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n)steamnetworkingsockets_messages_udp.pr" - "oto\032+steamnetworkingsockets_messages_cer" - "ts.proto\032%steamnetworkingsockets_message" - "s.proto\"n\n%CMsgSteamSockets_UDP_Challeng" - "eRequest\022\025\n\rconnection_id\030\001 \001(\007\022\024\n\014my_ti" - "mestamp\030\003 \001(\006\022\030\n\020protocol_version\030\004 \001(\r\"" - "\201\001\n#CMsgSteamSockets_UDP_ChallengeReply\022" - "\025\n\rconnection_id\030\001 \001(\007\022\021\n\tchallenge\030\002 \001(" - "\006\022\026\n\016your_timestamp\030\003 \001(\006\022\030\n\020protocol_ve" - "rsion\030\004 \001(\r\"\221\003\n#CMsgSteamSockets_UDP_Con" - "nectRequest\022\034\n\024client_connection_id\030\001 \001(" - "\007\022\021\n\tchallenge\030\002 \001(\006\022\024\n\014my_timestamp\030\005 \001" - "(\006\022\023\n\013ping_est_ms\030\006 \001(\r\0227\n\005crypt\030\007 \001(\0132(" - ".CMsgSteamDatagramSessionCryptInfoSigned" - "\0221\n\004cert\030\004 \001(\0132#.CMsgSteamDatagramCertif" - "icateSigned\022\037\n\027legacy_protocol_version\030\010" - " \001(\r\022\027\n\017identity_string\030\n \001(\t\022\036\n\026legacy_" - "client_steam_id\030\003 \001(\006\022H\n\026legacy_identity" - "_binary\030\t \001(\0132(.CMsgSteamNetworkingIdent" - "ityLegacyBinary\"\374\002\n\036CMsgSteamSockets_UDP" - "_ConnectOK\022\034\n\024client_connection_id\030\001 \001(\007" - "\022\034\n\024server_connection_id\030\005 \001(\007\022\026\n\016your_t" - "imestamp\030\003 \001(\006\022\027\n\017delay_time_usec\030\004 \001(\r\022" - "7\n\005crypt\030\007 \001(\0132(.CMsgSteamDatagramSessio" - "nCryptInfoSigned\0221\n\004cert\030\010 \001(\0132#.CMsgSte" - "amDatagramCertificateSigned\022\027\n\017identity_" - "string\030\013 \001(\t\022\036\n\026legacy_server_steam_id\030\002" - " \001(\006\022H\n\026legacy_identity_binary\030\n \001(\0132(.C" - "MsgSteamNetworkingIdentityLegacyBinary\"\201" - "\001\n%CMsgSteamSockets_UDP_ConnectionClosed" - "\022\030\n\020to_connection_id\030\004 \001(\007\022\032\n\022from_conne" - "ction_id\030\005 \001(\007\022\r\n\005debug\030\002 \001(\t\022\023\n\013reason_" - "code\030\003 \001(\r\"Y\n!CMsgSteamSockets_UDP_NoCon" - "nection\022\032\n\022from_connection_id\030\002 \001(\007\022\030\n\020t" - "o_connection_id\030\003 \001(\007\"\267\001\n\032CMsgSteamSocke" - "ts_UDP_Stats\0222\n\005stats\030\001 \001(\0132#.CMsgSteamD" - "atagramConnectionQuality\022\r\n\005flags\030\003 \001(\r\"" - "V\n\005Flags\022\023\n\017ACK_REQUEST_E2E\020\002\022\031\n\025ACK_REQ" - "UEST_IMMEDIATE\020\004\022\035\n\031NOT_PRIMARY_TRANSPOR" - "T_E2E\020\020*\245\002\n\030ESteamNetworkingUDPMsgID\022-\n)" - "k_ESteamNetworkingUDPMsg_ChallengeReques" - "t\020 \022+\n\'k_ESteamNetworkingUDPMsg_Challeng" - "eReply\020!\022+\n\'k_ESteamNetworkingUDPMsg_Con" - "nectRequest\020\"\022&\n\"k_ESteamNetworkingUDPMs" - "g_ConnectOK\020#\022-\n)k_ESteamNetworkingUDPMs" - "g_ConnectionClosed\020$\022)\n%k_ESteamNetworki" - "ngUDPMsg_NoConnection\020%B\005H\001\200\001\000" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_deps[2] = { - &::descriptor_table_steamnetworkingsockets_5fmessages_2eproto, - &::descriptor_table_steamnetworkingsockets_5fmessages_5fcerts_2eproto, -}; -static ::_pbi::once_flag descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto = { - false, false, 1870, descriptor_table_protodef_steamnetworkingsockets_5fmessages_5fudp_2eproto, - "steamnetworkingsockets_messages_udp.proto", - &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_once, descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_deps, 2, 7, - schemas, file_default_instances, TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto::offsets, - file_level_metadata_steamnetworkingsockets_5fmessages_5fudp_2eproto, file_level_enum_descriptors_steamnetworkingsockets_5fmessages_5fudp_2eproto, - file_level_service_descriptors_steamnetworkingsockets_5fmessages_5fudp_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_getter() { - return &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steamnetworkingsockets_5fmessages_5fudp_2eproto(&descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamSockets_UDP_Stats_Flags_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto); - return file_level_enum_descriptors_steamnetworkingsockets_5fmessages_5fudp_2eproto[0]; -} -bool CMsgSteamSockets_UDP_Stats_Flags_IsValid(int value) { - switch (value) { - case 2: - case 4: - case 16: - return true; - default: - return false; - } -} - -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -constexpr CMsgSteamSockets_UDP_Stats_Flags CMsgSteamSockets_UDP_Stats::ACK_REQUEST_E2E; -constexpr CMsgSteamSockets_UDP_Stats_Flags CMsgSteamSockets_UDP_Stats::ACK_REQUEST_IMMEDIATE; -constexpr CMsgSteamSockets_UDP_Stats_Flags CMsgSteamSockets_UDP_Stats::NOT_PRIMARY_TRANSPORT_E2E; -constexpr CMsgSteamSockets_UDP_Stats_Flags CMsgSteamSockets_UDP_Stats::Flags_MIN; -constexpr CMsgSteamSockets_UDP_Stats_Flags CMsgSteamSockets_UDP_Stats::Flags_MAX; -constexpr int CMsgSteamSockets_UDP_Stats::Flags_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESteamNetworkingUDPMsgID_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto); - return file_level_enum_descriptors_steamnetworkingsockets_5fmessages_5fudp_2eproto[1]; -} -bool ESteamNetworkingUDPMsgID_IsValid(int value) { - switch (value) { - case 32: - case 33: - case 34: - case 35: - case 36: - case 37: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CMsgSteamSockets_UDP_ChallengeRequest::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_my_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_protocol_version(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgSteamSockets_UDP_ChallengeRequest::CMsgSteamSockets_UDP_ChallengeRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamSockets_UDP_ChallengeRequest) -} -CMsgSteamSockets_UDP_ChallengeRequest::CMsgSteamSockets_UDP_ChallengeRequest(const CMsgSteamSockets_UDP_ChallengeRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamSockets_UDP_ChallengeRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.connection_id_){} - , decltype(_impl_.protocol_version_){} - , decltype(_impl_.my_timestamp_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.connection_id_, &from._impl_.connection_id_, - static_cast(reinterpret_cast(&_impl_.my_timestamp_) - - reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.my_timestamp_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamSockets_UDP_ChallengeRequest) -} - -inline void CMsgSteamSockets_UDP_ChallengeRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.connection_id_){0u} - , decltype(_impl_.protocol_version_){0u} - , decltype(_impl_.my_timestamp_){uint64_t{0u}} - }; -} - -CMsgSteamSockets_UDP_ChallengeRequest::~CMsgSteamSockets_UDP_ChallengeRequest() { - // @@protoc_insertion_point(destructor:CMsgSteamSockets_UDP_ChallengeRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamSockets_UDP_ChallengeRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSteamSockets_UDP_ChallengeRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamSockets_UDP_ChallengeRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamSockets_UDP_ChallengeRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.connection_id_, 0, static_cast( - reinterpret_cast(&_impl_.my_timestamp_) - - reinterpret_cast(&_impl_.connection_id_)) + sizeof(_impl_.my_timestamp_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamSockets_UDP_ChallengeRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 connection_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_connection_id(&has_bits); - _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 my_timestamp = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_my_timestamp(&has_bits); - _impl_.my_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 protocol_version = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_protocol_version(&has_bits); - _impl_.protocol_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamSockets_UDP_ChallengeRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamSockets_UDP_ChallengeRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 connection_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_connection_id(), target); - } - - // optional fixed64 my_timestamp = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_my_timestamp(), target); - } - - // optional uint32 protocol_version = 4; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_protocol_version(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamSockets_UDP_ChallengeRequest) - return target; -} - -size_t CMsgSteamSockets_UDP_ChallengeRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamSockets_UDP_ChallengeRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional fixed32 connection_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional uint32 protocol_version = 4; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_protocol_version()); - } - - // optional fixed64 my_timestamp = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamSockets_UDP_ChallengeRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamSockets_UDP_ChallengeRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamSockets_UDP_ChallengeRequest::GetClassData() const { return &_class_data_; } - - -void CMsgSteamSockets_UDP_ChallengeRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamSockets_UDP_ChallengeRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.connection_id_ = from._impl_.connection_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.protocol_version_ = from._impl_.protocol_version_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.my_timestamp_ = from._impl_.my_timestamp_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamSockets_UDP_ChallengeRequest::CopyFrom(const CMsgSteamSockets_UDP_ChallengeRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamSockets_UDP_ChallengeRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamSockets_UDP_ChallengeRequest::IsInitialized() const { - return true; -} - -void CMsgSteamSockets_UDP_ChallengeRequest::InternalSwap(CMsgSteamSockets_UDP_ChallengeRequest* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ChallengeRequest, _impl_.my_timestamp_) - + sizeof(CMsgSteamSockets_UDP_ChallengeRequest::_impl_.my_timestamp_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ChallengeRequest, _impl_.connection_id_)>( - reinterpret_cast(&_impl_.connection_id_), - reinterpret_cast(&other->_impl_.connection_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamSockets_UDP_ChallengeRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_5fudp_2eproto[0]); -} - -// =================================================================== - -class CMsgSteamSockets_UDP_ChallengeReply::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_challenge(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_your_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_protocol_version(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CMsgSteamSockets_UDP_ChallengeReply::CMsgSteamSockets_UDP_ChallengeReply(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamSockets_UDP_ChallengeReply) -} -CMsgSteamSockets_UDP_ChallengeReply::CMsgSteamSockets_UDP_ChallengeReply(const CMsgSteamSockets_UDP_ChallengeReply& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamSockets_UDP_ChallengeReply* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.challenge_){} - , decltype(_impl_.connection_id_){} - , decltype(_impl_.protocol_version_){} - , decltype(_impl_.your_timestamp_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.challenge_, &from._impl_.challenge_, - static_cast(reinterpret_cast(&_impl_.your_timestamp_) - - reinterpret_cast(&_impl_.challenge_)) + sizeof(_impl_.your_timestamp_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamSockets_UDP_ChallengeReply) -} - -inline void CMsgSteamSockets_UDP_ChallengeReply::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.challenge_){uint64_t{0u}} - , decltype(_impl_.connection_id_){0u} - , decltype(_impl_.protocol_version_){0u} - , decltype(_impl_.your_timestamp_){uint64_t{0u}} - }; -} - -CMsgSteamSockets_UDP_ChallengeReply::~CMsgSteamSockets_UDP_ChallengeReply() { - // @@protoc_insertion_point(destructor:CMsgSteamSockets_UDP_ChallengeReply) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamSockets_UDP_ChallengeReply::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSteamSockets_UDP_ChallengeReply::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamSockets_UDP_ChallengeReply::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamSockets_UDP_ChallengeReply) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.challenge_, 0, static_cast( - reinterpret_cast(&_impl_.your_timestamp_) - - reinterpret_cast(&_impl_.challenge_)) + sizeof(_impl_.your_timestamp_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamSockets_UDP_ChallengeReply::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 connection_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_connection_id(&has_bits); - _impl_.connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 challenge = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_challenge(&has_bits); - _impl_.challenge_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional fixed64 your_timestamp = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_your_timestamp(&has_bits); - _impl_.your_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 protocol_version = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_protocol_version(&has_bits); - _impl_.protocol_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamSockets_UDP_ChallengeReply::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamSockets_UDP_ChallengeReply) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 connection_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_connection_id(), target); - } - - // optional fixed64 challenge = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_challenge(), target); - } - - // optional fixed64 your_timestamp = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_your_timestamp(), target); - } - - // optional uint32 protocol_version = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_protocol_version(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamSockets_UDP_ChallengeReply) - return target; -} - -size_t CMsgSteamSockets_UDP_ChallengeReply::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamSockets_UDP_ChallengeReply) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional fixed64 challenge = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - // optional fixed32 connection_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional uint32 protocol_version = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_protocol_version()); - } - - // optional fixed64 your_timestamp = 3; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 8; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamSockets_UDP_ChallengeReply::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamSockets_UDP_ChallengeReply::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamSockets_UDP_ChallengeReply::GetClassData() const { return &_class_data_; } - - -void CMsgSteamSockets_UDP_ChallengeReply::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamSockets_UDP_ChallengeReply) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.challenge_ = from._impl_.challenge_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.connection_id_ = from._impl_.connection_id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.protocol_version_ = from._impl_.protocol_version_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.your_timestamp_ = from._impl_.your_timestamp_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamSockets_UDP_ChallengeReply::CopyFrom(const CMsgSteamSockets_UDP_ChallengeReply& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamSockets_UDP_ChallengeReply) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamSockets_UDP_ChallengeReply::IsInitialized() const { - return true; -} - -void CMsgSteamSockets_UDP_ChallengeReply::InternalSwap(CMsgSteamSockets_UDP_ChallengeReply* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ChallengeReply, _impl_.your_timestamp_) - + sizeof(CMsgSteamSockets_UDP_ChallengeReply::_impl_.your_timestamp_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ChallengeReply, _impl_.challenge_)>( - reinterpret_cast(&_impl_.challenge_), - reinterpret_cast(&other->_impl_.challenge_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamSockets_UDP_ChallengeReply::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_5fudp_2eproto[1]); -} - -// =================================================================== - -class CMsgSteamSockets_UDP_ConnectRequest::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_client_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_challenge(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_my_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_ping_est_ms(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt(const CMsgSteamSockets_UDP_ConnectRequest* msg); - static void set_has_crypt(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamSockets_UDP_ConnectRequest* msg); - static void set_has_cert(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_legacy_protocol_version(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_identity_string(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_legacy_client_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static const ::CMsgSteamNetworkingIdentityLegacyBinary& legacy_identity_binary(const CMsgSteamSockets_UDP_ConnectRequest* msg); - static void set_has_legacy_identity_binary(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::CMsgSteamDatagramSessionCryptInfoSigned& -CMsgSteamSockets_UDP_ConnectRequest::_Internal::crypt(const CMsgSteamSockets_UDP_ConnectRequest* msg) { - return *msg->_impl_.crypt_; -} -const ::CMsgSteamDatagramCertificateSigned& -CMsgSteamSockets_UDP_ConnectRequest::_Internal::cert(const CMsgSteamSockets_UDP_ConnectRequest* msg) { - return *msg->_impl_.cert_; -} -const ::CMsgSteamNetworkingIdentityLegacyBinary& -CMsgSteamSockets_UDP_ConnectRequest::_Internal::legacy_identity_binary(const CMsgSteamSockets_UDP_ConnectRequest* msg) { - return *msg->_impl_.legacy_identity_binary_; -} -void CMsgSteamSockets_UDP_ConnectRequest::clear_crypt() { - if (_impl_.crypt_ != nullptr) _impl_.crypt_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -void CMsgSteamSockets_UDP_ConnectRequest::clear_cert() { - if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CMsgSteamSockets_UDP_ConnectRequest::clear_legacy_identity_binary() { - if (_impl_.legacy_identity_binary_ != nullptr) _impl_.legacy_identity_binary_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -CMsgSteamSockets_UDP_ConnectRequest::CMsgSteamSockets_UDP_ConnectRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamSockets_UDP_ConnectRequest) -} -CMsgSteamSockets_UDP_ConnectRequest::CMsgSteamSockets_UDP_ConnectRequest(const CMsgSteamSockets_UDP_ConnectRequest& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamSockets_UDP_ConnectRequest* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.identity_string_){} - , decltype(_impl_.cert_){nullptr} - , decltype(_impl_.crypt_){nullptr} - , decltype(_impl_.legacy_identity_binary_){nullptr} - , decltype(_impl_.challenge_){} - , decltype(_impl_.legacy_client_steam_id_){} - , decltype(_impl_.client_connection_id_){} - , decltype(_impl_.ping_est_ms_){} - , decltype(_impl_.my_timestamp_){} - , decltype(_impl_.legacy_protocol_version_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_identity_string()) { - _this->_impl_.identity_string_.Set(from._internal_identity_string(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_cert()) { - _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); - } - if (from._internal_has_crypt()) { - _this->_impl_.crypt_ = new ::CMsgSteamDatagramSessionCryptInfoSigned(*from._impl_.crypt_); - } - if (from._internal_has_legacy_identity_binary()) { - _this->_impl_.legacy_identity_binary_ = new ::CMsgSteamNetworkingIdentityLegacyBinary(*from._impl_.legacy_identity_binary_); - } - ::memcpy(&_impl_.challenge_, &from._impl_.challenge_, - static_cast(reinterpret_cast(&_impl_.legacy_protocol_version_) - - reinterpret_cast(&_impl_.challenge_)) + sizeof(_impl_.legacy_protocol_version_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamSockets_UDP_ConnectRequest) -} - -inline void CMsgSteamSockets_UDP_ConnectRequest::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.identity_string_){} - , decltype(_impl_.cert_){nullptr} - , decltype(_impl_.crypt_){nullptr} - , decltype(_impl_.legacy_identity_binary_){nullptr} - , decltype(_impl_.challenge_){uint64_t{0u}} - , decltype(_impl_.legacy_client_steam_id_){uint64_t{0u}} - , decltype(_impl_.client_connection_id_){0u} - , decltype(_impl_.ping_est_ms_){0u} - , decltype(_impl_.my_timestamp_){uint64_t{0u}} - , decltype(_impl_.legacy_protocol_version_){0u} - }; - _impl_.identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamSockets_UDP_ConnectRequest::~CMsgSteamSockets_UDP_ConnectRequest() { - // @@protoc_insertion_point(destructor:CMsgSteamSockets_UDP_ConnectRequest) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamSockets_UDP_ConnectRequest::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.identity_string_.Destroy(); - if (this != internal_default_instance()) delete _impl_.cert_; - if (this != internal_default_instance()) delete _impl_.crypt_; - if (this != internal_default_instance()) delete _impl_.legacy_identity_binary_; -} - -void CMsgSteamSockets_UDP_ConnectRequest::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamSockets_UDP_ConnectRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamSockets_UDP_ConnectRequest) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.identity_string_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.cert_ != nullptr); - _impl_.cert_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.crypt_ != nullptr); - _impl_.crypt_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.legacy_identity_binary_ != nullptr); - _impl_.legacy_identity_binary_->Clear(); - } - } - if (cached_has_bits & 0x000000f0u) { - ::memset(&_impl_.challenge_, 0, static_cast( - reinterpret_cast(&_impl_.ping_est_ms_) - - reinterpret_cast(&_impl_.challenge_)) + sizeof(_impl_.ping_est_ms_)); - } - if (cached_has_bits & 0x00000300u) { - ::memset(&_impl_.my_timestamp_, 0, static_cast( - reinterpret_cast(&_impl_.legacy_protocol_version_) - - reinterpret_cast(&_impl_.my_timestamp_)) + sizeof(_impl_.legacy_protocol_version_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamSockets_UDP_ConnectRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 client_connection_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_client_connection_id(&has_bits); - _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 challenge = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_challenge(&has_bits); - _impl_.challenge_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional fixed64 legacy_client_steam_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_legacy_client_steam_id(&has_bits); - _impl_.legacy_client_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramCertificateSigned cert = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed64 my_timestamp = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 41)) { - _Internal::set_has_my_timestamp(&has_bits); - _impl_.my_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 ping_est_ms = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_ping_est_ms(&has_bits); - _impl_.ping_est_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_crypt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 legacy_protocol_version = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_legacy_protocol_version(&has_bits); - _impl_.legacy_protocol_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr = ctx->ParseMessage(_internal_mutable_legacy_identity_binary(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string identity_string = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_identity_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamSockets_UDP_ConnectRequest.identity_string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamSockets_UDP_ConnectRequest::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamSockets_UDP_ConnectRequest) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 client_connection_id = 1; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_client_connection_id(), target); - } - - // optional fixed64 challenge = 2; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_challenge(), target); - } - - // optional fixed64 legacy_client_steam_id = 3; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_legacy_client_steam_id(), target); - } - - // optional .CMsgSteamDatagramCertificateSigned cert = 4; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::cert(this), - _Internal::cert(this).GetCachedSize(), target, stream); - } - - // optional fixed64 my_timestamp = 5; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(5, this->_internal_my_timestamp(), target); - } - - // optional uint32 ping_est_ms = 6; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_ping_est_ms(), target); - } - - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::crypt(this), - _Internal::crypt(this).GetCachedSize(), target, stream); - } - - // optional uint32 legacy_protocol_version = 8; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_legacy_protocol_version(), target); - } - - // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 9; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(9, _Internal::legacy_identity_binary(this), - _Internal::legacy_identity_binary(this).GetCachedSize(), target, stream); - } - - // optional string identity_string = 10; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_identity_string().data(), static_cast(this->_internal_identity_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamSockets_UDP_ConnectRequest.identity_string"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_identity_string(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamSockets_UDP_ConnectRequest) - return target; -} - -size_t CMsgSteamSockets_UDP_ConnectRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamSockets_UDP_ConnectRequest) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string identity_string = 10; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_identity_string()); - } - - // optional .CMsgSteamDatagramCertificateSigned cert = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cert_); - } - - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.crypt_); - } - - // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 9; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.legacy_identity_binary_); - } - - // optional fixed64 challenge = 2; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 8; - } - - // optional fixed64 legacy_client_steam_id = 3; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 8; - } - - // optional fixed32 client_connection_id = 1; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional uint32 ping_est_ms = 6; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ping_est_ms()); - } - - } - if (cached_has_bits & 0x00000300u) { - // optional fixed64 my_timestamp = 5; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 8; - } - - // optional uint32 legacy_protocol_version = 8; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_legacy_protocol_version()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamSockets_UDP_ConnectRequest::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamSockets_UDP_ConnectRequest::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamSockets_UDP_ConnectRequest::GetClassData() const { return &_class_data_; } - - -void CMsgSteamSockets_UDP_ConnectRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamSockets_UDP_ConnectRequest) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_identity_string(from._internal_identity_string()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( - from._internal_cert()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_crypt()->::CMsgSteamDatagramSessionCryptInfoSigned::MergeFrom( - from._internal_crypt()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_legacy_identity_binary()->::CMsgSteamNetworkingIdentityLegacyBinary::MergeFrom( - from._internal_legacy_identity_binary()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.challenge_ = from._impl_.challenge_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.legacy_client_steam_id_ = from._impl_.legacy_client_steam_id_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.ping_est_ms_ = from._impl_.ping_est_ms_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000300u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.my_timestamp_ = from._impl_.my_timestamp_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.legacy_protocol_version_ = from._impl_.legacy_protocol_version_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamSockets_UDP_ConnectRequest::CopyFrom(const CMsgSteamSockets_UDP_ConnectRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamSockets_UDP_ConnectRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamSockets_UDP_ConnectRequest::IsInitialized() const { - return true; -} - -void CMsgSteamSockets_UDP_ConnectRequest::InternalSwap(CMsgSteamSockets_UDP_ConnectRequest* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.identity_string_, lhs_arena, - &other->_impl_.identity_string_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ConnectRequest, _impl_.legacy_protocol_version_) - + sizeof(CMsgSteamSockets_UDP_ConnectRequest::_impl_.legacy_protocol_version_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ConnectRequest, _impl_.cert_)>( - reinterpret_cast(&_impl_.cert_), - reinterpret_cast(&other->_impl_.cert_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamSockets_UDP_ConnectRequest::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_5fudp_2eproto[2]); -} - -// =================================================================== - -class CMsgSteamSockets_UDP_ConnectOK::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_client_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_server_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_your_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_delay_time_usec(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt(const CMsgSteamSockets_UDP_ConnectOK* msg); - static void set_has_crypt(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgSteamDatagramCertificateSigned& cert(const CMsgSteamSockets_UDP_ConnectOK* msg); - static void set_has_cert(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_identity_string(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_legacy_server_steam_id(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static const ::CMsgSteamNetworkingIdentityLegacyBinary& legacy_identity_binary(const CMsgSteamSockets_UDP_ConnectOK* msg); - static void set_has_legacy_identity_binary(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::CMsgSteamDatagramSessionCryptInfoSigned& -CMsgSteamSockets_UDP_ConnectOK::_Internal::crypt(const CMsgSteamSockets_UDP_ConnectOK* msg) { - return *msg->_impl_.crypt_; -} -const ::CMsgSteamDatagramCertificateSigned& -CMsgSteamSockets_UDP_ConnectOK::_Internal::cert(const CMsgSteamSockets_UDP_ConnectOK* msg) { - return *msg->_impl_.cert_; -} -const ::CMsgSteamNetworkingIdentityLegacyBinary& -CMsgSteamSockets_UDP_ConnectOK::_Internal::legacy_identity_binary(const CMsgSteamSockets_UDP_ConnectOK* msg) { - return *msg->_impl_.legacy_identity_binary_; -} -void CMsgSteamSockets_UDP_ConnectOK::clear_crypt() { - if (_impl_.crypt_ != nullptr) _impl_.crypt_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CMsgSteamSockets_UDP_ConnectOK::clear_cert() { - if (_impl_.cert_ != nullptr) _impl_.cert_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -void CMsgSteamSockets_UDP_ConnectOK::clear_legacy_identity_binary() { - if (_impl_.legacy_identity_binary_ != nullptr) _impl_.legacy_identity_binary_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -CMsgSteamSockets_UDP_ConnectOK::CMsgSteamSockets_UDP_ConnectOK(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamSockets_UDP_ConnectOK) -} -CMsgSteamSockets_UDP_ConnectOK::CMsgSteamSockets_UDP_ConnectOK(const CMsgSteamSockets_UDP_ConnectOK& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamSockets_UDP_ConnectOK* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.identity_string_){} - , decltype(_impl_.crypt_){nullptr} - , decltype(_impl_.cert_){nullptr} - , decltype(_impl_.legacy_identity_binary_){nullptr} - , decltype(_impl_.legacy_server_steam_id_){} - , decltype(_impl_.client_connection_id_){} - , decltype(_impl_.delay_time_usec_){} - , decltype(_impl_.your_timestamp_){} - , decltype(_impl_.server_connection_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_identity_string()) { - _this->_impl_.identity_string_.Set(from._internal_identity_string(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_crypt()) { - _this->_impl_.crypt_ = new ::CMsgSteamDatagramSessionCryptInfoSigned(*from._impl_.crypt_); - } - if (from._internal_has_cert()) { - _this->_impl_.cert_ = new ::CMsgSteamDatagramCertificateSigned(*from._impl_.cert_); - } - if (from._internal_has_legacy_identity_binary()) { - _this->_impl_.legacy_identity_binary_ = new ::CMsgSteamNetworkingIdentityLegacyBinary(*from._impl_.legacy_identity_binary_); - } - ::memcpy(&_impl_.legacy_server_steam_id_, &from._impl_.legacy_server_steam_id_, - static_cast(reinterpret_cast(&_impl_.server_connection_id_) - - reinterpret_cast(&_impl_.legacy_server_steam_id_)) + sizeof(_impl_.server_connection_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamSockets_UDP_ConnectOK) -} - -inline void CMsgSteamSockets_UDP_ConnectOK::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.identity_string_){} - , decltype(_impl_.crypt_){nullptr} - , decltype(_impl_.cert_){nullptr} - , decltype(_impl_.legacy_identity_binary_){nullptr} - , decltype(_impl_.legacy_server_steam_id_){uint64_t{0u}} - , decltype(_impl_.client_connection_id_){0u} - , decltype(_impl_.delay_time_usec_){0u} - , decltype(_impl_.your_timestamp_){uint64_t{0u}} - , decltype(_impl_.server_connection_id_){0u} - }; - _impl_.identity_string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.identity_string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamSockets_UDP_ConnectOK::~CMsgSteamSockets_UDP_ConnectOK() { - // @@protoc_insertion_point(destructor:CMsgSteamSockets_UDP_ConnectOK) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamSockets_UDP_ConnectOK::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.identity_string_.Destroy(); - if (this != internal_default_instance()) delete _impl_.crypt_; - if (this != internal_default_instance()) delete _impl_.cert_; - if (this != internal_default_instance()) delete _impl_.legacy_identity_binary_; -} - -void CMsgSteamSockets_UDP_ConnectOK::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamSockets_UDP_ConnectOK::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamSockets_UDP_ConnectOK) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.identity_string_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.crypt_ != nullptr); - _impl_.crypt_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.cert_ != nullptr); - _impl_.cert_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.legacy_identity_binary_ != nullptr); - _impl_.legacy_identity_binary_->Clear(); - } - } - if (cached_has_bits & 0x000000f0u) { - ::memset(&_impl_.legacy_server_steam_id_, 0, static_cast( - reinterpret_cast(&_impl_.your_timestamp_) - - reinterpret_cast(&_impl_.legacy_server_steam_id_)) + sizeof(_impl_.your_timestamp_)); - } - _impl_.server_connection_id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamSockets_UDP_ConnectOK::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 client_connection_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_client_connection_id(&has_bits); - _impl_.client_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 legacy_server_steam_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_legacy_server_steam_id(&has_bits); - _impl_.legacy_server_steam_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional fixed64 your_timestamp = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 25)) { - _Internal::set_has_your_timestamp(&has_bits); - _impl_.your_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 delay_time_usec = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_delay_time_usec(&has_bits); - _impl_.delay_time_usec_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 server_connection_id = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_server_connection_id(&has_bits); - _impl_.server_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_crypt(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamDatagramCertificateSigned cert = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_cert(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr = ctx->ParseMessage(_internal_mutable_legacy_identity_binary(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string identity_string = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_identity_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamSockets_UDP_ConnectOK.identity_string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamSockets_UDP_ConnectOK::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamSockets_UDP_ConnectOK) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 client_connection_id = 1; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_client_connection_id(), target); - } - - // optional fixed64 legacy_server_steam_id = 2; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_legacy_server_steam_id(), target); - } - - // optional fixed64 your_timestamp = 3; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(3, this->_internal_your_timestamp(), target); - } - - // optional uint32 delay_time_usec = 4; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_delay_time_usec(), target); - } - - // optional fixed32 server_connection_id = 5; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_server_connection_id(), target); - } - - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::crypt(this), - _Internal::crypt(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamDatagramCertificateSigned cert = 8; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, _Internal::cert(this), - _Internal::cert(this).GetCachedSize(), target, stream); - } - - // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 10; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, _Internal::legacy_identity_binary(this), - _Internal::legacy_identity_binary(this).GetCachedSize(), target, stream); - } - - // optional string identity_string = 11; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_identity_string().data(), static_cast(this->_internal_identity_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamSockets_UDP_ConnectOK.identity_string"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_identity_string(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamSockets_UDP_ConnectOK) - return target; -} - -size_t CMsgSteamSockets_UDP_ConnectOK::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamSockets_UDP_ConnectOK) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string identity_string = 11; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_identity_string()); - } - - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.crypt_); - } - - // optional .CMsgSteamDatagramCertificateSigned cert = 8; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.cert_); - } - - // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 10; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.legacy_identity_binary_); - } - - // optional fixed64 legacy_server_steam_id = 2; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 8; - } - - // optional fixed32 client_connection_id = 1; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional uint32 delay_time_usec = 4; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_delay_time_usec()); - } - - // optional fixed64 your_timestamp = 3; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 8; - } - - } - // optional fixed32 server_connection_id = 5; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 4; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamSockets_UDP_ConnectOK::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamSockets_UDP_ConnectOK::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamSockets_UDP_ConnectOK::GetClassData() const { return &_class_data_; } - - -void CMsgSteamSockets_UDP_ConnectOK::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamSockets_UDP_ConnectOK) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_identity_string(from._internal_identity_string()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_crypt()->::CMsgSteamDatagramSessionCryptInfoSigned::MergeFrom( - from._internal_crypt()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_cert()->::CMsgSteamDatagramCertificateSigned::MergeFrom( - from._internal_cert()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_legacy_identity_binary()->::CMsgSteamNetworkingIdentityLegacyBinary::MergeFrom( - from._internal_legacy_identity_binary()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.legacy_server_steam_id_ = from._impl_.legacy_server_steam_id_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.client_connection_id_ = from._impl_.client_connection_id_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.delay_time_usec_ = from._impl_.delay_time_usec_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.your_timestamp_ = from._impl_.your_timestamp_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_server_connection_id(from._internal_server_connection_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamSockets_UDP_ConnectOK::CopyFrom(const CMsgSteamSockets_UDP_ConnectOK& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamSockets_UDP_ConnectOK) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamSockets_UDP_ConnectOK::IsInitialized() const { - return true; -} - -void CMsgSteamSockets_UDP_ConnectOK::InternalSwap(CMsgSteamSockets_UDP_ConnectOK* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.identity_string_, lhs_arena, - &other->_impl_.identity_string_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ConnectOK, _impl_.server_connection_id_) - + sizeof(CMsgSteamSockets_UDP_ConnectOK::_impl_.server_connection_id_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ConnectOK, _impl_.crypt_)>( - reinterpret_cast(&_impl_.crypt_), - reinterpret_cast(&other->_impl_.crypt_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamSockets_UDP_ConnectOK::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_5fudp_2eproto[3]); -} - -// =================================================================== - -class CMsgSteamSockets_UDP_ConnectionClosed::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_to_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_from_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_debug(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_reason_code(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgSteamSockets_UDP_ConnectionClosed::CMsgSteamSockets_UDP_ConnectionClosed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamSockets_UDP_ConnectionClosed) -} -CMsgSteamSockets_UDP_ConnectionClosed::CMsgSteamSockets_UDP_ConnectionClosed(const CMsgSteamSockets_UDP_ConnectionClosed& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamSockets_UDP_ConnectionClosed* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.debug_){} - , decltype(_impl_.reason_code_){} - , decltype(_impl_.to_connection_id_){} - , decltype(_impl_.from_connection_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.debug_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.debug_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_debug()) { - _this->_impl_.debug_.Set(from._internal_debug(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.reason_code_, &from._impl_.reason_code_, - static_cast(reinterpret_cast(&_impl_.from_connection_id_) - - reinterpret_cast(&_impl_.reason_code_)) + sizeof(_impl_.from_connection_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamSockets_UDP_ConnectionClosed) -} - -inline void CMsgSteamSockets_UDP_ConnectionClosed::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.debug_){} - , decltype(_impl_.reason_code_){0u} - , decltype(_impl_.to_connection_id_){0u} - , decltype(_impl_.from_connection_id_){0u} - }; - _impl_.debug_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.debug_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgSteamSockets_UDP_ConnectionClosed::~CMsgSteamSockets_UDP_ConnectionClosed() { - // @@protoc_insertion_point(destructor:CMsgSteamSockets_UDP_ConnectionClosed) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamSockets_UDP_ConnectionClosed::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.debug_.Destroy(); -} - -void CMsgSteamSockets_UDP_ConnectionClosed::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamSockets_UDP_ConnectionClosed::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamSockets_UDP_ConnectionClosed) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.debug_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.reason_code_, 0, static_cast( - reinterpret_cast(&_impl_.from_connection_id_) - - reinterpret_cast(&_impl_.reason_code_)) + sizeof(_impl_.from_connection_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamSockets_UDP_ConnectionClosed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string debug = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_debug(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgSteamSockets_UDP_ConnectionClosed.debug"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 reason_code = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_reason_code(&has_bits); - _impl_.reason_code_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 to_connection_id = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_to_connection_id(&has_bits); - _impl_.to_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 from_connection_id = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_from_connection_id(&has_bits); - _impl_.from_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamSockets_UDP_ConnectionClosed::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamSockets_UDP_ConnectionClosed) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string debug = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_debug().data(), static_cast(this->_internal_debug().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgSteamSockets_UDP_ConnectionClosed.debug"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_debug(), target); - } - - // optional uint32 reason_code = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_reason_code(), target); - } - - // optional fixed32 to_connection_id = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_to_connection_id(), target); - } - - // optional fixed32 from_connection_id = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_from_connection_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamSockets_UDP_ConnectionClosed) - return target; -} - -size_t CMsgSteamSockets_UDP_ConnectionClosed::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamSockets_UDP_ConnectionClosed) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string debug = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_debug()); - } - - // optional uint32 reason_code = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reason_code()); - } - - // optional fixed32 to_connection_id = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional fixed32 from_connection_id = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamSockets_UDP_ConnectionClosed::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamSockets_UDP_ConnectionClosed::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamSockets_UDP_ConnectionClosed::GetClassData() const { return &_class_data_; } - - -void CMsgSteamSockets_UDP_ConnectionClosed::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamSockets_UDP_ConnectionClosed) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_debug(from._internal_debug()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.reason_code_ = from._impl_.reason_code_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.to_connection_id_ = from._impl_.to_connection_id_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.from_connection_id_ = from._impl_.from_connection_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamSockets_UDP_ConnectionClosed::CopyFrom(const CMsgSteamSockets_UDP_ConnectionClosed& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamSockets_UDP_ConnectionClosed) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamSockets_UDP_ConnectionClosed::IsInitialized() const { - return true; -} - -void CMsgSteamSockets_UDP_ConnectionClosed::InternalSwap(CMsgSteamSockets_UDP_ConnectionClosed* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.debug_, lhs_arena, - &other->_impl_.debug_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ConnectionClosed, _impl_.from_connection_id_) - + sizeof(CMsgSteamSockets_UDP_ConnectionClosed::_impl_.from_connection_id_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_ConnectionClosed, _impl_.reason_code_)>( - reinterpret_cast(&_impl_.reason_code_), - reinterpret_cast(&other->_impl_.reason_code_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamSockets_UDP_ConnectionClosed::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_5fudp_2eproto[4]); -} - -// =================================================================== - -class CMsgSteamSockets_UDP_NoConnection::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_from_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_to_connection_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgSteamSockets_UDP_NoConnection::CMsgSteamSockets_UDP_NoConnection(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamSockets_UDP_NoConnection) -} -CMsgSteamSockets_UDP_NoConnection::CMsgSteamSockets_UDP_NoConnection(const CMsgSteamSockets_UDP_NoConnection& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamSockets_UDP_NoConnection* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.from_connection_id_){} - , decltype(_impl_.to_connection_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.from_connection_id_, &from._impl_.from_connection_id_, - static_cast(reinterpret_cast(&_impl_.to_connection_id_) - - reinterpret_cast(&_impl_.from_connection_id_)) + sizeof(_impl_.to_connection_id_)); - // @@protoc_insertion_point(copy_constructor:CMsgSteamSockets_UDP_NoConnection) -} - -inline void CMsgSteamSockets_UDP_NoConnection::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.from_connection_id_){0u} - , decltype(_impl_.to_connection_id_){0u} - }; -} - -CMsgSteamSockets_UDP_NoConnection::~CMsgSteamSockets_UDP_NoConnection() { - // @@protoc_insertion_point(destructor:CMsgSteamSockets_UDP_NoConnection) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamSockets_UDP_NoConnection::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgSteamSockets_UDP_NoConnection::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamSockets_UDP_NoConnection::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamSockets_UDP_NoConnection) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.from_connection_id_, 0, static_cast( - reinterpret_cast(&_impl_.to_connection_id_) - - reinterpret_cast(&_impl_.from_connection_id_)) + sizeof(_impl_.to_connection_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamSockets_UDP_NoConnection::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 from_connection_id = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_from_connection_id(&has_bits); - _impl_.from_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 to_connection_id = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_to_connection_id(&has_bits); - _impl_.to_connection_id_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamSockets_UDP_NoConnection::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamSockets_UDP_NoConnection) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 from_connection_id = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(2, this->_internal_from_connection_id(), target); - } - - // optional fixed32 to_connection_id = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_to_connection_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamSockets_UDP_NoConnection) - return target; -} - -size_t CMsgSteamSockets_UDP_NoConnection::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamSockets_UDP_NoConnection) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional fixed32 from_connection_id = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional fixed32 to_connection_id = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamSockets_UDP_NoConnection::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamSockets_UDP_NoConnection::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamSockets_UDP_NoConnection::GetClassData() const { return &_class_data_; } - - -void CMsgSteamSockets_UDP_NoConnection::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamSockets_UDP_NoConnection) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.from_connection_id_ = from._impl_.from_connection_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.to_connection_id_ = from._impl_.to_connection_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamSockets_UDP_NoConnection::CopyFrom(const CMsgSteamSockets_UDP_NoConnection& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamSockets_UDP_NoConnection) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamSockets_UDP_NoConnection::IsInitialized() const { - return true; -} - -void CMsgSteamSockets_UDP_NoConnection::InternalSwap(CMsgSteamSockets_UDP_NoConnection* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_NoConnection, _impl_.to_connection_id_) - + sizeof(CMsgSteamSockets_UDP_NoConnection::_impl_.to_connection_id_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_NoConnection, _impl_.from_connection_id_)>( - reinterpret_cast(&_impl_.from_connection_id_), - reinterpret_cast(&other->_impl_.from_connection_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamSockets_UDP_NoConnection::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_5fudp_2eproto[5]); -} - -// =================================================================== - -class CMsgSteamSockets_UDP_Stats::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgSteamDatagramConnectionQuality& stats(const CMsgSteamSockets_UDP_Stats* msg); - static void set_has_stats(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgSteamDatagramConnectionQuality& -CMsgSteamSockets_UDP_Stats::_Internal::stats(const CMsgSteamSockets_UDP_Stats* msg) { - return *msg->_impl_.stats_; -} -void CMsgSteamSockets_UDP_Stats::clear_stats() { - if (_impl_.stats_ != nullptr) _impl_.stats_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CMsgSteamSockets_UDP_Stats::CMsgSteamSockets_UDP_Stats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgSteamSockets_UDP_Stats) -} -CMsgSteamSockets_UDP_Stats::CMsgSteamSockets_UDP_Stats(const CMsgSteamSockets_UDP_Stats& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgSteamSockets_UDP_Stats* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.stats_){nullptr} - , decltype(_impl_.flags_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_stats()) { - _this->_impl_.stats_ = new ::CMsgSteamDatagramConnectionQuality(*from._impl_.stats_); - } - _this->_impl_.flags_ = from._impl_.flags_; - // @@protoc_insertion_point(copy_constructor:CMsgSteamSockets_UDP_Stats) -} - -inline void CMsgSteamSockets_UDP_Stats::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.stats_){nullptr} - , decltype(_impl_.flags_){0u} - }; -} - -CMsgSteamSockets_UDP_Stats::~CMsgSteamSockets_UDP_Stats() { - // @@protoc_insertion_point(destructor:CMsgSteamSockets_UDP_Stats) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgSteamSockets_UDP_Stats::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.stats_; -} - -void CMsgSteamSockets_UDP_Stats::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgSteamSockets_UDP_Stats::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgSteamSockets_UDP_Stats) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.stats_ != nullptr); - _impl_.stats_->Clear(); - } - _impl_.flags_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgSteamSockets_UDP_Stats::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgSteamDatagramConnectionQuality stats = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgSteamSockets_UDP_Stats::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgSteamSockets_UDP_Stats) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgSteamDatagramConnectionQuality stats = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::stats(this), - _Internal::stats(this).GetCachedSize(), target, stream); - } - - // optional uint32 flags = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_flags(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgSteamSockets_UDP_Stats) - return target; -} - -size_t CMsgSteamSockets_UDP_Stats::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgSteamSockets_UDP_Stats) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgSteamDatagramConnectionQuality stats = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.stats_); - } - - // optional uint32 flags = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgSteamSockets_UDP_Stats::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgSteamSockets_UDP_Stats::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgSteamSockets_UDP_Stats::GetClassData() const { return &_class_data_; } - - -void CMsgSteamSockets_UDP_Stats::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgSteamSockets_UDP_Stats) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_stats()->::CMsgSteamDatagramConnectionQuality::MergeFrom( - from._internal_stats()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgSteamSockets_UDP_Stats::CopyFrom(const CMsgSteamSockets_UDP_Stats& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgSteamSockets_UDP_Stats) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgSteamSockets_UDP_Stats::IsInitialized() const { - return true; -} - -void CMsgSteamSockets_UDP_Stats::InternalSwap(CMsgSteamSockets_UDP_Stats* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_Stats, _impl_.flags_) - + sizeof(CMsgSteamSockets_UDP_Stats::_impl_.flags_) - - PROTOBUF_FIELD_OFFSET(CMsgSteamSockets_UDP_Stats, _impl_.stats_)>( - reinterpret_cast(&_impl_.stats_), - reinterpret_cast(&other->_impl_.stats_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgSteamSockets_UDP_Stats::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_getter, &descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto_once, - file_level_metadata_steamnetworkingsockets_5fmessages_5fudp_2eproto[6]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CMsgSteamSockets_UDP_ChallengeRequest* -Arena::CreateMaybeMessage< ::CMsgSteamSockets_UDP_ChallengeRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamSockets_UDP_ChallengeRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamSockets_UDP_ChallengeReply* -Arena::CreateMaybeMessage< ::CMsgSteamSockets_UDP_ChallengeReply >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamSockets_UDP_ChallengeReply >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamSockets_UDP_ConnectRequest* -Arena::CreateMaybeMessage< ::CMsgSteamSockets_UDP_ConnectRequest >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamSockets_UDP_ConnectRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamSockets_UDP_ConnectOK* -Arena::CreateMaybeMessage< ::CMsgSteamSockets_UDP_ConnectOK >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamSockets_UDP_ConnectOK >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamSockets_UDP_ConnectionClosed* -Arena::CreateMaybeMessage< ::CMsgSteamSockets_UDP_ConnectionClosed >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamSockets_UDP_ConnectionClosed >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamSockets_UDP_NoConnection* -Arena::CreateMaybeMessage< ::CMsgSteamSockets_UDP_NoConnection >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamSockets_UDP_NoConnection >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgSteamSockets_UDP_Stats* -Arena::CreateMaybeMessage< ::CMsgSteamSockets_UDP_Stats >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgSteamSockets_UDP_Stats >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/steamnetworkingsockets_messages_udp.pb.h b/protobuf/generated/steamnetworkingsockets_messages_udp.pb.h deleted file mode 100644 index 4c46ea53b..000000000 --- a/protobuf/generated/steamnetworkingsockets_messages_udp.pb.h +++ /dev/null @@ -1,3296 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: steamnetworkingsockets_messages_udp.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_steamnetworkingsockets_5fmessages_5fudp_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_steamnetworkingsockets_5fmessages_5fudp_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "steamnetworkingsockets_messages_certs.pb.h" -#include "steamnetworkingsockets_messages.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_steamnetworkingsockets_5fmessages_5fudp_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_steamnetworkingsockets_5fmessages_5fudp_2eproto; -class CMsgSteamSockets_UDP_ChallengeReply; -struct CMsgSteamSockets_UDP_ChallengeReplyDefaultTypeInternal; -extern CMsgSteamSockets_UDP_ChallengeReplyDefaultTypeInternal _CMsgSteamSockets_UDP_ChallengeReply_default_instance_; -class CMsgSteamSockets_UDP_ChallengeRequest; -struct CMsgSteamSockets_UDP_ChallengeRequestDefaultTypeInternal; -extern CMsgSteamSockets_UDP_ChallengeRequestDefaultTypeInternal _CMsgSteamSockets_UDP_ChallengeRequest_default_instance_; -class CMsgSteamSockets_UDP_ConnectOK; -struct CMsgSteamSockets_UDP_ConnectOKDefaultTypeInternal; -extern CMsgSteamSockets_UDP_ConnectOKDefaultTypeInternal _CMsgSteamSockets_UDP_ConnectOK_default_instance_; -class CMsgSteamSockets_UDP_ConnectRequest; -struct CMsgSteamSockets_UDP_ConnectRequestDefaultTypeInternal; -extern CMsgSteamSockets_UDP_ConnectRequestDefaultTypeInternal _CMsgSteamSockets_UDP_ConnectRequest_default_instance_; -class CMsgSteamSockets_UDP_ConnectionClosed; -struct CMsgSteamSockets_UDP_ConnectionClosedDefaultTypeInternal; -extern CMsgSteamSockets_UDP_ConnectionClosedDefaultTypeInternal _CMsgSteamSockets_UDP_ConnectionClosed_default_instance_; -class CMsgSteamSockets_UDP_NoConnection; -struct CMsgSteamSockets_UDP_NoConnectionDefaultTypeInternal; -extern CMsgSteamSockets_UDP_NoConnectionDefaultTypeInternal _CMsgSteamSockets_UDP_NoConnection_default_instance_; -class CMsgSteamSockets_UDP_Stats; -struct CMsgSteamSockets_UDP_StatsDefaultTypeInternal; -extern CMsgSteamSockets_UDP_StatsDefaultTypeInternal _CMsgSteamSockets_UDP_Stats_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CMsgSteamSockets_UDP_ChallengeReply* Arena::CreateMaybeMessage<::CMsgSteamSockets_UDP_ChallengeReply>(Arena*); -template<> ::CMsgSteamSockets_UDP_ChallengeRequest* Arena::CreateMaybeMessage<::CMsgSteamSockets_UDP_ChallengeRequest>(Arena*); -template<> ::CMsgSteamSockets_UDP_ConnectOK* Arena::CreateMaybeMessage<::CMsgSteamSockets_UDP_ConnectOK>(Arena*); -template<> ::CMsgSteamSockets_UDP_ConnectRequest* Arena::CreateMaybeMessage<::CMsgSteamSockets_UDP_ConnectRequest>(Arena*); -template<> ::CMsgSteamSockets_UDP_ConnectionClosed* Arena::CreateMaybeMessage<::CMsgSteamSockets_UDP_ConnectionClosed>(Arena*); -template<> ::CMsgSteamSockets_UDP_NoConnection* Arena::CreateMaybeMessage<::CMsgSteamSockets_UDP_NoConnection>(Arena*); -template<> ::CMsgSteamSockets_UDP_Stats* Arena::CreateMaybeMessage<::CMsgSteamSockets_UDP_Stats>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum CMsgSteamSockets_UDP_Stats_Flags : int { - CMsgSteamSockets_UDP_Stats_Flags_ACK_REQUEST_E2E = 2, - CMsgSteamSockets_UDP_Stats_Flags_ACK_REQUEST_IMMEDIATE = 4, - CMsgSteamSockets_UDP_Stats_Flags_NOT_PRIMARY_TRANSPORT_E2E = 16 -}; -bool CMsgSteamSockets_UDP_Stats_Flags_IsValid(int value); -constexpr CMsgSteamSockets_UDP_Stats_Flags CMsgSteamSockets_UDP_Stats_Flags_Flags_MIN = CMsgSteamSockets_UDP_Stats_Flags_ACK_REQUEST_E2E; -constexpr CMsgSteamSockets_UDP_Stats_Flags CMsgSteamSockets_UDP_Stats_Flags_Flags_MAX = CMsgSteamSockets_UDP_Stats_Flags_NOT_PRIMARY_TRANSPORT_E2E; -constexpr int CMsgSteamSockets_UDP_Stats_Flags_Flags_ARRAYSIZE = CMsgSteamSockets_UDP_Stats_Flags_Flags_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CMsgSteamSockets_UDP_Stats_Flags_descriptor(); -template -inline const std::string& CMsgSteamSockets_UDP_Stats_Flags_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function CMsgSteamSockets_UDP_Stats_Flags_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - CMsgSteamSockets_UDP_Stats_Flags_descriptor(), enum_t_value); -} -inline bool CMsgSteamSockets_UDP_Stats_Flags_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CMsgSteamSockets_UDP_Stats_Flags* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - CMsgSteamSockets_UDP_Stats_Flags_descriptor(), name, value); -} -enum ESteamNetworkingUDPMsgID : int { - k_ESteamNetworkingUDPMsg_ChallengeRequest = 32, - k_ESteamNetworkingUDPMsg_ChallengeReply = 33, - k_ESteamNetworkingUDPMsg_ConnectRequest = 34, - k_ESteamNetworkingUDPMsg_ConnectOK = 35, - k_ESteamNetworkingUDPMsg_ConnectionClosed = 36, - k_ESteamNetworkingUDPMsg_NoConnection = 37 -}; -bool ESteamNetworkingUDPMsgID_IsValid(int value); -constexpr ESteamNetworkingUDPMsgID ESteamNetworkingUDPMsgID_MIN = k_ESteamNetworkingUDPMsg_ChallengeRequest; -constexpr ESteamNetworkingUDPMsgID ESteamNetworkingUDPMsgID_MAX = k_ESteamNetworkingUDPMsg_NoConnection; -constexpr int ESteamNetworkingUDPMsgID_ARRAYSIZE = ESteamNetworkingUDPMsgID_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ESteamNetworkingUDPMsgID_descriptor(); -template -inline const std::string& ESteamNetworkingUDPMsgID_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ESteamNetworkingUDPMsgID_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ESteamNetworkingUDPMsgID_descriptor(), enum_t_value); -} -inline bool ESteamNetworkingUDPMsgID_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ESteamNetworkingUDPMsgID* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ESteamNetworkingUDPMsgID_descriptor(), name, value); -} -// =================================================================== - -class CMsgSteamSockets_UDP_ChallengeRequest : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamSockets_UDP_ChallengeRequest) */ { - public: - inline CMsgSteamSockets_UDP_ChallengeRequest() : CMsgSteamSockets_UDP_ChallengeRequest(nullptr) {} - ~CMsgSteamSockets_UDP_ChallengeRequest() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ChallengeRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamSockets_UDP_ChallengeRequest(const CMsgSteamSockets_UDP_ChallengeRequest& from); - CMsgSteamSockets_UDP_ChallengeRequest(CMsgSteamSockets_UDP_ChallengeRequest&& from) noexcept - : CMsgSteamSockets_UDP_ChallengeRequest() { - *this = ::std::move(from); - } - - inline CMsgSteamSockets_UDP_ChallengeRequest& operator=(const CMsgSteamSockets_UDP_ChallengeRequest& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamSockets_UDP_ChallengeRequest& operator=(CMsgSteamSockets_UDP_ChallengeRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamSockets_UDP_ChallengeRequest& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamSockets_UDP_ChallengeRequest* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamSockets_UDP_ChallengeRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CMsgSteamSockets_UDP_ChallengeRequest& a, CMsgSteamSockets_UDP_ChallengeRequest& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamSockets_UDP_ChallengeRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamSockets_UDP_ChallengeRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamSockets_UDP_ChallengeRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamSockets_UDP_ChallengeRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamSockets_UDP_ChallengeRequest& from) { - CMsgSteamSockets_UDP_ChallengeRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamSockets_UDP_ChallengeRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamSockets_UDP_ChallengeRequest"; - } - protected: - explicit CMsgSteamSockets_UDP_ChallengeRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kConnectionIdFieldNumber = 1, - kProtocolVersionFieldNumber = 4, - kMyTimestampFieldNumber = 3, - }; - // optional fixed32 connection_id = 1; - bool has_connection_id() const; - private: - bool _internal_has_connection_id() const; - public: - void clear_connection_id(); - uint32_t connection_id() const; - void set_connection_id(uint32_t value); - private: - uint32_t _internal_connection_id() const; - void _internal_set_connection_id(uint32_t value); - public: - - // optional uint32 protocol_version = 4; - bool has_protocol_version() const; - private: - bool _internal_has_protocol_version() const; - public: - void clear_protocol_version(); - uint32_t protocol_version() const; - void set_protocol_version(uint32_t value); - private: - uint32_t _internal_protocol_version() const; - void _internal_set_protocol_version(uint32_t value); - public: - - // optional fixed64 my_timestamp = 3; - bool has_my_timestamp() const; - private: - bool _internal_has_my_timestamp() const; - public: - void clear_my_timestamp(); - uint64_t my_timestamp() const; - void set_my_timestamp(uint64_t value); - private: - uint64_t _internal_my_timestamp() const; - void _internal_set_my_timestamp(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamSockets_UDP_ChallengeRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t connection_id_; - uint32_t protocol_version_; - uint64_t my_timestamp_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamSockets_UDP_ChallengeReply : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamSockets_UDP_ChallengeReply) */ { - public: - inline CMsgSteamSockets_UDP_ChallengeReply() : CMsgSteamSockets_UDP_ChallengeReply(nullptr) {} - ~CMsgSteamSockets_UDP_ChallengeReply() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ChallengeReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamSockets_UDP_ChallengeReply(const CMsgSteamSockets_UDP_ChallengeReply& from); - CMsgSteamSockets_UDP_ChallengeReply(CMsgSteamSockets_UDP_ChallengeReply&& from) noexcept - : CMsgSteamSockets_UDP_ChallengeReply() { - *this = ::std::move(from); - } - - inline CMsgSteamSockets_UDP_ChallengeReply& operator=(const CMsgSteamSockets_UDP_ChallengeReply& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamSockets_UDP_ChallengeReply& operator=(CMsgSteamSockets_UDP_ChallengeReply&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamSockets_UDP_ChallengeReply& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamSockets_UDP_ChallengeReply* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamSockets_UDP_ChallengeReply_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CMsgSteamSockets_UDP_ChallengeReply& a, CMsgSteamSockets_UDP_ChallengeReply& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamSockets_UDP_ChallengeReply* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamSockets_UDP_ChallengeReply* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamSockets_UDP_ChallengeReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamSockets_UDP_ChallengeReply& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamSockets_UDP_ChallengeReply& from) { - CMsgSteamSockets_UDP_ChallengeReply::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamSockets_UDP_ChallengeReply* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamSockets_UDP_ChallengeReply"; - } - protected: - explicit CMsgSteamSockets_UDP_ChallengeReply(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kChallengeFieldNumber = 2, - kConnectionIdFieldNumber = 1, - kProtocolVersionFieldNumber = 4, - kYourTimestampFieldNumber = 3, - }; - // optional fixed64 challenge = 2; - bool has_challenge() const; - private: - bool _internal_has_challenge() const; - public: - void clear_challenge(); - uint64_t challenge() const; - void set_challenge(uint64_t value); - private: - uint64_t _internal_challenge() const; - void _internal_set_challenge(uint64_t value); - public: - - // optional fixed32 connection_id = 1; - bool has_connection_id() const; - private: - bool _internal_has_connection_id() const; - public: - void clear_connection_id(); - uint32_t connection_id() const; - void set_connection_id(uint32_t value); - private: - uint32_t _internal_connection_id() const; - void _internal_set_connection_id(uint32_t value); - public: - - // optional uint32 protocol_version = 4; - bool has_protocol_version() const; - private: - bool _internal_has_protocol_version() const; - public: - void clear_protocol_version(); - uint32_t protocol_version() const; - void set_protocol_version(uint32_t value); - private: - uint32_t _internal_protocol_version() const; - void _internal_set_protocol_version(uint32_t value); - public: - - // optional fixed64 your_timestamp = 3; - bool has_your_timestamp() const; - private: - bool _internal_has_your_timestamp() const; - public: - void clear_your_timestamp(); - uint64_t your_timestamp() const; - void set_your_timestamp(uint64_t value); - private: - uint64_t _internal_your_timestamp() const; - void _internal_set_your_timestamp(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamSockets_UDP_ChallengeReply) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t challenge_; - uint32_t connection_id_; - uint32_t protocol_version_; - uint64_t your_timestamp_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamSockets_UDP_ConnectRequest : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamSockets_UDP_ConnectRequest) */ { - public: - inline CMsgSteamSockets_UDP_ConnectRequest() : CMsgSteamSockets_UDP_ConnectRequest(nullptr) {} - ~CMsgSteamSockets_UDP_ConnectRequest() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ConnectRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamSockets_UDP_ConnectRequest(const CMsgSteamSockets_UDP_ConnectRequest& from); - CMsgSteamSockets_UDP_ConnectRequest(CMsgSteamSockets_UDP_ConnectRequest&& from) noexcept - : CMsgSteamSockets_UDP_ConnectRequest() { - *this = ::std::move(from); - } - - inline CMsgSteamSockets_UDP_ConnectRequest& operator=(const CMsgSteamSockets_UDP_ConnectRequest& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamSockets_UDP_ConnectRequest& operator=(CMsgSteamSockets_UDP_ConnectRequest&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamSockets_UDP_ConnectRequest& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamSockets_UDP_ConnectRequest* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamSockets_UDP_ConnectRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CMsgSteamSockets_UDP_ConnectRequest& a, CMsgSteamSockets_UDP_ConnectRequest& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamSockets_UDP_ConnectRequest* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamSockets_UDP_ConnectRequest* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamSockets_UDP_ConnectRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamSockets_UDP_ConnectRequest& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamSockets_UDP_ConnectRequest& from) { - CMsgSteamSockets_UDP_ConnectRequest::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamSockets_UDP_ConnectRequest* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamSockets_UDP_ConnectRequest"; - } - protected: - explicit CMsgSteamSockets_UDP_ConnectRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIdentityStringFieldNumber = 10, - kCertFieldNumber = 4, - kCryptFieldNumber = 7, - kLegacyIdentityBinaryFieldNumber = 9, - kChallengeFieldNumber = 2, - kLegacyClientSteamIdFieldNumber = 3, - kClientConnectionIdFieldNumber = 1, - kPingEstMsFieldNumber = 6, - kMyTimestampFieldNumber = 5, - kLegacyProtocolVersionFieldNumber = 8, - }; - // optional string identity_string = 10; - bool has_identity_string() const; - private: - bool _internal_has_identity_string() const; - public: - void clear_identity_string(); - const std::string& identity_string() const; - template - void set_identity_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_identity_string(); - PROTOBUF_NODISCARD std::string* release_identity_string(); - void set_allocated_identity_string(std::string* identity_string); - private: - const std::string& _internal_identity_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_identity_string(const std::string& value); - std::string* _internal_mutable_identity_string(); - public: - - // optional .CMsgSteamDatagramCertificateSigned cert = 4; - bool has_cert() const; - private: - bool _internal_has_cert() const; - public: - void clear_cert(); - const ::CMsgSteamDatagramCertificateSigned& cert() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); - ::CMsgSteamDatagramCertificateSigned* mutable_cert(); - void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); - private: - const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; - ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); - public: - void unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert); - ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); - - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; - bool has_crypt() const; - private: - bool _internal_has_crypt() const; - public: - void clear_crypt(); - const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramSessionCryptInfoSigned* release_crypt(); - ::CMsgSteamDatagramSessionCryptInfoSigned* mutable_crypt(); - void set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt); - private: - const ::CMsgSteamDatagramSessionCryptInfoSigned& _internal_crypt() const; - ::CMsgSteamDatagramSessionCryptInfoSigned* _internal_mutable_crypt(); - public: - void unsafe_arena_set_allocated_crypt( - ::CMsgSteamDatagramSessionCryptInfoSigned* crypt); - ::CMsgSteamDatagramSessionCryptInfoSigned* unsafe_arena_release_crypt(); - - // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 9; - bool has_legacy_identity_binary() const; - private: - bool _internal_has_legacy_identity_binary() const; - public: - void clear_legacy_identity_binary(); - const ::CMsgSteamNetworkingIdentityLegacyBinary& legacy_identity_binary() const; - PROTOBUF_NODISCARD ::CMsgSteamNetworkingIdentityLegacyBinary* release_legacy_identity_binary(); - ::CMsgSteamNetworkingIdentityLegacyBinary* mutable_legacy_identity_binary(); - void set_allocated_legacy_identity_binary(::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary); - private: - const ::CMsgSteamNetworkingIdentityLegacyBinary& _internal_legacy_identity_binary() const; - ::CMsgSteamNetworkingIdentityLegacyBinary* _internal_mutable_legacy_identity_binary(); - public: - void unsafe_arena_set_allocated_legacy_identity_binary( - ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary); - ::CMsgSteamNetworkingIdentityLegacyBinary* unsafe_arena_release_legacy_identity_binary(); - - // optional fixed64 challenge = 2; - bool has_challenge() const; - private: - bool _internal_has_challenge() const; - public: - void clear_challenge(); - uint64_t challenge() const; - void set_challenge(uint64_t value); - private: - uint64_t _internal_challenge() const; - void _internal_set_challenge(uint64_t value); - public: - - // optional fixed64 legacy_client_steam_id = 3; - bool has_legacy_client_steam_id() const; - private: - bool _internal_has_legacy_client_steam_id() const; - public: - void clear_legacy_client_steam_id(); - uint64_t legacy_client_steam_id() const; - void set_legacy_client_steam_id(uint64_t value); - private: - uint64_t _internal_legacy_client_steam_id() const; - void _internal_set_legacy_client_steam_id(uint64_t value); - public: - - // optional fixed32 client_connection_id = 1; - bool has_client_connection_id() const; - private: - bool _internal_has_client_connection_id() const; - public: - void clear_client_connection_id(); - uint32_t client_connection_id() const; - void set_client_connection_id(uint32_t value); - private: - uint32_t _internal_client_connection_id() const; - void _internal_set_client_connection_id(uint32_t value); - public: - - // optional uint32 ping_est_ms = 6; - bool has_ping_est_ms() const; - private: - bool _internal_has_ping_est_ms() const; - public: - void clear_ping_est_ms(); - uint32_t ping_est_ms() const; - void set_ping_est_ms(uint32_t value); - private: - uint32_t _internal_ping_est_ms() const; - void _internal_set_ping_est_ms(uint32_t value); - public: - - // optional fixed64 my_timestamp = 5; - bool has_my_timestamp() const; - private: - bool _internal_has_my_timestamp() const; - public: - void clear_my_timestamp(); - uint64_t my_timestamp() const; - void set_my_timestamp(uint64_t value); - private: - uint64_t _internal_my_timestamp() const; - void _internal_set_my_timestamp(uint64_t value); - public: - - // optional uint32 legacy_protocol_version = 8; - bool has_legacy_protocol_version() const; - private: - bool _internal_has_legacy_protocol_version() const; - public: - void clear_legacy_protocol_version(); - uint32_t legacy_protocol_version() const; - void set_legacy_protocol_version(uint32_t value); - private: - uint32_t _internal_legacy_protocol_version() const; - void _internal_set_legacy_protocol_version(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamSockets_UDP_ConnectRequest) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identity_string_; - ::CMsgSteamDatagramCertificateSigned* cert_; - ::CMsgSteamDatagramSessionCryptInfoSigned* crypt_; - ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary_; - uint64_t challenge_; - uint64_t legacy_client_steam_id_; - uint32_t client_connection_id_; - uint32_t ping_est_ms_; - uint64_t my_timestamp_; - uint32_t legacy_protocol_version_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamSockets_UDP_ConnectOK : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamSockets_UDP_ConnectOK) */ { - public: - inline CMsgSteamSockets_UDP_ConnectOK() : CMsgSteamSockets_UDP_ConnectOK(nullptr) {} - ~CMsgSteamSockets_UDP_ConnectOK() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ConnectOK(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamSockets_UDP_ConnectOK(const CMsgSteamSockets_UDP_ConnectOK& from); - CMsgSteamSockets_UDP_ConnectOK(CMsgSteamSockets_UDP_ConnectOK&& from) noexcept - : CMsgSteamSockets_UDP_ConnectOK() { - *this = ::std::move(from); - } - - inline CMsgSteamSockets_UDP_ConnectOK& operator=(const CMsgSteamSockets_UDP_ConnectOK& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamSockets_UDP_ConnectOK& operator=(CMsgSteamSockets_UDP_ConnectOK&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamSockets_UDP_ConnectOK& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamSockets_UDP_ConnectOK* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamSockets_UDP_ConnectOK_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CMsgSteamSockets_UDP_ConnectOK& a, CMsgSteamSockets_UDP_ConnectOK& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamSockets_UDP_ConnectOK* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamSockets_UDP_ConnectOK* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamSockets_UDP_ConnectOK* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamSockets_UDP_ConnectOK& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamSockets_UDP_ConnectOK& from) { - CMsgSteamSockets_UDP_ConnectOK::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamSockets_UDP_ConnectOK* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamSockets_UDP_ConnectOK"; - } - protected: - explicit CMsgSteamSockets_UDP_ConnectOK(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIdentityStringFieldNumber = 11, - kCryptFieldNumber = 7, - kCertFieldNumber = 8, - kLegacyIdentityBinaryFieldNumber = 10, - kLegacyServerSteamIdFieldNumber = 2, - kClientConnectionIdFieldNumber = 1, - kDelayTimeUsecFieldNumber = 4, - kYourTimestampFieldNumber = 3, - kServerConnectionIdFieldNumber = 5, - }; - // optional string identity_string = 11; - bool has_identity_string() const; - private: - bool _internal_has_identity_string() const; - public: - void clear_identity_string(); - const std::string& identity_string() const; - template - void set_identity_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_identity_string(); - PROTOBUF_NODISCARD std::string* release_identity_string(); - void set_allocated_identity_string(std::string* identity_string); - private: - const std::string& _internal_identity_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_identity_string(const std::string& value); - std::string* _internal_mutable_identity_string(); - public: - - // optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; - bool has_crypt() const; - private: - bool _internal_has_crypt() const; - public: - void clear_crypt(); - const ::CMsgSteamDatagramSessionCryptInfoSigned& crypt() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramSessionCryptInfoSigned* release_crypt(); - ::CMsgSteamDatagramSessionCryptInfoSigned* mutable_crypt(); - void set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt); - private: - const ::CMsgSteamDatagramSessionCryptInfoSigned& _internal_crypt() const; - ::CMsgSteamDatagramSessionCryptInfoSigned* _internal_mutable_crypt(); - public: - void unsafe_arena_set_allocated_crypt( - ::CMsgSteamDatagramSessionCryptInfoSigned* crypt); - ::CMsgSteamDatagramSessionCryptInfoSigned* unsafe_arena_release_crypt(); - - // optional .CMsgSteamDatagramCertificateSigned cert = 8; - bool has_cert() const; - private: - bool _internal_has_cert() const; - public: - void clear_cert(); - const ::CMsgSteamDatagramCertificateSigned& cert() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramCertificateSigned* release_cert(); - ::CMsgSteamDatagramCertificateSigned* mutable_cert(); - void set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert); - private: - const ::CMsgSteamDatagramCertificateSigned& _internal_cert() const; - ::CMsgSteamDatagramCertificateSigned* _internal_mutable_cert(); - public: - void unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert); - ::CMsgSteamDatagramCertificateSigned* unsafe_arena_release_cert(); - - // optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 10; - bool has_legacy_identity_binary() const; - private: - bool _internal_has_legacy_identity_binary() const; - public: - void clear_legacy_identity_binary(); - const ::CMsgSteamNetworkingIdentityLegacyBinary& legacy_identity_binary() const; - PROTOBUF_NODISCARD ::CMsgSteamNetworkingIdentityLegacyBinary* release_legacy_identity_binary(); - ::CMsgSteamNetworkingIdentityLegacyBinary* mutable_legacy_identity_binary(); - void set_allocated_legacy_identity_binary(::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary); - private: - const ::CMsgSteamNetworkingIdentityLegacyBinary& _internal_legacy_identity_binary() const; - ::CMsgSteamNetworkingIdentityLegacyBinary* _internal_mutable_legacy_identity_binary(); - public: - void unsafe_arena_set_allocated_legacy_identity_binary( - ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary); - ::CMsgSteamNetworkingIdentityLegacyBinary* unsafe_arena_release_legacy_identity_binary(); - - // optional fixed64 legacy_server_steam_id = 2; - bool has_legacy_server_steam_id() const; - private: - bool _internal_has_legacy_server_steam_id() const; - public: - void clear_legacy_server_steam_id(); - uint64_t legacy_server_steam_id() const; - void set_legacy_server_steam_id(uint64_t value); - private: - uint64_t _internal_legacy_server_steam_id() const; - void _internal_set_legacy_server_steam_id(uint64_t value); - public: - - // optional fixed32 client_connection_id = 1; - bool has_client_connection_id() const; - private: - bool _internal_has_client_connection_id() const; - public: - void clear_client_connection_id(); - uint32_t client_connection_id() const; - void set_client_connection_id(uint32_t value); - private: - uint32_t _internal_client_connection_id() const; - void _internal_set_client_connection_id(uint32_t value); - public: - - // optional uint32 delay_time_usec = 4; - bool has_delay_time_usec() const; - private: - bool _internal_has_delay_time_usec() const; - public: - void clear_delay_time_usec(); - uint32_t delay_time_usec() const; - void set_delay_time_usec(uint32_t value); - private: - uint32_t _internal_delay_time_usec() const; - void _internal_set_delay_time_usec(uint32_t value); - public: - - // optional fixed64 your_timestamp = 3; - bool has_your_timestamp() const; - private: - bool _internal_has_your_timestamp() const; - public: - void clear_your_timestamp(); - uint64_t your_timestamp() const; - void set_your_timestamp(uint64_t value); - private: - uint64_t _internal_your_timestamp() const; - void _internal_set_your_timestamp(uint64_t value); - public: - - // optional fixed32 server_connection_id = 5; - bool has_server_connection_id() const; - private: - bool _internal_has_server_connection_id() const; - public: - void clear_server_connection_id(); - uint32_t server_connection_id() const; - void set_server_connection_id(uint32_t value); - private: - uint32_t _internal_server_connection_id() const; - void _internal_set_server_connection_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamSockets_UDP_ConnectOK) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identity_string_; - ::CMsgSteamDatagramSessionCryptInfoSigned* crypt_; - ::CMsgSteamDatagramCertificateSigned* cert_; - ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary_; - uint64_t legacy_server_steam_id_; - uint32_t client_connection_id_; - uint32_t delay_time_usec_; - uint64_t your_timestamp_; - uint32_t server_connection_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamSockets_UDP_ConnectionClosed : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamSockets_UDP_ConnectionClosed) */ { - public: - inline CMsgSteamSockets_UDP_ConnectionClosed() : CMsgSteamSockets_UDP_ConnectionClosed(nullptr) {} - ~CMsgSteamSockets_UDP_ConnectionClosed() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_ConnectionClosed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamSockets_UDP_ConnectionClosed(const CMsgSteamSockets_UDP_ConnectionClosed& from); - CMsgSteamSockets_UDP_ConnectionClosed(CMsgSteamSockets_UDP_ConnectionClosed&& from) noexcept - : CMsgSteamSockets_UDP_ConnectionClosed() { - *this = ::std::move(from); - } - - inline CMsgSteamSockets_UDP_ConnectionClosed& operator=(const CMsgSteamSockets_UDP_ConnectionClosed& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamSockets_UDP_ConnectionClosed& operator=(CMsgSteamSockets_UDP_ConnectionClosed&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamSockets_UDP_ConnectionClosed& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamSockets_UDP_ConnectionClosed* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamSockets_UDP_ConnectionClosed_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CMsgSteamSockets_UDP_ConnectionClosed& a, CMsgSteamSockets_UDP_ConnectionClosed& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamSockets_UDP_ConnectionClosed* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamSockets_UDP_ConnectionClosed* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamSockets_UDP_ConnectionClosed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamSockets_UDP_ConnectionClosed& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamSockets_UDP_ConnectionClosed& from) { - CMsgSteamSockets_UDP_ConnectionClosed::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamSockets_UDP_ConnectionClosed* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamSockets_UDP_ConnectionClosed"; - } - protected: - explicit CMsgSteamSockets_UDP_ConnectionClosed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDebugFieldNumber = 2, - kReasonCodeFieldNumber = 3, - kToConnectionIdFieldNumber = 4, - kFromConnectionIdFieldNumber = 5, - }; - // optional string debug = 2; - bool has_debug() const; - private: - bool _internal_has_debug() const; - public: - void clear_debug(); - const std::string& debug() const; - template - void set_debug(ArgT0&& arg0, ArgT... args); - std::string* mutable_debug(); - PROTOBUF_NODISCARD std::string* release_debug(); - void set_allocated_debug(std::string* debug); - private: - const std::string& _internal_debug() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_debug(const std::string& value); - std::string* _internal_mutable_debug(); - public: - - // optional uint32 reason_code = 3; - bool has_reason_code() const; - private: - bool _internal_has_reason_code() const; - public: - void clear_reason_code(); - uint32_t reason_code() const; - void set_reason_code(uint32_t value); - private: - uint32_t _internal_reason_code() const; - void _internal_set_reason_code(uint32_t value); - public: - - // optional fixed32 to_connection_id = 4; - bool has_to_connection_id() const; - private: - bool _internal_has_to_connection_id() const; - public: - void clear_to_connection_id(); - uint32_t to_connection_id() const; - void set_to_connection_id(uint32_t value); - private: - uint32_t _internal_to_connection_id() const; - void _internal_set_to_connection_id(uint32_t value); - public: - - // optional fixed32 from_connection_id = 5; - bool has_from_connection_id() const; - private: - bool _internal_has_from_connection_id() const; - public: - void clear_from_connection_id(); - uint32_t from_connection_id() const; - void set_from_connection_id(uint32_t value); - private: - uint32_t _internal_from_connection_id() const; - void _internal_set_from_connection_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamSockets_UDP_ConnectionClosed) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr debug_; - uint32_t reason_code_; - uint32_t to_connection_id_; - uint32_t from_connection_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamSockets_UDP_NoConnection : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamSockets_UDP_NoConnection) */ { - public: - inline CMsgSteamSockets_UDP_NoConnection() : CMsgSteamSockets_UDP_NoConnection(nullptr) {} - ~CMsgSteamSockets_UDP_NoConnection() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_NoConnection(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamSockets_UDP_NoConnection(const CMsgSteamSockets_UDP_NoConnection& from); - CMsgSteamSockets_UDP_NoConnection(CMsgSteamSockets_UDP_NoConnection&& from) noexcept - : CMsgSteamSockets_UDP_NoConnection() { - *this = ::std::move(from); - } - - inline CMsgSteamSockets_UDP_NoConnection& operator=(const CMsgSteamSockets_UDP_NoConnection& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamSockets_UDP_NoConnection& operator=(CMsgSteamSockets_UDP_NoConnection&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamSockets_UDP_NoConnection& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamSockets_UDP_NoConnection* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamSockets_UDP_NoConnection_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CMsgSteamSockets_UDP_NoConnection& a, CMsgSteamSockets_UDP_NoConnection& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamSockets_UDP_NoConnection* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamSockets_UDP_NoConnection* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamSockets_UDP_NoConnection* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamSockets_UDP_NoConnection& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamSockets_UDP_NoConnection& from) { - CMsgSteamSockets_UDP_NoConnection::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamSockets_UDP_NoConnection* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamSockets_UDP_NoConnection"; - } - protected: - explicit CMsgSteamSockets_UDP_NoConnection(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFromConnectionIdFieldNumber = 2, - kToConnectionIdFieldNumber = 3, - }; - // optional fixed32 from_connection_id = 2; - bool has_from_connection_id() const; - private: - bool _internal_has_from_connection_id() const; - public: - void clear_from_connection_id(); - uint32_t from_connection_id() const; - void set_from_connection_id(uint32_t value); - private: - uint32_t _internal_from_connection_id() const; - void _internal_set_from_connection_id(uint32_t value); - public: - - // optional fixed32 to_connection_id = 3; - bool has_to_connection_id() const; - private: - bool _internal_has_to_connection_id() const; - public: - void clear_to_connection_id(); - uint32_t to_connection_id() const; - void set_to_connection_id(uint32_t value); - private: - uint32_t _internal_to_connection_id() const; - void _internal_set_to_connection_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamSockets_UDP_NoConnection) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t from_connection_id_; - uint32_t to_connection_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgSteamSockets_UDP_Stats : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgSteamSockets_UDP_Stats) */ { - public: - inline CMsgSteamSockets_UDP_Stats() : CMsgSteamSockets_UDP_Stats(nullptr) {} - ~CMsgSteamSockets_UDP_Stats() override; - explicit PROTOBUF_CONSTEXPR CMsgSteamSockets_UDP_Stats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgSteamSockets_UDP_Stats(const CMsgSteamSockets_UDP_Stats& from); - CMsgSteamSockets_UDP_Stats(CMsgSteamSockets_UDP_Stats&& from) noexcept - : CMsgSteamSockets_UDP_Stats() { - *this = ::std::move(from); - } - - inline CMsgSteamSockets_UDP_Stats& operator=(const CMsgSteamSockets_UDP_Stats& from) { - CopyFrom(from); - return *this; - } - inline CMsgSteamSockets_UDP_Stats& operator=(CMsgSteamSockets_UDP_Stats&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgSteamSockets_UDP_Stats& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgSteamSockets_UDP_Stats* internal_default_instance() { - return reinterpret_cast( - &_CMsgSteamSockets_UDP_Stats_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CMsgSteamSockets_UDP_Stats& a, CMsgSteamSockets_UDP_Stats& b) { - a.Swap(&b); - } - inline void Swap(CMsgSteamSockets_UDP_Stats* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgSteamSockets_UDP_Stats* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgSteamSockets_UDP_Stats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgSteamSockets_UDP_Stats& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgSteamSockets_UDP_Stats& from) { - CMsgSteamSockets_UDP_Stats::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgSteamSockets_UDP_Stats* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgSteamSockets_UDP_Stats"; - } - protected: - explicit CMsgSteamSockets_UDP_Stats(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CMsgSteamSockets_UDP_Stats_Flags Flags; - static constexpr Flags ACK_REQUEST_E2E = - CMsgSteamSockets_UDP_Stats_Flags_ACK_REQUEST_E2E; - static constexpr Flags ACK_REQUEST_IMMEDIATE = - CMsgSteamSockets_UDP_Stats_Flags_ACK_REQUEST_IMMEDIATE; - static constexpr Flags NOT_PRIMARY_TRANSPORT_E2E = - CMsgSteamSockets_UDP_Stats_Flags_NOT_PRIMARY_TRANSPORT_E2E; - static inline bool Flags_IsValid(int value) { - return CMsgSteamSockets_UDP_Stats_Flags_IsValid(value); - } - static constexpr Flags Flags_MIN = - CMsgSteamSockets_UDP_Stats_Flags_Flags_MIN; - static constexpr Flags Flags_MAX = - CMsgSteamSockets_UDP_Stats_Flags_Flags_MAX; - static constexpr int Flags_ARRAYSIZE = - CMsgSteamSockets_UDP_Stats_Flags_Flags_ARRAYSIZE; - static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* - Flags_descriptor() { - return CMsgSteamSockets_UDP_Stats_Flags_descriptor(); - } - template - static inline const std::string& Flags_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function Flags_Name."); - return CMsgSteamSockets_UDP_Stats_Flags_Name(enum_t_value); - } - static inline bool Flags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, - Flags* value) { - return CMsgSteamSockets_UDP_Stats_Flags_Parse(name, value); - } - - // accessors ------------------------------------------------------- - - enum : int { - kStatsFieldNumber = 1, - kFlagsFieldNumber = 3, - }; - // optional .CMsgSteamDatagramConnectionQuality stats = 1; - bool has_stats() const; - private: - bool _internal_has_stats() const; - public: - void clear_stats(); - const ::CMsgSteamDatagramConnectionQuality& stats() const; - PROTOBUF_NODISCARD ::CMsgSteamDatagramConnectionQuality* release_stats(); - ::CMsgSteamDatagramConnectionQuality* mutable_stats(); - void set_allocated_stats(::CMsgSteamDatagramConnectionQuality* stats); - private: - const ::CMsgSteamDatagramConnectionQuality& _internal_stats() const; - ::CMsgSteamDatagramConnectionQuality* _internal_mutable_stats(); - public: - void unsafe_arena_set_allocated_stats( - ::CMsgSteamDatagramConnectionQuality* stats); - ::CMsgSteamDatagramConnectionQuality* unsafe_arena_release_stats(); - - // optional uint32 flags = 3; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgSteamSockets_UDP_Stats) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgSteamDatagramConnectionQuality* stats_; - uint32_t flags_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_steamnetworkingsockets_5fmessages_5fudp_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CMsgSteamSockets_UDP_ChallengeRequest - -// optional fixed32 connection_id = 1; -inline bool CMsgSteamSockets_UDP_ChallengeRequest::_internal_has_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ChallengeRequest::has_connection_id() const { - return _internal_has_connection_id(); -} -inline void CMsgSteamSockets_UDP_ChallengeRequest::clear_connection_id() { - _impl_.connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSteamSockets_UDP_ChallengeRequest::_internal_connection_id() const { - return _impl_.connection_id_; -} -inline uint32_t CMsgSteamSockets_UDP_ChallengeRequest::connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ChallengeRequest.connection_id) - return _internal_connection_id(); -} -inline void CMsgSteamSockets_UDP_ChallengeRequest::_internal_set_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.connection_id_ = value; -} -inline void CMsgSteamSockets_UDP_ChallengeRequest::set_connection_id(uint32_t value) { - _internal_set_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ChallengeRequest.connection_id) -} - -// optional fixed64 my_timestamp = 3; -inline bool CMsgSteamSockets_UDP_ChallengeRequest::_internal_has_my_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ChallengeRequest::has_my_timestamp() const { - return _internal_has_my_timestamp(); -} -inline void CMsgSteamSockets_UDP_ChallengeRequest::clear_my_timestamp() { - _impl_.my_timestamp_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CMsgSteamSockets_UDP_ChallengeRequest::_internal_my_timestamp() const { - return _impl_.my_timestamp_; -} -inline uint64_t CMsgSteamSockets_UDP_ChallengeRequest::my_timestamp() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ChallengeRequest.my_timestamp) - return _internal_my_timestamp(); -} -inline void CMsgSteamSockets_UDP_ChallengeRequest::_internal_set_my_timestamp(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.my_timestamp_ = value; -} -inline void CMsgSteamSockets_UDP_ChallengeRequest::set_my_timestamp(uint64_t value) { - _internal_set_my_timestamp(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ChallengeRequest.my_timestamp) -} - -// optional uint32 protocol_version = 4; -inline bool CMsgSteamSockets_UDP_ChallengeRequest::_internal_has_protocol_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ChallengeRequest::has_protocol_version() const { - return _internal_has_protocol_version(); -} -inline void CMsgSteamSockets_UDP_ChallengeRequest::clear_protocol_version() { - _impl_.protocol_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamSockets_UDP_ChallengeRequest::_internal_protocol_version() const { - return _impl_.protocol_version_; -} -inline uint32_t CMsgSteamSockets_UDP_ChallengeRequest::protocol_version() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ChallengeRequest.protocol_version) - return _internal_protocol_version(); -} -inline void CMsgSteamSockets_UDP_ChallengeRequest::_internal_set_protocol_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.protocol_version_ = value; -} -inline void CMsgSteamSockets_UDP_ChallengeRequest::set_protocol_version(uint32_t value) { - _internal_set_protocol_version(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ChallengeRequest.protocol_version) -} - -// ------------------------------------------------------------------- - -// CMsgSteamSockets_UDP_ChallengeReply - -// optional fixed32 connection_id = 1; -inline bool CMsgSteamSockets_UDP_ChallengeReply::_internal_has_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ChallengeReply::has_connection_id() const { - return _internal_has_connection_id(); -} -inline void CMsgSteamSockets_UDP_ChallengeReply::clear_connection_id() { - _impl_.connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamSockets_UDP_ChallengeReply::_internal_connection_id() const { - return _impl_.connection_id_; -} -inline uint32_t CMsgSteamSockets_UDP_ChallengeReply::connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ChallengeReply.connection_id) - return _internal_connection_id(); -} -inline void CMsgSteamSockets_UDP_ChallengeReply::_internal_set_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.connection_id_ = value; -} -inline void CMsgSteamSockets_UDP_ChallengeReply::set_connection_id(uint32_t value) { - _internal_set_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ChallengeReply.connection_id) -} - -// optional fixed64 challenge = 2; -inline bool CMsgSteamSockets_UDP_ChallengeReply::_internal_has_challenge() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ChallengeReply::has_challenge() const { - return _internal_has_challenge(); -} -inline void CMsgSteamSockets_UDP_ChallengeReply::clear_challenge() { - _impl_.challenge_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgSteamSockets_UDP_ChallengeReply::_internal_challenge() const { - return _impl_.challenge_; -} -inline uint64_t CMsgSteamSockets_UDP_ChallengeReply::challenge() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ChallengeReply.challenge) - return _internal_challenge(); -} -inline void CMsgSteamSockets_UDP_ChallengeReply::_internal_set_challenge(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.challenge_ = value; -} -inline void CMsgSteamSockets_UDP_ChallengeReply::set_challenge(uint64_t value) { - _internal_set_challenge(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ChallengeReply.challenge) -} - -// optional fixed64 your_timestamp = 3; -inline bool CMsgSteamSockets_UDP_ChallengeReply::_internal_has_your_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ChallengeReply::has_your_timestamp() const { - return _internal_has_your_timestamp(); -} -inline void CMsgSteamSockets_UDP_ChallengeReply::clear_your_timestamp() { - _impl_.your_timestamp_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CMsgSteamSockets_UDP_ChallengeReply::_internal_your_timestamp() const { - return _impl_.your_timestamp_; -} -inline uint64_t CMsgSteamSockets_UDP_ChallengeReply::your_timestamp() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ChallengeReply.your_timestamp) - return _internal_your_timestamp(); -} -inline void CMsgSteamSockets_UDP_ChallengeReply::_internal_set_your_timestamp(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.your_timestamp_ = value; -} -inline void CMsgSteamSockets_UDP_ChallengeReply::set_your_timestamp(uint64_t value) { - _internal_set_your_timestamp(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ChallengeReply.your_timestamp) -} - -// optional uint32 protocol_version = 4; -inline bool CMsgSteamSockets_UDP_ChallengeReply::_internal_has_protocol_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ChallengeReply::has_protocol_version() const { - return _internal_has_protocol_version(); -} -inline void CMsgSteamSockets_UDP_ChallengeReply::clear_protocol_version() { - _impl_.protocol_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamSockets_UDP_ChallengeReply::_internal_protocol_version() const { - return _impl_.protocol_version_; -} -inline uint32_t CMsgSteamSockets_UDP_ChallengeReply::protocol_version() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ChallengeReply.protocol_version) - return _internal_protocol_version(); -} -inline void CMsgSteamSockets_UDP_ChallengeReply::_internal_set_protocol_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.protocol_version_ = value; -} -inline void CMsgSteamSockets_UDP_ChallengeReply::set_protocol_version(uint32_t value) { - _internal_set_protocol_version(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ChallengeReply.protocol_version) -} - -// ------------------------------------------------------------------- - -// CMsgSteamSockets_UDP_ConnectRequest - -// optional fixed32 client_connection_id = 1; -inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_client_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectRequest::has_client_connection_id() const { - return _internal_has_client_connection_id(); -} -inline void CMsgSteamSockets_UDP_ConnectRequest::clear_client_connection_id() { - _impl_.client_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamSockets_UDP_ConnectRequest::_internal_client_connection_id() const { - return _impl_.client_connection_id_; -} -inline uint32_t CMsgSteamSockets_UDP_ConnectRequest::client_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.client_connection_id) - return _internal_client_connection_id(); -} -inline void CMsgSteamSockets_UDP_ConnectRequest::_internal_set_client_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.client_connection_id_ = value; -} -inline void CMsgSteamSockets_UDP_ConnectRequest::set_client_connection_id(uint32_t value) { - _internal_set_client_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectRequest.client_connection_id) -} - -// optional fixed64 challenge = 2; -inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_challenge() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectRequest::has_challenge() const { - return _internal_has_challenge(); -} -inline void CMsgSteamSockets_UDP_ConnectRequest::clear_challenge() { - _impl_.challenge_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CMsgSteamSockets_UDP_ConnectRequest::_internal_challenge() const { - return _impl_.challenge_; -} -inline uint64_t CMsgSteamSockets_UDP_ConnectRequest::challenge() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.challenge) - return _internal_challenge(); -} -inline void CMsgSteamSockets_UDP_ConnectRequest::_internal_set_challenge(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.challenge_ = value; -} -inline void CMsgSteamSockets_UDP_ConnectRequest::set_challenge(uint64_t value) { - _internal_set_challenge(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectRequest.challenge) -} - -// optional fixed64 my_timestamp = 5; -inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_my_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectRequest::has_my_timestamp() const { - return _internal_has_my_timestamp(); -} -inline void CMsgSteamSockets_UDP_ConnectRequest::clear_my_timestamp() { - _impl_.my_timestamp_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint64_t CMsgSteamSockets_UDP_ConnectRequest::_internal_my_timestamp() const { - return _impl_.my_timestamp_; -} -inline uint64_t CMsgSteamSockets_UDP_ConnectRequest::my_timestamp() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.my_timestamp) - return _internal_my_timestamp(); -} -inline void CMsgSteamSockets_UDP_ConnectRequest::_internal_set_my_timestamp(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.my_timestamp_ = value; -} -inline void CMsgSteamSockets_UDP_ConnectRequest::set_my_timestamp(uint64_t value) { - _internal_set_my_timestamp(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectRequest.my_timestamp) -} - -// optional uint32 ping_est_ms = 6; -inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_ping_est_ms() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectRequest::has_ping_est_ms() const { - return _internal_has_ping_est_ms(); -} -inline void CMsgSteamSockets_UDP_ConnectRequest::clear_ping_est_ms() { - _impl_.ping_est_ms_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgSteamSockets_UDP_ConnectRequest::_internal_ping_est_ms() const { - return _impl_.ping_est_ms_; -} -inline uint32_t CMsgSteamSockets_UDP_ConnectRequest::ping_est_ms() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.ping_est_ms) - return _internal_ping_est_ms(); -} -inline void CMsgSteamSockets_UDP_ConnectRequest::_internal_set_ping_est_ms(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.ping_est_ms_ = value; -} -inline void CMsgSteamSockets_UDP_ConnectRequest::set_ping_est_ms(uint32_t value) { - _internal_set_ping_est_ms(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectRequest.ping_est_ms) -} - -// optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; -inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_crypt() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.crypt_ != nullptr); - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectRequest::has_crypt() const { - return _internal_has_crypt(); -} -inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamSockets_UDP_ConnectRequest::_internal_crypt() const { - const ::CMsgSteamDatagramSessionCryptInfoSigned* p = _impl_.crypt_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramSessionCryptInfoSigned_default_instance_); -} -inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamSockets_UDP_ConnectRequest::crypt() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.crypt) - return _internal_crypt(); -} -inline void CMsgSteamSockets_UDP_ConnectRequest::unsafe_arena_set_allocated_crypt( - ::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); - } - _impl_.crypt_ = crypt; - if (crypt) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamSockets_UDP_ConnectRequest.crypt) -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamSockets_UDP_ConnectRequest::release_crypt() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; - _impl_.crypt_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamSockets_UDP_ConnectRequest::unsafe_arena_release_crypt() { - // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_ConnectRequest.crypt) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; - _impl_.crypt_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamSockets_UDP_ConnectRequest::_internal_mutable_crypt() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.crypt_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramSessionCryptInfoSigned>(GetArenaForAllocation()); - _impl_.crypt_ = p; - } - return _impl_.crypt_; -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamSockets_UDP_ConnectRequest::mutable_crypt() { - ::CMsgSteamDatagramSessionCryptInfoSigned* _msg = _internal_mutable_crypt(); - // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_ConnectRequest.crypt) - return _msg; -} -inline void CMsgSteamSockets_UDP_ConnectRequest::set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); - } - if (crypt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(crypt)); - if (message_arena != submessage_arena) { - crypt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, crypt, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.crypt_ = crypt; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_ConnectRequest.crypt) -} - -// optional .CMsgSteamDatagramCertificateSigned cert = 4; -inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_cert() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectRequest::has_cert() const { - return _internal_has_cert(); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamSockets_UDP_ConnectRequest::_internal_cert() const { - const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramCertificateSigned_default_instance_); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamSockets_UDP_ConnectRequest::cert() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.cert) - return _internal_cert(); -} -inline void CMsgSteamSockets_UDP_ConnectRequest::unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - _impl_.cert_ = cert; - if (cert) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamSockets_UDP_ConnectRequest.cert) -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamSockets_UDP_ConnectRequest::release_cert() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamSockets_UDP_ConnectRequest::unsafe_arena_release_cert() { - // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_ConnectRequest.cert) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamSockets_UDP_ConnectRequest::_internal_mutable_cert() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.cert_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); - _impl_.cert_ = p; - } - return _impl_.cert_; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamSockets_UDP_ConnectRequest::mutable_cert() { - ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); - // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_ConnectRequest.cert) - return _msg; -} -inline void CMsgSteamSockets_UDP_ConnectRequest::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - if (cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); - if (message_arena != submessage_arena) { - cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cert, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.cert_ = cert; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_ConnectRequest.cert) -} - -// optional uint32 legacy_protocol_version = 8; -inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_legacy_protocol_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectRequest::has_legacy_protocol_version() const { - return _internal_has_legacy_protocol_version(); -} -inline void CMsgSteamSockets_UDP_ConnectRequest::clear_legacy_protocol_version() { - _impl_.legacy_protocol_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgSteamSockets_UDP_ConnectRequest::_internal_legacy_protocol_version() const { - return _impl_.legacy_protocol_version_; -} -inline uint32_t CMsgSteamSockets_UDP_ConnectRequest::legacy_protocol_version() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.legacy_protocol_version) - return _internal_legacy_protocol_version(); -} -inline void CMsgSteamSockets_UDP_ConnectRequest::_internal_set_legacy_protocol_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.legacy_protocol_version_ = value; -} -inline void CMsgSteamSockets_UDP_ConnectRequest::set_legacy_protocol_version(uint32_t value) { - _internal_set_legacy_protocol_version(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectRequest.legacy_protocol_version) -} - -// optional string identity_string = 10; -inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_identity_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectRequest::has_identity_string() const { - return _internal_has_identity_string(); -} -inline void CMsgSteamSockets_UDP_ConnectRequest::clear_identity_string() { - _impl_.identity_string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamSockets_UDP_ConnectRequest::identity_string() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.identity_string) - return _internal_identity_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamSockets_UDP_ConnectRequest::set_identity_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectRequest.identity_string) -} -inline std::string* CMsgSteamSockets_UDP_ConnectRequest::mutable_identity_string() { - std::string* _s = _internal_mutable_identity_string(); - // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_ConnectRequest.identity_string) - return _s; -} -inline const std::string& CMsgSteamSockets_UDP_ConnectRequest::_internal_identity_string() const { - return _impl_.identity_string_.Get(); -} -inline void CMsgSteamSockets_UDP_ConnectRequest::_internal_set_identity_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.identity_string_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamSockets_UDP_ConnectRequest::_internal_mutable_identity_string() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.identity_string_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamSockets_UDP_ConnectRequest::release_identity_string() { - // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_ConnectRequest.identity_string) - if (!_internal_has_identity_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.identity_string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.identity_string_.IsDefault()) { - _impl_.identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamSockets_UDP_ConnectRequest::set_allocated_identity_string(std::string* identity_string) { - if (identity_string != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.identity_string_.SetAllocated(identity_string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.identity_string_.IsDefault()) { - _impl_.identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_ConnectRequest.identity_string) -} - -// optional fixed64 legacy_client_steam_id = 3; -inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_legacy_client_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectRequest::has_legacy_client_steam_id() const { - return _internal_has_legacy_client_steam_id(); -} -inline void CMsgSteamSockets_UDP_ConnectRequest::clear_legacy_client_steam_id() { - _impl_.legacy_client_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint64_t CMsgSteamSockets_UDP_ConnectRequest::_internal_legacy_client_steam_id() const { - return _impl_.legacy_client_steam_id_; -} -inline uint64_t CMsgSteamSockets_UDP_ConnectRequest::legacy_client_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.legacy_client_steam_id) - return _internal_legacy_client_steam_id(); -} -inline void CMsgSteamSockets_UDP_ConnectRequest::_internal_set_legacy_client_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.legacy_client_steam_id_ = value; -} -inline void CMsgSteamSockets_UDP_ConnectRequest::set_legacy_client_steam_id(uint64_t value) { - _internal_set_legacy_client_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectRequest.legacy_client_steam_id) -} - -// optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 9; -inline bool CMsgSteamSockets_UDP_ConnectRequest::_internal_has_legacy_identity_binary() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.legacy_identity_binary_ != nullptr); - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectRequest::has_legacy_identity_binary() const { - return _internal_has_legacy_identity_binary(); -} -inline const ::CMsgSteamNetworkingIdentityLegacyBinary& CMsgSteamSockets_UDP_ConnectRequest::_internal_legacy_identity_binary() const { - const ::CMsgSteamNetworkingIdentityLegacyBinary* p = _impl_.legacy_identity_binary_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamNetworkingIdentityLegacyBinary_default_instance_); -} -inline const ::CMsgSteamNetworkingIdentityLegacyBinary& CMsgSteamSockets_UDP_ConnectRequest::legacy_identity_binary() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectRequest.legacy_identity_binary) - return _internal_legacy_identity_binary(); -} -inline void CMsgSteamSockets_UDP_ConnectRequest::unsafe_arena_set_allocated_legacy_identity_binary( - ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.legacy_identity_binary_); - } - _impl_.legacy_identity_binary_ = legacy_identity_binary; - if (legacy_identity_binary) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamSockets_UDP_ConnectRequest.legacy_identity_binary) -} -inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamSockets_UDP_ConnectRequest::release_legacy_identity_binary() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSteamNetworkingIdentityLegacyBinary* temp = _impl_.legacy_identity_binary_; - _impl_.legacy_identity_binary_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamSockets_UDP_ConnectRequest::unsafe_arena_release_legacy_identity_binary() { - // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_ConnectRequest.legacy_identity_binary) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSteamNetworkingIdentityLegacyBinary* temp = _impl_.legacy_identity_binary_; - _impl_.legacy_identity_binary_ = nullptr; - return temp; -} -inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamSockets_UDP_ConnectRequest::_internal_mutable_legacy_identity_binary() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.legacy_identity_binary_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamNetworkingIdentityLegacyBinary>(GetArenaForAllocation()); - _impl_.legacy_identity_binary_ = p; - } - return _impl_.legacy_identity_binary_; -} -inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamSockets_UDP_ConnectRequest::mutable_legacy_identity_binary() { - ::CMsgSteamNetworkingIdentityLegacyBinary* _msg = _internal_mutable_legacy_identity_binary(); - // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_ConnectRequest.legacy_identity_binary) - return _msg; -} -inline void CMsgSteamSockets_UDP_ConnectRequest::set_allocated_legacy_identity_binary(::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.legacy_identity_binary_); - } - if (legacy_identity_binary) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(legacy_identity_binary)); - if (message_arena != submessage_arena) { - legacy_identity_binary = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, legacy_identity_binary, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.legacy_identity_binary_ = legacy_identity_binary; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_ConnectRequest.legacy_identity_binary) -} - -// ------------------------------------------------------------------- - -// CMsgSteamSockets_UDP_ConnectOK - -// optional fixed32 client_connection_id = 1; -inline bool CMsgSteamSockets_UDP_ConnectOK::_internal_has_client_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectOK::has_client_connection_id() const { - return _internal_has_client_connection_id(); -} -inline void CMsgSteamSockets_UDP_ConnectOK::clear_client_connection_id() { - _impl_.client_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgSteamSockets_UDP_ConnectOK::_internal_client_connection_id() const { - return _impl_.client_connection_id_; -} -inline uint32_t CMsgSteamSockets_UDP_ConnectOK::client_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectOK.client_connection_id) - return _internal_client_connection_id(); -} -inline void CMsgSteamSockets_UDP_ConnectOK::_internal_set_client_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.client_connection_id_ = value; -} -inline void CMsgSteamSockets_UDP_ConnectOK::set_client_connection_id(uint32_t value) { - _internal_set_client_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectOK.client_connection_id) -} - -// optional fixed32 server_connection_id = 5; -inline bool CMsgSteamSockets_UDP_ConnectOK::_internal_has_server_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectOK::has_server_connection_id() const { - return _internal_has_server_connection_id(); -} -inline void CMsgSteamSockets_UDP_ConnectOK::clear_server_connection_id() { - _impl_.server_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgSteamSockets_UDP_ConnectOK::_internal_server_connection_id() const { - return _impl_.server_connection_id_; -} -inline uint32_t CMsgSteamSockets_UDP_ConnectOK::server_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectOK.server_connection_id) - return _internal_server_connection_id(); -} -inline void CMsgSteamSockets_UDP_ConnectOK::_internal_set_server_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.server_connection_id_ = value; -} -inline void CMsgSteamSockets_UDP_ConnectOK::set_server_connection_id(uint32_t value) { - _internal_set_server_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectOK.server_connection_id) -} - -// optional fixed64 your_timestamp = 3; -inline bool CMsgSteamSockets_UDP_ConnectOK::_internal_has_your_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectOK::has_your_timestamp() const { - return _internal_has_your_timestamp(); -} -inline void CMsgSteamSockets_UDP_ConnectOK::clear_your_timestamp() { - _impl_.your_timestamp_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint64_t CMsgSteamSockets_UDP_ConnectOK::_internal_your_timestamp() const { - return _impl_.your_timestamp_; -} -inline uint64_t CMsgSteamSockets_UDP_ConnectOK::your_timestamp() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectOK.your_timestamp) - return _internal_your_timestamp(); -} -inline void CMsgSteamSockets_UDP_ConnectOK::_internal_set_your_timestamp(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.your_timestamp_ = value; -} -inline void CMsgSteamSockets_UDP_ConnectOK::set_your_timestamp(uint64_t value) { - _internal_set_your_timestamp(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectOK.your_timestamp) -} - -// optional uint32 delay_time_usec = 4; -inline bool CMsgSteamSockets_UDP_ConnectOK::_internal_has_delay_time_usec() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectOK::has_delay_time_usec() const { - return _internal_has_delay_time_usec(); -} -inline void CMsgSteamSockets_UDP_ConnectOK::clear_delay_time_usec() { - _impl_.delay_time_usec_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgSteamSockets_UDP_ConnectOK::_internal_delay_time_usec() const { - return _impl_.delay_time_usec_; -} -inline uint32_t CMsgSteamSockets_UDP_ConnectOK::delay_time_usec() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectOK.delay_time_usec) - return _internal_delay_time_usec(); -} -inline void CMsgSteamSockets_UDP_ConnectOK::_internal_set_delay_time_usec(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.delay_time_usec_ = value; -} -inline void CMsgSteamSockets_UDP_ConnectOK::set_delay_time_usec(uint32_t value) { - _internal_set_delay_time_usec(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectOK.delay_time_usec) -} - -// optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; -inline bool CMsgSteamSockets_UDP_ConnectOK::_internal_has_crypt() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.crypt_ != nullptr); - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectOK::has_crypt() const { - return _internal_has_crypt(); -} -inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamSockets_UDP_ConnectOK::_internal_crypt() const { - const ::CMsgSteamDatagramSessionCryptInfoSigned* p = _impl_.crypt_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramSessionCryptInfoSigned_default_instance_); -} -inline const ::CMsgSteamDatagramSessionCryptInfoSigned& CMsgSteamSockets_UDP_ConnectOK::crypt() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectOK.crypt) - return _internal_crypt(); -} -inline void CMsgSteamSockets_UDP_ConnectOK::unsafe_arena_set_allocated_crypt( - ::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); - } - _impl_.crypt_ = crypt; - if (crypt) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamSockets_UDP_ConnectOK.crypt) -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamSockets_UDP_ConnectOK::release_crypt() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; - _impl_.crypt_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamSockets_UDP_ConnectOK::unsafe_arena_release_crypt() { - // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_ConnectOK.crypt) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgSteamDatagramSessionCryptInfoSigned* temp = _impl_.crypt_; - _impl_.crypt_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamSockets_UDP_ConnectOK::_internal_mutable_crypt() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.crypt_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramSessionCryptInfoSigned>(GetArenaForAllocation()); - _impl_.crypt_ = p; - } - return _impl_.crypt_; -} -inline ::CMsgSteamDatagramSessionCryptInfoSigned* CMsgSteamSockets_UDP_ConnectOK::mutable_crypt() { - ::CMsgSteamDatagramSessionCryptInfoSigned* _msg = _internal_mutable_crypt(); - // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_ConnectOK.crypt) - return _msg; -} -inline void CMsgSteamSockets_UDP_ConnectOK::set_allocated_crypt(::CMsgSteamDatagramSessionCryptInfoSigned* crypt) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.crypt_); - } - if (crypt) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(crypt)); - if (message_arena != submessage_arena) { - crypt = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, crypt, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.crypt_ = crypt; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_ConnectOK.crypt) -} - -// optional .CMsgSteamDatagramCertificateSigned cert = 8; -inline bool CMsgSteamSockets_UDP_ConnectOK::_internal_has_cert() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cert_ != nullptr); - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectOK::has_cert() const { - return _internal_has_cert(); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamSockets_UDP_ConnectOK::_internal_cert() const { - const ::CMsgSteamDatagramCertificateSigned* p = _impl_.cert_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramCertificateSigned_default_instance_); -} -inline const ::CMsgSteamDatagramCertificateSigned& CMsgSteamSockets_UDP_ConnectOK::cert() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectOK.cert) - return _internal_cert(); -} -inline void CMsgSteamSockets_UDP_ConnectOK::unsafe_arena_set_allocated_cert( - ::CMsgSteamDatagramCertificateSigned* cert) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - _impl_.cert_ = cert; - if (cert) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamSockets_UDP_ConnectOK.cert) -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamSockets_UDP_ConnectOK::release_cert() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamSockets_UDP_ConnectOK::unsafe_arena_release_cert() { - // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_ConnectOK.cert) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgSteamDatagramCertificateSigned* temp = _impl_.cert_; - _impl_.cert_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamSockets_UDP_ConnectOK::_internal_mutable_cert() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.cert_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramCertificateSigned>(GetArenaForAllocation()); - _impl_.cert_ = p; - } - return _impl_.cert_; -} -inline ::CMsgSteamDatagramCertificateSigned* CMsgSteamSockets_UDP_ConnectOK::mutable_cert() { - ::CMsgSteamDatagramCertificateSigned* _msg = _internal_mutable_cert(); - // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_ConnectOK.cert) - return _msg; -} -inline void CMsgSteamSockets_UDP_ConnectOK::set_allocated_cert(::CMsgSteamDatagramCertificateSigned* cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.cert_); - } - if (cert) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cert)); - if (message_arena != submessage_arena) { - cert = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, cert, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.cert_ = cert; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_ConnectOK.cert) -} - -// optional string identity_string = 11; -inline bool CMsgSteamSockets_UDP_ConnectOK::_internal_has_identity_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectOK::has_identity_string() const { - return _internal_has_identity_string(); -} -inline void CMsgSteamSockets_UDP_ConnectOK::clear_identity_string() { - _impl_.identity_string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamSockets_UDP_ConnectOK::identity_string() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectOK.identity_string) - return _internal_identity_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamSockets_UDP_ConnectOK::set_identity_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.identity_string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectOK.identity_string) -} -inline std::string* CMsgSteamSockets_UDP_ConnectOK::mutable_identity_string() { - std::string* _s = _internal_mutable_identity_string(); - // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_ConnectOK.identity_string) - return _s; -} -inline const std::string& CMsgSteamSockets_UDP_ConnectOK::_internal_identity_string() const { - return _impl_.identity_string_.Get(); -} -inline void CMsgSteamSockets_UDP_ConnectOK::_internal_set_identity_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.identity_string_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamSockets_UDP_ConnectOK::_internal_mutable_identity_string() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.identity_string_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamSockets_UDP_ConnectOK::release_identity_string() { - // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_ConnectOK.identity_string) - if (!_internal_has_identity_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.identity_string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.identity_string_.IsDefault()) { - _impl_.identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamSockets_UDP_ConnectOK::set_allocated_identity_string(std::string* identity_string) { - if (identity_string != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.identity_string_.SetAllocated(identity_string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.identity_string_.IsDefault()) { - _impl_.identity_string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_ConnectOK.identity_string) -} - -// optional fixed64 legacy_server_steam_id = 2; -inline bool CMsgSteamSockets_UDP_ConnectOK::_internal_has_legacy_server_steam_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectOK::has_legacy_server_steam_id() const { - return _internal_has_legacy_server_steam_id(); -} -inline void CMsgSteamSockets_UDP_ConnectOK::clear_legacy_server_steam_id() { - _impl_.legacy_server_steam_id_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CMsgSteamSockets_UDP_ConnectOK::_internal_legacy_server_steam_id() const { - return _impl_.legacy_server_steam_id_; -} -inline uint64_t CMsgSteamSockets_UDP_ConnectOK::legacy_server_steam_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectOK.legacy_server_steam_id) - return _internal_legacy_server_steam_id(); -} -inline void CMsgSteamSockets_UDP_ConnectOK::_internal_set_legacy_server_steam_id(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.legacy_server_steam_id_ = value; -} -inline void CMsgSteamSockets_UDP_ConnectOK::set_legacy_server_steam_id(uint64_t value) { - _internal_set_legacy_server_steam_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectOK.legacy_server_steam_id) -} - -// optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 10; -inline bool CMsgSteamSockets_UDP_ConnectOK::_internal_has_legacy_identity_binary() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.legacy_identity_binary_ != nullptr); - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectOK::has_legacy_identity_binary() const { - return _internal_has_legacy_identity_binary(); -} -inline const ::CMsgSteamNetworkingIdentityLegacyBinary& CMsgSteamSockets_UDP_ConnectOK::_internal_legacy_identity_binary() const { - const ::CMsgSteamNetworkingIdentityLegacyBinary* p = _impl_.legacy_identity_binary_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamNetworkingIdentityLegacyBinary_default_instance_); -} -inline const ::CMsgSteamNetworkingIdentityLegacyBinary& CMsgSteamSockets_UDP_ConnectOK::legacy_identity_binary() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectOK.legacy_identity_binary) - return _internal_legacy_identity_binary(); -} -inline void CMsgSteamSockets_UDP_ConnectOK::unsafe_arena_set_allocated_legacy_identity_binary( - ::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.legacy_identity_binary_); - } - _impl_.legacy_identity_binary_ = legacy_identity_binary; - if (legacy_identity_binary) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamSockets_UDP_ConnectOK.legacy_identity_binary) -} -inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamSockets_UDP_ConnectOK::release_legacy_identity_binary() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSteamNetworkingIdentityLegacyBinary* temp = _impl_.legacy_identity_binary_; - _impl_.legacy_identity_binary_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamSockets_UDP_ConnectOK::unsafe_arena_release_legacy_identity_binary() { - // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_ConnectOK.legacy_identity_binary) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgSteamNetworkingIdentityLegacyBinary* temp = _impl_.legacy_identity_binary_; - _impl_.legacy_identity_binary_ = nullptr; - return temp; -} -inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamSockets_UDP_ConnectOK::_internal_mutable_legacy_identity_binary() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.legacy_identity_binary_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamNetworkingIdentityLegacyBinary>(GetArenaForAllocation()); - _impl_.legacy_identity_binary_ = p; - } - return _impl_.legacy_identity_binary_; -} -inline ::CMsgSteamNetworkingIdentityLegacyBinary* CMsgSteamSockets_UDP_ConnectOK::mutable_legacy_identity_binary() { - ::CMsgSteamNetworkingIdentityLegacyBinary* _msg = _internal_mutable_legacy_identity_binary(); - // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_ConnectOK.legacy_identity_binary) - return _msg; -} -inline void CMsgSteamSockets_UDP_ConnectOK::set_allocated_legacy_identity_binary(::CMsgSteamNetworkingIdentityLegacyBinary* legacy_identity_binary) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.legacy_identity_binary_); - } - if (legacy_identity_binary) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(legacy_identity_binary)); - if (message_arena != submessage_arena) { - legacy_identity_binary = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, legacy_identity_binary, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.legacy_identity_binary_ = legacy_identity_binary; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_ConnectOK.legacy_identity_binary) -} - -// ------------------------------------------------------------------- - -// CMsgSteamSockets_UDP_ConnectionClosed - -// optional fixed32 to_connection_id = 4; -inline bool CMsgSteamSockets_UDP_ConnectionClosed::_internal_has_to_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectionClosed::has_to_connection_id() const { - return _internal_has_to_connection_id(); -} -inline void CMsgSteamSockets_UDP_ConnectionClosed::clear_to_connection_id() { - _impl_.to_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgSteamSockets_UDP_ConnectionClosed::_internal_to_connection_id() const { - return _impl_.to_connection_id_; -} -inline uint32_t CMsgSteamSockets_UDP_ConnectionClosed::to_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectionClosed.to_connection_id) - return _internal_to_connection_id(); -} -inline void CMsgSteamSockets_UDP_ConnectionClosed::_internal_set_to_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.to_connection_id_ = value; -} -inline void CMsgSteamSockets_UDP_ConnectionClosed::set_to_connection_id(uint32_t value) { - _internal_set_to_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectionClosed.to_connection_id) -} - -// optional fixed32 from_connection_id = 5; -inline bool CMsgSteamSockets_UDP_ConnectionClosed::_internal_has_from_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectionClosed::has_from_connection_id() const { - return _internal_has_from_connection_id(); -} -inline void CMsgSteamSockets_UDP_ConnectionClosed::clear_from_connection_id() { - _impl_.from_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgSteamSockets_UDP_ConnectionClosed::_internal_from_connection_id() const { - return _impl_.from_connection_id_; -} -inline uint32_t CMsgSteamSockets_UDP_ConnectionClosed::from_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectionClosed.from_connection_id) - return _internal_from_connection_id(); -} -inline void CMsgSteamSockets_UDP_ConnectionClosed::_internal_set_from_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.from_connection_id_ = value; -} -inline void CMsgSteamSockets_UDP_ConnectionClosed::set_from_connection_id(uint32_t value) { - _internal_set_from_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectionClosed.from_connection_id) -} - -// optional string debug = 2; -inline bool CMsgSteamSockets_UDP_ConnectionClosed::_internal_has_debug() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectionClosed::has_debug() const { - return _internal_has_debug(); -} -inline void CMsgSteamSockets_UDP_ConnectionClosed::clear_debug() { - _impl_.debug_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgSteamSockets_UDP_ConnectionClosed::debug() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectionClosed.debug) - return _internal_debug(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgSteamSockets_UDP_ConnectionClosed::set_debug(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.debug_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectionClosed.debug) -} -inline std::string* CMsgSteamSockets_UDP_ConnectionClosed::mutable_debug() { - std::string* _s = _internal_mutable_debug(); - // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_ConnectionClosed.debug) - return _s; -} -inline const std::string& CMsgSteamSockets_UDP_ConnectionClosed::_internal_debug() const { - return _impl_.debug_.Get(); -} -inline void CMsgSteamSockets_UDP_ConnectionClosed::_internal_set_debug(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.debug_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgSteamSockets_UDP_ConnectionClosed::_internal_mutable_debug() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.debug_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgSteamSockets_UDP_ConnectionClosed::release_debug() { - // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_ConnectionClosed.debug) - if (!_internal_has_debug()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.debug_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.debug_.IsDefault()) { - _impl_.debug_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgSteamSockets_UDP_ConnectionClosed::set_allocated_debug(std::string* debug) { - if (debug != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.debug_.SetAllocated(debug, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.debug_.IsDefault()) { - _impl_.debug_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_ConnectionClosed.debug) -} - -// optional uint32 reason_code = 3; -inline bool CMsgSteamSockets_UDP_ConnectionClosed::_internal_has_reason_code() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_ConnectionClosed::has_reason_code() const { - return _internal_has_reason_code(); -} -inline void CMsgSteamSockets_UDP_ConnectionClosed::clear_reason_code() { - _impl_.reason_code_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamSockets_UDP_ConnectionClosed::_internal_reason_code() const { - return _impl_.reason_code_; -} -inline uint32_t CMsgSteamSockets_UDP_ConnectionClosed::reason_code() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_ConnectionClosed.reason_code) - return _internal_reason_code(); -} -inline void CMsgSteamSockets_UDP_ConnectionClosed::_internal_set_reason_code(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.reason_code_ = value; -} -inline void CMsgSteamSockets_UDP_ConnectionClosed::set_reason_code(uint32_t value) { - _internal_set_reason_code(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_ConnectionClosed.reason_code) -} - -// ------------------------------------------------------------------- - -// CMsgSteamSockets_UDP_NoConnection - -// optional fixed32 from_connection_id = 2; -inline bool CMsgSteamSockets_UDP_NoConnection::_internal_has_from_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_NoConnection::has_from_connection_id() const { - return _internal_has_from_connection_id(); -} -inline void CMsgSteamSockets_UDP_NoConnection::clear_from_connection_id() { - _impl_.from_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgSteamSockets_UDP_NoConnection::_internal_from_connection_id() const { - return _impl_.from_connection_id_; -} -inline uint32_t CMsgSteamSockets_UDP_NoConnection::from_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_NoConnection.from_connection_id) - return _internal_from_connection_id(); -} -inline void CMsgSteamSockets_UDP_NoConnection::_internal_set_from_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.from_connection_id_ = value; -} -inline void CMsgSteamSockets_UDP_NoConnection::set_from_connection_id(uint32_t value) { - _internal_set_from_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_NoConnection.from_connection_id) -} - -// optional fixed32 to_connection_id = 3; -inline bool CMsgSteamSockets_UDP_NoConnection::_internal_has_to_connection_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_NoConnection::has_to_connection_id() const { - return _internal_has_to_connection_id(); -} -inline void CMsgSteamSockets_UDP_NoConnection::clear_to_connection_id() { - _impl_.to_connection_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamSockets_UDP_NoConnection::_internal_to_connection_id() const { - return _impl_.to_connection_id_; -} -inline uint32_t CMsgSteamSockets_UDP_NoConnection::to_connection_id() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_NoConnection.to_connection_id) - return _internal_to_connection_id(); -} -inline void CMsgSteamSockets_UDP_NoConnection::_internal_set_to_connection_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.to_connection_id_ = value; -} -inline void CMsgSteamSockets_UDP_NoConnection::set_to_connection_id(uint32_t value) { - _internal_set_to_connection_id(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_NoConnection.to_connection_id) -} - -// ------------------------------------------------------------------- - -// CMsgSteamSockets_UDP_Stats - -// optional .CMsgSteamDatagramConnectionQuality stats = 1; -inline bool CMsgSteamSockets_UDP_Stats::_internal_has_stats() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.stats_ != nullptr); - return value; -} -inline bool CMsgSteamSockets_UDP_Stats::has_stats() const { - return _internal_has_stats(); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamSockets_UDP_Stats::_internal_stats() const { - const ::CMsgSteamDatagramConnectionQuality* p = _impl_.stats_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgSteamDatagramConnectionQuality_default_instance_); -} -inline const ::CMsgSteamDatagramConnectionQuality& CMsgSteamSockets_UDP_Stats::stats() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_Stats.stats) - return _internal_stats(); -} -inline void CMsgSteamSockets_UDP_Stats::unsafe_arena_set_allocated_stats( - ::CMsgSteamDatagramConnectionQuality* stats) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.stats_); - } - _impl_.stats_ = stats; - if (stats) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgSteamSockets_UDP_Stats.stats) -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamSockets_UDP_Stats::release_stats() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.stats_; - _impl_.stats_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamSockets_UDP_Stats::unsafe_arena_release_stats() { - // @@protoc_insertion_point(field_release:CMsgSteamSockets_UDP_Stats.stats) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgSteamDatagramConnectionQuality* temp = _impl_.stats_; - _impl_.stats_ = nullptr; - return temp; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamSockets_UDP_Stats::_internal_mutable_stats() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.stats_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgSteamDatagramConnectionQuality>(GetArenaForAllocation()); - _impl_.stats_ = p; - } - return _impl_.stats_; -} -inline ::CMsgSteamDatagramConnectionQuality* CMsgSteamSockets_UDP_Stats::mutable_stats() { - ::CMsgSteamDatagramConnectionQuality* _msg = _internal_mutable_stats(); - // @@protoc_insertion_point(field_mutable:CMsgSteamSockets_UDP_Stats.stats) - return _msg; -} -inline void CMsgSteamSockets_UDP_Stats::set_allocated_stats(::CMsgSteamDatagramConnectionQuality* stats) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.stats_); - } - if (stats) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats)); - if (message_arena != submessage_arena) { - stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, stats, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.stats_ = stats; - // @@protoc_insertion_point(field_set_allocated:CMsgSteamSockets_UDP_Stats.stats) -} - -// optional uint32 flags = 3; -inline bool CMsgSteamSockets_UDP_Stats::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgSteamSockets_UDP_Stats::has_flags() const { - return _internal_has_flags(); -} -inline void CMsgSteamSockets_UDP_Stats::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgSteamSockets_UDP_Stats::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CMsgSteamSockets_UDP_Stats::flags() const { - // @@protoc_insertion_point(field_get:CMsgSteamSockets_UDP_Stats.flags) - return _internal_flags(); -} -inline void CMsgSteamSockets_UDP_Stats::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.flags_ = value; -} -inline void CMsgSteamSockets_UDP_Stats::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CMsgSteamSockets_UDP_Stats.flags) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::CMsgSteamSockets_UDP_Stats_Flags> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::CMsgSteamSockets_UDP_Stats_Flags>() { - return ::CMsgSteamSockets_UDP_Stats_Flags_descriptor(); -} -template <> struct is_proto_enum< ::ESteamNetworkingUDPMsgID> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ESteamNetworkingUDPMsgID>() { - return ::ESteamNetworkingUDPMsgID_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_steamnetworkingsockets_5fmessages_5fudp_2eproto diff --git a/protobuf/generated/te.pb.cc b/protobuf/generated/te.pb.cc deleted file mode 100644 index 4390f03a7..000000000 --- a/protobuf/generated/te.pb.cc +++ /dev/null @@ -1,10521 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: te.proto - -#include "te.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CMsgTEArmorRicochet::CMsgTEArmorRicochet( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.pos_)*/nullptr - , /*decltype(_impl_.dir_)*/nullptr} {} -struct CMsgTEArmorRicochetDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEArmorRicochetDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEArmorRicochetDefaultTypeInternal() {} - union { - CMsgTEArmorRicochet _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEArmorRicochetDefaultTypeInternal _CMsgTEArmorRicochet_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEBaseBeam::CMsgTEBaseBeam( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.modelindex_)*/uint64_t{0u} - , /*decltype(_impl_.haloindex_)*/uint64_t{0u} - , /*decltype(_impl_.startframe_)*/0u - , /*decltype(_impl_.framerate_)*/0u - , /*decltype(_impl_.life_)*/0 - , /*decltype(_impl_.width_)*/0 - , /*decltype(_impl_.endwidth_)*/0 - , /*decltype(_impl_.fadelength_)*/0u - , /*decltype(_impl_.amplitude_)*/0 - , /*decltype(_impl_.color_)*/0u - , /*decltype(_impl_.speed_)*/0u - , /*decltype(_impl_.flags_)*/0u} {} -struct CMsgTEBaseBeamDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEBaseBeamDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEBaseBeamDefaultTypeInternal() {} - union { - CMsgTEBaseBeam _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEBaseBeamDefaultTypeInternal _CMsgTEBaseBeam_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEBeamEntPoint::CMsgTEBeamEntPoint( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.base_)*/nullptr - , /*decltype(_impl_.start_)*/nullptr - , /*decltype(_impl_.end_)*/nullptr - , /*decltype(_impl_.startentity_)*/0u - , /*decltype(_impl_.endentity_)*/0u} {} -struct CMsgTEBeamEntPointDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEBeamEntPointDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEBeamEntPointDefaultTypeInternal() {} - union { - CMsgTEBeamEntPoint _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEBeamEntPointDefaultTypeInternal _CMsgTEBeamEntPoint_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEBeamEnts::CMsgTEBeamEnts( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.base_)*/nullptr - , /*decltype(_impl_.startentity_)*/0u - , /*decltype(_impl_.endentity_)*/0u} {} -struct CMsgTEBeamEntsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEBeamEntsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEBeamEntsDefaultTypeInternal() {} - union { - CMsgTEBeamEnts _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEBeamEntsDefaultTypeInternal _CMsgTEBeamEnts_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEBeamPoints::CMsgTEBeamPoints( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.base_)*/nullptr - , /*decltype(_impl_.start_)*/nullptr - , /*decltype(_impl_.end_)*/nullptr} {} -struct CMsgTEBeamPointsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEBeamPointsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEBeamPointsDefaultTypeInternal() {} - union { - CMsgTEBeamPoints _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEBeamPointsDefaultTypeInternal _CMsgTEBeamPoints_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEBeamRing::CMsgTEBeamRing( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.base_)*/nullptr - , /*decltype(_impl_.startentity_)*/0u - , /*decltype(_impl_.endentity_)*/0u} {} -struct CMsgTEBeamRingDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEBeamRingDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEBeamRingDefaultTypeInternal() {} - union { - CMsgTEBeamRing _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEBeamRingDefaultTypeInternal _CMsgTEBeamRing_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEBubbles::CMsgTEBubbles( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.mins_)*/nullptr - , /*decltype(_impl_.maxs_)*/nullptr - , /*decltype(_impl_.height_)*/0 - , /*decltype(_impl_.count_)*/0u - , /*decltype(_impl_.speed_)*/0} {} -struct CMsgTEBubblesDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEBubblesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEBubblesDefaultTypeInternal() {} - union { - CMsgTEBubbles _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEBubblesDefaultTypeInternal _CMsgTEBubbles_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEBubbleTrail::CMsgTEBubbleTrail( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.mins_)*/nullptr - , /*decltype(_impl_.maxs_)*/nullptr - , /*decltype(_impl_.waterz_)*/0 - , /*decltype(_impl_.count_)*/0u - , /*decltype(_impl_.speed_)*/0} {} -struct CMsgTEBubbleTrailDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEBubbleTrailDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEBubbleTrailDefaultTypeInternal() {} - union { - CMsgTEBubbleTrail _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEBubbleTrailDefaultTypeInternal _CMsgTEBubbleTrail_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEDecal::CMsgTEDecal( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.start_)*/nullptr - , /*decltype(_impl_.hitbox_)*/0u - , /*decltype(_impl_.index_)*/0u - , /*decltype(_impl_.entity_)*/-1} {} -struct CMsgTEDecalDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEDecalDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEDecalDefaultTypeInternal() {} - union { - CMsgTEDecal _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEDecalDefaultTypeInternal _CMsgTEDecal_default_instance_; -PROTOBUF_CONSTEXPR CMsgEffectData::CMsgEffectData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.start_)*/nullptr - , /*decltype(_impl_.normal_)*/nullptr - , /*decltype(_impl_.angles_)*/nullptr - , /*decltype(_impl_.scale_)*/0 - , /*decltype(_impl_.magnitude_)*/0 - , /*decltype(_impl_.radius_)*/0 - , /*decltype(_impl_.surfaceprop_)*/0u - , /*decltype(_impl_.effectindex_)*/uint64_t{0u} - , /*decltype(_impl_.damagetype_)*/0u - , /*decltype(_impl_.material_)*/0u - , /*decltype(_impl_.hitbox_)*/0u - , /*decltype(_impl_.color_)*/0u - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.attachmentindex_)*/0 - , /*decltype(_impl_.effectname_)*/0u - , /*decltype(_impl_.attachmentname_)*/0u - , /*decltype(_impl_.entity_)*/16777215u - , /*decltype(_impl_.otherentity_)*/16777215u} {} -struct CMsgEffectDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgEffectDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgEffectDataDefaultTypeInternal() {} - union { - CMsgEffectData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgEffectDataDefaultTypeInternal _CMsgEffectData_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEEffectDispatch::CMsgTEEffectDispatch( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.effectdata_)*/nullptr} {} -struct CMsgTEEffectDispatchDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEEffectDispatchDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEEffectDispatchDefaultTypeInternal() {} - union { - CMsgTEEffectDispatch _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEEffectDispatchDefaultTypeInternal _CMsgTEEffectDispatch_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEEnergySplash::CMsgTEEnergySplash( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.pos_)*/nullptr - , /*decltype(_impl_.dir_)*/nullptr - , /*decltype(_impl_.explosive_)*/false} {} -struct CMsgTEEnergySplashDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEEnergySplashDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEEnergySplashDefaultTypeInternal() {} - union { - CMsgTEEnergySplash _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEEnergySplashDefaultTypeInternal _CMsgTEEnergySplash_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEFizz::CMsgTEFizz( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.density_)*/0u - , /*decltype(_impl_.current_)*/0 - , /*decltype(_impl_.entity_)*/-1} {} -struct CMsgTEFizzDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEFizzDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEFizzDefaultTypeInternal() {} - union { - CMsgTEFizz _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEFizzDefaultTypeInternal _CMsgTEFizz_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEShatterSurface::CMsgTEShatterSurface( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.angles_)*/nullptr - , /*decltype(_impl_.force_)*/nullptr - , /*decltype(_impl_.forcepos_)*/nullptr - , /*decltype(_impl_.width_)*/0 - , /*decltype(_impl_.height_)*/0 - , /*decltype(_impl_.shardsize_)*/0 - , /*decltype(_impl_.surfacetype_)*/0u - , /*decltype(_impl_.frontcolor_)*/0u - , /*decltype(_impl_.backcolor_)*/0u} {} -struct CMsgTEShatterSurfaceDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEShatterSurfaceDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEShatterSurfaceDefaultTypeInternal() {} - union { - CMsgTEShatterSurface _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEShatterSurfaceDefaultTypeInternal _CMsgTEShatterSurface_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEGlowSprite::CMsgTEGlowSprite( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.scale_)*/0 - , /*decltype(_impl_.life_)*/0 - , /*decltype(_impl_.brightness_)*/0u} {} -struct CMsgTEGlowSpriteDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEGlowSpriteDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEGlowSpriteDefaultTypeInternal() {} - union { - CMsgTEGlowSprite _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEGlowSpriteDefaultTypeInternal _CMsgTEGlowSprite_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEImpact::CMsgTEImpact( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.normal_)*/nullptr - , /*decltype(_impl_.type_)*/0u} {} -struct CMsgTEImpactDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEImpactDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEImpactDefaultTypeInternal() {} - union { - CMsgTEImpact _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEImpactDefaultTypeInternal _CMsgTEImpact_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEMuzzleFlash::CMsgTEMuzzleFlash( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.angles_)*/nullptr - , /*decltype(_impl_.scale_)*/0 - , /*decltype(_impl_.type_)*/0u} {} -struct CMsgTEMuzzleFlashDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEMuzzleFlashDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEMuzzleFlashDefaultTypeInternal() {} - union { - CMsgTEMuzzleFlash _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEMuzzleFlashDefaultTypeInternal _CMsgTEMuzzleFlash_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEBloodStream::CMsgTEBloodStream( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.direction_)*/nullptr - , /*decltype(_impl_.color_)*/0u - , /*decltype(_impl_.amount_)*/0u} {} -struct CMsgTEBloodStreamDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEBloodStreamDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEBloodStreamDefaultTypeInternal() {} - union { - CMsgTEBloodStream _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEBloodStreamDefaultTypeInternal _CMsgTEBloodStream_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEExplosion::CMsgTEExplosion( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.sound_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.normal_)*/nullptr - , /*decltype(_impl_.debris_origin_)*/nullptr - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.radius_)*/0u - , /*decltype(_impl_.magnitude_)*/0u - , /*decltype(_impl_.affect_ragdolls_)*/false - , /*decltype(_impl_.create_debris_)*/false - , /*decltype(_impl_.explosion_type_)*/0u - , /*decltype(_impl_.debris_surfaceprop_)*/0u} {} -struct CMsgTEExplosionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEExplosionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEExplosionDefaultTypeInternal() {} - union { - CMsgTEExplosion _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEExplosionDefaultTypeInternal _CMsgTEExplosion_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEDust::CMsgTEDust( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.direction_)*/nullptr - , /*decltype(_impl_.size_)*/0 - , /*decltype(_impl_.speed_)*/0} {} -struct CMsgTEDustDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEDustDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEDustDefaultTypeInternal() {} - union { - CMsgTEDust _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEDustDefaultTypeInternal _CMsgTEDust_default_instance_; -PROTOBUF_CONSTEXPR CMsgTELargeFunnel::CMsgTELargeFunnel( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.reversed_)*/0u} {} -struct CMsgTELargeFunnelDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTELargeFunnelDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTELargeFunnelDefaultTypeInternal() {} - union { - CMsgTELargeFunnel _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTELargeFunnelDefaultTypeInternal _CMsgTELargeFunnel_default_instance_; -PROTOBUF_CONSTEXPR CMsgTESparks::CMsgTESparks( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.direction_)*/nullptr - , /*decltype(_impl_.magnitude_)*/0u - , /*decltype(_impl_.length_)*/0u} {} -struct CMsgTESparksDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTESparksDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTESparksDefaultTypeInternal() {} - union { - CMsgTESparks _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTESparksDefaultTypeInternal _CMsgTESparks_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEPhysicsProp::CMsgTEPhysicsProp( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.velocity_)*/nullptr - , /*decltype(_impl_.angles_)*/nullptr - , /*decltype(_impl_.dmgpos_)*/nullptr - , /*decltype(_impl_.dmgdir_)*/nullptr - , /*decltype(_impl_.skin_)*/0u - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.effects_)*/0u - , /*decltype(_impl_.color_)*/0u - , /*decltype(_impl_.modelindex_)*/uint64_t{0u} - , /*decltype(_impl_.unused_breakmodelsnottomake_)*/0u - , /*decltype(_impl_.scale_)*/0 - , /*decltype(_impl_.dmgtype_)*/0} {} -struct CMsgTEPhysicsPropDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEPhysicsPropDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEPhysicsPropDefaultTypeInternal() {} - union { - CMsgTEPhysicsProp _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEPhysicsPropDefaultTypeInternal _CMsgTEPhysicsProp_default_instance_; -PROTOBUF_CONSTEXPR CMsgTESmoke::CMsgTESmoke( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.scale_)*/0} {} -struct CMsgTESmokeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTESmokeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTESmokeDefaultTypeInternal() {} - union { - CMsgTESmoke _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTESmokeDefaultTypeInternal _CMsgTESmoke_default_instance_; -PROTOBUF_CONSTEXPR CMsgTEWorldDecal::CMsgTEWorldDecal( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.normal_)*/nullptr - , /*decltype(_impl_.index_)*/0u} {} -struct CMsgTEWorldDecalDefaultTypeInternal { - PROTOBUF_CONSTEXPR CMsgTEWorldDecalDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CMsgTEWorldDecalDefaultTypeInternal() {} - union { - CMsgTEWorldDecal _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CMsgTEWorldDecalDefaultTypeInternal _CMsgTEWorldDecal_default_instance_; -static ::_pb::Metadata file_level_metadata_te_2eproto[25]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_te_2eproto[1]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_te_2eproto = nullptr; - -const uint32_t TableStruct_te_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CMsgTEArmorRicochet, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEArmorRicochet, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEArmorRicochet, _impl_.pos_), - PROTOBUF_FIELD_OFFSET(::CMsgTEArmorRicochet, _impl_.dir_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.modelindex_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.haloindex_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.startframe_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.framerate_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.life_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.width_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.endwidth_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.fadelength_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.amplitude_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.color_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.speed_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBaseBeam, _impl_.flags_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEntPoint, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEntPoint, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEntPoint, _impl_.base_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEntPoint, _impl_.startentity_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEntPoint, _impl_.endentity_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEntPoint, _impl_.start_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEntPoint, _impl_.end_), - 0, - 3, - 4, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEnts, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEnts, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEnts, _impl_.base_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEnts, _impl_.startentity_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamEnts, _impl_.endentity_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamPoints, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamPoints, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamPoints, _impl_.base_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamPoints, _impl_.start_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamPoints, _impl_.end_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamRing, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamRing, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamRing, _impl_.base_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamRing, _impl_.startentity_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBeamRing, _impl_.endentity_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgTEBubbles, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBubbles, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEBubbles, _impl_.mins_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBubbles, _impl_.maxs_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBubbles, _impl_.height_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBubbles, _impl_.count_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBubbles, _impl_.speed_), - 0, - 1, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CMsgTEBubbleTrail, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBubbleTrail, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEBubbleTrail, _impl_.mins_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBubbleTrail, _impl_.maxs_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBubbleTrail, _impl_.waterz_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBubbleTrail, _impl_.count_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBubbleTrail, _impl_.speed_), - 0, - 1, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CMsgTEDecal, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEDecal, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEDecal, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CMsgTEDecal, _impl_.start_), - PROTOBUF_FIELD_OFFSET(::CMsgTEDecal, _impl_.entity_), - PROTOBUF_FIELD_OFFSET(::CMsgTEDecal, _impl_.hitbox_), - PROTOBUF_FIELD_OFFSET(::CMsgTEDecal, _impl_.index_), - 0, - 1, - 4, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.start_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.normal_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.angles_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.entity_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.otherentity_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.scale_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.magnitude_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.radius_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.surfaceprop_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.effectindex_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.damagetype_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.material_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.hitbox_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.color_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.attachmentindex_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.effectname_), - PROTOBUF_FIELD_OFFSET(::CMsgEffectData, _impl_.attachmentname_), - 0, - 1, - 2, - 3, - 17, - 18, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - PROTOBUF_FIELD_OFFSET(::CMsgTEEffectDispatch, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEEffectDispatch, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEEffectDispatch, _impl_.effectdata_), - 0, - PROTOBUF_FIELD_OFFSET(::CMsgTEEnergySplash, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEEnergySplash, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEEnergySplash, _impl_.pos_), - PROTOBUF_FIELD_OFFSET(::CMsgTEEnergySplash, _impl_.dir_), - PROTOBUF_FIELD_OFFSET(::CMsgTEEnergySplash, _impl_.explosive_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgTEFizz, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEFizz, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEFizz, _impl_.entity_), - PROTOBUF_FIELD_OFFSET(::CMsgTEFizz, _impl_.density_), - PROTOBUF_FIELD_OFFSET(::CMsgTEFizz, _impl_.current_), - 2, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.angles_), - PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.force_), - PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.forcepos_), - PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.width_), - PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.height_), - PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.shardsize_), - PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.surfacetype_), - PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.frontcolor_), - PROTOBUF_FIELD_OFFSET(::CMsgTEShatterSurface, _impl_.backcolor_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - PROTOBUF_FIELD_OFFSET(::CMsgTEGlowSprite, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEGlowSprite, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEGlowSprite, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CMsgTEGlowSprite, _impl_.scale_), - PROTOBUF_FIELD_OFFSET(::CMsgTEGlowSprite, _impl_.life_), - PROTOBUF_FIELD_OFFSET(::CMsgTEGlowSprite, _impl_.brightness_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgTEImpact, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEImpact, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEImpact, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CMsgTEImpact, _impl_.normal_), - PROTOBUF_FIELD_OFFSET(::CMsgTEImpact, _impl_.type_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CMsgTEMuzzleFlash, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEMuzzleFlash, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEMuzzleFlash, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CMsgTEMuzzleFlash, _impl_.angles_), - PROTOBUF_FIELD_OFFSET(::CMsgTEMuzzleFlash, _impl_.scale_), - PROTOBUF_FIELD_OFFSET(::CMsgTEMuzzleFlash, _impl_.type_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgTEBloodStream, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBloodStream, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEBloodStream, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBloodStream, _impl_.direction_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBloodStream, _impl_.color_), - PROTOBUF_FIELD_OFFSET(::CMsgTEBloodStream, _impl_.amount_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.normal_), - PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.radius_), - PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.magnitude_), - PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.affect_ragdolls_), - PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.sound_name_), - PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.explosion_type_), - PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.create_debris_), - PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.debris_origin_), - PROTOBUF_FIELD_OFFSET(::CMsgTEExplosion, _impl_.debris_surfaceprop_), - 1, - 4, - 2, - 5, - 6, - 7, - 0, - 9, - 8, - 3, - 10, - PROTOBUF_FIELD_OFFSET(::CMsgTEDust, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEDust, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEDust, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CMsgTEDust, _impl_.size_), - PROTOBUF_FIELD_OFFSET(::CMsgTEDust, _impl_.speed_), - PROTOBUF_FIELD_OFFSET(::CMsgTEDust, _impl_.direction_), - 0, - 2, - 3, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgTELargeFunnel, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTELargeFunnel, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTELargeFunnel, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CMsgTELargeFunnel, _impl_.reversed_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgTESparks, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTESparks, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTESparks, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CMsgTESparks, _impl_.magnitude_), - PROTOBUF_FIELD_OFFSET(::CMsgTESparks, _impl_.length_), - PROTOBUF_FIELD_OFFSET(::CMsgTESparks, _impl_.direction_), - 0, - 2, - 3, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.velocity_), - PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.angles_), - PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.skin_), - PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.effects_), - PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.color_), - PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.modelindex_), - PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.unused_breakmodelsnottomake_), - PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.scale_), - PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.dmgpos_), - PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.dmgdir_), - PROTOBUF_FIELD_OFFSET(::CMsgTEPhysicsProp, _impl_.dmgtype_), - 0, - 1, - 2, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 3, - 4, - 12, - PROTOBUF_FIELD_OFFSET(::CMsgTESmoke, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTESmoke, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTESmoke, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CMsgTESmoke, _impl_.scale_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CMsgTEWorldDecal, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CMsgTEWorldDecal, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CMsgTEWorldDecal, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CMsgTEWorldDecal, _impl_.normal_), - PROTOBUF_FIELD_OFFSET(::CMsgTEWorldDecal, _impl_.index_), - 0, - 1, - 2, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 8, -1, sizeof(::CMsgTEArmorRicochet)}, - { 10, 28, -1, sizeof(::CMsgTEBaseBeam)}, - { 40, 51, -1, sizeof(::CMsgTEBeamEntPoint)}, - { 56, 65, -1, sizeof(::CMsgTEBeamEnts)}, - { 68, 77, -1, sizeof(::CMsgTEBeamPoints)}, - { 80, 89, -1, sizeof(::CMsgTEBeamRing)}, - { 92, 103, -1, sizeof(::CMsgTEBubbles)}, - { 108, 119, -1, sizeof(::CMsgTEBubbleTrail)}, - { 124, 135, -1, sizeof(::CMsgTEDecal)}, - { 140, 165, -1, sizeof(::CMsgEffectData)}, - { 184, 191, -1, sizeof(::CMsgTEEffectDispatch)}, - { 192, 201, -1, sizeof(::CMsgTEEnergySplash)}, - { 204, 213, -1, sizeof(::CMsgTEFizz)}, - { 216, 232, -1, sizeof(::CMsgTEShatterSurface)}, - { 242, 252, -1, sizeof(::CMsgTEGlowSprite)}, - { 256, 265, -1, sizeof(::CMsgTEImpact)}, - { 268, 278, -1, sizeof(::CMsgTEMuzzleFlash)}, - { 282, 292, -1, sizeof(::CMsgTEBloodStream)}, - { 296, 313, -1, sizeof(::CMsgTEExplosion)}, - { 324, 334, -1, sizeof(::CMsgTEDust)}, - { 338, 346, -1, sizeof(::CMsgTELargeFunnel)}, - { 348, 358, -1, sizeof(::CMsgTESparks)}, - { 362, 381, -1, sizeof(::CMsgTEPhysicsProp)}, - { 394, 402, -1, sizeof(::CMsgTESmoke)}, - { 404, 413, -1, sizeof(::CMsgTEWorldDecal)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CMsgTEArmorRicochet_default_instance_._instance, - &::_CMsgTEBaseBeam_default_instance_._instance, - &::_CMsgTEBeamEntPoint_default_instance_._instance, - &::_CMsgTEBeamEnts_default_instance_._instance, - &::_CMsgTEBeamPoints_default_instance_._instance, - &::_CMsgTEBeamRing_default_instance_._instance, - &::_CMsgTEBubbles_default_instance_._instance, - &::_CMsgTEBubbleTrail_default_instance_._instance, - &::_CMsgTEDecal_default_instance_._instance, - &::_CMsgEffectData_default_instance_._instance, - &::_CMsgTEEffectDispatch_default_instance_._instance, - &::_CMsgTEEnergySplash_default_instance_._instance, - &::_CMsgTEFizz_default_instance_._instance, - &::_CMsgTEShatterSurface_default_instance_._instance, - &::_CMsgTEGlowSprite_default_instance_._instance, - &::_CMsgTEImpact_default_instance_._instance, - &::_CMsgTEMuzzleFlash_default_instance_._instance, - &::_CMsgTEBloodStream_default_instance_._instance, - &::_CMsgTEExplosion_default_instance_._instance, - &::_CMsgTEDust_default_instance_._instance, - &::_CMsgTELargeFunnel_default_instance_._instance, - &::_CMsgTESparks_default_instance_._instance, - &::_CMsgTEPhysicsProp_default_instance_._instance, - &::_CMsgTESmoke_default_instance_._instance, - &::_CMsgTEWorldDecal_default_instance_._instance, -}; - -const char descriptor_table_protodef_te_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\010te.proto\032\026networkbasetypes.proto\"I\n\023CM" - "sgTEArmorRicochet\022\030\n\003pos\030\001 \001(\0132\013.CMsgVec" - "tor\022\030\n\003dir\030\002 \001(\0132\013.CMsgVector\"\341\001\n\016CMsgTE" - "BaseBeam\022\022\n\nmodelindex\030\001 \001(\006\022\021\n\thaloinde" - "x\030\002 \001(\006\022\022\n\nstartframe\030\003 \001(\r\022\021\n\tframerate" - "\030\004 \001(\r\022\014\n\004life\030\005 \001(\002\022\r\n\005width\030\006 \001(\002\022\020\n\010e" - "ndwidth\030\007 \001(\002\022\022\n\nfadelength\030\010 \001(\r\022\021\n\tamp" - "litude\030\t \001(\002\022\r\n\005color\030\n \001(\007\022\r\n\005speed\030\013 \001" - "(\r\022\r\n\005flags\030\014 \001(\r\"\221\001\n\022CMsgTEBeamEntPoint" - "\022\035\n\004base\030\001 \001(\0132\017.CMsgTEBaseBeam\022\023\n\013start" - "entity\030\002 \001(\r\022\021\n\tendentity\030\003 \001(\r\022\032\n\005start" - "\030\004 \001(\0132\013.CMsgVector\022\030\n\003end\030\005 \001(\0132\013.CMsgV" - "ector\"W\n\016CMsgTEBeamEnts\022\035\n\004base\030\001 \001(\0132\017." - "CMsgTEBaseBeam\022\023\n\013startentity\030\002 \001(\r\022\021\n\te" - "ndentity\030\003 \001(\r\"g\n\020CMsgTEBeamPoints\022\035\n\004ba" - "se\030\001 \001(\0132\017.CMsgTEBaseBeam\022\032\n\005start\030\002 \001(\013" - "2\013.CMsgVector\022\030\n\003end\030\003 \001(\0132\013.CMsgVector\"" - "W\n\016CMsgTEBeamRing\022\035\n\004base\030\001 \001(\0132\017.CMsgTE" - "BaseBeam\022\023\n\013startentity\030\002 \001(\r\022\021\n\tendenti" - "ty\030\003 \001(\r\"s\n\rCMsgTEBubbles\022\031\n\004mins\030\001 \001(\0132" - "\013.CMsgVector\022\031\n\004maxs\030\002 \001(\0132\013.CMsgVector\022" - "\016\n\006height\030\003 \001(\002\022\r\n\005count\030\004 \001(\r\022\r\n\005speed\030" - "\005 \001(\002\"w\n\021CMsgTEBubbleTrail\022\031\n\004mins\030\001 \001(\013" - "2\013.CMsgVector\022\031\n\004maxs\030\002 \001(\0132\013.CMsgVector" - "\022\016\n\006waterz\030\003 \001(\002\022\r\n\005count\030\004 \001(\r\022\r\n\005speed" - "\030\005 \001(\002\"y\n\013CMsgTEDecal\022\033\n\006origin\030\001 \001(\0132\013." - "CMsgVector\022\032\n\005start\030\002 \001(\0132\013.CMsgVector\022\022" - "\n\006entity\030\003 \001(\005:\002-1\022\016\n\006hitbox\030\004 \001(\r\022\r\n\005in" - "dex\030\005 \001(\r\"\261\003\n\016CMsgEffectData\022\033\n\006origin\030\001" - " \001(\0132\013.CMsgVector\022\032\n\005start\030\002 \001(\0132\013.CMsgV" - "ector\022\033\n\006normal\030\003 \001(\0132\013.CMsgVector\022\033\n\006an" - "gles\030\004 \001(\0132\013.CMsgQAngle\022\030\n\006entity\030\005 \001(\007:" - "\01016777215\022\035\n\013otherentity\030\006 \001(\007:\01016777215" - "\022\r\n\005scale\030\007 \001(\002\022\021\n\tmagnitude\030\010 \001(\002\022\016\n\006ra" - "dius\030\t \001(\002\022\023\n\013surfaceprop\030\n \001(\007\022\023\n\013effec" - "tindex\030\013 \001(\006\022\022\n\ndamagetype\030\014 \001(\r\022\020\n\010mate" - "rial\030\r \001(\r\022\016\n\006hitbox\030\016 \001(\r\022\r\n\005color\030\017 \001(" - "\r\022\r\n\005flags\030\020 \001(\r\022\027\n\017attachmentindex\030\021 \001(" - "\005\022\022\n\neffectname\030\022 \001(\r\022\026\n\016attachmentname\030" - "\023 \001(\r\";\n\024CMsgTEEffectDispatch\022#\n\neffectd" - "ata\030\001 \001(\0132\017.CMsgEffectData\"[\n\022CMsgTEEner" - "gySplash\022\030\n\003pos\030\001 \001(\0132\013.CMsgVector\022\030\n\003di" - "r\030\002 \001(\0132\013.CMsgVector\022\021\n\texplosive\030\003 \001(\010\"" - "B\n\nCMsgTEFizz\022\022\n\006entity\030\001 \001(\005:\002-1\022\017\n\007den" - "sity\030\002 \001(\r\022\017\n\007current\030\003 \001(\005\"\371\001\n\024CMsgTESh" - "atterSurface\022\033\n\006origin\030\001 \001(\0132\013.CMsgVecto" - "r\022\033\n\006angles\030\002 \001(\0132\013.CMsgQAngle\022\032\n\005force\030" - "\003 \001(\0132\013.CMsgVector\022\035\n\010forcepos\030\004 \001(\0132\013.C" - "MsgVector\022\r\n\005width\030\005 \001(\002\022\016\n\006height\030\006 \001(\002" - "\022\021\n\tshardsize\030\007 \001(\002\022\023\n\013surfacetype\030\010 \001(\r" - "\022\022\n\nfrontcolor\030\t \001(\007\022\021\n\tbackcolor\030\n \001(\007\"" - "`\n\020CMsgTEGlowSprite\022\033\n\006origin\030\001 \001(\0132\013.CM" - "sgVector\022\r\n\005scale\030\002 \001(\002\022\014\n\004life\030\003 \001(\002\022\022\n" - "\nbrightness\030\004 \001(\r\"V\n\014CMsgTEImpact\022\033\n\006ori" - "gin\030\001 \001(\0132\013.CMsgVector\022\033\n\006normal\030\002 \001(\0132\013" - ".CMsgVector\022\014\n\004type\030\003 \001(\r\"j\n\021CMsgTEMuzzl" - "eFlash\022\033\n\006origin\030\001 \001(\0132\013.CMsgVector\022\033\n\006a" - "ngles\030\002 \001(\0132\013.CMsgQAngle\022\r\n\005scale\030\003 \001(\002\022" - "\014\n\004type\030\004 \001(\r\"o\n\021CMsgTEBloodStream\022\033\n\006or" - "igin\030\001 \001(\0132\013.CMsgVector\022\036\n\tdirection\030\002 \001" - "(\0132\013.CMsgVector\022\r\n\005color\030\003 \001(\007\022\016\n\006amount" - "\030\004 \001(\r\"\231\002\n\017CMsgTEExplosion\022\033\n\006origin\030\001 \001" - "(\0132\013.CMsgVector\022\r\n\005flags\030\003 \001(\r\022\033\n\006normal" - "\030\004 \001(\0132\013.CMsgVector\022\016\n\006radius\030\006 \001(\r\022\021\n\tm" - "agnitude\030\007 \001(\r\022\027\n\017affect_ragdolls\030\t \001(\010\022" - "\022\n\nsound_name\030\n \001(\t\022\026\n\016explosion_type\030\013 " - "\001(\r\022\025\n\rcreate_debris\030\014 \001(\010\022\"\n\rdebris_ori" - "gin\030\r \001(\0132\013.CMsgVector\022\032\n\022debris_surface" - "prop\030\016 \001(\007\"f\n\nCMsgTEDust\022\033\n\006origin\030\001 \001(\013" - "2\013.CMsgVector\022\014\n\004size\030\002 \001(\002\022\r\n\005speed\030\003 \001" - "(\002\022\036\n\tdirection\030\004 \001(\0132\013.CMsgVector\"B\n\021CM" - "sgTELargeFunnel\022\033\n\006origin\030\001 \001(\0132\013.CMsgVe" - "ctor\022\020\n\010reversed\030\002 \001(\r\"n\n\014CMsgTESparks\022\033" - "\n\006origin\030\001 \001(\0132\013.CMsgVector\022\021\n\tmagnitude" - "\030\002 \001(\r\022\016\n\006length\030\003 \001(\r\022\036\n\tdirection\030\004 \001(" - "\0132\013.CMsgVector\"\274\002\n\021CMsgTEPhysicsProp\022\033\n\006" - "origin\030\001 \001(\0132\013.CMsgVector\022\035\n\010velocity\030\002 " - "\001(\0132\013.CMsgVector\022\033\n\006angles\030\003 \001(\0132\013.CMsgQ" - "Angle\022\014\n\004skin\030\004 \001(\007\022\r\n\005flags\030\005 \001(\r\022\017\n\007ef" - "fects\030\006 \001(\r\022\r\n\005color\030\007 \001(\007\022\022\n\nmodelindex" - "\030\010 \001(\006\022#\n\033unused_breakmodelsnottomake\030\t " - "\001(\r\022\r\n\005scale\030\n \001(\002\022\033\n\006dmgpos\030\013 \001(\0132\013.CMs" - "gVector\022\033\n\006dmgdir\030\014 \001(\0132\013.CMsgVector\022\017\n\007" - "dmgtype\030\r \001(\005\"9\n\013CMsgTESmoke\022\033\n\006origin\030\001" - " \001(\0132\013.CMsgVector\022\r\n\005scale\030\002 \001(\002\"[\n\020CMsg" - "TEWorldDecal\022\033\n\006origin\030\001 \001(\0132\013.CMsgVecto" - "r\022\033\n\006normal\030\002 \001(\0132\013.CMsgVector\022\r\n\005index\030" - "\003 \001(\r*\370\003\n\016ETEProtobufIds\022\030\n\023TE_EffectDis" - "patchId\020\220\003\022\027\n\022TE_ArmorRicochetId\020\221\003\022\026\n\021T" - "E_BeamEntPointId\020\222\003\022\022\n\rTE_BeamEntsId\020\223\003\022" - "\024\n\017TE_BeamPointsId\020\224\003\022\022\n\rTE_BeamRingId\020\225" - "\003\022\021\n\014TE_BubblesId\020\230\003\022\025\n\020TE_BubbleTrailId" - "\020\231\003\022\017\n\nTE_DecalId\020\232\003\022\024\n\017TE_WorldDecalId\020" - "\233\003\022\026\n\021TE_EnergySplashId\020\234\003\022\016\n\tTE_FizzId\020" - "\235\003\022\030\n\023TE_ShatterSurfaceId\020\236\003\022\024\n\017TE_GlowS" - "priteId\020\237\003\022\020\n\013TE_ImpactId\020\240\003\022\025\n\020TE_Muzzl" - "eFlashId\020\241\003\022\025\n\020TE_BloodStreamId\020\242\003\022\023\n\016TE" - "_ExplosionId\020\243\003\022\016\n\tTE_DustId\020\244\003\022\025\n\020TE_La" - "rgeFunnelId\020\245\003\022\020\n\013TE_SparksId\020\246\003\022\025\n\020TE_P" - "hysicsPropId\020\247\003\022\017\n\nTE_SmokeId\020\252\003" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_te_2eproto_deps[1] = { - &::descriptor_table_networkbasetypes_2eproto, -}; -static ::_pbi::once_flag descriptor_table_te_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_te_2eproto = { - false, false, 3992, descriptor_table_protodef_te_2eproto, - "te.proto", - &descriptor_table_te_2eproto_once, descriptor_table_te_2eproto_deps, 1, 25, - schemas, file_default_instances, TableStruct_te_2eproto::offsets, - file_level_metadata_te_2eproto, file_level_enum_descriptors_te_2eproto, - file_level_service_descriptors_te_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_te_2eproto_getter() { - return &descriptor_table_te_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_te_2eproto(&descriptor_table_te_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ETEProtobufIds_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_te_2eproto); - return file_level_enum_descriptors_te_2eproto[0]; -} -bool ETEProtobufIds_IsValid(int value) { - switch (value) { - case 400: - case 401: - case 402: - case 403: - case 404: - case 405: - case 408: - case 409: - case 410: - case 411: - case 412: - case 413: - case 414: - case 415: - case 416: - case 417: - case 418: - case 419: - case 420: - case 421: - case 422: - case 423: - case 426: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CMsgTEArmorRicochet::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& pos(const CMsgTEArmorRicochet* msg); - static void set_has_pos(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgVector& dir(const CMsgTEArmorRicochet* msg); - static void set_has_dir(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgVector& -CMsgTEArmorRicochet::_Internal::pos(const CMsgTEArmorRicochet* msg) { - return *msg->_impl_.pos_; -} -const ::CMsgVector& -CMsgTEArmorRicochet::_Internal::dir(const CMsgTEArmorRicochet* msg) { - return *msg->_impl_.dir_; -} -void CMsgTEArmorRicochet::clear_pos() { - if (_impl_.pos_ != nullptr) _impl_.pos_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgTEArmorRicochet::clear_dir() { - if (_impl_.dir_ != nullptr) _impl_.dir_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CMsgTEArmorRicochet::CMsgTEArmorRicochet(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEArmorRicochet) -} -CMsgTEArmorRicochet::CMsgTEArmorRicochet(const CMsgTEArmorRicochet& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEArmorRicochet* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pos_){nullptr} - , decltype(_impl_.dir_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_pos()) { - _this->_impl_.pos_ = new ::CMsgVector(*from._impl_.pos_); - } - if (from._internal_has_dir()) { - _this->_impl_.dir_ = new ::CMsgVector(*from._impl_.dir_); - } - // @@protoc_insertion_point(copy_constructor:CMsgTEArmorRicochet) -} - -inline void CMsgTEArmorRicochet::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pos_){nullptr} - , decltype(_impl_.dir_){nullptr} - }; -} - -CMsgTEArmorRicochet::~CMsgTEArmorRicochet() { - // @@protoc_insertion_point(destructor:CMsgTEArmorRicochet) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEArmorRicochet::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.pos_; - if (this != internal_default_instance()) delete _impl_.dir_; -} - -void CMsgTEArmorRicochet::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEArmorRicochet::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEArmorRicochet) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.pos_ != nullptr); - _impl_.pos_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.dir_ != nullptr); - _impl_.dir_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEArmorRicochet::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector pos = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_pos(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector dir = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_dir(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEArmorRicochet::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEArmorRicochet) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector pos = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::pos(this), - _Internal::pos(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector dir = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::dir(this), - _Internal::dir(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEArmorRicochet) - return target; -} - -size_t CMsgTEArmorRicochet::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEArmorRicochet) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgVector pos = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.pos_); - } - - // optional .CMsgVector dir = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.dir_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEArmorRicochet::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEArmorRicochet::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEArmorRicochet::GetClassData() const { return &_class_data_; } - - -void CMsgTEArmorRicochet::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEArmorRicochet) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_pos()->::CMsgVector::MergeFrom( - from._internal_pos()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_dir()->::CMsgVector::MergeFrom( - from._internal_dir()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEArmorRicochet::CopyFrom(const CMsgTEArmorRicochet& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEArmorRicochet) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEArmorRicochet::IsInitialized() const { - return true; -} - -void CMsgTEArmorRicochet::InternalSwap(CMsgTEArmorRicochet* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEArmorRicochet, _impl_.dir_) - + sizeof(CMsgTEArmorRicochet::_impl_.dir_) - - PROTOBUF_FIELD_OFFSET(CMsgTEArmorRicochet, _impl_.pos_)>( - reinterpret_cast(&_impl_.pos_), - reinterpret_cast(&other->_impl_.pos_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEArmorRicochet::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[0]); -} - -// =================================================================== - -class CMsgTEBaseBeam::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_modelindex(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_haloindex(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_startframe(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_framerate(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_life(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_width(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_endwidth(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_fadelength(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_amplitude(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_color(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_speed(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } -}; - -CMsgTEBaseBeam::CMsgTEBaseBeam(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEBaseBeam) -} -CMsgTEBaseBeam::CMsgTEBaseBeam(const CMsgTEBaseBeam& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEBaseBeam* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.modelindex_){} - , decltype(_impl_.haloindex_){} - , decltype(_impl_.startframe_){} - , decltype(_impl_.framerate_){} - , decltype(_impl_.life_){} - , decltype(_impl_.width_){} - , decltype(_impl_.endwidth_){} - , decltype(_impl_.fadelength_){} - , decltype(_impl_.amplitude_){} - , decltype(_impl_.color_){} - , decltype(_impl_.speed_){} - , decltype(_impl_.flags_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.modelindex_, &from._impl_.modelindex_, - static_cast(reinterpret_cast(&_impl_.flags_) - - reinterpret_cast(&_impl_.modelindex_)) + sizeof(_impl_.flags_)); - // @@protoc_insertion_point(copy_constructor:CMsgTEBaseBeam) -} - -inline void CMsgTEBaseBeam::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.modelindex_){uint64_t{0u}} - , decltype(_impl_.haloindex_){uint64_t{0u}} - , decltype(_impl_.startframe_){0u} - , decltype(_impl_.framerate_){0u} - , decltype(_impl_.life_){0} - , decltype(_impl_.width_){0} - , decltype(_impl_.endwidth_){0} - , decltype(_impl_.fadelength_){0u} - , decltype(_impl_.amplitude_){0} - , decltype(_impl_.color_){0u} - , decltype(_impl_.speed_){0u} - , decltype(_impl_.flags_){0u} - }; -} - -CMsgTEBaseBeam::~CMsgTEBaseBeam() { - // @@protoc_insertion_point(destructor:CMsgTEBaseBeam) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEBaseBeam::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgTEBaseBeam::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEBaseBeam::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEBaseBeam) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.modelindex_, 0, static_cast( - reinterpret_cast(&_impl_.fadelength_) - - reinterpret_cast(&_impl_.modelindex_)) + sizeof(_impl_.fadelength_)); - } - if (cached_has_bits & 0x00000f00u) { - ::memset(&_impl_.amplitude_, 0, static_cast( - reinterpret_cast(&_impl_.flags_) - - reinterpret_cast(&_impl_.amplitude_)) + sizeof(_impl_.flags_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEBaseBeam::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 modelindex = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_modelindex(&has_bits); - _impl_.modelindex_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional fixed64 haloindex = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 17)) { - _Internal::set_has_haloindex(&has_bits); - _impl_.haloindex_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 startframe = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_startframe(&has_bits); - _impl_.startframe_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 framerate = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_framerate(&has_bits); - _impl_.framerate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float life = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_life(&has_bits); - _impl_.life_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float width = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - _Internal::set_has_width(&has_bits); - _impl_.width_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float endwidth = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_endwidth(&has_bits); - _impl_.endwidth_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 fadelength = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_fadelength(&has_bits); - _impl_.fadelength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float amplitude = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_amplitude(&has_bits); - _impl_.amplitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional fixed32 color = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { - _Internal::set_has_color(&has_bits); - _impl_.color_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 speed = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_speed(&has_bits); - _impl_.speed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEBaseBeam::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEBaseBeam) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 modelindex = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_modelindex(), target); - } - - // optional fixed64 haloindex = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(2, this->_internal_haloindex(), target); - } - - // optional uint32 startframe = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_startframe(), target); - } - - // optional uint32 framerate = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_framerate(), target); - } - - // optional float life = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_life(), target); - } - - // optional float width = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_width(), target); - } - - // optional float endwidth = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_endwidth(), target); - } - - // optional uint32 fadelength = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_fadelength(), target); - } - - // optional float amplitude = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_amplitude(), target); - } - - // optional fixed32 color = 10; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(10, this->_internal_color(), target); - } - - // optional uint32 speed = 11; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_speed(), target); - } - - // optional uint32 flags = 12; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_flags(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEBaseBeam) - return target; -} - -size_t CMsgTEBaseBeam::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEBaseBeam) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional fixed64 modelindex = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - // optional fixed64 haloindex = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 8; - } - - // optional uint32 startframe = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_startframe()); - } - - // optional uint32 framerate = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_framerate()); - } - - // optional float life = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional float width = 6; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional float endwidth = 7; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional uint32 fadelength = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_fadelength()); - } - - } - if (cached_has_bits & 0x00000f00u) { - // optional float amplitude = 9; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 4; - } - - // optional fixed32 color = 10; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 4; - } - - // optional uint32 speed = 11; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_speed()); - } - - // optional uint32 flags = 12; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEBaseBeam::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEBaseBeam::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEBaseBeam::GetClassData() const { return &_class_data_; } - - -void CMsgTEBaseBeam::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEBaseBeam) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.modelindex_ = from._impl_.modelindex_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.haloindex_ = from._impl_.haloindex_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.startframe_ = from._impl_.startframe_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.framerate_ = from._impl_.framerate_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.life_ = from._impl_.life_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.width_ = from._impl_.width_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.endwidth_ = from._impl_.endwidth_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.fadelength_ = from._impl_.fadelength_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.amplitude_ = from._impl_.amplitude_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.color_ = from._impl_.color_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.speed_ = from._impl_.speed_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEBaseBeam::CopyFrom(const CMsgTEBaseBeam& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEBaseBeam) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEBaseBeam::IsInitialized() const { - return true; -} - -void CMsgTEBaseBeam::InternalSwap(CMsgTEBaseBeam* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEBaseBeam, _impl_.flags_) - + sizeof(CMsgTEBaseBeam::_impl_.flags_) - - PROTOBUF_FIELD_OFFSET(CMsgTEBaseBeam, _impl_.modelindex_)>( - reinterpret_cast(&_impl_.modelindex_), - reinterpret_cast(&other->_impl_.modelindex_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEBaseBeam::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[1]); -} - -// =================================================================== - -class CMsgTEBeamEntPoint::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgTEBaseBeam& base(const CMsgTEBeamEntPoint* msg); - static void set_has_base(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_startentity(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_endentity(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static const ::CMsgVector& start(const CMsgTEBeamEntPoint* msg); - static void set_has_start(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgVector& end(const CMsgTEBeamEntPoint* msg); - static void set_has_end(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::CMsgTEBaseBeam& -CMsgTEBeamEntPoint::_Internal::base(const CMsgTEBeamEntPoint* msg) { - return *msg->_impl_.base_; -} -const ::CMsgVector& -CMsgTEBeamEntPoint::_Internal::start(const CMsgTEBeamEntPoint* msg) { - return *msg->_impl_.start_; -} -const ::CMsgVector& -CMsgTEBeamEntPoint::_Internal::end(const CMsgTEBeamEntPoint* msg) { - return *msg->_impl_.end_; -} -void CMsgTEBeamEntPoint::clear_start() { - if (_impl_.start_ != nullptr) _impl_.start_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CMsgTEBeamEntPoint::clear_end() { - if (_impl_.end_ != nullptr) _impl_.end_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -CMsgTEBeamEntPoint::CMsgTEBeamEntPoint(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEBeamEntPoint) -} -CMsgTEBeamEntPoint::CMsgTEBeamEntPoint(const CMsgTEBeamEntPoint& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEBeamEntPoint* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.base_){nullptr} - , decltype(_impl_.start_){nullptr} - , decltype(_impl_.end_){nullptr} - , decltype(_impl_.startentity_){} - , decltype(_impl_.endentity_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_base()) { - _this->_impl_.base_ = new ::CMsgTEBaseBeam(*from._impl_.base_); - } - if (from._internal_has_start()) { - _this->_impl_.start_ = new ::CMsgVector(*from._impl_.start_); - } - if (from._internal_has_end()) { - _this->_impl_.end_ = new ::CMsgVector(*from._impl_.end_); - } - ::memcpy(&_impl_.startentity_, &from._impl_.startentity_, - static_cast(reinterpret_cast(&_impl_.endentity_) - - reinterpret_cast(&_impl_.startentity_)) + sizeof(_impl_.endentity_)); - // @@protoc_insertion_point(copy_constructor:CMsgTEBeamEntPoint) -} - -inline void CMsgTEBeamEntPoint::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.base_){nullptr} - , decltype(_impl_.start_){nullptr} - , decltype(_impl_.end_){nullptr} - , decltype(_impl_.startentity_){0u} - , decltype(_impl_.endentity_){0u} - }; -} - -CMsgTEBeamEntPoint::~CMsgTEBeamEntPoint() { - // @@protoc_insertion_point(destructor:CMsgTEBeamEntPoint) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEBeamEntPoint::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.base_; - if (this != internal_default_instance()) delete _impl_.start_; - if (this != internal_default_instance()) delete _impl_.end_; -} - -void CMsgTEBeamEntPoint::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEBeamEntPoint::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEBeamEntPoint) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.base_ != nullptr); - _impl_.base_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.start_ != nullptr); - _impl_.start_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.end_ != nullptr); - _impl_.end_->Clear(); - } - } - if (cached_has_bits & 0x00000018u) { - ::memset(&_impl_.startentity_, 0, static_cast( - reinterpret_cast(&_impl_.endentity_) - - reinterpret_cast(&_impl_.startentity_)) + sizeof(_impl_.endentity_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEBeamEntPoint::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgTEBaseBeam base = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_base(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 startentity = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_startentity(&has_bits); - _impl_.startentity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 endentity = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_endentity(&has_bits); - _impl_.endentity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector start = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_start(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector end = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_end(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEBeamEntPoint::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEBeamEntPoint) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgTEBaseBeam base = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::base(this), - _Internal::base(this).GetCachedSize(), target, stream); - } - - // optional uint32 startentity = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_startentity(), target); - } - - // optional uint32 endentity = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_endentity(), target); - } - - // optional .CMsgVector start = 4; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::start(this), - _Internal::start(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector end = 5; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::end(this), - _Internal::end(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEBeamEntPoint) - return target; -} - -size_t CMsgTEBeamEntPoint::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEBeamEntPoint) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional .CMsgTEBaseBeam base = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.base_); - } - - // optional .CMsgVector start = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.start_); - } - - // optional .CMsgVector end = 5; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.end_); - } - - // optional uint32 startentity = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_startentity()); - } - - // optional uint32 endentity = 3; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_endentity()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEBeamEntPoint::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEBeamEntPoint::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEBeamEntPoint::GetClassData() const { return &_class_data_; } - - -void CMsgTEBeamEntPoint::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEBeamEntPoint) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_base()->::CMsgTEBaseBeam::MergeFrom( - from._internal_base()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_start()->::CMsgVector::MergeFrom( - from._internal_start()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_end()->::CMsgVector::MergeFrom( - from._internal_end()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.startentity_ = from._impl_.startentity_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.endentity_ = from._impl_.endentity_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEBeamEntPoint::CopyFrom(const CMsgTEBeamEntPoint& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEBeamEntPoint) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEBeamEntPoint::IsInitialized() const { - return true; -} - -void CMsgTEBeamEntPoint::InternalSwap(CMsgTEBeamEntPoint* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEBeamEntPoint, _impl_.endentity_) - + sizeof(CMsgTEBeamEntPoint::_impl_.endentity_) - - PROTOBUF_FIELD_OFFSET(CMsgTEBeamEntPoint, _impl_.base_)>( - reinterpret_cast(&_impl_.base_), - reinterpret_cast(&other->_impl_.base_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEBeamEntPoint::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[2]); -} - -// =================================================================== - -class CMsgTEBeamEnts::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgTEBaseBeam& base(const CMsgTEBeamEnts* msg); - static void set_has_base(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_startentity(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_endentity(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::CMsgTEBaseBeam& -CMsgTEBeamEnts::_Internal::base(const CMsgTEBeamEnts* msg) { - return *msg->_impl_.base_; -} -CMsgTEBeamEnts::CMsgTEBeamEnts(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEBeamEnts) -} -CMsgTEBeamEnts::CMsgTEBeamEnts(const CMsgTEBeamEnts& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEBeamEnts* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.base_){nullptr} - , decltype(_impl_.startentity_){} - , decltype(_impl_.endentity_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_base()) { - _this->_impl_.base_ = new ::CMsgTEBaseBeam(*from._impl_.base_); - } - ::memcpy(&_impl_.startentity_, &from._impl_.startentity_, - static_cast(reinterpret_cast(&_impl_.endentity_) - - reinterpret_cast(&_impl_.startentity_)) + sizeof(_impl_.endentity_)); - // @@protoc_insertion_point(copy_constructor:CMsgTEBeamEnts) -} - -inline void CMsgTEBeamEnts::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.base_){nullptr} - , decltype(_impl_.startentity_){0u} - , decltype(_impl_.endentity_){0u} - }; -} - -CMsgTEBeamEnts::~CMsgTEBeamEnts() { - // @@protoc_insertion_point(destructor:CMsgTEBeamEnts) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEBeamEnts::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.base_; -} - -void CMsgTEBeamEnts::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEBeamEnts::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEBeamEnts) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.base_ != nullptr); - _impl_.base_->Clear(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.startentity_, 0, static_cast( - reinterpret_cast(&_impl_.endentity_) - - reinterpret_cast(&_impl_.startentity_)) + sizeof(_impl_.endentity_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEBeamEnts::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgTEBaseBeam base = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_base(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 startentity = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_startentity(&has_bits); - _impl_.startentity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 endentity = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_endentity(&has_bits); - _impl_.endentity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEBeamEnts::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEBeamEnts) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgTEBaseBeam base = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::base(this), - _Internal::base(this).GetCachedSize(), target, stream); - } - - // optional uint32 startentity = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_startentity(), target); - } - - // optional uint32 endentity = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_endentity(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEBeamEnts) - return target; -} - -size_t CMsgTEBeamEnts::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEBeamEnts) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .CMsgTEBaseBeam base = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.base_); - } - - // optional uint32 startentity = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_startentity()); - } - - // optional uint32 endentity = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_endentity()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEBeamEnts::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEBeamEnts::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEBeamEnts::GetClassData() const { return &_class_data_; } - - -void CMsgTEBeamEnts::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEBeamEnts) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_base()->::CMsgTEBaseBeam::MergeFrom( - from._internal_base()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.startentity_ = from._impl_.startentity_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.endentity_ = from._impl_.endentity_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEBeamEnts::CopyFrom(const CMsgTEBeamEnts& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEBeamEnts) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEBeamEnts::IsInitialized() const { - return true; -} - -void CMsgTEBeamEnts::InternalSwap(CMsgTEBeamEnts* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEBeamEnts, _impl_.endentity_) - + sizeof(CMsgTEBeamEnts::_impl_.endentity_) - - PROTOBUF_FIELD_OFFSET(CMsgTEBeamEnts, _impl_.base_)>( - reinterpret_cast(&_impl_.base_), - reinterpret_cast(&other->_impl_.base_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEBeamEnts::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[3]); -} - -// =================================================================== - -class CMsgTEBeamPoints::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgTEBaseBeam& base(const CMsgTEBeamPoints* msg); - static void set_has_base(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgVector& start(const CMsgTEBeamPoints* msg); - static void set_has_start(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgVector& end(const CMsgTEBeamPoints* msg); - static void set_has_end(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::CMsgTEBaseBeam& -CMsgTEBeamPoints::_Internal::base(const CMsgTEBeamPoints* msg) { - return *msg->_impl_.base_; -} -const ::CMsgVector& -CMsgTEBeamPoints::_Internal::start(const CMsgTEBeamPoints* msg) { - return *msg->_impl_.start_; -} -const ::CMsgVector& -CMsgTEBeamPoints::_Internal::end(const CMsgTEBeamPoints* msg) { - return *msg->_impl_.end_; -} -void CMsgTEBeamPoints::clear_start() { - if (_impl_.start_ != nullptr) _impl_.start_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CMsgTEBeamPoints::clear_end() { - if (_impl_.end_ != nullptr) _impl_.end_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -CMsgTEBeamPoints::CMsgTEBeamPoints(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEBeamPoints) -} -CMsgTEBeamPoints::CMsgTEBeamPoints(const CMsgTEBeamPoints& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEBeamPoints* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.base_){nullptr} - , decltype(_impl_.start_){nullptr} - , decltype(_impl_.end_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_base()) { - _this->_impl_.base_ = new ::CMsgTEBaseBeam(*from._impl_.base_); - } - if (from._internal_has_start()) { - _this->_impl_.start_ = new ::CMsgVector(*from._impl_.start_); - } - if (from._internal_has_end()) { - _this->_impl_.end_ = new ::CMsgVector(*from._impl_.end_); - } - // @@protoc_insertion_point(copy_constructor:CMsgTEBeamPoints) -} - -inline void CMsgTEBeamPoints::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.base_){nullptr} - , decltype(_impl_.start_){nullptr} - , decltype(_impl_.end_){nullptr} - }; -} - -CMsgTEBeamPoints::~CMsgTEBeamPoints() { - // @@protoc_insertion_point(destructor:CMsgTEBeamPoints) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEBeamPoints::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.base_; - if (this != internal_default_instance()) delete _impl_.start_; - if (this != internal_default_instance()) delete _impl_.end_; -} - -void CMsgTEBeamPoints::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEBeamPoints::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEBeamPoints) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.base_ != nullptr); - _impl_.base_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.start_ != nullptr); - _impl_.start_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.end_ != nullptr); - _impl_.end_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEBeamPoints::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgTEBaseBeam base = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_base(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector start = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_start(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector end = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_end(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEBeamPoints::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEBeamPoints) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgTEBaseBeam base = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::base(this), - _Internal::base(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector start = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::start(this), - _Internal::start(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector end = 3; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::end(this), - _Internal::end(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEBeamPoints) - return target; -} - -size_t CMsgTEBeamPoints::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEBeamPoints) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .CMsgTEBaseBeam base = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.base_); - } - - // optional .CMsgVector start = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.start_); - } - - // optional .CMsgVector end = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.end_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEBeamPoints::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEBeamPoints::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEBeamPoints::GetClassData() const { return &_class_data_; } - - -void CMsgTEBeamPoints::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEBeamPoints) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_base()->::CMsgTEBaseBeam::MergeFrom( - from._internal_base()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_start()->::CMsgVector::MergeFrom( - from._internal_start()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_end()->::CMsgVector::MergeFrom( - from._internal_end()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEBeamPoints::CopyFrom(const CMsgTEBeamPoints& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEBeamPoints) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEBeamPoints::IsInitialized() const { - return true; -} - -void CMsgTEBeamPoints::InternalSwap(CMsgTEBeamPoints* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEBeamPoints, _impl_.end_) - + sizeof(CMsgTEBeamPoints::_impl_.end_) - - PROTOBUF_FIELD_OFFSET(CMsgTEBeamPoints, _impl_.base_)>( - reinterpret_cast(&_impl_.base_), - reinterpret_cast(&other->_impl_.base_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEBeamPoints::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[4]); -} - -// =================================================================== - -class CMsgTEBeamRing::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgTEBaseBeam& base(const CMsgTEBeamRing* msg); - static void set_has_base(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_startentity(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_endentity(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::CMsgTEBaseBeam& -CMsgTEBeamRing::_Internal::base(const CMsgTEBeamRing* msg) { - return *msg->_impl_.base_; -} -CMsgTEBeamRing::CMsgTEBeamRing(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEBeamRing) -} -CMsgTEBeamRing::CMsgTEBeamRing(const CMsgTEBeamRing& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEBeamRing* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.base_){nullptr} - , decltype(_impl_.startentity_){} - , decltype(_impl_.endentity_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_base()) { - _this->_impl_.base_ = new ::CMsgTEBaseBeam(*from._impl_.base_); - } - ::memcpy(&_impl_.startentity_, &from._impl_.startentity_, - static_cast(reinterpret_cast(&_impl_.endentity_) - - reinterpret_cast(&_impl_.startentity_)) + sizeof(_impl_.endentity_)); - // @@protoc_insertion_point(copy_constructor:CMsgTEBeamRing) -} - -inline void CMsgTEBeamRing::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.base_){nullptr} - , decltype(_impl_.startentity_){0u} - , decltype(_impl_.endentity_){0u} - }; -} - -CMsgTEBeamRing::~CMsgTEBeamRing() { - // @@protoc_insertion_point(destructor:CMsgTEBeamRing) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEBeamRing::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.base_; -} - -void CMsgTEBeamRing::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEBeamRing::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEBeamRing) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.base_ != nullptr); - _impl_.base_->Clear(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.startentity_, 0, static_cast( - reinterpret_cast(&_impl_.endentity_) - - reinterpret_cast(&_impl_.startentity_)) + sizeof(_impl_.endentity_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEBeamRing::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgTEBaseBeam base = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_base(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 startentity = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_startentity(&has_bits); - _impl_.startentity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 endentity = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_endentity(&has_bits); - _impl_.endentity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEBeamRing::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEBeamRing) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgTEBaseBeam base = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::base(this), - _Internal::base(this).GetCachedSize(), target, stream); - } - - // optional uint32 startentity = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_startentity(), target); - } - - // optional uint32 endentity = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_endentity(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEBeamRing) - return target; -} - -size_t CMsgTEBeamRing::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEBeamRing) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .CMsgTEBaseBeam base = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.base_); - } - - // optional uint32 startentity = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_startentity()); - } - - // optional uint32 endentity = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_endentity()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEBeamRing::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEBeamRing::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEBeamRing::GetClassData() const { return &_class_data_; } - - -void CMsgTEBeamRing::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEBeamRing) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_base()->::CMsgTEBaseBeam::MergeFrom( - from._internal_base()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.startentity_ = from._impl_.startentity_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.endentity_ = from._impl_.endentity_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEBeamRing::CopyFrom(const CMsgTEBeamRing& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEBeamRing) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEBeamRing::IsInitialized() const { - return true; -} - -void CMsgTEBeamRing::InternalSwap(CMsgTEBeamRing* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEBeamRing, _impl_.endentity_) - + sizeof(CMsgTEBeamRing::_impl_.endentity_) - - PROTOBUF_FIELD_OFFSET(CMsgTEBeamRing, _impl_.base_)>( - reinterpret_cast(&_impl_.base_), - reinterpret_cast(&other->_impl_.base_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEBeamRing::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[5]); -} - -// =================================================================== - -class CMsgTEBubbles::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& mins(const CMsgTEBubbles* msg); - static void set_has_mins(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgVector& maxs(const CMsgTEBubbles* msg); - static void set_has_maxs(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_height(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_count(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_speed(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -const ::CMsgVector& -CMsgTEBubbles::_Internal::mins(const CMsgTEBubbles* msg) { - return *msg->_impl_.mins_; -} -const ::CMsgVector& -CMsgTEBubbles::_Internal::maxs(const CMsgTEBubbles* msg) { - return *msg->_impl_.maxs_; -} -void CMsgTEBubbles::clear_mins() { - if (_impl_.mins_ != nullptr) _impl_.mins_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgTEBubbles::clear_maxs() { - if (_impl_.maxs_ != nullptr) _impl_.maxs_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CMsgTEBubbles::CMsgTEBubbles(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEBubbles) -} -CMsgTEBubbles::CMsgTEBubbles(const CMsgTEBubbles& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEBubbles* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mins_){nullptr} - , decltype(_impl_.maxs_){nullptr} - , decltype(_impl_.height_){} - , decltype(_impl_.count_){} - , decltype(_impl_.speed_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_mins()) { - _this->_impl_.mins_ = new ::CMsgVector(*from._impl_.mins_); - } - if (from._internal_has_maxs()) { - _this->_impl_.maxs_ = new ::CMsgVector(*from._impl_.maxs_); - } - ::memcpy(&_impl_.height_, &from._impl_.height_, - static_cast(reinterpret_cast(&_impl_.speed_) - - reinterpret_cast(&_impl_.height_)) + sizeof(_impl_.speed_)); - // @@protoc_insertion_point(copy_constructor:CMsgTEBubbles) -} - -inline void CMsgTEBubbles::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mins_){nullptr} - , decltype(_impl_.maxs_){nullptr} - , decltype(_impl_.height_){0} - , decltype(_impl_.count_){0u} - , decltype(_impl_.speed_){0} - }; -} - -CMsgTEBubbles::~CMsgTEBubbles() { - // @@protoc_insertion_point(destructor:CMsgTEBubbles) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEBubbles::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.mins_; - if (this != internal_default_instance()) delete _impl_.maxs_; -} - -void CMsgTEBubbles::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEBubbles::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEBubbles) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.mins_ != nullptr); - _impl_.mins_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.maxs_ != nullptr); - _impl_.maxs_->Clear(); - } - } - if (cached_has_bits & 0x0000001cu) { - ::memset(&_impl_.height_, 0, static_cast( - reinterpret_cast(&_impl_.speed_) - - reinterpret_cast(&_impl_.height_)) + sizeof(_impl_.speed_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEBubbles::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector mins = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_mins(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector maxs = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_maxs(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float height = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_height(&has_bits); - _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 count = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_count(&has_bits); - _impl_.count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float speed = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_speed(&has_bits); - _impl_.speed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEBubbles::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEBubbles) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector mins = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::mins(this), - _Internal::mins(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector maxs = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::maxs(this), - _Internal::maxs(this).GetCachedSize(), target, stream); - } - - // optional float height = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_height(), target); - } - - // optional uint32 count = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_count(), target); - } - - // optional float speed = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_speed(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEBubbles) - return target; -} - -size_t CMsgTEBubbles::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEBubbles) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional .CMsgVector mins = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.mins_); - } - - // optional .CMsgVector maxs = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.maxs_); - } - - // optional float height = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional uint32 count = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_count()); - } - - // optional float speed = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEBubbles::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEBubbles::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEBubbles::GetClassData() const { return &_class_data_; } - - -void CMsgTEBubbles::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEBubbles) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_mins()->::CMsgVector::MergeFrom( - from._internal_mins()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_maxs()->::CMsgVector::MergeFrom( - from._internal_maxs()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.height_ = from._impl_.height_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.count_ = from._impl_.count_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.speed_ = from._impl_.speed_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEBubbles::CopyFrom(const CMsgTEBubbles& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEBubbles) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEBubbles::IsInitialized() const { - return true; -} - -void CMsgTEBubbles::InternalSwap(CMsgTEBubbles* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEBubbles, _impl_.speed_) - + sizeof(CMsgTEBubbles::_impl_.speed_) - - PROTOBUF_FIELD_OFFSET(CMsgTEBubbles, _impl_.mins_)>( - reinterpret_cast(&_impl_.mins_), - reinterpret_cast(&other->_impl_.mins_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEBubbles::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[6]); -} - -// =================================================================== - -class CMsgTEBubbleTrail::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& mins(const CMsgTEBubbleTrail* msg); - static void set_has_mins(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgVector& maxs(const CMsgTEBubbleTrail* msg); - static void set_has_maxs(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_waterz(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_count(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_speed(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -const ::CMsgVector& -CMsgTEBubbleTrail::_Internal::mins(const CMsgTEBubbleTrail* msg) { - return *msg->_impl_.mins_; -} -const ::CMsgVector& -CMsgTEBubbleTrail::_Internal::maxs(const CMsgTEBubbleTrail* msg) { - return *msg->_impl_.maxs_; -} -void CMsgTEBubbleTrail::clear_mins() { - if (_impl_.mins_ != nullptr) _impl_.mins_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgTEBubbleTrail::clear_maxs() { - if (_impl_.maxs_ != nullptr) _impl_.maxs_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CMsgTEBubbleTrail::CMsgTEBubbleTrail(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEBubbleTrail) -} -CMsgTEBubbleTrail::CMsgTEBubbleTrail(const CMsgTEBubbleTrail& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEBubbleTrail* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mins_){nullptr} - , decltype(_impl_.maxs_){nullptr} - , decltype(_impl_.waterz_){} - , decltype(_impl_.count_){} - , decltype(_impl_.speed_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_mins()) { - _this->_impl_.mins_ = new ::CMsgVector(*from._impl_.mins_); - } - if (from._internal_has_maxs()) { - _this->_impl_.maxs_ = new ::CMsgVector(*from._impl_.maxs_); - } - ::memcpy(&_impl_.waterz_, &from._impl_.waterz_, - static_cast(reinterpret_cast(&_impl_.speed_) - - reinterpret_cast(&_impl_.waterz_)) + sizeof(_impl_.speed_)); - // @@protoc_insertion_point(copy_constructor:CMsgTEBubbleTrail) -} - -inline void CMsgTEBubbleTrail::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.mins_){nullptr} - , decltype(_impl_.maxs_){nullptr} - , decltype(_impl_.waterz_){0} - , decltype(_impl_.count_){0u} - , decltype(_impl_.speed_){0} - }; -} - -CMsgTEBubbleTrail::~CMsgTEBubbleTrail() { - // @@protoc_insertion_point(destructor:CMsgTEBubbleTrail) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEBubbleTrail::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.mins_; - if (this != internal_default_instance()) delete _impl_.maxs_; -} - -void CMsgTEBubbleTrail::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEBubbleTrail::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEBubbleTrail) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.mins_ != nullptr); - _impl_.mins_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.maxs_ != nullptr); - _impl_.maxs_->Clear(); - } - } - if (cached_has_bits & 0x0000001cu) { - ::memset(&_impl_.waterz_, 0, static_cast( - reinterpret_cast(&_impl_.speed_) - - reinterpret_cast(&_impl_.waterz_)) + sizeof(_impl_.speed_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEBubbleTrail::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector mins = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_mins(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector maxs = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_maxs(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float waterz = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_waterz(&has_bits); - _impl_.waterz_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 count = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_count(&has_bits); - _impl_.count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float speed = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_speed(&has_bits); - _impl_.speed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEBubbleTrail::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEBubbleTrail) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector mins = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::mins(this), - _Internal::mins(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector maxs = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::maxs(this), - _Internal::maxs(this).GetCachedSize(), target, stream); - } - - // optional float waterz = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_waterz(), target); - } - - // optional uint32 count = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_count(), target); - } - - // optional float speed = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_speed(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEBubbleTrail) - return target; -} - -size_t CMsgTEBubbleTrail::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEBubbleTrail) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional .CMsgVector mins = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.mins_); - } - - // optional .CMsgVector maxs = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.maxs_); - } - - // optional float waterz = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional uint32 count = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_count()); - } - - // optional float speed = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEBubbleTrail::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEBubbleTrail::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEBubbleTrail::GetClassData() const { return &_class_data_; } - - -void CMsgTEBubbleTrail::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEBubbleTrail) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_mins()->::CMsgVector::MergeFrom( - from._internal_mins()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_maxs()->::CMsgVector::MergeFrom( - from._internal_maxs()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.waterz_ = from._impl_.waterz_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.count_ = from._impl_.count_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.speed_ = from._impl_.speed_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEBubbleTrail::CopyFrom(const CMsgTEBubbleTrail& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEBubbleTrail) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEBubbleTrail::IsInitialized() const { - return true; -} - -void CMsgTEBubbleTrail::InternalSwap(CMsgTEBubbleTrail* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEBubbleTrail, _impl_.speed_) - + sizeof(CMsgTEBubbleTrail::_impl_.speed_) - - PROTOBUF_FIELD_OFFSET(CMsgTEBubbleTrail, _impl_.mins_)>( - reinterpret_cast(&_impl_.mins_), - reinterpret_cast(&other->_impl_.mins_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEBubbleTrail::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[7]); -} - -// =================================================================== - -class CMsgTEDecal::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& origin(const CMsgTEDecal* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgVector& start(const CMsgTEDecal* msg); - static void set_has_start(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_entity(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_hitbox(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_index(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::CMsgVector& -CMsgTEDecal::_Internal::origin(const CMsgTEDecal* msg) { - return *msg->_impl_.origin_; -} -const ::CMsgVector& -CMsgTEDecal::_Internal::start(const CMsgTEDecal* msg) { - return *msg->_impl_.start_; -} -void CMsgTEDecal::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgTEDecal::clear_start() { - if (_impl_.start_ != nullptr) _impl_.start_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CMsgTEDecal::CMsgTEDecal(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEDecal) -} -CMsgTEDecal::CMsgTEDecal(const CMsgTEDecal& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEDecal* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.start_){nullptr} - , decltype(_impl_.hitbox_){} - , decltype(_impl_.index_){} - , decltype(_impl_.entity_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - if (from._internal_has_start()) { - _this->_impl_.start_ = new ::CMsgVector(*from._impl_.start_); - } - ::memcpy(&_impl_.hitbox_, &from._impl_.hitbox_, - static_cast(reinterpret_cast(&_impl_.entity_) - - reinterpret_cast(&_impl_.hitbox_)) + sizeof(_impl_.entity_)); - // @@protoc_insertion_point(copy_constructor:CMsgTEDecal) -} - -inline void CMsgTEDecal::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.start_){nullptr} - , decltype(_impl_.hitbox_){0u} - , decltype(_impl_.index_){0u} - , decltype(_impl_.entity_){-1} - }; -} - -CMsgTEDecal::~CMsgTEDecal() { - // @@protoc_insertion_point(destructor:CMsgTEDecal) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEDecal::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.origin_; - if (this != internal_default_instance()) delete _impl_.start_; -} - -void CMsgTEDecal::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEDecal::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEDecal) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.start_ != nullptr); - _impl_.start_->Clear(); - } - } - if (cached_has_bits & 0x0000001cu) { - ::memset(&_impl_.hitbox_, 0, static_cast( - reinterpret_cast(&_impl_.index_) - - reinterpret_cast(&_impl_.hitbox_)) + sizeof(_impl_.index_)); - _impl_.entity_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEDecal::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector origin = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector start = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_start(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 entity = 3 [default = -1]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_entity(&has_bits); - _impl_.entity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 hitbox = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_hitbox(&has_bits); - _impl_.hitbox_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 index = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_index(&has_bits); - _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEDecal::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEDecal) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector start = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::start(this), - _Internal::start(this).GetCachedSize(), target, stream); - } - - // optional int32 entity = 3 [default = -1]; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_entity(), target); - } - - // optional uint32 hitbox = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_hitbox(), target); - } - - // optional uint32 index = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_index(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEDecal) - return target; -} - -size_t CMsgTEDecal::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEDecal) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional .CMsgVector start = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.start_); - } - - // optional uint32 hitbox = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_hitbox()); - } - - // optional uint32 index = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_index()); - } - - // optional int32 entity = 3 [default = -1]; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entity()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEDecal::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEDecal::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEDecal::GetClassData() const { return &_class_data_; } - - -void CMsgTEDecal::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEDecal) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_start()->::CMsgVector::MergeFrom( - from._internal_start()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.hitbox_ = from._impl_.hitbox_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.index_ = from._impl_.index_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.entity_ = from._impl_.entity_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEDecal::CopyFrom(const CMsgTEDecal& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEDecal) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEDecal::IsInitialized() const { - return true; -} - -void CMsgTEDecal::InternalSwap(CMsgTEDecal* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEDecal, _impl_.index_) - + sizeof(CMsgTEDecal::_impl_.index_) - - PROTOBUF_FIELD_OFFSET(CMsgTEDecal, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); - swap(_impl_.entity_, other->_impl_.entity_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEDecal::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[8]); -} - -// =================================================================== - -class CMsgEffectData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& origin(const CMsgEffectData* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgVector& start(const CMsgEffectData* msg); - static void set_has_start(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgVector& normal(const CMsgEffectData* msg); - static void set_has_normal(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgQAngle& angles(const CMsgEffectData* msg); - static void set_has_angles(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_entity(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } - static void set_has_otherentity(HasBits* has_bits) { - (*has_bits)[0] |= 262144u; - } - static void set_has_scale(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_magnitude(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_radius(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_surfaceprop(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_effectindex(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_damagetype(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_material(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_hitbox(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_color(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_attachmentindex(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_effectname(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_attachmentname(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } -}; - -const ::CMsgVector& -CMsgEffectData::_Internal::origin(const CMsgEffectData* msg) { - return *msg->_impl_.origin_; -} -const ::CMsgVector& -CMsgEffectData::_Internal::start(const CMsgEffectData* msg) { - return *msg->_impl_.start_; -} -const ::CMsgVector& -CMsgEffectData::_Internal::normal(const CMsgEffectData* msg) { - return *msg->_impl_.normal_; -} -const ::CMsgQAngle& -CMsgEffectData::_Internal::angles(const CMsgEffectData* msg) { - return *msg->_impl_.angles_; -} -void CMsgEffectData::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgEffectData::clear_start() { - if (_impl_.start_ != nullptr) _impl_.start_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CMsgEffectData::clear_normal() { - if (_impl_.normal_ != nullptr) _impl_.normal_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -void CMsgEffectData::clear_angles() { - if (_impl_.angles_ != nullptr) _impl_.angles_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -CMsgEffectData::CMsgEffectData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgEffectData) -} -CMsgEffectData::CMsgEffectData(const CMsgEffectData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgEffectData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.start_){nullptr} - , decltype(_impl_.normal_){nullptr} - , decltype(_impl_.angles_){nullptr} - , decltype(_impl_.scale_){} - , decltype(_impl_.magnitude_){} - , decltype(_impl_.radius_){} - , decltype(_impl_.surfaceprop_){} - , decltype(_impl_.effectindex_){} - , decltype(_impl_.damagetype_){} - , decltype(_impl_.material_){} - , decltype(_impl_.hitbox_){} - , decltype(_impl_.color_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.attachmentindex_){} - , decltype(_impl_.effectname_){} - , decltype(_impl_.attachmentname_){} - , decltype(_impl_.entity_){} - , decltype(_impl_.otherentity_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - if (from._internal_has_start()) { - _this->_impl_.start_ = new ::CMsgVector(*from._impl_.start_); - } - if (from._internal_has_normal()) { - _this->_impl_.normal_ = new ::CMsgVector(*from._impl_.normal_); - } - if (from._internal_has_angles()) { - _this->_impl_.angles_ = new ::CMsgQAngle(*from._impl_.angles_); - } - ::memcpy(&_impl_.scale_, &from._impl_.scale_, - static_cast(reinterpret_cast(&_impl_.otherentity_) - - reinterpret_cast(&_impl_.scale_)) + sizeof(_impl_.otherentity_)); - // @@protoc_insertion_point(copy_constructor:CMsgEffectData) -} - -inline void CMsgEffectData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.start_){nullptr} - , decltype(_impl_.normal_){nullptr} - , decltype(_impl_.angles_){nullptr} - , decltype(_impl_.scale_){0} - , decltype(_impl_.magnitude_){0} - , decltype(_impl_.radius_){0} - , decltype(_impl_.surfaceprop_){0u} - , decltype(_impl_.effectindex_){uint64_t{0u}} - , decltype(_impl_.damagetype_){0u} - , decltype(_impl_.material_){0u} - , decltype(_impl_.hitbox_){0u} - , decltype(_impl_.color_){0u} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.attachmentindex_){0} - , decltype(_impl_.effectname_){0u} - , decltype(_impl_.attachmentname_){0u} - , decltype(_impl_.entity_){16777215u} - , decltype(_impl_.otherentity_){16777215u} - }; -} - -CMsgEffectData::~CMsgEffectData() { - // @@protoc_insertion_point(destructor:CMsgEffectData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgEffectData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.origin_; - if (this != internal_default_instance()) delete _impl_.start_; - if (this != internal_default_instance()) delete _impl_.normal_; - if (this != internal_default_instance()) delete _impl_.angles_; -} - -void CMsgEffectData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgEffectData::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgEffectData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.start_ != nullptr); - _impl_.start_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.normal_ != nullptr); - _impl_.normal_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.angles_ != nullptr); - _impl_.angles_->Clear(); - } - } - if (cached_has_bits & 0x000000f0u) { - ::memset(&_impl_.scale_, 0, static_cast( - reinterpret_cast(&_impl_.surfaceprop_) - - reinterpret_cast(&_impl_.scale_)) + sizeof(_impl_.surfaceprop_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.effectindex_, 0, static_cast( - reinterpret_cast(&_impl_.effectname_) - - reinterpret_cast(&_impl_.effectindex_)) + sizeof(_impl_.effectname_)); - } - if (cached_has_bits & 0x00070000u) { - _impl_.attachmentname_ = 0u; - _impl_.entity_ = 16777215u; - _impl_.otherentity_ = 16777215u; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgEffectData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector origin = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector start = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_start(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector normal = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_normal(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle angles = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_angles(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 entity = 5 [default = 16777215]; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_entity(&has_bits); - _impl_.entity_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 otherentity = 6 [default = 16777215]; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - _Internal::set_has_otherentity(&has_bits); - _impl_.otherentity_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional float scale = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_scale(&has_bits); - _impl_.scale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float magnitude = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { - _Internal::set_has_magnitude(&has_bits); - _impl_.magnitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float radius = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_radius(&has_bits); - _impl_.radius_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional fixed32 surfaceprop = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { - _Internal::set_has_surfaceprop(&has_bits); - _impl_.surfaceprop_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 effectindex = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 89)) { - _Internal::set_has_effectindex(&has_bits); - _impl_.effectindex_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 damagetype = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_damagetype(&has_bits); - _impl_.damagetype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 material = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_material(&has_bits); - _impl_.material_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 hitbox = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_hitbox(&has_bits); - _impl_.hitbox_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 color = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_color(&has_bits); - _impl_.color_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 attachmentindex = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_attachmentindex(&has_bits); - _impl_.attachmentindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 effectname = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { - _Internal::set_has_effectname(&has_bits); - _impl_.effectname_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 attachmentname = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { - _Internal::set_has_attachmentname(&has_bits); - _impl_.attachmentname_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgEffectData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgEffectData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector start = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::start(this), - _Internal::start(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector normal = 3; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::normal(this), - _Internal::normal(this).GetCachedSize(), target, stream); - } - - // optional .CMsgQAngle angles = 4; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::angles(this), - _Internal::angles(this).GetCachedSize(), target, stream); - } - - // optional fixed32 entity = 5 [default = 16777215]; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_entity(), target); - } - - // optional fixed32 otherentity = 6 [default = 16777215]; - if (cached_has_bits & 0x00040000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(6, this->_internal_otherentity(), target); - } - - // optional float scale = 7; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_scale(), target); - } - - // optional float magnitude = 8; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_magnitude(), target); - } - - // optional float radius = 9; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_radius(), target); - } - - // optional fixed32 surfaceprop = 10; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(10, this->_internal_surfaceprop(), target); - } - - // optional fixed64 effectindex = 11; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(11, this->_internal_effectindex(), target); - } - - // optional uint32 damagetype = 12; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_damagetype(), target); - } - - // optional uint32 material = 13; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_material(), target); - } - - // optional uint32 hitbox = 14; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_hitbox(), target); - } - - // optional uint32 color = 15; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_color(), target); - } - - // optional uint32 flags = 16; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_flags(), target); - } - - // optional int32 attachmentindex = 17; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(17, this->_internal_attachmentindex(), target); - } - - // optional uint32 effectname = 18; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_effectname(), target); - } - - // optional uint32 attachmentname = 19; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_attachmentname(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgEffectData) - return target; -} - -size_t CMsgEffectData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgEffectData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional .CMsgVector start = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.start_); - } - - // optional .CMsgVector normal = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.normal_); - } - - // optional .CMsgQAngle angles = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.angles_); - } - - // optional float scale = 7; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional float magnitude = 8; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional float radius = 9; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional fixed32 surfaceprop = 10; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional fixed64 effectindex = 11; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 8; - } - - // optional uint32 damagetype = 12; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_damagetype()); - } - - // optional uint32 material = 13; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_material()); - } - - // optional uint32 hitbox = 14; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_hitbox()); - } - - // optional uint32 color = 15; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_color()); - } - - // optional uint32 flags = 16; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_flags()); - } - - // optional int32 attachmentindex = 17; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::Int32Size( - this->_internal_attachmentindex()); - } - - // optional uint32 effectname = 18; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_effectname()); - } - - } - if (cached_has_bits & 0x00070000u) { - // optional uint32 attachmentname = 19; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_attachmentname()); - } - - // optional fixed32 entity = 5 [default = 16777215]; - if (cached_has_bits & 0x00020000u) { - total_size += 1 + 4; - } - - // optional fixed32 otherentity = 6 [default = 16777215]; - if (cached_has_bits & 0x00040000u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgEffectData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgEffectData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgEffectData::GetClassData() const { return &_class_data_; } - - -void CMsgEffectData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgEffectData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_start()->::CMsgVector::MergeFrom( - from._internal_start()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_normal()->::CMsgVector::MergeFrom( - from._internal_normal()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_angles()->::CMsgQAngle::MergeFrom( - from._internal_angles()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.scale_ = from._impl_.scale_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.magnitude_ = from._impl_.magnitude_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.radius_ = from._impl_.radius_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.surfaceprop_ = from._impl_.surfaceprop_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.effectindex_ = from._impl_.effectindex_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.damagetype_ = from._impl_.damagetype_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.material_ = from._impl_.material_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.hitbox_ = from._impl_.hitbox_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.color_ = from._impl_.color_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.attachmentindex_ = from._impl_.attachmentindex_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.effectname_ = from._impl_.effectname_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00070000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.attachmentname_ = from._impl_.attachmentname_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.entity_ = from._impl_.entity_; - } - if (cached_has_bits & 0x00040000u) { - _this->_impl_.otherentity_ = from._impl_.otherentity_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgEffectData::CopyFrom(const CMsgEffectData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgEffectData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgEffectData::IsInitialized() const { - return true; -} - -void CMsgEffectData::InternalSwap(CMsgEffectData* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgEffectData, _impl_.attachmentname_) - + sizeof(CMsgEffectData::_impl_.attachmentname_) - - PROTOBUF_FIELD_OFFSET(CMsgEffectData, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); - swap(_impl_.entity_, other->_impl_.entity_); - swap(_impl_.otherentity_, other->_impl_.otherentity_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgEffectData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[9]); -} - -// =================================================================== - -class CMsgTEEffectDispatch::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgEffectData& effectdata(const CMsgTEEffectDispatch* msg); - static void set_has_effectdata(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgEffectData& -CMsgTEEffectDispatch::_Internal::effectdata(const CMsgTEEffectDispatch* msg) { - return *msg->_impl_.effectdata_; -} -CMsgTEEffectDispatch::CMsgTEEffectDispatch(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEEffectDispatch) -} -CMsgTEEffectDispatch::CMsgTEEffectDispatch(const CMsgTEEffectDispatch& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEEffectDispatch* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.effectdata_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_effectdata()) { - _this->_impl_.effectdata_ = new ::CMsgEffectData(*from._impl_.effectdata_); - } - // @@protoc_insertion_point(copy_constructor:CMsgTEEffectDispatch) -} - -inline void CMsgTEEffectDispatch::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.effectdata_){nullptr} - }; -} - -CMsgTEEffectDispatch::~CMsgTEEffectDispatch() { - // @@protoc_insertion_point(destructor:CMsgTEEffectDispatch) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEEffectDispatch::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.effectdata_; -} - -void CMsgTEEffectDispatch::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEEffectDispatch::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEEffectDispatch) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.effectdata_ != nullptr); - _impl_.effectdata_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEEffectDispatch::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgEffectData effectdata = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_effectdata(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEEffectDispatch::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEEffectDispatch) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgEffectData effectdata = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::effectdata(this), - _Internal::effectdata(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEEffectDispatch) - return target; -} - -size_t CMsgTEEffectDispatch::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEEffectDispatch) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CMsgEffectData effectdata = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.effectdata_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEEffectDispatch::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEEffectDispatch::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEEffectDispatch::GetClassData() const { return &_class_data_; } - - -void CMsgTEEffectDispatch::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEEffectDispatch) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_effectdata()) { - _this->_internal_mutable_effectdata()->::CMsgEffectData::MergeFrom( - from._internal_effectdata()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEEffectDispatch::CopyFrom(const CMsgTEEffectDispatch& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEEffectDispatch) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEEffectDispatch::IsInitialized() const { - return true; -} - -void CMsgTEEffectDispatch::InternalSwap(CMsgTEEffectDispatch* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.effectdata_, other->_impl_.effectdata_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEEffectDispatch::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[10]); -} - -// =================================================================== - -class CMsgTEEnergySplash::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& pos(const CMsgTEEnergySplash* msg); - static void set_has_pos(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgVector& dir(const CMsgTEEnergySplash* msg); - static void set_has_dir(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_explosive(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::CMsgVector& -CMsgTEEnergySplash::_Internal::pos(const CMsgTEEnergySplash* msg) { - return *msg->_impl_.pos_; -} -const ::CMsgVector& -CMsgTEEnergySplash::_Internal::dir(const CMsgTEEnergySplash* msg) { - return *msg->_impl_.dir_; -} -void CMsgTEEnergySplash::clear_pos() { - if (_impl_.pos_ != nullptr) _impl_.pos_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgTEEnergySplash::clear_dir() { - if (_impl_.dir_ != nullptr) _impl_.dir_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CMsgTEEnergySplash::CMsgTEEnergySplash(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEEnergySplash) -} -CMsgTEEnergySplash::CMsgTEEnergySplash(const CMsgTEEnergySplash& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEEnergySplash* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pos_){nullptr} - , decltype(_impl_.dir_){nullptr} - , decltype(_impl_.explosive_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_pos()) { - _this->_impl_.pos_ = new ::CMsgVector(*from._impl_.pos_); - } - if (from._internal_has_dir()) { - _this->_impl_.dir_ = new ::CMsgVector(*from._impl_.dir_); - } - _this->_impl_.explosive_ = from._impl_.explosive_; - // @@protoc_insertion_point(copy_constructor:CMsgTEEnergySplash) -} - -inline void CMsgTEEnergySplash::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.pos_){nullptr} - , decltype(_impl_.dir_){nullptr} - , decltype(_impl_.explosive_){false} - }; -} - -CMsgTEEnergySplash::~CMsgTEEnergySplash() { - // @@protoc_insertion_point(destructor:CMsgTEEnergySplash) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEEnergySplash::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.pos_; - if (this != internal_default_instance()) delete _impl_.dir_; -} - -void CMsgTEEnergySplash::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEEnergySplash::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEEnergySplash) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.pos_ != nullptr); - _impl_.pos_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.dir_ != nullptr); - _impl_.dir_->Clear(); - } - } - _impl_.explosive_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEEnergySplash::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector pos = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_pos(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector dir = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_dir(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool explosive = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_explosive(&has_bits); - _impl_.explosive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEEnergySplash::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEEnergySplash) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector pos = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::pos(this), - _Internal::pos(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector dir = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::dir(this), - _Internal::dir(this).GetCachedSize(), target, stream); - } - - // optional bool explosive = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_explosive(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEEnergySplash) - return target; -} - -size_t CMsgTEEnergySplash::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEEnergySplash) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .CMsgVector pos = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.pos_); - } - - // optional .CMsgVector dir = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.dir_); - } - - // optional bool explosive = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEEnergySplash::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEEnergySplash::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEEnergySplash::GetClassData() const { return &_class_data_; } - - -void CMsgTEEnergySplash::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEEnergySplash) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_pos()->::CMsgVector::MergeFrom( - from._internal_pos()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_dir()->::CMsgVector::MergeFrom( - from._internal_dir()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.explosive_ = from._impl_.explosive_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEEnergySplash::CopyFrom(const CMsgTEEnergySplash& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEEnergySplash) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEEnergySplash::IsInitialized() const { - return true; -} - -void CMsgTEEnergySplash::InternalSwap(CMsgTEEnergySplash* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEEnergySplash, _impl_.explosive_) - + sizeof(CMsgTEEnergySplash::_impl_.explosive_) - - PROTOBUF_FIELD_OFFSET(CMsgTEEnergySplash, _impl_.pos_)>( - reinterpret_cast(&_impl_.pos_), - reinterpret_cast(&other->_impl_.pos_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEEnergySplash::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[11]); -} - -// =================================================================== - -class CMsgTEFizz::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_entity(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_density(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_current(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CMsgTEFizz::CMsgTEFizz(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEFizz) -} -CMsgTEFizz::CMsgTEFizz(const CMsgTEFizz& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEFizz* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.density_){} - , decltype(_impl_.current_){} - , decltype(_impl_.entity_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.density_, &from._impl_.density_, - static_cast(reinterpret_cast(&_impl_.entity_) - - reinterpret_cast(&_impl_.density_)) + sizeof(_impl_.entity_)); - // @@protoc_insertion_point(copy_constructor:CMsgTEFizz) -} - -inline void CMsgTEFizz::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.density_){0u} - , decltype(_impl_.current_){0} - , decltype(_impl_.entity_){-1} - }; -} - -CMsgTEFizz::~CMsgTEFizz() { - // @@protoc_insertion_point(destructor:CMsgTEFizz) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEFizz::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CMsgTEFizz::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEFizz::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEFizz) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.density_, 0, static_cast( - reinterpret_cast(&_impl_.current_) - - reinterpret_cast(&_impl_.density_)) + sizeof(_impl_.current_)); - _impl_.entity_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEFizz::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 entity = 1 [default = -1]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_entity(&has_bits); - _impl_.entity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 density = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_density(&has_bits); - _impl_.density_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 current = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_current(&has_bits); - _impl_.current_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEFizz::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEFizz) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 entity = 1 [default = -1]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entity(), target); - } - - // optional uint32 density = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_density(), target); - } - - // optional int32 current = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_current(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEFizz) - return target; -} - -size_t CMsgTEFizz::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEFizz) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint32 density = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_density()); - } - - // optional int32 current = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_current()); - } - - // optional int32 entity = 1 [default = -1]; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entity()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEFizz::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEFizz::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEFizz::GetClassData() const { return &_class_data_; } - - -void CMsgTEFizz::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEFizz) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.density_ = from._impl_.density_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.current_ = from._impl_.current_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.entity_ = from._impl_.entity_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEFizz::CopyFrom(const CMsgTEFizz& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEFizz) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEFizz::IsInitialized() const { - return true; -} - -void CMsgTEFizz::InternalSwap(CMsgTEFizz* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEFizz, _impl_.current_) - + sizeof(CMsgTEFizz::_impl_.current_) - - PROTOBUF_FIELD_OFFSET(CMsgTEFizz, _impl_.density_)>( - reinterpret_cast(&_impl_.density_), - reinterpret_cast(&other->_impl_.density_)); - swap(_impl_.entity_, other->_impl_.entity_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEFizz::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[12]); -} - -// =================================================================== - -class CMsgTEShatterSurface::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& origin(const CMsgTEShatterSurface* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgQAngle& angles(const CMsgTEShatterSurface* msg); - static void set_has_angles(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgVector& force(const CMsgTEShatterSurface* msg); - static void set_has_force(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgVector& forcepos(const CMsgTEShatterSurface* msg); - static void set_has_forcepos(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_width(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_height(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_shardsize(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_surfacetype(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_frontcolor(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_backcolor(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } -}; - -const ::CMsgVector& -CMsgTEShatterSurface::_Internal::origin(const CMsgTEShatterSurface* msg) { - return *msg->_impl_.origin_; -} -const ::CMsgQAngle& -CMsgTEShatterSurface::_Internal::angles(const CMsgTEShatterSurface* msg) { - return *msg->_impl_.angles_; -} -const ::CMsgVector& -CMsgTEShatterSurface::_Internal::force(const CMsgTEShatterSurface* msg) { - return *msg->_impl_.force_; -} -const ::CMsgVector& -CMsgTEShatterSurface::_Internal::forcepos(const CMsgTEShatterSurface* msg) { - return *msg->_impl_.forcepos_; -} -void CMsgTEShatterSurface::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgTEShatterSurface::clear_angles() { - if (_impl_.angles_ != nullptr) _impl_.angles_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CMsgTEShatterSurface::clear_force() { - if (_impl_.force_ != nullptr) _impl_.force_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -void CMsgTEShatterSurface::clear_forcepos() { - if (_impl_.forcepos_ != nullptr) _impl_.forcepos_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -CMsgTEShatterSurface::CMsgTEShatterSurface(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEShatterSurface) -} -CMsgTEShatterSurface::CMsgTEShatterSurface(const CMsgTEShatterSurface& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEShatterSurface* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.angles_){nullptr} - , decltype(_impl_.force_){nullptr} - , decltype(_impl_.forcepos_){nullptr} - , decltype(_impl_.width_){} - , decltype(_impl_.height_){} - , decltype(_impl_.shardsize_){} - , decltype(_impl_.surfacetype_){} - , decltype(_impl_.frontcolor_){} - , decltype(_impl_.backcolor_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - if (from._internal_has_angles()) { - _this->_impl_.angles_ = new ::CMsgQAngle(*from._impl_.angles_); - } - if (from._internal_has_force()) { - _this->_impl_.force_ = new ::CMsgVector(*from._impl_.force_); - } - if (from._internal_has_forcepos()) { - _this->_impl_.forcepos_ = new ::CMsgVector(*from._impl_.forcepos_); - } - ::memcpy(&_impl_.width_, &from._impl_.width_, - static_cast(reinterpret_cast(&_impl_.backcolor_) - - reinterpret_cast(&_impl_.width_)) + sizeof(_impl_.backcolor_)); - // @@protoc_insertion_point(copy_constructor:CMsgTEShatterSurface) -} - -inline void CMsgTEShatterSurface::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.angles_){nullptr} - , decltype(_impl_.force_){nullptr} - , decltype(_impl_.forcepos_){nullptr} - , decltype(_impl_.width_){0} - , decltype(_impl_.height_){0} - , decltype(_impl_.shardsize_){0} - , decltype(_impl_.surfacetype_){0u} - , decltype(_impl_.frontcolor_){0u} - , decltype(_impl_.backcolor_){0u} - }; -} - -CMsgTEShatterSurface::~CMsgTEShatterSurface() { - // @@protoc_insertion_point(destructor:CMsgTEShatterSurface) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEShatterSurface::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.origin_; - if (this != internal_default_instance()) delete _impl_.angles_; - if (this != internal_default_instance()) delete _impl_.force_; - if (this != internal_default_instance()) delete _impl_.forcepos_; -} - -void CMsgTEShatterSurface::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEShatterSurface::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEShatterSurface) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.angles_ != nullptr); - _impl_.angles_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.force_ != nullptr); - _impl_.force_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.forcepos_ != nullptr); - _impl_.forcepos_->Clear(); - } - } - if (cached_has_bits & 0x000000f0u) { - ::memset(&_impl_.width_, 0, static_cast( - reinterpret_cast(&_impl_.surfacetype_) - - reinterpret_cast(&_impl_.width_)) + sizeof(_impl_.surfacetype_)); - } - if (cached_has_bits & 0x00000300u) { - ::memset(&_impl_.frontcolor_, 0, static_cast( - reinterpret_cast(&_impl_.backcolor_) - - reinterpret_cast(&_impl_.frontcolor_)) + sizeof(_impl_.backcolor_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEShatterSurface::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector origin = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle angles = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_angles(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector force = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_force(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector forcepos = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_forcepos(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float width = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_width(&has_bits); - _impl_.width_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float height = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - _Internal::set_has_height(&has_bits); - _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float shardsize = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_shardsize(&has_bits); - _impl_.shardsize_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 surfacetype = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_surfacetype(&has_bits); - _impl_.surfacetype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 frontcolor = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_frontcolor(&has_bits); - _impl_.frontcolor_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 backcolor = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { - _Internal::set_has_backcolor(&has_bits); - _impl_.backcolor_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEShatterSurface::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEShatterSurface) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - // optional .CMsgQAngle angles = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::angles(this), - _Internal::angles(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector force = 3; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::force(this), - _Internal::force(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector forcepos = 4; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::forcepos(this), - _Internal::forcepos(this).GetCachedSize(), target, stream); - } - - // optional float width = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_width(), target); - } - - // optional float height = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_height(), target); - } - - // optional float shardsize = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_shardsize(), target); - } - - // optional uint32 surfacetype = 8; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_surfacetype(), target); - } - - // optional fixed32 frontcolor = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(9, this->_internal_frontcolor(), target); - } - - // optional fixed32 backcolor = 10; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(10, this->_internal_backcolor(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEShatterSurface) - return target; -} - -size_t CMsgTEShatterSurface::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEShatterSurface) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional .CMsgQAngle angles = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.angles_); - } - - // optional .CMsgVector force = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.force_); - } - - // optional .CMsgVector forcepos = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.forcepos_); - } - - // optional float width = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional float height = 6; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional float shardsize = 7; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional uint32 surfacetype = 8; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_surfacetype()); - } - - } - if (cached_has_bits & 0x00000300u) { - // optional fixed32 frontcolor = 9; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 4; - } - - // optional fixed32 backcolor = 10; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEShatterSurface::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEShatterSurface::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEShatterSurface::GetClassData() const { return &_class_data_; } - - -void CMsgTEShatterSurface::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEShatterSurface) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_angles()->::CMsgQAngle::MergeFrom( - from._internal_angles()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_force()->::CMsgVector::MergeFrom( - from._internal_force()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_forcepos()->::CMsgVector::MergeFrom( - from._internal_forcepos()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.width_ = from._impl_.width_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.height_ = from._impl_.height_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.shardsize_ = from._impl_.shardsize_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.surfacetype_ = from._impl_.surfacetype_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000300u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.frontcolor_ = from._impl_.frontcolor_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.backcolor_ = from._impl_.backcolor_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEShatterSurface::CopyFrom(const CMsgTEShatterSurface& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEShatterSurface) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEShatterSurface::IsInitialized() const { - return true; -} - -void CMsgTEShatterSurface::InternalSwap(CMsgTEShatterSurface* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEShatterSurface, _impl_.backcolor_) - + sizeof(CMsgTEShatterSurface::_impl_.backcolor_) - - PROTOBUF_FIELD_OFFSET(CMsgTEShatterSurface, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEShatterSurface::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[13]); -} - -// =================================================================== - -class CMsgTEGlowSprite::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& origin(const CMsgTEGlowSprite* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_scale(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_life(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_brightness(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::CMsgVector& -CMsgTEGlowSprite::_Internal::origin(const CMsgTEGlowSprite* msg) { - return *msg->_impl_.origin_; -} -void CMsgTEGlowSprite::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CMsgTEGlowSprite::CMsgTEGlowSprite(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEGlowSprite) -} -CMsgTEGlowSprite::CMsgTEGlowSprite(const CMsgTEGlowSprite& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEGlowSprite* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.scale_){} - , decltype(_impl_.life_){} - , decltype(_impl_.brightness_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - ::memcpy(&_impl_.scale_, &from._impl_.scale_, - static_cast(reinterpret_cast(&_impl_.brightness_) - - reinterpret_cast(&_impl_.scale_)) + sizeof(_impl_.brightness_)); - // @@protoc_insertion_point(copy_constructor:CMsgTEGlowSprite) -} - -inline void CMsgTEGlowSprite::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.scale_){0} - , decltype(_impl_.life_){0} - , decltype(_impl_.brightness_){0u} - }; -} - -CMsgTEGlowSprite::~CMsgTEGlowSprite() { - // @@protoc_insertion_point(destructor:CMsgTEGlowSprite) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEGlowSprite::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.origin_; -} - -void CMsgTEGlowSprite::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEGlowSprite::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEGlowSprite) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.scale_, 0, static_cast( - reinterpret_cast(&_impl_.brightness_) - - reinterpret_cast(&_impl_.scale_)) + sizeof(_impl_.brightness_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEGlowSprite::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector origin = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float scale = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_scale(&has_bits); - _impl_.scale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float life = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_life(&has_bits); - _impl_.life_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 brightness = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_brightness(&has_bits); - _impl_.brightness_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEGlowSprite::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEGlowSprite) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - // optional float scale = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_scale(), target); - } - - // optional float life = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_life(), target); - } - - // optional uint32 brightness = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_brightness(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEGlowSprite) - return target; -} - -size_t CMsgTEGlowSprite::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEGlowSprite) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional float scale = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float life = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional uint32 brightness = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_brightness()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEGlowSprite::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEGlowSprite::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEGlowSprite::GetClassData() const { return &_class_data_; } - - -void CMsgTEGlowSprite::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEGlowSprite) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.scale_ = from._impl_.scale_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.life_ = from._impl_.life_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.brightness_ = from._impl_.brightness_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEGlowSprite::CopyFrom(const CMsgTEGlowSprite& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEGlowSprite) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEGlowSprite::IsInitialized() const { - return true; -} - -void CMsgTEGlowSprite::InternalSwap(CMsgTEGlowSprite* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEGlowSprite, _impl_.brightness_) - + sizeof(CMsgTEGlowSprite::_impl_.brightness_) - - PROTOBUF_FIELD_OFFSET(CMsgTEGlowSprite, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEGlowSprite::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[14]); -} - -// =================================================================== - -class CMsgTEImpact::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& origin(const CMsgTEImpact* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgVector& normal(const CMsgTEImpact* msg); - static void set_has_normal(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::CMsgVector& -CMsgTEImpact::_Internal::origin(const CMsgTEImpact* msg) { - return *msg->_impl_.origin_; -} -const ::CMsgVector& -CMsgTEImpact::_Internal::normal(const CMsgTEImpact* msg) { - return *msg->_impl_.normal_; -} -void CMsgTEImpact::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgTEImpact::clear_normal() { - if (_impl_.normal_ != nullptr) _impl_.normal_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CMsgTEImpact::CMsgTEImpact(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEImpact) -} -CMsgTEImpact::CMsgTEImpact(const CMsgTEImpact& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEImpact* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.normal_){nullptr} - , decltype(_impl_.type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - if (from._internal_has_normal()) { - _this->_impl_.normal_ = new ::CMsgVector(*from._impl_.normal_); - } - _this->_impl_.type_ = from._impl_.type_; - // @@protoc_insertion_point(copy_constructor:CMsgTEImpact) -} - -inline void CMsgTEImpact::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.normal_){nullptr} - , decltype(_impl_.type_){0u} - }; -} - -CMsgTEImpact::~CMsgTEImpact() { - // @@protoc_insertion_point(destructor:CMsgTEImpact) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEImpact::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.origin_; - if (this != internal_default_instance()) delete _impl_.normal_; -} - -void CMsgTEImpact::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEImpact::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEImpact) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.normal_ != nullptr); - _impl_.normal_->Clear(); - } - } - _impl_.type_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEImpact::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector origin = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector normal = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_normal(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 type = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_type(&has_bits); - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEImpact::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEImpact) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector normal = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::normal(this), - _Internal::normal(this).GetCachedSize(), target, stream); - } - - // optional uint32 type = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_type(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEImpact) - return target; -} - -size_t CMsgTEImpact::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEImpact) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional .CMsgVector normal = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.normal_); - } - - // optional uint32 type = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEImpact::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEImpact::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEImpact::GetClassData() const { return &_class_data_; } - - -void CMsgTEImpact::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEImpact) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_normal()->::CMsgVector::MergeFrom( - from._internal_normal()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.type_ = from._impl_.type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEImpact::CopyFrom(const CMsgTEImpact& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEImpact) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEImpact::IsInitialized() const { - return true; -} - -void CMsgTEImpact::InternalSwap(CMsgTEImpact* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEImpact, _impl_.type_) - + sizeof(CMsgTEImpact::_impl_.type_) - - PROTOBUF_FIELD_OFFSET(CMsgTEImpact, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEImpact::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[15]); -} - -// =================================================================== - -class CMsgTEMuzzleFlash::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& origin(const CMsgTEMuzzleFlash* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgQAngle& angles(const CMsgTEMuzzleFlash* msg); - static void set_has_angles(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_scale(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::CMsgVector& -CMsgTEMuzzleFlash::_Internal::origin(const CMsgTEMuzzleFlash* msg) { - return *msg->_impl_.origin_; -} -const ::CMsgQAngle& -CMsgTEMuzzleFlash::_Internal::angles(const CMsgTEMuzzleFlash* msg) { - return *msg->_impl_.angles_; -} -void CMsgTEMuzzleFlash::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgTEMuzzleFlash::clear_angles() { - if (_impl_.angles_ != nullptr) _impl_.angles_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CMsgTEMuzzleFlash::CMsgTEMuzzleFlash(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEMuzzleFlash) -} -CMsgTEMuzzleFlash::CMsgTEMuzzleFlash(const CMsgTEMuzzleFlash& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEMuzzleFlash* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.angles_){nullptr} - , decltype(_impl_.scale_){} - , decltype(_impl_.type_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - if (from._internal_has_angles()) { - _this->_impl_.angles_ = new ::CMsgQAngle(*from._impl_.angles_); - } - ::memcpy(&_impl_.scale_, &from._impl_.scale_, - static_cast(reinterpret_cast(&_impl_.type_) - - reinterpret_cast(&_impl_.scale_)) + sizeof(_impl_.type_)); - // @@protoc_insertion_point(copy_constructor:CMsgTEMuzzleFlash) -} - -inline void CMsgTEMuzzleFlash::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.angles_){nullptr} - , decltype(_impl_.scale_){0} - , decltype(_impl_.type_){0u} - }; -} - -CMsgTEMuzzleFlash::~CMsgTEMuzzleFlash() { - // @@protoc_insertion_point(destructor:CMsgTEMuzzleFlash) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEMuzzleFlash::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.origin_; - if (this != internal_default_instance()) delete _impl_.angles_; -} - -void CMsgTEMuzzleFlash::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEMuzzleFlash::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEMuzzleFlash) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.angles_ != nullptr); - _impl_.angles_->Clear(); - } - } - if (cached_has_bits & 0x0000000cu) { - ::memset(&_impl_.scale_, 0, static_cast( - reinterpret_cast(&_impl_.type_) - - reinterpret_cast(&_impl_.scale_)) + sizeof(_impl_.type_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEMuzzleFlash::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector origin = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle angles = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_angles(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float scale = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_scale(&has_bits); - _impl_.scale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 type = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_type(&has_bits); - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEMuzzleFlash::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEMuzzleFlash) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - // optional .CMsgQAngle angles = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::angles(this), - _Internal::angles(this).GetCachedSize(), target, stream); - } - - // optional float scale = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_scale(), target); - } - - // optional uint32 type = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_type(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEMuzzleFlash) - return target; -} - -size_t CMsgTEMuzzleFlash::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEMuzzleFlash) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional .CMsgQAngle angles = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.angles_); - } - - // optional float scale = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional uint32 type = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_type()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEMuzzleFlash::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEMuzzleFlash::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEMuzzleFlash::GetClassData() const { return &_class_data_; } - - -void CMsgTEMuzzleFlash::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEMuzzleFlash) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_angles()->::CMsgQAngle::MergeFrom( - from._internal_angles()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.scale_ = from._impl_.scale_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.type_ = from._impl_.type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEMuzzleFlash::CopyFrom(const CMsgTEMuzzleFlash& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEMuzzleFlash) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEMuzzleFlash::IsInitialized() const { - return true; -} - -void CMsgTEMuzzleFlash::InternalSwap(CMsgTEMuzzleFlash* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEMuzzleFlash, _impl_.type_) - + sizeof(CMsgTEMuzzleFlash::_impl_.type_) - - PROTOBUF_FIELD_OFFSET(CMsgTEMuzzleFlash, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEMuzzleFlash::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[16]); -} - -// =================================================================== - -class CMsgTEBloodStream::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& origin(const CMsgTEBloodStream* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgVector& direction(const CMsgTEBloodStream* msg); - static void set_has_direction(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_color(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_amount(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::CMsgVector& -CMsgTEBloodStream::_Internal::origin(const CMsgTEBloodStream* msg) { - return *msg->_impl_.origin_; -} -const ::CMsgVector& -CMsgTEBloodStream::_Internal::direction(const CMsgTEBloodStream* msg) { - return *msg->_impl_.direction_; -} -void CMsgTEBloodStream::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgTEBloodStream::clear_direction() { - if (_impl_.direction_ != nullptr) _impl_.direction_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CMsgTEBloodStream::CMsgTEBloodStream(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEBloodStream) -} -CMsgTEBloodStream::CMsgTEBloodStream(const CMsgTEBloodStream& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEBloodStream* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.direction_){nullptr} - , decltype(_impl_.color_){} - , decltype(_impl_.amount_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - if (from._internal_has_direction()) { - _this->_impl_.direction_ = new ::CMsgVector(*from._impl_.direction_); - } - ::memcpy(&_impl_.color_, &from._impl_.color_, - static_cast(reinterpret_cast(&_impl_.amount_) - - reinterpret_cast(&_impl_.color_)) + sizeof(_impl_.amount_)); - // @@protoc_insertion_point(copy_constructor:CMsgTEBloodStream) -} - -inline void CMsgTEBloodStream::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.direction_){nullptr} - , decltype(_impl_.color_){0u} - , decltype(_impl_.amount_){0u} - }; -} - -CMsgTEBloodStream::~CMsgTEBloodStream() { - // @@protoc_insertion_point(destructor:CMsgTEBloodStream) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEBloodStream::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.origin_; - if (this != internal_default_instance()) delete _impl_.direction_; -} - -void CMsgTEBloodStream::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEBloodStream::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEBloodStream) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.direction_ != nullptr); - _impl_.direction_->Clear(); - } - } - if (cached_has_bits & 0x0000000cu) { - ::memset(&_impl_.color_, 0, static_cast( - reinterpret_cast(&_impl_.amount_) - - reinterpret_cast(&_impl_.color_)) + sizeof(_impl_.amount_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEBloodStream::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector origin = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector direction = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_direction(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 color = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_color(&has_bits); - _impl_.color_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 amount = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_amount(&has_bits); - _impl_.amount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEBloodStream::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEBloodStream) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector direction = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::direction(this), - _Internal::direction(this).GetCachedSize(), target, stream); - } - - // optional fixed32 color = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_color(), target); - } - - // optional uint32 amount = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_amount(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEBloodStream) - return target; -} - -size_t CMsgTEBloodStream::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEBloodStream) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional .CMsgVector direction = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.direction_); - } - - // optional fixed32 color = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional uint32 amount = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_amount()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEBloodStream::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEBloodStream::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEBloodStream::GetClassData() const { return &_class_data_; } - - -void CMsgTEBloodStream::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEBloodStream) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_direction()->::CMsgVector::MergeFrom( - from._internal_direction()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.color_ = from._impl_.color_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.amount_ = from._impl_.amount_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEBloodStream::CopyFrom(const CMsgTEBloodStream& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEBloodStream) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEBloodStream::IsInitialized() const { - return true; -} - -void CMsgTEBloodStream::InternalSwap(CMsgTEBloodStream* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEBloodStream, _impl_.amount_) - + sizeof(CMsgTEBloodStream::_impl_.amount_) - - PROTOBUF_FIELD_OFFSET(CMsgTEBloodStream, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEBloodStream::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[17]); -} - -// =================================================================== - -class CMsgTEExplosion::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& origin(const CMsgTEExplosion* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static const ::CMsgVector& normal(const CMsgTEExplosion* msg); - static void set_has_normal(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_radius(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_magnitude(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_affect_ragdolls(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_sound_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_explosion_type(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_create_debris(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static const ::CMsgVector& debris_origin(const CMsgTEExplosion* msg); - static void set_has_debris_origin(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_debris_surfaceprop(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } -}; - -const ::CMsgVector& -CMsgTEExplosion::_Internal::origin(const CMsgTEExplosion* msg) { - return *msg->_impl_.origin_; -} -const ::CMsgVector& -CMsgTEExplosion::_Internal::normal(const CMsgTEExplosion* msg) { - return *msg->_impl_.normal_; -} -const ::CMsgVector& -CMsgTEExplosion::_Internal::debris_origin(const CMsgTEExplosion* msg) { - return *msg->_impl_.debris_origin_; -} -void CMsgTEExplosion::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CMsgTEExplosion::clear_normal() { - if (_impl_.normal_ != nullptr) _impl_.normal_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -void CMsgTEExplosion::clear_debris_origin() { - if (_impl_.debris_origin_ != nullptr) _impl_.debris_origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -CMsgTEExplosion::CMsgTEExplosion(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEExplosion) -} -CMsgTEExplosion::CMsgTEExplosion(const CMsgTEExplosion& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEExplosion* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sound_name_){} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.normal_){nullptr} - , decltype(_impl_.debris_origin_){nullptr} - , decltype(_impl_.flags_){} - , decltype(_impl_.radius_){} - , decltype(_impl_.magnitude_){} - , decltype(_impl_.affect_ragdolls_){} - , decltype(_impl_.create_debris_){} - , decltype(_impl_.explosion_type_){} - , decltype(_impl_.debris_surfaceprop_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.sound_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sound_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_sound_name()) { - _this->_impl_.sound_name_.Set(from._internal_sound_name(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - if (from._internal_has_normal()) { - _this->_impl_.normal_ = new ::CMsgVector(*from._impl_.normal_); - } - if (from._internal_has_debris_origin()) { - _this->_impl_.debris_origin_ = new ::CMsgVector(*from._impl_.debris_origin_); - } - ::memcpy(&_impl_.flags_, &from._impl_.flags_, - static_cast(reinterpret_cast(&_impl_.debris_surfaceprop_) - - reinterpret_cast(&_impl_.flags_)) + sizeof(_impl_.debris_surfaceprop_)); - // @@protoc_insertion_point(copy_constructor:CMsgTEExplosion) -} - -inline void CMsgTEExplosion::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.sound_name_){} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.normal_){nullptr} - , decltype(_impl_.debris_origin_){nullptr} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.radius_){0u} - , decltype(_impl_.magnitude_){0u} - , decltype(_impl_.affect_ragdolls_){false} - , decltype(_impl_.create_debris_){false} - , decltype(_impl_.explosion_type_){0u} - , decltype(_impl_.debris_surfaceprop_){0u} - }; - _impl_.sound_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.sound_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CMsgTEExplosion::~CMsgTEExplosion() { - // @@protoc_insertion_point(destructor:CMsgTEExplosion) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEExplosion::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.sound_name_.Destroy(); - if (this != internal_default_instance()) delete _impl_.origin_; - if (this != internal_default_instance()) delete _impl_.normal_; - if (this != internal_default_instance()) delete _impl_.debris_origin_; -} - -void CMsgTEExplosion::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEExplosion::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEExplosion) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.sound_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.normal_ != nullptr); - _impl_.normal_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.debris_origin_ != nullptr); - _impl_.debris_origin_->Clear(); - } - } - if (cached_has_bits & 0x000000f0u) { - ::memset(&_impl_.flags_, 0, static_cast( - reinterpret_cast(&_impl_.affect_ragdolls_) - - reinterpret_cast(&_impl_.flags_)) + sizeof(_impl_.affect_ragdolls_)); - } - if (cached_has_bits & 0x00000700u) { - ::memset(&_impl_.create_debris_, 0, static_cast( - reinterpret_cast(&_impl_.debris_surfaceprop_) - - reinterpret_cast(&_impl_.create_debris_)) + sizeof(_impl_.debris_surfaceprop_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEExplosion::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector origin = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector normal = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_normal(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 radius = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_radius(&has_bits); - _impl_.radius_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 magnitude = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_magnitude(&has_bits); - _impl_.magnitude_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool affect_ragdolls = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_affect_ragdolls(&has_bits); - _impl_.affect_ragdolls_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string sound_name = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_sound_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CMsgTEExplosion.sound_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 explosion_type = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_explosion_type(&has_bits); - _impl_.explosion_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool create_debris = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_create_debris(&has_bits); - _impl_.create_debris_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector debris_origin = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { - ptr = ctx->ParseMessage(_internal_mutable_debris_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 debris_surfaceprop = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 117)) { - _Internal::set_has_debris_surfaceprop(&has_bits); - _impl_.debris_surfaceprop_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEExplosion::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEExplosion) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - // optional uint32 flags = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_flags(), target); - } - - // optional .CMsgVector normal = 4; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::normal(this), - _Internal::normal(this).GetCachedSize(), target, stream); - } - - // optional uint32 radius = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_radius(), target); - } - - // optional uint32 magnitude = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_magnitude(), target); - } - - // optional bool affect_ragdolls = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_affect_ragdolls(), target); - } - - // optional string sound_name = 10; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_sound_name().data(), static_cast(this->_internal_sound_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CMsgTEExplosion.sound_name"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_sound_name(), target); - } - - // optional uint32 explosion_type = 11; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_explosion_type(), target); - } - - // optional bool create_debris = 12; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(12, this->_internal_create_debris(), target); - } - - // optional .CMsgVector debris_origin = 13; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(13, _Internal::debris_origin(this), - _Internal::debris_origin(this).GetCachedSize(), target, stream); - } - - // optional fixed32 debris_surfaceprop = 14; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(14, this->_internal_debris_surfaceprop(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEExplosion) - return target; -} - -size_t CMsgTEExplosion::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEExplosion) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string sound_name = 10; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_sound_name()); - } - - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional .CMsgVector normal = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.normal_); - } - - // optional .CMsgVector debris_origin = 13; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.debris_origin_); - } - - // optional uint32 flags = 3; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - // optional uint32 radius = 6; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_radius()); - } - - // optional uint32 magnitude = 7; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_magnitude()); - } - - // optional bool affect_ragdolls = 9; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 1; - } - - } - if (cached_has_bits & 0x00000700u) { - // optional bool create_debris = 12; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 1; - } - - // optional uint32 explosion_type = 11; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_explosion_type()); - } - - // optional fixed32 debris_surfaceprop = 14; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEExplosion::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEExplosion::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEExplosion::GetClassData() const { return &_class_data_; } - - -void CMsgTEExplosion::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEExplosion) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_sound_name(from._internal_sound_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_normal()->::CMsgVector::MergeFrom( - from._internal_normal()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_debris_origin()->::CMsgVector::MergeFrom( - from._internal_debris_origin()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.radius_ = from._impl_.radius_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.magnitude_ = from._impl_.magnitude_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.affect_ragdolls_ = from._impl_.affect_ragdolls_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000700u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.create_debris_ = from._impl_.create_debris_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.explosion_type_ = from._impl_.explosion_type_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.debris_surfaceprop_ = from._impl_.debris_surfaceprop_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEExplosion::CopyFrom(const CMsgTEExplosion& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEExplosion) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEExplosion::IsInitialized() const { - return true; -} - -void CMsgTEExplosion::InternalSwap(CMsgTEExplosion* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.sound_name_, lhs_arena, - &other->_impl_.sound_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEExplosion, _impl_.debris_surfaceprop_) - + sizeof(CMsgTEExplosion::_impl_.debris_surfaceprop_) - - PROTOBUF_FIELD_OFFSET(CMsgTEExplosion, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEExplosion::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[18]); -} - -// =================================================================== - -class CMsgTEDust::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& origin(const CMsgTEDust* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_size(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_speed(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CMsgVector& direction(const CMsgTEDust* msg); - static void set_has_direction(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgVector& -CMsgTEDust::_Internal::origin(const CMsgTEDust* msg) { - return *msg->_impl_.origin_; -} -const ::CMsgVector& -CMsgTEDust::_Internal::direction(const CMsgTEDust* msg) { - return *msg->_impl_.direction_; -} -void CMsgTEDust::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgTEDust::clear_direction() { - if (_impl_.direction_ != nullptr) _impl_.direction_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CMsgTEDust::CMsgTEDust(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEDust) -} -CMsgTEDust::CMsgTEDust(const CMsgTEDust& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEDust* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.direction_){nullptr} - , decltype(_impl_.size_){} - , decltype(_impl_.speed_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - if (from._internal_has_direction()) { - _this->_impl_.direction_ = new ::CMsgVector(*from._impl_.direction_); - } - ::memcpy(&_impl_.size_, &from._impl_.size_, - static_cast(reinterpret_cast(&_impl_.speed_) - - reinterpret_cast(&_impl_.size_)) + sizeof(_impl_.speed_)); - // @@protoc_insertion_point(copy_constructor:CMsgTEDust) -} - -inline void CMsgTEDust::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.direction_){nullptr} - , decltype(_impl_.size_){0} - , decltype(_impl_.speed_){0} - }; -} - -CMsgTEDust::~CMsgTEDust() { - // @@protoc_insertion_point(destructor:CMsgTEDust) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEDust::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.origin_; - if (this != internal_default_instance()) delete _impl_.direction_; -} - -void CMsgTEDust::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEDust::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEDust) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.direction_ != nullptr); - _impl_.direction_->Clear(); - } - } - if (cached_has_bits & 0x0000000cu) { - ::memset(&_impl_.size_, 0, static_cast( - reinterpret_cast(&_impl_.speed_) - - reinterpret_cast(&_impl_.size_)) + sizeof(_impl_.speed_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEDust::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector origin = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float size = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_size(&has_bits); - _impl_.size_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float speed = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_speed(&has_bits); - _impl_.speed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional .CMsgVector direction = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_direction(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEDust::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEDust) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - // optional float size = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_size(), target); - } - - // optional float speed = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_speed(), target); - } - - // optional .CMsgVector direction = 4; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::direction(this), - _Internal::direction(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEDust) - return target; -} - -size_t CMsgTEDust::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEDust) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional .CMsgVector direction = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.direction_); - } - - // optional float size = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional float speed = 3; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEDust::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEDust::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEDust::GetClassData() const { return &_class_data_; } - - -void CMsgTEDust::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEDust) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_direction()->::CMsgVector::MergeFrom( - from._internal_direction()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.size_ = from._impl_.size_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.speed_ = from._impl_.speed_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEDust::CopyFrom(const CMsgTEDust& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEDust) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEDust::IsInitialized() const { - return true; -} - -void CMsgTEDust::InternalSwap(CMsgTEDust* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEDust, _impl_.speed_) - + sizeof(CMsgTEDust::_impl_.speed_) - - PROTOBUF_FIELD_OFFSET(CMsgTEDust, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEDust::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[19]); -} - -// =================================================================== - -class CMsgTELargeFunnel::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& origin(const CMsgTELargeFunnel* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_reversed(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgVector& -CMsgTELargeFunnel::_Internal::origin(const CMsgTELargeFunnel* msg) { - return *msg->_impl_.origin_; -} -void CMsgTELargeFunnel::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CMsgTELargeFunnel::CMsgTELargeFunnel(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTELargeFunnel) -} -CMsgTELargeFunnel::CMsgTELargeFunnel(const CMsgTELargeFunnel& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTELargeFunnel* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.reversed_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - _this->_impl_.reversed_ = from._impl_.reversed_; - // @@protoc_insertion_point(copy_constructor:CMsgTELargeFunnel) -} - -inline void CMsgTELargeFunnel::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.reversed_){0u} - }; -} - -CMsgTELargeFunnel::~CMsgTELargeFunnel() { - // @@protoc_insertion_point(destructor:CMsgTELargeFunnel) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTELargeFunnel::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.origin_; -} - -void CMsgTELargeFunnel::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTELargeFunnel::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTELargeFunnel) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - _impl_.reversed_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTELargeFunnel::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector origin = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 reversed = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_reversed(&has_bits); - _impl_.reversed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTELargeFunnel::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTELargeFunnel) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - // optional uint32 reversed = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_reversed(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTELargeFunnel) - return target; -} - -size_t CMsgTELargeFunnel::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTELargeFunnel) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional uint32 reversed = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_reversed()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTELargeFunnel::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTELargeFunnel::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTELargeFunnel::GetClassData() const { return &_class_data_; } - - -void CMsgTELargeFunnel::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTELargeFunnel) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.reversed_ = from._impl_.reversed_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTELargeFunnel::CopyFrom(const CMsgTELargeFunnel& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTELargeFunnel) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTELargeFunnel::IsInitialized() const { - return true; -} - -void CMsgTELargeFunnel::InternalSwap(CMsgTELargeFunnel* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTELargeFunnel, _impl_.reversed_) - + sizeof(CMsgTELargeFunnel::_impl_.reversed_) - - PROTOBUF_FIELD_OFFSET(CMsgTELargeFunnel, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTELargeFunnel::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[20]); -} - -// =================================================================== - -class CMsgTESparks::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& origin(const CMsgTESparks* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_magnitude(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_length(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CMsgVector& direction(const CMsgTESparks* msg); - static void set_has_direction(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgVector& -CMsgTESparks::_Internal::origin(const CMsgTESparks* msg) { - return *msg->_impl_.origin_; -} -const ::CMsgVector& -CMsgTESparks::_Internal::direction(const CMsgTESparks* msg) { - return *msg->_impl_.direction_; -} -void CMsgTESparks::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgTESparks::clear_direction() { - if (_impl_.direction_ != nullptr) _impl_.direction_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CMsgTESparks::CMsgTESparks(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTESparks) -} -CMsgTESparks::CMsgTESparks(const CMsgTESparks& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTESparks* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.direction_){nullptr} - , decltype(_impl_.magnitude_){} - , decltype(_impl_.length_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - if (from._internal_has_direction()) { - _this->_impl_.direction_ = new ::CMsgVector(*from._impl_.direction_); - } - ::memcpy(&_impl_.magnitude_, &from._impl_.magnitude_, - static_cast(reinterpret_cast(&_impl_.length_) - - reinterpret_cast(&_impl_.magnitude_)) + sizeof(_impl_.length_)); - // @@protoc_insertion_point(copy_constructor:CMsgTESparks) -} - -inline void CMsgTESparks::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.direction_){nullptr} - , decltype(_impl_.magnitude_){0u} - , decltype(_impl_.length_){0u} - }; -} - -CMsgTESparks::~CMsgTESparks() { - // @@protoc_insertion_point(destructor:CMsgTESparks) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTESparks::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.origin_; - if (this != internal_default_instance()) delete _impl_.direction_; -} - -void CMsgTESparks::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTESparks::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTESparks) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.direction_ != nullptr); - _impl_.direction_->Clear(); - } - } - if (cached_has_bits & 0x0000000cu) { - ::memset(&_impl_.magnitude_, 0, static_cast( - reinterpret_cast(&_impl_.length_) - - reinterpret_cast(&_impl_.magnitude_)) + sizeof(_impl_.length_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTESparks::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector origin = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 magnitude = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_magnitude(&has_bits); - _impl_.magnitude_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 length = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_length(&has_bits); - _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector direction = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_direction(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTESparks::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTESparks) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - // optional uint32 magnitude = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_magnitude(), target); - } - - // optional uint32 length = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_length(), target); - } - - // optional .CMsgVector direction = 4; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::direction(this), - _Internal::direction(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTESparks) - return target; -} - -size_t CMsgTESparks::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTESparks) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional .CMsgVector direction = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.direction_); - } - - // optional uint32 magnitude = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_magnitude()); - } - - // optional uint32 length = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_length()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTESparks::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTESparks::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTESparks::GetClassData() const { return &_class_data_; } - - -void CMsgTESparks::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTESparks) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_direction()->::CMsgVector::MergeFrom( - from._internal_direction()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.magnitude_ = from._impl_.magnitude_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.length_ = from._impl_.length_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTESparks::CopyFrom(const CMsgTESparks& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTESparks) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTESparks::IsInitialized() const { - return true; -} - -void CMsgTESparks::InternalSwap(CMsgTESparks* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTESparks, _impl_.length_) - + sizeof(CMsgTESparks::_impl_.length_) - - PROTOBUF_FIELD_OFFSET(CMsgTESparks, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTESparks::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[21]); -} - -// =================================================================== - -class CMsgTEPhysicsProp::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& origin(const CMsgTEPhysicsProp* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgVector& velocity(const CMsgTEPhysicsProp* msg); - static void set_has_velocity(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgQAngle& angles(const CMsgTEPhysicsProp* msg); - static void set_has_angles(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_skin(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_effects(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_color(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_modelindex(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_unused_breakmodelsnottomake(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_scale(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static const ::CMsgVector& dmgpos(const CMsgTEPhysicsProp* msg); - static void set_has_dmgpos(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CMsgVector& dmgdir(const CMsgTEPhysicsProp* msg); - static void set_has_dmgdir(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_dmgtype(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } -}; - -const ::CMsgVector& -CMsgTEPhysicsProp::_Internal::origin(const CMsgTEPhysicsProp* msg) { - return *msg->_impl_.origin_; -} -const ::CMsgVector& -CMsgTEPhysicsProp::_Internal::velocity(const CMsgTEPhysicsProp* msg) { - return *msg->_impl_.velocity_; -} -const ::CMsgQAngle& -CMsgTEPhysicsProp::_Internal::angles(const CMsgTEPhysicsProp* msg) { - return *msg->_impl_.angles_; -} -const ::CMsgVector& -CMsgTEPhysicsProp::_Internal::dmgpos(const CMsgTEPhysicsProp* msg) { - return *msg->_impl_.dmgpos_; -} -const ::CMsgVector& -CMsgTEPhysicsProp::_Internal::dmgdir(const CMsgTEPhysicsProp* msg) { - return *msg->_impl_.dmgdir_; -} -void CMsgTEPhysicsProp::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgTEPhysicsProp::clear_velocity() { - if (_impl_.velocity_ != nullptr) _impl_.velocity_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CMsgTEPhysicsProp::clear_angles() { - if (_impl_.angles_ != nullptr) _impl_.angles_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -void CMsgTEPhysicsProp::clear_dmgpos() { - if (_impl_.dmgpos_ != nullptr) _impl_.dmgpos_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -void CMsgTEPhysicsProp::clear_dmgdir() { - if (_impl_.dmgdir_ != nullptr) _impl_.dmgdir_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -CMsgTEPhysicsProp::CMsgTEPhysicsProp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEPhysicsProp) -} -CMsgTEPhysicsProp::CMsgTEPhysicsProp(const CMsgTEPhysicsProp& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEPhysicsProp* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.velocity_){nullptr} - , decltype(_impl_.angles_){nullptr} - , decltype(_impl_.dmgpos_){nullptr} - , decltype(_impl_.dmgdir_){nullptr} - , decltype(_impl_.skin_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.effects_){} - , decltype(_impl_.color_){} - , decltype(_impl_.modelindex_){} - , decltype(_impl_.unused_breakmodelsnottomake_){} - , decltype(_impl_.scale_){} - , decltype(_impl_.dmgtype_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - if (from._internal_has_velocity()) { - _this->_impl_.velocity_ = new ::CMsgVector(*from._impl_.velocity_); - } - if (from._internal_has_angles()) { - _this->_impl_.angles_ = new ::CMsgQAngle(*from._impl_.angles_); - } - if (from._internal_has_dmgpos()) { - _this->_impl_.dmgpos_ = new ::CMsgVector(*from._impl_.dmgpos_); - } - if (from._internal_has_dmgdir()) { - _this->_impl_.dmgdir_ = new ::CMsgVector(*from._impl_.dmgdir_); - } - ::memcpy(&_impl_.skin_, &from._impl_.skin_, - static_cast(reinterpret_cast(&_impl_.dmgtype_) - - reinterpret_cast(&_impl_.skin_)) + sizeof(_impl_.dmgtype_)); - // @@protoc_insertion_point(copy_constructor:CMsgTEPhysicsProp) -} - -inline void CMsgTEPhysicsProp::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.velocity_){nullptr} - , decltype(_impl_.angles_){nullptr} - , decltype(_impl_.dmgpos_){nullptr} - , decltype(_impl_.dmgdir_){nullptr} - , decltype(_impl_.skin_){0u} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.effects_){0u} - , decltype(_impl_.color_){0u} - , decltype(_impl_.modelindex_){uint64_t{0u}} - , decltype(_impl_.unused_breakmodelsnottomake_){0u} - , decltype(_impl_.scale_){0} - , decltype(_impl_.dmgtype_){0} - }; -} - -CMsgTEPhysicsProp::~CMsgTEPhysicsProp() { - // @@protoc_insertion_point(destructor:CMsgTEPhysicsProp) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEPhysicsProp::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.origin_; - if (this != internal_default_instance()) delete _impl_.velocity_; - if (this != internal_default_instance()) delete _impl_.angles_; - if (this != internal_default_instance()) delete _impl_.dmgpos_; - if (this != internal_default_instance()) delete _impl_.dmgdir_; -} - -void CMsgTEPhysicsProp::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEPhysicsProp::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEPhysicsProp) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.velocity_ != nullptr); - _impl_.velocity_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.angles_ != nullptr); - _impl_.angles_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.dmgpos_ != nullptr); - _impl_.dmgpos_->Clear(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(_impl_.dmgdir_ != nullptr); - _impl_.dmgdir_->Clear(); - } - } - if (cached_has_bits & 0x000000e0u) { - ::memset(&_impl_.skin_, 0, static_cast( - reinterpret_cast(&_impl_.effects_) - - reinterpret_cast(&_impl_.skin_)) + sizeof(_impl_.effects_)); - } - if (cached_has_bits & 0x00001f00u) { - ::memset(&_impl_.color_, 0, static_cast( - reinterpret_cast(&_impl_.dmgtype_) - - reinterpret_cast(&_impl_.color_)) + sizeof(_impl_.dmgtype_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEPhysicsProp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector origin = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector velocity = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_velocity(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle angles = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_angles(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 skin = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_skin(&has_bits); - _impl_.skin_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 effects = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_effects(&has_bits); - _impl_.effects_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 color = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_color(&has_bits); - _impl_.color_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed64 modelindex = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 65)) { - _Internal::set_has_modelindex(&has_bits); - _impl_.modelindex_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 unused_breakmodelsnottomake = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_unused_breakmodelsnottomake(&has_bits); - _impl_.unused_breakmodelsnottomake_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float scale = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 85)) { - _Internal::set_has_scale(&has_bits); - _impl_.scale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional .CMsgVector dmgpos = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr = ctx->ParseMessage(_internal_mutable_dmgpos(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector dmgdir = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - ptr = ctx->ParseMessage(_internal_mutable_dmgdir(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 dmgtype = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_dmgtype(&has_bits); - _impl_.dmgtype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEPhysicsProp::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEPhysicsProp) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector velocity = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::velocity(this), - _Internal::velocity(this).GetCachedSize(), target, stream); - } - - // optional .CMsgQAngle angles = 3; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::angles(this), - _Internal::angles(this).GetCachedSize(), target, stream); - } - - // optional fixed32 skin = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_skin(), target); - } - - // optional uint32 flags = 5; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_flags(), target); - } - - // optional uint32 effects = 6; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_effects(), target); - } - - // optional fixed32 color = 7; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(7, this->_internal_color(), target); - } - - // optional fixed64 modelindex = 8; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(8, this->_internal_modelindex(), target); - } - - // optional uint32 unused_breakmodelsnottomake = 9; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_unused_breakmodelsnottomake(), target); - } - - // optional float scale = 10; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(10, this->_internal_scale(), target); - } - - // optional .CMsgVector dmgpos = 11; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(11, _Internal::dmgpos(this), - _Internal::dmgpos(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector dmgdir = 12; - if (cached_has_bits & 0x00000010u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(12, _Internal::dmgdir(this), - _Internal::dmgdir(this).GetCachedSize(), target, stream); - } - - // optional int32 dmgtype = 13; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_dmgtype(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEPhysicsProp) - return target; -} - -size_t CMsgTEPhysicsProp::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEPhysicsProp) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional .CMsgVector velocity = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.velocity_); - } - - // optional .CMsgQAngle angles = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.angles_); - } - - // optional .CMsgVector dmgpos = 11; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.dmgpos_); - } - - // optional .CMsgVector dmgdir = 12; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.dmgdir_); - } - - // optional fixed32 skin = 4; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional uint32 flags = 5; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - // optional uint32 effects = 6; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_effects()); - } - - } - if (cached_has_bits & 0x00001f00u) { - // optional fixed32 color = 7; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 4; - } - - // optional fixed64 modelindex = 8; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 8; - } - - // optional uint32 unused_breakmodelsnottomake = 9; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_unused_breakmodelsnottomake()); - } - - // optional float scale = 10; - if (cached_has_bits & 0x00000800u) { - total_size += 1 + 4; - } - - // optional int32 dmgtype = 13; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dmgtype()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEPhysicsProp::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEPhysicsProp::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEPhysicsProp::GetClassData() const { return &_class_data_; } - - -void CMsgTEPhysicsProp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEPhysicsProp) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_velocity()->::CMsgVector::MergeFrom( - from._internal_velocity()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_angles()->::CMsgQAngle::MergeFrom( - from._internal_angles()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_dmgpos()->::CMsgVector::MergeFrom( - from._internal_dmgpos()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_mutable_dmgdir()->::CMsgVector::MergeFrom( - from._internal_dmgdir()); - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.skin_ = from._impl_.skin_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.effects_ = from._impl_.effects_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00001f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.color_ = from._impl_.color_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.modelindex_ = from._impl_.modelindex_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.unused_breakmodelsnottomake_ = from._impl_.unused_breakmodelsnottomake_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.scale_ = from._impl_.scale_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.dmgtype_ = from._impl_.dmgtype_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEPhysicsProp::CopyFrom(const CMsgTEPhysicsProp& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEPhysicsProp) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEPhysicsProp::IsInitialized() const { - return true; -} - -void CMsgTEPhysicsProp::InternalSwap(CMsgTEPhysicsProp* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEPhysicsProp, _impl_.dmgtype_) - + sizeof(CMsgTEPhysicsProp::_impl_.dmgtype_) - - PROTOBUF_FIELD_OFFSET(CMsgTEPhysicsProp, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEPhysicsProp::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[22]); -} - -// =================================================================== - -class CMsgTESmoke::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& origin(const CMsgTESmoke* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_scale(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgVector& -CMsgTESmoke::_Internal::origin(const CMsgTESmoke* msg) { - return *msg->_impl_.origin_; -} -void CMsgTESmoke::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CMsgTESmoke::CMsgTESmoke(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTESmoke) -} -CMsgTESmoke::CMsgTESmoke(const CMsgTESmoke& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTESmoke* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.scale_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - _this->_impl_.scale_ = from._impl_.scale_; - // @@protoc_insertion_point(copy_constructor:CMsgTESmoke) -} - -inline void CMsgTESmoke::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.scale_){0} - }; -} - -CMsgTESmoke::~CMsgTESmoke() { - // @@protoc_insertion_point(destructor:CMsgTESmoke) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTESmoke::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.origin_; -} - -void CMsgTESmoke::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTESmoke::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTESmoke) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - _impl_.scale_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTESmoke::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector origin = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float scale = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_scale(&has_bits); - _impl_.scale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTESmoke::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTESmoke) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - // optional float scale = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_scale(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTESmoke) - return target; -} - -size_t CMsgTESmoke::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTESmoke) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional float scale = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTESmoke::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTESmoke::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTESmoke::GetClassData() const { return &_class_data_; } - - -void CMsgTESmoke::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTESmoke) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.scale_ = from._impl_.scale_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTESmoke::CopyFrom(const CMsgTESmoke& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTESmoke) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTESmoke::IsInitialized() const { - return true; -} - -void CMsgTESmoke::InternalSwap(CMsgTESmoke* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTESmoke, _impl_.scale_) - + sizeof(CMsgTESmoke::_impl_.scale_) - - PROTOBUF_FIELD_OFFSET(CMsgTESmoke, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTESmoke::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[23]); -} - -// =================================================================== - -class CMsgTEWorldDecal::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& origin(const CMsgTEWorldDecal* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgVector& normal(const CMsgTEWorldDecal* msg); - static void set_has_normal(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_index(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::CMsgVector& -CMsgTEWorldDecal::_Internal::origin(const CMsgTEWorldDecal* msg) { - return *msg->_impl_.origin_; -} -const ::CMsgVector& -CMsgTEWorldDecal::_Internal::normal(const CMsgTEWorldDecal* msg) { - return *msg->_impl_.normal_; -} -void CMsgTEWorldDecal::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CMsgTEWorldDecal::clear_normal() { - if (_impl_.normal_ != nullptr) _impl_.normal_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CMsgTEWorldDecal::CMsgTEWorldDecal(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CMsgTEWorldDecal) -} -CMsgTEWorldDecal::CMsgTEWorldDecal(const CMsgTEWorldDecal& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CMsgTEWorldDecal* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.normal_){nullptr} - , decltype(_impl_.index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - if (from._internal_has_normal()) { - _this->_impl_.normal_ = new ::CMsgVector(*from._impl_.normal_); - } - _this->_impl_.index_ = from._impl_.index_; - // @@protoc_insertion_point(copy_constructor:CMsgTEWorldDecal) -} - -inline void CMsgTEWorldDecal::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.normal_){nullptr} - , decltype(_impl_.index_){0u} - }; -} - -CMsgTEWorldDecal::~CMsgTEWorldDecal() { - // @@protoc_insertion_point(destructor:CMsgTEWorldDecal) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CMsgTEWorldDecal::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.origin_; - if (this != internal_default_instance()) delete _impl_.normal_; -} - -void CMsgTEWorldDecal::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CMsgTEWorldDecal::Clear() { -// @@protoc_insertion_point(message_clear_start:CMsgTEWorldDecal) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.normal_ != nullptr); - _impl_.normal_->Clear(); - } - } - _impl_.index_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CMsgTEWorldDecal::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector origin = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector normal = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_normal(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 index = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_index(&has_bits); - _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CMsgTEWorldDecal::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CMsgTEWorldDecal) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector normal = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::normal(this), - _Internal::normal(this).GetCachedSize(), target, stream); - } - - // optional uint32 index = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_index(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CMsgTEWorldDecal) - return target; -} - -size_t CMsgTEWorldDecal::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CMsgTEWorldDecal) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional .CMsgVector normal = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.normal_); - } - - // optional uint32 index = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CMsgTEWorldDecal::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CMsgTEWorldDecal::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CMsgTEWorldDecal::GetClassData() const { return &_class_data_; } - - -void CMsgTEWorldDecal::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CMsgTEWorldDecal) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_normal()->::CMsgVector::MergeFrom( - from._internal_normal()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.index_ = from._impl_.index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CMsgTEWorldDecal::CopyFrom(const CMsgTEWorldDecal& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CMsgTEWorldDecal) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CMsgTEWorldDecal::IsInitialized() const { - return true; -} - -void CMsgTEWorldDecal::InternalSwap(CMsgTEWorldDecal* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CMsgTEWorldDecal, _impl_.index_) - + sizeof(CMsgTEWorldDecal::_impl_.index_) - - PROTOBUF_FIELD_OFFSET(CMsgTEWorldDecal, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CMsgTEWorldDecal::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_te_2eproto_getter, &descriptor_table_te_2eproto_once, - file_level_metadata_te_2eproto[24]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CMsgTEArmorRicochet* -Arena::CreateMaybeMessage< ::CMsgTEArmorRicochet >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEArmorRicochet >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEBaseBeam* -Arena::CreateMaybeMessage< ::CMsgTEBaseBeam >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEBaseBeam >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEBeamEntPoint* -Arena::CreateMaybeMessage< ::CMsgTEBeamEntPoint >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEBeamEntPoint >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEBeamEnts* -Arena::CreateMaybeMessage< ::CMsgTEBeamEnts >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEBeamEnts >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEBeamPoints* -Arena::CreateMaybeMessage< ::CMsgTEBeamPoints >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEBeamPoints >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEBeamRing* -Arena::CreateMaybeMessage< ::CMsgTEBeamRing >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEBeamRing >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEBubbles* -Arena::CreateMaybeMessage< ::CMsgTEBubbles >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEBubbles >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEBubbleTrail* -Arena::CreateMaybeMessage< ::CMsgTEBubbleTrail >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEBubbleTrail >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEDecal* -Arena::CreateMaybeMessage< ::CMsgTEDecal >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEDecal >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgEffectData* -Arena::CreateMaybeMessage< ::CMsgEffectData >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgEffectData >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEEffectDispatch* -Arena::CreateMaybeMessage< ::CMsgTEEffectDispatch >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEEffectDispatch >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEEnergySplash* -Arena::CreateMaybeMessage< ::CMsgTEEnergySplash >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEEnergySplash >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEFizz* -Arena::CreateMaybeMessage< ::CMsgTEFizz >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEFizz >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEShatterSurface* -Arena::CreateMaybeMessage< ::CMsgTEShatterSurface >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEShatterSurface >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEGlowSprite* -Arena::CreateMaybeMessage< ::CMsgTEGlowSprite >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEGlowSprite >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEImpact* -Arena::CreateMaybeMessage< ::CMsgTEImpact >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEImpact >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEMuzzleFlash* -Arena::CreateMaybeMessage< ::CMsgTEMuzzleFlash >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEMuzzleFlash >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEBloodStream* -Arena::CreateMaybeMessage< ::CMsgTEBloodStream >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEBloodStream >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEExplosion* -Arena::CreateMaybeMessage< ::CMsgTEExplosion >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEExplosion >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEDust* -Arena::CreateMaybeMessage< ::CMsgTEDust >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEDust >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTELargeFunnel* -Arena::CreateMaybeMessage< ::CMsgTELargeFunnel >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTELargeFunnel >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTESparks* -Arena::CreateMaybeMessage< ::CMsgTESparks >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTESparks >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEPhysicsProp* -Arena::CreateMaybeMessage< ::CMsgTEPhysicsProp >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEPhysicsProp >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTESmoke* -Arena::CreateMaybeMessage< ::CMsgTESmoke >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTESmoke >(arena); -} -template<> PROTOBUF_NOINLINE ::CMsgTEWorldDecal* -Arena::CreateMaybeMessage< ::CMsgTEWorldDecal >(Arena* arena) { - return Arena::CreateMessageInternal< ::CMsgTEWorldDecal >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/te.pb.h b/protobuf/generated/te.pb.h deleted file mode 100644 index 59d84f6bc..000000000 --- a/protobuf/generated/te.pb.h +++ /dev/null @@ -1,12975 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: te.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_te_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_te_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "networkbasetypes.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_te_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_te_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_te_2eproto; -class CMsgEffectData; -struct CMsgEffectDataDefaultTypeInternal; -extern CMsgEffectDataDefaultTypeInternal _CMsgEffectData_default_instance_; -class CMsgTEArmorRicochet; -struct CMsgTEArmorRicochetDefaultTypeInternal; -extern CMsgTEArmorRicochetDefaultTypeInternal _CMsgTEArmorRicochet_default_instance_; -class CMsgTEBaseBeam; -struct CMsgTEBaseBeamDefaultTypeInternal; -extern CMsgTEBaseBeamDefaultTypeInternal _CMsgTEBaseBeam_default_instance_; -class CMsgTEBeamEntPoint; -struct CMsgTEBeamEntPointDefaultTypeInternal; -extern CMsgTEBeamEntPointDefaultTypeInternal _CMsgTEBeamEntPoint_default_instance_; -class CMsgTEBeamEnts; -struct CMsgTEBeamEntsDefaultTypeInternal; -extern CMsgTEBeamEntsDefaultTypeInternal _CMsgTEBeamEnts_default_instance_; -class CMsgTEBeamPoints; -struct CMsgTEBeamPointsDefaultTypeInternal; -extern CMsgTEBeamPointsDefaultTypeInternal _CMsgTEBeamPoints_default_instance_; -class CMsgTEBeamRing; -struct CMsgTEBeamRingDefaultTypeInternal; -extern CMsgTEBeamRingDefaultTypeInternal _CMsgTEBeamRing_default_instance_; -class CMsgTEBloodStream; -struct CMsgTEBloodStreamDefaultTypeInternal; -extern CMsgTEBloodStreamDefaultTypeInternal _CMsgTEBloodStream_default_instance_; -class CMsgTEBubbleTrail; -struct CMsgTEBubbleTrailDefaultTypeInternal; -extern CMsgTEBubbleTrailDefaultTypeInternal _CMsgTEBubbleTrail_default_instance_; -class CMsgTEBubbles; -struct CMsgTEBubblesDefaultTypeInternal; -extern CMsgTEBubblesDefaultTypeInternal _CMsgTEBubbles_default_instance_; -class CMsgTEDecal; -struct CMsgTEDecalDefaultTypeInternal; -extern CMsgTEDecalDefaultTypeInternal _CMsgTEDecal_default_instance_; -class CMsgTEDust; -struct CMsgTEDustDefaultTypeInternal; -extern CMsgTEDustDefaultTypeInternal _CMsgTEDust_default_instance_; -class CMsgTEEffectDispatch; -struct CMsgTEEffectDispatchDefaultTypeInternal; -extern CMsgTEEffectDispatchDefaultTypeInternal _CMsgTEEffectDispatch_default_instance_; -class CMsgTEEnergySplash; -struct CMsgTEEnergySplashDefaultTypeInternal; -extern CMsgTEEnergySplashDefaultTypeInternal _CMsgTEEnergySplash_default_instance_; -class CMsgTEExplosion; -struct CMsgTEExplosionDefaultTypeInternal; -extern CMsgTEExplosionDefaultTypeInternal _CMsgTEExplosion_default_instance_; -class CMsgTEFizz; -struct CMsgTEFizzDefaultTypeInternal; -extern CMsgTEFizzDefaultTypeInternal _CMsgTEFizz_default_instance_; -class CMsgTEGlowSprite; -struct CMsgTEGlowSpriteDefaultTypeInternal; -extern CMsgTEGlowSpriteDefaultTypeInternal _CMsgTEGlowSprite_default_instance_; -class CMsgTEImpact; -struct CMsgTEImpactDefaultTypeInternal; -extern CMsgTEImpactDefaultTypeInternal _CMsgTEImpact_default_instance_; -class CMsgTELargeFunnel; -struct CMsgTELargeFunnelDefaultTypeInternal; -extern CMsgTELargeFunnelDefaultTypeInternal _CMsgTELargeFunnel_default_instance_; -class CMsgTEMuzzleFlash; -struct CMsgTEMuzzleFlashDefaultTypeInternal; -extern CMsgTEMuzzleFlashDefaultTypeInternal _CMsgTEMuzzleFlash_default_instance_; -class CMsgTEPhysicsProp; -struct CMsgTEPhysicsPropDefaultTypeInternal; -extern CMsgTEPhysicsPropDefaultTypeInternal _CMsgTEPhysicsProp_default_instance_; -class CMsgTEShatterSurface; -struct CMsgTEShatterSurfaceDefaultTypeInternal; -extern CMsgTEShatterSurfaceDefaultTypeInternal _CMsgTEShatterSurface_default_instance_; -class CMsgTESmoke; -struct CMsgTESmokeDefaultTypeInternal; -extern CMsgTESmokeDefaultTypeInternal _CMsgTESmoke_default_instance_; -class CMsgTESparks; -struct CMsgTESparksDefaultTypeInternal; -extern CMsgTESparksDefaultTypeInternal _CMsgTESparks_default_instance_; -class CMsgTEWorldDecal; -struct CMsgTEWorldDecalDefaultTypeInternal; -extern CMsgTEWorldDecalDefaultTypeInternal _CMsgTEWorldDecal_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CMsgEffectData* Arena::CreateMaybeMessage<::CMsgEffectData>(Arena*); -template<> ::CMsgTEArmorRicochet* Arena::CreateMaybeMessage<::CMsgTEArmorRicochet>(Arena*); -template<> ::CMsgTEBaseBeam* Arena::CreateMaybeMessage<::CMsgTEBaseBeam>(Arena*); -template<> ::CMsgTEBeamEntPoint* Arena::CreateMaybeMessage<::CMsgTEBeamEntPoint>(Arena*); -template<> ::CMsgTEBeamEnts* Arena::CreateMaybeMessage<::CMsgTEBeamEnts>(Arena*); -template<> ::CMsgTEBeamPoints* Arena::CreateMaybeMessage<::CMsgTEBeamPoints>(Arena*); -template<> ::CMsgTEBeamRing* Arena::CreateMaybeMessage<::CMsgTEBeamRing>(Arena*); -template<> ::CMsgTEBloodStream* Arena::CreateMaybeMessage<::CMsgTEBloodStream>(Arena*); -template<> ::CMsgTEBubbleTrail* Arena::CreateMaybeMessage<::CMsgTEBubbleTrail>(Arena*); -template<> ::CMsgTEBubbles* Arena::CreateMaybeMessage<::CMsgTEBubbles>(Arena*); -template<> ::CMsgTEDecal* Arena::CreateMaybeMessage<::CMsgTEDecal>(Arena*); -template<> ::CMsgTEDust* Arena::CreateMaybeMessage<::CMsgTEDust>(Arena*); -template<> ::CMsgTEEffectDispatch* Arena::CreateMaybeMessage<::CMsgTEEffectDispatch>(Arena*); -template<> ::CMsgTEEnergySplash* Arena::CreateMaybeMessage<::CMsgTEEnergySplash>(Arena*); -template<> ::CMsgTEExplosion* Arena::CreateMaybeMessage<::CMsgTEExplosion>(Arena*); -template<> ::CMsgTEFizz* Arena::CreateMaybeMessage<::CMsgTEFizz>(Arena*); -template<> ::CMsgTEGlowSprite* Arena::CreateMaybeMessage<::CMsgTEGlowSprite>(Arena*); -template<> ::CMsgTEImpact* Arena::CreateMaybeMessage<::CMsgTEImpact>(Arena*); -template<> ::CMsgTELargeFunnel* Arena::CreateMaybeMessage<::CMsgTELargeFunnel>(Arena*); -template<> ::CMsgTEMuzzleFlash* Arena::CreateMaybeMessage<::CMsgTEMuzzleFlash>(Arena*); -template<> ::CMsgTEPhysicsProp* Arena::CreateMaybeMessage<::CMsgTEPhysicsProp>(Arena*); -template<> ::CMsgTEShatterSurface* Arena::CreateMaybeMessage<::CMsgTEShatterSurface>(Arena*); -template<> ::CMsgTESmoke* Arena::CreateMaybeMessage<::CMsgTESmoke>(Arena*); -template<> ::CMsgTESparks* Arena::CreateMaybeMessage<::CMsgTESparks>(Arena*); -template<> ::CMsgTEWorldDecal* Arena::CreateMaybeMessage<::CMsgTEWorldDecal>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum ETEProtobufIds : int { - TE_EffectDispatchId = 400, - TE_ArmorRicochetId = 401, - TE_BeamEntPointId = 402, - TE_BeamEntsId = 403, - TE_BeamPointsId = 404, - TE_BeamRingId = 405, - TE_BubblesId = 408, - TE_BubbleTrailId = 409, - TE_DecalId = 410, - TE_WorldDecalId = 411, - TE_EnergySplashId = 412, - TE_FizzId = 413, - TE_ShatterSurfaceId = 414, - TE_GlowSpriteId = 415, - TE_ImpactId = 416, - TE_MuzzleFlashId = 417, - TE_BloodStreamId = 418, - TE_ExplosionId = 419, - TE_DustId = 420, - TE_LargeFunnelId = 421, - TE_SparksId = 422, - TE_PhysicsPropId = 423, - TE_SmokeId = 426 -}; -bool ETEProtobufIds_IsValid(int value); -constexpr ETEProtobufIds ETEProtobufIds_MIN = TE_EffectDispatchId; -constexpr ETEProtobufIds ETEProtobufIds_MAX = TE_SmokeId; -constexpr int ETEProtobufIds_ARRAYSIZE = ETEProtobufIds_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ETEProtobufIds_descriptor(); -template -inline const std::string& ETEProtobufIds_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function ETEProtobufIds_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - ETEProtobufIds_descriptor(), enum_t_value); -} -inline bool ETEProtobufIds_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ETEProtobufIds* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - ETEProtobufIds_descriptor(), name, value); -} -// =================================================================== - -class CMsgTEArmorRicochet : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEArmorRicochet) */ { - public: - inline CMsgTEArmorRicochet() : CMsgTEArmorRicochet(nullptr) {} - ~CMsgTEArmorRicochet() override; - explicit PROTOBUF_CONSTEXPR CMsgTEArmorRicochet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEArmorRicochet(const CMsgTEArmorRicochet& from); - CMsgTEArmorRicochet(CMsgTEArmorRicochet&& from) noexcept - : CMsgTEArmorRicochet() { - *this = ::std::move(from); - } - - inline CMsgTEArmorRicochet& operator=(const CMsgTEArmorRicochet& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEArmorRicochet& operator=(CMsgTEArmorRicochet&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEArmorRicochet& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEArmorRicochet* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEArmorRicochet_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CMsgTEArmorRicochet& a, CMsgTEArmorRicochet& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEArmorRicochet* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEArmorRicochet* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEArmorRicochet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEArmorRicochet& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEArmorRicochet& from) { - CMsgTEArmorRicochet::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEArmorRicochet* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEArmorRicochet"; - } - protected: - explicit CMsgTEArmorRicochet(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPosFieldNumber = 1, - kDirFieldNumber = 2, - }; - // optional .CMsgVector pos = 1; - bool has_pos() const; - private: - bool _internal_has_pos() const; - public: - void clear_pos(); - const ::CMsgVector& pos() const; - PROTOBUF_NODISCARD ::CMsgVector* release_pos(); - ::CMsgVector* mutable_pos(); - void set_allocated_pos(::CMsgVector* pos); - private: - const ::CMsgVector& _internal_pos() const; - ::CMsgVector* _internal_mutable_pos(); - public: - void unsafe_arena_set_allocated_pos( - ::CMsgVector* pos); - ::CMsgVector* unsafe_arena_release_pos(); - - // optional .CMsgVector dir = 2; - bool has_dir() const; - private: - bool _internal_has_dir() const; - public: - void clear_dir(); - const ::CMsgVector& dir() const; - PROTOBUF_NODISCARD ::CMsgVector* release_dir(); - ::CMsgVector* mutable_dir(); - void set_allocated_dir(::CMsgVector* dir); - private: - const ::CMsgVector& _internal_dir() const; - ::CMsgVector* _internal_mutable_dir(); - public: - void unsafe_arena_set_allocated_dir( - ::CMsgVector* dir); - ::CMsgVector* unsafe_arena_release_dir(); - - // @@protoc_insertion_point(class_scope:CMsgTEArmorRicochet) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* pos_; - ::CMsgVector* dir_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEBaseBeam : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEBaseBeam) */ { - public: - inline CMsgTEBaseBeam() : CMsgTEBaseBeam(nullptr) {} - ~CMsgTEBaseBeam() override; - explicit PROTOBUF_CONSTEXPR CMsgTEBaseBeam(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEBaseBeam(const CMsgTEBaseBeam& from); - CMsgTEBaseBeam(CMsgTEBaseBeam&& from) noexcept - : CMsgTEBaseBeam() { - *this = ::std::move(from); - } - - inline CMsgTEBaseBeam& operator=(const CMsgTEBaseBeam& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEBaseBeam& operator=(CMsgTEBaseBeam&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEBaseBeam& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEBaseBeam* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEBaseBeam_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CMsgTEBaseBeam& a, CMsgTEBaseBeam& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEBaseBeam* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEBaseBeam* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEBaseBeam* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEBaseBeam& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEBaseBeam& from) { - CMsgTEBaseBeam::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEBaseBeam* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEBaseBeam"; - } - protected: - explicit CMsgTEBaseBeam(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kModelindexFieldNumber = 1, - kHaloindexFieldNumber = 2, - kStartframeFieldNumber = 3, - kFramerateFieldNumber = 4, - kLifeFieldNumber = 5, - kWidthFieldNumber = 6, - kEndwidthFieldNumber = 7, - kFadelengthFieldNumber = 8, - kAmplitudeFieldNumber = 9, - kColorFieldNumber = 10, - kSpeedFieldNumber = 11, - kFlagsFieldNumber = 12, - }; - // optional fixed64 modelindex = 1; - bool has_modelindex() const; - private: - bool _internal_has_modelindex() const; - public: - void clear_modelindex(); - uint64_t modelindex() const; - void set_modelindex(uint64_t value); - private: - uint64_t _internal_modelindex() const; - void _internal_set_modelindex(uint64_t value); - public: - - // optional fixed64 haloindex = 2; - bool has_haloindex() const; - private: - bool _internal_has_haloindex() const; - public: - void clear_haloindex(); - uint64_t haloindex() const; - void set_haloindex(uint64_t value); - private: - uint64_t _internal_haloindex() const; - void _internal_set_haloindex(uint64_t value); - public: - - // optional uint32 startframe = 3; - bool has_startframe() const; - private: - bool _internal_has_startframe() const; - public: - void clear_startframe(); - uint32_t startframe() const; - void set_startframe(uint32_t value); - private: - uint32_t _internal_startframe() const; - void _internal_set_startframe(uint32_t value); - public: - - // optional uint32 framerate = 4; - bool has_framerate() const; - private: - bool _internal_has_framerate() const; - public: - void clear_framerate(); - uint32_t framerate() const; - void set_framerate(uint32_t value); - private: - uint32_t _internal_framerate() const; - void _internal_set_framerate(uint32_t value); - public: - - // optional float life = 5; - bool has_life() const; - private: - bool _internal_has_life() const; - public: - void clear_life(); - float life() const; - void set_life(float value); - private: - float _internal_life() const; - void _internal_set_life(float value); - public: - - // optional float width = 6; - bool has_width() const; - private: - bool _internal_has_width() const; - public: - void clear_width(); - float width() const; - void set_width(float value); - private: - float _internal_width() const; - void _internal_set_width(float value); - public: - - // optional float endwidth = 7; - bool has_endwidth() const; - private: - bool _internal_has_endwidth() const; - public: - void clear_endwidth(); - float endwidth() const; - void set_endwidth(float value); - private: - float _internal_endwidth() const; - void _internal_set_endwidth(float value); - public: - - // optional uint32 fadelength = 8; - bool has_fadelength() const; - private: - bool _internal_has_fadelength() const; - public: - void clear_fadelength(); - uint32_t fadelength() const; - void set_fadelength(uint32_t value); - private: - uint32_t _internal_fadelength() const; - void _internal_set_fadelength(uint32_t value); - public: - - // optional float amplitude = 9; - bool has_amplitude() const; - private: - bool _internal_has_amplitude() const; - public: - void clear_amplitude(); - float amplitude() const; - void set_amplitude(float value); - private: - float _internal_amplitude() const; - void _internal_set_amplitude(float value); - public: - - // optional fixed32 color = 10; - bool has_color() const; - private: - bool _internal_has_color() const; - public: - void clear_color(); - uint32_t color() const; - void set_color(uint32_t value); - private: - uint32_t _internal_color() const; - void _internal_set_color(uint32_t value); - public: - - // optional uint32 speed = 11; - bool has_speed() const; - private: - bool _internal_has_speed() const; - public: - void clear_speed(); - uint32_t speed() const; - void set_speed(uint32_t value); - private: - uint32_t _internal_speed() const; - void _internal_set_speed(uint32_t value); - public: - - // optional uint32 flags = 12; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEBaseBeam) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t modelindex_; - uint64_t haloindex_; - uint32_t startframe_; - uint32_t framerate_; - float life_; - float width_; - float endwidth_; - uint32_t fadelength_; - float amplitude_; - uint32_t color_; - uint32_t speed_; - uint32_t flags_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEBeamEntPoint : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEBeamEntPoint) */ { - public: - inline CMsgTEBeamEntPoint() : CMsgTEBeamEntPoint(nullptr) {} - ~CMsgTEBeamEntPoint() override; - explicit PROTOBUF_CONSTEXPR CMsgTEBeamEntPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEBeamEntPoint(const CMsgTEBeamEntPoint& from); - CMsgTEBeamEntPoint(CMsgTEBeamEntPoint&& from) noexcept - : CMsgTEBeamEntPoint() { - *this = ::std::move(from); - } - - inline CMsgTEBeamEntPoint& operator=(const CMsgTEBeamEntPoint& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEBeamEntPoint& operator=(CMsgTEBeamEntPoint&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEBeamEntPoint& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEBeamEntPoint* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEBeamEntPoint_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CMsgTEBeamEntPoint& a, CMsgTEBeamEntPoint& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEBeamEntPoint* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEBeamEntPoint* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEBeamEntPoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEBeamEntPoint& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEBeamEntPoint& from) { - CMsgTEBeamEntPoint::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEBeamEntPoint* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEBeamEntPoint"; - } - protected: - explicit CMsgTEBeamEntPoint(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBaseFieldNumber = 1, - kStartFieldNumber = 4, - kEndFieldNumber = 5, - kStartentityFieldNumber = 2, - kEndentityFieldNumber = 3, - }; - // optional .CMsgTEBaseBeam base = 1; - bool has_base() const; - private: - bool _internal_has_base() const; - public: - void clear_base(); - const ::CMsgTEBaseBeam& base() const; - PROTOBUF_NODISCARD ::CMsgTEBaseBeam* release_base(); - ::CMsgTEBaseBeam* mutable_base(); - void set_allocated_base(::CMsgTEBaseBeam* base); - private: - const ::CMsgTEBaseBeam& _internal_base() const; - ::CMsgTEBaseBeam* _internal_mutable_base(); - public: - void unsafe_arena_set_allocated_base( - ::CMsgTEBaseBeam* base); - ::CMsgTEBaseBeam* unsafe_arena_release_base(); - - // optional .CMsgVector start = 4; - bool has_start() const; - private: - bool _internal_has_start() const; - public: - void clear_start(); - const ::CMsgVector& start() const; - PROTOBUF_NODISCARD ::CMsgVector* release_start(); - ::CMsgVector* mutable_start(); - void set_allocated_start(::CMsgVector* start); - private: - const ::CMsgVector& _internal_start() const; - ::CMsgVector* _internal_mutable_start(); - public: - void unsafe_arena_set_allocated_start( - ::CMsgVector* start); - ::CMsgVector* unsafe_arena_release_start(); - - // optional .CMsgVector end = 5; - bool has_end() const; - private: - bool _internal_has_end() const; - public: - void clear_end(); - const ::CMsgVector& end() const; - PROTOBUF_NODISCARD ::CMsgVector* release_end(); - ::CMsgVector* mutable_end(); - void set_allocated_end(::CMsgVector* end); - private: - const ::CMsgVector& _internal_end() const; - ::CMsgVector* _internal_mutable_end(); - public: - void unsafe_arena_set_allocated_end( - ::CMsgVector* end); - ::CMsgVector* unsafe_arena_release_end(); - - // optional uint32 startentity = 2; - bool has_startentity() const; - private: - bool _internal_has_startentity() const; - public: - void clear_startentity(); - uint32_t startentity() const; - void set_startentity(uint32_t value); - private: - uint32_t _internal_startentity() const; - void _internal_set_startentity(uint32_t value); - public: - - // optional uint32 endentity = 3; - bool has_endentity() const; - private: - bool _internal_has_endentity() const; - public: - void clear_endentity(); - uint32_t endentity() const; - void set_endentity(uint32_t value); - private: - uint32_t _internal_endentity() const; - void _internal_set_endentity(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEBeamEntPoint) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgTEBaseBeam* base_; - ::CMsgVector* start_; - ::CMsgVector* end_; - uint32_t startentity_; - uint32_t endentity_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEBeamEnts : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEBeamEnts) */ { - public: - inline CMsgTEBeamEnts() : CMsgTEBeamEnts(nullptr) {} - ~CMsgTEBeamEnts() override; - explicit PROTOBUF_CONSTEXPR CMsgTEBeamEnts(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEBeamEnts(const CMsgTEBeamEnts& from); - CMsgTEBeamEnts(CMsgTEBeamEnts&& from) noexcept - : CMsgTEBeamEnts() { - *this = ::std::move(from); - } - - inline CMsgTEBeamEnts& operator=(const CMsgTEBeamEnts& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEBeamEnts& operator=(CMsgTEBeamEnts&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEBeamEnts& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEBeamEnts* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEBeamEnts_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CMsgTEBeamEnts& a, CMsgTEBeamEnts& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEBeamEnts* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEBeamEnts* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEBeamEnts* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEBeamEnts& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEBeamEnts& from) { - CMsgTEBeamEnts::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEBeamEnts* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEBeamEnts"; - } - protected: - explicit CMsgTEBeamEnts(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBaseFieldNumber = 1, - kStartentityFieldNumber = 2, - kEndentityFieldNumber = 3, - }; - // optional .CMsgTEBaseBeam base = 1; - bool has_base() const; - private: - bool _internal_has_base() const; - public: - void clear_base(); - const ::CMsgTEBaseBeam& base() const; - PROTOBUF_NODISCARD ::CMsgTEBaseBeam* release_base(); - ::CMsgTEBaseBeam* mutable_base(); - void set_allocated_base(::CMsgTEBaseBeam* base); - private: - const ::CMsgTEBaseBeam& _internal_base() const; - ::CMsgTEBaseBeam* _internal_mutable_base(); - public: - void unsafe_arena_set_allocated_base( - ::CMsgTEBaseBeam* base); - ::CMsgTEBaseBeam* unsafe_arena_release_base(); - - // optional uint32 startentity = 2; - bool has_startentity() const; - private: - bool _internal_has_startentity() const; - public: - void clear_startentity(); - uint32_t startentity() const; - void set_startentity(uint32_t value); - private: - uint32_t _internal_startentity() const; - void _internal_set_startentity(uint32_t value); - public: - - // optional uint32 endentity = 3; - bool has_endentity() const; - private: - bool _internal_has_endentity() const; - public: - void clear_endentity(); - uint32_t endentity() const; - void set_endentity(uint32_t value); - private: - uint32_t _internal_endentity() const; - void _internal_set_endentity(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEBeamEnts) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgTEBaseBeam* base_; - uint32_t startentity_; - uint32_t endentity_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEBeamPoints : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEBeamPoints) */ { - public: - inline CMsgTEBeamPoints() : CMsgTEBeamPoints(nullptr) {} - ~CMsgTEBeamPoints() override; - explicit PROTOBUF_CONSTEXPR CMsgTEBeamPoints(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEBeamPoints(const CMsgTEBeamPoints& from); - CMsgTEBeamPoints(CMsgTEBeamPoints&& from) noexcept - : CMsgTEBeamPoints() { - *this = ::std::move(from); - } - - inline CMsgTEBeamPoints& operator=(const CMsgTEBeamPoints& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEBeamPoints& operator=(CMsgTEBeamPoints&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEBeamPoints& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEBeamPoints* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEBeamPoints_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CMsgTEBeamPoints& a, CMsgTEBeamPoints& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEBeamPoints* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEBeamPoints* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEBeamPoints* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEBeamPoints& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEBeamPoints& from) { - CMsgTEBeamPoints::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEBeamPoints* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEBeamPoints"; - } - protected: - explicit CMsgTEBeamPoints(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBaseFieldNumber = 1, - kStartFieldNumber = 2, - kEndFieldNumber = 3, - }; - // optional .CMsgTEBaseBeam base = 1; - bool has_base() const; - private: - bool _internal_has_base() const; - public: - void clear_base(); - const ::CMsgTEBaseBeam& base() const; - PROTOBUF_NODISCARD ::CMsgTEBaseBeam* release_base(); - ::CMsgTEBaseBeam* mutable_base(); - void set_allocated_base(::CMsgTEBaseBeam* base); - private: - const ::CMsgTEBaseBeam& _internal_base() const; - ::CMsgTEBaseBeam* _internal_mutable_base(); - public: - void unsafe_arena_set_allocated_base( - ::CMsgTEBaseBeam* base); - ::CMsgTEBaseBeam* unsafe_arena_release_base(); - - // optional .CMsgVector start = 2; - bool has_start() const; - private: - bool _internal_has_start() const; - public: - void clear_start(); - const ::CMsgVector& start() const; - PROTOBUF_NODISCARD ::CMsgVector* release_start(); - ::CMsgVector* mutable_start(); - void set_allocated_start(::CMsgVector* start); - private: - const ::CMsgVector& _internal_start() const; - ::CMsgVector* _internal_mutable_start(); - public: - void unsafe_arena_set_allocated_start( - ::CMsgVector* start); - ::CMsgVector* unsafe_arena_release_start(); - - // optional .CMsgVector end = 3; - bool has_end() const; - private: - bool _internal_has_end() const; - public: - void clear_end(); - const ::CMsgVector& end() const; - PROTOBUF_NODISCARD ::CMsgVector* release_end(); - ::CMsgVector* mutable_end(); - void set_allocated_end(::CMsgVector* end); - private: - const ::CMsgVector& _internal_end() const; - ::CMsgVector* _internal_mutable_end(); - public: - void unsafe_arena_set_allocated_end( - ::CMsgVector* end); - ::CMsgVector* unsafe_arena_release_end(); - - // @@protoc_insertion_point(class_scope:CMsgTEBeamPoints) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgTEBaseBeam* base_; - ::CMsgVector* start_; - ::CMsgVector* end_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEBeamRing : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEBeamRing) */ { - public: - inline CMsgTEBeamRing() : CMsgTEBeamRing(nullptr) {} - ~CMsgTEBeamRing() override; - explicit PROTOBUF_CONSTEXPR CMsgTEBeamRing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEBeamRing(const CMsgTEBeamRing& from); - CMsgTEBeamRing(CMsgTEBeamRing&& from) noexcept - : CMsgTEBeamRing() { - *this = ::std::move(from); - } - - inline CMsgTEBeamRing& operator=(const CMsgTEBeamRing& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEBeamRing& operator=(CMsgTEBeamRing&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEBeamRing& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEBeamRing* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEBeamRing_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CMsgTEBeamRing& a, CMsgTEBeamRing& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEBeamRing* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEBeamRing* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEBeamRing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEBeamRing& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEBeamRing& from) { - CMsgTEBeamRing::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEBeamRing* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEBeamRing"; - } - protected: - explicit CMsgTEBeamRing(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBaseFieldNumber = 1, - kStartentityFieldNumber = 2, - kEndentityFieldNumber = 3, - }; - // optional .CMsgTEBaseBeam base = 1; - bool has_base() const; - private: - bool _internal_has_base() const; - public: - void clear_base(); - const ::CMsgTEBaseBeam& base() const; - PROTOBUF_NODISCARD ::CMsgTEBaseBeam* release_base(); - ::CMsgTEBaseBeam* mutable_base(); - void set_allocated_base(::CMsgTEBaseBeam* base); - private: - const ::CMsgTEBaseBeam& _internal_base() const; - ::CMsgTEBaseBeam* _internal_mutable_base(); - public: - void unsafe_arena_set_allocated_base( - ::CMsgTEBaseBeam* base); - ::CMsgTEBaseBeam* unsafe_arena_release_base(); - - // optional uint32 startentity = 2; - bool has_startentity() const; - private: - bool _internal_has_startentity() const; - public: - void clear_startentity(); - uint32_t startentity() const; - void set_startentity(uint32_t value); - private: - uint32_t _internal_startentity() const; - void _internal_set_startentity(uint32_t value); - public: - - // optional uint32 endentity = 3; - bool has_endentity() const; - private: - bool _internal_has_endentity() const; - public: - void clear_endentity(); - uint32_t endentity() const; - void set_endentity(uint32_t value); - private: - uint32_t _internal_endentity() const; - void _internal_set_endentity(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEBeamRing) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgTEBaseBeam* base_; - uint32_t startentity_; - uint32_t endentity_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEBubbles : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEBubbles) */ { - public: - inline CMsgTEBubbles() : CMsgTEBubbles(nullptr) {} - ~CMsgTEBubbles() override; - explicit PROTOBUF_CONSTEXPR CMsgTEBubbles(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEBubbles(const CMsgTEBubbles& from); - CMsgTEBubbles(CMsgTEBubbles&& from) noexcept - : CMsgTEBubbles() { - *this = ::std::move(from); - } - - inline CMsgTEBubbles& operator=(const CMsgTEBubbles& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEBubbles& operator=(CMsgTEBubbles&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEBubbles& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEBubbles* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEBubbles_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CMsgTEBubbles& a, CMsgTEBubbles& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEBubbles* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEBubbles* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEBubbles* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEBubbles& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEBubbles& from) { - CMsgTEBubbles::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEBubbles* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEBubbles"; - } - protected: - explicit CMsgTEBubbles(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMinsFieldNumber = 1, - kMaxsFieldNumber = 2, - kHeightFieldNumber = 3, - kCountFieldNumber = 4, - kSpeedFieldNumber = 5, - }; - // optional .CMsgVector mins = 1; - bool has_mins() const; - private: - bool _internal_has_mins() const; - public: - void clear_mins(); - const ::CMsgVector& mins() const; - PROTOBUF_NODISCARD ::CMsgVector* release_mins(); - ::CMsgVector* mutable_mins(); - void set_allocated_mins(::CMsgVector* mins); - private: - const ::CMsgVector& _internal_mins() const; - ::CMsgVector* _internal_mutable_mins(); - public: - void unsafe_arena_set_allocated_mins( - ::CMsgVector* mins); - ::CMsgVector* unsafe_arena_release_mins(); - - // optional .CMsgVector maxs = 2; - bool has_maxs() const; - private: - bool _internal_has_maxs() const; - public: - void clear_maxs(); - const ::CMsgVector& maxs() const; - PROTOBUF_NODISCARD ::CMsgVector* release_maxs(); - ::CMsgVector* mutable_maxs(); - void set_allocated_maxs(::CMsgVector* maxs); - private: - const ::CMsgVector& _internal_maxs() const; - ::CMsgVector* _internal_mutable_maxs(); - public: - void unsafe_arena_set_allocated_maxs( - ::CMsgVector* maxs); - ::CMsgVector* unsafe_arena_release_maxs(); - - // optional float height = 3; - bool has_height() const; - private: - bool _internal_has_height() const; - public: - void clear_height(); - float height() const; - void set_height(float value); - private: - float _internal_height() const; - void _internal_set_height(float value); - public: - - // optional uint32 count = 4; - bool has_count() const; - private: - bool _internal_has_count() const; - public: - void clear_count(); - uint32_t count() const; - void set_count(uint32_t value); - private: - uint32_t _internal_count() const; - void _internal_set_count(uint32_t value); - public: - - // optional float speed = 5; - bool has_speed() const; - private: - bool _internal_has_speed() const; - public: - void clear_speed(); - float speed() const; - void set_speed(float value); - private: - float _internal_speed() const; - void _internal_set_speed(float value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEBubbles) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* mins_; - ::CMsgVector* maxs_; - float height_; - uint32_t count_; - float speed_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEBubbleTrail : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEBubbleTrail) */ { - public: - inline CMsgTEBubbleTrail() : CMsgTEBubbleTrail(nullptr) {} - ~CMsgTEBubbleTrail() override; - explicit PROTOBUF_CONSTEXPR CMsgTEBubbleTrail(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEBubbleTrail(const CMsgTEBubbleTrail& from); - CMsgTEBubbleTrail(CMsgTEBubbleTrail&& from) noexcept - : CMsgTEBubbleTrail() { - *this = ::std::move(from); - } - - inline CMsgTEBubbleTrail& operator=(const CMsgTEBubbleTrail& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEBubbleTrail& operator=(CMsgTEBubbleTrail&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEBubbleTrail& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEBubbleTrail* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEBubbleTrail_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(CMsgTEBubbleTrail& a, CMsgTEBubbleTrail& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEBubbleTrail* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEBubbleTrail* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEBubbleTrail* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEBubbleTrail& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEBubbleTrail& from) { - CMsgTEBubbleTrail::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEBubbleTrail* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEBubbleTrail"; - } - protected: - explicit CMsgTEBubbleTrail(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMinsFieldNumber = 1, - kMaxsFieldNumber = 2, - kWaterzFieldNumber = 3, - kCountFieldNumber = 4, - kSpeedFieldNumber = 5, - }; - // optional .CMsgVector mins = 1; - bool has_mins() const; - private: - bool _internal_has_mins() const; - public: - void clear_mins(); - const ::CMsgVector& mins() const; - PROTOBUF_NODISCARD ::CMsgVector* release_mins(); - ::CMsgVector* mutable_mins(); - void set_allocated_mins(::CMsgVector* mins); - private: - const ::CMsgVector& _internal_mins() const; - ::CMsgVector* _internal_mutable_mins(); - public: - void unsafe_arena_set_allocated_mins( - ::CMsgVector* mins); - ::CMsgVector* unsafe_arena_release_mins(); - - // optional .CMsgVector maxs = 2; - bool has_maxs() const; - private: - bool _internal_has_maxs() const; - public: - void clear_maxs(); - const ::CMsgVector& maxs() const; - PROTOBUF_NODISCARD ::CMsgVector* release_maxs(); - ::CMsgVector* mutable_maxs(); - void set_allocated_maxs(::CMsgVector* maxs); - private: - const ::CMsgVector& _internal_maxs() const; - ::CMsgVector* _internal_mutable_maxs(); - public: - void unsafe_arena_set_allocated_maxs( - ::CMsgVector* maxs); - ::CMsgVector* unsafe_arena_release_maxs(); - - // optional float waterz = 3; - bool has_waterz() const; - private: - bool _internal_has_waterz() const; - public: - void clear_waterz(); - float waterz() const; - void set_waterz(float value); - private: - float _internal_waterz() const; - void _internal_set_waterz(float value); - public: - - // optional uint32 count = 4; - bool has_count() const; - private: - bool _internal_has_count() const; - public: - void clear_count(); - uint32_t count() const; - void set_count(uint32_t value); - private: - uint32_t _internal_count() const; - void _internal_set_count(uint32_t value); - public: - - // optional float speed = 5; - bool has_speed() const; - private: - bool _internal_has_speed() const; - public: - void clear_speed(); - float speed() const; - void set_speed(float value); - private: - float _internal_speed() const; - void _internal_set_speed(float value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEBubbleTrail) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* mins_; - ::CMsgVector* maxs_; - float waterz_; - uint32_t count_; - float speed_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEDecal : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEDecal) */ { - public: - inline CMsgTEDecal() : CMsgTEDecal(nullptr) {} - ~CMsgTEDecal() override; - explicit PROTOBUF_CONSTEXPR CMsgTEDecal(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEDecal(const CMsgTEDecal& from); - CMsgTEDecal(CMsgTEDecal&& from) noexcept - : CMsgTEDecal() { - *this = ::std::move(from); - } - - inline CMsgTEDecal& operator=(const CMsgTEDecal& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEDecal& operator=(CMsgTEDecal&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEDecal& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEDecal* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEDecal_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(CMsgTEDecal& a, CMsgTEDecal& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEDecal* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEDecal* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEDecal* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEDecal& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEDecal& from) { - CMsgTEDecal::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEDecal* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEDecal"; - } - protected: - explicit CMsgTEDecal(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginFieldNumber = 1, - kStartFieldNumber = 2, - kHitboxFieldNumber = 4, - kIndexFieldNumber = 5, - kEntityFieldNumber = 3, - }; - // optional .CMsgVector origin = 1; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional .CMsgVector start = 2; - bool has_start() const; - private: - bool _internal_has_start() const; - public: - void clear_start(); - const ::CMsgVector& start() const; - PROTOBUF_NODISCARD ::CMsgVector* release_start(); - ::CMsgVector* mutable_start(); - void set_allocated_start(::CMsgVector* start); - private: - const ::CMsgVector& _internal_start() const; - ::CMsgVector* _internal_mutable_start(); - public: - void unsafe_arena_set_allocated_start( - ::CMsgVector* start); - ::CMsgVector* unsafe_arena_release_start(); - - // optional uint32 hitbox = 4; - bool has_hitbox() const; - private: - bool _internal_has_hitbox() const; - public: - void clear_hitbox(); - uint32_t hitbox() const; - void set_hitbox(uint32_t value); - private: - uint32_t _internal_hitbox() const; - void _internal_set_hitbox(uint32_t value); - public: - - // optional uint32 index = 5; - bool has_index() const; - private: - bool _internal_has_index() const; - public: - void clear_index(); - uint32_t index() const; - void set_index(uint32_t value); - private: - uint32_t _internal_index() const; - void _internal_set_index(uint32_t value); - public: - - // optional int32 entity = 3 [default = -1]; - bool has_entity() const; - private: - bool _internal_has_entity() const; - public: - void clear_entity(); - int32_t entity() const; - void set_entity(int32_t value); - private: - int32_t _internal_entity() const; - void _internal_set_entity(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEDecal) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* origin_; - ::CMsgVector* start_; - uint32_t hitbox_; - uint32_t index_; - int32_t entity_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgEffectData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgEffectData) */ { - public: - inline CMsgEffectData() : CMsgEffectData(nullptr) {} - ~CMsgEffectData() override; - explicit PROTOBUF_CONSTEXPR CMsgEffectData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgEffectData(const CMsgEffectData& from); - CMsgEffectData(CMsgEffectData&& from) noexcept - : CMsgEffectData() { - *this = ::std::move(from); - } - - inline CMsgEffectData& operator=(const CMsgEffectData& from) { - CopyFrom(from); - return *this; - } - inline CMsgEffectData& operator=(CMsgEffectData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgEffectData& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgEffectData* internal_default_instance() { - return reinterpret_cast( - &_CMsgEffectData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(CMsgEffectData& a, CMsgEffectData& b) { - a.Swap(&b); - } - inline void Swap(CMsgEffectData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgEffectData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgEffectData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgEffectData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgEffectData& from) { - CMsgEffectData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgEffectData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgEffectData"; - } - protected: - explicit CMsgEffectData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginFieldNumber = 1, - kStartFieldNumber = 2, - kNormalFieldNumber = 3, - kAnglesFieldNumber = 4, - kScaleFieldNumber = 7, - kMagnitudeFieldNumber = 8, - kRadiusFieldNumber = 9, - kSurfacepropFieldNumber = 10, - kEffectindexFieldNumber = 11, - kDamagetypeFieldNumber = 12, - kMaterialFieldNumber = 13, - kHitboxFieldNumber = 14, - kColorFieldNumber = 15, - kFlagsFieldNumber = 16, - kAttachmentindexFieldNumber = 17, - kEffectnameFieldNumber = 18, - kAttachmentnameFieldNumber = 19, - kEntityFieldNumber = 5, - kOtherentityFieldNumber = 6, - }; - // optional .CMsgVector origin = 1; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional .CMsgVector start = 2; - bool has_start() const; - private: - bool _internal_has_start() const; - public: - void clear_start(); - const ::CMsgVector& start() const; - PROTOBUF_NODISCARD ::CMsgVector* release_start(); - ::CMsgVector* mutable_start(); - void set_allocated_start(::CMsgVector* start); - private: - const ::CMsgVector& _internal_start() const; - ::CMsgVector* _internal_mutable_start(); - public: - void unsafe_arena_set_allocated_start( - ::CMsgVector* start); - ::CMsgVector* unsafe_arena_release_start(); - - // optional .CMsgVector normal = 3; - bool has_normal() const; - private: - bool _internal_has_normal() const; - public: - void clear_normal(); - const ::CMsgVector& normal() const; - PROTOBUF_NODISCARD ::CMsgVector* release_normal(); - ::CMsgVector* mutable_normal(); - void set_allocated_normal(::CMsgVector* normal); - private: - const ::CMsgVector& _internal_normal() const; - ::CMsgVector* _internal_mutable_normal(); - public: - void unsafe_arena_set_allocated_normal( - ::CMsgVector* normal); - ::CMsgVector* unsafe_arena_release_normal(); - - // optional .CMsgQAngle angles = 4; - bool has_angles() const; - private: - bool _internal_has_angles() const; - public: - void clear_angles(); - const ::CMsgQAngle& angles() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_angles(); - ::CMsgQAngle* mutable_angles(); - void set_allocated_angles(::CMsgQAngle* angles); - private: - const ::CMsgQAngle& _internal_angles() const; - ::CMsgQAngle* _internal_mutable_angles(); - public: - void unsafe_arena_set_allocated_angles( - ::CMsgQAngle* angles); - ::CMsgQAngle* unsafe_arena_release_angles(); - - // optional float scale = 7; - bool has_scale() const; - private: - bool _internal_has_scale() const; - public: - void clear_scale(); - float scale() const; - void set_scale(float value); - private: - float _internal_scale() const; - void _internal_set_scale(float value); - public: - - // optional float magnitude = 8; - bool has_magnitude() const; - private: - bool _internal_has_magnitude() const; - public: - void clear_magnitude(); - float magnitude() const; - void set_magnitude(float value); - private: - float _internal_magnitude() const; - void _internal_set_magnitude(float value); - public: - - // optional float radius = 9; - bool has_radius() const; - private: - bool _internal_has_radius() const; - public: - void clear_radius(); - float radius() const; - void set_radius(float value); - private: - float _internal_radius() const; - void _internal_set_radius(float value); - public: - - // optional fixed32 surfaceprop = 10; - bool has_surfaceprop() const; - private: - bool _internal_has_surfaceprop() const; - public: - void clear_surfaceprop(); - uint32_t surfaceprop() const; - void set_surfaceprop(uint32_t value); - private: - uint32_t _internal_surfaceprop() const; - void _internal_set_surfaceprop(uint32_t value); - public: - - // optional fixed64 effectindex = 11; - bool has_effectindex() const; - private: - bool _internal_has_effectindex() const; - public: - void clear_effectindex(); - uint64_t effectindex() const; - void set_effectindex(uint64_t value); - private: - uint64_t _internal_effectindex() const; - void _internal_set_effectindex(uint64_t value); - public: - - // optional uint32 damagetype = 12; - bool has_damagetype() const; - private: - bool _internal_has_damagetype() const; - public: - void clear_damagetype(); - uint32_t damagetype() const; - void set_damagetype(uint32_t value); - private: - uint32_t _internal_damagetype() const; - void _internal_set_damagetype(uint32_t value); - public: - - // optional uint32 material = 13; - bool has_material() const; - private: - bool _internal_has_material() const; - public: - void clear_material(); - uint32_t material() const; - void set_material(uint32_t value); - private: - uint32_t _internal_material() const; - void _internal_set_material(uint32_t value); - public: - - // optional uint32 hitbox = 14; - bool has_hitbox() const; - private: - bool _internal_has_hitbox() const; - public: - void clear_hitbox(); - uint32_t hitbox() const; - void set_hitbox(uint32_t value); - private: - uint32_t _internal_hitbox() const; - void _internal_set_hitbox(uint32_t value); - public: - - // optional uint32 color = 15; - bool has_color() const; - private: - bool _internal_has_color() const; - public: - void clear_color(); - uint32_t color() const; - void set_color(uint32_t value); - private: - uint32_t _internal_color() const; - void _internal_set_color(uint32_t value); - public: - - // optional uint32 flags = 16; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional int32 attachmentindex = 17; - bool has_attachmentindex() const; - private: - bool _internal_has_attachmentindex() const; - public: - void clear_attachmentindex(); - int32_t attachmentindex() const; - void set_attachmentindex(int32_t value); - private: - int32_t _internal_attachmentindex() const; - void _internal_set_attachmentindex(int32_t value); - public: - - // optional uint32 effectname = 18; - bool has_effectname() const; - private: - bool _internal_has_effectname() const; - public: - void clear_effectname(); - uint32_t effectname() const; - void set_effectname(uint32_t value); - private: - uint32_t _internal_effectname() const; - void _internal_set_effectname(uint32_t value); - public: - - // optional uint32 attachmentname = 19; - bool has_attachmentname() const; - private: - bool _internal_has_attachmentname() const; - public: - void clear_attachmentname(); - uint32_t attachmentname() const; - void set_attachmentname(uint32_t value); - private: - uint32_t _internal_attachmentname() const; - void _internal_set_attachmentname(uint32_t value); - public: - - // optional fixed32 entity = 5 [default = 16777215]; - bool has_entity() const; - private: - bool _internal_has_entity() const; - public: - void clear_entity(); - uint32_t entity() const; - void set_entity(uint32_t value); - private: - uint32_t _internal_entity() const; - void _internal_set_entity(uint32_t value); - public: - - // optional fixed32 otherentity = 6 [default = 16777215]; - bool has_otherentity() const; - private: - bool _internal_has_otherentity() const; - public: - void clear_otherentity(); - uint32_t otherentity() const; - void set_otherentity(uint32_t value); - private: - uint32_t _internal_otherentity() const; - void _internal_set_otherentity(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgEffectData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* origin_; - ::CMsgVector* start_; - ::CMsgVector* normal_; - ::CMsgQAngle* angles_; - float scale_; - float magnitude_; - float radius_; - uint32_t surfaceprop_; - uint64_t effectindex_; - uint32_t damagetype_; - uint32_t material_; - uint32_t hitbox_; - uint32_t color_; - uint32_t flags_; - int32_t attachmentindex_; - uint32_t effectname_; - uint32_t attachmentname_; - uint32_t entity_; - uint32_t otherentity_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEEffectDispatch : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEEffectDispatch) */ { - public: - inline CMsgTEEffectDispatch() : CMsgTEEffectDispatch(nullptr) {} - ~CMsgTEEffectDispatch() override; - explicit PROTOBUF_CONSTEXPR CMsgTEEffectDispatch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEEffectDispatch(const CMsgTEEffectDispatch& from); - CMsgTEEffectDispatch(CMsgTEEffectDispatch&& from) noexcept - : CMsgTEEffectDispatch() { - *this = ::std::move(from); - } - - inline CMsgTEEffectDispatch& operator=(const CMsgTEEffectDispatch& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEEffectDispatch& operator=(CMsgTEEffectDispatch&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEEffectDispatch& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEEffectDispatch* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEEffectDispatch_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(CMsgTEEffectDispatch& a, CMsgTEEffectDispatch& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEEffectDispatch* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEEffectDispatch* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEEffectDispatch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEEffectDispatch& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEEffectDispatch& from) { - CMsgTEEffectDispatch::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEEffectDispatch* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEEffectDispatch"; - } - protected: - explicit CMsgTEEffectDispatch(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEffectdataFieldNumber = 1, - }; - // optional .CMsgEffectData effectdata = 1; - bool has_effectdata() const; - private: - bool _internal_has_effectdata() const; - public: - void clear_effectdata(); - const ::CMsgEffectData& effectdata() const; - PROTOBUF_NODISCARD ::CMsgEffectData* release_effectdata(); - ::CMsgEffectData* mutable_effectdata(); - void set_allocated_effectdata(::CMsgEffectData* effectdata); - private: - const ::CMsgEffectData& _internal_effectdata() const; - ::CMsgEffectData* _internal_mutable_effectdata(); - public: - void unsafe_arena_set_allocated_effectdata( - ::CMsgEffectData* effectdata); - ::CMsgEffectData* unsafe_arena_release_effectdata(); - - // @@protoc_insertion_point(class_scope:CMsgTEEffectDispatch) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgEffectData* effectdata_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEEnergySplash : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEEnergySplash) */ { - public: - inline CMsgTEEnergySplash() : CMsgTEEnergySplash(nullptr) {} - ~CMsgTEEnergySplash() override; - explicit PROTOBUF_CONSTEXPR CMsgTEEnergySplash(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEEnergySplash(const CMsgTEEnergySplash& from); - CMsgTEEnergySplash(CMsgTEEnergySplash&& from) noexcept - : CMsgTEEnergySplash() { - *this = ::std::move(from); - } - - inline CMsgTEEnergySplash& operator=(const CMsgTEEnergySplash& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEEnergySplash& operator=(CMsgTEEnergySplash&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEEnergySplash& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEEnergySplash* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEEnergySplash_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(CMsgTEEnergySplash& a, CMsgTEEnergySplash& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEEnergySplash* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEEnergySplash* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEEnergySplash* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEEnergySplash& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEEnergySplash& from) { - CMsgTEEnergySplash::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEEnergySplash* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEEnergySplash"; - } - protected: - explicit CMsgTEEnergySplash(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPosFieldNumber = 1, - kDirFieldNumber = 2, - kExplosiveFieldNumber = 3, - }; - // optional .CMsgVector pos = 1; - bool has_pos() const; - private: - bool _internal_has_pos() const; - public: - void clear_pos(); - const ::CMsgVector& pos() const; - PROTOBUF_NODISCARD ::CMsgVector* release_pos(); - ::CMsgVector* mutable_pos(); - void set_allocated_pos(::CMsgVector* pos); - private: - const ::CMsgVector& _internal_pos() const; - ::CMsgVector* _internal_mutable_pos(); - public: - void unsafe_arena_set_allocated_pos( - ::CMsgVector* pos); - ::CMsgVector* unsafe_arena_release_pos(); - - // optional .CMsgVector dir = 2; - bool has_dir() const; - private: - bool _internal_has_dir() const; - public: - void clear_dir(); - const ::CMsgVector& dir() const; - PROTOBUF_NODISCARD ::CMsgVector* release_dir(); - ::CMsgVector* mutable_dir(); - void set_allocated_dir(::CMsgVector* dir); - private: - const ::CMsgVector& _internal_dir() const; - ::CMsgVector* _internal_mutable_dir(); - public: - void unsafe_arena_set_allocated_dir( - ::CMsgVector* dir); - ::CMsgVector* unsafe_arena_release_dir(); - - // optional bool explosive = 3; - bool has_explosive() const; - private: - bool _internal_has_explosive() const; - public: - void clear_explosive(); - bool explosive() const; - void set_explosive(bool value); - private: - bool _internal_explosive() const; - void _internal_set_explosive(bool value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEEnergySplash) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* pos_; - ::CMsgVector* dir_; - bool explosive_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEFizz : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEFizz) */ { - public: - inline CMsgTEFizz() : CMsgTEFizz(nullptr) {} - ~CMsgTEFizz() override; - explicit PROTOBUF_CONSTEXPR CMsgTEFizz(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEFizz(const CMsgTEFizz& from); - CMsgTEFizz(CMsgTEFizz&& from) noexcept - : CMsgTEFizz() { - *this = ::std::move(from); - } - - inline CMsgTEFizz& operator=(const CMsgTEFizz& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEFizz& operator=(CMsgTEFizz&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEFizz& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEFizz* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEFizz_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(CMsgTEFizz& a, CMsgTEFizz& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEFizz* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEFizz* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEFizz* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEFizz& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEFizz& from) { - CMsgTEFizz::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEFizz* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEFizz"; - } - protected: - explicit CMsgTEFizz(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDensityFieldNumber = 2, - kCurrentFieldNumber = 3, - kEntityFieldNumber = 1, - }; - // optional uint32 density = 2; - bool has_density() const; - private: - bool _internal_has_density() const; - public: - void clear_density(); - uint32_t density() const; - void set_density(uint32_t value); - private: - uint32_t _internal_density() const; - void _internal_set_density(uint32_t value); - public: - - // optional int32 current = 3; - bool has_current() const; - private: - bool _internal_has_current() const; - public: - void clear_current(); - int32_t current() const; - void set_current(int32_t value); - private: - int32_t _internal_current() const; - void _internal_set_current(int32_t value); - public: - - // optional int32 entity = 1 [default = -1]; - bool has_entity() const; - private: - bool _internal_has_entity() const; - public: - void clear_entity(); - int32_t entity() const; - void set_entity(int32_t value); - private: - int32_t _internal_entity() const; - void _internal_set_entity(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEFizz) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t density_; - int32_t current_; - int32_t entity_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEShatterSurface : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEShatterSurface) */ { - public: - inline CMsgTEShatterSurface() : CMsgTEShatterSurface(nullptr) {} - ~CMsgTEShatterSurface() override; - explicit PROTOBUF_CONSTEXPR CMsgTEShatterSurface(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEShatterSurface(const CMsgTEShatterSurface& from); - CMsgTEShatterSurface(CMsgTEShatterSurface&& from) noexcept - : CMsgTEShatterSurface() { - *this = ::std::move(from); - } - - inline CMsgTEShatterSurface& operator=(const CMsgTEShatterSurface& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEShatterSurface& operator=(CMsgTEShatterSurface&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEShatterSurface& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEShatterSurface* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEShatterSurface_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - friend void swap(CMsgTEShatterSurface& a, CMsgTEShatterSurface& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEShatterSurface* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEShatterSurface* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEShatterSurface* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEShatterSurface& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEShatterSurface& from) { - CMsgTEShatterSurface::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEShatterSurface* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEShatterSurface"; - } - protected: - explicit CMsgTEShatterSurface(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginFieldNumber = 1, - kAnglesFieldNumber = 2, - kForceFieldNumber = 3, - kForceposFieldNumber = 4, - kWidthFieldNumber = 5, - kHeightFieldNumber = 6, - kShardsizeFieldNumber = 7, - kSurfacetypeFieldNumber = 8, - kFrontcolorFieldNumber = 9, - kBackcolorFieldNumber = 10, - }; - // optional .CMsgVector origin = 1; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional .CMsgQAngle angles = 2; - bool has_angles() const; - private: - bool _internal_has_angles() const; - public: - void clear_angles(); - const ::CMsgQAngle& angles() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_angles(); - ::CMsgQAngle* mutable_angles(); - void set_allocated_angles(::CMsgQAngle* angles); - private: - const ::CMsgQAngle& _internal_angles() const; - ::CMsgQAngle* _internal_mutable_angles(); - public: - void unsafe_arena_set_allocated_angles( - ::CMsgQAngle* angles); - ::CMsgQAngle* unsafe_arena_release_angles(); - - // optional .CMsgVector force = 3; - bool has_force() const; - private: - bool _internal_has_force() const; - public: - void clear_force(); - const ::CMsgVector& force() const; - PROTOBUF_NODISCARD ::CMsgVector* release_force(); - ::CMsgVector* mutable_force(); - void set_allocated_force(::CMsgVector* force); - private: - const ::CMsgVector& _internal_force() const; - ::CMsgVector* _internal_mutable_force(); - public: - void unsafe_arena_set_allocated_force( - ::CMsgVector* force); - ::CMsgVector* unsafe_arena_release_force(); - - // optional .CMsgVector forcepos = 4; - bool has_forcepos() const; - private: - bool _internal_has_forcepos() const; - public: - void clear_forcepos(); - const ::CMsgVector& forcepos() const; - PROTOBUF_NODISCARD ::CMsgVector* release_forcepos(); - ::CMsgVector* mutable_forcepos(); - void set_allocated_forcepos(::CMsgVector* forcepos); - private: - const ::CMsgVector& _internal_forcepos() const; - ::CMsgVector* _internal_mutable_forcepos(); - public: - void unsafe_arena_set_allocated_forcepos( - ::CMsgVector* forcepos); - ::CMsgVector* unsafe_arena_release_forcepos(); - - // optional float width = 5; - bool has_width() const; - private: - bool _internal_has_width() const; - public: - void clear_width(); - float width() const; - void set_width(float value); - private: - float _internal_width() const; - void _internal_set_width(float value); - public: - - // optional float height = 6; - bool has_height() const; - private: - bool _internal_has_height() const; - public: - void clear_height(); - float height() const; - void set_height(float value); - private: - float _internal_height() const; - void _internal_set_height(float value); - public: - - // optional float shardsize = 7; - bool has_shardsize() const; - private: - bool _internal_has_shardsize() const; - public: - void clear_shardsize(); - float shardsize() const; - void set_shardsize(float value); - private: - float _internal_shardsize() const; - void _internal_set_shardsize(float value); - public: - - // optional uint32 surfacetype = 8; - bool has_surfacetype() const; - private: - bool _internal_has_surfacetype() const; - public: - void clear_surfacetype(); - uint32_t surfacetype() const; - void set_surfacetype(uint32_t value); - private: - uint32_t _internal_surfacetype() const; - void _internal_set_surfacetype(uint32_t value); - public: - - // optional fixed32 frontcolor = 9; - bool has_frontcolor() const; - private: - bool _internal_has_frontcolor() const; - public: - void clear_frontcolor(); - uint32_t frontcolor() const; - void set_frontcolor(uint32_t value); - private: - uint32_t _internal_frontcolor() const; - void _internal_set_frontcolor(uint32_t value); - public: - - // optional fixed32 backcolor = 10; - bool has_backcolor() const; - private: - bool _internal_has_backcolor() const; - public: - void clear_backcolor(); - uint32_t backcolor() const; - void set_backcolor(uint32_t value); - private: - uint32_t _internal_backcolor() const; - void _internal_set_backcolor(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEShatterSurface) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* origin_; - ::CMsgQAngle* angles_; - ::CMsgVector* force_; - ::CMsgVector* forcepos_; - float width_; - float height_; - float shardsize_; - uint32_t surfacetype_; - uint32_t frontcolor_; - uint32_t backcolor_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEGlowSprite : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEGlowSprite) */ { - public: - inline CMsgTEGlowSprite() : CMsgTEGlowSprite(nullptr) {} - ~CMsgTEGlowSprite() override; - explicit PROTOBUF_CONSTEXPR CMsgTEGlowSprite(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEGlowSprite(const CMsgTEGlowSprite& from); - CMsgTEGlowSprite(CMsgTEGlowSprite&& from) noexcept - : CMsgTEGlowSprite() { - *this = ::std::move(from); - } - - inline CMsgTEGlowSprite& operator=(const CMsgTEGlowSprite& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEGlowSprite& operator=(CMsgTEGlowSprite&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEGlowSprite& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEGlowSprite* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEGlowSprite_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - friend void swap(CMsgTEGlowSprite& a, CMsgTEGlowSprite& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEGlowSprite* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEGlowSprite* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEGlowSprite* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEGlowSprite& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEGlowSprite& from) { - CMsgTEGlowSprite::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEGlowSprite* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEGlowSprite"; - } - protected: - explicit CMsgTEGlowSprite(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginFieldNumber = 1, - kScaleFieldNumber = 2, - kLifeFieldNumber = 3, - kBrightnessFieldNumber = 4, - }; - // optional .CMsgVector origin = 1; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional float scale = 2; - bool has_scale() const; - private: - bool _internal_has_scale() const; - public: - void clear_scale(); - float scale() const; - void set_scale(float value); - private: - float _internal_scale() const; - void _internal_set_scale(float value); - public: - - // optional float life = 3; - bool has_life() const; - private: - bool _internal_has_life() const; - public: - void clear_life(); - float life() const; - void set_life(float value); - private: - float _internal_life() const; - void _internal_set_life(float value); - public: - - // optional uint32 brightness = 4; - bool has_brightness() const; - private: - bool _internal_has_brightness() const; - public: - void clear_brightness(); - uint32_t brightness() const; - void set_brightness(uint32_t value); - private: - uint32_t _internal_brightness() const; - void _internal_set_brightness(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEGlowSprite) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* origin_; - float scale_; - float life_; - uint32_t brightness_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEImpact : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEImpact) */ { - public: - inline CMsgTEImpact() : CMsgTEImpact(nullptr) {} - ~CMsgTEImpact() override; - explicit PROTOBUF_CONSTEXPR CMsgTEImpact(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEImpact(const CMsgTEImpact& from); - CMsgTEImpact(CMsgTEImpact&& from) noexcept - : CMsgTEImpact() { - *this = ::std::move(from); - } - - inline CMsgTEImpact& operator=(const CMsgTEImpact& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEImpact& operator=(CMsgTEImpact&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEImpact& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEImpact* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEImpact_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - friend void swap(CMsgTEImpact& a, CMsgTEImpact& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEImpact* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEImpact* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEImpact* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEImpact& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEImpact& from) { - CMsgTEImpact::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEImpact* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEImpact"; - } - protected: - explicit CMsgTEImpact(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginFieldNumber = 1, - kNormalFieldNumber = 2, - kTypeFieldNumber = 3, - }; - // optional .CMsgVector origin = 1; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional .CMsgVector normal = 2; - bool has_normal() const; - private: - bool _internal_has_normal() const; - public: - void clear_normal(); - const ::CMsgVector& normal() const; - PROTOBUF_NODISCARD ::CMsgVector* release_normal(); - ::CMsgVector* mutable_normal(); - void set_allocated_normal(::CMsgVector* normal); - private: - const ::CMsgVector& _internal_normal() const; - ::CMsgVector* _internal_mutable_normal(); - public: - void unsafe_arena_set_allocated_normal( - ::CMsgVector* normal); - ::CMsgVector* unsafe_arena_release_normal(); - - // optional uint32 type = 3; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - uint32_t type() const; - void set_type(uint32_t value); - private: - uint32_t _internal_type() const; - void _internal_set_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEImpact) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* origin_; - ::CMsgVector* normal_; - uint32_t type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEMuzzleFlash : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEMuzzleFlash) */ { - public: - inline CMsgTEMuzzleFlash() : CMsgTEMuzzleFlash(nullptr) {} - ~CMsgTEMuzzleFlash() override; - explicit PROTOBUF_CONSTEXPR CMsgTEMuzzleFlash(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEMuzzleFlash(const CMsgTEMuzzleFlash& from); - CMsgTEMuzzleFlash(CMsgTEMuzzleFlash&& from) noexcept - : CMsgTEMuzzleFlash() { - *this = ::std::move(from); - } - - inline CMsgTEMuzzleFlash& operator=(const CMsgTEMuzzleFlash& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEMuzzleFlash& operator=(CMsgTEMuzzleFlash&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEMuzzleFlash& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEMuzzleFlash* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEMuzzleFlash_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - friend void swap(CMsgTEMuzzleFlash& a, CMsgTEMuzzleFlash& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEMuzzleFlash* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEMuzzleFlash* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEMuzzleFlash* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEMuzzleFlash& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEMuzzleFlash& from) { - CMsgTEMuzzleFlash::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEMuzzleFlash* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEMuzzleFlash"; - } - protected: - explicit CMsgTEMuzzleFlash(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginFieldNumber = 1, - kAnglesFieldNumber = 2, - kScaleFieldNumber = 3, - kTypeFieldNumber = 4, - }; - // optional .CMsgVector origin = 1; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional .CMsgQAngle angles = 2; - bool has_angles() const; - private: - bool _internal_has_angles() const; - public: - void clear_angles(); - const ::CMsgQAngle& angles() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_angles(); - ::CMsgQAngle* mutable_angles(); - void set_allocated_angles(::CMsgQAngle* angles); - private: - const ::CMsgQAngle& _internal_angles() const; - ::CMsgQAngle* _internal_mutable_angles(); - public: - void unsafe_arena_set_allocated_angles( - ::CMsgQAngle* angles); - ::CMsgQAngle* unsafe_arena_release_angles(); - - // optional float scale = 3; - bool has_scale() const; - private: - bool _internal_has_scale() const; - public: - void clear_scale(); - float scale() const; - void set_scale(float value); - private: - float _internal_scale() const; - void _internal_set_scale(float value); - public: - - // optional uint32 type = 4; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - uint32_t type() const; - void set_type(uint32_t value); - private: - uint32_t _internal_type() const; - void _internal_set_type(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEMuzzleFlash) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* origin_; - ::CMsgQAngle* angles_; - float scale_; - uint32_t type_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEBloodStream : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEBloodStream) */ { - public: - inline CMsgTEBloodStream() : CMsgTEBloodStream(nullptr) {} - ~CMsgTEBloodStream() override; - explicit PROTOBUF_CONSTEXPR CMsgTEBloodStream(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEBloodStream(const CMsgTEBloodStream& from); - CMsgTEBloodStream(CMsgTEBloodStream&& from) noexcept - : CMsgTEBloodStream() { - *this = ::std::move(from); - } - - inline CMsgTEBloodStream& operator=(const CMsgTEBloodStream& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEBloodStream& operator=(CMsgTEBloodStream&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEBloodStream& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEBloodStream* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEBloodStream_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - friend void swap(CMsgTEBloodStream& a, CMsgTEBloodStream& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEBloodStream* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEBloodStream* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEBloodStream* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEBloodStream& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEBloodStream& from) { - CMsgTEBloodStream::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEBloodStream* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEBloodStream"; - } - protected: - explicit CMsgTEBloodStream(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginFieldNumber = 1, - kDirectionFieldNumber = 2, - kColorFieldNumber = 3, - kAmountFieldNumber = 4, - }; - // optional .CMsgVector origin = 1; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional .CMsgVector direction = 2; - bool has_direction() const; - private: - bool _internal_has_direction() const; - public: - void clear_direction(); - const ::CMsgVector& direction() const; - PROTOBUF_NODISCARD ::CMsgVector* release_direction(); - ::CMsgVector* mutable_direction(); - void set_allocated_direction(::CMsgVector* direction); - private: - const ::CMsgVector& _internal_direction() const; - ::CMsgVector* _internal_mutable_direction(); - public: - void unsafe_arena_set_allocated_direction( - ::CMsgVector* direction); - ::CMsgVector* unsafe_arena_release_direction(); - - // optional fixed32 color = 3; - bool has_color() const; - private: - bool _internal_has_color() const; - public: - void clear_color(); - uint32_t color() const; - void set_color(uint32_t value); - private: - uint32_t _internal_color() const; - void _internal_set_color(uint32_t value); - public: - - // optional uint32 amount = 4; - bool has_amount() const; - private: - bool _internal_has_amount() const; - public: - void clear_amount(); - uint32_t amount() const; - void set_amount(uint32_t value); - private: - uint32_t _internal_amount() const; - void _internal_set_amount(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEBloodStream) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* origin_; - ::CMsgVector* direction_; - uint32_t color_; - uint32_t amount_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEExplosion : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEExplosion) */ { - public: - inline CMsgTEExplosion() : CMsgTEExplosion(nullptr) {} - ~CMsgTEExplosion() override; - explicit PROTOBUF_CONSTEXPR CMsgTEExplosion(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEExplosion(const CMsgTEExplosion& from); - CMsgTEExplosion(CMsgTEExplosion&& from) noexcept - : CMsgTEExplosion() { - *this = ::std::move(from); - } - - inline CMsgTEExplosion& operator=(const CMsgTEExplosion& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEExplosion& operator=(CMsgTEExplosion&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEExplosion& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEExplosion* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEExplosion_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - friend void swap(CMsgTEExplosion& a, CMsgTEExplosion& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEExplosion* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEExplosion* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEExplosion* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEExplosion& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEExplosion& from) { - CMsgTEExplosion::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEExplosion* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEExplosion"; - } - protected: - explicit CMsgTEExplosion(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSoundNameFieldNumber = 10, - kOriginFieldNumber = 1, - kNormalFieldNumber = 4, - kDebrisOriginFieldNumber = 13, - kFlagsFieldNumber = 3, - kRadiusFieldNumber = 6, - kMagnitudeFieldNumber = 7, - kAffectRagdollsFieldNumber = 9, - kCreateDebrisFieldNumber = 12, - kExplosionTypeFieldNumber = 11, - kDebrisSurfacepropFieldNumber = 14, - }; - // optional string sound_name = 10; - bool has_sound_name() const; - private: - bool _internal_has_sound_name() const; - public: - void clear_sound_name(); - const std::string& sound_name() const; - template - void set_sound_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_sound_name(); - PROTOBUF_NODISCARD std::string* release_sound_name(); - void set_allocated_sound_name(std::string* sound_name); - private: - const std::string& _internal_sound_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_sound_name(const std::string& value); - std::string* _internal_mutable_sound_name(); - public: - - // optional .CMsgVector origin = 1; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional .CMsgVector normal = 4; - bool has_normal() const; - private: - bool _internal_has_normal() const; - public: - void clear_normal(); - const ::CMsgVector& normal() const; - PROTOBUF_NODISCARD ::CMsgVector* release_normal(); - ::CMsgVector* mutable_normal(); - void set_allocated_normal(::CMsgVector* normal); - private: - const ::CMsgVector& _internal_normal() const; - ::CMsgVector* _internal_mutable_normal(); - public: - void unsafe_arena_set_allocated_normal( - ::CMsgVector* normal); - ::CMsgVector* unsafe_arena_release_normal(); - - // optional .CMsgVector debris_origin = 13; - bool has_debris_origin() const; - private: - bool _internal_has_debris_origin() const; - public: - void clear_debris_origin(); - const ::CMsgVector& debris_origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_debris_origin(); - ::CMsgVector* mutable_debris_origin(); - void set_allocated_debris_origin(::CMsgVector* debris_origin); - private: - const ::CMsgVector& _internal_debris_origin() const; - ::CMsgVector* _internal_mutable_debris_origin(); - public: - void unsafe_arena_set_allocated_debris_origin( - ::CMsgVector* debris_origin); - ::CMsgVector* unsafe_arena_release_debris_origin(); - - // optional uint32 flags = 3; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional uint32 radius = 6; - bool has_radius() const; - private: - bool _internal_has_radius() const; - public: - void clear_radius(); - uint32_t radius() const; - void set_radius(uint32_t value); - private: - uint32_t _internal_radius() const; - void _internal_set_radius(uint32_t value); - public: - - // optional uint32 magnitude = 7; - bool has_magnitude() const; - private: - bool _internal_has_magnitude() const; - public: - void clear_magnitude(); - uint32_t magnitude() const; - void set_magnitude(uint32_t value); - private: - uint32_t _internal_magnitude() const; - void _internal_set_magnitude(uint32_t value); - public: - - // optional bool affect_ragdolls = 9; - bool has_affect_ragdolls() const; - private: - bool _internal_has_affect_ragdolls() const; - public: - void clear_affect_ragdolls(); - bool affect_ragdolls() const; - void set_affect_ragdolls(bool value); - private: - bool _internal_affect_ragdolls() const; - void _internal_set_affect_ragdolls(bool value); - public: - - // optional bool create_debris = 12; - bool has_create_debris() const; - private: - bool _internal_has_create_debris() const; - public: - void clear_create_debris(); - bool create_debris() const; - void set_create_debris(bool value); - private: - bool _internal_create_debris() const; - void _internal_set_create_debris(bool value); - public: - - // optional uint32 explosion_type = 11; - bool has_explosion_type() const; - private: - bool _internal_has_explosion_type() const; - public: - void clear_explosion_type(); - uint32_t explosion_type() const; - void set_explosion_type(uint32_t value); - private: - uint32_t _internal_explosion_type() const; - void _internal_set_explosion_type(uint32_t value); - public: - - // optional fixed32 debris_surfaceprop = 14; - bool has_debris_surfaceprop() const; - private: - bool _internal_has_debris_surfaceprop() const; - public: - void clear_debris_surfaceprop(); - uint32_t debris_surfaceprop() const; - void set_debris_surfaceprop(uint32_t value); - private: - uint32_t _internal_debris_surfaceprop() const; - void _internal_set_debris_surfaceprop(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEExplosion) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sound_name_; - ::CMsgVector* origin_; - ::CMsgVector* normal_; - ::CMsgVector* debris_origin_; - uint32_t flags_; - uint32_t radius_; - uint32_t magnitude_; - bool affect_ragdolls_; - bool create_debris_; - uint32_t explosion_type_; - uint32_t debris_surfaceprop_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEDust : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEDust) */ { - public: - inline CMsgTEDust() : CMsgTEDust(nullptr) {} - ~CMsgTEDust() override; - explicit PROTOBUF_CONSTEXPR CMsgTEDust(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEDust(const CMsgTEDust& from); - CMsgTEDust(CMsgTEDust&& from) noexcept - : CMsgTEDust() { - *this = ::std::move(from); - } - - inline CMsgTEDust& operator=(const CMsgTEDust& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEDust& operator=(CMsgTEDust&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEDust& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEDust* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEDust_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - friend void swap(CMsgTEDust& a, CMsgTEDust& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEDust* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEDust* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEDust* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEDust& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEDust& from) { - CMsgTEDust::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEDust* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEDust"; - } - protected: - explicit CMsgTEDust(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginFieldNumber = 1, - kDirectionFieldNumber = 4, - kSizeFieldNumber = 2, - kSpeedFieldNumber = 3, - }; - // optional .CMsgVector origin = 1; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional .CMsgVector direction = 4; - bool has_direction() const; - private: - bool _internal_has_direction() const; - public: - void clear_direction(); - const ::CMsgVector& direction() const; - PROTOBUF_NODISCARD ::CMsgVector* release_direction(); - ::CMsgVector* mutable_direction(); - void set_allocated_direction(::CMsgVector* direction); - private: - const ::CMsgVector& _internal_direction() const; - ::CMsgVector* _internal_mutable_direction(); - public: - void unsafe_arena_set_allocated_direction( - ::CMsgVector* direction); - ::CMsgVector* unsafe_arena_release_direction(); - - // optional float size = 2; - bool has_size() const; - private: - bool _internal_has_size() const; - public: - void clear_size(); - float size() const; - void set_size(float value); - private: - float _internal_size() const; - void _internal_set_size(float value); - public: - - // optional float speed = 3; - bool has_speed() const; - private: - bool _internal_has_speed() const; - public: - void clear_speed(); - float speed() const; - void set_speed(float value); - private: - float _internal_speed() const; - void _internal_set_speed(float value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEDust) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* origin_; - ::CMsgVector* direction_; - float size_; - float speed_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTELargeFunnel : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTELargeFunnel) */ { - public: - inline CMsgTELargeFunnel() : CMsgTELargeFunnel(nullptr) {} - ~CMsgTELargeFunnel() override; - explicit PROTOBUF_CONSTEXPR CMsgTELargeFunnel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTELargeFunnel(const CMsgTELargeFunnel& from); - CMsgTELargeFunnel(CMsgTELargeFunnel&& from) noexcept - : CMsgTELargeFunnel() { - *this = ::std::move(from); - } - - inline CMsgTELargeFunnel& operator=(const CMsgTELargeFunnel& from) { - CopyFrom(from); - return *this; - } - inline CMsgTELargeFunnel& operator=(CMsgTELargeFunnel&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTELargeFunnel& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTELargeFunnel* internal_default_instance() { - return reinterpret_cast( - &_CMsgTELargeFunnel_default_instance_); - } - static constexpr int kIndexInFileMessages = - 20; - - friend void swap(CMsgTELargeFunnel& a, CMsgTELargeFunnel& b) { - a.Swap(&b); - } - inline void Swap(CMsgTELargeFunnel* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTELargeFunnel* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTELargeFunnel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTELargeFunnel& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTELargeFunnel& from) { - CMsgTELargeFunnel::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTELargeFunnel* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTELargeFunnel"; - } - protected: - explicit CMsgTELargeFunnel(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginFieldNumber = 1, - kReversedFieldNumber = 2, - }; - // optional .CMsgVector origin = 1; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional uint32 reversed = 2; - bool has_reversed() const; - private: - bool _internal_has_reversed() const; - public: - void clear_reversed(); - uint32_t reversed() const; - void set_reversed(uint32_t value); - private: - uint32_t _internal_reversed() const; - void _internal_set_reversed(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTELargeFunnel) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* origin_; - uint32_t reversed_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTESparks : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTESparks) */ { - public: - inline CMsgTESparks() : CMsgTESparks(nullptr) {} - ~CMsgTESparks() override; - explicit PROTOBUF_CONSTEXPR CMsgTESparks(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTESparks(const CMsgTESparks& from); - CMsgTESparks(CMsgTESparks&& from) noexcept - : CMsgTESparks() { - *this = ::std::move(from); - } - - inline CMsgTESparks& operator=(const CMsgTESparks& from) { - CopyFrom(from); - return *this; - } - inline CMsgTESparks& operator=(CMsgTESparks&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTESparks& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTESparks* internal_default_instance() { - return reinterpret_cast( - &_CMsgTESparks_default_instance_); - } - static constexpr int kIndexInFileMessages = - 21; - - friend void swap(CMsgTESparks& a, CMsgTESparks& b) { - a.Swap(&b); - } - inline void Swap(CMsgTESparks* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTESparks* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTESparks* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTESparks& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTESparks& from) { - CMsgTESparks::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTESparks* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTESparks"; - } - protected: - explicit CMsgTESparks(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginFieldNumber = 1, - kDirectionFieldNumber = 4, - kMagnitudeFieldNumber = 2, - kLengthFieldNumber = 3, - }; - // optional .CMsgVector origin = 1; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional .CMsgVector direction = 4; - bool has_direction() const; - private: - bool _internal_has_direction() const; - public: - void clear_direction(); - const ::CMsgVector& direction() const; - PROTOBUF_NODISCARD ::CMsgVector* release_direction(); - ::CMsgVector* mutable_direction(); - void set_allocated_direction(::CMsgVector* direction); - private: - const ::CMsgVector& _internal_direction() const; - ::CMsgVector* _internal_mutable_direction(); - public: - void unsafe_arena_set_allocated_direction( - ::CMsgVector* direction); - ::CMsgVector* unsafe_arena_release_direction(); - - // optional uint32 magnitude = 2; - bool has_magnitude() const; - private: - bool _internal_has_magnitude() const; - public: - void clear_magnitude(); - uint32_t magnitude() const; - void set_magnitude(uint32_t value); - private: - uint32_t _internal_magnitude() const; - void _internal_set_magnitude(uint32_t value); - public: - - // optional uint32 length = 3; - bool has_length() const; - private: - bool _internal_has_length() const; - public: - void clear_length(); - uint32_t length() const; - void set_length(uint32_t value); - private: - uint32_t _internal_length() const; - void _internal_set_length(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTESparks) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* origin_; - ::CMsgVector* direction_; - uint32_t magnitude_; - uint32_t length_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEPhysicsProp : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEPhysicsProp) */ { - public: - inline CMsgTEPhysicsProp() : CMsgTEPhysicsProp(nullptr) {} - ~CMsgTEPhysicsProp() override; - explicit PROTOBUF_CONSTEXPR CMsgTEPhysicsProp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEPhysicsProp(const CMsgTEPhysicsProp& from); - CMsgTEPhysicsProp(CMsgTEPhysicsProp&& from) noexcept - : CMsgTEPhysicsProp() { - *this = ::std::move(from); - } - - inline CMsgTEPhysicsProp& operator=(const CMsgTEPhysicsProp& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEPhysicsProp& operator=(CMsgTEPhysicsProp&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEPhysicsProp& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEPhysicsProp* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEPhysicsProp_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - friend void swap(CMsgTEPhysicsProp& a, CMsgTEPhysicsProp& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEPhysicsProp* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEPhysicsProp* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEPhysicsProp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEPhysicsProp& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEPhysicsProp& from) { - CMsgTEPhysicsProp::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEPhysicsProp* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEPhysicsProp"; - } - protected: - explicit CMsgTEPhysicsProp(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginFieldNumber = 1, - kVelocityFieldNumber = 2, - kAnglesFieldNumber = 3, - kDmgposFieldNumber = 11, - kDmgdirFieldNumber = 12, - kSkinFieldNumber = 4, - kFlagsFieldNumber = 5, - kEffectsFieldNumber = 6, - kColorFieldNumber = 7, - kModelindexFieldNumber = 8, - kUnusedBreakmodelsnottomakeFieldNumber = 9, - kScaleFieldNumber = 10, - kDmgtypeFieldNumber = 13, - }; - // optional .CMsgVector origin = 1; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional .CMsgVector velocity = 2; - bool has_velocity() const; - private: - bool _internal_has_velocity() const; - public: - void clear_velocity(); - const ::CMsgVector& velocity() const; - PROTOBUF_NODISCARD ::CMsgVector* release_velocity(); - ::CMsgVector* mutable_velocity(); - void set_allocated_velocity(::CMsgVector* velocity); - private: - const ::CMsgVector& _internal_velocity() const; - ::CMsgVector* _internal_mutable_velocity(); - public: - void unsafe_arena_set_allocated_velocity( - ::CMsgVector* velocity); - ::CMsgVector* unsafe_arena_release_velocity(); - - // optional .CMsgQAngle angles = 3; - bool has_angles() const; - private: - bool _internal_has_angles() const; - public: - void clear_angles(); - const ::CMsgQAngle& angles() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_angles(); - ::CMsgQAngle* mutable_angles(); - void set_allocated_angles(::CMsgQAngle* angles); - private: - const ::CMsgQAngle& _internal_angles() const; - ::CMsgQAngle* _internal_mutable_angles(); - public: - void unsafe_arena_set_allocated_angles( - ::CMsgQAngle* angles); - ::CMsgQAngle* unsafe_arena_release_angles(); - - // optional .CMsgVector dmgpos = 11; - bool has_dmgpos() const; - private: - bool _internal_has_dmgpos() const; - public: - void clear_dmgpos(); - const ::CMsgVector& dmgpos() const; - PROTOBUF_NODISCARD ::CMsgVector* release_dmgpos(); - ::CMsgVector* mutable_dmgpos(); - void set_allocated_dmgpos(::CMsgVector* dmgpos); - private: - const ::CMsgVector& _internal_dmgpos() const; - ::CMsgVector* _internal_mutable_dmgpos(); - public: - void unsafe_arena_set_allocated_dmgpos( - ::CMsgVector* dmgpos); - ::CMsgVector* unsafe_arena_release_dmgpos(); - - // optional .CMsgVector dmgdir = 12; - bool has_dmgdir() const; - private: - bool _internal_has_dmgdir() const; - public: - void clear_dmgdir(); - const ::CMsgVector& dmgdir() const; - PROTOBUF_NODISCARD ::CMsgVector* release_dmgdir(); - ::CMsgVector* mutable_dmgdir(); - void set_allocated_dmgdir(::CMsgVector* dmgdir); - private: - const ::CMsgVector& _internal_dmgdir() const; - ::CMsgVector* _internal_mutable_dmgdir(); - public: - void unsafe_arena_set_allocated_dmgdir( - ::CMsgVector* dmgdir); - ::CMsgVector* unsafe_arena_release_dmgdir(); - - // optional fixed32 skin = 4; - bool has_skin() const; - private: - bool _internal_has_skin() const; - public: - void clear_skin(); - uint32_t skin() const; - void set_skin(uint32_t value); - private: - uint32_t _internal_skin() const; - void _internal_set_skin(uint32_t value); - public: - - // optional uint32 flags = 5; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional uint32 effects = 6; - bool has_effects() const; - private: - bool _internal_has_effects() const; - public: - void clear_effects(); - uint32_t effects() const; - void set_effects(uint32_t value); - private: - uint32_t _internal_effects() const; - void _internal_set_effects(uint32_t value); - public: - - // optional fixed32 color = 7; - bool has_color() const; - private: - bool _internal_has_color() const; - public: - void clear_color(); - uint32_t color() const; - void set_color(uint32_t value); - private: - uint32_t _internal_color() const; - void _internal_set_color(uint32_t value); - public: - - // optional fixed64 modelindex = 8; - bool has_modelindex() const; - private: - bool _internal_has_modelindex() const; - public: - void clear_modelindex(); - uint64_t modelindex() const; - void set_modelindex(uint64_t value); - private: - uint64_t _internal_modelindex() const; - void _internal_set_modelindex(uint64_t value); - public: - - // optional uint32 unused_breakmodelsnottomake = 9; - bool has_unused_breakmodelsnottomake() const; - private: - bool _internal_has_unused_breakmodelsnottomake() const; - public: - void clear_unused_breakmodelsnottomake(); - uint32_t unused_breakmodelsnottomake() const; - void set_unused_breakmodelsnottomake(uint32_t value); - private: - uint32_t _internal_unused_breakmodelsnottomake() const; - void _internal_set_unused_breakmodelsnottomake(uint32_t value); - public: - - // optional float scale = 10; - bool has_scale() const; - private: - bool _internal_has_scale() const; - public: - void clear_scale(); - float scale() const; - void set_scale(float value); - private: - float _internal_scale() const; - void _internal_set_scale(float value); - public: - - // optional int32 dmgtype = 13; - bool has_dmgtype() const; - private: - bool _internal_has_dmgtype() const; - public: - void clear_dmgtype(); - int32_t dmgtype() const; - void set_dmgtype(int32_t value); - private: - int32_t _internal_dmgtype() const; - void _internal_set_dmgtype(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEPhysicsProp) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* origin_; - ::CMsgVector* velocity_; - ::CMsgQAngle* angles_; - ::CMsgVector* dmgpos_; - ::CMsgVector* dmgdir_; - uint32_t skin_; - uint32_t flags_; - uint32_t effects_; - uint32_t color_; - uint64_t modelindex_; - uint32_t unused_breakmodelsnottomake_; - float scale_; - int32_t dmgtype_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTESmoke : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTESmoke) */ { - public: - inline CMsgTESmoke() : CMsgTESmoke(nullptr) {} - ~CMsgTESmoke() override; - explicit PROTOBUF_CONSTEXPR CMsgTESmoke(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTESmoke(const CMsgTESmoke& from); - CMsgTESmoke(CMsgTESmoke&& from) noexcept - : CMsgTESmoke() { - *this = ::std::move(from); - } - - inline CMsgTESmoke& operator=(const CMsgTESmoke& from) { - CopyFrom(from); - return *this; - } - inline CMsgTESmoke& operator=(CMsgTESmoke&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTESmoke& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTESmoke* internal_default_instance() { - return reinterpret_cast( - &_CMsgTESmoke_default_instance_); - } - static constexpr int kIndexInFileMessages = - 23; - - friend void swap(CMsgTESmoke& a, CMsgTESmoke& b) { - a.Swap(&b); - } - inline void Swap(CMsgTESmoke* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTESmoke* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTESmoke* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTESmoke& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTESmoke& from) { - CMsgTESmoke::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTESmoke* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTESmoke"; - } - protected: - explicit CMsgTESmoke(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginFieldNumber = 1, - kScaleFieldNumber = 2, - }; - // optional .CMsgVector origin = 1; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional float scale = 2; - bool has_scale() const; - private: - bool _internal_has_scale() const; - public: - void clear_scale(); - float scale() const; - void set_scale(float value); - private: - float _internal_scale() const; - void _internal_set_scale(float value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTESmoke) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* origin_; - float scale_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// ------------------------------------------------------------------- - -class CMsgTEWorldDecal : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CMsgTEWorldDecal) */ { - public: - inline CMsgTEWorldDecal() : CMsgTEWorldDecal(nullptr) {} - ~CMsgTEWorldDecal() override; - explicit PROTOBUF_CONSTEXPR CMsgTEWorldDecal(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CMsgTEWorldDecal(const CMsgTEWorldDecal& from); - CMsgTEWorldDecal(CMsgTEWorldDecal&& from) noexcept - : CMsgTEWorldDecal() { - *this = ::std::move(from); - } - - inline CMsgTEWorldDecal& operator=(const CMsgTEWorldDecal& from) { - CopyFrom(from); - return *this; - } - inline CMsgTEWorldDecal& operator=(CMsgTEWorldDecal&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CMsgTEWorldDecal& default_instance() { - return *internal_default_instance(); - } - static inline const CMsgTEWorldDecal* internal_default_instance() { - return reinterpret_cast( - &_CMsgTEWorldDecal_default_instance_); - } - static constexpr int kIndexInFileMessages = - 24; - - friend void swap(CMsgTEWorldDecal& a, CMsgTEWorldDecal& b) { - a.Swap(&b); - } - inline void Swap(CMsgTEWorldDecal* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CMsgTEWorldDecal* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CMsgTEWorldDecal* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CMsgTEWorldDecal& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CMsgTEWorldDecal& from) { - CMsgTEWorldDecal::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CMsgTEWorldDecal* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CMsgTEWorldDecal"; - } - protected: - explicit CMsgTEWorldDecal(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginFieldNumber = 1, - kNormalFieldNumber = 2, - kIndexFieldNumber = 3, - }; - // optional .CMsgVector origin = 1; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional .CMsgVector normal = 2; - bool has_normal() const; - private: - bool _internal_has_normal() const; - public: - void clear_normal(); - const ::CMsgVector& normal() const; - PROTOBUF_NODISCARD ::CMsgVector* release_normal(); - ::CMsgVector* mutable_normal(); - void set_allocated_normal(::CMsgVector* normal); - private: - const ::CMsgVector& _internal_normal() const; - ::CMsgVector* _internal_mutable_normal(); - public: - void unsafe_arena_set_allocated_normal( - ::CMsgVector* normal); - ::CMsgVector* unsafe_arena_release_normal(); - - // optional uint32 index = 3; - bool has_index() const; - private: - bool _internal_has_index() const; - public: - void clear_index(); - uint32_t index() const; - void set_index(uint32_t value); - private: - uint32_t _internal_index() const; - void _internal_set_index(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CMsgTEWorldDecal) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* origin_; - ::CMsgVector* normal_; - uint32_t index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_te_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CMsgTEArmorRicochet - -// optional .CMsgVector pos = 1; -inline bool CMsgTEArmorRicochet::_internal_has_pos() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.pos_ != nullptr); - return value; -} -inline bool CMsgTEArmorRicochet::has_pos() const { - return _internal_has_pos(); -} -inline const ::CMsgVector& CMsgTEArmorRicochet::_internal_pos() const { - const ::CMsgVector* p = _impl_.pos_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEArmorRicochet::pos() const { - // @@protoc_insertion_point(field_get:CMsgTEArmorRicochet.pos) - return _internal_pos(); -} -inline void CMsgTEArmorRicochet::unsafe_arena_set_allocated_pos( - ::CMsgVector* pos) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); - } - _impl_.pos_ = pos; - if (pos) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEArmorRicochet.pos) -} -inline ::CMsgVector* CMsgTEArmorRicochet::release_pos() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.pos_; - _impl_.pos_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEArmorRicochet::unsafe_arena_release_pos() { - // @@protoc_insertion_point(field_release:CMsgTEArmorRicochet.pos) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.pos_; - _impl_.pos_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEArmorRicochet::_internal_mutable_pos() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.pos_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.pos_ = p; - } - return _impl_.pos_; -} -inline ::CMsgVector* CMsgTEArmorRicochet::mutable_pos() { - ::CMsgVector* _msg = _internal_mutable_pos(); - // @@protoc_insertion_point(field_mutable:CMsgTEArmorRicochet.pos) - return _msg; -} -inline void CMsgTEArmorRicochet::set_allocated_pos(::CMsgVector* pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); - } - if (pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pos)); - if (message_arena != submessage_arena) { - pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, pos, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.pos_ = pos; - // @@protoc_insertion_point(field_set_allocated:CMsgTEArmorRicochet.pos) -} - -// optional .CMsgVector dir = 2; -inline bool CMsgTEArmorRicochet::_internal_has_dir() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.dir_ != nullptr); - return value; -} -inline bool CMsgTEArmorRicochet::has_dir() const { - return _internal_has_dir(); -} -inline const ::CMsgVector& CMsgTEArmorRicochet::_internal_dir() const { - const ::CMsgVector* p = _impl_.dir_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEArmorRicochet::dir() const { - // @@protoc_insertion_point(field_get:CMsgTEArmorRicochet.dir) - return _internal_dir(); -} -inline void CMsgTEArmorRicochet::unsafe_arena_set_allocated_dir( - ::CMsgVector* dir) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dir_); - } - _impl_.dir_ = dir; - if (dir) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEArmorRicochet.dir) -} -inline ::CMsgVector* CMsgTEArmorRicochet::release_dir() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.dir_; - _impl_.dir_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEArmorRicochet::unsafe_arena_release_dir() { - // @@protoc_insertion_point(field_release:CMsgTEArmorRicochet.dir) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.dir_; - _impl_.dir_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEArmorRicochet::_internal_mutable_dir() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.dir_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.dir_ = p; - } - return _impl_.dir_; -} -inline ::CMsgVector* CMsgTEArmorRicochet::mutable_dir() { - ::CMsgVector* _msg = _internal_mutable_dir(); - // @@protoc_insertion_point(field_mutable:CMsgTEArmorRicochet.dir) - return _msg; -} -inline void CMsgTEArmorRicochet::set_allocated_dir(::CMsgVector* dir) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dir_); - } - if (dir) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(dir)); - if (message_arena != submessage_arena) { - dir = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, dir, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.dir_ = dir; - // @@protoc_insertion_point(field_set_allocated:CMsgTEArmorRicochet.dir) -} - -// ------------------------------------------------------------------- - -// CMsgTEBaseBeam - -// optional fixed64 modelindex = 1; -inline bool CMsgTEBaseBeam::_internal_has_modelindex() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgTEBaseBeam::has_modelindex() const { - return _internal_has_modelindex(); -} -inline void CMsgTEBaseBeam::clear_modelindex() { - _impl_.modelindex_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CMsgTEBaseBeam::_internal_modelindex() const { - return _impl_.modelindex_; -} -inline uint64_t CMsgTEBaseBeam::modelindex() const { - // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.modelindex) - return _internal_modelindex(); -} -inline void CMsgTEBaseBeam::_internal_set_modelindex(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.modelindex_ = value; -} -inline void CMsgTEBaseBeam::set_modelindex(uint64_t value) { - _internal_set_modelindex(value); - // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.modelindex) -} - -// optional fixed64 haloindex = 2; -inline bool CMsgTEBaseBeam::_internal_has_haloindex() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgTEBaseBeam::has_haloindex() const { - return _internal_has_haloindex(); -} -inline void CMsgTEBaseBeam::clear_haloindex() { - _impl_.haloindex_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CMsgTEBaseBeam::_internal_haloindex() const { - return _impl_.haloindex_; -} -inline uint64_t CMsgTEBaseBeam::haloindex() const { - // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.haloindex) - return _internal_haloindex(); -} -inline void CMsgTEBaseBeam::_internal_set_haloindex(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.haloindex_ = value; -} -inline void CMsgTEBaseBeam::set_haloindex(uint64_t value) { - _internal_set_haloindex(value); - // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.haloindex) -} - -// optional uint32 startframe = 3; -inline bool CMsgTEBaseBeam::_internal_has_startframe() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgTEBaseBeam::has_startframe() const { - return _internal_has_startframe(); -} -inline void CMsgTEBaseBeam::clear_startframe() { - _impl_.startframe_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgTEBaseBeam::_internal_startframe() const { - return _impl_.startframe_; -} -inline uint32_t CMsgTEBaseBeam::startframe() const { - // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.startframe) - return _internal_startframe(); -} -inline void CMsgTEBaseBeam::_internal_set_startframe(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.startframe_ = value; -} -inline void CMsgTEBaseBeam::set_startframe(uint32_t value) { - _internal_set_startframe(value); - // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.startframe) -} - -// optional uint32 framerate = 4; -inline bool CMsgTEBaseBeam::_internal_has_framerate() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgTEBaseBeam::has_framerate() const { - return _internal_has_framerate(); -} -inline void CMsgTEBaseBeam::clear_framerate() { - _impl_.framerate_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgTEBaseBeam::_internal_framerate() const { - return _impl_.framerate_; -} -inline uint32_t CMsgTEBaseBeam::framerate() const { - // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.framerate) - return _internal_framerate(); -} -inline void CMsgTEBaseBeam::_internal_set_framerate(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.framerate_ = value; -} -inline void CMsgTEBaseBeam::set_framerate(uint32_t value) { - _internal_set_framerate(value); - // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.framerate) -} - -// optional float life = 5; -inline bool CMsgTEBaseBeam::_internal_has_life() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgTEBaseBeam::has_life() const { - return _internal_has_life(); -} -inline void CMsgTEBaseBeam::clear_life() { - _impl_.life_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float CMsgTEBaseBeam::_internal_life() const { - return _impl_.life_; -} -inline float CMsgTEBaseBeam::life() const { - // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.life) - return _internal_life(); -} -inline void CMsgTEBaseBeam::_internal_set_life(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.life_ = value; -} -inline void CMsgTEBaseBeam::set_life(float value) { - _internal_set_life(value); - // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.life) -} - -// optional float width = 6; -inline bool CMsgTEBaseBeam::_internal_has_width() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgTEBaseBeam::has_width() const { - return _internal_has_width(); -} -inline void CMsgTEBaseBeam::clear_width() { - _impl_.width_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline float CMsgTEBaseBeam::_internal_width() const { - return _impl_.width_; -} -inline float CMsgTEBaseBeam::width() const { - // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.width) - return _internal_width(); -} -inline void CMsgTEBaseBeam::_internal_set_width(float value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.width_ = value; -} -inline void CMsgTEBaseBeam::set_width(float value) { - _internal_set_width(value); - // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.width) -} - -// optional float endwidth = 7; -inline bool CMsgTEBaseBeam::_internal_has_endwidth() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgTEBaseBeam::has_endwidth() const { - return _internal_has_endwidth(); -} -inline void CMsgTEBaseBeam::clear_endwidth() { - _impl_.endwidth_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline float CMsgTEBaseBeam::_internal_endwidth() const { - return _impl_.endwidth_; -} -inline float CMsgTEBaseBeam::endwidth() const { - // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.endwidth) - return _internal_endwidth(); -} -inline void CMsgTEBaseBeam::_internal_set_endwidth(float value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.endwidth_ = value; -} -inline void CMsgTEBaseBeam::set_endwidth(float value) { - _internal_set_endwidth(value); - // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.endwidth) -} - -// optional uint32 fadelength = 8; -inline bool CMsgTEBaseBeam::_internal_has_fadelength() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgTEBaseBeam::has_fadelength() const { - return _internal_has_fadelength(); -} -inline void CMsgTEBaseBeam::clear_fadelength() { - _impl_.fadelength_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgTEBaseBeam::_internal_fadelength() const { - return _impl_.fadelength_; -} -inline uint32_t CMsgTEBaseBeam::fadelength() const { - // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.fadelength) - return _internal_fadelength(); -} -inline void CMsgTEBaseBeam::_internal_set_fadelength(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.fadelength_ = value; -} -inline void CMsgTEBaseBeam::set_fadelength(uint32_t value) { - _internal_set_fadelength(value); - // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.fadelength) -} - -// optional float amplitude = 9; -inline bool CMsgTEBaseBeam::_internal_has_amplitude() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgTEBaseBeam::has_amplitude() const { - return _internal_has_amplitude(); -} -inline void CMsgTEBaseBeam::clear_amplitude() { - _impl_.amplitude_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline float CMsgTEBaseBeam::_internal_amplitude() const { - return _impl_.amplitude_; -} -inline float CMsgTEBaseBeam::amplitude() const { - // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.amplitude) - return _internal_amplitude(); -} -inline void CMsgTEBaseBeam::_internal_set_amplitude(float value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.amplitude_ = value; -} -inline void CMsgTEBaseBeam::set_amplitude(float value) { - _internal_set_amplitude(value); - // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.amplitude) -} - -// optional fixed32 color = 10; -inline bool CMsgTEBaseBeam::_internal_has_color() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgTEBaseBeam::has_color() const { - return _internal_has_color(); -} -inline void CMsgTEBaseBeam::clear_color() { - _impl_.color_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgTEBaseBeam::_internal_color() const { - return _impl_.color_; -} -inline uint32_t CMsgTEBaseBeam::color() const { - // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.color) - return _internal_color(); -} -inline void CMsgTEBaseBeam::_internal_set_color(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.color_ = value; -} -inline void CMsgTEBaseBeam::set_color(uint32_t value) { - _internal_set_color(value); - // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.color) -} - -// optional uint32 speed = 11; -inline bool CMsgTEBaseBeam::_internal_has_speed() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgTEBaseBeam::has_speed() const { - return _internal_has_speed(); -} -inline void CMsgTEBaseBeam::clear_speed() { - _impl_.speed_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgTEBaseBeam::_internal_speed() const { - return _impl_.speed_; -} -inline uint32_t CMsgTEBaseBeam::speed() const { - // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.speed) - return _internal_speed(); -} -inline void CMsgTEBaseBeam::_internal_set_speed(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.speed_ = value; -} -inline void CMsgTEBaseBeam::set_speed(uint32_t value) { - _internal_set_speed(value); - // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.speed) -} - -// optional uint32 flags = 12; -inline bool CMsgTEBaseBeam::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgTEBaseBeam::has_flags() const { - return _internal_has_flags(); -} -inline void CMsgTEBaseBeam::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgTEBaseBeam::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CMsgTEBaseBeam::flags() const { - // @@protoc_insertion_point(field_get:CMsgTEBaseBeam.flags) - return _internal_flags(); -} -inline void CMsgTEBaseBeam::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.flags_ = value; -} -inline void CMsgTEBaseBeam::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CMsgTEBaseBeam.flags) -} - -// ------------------------------------------------------------------- - -// CMsgTEBeamEntPoint - -// optional .CMsgTEBaseBeam base = 1; -inline bool CMsgTEBeamEntPoint::_internal_has_base() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.base_ != nullptr); - return value; -} -inline bool CMsgTEBeamEntPoint::has_base() const { - return _internal_has_base(); -} -inline void CMsgTEBeamEntPoint::clear_base() { - if (_impl_.base_ != nullptr) _impl_.base_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgTEBaseBeam& CMsgTEBeamEntPoint::_internal_base() const { - const ::CMsgTEBaseBeam* p = _impl_.base_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgTEBaseBeam_default_instance_); -} -inline const ::CMsgTEBaseBeam& CMsgTEBeamEntPoint::base() const { - // @@protoc_insertion_point(field_get:CMsgTEBeamEntPoint.base) - return _internal_base(); -} -inline void CMsgTEBeamEntPoint::unsafe_arena_set_allocated_base( - ::CMsgTEBaseBeam* base) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.base_); - } - _impl_.base_ = base; - if (base) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBeamEntPoint.base) -} -inline ::CMsgTEBaseBeam* CMsgTEBeamEntPoint::release_base() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgTEBaseBeam* temp = _impl_.base_; - _impl_.base_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgTEBaseBeam* CMsgTEBeamEntPoint::unsafe_arena_release_base() { - // @@protoc_insertion_point(field_release:CMsgTEBeamEntPoint.base) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgTEBaseBeam* temp = _impl_.base_; - _impl_.base_ = nullptr; - return temp; -} -inline ::CMsgTEBaseBeam* CMsgTEBeamEntPoint::_internal_mutable_base() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.base_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgTEBaseBeam>(GetArenaForAllocation()); - _impl_.base_ = p; - } - return _impl_.base_; -} -inline ::CMsgTEBaseBeam* CMsgTEBeamEntPoint::mutable_base() { - ::CMsgTEBaseBeam* _msg = _internal_mutable_base(); - // @@protoc_insertion_point(field_mutable:CMsgTEBeamEntPoint.base) - return _msg; -} -inline void CMsgTEBeamEntPoint::set_allocated_base(::CMsgTEBaseBeam* base) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.base_; - } - if (base) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(base); - if (message_arena != submessage_arena) { - base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, base, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.base_ = base; - // @@protoc_insertion_point(field_set_allocated:CMsgTEBeamEntPoint.base) -} - -// optional uint32 startentity = 2; -inline bool CMsgTEBeamEntPoint::_internal_has_startentity() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgTEBeamEntPoint::has_startentity() const { - return _internal_has_startentity(); -} -inline void CMsgTEBeamEntPoint::clear_startentity() { - _impl_.startentity_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgTEBeamEntPoint::_internal_startentity() const { - return _impl_.startentity_; -} -inline uint32_t CMsgTEBeamEntPoint::startentity() const { - // @@protoc_insertion_point(field_get:CMsgTEBeamEntPoint.startentity) - return _internal_startentity(); -} -inline void CMsgTEBeamEntPoint::_internal_set_startentity(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.startentity_ = value; -} -inline void CMsgTEBeamEntPoint::set_startentity(uint32_t value) { - _internal_set_startentity(value); - // @@protoc_insertion_point(field_set:CMsgTEBeamEntPoint.startentity) -} - -// optional uint32 endentity = 3; -inline bool CMsgTEBeamEntPoint::_internal_has_endentity() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgTEBeamEntPoint::has_endentity() const { - return _internal_has_endentity(); -} -inline void CMsgTEBeamEntPoint::clear_endentity() { - _impl_.endentity_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgTEBeamEntPoint::_internal_endentity() const { - return _impl_.endentity_; -} -inline uint32_t CMsgTEBeamEntPoint::endentity() const { - // @@protoc_insertion_point(field_get:CMsgTEBeamEntPoint.endentity) - return _internal_endentity(); -} -inline void CMsgTEBeamEntPoint::_internal_set_endentity(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.endentity_ = value; -} -inline void CMsgTEBeamEntPoint::set_endentity(uint32_t value) { - _internal_set_endentity(value); - // @@protoc_insertion_point(field_set:CMsgTEBeamEntPoint.endentity) -} - -// optional .CMsgVector start = 4; -inline bool CMsgTEBeamEntPoint::_internal_has_start() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.start_ != nullptr); - return value; -} -inline bool CMsgTEBeamEntPoint::has_start() const { - return _internal_has_start(); -} -inline const ::CMsgVector& CMsgTEBeamEntPoint::_internal_start() const { - const ::CMsgVector* p = _impl_.start_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEBeamEntPoint::start() const { - // @@protoc_insertion_point(field_get:CMsgTEBeamEntPoint.start) - return _internal_start(); -} -inline void CMsgTEBeamEntPoint::unsafe_arena_set_allocated_start( - ::CMsgVector* start) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_); - } - _impl_.start_ = start; - if (start) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBeamEntPoint.start) -} -inline ::CMsgVector* CMsgTEBeamEntPoint::release_start() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.start_; - _impl_.start_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEBeamEntPoint::unsafe_arena_release_start() { - // @@protoc_insertion_point(field_release:CMsgTEBeamEntPoint.start) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.start_; - _impl_.start_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEBeamEntPoint::_internal_mutable_start() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.start_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.start_ = p; - } - return _impl_.start_; -} -inline ::CMsgVector* CMsgTEBeamEntPoint::mutable_start() { - ::CMsgVector* _msg = _internal_mutable_start(); - // @@protoc_insertion_point(field_mutable:CMsgTEBeamEntPoint.start) - return _msg; -} -inline void CMsgTEBeamEntPoint::set_allocated_start(::CMsgVector* start) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_); - } - if (start) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start)); - if (message_arena != submessage_arena) { - start = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, start, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.start_ = start; - // @@protoc_insertion_point(field_set_allocated:CMsgTEBeamEntPoint.start) -} - -// optional .CMsgVector end = 5; -inline bool CMsgTEBeamEntPoint::_internal_has_end() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.end_ != nullptr); - return value; -} -inline bool CMsgTEBeamEntPoint::has_end() const { - return _internal_has_end(); -} -inline const ::CMsgVector& CMsgTEBeamEntPoint::_internal_end() const { - const ::CMsgVector* p = _impl_.end_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEBeamEntPoint::end() const { - // @@protoc_insertion_point(field_get:CMsgTEBeamEntPoint.end) - return _internal_end(); -} -inline void CMsgTEBeamEntPoint::unsafe_arena_set_allocated_end( - ::CMsgVector* end) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.end_); - } - _impl_.end_ = end; - if (end) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBeamEntPoint.end) -} -inline ::CMsgVector* CMsgTEBeamEntPoint::release_end() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.end_; - _impl_.end_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEBeamEntPoint::unsafe_arena_release_end() { - // @@protoc_insertion_point(field_release:CMsgTEBeamEntPoint.end) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.end_; - _impl_.end_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEBeamEntPoint::_internal_mutable_end() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.end_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.end_ = p; - } - return _impl_.end_; -} -inline ::CMsgVector* CMsgTEBeamEntPoint::mutable_end() { - ::CMsgVector* _msg = _internal_mutable_end(); - // @@protoc_insertion_point(field_mutable:CMsgTEBeamEntPoint.end) - return _msg; -} -inline void CMsgTEBeamEntPoint::set_allocated_end(::CMsgVector* end) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.end_); - } - if (end) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(end)); - if (message_arena != submessage_arena) { - end = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, end, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.end_ = end; - // @@protoc_insertion_point(field_set_allocated:CMsgTEBeamEntPoint.end) -} - -// ------------------------------------------------------------------- - -// CMsgTEBeamEnts - -// optional .CMsgTEBaseBeam base = 1; -inline bool CMsgTEBeamEnts::_internal_has_base() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.base_ != nullptr); - return value; -} -inline bool CMsgTEBeamEnts::has_base() const { - return _internal_has_base(); -} -inline void CMsgTEBeamEnts::clear_base() { - if (_impl_.base_ != nullptr) _impl_.base_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgTEBaseBeam& CMsgTEBeamEnts::_internal_base() const { - const ::CMsgTEBaseBeam* p = _impl_.base_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgTEBaseBeam_default_instance_); -} -inline const ::CMsgTEBaseBeam& CMsgTEBeamEnts::base() const { - // @@protoc_insertion_point(field_get:CMsgTEBeamEnts.base) - return _internal_base(); -} -inline void CMsgTEBeamEnts::unsafe_arena_set_allocated_base( - ::CMsgTEBaseBeam* base) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.base_); - } - _impl_.base_ = base; - if (base) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBeamEnts.base) -} -inline ::CMsgTEBaseBeam* CMsgTEBeamEnts::release_base() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgTEBaseBeam* temp = _impl_.base_; - _impl_.base_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgTEBaseBeam* CMsgTEBeamEnts::unsafe_arena_release_base() { - // @@protoc_insertion_point(field_release:CMsgTEBeamEnts.base) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgTEBaseBeam* temp = _impl_.base_; - _impl_.base_ = nullptr; - return temp; -} -inline ::CMsgTEBaseBeam* CMsgTEBeamEnts::_internal_mutable_base() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.base_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgTEBaseBeam>(GetArenaForAllocation()); - _impl_.base_ = p; - } - return _impl_.base_; -} -inline ::CMsgTEBaseBeam* CMsgTEBeamEnts::mutable_base() { - ::CMsgTEBaseBeam* _msg = _internal_mutable_base(); - // @@protoc_insertion_point(field_mutable:CMsgTEBeamEnts.base) - return _msg; -} -inline void CMsgTEBeamEnts::set_allocated_base(::CMsgTEBaseBeam* base) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.base_; - } - if (base) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(base); - if (message_arena != submessage_arena) { - base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, base, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.base_ = base; - // @@protoc_insertion_point(field_set_allocated:CMsgTEBeamEnts.base) -} - -// optional uint32 startentity = 2; -inline bool CMsgTEBeamEnts::_internal_has_startentity() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgTEBeamEnts::has_startentity() const { - return _internal_has_startentity(); -} -inline void CMsgTEBeamEnts::clear_startentity() { - _impl_.startentity_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgTEBeamEnts::_internal_startentity() const { - return _impl_.startentity_; -} -inline uint32_t CMsgTEBeamEnts::startentity() const { - // @@protoc_insertion_point(field_get:CMsgTEBeamEnts.startentity) - return _internal_startentity(); -} -inline void CMsgTEBeamEnts::_internal_set_startentity(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.startentity_ = value; -} -inline void CMsgTEBeamEnts::set_startentity(uint32_t value) { - _internal_set_startentity(value); - // @@protoc_insertion_point(field_set:CMsgTEBeamEnts.startentity) -} - -// optional uint32 endentity = 3; -inline bool CMsgTEBeamEnts::_internal_has_endentity() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgTEBeamEnts::has_endentity() const { - return _internal_has_endentity(); -} -inline void CMsgTEBeamEnts::clear_endentity() { - _impl_.endentity_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgTEBeamEnts::_internal_endentity() const { - return _impl_.endentity_; -} -inline uint32_t CMsgTEBeamEnts::endentity() const { - // @@protoc_insertion_point(field_get:CMsgTEBeamEnts.endentity) - return _internal_endentity(); -} -inline void CMsgTEBeamEnts::_internal_set_endentity(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.endentity_ = value; -} -inline void CMsgTEBeamEnts::set_endentity(uint32_t value) { - _internal_set_endentity(value); - // @@protoc_insertion_point(field_set:CMsgTEBeamEnts.endentity) -} - -// ------------------------------------------------------------------- - -// CMsgTEBeamPoints - -// optional .CMsgTEBaseBeam base = 1; -inline bool CMsgTEBeamPoints::_internal_has_base() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.base_ != nullptr); - return value; -} -inline bool CMsgTEBeamPoints::has_base() const { - return _internal_has_base(); -} -inline void CMsgTEBeamPoints::clear_base() { - if (_impl_.base_ != nullptr) _impl_.base_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgTEBaseBeam& CMsgTEBeamPoints::_internal_base() const { - const ::CMsgTEBaseBeam* p = _impl_.base_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgTEBaseBeam_default_instance_); -} -inline const ::CMsgTEBaseBeam& CMsgTEBeamPoints::base() const { - // @@protoc_insertion_point(field_get:CMsgTEBeamPoints.base) - return _internal_base(); -} -inline void CMsgTEBeamPoints::unsafe_arena_set_allocated_base( - ::CMsgTEBaseBeam* base) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.base_); - } - _impl_.base_ = base; - if (base) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBeamPoints.base) -} -inline ::CMsgTEBaseBeam* CMsgTEBeamPoints::release_base() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgTEBaseBeam* temp = _impl_.base_; - _impl_.base_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgTEBaseBeam* CMsgTEBeamPoints::unsafe_arena_release_base() { - // @@protoc_insertion_point(field_release:CMsgTEBeamPoints.base) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgTEBaseBeam* temp = _impl_.base_; - _impl_.base_ = nullptr; - return temp; -} -inline ::CMsgTEBaseBeam* CMsgTEBeamPoints::_internal_mutable_base() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.base_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgTEBaseBeam>(GetArenaForAllocation()); - _impl_.base_ = p; - } - return _impl_.base_; -} -inline ::CMsgTEBaseBeam* CMsgTEBeamPoints::mutable_base() { - ::CMsgTEBaseBeam* _msg = _internal_mutable_base(); - // @@protoc_insertion_point(field_mutable:CMsgTEBeamPoints.base) - return _msg; -} -inline void CMsgTEBeamPoints::set_allocated_base(::CMsgTEBaseBeam* base) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.base_; - } - if (base) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(base); - if (message_arena != submessage_arena) { - base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, base, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.base_ = base; - // @@protoc_insertion_point(field_set_allocated:CMsgTEBeamPoints.base) -} - -// optional .CMsgVector start = 2; -inline bool CMsgTEBeamPoints::_internal_has_start() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.start_ != nullptr); - return value; -} -inline bool CMsgTEBeamPoints::has_start() const { - return _internal_has_start(); -} -inline const ::CMsgVector& CMsgTEBeamPoints::_internal_start() const { - const ::CMsgVector* p = _impl_.start_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEBeamPoints::start() const { - // @@protoc_insertion_point(field_get:CMsgTEBeamPoints.start) - return _internal_start(); -} -inline void CMsgTEBeamPoints::unsafe_arena_set_allocated_start( - ::CMsgVector* start) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_); - } - _impl_.start_ = start; - if (start) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBeamPoints.start) -} -inline ::CMsgVector* CMsgTEBeamPoints::release_start() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.start_; - _impl_.start_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEBeamPoints::unsafe_arena_release_start() { - // @@protoc_insertion_point(field_release:CMsgTEBeamPoints.start) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.start_; - _impl_.start_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEBeamPoints::_internal_mutable_start() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.start_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.start_ = p; - } - return _impl_.start_; -} -inline ::CMsgVector* CMsgTEBeamPoints::mutable_start() { - ::CMsgVector* _msg = _internal_mutable_start(); - // @@protoc_insertion_point(field_mutable:CMsgTEBeamPoints.start) - return _msg; -} -inline void CMsgTEBeamPoints::set_allocated_start(::CMsgVector* start) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_); - } - if (start) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start)); - if (message_arena != submessage_arena) { - start = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, start, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.start_ = start; - // @@protoc_insertion_point(field_set_allocated:CMsgTEBeamPoints.start) -} - -// optional .CMsgVector end = 3; -inline bool CMsgTEBeamPoints::_internal_has_end() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.end_ != nullptr); - return value; -} -inline bool CMsgTEBeamPoints::has_end() const { - return _internal_has_end(); -} -inline const ::CMsgVector& CMsgTEBeamPoints::_internal_end() const { - const ::CMsgVector* p = _impl_.end_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEBeamPoints::end() const { - // @@protoc_insertion_point(field_get:CMsgTEBeamPoints.end) - return _internal_end(); -} -inline void CMsgTEBeamPoints::unsafe_arena_set_allocated_end( - ::CMsgVector* end) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.end_); - } - _impl_.end_ = end; - if (end) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBeamPoints.end) -} -inline ::CMsgVector* CMsgTEBeamPoints::release_end() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.end_; - _impl_.end_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEBeamPoints::unsafe_arena_release_end() { - // @@protoc_insertion_point(field_release:CMsgTEBeamPoints.end) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.end_; - _impl_.end_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEBeamPoints::_internal_mutable_end() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.end_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.end_ = p; - } - return _impl_.end_; -} -inline ::CMsgVector* CMsgTEBeamPoints::mutable_end() { - ::CMsgVector* _msg = _internal_mutable_end(); - // @@protoc_insertion_point(field_mutable:CMsgTEBeamPoints.end) - return _msg; -} -inline void CMsgTEBeamPoints::set_allocated_end(::CMsgVector* end) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.end_); - } - if (end) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(end)); - if (message_arena != submessage_arena) { - end = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, end, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.end_ = end; - // @@protoc_insertion_point(field_set_allocated:CMsgTEBeamPoints.end) -} - -// ------------------------------------------------------------------- - -// CMsgTEBeamRing - -// optional .CMsgTEBaseBeam base = 1; -inline bool CMsgTEBeamRing::_internal_has_base() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.base_ != nullptr); - return value; -} -inline bool CMsgTEBeamRing::has_base() const { - return _internal_has_base(); -} -inline void CMsgTEBeamRing::clear_base() { - if (_impl_.base_ != nullptr) _impl_.base_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgTEBaseBeam& CMsgTEBeamRing::_internal_base() const { - const ::CMsgTEBaseBeam* p = _impl_.base_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgTEBaseBeam_default_instance_); -} -inline const ::CMsgTEBaseBeam& CMsgTEBeamRing::base() const { - // @@protoc_insertion_point(field_get:CMsgTEBeamRing.base) - return _internal_base(); -} -inline void CMsgTEBeamRing::unsafe_arena_set_allocated_base( - ::CMsgTEBaseBeam* base) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.base_); - } - _impl_.base_ = base; - if (base) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBeamRing.base) -} -inline ::CMsgTEBaseBeam* CMsgTEBeamRing::release_base() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgTEBaseBeam* temp = _impl_.base_; - _impl_.base_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgTEBaseBeam* CMsgTEBeamRing::unsafe_arena_release_base() { - // @@protoc_insertion_point(field_release:CMsgTEBeamRing.base) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgTEBaseBeam* temp = _impl_.base_; - _impl_.base_ = nullptr; - return temp; -} -inline ::CMsgTEBaseBeam* CMsgTEBeamRing::_internal_mutable_base() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.base_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgTEBaseBeam>(GetArenaForAllocation()); - _impl_.base_ = p; - } - return _impl_.base_; -} -inline ::CMsgTEBaseBeam* CMsgTEBeamRing::mutable_base() { - ::CMsgTEBaseBeam* _msg = _internal_mutable_base(); - // @@protoc_insertion_point(field_mutable:CMsgTEBeamRing.base) - return _msg; -} -inline void CMsgTEBeamRing::set_allocated_base(::CMsgTEBaseBeam* base) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.base_; - } - if (base) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(base); - if (message_arena != submessage_arena) { - base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, base, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.base_ = base; - // @@protoc_insertion_point(field_set_allocated:CMsgTEBeamRing.base) -} - -// optional uint32 startentity = 2; -inline bool CMsgTEBeamRing::_internal_has_startentity() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgTEBeamRing::has_startentity() const { - return _internal_has_startentity(); -} -inline void CMsgTEBeamRing::clear_startentity() { - _impl_.startentity_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgTEBeamRing::_internal_startentity() const { - return _impl_.startentity_; -} -inline uint32_t CMsgTEBeamRing::startentity() const { - // @@protoc_insertion_point(field_get:CMsgTEBeamRing.startentity) - return _internal_startentity(); -} -inline void CMsgTEBeamRing::_internal_set_startentity(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.startentity_ = value; -} -inline void CMsgTEBeamRing::set_startentity(uint32_t value) { - _internal_set_startentity(value); - // @@protoc_insertion_point(field_set:CMsgTEBeamRing.startentity) -} - -// optional uint32 endentity = 3; -inline bool CMsgTEBeamRing::_internal_has_endentity() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgTEBeamRing::has_endentity() const { - return _internal_has_endentity(); -} -inline void CMsgTEBeamRing::clear_endentity() { - _impl_.endentity_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgTEBeamRing::_internal_endentity() const { - return _impl_.endentity_; -} -inline uint32_t CMsgTEBeamRing::endentity() const { - // @@protoc_insertion_point(field_get:CMsgTEBeamRing.endentity) - return _internal_endentity(); -} -inline void CMsgTEBeamRing::_internal_set_endentity(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.endentity_ = value; -} -inline void CMsgTEBeamRing::set_endentity(uint32_t value) { - _internal_set_endentity(value); - // @@protoc_insertion_point(field_set:CMsgTEBeamRing.endentity) -} - -// ------------------------------------------------------------------- - -// CMsgTEBubbles - -// optional .CMsgVector mins = 1; -inline bool CMsgTEBubbles::_internal_has_mins() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.mins_ != nullptr); - return value; -} -inline bool CMsgTEBubbles::has_mins() const { - return _internal_has_mins(); -} -inline const ::CMsgVector& CMsgTEBubbles::_internal_mins() const { - const ::CMsgVector* p = _impl_.mins_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEBubbles::mins() const { - // @@protoc_insertion_point(field_get:CMsgTEBubbles.mins) - return _internal_mins(); -} -inline void CMsgTEBubbles::unsafe_arena_set_allocated_mins( - ::CMsgVector* mins) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.mins_); - } - _impl_.mins_ = mins; - if (mins) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBubbles.mins) -} -inline ::CMsgVector* CMsgTEBubbles::release_mins() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.mins_; - _impl_.mins_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEBubbles::unsafe_arena_release_mins() { - // @@protoc_insertion_point(field_release:CMsgTEBubbles.mins) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.mins_; - _impl_.mins_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEBubbles::_internal_mutable_mins() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.mins_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.mins_ = p; - } - return _impl_.mins_; -} -inline ::CMsgVector* CMsgTEBubbles::mutable_mins() { - ::CMsgVector* _msg = _internal_mutable_mins(); - // @@protoc_insertion_point(field_mutable:CMsgTEBubbles.mins) - return _msg; -} -inline void CMsgTEBubbles::set_allocated_mins(::CMsgVector* mins) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.mins_); - } - if (mins) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(mins)); - if (message_arena != submessage_arena) { - mins = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, mins, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.mins_ = mins; - // @@protoc_insertion_point(field_set_allocated:CMsgTEBubbles.mins) -} - -// optional .CMsgVector maxs = 2; -inline bool CMsgTEBubbles::_internal_has_maxs() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.maxs_ != nullptr); - return value; -} -inline bool CMsgTEBubbles::has_maxs() const { - return _internal_has_maxs(); -} -inline const ::CMsgVector& CMsgTEBubbles::_internal_maxs() const { - const ::CMsgVector* p = _impl_.maxs_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEBubbles::maxs() const { - // @@protoc_insertion_point(field_get:CMsgTEBubbles.maxs) - return _internal_maxs(); -} -inline void CMsgTEBubbles::unsafe_arena_set_allocated_maxs( - ::CMsgVector* maxs) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.maxs_); - } - _impl_.maxs_ = maxs; - if (maxs) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBubbles.maxs) -} -inline ::CMsgVector* CMsgTEBubbles::release_maxs() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.maxs_; - _impl_.maxs_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEBubbles::unsafe_arena_release_maxs() { - // @@protoc_insertion_point(field_release:CMsgTEBubbles.maxs) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.maxs_; - _impl_.maxs_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEBubbles::_internal_mutable_maxs() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.maxs_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.maxs_ = p; - } - return _impl_.maxs_; -} -inline ::CMsgVector* CMsgTEBubbles::mutable_maxs() { - ::CMsgVector* _msg = _internal_mutable_maxs(); - // @@protoc_insertion_point(field_mutable:CMsgTEBubbles.maxs) - return _msg; -} -inline void CMsgTEBubbles::set_allocated_maxs(::CMsgVector* maxs) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.maxs_); - } - if (maxs) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(maxs)); - if (message_arena != submessage_arena) { - maxs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, maxs, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.maxs_ = maxs; - // @@protoc_insertion_point(field_set_allocated:CMsgTEBubbles.maxs) -} - -// optional float height = 3; -inline bool CMsgTEBubbles::_internal_has_height() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgTEBubbles::has_height() const { - return _internal_has_height(); -} -inline void CMsgTEBubbles::clear_height() { - _impl_.height_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CMsgTEBubbles::_internal_height() const { - return _impl_.height_; -} -inline float CMsgTEBubbles::height() const { - // @@protoc_insertion_point(field_get:CMsgTEBubbles.height) - return _internal_height(); -} -inline void CMsgTEBubbles::_internal_set_height(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.height_ = value; -} -inline void CMsgTEBubbles::set_height(float value) { - _internal_set_height(value); - // @@protoc_insertion_point(field_set:CMsgTEBubbles.height) -} - -// optional uint32 count = 4; -inline bool CMsgTEBubbles::_internal_has_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgTEBubbles::has_count() const { - return _internal_has_count(); -} -inline void CMsgTEBubbles::clear_count() { - _impl_.count_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgTEBubbles::_internal_count() const { - return _impl_.count_; -} -inline uint32_t CMsgTEBubbles::count() const { - // @@protoc_insertion_point(field_get:CMsgTEBubbles.count) - return _internal_count(); -} -inline void CMsgTEBubbles::_internal_set_count(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.count_ = value; -} -inline void CMsgTEBubbles::set_count(uint32_t value) { - _internal_set_count(value); - // @@protoc_insertion_point(field_set:CMsgTEBubbles.count) -} - -// optional float speed = 5; -inline bool CMsgTEBubbles::_internal_has_speed() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgTEBubbles::has_speed() const { - return _internal_has_speed(); -} -inline void CMsgTEBubbles::clear_speed() { - _impl_.speed_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float CMsgTEBubbles::_internal_speed() const { - return _impl_.speed_; -} -inline float CMsgTEBubbles::speed() const { - // @@protoc_insertion_point(field_get:CMsgTEBubbles.speed) - return _internal_speed(); -} -inline void CMsgTEBubbles::_internal_set_speed(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.speed_ = value; -} -inline void CMsgTEBubbles::set_speed(float value) { - _internal_set_speed(value); - // @@protoc_insertion_point(field_set:CMsgTEBubbles.speed) -} - -// ------------------------------------------------------------------- - -// CMsgTEBubbleTrail - -// optional .CMsgVector mins = 1; -inline bool CMsgTEBubbleTrail::_internal_has_mins() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.mins_ != nullptr); - return value; -} -inline bool CMsgTEBubbleTrail::has_mins() const { - return _internal_has_mins(); -} -inline const ::CMsgVector& CMsgTEBubbleTrail::_internal_mins() const { - const ::CMsgVector* p = _impl_.mins_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEBubbleTrail::mins() const { - // @@protoc_insertion_point(field_get:CMsgTEBubbleTrail.mins) - return _internal_mins(); -} -inline void CMsgTEBubbleTrail::unsafe_arena_set_allocated_mins( - ::CMsgVector* mins) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.mins_); - } - _impl_.mins_ = mins; - if (mins) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBubbleTrail.mins) -} -inline ::CMsgVector* CMsgTEBubbleTrail::release_mins() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.mins_; - _impl_.mins_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEBubbleTrail::unsafe_arena_release_mins() { - // @@protoc_insertion_point(field_release:CMsgTEBubbleTrail.mins) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.mins_; - _impl_.mins_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEBubbleTrail::_internal_mutable_mins() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.mins_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.mins_ = p; - } - return _impl_.mins_; -} -inline ::CMsgVector* CMsgTEBubbleTrail::mutable_mins() { - ::CMsgVector* _msg = _internal_mutable_mins(); - // @@protoc_insertion_point(field_mutable:CMsgTEBubbleTrail.mins) - return _msg; -} -inline void CMsgTEBubbleTrail::set_allocated_mins(::CMsgVector* mins) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.mins_); - } - if (mins) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(mins)); - if (message_arena != submessage_arena) { - mins = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, mins, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.mins_ = mins; - // @@protoc_insertion_point(field_set_allocated:CMsgTEBubbleTrail.mins) -} - -// optional .CMsgVector maxs = 2; -inline bool CMsgTEBubbleTrail::_internal_has_maxs() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.maxs_ != nullptr); - return value; -} -inline bool CMsgTEBubbleTrail::has_maxs() const { - return _internal_has_maxs(); -} -inline const ::CMsgVector& CMsgTEBubbleTrail::_internal_maxs() const { - const ::CMsgVector* p = _impl_.maxs_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEBubbleTrail::maxs() const { - // @@protoc_insertion_point(field_get:CMsgTEBubbleTrail.maxs) - return _internal_maxs(); -} -inline void CMsgTEBubbleTrail::unsafe_arena_set_allocated_maxs( - ::CMsgVector* maxs) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.maxs_); - } - _impl_.maxs_ = maxs; - if (maxs) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBubbleTrail.maxs) -} -inline ::CMsgVector* CMsgTEBubbleTrail::release_maxs() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.maxs_; - _impl_.maxs_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEBubbleTrail::unsafe_arena_release_maxs() { - // @@protoc_insertion_point(field_release:CMsgTEBubbleTrail.maxs) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.maxs_; - _impl_.maxs_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEBubbleTrail::_internal_mutable_maxs() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.maxs_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.maxs_ = p; - } - return _impl_.maxs_; -} -inline ::CMsgVector* CMsgTEBubbleTrail::mutable_maxs() { - ::CMsgVector* _msg = _internal_mutable_maxs(); - // @@protoc_insertion_point(field_mutable:CMsgTEBubbleTrail.maxs) - return _msg; -} -inline void CMsgTEBubbleTrail::set_allocated_maxs(::CMsgVector* maxs) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.maxs_); - } - if (maxs) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(maxs)); - if (message_arena != submessage_arena) { - maxs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, maxs, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.maxs_ = maxs; - // @@protoc_insertion_point(field_set_allocated:CMsgTEBubbleTrail.maxs) -} - -// optional float waterz = 3; -inline bool CMsgTEBubbleTrail::_internal_has_waterz() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgTEBubbleTrail::has_waterz() const { - return _internal_has_waterz(); -} -inline void CMsgTEBubbleTrail::clear_waterz() { - _impl_.waterz_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CMsgTEBubbleTrail::_internal_waterz() const { - return _impl_.waterz_; -} -inline float CMsgTEBubbleTrail::waterz() const { - // @@protoc_insertion_point(field_get:CMsgTEBubbleTrail.waterz) - return _internal_waterz(); -} -inline void CMsgTEBubbleTrail::_internal_set_waterz(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.waterz_ = value; -} -inline void CMsgTEBubbleTrail::set_waterz(float value) { - _internal_set_waterz(value); - // @@protoc_insertion_point(field_set:CMsgTEBubbleTrail.waterz) -} - -// optional uint32 count = 4; -inline bool CMsgTEBubbleTrail::_internal_has_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgTEBubbleTrail::has_count() const { - return _internal_has_count(); -} -inline void CMsgTEBubbleTrail::clear_count() { - _impl_.count_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgTEBubbleTrail::_internal_count() const { - return _impl_.count_; -} -inline uint32_t CMsgTEBubbleTrail::count() const { - // @@protoc_insertion_point(field_get:CMsgTEBubbleTrail.count) - return _internal_count(); -} -inline void CMsgTEBubbleTrail::_internal_set_count(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.count_ = value; -} -inline void CMsgTEBubbleTrail::set_count(uint32_t value) { - _internal_set_count(value); - // @@protoc_insertion_point(field_set:CMsgTEBubbleTrail.count) -} - -// optional float speed = 5; -inline bool CMsgTEBubbleTrail::_internal_has_speed() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgTEBubbleTrail::has_speed() const { - return _internal_has_speed(); -} -inline void CMsgTEBubbleTrail::clear_speed() { - _impl_.speed_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float CMsgTEBubbleTrail::_internal_speed() const { - return _impl_.speed_; -} -inline float CMsgTEBubbleTrail::speed() const { - // @@protoc_insertion_point(field_get:CMsgTEBubbleTrail.speed) - return _internal_speed(); -} -inline void CMsgTEBubbleTrail::_internal_set_speed(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.speed_ = value; -} -inline void CMsgTEBubbleTrail::set_speed(float value) { - _internal_set_speed(value); - // @@protoc_insertion_point(field_set:CMsgTEBubbleTrail.speed) -} - -// ------------------------------------------------------------------- - -// CMsgTEDecal - -// optional .CMsgVector origin = 1; -inline bool CMsgTEDecal::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CMsgTEDecal::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CMsgTEDecal::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEDecal::origin() const { - // @@protoc_insertion_point(field_get:CMsgTEDecal.origin) - return _internal_origin(); -} -inline void CMsgTEDecal::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEDecal.origin) -} -inline ::CMsgVector* CMsgTEDecal::release_origin() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEDecal::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CMsgTEDecal.origin) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEDecal::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CMsgTEDecal::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CMsgTEDecal.origin) - return _msg; -} -inline void CMsgTEDecal::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CMsgTEDecal.origin) -} - -// optional .CMsgVector start = 2; -inline bool CMsgTEDecal::_internal_has_start() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.start_ != nullptr); - return value; -} -inline bool CMsgTEDecal::has_start() const { - return _internal_has_start(); -} -inline const ::CMsgVector& CMsgTEDecal::_internal_start() const { - const ::CMsgVector* p = _impl_.start_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEDecal::start() const { - // @@protoc_insertion_point(field_get:CMsgTEDecal.start) - return _internal_start(); -} -inline void CMsgTEDecal::unsafe_arena_set_allocated_start( - ::CMsgVector* start) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_); - } - _impl_.start_ = start; - if (start) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEDecal.start) -} -inline ::CMsgVector* CMsgTEDecal::release_start() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.start_; - _impl_.start_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEDecal::unsafe_arena_release_start() { - // @@protoc_insertion_point(field_release:CMsgTEDecal.start) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.start_; - _impl_.start_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEDecal::_internal_mutable_start() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.start_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.start_ = p; - } - return _impl_.start_; -} -inline ::CMsgVector* CMsgTEDecal::mutable_start() { - ::CMsgVector* _msg = _internal_mutable_start(); - // @@protoc_insertion_point(field_mutable:CMsgTEDecal.start) - return _msg; -} -inline void CMsgTEDecal::set_allocated_start(::CMsgVector* start) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_); - } - if (start) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start)); - if (message_arena != submessage_arena) { - start = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, start, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.start_ = start; - // @@protoc_insertion_point(field_set_allocated:CMsgTEDecal.start) -} - -// optional int32 entity = 3 [default = -1]; -inline bool CMsgTEDecal::_internal_has_entity() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgTEDecal::has_entity() const { - return _internal_has_entity(); -} -inline void CMsgTEDecal::clear_entity() { - _impl_.entity_ = -1; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CMsgTEDecal::_internal_entity() const { - return _impl_.entity_; -} -inline int32_t CMsgTEDecal::entity() const { - // @@protoc_insertion_point(field_get:CMsgTEDecal.entity) - return _internal_entity(); -} -inline void CMsgTEDecal::_internal_set_entity(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.entity_ = value; -} -inline void CMsgTEDecal::set_entity(int32_t value) { - _internal_set_entity(value); - // @@protoc_insertion_point(field_set:CMsgTEDecal.entity) -} - -// optional uint32 hitbox = 4; -inline bool CMsgTEDecal::_internal_has_hitbox() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgTEDecal::has_hitbox() const { - return _internal_has_hitbox(); -} -inline void CMsgTEDecal::clear_hitbox() { - _impl_.hitbox_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgTEDecal::_internal_hitbox() const { - return _impl_.hitbox_; -} -inline uint32_t CMsgTEDecal::hitbox() const { - // @@protoc_insertion_point(field_get:CMsgTEDecal.hitbox) - return _internal_hitbox(); -} -inline void CMsgTEDecal::_internal_set_hitbox(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.hitbox_ = value; -} -inline void CMsgTEDecal::set_hitbox(uint32_t value) { - _internal_set_hitbox(value); - // @@protoc_insertion_point(field_set:CMsgTEDecal.hitbox) -} - -// optional uint32 index = 5; -inline bool CMsgTEDecal::_internal_has_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgTEDecal::has_index() const { - return _internal_has_index(); -} -inline void CMsgTEDecal::clear_index() { - _impl_.index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgTEDecal::_internal_index() const { - return _impl_.index_; -} -inline uint32_t CMsgTEDecal::index() const { - // @@protoc_insertion_point(field_get:CMsgTEDecal.index) - return _internal_index(); -} -inline void CMsgTEDecal::_internal_set_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.index_ = value; -} -inline void CMsgTEDecal::set_index(uint32_t value) { - _internal_set_index(value); - // @@protoc_insertion_point(field_set:CMsgTEDecal.index) -} - -// ------------------------------------------------------------------- - -// CMsgEffectData - -// optional .CMsgVector origin = 1; -inline bool CMsgEffectData::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CMsgEffectData::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CMsgEffectData::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgEffectData::origin() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.origin) - return _internal_origin(); -} -inline void CMsgEffectData::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgEffectData.origin) -} -inline ::CMsgVector* CMsgEffectData::release_origin() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgEffectData::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CMsgEffectData.origin) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgEffectData::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CMsgEffectData::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CMsgEffectData.origin) - return _msg; -} -inline void CMsgEffectData::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CMsgEffectData.origin) -} - -// optional .CMsgVector start = 2; -inline bool CMsgEffectData::_internal_has_start() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.start_ != nullptr); - return value; -} -inline bool CMsgEffectData::has_start() const { - return _internal_has_start(); -} -inline const ::CMsgVector& CMsgEffectData::_internal_start() const { - const ::CMsgVector* p = _impl_.start_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgEffectData::start() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.start) - return _internal_start(); -} -inline void CMsgEffectData::unsafe_arena_set_allocated_start( - ::CMsgVector* start) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_); - } - _impl_.start_ = start; - if (start) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgEffectData.start) -} -inline ::CMsgVector* CMsgEffectData::release_start() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.start_; - _impl_.start_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgEffectData::unsafe_arena_release_start() { - // @@protoc_insertion_point(field_release:CMsgEffectData.start) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.start_; - _impl_.start_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgEffectData::_internal_mutable_start() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.start_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.start_ = p; - } - return _impl_.start_; -} -inline ::CMsgVector* CMsgEffectData::mutable_start() { - ::CMsgVector* _msg = _internal_mutable_start(); - // @@protoc_insertion_point(field_mutable:CMsgEffectData.start) - return _msg; -} -inline void CMsgEffectData::set_allocated_start(::CMsgVector* start) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_); - } - if (start) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start)); - if (message_arena != submessage_arena) { - start = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, start, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.start_ = start; - // @@protoc_insertion_point(field_set_allocated:CMsgEffectData.start) -} - -// optional .CMsgVector normal = 3; -inline bool CMsgEffectData::_internal_has_normal() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.normal_ != nullptr); - return value; -} -inline bool CMsgEffectData::has_normal() const { - return _internal_has_normal(); -} -inline const ::CMsgVector& CMsgEffectData::_internal_normal() const { - const ::CMsgVector* p = _impl_.normal_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgEffectData::normal() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.normal) - return _internal_normal(); -} -inline void CMsgEffectData::unsafe_arena_set_allocated_normal( - ::CMsgVector* normal) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); - } - _impl_.normal_ = normal; - if (normal) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgEffectData.normal) -} -inline ::CMsgVector* CMsgEffectData::release_normal() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.normal_; - _impl_.normal_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgEffectData::unsafe_arena_release_normal() { - // @@protoc_insertion_point(field_release:CMsgEffectData.normal) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.normal_; - _impl_.normal_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgEffectData::_internal_mutable_normal() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.normal_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.normal_ = p; - } - return _impl_.normal_; -} -inline ::CMsgVector* CMsgEffectData::mutable_normal() { - ::CMsgVector* _msg = _internal_mutable_normal(); - // @@protoc_insertion_point(field_mutable:CMsgEffectData.normal) - return _msg; -} -inline void CMsgEffectData::set_allocated_normal(::CMsgVector* normal) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); - } - if (normal) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(normal)); - if (message_arena != submessage_arena) { - normal = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, normal, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.normal_ = normal; - // @@protoc_insertion_point(field_set_allocated:CMsgEffectData.normal) -} - -// optional .CMsgQAngle angles = 4; -inline bool CMsgEffectData::_internal_has_angles() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.angles_ != nullptr); - return value; -} -inline bool CMsgEffectData::has_angles() const { - return _internal_has_angles(); -} -inline const ::CMsgQAngle& CMsgEffectData::_internal_angles() const { - const ::CMsgQAngle* p = _impl_.angles_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CMsgEffectData::angles() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.angles) - return _internal_angles(); -} -inline void CMsgEffectData::unsafe_arena_set_allocated_angles( - ::CMsgQAngle* angles) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); - } - _impl_.angles_ = angles; - if (angles) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgEffectData.angles) -} -inline ::CMsgQAngle* CMsgEffectData::release_angles() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgQAngle* temp = _impl_.angles_; - _impl_.angles_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CMsgEffectData::unsafe_arena_release_angles() { - // @@protoc_insertion_point(field_release:CMsgEffectData.angles) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgQAngle* temp = _impl_.angles_; - _impl_.angles_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CMsgEffectData::_internal_mutable_angles() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.angles_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.angles_ = p; - } - return _impl_.angles_; -} -inline ::CMsgQAngle* CMsgEffectData::mutable_angles() { - ::CMsgQAngle* _msg = _internal_mutable_angles(); - // @@protoc_insertion_point(field_mutable:CMsgEffectData.angles) - return _msg; -} -inline void CMsgEffectData::set_allocated_angles(::CMsgQAngle* angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); - } - if (angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angles)); - if (message_arena != submessage_arena) { - angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, angles, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.angles_ = angles; - // @@protoc_insertion_point(field_set_allocated:CMsgEffectData.angles) -} - -// optional fixed32 entity = 5 [default = 16777215]; -inline bool CMsgEffectData::_internal_has_entity() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool CMsgEffectData::has_entity() const { - return _internal_has_entity(); -} -inline void CMsgEffectData::clear_entity() { - _impl_.entity_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline uint32_t CMsgEffectData::_internal_entity() const { - return _impl_.entity_; -} -inline uint32_t CMsgEffectData::entity() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.entity) - return _internal_entity(); -} -inline void CMsgEffectData::_internal_set_entity(uint32_t value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.entity_ = value; -} -inline void CMsgEffectData::set_entity(uint32_t value) { - _internal_set_entity(value); - // @@protoc_insertion_point(field_set:CMsgEffectData.entity) -} - -// optional fixed32 otherentity = 6 [default = 16777215]; -inline bool CMsgEffectData::_internal_has_otherentity() const { - bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; - return value; -} -inline bool CMsgEffectData::has_otherentity() const { - return _internal_has_otherentity(); -} -inline void CMsgEffectData::clear_otherentity() { - _impl_.otherentity_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00040000u; -} -inline uint32_t CMsgEffectData::_internal_otherentity() const { - return _impl_.otherentity_; -} -inline uint32_t CMsgEffectData::otherentity() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.otherentity) - return _internal_otherentity(); -} -inline void CMsgEffectData::_internal_set_otherentity(uint32_t value) { - _impl_._has_bits_[0] |= 0x00040000u; - _impl_.otherentity_ = value; -} -inline void CMsgEffectData::set_otherentity(uint32_t value) { - _internal_set_otherentity(value); - // @@protoc_insertion_point(field_set:CMsgEffectData.otherentity) -} - -// optional float scale = 7; -inline bool CMsgEffectData::_internal_has_scale() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgEffectData::has_scale() const { - return _internal_has_scale(); -} -inline void CMsgEffectData::clear_scale() { - _impl_.scale_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float CMsgEffectData::_internal_scale() const { - return _impl_.scale_; -} -inline float CMsgEffectData::scale() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.scale) - return _internal_scale(); -} -inline void CMsgEffectData::_internal_set_scale(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.scale_ = value; -} -inline void CMsgEffectData::set_scale(float value) { - _internal_set_scale(value); - // @@protoc_insertion_point(field_set:CMsgEffectData.scale) -} - -// optional float magnitude = 8; -inline bool CMsgEffectData::_internal_has_magnitude() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgEffectData::has_magnitude() const { - return _internal_has_magnitude(); -} -inline void CMsgEffectData::clear_magnitude() { - _impl_.magnitude_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline float CMsgEffectData::_internal_magnitude() const { - return _impl_.magnitude_; -} -inline float CMsgEffectData::magnitude() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.magnitude) - return _internal_magnitude(); -} -inline void CMsgEffectData::_internal_set_magnitude(float value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.magnitude_ = value; -} -inline void CMsgEffectData::set_magnitude(float value) { - _internal_set_magnitude(value); - // @@protoc_insertion_point(field_set:CMsgEffectData.magnitude) -} - -// optional float radius = 9; -inline bool CMsgEffectData::_internal_has_radius() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgEffectData::has_radius() const { - return _internal_has_radius(); -} -inline void CMsgEffectData::clear_radius() { - _impl_.radius_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline float CMsgEffectData::_internal_radius() const { - return _impl_.radius_; -} -inline float CMsgEffectData::radius() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.radius) - return _internal_radius(); -} -inline void CMsgEffectData::_internal_set_radius(float value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.radius_ = value; -} -inline void CMsgEffectData::set_radius(float value) { - _internal_set_radius(value); - // @@protoc_insertion_point(field_set:CMsgEffectData.radius) -} - -// optional fixed32 surfaceprop = 10; -inline bool CMsgEffectData::_internal_has_surfaceprop() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgEffectData::has_surfaceprop() const { - return _internal_has_surfaceprop(); -} -inline void CMsgEffectData::clear_surfaceprop() { - _impl_.surfaceprop_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgEffectData::_internal_surfaceprop() const { - return _impl_.surfaceprop_; -} -inline uint32_t CMsgEffectData::surfaceprop() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.surfaceprop) - return _internal_surfaceprop(); -} -inline void CMsgEffectData::_internal_set_surfaceprop(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.surfaceprop_ = value; -} -inline void CMsgEffectData::set_surfaceprop(uint32_t value) { - _internal_set_surfaceprop(value); - // @@protoc_insertion_point(field_set:CMsgEffectData.surfaceprop) -} - -// optional fixed64 effectindex = 11; -inline bool CMsgEffectData::_internal_has_effectindex() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgEffectData::has_effectindex() const { - return _internal_has_effectindex(); -} -inline void CMsgEffectData::clear_effectindex() { - _impl_.effectindex_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint64_t CMsgEffectData::_internal_effectindex() const { - return _impl_.effectindex_; -} -inline uint64_t CMsgEffectData::effectindex() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.effectindex) - return _internal_effectindex(); -} -inline void CMsgEffectData::_internal_set_effectindex(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.effectindex_ = value; -} -inline void CMsgEffectData::set_effectindex(uint64_t value) { - _internal_set_effectindex(value); - // @@protoc_insertion_point(field_set:CMsgEffectData.effectindex) -} - -// optional uint32 damagetype = 12; -inline bool CMsgEffectData::_internal_has_damagetype() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgEffectData::has_damagetype() const { - return _internal_has_damagetype(); -} -inline void CMsgEffectData::clear_damagetype() { - _impl_.damagetype_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgEffectData::_internal_damagetype() const { - return _impl_.damagetype_; -} -inline uint32_t CMsgEffectData::damagetype() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.damagetype) - return _internal_damagetype(); -} -inline void CMsgEffectData::_internal_set_damagetype(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.damagetype_ = value; -} -inline void CMsgEffectData::set_damagetype(uint32_t value) { - _internal_set_damagetype(value); - // @@protoc_insertion_point(field_set:CMsgEffectData.damagetype) -} - -// optional uint32 material = 13; -inline bool CMsgEffectData::_internal_has_material() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgEffectData::has_material() const { - return _internal_has_material(); -} -inline void CMsgEffectData::clear_material() { - _impl_.material_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgEffectData::_internal_material() const { - return _impl_.material_; -} -inline uint32_t CMsgEffectData::material() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.material) - return _internal_material(); -} -inline void CMsgEffectData::_internal_set_material(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.material_ = value; -} -inline void CMsgEffectData::set_material(uint32_t value) { - _internal_set_material(value); - // @@protoc_insertion_point(field_set:CMsgEffectData.material) -} - -// optional uint32 hitbox = 14; -inline bool CMsgEffectData::_internal_has_hitbox() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgEffectData::has_hitbox() const { - return _internal_has_hitbox(); -} -inline void CMsgEffectData::clear_hitbox() { - _impl_.hitbox_ = 0u; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline uint32_t CMsgEffectData::_internal_hitbox() const { - return _impl_.hitbox_; -} -inline uint32_t CMsgEffectData::hitbox() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.hitbox) - return _internal_hitbox(); -} -inline void CMsgEffectData::_internal_set_hitbox(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.hitbox_ = value; -} -inline void CMsgEffectData::set_hitbox(uint32_t value) { - _internal_set_hitbox(value); - // @@protoc_insertion_point(field_set:CMsgEffectData.hitbox) -} - -// optional uint32 color = 15; -inline bool CMsgEffectData::_internal_has_color() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgEffectData::has_color() const { - return _internal_has_color(); -} -inline void CMsgEffectData::clear_color() { - _impl_.color_ = 0u; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline uint32_t CMsgEffectData::_internal_color() const { - return _impl_.color_; -} -inline uint32_t CMsgEffectData::color() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.color) - return _internal_color(); -} -inline void CMsgEffectData::_internal_set_color(uint32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.color_ = value; -} -inline void CMsgEffectData::set_color(uint32_t value) { - _internal_set_color(value); - // @@protoc_insertion_point(field_set:CMsgEffectData.color) -} - -// optional uint32 flags = 16; -inline bool CMsgEffectData::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CMsgEffectData::has_flags() const { - return _internal_has_flags(); -} -inline void CMsgEffectData::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CMsgEffectData::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CMsgEffectData::flags() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.flags) - return _internal_flags(); -} -inline void CMsgEffectData::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.flags_ = value; -} -inline void CMsgEffectData::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CMsgEffectData.flags) -} - -// optional int32 attachmentindex = 17; -inline bool CMsgEffectData::_internal_has_attachmentindex() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CMsgEffectData::has_attachmentindex() const { - return _internal_has_attachmentindex(); -} -inline void CMsgEffectData::clear_attachmentindex() { - _impl_.attachmentindex_ = 0; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline int32_t CMsgEffectData::_internal_attachmentindex() const { - return _impl_.attachmentindex_; -} -inline int32_t CMsgEffectData::attachmentindex() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.attachmentindex) - return _internal_attachmentindex(); -} -inline void CMsgEffectData::_internal_set_attachmentindex(int32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.attachmentindex_ = value; -} -inline void CMsgEffectData::set_attachmentindex(int32_t value) { - _internal_set_attachmentindex(value); - // @@protoc_insertion_point(field_set:CMsgEffectData.attachmentindex) -} - -// optional uint32 effectname = 18; -inline bool CMsgEffectData::_internal_has_effectname() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CMsgEffectData::has_effectname() const { - return _internal_has_effectname(); -} -inline void CMsgEffectData::clear_effectname() { - _impl_.effectname_ = 0u; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline uint32_t CMsgEffectData::_internal_effectname() const { - return _impl_.effectname_; -} -inline uint32_t CMsgEffectData::effectname() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.effectname) - return _internal_effectname(); -} -inline void CMsgEffectData::_internal_set_effectname(uint32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.effectname_ = value; -} -inline void CMsgEffectData::set_effectname(uint32_t value) { - _internal_set_effectname(value); - // @@protoc_insertion_point(field_set:CMsgEffectData.effectname) -} - -// optional uint32 attachmentname = 19; -inline bool CMsgEffectData::_internal_has_attachmentname() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CMsgEffectData::has_attachmentname() const { - return _internal_has_attachmentname(); -} -inline void CMsgEffectData::clear_attachmentname() { - _impl_.attachmentname_ = 0u; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline uint32_t CMsgEffectData::_internal_attachmentname() const { - return _impl_.attachmentname_; -} -inline uint32_t CMsgEffectData::attachmentname() const { - // @@protoc_insertion_point(field_get:CMsgEffectData.attachmentname) - return _internal_attachmentname(); -} -inline void CMsgEffectData::_internal_set_attachmentname(uint32_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.attachmentname_ = value; -} -inline void CMsgEffectData::set_attachmentname(uint32_t value) { - _internal_set_attachmentname(value); - // @@protoc_insertion_point(field_set:CMsgEffectData.attachmentname) -} - -// ------------------------------------------------------------------- - -// CMsgTEEffectDispatch - -// optional .CMsgEffectData effectdata = 1; -inline bool CMsgTEEffectDispatch::_internal_has_effectdata() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.effectdata_ != nullptr); - return value; -} -inline bool CMsgTEEffectDispatch::has_effectdata() const { - return _internal_has_effectdata(); -} -inline void CMsgTEEffectDispatch::clear_effectdata() { - if (_impl_.effectdata_ != nullptr) _impl_.effectdata_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CMsgEffectData& CMsgTEEffectDispatch::_internal_effectdata() const { - const ::CMsgEffectData* p = _impl_.effectdata_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgEffectData_default_instance_); -} -inline const ::CMsgEffectData& CMsgTEEffectDispatch::effectdata() const { - // @@protoc_insertion_point(field_get:CMsgTEEffectDispatch.effectdata) - return _internal_effectdata(); -} -inline void CMsgTEEffectDispatch::unsafe_arena_set_allocated_effectdata( - ::CMsgEffectData* effectdata) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.effectdata_); - } - _impl_.effectdata_ = effectdata; - if (effectdata) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEEffectDispatch.effectdata) -} -inline ::CMsgEffectData* CMsgTEEffectDispatch::release_effectdata() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgEffectData* temp = _impl_.effectdata_; - _impl_.effectdata_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgEffectData* CMsgTEEffectDispatch::unsafe_arena_release_effectdata() { - // @@protoc_insertion_point(field_release:CMsgTEEffectDispatch.effectdata) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgEffectData* temp = _impl_.effectdata_; - _impl_.effectdata_ = nullptr; - return temp; -} -inline ::CMsgEffectData* CMsgTEEffectDispatch::_internal_mutable_effectdata() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.effectdata_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgEffectData>(GetArenaForAllocation()); - _impl_.effectdata_ = p; - } - return _impl_.effectdata_; -} -inline ::CMsgEffectData* CMsgTEEffectDispatch::mutable_effectdata() { - ::CMsgEffectData* _msg = _internal_mutable_effectdata(); - // @@protoc_insertion_point(field_mutable:CMsgTEEffectDispatch.effectdata) - return _msg; -} -inline void CMsgTEEffectDispatch::set_allocated_effectdata(::CMsgEffectData* effectdata) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.effectdata_; - } - if (effectdata) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(effectdata); - if (message_arena != submessage_arena) { - effectdata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, effectdata, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.effectdata_ = effectdata; - // @@protoc_insertion_point(field_set_allocated:CMsgTEEffectDispatch.effectdata) -} - -// ------------------------------------------------------------------- - -// CMsgTEEnergySplash - -// optional .CMsgVector pos = 1; -inline bool CMsgTEEnergySplash::_internal_has_pos() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.pos_ != nullptr); - return value; -} -inline bool CMsgTEEnergySplash::has_pos() const { - return _internal_has_pos(); -} -inline const ::CMsgVector& CMsgTEEnergySplash::_internal_pos() const { - const ::CMsgVector* p = _impl_.pos_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEEnergySplash::pos() const { - // @@protoc_insertion_point(field_get:CMsgTEEnergySplash.pos) - return _internal_pos(); -} -inline void CMsgTEEnergySplash::unsafe_arena_set_allocated_pos( - ::CMsgVector* pos) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); - } - _impl_.pos_ = pos; - if (pos) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEEnergySplash.pos) -} -inline ::CMsgVector* CMsgTEEnergySplash::release_pos() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.pos_; - _impl_.pos_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEEnergySplash::unsafe_arena_release_pos() { - // @@protoc_insertion_point(field_release:CMsgTEEnergySplash.pos) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.pos_; - _impl_.pos_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEEnergySplash::_internal_mutable_pos() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.pos_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.pos_ = p; - } - return _impl_.pos_; -} -inline ::CMsgVector* CMsgTEEnergySplash::mutable_pos() { - ::CMsgVector* _msg = _internal_mutable_pos(); - // @@protoc_insertion_point(field_mutable:CMsgTEEnergySplash.pos) - return _msg; -} -inline void CMsgTEEnergySplash::set_allocated_pos(::CMsgVector* pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); - } - if (pos) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pos)); - if (message_arena != submessage_arena) { - pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, pos, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.pos_ = pos; - // @@protoc_insertion_point(field_set_allocated:CMsgTEEnergySplash.pos) -} - -// optional .CMsgVector dir = 2; -inline bool CMsgTEEnergySplash::_internal_has_dir() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.dir_ != nullptr); - return value; -} -inline bool CMsgTEEnergySplash::has_dir() const { - return _internal_has_dir(); -} -inline const ::CMsgVector& CMsgTEEnergySplash::_internal_dir() const { - const ::CMsgVector* p = _impl_.dir_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEEnergySplash::dir() const { - // @@protoc_insertion_point(field_get:CMsgTEEnergySplash.dir) - return _internal_dir(); -} -inline void CMsgTEEnergySplash::unsafe_arena_set_allocated_dir( - ::CMsgVector* dir) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dir_); - } - _impl_.dir_ = dir; - if (dir) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEEnergySplash.dir) -} -inline ::CMsgVector* CMsgTEEnergySplash::release_dir() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.dir_; - _impl_.dir_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEEnergySplash::unsafe_arena_release_dir() { - // @@protoc_insertion_point(field_release:CMsgTEEnergySplash.dir) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.dir_; - _impl_.dir_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEEnergySplash::_internal_mutable_dir() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.dir_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.dir_ = p; - } - return _impl_.dir_; -} -inline ::CMsgVector* CMsgTEEnergySplash::mutable_dir() { - ::CMsgVector* _msg = _internal_mutable_dir(); - // @@protoc_insertion_point(field_mutable:CMsgTEEnergySplash.dir) - return _msg; -} -inline void CMsgTEEnergySplash::set_allocated_dir(::CMsgVector* dir) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dir_); - } - if (dir) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(dir)); - if (message_arena != submessage_arena) { - dir = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, dir, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.dir_ = dir; - // @@protoc_insertion_point(field_set_allocated:CMsgTEEnergySplash.dir) -} - -// optional bool explosive = 3; -inline bool CMsgTEEnergySplash::_internal_has_explosive() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgTEEnergySplash::has_explosive() const { - return _internal_has_explosive(); -} -inline void CMsgTEEnergySplash::clear_explosive() { - _impl_.explosive_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CMsgTEEnergySplash::_internal_explosive() const { - return _impl_.explosive_; -} -inline bool CMsgTEEnergySplash::explosive() const { - // @@protoc_insertion_point(field_get:CMsgTEEnergySplash.explosive) - return _internal_explosive(); -} -inline void CMsgTEEnergySplash::_internal_set_explosive(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.explosive_ = value; -} -inline void CMsgTEEnergySplash::set_explosive(bool value) { - _internal_set_explosive(value); - // @@protoc_insertion_point(field_set:CMsgTEEnergySplash.explosive) -} - -// ------------------------------------------------------------------- - -// CMsgTEFizz - -// optional int32 entity = 1 [default = -1]; -inline bool CMsgTEFizz::_internal_has_entity() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgTEFizz::has_entity() const { - return _internal_has_entity(); -} -inline void CMsgTEFizz::clear_entity() { - _impl_.entity_ = -1; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CMsgTEFizz::_internal_entity() const { - return _impl_.entity_; -} -inline int32_t CMsgTEFizz::entity() const { - // @@protoc_insertion_point(field_get:CMsgTEFizz.entity) - return _internal_entity(); -} -inline void CMsgTEFizz::_internal_set_entity(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.entity_ = value; -} -inline void CMsgTEFizz::set_entity(int32_t value) { - _internal_set_entity(value); - // @@protoc_insertion_point(field_set:CMsgTEFizz.entity) -} - -// optional uint32 density = 2; -inline bool CMsgTEFizz::_internal_has_density() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgTEFizz::has_density() const { - return _internal_has_density(); -} -inline void CMsgTEFizz::clear_density() { - _impl_.density_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CMsgTEFizz::_internal_density() const { - return _impl_.density_; -} -inline uint32_t CMsgTEFizz::density() const { - // @@protoc_insertion_point(field_get:CMsgTEFizz.density) - return _internal_density(); -} -inline void CMsgTEFizz::_internal_set_density(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.density_ = value; -} -inline void CMsgTEFizz::set_density(uint32_t value) { - _internal_set_density(value); - // @@protoc_insertion_point(field_set:CMsgTEFizz.density) -} - -// optional int32 current = 3; -inline bool CMsgTEFizz::_internal_has_current() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgTEFizz::has_current() const { - return _internal_has_current(); -} -inline void CMsgTEFizz::clear_current() { - _impl_.current_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CMsgTEFizz::_internal_current() const { - return _impl_.current_; -} -inline int32_t CMsgTEFizz::current() const { - // @@protoc_insertion_point(field_get:CMsgTEFizz.current) - return _internal_current(); -} -inline void CMsgTEFizz::_internal_set_current(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.current_ = value; -} -inline void CMsgTEFizz::set_current(int32_t value) { - _internal_set_current(value); - // @@protoc_insertion_point(field_set:CMsgTEFizz.current) -} - -// ------------------------------------------------------------------- - -// CMsgTEShatterSurface - -// optional .CMsgVector origin = 1; -inline bool CMsgTEShatterSurface::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CMsgTEShatterSurface::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CMsgTEShatterSurface::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEShatterSurface::origin() const { - // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.origin) - return _internal_origin(); -} -inline void CMsgTEShatterSurface::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEShatterSurface.origin) -} -inline ::CMsgVector* CMsgTEShatterSurface::release_origin() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEShatterSurface::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CMsgTEShatterSurface.origin) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEShatterSurface::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CMsgTEShatterSurface::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CMsgTEShatterSurface.origin) - return _msg; -} -inline void CMsgTEShatterSurface::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CMsgTEShatterSurface.origin) -} - -// optional .CMsgQAngle angles = 2; -inline bool CMsgTEShatterSurface::_internal_has_angles() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.angles_ != nullptr); - return value; -} -inline bool CMsgTEShatterSurface::has_angles() const { - return _internal_has_angles(); -} -inline const ::CMsgQAngle& CMsgTEShatterSurface::_internal_angles() const { - const ::CMsgQAngle* p = _impl_.angles_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CMsgTEShatterSurface::angles() const { - // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.angles) - return _internal_angles(); -} -inline void CMsgTEShatterSurface::unsafe_arena_set_allocated_angles( - ::CMsgQAngle* angles) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); - } - _impl_.angles_ = angles; - if (angles) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEShatterSurface.angles) -} -inline ::CMsgQAngle* CMsgTEShatterSurface::release_angles() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQAngle* temp = _impl_.angles_; - _impl_.angles_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CMsgTEShatterSurface::unsafe_arena_release_angles() { - // @@protoc_insertion_point(field_release:CMsgTEShatterSurface.angles) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQAngle* temp = _impl_.angles_; - _impl_.angles_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CMsgTEShatterSurface::_internal_mutable_angles() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.angles_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.angles_ = p; - } - return _impl_.angles_; -} -inline ::CMsgQAngle* CMsgTEShatterSurface::mutable_angles() { - ::CMsgQAngle* _msg = _internal_mutable_angles(); - // @@protoc_insertion_point(field_mutable:CMsgTEShatterSurface.angles) - return _msg; -} -inline void CMsgTEShatterSurface::set_allocated_angles(::CMsgQAngle* angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); - } - if (angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angles)); - if (message_arena != submessage_arena) { - angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, angles, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.angles_ = angles; - // @@protoc_insertion_point(field_set_allocated:CMsgTEShatterSurface.angles) -} - -// optional .CMsgVector force = 3; -inline bool CMsgTEShatterSurface::_internal_has_force() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.force_ != nullptr); - return value; -} -inline bool CMsgTEShatterSurface::has_force() const { - return _internal_has_force(); -} -inline const ::CMsgVector& CMsgTEShatterSurface::_internal_force() const { - const ::CMsgVector* p = _impl_.force_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEShatterSurface::force() const { - // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.force) - return _internal_force(); -} -inline void CMsgTEShatterSurface::unsafe_arena_set_allocated_force( - ::CMsgVector* force) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.force_); - } - _impl_.force_ = force; - if (force) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEShatterSurface.force) -} -inline ::CMsgVector* CMsgTEShatterSurface::release_force() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.force_; - _impl_.force_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEShatterSurface::unsafe_arena_release_force() { - // @@protoc_insertion_point(field_release:CMsgTEShatterSurface.force) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.force_; - _impl_.force_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEShatterSurface::_internal_mutable_force() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.force_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.force_ = p; - } - return _impl_.force_; -} -inline ::CMsgVector* CMsgTEShatterSurface::mutable_force() { - ::CMsgVector* _msg = _internal_mutable_force(); - // @@protoc_insertion_point(field_mutable:CMsgTEShatterSurface.force) - return _msg; -} -inline void CMsgTEShatterSurface::set_allocated_force(::CMsgVector* force) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.force_); - } - if (force) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(force)); - if (message_arena != submessage_arena) { - force = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, force, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.force_ = force; - // @@protoc_insertion_point(field_set_allocated:CMsgTEShatterSurface.force) -} - -// optional .CMsgVector forcepos = 4; -inline bool CMsgTEShatterSurface::_internal_has_forcepos() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.forcepos_ != nullptr); - return value; -} -inline bool CMsgTEShatterSurface::has_forcepos() const { - return _internal_has_forcepos(); -} -inline const ::CMsgVector& CMsgTEShatterSurface::_internal_forcepos() const { - const ::CMsgVector* p = _impl_.forcepos_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEShatterSurface::forcepos() const { - // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.forcepos) - return _internal_forcepos(); -} -inline void CMsgTEShatterSurface::unsafe_arena_set_allocated_forcepos( - ::CMsgVector* forcepos) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.forcepos_); - } - _impl_.forcepos_ = forcepos; - if (forcepos) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEShatterSurface.forcepos) -} -inline ::CMsgVector* CMsgTEShatterSurface::release_forcepos() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgVector* temp = _impl_.forcepos_; - _impl_.forcepos_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEShatterSurface::unsafe_arena_release_forcepos() { - // @@protoc_insertion_point(field_release:CMsgTEShatterSurface.forcepos) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgVector* temp = _impl_.forcepos_; - _impl_.forcepos_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEShatterSurface::_internal_mutable_forcepos() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.forcepos_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.forcepos_ = p; - } - return _impl_.forcepos_; -} -inline ::CMsgVector* CMsgTEShatterSurface::mutable_forcepos() { - ::CMsgVector* _msg = _internal_mutable_forcepos(); - // @@protoc_insertion_point(field_mutable:CMsgTEShatterSurface.forcepos) - return _msg; -} -inline void CMsgTEShatterSurface::set_allocated_forcepos(::CMsgVector* forcepos) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.forcepos_); - } - if (forcepos) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(forcepos)); - if (message_arena != submessage_arena) { - forcepos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, forcepos, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.forcepos_ = forcepos; - // @@protoc_insertion_point(field_set_allocated:CMsgTEShatterSurface.forcepos) -} - -// optional float width = 5; -inline bool CMsgTEShatterSurface::_internal_has_width() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgTEShatterSurface::has_width() const { - return _internal_has_width(); -} -inline void CMsgTEShatterSurface::clear_width() { - _impl_.width_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float CMsgTEShatterSurface::_internal_width() const { - return _impl_.width_; -} -inline float CMsgTEShatterSurface::width() const { - // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.width) - return _internal_width(); -} -inline void CMsgTEShatterSurface::_internal_set_width(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.width_ = value; -} -inline void CMsgTEShatterSurface::set_width(float value) { - _internal_set_width(value); - // @@protoc_insertion_point(field_set:CMsgTEShatterSurface.width) -} - -// optional float height = 6; -inline bool CMsgTEShatterSurface::_internal_has_height() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgTEShatterSurface::has_height() const { - return _internal_has_height(); -} -inline void CMsgTEShatterSurface::clear_height() { - _impl_.height_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline float CMsgTEShatterSurface::_internal_height() const { - return _impl_.height_; -} -inline float CMsgTEShatterSurface::height() const { - // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.height) - return _internal_height(); -} -inline void CMsgTEShatterSurface::_internal_set_height(float value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.height_ = value; -} -inline void CMsgTEShatterSurface::set_height(float value) { - _internal_set_height(value); - // @@protoc_insertion_point(field_set:CMsgTEShatterSurface.height) -} - -// optional float shardsize = 7; -inline bool CMsgTEShatterSurface::_internal_has_shardsize() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgTEShatterSurface::has_shardsize() const { - return _internal_has_shardsize(); -} -inline void CMsgTEShatterSurface::clear_shardsize() { - _impl_.shardsize_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline float CMsgTEShatterSurface::_internal_shardsize() const { - return _impl_.shardsize_; -} -inline float CMsgTEShatterSurface::shardsize() const { - // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.shardsize) - return _internal_shardsize(); -} -inline void CMsgTEShatterSurface::_internal_set_shardsize(float value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.shardsize_ = value; -} -inline void CMsgTEShatterSurface::set_shardsize(float value) { - _internal_set_shardsize(value); - // @@protoc_insertion_point(field_set:CMsgTEShatterSurface.shardsize) -} - -// optional uint32 surfacetype = 8; -inline bool CMsgTEShatterSurface::_internal_has_surfacetype() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgTEShatterSurface::has_surfacetype() const { - return _internal_has_surfacetype(); -} -inline void CMsgTEShatterSurface::clear_surfacetype() { - _impl_.surfacetype_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgTEShatterSurface::_internal_surfacetype() const { - return _impl_.surfacetype_; -} -inline uint32_t CMsgTEShatterSurface::surfacetype() const { - // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.surfacetype) - return _internal_surfacetype(); -} -inline void CMsgTEShatterSurface::_internal_set_surfacetype(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.surfacetype_ = value; -} -inline void CMsgTEShatterSurface::set_surfacetype(uint32_t value) { - _internal_set_surfacetype(value); - // @@protoc_insertion_point(field_set:CMsgTEShatterSurface.surfacetype) -} - -// optional fixed32 frontcolor = 9; -inline bool CMsgTEShatterSurface::_internal_has_frontcolor() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgTEShatterSurface::has_frontcolor() const { - return _internal_has_frontcolor(); -} -inline void CMsgTEShatterSurface::clear_frontcolor() { - _impl_.frontcolor_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgTEShatterSurface::_internal_frontcolor() const { - return _impl_.frontcolor_; -} -inline uint32_t CMsgTEShatterSurface::frontcolor() const { - // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.frontcolor) - return _internal_frontcolor(); -} -inline void CMsgTEShatterSurface::_internal_set_frontcolor(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.frontcolor_ = value; -} -inline void CMsgTEShatterSurface::set_frontcolor(uint32_t value) { - _internal_set_frontcolor(value); - // @@protoc_insertion_point(field_set:CMsgTEShatterSurface.frontcolor) -} - -// optional fixed32 backcolor = 10; -inline bool CMsgTEShatterSurface::_internal_has_backcolor() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgTEShatterSurface::has_backcolor() const { - return _internal_has_backcolor(); -} -inline void CMsgTEShatterSurface::clear_backcolor() { - _impl_.backcolor_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgTEShatterSurface::_internal_backcolor() const { - return _impl_.backcolor_; -} -inline uint32_t CMsgTEShatterSurface::backcolor() const { - // @@protoc_insertion_point(field_get:CMsgTEShatterSurface.backcolor) - return _internal_backcolor(); -} -inline void CMsgTEShatterSurface::_internal_set_backcolor(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.backcolor_ = value; -} -inline void CMsgTEShatterSurface::set_backcolor(uint32_t value) { - _internal_set_backcolor(value); - // @@protoc_insertion_point(field_set:CMsgTEShatterSurface.backcolor) -} - -// ------------------------------------------------------------------- - -// CMsgTEGlowSprite - -// optional .CMsgVector origin = 1; -inline bool CMsgTEGlowSprite::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CMsgTEGlowSprite::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CMsgTEGlowSprite::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEGlowSprite::origin() const { - // @@protoc_insertion_point(field_get:CMsgTEGlowSprite.origin) - return _internal_origin(); -} -inline void CMsgTEGlowSprite::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEGlowSprite.origin) -} -inline ::CMsgVector* CMsgTEGlowSprite::release_origin() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEGlowSprite::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CMsgTEGlowSprite.origin) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEGlowSprite::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CMsgTEGlowSprite::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CMsgTEGlowSprite.origin) - return _msg; -} -inline void CMsgTEGlowSprite::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CMsgTEGlowSprite.origin) -} - -// optional float scale = 2; -inline bool CMsgTEGlowSprite::_internal_has_scale() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgTEGlowSprite::has_scale() const { - return _internal_has_scale(); -} -inline void CMsgTEGlowSprite::clear_scale() { - _impl_.scale_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CMsgTEGlowSprite::_internal_scale() const { - return _impl_.scale_; -} -inline float CMsgTEGlowSprite::scale() const { - // @@protoc_insertion_point(field_get:CMsgTEGlowSprite.scale) - return _internal_scale(); -} -inline void CMsgTEGlowSprite::_internal_set_scale(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.scale_ = value; -} -inline void CMsgTEGlowSprite::set_scale(float value) { - _internal_set_scale(value); - // @@protoc_insertion_point(field_set:CMsgTEGlowSprite.scale) -} - -// optional float life = 3; -inline bool CMsgTEGlowSprite::_internal_has_life() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgTEGlowSprite::has_life() const { - return _internal_has_life(); -} -inline void CMsgTEGlowSprite::clear_life() { - _impl_.life_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CMsgTEGlowSprite::_internal_life() const { - return _impl_.life_; -} -inline float CMsgTEGlowSprite::life() const { - // @@protoc_insertion_point(field_get:CMsgTEGlowSprite.life) - return _internal_life(); -} -inline void CMsgTEGlowSprite::_internal_set_life(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.life_ = value; -} -inline void CMsgTEGlowSprite::set_life(float value) { - _internal_set_life(value); - // @@protoc_insertion_point(field_set:CMsgTEGlowSprite.life) -} - -// optional uint32 brightness = 4; -inline bool CMsgTEGlowSprite::_internal_has_brightness() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgTEGlowSprite::has_brightness() const { - return _internal_has_brightness(); -} -inline void CMsgTEGlowSprite::clear_brightness() { - _impl_.brightness_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgTEGlowSprite::_internal_brightness() const { - return _impl_.brightness_; -} -inline uint32_t CMsgTEGlowSprite::brightness() const { - // @@protoc_insertion_point(field_get:CMsgTEGlowSprite.brightness) - return _internal_brightness(); -} -inline void CMsgTEGlowSprite::_internal_set_brightness(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.brightness_ = value; -} -inline void CMsgTEGlowSprite::set_brightness(uint32_t value) { - _internal_set_brightness(value); - // @@protoc_insertion_point(field_set:CMsgTEGlowSprite.brightness) -} - -// ------------------------------------------------------------------- - -// CMsgTEImpact - -// optional .CMsgVector origin = 1; -inline bool CMsgTEImpact::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CMsgTEImpact::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CMsgTEImpact::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEImpact::origin() const { - // @@protoc_insertion_point(field_get:CMsgTEImpact.origin) - return _internal_origin(); -} -inline void CMsgTEImpact::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEImpact.origin) -} -inline ::CMsgVector* CMsgTEImpact::release_origin() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEImpact::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CMsgTEImpact.origin) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEImpact::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CMsgTEImpact::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CMsgTEImpact.origin) - return _msg; -} -inline void CMsgTEImpact::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CMsgTEImpact.origin) -} - -// optional .CMsgVector normal = 2; -inline bool CMsgTEImpact::_internal_has_normal() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.normal_ != nullptr); - return value; -} -inline bool CMsgTEImpact::has_normal() const { - return _internal_has_normal(); -} -inline const ::CMsgVector& CMsgTEImpact::_internal_normal() const { - const ::CMsgVector* p = _impl_.normal_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEImpact::normal() const { - // @@protoc_insertion_point(field_get:CMsgTEImpact.normal) - return _internal_normal(); -} -inline void CMsgTEImpact::unsafe_arena_set_allocated_normal( - ::CMsgVector* normal) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); - } - _impl_.normal_ = normal; - if (normal) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEImpact.normal) -} -inline ::CMsgVector* CMsgTEImpact::release_normal() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.normal_; - _impl_.normal_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEImpact::unsafe_arena_release_normal() { - // @@protoc_insertion_point(field_release:CMsgTEImpact.normal) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.normal_; - _impl_.normal_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEImpact::_internal_mutable_normal() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.normal_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.normal_ = p; - } - return _impl_.normal_; -} -inline ::CMsgVector* CMsgTEImpact::mutable_normal() { - ::CMsgVector* _msg = _internal_mutable_normal(); - // @@protoc_insertion_point(field_mutable:CMsgTEImpact.normal) - return _msg; -} -inline void CMsgTEImpact::set_allocated_normal(::CMsgVector* normal) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); - } - if (normal) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(normal)); - if (message_arena != submessage_arena) { - normal = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, normal, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.normal_ = normal; - // @@protoc_insertion_point(field_set_allocated:CMsgTEImpact.normal) -} - -// optional uint32 type = 3; -inline bool CMsgTEImpact::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgTEImpact::has_type() const { - return _internal_has_type(); -} -inline void CMsgTEImpact::clear_type() { - _impl_.type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgTEImpact::_internal_type() const { - return _impl_.type_; -} -inline uint32_t CMsgTEImpact::type() const { - // @@protoc_insertion_point(field_get:CMsgTEImpact.type) - return _internal_type(); -} -inline void CMsgTEImpact::_internal_set_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.type_ = value; -} -inline void CMsgTEImpact::set_type(uint32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CMsgTEImpact.type) -} - -// ------------------------------------------------------------------- - -// CMsgTEMuzzleFlash - -// optional .CMsgVector origin = 1; -inline bool CMsgTEMuzzleFlash::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CMsgTEMuzzleFlash::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CMsgTEMuzzleFlash::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEMuzzleFlash::origin() const { - // @@protoc_insertion_point(field_get:CMsgTEMuzzleFlash.origin) - return _internal_origin(); -} -inline void CMsgTEMuzzleFlash::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEMuzzleFlash.origin) -} -inline ::CMsgVector* CMsgTEMuzzleFlash::release_origin() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEMuzzleFlash::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CMsgTEMuzzleFlash.origin) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEMuzzleFlash::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CMsgTEMuzzleFlash::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CMsgTEMuzzleFlash.origin) - return _msg; -} -inline void CMsgTEMuzzleFlash::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CMsgTEMuzzleFlash.origin) -} - -// optional .CMsgQAngle angles = 2; -inline bool CMsgTEMuzzleFlash::_internal_has_angles() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.angles_ != nullptr); - return value; -} -inline bool CMsgTEMuzzleFlash::has_angles() const { - return _internal_has_angles(); -} -inline const ::CMsgQAngle& CMsgTEMuzzleFlash::_internal_angles() const { - const ::CMsgQAngle* p = _impl_.angles_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CMsgTEMuzzleFlash::angles() const { - // @@protoc_insertion_point(field_get:CMsgTEMuzzleFlash.angles) - return _internal_angles(); -} -inline void CMsgTEMuzzleFlash::unsafe_arena_set_allocated_angles( - ::CMsgQAngle* angles) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); - } - _impl_.angles_ = angles; - if (angles) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEMuzzleFlash.angles) -} -inline ::CMsgQAngle* CMsgTEMuzzleFlash::release_angles() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQAngle* temp = _impl_.angles_; - _impl_.angles_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CMsgTEMuzzleFlash::unsafe_arena_release_angles() { - // @@protoc_insertion_point(field_release:CMsgTEMuzzleFlash.angles) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQAngle* temp = _impl_.angles_; - _impl_.angles_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CMsgTEMuzzleFlash::_internal_mutable_angles() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.angles_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.angles_ = p; - } - return _impl_.angles_; -} -inline ::CMsgQAngle* CMsgTEMuzzleFlash::mutable_angles() { - ::CMsgQAngle* _msg = _internal_mutable_angles(); - // @@protoc_insertion_point(field_mutable:CMsgTEMuzzleFlash.angles) - return _msg; -} -inline void CMsgTEMuzzleFlash::set_allocated_angles(::CMsgQAngle* angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); - } - if (angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angles)); - if (message_arena != submessage_arena) { - angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, angles, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.angles_ = angles; - // @@protoc_insertion_point(field_set_allocated:CMsgTEMuzzleFlash.angles) -} - -// optional float scale = 3; -inline bool CMsgTEMuzzleFlash::_internal_has_scale() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgTEMuzzleFlash::has_scale() const { - return _internal_has_scale(); -} -inline void CMsgTEMuzzleFlash::clear_scale() { - _impl_.scale_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CMsgTEMuzzleFlash::_internal_scale() const { - return _impl_.scale_; -} -inline float CMsgTEMuzzleFlash::scale() const { - // @@protoc_insertion_point(field_get:CMsgTEMuzzleFlash.scale) - return _internal_scale(); -} -inline void CMsgTEMuzzleFlash::_internal_set_scale(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.scale_ = value; -} -inline void CMsgTEMuzzleFlash::set_scale(float value) { - _internal_set_scale(value); - // @@protoc_insertion_point(field_set:CMsgTEMuzzleFlash.scale) -} - -// optional uint32 type = 4; -inline bool CMsgTEMuzzleFlash::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgTEMuzzleFlash::has_type() const { - return _internal_has_type(); -} -inline void CMsgTEMuzzleFlash::clear_type() { - _impl_.type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgTEMuzzleFlash::_internal_type() const { - return _impl_.type_; -} -inline uint32_t CMsgTEMuzzleFlash::type() const { - // @@protoc_insertion_point(field_get:CMsgTEMuzzleFlash.type) - return _internal_type(); -} -inline void CMsgTEMuzzleFlash::_internal_set_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.type_ = value; -} -inline void CMsgTEMuzzleFlash::set_type(uint32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CMsgTEMuzzleFlash.type) -} - -// ------------------------------------------------------------------- - -// CMsgTEBloodStream - -// optional .CMsgVector origin = 1; -inline bool CMsgTEBloodStream::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CMsgTEBloodStream::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CMsgTEBloodStream::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEBloodStream::origin() const { - // @@protoc_insertion_point(field_get:CMsgTEBloodStream.origin) - return _internal_origin(); -} -inline void CMsgTEBloodStream::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBloodStream.origin) -} -inline ::CMsgVector* CMsgTEBloodStream::release_origin() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEBloodStream::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CMsgTEBloodStream.origin) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEBloodStream::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CMsgTEBloodStream::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CMsgTEBloodStream.origin) - return _msg; -} -inline void CMsgTEBloodStream::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CMsgTEBloodStream.origin) -} - -// optional .CMsgVector direction = 2; -inline bool CMsgTEBloodStream::_internal_has_direction() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.direction_ != nullptr); - return value; -} -inline bool CMsgTEBloodStream::has_direction() const { - return _internal_has_direction(); -} -inline const ::CMsgVector& CMsgTEBloodStream::_internal_direction() const { - const ::CMsgVector* p = _impl_.direction_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEBloodStream::direction() const { - // @@protoc_insertion_point(field_get:CMsgTEBloodStream.direction) - return _internal_direction(); -} -inline void CMsgTEBloodStream::unsafe_arena_set_allocated_direction( - ::CMsgVector* direction) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.direction_); - } - _impl_.direction_ = direction; - if (direction) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEBloodStream.direction) -} -inline ::CMsgVector* CMsgTEBloodStream::release_direction() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.direction_; - _impl_.direction_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEBloodStream::unsafe_arena_release_direction() { - // @@protoc_insertion_point(field_release:CMsgTEBloodStream.direction) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.direction_; - _impl_.direction_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEBloodStream::_internal_mutable_direction() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.direction_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.direction_ = p; - } - return _impl_.direction_; -} -inline ::CMsgVector* CMsgTEBloodStream::mutable_direction() { - ::CMsgVector* _msg = _internal_mutable_direction(); - // @@protoc_insertion_point(field_mutable:CMsgTEBloodStream.direction) - return _msg; -} -inline void CMsgTEBloodStream::set_allocated_direction(::CMsgVector* direction) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.direction_); - } - if (direction) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(direction)); - if (message_arena != submessage_arena) { - direction = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, direction, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.direction_ = direction; - // @@protoc_insertion_point(field_set_allocated:CMsgTEBloodStream.direction) -} - -// optional fixed32 color = 3; -inline bool CMsgTEBloodStream::_internal_has_color() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgTEBloodStream::has_color() const { - return _internal_has_color(); -} -inline void CMsgTEBloodStream::clear_color() { - _impl_.color_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgTEBloodStream::_internal_color() const { - return _impl_.color_; -} -inline uint32_t CMsgTEBloodStream::color() const { - // @@protoc_insertion_point(field_get:CMsgTEBloodStream.color) - return _internal_color(); -} -inline void CMsgTEBloodStream::_internal_set_color(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.color_ = value; -} -inline void CMsgTEBloodStream::set_color(uint32_t value) { - _internal_set_color(value); - // @@protoc_insertion_point(field_set:CMsgTEBloodStream.color) -} - -// optional uint32 amount = 4; -inline bool CMsgTEBloodStream::_internal_has_amount() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgTEBloodStream::has_amount() const { - return _internal_has_amount(); -} -inline void CMsgTEBloodStream::clear_amount() { - _impl_.amount_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgTEBloodStream::_internal_amount() const { - return _impl_.amount_; -} -inline uint32_t CMsgTEBloodStream::amount() const { - // @@protoc_insertion_point(field_get:CMsgTEBloodStream.amount) - return _internal_amount(); -} -inline void CMsgTEBloodStream::_internal_set_amount(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.amount_ = value; -} -inline void CMsgTEBloodStream::set_amount(uint32_t value) { - _internal_set_amount(value); - // @@protoc_insertion_point(field_set:CMsgTEBloodStream.amount) -} - -// ------------------------------------------------------------------- - -// CMsgTEExplosion - -// optional .CMsgVector origin = 1; -inline bool CMsgTEExplosion::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CMsgTEExplosion::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CMsgTEExplosion::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEExplosion::origin() const { - // @@protoc_insertion_point(field_get:CMsgTEExplosion.origin) - return _internal_origin(); -} -inline void CMsgTEExplosion::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEExplosion.origin) -} -inline ::CMsgVector* CMsgTEExplosion::release_origin() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEExplosion::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CMsgTEExplosion.origin) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEExplosion::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CMsgTEExplosion::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CMsgTEExplosion.origin) - return _msg; -} -inline void CMsgTEExplosion::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CMsgTEExplosion.origin) -} - -// optional uint32 flags = 3; -inline bool CMsgTEExplosion::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CMsgTEExplosion::has_flags() const { - return _internal_has_flags(); -} -inline void CMsgTEExplosion::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CMsgTEExplosion::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CMsgTEExplosion::flags() const { - // @@protoc_insertion_point(field_get:CMsgTEExplosion.flags) - return _internal_flags(); -} -inline void CMsgTEExplosion::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.flags_ = value; -} -inline void CMsgTEExplosion::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CMsgTEExplosion.flags) -} - -// optional .CMsgVector normal = 4; -inline bool CMsgTEExplosion::_internal_has_normal() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.normal_ != nullptr); - return value; -} -inline bool CMsgTEExplosion::has_normal() const { - return _internal_has_normal(); -} -inline const ::CMsgVector& CMsgTEExplosion::_internal_normal() const { - const ::CMsgVector* p = _impl_.normal_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEExplosion::normal() const { - // @@protoc_insertion_point(field_get:CMsgTEExplosion.normal) - return _internal_normal(); -} -inline void CMsgTEExplosion::unsafe_arena_set_allocated_normal( - ::CMsgVector* normal) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); - } - _impl_.normal_ = normal; - if (normal) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEExplosion.normal) -} -inline ::CMsgVector* CMsgTEExplosion::release_normal() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.normal_; - _impl_.normal_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEExplosion::unsafe_arena_release_normal() { - // @@protoc_insertion_point(field_release:CMsgTEExplosion.normal) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.normal_; - _impl_.normal_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEExplosion::_internal_mutable_normal() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.normal_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.normal_ = p; - } - return _impl_.normal_; -} -inline ::CMsgVector* CMsgTEExplosion::mutable_normal() { - ::CMsgVector* _msg = _internal_mutable_normal(); - // @@protoc_insertion_point(field_mutable:CMsgTEExplosion.normal) - return _msg; -} -inline void CMsgTEExplosion::set_allocated_normal(::CMsgVector* normal) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); - } - if (normal) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(normal)); - if (message_arena != submessage_arena) { - normal = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, normal, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.normal_ = normal; - // @@protoc_insertion_point(field_set_allocated:CMsgTEExplosion.normal) -} - -// optional uint32 radius = 6; -inline bool CMsgTEExplosion::_internal_has_radius() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgTEExplosion::has_radius() const { - return _internal_has_radius(); -} -inline void CMsgTEExplosion::clear_radius() { - _impl_.radius_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgTEExplosion::_internal_radius() const { - return _impl_.radius_; -} -inline uint32_t CMsgTEExplosion::radius() const { - // @@protoc_insertion_point(field_get:CMsgTEExplosion.radius) - return _internal_radius(); -} -inline void CMsgTEExplosion::_internal_set_radius(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.radius_ = value; -} -inline void CMsgTEExplosion::set_radius(uint32_t value) { - _internal_set_radius(value); - // @@protoc_insertion_point(field_set:CMsgTEExplosion.radius) -} - -// optional uint32 magnitude = 7; -inline bool CMsgTEExplosion::_internal_has_magnitude() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgTEExplosion::has_magnitude() const { - return _internal_has_magnitude(); -} -inline void CMsgTEExplosion::clear_magnitude() { - _impl_.magnitude_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgTEExplosion::_internal_magnitude() const { - return _impl_.magnitude_; -} -inline uint32_t CMsgTEExplosion::magnitude() const { - // @@protoc_insertion_point(field_get:CMsgTEExplosion.magnitude) - return _internal_magnitude(); -} -inline void CMsgTEExplosion::_internal_set_magnitude(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.magnitude_ = value; -} -inline void CMsgTEExplosion::set_magnitude(uint32_t value) { - _internal_set_magnitude(value); - // @@protoc_insertion_point(field_set:CMsgTEExplosion.magnitude) -} - -// optional bool affect_ragdolls = 9; -inline bool CMsgTEExplosion::_internal_has_affect_ragdolls() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgTEExplosion::has_affect_ragdolls() const { - return _internal_has_affect_ragdolls(); -} -inline void CMsgTEExplosion::clear_affect_ragdolls() { - _impl_.affect_ragdolls_ = false; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline bool CMsgTEExplosion::_internal_affect_ragdolls() const { - return _impl_.affect_ragdolls_; -} -inline bool CMsgTEExplosion::affect_ragdolls() const { - // @@protoc_insertion_point(field_get:CMsgTEExplosion.affect_ragdolls) - return _internal_affect_ragdolls(); -} -inline void CMsgTEExplosion::_internal_set_affect_ragdolls(bool value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.affect_ragdolls_ = value; -} -inline void CMsgTEExplosion::set_affect_ragdolls(bool value) { - _internal_set_affect_ragdolls(value); - // @@protoc_insertion_point(field_set:CMsgTEExplosion.affect_ragdolls) -} - -// optional string sound_name = 10; -inline bool CMsgTEExplosion::_internal_has_sound_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CMsgTEExplosion::has_sound_name() const { - return _internal_has_sound_name(); -} -inline void CMsgTEExplosion::clear_sound_name() { - _impl_.sound_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CMsgTEExplosion::sound_name() const { - // @@protoc_insertion_point(field_get:CMsgTEExplosion.sound_name) - return _internal_sound_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CMsgTEExplosion::set_sound_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sound_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CMsgTEExplosion.sound_name) -} -inline std::string* CMsgTEExplosion::mutable_sound_name() { - std::string* _s = _internal_mutable_sound_name(); - // @@protoc_insertion_point(field_mutable:CMsgTEExplosion.sound_name) - return _s; -} -inline const std::string& CMsgTEExplosion::_internal_sound_name() const { - return _impl_.sound_name_.Get(); -} -inline void CMsgTEExplosion::_internal_set_sound_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.sound_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CMsgTEExplosion::_internal_mutable_sound_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.sound_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CMsgTEExplosion::release_sound_name() { - // @@protoc_insertion_point(field_release:CMsgTEExplosion.sound_name) - if (!_internal_has_sound_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.sound_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sound_name_.IsDefault()) { - _impl_.sound_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CMsgTEExplosion::set_allocated_sound_name(std::string* sound_name) { - if (sound_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.sound_name_.SetAllocated(sound_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.sound_name_.IsDefault()) { - _impl_.sound_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CMsgTEExplosion.sound_name) -} - -// optional uint32 explosion_type = 11; -inline bool CMsgTEExplosion::_internal_has_explosion_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgTEExplosion::has_explosion_type() const { - return _internal_has_explosion_type(); -} -inline void CMsgTEExplosion::clear_explosion_type() { - _impl_.explosion_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CMsgTEExplosion::_internal_explosion_type() const { - return _impl_.explosion_type_; -} -inline uint32_t CMsgTEExplosion::explosion_type() const { - // @@protoc_insertion_point(field_get:CMsgTEExplosion.explosion_type) - return _internal_explosion_type(); -} -inline void CMsgTEExplosion::_internal_set_explosion_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.explosion_type_ = value; -} -inline void CMsgTEExplosion::set_explosion_type(uint32_t value) { - _internal_set_explosion_type(value); - // @@protoc_insertion_point(field_set:CMsgTEExplosion.explosion_type) -} - -// optional bool create_debris = 12; -inline bool CMsgTEExplosion::_internal_has_create_debris() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgTEExplosion::has_create_debris() const { - return _internal_has_create_debris(); -} -inline void CMsgTEExplosion::clear_create_debris() { - _impl_.create_debris_ = false; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline bool CMsgTEExplosion::_internal_create_debris() const { - return _impl_.create_debris_; -} -inline bool CMsgTEExplosion::create_debris() const { - // @@protoc_insertion_point(field_get:CMsgTEExplosion.create_debris) - return _internal_create_debris(); -} -inline void CMsgTEExplosion::_internal_set_create_debris(bool value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.create_debris_ = value; -} -inline void CMsgTEExplosion::set_create_debris(bool value) { - _internal_set_create_debris(value); - // @@protoc_insertion_point(field_set:CMsgTEExplosion.create_debris) -} - -// optional .CMsgVector debris_origin = 13; -inline bool CMsgTEExplosion::_internal_has_debris_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.debris_origin_ != nullptr); - return value; -} -inline bool CMsgTEExplosion::has_debris_origin() const { - return _internal_has_debris_origin(); -} -inline const ::CMsgVector& CMsgTEExplosion::_internal_debris_origin() const { - const ::CMsgVector* p = _impl_.debris_origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEExplosion::debris_origin() const { - // @@protoc_insertion_point(field_get:CMsgTEExplosion.debris_origin) - return _internal_debris_origin(); -} -inline void CMsgTEExplosion::unsafe_arena_set_allocated_debris_origin( - ::CMsgVector* debris_origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.debris_origin_); - } - _impl_.debris_origin_ = debris_origin; - if (debris_origin) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEExplosion.debris_origin) -} -inline ::CMsgVector* CMsgTEExplosion::release_debris_origin() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgVector* temp = _impl_.debris_origin_; - _impl_.debris_origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEExplosion::unsafe_arena_release_debris_origin() { - // @@protoc_insertion_point(field_release:CMsgTEExplosion.debris_origin) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgVector* temp = _impl_.debris_origin_; - _impl_.debris_origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEExplosion::_internal_mutable_debris_origin() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.debris_origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.debris_origin_ = p; - } - return _impl_.debris_origin_; -} -inline ::CMsgVector* CMsgTEExplosion::mutable_debris_origin() { - ::CMsgVector* _msg = _internal_mutable_debris_origin(); - // @@protoc_insertion_point(field_mutable:CMsgTEExplosion.debris_origin) - return _msg; -} -inline void CMsgTEExplosion::set_allocated_debris_origin(::CMsgVector* debris_origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.debris_origin_); - } - if (debris_origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(debris_origin)); - if (message_arena != submessage_arena) { - debris_origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, debris_origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.debris_origin_ = debris_origin; - // @@protoc_insertion_point(field_set_allocated:CMsgTEExplosion.debris_origin) -} - -// optional fixed32 debris_surfaceprop = 14; -inline bool CMsgTEExplosion::_internal_has_debris_surfaceprop() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgTEExplosion::has_debris_surfaceprop() const { - return _internal_has_debris_surfaceprop(); -} -inline void CMsgTEExplosion::clear_debris_surfaceprop() { - _impl_.debris_surfaceprop_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgTEExplosion::_internal_debris_surfaceprop() const { - return _impl_.debris_surfaceprop_; -} -inline uint32_t CMsgTEExplosion::debris_surfaceprop() const { - // @@protoc_insertion_point(field_get:CMsgTEExplosion.debris_surfaceprop) - return _internal_debris_surfaceprop(); -} -inline void CMsgTEExplosion::_internal_set_debris_surfaceprop(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.debris_surfaceprop_ = value; -} -inline void CMsgTEExplosion::set_debris_surfaceprop(uint32_t value) { - _internal_set_debris_surfaceprop(value); - // @@protoc_insertion_point(field_set:CMsgTEExplosion.debris_surfaceprop) -} - -// ------------------------------------------------------------------- - -// CMsgTEDust - -// optional .CMsgVector origin = 1; -inline bool CMsgTEDust::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CMsgTEDust::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CMsgTEDust::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEDust::origin() const { - // @@protoc_insertion_point(field_get:CMsgTEDust.origin) - return _internal_origin(); -} -inline void CMsgTEDust::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEDust.origin) -} -inline ::CMsgVector* CMsgTEDust::release_origin() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEDust::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CMsgTEDust.origin) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEDust::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CMsgTEDust::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CMsgTEDust.origin) - return _msg; -} -inline void CMsgTEDust::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CMsgTEDust.origin) -} - -// optional float size = 2; -inline bool CMsgTEDust::_internal_has_size() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgTEDust::has_size() const { - return _internal_has_size(); -} -inline void CMsgTEDust::clear_size() { - _impl_.size_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CMsgTEDust::_internal_size() const { - return _impl_.size_; -} -inline float CMsgTEDust::size() const { - // @@protoc_insertion_point(field_get:CMsgTEDust.size) - return _internal_size(); -} -inline void CMsgTEDust::_internal_set_size(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.size_ = value; -} -inline void CMsgTEDust::set_size(float value) { - _internal_set_size(value); - // @@protoc_insertion_point(field_set:CMsgTEDust.size) -} - -// optional float speed = 3; -inline bool CMsgTEDust::_internal_has_speed() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgTEDust::has_speed() const { - return _internal_has_speed(); -} -inline void CMsgTEDust::clear_speed() { - _impl_.speed_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CMsgTEDust::_internal_speed() const { - return _impl_.speed_; -} -inline float CMsgTEDust::speed() const { - // @@protoc_insertion_point(field_get:CMsgTEDust.speed) - return _internal_speed(); -} -inline void CMsgTEDust::_internal_set_speed(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.speed_ = value; -} -inline void CMsgTEDust::set_speed(float value) { - _internal_set_speed(value); - // @@protoc_insertion_point(field_set:CMsgTEDust.speed) -} - -// optional .CMsgVector direction = 4; -inline bool CMsgTEDust::_internal_has_direction() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.direction_ != nullptr); - return value; -} -inline bool CMsgTEDust::has_direction() const { - return _internal_has_direction(); -} -inline const ::CMsgVector& CMsgTEDust::_internal_direction() const { - const ::CMsgVector* p = _impl_.direction_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEDust::direction() const { - // @@protoc_insertion_point(field_get:CMsgTEDust.direction) - return _internal_direction(); -} -inline void CMsgTEDust::unsafe_arena_set_allocated_direction( - ::CMsgVector* direction) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.direction_); - } - _impl_.direction_ = direction; - if (direction) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEDust.direction) -} -inline ::CMsgVector* CMsgTEDust::release_direction() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.direction_; - _impl_.direction_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEDust::unsafe_arena_release_direction() { - // @@protoc_insertion_point(field_release:CMsgTEDust.direction) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.direction_; - _impl_.direction_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEDust::_internal_mutable_direction() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.direction_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.direction_ = p; - } - return _impl_.direction_; -} -inline ::CMsgVector* CMsgTEDust::mutable_direction() { - ::CMsgVector* _msg = _internal_mutable_direction(); - // @@protoc_insertion_point(field_mutable:CMsgTEDust.direction) - return _msg; -} -inline void CMsgTEDust::set_allocated_direction(::CMsgVector* direction) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.direction_); - } - if (direction) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(direction)); - if (message_arena != submessage_arena) { - direction = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, direction, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.direction_ = direction; - // @@protoc_insertion_point(field_set_allocated:CMsgTEDust.direction) -} - -// ------------------------------------------------------------------- - -// CMsgTELargeFunnel - -// optional .CMsgVector origin = 1; -inline bool CMsgTELargeFunnel::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CMsgTELargeFunnel::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CMsgTELargeFunnel::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTELargeFunnel::origin() const { - // @@protoc_insertion_point(field_get:CMsgTELargeFunnel.origin) - return _internal_origin(); -} -inline void CMsgTELargeFunnel::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTELargeFunnel.origin) -} -inline ::CMsgVector* CMsgTELargeFunnel::release_origin() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTELargeFunnel::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CMsgTELargeFunnel.origin) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTELargeFunnel::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CMsgTELargeFunnel::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CMsgTELargeFunnel.origin) - return _msg; -} -inline void CMsgTELargeFunnel::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CMsgTELargeFunnel.origin) -} - -// optional uint32 reversed = 2; -inline bool CMsgTELargeFunnel::_internal_has_reversed() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgTELargeFunnel::has_reversed() const { - return _internal_has_reversed(); -} -inline void CMsgTELargeFunnel::clear_reversed() { - _impl_.reversed_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CMsgTELargeFunnel::_internal_reversed() const { - return _impl_.reversed_; -} -inline uint32_t CMsgTELargeFunnel::reversed() const { - // @@protoc_insertion_point(field_get:CMsgTELargeFunnel.reversed) - return _internal_reversed(); -} -inline void CMsgTELargeFunnel::_internal_set_reversed(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.reversed_ = value; -} -inline void CMsgTELargeFunnel::set_reversed(uint32_t value) { - _internal_set_reversed(value); - // @@protoc_insertion_point(field_set:CMsgTELargeFunnel.reversed) -} - -// ------------------------------------------------------------------- - -// CMsgTESparks - -// optional .CMsgVector origin = 1; -inline bool CMsgTESparks::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CMsgTESparks::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CMsgTESparks::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTESparks::origin() const { - // @@protoc_insertion_point(field_get:CMsgTESparks.origin) - return _internal_origin(); -} -inline void CMsgTESparks::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTESparks.origin) -} -inline ::CMsgVector* CMsgTESparks::release_origin() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTESparks::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CMsgTESparks.origin) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTESparks::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CMsgTESparks::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CMsgTESparks.origin) - return _msg; -} -inline void CMsgTESparks::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CMsgTESparks.origin) -} - -// optional uint32 magnitude = 2; -inline bool CMsgTESparks::_internal_has_magnitude() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgTESparks::has_magnitude() const { - return _internal_has_magnitude(); -} -inline void CMsgTESparks::clear_magnitude() { - _impl_.magnitude_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgTESparks::_internal_magnitude() const { - return _impl_.magnitude_; -} -inline uint32_t CMsgTESparks::magnitude() const { - // @@protoc_insertion_point(field_get:CMsgTESparks.magnitude) - return _internal_magnitude(); -} -inline void CMsgTESparks::_internal_set_magnitude(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.magnitude_ = value; -} -inline void CMsgTESparks::set_magnitude(uint32_t value) { - _internal_set_magnitude(value); - // @@protoc_insertion_point(field_set:CMsgTESparks.magnitude) -} - -// optional uint32 length = 3; -inline bool CMsgTESparks::_internal_has_length() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CMsgTESparks::has_length() const { - return _internal_has_length(); -} -inline void CMsgTESparks::clear_length() { - _impl_.length_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CMsgTESparks::_internal_length() const { - return _impl_.length_; -} -inline uint32_t CMsgTESparks::length() const { - // @@protoc_insertion_point(field_get:CMsgTESparks.length) - return _internal_length(); -} -inline void CMsgTESparks::_internal_set_length(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.length_ = value; -} -inline void CMsgTESparks::set_length(uint32_t value) { - _internal_set_length(value); - // @@protoc_insertion_point(field_set:CMsgTESparks.length) -} - -// optional .CMsgVector direction = 4; -inline bool CMsgTESparks::_internal_has_direction() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.direction_ != nullptr); - return value; -} -inline bool CMsgTESparks::has_direction() const { - return _internal_has_direction(); -} -inline const ::CMsgVector& CMsgTESparks::_internal_direction() const { - const ::CMsgVector* p = _impl_.direction_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTESparks::direction() const { - // @@protoc_insertion_point(field_get:CMsgTESparks.direction) - return _internal_direction(); -} -inline void CMsgTESparks::unsafe_arena_set_allocated_direction( - ::CMsgVector* direction) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.direction_); - } - _impl_.direction_ = direction; - if (direction) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTESparks.direction) -} -inline ::CMsgVector* CMsgTESparks::release_direction() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.direction_; - _impl_.direction_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTESparks::unsafe_arena_release_direction() { - // @@protoc_insertion_point(field_release:CMsgTESparks.direction) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.direction_; - _impl_.direction_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTESparks::_internal_mutable_direction() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.direction_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.direction_ = p; - } - return _impl_.direction_; -} -inline ::CMsgVector* CMsgTESparks::mutable_direction() { - ::CMsgVector* _msg = _internal_mutable_direction(); - // @@protoc_insertion_point(field_mutable:CMsgTESparks.direction) - return _msg; -} -inline void CMsgTESparks::set_allocated_direction(::CMsgVector* direction) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.direction_); - } - if (direction) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(direction)); - if (message_arena != submessage_arena) { - direction = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, direction, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.direction_ = direction; - // @@protoc_insertion_point(field_set_allocated:CMsgTESparks.direction) -} - -// ------------------------------------------------------------------- - -// CMsgTEPhysicsProp - -// optional .CMsgVector origin = 1; -inline bool CMsgTEPhysicsProp::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CMsgTEPhysicsProp::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CMsgTEPhysicsProp::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEPhysicsProp::origin() const { - // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.origin) - return _internal_origin(); -} -inline void CMsgTEPhysicsProp::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEPhysicsProp.origin) -} -inline ::CMsgVector* CMsgTEPhysicsProp::release_origin() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEPhysicsProp::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CMsgTEPhysicsProp.origin) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEPhysicsProp::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CMsgTEPhysicsProp::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CMsgTEPhysicsProp.origin) - return _msg; -} -inline void CMsgTEPhysicsProp::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CMsgTEPhysicsProp.origin) -} - -// optional .CMsgVector velocity = 2; -inline bool CMsgTEPhysicsProp::_internal_has_velocity() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.velocity_ != nullptr); - return value; -} -inline bool CMsgTEPhysicsProp::has_velocity() const { - return _internal_has_velocity(); -} -inline const ::CMsgVector& CMsgTEPhysicsProp::_internal_velocity() const { - const ::CMsgVector* p = _impl_.velocity_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEPhysicsProp::velocity() const { - // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.velocity) - return _internal_velocity(); -} -inline void CMsgTEPhysicsProp::unsafe_arena_set_allocated_velocity( - ::CMsgVector* velocity) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.velocity_); - } - _impl_.velocity_ = velocity; - if (velocity) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEPhysicsProp.velocity) -} -inline ::CMsgVector* CMsgTEPhysicsProp::release_velocity() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.velocity_; - _impl_.velocity_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEPhysicsProp::unsafe_arena_release_velocity() { - // @@protoc_insertion_point(field_release:CMsgTEPhysicsProp.velocity) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.velocity_; - _impl_.velocity_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEPhysicsProp::_internal_mutable_velocity() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.velocity_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.velocity_ = p; - } - return _impl_.velocity_; -} -inline ::CMsgVector* CMsgTEPhysicsProp::mutable_velocity() { - ::CMsgVector* _msg = _internal_mutable_velocity(); - // @@protoc_insertion_point(field_mutable:CMsgTEPhysicsProp.velocity) - return _msg; -} -inline void CMsgTEPhysicsProp::set_allocated_velocity(::CMsgVector* velocity) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.velocity_); - } - if (velocity) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(velocity)); - if (message_arena != submessage_arena) { - velocity = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, velocity, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.velocity_ = velocity; - // @@protoc_insertion_point(field_set_allocated:CMsgTEPhysicsProp.velocity) -} - -// optional .CMsgQAngle angles = 3; -inline bool CMsgTEPhysicsProp::_internal_has_angles() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.angles_ != nullptr); - return value; -} -inline bool CMsgTEPhysicsProp::has_angles() const { - return _internal_has_angles(); -} -inline const ::CMsgQAngle& CMsgTEPhysicsProp::_internal_angles() const { - const ::CMsgQAngle* p = _impl_.angles_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CMsgTEPhysicsProp::angles() const { - // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.angles) - return _internal_angles(); -} -inline void CMsgTEPhysicsProp::unsafe_arena_set_allocated_angles( - ::CMsgQAngle* angles) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); - } - _impl_.angles_ = angles; - if (angles) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEPhysicsProp.angles) -} -inline ::CMsgQAngle* CMsgTEPhysicsProp::release_angles() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgQAngle* temp = _impl_.angles_; - _impl_.angles_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CMsgTEPhysicsProp::unsafe_arena_release_angles() { - // @@protoc_insertion_point(field_release:CMsgTEPhysicsProp.angles) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgQAngle* temp = _impl_.angles_; - _impl_.angles_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CMsgTEPhysicsProp::_internal_mutable_angles() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.angles_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.angles_ = p; - } - return _impl_.angles_; -} -inline ::CMsgQAngle* CMsgTEPhysicsProp::mutable_angles() { - ::CMsgQAngle* _msg = _internal_mutable_angles(); - // @@protoc_insertion_point(field_mutable:CMsgTEPhysicsProp.angles) - return _msg; -} -inline void CMsgTEPhysicsProp::set_allocated_angles(::CMsgQAngle* angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); - } - if (angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angles)); - if (message_arena != submessage_arena) { - angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, angles, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.angles_ = angles; - // @@protoc_insertion_point(field_set_allocated:CMsgTEPhysicsProp.angles) -} - -// optional fixed32 skin = 4; -inline bool CMsgTEPhysicsProp::_internal_has_skin() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CMsgTEPhysicsProp::has_skin() const { - return _internal_has_skin(); -} -inline void CMsgTEPhysicsProp::clear_skin() { - _impl_.skin_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CMsgTEPhysicsProp::_internal_skin() const { - return _impl_.skin_; -} -inline uint32_t CMsgTEPhysicsProp::skin() const { - // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.skin) - return _internal_skin(); -} -inline void CMsgTEPhysicsProp::_internal_set_skin(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.skin_ = value; -} -inline void CMsgTEPhysicsProp::set_skin(uint32_t value) { - _internal_set_skin(value); - // @@protoc_insertion_point(field_set:CMsgTEPhysicsProp.skin) -} - -// optional uint32 flags = 5; -inline bool CMsgTEPhysicsProp::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CMsgTEPhysicsProp::has_flags() const { - return _internal_has_flags(); -} -inline void CMsgTEPhysicsProp::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CMsgTEPhysicsProp::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CMsgTEPhysicsProp::flags() const { - // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.flags) - return _internal_flags(); -} -inline void CMsgTEPhysicsProp::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.flags_ = value; -} -inline void CMsgTEPhysicsProp::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CMsgTEPhysicsProp.flags) -} - -// optional uint32 effects = 6; -inline bool CMsgTEPhysicsProp::_internal_has_effects() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CMsgTEPhysicsProp::has_effects() const { - return _internal_has_effects(); -} -inline void CMsgTEPhysicsProp::clear_effects() { - _impl_.effects_ = 0u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CMsgTEPhysicsProp::_internal_effects() const { - return _impl_.effects_; -} -inline uint32_t CMsgTEPhysicsProp::effects() const { - // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.effects) - return _internal_effects(); -} -inline void CMsgTEPhysicsProp::_internal_set_effects(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.effects_ = value; -} -inline void CMsgTEPhysicsProp::set_effects(uint32_t value) { - _internal_set_effects(value); - // @@protoc_insertion_point(field_set:CMsgTEPhysicsProp.effects) -} - -// optional fixed32 color = 7; -inline bool CMsgTEPhysicsProp::_internal_has_color() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CMsgTEPhysicsProp::has_color() const { - return _internal_has_color(); -} -inline void CMsgTEPhysicsProp::clear_color() { - _impl_.color_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CMsgTEPhysicsProp::_internal_color() const { - return _impl_.color_; -} -inline uint32_t CMsgTEPhysicsProp::color() const { - // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.color) - return _internal_color(); -} -inline void CMsgTEPhysicsProp::_internal_set_color(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.color_ = value; -} -inline void CMsgTEPhysicsProp::set_color(uint32_t value) { - _internal_set_color(value); - // @@protoc_insertion_point(field_set:CMsgTEPhysicsProp.color) -} - -// optional fixed64 modelindex = 8; -inline bool CMsgTEPhysicsProp::_internal_has_modelindex() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CMsgTEPhysicsProp::has_modelindex() const { - return _internal_has_modelindex(); -} -inline void CMsgTEPhysicsProp::clear_modelindex() { - _impl_.modelindex_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint64_t CMsgTEPhysicsProp::_internal_modelindex() const { - return _impl_.modelindex_; -} -inline uint64_t CMsgTEPhysicsProp::modelindex() const { - // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.modelindex) - return _internal_modelindex(); -} -inline void CMsgTEPhysicsProp::_internal_set_modelindex(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.modelindex_ = value; -} -inline void CMsgTEPhysicsProp::set_modelindex(uint64_t value) { - _internal_set_modelindex(value); - // @@protoc_insertion_point(field_set:CMsgTEPhysicsProp.modelindex) -} - -// optional uint32 unused_breakmodelsnottomake = 9; -inline bool CMsgTEPhysicsProp::_internal_has_unused_breakmodelsnottomake() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CMsgTEPhysicsProp::has_unused_breakmodelsnottomake() const { - return _internal_has_unused_breakmodelsnottomake(); -} -inline void CMsgTEPhysicsProp::clear_unused_breakmodelsnottomake() { - _impl_.unused_breakmodelsnottomake_ = 0u; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline uint32_t CMsgTEPhysicsProp::_internal_unused_breakmodelsnottomake() const { - return _impl_.unused_breakmodelsnottomake_; -} -inline uint32_t CMsgTEPhysicsProp::unused_breakmodelsnottomake() const { - // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.unused_breakmodelsnottomake) - return _internal_unused_breakmodelsnottomake(); -} -inline void CMsgTEPhysicsProp::_internal_set_unused_breakmodelsnottomake(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.unused_breakmodelsnottomake_ = value; -} -inline void CMsgTEPhysicsProp::set_unused_breakmodelsnottomake(uint32_t value) { - _internal_set_unused_breakmodelsnottomake(value); - // @@protoc_insertion_point(field_set:CMsgTEPhysicsProp.unused_breakmodelsnottomake) -} - -// optional float scale = 10; -inline bool CMsgTEPhysicsProp::_internal_has_scale() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CMsgTEPhysicsProp::has_scale() const { - return _internal_has_scale(); -} -inline void CMsgTEPhysicsProp::clear_scale() { - _impl_.scale_ = 0; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline float CMsgTEPhysicsProp::_internal_scale() const { - return _impl_.scale_; -} -inline float CMsgTEPhysicsProp::scale() const { - // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.scale) - return _internal_scale(); -} -inline void CMsgTEPhysicsProp::_internal_set_scale(float value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.scale_ = value; -} -inline void CMsgTEPhysicsProp::set_scale(float value) { - _internal_set_scale(value); - // @@protoc_insertion_point(field_set:CMsgTEPhysicsProp.scale) -} - -// optional .CMsgVector dmgpos = 11; -inline bool CMsgTEPhysicsProp::_internal_has_dmgpos() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.dmgpos_ != nullptr); - return value; -} -inline bool CMsgTEPhysicsProp::has_dmgpos() const { - return _internal_has_dmgpos(); -} -inline const ::CMsgVector& CMsgTEPhysicsProp::_internal_dmgpos() const { - const ::CMsgVector* p = _impl_.dmgpos_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEPhysicsProp::dmgpos() const { - // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.dmgpos) - return _internal_dmgpos(); -} -inline void CMsgTEPhysicsProp::unsafe_arena_set_allocated_dmgpos( - ::CMsgVector* dmgpos) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dmgpos_); - } - _impl_.dmgpos_ = dmgpos; - if (dmgpos) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEPhysicsProp.dmgpos) -} -inline ::CMsgVector* CMsgTEPhysicsProp::release_dmgpos() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgVector* temp = _impl_.dmgpos_; - _impl_.dmgpos_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEPhysicsProp::unsafe_arena_release_dmgpos() { - // @@protoc_insertion_point(field_release:CMsgTEPhysicsProp.dmgpos) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgVector* temp = _impl_.dmgpos_; - _impl_.dmgpos_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEPhysicsProp::_internal_mutable_dmgpos() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.dmgpos_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.dmgpos_ = p; - } - return _impl_.dmgpos_; -} -inline ::CMsgVector* CMsgTEPhysicsProp::mutable_dmgpos() { - ::CMsgVector* _msg = _internal_mutable_dmgpos(); - // @@protoc_insertion_point(field_mutable:CMsgTEPhysicsProp.dmgpos) - return _msg; -} -inline void CMsgTEPhysicsProp::set_allocated_dmgpos(::CMsgVector* dmgpos) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dmgpos_); - } - if (dmgpos) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(dmgpos)); - if (message_arena != submessage_arena) { - dmgpos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, dmgpos, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.dmgpos_ = dmgpos; - // @@protoc_insertion_point(field_set_allocated:CMsgTEPhysicsProp.dmgpos) -} - -// optional .CMsgVector dmgdir = 12; -inline bool CMsgTEPhysicsProp::_internal_has_dmgdir() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.dmgdir_ != nullptr); - return value; -} -inline bool CMsgTEPhysicsProp::has_dmgdir() const { - return _internal_has_dmgdir(); -} -inline const ::CMsgVector& CMsgTEPhysicsProp::_internal_dmgdir() const { - const ::CMsgVector* p = _impl_.dmgdir_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEPhysicsProp::dmgdir() const { - // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.dmgdir) - return _internal_dmgdir(); -} -inline void CMsgTEPhysicsProp::unsafe_arena_set_allocated_dmgdir( - ::CMsgVector* dmgdir) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dmgdir_); - } - _impl_.dmgdir_ = dmgdir; - if (dmgdir) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEPhysicsProp.dmgdir) -} -inline ::CMsgVector* CMsgTEPhysicsProp::release_dmgdir() { - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgVector* temp = _impl_.dmgdir_; - _impl_.dmgdir_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEPhysicsProp::unsafe_arena_release_dmgdir() { - // @@protoc_insertion_point(field_release:CMsgTEPhysicsProp.dmgdir) - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgVector* temp = _impl_.dmgdir_; - _impl_.dmgdir_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEPhysicsProp::_internal_mutable_dmgdir() { - _impl_._has_bits_[0] |= 0x00000010u; - if (_impl_.dmgdir_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.dmgdir_ = p; - } - return _impl_.dmgdir_; -} -inline ::CMsgVector* CMsgTEPhysicsProp::mutable_dmgdir() { - ::CMsgVector* _msg = _internal_mutable_dmgdir(); - // @@protoc_insertion_point(field_mutable:CMsgTEPhysicsProp.dmgdir) - return _msg; -} -inline void CMsgTEPhysicsProp::set_allocated_dmgdir(::CMsgVector* dmgdir) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dmgdir_); - } - if (dmgdir) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(dmgdir)); - if (message_arena != submessage_arena) { - dmgdir = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, dmgdir, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.dmgdir_ = dmgdir; - // @@protoc_insertion_point(field_set_allocated:CMsgTEPhysicsProp.dmgdir) -} - -// optional int32 dmgtype = 13; -inline bool CMsgTEPhysicsProp::_internal_has_dmgtype() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CMsgTEPhysicsProp::has_dmgtype() const { - return _internal_has_dmgtype(); -} -inline void CMsgTEPhysicsProp::clear_dmgtype() { - _impl_.dmgtype_ = 0; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline int32_t CMsgTEPhysicsProp::_internal_dmgtype() const { - return _impl_.dmgtype_; -} -inline int32_t CMsgTEPhysicsProp::dmgtype() const { - // @@protoc_insertion_point(field_get:CMsgTEPhysicsProp.dmgtype) - return _internal_dmgtype(); -} -inline void CMsgTEPhysicsProp::_internal_set_dmgtype(int32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.dmgtype_ = value; -} -inline void CMsgTEPhysicsProp::set_dmgtype(int32_t value) { - _internal_set_dmgtype(value); - // @@protoc_insertion_point(field_set:CMsgTEPhysicsProp.dmgtype) -} - -// ------------------------------------------------------------------- - -// CMsgTESmoke - -// optional .CMsgVector origin = 1; -inline bool CMsgTESmoke::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CMsgTESmoke::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CMsgTESmoke::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTESmoke::origin() const { - // @@protoc_insertion_point(field_get:CMsgTESmoke.origin) - return _internal_origin(); -} -inline void CMsgTESmoke::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTESmoke.origin) -} -inline ::CMsgVector* CMsgTESmoke::release_origin() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTESmoke::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CMsgTESmoke.origin) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTESmoke::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CMsgTESmoke::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CMsgTESmoke.origin) - return _msg; -} -inline void CMsgTESmoke::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CMsgTESmoke.origin) -} - -// optional float scale = 2; -inline bool CMsgTESmoke::_internal_has_scale() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CMsgTESmoke::has_scale() const { - return _internal_has_scale(); -} -inline void CMsgTESmoke::clear_scale() { - _impl_.scale_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CMsgTESmoke::_internal_scale() const { - return _impl_.scale_; -} -inline float CMsgTESmoke::scale() const { - // @@protoc_insertion_point(field_get:CMsgTESmoke.scale) - return _internal_scale(); -} -inline void CMsgTESmoke::_internal_set_scale(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.scale_ = value; -} -inline void CMsgTESmoke::set_scale(float value) { - _internal_set_scale(value); - // @@protoc_insertion_point(field_set:CMsgTESmoke.scale) -} - -// ------------------------------------------------------------------- - -// CMsgTEWorldDecal - -// optional .CMsgVector origin = 1; -inline bool CMsgTEWorldDecal::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CMsgTEWorldDecal::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CMsgTEWorldDecal::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEWorldDecal::origin() const { - // @@protoc_insertion_point(field_get:CMsgTEWorldDecal.origin) - return _internal_origin(); -} -inline void CMsgTEWorldDecal::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEWorldDecal.origin) -} -inline ::CMsgVector* CMsgTEWorldDecal::release_origin() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEWorldDecal::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CMsgTEWorldDecal.origin) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEWorldDecal::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CMsgTEWorldDecal::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CMsgTEWorldDecal.origin) - return _msg; -} -inline void CMsgTEWorldDecal::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CMsgTEWorldDecal.origin) -} - -// optional .CMsgVector normal = 2; -inline bool CMsgTEWorldDecal::_internal_has_normal() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.normal_ != nullptr); - return value; -} -inline bool CMsgTEWorldDecal::has_normal() const { - return _internal_has_normal(); -} -inline const ::CMsgVector& CMsgTEWorldDecal::_internal_normal() const { - const ::CMsgVector* p = _impl_.normal_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CMsgTEWorldDecal::normal() const { - // @@protoc_insertion_point(field_get:CMsgTEWorldDecal.normal) - return _internal_normal(); -} -inline void CMsgTEWorldDecal::unsafe_arena_set_allocated_normal( - ::CMsgVector* normal) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); - } - _impl_.normal_ = normal; - if (normal) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CMsgTEWorldDecal.normal) -} -inline ::CMsgVector* CMsgTEWorldDecal::release_normal() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.normal_; - _impl_.normal_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CMsgTEWorldDecal::unsafe_arena_release_normal() { - // @@protoc_insertion_point(field_release:CMsgTEWorldDecal.normal) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.normal_; - _impl_.normal_ = nullptr; - return temp; -} -inline ::CMsgVector* CMsgTEWorldDecal::_internal_mutable_normal() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.normal_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.normal_ = p; - } - return _impl_.normal_; -} -inline ::CMsgVector* CMsgTEWorldDecal::mutable_normal() { - ::CMsgVector* _msg = _internal_mutable_normal(); - // @@protoc_insertion_point(field_mutable:CMsgTEWorldDecal.normal) - return _msg; -} -inline void CMsgTEWorldDecal::set_allocated_normal(::CMsgVector* normal) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.normal_); - } - if (normal) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(normal)); - if (message_arena != submessage_arena) { - normal = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, normal, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.normal_ = normal; - // @@protoc_insertion_point(field_set_allocated:CMsgTEWorldDecal.normal) -} - -// optional uint32 index = 3; -inline bool CMsgTEWorldDecal::_internal_has_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CMsgTEWorldDecal::has_index() const { - return _internal_has_index(); -} -inline void CMsgTEWorldDecal::clear_index() { - _impl_.index_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CMsgTEWorldDecal::_internal_index() const { - return _impl_.index_; -} -inline uint32_t CMsgTEWorldDecal::index() const { - // @@protoc_insertion_point(field_get:CMsgTEWorldDecal.index) - return _internal_index(); -} -inline void CMsgTEWorldDecal::_internal_set_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.index_ = value; -} -inline void CMsgTEWorldDecal::set_index(uint32_t value) { - _internal_set_index(value); - // @@protoc_insertion_point(field_set:CMsgTEWorldDecal.index) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::ETEProtobufIds> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::ETEProtobufIds>() { - return ::ETEProtobufIds_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_te_2eproto diff --git a/protobuf/generated/uifontfile_format.pb.cc b/protobuf/generated/uifontfile_format.pb.cc deleted file mode 100644 index 08e8e2170..000000000 --- a/protobuf/generated/uifontfile_format.pb.cc +++ /dev/null @@ -1,872 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: uifontfile_format.proto - -#include "uifontfile_format.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CUIFontFilePB::CUIFontFilePB( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.font_file_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.opentype_font_data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CUIFontFilePBDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUIFontFilePBDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUIFontFilePBDefaultTypeInternal() {} - union { - CUIFontFilePB _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUIFontFilePBDefaultTypeInternal _CUIFontFilePB_default_instance_; -PROTOBUF_CONSTEXPR CUIFontFilePackagePB_CUIEncryptedFontFilePB::CUIFontFilePackagePB_CUIEncryptedFontFilePB( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.encrypted_contents_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CUIFontFilePackagePB_CUIEncryptedFontFilePBDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUIFontFilePackagePB_CUIEncryptedFontFilePBDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUIFontFilePackagePB_CUIEncryptedFontFilePBDefaultTypeInternal() {} - union { - CUIFontFilePackagePB_CUIEncryptedFontFilePB _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUIFontFilePackagePB_CUIEncryptedFontFilePBDefaultTypeInternal _CUIFontFilePackagePB_CUIEncryptedFontFilePB_default_instance_; -PROTOBUF_CONSTEXPR CUIFontFilePackagePB::CUIFontFilePackagePB( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.encrypted_font_files_)*/{} - , /*decltype(_impl_.package_version_)*/0u} {} -struct CUIFontFilePackagePBDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUIFontFilePackagePBDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUIFontFilePackagePBDefaultTypeInternal() {} - union { - CUIFontFilePackagePB _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUIFontFilePackagePBDefaultTypeInternal _CUIFontFilePackagePB_default_instance_; -static ::_pb::Metadata file_level_metadata_uifontfile_5fformat_2eproto[3]; -static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_uifontfile_5fformat_2eproto = nullptr; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_uifontfile_5fformat_2eproto = nullptr; - -const uint32_t TableStruct_uifontfile_5fformat_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CUIFontFilePB, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUIFontFilePB, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUIFontFilePB, _impl_.font_file_name_), - PROTOBUF_FIELD_OFFSET(::CUIFontFilePB, _impl_.opentype_font_data_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CUIFontFilePackagePB_CUIEncryptedFontFilePB, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUIFontFilePackagePB_CUIEncryptedFontFilePB, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUIFontFilePackagePB_CUIEncryptedFontFilePB, _impl_.encrypted_contents_), - 0, - PROTOBUF_FIELD_OFFSET(::CUIFontFilePackagePB, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUIFontFilePackagePB, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUIFontFilePackagePB, _impl_.package_version_), - PROTOBUF_FIELD_OFFSET(::CUIFontFilePackagePB, _impl_.encrypted_font_files_), - 0, - ~0u, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 8, -1, sizeof(::CUIFontFilePB)}, - { 10, 17, -1, sizeof(::CUIFontFilePackagePB_CUIEncryptedFontFilePB)}, - { 18, 26, -1, sizeof(::CUIFontFilePackagePB)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CUIFontFilePB_default_instance_._instance, - &::_CUIFontFilePackagePB_CUIEncryptedFontFilePB_default_instance_._instance, - &::_CUIFontFilePackagePB_default_instance_._instance, -}; - -const char descriptor_table_protodef_uifontfile_5fformat_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\027uifontfile_format.proto\"C\n\rCUIFontFile" - "PB\022\026\n\016font_file_name\030\001 \001(\t\022\032\n\022opentype_f" - "ont_data\030\002 \001(\014\"\261\001\n\024CUIFontFilePackagePB\022" - "\027\n\017package_version\030\001 \002(\r\022J\n\024encrypted_fo" - "nt_files\030\002 \003(\0132,.CUIFontFilePackagePB.CU" - "IEncryptedFontFilePB\0324\n\026CUIEncryptedFont" - "FilePB\022\032\n\022encrypted_contents\030\001 \001(\014" - ; -static ::_pbi::once_flag descriptor_table_uifontfile_5fformat_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_uifontfile_5fformat_2eproto = { - false, false, 274, descriptor_table_protodef_uifontfile_5fformat_2eproto, - "uifontfile_format.proto", - &descriptor_table_uifontfile_5fformat_2eproto_once, nullptr, 0, 3, - schemas, file_default_instances, TableStruct_uifontfile_5fformat_2eproto::offsets, - file_level_metadata_uifontfile_5fformat_2eproto, file_level_enum_descriptors_uifontfile_5fformat_2eproto, - file_level_service_descriptors_uifontfile_5fformat_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_uifontfile_5fformat_2eproto_getter() { - return &descriptor_table_uifontfile_5fformat_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_uifontfile_5fformat_2eproto(&descriptor_table_uifontfile_5fformat_2eproto); - -// =================================================================== - -class CUIFontFilePB::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_font_file_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_opentype_font_data(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CUIFontFilePB::CUIFontFilePB(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUIFontFilePB) -} -CUIFontFilePB::CUIFontFilePB(const CUIFontFilePB& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUIFontFilePB* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.font_file_name_){} - , decltype(_impl_.opentype_font_data_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.font_file_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.font_file_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_font_file_name()) { - _this->_impl_.font_file_name_.Set(from._internal_font_file_name(), - _this->GetArenaForAllocation()); - } - _impl_.opentype_font_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.opentype_font_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_opentype_font_data()) { - _this->_impl_.opentype_font_data_.Set(from._internal_opentype_font_data(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CUIFontFilePB) -} - -inline void CUIFontFilePB::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.font_file_name_){} - , decltype(_impl_.opentype_font_data_){} - }; - _impl_.font_file_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.font_file_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.opentype_font_data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.opentype_font_data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUIFontFilePB::~CUIFontFilePB() { - // @@protoc_insertion_point(destructor:CUIFontFilePB) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUIFontFilePB::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.font_file_name_.Destroy(); - _impl_.opentype_font_data_.Destroy(); -} - -void CUIFontFilePB::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUIFontFilePB::Clear() { -// @@protoc_insertion_point(message_clear_start:CUIFontFilePB) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.font_file_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.opentype_font_data_.ClearNonDefaultToEmpty(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUIFontFilePB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string font_file_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_font_file_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUIFontFilePB.font_file_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bytes opentype_font_data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_opentype_font_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUIFontFilePB::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUIFontFilePB) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string font_file_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_font_file_name().data(), static_cast(this->_internal_font_file_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUIFontFilePB.font_file_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_font_file_name(), target); - } - - // optional bytes opentype_font_data = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_opentype_font_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUIFontFilePB) - return target; -} - -size_t CUIFontFilePB::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUIFontFilePB) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string font_file_name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_font_file_name()); - } - - // optional bytes opentype_font_data = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_opentype_font_data()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUIFontFilePB::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUIFontFilePB::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUIFontFilePB::GetClassData() const { return &_class_data_; } - - -void CUIFontFilePB::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUIFontFilePB) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_font_file_name(from._internal_font_file_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_opentype_font_data(from._internal_opentype_font_data()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUIFontFilePB::CopyFrom(const CUIFontFilePB& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUIFontFilePB) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUIFontFilePB::IsInitialized() const { - return true; -} - -void CUIFontFilePB::InternalSwap(CUIFontFilePB* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.font_file_name_, lhs_arena, - &other->_impl_.font_file_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.opentype_font_data_, lhs_arena, - &other->_impl_.opentype_font_data_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUIFontFilePB::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_uifontfile_5fformat_2eproto_getter, &descriptor_table_uifontfile_5fformat_2eproto_once, - file_level_metadata_uifontfile_5fformat_2eproto[0]); -} - -// =================================================================== - -class CUIFontFilePackagePB_CUIEncryptedFontFilePB::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_encrypted_contents(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUIFontFilePackagePB_CUIEncryptedFontFilePB::CUIFontFilePackagePB_CUIEncryptedFontFilePB(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUIFontFilePackagePB.CUIEncryptedFontFilePB) -} -CUIFontFilePackagePB_CUIEncryptedFontFilePB::CUIFontFilePackagePB_CUIEncryptedFontFilePB(const CUIFontFilePackagePB_CUIEncryptedFontFilePB& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUIFontFilePackagePB_CUIEncryptedFontFilePB* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.encrypted_contents_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.encrypted_contents_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encrypted_contents_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_encrypted_contents()) { - _this->_impl_.encrypted_contents_.Set(from._internal_encrypted_contents(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CUIFontFilePackagePB.CUIEncryptedFontFilePB) -} - -inline void CUIFontFilePackagePB_CUIEncryptedFontFilePB::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.encrypted_contents_){} - }; - _impl_.encrypted_contents_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.encrypted_contents_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUIFontFilePackagePB_CUIEncryptedFontFilePB::~CUIFontFilePackagePB_CUIEncryptedFontFilePB() { - // @@protoc_insertion_point(destructor:CUIFontFilePackagePB.CUIEncryptedFontFilePB) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUIFontFilePackagePB_CUIEncryptedFontFilePB::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.encrypted_contents_.Destroy(); -} - -void CUIFontFilePackagePB_CUIEncryptedFontFilePB::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUIFontFilePackagePB_CUIEncryptedFontFilePB::Clear() { -// @@protoc_insertion_point(message_clear_start:CUIFontFilePackagePB.CUIEncryptedFontFilePB) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.encrypted_contents_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUIFontFilePackagePB_CUIEncryptedFontFilePB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bytes encrypted_contents = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_encrypted_contents(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUIFontFilePackagePB_CUIEncryptedFontFilePB::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUIFontFilePackagePB.CUIEncryptedFontFilePB) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bytes encrypted_contents = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 1, this->_internal_encrypted_contents(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUIFontFilePackagePB.CUIEncryptedFontFilePB) - return target; -} - -size_t CUIFontFilePackagePB_CUIEncryptedFontFilePB::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUIFontFilePackagePB.CUIEncryptedFontFilePB) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bytes encrypted_contents = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_encrypted_contents()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUIFontFilePackagePB_CUIEncryptedFontFilePB::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUIFontFilePackagePB_CUIEncryptedFontFilePB::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUIFontFilePackagePB_CUIEncryptedFontFilePB::GetClassData() const { return &_class_data_; } - - -void CUIFontFilePackagePB_CUIEncryptedFontFilePB::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUIFontFilePackagePB.CUIEncryptedFontFilePB) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_encrypted_contents()) { - _this->_internal_set_encrypted_contents(from._internal_encrypted_contents()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUIFontFilePackagePB_CUIEncryptedFontFilePB::CopyFrom(const CUIFontFilePackagePB_CUIEncryptedFontFilePB& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUIFontFilePackagePB.CUIEncryptedFontFilePB) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUIFontFilePackagePB_CUIEncryptedFontFilePB::IsInitialized() const { - return true; -} - -void CUIFontFilePackagePB_CUIEncryptedFontFilePB::InternalSwap(CUIFontFilePackagePB_CUIEncryptedFontFilePB* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.encrypted_contents_, lhs_arena, - &other->_impl_.encrypted_contents_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUIFontFilePackagePB_CUIEncryptedFontFilePB::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_uifontfile_5fformat_2eproto_getter, &descriptor_table_uifontfile_5fformat_2eproto_once, - file_level_metadata_uifontfile_5fformat_2eproto[1]); -} - -// =================================================================== - -class CUIFontFilePackagePB::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_package_version(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0; - } -}; - -CUIFontFilePackagePB::CUIFontFilePackagePB(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUIFontFilePackagePB) -} -CUIFontFilePackagePB::CUIFontFilePackagePB(const CUIFontFilePackagePB& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUIFontFilePackagePB* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.encrypted_font_files_){from._impl_.encrypted_font_files_} - , decltype(_impl_.package_version_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.package_version_ = from._impl_.package_version_; - // @@protoc_insertion_point(copy_constructor:CUIFontFilePackagePB) -} - -inline void CUIFontFilePackagePB::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.encrypted_font_files_){arena} - , decltype(_impl_.package_version_){0u} - }; -} - -CUIFontFilePackagePB::~CUIFontFilePackagePB() { - // @@protoc_insertion_point(destructor:CUIFontFilePackagePB) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUIFontFilePackagePB::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.encrypted_font_files_.~RepeatedPtrField(); -} - -void CUIFontFilePackagePB::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUIFontFilePackagePB::Clear() { -// @@protoc_insertion_point(message_clear_start:CUIFontFilePackagePB) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.encrypted_font_files_.Clear(); - _impl_.package_version_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUIFontFilePackagePB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required uint32 package_version = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_package_version(&has_bits); - _impl_.package_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CUIFontFilePackagePB.CUIEncryptedFontFilePB encrypted_font_files = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_encrypted_font_files(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUIFontFilePackagePB::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUIFontFilePackagePB) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // required uint32 package_version = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_package_version(), target); - } - - // repeated .CUIFontFilePackagePB.CUIEncryptedFontFilePB encrypted_font_files = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_encrypted_font_files_size()); i < n; i++) { - const auto& repfield = this->_internal_encrypted_font_files(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUIFontFilePackagePB) - return target; -} - -size_t CUIFontFilePackagePB::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUIFontFilePackagePB) - size_t total_size = 0; - - // required uint32 package_version = 1; - if (_internal_has_package_version()) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_package_version()); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CUIFontFilePackagePB.CUIEncryptedFontFilePB encrypted_font_files = 2; - total_size += 1UL * this->_internal_encrypted_font_files_size(); - for (const auto& msg : this->_impl_.encrypted_font_files_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUIFontFilePackagePB::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUIFontFilePackagePB::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUIFontFilePackagePB::GetClassData() const { return &_class_data_; } - - -void CUIFontFilePackagePB::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUIFontFilePackagePB) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.encrypted_font_files_.MergeFrom(from._impl_.encrypted_font_files_); - if (from._internal_has_package_version()) { - _this->_internal_set_package_version(from._internal_package_version()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUIFontFilePackagePB::CopyFrom(const CUIFontFilePackagePB& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUIFontFilePackagePB) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUIFontFilePackagePB::IsInitialized() const { - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void CUIFontFilePackagePB::InternalSwap(CUIFontFilePackagePB* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.encrypted_font_files_.InternalSwap(&other->_impl_.encrypted_font_files_); - swap(_impl_.package_version_, other->_impl_.package_version_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUIFontFilePackagePB::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_uifontfile_5fformat_2eproto_getter, &descriptor_table_uifontfile_5fformat_2eproto_once, - file_level_metadata_uifontfile_5fformat_2eproto[2]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CUIFontFilePB* -Arena::CreateMaybeMessage< ::CUIFontFilePB >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUIFontFilePB >(arena); -} -template<> PROTOBUF_NOINLINE ::CUIFontFilePackagePB_CUIEncryptedFontFilePB* -Arena::CreateMaybeMessage< ::CUIFontFilePackagePB_CUIEncryptedFontFilePB >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUIFontFilePackagePB_CUIEncryptedFontFilePB >(arena); -} -template<> PROTOBUF_NOINLINE ::CUIFontFilePackagePB* -Arena::CreateMaybeMessage< ::CUIFontFilePackagePB >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUIFontFilePackagePB >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/uifontfile_format.pb.h b/protobuf/generated/uifontfile_format.pb.h deleted file mode 100644 index ce6f51ddb..000000000 --- a/protobuf/generated/uifontfile_format.pb.h +++ /dev/null @@ -1,899 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: uifontfile_format.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_uifontfile_5fformat_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_uifontfile_5fformat_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_uifontfile_5fformat_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_uifontfile_5fformat_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_uifontfile_5fformat_2eproto; -class CUIFontFilePB; -struct CUIFontFilePBDefaultTypeInternal; -extern CUIFontFilePBDefaultTypeInternal _CUIFontFilePB_default_instance_; -class CUIFontFilePackagePB; -struct CUIFontFilePackagePBDefaultTypeInternal; -extern CUIFontFilePackagePBDefaultTypeInternal _CUIFontFilePackagePB_default_instance_; -class CUIFontFilePackagePB_CUIEncryptedFontFilePB; -struct CUIFontFilePackagePB_CUIEncryptedFontFilePBDefaultTypeInternal; -extern CUIFontFilePackagePB_CUIEncryptedFontFilePBDefaultTypeInternal _CUIFontFilePackagePB_CUIEncryptedFontFilePB_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CUIFontFilePB* Arena::CreateMaybeMessage<::CUIFontFilePB>(Arena*); -template<> ::CUIFontFilePackagePB* Arena::CreateMaybeMessage<::CUIFontFilePackagePB>(Arena*); -template<> ::CUIFontFilePackagePB_CUIEncryptedFontFilePB* Arena::CreateMaybeMessage<::CUIFontFilePackagePB_CUIEncryptedFontFilePB>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -// =================================================================== - -class CUIFontFilePB : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUIFontFilePB) */ { - public: - inline CUIFontFilePB() : CUIFontFilePB(nullptr) {} - ~CUIFontFilePB() override; - explicit PROTOBUF_CONSTEXPR CUIFontFilePB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUIFontFilePB(const CUIFontFilePB& from); - CUIFontFilePB(CUIFontFilePB&& from) noexcept - : CUIFontFilePB() { - *this = ::std::move(from); - } - - inline CUIFontFilePB& operator=(const CUIFontFilePB& from) { - CopyFrom(from); - return *this; - } - inline CUIFontFilePB& operator=(CUIFontFilePB&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUIFontFilePB& default_instance() { - return *internal_default_instance(); - } - static inline const CUIFontFilePB* internal_default_instance() { - return reinterpret_cast( - &_CUIFontFilePB_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CUIFontFilePB& a, CUIFontFilePB& b) { - a.Swap(&b); - } - inline void Swap(CUIFontFilePB* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUIFontFilePB* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUIFontFilePB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUIFontFilePB& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUIFontFilePB& from) { - CUIFontFilePB::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUIFontFilePB* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUIFontFilePB"; - } - protected: - explicit CUIFontFilePB(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFontFileNameFieldNumber = 1, - kOpentypeFontDataFieldNumber = 2, - }; - // optional string font_file_name = 1; - bool has_font_file_name() const; - private: - bool _internal_has_font_file_name() const; - public: - void clear_font_file_name(); - const std::string& font_file_name() const; - template - void set_font_file_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_font_file_name(); - PROTOBUF_NODISCARD std::string* release_font_file_name(); - void set_allocated_font_file_name(std::string* font_file_name); - private: - const std::string& _internal_font_file_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_font_file_name(const std::string& value); - std::string* _internal_mutable_font_file_name(); - public: - - // optional bytes opentype_font_data = 2; - bool has_opentype_font_data() const; - private: - bool _internal_has_opentype_font_data() const; - public: - void clear_opentype_font_data(); - const std::string& opentype_font_data() const; - template - void set_opentype_font_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_opentype_font_data(); - PROTOBUF_NODISCARD std::string* release_opentype_font_data(); - void set_allocated_opentype_font_data(std::string* opentype_font_data); - private: - const std::string& _internal_opentype_font_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_opentype_font_data(const std::string& value); - std::string* _internal_mutable_opentype_font_data(); - public: - - // @@protoc_insertion_point(class_scope:CUIFontFilePB) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr font_file_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr opentype_font_data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_uifontfile_5fformat_2eproto; -}; -// ------------------------------------------------------------------- - -class CUIFontFilePackagePB_CUIEncryptedFontFilePB : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUIFontFilePackagePB.CUIEncryptedFontFilePB) */ { - public: - inline CUIFontFilePackagePB_CUIEncryptedFontFilePB() : CUIFontFilePackagePB_CUIEncryptedFontFilePB(nullptr) {} - ~CUIFontFilePackagePB_CUIEncryptedFontFilePB() override; - explicit PROTOBUF_CONSTEXPR CUIFontFilePackagePB_CUIEncryptedFontFilePB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUIFontFilePackagePB_CUIEncryptedFontFilePB(const CUIFontFilePackagePB_CUIEncryptedFontFilePB& from); - CUIFontFilePackagePB_CUIEncryptedFontFilePB(CUIFontFilePackagePB_CUIEncryptedFontFilePB&& from) noexcept - : CUIFontFilePackagePB_CUIEncryptedFontFilePB() { - *this = ::std::move(from); - } - - inline CUIFontFilePackagePB_CUIEncryptedFontFilePB& operator=(const CUIFontFilePackagePB_CUIEncryptedFontFilePB& from) { - CopyFrom(from); - return *this; - } - inline CUIFontFilePackagePB_CUIEncryptedFontFilePB& operator=(CUIFontFilePackagePB_CUIEncryptedFontFilePB&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUIFontFilePackagePB_CUIEncryptedFontFilePB& default_instance() { - return *internal_default_instance(); - } - static inline const CUIFontFilePackagePB_CUIEncryptedFontFilePB* internal_default_instance() { - return reinterpret_cast( - &_CUIFontFilePackagePB_CUIEncryptedFontFilePB_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CUIFontFilePackagePB_CUIEncryptedFontFilePB& a, CUIFontFilePackagePB_CUIEncryptedFontFilePB& b) { - a.Swap(&b); - } - inline void Swap(CUIFontFilePackagePB_CUIEncryptedFontFilePB* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUIFontFilePackagePB_CUIEncryptedFontFilePB* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUIFontFilePackagePB_CUIEncryptedFontFilePB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUIFontFilePackagePB_CUIEncryptedFontFilePB& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUIFontFilePackagePB_CUIEncryptedFontFilePB& from) { - CUIFontFilePackagePB_CUIEncryptedFontFilePB::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUIFontFilePackagePB_CUIEncryptedFontFilePB* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUIFontFilePackagePB.CUIEncryptedFontFilePB"; - } - protected: - explicit CUIFontFilePackagePB_CUIEncryptedFontFilePB(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEncryptedContentsFieldNumber = 1, - }; - // optional bytes encrypted_contents = 1; - bool has_encrypted_contents() const; - private: - bool _internal_has_encrypted_contents() const; - public: - void clear_encrypted_contents(); - const std::string& encrypted_contents() const; - template - void set_encrypted_contents(ArgT0&& arg0, ArgT... args); - std::string* mutable_encrypted_contents(); - PROTOBUF_NODISCARD std::string* release_encrypted_contents(); - void set_allocated_encrypted_contents(std::string* encrypted_contents); - private: - const std::string& _internal_encrypted_contents() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_encrypted_contents(const std::string& value); - std::string* _internal_mutable_encrypted_contents(); - public: - - // @@protoc_insertion_point(class_scope:CUIFontFilePackagePB.CUIEncryptedFontFilePB) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encrypted_contents_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_uifontfile_5fformat_2eproto; -}; -// ------------------------------------------------------------------- - -class CUIFontFilePackagePB : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUIFontFilePackagePB) */ { - public: - inline CUIFontFilePackagePB() : CUIFontFilePackagePB(nullptr) {} - ~CUIFontFilePackagePB() override; - explicit PROTOBUF_CONSTEXPR CUIFontFilePackagePB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUIFontFilePackagePB(const CUIFontFilePackagePB& from); - CUIFontFilePackagePB(CUIFontFilePackagePB&& from) noexcept - : CUIFontFilePackagePB() { - *this = ::std::move(from); - } - - inline CUIFontFilePackagePB& operator=(const CUIFontFilePackagePB& from) { - CopyFrom(from); - return *this; - } - inline CUIFontFilePackagePB& operator=(CUIFontFilePackagePB&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUIFontFilePackagePB& default_instance() { - return *internal_default_instance(); - } - static inline const CUIFontFilePackagePB* internal_default_instance() { - return reinterpret_cast( - &_CUIFontFilePackagePB_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CUIFontFilePackagePB& a, CUIFontFilePackagePB& b) { - a.Swap(&b); - } - inline void Swap(CUIFontFilePackagePB* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUIFontFilePackagePB* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUIFontFilePackagePB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUIFontFilePackagePB& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUIFontFilePackagePB& from) { - CUIFontFilePackagePB::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUIFontFilePackagePB* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUIFontFilePackagePB"; - } - protected: - explicit CUIFontFilePackagePB(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CUIFontFilePackagePB_CUIEncryptedFontFilePB CUIEncryptedFontFilePB; - - // accessors ------------------------------------------------------- - - enum : int { - kEncryptedFontFilesFieldNumber = 2, - kPackageVersionFieldNumber = 1, - }; - // repeated .CUIFontFilePackagePB.CUIEncryptedFontFilePB encrypted_font_files = 2; - int encrypted_font_files_size() const; - private: - int _internal_encrypted_font_files_size() const; - public: - void clear_encrypted_font_files(); - ::CUIFontFilePackagePB_CUIEncryptedFontFilePB* mutable_encrypted_font_files(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUIFontFilePackagePB_CUIEncryptedFontFilePB >* - mutable_encrypted_font_files(); - private: - const ::CUIFontFilePackagePB_CUIEncryptedFontFilePB& _internal_encrypted_font_files(int index) const; - ::CUIFontFilePackagePB_CUIEncryptedFontFilePB* _internal_add_encrypted_font_files(); - public: - const ::CUIFontFilePackagePB_CUIEncryptedFontFilePB& encrypted_font_files(int index) const; - ::CUIFontFilePackagePB_CUIEncryptedFontFilePB* add_encrypted_font_files(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUIFontFilePackagePB_CUIEncryptedFontFilePB >& - encrypted_font_files() const; - - // required uint32 package_version = 1; - bool has_package_version() const; - private: - bool _internal_has_package_version() const; - public: - void clear_package_version(); - uint32_t package_version() const; - void set_package_version(uint32_t value); - private: - uint32_t _internal_package_version() const; - void _internal_set_package_version(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUIFontFilePackagePB) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUIFontFilePackagePB_CUIEncryptedFontFilePB > encrypted_font_files_; - uint32_t package_version_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_uifontfile_5fformat_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CUIFontFilePB - -// optional string font_file_name = 1; -inline bool CUIFontFilePB::_internal_has_font_file_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUIFontFilePB::has_font_file_name() const { - return _internal_has_font_file_name(); -} -inline void CUIFontFilePB::clear_font_file_name() { - _impl_.font_file_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUIFontFilePB::font_file_name() const { - // @@protoc_insertion_point(field_get:CUIFontFilePB.font_file_name) - return _internal_font_file_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUIFontFilePB::set_font_file_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.font_file_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUIFontFilePB.font_file_name) -} -inline std::string* CUIFontFilePB::mutable_font_file_name() { - std::string* _s = _internal_mutable_font_file_name(); - // @@protoc_insertion_point(field_mutable:CUIFontFilePB.font_file_name) - return _s; -} -inline const std::string& CUIFontFilePB::_internal_font_file_name() const { - return _impl_.font_file_name_.Get(); -} -inline void CUIFontFilePB::_internal_set_font_file_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.font_file_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUIFontFilePB::_internal_mutable_font_file_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.font_file_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUIFontFilePB::release_font_file_name() { - // @@protoc_insertion_point(field_release:CUIFontFilePB.font_file_name) - if (!_internal_has_font_file_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.font_file_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.font_file_name_.IsDefault()) { - _impl_.font_file_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUIFontFilePB::set_allocated_font_file_name(std::string* font_file_name) { - if (font_file_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.font_file_name_.SetAllocated(font_file_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.font_file_name_.IsDefault()) { - _impl_.font_file_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUIFontFilePB.font_file_name) -} - -// optional bytes opentype_font_data = 2; -inline bool CUIFontFilePB::_internal_has_opentype_font_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUIFontFilePB::has_opentype_font_data() const { - return _internal_has_opentype_font_data(); -} -inline void CUIFontFilePB::clear_opentype_font_data() { - _impl_.opentype_font_data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CUIFontFilePB::opentype_font_data() const { - // @@protoc_insertion_point(field_get:CUIFontFilePB.opentype_font_data) - return _internal_opentype_font_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUIFontFilePB::set_opentype_font_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.opentype_font_data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUIFontFilePB.opentype_font_data) -} -inline std::string* CUIFontFilePB::mutable_opentype_font_data() { - std::string* _s = _internal_mutable_opentype_font_data(); - // @@protoc_insertion_point(field_mutable:CUIFontFilePB.opentype_font_data) - return _s; -} -inline const std::string& CUIFontFilePB::_internal_opentype_font_data() const { - return _impl_.opentype_font_data_.Get(); -} -inline void CUIFontFilePB::_internal_set_opentype_font_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.opentype_font_data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUIFontFilePB::_internal_mutable_opentype_font_data() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.opentype_font_data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUIFontFilePB::release_opentype_font_data() { - // @@protoc_insertion_point(field_release:CUIFontFilePB.opentype_font_data) - if (!_internal_has_opentype_font_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.opentype_font_data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.opentype_font_data_.IsDefault()) { - _impl_.opentype_font_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUIFontFilePB::set_allocated_opentype_font_data(std::string* opentype_font_data) { - if (opentype_font_data != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.opentype_font_data_.SetAllocated(opentype_font_data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.opentype_font_data_.IsDefault()) { - _impl_.opentype_font_data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUIFontFilePB.opentype_font_data) -} - -// ------------------------------------------------------------------- - -// CUIFontFilePackagePB_CUIEncryptedFontFilePB - -// optional bytes encrypted_contents = 1; -inline bool CUIFontFilePackagePB_CUIEncryptedFontFilePB::_internal_has_encrypted_contents() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUIFontFilePackagePB_CUIEncryptedFontFilePB::has_encrypted_contents() const { - return _internal_has_encrypted_contents(); -} -inline void CUIFontFilePackagePB_CUIEncryptedFontFilePB::clear_encrypted_contents() { - _impl_.encrypted_contents_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUIFontFilePackagePB_CUIEncryptedFontFilePB::encrypted_contents() const { - // @@protoc_insertion_point(field_get:CUIFontFilePackagePB.CUIEncryptedFontFilePB.encrypted_contents) - return _internal_encrypted_contents(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUIFontFilePackagePB_CUIEncryptedFontFilePB::set_encrypted_contents(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.encrypted_contents_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUIFontFilePackagePB.CUIEncryptedFontFilePB.encrypted_contents) -} -inline std::string* CUIFontFilePackagePB_CUIEncryptedFontFilePB::mutable_encrypted_contents() { - std::string* _s = _internal_mutable_encrypted_contents(); - // @@protoc_insertion_point(field_mutable:CUIFontFilePackagePB.CUIEncryptedFontFilePB.encrypted_contents) - return _s; -} -inline const std::string& CUIFontFilePackagePB_CUIEncryptedFontFilePB::_internal_encrypted_contents() const { - return _impl_.encrypted_contents_.Get(); -} -inline void CUIFontFilePackagePB_CUIEncryptedFontFilePB::_internal_set_encrypted_contents(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.encrypted_contents_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUIFontFilePackagePB_CUIEncryptedFontFilePB::_internal_mutable_encrypted_contents() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.encrypted_contents_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUIFontFilePackagePB_CUIEncryptedFontFilePB::release_encrypted_contents() { - // @@protoc_insertion_point(field_release:CUIFontFilePackagePB.CUIEncryptedFontFilePB.encrypted_contents) - if (!_internal_has_encrypted_contents()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.encrypted_contents_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.encrypted_contents_.IsDefault()) { - _impl_.encrypted_contents_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUIFontFilePackagePB_CUIEncryptedFontFilePB::set_allocated_encrypted_contents(std::string* encrypted_contents) { - if (encrypted_contents != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.encrypted_contents_.SetAllocated(encrypted_contents, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.encrypted_contents_.IsDefault()) { - _impl_.encrypted_contents_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUIFontFilePackagePB.CUIEncryptedFontFilePB.encrypted_contents) -} - -// ------------------------------------------------------------------- - -// CUIFontFilePackagePB - -// required uint32 package_version = 1; -inline bool CUIFontFilePackagePB::_internal_has_package_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUIFontFilePackagePB::has_package_version() const { - return _internal_has_package_version(); -} -inline void CUIFontFilePackagePB::clear_package_version() { - _impl_.package_version_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CUIFontFilePackagePB::_internal_package_version() const { - return _impl_.package_version_; -} -inline uint32_t CUIFontFilePackagePB::package_version() const { - // @@protoc_insertion_point(field_get:CUIFontFilePackagePB.package_version) - return _internal_package_version(); -} -inline void CUIFontFilePackagePB::_internal_set_package_version(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.package_version_ = value; -} -inline void CUIFontFilePackagePB::set_package_version(uint32_t value) { - _internal_set_package_version(value); - // @@protoc_insertion_point(field_set:CUIFontFilePackagePB.package_version) -} - -// repeated .CUIFontFilePackagePB.CUIEncryptedFontFilePB encrypted_font_files = 2; -inline int CUIFontFilePackagePB::_internal_encrypted_font_files_size() const { - return _impl_.encrypted_font_files_.size(); -} -inline int CUIFontFilePackagePB::encrypted_font_files_size() const { - return _internal_encrypted_font_files_size(); -} -inline void CUIFontFilePackagePB::clear_encrypted_font_files() { - _impl_.encrypted_font_files_.Clear(); -} -inline ::CUIFontFilePackagePB_CUIEncryptedFontFilePB* CUIFontFilePackagePB::mutable_encrypted_font_files(int index) { - // @@protoc_insertion_point(field_mutable:CUIFontFilePackagePB.encrypted_font_files) - return _impl_.encrypted_font_files_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUIFontFilePackagePB_CUIEncryptedFontFilePB >* -CUIFontFilePackagePB::mutable_encrypted_font_files() { - // @@protoc_insertion_point(field_mutable_list:CUIFontFilePackagePB.encrypted_font_files) - return &_impl_.encrypted_font_files_; -} -inline const ::CUIFontFilePackagePB_CUIEncryptedFontFilePB& CUIFontFilePackagePB::_internal_encrypted_font_files(int index) const { - return _impl_.encrypted_font_files_.Get(index); -} -inline const ::CUIFontFilePackagePB_CUIEncryptedFontFilePB& CUIFontFilePackagePB::encrypted_font_files(int index) const { - // @@protoc_insertion_point(field_get:CUIFontFilePackagePB.encrypted_font_files) - return _internal_encrypted_font_files(index); -} -inline ::CUIFontFilePackagePB_CUIEncryptedFontFilePB* CUIFontFilePackagePB::_internal_add_encrypted_font_files() { - return _impl_.encrypted_font_files_.Add(); -} -inline ::CUIFontFilePackagePB_CUIEncryptedFontFilePB* CUIFontFilePackagePB::add_encrypted_font_files() { - ::CUIFontFilePackagePB_CUIEncryptedFontFilePB* _add = _internal_add_encrypted_font_files(); - // @@protoc_insertion_point(field_add:CUIFontFilePackagePB.encrypted_font_files) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUIFontFilePackagePB_CUIEncryptedFontFilePB >& -CUIFontFilePackagePB::encrypted_font_files() const { - // @@protoc_insertion_point(field_list:CUIFontFilePackagePB.encrypted_font_files) - return _impl_.encrypted_font_files_; -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_uifontfile_5fformat_2eproto diff --git a/protobuf/generated/usercmd.pb.cc b/protobuf/generated/usercmd.pb.cc deleted file mode 100644 index 60c85c7a3..000000000 --- a/protobuf/generated/usercmd.pb.cc +++ /dev/null @@ -1,1888 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: usercmd.proto - -#include "usercmd.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CInButtonStatePB::CInButtonStatePB( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.buttonstate1_)*/uint64_t{0u} - , /*decltype(_impl_.buttonstate2_)*/uint64_t{0u} - , /*decltype(_impl_.buttonstate3_)*/uint64_t{0u}} {} -struct CInButtonStatePBDefaultTypeInternal { - PROTOBUF_CONSTEXPR CInButtonStatePBDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CInButtonStatePBDefaultTypeInternal() {} - union { - CInButtonStatePB _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CInButtonStatePBDefaultTypeInternal _CInButtonStatePB_default_instance_; -PROTOBUF_CONSTEXPR CSubtickMoveStep::CSubtickMoveStep( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.button_)*/uint64_t{0u} - , /*decltype(_impl_.pressed_)*/false - , /*decltype(_impl_.when_)*/0 - , /*decltype(_impl_.analog_forward_delta_)*/0 - , /*decltype(_impl_.analog_left_delta_)*/0 - , /*decltype(_impl_.pitch_delta_)*/0 - , /*decltype(_impl_.yaw_delta_)*/0} {} -struct CSubtickMoveStepDefaultTypeInternal { - PROTOBUF_CONSTEXPR CSubtickMoveStepDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CSubtickMoveStepDefaultTypeInternal() {} - union { - CSubtickMoveStep _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CSubtickMoveStepDefaultTypeInternal _CSubtickMoveStep_default_instance_; -PROTOBUF_CONSTEXPR CBaseUserCmdPB::CBaseUserCmdPB( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.subtick_moves_)*/{} - , /*decltype(_impl_.move_crc_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.buttons_pb_)*/nullptr - , /*decltype(_impl_.viewangles_)*/nullptr - , /*decltype(_impl_.legacy_command_number_)*/0 - , /*decltype(_impl_.client_tick_)*/0 - , /*decltype(_impl_.forwardmove_)*/0 - , /*decltype(_impl_.leftmove_)*/0 - , /*decltype(_impl_.upmove_)*/0 - , /*decltype(_impl_.impulse_)*/0 - , /*decltype(_impl_.weaponselect_)*/0 - , /*decltype(_impl_.random_seed_)*/0 - , /*decltype(_impl_.mousedx_)*/0 - , /*decltype(_impl_.mousedy_)*/0 - , /*decltype(_impl_.prediction_offset_ticks_x256_)*/0u - , /*decltype(_impl_.consumed_server_angle_changes_)*/0u - , /*decltype(_impl_.cmd_flags_)*/0 - , /*decltype(_impl_.pawn_entity_handle_)*/16777215u} {} -struct CBaseUserCmdPBDefaultTypeInternal { - PROTOBUF_CONSTEXPR CBaseUserCmdPBDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CBaseUserCmdPBDefaultTypeInternal() {} - union { - CBaseUserCmdPB _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CBaseUserCmdPBDefaultTypeInternal _CBaseUserCmdPB_default_instance_; -PROTOBUF_CONSTEXPR CUserCmdBasePB::CUserCmdBasePB( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.base_)*/nullptr} {} -struct CUserCmdBasePBDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserCmdBasePBDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserCmdBasePBDefaultTypeInternal() {} - union { - CUserCmdBasePB _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserCmdBasePBDefaultTypeInternal _CUserCmdBasePB_default_instance_; -static ::_pb::Metadata file_level_metadata_usercmd_2eproto[4]; -static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_usercmd_2eproto = nullptr; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_usercmd_2eproto = nullptr; - -const uint32_t TableStruct_usercmd_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CInButtonStatePB, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CInButtonStatePB, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CInButtonStatePB, _impl_.buttonstate1_), - PROTOBUF_FIELD_OFFSET(::CInButtonStatePB, _impl_.buttonstate2_), - PROTOBUF_FIELD_OFFSET(::CInButtonStatePB, _impl_.buttonstate3_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CSubtickMoveStep, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CSubtickMoveStep, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CSubtickMoveStep, _impl_.button_), - PROTOBUF_FIELD_OFFSET(::CSubtickMoveStep, _impl_.pressed_), - PROTOBUF_FIELD_OFFSET(::CSubtickMoveStep, _impl_.when_), - PROTOBUF_FIELD_OFFSET(::CSubtickMoveStep, _impl_.analog_forward_delta_), - PROTOBUF_FIELD_OFFSET(::CSubtickMoveStep, _impl_.analog_left_delta_), - PROTOBUF_FIELD_OFFSET(::CSubtickMoveStep, _impl_.pitch_delta_), - PROTOBUF_FIELD_OFFSET(::CSubtickMoveStep, _impl_.yaw_delta_), - 0, - 1, - 2, - 3, - 4, - 5, - 6, - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.legacy_command_number_), - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.client_tick_), - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.prediction_offset_ticks_x256_), - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.buttons_pb_), - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.viewangles_), - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.forwardmove_), - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.leftmove_), - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.upmove_), - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.impulse_), - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.weaponselect_), - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.random_seed_), - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.mousedx_), - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.mousedy_), - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.pawn_entity_handle_), - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.subtick_moves_), - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.move_crc_), - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.consumed_server_angle_changes_), - PROTOBUF_FIELD_OFFSET(::CBaseUserCmdPB, _impl_.cmd_flags_), - 3, - 4, - 13, - 1, - 2, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 16, - ~0u, - 0, - 14, - 15, - PROTOBUF_FIELD_OFFSET(::CUserCmdBasePB, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserCmdBasePB, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserCmdBasePB, _impl_.base_), - 0, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 9, -1, sizeof(::CInButtonStatePB)}, - { 12, 25, -1, sizeof(::CSubtickMoveStep)}, - { 32, 56, -1, sizeof(::CBaseUserCmdPB)}, - { 74, 81, -1, sizeof(::CUserCmdBasePB)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CInButtonStatePB_default_instance_._instance, - &::_CSubtickMoveStep_default_instance_._instance, - &::_CBaseUserCmdPB_default_instance_._instance, - &::_CUserCmdBasePB_default_instance_._instance, -}; - -const char descriptor_table_protodef_usercmd_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\rusercmd.proto\032\026networkbasetypes.proto\"" - "T\n\020CInButtonStatePB\022\024\n\014buttonstate1\030\001 \001(" - "\004\022\024\n\014buttonstate2\030\002 \001(\004\022\024\n\014buttonstate3\030" - "\003 \001(\004\"\242\001\n\020CSubtickMoveStep\022\016\n\006button\030\001 \001" - "(\004\022\017\n\007pressed\030\002 \001(\010\022\014\n\004when\030\003 \001(\002\022\034\n\024ana" - "log_forward_delta\030\004 \001(\002\022\031\n\021analog_left_d" - "elta\030\005 \001(\002\022\023\n\013pitch_delta\030\010 \001(\002\022\021\n\tyaw_d" - "elta\030\t \001(\002\"\343\003\n\016CBaseUserCmdPB\022\035\n\025legacy_" - "command_number\030\001 \001(\005\022\023\n\013client_tick\030\002 \001(" - "\005\022$\n\034prediction_offset_ticks_x256\030\021 \001(\r\022" - "%\n\nbuttons_pb\030\003 \001(\0132\021.CInButtonStatePB\022\037" - "\n\nviewangles\030\004 \001(\0132\013.CMsgQAngle\022\023\n\013forwa" - "rdmove\030\005 \001(\002\022\020\n\010leftmove\030\006 \001(\002\022\016\n\006upmove" - "\030\007 \001(\002\022\017\n\007impulse\030\010 \001(\005\022\024\n\014weaponselect\030" - "\t \001(\005\022\023\n\013random_seed\030\n \001(\005\022\017\n\007mousedx\030\013 " - "\001(\005\022\017\n\007mousedy\030\014 \001(\005\022$\n\022pawn_entity_hand" - "le\030\016 \001(\r:\01016777215\022(\n\rsubtick_moves\030\022 \003(" - "\0132\021.CSubtickMoveStep\022\020\n\010move_crc\030\023 \001(\014\022%" - "\n\035consumed_server_angle_changes\030\024 \001(\r\022\021\n" - "\tcmd_flags\030\025 \001(\005\"/\n\016CUserCmdBasePB\022\035\n\004ba" - "se\030\001 \001(\0132\017.CBaseUserCmdPB" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_usercmd_2eproto_deps[1] = { - &::descriptor_table_networkbasetypes_2eproto, -}; -static ::_pbi::once_flag descriptor_table_usercmd_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_usercmd_2eproto = { - false, false, 825, descriptor_table_protodef_usercmd_2eproto, - "usercmd.proto", - &descriptor_table_usercmd_2eproto_once, descriptor_table_usercmd_2eproto_deps, 1, 4, - schemas, file_default_instances, TableStruct_usercmd_2eproto::offsets, - file_level_metadata_usercmd_2eproto, file_level_enum_descriptors_usercmd_2eproto, - file_level_service_descriptors_usercmd_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_usercmd_2eproto_getter() { - return &descriptor_table_usercmd_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_usercmd_2eproto(&descriptor_table_usercmd_2eproto); - -// =================================================================== - -class CInButtonStatePB::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_buttonstate1(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_buttonstate2(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_buttonstate3(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CInButtonStatePB::CInButtonStatePB(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CInButtonStatePB) -} -CInButtonStatePB::CInButtonStatePB(const CInButtonStatePB& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CInButtonStatePB* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.buttonstate1_){} - , decltype(_impl_.buttonstate2_){} - , decltype(_impl_.buttonstate3_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.buttonstate1_, &from._impl_.buttonstate1_, - static_cast(reinterpret_cast(&_impl_.buttonstate3_) - - reinterpret_cast(&_impl_.buttonstate1_)) + sizeof(_impl_.buttonstate3_)); - // @@protoc_insertion_point(copy_constructor:CInButtonStatePB) -} - -inline void CInButtonStatePB::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.buttonstate1_){uint64_t{0u}} - , decltype(_impl_.buttonstate2_){uint64_t{0u}} - , decltype(_impl_.buttonstate3_){uint64_t{0u}} - }; -} - -CInButtonStatePB::~CInButtonStatePB() { - // @@protoc_insertion_point(destructor:CInButtonStatePB) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CInButtonStatePB::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CInButtonStatePB::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CInButtonStatePB::Clear() { -// @@protoc_insertion_point(message_clear_start:CInButtonStatePB) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.buttonstate1_, 0, static_cast( - reinterpret_cast(&_impl_.buttonstate3_) - - reinterpret_cast(&_impl_.buttonstate1_)) + sizeof(_impl_.buttonstate3_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CInButtonStatePB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 buttonstate1 = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_buttonstate1(&has_bits); - _impl_.buttonstate1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 buttonstate2 = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_buttonstate2(&has_bits); - _impl_.buttonstate2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 buttonstate3 = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_buttonstate3(&has_bits); - _impl_.buttonstate3_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CInButtonStatePB::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CInButtonStatePB) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 buttonstate1 = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_buttonstate1(), target); - } - - // optional uint64 buttonstate2 = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_buttonstate2(), target); - } - - // optional uint64 buttonstate3 = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_buttonstate3(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CInButtonStatePB) - return target; -} - -size_t CInButtonStatePB::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CInButtonStatePB) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional uint64 buttonstate1 = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_buttonstate1()); - } - - // optional uint64 buttonstate2 = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_buttonstate2()); - } - - // optional uint64 buttonstate3 = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_buttonstate3()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CInButtonStatePB::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CInButtonStatePB::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CInButtonStatePB::GetClassData() const { return &_class_data_; } - - -void CInButtonStatePB::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CInButtonStatePB) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.buttonstate1_ = from._impl_.buttonstate1_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.buttonstate2_ = from._impl_.buttonstate2_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.buttonstate3_ = from._impl_.buttonstate3_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CInButtonStatePB::CopyFrom(const CInButtonStatePB& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CInButtonStatePB) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CInButtonStatePB::IsInitialized() const { - return true; -} - -void CInButtonStatePB::InternalSwap(CInButtonStatePB* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CInButtonStatePB, _impl_.buttonstate3_) - + sizeof(CInButtonStatePB::_impl_.buttonstate3_) - - PROTOBUF_FIELD_OFFSET(CInButtonStatePB, _impl_.buttonstate1_)>( - reinterpret_cast(&_impl_.buttonstate1_), - reinterpret_cast(&other->_impl_.buttonstate1_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CInButtonStatePB::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usercmd_2eproto_getter, &descriptor_table_usercmd_2eproto_once, - file_level_metadata_usercmd_2eproto[0]); -} - -// =================================================================== - -class CSubtickMoveStep::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_button(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_pressed(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_when(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_analog_forward_delta(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_analog_left_delta(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_pitch_delta(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_yaw_delta(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } -}; - -CSubtickMoveStep::CSubtickMoveStep(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CSubtickMoveStep) -} -CSubtickMoveStep::CSubtickMoveStep(const CSubtickMoveStep& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CSubtickMoveStep* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.button_){} - , decltype(_impl_.pressed_){} - , decltype(_impl_.when_){} - , decltype(_impl_.analog_forward_delta_){} - , decltype(_impl_.analog_left_delta_){} - , decltype(_impl_.pitch_delta_){} - , decltype(_impl_.yaw_delta_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.button_, &from._impl_.button_, - static_cast(reinterpret_cast(&_impl_.yaw_delta_) - - reinterpret_cast(&_impl_.button_)) + sizeof(_impl_.yaw_delta_)); - // @@protoc_insertion_point(copy_constructor:CSubtickMoveStep) -} - -inline void CSubtickMoveStep::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.button_){uint64_t{0u}} - , decltype(_impl_.pressed_){false} - , decltype(_impl_.when_){0} - , decltype(_impl_.analog_forward_delta_){0} - , decltype(_impl_.analog_left_delta_){0} - , decltype(_impl_.pitch_delta_){0} - , decltype(_impl_.yaw_delta_){0} - }; -} - -CSubtickMoveStep::~CSubtickMoveStep() { - // @@protoc_insertion_point(destructor:CSubtickMoveStep) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CSubtickMoveStep::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CSubtickMoveStep::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CSubtickMoveStep::Clear() { -// @@protoc_insertion_point(message_clear_start:CSubtickMoveStep) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - ::memset(&_impl_.button_, 0, static_cast( - reinterpret_cast(&_impl_.yaw_delta_) - - reinterpret_cast(&_impl_.button_)) + sizeof(_impl_.yaw_delta_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CSubtickMoveStep::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 button = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_button(&has_bits); - _impl_.button_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool pressed = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_pressed(&has_bits); - _impl_.pressed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float when = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_when(&has_bits); - _impl_.when_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float analog_forward_delta = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_analog_forward_delta(&has_bits); - _impl_.analog_forward_delta_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float analog_left_delta = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_analog_left_delta(&has_bits); - _impl_.analog_left_delta_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float pitch_delta = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 69)) { - _Internal::set_has_pitch_delta(&has_bits); - _impl_.pitch_delta_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float yaw_delta = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_yaw_delta(&has_bits); - _impl_.yaw_delta_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CSubtickMoveStep::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CSubtickMoveStep) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 button = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_button(), target); - } - - // optional bool pressed = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_pressed(), target); - } - - // optional float when = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_when(), target); - } - - // optional float analog_forward_delta = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_analog_forward_delta(), target); - } - - // optional float analog_left_delta = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_analog_left_delta(), target); - } - - // optional float pitch_delta = 8; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(8, this->_internal_pitch_delta(), target); - } - - // optional float yaw_delta = 9; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_yaw_delta(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CSubtickMoveStep) - return target; -} - -size_t CSubtickMoveStep::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CSubtickMoveStep) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional uint64 button = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_button()); - } - - // optional bool pressed = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - // optional float when = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional float analog_forward_delta = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - // optional float analog_left_delta = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional float pitch_delta = 8; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional float yaw_delta = 9; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CSubtickMoveStep::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CSubtickMoveStep::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CSubtickMoveStep::GetClassData() const { return &_class_data_; } - - -void CSubtickMoveStep::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CSubtickMoveStep) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.button_ = from._impl_.button_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.pressed_ = from._impl_.pressed_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.when_ = from._impl_.when_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.analog_forward_delta_ = from._impl_.analog_forward_delta_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.analog_left_delta_ = from._impl_.analog_left_delta_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.pitch_delta_ = from._impl_.pitch_delta_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.yaw_delta_ = from._impl_.yaw_delta_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CSubtickMoveStep::CopyFrom(const CSubtickMoveStep& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CSubtickMoveStep) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CSubtickMoveStep::IsInitialized() const { - return true; -} - -void CSubtickMoveStep::InternalSwap(CSubtickMoveStep* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CSubtickMoveStep, _impl_.yaw_delta_) - + sizeof(CSubtickMoveStep::_impl_.yaw_delta_) - - PROTOBUF_FIELD_OFFSET(CSubtickMoveStep, _impl_.button_)>( - reinterpret_cast(&_impl_.button_), - reinterpret_cast(&other->_impl_.button_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CSubtickMoveStep::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usercmd_2eproto_getter, &descriptor_table_usercmd_2eproto_once, - file_level_metadata_usercmd_2eproto[1]); -} - -// =================================================================== - -class CBaseUserCmdPB::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_legacy_command_number(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_client_tick(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_prediction_offset_ticks_x256(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static const ::CInButtonStatePB& buttons_pb(const CBaseUserCmdPB* msg); - static void set_has_buttons_pb(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgQAngle& viewangles(const CBaseUserCmdPB* msg); - static void set_has_viewangles(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_forwardmove(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_leftmove(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_upmove(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_impulse(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_weaponselect(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_random_seed(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_mousedx(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_mousedy(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_pawn_entity_handle(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_move_crc(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_consumed_server_angle_changes(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_cmd_flags(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } -}; - -const ::CInButtonStatePB& -CBaseUserCmdPB::_Internal::buttons_pb(const CBaseUserCmdPB* msg) { - return *msg->_impl_.buttons_pb_; -} -const ::CMsgQAngle& -CBaseUserCmdPB::_Internal::viewangles(const CBaseUserCmdPB* msg) { - return *msg->_impl_.viewangles_; -} -void CBaseUserCmdPB::clear_viewangles() { - if (_impl_.viewangles_ != nullptr) _impl_.viewangles_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -CBaseUserCmdPB::CBaseUserCmdPB(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CBaseUserCmdPB) -} -CBaseUserCmdPB::CBaseUserCmdPB(const CBaseUserCmdPB& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CBaseUserCmdPB* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.subtick_moves_){from._impl_.subtick_moves_} - , decltype(_impl_.move_crc_){} - , decltype(_impl_.buttons_pb_){nullptr} - , decltype(_impl_.viewangles_){nullptr} - , decltype(_impl_.legacy_command_number_){} - , decltype(_impl_.client_tick_){} - , decltype(_impl_.forwardmove_){} - , decltype(_impl_.leftmove_){} - , decltype(_impl_.upmove_){} - , decltype(_impl_.impulse_){} - , decltype(_impl_.weaponselect_){} - , decltype(_impl_.random_seed_){} - , decltype(_impl_.mousedx_){} - , decltype(_impl_.mousedy_){} - , decltype(_impl_.prediction_offset_ticks_x256_){} - , decltype(_impl_.consumed_server_angle_changes_){} - , decltype(_impl_.cmd_flags_){} - , decltype(_impl_.pawn_entity_handle_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.move_crc_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.move_crc_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_move_crc()) { - _this->_impl_.move_crc_.Set(from._internal_move_crc(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_buttons_pb()) { - _this->_impl_.buttons_pb_ = new ::CInButtonStatePB(*from._impl_.buttons_pb_); - } - if (from._internal_has_viewangles()) { - _this->_impl_.viewangles_ = new ::CMsgQAngle(*from._impl_.viewangles_); - } - ::memcpy(&_impl_.legacy_command_number_, &from._impl_.legacy_command_number_, - static_cast(reinterpret_cast(&_impl_.pawn_entity_handle_) - - reinterpret_cast(&_impl_.legacy_command_number_)) + sizeof(_impl_.pawn_entity_handle_)); - // @@protoc_insertion_point(copy_constructor:CBaseUserCmdPB) -} - -inline void CBaseUserCmdPB::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.subtick_moves_){arena} - , decltype(_impl_.move_crc_){} - , decltype(_impl_.buttons_pb_){nullptr} - , decltype(_impl_.viewangles_){nullptr} - , decltype(_impl_.legacy_command_number_){0} - , decltype(_impl_.client_tick_){0} - , decltype(_impl_.forwardmove_){0} - , decltype(_impl_.leftmove_){0} - , decltype(_impl_.upmove_){0} - , decltype(_impl_.impulse_){0} - , decltype(_impl_.weaponselect_){0} - , decltype(_impl_.random_seed_){0} - , decltype(_impl_.mousedx_){0} - , decltype(_impl_.mousedy_){0} - , decltype(_impl_.prediction_offset_ticks_x256_){0u} - , decltype(_impl_.consumed_server_angle_changes_){0u} - , decltype(_impl_.cmd_flags_){0} - , decltype(_impl_.pawn_entity_handle_){16777215u} - }; - _impl_.move_crc_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.move_crc_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CBaseUserCmdPB::~CBaseUserCmdPB() { - // @@protoc_insertion_point(destructor:CBaseUserCmdPB) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CBaseUserCmdPB::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.subtick_moves_.~RepeatedPtrField(); - _impl_.move_crc_.Destroy(); - if (this != internal_default_instance()) delete _impl_.buttons_pb_; - if (this != internal_default_instance()) delete _impl_.viewangles_; -} - -void CBaseUserCmdPB::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CBaseUserCmdPB::Clear() { -// @@protoc_insertion_point(message_clear_start:CBaseUserCmdPB) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.subtick_moves_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.move_crc_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.buttons_pb_ != nullptr); - _impl_.buttons_pb_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.viewangles_ != nullptr); - _impl_.viewangles_->Clear(); - } - } - if (cached_has_bits & 0x000000f8u) { - ::memset(&_impl_.legacy_command_number_, 0, static_cast( - reinterpret_cast(&_impl_.upmove_) - - reinterpret_cast(&_impl_.legacy_command_number_)) + sizeof(_impl_.upmove_)); - } - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.impulse_, 0, static_cast( - reinterpret_cast(&_impl_.cmd_flags_) - - reinterpret_cast(&_impl_.impulse_)) + sizeof(_impl_.cmd_flags_)); - } - _impl_.pawn_entity_handle_ = 16777215u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CBaseUserCmdPB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 legacy_command_number = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_legacy_command_number(&has_bits); - _impl_.legacy_command_number_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 client_tick = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_client_tick(&has_bits); - _impl_.client_tick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CInButtonStatePB buttons_pb = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_buttons_pb(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle viewangles = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_viewangles(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float forwardmove = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_forwardmove(&has_bits); - _impl_.forwardmove_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float leftmove = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - _Internal::set_has_leftmove(&has_bits); - _impl_.leftmove_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float upmove = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_upmove(&has_bits); - _impl_.upmove_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 impulse = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_impulse(&has_bits); - _impl_.impulse_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 weaponselect = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_weaponselect(&has_bits); - _impl_.weaponselect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 random_seed = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_random_seed(&has_bits); - _impl_.random_seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 mousedx = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_mousedx(&has_bits); - _impl_.mousedx_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 mousedy = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_mousedy(&has_bits); - _impl_.mousedy_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 pawn_entity_handle = 14 [default = 16777215]; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_pawn_entity_handle(&has_bits); - _impl_.pawn_entity_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 prediction_offset_ticks_x256 = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_prediction_offset_ticks_x256(&has_bits); - _impl_.prediction_offset_ticks_x256_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CSubtickMoveStep subtick_moves = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { - ptr -= 2; - do { - ptr += 2; - ptr = ctx->ParseMessage(_internal_add_subtick_moves(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<146>(ptr)); - } else - goto handle_unusual; - continue; - // optional bytes move_crc = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { - auto str = _internal_mutable_move_crc(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 consumed_server_angle_changes = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 160)) { - _Internal::set_has_consumed_server_angle_changes(&has_bits); - _impl_.consumed_server_angle_changes_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 cmd_flags = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 168)) { - _Internal::set_has_cmd_flags(&has_bits); - _impl_.cmd_flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CBaseUserCmdPB::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CBaseUserCmdPB) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 legacy_command_number = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_legacy_command_number(), target); - } - - // optional int32 client_tick = 2; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_client_tick(), target); - } - - // optional .CInButtonStatePB buttons_pb = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::buttons_pb(this), - _Internal::buttons_pb(this).GetCachedSize(), target, stream); - } - - // optional .CMsgQAngle viewangles = 4; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::viewangles(this), - _Internal::viewangles(this).GetCachedSize(), target, stream); - } - - // optional float forwardmove = 5; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_forwardmove(), target); - } - - // optional float leftmove = 6; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_leftmove(), target); - } - - // optional float upmove = 7; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_upmove(), target); - } - - // optional int32 impulse = 8; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_impulse(), target); - } - - // optional int32 weaponselect = 9; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_weaponselect(), target); - } - - // optional int32 random_seed = 10; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_random_seed(), target); - } - - // optional int32 mousedx = 11; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_mousedx(), target); - } - - // optional int32 mousedy = 12; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_mousedy(), target); - } - - // optional uint32 pawn_entity_handle = 14 [default = 16777215]; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_pawn_entity_handle(), target); - } - - // optional uint32 prediction_offset_ticks_x256 = 17; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_prediction_offset_ticks_x256(), target); - } - - // repeated .CSubtickMoveStep subtick_moves = 18; - for (unsigned i = 0, - n = static_cast(this->_internal_subtick_moves_size()); i < n; i++) { - const auto& repfield = this->_internal_subtick_moves(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(18, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional bytes move_crc = 19; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 19, this->_internal_move_crc(), target); - } - - // optional uint32 consumed_server_angle_changes = 20; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_consumed_server_angle_changes(), target); - } - - // optional int32 cmd_flags = 21; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(21, this->_internal_cmd_flags(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CBaseUserCmdPB) - return target; -} - -size_t CBaseUserCmdPB::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CBaseUserCmdPB) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CSubtickMoveStep subtick_moves = 18; - total_size += 2UL * this->_internal_subtick_moves_size(); - for (const auto& msg : this->_impl_.subtick_moves_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bytes move_crc = 19; - if (cached_has_bits & 0x00000001u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_move_crc()); - } - - // optional .CInButtonStatePB buttons_pb = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.buttons_pb_); - } - - // optional .CMsgQAngle viewangles = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.viewangles_); - } - - // optional int32 legacy_command_number = 1; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_legacy_command_number()); - } - - // optional int32 client_tick = 2; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_client_tick()); - } - - // optional float forwardmove = 5; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional float leftmove = 6; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional float upmove = 7; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional int32 impulse = 8; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_impulse()); - } - - // optional int32 weaponselect = 9; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_weaponselect()); - } - - // optional int32 random_seed = 10; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_random_seed()); - } - - // optional int32 mousedx = 11; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mousedx()); - } - - // optional int32 mousedy = 12; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mousedy()); - } - - // optional uint32 prediction_offset_ticks_x256 = 17; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_prediction_offset_ticks_x256()); - } - - // optional uint32 consumed_server_angle_changes = 20; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_consumed_server_angle_changes()); - } - - // optional int32 cmd_flags = 21; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + - ::_pbi::WireFormatLite::Int32Size( - this->_internal_cmd_flags()); - } - - } - // optional uint32 pawn_entity_handle = 14 [default = 16777215]; - if (cached_has_bits & 0x00010000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pawn_entity_handle()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CBaseUserCmdPB::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CBaseUserCmdPB::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CBaseUserCmdPB::GetClassData() const { return &_class_data_; } - - -void CBaseUserCmdPB::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CBaseUserCmdPB) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.subtick_moves_.MergeFrom(from._impl_.subtick_moves_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_move_crc(from._internal_move_crc()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_buttons_pb()->::CInButtonStatePB::MergeFrom( - from._internal_buttons_pb()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_viewangles()->::CMsgQAngle::MergeFrom( - from._internal_viewangles()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.legacy_command_number_ = from._impl_.legacy_command_number_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.client_tick_ = from._impl_.client_tick_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.forwardmove_ = from._impl_.forwardmove_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.leftmove_ = from._impl_.leftmove_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.upmove_ = from._impl_.upmove_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.impulse_ = from._impl_.impulse_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.weaponselect_ = from._impl_.weaponselect_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.random_seed_ = from._impl_.random_seed_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.mousedx_ = from._impl_.mousedx_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.mousedy_ = from._impl_.mousedy_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.prediction_offset_ticks_x256_ = from._impl_.prediction_offset_ticks_x256_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.consumed_server_angle_changes_ = from._impl_.consumed_server_angle_changes_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.cmd_flags_ = from._impl_.cmd_flags_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00010000u) { - _this->_internal_set_pawn_entity_handle(from._internal_pawn_entity_handle()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CBaseUserCmdPB::CopyFrom(const CBaseUserCmdPB& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CBaseUserCmdPB) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CBaseUserCmdPB::IsInitialized() const { - return true; -} - -void CBaseUserCmdPB::InternalSwap(CBaseUserCmdPB* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.subtick_moves_.InternalSwap(&other->_impl_.subtick_moves_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.move_crc_, lhs_arena, - &other->_impl_.move_crc_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CBaseUserCmdPB, _impl_.cmd_flags_) - + sizeof(CBaseUserCmdPB::_impl_.cmd_flags_) - - PROTOBUF_FIELD_OFFSET(CBaseUserCmdPB, _impl_.buttons_pb_)>( - reinterpret_cast(&_impl_.buttons_pb_), - reinterpret_cast(&other->_impl_.buttons_pb_)); - swap(_impl_.pawn_entity_handle_, other->_impl_.pawn_entity_handle_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CBaseUserCmdPB::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usercmd_2eproto_getter, &descriptor_table_usercmd_2eproto_once, - file_level_metadata_usercmd_2eproto[2]); -} - -// =================================================================== - -class CUserCmdBasePB::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CBaseUserCmdPB& base(const CUserCmdBasePB* msg); - static void set_has_base(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CBaseUserCmdPB& -CUserCmdBasePB::_Internal::base(const CUserCmdBasePB* msg) { - return *msg->_impl_.base_; -} -CUserCmdBasePB::CUserCmdBasePB(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserCmdBasePB) -} -CUserCmdBasePB::CUserCmdBasePB(const CUserCmdBasePB& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserCmdBasePB* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.base_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_base()) { - _this->_impl_.base_ = new ::CBaseUserCmdPB(*from._impl_.base_); - } - // @@protoc_insertion_point(copy_constructor:CUserCmdBasePB) -} - -inline void CUserCmdBasePB::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.base_){nullptr} - }; -} - -CUserCmdBasePB::~CUserCmdBasePB() { - // @@protoc_insertion_point(destructor:CUserCmdBasePB) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserCmdBasePB::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.base_; -} - -void CUserCmdBasePB::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserCmdBasePB::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserCmdBasePB) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.base_ != nullptr); - _impl_.base_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserCmdBasePB::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CBaseUserCmdPB base = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_base(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserCmdBasePB::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserCmdBasePB) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CBaseUserCmdPB base = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::base(this), - _Internal::base(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserCmdBasePB) - return target; -} - -size_t CUserCmdBasePB::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserCmdBasePB) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CBaseUserCmdPB base = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.base_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserCmdBasePB::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserCmdBasePB::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserCmdBasePB::GetClassData() const { return &_class_data_; } - - -void CUserCmdBasePB::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserCmdBasePB) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_base()) { - _this->_internal_mutable_base()->::CBaseUserCmdPB::MergeFrom( - from._internal_base()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserCmdBasePB::CopyFrom(const CUserCmdBasePB& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserCmdBasePB) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserCmdBasePB::IsInitialized() const { - return true; -} - -void CUserCmdBasePB::InternalSwap(CUserCmdBasePB* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.base_, other->_impl_.base_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserCmdBasePB::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usercmd_2eproto_getter, &descriptor_table_usercmd_2eproto_once, - file_level_metadata_usercmd_2eproto[3]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CInButtonStatePB* -Arena::CreateMaybeMessage< ::CInButtonStatePB >(Arena* arena) { - return Arena::CreateMessageInternal< ::CInButtonStatePB >(arena); -} -template<> PROTOBUF_NOINLINE ::CSubtickMoveStep* -Arena::CreateMaybeMessage< ::CSubtickMoveStep >(Arena* arena) { - return Arena::CreateMessageInternal< ::CSubtickMoveStep >(arena); -} -template<> PROTOBUF_NOINLINE ::CBaseUserCmdPB* -Arena::CreateMaybeMessage< ::CBaseUserCmdPB >(Arena* arena) { - return Arena::CreateMessageInternal< ::CBaseUserCmdPB >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserCmdBasePB* -Arena::CreateMaybeMessage< ::CUserCmdBasePB >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserCmdBasePB >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/usercmd.pb.h b/protobuf/generated/usercmd.pb.h deleted file mode 100644 index 4ef2d2bd1..000000000 --- a/protobuf/generated/usercmd.pb.h +++ /dev/null @@ -1,2193 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: usercmd.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_usercmd_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_usercmd_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include "networkbasetypes.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_usercmd_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_usercmd_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_usercmd_2eproto; -class CBaseUserCmdPB; -struct CBaseUserCmdPBDefaultTypeInternal; -extern CBaseUserCmdPBDefaultTypeInternal _CBaseUserCmdPB_default_instance_; -class CInButtonStatePB; -struct CInButtonStatePBDefaultTypeInternal; -extern CInButtonStatePBDefaultTypeInternal _CInButtonStatePB_default_instance_; -class CSubtickMoveStep; -struct CSubtickMoveStepDefaultTypeInternal; -extern CSubtickMoveStepDefaultTypeInternal _CSubtickMoveStep_default_instance_; -class CUserCmdBasePB; -struct CUserCmdBasePBDefaultTypeInternal; -extern CUserCmdBasePBDefaultTypeInternal _CUserCmdBasePB_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CBaseUserCmdPB* Arena::CreateMaybeMessage<::CBaseUserCmdPB>(Arena*); -template<> ::CInButtonStatePB* Arena::CreateMaybeMessage<::CInButtonStatePB>(Arena*); -template<> ::CSubtickMoveStep* Arena::CreateMaybeMessage<::CSubtickMoveStep>(Arena*); -template<> ::CUserCmdBasePB* Arena::CreateMaybeMessage<::CUserCmdBasePB>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -// =================================================================== - -class CInButtonStatePB : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CInButtonStatePB) */ { - public: - inline CInButtonStatePB() : CInButtonStatePB(nullptr) {} - ~CInButtonStatePB() override; - explicit PROTOBUF_CONSTEXPR CInButtonStatePB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CInButtonStatePB(const CInButtonStatePB& from); - CInButtonStatePB(CInButtonStatePB&& from) noexcept - : CInButtonStatePB() { - *this = ::std::move(from); - } - - inline CInButtonStatePB& operator=(const CInButtonStatePB& from) { - CopyFrom(from); - return *this; - } - inline CInButtonStatePB& operator=(CInButtonStatePB&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CInButtonStatePB& default_instance() { - return *internal_default_instance(); - } - static inline const CInButtonStatePB* internal_default_instance() { - return reinterpret_cast( - &_CInButtonStatePB_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CInButtonStatePB& a, CInButtonStatePB& b) { - a.Swap(&b); - } - inline void Swap(CInButtonStatePB* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CInButtonStatePB* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CInButtonStatePB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CInButtonStatePB& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CInButtonStatePB& from) { - CInButtonStatePB::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CInButtonStatePB* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CInButtonStatePB"; - } - protected: - explicit CInButtonStatePB(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kButtonstate1FieldNumber = 1, - kButtonstate2FieldNumber = 2, - kButtonstate3FieldNumber = 3, - }; - // optional uint64 buttonstate1 = 1; - bool has_buttonstate1() const; - private: - bool _internal_has_buttonstate1() const; - public: - void clear_buttonstate1(); - uint64_t buttonstate1() const; - void set_buttonstate1(uint64_t value); - private: - uint64_t _internal_buttonstate1() const; - void _internal_set_buttonstate1(uint64_t value); - public: - - // optional uint64 buttonstate2 = 2; - bool has_buttonstate2() const; - private: - bool _internal_has_buttonstate2() const; - public: - void clear_buttonstate2(); - uint64_t buttonstate2() const; - void set_buttonstate2(uint64_t value); - private: - uint64_t _internal_buttonstate2() const; - void _internal_set_buttonstate2(uint64_t value); - public: - - // optional uint64 buttonstate3 = 3; - bool has_buttonstate3() const; - private: - bool _internal_has_buttonstate3() const; - public: - void clear_buttonstate3(); - uint64_t buttonstate3() const; - void set_buttonstate3(uint64_t value); - private: - uint64_t _internal_buttonstate3() const; - void _internal_set_buttonstate3(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CInButtonStatePB) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t buttonstate1_; - uint64_t buttonstate2_; - uint64_t buttonstate3_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usercmd_2eproto; -}; -// ------------------------------------------------------------------- - -class CSubtickMoveStep : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CSubtickMoveStep) */ { - public: - inline CSubtickMoveStep() : CSubtickMoveStep(nullptr) {} - ~CSubtickMoveStep() override; - explicit PROTOBUF_CONSTEXPR CSubtickMoveStep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CSubtickMoveStep(const CSubtickMoveStep& from); - CSubtickMoveStep(CSubtickMoveStep&& from) noexcept - : CSubtickMoveStep() { - *this = ::std::move(from); - } - - inline CSubtickMoveStep& operator=(const CSubtickMoveStep& from) { - CopyFrom(from); - return *this; - } - inline CSubtickMoveStep& operator=(CSubtickMoveStep&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CSubtickMoveStep& default_instance() { - return *internal_default_instance(); - } - static inline const CSubtickMoveStep* internal_default_instance() { - return reinterpret_cast( - &_CSubtickMoveStep_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CSubtickMoveStep& a, CSubtickMoveStep& b) { - a.Swap(&b); - } - inline void Swap(CSubtickMoveStep* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CSubtickMoveStep* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CSubtickMoveStep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CSubtickMoveStep& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CSubtickMoveStep& from) { - CSubtickMoveStep::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CSubtickMoveStep* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CSubtickMoveStep"; - } - protected: - explicit CSubtickMoveStep(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kButtonFieldNumber = 1, - kPressedFieldNumber = 2, - kWhenFieldNumber = 3, - kAnalogForwardDeltaFieldNumber = 4, - kAnalogLeftDeltaFieldNumber = 5, - kPitchDeltaFieldNumber = 8, - kYawDeltaFieldNumber = 9, - }; - // optional uint64 button = 1; - bool has_button() const; - private: - bool _internal_has_button() const; - public: - void clear_button(); - uint64_t button() const; - void set_button(uint64_t value); - private: - uint64_t _internal_button() const; - void _internal_set_button(uint64_t value); - public: - - // optional bool pressed = 2; - bool has_pressed() const; - private: - bool _internal_has_pressed() const; - public: - void clear_pressed(); - bool pressed() const; - void set_pressed(bool value); - private: - bool _internal_pressed() const; - void _internal_set_pressed(bool value); - public: - - // optional float when = 3; - bool has_when() const; - private: - bool _internal_has_when() const; - public: - void clear_when(); - float when() const; - void set_when(float value); - private: - float _internal_when() const; - void _internal_set_when(float value); - public: - - // optional float analog_forward_delta = 4; - bool has_analog_forward_delta() const; - private: - bool _internal_has_analog_forward_delta() const; - public: - void clear_analog_forward_delta(); - float analog_forward_delta() const; - void set_analog_forward_delta(float value); - private: - float _internal_analog_forward_delta() const; - void _internal_set_analog_forward_delta(float value); - public: - - // optional float analog_left_delta = 5; - bool has_analog_left_delta() const; - private: - bool _internal_has_analog_left_delta() const; - public: - void clear_analog_left_delta(); - float analog_left_delta() const; - void set_analog_left_delta(float value); - private: - float _internal_analog_left_delta() const; - void _internal_set_analog_left_delta(float value); - public: - - // optional float pitch_delta = 8; - bool has_pitch_delta() const; - private: - bool _internal_has_pitch_delta() const; - public: - void clear_pitch_delta(); - float pitch_delta() const; - void set_pitch_delta(float value); - private: - float _internal_pitch_delta() const; - void _internal_set_pitch_delta(float value); - public: - - // optional float yaw_delta = 9; - bool has_yaw_delta() const; - private: - bool _internal_has_yaw_delta() const; - public: - void clear_yaw_delta(); - float yaw_delta() const; - void set_yaw_delta(float value); - private: - float _internal_yaw_delta() const; - void _internal_set_yaw_delta(float value); - public: - - // @@protoc_insertion_point(class_scope:CSubtickMoveStep) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t button_; - bool pressed_; - float when_; - float analog_forward_delta_; - float analog_left_delta_; - float pitch_delta_; - float yaw_delta_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usercmd_2eproto; -}; -// ------------------------------------------------------------------- - -class CBaseUserCmdPB : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CBaseUserCmdPB) */ { - public: - inline CBaseUserCmdPB() : CBaseUserCmdPB(nullptr) {} - ~CBaseUserCmdPB() override; - explicit PROTOBUF_CONSTEXPR CBaseUserCmdPB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CBaseUserCmdPB(const CBaseUserCmdPB& from); - CBaseUserCmdPB(CBaseUserCmdPB&& from) noexcept - : CBaseUserCmdPB() { - *this = ::std::move(from); - } - - inline CBaseUserCmdPB& operator=(const CBaseUserCmdPB& from) { - CopyFrom(from); - return *this; - } - inline CBaseUserCmdPB& operator=(CBaseUserCmdPB&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CBaseUserCmdPB& default_instance() { - return *internal_default_instance(); - } - static inline const CBaseUserCmdPB* internal_default_instance() { - return reinterpret_cast( - &_CBaseUserCmdPB_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CBaseUserCmdPB& a, CBaseUserCmdPB& b) { - a.Swap(&b); - } - inline void Swap(CBaseUserCmdPB* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CBaseUserCmdPB* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CBaseUserCmdPB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CBaseUserCmdPB& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CBaseUserCmdPB& from) { - CBaseUserCmdPB::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CBaseUserCmdPB* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CBaseUserCmdPB"; - } - protected: - explicit CBaseUserCmdPB(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSubtickMovesFieldNumber = 18, - kMoveCrcFieldNumber = 19, - kButtonsPbFieldNumber = 3, - kViewanglesFieldNumber = 4, - kLegacyCommandNumberFieldNumber = 1, - kClientTickFieldNumber = 2, - kForwardmoveFieldNumber = 5, - kLeftmoveFieldNumber = 6, - kUpmoveFieldNumber = 7, - kImpulseFieldNumber = 8, - kWeaponselectFieldNumber = 9, - kRandomSeedFieldNumber = 10, - kMousedxFieldNumber = 11, - kMousedyFieldNumber = 12, - kPredictionOffsetTicksX256FieldNumber = 17, - kConsumedServerAngleChangesFieldNumber = 20, - kCmdFlagsFieldNumber = 21, - kPawnEntityHandleFieldNumber = 14, - }; - // repeated .CSubtickMoveStep subtick_moves = 18; - int subtick_moves_size() const; - private: - int _internal_subtick_moves_size() const; - public: - void clear_subtick_moves(); - ::CSubtickMoveStep* mutable_subtick_moves(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSubtickMoveStep >* - mutable_subtick_moves(); - private: - const ::CSubtickMoveStep& _internal_subtick_moves(int index) const; - ::CSubtickMoveStep* _internal_add_subtick_moves(); - public: - const ::CSubtickMoveStep& subtick_moves(int index) const; - ::CSubtickMoveStep* add_subtick_moves(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSubtickMoveStep >& - subtick_moves() const; - - // optional bytes move_crc = 19; - bool has_move_crc() const; - private: - bool _internal_has_move_crc() const; - public: - void clear_move_crc(); - const std::string& move_crc() const; - template - void set_move_crc(ArgT0&& arg0, ArgT... args); - std::string* mutable_move_crc(); - PROTOBUF_NODISCARD std::string* release_move_crc(); - void set_allocated_move_crc(std::string* move_crc); - private: - const std::string& _internal_move_crc() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_move_crc(const std::string& value); - std::string* _internal_mutable_move_crc(); - public: - - // optional .CInButtonStatePB buttons_pb = 3; - bool has_buttons_pb() const; - private: - bool _internal_has_buttons_pb() const; - public: - void clear_buttons_pb(); - const ::CInButtonStatePB& buttons_pb() const; - PROTOBUF_NODISCARD ::CInButtonStatePB* release_buttons_pb(); - ::CInButtonStatePB* mutable_buttons_pb(); - void set_allocated_buttons_pb(::CInButtonStatePB* buttons_pb); - private: - const ::CInButtonStatePB& _internal_buttons_pb() const; - ::CInButtonStatePB* _internal_mutable_buttons_pb(); - public: - void unsafe_arena_set_allocated_buttons_pb( - ::CInButtonStatePB* buttons_pb); - ::CInButtonStatePB* unsafe_arena_release_buttons_pb(); - - // optional .CMsgQAngle viewangles = 4; - bool has_viewangles() const; - private: - bool _internal_has_viewangles() const; - public: - void clear_viewangles(); - const ::CMsgQAngle& viewangles() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_viewangles(); - ::CMsgQAngle* mutable_viewangles(); - void set_allocated_viewangles(::CMsgQAngle* viewangles); - private: - const ::CMsgQAngle& _internal_viewangles() const; - ::CMsgQAngle* _internal_mutable_viewangles(); - public: - void unsafe_arena_set_allocated_viewangles( - ::CMsgQAngle* viewangles); - ::CMsgQAngle* unsafe_arena_release_viewangles(); - - // optional int32 legacy_command_number = 1; - bool has_legacy_command_number() const; - private: - bool _internal_has_legacy_command_number() const; - public: - void clear_legacy_command_number(); - int32_t legacy_command_number() const; - void set_legacy_command_number(int32_t value); - private: - int32_t _internal_legacy_command_number() const; - void _internal_set_legacy_command_number(int32_t value); - public: - - // optional int32 client_tick = 2; - bool has_client_tick() const; - private: - bool _internal_has_client_tick() const; - public: - void clear_client_tick(); - int32_t client_tick() const; - void set_client_tick(int32_t value); - private: - int32_t _internal_client_tick() const; - void _internal_set_client_tick(int32_t value); - public: - - // optional float forwardmove = 5; - bool has_forwardmove() const; - private: - bool _internal_has_forwardmove() const; - public: - void clear_forwardmove(); - float forwardmove() const; - void set_forwardmove(float value); - private: - float _internal_forwardmove() const; - void _internal_set_forwardmove(float value); - public: - - // optional float leftmove = 6; - bool has_leftmove() const; - private: - bool _internal_has_leftmove() const; - public: - void clear_leftmove(); - float leftmove() const; - void set_leftmove(float value); - private: - float _internal_leftmove() const; - void _internal_set_leftmove(float value); - public: - - // optional float upmove = 7; - bool has_upmove() const; - private: - bool _internal_has_upmove() const; - public: - void clear_upmove(); - float upmove() const; - void set_upmove(float value); - private: - float _internal_upmove() const; - void _internal_set_upmove(float value); - public: - - // optional int32 impulse = 8; - bool has_impulse() const; - private: - bool _internal_has_impulse() const; - public: - void clear_impulse(); - int32_t impulse() const; - void set_impulse(int32_t value); - private: - int32_t _internal_impulse() const; - void _internal_set_impulse(int32_t value); - public: - - // optional int32 weaponselect = 9; - bool has_weaponselect() const; - private: - bool _internal_has_weaponselect() const; - public: - void clear_weaponselect(); - int32_t weaponselect() const; - void set_weaponselect(int32_t value); - private: - int32_t _internal_weaponselect() const; - void _internal_set_weaponselect(int32_t value); - public: - - // optional int32 random_seed = 10; - bool has_random_seed() const; - private: - bool _internal_has_random_seed() const; - public: - void clear_random_seed(); - int32_t random_seed() const; - void set_random_seed(int32_t value); - private: - int32_t _internal_random_seed() const; - void _internal_set_random_seed(int32_t value); - public: - - // optional int32 mousedx = 11; - bool has_mousedx() const; - private: - bool _internal_has_mousedx() const; - public: - void clear_mousedx(); - int32_t mousedx() const; - void set_mousedx(int32_t value); - private: - int32_t _internal_mousedx() const; - void _internal_set_mousedx(int32_t value); - public: - - // optional int32 mousedy = 12; - bool has_mousedy() const; - private: - bool _internal_has_mousedy() const; - public: - void clear_mousedy(); - int32_t mousedy() const; - void set_mousedy(int32_t value); - private: - int32_t _internal_mousedy() const; - void _internal_set_mousedy(int32_t value); - public: - - // optional uint32 prediction_offset_ticks_x256 = 17; - bool has_prediction_offset_ticks_x256() const; - private: - bool _internal_has_prediction_offset_ticks_x256() const; - public: - void clear_prediction_offset_ticks_x256(); - uint32_t prediction_offset_ticks_x256() const; - void set_prediction_offset_ticks_x256(uint32_t value); - private: - uint32_t _internal_prediction_offset_ticks_x256() const; - void _internal_set_prediction_offset_ticks_x256(uint32_t value); - public: - - // optional uint32 consumed_server_angle_changes = 20; - bool has_consumed_server_angle_changes() const; - private: - bool _internal_has_consumed_server_angle_changes() const; - public: - void clear_consumed_server_angle_changes(); - uint32_t consumed_server_angle_changes() const; - void set_consumed_server_angle_changes(uint32_t value); - private: - uint32_t _internal_consumed_server_angle_changes() const; - void _internal_set_consumed_server_angle_changes(uint32_t value); - public: - - // optional int32 cmd_flags = 21; - bool has_cmd_flags() const; - private: - bool _internal_has_cmd_flags() const; - public: - void clear_cmd_flags(); - int32_t cmd_flags() const; - void set_cmd_flags(int32_t value); - private: - int32_t _internal_cmd_flags() const; - void _internal_set_cmd_flags(int32_t value); - public: - - // optional uint32 pawn_entity_handle = 14 [default = 16777215]; - bool has_pawn_entity_handle() const; - private: - bool _internal_has_pawn_entity_handle() const; - public: - void clear_pawn_entity_handle(); - uint32_t pawn_entity_handle() const; - void set_pawn_entity_handle(uint32_t value); - private: - uint32_t _internal_pawn_entity_handle() const; - void _internal_set_pawn_entity_handle(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CBaseUserCmdPB) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSubtickMoveStep > subtick_moves_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr move_crc_; - ::CInButtonStatePB* buttons_pb_; - ::CMsgQAngle* viewangles_; - int32_t legacy_command_number_; - int32_t client_tick_; - float forwardmove_; - float leftmove_; - float upmove_; - int32_t impulse_; - int32_t weaponselect_; - int32_t random_seed_; - int32_t mousedx_; - int32_t mousedy_; - uint32_t prediction_offset_ticks_x256_; - uint32_t consumed_server_angle_changes_; - int32_t cmd_flags_; - uint32_t pawn_entity_handle_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usercmd_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserCmdBasePB : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserCmdBasePB) */ { - public: - inline CUserCmdBasePB() : CUserCmdBasePB(nullptr) {} - ~CUserCmdBasePB() override; - explicit PROTOBUF_CONSTEXPR CUserCmdBasePB(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserCmdBasePB(const CUserCmdBasePB& from); - CUserCmdBasePB(CUserCmdBasePB&& from) noexcept - : CUserCmdBasePB() { - *this = ::std::move(from); - } - - inline CUserCmdBasePB& operator=(const CUserCmdBasePB& from) { - CopyFrom(from); - return *this; - } - inline CUserCmdBasePB& operator=(CUserCmdBasePB&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserCmdBasePB& default_instance() { - return *internal_default_instance(); - } - static inline const CUserCmdBasePB* internal_default_instance() { - return reinterpret_cast( - &_CUserCmdBasePB_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CUserCmdBasePB& a, CUserCmdBasePB& b) { - a.Swap(&b); - } - inline void Swap(CUserCmdBasePB* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserCmdBasePB* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserCmdBasePB* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserCmdBasePB& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserCmdBasePB& from) { - CUserCmdBasePB::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserCmdBasePB* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserCmdBasePB"; - } - protected: - explicit CUserCmdBasePB(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kBaseFieldNumber = 1, - }; - // optional .CBaseUserCmdPB base = 1; - bool has_base() const; - private: - bool _internal_has_base() const; - public: - void clear_base(); - const ::CBaseUserCmdPB& base() const; - PROTOBUF_NODISCARD ::CBaseUserCmdPB* release_base(); - ::CBaseUserCmdPB* mutable_base(); - void set_allocated_base(::CBaseUserCmdPB* base); - private: - const ::CBaseUserCmdPB& _internal_base() const; - ::CBaseUserCmdPB* _internal_mutable_base(); - public: - void unsafe_arena_set_allocated_base( - ::CBaseUserCmdPB* base); - ::CBaseUserCmdPB* unsafe_arena_release_base(); - - // @@protoc_insertion_point(class_scope:CUserCmdBasePB) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CBaseUserCmdPB* base_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usercmd_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CInButtonStatePB - -// optional uint64 buttonstate1 = 1; -inline bool CInButtonStatePB::_internal_has_buttonstate1() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CInButtonStatePB::has_buttonstate1() const { - return _internal_has_buttonstate1(); -} -inline void CInButtonStatePB::clear_buttonstate1() { - _impl_.buttonstate1_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CInButtonStatePB::_internal_buttonstate1() const { - return _impl_.buttonstate1_; -} -inline uint64_t CInButtonStatePB::buttonstate1() const { - // @@protoc_insertion_point(field_get:CInButtonStatePB.buttonstate1) - return _internal_buttonstate1(); -} -inline void CInButtonStatePB::_internal_set_buttonstate1(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.buttonstate1_ = value; -} -inline void CInButtonStatePB::set_buttonstate1(uint64_t value) { - _internal_set_buttonstate1(value); - // @@protoc_insertion_point(field_set:CInButtonStatePB.buttonstate1) -} - -// optional uint64 buttonstate2 = 2; -inline bool CInButtonStatePB::_internal_has_buttonstate2() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CInButtonStatePB::has_buttonstate2() const { - return _internal_has_buttonstate2(); -} -inline void CInButtonStatePB::clear_buttonstate2() { - _impl_.buttonstate2_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CInButtonStatePB::_internal_buttonstate2() const { - return _impl_.buttonstate2_; -} -inline uint64_t CInButtonStatePB::buttonstate2() const { - // @@protoc_insertion_point(field_get:CInButtonStatePB.buttonstate2) - return _internal_buttonstate2(); -} -inline void CInButtonStatePB::_internal_set_buttonstate2(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.buttonstate2_ = value; -} -inline void CInButtonStatePB::set_buttonstate2(uint64_t value) { - _internal_set_buttonstate2(value); - // @@protoc_insertion_point(field_set:CInButtonStatePB.buttonstate2) -} - -// optional uint64 buttonstate3 = 3; -inline bool CInButtonStatePB::_internal_has_buttonstate3() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CInButtonStatePB::has_buttonstate3() const { - return _internal_has_buttonstate3(); -} -inline void CInButtonStatePB::clear_buttonstate3() { - _impl_.buttonstate3_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CInButtonStatePB::_internal_buttonstate3() const { - return _impl_.buttonstate3_; -} -inline uint64_t CInButtonStatePB::buttonstate3() const { - // @@protoc_insertion_point(field_get:CInButtonStatePB.buttonstate3) - return _internal_buttonstate3(); -} -inline void CInButtonStatePB::_internal_set_buttonstate3(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.buttonstate3_ = value; -} -inline void CInButtonStatePB::set_buttonstate3(uint64_t value) { - _internal_set_buttonstate3(value); - // @@protoc_insertion_point(field_set:CInButtonStatePB.buttonstate3) -} - -// ------------------------------------------------------------------- - -// CSubtickMoveStep - -// optional uint64 button = 1; -inline bool CSubtickMoveStep::_internal_has_button() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CSubtickMoveStep::has_button() const { - return _internal_has_button(); -} -inline void CSubtickMoveStep::clear_button() { - _impl_.button_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CSubtickMoveStep::_internal_button() const { - return _impl_.button_; -} -inline uint64_t CSubtickMoveStep::button() const { - // @@protoc_insertion_point(field_get:CSubtickMoveStep.button) - return _internal_button(); -} -inline void CSubtickMoveStep::_internal_set_button(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.button_ = value; -} -inline void CSubtickMoveStep::set_button(uint64_t value) { - _internal_set_button(value); - // @@protoc_insertion_point(field_set:CSubtickMoveStep.button) -} - -// optional bool pressed = 2; -inline bool CSubtickMoveStep::_internal_has_pressed() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CSubtickMoveStep::has_pressed() const { - return _internal_has_pressed(); -} -inline void CSubtickMoveStep::clear_pressed() { - _impl_.pressed_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CSubtickMoveStep::_internal_pressed() const { - return _impl_.pressed_; -} -inline bool CSubtickMoveStep::pressed() const { - // @@protoc_insertion_point(field_get:CSubtickMoveStep.pressed) - return _internal_pressed(); -} -inline void CSubtickMoveStep::_internal_set_pressed(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.pressed_ = value; -} -inline void CSubtickMoveStep::set_pressed(bool value) { - _internal_set_pressed(value); - // @@protoc_insertion_point(field_set:CSubtickMoveStep.pressed) -} - -// optional float when = 3; -inline bool CSubtickMoveStep::_internal_has_when() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CSubtickMoveStep::has_when() const { - return _internal_has_when(); -} -inline void CSubtickMoveStep::clear_when() { - _impl_.when_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CSubtickMoveStep::_internal_when() const { - return _impl_.when_; -} -inline float CSubtickMoveStep::when() const { - // @@protoc_insertion_point(field_get:CSubtickMoveStep.when) - return _internal_when(); -} -inline void CSubtickMoveStep::_internal_set_when(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.when_ = value; -} -inline void CSubtickMoveStep::set_when(float value) { - _internal_set_when(value); - // @@protoc_insertion_point(field_set:CSubtickMoveStep.when) -} - -// optional float analog_forward_delta = 4; -inline bool CSubtickMoveStep::_internal_has_analog_forward_delta() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CSubtickMoveStep::has_analog_forward_delta() const { - return _internal_has_analog_forward_delta(); -} -inline void CSubtickMoveStep::clear_analog_forward_delta() { - _impl_.analog_forward_delta_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CSubtickMoveStep::_internal_analog_forward_delta() const { - return _impl_.analog_forward_delta_; -} -inline float CSubtickMoveStep::analog_forward_delta() const { - // @@protoc_insertion_point(field_get:CSubtickMoveStep.analog_forward_delta) - return _internal_analog_forward_delta(); -} -inline void CSubtickMoveStep::_internal_set_analog_forward_delta(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.analog_forward_delta_ = value; -} -inline void CSubtickMoveStep::set_analog_forward_delta(float value) { - _internal_set_analog_forward_delta(value); - // @@protoc_insertion_point(field_set:CSubtickMoveStep.analog_forward_delta) -} - -// optional float analog_left_delta = 5; -inline bool CSubtickMoveStep::_internal_has_analog_left_delta() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CSubtickMoveStep::has_analog_left_delta() const { - return _internal_has_analog_left_delta(); -} -inline void CSubtickMoveStep::clear_analog_left_delta() { - _impl_.analog_left_delta_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float CSubtickMoveStep::_internal_analog_left_delta() const { - return _impl_.analog_left_delta_; -} -inline float CSubtickMoveStep::analog_left_delta() const { - // @@protoc_insertion_point(field_get:CSubtickMoveStep.analog_left_delta) - return _internal_analog_left_delta(); -} -inline void CSubtickMoveStep::_internal_set_analog_left_delta(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.analog_left_delta_ = value; -} -inline void CSubtickMoveStep::set_analog_left_delta(float value) { - _internal_set_analog_left_delta(value); - // @@protoc_insertion_point(field_set:CSubtickMoveStep.analog_left_delta) -} - -// optional float pitch_delta = 8; -inline bool CSubtickMoveStep::_internal_has_pitch_delta() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CSubtickMoveStep::has_pitch_delta() const { - return _internal_has_pitch_delta(); -} -inline void CSubtickMoveStep::clear_pitch_delta() { - _impl_.pitch_delta_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline float CSubtickMoveStep::_internal_pitch_delta() const { - return _impl_.pitch_delta_; -} -inline float CSubtickMoveStep::pitch_delta() const { - // @@protoc_insertion_point(field_get:CSubtickMoveStep.pitch_delta) - return _internal_pitch_delta(); -} -inline void CSubtickMoveStep::_internal_set_pitch_delta(float value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.pitch_delta_ = value; -} -inline void CSubtickMoveStep::set_pitch_delta(float value) { - _internal_set_pitch_delta(value); - // @@protoc_insertion_point(field_set:CSubtickMoveStep.pitch_delta) -} - -// optional float yaw_delta = 9; -inline bool CSubtickMoveStep::_internal_has_yaw_delta() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CSubtickMoveStep::has_yaw_delta() const { - return _internal_has_yaw_delta(); -} -inline void CSubtickMoveStep::clear_yaw_delta() { - _impl_.yaw_delta_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline float CSubtickMoveStep::_internal_yaw_delta() const { - return _impl_.yaw_delta_; -} -inline float CSubtickMoveStep::yaw_delta() const { - // @@protoc_insertion_point(field_get:CSubtickMoveStep.yaw_delta) - return _internal_yaw_delta(); -} -inline void CSubtickMoveStep::_internal_set_yaw_delta(float value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.yaw_delta_ = value; -} -inline void CSubtickMoveStep::set_yaw_delta(float value) { - _internal_set_yaw_delta(value); - // @@protoc_insertion_point(field_set:CSubtickMoveStep.yaw_delta) -} - -// ------------------------------------------------------------------- - -// CBaseUserCmdPB - -// optional int32 legacy_command_number = 1; -inline bool CBaseUserCmdPB::_internal_has_legacy_command_number() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CBaseUserCmdPB::has_legacy_command_number() const { - return _internal_has_legacy_command_number(); -} -inline void CBaseUserCmdPB::clear_legacy_command_number() { - _impl_.legacy_command_number_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CBaseUserCmdPB::_internal_legacy_command_number() const { - return _impl_.legacy_command_number_; -} -inline int32_t CBaseUserCmdPB::legacy_command_number() const { - // @@protoc_insertion_point(field_get:CBaseUserCmdPB.legacy_command_number) - return _internal_legacy_command_number(); -} -inline void CBaseUserCmdPB::_internal_set_legacy_command_number(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.legacy_command_number_ = value; -} -inline void CBaseUserCmdPB::set_legacy_command_number(int32_t value) { - _internal_set_legacy_command_number(value); - // @@protoc_insertion_point(field_set:CBaseUserCmdPB.legacy_command_number) -} - -// optional int32 client_tick = 2; -inline bool CBaseUserCmdPB::_internal_has_client_tick() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CBaseUserCmdPB::has_client_tick() const { - return _internal_has_client_tick(); -} -inline void CBaseUserCmdPB::clear_client_tick() { - _impl_.client_tick_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CBaseUserCmdPB::_internal_client_tick() const { - return _impl_.client_tick_; -} -inline int32_t CBaseUserCmdPB::client_tick() const { - // @@protoc_insertion_point(field_get:CBaseUserCmdPB.client_tick) - return _internal_client_tick(); -} -inline void CBaseUserCmdPB::_internal_set_client_tick(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.client_tick_ = value; -} -inline void CBaseUserCmdPB::set_client_tick(int32_t value) { - _internal_set_client_tick(value); - // @@protoc_insertion_point(field_set:CBaseUserCmdPB.client_tick) -} - -// optional uint32 prediction_offset_ticks_x256 = 17; -inline bool CBaseUserCmdPB::_internal_has_prediction_offset_ticks_x256() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CBaseUserCmdPB::has_prediction_offset_ticks_x256() const { - return _internal_has_prediction_offset_ticks_x256(); -} -inline void CBaseUserCmdPB::clear_prediction_offset_ticks_x256() { - _impl_.prediction_offset_ticks_x256_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CBaseUserCmdPB::_internal_prediction_offset_ticks_x256() const { - return _impl_.prediction_offset_ticks_x256_; -} -inline uint32_t CBaseUserCmdPB::prediction_offset_ticks_x256() const { - // @@protoc_insertion_point(field_get:CBaseUserCmdPB.prediction_offset_ticks_x256) - return _internal_prediction_offset_ticks_x256(); -} -inline void CBaseUserCmdPB::_internal_set_prediction_offset_ticks_x256(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.prediction_offset_ticks_x256_ = value; -} -inline void CBaseUserCmdPB::set_prediction_offset_ticks_x256(uint32_t value) { - _internal_set_prediction_offset_ticks_x256(value); - // @@protoc_insertion_point(field_set:CBaseUserCmdPB.prediction_offset_ticks_x256) -} - -// optional .CInButtonStatePB buttons_pb = 3; -inline bool CBaseUserCmdPB::_internal_has_buttons_pb() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.buttons_pb_ != nullptr); - return value; -} -inline bool CBaseUserCmdPB::has_buttons_pb() const { - return _internal_has_buttons_pb(); -} -inline void CBaseUserCmdPB::clear_buttons_pb() { - if (_impl_.buttons_pb_ != nullptr) _impl_.buttons_pb_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CInButtonStatePB& CBaseUserCmdPB::_internal_buttons_pb() const { - const ::CInButtonStatePB* p = _impl_.buttons_pb_; - return p != nullptr ? *p : reinterpret_cast( - ::_CInButtonStatePB_default_instance_); -} -inline const ::CInButtonStatePB& CBaseUserCmdPB::buttons_pb() const { - // @@protoc_insertion_point(field_get:CBaseUserCmdPB.buttons_pb) - return _internal_buttons_pb(); -} -inline void CBaseUserCmdPB::unsafe_arena_set_allocated_buttons_pb( - ::CInButtonStatePB* buttons_pb) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.buttons_pb_); - } - _impl_.buttons_pb_ = buttons_pb; - if (buttons_pb) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CBaseUserCmdPB.buttons_pb) -} -inline ::CInButtonStatePB* CBaseUserCmdPB::release_buttons_pb() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CInButtonStatePB* temp = _impl_.buttons_pb_; - _impl_.buttons_pb_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CInButtonStatePB* CBaseUserCmdPB::unsafe_arena_release_buttons_pb() { - // @@protoc_insertion_point(field_release:CBaseUserCmdPB.buttons_pb) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CInButtonStatePB* temp = _impl_.buttons_pb_; - _impl_.buttons_pb_ = nullptr; - return temp; -} -inline ::CInButtonStatePB* CBaseUserCmdPB::_internal_mutable_buttons_pb() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.buttons_pb_ == nullptr) { - auto* p = CreateMaybeMessage<::CInButtonStatePB>(GetArenaForAllocation()); - _impl_.buttons_pb_ = p; - } - return _impl_.buttons_pb_; -} -inline ::CInButtonStatePB* CBaseUserCmdPB::mutable_buttons_pb() { - ::CInButtonStatePB* _msg = _internal_mutable_buttons_pb(); - // @@protoc_insertion_point(field_mutable:CBaseUserCmdPB.buttons_pb) - return _msg; -} -inline void CBaseUserCmdPB::set_allocated_buttons_pb(::CInButtonStatePB* buttons_pb) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.buttons_pb_; - } - if (buttons_pb) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(buttons_pb); - if (message_arena != submessage_arena) { - buttons_pb = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, buttons_pb, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.buttons_pb_ = buttons_pb; - // @@protoc_insertion_point(field_set_allocated:CBaseUserCmdPB.buttons_pb) -} - -// optional .CMsgQAngle viewangles = 4; -inline bool CBaseUserCmdPB::_internal_has_viewangles() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.viewangles_ != nullptr); - return value; -} -inline bool CBaseUserCmdPB::has_viewangles() const { - return _internal_has_viewangles(); -} -inline const ::CMsgQAngle& CBaseUserCmdPB::_internal_viewangles() const { - const ::CMsgQAngle* p = _impl_.viewangles_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CBaseUserCmdPB::viewangles() const { - // @@protoc_insertion_point(field_get:CBaseUserCmdPB.viewangles) - return _internal_viewangles(); -} -inline void CBaseUserCmdPB::unsafe_arena_set_allocated_viewangles( - ::CMsgQAngle* viewangles) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.viewangles_); - } - _impl_.viewangles_ = viewangles; - if (viewangles) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CBaseUserCmdPB.viewangles) -} -inline ::CMsgQAngle* CBaseUserCmdPB::release_viewangles() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgQAngle* temp = _impl_.viewangles_; - _impl_.viewangles_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CBaseUserCmdPB::unsafe_arena_release_viewangles() { - // @@protoc_insertion_point(field_release:CBaseUserCmdPB.viewangles) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgQAngle* temp = _impl_.viewangles_; - _impl_.viewangles_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CBaseUserCmdPB::_internal_mutable_viewangles() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.viewangles_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.viewangles_ = p; - } - return _impl_.viewangles_; -} -inline ::CMsgQAngle* CBaseUserCmdPB::mutable_viewangles() { - ::CMsgQAngle* _msg = _internal_mutable_viewangles(); - // @@protoc_insertion_point(field_mutable:CBaseUserCmdPB.viewangles) - return _msg; -} -inline void CBaseUserCmdPB::set_allocated_viewangles(::CMsgQAngle* viewangles) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.viewangles_); - } - if (viewangles) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(viewangles)); - if (message_arena != submessage_arena) { - viewangles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, viewangles, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.viewangles_ = viewangles; - // @@protoc_insertion_point(field_set_allocated:CBaseUserCmdPB.viewangles) -} - -// optional float forwardmove = 5; -inline bool CBaseUserCmdPB::_internal_has_forwardmove() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CBaseUserCmdPB::has_forwardmove() const { - return _internal_has_forwardmove(); -} -inline void CBaseUserCmdPB::clear_forwardmove() { - _impl_.forwardmove_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline float CBaseUserCmdPB::_internal_forwardmove() const { - return _impl_.forwardmove_; -} -inline float CBaseUserCmdPB::forwardmove() const { - // @@protoc_insertion_point(field_get:CBaseUserCmdPB.forwardmove) - return _internal_forwardmove(); -} -inline void CBaseUserCmdPB::_internal_set_forwardmove(float value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.forwardmove_ = value; -} -inline void CBaseUserCmdPB::set_forwardmove(float value) { - _internal_set_forwardmove(value); - // @@protoc_insertion_point(field_set:CBaseUserCmdPB.forwardmove) -} - -// optional float leftmove = 6; -inline bool CBaseUserCmdPB::_internal_has_leftmove() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CBaseUserCmdPB::has_leftmove() const { - return _internal_has_leftmove(); -} -inline void CBaseUserCmdPB::clear_leftmove() { - _impl_.leftmove_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline float CBaseUserCmdPB::_internal_leftmove() const { - return _impl_.leftmove_; -} -inline float CBaseUserCmdPB::leftmove() const { - // @@protoc_insertion_point(field_get:CBaseUserCmdPB.leftmove) - return _internal_leftmove(); -} -inline void CBaseUserCmdPB::_internal_set_leftmove(float value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.leftmove_ = value; -} -inline void CBaseUserCmdPB::set_leftmove(float value) { - _internal_set_leftmove(value); - // @@protoc_insertion_point(field_set:CBaseUserCmdPB.leftmove) -} - -// optional float upmove = 7; -inline bool CBaseUserCmdPB::_internal_has_upmove() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CBaseUserCmdPB::has_upmove() const { - return _internal_has_upmove(); -} -inline void CBaseUserCmdPB::clear_upmove() { - _impl_.upmove_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline float CBaseUserCmdPB::_internal_upmove() const { - return _impl_.upmove_; -} -inline float CBaseUserCmdPB::upmove() const { - // @@protoc_insertion_point(field_get:CBaseUserCmdPB.upmove) - return _internal_upmove(); -} -inline void CBaseUserCmdPB::_internal_set_upmove(float value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.upmove_ = value; -} -inline void CBaseUserCmdPB::set_upmove(float value) { - _internal_set_upmove(value); - // @@protoc_insertion_point(field_set:CBaseUserCmdPB.upmove) -} - -// optional int32 impulse = 8; -inline bool CBaseUserCmdPB::_internal_has_impulse() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CBaseUserCmdPB::has_impulse() const { - return _internal_has_impulse(); -} -inline void CBaseUserCmdPB::clear_impulse() { - _impl_.impulse_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t CBaseUserCmdPB::_internal_impulse() const { - return _impl_.impulse_; -} -inline int32_t CBaseUserCmdPB::impulse() const { - // @@protoc_insertion_point(field_get:CBaseUserCmdPB.impulse) - return _internal_impulse(); -} -inline void CBaseUserCmdPB::_internal_set_impulse(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.impulse_ = value; -} -inline void CBaseUserCmdPB::set_impulse(int32_t value) { - _internal_set_impulse(value); - // @@protoc_insertion_point(field_set:CBaseUserCmdPB.impulse) -} - -// optional int32 weaponselect = 9; -inline bool CBaseUserCmdPB::_internal_has_weaponselect() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CBaseUserCmdPB::has_weaponselect() const { - return _internal_has_weaponselect(); -} -inline void CBaseUserCmdPB::clear_weaponselect() { - _impl_.weaponselect_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline int32_t CBaseUserCmdPB::_internal_weaponselect() const { - return _impl_.weaponselect_; -} -inline int32_t CBaseUserCmdPB::weaponselect() const { - // @@protoc_insertion_point(field_get:CBaseUserCmdPB.weaponselect) - return _internal_weaponselect(); -} -inline void CBaseUserCmdPB::_internal_set_weaponselect(int32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.weaponselect_ = value; -} -inline void CBaseUserCmdPB::set_weaponselect(int32_t value) { - _internal_set_weaponselect(value); - // @@protoc_insertion_point(field_set:CBaseUserCmdPB.weaponselect) -} - -// optional int32 random_seed = 10; -inline bool CBaseUserCmdPB::_internal_has_random_seed() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CBaseUserCmdPB::has_random_seed() const { - return _internal_has_random_seed(); -} -inline void CBaseUserCmdPB::clear_random_seed() { - _impl_.random_seed_ = 0; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline int32_t CBaseUserCmdPB::_internal_random_seed() const { - return _impl_.random_seed_; -} -inline int32_t CBaseUserCmdPB::random_seed() const { - // @@protoc_insertion_point(field_get:CBaseUserCmdPB.random_seed) - return _internal_random_seed(); -} -inline void CBaseUserCmdPB::_internal_set_random_seed(int32_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.random_seed_ = value; -} -inline void CBaseUserCmdPB::set_random_seed(int32_t value) { - _internal_set_random_seed(value); - // @@protoc_insertion_point(field_set:CBaseUserCmdPB.random_seed) -} - -// optional int32 mousedx = 11; -inline bool CBaseUserCmdPB::_internal_has_mousedx() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CBaseUserCmdPB::has_mousedx() const { - return _internal_has_mousedx(); -} -inline void CBaseUserCmdPB::clear_mousedx() { - _impl_.mousedx_ = 0; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline int32_t CBaseUserCmdPB::_internal_mousedx() const { - return _impl_.mousedx_; -} -inline int32_t CBaseUserCmdPB::mousedx() const { - // @@protoc_insertion_point(field_get:CBaseUserCmdPB.mousedx) - return _internal_mousedx(); -} -inline void CBaseUserCmdPB::_internal_set_mousedx(int32_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.mousedx_ = value; -} -inline void CBaseUserCmdPB::set_mousedx(int32_t value) { - _internal_set_mousedx(value); - // @@protoc_insertion_point(field_set:CBaseUserCmdPB.mousedx) -} - -// optional int32 mousedy = 12; -inline bool CBaseUserCmdPB::_internal_has_mousedy() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CBaseUserCmdPB::has_mousedy() const { - return _internal_has_mousedy(); -} -inline void CBaseUserCmdPB::clear_mousedy() { - _impl_.mousedy_ = 0; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline int32_t CBaseUserCmdPB::_internal_mousedy() const { - return _impl_.mousedy_; -} -inline int32_t CBaseUserCmdPB::mousedy() const { - // @@protoc_insertion_point(field_get:CBaseUserCmdPB.mousedy) - return _internal_mousedy(); -} -inline void CBaseUserCmdPB::_internal_set_mousedy(int32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.mousedy_ = value; -} -inline void CBaseUserCmdPB::set_mousedy(int32_t value) { - _internal_set_mousedy(value); - // @@protoc_insertion_point(field_set:CBaseUserCmdPB.mousedy) -} - -// optional uint32 pawn_entity_handle = 14 [default = 16777215]; -inline bool CBaseUserCmdPB::_internal_has_pawn_entity_handle() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CBaseUserCmdPB::has_pawn_entity_handle() const { - return _internal_has_pawn_entity_handle(); -} -inline void CBaseUserCmdPB::clear_pawn_entity_handle() { - _impl_.pawn_entity_handle_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline uint32_t CBaseUserCmdPB::_internal_pawn_entity_handle() const { - return _impl_.pawn_entity_handle_; -} -inline uint32_t CBaseUserCmdPB::pawn_entity_handle() const { - // @@protoc_insertion_point(field_get:CBaseUserCmdPB.pawn_entity_handle) - return _internal_pawn_entity_handle(); -} -inline void CBaseUserCmdPB::_internal_set_pawn_entity_handle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.pawn_entity_handle_ = value; -} -inline void CBaseUserCmdPB::set_pawn_entity_handle(uint32_t value) { - _internal_set_pawn_entity_handle(value); - // @@protoc_insertion_point(field_set:CBaseUserCmdPB.pawn_entity_handle) -} - -// repeated .CSubtickMoveStep subtick_moves = 18; -inline int CBaseUserCmdPB::_internal_subtick_moves_size() const { - return _impl_.subtick_moves_.size(); -} -inline int CBaseUserCmdPB::subtick_moves_size() const { - return _internal_subtick_moves_size(); -} -inline void CBaseUserCmdPB::clear_subtick_moves() { - _impl_.subtick_moves_.Clear(); -} -inline ::CSubtickMoveStep* CBaseUserCmdPB::mutable_subtick_moves(int index) { - // @@protoc_insertion_point(field_mutable:CBaseUserCmdPB.subtick_moves) - return _impl_.subtick_moves_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSubtickMoveStep >* -CBaseUserCmdPB::mutable_subtick_moves() { - // @@protoc_insertion_point(field_mutable_list:CBaseUserCmdPB.subtick_moves) - return &_impl_.subtick_moves_; -} -inline const ::CSubtickMoveStep& CBaseUserCmdPB::_internal_subtick_moves(int index) const { - return _impl_.subtick_moves_.Get(index); -} -inline const ::CSubtickMoveStep& CBaseUserCmdPB::subtick_moves(int index) const { - // @@protoc_insertion_point(field_get:CBaseUserCmdPB.subtick_moves) - return _internal_subtick_moves(index); -} -inline ::CSubtickMoveStep* CBaseUserCmdPB::_internal_add_subtick_moves() { - return _impl_.subtick_moves_.Add(); -} -inline ::CSubtickMoveStep* CBaseUserCmdPB::add_subtick_moves() { - ::CSubtickMoveStep* _add = _internal_add_subtick_moves(); - // @@protoc_insertion_point(field_add:CBaseUserCmdPB.subtick_moves) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CSubtickMoveStep >& -CBaseUserCmdPB::subtick_moves() const { - // @@protoc_insertion_point(field_list:CBaseUserCmdPB.subtick_moves) - return _impl_.subtick_moves_; -} - -// optional bytes move_crc = 19; -inline bool CBaseUserCmdPB::_internal_has_move_crc() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CBaseUserCmdPB::has_move_crc() const { - return _internal_has_move_crc(); -} -inline void CBaseUserCmdPB::clear_move_crc() { - _impl_.move_crc_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CBaseUserCmdPB::move_crc() const { - // @@protoc_insertion_point(field_get:CBaseUserCmdPB.move_crc) - return _internal_move_crc(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CBaseUserCmdPB::set_move_crc(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.move_crc_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CBaseUserCmdPB.move_crc) -} -inline std::string* CBaseUserCmdPB::mutable_move_crc() { - std::string* _s = _internal_mutable_move_crc(); - // @@protoc_insertion_point(field_mutable:CBaseUserCmdPB.move_crc) - return _s; -} -inline const std::string& CBaseUserCmdPB::_internal_move_crc() const { - return _impl_.move_crc_.Get(); -} -inline void CBaseUserCmdPB::_internal_set_move_crc(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.move_crc_.Set(value, GetArenaForAllocation()); -} -inline std::string* CBaseUserCmdPB::_internal_mutable_move_crc() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.move_crc_.Mutable(GetArenaForAllocation()); -} -inline std::string* CBaseUserCmdPB::release_move_crc() { - // @@protoc_insertion_point(field_release:CBaseUserCmdPB.move_crc) - if (!_internal_has_move_crc()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.move_crc_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.move_crc_.IsDefault()) { - _impl_.move_crc_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CBaseUserCmdPB::set_allocated_move_crc(std::string* move_crc) { - if (move_crc != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.move_crc_.SetAllocated(move_crc, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.move_crc_.IsDefault()) { - _impl_.move_crc_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CBaseUserCmdPB.move_crc) -} - -// optional uint32 consumed_server_angle_changes = 20; -inline bool CBaseUserCmdPB::_internal_has_consumed_server_angle_changes() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CBaseUserCmdPB::has_consumed_server_angle_changes() const { - return _internal_has_consumed_server_angle_changes(); -} -inline void CBaseUserCmdPB::clear_consumed_server_angle_changes() { - _impl_.consumed_server_angle_changes_ = 0u; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline uint32_t CBaseUserCmdPB::_internal_consumed_server_angle_changes() const { - return _impl_.consumed_server_angle_changes_; -} -inline uint32_t CBaseUserCmdPB::consumed_server_angle_changes() const { - // @@protoc_insertion_point(field_get:CBaseUserCmdPB.consumed_server_angle_changes) - return _internal_consumed_server_angle_changes(); -} -inline void CBaseUserCmdPB::_internal_set_consumed_server_angle_changes(uint32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.consumed_server_angle_changes_ = value; -} -inline void CBaseUserCmdPB::set_consumed_server_angle_changes(uint32_t value) { - _internal_set_consumed_server_angle_changes(value); - // @@protoc_insertion_point(field_set:CBaseUserCmdPB.consumed_server_angle_changes) -} - -// optional int32 cmd_flags = 21; -inline bool CBaseUserCmdPB::_internal_has_cmd_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CBaseUserCmdPB::has_cmd_flags() const { - return _internal_has_cmd_flags(); -} -inline void CBaseUserCmdPB::clear_cmd_flags() { - _impl_.cmd_flags_ = 0; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline int32_t CBaseUserCmdPB::_internal_cmd_flags() const { - return _impl_.cmd_flags_; -} -inline int32_t CBaseUserCmdPB::cmd_flags() const { - // @@protoc_insertion_point(field_get:CBaseUserCmdPB.cmd_flags) - return _internal_cmd_flags(); -} -inline void CBaseUserCmdPB::_internal_set_cmd_flags(int32_t value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.cmd_flags_ = value; -} -inline void CBaseUserCmdPB::set_cmd_flags(int32_t value) { - _internal_set_cmd_flags(value); - // @@protoc_insertion_point(field_set:CBaseUserCmdPB.cmd_flags) -} - -// ------------------------------------------------------------------- - -// CUserCmdBasePB - -// optional .CBaseUserCmdPB base = 1; -inline bool CUserCmdBasePB::_internal_has_base() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.base_ != nullptr); - return value; -} -inline bool CUserCmdBasePB::has_base() const { - return _internal_has_base(); -} -inline void CUserCmdBasePB::clear_base() { - if (_impl_.base_ != nullptr) _impl_.base_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CBaseUserCmdPB& CUserCmdBasePB::_internal_base() const { - const ::CBaseUserCmdPB* p = _impl_.base_; - return p != nullptr ? *p : reinterpret_cast( - ::_CBaseUserCmdPB_default_instance_); -} -inline const ::CBaseUserCmdPB& CUserCmdBasePB::base() const { - // @@protoc_insertion_point(field_get:CUserCmdBasePB.base) - return _internal_base(); -} -inline void CUserCmdBasePB::unsafe_arena_set_allocated_base( - ::CBaseUserCmdPB* base) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.base_); - } - _impl_.base_ = base; - if (base) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserCmdBasePB.base) -} -inline ::CBaseUserCmdPB* CUserCmdBasePB::release_base() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CBaseUserCmdPB* temp = _impl_.base_; - _impl_.base_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CBaseUserCmdPB* CUserCmdBasePB::unsafe_arena_release_base() { - // @@protoc_insertion_point(field_release:CUserCmdBasePB.base) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CBaseUserCmdPB* temp = _impl_.base_; - _impl_.base_ = nullptr; - return temp; -} -inline ::CBaseUserCmdPB* CUserCmdBasePB::_internal_mutable_base() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.base_ == nullptr) { - auto* p = CreateMaybeMessage<::CBaseUserCmdPB>(GetArenaForAllocation()); - _impl_.base_ = p; - } - return _impl_.base_; -} -inline ::CBaseUserCmdPB* CUserCmdBasePB::mutable_base() { - ::CBaseUserCmdPB* _msg = _internal_mutable_base(); - // @@protoc_insertion_point(field_mutable:CUserCmdBasePB.base) - return _msg; -} -inline void CUserCmdBasePB::set_allocated_base(::CBaseUserCmdPB* base) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.base_; - } - if (base) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(base); - if (message_arena != submessage_arena) { - base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, base, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.base_ = base; - // @@protoc_insertion_point(field_set_allocated:CUserCmdBasePB.base) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_usercmd_2eproto diff --git a/protobuf/generated/usermessages.pb.cc b/protobuf/generated/usermessages.pb.cc deleted file mode 100644 index 353c543b0..000000000 --- a/protobuf/generated/usermessages.pb.cc +++ /dev/null @@ -1,37480 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: usermessages.proto - -#include "usermessages.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -PROTOBUF_CONSTEXPR CUserMessageAchievementEvent::CUserMessageAchievementEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.achievement_)*/0u} {} -struct CUserMessageAchievementEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageAchievementEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageAchievementEventDefaultTypeInternal() {} - union { - CUserMessageAchievementEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageAchievementEventDefaultTypeInternal _CUserMessageAchievementEvent_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageCloseCaption::CUserMessageCloseCaption( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.hash_)*/0u - , /*decltype(_impl_.duration_)*/0 - , /*decltype(_impl_.from_player_)*/false - , /*decltype(_impl_.ent_index_)*/-1} {} -struct CUserMessageCloseCaptionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageCloseCaptionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageCloseCaptionDefaultTypeInternal() {} - union { - CUserMessageCloseCaption _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageCloseCaptionDefaultTypeInternal _CUserMessageCloseCaption_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageCloseCaptionDirect::CUserMessageCloseCaptionDirect( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.hash_)*/0u - , /*decltype(_impl_.duration_)*/0 - , /*decltype(_impl_.from_player_)*/false - , /*decltype(_impl_.ent_index_)*/-1} {} -struct CUserMessageCloseCaptionDirectDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageCloseCaptionDirectDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageCloseCaptionDirectDefaultTypeInternal() {} - union { - CUserMessageCloseCaptionDirect _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageCloseCaptionDirectDefaultTypeInternal _CUserMessageCloseCaptionDirect_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageCloseCaptionPlaceholder::CUserMessageCloseCaptionPlaceholder( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.duration_)*/0 - , /*decltype(_impl_.from_player_)*/false - , /*decltype(_impl_.ent_index_)*/-1} {} -struct CUserMessageCloseCaptionPlaceholderDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageCloseCaptionPlaceholderDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageCloseCaptionPlaceholderDefaultTypeInternal() {} - union { - CUserMessageCloseCaptionPlaceholder _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageCloseCaptionPlaceholderDefaultTypeInternal _CUserMessageCloseCaptionPlaceholder_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageCurrentTimescale::CUserMessageCurrentTimescale( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.current_)*/0} {} -struct CUserMessageCurrentTimescaleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageCurrentTimescaleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageCurrentTimescaleDefaultTypeInternal() {} - union { - CUserMessageCurrentTimescale _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageCurrentTimescaleDefaultTypeInternal _CUserMessageCurrentTimescale_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageDesiredTimescale::CUserMessageDesiredTimescale( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.desired_)*/0 - , /*decltype(_impl_.acceleration_)*/0 - , /*decltype(_impl_.minblendrate_)*/0 - , /*decltype(_impl_.blenddeltamultiplier_)*/0} {} -struct CUserMessageDesiredTimescaleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageDesiredTimescaleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageDesiredTimescaleDefaultTypeInternal() {} - union { - CUserMessageDesiredTimescale _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageDesiredTimescaleDefaultTypeInternal _CUserMessageDesiredTimescale_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageFade::CUserMessageFade( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.duration_)*/0u - , /*decltype(_impl_.hold_time_)*/0u - , /*decltype(_impl_.flags_)*/0u - , /*decltype(_impl_.color_)*/0u} {} -struct CUserMessageFadeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageFadeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageFadeDefaultTypeInternal() {} - union { - CUserMessageFade _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageFadeDefaultTypeInternal _CUserMessageFade_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageShake::CUserMessageShake( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.command_)*/0u - , /*decltype(_impl_.amplitude_)*/0 - , /*decltype(_impl_.frequency_)*/0 - , /*decltype(_impl_.duration_)*/0} {} -struct CUserMessageShakeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageShakeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageShakeDefaultTypeInternal() {} - union { - CUserMessageShake _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageShakeDefaultTypeInternal _CUserMessageShake_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageShakeDir::CUserMessageShakeDir( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.shake_)*/nullptr - , /*decltype(_impl_.direction_)*/nullptr} {} -struct CUserMessageShakeDirDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageShakeDirDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageShakeDirDefaultTypeInternal() {} - union { - CUserMessageShakeDir _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageShakeDirDefaultTypeInternal _CUserMessageShakeDir_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageWaterShake::CUserMessageWaterShake( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.command_)*/0u - , /*decltype(_impl_.amplitude_)*/0 - , /*decltype(_impl_.frequency_)*/0 - , /*decltype(_impl_.duration_)*/0} {} -struct CUserMessageWaterShakeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageWaterShakeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageWaterShakeDefaultTypeInternal() {} - union { - CUserMessageWaterShake _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageWaterShakeDefaultTypeInternal _CUserMessageWaterShake_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageScreenTilt::CUserMessageScreenTilt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.angle_)*/nullptr - , /*decltype(_impl_.command_)*/0u - , /*decltype(_impl_.ease_in_out_)*/false - , /*decltype(_impl_.duration_)*/0 - , /*decltype(_impl_.time_)*/0} {} -struct CUserMessageScreenTiltDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageScreenTiltDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageScreenTiltDefaultTypeInternal() {} - union { - CUserMessageScreenTilt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageScreenTiltDefaultTypeInternal _CUserMessageScreenTilt_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageSayText::CUserMessageSayText( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.chat_)*/false - , /*decltype(_impl_.playerindex_)*/-1} {} -struct CUserMessageSayTextDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageSayTextDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageSayTextDefaultTypeInternal() {} - union { - CUserMessageSayText _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageSayTextDefaultTypeInternal _CUserMessageSayText_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageSayText2::CUserMessageSayText2( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.messagename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.param1_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.param2_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.param3_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.param4_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.chat_)*/false - , /*decltype(_impl_.entityindex_)*/-1} {} -struct CUserMessageSayText2DefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageSayText2DefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageSayText2DefaultTypeInternal() {} - union { - CUserMessageSayText2 _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageSayText2DefaultTypeInternal _CUserMessageSayText2_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageHudMsg::CUserMessageHudMsg( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.channel_)*/0u - , /*decltype(_impl_.x_)*/0 - , /*decltype(_impl_.y_)*/0 - , /*decltype(_impl_.color1_)*/0u - , /*decltype(_impl_.color2_)*/0u - , /*decltype(_impl_.effect_)*/0u} {} -struct CUserMessageHudMsgDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageHudMsgDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageHudMsgDefaultTypeInternal() {} - union { - CUserMessageHudMsg _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageHudMsgDefaultTypeInternal _CUserMessageHudMsg_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageHudText::CUserMessageHudText( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.message_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CUserMessageHudTextDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageHudTextDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageHudTextDefaultTypeInternal() {} - union { - CUserMessageHudText _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageHudTextDefaultTypeInternal _CUserMessageHudText_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageTextMsg::CUserMessageTextMsg( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.param_)*/{} - , /*decltype(_impl_.dest_)*/0u} {} -struct CUserMessageTextMsgDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageTextMsgDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageTextMsgDefaultTypeInternal() {} - union { - CUserMessageTextMsg _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageTextMsgDefaultTypeInternal _CUserMessageTextMsg_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageGameTitle::CUserMessageGameTitle( - ::_pbi::ConstantInitialized) {} -struct CUserMessageGameTitleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageGameTitleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageGameTitleDefaultTypeInternal() {} - union { - CUserMessageGameTitle _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageGameTitleDefaultTypeInternal _CUserMessageGameTitle_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageResetHUD::CUserMessageResetHUD( - ::_pbi::ConstantInitialized) {} -struct CUserMessageResetHUDDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageResetHUDDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageResetHUDDefaultTypeInternal() {} - union { - CUserMessageResetHUD _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageResetHUDDefaultTypeInternal _CUserMessageResetHUD_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageSendAudio::CUserMessageSendAudio( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.soundname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.stop_)*/false} {} -struct CUserMessageSendAudioDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageSendAudioDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageSendAudioDefaultTypeInternal() {} - union { - CUserMessageSendAudio _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageSendAudioDefaultTypeInternal _CUserMessageSendAudio_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageAudioParameter::CUserMessageAudioParameter( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.parameter_type_)*/0u - , /*decltype(_impl_.name_hash_code_)*/0u - , /*decltype(_impl_.value_)*/0 - , /*decltype(_impl_.int_value_)*/0u} {} -struct CUserMessageAudioParameterDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageAudioParameterDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageAudioParameterDefaultTypeInternal() {} - union { - CUserMessageAudioParameter _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageAudioParameterDefaultTypeInternal _CUserMessageAudioParameter_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageVoiceMask::CUserMessageVoiceMask( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.gamerules_masks_)*/{} - , /*decltype(_impl_.ban_masks_)*/{} - , /*decltype(_impl_.mod_enable_)*/false} {} -struct CUserMessageVoiceMaskDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageVoiceMaskDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageVoiceMaskDefaultTypeInternal() {} - union { - CUserMessageVoiceMask _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageVoiceMaskDefaultTypeInternal _CUserMessageVoiceMask_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageRequestState::CUserMessageRequestState( - ::_pbi::ConstantInitialized) {} -struct CUserMessageRequestStateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageRequestStateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageRequestStateDefaultTypeInternal() {} - union { - CUserMessageRequestState _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageRequestStateDefaultTypeInternal _CUserMessageRequestState_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageRumble::CUserMessageRumble( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.index_)*/0 - , /*decltype(_impl_.data_)*/0 - , /*decltype(_impl_.flags_)*/0} {} -struct CUserMessageRumbleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageRumbleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageRumbleDefaultTypeInternal() {} - union { - CUserMessageRumble _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageRumbleDefaultTypeInternal _CUserMessageRumble_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageSayTextChannel::CUserMessageSayTextChannel( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.player_)*/0 - , /*decltype(_impl_.channel_)*/0} {} -struct CUserMessageSayTextChannelDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageSayTextChannelDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageSayTextChannelDefaultTypeInternal() {} - union { - CUserMessageSayTextChannel _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageSayTextChannelDefaultTypeInternal _CUserMessageSayTextChannel_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageColoredText::CUserMessageColoredText( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.color_)*/0u - , /*decltype(_impl_.reset_)*/false - , /*decltype(_impl_.context_value_)*/0 - , /*decltype(_impl_.context_team_id_)*/0 - , /*decltype(_impl_.context_player_slot_)*/-1} {} -struct CUserMessageColoredTextDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageColoredTextDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageColoredTextDefaultTypeInternal() {} - union { - CUserMessageColoredText _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageColoredTextDefaultTypeInternal _CUserMessageColoredText_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageItemPickup::CUserMessageItemPickup( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.itemname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CUserMessageItemPickupDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageItemPickupDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageItemPickupDefaultTypeInternal() {} - union { - CUserMessageItemPickup _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageItemPickupDefaultTypeInternal _CUserMessageItemPickup_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageAmmoDenied::CUserMessageAmmoDenied( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.ammo_id_)*/0u} {} -struct CUserMessageAmmoDeniedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageAmmoDeniedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageAmmoDeniedDefaultTypeInternal() {} - union { - CUserMessageAmmoDenied _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageAmmoDeniedDefaultTypeInternal _CUserMessageAmmoDenied_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageShowMenu::CUserMessageShowMenu( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.menustring_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.validslots_)*/0u - , /*decltype(_impl_.displaytime_)*/0u - , /*decltype(_impl_.needmore_)*/false} {} -struct CUserMessageShowMenuDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageShowMenuDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageShowMenuDefaultTypeInternal() {} - union { - CUserMessageShowMenu _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageShowMenuDefaultTypeInternal _CUserMessageShowMenu_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageCreditsMsg::CUserMessageCreditsMsg( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.logo_length_)*/0 - , /*decltype(_impl_.rolltype_)*/-1} {} -struct CUserMessageCreditsMsgDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageCreditsMsgDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageCreditsMsgDefaultTypeInternal() {} - union { - CUserMessageCreditsMsg _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageCreditsMsgDefaultTypeInternal _CUserMessageCreditsMsg_default_instance_; -PROTOBUF_CONSTEXPR CEntityMessagePlayJingle::CEntityMessagePlayJingle( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.entity_msg_)*/nullptr} {} -struct CEntityMessagePlayJingleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CEntityMessagePlayJingleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CEntityMessagePlayJingleDefaultTypeInternal() {} - union { - CEntityMessagePlayJingle _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEntityMessagePlayJingleDefaultTypeInternal _CEntityMessagePlayJingle_default_instance_; -PROTOBUF_CONSTEXPR CEntityMessageScreenOverlay::CEntityMessageScreenOverlay( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.entity_msg_)*/nullptr - , /*decltype(_impl_.start_effect_)*/false} {} -struct CEntityMessageScreenOverlayDefaultTypeInternal { - PROTOBUF_CONSTEXPR CEntityMessageScreenOverlayDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CEntityMessageScreenOverlayDefaultTypeInternal() {} - union { - CEntityMessageScreenOverlay _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEntityMessageScreenOverlayDefaultTypeInternal _CEntityMessageScreenOverlay_default_instance_; -PROTOBUF_CONSTEXPR CEntityMessageRemoveAllDecals::CEntityMessageRemoveAllDecals( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.entity_msg_)*/nullptr - , /*decltype(_impl_.remove_decals_)*/false} {} -struct CEntityMessageRemoveAllDecalsDefaultTypeInternal { - PROTOBUF_CONSTEXPR CEntityMessageRemoveAllDecalsDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CEntityMessageRemoveAllDecalsDefaultTypeInternal() {} - union { - CEntityMessageRemoveAllDecals _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEntityMessageRemoveAllDecalsDefaultTypeInternal _CEntityMessageRemoveAllDecals_default_instance_; -PROTOBUF_CONSTEXPR CEntityMessagePropagateForce::CEntityMessagePropagateForce( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.impulse_)*/nullptr - , /*decltype(_impl_.entity_msg_)*/nullptr} {} -struct CEntityMessagePropagateForceDefaultTypeInternal { - PROTOBUF_CONSTEXPR CEntityMessagePropagateForceDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CEntityMessagePropagateForceDefaultTypeInternal() {} - union { - CEntityMessagePropagateForce _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEntityMessagePropagateForceDefaultTypeInternal _CEntityMessagePropagateForce_default_instance_; -PROTOBUF_CONSTEXPR CEntityMessageDoSpark::CEntityMessageDoSpark( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.entity_msg_)*/nullptr - , /*decltype(_impl_.radius_)*/0 - , /*decltype(_impl_.color_)*/0u - , /*decltype(_impl_.beams_)*/0u - , /*decltype(_impl_.thick_)*/0 - , /*decltype(_impl_.duration_)*/0 - , /*decltype(_impl_.entityindex_)*/-1} {} -struct CEntityMessageDoSparkDefaultTypeInternal { - PROTOBUF_CONSTEXPR CEntityMessageDoSparkDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CEntityMessageDoSparkDefaultTypeInternal() {} - union { - CEntityMessageDoSpark _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEntityMessageDoSparkDefaultTypeInternal _CEntityMessageDoSpark_default_instance_; -PROTOBUF_CONSTEXPR CEntityMessageFixAngle::CEntityMessageFixAngle( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.angle_)*/nullptr - , /*decltype(_impl_.entity_msg_)*/nullptr - , /*decltype(_impl_.relative_)*/false} {} -struct CEntityMessageFixAngleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CEntityMessageFixAngleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CEntityMessageFixAngleDefaultTypeInternal() {} - union { - CEntityMessageFixAngle _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CEntityMessageFixAngleDefaultTypeInternal _CEntityMessageFixAngle_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageCameraTransition_Transition_DataDriven::CUserMessageCameraTransition_Transition_DataDriven( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.filename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.duration_)*/0 - , /*decltype(_impl_.attach_ent_index_)*/-1} {} -struct CUserMessageCameraTransition_Transition_DataDrivenDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageCameraTransition_Transition_DataDrivenDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageCameraTransition_Transition_DataDrivenDefaultTypeInternal() {} - union { - CUserMessageCameraTransition_Transition_DataDriven _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageCameraTransition_Transition_DataDrivenDefaultTypeInternal _CUserMessageCameraTransition_Transition_DataDriven_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageCameraTransition::CUserMessageCameraTransition( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.params_data_driven_)*/nullptr - , /*decltype(_impl_.camera_type_)*/0u - , /*decltype(_impl_.duration_)*/0} {} -struct CUserMessageCameraTransitionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageCameraTransitionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageCameraTransitionDefaultTypeInternal() {} - union { - CUserMessageCameraTransition _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageCameraTransitionDefaultTypeInternal _CUserMessageCameraTransition_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ReleaseParticleIndex::CUserMsg_ParticleManager_ReleaseParticleIndex( - ::_pbi::ConstantInitialized) {} -struct CUserMsg_ParticleManager_ReleaseParticleIndexDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ReleaseParticleIndexDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_ReleaseParticleIndexDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_ReleaseParticleIndex _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_ReleaseParticleIndexDefaultTypeInternal _CUserMsg_ParticleManager_ReleaseParticleIndex_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_CreateParticle::CUserMsg_ParticleManager_CreateParticle( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.control_point_configuration_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.aggregation_position_)*/nullptr - , /*decltype(_impl_.particle_name_index_)*/uint64_t{0u} - , /*decltype(_impl_.attach_type_)*/0 - , /*decltype(_impl_.team_behavior_)*/0 - , /*decltype(_impl_.apply_voice_ban_rules_)*/false - , /*decltype(_impl_.cluster_)*/false - , /*decltype(_impl_.endcap_time_)*/0 - , /*decltype(_impl_.entity_handle_)*/16777215u - , /*decltype(_impl_.entity_handle_for_modifiers_)*/16777215u} {} -struct CUserMsg_ParticleManager_CreateParticleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_CreateParticleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_CreateParticleDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_CreateParticle _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_CreateParticleDefaultTypeInternal _CUserMsg_ParticleManager_CreateParticle_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyParticle::CUserMsg_ParticleManager_DestroyParticle( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.destroy_immediately_)*/false} {} -struct CUserMsg_ParticleManager_DestroyParticleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyParticleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_DestroyParticleDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_DestroyParticle _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_DestroyParticleDefaultTypeInternal _CUserMsg_ParticleManager_DestroyParticle_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyParticleInvolving::CUserMsg_ParticleManager_DestroyParticleInvolving( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.destroy_immediately_)*/false - , /*decltype(_impl_.entity_handle_)*/16777215u} {} -struct CUserMsg_ParticleManager_DestroyParticleInvolvingDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyParticleInvolvingDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_DestroyParticleInvolvingDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_DestroyParticleInvolving _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_DestroyParticleInvolvingDefaultTypeInternal _CUserMsg_ParticleManager_DestroyParticleInvolving_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyParticleNamed::CUserMsg_ParticleManager_DestroyParticleNamed( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.particle_name_index_)*/uint64_t{0u} - , /*decltype(_impl_.destroy_immediately_)*/false - , /*decltype(_impl_.play_endcap_)*/false - , /*decltype(_impl_.entity_handle_)*/16777215u} {} -struct CUserMsg_ParticleManager_DestroyParticleNamedDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyParticleNamedDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_DestroyParticleNamedDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_DestroyParticleNamed _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_DestroyParticleNamedDefaultTypeInternal _CUserMsg_ParticleManager_DestroyParticleNamed_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.position_)*/nullptr - , /*decltype(_impl_.control_point_)*/0} {} -struct CUserMsg_ParticleManager_UpdateParticle_OBSOLETEDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticle_OBSOLETEDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_UpdateParticle_OBSOLETEDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_UpdateParticle_OBSOLETE _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateParticle_OBSOLETEDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticle_OBSOLETE_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.forward_)*/nullptr - , /*decltype(_impl_.control_point_)*/0} {} -struct CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETEDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETEDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETEDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETEDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.forward_)*/nullptr - , /*decltype(_impl_.deprecated_right_)*/nullptr - , /*decltype(_impl_.up_)*/nullptr - , /*decltype(_impl_.left_)*/nullptr - , /*decltype(_impl_.control_point_)*/0} {} -struct CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETEDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETEDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETEDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETEDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleTransform::CUserMsg_ParticleManager_UpdateParticleTransform( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.position_)*/nullptr - , /*decltype(_impl_.orientation_)*/nullptr - , /*decltype(_impl_.control_point_)*/0 - , /*decltype(_impl_.interpolation_interval_)*/0} {} -struct CUserMsg_ParticleManager_UpdateParticleTransformDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleTransformDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_UpdateParticleTransformDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_UpdateParticleTransform _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateParticleTransformDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleTransform_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleFallback::CUserMsg_ParticleManager_UpdateParticleFallback( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.position_)*/nullptr - , /*decltype(_impl_.control_point_)*/0} {} -struct CUserMsg_ParticleManager_UpdateParticleFallbackDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleFallbackDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_UpdateParticleFallbackDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_UpdateParticleFallback _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateParticleFallbackDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleFallback_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleOffset::CUserMsg_ParticleManager_UpdateParticleOffset( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_offset_)*/nullptr - , /*decltype(_impl_.angle_offset_)*/nullptr - , /*decltype(_impl_.control_point_)*/0} {} -struct CUserMsg_ParticleManager_UpdateParticleOffsetDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleOffsetDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_UpdateParticleOffsetDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_UpdateParticleOffset _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateParticleOffsetDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleOffset_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleEnt::CUserMsg_ParticleManager_UpdateParticleEnt( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.fallback_position_)*/nullptr - , /*decltype(_impl_.offset_position_)*/nullptr - , /*decltype(_impl_.offset_angles_)*/nullptr - , /*decltype(_impl_.control_point_)*/0 - , /*decltype(_impl_.attach_type_)*/0 - , /*decltype(_impl_.attachment_)*/0 - , /*decltype(_impl_.include_wearables_)*/false - , /*decltype(_impl_.entity_handle_)*/16777215u} {} -struct CUserMsg_ParticleManager_UpdateParticleEntDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleEntDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_UpdateParticleEntDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_UpdateParticleEnt _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateParticleEntDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleEnt_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleSetFrozen::CUserMsg_ParticleManager_UpdateParticleSetFrozen( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.set_frozen_)*/false - , /*decltype(_impl_.transition_duration_)*/0} {} -struct CUserMsg_ParticleManager_UpdateParticleSetFrozenDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleSetFrozenDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_UpdateParticleSetFrozenDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_UpdateParticleSetFrozen _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateParticleSetFrozenDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleSetFrozen_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleShouldDraw::CUserMsg_ParticleManager_UpdateParticleShouldDraw( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.should_draw_)*/false} {} -struct CUserMsg_ParticleManager_UpdateParticleShouldDrawDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleShouldDrawDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_UpdateParticleShouldDrawDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_UpdateParticleShouldDraw _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateParticleShouldDrawDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleShouldDraw_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ChangeControlPointAttachment::CUserMsg_ParticleManager_ChangeControlPointAttachment( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.attachment_old_)*/0 - , /*decltype(_impl_.attachment_new_)*/0 - , /*decltype(_impl_.entity_handle_)*/16777215u} {} -struct CUserMsg_ParticleManager_ChangeControlPointAttachmentDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ChangeControlPointAttachmentDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_ChangeControlPointAttachmentDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_ChangeControlPointAttachment _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_ChangeControlPointAttachmentDefaultTypeInternal _CUserMsg_ParticleManager_ChangeControlPointAttachment_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateEntityPosition::CUserMsg_ParticleManager_UpdateEntityPosition( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.position_)*/nullptr - , /*decltype(_impl_.entity_handle_)*/16777215u} {} -struct CUserMsg_ParticleManager_UpdateEntityPositionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateEntityPositionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_UpdateEntityPositionDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_UpdateEntityPosition _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateEntityPositionDefaultTypeInternal _CUserMsg_ParticleManager_UpdateEntityPosition_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleFoWProperties::CUserMsg_ParticleManager_SetParticleFoWProperties( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.fow_control_point_)*/0 - , /*decltype(_impl_.fow_control_point2_)*/0 - , /*decltype(_impl_.fow_radius_)*/0} {} -struct CUserMsg_ParticleManager_SetParticleFoWPropertiesDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleFoWPropertiesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_SetParticleFoWPropertiesDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_SetParticleFoWProperties _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetParticleFoWPropertiesDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleFoWProperties_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleShouldCheckFoW::CUserMsg_ParticleManager_SetParticleShouldCheckFoW( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.check_fow_)*/false} {} -struct CUserMsg_ParticleManager_SetParticleShouldCheckFoWDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleShouldCheckFoWDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_SetParticleShouldCheckFoWDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_SetParticleShouldCheckFoW _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetParticleShouldCheckFoWDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleShouldCheckFoW_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetControlPointModel::CUserMsg_ParticleManager_SetControlPointModel( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.model_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.control_point_)*/0} {} -struct CUserMsg_ParticleManager_SetControlPointModelDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetControlPointModelDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_SetControlPointModelDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_SetControlPointModel _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetControlPointModelDefaultTypeInternal _CUserMsg_ParticleManager_SetControlPointModel_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetControlPointSnapshot::CUserMsg_ParticleManager_SetControlPointSnapshot( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.snapshot_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.control_point_)*/0} {} -struct CUserMsg_ParticleManager_SetControlPointSnapshotDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetControlPointSnapshotDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_SetControlPointSnapshotDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_SetControlPointSnapshot _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetControlPointSnapshotDefaultTypeInternal _CUserMsg_ParticleManager_SetControlPointSnapshot_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleText::CUserMsg_ParticleManager_SetParticleText( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CUserMsg_ParticleManager_SetParticleTextDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleTextDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_SetParticleTextDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_SetParticleText _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetParticleTextDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleText_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetTextureAttribute::CUserMsg_ParticleManager_SetTextureAttribute( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.attribute_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.texture_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CUserMsg_ParticleManager_SetTextureAttributeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetTextureAttributeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_SetTextureAttributeDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_SetTextureAttribute _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetTextureAttributeDefaultTypeInternal _CUserMsg_ParticleManager_SetTextureAttribute_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetSceneObjectGenericFlag::CUserMsg_ParticleManager_SetSceneObjectGenericFlag( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.flag_value_)*/false} {} -struct CUserMsg_ParticleManager_SetSceneObjectGenericFlagDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetSceneObjectGenericFlagDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_SetSceneObjectGenericFlagDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_SetSceneObjectGenericFlag _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetSceneObjectGenericFlagDefaultTypeInternal _CUserMsg_ParticleManager_SetSceneObjectGenericFlag_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.tint_)*/0u - , /*decltype(_impl_.desat_)*/0} {} -struct CUserMsg_ParticleManager_SetSceneObjectTintAndDesatDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetSceneObjectTintAndDesatDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_SetSceneObjectTintAndDesatDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_SetSceneObjectTintAndDesat _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetSceneObjectTintAndDesatDefaultTypeInternal _CUserMsg_ParticleManager_SetSceneObjectTintAndDesat_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ParticleSkipToTime::CUserMsg_ParticleManager_ParticleSkipToTime( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.skip_to_time_)*/0} {} -struct CUserMsg_ParticleManager_ParticleSkipToTimeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ParticleSkipToTimeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_ParticleSkipToTimeDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_ParticleSkipToTime _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_ParticleSkipToTimeDefaultTypeInternal _CUserMsg_ParticleManager_ParticleSkipToTime_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ParticleCanFreeze::CUserMsg_ParticleManager_ParticleCanFreeze( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.can_freeze_)*/false} {} -struct CUserMsg_ParticleManager_ParticleCanFreezeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ParticleCanFreezeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_ParticleCanFreezeDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_ParticleCanFreeze _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_ParticleCanFreezeDefaultTypeInternal _CUserMsg_ParticleManager_ParticleCanFreeze_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.freeze_transition_override_)*/0} {} -struct CUserMsg_ParticleManager_ParticleFreezeTransitionOverrideDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ParticleFreezeTransitionOverrideDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_ParticleFreezeTransitionOverrideDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_ParticleFreezeTransitionOverride _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_ParticleFreezeTransitionOverrideDefaultTypeInternal _CUserMsg_ParticleManager_ParticleFreezeTransitionOverride_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_FreezeParticleInvolving::CUserMsg_ParticleManager_FreezeParticleInvolving( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.set_frozen_)*/false - , /*decltype(_impl_.transition_duration_)*/0 - , /*decltype(_impl_.entity_handle_)*/16777215u} {} -struct CUserMsg_ParticleManager_FreezeParticleInvolvingDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_FreezeParticleInvolvingDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_FreezeParticleInvolvingDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_FreezeParticleInvolving _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_FreezeParticleInvolvingDefaultTypeInternal _CUserMsg_ParticleManager_FreezeParticleInvolving_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_AddModellistOverrideElement::CUserMsg_ParticleManager_AddModellistOverrideElement( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.model_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.spawn_probability_)*/0 - , /*decltype(_impl_.groupid_)*/0u} {} -struct CUserMsg_ParticleManager_AddModellistOverrideElementDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_AddModellistOverrideElementDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_AddModellistOverrideElementDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_AddModellistOverrideElement _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_AddModellistOverrideElementDefaultTypeInternal _CUserMsg_ParticleManager_AddModellistOverrideElement_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ClearModellistOverride::CUserMsg_ParticleManager_ClearModellistOverride( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.groupid_)*/0u} {} -struct CUserMsg_ParticleManager_ClearModellistOverrideDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ClearModellistOverrideDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_ClearModellistOverrideDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_ClearModellistOverride _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_ClearModellistOverrideDefaultTypeInternal _CUserMsg_ParticleManager_ClearModellistOverride_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.value_name_hash_)*/0u - , /*decltype(_impl_.value_)*/0} {} -struct CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValueDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValueDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValueDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValueDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.value_)*/nullptr - , /*decltype(_impl_.value_name_hash_)*/0u} {} -struct CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValueDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValueDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValueDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValueDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.angles_)*/nullptr - , /*decltype(_impl_.translation_)*/nullptr - , /*decltype(_impl_.value_name_hash_)*/0u} {} -struct CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValueDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValueDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValueDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValueDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.value_name_hash_)*/0u - , /*decltype(_impl_.ent_index_)*/16777215u} {} -struct CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContextDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContextDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContextDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContextDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext::CUserMsg_ParticleManager_SetParticleNamedValueContext( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.float_values_)*/{} - , /*decltype(_impl_.vector_values_)*/{} - , /*decltype(_impl_.transform_values_)*/{} - , /*decltype(_impl_.ehandle_values_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CUserMsg_ParticleManager_SetParticleNamedValueContextDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContextDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_SetParticleNamedValueContextDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_SetParticleNamedValueContext _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetParticleNamedValueContextDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_CreatePhysicsSim::CUserMsg_ParticleManager_CreatePhysicsSim( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.prop_group_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.use_high_quality_simulation_)*/false - , /*decltype(_impl_.max_particle_count_)*/0u} {} -struct CUserMsg_ParticleManager_CreatePhysicsSimDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_CreatePhysicsSimDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_CreatePhysicsSimDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_CreatePhysicsSim _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_CreatePhysicsSimDefaultTypeInternal _CUserMsg_ParticleManager_CreatePhysicsSim_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyPhysicsSim::CUserMsg_ParticleManager_DestroyPhysicsSim( - ::_pbi::ConstantInitialized) {} -struct CUserMsg_ParticleManager_DestroyPhysicsSimDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyPhysicsSimDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_DestroyPhysicsSimDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_DestroyPhysicsSim _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_DestroyPhysicsSimDefaultTypeInternal _CUserMsg_ParticleManager_DestroyPhysicsSim_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetVData::CUserMsg_ParticleManager_SetVData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.vdata_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CUserMsg_ParticleManager_SetVDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetVDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_SetVDataDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_SetVData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetVDataDefaultTypeInternal _CUserMsg_ParticleManager_SetVData_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetMaterialOverride::CUserMsg_ParticleManager_SetMaterialOverride( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.material_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.include_children_)*/false} {} -struct CUserMsg_ParticleManager_SetMaterialOverrideDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetMaterialOverrideDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_SetMaterialOverrideDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_SetMaterialOverride _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetMaterialOverrideDefaultTypeInternal _CUserMsg_ParticleManager_SetMaterialOverride_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_AddFan::CUserMsg_ParticleManager_AddFan( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.fan_force_curve_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.attachment_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.bounds_mins_)*/nullptr - , /*decltype(_impl_.bounds_maxs_)*/nullptr - , /*decltype(_impl_.fan_origin_)*/nullptr - , /*decltype(_impl_.fan_origin_offset_)*/nullptr - , /*decltype(_impl_.fan_direction_)*/nullptr - , /*decltype(_impl_.active_)*/false - , /*decltype(_impl_.falloff_)*/false - , /*decltype(_impl_.pull_towards_point_)*/false - , /*decltype(_impl_.force_)*/0 - , /*decltype(_impl_.curve_min_dist_)*/0 - , /*decltype(_impl_.curve_max_dist_)*/0 - , /*decltype(_impl_.fan_type_)*/0u - , /*decltype(_impl_.cone_start_radius_)*/0 - , /*decltype(_impl_.cone_end_radius_)*/0 - , /*decltype(_impl_.cone_length_)*/0 - , /*decltype(_impl_.entity_handle_)*/16777215u} {} -struct CUserMsg_ParticleManager_AddFanDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_AddFanDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_AddFanDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_AddFan _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_AddFanDefaultTypeInternal _CUserMsg_ParticleManager_AddFan_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateFan::CUserMsg_ParticleManager_UpdateFan( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.fan_origin_)*/nullptr - , /*decltype(_impl_.fan_origin_offset_)*/nullptr - , /*decltype(_impl_.fan_direction_)*/nullptr - , /*decltype(_impl_.bounds_mins_)*/nullptr - , /*decltype(_impl_.bounds_maxs_)*/nullptr - , /*decltype(_impl_.active_)*/false - , /*decltype(_impl_.fan_ramp_ratio_)*/0} {} -struct CUserMsg_ParticleManager_UpdateFanDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateFanDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_UpdateFanDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_UpdateFan _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_UpdateFanDefaultTypeInternal _CUserMsg_ParticleManager_UpdateFan_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_RemoveFan::CUserMsg_ParticleManager_RemoveFan( - ::_pbi::ConstantInitialized) {} -struct CUserMsg_ParticleManager_RemoveFanDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_RemoveFanDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_RemoveFanDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_RemoveFan _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_RemoveFanDefaultTypeInternal _CUserMsg_ParticleManager_RemoveFan_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleClusterGrowth::CUserMsg_ParticleManager_SetParticleClusterGrowth( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.origin_)*/nullptr - , /*decltype(_impl_.duration_)*/0} {} -struct CUserMsg_ParticleManager_SetParticleClusterGrowthDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleClusterGrowthDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManager_SetParticleClusterGrowthDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager_SetParticleClusterGrowth _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManager_SetParticleClusterGrowthDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleClusterGrowth_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_ParticleManager::CUserMsg_ParticleManager( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._extensions_)*/{} - , /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.release_particle_index_)*/nullptr - , /*decltype(_impl_.create_particle_)*/nullptr - , /*decltype(_impl_.destroy_particle_)*/nullptr - , /*decltype(_impl_.destroy_particle_involving_)*/nullptr - , /*decltype(_impl_.update_particle_)*/nullptr - , /*decltype(_impl_.update_particle_fwd_)*/nullptr - , /*decltype(_impl_.update_particle_orient_)*/nullptr - , /*decltype(_impl_.update_particle_fallback_)*/nullptr - , /*decltype(_impl_.update_particle_offset_)*/nullptr - , /*decltype(_impl_.update_particle_ent_)*/nullptr - , /*decltype(_impl_.update_particle_should_draw_)*/nullptr - , /*decltype(_impl_.update_particle_set_frozen_)*/nullptr - , /*decltype(_impl_.change_control_point_attachment_)*/nullptr - , /*decltype(_impl_.update_entity_position_)*/nullptr - , /*decltype(_impl_.set_particle_fow_properties_)*/nullptr - , /*decltype(_impl_.set_particle_text_)*/nullptr - , /*decltype(_impl_.set_particle_should_check_fow_)*/nullptr - , /*decltype(_impl_.set_control_point_model_)*/nullptr - , /*decltype(_impl_.set_control_point_snapshot_)*/nullptr - , /*decltype(_impl_.set_texture_attribute_)*/nullptr - , /*decltype(_impl_.set_scene_object_generic_flag_)*/nullptr - , /*decltype(_impl_.set_scene_object_tint_and_desat_)*/nullptr - , /*decltype(_impl_.destroy_particle_named_)*/nullptr - , /*decltype(_impl_.particle_skip_to_time_)*/nullptr - , /*decltype(_impl_.particle_can_freeze_)*/nullptr - , /*decltype(_impl_.set_named_value_context_)*/nullptr - , /*decltype(_impl_.update_particle_transform_)*/nullptr - , /*decltype(_impl_.particle_freeze_transition_override_)*/nullptr - , /*decltype(_impl_.freeze_particle_involving_)*/nullptr - , /*decltype(_impl_.add_modellist_override_element_)*/nullptr - , /*decltype(_impl_.clear_modellist_override_)*/nullptr - , /*decltype(_impl_.create_physics_sim_)*/nullptr - , /*decltype(_impl_.destroy_physics_sim_)*/nullptr - , /*decltype(_impl_.set_vdata_)*/nullptr - , /*decltype(_impl_.set_material_override_)*/nullptr - , /*decltype(_impl_.add_fan_)*/nullptr - , /*decltype(_impl_.update_fan_)*/nullptr - , /*decltype(_impl_.set_particle_cluster_growth_)*/nullptr - , /*decltype(_impl_.remove_fan_)*/nullptr - , /*decltype(_impl_.type_)*/0 - , /*decltype(_impl_.index_)*/0u} {} -struct CUserMsg_ParticleManagerDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_ParticleManagerDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_ParticleManagerDefaultTypeInternal() {} - union { - CUserMsg_ParticleManager _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_ParticleManagerDefaultTypeInternal _CUserMsg_ParticleManager_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_HudError::CUserMsg_HudError( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.order_id_)*/0} {} -struct CUserMsg_HudErrorDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_HudErrorDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_HudErrorDefaultTypeInternal() {} - union { - CUserMsg_HudError _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_HudErrorDefaultTypeInternal _CUserMsg_HudError_default_instance_; -PROTOBUF_CONSTEXPR CUserMsg_CustomGameEvent::CUserMsg_CustomGameEvent( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.event_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {} -struct CUserMsg_CustomGameEventDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMsg_CustomGameEventDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMsg_CustomGameEventDefaultTypeInternal() {} - union { - CUserMsg_CustomGameEvent _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMsg_CustomGameEventDefaultTypeInternal _CUserMsg_CustomGameEvent_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageHapticsManagerPulse::CUserMessageHapticsManagerPulse( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.hand_id_)*/0 - , /*decltype(_impl_.effect_amplitude_)*/0 - , /*decltype(_impl_.effect_frequency_)*/0 - , /*decltype(_impl_.effect_duration_)*/0} {} -struct CUserMessageHapticsManagerPulseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageHapticsManagerPulseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageHapticsManagerPulseDefaultTypeInternal() {} - union { - CUserMessageHapticsManagerPulse _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageHapticsManagerPulseDefaultTypeInternal _CUserMessageHapticsManagerPulse_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageHapticsManagerEffect::CUserMessageHapticsManagerEffect( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.hand_id_)*/0 - , /*decltype(_impl_.effect_name_hash_code_)*/0u - , /*decltype(_impl_.effect_scale_)*/0} {} -struct CUserMessageHapticsManagerEffectDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageHapticsManagerEffectDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageHapticsManagerEffectDefaultTypeInternal() {} - union { - CUserMessageHapticsManagerEffect _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageHapticsManagerEffectDefaultTypeInternal _CUserMessageHapticsManagerEffect_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageAnimStateGraphState::CUserMessageAnimStateGraphState( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.entity_index_)*/0} {} -struct CUserMessageAnimStateGraphStateDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageAnimStateGraphStateDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageAnimStateGraphStateDefaultTypeInternal() {} - union { - CUserMessageAnimStateGraphState _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageAnimStateGraphStateDefaultTypeInternal _CUserMessageAnimStateGraphState_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageUpdateCssClasses::CUserMessageUpdateCssClasses( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.css_classes_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.target_world_panel_)*/0 - , /*decltype(_impl_.is_add_)*/false} {} -struct CUserMessageUpdateCssClassesDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageUpdateCssClassesDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageUpdateCssClassesDefaultTypeInternal() {} - union { - CUserMessageUpdateCssClasses _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageUpdateCssClassesDefaultTypeInternal _CUserMessageUpdateCssClasses_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageServerFrameTime::CUserMessageServerFrameTime( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.frame_time_)*/0} {} -struct CUserMessageServerFrameTimeDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageServerFrameTimeDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageServerFrameTimeDefaultTypeInternal() {} - union { - CUserMessageServerFrameTime _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageServerFrameTimeDefaultTypeInternal _CUserMessageServerFrameTime_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageLagCompensationError::CUserMessageLagCompensationError( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.distance_)*/0} {} -struct CUserMessageLagCompensationErrorDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageLagCompensationErrorDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageLagCompensationErrorDefaultTypeInternal() {} - union { - CUserMessageLagCompensationError _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageLagCompensationErrorDefaultTypeInternal _CUserMessageLagCompensationError_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageRequestDllStatus::CUserMessageRequestDllStatus( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.dll_action_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.full_report_)*/false} {} -struct CUserMessageRequestDllStatusDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageRequestDllStatusDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageRequestDllStatusDefaultTypeInternal() {} - union { - CUserMessageRequestDllStatus _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageRequestDllStatusDefaultTypeInternal _CUserMessageRequestDllStatus_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageRequestUtilAction::CUserMessageRequestUtilAction( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.util1_)*/0 - , /*decltype(_impl_.util2_)*/0 - , /*decltype(_impl_.util3_)*/0 - , /*decltype(_impl_.util4_)*/0 - , /*decltype(_impl_.util5_)*/0} {} -struct CUserMessageRequestUtilActionDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageRequestUtilActionDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageRequestUtilActionDefaultTypeInternal() {} - union { - CUserMessageRequestUtilAction _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageRequestUtilActionDefaultTypeInternal _CUserMessageRequestUtilAction_default_instance_; -PROTOBUF_CONSTEXPR CUserMessage_UtilMsg_Response_ItemDetail::CUserMessage_UtilMsg_Response_ItemDetail( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.index_)*/0 - , /*decltype(_impl_.hash_)*/0 - , /*decltype(_impl_.crc_)*/0} {} -struct CUserMessage_UtilMsg_Response_ItemDetailDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessage_UtilMsg_Response_ItemDetailDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessage_UtilMsg_Response_ItemDetailDefaultTypeInternal() {} - union { - CUserMessage_UtilMsg_Response_ItemDetail _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_UtilMsg_Response_ItemDetailDefaultTypeInternal _CUserMessage_UtilMsg_Response_ItemDetail_default_instance_; -PROTOBUF_CONSTEXPR CUserMessage_UtilMsg_Response::CUserMessage_UtilMsg_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.crc_part_)*/{} - , /*decltype(_impl_.crc_part2_)*/{} - , /*decltype(_impl_.itemdetails_)*/{} - , /*decltype(_impl_.crc_)*/0u - , /*decltype(_impl_.item_count_)*/0 - , /*decltype(_impl_.crc2_)*/0u - , /*decltype(_impl_.item_count2_)*/0 - , /*decltype(_impl_.client_timestamp_)*/0 - , /*decltype(_impl_.platform_)*/0 - , /*decltype(_impl_.itemgroup_)*/0 - , /*decltype(_impl_.total_count_)*/0 - , /*decltype(_impl_.total_count2_)*/0} {} -struct CUserMessage_UtilMsg_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessage_UtilMsg_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessage_UtilMsg_ResponseDefaultTypeInternal() {} - union { - CUserMessage_UtilMsg_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_UtilMsg_ResponseDefaultTypeInternal _CUserMessage_UtilMsg_Response_default_instance_; -PROTOBUF_CONSTEXPR CUserMessage_DllStatus_CVDiagnostic::CUserMessage_DllStatus_CVDiagnostic( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.string_value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.id_)*/0u - , /*decltype(_impl_.extended_)*/0u - , /*decltype(_impl_.value_)*/uint64_t{0u}} {} -struct CUserMessage_DllStatus_CVDiagnosticDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessage_DllStatus_CVDiagnosticDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessage_DllStatus_CVDiagnosticDefaultTypeInternal() {} - union { - CUserMessage_DllStatus_CVDiagnostic _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_DllStatus_CVDiagnosticDefaultTypeInternal _CUserMessage_DllStatus_CVDiagnostic_default_instance_; -PROTOBUF_CONSTEXPR CUserMessage_DllStatus_CModule::CUserMessage_DllStatus_CModule( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.base_addr_)*/uint64_t{0u} - , /*decltype(_impl_.size_)*/0u - , /*decltype(_impl_.timestamp_)*/0u} {} -struct CUserMessage_DllStatus_CModuleDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessage_DllStatus_CModuleDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessage_DllStatus_CModuleDefaultTypeInternal() {} - union { - CUserMessage_DllStatus_CModule _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_DllStatus_CModuleDefaultTypeInternal _CUserMessage_DllStatus_CModule_default_instance_; -PROTOBUF_CONSTEXPR CUserMessage_DllStatus::CUserMessage_DllStatus( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.diagnostics_)*/{} - , /*decltype(_impl_.modules_)*/{} - , /*decltype(_impl_.file_report_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.command_line_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.total_files_)*/0u - , /*decltype(_impl_.process_id_)*/0u - , /*decltype(_impl_.client_time_)*/uint64_t{0u} - , /*decltype(_impl_.osversion_)*/0} {} -struct CUserMessage_DllStatusDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessage_DllStatusDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessage_DllStatusDefaultTypeInternal() {} - union { - CUserMessage_DllStatus _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_DllStatusDefaultTypeInternal _CUserMessage_DllStatus_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageRequestInventory::CUserMessageRequestInventory( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.inventory_)*/0 - , /*decltype(_impl_.offset_)*/0 - , /*decltype(_impl_.options_)*/0} {} -struct CUserMessageRequestInventoryDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageRequestInventoryDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageRequestInventoryDefaultTypeInternal() {} - union { - CUserMessageRequestInventory _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageRequestInventoryDefaultTypeInternal _CUserMessageRequestInventory_default_instance_; -PROTOBUF_CONSTEXPR CUserMessage_Inventory_Response_InventoryDetail::CUserMessage_Inventory_Response_InventoryDetail( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.base_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.primary_)*/int64_t{0} - , /*decltype(_impl_.offset_)*/int64_t{0} - , /*decltype(_impl_.first_)*/int64_t{0} - , /*decltype(_impl_.index_)*/0 - , /*decltype(_impl_.base_detail_)*/0 - , /*decltype(_impl_.base_)*/int64_t{0} - , /*decltype(_impl_.base_time_)*/0 - , /*decltype(_impl_.base_hash_)*/0} {} -struct CUserMessage_Inventory_Response_InventoryDetailDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessage_Inventory_Response_InventoryDetailDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessage_Inventory_Response_InventoryDetailDefaultTypeInternal() {} - union { - CUserMessage_Inventory_Response_InventoryDetail _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_Inventory_Response_InventoryDetailDefaultTypeInternal _CUserMessage_Inventory_Response_InventoryDetail_default_instance_; -PROTOBUF_CONSTEXPR CUserMessage_Inventory_Response::CUserMessage_Inventory_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.inventories_)*/{} - , /*decltype(_impl_.inventories2_)*/{} - , /*decltype(_impl_.inventories3_)*/{} - , /*decltype(_impl_.crc_)*/0u - , /*decltype(_impl_.item_count_)*/0 - , /*decltype(_impl_.osversion_)*/0 - , /*decltype(_impl_.perf_time_)*/0 - , /*decltype(_impl_.client_timestamp_)*/0 - , /*decltype(_impl_.platform_)*/0 - , /*decltype(_impl_.inv_type_)*/0 - , /*decltype(_impl_.build_version_)*/0 - , /*decltype(_impl_.start_time_)*/int64_t{0} - , /*decltype(_impl_.instance_)*/0} {} -struct CUserMessage_Inventory_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessage_Inventory_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessage_Inventory_ResponseDefaultTypeInternal() {} - union { - CUserMessage_Inventory_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_Inventory_ResponseDefaultTypeInternal _CUserMessage_Inventory_Response_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageRequestDiagnostic_Diagnostic::CUserMessageRequestDiagnostic_Diagnostic( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.alias_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.vardetail_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.offset_)*/int64_t{0} - , /*decltype(_impl_.index_)*/0 - , /*decltype(_impl_.param_)*/0 - , /*decltype(_impl_.length_)*/0 - , /*decltype(_impl_.type_)*/0 - , /*decltype(_impl_.base_)*/int64_t{0} - , /*decltype(_impl_.range_)*/int64_t{0} - , /*decltype(_impl_.extent_)*/int64_t{0} - , /*decltype(_impl_.detail_)*/int64_t{0} - , /*decltype(_impl_.context_)*/0} {} -struct CUserMessageRequestDiagnostic_DiagnosticDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageRequestDiagnostic_DiagnosticDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageRequestDiagnostic_DiagnosticDefaultTypeInternal() {} - union { - CUserMessageRequestDiagnostic_Diagnostic _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageRequestDiagnostic_DiagnosticDefaultTypeInternal _CUserMessageRequestDiagnostic_Diagnostic_default_instance_; -PROTOBUF_CONSTEXPR CUserMessageRequestDiagnostic::CUserMessageRequestDiagnostic( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.diagnostics_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} -struct CUserMessageRequestDiagnosticDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessageRequestDiagnosticDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessageRequestDiagnosticDefaultTypeInternal() {} - union { - CUserMessageRequestDiagnostic _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessageRequestDiagnosticDefaultTypeInternal _CUserMessageRequestDiagnostic_default_instance_; -PROTOBUF_CONSTEXPR CUserMessage_Diagnostic_Response_Diagnostic::CUserMessage_Diagnostic_Response_Diagnostic( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.detail_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.alias_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.backup_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.offset_)*/int64_t{0} - , /*decltype(_impl_.index_)*/0 - , /*decltype(_impl_.param_)*/0 - , /*decltype(_impl_.base_)*/int64_t{0} - , /*decltype(_impl_.length_)*/0 - , /*decltype(_impl_.type_)*/0 - , /*decltype(_impl_.range_)*/int64_t{0} - , /*decltype(_impl_.control_)*/int64_t{0} - , /*decltype(_impl_.augment_)*/int64_t{0} - , /*decltype(_impl_.placebo_)*/int64_t{0} - , /*decltype(_impl_.context_)*/0} {} -struct CUserMessage_Diagnostic_Response_DiagnosticDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessage_Diagnostic_Response_DiagnosticDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessage_Diagnostic_Response_DiagnosticDefaultTypeInternal() {} - union { - CUserMessage_Diagnostic_Response_Diagnostic _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_Diagnostic_Response_DiagnosticDefaultTypeInternal _CUserMessage_Diagnostic_Response_Diagnostic_default_instance_; -PROTOBUF_CONSTEXPR CUserMessage_Diagnostic_Response::CUserMessage_Diagnostic_Response( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.diagnostics_)*/{} - , /*decltype(_impl_.build_version_)*/0 - , /*decltype(_impl_.instance_)*/0 - , /*decltype(_impl_.start_time_)*/int64_t{0} - , /*decltype(_impl_.osversion_)*/0 - , /*decltype(_impl_.platform_)*/0} {} -struct CUserMessage_Diagnostic_ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessage_Diagnostic_ResponseDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessage_Diagnostic_ResponseDefaultTypeInternal() {} - union { - CUserMessage_Diagnostic_Response _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_Diagnostic_ResponseDefaultTypeInternal _CUserMessage_Diagnostic_Response_default_instance_; -PROTOBUF_CONSTEXPR CUserMessage_ExtraUserData::CUserMessage_ExtraUserData( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.detail1_)*/{} - , /*decltype(_impl_.detail2_)*/{} - , /*decltype(_impl_.value1_)*/int64_t{0} - , /*decltype(_impl_.value2_)*/int64_t{0} - , /*decltype(_impl_.item_)*/0} {} -struct CUserMessage_ExtraUserDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessage_ExtraUserDataDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessage_ExtraUserDataDefaultTypeInternal() {} - union { - CUserMessage_ExtraUserData _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_ExtraUserDataDefaultTypeInternal _CUserMessage_ExtraUserData_default_instance_; -PROTOBUF_CONSTEXPR CUserMessage_NotifyResponseFound_Criteria::CUserMessage_NotifyResponseFound_Criteria( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.name_symbol_)*/0u} {} -struct CUserMessage_NotifyResponseFound_CriteriaDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessage_NotifyResponseFound_CriteriaDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessage_NotifyResponseFound_CriteriaDefaultTypeInternal() {} - union { - CUserMessage_NotifyResponseFound_Criteria _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_NotifyResponseFound_CriteriaDefaultTypeInternal _CUserMessage_NotifyResponseFound_Criteria_default_instance_; -PROTOBUF_CONSTEXPR CUserMessage_NotifyResponseFound::CUserMessage_NotifyResponseFound( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.criteria_)*/{} - , /*decltype(_impl_.int_criteria_names_)*/{} - , /*decltype(_impl_._int_criteria_names_cached_byte_size_)*/{0} - , /*decltype(_impl_.int_criteria_values_)*/{} - , /*decltype(_impl_._int_criteria_values_cached_byte_size_)*/{0} - , /*decltype(_impl_.float_criteria_names_)*/{} - , /*decltype(_impl_._float_criteria_names_cached_byte_size_)*/{0} - , /*decltype(_impl_.float_criteria_values_)*/{} - , /*decltype(_impl_.symbol_criteria_names_)*/{} - , /*decltype(_impl_._symbol_criteria_names_cached_byte_size_)*/{0} - , /*decltype(_impl_.symbol_criteria_values_)*/{} - , /*decltype(_impl_._symbol_criteria_values_cached_byte_size_)*/{0} - , /*decltype(_impl_.rule_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.response_value_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.response_concept_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.speak_result_)*/0 - , /*decltype(_impl_.ent_index_)*/-1} {} -struct CUserMessage_NotifyResponseFoundDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessage_NotifyResponseFoundDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessage_NotifyResponseFoundDefaultTypeInternal() {} - union { - CUserMessage_NotifyResponseFound _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_NotifyResponseFoundDefaultTypeInternal _CUserMessage_NotifyResponseFound_default_instance_; -PROTOBUF_CONSTEXPR CUserMessage_PlayResponseConditional::CUserMessage_PlayResponseConditional( - ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_._has_bits_)*/{} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_.player_slots_)*/{} - , /*decltype(_impl_.response_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} - , /*decltype(_impl_.ent_origin_)*/nullptr - , /*decltype(_impl_.pre_delay_)*/0 - , /*decltype(_impl_.mix_priority_)*/0 - , /*decltype(_impl_.ent_index_)*/-1} {} -struct CUserMessage_PlayResponseConditionalDefaultTypeInternal { - PROTOBUF_CONSTEXPR CUserMessage_PlayResponseConditionalDefaultTypeInternal() - : _instance(::_pbi::ConstantInitialized{}) {} - ~CUserMessage_PlayResponseConditionalDefaultTypeInternal() {} - union { - CUserMessage_PlayResponseConditional _instance; - }; -}; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CUserMessage_PlayResponseConditionalDefaultTypeInternal _CUserMessage_PlayResponseConditional_default_instance_; -static ::_pb::Metadata file_level_metadata_usermessages_2eproto[107]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_usermessages_2eproto[5]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_usermessages_2eproto = nullptr; - -const uint32_t TableStruct_usermessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::CUserMessageAchievementEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageAchievementEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageAchievementEvent, _impl_.achievement_), - 0, - PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaption, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaption, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaption, _impl_.hash_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaption, _impl_.duration_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaption, _impl_.from_player_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaption, _impl_.ent_index_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionDirect, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionDirect, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionDirect, _impl_.hash_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionDirect, _impl_.duration_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionDirect, _impl_.from_player_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionDirect, _impl_.ent_index_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionPlaceholder, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionPlaceholder, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionPlaceholder, _impl_.string_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionPlaceholder, _impl_.duration_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionPlaceholder, _impl_.from_player_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCloseCaptionPlaceholder, _impl_.ent_index_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CUserMessageCurrentTimescale, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCurrentTimescale, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageCurrentTimescale, _impl_.current_), - 0, - PROTOBUF_FIELD_OFFSET(::CUserMessageDesiredTimescale, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageDesiredTimescale, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageDesiredTimescale, _impl_.desired_), - PROTOBUF_FIELD_OFFSET(::CUserMessageDesiredTimescale, _impl_.acceleration_), - PROTOBUF_FIELD_OFFSET(::CUserMessageDesiredTimescale, _impl_.minblendrate_), - PROTOBUF_FIELD_OFFSET(::CUserMessageDesiredTimescale, _impl_.blenddeltamultiplier_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CUserMessageFade, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageFade, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageFade, _impl_.duration_), - PROTOBUF_FIELD_OFFSET(::CUserMessageFade, _impl_.hold_time_), - PROTOBUF_FIELD_OFFSET(::CUserMessageFade, _impl_.flags_), - PROTOBUF_FIELD_OFFSET(::CUserMessageFade, _impl_.color_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CUserMessageShake, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageShake, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageShake, _impl_.command_), - PROTOBUF_FIELD_OFFSET(::CUserMessageShake, _impl_.amplitude_), - PROTOBUF_FIELD_OFFSET(::CUserMessageShake, _impl_.frequency_), - PROTOBUF_FIELD_OFFSET(::CUserMessageShake, _impl_.duration_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CUserMessageShakeDir, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageShakeDir, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageShakeDir, _impl_.shake_), - PROTOBUF_FIELD_OFFSET(::CUserMessageShakeDir, _impl_.direction_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CUserMessageWaterShake, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageWaterShake, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageWaterShake, _impl_.command_), - PROTOBUF_FIELD_OFFSET(::CUserMessageWaterShake, _impl_.amplitude_), - PROTOBUF_FIELD_OFFSET(::CUserMessageWaterShake, _impl_.frequency_), - PROTOBUF_FIELD_OFFSET(::CUserMessageWaterShake, _impl_.duration_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CUserMessageScreenTilt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageScreenTilt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageScreenTilt, _impl_.command_), - PROTOBUF_FIELD_OFFSET(::CUserMessageScreenTilt, _impl_.ease_in_out_), - PROTOBUF_FIELD_OFFSET(::CUserMessageScreenTilt, _impl_.angle_), - PROTOBUF_FIELD_OFFSET(::CUserMessageScreenTilt, _impl_.duration_), - PROTOBUF_FIELD_OFFSET(::CUserMessageScreenTilt, _impl_.time_), - 1, - 2, - 0, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CUserMessageSayText, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageSayText, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageSayText, _impl_.playerindex_), - PROTOBUF_FIELD_OFFSET(::CUserMessageSayText, _impl_.text_), - PROTOBUF_FIELD_OFFSET(::CUserMessageSayText, _impl_.chat_), - 2, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CUserMessageSayText2, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageSayText2, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageSayText2, _impl_.entityindex_), - PROTOBUF_FIELD_OFFSET(::CUserMessageSayText2, _impl_.chat_), - PROTOBUF_FIELD_OFFSET(::CUserMessageSayText2, _impl_.messagename_), - PROTOBUF_FIELD_OFFSET(::CUserMessageSayText2, _impl_.param1_), - PROTOBUF_FIELD_OFFSET(::CUserMessageSayText2, _impl_.param2_), - PROTOBUF_FIELD_OFFSET(::CUserMessageSayText2, _impl_.param3_), - PROTOBUF_FIELD_OFFSET(::CUserMessageSayText2, _impl_.param4_), - 6, - 5, - 0, - 1, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CUserMessageHudMsg, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageHudMsg, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageHudMsg, _impl_.channel_), - PROTOBUF_FIELD_OFFSET(::CUserMessageHudMsg, _impl_.x_), - PROTOBUF_FIELD_OFFSET(::CUserMessageHudMsg, _impl_.y_), - PROTOBUF_FIELD_OFFSET(::CUserMessageHudMsg, _impl_.color1_), - PROTOBUF_FIELD_OFFSET(::CUserMessageHudMsg, _impl_.color2_), - PROTOBUF_FIELD_OFFSET(::CUserMessageHudMsg, _impl_.effect_), - PROTOBUF_FIELD_OFFSET(::CUserMessageHudMsg, _impl_.message_), - 1, - 2, - 3, - 4, - 5, - 6, - 0, - PROTOBUF_FIELD_OFFSET(::CUserMessageHudText, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageHudText, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageHudText, _impl_.message_), - 0, - PROTOBUF_FIELD_OFFSET(::CUserMessageTextMsg, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageTextMsg, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageTextMsg, _impl_.dest_), - PROTOBUF_FIELD_OFFSET(::CUserMessageTextMsg, _impl_.param_), - 0, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CUserMessageGameTitle, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CUserMessageResetHUD, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageSendAudio, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageSendAudio, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageSendAudio, _impl_.soundname_), - PROTOBUF_FIELD_OFFSET(::CUserMessageSendAudio, _impl_.stop_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CUserMessageAudioParameter, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageAudioParameter, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageAudioParameter, _impl_.parameter_type_), - PROTOBUF_FIELD_OFFSET(::CUserMessageAudioParameter, _impl_.name_hash_code_), - PROTOBUF_FIELD_OFFSET(::CUserMessageAudioParameter, _impl_.value_), - PROTOBUF_FIELD_OFFSET(::CUserMessageAudioParameter, _impl_.int_value_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CUserMessageVoiceMask, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageVoiceMask, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageVoiceMask, _impl_.gamerules_masks_), - PROTOBUF_FIELD_OFFSET(::CUserMessageVoiceMask, _impl_.ban_masks_), - PROTOBUF_FIELD_OFFSET(::CUserMessageVoiceMask, _impl_.mod_enable_), - ~0u, - ~0u, - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestState, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageRumble, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRumble, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageRumble, _impl_.index_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRumble, _impl_.data_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRumble, _impl_.flags_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CUserMessageSayTextChannel, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageSayTextChannel, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageSayTextChannel, _impl_.player_), - PROTOBUF_FIELD_OFFSET(::CUserMessageSayTextChannel, _impl_.channel_), - PROTOBUF_FIELD_OFFSET(::CUserMessageSayTextChannel, _impl_.text_), - 1, - 2, - 0, - PROTOBUF_FIELD_OFFSET(::CUserMessageColoredText, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageColoredText, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageColoredText, _impl_.color_), - PROTOBUF_FIELD_OFFSET(::CUserMessageColoredText, _impl_.text_), - PROTOBUF_FIELD_OFFSET(::CUserMessageColoredText, _impl_.reset_), - PROTOBUF_FIELD_OFFSET(::CUserMessageColoredText, _impl_.context_player_slot_), - PROTOBUF_FIELD_OFFSET(::CUserMessageColoredText, _impl_.context_value_), - PROTOBUF_FIELD_OFFSET(::CUserMessageColoredText, _impl_.context_team_id_), - 1, - 0, - 2, - 5, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CUserMessageItemPickup, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageItemPickup, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageItemPickup, _impl_.itemname_), - 0, - PROTOBUF_FIELD_OFFSET(::CUserMessageAmmoDenied, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageAmmoDenied, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageAmmoDenied, _impl_.ammo_id_), - 0, - PROTOBUF_FIELD_OFFSET(::CUserMessageShowMenu, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageShowMenu, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageShowMenu, _impl_.validslots_), - PROTOBUF_FIELD_OFFSET(::CUserMessageShowMenu, _impl_.displaytime_), - PROTOBUF_FIELD_OFFSET(::CUserMessageShowMenu, _impl_.needmore_), - PROTOBUF_FIELD_OFFSET(::CUserMessageShowMenu, _impl_.menustring_), - 1, - 2, - 3, - 0, - PROTOBUF_FIELD_OFFSET(::CUserMessageCreditsMsg, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCreditsMsg, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageCreditsMsg, _impl_.rolltype_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCreditsMsg, _impl_.logo_length_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CEntityMessagePlayJingle, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CEntityMessagePlayJingle, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CEntityMessagePlayJingle, _impl_.entity_msg_), - 0, - PROTOBUF_FIELD_OFFSET(::CEntityMessageScreenOverlay, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CEntityMessageScreenOverlay, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CEntityMessageScreenOverlay, _impl_.start_effect_), - PROTOBUF_FIELD_OFFSET(::CEntityMessageScreenOverlay, _impl_.entity_msg_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CEntityMessageRemoveAllDecals, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CEntityMessageRemoveAllDecals, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CEntityMessageRemoveAllDecals, _impl_.remove_decals_), - PROTOBUF_FIELD_OFFSET(::CEntityMessageRemoveAllDecals, _impl_.entity_msg_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CEntityMessagePropagateForce, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CEntityMessagePropagateForce, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CEntityMessagePropagateForce, _impl_.impulse_), - PROTOBUF_FIELD_OFFSET(::CEntityMessagePropagateForce, _impl_.entity_msg_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _impl_.origin_), - PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _impl_.entityindex_), - PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _impl_.radius_), - PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _impl_.color_), - PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _impl_.beams_), - PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _impl_.thick_), - PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _impl_.duration_), - PROTOBUF_FIELD_OFFSET(::CEntityMessageDoSpark, _impl_.entity_msg_), - 0, - 7, - 2, - 3, - 4, - 5, - 6, - 1, - PROTOBUF_FIELD_OFFSET(::CEntityMessageFixAngle, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CEntityMessageFixAngle, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CEntityMessageFixAngle, _impl_.relative_), - PROTOBUF_FIELD_OFFSET(::CEntityMessageFixAngle, _impl_.angle_), - PROTOBUF_FIELD_OFFSET(::CEntityMessageFixAngle, _impl_.entity_msg_), - 2, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition_Transition_DataDriven, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition_Transition_DataDriven, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition_Transition_DataDriven, _impl_.filename_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition_Transition_DataDriven, _impl_.attach_ent_index_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition_Transition_DataDriven, _impl_.duration_), - 0, - 2, - 1, - PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition, _impl_.camera_type_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition, _impl_.duration_), - PROTOBUF_FIELD_OFFSET(::CUserMessageCameraTransition, _impl_.params_data_driven_), - 1, - 2, - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ReleaseParticleIndex, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.particle_name_index_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.attach_type_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.entity_handle_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.entity_handle_for_modifiers_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.apply_voice_ban_rules_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.team_behavior_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.control_point_configuration_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.cluster_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.endcap_time_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreateParticle, _impl_.aggregation_position_), - 2, - 3, - 8, - 9, - 5, - 4, - 0, - 6, - 7, - 1, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticle, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticle, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticle, _impl_.destroy_immediately_), - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleInvolving, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleInvolving, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleInvolving, _impl_.destroy_immediately_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleInvolving, _impl_.entity_handle_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleNamed, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleNamed, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleNamed, _impl_.particle_name_index_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleNamed, _impl_.entity_handle_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleNamed, _impl_.destroy_immediately_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyParticleNamed, _impl_.play_endcap_), - 0, - 3, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE, _impl_.control_point_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE, _impl_.position_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE, _impl_.control_point_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE, _impl_.forward_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE, _impl_.control_point_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE, _impl_.forward_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE, _impl_.deprecated_right_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE, _impl_.up_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE, _impl_.left_), - 4, - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleTransform, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleTransform, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleTransform, _impl_.control_point_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleTransform, _impl_.position_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleTransform, _impl_.orientation_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleTransform, _impl_.interpolation_interval_), - 2, - 0, - 1, - 3, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleFallback, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleFallback, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleFallback, _impl_.control_point_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleFallback, _impl_.position_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOffset, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOffset, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOffset, _impl_.control_point_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOffset, _impl_.origin_offset_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleOffset, _impl_.angle_offset_), - 2, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.control_point_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.entity_handle_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.attach_type_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.attachment_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.fallback_position_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.include_wearables_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.offset_position_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.offset_angles_), - 3, - 7, - 4, - 5, - 0, - 6, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleSetFrozen, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleSetFrozen, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleSetFrozen, _impl_.set_frozen_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleSetFrozen, _impl_.transition_duration_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleShouldDraw, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleShouldDraw, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateParticleShouldDraw, _impl_.should_draw_), - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ChangeControlPointAttachment, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ChangeControlPointAttachment, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ChangeControlPointAttachment, _impl_.attachment_old_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ChangeControlPointAttachment, _impl_.attachment_new_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ChangeControlPointAttachment, _impl_.entity_handle_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateEntityPosition, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateEntityPosition, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateEntityPosition, _impl_.entity_handle_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateEntityPosition, _impl_.position_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleFoWProperties, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleFoWProperties, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleFoWProperties, _impl_.fow_control_point_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleFoWProperties, _impl_.fow_control_point2_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleFoWProperties, _impl_.fow_radius_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleShouldCheckFoW, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleShouldCheckFoW, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleShouldCheckFoW, _impl_.check_fow_), - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetControlPointModel, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetControlPointModel, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetControlPointModel, _impl_.control_point_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetControlPointModel, _impl_.model_name_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetControlPointSnapshot, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetControlPointSnapshot, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetControlPointSnapshot, _impl_.control_point_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetControlPointSnapshot, _impl_.snapshot_name_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleText, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleText, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleText, _impl_.text_), - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetTextureAttribute, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetTextureAttribute, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetTextureAttribute, _impl_.attribute_name_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetTextureAttribute, _impl_.texture_name_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetSceneObjectGenericFlag, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetSceneObjectGenericFlag, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetSceneObjectGenericFlag, _impl_.flag_value_), - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat, _impl_.tint_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat, _impl_.desat_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ParticleSkipToTime, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ParticleSkipToTime, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ParticleSkipToTime, _impl_.skip_to_time_), - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ParticleCanFreeze, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ParticleCanFreeze, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ParticleCanFreeze, _impl_.can_freeze_), - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride, _impl_.freeze_transition_override_), - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_FreezeParticleInvolving, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_FreezeParticleInvolving, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_FreezeParticleInvolving, _impl_.set_frozen_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_FreezeParticleInvolving, _impl_.transition_duration_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_FreezeParticleInvolving, _impl_.entity_handle_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddModellistOverrideElement, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddModellistOverrideElement, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddModellistOverrideElement, _impl_.model_name_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddModellistOverrideElement, _impl_.spawn_probability_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddModellistOverrideElement, _impl_.groupid_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ClearModellistOverride, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ClearModellistOverride, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_ClearModellistOverride, _impl_.groupid_), - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue, _impl_.value_name_hash_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue, _impl_.value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue, _impl_.value_name_hash_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue, _impl_.value_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue, _impl_.value_name_hash_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue, _impl_.angles_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue, _impl_.translation_), - 2, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext, _impl_.value_name_hash_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext, _impl_.ent_index_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext, _impl_.float_values_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext, _impl_.vector_values_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext, _impl_.transform_values_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleNamedValueContext, _impl_.ehandle_values_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreatePhysicsSim, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreatePhysicsSim, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreatePhysicsSim, _impl_.prop_group_name_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreatePhysicsSim, _impl_.use_high_quality_simulation_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_CreatePhysicsSim, _impl_.max_particle_count_), - 0, - 1, - 2, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_DestroyPhysicsSim, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetVData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetVData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetVData, _impl_.vdata_name_), - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetMaterialOverride, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetMaterialOverride, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetMaterialOverride, _impl_.material_name_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetMaterialOverride, _impl_.include_children_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.active_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.bounds_mins_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.bounds_maxs_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.fan_origin_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.fan_origin_offset_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.fan_direction_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.force_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.fan_force_curve_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.falloff_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.pull_towards_point_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.curve_min_dist_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.curve_max_dist_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.fan_type_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.cone_start_radius_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.cone_end_radius_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.cone_length_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.entity_handle_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_AddFan, _impl_.attachment_name_), - 7, - 2, - 3, - 4, - 5, - 6, - 10, - 0, - 8, - 9, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 1, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateFan, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateFan, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateFan, _impl_.active_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateFan, _impl_.fan_origin_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateFan, _impl_.fan_origin_offset_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateFan, _impl_.fan_direction_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateFan, _impl_.fan_ramp_ratio_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateFan, _impl_.bounds_mins_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_UpdateFan, _impl_.bounds_maxs_), - 5, - 0, - 1, - 2, - 6, - 3, - 4, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_RemoveFan, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleClusterGrowth, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleClusterGrowth, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleClusterGrowth, _impl_.duration_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager_SetParticleClusterGrowth, _impl_.origin_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _internal_metadata_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_._extensions_), - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.index_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.release_particle_index_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.create_particle_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.destroy_particle_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.destroy_particle_involving_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_particle_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_particle_fwd_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_particle_orient_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_particle_fallback_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_particle_offset_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_particle_ent_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_particle_should_draw_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_particle_set_frozen_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.change_control_point_attachment_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_entity_position_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_particle_fow_properties_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_particle_text_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_particle_should_check_fow_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_control_point_model_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_control_point_snapshot_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_texture_attribute_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_scene_object_generic_flag_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_scene_object_tint_and_desat_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.destroy_particle_named_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.particle_skip_to_time_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.particle_can_freeze_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_named_value_context_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_particle_transform_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.particle_freeze_transition_override_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.freeze_particle_involving_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.add_modellist_override_element_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.clear_modellist_override_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.create_physics_sim_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.destroy_physics_sim_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_vdata_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_material_override_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.add_fan_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.update_fan_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.set_particle_cluster_growth_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_ParticleManager, _impl_.remove_fan_), - 39, - 40, - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34, - 35, - 36, - 37, - 38, - PROTOBUF_FIELD_OFFSET(::CUserMsg_HudError, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_HudError, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_HudError, _impl_.order_id_), - 0, - PROTOBUF_FIELD_OFFSET(::CUserMsg_CustomGameEvent, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_CustomGameEvent, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMsg_CustomGameEvent, _impl_.event_name_), - PROTOBUF_FIELD_OFFSET(::CUserMsg_CustomGameEvent, _impl_.data_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerPulse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerPulse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerPulse, _impl_.hand_id_), - PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerPulse, _impl_.effect_amplitude_), - PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerPulse, _impl_.effect_frequency_), - PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerPulse, _impl_.effect_duration_), - 0, - 1, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerEffect, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerEffect, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerEffect, _impl_.hand_id_), - PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerEffect, _impl_.effect_name_hash_code_), - PROTOBUF_FIELD_OFFSET(::CUserMessageHapticsManagerEffect, _impl_.effect_scale_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CUserMessageAnimStateGraphState, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageAnimStateGraphState, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageAnimStateGraphState, _impl_.entity_index_), - PROTOBUF_FIELD_OFFSET(::CUserMessageAnimStateGraphState, _impl_.data_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CUserMessageUpdateCssClasses, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageUpdateCssClasses, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageUpdateCssClasses, _impl_.target_world_panel_), - PROTOBUF_FIELD_OFFSET(::CUserMessageUpdateCssClasses, _impl_.css_classes_), - PROTOBUF_FIELD_OFFSET(::CUserMessageUpdateCssClasses, _impl_.is_add_), - 1, - 0, - 2, - PROTOBUF_FIELD_OFFSET(::CUserMessageServerFrameTime, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageServerFrameTime, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageServerFrameTime, _impl_.frame_time_), - 0, - PROTOBUF_FIELD_OFFSET(::CUserMessageLagCompensationError, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageLagCompensationError, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageLagCompensationError, _impl_.distance_), - 0, - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDllStatus, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDllStatus, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDllStatus, _impl_.dll_action_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDllStatus, _impl_.full_report_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestUtilAction, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestUtilAction, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestUtilAction, _impl_.util1_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestUtilAction, _impl_.util2_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestUtilAction, _impl_.util3_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestUtilAction, _impl_.util4_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestUtilAction, _impl_.util5_), - 0, - 1, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response_ItemDetail, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response_ItemDetail, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response_ItemDetail, _impl_.index_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response_ItemDetail, _impl_.hash_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response_ItemDetail, _impl_.crc_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response_ItemDetail, _impl_.name_), - 1, - 2, - 3, - 0, - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.crc_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.item_count_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.crc2_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.item_count2_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.crc_part_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.crc_part2_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.client_timestamp_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.platform_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.itemdetails_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.itemgroup_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.total_count_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_UtilMsg_Response, _impl_.total_count2_), - 0, - 1, - 2, - 3, - ~0u, - ~0u, - 4, - 5, - ~0u, - 6, - 7, - 8, - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CVDiagnostic, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CVDiagnostic, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CVDiagnostic, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CVDiagnostic, _impl_.extended_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CVDiagnostic, _impl_.value_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CVDiagnostic, _impl_.string_value_), - 1, - 2, - 3, - 0, - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CModule, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CModule, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CModule, _impl_.base_addr_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CModule, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CModule, _impl_.size_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus_CModule, _impl_.timestamp_), - 1, - 0, - 2, - 3, - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _impl_.file_report_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _impl_.command_line_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _impl_.total_files_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _impl_.process_id_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _impl_.osversion_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _impl_.client_time_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _impl_.diagnostics_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_DllStatus, _impl_.modules_), - 0, - 1, - 2, - 3, - 5, - 4, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestInventory, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestInventory, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestInventory, _impl_.inventory_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestInventory, _impl_.offset_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestInventory, _impl_.options_), - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.index_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.primary_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.offset_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.first_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.base_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.base_name_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.base_detail_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.base_time_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response_InventoryDetail, _impl_.base_hash_), - 5, - 2, - 3, - 4, - 7, - 0, - 1, - 6, - 8, - 9, - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.crc_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.item_count_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.osversion_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.perf_time_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.client_timestamp_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.platform_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.inventories_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.inventories2_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.inventories3_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.inv_type_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.build_version_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.instance_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Inventory_Response, _impl_.start_time_), - 0, - 1, - 2, - 3, - 4, - 5, - ~0u, - ~0u, - ~0u, - 6, - 7, - 9, - 8, - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.index_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.offset_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.param_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.length_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.base_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.range_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.extent_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.detail_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.alias_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.vardetail_), - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic_Diagnostic, _impl_.context_), - 4, - 3, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 0, - 1, - 2, - 12, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessageRequestDiagnostic, _impl_.diagnostics_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.index_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.offset_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.param_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.length_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.detail_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.base_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.range_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.alias_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.backup_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.context_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.control_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.augment_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response_Diagnostic, _impl_.placebo_), - 5, - 4, - 6, - 8, - 0, - 7, - 10, - 9, - 1, - 2, - 3, - 14, - 11, - 12, - 13, - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response, _impl_.diagnostics_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response, _impl_.build_version_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response, _impl_.instance_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response, _impl_.start_time_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response, _impl_.osversion_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_Diagnostic_Response, _impl_.platform_), - ~0u, - 0, - 1, - 2, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::CUserMessage_ExtraUserData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_ExtraUserData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessage_ExtraUserData, _impl_.item_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_ExtraUserData, _impl_.value1_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_ExtraUserData, _impl_.value2_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_ExtraUserData, _impl_.detail1_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_ExtraUserData, _impl_.detail2_), - 2, - 0, - 1, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound_Criteria, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound_Criteria, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound_Criteria, _impl_.name_symbol_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound_Criteria, _impl_.value_), - 1, - 0, - PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.ent_index_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.rule_name_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.response_value_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.response_concept_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.criteria_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.int_criteria_names_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.int_criteria_values_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.float_criteria_names_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.float_criteria_values_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.symbol_criteria_names_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.symbol_criteria_values_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_NotifyResponseFound, _impl_.speak_result_), - 4, - 0, - 1, - 2, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - 3, - PROTOBUF_FIELD_OFFSET(::CUserMessage_PlayResponseConditional, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_PlayResponseConditional, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::CUserMessage_PlayResponseConditional, _impl_.ent_index_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_PlayResponseConditional, _impl_.player_slots_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_PlayResponseConditional, _impl_.response_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_PlayResponseConditional, _impl_.ent_origin_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_PlayResponseConditional, _impl_.pre_delay_), - PROTOBUF_FIELD_OFFSET(::CUserMessage_PlayResponseConditional, _impl_.mix_priority_), - 4, - ~0u, - 0, - 1, - 2, - 3, -}; -static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 7, -1, sizeof(::CUserMessageAchievementEvent)}, - { 8, 18, -1, sizeof(::CUserMessageCloseCaption)}, - { 22, 32, -1, sizeof(::CUserMessageCloseCaptionDirect)}, - { 36, 46, -1, sizeof(::CUserMessageCloseCaptionPlaceholder)}, - { 50, 57, -1, sizeof(::CUserMessageCurrentTimescale)}, - { 58, 68, -1, sizeof(::CUserMessageDesiredTimescale)}, - { 72, 82, -1, sizeof(::CUserMessageFade)}, - { 86, 96, -1, sizeof(::CUserMessageShake)}, - { 100, 108, -1, sizeof(::CUserMessageShakeDir)}, - { 110, 120, -1, sizeof(::CUserMessageWaterShake)}, - { 124, 135, -1, sizeof(::CUserMessageScreenTilt)}, - { 140, 149, -1, sizeof(::CUserMessageSayText)}, - { 152, 165, -1, sizeof(::CUserMessageSayText2)}, - { 172, 185, -1, sizeof(::CUserMessageHudMsg)}, - { 192, 199, -1, sizeof(::CUserMessageHudText)}, - { 200, 208, -1, sizeof(::CUserMessageTextMsg)}, - { 210, -1, -1, sizeof(::CUserMessageGameTitle)}, - { 216, -1, -1, sizeof(::CUserMessageResetHUD)}, - { 222, 230, -1, sizeof(::CUserMessageSendAudio)}, - { 232, 242, -1, sizeof(::CUserMessageAudioParameter)}, - { 246, 255, -1, sizeof(::CUserMessageVoiceMask)}, - { 258, -1, -1, sizeof(::CUserMessageRequestState)}, - { 264, 273, -1, sizeof(::CUserMessageRumble)}, - { 276, 285, -1, sizeof(::CUserMessageSayTextChannel)}, - { 288, 300, -1, sizeof(::CUserMessageColoredText)}, - { 306, 313, -1, sizeof(::CUserMessageItemPickup)}, - { 314, 321, -1, sizeof(::CUserMessageAmmoDenied)}, - { 322, 332, -1, sizeof(::CUserMessageShowMenu)}, - { 336, 344, -1, sizeof(::CUserMessageCreditsMsg)}, - { 346, 353, -1, sizeof(::CEntityMessagePlayJingle)}, - { 354, 362, -1, sizeof(::CEntityMessageScreenOverlay)}, - { 364, 372, -1, sizeof(::CEntityMessageRemoveAllDecals)}, - { 374, 382, -1, sizeof(::CEntityMessagePropagateForce)}, - { 384, 398, -1, sizeof(::CEntityMessageDoSpark)}, - { 406, 415, -1, sizeof(::CEntityMessageFixAngle)}, - { 418, 427, -1, sizeof(::CUserMessageCameraTransition_Transition_DataDriven)}, - { 430, 439, -1, sizeof(::CUserMessageCameraTransition)}, - { 442, -1, -1, sizeof(::CUserMsg_ParticleManager_ReleaseParticleIndex)}, - { 448, 464, -1, sizeof(::CUserMsg_ParticleManager_CreateParticle)}, - { 474, 481, -1, sizeof(::CUserMsg_ParticleManager_DestroyParticle)}, - { 482, 490, -1, sizeof(::CUserMsg_ParticleManager_DestroyParticleInvolving)}, - { 492, 502, -1, sizeof(::CUserMsg_ParticleManager_DestroyParticleNamed)}, - { 506, 514, -1, sizeof(::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE)}, - { 516, 524, -1, sizeof(::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE)}, - { 526, 537, -1, sizeof(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE)}, - { 542, 552, -1, sizeof(::CUserMsg_ParticleManager_UpdateParticleTransform)}, - { 556, 564, -1, sizeof(::CUserMsg_ParticleManager_UpdateParticleFallback)}, - { 566, 575, -1, sizeof(::CUserMsg_ParticleManager_UpdateParticleOffset)}, - { 578, 592, -1, sizeof(::CUserMsg_ParticleManager_UpdateParticleEnt)}, - { 600, 608, -1, sizeof(::CUserMsg_ParticleManager_UpdateParticleSetFrozen)}, - { 610, 617, -1, sizeof(::CUserMsg_ParticleManager_UpdateParticleShouldDraw)}, - { 618, 627, -1, sizeof(::CUserMsg_ParticleManager_ChangeControlPointAttachment)}, - { 630, 638, -1, sizeof(::CUserMsg_ParticleManager_UpdateEntityPosition)}, - { 640, 649, -1, sizeof(::CUserMsg_ParticleManager_SetParticleFoWProperties)}, - { 652, 659, -1, sizeof(::CUserMsg_ParticleManager_SetParticleShouldCheckFoW)}, - { 660, 668, -1, sizeof(::CUserMsg_ParticleManager_SetControlPointModel)}, - { 670, 678, -1, sizeof(::CUserMsg_ParticleManager_SetControlPointSnapshot)}, - { 680, 687, -1, sizeof(::CUserMsg_ParticleManager_SetParticleText)}, - { 688, 696, -1, sizeof(::CUserMsg_ParticleManager_SetTextureAttribute)}, - { 698, 705, -1, sizeof(::CUserMsg_ParticleManager_SetSceneObjectGenericFlag)}, - { 706, 714, -1, sizeof(::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat)}, - { 716, 723, -1, sizeof(::CUserMsg_ParticleManager_ParticleSkipToTime)}, - { 724, 731, -1, sizeof(::CUserMsg_ParticleManager_ParticleCanFreeze)}, - { 732, 739, -1, sizeof(::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride)}, - { 740, 749, -1, sizeof(::CUserMsg_ParticleManager_FreezeParticleInvolving)}, - { 752, 761, -1, sizeof(::CUserMsg_ParticleManager_AddModellistOverrideElement)}, - { 764, 771, -1, sizeof(::CUserMsg_ParticleManager_ClearModellistOverride)}, - { 772, 780, -1, sizeof(::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue)}, - { 782, 790, -1, sizeof(::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue)}, - { 792, 801, -1, sizeof(::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue)}, - { 804, 812, -1, sizeof(::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext)}, - { 814, -1, -1, sizeof(::CUserMsg_ParticleManager_SetParticleNamedValueContext)}, - { 824, 833, -1, sizeof(::CUserMsg_ParticleManager_CreatePhysicsSim)}, - { 836, -1, -1, sizeof(::CUserMsg_ParticleManager_DestroyPhysicsSim)}, - { 842, 849, -1, sizeof(::CUserMsg_ParticleManager_SetVData)}, - { 850, 858, -1, sizeof(::CUserMsg_ParticleManager_SetMaterialOverride)}, - { 860, 884, -1, sizeof(::CUserMsg_ParticleManager_AddFan)}, - { 902, 915, -1, sizeof(::CUserMsg_ParticleManager_UpdateFan)}, - { 922, -1, -1, sizeof(::CUserMsg_ParticleManager_RemoveFan)}, - { 928, 936, -1, sizeof(::CUserMsg_ParticleManager_SetParticleClusterGrowth)}, - { 938, 985, -1, sizeof(::CUserMsg_ParticleManager)}, - { 1026, 1033, -1, sizeof(::CUserMsg_HudError)}, - { 1034, 1042, -1, sizeof(::CUserMsg_CustomGameEvent)}, - { 1044, 1054, -1, sizeof(::CUserMessageHapticsManagerPulse)}, - { 1058, 1067, -1, sizeof(::CUserMessageHapticsManagerEffect)}, - { 1070, 1078, -1, sizeof(::CUserMessageAnimStateGraphState)}, - { 1080, 1089, -1, sizeof(::CUserMessageUpdateCssClasses)}, - { 1092, 1099, -1, sizeof(::CUserMessageServerFrameTime)}, - { 1100, 1107, -1, sizeof(::CUserMessageLagCompensationError)}, - { 1108, 1116, -1, sizeof(::CUserMessageRequestDllStatus)}, - { 1118, 1129, -1, sizeof(::CUserMessageRequestUtilAction)}, - { 1134, 1144, -1, sizeof(::CUserMessage_UtilMsg_Response_ItemDetail)}, - { 1148, 1166, -1, sizeof(::CUserMessage_UtilMsg_Response)}, - { 1178, 1188, -1, sizeof(::CUserMessage_DllStatus_CVDiagnostic)}, - { 1192, 1202, -1, sizeof(::CUserMessage_DllStatus_CModule)}, - { 1206, 1220, -1, sizeof(::CUserMessage_DllStatus)}, - { 1228, 1237, -1, sizeof(::CUserMessageRequestInventory)}, - { 1240, 1256, -1, sizeof(::CUserMessage_Inventory_Response_InventoryDetail)}, - { 1266, 1285, -1, sizeof(::CUserMessage_Inventory_Response)}, - { 1298, 1317, -1, sizeof(::CUserMessageRequestDiagnostic_Diagnostic)}, - { 1330, -1, -1, sizeof(::CUserMessageRequestDiagnostic)}, - { 1337, 1358, -1, sizeof(::CUserMessage_Diagnostic_Response_Diagnostic)}, - { 1373, 1385, -1, sizeof(::CUserMessage_Diagnostic_Response)}, - { 1391, 1402, -1, sizeof(::CUserMessage_ExtraUserData)}, - { 1407, 1415, -1, sizeof(::CUserMessage_NotifyResponseFound_Criteria)}, - { 1417, 1435, -1, sizeof(::CUserMessage_NotifyResponseFound)}, - { 1447, 1459, -1, sizeof(::CUserMessage_PlayResponseConditional)}, -}; - -static const ::_pb::Message* const file_default_instances[] = { - &::_CUserMessageAchievementEvent_default_instance_._instance, - &::_CUserMessageCloseCaption_default_instance_._instance, - &::_CUserMessageCloseCaptionDirect_default_instance_._instance, - &::_CUserMessageCloseCaptionPlaceholder_default_instance_._instance, - &::_CUserMessageCurrentTimescale_default_instance_._instance, - &::_CUserMessageDesiredTimescale_default_instance_._instance, - &::_CUserMessageFade_default_instance_._instance, - &::_CUserMessageShake_default_instance_._instance, - &::_CUserMessageShakeDir_default_instance_._instance, - &::_CUserMessageWaterShake_default_instance_._instance, - &::_CUserMessageScreenTilt_default_instance_._instance, - &::_CUserMessageSayText_default_instance_._instance, - &::_CUserMessageSayText2_default_instance_._instance, - &::_CUserMessageHudMsg_default_instance_._instance, - &::_CUserMessageHudText_default_instance_._instance, - &::_CUserMessageTextMsg_default_instance_._instance, - &::_CUserMessageGameTitle_default_instance_._instance, - &::_CUserMessageResetHUD_default_instance_._instance, - &::_CUserMessageSendAudio_default_instance_._instance, - &::_CUserMessageAudioParameter_default_instance_._instance, - &::_CUserMessageVoiceMask_default_instance_._instance, - &::_CUserMessageRequestState_default_instance_._instance, - &::_CUserMessageRumble_default_instance_._instance, - &::_CUserMessageSayTextChannel_default_instance_._instance, - &::_CUserMessageColoredText_default_instance_._instance, - &::_CUserMessageItemPickup_default_instance_._instance, - &::_CUserMessageAmmoDenied_default_instance_._instance, - &::_CUserMessageShowMenu_default_instance_._instance, - &::_CUserMessageCreditsMsg_default_instance_._instance, - &::_CEntityMessagePlayJingle_default_instance_._instance, - &::_CEntityMessageScreenOverlay_default_instance_._instance, - &::_CEntityMessageRemoveAllDecals_default_instance_._instance, - &::_CEntityMessagePropagateForce_default_instance_._instance, - &::_CEntityMessageDoSpark_default_instance_._instance, - &::_CEntityMessageFixAngle_default_instance_._instance, - &::_CUserMessageCameraTransition_Transition_DataDriven_default_instance_._instance, - &::_CUserMessageCameraTransition_default_instance_._instance, - &::_CUserMsg_ParticleManager_ReleaseParticleIndex_default_instance_._instance, - &::_CUserMsg_ParticleManager_CreateParticle_default_instance_._instance, - &::_CUserMsg_ParticleManager_DestroyParticle_default_instance_._instance, - &::_CUserMsg_ParticleManager_DestroyParticleInvolving_default_instance_._instance, - &::_CUserMsg_ParticleManager_DestroyParticleNamed_default_instance_._instance, - &::_CUserMsg_ParticleManager_UpdateParticle_OBSOLETE_default_instance_._instance, - &::_CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE_default_instance_._instance, - &::_CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE_default_instance_._instance, - &::_CUserMsg_ParticleManager_UpdateParticleTransform_default_instance_._instance, - &::_CUserMsg_ParticleManager_UpdateParticleFallback_default_instance_._instance, - &::_CUserMsg_ParticleManager_UpdateParticleOffset_default_instance_._instance, - &::_CUserMsg_ParticleManager_UpdateParticleEnt_default_instance_._instance, - &::_CUserMsg_ParticleManager_UpdateParticleSetFrozen_default_instance_._instance, - &::_CUserMsg_ParticleManager_UpdateParticleShouldDraw_default_instance_._instance, - &::_CUserMsg_ParticleManager_ChangeControlPointAttachment_default_instance_._instance, - &::_CUserMsg_ParticleManager_UpdateEntityPosition_default_instance_._instance, - &::_CUserMsg_ParticleManager_SetParticleFoWProperties_default_instance_._instance, - &::_CUserMsg_ParticleManager_SetParticleShouldCheckFoW_default_instance_._instance, - &::_CUserMsg_ParticleManager_SetControlPointModel_default_instance_._instance, - &::_CUserMsg_ParticleManager_SetControlPointSnapshot_default_instance_._instance, - &::_CUserMsg_ParticleManager_SetParticleText_default_instance_._instance, - &::_CUserMsg_ParticleManager_SetTextureAttribute_default_instance_._instance, - &::_CUserMsg_ParticleManager_SetSceneObjectGenericFlag_default_instance_._instance, - &::_CUserMsg_ParticleManager_SetSceneObjectTintAndDesat_default_instance_._instance, - &::_CUserMsg_ParticleManager_ParticleSkipToTime_default_instance_._instance, - &::_CUserMsg_ParticleManager_ParticleCanFreeze_default_instance_._instance, - &::_CUserMsg_ParticleManager_ParticleFreezeTransitionOverride_default_instance_._instance, - &::_CUserMsg_ParticleManager_FreezeParticleInvolving_default_instance_._instance, - &::_CUserMsg_ParticleManager_AddModellistOverrideElement_default_instance_._instance, - &::_CUserMsg_ParticleManager_ClearModellistOverride_default_instance_._instance, - &::_CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue_default_instance_._instance, - &::_CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue_default_instance_._instance, - &::_CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue_default_instance_._instance, - &::_CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext_default_instance_._instance, - &::_CUserMsg_ParticleManager_SetParticleNamedValueContext_default_instance_._instance, - &::_CUserMsg_ParticleManager_CreatePhysicsSim_default_instance_._instance, - &::_CUserMsg_ParticleManager_DestroyPhysicsSim_default_instance_._instance, - &::_CUserMsg_ParticleManager_SetVData_default_instance_._instance, - &::_CUserMsg_ParticleManager_SetMaterialOverride_default_instance_._instance, - &::_CUserMsg_ParticleManager_AddFan_default_instance_._instance, - &::_CUserMsg_ParticleManager_UpdateFan_default_instance_._instance, - &::_CUserMsg_ParticleManager_RemoveFan_default_instance_._instance, - &::_CUserMsg_ParticleManager_SetParticleClusterGrowth_default_instance_._instance, - &::_CUserMsg_ParticleManager_default_instance_._instance, - &::_CUserMsg_HudError_default_instance_._instance, - &::_CUserMsg_CustomGameEvent_default_instance_._instance, - &::_CUserMessageHapticsManagerPulse_default_instance_._instance, - &::_CUserMessageHapticsManagerEffect_default_instance_._instance, - &::_CUserMessageAnimStateGraphState_default_instance_._instance, - &::_CUserMessageUpdateCssClasses_default_instance_._instance, - &::_CUserMessageServerFrameTime_default_instance_._instance, - &::_CUserMessageLagCompensationError_default_instance_._instance, - &::_CUserMessageRequestDllStatus_default_instance_._instance, - &::_CUserMessageRequestUtilAction_default_instance_._instance, - &::_CUserMessage_UtilMsg_Response_ItemDetail_default_instance_._instance, - &::_CUserMessage_UtilMsg_Response_default_instance_._instance, - &::_CUserMessage_DllStatus_CVDiagnostic_default_instance_._instance, - &::_CUserMessage_DllStatus_CModule_default_instance_._instance, - &::_CUserMessage_DllStatus_default_instance_._instance, - &::_CUserMessageRequestInventory_default_instance_._instance, - &::_CUserMessage_Inventory_Response_InventoryDetail_default_instance_._instance, - &::_CUserMessage_Inventory_Response_default_instance_._instance, - &::_CUserMessageRequestDiagnostic_Diagnostic_default_instance_._instance, - &::_CUserMessageRequestDiagnostic_default_instance_._instance, - &::_CUserMessage_Diagnostic_Response_Diagnostic_default_instance_._instance, - &::_CUserMessage_Diagnostic_Response_default_instance_._instance, - &::_CUserMessage_ExtraUserData_default_instance_._instance, - &::_CUserMessage_NotifyResponseFound_Criteria_default_instance_._instance, - &::_CUserMessage_NotifyResponseFound_default_instance_._instance, - &::_CUserMessage_PlayResponseConditional_default_instance_._instance, -}; - -const char descriptor_table_protodef_usermessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\022usermessages.proto\032\026networkbasetypes.p" - "roto\"3\n\034CUserMessageAchievementEvent\022\023\n\013" - "achievement\030\001 \001(\r\"f\n\030CUserMessageCloseCa" - "ption\022\014\n\004hash\030\001 \001(\007\022\020\n\010duration\030\002 \001(\002\022\023\n" - "\013from_player\030\003 \001(\010\022\025\n\tent_index\030\004 \001(\005:\002-" - "1\"l\n\036CUserMessageCloseCaptionDirect\022\014\n\004h" - "ash\030\001 \001(\007\022\020\n\010duration\030\002 \001(\002\022\023\n\013from_play" - "er\030\003 \001(\010\022\025\n\tent_index\030\004 \001(\005:\002-1\"s\n#CUser" - "MessageCloseCaptionPlaceholder\022\016\n\006string" - "\030\001 \001(\t\022\020\n\010duration\030\002 \001(\002\022\023\n\013from_player\030" - "\003 \001(\010\022\025\n\tent_index\030\004 \001(\005:\002-1\"/\n\034CUserMes" - "sageCurrentTimescale\022\017\n\007current\030\001 \001(\002\"y\n" - "\034CUserMessageDesiredTimescale\022\017\n\007desired" - "\030\001 \001(\002\022\024\n\014acceleration\030\002 \001(\002\022\024\n\014minblend" - "rate\030\003 \001(\002\022\034\n\024blenddeltamultiplier\030\004 \001(\002" - "\"U\n\020CUserMessageFade\022\020\n\010duration\030\001 \001(\r\022\021" - "\n\thold_time\030\002 \001(\r\022\r\n\005flags\030\003 \001(\r\022\r\n\005colo" - "r\030\004 \001(\007\"\\\n\021CUserMessageShake\022\017\n\007command\030" - "\001 \001(\r\022\021\n\tamplitude\030\002 \001(\002\022\021\n\tfrequency\030\003 " - "\001(\002\022\020\n\010duration\030\004 \001(\002\"Y\n\024CUserMessageSha" - "keDir\022!\n\005shake\030\001 \001(\0132\022.CUserMessageShake" - "\022\036\n\tdirection\030\002 \001(\0132\013.CMsgVector\"a\n\026CUse" - "rMessageWaterShake\022\017\n\007command\030\001 \001(\r\022\021\n\ta" - "mplitude\030\002 \001(\002\022\021\n\tfrequency\030\003 \001(\002\022\020\n\010dur" - "ation\030\004 \001(\002\"z\n\026CUserMessageScreenTilt\022\017\n" - "\007command\030\001 \001(\r\022\023\n\013ease_in_out\030\002 \001(\010\022\032\n\005a" - "ngle\030\003 \001(\0132\013.CMsgVector\022\020\n\010duration\030\004 \001(" - "\002\022\014\n\004time\030\005 \001(\002\"J\n\023CUserMessageSayText\022\027" - "\n\013playerindex\030\001 \001(\005:\002-1\022\014\n\004text\030\002 \001(\t\022\014\n" - "\004chat\030\003 \001(\010\"\222\001\n\024CUserMessageSayText2\022\027\n\013" - "entityindex\030\001 \001(\005:\002-1\022\014\n\004chat\030\002 \001(\010\022\023\n\013m" - "essagename\030\003 \001(\t\022\016\n\006param1\030\004 \001(\t\022\016\n\006para" - "m2\030\005 \001(\t\022\016\n\006param3\030\006 \001(\t\022\016\n\006param4\030\007 \001(\t" - "\"|\n\022CUserMessageHudMsg\022\017\n\007channel\030\001 \001(\r\022" - "\t\n\001x\030\002 \001(\002\022\t\n\001y\030\003 \001(\002\022\016\n\006color1\030\004 \001(\007\022\016\n" - "\006color2\030\005 \001(\007\022\016\n\006effect\030\006 \001(\r\022\017\n\007message" - "\030\013 \001(\t\"&\n\023CUserMessageHudText\022\017\n\007message" - "\030\001 \001(\t\"2\n\023CUserMessageTextMsg\022\014\n\004dest\030\001 " - "\001(\r\022\r\n\005param\030\002 \003(\t\"\027\n\025CUserMessageGameTi" - "tle\"\026\n\024CUserMessageResetHUD\"8\n\025CUserMess" - "ageSendAudio\022\021\n\tsoundname\030\001 \001(\t\022\014\n\004stop\030" - "\002 \001(\010\"n\n\032CUserMessageAudioParameter\022\026\n\016p" - "arameter_type\030\001 \001(\r\022\026\n\016name_hash_code\030\002 " - "\001(\r\022\r\n\005value\030\003 \001(\002\022\021\n\tint_value\030\004 \001(\r\"W\n" - "\025CUserMessageVoiceMask\022\027\n\017gamerules_mask" - "s\030\001 \003(\r\022\021\n\tban_masks\030\002 \003(\r\022\022\n\nmod_enable" - "\030\003 \001(\010\"\032\n\030CUserMessageRequestState\"@\n\022CU" - "serMessageRumble\022\r\n\005index\030\001 \001(\005\022\014\n\004data\030" - "\002 \001(\005\022\r\n\005flags\030\003 \001(\005\"K\n\032CUserMessageSayT" - "extChannel\022\016\n\006player\030\001 \001(\005\022\017\n\007channel\030\002 " - "\001(\005\022\014\n\004text\030\003 \001(\t\"\226\001\n\027CUserMessageColore" - "dText\022\r\n\005color\030\001 \001(\r\022\014\n\004text\030\002 \001(\t\022\r\n\005re" - "set\030\003 \001(\010\022\037\n\023context_player_slot\030\004 \001(\005:\002" - "-1\022\025\n\rcontext_value\030\005 \001(\005\022\027\n\017context_tea" - "m_id\030\006 \001(\005\"*\n\026CUserMessageItemPickup\022\020\n\010" - "itemname\030\001 \001(\t\")\n\026CUserMessageAmmoDenied" - "\022\017\n\007ammo_id\030\001 \001(\r\"e\n\024CUserMessageShowMen" - "u\022\022\n\nvalidslots\030\001 \001(\r\022\023\n\013displaytime\030\002 \001" - "(\r\022\020\n\010needmore\030\003 \001(\010\022\022\n\nmenustring\030\004 \001(\t" - "\"V\n\026CUserMessageCreditsMsg\022\'\n\010rolltype\030\001" - " \001(\0162\n.eRollType:\tROLL_NONE\022\023\n\013logo_leng" - "th\030\002 \001(\002\";\n\030CEntityMessagePlayJingle\022\037\n\n" - "entity_msg\030\001 \001(\0132\013.CEntityMsg\"T\n\033CEntity" - "MessageScreenOverlay\022\024\n\014start_effect\030\001 \001" - "(\010\022\037\n\nentity_msg\030\002 \001(\0132\013.CEntityMsg\"W\n\035C" - "EntityMessageRemoveAllDecals\022\025\n\rremove_d" - "ecals\030\001 \001(\010\022\037\n\nentity_msg\030\002 \001(\0132\013.CEntit" - "yMsg\"]\n\034CEntityMessagePropagateForce\022\034\n\007" - "impulse\030\001 \001(\0132\013.CMsgVector\022\037\n\nentity_msg" - "\030\002 \001(\0132\013.CEntityMsg\"\275\001\n\025CEntityMessageDo" - "Spark\022\033\n\006origin\030\001 \001(\0132\013.CMsgVector\022\027\n\013en" - "tityindex\030\002 \001(\005:\002-1\022\016\n\006radius\030\003 \001(\002\022\r\n\005c" - "olor\030\004 \001(\007\022\r\n\005beams\030\005 \001(\r\022\r\n\005thick\030\006 \001(\002" - "\022\020\n\010duration\030\007 \001(\002\022\037\n\nentity_msg\030\010 \001(\0132\013" - ".CEntityMsg\"g\n\026CEntityMessageFixAngle\022\020\n" - "\010relative\030\001 \001(\010\022\032\n\005angle\030\002 \001(\0132\013.CMsgQAn" - "gle\022\037\n\nentity_msg\030\003 \001(\0132\013.CEntityMsg\"\361\001\n" - "\034CUserMessageCameraTransition\022\023\n\013camera_" - "type\030\001 \001(\r\022\020\n\010duration\030\002 \001(\002\022O\n\022params_d" - "ata_driven\030\003 \001(\01323.CUserMessageCameraTra" - "nsition.Transition_DataDriven\032Y\n\025Transit" - "ion_DataDriven\022\020\n\010filename\030\001 \001(\t\022\034\n\020atta" - "ch_ent_index\030\002 \001(\005:\002-1\022\020\n\010duration\030\003 \001(\002" - "\"\243=\n\030CUserMsg_ParticleManager\022C\n\004type\030\001 " - "\002(\0162\021.PARTICLE_MESSAGE:\"GAME_PARTICLE_MA" - "NAGER_EVENT_CREATE\022\r\n\005index\030\002 \002(\r\022N\n\026rel" - "ease_particle_index\030\003 \001(\0132..CUserMsg_Par" - "ticleManager.ReleaseParticleIndex\022A\n\017cre" - "ate_particle\030\004 \001(\0132(.CUserMsg_ParticleMa" - "nager.CreateParticle\022C\n\020destroy_particle" - "\030\005 \001(\0132).CUserMsg_ParticleManager.Destro" - "yParticle\022V\n\032destroy_particle_involving\030" - "\006 \001(\01322.CUserMsg_ParticleManager.Destroy" - "ParticleInvolving\022J\n\017update_particle\030\007 \001" - "(\01321.CUserMsg_ParticleManager.UpdatePart" - "icle_OBSOLETE\022Q\n\023update_particle_fwd\030\010 \001" - "(\01324.CUserMsg_ParticleManager.UpdatePart" - "icleFwd_OBSOLETE\022W\n\026update_particle_orie" - "nt\030\t \001(\01327.CUserMsg_ParticleManager.Upda" - "teParticleOrient_OBSOLETE\022R\n\030update_part" - "icle_fallback\030\n \001(\01320.CUserMsg_ParticleM" - "anager.UpdateParticleFallback\022N\n\026update_" - "particle_offset\030\013 \001(\0132..CUserMsg_Particl" - "eManager.UpdateParticleOffset\022H\n\023update_" - "particle_ent\030\014 \001(\0132+.CUserMsg_ParticleMa" - "nager.UpdateParticleEnt\022W\n\033update_partic" - "le_should_draw\030\016 \001(\01322.CUserMsg_Particle" - "Manager.UpdateParticleShouldDraw\022U\n\032upda" - "te_particle_set_frozen\030\017 \001(\01321.CUserMsg_" - "ParticleManager.UpdateParticleSetFrozen\022" - "_\n\037change_control_point_attachment\030\020 \001(\013" - "26.CUserMsg_ParticleManager.ChangeContro" - "lPointAttachment\022N\n\026update_entity_positi" - "on\030\021 \001(\0132..CUserMsg_ParticleManager.Upda" - "teEntityPosition\022W\n\033set_particle_fow_pro" - "perties\030\022 \001(\01322.CUserMsg_ParticleManager" - ".SetParticleFoWProperties\022D\n\021set_particl" - "e_text\030\023 \001(\0132).CUserMsg_ParticleManager." - "SetParticleText\022Z\n\035set_particle_should_c" - "heck_fow\030\024 \001(\01323.CUserMsg_ParticleManage" - "r.SetParticleShouldCheckFoW\022O\n\027set_contr" - "ol_point_model\030\025 \001(\0132..CUserMsg_Particle" - "Manager.SetControlPointModel\022U\n\032set_cont" - "rol_point_snapshot\030\026 \001(\01321.CUserMsg_Part" - "icleManager.SetControlPointSnapshot\022L\n\025s" - "et_texture_attribute\030\027 \001(\0132-.CUserMsg_Pa" - "rticleManager.SetTextureAttribute\022Z\n\035set" - "_scene_object_generic_flag\030\030 \001(\01323.CUser" - "Msg_ParticleManager.SetSceneObjectGeneri" - "cFlag\022]\n\037set_scene_object_tint_and_desat" - "\030\031 \001(\01324.CUserMsg_ParticleManager.SetSce" - "neObjectTintAndDesat\022N\n\026destroy_particle" - "_named\030\032 \001(\0132..CUserMsg_ParticleManager." - "DestroyParticleNamed\022K\n\025particle_skip_to" - "_time\030\033 \001(\0132,.CUserMsg_ParticleManager.P" - "articleSkipToTime\022H\n\023particle_can_freeze" - "\030\034 \001(\0132+.CUserMsg_ParticleManager.Partic" - "leCanFreeze\022W\n\027set_named_value_context\030\035" - " \001(\01326.CUserMsg_ParticleManager.SetParti" - "cleNamedValueContext\022T\n\031update_particle_" - "transform\030\036 \001(\01321.CUserMsg_ParticleManag" - "er.UpdateParticleTransform\022g\n#particle_f" - "reeze_transition_override\030\037 \001(\0132:.CUserM" - "sg_ParticleManager.ParticleFreezeTransit" - "ionOverride\022T\n\031freeze_particle_involving" - "\030 \001(\01321.CUserMsg_ParticleManager.Freeze" - "ParticleInvolving\022]\n\036add_modellist_overr" - "ide_element\030! \001(\01325.CUserMsg_ParticleMan" - "ager.AddModellistOverrideElement\022R\n\030clea" - "r_modellist_override\030\" \001(\01320.CUserMsg_Pa" - "rticleManager.ClearModellistOverride\022F\n\022" - "create_physics_sim\030# \001(\0132*.CUserMsg_Part" - "icleManager.CreatePhysicsSim\022H\n\023destroy_" - "physics_sim\030$ \001(\0132+.CUserMsg_ParticleMan" - "ager.DestroyPhysicsSim\0225\n\tset_vdata\030% \001(" - "\0132\".CUserMsg_ParticleManager.SetVData\022L\n" - "\025set_material_override\030& \001(\0132-.CUserMsg_" - "ParticleManager.SetMaterialOverride\0221\n\007a" - "dd_fan\030\' \001(\0132 .CUserMsg_ParticleManager." - "AddFan\0227\n\nupdate_fan\030( \001(\0132#.CUserMsg_Pa" - "rticleManager.UpdateFan\022W\n\033set_particle_" - "cluster_growth\030) \001(\01322.CUserMsg_Particle" - "Manager.SetParticleClusterGrowth\0227\n\nremo" - "ve_fan\030* \001(\0132#.CUserMsg_ParticleManager." - "RemoveFan\032\026\n\024ReleaseParticleIndex\032\276\002\n\016Cr" - "eateParticle\022\033\n\023particle_name_index\030\001 \001(" - "\006\022\023\n\013attach_type\030\002 \001(\005\022\037\n\rentity_handle\030" - "\003 \001(\r:\01016777215\022-\n\033entity_handle_for_mod" - "ifiers\030\004 \001(\r:\01016777215\022\035\n\025apply_voice_ba" - "n_rules\030\005 \001(\010\022\025\n\rteam_behavior\030\006 \001(\005\022#\n\033" - "control_point_configuration\030\007 \001(\t\022\017\n\007clu" - "ster\030\010 \001(\010\022\023\n\013endcap_time\030\t \001(\002\022)\n\024aggre" - "gation_position\030\n \001(\0132\013.CMsgVector\032.\n\017De" - "stroyParticle\022\033\n\023destroy_immediately\030\001 \001" - "(\010\032X\n\030DestroyParticleInvolving\022\033\n\023destro" - "y_immediately\030\001 \001(\010\022\037\n\rentity_handle\030\003 \001" - "(\r:\01016777215\032\206\001\n\024DestroyParticleNamed\022\033\n" - "\023particle_name_index\030\001 \001(\006\022\037\n\rentity_han" - "dle\030\002 \001(\r:\01016777215\022\033\n\023destroy_immediate" - "ly\030\003 \001(\010\022\023\n\013play_endcap\030\004 \001(\010\032O\n\027UpdateP" - "article_OBSOLETE\022\025\n\rcontrol_point\030\001 \001(\005\022" - "\035\n\010position\030\002 \001(\0132\013.CMsgVector\032Q\n\032Update" - "ParticleFwd_OBSOLETE\022\025\n\rcontrol_point\030\001 " - "\001(\005\022\034\n\007forward\030\002 \001(\0132\013.CMsgVector\032\257\001\n\035Up" - "dateParticleOrient_OBSOLETE\022\025\n\rcontrol_p" - "oint\030\001 \001(\005\022\034\n\007forward\030\002 \001(\0132\013.CMsgVector" - "\022%\n\020deprecated_right\030\003 \001(\0132\013.CMsgVector\022" - "\027\n\002up\030\004 \001(\0132\013.CMsgVector\022\031\n\004left\030\005 \001(\0132\013" - ".CMsgVector\032\225\001\n\027UpdateParticleTransform\022" - "\025\n\rcontrol_point\030\001 \001(\005\022\035\n\010position\030\002 \001(\013" - "2\013.CMsgVector\022$\n\013orientation\030\003 \001(\0132\017.CMs" - "gQuaternion\022\036\n\026interpolation_interval\030\004 " - "\001(\002\032N\n\026UpdateParticleFallback\022\025\n\rcontrol" - "_point\030\001 \001(\005\022\035\n\010position\030\002 \001(\0132\013.CMsgVec" - "tor\032t\n\024UpdateParticleOffset\022\025\n\rcontrol_p" - "oint\030\001 \001(\005\022\"\n\rorigin_offset\030\002 \001(\0132\013.CMsg" - "Vector\022!\n\014angle_offset\030\003 \001(\0132\013.CMsgQAngl" - "e\032\201\002\n\021UpdateParticleEnt\022\025\n\rcontrol_point" - "\030\001 \001(\005\022\037\n\rentity_handle\030\002 \001(\r:\01016777215\022" - "\023\n\013attach_type\030\003 \001(\005\022\022\n\nattachment\030\004 \001(\005" - "\022&\n\021fallback_position\030\005 \001(\0132\013.CMsgVector" - "\022\031\n\021include_wearables\030\006 \001(\010\022$\n\017offset_po" - "sition\030\007 \001(\0132\013.CMsgVector\022\"\n\roffset_angl" - "es\030\010 \001(\0132\013.CMsgQAngle\032J\n\027UpdateParticleS" - "etFrozen\022\022\n\nset_frozen\030\001 \001(\010\022\033\n\023transiti" - "on_duration\030\002 \001(\002\032/\n\030UpdateParticleShoul" - "dDraw\022\023\n\013should_draw\030\001 \001(\010\032o\n\034ChangeCont" - "rolPointAttachment\022\026\n\016attachment_old\030\001 \001" - "(\005\022\026\n\016attachment_new\030\002 \001(\005\022\037\n\rentity_han" - "dle\030\003 \001(\r:\01016777215\032V\n\024UpdateEntityPosit" - "ion\022\037\n\rentity_handle\030\001 \001(\r:\01016777215\022\035\n\010" - "position\030\002 \001(\0132\013.CMsgVector\032e\n\030SetPartic" - "leFoWProperties\022\031\n\021fow_control_point\030\001 \001" - "(\005\022\032\n\022fow_control_point2\030\002 \001(\005\022\022\n\nfow_ra" - "dius\030\003 \001(\002\032.\n\031SetParticleShouldCheckFoW\022" - "\021\n\tcheck_fow\030\001 \001(\010\032A\n\024SetControlPointMod" - "el\022\025\n\rcontrol_point\030\001 \001(\005\022\022\n\nmodel_name\030" - "\002 \001(\t\032G\n\027SetControlPointSnapshot\022\025\n\rcont" - "rol_point\030\001 \001(\005\022\025\n\rsnapshot_name\030\002 \001(\t\032\037" - "\n\017SetParticleText\022\014\n\004text\030\001 \001(\t\032C\n\023SetTe" - "xtureAttribute\022\026\n\016attribute_name\030\001 \001(\t\022\024" - "\n\014texture_name\030\002 \001(\t\032/\n\031SetSceneObjectGe" - "nericFlag\022\022\n\nflag_value\030\001 \001(\010\0329\n\032SetScen" - "eObjectTintAndDesat\022\014\n\004tint\030\001 \001(\007\022\r\n\005des" - "at\030\002 \001(\002\032*\n\022ParticleSkipToTime\022\024\n\014skip_t" - "o_time\030\001 \001(\002\032\'\n\021ParticleCanFreeze\022\022\n\ncan" - "_freeze\030\001 \001(\010\032F\n ParticleFreezeTransitio" - "nOverride\022\"\n\032freeze_transition_override\030" - "\001 \001(\002\032k\n\027FreezeParticleInvolving\022\022\n\nset_" - "frozen\030\001 \001(\010\022\033\n\023transition_duration\030\002 \001(" - "\002\022\037\n\rentity_handle\030\003 \001(\r:\01016777215\032]\n\033Ad" - "dModellistOverrideElement\022\022\n\nmodel_name\030" - "\001 \001(\t\022\031\n\021spawn_probability\030\002 \001(\002\022\017\n\007grou" - "pid\030\003 \001(\r\032)\n\026ClearModellistOverride\022\017\n\007g" - "roupid\030\001 \001(\r\032\350\005\n\034SetParticleNamedValueCo" - "ntext\022^\n\014float_values\030\001 \003(\0132H.CUserMsg_P" - "articleManager.SetParticleNamedValueCont" - "ext.FloatContextValue\022`\n\rvector_values\030\002" - " \003(\0132I.CUserMsg_ParticleManager.SetParti" - "cleNamedValueContext.VectorContextValue\022" - "f\n\020transform_values\030\003 \003(\0132L.CUserMsg_Par" - "ticleManager.SetParticleNamedValueContex" - "t.TransformContextValue\022]\n\016ehandle_value" - "s\030\004 \003(\0132E.CUserMsg_ParticleManager.SetPa" - "rticleNamedValueContext.EHandleContext\032;" - "\n\021FloatContextValue\022\027\n\017value_name_hash\030\001" - " \001(\r\022\r\n\005value\030\002 \001(\002\032I\n\022VectorContextValu" - "e\022\027\n\017value_name_hash\030\001 \001(\r\022\032\n\005value\030\002 \001(" - "\0132\013.CMsgVector\032o\n\025TransformContextValue\022" - "\027\n\017value_name_hash\030\001 \001(\r\022\033\n\006angles\030\002 \001(\013" - "2\013.CMsgQAngle\022 \n\013translation\030\003 \001(\0132\013.CMs" - "gVector\032F\n\016EHandleContext\022\027\n\017value_name_" - "hash\030\001 \001(\r\022\033\n\tent_index\030\002 \001(\r:\01016777215\032" - "l\n\020CreatePhysicsSim\022\027\n\017prop_group_name\030\001" - " \001(\t\022#\n\033use_high_quality_simulation\030\002 \001(" - "\010\022\032\n\022max_particle_count\030\003 \001(\r\032\023\n\021Destroy" - "PhysicsSim\032\036\n\010SetVData\022\022\n\nvdata_name\030\001 \001" - "(\t\032F\n\023SetMaterialOverride\022\025\n\rmaterial_na" - "me\030\001 \001(\t\022\030\n\020include_children\030\002 \001(\010\032\343\003\n\006A" - "ddFan\022\016\n\006active\030\001 \001(\010\022 \n\013bounds_mins\030\002 \001" - "(\0132\013.CMsgVector\022 \n\013bounds_maxs\030\003 \001(\0132\013.C" - "MsgVector\022\037\n\nfan_origin\030\004 \001(\0132\013.CMsgVect" - "or\022&\n\021fan_origin_offset\030\005 \001(\0132\013.CMsgVect" - "or\022\"\n\rfan_direction\030\006 \001(\0132\013.CMsgVector\022\r" - "\n\005force\030\007 \001(\002\022\027\n\017fan_force_curve\030\010 \001(\t\022\017" - "\n\007falloff\030\t \001(\010\022\032\n\022pull_towards_point\030\n " - "\001(\010\022\026\n\016curve_min_dist\030\013 \001(\002\022\026\n\016curve_max" - "_dist\030\014 \001(\002\022\020\n\010fan_type\030\r \001(\r\022\031\n\021cone_st" - "art_radius\030\016 \001(\002\022\027\n\017cone_end_radius\030\017 \001(" - "\002\022\023\n\013cone_length\030\020 \001(\002\022\037\n\rentity_handle\030" - "\021 \001(\r:\01016777215\022\027\n\017attachment_name\030\022 \001(\t" - "\032\344\001\n\tUpdateFan\022\016\n\006active\030\001 \001(\010\022\037\n\nfan_or" - "igin\030\002 \001(\0132\013.CMsgVector\022&\n\021fan_origin_of" - "fset\030\003 \001(\0132\013.CMsgVector\022\"\n\rfan_direction" - "\030\004 \001(\0132\013.CMsgVector\022\026\n\016fan_ramp_ratio\030\007 " - "\001(\002\022 \n\013bounds_mins\030\005 \001(\0132\013.CMsgVector\022 \n" - "\013bounds_maxs\030\006 \001(\0132\013.CMsgVector\032\013\n\tRemov" - "eFan\032I\n\030SetParticleClusterGrowth\022\020\n\010dura" - "tion\030\001 \001(\002\022\033\n\006origin\030\002 \001(\0132\013.CMsgVector*" - "\005\010d\020\312\001\"%\n\021CUserMsg_HudError\022\020\n\010order_id\030" - "\001 \001(\005\"<\n\030CUserMsg_CustomGameEvent\022\022\n\neve" - "nt_name\030\001 \001(\t\022\014\n\004data\030\002 \001(\014\"\177\n\037CUserMess" - "ageHapticsManagerPulse\022\017\n\007hand_id\030\001 \001(\005\022" - "\030\n\020effect_amplitude\030\002 \001(\002\022\030\n\020effect_freq" - "uency\030\003 \001(\002\022\027\n\017effect_duration\030\004 \001(\002\"h\n " - "CUserMessageHapticsManagerEffect\022\017\n\007hand" - "_id\030\001 \001(\005\022\035\n\025effect_name_hash_code\030\002 \001(\r" - "\022\024\n\014effect_scale\030\003 \001(\002\"E\n\037CUserMessageAn" - "imStateGraphState\022\024\n\014entity_index\030\001 \001(\005\022" - "\014\n\004data\030\002 \001(\014\"_\n\034CUserMessageUpdateCssCl" - "asses\022\032\n\022target_world_panel\030\001 \001(\005\022\023\n\013css" - "_classes\030\002 \001(\t\022\016\n\006is_add\030\003 \001(\010\"1\n\033CUserM" - "essageServerFrameTime\022\022\n\nframe_time\030\001 \001(" - "\002\"4\n CUserMessageLagCompensationError\022\020\n" - "\010distance\030\001 \001(\002\"G\n\034CUserMessageRequestDl" - "lStatus\022\022\n\ndll_action\030\001 \001(\t\022\023\n\013full_repo" - "rt\030\002 \001(\010\"j\n\035CUserMessageRequestUtilActio" - "n\022\r\n\005util1\030\002 \001(\005\022\r\n\005util2\030\003 \001(\005\022\r\n\005util3" - "\030\004 \001(\005\022\r\n\005util4\030\005 \001(\005\022\r\n\005util5\030\006 \001(\005\"\370\002\n" - "\035CUserMessage_UtilMsg_Response\022\013\n\003crc\030\001 " - "\001(\007\022\022\n\nitem_count\030\002 \001(\005\022\014\n\004crc2\030\003 \001(\007\022\023\n" - "\013item_count2\030\004 \001(\005\022\020\n\010crc_part\030\005 \003(\005\022\021\n\t" - "crc_part2\030\006 \003(\005\022\030\n\020client_timestamp\030\007 \001(" - "\005\022\020\n\010platform\030\010 \001(\005\022>\n\013itemdetails\030\t \003(\013" - "2).CUserMessage_UtilMsg_Response.ItemDet" - "ail\022\021\n\titemgroup\030\n \001(\005\022\023\n\013total_count\030\013 " - "\001(\005\022\024\n\014total_count2\030\014 \001(\005\032D\n\nItemDetail\022" - "\r\n\005index\030\001 \001(\005\022\014\n\004hash\030\002 \001(\005\022\013\n\003crc\030\003 \001(" - "\005\022\014\n\004name\030\004 \001(\t\"\241\003\n\026CUserMessage_DllStat" - "us\022\023\n\013file_report\030\001 \001(\t\022\024\n\014command_line\030" - "\002 \001(\t\022\023\n\013total_files\030\003 \001(\r\022\022\n\nprocess_id" - "\030\004 \001(\r\022\021\n\tosversion\030\005 \001(\005\022\023\n\013client_time" - "\030\006 \001(\004\0229\n\013diagnostics\030\007 \003(\0132$.CUserMessa" - "ge_DllStatus.CVDiagnostic\0220\n\007modules\030\010 \003" - "(\0132\037.CUserMessage_DllStatus.CModule\032Q\n\014C" - "VDiagnostic\022\n\n\002id\030\001 \001(\r\022\020\n\010extended\030\002 \001(" - "\r\022\r\n\005value\030\003 \001(\004\022\024\n\014string_value\030\004 \001(\t\032K" - "\n\007CModule\022\021\n\tbase_addr\030\001 \001(\004\022\014\n\004name\030\002 \001" - "(\t\022\014\n\004size\030\003 \001(\r\022\021\n\ttimestamp\030\004 \001(\r\"R\n\034C" - "UserMessageRequestInventory\022\021\n\tinventory" - "\030\001 \001(\005\022\016\n\006offset\030\002 \001(\005\022\017\n\007options\030\003 \001(\005\"" - "\367\004\n\037CUserMessage_Inventory_Response\022\013\n\003c" - "rc\030\001 \001(\007\022\022\n\nitem_count\030\002 \001(\005\022\021\n\tosversio" - "n\030\005 \001(\005\022\021\n\tperf_time\030\006 \001(\005\022\030\n\020client_tim" - "estamp\030\007 \001(\005\022\020\n\010platform\030\010 \001(\005\022E\n\013invent" - "ories\030\t \003(\01320.CUserMessage_Inventory_Res" - "ponse.InventoryDetail\022F\n\014inventories2\030\n " - "\003(\01320.CUserMessage_Inventory_Response.In" - "ventoryDetail\022F\n\014inventories3\030\016 \003(\01320.CU" - "serMessage_Inventory_Response.InventoryD" - "etail\022\020\n\010inv_type\030\013 \001(\005\022\025\n\rbuild_version" - "\030\014 \001(\005\022\020\n\010instance\030\r \001(\005\022\022\n\nstart_time\030\017" - " \001(\003\032\272\001\n\017InventoryDetail\022\r\n\005index\030\001 \001(\005\022" - "\017\n\007primary\030\002 \001(\003\022\016\n\006offset\030\003 \001(\003\022\r\n\005firs" - "t\030\004 \001(\003\022\014\n\004base\030\005 \001(\003\022\014\n\004name\030\006 \001(\t\022\021\n\tb" - "ase_name\030\007 \001(\t\022\023\n\013base_detail\030\010 \001(\005\022\021\n\tb" - "ase_time\030\t \001(\005\022\021\n\tbase_hash\030\n \001(\005\"\270\002\n\035CU" - "serMessageRequestDiagnostic\022>\n\013diagnosti" - "cs\030\001 \003(\0132).CUserMessageRequestDiagnostic" - ".Diagnostic\032\326\001\n\nDiagnostic\022\r\n\005index\030\001 \001(" - "\005\022\016\n\006offset\030\002 \001(\003\022\r\n\005param\030\003 \001(\005\022\016\n\006leng" - "th\030\004 \001(\005\022\014\n\004type\030\005 \001(\005\022\014\n\004base\030\006 \001(\003\022\r\n\005" - "range\030\007 \001(\003\022\016\n\006extent\030\010 \001(\003\022\016\n\006detail\030\t " - "\001(\003\022\014\n\004name\030\n \001(\t\022\r\n\005alias\030\013 \001(\t\022\021\n\tvard" - "etail\030\014 \001(\014\022\017\n\007context\030\r \001(\005\"\300\003\n CUserMe" - "ssage_Diagnostic_Response\022A\n\013diagnostics" - "\030\001 \003(\0132,.CUserMessage_Diagnostic_Respons" - "e.Diagnostic\022\025\n\rbuild_version\030\002 \001(\005\022\020\n\010i" - "nstance\030\003 \001(\005\022\022\n\nstart_time\030\004 \001(\003\022\021\n\tosv" - "ersion\030\005 \001(\005\022\020\n\010platform\030\006 \001(\005\032\366\001\n\nDiagn" - "ostic\022\r\n\005index\030\001 \001(\005\022\016\n\006offset\030\002 \001(\003\022\r\n\005" - "param\030\003 \001(\005\022\016\n\006length\030\004 \001(\005\022\016\n\006detail\030\005 " - "\001(\014\022\014\n\004base\030\006 \001(\003\022\r\n\005range\030\007 \001(\003\022\014\n\004type" - "\030\010 \001(\005\022\014\n\004name\030\n \001(\t\022\r\n\005alias\030\013 \001(\t\022\016\n\006b" - "ackup\030\014 \001(\014\022\017\n\007context\030\r \001(\005\022\017\n\007control\030" - "\016 \001(\003\022\017\n\007augment\030\017 \001(\003\022\017\n\007placebo\030\020 \001(\003\"" - "l\n\032CUserMessage_ExtraUserData\022\014\n\004item\030\001 " - "\001(\005\022\016\n\006value1\030\002 \001(\003\022\016\n\006value2\030\003 \001(\003\022\017\n\007d" - "etail1\030\004 \003(\014\022\017\n\007detail2\030\005 \003(\014\"\313\003\n CUserM" - "essage_NotifyResponseFound\022\025\n\tent_index\030" - "\001 \001(\005:\002-1\022\021\n\trule_name\030\002 \001(\t\022\026\n\016response" - "_value\030\003 \001(\t\022\030\n\020response_concept\030\004 \001(\t\022<" - "\n\010criteria\030\005 \003(\0132*.CUserMessage_NotifyRe" - "sponseFound.Criteria\022\036\n\022int_criteria_nam" - "es\030\006 \003(\rB\002\020\001\022\037\n\023int_criteria_values\030\007 \003(" - "\005B\002\020\001\022 \n\024float_criteria_names\030\010 \003(\rB\002\020\001\022" - "\035\n\025float_criteria_values\030\t \003(\002\022!\n\025symbol" - "_criteria_names\030\n \003(\rB\002\020\001\022\"\n\026symbol_crit" - "eria_values\030\013 \003(\rB\002\020\001\022\024\n\014speak_result\030\014 " - "\001(\005\032.\n\010Criteria\022\023\n\013name_symbol\030\001 \001(\r\022\r\n\005" - "value\030\002 \001(\t\"\257\001\n$CUserMessage_PlayRespons" - "eConditional\022\025\n\tent_index\030\001 \001(\005:\002-1\022\024\n\014p" - "layer_slots\030\002 \003(\005\022\020\n\010response\030\003 \001(\t\022\037\n\ne" - "nt_origin\030\004 \001(\0132\013.CMsgVector\022\021\n\tpre_dela" - "y\030\005 \001(\002\022\024\n\014mix_priority\030\006 \001(\005*\221\t\n\021EBaseU" - "serMessages\022\027\n\023UM_AchievementEvent\020e\022\023\n\017" - "UM_CloseCaption\020f\022\031\n\025UM_CloseCaptionDire" - "ct\020g\022\027\n\023UM_CurrentTimescale\020h\022\027\n\023UM_Desi" - "redTimescale\020i\022\013\n\007UM_Fade\020j\022\020\n\014UM_GameTi" - "tle\020k\022\r\n\tUM_HudMsg\020n\022\016\n\nUM_HudText\020o\022\022\n\016" - "UM_ColoredText\020q\022\023\n\017UM_RequestState\020r\022\017\n" - "\013UM_ResetHUD\020s\022\r\n\tUM_Rumble\020t\022\016\n\nUM_SayT" - "ext\020u\022\017\n\013UM_SayText2\020v\022\025\n\021UM_SayTextChan" - "nel\020w\022\014\n\010UM_Shake\020x\022\017\n\013UM_ShakeDir\020y\022\021\n\r" - "UM_WaterShake\020z\022\016\n\nUM_TextMsg\020|\022\021\n\rUM_Sc" - "reenTilt\020}\022\021\n\014UM_VoiceMask\020\200\001\022\021\n\014UM_Send" - "Audio\020\202\001\022\022\n\rUM_ItemPickup\020\203\001\022\022\n\rUM_AmmoD" - "enied\020\204\001\022\020\n\013UM_ShowMenu\020\206\001\022\022\n\rUM_Credits" - "Msg\020\207\001\022\037\n\032UM_CloseCaptionPlaceholder\020\216\001\022" - "\030\n\023UM_CameraTransition\020\217\001\022\026\n\021UM_AudioPar" - "ameter\020\220\001\022\027\n\022UM_ParticleManager\020\221\001\022\020\n\013UM" - "_HudError\020\222\001\022\027\n\022UM_CustomGameEvent\020\224\001\022\027\n" - "\022UM_AnimGraphUpdate\020\225\001\022\033\n\026UM_HapticsMana" - "gerPulse\020\226\001\022\034\n\027UM_HapticsManagerEffect\020\227" - "\001\022\030\n\023UM_UpdateCssClasses\020\231\001\022\027\n\022UM_Server" - "FrameTime\020\232\001\022\034\n\027UM_LagCompensationError\020" - "\233\001\022\030\n\023UM_RequestDllStatus\020\234\001\022\031\n\024UM_Reque" - "stUtilAction\020\235\001\022\032\n\025UM_UtilActionResponse" - "\020\236\001\022\031\n\024UM_DllStatusResponse\020\237\001\022\030\n\023UM_Req" - "uestInventory\020\240\001\022\031\n\024UM_InventoryResponse" - "\020\241\001\022\031\n\024UM_RequestDiagnostic\020\242\001\022\032\n\025UM_Dia" - "gnosticResponse\020\243\001\022\025\n\020UM_ExtraUserData\020\244" - "\001\022\033\n\026UM_NotifyResponseFound\020\245\001\022\037\n\032UM_Pla" - "yResponseConditional\020\246\001\022\020\n\013UM_MAX_BASE\020\310" - "\001*\224\001\n\023EBaseEntityMessages\022\022\n\rEM_PlayJing" - "le\020\210\001\022\025\n\020EM_ScreenOverlay\020\211\001\022\027\n\022EM_Remov" - "eAllDecals\020\212\001\022\026\n\021EM_PropagateForce\020\213\001\022\017\n" - "\nEM_DoSpark\020\214\001\022\020\n\013EM_FixAngle\020\215\001*o\n\teRol" - "lType\022\026\n\tROLL_NONE\020\377\377\377\377\377\377\377\377\377\001\022\016\n\nROLL_ST" - "ATS\020\000\022\020\n\014ROLL_CREDITS\020\001\022\027\n\023ROLL_LATE_JOI" - "N_LOGO\020\002\022\017\n\013ROLL_OUTTRO\020\003*\352\017\n\020PARTICLE_M" - "ESSAGE\022&\n\"GAME_PARTICLE_MANAGER_EVENT_CR" - "EATE\020\000\022&\n\"GAME_PARTICLE_MANAGER_EVENT_UP" - "DATE\020\001\022.\n*GAME_PARTICLE_MANAGER_EVENT_UP" - "DATE_FORWARD\020\002\0222\n.GAME_PARTICLE_MANAGER_" - "EVENT_UPDATE_ORIENTATION\020\003\022/\n+GAME_PARTI" - "CLE_MANAGER_EVENT_UPDATE_FALLBACK\020\004\022*\n&G" - "AME_PARTICLE_MANAGER_EVENT_UPDATE_ENT\020\005\022" - "-\n)GAME_PARTICLE_MANAGER_EVENT_UPDATE_OF" - "FSET\020\006\022\'\n#GAME_PARTICLE_MANAGER_EVENT_DE" - "STROY\020\007\0221\n-GAME_PARTICLE_MANAGER_EVENT_D" - "ESTROY_INVOLVING\020\010\022\'\n#GAME_PARTICLE_MANA" - "GER_EVENT_RELEASE\020\t\022\'\n#GAME_PARTICLE_MAN" - "AGER_EVENT_LATENCY\020\n\022+\n\'GAME_PARTICLE_MA" - "NAGER_EVENT_SHOULD_DRAW\020\013\022&\n\"GAME_PARTIC" - "LE_MANAGER_EVENT_FROZEN\020\014\022\?\n;GAME_PARTIC" - "LE_MANAGER_EVENT_CHANGE_CONTROL_POINT_AT" - "TACHMENT\020\r\0226\n2GAME_PARTICLE_MANAGER_EVEN" - "T_UPDATE_ENTITY_POSITION\020\016\0222\n.GAME_PARTI" - "CLE_MANAGER_EVENT_SET_FOW_PROPERTIES\020\017\022(" - "\n$GAME_PARTICLE_MANAGER_EVENT_SET_TEXT\020\020" - "\0224\n0GAME_PARTICLE_MANAGER_EVENT_SET_SHOU" - "LD_CHECK_FOW\020\021\0227\n3GAME_PARTICLE_MANAGER_" - "EVENT_SET_CONTROL_POINT_MODEL\020\022\022:\n6GAME_" - "PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT" - "_SNAPSHOT\020\023\0225\n1GAME_PARTICLE_MANAGER_EVE" - "NT_SET_TEXTURE_ATTRIBUTE\020\024\022=\n9GAME_PARTI" - "CLE_MANAGER_EVENT_SET_SCENE_OBJECT_GENER" - "IC_FLAG\020\025\022\?\n;GAME_PARTICLE_MANAGER_EVENT" - "_SET_SCENE_OBJECT_TINT_AND_DESAT\020\026\022-\n)GA" - "ME_PARTICLE_MANAGER_EVENT_DESTROY_NAMED\020" - "\027\022,\n(GAME_PARTICLE_MANAGER_EVENT_SKIP_TO" - "_TIME\020\030\022*\n&GAME_PARTICLE_MANAGER_EVENT_C" - "AN_FREEZE\020\031\0227\n3GAME_PARTICLE_MANAGER_EVE" - "NT_SET_NAMED_VALUE_CONTEXT\020\032\0220\n,GAME_PAR" - "TICLE_MANAGER_EVENT_UPDATE_TRANSFORM\020\033\022:" - "\n6GAME_PARTICLE_MANAGER_EVENT_FREEZE_TRA" - "NSITION_OVERRIDE\020\034\0220\n,GAME_PARTICLE_MANA" - "GER_EVENT_FREEZE_INVOLVING\020\035\022>\n:GAME_PAR" - "TICLE_MANAGER_EVENT_ADD_MODELLIST_OVERRI" - "DE_ELEMENT\020\036\0228\n4GAME_PARTICLE_MANAGER_EV" - "ENT_CLEAR_MODELLIST_OVERRIDE\020\037\0222\n.GAME_P" - "ARTICLE_MANAGER_EVENT_CREATE_PHYSICS_SIM" - "\020 \0223\n/GAME_PARTICLE_MANAGER_EVENT_DESTRO" - "Y_PHYSICS_SIM\020!\022)\n%GAME_PARTICLE_MANAGER" - "_EVENT_SET_VDATA\020\"\0225\n1GAME_PARTICLE_MANA" - "GER_EVENT_SET_MATERIAL_OVERRIDE\020#\022\'\n#GAM" - "E_PARTICLE_MANAGER_EVENT_ADD_FAN\020$\022*\n&GA" - "ME_PARTICLE_MANAGER_EVENT_UPDATE_FAN\020%\0222" - "\n.GAME_PARTICLE_MANAGER_EVENT_SET_CLUSTE" - "R_GROWTH\020&\022*\n&GAME_PARTICLE_MANAGER_EVEN" - "T_REMOVE_FAN\020\'*t\n\020EHapticPulseType\022\036\n\032VR" - "_HAND_HAPTIC_PULSE_LIGHT\020\000\022\037\n\033VR_HAND_HA" - "PTIC_PULSE_MEDIUM\020\001\022\037\n\033VR_HAND_HAPTIC_PU" - "LSE_STRONG\020\002" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_usermessages_2eproto_deps[1] = { - &::descriptor_table_networkbasetypes_2eproto, -}; -static ::_pbi::once_flag descriptor_table_usermessages_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_usermessages_2eproto = { - false, false, 18572, descriptor_table_protodef_usermessages_2eproto, - "usermessages.proto", - &descriptor_table_usermessages_2eproto_once, descriptor_table_usermessages_2eproto_deps, 1, 107, - schemas, file_default_instances, TableStruct_usermessages_2eproto::offsets, - file_level_metadata_usermessages_2eproto, file_level_enum_descriptors_usermessages_2eproto, - file_level_service_descriptors_usermessages_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_usermessages_2eproto_getter() { - return &descriptor_table_usermessages_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_usermessages_2eproto(&descriptor_table_usermessages_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBaseUserMessages_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_usermessages_2eproto); - return file_level_enum_descriptors_usermessages_2eproto[0]; -} -bool EBaseUserMessages_IsValid(int value) { - switch (value) { - case 101: - case 102: - case 103: - case 104: - case 105: - case 106: - case 107: - case 110: - case 111: - case 113: - case 114: - case 115: - case 116: - case 117: - case 118: - case 119: - case 120: - case 121: - case 122: - case 124: - case 125: - case 128: - case 130: - case 131: - case 132: - case 134: - case 135: - case 142: - case 143: - case 144: - case 145: - case 146: - case 148: - case 149: - case 150: - case 151: - case 153: - case 154: - case 155: - case 156: - case 157: - case 158: - case 159: - case 160: - case 161: - case 162: - case 163: - case 164: - case 165: - case 166: - case 200: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBaseEntityMessages_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_usermessages_2eproto); - return file_level_enum_descriptors_usermessages_2eproto[1]; -} -bool EBaseEntityMessages_IsValid(int value) { - switch (value) { - case 136: - case 137: - case 138: - case 139: - case 140: - case 141: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* eRollType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_usermessages_2eproto); - return file_level_enum_descriptors_usermessages_2eproto[2]; -} -bool eRollType_IsValid(int value) { - switch (value) { - case -1: - case 0: - case 1: - case 2: - case 3: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PARTICLE_MESSAGE_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_usermessages_2eproto); - return file_level_enum_descriptors_usermessages_2eproto[3]; -} -bool PARTICLE_MESSAGE_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - case 16: - case 17: - case 18: - case 19: - case 20: - case 21: - case 22: - case 23: - case 24: - case 25: - case 26: - case 27: - case 28: - case 29: - case 30: - case 31: - case 32: - case 33: - case 34: - case 35: - case 36: - case 37: - case 38: - case 39: - return true; - default: - return false; - } -} - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EHapticPulseType_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_usermessages_2eproto); - return file_level_enum_descriptors_usermessages_2eproto[4]; -} -bool EHapticPulseType_IsValid(int value) { - switch (value) { - case 0: - case 1: - case 2: - return true; - default: - return false; - } -} - - -// =================================================================== - -class CUserMessageAchievementEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_achievement(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMessageAchievementEvent::CUserMessageAchievementEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageAchievementEvent) -} -CUserMessageAchievementEvent::CUserMessageAchievementEvent(const CUserMessageAchievementEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageAchievementEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.achievement_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.achievement_ = from._impl_.achievement_; - // @@protoc_insertion_point(copy_constructor:CUserMessageAchievementEvent) -} - -inline void CUserMessageAchievementEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.achievement_){0u} - }; -} - -CUserMessageAchievementEvent::~CUserMessageAchievementEvent() { - // @@protoc_insertion_point(destructor:CUserMessageAchievementEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageAchievementEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMessageAchievementEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageAchievementEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageAchievementEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.achievement_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageAchievementEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 achievement = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_achievement(&has_bits); - _impl_.achievement_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageAchievementEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageAchievementEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 achievement = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_achievement(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageAchievementEvent) - return target; -} - -size_t CUserMessageAchievementEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageAchievementEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 achievement = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_achievement()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageAchievementEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageAchievementEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageAchievementEvent::GetClassData() const { return &_class_data_; } - - -void CUserMessageAchievementEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageAchievementEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_achievement()) { - _this->_internal_set_achievement(from._internal_achievement()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageAchievementEvent::CopyFrom(const CUserMessageAchievementEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageAchievementEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageAchievementEvent::IsInitialized() const { - return true; -} - -void CUserMessageAchievementEvent::InternalSwap(CUserMessageAchievementEvent* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.achievement_, other->_impl_.achievement_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageAchievementEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[0]); -} - -// =================================================================== - -class CUserMessageCloseCaption::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_hash(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_duration(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_from_player(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_ent_index(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CUserMessageCloseCaption::CUserMessageCloseCaption(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageCloseCaption) -} -CUserMessageCloseCaption::CUserMessageCloseCaption(const CUserMessageCloseCaption& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageCloseCaption* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hash_){} - , decltype(_impl_.duration_){} - , decltype(_impl_.from_player_){} - , decltype(_impl_.ent_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.hash_, &from._impl_.hash_, - static_cast(reinterpret_cast(&_impl_.ent_index_) - - reinterpret_cast(&_impl_.hash_)) + sizeof(_impl_.ent_index_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageCloseCaption) -} - -inline void CUserMessageCloseCaption::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hash_){0u} - , decltype(_impl_.duration_){0} - , decltype(_impl_.from_player_){false} - , decltype(_impl_.ent_index_){-1} - }; -} - -CUserMessageCloseCaption::~CUserMessageCloseCaption() { - // @@protoc_insertion_point(destructor:CUserMessageCloseCaption) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageCloseCaption::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMessageCloseCaption::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageCloseCaption::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageCloseCaption) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.hash_, 0, static_cast( - reinterpret_cast(&_impl_.from_player_) - - reinterpret_cast(&_impl_.hash_)) + sizeof(_impl_.from_player_)); - _impl_.ent_index_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageCloseCaption::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 hash = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_hash(&has_bits); - _impl_.hash_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional float duration = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_duration(&has_bits); - _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional bool from_player = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_from_player(&has_bits); - _impl_.from_player_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 ent_index = 4 [default = -1]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_ent_index(&has_bits); - _impl_.ent_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageCloseCaption::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageCloseCaption) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 hash = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_hash(), target); - } - - // optional float duration = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_duration(), target); - } - - // optional bool from_player = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_from_player(), target); - } - - // optional int32 ent_index = 4 [default = -1]; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_ent_index(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageCloseCaption) - return target; -} - -size_t CUserMessageCloseCaption::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageCloseCaption) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional fixed32 hash = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional float duration = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional bool from_player = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional int32 ent_index = 4 [default = -1]; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ent_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageCloseCaption::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageCloseCaption::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageCloseCaption::GetClassData() const { return &_class_data_; } - - -void CUserMessageCloseCaption::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageCloseCaption) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.hash_ = from._impl_.hash_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.duration_ = from._impl_.duration_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.from_player_ = from._impl_.from_player_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.ent_index_ = from._impl_.ent_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageCloseCaption::CopyFrom(const CUserMessageCloseCaption& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageCloseCaption) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageCloseCaption::IsInitialized() const { - return true; -} - -void CUserMessageCloseCaption::InternalSwap(CUserMessageCloseCaption* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageCloseCaption, _impl_.from_player_) - + sizeof(CUserMessageCloseCaption::_impl_.from_player_) - - PROTOBUF_FIELD_OFFSET(CUserMessageCloseCaption, _impl_.hash_)>( - reinterpret_cast(&_impl_.hash_), - reinterpret_cast(&other->_impl_.hash_)); - swap(_impl_.ent_index_, other->_impl_.ent_index_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageCloseCaption::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[1]); -} - -// =================================================================== - -class CUserMessageCloseCaptionDirect::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_hash(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_duration(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_from_player(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_ent_index(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CUserMessageCloseCaptionDirect::CUserMessageCloseCaptionDirect(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageCloseCaptionDirect) -} -CUserMessageCloseCaptionDirect::CUserMessageCloseCaptionDirect(const CUserMessageCloseCaptionDirect& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageCloseCaptionDirect* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hash_){} - , decltype(_impl_.duration_){} - , decltype(_impl_.from_player_){} - , decltype(_impl_.ent_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.hash_, &from._impl_.hash_, - static_cast(reinterpret_cast(&_impl_.ent_index_) - - reinterpret_cast(&_impl_.hash_)) + sizeof(_impl_.ent_index_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageCloseCaptionDirect) -} - -inline void CUserMessageCloseCaptionDirect::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hash_){0u} - , decltype(_impl_.duration_){0} - , decltype(_impl_.from_player_){false} - , decltype(_impl_.ent_index_){-1} - }; -} - -CUserMessageCloseCaptionDirect::~CUserMessageCloseCaptionDirect() { - // @@protoc_insertion_point(destructor:CUserMessageCloseCaptionDirect) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageCloseCaptionDirect::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMessageCloseCaptionDirect::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageCloseCaptionDirect::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageCloseCaptionDirect) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.hash_, 0, static_cast( - reinterpret_cast(&_impl_.from_player_) - - reinterpret_cast(&_impl_.hash_)) + sizeof(_impl_.from_player_)); - _impl_.ent_index_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageCloseCaptionDirect::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 hash = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_hash(&has_bits); - _impl_.hash_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional float duration = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_duration(&has_bits); - _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional bool from_player = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_from_player(&has_bits); - _impl_.from_player_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 ent_index = 4 [default = -1]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_ent_index(&has_bits); - _impl_.ent_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageCloseCaptionDirect::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageCloseCaptionDirect) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 hash = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_hash(), target); - } - - // optional float duration = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_duration(), target); - } - - // optional bool from_player = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_from_player(), target); - } - - // optional int32 ent_index = 4 [default = -1]; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_ent_index(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageCloseCaptionDirect) - return target; -} - -size_t CUserMessageCloseCaptionDirect::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageCloseCaptionDirect) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional fixed32 hash = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional float duration = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional bool from_player = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional int32 ent_index = 4 [default = -1]; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ent_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageCloseCaptionDirect::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageCloseCaptionDirect::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageCloseCaptionDirect::GetClassData() const { return &_class_data_; } - - -void CUserMessageCloseCaptionDirect::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageCloseCaptionDirect) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.hash_ = from._impl_.hash_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.duration_ = from._impl_.duration_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.from_player_ = from._impl_.from_player_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.ent_index_ = from._impl_.ent_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageCloseCaptionDirect::CopyFrom(const CUserMessageCloseCaptionDirect& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageCloseCaptionDirect) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageCloseCaptionDirect::IsInitialized() const { - return true; -} - -void CUserMessageCloseCaptionDirect::InternalSwap(CUserMessageCloseCaptionDirect* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageCloseCaptionDirect, _impl_.from_player_) - + sizeof(CUserMessageCloseCaptionDirect::_impl_.from_player_) - - PROTOBUF_FIELD_OFFSET(CUserMessageCloseCaptionDirect, _impl_.hash_)>( - reinterpret_cast(&_impl_.hash_), - reinterpret_cast(&other->_impl_.hash_)); - swap(_impl_.ent_index_, other->_impl_.ent_index_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageCloseCaptionDirect::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[2]); -} - -// =================================================================== - -class CUserMessageCloseCaptionPlaceholder::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_string(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_duration(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_from_player(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_ent_index(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CUserMessageCloseCaptionPlaceholder::CUserMessageCloseCaptionPlaceholder(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageCloseCaptionPlaceholder) -} -CUserMessageCloseCaptionPlaceholder::CUserMessageCloseCaptionPlaceholder(const CUserMessageCloseCaptionPlaceholder& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageCloseCaptionPlaceholder* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.string_){} - , decltype(_impl_.duration_){} - , decltype(_impl_.from_player_){} - , decltype(_impl_.ent_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_string()) { - _this->_impl_.string_.Set(from._internal_string(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.duration_, &from._impl_.duration_, - static_cast(reinterpret_cast(&_impl_.ent_index_) - - reinterpret_cast(&_impl_.duration_)) + sizeof(_impl_.ent_index_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageCloseCaptionPlaceholder) -} - -inline void CUserMessageCloseCaptionPlaceholder::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.string_){} - , decltype(_impl_.duration_){0} - , decltype(_impl_.from_player_){false} - , decltype(_impl_.ent_index_){-1} - }; - _impl_.string_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.string_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessageCloseCaptionPlaceholder::~CUserMessageCloseCaptionPlaceholder() { - // @@protoc_insertion_point(destructor:CUserMessageCloseCaptionPlaceholder) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageCloseCaptionPlaceholder::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.string_.Destroy(); -} - -void CUserMessageCloseCaptionPlaceholder::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageCloseCaptionPlaceholder::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageCloseCaptionPlaceholder) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.string_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.duration_, 0, static_cast( - reinterpret_cast(&_impl_.from_player_) - - reinterpret_cast(&_impl_.duration_)) + sizeof(_impl_.from_player_)); - _impl_.ent_index_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageCloseCaptionPlaceholder::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string string = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_string(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageCloseCaptionPlaceholder.string"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional float duration = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_duration(&has_bits); - _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional bool from_player = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_from_player(&has_bits); - _impl_.from_player_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 ent_index = 4 [default = -1]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_ent_index(&has_bits); - _impl_.ent_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageCloseCaptionPlaceholder::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageCloseCaptionPlaceholder) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string string = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_string().data(), static_cast(this->_internal_string().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageCloseCaptionPlaceholder.string"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_string(), target); - } - - // optional float duration = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_duration(), target); - } - - // optional bool from_player = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_from_player(), target); - } - - // optional int32 ent_index = 4 [default = -1]; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_ent_index(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageCloseCaptionPlaceholder) - return target; -} - -size_t CUserMessageCloseCaptionPlaceholder::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageCloseCaptionPlaceholder) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string string = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_string()); - } - - // optional float duration = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional bool from_player = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional int32 ent_index = 4 [default = -1]; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ent_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageCloseCaptionPlaceholder::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageCloseCaptionPlaceholder::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageCloseCaptionPlaceholder::GetClassData() const { return &_class_data_; } - - -void CUserMessageCloseCaptionPlaceholder::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageCloseCaptionPlaceholder) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_string(from._internal_string()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.duration_ = from._impl_.duration_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.from_player_ = from._impl_.from_player_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.ent_index_ = from._impl_.ent_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageCloseCaptionPlaceholder::CopyFrom(const CUserMessageCloseCaptionPlaceholder& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageCloseCaptionPlaceholder) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageCloseCaptionPlaceholder::IsInitialized() const { - return true; -} - -void CUserMessageCloseCaptionPlaceholder::InternalSwap(CUserMessageCloseCaptionPlaceholder* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.string_, lhs_arena, - &other->_impl_.string_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageCloseCaptionPlaceholder, _impl_.from_player_) - + sizeof(CUserMessageCloseCaptionPlaceholder::_impl_.from_player_) - - PROTOBUF_FIELD_OFFSET(CUserMessageCloseCaptionPlaceholder, _impl_.duration_)>( - reinterpret_cast(&_impl_.duration_), - reinterpret_cast(&other->_impl_.duration_)); - swap(_impl_.ent_index_, other->_impl_.ent_index_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageCloseCaptionPlaceholder::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[3]); -} - -// =================================================================== - -class CUserMessageCurrentTimescale::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_current(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMessageCurrentTimescale::CUserMessageCurrentTimescale(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageCurrentTimescale) -} -CUserMessageCurrentTimescale::CUserMessageCurrentTimescale(const CUserMessageCurrentTimescale& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageCurrentTimescale* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.current_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.current_ = from._impl_.current_; - // @@protoc_insertion_point(copy_constructor:CUserMessageCurrentTimescale) -} - -inline void CUserMessageCurrentTimescale::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.current_){0} - }; -} - -CUserMessageCurrentTimescale::~CUserMessageCurrentTimescale() { - // @@protoc_insertion_point(destructor:CUserMessageCurrentTimescale) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageCurrentTimescale::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMessageCurrentTimescale::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageCurrentTimescale::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageCurrentTimescale) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.current_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageCurrentTimescale::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float current = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_current(&has_bits); - _impl_.current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageCurrentTimescale::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageCurrentTimescale) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float current = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_current(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageCurrentTimescale) - return target; -} - -size_t CUserMessageCurrentTimescale::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageCurrentTimescale) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional float current = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageCurrentTimescale::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageCurrentTimescale::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageCurrentTimescale::GetClassData() const { return &_class_data_; } - - -void CUserMessageCurrentTimescale::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageCurrentTimescale) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_current()) { - _this->_internal_set_current(from._internal_current()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageCurrentTimescale::CopyFrom(const CUserMessageCurrentTimescale& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageCurrentTimescale) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageCurrentTimescale::IsInitialized() const { - return true; -} - -void CUserMessageCurrentTimescale::InternalSwap(CUserMessageCurrentTimescale* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.current_, other->_impl_.current_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageCurrentTimescale::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[4]); -} - -// =================================================================== - -class CUserMessageDesiredTimescale::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_desired(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_acceleration(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_minblendrate(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_blenddeltamultiplier(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CUserMessageDesiredTimescale::CUserMessageDesiredTimescale(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageDesiredTimescale) -} -CUserMessageDesiredTimescale::CUserMessageDesiredTimescale(const CUserMessageDesiredTimescale& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageDesiredTimescale* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.desired_){} - , decltype(_impl_.acceleration_){} - , decltype(_impl_.minblendrate_){} - , decltype(_impl_.blenddeltamultiplier_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.desired_, &from._impl_.desired_, - static_cast(reinterpret_cast(&_impl_.blenddeltamultiplier_) - - reinterpret_cast(&_impl_.desired_)) + sizeof(_impl_.blenddeltamultiplier_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageDesiredTimescale) -} - -inline void CUserMessageDesiredTimescale::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.desired_){0} - , decltype(_impl_.acceleration_){0} - , decltype(_impl_.minblendrate_){0} - , decltype(_impl_.blenddeltamultiplier_){0} - }; -} - -CUserMessageDesiredTimescale::~CUserMessageDesiredTimescale() { - // @@protoc_insertion_point(destructor:CUserMessageDesiredTimescale) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageDesiredTimescale::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMessageDesiredTimescale::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageDesiredTimescale::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageDesiredTimescale) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.desired_, 0, static_cast( - reinterpret_cast(&_impl_.blenddeltamultiplier_) - - reinterpret_cast(&_impl_.desired_)) + sizeof(_impl_.blenddeltamultiplier_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageDesiredTimescale::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float desired = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_desired(&has_bits); - _impl_.desired_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float acceleration = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_acceleration(&has_bits); - _impl_.acceleration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float minblendrate = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_minblendrate(&has_bits); - _impl_.minblendrate_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float blenddeltamultiplier = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_blenddeltamultiplier(&has_bits); - _impl_.blenddeltamultiplier_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageDesiredTimescale::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageDesiredTimescale) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float desired = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_desired(), target); - } - - // optional float acceleration = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_acceleration(), target); - } - - // optional float minblendrate = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_minblendrate(), target); - } - - // optional float blenddeltamultiplier = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_blenddeltamultiplier(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageDesiredTimescale) - return target; -} - -size_t CUserMessageDesiredTimescale::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageDesiredTimescale) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional float desired = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional float acceleration = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float minblendrate = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional float blenddeltamultiplier = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageDesiredTimescale::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageDesiredTimescale::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageDesiredTimescale::GetClassData() const { return &_class_data_; } - - -void CUserMessageDesiredTimescale::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageDesiredTimescale) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.desired_ = from._impl_.desired_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.acceleration_ = from._impl_.acceleration_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.minblendrate_ = from._impl_.minblendrate_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.blenddeltamultiplier_ = from._impl_.blenddeltamultiplier_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageDesiredTimescale::CopyFrom(const CUserMessageDesiredTimescale& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageDesiredTimescale) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageDesiredTimescale::IsInitialized() const { - return true; -} - -void CUserMessageDesiredTimescale::InternalSwap(CUserMessageDesiredTimescale* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageDesiredTimescale, _impl_.blenddeltamultiplier_) - + sizeof(CUserMessageDesiredTimescale::_impl_.blenddeltamultiplier_) - - PROTOBUF_FIELD_OFFSET(CUserMessageDesiredTimescale, _impl_.desired_)>( - reinterpret_cast(&_impl_.desired_), - reinterpret_cast(&other->_impl_.desired_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageDesiredTimescale::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[5]); -} - -// =================================================================== - -class CUserMessageFade::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_duration(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_hold_time(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_color(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CUserMessageFade::CUserMessageFade(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageFade) -} -CUserMessageFade::CUserMessageFade(const CUserMessageFade& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageFade* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.duration_){} - , decltype(_impl_.hold_time_){} - , decltype(_impl_.flags_){} - , decltype(_impl_.color_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.duration_, &from._impl_.duration_, - static_cast(reinterpret_cast(&_impl_.color_) - - reinterpret_cast(&_impl_.duration_)) + sizeof(_impl_.color_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageFade) -} - -inline void CUserMessageFade::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.duration_){0u} - , decltype(_impl_.hold_time_){0u} - , decltype(_impl_.flags_){0u} - , decltype(_impl_.color_){0u} - }; -} - -CUserMessageFade::~CUserMessageFade() { - // @@protoc_insertion_point(destructor:CUserMessageFade) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageFade::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMessageFade::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageFade::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageFade) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.duration_, 0, static_cast( - reinterpret_cast(&_impl_.color_) - - reinterpret_cast(&_impl_.duration_)) + sizeof(_impl_.color_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageFade::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 duration = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_duration(&has_bits); - _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 hold_time = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_hold_time(&has_bits); - _impl_.hold_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 flags = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 color = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_color(&has_bits); - _impl_.color_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageFade::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageFade) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 duration = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_duration(), target); - } - - // optional uint32 hold_time = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_hold_time(), target); - } - - // optional uint32 flags = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_flags(), target); - } - - // optional fixed32 color = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_color(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageFade) - return target; -} - -size_t CUserMessageFade::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageFade) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 duration = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_duration()); - } - - // optional uint32 hold_time = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_hold_time()); - } - - // optional uint32 flags = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags()); - } - - // optional fixed32 color = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageFade::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageFade::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageFade::GetClassData() const { return &_class_data_; } - - -void CUserMessageFade::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageFade) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.duration_ = from._impl_.duration_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.hold_time_ = from._impl_.hold_time_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.color_ = from._impl_.color_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageFade::CopyFrom(const CUserMessageFade& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageFade) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageFade::IsInitialized() const { - return true; -} - -void CUserMessageFade::InternalSwap(CUserMessageFade* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageFade, _impl_.color_) - + sizeof(CUserMessageFade::_impl_.color_) - - PROTOBUF_FIELD_OFFSET(CUserMessageFade, _impl_.duration_)>( - reinterpret_cast(&_impl_.duration_), - reinterpret_cast(&other->_impl_.duration_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageFade::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[6]); -} - -// =================================================================== - -class CUserMessageShake::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_command(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_amplitude(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_frequency(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_duration(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CUserMessageShake::CUserMessageShake(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageShake) -} -CUserMessageShake::CUserMessageShake(const CUserMessageShake& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageShake* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.command_){} - , decltype(_impl_.amplitude_){} - , decltype(_impl_.frequency_){} - , decltype(_impl_.duration_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.command_, &from._impl_.command_, - static_cast(reinterpret_cast(&_impl_.duration_) - - reinterpret_cast(&_impl_.command_)) + sizeof(_impl_.duration_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageShake) -} - -inline void CUserMessageShake::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.command_){0u} - , decltype(_impl_.amplitude_){0} - , decltype(_impl_.frequency_){0} - , decltype(_impl_.duration_){0} - }; -} - -CUserMessageShake::~CUserMessageShake() { - // @@protoc_insertion_point(destructor:CUserMessageShake) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageShake::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMessageShake::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageShake::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageShake) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.command_, 0, static_cast( - reinterpret_cast(&_impl_.duration_) - - reinterpret_cast(&_impl_.command_)) + sizeof(_impl_.duration_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageShake::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 command = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_command(&has_bits); - _impl_.command_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float amplitude = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_amplitude(&has_bits); - _impl_.amplitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float frequency = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_frequency(&has_bits); - _impl_.frequency_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float duration = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_duration(&has_bits); - _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageShake::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageShake) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 command = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_command(), target); - } - - // optional float amplitude = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_amplitude(), target); - } - - // optional float frequency = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_frequency(), target); - } - - // optional float duration = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_duration(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageShake) - return target; -} - -size_t CUserMessageShake::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageShake) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 command = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_command()); - } - - // optional float amplitude = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float frequency = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional float duration = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageShake::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageShake::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageShake::GetClassData() const { return &_class_data_; } - - -void CUserMessageShake::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageShake) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.command_ = from._impl_.command_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.amplitude_ = from._impl_.amplitude_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.frequency_ = from._impl_.frequency_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.duration_ = from._impl_.duration_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageShake::CopyFrom(const CUserMessageShake& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageShake) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageShake::IsInitialized() const { - return true; -} - -void CUserMessageShake::InternalSwap(CUserMessageShake* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageShake, _impl_.duration_) - + sizeof(CUserMessageShake::_impl_.duration_) - - PROTOBUF_FIELD_OFFSET(CUserMessageShake, _impl_.command_)>( - reinterpret_cast(&_impl_.command_), - reinterpret_cast(&other->_impl_.command_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageShake::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[7]); -} - -// =================================================================== - -class CUserMessageShakeDir::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CUserMessageShake& shake(const CUserMessageShakeDir* msg); - static void set_has_shake(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgVector& direction(const CUserMessageShakeDir* msg); - static void set_has_direction(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CUserMessageShake& -CUserMessageShakeDir::_Internal::shake(const CUserMessageShakeDir* msg) { - return *msg->_impl_.shake_; -} -const ::CMsgVector& -CUserMessageShakeDir::_Internal::direction(const CUserMessageShakeDir* msg) { - return *msg->_impl_.direction_; -} -void CUserMessageShakeDir::clear_direction() { - if (_impl_.direction_ != nullptr) _impl_.direction_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CUserMessageShakeDir::CUserMessageShakeDir(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageShakeDir) -} -CUserMessageShakeDir::CUserMessageShakeDir(const CUserMessageShakeDir& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageShakeDir* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.shake_){nullptr} - , decltype(_impl_.direction_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_shake()) { - _this->_impl_.shake_ = new ::CUserMessageShake(*from._impl_.shake_); - } - if (from._internal_has_direction()) { - _this->_impl_.direction_ = new ::CMsgVector(*from._impl_.direction_); - } - // @@protoc_insertion_point(copy_constructor:CUserMessageShakeDir) -} - -inline void CUserMessageShakeDir::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.shake_){nullptr} - , decltype(_impl_.direction_){nullptr} - }; -} - -CUserMessageShakeDir::~CUserMessageShakeDir() { - // @@protoc_insertion_point(destructor:CUserMessageShakeDir) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageShakeDir::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.shake_; - if (this != internal_default_instance()) delete _impl_.direction_; -} - -void CUserMessageShakeDir::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageShakeDir::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageShakeDir) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.shake_ != nullptr); - _impl_.shake_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.direction_ != nullptr); - _impl_.direction_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageShakeDir::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CUserMessageShake shake = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_shake(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector direction = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_direction(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageShakeDir::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageShakeDir) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CUserMessageShake shake = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::shake(this), - _Internal::shake(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector direction = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::direction(this), - _Internal::direction(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageShakeDir) - return target; -} - -size_t CUserMessageShakeDir::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageShakeDir) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CUserMessageShake shake = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.shake_); - } - - // optional .CMsgVector direction = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.direction_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageShakeDir::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageShakeDir::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageShakeDir::GetClassData() const { return &_class_data_; } - - -void CUserMessageShakeDir::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageShakeDir) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_shake()->::CUserMessageShake::MergeFrom( - from._internal_shake()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_direction()->::CMsgVector::MergeFrom( - from._internal_direction()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageShakeDir::CopyFrom(const CUserMessageShakeDir& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageShakeDir) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageShakeDir::IsInitialized() const { - return true; -} - -void CUserMessageShakeDir::InternalSwap(CUserMessageShakeDir* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageShakeDir, _impl_.direction_) - + sizeof(CUserMessageShakeDir::_impl_.direction_) - - PROTOBUF_FIELD_OFFSET(CUserMessageShakeDir, _impl_.shake_)>( - reinterpret_cast(&_impl_.shake_), - reinterpret_cast(&other->_impl_.shake_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageShakeDir::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[8]); -} - -// =================================================================== - -class CUserMessageWaterShake::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_command(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_amplitude(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_frequency(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_duration(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CUserMessageWaterShake::CUserMessageWaterShake(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageWaterShake) -} -CUserMessageWaterShake::CUserMessageWaterShake(const CUserMessageWaterShake& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageWaterShake* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.command_){} - , decltype(_impl_.amplitude_){} - , decltype(_impl_.frequency_){} - , decltype(_impl_.duration_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.command_, &from._impl_.command_, - static_cast(reinterpret_cast(&_impl_.duration_) - - reinterpret_cast(&_impl_.command_)) + sizeof(_impl_.duration_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageWaterShake) -} - -inline void CUserMessageWaterShake::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.command_){0u} - , decltype(_impl_.amplitude_){0} - , decltype(_impl_.frequency_){0} - , decltype(_impl_.duration_){0} - }; -} - -CUserMessageWaterShake::~CUserMessageWaterShake() { - // @@protoc_insertion_point(destructor:CUserMessageWaterShake) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageWaterShake::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMessageWaterShake::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageWaterShake::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageWaterShake) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.command_, 0, static_cast( - reinterpret_cast(&_impl_.duration_) - - reinterpret_cast(&_impl_.command_)) + sizeof(_impl_.duration_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageWaterShake::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 command = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_command(&has_bits); - _impl_.command_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float amplitude = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_amplitude(&has_bits); - _impl_.amplitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float frequency = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_frequency(&has_bits); - _impl_.frequency_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float duration = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_duration(&has_bits); - _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageWaterShake::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageWaterShake) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 command = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_command(), target); - } - - // optional float amplitude = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_amplitude(), target); - } - - // optional float frequency = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_frequency(), target); - } - - // optional float duration = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_duration(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageWaterShake) - return target; -} - -size_t CUserMessageWaterShake::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageWaterShake) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 command = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_command()); - } - - // optional float amplitude = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float frequency = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional float duration = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageWaterShake::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageWaterShake::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageWaterShake::GetClassData() const { return &_class_data_; } - - -void CUserMessageWaterShake::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageWaterShake) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.command_ = from._impl_.command_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.amplitude_ = from._impl_.amplitude_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.frequency_ = from._impl_.frequency_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.duration_ = from._impl_.duration_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageWaterShake::CopyFrom(const CUserMessageWaterShake& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageWaterShake) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageWaterShake::IsInitialized() const { - return true; -} - -void CUserMessageWaterShake::InternalSwap(CUserMessageWaterShake* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageWaterShake, _impl_.duration_) - + sizeof(CUserMessageWaterShake::_impl_.duration_) - - PROTOBUF_FIELD_OFFSET(CUserMessageWaterShake, _impl_.command_)>( - reinterpret_cast(&_impl_.command_), - reinterpret_cast(&other->_impl_.command_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageWaterShake::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[9]); -} - -// =================================================================== - -class CUserMessageScreenTilt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_command(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_ease_in_out(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgVector& angle(const CUserMessageScreenTilt* msg); - static void set_has_angle(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_duration(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_time(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -const ::CMsgVector& -CUserMessageScreenTilt::_Internal::angle(const CUserMessageScreenTilt* msg) { - return *msg->_impl_.angle_; -} -void CUserMessageScreenTilt::clear_angle() { - if (_impl_.angle_ != nullptr) _impl_.angle_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CUserMessageScreenTilt::CUserMessageScreenTilt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageScreenTilt) -} -CUserMessageScreenTilt::CUserMessageScreenTilt(const CUserMessageScreenTilt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageScreenTilt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.angle_){nullptr} - , decltype(_impl_.command_){} - , decltype(_impl_.ease_in_out_){} - , decltype(_impl_.duration_){} - , decltype(_impl_.time_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_angle()) { - _this->_impl_.angle_ = new ::CMsgVector(*from._impl_.angle_); - } - ::memcpy(&_impl_.command_, &from._impl_.command_, - static_cast(reinterpret_cast(&_impl_.time_) - - reinterpret_cast(&_impl_.command_)) + sizeof(_impl_.time_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageScreenTilt) -} - -inline void CUserMessageScreenTilt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.angle_){nullptr} - , decltype(_impl_.command_){0u} - , decltype(_impl_.ease_in_out_){false} - , decltype(_impl_.duration_){0} - , decltype(_impl_.time_){0} - }; -} - -CUserMessageScreenTilt::~CUserMessageScreenTilt() { - // @@protoc_insertion_point(destructor:CUserMessageScreenTilt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageScreenTilt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.angle_; -} - -void CUserMessageScreenTilt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageScreenTilt::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageScreenTilt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.angle_ != nullptr); - _impl_.angle_->Clear(); - } - if (cached_has_bits & 0x0000001eu) { - ::memset(&_impl_.command_, 0, static_cast( - reinterpret_cast(&_impl_.time_) - - reinterpret_cast(&_impl_.command_)) + sizeof(_impl_.time_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageScreenTilt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 command = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_command(&has_bits); - _impl_.command_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool ease_in_out = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_ease_in_out(&has_bits); - _impl_.ease_in_out_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector angle = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_angle(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float duration = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_duration(&has_bits); - _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float time = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_time(&has_bits); - _impl_.time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageScreenTilt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageScreenTilt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 command = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_command(), target); - } - - // optional bool ease_in_out = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_ease_in_out(), target); - } - - // optional .CMsgVector angle = 3; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::angle(this), - _Internal::angle(this).GetCachedSize(), target, stream); - } - - // optional float duration = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_duration(), target); - } - - // optional float time = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_time(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageScreenTilt) - return target; -} - -size_t CUserMessageScreenTilt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageScreenTilt) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional .CMsgVector angle = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.angle_); - } - - // optional uint32 command = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_command()); - } - - // optional bool ease_in_out = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional float duration = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - // optional float time = 5; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageScreenTilt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageScreenTilt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageScreenTilt::GetClassData() const { return &_class_data_; } - - -void CUserMessageScreenTilt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageScreenTilt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_angle()->::CMsgVector::MergeFrom( - from._internal_angle()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.command_ = from._impl_.command_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.ease_in_out_ = from._impl_.ease_in_out_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.duration_ = from._impl_.duration_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.time_ = from._impl_.time_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageScreenTilt::CopyFrom(const CUserMessageScreenTilt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageScreenTilt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageScreenTilt::IsInitialized() const { - return true; -} - -void CUserMessageScreenTilt::InternalSwap(CUserMessageScreenTilt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageScreenTilt, _impl_.time_) - + sizeof(CUserMessageScreenTilt::_impl_.time_) - - PROTOBUF_FIELD_OFFSET(CUserMessageScreenTilt, _impl_.angle_)>( - reinterpret_cast(&_impl_.angle_), - reinterpret_cast(&other->_impl_.angle_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageScreenTilt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[10]); -} - -// =================================================================== - -class CUserMessageSayText::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_playerindex(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_text(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_chat(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CUserMessageSayText::CUserMessageSayText(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageSayText) -} -CUserMessageSayText::CUserMessageSayText(const CUserMessageSayText& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageSayText* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - , decltype(_impl_.chat_){} - , decltype(_impl_.playerindex_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_text()) { - _this->_impl_.text_.Set(from._internal_text(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.chat_, &from._impl_.chat_, - static_cast(reinterpret_cast(&_impl_.playerindex_) - - reinterpret_cast(&_impl_.chat_)) + sizeof(_impl_.playerindex_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageSayText) -} - -inline void CUserMessageSayText::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - , decltype(_impl_.chat_){false} - , decltype(_impl_.playerindex_){-1} - }; - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessageSayText::~CUserMessageSayText() { - // @@protoc_insertion_point(destructor:CUserMessageSayText) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageSayText::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.text_.Destroy(); -} - -void CUserMessageSayText::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageSayText::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageSayText) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.text_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - _impl_.chat_ = false; - _impl_.playerindex_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageSayText::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 playerindex = 1 [default = -1]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_playerindex(&has_bits); - _impl_.playerindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string text = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_text(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageSayText.text"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool chat = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_chat(&has_bits); - _impl_.chat_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageSayText::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageSayText) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 playerindex = 1 [default = -1]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_playerindex(), target); - } - - // optional string text = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_text().data(), static_cast(this->_internal_text().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageSayText.text"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_text(), target); - } - - // optional bool chat = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_chat(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageSayText) - return target; -} - -size_t CUserMessageSayText::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageSayText) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string text = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_text()); - } - - // optional bool chat = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - // optional int32 playerindex = 1 [default = -1]; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_playerindex()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageSayText::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageSayText::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageSayText::GetClassData() const { return &_class_data_; } - - -void CUserMessageSayText::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageSayText) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_text(from._internal_text()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.chat_ = from._impl_.chat_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.playerindex_ = from._impl_.playerindex_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageSayText::CopyFrom(const CUserMessageSayText& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageSayText) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageSayText::IsInitialized() const { - return true; -} - -void CUserMessageSayText::InternalSwap(CUserMessageSayText* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.text_, lhs_arena, - &other->_impl_.text_, rhs_arena - ); - swap(_impl_.chat_, other->_impl_.chat_); - swap(_impl_.playerindex_, other->_impl_.playerindex_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageSayText::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[11]); -} - -// =================================================================== - -class CUserMessageSayText2::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_entityindex(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_chat(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_messagename(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_param1(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_param2(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_param3(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_param4(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CUserMessageSayText2::CUserMessageSayText2(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageSayText2) -} -CUserMessageSayText2::CUserMessageSayText2(const CUserMessageSayText2& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageSayText2* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.messagename_){} - , decltype(_impl_.param1_){} - , decltype(_impl_.param2_){} - , decltype(_impl_.param3_){} - , decltype(_impl_.param4_){} - , decltype(_impl_.chat_){} - , decltype(_impl_.entityindex_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.messagename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.messagename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_messagename()) { - _this->_impl_.messagename_.Set(from._internal_messagename(), - _this->GetArenaForAllocation()); - } - _impl_.param1_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.param1_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_param1()) { - _this->_impl_.param1_.Set(from._internal_param1(), - _this->GetArenaForAllocation()); - } - _impl_.param2_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.param2_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_param2()) { - _this->_impl_.param2_.Set(from._internal_param2(), - _this->GetArenaForAllocation()); - } - _impl_.param3_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.param3_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_param3()) { - _this->_impl_.param3_.Set(from._internal_param3(), - _this->GetArenaForAllocation()); - } - _impl_.param4_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.param4_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_param4()) { - _this->_impl_.param4_.Set(from._internal_param4(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.chat_, &from._impl_.chat_, - static_cast(reinterpret_cast(&_impl_.entityindex_) - - reinterpret_cast(&_impl_.chat_)) + sizeof(_impl_.entityindex_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageSayText2) -} - -inline void CUserMessageSayText2::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.messagename_){} - , decltype(_impl_.param1_){} - , decltype(_impl_.param2_){} - , decltype(_impl_.param3_){} - , decltype(_impl_.param4_){} - , decltype(_impl_.chat_){false} - , decltype(_impl_.entityindex_){-1} - }; - _impl_.messagename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.messagename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.param1_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.param1_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.param2_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.param2_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.param3_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.param3_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.param4_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.param4_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessageSayText2::~CUserMessageSayText2() { - // @@protoc_insertion_point(destructor:CUserMessageSayText2) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageSayText2::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.messagename_.Destroy(); - _impl_.param1_.Destroy(); - _impl_.param2_.Destroy(); - _impl_.param3_.Destroy(); - _impl_.param4_.Destroy(); -} - -void CUserMessageSayText2::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageSayText2::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageSayText2) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.messagename_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.param1_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.param2_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.param3_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000010u) { - _impl_.param4_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x00000060u) { - _impl_.chat_ = false; - _impl_.entityindex_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageSayText2::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 entityindex = 1 [default = -1]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_entityindex(&has_bits); - _impl_.entityindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool chat = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_chat(&has_bits); - _impl_.chat_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string messagename = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_messagename(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageSayText2.messagename"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string param1 = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_param1(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageSayText2.param1"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string param2 = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_param2(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageSayText2.param2"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string param3 = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_param3(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageSayText2.param3"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string param4 = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_param4(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageSayText2.param4"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageSayText2::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageSayText2) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 entityindex = 1 [default = -1]; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entityindex(), target); - } - - // optional bool chat = 2; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_chat(), target); - } - - // optional string messagename = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_messagename().data(), static_cast(this->_internal_messagename().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageSayText2.messagename"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_messagename(), target); - } - - // optional string param1 = 4; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_param1().data(), static_cast(this->_internal_param1().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageSayText2.param1"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_param1(), target); - } - - // optional string param2 = 5; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_param2().data(), static_cast(this->_internal_param2().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageSayText2.param2"); - target = stream->WriteStringMaybeAliased( - 5, this->_internal_param2(), target); - } - - // optional string param3 = 6; - if (cached_has_bits & 0x00000008u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_param3().data(), static_cast(this->_internal_param3().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageSayText2.param3"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_param3(), target); - } - - // optional string param4 = 7; - if (cached_has_bits & 0x00000010u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_param4().data(), static_cast(this->_internal_param4().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageSayText2.param4"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_param4(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageSayText2) - return target; -} - -size_t CUserMessageSayText2::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageSayText2) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional string messagename = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_messagename()); - } - - // optional string param1 = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_param1()); - } - - // optional string param2 = 5; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_param2()); - } - - // optional string param3 = 6; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_param3()); - } - - // optional string param4 = 7; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_param4()); - } - - // optional bool chat = 2; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 1; - } - - // optional int32 entityindex = 1 [default = -1]; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entityindex()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageSayText2::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageSayText2::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageSayText2::GetClassData() const { return &_class_data_; } - - -void CUserMessageSayText2::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageSayText2) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_messagename(from._internal_messagename()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_param1(from._internal_param1()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_param2(from._internal_param2()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_param3(from._internal_param3()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_set_param4(from._internal_param4()); - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.chat_ = from._impl_.chat_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.entityindex_ = from._impl_.entityindex_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageSayText2::CopyFrom(const CUserMessageSayText2& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageSayText2) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageSayText2::IsInitialized() const { - return true; -} - -void CUserMessageSayText2::InternalSwap(CUserMessageSayText2* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.messagename_, lhs_arena, - &other->_impl_.messagename_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.param1_, lhs_arena, - &other->_impl_.param1_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.param2_, lhs_arena, - &other->_impl_.param2_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.param3_, lhs_arena, - &other->_impl_.param3_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.param4_, lhs_arena, - &other->_impl_.param4_, rhs_arena - ); - swap(_impl_.chat_, other->_impl_.chat_); - swap(_impl_.entityindex_, other->_impl_.entityindex_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageSayText2::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[12]); -} - -// =================================================================== - -class CUserMessageHudMsg::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_channel(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_x(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_y(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_color1(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_color2(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_effect(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_message(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMessageHudMsg::CUserMessageHudMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageHudMsg) -} -CUserMessageHudMsg::CUserMessageHudMsg(const CUserMessageHudMsg& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageHudMsg* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.message_){} - , decltype(_impl_.channel_){} - , decltype(_impl_.x_){} - , decltype(_impl_.y_){} - , decltype(_impl_.color1_){} - , decltype(_impl_.color2_){} - , decltype(_impl_.effect_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_message()) { - _this->_impl_.message_.Set(from._internal_message(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.channel_, &from._impl_.channel_, - static_cast(reinterpret_cast(&_impl_.effect_) - - reinterpret_cast(&_impl_.channel_)) + sizeof(_impl_.effect_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageHudMsg) -} - -inline void CUserMessageHudMsg::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.message_){} - , decltype(_impl_.channel_){0u} - , decltype(_impl_.x_){0} - , decltype(_impl_.y_){0} - , decltype(_impl_.color1_){0u} - , decltype(_impl_.color2_){0u} - , decltype(_impl_.effect_){0u} - }; - _impl_.message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessageHudMsg::~CUserMessageHudMsg() { - // @@protoc_insertion_point(destructor:CUserMessageHudMsg) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageHudMsg::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.message_.Destroy(); -} - -void CUserMessageHudMsg::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageHudMsg::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageHudMsg) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.message_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000007eu) { - ::memset(&_impl_.channel_, 0, static_cast( - reinterpret_cast(&_impl_.effect_) - - reinterpret_cast(&_impl_.channel_)) + sizeof(_impl_.effect_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageHudMsg::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 channel = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_channel(&has_bits); - _impl_.channel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float x = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_x(&has_bits); - _impl_.x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float y = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_y(&has_bits); - _impl_.y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional fixed32 color1 = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_color1(&has_bits); - _impl_.color1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional fixed32 color2 = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_color2(&has_bits); - _impl_.color2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 effect = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_effect(&has_bits); - _impl_.effect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string message = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_message(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageHudMsg.message"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageHudMsg::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageHudMsg) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 channel = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_channel(), target); - } - - // optional float x = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_x(), target); - } - - // optional float y = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_y(), target); - } - - // optional fixed32 color1 = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_color1(), target); - } - - // optional fixed32 color2 = 5; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(5, this->_internal_color2(), target); - } - - // optional uint32 effect = 6; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_effect(), target); - } - - // optional string message = 11; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_message().data(), static_cast(this->_internal_message().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageHudMsg.message"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_message(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageHudMsg) - return target; -} - -size_t CUserMessageHudMsg::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageHudMsg) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional string message = 11; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_message()); - } - - // optional uint32 channel = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_channel()); - } - - // optional float x = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional float y = 3; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - // optional fixed32 color1 = 4; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + 4; - } - - // optional fixed32 color2 = 5; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional uint32 effect = 6; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_effect()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageHudMsg::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageHudMsg::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageHudMsg::GetClassData() const { return &_class_data_; } - - -void CUserMessageHudMsg::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageHudMsg) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_message(from._internal_message()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.channel_ = from._impl_.channel_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.x_ = from._impl_.x_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.y_ = from._impl_.y_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.color1_ = from._impl_.color1_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.color2_ = from._impl_.color2_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.effect_ = from._impl_.effect_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageHudMsg::CopyFrom(const CUserMessageHudMsg& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageHudMsg) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageHudMsg::IsInitialized() const { - return true; -} - -void CUserMessageHudMsg::InternalSwap(CUserMessageHudMsg* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.message_, lhs_arena, - &other->_impl_.message_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageHudMsg, _impl_.effect_) - + sizeof(CUserMessageHudMsg::_impl_.effect_) - - PROTOBUF_FIELD_OFFSET(CUserMessageHudMsg, _impl_.channel_)>( - reinterpret_cast(&_impl_.channel_), - reinterpret_cast(&other->_impl_.channel_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageHudMsg::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[13]); -} - -// =================================================================== - -class CUserMessageHudText::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_message(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMessageHudText::CUserMessageHudText(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageHudText) -} -CUserMessageHudText::CUserMessageHudText(const CUserMessageHudText& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageHudText* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.message_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_message()) { - _this->_impl_.message_.Set(from._internal_message(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CUserMessageHudText) -} - -inline void CUserMessageHudText::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.message_){} - }; - _impl_.message_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.message_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessageHudText::~CUserMessageHudText() { - // @@protoc_insertion_point(destructor:CUserMessageHudText) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageHudText::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.message_.Destroy(); -} - -void CUserMessageHudText::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageHudText::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageHudText) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.message_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageHudText::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string message = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_message(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageHudText.message"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageHudText::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageHudText) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string message = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_message().data(), static_cast(this->_internal_message().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageHudText.message"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_message(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageHudText) - return target; -} - -size_t CUserMessageHudText::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageHudText) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string message = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_message()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageHudText::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageHudText::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageHudText::GetClassData() const { return &_class_data_; } - - -void CUserMessageHudText::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageHudText) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_message()) { - _this->_internal_set_message(from._internal_message()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageHudText::CopyFrom(const CUserMessageHudText& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageHudText) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageHudText::IsInitialized() const { - return true; -} - -void CUserMessageHudText::InternalSwap(CUserMessageHudText* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.message_, lhs_arena, - &other->_impl_.message_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageHudText::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[14]); -} - -// =================================================================== - -class CUserMessageTextMsg::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_dest(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMessageTextMsg::CUserMessageTextMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageTextMsg) -} -CUserMessageTextMsg::CUserMessageTextMsg(const CUserMessageTextMsg& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageTextMsg* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.param_){from._impl_.param_} - , decltype(_impl_.dest_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.dest_ = from._impl_.dest_; - // @@protoc_insertion_point(copy_constructor:CUserMessageTextMsg) -} - -inline void CUserMessageTextMsg::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.param_){arena} - , decltype(_impl_.dest_){0u} - }; -} - -CUserMessageTextMsg::~CUserMessageTextMsg() { - // @@protoc_insertion_point(destructor:CUserMessageTextMsg) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageTextMsg::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.param_.~RepeatedPtrField(); -} - -void CUserMessageTextMsg::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageTextMsg::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageTextMsg) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.param_.Clear(); - _impl_.dest_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageTextMsg::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 dest = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_dest(&has_bits); - _impl_.dest_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated string param = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_param(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageTextMsg.param"); - #endif // !NDEBUG - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageTextMsg::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageTextMsg) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 dest = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_dest(), target); - } - - // repeated string param = 2; - for (int i = 0, n = this->_internal_param_size(); i < n; i++) { - const auto& s = this->_internal_param(i); - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - s.data(), static_cast(s.length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageTextMsg.param"); - target = stream->WriteString(2, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageTextMsg) - return target; -} - -size_t CUserMessageTextMsg::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageTextMsg) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated string param = 2; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.param_.size()); - for (int i = 0, n = _impl_.param_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - _impl_.param_.Get(i)); - } - - // optional uint32 dest = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_dest()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageTextMsg::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageTextMsg::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageTextMsg::GetClassData() const { return &_class_data_; } - - -void CUserMessageTextMsg::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageTextMsg) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.param_.MergeFrom(from._impl_.param_); - if (from._internal_has_dest()) { - _this->_internal_set_dest(from._internal_dest()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageTextMsg::CopyFrom(const CUserMessageTextMsg& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageTextMsg) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageTextMsg::IsInitialized() const { - return true; -} - -void CUserMessageTextMsg::InternalSwap(CUserMessageTextMsg* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.param_.InternalSwap(&other->_impl_.param_); - swap(_impl_.dest_, other->_impl_.dest_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageTextMsg::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[15]); -} - -// =================================================================== - -class CUserMessageGameTitle::_Internal { - public: -}; - -CUserMessageGameTitle::CUserMessageGameTitle(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CUserMessageGameTitle) -} -CUserMessageGameTitle::CUserMessageGameTitle(const CUserMessageGameTitle& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CUserMessageGameTitle* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CUserMessageGameTitle) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageGameTitle::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageGameTitle::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageGameTitle::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[16]); -} - -// =================================================================== - -class CUserMessageResetHUD::_Internal { - public: -}; - -CUserMessageResetHUD::CUserMessageResetHUD(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CUserMessageResetHUD) -} -CUserMessageResetHUD::CUserMessageResetHUD(const CUserMessageResetHUD& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CUserMessageResetHUD* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CUserMessageResetHUD) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageResetHUD::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageResetHUD::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageResetHUD::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[17]); -} - -// =================================================================== - -class CUserMessageSendAudio::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_soundname(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_stop(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CUserMessageSendAudio::CUserMessageSendAudio(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageSendAudio) -} -CUserMessageSendAudio::CUserMessageSendAudio(const CUserMessageSendAudio& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageSendAudio* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.soundname_){} - , decltype(_impl_.stop_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.soundname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.soundname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_soundname()) { - _this->_impl_.soundname_.Set(from._internal_soundname(), - _this->GetArenaForAllocation()); - } - _this->_impl_.stop_ = from._impl_.stop_; - // @@protoc_insertion_point(copy_constructor:CUserMessageSendAudio) -} - -inline void CUserMessageSendAudio::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.soundname_){} - , decltype(_impl_.stop_){false} - }; - _impl_.soundname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.soundname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessageSendAudio::~CUserMessageSendAudio() { - // @@protoc_insertion_point(destructor:CUserMessageSendAudio) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageSendAudio::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.soundname_.Destroy(); -} - -void CUserMessageSendAudio::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageSendAudio::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageSendAudio) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.soundname_.ClearNonDefaultToEmpty(); - } - _impl_.stop_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageSendAudio::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string soundname = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_soundname(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageSendAudio.soundname"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool stop = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_stop(&has_bits); - _impl_.stop_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageSendAudio::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageSendAudio) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string soundname = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_soundname().data(), static_cast(this->_internal_soundname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageSendAudio.soundname"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_soundname(), target); - } - - // optional bool stop = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_stop(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageSendAudio) - return target; -} - -size_t CUserMessageSendAudio::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageSendAudio) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string soundname = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_soundname()); - } - - // optional bool stop = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageSendAudio::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageSendAudio::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageSendAudio::GetClassData() const { return &_class_data_; } - - -void CUserMessageSendAudio::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageSendAudio) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_soundname(from._internal_soundname()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.stop_ = from._impl_.stop_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageSendAudio::CopyFrom(const CUserMessageSendAudio& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageSendAudio) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageSendAudio::IsInitialized() const { - return true; -} - -void CUserMessageSendAudio::InternalSwap(CUserMessageSendAudio* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.soundname_, lhs_arena, - &other->_impl_.soundname_, rhs_arena - ); - swap(_impl_.stop_, other->_impl_.stop_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageSendAudio::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[18]); -} - -// =================================================================== - -class CUserMessageAudioParameter::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_parameter_type(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_name_hash_code(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_int_value(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CUserMessageAudioParameter::CUserMessageAudioParameter(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageAudioParameter) -} -CUserMessageAudioParameter::CUserMessageAudioParameter(const CUserMessageAudioParameter& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageAudioParameter* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.parameter_type_){} - , decltype(_impl_.name_hash_code_){} - , decltype(_impl_.value_){} - , decltype(_impl_.int_value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.parameter_type_, &from._impl_.parameter_type_, - static_cast(reinterpret_cast(&_impl_.int_value_) - - reinterpret_cast(&_impl_.parameter_type_)) + sizeof(_impl_.int_value_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageAudioParameter) -} - -inline void CUserMessageAudioParameter::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.parameter_type_){0u} - , decltype(_impl_.name_hash_code_){0u} - , decltype(_impl_.value_){0} - , decltype(_impl_.int_value_){0u} - }; -} - -CUserMessageAudioParameter::~CUserMessageAudioParameter() { - // @@protoc_insertion_point(destructor:CUserMessageAudioParameter) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageAudioParameter::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMessageAudioParameter::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageAudioParameter::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageAudioParameter) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.parameter_type_, 0, static_cast( - reinterpret_cast(&_impl_.int_value_) - - reinterpret_cast(&_impl_.parameter_type_)) + sizeof(_impl_.int_value_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageAudioParameter::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 parameter_type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_parameter_type(&has_bits); - _impl_.parameter_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 name_hash_code = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_name_hash_code(&has_bits); - _impl_.name_hash_code_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float value = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_value(&has_bits); - _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 int_value = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_int_value(&has_bits); - _impl_.int_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageAudioParameter::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageAudioParameter) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 parameter_type = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_parameter_type(), target); - } - - // optional uint32 name_hash_code = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_name_hash_code(), target); - } - - // optional float value = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_value(), target); - } - - // optional uint32 int_value = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_int_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageAudioParameter) - return target; -} - -size_t CUserMessageAudioParameter::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageAudioParameter) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional uint32 parameter_type = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_parameter_type()); - } - - // optional uint32 name_hash_code = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_name_hash_code()); - } - - // optional float value = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional uint32 int_value = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_int_value()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageAudioParameter::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageAudioParameter::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageAudioParameter::GetClassData() const { return &_class_data_; } - - -void CUserMessageAudioParameter::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageAudioParameter) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.parameter_type_ = from._impl_.parameter_type_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.name_hash_code_ = from._impl_.name_hash_code_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.value_ = from._impl_.value_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.int_value_ = from._impl_.int_value_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageAudioParameter::CopyFrom(const CUserMessageAudioParameter& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageAudioParameter) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageAudioParameter::IsInitialized() const { - return true; -} - -void CUserMessageAudioParameter::InternalSwap(CUserMessageAudioParameter* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageAudioParameter, _impl_.int_value_) - + sizeof(CUserMessageAudioParameter::_impl_.int_value_) - - PROTOBUF_FIELD_OFFSET(CUserMessageAudioParameter, _impl_.parameter_type_)>( - reinterpret_cast(&_impl_.parameter_type_), - reinterpret_cast(&other->_impl_.parameter_type_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageAudioParameter::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[19]); -} - -// =================================================================== - -class CUserMessageVoiceMask::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_mod_enable(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMessageVoiceMask::CUserMessageVoiceMask(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageVoiceMask) -} -CUserMessageVoiceMask::CUserMessageVoiceMask(const CUserMessageVoiceMask& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageVoiceMask* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gamerules_masks_){from._impl_.gamerules_masks_} - , decltype(_impl_.ban_masks_){from._impl_.ban_masks_} - , decltype(_impl_.mod_enable_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.mod_enable_ = from._impl_.mod_enable_; - // @@protoc_insertion_point(copy_constructor:CUserMessageVoiceMask) -} - -inline void CUserMessageVoiceMask::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.gamerules_masks_){arena} - , decltype(_impl_.ban_masks_){arena} - , decltype(_impl_.mod_enable_){false} - }; -} - -CUserMessageVoiceMask::~CUserMessageVoiceMask() { - // @@protoc_insertion_point(destructor:CUserMessageVoiceMask) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageVoiceMask::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.gamerules_masks_.~RepeatedField(); - _impl_.ban_masks_.~RepeatedField(); -} - -void CUserMessageVoiceMask::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageVoiceMask::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageVoiceMask) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.gamerules_masks_.Clear(); - _impl_.ban_masks_.Clear(); - _impl_.mod_enable_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageVoiceMask::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated uint32 gamerules_masks = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_gamerules_masks(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<8>(ptr)); - } else if (static_cast(tag) == 10) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_gamerules_masks(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 ban_masks = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_ban_masks(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); - } else if (static_cast(tag) == 18) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_ban_masks(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool mod_enable = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_mod_enable(&has_bits); - _impl_.mod_enable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageVoiceMask::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageVoiceMask) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated uint32 gamerules_masks = 1; - for (int i = 0, n = this->_internal_gamerules_masks_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_gamerules_masks(i), target); - } - - // repeated uint32 ban_masks = 2; - for (int i = 0, n = this->_internal_ban_masks_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_ban_masks(i), target); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool mod_enable = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_mod_enable(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageVoiceMask) - return target; -} - -size_t CUserMessageVoiceMask::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageVoiceMask) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated uint32 gamerules_masks = 1; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.gamerules_masks_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_gamerules_masks_size()); - total_size += data_size; - } - - // repeated uint32 ban_masks = 2; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.ban_masks_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_ban_masks_size()); - total_size += data_size; - } - - // optional bool mod_enable = 3; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageVoiceMask::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageVoiceMask::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageVoiceMask::GetClassData() const { return &_class_data_; } - - -void CUserMessageVoiceMask::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageVoiceMask) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.gamerules_masks_.MergeFrom(from._impl_.gamerules_masks_); - _this->_impl_.ban_masks_.MergeFrom(from._impl_.ban_masks_); - if (from._internal_has_mod_enable()) { - _this->_internal_set_mod_enable(from._internal_mod_enable()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageVoiceMask::CopyFrom(const CUserMessageVoiceMask& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageVoiceMask) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageVoiceMask::IsInitialized() const { - return true; -} - -void CUserMessageVoiceMask::InternalSwap(CUserMessageVoiceMask* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.gamerules_masks_.InternalSwap(&other->_impl_.gamerules_masks_); - _impl_.ban_masks_.InternalSwap(&other->_impl_.ban_masks_); - swap(_impl_.mod_enable_, other->_impl_.mod_enable_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageVoiceMask::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[20]); -} - -// =================================================================== - -class CUserMessageRequestState::_Internal { - public: -}; - -CUserMessageRequestState::CUserMessageRequestState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CUserMessageRequestState) -} -CUserMessageRequestState::CUserMessageRequestState(const CUserMessageRequestState& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CUserMessageRequestState* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CUserMessageRequestState) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageRequestState::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageRequestState::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageRequestState::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[21]); -} - -// =================================================================== - -class CUserMessageRumble::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_index(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_flags(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CUserMessageRumble::CUserMessageRumble(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageRumble) -} -CUserMessageRumble::CUserMessageRumble(const CUserMessageRumble& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageRumble* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.index_){} - , decltype(_impl_.data_){} - , decltype(_impl_.flags_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.index_, &from._impl_.index_, - static_cast(reinterpret_cast(&_impl_.flags_) - - reinterpret_cast(&_impl_.index_)) + sizeof(_impl_.flags_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageRumble) -} - -inline void CUserMessageRumble::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.index_){0} - , decltype(_impl_.data_){0} - , decltype(_impl_.flags_){0} - }; -} - -CUserMessageRumble::~CUserMessageRumble() { - // @@protoc_insertion_point(destructor:CUserMessageRumble) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageRumble::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMessageRumble::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageRumble::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageRumble) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.index_, 0, static_cast( - reinterpret_cast(&_impl_.flags_) - - reinterpret_cast(&_impl_.index_)) + sizeof(_impl_.flags_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageRumble::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 index = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_index(&has_bits); - _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_data(&has_bits); - _impl_.data_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 flags = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_flags(&has_bits); - _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageRumble::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageRumble) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 index = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_index(), target); - } - - // optional int32 data = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_data(), target); - } - - // optional int32 flags = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_flags(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageRumble) - return target; -} - -size_t CUserMessageRumble::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageRumble) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 index = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_index()); - } - - // optional int32 data = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_data()); - } - - // optional int32 flags = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_flags()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageRumble::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageRumble::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageRumble::GetClassData() const { return &_class_data_; } - - -void CUserMessageRumble::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageRumble) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.index_ = from._impl_.index_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.data_ = from._impl_.data_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.flags_ = from._impl_.flags_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageRumble::CopyFrom(const CUserMessageRumble& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageRumble) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageRumble::IsInitialized() const { - return true; -} - -void CUserMessageRumble::InternalSwap(CUserMessageRumble* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageRumble, _impl_.flags_) - + sizeof(CUserMessageRumble::_impl_.flags_) - - PROTOBUF_FIELD_OFFSET(CUserMessageRumble, _impl_.index_)>( - reinterpret_cast(&_impl_.index_), - reinterpret_cast(&other->_impl_.index_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageRumble::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[22]); -} - -// =================================================================== - -class CUserMessageSayTextChannel::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_player(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_channel(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_text(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMessageSayTextChannel::CUserMessageSayTextChannel(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageSayTextChannel) -} -CUserMessageSayTextChannel::CUserMessageSayTextChannel(const CUserMessageSayTextChannel& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageSayTextChannel* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - , decltype(_impl_.player_){} - , decltype(_impl_.channel_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_text()) { - _this->_impl_.text_.Set(from._internal_text(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.player_, &from._impl_.player_, - static_cast(reinterpret_cast(&_impl_.channel_) - - reinterpret_cast(&_impl_.player_)) + sizeof(_impl_.channel_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageSayTextChannel) -} - -inline void CUserMessageSayTextChannel::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - , decltype(_impl_.player_){0} - , decltype(_impl_.channel_){0} - }; - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessageSayTextChannel::~CUserMessageSayTextChannel() { - // @@protoc_insertion_point(destructor:CUserMessageSayTextChannel) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageSayTextChannel::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.text_.Destroy(); -} - -void CUserMessageSayTextChannel::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageSayTextChannel::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageSayTextChannel) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.text_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.player_, 0, static_cast( - reinterpret_cast(&_impl_.channel_) - - reinterpret_cast(&_impl_.player_)) + sizeof(_impl_.channel_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageSayTextChannel::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 player = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_player(&has_bits); - _impl_.player_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 channel = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_channel(&has_bits); - _impl_.channel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string text = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_text(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageSayTextChannel.text"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageSayTextChannel::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageSayTextChannel) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 player = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_player(), target); - } - - // optional int32 channel = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_channel(), target); - } - - // optional string text = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_text().data(), static_cast(this->_internal_text().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageSayTextChannel.text"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_text(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageSayTextChannel) - return target; -} - -size_t CUserMessageSayTextChannel::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageSayTextChannel) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string text = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_text()); - } - - // optional int32 player = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_player()); - } - - // optional int32 channel = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_channel()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageSayTextChannel::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageSayTextChannel::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageSayTextChannel::GetClassData() const { return &_class_data_; } - - -void CUserMessageSayTextChannel::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageSayTextChannel) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_text(from._internal_text()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.player_ = from._impl_.player_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.channel_ = from._impl_.channel_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageSayTextChannel::CopyFrom(const CUserMessageSayTextChannel& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageSayTextChannel) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageSayTextChannel::IsInitialized() const { - return true; -} - -void CUserMessageSayTextChannel::InternalSwap(CUserMessageSayTextChannel* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.text_, lhs_arena, - &other->_impl_.text_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageSayTextChannel, _impl_.channel_) - + sizeof(CUserMessageSayTextChannel::_impl_.channel_) - - PROTOBUF_FIELD_OFFSET(CUserMessageSayTextChannel, _impl_.player_)>( - reinterpret_cast(&_impl_.player_), - reinterpret_cast(&other->_impl_.player_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageSayTextChannel::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[23]); -} - -// =================================================================== - -class CUserMessageColoredText::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_color(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_text(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_reset(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_context_player_slot(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_context_value(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_context_team_id(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CUserMessageColoredText::CUserMessageColoredText(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageColoredText) -} -CUserMessageColoredText::CUserMessageColoredText(const CUserMessageColoredText& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageColoredText* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - , decltype(_impl_.color_){} - , decltype(_impl_.reset_){} - , decltype(_impl_.context_value_){} - , decltype(_impl_.context_team_id_){} - , decltype(_impl_.context_player_slot_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_text()) { - _this->_impl_.text_.Set(from._internal_text(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.color_, &from._impl_.color_, - static_cast(reinterpret_cast(&_impl_.context_player_slot_) - - reinterpret_cast(&_impl_.color_)) + sizeof(_impl_.context_player_slot_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageColoredText) -} - -inline void CUserMessageColoredText::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - , decltype(_impl_.color_){0u} - , decltype(_impl_.reset_){false} - , decltype(_impl_.context_value_){0} - , decltype(_impl_.context_team_id_){0} - , decltype(_impl_.context_player_slot_){-1} - }; - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessageColoredText::~CUserMessageColoredText() { - // @@protoc_insertion_point(destructor:CUserMessageColoredText) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageColoredText::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.text_.Destroy(); -} - -void CUserMessageColoredText::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageColoredText::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageColoredText) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.text_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000003eu) { - ::memset(&_impl_.color_, 0, static_cast( - reinterpret_cast(&_impl_.context_team_id_) - - reinterpret_cast(&_impl_.color_)) + sizeof(_impl_.context_team_id_)); - _impl_.context_player_slot_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageColoredText::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 color = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_color(&has_bits); - _impl_.color_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string text = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_text(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageColoredText.text"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool reset = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_reset(&has_bits); - _impl_.reset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 context_player_slot = 4 [default = -1]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_context_player_slot(&has_bits); - _impl_.context_player_slot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 context_value = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_context_value(&has_bits); - _impl_.context_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 context_team_id = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_context_team_id(&has_bits); - _impl_.context_team_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageColoredText::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageColoredText) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 color = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_color(), target); - } - - // optional string text = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_text().data(), static_cast(this->_internal_text().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageColoredText.text"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_text(), target); - } - - // optional bool reset = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_reset(), target); - } - - // optional int32 context_player_slot = 4 [default = -1]; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_context_player_slot(), target); - } - - // optional int32 context_value = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_context_value(), target); - } - - // optional int32 context_team_id = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_context_team_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageColoredText) - return target; -} - -size_t CUserMessageColoredText::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageColoredText) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional string text = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_text()); - } - - // optional uint32 color = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_color()); - } - - // optional bool reset = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional int32 context_value = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_context_value()); - } - - // optional int32 context_team_id = 6; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_context_team_id()); - } - - // optional int32 context_player_slot = 4 [default = -1]; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_context_player_slot()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageColoredText::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageColoredText::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageColoredText::GetClassData() const { return &_class_data_; } - - -void CUserMessageColoredText::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageColoredText) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_text(from._internal_text()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.color_ = from._impl_.color_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.reset_ = from._impl_.reset_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.context_value_ = from._impl_.context_value_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.context_team_id_ = from._impl_.context_team_id_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.context_player_slot_ = from._impl_.context_player_slot_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageColoredText::CopyFrom(const CUserMessageColoredText& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageColoredText) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageColoredText::IsInitialized() const { - return true; -} - -void CUserMessageColoredText::InternalSwap(CUserMessageColoredText* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.text_, lhs_arena, - &other->_impl_.text_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageColoredText, _impl_.context_team_id_) - + sizeof(CUserMessageColoredText::_impl_.context_team_id_) - - PROTOBUF_FIELD_OFFSET(CUserMessageColoredText, _impl_.color_)>( - reinterpret_cast(&_impl_.color_), - reinterpret_cast(&other->_impl_.color_)); - swap(_impl_.context_player_slot_, other->_impl_.context_player_slot_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageColoredText::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[24]); -} - -// =================================================================== - -class CUserMessageItemPickup::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_itemname(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMessageItemPickup::CUserMessageItemPickup(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageItemPickup) -} -CUserMessageItemPickup::CUserMessageItemPickup(const CUserMessageItemPickup& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageItemPickup* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.itemname_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.itemname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.itemname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_itemname()) { - _this->_impl_.itemname_.Set(from._internal_itemname(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CUserMessageItemPickup) -} - -inline void CUserMessageItemPickup::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.itemname_){} - }; - _impl_.itemname_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.itemname_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessageItemPickup::~CUserMessageItemPickup() { - // @@protoc_insertion_point(destructor:CUserMessageItemPickup) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageItemPickup::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.itemname_.Destroy(); -} - -void CUserMessageItemPickup::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageItemPickup::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageItemPickup) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.itemname_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageItemPickup::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string itemname = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_itemname(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageItemPickup.itemname"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageItemPickup::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageItemPickup) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string itemname = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_itemname().data(), static_cast(this->_internal_itemname().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageItemPickup.itemname"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_itemname(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageItemPickup) - return target; -} - -size_t CUserMessageItemPickup::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageItemPickup) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string itemname = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_itemname()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageItemPickup::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageItemPickup::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageItemPickup::GetClassData() const { return &_class_data_; } - - -void CUserMessageItemPickup::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageItemPickup) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_itemname()) { - _this->_internal_set_itemname(from._internal_itemname()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageItemPickup::CopyFrom(const CUserMessageItemPickup& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageItemPickup) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageItemPickup::IsInitialized() const { - return true; -} - -void CUserMessageItemPickup::InternalSwap(CUserMessageItemPickup* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.itemname_, lhs_arena, - &other->_impl_.itemname_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageItemPickup::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[25]); -} - -// =================================================================== - -class CUserMessageAmmoDenied::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ammo_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMessageAmmoDenied::CUserMessageAmmoDenied(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageAmmoDenied) -} -CUserMessageAmmoDenied::CUserMessageAmmoDenied(const CUserMessageAmmoDenied& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageAmmoDenied* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ammo_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.ammo_id_ = from._impl_.ammo_id_; - // @@protoc_insertion_point(copy_constructor:CUserMessageAmmoDenied) -} - -inline void CUserMessageAmmoDenied::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.ammo_id_){0u} - }; -} - -CUserMessageAmmoDenied::~CUserMessageAmmoDenied() { - // @@protoc_insertion_point(destructor:CUserMessageAmmoDenied) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageAmmoDenied::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMessageAmmoDenied::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageAmmoDenied::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageAmmoDenied) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.ammo_id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageAmmoDenied::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 ammo_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_ammo_id(&has_bits); - _impl_.ammo_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageAmmoDenied::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageAmmoDenied) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 ammo_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_ammo_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageAmmoDenied) - return target; -} - -size_t CUserMessageAmmoDenied::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageAmmoDenied) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 ammo_id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ammo_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageAmmoDenied::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageAmmoDenied::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageAmmoDenied::GetClassData() const { return &_class_data_; } - - -void CUserMessageAmmoDenied::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageAmmoDenied) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_ammo_id()) { - _this->_internal_set_ammo_id(from._internal_ammo_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageAmmoDenied::CopyFrom(const CUserMessageAmmoDenied& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageAmmoDenied) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageAmmoDenied::IsInitialized() const { - return true; -} - -void CUserMessageAmmoDenied::InternalSwap(CUserMessageAmmoDenied* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.ammo_id_, other->_impl_.ammo_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageAmmoDenied::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[26]); -} - -// =================================================================== - -class CUserMessageShowMenu::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_validslots(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_displaytime(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_needmore(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_menustring(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMessageShowMenu::CUserMessageShowMenu(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageShowMenu) -} -CUserMessageShowMenu::CUserMessageShowMenu(const CUserMessageShowMenu& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageShowMenu* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.menustring_){} - , decltype(_impl_.validslots_){} - , decltype(_impl_.displaytime_){} - , decltype(_impl_.needmore_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.menustring_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.menustring_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_menustring()) { - _this->_impl_.menustring_.Set(from._internal_menustring(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.validslots_, &from._impl_.validslots_, - static_cast(reinterpret_cast(&_impl_.needmore_) - - reinterpret_cast(&_impl_.validslots_)) + sizeof(_impl_.needmore_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageShowMenu) -} - -inline void CUserMessageShowMenu::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.menustring_){} - , decltype(_impl_.validslots_){0u} - , decltype(_impl_.displaytime_){0u} - , decltype(_impl_.needmore_){false} - }; - _impl_.menustring_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.menustring_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessageShowMenu::~CUserMessageShowMenu() { - // @@protoc_insertion_point(destructor:CUserMessageShowMenu) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageShowMenu::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.menustring_.Destroy(); -} - -void CUserMessageShowMenu::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageShowMenu::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageShowMenu) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.menustring_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.validslots_, 0, static_cast( - reinterpret_cast(&_impl_.needmore_) - - reinterpret_cast(&_impl_.validslots_)) + sizeof(_impl_.needmore_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageShowMenu::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 validslots = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_validslots(&has_bits); - _impl_.validslots_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 displaytime = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_displaytime(&has_bits); - _impl_.displaytime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool needmore = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_needmore(&has_bits); - _impl_.needmore_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string menustring = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_menustring(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageShowMenu.menustring"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageShowMenu::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageShowMenu) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 validslots = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_validslots(), target); - } - - // optional uint32 displaytime = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_displaytime(), target); - } - - // optional bool needmore = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_needmore(), target); - } - - // optional string menustring = 4; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_menustring().data(), static_cast(this->_internal_menustring().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageShowMenu.menustring"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_menustring(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageShowMenu) - return target; -} - -size_t CUserMessageShowMenu::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageShowMenu) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string menustring = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_menustring()); - } - - // optional uint32 validslots = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_validslots()); - } - - // optional uint32 displaytime = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_displaytime()); - } - - // optional bool needmore = 3; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageShowMenu::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageShowMenu::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageShowMenu::GetClassData() const { return &_class_data_; } - - -void CUserMessageShowMenu::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageShowMenu) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_menustring(from._internal_menustring()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.validslots_ = from._impl_.validslots_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.displaytime_ = from._impl_.displaytime_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.needmore_ = from._impl_.needmore_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageShowMenu::CopyFrom(const CUserMessageShowMenu& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageShowMenu) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageShowMenu::IsInitialized() const { - return true; -} - -void CUserMessageShowMenu::InternalSwap(CUserMessageShowMenu* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.menustring_, lhs_arena, - &other->_impl_.menustring_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageShowMenu, _impl_.needmore_) - + sizeof(CUserMessageShowMenu::_impl_.needmore_) - - PROTOBUF_FIELD_OFFSET(CUserMessageShowMenu, _impl_.validslots_)>( - reinterpret_cast(&_impl_.validslots_), - reinterpret_cast(&other->_impl_.validslots_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageShowMenu::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[27]); -} - -// =================================================================== - -class CUserMessageCreditsMsg::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_rolltype(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_logo_length(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMessageCreditsMsg::CUserMessageCreditsMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageCreditsMsg) -} -CUserMessageCreditsMsg::CUserMessageCreditsMsg(const CUserMessageCreditsMsg& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageCreditsMsg* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.logo_length_){} - , decltype(_impl_.rolltype_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.logo_length_, &from._impl_.logo_length_, - static_cast(reinterpret_cast(&_impl_.rolltype_) - - reinterpret_cast(&_impl_.logo_length_)) + sizeof(_impl_.rolltype_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageCreditsMsg) -} - -inline void CUserMessageCreditsMsg::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.logo_length_){0} - , decltype(_impl_.rolltype_){-1} - }; -} - -CUserMessageCreditsMsg::~CUserMessageCreditsMsg() { - // @@protoc_insertion_point(destructor:CUserMessageCreditsMsg) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageCreditsMsg::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMessageCreditsMsg::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageCreditsMsg::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageCreditsMsg) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - _impl_.logo_length_ = 0; - _impl_.rolltype_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageCreditsMsg::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .eRollType rolltype = 1 [default = ROLL_NONE]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::eRollType_IsValid(val))) { - _internal_set_rolltype(static_cast<::eRollType>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // optional float logo_length = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_logo_length(&has_bits); - _impl_.logo_length_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageCreditsMsg::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageCreditsMsg) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .eRollType rolltype = 1 [default = ROLL_NONE]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_rolltype(), target); - } - - // optional float logo_length = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_logo_length(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageCreditsMsg) - return target; -} - -size_t CUserMessageCreditsMsg::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageCreditsMsg) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional float logo_length = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional .eRollType rolltype = 1 [default = ROLL_NONE]; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_rolltype()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageCreditsMsg::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageCreditsMsg::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageCreditsMsg::GetClassData() const { return &_class_data_; } - - -void CUserMessageCreditsMsg::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageCreditsMsg) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.logo_length_ = from._impl_.logo_length_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.rolltype_ = from._impl_.rolltype_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageCreditsMsg::CopyFrom(const CUserMessageCreditsMsg& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageCreditsMsg) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageCreditsMsg::IsInitialized() const { - return true; -} - -void CUserMessageCreditsMsg::InternalSwap(CUserMessageCreditsMsg* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.logo_length_, other->_impl_.logo_length_); - swap(_impl_.rolltype_, other->_impl_.rolltype_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageCreditsMsg::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[28]); -} - -// =================================================================== - -class CEntityMessagePlayJingle::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CEntityMsg& entity_msg(const CEntityMessagePlayJingle* msg); - static void set_has_entity_msg(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CEntityMsg& -CEntityMessagePlayJingle::_Internal::entity_msg(const CEntityMessagePlayJingle* msg) { - return *msg->_impl_.entity_msg_; -} -void CEntityMessagePlayJingle::clear_entity_msg() { - if (_impl_.entity_msg_ != nullptr) _impl_.entity_msg_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CEntityMessagePlayJingle::CEntityMessagePlayJingle(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CEntityMessagePlayJingle) -} -CEntityMessagePlayJingle::CEntityMessagePlayJingle(const CEntityMessagePlayJingle& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CEntityMessagePlayJingle* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entity_msg_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_entity_msg()) { - _this->_impl_.entity_msg_ = new ::CEntityMsg(*from._impl_.entity_msg_); - } - // @@protoc_insertion_point(copy_constructor:CEntityMessagePlayJingle) -} - -inline void CEntityMessagePlayJingle::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entity_msg_){nullptr} - }; -} - -CEntityMessagePlayJingle::~CEntityMessagePlayJingle() { - // @@protoc_insertion_point(destructor:CEntityMessagePlayJingle) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CEntityMessagePlayJingle::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.entity_msg_; -} - -void CEntityMessagePlayJingle::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CEntityMessagePlayJingle::Clear() { -// @@protoc_insertion_point(message_clear_start:CEntityMessagePlayJingle) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.entity_msg_ != nullptr); - _impl_.entity_msg_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CEntityMessagePlayJingle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CEntityMsg entity_msg = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_entity_msg(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CEntityMessagePlayJingle::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CEntityMessagePlayJingle) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CEntityMsg entity_msg = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::entity_msg(this), - _Internal::entity_msg(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CEntityMessagePlayJingle) - return target; -} - -size_t CEntityMessagePlayJingle::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CEntityMessagePlayJingle) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional .CEntityMsg entity_msg = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.entity_msg_); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEntityMessagePlayJingle::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CEntityMessagePlayJingle::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEntityMessagePlayJingle::GetClassData() const { return &_class_data_; } - - -void CEntityMessagePlayJingle::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CEntityMessagePlayJingle) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_entity_msg()) { - _this->_internal_mutable_entity_msg()->::CEntityMsg::MergeFrom( - from._internal_entity_msg()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CEntityMessagePlayJingle::CopyFrom(const CEntityMessagePlayJingle& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CEntityMessagePlayJingle) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CEntityMessagePlayJingle::IsInitialized() const { - return true; -} - -void CEntityMessagePlayJingle::InternalSwap(CEntityMessagePlayJingle* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.entity_msg_, other->_impl_.entity_msg_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CEntityMessagePlayJingle::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[29]); -} - -// =================================================================== - -class CEntityMessageScreenOverlay::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_start_effect(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CEntityMsg& entity_msg(const CEntityMessageScreenOverlay* msg); - static void set_has_entity_msg(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CEntityMsg& -CEntityMessageScreenOverlay::_Internal::entity_msg(const CEntityMessageScreenOverlay* msg) { - return *msg->_impl_.entity_msg_; -} -void CEntityMessageScreenOverlay::clear_entity_msg() { - if (_impl_.entity_msg_ != nullptr) _impl_.entity_msg_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CEntityMessageScreenOverlay::CEntityMessageScreenOverlay(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CEntityMessageScreenOverlay) -} -CEntityMessageScreenOverlay::CEntityMessageScreenOverlay(const CEntityMessageScreenOverlay& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CEntityMessageScreenOverlay* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entity_msg_){nullptr} - , decltype(_impl_.start_effect_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_entity_msg()) { - _this->_impl_.entity_msg_ = new ::CEntityMsg(*from._impl_.entity_msg_); - } - _this->_impl_.start_effect_ = from._impl_.start_effect_; - // @@protoc_insertion_point(copy_constructor:CEntityMessageScreenOverlay) -} - -inline void CEntityMessageScreenOverlay::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entity_msg_){nullptr} - , decltype(_impl_.start_effect_){false} - }; -} - -CEntityMessageScreenOverlay::~CEntityMessageScreenOverlay() { - // @@protoc_insertion_point(destructor:CEntityMessageScreenOverlay) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CEntityMessageScreenOverlay::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.entity_msg_; -} - -void CEntityMessageScreenOverlay::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CEntityMessageScreenOverlay::Clear() { -// @@protoc_insertion_point(message_clear_start:CEntityMessageScreenOverlay) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.entity_msg_ != nullptr); - _impl_.entity_msg_->Clear(); - } - _impl_.start_effect_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CEntityMessageScreenOverlay::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool start_effect = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_start_effect(&has_bits); - _impl_.start_effect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CEntityMsg entity_msg = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_entity_msg(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CEntityMessageScreenOverlay::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CEntityMessageScreenOverlay) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool start_effect = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_start_effect(), target); - } - - // optional .CEntityMsg entity_msg = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::entity_msg(this), - _Internal::entity_msg(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CEntityMessageScreenOverlay) - return target; -} - -size_t CEntityMessageScreenOverlay::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CEntityMessageScreenOverlay) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CEntityMsg entity_msg = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.entity_msg_); - } - - // optional bool start_effect = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEntityMessageScreenOverlay::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CEntityMessageScreenOverlay::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEntityMessageScreenOverlay::GetClassData() const { return &_class_data_; } - - -void CEntityMessageScreenOverlay::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CEntityMessageScreenOverlay) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_entity_msg()->::CEntityMsg::MergeFrom( - from._internal_entity_msg()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.start_effect_ = from._impl_.start_effect_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CEntityMessageScreenOverlay::CopyFrom(const CEntityMessageScreenOverlay& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CEntityMessageScreenOverlay) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CEntityMessageScreenOverlay::IsInitialized() const { - return true; -} - -void CEntityMessageScreenOverlay::InternalSwap(CEntityMessageScreenOverlay* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CEntityMessageScreenOverlay, _impl_.start_effect_) - + sizeof(CEntityMessageScreenOverlay::_impl_.start_effect_) - - PROTOBUF_FIELD_OFFSET(CEntityMessageScreenOverlay, _impl_.entity_msg_)>( - reinterpret_cast(&_impl_.entity_msg_), - reinterpret_cast(&other->_impl_.entity_msg_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CEntityMessageScreenOverlay::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[30]); -} - -// =================================================================== - -class CEntityMessageRemoveAllDecals::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_remove_decals(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CEntityMsg& entity_msg(const CEntityMessageRemoveAllDecals* msg); - static void set_has_entity_msg(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CEntityMsg& -CEntityMessageRemoveAllDecals::_Internal::entity_msg(const CEntityMessageRemoveAllDecals* msg) { - return *msg->_impl_.entity_msg_; -} -void CEntityMessageRemoveAllDecals::clear_entity_msg() { - if (_impl_.entity_msg_ != nullptr) _impl_.entity_msg_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CEntityMessageRemoveAllDecals::CEntityMessageRemoveAllDecals(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CEntityMessageRemoveAllDecals) -} -CEntityMessageRemoveAllDecals::CEntityMessageRemoveAllDecals(const CEntityMessageRemoveAllDecals& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CEntityMessageRemoveAllDecals* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entity_msg_){nullptr} - , decltype(_impl_.remove_decals_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_entity_msg()) { - _this->_impl_.entity_msg_ = new ::CEntityMsg(*from._impl_.entity_msg_); - } - _this->_impl_.remove_decals_ = from._impl_.remove_decals_; - // @@protoc_insertion_point(copy_constructor:CEntityMessageRemoveAllDecals) -} - -inline void CEntityMessageRemoveAllDecals::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.entity_msg_){nullptr} - , decltype(_impl_.remove_decals_){false} - }; -} - -CEntityMessageRemoveAllDecals::~CEntityMessageRemoveAllDecals() { - // @@protoc_insertion_point(destructor:CEntityMessageRemoveAllDecals) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CEntityMessageRemoveAllDecals::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.entity_msg_; -} - -void CEntityMessageRemoveAllDecals::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CEntityMessageRemoveAllDecals::Clear() { -// @@protoc_insertion_point(message_clear_start:CEntityMessageRemoveAllDecals) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.entity_msg_ != nullptr); - _impl_.entity_msg_->Clear(); - } - _impl_.remove_decals_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CEntityMessageRemoveAllDecals::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool remove_decals = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_remove_decals(&has_bits); - _impl_.remove_decals_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CEntityMsg entity_msg = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_entity_msg(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CEntityMessageRemoveAllDecals::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CEntityMessageRemoveAllDecals) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool remove_decals = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_remove_decals(), target); - } - - // optional .CEntityMsg entity_msg = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::entity_msg(this), - _Internal::entity_msg(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CEntityMessageRemoveAllDecals) - return target; -} - -size_t CEntityMessageRemoveAllDecals::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CEntityMessageRemoveAllDecals) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CEntityMsg entity_msg = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.entity_msg_); - } - - // optional bool remove_decals = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEntityMessageRemoveAllDecals::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CEntityMessageRemoveAllDecals::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEntityMessageRemoveAllDecals::GetClassData() const { return &_class_data_; } - - -void CEntityMessageRemoveAllDecals::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CEntityMessageRemoveAllDecals) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_entity_msg()->::CEntityMsg::MergeFrom( - from._internal_entity_msg()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.remove_decals_ = from._impl_.remove_decals_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CEntityMessageRemoveAllDecals::CopyFrom(const CEntityMessageRemoveAllDecals& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CEntityMessageRemoveAllDecals) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CEntityMessageRemoveAllDecals::IsInitialized() const { - return true; -} - -void CEntityMessageRemoveAllDecals::InternalSwap(CEntityMessageRemoveAllDecals* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CEntityMessageRemoveAllDecals, _impl_.remove_decals_) - + sizeof(CEntityMessageRemoveAllDecals::_impl_.remove_decals_) - - PROTOBUF_FIELD_OFFSET(CEntityMessageRemoveAllDecals, _impl_.entity_msg_)>( - reinterpret_cast(&_impl_.entity_msg_), - reinterpret_cast(&other->_impl_.entity_msg_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CEntityMessageRemoveAllDecals::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[31]); -} - -// =================================================================== - -class CEntityMessagePropagateForce::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& impulse(const CEntityMessagePropagateForce* msg); - static void set_has_impulse(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CEntityMsg& entity_msg(const CEntityMessagePropagateForce* msg); - static void set_has_entity_msg(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgVector& -CEntityMessagePropagateForce::_Internal::impulse(const CEntityMessagePropagateForce* msg) { - return *msg->_impl_.impulse_; -} -const ::CEntityMsg& -CEntityMessagePropagateForce::_Internal::entity_msg(const CEntityMessagePropagateForce* msg) { - return *msg->_impl_.entity_msg_; -} -void CEntityMessagePropagateForce::clear_impulse() { - if (_impl_.impulse_ != nullptr) _impl_.impulse_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CEntityMessagePropagateForce::clear_entity_msg() { - if (_impl_.entity_msg_ != nullptr) _impl_.entity_msg_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CEntityMessagePropagateForce::CEntityMessagePropagateForce(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CEntityMessagePropagateForce) -} -CEntityMessagePropagateForce::CEntityMessagePropagateForce(const CEntityMessagePropagateForce& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CEntityMessagePropagateForce* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.impulse_){nullptr} - , decltype(_impl_.entity_msg_){nullptr}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_impulse()) { - _this->_impl_.impulse_ = new ::CMsgVector(*from._impl_.impulse_); - } - if (from._internal_has_entity_msg()) { - _this->_impl_.entity_msg_ = new ::CEntityMsg(*from._impl_.entity_msg_); - } - // @@protoc_insertion_point(copy_constructor:CEntityMessagePropagateForce) -} - -inline void CEntityMessagePropagateForce::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.impulse_){nullptr} - , decltype(_impl_.entity_msg_){nullptr} - }; -} - -CEntityMessagePropagateForce::~CEntityMessagePropagateForce() { - // @@protoc_insertion_point(destructor:CEntityMessagePropagateForce) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CEntityMessagePropagateForce::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.impulse_; - if (this != internal_default_instance()) delete _impl_.entity_msg_; -} - -void CEntityMessagePropagateForce::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CEntityMessagePropagateForce::Clear() { -// @@protoc_insertion_point(message_clear_start:CEntityMessagePropagateForce) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.impulse_ != nullptr); - _impl_.impulse_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.entity_msg_ != nullptr); - _impl_.entity_msg_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CEntityMessagePropagateForce::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector impulse = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_impulse(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CEntityMsg entity_msg = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_entity_msg(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CEntityMessagePropagateForce::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CEntityMessagePropagateForce) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector impulse = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::impulse(this), - _Internal::impulse(this).GetCachedSize(), target, stream); - } - - // optional .CEntityMsg entity_msg = 2; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::entity_msg(this), - _Internal::entity_msg(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CEntityMessagePropagateForce) - return target; -} - -size_t CEntityMessagePropagateForce::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CEntityMessagePropagateForce) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgVector impulse = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.impulse_); - } - - // optional .CEntityMsg entity_msg = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.entity_msg_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEntityMessagePropagateForce::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CEntityMessagePropagateForce::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEntityMessagePropagateForce::GetClassData() const { return &_class_data_; } - - -void CEntityMessagePropagateForce::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CEntityMessagePropagateForce) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_impulse()->::CMsgVector::MergeFrom( - from._internal_impulse()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_entity_msg()->::CEntityMsg::MergeFrom( - from._internal_entity_msg()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CEntityMessagePropagateForce::CopyFrom(const CEntityMessagePropagateForce& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CEntityMessagePropagateForce) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CEntityMessagePropagateForce::IsInitialized() const { - return true; -} - -void CEntityMessagePropagateForce::InternalSwap(CEntityMessagePropagateForce* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CEntityMessagePropagateForce, _impl_.entity_msg_) - + sizeof(CEntityMessagePropagateForce::_impl_.entity_msg_) - - PROTOBUF_FIELD_OFFSET(CEntityMessagePropagateForce, _impl_.impulse_)>( - reinterpret_cast(&_impl_.impulse_), - reinterpret_cast(&other->_impl_.impulse_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CEntityMessagePropagateForce::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[32]); -} - -// =================================================================== - -class CEntityMessageDoSpark::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static const ::CMsgVector& origin(const CEntityMessageDoSpark* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_entityindex(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_radius(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_color(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_beams(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_thick(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_duration(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static const ::CEntityMsg& entity_msg(const CEntityMessageDoSpark* msg); - static void set_has_entity_msg(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgVector& -CEntityMessageDoSpark::_Internal::origin(const CEntityMessageDoSpark* msg) { - return *msg->_impl_.origin_; -} -const ::CEntityMsg& -CEntityMessageDoSpark::_Internal::entity_msg(const CEntityMessageDoSpark* msg) { - return *msg->_impl_.entity_msg_; -} -void CEntityMessageDoSpark::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CEntityMessageDoSpark::clear_entity_msg() { - if (_impl_.entity_msg_ != nullptr) _impl_.entity_msg_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CEntityMessageDoSpark::CEntityMessageDoSpark(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CEntityMessageDoSpark) -} -CEntityMessageDoSpark::CEntityMessageDoSpark(const CEntityMessageDoSpark& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CEntityMessageDoSpark* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.entity_msg_){nullptr} - , decltype(_impl_.radius_){} - , decltype(_impl_.color_){} - , decltype(_impl_.beams_){} - , decltype(_impl_.thick_){} - , decltype(_impl_.duration_){} - , decltype(_impl_.entityindex_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - if (from._internal_has_entity_msg()) { - _this->_impl_.entity_msg_ = new ::CEntityMsg(*from._impl_.entity_msg_); - } - ::memcpy(&_impl_.radius_, &from._impl_.radius_, - static_cast(reinterpret_cast(&_impl_.entityindex_) - - reinterpret_cast(&_impl_.radius_)) + sizeof(_impl_.entityindex_)); - // @@protoc_insertion_point(copy_constructor:CEntityMessageDoSpark) -} - -inline void CEntityMessageDoSpark::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.entity_msg_){nullptr} - , decltype(_impl_.radius_){0} - , decltype(_impl_.color_){0u} - , decltype(_impl_.beams_){0u} - , decltype(_impl_.thick_){0} - , decltype(_impl_.duration_){0} - , decltype(_impl_.entityindex_){-1} - }; -} - -CEntityMessageDoSpark::~CEntityMessageDoSpark() { - // @@protoc_insertion_point(destructor:CEntityMessageDoSpark) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CEntityMessageDoSpark::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.origin_; - if (this != internal_default_instance()) delete _impl_.entity_msg_; -} - -void CEntityMessageDoSpark::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CEntityMessageDoSpark::Clear() { -// @@protoc_insertion_point(message_clear_start:CEntityMessageDoSpark) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.entity_msg_ != nullptr); - _impl_.entity_msg_->Clear(); - } - } - if (cached_has_bits & 0x000000fcu) { - ::memset(&_impl_.radius_, 0, static_cast( - reinterpret_cast(&_impl_.duration_) - - reinterpret_cast(&_impl_.radius_)) + sizeof(_impl_.duration_)); - _impl_.entityindex_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CEntityMessageDoSpark::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional .CMsgVector origin = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 entityindex = 2 [default = -1]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_entityindex(&has_bits); - _impl_.entityindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float radius = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_radius(&has_bits); - _impl_.radius_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional fixed32 color = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_color(&has_bits); - _impl_.color_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional uint32 beams = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_beams(&has_bits); - _impl_.beams_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float thick = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { - _Internal::set_has_thick(&has_bits); - _impl_.thick_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float duration = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_duration(&has_bits); - _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional .CEntityMsg entity_msg = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_entity_msg(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CEntityMessageDoSpark::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CEntityMessageDoSpark) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - // optional int32 entityindex = 2 [default = -1]; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_entityindex(), target); - } - - // optional float radius = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_radius(), target); - } - - // optional fixed32 color = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(4, this->_internal_color(), target); - } - - // optional uint32 beams = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_beams(), target); - } - - // optional float thick = 6; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_thick(), target); - } - - // optional float duration = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_duration(), target); - } - - // optional .CEntityMsg entity_msg = 8; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, _Internal::entity_msg(this), - _Internal::entity_msg(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CEntityMessageDoSpark) - return target; -} - -size_t CEntityMessageDoSpark::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CEntityMessageDoSpark) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional .CMsgVector origin = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional .CEntityMsg entity_msg = 8; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.entity_msg_); - } - - // optional float radius = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional fixed32 color = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - // optional uint32 beams = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_beams()); - } - - // optional float thick = 6; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 4; - } - - // optional float duration = 7; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - // optional int32 entityindex = 2 [default = -1]; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entityindex()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEntityMessageDoSpark::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CEntityMessageDoSpark::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEntityMessageDoSpark::GetClassData() const { return &_class_data_; } - - -void CEntityMessageDoSpark::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CEntityMessageDoSpark) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_entity_msg()->::CEntityMsg::MergeFrom( - from._internal_entity_msg()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.radius_ = from._impl_.radius_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.color_ = from._impl_.color_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.beams_ = from._impl_.beams_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.thick_ = from._impl_.thick_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.duration_ = from._impl_.duration_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.entityindex_ = from._impl_.entityindex_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CEntityMessageDoSpark::CopyFrom(const CEntityMessageDoSpark& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CEntityMessageDoSpark) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CEntityMessageDoSpark::IsInitialized() const { - return true; -} - -void CEntityMessageDoSpark::InternalSwap(CEntityMessageDoSpark* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CEntityMessageDoSpark, _impl_.duration_) - + sizeof(CEntityMessageDoSpark::_impl_.duration_) - - PROTOBUF_FIELD_OFFSET(CEntityMessageDoSpark, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); - swap(_impl_.entityindex_, other->_impl_.entityindex_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CEntityMessageDoSpark::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[33]); -} - -// =================================================================== - -class CEntityMessageFixAngle::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_relative(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgQAngle& angle(const CEntityMessageFixAngle* msg); - static void set_has_angle(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CEntityMsg& entity_msg(const CEntityMessageFixAngle* msg); - static void set_has_entity_msg(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgQAngle& -CEntityMessageFixAngle::_Internal::angle(const CEntityMessageFixAngle* msg) { - return *msg->_impl_.angle_; -} -const ::CEntityMsg& -CEntityMessageFixAngle::_Internal::entity_msg(const CEntityMessageFixAngle* msg) { - return *msg->_impl_.entity_msg_; -} -void CEntityMessageFixAngle::clear_angle() { - if (_impl_.angle_ != nullptr) _impl_.angle_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CEntityMessageFixAngle::clear_entity_msg() { - if (_impl_.entity_msg_ != nullptr) _impl_.entity_msg_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CEntityMessageFixAngle::CEntityMessageFixAngle(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CEntityMessageFixAngle) -} -CEntityMessageFixAngle::CEntityMessageFixAngle(const CEntityMessageFixAngle& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CEntityMessageFixAngle* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.angle_){nullptr} - , decltype(_impl_.entity_msg_){nullptr} - , decltype(_impl_.relative_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_angle()) { - _this->_impl_.angle_ = new ::CMsgQAngle(*from._impl_.angle_); - } - if (from._internal_has_entity_msg()) { - _this->_impl_.entity_msg_ = new ::CEntityMsg(*from._impl_.entity_msg_); - } - _this->_impl_.relative_ = from._impl_.relative_; - // @@protoc_insertion_point(copy_constructor:CEntityMessageFixAngle) -} - -inline void CEntityMessageFixAngle::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.angle_){nullptr} - , decltype(_impl_.entity_msg_){nullptr} - , decltype(_impl_.relative_){false} - }; -} - -CEntityMessageFixAngle::~CEntityMessageFixAngle() { - // @@protoc_insertion_point(destructor:CEntityMessageFixAngle) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CEntityMessageFixAngle::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.angle_; - if (this != internal_default_instance()) delete _impl_.entity_msg_; -} - -void CEntityMessageFixAngle::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CEntityMessageFixAngle::Clear() { -// @@protoc_insertion_point(message_clear_start:CEntityMessageFixAngle) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.angle_ != nullptr); - _impl_.angle_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.entity_msg_ != nullptr); - _impl_.entity_msg_->Clear(); - } - } - _impl_.relative_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CEntityMessageFixAngle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool relative = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_relative(&has_bits); - _impl_.relative_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle angle = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_angle(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CEntityMsg entity_msg = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_entity_msg(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CEntityMessageFixAngle::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CEntityMessageFixAngle) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool relative = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_relative(), target); - } - - // optional .CMsgQAngle angle = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::angle(this), - _Internal::angle(this).GetCachedSize(), target, stream); - } - - // optional .CEntityMsg entity_msg = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::entity_msg(this), - _Internal::entity_msg(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CEntityMessageFixAngle) - return target; -} - -size_t CEntityMessageFixAngle::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CEntityMessageFixAngle) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .CMsgQAngle angle = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.angle_); - } - - // optional .CEntityMsg entity_msg = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.entity_msg_); - } - - // optional bool relative = 1; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CEntityMessageFixAngle::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CEntityMessageFixAngle::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CEntityMessageFixAngle::GetClassData() const { return &_class_data_; } - - -void CEntityMessageFixAngle::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CEntityMessageFixAngle) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_angle()->::CMsgQAngle::MergeFrom( - from._internal_angle()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_entity_msg()->::CEntityMsg::MergeFrom( - from._internal_entity_msg()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.relative_ = from._impl_.relative_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CEntityMessageFixAngle::CopyFrom(const CEntityMessageFixAngle& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CEntityMessageFixAngle) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CEntityMessageFixAngle::IsInitialized() const { - return true; -} - -void CEntityMessageFixAngle::InternalSwap(CEntityMessageFixAngle* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CEntityMessageFixAngle, _impl_.relative_) - + sizeof(CEntityMessageFixAngle::_impl_.relative_) - - PROTOBUF_FIELD_OFFSET(CEntityMessageFixAngle, _impl_.angle_)>( - reinterpret_cast(&_impl_.angle_), - reinterpret_cast(&other->_impl_.angle_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CEntityMessageFixAngle::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[34]); -} - -// =================================================================== - -class CUserMessageCameraTransition_Transition_DataDriven::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_filename(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_attach_ent_index(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_duration(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CUserMessageCameraTransition_Transition_DataDriven::CUserMessageCameraTransition_Transition_DataDriven(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageCameraTransition.Transition_DataDriven) -} -CUserMessageCameraTransition_Transition_DataDriven::CUserMessageCameraTransition_Transition_DataDriven(const CUserMessageCameraTransition_Transition_DataDriven& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageCameraTransition_Transition_DataDriven* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.filename_){} - , decltype(_impl_.duration_){} - , decltype(_impl_.attach_ent_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.filename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.filename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_filename()) { - _this->_impl_.filename_.Set(from._internal_filename(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.duration_, &from._impl_.duration_, - static_cast(reinterpret_cast(&_impl_.attach_ent_index_) - - reinterpret_cast(&_impl_.duration_)) + sizeof(_impl_.attach_ent_index_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageCameraTransition.Transition_DataDriven) -} - -inline void CUserMessageCameraTransition_Transition_DataDriven::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.filename_){} - , decltype(_impl_.duration_){0} - , decltype(_impl_.attach_ent_index_){-1} - }; - _impl_.filename_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.filename_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessageCameraTransition_Transition_DataDriven::~CUserMessageCameraTransition_Transition_DataDriven() { - // @@protoc_insertion_point(destructor:CUserMessageCameraTransition.Transition_DataDriven) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageCameraTransition_Transition_DataDriven::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.filename_.Destroy(); -} - -void CUserMessageCameraTransition_Transition_DataDriven::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageCameraTransition_Transition_DataDriven::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageCameraTransition.Transition_DataDriven) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.filename_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - _impl_.duration_ = 0; - _impl_.attach_ent_index_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageCameraTransition_Transition_DataDriven::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string filename = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_filename(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageCameraTransition.Transition_DataDriven.filename"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 attach_ent_index = 2 [default = -1]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_attach_ent_index(&has_bits); - _impl_.attach_ent_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float duration = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_duration(&has_bits); - _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageCameraTransition_Transition_DataDriven::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageCameraTransition.Transition_DataDriven) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string filename = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_filename().data(), static_cast(this->_internal_filename().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageCameraTransition.Transition_DataDriven.filename"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_filename(), target); - } - - // optional int32 attach_ent_index = 2 [default = -1]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_attach_ent_index(), target); - } - - // optional float duration = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_duration(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageCameraTransition.Transition_DataDriven) - return target; -} - -size_t CUserMessageCameraTransition_Transition_DataDriven::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageCameraTransition.Transition_DataDriven) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string filename = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_filename()); - } - - // optional float duration = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional int32 attach_ent_index = 2 [default = -1]; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_attach_ent_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageCameraTransition_Transition_DataDriven::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageCameraTransition_Transition_DataDriven::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageCameraTransition_Transition_DataDriven::GetClassData() const { return &_class_data_; } - - -void CUserMessageCameraTransition_Transition_DataDriven::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageCameraTransition.Transition_DataDriven) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_filename(from._internal_filename()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.duration_ = from._impl_.duration_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.attach_ent_index_ = from._impl_.attach_ent_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageCameraTransition_Transition_DataDriven::CopyFrom(const CUserMessageCameraTransition_Transition_DataDriven& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageCameraTransition.Transition_DataDriven) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageCameraTransition_Transition_DataDriven::IsInitialized() const { - return true; -} - -void CUserMessageCameraTransition_Transition_DataDriven::InternalSwap(CUserMessageCameraTransition_Transition_DataDriven* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.filename_, lhs_arena, - &other->_impl_.filename_, rhs_arena - ); - swap(_impl_.duration_, other->_impl_.duration_); - swap(_impl_.attach_ent_index_, other->_impl_.attach_ent_index_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageCameraTransition_Transition_DataDriven::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[35]); -} - -// =================================================================== - -class CUserMessageCameraTransition::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_camera_type(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_duration(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CUserMessageCameraTransition_Transition_DataDriven& params_data_driven(const CUserMessageCameraTransition* msg); - static void set_has_params_data_driven(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CUserMessageCameraTransition_Transition_DataDriven& -CUserMessageCameraTransition::_Internal::params_data_driven(const CUserMessageCameraTransition* msg) { - return *msg->_impl_.params_data_driven_; -} -CUserMessageCameraTransition::CUserMessageCameraTransition(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageCameraTransition) -} -CUserMessageCameraTransition::CUserMessageCameraTransition(const CUserMessageCameraTransition& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageCameraTransition* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.params_data_driven_){nullptr} - , decltype(_impl_.camera_type_){} - , decltype(_impl_.duration_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_params_data_driven()) { - _this->_impl_.params_data_driven_ = new ::CUserMessageCameraTransition_Transition_DataDriven(*from._impl_.params_data_driven_); - } - ::memcpy(&_impl_.camera_type_, &from._impl_.camera_type_, - static_cast(reinterpret_cast(&_impl_.duration_) - - reinterpret_cast(&_impl_.camera_type_)) + sizeof(_impl_.duration_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageCameraTransition) -} - -inline void CUserMessageCameraTransition::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.params_data_driven_){nullptr} - , decltype(_impl_.camera_type_){0u} - , decltype(_impl_.duration_){0} - }; -} - -CUserMessageCameraTransition::~CUserMessageCameraTransition() { - // @@protoc_insertion_point(destructor:CUserMessageCameraTransition) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageCameraTransition::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.params_data_driven_; -} - -void CUserMessageCameraTransition::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageCameraTransition::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageCameraTransition) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.params_data_driven_ != nullptr); - _impl_.params_data_driven_->Clear(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.camera_type_, 0, static_cast( - reinterpret_cast(&_impl_.duration_) - - reinterpret_cast(&_impl_.camera_type_)) + sizeof(_impl_.duration_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageCameraTransition::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 camera_type = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_camera_type(&has_bits); - _impl_.camera_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float duration = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_duration(&has_bits); - _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional .CUserMessageCameraTransition.Transition_DataDriven params_data_driven = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_params_data_driven(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageCameraTransition::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageCameraTransition) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 camera_type = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_camera_type(), target); - } - - // optional float duration = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_duration(), target); - } - - // optional .CUserMessageCameraTransition.Transition_DataDriven params_data_driven = 3; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::params_data_driven(this), - _Internal::params_data_driven(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageCameraTransition) - return target; -} - -size_t CUserMessageCameraTransition::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageCameraTransition) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .CUserMessageCameraTransition.Transition_DataDriven params_data_driven = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.params_data_driven_); - } - - // optional uint32 camera_type = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_camera_type()); - } - - // optional float duration = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageCameraTransition::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageCameraTransition::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageCameraTransition::GetClassData() const { return &_class_data_; } - - -void CUserMessageCameraTransition::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageCameraTransition) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_params_data_driven()->::CUserMessageCameraTransition_Transition_DataDriven::MergeFrom( - from._internal_params_data_driven()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.camera_type_ = from._impl_.camera_type_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.duration_ = from._impl_.duration_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageCameraTransition::CopyFrom(const CUserMessageCameraTransition& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageCameraTransition) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageCameraTransition::IsInitialized() const { - return true; -} - -void CUserMessageCameraTransition::InternalSwap(CUserMessageCameraTransition* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageCameraTransition, _impl_.duration_) - + sizeof(CUserMessageCameraTransition::_impl_.duration_) - - PROTOBUF_FIELD_OFFSET(CUserMessageCameraTransition, _impl_.params_data_driven_)>( - reinterpret_cast(&_impl_.params_data_driven_), - reinterpret_cast(&other->_impl_.params_data_driven_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageCameraTransition::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[36]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_ReleaseParticleIndex::_Internal { - public: -}; - -CUserMsg_ParticleManager_ReleaseParticleIndex::CUserMsg_ParticleManager_ReleaseParticleIndex(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.ReleaseParticleIndex) -} -CUserMsg_ParticleManager_ReleaseParticleIndex::CUserMsg_ParticleManager_ReleaseParticleIndex(const CUserMsg_ParticleManager_ReleaseParticleIndex& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CUserMsg_ParticleManager_ReleaseParticleIndex* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.ReleaseParticleIndex) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_ReleaseParticleIndex::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_ReleaseParticleIndex::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_ReleaseParticleIndex::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[37]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_CreateParticle::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_particle_name_index(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_attach_type(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_entity_handle(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_entity_handle_for_modifiers(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_apply_voice_ban_rules(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_team_behavior(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_control_point_configuration(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_cluster(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_endcap_time(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static const ::CMsgVector& aggregation_position(const CUserMsg_ParticleManager_CreateParticle* msg); - static void set_has_aggregation_position(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgVector& -CUserMsg_ParticleManager_CreateParticle::_Internal::aggregation_position(const CUserMsg_ParticleManager_CreateParticle* msg) { - return *msg->_impl_.aggregation_position_; -} -void CUserMsg_ParticleManager_CreateParticle::clear_aggregation_position() { - if (_impl_.aggregation_position_ != nullptr) _impl_.aggregation_position_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CUserMsg_ParticleManager_CreateParticle::CUserMsg_ParticleManager_CreateParticle(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.CreateParticle) -} -CUserMsg_ParticleManager_CreateParticle::CUserMsg_ParticleManager_CreateParticle(const CUserMsg_ParticleManager_CreateParticle& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_CreateParticle* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.control_point_configuration_){} - , decltype(_impl_.aggregation_position_){nullptr} - , decltype(_impl_.particle_name_index_){} - , decltype(_impl_.attach_type_){} - , decltype(_impl_.team_behavior_){} - , decltype(_impl_.apply_voice_ban_rules_){} - , decltype(_impl_.cluster_){} - , decltype(_impl_.endcap_time_){} - , decltype(_impl_.entity_handle_){} - , decltype(_impl_.entity_handle_for_modifiers_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.control_point_configuration_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.control_point_configuration_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_control_point_configuration()) { - _this->_impl_.control_point_configuration_.Set(from._internal_control_point_configuration(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_aggregation_position()) { - _this->_impl_.aggregation_position_ = new ::CMsgVector(*from._impl_.aggregation_position_); - } - ::memcpy(&_impl_.particle_name_index_, &from._impl_.particle_name_index_, - static_cast(reinterpret_cast(&_impl_.entity_handle_for_modifiers_) - - reinterpret_cast(&_impl_.particle_name_index_)) + sizeof(_impl_.entity_handle_for_modifiers_)); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.CreateParticle) -} - -inline void CUserMsg_ParticleManager_CreateParticle::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.control_point_configuration_){} - , decltype(_impl_.aggregation_position_){nullptr} - , decltype(_impl_.particle_name_index_){uint64_t{0u}} - , decltype(_impl_.attach_type_){0} - , decltype(_impl_.team_behavior_){0} - , decltype(_impl_.apply_voice_ban_rules_){false} - , decltype(_impl_.cluster_){false} - , decltype(_impl_.endcap_time_){0} - , decltype(_impl_.entity_handle_){16777215u} - , decltype(_impl_.entity_handle_for_modifiers_){16777215u} - }; - _impl_.control_point_configuration_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.control_point_configuration_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMsg_ParticleManager_CreateParticle::~CUserMsg_ParticleManager_CreateParticle() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.CreateParticle) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_CreateParticle::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.control_point_configuration_.Destroy(); - if (this != internal_default_instance()) delete _impl_.aggregation_position_; -} - -void CUserMsg_ParticleManager_CreateParticle::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_CreateParticle::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.CreateParticle) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.control_point_configuration_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.aggregation_position_ != nullptr); - _impl_.aggregation_position_->Clear(); - } - } - if (cached_has_bits & 0x000000fcu) { - ::memset(&_impl_.particle_name_index_, 0, static_cast( - reinterpret_cast(&_impl_.endcap_time_) - - reinterpret_cast(&_impl_.particle_name_index_)) + sizeof(_impl_.endcap_time_)); - } - if (cached_has_bits & 0x00000300u) { - _impl_.entity_handle_ = 16777215u; - _impl_.entity_handle_for_modifiers_ = 16777215u; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_CreateParticle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 particle_name_index = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_particle_name_index(&has_bits); - _impl_.particle_name_index_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional int32 attach_type = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_attach_type(&has_bits); - _impl_.attach_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 entity_handle = 3 [default = 16777215]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_entity_handle(&has_bits); - _impl_.entity_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 entity_handle_for_modifiers = 4 [default = 16777215]; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_entity_handle_for_modifiers(&has_bits); - _impl_.entity_handle_for_modifiers_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool apply_voice_ban_rules = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_apply_voice_ban_rules(&has_bits); - _impl_.apply_voice_ban_rules_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 team_behavior = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_team_behavior(&has_bits); - _impl_.team_behavior_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string control_point_configuration = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_control_point_configuration(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.CreateParticle.control_point_configuration"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool cluster = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_cluster(&has_bits); - _impl_.cluster_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float endcap_time = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - _Internal::set_has_endcap_time(&has_bits); - _impl_.endcap_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional .CMsgVector aggregation_position = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr = ctx->ParseMessage(_internal_mutable_aggregation_position(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_CreateParticle::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.CreateParticle) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 particle_name_index = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_particle_name_index(), target); - } - - // optional int32 attach_type = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_attach_type(), target); - } - - // optional uint32 entity_handle = 3 [default = 16777215]; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_entity_handle(), target); - } - - // optional uint32 entity_handle_for_modifiers = 4 [default = 16777215]; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_entity_handle_for_modifiers(), target); - } - - // optional bool apply_voice_ban_rules = 5; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_apply_voice_ban_rules(), target); - } - - // optional int32 team_behavior = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_team_behavior(), target); - } - - // optional string control_point_configuration = 7; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_control_point_configuration().data(), static_cast(this->_internal_control_point_configuration().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMsg_ParticleManager.CreateParticle.control_point_configuration"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_control_point_configuration(), target); - } - - // optional bool cluster = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_cluster(), target); - } - - // optional float endcap_time = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_endcap_time(), target); - } - - // optional .CMsgVector aggregation_position = 10; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, _Internal::aggregation_position(this), - _Internal::aggregation_position(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.CreateParticle) - return target; -} - -size_t CUserMsg_ParticleManager_CreateParticle::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.CreateParticle) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string control_point_configuration = 7; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_control_point_configuration()); - } - - // optional .CMsgVector aggregation_position = 10; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.aggregation_position_); - } - - // optional fixed64 particle_name_index = 1; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 8; - } - - // optional int32 attach_type = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_attach_type()); - } - - // optional int32 team_behavior = 6; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_team_behavior()); - } - - // optional bool apply_voice_ban_rules = 5; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 1; - } - - // optional bool cluster = 8; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 1; - } - - // optional float endcap_time = 9; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 4; - } - - } - if (cached_has_bits & 0x00000300u) { - // optional uint32 entity_handle = 3 [default = 16777215]; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entity_handle()); - } - - // optional uint32 entity_handle_for_modifiers = 4 [default = 16777215]; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entity_handle_for_modifiers()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_CreateParticle::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_CreateParticle::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_CreateParticle::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_CreateParticle::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.CreateParticle) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_control_point_configuration(from._internal_control_point_configuration()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_aggregation_position()->::CMsgVector::MergeFrom( - from._internal_aggregation_position()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.particle_name_index_ = from._impl_.particle_name_index_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.attach_type_ = from._impl_.attach_type_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.team_behavior_ = from._impl_.team_behavior_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.apply_voice_ban_rules_ = from._impl_.apply_voice_ban_rules_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.cluster_ = from._impl_.cluster_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.endcap_time_ = from._impl_.endcap_time_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000300u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.entity_handle_ = from._impl_.entity_handle_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.entity_handle_for_modifiers_ = from._impl_.entity_handle_for_modifiers_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_CreateParticle::CopyFrom(const CUserMsg_ParticleManager_CreateParticle& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.CreateParticle) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_CreateParticle::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_CreateParticle::InternalSwap(CUserMsg_ParticleManager_CreateParticle* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.control_point_configuration_, lhs_arena, - &other->_impl_.control_point_configuration_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_CreateParticle, _impl_.endcap_time_) - + sizeof(CUserMsg_ParticleManager_CreateParticle::_impl_.endcap_time_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_CreateParticle, _impl_.aggregation_position_)>( - reinterpret_cast(&_impl_.aggregation_position_), - reinterpret_cast(&other->_impl_.aggregation_position_)); - swap(_impl_.entity_handle_, other->_impl_.entity_handle_); - swap(_impl_.entity_handle_for_modifiers_, other->_impl_.entity_handle_for_modifiers_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_CreateParticle::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[38]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_DestroyParticle::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_destroy_immediately(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMsg_ParticleManager_DestroyParticle::CUserMsg_ParticleManager_DestroyParticle(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.DestroyParticle) -} -CUserMsg_ParticleManager_DestroyParticle::CUserMsg_ParticleManager_DestroyParticle(const CUserMsg_ParticleManager_DestroyParticle& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_DestroyParticle* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.destroy_immediately_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.destroy_immediately_ = from._impl_.destroy_immediately_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.DestroyParticle) -} - -inline void CUserMsg_ParticleManager_DestroyParticle::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.destroy_immediately_){false} - }; -} - -CUserMsg_ParticleManager_DestroyParticle::~CUserMsg_ParticleManager_DestroyParticle() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.DestroyParticle) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_DestroyParticle::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMsg_ParticleManager_DestroyParticle::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_DestroyParticle::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.DestroyParticle) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.destroy_immediately_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_DestroyParticle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool destroy_immediately = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_destroy_immediately(&has_bits); - _impl_.destroy_immediately_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_DestroyParticle::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.DestroyParticle) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool destroy_immediately = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_destroy_immediately(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.DestroyParticle) - return target; -} - -size_t CUserMsg_ParticleManager_DestroyParticle::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.DestroyParticle) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bool destroy_immediately = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_DestroyParticle::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_DestroyParticle::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_DestroyParticle::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_DestroyParticle::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.DestroyParticle) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_destroy_immediately()) { - _this->_internal_set_destroy_immediately(from._internal_destroy_immediately()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_DestroyParticle::CopyFrom(const CUserMsg_ParticleManager_DestroyParticle& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.DestroyParticle) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_DestroyParticle::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_DestroyParticle::InternalSwap(CUserMsg_ParticleManager_DestroyParticle* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.destroy_immediately_, other->_impl_.destroy_immediately_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_DestroyParticle::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[39]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_DestroyParticleInvolving::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_destroy_immediately(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_entity_handle(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CUserMsg_ParticleManager_DestroyParticleInvolving::CUserMsg_ParticleManager_DestroyParticleInvolving(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.DestroyParticleInvolving) -} -CUserMsg_ParticleManager_DestroyParticleInvolving::CUserMsg_ParticleManager_DestroyParticleInvolving(const CUserMsg_ParticleManager_DestroyParticleInvolving& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_DestroyParticleInvolving* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.destroy_immediately_){} - , decltype(_impl_.entity_handle_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.destroy_immediately_, &from._impl_.destroy_immediately_, - static_cast(reinterpret_cast(&_impl_.entity_handle_) - - reinterpret_cast(&_impl_.destroy_immediately_)) + sizeof(_impl_.entity_handle_)); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.DestroyParticleInvolving) -} - -inline void CUserMsg_ParticleManager_DestroyParticleInvolving::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.destroy_immediately_){false} - , decltype(_impl_.entity_handle_){16777215u} - }; -} - -CUserMsg_ParticleManager_DestroyParticleInvolving::~CUserMsg_ParticleManager_DestroyParticleInvolving() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.DestroyParticleInvolving) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_DestroyParticleInvolving::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMsg_ParticleManager_DestroyParticleInvolving::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_DestroyParticleInvolving::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.DestroyParticleInvolving) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - _impl_.destroy_immediately_ = false; - _impl_.entity_handle_ = 16777215u; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_DestroyParticleInvolving::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool destroy_immediately = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_destroy_immediately(&has_bits); - _impl_.destroy_immediately_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 entity_handle = 3 [default = 16777215]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_entity_handle(&has_bits); - _impl_.entity_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_DestroyParticleInvolving::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.DestroyParticleInvolving) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool destroy_immediately = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_destroy_immediately(), target); - } - - // optional uint32 entity_handle = 3 [default = 16777215]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_entity_handle(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.DestroyParticleInvolving) - return target; -} - -size_t CUserMsg_ParticleManager_DestroyParticleInvolving::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.DestroyParticleInvolving) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bool destroy_immediately = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - // optional uint32 entity_handle = 3 [default = 16777215]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entity_handle()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_DestroyParticleInvolving::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_DestroyParticleInvolving::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_DestroyParticleInvolving::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_DestroyParticleInvolving::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.DestroyParticleInvolving) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.destroy_immediately_ = from._impl_.destroy_immediately_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.entity_handle_ = from._impl_.entity_handle_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_DestroyParticleInvolving::CopyFrom(const CUserMsg_ParticleManager_DestroyParticleInvolving& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.DestroyParticleInvolving) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_DestroyParticleInvolving::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_DestroyParticleInvolving::InternalSwap(CUserMsg_ParticleManager_DestroyParticleInvolving* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.destroy_immediately_, other->_impl_.destroy_immediately_); - swap(_impl_.entity_handle_, other->_impl_.entity_handle_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_DestroyParticleInvolving::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[40]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_DestroyParticleNamed::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_particle_name_index(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_entity_handle(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_destroy_immediately(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_play_endcap(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CUserMsg_ParticleManager_DestroyParticleNamed::CUserMsg_ParticleManager_DestroyParticleNamed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.DestroyParticleNamed) -} -CUserMsg_ParticleManager_DestroyParticleNamed::CUserMsg_ParticleManager_DestroyParticleNamed(const CUserMsg_ParticleManager_DestroyParticleNamed& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_DestroyParticleNamed* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.particle_name_index_){} - , decltype(_impl_.destroy_immediately_){} - , decltype(_impl_.play_endcap_){} - , decltype(_impl_.entity_handle_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.particle_name_index_, &from._impl_.particle_name_index_, - static_cast(reinterpret_cast(&_impl_.entity_handle_) - - reinterpret_cast(&_impl_.particle_name_index_)) + sizeof(_impl_.entity_handle_)); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.DestroyParticleNamed) -} - -inline void CUserMsg_ParticleManager_DestroyParticleNamed::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.particle_name_index_){uint64_t{0u}} - , decltype(_impl_.destroy_immediately_){false} - , decltype(_impl_.play_endcap_){false} - , decltype(_impl_.entity_handle_){16777215u} - }; -} - -CUserMsg_ParticleManager_DestroyParticleNamed::~CUserMsg_ParticleManager_DestroyParticleNamed() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.DestroyParticleNamed) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_DestroyParticleNamed::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMsg_ParticleManager_DestroyParticleNamed::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_DestroyParticleNamed::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.DestroyParticleNamed) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.particle_name_index_, 0, static_cast( - reinterpret_cast(&_impl_.play_endcap_) - - reinterpret_cast(&_impl_.particle_name_index_)) + sizeof(_impl_.play_endcap_)); - _impl_.entity_handle_ = 16777215u; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_DestroyParticleNamed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed64 particle_name_index = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 9)) { - _Internal::set_has_particle_name_index(&has_bits); - _impl_.particle_name_index_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint64_t); - } else - goto handle_unusual; - continue; - // optional uint32 entity_handle = 2 [default = 16777215]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_entity_handle(&has_bits); - _impl_.entity_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool destroy_immediately = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_destroy_immediately(&has_bits); - _impl_.destroy_immediately_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool play_endcap = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_play_endcap(&has_bits); - _impl_.play_endcap_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_DestroyParticleNamed::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.DestroyParticleNamed) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed64 particle_name_index = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed64ToArray(1, this->_internal_particle_name_index(), target); - } - - // optional uint32 entity_handle = 2 [default = 16777215]; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_entity_handle(), target); - } - - // optional bool destroy_immediately = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_destroy_immediately(), target); - } - - // optional bool play_endcap = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_play_endcap(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.DestroyParticleNamed) - return target; -} - -size_t CUserMsg_ParticleManager_DestroyParticleNamed::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.DestroyParticleNamed) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional fixed64 particle_name_index = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 8; - } - - // optional bool destroy_immediately = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - // optional bool play_endcap = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - // optional uint32 entity_handle = 2 [default = 16777215]; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entity_handle()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_DestroyParticleNamed::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_DestroyParticleNamed::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_DestroyParticleNamed::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_DestroyParticleNamed::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.DestroyParticleNamed) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.particle_name_index_ = from._impl_.particle_name_index_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.destroy_immediately_ = from._impl_.destroy_immediately_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.play_endcap_ = from._impl_.play_endcap_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.entity_handle_ = from._impl_.entity_handle_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_DestroyParticleNamed::CopyFrom(const CUserMsg_ParticleManager_DestroyParticleNamed& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.DestroyParticleNamed) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_DestroyParticleNamed::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_DestroyParticleNamed::InternalSwap(CUserMsg_ParticleManager_DestroyParticleNamed* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_DestroyParticleNamed, _impl_.play_endcap_) - + sizeof(CUserMsg_ParticleManager_DestroyParticleNamed::_impl_.play_endcap_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_DestroyParticleNamed, _impl_.particle_name_index_)>( - reinterpret_cast(&_impl_.particle_name_index_), - reinterpret_cast(&other->_impl_.particle_name_index_)); - swap(_impl_.entity_handle_, other->_impl_.entity_handle_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_DestroyParticleNamed::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[41]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_control_point(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgVector& position(const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* msg); - static void set_has_position(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgVector& -CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_Internal::position(const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* msg) { - return *msg->_impl_.position_; -} -void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::clear_position() { - if (_impl_.position_ != nullptr) _impl_.position_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) -} -CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE(const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.position_){nullptr} - , decltype(_impl_.control_point_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_position()) { - _this->_impl_.position_ = new ::CMsgVector(*from._impl_.position_); - } - _this->_impl_.control_point_ = from._impl_.control_point_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) -} - -inline void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.position_){nullptr} - , decltype(_impl_.control_point_){0} - }; -} - -CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::~CUserMsg_ParticleManager_UpdateParticle_OBSOLETE() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.position_; -} - -void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.position_ != nullptr); - _impl_.position_->Clear(); - } - _impl_.control_point_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 control_point = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_control_point(&has_bits); - _impl_.control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector position = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_position(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 control_point = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_control_point(), target); - } - - // optional .CMsgVector position = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::position(this), - _Internal::position(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) - return target; -} - -size_t CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgVector position = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.position_); - } - - // optional int32 control_point = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_control_point()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_position()->::CMsgVector::MergeFrom( - from._internal_position()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.control_point_ = from._impl_.control_point_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::CopyFrom(const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::InternalSwap(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE, _impl_.control_point_) - + sizeof(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_impl_.control_point_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE, _impl_.position_)>( - reinterpret_cast(&_impl_.position_), - reinterpret_cast(&other->_impl_.position_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[42]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_control_point(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgVector& forward(const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* msg); - static void set_has_forward(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgVector& -CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_Internal::forward(const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* msg) { - return *msg->_impl_.forward_; -} -void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::clear_forward() { - if (_impl_.forward_ != nullptr) _impl_.forward_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) -} -CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE(const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.forward_){nullptr} - , decltype(_impl_.control_point_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_forward()) { - _this->_impl_.forward_ = new ::CMsgVector(*from._impl_.forward_); - } - _this->_impl_.control_point_ = from._impl_.control_point_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) -} - -inline void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.forward_){nullptr} - , decltype(_impl_.control_point_){0} - }; -} - -CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::~CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.forward_; -} - -void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.forward_ != nullptr); - _impl_.forward_->Clear(); - } - _impl_.control_point_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 control_point = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_control_point(&has_bits); - _impl_.control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector forward = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_forward(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 control_point = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_control_point(), target); - } - - // optional .CMsgVector forward = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::forward(this), - _Internal::forward(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) - return target; -} - -size_t CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgVector forward = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.forward_); - } - - // optional int32 control_point = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_control_point()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_forward()->::CMsgVector::MergeFrom( - from._internal_forward()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.control_point_ = from._impl_.control_point_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::CopyFrom(const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::InternalSwap(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE, _impl_.control_point_) - + sizeof(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_impl_.control_point_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE, _impl_.forward_)>( - reinterpret_cast(&_impl_.forward_), - reinterpret_cast(&other->_impl_.forward_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[43]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_control_point(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static const ::CMsgVector& forward(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* msg); - static void set_has_forward(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgVector& deprecated_right(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* msg); - static void set_has_deprecated_right(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgVector& up(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* msg); - static void set_has_up(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgVector& left(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* msg); - static void set_has_left(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::CMsgVector& -CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_Internal::forward(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* msg) { - return *msg->_impl_.forward_; -} -const ::CMsgVector& -CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_Internal::deprecated_right(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* msg) { - return *msg->_impl_.deprecated_right_; -} -const ::CMsgVector& -CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_Internal::up(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* msg) { - return *msg->_impl_.up_; -} -const ::CMsgVector& -CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_Internal::left(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* msg) { - return *msg->_impl_.left_; -} -void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::clear_forward() { - if (_impl_.forward_ != nullptr) _impl_.forward_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::clear_deprecated_right() { - if (_impl_.deprecated_right_ != nullptr) _impl_.deprecated_right_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::clear_up() { - if (_impl_.up_ != nullptr) _impl_.up_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::clear_left() { - if (_impl_.left_ != nullptr) _impl_.left_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) -} -CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.forward_){nullptr} - , decltype(_impl_.deprecated_right_){nullptr} - , decltype(_impl_.up_){nullptr} - , decltype(_impl_.left_){nullptr} - , decltype(_impl_.control_point_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_forward()) { - _this->_impl_.forward_ = new ::CMsgVector(*from._impl_.forward_); - } - if (from._internal_has_deprecated_right()) { - _this->_impl_.deprecated_right_ = new ::CMsgVector(*from._impl_.deprecated_right_); - } - if (from._internal_has_up()) { - _this->_impl_.up_ = new ::CMsgVector(*from._impl_.up_); - } - if (from._internal_has_left()) { - _this->_impl_.left_ = new ::CMsgVector(*from._impl_.left_); - } - _this->_impl_.control_point_ = from._impl_.control_point_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) -} - -inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.forward_){nullptr} - , decltype(_impl_.deprecated_right_){nullptr} - , decltype(_impl_.up_){nullptr} - , decltype(_impl_.left_){nullptr} - , decltype(_impl_.control_point_){0} - }; -} - -CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::~CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.forward_; - if (this != internal_default_instance()) delete _impl_.deprecated_right_; - if (this != internal_default_instance()) delete _impl_.up_; - if (this != internal_default_instance()) delete _impl_.left_; -} - -void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.forward_ != nullptr); - _impl_.forward_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.deprecated_right_ != nullptr); - _impl_.deprecated_right_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.up_ != nullptr); - _impl_.up_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.left_ != nullptr); - _impl_.left_->Clear(); - } - } - _impl_.control_point_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 control_point = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_control_point(&has_bits); - _impl_.control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector forward = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_forward(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector deprecated_right = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_deprecated_right(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector up = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_up(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector left = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 control_point = 1; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_control_point(), target); - } - - // optional .CMsgVector forward = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::forward(this), - _Internal::forward(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector deprecated_right = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::deprecated_right(this), - _Internal::deprecated_right(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector up = 4; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::up(this), - _Internal::up(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector left = 5; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::left(this), - _Internal::left(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) - return target; -} - -size_t CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional .CMsgVector forward = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.forward_); - } - - // optional .CMsgVector deprecated_right = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.deprecated_right_); - } - - // optional .CMsgVector up = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.up_); - } - - // optional .CMsgVector left = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.left_); - } - - // optional int32 control_point = 1; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_control_point()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_forward()->::CMsgVector::MergeFrom( - from._internal_forward()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_deprecated_right()->::CMsgVector::MergeFrom( - from._internal_deprecated_right()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_up()->::CMsgVector::MergeFrom( - from._internal_up()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_left()->::CMsgVector::MergeFrom( - from._internal_left()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.control_point_ = from._impl_.control_point_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::CopyFrom(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::InternalSwap(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE, _impl_.control_point_) - + sizeof(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_impl_.control_point_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE, _impl_.forward_)>( - reinterpret_cast(&_impl_.forward_), - reinterpret_cast(&other->_impl_.forward_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[44]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_UpdateParticleTransform::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_control_point(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgVector& position(const CUserMsg_ParticleManager_UpdateParticleTransform* msg); - static void set_has_position(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgQuaternion& orientation(const CUserMsg_ParticleManager_UpdateParticleTransform* msg); - static void set_has_orientation(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_interpolation_interval(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::CMsgVector& -CUserMsg_ParticleManager_UpdateParticleTransform::_Internal::position(const CUserMsg_ParticleManager_UpdateParticleTransform* msg) { - return *msg->_impl_.position_; -} -const ::CMsgQuaternion& -CUserMsg_ParticleManager_UpdateParticleTransform::_Internal::orientation(const CUserMsg_ParticleManager_UpdateParticleTransform* msg) { - return *msg->_impl_.orientation_; -} -void CUserMsg_ParticleManager_UpdateParticleTransform::clear_position() { - if (_impl_.position_ != nullptr) _impl_.position_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CUserMsg_ParticleManager_UpdateParticleTransform::clear_orientation() { - if (_impl_.orientation_ != nullptr) _impl_.orientation_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CUserMsg_ParticleManager_UpdateParticleTransform::CUserMsg_ParticleManager_UpdateParticleTransform(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.UpdateParticleTransform) -} -CUserMsg_ParticleManager_UpdateParticleTransform::CUserMsg_ParticleManager_UpdateParticleTransform(const CUserMsg_ParticleManager_UpdateParticleTransform& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_UpdateParticleTransform* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.position_){nullptr} - , decltype(_impl_.orientation_){nullptr} - , decltype(_impl_.control_point_){} - , decltype(_impl_.interpolation_interval_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_position()) { - _this->_impl_.position_ = new ::CMsgVector(*from._impl_.position_); - } - if (from._internal_has_orientation()) { - _this->_impl_.orientation_ = new ::CMsgQuaternion(*from._impl_.orientation_); - } - ::memcpy(&_impl_.control_point_, &from._impl_.control_point_, - static_cast(reinterpret_cast(&_impl_.interpolation_interval_) - - reinterpret_cast(&_impl_.control_point_)) + sizeof(_impl_.interpolation_interval_)); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateParticleTransform) -} - -inline void CUserMsg_ParticleManager_UpdateParticleTransform::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.position_){nullptr} - , decltype(_impl_.orientation_){nullptr} - , decltype(_impl_.control_point_){0} - , decltype(_impl_.interpolation_interval_){0} - }; -} - -CUserMsg_ParticleManager_UpdateParticleTransform::~CUserMsg_ParticleManager_UpdateParticleTransform() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateParticleTransform) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_UpdateParticleTransform::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.position_; - if (this != internal_default_instance()) delete _impl_.orientation_; -} - -void CUserMsg_ParticleManager_UpdateParticleTransform::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_UpdateParticleTransform::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateParticleTransform) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.position_ != nullptr); - _impl_.position_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.orientation_ != nullptr); - _impl_.orientation_->Clear(); - } - } - if (cached_has_bits & 0x0000000cu) { - ::memset(&_impl_.control_point_, 0, static_cast( - reinterpret_cast(&_impl_.interpolation_interval_) - - reinterpret_cast(&_impl_.control_point_)) + sizeof(_impl_.interpolation_interval_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_UpdateParticleTransform::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 control_point = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_control_point(&has_bits); - _impl_.control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector position = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_position(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQuaternion orientation = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_orientation(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float interpolation_interval = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_interpolation_interval(&has_bits); - _impl_.interpolation_interval_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_UpdateParticleTransform::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateParticleTransform) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 control_point = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_control_point(), target); - } - - // optional .CMsgVector position = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::position(this), - _Internal::position(this).GetCachedSize(), target, stream); - } - - // optional .CMsgQuaternion orientation = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::orientation(this), - _Internal::orientation(this).GetCachedSize(), target, stream); - } - - // optional float interpolation_interval = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_interpolation_interval(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.UpdateParticleTransform) - return target; -} - -size_t CUserMsg_ParticleManager_UpdateParticleTransform::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateParticleTransform) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional .CMsgVector position = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.position_); - } - - // optional .CMsgQuaternion orientation = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.orientation_); - } - - // optional int32 control_point = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_control_point()); - } - - // optional float interpolation_interval = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateParticleTransform::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_UpdateParticleTransform::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateParticleTransform::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_UpdateParticleTransform::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.UpdateParticleTransform) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_position()->::CMsgVector::MergeFrom( - from._internal_position()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_orientation()->::CMsgQuaternion::MergeFrom( - from._internal_orientation()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.control_point_ = from._impl_.control_point_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.interpolation_interval_ = from._impl_.interpolation_interval_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_UpdateParticleTransform::CopyFrom(const CUserMsg_ParticleManager_UpdateParticleTransform& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateParticleTransform) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_UpdateParticleTransform::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_UpdateParticleTransform::InternalSwap(CUserMsg_ParticleManager_UpdateParticleTransform* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleTransform, _impl_.interpolation_interval_) - + sizeof(CUserMsg_ParticleManager_UpdateParticleTransform::_impl_.interpolation_interval_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleTransform, _impl_.position_)>( - reinterpret_cast(&_impl_.position_), - reinterpret_cast(&other->_impl_.position_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateParticleTransform::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[45]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_UpdateParticleFallback::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_control_point(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgVector& position(const CUserMsg_ParticleManager_UpdateParticleFallback* msg); - static void set_has_position(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgVector& -CUserMsg_ParticleManager_UpdateParticleFallback::_Internal::position(const CUserMsg_ParticleManager_UpdateParticleFallback* msg) { - return *msg->_impl_.position_; -} -void CUserMsg_ParticleManager_UpdateParticleFallback::clear_position() { - if (_impl_.position_ != nullptr) _impl_.position_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CUserMsg_ParticleManager_UpdateParticleFallback::CUserMsg_ParticleManager_UpdateParticleFallback(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.UpdateParticleFallback) -} -CUserMsg_ParticleManager_UpdateParticleFallback::CUserMsg_ParticleManager_UpdateParticleFallback(const CUserMsg_ParticleManager_UpdateParticleFallback& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_UpdateParticleFallback* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.position_){nullptr} - , decltype(_impl_.control_point_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_position()) { - _this->_impl_.position_ = new ::CMsgVector(*from._impl_.position_); - } - _this->_impl_.control_point_ = from._impl_.control_point_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateParticleFallback) -} - -inline void CUserMsg_ParticleManager_UpdateParticleFallback::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.position_){nullptr} - , decltype(_impl_.control_point_){0} - }; -} - -CUserMsg_ParticleManager_UpdateParticleFallback::~CUserMsg_ParticleManager_UpdateParticleFallback() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateParticleFallback) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_UpdateParticleFallback::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.position_; -} - -void CUserMsg_ParticleManager_UpdateParticleFallback::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_UpdateParticleFallback::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateParticleFallback) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.position_ != nullptr); - _impl_.position_->Clear(); - } - _impl_.control_point_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_UpdateParticleFallback::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 control_point = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_control_point(&has_bits); - _impl_.control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector position = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_position(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_UpdateParticleFallback::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateParticleFallback) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 control_point = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_control_point(), target); - } - - // optional .CMsgVector position = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::position(this), - _Internal::position(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.UpdateParticleFallback) - return target; -} - -size_t CUserMsg_ParticleManager_UpdateParticleFallback::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateParticleFallback) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgVector position = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.position_); - } - - // optional int32 control_point = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_control_point()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateParticleFallback::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_UpdateParticleFallback::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateParticleFallback::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_UpdateParticleFallback::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.UpdateParticleFallback) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_position()->::CMsgVector::MergeFrom( - from._internal_position()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.control_point_ = from._impl_.control_point_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_UpdateParticleFallback::CopyFrom(const CUserMsg_ParticleManager_UpdateParticleFallback& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateParticleFallback) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_UpdateParticleFallback::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_UpdateParticleFallback::InternalSwap(CUserMsg_ParticleManager_UpdateParticleFallback* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleFallback, _impl_.control_point_) - + sizeof(CUserMsg_ParticleManager_UpdateParticleFallback::_impl_.control_point_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleFallback, _impl_.position_)>( - reinterpret_cast(&_impl_.position_), - reinterpret_cast(&other->_impl_.position_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateParticleFallback::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[46]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_UpdateParticleOffset::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_control_point(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgVector& origin_offset(const CUserMsg_ParticleManager_UpdateParticleOffset* msg); - static void set_has_origin_offset(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgQAngle& angle_offset(const CUserMsg_ParticleManager_UpdateParticleOffset* msg); - static void set_has_angle_offset(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgVector& -CUserMsg_ParticleManager_UpdateParticleOffset::_Internal::origin_offset(const CUserMsg_ParticleManager_UpdateParticleOffset* msg) { - return *msg->_impl_.origin_offset_; -} -const ::CMsgQAngle& -CUserMsg_ParticleManager_UpdateParticleOffset::_Internal::angle_offset(const CUserMsg_ParticleManager_UpdateParticleOffset* msg) { - return *msg->_impl_.angle_offset_; -} -void CUserMsg_ParticleManager_UpdateParticleOffset::clear_origin_offset() { - if (_impl_.origin_offset_ != nullptr) _impl_.origin_offset_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CUserMsg_ParticleManager_UpdateParticleOffset::clear_angle_offset() { - if (_impl_.angle_offset_ != nullptr) _impl_.angle_offset_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CUserMsg_ParticleManager_UpdateParticleOffset::CUserMsg_ParticleManager_UpdateParticleOffset(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.UpdateParticleOffset) -} -CUserMsg_ParticleManager_UpdateParticleOffset::CUserMsg_ParticleManager_UpdateParticleOffset(const CUserMsg_ParticleManager_UpdateParticleOffset& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_UpdateParticleOffset* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_offset_){nullptr} - , decltype(_impl_.angle_offset_){nullptr} - , decltype(_impl_.control_point_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_origin_offset()) { - _this->_impl_.origin_offset_ = new ::CMsgVector(*from._impl_.origin_offset_); - } - if (from._internal_has_angle_offset()) { - _this->_impl_.angle_offset_ = new ::CMsgQAngle(*from._impl_.angle_offset_); - } - _this->_impl_.control_point_ = from._impl_.control_point_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateParticleOffset) -} - -inline void CUserMsg_ParticleManager_UpdateParticleOffset::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_offset_){nullptr} - , decltype(_impl_.angle_offset_){nullptr} - , decltype(_impl_.control_point_){0} - }; -} - -CUserMsg_ParticleManager_UpdateParticleOffset::~CUserMsg_ParticleManager_UpdateParticleOffset() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateParticleOffset) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_UpdateParticleOffset::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.origin_offset_; - if (this != internal_default_instance()) delete _impl_.angle_offset_; -} - -void CUserMsg_ParticleManager_UpdateParticleOffset::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_UpdateParticleOffset::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateParticleOffset) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.origin_offset_ != nullptr); - _impl_.origin_offset_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.angle_offset_ != nullptr); - _impl_.angle_offset_->Clear(); - } - } - _impl_.control_point_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_UpdateParticleOffset::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 control_point = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_control_point(&has_bits); - _impl_.control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector origin_offset = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_origin_offset(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle angle_offset = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_angle_offset(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_UpdateParticleOffset::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateParticleOffset) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 control_point = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_control_point(), target); - } - - // optional .CMsgVector origin_offset = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::origin_offset(this), - _Internal::origin_offset(this).GetCachedSize(), target, stream); - } - - // optional .CMsgQAngle angle_offset = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::angle_offset(this), - _Internal::angle_offset(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.UpdateParticleOffset) - return target; -} - -size_t CUserMsg_ParticleManager_UpdateParticleOffset::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateParticleOffset) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .CMsgVector origin_offset = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_offset_); - } - - // optional .CMsgQAngle angle_offset = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.angle_offset_); - } - - // optional int32 control_point = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_control_point()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateParticleOffset::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_UpdateParticleOffset::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateParticleOffset::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_UpdateParticleOffset::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.UpdateParticleOffset) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_origin_offset()->::CMsgVector::MergeFrom( - from._internal_origin_offset()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_angle_offset()->::CMsgQAngle::MergeFrom( - from._internal_angle_offset()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.control_point_ = from._impl_.control_point_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_UpdateParticleOffset::CopyFrom(const CUserMsg_ParticleManager_UpdateParticleOffset& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateParticleOffset) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_UpdateParticleOffset::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_UpdateParticleOffset::InternalSwap(CUserMsg_ParticleManager_UpdateParticleOffset* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleOffset, _impl_.control_point_) - + sizeof(CUserMsg_ParticleManager_UpdateParticleOffset::_impl_.control_point_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleOffset, _impl_.origin_offset_)>( - reinterpret_cast(&_impl_.origin_offset_), - reinterpret_cast(&other->_impl_.origin_offset_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateParticleOffset::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[47]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_UpdateParticleEnt::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_control_point(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_entity_handle(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_attach_type(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_attachment(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static const ::CMsgVector& fallback_position(const CUserMsg_ParticleManager_UpdateParticleEnt* msg); - static void set_has_fallback_position(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_include_wearables(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static const ::CMsgVector& offset_position(const CUserMsg_ParticleManager_UpdateParticleEnt* msg); - static void set_has_offset_position(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgQAngle& offset_angles(const CUserMsg_ParticleManager_UpdateParticleEnt* msg); - static void set_has_offset_angles(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -const ::CMsgVector& -CUserMsg_ParticleManager_UpdateParticleEnt::_Internal::fallback_position(const CUserMsg_ParticleManager_UpdateParticleEnt* msg) { - return *msg->_impl_.fallback_position_; -} -const ::CMsgVector& -CUserMsg_ParticleManager_UpdateParticleEnt::_Internal::offset_position(const CUserMsg_ParticleManager_UpdateParticleEnt* msg) { - return *msg->_impl_.offset_position_; -} -const ::CMsgQAngle& -CUserMsg_ParticleManager_UpdateParticleEnt::_Internal::offset_angles(const CUserMsg_ParticleManager_UpdateParticleEnt* msg) { - return *msg->_impl_.offset_angles_; -} -void CUserMsg_ParticleManager_UpdateParticleEnt::clear_fallback_position() { - if (_impl_.fallback_position_ != nullptr) _impl_.fallback_position_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CUserMsg_ParticleManager_UpdateParticleEnt::clear_offset_position() { - if (_impl_.offset_position_ != nullptr) _impl_.offset_position_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CUserMsg_ParticleManager_UpdateParticleEnt::clear_offset_angles() { - if (_impl_.offset_angles_ != nullptr) _impl_.offset_angles_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -CUserMsg_ParticleManager_UpdateParticleEnt::CUserMsg_ParticleManager_UpdateParticleEnt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.UpdateParticleEnt) -} -CUserMsg_ParticleManager_UpdateParticleEnt::CUserMsg_ParticleManager_UpdateParticleEnt(const CUserMsg_ParticleManager_UpdateParticleEnt& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_UpdateParticleEnt* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.fallback_position_){nullptr} - , decltype(_impl_.offset_position_){nullptr} - , decltype(_impl_.offset_angles_){nullptr} - , decltype(_impl_.control_point_){} - , decltype(_impl_.attach_type_){} - , decltype(_impl_.attachment_){} - , decltype(_impl_.include_wearables_){} - , decltype(_impl_.entity_handle_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_fallback_position()) { - _this->_impl_.fallback_position_ = new ::CMsgVector(*from._impl_.fallback_position_); - } - if (from._internal_has_offset_position()) { - _this->_impl_.offset_position_ = new ::CMsgVector(*from._impl_.offset_position_); - } - if (from._internal_has_offset_angles()) { - _this->_impl_.offset_angles_ = new ::CMsgQAngle(*from._impl_.offset_angles_); - } - ::memcpy(&_impl_.control_point_, &from._impl_.control_point_, - static_cast(reinterpret_cast(&_impl_.entity_handle_) - - reinterpret_cast(&_impl_.control_point_)) + sizeof(_impl_.entity_handle_)); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateParticleEnt) -} - -inline void CUserMsg_ParticleManager_UpdateParticleEnt::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.fallback_position_){nullptr} - , decltype(_impl_.offset_position_){nullptr} - , decltype(_impl_.offset_angles_){nullptr} - , decltype(_impl_.control_point_){0} - , decltype(_impl_.attach_type_){0} - , decltype(_impl_.attachment_){0} - , decltype(_impl_.include_wearables_){false} - , decltype(_impl_.entity_handle_){16777215u} - }; -} - -CUserMsg_ParticleManager_UpdateParticleEnt::~CUserMsg_ParticleManager_UpdateParticleEnt() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateParticleEnt) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_UpdateParticleEnt::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.fallback_position_; - if (this != internal_default_instance()) delete _impl_.offset_position_; - if (this != internal_default_instance()) delete _impl_.offset_angles_; -} - -void CUserMsg_ParticleManager_UpdateParticleEnt::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_UpdateParticleEnt::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateParticleEnt) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.fallback_position_ != nullptr); - _impl_.fallback_position_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.offset_position_ != nullptr); - _impl_.offset_position_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.offset_angles_ != nullptr); - _impl_.offset_angles_->Clear(); - } - } - if (cached_has_bits & 0x000000f8u) { - ::memset(&_impl_.control_point_, 0, static_cast( - reinterpret_cast(&_impl_.include_wearables_) - - reinterpret_cast(&_impl_.control_point_)) + sizeof(_impl_.include_wearables_)); - _impl_.entity_handle_ = 16777215u; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_UpdateParticleEnt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 control_point = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_control_point(&has_bits); - _impl_.control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 entity_handle = 2 [default = 16777215]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_entity_handle(&has_bits); - _impl_.entity_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 attach_type = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_attach_type(&has_bits); - _impl_.attach_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 attachment = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_attachment(&has_bits); - _impl_.attachment_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector fallback_position = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_fallback_position(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool include_wearables = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_include_wearables(&has_bits); - _impl_.include_wearables_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector offset_position = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_offset_position(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle offset_angles = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_offset_angles(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_UpdateParticleEnt::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateParticleEnt) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 control_point = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_control_point(), target); - } - - // optional uint32 entity_handle = 2 [default = 16777215]; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_entity_handle(), target); - } - - // optional int32 attach_type = 3; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_attach_type(), target); - } - - // optional int32 attachment = 4; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_attachment(), target); - } - - // optional .CMsgVector fallback_position = 5; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::fallback_position(this), - _Internal::fallback_position(this).GetCachedSize(), target, stream); - } - - // optional bool include_wearables = 6; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_include_wearables(), target); - } - - // optional .CMsgVector offset_position = 7; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::offset_position(this), - _Internal::offset_position(this).GetCachedSize(), target, stream); - } - - // optional .CMsgQAngle offset_angles = 8; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, _Internal::offset_angles(this), - _Internal::offset_angles(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.UpdateParticleEnt) - return target; -} - -size_t CUserMsg_ParticleManager_UpdateParticleEnt::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateParticleEnt) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional .CMsgVector fallback_position = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.fallback_position_); - } - - // optional .CMsgVector offset_position = 7; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.offset_position_); - } - - // optional .CMsgQAngle offset_angles = 8; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.offset_angles_); - } - - // optional int32 control_point = 1; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_control_point()); - } - - // optional int32 attach_type = 3; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_attach_type()); - } - - // optional int32 attachment = 4; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_attachment()); - } - - // optional bool include_wearables = 6; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 1; - } - - // optional uint32 entity_handle = 2 [default = 16777215]; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entity_handle()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateParticleEnt::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_UpdateParticleEnt::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateParticleEnt::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_UpdateParticleEnt::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.UpdateParticleEnt) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_fallback_position()->::CMsgVector::MergeFrom( - from._internal_fallback_position()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_offset_position()->::CMsgVector::MergeFrom( - from._internal_offset_position()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_offset_angles()->::CMsgQAngle::MergeFrom( - from._internal_offset_angles()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.control_point_ = from._impl_.control_point_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.attach_type_ = from._impl_.attach_type_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.attachment_ = from._impl_.attachment_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.include_wearables_ = from._impl_.include_wearables_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.entity_handle_ = from._impl_.entity_handle_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_UpdateParticleEnt::CopyFrom(const CUserMsg_ParticleManager_UpdateParticleEnt& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateParticleEnt) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_UpdateParticleEnt::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_UpdateParticleEnt::InternalSwap(CUserMsg_ParticleManager_UpdateParticleEnt* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.include_wearables_) - + sizeof(CUserMsg_ParticleManager_UpdateParticleEnt::_impl_.include_wearables_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleEnt, _impl_.fallback_position_)>( - reinterpret_cast(&_impl_.fallback_position_), - reinterpret_cast(&other->_impl_.fallback_position_)); - swap(_impl_.entity_handle_, other->_impl_.entity_handle_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateParticleEnt::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[48]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_UpdateParticleSetFrozen::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_set_frozen(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_transition_duration(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CUserMsg_ParticleManager_UpdateParticleSetFrozen::CUserMsg_ParticleManager_UpdateParticleSetFrozen(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.UpdateParticleSetFrozen) -} -CUserMsg_ParticleManager_UpdateParticleSetFrozen::CUserMsg_ParticleManager_UpdateParticleSetFrozen(const CUserMsg_ParticleManager_UpdateParticleSetFrozen& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_UpdateParticleSetFrozen* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.set_frozen_){} - , decltype(_impl_.transition_duration_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.set_frozen_, &from._impl_.set_frozen_, - static_cast(reinterpret_cast(&_impl_.transition_duration_) - - reinterpret_cast(&_impl_.set_frozen_)) + sizeof(_impl_.transition_duration_)); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateParticleSetFrozen) -} - -inline void CUserMsg_ParticleManager_UpdateParticleSetFrozen::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.set_frozen_){false} - , decltype(_impl_.transition_duration_){0} - }; -} - -CUserMsg_ParticleManager_UpdateParticleSetFrozen::~CUserMsg_ParticleManager_UpdateParticleSetFrozen() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateParticleSetFrozen) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_UpdateParticleSetFrozen::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMsg_ParticleManager_UpdateParticleSetFrozen::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_UpdateParticleSetFrozen::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateParticleSetFrozen) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.set_frozen_, 0, static_cast( - reinterpret_cast(&_impl_.transition_duration_) - - reinterpret_cast(&_impl_.set_frozen_)) + sizeof(_impl_.transition_duration_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_UpdateParticleSetFrozen::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool set_frozen = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_set_frozen(&has_bits); - _impl_.set_frozen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float transition_duration = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_transition_duration(&has_bits); - _impl_.transition_duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_UpdateParticleSetFrozen::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateParticleSetFrozen) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool set_frozen = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_set_frozen(), target); - } - - // optional float transition_duration = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_transition_duration(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.UpdateParticleSetFrozen) - return target; -} - -size_t CUserMsg_ParticleManager_UpdateParticleSetFrozen::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateParticleSetFrozen) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bool set_frozen = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - // optional float transition_duration = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateParticleSetFrozen::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_UpdateParticleSetFrozen::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateParticleSetFrozen::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_UpdateParticleSetFrozen::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.UpdateParticleSetFrozen) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.set_frozen_ = from._impl_.set_frozen_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.transition_duration_ = from._impl_.transition_duration_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_UpdateParticleSetFrozen::CopyFrom(const CUserMsg_ParticleManager_UpdateParticleSetFrozen& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateParticleSetFrozen) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_UpdateParticleSetFrozen::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_UpdateParticleSetFrozen::InternalSwap(CUserMsg_ParticleManager_UpdateParticleSetFrozen* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleSetFrozen, _impl_.transition_duration_) - + sizeof(CUserMsg_ParticleManager_UpdateParticleSetFrozen::_impl_.transition_duration_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateParticleSetFrozen, _impl_.set_frozen_)>( - reinterpret_cast(&_impl_.set_frozen_), - reinterpret_cast(&other->_impl_.set_frozen_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateParticleSetFrozen::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[49]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_UpdateParticleShouldDraw::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_should_draw(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMsg_ParticleManager_UpdateParticleShouldDraw::CUserMsg_ParticleManager_UpdateParticleShouldDraw(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.UpdateParticleShouldDraw) -} -CUserMsg_ParticleManager_UpdateParticleShouldDraw::CUserMsg_ParticleManager_UpdateParticleShouldDraw(const CUserMsg_ParticleManager_UpdateParticleShouldDraw& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_UpdateParticleShouldDraw* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.should_draw_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.should_draw_ = from._impl_.should_draw_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateParticleShouldDraw) -} - -inline void CUserMsg_ParticleManager_UpdateParticleShouldDraw::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.should_draw_){false} - }; -} - -CUserMsg_ParticleManager_UpdateParticleShouldDraw::~CUserMsg_ParticleManager_UpdateParticleShouldDraw() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateParticleShouldDraw) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_UpdateParticleShouldDraw::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMsg_ParticleManager_UpdateParticleShouldDraw::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_UpdateParticleShouldDraw::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateParticleShouldDraw) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.should_draw_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_UpdateParticleShouldDraw::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool should_draw = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_should_draw(&has_bits); - _impl_.should_draw_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_UpdateParticleShouldDraw::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateParticleShouldDraw) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool should_draw = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_should_draw(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.UpdateParticleShouldDraw) - return target; -} - -size_t CUserMsg_ParticleManager_UpdateParticleShouldDraw::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateParticleShouldDraw) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bool should_draw = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateParticleShouldDraw::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_UpdateParticleShouldDraw::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateParticleShouldDraw::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_UpdateParticleShouldDraw::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.UpdateParticleShouldDraw) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_should_draw()) { - _this->_internal_set_should_draw(from._internal_should_draw()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_UpdateParticleShouldDraw::CopyFrom(const CUserMsg_ParticleManager_UpdateParticleShouldDraw& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateParticleShouldDraw) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_UpdateParticleShouldDraw::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_UpdateParticleShouldDraw::InternalSwap(CUserMsg_ParticleManager_UpdateParticleShouldDraw* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.should_draw_, other->_impl_.should_draw_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateParticleShouldDraw::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[50]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_ChangeControlPointAttachment::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_attachment_old(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_attachment_new(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_entity_handle(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CUserMsg_ParticleManager_ChangeControlPointAttachment::CUserMsg_ParticleManager_ChangeControlPointAttachment(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.ChangeControlPointAttachment) -} -CUserMsg_ParticleManager_ChangeControlPointAttachment::CUserMsg_ParticleManager_ChangeControlPointAttachment(const CUserMsg_ParticleManager_ChangeControlPointAttachment& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_ChangeControlPointAttachment* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.attachment_old_){} - , decltype(_impl_.attachment_new_){} - , decltype(_impl_.entity_handle_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.attachment_old_, &from._impl_.attachment_old_, - static_cast(reinterpret_cast(&_impl_.entity_handle_) - - reinterpret_cast(&_impl_.attachment_old_)) + sizeof(_impl_.entity_handle_)); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.ChangeControlPointAttachment) -} - -inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.attachment_old_){0} - , decltype(_impl_.attachment_new_){0} - , decltype(_impl_.entity_handle_){16777215u} - }; -} - -CUserMsg_ParticleManager_ChangeControlPointAttachment::~CUserMsg_ParticleManager_ChangeControlPointAttachment() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.ChangeControlPointAttachment) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMsg_ParticleManager_ChangeControlPointAttachment::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_ChangeControlPointAttachment::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.ChangeControlPointAttachment) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.attachment_old_, 0, static_cast( - reinterpret_cast(&_impl_.attachment_new_) - - reinterpret_cast(&_impl_.attachment_old_)) + sizeof(_impl_.attachment_new_)); - _impl_.entity_handle_ = 16777215u; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_ChangeControlPointAttachment::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 attachment_old = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_attachment_old(&has_bits); - _impl_.attachment_old_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 attachment_new = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_attachment_new(&has_bits); - _impl_.attachment_new_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 entity_handle = 3 [default = 16777215]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_entity_handle(&has_bits); - _impl_.entity_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_ChangeControlPointAttachment::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.ChangeControlPointAttachment) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 attachment_old = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_attachment_old(), target); - } - - // optional int32 attachment_new = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_attachment_new(), target); - } - - // optional uint32 entity_handle = 3 [default = 16777215]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_entity_handle(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.ChangeControlPointAttachment) - return target; -} - -size_t CUserMsg_ParticleManager_ChangeControlPointAttachment::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.ChangeControlPointAttachment) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 attachment_old = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_attachment_old()); - } - - // optional int32 attachment_new = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_attachment_new()); - } - - // optional uint32 entity_handle = 3 [default = 16777215]; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entity_handle()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_ChangeControlPointAttachment::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_ChangeControlPointAttachment::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_ChangeControlPointAttachment::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_ChangeControlPointAttachment::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.ChangeControlPointAttachment) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.attachment_old_ = from._impl_.attachment_old_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.attachment_new_ = from._impl_.attachment_new_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.entity_handle_ = from._impl_.entity_handle_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_ChangeControlPointAttachment::CopyFrom(const CUserMsg_ParticleManager_ChangeControlPointAttachment& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.ChangeControlPointAttachment) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_ChangeControlPointAttachment::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_ChangeControlPointAttachment::InternalSwap(CUserMsg_ParticleManager_ChangeControlPointAttachment* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_ChangeControlPointAttachment, _impl_.attachment_new_) - + sizeof(CUserMsg_ParticleManager_ChangeControlPointAttachment::_impl_.attachment_new_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_ChangeControlPointAttachment, _impl_.attachment_old_)>( - reinterpret_cast(&_impl_.attachment_old_), - reinterpret_cast(&other->_impl_.attachment_old_)); - swap(_impl_.entity_handle_, other->_impl_.entity_handle_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_ChangeControlPointAttachment::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[51]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_UpdateEntityPosition::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_entity_handle(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgVector& position(const CUserMsg_ParticleManager_UpdateEntityPosition* msg); - static void set_has_position(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgVector& -CUserMsg_ParticleManager_UpdateEntityPosition::_Internal::position(const CUserMsg_ParticleManager_UpdateEntityPosition* msg) { - return *msg->_impl_.position_; -} -void CUserMsg_ParticleManager_UpdateEntityPosition::clear_position() { - if (_impl_.position_ != nullptr) _impl_.position_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CUserMsg_ParticleManager_UpdateEntityPosition::CUserMsg_ParticleManager_UpdateEntityPosition(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.UpdateEntityPosition) -} -CUserMsg_ParticleManager_UpdateEntityPosition::CUserMsg_ParticleManager_UpdateEntityPosition(const CUserMsg_ParticleManager_UpdateEntityPosition& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_UpdateEntityPosition* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.position_){nullptr} - , decltype(_impl_.entity_handle_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_position()) { - _this->_impl_.position_ = new ::CMsgVector(*from._impl_.position_); - } - _this->_impl_.entity_handle_ = from._impl_.entity_handle_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateEntityPosition) -} - -inline void CUserMsg_ParticleManager_UpdateEntityPosition::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.position_){nullptr} - , decltype(_impl_.entity_handle_){16777215u} - }; -} - -CUserMsg_ParticleManager_UpdateEntityPosition::~CUserMsg_ParticleManager_UpdateEntityPosition() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateEntityPosition) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_UpdateEntityPosition::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.position_; -} - -void CUserMsg_ParticleManager_UpdateEntityPosition::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_UpdateEntityPosition::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateEntityPosition) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.position_ != nullptr); - _impl_.position_->Clear(); - } - _impl_.entity_handle_ = 16777215u; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_UpdateEntityPosition::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 entity_handle = 1 [default = 16777215]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_entity_handle(&has_bits); - _impl_.entity_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector position = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_position(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_UpdateEntityPosition::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateEntityPosition) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 entity_handle = 1 [default = 16777215]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_entity_handle(), target); - } - - // optional .CMsgVector position = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::position(this), - _Internal::position(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.UpdateEntityPosition) - return target; -} - -size_t CUserMsg_ParticleManager_UpdateEntityPosition::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateEntityPosition) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgVector position = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.position_); - } - - // optional uint32 entity_handle = 1 [default = 16777215]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entity_handle()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateEntityPosition::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_UpdateEntityPosition::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateEntityPosition::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_UpdateEntityPosition::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.UpdateEntityPosition) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_position()->::CMsgVector::MergeFrom( - from._internal_position()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.entity_handle_ = from._impl_.entity_handle_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_UpdateEntityPosition::CopyFrom(const CUserMsg_ParticleManager_UpdateEntityPosition& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateEntityPosition) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_UpdateEntityPosition::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_UpdateEntityPosition::InternalSwap(CUserMsg_ParticleManager_UpdateEntityPosition* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.position_, other->_impl_.position_); - swap(_impl_.entity_handle_, other->_impl_.entity_handle_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateEntityPosition::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[52]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_SetParticleFoWProperties::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_fow_control_point(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_fow_control_point2(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_fow_radius(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CUserMsg_ParticleManager_SetParticleFoWProperties::CUserMsg_ParticleManager_SetParticleFoWProperties(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.SetParticleFoWProperties) -} -CUserMsg_ParticleManager_SetParticleFoWProperties::CUserMsg_ParticleManager_SetParticleFoWProperties(const CUserMsg_ParticleManager_SetParticleFoWProperties& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_SetParticleFoWProperties* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.fow_control_point_){} - , decltype(_impl_.fow_control_point2_){} - , decltype(_impl_.fow_radius_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.fow_control_point_, &from._impl_.fow_control_point_, - static_cast(reinterpret_cast(&_impl_.fow_radius_) - - reinterpret_cast(&_impl_.fow_control_point_)) + sizeof(_impl_.fow_radius_)); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetParticleFoWProperties) -} - -inline void CUserMsg_ParticleManager_SetParticleFoWProperties::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.fow_control_point_){0} - , decltype(_impl_.fow_control_point2_){0} - , decltype(_impl_.fow_radius_){0} - }; -} - -CUserMsg_ParticleManager_SetParticleFoWProperties::~CUserMsg_ParticleManager_SetParticleFoWProperties() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetParticleFoWProperties) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_SetParticleFoWProperties::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMsg_ParticleManager_SetParticleFoWProperties::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_SetParticleFoWProperties::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetParticleFoWProperties) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.fow_control_point_, 0, static_cast( - reinterpret_cast(&_impl_.fow_radius_) - - reinterpret_cast(&_impl_.fow_control_point_)) + sizeof(_impl_.fow_radius_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_SetParticleFoWProperties::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 fow_control_point = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_fow_control_point(&has_bits); - _impl_.fow_control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 fow_control_point2 = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_fow_control_point2(&has_bits); - _impl_.fow_control_point2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float fow_radius = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_fow_radius(&has_bits); - _impl_.fow_radius_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_SetParticleFoWProperties::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetParticleFoWProperties) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 fow_control_point = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_fow_control_point(), target); - } - - // optional int32 fow_control_point2 = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_fow_control_point2(), target); - } - - // optional float fow_radius = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_fow_radius(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.SetParticleFoWProperties) - return target; -} - -size_t CUserMsg_ParticleManager_SetParticleFoWProperties::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetParticleFoWProperties) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 fow_control_point = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_fow_control_point()); - } - - // optional int32 fow_control_point2 = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_fow_control_point2()); - } - - // optional float fow_radius = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetParticleFoWProperties::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_SetParticleFoWProperties::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetParticleFoWProperties::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_SetParticleFoWProperties::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.SetParticleFoWProperties) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.fow_control_point_ = from._impl_.fow_control_point_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.fow_control_point2_ = from._impl_.fow_control_point2_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.fow_radius_ = from._impl_.fow_radius_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_SetParticleFoWProperties::CopyFrom(const CUserMsg_ParticleManager_SetParticleFoWProperties& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetParticleFoWProperties) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_SetParticleFoWProperties::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_SetParticleFoWProperties::InternalSwap(CUserMsg_ParticleManager_SetParticleFoWProperties* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleFoWProperties, _impl_.fow_radius_) - + sizeof(CUserMsg_ParticleManager_SetParticleFoWProperties::_impl_.fow_radius_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleFoWProperties, _impl_.fow_control_point_)>( - reinterpret_cast(&_impl_.fow_control_point_), - reinterpret_cast(&other->_impl_.fow_control_point_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetParticleFoWProperties::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[53]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_SetParticleShouldCheckFoW::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_check_fow(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMsg_ParticleManager_SetParticleShouldCheckFoW::CUserMsg_ParticleManager_SetParticleShouldCheckFoW(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) -} -CUserMsg_ParticleManager_SetParticleShouldCheckFoW::CUserMsg_ParticleManager_SetParticleShouldCheckFoW(const CUserMsg_ParticleManager_SetParticleShouldCheckFoW& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_SetParticleShouldCheckFoW* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.check_fow_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.check_fow_ = from._impl_.check_fow_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) -} - -inline void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.check_fow_){false} - }; -} - -CUserMsg_ParticleManager_SetParticleShouldCheckFoW::~CUserMsg_ParticleManager_SetParticleShouldCheckFoW() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.check_fow_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_SetParticleShouldCheckFoW::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool check_fow = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_check_fow(&has_bits); - _impl_.check_fow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_SetParticleShouldCheckFoW::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool check_fow = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_check_fow(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) - return target; -} - -size_t CUserMsg_ParticleManager_SetParticleShouldCheckFoW::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bool check_fow = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetParticleShouldCheckFoW::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_SetParticleShouldCheckFoW::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetParticleShouldCheckFoW::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_check_fow()) { - _this->_internal_set_check_fow(from._internal_check_fow()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::CopyFrom(const CUserMsg_ParticleManager_SetParticleShouldCheckFoW& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_SetParticleShouldCheckFoW::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::InternalSwap(CUserMsg_ParticleManager_SetParticleShouldCheckFoW* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.check_fow_, other->_impl_.check_fow_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetParticleShouldCheckFoW::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[54]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_SetControlPointModel::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_control_point(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_model_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMsg_ParticleManager_SetControlPointModel::CUserMsg_ParticleManager_SetControlPointModel(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.SetControlPointModel) -} -CUserMsg_ParticleManager_SetControlPointModel::CUserMsg_ParticleManager_SetControlPointModel(const CUserMsg_ParticleManager_SetControlPointModel& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_SetControlPointModel* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.model_name_){} - , decltype(_impl_.control_point_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.model_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.model_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_model_name()) { - _this->_impl_.model_name_.Set(from._internal_model_name(), - _this->GetArenaForAllocation()); - } - _this->_impl_.control_point_ = from._impl_.control_point_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetControlPointModel) -} - -inline void CUserMsg_ParticleManager_SetControlPointModel::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.model_name_){} - , decltype(_impl_.control_point_){0} - }; - _impl_.model_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.model_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMsg_ParticleManager_SetControlPointModel::~CUserMsg_ParticleManager_SetControlPointModel() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetControlPointModel) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_SetControlPointModel::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.model_name_.Destroy(); -} - -void CUserMsg_ParticleManager_SetControlPointModel::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_SetControlPointModel::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetControlPointModel) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.model_name_.ClearNonDefaultToEmpty(); - } - _impl_.control_point_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_SetControlPointModel::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 control_point = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_control_point(&has_bits); - _impl_.control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string model_name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_model_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.SetControlPointModel.model_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_SetControlPointModel::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetControlPointModel) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 control_point = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_control_point(), target); - } - - // optional string model_name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_model_name().data(), static_cast(this->_internal_model_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMsg_ParticleManager.SetControlPointModel.model_name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_model_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.SetControlPointModel) - return target; -} - -size_t CUserMsg_ParticleManager_SetControlPointModel::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetControlPointModel) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string model_name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_model_name()); - } - - // optional int32 control_point = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_control_point()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetControlPointModel::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_SetControlPointModel::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetControlPointModel::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_SetControlPointModel::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.SetControlPointModel) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_model_name(from._internal_model_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.control_point_ = from._impl_.control_point_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_SetControlPointModel::CopyFrom(const CUserMsg_ParticleManager_SetControlPointModel& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetControlPointModel) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_SetControlPointModel::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_SetControlPointModel::InternalSwap(CUserMsg_ParticleManager_SetControlPointModel* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.model_name_, lhs_arena, - &other->_impl_.model_name_, rhs_arena - ); - swap(_impl_.control_point_, other->_impl_.control_point_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetControlPointModel::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[55]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_SetControlPointSnapshot::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_control_point(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_snapshot_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMsg_ParticleManager_SetControlPointSnapshot::CUserMsg_ParticleManager_SetControlPointSnapshot(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.SetControlPointSnapshot) -} -CUserMsg_ParticleManager_SetControlPointSnapshot::CUserMsg_ParticleManager_SetControlPointSnapshot(const CUserMsg_ParticleManager_SetControlPointSnapshot& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_SetControlPointSnapshot* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.snapshot_name_){} - , decltype(_impl_.control_point_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.snapshot_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.snapshot_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_snapshot_name()) { - _this->_impl_.snapshot_name_.Set(from._internal_snapshot_name(), - _this->GetArenaForAllocation()); - } - _this->_impl_.control_point_ = from._impl_.control_point_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetControlPointSnapshot) -} - -inline void CUserMsg_ParticleManager_SetControlPointSnapshot::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.snapshot_name_){} - , decltype(_impl_.control_point_){0} - }; - _impl_.snapshot_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.snapshot_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMsg_ParticleManager_SetControlPointSnapshot::~CUserMsg_ParticleManager_SetControlPointSnapshot() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetControlPointSnapshot) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_SetControlPointSnapshot::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.snapshot_name_.Destroy(); -} - -void CUserMsg_ParticleManager_SetControlPointSnapshot::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_SetControlPointSnapshot::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetControlPointSnapshot) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.snapshot_name_.ClearNonDefaultToEmpty(); - } - _impl_.control_point_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_SetControlPointSnapshot::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 control_point = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_control_point(&has_bits); - _impl_.control_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string snapshot_name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_snapshot_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.SetControlPointSnapshot.snapshot_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_SetControlPointSnapshot::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetControlPointSnapshot) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 control_point = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_control_point(), target); - } - - // optional string snapshot_name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_snapshot_name().data(), static_cast(this->_internal_snapshot_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMsg_ParticleManager.SetControlPointSnapshot.snapshot_name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_snapshot_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.SetControlPointSnapshot) - return target; -} - -size_t CUserMsg_ParticleManager_SetControlPointSnapshot::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetControlPointSnapshot) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string snapshot_name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_snapshot_name()); - } - - // optional int32 control_point = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_control_point()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetControlPointSnapshot::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_SetControlPointSnapshot::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetControlPointSnapshot::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_SetControlPointSnapshot::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.SetControlPointSnapshot) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_snapshot_name(from._internal_snapshot_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.control_point_ = from._impl_.control_point_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_SetControlPointSnapshot::CopyFrom(const CUserMsg_ParticleManager_SetControlPointSnapshot& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetControlPointSnapshot) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_SetControlPointSnapshot::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_SetControlPointSnapshot::InternalSwap(CUserMsg_ParticleManager_SetControlPointSnapshot* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.snapshot_name_, lhs_arena, - &other->_impl_.snapshot_name_, rhs_arena - ); - swap(_impl_.control_point_, other->_impl_.control_point_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetControlPointSnapshot::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[56]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_SetParticleText::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_text(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMsg_ParticleManager_SetParticleText::CUserMsg_ParticleManager_SetParticleText(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.SetParticleText) -} -CUserMsg_ParticleManager_SetParticleText::CUserMsg_ParticleManager_SetParticleText(const CUserMsg_ParticleManager_SetParticleText& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_SetParticleText* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_text()) { - _this->_impl_.text_.Set(from._internal_text(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetParticleText) -} - -inline void CUserMsg_ParticleManager_SetParticleText::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.text_){} - }; - _impl_.text_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.text_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMsg_ParticleManager_SetParticleText::~CUserMsg_ParticleManager_SetParticleText() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetParticleText) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_SetParticleText::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.text_.Destroy(); -} - -void CUserMsg_ParticleManager_SetParticleText::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_SetParticleText::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetParticleText) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.text_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_SetParticleText::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string text = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_text(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.SetParticleText.text"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_SetParticleText::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetParticleText) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string text = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_text().data(), static_cast(this->_internal_text().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMsg_ParticleManager.SetParticleText.text"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_text(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.SetParticleText) - return target; -} - -size_t CUserMsg_ParticleManager_SetParticleText::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetParticleText) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string text = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_text()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetParticleText::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_SetParticleText::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetParticleText::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_SetParticleText::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.SetParticleText) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_text()) { - _this->_internal_set_text(from._internal_text()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_SetParticleText::CopyFrom(const CUserMsg_ParticleManager_SetParticleText& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetParticleText) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_SetParticleText::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_SetParticleText::InternalSwap(CUserMsg_ParticleManager_SetParticleText* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.text_, lhs_arena, - &other->_impl_.text_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetParticleText::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[57]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_SetTextureAttribute::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_attribute_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_texture_name(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CUserMsg_ParticleManager_SetTextureAttribute::CUserMsg_ParticleManager_SetTextureAttribute(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.SetTextureAttribute) -} -CUserMsg_ParticleManager_SetTextureAttribute::CUserMsg_ParticleManager_SetTextureAttribute(const CUserMsg_ParticleManager_SetTextureAttribute& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_SetTextureAttribute* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.attribute_name_){} - , decltype(_impl_.texture_name_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.attribute_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.attribute_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_attribute_name()) { - _this->_impl_.attribute_name_.Set(from._internal_attribute_name(), - _this->GetArenaForAllocation()); - } - _impl_.texture_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.texture_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_texture_name()) { - _this->_impl_.texture_name_.Set(from._internal_texture_name(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetTextureAttribute) -} - -inline void CUserMsg_ParticleManager_SetTextureAttribute::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.attribute_name_){} - , decltype(_impl_.texture_name_){} - }; - _impl_.attribute_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.attribute_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.texture_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.texture_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMsg_ParticleManager_SetTextureAttribute::~CUserMsg_ParticleManager_SetTextureAttribute() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetTextureAttribute) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_SetTextureAttribute::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.attribute_name_.Destroy(); - _impl_.texture_name_.Destroy(); -} - -void CUserMsg_ParticleManager_SetTextureAttribute::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_SetTextureAttribute::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetTextureAttribute) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.attribute_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.texture_name_.ClearNonDefaultToEmpty(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_SetTextureAttribute::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string attribute_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_attribute_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.SetTextureAttribute.attribute_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string texture_name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_texture_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.SetTextureAttribute.texture_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_SetTextureAttribute::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetTextureAttribute) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string attribute_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_attribute_name().data(), static_cast(this->_internal_attribute_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMsg_ParticleManager.SetTextureAttribute.attribute_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_attribute_name(), target); - } - - // optional string texture_name = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_texture_name().data(), static_cast(this->_internal_texture_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMsg_ParticleManager.SetTextureAttribute.texture_name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_texture_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.SetTextureAttribute) - return target; -} - -size_t CUserMsg_ParticleManager_SetTextureAttribute::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetTextureAttribute) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string attribute_name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_attribute_name()); - } - - // optional string texture_name = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_texture_name()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetTextureAttribute::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_SetTextureAttribute::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetTextureAttribute::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_SetTextureAttribute::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.SetTextureAttribute) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_attribute_name(from._internal_attribute_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_texture_name(from._internal_texture_name()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_SetTextureAttribute::CopyFrom(const CUserMsg_ParticleManager_SetTextureAttribute& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetTextureAttribute) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_SetTextureAttribute::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_SetTextureAttribute::InternalSwap(CUserMsg_ParticleManager_SetTextureAttribute* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.attribute_name_, lhs_arena, - &other->_impl_.attribute_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.texture_name_, lhs_arena, - &other->_impl_.texture_name_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetTextureAttribute::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[58]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_SetSceneObjectGenericFlag::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_flag_value(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMsg_ParticleManager_SetSceneObjectGenericFlag::CUserMsg_ParticleManager_SetSceneObjectGenericFlag(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) -} -CUserMsg_ParticleManager_SetSceneObjectGenericFlag::CUserMsg_ParticleManager_SetSceneObjectGenericFlag(const CUserMsg_ParticleManager_SetSceneObjectGenericFlag& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_SetSceneObjectGenericFlag* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.flag_value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.flag_value_ = from._impl_.flag_value_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) -} - -inline void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.flag_value_){false} - }; -} - -CUserMsg_ParticleManager_SetSceneObjectGenericFlag::~CUserMsg_ParticleManager_SetSceneObjectGenericFlag() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.flag_value_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_SetSceneObjectGenericFlag::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool flag_value = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_flag_value(&has_bits); - _impl_.flag_value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_SetSceneObjectGenericFlag::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool flag_value = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_flag_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) - return target; -} - -size_t CUserMsg_ParticleManager_SetSceneObjectGenericFlag::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bool flag_value = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetSceneObjectGenericFlag::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_SetSceneObjectGenericFlag::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetSceneObjectGenericFlag::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_flag_value()) { - _this->_internal_set_flag_value(from._internal_flag_value()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::CopyFrom(const CUserMsg_ParticleManager_SetSceneObjectGenericFlag& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_SetSceneObjectGenericFlag::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::InternalSwap(CUserMsg_ParticleManager_SetSceneObjectGenericFlag* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.flag_value_, other->_impl_.flag_value_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetSceneObjectGenericFlag::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[59]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_tint(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_desat(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) -} -CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat(const CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tint_){} - , decltype(_impl_.desat_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.tint_, &from._impl_.tint_, - static_cast(reinterpret_cast(&_impl_.desat_) - - reinterpret_cast(&_impl_.tint_)) + sizeof(_impl_.desat_)); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) -} - -inline void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.tint_){0u} - , decltype(_impl_.desat_){0} - }; -} - -CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::~CUserMsg_ParticleManager_SetSceneObjectTintAndDesat() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.tint_, 0, static_cast( - reinterpret_cast(&_impl_.desat_) - - reinterpret_cast(&_impl_.tint_)) + sizeof(_impl_.desat_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 tint = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_tint(&has_bits); - _impl_.tint_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional float desat = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_desat(&has_bits); - _impl_.desat_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 tint = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_tint(), target); - } - - // optional float desat = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_desat(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) - return target; -} - -size_t CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional fixed32 tint = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional float desat = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.tint_ = from._impl_.tint_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.desat_ = from._impl_.desat_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::CopyFrom(const CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::InternalSwap(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat, _impl_.desat_) - + sizeof(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_impl_.desat_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat, _impl_.tint_)>( - reinterpret_cast(&_impl_.tint_), - reinterpret_cast(&other->_impl_.tint_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[60]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_ParticleSkipToTime::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_skip_to_time(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMsg_ParticleManager_ParticleSkipToTime::CUserMsg_ParticleManager_ParticleSkipToTime(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.ParticleSkipToTime) -} -CUserMsg_ParticleManager_ParticleSkipToTime::CUserMsg_ParticleManager_ParticleSkipToTime(const CUserMsg_ParticleManager_ParticleSkipToTime& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_ParticleSkipToTime* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.skip_to_time_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.skip_to_time_ = from._impl_.skip_to_time_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.ParticleSkipToTime) -} - -inline void CUserMsg_ParticleManager_ParticleSkipToTime::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.skip_to_time_){0} - }; -} - -CUserMsg_ParticleManager_ParticleSkipToTime::~CUserMsg_ParticleManager_ParticleSkipToTime() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.ParticleSkipToTime) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_ParticleSkipToTime::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMsg_ParticleManager_ParticleSkipToTime::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_ParticleSkipToTime::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.ParticleSkipToTime) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.skip_to_time_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_ParticleSkipToTime::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float skip_to_time = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_skip_to_time(&has_bits); - _impl_.skip_to_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_ParticleSkipToTime::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.ParticleSkipToTime) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float skip_to_time = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_skip_to_time(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.ParticleSkipToTime) - return target; -} - -size_t CUserMsg_ParticleManager_ParticleSkipToTime::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.ParticleSkipToTime) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional float skip_to_time = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_ParticleSkipToTime::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_ParticleSkipToTime::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_ParticleSkipToTime::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_ParticleSkipToTime::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.ParticleSkipToTime) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_skip_to_time()) { - _this->_internal_set_skip_to_time(from._internal_skip_to_time()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_ParticleSkipToTime::CopyFrom(const CUserMsg_ParticleManager_ParticleSkipToTime& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.ParticleSkipToTime) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_ParticleSkipToTime::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_ParticleSkipToTime::InternalSwap(CUserMsg_ParticleManager_ParticleSkipToTime* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.skip_to_time_, other->_impl_.skip_to_time_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_ParticleSkipToTime::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[61]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_ParticleCanFreeze::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_can_freeze(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMsg_ParticleManager_ParticleCanFreeze::CUserMsg_ParticleManager_ParticleCanFreeze(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.ParticleCanFreeze) -} -CUserMsg_ParticleManager_ParticleCanFreeze::CUserMsg_ParticleManager_ParticleCanFreeze(const CUserMsg_ParticleManager_ParticleCanFreeze& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_ParticleCanFreeze* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.can_freeze_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.can_freeze_ = from._impl_.can_freeze_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.ParticleCanFreeze) -} - -inline void CUserMsg_ParticleManager_ParticleCanFreeze::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.can_freeze_){false} - }; -} - -CUserMsg_ParticleManager_ParticleCanFreeze::~CUserMsg_ParticleManager_ParticleCanFreeze() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.ParticleCanFreeze) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_ParticleCanFreeze::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMsg_ParticleManager_ParticleCanFreeze::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_ParticleCanFreeze::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.ParticleCanFreeze) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.can_freeze_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_ParticleCanFreeze::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool can_freeze = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_can_freeze(&has_bits); - _impl_.can_freeze_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_ParticleCanFreeze::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.ParticleCanFreeze) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool can_freeze = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_can_freeze(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.ParticleCanFreeze) - return target; -} - -size_t CUserMsg_ParticleManager_ParticleCanFreeze::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.ParticleCanFreeze) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional bool can_freeze = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_ParticleCanFreeze::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_ParticleCanFreeze::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_ParticleCanFreeze::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_ParticleCanFreeze::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.ParticleCanFreeze) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_can_freeze()) { - _this->_internal_set_can_freeze(from._internal_can_freeze()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_ParticleCanFreeze::CopyFrom(const CUserMsg_ParticleManager_ParticleCanFreeze& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.ParticleCanFreeze) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_ParticleCanFreeze::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_ParticleCanFreeze::InternalSwap(CUserMsg_ParticleManager_ParticleCanFreeze* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.can_freeze_, other->_impl_.can_freeze_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_ParticleCanFreeze::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[62]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_freeze_transition_override(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) -} -CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride(const CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.freeze_transition_override_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.freeze_transition_override_ = from._impl_.freeze_transition_override_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) -} - -inline void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.freeze_transition_override_){0} - }; -} - -CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::~CUserMsg_ParticleManager_ParticleFreezeTransitionOverride() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.freeze_transition_override_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float freeze_transition_override = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_freeze_transition_override(&has_bits); - _impl_.freeze_transition_override_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float freeze_transition_override = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_freeze_transition_override(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) - return target; -} - -size_t CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional float freeze_transition_override = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_freeze_transition_override()) { - _this->_internal_set_freeze_transition_override(from._internal_freeze_transition_override()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::CopyFrom(const CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::InternalSwap(CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.freeze_transition_override_, other->_impl_.freeze_transition_override_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[63]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_FreezeParticleInvolving::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_set_frozen(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_transition_duration(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_entity_handle(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CUserMsg_ParticleManager_FreezeParticleInvolving::CUserMsg_ParticleManager_FreezeParticleInvolving(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.FreezeParticleInvolving) -} -CUserMsg_ParticleManager_FreezeParticleInvolving::CUserMsg_ParticleManager_FreezeParticleInvolving(const CUserMsg_ParticleManager_FreezeParticleInvolving& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_FreezeParticleInvolving* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.set_frozen_){} - , decltype(_impl_.transition_duration_){} - , decltype(_impl_.entity_handle_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.set_frozen_, &from._impl_.set_frozen_, - static_cast(reinterpret_cast(&_impl_.entity_handle_) - - reinterpret_cast(&_impl_.set_frozen_)) + sizeof(_impl_.entity_handle_)); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.FreezeParticleInvolving) -} - -inline void CUserMsg_ParticleManager_FreezeParticleInvolving::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.set_frozen_){false} - , decltype(_impl_.transition_duration_){0} - , decltype(_impl_.entity_handle_){16777215u} - }; -} - -CUserMsg_ParticleManager_FreezeParticleInvolving::~CUserMsg_ParticleManager_FreezeParticleInvolving() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.FreezeParticleInvolving) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_FreezeParticleInvolving::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMsg_ParticleManager_FreezeParticleInvolving::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_FreezeParticleInvolving::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.FreezeParticleInvolving) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.set_frozen_, 0, static_cast( - reinterpret_cast(&_impl_.transition_duration_) - - reinterpret_cast(&_impl_.set_frozen_)) + sizeof(_impl_.transition_duration_)); - _impl_.entity_handle_ = 16777215u; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_FreezeParticleInvolving::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool set_frozen = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_set_frozen(&has_bits); - _impl_.set_frozen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float transition_duration = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_transition_duration(&has_bits); - _impl_.transition_duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 entity_handle = 3 [default = 16777215]; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_entity_handle(&has_bits); - _impl_.entity_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_FreezeParticleInvolving::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.FreezeParticleInvolving) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool set_frozen = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_set_frozen(), target); - } - - // optional float transition_duration = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_transition_duration(), target); - } - - // optional uint32 entity_handle = 3 [default = 16777215]; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_entity_handle(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.FreezeParticleInvolving) - return target; -} - -size_t CUserMsg_ParticleManager_FreezeParticleInvolving::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.FreezeParticleInvolving) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional bool set_frozen = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 1; - } - - // optional float transition_duration = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional uint32 entity_handle = 3 [default = 16777215]; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_entity_handle()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_FreezeParticleInvolving::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_FreezeParticleInvolving::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_FreezeParticleInvolving::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_FreezeParticleInvolving::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.FreezeParticleInvolving) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.set_frozen_ = from._impl_.set_frozen_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.transition_duration_ = from._impl_.transition_duration_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.entity_handle_ = from._impl_.entity_handle_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_FreezeParticleInvolving::CopyFrom(const CUserMsg_ParticleManager_FreezeParticleInvolving& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.FreezeParticleInvolving) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_FreezeParticleInvolving::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_FreezeParticleInvolving::InternalSwap(CUserMsg_ParticleManager_FreezeParticleInvolving* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_FreezeParticleInvolving, _impl_.transition_duration_) - + sizeof(CUserMsg_ParticleManager_FreezeParticleInvolving::_impl_.transition_duration_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_FreezeParticleInvolving, _impl_.set_frozen_)>( - reinterpret_cast(&_impl_.set_frozen_), - reinterpret_cast(&other->_impl_.set_frozen_)); - swap(_impl_.entity_handle_, other->_impl_.entity_handle_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_FreezeParticleInvolving::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[64]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_AddModellistOverrideElement::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_model_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_spawn_probability(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_groupid(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CUserMsg_ParticleManager_AddModellistOverrideElement::CUserMsg_ParticleManager_AddModellistOverrideElement(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.AddModellistOverrideElement) -} -CUserMsg_ParticleManager_AddModellistOverrideElement::CUserMsg_ParticleManager_AddModellistOverrideElement(const CUserMsg_ParticleManager_AddModellistOverrideElement& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_AddModellistOverrideElement* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.model_name_){} - , decltype(_impl_.spawn_probability_){} - , decltype(_impl_.groupid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.model_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.model_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_model_name()) { - _this->_impl_.model_name_.Set(from._internal_model_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.spawn_probability_, &from._impl_.spawn_probability_, - static_cast(reinterpret_cast(&_impl_.groupid_) - - reinterpret_cast(&_impl_.spawn_probability_)) + sizeof(_impl_.groupid_)); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.AddModellistOverrideElement) -} - -inline void CUserMsg_ParticleManager_AddModellistOverrideElement::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.model_name_){} - , decltype(_impl_.spawn_probability_){0} - , decltype(_impl_.groupid_){0u} - }; - _impl_.model_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.model_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMsg_ParticleManager_AddModellistOverrideElement::~CUserMsg_ParticleManager_AddModellistOverrideElement() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.AddModellistOverrideElement) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_AddModellistOverrideElement::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.model_name_.Destroy(); -} - -void CUserMsg_ParticleManager_AddModellistOverrideElement::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_AddModellistOverrideElement::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.AddModellistOverrideElement) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.model_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.spawn_probability_, 0, static_cast( - reinterpret_cast(&_impl_.groupid_) - - reinterpret_cast(&_impl_.spawn_probability_)) + sizeof(_impl_.groupid_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_AddModellistOverrideElement::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string model_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_model_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.AddModellistOverrideElement.model_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional float spawn_probability = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_spawn_probability(&has_bits); - _impl_.spawn_probability_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 groupid = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_groupid(&has_bits); - _impl_.groupid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_AddModellistOverrideElement::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.AddModellistOverrideElement) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string model_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_model_name().data(), static_cast(this->_internal_model_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMsg_ParticleManager.AddModellistOverrideElement.model_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_model_name(), target); - } - - // optional float spawn_probability = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_spawn_probability(), target); - } - - // optional uint32 groupid = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_groupid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.AddModellistOverrideElement) - return target; -} - -size_t CUserMsg_ParticleManager_AddModellistOverrideElement::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.AddModellistOverrideElement) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string model_name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_model_name()); - } - - // optional float spawn_probability = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional uint32 groupid = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_groupid()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_AddModellistOverrideElement::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_AddModellistOverrideElement::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_AddModellistOverrideElement::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_AddModellistOverrideElement::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.AddModellistOverrideElement) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_model_name(from._internal_model_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.spawn_probability_ = from._impl_.spawn_probability_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.groupid_ = from._impl_.groupid_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_AddModellistOverrideElement::CopyFrom(const CUserMsg_ParticleManager_AddModellistOverrideElement& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.AddModellistOverrideElement) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_AddModellistOverrideElement::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_AddModellistOverrideElement::InternalSwap(CUserMsg_ParticleManager_AddModellistOverrideElement* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.model_name_, lhs_arena, - &other->_impl_.model_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_AddModellistOverrideElement, _impl_.groupid_) - + sizeof(CUserMsg_ParticleManager_AddModellistOverrideElement::_impl_.groupid_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_AddModellistOverrideElement, _impl_.spawn_probability_)>( - reinterpret_cast(&_impl_.spawn_probability_), - reinterpret_cast(&other->_impl_.spawn_probability_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_AddModellistOverrideElement::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[65]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_ClearModellistOverride::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_groupid(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMsg_ParticleManager_ClearModellistOverride::CUserMsg_ParticleManager_ClearModellistOverride(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.ClearModellistOverride) -} -CUserMsg_ParticleManager_ClearModellistOverride::CUserMsg_ParticleManager_ClearModellistOverride(const CUserMsg_ParticleManager_ClearModellistOverride& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_ClearModellistOverride* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.groupid_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.groupid_ = from._impl_.groupid_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.ClearModellistOverride) -} - -inline void CUserMsg_ParticleManager_ClearModellistOverride::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.groupid_){0u} - }; -} - -CUserMsg_ParticleManager_ClearModellistOverride::~CUserMsg_ParticleManager_ClearModellistOverride() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.ClearModellistOverride) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_ClearModellistOverride::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMsg_ParticleManager_ClearModellistOverride::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_ClearModellistOverride::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.ClearModellistOverride) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.groupid_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_ClearModellistOverride::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 groupid = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_groupid(&has_bits); - _impl_.groupid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_ClearModellistOverride::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.ClearModellistOverride) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 groupid = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_groupid(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.ClearModellistOverride) - return target; -} - -size_t CUserMsg_ParticleManager_ClearModellistOverride::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.ClearModellistOverride) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional uint32 groupid = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_groupid()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_ClearModellistOverride::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_ClearModellistOverride::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_ClearModellistOverride::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_ClearModellistOverride::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.ClearModellistOverride) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_groupid()) { - _this->_internal_set_groupid(from._internal_groupid()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_ClearModellistOverride::CopyFrom(const CUserMsg_ParticleManager_ClearModellistOverride& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.ClearModellistOverride) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_ClearModellistOverride::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_ClearModellistOverride::InternalSwap(CUserMsg_ParticleManager_ClearModellistOverride* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.groupid_, other->_impl_.groupid_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_ClearModellistOverride::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[66]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_value_name_hash(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) -} -CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue(const CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.value_name_hash_){} - , decltype(_impl_.value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.value_name_hash_, &from._impl_.value_name_hash_, - static_cast(reinterpret_cast(&_impl_.value_) - - reinterpret_cast(&_impl_.value_name_hash_)) + sizeof(_impl_.value_)); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) -} - -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.value_name_hash_){0u} - , decltype(_impl_.value_){0} - }; -} - -CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::~CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - ::memset(&_impl_.value_name_hash_, 0, static_cast( - reinterpret_cast(&_impl_.value_) - - reinterpret_cast(&_impl_.value_name_hash_)) + sizeof(_impl_.value_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 value_name_hash = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_value_name_hash(&has_bits); - _impl_.value_name_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_value(&has_bits); - _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 value_name_hash = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_value_name_hash(), target); - } - - // optional float value = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) - return target; -} - -size_t CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 value_name_hash = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_value_name_hash()); - } - - // optional float value = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.value_name_hash_ = from._impl_.value_name_hash_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.value_ = from._impl_.value_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::InternalSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue, _impl_.value_) - + sizeof(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_impl_.value_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue, _impl_.value_name_hash_)>( - reinterpret_cast(&_impl_.value_name_hash_), - reinterpret_cast(&other->_impl_.value_name_hash_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[67]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_value_name_hash(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgVector& value(const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* msg); - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgVector& -CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_Internal::value(const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* msg) { - return *msg->_impl_.value_; -} -void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::clear_value() { - if (_impl_.value_ != nullptr) _impl_.value_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) -} -CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue(const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.value_){nullptr} - , decltype(_impl_.value_name_hash_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_value()) { - _this->_impl_.value_ = new ::CMsgVector(*from._impl_.value_); - } - _this->_impl_.value_name_hash_ = from._impl_.value_name_hash_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) -} - -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.value_){nullptr} - , decltype(_impl_.value_name_hash_){0u} - }; -} - -CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::~CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.value_; -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.value_ != nullptr); - _impl_.value_->Clear(); - } - _impl_.value_name_hash_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 value_name_hash = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_value_name_hash(&has_bits); - _impl_.value_name_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_value(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 value_name_hash = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_value_name_hash(), target); - } - - // optional .CMsgVector value = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::value(this), - _Internal::value(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) - return target; -} - -size_t CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgVector value = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.value_); - } - - // optional uint32 value_name_hash = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_value_name_hash()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_value()->::CMsgVector::MergeFrom( - from._internal_value()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.value_name_hash_ = from._impl_.value_name_hash_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::InternalSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue, _impl_.value_name_hash_) - + sizeof(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_impl_.value_name_hash_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue, _impl_.value_)>( - reinterpret_cast(&_impl_.value_), - reinterpret_cast(&other->_impl_.value_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[68]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_value_name_hash(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgQAngle& angles(const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* msg); - static void set_has_angles(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgVector& translation(const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* msg); - static void set_has_translation(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgQAngle& -CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_Internal::angles(const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* msg) { - return *msg->_impl_.angles_; -} -const ::CMsgVector& -CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_Internal::translation(const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* msg) { - return *msg->_impl_.translation_; -} -void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::clear_angles() { - if (_impl_.angles_ != nullptr) _impl_.angles_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::clear_translation() { - if (_impl_.translation_ != nullptr) _impl_.translation_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) -} -CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue(const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.angles_){nullptr} - , decltype(_impl_.translation_){nullptr} - , decltype(_impl_.value_name_hash_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_angles()) { - _this->_impl_.angles_ = new ::CMsgQAngle(*from._impl_.angles_); - } - if (from._internal_has_translation()) { - _this->_impl_.translation_ = new ::CMsgVector(*from._impl_.translation_); - } - _this->_impl_.value_name_hash_ = from._impl_.value_name_hash_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) -} - -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.angles_){nullptr} - , decltype(_impl_.translation_){nullptr} - , decltype(_impl_.value_name_hash_){0u} - }; -} - -CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::~CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.angles_; - if (this != internal_default_instance()) delete _impl_.translation_; -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.angles_ != nullptr); - _impl_.angles_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.translation_ != nullptr); - _impl_.translation_->Clear(); - } - } - _impl_.value_name_hash_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 value_name_hash = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_value_name_hash(&has_bits); - _impl_.value_name_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgQAngle angles = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_angles(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector translation = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_translation(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 value_name_hash = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_value_name_hash(), target); - } - - // optional .CMsgQAngle angles = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::angles(this), - _Internal::angles(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector translation = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::translation(this), - _Internal::translation(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) - return target; -} - -size_t CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .CMsgQAngle angles = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.angles_); - } - - // optional .CMsgVector translation = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.translation_); - } - - // optional uint32 value_name_hash = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_value_name_hash()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_angles()->::CMsgQAngle::MergeFrom( - from._internal_angles()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_translation()->::CMsgVector::MergeFrom( - from._internal_translation()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.value_name_hash_ = from._impl_.value_name_hash_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::InternalSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue, _impl_.value_name_hash_) - + sizeof(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_impl_.value_name_hash_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue, _impl_.angles_)>( - reinterpret_cast(&_impl_.angles_), - reinterpret_cast(&other->_impl_.angles_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[69]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_value_name_hash(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_ent_index(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) -} -CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext(const CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.value_name_hash_){} - , decltype(_impl_.ent_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.value_name_hash_, &from._impl_.value_name_hash_, - static_cast(reinterpret_cast(&_impl_.ent_index_) - - reinterpret_cast(&_impl_.value_name_hash_)) + sizeof(_impl_.ent_index_)); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) -} - -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.value_name_hash_){0u} - , decltype(_impl_.ent_index_){16777215u} - }; -} - -CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::~CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - _impl_.value_name_hash_ = 0u; - _impl_.ent_index_ = 16777215u; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 value_name_hash = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_value_name_hash(&has_bits); - _impl_.value_name_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 ent_index = 2 [default = 16777215]; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_ent_index(&has_bits); - _impl_.ent_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 value_name_hash = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_value_name_hash(), target); - } - - // optional uint32 ent_index = 2 [default = 16777215]; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_ent_index(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) - return target; -} - -size_t CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional uint32 value_name_hash = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_value_name_hash()); - } - - // optional uint32 ent_index = 2 [default = 16777215]; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ent_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.value_name_hash_ = from._impl_.value_name_hash_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.ent_index_ = from._impl_.ent_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::InternalSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.value_name_hash_, other->_impl_.value_name_hash_); - swap(_impl_.ent_index_, other->_impl_.ent_index_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[70]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_SetParticleNamedValueContext::_Internal { - public: -}; - -CUserMsg_ParticleManager_SetParticleNamedValueContext::CUserMsg_ParticleManager_SetParticleNamedValueContext(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.SetParticleNamedValueContext) -} -CUserMsg_ParticleManager_SetParticleNamedValueContext::CUserMsg_ParticleManager_SetParticleNamedValueContext(const CUserMsg_ParticleManager_SetParticleNamedValueContext& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_SetParticleNamedValueContext* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.float_values_){from._impl_.float_values_} - , decltype(_impl_.vector_values_){from._impl_.vector_values_} - , decltype(_impl_.transform_values_){from._impl_.transform_values_} - , decltype(_impl_.ehandle_values_){from._impl_.ehandle_values_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetParticleNamedValueContext) -} - -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.float_values_){arena} - , decltype(_impl_.vector_values_){arena} - , decltype(_impl_.transform_values_){arena} - , decltype(_impl_.ehandle_values_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CUserMsg_ParticleManager_SetParticleNamedValueContext::~CUserMsg_ParticleManager_SetParticleNamedValueContext() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetParticleNamedValueContext) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.float_values_.~RepeatedPtrField(); - _impl_.vector_values_.~RepeatedPtrField(); - _impl_.transform_values_.~RepeatedPtrField(); - _impl_.ehandle_values_.~RepeatedPtrField(); -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetParticleNamedValueContext) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.float_values_.Clear(); - _impl_.vector_values_.Clear(); - _impl_.transform_values_.Clear(); - _impl_.ehandle_values_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_SetParticleNamedValueContext::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue float_values = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_float_values(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue vector_values = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_vector_values(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue transform_values = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_transform_values(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext ehandle_values = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_ehandle_values(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_SetParticleNamedValueContext::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetParticleNamedValueContext) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue float_values = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_float_values_size()); i < n; i++) { - const auto& repfield = this->_internal_float_values(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue vector_values = 2; - for (unsigned i = 0, - n = static_cast(this->_internal_vector_values_size()); i < n; i++) { - const auto& repfield = this->_internal_vector_values(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue transform_values = 3; - for (unsigned i = 0, - n = static_cast(this->_internal_transform_values_size()); i < n; i++) { - const auto& repfield = this->_internal_transform_values(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext ehandle_values = 4; - for (unsigned i = 0, - n = static_cast(this->_internal_ehandle_values_size()); i < n; i++) { - const auto& repfield = this->_internal_ehandle_values(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.SetParticleNamedValueContext) - return target; -} - -size_t CUserMsg_ParticleManager_SetParticleNamedValueContext::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetParticleNamedValueContext) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue float_values = 1; - total_size += 1UL * this->_internal_float_values_size(); - for (const auto& msg : this->_impl_.float_values_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue vector_values = 2; - total_size += 1UL * this->_internal_vector_values_size(); - for (const auto& msg : this->_impl_.vector_values_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue transform_values = 3; - total_size += 1UL * this->_internal_transform_values_size(); - for (const auto& msg : this->_impl_.transform_values_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext ehandle_values = 4; - total_size += 1UL * this->_internal_ehandle_values_size(); - for (const auto& msg : this->_impl_.ehandle_values_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetParticleNamedValueContext::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_SetParticleNamedValueContext::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetParticleNamedValueContext::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_SetParticleNamedValueContext::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.SetParticleNamedValueContext) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.float_values_.MergeFrom(from._impl_.float_values_); - _this->_impl_.vector_values_.MergeFrom(from._impl_.vector_values_); - _this->_impl_.transform_values_.MergeFrom(from._impl_.transform_values_); - _this->_impl_.ehandle_values_.MergeFrom(from._impl_.ehandle_values_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext::CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetParticleNamedValueContext) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_SetParticleNamedValueContext::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_SetParticleNamedValueContext::InternalSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.float_values_.InternalSwap(&other->_impl_.float_values_); - _impl_.vector_values_.InternalSwap(&other->_impl_.vector_values_); - _impl_.transform_values_.InternalSwap(&other->_impl_.transform_values_); - _impl_.ehandle_values_.InternalSwap(&other->_impl_.ehandle_values_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetParticleNamedValueContext::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[71]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_CreatePhysicsSim::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_prop_group_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_use_high_quality_simulation(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_max_particle_count(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CUserMsg_ParticleManager_CreatePhysicsSim::CUserMsg_ParticleManager_CreatePhysicsSim(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.CreatePhysicsSim) -} -CUserMsg_ParticleManager_CreatePhysicsSim::CUserMsg_ParticleManager_CreatePhysicsSim(const CUserMsg_ParticleManager_CreatePhysicsSim& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_CreatePhysicsSim* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.prop_group_name_){} - , decltype(_impl_.use_high_quality_simulation_){} - , decltype(_impl_.max_particle_count_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.prop_group_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.prop_group_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_prop_group_name()) { - _this->_impl_.prop_group_name_.Set(from._internal_prop_group_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.use_high_quality_simulation_, &from._impl_.use_high_quality_simulation_, - static_cast(reinterpret_cast(&_impl_.max_particle_count_) - - reinterpret_cast(&_impl_.use_high_quality_simulation_)) + sizeof(_impl_.max_particle_count_)); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.CreatePhysicsSim) -} - -inline void CUserMsg_ParticleManager_CreatePhysicsSim::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.prop_group_name_){} - , decltype(_impl_.use_high_quality_simulation_){false} - , decltype(_impl_.max_particle_count_){0u} - }; - _impl_.prop_group_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.prop_group_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMsg_ParticleManager_CreatePhysicsSim::~CUserMsg_ParticleManager_CreatePhysicsSim() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.CreatePhysicsSim) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_CreatePhysicsSim::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.prop_group_name_.Destroy(); -} - -void CUserMsg_ParticleManager_CreatePhysicsSim::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_CreatePhysicsSim::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.CreatePhysicsSim) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.prop_group_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.use_high_quality_simulation_, 0, static_cast( - reinterpret_cast(&_impl_.max_particle_count_) - - reinterpret_cast(&_impl_.use_high_quality_simulation_)) + sizeof(_impl_.max_particle_count_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_CreatePhysicsSim::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string prop_group_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_prop_group_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.CreatePhysicsSim.prop_group_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool use_high_quality_simulation = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_use_high_quality_simulation(&has_bits); - _impl_.use_high_quality_simulation_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 max_particle_count = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_max_particle_count(&has_bits); - _impl_.max_particle_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_CreatePhysicsSim::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.CreatePhysicsSim) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string prop_group_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_prop_group_name().data(), static_cast(this->_internal_prop_group_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMsg_ParticleManager.CreatePhysicsSim.prop_group_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_prop_group_name(), target); - } - - // optional bool use_high_quality_simulation = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_use_high_quality_simulation(), target); - } - - // optional uint32 max_particle_count = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_max_particle_count(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.CreatePhysicsSim) - return target; -} - -size_t CUserMsg_ParticleManager_CreatePhysicsSim::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.CreatePhysicsSim) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string prop_group_name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_prop_group_name()); - } - - // optional bool use_high_quality_simulation = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - // optional uint32 max_particle_count = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_max_particle_count()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_CreatePhysicsSim::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_CreatePhysicsSim::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_CreatePhysicsSim::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_CreatePhysicsSim::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.CreatePhysicsSim) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_prop_group_name(from._internal_prop_group_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.use_high_quality_simulation_ = from._impl_.use_high_quality_simulation_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.max_particle_count_ = from._impl_.max_particle_count_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_CreatePhysicsSim::CopyFrom(const CUserMsg_ParticleManager_CreatePhysicsSim& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.CreatePhysicsSim) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_CreatePhysicsSim::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_CreatePhysicsSim::InternalSwap(CUserMsg_ParticleManager_CreatePhysicsSim* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.prop_group_name_, lhs_arena, - &other->_impl_.prop_group_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_CreatePhysicsSim, _impl_.max_particle_count_) - + sizeof(CUserMsg_ParticleManager_CreatePhysicsSim::_impl_.max_particle_count_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_CreatePhysicsSim, _impl_.use_high_quality_simulation_)>( - reinterpret_cast(&_impl_.use_high_quality_simulation_), - reinterpret_cast(&other->_impl_.use_high_quality_simulation_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_CreatePhysicsSim::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[72]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_DestroyPhysicsSim::_Internal { - public: -}; - -CUserMsg_ParticleManager_DestroyPhysicsSim::CUserMsg_ParticleManager_DestroyPhysicsSim(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.DestroyPhysicsSim) -} -CUserMsg_ParticleManager_DestroyPhysicsSim::CUserMsg_ParticleManager_DestroyPhysicsSim(const CUserMsg_ParticleManager_DestroyPhysicsSim& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CUserMsg_ParticleManager_DestroyPhysicsSim* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.DestroyPhysicsSim) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_DestroyPhysicsSim::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_DestroyPhysicsSim::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_DestroyPhysicsSim::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[73]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_SetVData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_vdata_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMsg_ParticleManager_SetVData::CUserMsg_ParticleManager_SetVData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.SetVData) -} -CUserMsg_ParticleManager_SetVData::CUserMsg_ParticleManager_SetVData(const CUserMsg_ParticleManager_SetVData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_SetVData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.vdata_name_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.vdata_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.vdata_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_vdata_name()) { - _this->_impl_.vdata_name_.Set(from._internal_vdata_name(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetVData) -} - -inline void CUserMsg_ParticleManager_SetVData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.vdata_name_){} - }; - _impl_.vdata_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.vdata_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMsg_ParticleManager_SetVData::~CUserMsg_ParticleManager_SetVData() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetVData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_SetVData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.vdata_name_.Destroy(); -} - -void CUserMsg_ParticleManager_SetVData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_SetVData::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetVData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.vdata_name_.ClearNonDefaultToEmpty(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_SetVData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string vdata_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_vdata_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.SetVData.vdata_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_SetVData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetVData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string vdata_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_vdata_name().data(), static_cast(this->_internal_vdata_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMsg_ParticleManager.SetVData.vdata_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_vdata_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.SetVData) - return target; -} - -size_t CUserMsg_ParticleManager_SetVData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetVData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional string vdata_name = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_vdata_name()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetVData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_SetVData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetVData::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_SetVData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.SetVData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_vdata_name()) { - _this->_internal_set_vdata_name(from._internal_vdata_name()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_SetVData::CopyFrom(const CUserMsg_ParticleManager_SetVData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetVData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_SetVData::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_SetVData::InternalSwap(CUserMsg_ParticleManager_SetVData* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.vdata_name_, lhs_arena, - &other->_impl_.vdata_name_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetVData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[74]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_SetMaterialOverride::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_material_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_include_children(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CUserMsg_ParticleManager_SetMaterialOverride::CUserMsg_ParticleManager_SetMaterialOverride(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.SetMaterialOverride) -} -CUserMsg_ParticleManager_SetMaterialOverride::CUserMsg_ParticleManager_SetMaterialOverride(const CUserMsg_ParticleManager_SetMaterialOverride& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_SetMaterialOverride* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.material_name_){} - , decltype(_impl_.include_children_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.material_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.material_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_material_name()) { - _this->_impl_.material_name_.Set(from._internal_material_name(), - _this->GetArenaForAllocation()); - } - _this->_impl_.include_children_ = from._impl_.include_children_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetMaterialOverride) -} - -inline void CUserMsg_ParticleManager_SetMaterialOverride::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.material_name_){} - , decltype(_impl_.include_children_){false} - }; - _impl_.material_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.material_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMsg_ParticleManager_SetMaterialOverride::~CUserMsg_ParticleManager_SetMaterialOverride() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetMaterialOverride) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_SetMaterialOverride::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.material_name_.Destroy(); -} - -void CUserMsg_ParticleManager_SetMaterialOverride::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_SetMaterialOverride::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetMaterialOverride) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.material_name_.ClearNonDefaultToEmpty(); - } - _impl_.include_children_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_SetMaterialOverride::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string material_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_material_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.SetMaterialOverride.material_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool include_children = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_include_children(&has_bits); - _impl_.include_children_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_SetMaterialOverride::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetMaterialOverride) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string material_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_material_name().data(), static_cast(this->_internal_material_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMsg_ParticleManager.SetMaterialOverride.material_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_material_name(), target); - } - - // optional bool include_children = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_include_children(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.SetMaterialOverride) - return target; -} - -size_t CUserMsg_ParticleManager_SetMaterialOverride::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetMaterialOverride) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string material_name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_material_name()); - } - - // optional bool include_children = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetMaterialOverride::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_SetMaterialOverride::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetMaterialOverride::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_SetMaterialOverride::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.SetMaterialOverride) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_material_name(from._internal_material_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.include_children_ = from._impl_.include_children_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_SetMaterialOverride::CopyFrom(const CUserMsg_ParticleManager_SetMaterialOverride& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetMaterialOverride) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_SetMaterialOverride::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_SetMaterialOverride::InternalSwap(CUserMsg_ParticleManager_SetMaterialOverride* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.material_name_, lhs_arena, - &other->_impl_.material_name_, rhs_arena - ); - swap(_impl_.include_children_, other->_impl_.include_children_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetMaterialOverride::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[75]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_AddFan::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_active(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static const ::CMsgVector& bounds_mins(const CUserMsg_ParticleManager_AddFan* msg); - static void set_has_bounds_mins(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CMsgVector& bounds_maxs(const CUserMsg_ParticleManager_AddFan* msg); - static void set_has_bounds_maxs(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CMsgVector& fan_origin(const CUserMsg_ParticleManager_AddFan* msg); - static void set_has_fan_origin(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static const ::CMsgVector& fan_origin_offset(const CUserMsg_ParticleManager_AddFan* msg); - static void set_has_fan_origin_offset(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static const ::CMsgVector& fan_direction(const CUserMsg_ParticleManager_AddFan* msg); - static void set_has_fan_direction(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_force(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_fan_force_curve(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_falloff(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_pull_towards_point(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_curve_min_dist(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_curve_max_dist(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_fan_type(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static void set_has_cone_start_radius(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_cone_end_radius(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static void set_has_cone_length(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static void set_has_entity_handle(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } - static void set_has_attachment_name(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -const ::CMsgVector& -CUserMsg_ParticleManager_AddFan::_Internal::bounds_mins(const CUserMsg_ParticleManager_AddFan* msg) { - return *msg->_impl_.bounds_mins_; -} -const ::CMsgVector& -CUserMsg_ParticleManager_AddFan::_Internal::bounds_maxs(const CUserMsg_ParticleManager_AddFan* msg) { - return *msg->_impl_.bounds_maxs_; -} -const ::CMsgVector& -CUserMsg_ParticleManager_AddFan::_Internal::fan_origin(const CUserMsg_ParticleManager_AddFan* msg) { - return *msg->_impl_.fan_origin_; -} -const ::CMsgVector& -CUserMsg_ParticleManager_AddFan::_Internal::fan_origin_offset(const CUserMsg_ParticleManager_AddFan* msg) { - return *msg->_impl_.fan_origin_offset_; -} -const ::CMsgVector& -CUserMsg_ParticleManager_AddFan::_Internal::fan_direction(const CUserMsg_ParticleManager_AddFan* msg) { - return *msg->_impl_.fan_direction_; -} -void CUserMsg_ParticleManager_AddFan::clear_bounds_mins() { - if (_impl_.bounds_mins_ != nullptr) _impl_.bounds_mins_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -void CUserMsg_ParticleManager_AddFan::clear_bounds_maxs() { - if (_impl_.bounds_maxs_ != nullptr) _impl_.bounds_maxs_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -void CUserMsg_ParticleManager_AddFan::clear_fan_origin() { - if (_impl_.fan_origin_ != nullptr) _impl_.fan_origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -void CUserMsg_ParticleManager_AddFan::clear_fan_origin_offset() { - if (_impl_.fan_origin_offset_ != nullptr) _impl_.fan_origin_offset_->Clear(); - _impl_._has_bits_[0] &= ~0x00000020u; -} -void CUserMsg_ParticleManager_AddFan::clear_fan_direction() { - if (_impl_.fan_direction_ != nullptr) _impl_.fan_direction_->Clear(); - _impl_._has_bits_[0] &= ~0x00000040u; -} -CUserMsg_ParticleManager_AddFan::CUserMsg_ParticleManager_AddFan(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.AddFan) -} -CUserMsg_ParticleManager_AddFan::CUserMsg_ParticleManager_AddFan(const CUserMsg_ParticleManager_AddFan& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_AddFan* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.fan_force_curve_){} - , decltype(_impl_.attachment_name_){} - , decltype(_impl_.bounds_mins_){nullptr} - , decltype(_impl_.bounds_maxs_){nullptr} - , decltype(_impl_.fan_origin_){nullptr} - , decltype(_impl_.fan_origin_offset_){nullptr} - , decltype(_impl_.fan_direction_){nullptr} - , decltype(_impl_.active_){} - , decltype(_impl_.falloff_){} - , decltype(_impl_.pull_towards_point_){} - , decltype(_impl_.force_){} - , decltype(_impl_.curve_min_dist_){} - , decltype(_impl_.curve_max_dist_){} - , decltype(_impl_.fan_type_){} - , decltype(_impl_.cone_start_radius_){} - , decltype(_impl_.cone_end_radius_){} - , decltype(_impl_.cone_length_){} - , decltype(_impl_.entity_handle_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.fan_force_curve_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.fan_force_curve_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_fan_force_curve()) { - _this->_impl_.fan_force_curve_.Set(from._internal_fan_force_curve(), - _this->GetArenaForAllocation()); - } - _impl_.attachment_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.attachment_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_attachment_name()) { - _this->_impl_.attachment_name_.Set(from._internal_attachment_name(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_bounds_mins()) { - _this->_impl_.bounds_mins_ = new ::CMsgVector(*from._impl_.bounds_mins_); - } - if (from._internal_has_bounds_maxs()) { - _this->_impl_.bounds_maxs_ = new ::CMsgVector(*from._impl_.bounds_maxs_); - } - if (from._internal_has_fan_origin()) { - _this->_impl_.fan_origin_ = new ::CMsgVector(*from._impl_.fan_origin_); - } - if (from._internal_has_fan_origin_offset()) { - _this->_impl_.fan_origin_offset_ = new ::CMsgVector(*from._impl_.fan_origin_offset_); - } - if (from._internal_has_fan_direction()) { - _this->_impl_.fan_direction_ = new ::CMsgVector(*from._impl_.fan_direction_); - } - ::memcpy(&_impl_.active_, &from._impl_.active_, - static_cast(reinterpret_cast(&_impl_.entity_handle_) - - reinterpret_cast(&_impl_.active_)) + sizeof(_impl_.entity_handle_)); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.AddFan) -} - -inline void CUserMsg_ParticleManager_AddFan::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.fan_force_curve_){} - , decltype(_impl_.attachment_name_){} - , decltype(_impl_.bounds_mins_){nullptr} - , decltype(_impl_.bounds_maxs_){nullptr} - , decltype(_impl_.fan_origin_){nullptr} - , decltype(_impl_.fan_origin_offset_){nullptr} - , decltype(_impl_.fan_direction_){nullptr} - , decltype(_impl_.active_){false} - , decltype(_impl_.falloff_){false} - , decltype(_impl_.pull_towards_point_){false} - , decltype(_impl_.force_){0} - , decltype(_impl_.curve_min_dist_){0} - , decltype(_impl_.curve_max_dist_){0} - , decltype(_impl_.fan_type_){0u} - , decltype(_impl_.cone_start_radius_){0} - , decltype(_impl_.cone_end_radius_){0} - , decltype(_impl_.cone_length_){0} - , decltype(_impl_.entity_handle_){16777215u} - }; - _impl_.fan_force_curve_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.fan_force_curve_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.attachment_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.attachment_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMsg_ParticleManager_AddFan::~CUserMsg_ParticleManager_AddFan() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.AddFan) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_AddFan::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.fan_force_curve_.Destroy(); - _impl_.attachment_name_.Destroy(); - if (this != internal_default_instance()) delete _impl_.bounds_mins_; - if (this != internal_default_instance()) delete _impl_.bounds_maxs_; - if (this != internal_default_instance()) delete _impl_.fan_origin_; - if (this != internal_default_instance()) delete _impl_.fan_origin_offset_; - if (this != internal_default_instance()) delete _impl_.fan_direction_; -} - -void CUserMsg_ParticleManager_AddFan::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_AddFan::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.AddFan) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.fan_force_curve_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.attachment_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.bounds_mins_ != nullptr); - _impl_.bounds_mins_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.bounds_maxs_ != nullptr); - _impl_.bounds_maxs_->Clear(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(_impl_.fan_origin_ != nullptr); - _impl_.fan_origin_->Clear(); - } - if (cached_has_bits & 0x00000020u) { - GOOGLE_DCHECK(_impl_.fan_origin_offset_ != nullptr); - _impl_.fan_origin_offset_->Clear(); - } - if (cached_has_bits & 0x00000040u) { - GOOGLE_DCHECK(_impl_.fan_direction_ != nullptr); - _impl_.fan_direction_->Clear(); - } - } - _impl_.active_ = false; - if (cached_has_bits & 0x0000ff00u) { - ::memset(&_impl_.falloff_, 0, static_cast( - reinterpret_cast(&_impl_.cone_end_radius_) - - reinterpret_cast(&_impl_.falloff_)) + sizeof(_impl_.cone_end_radius_)); - } - if (cached_has_bits & 0x00030000u) { - _impl_.cone_length_ = 0; - _impl_.entity_handle_ = 16777215u; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_AddFan::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool active = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_active(&has_bits); - _impl_.active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector bounds_mins = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_bounds_mins(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector bounds_maxs = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_bounds_maxs(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector fan_origin = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_fan_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector fan_origin_offset = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_fan_origin_offset(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector fan_direction = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_fan_direction(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float force = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_force(&has_bits); - _impl_.force_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional string fan_force_curve = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - auto str = _internal_mutable_fan_force_curve(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.AddFan.fan_force_curve"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool falloff = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_falloff(&has_bits); - _impl_.falloff_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bool pull_towards_point = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_pull_towards_point(&has_bits); - _impl_.pull_towards_point_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float curve_min_dist = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 93)) { - _Internal::set_has_curve_min_dist(&has_bits); - _impl_.curve_min_dist_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float curve_max_dist = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 101)) { - _Internal::set_has_curve_max_dist(&has_bits); - _impl_.curve_max_dist_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 fan_type = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_fan_type(&has_bits); - _impl_.fan_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float cone_start_radius = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 117)) { - _Internal::set_has_cone_start_radius(&has_bits); - _impl_.cone_start_radius_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float cone_end_radius = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 125)) { - _Internal::set_has_cone_end_radius(&has_bits); - _impl_.cone_end_radius_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float cone_length = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 133)) { - _Internal::set_has_cone_length(&has_bits); - _impl_.cone_length_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional uint32 entity_handle = 17 [default = 16777215]; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { - _Internal::set_has_entity_handle(&has_bits); - _impl_.entity_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string attachment_name = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { - auto str = _internal_mutable_attachment_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMsg_ParticleManager.AddFan.attachment_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_AddFan::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.AddFan) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool active = 1; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_active(), target); - } - - // optional .CMsgVector bounds_mins = 2; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::bounds_mins(this), - _Internal::bounds_mins(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector bounds_maxs = 3; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::bounds_maxs(this), - _Internal::bounds_maxs(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector fan_origin = 4; - if (cached_has_bits & 0x00000010u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::fan_origin(this), - _Internal::fan_origin(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector fan_origin_offset = 5; - if (cached_has_bits & 0x00000020u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::fan_origin_offset(this), - _Internal::fan_origin_offset(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector fan_direction = 6; - if (cached_has_bits & 0x00000040u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::fan_direction(this), - _Internal::fan_direction(this).GetCachedSize(), target, stream); - } - - // optional float force = 7; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_force(), target); - } - - // optional string fan_force_curve = 8; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_fan_force_curve().data(), static_cast(this->_internal_fan_force_curve().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMsg_ParticleManager.AddFan.fan_force_curve"); - target = stream->WriteStringMaybeAliased( - 8, this->_internal_fan_force_curve(), target); - } - - // optional bool falloff = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_falloff(), target); - } - - // optional bool pull_towards_point = 10; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(10, this->_internal_pull_towards_point(), target); - } - - // optional float curve_min_dist = 11; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(11, this->_internal_curve_min_dist(), target); - } - - // optional float curve_max_dist = 12; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(12, this->_internal_curve_max_dist(), target); - } - - // optional uint32 fan_type = 13; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_fan_type(), target); - } - - // optional float cone_start_radius = 14; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(14, this->_internal_cone_start_radius(), target); - } - - // optional float cone_end_radius = 15; - if (cached_has_bits & 0x00008000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(15, this->_internal_cone_end_radius(), target); - } - - // optional float cone_length = 16; - if (cached_has_bits & 0x00010000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(16, this->_internal_cone_length(), target); - } - - // optional uint32 entity_handle = 17 [default = 16777215]; - if (cached_has_bits & 0x00020000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_entity_handle(), target); - } - - // optional string attachment_name = 18; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_attachment_name().data(), static_cast(this->_internal_attachment_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMsg_ParticleManager.AddFan.attachment_name"); - target = stream->WriteStringMaybeAliased( - 18, this->_internal_attachment_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.AddFan) - return target; -} - -size_t CUserMsg_ParticleManager_AddFan::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.AddFan) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string fan_force_curve = 8; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_fan_force_curve()); - } - - // optional string attachment_name = 18; - if (cached_has_bits & 0x00000002u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_attachment_name()); - } - - // optional .CMsgVector bounds_mins = 2; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.bounds_mins_); - } - - // optional .CMsgVector bounds_maxs = 3; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.bounds_maxs_); - } - - // optional .CMsgVector fan_origin = 4; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.fan_origin_); - } - - // optional .CMsgVector fan_origin_offset = 5; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.fan_origin_offset_); - } - - // optional .CMsgVector fan_direction = 6; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.fan_direction_); - } - - // optional bool active = 1; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + 1; - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional bool falloff = 9; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + 1; - } - - // optional bool pull_towards_point = 10; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + 1; - } - - // optional float force = 7; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + 4; - } - - // optional float curve_min_dist = 11; - if (cached_has_bits & 0x00000800u) { - total_size += 1 + 4; - } - - // optional float curve_max_dist = 12; - if (cached_has_bits & 0x00001000u) { - total_size += 1 + 4; - } - - // optional uint32 fan_type = 13; - if (cached_has_bits & 0x00002000u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_fan_type()); - } - - // optional float cone_start_radius = 14; - if (cached_has_bits & 0x00004000u) { - total_size += 1 + 4; - } - - // optional float cone_end_radius = 15; - if (cached_has_bits & 0x00008000u) { - total_size += 1 + 4; - } - - } - if (cached_has_bits & 0x00030000u) { - // optional float cone_length = 16; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + 4; - } - - // optional uint32 entity_handle = 17 [default = 16777215]; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + - ::_pbi::WireFormatLite::UInt32Size( - this->_internal_entity_handle()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_AddFan::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_AddFan::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_AddFan::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_AddFan::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.AddFan) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_fan_force_curve(from._internal_fan_force_curve()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_attachment_name(from._internal_attachment_name()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_bounds_mins()->::CMsgVector::MergeFrom( - from._internal_bounds_mins()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_bounds_maxs()->::CMsgVector::MergeFrom( - from._internal_bounds_maxs()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_mutable_fan_origin()->::CMsgVector::MergeFrom( - from._internal_fan_origin()); - } - if (cached_has_bits & 0x00000020u) { - _this->_internal_mutable_fan_origin_offset()->::CMsgVector::MergeFrom( - from._internal_fan_origin_offset()); - } - if (cached_has_bits & 0x00000040u) { - _this->_internal_mutable_fan_direction()->::CMsgVector::MergeFrom( - from._internal_fan_direction()); - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.active_ = from._impl_.active_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.falloff_ = from._impl_.falloff_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.pull_towards_point_ = from._impl_.pull_towards_point_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.force_ = from._impl_.force_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.curve_min_dist_ = from._impl_.curve_min_dist_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.curve_max_dist_ = from._impl_.curve_max_dist_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.fan_type_ = from._impl_.fan_type_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.cone_start_radius_ = from._impl_.cone_start_radius_; - } - if (cached_has_bits & 0x00008000u) { - _this->_impl_.cone_end_radius_ = from._impl_.cone_end_radius_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00030000u) { - if (cached_has_bits & 0x00010000u) { - _this->_impl_.cone_length_ = from._impl_.cone_length_; - } - if (cached_has_bits & 0x00020000u) { - _this->_impl_.entity_handle_ = from._impl_.entity_handle_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_AddFan::CopyFrom(const CUserMsg_ParticleManager_AddFan& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.AddFan) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_AddFan::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_AddFan::InternalSwap(CUserMsg_ParticleManager_AddFan* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.fan_force_curve_, lhs_arena, - &other->_impl_.fan_force_curve_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.attachment_name_, lhs_arena, - &other->_impl_.attachment_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_AddFan, _impl_.cone_length_) - + sizeof(CUserMsg_ParticleManager_AddFan::_impl_.cone_length_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_AddFan, _impl_.bounds_mins_)>( - reinterpret_cast(&_impl_.bounds_mins_), - reinterpret_cast(&other->_impl_.bounds_mins_)); - swap(_impl_.entity_handle_, other->_impl_.entity_handle_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_AddFan::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[76]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_UpdateFan::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_active(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static const ::CMsgVector& fan_origin(const CUserMsg_ParticleManager_UpdateFan* msg); - static void set_has_fan_origin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgVector& fan_origin_offset(const CUserMsg_ParticleManager_UpdateFan* msg); - static void set_has_fan_origin_offset(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgVector& fan_direction(const CUserMsg_ParticleManager_UpdateFan* msg); - static void set_has_fan_direction(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_fan_ramp_ratio(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static const ::CMsgVector& bounds_mins(const CUserMsg_ParticleManager_UpdateFan* msg); - static void set_has_bounds_mins(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CMsgVector& bounds_maxs(const CUserMsg_ParticleManager_UpdateFan* msg); - static void set_has_bounds_maxs(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -const ::CMsgVector& -CUserMsg_ParticleManager_UpdateFan::_Internal::fan_origin(const CUserMsg_ParticleManager_UpdateFan* msg) { - return *msg->_impl_.fan_origin_; -} -const ::CMsgVector& -CUserMsg_ParticleManager_UpdateFan::_Internal::fan_origin_offset(const CUserMsg_ParticleManager_UpdateFan* msg) { - return *msg->_impl_.fan_origin_offset_; -} -const ::CMsgVector& -CUserMsg_ParticleManager_UpdateFan::_Internal::fan_direction(const CUserMsg_ParticleManager_UpdateFan* msg) { - return *msg->_impl_.fan_direction_; -} -const ::CMsgVector& -CUserMsg_ParticleManager_UpdateFan::_Internal::bounds_mins(const CUserMsg_ParticleManager_UpdateFan* msg) { - return *msg->_impl_.bounds_mins_; -} -const ::CMsgVector& -CUserMsg_ParticleManager_UpdateFan::_Internal::bounds_maxs(const CUserMsg_ParticleManager_UpdateFan* msg) { - return *msg->_impl_.bounds_maxs_; -} -void CUserMsg_ParticleManager_UpdateFan::clear_fan_origin() { - if (_impl_.fan_origin_ != nullptr) _impl_.fan_origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CUserMsg_ParticleManager_UpdateFan::clear_fan_origin_offset() { - if (_impl_.fan_origin_offset_ != nullptr) _impl_.fan_origin_offset_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CUserMsg_ParticleManager_UpdateFan::clear_fan_direction() { - if (_impl_.fan_direction_ != nullptr) _impl_.fan_direction_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -void CUserMsg_ParticleManager_UpdateFan::clear_bounds_mins() { - if (_impl_.bounds_mins_ != nullptr) _impl_.bounds_mins_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -void CUserMsg_ParticleManager_UpdateFan::clear_bounds_maxs() { - if (_impl_.bounds_maxs_ != nullptr) _impl_.bounds_maxs_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -CUserMsg_ParticleManager_UpdateFan::CUserMsg_ParticleManager_UpdateFan(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.UpdateFan) -} -CUserMsg_ParticleManager_UpdateFan::CUserMsg_ParticleManager_UpdateFan(const CUserMsg_ParticleManager_UpdateFan& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_UpdateFan* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.fan_origin_){nullptr} - , decltype(_impl_.fan_origin_offset_){nullptr} - , decltype(_impl_.fan_direction_){nullptr} - , decltype(_impl_.bounds_mins_){nullptr} - , decltype(_impl_.bounds_maxs_){nullptr} - , decltype(_impl_.active_){} - , decltype(_impl_.fan_ramp_ratio_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_fan_origin()) { - _this->_impl_.fan_origin_ = new ::CMsgVector(*from._impl_.fan_origin_); - } - if (from._internal_has_fan_origin_offset()) { - _this->_impl_.fan_origin_offset_ = new ::CMsgVector(*from._impl_.fan_origin_offset_); - } - if (from._internal_has_fan_direction()) { - _this->_impl_.fan_direction_ = new ::CMsgVector(*from._impl_.fan_direction_); - } - if (from._internal_has_bounds_mins()) { - _this->_impl_.bounds_mins_ = new ::CMsgVector(*from._impl_.bounds_mins_); - } - if (from._internal_has_bounds_maxs()) { - _this->_impl_.bounds_maxs_ = new ::CMsgVector(*from._impl_.bounds_maxs_); - } - ::memcpy(&_impl_.active_, &from._impl_.active_, - static_cast(reinterpret_cast(&_impl_.fan_ramp_ratio_) - - reinterpret_cast(&_impl_.active_)) + sizeof(_impl_.fan_ramp_ratio_)); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.UpdateFan) -} - -inline void CUserMsg_ParticleManager_UpdateFan::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.fan_origin_){nullptr} - , decltype(_impl_.fan_origin_offset_){nullptr} - , decltype(_impl_.fan_direction_){nullptr} - , decltype(_impl_.bounds_mins_){nullptr} - , decltype(_impl_.bounds_maxs_){nullptr} - , decltype(_impl_.active_){false} - , decltype(_impl_.fan_ramp_ratio_){0} - }; -} - -CUserMsg_ParticleManager_UpdateFan::~CUserMsg_ParticleManager_UpdateFan() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.UpdateFan) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_UpdateFan::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.fan_origin_; - if (this != internal_default_instance()) delete _impl_.fan_origin_offset_; - if (this != internal_default_instance()) delete _impl_.fan_direction_; - if (this != internal_default_instance()) delete _impl_.bounds_mins_; - if (this != internal_default_instance()) delete _impl_.bounds_maxs_; -} - -void CUserMsg_ParticleManager_UpdateFan::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_UpdateFan::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.UpdateFan) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.fan_origin_ != nullptr); - _impl_.fan_origin_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.fan_origin_offset_ != nullptr); - _impl_.fan_origin_offset_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.fan_direction_ != nullptr); - _impl_.fan_direction_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.bounds_mins_ != nullptr); - _impl_.bounds_mins_->Clear(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(_impl_.bounds_maxs_ != nullptr); - _impl_.bounds_maxs_->Clear(); - } - } - if (cached_has_bits & 0x00000060u) { - ::memset(&_impl_.active_, 0, static_cast( - reinterpret_cast(&_impl_.fan_ramp_ratio_) - - reinterpret_cast(&_impl_.active_)) + sizeof(_impl_.fan_ramp_ratio_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_UpdateFan::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional bool active = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_active(&has_bits); - _impl_.active_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector fan_origin = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_fan_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector fan_origin_offset = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_fan_origin_offset(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector fan_direction = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_fan_direction(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector bounds_mins = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_bounds_mins(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CMsgVector bounds_maxs = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_bounds_maxs(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float fan_ramp_ratio = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { - _Internal::set_has_fan_ramp_ratio(&has_bits); - _impl_.fan_ramp_ratio_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_UpdateFan::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.UpdateFan) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional bool active = 1; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_active(), target); - } - - // optional .CMsgVector fan_origin = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::fan_origin(this), - _Internal::fan_origin(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector fan_origin_offset = 3; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::fan_origin_offset(this), - _Internal::fan_origin_offset(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector fan_direction = 4; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::fan_direction(this), - _Internal::fan_direction(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector bounds_mins = 5; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::bounds_mins(this), - _Internal::bounds_mins(this).GetCachedSize(), target, stream); - } - - // optional .CMsgVector bounds_maxs = 6; - if (cached_has_bits & 0x00000010u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::bounds_maxs(this), - _Internal::bounds_maxs(this).GetCachedSize(), target, stream); - } - - // optional float fan_ramp_ratio = 7; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_fan_ramp_ratio(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.UpdateFan) - return target; -} - -size_t CUserMsg_ParticleManager_UpdateFan::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.UpdateFan) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - // optional .CMsgVector fan_origin = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.fan_origin_); - } - - // optional .CMsgVector fan_origin_offset = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.fan_origin_offset_); - } - - // optional .CMsgVector fan_direction = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.fan_direction_); - } - - // optional .CMsgVector bounds_mins = 5; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.bounds_mins_); - } - - // optional .CMsgVector bounds_maxs = 6; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.bounds_maxs_); - } - - // optional bool active = 1; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + 1; - } - - // optional float fan_ramp_ratio = 7; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_UpdateFan::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_UpdateFan::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_UpdateFan::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_UpdateFan::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.UpdateFan) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_fan_origin()->::CMsgVector::MergeFrom( - from._internal_fan_origin()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_fan_origin_offset()->::CMsgVector::MergeFrom( - from._internal_fan_origin_offset()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_fan_direction()->::CMsgVector::MergeFrom( - from._internal_fan_direction()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_bounds_mins()->::CMsgVector::MergeFrom( - from._internal_bounds_mins()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_mutable_bounds_maxs()->::CMsgVector::MergeFrom( - from._internal_bounds_maxs()); - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.active_ = from._impl_.active_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.fan_ramp_ratio_ = from._impl_.fan_ramp_ratio_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_UpdateFan::CopyFrom(const CUserMsg_ParticleManager_UpdateFan& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.UpdateFan) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_UpdateFan::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_UpdateFan::InternalSwap(CUserMsg_ParticleManager_UpdateFan* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateFan, _impl_.fan_ramp_ratio_) - + sizeof(CUserMsg_ParticleManager_UpdateFan::_impl_.fan_ramp_ratio_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_UpdateFan, _impl_.fan_origin_)>( - reinterpret_cast(&_impl_.fan_origin_), - reinterpret_cast(&other->_impl_.fan_origin_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_UpdateFan::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[77]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_RemoveFan::_Internal { - public: -}; - -CUserMsg_ParticleManager_RemoveFan::CUserMsg_ParticleManager_RemoveFan(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.RemoveFan) -} -CUserMsg_ParticleManager_RemoveFan::CUserMsg_ParticleManager_RemoveFan(const CUserMsg_ParticleManager_RemoveFan& from) - : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { - CUserMsg_ParticleManager_RemoveFan* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.RemoveFan) -} - - - - - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_RemoveFan::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_RemoveFan::GetClassData() const { return &_class_data_; } - - - - - - - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_RemoveFan::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[78]); -} - -// =================================================================== - -class CUserMsg_ParticleManager_SetParticleClusterGrowth::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_duration(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CMsgVector& origin(const CUserMsg_ParticleManager_SetParticleClusterGrowth* msg); - static void set_has_origin(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -const ::CMsgVector& -CUserMsg_ParticleManager_SetParticleClusterGrowth::_Internal::origin(const CUserMsg_ParticleManager_SetParticleClusterGrowth* msg) { - return *msg->_impl_.origin_; -} -void CUserMsg_ParticleManager_SetParticleClusterGrowth::clear_origin() { - if (_impl_.origin_ != nullptr) _impl_.origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CUserMsg_ParticleManager_SetParticleClusterGrowth::CUserMsg_ParticleManager_SetParticleClusterGrowth(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager.SetParticleClusterGrowth) -} -CUserMsg_ParticleManager_SetParticleClusterGrowth::CUserMsg_ParticleManager_SetParticleClusterGrowth(const CUserMsg_ParticleManager_SetParticleClusterGrowth& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager_SetParticleClusterGrowth* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.duration_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - if (from._internal_has_origin()) { - _this->_impl_.origin_ = new ::CMsgVector(*from._impl_.origin_); - } - _this->_impl_.duration_ = from._impl_.duration_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager.SetParticleClusterGrowth) -} - -inline void CUserMsg_ParticleManager_SetParticleClusterGrowth::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.origin_){nullptr} - , decltype(_impl_.duration_){0} - }; -} - -CUserMsg_ParticleManager_SetParticleClusterGrowth::~CUserMsg_ParticleManager_SetParticleClusterGrowth() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager.SetParticleClusterGrowth) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager_SetParticleClusterGrowth::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - if (this != internal_default_instance()) delete _impl_.origin_; -} - -void CUserMsg_ParticleManager_SetParticleClusterGrowth::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager_SetParticleClusterGrowth::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager.SetParticleClusterGrowth) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.origin_ != nullptr); - _impl_.origin_->Clear(); - } - _impl_.duration_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager_SetParticleClusterGrowth::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float duration = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_duration(&has_bits); - _impl_.duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional .CMsgVector origin = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager_SetParticleClusterGrowth::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager.SetParticleClusterGrowth) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float duration = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_duration(), target); - } - - // optional .CMsgVector origin = 2; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(2, _Internal::origin(this), - _Internal::origin(this).GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager.SetParticleClusterGrowth) - return target; -} - -size_t CUserMsg_ParticleManager_SetParticleClusterGrowth::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager.SetParticleClusterGrowth) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .CMsgVector origin = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.origin_); - } - - // optional float duration = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager_SetParticleClusterGrowth::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager_SetParticleClusterGrowth::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager_SetParticleClusterGrowth::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager_SetParticleClusterGrowth::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager.SetParticleClusterGrowth) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_origin()->::CMsgVector::MergeFrom( - from._internal_origin()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.duration_ = from._impl_.duration_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager_SetParticleClusterGrowth::CopyFrom(const CUserMsg_ParticleManager_SetParticleClusterGrowth& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager.SetParticleClusterGrowth) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager_SetParticleClusterGrowth::IsInitialized() const { - return true; -} - -void CUserMsg_ParticleManager_SetParticleClusterGrowth::InternalSwap(CUserMsg_ParticleManager_SetParticleClusterGrowth* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleClusterGrowth, _impl_.duration_) - + sizeof(CUserMsg_ParticleManager_SetParticleClusterGrowth::_impl_.duration_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager_SetParticleClusterGrowth, _impl_.origin_)>( - reinterpret_cast(&_impl_.origin_), - reinterpret_cast(&other->_impl_.origin_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager_SetParticleClusterGrowth::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[79]); -} - -// =================================================================== - -class CUserMsg_ParticleManager::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_type(HasBits* has_bits) { - (*has_bits)[1] |= 128u; - } - static void set_has_index(HasBits* has_bits) { - (*has_bits)[1] |= 256u; - } - static const ::CUserMsg_ParticleManager_ReleaseParticleIndex& release_particle_index(const CUserMsg_ParticleManager* msg); - static void set_has_release_particle_index(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CUserMsg_ParticleManager_CreateParticle& create_particle(const CUserMsg_ParticleManager* msg); - static void set_has_create_particle(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static const ::CUserMsg_ParticleManager_DestroyParticle& destroy_particle(const CUserMsg_ParticleManager* msg); - static void set_has_destroy_particle(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static const ::CUserMsg_ParticleManager_DestroyParticleInvolving& destroy_particle_involving(const CUserMsg_ParticleManager* msg); - static void set_has_destroy_particle_involving(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static const ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& update_particle(const CUserMsg_ParticleManager* msg); - static void set_has_update_particle(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static const ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& update_particle_fwd(const CUserMsg_ParticleManager* msg); - static void set_has_update_particle_fwd(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static const ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& update_particle_orient(const CUserMsg_ParticleManager* msg); - static void set_has_update_particle_orient(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static const ::CUserMsg_ParticleManager_UpdateParticleFallback& update_particle_fallback(const CUserMsg_ParticleManager* msg); - static void set_has_update_particle_fallback(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static const ::CUserMsg_ParticleManager_UpdateParticleOffset& update_particle_offset(const CUserMsg_ParticleManager* msg); - static void set_has_update_particle_offset(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static const ::CUserMsg_ParticleManager_UpdateParticleEnt& update_particle_ent(const CUserMsg_ParticleManager* msg); - static void set_has_update_particle_ent(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static const ::CUserMsg_ParticleManager_UpdateParticleShouldDraw& update_particle_should_draw(const CUserMsg_ParticleManager* msg); - static void set_has_update_particle_should_draw(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static const ::CUserMsg_ParticleManager_UpdateParticleSetFrozen& update_particle_set_frozen(const CUserMsg_ParticleManager* msg); - static void set_has_update_particle_set_frozen(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static const ::CUserMsg_ParticleManager_ChangeControlPointAttachment& change_control_point_attachment(const CUserMsg_ParticleManager* msg); - static void set_has_change_control_point_attachment(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static const ::CUserMsg_ParticleManager_UpdateEntityPosition& update_entity_position(const CUserMsg_ParticleManager* msg); - static void set_has_update_entity_position(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } - static const ::CUserMsg_ParticleManager_SetParticleFoWProperties& set_particle_fow_properties(const CUserMsg_ParticleManager* msg); - static void set_has_set_particle_fow_properties(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static const ::CUserMsg_ParticleManager_SetParticleText& set_particle_text(const CUserMsg_ParticleManager* msg); - static void set_has_set_particle_text(HasBits* has_bits) { - (*has_bits)[0] |= 32768u; - } - static const ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW& set_particle_should_check_fow(const CUserMsg_ParticleManager* msg); - static void set_has_set_particle_should_check_fow(HasBits* has_bits) { - (*has_bits)[0] |= 65536u; - } - static const ::CUserMsg_ParticleManager_SetControlPointModel& set_control_point_model(const CUserMsg_ParticleManager* msg); - static void set_has_set_control_point_model(HasBits* has_bits) { - (*has_bits)[0] |= 131072u; - } - static const ::CUserMsg_ParticleManager_SetControlPointSnapshot& set_control_point_snapshot(const CUserMsg_ParticleManager* msg); - static void set_has_set_control_point_snapshot(HasBits* has_bits) { - (*has_bits)[0] |= 262144u; - } - static const ::CUserMsg_ParticleManager_SetTextureAttribute& set_texture_attribute(const CUserMsg_ParticleManager* msg); - static void set_has_set_texture_attribute(HasBits* has_bits) { - (*has_bits)[0] |= 524288u; - } - static const ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag& set_scene_object_generic_flag(const CUserMsg_ParticleManager* msg); - static void set_has_set_scene_object_generic_flag(HasBits* has_bits) { - (*has_bits)[0] |= 1048576u; - } - static const ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& set_scene_object_tint_and_desat(const CUserMsg_ParticleManager* msg); - static void set_has_set_scene_object_tint_and_desat(HasBits* has_bits) { - (*has_bits)[0] |= 2097152u; - } - static const ::CUserMsg_ParticleManager_DestroyParticleNamed& destroy_particle_named(const CUserMsg_ParticleManager* msg); - static void set_has_destroy_particle_named(HasBits* has_bits) { - (*has_bits)[0] |= 4194304u; - } - static const ::CUserMsg_ParticleManager_ParticleSkipToTime& particle_skip_to_time(const CUserMsg_ParticleManager* msg); - static void set_has_particle_skip_to_time(HasBits* has_bits) { - (*has_bits)[0] |= 8388608u; - } - static const ::CUserMsg_ParticleManager_ParticleCanFreeze& particle_can_freeze(const CUserMsg_ParticleManager* msg); - static void set_has_particle_can_freeze(HasBits* has_bits) { - (*has_bits)[0] |= 16777216u; - } - static const ::CUserMsg_ParticleManager_SetParticleNamedValueContext& set_named_value_context(const CUserMsg_ParticleManager* msg); - static void set_has_set_named_value_context(HasBits* has_bits) { - (*has_bits)[0] |= 33554432u; - } - static const ::CUserMsg_ParticleManager_UpdateParticleTransform& update_particle_transform(const CUserMsg_ParticleManager* msg); - static void set_has_update_particle_transform(HasBits* has_bits) { - (*has_bits)[0] |= 67108864u; - } - static const ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& particle_freeze_transition_override(const CUserMsg_ParticleManager* msg); - static void set_has_particle_freeze_transition_override(HasBits* has_bits) { - (*has_bits)[0] |= 134217728u; - } - static const ::CUserMsg_ParticleManager_FreezeParticleInvolving& freeze_particle_involving(const CUserMsg_ParticleManager* msg); - static void set_has_freeze_particle_involving(HasBits* has_bits) { - (*has_bits)[0] |= 268435456u; - } - static const ::CUserMsg_ParticleManager_AddModellistOverrideElement& add_modellist_override_element(const CUserMsg_ParticleManager* msg); - static void set_has_add_modellist_override_element(HasBits* has_bits) { - (*has_bits)[0] |= 536870912u; - } - static const ::CUserMsg_ParticleManager_ClearModellistOverride& clear_modellist_override(const CUserMsg_ParticleManager* msg); - static void set_has_clear_modellist_override(HasBits* has_bits) { - (*has_bits)[0] |= 1073741824u; - } - static const ::CUserMsg_ParticleManager_CreatePhysicsSim& create_physics_sim(const CUserMsg_ParticleManager* msg); - static void set_has_create_physics_sim(HasBits* has_bits) { - (*has_bits)[0] |= 2147483648u; - } - static const ::CUserMsg_ParticleManager_DestroyPhysicsSim& destroy_physics_sim(const CUserMsg_ParticleManager* msg); - static void set_has_destroy_physics_sim(HasBits* has_bits) { - (*has_bits)[1] |= 1u; - } - static const ::CUserMsg_ParticleManager_SetVData& set_vdata(const CUserMsg_ParticleManager* msg); - static void set_has_set_vdata(HasBits* has_bits) { - (*has_bits)[1] |= 2u; - } - static const ::CUserMsg_ParticleManager_SetMaterialOverride& set_material_override(const CUserMsg_ParticleManager* msg); - static void set_has_set_material_override(HasBits* has_bits) { - (*has_bits)[1] |= 4u; - } - static const ::CUserMsg_ParticleManager_AddFan& add_fan(const CUserMsg_ParticleManager* msg); - static void set_has_add_fan(HasBits* has_bits) { - (*has_bits)[1] |= 8u; - } - static const ::CUserMsg_ParticleManager_UpdateFan& update_fan(const CUserMsg_ParticleManager* msg); - static void set_has_update_fan(HasBits* has_bits) { - (*has_bits)[1] |= 16u; - } - static const ::CUserMsg_ParticleManager_SetParticleClusterGrowth& set_particle_cluster_growth(const CUserMsg_ParticleManager* msg); - static void set_has_set_particle_cluster_growth(HasBits* has_bits) { - (*has_bits)[1] |= 32u; - } - static const ::CUserMsg_ParticleManager_RemoveFan& remove_fan(const CUserMsg_ParticleManager* msg); - static void set_has_remove_fan(HasBits* has_bits) { - (*has_bits)[1] |= 64u; - } - static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[1] & 0x00000180) ^ 0x00000180) != 0; - } -}; - -const ::CUserMsg_ParticleManager_ReleaseParticleIndex& -CUserMsg_ParticleManager::_Internal::release_particle_index(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.release_particle_index_; -} -const ::CUserMsg_ParticleManager_CreateParticle& -CUserMsg_ParticleManager::_Internal::create_particle(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.create_particle_; -} -const ::CUserMsg_ParticleManager_DestroyParticle& -CUserMsg_ParticleManager::_Internal::destroy_particle(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.destroy_particle_; -} -const ::CUserMsg_ParticleManager_DestroyParticleInvolving& -CUserMsg_ParticleManager::_Internal::destroy_particle_involving(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.destroy_particle_involving_; -} -const ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& -CUserMsg_ParticleManager::_Internal::update_particle(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.update_particle_; -} -const ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& -CUserMsg_ParticleManager::_Internal::update_particle_fwd(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.update_particle_fwd_; -} -const ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& -CUserMsg_ParticleManager::_Internal::update_particle_orient(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.update_particle_orient_; -} -const ::CUserMsg_ParticleManager_UpdateParticleFallback& -CUserMsg_ParticleManager::_Internal::update_particle_fallback(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.update_particle_fallback_; -} -const ::CUserMsg_ParticleManager_UpdateParticleOffset& -CUserMsg_ParticleManager::_Internal::update_particle_offset(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.update_particle_offset_; -} -const ::CUserMsg_ParticleManager_UpdateParticleEnt& -CUserMsg_ParticleManager::_Internal::update_particle_ent(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.update_particle_ent_; -} -const ::CUserMsg_ParticleManager_UpdateParticleShouldDraw& -CUserMsg_ParticleManager::_Internal::update_particle_should_draw(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.update_particle_should_draw_; -} -const ::CUserMsg_ParticleManager_UpdateParticleSetFrozen& -CUserMsg_ParticleManager::_Internal::update_particle_set_frozen(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.update_particle_set_frozen_; -} -const ::CUserMsg_ParticleManager_ChangeControlPointAttachment& -CUserMsg_ParticleManager::_Internal::change_control_point_attachment(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.change_control_point_attachment_; -} -const ::CUserMsg_ParticleManager_UpdateEntityPosition& -CUserMsg_ParticleManager::_Internal::update_entity_position(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.update_entity_position_; -} -const ::CUserMsg_ParticleManager_SetParticleFoWProperties& -CUserMsg_ParticleManager::_Internal::set_particle_fow_properties(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.set_particle_fow_properties_; -} -const ::CUserMsg_ParticleManager_SetParticleText& -CUserMsg_ParticleManager::_Internal::set_particle_text(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.set_particle_text_; -} -const ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW& -CUserMsg_ParticleManager::_Internal::set_particle_should_check_fow(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.set_particle_should_check_fow_; -} -const ::CUserMsg_ParticleManager_SetControlPointModel& -CUserMsg_ParticleManager::_Internal::set_control_point_model(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.set_control_point_model_; -} -const ::CUserMsg_ParticleManager_SetControlPointSnapshot& -CUserMsg_ParticleManager::_Internal::set_control_point_snapshot(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.set_control_point_snapshot_; -} -const ::CUserMsg_ParticleManager_SetTextureAttribute& -CUserMsg_ParticleManager::_Internal::set_texture_attribute(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.set_texture_attribute_; -} -const ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag& -CUserMsg_ParticleManager::_Internal::set_scene_object_generic_flag(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.set_scene_object_generic_flag_; -} -const ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& -CUserMsg_ParticleManager::_Internal::set_scene_object_tint_and_desat(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.set_scene_object_tint_and_desat_; -} -const ::CUserMsg_ParticleManager_DestroyParticleNamed& -CUserMsg_ParticleManager::_Internal::destroy_particle_named(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.destroy_particle_named_; -} -const ::CUserMsg_ParticleManager_ParticleSkipToTime& -CUserMsg_ParticleManager::_Internal::particle_skip_to_time(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.particle_skip_to_time_; -} -const ::CUserMsg_ParticleManager_ParticleCanFreeze& -CUserMsg_ParticleManager::_Internal::particle_can_freeze(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.particle_can_freeze_; -} -const ::CUserMsg_ParticleManager_SetParticleNamedValueContext& -CUserMsg_ParticleManager::_Internal::set_named_value_context(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.set_named_value_context_; -} -const ::CUserMsg_ParticleManager_UpdateParticleTransform& -CUserMsg_ParticleManager::_Internal::update_particle_transform(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.update_particle_transform_; -} -const ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& -CUserMsg_ParticleManager::_Internal::particle_freeze_transition_override(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.particle_freeze_transition_override_; -} -const ::CUserMsg_ParticleManager_FreezeParticleInvolving& -CUserMsg_ParticleManager::_Internal::freeze_particle_involving(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.freeze_particle_involving_; -} -const ::CUserMsg_ParticleManager_AddModellistOverrideElement& -CUserMsg_ParticleManager::_Internal::add_modellist_override_element(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.add_modellist_override_element_; -} -const ::CUserMsg_ParticleManager_ClearModellistOverride& -CUserMsg_ParticleManager::_Internal::clear_modellist_override(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.clear_modellist_override_; -} -const ::CUserMsg_ParticleManager_CreatePhysicsSim& -CUserMsg_ParticleManager::_Internal::create_physics_sim(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.create_physics_sim_; -} -const ::CUserMsg_ParticleManager_DestroyPhysicsSim& -CUserMsg_ParticleManager::_Internal::destroy_physics_sim(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.destroy_physics_sim_; -} -const ::CUserMsg_ParticleManager_SetVData& -CUserMsg_ParticleManager::_Internal::set_vdata(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.set_vdata_; -} -const ::CUserMsg_ParticleManager_SetMaterialOverride& -CUserMsg_ParticleManager::_Internal::set_material_override(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.set_material_override_; -} -const ::CUserMsg_ParticleManager_AddFan& -CUserMsg_ParticleManager::_Internal::add_fan(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.add_fan_; -} -const ::CUserMsg_ParticleManager_UpdateFan& -CUserMsg_ParticleManager::_Internal::update_fan(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.update_fan_; -} -const ::CUserMsg_ParticleManager_SetParticleClusterGrowth& -CUserMsg_ParticleManager::_Internal::set_particle_cluster_growth(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.set_particle_cluster_growth_; -} -const ::CUserMsg_ParticleManager_RemoveFan& -CUserMsg_ParticleManager::_Internal::remove_fan(const CUserMsg_ParticleManager* msg) { - return *msg->_impl_.remove_fan_; -} -CUserMsg_ParticleManager::CUserMsg_ParticleManager(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_ParticleManager) -} -CUserMsg_ParticleManager::CUserMsg_ParticleManager(const CUserMsg_ParticleManager& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_ParticleManager* const _this = this; (void)_this; - new (&_impl_) Impl_{ - /*decltype(_impl_._extensions_)*/{} - , decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.release_particle_index_){nullptr} - , decltype(_impl_.create_particle_){nullptr} - , decltype(_impl_.destroy_particle_){nullptr} - , decltype(_impl_.destroy_particle_involving_){nullptr} - , decltype(_impl_.update_particle_){nullptr} - , decltype(_impl_.update_particle_fwd_){nullptr} - , decltype(_impl_.update_particle_orient_){nullptr} - , decltype(_impl_.update_particle_fallback_){nullptr} - , decltype(_impl_.update_particle_offset_){nullptr} - , decltype(_impl_.update_particle_ent_){nullptr} - , decltype(_impl_.update_particle_should_draw_){nullptr} - , decltype(_impl_.update_particle_set_frozen_){nullptr} - , decltype(_impl_.change_control_point_attachment_){nullptr} - , decltype(_impl_.update_entity_position_){nullptr} - , decltype(_impl_.set_particle_fow_properties_){nullptr} - , decltype(_impl_.set_particle_text_){nullptr} - , decltype(_impl_.set_particle_should_check_fow_){nullptr} - , decltype(_impl_.set_control_point_model_){nullptr} - , decltype(_impl_.set_control_point_snapshot_){nullptr} - , decltype(_impl_.set_texture_attribute_){nullptr} - , decltype(_impl_.set_scene_object_generic_flag_){nullptr} - , decltype(_impl_.set_scene_object_tint_and_desat_){nullptr} - , decltype(_impl_.destroy_particle_named_){nullptr} - , decltype(_impl_.particle_skip_to_time_){nullptr} - , decltype(_impl_.particle_can_freeze_){nullptr} - , decltype(_impl_.set_named_value_context_){nullptr} - , decltype(_impl_.update_particle_transform_){nullptr} - , decltype(_impl_.particle_freeze_transition_override_){nullptr} - , decltype(_impl_.freeze_particle_involving_){nullptr} - , decltype(_impl_.add_modellist_override_element_){nullptr} - , decltype(_impl_.clear_modellist_override_){nullptr} - , decltype(_impl_.create_physics_sim_){nullptr} - , decltype(_impl_.destroy_physics_sim_){nullptr} - , decltype(_impl_.set_vdata_){nullptr} - , decltype(_impl_.set_material_override_){nullptr} - , decltype(_impl_.add_fan_){nullptr} - , decltype(_impl_.update_fan_){nullptr} - , decltype(_impl_.set_particle_cluster_growth_){nullptr} - , decltype(_impl_.remove_fan_){nullptr} - , decltype(_impl_.type_){} - , decltype(_impl_.index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_); - if (from._internal_has_release_particle_index()) { - _this->_impl_.release_particle_index_ = new ::CUserMsg_ParticleManager_ReleaseParticleIndex(*from._impl_.release_particle_index_); - } - if (from._internal_has_create_particle()) { - _this->_impl_.create_particle_ = new ::CUserMsg_ParticleManager_CreateParticle(*from._impl_.create_particle_); - } - if (from._internal_has_destroy_particle()) { - _this->_impl_.destroy_particle_ = new ::CUserMsg_ParticleManager_DestroyParticle(*from._impl_.destroy_particle_); - } - if (from._internal_has_destroy_particle_involving()) { - _this->_impl_.destroy_particle_involving_ = new ::CUserMsg_ParticleManager_DestroyParticleInvolving(*from._impl_.destroy_particle_involving_); - } - if (from._internal_has_update_particle()) { - _this->_impl_.update_particle_ = new ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE(*from._impl_.update_particle_); - } - if (from._internal_has_update_particle_fwd()) { - _this->_impl_.update_particle_fwd_ = new ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE(*from._impl_.update_particle_fwd_); - } - if (from._internal_has_update_particle_orient()) { - _this->_impl_.update_particle_orient_ = new ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE(*from._impl_.update_particle_orient_); - } - if (from._internal_has_update_particle_fallback()) { - _this->_impl_.update_particle_fallback_ = new ::CUserMsg_ParticleManager_UpdateParticleFallback(*from._impl_.update_particle_fallback_); - } - if (from._internal_has_update_particle_offset()) { - _this->_impl_.update_particle_offset_ = new ::CUserMsg_ParticleManager_UpdateParticleOffset(*from._impl_.update_particle_offset_); - } - if (from._internal_has_update_particle_ent()) { - _this->_impl_.update_particle_ent_ = new ::CUserMsg_ParticleManager_UpdateParticleEnt(*from._impl_.update_particle_ent_); - } - if (from._internal_has_update_particle_should_draw()) { - _this->_impl_.update_particle_should_draw_ = new ::CUserMsg_ParticleManager_UpdateParticleShouldDraw(*from._impl_.update_particle_should_draw_); - } - if (from._internal_has_update_particle_set_frozen()) { - _this->_impl_.update_particle_set_frozen_ = new ::CUserMsg_ParticleManager_UpdateParticleSetFrozen(*from._impl_.update_particle_set_frozen_); - } - if (from._internal_has_change_control_point_attachment()) { - _this->_impl_.change_control_point_attachment_ = new ::CUserMsg_ParticleManager_ChangeControlPointAttachment(*from._impl_.change_control_point_attachment_); - } - if (from._internal_has_update_entity_position()) { - _this->_impl_.update_entity_position_ = new ::CUserMsg_ParticleManager_UpdateEntityPosition(*from._impl_.update_entity_position_); - } - if (from._internal_has_set_particle_fow_properties()) { - _this->_impl_.set_particle_fow_properties_ = new ::CUserMsg_ParticleManager_SetParticleFoWProperties(*from._impl_.set_particle_fow_properties_); - } - if (from._internal_has_set_particle_text()) { - _this->_impl_.set_particle_text_ = new ::CUserMsg_ParticleManager_SetParticleText(*from._impl_.set_particle_text_); - } - if (from._internal_has_set_particle_should_check_fow()) { - _this->_impl_.set_particle_should_check_fow_ = new ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW(*from._impl_.set_particle_should_check_fow_); - } - if (from._internal_has_set_control_point_model()) { - _this->_impl_.set_control_point_model_ = new ::CUserMsg_ParticleManager_SetControlPointModel(*from._impl_.set_control_point_model_); - } - if (from._internal_has_set_control_point_snapshot()) { - _this->_impl_.set_control_point_snapshot_ = new ::CUserMsg_ParticleManager_SetControlPointSnapshot(*from._impl_.set_control_point_snapshot_); - } - if (from._internal_has_set_texture_attribute()) { - _this->_impl_.set_texture_attribute_ = new ::CUserMsg_ParticleManager_SetTextureAttribute(*from._impl_.set_texture_attribute_); - } - if (from._internal_has_set_scene_object_generic_flag()) { - _this->_impl_.set_scene_object_generic_flag_ = new ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag(*from._impl_.set_scene_object_generic_flag_); - } - if (from._internal_has_set_scene_object_tint_and_desat()) { - _this->_impl_.set_scene_object_tint_and_desat_ = new ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat(*from._impl_.set_scene_object_tint_and_desat_); - } - if (from._internal_has_destroy_particle_named()) { - _this->_impl_.destroy_particle_named_ = new ::CUserMsg_ParticleManager_DestroyParticleNamed(*from._impl_.destroy_particle_named_); - } - if (from._internal_has_particle_skip_to_time()) { - _this->_impl_.particle_skip_to_time_ = new ::CUserMsg_ParticleManager_ParticleSkipToTime(*from._impl_.particle_skip_to_time_); - } - if (from._internal_has_particle_can_freeze()) { - _this->_impl_.particle_can_freeze_ = new ::CUserMsg_ParticleManager_ParticleCanFreeze(*from._impl_.particle_can_freeze_); - } - if (from._internal_has_set_named_value_context()) { - _this->_impl_.set_named_value_context_ = new ::CUserMsg_ParticleManager_SetParticleNamedValueContext(*from._impl_.set_named_value_context_); - } - if (from._internal_has_update_particle_transform()) { - _this->_impl_.update_particle_transform_ = new ::CUserMsg_ParticleManager_UpdateParticleTransform(*from._impl_.update_particle_transform_); - } - if (from._internal_has_particle_freeze_transition_override()) { - _this->_impl_.particle_freeze_transition_override_ = new ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride(*from._impl_.particle_freeze_transition_override_); - } - if (from._internal_has_freeze_particle_involving()) { - _this->_impl_.freeze_particle_involving_ = new ::CUserMsg_ParticleManager_FreezeParticleInvolving(*from._impl_.freeze_particle_involving_); - } - if (from._internal_has_add_modellist_override_element()) { - _this->_impl_.add_modellist_override_element_ = new ::CUserMsg_ParticleManager_AddModellistOverrideElement(*from._impl_.add_modellist_override_element_); - } - if (from._internal_has_clear_modellist_override()) { - _this->_impl_.clear_modellist_override_ = new ::CUserMsg_ParticleManager_ClearModellistOverride(*from._impl_.clear_modellist_override_); - } - if (from._internal_has_create_physics_sim()) { - _this->_impl_.create_physics_sim_ = new ::CUserMsg_ParticleManager_CreatePhysicsSim(*from._impl_.create_physics_sim_); - } - if (from._internal_has_destroy_physics_sim()) { - _this->_impl_.destroy_physics_sim_ = new ::CUserMsg_ParticleManager_DestroyPhysicsSim(*from._impl_.destroy_physics_sim_); - } - if (from._internal_has_set_vdata()) { - _this->_impl_.set_vdata_ = new ::CUserMsg_ParticleManager_SetVData(*from._impl_.set_vdata_); - } - if (from._internal_has_set_material_override()) { - _this->_impl_.set_material_override_ = new ::CUserMsg_ParticleManager_SetMaterialOverride(*from._impl_.set_material_override_); - } - if (from._internal_has_add_fan()) { - _this->_impl_.add_fan_ = new ::CUserMsg_ParticleManager_AddFan(*from._impl_.add_fan_); - } - if (from._internal_has_update_fan()) { - _this->_impl_.update_fan_ = new ::CUserMsg_ParticleManager_UpdateFan(*from._impl_.update_fan_); - } - if (from._internal_has_set_particle_cluster_growth()) { - _this->_impl_.set_particle_cluster_growth_ = new ::CUserMsg_ParticleManager_SetParticleClusterGrowth(*from._impl_.set_particle_cluster_growth_); - } - if (from._internal_has_remove_fan()) { - _this->_impl_.remove_fan_ = new ::CUserMsg_ParticleManager_RemoveFan(*from._impl_.remove_fan_); - } - ::memcpy(&_impl_.type_, &from._impl_.type_, - static_cast(reinterpret_cast(&_impl_.index_) - - reinterpret_cast(&_impl_.type_)) + sizeof(_impl_.index_)); - // @@protoc_insertion_point(copy_constructor:CUserMsg_ParticleManager) -} - -inline void CUserMsg_ParticleManager::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - /*decltype(_impl_._extensions_)*/{::_pbi::ArenaInitialized(), arena} - , decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.release_particle_index_){nullptr} - , decltype(_impl_.create_particle_){nullptr} - , decltype(_impl_.destroy_particle_){nullptr} - , decltype(_impl_.destroy_particle_involving_){nullptr} - , decltype(_impl_.update_particle_){nullptr} - , decltype(_impl_.update_particle_fwd_){nullptr} - , decltype(_impl_.update_particle_orient_){nullptr} - , decltype(_impl_.update_particle_fallback_){nullptr} - , decltype(_impl_.update_particle_offset_){nullptr} - , decltype(_impl_.update_particle_ent_){nullptr} - , decltype(_impl_.update_particle_should_draw_){nullptr} - , decltype(_impl_.update_particle_set_frozen_){nullptr} - , decltype(_impl_.change_control_point_attachment_){nullptr} - , decltype(_impl_.update_entity_position_){nullptr} - , decltype(_impl_.set_particle_fow_properties_){nullptr} - , decltype(_impl_.set_particle_text_){nullptr} - , decltype(_impl_.set_particle_should_check_fow_){nullptr} - , decltype(_impl_.set_control_point_model_){nullptr} - , decltype(_impl_.set_control_point_snapshot_){nullptr} - , decltype(_impl_.set_texture_attribute_){nullptr} - , decltype(_impl_.set_scene_object_generic_flag_){nullptr} - , decltype(_impl_.set_scene_object_tint_and_desat_){nullptr} - , decltype(_impl_.destroy_particle_named_){nullptr} - , decltype(_impl_.particle_skip_to_time_){nullptr} - , decltype(_impl_.particle_can_freeze_){nullptr} - , decltype(_impl_.set_named_value_context_){nullptr} - , decltype(_impl_.update_particle_transform_){nullptr} - , decltype(_impl_.particle_freeze_transition_override_){nullptr} - , decltype(_impl_.freeze_particle_involving_){nullptr} - , decltype(_impl_.add_modellist_override_element_){nullptr} - , decltype(_impl_.clear_modellist_override_){nullptr} - , decltype(_impl_.create_physics_sim_){nullptr} - , decltype(_impl_.destroy_physics_sim_){nullptr} - , decltype(_impl_.set_vdata_){nullptr} - , decltype(_impl_.set_material_override_){nullptr} - , decltype(_impl_.add_fan_){nullptr} - , decltype(_impl_.update_fan_){nullptr} - , decltype(_impl_.set_particle_cluster_growth_){nullptr} - , decltype(_impl_.remove_fan_){nullptr} - , decltype(_impl_.type_){0} - , decltype(_impl_.index_){0u} - }; -} - -CUserMsg_ParticleManager::~CUserMsg_ParticleManager() { - // @@protoc_insertion_point(destructor:CUserMsg_ParticleManager) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_ParticleManager::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_._extensions_.~ExtensionSet(); - if (this != internal_default_instance()) delete _impl_.release_particle_index_; - if (this != internal_default_instance()) delete _impl_.create_particle_; - if (this != internal_default_instance()) delete _impl_.destroy_particle_; - if (this != internal_default_instance()) delete _impl_.destroy_particle_involving_; - if (this != internal_default_instance()) delete _impl_.update_particle_; - if (this != internal_default_instance()) delete _impl_.update_particle_fwd_; - if (this != internal_default_instance()) delete _impl_.update_particle_orient_; - if (this != internal_default_instance()) delete _impl_.update_particle_fallback_; - if (this != internal_default_instance()) delete _impl_.update_particle_offset_; - if (this != internal_default_instance()) delete _impl_.update_particle_ent_; - if (this != internal_default_instance()) delete _impl_.update_particle_should_draw_; - if (this != internal_default_instance()) delete _impl_.update_particle_set_frozen_; - if (this != internal_default_instance()) delete _impl_.change_control_point_attachment_; - if (this != internal_default_instance()) delete _impl_.update_entity_position_; - if (this != internal_default_instance()) delete _impl_.set_particle_fow_properties_; - if (this != internal_default_instance()) delete _impl_.set_particle_text_; - if (this != internal_default_instance()) delete _impl_.set_particle_should_check_fow_; - if (this != internal_default_instance()) delete _impl_.set_control_point_model_; - if (this != internal_default_instance()) delete _impl_.set_control_point_snapshot_; - if (this != internal_default_instance()) delete _impl_.set_texture_attribute_; - if (this != internal_default_instance()) delete _impl_.set_scene_object_generic_flag_; - if (this != internal_default_instance()) delete _impl_.set_scene_object_tint_and_desat_; - if (this != internal_default_instance()) delete _impl_.destroy_particle_named_; - if (this != internal_default_instance()) delete _impl_.particle_skip_to_time_; - if (this != internal_default_instance()) delete _impl_.particle_can_freeze_; - if (this != internal_default_instance()) delete _impl_.set_named_value_context_; - if (this != internal_default_instance()) delete _impl_.update_particle_transform_; - if (this != internal_default_instance()) delete _impl_.particle_freeze_transition_override_; - if (this != internal_default_instance()) delete _impl_.freeze_particle_involving_; - if (this != internal_default_instance()) delete _impl_.add_modellist_override_element_; - if (this != internal_default_instance()) delete _impl_.clear_modellist_override_; - if (this != internal_default_instance()) delete _impl_.create_physics_sim_; - if (this != internal_default_instance()) delete _impl_.destroy_physics_sim_; - if (this != internal_default_instance()) delete _impl_.set_vdata_; - if (this != internal_default_instance()) delete _impl_.set_material_override_; - if (this != internal_default_instance()) delete _impl_.add_fan_; - if (this != internal_default_instance()) delete _impl_.update_fan_; - if (this != internal_default_instance()) delete _impl_.set_particle_cluster_growth_; - if (this != internal_default_instance()) delete _impl_.remove_fan_; -} - -void CUserMsg_ParticleManager::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_ParticleManager::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_ParticleManager) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_._extensions_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.release_particle_index_ != nullptr); - _impl_.release_particle_index_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.create_particle_ != nullptr); - _impl_.create_particle_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.destroy_particle_ != nullptr); - _impl_.destroy_particle_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.destroy_particle_involving_ != nullptr); - _impl_.destroy_particle_involving_->Clear(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(_impl_.update_particle_ != nullptr); - _impl_.update_particle_->Clear(); - } - if (cached_has_bits & 0x00000020u) { - GOOGLE_DCHECK(_impl_.update_particle_fwd_ != nullptr); - _impl_.update_particle_fwd_->Clear(); - } - if (cached_has_bits & 0x00000040u) { - GOOGLE_DCHECK(_impl_.update_particle_orient_ != nullptr); - _impl_.update_particle_orient_->Clear(); - } - if (cached_has_bits & 0x00000080u) { - GOOGLE_DCHECK(_impl_.update_particle_fallback_ != nullptr); - _impl_.update_particle_fallback_->Clear(); - } - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - GOOGLE_DCHECK(_impl_.update_particle_offset_ != nullptr); - _impl_.update_particle_offset_->Clear(); - } - if (cached_has_bits & 0x00000200u) { - GOOGLE_DCHECK(_impl_.update_particle_ent_ != nullptr); - _impl_.update_particle_ent_->Clear(); - } - if (cached_has_bits & 0x00000400u) { - GOOGLE_DCHECK(_impl_.update_particle_should_draw_ != nullptr); - _impl_.update_particle_should_draw_->Clear(); - } - if (cached_has_bits & 0x00000800u) { - GOOGLE_DCHECK(_impl_.update_particle_set_frozen_ != nullptr); - _impl_.update_particle_set_frozen_->Clear(); - } - if (cached_has_bits & 0x00001000u) { - GOOGLE_DCHECK(_impl_.change_control_point_attachment_ != nullptr); - _impl_.change_control_point_attachment_->Clear(); - } - if (cached_has_bits & 0x00002000u) { - GOOGLE_DCHECK(_impl_.update_entity_position_ != nullptr); - _impl_.update_entity_position_->Clear(); - } - if (cached_has_bits & 0x00004000u) { - GOOGLE_DCHECK(_impl_.set_particle_fow_properties_ != nullptr); - _impl_.set_particle_fow_properties_->Clear(); - } - if (cached_has_bits & 0x00008000u) { - GOOGLE_DCHECK(_impl_.set_particle_text_ != nullptr); - _impl_.set_particle_text_->Clear(); - } - } - if (cached_has_bits & 0x00ff0000u) { - if (cached_has_bits & 0x00010000u) { - GOOGLE_DCHECK(_impl_.set_particle_should_check_fow_ != nullptr); - _impl_.set_particle_should_check_fow_->Clear(); - } - if (cached_has_bits & 0x00020000u) { - GOOGLE_DCHECK(_impl_.set_control_point_model_ != nullptr); - _impl_.set_control_point_model_->Clear(); - } - if (cached_has_bits & 0x00040000u) { - GOOGLE_DCHECK(_impl_.set_control_point_snapshot_ != nullptr); - _impl_.set_control_point_snapshot_->Clear(); - } - if (cached_has_bits & 0x00080000u) { - GOOGLE_DCHECK(_impl_.set_texture_attribute_ != nullptr); - _impl_.set_texture_attribute_->Clear(); - } - if (cached_has_bits & 0x00100000u) { - GOOGLE_DCHECK(_impl_.set_scene_object_generic_flag_ != nullptr); - _impl_.set_scene_object_generic_flag_->Clear(); - } - if (cached_has_bits & 0x00200000u) { - GOOGLE_DCHECK(_impl_.set_scene_object_tint_and_desat_ != nullptr); - _impl_.set_scene_object_tint_and_desat_->Clear(); - } - if (cached_has_bits & 0x00400000u) { - GOOGLE_DCHECK(_impl_.destroy_particle_named_ != nullptr); - _impl_.destroy_particle_named_->Clear(); - } - if (cached_has_bits & 0x00800000u) { - GOOGLE_DCHECK(_impl_.particle_skip_to_time_ != nullptr); - _impl_.particle_skip_to_time_->Clear(); - } - } - if (cached_has_bits & 0xff000000u) { - if (cached_has_bits & 0x01000000u) { - GOOGLE_DCHECK(_impl_.particle_can_freeze_ != nullptr); - _impl_.particle_can_freeze_->Clear(); - } - if (cached_has_bits & 0x02000000u) { - GOOGLE_DCHECK(_impl_.set_named_value_context_ != nullptr); - _impl_.set_named_value_context_->Clear(); - } - if (cached_has_bits & 0x04000000u) { - GOOGLE_DCHECK(_impl_.update_particle_transform_ != nullptr); - _impl_.update_particle_transform_->Clear(); - } - if (cached_has_bits & 0x08000000u) { - GOOGLE_DCHECK(_impl_.particle_freeze_transition_override_ != nullptr); - _impl_.particle_freeze_transition_override_->Clear(); - } - if (cached_has_bits & 0x10000000u) { - GOOGLE_DCHECK(_impl_.freeze_particle_involving_ != nullptr); - _impl_.freeze_particle_involving_->Clear(); - } - if (cached_has_bits & 0x20000000u) { - GOOGLE_DCHECK(_impl_.add_modellist_override_element_ != nullptr); - _impl_.add_modellist_override_element_->Clear(); - } - if (cached_has_bits & 0x40000000u) { - GOOGLE_DCHECK(_impl_.clear_modellist_override_ != nullptr); - _impl_.clear_modellist_override_->Clear(); - } - if (cached_has_bits & 0x80000000u) { - GOOGLE_DCHECK(_impl_.create_physics_sim_ != nullptr); - _impl_.create_physics_sim_->Clear(); - } - } - cached_has_bits = _impl_._has_bits_[1]; - if (cached_has_bits & 0x0000007fu) { - if (cached_has_bits & 0x00000001u) { - GOOGLE_DCHECK(_impl_.destroy_physics_sim_ != nullptr); - _impl_.destroy_physics_sim_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.set_vdata_ != nullptr); - _impl_.set_vdata_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - GOOGLE_DCHECK(_impl_.set_material_override_ != nullptr); - _impl_.set_material_override_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - GOOGLE_DCHECK(_impl_.add_fan_ != nullptr); - _impl_.add_fan_->Clear(); - } - if (cached_has_bits & 0x00000010u) { - GOOGLE_DCHECK(_impl_.update_fan_ != nullptr); - _impl_.update_fan_->Clear(); - } - if (cached_has_bits & 0x00000020u) { - GOOGLE_DCHECK(_impl_.set_particle_cluster_growth_ != nullptr); - _impl_.set_particle_cluster_growth_->Clear(); - } - if (cached_has_bits & 0x00000040u) { - GOOGLE_DCHECK(_impl_.remove_fan_ != nullptr); - _impl_.remove_fan_->Clear(); - } - } - _impl_.type_ = 0; - _impl_.index_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_ParticleManager::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - if (PROTOBUF_PREDICT_TRUE(::PARTICLE_MESSAGE_IsValid(val))) { - _internal_set_type(static_cast<::PARTICLE_MESSAGE>(val)); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); - } - } else - goto handle_unusual; - continue; - // required uint32 index = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_index(&_impl_._has_bits_); - _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_release_particle_index(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.CreateParticle create_particle = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_create_particle(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.DestroyParticle destroy_particle = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_destroy_particle(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_destroy_particle_involving(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.UpdateParticle_OBSOLETE update_particle = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_update_particle(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE update_particle_fwd = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_update_particle_fwd(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE update_particle_orient = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr = ctx->ParseMessage(_internal_mutable_update_particle_orient(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr = ctx->ParseMessage(_internal_mutable_update_particle_fallback(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr = ctx->ParseMessage(_internal_mutable_update_particle_offset(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - ptr = ctx->ParseMessage(_internal_mutable_update_particle_ent(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - ptr = ctx->ParseMessage(_internal_mutable_update_particle_should_draw(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { - ptr = ctx->ParseMessage(_internal_mutable_update_particle_set_frozen(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.ChangeControlPointAttachment change_control_point_attachment = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { - ptr = ctx->ParseMessage(_internal_mutable_change_control_point_attachment(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.UpdateEntityPosition update_entity_position = 17; - case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { - ptr = ctx->ParseMessage(_internal_mutable_update_entity_position(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.SetParticleFoWProperties set_particle_fow_properties = 18; - case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { - ptr = ctx->ParseMessage(_internal_mutable_set_particle_fow_properties(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.SetParticleText set_particle_text = 19; - case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { - ptr = ctx->ParseMessage(_internal_mutable_set_particle_text(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.SetParticleShouldCheckFoW set_particle_should_check_fow = 20; - case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { - ptr = ctx->ParseMessage(_internal_mutable_set_particle_should_check_fow(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.SetControlPointModel set_control_point_model = 21; - case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 170)) { - ptr = ctx->ParseMessage(_internal_mutable_set_control_point_model(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.SetControlPointSnapshot set_control_point_snapshot = 22; - case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 178)) { - ptr = ctx->ParseMessage(_internal_mutable_set_control_point_snapshot(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.SetTextureAttribute set_texture_attribute = 23; - case 23: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 186)) { - ptr = ctx->ParseMessage(_internal_mutable_set_texture_attribute(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.SetSceneObjectGenericFlag set_scene_object_generic_flag = 24; - case 24: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 194)) { - ptr = ctx->ParseMessage(_internal_mutable_set_scene_object_generic_flag(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.SetSceneObjectTintAndDesat set_scene_object_tint_and_desat = 25; - case 25: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 202)) { - ptr = ctx->ParseMessage(_internal_mutable_set_scene_object_tint_and_desat(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.DestroyParticleNamed destroy_particle_named = 26; - case 26: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 210)) { - ptr = ctx->ParseMessage(_internal_mutable_destroy_particle_named(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.ParticleSkipToTime particle_skip_to_time = 27; - case 27: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 218)) { - ptr = ctx->ParseMessage(_internal_mutable_particle_skip_to_time(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.ParticleCanFreeze particle_can_freeze = 28; - case 28: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 226)) { - ptr = ctx->ParseMessage(_internal_mutable_particle_can_freeze(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.SetParticleNamedValueContext set_named_value_context = 29; - case 29: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 234)) { - ptr = ctx->ParseMessage(_internal_mutable_set_named_value_context(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.UpdateParticleTransform update_particle_transform = 30; - case 30: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 242)) { - ptr = ctx->ParseMessage(_internal_mutable_update_particle_transform(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.ParticleFreezeTransitionOverride particle_freeze_transition_override = 31; - case 31: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 250)) { - ptr = ctx->ParseMessage(_internal_mutable_particle_freeze_transition_override(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.FreezeParticleInvolving freeze_particle_involving = 32; - case 32: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 2)) { - ptr = ctx->ParseMessage(_internal_mutable_freeze_particle_involving(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.AddModellistOverrideElement add_modellist_override_element = 33; - case 33: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr = ctx->ParseMessage(_internal_mutable_add_modellist_override_element(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.ClearModellistOverride clear_modellist_override = 34; - case 34: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - ptr = ctx->ParseMessage(_internal_mutable_clear_modellist_override(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.CreatePhysicsSim create_physics_sim = 35; - case 35: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - ptr = ctx->ParseMessage(_internal_mutable_create_physics_sim(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.DestroyPhysicsSim destroy_physics_sim = 36; - case 36: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_destroy_physics_sim(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.SetVData set_vdata = 37; - case 37: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr = ctx->ParseMessage(_internal_mutable_set_vdata(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.SetMaterialOverride set_material_override = 38; - case 38: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ctx->ParseMessage(_internal_mutable_set_material_override(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.AddFan add_fan = 39; - case 39: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_add_fan(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.UpdateFan update_fan = 40; - case 40: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_update_fan(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.SetParticleClusterGrowth set_particle_cluster_growth = 41; - case 41: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr = ctx->ParseMessage(_internal_mutable_set_particle_cluster_growth(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional .CUserMsg_ParticleManager.RemoveFan remove_fan = 42; - case 42: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr = ctx->ParseMessage(_internal_mutable_remove_fan(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - if ((800u <= tag && tag < 1616u)) { - ptr = _impl_._extensions_.ParseField(tag, ptr, internal_default_instance(), &_internal_metadata_, ctx); - CHK_(ptr != nullptr); - continue; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_ParticleManager::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_ParticleManager) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[1]; - // required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this->_internal_type(), target); - } - - // required uint32 index = 2; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_index(), target); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional .CUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(3, _Internal::release_particle_index(this), - _Internal::release_particle_index(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.CreateParticle create_particle = 4; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::create_particle(this), - _Internal::create_particle(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.DestroyParticle destroy_particle = 5; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, _Internal::destroy_particle(this), - _Internal::destroy_particle(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(6, _Internal::destroy_particle_involving(this), - _Internal::destroy_particle_involving(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.UpdateParticle_OBSOLETE update_particle = 7; - if (cached_has_bits & 0x00000010u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::update_particle(this), - _Internal::update_particle(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE update_particle_fwd = 8; - if (cached_has_bits & 0x00000020u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, _Internal::update_particle_fwd(this), - _Internal::update_particle_fwd(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE update_particle_orient = 9; - if (cached_has_bits & 0x00000040u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(9, _Internal::update_particle_orient(this), - _Internal::update_particle_orient(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10; - if (cached_has_bits & 0x00000080u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, _Internal::update_particle_fallback(this), - _Internal::update_particle_fallback(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11; - if (cached_has_bits & 0x00000100u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(11, _Internal::update_particle_offset(this), - _Internal::update_particle_offset(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12; - if (cached_has_bits & 0x00000200u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(12, _Internal::update_particle_ent(this), - _Internal::update_particle_ent(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14; - if (cached_has_bits & 0x00000400u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(14, _Internal::update_particle_should_draw(this), - _Internal::update_particle_should_draw(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15; - if (cached_has_bits & 0x00000800u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(15, _Internal::update_particle_set_frozen(this), - _Internal::update_particle_set_frozen(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.ChangeControlPointAttachment change_control_point_attachment = 16; - if (cached_has_bits & 0x00001000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(16, _Internal::change_control_point_attachment(this), - _Internal::change_control_point_attachment(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.UpdateEntityPosition update_entity_position = 17; - if (cached_has_bits & 0x00002000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(17, _Internal::update_entity_position(this), - _Internal::update_entity_position(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.SetParticleFoWProperties set_particle_fow_properties = 18; - if (cached_has_bits & 0x00004000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(18, _Internal::set_particle_fow_properties(this), - _Internal::set_particle_fow_properties(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.SetParticleText set_particle_text = 19; - if (cached_has_bits & 0x00008000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(19, _Internal::set_particle_text(this), - _Internal::set_particle_text(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.SetParticleShouldCheckFoW set_particle_should_check_fow = 20; - if (cached_has_bits & 0x00010000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(20, _Internal::set_particle_should_check_fow(this), - _Internal::set_particle_should_check_fow(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.SetControlPointModel set_control_point_model = 21; - if (cached_has_bits & 0x00020000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(21, _Internal::set_control_point_model(this), - _Internal::set_control_point_model(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.SetControlPointSnapshot set_control_point_snapshot = 22; - if (cached_has_bits & 0x00040000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(22, _Internal::set_control_point_snapshot(this), - _Internal::set_control_point_snapshot(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.SetTextureAttribute set_texture_attribute = 23; - if (cached_has_bits & 0x00080000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(23, _Internal::set_texture_attribute(this), - _Internal::set_texture_attribute(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.SetSceneObjectGenericFlag set_scene_object_generic_flag = 24; - if (cached_has_bits & 0x00100000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(24, _Internal::set_scene_object_generic_flag(this), - _Internal::set_scene_object_generic_flag(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.SetSceneObjectTintAndDesat set_scene_object_tint_and_desat = 25; - if (cached_has_bits & 0x00200000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(25, _Internal::set_scene_object_tint_and_desat(this), - _Internal::set_scene_object_tint_and_desat(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.DestroyParticleNamed destroy_particle_named = 26; - if (cached_has_bits & 0x00400000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(26, _Internal::destroy_particle_named(this), - _Internal::destroy_particle_named(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.ParticleSkipToTime particle_skip_to_time = 27; - if (cached_has_bits & 0x00800000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(27, _Internal::particle_skip_to_time(this), - _Internal::particle_skip_to_time(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.ParticleCanFreeze particle_can_freeze = 28; - if (cached_has_bits & 0x01000000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(28, _Internal::particle_can_freeze(this), - _Internal::particle_can_freeze(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.SetParticleNamedValueContext set_named_value_context = 29; - if (cached_has_bits & 0x02000000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(29, _Internal::set_named_value_context(this), - _Internal::set_named_value_context(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.UpdateParticleTransform update_particle_transform = 30; - if (cached_has_bits & 0x04000000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(30, _Internal::update_particle_transform(this), - _Internal::update_particle_transform(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.ParticleFreezeTransitionOverride particle_freeze_transition_override = 31; - if (cached_has_bits & 0x08000000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(31, _Internal::particle_freeze_transition_override(this), - _Internal::particle_freeze_transition_override(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.FreezeParticleInvolving freeze_particle_involving = 32; - if (cached_has_bits & 0x10000000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(32, _Internal::freeze_particle_involving(this), - _Internal::freeze_particle_involving(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.AddModellistOverrideElement add_modellist_override_element = 33; - if (cached_has_bits & 0x20000000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(33, _Internal::add_modellist_override_element(this), - _Internal::add_modellist_override_element(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.ClearModellistOverride clear_modellist_override = 34; - if (cached_has_bits & 0x40000000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(34, _Internal::clear_modellist_override(this), - _Internal::clear_modellist_override(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.CreatePhysicsSim create_physics_sim = 35; - if (cached_has_bits & 0x80000000u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(35, _Internal::create_physics_sim(this), - _Internal::create_physics_sim(this).GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[1]; - // optional .CUserMsg_ParticleManager.DestroyPhysicsSim destroy_physics_sim = 36; - if (cached_has_bits & 0x00000001u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(36, _Internal::destroy_physics_sim(this), - _Internal::destroy_physics_sim(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.SetVData set_vdata = 37; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(37, _Internal::set_vdata(this), - _Internal::set_vdata(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.SetMaterialOverride set_material_override = 38; - if (cached_has_bits & 0x00000004u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(38, _Internal::set_material_override(this), - _Internal::set_material_override(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.AddFan add_fan = 39; - if (cached_has_bits & 0x00000008u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(39, _Internal::add_fan(this), - _Internal::add_fan(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.UpdateFan update_fan = 40; - if (cached_has_bits & 0x00000010u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(40, _Internal::update_fan(this), - _Internal::update_fan(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.SetParticleClusterGrowth set_particle_cluster_growth = 41; - if (cached_has_bits & 0x00000020u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(41, _Internal::set_particle_cluster_growth(this), - _Internal::set_particle_cluster_growth(this).GetCachedSize(), target, stream); - } - - // optional .CUserMsg_ParticleManager.RemoveFan remove_fan = 42; - if (cached_has_bits & 0x00000040u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(42, _Internal::remove_fan(this), - _Internal::remove_fan(this).GetCachedSize(), target, stream); - } - - // Extension range [100, 202) - target = _impl_._extensions_._InternalSerialize( - internal_default_instance(), 100, 202, target, stream); - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_ParticleManager) - return target; -} - -size_t CUserMsg_ParticleManager::RequiredFieldsByteSizeFallback() const { -// @@protoc_insertion_point(required_fields_byte_size_fallback_start:CUserMsg_ParticleManager) - size_t total_size = 0; - - if (_internal_has_type()) { - // required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); - } - - if (_internal_has_index()) { - // required uint32 index = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_index()); - } - - return total_size; -} -size_t CUserMsg_ParticleManager::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_ParticleManager) - size_t total_size = 0; - - total_size += _impl_._extensions_.ByteSize(); - - if (((_impl_._has_bits_[1] & 0x00000180) ^ 0x00000180) == 0) { // All required fields are present. - // required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this->_internal_type()); - - // required uint32 index = 2; - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_index()); - - } else { - total_size += RequiredFieldsByteSizeFallback(); - } - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional .CUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.release_particle_index_); - } - - // optional .CUserMsg_ParticleManager.CreateParticle create_particle = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.create_particle_); - } - - // optional .CUserMsg_ParticleManager.DestroyParticle destroy_particle = 5; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.destroy_particle_); - } - - // optional .CUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.destroy_particle_involving_); - } - - // optional .CUserMsg_ParticleManager.UpdateParticle_OBSOLETE update_particle = 7; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.update_particle_); - } - - // optional .CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE update_particle_fwd = 8; - if (cached_has_bits & 0x00000020u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.update_particle_fwd_); - } - - // optional .CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE update_particle_orient = 9; - if (cached_has_bits & 0x00000040u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.update_particle_orient_); - } - - // optional .CUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10; - if (cached_has_bits & 0x00000080u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.update_particle_fallback_); - } - - } - if (cached_has_bits & 0x0000ff00u) { - // optional .CUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11; - if (cached_has_bits & 0x00000100u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.update_particle_offset_); - } - - // optional .CUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12; - if (cached_has_bits & 0x00000200u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.update_particle_ent_); - } - - // optional .CUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14; - if (cached_has_bits & 0x00000400u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.update_particle_should_draw_); - } - - // optional .CUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15; - if (cached_has_bits & 0x00000800u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.update_particle_set_frozen_); - } - - // optional .CUserMsg_ParticleManager.ChangeControlPointAttachment change_control_point_attachment = 16; - if (cached_has_bits & 0x00001000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.change_control_point_attachment_); - } - - // optional .CUserMsg_ParticleManager.UpdateEntityPosition update_entity_position = 17; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.update_entity_position_); - } - - // optional .CUserMsg_ParticleManager.SetParticleFoWProperties set_particle_fow_properties = 18; - if (cached_has_bits & 0x00004000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.set_particle_fow_properties_); - } - - // optional .CUserMsg_ParticleManager.SetParticleText set_particle_text = 19; - if (cached_has_bits & 0x00008000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.set_particle_text_); - } - - } - if (cached_has_bits & 0x00ff0000u) { - // optional .CUserMsg_ParticleManager.SetParticleShouldCheckFoW set_particle_should_check_fow = 20; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.set_particle_should_check_fow_); - } - - // optional .CUserMsg_ParticleManager.SetControlPointModel set_control_point_model = 21; - if (cached_has_bits & 0x00020000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.set_control_point_model_); - } - - // optional .CUserMsg_ParticleManager.SetControlPointSnapshot set_control_point_snapshot = 22; - if (cached_has_bits & 0x00040000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.set_control_point_snapshot_); - } - - // optional .CUserMsg_ParticleManager.SetTextureAttribute set_texture_attribute = 23; - if (cached_has_bits & 0x00080000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.set_texture_attribute_); - } - - // optional .CUserMsg_ParticleManager.SetSceneObjectGenericFlag set_scene_object_generic_flag = 24; - if (cached_has_bits & 0x00100000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.set_scene_object_generic_flag_); - } - - // optional .CUserMsg_ParticleManager.SetSceneObjectTintAndDesat set_scene_object_tint_and_desat = 25; - if (cached_has_bits & 0x00200000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.set_scene_object_tint_and_desat_); - } - - // optional .CUserMsg_ParticleManager.DestroyParticleNamed destroy_particle_named = 26; - if (cached_has_bits & 0x00400000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.destroy_particle_named_); - } - - // optional .CUserMsg_ParticleManager.ParticleSkipToTime particle_skip_to_time = 27; - if (cached_has_bits & 0x00800000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.particle_skip_to_time_); - } - - } - if (cached_has_bits & 0xff000000u) { - // optional .CUserMsg_ParticleManager.ParticleCanFreeze particle_can_freeze = 28; - if (cached_has_bits & 0x01000000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.particle_can_freeze_); - } - - // optional .CUserMsg_ParticleManager.SetParticleNamedValueContext set_named_value_context = 29; - if (cached_has_bits & 0x02000000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.set_named_value_context_); - } - - // optional .CUserMsg_ParticleManager.UpdateParticleTransform update_particle_transform = 30; - if (cached_has_bits & 0x04000000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.update_particle_transform_); - } - - // optional .CUserMsg_ParticleManager.ParticleFreezeTransitionOverride particle_freeze_transition_override = 31; - if (cached_has_bits & 0x08000000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.particle_freeze_transition_override_); - } - - // optional .CUserMsg_ParticleManager.FreezeParticleInvolving freeze_particle_involving = 32; - if (cached_has_bits & 0x10000000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.freeze_particle_involving_); - } - - // optional .CUserMsg_ParticleManager.AddModellistOverrideElement add_modellist_override_element = 33; - if (cached_has_bits & 0x20000000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.add_modellist_override_element_); - } - - // optional .CUserMsg_ParticleManager.ClearModellistOverride clear_modellist_override = 34; - if (cached_has_bits & 0x40000000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.clear_modellist_override_); - } - - // optional .CUserMsg_ParticleManager.CreatePhysicsSim create_physics_sim = 35; - if (cached_has_bits & 0x80000000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.create_physics_sim_); - } - - } - cached_has_bits = _impl_._has_bits_[1]; - if (cached_has_bits & 0x0000007fu) { - // optional .CUserMsg_ParticleManager.DestroyPhysicsSim destroy_physics_sim = 36; - if (cached_has_bits & 0x00000001u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.destroy_physics_sim_); - } - - // optional .CUserMsg_ParticleManager.SetVData set_vdata = 37; - if (cached_has_bits & 0x00000002u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.set_vdata_); - } - - // optional .CUserMsg_ParticleManager.SetMaterialOverride set_material_override = 38; - if (cached_has_bits & 0x00000004u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.set_material_override_); - } - - // optional .CUserMsg_ParticleManager.AddFan add_fan = 39; - if (cached_has_bits & 0x00000008u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.add_fan_); - } - - // optional .CUserMsg_ParticleManager.UpdateFan update_fan = 40; - if (cached_has_bits & 0x00000010u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.update_fan_); - } - - // optional .CUserMsg_ParticleManager.SetParticleClusterGrowth set_particle_cluster_growth = 41; - if (cached_has_bits & 0x00000020u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.set_particle_cluster_growth_); - } - - // optional .CUserMsg_ParticleManager.RemoveFan remove_fan = 42; - if (cached_has_bits & 0x00000040u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.remove_fan_); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_ParticleManager::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_ParticleManager::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_ParticleManager::GetClassData() const { return &_class_data_; } - - -void CUserMsg_ParticleManager::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_ParticleManager) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_release_particle_index()->::CUserMsg_ParticleManager_ReleaseParticleIndex::MergeFrom( - from._internal_release_particle_index()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_create_particle()->::CUserMsg_ParticleManager_CreateParticle::MergeFrom( - from._internal_create_particle()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_destroy_particle()->::CUserMsg_ParticleManager_DestroyParticle::MergeFrom( - from._internal_destroy_particle()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_destroy_particle_involving()->::CUserMsg_ParticleManager_DestroyParticleInvolving::MergeFrom( - from._internal_destroy_particle_involving()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_mutable_update_particle()->::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::MergeFrom( - from._internal_update_particle()); - } - if (cached_has_bits & 0x00000020u) { - _this->_internal_mutable_update_particle_fwd()->::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::MergeFrom( - from._internal_update_particle_fwd()); - } - if (cached_has_bits & 0x00000040u) { - _this->_internal_mutable_update_particle_orient()->::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::MergeFrom( - from._internal_update_particle_orient()); - } - if (cached_has_bits & 0x00000080u) { - _this->_internal_mutable_update_particle_fallback()->::CUserMsg_ParticleManager_UpdateParticleFallback::MergeFrom( - from._internal_update_particle_fallback()); - } - } - if (cached_has_bits & 0x0000ff00u) { - if (cached_has_bits & 0x00000100u) { - _this->_internal_mutable_update_particle_offset()->::CUserMsg_ParticleManager_UpdateParticleOffset::MergeFrom( - from._internal_update_particle_offset()); - } - if (cached_has_bits & 0x00000200u) { - _this->_internal_mutable_update_particle_ent()->::CUserMsg_ParticleManager_UpdateParticleEnt::MergeFrom( - from._internal_update_particle_ent()); - } - if (cached_has_bits & 0x00000400u) { - _this->_internal_mutable_update_particle_should_draw()->::CUserMsg_ParticleManager_UpdateParticleShouldDraw::MergeFrom( - from._internal_update_particle_should_draw()); - } - if (cached_has_bits & 0x00000800u) { - _this->_internal_mutable_update_particle_set_frozen()->::CUserMsg_ParticleManager_UpdateParticleSetFrozen::MergeFrom( - from._internal_update_particle_set_frozen()); - } - if (cached_has_bits & 0x00001000u) { - _this->_internal_mutable_change_control_point_attachment()->::CUserMsg_ParticleManager_ChangeControlPointAttachment::MergeFrom( - from._internal_change_control_point_attachment()); - } - if (cached_has_bits & 0x00002000u) { - _this->_internal_mutable_update_entity_position()->::CUserMsg_ParticleManager_UpdateEntityPosition::MergeFrom( - from._internal_update_entity_position()); - } - if (cached_has_bits & 0x00004000u) { - _this->_internal_mutable_set_particle_fow_properties()->::CUserMsg_ParticleManager_SetParticleFoWProperties::MergeFrom( - from._internal_set_particle_fow_properties()); - } - if (cached_has_bits & 0x00008000u) { - _this->_internal_mutable_set_particle_text()->::CUserMsg_ParticleManager_SetParticleText::MergeFrom( - from._internal_set_particle_text()); - } - } - if (cached_has_bits & 0x00ff0000u) { - if (cached_has_bits & 0x00010000u) { - _this->_internal_mutable_set_particle_should_check_fow()->::CUserMsg_ParticleManager_SetParticleShouldCheckFoW::MergeFrom( - from._internal_set_particle_should_check_fow()); - } - if (cached_has_bits & 0x00020000u) { - _this->_internal_mutable_set_control_point_model()->::CUserMsg_ParticleManager_SetControlPointModel::MergeFrom( - from._internal_set_control_point_model()); - } - if (cached_has_bits & 0x00040000u) { - _this->_internal_mutable_set_control_point_snapshot()->::CUserMsg_ParticleManager_SetControlPointSnapshot::MergeFrom( - from._internal_set_control_point_snapshot()); - } - if (cached_has_bits & 0x00080000u) { - _this->_internal_mutable_set_texture_attribute()->::CUserMsg_ParticleManager_SetTextureAttribute::MergeFrom( - from._internal_set_texture_attribute()); - } - if (cached_has_bits & 0x00100000u) { - _this->_internal_mutable_set_scene_object_generic_flag()->::CUserMsg_ParticleManager_SetSceneObjectGenericFlag::MergeFrom( - from._internal_set_scene_object_generic_flag()); - } - if (cached_has_bits & 0x00200000u) { - _this->_internal_mutable_set_scene_object_tint_and_desat()->::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::MergeFrom( - from._internal_set_scene_object_tint_and_desat()); - } - if (cached_has_bits & 0x00400000u) { - _this->_internal_mutable_destroy_particle_named()->::CUserMsg_ParticleManager_DestroyParticleNamed::MergeFrom( - from._internal_destroy_particle_named()); - } - if (cached_has_bits & 0x00800000u) { - _this->_internal_mutable_particle_skip_to_time()->::CUserMsg_ParticleManager_ParticleSkipToTime::MergeFrom( - from._internal_particle_skip_to_time()); - } - } - if (cached_has_bits & 0xff000000u) { - if (cached_has_bits & 0x01000000u) { - _this->_internal_mutable_particle_can_freeze()->::CUserMsg_ParticleManager_ParticleCanFreeze::MergeFrom( - from._internal_particle_can_freeze()); - } - if (cached_has_bits & 0x02000000u) { - _this->_internal_mutable_set_named_value_context()->::CUserMsg_ParticleManager_SetParticleNamedValueContext::MergeFrom( - from._internal_set_named_value_context()); - } - if (cached_has_bits & 0x04000000u) { - _this->_internal_mutable_update_particle_transform()->::CUserMsg_ParticleManager_UpdateParticleTransform::MergeFrom( - from._internal_update_particle_transform()); - } - if (cached_has_bits & 0x08000000u) { - _this->_internal_mutable_particle_freeze_transition_override()->::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::MergeFrom( - from._internal_particle_freeze_transition_override()); - } - if (cached_has_bits & 0x10000000u) { - _this->_internal_mutable_freeze_particle_involving()->::CUserMsg_ParticleManager_FreezeParticleInvolving::MergeFrom( - from._internal_freeze_particle_involving()); - } - if (cached_has_bits & 0x20000000u) { - _this->_internal_mutable_add_modellist_override_element()->::CUserMsg_ParticleManager_AddModellistOverrideElement::MergeFrom( - from._internal_add_modellist_override_element()); - } - if (cached_has_bits & 0x40000000u) { - _this->_internal_mutable_clear_modellist_override()->::CUserMsg_ParticleManager_ClearModellistOverride::MergeFrom( - from._internal_clear_modellist_override()); - } - if (cached_has_bits & 0x80000000u) { - _this->_internal_mutable_create_physics_sim()->::CUserMsg_ParticleManager_CreatePhysicsSim::MergeFrom( - from._internal_create_physics_sim()); - } - } - cached_has_bits = from._impl_._has_bits_[1]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_mutable_destroy_physics_sim()->::CUserMsg_ParticleManager_DestroyPhysicsSim::MergeFrom( - from._internal_destroy_physics_sim()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_set_vdata()->::CUserMsg_ParticleManager_SetVData::MergeFrom( - from._internal_set_vdata()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_mutable_set_material_override()->::CUserMsg_ParticleManager_SetMaterialOverride::MergeFrom( - from._internal_set_material_override()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_mutable_add_fan()->::CUserMsg_ParticleManager_AddFan::MergeFrom( - from._internal_add_fan()); - } - if (cached_has_bits & 0x00000010u) { - _this->_internal_mutable_update_fan()->::CUserMsg_ParticleManager_UpdateFan::MergeFrom( - from._internal_update_fan()); - } - if (cached_has_bits & 0x00000020u) { - _this->_internal_mutable_set_particle_cluster_growth()->::CUserMsg_ParticleManager_SetParticleClusterGrowth::MergeFrom( - from._internal_set_particle_cluster_growth()); - } - if (cached_has_bits & 0x00000040u) { - _this->_internal_mutable_remove_fan()->::CUserMsg_ParticleManager_RemoveFan::MergeFrom( - from._internal_remove_fan()); - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.type_ = from._impl_.type_; - } - _this->_impl_._has_bits_[1] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_index(from._internal_index()); - } - _this->_impl_._extensions_.MergeFrom(internal_default_instance(), from._impl_._extensions_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_ParticleManager::CopyFrom(const CUserMsg_ParticleManager& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_ParticleManager) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_ParticleManager::IsInitialized() const { - if (!_impl_._extensions_.IsInitialized()) { - return false; - } - - if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false; - return true; -} - -void CUserMsg_ParticleManager::InternalSwap(CUserMsg_ParticleManager* other) { - using std::swap; - _impl_._extensions_.InternalSwap(&other->_impl_._extensions_); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_._has_bits_[1], other->_impl_._has_bits_[1]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager, _impl_.index_) - + sizeof(CUserMsg_ParticleManager::_impl_.index_) - - PROTOBUF_FIELD_OFFSET(CUserMsg_ParticleManager, _impl_.release_particle_index_)>( - reinterpret_cast(&_impl_.release_particle_index_), - reinterpret_cast(&other->_impl_.release_particle_index_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_ParticleManager::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[80]); -} - -// =================================================================== - -class CUserMsg_HudError::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_order_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMsg_HudError::CUserMsg_HudError(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_HudError) -} -CUserMsg_HudError::CUserMsg_HudError(const CUserMsg_HudError& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_HudError* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.order_id_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.order_id_ = from._impl_.order_id_; - // @@protoc_insertion_point(copy_constructor:CUserMsg_HudError) -} - -inline void CUserMsg_HudError::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.order_id_){0} - }; -} - -CUserMsg_HudError::~CUserMsg_HudError() { - // @@protoc_insertion_point(destructor:CUserMsg_HudError) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_HudError::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMsg_HudError::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_HudError::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_HudError) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.order_id_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_HudError::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 order_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_order_id(&has_bits); - _impl_.order_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_HudError::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_HudError) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 order_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_order_id(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_HudError) - return target; -} - -size_t CUserMsg_HudError::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_HudError) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional int32 order_id = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_order_id()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_HudError::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_HudError::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_HudError::GetClassData() const { return &_class_data_; } - - -void CUserMsg_HudError::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_HudError) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_order_id()) { - _this->_internal_set_order_id(from._internal_order_id()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_HudError::CopyFrom(const CUserMsg_HudError& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_HudError) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_HudError::IsInitialized() const { - return true; -} - -void CUserMsg_HudError::InternalSwap(CUserMsg_HudError* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.order_id_, other->_impl_.order_id_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_HudError::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[81]); -} - -// =================================================================== - -class CUserMsg_CustomGameEvent::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_event_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CUserMsg_CustomGameEvent::CUserMsg_CustomGameEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMsg_CustomGameEvent) -} -CUserMsg_CustomGameEvent::CUserMsg_CustomGameEvent(const CUserMsg_CustomGameEvent& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMsg_CustomGameEvent* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.event_name_){} - , decltype(_impl_.data_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.event_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_event_name()) { - _this->_impl_.event_name_.Set(from._internal_event_name(), - _this->GetArenaForAllocation()); - } - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - // @@protoc_insertion_point(copy_constructor:CUserMsg_CustomGameEvent) -} - -inline void CUserMsg_CustomGameEvent::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.event_name_){} - , decltype(_impl_.data_){} - }; - _impl_.event_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.event_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMsg_CustomGameEvent::~CUserMsg_CustomGameEvent() { - // @@protoc_insertion_point(destructor:CUserMsg_CustomGameEvent) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMsg_CustomGameEvent::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.event_name_.Destroy(); - _impl_.data_.Destroy(); -} - -void CUserMsg_CustomGameEvent::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMsg_CustomGameEvent::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMsg_CustomGameEvent) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.event_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMsg_CustomGameEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string event_name = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_event_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMsg_CustomGameEvent.event_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bytes data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMsg_CustomGameEvent::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMsg_CustomGameEvent) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string event_name = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_event_name().data(), static_cast(this->_internal_event_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMsg_CustomGameEvent.event_name"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_event_name(), target); - } - - // optional bytes data = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMsg_CustomGameEvent) - return target; -} - -size_t CUserMsg_CustomGameEvent::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMsg_CustomGameEvent) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string event_name = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_event_name()); - } - - // optional bytes data = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMsg_CustomGameEvent::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMsg_CustomGameEvent::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMsg_CustomGameEvent::GetClassData() const { return &_class_data_; } - - -void CUserMsg_CustomGameEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMsg_CustomGameEvent) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_event_name(from._internal_event_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_data(from._internal_data()); - } - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMsg_CustomGameEvent::CopyFrom(const CUserMsg_CustomGameEvent& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMsg_CustomGameEvent) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMsg_CustomGameEvent::IsInitialized() const { - return true; -} - -void CUserMsg_CustomGameEvent::InternalSwap(CUserMsg_CustomGameEvent* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.event_name_, lhs_arena, - &other->_impl_.event_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMsg_CustomGameEvent::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[82]); -} - -// =================================================================== - -class CUserMessageHapticsManagerPulse::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_hand_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_effect_amplitude(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_effect_frequency(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_effect_duration(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CUserMessageHapticsManagerPulse::CUserMessageHapticsManagerPulse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageHapticsManagerPulse) -} -CUserMessageHapticsManagerPulse::CUserMessageHapticsManagerPulse(const CUserMessageHapticsManagerPulse& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageHapticsManagerPulse* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hand_id_){} - , decltype(_impl_.effect_amplitude_){} - , decltype(_impl_.effect_frequency_){} - , decltype(_impl_.effect_duration_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.hand_id_, &from._impl_.hand_id_, - static_cast(reinterpret_cast(&_impl_.effect_duration_) - - reinterpret_cast(&_impl_.hand_id_)) + sizeof(_impl_.effect_duration_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageHapticsManagerPulse) -} - -inline void CUserMessageHapticsManagerPulse::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hand_id_){0} - , decltype(_impl_.effect_amplitude_){0} - , decltype(_impl_.effect_frequency_){0} - , decltype(_impl_.effect_duration_){0} - }; -} - -CUserMessageHapticsManagerPulse::~CUserMessageHapticsManagerPulse() { - // @@protoc_insertion_point(destructor:CUserMessageHapticsManagerPulse) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageHapticsManagerPulse::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMessageHapticsManagerPulse::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageHapticsManagerPulse::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageHapticsManagerPulse) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - ::memset(&_impl_.hand_id_, 0, static_cast( - reinterpret_cast(&_impl_.effect_duration_) - - reinterpret_cast(&_impl_.hand_id_)) + sizeof(_impl_.effect_duration_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageHapticsManagerPulse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 hand_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_hand_id(&has_bits); - _impl_.hand_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float effect_amplitude = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { - _Internal::set_has_effect_amplitude(&has_bits); - _impl_.effect_amplitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float effect_frequency = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_effect_frequency(&has_bits); - _impl_.effect_frequency_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional float effect_duration = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 37)) { - _Internal::set_has_effect_duration(&has_bits); - _impl_.effect_duration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageHapticsManagerPulse::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageHapticsManagerPulse) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 hand_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_hand_id(), target); - } - - // optional float effect_amplitude = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_effect_amplitude(), target); - } - - // optional float effect_frequency = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_effect_frequency(), target); - } - - // optional float effect_duration = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this->_internal_effect_duration(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageHapticsManagerPulse) - return target; -} - -size_t CUserMessageHapticsManagerPulse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageHapticsManagerPulse) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional int32 hand_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_hand_id()); - } - - // optional float effect_amplitude = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 4; - } - - // optional float effect_frequency = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional float effect_duration = 4; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageHapticsManagerPulse::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageHapticsManagerPulse::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageHapticsManagerPulse::GetClassData() const { return &_class_data_; } - - -void CUserMessageHapticsManagerPulse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageHapticsManagerPulse) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.hand_id_ = from._impl_.hand_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.effect_amplitude_ = from._impl_.effect_amplitude_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.effect_frequency_ = from._impl_.effect_frequency_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.effect_duration_ = from._impl_.effect_duration_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageHapticsManagerPulse::CopyFrom(const CUserMessageHapticsManagerPulse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageHapticsManagerPulse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageHapticsManagerPulse::IsInitialized() const { - return true; -} - -void CUserMessageHapticsManagerPulse::InternalSwap(CUserMessageHapticsManagerPulse* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageHapticsManagerPulse, _impl_.effect_duration_) - + sizeof(CUserMessageHapticsManagerPulse::_impl_.effect_duration_) - - PROTOBUF_FIELD_OFFSET(CUserMessageHapticsManagerPulse, _impl_.hand_id_)>( - reinterpret_cast(&_impl_.hand_id_), - reinterpret_cast(&other->_impl_.hand_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageHapticsManagerPulse::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[83]); -} - -// =================================================================== - -class CUserMessageHapticsManagerEffect::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_hand_id(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_effect_name_hash_code(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_effect_scale(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CUserMessageHapticsManagerEffect::CUserMessageHapticsManagerEffect(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageHapticsManagerEffect) -} -CUserMessageHapticsManagerEffect::CUserMessageHapticsManagerEffect(const CUserMessageHapticsManagerEffect& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageHapticsManagerEffect* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hand_id_){} - , decltype(_impl_.effect_name_hash_code_){} - , decltype(_impl_.effect_scale_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.hand_id_, &from._impl_.hand_id_, - static_cast(reinterpret_cast(&_impl_.effect_scale_) - - reinterpret_cast(&_impl_.hand_id_)) + sizeof(_impl_.effect_scale_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageHapticsManagerEffect) -} - -inline void CUserMessageHapticsManagerEffect::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.hand_id_){0} - , decltype(_impl_.effect_name_hash_code_){0u} - , decltype(_impl_.effect_scale_){0} - }; -} - -CUserMessageHapticsManagerEffect::~CUserMessageHapticsManagerEffect() { - // @@protoc_insertion_point(destructor:CUserMessageHapticsManagerEffect) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageHapticsManagerEffect::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMessageHapticsManagerEffect::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageHapticsManagerEffect::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageHapticsManagerEffect) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.hand_id_, 0, static_cast( - reinterpret_cast(&_impl_.effect_scale_) - - reinterpret_cast(&_impl_.hand_id_)) + sizeof(_impl_.effect_scale_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageHapticsManagerEffect::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 hand_id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_hand_id(&has_bits); - _impl_.hand_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 effect_name_hash_code = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_effect_name_hash_code(&has_bits); - _impl_.effect_name_hash_code_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float effect_scale = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_effect_scale(&has_bits); - _impl_.effect_scale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageHapticsManagerEffect::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageHapticsManagerEffect) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 hand_id = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_hand_id(), target); - } - - // optional uint32 effect_name_hash_code = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_effect_name_hash_code(), target); - } - - // optional float effect_scale = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_effect_scale(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageHapticsManagerEffect) - return target; -} - -size_t CUserMessageHapticsManagerEffect::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageHapticsManagerEffect) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 hand_id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_hand_id()); - } - - // optional uint32 effect_name_hash_code = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_effect_name_hash_code()); - } - - // optional float effect_scale = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageHapticsManagerEffect::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageHapticsManagerEffect::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageHapticsManagerEffect::GetClassData() const { return &_class_data_; } - - -void CUserMessageHapticsManagerEffect::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageHapticsManagerEffect) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.hand_id_ = from._impl_.hand_id_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.effect_name_hash_code_ = from._impl_.effect_name_hash_code_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.effect_scale_ = from._impl_.effect_scale_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageHapticsManagerEffect::CopyFrom(const CUserMessageHapticsManagerEffect& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageHapticsManagerEffect) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageHapticsManagerEffect::IsInitialized() const { - return true; -} - -void CUserMessageHapticsManagerEffect::InternalSwap(CUserMessageHapticsManagerEffect* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageHapticsManagerEffect, _impl_.effect_scale_) - + sizeof(CUserMessageHapticsManagerEffect::_impl_.effect_scale_) - - PROTOBUF_FIELD_OFFSET(CUserMessageHapticsManagerEffect, _impl_.hand_id_)>( - reinterpret_cast(&_impl_.hand_id_), - reinterpret_cast(&other->_impl_.hand_id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageHapticsManagerEffect::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[84]); -} - -// =================================================================== - -class CUserMessageAnimStateGraphState::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_entity_index(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_data(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMessageAnimStateGraphState::CUserMessageAnimStateGraphState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageAnimStateGraphState) -} -CUserMessageAnimStateGraphState::CUserMessageAnimStateGraphState(const CUserMessageAnimStateGraphState& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageAnimStateGraphState* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.entity_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_data()) { - _this->_impl_.data_.Set(from._internal_data(), - _this->GetArenaForAllocation()); - } - _this->_impl_.entity_index_ = from._impl_.entity_index_; - // @@protoc_insertion_point(copy_constructor:CUserMessageAnimStateGraphState) -} - -inline void CUserMessageAnimStateGraphState::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.data_){} - , decltype(_impl_.entity_index_){0} - }; - _impl_.data_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.data_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessageAnimStateGraphState::~CUserMessageAnimStateGraphState() { - // @@protoc_insertion_point(destructor:CUserMessageAnimStateGraphState) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageAnimStateGraphState::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.data_.Destroy(); -} - -void CUserMessageAnimStateGraphState::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageAnimStateGraphState::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageAnimStateGraphState) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.data_.ClearNonDefaultToEmpty(); - } - _impl_.entity_index_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageAnimStateGraphState::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 entity_index = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_entity_index(&has_bits); - _impl_.entity_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes data = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_data(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageAnimStateGraphState::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageAnimStateGraphState) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 entity_index = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_entity_index(), target); - } - - // optional bytes data = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 2, this->_internal_data(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageAnimStateGraphState) - return target; -} - -size_t CUserMessageAnimStateGraphState::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageAnimStateGraphState) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional bytes data = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_data()); - } - - // optional int32 entity_index = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_entity_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageAnimStateGraphState::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageAnimStateGraphState::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageAnimStateGraphState::GetClassData() const { return &_class_data_; } - - -void CUserMessageAnimStateGraphState::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageAnimStateGraphState) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_data(from._internal_data()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.entity_index_ = from._impl_.entity_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageAnimStateGraphState::CopyFrom(const CUserMessageAnimStateGraphState& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageAnimStateGraphState) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageAnimStateGraphState::IsInitialized() const { - return true; -} - -void CUserMessageAnimStateGraphState::InternalSwap(CUserMessageAnimStateGraphState* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.data_, lhs_arena, - &other->_impl_.data_, rhs_arena - ); - swap(_impl_.entity_index_, other->_impl_.entity_index_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageAnimStateGraphState::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[85]); -} - -// =================================================================== - -class CUserMessageUpdateCssClasses::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_target_world_panel(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_css_classes(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_is_add(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CUserMessageUpdateCssClasses::CUserMessageUpdateCssClasses(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageUpdateCssClasses) -} -CUserMessageUpdateCssClasses::CUserMessageUpdateCssClasses(const CUserMessageUpdateCssClasses& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageUpdateCssClasses* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.css_classes_){} - , decltype(_impl_.target_world_panel_){} - , decltype(_impl_.is_add_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.css_classes_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.css_classes_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_css_classes()) { - _this->_impl_.css_classes_.Set(from._internal_css_classes(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.target_world_panel_, &from._impl_.target_world_panel_, - static_cast(reinterpret_cast(&_impl_.is_add_) - - reinterpret_cast(&_impl_.target_world_panel_)) + sizeof(_impl_.is_add_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageUpdateCssClasses) -} - -inline void CUserMessageUpdateCssClasses::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.css_classes_){} - , decltype(_impl_.target_world_panel_){0} - , decltype(_impl_.is_add_){false} - }; - _impl_.css_classes_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.css_classes_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessageUpdateCssClasses::~CUserMessageUpdateCssClasses() { - // @@protoc_insertion_point(destructor:CUserMessageUpdateCssClasses) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageUpdateCssClasses::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.css_classes_.Destroy(); -} - -void CUserMessageUpdateCssClasses::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageUpdateCssClasses::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageUpdateCssClasses) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.css_classes_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.target_world_panel_, 0, static_cast( - reinterpret_cast(&_impl_.is_add_) - - reinterpret_cast(&_impl_.target_world_panel_)) + sizeof(_impl_.is_add_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageUpdateCssClasses::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 target_world_panel = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_target_world_panel(&has_bits); - _impl_.target_world_panel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string css_classes = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_css_classes(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageUpdateCssClasses.css_classes"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool is_add = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_is_add(&has_bits); - _impl_.is_add_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageUpdateCssClasses::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageUpdateCssClasses) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 target_world_panel = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_target_world_panel(), target); - } - - // optional string css_classes = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_css_classes().data(), static_cast(this->_internal_css_classes().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageUpdateCssClasses.css_classes"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_css_classes(), target); - } - - // optional bool is_add = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_is_add(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageUpdateCssClasses) - return target; -} - -size_t CUserMessageUpdateCssClasses::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageUpdateCssClasses) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string css_classes = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_css_classes()); - } - - // optional int32 target_world_panel = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_target_world_panel()); - } - - // optional bool is_add = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageUpdateCssClasses::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageUpdateCssClasses::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageUpdateCssClasses::GetClassData() const { return &_class_data_; } - - -void CUserMessageUpdateCssClasses::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageUpdateCssClasses) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_css_classes(from._internal_css_classes()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.target_world_panel_ = from._impl_.target_world_panel_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.is_add_ = from._impl_.is_add_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageUpdateCssClasses::CopyFrom(const CUserMessageUpdateCssClasses& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageUpdateCssClasses) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageUpdateCssClasses::IsInitialized() const { - return true; -} - -void CUserMessageUpdateCssClasses::InternalSwap(CUserMessageUpdateCssClasses* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.css_classes_, lhs_arena, - &other->_impl_.css_classes_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageUpdateCssClasses, _impl_.is_add_) - + sizeof(CUserMessageUpdateCssClasses::_impl_.is_add_) - - PROTOBUF_FIELD_OFFSET(CUserMessageUpdateCssClasses, _impl_.target_world_panel_)>( - reinterpret_cast(&_impl_.target_world_panel_), - reinterpret_cast(&other->_impl_.target_world_panel_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageUpdateCssClasses::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[86]); -} - -// =================================================================== - -class CUserMessageServerFrameTime::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_frame_time(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMessageServerFrameTime::CUserMessageServerFrameTime(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageServerFrameTime) -} -CUserMessageServerFrameTime::CUserMessageServerFrameTime(const CUserMessageServerFrameTime& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageServerFrameTime* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.frame_time_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.frame_time_ = from._impl_.frame_time_; - // @@protoc_insertion_point(copy_constructor:CUserMessageServerFrameTime) -} - -inline void CUserMessageServerFrameTime::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.frame_time_){0} - }; -} - -CUserMessageServerFrameTime::~CUserMessageServerFrameTime() { - // @@protoc_insertion_point(destructor:CUserMessageServerFrameTime) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageServerFrameTime::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMessageServerFrameTime::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageServerFrameTime::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageServerFrameTime) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.frame_time_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageServerFrameTime::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float frame_time = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_frame_time(&has_bits); - _impl_.frame_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageServerFrameTime::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageServerFrameTime) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float frame_time = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_frame_time(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageServerFrameTime) - return target; -} - -size_t CUserMessageServerFrameTime::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageServerFrameTime) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional float frame_time = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageServerFrameTime::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageServerFrameTime::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageServerFrameTime::GetClassData() const { return &_class_data_; } - - -void CUserMessageServerFrameTime::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageServerFrameTime) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_frame_time()) { - _this->_internal_set_frame_time(from._internal_frame_time()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageServerFrameTime::CopyFrom(const CUserMessageServerFrameTime& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageServerFrameTime) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageServerFrameTime::IsInitialized() const { - return true; -} - -void CUserMessageServerFrameTime::InternalSwap(CUserMessageServerFrameTime* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.frame_time_, other->_impl_.frame_time_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageServerFrameTime::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[87]); -} - -// =================================================================== - -class CUserMessageLagCompensationError::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_distance(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMessageLagCompensationError::CUserMessageLagCompensationError(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageLagCompensationError) -} -CUserMessageLagCompensationError::CUserMessageLagCompensationError(const CUserMessageLagCompensationError& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageLagCompensationError* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.distance_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _this->_impl_.distance_ = from._impl_.distance_; - // @@protoc_insertion_point(copy_constructor:CUserMessageLagCompensationError) -} - -inline void CUserMessageLagCompensationError::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.distance_){0} - }; -} - -CUserMessageLagCompensationError::~CUserMessageLagCompensationError() { - // @@protoc_insertion_point(destructor:CUserMessageLagCompensationError) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageLagCompensationError::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMessageLagCompensationError::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageLagCompensationError::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageLagCompensationError) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.distance_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageLagCompensationError::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional float distance = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_distance(&has_bits); - _impl_.distance_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageLagCompensationError::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageLagCompensationError) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional float distance = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_distance(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageLagCompensationError) - return target; -} - -size_t CUserMessageLagCompensationError::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageLagCompensationError) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // optional float distance = 1; - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageLagCompensationError::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageLagCompensationError::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageLagCompensationError::GetClassData() const { return &_class_data_; } - - -void CUserMessageLagCompensationError::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageLagCompensationError) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_has_distance()) { - _this->_internal_set_distance(from._internal_distance()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageLagCompensationError::CopyFrom(const CUserMessageLagCompensationError& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageLagCompensationError) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageLagCompensationError::IsInitialized() const { - return true; -} - -void CUserMessageLagCompensationError::InternalSwap(CUserMessageLagCompensationError* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.distance_, other->_impl_.distance_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageLagCompensationError::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[88]); -} - -// =================================================================== - -class CUserMessageRequestDllStatus::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_dll_action(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_full_report(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CUserMessageRequestDllStatus::CUserMessageRequestDllStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageRequestDllStatus) -} -CUserMessageRequestDllStatus::CUserMessageRequestDllStatus(const CUserMessageRequestDllStatus& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageRequestDllStatus* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.dll_action_){} - , decltype(_impl_.full_report_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.dll_action_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dll_action_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_dll_action()) { - _this->_impl_.dll_action_.Set(from._internal_dll_action(), - _this->GetArenaForAllocation()); - } - _this->_impl_.full_report_ = from._impl_.full_report_; - // @@protoc_insertion_point(copy_constructor:CUserMessageRequestDllStatus) -} - -inline void CUserMessageRequestDllStatus::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.dll_action_){} - , decltype(_impl_.full_report_){false} - }; - _impl_.dll_action_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.dll_action_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessageRequestDllStatus::~CUserMessageRequestDllStatus() { - // @@protoc_insertion_point(destructor:CUserMessageRequestDllStatus) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageRequestDllStatus::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.dll_action_.Destroy(); -} - -void CUserMessageRequestDllStatus::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageRequestDllStatus::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageRequestDllStatus) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.dll_action_.ClearNonDefaultToEmpty(); - } - _impl_.full_report_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageRequestDllStatus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string dll_action = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_dll_action(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageRequestDllStatus.dll_action"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bool full_report = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_full_report(&has_bits); - _impl_.full_report_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageRequestDllStatus::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageRequestDllStatus) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string dll_action = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_dll_action().data(), static_cast(this->_internal_dll_action().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageRequestDllStatus.dll_action"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_dll_action(), target); - } - - // optional bool full_report = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_full_report(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageRequestDllStatus) - return target; -} - -size_t CUserMessageRequestDllStatus::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageRequestDllStatus) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string dll_action = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_dll_action()); - } - - // optional bool full_report = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + 1; - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageRequestDllStatus::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageRequestDllStatus::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageRequestDllStatus::GetClassData() const { return &_class_data_; } - - -void CUserMessageRequestDllStatus::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageRequestDllStatus) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_dll_action(from._internal_dll_action()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.full_report_ = from._impl_.full_report_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageRequestDllStatus::CopyFrom(const CUserMessageRequestDllStatus& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageRequestDllStatus) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageRequestDllStatus::IsInitialized() const { - return true; -} - -void CUserMessageRequestDllStatus::InternalSwap(CUserMessageRequestDllStatus* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.dll_action_, lhs_arena, - &other->_impl_.dll_action_, rhs_arena - ); - swap(_impl_.full_report_, other->_impl_.full_report_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageRequestDllStatus::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[89]); -} - -// =================================================================== - -class CUserMessageRequestUtilAction::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_util1(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_util2(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_util3(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_util4(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_util5(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CUserMessageRequestUtilAction::CUserMessageRequestUtilAction(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageRequestUtilAction) -} -CUserMessageRequestUtilAction::CUserMessageRequestUtilAction(const CUserMessageRequestUtilAction& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageRequestUtilAction* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.util1_){} - , decltype(_impl_.util2_){} - , decltype(_impl_.util3_){} - , decltype(_impl_.util4_){} - , decltype(_impl_.util5_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.util1_, &from._impl_.util1_, - static_cast(reinterpret_cast(&_impl_.util5_) - - reinterpret_cast(&_impl_.util1_)) + sizeof(_impl_.util5_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageRequestUtilAction) -} - -inline void CUserMessageRequestUtilAction::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.util1_){0} - , decltype(_impl_.util2_){0} - , decltype(_impl_.util3_){0} - , decltype(_impl_.util4_){0} - , decltype(_impl_.util5_){0} - }; -} - -CUserMessageRequestUtilAction::~CUserMessageRequestUtilAction() { - // @@protoc_insertion_point(destructor:CUserMessageRequestUtilAction) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageRequestUtilAction::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMessageRequestUtilAction::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageRequestUtilAction::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageRequestUtilAction) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.util1_, 0, static_cast( - reinterpret_cast(&_impl_.util5_) - - reinterpret_cast(&_impl_.util1_)) + sizeof(_impl_.util5_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageRequestUtilAction::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 util1 = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_util1(&has_bits); - _impl_.util1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 util2 = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_util2(&has_bits); - _impl_.util2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 util3 = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_util3(&has_bits); - _impl_.util3_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 util4 = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_util4(&has_bits); - _impl_.util4_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 util5 = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_util5(&has_bits); - _impl_.util5_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageRequestUtilAction::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageRequestUtilAction) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 util1 = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_util1(), target); - } - - // optional int32 util2 = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_util2(), target); - } - - // optional int32 util3 = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_util3(), target); - } - - // optional int32 util4 = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_util4(), target); - } - - // optional int32 util5 = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_util5(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageRequestUtilAction) - return target; -} - -size_t CUserMessageRequestUtilAction::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageRequestUtilAction) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional int32 util1 = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_util1()); - } - - // optional int32 util2 = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_util2()); - } - - // optional int32 util3 = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_util3()); - } - - // optional int32 util4 = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_util4()); - } - - // optional int32 util5 = 6; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_util5()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageRequestUtilAction::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageRequestUtilAction::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageRequestUtilAction::GetClassData() const { return &_class_data_; } - - -void CUserMessageRequestUtilAction::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageRequestUtilAction) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.util1_ = from._impl_.util1_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.util2_ = from._impl_.util2_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.util3_ = from._impl_.util3_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.util4_ = from._impl_.util4_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.util5_ = from._impl_.util5_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageRequestUtilAction::CopyFrom(const CUserMessageRequestUtilAction& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageRequestUtilAction) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageRequestUtilAction::IsInitialized() const { - return true; -} - -void CUserMessageRequestUtilAction::InternalSwap(CUserMessageRequestUtilAction* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageRequestUtilAction, _impl_.util5_) - + sizeof(CUserMessageRequestUtilAction::_impl_.util5_) - - PROTOBUF_FIELD_OFFSET(CUserMessageRequestUtilAction, _impl_.util1_)>( - reinterpret_cast(&_impl_.util1_), - reinterpret_cast(&other->_impl_.util1_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageRequestUtilAction::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[90]); -} - -// =================================================================== - -class CUserMessage_UtilMsg_Response_ItemDetail::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_index(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_hash(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_crc(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMessage_UtilMsg_Response_ItemDetail::CUserMessage_UtilMsg_Response_ItemDetail(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessage_UtilMsg_Response.ItemDetail) -} -CUserMessage_UtilMsg_Response_ItemDetail::CUserMessage_UtilMsg_Response_ItemDetail(const CUserMessage_UtilMsg_Response_ItemDetail& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessage_UtilMsg_Response_ItemDetail* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.index_){} - , decltype(_impl_.hash_){} - , decltype(_impl_.crc_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.index_, &from._impl_.index_, - static_cast(reinterpret_cast(&_impl_.crc_) - - reinterpret_cast(&_impl_.index_)) + sizeof(_impl_.crc_)); - // @@protoc_insertion_point(copy_constructor:CUserMessage_UtilMsg_Response.ItemDetail) -} - -inline void CUserMessage_UtilMsg_Response_ItemDetail::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.index_){0} - , decltype(_impl_.hash_){0} - , decltype(_impl_.crc_){0} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessage_UtilMsg_Response_ItemDetail::~CUserMessage_UtilMsg_Response_ItemDetail() { - // @@protoc_insertion_point(destructor:CUserMessage_UtilMsg_Response.ItemDetail) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessage_UtilMsg_Response_ItemDetail::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); -} - -void CUserMessage_UtilMsg_Response_ItemDetail::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessage_UtilMsg_Response_ItemDetail::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessage_UtilMsg_Response.ItemDetail) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.index_, 0, static_cast( - reinterpret_cast(&_impl_.crc_) - - reinterpret_cast(&_impl_.index_)) + sizeof(_impl_.crc_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessage_UtilMsg_Response_ItemDetail::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 index = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_index(&has_bits); - _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 hash = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_hash(&has_bits); - _impl_.hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 crc = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_crc(&has_bits); - _impl_.crc_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessage_UtilMsg_Response.ItemDetail.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessage_UtilMsg_Response_ItemDetail::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_UtilMsg_Response.ItemDetail) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 index = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_index(), target); - } - - // optional int32 hash = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_hash(), target); - } - - // optional int32 crc = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_crc(), target); - } - - // optional string name = 4; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessage_UtilMsg_Response.ItemDetail.name"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_name(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessage_UtilMsg_Response.ItemDetail) - return target; -} - -size_t CUserMessage_UtilMsg_Response_ItemDetail::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessage_UtilMsg_Response.ItemDetail) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string name = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional int32 index = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_index()); - } - - // optional int32 hash = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_hash()); - } - - // optional int32 crc = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_crc()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_UtilMsg_Response_ItemDetail::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessage_UtilMsg_Response_ItemDetail::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_UtilMsg_Response_ItemDetail::GetClassData() const { return &_class_data_; } - - -void CUserMessage_UtilMsg_Response_ItemDetail::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessage_UtilMsg_Response.ItemDetail) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.index_ = from._impl_.index_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.hash_ = from._impl_.hash_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.crc_ = from._impl_.crc_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessage_UtilMsg_Response_ItemDetail::CopyFrom(const CUserMessage_UtilMsg_Response_ItemDetail& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_UtilMsg_Response.ItemDetail) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessage_UtilMsg_Response_ItemDetail::IsInitialized() const { - return true; -} - -void CUserMessage_UtilMsg_Response_ItemDetail::InternalSwap(CUserMessage_UtilMsg_Response_ItemDetail* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessage_UtilMsg_Response_ItemDetail, _impl_.crc_) - + sizeof(CUserMessage_UtilMsg_Response_ItemDetail::_impl_.crc_) - - PROTOBUF_FIELD_OFFSET(CUserMessage_UtilMsg_Response_ItemDetail, _impl_.index_)>( - reinterpret_cast(&_impl_.index_), - reinterpret_cast(&other->_impl_.index_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_UtilMsg_Response_ItemDetail::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[91]); -} - -// =================================================================== - -class CUserMessage_UtilMsg_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_crc(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_item_count(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_crc2(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_item_count2(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_client_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_platform(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_itemgroup(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_total_count(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_total_count2(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } -}; - -CUserMessage_UtilMsg_Response::CUserMessage_UtilMsg_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessage_UtilMsg_Response) -} -CUserMessage_UtilMsg_Response::CUserMessage_UtilMsg_Response(const CUserMessage_UtilMsg_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessage_UtilMsg_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.crc_part_){from._impl_.crc_part_} - , decltype(_impl_.crc_part2_){from._impl_.crc_part2_} - , decltype(_impl_.itemdetails_){from._impl_.itemdetails_} - , decltype(_impl_.crc_){} - , decltype(_impl_.item_count_){} - , decltype(_impl_.crc2_){} - , decltype(_impl_.item_count2_){} - , decltype(_impl_.client_timestamp_){} - , decltype(_impl_.platform_){} - , decltype(_impl_.itemgroup_){} - , decltype(_impl_.total_count_){} - , decltype(_impl_.total_count2_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.crc_, &from._impl_.crc_, - static_cast(reinterpret_cast(&_impl_.total_count2_) - - reinterpret_cast(&_impl_.crc_)) + sizeof(_impl_.total_count2_)); - // @@protoc_insertion_point(copy_constructor:CUserMessage_UtilMsg_Response) -} - -inline void CUserMessage_UtilMsg_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.crc_part_){arena} - , decltype(_impl_.crc_part2_){arena} - , decltype(_impl_.itemdetails_){arena} - , decltype(_impl_.crc_){0u} - , decltype(_impl_.item_count_){0} - , decltype(_impl_.crc2_){0u} - , decltype(_impl_.item_count2_){0} - , decltype(_impl_.client_timestamp_){0} - , decltype(_impl_.platform_){0} - , decltype(_impl_.itemgroup_){0} - , decltype(_impl_.total_count_){0} - , decltype(_impl_.total_count2_){0} - }; -} - -CUserMessage_UtilMsg_Response::~CUserMessage_UtilMsg_Response() { - // @@protoc_insertion_point(destructor:CUserMessage_UtilMsg_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessage_UtilMsg_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.crc_part_.~RepeatedField(); - _impl_.crc_part2_.~RepeatedField(); - _impl_.itemdetails_.~RepeatedPtrField(); -} - -void CUserMessage_UtilMsg_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessage_UtilMsg_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessage_UtilMsg_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.crc_part_.Clear(); - _impl_.crc_part2_.Clear(); - _impl_.itemdetails_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.crc_, 0, static_cast( - reinterpret_cast(&_impl_.total_count_) - - reinterpret_cast(&_impl_.crc_)) + sizeof(_impl_.total_count_)); - } - _impl_.total_count2_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessage_UtilMsg_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 crc = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_crc(&has_bits); - _impl_.crc_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional int32 item_count = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_item_count(&has_bits); - _impl_.item_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional fixed32 crc2 = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { - _Internal::set_has_crc2(&has_bits); - _impl_.crc2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional int32 item_count2 = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_item_count2(&has_bits); - _impl_.item_count2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 crc_part = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_crc_part(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<40>(ptr)); - } else if (static_cast(tag) == 42) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_crc_part(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 crc_part2 = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_crc_part2(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<48>(ptr)); - } else if (static_cast(tag) == 50) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_crc_part2(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 client_timestamp = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_client_timestamp(&has_bits); - _impl_.client_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 platform = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_platform(&has_bits); - _impl_.platform_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CUserMessage_UtilMsg_Response.ItemDetail itemdetails = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_itemdetails(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr)); - } else - goto handle_unusual; - continue; - // optional int32 itemgroup = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_itemgroup(&has_bits); - _impl_.itemgroup_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 total_count = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_total_count(&has_bits); - _impl_.total_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 total_count2 = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_total_count2(&has_bits); - _impl_.total_count2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessage_UtilMsg_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_UtilMsg_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 crc = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_crc(), target); - } - - // optional int32 item_count = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_item_count(), target); - } - - // optional fixed32 crc2 = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(3, this->_internal_crc2(), target); - } - - // optional int32 item_count2 = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_item_count2(), target); - } - - // repeated int32 crc_part = 5; - for (int i = 0, n = this->_internal_crc_part_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_crc_part(i), target); - } - - // repeated int32 crc_part2 = 6; - for (int i = 0, n = this->_internal_crc_part2_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_crc_part2(i), target); - } - - // optional int32 client_timestamp = 7; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_client_timestamp(), target); - } - - // optional int32 platform = 8; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_platform(), target); - } - - // repeated .CUserMessage_UtilMsg_Response.ItemDetail itemdetails = 9; - for (unsigned i = 0, - n = static_cast(this->_internal_itemdetails_size()); i < n; i++) { - const auto& repfield = this->_internal_itemdetails(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(9, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional int32 itemgroup = 10; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_itemgroup(), target); - } - - // optional int32 total_count = 11; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_total_count(), target); - } - - // optional int32 total_count2 = 12; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_total_count2(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessage_UtilMsg_Response) - return target; -} - -size_t CUserMessage_UtilMsg_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessage_UtilMsg_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated int32 crc_part = 5; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.crc_part_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_crc_part_size()); - total_size += data_size; - } - - // repeated int32 crc_part2 = 6; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.crc_part2_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_crc_part2_size()); - total_size += data_size; - } - - // repeated .CUserMessage_UtilMsg_Response.ItemDetail itemdetails = 9; - total_size += 1UL * this->_internal_itemdetails_size(); - for (const auto& msg : this->_impl_.itemdetails_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional fixed32 crc = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional int32 item_count = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_item_count()); - } - - // optional fixed32 crc2 = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional int32 item_count2 = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_item_count2()); - } - - // optional int32 client_timestamp = 7; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_client_timestamp()); - } - - // optional int32 platform = 8; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_platform()); - } - - // optional int32 itemgroup = 10; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_itemgroup()); - } - - // optional int32 total_count = 11; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_total_count()); - } - - } - // optional int32 total_count2 = 12; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_total_count2()); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_UtilMsg_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessage_UtilMsg_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_UtilMsg_Response::GetClassData() const { return &_class_data_; } - - -void CUserMessage_UtilMsg_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessage_UtilMsg_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.crc_part_.MergeFrom(from._impl_.crc_part_); - _this->_impl_.crc_part2_.MergeFrom(from._impl_.crc_part2_); - _this->_impl_.itemdetails_.MergeFrom(from._impl_.itemdetails_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.crc_ = from._impl_.crc_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.item_count_ = from._impl_.item_count_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.crc2_ = from._impl_.crc2_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.item_count2_ = from._impl_.item_count2_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.client_timestamp_ = from._impl_.client_timestamp_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.platform_ = from._impl_.platform_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.itemgroup_ = from._impl_.itemgroup_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.total_count_ = from._impl_.total_count_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000100u) { - _this->_internal_set_total_count2(from._internal_total_count2()); - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessage_UtilMsg_Response::CopyFrom(const CUserMessage_UtilMsg_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_UtilMsg_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessage_UtilMsg_Response::IsInitialized() const { - return true; -} - -void CUserMessage_UtilMsg_Response::InternalSwap(CUserMessage_UtilMsg_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.crc_part_.InternalSwap(&other->_impl_.crc_part_); - _impl_.crc_part2_.InternalSwap(&other->_impl_.crc_part2_); - _impl_.itemdetails_.InternalSwap(&other->_impl_.itemdetails_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessage_UtilMsg_Response, _impl_.total_count2_) - + sizeof(CUserMessage_UtilMsg_Response::_impl_.total_count2_) - - PROTOBUF_FIELD_OFFSET(CUserMessage_UtilMsg_Response, _impl_.crc_)>( - reinterpret_cast(&_impl_.crc_), - reinterpret_cast(&other->_impl_.crc_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_UtilMsg_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[92]); -} - -// =================================================================== - -class CUserMessage_DllStatus_CVDiagnostic::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_id(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_extended(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_string_value(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMessage_DllStatus_CVDiagnostic::CUserMessage_DllStatus_CVDiagnostic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessage_DllStatus.CVDiagnostic) -} -CUserMessage_DllStatus_CVDiagnostic::CUserMessage_DllStatus_CVDiagnostic(const CUserMessage_DllStatus_CVDiagnostic& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessage_DllStatus_CVDiagnostic* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.string_value_){} - , decltype(_impl_.id_){} - , decltype(_impl_.extended_){} - , decltype(_impl_.value_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.string_value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.string_value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_string_value()) { - _this->_impl_.string_value_.Set(from._internal_string_value(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.id_, &from._impl_.id_, - static_cast(reinterpret_cast(&_impl_.value_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.value_)); - // @@protoc_insertion_point(copy_constructor:CUserMessage_DllStatus.CVDiagnostic) -} - -inline void CUserMessage_DllStatus_CVDiagnostic::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.string_value_){} - , decltype(_impl_.id_){0u} - , decltype(_impl_.extended_){0u} - , decltype(_impl_.value_){uint64_t{0u}} - }; - _impl_.string_value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.string_value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessage_DllStatus_CVDiagnostic::~CUserMessage_DllStatus_CVDiagnostic() { - // @@protoc_insertion_point(destructor:CUserMessage_DllStatus.CVDiagnostic) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessage_DllStatus_CVDiagnostic::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.string_value_.Destroy(); -} - -void CUserMessage_DllStatus_CVDiagnostic::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessage_DllStatus_CVDiagnostic::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessage_DllStatus.CVDiagnostic) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.string_value_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.id_, 0, static_cast( - reinterpret_cast(&_impl_.value_) - - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.value_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessage_DllStatus_CVDiagnostic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 id = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_id(&has_bits); - _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 extended = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_extended(&has_bits); - _impl_.extended_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 value = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_value(&has_bits); - _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string string_value = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_string_value(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessage_DllStatus.CVDiagnostic.string_value"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessage_DllStatus_CVDiagnostic::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_DllStatus.CVDiagnostic) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target); - } - - // optional uint32 extended = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_extended(), target); - } - - // optional uint64 value = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_value(), target); - } - - // optional string string_value = 4; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_string_value().data(), static_cast(this->_internal_string_value().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessage_DllStatus.CVDiagnostic.string_value"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_string_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessage_DllStatus.CVDiagnostic) - return target; -} - -size_t CUserMessage_DllStatus_CVDiagnostic::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessage_DllStatus.CVDiagnostic) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string string_value = 4; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_string_value()); - } - - // optional uint32 id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id()); - } - - // optional uint32 extended = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_extended()); - } - - // optional uint64 value = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_value()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_DllStatus_CVDiagnostic::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessage_DllStatus_CVDiagnostic::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_DllStatus_CVDiagnostic::GetClassData() const { return &_class_data_; } - - -void CUserMessage_DllStatus_CVDiagnostic::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessage_DllStatus.CVDiagnostic) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_string_value(from._internal_string_value()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.id_ = from._impl_.id_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.extended_ = from._impl_.extended_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.value_ = from._impl_.value_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessage_DllStatus_CVDiagnostic::CopyFrom(const CUserMessage_DllStatus_CVDiagnostic& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_DllStatus.CVDiagnostic) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessage_DllStatus_CVDiagnostic::IsInitialized() const { - return true; -} - -void CUserMessage_DllStatus_CVDiagnostic::InternalSwap(CUserMessage_DllStatus_CVDiagnostic* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.string_value_, lhs_arena, - &other->_impl_.string_value_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessage_DllStatus_CVDiagnostic, _impl_.value_) - + sizeof(CUserMessage_DllStatus_CVDiagnostic::_impl_.value_) - - PROTOBUF_FIELD_OFFSET(CUserMessage_DllStatus_CVDiagnostic, _impl_.id_)>( - reinterpret_cast(&_impl_.id_), - reinterpret_cast(&other->_impl_.id_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_DllStatus_CVDiagnostic::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[93]); -} - -// =================================================================== - -class CUserMessage_DllStatus_CModule::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_base_addr(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_size(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CUserMessage_DllStatus_CModule::CUserMessage_DllStatus_CModule(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessage_DllStatus.CModule) -} -CUserMessage_DllStatus_CModule::CUserMessage_DllStatus_CModule(const CUserMessage_DllStatus_CModule& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessage_DllStatus_CModule* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.base_addr_){} - , decltype(_impl_.size_){} - , decltype(_impl_.timestamp_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.base_addr_, &from._impl_.base_addr_, - static_cast(reinterpret_cast(&_impl_.timestamp_) - - reinterpret_cast(&_impl_.base_addr_)) + sizeof(_impl_.timestamp_)); - // @@protoc_insertion_point(copy_constructor:CUserMessage_DllStatus.CModule) -} - -inline void CUserMessage_DllStatus_CModule::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.base_addr_){uint64_t{0u}} - , decltype(_impl_.size_){0u} - , decltype(_impl_.timestamp_){0u} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessage_DllStatus_CModule::~CUserMessage_DllStatus_CModule() { - // @@protoc_insertion_point(destructor:CUserMessage_DllStatus.CModule) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessage_DllStatus_CModule::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); -} - -void CUserMessage_DllStatus_CModule::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessage_DllStatus_CModule::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessage_DllStatus.CModule) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x0000000eu) { - ::memset(&_impl_.base_addr_, 0, static_cast( - reinterpret_cast(&_impl_.timestamp_) - - reinterpret_cast(&_impl_.base_addr_)) + sizeof(_impl_.timestamp_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessage_DllStatus_CModule::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint64 base_addr = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_base_addr(&has_bits); - _impl_.base_addr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessage_DllStatus.CModule.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 size = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_size(&has_bits); - _impl_.size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 timestamp = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_timestamp(&has_bits); - _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessage_DllStatus_CModule::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_DllStatus.CModule) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint64 base_addr = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_base_addr(), target); - } - - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessage_DllStatus.CModule.name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_name(), target); - } - - // optional uint32 size = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_size(), target); - } - - // optional uint32 timestamp = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_timestamp(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessage_DllStatus.CModule) - return target; -} - -size_t CUserMessage_DllStatus_CModule::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessage_DllStatus.CModule) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional uint64 base_addr = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_base_addr()); - } - - // optional uint32 size = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_size()); - } - - // optional uint32 timestamp = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_timestamp()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_DllStatus_CModule::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessage_DllStatus_CModule::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_DllStatus_CModule::GetClassData() const { return &_class_data_; } - - -void CUserMessage_DllStatus_CModule::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessage_DllStatus.CModule) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.base_addr_ = from._impl_.base_addr_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.size_ = from._impl_.size_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.timestamp_ = from._impl_.timestamp_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessage_DllStatus_CModule::CopyFrom(const CUserMessage_DllStatus_CModule& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_DllStatus.CModule) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessage_DllStatus_CModule::IsInitialized() const { - return true; -} - -void CUserMessage_DllStatus_CModule::InternalSwap(CUserMessage_DllStatus_CModule* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessage_DllStatus_CModule, _impl_.timestamp_) - + sizeof(CUserMessage_DllStatus_CModule::_impl_.timestamp_) - - PROTOBUF_FIELD_OFFSET(CUserMessage_DllStatus_CModule, _impl_.base_addr_)>( - reinterpret_cast(&_impl_.base_addr_), - reinterpret_cast(&other->_impl_.base_addr_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_DllStatus_CModule::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[94]); -} - -// =================================================================== - -class CUserMessage_DllStatus::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_file_report(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_command_line(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_total_files(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_process_id(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_osversion(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_client_time(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CUserMessage_DllStatus::CUserMessage_DllStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessage_DllStatus) -} -CUserMessage_DllStatus::CUserMessage_DllStatus(const CUserMessage_DllStatus& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessage_DllStatus* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.diagnostics_){from._impl_.diagnostics_} - , decltype(_impl_.modules_){from._impl_.modules_} - , decltype(_impl_.file_report_){} - , decltype(_impl_.command_line_){} - , decltype(_impl_.total_files_){} - , decltype(_impl_.process_id_){} - , decltype(_impl_.client_time_){} - , decltype(_impl_.osversion_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.file_report_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.file_report_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_file_report()) { - _this->_impl_.file_report_.Set(from._internal_file_report(), - _this->GetArenaForAllocation()); - } - _impl_.command_line_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.command_line_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_command_line()) { - _this->_impl_.command_line_.Set(from._internal_command_line(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.total_files_, &from._impl_.total_files_, - static_cast(reinterpret_cast(&_impl_.osversion_) - - reinterpret_cast(&_impl_.total_files_)) + sizeof(_impl_.osversion_)); - // @@protoc_insertion_point(copy_constructor:CUserMessage_DllStatus) -} - -inline void CUserMessage_DllStatus::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.diagnostics_){arena} - , decltype(_impl_.modules_){arena} - , decltype(_impl_.file_report_){} - , decltype(_impl_.command_line_){} - , decltype(_impl_.total_files_){0u} - , decltype(_impl_.process_id_){0u} - , decltype(_impl_.client_time_){uint64_t{0u}} - , decltype(_impl_.osversion_){0} - }; - _impl_.file_report_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.file_report_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.command_line_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.command_line_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessage_DllStatus::~CUserMessage_DllStatus() { - // @@protoc_insertion_point(destructor:CUserMessage_DllStatus) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessage_DllStatus::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.diagnostics_.~RepeatedPtrField(); - _impl_.modules_.~RepeatedPtrField(); - _impl_.file_report_.Destroy(); - _impl_.command_line_.Destroy(); -} - -void CUserMessage_DllStatus::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessage_DllStatus::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessage_DllStatus) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.diagnostics_.Clear(); - _impl_.modules_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.file_report_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.command_line_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x0000003cu) { - ::memset(&_impl_.total_files_, 0, static_cast( - reinterpret_cast(&_impl_.osversion_) - - reinterpret_cast(&_impl_.total_files_)) + sizeof(_impl_.osversion_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessage_DllStatus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional string file_report = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - auto str = _internal_mutable_file_report(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessage_DllStatus.file_report"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string command_line = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_command_line(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessage_DllStatus.command_line"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional uint32 total_files = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_total_files(&has_bits); - _impl_.total_files_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint32 process_id = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_process_id(&has_bits); - _impl_.process_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 osversion = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_osversion(&has_bits); - _impl_.osversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional uint64 client_time = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_client_time(&has_bits); - _impl_.client_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CUserMessage_DllStatus.CVDiagnostic diagnostics = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_diagnostics(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CUserMessage_DllStatus.CModule modules = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_modules(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessage_DllStatus::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_DllStatus) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional string file_report = 1; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_file_report().data(), static_cast(this->_internal_file_report().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessage_DllStatus.file_report"); - target = stream->WriteStringMaybeAliased( - 1, this->_internal_file_report(), target); - } - - // optional string command_line = 2; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_command_line().data(), static_cast(this->_internal_command_line().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessage_DllStatus.command_line"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_command_line(), target); - } - - // optional uint32 total_files = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_total_files(), target); - } - - // optional uint32 process_id = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_process_id(), target); - } - - // optional int32 osversion = 5; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_osversion(), target); - } - - // optional uint64 client_time = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_client_time(), target); - } - - // repeated .CUserMessage_DllStatus.CVDiagnostic diagnostics = 7; - for (unsigned i = 0, - n = static_cast(this->_internal_diagnostics_size()); i < n; i++) { - const auto& repfield = this->_internal_diagnostics(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CUserMessage_DllStatus.CModule modules = 8; - for (unsigned i = 0, - n = static_cast(this->_internal_modules_size()); i < n; i++) { - const auto& repfield = this->_internal_modules(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessage_DllStatus) - return target; -} - -size_t CUserMessage_DllStatus::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessage_DllStatus) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CUserMessage_DllStatus.CVDiagnostic diagnostics = 7; - total_size += 1UL * this->_internal_diagnostics_size(); - for (const auto& msg : this->_impl_.diagnostics_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CUserMessage_DllStatus.CModule modules = 8; - total_size += 1UL * this->_internal_modules_size(); - for (const auto& msg : this->_impl_.modules_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional string file_report = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_file_report()); - } - - // optional string command_line = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_command_line()); - } - - // optional uint32 total_files = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_total_files()); - } - - // optional uint32 process_id = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_process_id()); - } - - // optional uint64 client_time = 6; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_client_time()); - } - - // optional int32 osversion = 5; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_osversion()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_DllStatus::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessage_DllStatus::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_DllStatus::GetClassData() const { return &_class_data_; } - - -void CUserMessage_DllStatus::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessage_DllStatus) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.diagnostics_.MergeFrom(from._impl_.diagnostics_); - _this->_impl_.modules_.MergeFrom(from._impl_.modules_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_file_report(from._internal_file_report()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_command_line(from._internal_command_line()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.total_files_ = from._impl_.total_files_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.process_id_ = from._impl_.process_id_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.client_time_ = from._impl_.client_time_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.osversion_ = from._impl_.osversion_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessage_DllStatus::CopyFrom(const CUserMessage_DllStatus& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_DllStatus) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessage_DllStatus::IsInitialized() const { - return true; -} - -void CUserMessage_DllStatus::InternalSwap(CUserMessage_DllStatus* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.diagnostics_.InternalSwap(&other->_impl_.diagnostics_); - _impl_.modules_.InternalSwap(&other->_impl_.modules_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.file_report_, lhs_arena, - &other->_impl_.file_report_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.command_line_, lhs_arena, - &other->_impl_.command_line_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessage_DllStatus, _impl_.osversion_) - + sizeof(CUserMessage_DllStatus::_impl_.osversion_) - - PROTOBUF_FIELD_OFFSET(CUserMessage_DllStatus, _impl_.total_files_)>( - reinterpret_cast(&_impl_.total_files_), - reinterpret_cast(&other->_impl_.total_files_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_DllStatus::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[95]); -} - -// =================================================================== - -class CUserMessageRequestInventory::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_inventory(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_offset(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_options(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } -}; - -CUserMessageRequestInventory::CUserMessageRequestInventory(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageRequestInventory) -} -CUserMessageRequestInventory::CUserMessageRequestInventory(const CUserMessageRequestInventory& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageRequestInventory* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.inventory_){} - , decltype(_impl_.offset_){} - , decltype(_impl_.options_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.inventory_, &from._impl_.inventory_, - static_cast(reinterpret_cast(&_impl_.options_) - - reinterpret_cast(&_impl_.inventory_)) + sizeof(_impl_.options_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageRequestInventory) -} - -inline void CUserMessageRequestInventory::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.inventory_){0} - , decltype(_impl_.offset_){0} - , decltype(_impl_.options_){0} - }; -} - -CUserMessageRequestInventory::~CUserMessageRequestInventory() { - // @@protoc_insertion_point(destructor:CUserMessageRequestInventory) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageRequestInventory::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); -} - -void CUserMessageRequestInventory::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageRequestInventory::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageRequestInventory) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.inventory_, 0, static_cast( - reinterpret_cast(&_impl_.options_) - - reinterpret_cast(&_impl_.inventory_)) + sizeof(_impl_.options_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageRequestInventory::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 inventory = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_inventory(&has_bits); - _impl_.inventory_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 offset = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_offset(&has_bits); - _impl_.offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 options = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_options(&has_bits); - _impl_.options_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageRequestInventory::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageRequestInventory) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 inventory = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_inventory(), target); - } - - // optional int32 offset = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_offset(), target); - } - - // optional int32 options = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_options(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageRequestInventory) - return target; -} - -size_t CUserMessageRequestInventory::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageRequestInventory) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int32 inventory = 1; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_inventory()); - } - - // optional int32 offset = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_offset()); - } - - // optional int32 options = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_options()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageRequestInventory::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageRequestInventory::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageRequestInventory::GetClassData() const { return &_class_data_; } - - -void CUserMessageRequestInventory::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageRequestInventory) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.inventory_ = from._impl_.inventory_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.offset_ = from._impl_.offset_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.options_ = from._impl_.options_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageRequestInventory::CopyFrom(const CUserMessageRequestInventory& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageRequestInventory) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageRequestInventory::IsInitialized() const { - return true; -} - -void CUserMessageRequestInventory::InternalSwap(CUserMessageRequestInventory* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageRequestInventory, _impl_.options_) - + sizeof(CUserMessageRequestInventory::_impl_.options_) - - PROTOBUF_FIELD_OFFSET(CUserMessageRequestInventory, _impl_.inventory_)>( - reinterpret_cast(&_impl_.inventory_), - reinterpret_cast(&other->_impl_.inventory_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageRequestInventory::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[96]); -} - -// =================================================================== - -class CUserMessage_Inventory_Response_InventoryDetail::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_index(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_primary(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_offset(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_first(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_base(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_base_name(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_base_detail(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_base_time(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_base_hash(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } -}; - -CUserMessage_Inventory_Response_InventoryDetail::CUserMessage_Inventory_Response_InventoryDetail(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessage_Inventory_Response.InventoryDetail) -} -CUserMessage_Inventory_Response_InventoryDetail::CUserMessage_Inventory_Response_InventoryDetail(const CUserMessage_Inventory_Response_InventoryDetail& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessage_Inventory_Response_InventoryDetail* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.base_name_){} - , decltype(_impl_.primary_){} - , decltype(_impl_.offset_){} - , decltype(_impl_.first_){} - , decltype(_impl_.index_){} - , decltype(_impl_.base_detail_){} - , decltype(_impl_.base_){} - , decltype(_impl_.base_time_){} - , decltype(_impl_.base_hash_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.base_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.base_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_base_name()) { - _this->_impl_.base_name_.Set(from._internal_base_name(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.primary_, &from._impl_.primary_, - static_cast(reinterpret_cast(&_impl_.base_hash_) - - reinterpret_cast(&_impl_.primary_)) + sizeof(_impl_.base_hash_)); - // @@protoc_insertion_point(copy_constructor:CUserMessage_Inventory_Response.InventoryDetail) -} - -inline void CUserMessage_Inventory_Response_InventoryDetail::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.base_name_){} - , decltype(_impl_.primary_){int64_t{0}} - , decltype(_impl_.offset_){int64_t{0}} - , decltype(_impl_.first_){int64_t{0}} - , decltype(_impl_.index_){0} - , decltype(_impl_.base_detail_){0} - , decltype(_impl_.base_){int64_t{0}} - , decltype(_impl_.base_time_){0} - , decltype(_impl_.base_hash_){0} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.base_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.base_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessage_Inventory_Response_InventoryDetail::~CUserMessage_Inventory_Response_InventoryDetail() { - // @@protoc_insertion_point(destructor:CUserMessage_Inventory_Response.InventoryDetail) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessage_Inventory_Response_InventoryDetail::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); - _impl_.base_name_.Destroy(); -} - -void CUserMessage_Inventory_Response_InventoryDetail::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessage_Inventory_Response_InventoryDetail::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessage_Inventory_Response.InventoryDetail) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.base_name_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000fcu) { - ::memset(&_impl_.primary_, 0, static_cast( - reinterpret_cast(&_impl_.base_) - - reinterpret_cast(&_impl_.primary_)) + sizeof(_impl_.base_)); - } - if (cached_has_bits & 0x00000300u) { - ::memset(&_impl_.base_time_, 0, static_cast( - reinterpret_cast(&_impl_.base_hash_) - - reinterpret_cast(&_impl_.base_time_)) + sizeof(_impl_.base_hash_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessage_Inventory_Response_InventoryDetail::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 index = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_index(&has_bits); - _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 primary = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_primary(&has_bits); - _impl_.primary_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 offset = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_offset(&has_bits); - _impl_.offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 first = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_first(&has_bits); - _impl_.first_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 base = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_base(&has_bits); - _impl_.base_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessage_Inventory_Response.InventoryDetail.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string base_name = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - auto str = _internal_mutable_base_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessage_Inventory_Response.InventoryDetail.base_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional int32 base_detail = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_base_detail(&has_bits); - _impl_.base_detail_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 base_time = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_base_time(&has_bits); - _impl_.base_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 base_hash = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { - _Internal::set_has_base_hash(&has_bits); - _impl_.base_hash_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessage_Inventory_Response_InventoryDetail::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_Inventory_Response.InventoryDetail) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 index = 1; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_index(), target); - } - - // optional int64 primary = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(2, this->_internal_primary(), target); - } - - // optional int64 offset = 3; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_offset(), target); - } - - // optional int64 first = 4; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(4, this->_internal_first(), target); - } - - // optional int64 base = 5; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(5, this->_internal_base(), target); - } - - // optional string name = 6; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessage_Inventory_Response.InventoryDetail.name"); - target = stream->WriteStringMaybeAliased( - 6, this->_internal_name(), target); - } - - // optional string base_name = 7; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_base_name().data(), static_cast(this->_internal_base_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessage_Inventory_Response.InventoryDetail.base_name"); - target = stream->WriteStringMaybeAliased( - 7, this->_internal_base_name(), target); - } - - // optional int32 base_detail = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_base_detail(), target); - } - - // optional int32 base_time = 9; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_base_time(), target); - } - - // optional int32 base_hash = 10; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_base_hash(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessage_Inventory_Response.InventoryDetail) - return target; -} - -size_t CUserMessage_Inventory_Response_InventoryDetail::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessage_Inventory_Response.InventoryDetail) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string name = 6; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional string base_name = 7; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_base_name()); - } - - // optional int64 primary = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_primary()); - } - - // optional int64 offset = 3; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_offset()); - } - - // optional int64 first = 4; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_first()); - } - - // optional int32 index = 1; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_index()); - } - - // optional int32 base_detail = 8; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_base_detail()); - } - - // optional int64 base = 5; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_base()); - } - - } - if (cached_has_bits & 0x00000300u) { - // optional int32 base_time = 9; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_base_time()); - } - - // optional int32 base_hash = 10; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_base_hash()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_Inventory_Response_InventoryDetail::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessage_Inventory_Response_InventoryDetail::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_Inventory_Response_InventoryDetail::GetClassData() const { return &_class_data_; } - - -void CUserMessage_Inventory_Response_InventoryDetail::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessage_Inventory_Response.InventoryDetail) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_base_name(from._internal_base_name()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.primary_ = from._impl_.primary_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.offset_ = from._impl_.offset_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.first_ = from._impl_.first_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.index_ = from._impl_.index_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.base_detail_ = from._impl_.base_detail_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.base_ = from._impl_.base_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000300u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.base_time_ = from._impl_.base_time_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.base_hash_ = from._impl_.base_hash_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessage_Inventory_Response_InventoryDetail::CopyFrom(const CUserMessage_Inventory_Response_InventoryDetail& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_Inventory_Response.InventoryDetail) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessage_Inventory_Response_InventoryDetail::IsInitialized() const { - return true; -} - -void CUserMessage_Inventory_Response_InventoryDetail::InternalSwap(CUserMessage_Inventory_Response_InventoryDetail* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.base_name_, lhs_arena, - &other->_impl_.base_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessage_Inventory_Response_InventoryDetail, _impl_.base_hash_) - + sizeof(CUserMessage_Inventory_Response_InventoryDetail::_impl_.base_hash_) - - PROTOBUF_FIELD_OFFSET(CUserMessage_Inventory_Response_InventoryDetail, _impl_.primary_)>( - reinterpret_cast(&_impl_.primary_), - reinterpret_cast(&other->_impl_.primary_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_Inventory_Response_InventoryDetail::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[97]); -} - -// =================================================================== - -class CUserMessage_Inventory_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_crc(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_item_count(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_osversion(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_perf_time(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_client_timestamp(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_platform(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_inv_type(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_build_version(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_instance(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_start_time(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } -}; - -CUserMessage_Inventory_Response::CUserMessage_Inventory_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessage_Inventory_Response) -} -CUserMessage_Inventory_Response::CUserMessage_Inventory_Response(const CUserMessage_Inventory_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessage_Inventory_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.inventories_){from._impl_.inventories_} - , decltype(_impl_.inventories2_){from._impl_.inventories2_} - , decltype(_impl_.inventories3_){from._impl_.inventories3_} - , decltype(_impl_.crc_){} - , decltype(_impl_.item_count_){} - , decltype(_impl_.osversion_){} - , decltype(_impl_.perf_time_){} - , decltype(_impl_.client_timestamp_){} - , decltype(_impl_.platform_){} - , decltype(_impl_.inv_type_){} - , decltype(_impl_.build_version_){} - , decltype(_impl_.start_time_){} - , decltype(_impl_.instance_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.crc_, &from._impl_.crc_, - static_cast(reinterpret_cast(&_impl_.instance_) - - reinterpret_cast(&_impl_.crc_)) + sizeof(_impl_.instance_)); - // @@protoc_insertion_point(copy_constructor:CUserMessage_Inventory_Response) -} - -inline void CUserMessage_Inventory_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.inventories_){arena} - , decltype(_impl_.inventories2_){arena} - , decltype(_impl_.inventories3_){arena} - , decltype(_impl_.crc_){0u} - , decltype(_impl_.item_count_){0} - , decltype(_impl_.osversion_){0} - , decltype(_impl_.perf_time_){0} - , decltype(_impl_.client_timestamp_){0} - , decltype(_impl_.platform_){0} - , decltype(_impl_.inv_type_){0} - , decltype(_impl_.build_version_){0} - , decltype(_impl_.start_time_){int64_t{0}} - , decltype(_impl_.instance_){0} - }; -} - -CUserMessage_Inventory_Response::~CUserMessage_Inventory_Response() { - // @@protoc_insertion_point(destructor:CUserMessage_Inventory_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessage_Inventory_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.inventories_.~RepeatedPtrField(); - _impl_.inventories2_.~RepeatedPtrField(); - _impl_.inventories3_.~RepeatedPtrField(); -} - -void CUserMessage_Inventory_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessage_Inventory_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessage_Inventory_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.inventories_.Clear(); - _impl_.inventories2_.Clear(); - _impl_.inventories3_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - ::memset(&_impl_.crc_, 0, static_cast( - reinterpret_cast(&_impl_.build_version_) - - reinterpret_cast(&_impl_.crc_)) + sizeof(_impl_.build_version_)); - } - if (cached_has_bits & 0x00000300u) { - ::memset(&_impl_.start_time_, 0, static_cast( - reinterpret_cast(&_impl_.instance_) - - reinterpret_cast(&_impl_.start_time_)) + sizeof(_impl_.instance_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessage_Inventory_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional fixed32 crc = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { - _Internal::set_has_crc(&has_bits); - _impl_.crc_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(uint32_t); - } else - goto handle_unusual; - continue; - // optional int32 item_count = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_item_count(&has_bits); - _impl_.item_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 osversion = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_osversion(&has_bits); - _impl_.osversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 perf_time = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_perf_time(&has_bits); - _impl_.perf_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 client_timestamp = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_client_timestamp(&has_bits); - _impl_.client_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 platform = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_platform(&has_bits); - _impl_.platform_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_inventories(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr)); - } else - goto handle_unusual; - continue; - // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories2 = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_inventories2(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<82>(ptr)); - } else - goto handle_unusual; - continue; - // optional int32 inv_type = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { - _Internal::set_has_inv_type(&has_bits); - _impl_.inv_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 build_version = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_build_version(&has_bits); - _impl_.build_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 instance = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_instance(&has_bits); - _impl_.instance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories3 = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_inventories3(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<114>(ptr)); - } else - goto handle_unusual; - continue; - // optional int64 start_time = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_start_time(&has_bits); - _impl_.start_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessage_Inventory_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_Inventory_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional fixed32 crc = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_crc(), target); - } - - // optional int32 item_count = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_item_count(), target); - } - - // optional int32 osversion = 5; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_osversion(), target); - } - - // optional int32 perf_time = 6; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_perf_time(), target); - } - - // optional int32 client_timestamp = 7; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_client_timestamp(), target); - } - - // optional int32 platform = 8; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_platform(), target); - } - - // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories = 9; - for (unsigned i = 0, - n = static_cast(this->_internal_inventories_size()); i < n; i++) { - const auto& repfield = this->_internal_inventories(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(9, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories2 = 10; - for (unsigned i = 0, - n = static_cast(this->_internal_inventories2_size()); i < n; i++) { - const auto& repfield = this->_internal_inventories2(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional int32 inv_type = 11; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_inv_type(), target); - } - - // optional int32 build_version = 12; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_build_version(), target); - } - - // optional int32 instance = 13; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_instance(), target); - } - - // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories3 = 14; - for (unsigned i = 0, - n = static_cast(this->_internal_inventories3_size()); i < n; i++) { - const auto& repfield = this->_internal_inventories3(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(14, repfield, repfield.GetCachedSize(), target, stream); - } - - // optional int64 start_time = 15; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(15, this->_internal_start_time(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessage_Inventory_Response) - return target; -} - -size_t CUserMessage_Inventory_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessage_Inventory_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories = 9; - total_size += 1UL * this->_internal_inventories_size(); - for (const auto& msg : this->_impl_.inventories_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories2 = 10; - total_size += 1UL * this->_internal_inventories2_size(); - for (const auto& msg : this->_impl_.inventories2_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories3 = 14; - total_size += 1UL * this->_internal_inventories3_size(); - for (const auto& msg : this->_impl_.inventories3_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional fixed32 crc = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + 4; - } - - // optional int32 item_count = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_item_count()); - } - - // optional int32 osversion = 5; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_osversion()); - } - - // optional int32 perf_time = 6; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_perf_time()); - } - - // optional int32 client_timestamp = 7; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_client_timestamp()); - } - - // optional int32 platform = 8; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_platform()); - } - - // optional int32 inv_type = 11; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_inv_type()); - } - - // optional int32 build_version = 12; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_build_version()); - } - - } - if (cached_has_bits & 0x00000300u) { - // optional int64 start_time = 15; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_start_time()); - } - - // optional int32 instance = 13; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_instance()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_Inventory_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessage_Inventory_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_Inventory_Response::GetClassData() const { return &_class_data_; } - - -void CUserMessage_Inventory_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessage_Inventory_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.inventories_.MergeFrom(from._impl_.inventories_); - _this->_impl_.inventories2_.MergeFrom(from._impl_.inventories2_); - _this->_impl_.inventories3_.MergeFrom(from._impl_.inventories3_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.crc_ = from._impl_.crc_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.item_count_ = from._impl_.item_count_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.osversion_ = from._impl_.osversion_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.perf_time_ = from._impl_.perf_time_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.client_timestamp_ = from._impl_.client_timestamp_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.platform_ = from._impl_.platform_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.inv_type_ = from._impl_.inv_type_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.build_version_ = from._impl_.build_version_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00000300u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.start_time_ = from._impl_.start_time_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.instance_ = from._impl_.instance_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessage_Inventory_Response::CopyFrom(const CUserMessage_Inventory_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_Inventory_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessage_Inventory_Response::IsInitialized() const { - return true; -} - -void CUserMessage_Inventory_Response::InternalSwap(CUserMessage_Inventory_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.inventories_.InternalSwap(&other->_impl_.inventories_); - _impl_.inventories2_.InternalSwap(&other->_impl_.inventories2_); - _impl_.inventories3_.InternalSwap(&other->_impl_.inventories3_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessage_Inventory_Response, _impl_.instance_) - + sizeof(CUserMessage_Inventory_Response::_impl_.instance_) - - PROTOBUF_FIELD_OFFSET(CUserMessage_Inventory_Response, _impl_.crc_)>( - reinterpret_cast(&_impl_.crc_), - reinterpret_cast(&other->_impl_.crc_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_Inventory_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[98]); -} - -// =================================================================== - -class CUserMessageRequestDiagnostic_Diagnostic::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_index(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_offset(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_param(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_length(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_base(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_range(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_extent(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_detail(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_alias(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_vardetail(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_context(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } -}; - -CUserMessageRequestDiagnostic_Diagnostic::CUserMessageRequestDiagnostic_Diagnostic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageRequestDiagnostic.Diagnostic) -} -CUserMessageRequestDiagnostic_Diagnostic::CUserMessageRequestDiagnostic_Diagnostic(const CUserMessageRequestDiagnostic_Diagnostic& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageRequestDiagnostic_Diagnostic* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.alias_){} - , decltype(_impl_.vardetail_){} - , decltype(_impl_.offset_){} - , decltype(_impl_.index_){} - , decltype(_impl_.param_){} - , decltype(_impl_.length_){} - , decltype(_impl_.type_){} - , decltype(_impl_.base_){} - , decltype(_impl_.range_){} - , decltype(_impl_.extent_){} - , decltype(_impl_.detail_){} - , decltype(_impl_.context_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.alias_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.alias_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_alias()) { - _this->_impl_.alias_.Set(from._internal_alias(), - _this->GetArenaForAllocation()); - } - _impl_.vardetail_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.vardetail_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_vardetail()) { - _this->_impl_.vardetail_.Set(from._internal_vardetail(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.offset_, &from._impl_.offset_, - static_cast(reinterpret_cast(&_impl_.context_) - - reinterpret_cast(&_impl_.offset_)) + sizeof(_impl_.context_)); - // @@protoc_insertion_point(copy_constructor:CUserMessageRequestDiagnostic.Diagnostic) -} - -inline void CUserMessageRequestDiagnostic_Diagnostic::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_){} - , decltype(_impl_.alias_){} - , decltype(_impl_.vardetail_){} - , decltype(_impl_.offset_){int64_t{0}} - , decltype(_impl_.index_){0} - , decltype(_impl_.param_){0} - , decltype(_impl_.length_){0} - , decltype(_impl_.type_){0} - , decltype(_impl_.base_){int64_t{0}} - , decltype(_impl_.range_){int64_t{0}} - , decltype(_impl_.extent_){int64_t{0}} - , decltype(_impl_.detail_){int64_t{0}} - , decltype(_impl_.context_){0} - }; - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.alias_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.alias_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.vardetail_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.vardetail_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessageRequestDiagnostic_Diagnostic::~CUserMessageRequestDiagnostic_Diagnostic() { - // @@protoc_insertion_point(destructor:CUserMessageRequestDiagnostic.Diagnostic) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageRequestDiagnostic_Diagnostic::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.name_.Destroy(); - _impl_.alias_.Destroy(); - _impl_.vardetail_.Destroy(); -} - -void CUserMessageRequestDiagnostic_Diagnostic::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageRequestDiagnostic_Diagnostic::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageRequestDiagnostic.Diagnostic) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.alias_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.vardetail_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000f8u) { - ::memset(&_impl_.offset_, 0, static_cast( - reinterpret_cast(&_impl_.type_) - - reinterpret_cast(&_impl_.offset_)) + sizeof(_impl_.type_)); - } - if (cached_has_bits & 0x00001f00u) { - ::memset(&_impl_.base_, 0, static_cast( - reinterpret_cast(&_impl_.context_) - - reinterpret_cast(&_impl_.base_)) + sizeof(_impl_.context_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageRequestDiagnostic_Diagnostic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 index = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_index(&has_bits); - _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 offset = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_offset(&has_bits); - _impl_.offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 param = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_param(&has_bits); - _impl_.param_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 length = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_length(&has_bits); - _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 type = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_type(&has_bits); - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 base = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_base(&has_bits); - _impl_.base_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 range = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_range(&has_bits); - _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 extent = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_extent(&has_bits); - _impl_.extent_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 detail = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { - _Internal::set_has_detail(&has_bits); - _impl_.detail_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageRequestDiagnostic.Diagnostic.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string alias = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_alias(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessageRequestDiagnostic.Diagnostic.alias"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bytes vardetail = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - auto str = _internal_mutable_vardetail(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 context = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_context(&has_bits); - _impl_.context_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageRequestDiagnostic_Diagnostic::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageRequestDiagnostic.Diagnostic) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 index = 1; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_index(), target); - } - - // optional int64 offset = 2; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(2, this->_internal_offset(), target); - } - - // optional int32 param = 3; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_param(), target); - } - - // optional int32 length = 4; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_length(), target); - } - - // optional int32 type = 5; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_type(), target); - } - - // optional int64 base = 6; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(6, this->_internal_base(), target); - } - - // optional int64 range = 7; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(7, this->_internal_range(), target); - } - - // optional int64 extent = 8; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(8, this->_internal_extent(), target); - } - - // optional int64 detail = 9; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(9, this->_internal_detail(), target); - } - - // optional string name = 10; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageRequestDiagnostic.Diagnostic.name"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_name(), target); - } - - // optional string alias = 11; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_alias().data(), static_cast(this->_internal_alias().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessageRequestDiagnostic.Diagnostic.alias"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_alias(), target); - } - - // optional bytes vardetail = 12; - if (cached_has_bits & 0x00000004u) { - target = stream->WriteBytesMaybeAliased( - 12, this->_internal_vardetail(), target); - } - - // optional int32 context = 13; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_context(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageRequestDiagnostic.Diagnostic) - return target; -} - -size_t CUserMessageRequestDiagnostic_Diagnostic::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageRequestDiagnostic.Diagnostic) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional string name = 10; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional string alias = 11; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_alias()); - } - - // optional bytes vardetail = 12; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_vardetail()); - } - - // optional int64 offset = 2; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_offset()); - } - - // optional int32 index = 1; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_index()); - } - - // optional int32 param = 3; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_param()); - } - - // optional int32 length = 4; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_length()); - } - - // optional int32 type = 5; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); - } - - } - if (cached_has_bits & 0x00001f00u) { - // optional int64 base = 6; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_base()); - } - - // optional int64 range = 7; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_range()); - } - - // optional int64 extent = 8; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_extent()); - } - - // optional int64 detail = 9; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_detail()); - } - - // optional int32 context = 13; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_context()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageRequestDiagnostic_Diagnostic::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageRequestDiagnostic_Diagnostic::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageRequestDiagnostic_Diagnostic::GetClassData() const { return &_class_data_; } - - -void CUserMessageRequestDiagnostic_Diagnostic::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageRequestDiagnostic.Diagnostic) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_alias(from._internal_alias()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_vardetail(from._internal_vardetail()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.offset_ = from._impl_.offset_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.index_ = from._impl_.index_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.param_ = from._impl_.param_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.length_ = from._impl_.length_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.type_ = from._impl_.type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00001f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.base_ = from._impl_.base_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.range_ = from._impl_.range_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.extent_ = from._impl_.extent_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.detail_ = from._impl_.detail_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.context_ = from._impl_.context_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageRequestDiagnostic_Diagnostic::CopyFrom(const CUserMessageRequestDiagnostic_Diagnostic& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageRequestDiagnostic.Diagnostic) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageRequestDiagnostic_Diagnostic::IsInitialized() const { - return true; -} - -void CUserMessageRequestDiagnostic_Diagnostic::InternalSwap(CUserMessageRequestDiagnostic_Diagnostic* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.alias_, lhs_arena, - &other->_impl_.alias_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.vardetail_, lhs_arena, - &other->_impl_.vardetail_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessageRequestDiagnostic_Diagnostic, _impl_.context_) - + sizeof(CUserMessageRequestDiagnostic_Diagnostic::_impl_.context_) - - PROTOBUF_FIELD_OFFSET(CUserMessageRequestDiagnostic_Diagnostic, _impl_.offset_)>( - reinterpret_cast(&_impl_.offset_), - reinterpret_cast(&other->_impl_.offset_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageRequestDiagnostic_Diagnostic::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[99]); -} - -// =================================================================== - -class CUserMessageRequestDiagnostic::_Internal { - public: -}; - -CUserMessageRequestDiagnostic::CUserMessageRequestDiagnostic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessageRequestDiagnostic) -} -CUserMessageRequestDiagnostic::CUserMessageRequestDiagnostic(const CUserMessageRequestDiagnostic& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessageRequestDiagnostic* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_.diagnostics_){from._impl_.diagnostics_} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:CUserMessageRequestDiagnostic) -} - -inline void CUserMessageRequestDiagnostic::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_.diagnostics_){arena} - , /*decltype(_impl_._cached_size_)*/{} - }; -} - -CUserMessageRequestDiagnostic::~CUserMessageRequestDiagnostic() { - // @@protoc_insertion_point(destructor:CUserMessageRequestDiagnostic) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessageRequestDiagnostic::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.diagnostics_.~RepeatedPtrField(); -} - -void CUserMessageRequestDiagnostic::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessageRequestDiagnostic::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessageRequestDiagnostic) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.diagnostics_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessageRequestDiagnostic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CUserMessageRequestDiagnostic.Diagnostic diagnostics = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_diagnostics(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessageRequestDiagnostic::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessageRequestDiagnostic) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CUserMessageRequestDiagnostic.Diagnostic diagnostics = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_diagnostics_size()); i < n; i++) { - const auto& repfield = this->_internal_diagnostics(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessageRequestDiagnostic) - return target; -} - -size_t CUserMessageRequestDiagnostic::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessageRequestDiagnostic) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CUserMessageRequestDiagnostic.Diagnostic diagnostics = 1; - total_size += 1UL * this->_internal_diagnostics_size(); - for (const auto& msg : this->_impl_.diagnostics_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessageRequestDiagnostic::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessageRequestDiagnostic::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessageRequestDiagnostic::GetClassData() const { return &_class_data_; } - - -void CUserMessageRequestDiagnostic::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessageRequestDiagnostic) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.diagnostics_.MergeFrom(from._impl_.diagnostics_); - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessageRequestDiagnostic::CopyFrom(const CUserMessageRequestDiagnostic& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessageRequestDiagnostic) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessageRequestDiagnostic::IsInitialized() const { - return true; -} - -void CUserMessageRequestDiagnostic::InternalSwap(CUserMessageRequestDiagnostic* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.diagnostics_.InternalSwap(&other->_impl_.diagnostics_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessageRequestDiagnostic::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[100]); -} - -// =================================================================== - -class CUserMessage_Diagnostic_Response_Diagnostic::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_index(HasBits* has_bits) { - (*has_bits)[0] |= 32u; - } - static void set_has_offset(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_param(HasBits* has_bits) { - (*has_bits)[0] |= 64u; - } - static void set_has_length(HasBits* has_bits) { - (*has_bits)[0] |= 256u; - } - static void set_has_detail(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_base(HasBits* has_bits) { - (*has_bits)[0] |= 128u; - } - static void set_has_range(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; - } - static void set_has_type(HasBits* has_bits) { - (*has_bits)[0] |= 512u; - } - static void set_has_name(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_alias(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_backup(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_context(HasBits* has_bits) { - (*has_bits)[0] |= 16384u; - } - static void set_has_control(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; - } - static void set_has_augment(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; - } - static void set_has_placebo(HasBits* has_bits) { - (*has_bits)[0] |= 8192u; - } -}; - -CUserMessage_Diagnostic_Response_Diagnostic::CUserMessage_Diagnostic_Response_Diagnostic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessage_Diagnostic_Response.Diagnostic) -} -CUserMessage_Diagnostic_Response_Diagnostic::CUserMessage_Diagnostic_Response_Diagnostic(const CUserMessage_Diagnostic_Response_Diagnostic& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessage_Diagnostic_Response_Diagnostic* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.detail_){} - , decltype(_impl_.name_){} - , decltype(_impl_.alias_){} - , decltype(_impl_.backup_){} - , decltype(_impl_.offset_){} - , decltype(_impl_.index_){} - , decltype(_impl_.param_){} - , decltype(_impl_.base_){} - , decltype(_impl_.length_){} - , decltype(_impl_.type_){} - , decltype(_impl_.range_){} - , decltype(_impl_.control_){} - , decltype(_impl_.augment_){} - , decltype(_impl_.placebo_){} - , decltype(_impl_.context_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.detail_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.detail_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_detail()) { - _this->_impl_.detail_.Set(from._internal_detail(), - _this->GetArenaForAllocation()); - } - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_name()) { - _this->_impl_.name_.Set(from._internal_name(), - _this->GetArenaForAllocation()); - } - _impl_.alias_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.alias_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_alias()) { - _this->_impl_.alias_.Set(from._internal_alias(), - _this->GetArenaForAllocation()); - } - _impl_.backup_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.backup_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_backup()) { - _this->_impl_.backup_.Set(from._internal_backup(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.offset_, &from._impl_.offset_, - static_cast(reinterpret_cast(&_impl_.context_) - - reinterpret_cast(&_impl_.offset_)) + sizeof(_impl_.context_)); - // @@protoc_insertion_point(copy_constructor:CUserMessage_Diagnostic_Response.Diagnostic) -} - -inline void CUserMessage_Diagnostic_Response_Diagnostic::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.detail_){} - , decltype(_impl_.name_){} - , decltype(_impl_.alias_){} - , decltype(_impl_.backup_){} - , decltype(_impl_.offset_){int64_t{0}} - , decltype(_impl_.index_){0} - , decltype(_impl_.param_){0} - , decltype(_impl_.base_){int64_t{0}} - , decltype(_impl_.length_){0} - , decltype(_impl_.type_){0} - , decltype(_impl_.range_){int64_t{0}} - , decltype(_impl_.control_){int64_t{0}} - , decltype(_impl_.augment_){int64_t{0}} - , decltype(_impl_.placebo_){int64_t{0}} - , decltype(_impl_.context_){0} - }; - _impl_.detail_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.detail_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.alias_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.alias_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.backup_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.backup_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessage_Diagnostic_Response_Diagnostic::~CUserMessage_Diagnostic_Response_Diagnostic() { - // @@protoc_insertion_point(destructor:CUserMessage_Diagnostic_Response.Diagnostic) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessage_Diagnostic_Response_Diagnostic::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.detail_.Destroy(); - _impl_.name_.Destroy(); - _impl_.alias_.Destroy(); - _impl_.backup_.Destroy(); -} - -void CUserMessage_Diagnostic_Response_Diagnostic::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessage_Diagnostic_Response_Diagnostic::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessage_Diagnostic_Response.Diagnostic) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.detail_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.alias_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - _impl_.backup_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x000000f0u) { - ::memset(&_impl_.offset_, 0, static_cast( - reinterpret_cast(&_impl_.base_) - - reinterpret_cast(&_impl_.offset_)) + sizeof(_impl_.base_)); - } - if (cached_has_bits & 0x00007f00u) { - ::memset(&_impl_.length_, 0, static_cast( - reinterpret_cast(&_impl_.context_) - - reinterpret_cast(&_impl_.length_)) + sizeof(_impl_.context_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessage_Diagnostic_Response_Diagnostic::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 index = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_index(&has_bits); - _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 offset = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_offset(&has_bits); - _impl_.offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 param = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_param(&has_bits); - _impl_.param_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 length = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_length(&has_bits); - _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional bytes detail = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - auto str = _internal_mutable_detail(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 base = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_base(&has_bits); - _impl_.base_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 range = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { - _Internal::set_has_range(&has_bits); - _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 type = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { - _Internal::set_has_type(&has_bits); - _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string name = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - auto str = _internal_mutable_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessage_Diagnostic_Response.Diagnostic.name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string alias = 11; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - auto str = _internal_mutable_alias(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessage_Diagnostic_Response.Diagnostic.alias"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional bytes backup = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { - auto str = _internal_mutable_backup(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 context = 13; - case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { - _Internal::set_has_context(&has_bits); - _impl_.context_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 control = 14; - case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 112)) { - _Internal::set_has_control(&has_bits); - _impl_.control_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 augment = 15; - case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { - _Internal::set_has_augment(&has_bits); - _impl_.augment_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 placebo = 16; - case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { - _Internal::set_has_placebo(&has_bits); - _impl_.placebo_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessage_Diagnostic_Response_Diagnostic::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_Diagnostic_Response.Diagnostic) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 index = 1; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_index(), target); - } - - // optional int64 offset = 2; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(2, this->_internal_offset(), target); - } - - // optional int32 param = 3; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_param(), target); - } - - // optional int32 length = 4; - if (cached_has_bits & 0x00000100u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_length(), target); - } - - // optional bytes detail = 5; - if (cached_has_bits & 0x00000001u) { - target = stream->WriteBytesMaybeAliased( - 5, this->_internal_detail(), target); - } - - // optional int64 base = 6; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(6, this->_internal_base(), target); - } - - // optional int64 range = 7; - if (cached_has_bits & 0x00000400u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(7, this->_internal_range(), target); - } - - // optional int32 type = 8; - if (cached_has_bits & 0x00000200u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_type(), target); - } - - // optional string name = 10; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_name().data(), static_cast(this->_internal_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessage_Diagnostic_Response.Diagnostic.name"); - target = stream->WriteStringMaybeAliased( - 10, this->_internal_name(), target); - } - - // optional string alias = 11; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_alias().data(), static_cast(this->_internal_alias().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessage_Diagnostic_Response.Diagnostic.alias"); - target = stream->WriteStringMaybeAliased( - 11, this->_internal_alias(), target); - } - - // optional bytes backup = 12; - if (cached_has_bits & 0x00000008u) { - target = stream->WriteBytesMaybeAliased( - 12, this->_internal_backup(), target); - } - - // optional int32 context = 13; - if (cached_has_bits & 0x00004000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_context(), target); - } - - // optional int64 control = 14; - if (cached_has_bits & 0x00000800u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(14, this->_internal_control(), target); - } - - // optional int64 augment = 15; - if (cached_has_bits & 0x00001000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(15, this->_internal_augment(), target); - } - - // optional int64 placebo = 16; - if (cached_has_bits & 0x00002000u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(16, this->_internal_placebo(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessage_Diagnostic_Response.Diagnostic) - return target; -} - -size_t CUserMessage_Diagnostic_Response_Diagnostic::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessage_Diagnostic_Response.Diagnostic) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - // optional bytes detail = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_detail()); - } - - // optional string name = 10; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_name()); - } - - // optional string alias = 11; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_alias()); - } - - // optional bytes backup = 12; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - this->_internal_backup()); - } - - // optional int64 offset = 2; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_offset()); - } - - // optional int32 index = 1; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_index()); - } - - // optional int32 param = 3; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_param()); - } - - // optional int64 base = 6; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_base()); - } - - } - if (cached_has_bits & 0x00007f00u) { - // optional int32 length = 4; - if (cached_has_bits & 0x00000100u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_length()); - } - - // optional int32 type = 8; - if (cached_has_bits & 0x00000200u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type()); - } - - // optional int64 range = 7; - if (cached_has_bits & 0x00000400u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_range()); - } - - // optional int64 control = 14; - if (cached_has_bits & 0x00000800u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_control()); - } - - // optional int64 augment = 15; - if (cached_has_bits & 0x00001000u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_augment()); - } - - // optional int64 placebo = 16; - if (cached_has_bits & 0x00002000u) { - total_size += 2 + - ::_pbi::WireFormatLite::Int64Size( - this->_internal_placebo()); - } - - // optional int32 context = 13; - if (cached_has_bits & 0x00004000u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_context()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_Diagnostic_Response_Diagnostic::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessage_Diagnostic_Response_Diagnostic::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_Diagnostic_Response_Diagnostic::GetClassData() const { return &_class_data_; } - - -void CUserMessage_Diagnostic_Response_Diagnostic::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessage_Diagnostic_Response.Diagnostic) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x000000ffu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_detail(from._internal_detail()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_name(from._internal_name()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_alias(from._internal_alias()); - } - if (cached_has_bits & 0x00000008u) { - _this->_internal_set_backup(from._internal_backup()); - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.offset_ = from._impl_.offset_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.index_ = from._impl_.index_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.param_ = from._impl_.param_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.base_ = from._impl_.base_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - if (cached_has_bits & 0x00007f00u) { - if (cached_has_bits & 0x00000100u) { - _this->_impl_.length_ = from._impl_.length_; - } - if (cached_has_bits & 0x00000200u) { - _this->_impl_.type_ = from._impl_.type_; - } - if (cached_has_bits & 0x00000400u) { - _this->_impl_.range_ = from._impl_.range_; - } - if (cached_has_bits & 0x00000800u) { - _this->_impl_.control_ = from._impl_.control_; - } - if (cached_has_bits & 0x00001000u) { - _this->_impl_.augment_ = from._impl_.augment_; - } - if (cached_has_bits & 0x00002000u) { - _this->_impl_.placebo_ = from._impl_.placebo_; - } - if (cached_has_bits & 0x00004000u) { - _this->_impl_.context_ = from._impl_.context_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessage_Diagnostic_Response_Diagnostic::CopyFrom(const CUserMessage_Diagnostic_Response_Diagnostic& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_Diagnostic_Response.Diagnostic) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessage_Diagnostic_Response_Diagnostic::IsInitialized() const { - return true; -} - -void CUserMessage_Diagnostic_Response_Diagnostic::InternalSwap(CUserMessage_Diagnostic_Response_Diagnostic* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.detail_, lhs_arena, - &other->_impl_.detail_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.name_, lhs_arena, - &other->_impl_.name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.alias_, lhs_arena, - &other->_impl_.alias_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.backup_, lhs_arena, - &other->_impl_.backup_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessage_Diagnostic_Response_Diagnostic, _impl_.context_) - + sizeof(CUserMessage_Diagnostic_Response_Diagnostic::_impl_.context_) - - PROTOBUF_FIELD_OFFSET(CUserMessage_Diagnostic_Response_Diagnostic, _impl_.offset_)>( - reinterpret_cast(&_impl_.offset_), - reinterpret_cast(&other->_impl_.offset_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_Diagnostic_Response_Diagnostic::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[101]); -} - -// =================================================================== - -class CUserMessage_Diagnostic_Response::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_build_version(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_instance(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_start_time(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_osversion(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } - static void set_has_platform(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } -}; - -CUserMessage_Diagnostic_Response::CUserMessage_Diagnostic_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessage_Diagnostic_Response) -} -CUserMessage_Diagnostic_Response::CUserMessage_Diagnostic_Response(const CUserMessage_Diagnostic_Response& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessage_Diagnostic_Response* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.diagnostics_){from._impl_.diagnostics_} - , decltype(_impl_.build_version_){} - , decltype(_impl_.instance_){} - , decltype(_impl_.start_time_){} - , decltype(_impl_.osversion_){} - , decltype(_impl_.platform_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.build_version_, &from._impl_.build_version_, - static_cast(reinterpret_cast(&_impl_.platform_) - - reinterpret_cast(&_impl_.build_version_)) + sizeof(_impl_.platform_)); - // @@protoc_insertion_point(copy_constructor:CUserMessage_Diagnostic_Response) -} - -inline void CUserMessage_Diagnostic_Response::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.diagnostics_){arena} - , decltype(_impl_.build_version_){0} - , decltype(_impl_.instance_){0} - , decltype(_impl_.start_time_){int64_t{0}} - , decltype(_impl_.osversion_){0} - , decltype(_impl_.platform_){0} - }; -} - -CUserMessage_Diagnostic_Response::~CUserMessage_Diagnostic_Response() { - // @@protoc_insertion_point(destructor:CUserMessage_Diagnostic_Response) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessage_Diagnostic_Response::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.diagnostics_.~RepeatedPtrField(); -} - -void CUserMessage_Diagnostic_Response::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessage_Diagnostic_Response::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessage_Diagnostic_Response) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.diagnostics_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - ::memset(&_impl_.build_version_, 0, static_cast( - reinterpret_cast(&_impl_.platform_) - - reinterpret_cast(&_impl_.build_version_)) + sizeof(_impl_.platform_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessage_Diagnostic_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // repeated .CUserMessage_Diagnostic_Response.Diagnostic diagnostics = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_diagnostics(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else - goto handle_unusual; - continue; - // optional int32 build_version = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_build_version(&has_bits); - _impl_.build_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 instance = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_instance(&has_bits); - _impl_.instance_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 start_time = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { - _Internal::set_has_start_time(&has_bits); - _impl_.start_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 osversion = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { - _Internal::set_has_osversion(&has_bits); - _impl_.osversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 platform = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_platform(&has_bits); - _impl_.platform_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessage_Diagnostic_Response::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_Diagnostic_Response) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - // repeated .CUserMessage_Diagnostic_Response.Diagnostic diagnostics = 1; - for (unsigned i = 0, - n = static_cast(this->_internal_diagnostics_size()); i < n; i++) { - const auto& repfield = this->_internal_diagnostics(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); - } - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 build_version = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_build_version(), target); - } - - // optional int32 instance = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_instance(), target); - } - - // optional int64 start_time = 4; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(4, this->_internal_start_time(), target); - } - - // optional int32 osversion = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_osversion(), target); - } - - // optional int32 platform = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_platform(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessage_Diagnostic_Response) - return target; -} - -size_t CUserMessage_Diagnostic_Response::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessage_Diagnostic_Response) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CUserMessage_Diagnostic_Response.Diagnostic diagnostics = 1; - total_size += 1UL * this->_internal_diagnostics_size(); - for (const auto& msg : this->_impl_.diagnostics_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional int32 build_version = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_build_version()); - } - - // optional int32 instance = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_instance()); - } - - // optional int64 start_time = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_start_time()); - } - - // optional int32 osversion = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_osversion()); - } - - // optional int32 platform = 6; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_platform()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_Diagnostic_Response::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessage_Diagnostic_Response::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_Diagnostic_Response::GetClassData() const { return &_class_data_; } - - -void CUserMessage_Diagnostic_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessage_Diagnostic_Response) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.diagnostics_.MergeFrom(from._impl_.diagnostics_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.build_version_ = from._impl_.build_version_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.instance_ = from._impl_.instance_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.start_time_ = from._impl_.start_time_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.osversion_ = from._impl_.osversion_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.platform_ = from._impl_.platform_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessage_Diagnostic_Response::CopyFrom(const CUserMessage_Diagnostic_Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_Diagnostic_Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessage_Diagnostic_Response::IsInitialized() const { - return true; -} - -void CUserMessage_Diagnostic_Response::InternalSwap(CUserMessage_Diagnostic_Response* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.diagnostics_.InternalSwap(&other->_impl_.diagnostics_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessage_Diagnostic_Response, _impl_.platform_) - + sizeof(CUserMessage_Diagnostic_Response::_impl_.platform_) - - PROTOBUF_FIELD_OFFSET(CUserMessage_Diagnostic_Response, _impl_.build_version_)>( - reinterpret_cast(&_impl_.build_version_), - reinterpret_cast(&other->_impl_.build_version_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_Diagnostic_Response::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[102]); -} - -// =================================================================== - -class CUserMessage_ExtraUserData::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_item(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_value1(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_value2(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } -}; - -CUserMessage_ExtraUserData::CUserMessage_ExtraUserData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessage_ExtraUserData) -} -CUserMessage_ExtraUserData::CUserMessage_ExtraUserData(const CUserMessage_ExtraUserData& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessage_ExtraUserData* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.detail1_){from._impl_.detail1_} - , decltype(_impl_.detail2_){from._impl_.detail2_} - , decltype(_impl_.value1_){} - , decltype(_impl_.value2_){} - , decltype(_impl_.item_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - ::memcpy(&_impl_.value1_, &from._impl_.value1_, - static_cast(reinterpret_cast(&_impl_.item_) - - reinterpret_cast(&_impl_.value1_)) + sizeof(_impl_.item_)); - // @@protoc_insertion_point(copy_constructor:CUserMessage_ExtraUserData) -} - -inline void CUserMessage_ExtraUserData::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.detail1_){arena} - , decltype(_impl_.detail2_){arena} - , decltype(_impl_.value1_){int64_t{0}} - , decltype(_impl_.value2_){int64_t{0}} - , decltype(_impl_.item_){0} - }; -} - -CUserMessage_ExtraUserData::~CUserMessage_ExtraUserData() { - // @@protoc_insertion_point(destructor:CUserMessage_ExtraUserData) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessage_ExtraUserData::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.detail1_.~RepeatedPtrField(); - _impl_.detail2_.~RepeatedPtrField(); -} - -void CUserMessage_ExtraUserData::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessage_ExtraUserData::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessage_ExtraUserData) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.detail1_.Clear(); - _impl_.detail2_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - ::memset(&_impl_.value1_, 0, static_cast( - reinterpret_cast(&_impl_.item_) - - reinterpret_cast(&_impl_.value1_)) + sizeof(_impl_.item_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessage_ExtraUserData::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 item = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_item(&has_bits); - _impl_.item_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 value1 = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - _Internal::set_has_value1(&has_bits); - _impl_.value1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int64 value2 = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { - _Internal::set_has_value2(&has_bits); - _impl_.value2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated bytes detail1 = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_detail1(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else - goto handle_unusual; - continue; - // repeated bytes detail2 = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - auto str = _internal_add_detail2(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessage_ExtraUserData::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_ExtraUserData) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 item = 1; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_item(), target); - } - - // optional int64 value1 = 2; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(2, this->_internal_value1(), target); - } - - // optional int64 value2 = 3; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_value2(), target); - } - - // repeated bytes detail1 = 4; - for (int i = 0, n = this->_internal_detail1_size(); i < n; i++) { - const auto& s = this->_internal_detail1(i); - target = stream->WriteBytes(4, s, target); - } - - // repeated bytes detail2 = 5; - for (int i = 0, n = this->_internal_detail2_size(); i < n; i++) { - const auto& s = this->_internal_detail2(i); - target = stream->WriteBytes(5, s, target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessage_ExtraUserData) - return target; -} - -size_t CUserMessage_ExtraUserData::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessage_ExtraUserData) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated bytes detail1 = 4; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.detail1_.size()); - for (int i = 0, n = _impl_.detail1_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - _impl_.detail1_.Get(i)); - } - - // repeated bytes detail2 = 5; - total_size += 1 * - ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.detail2_.size()); - for (int i = 0, n = _impl_.detail2_.size(); i < n; i++) { - total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( - _impl_.detail2_.Get(i)); - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional int64 value1 = 2; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_value1()); - } - - // optional int64 value2 = 3; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_value2()); - } - - // optional int32 item = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_item()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_ExtraUserData::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessage_ExtraUserData::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_ExtraUserData::GetClassData() const { return &_class_data_; } - - -void CUserMessage_ExtraUserData::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessage_ExtraUserData) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.detail1_.MergeFrom(from._impl_.detail1_); - _this->_impl_.detail2_.MergeFrom(from._impl_.detail2_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_impl_.value1_ = from._impl_.value1_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.value2_ = from._impl_.value2_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.item_ = from._impl_.item_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessage_ExtraUserData::CopyFrom(const CUserMessage_ExtraUserData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_ExtraUserData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessage_ExtraUserData::IsInitialized() const { - return true; -} - -void CUserMessage_ExtraUserData::InternalSwap(CUserMessage_ExtraUserData* other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.detail1_.InternalSwap(&other->_impl_.detail1_); - _impl_.detail2_.InternalSwap(&other->_impl_.detail2_); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessage_ExtraUserData, _impl_.item_) - + sizeof(CUserMessage_ExtraUserData::_impl_.item_) - - PROTOBUF_FIELD_OFFSET(CUserMessage_ExtraUserData, _impl_.value1_)>( - reinterpret_cast(&_impl_.value1_), - reinterpret_cast(&other->_impl_.value1_)); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_ExtraUserData::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[103]); -} - -// =================================================================== - -class CUserMessage_NotifyResponseFound_Criteria::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_name_symbol(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_value(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } -}; - -CUserMessage_NotifyResponseFound_Criteria::CUserMessage_NotifyResponseFound_Criteria(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessage_NotifyResponseFound.Criteria) -} -CUserMessage_NotifyResponseFound_Criteria::CUserMessage_NotifyResponseFound_Criteria(const CUserMessage_NotifyResponseFound_Criteria& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessage_NotifyResponseFound_Criteria* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.value_){} - , decltype(_impl_.name_symbol_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_value()) { - _this->_impl_.value_.Set(from._internal_value(), - _this->GetArenaForAllocation()); - } - _this->_impl_.name_symbol_ = from._impl_.name_symbol_; - // @@protoc_insertion_point(copy_constructor:CUserMessage_NotifyResponseFound.Criteria) -} - -inline void CUserMessage_NotifyResponseFound_Criteria::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.value_){} - , decltype(_impl_.name_symbol_){0u} - }; - _impl_.value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessage_NotifyResponseFound_Criteria::~CUserMessage_NotifyResponseFound_Criteria() { - // @@protoc_insertion_point(destructor:CUserMessage_NotifyResponseFound.Criteria) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessage_NotifyResponseFound_Criteria::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.value_.Destroy(); -} - -void CUserMessage_NotifyResponseFound_Criteria::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessage_NotifyResponseFound_Criteria::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessage_NotifyResponseFound.Criteria) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.value_.ClearNonDefaultToEmpty(); - } - _impl_.name_symbol_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessage_NotifyResponseFound_Criteria::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional uint32 name_symbol = 1; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_name_symbol(&has_bits); - _impl_.name_symbol_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string value = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_value(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessage_NotifyResponseFound.Criteria.value"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessage_NotifyResponseFound_Criteria::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_NotifyResponseFound.Criteria) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional uint32 name_symbol = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_name_symbol(), target); - } - - // optional string value = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_value().data(), static_cast(this->_internal_value().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessage_NotifyResponseFound.Criteria.value"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessage_NotifyResponseFound.Criteria) - return target; -} - -size_t CUserMessage_NotifyResponseFound_Criteria::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessage_NotifyResponseFound.Criteria) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional string value = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_value()); - } - - // optional uint32 name_symbol = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_name_symbol()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_NotifyResponseFound_Criteria::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessage_NotifyResponseFound_Criteria::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_NotifyResponseFound_Criteria::GetClassData() const { return &_class_data_; } - - -void CUserMessage_NotifyResponseFound_Criteria::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessage_NotifyResponseFound.Criteria) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_value(from._internal_value()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.name_symbol_ = from._impl_.name_symbol_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessage_NotifyResponseFound_Criteria::CopyFrom(const CUserMessage_NotifyResponseFound_Criteria& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_NotifyResponseFound.Criteria) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessage_NotifyResponseFound_Criteria::IsInitialized() const { - return true; -} - -void CUserMessage_NotifyResponseFound_Criteria::InternalSwap(CUserMessage_NotifyResponseFound_Criteria* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.value_, lhs_arena, - &other->_impl_.value_, rhs_arena - ); - swap(_impl_.name_symbol_, other->_impl_.name_symbol_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_NotifyResponseFound_Criteria::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[104]); -} - -// =================================================================== - -class CUserMessage_NotifyResponseFound::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ent_index(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_rule_name(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static void set_has_response_value(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_response_concept(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_speak_result(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -CUserMessage_NotifyResponseFound::CUserMessage_NotifyResponseFound(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessage_NotifyResponseFound) -} -CUserMessage_NotifyResponseFound::CUserMessage_NotifyResponseFound(const CUserMessage_NotifyResponseFound& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessage_NotifyResponseFound* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.criteria_){from._impl_.criteria_} - , decltype(_impl_.int_criteria_names_){from._impl_.int_criteria_names_} - , /*decltype(_impl_._int_criteria_names_cached_byte_size_)*/{0} - , decltype(_impl_.int_criteria_values_){from._impl_.int_criteria_values_} - , /*decltype(_impl_._int_criteria_values_cached_byte_size_)*/{0} - , decltype(_impl_.float_criteria_names_){from._impl_.float_criteria_names_} - , /*decltype(_impl_._float_criteria_names_cached_byte_size_)*/{0} - , decltype(_impl_.float_criteria_values_){from._impl_.float_criteria_values_} - , decltype(_impl_.symbol_criteria_names_){from._impl_.symbol_criteria_names_} - , /*decltype(_impl_._symbol_criteria_names_cached_byte_size_)*/{0} - , decltype(_impl_.symbol_criteria_values_){from._impl_.symbol_criteria_values_} - , /*decltype(_impl_._symbol_criteria_values_cached_byte_size_)*/{0} - , decltype(_impl_.rule_name_){} - , decltype(_impl_.response_value_){} - , decltype(_impl_.response_concept_){} - , decltype(_impl_.speak_result_){} - , decltype(_impl_.ent_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.rule_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.rule_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_rule_name()) { - _this->_impl_.rule_name_.Set(from._internal_rule_name(), - _this->GetArenaForAllocation()); - } - _impl_.response_value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.response_value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_response_value()) { - _this->_impl_.response_value_.Set(from._internal_response_value(), - _this->GetArenaForAllocation()); - } - _impl_.response_concept_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.response_concept_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_response_concept()) { - _this->_impl_.response_concept_.Set(from._internal_response_concept(), - _this->GetArenaForAllocation()); - } - ::memcpy(&_impl_.speak_result_, &from._impl_.speak_result_, - static_cast(reinterpret_cast(&_impl_.ent_index_) - - reinterpret_cast(&_impl_.speak_result_)) + sizeof(_impl_.ent_index_)); - // @@protoc_insertion_point(copy_constructor:CUserMessage_NotifyResponseFound) -} - -inline void CUserMessage_NotifyResponseFound::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.criteria_){arena} - , decltype(_impl_.int_criteria_names_){arena} - , /*decltype(_impl_._int_criteria_names_cached_byte_size_)*/{0} - , decltype(_impl_.int_criteria_values_){arena} - , /*decltype(_impl_._int_criteria_values_cached_byte_size_)*/{0} - , decltype(_impl_.float_criteria_names_){arena} - , /*decltype(_impl_._float_criteria_names_cached_byte_size_)*/{0} - , decltype(_impl_.float_criteria_values_){arena} - , decltype(_impl_.symbol_criteria_names_){arena} - , /*decltype(_impl_._symbol_criteria_names_cached_byte_size_)*/{0} - , decltype(_impl_.symbol_criteria_values_){arena} - , /*decltype(_impl_._symbol_criteria_values_cached_byte_size_)*/{0} - , decltype(_impl_.rule_name_){} - , decltype(_impl_.response_value_){} - , decltype(_impl_.response_concept_){} - , decltype(_impl_.speak_result_){0} - , decltype(_impl_.ent_index_){-1} - }; - _impl_.rule_name_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.rule_name_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.response_value_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.response_value_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.response_concept_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.response_concept_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessage_NotifyResponseFound::~CUserMessage_NotifyResponseFound() { - // @@protoc_insertion_point(destructor:CUserMessage_NotifyResponseFound) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessage_NotifyResponseFound::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.criteria_.~RepeatedPtrField(); - _impl_.int_criteria_names_.~RepeatedField(); - _impl_.int_criteria_values_.~RepeatedField(); - _impl_.float_criteria_names_.~RepeatedField(); - _impl_.float_criteria_values_.~RepeatedField(); - _impl_.symbol_criteria_names_.~RepeatedField(); - _impl_.symbol_criteria_values_.~RepeatedField(); - _impl_.rule_name_.Destroy(); - _impl_.response_value_.Destroy(); - _impl_.response_concept_.Destroy(); -} - -void CUserMessage_NotifyResponseFound::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessage_NotifyResponseFound::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessage_NotifyResponseFound) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.criteria_.Clear(); - _impl_.int_criteria_names_.Clear(); - _impl_.int_criteria_values_.Clear(); - _impl_.float_criteria_names_.Clear(); - _impl_.float_criteria_values_.Clear(); - _impl_.symbol_criteria_names_.Clear(); - _impl_.symbol_criteria_values_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.rule_name_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.response_value_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.response_concept_.ClearNonDefaultToEmpty(); - } - } - if (cached_has_bits & 0x00000018u) { - _impl_.speak_result_ = 0; - _impl_.ent_index_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessage_NotifyResponseFound::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 ent_index = 1 [default = -1]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_ent_index(&has_bits); - _impl_.ent_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string rule_name = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { - auto str = _internal_mutable_rule_name(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessage_NotifyResponseFound.rule_name"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string response_value = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_response_value(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessage_NotifyResponseFound.response_value"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional string response_concept = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - auto str = _internal_mutable_response_concept(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessage_NotifyResponseFound.response_concept"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // repeated .CUserMessage_NotifyResponseFound.Criteria criteria = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { - ptr -= 1; - do { - ptr += 1; - ptr = ctx->ParseMessage(_internal_add_criteria(), ptr); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); - } else - goto handle_unusual; - continue; - // repeated uint32 int_criteria_names = 6 [packed = true]; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_int_criteria_names(), ptr, ctx); - CHK_(ptr); - } else if (static_cast(tag) == 48) { - _internal_add_int_criteria_names(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 int_criteria_values = 7 [packed = true]; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_int_criteria_values(), ptr, ctx); - CHK_(ptr); - } else if (static_cast(tag) == 56) { - _internal_add_int_criteria_values(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 float_criteria_names = 8 [packed = true]; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_float_criteria_names(), ptr, ctx); - CHK_(ptr); - } else if (static_cast(tag) == 64) { - _internal_add_float_criteria_names(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated float float_criteria_values = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 77)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_float_criteria_values(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); - ptr += sizeof(float); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<77>(ptr)); - } else if (static_cast(tag) == 74) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_float_criteria_values(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 symbol_criteria_names = 10 [packed = true]; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_symbol_criteria_names(), ptr, ctx); - CHK_(ptr); - } else if (static_cast(tag) == 80) { - _internal_add_symbol_criteria_names(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated uint32 symbol_criteria_values = 11 [packed = true]; - case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_symbol_criteria_values(), ptr, ctx); - CHK_(ptr); - } else if (static_cast(tag) == 88) { - _internal_add_symbol_criteria_values(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional int32 speak_result = 12; - case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { - _Internal::set_has_speak_result(&has_bits); - _impl_.speak_result_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessage_NotifyResponseFound::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_NotifyResponseFound) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 ent_index = 1 [default = -1]; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_ent_index(), target); - } - - // optional string rule_name = 2; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_rule_name().data(), static_cast(this->_internal_rule_name().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessage_NotifyResponseFound.rule_name"); - target = stream->WriteStringMaybeAliased( - 2, this->_internal_rule_name(), target); - } - - // optional string response_value = 3; - if (cached_has_bits & 0x00000002u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_response_value().data(), static_cast(this->_internal_response_value().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessage_NotifyResponseFound.response_value"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_response_value(), target); - } - - // optional string response_concept = 4; - if (cached_has_bits & 0x00000004u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_response_concept().data(), static_cast(this->_internal_response_concept().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessage_NotifyResponseFound.response_concept"); - target = stream->WriteStringMaybeAliased( - 4, this->_internal_response_concept(), target); - } - - // repeated .CUserMessage_NotifyResponseFound.Criteria criteria = 5; - for (unsigned i = 0, - n = static_cast(this->_internal_criteria_size()); i < n; i++) { - const auto& repfield = this->_internal_criteria(i); - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); - } - - // repeated uint32 int_criteria_names = 6 [packed = true]; - { - int byte_size = _impl_._int_criteria_names_cached_byte_size_.load(std::memory_order_relaxed); - if (byte_size > 0) { - target = stream->WriteUInt32Packed( - 6, _internal_int_criteria_names(), byte_size, target); - } - } - - // repeated int32 int_criteria_values = 7 [packed = true]; - { - int byte_size = _impl_._int_criteria_values_cached_byte_size_.load(std::memory_order_relaxed); - if (byte_size > 0) { - target = stream->WriteInt32Packed( - 7, _internal_int_criteria_values(), byte_size, target); - } - } - - // repeated uint32 float_criteria_names = 8 [packed = true]; - { - int byte_size = _impl_._float_criteria_names_cached_byte_size_.load(std::memory_order_relaxed); - if (byte_size > 0) { - target = stream->WriteUInt32Packed( - 8, _internal_float_criteria_names(), byte_size, target); - } - } - - // repeated float float_criteria_values = 9; - for (int i = 0, n = this->_internal_float_criteria_values_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(9, this->_internal_float_criteria_values(i), target); - } - - // repeated uint32 symbol_criteria_names = 10 [packed = true]; - { - int byte_size = _impl_._symbol_criteria_names_cached_byte_size_.load(std::memory_order_relaxed); - if (byte_size > 0) { - target = stream->WriteUInt32Packed( - 10, _internal_symbol_criteria_names(), byte_size, target); - } - } - - // repeated uint32 symbol_criteria_values = 11 [packed = true]; - { - int byte_size = _impl_._symbol_criteria_values_cached_byte_size_.load(std::memory_order_relaxed); - if (byte_size > 0) { - target = stream->WriteUInt32Packed( - 11, _internal_symbol_criteria_values(), byte_size, target); - } - } - - // optional int32 speak_result = 12; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_speak_result(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessage_NotifyResponseFound) - return target; -} - -size_t CUserMessage_NotifyResponseFound::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessage_NotifyResponseFound) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated .CUserMessage_NotifyResponseFound.Criteria criteria = 5; - total_size += 1UL * this->_internal_criteria_size(); - for (const auto& msg : this->_impl_.criteria_) { - total_size += - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); - } - - // repeated uint32 int_criteria_names = 6 [packed = true]; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.int_criteria_names_); - if (data_size > 0) { - total_size += 1 + - ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); - } - int cached_size = ::_pbi::ToCachedSize(data_size); - _impl_._int_criteria_names_cached_byte_size_.store(cached_size, - std::memory_order_relaxed); - total_size += data_size; - } - - // repeated int32 int_criteria_values = 7 [packed = true]; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.int_criteria_values_); - if (data_size > 0) { - total_size += 1 + - ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); - } - int cached_size = ::_pbi::ToCachedSize(data_size); - _impl_._int_criteria_values_cached_byte_size_.store(cached_size, - std::memory_order_relaxed); - total_size += data_size; - } - - // repeated uint32 float_criteria_names = 8 [packed = true]; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.float_criteria_names_); - if (data_size > 0) { - total_size += 1 + - ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); - } - int cached_size = ::_pbi::ToCachedSize(data_size); - _impl_._float_criteria_names_cached_byte_size_.store(cached_size, - std::memory_order_relaxed); - total_size += data_size; - } - - // repeated float float_criteria_values = 9; - { - unsigned int count = static_cast(this->_internal_float_criteria_values_size()); - size_t data_size = 4UL * count; - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_float_criteria_values_size()); - total_size += data_size; - } - - // repeated uint32 symbol_criteria_names = 10 [packed = true]; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.symbol_criteria_names_); - if (data_size > 0) { - total_size += 1 + - ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); - } - int cached_size = ::_pbi::ToCachedSize(data_size); - _impl_._symbol_criteria_names_cached_byte_size_.store(cached_size, - std::memory_order_relaxed); - total_size += data_size; - } - - // repeated uint32 symbol_criteria_values = 11 [packed = true]; - { - size_t data_size = ::_pbi::WireFormatLite:: - UInt32Size(this->_impl_.symbol_criteria_values_); - if (data_size > 0) { - total_size += 1 + - ::_pbi::WireFormatLite::Int32Size(static_cast(data_size)); - } - int cached_size = ::_pbi::ToCachedSize(data_size); - _impl_._symbol_criteria_values_cached_byte_size_.store(cached_size, - std::memory_order_relaxed); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional string rule_name = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_rule_name()); - } - - // optional string response_value = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_response_value()); - } - - // optional string response_concept = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_response_concept()); - } - - // optional int32 speak_result = 12; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_speak_result()); - } - - // optional int32 ent_index = 1 [default = -1]; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ent_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_NotifyResponseFound::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessage_NotifyResponseFound::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_NotifyResponseFound::GetClassData() const { return &_class_data_; } - - -void CUserMessage_NotifyResponseFound::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessage_NotifyResponseFound) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.criteria_.MergeFrom(from._impl_.criteria_); - _this->_impl_.int_criteria_names_.MergeFrom(from._impl_.int_criteria_names_); - _this->_impl_.int_criteria_values_.MergeFrom(from._impl_.int_criteria_values_); - _this->_impl_.float_criteria_names_.MergeFrom(from._impl_.float_criteria_names_); - _this->_impl_.float_criteria_values_.MergeFrom(from._impl_.float_criteria_values_); - _this->_impl_.symbol_criteria_names_.MergeFrom(from._impl_.symbol_criteria_names_); - _this->_impl_.symbol_criteria_values_.MergeFrom(from._impl_.symbol_criteria_values_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_rule_name(from._internal_rule_name()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_response_value(from._internal_response_value()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_response_concept(from._internal_response_concept()); - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.speak_result_ = from._impl_.speak_result_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.ent_index_ = from._impl_.ent_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessage_NotifyResponseFound::CopyFrom(const CUserMessage_NotifyResponseFound& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_NotifyResponseFound) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessage_NotifyResponseFound::IsInitialized() const { - return true; -} - -void CUserMessage_NotifyResponseFound::InternalSwap(CUserMessage_NotifyResponseFound* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.criteria_.InternalSwap(&other->_impl_.criteria_); - _impl_.int_criteria_names_.InternalSwap(&other->_impl_.int_criteria_names_); - _impl_.int_criteria_values_.InternalSwap(&other->_impl_.int_criteria_values_); - _impl_.float_criteria_names_.InternalSwap(&other->_impl_.float_criteria_names_); - _impl_.float_criteria_values_.InternalSwap(&other->_impl_.float_criteria_values_); - _impl_.symbol_criteria_names_.InternalSwap(&other->_impl_.symbol_criteria_names_); - _impl_.symbol_criteria_values_.InternalSwap(&other->_impl_.symbol_criteria_values_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.rule_name_, lhs_arena, - &other->_impl_.rule_name_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.response_value_, lhs_arena, - &other->_impl_.response_value_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.response_concept_, lhs_arena, - &other->_impl_.response_concept_, rhs_arena - ); - swap(_impl_.speak_result_, other->_impl_.speak_result_); - swap(_impl_.ent_index_, other->_impl_.ent_index_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_NotifyResponseFound::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[105]); -} - -// =================================================================== - -class CUserMessage_PlayResponseConditional::_Internal { - public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static void set_has_ent_index(HasBits* has_bits) { - (*has_bits)[0] |= 16u; - } - static void set_has_response(HasBits* has_bits) { - (*has_bits)[0] |= 1u; - } - static const ::CMsgVector& ent_origin(const CUserMessage_PlayResponseConditional* msg); - static void set_has_ent_origin(HasBits* has_bits) { - (*has_bits)[0] |= 2u; - } - static void set_has_pre_delay(HasBits* has_bits) { - (*has_bits)[0] |= 4u; - } - static void set_has_mix_priority(HasBits* has_bits) { - (*has_bits)[0] |= 8u; - } -}; - -const ::CMsgVector& -CUserMessage_PlayResponseConditional::_Internal::ent_origin(const CUserMessage_PlayResponseConditional* msg) { - return *msg->_impl_.ent_origin_; -} -void CUserMessage_PlayResponseConditional::clear_ent_origin() { - if (_impl_.ent_origin_ != nullptr) _impl_.ent_origin_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CUserMessage_PlayResponseConditional::CUserMessage_PlayResponseConditional(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned) - : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { - SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:CUserMessage_PlayResponseConditional) -} -CUserMessage_PlayResponseConditional::CUserMessage_PlayResponseConditional(const CUserMessage_PlayResponseConditional& from) - : ::PROTOBUF_NAMESPACE_ID::Message() { - CUserMessage_PlayResponseConditional* const _this = this; (void)_this; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.player_slots_){from._impl_.player_slots_} - , decltype(_impl_.response_){} - , decltype(_impl_.ent_origin_){nullptr} - , decltype(_impl_.pre_delay_){} - , decltype(_impl_.mix_priority_){} - , decltype(_impl_.ent_index_){}}; - - _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); - _impl_.response_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.response_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (from._internal_has_response()) { - _this->_impl_.response_.Set(from._internal_response(), - _this->GetArenaForAllocation()); - } - if (from._internal_has_ent_origin()) { - _this->_impl_.ent_origin_ = new ::CMsgVector(*from._impl_.ent_origin_); - } - ::memcpy(&_impl_.pre_delay_, &from._impl_.pre_delay_, - static_cast(reinterpret_cast(&_impl_.ent_index_) - - reinterpret_cast(&_impl_.pre_delay_)) + sizeof(_impl_.ent_index_)); - // @@protoc_insertion_point(copy_constructor:CUserMessage_PlayResponseConditional) -} - -inline void CUserMessage_PlayResponseConditional::SharedCtor( - ::_pb::Arena* arena, bool is_message_owned) { - (void)arena; - (void)is_message_owned; - new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.player_slots_){arena} - , decltype(_impl_.response_){} - , decltype(_impl_.ent_origin_){nullptr} - , decltype(_impl_.pre_delay_){0} - , decltype(_impl_.mix_priority_){0} - , decltype(_impl_.ent_index_){-1} - }; - _impl_.response_.InitDefault(); - #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - _impl_.response_.Set("", GetArenaForAllocation()); - #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING -} - -CUserMessage_PlayResponseConditional::~CUserMessage_PlayResponseConditional() { - // @@protoc_insertion_point(destructor:CUserMessage_PlayResponseConditional) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { - (void)arena; - return; - } - SharedDtor(); -} - -inline void CUserMessage_PlayResponseConditional::SharedDtor() { - GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); - _impl_.player_slots_.~RepeatedField(); - _impl_.response_.Destroy(); - if (this != internal_default_instance()) delete _impl_.ent_origin_; -} - -void CUserMessage_PlayResponseConditional::SetCachedSize(int size) const { - _impl_._cached_size_.Set(size); -} - -void CUserMessage_PlayResponseConditional::Clear() { -// @@protoc_insertion_point(message_clear_start:CUserMessage_PlayResponseConditional) - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.player_slots_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.response_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - GOOGLE_DCHECK(_impl_.ent_origin_ != nullptr); - _impl_.ent_origin_->Clear(); - } - } - if (cached_has_bits & 0x0000001cu) { - ::memset(&_impl_.pre_delay_, 0, static_cast( - reinterpret_cast(&_impl_.mix_priority_) - - reinterpret_cast(&_impl_.pre_delay_)) + sizeof(_impl_.mix_priority_)); - _impl_.ent_index_ = -1; - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); -} - -const char* CUserMessage_PlayResponseConditional::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { -#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - _Internal::HasBits has_bits{}; - while (!ctx->Done(&ptr)) { - uint32_t tag; - ptr = ::_pbi::ReadTag(ptr, &tag); - switch (tag >> 3) { - // optional int32 ent_index = 1 [default = -1]; - case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { - _Internal::set_has_ent_index(&has_bits); - _impl_.ent_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // repeated int32 player_slots = 2; - case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { - ptr -= 1; - do { - ptr += 1; - _internal_add_player_slots(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); - CHK_(ptr); - if (!ctx->DataAvailable(ptr)) break; - } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr)); - } else if (static_cast(tag) == 18) { - ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_player_slots(), ptr, ctx); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional string response = 3; - case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { - auto str = _internal_mutable_response(); - ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); - CHK_(ptr); - #ifndef NDEBUG - ::_pbi::VerifyUTF8(str, "CUserMessage_PlayResponseConditional.response"); - #endif // !NDEBUG - } else - goto handle_unusual; - continue; - // optional .CMsgVector ent_origin = 4; - case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { - ptr = ctx->ParseMessage(_internal_mutable_ent_origin(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // optional float pre_delay = 5; - case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { - _Internal::set_has_pre_delay(&has_bits); - _impl_.pre_delay_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); - ptr += sizeof(float); - } else - goto handle_unusual; - continue; - // optional int32 mix_priority = 6; - case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { - _Internal::set_has_mix_priority(&has_bits); - _impl_.mix_priority_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - default: - goto handle_unusual; - } // switch - handle_unusual: - if ((tag == 0) || ((tag & 7) == 4)) { - CHK_(ptr); - ctx->SetLastTag(tag); - goto message_done; - } - ptr = UnknownFieldParse( - tag, - _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), - ptr, ctx); - CHK_(ptr != nullptr); - } // while -message_done: - _impl_._has_bits_.Or(has_bits); - return ptr; -failure: - ptr = nullptr; - goto message_done; -#undef CHK_ -} - -uint8_t* CUserMessage_PlayResponseConditional::_InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:CUserMessage_PlayResponseConditional) - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - // optional int32 ent_index = 1 [default = -1]; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_ent_index(), target); - } - - // repeated int32 player_slots = 2; - for (int i = 0, n = this->_internal_player_slots_size(); i < n; i++) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_player_slots(i), target); - } - - // optional string response = 3; - if (cached_has_bits & 0x00000001u) { - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( - this->_internal_response().data(), static_cast(this->_internal_response().length()), - ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, - "CUserMessage_PlayResponseConditional.response"); - target = stream->WriteStringMaybeAliased( - 3, this->_internal_response(), target); - } - - // optional .CMsgVector ent_origin = 4; - if (cached_has_bits & 0x00000002u) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(4, _Internal::ent_origin(this), - _Internal::ent_origin(this).GetCachedSize(), target, stream); - } - - // optional float pre_delay = 5; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_pre_delay(), target); - } - - // optional int32 mix_priority = 6; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_mix_priority(), target); - } - - if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:CUserMessage_PlayResponseConditional) - return target; -} - -size_t CUserMessage_PlayResponseConditional::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:CUserMessage_PlayResponseConditional) - size_t total_size = 0; - - uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - // repeated int32 player_slots = 2; - { - size_t data_size = ::_pbi::WireFormatLite:: - Int32Size(this->_impl_.player_slots_); - total_size += 1 * - ::_pbi::FromIntSize(this->_internal_player_slots_size()); - total_size += data_size; - } - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional string response = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( - this->_internal_response()); - } - - // optional .CMsgVector ent_origin = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.ent_origin_); - } - - // optional float pre_delay = 5; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + 4; - } - - // optional int32 mix_priority = 6; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mix_priority()); - } - - // optional int32 ent_index = 1 [default = -1]; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ent_index()); - } - - } - return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); -} - -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CUserMessage_PlayResponseConditional::_class_data_ = { - ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - CUserMessage_PlayResponseConditional::MergeImpl -}; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CUserMessage_PlayResponseConditional::GetClassData() const { return &_class_data_; } - - -void CUserMessage_PlayResponseConditional::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:CUserMessage_PlayResponseConditional) - GOOGLE_DCHECK_NE(&from, _this); - uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.player_slots_.MergeFrom(from._impl_.player_slots_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_response(from._internal_response()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_mutable_ent_origin()->::CMsgVector::MergeFrom( - from._internal_ent_origin()); - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.pre_delay_ = from._impl_.pre_delay_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.mix_priority_ = from._impl_.mix_priority_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.ent_index_ = from._impl_.ent_index_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - } - _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); -} - -void CUserMessage_PlayResponseConditional::CopyFrom(const CUserMessage_PlayResponseConditional& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:CUserMessage_PlayResponseConditional) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool CUserMessage_PlayResponseConditional::IsInitialized() const { - return true; -} - -void CUserMessage_PlayResponseConditional::InternalSwap(CUserMessage_PlayResponseConditional* other) { - using std::swap; - auto* lhs_arena = GetArenaForAllocation(); - auto* rhs_arena = other->GetArenaForAllocation(); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.player_slots_.InternalSwap(&other->_impl_.player_slots_); - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( - &_impl_.response_, lhs_arena, - &other->_impl_.response_, rhs_arena - ); - ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(CUserMessage_PlayResponseConditional, _impl_.mix_priority_) - + sizeof(CUserMessage_PlayResponseConditional::_impl_.mix_priority_) - - PROTOBUF_FIELD_OFFSET(CUserMessage_PlayResponseConditional, _impl_.ent_origin_)>( - reinterpret_cast(&_impl_.ent_origin_), - reinterpret_cast(&other->_impl_.ent_origin_)); - swap(_impl_.ent_index_, other->_impl_.ent_index_); -} - -::PROTOBUF_NAMESPACE_ID::Metadata CUserMessage_PlayResponseConditional::GetMetadata() const { - return ::_pbi::AssignDescriptors( - &descriptor_table_usermessages_2eproto_getter, &descriptor_table_usermessages_2eproto_once, - file_level_metadata_usermessages_2eproto[106]); -} - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -template<> PROTOBUF_NOINLINE ::CUserMessageAchievementEvent* -Arena::CreateMaybeMessage< ::CUserMessageAchievementEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageAchievementEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageCloseCaption* -Arena::CreateMaybeMessage< ::CUserMessageCloseCaption >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageCloseCaption >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageCloseCaptionDirect* -Arena::CreateMaybeMessage< ::CUserMessageCloseCaptionDirect >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageCloseCaptionDirect >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageCloseCaptionPlaceholder* -Arena::CreateMaybeMessage< ::CUserMessageCloseCaptionPlaceholder >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageCloseCaptionPlaceholder >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageCurrentTimescale* -Arena::CreateMaybeMessage< ::CUserMessageCurrentTimescale >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageCurrentTimescale >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageDesiredTimescale* -Arena::CreateMaybeMessage< ::CUserMessageDesiredTimescale >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageDesiredTimescale >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageFade* -Arena::CreateMaybeMessage< ::CUserMessageFade >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageFade >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageShake* -Arena::CreateMaybeMessage< ::CUserMessageShake >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageShake >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageShakeDir* -Arena::CreateMaybeMessage< ::CUserMessageShakeDir >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageShakeDir >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageWaterShake* -Arena::CreateMaybeMessage< ::CUserMessageWaterShake >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageWaterShake >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageScreenTilt* -Arena::CreateMaybeMessage< ::CUserMessageScreenTilt >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageScreenTilt >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageSayText* -Arena::CreateMaybeMessage< ::CUserMessageSayText >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageSayText >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageSayText2* -Arena::CreateMaybeMessage< ::CUserMessageSayText2 >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageSayText2 >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageHudMsg* -Arena::CreateMaybeMessage< ::CUserMessageHudMsg >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageHudMsg >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageHudText* -Arena::CreateMaybeMessage< ::CUserMessageHudText >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageHudText >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageTextMsg* -Arena::CreateMaybeMessage< ::CUserMessageTextMsg >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageTextMsg >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageGameTitle* -Arena::CreateMaybeMessage< ::CUserMessageGameTitle >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageGameTitle >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageResetHUD* -Arena::CreateMaybeMessage< ::CUserMessageResetHUD >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageResetHUD >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageSendAudio* -Arena::CreateMaybeMessage< ::CUserMessageSendAudio >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageSendAudio >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageAudioParameter* -Arena::CreateMaybeMessage< ::CUserMessageAudioParameter >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageAudioParameter >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageVoiceMask* -Arena::CreateMaybeMessage< ::CUserMessageVoiceMask >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageVoiceMask >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageRequestState* -Arena::CreateMaybeMessage< ::CUserMessageRequestState >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageRequestState >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageRumble* -Arena::CreateMaybeMessage< ::CUserMessageRumble >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageRumble >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageSayTextChannel* -Arena::CreateMaybeMessage< ::CUserMessageSayTextChannel >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageSayTextChannel >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageColoredText* -Arena::CreateMaybeMessage< ::CUserMessageColoredText >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageColoredText >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageItemPickup* -Arena::CreateMaybeMessage< ::CUserMessageItemPickup >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageItemPickup >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageAmmoDenied* -Arena::CreateMaybeMessage< ::CUserMessageAmmoDenied >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageAmmoDenied >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageShowMenu* -Arena::CreateMaybeMessage< ::CUserMessageShowMenu >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageShowMenu >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageCreditsMsg* -Arena::CreateMaybeMessage< ::CUserMessageCreditsMsg >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageCreditsMsg >(arena); -} -template<> PROTOBUF_NOINLINE ::CEntityMessagePlayJingle* -Arena::CreateMaybeMessage< ::CEntityMessagePlayJingle >(Arena* arena) { - return Arena::CreateMessageInternal< ::CEntityMessagePlayJingle >(arena); -} -template<> PROTOBUF_NOINLINE ::CEntityMessageScreenOverlay* -Arena::CreateMaybeMessage< ::CEntityMessageScreenOverlay >(Arena* arena) { - return Arena::CreateMessageInternal< ::CEntityMessageScreenOverlay >(arena); -} -template<> PROTOBUF_NOINLINE ::CEntityMessageRemoveAllDecals* -Arena::CreateMaybeMessage< ::CEntityMessageRemoveAllDecals >(Arena* arena) { - return Arena::CreateMessageInternal< ::CEntityMessageRemoveAllDecals >(arena); -} -template<> PROTOBUF_NOINLINE ::CEntityMessagePropagateForce* -Arena::CreateMaybeMessage< ::CEntityMessagePropagateForce >(Arena* arena) { - return Arena::CreateMessageInternal< ::CEntityMessagePropagateForce >(arena); -} -template<> PROTOBUF_NOINLINE ::CEntityMessageDoSpark* -Arena::CreateMaybeMessage< ::CEntityMessageDoSpark >(Arena* arena) { - return Arena::CreateMessageInternal< ::CEntityMessageDoSpark >(arena); -} -template<> PROTOBUF_NOINLINE ::CEntityMessageFixAngle* -Arena::CreateMaybeMessage< ::CEntityMessageFixAngle >(Arena* arena) { - return Arena::CreateMessageInternal< ::CEntityMessageFixAngle >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageCameraTransition_Transition_DataDriven* -Arena::CreateMaybeMessage< ::CUserMessageCameraTransition_Transition_DataDriven >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageCameraTransition_Transition_DataDriven >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageCameraTransition* -Arena::CreateMaybeMessage< ::CUserMessageCameraTransition >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageCameraTransition >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_ReleaseParticleIndex* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_ReleaseParticleIndex >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_ReleaseParticleIndex >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_CreateParticle* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_CreateParticle >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_CreateParticle >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_DestroyParticle* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_DestroyParticle >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_DestroyParticle >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_DestroyParticleInvolving* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_DestroyParticleInvolving >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_DestroyParticleInvolving >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_DestroyParticleNamed* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_DestroyParticleNamed >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_DestroyParticleNamed >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateParticleTransform* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateParticleTransform >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateParticleTransform >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateParticleFallback* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateParticleFallback >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateParticleFallback >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateParticleOffset* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateParticleOffset >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateParticleOffset >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateParticleEnt* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateParticleEnt >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateParticleEnt >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateParticleSetFrozen >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateParticleSetFrozen >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateParticleShouldDraw >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateParticleShouldDraw >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_ChangeControlPointAttachment* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_ChangeControlPointAttachment >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_ChangeControlPointAttachment >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateEntityPosition* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateEntityPosition >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateEntityPosition >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetParticleFoWProperties* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetParticleFoWProperties >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetParticleFoWProperties >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetControlPointModel* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetControlPointModel >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetControlPointModel >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetControlPointSnapshot* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetControlPointSnapshot >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetControlPointSnapshot >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetParticleText* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetParticleText >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetParticleText >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetTextureAttribute* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetTextureAttribute >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetTextureAttribute >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_ParticleSkipToTime* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_ParticleSkipToTime >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_ParticleSkipToTime >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_ParticleCanFreeze* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_ParticleCanFreeze >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_ParticleCanFreeze >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_FreezeParticleInvolving* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_FreezeParticleInvolving >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_FreezeParticleInvolving >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_AddModellistOverrideElement* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_AddModellistOverrideElement >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_AddModellistOverrideElement >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_ClearModellistOverride* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_ClearModellistOverride >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_ClearModellistOverride >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetParticleNamedValueContext* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetParticleNamedValueContext >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetParticleNamedValueContext >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_CreatePhysicsSim* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_CreatePhysicsSim >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_CreatePhysicsSim >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_DestroyPhysicsSim* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_DestroyPhysicsSim >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_DestroyPhysicsSim >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetVData* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetVData >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetVData >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetMaterialOverride* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetMaterialOverride >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetMaterialOverride >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_AddFan* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_AddFan >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_AddFan >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_UpdateFan* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_UpdateFan >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_UpdateFan >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_RemoveFan* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_RemoveFan >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_RemoveFan >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager_SetParticleClusterGrowth* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager_SetParticleClusterGrowth >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager_SetParticleClusterGrowth >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_ParticleManager* -Arena::CreateMaybeMessage< ::CUserMsg_ParticleManager >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_ParticleManager >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_HudError* -Arena::CreateMaybeMessage< ::CUserMsg_HudError >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_HudError >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMsg_CustomGameEvent* -Arena::CreateMaybeMessage< ::CUserMsg_CustomGameEvent >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMsg_CustomGameEvent >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageHapticsManagerPulse* -Arena::CreateMaybeMessage< ::CUserMessageHapticsManagerPulse >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageHapticsManagerPulse >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageHapticsManagerEffect* -Arena::CreateMaybeMessage< ::CUserMessageHapticsManagerEffect >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageHapticsManagerEffect >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageAnimStateGraphState* -Arena::CreateMaybeMessage< ::CUserMessageAnimStateGraphState >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageAnimStateGraphState >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageUpdateCssClasses* -Arena::CreateMaybeMessage< ::CUserMessageUpdateCssClasses >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageUpdateCssClasses >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageServerFrameTime* -Arena::CreateMaybeMessage< ::CUserMessageServerFrameTime >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageServerFrameTime >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageLagCompensationError* -Arena::CreateMaybeMessage< ::CUserMessageLagCompensationError >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageLagCompensationError >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageRequestDllStatus* -Arena::CreateMaybeMessage< ::CUserMessageRequestDllStatus >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageRequestDllStatus >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageRequestUtilAction* -Arena::CreateMaybeMessage< ::CUserMessageRequestUtilAction >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageRequestUtilAction >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessage_UtilMsg_Response_ItemDetail* -Arena::CreateMaybeMessage< ::CUserMessage_UtilMsg_Response_ItemDetail >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessage_UtilMsg_Response_ItemDetail >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessage_UtilMsg_Response* -Arena::CreateMaybeMessage< ::CUserMessage_UtilMsg_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessage_UtilMsg_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessage_DllStatus_CVDiagnostic* -Arena::CreateMaybeMessage< ::CUserMessage_DllStatus_CVDiagnostic >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessage_DllStatus_CVDiagnostic >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessage_DllStatus_CModule* -Arena::CreateMaybeMessage< ::CUserMessage_DllStatus_CModule >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessage_DllStatus_CModule >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessage_DllStatus* -Arena::CreateMaybeMessage< ::CUserMessage_DllStatus >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessage_DllStatus >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageRequestInventory* -Arena::CreateMaybeMessage< ::CUserMessageRequestInventory >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageRequestInventory >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessage_Inventory_Response_InventoryDetail* -Arena::CreateMaybeMessage< ::CUserMessage_Inventory_Response_InventoryDetail >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessage_Inventory_Response_InventoryDetail >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessage_Inventory_Response* -Arena::CreateMaybeMessage< ::CUserMessage_Inventory_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessage_Inventory_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageRequestDiagnostic_Diagnostic* -Arena::CreateMaybeMessage< ::CUserMessageRequestDiagnostic_Diagnostic >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageRequestDiagnostic_Diagnostic >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessageRequestDiagnostic* -Arena::CreateMaybeMessage< ::CUserMessageRequestDiagnostic >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessageRequestDiagnostic >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessage_Diagnostic_Response_Diagnostic* -Arena::CreateMaybeMessage< ::CUserMessage_Diagnostic_Response_Diagnostic >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessage_Diagnostic_Response_Diagnostic >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessage_Diagnostic_Response* -Arena::CreateMaybeMessage< ::CUserMessage_Diagnostic_Response >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessage_Diagnostic_Response >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessage_ExtraUserData* -Arena::CreateMaybeMessage< ::CUserMessage_ExtraUserData >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessage_ExtraUserData >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessage_NotifyResponseFound_Criteria* -Arena::CreateMaybeMessage< ::CUserMessage_NotifyResponseFound_Criteria >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessage_NotifyResponseFound_Criteria >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessage_NotifyResponseFound* -Arena::CreateMaybeMessage< ::CUserMessage_NotifyResponseFound >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessage_NotifyResponseFound >(arena); -} -template<> PROTOBUF_NOINLINE ::CUserMessage_PlayResponseConditional* -Arena::CreateMaybeMessage< ::CUserMessage_PlayResponseConditional >(Arena* arena) { - return Arena::CreateMessageInternal< ::CUserMessage_PlayResponseConditional >(arena); -} -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/usermessages.pb.h b/protobuf/generated/usermessages.pb.h deleted file mode 100644 index 554536ac0..000000000 --- a/protobuf/generated/usermessages.pb.h +++ /dev/null @@ -1,43268 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: usermessages.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_usermessages_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_usermessages_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -#include "networkbasetypes.pb.h" -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_usermessages_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_usermessages_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_usermessages_2eproto; -class CEntityMessageDoSpark; -struct CEntityMessageDoSparkDefaultTypeInternal; -extern CEntityMessageDoSparkDefaultTypeInternal _CEntityMessageDoSpark_default_instance_; -class CEntityMessageFixAngle; -struct CEntityMessageFixAngleDefaultTypeInternal; -extern CEntityMessageFixAngleDefaultTypeInternal _CEntityMessageFixAngle_default_instance_; -class CEntityMessagePlayJingle; -struct CEntityMessagePlayJingleDefaultTypeInternal; -extern CEntityMessagePlayJingleDefaultTypeInternal _CEntityMessagePlayJingle_default_instance_; -class CEntityMessagePropagateForce; -struct CEntityMessagePropagateForceDefaultTypeInternal; -extern CEntityMessagePropagateForceDefaultTypeInternal _CEntityMessagePropagateForce_default_instance_; -class CEntityMessageRemoveAllDecals; -struct CEntityMessageRemoveAllDecalsDefaultTypeInternal; -extern CEntityMessageRemoveAllDecalsDefaultTypeInternal _CEntityMessageRemoveAllDecals_default_instance_; -class CEntityMessageScreenOverlay; -struct CEntityMessageScreenOverlayDefaultTypeInternal; -extern CEntityMessageScreenOverlayDefaultTypeInternal _CEntityMessageScreenOverlay_default_instance_; -class CUserMessageAchievementEvent; -struct CUserMessageAchievementEventDefaultTypeInternal; -extern CUserMessageAchievementEventDefaultTypeInternal _CUserMessageAchievementEvent_default_instance_; -class CUserMessageAmmoDenied; -struct CUserMessageAmmoDeniedDefaultTypeInternal; -extern CUserMessageAmmoDeniedDefaultTypeInternal _CUserMessageAmmoDenied_default_instance_; -class CUserMessageAnimStateGraphState; -struct CUserMessageAnimStateGraphStateDefaultTypeInternal; -extern CUserMessageAnimStateGraphStateDefaultTypeInternal _CUserMessageAnimStateGraphState_default_instance_; -class CUserMessageAudioParameter; -struct CUserMessageAudioParameterDefaultTypeInternal; -extern CUserMessageAudioParameterDefaultTypeInternal _CUserMessageAudioParameter_default_instance_; -class CUserMessageCameraTransition; -struct CUserMessageCameraTransitionDefaultTypeInternal; -extern CUserMessageCameraTransitionDefaultTypeInternal _CUserMessageCameraTransition_default_instance_; -class CUserMessageCameraTransition_Transition_DataDriven; -struct CUserMessageCameraTransition_Transition_DataDrivenDefaultTypeInternal; -extern CUserMessageCameraTransition_Transition_DataDrivenDefaultTypeInternal _CUserMessageCameraTransition_Transition_DataDriven_default_instance_; -class CUserMessageCloseCaption; -struct CUserMessageCloseCaptionDefaultTypeInternal; -extern CUserMessageCloseCaptionDefaultTypeInternal _CUserMessageCloseCaption_default_instance_; -class CUserMessageCloseCaptionDirect; -struct CUserMessageCloseCaptionDirectDefaultTypeInternal; -extern CUserMessageCloseCaptionDirectDefaultTypeInternal _CUserMessageCloseCaptionDirect_default_instance_; -class CUserMessageCloseCaptionPlaceholder; -struct CUserMessageCloseCaptionPlaceholderDefaultTypeInternal; -extern CUserMessageCloseCaptionPlaceholderDefaultTypeInternal _CUserMessageCloseCaptionPlaceholder_default_instance_; -class CUserMessageColoredText; -struct CUserMessageColoredTextDefaultTypeInternal; -extern CUserMessageColoredTextDefaultTypeInternal _CUserMessageColoredText_default_instance_; -class CUserMessageCreditsMsg; -struct CUserMessageCreditsMsgDefaultTypeInternal; -extern CUserMessageCreditsMsgDefaultTypeInternal _CUserMessageCreditsMsg_default_instance_; -class CUserMessageCurrentTimescale; -struct CUserMessageCurrentTimescaleDefaultTypeInternal; -extern CUserMessageCurrentTimescaleDefaultTypeInternal _CUserMessageCurrentTimescale_default_instance_; -class CUserMessageDesiredTimescale; -struct CUserMessageDesiredTimescaleDefaultTypeInternal; -extern CUserMessageDesiredTimescaleDefaultTypeInternal _CUserMessageDesiredTimescale_default_instance_; -class CUserMessageFade; -struct CUserMessageFadeDefaultTypeInternal; -extern CUserMessageFadeDefaultTypeInternal _CUserMessageFade_default_instance_; -class CUserMessageGameTitle; -struct CUserMessageGameTitleDefaultTypeInternal; -extern CUserMessageGameTitleDefaultTypeInternal _CUserMessageGameTitle_default_instance_; -class CUserMessageHapticsManagerEffect; -struct CUserMessageHapticsManagerEffectDefaultTypeInternal; -extern CUserMessageHapticsManagerEffectDefaultTypeInternal _CUserMessageHapticsManagerEffect_default_instance_; -class CUserMessageHapticsManagerPulse; -struct CUserMessageHapticsManagerPulseDefaultTypeInternal; -extern CUserMessageHapticsManagerPulseDefaultTypeInternal _CUserMessageHapticsManagerPulse_default_instance_; -class CUserMessageHudMsg; -struct CUserMessageHudMsgDefaultTypeInternal; -extern CUserMessageHudMsgDefaultTypeInternal _CUserMessageHudMsg_default_instance_; -class CUserMessageHudText; -struct CUserMessageHudTextDefaultTypeInternal; -extern CUserMessageHudTextDefaultTypeInternal _CUserMessageHudText_default_instance_; -class CUserMessageItemPickup; -struct CUserMessageItemPickupDefaultTypeInternal; -extern CUserMessageItemPickupDefaultTypeInternal _CUserMessageItemPickup_default_instance_; -class CUserMessageLagCompensationError; -struct CUserMessageLagCompensationErrorDefaultTypeInternal; -extern CUserMessageLagCompensationErrorDefaultTypeInternal _CUserMessageLagCompensationError_default_instance_; -class CUserMessageRequestDiagnostic; -struct CUserMessageRequestDiagnosticDefaultTypeInternal; -extern CUserMessageRequestDiagnosticDefaultTypeInternal _CUserMessageRequestDiagnostic_default_instance_; -class CUserMessageRequestDiagnostic_Diagnostic; -struct CUserMessageRequestDiagnostic_DiagnosticDefaultTypeInternal; -extern CUserMessageRequestDiagnostic_DiagnosticDefaultTypeInternal _CUserMessageRequestDiagnostic_Diagnostic_default_instance_; -class CUserMessageRequestDllStatus; -struct CUserMessageRequestDllStatusDefaultTypeInternal; -extern CUserMessageRequestDllStatusDefaultTypeInternal _CUserMessageRequestDllStatus_default_instance_; -class CUserMessageRequestInventory; -struct CUserMessageRequestInventoryDefaultTypeInternal; -extern CUserMessageRequestInventoryDefaultTypeInternal _CUserMessageRequestInventory_default_instance_; -class CUserMessageRequestState; -struct CUserMessageRequestStateDefaultTypeInternal; -extern CUserMessageRequestStateDefaultTypeInternal _CUserMessageRequestState_default_instance_; -class CUserMessageRequestUtilAction; -struct CUserMessageRequestUtilActionDefaultTypeInternal; -extern CUserMessageRequestUtilActionDefaultTypeInternal _CUserMessageRequestUtilAction_default_instance_; -class CUserMessageResetHUD; -struct CUserMessageResetHUDDefaultTypeInternal; -extern CUserMessageResetHUDDefaultTypeInternal _CUserMessageResetHUD_default_instance_; -class CUserMessageRumble; -struct CUserMessageRumbleDefaultTypeInternal; -extern CUserMessageRumbleDefaultTypeInternal _CUserMessageRumble_default_instance_; -class CUserMessageSayText; -struct CUserMessageSayTextDefaultTypeInternal; -extern CUserMessageSayTextDefaultTypeInternal _CUserMessageSayText_default_instance_; -class CUserMessageSayText2; -struct CUserMessageSayText2DefaultTypeInternal; -extern CUserMessageSayText2DefaultTypeInternal _CUserMessageSayText2_default_instance_; -class CUserMessageSayTextChannel; -struct CUserMessageSayTextChannelDefaultTypeInternal; -extern CUserMessageSayTextChannelDefaultTypeInternal _CUserMessageSayTextChannel_default_instance_; -class CUserMessageScreenTilt; -struct CUserMessageScreenTiltDefaultTypeInternal; -extern CUserMessageScreenTiltDefaultTypeInternal _CUserMessageScreenTilt_default_instance_; -class CUserMessageSendAudio; -struct CUserMessageSendAudioDefaultTypeInternal; -extern CUserMessageSendAudioDefaultTypeInternal _CUserMessageSendAudio_default_instance_; -class CUserMessageServerFrameTime; -struct CUserMessageServerFrameTimeDefaultTypeInternal; -extern CUserMessageServerFrameTimeDefaultTypeInternal _CUserMessageServerFrameTime_default_instance_; -class CUserMessageShake; -struct CUserMessageShakeDefaultTypeInternal; -extern CUserMessageShakeDefaultTypeInternal _CUserMessageShake_default_instance_; -class CUserMessageShakeDir; -struct CUserMessageShakeDirDefaultTypeInternal; -extern CUserMessageShakeDirDefaultTypeInternal _CUserMessageShakeDir_default_instance_; -class CUserMessageShowMenu; -struct CUserMessageShowMenuDefaultTypeInternal; -extern CUserMessageShowMenuDefaultTypeInternal _CUserMessageShowMenu_default_instance_; -class CUserMessageTextMsg; -struct CUserMessageTextMsgDefaultTypeInternal; -extern CUserMessageTextMsgDefaultTypeInternal _CUserMessageTextMsg_default_instance_; -class CUserMessageUpdateCssClasses; -struct CUserMessageUpdateCssClassesDefaultTypeInternal; -extern CUserMessageUpdateCssClassesDefaultTypeInternal _CUserMessageUpdateCssClasses_default_instance_; -class CUserMessageVoiceMask; -struct CUserMessageVoiceMaskDefaultTypeInternal; -extern CUserMessageVoiceMaskDefaultTypeInternal _CUserMessageVoiceMask_default_instance_; -class CUserMessageWaterShake; -struct CUserMessageWaterShakeDefaultTypeInternal; -extern CUserMessageWaterShakeDefaultTypeInternal _CUserMessageWaterShake_default_instance_; -class CUserMessage_Diagnostic_Response; -struct CUserMessage_Diagnostic_ResponseDefaultTypeInternal; -extern CUserMessage_Diagnostic_ResponseDefaultTypeInternal _CUserMessage_Diagnostic_Response_default_instance_; -class CUserMessage_Diagnostic_Response_Diagnostic; -struct CUserMessage_Diagnostic_Response_DiagnosticDefaultTypeInternal; -extern CUserMessage_Diagnostic_Response_DiagnosticDefaultTypeInternal _CUserMessage_Diagnostic_Response_Diagnostic_default_instance_; -class CUserMessage_DllStatus; -struct CUserMessage_DllStatusDefaultTypeInternal; -extern CUserMessage_DllStatusDefaultTypeInternal _CUserMessage_DllStatus_default_instance_; -class CUserMessage_DllStatus_CModule; -struct CUserMessage_DllStatus_CModuleDefaultTypeInternal; -extern CUserMessage_DllStatus_CModuleDefaultTypeInternal _CUserMessage_DllStatus_CModule_default_instance_; -class CUserMessage_DllStatus_CVDiagnostic; -struct CUserMessage_DllStatus_CVDiagnosticDefaultTypeInternal; -extern CUserMessage_DllStatus_CVDiagnosticDefaultTypeInternal _CUserMessage_DllStatus_CVDiagnostic_default_instance_; -class CUserMessage_ExtraUserData; -struct CUserMessage_ExtraUserDataDefaultTypeInternal; -extern CUserMessage_ExtraUserDataDefaultTypeInternal _CUserMessage_ExtraUserData_default_instance_; -class CUserMessage_Inventory_Response; -struct CUserMessage_Inventory_ResponseDefaultTypeInternal; -extern CUserMessage_Inventory_ResponseDefaultTypeInternal _CUserMessage_Inventory_Response_default_instance_; -class CUserMessage_Inventory_Response_InventoryDetail; -struct CUserMessage_Inventory_Response_InventoryDetailDefaultTypeInternal; -extern CUserMessage_Inventory_Response_InventoryDetailDefaultTypeInternal _CUserMessage_Inventory_Response_InventoryDetail_default_instance_; -class CUserMessage_NotifyResponseFound; -struct CUserMessage_NotifyResponseFoundDefaultTypeInternal; -extern CUserMessage_NotifyResponseFoundDefaultTypeInternal _CUserMessage_NotifyResponseFound_default_instance_; -class CUserMessage_NotifyResponseFound_Criteria; -struct CUserMessage_NotifyResponseFound_CriteriaDefaultTypeInternal; -extern CUserMessage_NotifyResponseFound_CriteriaDefaultTypeInternal _CUserMessage_NotifyResponseFound_Criteria_default_instance_; -class CUserMessage_PlayResponseConditional; -struct CUserMessage_PlayResponseConditionalDefaultTypeInternal; -extern CUserMessage_PlayResponseConditionalDefaultTypeInternal _CUserMessage_PlayResponseConditional_default_instance_; -class CUserMessage_UtilMsg_Response; -struct CUserMessage_UtilMsg_ResponseDefaultTypeInternal; -extern CUserMessage_UtilMsg_ResponseDefaultTypeInternal _CUserMessage_UtilMsg_Response_default_instance_; -class CUserMessage_UtilMsg_Response_ItemDetail; -struct CUserMessage_UtilMsg_Response_ItemDetailDefaultTypeInternal; -extern CUserMessage_UtilMsg_Response_ItemDetailDefaultTypeInternal _CUserMessage_UtilMsg_Response_ItemDetail_default_instance_; -class CUserMsg_CustomGameEvent; -struct CUserMsg_CustomGameEventDefaultTypeInternal; -extern CUserMsg_CustomGameEventDefaultTypeInternal _CUserMsg_CustomGameEvent_default_instance_; -class CUserMsg_HudError; -struct CUserMsg_HudErrorDefaultTypeInternal; -extern CUserMsg_HudErrorDefaultTypeInternal _CUserMsg_HudError_default_instance_; -class CUserMsg_ParticleManager; -struct CUserMsg_ParticleManagerDefaultTypeInternal; -extern CUserMsg_ParticleManagerDefaultTypeInternal _CUserMsg_ParticleManager_default_instance_; -class CUserMsg_ParticleManager_AddFan; -struct CUserMsg_ParticleManager_AddFanDefaultTypeInternal; -extern CUserMsg_ParticleManager_AddFanDefaultTypeInternal _CUserMsg_ParticleManager_AddFan_default_instance_; -class CUserMsg_ParticleManager_AddModellistOverrideElement; -struct CUserMsg_ParticleManager_AddModellistOverrideElementDefaultTypeInternal; -extern CUserMsg_ParticleManager_AddModellistOverrideElementDefaultTypeInternal _CUserMsg_ParticleManager_AddModellistOverrideElement_default_instance_; -class CUserMsg_ParticleManager_ChangeControlPointAttachment; -struct CUserMsg_ParticleManager_ChangeControlPointAttachmentDefaultTypeInternal; -extern CUserMsg_ParticleManager_ChangeControlPointAttachmentDefaultTypeInternal _CUserMsg_ParticleManager_ChangeControlPointAttachment_default_instance_; -class CUserMsg_ParticleManager_ClearModellistOverride; -struct CUserMsg_ParticleManager_ClearModellistOverrideDefaultTypeInternal; -extern CUserMsg_ParticleManager_ClearModellistOverrideDefaultTypeInternal _CUserMsg_ParticleManager_ClearModellistOverride_default_instance_; -class CUserMsg_ParticleManager_CreateParticle; -struct CUserMsg_ParticleManager_CreateParticleDefaultTypeInternal; -extern CUserMsg_ParticleManager_CreateParticleDefaultTypeInternal _CUserMsg_ParticleManager_CreateParticle_default_instance_; -class CUserMsg_ParticleManager_CreatePhysicsSim; -struct CUserMsg_ParticleManager_CreatePhysicsSimDefaultTypeInternal; -extern CUserMsg_ParticleManager_CreatePhysicsSimDefaultTypeInternal _CUserMsg_ParticleManager_CreatePhysicsSim_default_instance_; -class CUserMsg_ParticleManager_DestroyParticle; -struct CUserMsg_ParticleManager_DestroyParticleDefaultTypeInternal; -extern CUserMsg_ParticleManager_DestroyParticleDefaultTypeInternal _CUserMsg_ParticleManager_DestroyParticle_default_instance_; -class CUserMsg_ParticleManager_DestroyParticleInvolving; -struct CUserMsg_ParticleManager_DestroyParticleInvolvingDefaultTypeInternal; -extern CUserMsg_ParticleManager_DestroyParticleInvolvingDefaultTypeInternal _CUserMsg_ParticleManager_DestroyParticleInvolving_default_instance_; -class CUserMsg_ParticleManager_DestroyParticleNamed; -struct CUserMsg_ParticleManager_DestroyParticleNamedDefaultTypeInternal; -extern CUserMsg_ParticleManager_DestroyParticleNamedDefaultTypeInternal _CUserMsg_ParticleManager_DestroyParticleNamed_default_instance_; -class CUserMsg_ParticleManager_DestroyPhysicsSim; -struct CUserMsg_ParticleManager_DestroyPhysicsSimDefaultTypeInternal; -extern CUserMsg_ParticleManager_DestroyPhysicsSimDefaultTypeInternal _CUserMsg_ParticleManager_DestroyPhysicsSim_default_instance_; -class CUserMsg_ParticleManager_FreezeParticleInvolving; -struct CUserMsg_ParticleManager_FreezeParticleInvolvingDefaultTypeInternal; -extern CUserMsg_ParticleManager_FreezeParticleInvolvingDefaultTypeInternal _CUserMsg_ParticleManager_FreezeParticleInvolving_default_instance_; -class CUserMsg_ParticleManager_ParticleCanFreeze; -struct CUserMsg_ParticleManager_ParticleCanFreezeDefaultTypeInternal; -extern CUserMsg_ParticleManager_ParticleCanFreezeDefaultTypeInternal _CUserMsg_ParticleManager_ParticleCanFreeze_default_instance_; -class CUserMsg_ParticleManager_ParticleFreezeTransitionOverride; -struct CUserMsg_ParticleManager_ParticleFreezeTransitionOverrideDefaultTypeInternal; -extern CUserMsg_ParticleManager_ParticleFreezeTransitionOverrideDefaultTypeInternal _CUserMsg_ParticleManager_ParticleFreezeTransitionOverride_default_instance_; -class CUserMsg_ParticleManager_ParticleSkipToTime; -struct CUserMsg_ParticleManager_ParticleSkipToTimeDefaultTypeInternal; -extern CUserMsg_ParticleManager_ParticleSkipToTimeDefaultTypeInternal _CUserMsg_ParticleManager_ParticleSkipToTime_default_instance_; -class CUserMsg_ParticleManager_ReleaseParticleIndex; -struct CUserMsg_ParticleManager_ReleaseParticleIndexDefaultTypeInternal; -extern CUserMsg_ParticleManager_ReleaseParticleIndexDefaultTypeInternal _CUserMsg_ParticleManager_ReleaseParticleIndex_default_instance_; -class CUserMsg_ParticleManager_RemoveFan; -struct CUserMsg_ParticleManager_RemoveFanDefaultTypeInternal; -extern CUserMsg_ParticleManager_RemoveFanDefaultTypeInternal _CUserMsg_ParticleManager_RemoveFan_default_instance_; -class CUserMsg_ParticleManager_SetControlPointModel; -struct CUserMsg_ParticleManager_SetControlPointModelDefaultTypeInternal; -extern CUserMsg_ParticleManager_SetControlPointModelDefaultTypeInternal _CUserMsg_ParticleManager_SetControlPointModel_default_instance_; -class CUserMsg_ParticleManager_SetControlPointSnapshot; -struct CUserMsg_ParticleManager_SetControlPointSnapshotDefaultTypeInternal; -extern CUserMsg_ParticleManager_SetControlPointSnapshotDefaultTypeInternal _CUserMsg_ParticleManager_SetControlPointSnapshot_default_instance_; -class CUserMsg_ParticleManager_SetMaterialOverride; -struct CUserMsg_ParticleManager_SetMaterialOverrideDefaultTypeInternal; -extern CUserMsg_ParticleManager_SetMaterialOverrideDefaultTypeInternal _CUserMsg_ParticleManager_SetMaterialOverride_default_instance_; -class CUserMsg_ParticleManager_SetParticleClusterGrowth; -struct CUserMsg_ParticleManager_SetParticleClusterGrowthDefaultTypeInternal; -extern CUserMsg_ParticleManager_SetParticleClusterGrowthDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleClusterGrowth_default_instance_; -class CUserMsg_ParticleManager_SetParticleFoWProperties; -struct CUserMsg_ParticleManager_SetParticleFoWPropertiesDefaultTypeInternal; -extern CUserMsg_ParticleManager_SetParticleFoWPropertiesDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleFoWProperties_default_instance_; -class CUserMsg_ParticleManager_SetParticleNamedValueContext; -struct CUserMsg_ParticleManager_SetParticleNamedValueContextDefaultTypeInternal; -extern CUserMsg_ParticleManager_SetParticleNamedValueContextDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_default_instance_; -class CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext; -struct CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContextDefaultTypeInternal; -extern CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContextDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext_default_instance_; -class CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue; -struct CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValueDefaultTypeInternal; -extern CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValueDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue_default_instance_; -class CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue; -struct CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValueDefaultTypeInternal; -extern CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValueDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue_default_instance_; -class CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue; -struct CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValueDefaultTypeInternal; -extern CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValueDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue_default_instance_; -class CUserMsg_ParticleManager_SetParticleShouldCheckFoW; -struct CUserMsg_ParticleManager_SetParticleShouldCheckFoWDefaultTypeInternal; -extern CUserMsg_ParticleManager_SetParticleShouldCheckFoWDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleShouldCheckFoW_default_instance_; -class CUserMsg_ParticleManager_SetParticleText; -struct CUserMsg_ParticleManager_SetParticleTextDefaultTypeInternal; -extern CUserMsg_ParticleManager_SetParticleTextDefaultTypeInternal _CUserMsg_ParticleManager_SetParticleText_default_instance_; -class CUserMsg_ParticleManager_SetSceneObjectGenericFlag; -struct CUserMsg_ParticleManager_SetSceneObjectGenericFlagDefaultTypeInternal; -extern CUserMsg_ParticleManager_SetSceneObjectGenericFlagDefaultTypeInternal _CUserMsg_ParticleManager_SetSceneObjectGenericFlag_default_instance_; -class CUserMsg_ParticleManager_SetSceneObjectTintAndDesat; -struct CUserMsg_ParticleManager_SetSceneObjectTintAndDesatDefaultTypeInternal; -extern CUserMsg_ParticleManager_SetSceneObjectTintAndDesatDefaultTypeInternal _CUserMsg_ParticleManager_SetSceneObjectTintAndDesat_default_instance_; -class CUserMsg_ParticleManager_SetTextureAttribute; -struct CUserMsg_ParticleManager_SetTextureAttributeDefaultTypeInternal; -extern CUserMsg_ParticleManager_SetTextureAttributeDefaultTypeInternal _CUserMsg_ParticleManager_SetTextureAttribute_default_instance_; -class CUserMsg_ParticleManager_SetVData; -struct CUserMsg_ParticleManager_SetVDataDefaultTypeInternal; -extern CUserMsg_ParticleManager_SetVDataDefaultTypeInternal _CUserMsg_ParticleManager_SetVData_default_instance_; -class CUserMsg_ParticleManager_UpdateEntityPosition; -struct CUserMsg_ParticleManager_UpdateEntityPositionDefaultTypeInternal; -extern CUserMsg_ParticleManager_UpdateEntityPositionDefaultTypeInternal _CUserMsg_ParticleManager_UpdateEntityPosition_default_instance_; -class CUserMsg_ParticleManager_UpdateFan; -struct CUserMsg_ParticleManager_UpdateFanDefaultTypeInternal; -extern CUserMsg_ParticleManager_UpdateFanDefaultTypeInternal _CUserMsg_ParticleManager_UpdateFan_default_instance_; -class CUserMsg_ParticleManager_UpdateParticleEnt; -struct CUserMsg_ParticleManager_UpdateParticleEntDefaultTypeInternal; -extern CUserMsg_ParticleManager_UpdateParticleEntDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleEnt_default_instance_; -class CUserMsg_ParticleManager_UpdateParticleFallback; -struct CUserMsg_ParticleManager_UpdateParticleFallbackDefaultTypeInternal; -extern CUserMsg_ParticleManager_UpdateParticleFallbackDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleFallback_default_instance_; -class CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE; -struct CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETEDefaultTypeInternal; -extern CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETEDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE_default_instance_; -class CUserMsg_ParticleManager_UpdateParticleOffset; -struct CUserMsg_ParticleManager_UpdateParticleOffsetDefaultTypeInternal; -extern CUserMsg_ParticleManager_UpdateParticleOffsetDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleOffset_default_instance_; -class CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE; -struct CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETEDefaultTypeInternal; -extern CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETEDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE_default_instance_; -class CUserMsg_ParticleManager_UpdateParticleSetFrozen; -struct CUserMsg_ParticleManager_UpdateParticleSetFrozenDefaultTypeInternal; -extern CUserMsg_ParticleManager_UpdateParticleSetFrozenDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleSetFrozen_default_instance_; -class CUserMsg_ParticleManager_UpdateParticleShouldDraw; -struct CUserMsg_ParticleManager_UpdateParticleShouldDrawDefaultTypeInternal; -extern CUserMsg_ParticleManager_UpdateParticleShouldDrawDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleShouldDraw_default_instance_; -class CUserMsg_ParticleManager_UpdateParticleTransform; -struct CUserMsg_ParticleManager_UpdateParticleTransformDefaultTypeInternal; -extern CUserMsg_ParticleManager_UpdateParticleTransformDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticleTransform_default_instance_; -class CUserMsg_ParticleManager_UpdateParticle_OBSOLETE; -struct CUserMsg_ParticleManager_UpdateParticle_OBSOLETEDefaultTypeInternal; -extern CUserMsg_ParticleManager_UpdateParticle_OBSOLETEDefaultTypeInternal _CUserMsg_ParticleManager_UpdateParticle_OBSOLETE_default_instance_; -PROTOBUF_NAMESPACE_OPEN -template<> ::CEntityMessageDoSpark* Arena::CreateMaybeMessage<::CEntityMessageDoSpark>(Arena*); -template<> ::CEntityMessageFixAngle* Arena::CreateMaybeMessage<::CEntityMessageFixAngle>(Arena*); -template<> ::CEntityMessagePlayJingle* Arena::CreateMaybeMessage<::CEntityMessagePlayJingle>(Arena*); -template<> ::CEntityMessagePropagateForce* Arena::CreateMaybeMessage<::CEntityMessagePropagateForce>(Arena*); -template<> ::CEntityMessageRemoveAllDecals* Arena::CreateMaybeMessage<::CEntityMessageRemoveAllDecals>(Arena*); -template<> ::CEntityMessageScreenOverlay* Arena::CreateMaybeMessage<::CEntityMessageScreenOverlay>(Arena*); -template<> ::CUserMessageAchievementEvent* Arena::CreateMaybeMessage<::CUserMessageAchievementEvent>(Arena*); -template<> ::CUserMessageAmmoDenied* Arena::CreateMaybeMessage<::CUserMessageAmmoDenied>(Arena*); -template<> ::CUserMessageAnimStateGraphState* Arena::CreateMaybeMessage<::CUserMessageAnimStateGraphState>(Arena*); -template<> ::CUserMessageAudioParameter* Arena::CreateMaybeMessage<::CUserMessageAudioParameter>(Arena*); -template<> ::CUserMessageCameraTransition* Arena::CreateMaybeMessage<::CUserMessageCameraTransition>(Arena*); -template<> ::CUserMessageCameraTransition_Transition_DataDriven* Arena::CreateMaybeMessage<::CUserMessageCameraTransition_Transition_DataDriven>(Arena*); -template<> ::CUserMessageCloseCaption* Arena::CreateMaybeMessage<::CUserMessageCloseCaption>(Arena*); -template<> ::CUserMessageCloseCaptionDirect* Arena::CreateMaybeMessage<::CUserMessageCloseCaptionDirect>(Arena*); -template<> ::CUserMessageCloseCaptionPlaceholder* Arena::CreateMaybeMessage<::CUserMessageCloseCaptionPlaceholder>(Arena*); -template<> ::CUserMessageColoredText* Arena::CreateMaybeMessage<::CUserMessageColoredText>(Arena*); -template<> ::CUserMessageCreditsMsg* Arena::CreateMaybeMessage<::CUserMessageCreditsMsg>(Arena*); -template<> ::CUserMessageCurrentTimescale* Arena::CreateMaybeMessage<::CUserMessageCurrentTimescale>(Arena*); -template<> ::CUserMessageDesiredTimescale* Arena::CreateMaybeMessage<::CUserMessageDesiredTimescale>(Arena*); -template<> ::CUserMessageFade* Arena::CreateMaybeMessage<::CUserMessageFade>(Arena*); -template<> ::CUserMessageGameTitle* Arena::CreateMaybeMessage<::CUserMessageGameTitle>(Arena*); -template<> ::CUserMessageHapticsManagerEffect* Arena::CreateMaybeMessage<::CUserMessageHapticsManagerEffect>(Arena*); -template<> ::CUserMessageHapticsManagerPulse* Arena::CreateMaybeMessage<::CUserMessageHapticsManagerPulse>(Arena*); -template<> ::CUserMessageHudMsg* Arena::CreateMaybeMessage<::CUserMessageHudMsg>(Arena*); -template<> ::CUserMessageHudText* Arena::CreateMaybeMessage<::CUserMessageHudText>(Arena*); -template<> ::CUserMessageItemPickup* Arena::CreateMaybeMessage<::CUserMessageItemPickup>(Arena*); -template<> ::CUserMessageLagCompensationError* Arena::CreateMaybeMessage<::CUserMessageLagCompensationError>(Arena*); -template<> ::CUserMessageRequestDiagnostic* Arena::CreateMaybeMessage<::CUserMessageRequestDiagnostic>(Arena*); -template<> ::CUserMessageRequestDiagnostic_Diagnostic* Arena::CreateMaybeMessage<::CUserMessageRequestDiagnostic_Diagnostic>(Arena*); -template<> ::CUserMessageRequestDllStatus* Arena::CreateMaybeMessage<::CUserMessageRequestDllStatus>(Arena*); -template<> ::CUserMessageRequestInventory* Arena::CreateMaybeMessage<::CUserMessageRequestInventory>(Arena*); -template<> ::CUserMessageRequestState* Arena::CreateMaybeMessage<::CUserMessageRequestState>(Arena*); -template<> ::CUserMessageRequestUtilAction* Arena::CreateMaybeMessage<::CUserMessageRequestUtilAction>(Arena*); -template<> ::CUserMessageResetHUD* Arena::CreateMaybeMessage<::CUserMessageResetHUD>(Arena*); -template<> ::CUserMessageRumble* Arena::CreateMaybeMessage<::CUserMessageRumble>(Arena*); -template<> ::CUserMessageSayText* Arena::CreateMaybeMessage<::CUserMessageSayText>(Arena*); -template<> ::CUserMessageSayText2* Arena::CreateMaybeMessage<::CUserMessageSayText2>(Arena*); -template<> ::CUserMessageSayTextChannel* Arena::CreateMaybeMessage<::CUserMessageSayTextChannel>(Arena*); -template<> ::CUserMessageScreenTilt* Arena::CreateMaybeMessage<::CUserMessageScreenTilt>(Arena*); -template<> ::CUserMessageSendAudio* Arena::CreateMaybeMessage<::CUserMessageSendAudio>(Arena*); -template<> ::CUserMessageServerFrameTime* Arena::CreateMaybeMessage<::CUserMessageServerFrameTime>(Arena*); -template<> ::CUserMessageShake* Arena::CreateMaybeMessage<::CUserMessageShake>(Arena*); -template<> ::CUserMessageShakeDir* Arena::CreateMaybeMessage<::CUserMessageShakeDir>(Arena*); -template<> ::CUserMessageShowMenu* Arena::CreateMaybeMessage<::CUserMessageShowMenu>(Arena*); -template<> ::CUserMessageTextMsg* Arena::CreateMaybeMessage<::CUserMessageTextMsg>(Arena*); -template<> ::CUserMessageUpdateCssClasses* Arena::CreateMaybeMessage<::CUserMessageUpdateCssClasses>(Arena*); -template<> ::CUserMessageVoiceMask* Arena::CreateMaybeMessage<::CUserMessageVoiceMask>(Arena*); -template<> ::CUserMessageWaterShake* Arena::CreateMaybeMessage<::CUserMessageWaterShake>(Arena*); -template<> ::CUserMessage_Diagnostic_Response* Arena::CreateMaybeMessage<::CUserMessage_Diagnostic_Response>(Arena*); -template<> ::CUserMessage_Diagnostic_Response_Diagnostic* Arena::CreateMaybeMessage<::CUserMessage_Diagnostic_Response_Diagnostic>(Arena*); -template<> ::CUserMessage_DllStatus* Arena::CreateMaybeMessage<::CUserMessage_DllStatus>(Arena*); -template<> ::CUserMessage_DllStatus_CModule* Arena::CreateMaybeMessage<::CUserMessage_DllStatus_CModule>(Arena*); -template<> ::CUserMessage_DllStatus_CVDiagnostic* Arena::CreateMaybeMessage<::CUserMessage_DllStatus_CVDiagnostic>(Arena*); -template<> ::CUserMessage_ExtraUserData* Arena::CreateMaybeMessage<::CUserMessage_ExtraUserData>(Arena*); -template<> ::CUserMessage_Inventory_Response* Arena::CreateMaybeMessage<::CUserMessage_Inventory_Response>(Arena*); -template<> ::CUserMessage_Inventory_Response_InventoryDetail* Arena::CreateMaybeMessage<::CUserMessage_Inventory_Response_InventoryDetail>(Arena*); -template<> ::CUserMessage_NotifyResponseFound* Arena::CreateMaybeMessage<::CUserMessage_NotifyResponseFound>(Arena*); -template<> ::CUserMessage_NotifyResponseFound_Criteria* Arena::CreateMaybeMessage<::CUserMessage_NotifyResponseFound_Criteria>(Arena*); -template<> ::CUserMessage_PlayResponseConditional* Arena::CreateMaybeMessage<::CUserMessage_PlayResponseConditional>(Arena*); -template<> ::CUserMessage_UtilMsg_Response* Arena::CreateMaybeMessage<::CUserMessage_UtilMsg_Response>(Arena*); -template<> ::CUserMessage_UtilMsg_Response_ItemDetail* Arena::CreateMaybeMessage<::CUserMessage_UtilMsg_Response_ItemDetail>(Arena*); -template<> ::CUserMsg_CustomGameEvent* Arena::CreateMaybeMessage<::CUserMsg_CustomGameEvent>(Arena*); -template<> ::CUserMsg_HudError* Arena::CreateMaybeMessage<::CUserMsg_HudError>(Arena*); -template<> ::CUserMsg_ParticleManager* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager>(Arena*); -template<> ::CUserMsg_ParticleManager_AddFan* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_AddFan>(Arena*); -template<> ::CUserMsg_ParticleManager_AddModellistOverrideElement* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_AddModellistOverrideElement>(Arena*); -template<> ::CUserMsg_ParticleManager_ChangeControlPointAttachment* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_ChangeControlPointAttachment>(Arena*); -template<> ::CUserMsg_ParticleManager_ClearModellistOverride* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_ClearModellistOverride>(Arena*); -template<> ::CUserMsg_ParticleManager_CreateParticle* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_CreateParticle>(Arena*); -template<> ::CUserMsg_ParticleManager_CreatePhysicsSim* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_CreatePhysicsSim>(Arena*); -template<> ::CUserMsg_ParticleManager_DestroyParticle* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_DestroyParticle>(Arena*); -template<> ::CUserMsg_ParticleManager_DestroyParticleInvolving* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_DestroyParticleInvolving>(Arena*); -template<> ::CUserMsg_ParticleManager_DestroyParticleNamed* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_DestroyParticleNamed>(Arena*); -template<> ::CUserMsg_ParticleManager_DestroyPhysicsSim* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_DestroyPhysicsSim>(Arena*); -template<> ::CUserMsg_ParticleManager_FreezeParticleInvolving* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_FreezeParticleInvolving>(Arena*); -template<> ::CUserMsg_ParticleManager_ParticleCanFreeze* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_ParticleCanFreeze>(Arena*); -template<> ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride>(Arena*); -template<> ::CUserMsg_ParticleManager_ParticleSkipToTime* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_ParticleSkipToTime>(Arena*); -template<> ::CUserMsg_ParticleManager_ReleaseParticleIndex* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_ReleaseParticleIndex>(Arena*); -template<> ::CUserMsg_ParticleManager_RemoveFan* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_RemoveFan>(Arena*); -template<> ::CUserMsg_ParticleManager_SetControlPointModel* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetControlPointModel>(Arena*); -template<> ::CUserMsg_ParticleManager_SetControlPointSnapshot* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetControlPointSnapshot>(Arena*); -template<> ::CUserMsg_ParticleManager_SetMaterialOverride* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetMaterialOverride>(Arena*); -template<> ::CUserMsg_ParticleManager_SetParticleClusterGrowth* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleClusterGrowth>(Arena*); -template<> ::CUserMsg_ParticleManager_SetParticleFoWProperties* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleFoWProperties>(Arena*); -template<> ::CUserMsg_ParticleManager_SetParticleNamedValueContext* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleNamedValueContext>(Arena*); -template<> ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext>(Arena*); -template<> ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue>(Arena*); -template<> ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue>(Arena*); -template<> ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue>(Arena*); -template<> ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleShouldCheckFoW>(Arena*); -template<> ::CUserMsg_ParticleManager_SetParticleText* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleText>(Arena*); -template<> ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetSceneObjectGenericFlag>(Arena*); -template<> ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat>(Arena*); -template<> ::CUserMsg_ParticleManager_SetTextureAttribute* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetTextureAttribute>(Arena*); -template<> ::CUserMsg_ParticleManager_SetVData* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_SetVData>(Arena*); -template<> ::CUserMsg_ParticleManager_UpdateEntityPosition* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateEntityPosition>(Arena*); -template<> ::CUserMsg_ParticleManager_UpdateFan* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateFan>(Arena*); -template<> ::CUserMsg_ParticleManager_UpdateParticleEnt* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleEnt>(Arena*); -template<> ::CUserMsg_ParticleManager_UpdateParticleFallback* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleFallback>(Arena*); -template<> ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE>(Arena*); -template<> ::CUserMsg_ParticleManager_UpdateParticleOffset* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleOffset>(Arena*); -template<> ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE>(Arena*); -template<> ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleSetFrozen>(Arena*); -template<> ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleShouldDraw>(Arena*); -template<> ::CUserMsg_ParticleManager_UpdateParticleTransform* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleTransform>(Arena*); -template<> ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* Arena::CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE>(Arena*); -PROTOBUF_NAMESPACE_CLOSE - -enum EBaseUserMessages : int { - UM_AchievementEvent = 101, - UM_CloseCaption = 102, - UM_CloseCaptionDirect = 103, - UM_CurrentTimescale = 104, - UM_DesiredTimescale = 105, - UM_Fade = 106, - UM_GameTitle = 107, - UM_HudMsg = 110, - UM_HudText = 111, - UM_ColoredText = 113, - UM_RequestState = 114, - UM_ResetHUD = 115, - UM_Rumble = 116, - UM_SayText = 117, - UM_SayText2 = 118, - UM_SayTextChannel = 119, - UM_Shake = 120, - UM_ShakeDir = 121, - UM_WaterShake = 122, - UM_TextMsg = 124, - UM_ScreenTilt = 125, - UM_VoiceMask = 128, - UM_SendAudio = 130, - UM_ItemPickup = 131, - UM_AmmoDenied = 132, - UM_ShowMenu = 134, - UM_CreditsMsg = 135, - UM_CloseCaptionPlaceholder = 142, - UM_CameraTransition = 143, - UM_AudioParameter = 144, - UM_ParticleManager = 145, - UM_HudError = 146, - UM_CustomGameEvent = 148, - UM_AnimGraphUpdate = 149, - UM_HapticsManagerPulse = 150, - UM_HapticsManagerEffect = 151, - UM_UpdateCssClasses = 153, - UM_ServerFrameTime = 154, - UM_LagCompensationError = 155, - UM_RequestDllStatus = 156, - UM_RequestUtilAction = 157, - UM_UtilActionResponse = 158, - UM_DllStatusResponse = 159, - UM_RequestInventory = 160, - UM_InventoryResponse = 161, - UM_RequestDiagnostic = 162, - UM_DiagnosticResponse = 163, - UM_ExtraUserData = 164, - UM_NotifyResponseFound = 165, - UM_PlayResponseConditional = 166, - UM_MAX_BASE = 200 -}; -bool EBaseUserMessages_IsValid(int value); -constexpr EBaseUserMessages EBaseUserMessages_MIN = UM_AchievementEvent; -constexpr EBaseUserMessages EBaseUserMessages_MAX = UM_MAX_BASE; -constexpr int EBaseUserMessages_ARRAYSIZE = EBaseUserMessages_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBaseUserMessages_descriptor(); -template -inline const std::string& EBaseUserMessages_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EBaseUserMessages_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EBaseUserMessages_descriptor(), enum_t_value); -} -inline bool EBaseUserMessages_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EBaseUserMessages* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EBaseUserMessages_descriptor(), name, value); -} -enum EBaseEntityMessages : int { - EM_PlayJingle = 136, - EM_ScreenOverlay = 137, - EM_RemoveAllDecals = 138, - EM_PropagateForce = 139, - EM_DoSpark = 140, - EM_FixAngle = 141 -}; -bool EBaseEntityMessages_IsValid(int value); -constexpr EBaseEntityMessages EBaseEntityMessages_MIN = EM_PlayJingle; -constexpr EBaseEntityMessages EBaseEntityMessages_MAX = EM_FixAngle; -constexpr int EBaseEntityMessages_ARRAYSIZE = EBaseEntityMessages_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EBaseEntityMessages_descriptor(); -template -inline const std::string& EBaseEntityMessages_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EBaseEntityMessages_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EBaseEntityMessages_descriptor(), enum_t_value); -} -inline bool EBaseEntityMessages_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EBaseEntityMessages* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EBaseEntityMessages_descriptor(), name, value); -} -enum eRollType : int { - ROLL_NONE = -1, - ROLL_STATS = 0, - ROLL_CREDITS = 1, - ROLL_LATE_JOIN_LOGO = 2, - ROLL_OUTTRO = 3 -}; -bool eRollType_IsValid(int value); -constexpr eRollType eRollType_MIN = ROLL_NONE; -constexpr eRollType eRollType_MAX = ROLL_OUTTRO; -constexpr int eRollType_ARRAYSIZE = eRollType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* eRollType_descriptor(); -template -inline const std::string& eRollType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function eRollType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - eRollType_descriptor(), enum_t_value); -} -inline bool eRollType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, eRollType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - eRollType_descriptor(), name, value); -} -enum PARTICLE_MESSAGE : int { - GAME_PARTICLE_MANAGER_EVENT_CREATE = 0, - GAME_PARTICLE_MANAGER_EVENT_UPDATE = 1, - GAME_PARTICLE_MANAGER_EVENT_UPDATE_FORWARD = 2, - GAME_PARTICLE_MANAGER_EVENT_UPDATE_ORIENTATION = 3, - GAME_PARTICLE_MANAGER_EVENT_UPDATE_FALLBACK = 4, - GAME_PARTICLE_MANAGER_EVENT_UPDATE_ENT = 5, - GAME_PARTICLE_MANAGER_EVENT_UPDATE_OFFSET = 6, - GAME_PARTICLE_MANAGER_EVENT_DESTROY = 7, - GAME_PARTICLE_MANAGER_EVENT_DESTROY_INVOLVING = 8, - GAME_PARTICLE_MANAGER_EVENT_RELEASE = 9, - GAME_PARTICLE_MANAGER_EVENT_LATENCY = 10, - GAME_PARTICLE_MANAGER_EVENT_SHOULD_DRAW = 11, - GAME_PARTICLE_MANAGER_EVENT_FROZEN = 12, - GAME_PARTICLE_MANAGER_EVENT_CHANGE_CONTROL_POINT_ATTACHMENT = 13, - GAME_PARTICLE_MANAGER_EVENT_UPDATE_ENTITY_POSITION = 14, - GAME_PARTICLE_MANAGER_EVENT_SET_FOW_PROPERTIES = 15, - GAME_PARTICLE_MANAGER_EVENT_SET_TEXT = 16, - GAME_PARTICLE_MANAGER_EVENT_SET_SHOULD_CHECK_FOW = 17, - GAME_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_MODEL = 18, - GAME_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_SNAPSHOT = 19, - GAME_PARTICLE_MANAGER_EVENT_SET_TEXTURE_ATTRIBUTE = 20, - GAME_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_GENERIC_FLAG = 21, - GAME_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_TINT_AND_DESAT = 22, - GAME_PARTICLE_MANAGER_EVENT_DESTROY_NAMED = 23, - GAME_PARTICLE_MANAGER_EVENT_SKIP_TO_TIME = 24, - GAME_PARTICLE_MANAGER_EVENT_CAN_FREEZE = 25, - GAME_PARTICLE_MANAGER_EVENT_SET_NAMED_VALUE_CONTEXT = 26, - GAME_PARTICLE_MANAGER_EVENT_UPDATE_TRANSFORM = 27, - GAME_PARTICLE_MANAGER_EVENT_FREEZE_TRANSITION_OVERRIDE = 28, - GAME_PARTICLE_MANAGER_EVENT_FREEZE_INVOLVING = 29, - GAME_PARTICLE_MANAGER_EVENT_ADD_MODELLIST_OVERRIDE_ELEMENT = 30, - GAME_PARTICLE_MANAGER_EVENT_CLEAR_MODELLIST_OVERRIDE = 31, - GAME_PARTICLE_MANAGER_EVENT_CREATE_PHYSICS_SIM = 32, - GAME_PARTICLE_MANAGER_EVENT_DESTROY_PHYSICS_SIM = 33, - GAME_PARTICLE_MANAGER_EVENT_SET_VDATA = 34, - GAME_PARTICLE_MANAGER_EVENT_SET_MATERIAL_OVERRIDE = 35, - GAME_PARTICLE_MANAGER_EVENT_ADD_FAN = 36, - GAME_PARTICLE_MANAGER_EVENT_UPDATE_FAN = 37, - GAME_PARTICLE_MANAGER_EVENT_SET_CLUSTER_GROWTH = 38, - GAME_PARTICLE_MANAGER_EVENT_REMOVE_FAN = 39 -}; -bool PARTICLE_MESSAGE_IsValid(int value); -constexpr PARTICLE_MESSAGE PARTICLE_MESSAGE_MIN = GAME_PARTICLE_MANAGER_EVENT_CREATE; -constexpr PARTICLE_MESSAGE PARTICLE_MESSAGE_MAX = GAME_PARTICLE_MANAGER_EVENT_REMOVE_FAN; -constexpr int PARTICLE_MESSAGE_ARRAYSIZE = PARTICLE_MESSAGE_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PARTICLE_MESSAGE_descriptor(); -template -inline const std::string& PARTICLE_MESSAGE_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function PARTICLE_MESSAGE_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - PARTICLE_MESSAGE_descriptor(), enum_t_value); -} -inline bool PARTICLE_MESSAGE_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PARTICLE_MESSAGE* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - PARTICLE_MESSAGE_descriptor(), name, value); -} -enum EHapticPulseType : int { - VR_HAND_HAPTIC_PULSE_LIGHT = 0, - VR_HAND_HAPTIC_PULSE_MEDIUM = 1, - VR_HAND_HAPTIC_PULSE_STRONG = 2 -}; -bool EHapticPulseType_IsValid(int value); -constexpr EHapticPulseType EHapticPulseType_MIN = VR_HAND_HAPTIC_PULSE_LIGHT; -constexpr EHapticPulseType EHapticPulseType_MAX = VR_HAND_HAPTIC_PULSE_STRONG; -constexpr int EHapticPulseType_ARRAYSIZE = EHapticPulseType_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EHapticPulseType_descriptor(); -template -inline const std::string& EHapticPulseType_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EHapticPulseType_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EHapticPulseType_descriptor(), enum_t_value); -} -inline bool EHapticPulseType_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EHapticPulseType* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EHapticPulseType_descriptor(), name, value); -} -// =================================================================== - -class CUserMessageAchievementEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageAchievementEvent) */ { - public: - inline CUserMessageAchievementEvent() : CUserMessageAchievementEvent(nullptr) {} - ~CUserMessageAchievementEvent() override; - explicit PROTOBUF_CONSTEXPR CUserMessageAchievementEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageAchievementEvent(const CUserMessageAchievementEvent& from); - CUserMessageAchievementEvent(CUserMessageAchievementEvent&& from) noexcept - : CUserMessageAchievementEvent() { - *this = ::std::move(from); - } - - inline CUserMessageAchievementEvent& operator=(const CUserMessageAchievementEvent& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageAchievementEvent& operator=(CUserMessageAchievementEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageAchievementEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageAchievementEvent* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageAchievementEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(CUserMessageAchievementEvent& a, CUserMessageAchievementEvent& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageAchievementEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageAchievementEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageAchievementEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageAchievementEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageAchievementEvent& from) { - CUserMessageAchievementEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageAchievementEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageAchievementEvent"; - } - protected: - explicit CUserMessageAchievementEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAchievementFieldNumber = 1, - }; - // optional uint32 achievement = 1; - bool has_achievement() const; - private: - bool _internal_has_achievement() const; - public: - void clear_achievement(); - uint32_t achievement() const; - void set_achievement(uint32_t value); - private: - uint32_t _internal_achievement() const; - void _internal_set_achievement(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageAchievementEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t achievement_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageCloseCaption : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageCloseCaption) */ { - public: - inline CUserMessageCloseCaption() : CUserMessageCloseCaption(nullptr) {} - ~CUserMessageCloseCaption() override; - explicit PROTOBUF_CONSTEXPR CUserMessageCloseCaption(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageCloseCaption(const CUserMessageCloseCaption& from); - CUserMessageCloseCaption(CUserMessageCloseCaption&& from) noexcept - : CUserMessageCloseCaption() { - *this = ::std::move(from); - } - - inline CUserMessageCloseCaption& operator=(const CUserMessageCloseCaption& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageCloseCaption& operator=(CUserMessageCloseCaption&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageCloseCaption& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageCloseCaption* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageCloseCaption_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(CUserMessageCloseCaption& a, CUserMessageCloseCaption& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageCloseCaption* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageCloseCaption* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageCloseCaption* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageCloseCaption& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageCloseCaption& from) { - CUserMessageCloseCaption::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageCloseCaption* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageCloseCaption"; - } - protected: - explicit CUserMessageCloseCaption(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kHashFieldNumber = 1, - kDurationFieldNumber = 2, - kFromPlayerFieldNumber = 3, - kEntIndexFieldNumber = 4, - }; - // optional fixed32 hash = 1; - bool has_hash() const; - private: - bool _internal_has_hash() const; - public: - void clear_hash(); - uint32_t hash() const; - void set_hash(uint32_t value); - private: - uint32_t _internal_hash() const; - void _internal_set_hash(uint32_t value); - public: - - // optional float duration = 2; - bool has_duration() const; - private: - bool _internal_has_duration() const; - public: - void clear_duration(); - float duration() const; - void set_duration(float value); - private: - float _internal_duration() const; - void _internal_set_duration(float value); - public: - - // optional bool from_player = 3; - bool has_from_player() const; - private: - bool _internal_has_from_player() const; - public: - void clear_from_player(); - bool from_player() const; - void set_from_player(bool value); - private: - bool _internal_from_player() const; - void _internal_set_from_player(bool value); - public: - - // optional int32 ent_index = 4 [default = -1]; - bool has_ent_index() const; - private: - bool _internal_has_ent_index() const; - public: - void clear_ent_index(); - int32_t ent_index() const; - void set_ent_index(int32_t value); - private: - int32_t _internal_ent_index() const; - void _internal_set_ent_index(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageCloseCaption) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t hash_; - float duration_; - bool from_player_; - int32_t ent_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageCloseCaptionDirect : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageCloseCaptionDirect) */ { - public: - inline CUserMessageCloseCaptionDirect() : CUserMessageCloseCaptionDirect(nullptr) {} - ~CUserMessageCloseCaptionDirect() override; - explicit PROTOBUF_CONSTEXPR CUserMessageCloseCaptionDirect(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageCloseCaptionDirect(const CUserMessageCloseCaptionDirect& from); - CUserMessageCloseCaptionDirect(CUserMessageCloseCaptionDirect&& from) noexcept - : CUserMessageCloseCaptionDirect() { - *this = ::std::move(from); - } - - inline CUserMessageCloseCaptionDirect& operator=(const CUserMessageCloseCaptionDirect& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageCloseCaptionDirect& operator=(CUserMessageCloseCaptionDirect&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageCloseCaptionDirect& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageCloseCaptionDirect* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageCloseCaptionDirect_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(CUserMessageCloseCaptionDirect& a, CUserMessageCloseCaptionDirect& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageCloseCaptionDirect* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageCloseCaptionDirect* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageCloseCaptionDirect* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageCloseCaptionDirect& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageCloseCaptionDirect& from) { - CUserMessageCloseCaptionDirect::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageCloseCaptionDirect* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageCloseCaptionDirect"; - } - protected: - explicit CUserMessageCloseCaptionDirect(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kHashFieldNumber = 1, - kDurationFieldNumber = 2, - kFromPlayerFieldNumber = 3, - kEntIndexFieldNumber = 4, - }; - // optional fixed32 hash = 1; - bool has_hash() const; - private: - bool _internal_has_hash() const; - public: - void clear_hash(); - uint32_t hash() const; - void set_hash(uint32_t value); - private: - uint32_t _internal_hash() const; - void _internal_set_hash(uint32_t value); - public: - - // optional float duration = 2; - bool has_duration() const; - private: - bool _internal_has_duration() const; - public: - void clear_duration(); - float duration() const; - void set_duration(float value); - private: - float _internal_duration() const; - void _internal_set_duration(float value); - public: - - // optional bool from_player = 3; - bool has_from_player() const; - private: - bool _internal_has_from_player() const; - public: - void clear_from_player(); - bool from_player() const; - void set_from_player(bool value); - private: - bool _internal_from_player() const; - void _internal_set_from_player(bool value); - public: - - // optional int32 ent_index = 4 [default = -1]; - bool has_ent_index() const; - private: - bool _internal_has_ent_index() const; - public: - void clear_ent_index(); - int32_t ent_index() const; - void set_ent_index(int32_t value); - private: - int32_t _internal_ent_index() const; - void _internal_set_ent_index(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageCloseCaptionDirect) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t hash_; - float duration_; - bool from_player_; - int32_t ent_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageCloseCaptionPlaceholder : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageCloseCaptionPlaceholder) */ { - public: - inline CUserMessageCloseCaptionPlaceholder() : CUserMessageCloseCaptionPlaceholder(nullptr) {} - ~CUserMessageCloseCaptionPlaceholder() override; - explicit PROTOBUF_CONSTEXPR CUserMessageCloseCaptionPlaceholder(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageCloseCaptionPlaceholder(const CUserMessageCloseCaptionPlaceholder& from); - CUserMessageCloseCaptionPlaceholder(CUserMessageCloseCaptionPlaceholder&& from) noexcept - : CUserMessageCloseCaptionPlaceholder() { - *this = ::std::move(from); - } - - inline CUserMessageCloseCaptionPlaceholder& operator=(const CUserMessageCloseCaptionPlaceholder& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageCloseCaptionPlaceholder& operator=(CUserMessageCloseCaptionPlaceholder&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageCloseCaptionPlaceholder& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageCloseCaptionPlaceholder* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageCloseCaptionPlaceholder_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(CUserMessageCloseCaptionPlaceholder& a, CUserMessageCloseCaptionPlaceholder& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageCloseCaptionPlaceholder* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageCloseCaptionPlaceholder* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageCloseCaptionPlaceholder* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageCloseCaptionPlaceholder& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageCloseCaptionPlaceholder& from) { - CUserMessageCloseCaptionPlaceholder::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageCloseCaptionPlaceholder* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageCloseCaptionPlaceholder"; - } - protected: - explicit CUserMessageCloseCaptionPlaceholder(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStringFieldNumber = 1, - kDurationFieldNumber = 2, - kFromPlayerFieldNumber = 3, - kEntIndexFieldNumber = 4, - }; - // optional string string = 1; - bool has_string() const; - private: - bool _internal_has_string() const; - public: - void clear_string(); - const std::string& string() const; - template - void set_string(ArgT0&& arg0, ArgT... args); - std::string* mutable_string(); - PROTOBUF_NODISCARD std::string* release_string(); - void set_allocated_string(std::string* string); - private: - const std::string& _internal_string() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_string(const std::string& value); - std::string* _internal_mutable_string(); - public: - - // optional float duration = 2; - bool has_duration() const; - private: - bool _internal_has_duration() const; - public: - void clear_duration(); - float duration() const; - void set_duration(float value); - private: - float _internal_duration() const; - void _internal_set_duration(float value); - public: - - // optional bool from_player = 3; - bool has_from_player() const; - private: - bool _internal_has_from_player() const; - public: - void clear_from_player(); - bool from_player() const; - void set_from_player(bool value); - private: - bool _internal_from_player() const; - void _internal_set_from_player(bool value); - public: - - // optional int32 ent_index = 4 [default = -1]; - bool has_ent_index() const; - private: - bool _internal_has_ent_index() const; - public: - void clear_ent_index(); - int32_t ent_index() const; - void set_ent_index(int32_t value); - private: - int32_t _internal_ent_index() const; - void _internal_set_ent_index(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageCloseCaptionPlaceholder) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_; - float duration_; - bool from_player_; - int32_t ent_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageCurrentTimescale : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageCurrentTimescale) */ { - public: - inline CUserMessageCurrentTimescale() : CUserMessageCurrentTimescale(nullptr) {} - ~CUserMessageCurrentTimescale() override; - explicit PROTOBUF_CONSTEXPR CUserMessageCurrentTimescale(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageCurrentTimescale(const CUserMessageCurrentTimescale& from); - CUserMessageCurrentTimescale(CUserMessageCurrentTimescale&& from) noexcept - : CUserMessageCurrentTimescale() { - *this = ::std::move(from); - } - - inline CUserMessageCurrentTimescale& operator=(const CUserMessageCurrentTimescale& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageCurrentTimescale& operator=(CUserMessageCurrentTimescale&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageCurrentTimescale& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageCurrentTimescale* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageCurrentTimescale_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(CUserMessageCurrentTimescale& a, CUserMessageCurrentTimescale& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageCurrentTimescale* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageCurrentTimescale* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageCurrentTimescale* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageCurrentTimescale& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageCurrentTimescale& from) { - CUserMessageCurrentTimescale::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageCurrentTimescale* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageCurrentTimescale"; - } - protected: - explicit CUserMessageCurrentTimescale(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCurrentFieldNumber = 1, - }; - // optional float current = 1; - bool has_current() const; - private: - bool _internal_has_current() const; - public: - void clear_current(); - float current() const; - void set_current(float value); - private: - float _internal_current() const; - void _internal_set_current(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageCurrentTimescale) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float current_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageDesiredTimescale : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageDesiredTimescale) */ { - public: - inline CUserMessageDesiredTimescale() : CUserMessageDesiredTimescale(nullptr) {} - ~CUserMessageDesiredTimescale() override; - explicit PROTOBUF_CONSTEXPR CUserMessageDesiredTimescale(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageDesiredTimescale(const CUserMessageDesiredTimescale& from); - CUserMessageDesiredTimescale(CUserMessageDesiredTimescale&& from) noexcept - : CUserMessageDesiredTimescale() { - *this = ::std::move(from); - } - - inline CUserMessageDesiredTimescale& operator=(const CUserMessageDesiredTimescale& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageDesiredTimescale& operator=(CUserMessageDesiredTimescale&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageDesiredTimescale& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageDesiredTimescale* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageDesiredTimescale_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(CUserMessageDesiredTimescale& a, CUserMessageDesiredTimescale& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageDesiredTimescale* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageDesiredTimescale* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageDesiredTimescale* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageDesiredTimescale& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageDesiredTimescale& from) { - CUserMessageDesiredTimescale::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageDesiredTimescale* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageDesiredTimescale"; - } - protected: - explicit CUserMessageDesiredTimescale(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDesiredFieldNumber = 1, - kAccelerationFieldNumber = 2, - kMinblendrateFieldNumber = 3, - kBlenddeltamultiplierFieldNumber = 4, - }; - // optional float desired = 1; - bool has_desired() const; - private: - bool _internal_has_desired() const; - public: - void clear_desired(); - float desired() const; - void set_desired(float value); - private: - float _internal_desired() const; - void _internal_set_desired(float value); - public: - - // optional float acceleration = 2; - bool has_acceleration() const; - private: - bool _internal_has_acceleration() const; - public: - void clear_acceleration(); - float acceleration() const; - void set_acceleration(float value); - private: - float _internal_acceleration() const; - void _internal_set_acceleration(float value); - public: - - // optional float minblendrate = 3; - bool has_minblendrate() const; - private: - bool _internal_has_minblendrate() const; - public: - void clear_minblendrate(); - float minblendrate() const; - void set_minblendrate(float value); - private: - float _internal_minblendrate() const; - void _internal_set_minblendrate(float value); - public: - - // optional float blenddeltamultiplier = 4; - bool has_blenddeltamultiplier() const; - private: - bool _internal_has_blenddeltamultiplier() const; - public: - void clear_blenddeltamultiplier(); - float blenddeltamultiplier() const; - void set_blenddeltamultiplier(float value); - private: - float _internal_blenddeltamultiplier() const; - void _internal_set_blenddeltamultiplier(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageDesiredTimescale) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float desired_; - float acceleration_; - float minblendrate_; - float blenddeltamultiplier_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageFade : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageFade) */ { - public: - inline CUserMessageFade() : CUserMessageFade(nullptr) {} - ~CUserMessageFade() override; - explicit PROTOBUF_CONSTEXPR CUserMessageFade(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageFade(const CUserMessageFade& from); - CUserMessageFade(CUserMessageFade&& from) noexcept - : CUserMessageFade() { - *this = ::std::move(from); - } - - inline CUserMessageFade& operator=(const CUserMessageFade& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageFade& operator=(CUserMessageFade&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageFade& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageFade* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageFade_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(CUserMessageFade& a, CUserMessageFade& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageFade* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageFade* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageFade* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageFade& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageFade& from) { - CUserMessageFade::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageFade* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageFade"; - } - protected: - explicit CUserMessageFade(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDurationFieldNumber = 1, - kHoldTimeFieldNumber = 2, - kFlagsFieldNumber = 3, - kColorFieldNumber = 4, - }; - // optional uint32 duration = 1; - bool has_duration() const; - private: - bool _internal_has_duration() const; - public: - void clear_duration(); - uint32_t duration() const; - void set_duration(uint32_t value); - private: - uint32_t _internal_duration() const; - void _internal_set_duration(uint32_t value); - public: - - // optional uint32 hold_time = 2; - bool has_hold_time() const; - private: - bool _internal_has_hold_time() const; - public: - void clear_hold_time(); - uint32_t hold_time() const; - void set_hold_time(uint32_t value); - private: - uint32_t _internal_hold_time() const; - void _internal_set_hold_time(uint32_t value); - public: - - // optional uint32 flags = 3; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - uint32_t flags() const; - void set_flags(uint32_t value); - private: - uint32_t _internal_flags() const; - void _internal_set_flags(uint32_t value); - public: - - // optional fixed32 color = 4; - bool has_color() const; - private: - bool _internal_has_color() const; - public: - void clear_color(); - uint32_t color() const; - void set_color(uint32_t value); - private: - uint32_t _internal_color() const; - void _internal_set_color(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageFade) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t duration_; - uint32_t hold_time_; - uint32_t flags_; - uint32_t color_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageShake : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageShake) */ { - public: - inline CUserMessageShake() : CUserMessageShake(nullptr) {} - ~CUserMessageShake() override; - explicit PROTOBUF_CONSTEXPR CUserMessageShake(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageShake(const CUserMessageShake& from); - CUserMessageShake(CUserMessageShake&& from) noexcept - : CUserMessageShake() { - *this = ::std::move(from); - } - - inline CUserMessageShake& operator=(const CUserMessageShake& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageShake& operator=(CUserMessageShake&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageShake& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageShake* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageShake_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(CUserMessageShake& a, CUserMessageShake& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageShake* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageShake* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageShake* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageShake& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageShake& from) { - CUserMessageShake::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageShake* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageShake"; - } - protected: - explicit CUserMessageShake(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCommandFieldNumber = 1, - kAmplitudeFieldNumber = 2, - kFrequencyFieldNumber = 3, - kDurationFieldNumber = 4, - }; - // optional uint32 command = 1; - bool has_command() const; - private: - bool _internal_has_command() const; - public: - void clear_command(); - uint32_t command() const; - void set_command(uint32_t value); - private: - uint32_t _internal_command() const; - void _internal_set_command(uint32_t value); - public: - - // optional float amplitude = 2; - bool has_amplitude() const; - private: - bool _internal_has_amplitude() const; - public: - void clear_amplitude(); - float amplitude() const; - void set_amplitude(float value); - private: - float _internal_amplitude() const; - void _internal_set_amplitude(float value); - public: - - // optional float frequency = 3; - bool has_frequency() const; - private: - bool _internal_has_frequency() const; - public: - void clear_frequency(); - float frequency() const; - void set_frequency(float value); - private: - float _internal_frequency() const; - void _internal_set_frequency(float value); - public: - - // optional float duration = 4; - bool has_duration() const; - private: - bool _internal_has_duration() const; - public: - void clear_duration(); - float duration() const; - void set_duration(float value); - private: - float _internal_duration() const; - void _internal_set_duration(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageShake) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t command_; - float amplitude_; - float frequency_; - float duration_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageShakeDir : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageShakeDir) */ { - public: - inline CUserMessageShakeDir() : CUserMessageShakeDir(nullptr) {} - ~CUserMessageShakeDir() override; - explicit PROTOBUF_CONSTEXPR CUserMessageShakeDir(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageShakeDir(const CUserMessageShakeDir& from); - CUserMessageShakeDir(CUserMessageShakeDir&& from) noexcept - : CUserMessageShakeDir() { - *this = ::std::move(from); - } - - inline CUserMessageShakeDir& operator=(const CUserMessageShakeDir& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageShakeDir& operator=(CUserMessageShakeDir&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageShakeDir& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageShakeDir* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageShakeDir_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(CUserMessageShakeDir& a, CUserMessageShakeDir& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageShakeDir* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageShakeDir* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageShakeDir* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageShakeDir& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageShakeDir& from) { - CUserMessageShakeDir::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageShakeDir* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageShakeDir"; - } - protected: - explicit CUserMessageShakeDir(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kShakeFieldNumber = 1, - kDirectionFieldNumber = 2, - }; - // optional .CUserMessageShake shake = 1; - bool has_shake() const; - private: - bool _internal_has_shake() const; - public: - void clear_shake(); - const ::CUserMessageShake& shake() const; - PROTOBUF_NODISCARD ::CUserMessageShake* release_shake(); - ::CUserMessageShake* mutable_shake(); - void set_allocated_shake(::CUserMessageShake* shake); - private: - const ::CUserMessageShake& _internal_shake() const; - ::CUserMessageShake* _internal_mutable_shake(); - public: - void unsafe_arena_set_allocated_shake( - ::CUserMessageShake* shake); - ::CUserMessageShake* unsafe_arena_release_shake(); - - // optional .CMsgVector direction = 2; - bool has_direction() const; - private: - bool _internal_has_direction() const; - public: - void clear_direction(); - const ::CMsgVector& direction() const; - PROTOBUF_NODISCARD ::CMsgVector* release_direction(); - ::CMsgVector* mutable_direction(); - void set_allocated_direction(::CMsgVector* direction); - private: - const ::CMsgVector& _internal_direction() const; - ::CMsgVector* _internal_mutable_direction(); - public: - void unsafe_arena_set_allocated_direction( - ::CMsgVector* direction); - ::CMsgVector* unsafe_arena_release_direction(); - - // @@protoc_insertion_point(class_scope:CUserMessageShakeDir) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CUserMessageShake* shake_; - ::CMsgVector* direction_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageWaterShake : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageWaterShake) */ { - public: - inline CUserMessageWaterShake() : CUserMessageWaterShake(nullptr) {} - ~CUserMessageWaterShake() override; - explicit PROTOBUF_CONSTEXPR CUserMessageWaterShake(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageWaterShake(const CUserMessageWaterShake& from); - CUserMessageWaterShake(CUserMessageWaterShake&& from) noexcept - : CUserMessageWaterShake() { - *this = ::std::move(from); - } - - inline CUserMessageWaterShake& operator=(const CUserMessageWaterShake& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageWaterShake& operator=(CUserMessageWaterShake&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageWaterShake& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageWaterShake* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageWaterShake_default_instance_); - } - static constexpr int kIndexInFileMessages = - 9; - - friend void swap(CUserMessageWaterShake& a, CUserMessageWaterShake& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageWaterShake* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageWaterShake* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageWaterShake* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageWaterShake& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageWaterShake& from) { - CUserMessageWaterShake::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageWaterShake* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageWaterShake"; - } - protected: - explicit CUserMessageWaterShake(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCommandFieldNumber = 1, - kAmplitudeFieldNumber = 2, - kFrequencyFieldNumber = 3, - kDurationFieldNumber = 4, - }; - // optional uint32 command = 1; - bool has_command() const; - private: - bool _internal_has_command() const; - public: - void clear_command(); - uint32_t command() const; - void set_command(uint32_t value); - private: - uint32_t _internal_command() const; - void _internal_set_command(uint32_t value); - public: - - // optional float amplitude = 2; - bool has_amplitude() const; - private: - bool _internal_has_amplitude() const; - public: - void clear_amplitude(); - float amplitude() const; - void set_amplitude(float value); - private: - float _internal_amplitude() const; - void _internal_set_amplitude(float value); - public: - - // optional float frequency = 3; - bool has_frequency() const; - private: - bool _internal_has_frequency() const; - public: - void clear_frequency(); - float frequency() const; - void set_frequency(float value); - private: - float _internal_frequency() const; - void _internal_set_frequency(float value); - public: - - // optional float duration = 4; - bool has_duration() const; - private: - bool _internal_has_duration() const; - public: - void clear_duration(); - float duration() const; - void set_duration(float value); - private: - float _internal_duration() const; - void _internal_set_duration(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageWaterShake) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t command_; - float amplitude_; - float frequency_; - float duration_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageScreenTilt : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageScreenTilt) */ { - public: - inline CUserMessageScreenTilt() : CUserMessageScreenTilt(nullptr) {} - ~CUserMessageScreenTilt() override; - explicit PROTOBUF_CONSTEXPR CUserMessageScreenTilt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageScreenTilt(const CUserMessageScreenTilt& from); - CUserMessageScreenTilt(CUserMessageScreenTilt&& from) noexcept - : CUserMessageScreenTilt() { - *this = ::std::move(from); - } - - inline CUserMessageScreenTilt& operator=(const CUserMessageScreenTilt& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageScreenTilt& operator=(CUserMessageScreenTilt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageScreenTilt& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageScreenTilt* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageScreenTilt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 10; - - friend void swap(CUserMessageScreenTilt& a, CUserMessageScreenTilt& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageScreenTilt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageScreenTilt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageScreenTilt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageScreenTilt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageScreenTilt& from) { - CUserMessageScreenTilt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageScreenTilt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageScreenTilt"; - } - protected: - explicit CUserMessageScreenTilt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAngleFieldNumber = 3, - kCommandFieldNumber = 1, - kEaseInOutFieldNumber = 2, - kDurationFieldNumber = 4, - kTimeFieldNumber = 5, - }; - // optional .CMsgVector angle = 3; - bool has_angle() const; - private: - bool _internal_has_angle() const; - public: - void clear_angle(); - const ::CMsgVector& angle() const; - PROTOBUF_NODISCARD ::CMsgVector* release_angle(); - ::CMsgVector* mutable_angle(); - void set_allocated_angle(::CMsgVector* angle); - private: - const ::CMsgVector& _internal_angle() const; - ::CMsgVector* _internal_mutable_angle(); - public: - void unsafe_arena_set_allocated_angle( - ::CMsgVector* angle); - ::CMsgVector* unsafe_arena_release_angle(); - - // optional uint32 command = 1; - bool has_command() const; - private: - bool _internal_has_command() const; - public: - void clear_command(); - uint32_t command() const; - void set_command(uint32_t value); - private: - uint32_t _internal_command() const; - void _internal_set_command(uint32_t value); - public: - - // optional bool ease_in_out = 2; - bool has_ease_in_out() const; - private: - bool _internal_has_ease_in_out() const; - public: - void clear_ease_in_out(); - bool ease_in_out() const; - void set_ease_in_out(bool value); - private: - bool _internal_ease_in_out() const; - void _internal_set_ease_in_out(bool value); - public: - - // optional float duration = 4; - bool has_duration() const; - private: - bool _internal_has_duration() const; - public: - void clear_duration(); - float duration() const; - void set_duration(float value); - private: - float _internal_duration() const; - void _internal_set_duration(float value); - public: - - // optional float time = 5; - bool has_time() const; - private: - bool _internal_has_time() const; - public: - void clear_time(); - float time() const; - void set_time(float value); - private: - float _internal_time() const; - void _internal_set_time(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageScreenTilt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* angle_; - uint32_t command_; - bool ease_in_out_; - float duration_; - float time_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageSayText : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageSayText) */ { - public: - inline CUserMessageSayText() : CUserMessageSayText(nullptr) {} - ~CUserMessageSayText() override; - explicit PROTOBUF_CONSTEXPR CUserMessageSayText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageSayText(const CUserMessageSayText& from); - CUserMessageSayText(CUserMessageSayText&& from) noexcept - : CUserMessageSayText() { - *this = ::std::move(from); - } - - inline CUserMessageSayText& operator=(const CUserMessageSayText& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageSayText& operator=(CUserMessageSayText&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageSayText& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageSayText* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageSayText_default_instance_); - } - static constexpr int kIndexInFileMessages = - 11; - - friend void swap(CUserMessageSayText& a, CUserMessageSayText& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageSayText* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageSayText* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageSayText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageSayText& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageSayText& from) { - CUserMessageSayText::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageSayText* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageSayText"; - } - protected: - explicit CUserMessageSayText(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTextFieldNumber = 2, - kChatFieldNumber = 3, - kPlayerindexFieldNumber = 1, - }; - // optional string text = 2; - bool has_text() const; - private: - bool _internal_has_text() const; - public: - void clear_text(); - const std::string& text() const; - template - void set_text(ArgT0&& arg0, ArgT... args); - std::string* mutable_text(); - PROTOBUF_NODISCARD std::string* release_text(); - void set_allocated_text(std::string* text); - private: - const std::string& _internal_text() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value); - std::string* _internal_mutable_text(); - public: - - // optional bool chat = 3; - bool has_chat() const; - private: - bool _internal_has_chat() const; - public: - void clear_chat(); - bool chat() const; - void set_chat(bool value); - private: - bool _internal_chat() const; - void _internal_set_chat(bool value); - public: - - // optional int32 playerindex = 1 [default = -1]; - bool has_playerindex() const; - private: - bool _internal_has_playerindex() const; - public: - void clear_playerindex(); - int32_t playerindex() const; - void set_playerindex(int32_t value); - private: - int32_t _internal_playerindex() const; - void _internal_set_playerindex(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageSayText) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; - bool chat_; - int32_t playerindex_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageSayText2 : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageSayText2) */ { - public: - inline CUserMessageSayText2() : CUserMessageSayText2(nullptr) {} - ~CUserMessageSayText2() override; - explicit PROTOBUF_CONSTEXPR CUserMessageSayText2(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageSayText2(const CUserMessageSayText2& from); - CUserMessageSayText2(CUserMessageSayText2&& from) noexcept - : CUserMessageSayText2() { - *this = ::std::move(from); - } - - inline CUserMessageSayText2& operator=(const CUserMessageSayText2& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageSayText2& operator=(CUserMessageSayText2&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageSayText2& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageSayText2* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageSayText2_default_instance_); - } - static constexpr int kIndexInFileMessages = - 12; - - friend void swap(CUserMessageSayText2& a, CUserMessageSayText2& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageSayText2* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageSayText2* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageSayText2* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageSayText2& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageSayText2& from) { - CUserMessageSayText2::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageSayText2* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageSayText2"; - } - protected: - explicit CUserMessageSayText2(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMessagenameFieldNumber = 3, - kParam1FieldNumber = 4, - kParam2FieldNumber = 5, - kParam3FieldNumber = 6, - kParam4FieldNumber = 7, - kChatFieldNumber = 2, - kEntityindexFieldNumber = 1, - }; - // optional string messagename = 3; - bool has_messagename() const; - private: - bool _internal_has_messagename() const; - public: - void clear_messagename(); - const std::string& messagename() const; - template - void set_messagename(ArgT0&& arg0, ArgT... args); - std::string* mutable_messagename(); - PROTOBUF_NODISCARD std::string* release_messagename(); - void set_allocated_messagename(std::string* messagename); - private: - const std::string& _internal_messagename() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_messagename(const std::string& value); - std::string* _internal_mutable_messagename(); - public: - - // optional string param1 = 4; - bool has_param1() const; - private: - bool _internal_has_param1() const; - public: - void clear_param1(); - const std::string& param1() const; - template - void set_param1(ArgT0&& arg0, ArgT... args); - std::string* mutable_param1(); - PROTOBUF_NODISCARD std::string* release_param1(); - void set_allocated_param1(std::string* param1); - private: - const std::string& _internal_param1() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_param1(const std::string& value); - std::string* _internal_mutable_param1(); - public: - - // optional string param2 = 5; - bool has_param2() const; - private: - bool _internal_has_param2() const; - public: - void clear_param2(); - const std::string& param2() const; - template - void set_param2(ArgT0&& arg0, ArgT... args); - std::string* mutable_param2(); - PROTOBUF_NODISCARD std::string* release_param2(); - void set_allocated_param2(std::string* param2); - private: - const std::string& _internal_param2() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_param2(const std::string& value); - std::string* _internal_mutable_param2(); - public: - - // optional string param3 = 6; - bool has_param3() const; - private: - bool _internal_has_param3() const; - public: - void clear_param3(); - const std::string& param3() const; - template - void set_param3(ArgT0&& arg0, ArgT... args); - std::string* mutable_param3(); - PROTOBUF_NODISCARD std::string* release_param3(); - void set_allocated_param3(std::string* param3); - private: - const std::string& _internal_param3() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_param3(const std::string& value); - std::string* _internal_mutable_param3(); - public: - - // optional string param4 = 7; - bool has_param4() const; - private: - bool _internal_has_param4() const; - public: - void clear_param4(); - const std::string& param4() const; - template - void set_param4(ArgT0&& arg0, ArgT... args); - std::string* mutable_param4(); - PROTOBUF_NODISCARD std::string* release_param4(); - void set_allocated_param4(std::string* param4); - private: - const std::string& _internal_param4() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_param4(const std::string& value); - std::string* _internal_mutable_param4(); - public: - - // optional bool chat = 2; - bool has_chat() const; - private: - bool _internal_has_chat() const; - public: - void clear_chat(); - bool chat() const; - void set_chat(bool value); - private: - bool _internal_chat() const; - void _internal_set_chat(bool value); - public: - - // optional int32 entityindex = 1 [default = -1]; - bool has_entityindex() const; - private: - bool _internal_has_entityindex() const; - public: - void clear_entityindex(); - int32_t entityindex() const; - void set_entityindex(int32_t value); - private: - int32_t _internal_entityindex() const; - void _internal_set_entityindex(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageSayText2) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr messagename_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr param1_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr param2_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr param3_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr param4_; - bool chat_; - int32_t entityindex_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageHudMsg : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageHudMsg) */ { - public: - inline CUserMessageHudMsg() : CUserMessageHudMsg(nullptr) {} - ~CUserMessageHudMsg() override; - explicit PROTOBUF_CONSTEXPR CUserMessageHudMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageHudMsg(const CUserMessageHudMsg& from); - CUserMessageHudMsg(CUserMessageHudMsg&& from) noexcept - : CUserMessageHudMsg() { - *this = ::std::move(from); - } - - inline CUserMessageHudMsg& operator=(const CUserMessageHudMsg& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageHudMsg& operator=(CUserMessageHudMsg&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageHudMsg& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageHudMsg* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageHudMsg_default_instance_); - } - static constexpr int kIndexInFileMessages = - 13; - - friend void swap(CUserMessageHudMsg& a, CUserMessageHudMsg& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageHudMsg* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageHudMsg* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageHudMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageHudMsg& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageHudMsg& from) { - CUserMessageHudMsg::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageHudMsg* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageHudMsg"; - } - protected: - explicit CUserMessageHudMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMessageFieldNumber = 11, - kChannelFieldNumber = 1, - kXFieldNumber = 2, - kYFieldNumber = 3, - kColor1FieldNumber = 4, - kColor2FieldNumber = 5, - kEffectFieldNumber = 6, - }; - // optional string message = 11; - bool has_message() const; - private: - bool _internal_has_message() const; - public: - void clear_message(); - const std::string& message() const; - template - void set_message(ArgT0&& arg0, ArgT... args); - std::string* mutable_message(); - PROTOBUF_NODISCARD std::string* release_message(); - void set_allocated_message(std::string* message); - private: - const std::string& _internal_message() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value); - std::string* _internal_mutable_message(); - public: - - // optional uint32 channel = 1; - bool has_channel() const; - private: - bool _internal_has_channel() const; - public: - void clear_channel(); - uint32_t channel() const; - void set_channel(uint32_t value); - private: - uint32_t _internal_channel() const; - void _internal_set_channel(uint32_t value); - public: - - // optional float x = 2; - bool has_x() const; - private: - bool _internal_has_x() const; - public: - void clear_x(); - float x() const; - void set_x(float value); - private: - float _internal_x() const; - void _internal_set_x(float value); - public: - - // optional float y = 3; - bool has_y() const; - private: - bool _internal_has_y() const; - public: - void clear_y(); - float y() const; - void set_y(float value); - private: - float _internal_y() const; - void _internal_set_y(float value); - public: - - // optional fixed32 color1 = 4; - bool has_color1() const; - private: - bool _internal_has_color1() const; - public: - void clear_color1(); - uint32_t color1() const; - void set_color1(uint32_t value); - private: - uint32_t _internal_color1() const; - void _internal_set_color1(uint32_t value); - public: - - // optional fixed32 color2 = 5; - bool has_color2() const; - private: - bool _internal_has_color2() const; - public: - void clear_color2(); - uint32_t color2() const; - void set_color2(uint32_t value); - private: - uint32_t _internal_color2() const; - void _internal_set_color2(uint32_t value); - public: - - // optional uint32 effect = 6; - bool has_effect() const; - private: - bool _internal_has_effect() const; - public: - void clear_effect(); - uint32_t effect() const; - void set_effect(uint32_t value); - private: - uint32_t _internal_effect() const; - void _internal_set_effect(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageHudMsg) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; - uint32_t channel_; - float x_; - float y_; - uint32_t color1_; - uint32_t color2_; - uint32_t effect_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageHudText : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageHudText) */ { - public: - inline CUserMessageHudText() : CUserMessageHudText(nullptr) {} - ~CUserMessageHudText() override; - explicit PROTOBUF_CONSTEXPR CUserMessageHudText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageHudText(const CUserMessageHudText& from); - CUserMessageHudText(CUserMessageHudText&& from) noexcept - : CUserMessageHudText() { - *this = ::std::move(from); - } - - inline CUserMessageHudText& operator=(const CUserMessageHudText& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageHudText& operator=(CUserMessageHudText&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageHudText& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageHudText* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageHudText_default_instance_); - } - static constexpr int kIndexInFileMessages = - 14; - - friend void swap(CUserMessageHudText& a, CUserMessageHudText& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageHudText* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageHudText* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageHudText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageHudText& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageHudText& from) { - CUserMessageHudText::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageHudText* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageHudText"; - } - protected: - explicit CUserMessageHudText(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMessageFieldNumber = 1, - }; - // optional string message = 1; - bool has_message() const; - private: - bool _internal_has_message() const; - public: - void clear_message(); - const std::string& message() const; - template - void set_message(ArgT0&& arg0, ArgT... args); - std::string* mutable_message(); - PROTOBUF_NODISCARD std::string* release_message(); - void set_allocated_message(std::string* message); - private: - const std::string& _internal_message() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(const std::string& value); - std::string* _internal_mutable_message(); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageHudText) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageTextMsg : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageTextMsg) */ { - public: - inline CUserMessageTextMsg() : CUserMessageTextMsg(nullptr) {} - ~CUserMessageTextMsg() override; - explicit PROTOBUF_CONSTEXPR CUserMessageTextMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageTextMsg(const CUserMessageTextMsg& from); - CUserMessageTextMsg(CUserMessageTextMsg&& from) noexcept - : CUserMessageTextMsg() { - *this = ::std::move(from); - } - - inline CUserMessageTextMsg& operator=(const CUserMessageTextMsg& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageTextMsg& operator=(CUserMessageTextMsg&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageTextMsg& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageTextMsg* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageTextMsg_default_instance_); - } - static constexpr int kIndexInFileMessages = - 15; - - friend void swap(CUserMessageTextMsg& a, CUserMessageTextMsg& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageTextMsg* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageTextMsg* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageTextMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageTextMsg& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageTextMsg& from) { - CUserMessageTextMsg::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageTextMsg* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageTextMsg"; - } - protected: - explicit CUserMessageTextMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kParamFieldNumber = 2, - kDestFieldNumber = 1, - }; - // repeated string param = 2; - int param_size() const; - private: - int _internal_param_size() const; - public: - void clear_param(); - const std::string& param(int index) const; - std::string* mutable_param(int index); - void set_param(int index, const std::string& value); - void set_param(int index, std::string&& value); - void set_param(int index, const char* value); - void set_param(int index, const char* value, size_t size); - std::string* add_param(); - void add_param(const std::string& value); - void add_param(std::string&& value); - void add_param(const char* value); - void add_param(const char* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& param() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_param(); - private: - const std::string& _internal_param(int index) const; - std::string* _internal_add_param(); - public: - - // optional uint32 dest = 1; - bool has_dest() const; - private: - bool _internal_has_dest() const; - public: - void clear_dest(); - uint32_t dest() const; - void set_dest(uint32_t value); - private: - uint32_t _internal_dest() const; - void _internal_set_dest(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageTextMsg) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField param_; - uint32_t dest_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageGameTitle : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CUserMessageGameTitle) */ { - public: - inline CUserMessageGameTitle() : CUserMessageGameTitle(nullptr) {} - explicit PROTOBUF_CONSTEXPR CUserMessageGameTitle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageGameTitle(const CUserMessageGameTitle& from); - CUserMessageGameTitle(CUserMessageGameTitle&& from) noexcept - : CUserMessageGameTitle() { - *this = ::std::move(from); - } - - inline CUserMessageGameTitle& operator=(const CUserMessageGameTitle& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageGameTitle& operator=(CUserMessageGameTitle&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageGameTitle& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageGameTitle* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageGameTitle_default_instance_); - } - static constexpr int kIndexInFileMessages = - 16; - - friend void swap(CUserMessageGameTitle& a, CUserMessageGameTitle& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageGameTitle* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageGameTitle* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageGameTitle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CUserMessageGameTitle& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CUserMessageGameTitle& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageGameTitle"; - } - protected: - explicit CUserMessageGameTitle(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CUserMessageGameTitle) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageResetHUD : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CUserMessageResetHUD) */ { - public: - inline CUserMessageResetHUD() : CUserMessageResetHUD(nullptr) {} - explicit PROTOBUF_CONSTEXPR CUserMessageResetHUD(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageResetHUD(const CUserMessageResetHUD& from); - CUserMessageResetHUD(CUserMessageResetHUD&& from) noexcept - : CUserMessageResetHUD() { - *this = ::std::move(from); - } - - inline CUserMessageResetHUD& operator=(const CUserMessageResetHUD& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageResetHUD& operator=(CUserMessageResetHUD&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageResetHUD& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageResetHUD* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageResetHUD_default_instance_); - } - static constexpr int kIndexInFileMessages = - 17; - - friend void swap(CUserMessageResetHUD& a, CUserMessageResetHUD& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageResetHUD* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageResetHUD* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageResetHUD* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CUserMessageResetHUD& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CUserMessageResetHUD& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageResetHUD"; - } - protected: - explicit CUserMessageResetHUD(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CUserMessageResetHUD) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageSendAudio : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageSendAudio) */ { - public: - inline CUserMessageSendAudio() : CUserMessageSendAudio(nullptr) {} - ~CUserMessageSendAudio() override; - explicit PROTOBUF_CONSTEXPR CUserMessageSendAudio(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageSendAudio(const CUserMessageSendAudio& from); - CUserMessageSendAudio(CUserMessageSendAudio&& from) noexcept - : CUserMessageSendAudio() { - *this = ::std::move(from); - } - - inline CUserMessageSendAudio& operator=(const CUserMessageSendAudio& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageSendAudio& operator=(CUserMessageSendAudio&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageSendAudio& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageSendAudio* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageSendAudio_default_instance_); - } - static constexpr int kIndexInFileMessages = - 18; - - friend void swap(CUserMessageSendAudio& a, CUserMessageSendAudio& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageSendAudio* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageSendAudio* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageSendAudio* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageSendAudio& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageSendAudio& from) { - CUserMessageSendAudio::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageSendAudio* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageSendAudio"; - } - protected: - explicit CUserMessageSendAudio(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSoundnameFieldNumber = 1, - kStopFieldNumber = 2, - }; - // optional string soundname = 1; - bool has_soundname() const; - private: - bool _internal_has_soundname() const; - public: - void clear_soundname(); - const std::string& soundname() const; - template - void set_soundname(ArgT0&& arg0, ArgT... args); - std::string* mutable_soundname(); - PROTOBUF_NODISCARD std::string* release_soundname(); - void set_allocated_soundname(std::string* soundname); - private: - const std::string& _internal_soundname() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_soundname(const std::string& value); - std::string* _internal_mutable_soundname(); - public: - - // optional bool stop = 2; - bool has_stop() const; - private: - bool _internal_has_stop() const; - public: - void clear_stop(); - bool stop() const; - void set_stop(bool value); - private: - bool _internal_stop() const; - void _internal_set_stop(bool value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageSendAudio) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr soundname_; - bool stop_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageAudioParameter : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageAudioParameter) */ { - public: - inline CUserMessageAudioParameter() : CUserMessageAudioParameter(nullptr) {} - ~CUserMessageAudioParameter() override; - explicit PROTOBUF_CONSTEXPR CUserMessageAudioParameter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageAudioParameter(const CUserMessageAudioParameter& from); - CUserMessageAudioParameter(CUserMessageAudioParameter&& from) noexcept - : CUserMessageAudioParameter() { - *this = ::std::move(from); - } - - inline CUserMessageAudioParameter& operator=(const CUserMessageAudioParameter& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageAudioParameter& operator=(CUserMessageAudioParameter&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageAudioParameter& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageAudioParameter* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageAudioParameter_default_instance_); - } - static constexpr int kIndexInFileMessages = - 19; - - friend void swap(CUserMessageAudioParameter& a, CUserMessageAudioParameter& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageAudioParameter* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageAudioParameter* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageAudioParameter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageAudioParameter& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageAudioParameter& from) { - CUserMessageAudioParameter::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageAudioParameter* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageAudioParameter"; - } - protected: - explicit CUserMessageAudioParameter(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kParameterTypeFieldNumber = 1, - kNameHashCodeFieldNumber = 2, - kValueFieldNumber = 3, - kIntValueFieldNumber = 4, - }; - // optional uint32 parameter_type = 1; - bool has_parameter_type() const; - private: - bool _internal_has_parameter_type() const; - public: - void clear_parameter_type(); - uint32_t parameter_type() const; - void set_parameter_type(uint32_t value); - private: - uint32_t _internal_parameter_type() const; - void _internal_set_parameter_type(uint32_t value); - public: - - // optional uint32 name_hash_code = 2; - bool has_name_hash_code() const; - private: - bool _internal_has_name_hash_code() const; - public: - void clear_name_hash_code(); - uint32_t name_hash_code() const; - void set_name_hash_code(uint32_t value); - private: - uint32_t _internal_name_hash_code() const; - void _internal_set_name_hash_code(uint32_t value); - public: - - // optional float value = 3; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - float value() const; - void set_value(float value); - private: - float _internal_value() const; - void _internal_set_value(float value); - public: - - // optional uint32 int_value = 4; - bool has_int_value() const; - private: - bool _internal_has_int_value() const; - public: - void clear_int_value(); - uint32_t int_value() const; - void set_int_value(uint32_t value); - private: - uint32_t _internal_int_value() const; - void _internal_set_int_value(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageAudioParameter) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t parameter_type_; - uint32_t name_hash_code_; - float value_; - uint32_t int_value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageVoiceMask : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageVoiceMask) */ { - public: - inline CUserMessageVoiceMask() : CUserMessageVoiceMask(nullptr) {} - ~CUserMessageVoiceMask() override; - explicit PROTOBUF_CONSTEXPR CUserMessageVoiceMask(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageVoiceMask(const CUserMessageVoiceMask& from); - CUserMessageVoiceMask(CUserMessageVoiceMask&& from) noexcept - : CUserMessageVoiceMask() { - *this = ::std::move(from); - } - - inline CUserMessageVoiceMask& operator=(const CUserMessageVoiceMask& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageVoiceMask& operator=(CUserMessageVoiceMask&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageVoiceMask& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageVoiceMask* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageVoiceMask_default_instance_); - } - static constexpr int kIndexInFileMessages = - 20; - - friend void swap(CUserMessageVoiceMask& a, CUserMessageVoiceMask& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageVoiceMask* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageVoiceMask* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageVoiceMask* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageVoiceMask& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageVoiceMask& from) { - CUserMessageVoiceMask::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageVoiceMask* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageVoiceMask"; - } - protected: - explicit CUserMessageVoiceMask(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGamerulesMasksFieldNumber = 1, - kBanMasksFieldNumber = 2, - kModEnableFieldNumber = 3, - }; - // repeated uint32 gamerules_masks = 1; - int gamerules_masks_size() const; - private: - int _internal_gamerules_masks_size() const; - public: - void clear_gamerules_masks(); - private: - uint32_t _internal_gamerules_masks(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_gamerules_masks() const; - void _internal_add_gamerules_masks(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_gamerules_masks(); - public: - uint32_t gamerules_masks(int index) const; - void set_gamerules_masks(int index, uint32_t value); - void add_gamerules_masks(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - gamerules_masks() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_gamerules_masks(); - - // repeated uint32 ban_masks = 2; - int ban_masks_size() const; - private: - int _internal_ban_masks_size() const; - public: - void clear_ban_masks(); - private: - uint32_t _internal_ban_masks(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_ban_masks() const; - void _internal_add_ban_masks(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_ban_masks(); - public: - uint32_t ban_masks(int index) const; - void set_ban_masks(int index, uint32_t value); - void add_ban_masks(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - ban_masks() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_ban_masks(); - - // optional bool mod_enable = 3; - bool has_mod_enable() const; - private: - bool _internal_has_mod_enable() const; - public: - void clear_mod_enable(); - bool mod_enable() const; - void set_mod_enable(bool value); - private: - bool _internal_mod_enable() const; - void _internal_set_mod_enable(bool value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageVoiceMask) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > gamerules_masks_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > ban_masks_; - bool mod_enable_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageRequestState : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CUserMessageRequestState) */ { - public: - inline CUserMessageRequestState() : CUserMessageRequestState(nullptr) {} - explicit PROTOBUF_CONSTEXPR CUserMessageRequestState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageRequestState(const CUserMessageRequestState& from); - CUserMessageRequestState(CUserMessageRequestState&& from) noexcept - : CUserMessageRequestState() { - *this = ::std::move(from); - } - - inline CUserMessageRequestState& operator=(const CUserMessageRequestState& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageRequestState& operator=(CUserMessageRequestState&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageRequestState& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageRequestState* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageRequestState_default_instance_); - } - static constexpr int kIndexInFileMessages = - 21; - - friend void swap(CUserMessageRequestState& a, CUserMessageRequestState& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageRequestState* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageRequestState* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageRequestState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CUserMessageRequestState& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CUserMessageRequestState& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageRequestState"; - } - protected: - explicit CUserMessageRequestState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CUserMessageRequestState) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageRumble : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageRumble) */ { - public: - inline CUserMessageRumble() : CUserMessageRumble(nullptr) {} - ~CUserMessageRumble() override; - explicit PROTOBUF_CONSTEXPR CUserMessageRumble(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageRumble(const CUserMessageRumble& from); - CUserMessageRumble(CUserMessageRumble&& from) noexcept - : CUserMessageRumble() { - *this = ::std::move(from); - } - - inline CUserMessageRumble& operator=(const CUserMessageRumble& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageRumble& operator=(CUserMessageRumble&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageRumble& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageRumble* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageRumble_default_instance_); - } - static constexpr int kIndexInFileMessages = - 22; - - friend void swap(CUserMessageRumble& a, CUserMessageRumble& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageRumble* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageRumble* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageRumble* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageRumble& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageRumble& from) { - CUserMessageRumble::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageRumble* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageRumble"; - } - protected: - explicit CUserMessageRumble(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kIndexFieldNumber = 1, - kDataFieldNumber = 2, - kFlagsFieldNumber = 3, - }; - // optional int32 index = 1; - bool has_index() const; - private: - bool _internal_has_index() const; - public: - void clear_index(); - int32_t index() const; - void set_index(int32_t value); - private: - int32_t _internal_index() const; - void _internal_set_index(int32_t value); - public: - - // optional int32 data = 2; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - int32_t data() const; - void set_data(int32_t value); - private: - int32_t _internal_data() const; - void _internal_set_data(int32_t value); - public: - - // optional int32 flags = 3; - bool has_flags() const; - private: - bool _internal_has_flags() const; - public: - void clear_flags(); - int32_t flags() const; - void set_flags(int32_t value); - private: - int32_t _internal_flags() const; - void _internal_set_flags(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageRumble) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t index_; - int32_t data_; - int32_t flags_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageSayTextChannel : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageSayTextChannel) */ { - public: - inline CUserMessageSayTextChannel() : CUserMessageSayTextChannel(nullptr) {} - ~CUserMessageSayTextChannel() override; - explicit PROTOBUF_CONSTEXPR CUserMessageSayTextChannel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageSayTextChannel(const CUserMessageSayTextChannel& from); - CUserMessageSayTextChannel(CUserMessageSayTextChannel&& from) noexcept - : CUserMessageSayTextChannel() { - *this = ::std::move(from); - } - - inline CUserMessageSayTextChannel& operator=(const CUserMessageSayTextChannel& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageSayTextChannel& operator=(CUserMessageSayTextChannel&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageSayTextChannel& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageSayTextChannel* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageSayTextChannel_default_instance_); - } - static constexpr int kIndexInFileMessages = - 23; - - friend void swap(CUserMessageSayTextChannel& a, CUserMessageSayTextChannel& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageSayTextChannel* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageSayTextChannel* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageSayTextChannel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageSayTextChannel& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageSayTextChannel& from) { - CUserMessageSayTextChannel::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageSayTextChannel* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageSayTextChannel"; - } - protected: - explicit CUserMessageSayTextChannel(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTextFieldNumber = 3, - kPlayerFieldNumber = 1, - kChannelFieldNumber = 2, - }; - // optional string text = 3; - bool has_text() const; - private: - bool _internal_has_text() const; - public: - void clear_text(); - const std::string& text() const; - template - void set_text(ArgT0&& arg0, ArgT... args); - std::string* mutable_text(); - PROTOBUF_NODISCARD std::string* release_text(); - void set_allocated_text(std::string* text); - private: - const std::string& _internal_text() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value); - std::string* _internal_mutable_text(); - public: - - // optional int32 player = 1; - bool has_player() const; - private: - bool _internal_has_player() const; - public: - void clear_player(); - int32_t player() const; - void set_player(int32_t value); - private: - int32_t _internal_player() const; - void _internal_set_player(int32_t value); - public: - - // optional int32 channel = 2; - bool has_channel() const; - private: - bool _internal_has_channel() const; - public: - void clear_channel(); - int32_t channel() const; - void set_channel(int32_t value); - private: - int32_t _internal_channel() const; - void _internal_set_channel(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageSayTextChannel) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; - int32_t player_; - int32_t channel_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageColoredText : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageColoredText) */ { - public: - inline CUserMessageColoredText() : CUserMessageColoredText(nullptr) {} - ~CUserMessageColoredText() override; - explicit PROTOBUF_CONSTEXPR CUserMessageColoredText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageColoredText(const CUserMessageColoredText& from); - CUserMessageColoredText(CUserMessageColoredText&& from) noexcept - : CUserMessageColoredText() { - *this = ::std::move(from); - } - - inline CUserMessageColoredText& operator=(const CUserMessageColoredText& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageColoredText& operator=(CUserMessageColoredText&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageColoredText& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageColoredText* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageColoredText_default_instance_); - } - static constexpr int kIndexInFileMessages = - 24; - - friend void swap(CUserMessageColoredText& a, CUserMessageColoredText& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageColoredText* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageColoredText* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageColoredText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageColoredText& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageColoredText& from) { - CUserMessageColoredText::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageColoredText* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageColoredText"; - } - protected: - explicit CUserMessageColoredText(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTextFieldNumber = 2, - kColorFieldNumber = 1, - kResetFieldNumber = 3, - kContextValueFieldNumber = 5, - kContextTeamIdFieldNumber = 6, - kContextPlayerSlotFieldNumber = 4, - }; - // optional string text = 2; - bool has_text() const; - private: - bool _internal_has_text() const; - public: - void clear_text(); - const std::string& text() const; - template - void set_text(ArgT0&& arg0, ArgT... args); - std::string* mutable_text(); - PROTOBUF_NODISCARD std::string* release_text(); - void set_allocated_text(std::string* text); - private: - const std::string& _internal_text() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value); - std::string* _internal_mutable_text(); - public: - - // optional uint32 color = 1; - bool has_color() const; - private: - bool _internal_has_color() const; - public: - void clear_color(); - uint32_t color() const; - void set_color(uint32_t value); - private: - uint32_t _internal_color() const; - void _internal_set_color(uint32_t value); - public: - - // optional bool reset = 3; - bool has_reset() const; - private: - bool _internal_has_reset() const; - public: - void clear_reset(); - bool reset() const; - void set_reset(bool value); - private: - bool _internal_reset() const; - void _internal_set_reset(bool value); - public: - - // optional int32 context_value = 5; - bool has_context_value() const; - private: - bool _internal_has_context_value() const; - public: - void clear_context_value(); - int32_t context_value() const; - void set_context_value(int32_t value); - private: - int32_t _internal_context_value() const; - void _internal_set_context_value(int32_t value); - public: - - // optional int32 context_team_id = 6; - bool has_context_team_id() const; - private: - bool _internal_has_context_team_id() const; - public: - void clear_context_team_id(); - int32_t context_team_id() const; - void set_context_team_id(int32_t value); - private: - int32_t _internal_context_team_id() const; - void _internal_set_context_team_id(int32_t value); - public: - - // optional int32 context_player_slot = 4 [default = -1]; - bool has_context_player_slot() const; - private: - bool _internal_has_context_player_slot() const; - public: - void clear_context_player_slot(); - int32_t context_player_slot() const; - void set_context_player_slot(int32_t value); - private: - int32_t _internal_context_player_slot() const; - void _internal_set_context_player_slot(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageColoredText) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; - uint32_t color_; - bool reset_; - int32_t context_value_; - int32_t context_team_id_; - int32_t context_player_slot_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageItemPickup : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageItemPickup) */ { - public: - inline CUserMessageItemPickup() : CUserMessageItemPickup(nullptr) {} - ~CUserMessageItemPickup() override; - explicit PROTOBUF_CONSTEXPR CUserMessageItemPickup(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageItemPickup(const CUserMessageItemPickup& from); - CUserMessageItemPickup(CUserMessageItemPickup&& from) noexcept - : CUserMessageItemPickup() { - *this = ::std::move(from); - } - - inline CUserMessageItemPickup& operator=(const CUserMessageItemPickup& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageItemPickup& operator=(CUserMessageItemPickup&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageItemPickup& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageItemPickup* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageItemPickup_default_instance_); - } - static constexpr int kIndexInFileMessages = - 25; - - friend void swap(CUserMessageItemPickup& a, CUserMessageItemPickup& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageItemPickup* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageItemPickup* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageItemPickup* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageItemPickup& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageItemPickup& from) { - CUserMessageItemPickup::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageItemPickup* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageItemPickup"; - } - protected: - explicit CUserMessageItemPickup(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kItemnameFieldNumber = 1, - }; - // optional string itemname = 1; - bool has_itemname() const; - private: - bool _internal_has_itemname() const; - public: - void clear_itemname(); - const std::string& itemname() const; - template - void set_itemname(ArgT0&& arg0, ArgT... args); - std::string* mutable_itemname(); - PROTOBUF_NODISCARD std::string* release_itemname(); - void set_allocated_itemname(std::string* itemname); - private: - const std::string& _internal_itemname() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_itemname(const std::string& value); - std::string* _internal_mutable_itemname(); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageItemPickup) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr itemname_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageAmmoDenied : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageAmmoDenied) */ { - public: - inline CUserMessageAmmoDenied() : CUserMessageAmmoDenied(nullptr) {} - ~CUserMessageAmmoDenied() override; - explicit PROTOBUF_CONSTEXPR CUserMessageAmmoDenied(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageAmmoDenied(const CUserMessageAmmoDenied& from); - CUserMessageAmmoDenied(CUserMessageAmmoDenied&& from) noexcept - : CUserMessageAmmoDenied() { - *this = ::std::move(from); - } - - inline CUserMessageAmmoDenied& operator=(const CUserMessageAmmoDenied& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageAmmoDenied& operator=(CUserMessageAmmoDenied&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageAmmoDenied& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageAmmoDenied* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageAmmoDenied_default_instance_); - } - static constexpr int kIndexInFileMessages = - 26; - - friend void swap(CUserMessageAmmoDenied& a, CUserMessageAmmoDenied& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageAmmoDenied* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageAmmoDenied* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageAmmoDenied* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageAmmoDenied& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageAmmoDenied& from) { - CUserMessageAmmoDenied::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageAmmoDenied* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageAmmoDenied"; - } - protected: - explicit CUserMessageAmmoDenied(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAmmoIdFieldNumber = 1, - }; - // optional uint32 ammo_id = 1; - bool has_ammo_id() const; - private: - bool _internal_has_ammo_id() const; - public: - void clear_ammo_id(); - uint32_t ammo_id() const; - void set_ammo_id(uint32_t value); - private: - uint32_t _internal_ammo_id() const; - void _internal_set_ammo_id(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageAmmoDenied) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t ammo_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageShowMenu : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageShowMenu) */ { - public: - inline CUserMessageShowMenu() : CUserMessageShowMenu(nullptr) {} - ~CUserMessageShowMenu() override; - explicit PROTOBUF_CONSTEXPR CUserMessageShowMenu(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageShowMenu(const CUserMessageShowMenu& from); - CUserMessageShowMenu(CUserMessageShowMenu&& from) noexcept - : CUserMessageShowMenu() { - *this = ::std::move(from); - } - - inline CUserMessageShowMenu& operator=(const CUserMessageShowMenu& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageShowMenu& operator=(CUserMessageShowMenu&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageShowMenu& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageShowMenu* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageShowMenu_default_instance_); - } - static constexpr int kIndexInFileMessages = - 27; - - friend void swap(CUserMessageShowMenu& a, CUserMessageShowMenu& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageShowMenu* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageShowMenu* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageShowMenu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageShowMenu& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageShowMenu& from) { - CUserMessageShowMenu::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageShowMenu* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageShowMenu"; - } - protected: - explicit CUserMessageShowMenu(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMenustringFieldNumber = 4, - kValidslotsFieldNumber = 1, - kDisplaytimeFieldNumber = 2, - kNeedmoreFieldNumber = 3, - }; - // optional string menustring = 4; - bool has_menustring() const; - private: - bool _internal_has_menustring() const; - public: - void clear_menustring(); - const std::string& menustring() const; - template - void set_menustring(ArgT0&& arg0, ArgT... args); - std::string* mutable_menustring(); - PROTOBUF_NODISCARD std::string* release_menustring(); - void set_allocated_menustring(std::string* menustring); - private: - const std::string& _internal_menustring() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_menustring(const std::string& value); - std::string* _internal_mutable_menustring(); - public: - - // optional uint32 validslots = 1; - bool has_validslots() const; - private: - bool _internal_has_validslots() const; - public: - void clear_validslots(); - uint32_t validslots() const; - void set_validslots(uint32_t value); - private: - uint32_t _internal_validslots() const; - void _internal_set_validslots(uint32_t value); - public: - - // optional uint32 displaytime = 2; - bool has_displaytime() const; - private: - bool _internal_has_displaytime() const; - public: - void clear_displaytime(); - uint32_t displaytime() const; - void set_displaytime(uint32_t value); - private: - uint32_t _internal_displaytime() const; - void _internal_set_displaytime(uint32_t value); - public: - - // optional bool needmore = 3; - bool has_needmore() const; - private: - bool _internal_has_needmore() const; - public: - void clear_needmore(); - bool needmore() const; - void set_needmore(bool value); - private: - bool _internal_needmore() const; - void _internal_set_needmore(bool value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageShowMenu) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr menustring_; - uint32_t validslots_; - uint32_t displaytime_; - bool needmore_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageCreditsMsg : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageCreditsMsg) */ { - public: - inline CUserMessageCreditsMsg() : CUserMessageCreditsMsg(nullptr) {} - ~CUserMessageCreditsMsg() override; - explicit PROTOBUF_CONSTEXPR CUserMessageCreditsMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageCreditsMsg(const CUserMessageCreditsMsg& from); - CUserMessageCreditsMsg(CUserMessageCreditsMsg&& from) noexcept - : CUserMessageCreditsMsg() { - *this = ::std::move(from); - } - - inline CUserMessageCreditsMsg& operator=(const CUserMessageCreditsMsg& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageCreditsMsg& operator=(CUserMessageCreditsMsg&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageCreditsMsg& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageCreditsMsg* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageCreditsMsg_default_instance_); - } - static constexpr int kIndexInFileMessages = - 28; - - friend void swap(CUserMessageCreditsMsg& a, CUserMessageCreditsMsg& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageCreditsMsg* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageCreditsMsg* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageCreditsMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageCreditsMsg& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageCreditsMsg& from) { - CUserMessageCreditsMsg::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageCreditsMsg* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageCreditsMsg"; - } - protected: - explicit CUserMessageCreditsMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kLogoLengthFieldNumber = 2, - kRolltypeFieldNumber = 1, - }; - // optional float logo_length = 2; - bool has_logo_length() const; - private: - bool _internal_has_logo_length() const; - public: - void clear_logo_length(); - float logo_length() const; - void set_logo_length(float value); - private: - float _internal_logo_length() const; - void _internal_set_logo_length(float value); - public: - - // optional .eRollType rolltype = 1 [default = ROLL_NONE]; - bool has_rolltype() const; - private: - bool _internal_has_rolltype() const; - public: - void clear_rolltype(); - ::eRollType rolltype() const; - void set_rolltype(::eRollType value); - private: - ::eRollType _internal_rolltype() const; - void _internal_set_rolltype(::eRollType value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageCreditsMsg) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float logo_length_; - int rolltype_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CEntityMessagePlayJingle : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEntityMessagePlayJingle) */ { - public: - inline CEntityMessagePlayJingle() : CEntityMessagePlayJingle(nullptr) {} - ~CEntityMessagePlayJingle() override; - explicit PROTOBUF_CONSTEXPR CEntityMessagePlayJingle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CEntityMessagePlayJingle(const CEntityMessagePlayJingle& from); - CEntityMessagePlayJingle(CEntityMessagePlayJingle&& from) noexcept - : CEntityMessagePlayJingle() { - *this = ::std::move(from); - } - - inline CEntityMessagePlayJingle& operator=(const CEntityMessagePlayJingle& from) { - CopyFrom(from); - return *this; - } - inline CEntityMessagePlayJingle& operator=(CEntityMessagePlayJingle&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CEntityMessagePlayJingle& default_instance() { - return *internal_default_instance(); - } - static inline const CEntityMessagePlayJingle* internal_default_instance() { - return reinterpret_cast( - &_CEntityMessagePlayJingle_default_instance_); - } - static constexpr int kIndexInFileMessages = - 29; - - friend void swap(CEntityMessagePlayJingle& a, CEntityMessagePlayJingle& b) { - a.Swap(&b); - } - inline void Swap(CEntityMessagePlayJingle* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CEntityMessagePlayJingle* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CEntityMessagePlayJingle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CEntityMessagePlayJingle& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CEntityMessagePlayJingle& from) { - CEntityMessagePlayJingle::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CEntityMessagePlayJingle* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CEntityMessagePlayJingle"; - } - protected: - explicit CEntityMessagePlayJingle(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEntityMsgFieldNumber = 1, - }; - // optional .CEntityMsg entity_msg = 1; - bool has_entity_msg() const; - private: - bool _internal_has_entity_msg() const; - public: - void clear_entity_msg(); - const ::CEntityMsg& entity_msg() const; - PROTOBUF_NODISCARD ::CEntityMsg* release_entity_msg(); - ::CEntityMsg* mutable_entity_msg(); - void set_allocated_entity_msg(::CEntityMsg* entity_msg); - private: - const ::CEntityMsg& _internal_entity_msg() const; - ::CEntityMsg* _internal_mutable_entity_msg(); - public: - void unsafe_arena_set_allocated_entity_msg( - ::CEntityMsg* entity_msg); - ::CEntityMsg* unsafe_arena_release_entity_msg(); - - // @@protoc_insertion_point(class_scope:CEntityMessagePlayJingle) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CEntityMsg* entity_msg_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CEntityMessageScreenOverlay : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEntityMessageScreenOverlay) */ { - public: - inline CEntityMessageScreenOverlay() : CEntityMessageScreenOverlay(nullptr) {} - ~CEntityMessageScreenOverlay() override; - explicit PROTOBUF_CONSTEXPR CEntityMessageScreenOverlay(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CEntityMessageScreenOverlay(const CEntityMessageScreenOverlay& from); - CEntityMessageScreenOverlay(CEntityMessageScreenOverlay&& from) noexcept - : CEntityMessageScreenOverlay() { - *this = ::std::move(from); - } - - inline CEntityMessageScreenOverlay& operator=(const CEntityMessageScreenOverlay& from) { - CopyFrom(from); - return *this; - } - inline CEntityMessageScreenOverlay& operator=(CEntityMessageScreenOverlay&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CEntityMessageScreenOverlay& default_instance() { - return *internal_default_instance(); - } - static inline const CEntityMessageScreenOverlay* internal_default_instance() { - return reinterpret_cast( - &_CEntityMessageScreenOverlay_default_instance_); - } - static constexpr int kIndexInFileMessages = - 30; - - friend void swap(CEntityMessageScreenOverlay& a, CEntityMessageScreenOverlay& b) { - a.Swap(&b); - } - inline void Swap(CEntityMessageScreenOverlay* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CEntityMessageScreenOverlay* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CEntityMessageScreenOverlay* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CEntityMessageScreenOverlay& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CEntityMessageScreenOverlay& from) { - CEntityMessageScreenOverlay::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CEntityMessageScreenOverlay* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CEntityMessageScreenOverlay"; - } - protected: - explicit CEntityMessageScreenOverlay(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEntityMsgFieldNumber = 2, - kStartEffectFieldNumber = 1, - }; - // optional .CEntityMsg entity_msg = 2; - bool has_entity_msg() const; - private: - bool _internal_has_entity_msg() const; - public: - void clear_entity_msg(); - const ::CEntityMsg& entity_msg() const; - PROTOBUF_NODISCARD ::CEntityMsg* release_entity_msg(); - ::CEntityMsg* mutable_entity_msg(); - void set_allocated_entity_msg(::CEntityMsg* entity_msg); - private: - const ::CEntityMsg& _internal_entity_msg() const; - ::CEntityMsg* _internal_mutable_entity_msg(); - public: - void unsafe_arena_set_allocated_entity_msg( - ::CEntityMsg* entity_msg); - ::CEntityMsg* unsafe_arena_release_entity_msg(); - - // optional bool start_effect = 1; - bool has_start_effect() const; - private: - bool _internal_has_start_effect() const; - public: - void clear_start_effect(); - bool start_effect() const; - void set_start_effect(bool value); - private: - bool _internal_start_effect() const; - void _internal_set_start_effect(bool value); - public: - - // @@protoc_insertion_point(class_scope:CEntityMessageScreenOverlay) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CEntityMsg* entity_msg_; - bool start_effect_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CEntityMessageRemoveAllDecals : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEntityMessageRemoveAllDecals) */ { - public: - inline CEntityMessageRemoveAllDecals() : CEntityMessageRemoveAllDecals(nullptr) {} - ~CEntityMessageRemoveAllDecals() override; - explicit PROTOBUF_CONSTEXPR CEntityMessageRemoveAllDecals(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CEntityMessageRemoveAllDecals(const CEntityMessageRemoveAllDecals& from); - CEntityMessageRemoveAllDecals(CEntityMessageRemoveAllDecals&& from) noexcept - : CEntityMessageRemoveAllDecals() { - *this = ::std::move(from); - } - - inline CEntityMessageRemoveAllDecals& operator=(const CEntityMessageRemoveAllDecals& from) { - CopyFrom(from); - return *this; - } - inline CEntityMessageRemoveAllDecals& operator=(CEntityMessageRemoveAllDecals&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CEntityMessageRemoveAllDecals& default_instance() { - return *internal_default_instance(); - } - static inline const CEntityMessageRemoveAllDecals* internal_default_instance() { - return reinterpret_cast( - &_CEntityMessageRemoveAllDecals_default_instance_); - } - static constexpr int kIndexInFileMessages = - 31; - - friend void swap(CEntityMessageRemoveAllDecals& a, CEntityMessageRemoveAllDecals& b) { - a.Swap(&b); - } - inline void Swap(CEntityMessageRemoveAllDecals* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CEntityMessageRemoveAllDecals* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CEntityMessageRemoveAllDecals* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CEntityMessageRemoveAllDecals& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CEntityMessageRemoveAllDecals& from) { - CEntityMessageRemoveAllDecals::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CEntityMessageRemoveAllDecals* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CEntityMessageRemoveAllDecals"; - } - protected: - explicit CEntityMessageRemoveAllDecals(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEntityMsgFieldNumber = 2, - kRemoveDecalsFieldNumber = 1, - }; - // optional .CEntityMsg entity_msg = 2; - bool has_entity_msg() const; - private: - bool _internal_has_entity_msg() const; - public: - void clear_entity_msg(); - const ::CEntityMsg& entity_msg() const; - PROTOBUF_NODISCARD ::CEntityMsg* release_entity_msg(); - ::CEntityMsg* mutable_entity_msg(); - void set_allocated_entity_msg(::CEntityMsg* entity_msg); - private: - const ::CEntityMsg& _internal_entity_msg() const; - ::CEntityMsg* _internal_mutable_entity_msg(); - public: - void unsafe_arena_set_allocated_entity_msg( - ::CEntityMsg* entity_msg); - ::CEntityMsg* unsafe_arena_release_entity_msg(); - - // optional bool remove_decals = 1; - bool has_remove_decals() const; - private: - bool _internal_has_remove_decals() const; - public: - void clear_remove_decals(); - bool remove_decals() const; - void set_remove_decals(bool value); - private: - bool _internal_remove_decals() const; - void _internal_set_remove_decals(bool value); - public: - - // @@protoc_insertion_point(class_scope:CEntityMessageRemoveAllDecals) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CEntityMsg* entity_msg_; - bool remove_decals_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CEntityMessagePropagateForce : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEntityMessagePropagateForce) */ { - public: - inline CEntityMessagePropagateForce() : CEntityMessagePropagateForce(nullptr) {} - ~CEntityMessagePropagateForce() override; - explicit PROTOBUF_CONSTEXPR CEntityMessagePropagateForce(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CEntityMessagePropagateForce(const CEntityMessagePropagateForce& from); - CEntityMessagePropagateForce(CEntityMessagePropagateForce&& from) noexcept - : CEntityMessagePropagateForce() { - *this = ::std::move(from); - } - - inline CEntityMessagePropagateForce& operator=(const CEntityMessagePropagateForce& from) { - CopyFrom(from); - return *this; - } - inline CEntityMessagePropagateForce& operator=(CEntityMessagePropagateForce&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CEntityMessagePropagateForce& default_instance() { - return *internal_default_instance(); - } - static inline const CEntityMessagePropagateForce* internal_default_instance() { - return reinterpret_cast( - &_CEntityMessagePropagateForce_default_instance_); - } - static constexpr int kIndexInFileMessages = - 32; - - friend void swap(CEntityMessagePropagateForce& a, CEntityMessagePropagateForce& b) { - a.Swap(&b); - } - inline void Swap(CEntityMessagePropagateForce* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CEntityMessagePropagateForce* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CEntityMessagePropagateForce* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CEntityMessagePropagateForce& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CEntityMessagePropagateForce& from) { - CEntityMessagePropagateForce::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CEntityMessagePropagateForce* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CEntityMessagePropagateForce"; - } - protected: - explicit CEntityMessagePropagateForce(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kImpulseFieldNumber = 1, - kEntityMsgFieldNumber = 2, - }; - // optional .CMsgVector impulse = 1; - bool has_impulse() const; - private: - bool _internal_has_impulse() const; - public: - void clear_impulse(); - const ::CMsgVector& impulse() const; - PROTOBUF_NODISCARD ::CMsgVector* release_impulse(); - ::CMsgVector* mutable_impulse(); - void set_allocated_impulse(::CMsgVector* impulse); - private: - const ::CMsgVector& _internal_impulse() const; - ::CMsgVector* _internal_mutable_impulse(); - public: - void unsafe_arena_set_allocated_impulse( - ::CMsgVector* impulse); - ::CMsgVector* unsafe_arena_release_impulse(); - - // optional .CEntityMsg entity_msg = 2; - bool has_entity_msg() const; - private: - bool _internal_has_entity_msg() const; - public: - void clear_entity_msg(); - const ::CEntityMsg& entity_msg() const; - PROTOBUF_NODISCARD ::CEntityMsg* release_entity_msg(); - ::CEntityMsg* mutable_entity_msg(); - void set_allocated_entity_msg(::CEntityMsg* entity_msg); - private: - const ::CEntityMsg& _internal_entity_msg() const; - ::CEntityMsg* _internal_mutable_entity_msg(); - public: - void unsafe_arena_set_allocated_entity_msg( - ::CEntityMsg* entity_msg); - ::CEntityMsg* unsafe_arena_release_entity_msg(); - - // @@protoc_insertion_point(class_scope:CEntityMessagePropagateForce) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* impulse_; - ::CEntityMsg* entity_msg_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CEntityMessageDoSpark : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEntityMessageDoSpark) */ { - public: - inline CEntityMessageDoSpark() : CEntityMessageDoSpark(nullptr) {} - ~CEntityMessageDoSpark() override; - explicit PROTOBUF_CONSTEXPR CEntityMessageDoSpark(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CEntityMessageDoSpark(const CEntityMessageDoSpark& from); - CEntityMessageDoSpark(CEntityMessageDoSpark&& from) noexcept - : CEntityMessageDoSpark() { - *this = ::std::move(from); - } - - inline CEntityMessageDoSpark& operator=(const CEntityMessageDoSpark& from) { - CopyFrom(from); - return *this; - } - inline CEntityMessageDoSpark& operator=(CEntityMessageDoSpark&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CEntityMessageDoSpark& default_instance() { - return *internal_default_instance(); - } - static inline const CEntityMessageDoSpark* internal_default_instance() { - return reinterpret_cast( - &_CEntityMessageDoSpark_default_instance_); - } - static constexpr int kIndexInFileMessages = - 33; - - friend void swap(CEntityMessageDoSpark& a, CEntityMessageDoSpark& b) { - a.Swap(&b); - } - inline void Swap(CEntityMessageDoSpark* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CEntityMessageDoSpark* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CEntityMessageDoSpark* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CEntityMessageDoSpark& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CEntityMessageDoSpark& from) { - CEntityMessageDoSpark::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CEntityMessageDoSpark* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CEntityMessageDoSpark"; - } - protected: - explicit CEntityMessageDoSpark(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginFieldNumber = 1, - kEntityMsgFieldNumber = 8, - kRadiusFieldNumber = 3, - kColorFieldNumber = 4, - kBeamsFieldNumber = 5, - kThickFieldNumber = 6, - kDurationFieldNumber = 7, - kEntityindexFieldNumber = 2, - }; - // optional .CMsgVector origin = 1; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional .CEntityMsg entity_msg = 8; - bool has_entity_msg() const; - private: - bool _internal_has_entity_msg() const; - public: - void clear_entity_msg(); - const ::CEntityMsg& entity_msg() const; - PROTOBUF_NODISCARD ::CEntityMsg* release_entity_msg(); - ::CEntityMsg* mutable_entity_msg(); - void set_allocated_entity_msg(::CEntityMsg* entity_msg); - private: - const ::CEntityMsg& _internal_entity_msg() const; - ::CEntityMsg* _internal_mutable_entity_msg(); - public: - void unsafe_arena_set_allocated_entity_msg( - ::CEntityMsg* entity_msg); - ::CEntityMsg* unsafe_arena_release_entity_msg(); - - // optional float radius = 3; - bool has_radius() const; - private: - bool _internal_has_radius() const; - public: - void clear_radius(); - float radius() const; - void set_radius(float value); - private: - float _internal_radius() const; - void _internal_set_radius(float value); - public: - - // optional fixed32 color = 4; - bool has_color() const; - private: - bool _internal_has_color() const; - public: - void clear_color(); - uint32_t color() const; - void set_color(uint32_t value); - private: - uint32_t _internal_color() const; - void _internal_set_color(uint32_t value); - public: - - // optional uint32 beams = 5; - bool has_beams() const; - private: - bool _internal_has_beams() const; - public: - void clear_beams(); - uint32_t beams() const; - void set_beams(uint32_t value); - private: - uint32_t _internal_beams() const; - void _internal_set_beams(uint32_t value); - public: - - // optional float thick = 6; - bool has_thick() const; - private: - bool _internal_has_thick() const; - public: - void clear_thick(); - float thick() const; - void set_thick(float value); - private: - float _internal_thick() const; - void _internal_set_thick(float value); - public: - - // optional float duration = 7; - bool has_duration() const; - private: - bool _internal_has_duration() const; - public: - void clear_duration(); - float duration() const; - void set_duration(float value); - private: - float _internal_duration() const; - void _internal_set_duration(float value); - public: - - // optional int32 entityindex = 2 [default = -1]; - bool has_entityindex() const; - private: - bool _internal_has_entityindex() const; - public: - void clear_entityindex(); - int32_t entityindex() const; - void set_entityindex(int32_t value); - private: - int32_t _internal_entityindex() const; - void _internal_set_entityindex(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CEntityMessageDoSpark) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* origin_; - ::CEntityMsg* entity_msg_; - float radius_; - uint32_t color_; - uint32_t beams_; - float thick_; - float duration_; - int32_t entityindex_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CEntityMessageFixAngle : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CEntityMessageFixAngle) */ { - public: - inline CEntityMessageFixAngle() : CEntityMessageFixAngle(nullptr) {} - ~CEntityMessageFixAngle() override; - explicit PROTOBUF_CONSTEXPR CEntityMessageFixAngle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CEntityMessageFixAngle(const CEntityMessageFixAngle& from); - CEntityMessageFixAngle(CEntityMessageFixAngle&& from) noexcept - : CEntityMessageFixAngle() { - *this = ::std::move(from); - } - - inline CEntityMessageFixAngle& operator=(const CEntityMessageFixAngle& from) { - CopyFrom(from); - return *this; - } - inline CEntityMessageFixAngle& operator=(CEntityMessageFixAngle&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CEntityMessageFixAngle& default_instance() { - return *internal_default_instance(); - } - static inline const CEntityMessageFixAngle* internal_default_instance() { - return reinterpret_cast( - &_CEntityMessageFixAngle_default_instance_); - } - static constexpr int kIndexInFileMessages = - 34; - - friend void swap(CEntityMessageFixAngle& a, CEntityMessageFixAngle& b) { - a.Swap(&b); - } - inline void Swap(CEntityMessageFixAngle* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CEntityMessageFixAngle* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CEntityMessageFixAngle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CEntityMessageFixAngle& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CEntityMessageFixAngle& from) { - CEntityMessageFixAngle::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CEntityMessageFixAngle* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CEntityMessageFixAngle"; - } - protected: - explicit CEntityMessageFixAngle(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAngleFieldNumber = 2, - kEntityMsgFieldNumber = 3, - kRelativeFieldNumber = 1, - }; - // optional .CMsgQAngle angle = 2; - bool has_angle() const; - private: - bool _internal_has_angle() const; - public: - void clear_angle(); - const ::CMsgQAngle& angle() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_angle(); - ::CMsgQAngle* mutable_angle(); - void set_allocated_angle(::CMsgQAngle* angle); - private: - const ::CMsgQAngle& _internal_angle() const; - ::CMsgQAngle* _internal_mutable_angle(); - public: - void unsafe_arena_set_allocated_angle( - ::CMsgQAngle* angle); - ::CMsgQAngle* unsafe_arena_release_angle(); - - // optional .CEntityMsg entity_msg = 3; - bool has_entity_msg() const; - private: - bool _internal_has_entity_msg() const; - public: - void clear_entity_msg(); - const ::CEntityMsg& entity_msg() const; - PROTOBUF_NODISCARD ::CEntityMsg* release_entity_msg(); - ::CEntityMsg* mutable_entity_msg(); - void set_allocated_entity_msg(::CEntityMsg* entity_msg); - private: - const ::CEntityMsg& _internal_entity_msg() const; - ::CEntityMsg* _internal_mutable_entity_msg(); - public: - void unsafe_arena_set_allocated_entity_msg( - ::CEntityMsg* entity_msg); - ::CEntityMsg* unsafe_arena_release_entity_msg(); - - // optional bool relative = 1; - bool has_relative() const; - private: - bool _internal_has_relative() const; - public: - void clear_relative(); - bool relative() const; - void set_relative(bool value); - private: - bool _internal_relative() const; - void _internal_set_relative(bool value); - public: - - // @@protoc_insertion_point(class_scope:CEntityMessageFixAngle) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgQAngle* angle_; - ::CEntityMsg* entity_msg_; - bool relative_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageCameraTransition_Transition_DataDriven : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageCameraTransition.Transition_DataDriven) */ { - public: - inline CUserMessageCameraTransition_Transition_DataDriven() : CUserMessageCameraTransition_Transition_DataDriven(nullptr) {} - ~CUserMessageCameraTransition_Transition_DataDriven() override; - explicit PROTOBUF_CONSTEXPR CUserMessageCameraTransition_Transition_DataDriven(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageCameraTransition_Transition_DataDriven(const CUserMessageCameraTransition_Transition_DataDriven& from); - CUserMessageCameraTransition_Transition_DataDriven(CUserMessageCameraTransition_Transition_DataDriven&& from) noexcept - : CUserMessageCameraTransition_Transition_DataDriven() { - *this = ::std::move(from); - } - - inline CUserMessageCameraTransition_Transition_DataDriven& operator=(const CUserMessageCameraTransition_Transition_DataDriven& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageCameraTransition_Transition_DataDriven& operator=(CUserMessageCameraTransition_Transition_DataDriven&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageCameraTransition_Transition_DataDriven& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageCameraTransition_Transition_DataDriven* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageCameraTransition_Transition_DataDriven_default_instance_); - } - static constexpr int kIndexInFileMessages = - 35; - - friend void swap(CUserMessageCameraTransition_Transition_DataDriven& a, CUserMessageCameraTransition_Transition_DataDriven& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageCameraTransition_Transition_DataDriven* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageCameraTransition_Transition_DataDriven* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageCameraTransition_Transition_DataDriven* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageCameraTransition_Transition_DataDriven& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageCameraTransition_Transition_DataDriven& from) { - CUserMessageCameraTransition_Transition_DataDriven::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageCameraTransition_Transition_DataDriven* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageCameraTransition.Transition_DataDriven"; - } - protected: - explicit CUserMessageCameraTransition_Transition_DataDriven(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFilenameFieldNumber = 1, - kDurationFieldNumber = 3, - kAttachEntIndexFieldNumber = 2, - }; - // optional string filename = 1; - bool has_filename() const; - private: - bool _internal_has_filename() const; - public: - void clear_filename(); - const std::string& filename() const; - template - void set_filename(ArgT0&& arg0, ArgT... args); - std::string* mutable_filename(); - PROTOBUF_NODISCARD std::string* release_filename(); - void set_allocated_filename(std::string* filename); - private: - const std::string& _internal_filename() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_filename(const std::string& value); - std::string* _internal_mutable_filename(); - public: - - // optional float duration = 3; - bool has_duration() const; - private: - bool _internal_has_duration() const; - public: - void clear_duration(); - float duration() const; - void set_duration(float value); - private: - float _internal_duration() const; - void _internal_set_duration(float value); - public: - - // optional int32 attach_ent_index = 2 [default = -1]; - bool has_attach_ent_index() const; - private: - bool _internal_has_attach_ent_index() const; - public: - void clear_attach_ent_index(); - int32_t attach_ent_index() const; - void set_attach_ent_index(int32_t value); - private: - int32_t _internal_attach_ent_index() const; - void _internal_set_attach_ent_index(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageCameraTransition.Transition_DataDriven) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_; - float duration_; - int32_t attach_ent_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageCameraTransition : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageCameraTransition) */ { - public: - inline CUserMessageCameraTransition() : CUserMessageCameraTransition(nullptr) {} - ~CUserMessageCameraTransition() override; - explicit PROTOBUF_CONSTEXPR CUserMessageCameraTransition(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageCameraTransition(const CUserMessageCameraTransition& from); - CUserMessageCameraTransition(CUserMessageCameraTransition&& from) noexcept - : CUserMessageCameraTransition() { - *this = ::std::move(from); - } - - inline CUserMessageCameraTransition& operator=(const CUserMessageCameraTransition& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageCameraTransition& operator=(CUserMessageCameraTransition&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageCameraTransition& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageCameraTransition* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageCameraTransition_default_instance_); - } - static constexpr int kIndexInFileMessages = - 36; - - friend void swap(CUserMessageCameraTransition& a, CUserMessageCameraTransition& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageCameraTransition* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageCameraTransition* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageCameraTransition* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageCameraTransition& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageCameraTransition& from) { - CUserMessageCameraTransition::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageCameraTransition* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageCameraTransition"; - } - protected: - explicit CUserMessageCameraTransition(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CUserMessageCameraTransition_Transition_DataDriven Transition_DataDriven; - - // accessors ------------------------------------------------------- - - enum : int { - kParamsDataDrivenFieldNumber = 3, - kCameraTypeFieldNumber = 1, - kDurationFieldNumber = 2, - }; - // optional .CUserMessageCameraTransition.Transition_DataDriven params_data_driven = 3; - bool has_params_data_driven() const; - private: - bool _internal_has_params_data_driven() const; - public: - void clear_params_data_driven(); - const ::CUserMessageCameraTransition_Transition_DataDriven& params_data_driven() const; - PROTOBUF_NODISCARD ::CUserMessageCameraTransition_Transition_DataDriven* release_params_data_driven(); - ::CUserMessageCameraTransition_Transition_DataDriven* mutable_params_data_driven(); - void set_allocated_params_data_driven(::CUserMessageCameraTransition_Transition_DataDriven* params_data_driven); - private: - const ::CUserMessageCameraTransition_Transition_DataDriven& _internal_params_data_driven() const; - ::CUserMessageCameraTransition_Transition_DataDriven* _internal_mutable_params_data_driven(); - public: - void unsafe_arena_set_allocated_params_data_driven( - ::CUserMessageCameraTransition_Transition_DataDriven* params_data_driven); - ::CUserMessageCameraTransition_Transition_DataDriven* unsafe_arena_release_params_data_driven(); - - // optional uint32 camera_type = 1; - bool has_camera_type() const; - private: - bool _internal_has_camera_type() const; - public: - void clear_camera_type(); - uint32_t camera_type() const; - void set_camera_type(uint32_t value); - private: - uint32_t _internal_camera_type() const; - void _internal_set_camera_type(uint32_t value); - public: - - // optional float duration = 2; - bool has_duration() const; - private: - bool _internal_has_duration() const; - public: - void clear_duration(); - float duration() const; - void set_duration(float value); - private: - float _internal_duration() const; - void _internal_set_duration(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageCameraTransition) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CUserMessageCameraTransition_Transition_DataDriven* params_data_driven_; - uint32_t camera_type_; - float duration_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_ReleaseParticleIndex : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.ReleaseParticleIndex) */ { - public: - inline CUserMsg_ParticleManager_ReleaseParticleIndex() : CUserMsg_ParticleManager_ReleaseParticleIndex(nullptr) {} - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ReleaseParticleIndex(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_ReleaseParticleIndex(const CUserMsg_ParticleManager_ReleaseParticleIndex& from); - CUserMsg_ParticleManager_ReleaseParticleIndex(CUserMsg_ParticleManager_ReleaseParticleIndex&& from) noexcept - : CUserMsg_ParticleManager_ReleaseParticleIndex() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_ReleaseParticleIndex& operator=(const CUserMsg_ParticleManager_ReleaseParticleIndex& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_ReleaseParticleIndex& operator=(CUserMsg_ParticleManager_ReleaseParticleIndex&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_ReleaseParticleIndex& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_ReleaseParticleIndex* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_ReleaseParticleIndex_default_instance_); - } - static constexpr int kIndexInFileMessages = - 37; - - friend void swap(CUserMsg_ParticleManager_ReleaseParticleIndex& a, CUserMsg_ParticleManager_ReleaseParticleIndex& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_ReleaseParticleIndex* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_ReleaseParticleIndex* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_ReleaseParticleIndex* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CUserMsg_ParticleManager_ReleaseParticleIndex& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CUserMsg_ParticleManager_ReleaseParticleIndex& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.ReleaseParticleIndex"; - } - protected: - explicit CUserMsg_ParticleManager_ReleaseParticleIndex(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.ReleaseParticleIndex) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_CreateParticle : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.CreateParticle) */ { - public: - inline CUserMsg_ParticleManager_CreateParticle() : CUserMsg_ParticleManager_CreateParticle(nullptr) {} - ~CUserMsg_ParticleManager_CreateParticle() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_CreateParticle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_CreateParticle(const CUserMsg_ParticleManager_CreateParticle& from); - CUserMsg_ParticleManager_CreateParticle(CUserMsg_ParticleManager_CreateParticle&& from) noexcept - : CUserMsg_ParticleManager_CreateParticle() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_CreateParticle& operator=(const CUserMsg_ParticleManager_CreateParticle& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_CreateParticle& operator=(CUserMsg_ParticleManager_CreateParticle&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_CreateParticle& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_CreateParticle* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_CreateParticle_default_instance_); - } - static constexpr int kIndexInFileMessages = - 38; - - friend void swap(CUserMsg_ParticleManager_CreateParticle& a, CUserMsg_ParticleManager_CreateParticle& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_CreateParticle* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_CreateParticle* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_CreateParticle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_CreateParticle& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_CreateParticle& from) { - CUserMsg_ParticleManager_CreateParticle::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_CreateParticle* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.CreateParticle"; - } - protected: - explicit CUserMsg_ParticleManager_CreateParticle(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kControlPointConfigurationFieldNumber = 7, - kAggregationPositionFieldNumber = 10, - kParticleNameIndexFieldNumber = 1, - kAttachTypeFieldNumber = 2, - kTeamBehaviorFieldNumber = 6, - kApplyVoiceBanRulesFieldNumber = 5, - kClusterFieldNumber = 8, - kEndcapTimeFieldNumber = 9, - kEntityHandleFieldNumber = 3, - kEntityHandleForModifiersFieldNumber = 4, - }; - // optional string control_point_configuration = 7; - bool has_control_point_configuration() const; - private: - bool _internal_has_control_point_configuration() const; - public: - void clear_control_point_configuration(); - const std::string& control_point_configuration() const; - template - void set_control_point_configuration(ArgT0&& arg0, ArgT... args); - std::string* mutable_control_point_configuration(); - PROTOBUF_NODISCARD std::string* release_control_point_configuration(); - void set_allocated_control_point_configuration(std::string* control_point_configuration); - private: - const std::string& _internal_control_point_configuration() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_control_point_configuration(const std::string& value); - std::string* _internal_mutable_control_point_configuration(); - public: - - // optional .CMsgVector aggregation_position = 10; - bool has_aggregation_position() const; - private: - bool _internal_has_aggregation_position() const; - public: - void clear_aggregation_position(); - const ::CMsgVector& aggregation_position() const; - PROTOBUF_NODISCARD ::CMsgVector* release_aggregation_position(); - ::CMsgVector* mutable_aggregation_position(); - void set_allocated_aggregation_position(::CMsgVector* aggregation_position); - private: - const ::CMsgVector& _internal_aggregation_position() const; - ::CMsgVector* _internal_mutable_aggregation_position(); - public: - void unsafe_arena_set_allocated_aggregation_position( - ::CMsgVector* aggregation_position); - ::CMsgVector* unsafe_arena_release_aggregation_position(); - - // optional fixed64 particle_name_index = 1; - bool has_particle_name_index() const; - private: - bool _internal_has_particle_name_index() const; - public: - void clear_particle_name_index(); - uint64_t particle_name_index() const; - void set_particle_name_index(uint64_t value); - private: - uint64_t _internal_particle_name_index() const; - void _internal_set_particle_name_index(uint64_t value); - public: - - // optional int32 attach_type = 2; - bool has_attach_type() const; - private: - bool _internal_has_attach_type() const; - public: - void clear_attach_type(); - int32_t attach_type() const; - void set_attach_type(int32_t value); - private: - int32_t _internal_attach_type() const; - void _internal_set_attach_type(int32_t value); - public: - - // optional int32 team_behavior = 6; - bool has_team_behavior() const; - private: - bool _internal_has_team_behavior() const; - public: - void clear_team_behavior(); - int32_t team_behavior() const; - void set_team_behavior(int32_t value); - private: - int32_t _internal_team_behavior() const; - void _internal_set_team_behavior(int32_t value); - public: - - // optional bool apply_voice_ban_rules = 5; - bool has_apply_voice_ban_rules() const; - private: - bool _internal_has_apply_voice_ban_rules() const; - public: - void clear_apply_voice_ban_rules(); - bool apply_voice_ban_rules() const; - void set_apply_voice_ban_rules(bool value); - private: - bool _internal_apply_voice_ban_rules() const; - void _internal_set_apply_voice_ban_rules(bool value); - public: - - // optional bool cluster = 8; - bool has_cluster() const; - private: - bool _internal_has_cluster() const; - public: - void clear_cluster(); - bool cluster() const; - void set_cluster(bool value); - private: - bool _internal_cluster() const; - void _internal_set_cluster(bool value); - public: - - // optional float endcap_time = 9; - bool has_endcap_time() const; - private: - bool _internal_has_endcap_time() const; - public: - void clear_endcap_time(); - float endcap_time() const; - void set_endcap_time(float value); - private: - float _internal_endcap_time() const; - void _internal_set_endcap_time(float value); - public: - - // optional uint32 entity_handle = 3 [default = 16777215]; - bool has_entity_handle() const; - private: - bool _internal_has_entity_handle() const; - public: - void clear_entity_handle(); - uint32_t entity_handle() const; - void set_entity_handle(uint32_t value); - private: - uint32_t _internal_entity_handle() const; - void _internal_set_entity_handle(uint32_t value); - public: - - // optional uint32 entity_handle_for_modifiers = 4 [default = 16777215]; - bool has_entity_handle_for_modifiers() const; - private: - bool _internal_has_entity_handle_for_modifiers() const; - public: - void clear_entity_handle_for_modifiers(); - uint32_t entity_handle_for_modifiers() const; - void set_entity_handle_for_modifiers(uint32_t value); - private: - uint32_t _internal_entity_handle_for_modifiers() const; - void _internal_set_entity_handle_for_modifiers(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.CreateParticle) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr control_point_configuration_; - ::CMsgVector* aggregation_position_; - uint64_t particle_name_index_; - int32_t attach_type_; - int32_t team_behavior_; - bool apply_voice_ban_rules_; - bool cluster_; - float endcap_time_; - uint32_t entity_handle_; - uint32_t entity_handle_for_modifiers_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_DestroyParticle : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.DestroyParticle) */ { - public: - inline CUserMsg_ParticleManager_DestroyParticle() : CUserMsg_ParticleManager_DestroyParticle(nullptr) {} - ~CUserMsg_ParticleManager_DestroyParticle() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyParticle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_DestroyParticle(const CUserMsg_ParticleManager_DestroyParticle& from); - CUserMsg_ParticleManager_DestroyParticle(CUserMsg_ParticleManager_DestroyParticle&& from) noexcept - : CUserMsg_ParticleManager_DestroyParticle() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_DestroyParticle& operator=(const CUserMsg_ParticleManager_DestroyParticle& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_DestroyParticle& operator=(CUserMsg_ParticleManager_DestroyParticle&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_DestroyParticle& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_DestroyParticle* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_DestroyParticle_default_instance_); - } - static constexpr int kIndexInFileMessages = - 39; - - friend void swap(CUserMsg_ParticleManager_DestroyParticle& a, CUserMsg_ParticleManager_DestroyParticle& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_DestroyParticle* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_DestroyParticle* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_DestroyParticle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_DestroyParticle& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_DestroyParticle& from) { - CUserMsg_ParticleManager_DestroyParticle::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_DestroyParticle* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.DestroyParticle"; - } - protected: - explicit CUserMsg_ParticleManager_DestroyParticle(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDestroyImmediatelyFieldNumber = 1, - }; - // optional bool destroy_immediately = 1; - bool has_destroy_immediately() const; - private: - bool _internal_has_destroy_immediately() const; - public: - void clear_destroy_immediately(); - bool destroy_immediately() const; - void set_destroy_immediately(bool value); - private: - bool _internal_destroy_immediately() const; - void _internal_set_destroy_immediately(bool value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.DestroyParticle) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool destroy_immediately_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_DestroyParticleInvolving : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.DestroyParticleInvolving) */ { - public: - inline CUserMsg_ParticleManager_DestroyParticleInvolving() : CUserMsg_ParticleManager_DestroyParticleInvolving(nullptr) {} - ~CUserMsg_ParticleManager_DestroyParticleInvolving() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyParticleInvolving(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_DestroyParticleInvolving(const CUserMsg_ParticleManager_DestroyParticleInvolving& from); - CUserMsg_ParticleManager_DestroyParticleInvolving(CUserMsg_ParticleManager_DestroyParticleInvolving&& from) noexcept - : CUserMsg_ParticleManager_DestroyParticleInvolving() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_DestroyParticleInvolving& operator=(const CUserMsg_ParticleManager_DestroyParticleInvolving& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_DestroyParticleInvolving& operator=(CUserMsg_ParticleManager_DestroyParticleInvolving&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_DestroyParticleInvolving& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_DestroyParticleInvolving* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_DestroyParticleInvolving_default_instance_); - } - static constexpr int kIndexInFileMessages = - 40; - - friend void swap(CUserMsg_ParticleManager_DestroyParticleInvolving& a, CUserMsg_ParticleManager_DestroyParticleInvolving& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_DestroyParticleInvolving* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_DestroyParticleInvolving* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_DestroyParticleInvolving* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_DestroyParticleInvolving& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_DestroyParticleInvolving& from) { - CUserMsg_ParticleManager_DestroyParticleInvolving::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_DestroyParticleInvolving* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.DestroyParticleInvolving"; - } - protected: - explicit CUserMsg_ParticleManager_DestroyParticleInvolving(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDestroyImmediatelyFieldNumber = 1, - kEntityHandleFieldNumber = 3, - }; - // optional bool destroy_immediately = 1; - bool has_destroy_immediately() const; - private: - bool _internal_has_destroy_immediately() const; - public: - void clear_destroy_immediately(); - bool destroy_immediately() const; - void set_destroy_immediately(bool value); - private: - bool _internal_destroy_immediately() const; - void _internal_set_destroy_immediately(bool value); - public: - - // optional uint32 entity_handle = 3 [default = 16777215]; - bool has_entity_handle() const; - private: - bool _internal_has_entity_handle() const; - public: - void clear_entity_handle(); - uint32_t entity_handle() const; - void set_entity_handle(uint32_t value); - private: - uint32_t _internal_entity_handle() const; - void _internal_set_entity_handle(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.DestroyParticleInvolving) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool destroy_immediately_; - uint32_t entity_handle_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_DestroyParticleNamed : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.DestroyParticleNamed) */ { - public: - inline CUserMsg_ParticleManager_DestroyParticleNamed() : CUserMsg_ParticleManager_DestroyParticleNamed(nullptr) {} - ~CUserMsg_ParticleManager_DestroyParticleNamed() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyParticleNamed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_DestroyParticleNamed(const CUserMsg_ParticleManager_DestroyParticleNamed& from); - CUserMsg_ParticleManager_DestroyParticleNamed(CUserMsg_ParticleManager_DestroyParticleNamed&& from) noexcept - : CUserMsg_ParticleManager_DestroyParticleNamed() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_DestroyParticleNamed& operator=(const CUserMsg_ParticleManager_DestroyParticleNamed& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_DestroyParticleNamed& operator=(CUserMsg_ParticleManager_DestroyParticleNamed&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_DestroyParticleNamed& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_DestroyParticleNamed* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_DestroyParticleNamed_default_instance_); - } - static constexpr int kIndexInFileMessages = - 41; - - friend void swap(CUserMsg_ParticleManager_DestroyParticleNamed& a, CUserMsg_ParticleManager_DestroyParticleNamed& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_DestroyParticleNamed* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_DestroyParticleNamed* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_DestroyParticleNamed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_DestroyParticleNamed& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_DestroyParticleNamed& from) { - CUserMsg_ParticleManager_DestroyParticleNamed::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_DestroyParticleNamed* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.DestroyParticleNamed"; - } - protected: - explicit CUserMsg_ParticleManager_DestroyParticleNamed(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kParticleNameIndexFieldNumber = 1, - kDestroyImmediatelyFieldNumber = 3, - kPlayEndcapFieldNumber = 4, - kEntityHandleFieldNumber = 2, - }; - // optional fixed64 particle_name_index = 1; - bool has_particle_name_index() const; - private: - bool _internal_has_particle_name_index() const; - public: - void clear_particle_name_index(); - uint64_t particle_name_index() const; - void set_particle_name_index(uint64_t value); - private: - uint64_t _internal_particle_name_index() const; - void _internal_set_particle_name_index(uint64_t value); - public: - - // optional bool destroy_immediately = 3; - bool has_destroy_immediately() const; - private: - bool _internal_has_destroy_immediately() const; - public: - void clear_destroy_immediately(); - bool destroy_immediately() const; - void set_destroy_immediately(bool value); - private: - bool _internal_destroy_immediately() const; - void _internal_set_destroy_immediately(bool value); - public: - - // optional bool play_endcap = 4; - bool has_play_endcap() const; - private: - bool _internal_has_play_endcap() const; - public: - void clear_play_endcap(); - bool play_endcap() const; - void set_play_endcap(bool value); - private: - bool _internal_play_endcap() const; - void _internal_set_play_endcap(bool value); - public: - - // optional uint32 entity_handle = 2 [default = 16777215]; - bool has_entity_handle() const; - private: - bool _internal_has_entity_handle() const; - public: - void clear_entity_handle(); - uint32_t entity_handle() const; - void set_entity_handle(uint32_t value); - private: - uint32_t _internal_entity_handle() const; - void _internal_set_entity_handle(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.DestroyParticleNamed) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint64_t particle_name_index_; - bool destroy_immediately_; - bool play_endcap_; - uint32_t entity_handle_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_UpdateParticle_OBSOLETE : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) */ { - public: - inline CUserMsg_ParticleManager_UpdateParticle_OBSOLETE() : CUserMsg_ParticleManager_UpdateParticle_OBSOLETE(nullptr) {} - ~CUserMsg_ParticleManager_UpdateParticle_OBSOLETE() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticle_OBSOLETE(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_UpdateParticle_OBSOLETE(const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& from); - CUserMsg_ParticleManager_UpdateParticle_OBSOLETE(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE&& from) noexcept - : CUserMsg_ParticleManager_UpdateParticle_OBSOLETE() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& operator=(const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& operator=(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_UpdateParticle_OBSOLETE_default_instance_); - } - static constexpr int kIndexInFileMessages = - 42; - - friend void swap(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& a, CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& from) { - CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.UpdateParticle_OBSOLETE"; - } - protected: - explicit CUserMsg_ParticleManager_UpdateParticle_OBSOLETE(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPositionFieldNumber = 2, - kControlPointFieldNumber = 1, - }; - // optional .CMsgVector position = 2; - bool has_position() const; - private: - bool _internal_has_position() const; - public: - void clear_position(); - const ::CMsgVector& position() const; - PROTOBUF_NODISCARD ::CMsgVector* release_position(); - ::CMsgVector* mutable_position(); - void set_allocated_position(::CMsgVector* position); - private: - const ::CMsgVector& _internal_position() const; - ::CMsgVector* _internal_mutable_position(); - public: - void unsafe_arena_set_allocated_position( - ::CMsgVector* position); - ::CMsgVector* unsafe_arena_release_position(); - - // optional int32 control_point = 1; - bool has_control_point() const; - private: - bool _internal_has_control_point() const; - public: - void clear_control_point(); - int32_t control_point() const; - void set_control_point(int32_t value); - private: - int32_t _internal_control_point() const; - void _internal_set_control_point(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* position_; - int32_t control_point_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) */ { - public: - inline CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE() : CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE(nullptr) {} - ~CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE(const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& from); - CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE&& from) noexcept - : CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& operator=(const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& operator=(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE_default_instance_); - } - static constexpr int kIndexInFileMessages = - 43; - - friend void swap(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& a, CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& from) { - CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE"; - } - protected: - explicit CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kForwardFieldNumber = 2, - kControlPointFieldNumber = 1, - }; - // optional .CMsgVector forward = 2; - bool has_forward() const; - private: - bool _internal_has_forward() const; - public: - void clear_forward(); - const ::CMsgVector& forward() const; - PROTOBUF_NODISCARD ::CMsgVector* release_forward(); - ::CMsgVector* mutable_forward(); - void set_allocated_forward(::CMsgVector* forward); - private: - const ::CMsgVector& _internal_forward() const; - ::CMsgVector* _internal_mutable_forward(); - public: - void unsafe_arena_set_allocated_forward( - ::CMsgVector* forward); - ::CMsgVector* unsafe_arena_release_forward(); - - // optional int32 control_point = 1; - bool has_control_point() const; - private: - bool _internal_has_control_point() const; - public: - void clear_control_point(); - int32_t control_point() const; - void set_control_point(int32_t value); - private: - int32_t _internal_control_point() const; - void _internal_set_control_point(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* forward_; - int32_t control_point_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) */ { - public: - inline CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE() : CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE(nullptr) {} - ~CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& from); - CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE&& from) noexcept - : CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& operator=(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& operator=(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE_default_instance_); - } - static constexpr int kIndexInFileMessages = - 44; - - friend void swap(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& a, CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& from) { - CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE"; - } - protected: - explicit CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kForwardFieldNumber = 2, - kDeprecatedRightFieldNumber = 3, - kUpFieldNumber = 4, - kLeftFieldNumber = 5, - kControlPointFieldNumber = 1, - }; - // optional .CMsgVector forward = 2; - bool has_forward() const; - private: - bool _internal_has_forward() const; - public: - void clear_forward(); - const ::CMsgVector& forward() const; - PROTOBUF_NODISCARD ::CMsgVector* release_forward(); - ::CMsgVector* mutable_forward(); - void set_allocated_forward(::CMsgVector* forward); - private: - const ::CMsgVector& _internal_forward() const; - ::CMsgVector* _internal_mutable_forward(); - public: - void unsafe_arena_set_allocated_forward( - ::CMsgVector* forward); - ::CMsgVector* unsafe_arena_release_forward(); - - // optional .CMsgVector deprecated_right = 3; - bool has_deprecated_right() const; - private: - bool _internal_has_deprecated_right() const; - public: - void clear_deprecated_right(); - const ::CMsgVector& deprecated_right() const; - PROTOBUF_NODISCARD ::CMsgVector* release_deprecated_right(); - ::CMsgVector* mutable_deprecated_right(); - void set_allocated_deprecated_right(::CMsgVector* deprecated_right); - private: - const ::CMsgVector& _internal_deprecated_right() const; - ::CMsgVector* _internal_mutable_deprecated_right(); - public: - void unsafe_arena_set_allocated_deprecated_right( - ::CMsgVector* deprecated_right); - ::CMsgVector* unsafe_arena_release_deprecated_right(); - - // optional .CMsgVector up = 4; - bool has_up() const; - private: - bool _internal_has_up() const; - public: - void clear_up(); - const ::CMsgVector& up() const; - PROTOBUF_NODISCARD ::CMsgVector* release_up(); - ::CMsgVector* mutable_up(); - void set_allocated_up(::CMsgVector* up); - private: - const ::CMsgVector& _internal_up() const; - ::CMsgVector* _internal_mutable_up(); - public: - void unsafe_arena_set_allocated_up( - ::CMsgVector* up); - ::CMsgVector* unsafe_arena_release_up(); - - // optional .CMsgVector left = 5; - bool has_left() const; - private: - bool _internal_has_left() const; - public: - void clear_left(); - const ::CMsgVector& left() const; - PROTOBUF_NODISCARD ::CMsgVector* release_left(); - ::CMsgVector* mutable_left(); - void set_allocated_left(::CMsgVector* left); - private: - const ::CMsgVector& _internal_left() const; - ::CMsgVector* _internal_mutable_left(); - public: - void unsafe_arena_set_allocated_left( - ::CMsgVector* left); - ::CMsgVector* unsafe_arena_release_left(); - - // optional int32 control_point = 1; - bool has_control_point() const; - private: - bool _internal_has_control_point() const; - public: - void clear_control_point(); - int32_t control_point() const; - void set_control_point(int32_t value); - private: - int32_t _internal_control_point() const; - void _internal_set_control_point(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* forward_; - ::CMsgVector* deprecated_right_; - ::CMsgVector* up_; - ::CMsgVector* left_; - int32_t control_point_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_UpdateParticleTransform : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateParticleTransform) */ { - public: - inline CUserMsg_ParticleManager_UpdateParticleTransform() : CUserMsg_ParticleManager_UpdateParticleTransform(nullptr) {} - ~CUserMsg_ParticleManager_UpdateParticleTransform() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleTransform(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_UpdateParticleTransform(const CUserMsg_ParticleManager_UpdateParticleTransform& from); - CUserMsg_ParticleManager_UpdateParticleTransform(CUserMsg_ParticleManager_UpdateParticleTransform&& from) noexcept - : CUserMsg_ParticleManager_UpdateParticleTransform() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_UpdateParticleTransform& operator=(const CUserMsg_ParticleManager_UpdateParticleTransform& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_UpdateParticleTransform& operator=(CUserMsg_ParticleManager_UpdateParticleTransform&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_UpdateParticleTransform& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_UpdateParticleTransform* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_UpdateParticleTransform_default_instance_); - } - static constexpr int kIndexInFileMessages = - 45; - - friend void swap(CUserMsg_ParticleManager_UpdateParticleTransform& a, CUserMsg_ParticleManager_UpdateParticleTransform& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_UpdateParticleTransform* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_UpdateParticleTransform* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_UpdateParticleTransform* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_UpdateParticleTransform& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_UpdateParticleTransform& from) { - CUserMsg_ParticleManager_UpdateParticleTransform::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_UpdateParticleTransform* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.UpdateParticleTransform"; - } - protected: - explicit CUserMsg_ParticleManager_UpdateParticleTransform(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPositionFieldNumber = 2, - kOrientationFieldNumber = 3, - kControlPointFieldNumber = 1, - kInterpolationIntervalFieldNumber = 4, - }; - // optional .CMsgVector position = 2; - bool has_position() const; - private: - bool _internal_has_position() const; - public: - void clear_position(); - const ::CMsgVector& position() const; - PROTOBUF_NODISCARD ::CMsgVector* release_position(); - ::CMsgVector* mutable_position(); - void set_allocated_position(::CMsgVector* position); - private: - const ::CMsgVector& _internal_position() const; - ::CMsgVector* _internal_mutable_position(); - public: - void unsafe_arena_set_allocated_position( - ::CMsgVector* position); - ::CMsgVector* unsafe_arena_release_position(); - - // optional .CMsgQuaternion orientation = 3; - bool has_orientation() const; - private: - bool _internal_has_orientation() const; - public: - void clear_orientation(); - const ::CMsgQuaternion& orientation() const; - PROTOBUF_NODISCARD ::CMsgQuaternion* release_orientation(); - ::CMsgQuaternion* mutable_orientation(); - void set_allocated_orientation(::CMsgQuaternion* orientation); - private: - const ::CMsgQuaternion& _internal_orientation() const; - ::CMsgQuaternion* _internal_mutable_orientation(); - public: - void unsafe_arena_set_allocated_orientation( - ::CMsgQuaternion* orientation); - ::CMsgQuaternion* unsafe_arena_release_orientation(); - - // optional int32 control_point = 1; - bool has_control_point() const; - private: - bool _internal_has_control_point() const; - public: - void clear_control_point(); - int32_t control_point() const; - void set_control_point(int32_t value); - private: - int32_t _internal_control_point() const; - void _internal_set_control_point(int32_t value); - public: - - // optional float interpolation_interval = 4; - bool has_interpolation_interval() const; - private: - bool _internal_has_interpolation_interval() const; - public: - void clear_interpolation_interval(); - float interpolation_interval() const; - void set_interpolation_interval(float value); - private: - float _internal_interpolation_interval() const; - void _internal_set_interpolation_interval(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateParticleTransform) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* position_; - ::CMsgQuaternion* orientation_; - int32_t control_point_; - float interpolation_interval_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_UpdateParticleFallback : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateParticleFallback) */ { - public: - inline CUserMsg_ParticleManager_UpdateParticleFallback() : CUserMsg_ParticleManager_UpdateParticleFallback(nullptr) {} - ~CUserMsg_ParticleManager_UpdateParticleFallback() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleFallback(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_UpdateParticleFallback(const CUserMsg_ParticleManager_UpdateParticleFallback& from); - CUserMsg_ParticleManager_UpdateParticleFallback(CUserMsg_ParticleManager_UpdateParticleFallback&& from) noexcept - : CUserMsg_ParticleManager_UpdateParticleFallback() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_UpdateParticleFallback& operator=(const CUserMsg_ParticleManager_UpdateParticleFallback& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_UpdateParticleFallback& operator=(CUserMsg_ParticleManager_UpdateParticleFallback&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_UpdateParticleFallback& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_UpdateParticleFallback* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_UpdateParticleFallback_default_instance_); - } - static constexpr int kIndexInFileMessages = - 46; - - friend void swap(CUserMsg_ParticleManager_UpdateParticleFallback& a, CUserMsg_ParticleManager_UpdateParticleFallback& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_UpdateParticleFallback* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_UpdateParticleFallback* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_UpdateParticleFallback* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_UpdateParticleFallback& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_UpdateParticleFallback& from) { - CUserMsg_ParticleManager_UpdateParticleFallback::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_UpdateParticleFallback* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.UpdateParticleFallback"; - } - protected: - explicit CUserMsg_ParticleManager_UpdateParticleFallback(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPositionFieldNumber = 2, - kControlPointFieldNumber = 1, - }; - // optional .CMsgVector position = 2; - bool has_position() const; - private: - bool _internal_has_position() const; - public: - void clear_position(); - const ::CMsgVector& position() const; - PROTOBUF_NODISCARD ::CMsgVector* release_position(); - ::CMsgVector* mutable_position(); - void set_allocated_position(::CMsgVector* position); - private: - const ::CMsgVector& _internal_position() const; - ::CMsgVector* _internal_mutable_position(); - public: - void unsafe_arena_set_allocated_position( - ::CMsgVector* position); - ::CMsgVector* unsafe_arena_release_position(); - - // optional int32 control_point = 1; - bool has_control_point() const; - private: - bool _internal_has_control_point() const; - public: - void clear_control_point(); - int32_t control_point() const; - void set_control_point(int32_t value); - private: - int32_t _internal_control_point() const; - void _internal_set_control_point(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateParticleFallback) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* position_; - int32_t control_point_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_UpdateParticleOffset : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateParticleOffset) */ { - public: - inline CUserMsg_ParticleManager_UpdateParticleOffset() : CUserMsg_ParticleManager_UpdateParticleOffset(nullptr) {} - ~CUserMsg_ParticleManager_UpdateParticleOffset() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleOffset(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_UpdateParticleOffset(const CUserMsg_ParticleManager_UpdateParticleOffset& from); - CUserMsg_ParticleManager_UpdateParticleOffset(CUserMsg_ParticleManager_UpdateParticleOffset&& from) noexcept - : CUserMsg_ParticleManager_UpdateParticleOffset() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_UpdateParticleOffset& operator=(const CUserMsg_ParticleManager_UpdateParticleOffset& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_UpdateParticleOffset& operator=(CUserMsg_ParticleManager_UpdateParticleOffset&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_UpdateParticleOffset& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_UpdateParticleOffset* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_UpdateParticleOffset_default_instance_); - } - static constexpr int kIndexInFileMessages = - 47; - - friend void swap(CUserMsg_ParticleManager_UpdateParticleOffset& a, CUserMsg_ParticleManager_UpdateParticleOffset& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_UpdateParticleOffset* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_UpdateParticleOffset* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_UpdateParticleOffset* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_UpdateParticleOffset& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_UpdateParticleOffset& from) { - CUserMsg_ParticleManager_UpdateParticleOffset::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_UpdateParticleOffset* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.UpdateParticleOffset"; - } - protected: - explicit CUserMsg_ParticleManager_UpdateParticleOffset(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginOffsetFieldNumber = 2, - kAngleOffsetFieldNumber = 3, - kControlPointFieldNumber = 1, - }; - // optional .CMsgVector origin_offset = 2; - bool has_origin_offset() const; - private: - bool _internal_has_origin_offset() const; - public: - void clear_origin_offset(); - const ::CMsgVector& origin_offset() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin_offset(); - ::CMsgVector* mutable_origin_offset(); - void set_allocated_origin_offset(::CMsgVector* origin_offset); - private: - const ::CMsgVector& _internal_origin_offset() const; - ::CMsgVector* _internal_mutable_origin_offset(); - public: - void unsafe_arena_set_allocated_origin_offset( - ::CMsgVector* origin_offset); - ::CMsgVector* unsafe_arena_release_origin_offset(); - - // optional .CMsgQAngle angle_offset = 3; - bool has_angle_offset() const; - private: - bool _internal_has_angle_offset() const; - public: - void clear_angle_offset(); - const ::CMsgQAngle& angle_offset() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_angle_offset(); - ::CMsgQAngle* mutable_angle_offset(); - void set_allocated_angle_offset(::CMsgQAngle* angle_offset); - private: - const ::CMsgQAngle& _internal_angle_offset() const; - ::CMsgQAngle* _internal_mutable_angle_offset(); - public: - void unsafe_arena_set_allocated_angle_offset( - ::CMsgQAngle* angle_offset); - ::CMsgQAngle* unsafe_arena_release_angle_offset(); - - // optional int32 control_point = 1; - bool has_control_point() const; - private: - bool _internal_has_control_point() const; - public: - void clear_control_point(); - int32_t control_point() const; - void set_control_point(int32_t value); - private: - int32_t _internal_control_point() const; - void _internal_set_control_point(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateParticleOffset) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* origin_offset_; - ::CMsgQAngle* angle_offset_; - int32_t control_point_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_UpdateParticleEnt : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateParticleEnt) */ { - public: - inline CUserMsg_ParticleManager_UpdateParticleEnt() : CUserMsg_ParticleManager_UpdateParticleEnt(nullptr) {} - ~CUserMsg_ParticleManager_UpdateParticleEnt() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleEnt(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_UpdateParticleEnt(const CUserMsg_ParticleManager_UpdateParticleEnt& from); - CUserMsg_ParticleManager_UpdateParticleEnt(CUserMsg_ParticleManager_UpdateParticleEnt&& from) noexcept - : CUserMsg_ParticleManager_UpdateParticleEnt() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_UpdateParticleEnt& operator=(const CUserMsg_ParticleManager_UpdateParticleEnt& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_UpdateParticleEnt& operator=(CUserMsg_ParticleManager_UpdateParticleEnt&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_UpdateParticleEnt& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_UpdateParticleEnt* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_UpdateParticleEnt_default_instance_); - } - static constexpr int kIndexInFileMessages = - 48; - - friend void swap(CUserMsg_ParticleManager_UpdateParticleEnt& a, CUserMsg_ParticleManager_UpdateParticleEnt& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_UpdateParticleEnt* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_UpdateParticleEnt* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_UpdateParticleEnt* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_UpdateParticleEnt& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_UpdateParticleEnt& from) { - CUserMsg_ParticleManager_UpdateParticleEnt::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_UpdateParticleEnt* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.UpdateParticleEnt"; - } - protected: - explicit CUserMsg_ParticleManager_UpdateParticleEnt(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFallbackPositionFieldNumber = 5, - kOffsetPositionFieldNumber = 7, - kOffsetAnglesFieldNumber = 8, - kControlPointFieldNumber = 1, - kAttachTypeFieldNumber = 3, - kAttachmentFieldNumber = 4, - kIncludeWearablesFieldNumber = 6, - kEntityHandleFieldNumber = 2, - }; - // optional .CMsgVector fallback_position = 5; - bool has_fallback_position() const; - private: - bool _internal_has_fallback_position() const; - public: - void clear_fallback_position(); - const ::CMsgVector& fallback_position() const; - PROTOBUF_NODISCARD ::CMsgVector* release_fallback_position(); - ::CMsgVector* mutable_fallback_position(); - void set_allocated_fallback_position(::CMsgVector* fallback_position); - private: - const ::CMsgVector& _internal_fallback_position() const; - ::CMsgVector* _internal_mutable_fallback_position(); - public: - void unsafe_arena_set_allocated_fallback_position( - ::CMsgVector* fallback_position); - ::CMsgVector* unsafe_arena_release_fallback_position(); - - // optional .CMsgVector offset_position = 7; - bool has_offset_position() const; - private: - bool _internal_has_offset_position() const; - public: - void clear_offset_position(); - const ::CMsgVector& offset_position() const; - PROTOBUF_NODISCARD ::CMsgVector* release_offset_position(); - ::CMsgVector* mutable_offset_position(); - void set_allocated_offset_position(::CMsgVector* offset_position); - private: - const ::CMsgVector& _internal_offset_position() const; - ::CMsgVector* _internal_mutable_offset_position(); - public: - void unsafe_arena_set_allocated_offset_position( - ::CMsgVector* offset_position); - ::CMsgVector* unsafe_arena_release_offset_position(); - - // optional .CMsgQAngle offset_angles = 8; - bool has_offset_angles() const; - private: - bool _internal_has_offset_angles() const; - public: - void clear_offset_angles(); - const ::CMsgQAngle& offset_angles() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_offset_angles(); - ::CMsgQAngle* mutable_offset_angles(); - void set_allocated_offset_angles(::CMsgQAngle* offset_angles); - private: - const ::CMsgQAngle& _internal_offset_angles() const; - ::CMsgQAngle* _internal_mutable_offset_angles(); - public: - void unsafe_arena_set_allocated_offset_angles( - ::CMsgQAngle* offset_angles); - ::CMsgQAngle* unsafe_arena_release_offset_angles(); - - // optional int32 control_point = 1; - bool has_control_point() const; - private: - bool _internal_has_control_point() const; - public: - void clear_control_point(); - int32_t control_point() const; - void set_control_point(int32_t value); - private: - int32_t _internal_control_point() const; - void _internal_set_control_point(int32_t value); - public: - - // optional int32 attach_type = 3; - bool has_attach_type() const; - private: - bool _internal_has_attach_type() const; - public: - void clear_attach_type(); - int32_t attach_type() const; - void set_attach_type(int32_t value); - private: - int32_t _internal_attach_type() const; - void _internal_set_attach_type(int32_t value); - public: - - // optional int32 attachment = 4; - bool has_attachment() const; - private: - bool _internal_has_attachment() const; - public: - void clear_attachment(); - int32_t attachment() const; - void set_attachment(int32_t value); - private: - int32_t _internal_attachment() const; - void _internal_set_attachment(int32_t value); - public: - - // optional bool include_wearables = 6; - bool has_include_wearables() const; - private: - bool _internal_has_include_wearables() const; - public: - void clear_include_wearables(); - bool include_wearables() const; - void set_include_wearables(bool value); - private: - bool _internal_include_wearables() const; - void _internal_set_include_wearables(bool value); - public: - - // optional uint32 entity_handle = 2 [default = 16777215]; - bool has_entity_handle() const; - private: - bool _internal_has_entity_handle() const; - public: - void clear_entity_handle(); - uint32_t entity_handle() const; - void set_entity_handle(uint32_t value); - private: - uint32_t _internal_entity_handle() const; - void _internal_set_entity_handle(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateParticleEnt) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* fallback_position_; - ::CMsgVector* offset_position_; - ::CMsgQAngle* offset_angles_; - int32_t control_point_; - int32_t attach_type_; - int32_t attachment_; - bool include_wearables_; - uint32_t entity_handle_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_UpdateParticleSetFrozen : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateParticleSetFrozen) */ { - public: - inline CUserMsg_ParticleManager_UpdateParticleSetFrozen() : CUserMsg_ParticleManager_UpdateParticleSetFrozen(nullptr) {} - ~CUserMsg_ParticleManager_UpdateParticleSetFrozen() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleSetFrozen(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_UpdateParticleSetFrozen(const CUserMsg_ParticleManager_UpdateParticleSetFrozen& from); - CUserMsg_ParticleManager_UpdateParticleSetFrozen(CUserMsg_ParticleManager_UpdateParticleSetFrozen&& from) noexcept - : CUserMsg_ParticleManager_UpdateParticleSetFrozen() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_UpdateParticleSetFrozen& operator=(const CUserMsg_ParticleManager_UpdateParticleSetFrozen& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_UpdateParticleSetFrozen& operator=(CUserMsg_ParticleManager_UpdateParticleSetFrozen&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_UpdateParticleSetFrozen& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_UpdateParticleSetFrozen* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_UpdateParticleSetFrozen_default_instance_); - } - static constexpr int kIndexInFileMessages = - 49; - - friend void swap(CUserMsg_ParticleManager_UpdateParticleSetFrozen& a, CUserMsg_ParticleManager_UpdateParticleSetFrozen& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_UpdateParticleSetFrozen* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_UpdateParticleSetFrozen* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_UpdateParticleSetFrozen* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_UpdateParticleSetFrozen& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_UpdateParticleSetFrozen& from) { - CUserMsg_ParticleManager_UpdateParticleSetFrozen::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_UpdateParticleSetFrozen* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.UpdateParticleSetFrozen"; - } - protected: - explicit CUserMsg_ParticleManager_UpdateParticleSetFrozen(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSetFrozenFieldNumber = 1, - kTransitionDurationFieldNumber = 2, - }; - // optional bool set_frozen = 1; - bool has_set_frozen() const; - private: - bool _internal_has_set_frozen() const; - public: - void clear_set_frozen(); - bool set_frozen() const; - void set_set_frozen(bool value); - private: - bool _internal_set_frozen() const; - void _internal_set_set_frozen(bool value); - public: - - // optional float transition_duration = 2; - bool has_transition_duration() const; - private: - bool _internal_has_transition_duration() const; - public: - void clear_transition_duration(); - float transition_duration() const; - void set_transition_duration(float value); - private: - float _internal_transition_duration() const; - void _internal_set_transition_duration(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateParticleSetFrozen) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool set_frozen_; - float transition_duration_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_UpdateParticleShouldDraw : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateParticleShouldDraw) */ { - public: - inline CUserMsg_ParticleManager_UpdateParticleShouldDraw() : CUserMsg_ParticleManager_UpdateParticleShouldDraw(nullptr) {} - ~CUserMsg_ParticleManager_UpdateParticleShouldDraw() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateParticleShouldDraw(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_UpdateParticleShouldDraw(const CUserMsg_ParticleManager_UpdateParticleShouldDraw& from); - CUserMsg_ParticleManager_UpdateParticleShouldDraw(CUserMsg_ParticleManager_UpdateParticleShouldDraw&& from) noexcept - : CUserMsg_ParticleManager_UpdateParticleShouldDraw() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_UpdateParticleShouldDraw& operator=(const CUserMsg_ParticleManager_UpdateParticleShouldDraw& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_UpdateParticleShouldDraw& operator=(CUserMsg_ParticleManager_UpdateParticleShouldDraw&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_UpdateParticleShouldDraw& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_UpdateParticleShouldDraw* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_UpdateParticleShouldDraw_default_instance_); - } - static constexpr int kIndexInFileMessages = - 50; - - friend void swap(CUserMsg_ParticleManager_UpdateParticleShouldDraw& a, CUserMsg_ParticleManager_UpdateParticleShouldDraw& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_UpdateParticleShouldDraw* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_UpdateParticleShouldDraw* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_UpdateParticleShouldDraw* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_UpdateParticleShouldDraw& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_UpdateParticleShouldDraw& from) { - CUserMsg_ParticleManager_UpdateParticleShouldDraw::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_UpdateParticleShouldDraw* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.UpdateParticleShouldDraw"; - } - protected: - explicit CUserMsg_ParticleManager_UpdateParticleShouldDraw(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kShouldDrawFieldNumber = 1, - }; - // optional bool should_draw = 1; - bool has_should_draw() const; - private: - bool _internal_has_should_draw() const; - public: - void clear_should_draw(); - bool should_draw() const; - void set_should_draw(bool value); - private: - bool _internal_should_draw() const; - void _internal_set_should_draw(bool value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateParticleShouldDraw) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool should_draw_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_ChangeControlPointAttachment : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.ChangeControlPointAttachment) */ { - public: - inline CUserMsg_ParticleManager_ChangeControlPointAttachment() : CUserMsg_ParticleManager_ChangeControlPointAttachment(nullptr) {} - ~CUserMsg_ParticleManager_ChangeControlPointAttachment() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ChangeControlPointAttachment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_ChangeControlPointAttachment(const CUserMsg_ParticleManager_ChangeControlPointAttachment& from); - CUserMsg_ParticleManager_ChangeControlPointAttachment(CUserMsg_ParticleManager_ChangeControlPointAttachment&& from) noexcept - : CUserMsg_ParticleManager_ChangeControlPointAttachment() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_ChangeControlPointAttachment& operator=(const CUserMsg_ParticleManager_ChangeControlPointAttachment& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_ChangeControlPointAttachment& operator=(CUserMsg_ParticleManager_ChangeControlPointAttachment&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_ChangeControlPointAttachment& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_ChangeControlPointAttachment* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_ChangeControlPointAttachment_default_instance_); - } - static constexpr int kIndexInFileMessages = - 51; - - friend void swap(CUserMsg_ParticleManager_ChangeControlPointAttachment& a, CUserMsg_ParticleManager_ChangeControlPointAttachment& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_ChangeControlPointAttachment* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_ChangeControlPointAttachment* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_ChangeControlPointAttachment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_ChangeControlPointAttachment& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_ChangeControlPointAttachment& from) { - CUserMsg_ParticleManager_ChangeControlPointAttachment::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_ChangeControlPointAttachment* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.ChangeControlPointAttachment"; - } - protected: - explicit CUserMsg_ParticleManager_ChangeControlPointAttachment(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAttachmentOldFieldNumber = 1, - kAttachmentNewFieldNumber = 2, - kEntityHandleFieldNumber = 3, - }; - // optional int32 attachment_old = 1; - bool has_attachment_old() const; - private: - bool _internal_has_attachment_old() const; - public: - void clear_attachment_old(); - int32_t attachment_old() const; - void set_attachment_old(int32_t value); - private: - int32_t _internal_attachment_old() const; - void _internal_set_attachment_old(int32_t value); - public: - - // optional int32 attachment_new = 2; - bool has_attachment_new() const; - private: - bool _internal_has_attachment_new() const; - public: - void clear_attachment_new(); - int32_t attachment_new() const; - void set_attachment_new(int32_t value); - private: - int32_t _internal_attachment_new() const; - void _internal_set_attachment_new(int32_t value); - public: - - // optional uint32 entity_handle = 3 [default = 16777215]; - bool has_entity_handle() const; - private: - bool _internal_has_entity_handle() const; - public: - void clear_entity_handle(); - uint32_t entity_handle() const; - void set_entity_handle(uint32_t value); - private: - uint32_t _internal_entity_handle() const; - void _internal_set_entity_handle(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.ChangeControlPointAttachment) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t attachment_old_; - int32_t attachment_new_; - uint32_t entity_handle_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_UpdateEntityPosition : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateEntityPosition) */ { - public: - inline CUserMsg_ParticleManager_UpdateEntityPosition() : CUserMsg_ParticleManager_UpdateEntityPosition(nullptr) {} - ~CUserMsg_ParticleManager_UpdateEntityPosition() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateEntityPosition(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_UpdateEntityPosition(const CUserMsg_ParticleManager_UpdateEntityPosition& from); - CUserMsg_ParticleManager_UpdateEntityPosition(CUserMsg_ParticleManager_UpdateEntityPosition&& from) noexcept - : CUserMsg_ParticleManager_UpdateEntityPosition() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_UpdateEntityPosition& operator=(const CUserMsg_ParticleManager_UpdateEntityPosition& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_UpdateEntityPosition& operator=(CUserMsg_ParticleManager_UpdateEntityPosition&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_UpdateEntityPosition& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_UpdateEntityPosition* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_UpdateEntityPosition_default_instance_); - } - static constexpr int kIndexInFileMessages = - 52; - - friend void swap(CUserMsg_ParticleManager_UpdateEntityPosition& a, CUserMsg_ParticleManager_UpdateEntityPosition& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_UpdateEntityPosition* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_UpdateEntityPosition* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_UpdateEntityPosition* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_UpdateEntityPosition& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_UpdateEntityPosition& from) { - CUserMsg_ParticleManager_UpdateEntityPosition::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_UpdateEntityPosition* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.UpdateEntityPosition"; - } - protected: - explicit CUserMsg_ParticleManager_UpdateEntityPosition(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPositionFieldNumber = 2, - kEntityHandleFieldNumber = 1, - }; - // optional .CMsgVector position = 2; - bool has_position() const; - private: - bool _internal_has_position() const; - public: - void clear_position(); - const ::CMsgVector& position() const; - PROTOBUF_NODISCARD ::CMsgVector* release_position(); - ::CMsgVector* mutable_position(); - void set_allocated_position(::CMsgVector* position); - private: - const ::CMsgVector& _internal_position() const; - ::CMsgVector* _internal_mutable_position(); - public: - void unsafe_arena_set_allocated_position( - ::CMsgVector* position); - ::CMsgVector* unsafe_arena_release_position(); - - // optional uint32 entity_handle = 1 [default = 16777215]; - bool has_entity_handle() const; - private: - bool _internal_has_entity_handle() const; - public: - void clear_entity_handle(); - uint32_t entity_handle() const; - void set_entity_handle(uint32_t value); - private: - uint32_t _internal_entity_handle() const; - void _internal_set_entity_handle(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateEntityPosition) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* position_; - uint32_t entity_handle_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_SetParticleFoWProperties : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetParticleFoWProperties) */ { - public: - inline CUserMsg_ParticleManager_SetParticleFoWProperties() : CUserMsg_ParticleManager_SetParticleFoWProperties(nullptr) {} - ~CUserMsg_ParticleManager_SetParticleFoWProperties() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleFoWProperties(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_SetParticleFoWProperties(const CUserMsg_ParticleManager_SetParticleFoWProperties& from); - CUserMsg_ParticleManager_SetParticleFoWProperties(CUserMsg_ParticleManager_SetParticleFoWProperties&& from) noexcept - : CUserMsg_ParticleManager_SetParticleFoWProperties() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_SetParticleFoWProperties& operator=(const CUserMsg_ParticleManager_SetParticleFoWProperties& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_SetParticleFoWProperties& operator=(CUserMsg_ParticleManager_SetParticleFoWProperties&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_SetParticleFoWProperties& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_SetParticleFoWProperties* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_SetParticleFoWProperties_default_instance_); - } - static constexpr int kIndexInFileMessages = - 53; - - friend void swap(CUserMsg_ParticleManager_SetParticleFoWProperties& a, CUserMsg_ParticleManager_SetParticleFoWProperties& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_SetParticleFoWProperties* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_SetParticleFoWProperties* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_SetParticleFoWProperties* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_SetParticleFoWProperties& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_SetParticleFoWProperties& from) { - CUserMsg_ParticleManager_SetParticleFoWProperties::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_SetParticleFoWProperties* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.SetParticleFoWProperties"; - } - protected: - explicit CUserMsg_ParticleManager_SetParticleFoWProperties(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFowControlPointFieldNumber = 1, - kFowControlPoint2FieldNumber = 2, - kFowRadiusFieldNumber = 3, - }; - // optional int32 fow_control_point = 1; - bool has_fow_control_point() const; - private: - bool _internal_has_fow_control_point() const; - public: - void clear_fow_control_point(); - int32_t fow_control_point() const; - void set_fow_control_point(int32_t value); - private: - int32_t _internal_fow_control_point() const; - void _internal_set_fow_control_point(int32_t value); - public: - - // optional int32 fow_control_point2 = 2; - bool has_fow_control_point2() const; - private: - bool _internal_has_fow_control_point2() const; - public: - void clear_fow_control_point2(); - int32_t fow_control_point2() const; - void set_fow_control_point2(int32_t value); - private: - int32_t _internal_fow_control_point2() const; - void _internal_set_fow_control_point2(int32_t value); - public: - - // optional float fow_radius = 3; - bool has_fow_radius() const; - private: - bool _internal_has_fow_radius() const; - public: - void clear_fow_radius(); - float fow_radius() const; - void set_fow_radius(float value); - private: - float _internal_fow_radius() const; - void _internal_set_fow_radius(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetParticleFoWProperties) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t fow_control_point_; - int32_t fow_control_point2_; - float fow_radius_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_SetParticleShouldCheckFoW : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) */ { - public: - inline CUserMsg_ParticleManager_SetParticleShouldCheckFoW() : CUserMsg_ParticleManager_SetParticleShouldCheckFoW(nullptr) {} - ~CUserMsg_ParticleManager_SetParticleShouldCheckFoW() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleShouldCheckFoW(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_SetParticleShouldCheckFoW(const CUserMsg_ParticleManager_SetParticleShouldCheckFoW& from); - CUserMsg_ParticleManager_SetParticleShouldCheckFoW(CUserMsg_ParticleManager_SetParticleShouldCheckFoW&& from) noexcept - : CUserMsg_ParticleManager_SetParticleShouldCheckFoW() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_SetParticleShouldCheckFoW& operator=(const CUserMsg_ParticleManager_SetParticleShouldCheckFoW& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_SetParticleShouldCheckFoW& operator=(CUserMsg_ParticleManager_SetParticleShouldCheckFoW&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_SetParticleShouldCheckFoW& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_SetParticleShouldCheckFoW* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_SetParticleShouldCheckFoW_default_instance_); - } - static constexpr int kIndexInFileMessages = - 54; - - friend void swap(CUserMsg_ParticleManager_SetParticleShouldCheckFoW& a, CUserMsg_ParticleManager_SetParticleShouldCheckFoW& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_SetParticleShouldCheckFoW* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_SetParticleShouldCheckFoW* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_SetParticleShouldCheckFoW* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_SetParticleShouldCheckFoW& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_SetParticleShouldCheckFoW& from) { - CUserMsg_ParticleManager_SetParticleShouldCheckFoW::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_SetParticleShouldCheckFoW* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.SetParticleShouldCheckFoW"; - } - protected: - explicit CUserMsg_ParticleManager_SetParticleShouldCheckFoW(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCheckFowFieldNumber = 1, - }; - // optional bool check_fow = 1; - bool has_check_fow() const; - private: - bool _internal_has_check_fow() const; - public: - void clear_check_fow(); - bool check_fow() const; - void set_check_fow(bool value); - private: - bool _internal_check_fow() const; - void _internal_set_check_fow(bool value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetParticleShouldCheckFoW) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool check_fow_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_SetControlPointModel : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetControlPointModel) */ { - public: - inline CUserMsg_ParticleManager_SetControlPointModel() : CUserMsg_ParticleManager_SetControlPointModel(nullptr) {} - ~CUserMsg_ParticleManager_SetControlPointModel() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetControlPointModel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_SetControlPointModel(const CUserMsg_ParticleManager_SetControlPointModel& from); - CUserMsg_ParticleManager_SetControlPointModel(CUserMsg_ParticleManager_SetControlPointModel&& from) noexcept - : CUserMsg_ParticleManager_SetControlPointModel() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_SetControlPointModel& operator=(const CUserMsg_ParticleManager_SetControlPointModel& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_SetControlPointModel& operator=(CUserMsg_ParticleManager_SetControlPointModel&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_SetControlPointModel& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_SetControlPointModel* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_SetControlPointModel_default_instance_); - } - static constexpr int kIndexInFileMessages = - 55; - - friend void swap(CUserMsg_ParticleManager_SetControlPointModel& a, CUserMsg_ParticleManager_SetControlPointModel& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_SetControlPointModel* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_SetControlPointModel* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_SetControlPointModel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_SetControlPointModel& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_SetControlPointModel& from) { - CUserMsg_ParticleManager_SetControlPointModel::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_SetControlPointModel* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.SetControlPointModel"; - } - protected: - explicit CUserMsg_ParticleManager_SetControlPointModel(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kModelNameFieldNumber = 2, - kControlPointFieldNumber = 1, - }; - // optional string model_name = 2; - bool has_model_name() const; - private: - bool _internal_has_model_name() const; - public: - void clear_model_name(); - const std::string& model_name() const; - template - void set_model_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_model_name(); - PROTOBUF_NODISCARD std::string* release_model_name(); - void set_allocated_model_name(std::string* model_name); - private: - const std::string& _internal_model_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_model_name(const std::string& value); - std::string* _internal_mutable_model_name(); - public: - - // optional int32 control_point = 1; - bool has_control_point() const; - private: - bool _internal_has_control_point() const; - public: - void clear_control_point(); - int32_t control_point() const; - void set_control_point(int32_t value); - private: - int32_t _internal_control_point() const; - void _internal_set_control_point(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetControlPointModel) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr model_name_; - int32_t control_point_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_SetControlPointSnapshot : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetControlPointSnapshot) */ { - public: - inline CUserMsg_ParticleManager_SetControlPointSnapshot() : CUserMsg_ParticleManager_SetControlPointSnapshot(nullptr) {} - ~CUserMsg_ParticleManager_SetControlPointSnapshot() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetControlPointSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_SetControlPointSnapshot(const CUserMsg_ParticleManager_SetControlPointSnapshot& from); - CUserMsg_ParticleManager_SetControlPointSnapshot(CUserMsg_ParticleManager_SetControlPointSnapshot&& from) noexcept - : CUserMsg_ParticleManager_SetControlPointSnapshot() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_SetControlPointSnapshot& operator=(const CUserMsg_ParticleManager_SetControlPointSnapshot& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_SetControlPointSnapshot& operator=(CUserMsg_ParticleManager_SetControlPointSnapshot&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_SetControlPointSnapshot& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_SetControlPointSnapshot* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_SetControlPointSnapshot_default_instance_); - } - static constexpr int kIndexInFileMessages = - 56; - - friend void swap(CUserMsg_ParticleManager_SetControlPointSnapshot& a, CUserMsg_ParticleManager_SetControlPointSnapshot& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_SetControlPointSnapshot* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_SetControlPointSnapshot* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_SetControlPointSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_SetControlPointSnapshot& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_SetControlPointSnapshot& from) { - CUserMsg_ParticleManager_SetControlPointSnapshot::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_SetControlPointSnapshot* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.SetControlPointSnapshot"; - } - protected: - explicit CUserMsg_ParticleManager_SetControlPointSnapshot(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSnapshotNameFieldNumber = 2, - kControlPointFieldNumber = 1, - }; - // optional string snapshot_name = 2; - bool has_snapshot_name() const; - private: - bool _internal_has_snapshot_name() const; - public: - void clear_snapshot_name(); - const std::string& snapshot_name() const; - template - void set_snapshot_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_snapshot_name(); - PROTOBUF_NODISCARD std::string* release_snapshot_name(); - void set_allocated_snapshot_name(std::string* snapshot_name); - private: - const std::string& _internal_snapshot_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_snapshot_name(const std::string& value); - std::string* _internal_mutable_snapshot_name(); - public: - - // optional int32 control_point = 1; - bool has_control_point() const; - private: - bool _internal_has_control_point() const; - public: - void clear_control_point(); - int32_t control_point() const; - void set_control_point(int32_t value); - private: - int32_t _internal_control_point() const; - void _internal_set_control_point(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetControlPointSnapshot) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr snapshot_name_; - int32_t control_point_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_SetParticleText : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetParticleText) */ { - public: - inline CUserMsg_ParticleManager_SetParticleText() : CUserMsg_ParticleManager_SetParticleText(nullptr) {} - ~CUserMsg_ParticleManager_SetParticleText() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleText(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_SetParticleText(const CUserMsg_ParticleManager_SetParticleText& from); - CUserMsg_ParticleManager_SetParticleText(CUserMsg_ParticleManager_SetParticleText&& from) noexcept - : CUserMsg_ParticleManager_SetParticleText() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_SetParticleText& operator=(const CUserMsg_ParticleManager_SetParticleText& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_SetParticleText& operator=(CUserMsg_ParticleManager_SetParticleText&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_SetParticleText& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_SetParticleText* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_SetParticleText_default_instance_); - } - static constexpr int kIndexInFileMessages = - 57; - - friend void swap(CUserMsg_ParticleManager_SetParticleText& a, CUserMsg_ParticleManager_SetParticleText& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_SetParticleText* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_SetParticleText* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_SetParticleText* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_SetParticleText& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_SetParticleText& from) { - CUserMsg_ParticleManager_SetParticleText::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_SetParticleText* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.SetParticleText"; - } - protected: - explicit CUserMsg_ParticleManager_SetParticleText(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTextFieldNumber = 1, - }; - // optional string text = 1; - bool has_text() const; - private: - bool _internal_has_text() const; - public: - void clear_text(); - const std::string& text() const; - template - void set_text(ArgT0&& arg0, ArgT... args); - std::string* mutable_text(); - PROTOBUF_NODISCARD std::string* release_text(); - void set_allocated_text(std::string* text); - private: - const std::string& _internal_text() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value); - std::string* _internal_mutable_text(); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetParticleText) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_SetTextureAttribute : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetTextureAttribute) */ { - public: - inline CUserMsg_ParticleManager_SetTextureAttribute() : CUserMsg_ParticleManager_SetTextureAttribute(nullptr) {} - ~CUserMsg_ParticleManager_SetTextureAttribute() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetTextureAttribute(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_SetTextureAttribute(const CUserMsg_ParticleManager_SetTextureAttribute& from); - CUserMsg_ParticleManager_SetTextureAttribute(CUserMsg_ParticleManager_SetTextureAttribute&& from) noexcept - : CUserMsg_ParticleManager_SetTextureAttribute() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_SetTextureAttribute& operator=(const CUserMsg_ParticleManager_SetTextureAttribute& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_SetTextureAttribute& operator=(CUserMsg_ParticleManager_SetTextureAttribute&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_SetTextureAttribute& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_SetTextureAttribute* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_SetTextureAttribute_default_instance_); - } - static constexpr int kIndexInFileMessages = - 58; - - friend void swap(CUserMsg_ParticleManager_SetTextureAttribute& a, CUserMsg_ParticleManager_SetTextureAttribute& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_SetTextureAttribute* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_SetTextureAttribute* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_SetTextureAttribute* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_SetTextureAttribute& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_SetTextureAttribute& from) { - CUserMsg_ParticleManager_SetTextureAttribute::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_SetTextureAttribute* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.SetTextureAttribute"; - } - protected: - explicit CUserMsg_ParticleManager_SetTextureAttribute(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAttributeNameFieldNumber = 1, - kTextureNameFieldNumber = 2, - }; - // optional string attribute_name = 1; - bool has_attribute_name() const; - private: - bool _internal_has_attribute_name() const; - public: - void clear_attribute_name(); - const std::string& attribute_name() const; - template - void set_attribute_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_attribute_name(); - PROTOBUF_NODISCARD std::string* release_attribute_name(); - void set_allocated_attribute_name(std::string* attribute_name); - private: - const std::string& _internal_attribute_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_attribute_name(const std::string& value); - std::string* _internal_mutable_attribute_name(); - public: - - // optional string texture_name = 2; - bool has_texture_name() const; - private: - bool _internal_has_texture_name() const; - public: - void clear_texture_name(); - const std::string& texture_name() const; - template - void set_texture_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_texture_name(); - PROTOBUF_NODISCARD std::string* release_texture_name(); - void set_allocated_texture_name(std::string* texture_name); - private: - const std::string& _internal_texture_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_texture_name(const std::string& value); - std::string* _internal_mutable_texture_name(); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetTextureAttribute) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attribute_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr texture_name_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_SetSceneObjectGenericFlag : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) */ { - public: - inline CUserMsg_ParticleManager_SetSceneObjectGenericFlag() : CUserMsg_ParticleManager_SetSceneObjectGenericFlag(nullptr) {} - ~CUserMsg_ParticleManager_SetSceneObjectGenericFlag() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetSceneObjectGenericFlag(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_SetSceneObjectGenericFlag(const CUserMsg_ParticleManager_SetSceneObjectGenericFlag& from); - CUserMsg_ParticleManager_SetSceneObjectGenericFlag(CUserMsg_ParticleManager_SetSceneObjectGenericFlag&& from) noexcept - : CUserMsg_ParticleManager_SetSceneObjectGenericFlag() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_SetSceneObjectGenericFlag& operator=(const CUserMsg_ParticleManager_SetSceneObjectGenericFlag& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_SetSceneObjectGenericFlag& operator=(CUserMsg_ParticleManager_SetSceneObjectGenericFlag&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_SetSceneObjectGenericFlag& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_SetSceneObjectGenericFlag* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_SetSceneObjectGenericFlag_default_instance_); - } - static constexpr int kIndexInFileMessages = - 59; - - friend void swap(CUserMsg_ParticleManager_SetSceneObjectGenericFlag& a, CUserMsg_ParticleManager_SetSceneObjectGenericFlag& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_SetSceneObjectGenericFlag* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_SetSceneObjectGenericFlag* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_SetSceneObjectGenericFlag* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_SetSceneObjectGenericFlag& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_SetSceneObjectGenericFlag& from) { - CUserMsg_ParticleManager_SetSceneObjectGenericFlag::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_SetSceneObjectGenericFlag* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.SetSceneObjectGenericFlag"; - } - protected: - explicit CUserMsg_ParticleManager_SetSceneObjectGenericFlag(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFlagValueFieldNumber = 1, - }; - // optional bool flag_value = 1; - bool has_flag_value() const; - private: - bool _internal_has_flag_value() const; - public: - void clear_flag_value(); - bool flag_value() const; - void set_flag_value(bool value); - private: - bool _internal_flag_value() const; - void _internal_set_flag_value(bool value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetSceneObjectGenericFlag) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool flag_value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_SetSceneObjectTintAndDesat : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) */ { - public: - inline CUserMsg_ParticleManager_SetSceneObjectTintAndDesat() : CUserMsg_ParticleManager_SetSceneObjectTintAndDesat(nullptr) {} - ~CUserMsg_ParticleManager_SetSceneObjectTintAndDesat() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetSceneObjectTintAndDesat(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_SetSceneObjectTintAndDesat(const CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& from); - CUserMsg_ParticleManager_SetSceneObjectTintAndDesat(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat&& from) noexcept - : CUserMsg_ParticleManager_SetSceneObjectTintAndDesat() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& operator=(const CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& operator=(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_SetSceneObjectTintAndDesat_default_instance_); - } - static constexpr int kIndexInFileMessages = - 60; - - friend void swap(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& a, CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& from) { - CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.SetSceneObjectTintAndDesat"; - } - protected: - explicit CUserMsg_ParticleManager_SetSceneObjectTintAndDesat(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kTintFieldNumber = 1, - kDesatFieldNumber = 2, - }; - // optional fixed32 tint = 1; - bool has_tint() const; - private: - bool _internal_has_tint() const; - public: - void clear_tint(); - uint32_t tint() const; - void set_tint(uint32_t value); - private: - uint32_t _internal_tint() const; - void _internal_set_tint(uint32_t value); - public: - - // optional float desat = 2; - bool has_desat() const; - private: - bool _internal_has_desat() const; - public: - void clear_desat(); - float desat() const; - void set_desat(float value); - private: - float _internal_desat() const; - void _internal_set_desat(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t tint_; - float desat_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_ParticleSkipToTime : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.ParticleSkipToTime) */ { - public: - inline CUserMsg_ParticleManager_ParticleSkipToTime() : CUserMsg_ParticleManager_ParticleSkipToTime(nullptr) {} - ~CUserMsg_ParticleManager_ParticleSkipToTime() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ParticleSkipToTime(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_ParticleSkipToTime(const CUserMsg_ParticleManager_ParticleSkipToTime& from); - CUserMsg_ParticleManager_ParticleSkipToTime(CUserMsg_ParticleManager_ParticleSkipToTime&& from) noexcept - : CUserMsg_ParticleManager_ParticleSkipToTime() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_ParticleSkipToTime& operator=(const CUserMsg_ParticleManager_ParticleSkipToTime& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_ParticleSkipToTime& operator=(CUserMsg_ParticleManager_ParticleSkipToTime&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_ParticleSkipToTime& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_ParticleSkipToTime* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_ParticleSkipToTime_default_instance_); - } - static constexpr int kIndexInFileMessages = - 61; - - friend void swap(CUserMsg_ParticleManager_ParticleSkipToTime& a, CUserMsg_ParticleManager_ParticleSkipToTime& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_ParticleSkipToTime* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_ParticleSkipToTime* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_ParticleSkipToTime* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_ParticleSkipToTime& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_ParticleSkipToTime& from) { - CUserMsg_ParticleManager_ParticleSkipToTime::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_ParticleSkipToTime* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.ParticleSkipToTime"; - } - protected: - explicit CUserMsg_ParticleManager_ParticleSkipToTime(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSkipToTimeFieldNumber = 1, - }; - // optional float skip_to_time = 1; - bool has_skip_to_time() const; - private: - bool _internal_has_skip_to_time() const; - public: - void clear_skip_to_time(); - float skip_to_time() const; - void set_skip_to_time(float value); - private: - float _internal_skip_to_time() const; - void _internal_set_skip_to_time(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.ParticleSkipToTime) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float skip_to_time_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_ParticleCanFreeze : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.ParticleCanFreeze) */ { - public: - inline CUserMsg_ParticleManager_ParticleCanFreeze() : CUserMsg_ParticleManager_ParticleCanFreeze(nullptr) {} - ~CUserMsg_ParticleManager_ParticleCanFreeze() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ParticleCanFreeze(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_ParticleCanFreeze(const CUserMsg_ParticleManager_ParticleCanFreeze& from); - CUserMsg_ParticleManager_ParticleCanFreeze(CUserMsg_ParticleManager_ParticleCanFreeze&& from) noexcept - : CUserMsg_ParticleManager_ParticleCanFreeze() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_ParticleCanFreeze& operator=(const CUserMsg_ParticleManager_ParticleCanFreeze& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_ParticleCanFreeze& operator=(CUserMsg_ParticleManager_ParticleCanFreeze&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_ParticleCanFreeze& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_ParticleCanFreeze* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_ParticleCanFreeze_default_instance_); - } - static constexpr int kIndexInFileMessages = - 62; - - friend void swap(CUserMsg_ParticleManager_ParticleCanFreeze& a, CUserMsg_ParticleManager_ParticleCanFreeze& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_ParticleCanFreeze* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_ParticleCanFreeze* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_ParticleCanFreeze* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_ParticleCanFreeze& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_ParticleCanFreeze& from) { - CUserMsg_ParticleManager_ParticleCanFreeze::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_ParticleCanFreeze* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.ParticleCanFreeze"; - } - protected: - explicit CUserMsg_ParticleManager_ParticleCanFreeze(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCanFreezeFieldNumber = 1, - }; - // optional bool can_freeze = 1; - bool has_can_freeze() const; - private: - bool _internal_has_can_freeze() const; - public: - void clear_can_freeze(); - bool can_freeze() const; - void set_can_freeze(bool value); - private: - bool _internal_can_freeze() const; - void _internal_set_can_freeze(bool value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.ParticleCanFreeze) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool can_freeze_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_ParticleFreezeTransitionOverride : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) */ { - public: - inline CUserMsg_ParticleManager_ParticleFreezeTransitionOverride() : CUserMsg_ParticleManager_ParticleFreezeTransitionOverride(nullptr) {} - ~CUserMsg_ParticleManager_ParticleFreezeTransitionOverride() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ParticleFreezeTransitionOverride(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_ParticleFreezeTransitionOverride(const CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& from); - CUserMsg_ParticleManager_ParticleFreezeTransitionOverride(CUserMsg_ParticleManager_ParticleFreezeTransitionOverride&& from) noexcept - : CUserMsg_ParticleManager_ParticleFreezeTransitionOverride() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& operator=(const CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& operator=(CUserMsg_ParticleManager_ParticleFreezeTransitionOverride&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_ParticleFreezeTransitionOverride_default_instance_); - } - static constexpr int kIndexInFileMessages = - 63; - - friend void swap(CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& a, CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& from) { - CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.ParticleFreezeTransitionOverride"; - } - protected: - explicit CUserMsg_ParticleManager_ParticleFreezeTransitionOverride(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFreezeTransitionOverrideFieldNumber = 1, - }; - // optional float freeze_transition_override = 1; - bool has_freeze_transition_override() const; - private: - bool _internal_has_freeze_transition_override() const; - public: - void clear_freeze_transition_override(); - float freeze_transition_override() const; - void set_freeze_transition_override(float value); - private: - float _internal_freeze_transition_override() const; - void _internal_set_freeze_transition_override(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float freeze_transition_override_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_FreezeParticleInvolving : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.FreezeParticleInvolving) */ { - public: - inline CUserMsg_ParticleManager_FreezeParticleInvolving() : CUserMsg_ParticleManager_FreezeParticleInvolving(nullptr) {} - ~CUserMsg_ParticleManager_FreezeParticleInvolving() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_FreezeParticleInvolving(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_FreezeParticleInvolving(const CUserMsg_ParticleManager_FreezeParticleInvolving& from); - CUserMsg_ParticleManager_FreezeParticleInvolving(CUserMsg_ParticleManager_FreezeParticleInvolving&& from) noexcept - : CUserMsg_ParticleManager_FreezeParticleInvolving() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_FreezeParticleInvolving& operator=(const CUserMsg_ParticleManager_FreezeParticleInvolving& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_FreezeParticleInvolving& operator=(CUserMsg_ParticleManager_FreezeParticleInvolving&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_FreezeParticleInvolving& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_FreezeParticleInvolving* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_FreezeParticleInvolving_default_instance_); - } - static constexpr int kIndexInFileMessages = - 64; - - friend void swap(CUserMsg_ParticleManager_FreezeParticleInvolving& a, CUserMsg_ParticleManager_FreezeParticleInvolving& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_FreezeParticleInvolving* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_FreezeParticleInvolving* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_FreezeParticleInvolving* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_FreezeParticleInvolving& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_FreezeParticleInvolving& from) { - CUserMsg_ParticleManager_FreezeParticleInvolving::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_FreezeParticleInvolving* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.FreezeParticleInvolving"; - } - protected: - explicit CUserMsg_ParticleManager_FreezeParticleInvolving(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kSetFrozenFieldNumber = 1, - kTransitionDurationFieldNumber = 2, - kEntityHandleFieldNumber = 3, - }; - // optional bool set_frozen = 1; - bool has_set_frozen() const; - private: - bool _internal_has_set_frozen() const; - public: - void clear_set_frozen(); - bool set_frozen() const; - void set_set_frozen(bool value); - private: - bool _internal_set_frozen() const; - void _internal_set_set_frozen(bool value); - public: - - // optional float transition_duration = 2; - bool has_transition_duration() const; - private: - bool _internal_has_transition_duration() const; - public: - void clear_transition_duration(); - float transition_duration() const; - void set_transition_duration(float value); - private: - float _internal_transition_duration() const; - void _internal_set_transition_duration(float value); - public: - - // optional uint32 entity_handle = 3 [default = 16777215]; - bool has_entity_handle() const; - private: - bool _internal_has_entity_handle() const; - public: - void clear_entity_handle(); - uint32_t entity_handle() const; - void set_entity_handle(uint32_t value); - private: - uint32_t _internal_entity_handle() const; - void _internal_set_entity_handle(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.FreezeParticleInvolving) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - bool set_frozen_; - float transition_duration_; - uint32_t entity_handle_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_AddModellistOverrideElement : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.AddModellistOverrideElement) */ { - public: - inline CUserMsg_ParticleManager_AddModellistOverrideElement() : CUserMsg_ParticleManager_AddModellistOverrideElement(nullptr) {} - ~CUserMsg_ParticleManager_AddModellistOverrideElement() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_AddModellistOverrideElement(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_AddModellistOverrideElement(const CUserMsg_ParticleManager_AddModellistOverrideElement& from); - CUserMsg_ParticleManager_AddModellistOverrideElement(CUserMsg_ParticleManager_AddModellistOverrideElement&& from) noexcept - : CUserMsg_ParticleManager_AddModellistOverrideElement() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_AddModellistOverrideElement& operator=(const CUserMsg_ParticleManager_AddModellistOverrideElement& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_AddModellistOverrideElement& operator=(CUserMsg_ParticleManager_AddModellistOverrideElement&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_AddModellistOverrideElement& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_AddModellistOverrideElement* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_AddModellistOverrideElement_default_instance_); - } - static constexpr int kIndexInFileMessages = - 65; - - friend void swap(CUserMsg_ParticleManager_AddModellistOverrideElement& a, CUserMsg_ParticleManager_AddModellistOverrideElement& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_AddModellistOverrideElement* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_AddModellistOverrideElement* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_AddModellistOverrideElement* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_AddModellistOverrideElement& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_AddModellistOverrideElement& from) { - CUserMsg_ParticleManager_AddModellistOverrideElement::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_AddModellistOverrideElement* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.AddModellistOverrideElement"; - } - protected: - explicit CUserMsg_ParticleManager_AddModellistOverrideElement(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kModelNameFieldNumber = 1, - kSpawnProbabilityFieldNumber = 2, - kGroupidFieldNumber = 3, - }; - // optional string model_name = 1; - bool has_model_name() const; - private: - bool _internal_has_model_name() const; - public: - void clear_model_name(); - const std::string& model_name() const; - template - void set_model_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_model_name(); - PROTOBUF_NODISCARD std::string* release_model_name(); - void set_allocated_model_name(std::string* model_name); - private: - const std::string& _internal_model_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_model_name(const std::string& value); - std::string* _internal_mutable_model_name(); - public: - - // optional float spawn_probability = 2; - bool has_spawn_probability() const; - private: - bool _internal_has_spawn_probability() const; - public: - void clear_spawn_probability(); - float spawn_probability() const; - void set_spawn_probability(float value); - private: - float _internal_spawn_probability() const; - void _internal_set_spawn_probability(float value); - public: - - // optional uint32 groupid = 3; - bool has_groupid() const; - private: - bool _internal_has_groupid() const; - public: - void clear_groupid(); - uint32_t groupid() const; - void set_groupid(uint32_t value); - private: - uint32_t _internal_groupid() const; - void _internal_set_groupid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.AddModellistOverrideElement) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr model_name_; - float spawn_probability_; - uint32_t groupid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_ClearModellistOverride : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.ClearModellistOverride) */ { - public: - inline CUserMsg_ParticleManager_ClearModellistOverride() : CUserMsg_ParticleManager_ClearModellistOverride(nullptr) {} - ~CUserMsg_ParticleManager_ClearModellistOverride() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_ClearModellistOverride(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_ClearModellistOverride(const CUserMsg_ParticleManager_ClearModellistOverride& from); - CUserMsg_ParticleManager_ClearModellistOverride(CUserMsg_ParticleManager_ClearModellistOverride&& from) noexcept - : CUserMsg_ParticleManager_ClearModellistOverride() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_ClearModellistOverride& operator=(const CUserMsg_ParticleManager_ClearModellistOverride& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_ClearModellistOverride& operator=(CUserMsg_ParticleManager_ClearModellistOverride&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_ClearModellistOverride& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_ClearModellistOverride* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_ClearModellistOverride_default_instance_); - } - static constexpr int kIndexInFileMessages = - 66; - - friend void swap(CUserMsg_ParticleManager_ClearModellistOverride& a, CUserMsg_ParticleManager_ClearModellistOverride& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_ClearModellistOverride* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_ClearModellistOverride* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_ClearModellistOverride* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_ClearModellistOverride& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_ClearModellistOverride& from) { - CUserMsg_ParticleManager_ClearModellistOverride::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_ClearModellistOverride* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.ClearModellistOverride"; - } - protected: - explicit CUserMsg_ParticleManager_ClearModellistOverride(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kGroupidFieldNumber = 1, - }; - // optional uint32 groupid = 1; - bool has_groupid() const; - private: - bool _internal_has_groupid() const; - public: - void clear_groupid(); - uint32_t groupid() const; - void set_groupid(uint32_t value); - private: - uint32_t _internal_groupid() const; - void _internal_set_groupid(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.ClearModellistOverride) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t groupid_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) */ { - public: - inline CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue() : CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue(nullptr) {} - ~CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue(const CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& from); - CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue&& from) noexcept - : CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& operator=(const CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& operator=(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue_default_instance_); - } - static constexpr int kIndexInFileMessages = - 67; - - friend void swap(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& a, CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& from) { - CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue"; - } - protected: - explicit CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kValueNameHashFieldNumber = 1, - kValueFieldNumber = 2, - }; - // optional uint32 value_name_hash = 1; - bool has_value_name_hash() const; - private: - bool _internal_has_value_name_hash() const; - public: - void clear_value_name_hash(); - uint32_t value_name_hash() const; - void set_value_name_hash(uint32_t value); - private: - uint32_t _internal_value_name_hash() const; - void _internal_set_value_name_hash(uint32_t value); - public: - - // optional float value = 2; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - float value() const; - void set_value(float value); - private: - float _internal_value() const; - void _internal_set_value(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t value_name_hash_; - float value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) */ { - public: - inline CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue() : CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue(nullptr) {} - ~CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue(const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& from); - CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue&& from) noexcept - : CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& operator=(const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& operator=(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue_default_instance_); - } - static constexpr int kIndexInFileMessages = - 68; - - friend void swap(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& a, CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& from) { - CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue"; - } - protected: - explicit CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kValueFieldNumber = 2, - kValueNameHashFieldNumber = 1, - }; - // optional .CMsgVector value = 2; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - const ::CMsgVector& value() const; - PROTOBUF_NODISCARD ::CMsgVector* release_value(); - ::CMsgVector* mutable_value(); - void set_allocated_value(::CMsgVector* value); - private: - const ::CMsgVector& _internal_value() const; - ::CMsgVector* _internal_mutable_value(); - public: - void unsafe_arena_set_allocated_value( - ::CMsgVector* value); - ::CMsgVector* unsafe_arena_release_value(); - - // optional uint32 value_name_hash = 1; - bool has_value_name_hash() const; - private: - bool _internal_has_value_name_hash() const; - public: - void clear_value_name_hash(); - uint32_t value_name_hash() const; - void set_value_name_hash(uint32_t value); - private: - uint32_t _internal_value_name_hash() const; - void _internal_set_value_name_hash(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* value_; - uint32_t value_name_hash_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) */ { - public: - inline CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue() : CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue(nullptr) {} - ~CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue(const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& from); - CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue&& from) noexcept - : CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& operator=(const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& operator=(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue_default_instance_); - } - static constexpr int kIndexInFileMessages = - 69; - - friend void swap(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& a, CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& from) { - CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue"; - } - protected: - explicit CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kAnglesFieldNumber = 2, - kTranslationFieldNumber = 3, - kValueNameHashFieldNumber = 1, - }; - // optional .CMsgQAngle angles = 2; - bool has_angles() const; - private: - bool _internal_has_angles() const; - public: - void clear_angles(); - const ::CMsgQAngle& angles() const; - PROTOBUF_NODISCARD ::CMsgQAngle* release_angles(); - ::CMsgQAngle* mutable_angles(); - void set_allocated_angles(::CMsgQAngle* angles); - private: - const ::CMsgQAngle& _internal_angles() const; - ::CMsgQAngle* _internal_mutable_angles(); - public: - void unsafe_arena_set_allocated_angles( - ::CMsgQAngle* angles); - ::CMsgQAngle* unsafe_arena_release_angles(); - - // optional .CMsgVector translation = 3; - bool has_translation() const; - private: - bool _internal_has_translation() const; - public: - void clear_translation(); - const ::CMsgVector& translation() const; - PROTOBUF_NODISCARD ::CMsgVector* release_translation(); - ::CMsgVector* mutable_translation(); - void set_allocated_translation(::CMsgVector* translation); - private: - const ::CMsgVector& _internal_translation() const; - ::CMsgVector* _internal_mutable_translation(); - public: - void unsafe_arena_set_allocated_translation( - ::CMsgVector* translation); - ::CMsgVector* unsafe_arena_release_translation(); - - // optional uint32 value_name_hash = 1; - bool has_value_name_hash() const; - private: - bool _internal_has_value_name_hash() const; - public: - void clear_value_name_hash(); - uint32_t value_name_hash() const; - void set_value_name_hash(uint32_t value); - private: - uint32_t _internal_value_name_hash() const; - void _internal_set_value_name_hash(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgQAngle* angles_; - ::CMsgVector* translation_; - uint32_t value_name_hash_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) */ { - public: - inline CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext() : CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext(nullptr) {} - ~CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext(const CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& from); - CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext(CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext&& from) noexcept - : CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& operator=(const CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& operator=(CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext_default_instance_); - } - static constexpr int kIndexInFileMessages = - 70; - - friend void swap(CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& a, CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& from) { - CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext"; - } - protected: - explicit CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kValueNameHashFieldNumber = 1, - kEntIndexFieldNumber = 2, - }; - // optional uint32 value_name_hash = 1; - bool has_value_name_hash() const; - private: - bool _internal_has_value_name_hash() const; - public: - void clear_value_name_hash(); - uint32_t value_name_hash() const; - void set_value_name_hash(uint32_t value); - private: - uint32_t _internal_value_name_hash() const; - void _internal_set_value_name_hash(uint32_t value); - public: - - // optional uint32 ent_index = 2 [default = 16777215]; - bool has_ent_index() const; - private: - bool _internal_has_ent_index() const; - public: - void clear_ent_index(); - uint32_t ent_index() const; - void set_ent_index(uint32_t value); - private: - uint32_t _internal_ent_index() const; - void _internal_set_ent_index(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - uint32_t value_name_hash_; - uint32_t ent_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_SetParticleNamedValueContext : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetParticleNamedValueContext) */ { - public: - inline CUserMsg_ParticleManager_SetParticleNamedValueContext() : CUserMsg_ParticleManager_SetParticleNamedValueContext(nullptr) {} - ~CUserMsg_ParticleManager_SetParticleNamedValueContext() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleNamedValueContext(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_SetParticleNamedValueContext(const CUserMsg_ParticleManager_SetParticleNamedValueContext& from); - CUserMsg_ParticleManager_SetParticleNamedValueContext(CUserMsg_ParticleManager_SetParticleNamedValueContext&& from) noexcept - : CUserMsg_ParticleManager_SetParticleNamedValueContext() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_SetParticleNamedValueContext& operator=(const CUserMsg_ParticleManager_SetParticleNamedValueContext& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_SetParticleNamedValueContext& operator=(CUserMsg_ParticleManager_SetParticleNamedValueContext&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_SetParticleNamedValueContext& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_SetParticleNamedValueContext* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_SetParticleNamedValueContext_default_instance_); - } - static constexpr int kIndexInFileMessages = - 71; - - friend void swap(CUserMsg_ParticleManager_SetParticleNamedValueContext& a, CUserMsg_ParticleManager_SetParticleNamedValueContext& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_SetParticleNamedValueContext* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_SetParticleNamedValueContext* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_SetParticleNamedValueContext& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_SetParticleNamedValueContext& from) { - CUserMsg_ParticleManager_SetParticleNamedValueContext::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_SetParticleNamedValueContext* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.SetParticleNamedValueContext"; - } - protected: - explicit CUserMsg_ParticleManager_SetParticleNamedValueContext(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue FloatContextValue; - typedef CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue VectorContextValue; - typedef CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue TransformContextValue; - typedef CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext EHandleContext; - - // accessors ------------------------------------------------------- - - enum : int { - kFloatValuesFieldNumber = 1, - kVectorValuesFieldNumber = 2, - kTransformValuesFieldNumber = 3, - kEhandleValuesFieldNumber = 4, - }; - // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue float_values = 1; - int float_values_size() const; - private: - int _internal_float_values_size() const; - public: - void clear_float_values(); - ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* mutable_float_values(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue >* - mutable_float_values(); - private: - const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& _internal_float_values(int index) const; - ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* _internal_add_float_values(); - public: - const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& float_values(int index) const; - ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* add_float_values(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue >& - float_values() const; - - // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue vector_values = 2; - int vector_values_size() const; - private: - int _internal_vector_values_size() const; - public: - void clear_vector_values(); - ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* mutable_vector_values(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue >* - mutable_vector_values(); - private: - const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& _internal_vector_values(int index) const; - ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* _internal_add_vector_values(); - public: - const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& vector_values(int index) const; - ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* add_vector_values(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue >& - vector_values() const; - - // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue transform_values = 3; - int transform_values_size() const; - private: - int _internal_transform_values_size() const; - public: - void clear_transform_values(); - ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* mutable_transform_values(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue >* - mutable_transform_values(); - private: - const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& _internal_transform_values(int index) const; - ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* _internal_add_transform_values(); - public: - const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& transform_values(int index) const; - ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* add_transform_values(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue >& - transform_values() const; - - // repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext ehandle_values = 4; - int ehandle_values_size() const; - private: - int _internal_ehandle_values_size() const; - public: - void clear_ehandle_values(); - ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* mutable_ehandle_values(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext >* - mutable_ehandle_values(); - private: - const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& _internal_ehandle_values(int index) const; - ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* _internal_add_ehandle_values(); - public: - const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& ehandle_values(int index) const; - ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* add_ehandle_values(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext >& - ehandle_values() const; - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetParticleNamedValueContext) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue > float_values_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue > vector_values_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue > transform_values_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext > ehandle_values_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_CreatePhysicsSim : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.CreatePhysicsSim) */ { - public: - inline CUserMsg_ParticleManager_CreatePhysicsSim() : CUserMsg_ParticleManager_CreatePhysicsSim(nullptr) {} - ~CUserMsg_ParticleManager_CreatePhysicsSim() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_CreatePhysicsSim(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_CreatePhysicsSim(const CUserMsg_ParticleManager_CreatePhysicsSim& from); - CUserMsg_ParticleManager_CreatePhysicsSim(CUserMsg_ParticleManager_CreatePhysicsSim&& from) noexcept - : CUserMsg_ParticleManager_CreatePhysicsSim() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_CreatePhysicsSim& operator=(const CUserMsg_ParticleManager_CreatePhysicsSim& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_CreatePhysicsSim& operator=(CUserMsg_ParticleManager_CreatePhysicsSim&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_CreatePhysicsSim& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_CreatePhysicsSim* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_CreatePhysicsSim_default_instance_); - } - static constexpr int kIndexInFileMessages = - 72; - - friend void swap(CUserMsg_ParticleManager_CreatePhysicsSim& a, CUserMsg_ParticleManager_CreatePhysicsSim& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_CreatePhysicsSim* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_CreatePhysicsSim* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_CreatePhysicsSim* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_CreatePhysicsSim& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_CreatePhysicsSim& from) { - CUserMsg_ParticleManager_CreatePhysicsSim::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_CreatePhysicsSim* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.CreatePhysicsSim"; - } - protected: - explicit CUserMsg_ParticleManager_CreatePhysicsSim(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPropGroupNameFieldNumber = 1, - kUseHighQualitySimulationFieldNumber = 2, - kMaxParticleCountFieldNumber = 3, - }; - // optional string prop_group_name = 1; - bool has_prop_group_name() const; - private: - bool _internal_has_prop_group_name() const; - public: - void clear_prop_group_name(); - const std::string& prop_group_name() const; - template - void set_prop_group_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_prop_group_name(); - PROTOBUF_NODISCARD std::string* release_prop_group_name(); - void set_allocated_prop_group_name(std::string* prop_group_name); - private: - const std::string& _internal_prop_group_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_prop_group_name(const std::string& value); - std::string* _internal_mutable_prop_group_name(); - public: - - // optional bool use_high_quality_simulation = 2; - bool has_use_high_quality_simulation() const; - private: - bool _internal_has_use_high_quality_simulation() const; - public: - void clear_use_high_quality_simulation(); - bool use_high_quality_simulation() const; - void set_use_high_quality_simulation(bool value); - private: - bool _internal_use_high_quality_simulation() const; - void _internal_set_use_high_quality_simulation(bool value); - public: - - // optional uint32 max_particle_count = 3; - bool has_max_particle_count() const; - private: - bool _internal_has_max_particle_count() const; - public: - void clear_max_particle_count(); - uint32_t max_particle_count() const; - void set_max_particle_count(uint32_t value); - private: - uint32_t _internal_max_particle_count() const; - void _internal_set_max_particle_count(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.CreatePhysicsSim) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr prop_group_name_; - bool use_high_quality_simulation_; - uint32_t max_particle_count_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_DestroyPhysicsSim : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.DestroyPhysicsSim) */ { - public: - inline CUserMsg_ParticleManager_DestroyPhysicsSim() : CUserMsg_ParticleManager_DestroyPhysicsSim(nullptr) {} - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_DestroyPhysicsSim(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_DestroyPhysicsSim(const CUserMsg_ParticleManager_DestroyPhysicsSim& from); - CUserMsg_ParticleManager_DestroyPhysicsSim(CUserMsg_ParticleManager_DestroyPhysicsSim&& from) noexcept - : CUserMsg_ParticleManager_DestroyPhysicsSim() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_DestroyPhysicsSim& operator=(const CUserMsg_ParticleManager_DestroyPhysicsSim& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_DestroyPhysicsSim& operator=(CUserMsg_ParticleManager_DestroyPhysicsSim&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_DestroyPhysicsSim& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_DestroyPhysicsSim* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_DestroyPhysicsSim_default_instance_); - } - static constexpr int kIndexInFileMessages = - 73; - - friend void swap(CUserMsg_ParticleManager_DestroyPhysicsSim& a, CUserMsg_ParticleManager_DestroyPhysicsSim& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_DestroyPhysicsSim* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_DestroyPhysicsSim* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_DestroyPhysicsSim* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CUserMsg_ParticleManager_DestroyPhysicsSim& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CUserMsg_ParticleManager_DestroyPhysicsSim& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.DestroyPhysicsSim"; - } - protected: - explicit CUserMsg_ParticleManager_DestroyPhysicsSim(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.DestroyPhysicsSim) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_SetVData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetVData) */ { - public: - inline CUserMsg_ParticleManager_SetVData() : CUserMsg_ParticleManager_SetVData(nullptr) {} - ~CUserMsg_ParticleManager_SetVData() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetVData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_SetVData(const CUserMsg_ParticleManager_SetVData& from); - CUserMsg_ParticleManager_SetVData(CUserMsg_ParticleManager_SetVData&& from) noexcept - : CUserMsg_ParticleManager_SetVData() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_SetVData& operator=(const CUserMsg_ParticleManager_SetVData& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_SetVData& operator=(CUserMsg_ParticleManager_SetVData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_SetVData& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_SetVData* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_SetVData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 74; - - friend void swap(CUserMsg_ParticleManager_SetVData& a, CUserMsg_ParticleManager_SetVData& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_SetVData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_SetVData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_SetVData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_SetVData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_SetVData& from) { - CUserMsg_ParticleManager_SetVData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_SetVData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.SetVData"; - } - protected: - explicit CUserMsg_ParticleManager_SetVData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kVdataNameFieldNumber = 1, - }; - // optional string vdata_name = 1; - bool has_vdata_name() const; - private: - bool _internal_has_vdata_name() const; - public: - void clear_vdata_name(); - const std::string& vdata_name() const; - template - void set_vdata_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_vdata_name(); - PROTOBUF_NODISCARD std::string* release_vdata_name(); - void set_allocated_vdata_name(std::string* vdata_name); - private: - const std::string& _internal_vdata_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_vdata_name(const std::string& value); - std::string* _internal_mutable_vdata_name(); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetVData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr vdata_name_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_SetMaterialOverride : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetMaterialOverride) */ { - public: - inline CUserMsg_ParticleManager_SetMaterialOverride() : CUserMsg_ParticleManager_SetMaterialOverride(nullptr) {} - ~CUserMsg_ParticleManager_SetMaterialOverride() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetMaterialOverride(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_SetMaterialOverride(const CUserMsg_ParticleManager_SetMaterialOverride& from); - CUserMsg_ParticleManager_SetMaterialOverride(CUserMsg_ParticleManager_SetMaterialOverride&& from) noexcept - : CUserMsg_ParticleManager_SetMaterialOverride() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_SetMaterialOverride& operator=(const CUserMsg_ParticleManager_SetMaterialOverride& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_SetMaterialOverride& operator=(CUserMsg_ParticleManager_SetMaterialOverride&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_SetMaterialOverride& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_SetMaterialOverride* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_SetMaterialOverride_default_instance_); - } - static constexpr int kIndexInFileMessages = - 75; - - friend void swap(CUserMsg_ParticleManager_SetMaterialOverride& a, CUserMsg_ParticleManager_SetMaterialOverride& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_SetMaterialOverride* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_SetMaterialOverride* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_SetMaterialOverride* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_SetMaterialOverride& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_SetMaterialOverride& from) { - CUserMsg_ParticleManager_SetMaterialOverride::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_SetMaterialOverride* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.SetMaterialOverride"; - } - protected: - explicit CUserMsg_ParticleManager_SetMaterialOverride(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kMaterialNameFieldNumber = 1, - kIncludeChildrenFieldNumber = 2, - }; - // optional string material_name = 1; - bool has_material_name() const; - private: - bool _internal_has_material_name() const; - public: - void clear_material_name(); - const std::string& material_name() const; - template - void set_material_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_material_name(); - PROTOBUF_NODISCARD std::string* release_material_name(); - void set_allocated_material_name(std::string* material_name); - private: - const std::string& _internal_material_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_material_name(const std::string& value); - std::string* _internal_mutable_material_name(); - public: - - // optional bool include_children = 2; - bool has_include_children() const; - private: - bool _internal_has_include_children() const; - public: - void clear_include_children(); - bool include_children() const; - void set_include_children(bool value); - private: - bool _internal_include_children() const; - void _internal_set_include_children(bool value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetMaterialOverride) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr material_name_; - bool include_children_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_AddFan : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.AddFan) */ { - public: - inline CUserMsg_ParticleManager_AddFan() : CUserMsg_ParticleManager_AddFan(nullptr) {} - ~CUserMsg_ParticleManager_AddFan() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_AddFan(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_AddFan(const CUserMsg_ParticleManager_AddFan& from); - CUserMsg_ParticleManager_AddFan(CUserMsg_ParticleManager_AddFan&& from) noexcept - : CUserMsg_ParticleManager_AddFan() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_AddFan& operator=(const CUserMsg_ParticleManager_AddFan& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_AddFan& operator=(CUserMsg_ParticleManager_AddFan&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_AddFan& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_AddFan* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_AddFan_default_instance_); - } - static constexpr int kIndexInFileMessages = - 76; - - friend void swap(CUserMsg_ParticleManager_AddFan& a, CUserMsg_ParticleManager_AddFan& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_AddFan* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_AddFan* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_AddFan* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_AddFan& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_AddFan& from) { - CUserMsg_ParticleManager_AddFan::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_AddFan* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.AddFan"; - } - protected: - explicit CUserMsg_ParticleManager_AddFan(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFanForceCurveFieldNumber = 8, - kAttachmentNameFieldNumber = 18, - kBoundsMinsFieldNumber = 2, - kBoundsMaxsFieldNumber = 3, - kFanOriginFieldNumber = 4, - kFanOriginOffsetFieldNumber = 5, - kFanDirectionFieldNumber = 6, - kActiveFieldNumber = 1, - kFalloffFieldNumber = 9, - kPullTowardsPointFieldNumber = 10, - kForceFieldNumber = 7, - kCurveMinDistFieldNumber = 11, - kCurveMaxDistFieldNumber = 12, - kFanTypeFieldNumber = 13, - kConeStartRadiusFieldNumber = 14, - kConeEndRadiusFieldNumber = 15, - kConeLengthFieldNumber = 16, - kEntityHandleFieldNumber = 17, - }; - // optional string fan_force_curve = 8; - bool has_fan_force_curve() const; - private: - bool _internal_has_fan_force_curve() const; - public: - void clear_fan_force_curve(); - const std::string& fan_force_curve() const; - template - void set_fan_force_curve(ArgT0&& arg0, ArgT... args); - std::string* mutable_fan_force_curve(); - PROTOBUF_NODISCARD std::string* release_fan_force_curve(); - void set_allocated_fan_force_curve(std::string* fan_force_curve); - private: - const std::string& _internal_fan_force_curve() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_fan_force_curve(const std::string& value); - std::string* _internal_mutable_fan_force_curve(); - public: - - // optional string attachment_name = 18; - bool has_attachment_name() const; - private: - bool _internal_has_attachment_name() const; - public: - void clear_attachment_name(); - const std::string& attachment_name() const; - template - void set_attachment_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_attachment_name(); - PROTOBUF_NODISCARD std::string* release_attachment_name(); - void set_allocated_attachment_name(std::string* attachment_name); - private: - const std::string& _internal_attachment_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_attachment_name(const std::string& value); - std::string* _internal_mutable_attachment_name(); - public: - - // optional .CMsgVector bounds_mins = 2; - bool has_bounds_mins() const; - private: - bool _internal_has_bounds_mins() const; - public: - void clear_bounds_mins(); - const ::CMsgVector& bounds_mins() const; - PROTOBUF_NODISCARD ::CMsgVector* release_bounds_mins(); - ::CMsgVector* mutable_bounds_mins(); - void set_allocated_bounds_mins(::CMsgVector* bounds_mins); - private: - const ::CMsgVector& _internal_bounds_mins() const; - ::CMsgVector* _internal_mutable_bounds_mins(); - public: - void unsafe_arena_set_allocated_bounds_mins( - ::CMsgVector* bounds_mins); - ::CMsgVector* unsafe_arena_release_bounds_mins(); - - // optional .CMsgVector bounds_maxs = 3; - bool has_bounds_maxs() const; - private: - bool _internal_has_bounds_maxs() const; - public: - void clear_bounds_maxs(); - const ::CMsgVector& bounds_maxs() const; - PROTOBUF_NODISCARD ::CMsgVector* release_bounds_maxs(); - ::CMsgVector* mutable_bounds_maxs(); - void set_allocated_bounds_maxs(::CMsgVector* bounds_maxs); - private: - const ::CMsgVector& _internal_bounds_maxs() const; - ::CMsgVector* _internal_mutable_bounds_maxs(); - public: - void unsafe_arena_set_allocated_bounds_maxs( - ::CMsgVector* bounds_maxs); - ::CMsgVector* unsafe_arena_release_bounds_maxs(); - - // optional .CMsgVector fan_origin = 4; - bool has_fan_origin() const; - private: - bool _internal_has_fan_origin() const; - public: - void clear_fan_origin(); - const ::CMsgVector& fan_origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_fan_origin(); - ::CMsgVector* mutable_fan_origin(); - void set_allocated_fan_origin(::CMsgVector* fan_origin); - private: - const ::CMsgVector& _internal_fan_origin() const; - ::CMsgVector* _internal_mutable_fan_origin(); - public: - void unsafe_arena_set_allocated_fan_origin( - ::CMsgVector* fan_origin); - ::CMsgVector* unsafe_arena_release_fan_origin(); - - // optional .CMsgVector fan_origin_offset = 5; - bool has_fan_origin_offset() const; - private: - bool _internal_has_fan_origin_offset() const; - public: - void clear_fan_origin_offset(); - const ::CMsgVector& fan_origin_offset() const; - PROTOBUF_NODISCARD ::CMsgVector* release_fan_origin_offset(); - ::CMsgVector* mutable_fan_origin_offset(); - void set_allocated_fan_origin_offset(::CMsgVector* fan_origin_offset); - private: - const ::CMsgVector& _internal_fan_origin_offset() const; - ::CMsgVector* _internal_mutable_fan_origin_offset(); - public: - void unsafe_arena_set_allocated_fan_origin_offset( - ::CMsgVector* fan_origin_offset); - ::CMsgVector* unsafe_arena_release_fan_origin_offset(); - - // optional .CMsgVector fan_direction = 6; - bool has_fan_direction() const; - private: - bool _internal_has_fan_direction() const; - public: - void clear_fan_direction(); - const ::CMsgVector& fan_direction() const; - PROTOBUF_NODISCARD ::CMsgVector* release_fan_direction(); - ::CMsgVector* mutable_fan_direction(); - void set_allocated_fan_direction(::CMsgVector* fan_direction); - private: - const ::CMsgVector& _internal_fan_direction() const; - ::CMsgVector* _internal_mutable_fan_direction(); - public: - void unsafe_arena_set_allocated_fan_direction( - ::CMsgVector* fan_direction); - ::CMsgVector* unsafe_arena_release_fan_direction(); - - // optional bool active = 1; - bool has_active() const; - private: - bool _internal_has_active() const; - public: - void clear_active(); - bool active() const; - void set_active(bool value); - private: - bool _internal_active() const; - void _internal_set_active(bool value); - public: - - // optional bool falloff = 9; - bool has_falloff() const; - private: - bool _internal_has_falloff() const; - public: - void clear_falloff(); - bool falloff() const; - void set_falloff(bool value); - private: - bool _internal_falloff() const; - void _internal_set_falloff(bool value); - public: - - // optional bool pull_towards_point = 10; - bool has_pull_towards_point() const; - private: - bool _internal_has_pull_towards_point() const; - public: - void clear_pull_towards_point(); - bool pull_towards_point() const; - void set_pull_towards_point(bool value); - private: - bool _internal_pull_towards_point() const; - void _internal_set_pull_towards_point(bool value); - public: - - // optional float force = 7; - bool has_force() const; - private: - bool _internal_has_force() const; - public: - void clear_force(); - float force() const; - void set_force(float value); - private: - float _internal_force() const; - void _internal_set_force(float value); - public: - - // optional float curve_min_dist = 11; - bool has_curve_min_dist() const; - private: - bool _internal_has_curve_min_dist() const; - public: - void clear_curve_min_dist(); - float curve_min_dist() const; - void set_curve_min_dist(float value); - private: - float _internal_curve_min_dist() const; - void _internal_set_curve_min_dist(float value); - public: - - // optional float curve_max_dist = 12; - bool has_curve_max_dist() const; - private: - bool _internal_has_curve_max_dist() const; - public: - void clear_curve_max_dist(); - float curve_max_dist() const; - void set_curve_max_dist(float value); - private: - float _internal_curve_max_dist() const; - void _internal_set_curve_max_dist(float value); - public: - - // optional uint32 fan_type = 13; - bool has_fan_type() const; - private: - bool _internal_has_fan_type() const; - public: - void clear_fan_type(); - uint32_t fan_type() const; - void set_fan_type(uint32_t value); - private: - uint32_t _internal_fan_type() const; - void _internal_set_fan_type(uint32_t value); - public: - - // optional float cone_start_radius = 14; - bool has_cone_start_radius() const; - private: - bool _internal_has_cone_start_radius() const; - public: - void clear_cone_start_radius(); - float cone_start_radius() const; - void set_cone_start_radius(float value); - private: - float _internal_cone_start_radius() const; - void _internal_set_cone_start_radius(float value); - public: - - // optional float cone_end_radius = 15; - bool has_cone_end_radius() const; - private: - bool _internal_has_cone_end_radius() const; - public: - void clear_cone_end_radius(); - float cone_end_radius() const; - void set_cone_end_radius(float value); - private: - float _internal_cone_end_radius() const; - void _internal_set_cone_end_radius(float value); - public: - - // optional float cone_length = 16; - bool has_cone_length() const; - private: - bool _internal_has_cone_length() const; - public: - void clear_cone_length(); - float cone_length() const; - void set_cone_length(float value); - private: - float _internal_cone_length() const; - void _internal_set_cone_length(float value); - public: - - // optional uint32 entity_handle = 17 [default = 16777215]; - bool has_entity_handle() const; - private: - bool _internal_has_entity_handle() const; - public: - void clear_entity_handle(); - uint32_t entity_handle() const; - void set_entity_handle(uint32_t value); - private: - uint32_t _internal_entity_handle() const; - void _internal_set_entity_handle(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.AddFan) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fan_force_curve_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attachment_name_; - ::CMsgVector* bounds_mins_; - ::CMsgVector* bounds_maxs_; - ::CMsgVector* fan_origin_; - ::CMsgVector* fan_origin_offset_; - ::CMsgVector* fan_direction_; - bool active_; - bool falloff_; - bool pull_towards_point_; - float force_; - float curve_min_dist_; - float curve_max_dist_; - uint32_t fan_type_; - float cone_start_radius_; - float cone_end_radius_; - float cone_length_; - uint32_t entity_handle_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_UpdateFan : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.UpdateFan) */ { - public: - inline CUserMsg_ParticleManager_UpdateFan() : CUserMsg_ParticleManager_UpdateFan(nullptr) {} - ~CUserMsg_ParticleManager_UpdateFan() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_UpdateFan(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_UpdateFan(const CUserMsg_ParticleManager_UpdateFan& from); - CUserMsg_ParticleManager_UpdateFan(CUserMsg_ParticleManager_UpdateFan&& from) noexcept - : CUserMsg_ParticleManager_UpdateFan() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_UpdateFan& operator=(const CUserMsg_ParticleManager_UpdateFan& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_UpdateFan& operator=(CUserMsg_ParticleManager_UpdateFan&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_UpdateFan& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_UpdateFan* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_UpdateFan_default_instance_); - } - static constexpr int kIndexInFileMessages = - 77; - - friend void swap(CUserMsg_ParticleManager_UpdateFan& a, CUserMsg_ParticleManager_UpdateFan& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_UpdateFan* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_UpdateFan* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_UpdateFan* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_UpdateFan& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_UpdateFan& from) { - CUserMsg_ParticleManager_UpdateFan::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_UpdateFan* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.UpdateFan"; - } - protected: - explicit CUserMsg_ParticleManager_UpdateFan(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFanOriginFieldNumber = 2, - kFanOriginOffsetFieldNumber = 3, - kFanDirectionFieldNumber = 4, - kBoundsMinsFieldNumber = 5, - kBoundsMaxsFieldNumber = 6, - kActiveFieldNumber = 1, - kFanRampRatioFieldNumber = 7, - }; - // optional .CMsgVector fan_origin = 2; - bool has_fan_origin() const; - private: - bool _internal_has_fan_origin() const; - public: - void clear_fan_origin(); - const ::CMsgVector& fan_origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_fan_origin(); - ::CMsgVector* mutable_fan_origin(); - void set_allocated_fan_origin(::CMsgVector* fan_origin); - private: - const ::CMsgVector& _internal_fan_origin() const; - ::CMsgVector* _internal_mutable_fan_origin(); - public: - void unsafe_arena_set_allocated_fan_origin( - ::CMsgVector* fan_origin); - ::CMsgVector* unsafe_arena_release_fan_origin(); - - // optional .CMsgVector fan_origin_offset = 3; - bool has_fan_origin_offset() const; - private: - bool _internal_has_fan_origin_offset() const; - public: - void clear_fan_origin_offset(); - const ::CMsgVector& fan_origin_offset() const; - PROTOBUF_NODISCARD ::CMsgVector* release_fan_origin_offset(); - ::CMsgVector* mutable_fan_origin_offset(); - void set_allocated_fan_origin_offset(::CMsgVector* fan_origin_offset); - private: - const ::CMsgVector& _internal_fan_origin_offset() const; - ::CMsgVector* _internal_mutable_fan_origin_offset(); - public: - void unsafe_arena_set_allocated_fan_origin_offset( - ::CMsgVector* fan_origin_offset); - ::CMsgVector* unsafe_arena_release_fan_origin_offset(); - - // optional .CMsgVector fan_direction = 4; - bool has_fan_direction() const; - private: - bool _internal_has_fan_direction() const; - public: - void clear_fan_direction(); - const ::CMsgVector& fan_direction() const; - PROTOBUF_NODISCARD ::CMsgVector* release_fan_direction(); - ::CMsgVector* mutable_fan_direction(); - void set_allocated_fan_direction(::CMsgVector* fan_direction); - private: - const ::CMsgVector& _internal_fan_direction() const; - ::CMsgVector* _internal_mutable_fan_direction(); - public: - void unsafe_arena_set_allocated_fan_direction( - ::CMsgVector* fan_direction); - ::CMsgVector* unsafe_arena_release_fan_direction(); - - // optional .CMsgVector bounds_mins = 5; - bool has_bounds_mins() const; - private: - bool _internal_has_bounds_mins() const; - public: - void clear_bounds_mins(); - const ::CMsgVector& bounds_mins() const; - PROTOBUF_NODISCARD ::CMsgVector* release_bounds_mins(); - ::CMsgVector* mutable_bounds_mins(); - void set_allocated_bounds_mins(::CMsgVector* bounds_mins); - private: - const ::CMsgVector& _internal_bounds_mins() const; - ::CMsgVector* _internal_mutable_bounds_mins(); - public: - void unsafe_arena_set_allocated_bounds_mins( - ::CMsgVector* bounds_mins); - ::CMsgVector* unsafe_arena_release_bounds_mins(); - - // optional .CMsgVector bounds_maxs = 6; - bool has_bounds_maxs() const; - private: - bool _internal_has_bounds_maxs() const; - public: - void clear_bounds_maxs(); - const ::CMsgVector& bounds_maxs() const; - PROTOBUF_NODISCARD ::CMsgVector* release_bounds_maxs(); - ::CMsgVector* mutable_bounds_maxs(); - void set_allocated_bounds_maxs(::CMsgVector* bounds_maxs); - private: - const ::CMsgVector& _internal_bounds_maxs() const; - ::CMsgVector* _internal_mutable_bounds_maxs(); - public: - void unsafe_arena_set_allocated_bounds_maxs( - ::CMsgVector* bounds_maxs); - ::CMsgVector* unsafe_arena_release_bounds_maxs(); - - // optional bool active = 1; - bool has_active() const; - private: - bool _internal_has_active() const; - public: - void clear_active(); - bool active() const; - void set_active(bool value); - private: - bool _internal_active() const; - void _internal_set_active(bool value); - public: - - // optional float fan_ramp_ratio = 7; - bool has_fan_ramp_ratio() const; - private: - bool _internal_has_fan_ramp_ratio() const; - public: - void clear_fan_ramp_ratio(); - float fan_ramp_ratio() const; - void set_fan_ramp_ratio(float value); - private: - float _internal_fan_ramp_ratio() const; - void _internal_set_fan_ramp_ratio(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.UpdateFan) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* fan_origin_; - ::CMsgVector* fan_origin_offset_; - ::CMsgVector* fan_direction_; - ::CMsgVector* bounds_mins_; - ::CMsgVector* bounds_maxs_; - bool active_; - float fan_ramp_ratio_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_RemoveFan : - public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.RemoveFan) */ { - public: - inline CUserMsg_ParticleManager_RemoveFan() : CUserMsg_ParticleManager_RemoveFan(nullptr) {} - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_RemoveFan(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_RemoveFan(const CUserMsg_ParticleManager_RemoveFan& from); - CUserMsg_ParticleManager_RemoveFan(CUserMsg_ParticleManager_RemoveFan&& from) noexcept - : CUserMsg_ParticleManager_RemoveFan() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_RemoveFan& operator=(const CUserMsg_ParticleManager_RemoveFan& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_RemoveFan& operator=(CUserMsg_ParticleManager_RemoveFan&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_RemoveFan& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_RemoveFan* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_RemoveFan_default_instance_); - } - static constexpr int kIndexInFileMessages = - 78; - - friend void swap(CUserMsg_ParticleManager_RemoveFan& a, CUserMsg_ParticleManager_RemoveFan& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_RemoveFan* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_RemoveFan* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_RemoveFan* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CUserMsg_ParticleManager_RemoveFan& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CUserMsg_ParticleManager_RemoveFan& from) { - ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - public: - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.RemoveFan"; - } - protected: - explicit CUserMsg_ParticleManager_RemoveFan(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.RemoveFan) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager_SetParticleClusterGrowth : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager.SetParticleClusterGrowth) */ { - public: - inline CUserMsg_ParticleManager_SetParticleClusterGrowth() : CUserMsg_ParticleManager_SetParticleClusterGrowth(nullptr) {} - ~CUserMsg_ParticleManager_SetParticleClusterGrowth() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager_SetParticleClusterGrowth(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager_SetParticleClusterGrowth(const CUserMsg_ParticleManager_SetParticleClusterGrowth& from); - CUserMsg_ParticleManager_SetParticleClusterGrowth(CUserMsg_ParticleManager_SetParticleClusterGrowth&& from) noexcept - : CUserMsg_ParticleManager_SetParticleClusterGrowth() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager_SetParticleClusterGrowth& operator=(const CUserMsg_ParticleManager_SetParticleClusterGrowth& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager_SetParticleClusterGrowth& operator=(CUserMsg_ParticleManager_SetParticleClusterGrowth&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager_SetParticleClusterGrowth& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager_SetParticleClusterGrowth* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_SetParticleClusterGrowth_default_instance_); - } - static constexpr int kIndexInFileMessages = - 79; - - friend void swap(CUserMsg_ParticleManager_SetParticleClusterGrowth& a, CUserMsg_ParticleManager_SetParticleClusterGrowth& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager_SetParticleClusterGrowth* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager_SetParticleClusterGrowth* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager_SetParticleClusterGrowth* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager_SetParticleClusterGrowth& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager_SetParticleClusterGrowth& from) { - CUserMsg_ParticleManager_SetParticleClusterGrowth::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager_SetParticleClusterGrowth* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager.SetParticleClusterGrowth"; - } - protected: - explicit CUserMsg_ParticleManager_SetParticleClusterGrowth(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOriginFieldNumber = 2, - kDurationFieldNumber = 1, - }; - // optional .CMsgVector origin = 2; - bool has_origin() const; - private: - bool _internal_has_origin() const; - public: - void clear_origin(); - const ::CMsgVector& origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_origin(); - ::CMsgVector* mutable_origin(); - void set_allocated_origin(::CMsgVector* origin); - private: - const ::CMsgVector& _internal_origin() const; - ::CMsgVector* _internal_mutable_origin(); - public: - void unsafe_arena_set_allocated_origin( - ::CMsgVector* origin); - ::CMsgVector* unsafe_arena_release_origin(); - - // optional float duration = 1; - bool has_duration() const; - private: - bool _internal_has_duration() const; - public: - void clear_duration(); - float duration() const; - void set_duration(float value); - private: - float _internal_duration() const; - void _internal_set_duration(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager.SetParticleClusterGrowth) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CMsgVector* origin_; - float duration_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_ParticleManager : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_ParticleManager) */ { - public: - inline CUserMsg_ParticleManager() : CUserMsg_ParticleManager(nullptr) {} - ~CUserMsg_ParticleManager() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_ParticleManager(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_ParticleManager(const CUserMsg_ParticleManager& from); - CUserMsg_ParticleManager(CUserMsg_ParticleManager&& from) noexcept - : CUserMsg_ParticleManager() { - *this = ::std::move(from); - } - - inline CUserMsg_ParticleManager& operator=(const CUserMsg_ParticleManager& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_ParticleManager& operator=(CUserMsg_ParticleManager&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_ParticleManager& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_ParticleManager* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_ParticleManager_default_instance_); - } - static constexpr int kIndexInFileMessages = - 80; - - friend void swap(CUserMsg_ParticleManager& a, CUserMsg_ParticleManager& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_ParticleManager* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_ParticleManager* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_ParticleManager* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_ParticleManager& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_ParticleManager& from) { - CUserMsg_ParticleManager::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_ParticleManager* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_ParticleManager"; - } - protected: - explicit CUserMsg_ParticleManager(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CUserMsg_ParticleManager_ReleaseParticleIndex ReleaseParticleIndex; - typedef CUserMsg_ParticleManager_CreateParticle CreateParticle; - typedef CUserMsg_ParticleManager_DestroyParticle DestroyParticle; - typedef CUserMsg_ParticleManager_DestroyParticleInvolving DestroyParticleInvolving; - typedef CUserMsg_ParticleManager_DestroyParticleNamed DestroyParticleNamed; - typedef CUserMsg_ParticleManager_UpdateParticle_OBSOLETE UpdateParticle_OBSOLETE; - typedef CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE UpdateParticleFwd_OBSOLETE; - typedef CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE UpdateParticleOrient_OBSOLETE; - typedef CUserMsg_ParticleManager_UpdateParticleTransform UpdateParticleTransform; - typedef CUserMsg_ParticleManager_UpdateParticleFallback UpdateParticleFallback; - typedef CUserMsg_ParticleManager_UpdateParticleOffset UpdateParticleOffset; - typedef CUserMsg_ParticleManager_UpdateParticleEnt UpdateParticleEnt; - typedef CUserMsg_ParticleManager_UpdateParticleSetFrozen UpdateParticleSetFrozen; - typedef CUserMsg_ParticleManager_UpdateParticleShouldDraw UpdateParticleShouldDraw; - typedef CUserMsg_ParticleManager_ChangeControlPointAttachment ChangeControlPointAttachment; - typedef CUserMsg_ParticleManager_UpdateEntityPosition UpdateEntityPosition; - typedef CUserMsg_ParticleManager_SetParticleFoWProperties SetParticleFoWProperties; - typedef CUserMsg_ParticleManager_SetParticleShouldCheckFoW SetParticleShouldCheckFoW; - typedef CUserMsg_ParticleManager_SetControlPointModel SetControlPointModel; - typedef CUserMsg_ParticleManager_SetControlPointSnapshot SetControlPointSnapshot; - typedef CUserMsg_ParticleManager_SetParticleText SetParticleText; - typedef CUserMsg_ParticleManager_SetTextureAttribute SetTextureAttribute; - typedef CUserMsg_ParticleManager_SetSceneObjectGenericFlag SetSceneObjectGenericFlag; - typedef CUserMsg_ParticleManager_SetSceneObjectTintAndDesat SetSceneObjectTintAndDesat; - typedef CUserMsg_ParticleManager_ParticleSkipToTime ParticleSkipToTime; - typedef CUserMsg_ParticleManager_ParticleCanFreeze ParticleCanFreeze; - typedef CUserMsg_ParticleManager_ParticleFreezeTransitionOverride ParticleFreezeTransitionOverride; - typedef CUserMsg_ParticleManager_FreezeParticleInvolving FreezeParticleInvolving; - typedef CUserMsg_ParticleManager_AddModellistOverrideElement AddModellistOverrideElement; - typedef CUserMsg_ParticleManager_ClearModellistOverride ClearModellistOverride; - typedef CUserMsg_ParticleManager_SetParticleNamedValueContext SetParticleNamedValueContext; - typedef CUserMsg_ParticleManager_CreatePhysicsSim CreatePhysicsSim; - typedef CUserMsg_ParticleManager_DestroyPhysicsSim DestroyPhysicsSim; - typedef CUserMsg_ParticleManager_SetVData SetVData; - typedef CUserMsg_ParticleManager_SetMaterialOverride SetMaterialOverride; - typedef CUserMsg_ParticleManager_AddFan AddFan; - typedef CUserMsg_ParticleManager_UpdateFan UpdateFan; - typedef CUserMsg_ParticleManager_RemoveFan RemoveFan; - typedef CUserMsg_ParticleManager_SetParticleClusterGrowth SetParticleClusterGrowth; - - // accessors ------------------------------------------------------- - - enum : int { - kReleaseParticleIndexFieldNumber = 3, - kCreateParticleFieldNumber = 4, - kDestroyParticleFieldNumber = 5, - kDestroyParticleInvolvingFieldNumber = 6, - kUpdateParticleFieldNumber = 7, - kUpdateParticleFwdFieldNumber = 8, - kUpdateParticleOrientFieldNumber = 9, - kUpdateParticleFallbackFieldNumber = 10, - kUpdateParticleOffsetFieldNumber = 11, - kUpdateParticleEntFieldNumber = 12, - kUpdateParticleShouldDrawFieldNumber = 14, - kUpdateParticleSetFrozenFieldNumber = 15, - kChangeControlPointAttachmentFieldNumber = 16, - kUpdateEntityPositionFieldNumber = 17, - kSetParticleFowPropertiesFieldNumber = 18, - kSetParticleTextFieldNumber = 19, - kSetParticleShouldCheckFowFieldNumber = 20, - kSetControlPointModelFieldNumber = 21, - kSetControlPointSnapshotFieldNumber = 22, - kSetTextureAttributeFieldNumber = 23, - kSetSceneObjectGenericFlagFieldNumber = 24, - kSetSceneObjectTintAndDesatFieldNumber = 25, - kDestroyParticleNamedFieldNumber = 26, - kParticleSkipToTimeFieldNumber = 27, - kParticleCanFreezeFieldNumber = 28, - kSetNamedValueContextFieldNumber = 29, - kUpdateParticleTransformFieldNumber = 30, - kParticleFreezeTransitionOverrideFieldNumber = 31, - kFreezeParticleInvolvingFieldNumber = 32, - kAddModellistOverrideElementFieldNumber = 33, - kClearModellistOverrideFieldNumber = 34, - kCreatePhysicsSimFieldNumber = 35, - kDestroyPhysicsSimFieldNumber = 36, - kSetVdataFieldNumber = 37, - kSetMaterialOverrideFieldNumber = 38, - kAddFanFieldNumber = 39, - kUpdateFanFieldNumber = 40, - kSetParticleClusterGrowthFieldNumber = 41, - kRemoveFanFieldNumber = 42, - kTypeFieldNumber = 1, - kIndexFieldNumber = 2, - }; - // optional .CUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3; - bool has_release_particle_index() const; - private: - bool _internal_has_release_particle_index() const; - public: - void clear_release_particle_index(); - const ::CUserMsg_ParticleManager_ReleaseParticleIndex& release_particle_index() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_ReleaseParticleIndex* release_release_particle_index(); - ::CUserMsg_ParticleManager_ReleaseParticleIndex* mutable_release_particle_index(); - void set_allocated_release_particle_index(::CUserMsg_ParticleManager_ReleaseParticleIndex* release_particle_index); - private: - const ::CUserMsg_ParticleManager_ReleaseParticleIndex& _internal_release_particle_index() const; - ::CUserMsg_ParticleManager_ReleaseParticleIndex* _internal_mutable_release_particle_index(); - public: - void unsafe_arena_set_allocated_release_particle_index( - ::CUserMsg_ParticleManager_ReleaseParticleIndex* release_particle_index); - ::CUserMsg_ParticleManager_ReleaseParticleIndex* unsafe_arena_release_release_particle_index(); - - // optional .CUserMsg_ParticleManager.CreateParticle create_particle = 4; - bool has_create_particle() const; - private: - bool _internal_has_create_particle() const; - public: - void clear_create_particle(); - const ::CUserMsg_ParticleManager_CreateParticle& create_particle() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_CreateParticle* release_create_particle(); - ::CUserMsg_ParticleManager_CreateParticle* mutable_create_particle(); - void set_allocated_create_particle(::CUserMsg_ParticleManager_CreateParticle* create_particle); - private: - const ::CUserMsg_ParticleManager_CreateParticle& _internal_create_particle() const; - ::CUserMsg_ParticleManager_CreateParticle* _internal_mutable_create_particle(); - public: - void unsafe_arena_set_allocated_create_particle( - ::CUserMsg_ParticleManager_CreateParticle* create_particle); - ::CUserMsg_ParticleManager_CreateParticle* unsafe_arena_release_create_particle(); - - // optional .CUserMsg_ParticleManager.DestroyParticle destroy_particle = 5; - bool has_destroy_particle() const; - private: - bool _internal_has_destroy_particle() const; - public: - void clear_destroy_particle(); - const ::CUserMsg_ParticleManager_DestroyParticle& destroy_particle() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_DestroyParticle* release_destroy_particle(); - ::CUserMsg_ParticleManager_DestroyParticle* mutable_destroy_particle(); - void set_allocated_destroy_particle(::CUserMsg_ParticleManager_DestroyParticle* destroy_particle); - private: - const ::CUserMsg_ParticleManager_DestroyParticle& _internal_destroy_particle() const; - ::CUserMsg_ParticleManager_DestroyParticle* _internal_mutable_destroy_particle(); - public: - void unsafe_arena_set_allocated_destroy_particle( - ::CUserMsg_ParticleManager_DestroyParticle* destroy_particle); - ::CUserMsg_ParticleManager_DestroyParticle* unsafe_arena_release_destroy_particle(); - - // optional .CUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6; - bool has_destroy_particle_involving() const; - private: - bool _internal_has_destroy_particle_involving() const; - public: - void clear_destroy_particle_involving(); - const ::CUserMsg_ParticleManager_DestroyParticleInvolving& destroy_particle_involving() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_DestroyParticleInvolving* release_destroy_particle_involving(); - ::CUserMsg_ParticleManager_DestroyParticleInvolving* mutable_destroy_particle_involving(); - void set_allocated_destroy_particle_involving(::CUserMsg_ParticleManager_DestroyParticleInvolving* destroy_particle_involving); - private: - const ::CUserMsg_ParticleManager_DestroyParticleInvolving& _internal_destroy_particle_involving() const; - ::CUserMsg_ParticleManager_DestroyParticleInvolving* _internal_mutable_destroy_particle_involving(); - public: - void unsafe_arena_set_allocated_destroy_particle_involving( - ::CUserMsg_ParticleManager_DestroyParticleInvolving* destroy_particle_involving); - ::CUserMsg_ParticleManager_DestroyParticleInvolving* unsafe_arena_release_destroy_particle_involving(); - - // optional .CUserMsg_ParticleManager.UpdateParticle_OBSOLETE update_particle = 7; - bool has_update_particle() const; - private: - bool _internal_has_update_particle() const; - public: - void clear_update_particle(); - const ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& update_particle() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* release_update_particle(); - ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* mutable_update_particle(); - void set_allocated_update_particle(::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* update_particle); - private: - const ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& _internal_update_particle() const; - ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* _internal_mutable_update_particle(); - public: - void unsafe_arena_set_allocated_update_particle( - ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* update_particle); - ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* unsafe_arena_release_update_particle(); - - // optional .CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE update_particle_fwd = 8; - bool has_update_particle_fwd() const; - private: - bool _internal_has_update_particle_fwd() const; - public: - void clear_update_particle_fwd(); - const ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& update_particle_fwd() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* release_update_particle_fwd(); - ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* mutable_update_particle_fwd(); - void set_allocated_update_particle_fwd(::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* update_particle_fwd); - private: - const ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& _internal_update_particle_fwd() const; - ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* _internal_mutable_update_particle_fwd(); - public: - void unsafe_arena_set_allocated_update_particle_fwd( - ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* update_particle_fwd); - ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* unsafe_arena_release_update_particle_fwd(); - - // optional .CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE update_particle_orient = 9; - bool has_update_particle_orient() const; - private: - bool _internal_has_update_particle_orient() const; - public: - void clear_update_particle_orient(); - const ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& update_particle_orient() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* release_update_particle_orient(); - ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* mutable_update_particle_orient(); - void set_allocated_update_particle_orient(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* update_particle_orient); - private: - const ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& _internal_update_particle_orient() const; - ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* _internal_mutable_update_particle_orient(); - public: - void unsafe_arena_set_allocated_update_particle_orient( - ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* update_particle_orient); - ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* unsafe_arena_release_update_particle_orient(); - - // optional .CUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10; - bool has_update_particle_fallback() const; - private: - bool _internal_has_update_particle_fallback() const; - public: - void clear_update_particle_fallback(); - const ::CUserMsg_ParticleManager_UpdateParticleFallback& update_particle_fallback() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateParticleFallback* release_update_particle_fallback(); - ::CUserMsg_ParticleManager_UpdateParticleFallback* mutable_update_particle_fallback(); - void set_allocated_update_particle_fallback(::CUserMsg_ParticleManager_UpdateParticleFallback* update_particle_fallback); - private: - const ::CUserMsg_ParticleManager_UpdateParticleFallback& _internal_update_particle_fallback() const; - ::CUserMsg_ParticleManager_UpdateParticleFallback* _internal_mutable_update_particle_fallback(); - public: - void unsafe_arena_set_allocated_update_particle_fallback( - ::CUserMsg_ParticleManager_UpdateParticleFallback* update_particle_fallback); - ::CUserMsg_ParticleManager_UpdateParticleFallback* unsafe_arena_release_update_particle_fallback(); - - // optional .CUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11; - bool has_update_particle_offset() const; - private: - bool _internal_has_update_particle_offset() const; - public: - void clear_update_particle_offset(); - const ::CUserMsg_ParticleManager_UpdateParticleOffset& update_particle_offset() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateParticleOffset* release_update_particle_offset(); - ::CUserMsg_ParticleManager_UpdateParticleOffset* mutable_update_particle_offset(); - void set_allocated_update_particle_offset(::CUserMsg_ParticleManager_UpdateParticleOffset* update_particle_offset); - private: - const ::CUserMsg_ParticleManager_UpdateParticleOffset& _internal_update_particle_offset() const; - ::CUserMsg_ParticleManager_UpdateParticleOffset* _internal_mutable_update_particle_offset(); - public: - void unsafe_arena_set_allocated_update_particle_offset( - ::CUserMsg_ParticleManager_UpdateParticleOffset* update_particle_offset); - ::CUserMsg_ParticleManager_UpdateParticleOffset* unsafe_arena_release_update_particle_offset(); - - // optional .CUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12; - bool has_update_particle_ent() const; - private: - bool _internal_has_update_particle_ent() const; - public: - void clear_update_particle_ent(); - const ::CUserMsg_ParticleManager_UpdateParticleEnt& update_particle_ent() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateParticleEnt* release_update_particle_ent(); - ::CUserMsg_ParticleManager_UpdateParticleEnt* mutable_update_particle_ent(); - void set_allocated_update_particle_ent(::CUserMsg_ParticleManager_UpdateParticleEnt* update_particle_ent); - private: - const ::CUserMsg_ParticleManager_UpdateParticleEnt& _internal_update_particle_ent() const; - ::CUserMsg_ParticleManager_UpdateParticleEnt* _internal_mutable_update_particle_ent(); - public: - void unsafe_arena_set_allocated_update_particle_ent( - ::CUserMsg_ParticleManager_UpdateParticleEnt* update_particle_ent); - ::CUserMsg_ParticleManager_UpdateParticleEnt* unsafe_arena_release_update_particle_ent(); - - // optional .CUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14; - bool has_update_particle_should_draw() const; - private: - bool _internal_has_update_particle_should_draw() const; - public: - void clear_update_particle_should_draw(); - const ::CUserMsg_ParticleManager_UpdateParticleShouldDraw& update_particle_should_draw() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* release_update_particle_should_draw(); - ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* mutable_update_particle_should_draw(); - void set_allocated_update_particle_should_draw(::CUserMsg_ParticleManager_UpdateParticleShouldDraw* update_particle_should_draw); - private: - const ::CUserMsg_ParticleManager_UpdateParticleShouldDraw& _internal_update_particle_should_draw() const; - ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* _internal_mutable_update_particle_should_draw(); - public: - void unsafe_arena_set_allocated_update_particle_should_draw( - ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* update_particle_should_draw); - ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* unsafe_arena_release_update_particle_should_draw(); - - // optional .CUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15; - bool has_update_particle_set_frozen() const; - private: - bool _internal_has_update_particle_set_frozen() const; - public: - void clear_update_particle_set_frozen(); - const ::CUserMsg_ParticleManager_UpdateParticleSetFrozen& update_particle_set_frozen() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* release_update_particle_set_frozen(); - ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* mutable_update_particle_set_frozen(); - void set_allocated_update_particle_set_frozen(::CUserMsg_ParticleManager_UpdateParticleSetFrozen* update_particle_set_frozen); - private: - const ::CUserMsg_ParticleManager_UpdateParticleSetFrozen& _internal_update_particle_set_frozen() const; - ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* _internal_mutable_update_particle_set_frozen(); - public: - void unsafe_arena_set_allocated_update_particle_set_frozen( - ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* update_particle_set_frozen); - ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* unsafe_arena_release_update_particle_set_frozen(); - - // optional .CUserMsg_ParticleManager.ChangeControlPointAttachment change_control_point_attachment = 16; - bool has_change_control_point_attachment() const; - private: - bool _internal_has_change_control_point_attachment() const; - public: - void clear_change_control_point_attachment(); - const ::CUserMsg_ParticleManager_ChangeControlPointAttachment& change_control_point_attachment() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_ChangeControlPointAttachment* release_change_control_point_attachment(); - ::CUserMsg_ParticleManager_ChangeControlPointAttachment* mutable_change_control_point_attachment(); - void set_allocated_change_control_point_attachment(::CUserMsg_ParticleManager_ChangeControlPointAttachment* change_control_point_attachment); - private: - const ::CUserMsg_ParticleManager_ChangeControlPointAttachment& _internal_change_control_point_attachment() const; - ::CUserMsg_ParticleManager_ChangeControlPointAttachment* _internal_mutable_change_control_point_attachment(); - public: - void unsafe_arena_set_allocated_change_control_point_attachment( - ::CUserMsg_ParticleManager_ChangeControlPointAttachment* change_control_point_attachment); - ::CUserMsg_ParticleManager_ChangeControlPointAttachment* unsafe_arena_release_change_control_point_attachment(); - - // optional .CUserMsg_ParticleManager.UpdateEntityPosition update_entity_position = 17; - bool has_update_entity_position() const; - private: - bool _internal_has_update_entity_position() const; - public: - void clear_update_entity_position(); - const ::CUserMsg_ParticleManager_UpdateEntityPosition& update_entity_position() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateEntityPosition* release_update_entity_position(); - ::CUserMsg_ParticleManager_UpdateEntityPosition* mutable_update_entity_position(); - void set_allocated_update_entity_position(::CUserMsg_ParticleManager_UpdateEntityPosition* update_entity_position); - private: - const ::CUserMsg_ParticleManager_UpdateEntityPosition& _internal_update_entity_position() const; - ::CUserMsg_ParticleManager_UpdateEntityPosition* _internal_mutable_update_entity_position(); - public: - void unsafe_arena_set_allocated_update_entity_position( - ::CUserMsg_ParticleManager_UpdateEntityPosition* update_entity_position); - ::CUserMsg_ParticleManager_UpdateEntityPosition* unsafe_arena_release_update_entity_position(); - - // optional .CUserMsg_ParticleManager.SetParticleFoWProperties set_particle_fow_properties = 18; - bool has_set_particle_fow_properties() const; - private: - bool _internal_has_set_particle_fow_properties() const; - public: - void clear_set_particle_fow_properties(); - const ::CUserMsg_ParticleManager_SetParticleFoWProperties& set_particle_fow_properties() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetParticleFoWProperties* release_set_particle_fow_properties(); - ::CUserMsg_ParticleManager_SetParticleFoWProperties* mutable_set_particle_fow_properties(); - void set_allocated_set_particle_fow_properties(::CUserMsg_ParticleManager_SetParticleFoWProperties* set_particle_fow_properties); - private: - const ::CUserMsg_ParticleManager_SetParticleFoWProperties& _internal_set_particle_fow_properties() const; - ::CUserMsg_ParticleManager_SetParticleFoWProperties* _internal_mutable_set_particle_fow_properties(); - public: - void unsafe_arena_set_allocated_set_particle_fow_properties( - ::CUserMsg_ParticleManager_SetParticleFoWProperties* set_particle_fow_properties); - ::CUserMsg_ParticleManager_SetParticleFoWProperties* unsafe_arena_release_set_particle_fow_properties(); - - // optional .CUserMsg_ParticleManager.SetParticleText set_particle_text = 19; - bool has_set_particle_text() const; - private: - bool _internal_has_set_particle_text() const; - public: - void clear_set_particle_text(); - const ::CUserMsg_ParticleManager_SetParticleText& set_particle_text() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetParticleText* release_set_particle_text(); - ::CUserMsg_ParticleManager_SetParticleText* mutable_set_particle_text(); - void set_allocated_set_particle_text(::CUserMsg_ParticleManager_SetParticleText* set_particle_text); - private: - const ::CUserMsg_ParticleManager_SetParticleText& _internal_set_particle_text() const; - ::CUserMsg_ParticleManager_SetParticleText* _internal_mutable_set_particle_text(); - public: - void unsafe_arena_set_allocated_set_particle_text( - ::CUserMsg_ParticleManager_SetParticleText* set_particle_text); - ::CUserMsg_ParticleManager_SetParticleText* unsafe_arena_release_set_particle_text(); - - // optional .CUserMsg_ParticleManager.SetParticleShouldCheckFoW set_particle_should_check_fow = 20; - bool has_set_particle_should_check_fow() const; - private: - bool _internal_has_set_particle_should_check_fow() const; - public: - void clear_set_particle_should_check_fow(); - const ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW& set_particle_should_check_fow() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* release_set_particle_should_check_fow(); - ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* mutable_set_particle_should_check_fow(); - void set_allocated_set_particle_should_check_fow(::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* set_particle_should_check_fow); - private: - const ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW& _internal_set_particle_should_check_fow() const; - ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* _internal_mutable_set_particle_should_check_fow(); - public: - void unsafe_arena_set_allocated_set_particle_should_check_fow( - ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* set_particle_should_check_fow); - ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* unsafe_arena_release_set_particle_should_check_fow(); - - // optional .CUserMsg_ParticleManager.SetControlPointModel set_control_point_model = 21; - bool has_set_control_point_model() const; - private: - bool _internal_has_set_control_point_model() const; - public: - void clear_set_control_point_model(); - const ::CUserMsg_ParticleManager_SetControlPointModel& set_control_point_model() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetControlPointModel* release_set_control_point_model(); - ::CUserMsg_ParticleManager_SetControlPointModel* mutable_set_control_point_model(); - void set_allocated_set_control_point_model(::CUserMsg_ParticleManager_SetControlPointModel* set_control_point_model); - private: - const ::CUserMsg_ParticleManager_SetControlPointModel& _internal_set_control_point_model() const; - ::CUserMsg_ParticleManager_SetControlPointModel* _internal_mutable_set_control_point_model(); - public: - void unsafe_arena_set_allocated_set_control_point_model( - ::CUserMsg_ParticleManager_SetControlPointModel* set_control_point_model); - ::CUserMsg_ParticleManager_SetControlPointModel* unsafe_arena_release_set_control_point_model(); - - // optional .CUserMsg_ParticleManager.SetControlPointSnapshot set_control_point_snapshot = 22; - bool has_set_control_point_snapshot() const; - private: - bool _internal_has_set_control_point_snapshot() const; - public: - void clear_set_control_point_snapshot(); - const ::CUserMsg_ParticleManager_SetControlPointSnapshot& set_control_point_snapshot() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetControlPointSnapshot* release_set_control_point_snapshot(); - ::CUserMsg_ParticleManager_SetControlPointSnapshot* mutable_set_control_point_snapshot(); - void set_allocated_set_control_point_snapshot(::CUserMsg_ParticleManager_SetControlPointSnapshot* set_control_point_snapshot); - private: - const ::CUserMsg_ParticleManager_SetControlPointSnapshot& _internal_set_control_point_snapshot() const; - ::CUserMsg_ParticleManager_SetControlPointSnapshot* _internal_mutable_set_control_point_snapshot(); - public: - void unsafe_arena_set_allocated_set_control_point_snapshot( - ::CUserMsg_ParticleManager_SetControlPointSnapshot* set_control_point_snapshot); - ::CUserMsg_ParticleManager_SetControlPointSnapshot* unsafe_arena_release_set_control_point_snapshot(); - - // optional .CUserMsg_ParticleManager.SetTextureAttribute set_texture_attribute = 23; - bool has_set_texture_attribute() const; - private: - bool _internal_has_set_texture_attribute() const; - public: - void clear_set_texture_attribute(); - const ::CUserMsg_ParticleManager_SetTextureAttribute& set_texture_attribute() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetTextureAttribute* release_set_texture_attribute(); - ::CUserMsg_ParticleManager_SetTextureAttribute* mutable_set_texture_attribute(); - void set_allocated_set_texture_attribute(::CUserMsg_ParticleManager_SetTextureAttribute* set_texture_attribute); - private: - const ::CUserMsg_ParticleManager_SetTextureAttribute& _internal_set_texture_attribute() const; - ::CUserMsg_ParticleManager_SetTextureAttribute* _internal_mutable_set_texture_attribute(); - public: - void unsafe_arena_set_allocated_set_texture_attribute( - ::CUserMsg_ParticleManager_SetTextureAttribute* set_texture_attribute); - ::CUserMsg_ParticleManager_SetTextureAttribute* unsafe_arena_release_set_texture_attribute(); - - // optional .CUserMsg_ParticleManager.SetSceneObjectGenericFlag set_scene_object_generic_flag = 24; - bool has_set_scene_object_generic_flag() const; - private: - bool _internal_has_set_scene_object_generic_flag() const; - public: - void clear_set_scene_object_generic_flag(); - const ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag& set_scene_object_generic_flag() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* release_set_scene_object_generic_flag(); - ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* mutable_set_scene_object_generic_flag(); - void set_allocated_set_scene_object_generic_flag(::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* set_scene_object_generic_flag); - private: - const ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag& _internal_set_scene_object_generic_flag() const; - ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* _internal_mutable_set_scene_object_generic_flag(); - public: - void unsafe_arena_set_allocated_set_scene_object_generic_flag( - ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* set_scene_object_generic_flag); - ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* unsafe_arena_release_set_scene_object_generic_flag(); - - // optional .CUserMsg_ParticleManager.SetSceneObjectTintAndDesat set_scene_object_tint_and_desat = 25; - bool has_set_scene_object_tint_and_desat() const; - private: - bool _internal_has_set_scene_object_tint_and_desat() const; - public: - void clear_set_scene_object_tint_and_desat(); - const ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& set_scene_object_tint_and_desat() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* release_set_scene_object_tint_and_desat(); - ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* mutable_set_scene_object_tint_and_desat(); - void set_allocated_set_scene_object_tint_and_desat(::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* set_scene_object_tint_and_desat); - private: - const ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& _internal_set_scene_object_tint_and_desat() const; - ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* _internal_mutable_set_scene_object_tint_and_desat(); - public: - void unsafe_arena_set_allocated_set_scene_object_tint_and_desat( - ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* set_scene_object_tint_and_desat); - ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* unsafe_arena_release_set_scene_object_tint_and_desat(); - - // optional .CUserMsg_ParticleManager.DestroyParticleNamed destroy_particle_named = 26; - bool has_destroy_particle_named() const; - private: - bool _internal_has_destroy_particle_named() const; - public: - void clear_destroy_particle_named(); - const ::CUserMsg_ParticleManager_DestroyParticleNamed& destroy_particle_named() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_DestroyParticleNamed* release_destroy_particle_named(); - ::CUserMsg_ParticleManager_DestroyParticleNamed* mutable_destroy_particle_named(); - void set_allocated_destroy_particle_named(::CUserMsg_ParticleManager_DestroyParticleNamed* destroy_particle_named); - private: - const ::CUserMsg_ParticleManager_DestroyParticleNamed& _internal_destroy_particle_named() const; - ::CUserMsg_ParticleManager_DestroyParticleNamed* _internal_mutable_destroy_particle_named(); - public: - void unsafe_arena_set_allocated_destroy_particle_named( - ::CUserMsg_ParticleManager_DestroyParticleNamed* destroy_particle_named); - ::CUserMsg_ParticleManager_DestroyParticleNamed* unsafe_arena_release_destroy_particle_named(); - - // optional .CUserMsg_ParticleManager.ParticleSkipToTime particle_skip_to_time = 27; - bool has_particle_skip_to_time() const; - private: - bool _internal_has_particle_skip_to_time() const; - public: - void clear_particle_skip_to_time(); - const ::CUserMsg_ParticleManager_ParticleSkipToTime& particle_skip_to_time() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_ParticleSkipToTime* release_particle_skip_to_time(); - ::CUserMsg_ParticleManager_ParticleSkipToTime* mutable_particle_skip_to_time(); - void set_allocated_particle_skip_to_time(::CUserMsg_ParticleManager_ParticleSkipToTime* particle_skip_to_time); - private: - const ::CUserMsg_ParticleManager_ParticleSkipToTime& _internal_particle_skip_to_time() const; - ::CUserMsg_ParticleManager_ParticleSkipToTime* _internal_mutable_particle_skip_to_time(); - public: - void unsafe_arena_set_allocated_particle_skip_to_time( - ::CUserMsg_ParticleManager_ParticleSkipToTime* particle_skip_to_time); - ::CUserMsg_ParticleManager_ParticleSkipToTime* unsafe_arena_release_particle_skip_to_time(); - - // optional .CUserMsg_ParticleManager.ParticleCanFreeze particle_can_freeze = 28; - bool has_particle_can_freeze() const; - private: - bool _internal_has_particle_can_freeze() const; - public: - void clear_particle_can_freeze(); - const ::CUserMsg_ParticleManager_ParticleCanFreeze& particle_can_freeze() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_ParticleCanFreeze* release_particle_can_freeze(); - ::CUserMsg_ParticleManager_ParticleCanFreeze* mutable_particle_can_freeze(); - void set_allocated_particle_can_freeze(::CUserMsg_ParticleManager_ParticleCanFreeze* particle_can_freeze); - private: - const ::CUserMsg_ParticleManager_ParticleCanFreeze& _internal_particle_can_freeze() const; - ::CUserMsg_ParticleManager_ParticleCanFreeze* _internal_mutable_particle_can_freeze(); - public: - void unsafe_arena_set_allocated_particle_can_freeze( - ::CUserMsg_ParticleManager_ParticleCanFreeze* particle_can_freeze); - ::CUserMsg_ParticleManager_ParticleCanFreeze* unsafe_arena_release_particle_can_freeze(); - - // optional .CUserMsg_ParticleManager.SetParticleNamedValueContext set_named_value_context = 29; - bool has_set_named_value_context() const; - private: - bool _internal_has_set_named_value_context() const; - public: - void clear_set_named_value_context(); - const ::CUserMsg_ParticleManager_SetParticleNamedValueContext& set_named_value_context() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetParticleNamedValueContext* release_set_named_value_context(); - ::CUserMsg_ParticleManager_SetParticleNamedValueContext* mutable_set_named_value_context(); - void set_allocated_set_named_value_context(::CUserMsg_ParticleManager_SetParticleNamedValueContext* set_named_value_context); - private: - const ::CUserMsg_ParticleManager_SetParticleNamedValueContext& _internal_set_named_value_context() const; - ::CUserMsg_ParticleManager_SetParticleNamedValueContext* _internal_mutable_set_named_value_context(); - public: - void unsafe_arena_set_allocated_set_named_value_context( - ::CUserMsg_ParticleManager_SetParticleNamedValueContext* set_named_value_context); - ::CUserMsg_ParticleManager_SetParticleNamedValueContext* unsafe_arena_release_set_named_value_context(); - - // optional .CUserMsg_ParticleManager.UpdateParticleTransform update_particle_transform = 30; - bool has_update_particle_transform() const; - private: - bool _internal_has_update_particle_transform() const; - public: - void clear_update_particle_transform(); - const ::CUserMsg_ParticleManager_UpdateParticleTransform& update_particle_transform() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateParticleTransform* release_update_particle_transform(); - ::CUserMsg_ParticleManager_UpdateParticleTransform* mutable_update_particle_transform(); - void set_allocated_update_particle_transform(::CUserMsg_ParticleManager_UpdateParticleTransform* update_particle_transform); - private: - const ::CUserMsg_ParticleManager_UpdateParticleTransform& _internal_update_particle_transform() const; - ::CUserMsg_ParticleManager_UpdateParticleTransform* _internal_mutable_update_particle_transform(); - public: - void unsafe_arena_set_allocated_update_particle_transform( - ::CUserMsg_ParticleManager_UpdateParticleTransform* update_particle_transform); - ::CUserMsg_ParticleManager_UpdateParticleTransform* unsafe_arena_release_update_particle_transform(); - - // optional .CUserMsg_ParticleManager.ParticleFreezeTransitionOverride particle_freeze_transition_override = 31; - bool has_particle_freeze_transition_override() const; - private: - bool _internal_has_particle_freeze_transition_override() const; - public: - void clear_particle_freeze_transition_override(); - const ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& particle_freeze_transition_override() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* release_particle_freeze_transition_override(); - ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* mutable_particle_freeze_transition_override(); - void set_allocated_particle_freeze_transition_override(::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* particle_freeze_transition_override); - private: - const ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& _internal_particle_freeze_transition_override() const; - ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* _internal_mutable_particle_freeze_transition_override(); - public: - void unsafe_arena_set_allocated_particle_freeze_transition_override( - ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* particle_freeze_transition_override); - ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* unsafe_arena_release_particle_freeze_transition_override(); - - // optional .CUserMsg_ParticleManager.FreezeParticleInvolving freeze_particle_involving = 32; - bool has_freeze_particle_involving() const; - private: - bool _internal_has_freeze_particle_involving() const; - public: - void clear_freeze_particle_involving(); - const ::CUserMsg_ParticleManager_FreezeParticleInvolving& freeze_particle_involving() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_FreezeParticleInvolving* release_freeze_particle_involving(); - ::CUserMsg_ParticleManager_FreezeParticleInvolving* mutable_freeze_particle_involving(); - void set_allocated_freeze_particle_involving(::CUserMsg_ParticleManager_FreezeParticleInvolving* freeze_particle_involving); - private: - const ::CUserMsg_ParticleManager_FreezeParticleInvolving& _internal_freeze_particle_involving() const; - ::CUserMsg_ParticleManager_FreezeParticleInvolving* _internal_mutable_freeze_particle_involving(); - public: - void unsafe_arena_set_allocated_freeze_particle_involving( - ::CUserMsg_ParticleManager_FreezeParticleInvolving* freeze_particle_involving); - ::CUserMsg_ParticleManager_FreezeParticleInvolving* unsafe_arena_release_freeze_particle_involving(); - - // optional .CUserMsg_ParticleManager.AddModellistOverrideElement add_modellist_override_element = 33; - bool has_add_modellist_override_element() const; - private: - bool _internal_has_add_modellist_override_element() const; - public: - void clear_add_modellist_override_element(); - const ::CUserMsg_ParticleManager_AddModellistOverrideElement& add_modellist_override_element() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_AddModellistOverrideElement* release_add_modellist_override_element(); - ::CUserMsg_ParticleManager_AddModellistOverrideElement* mutable_add_modellist_override_element(); - void set_allocated_add_modellist_override_element(::CUserMsg_ParticleManager_AddModellistOverrideElement* add_modellist_override_element); - private: - const ::CUserMsg_ParticleManager_AddModellistOverrideElement& _internal_add_modellist_override_element() const; - ::CUserMsg_ParticleManager_AddModellistOverrideElement* _internal_mutable_add_modellist_override_element(); - public: - void unsafe_arena_set_allocated_add_modellist_override_element( - ::CUserMsg_ParticleManager_AddModellistOverrideElement* add_modellist_override_element); - ::CUserMsg_ParticleManager_AddModellistOverrideElement* unsafe_arena_release_add_modellist_override_element(); - - // optional .CUserMsg_ParticleManager.ClearModellistOverride clear_modellist_override = 34; - bool has_clear_modellist_override() const; - private: - bool _internal_has_clear_modellist_override() const; - public: - void clear_clear_modellist_override(); - const ::CUserMsg_ParticleManager_ClearModellistOverride& clear_modellist_override() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_ClearModellistOverride* release_clear_modellist_override(); - ::CUserMsg_ParticleManager_ClearModellistOverride* mutable_clear_modellist_override(); - void set_allocated_clear_modellist_override(::CUserMsg_ParticleManager_ClearModellistOverride* clear_modellist_override); - private: - const ::CUserMsg_ParticleManager_ClearModellistOverride& _internal_clear_modellist_override() const; - ::CUserMsg_ParticleManager_ClearModellistOverride* _internal_mutable_clear_modellist_override(); - public: - void unsafe_arena_set_allocated_clear_modellist_override( - ::CUserMsg_ParticleManager_ClearModellistOverride* clear_modellist_override); - ::CUserMsg_ParticleManager_ClearModellistOverride* unsafe_arena_release_clear_modellist_override(); - - // optional .CUserMsg_ParticleManager.CreatePhysicsSim create_physics_sim = 35; - bool has_create_physics_sim() const; - private: - bool _internal_has_create_physics_sim() const; - public: - void clear_create_physics_sim(); - const ::CUserMsg_ParticleManager_CreatePhysicsSim& create_physics_sim() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_CreatePhysicsSim* release_create_physics_sim(); - ::CUserMsg_ParticleManager_CreatePhysicsSim* mutable_create_physics_sim(); - void set_allocated_create_physics_sim(::CUserMsg_ParticleManager_CreatePhysicsSim* create_physics_sim); - private: - const ::CUserMsg_ParticleManager_CreatePhysicsSim& _internal_create_physics_sim() const; - ::CUserMsg_ParticleManager_CreatePhysicsSim* _internal_mutable_create_physics_sim(); - public: - void unsafe_arena_set_allocated_create_physics_sim( - ::CUserMsg_ParticleManager_CreatePhysicsSim* create_physics_sim); - ::CUserMsg_ParticleManager_CreatePhysicsSim* unsafe_arena_release_create_physics_sim(); - - // optional .CUserMsg_ParticleManager.DestroyPhysicsSim destroy_physics_sim = 36; - bool has_destroy_physics_sim() const; - private: - bool _internal_has_destroy_physics_sim() const; - public: - void clear_destroy_physics_sim(); - const ::CUserMsg_ParticleManager_DestroyPhysicsSim& destroy_physics_sim() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_DestroyPhysicsSim* release_destroy_physics_sim(); - ::CUserMsg_ParticleManager_DestroyPhysicsSim* mutable_destroy_physics_sim(); - void set_allocated_destroy_physics_sim(::CUserMsg_ParticleManager_DestroyPhysicsSim* destroy_physics_sim); - private: - const ::CUserMsg_ParticleManager_DestroyPhysicsSim& _internal_destroy_physics_sim() const; - ::CUserMsg_ParticleManager_DestroyPhysicsSim* _internal_mutable_destroy_physics_sim(); - public: - void unsafe_arena_set_allocated_destroy_physics_sim( - ::CUserMsg_ParticleManager_DestroyPhysicsSim* destroy_physics_sim); - ::CUserMsg_ParticleManager_DestroyPhysicsSim* unsafe_arena_release_destroy_physics_sim(); - - // optional .CUserMsg_ParticleManager.SetVData set_vdata = 37; - bool has_set_vdata() const; - private: - bool _internal_has_set_vdata() const; - public: - void clear_set_vdata(); - const ::CUserMsg_ParticleManager_SetVData& set_vdata() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetVData* release_set_vdata(); - ::CUserMsg_ParticleManager_SetVData* mutable_set_vdata(); - void set_allocated_set_vdata(::CUserMsg_ParticleManager_SetVData* set_vdata); - private: - const ::CUserMsg_ParticleManager_SetVData& _internal_set_vdata() const; - ::CUserMsg_ParticleManager_SetVData* _internal_mutable_set_vdata(); - public: - void unsafe_arena_set_allocated_set_vdata( - ::CUserMsg_ParticleManager_SetVData* set_vdata); - ::CUserMsg_ParticleManager_SetVData* unsafe_arena_release_set_vdata(); - - // optional .CUserMsg_ParticleManager.SetMaterialOverride set_material_override = 38; - bool has_set_material_override() const; - private: - bool _internal_has_set_material_override() const; - public: - void clear_set_material_override(); - const ::CUserMsg_ParticleManager_SetMaterialOverride& set_material_override() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetMaterialOverride* release_set_material_override(); - ::CUserMsg_ParticleManager_SetMaterialOverride* mutable_set_material_override(); - void set_allocated_set_material_override(::CUserMsg_ParticleManager_SetMaterialOverride* set_material_override); - private: - const ::CUserMsg_ParticleManager_SetMaterialOverride& _internal_set_material_override() const; - ::CUserMsg_ParticleManager_SetMaterialOverride* _internal_mutable_set_material_override(); - public: - void unsafe_arena_set_allocated_set_material_override( - ::CUserMsg_ParticleManager_SetMaterialOverride* set_material_override); - ::CUserMsg_ParticleManager_SetMaterialOverride* unsafe_arena_release_set_material_override(); - - // optional .CUserMsg_ParticleManager.AddFan add_fan = 39; - bool has_add_fan() const; - private: - bool _internal_has_add_fan() const; - public: - void clear_add_fan(); - const ::CUserMsg_ParticleManager_AddFan& add_fan() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_AddFan* release_add_fan(); - ::CUserMsg_ParticleManager_AddFan* mutable_add_fan(); - void set_allocated_add_fan(::CUserMsg_ParticleManager_AddFan* add_fan); - private: - const ::CUserMsg_ParticleManager_AddFan& _internal_add_fan() const; - ::CUserMsg_ParticleManager_AddFan* _internal_mutable_add_fan(); - public: - void unsafe_arena_set_allocated_add_fan( - ::CUserMsg_ParticleManager_AddFan* add_fan); - ::CUserMsg_ParticleManager_AddFan* unsafe_arena_release_add_fan(); - - // optional .CUserMsg_ParticleManager.UpdateFan update_fan = 40; - bool has_update_fan() const; - private: - bool _internal_has_update_fan() const; - public: - void clear_update_fan(); - const ::CUserMsg_ParticleManager_UpdateFan& update_fan() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_UpdateFan* release_update_fan(); - ::CUserMsg_ParticleManager_UpdateFan* mutable_update_fan(); - void set_allocated_update_fan(::CUserMsg_ParticleManager_UpdateFan* update_fan); - private: - const ::CUserMsg_ParticleManager_UpdateFan& _internal_update_fan() const; - ::CUserMsg_ParticleManager_UpdateFan* _internal_mutable_update_fan(); - public: - void unsafe_arena_set_allocated_update_fan( - ::CUserMsg_ParticleManager_UpdateFan* update_fan); - ::CUserMsg_ParticleManager_UpdateFan* unsafe_arena_release_update_fan(); - - // optional .CUserMsg_ParticleManager.SetParticleClusterGrowth set_particle_cluster_growth = 41; - bool has_set_particle_cluster_growth() const; - private: - bool _internal_has_set_particle_cluster_growth() const; - public: - void clear_set_particle_cluster_growth(); - const ::CUserMsg_ParticleManager_SetParticleClusterGrowth& set_particle_cluster_growth() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_SetParticleClusterGrowth* release_set_particle_cluster_growth(); - ::CUserMsg_ParticleManager_SetParticleClusterGrowth* mutable_set_particle_cluster_growth(); - void set_allocated_set_particle_cluster_growth(::CUserMsg_ParticleManager_SetParticleClusterGrowth* set_particle_cluster_growth); - private: - const ::CUserMsg_ParticleManager_SetParticleClusterGrowth& _internal_set_particle_cluster_growth() const; - ::CUserMsg_ParticleManager_SetParticleClusterGrowth* _internal_mutable_set_particle_cluster_growth(); - public: - void unsafe_arena_set_allocated_set_particle_cluster_growth( - ::CUserMsg_ParticleManager_SetParticleClusterGrowth* set_particle_cluster_growth); - ::CUserMsg_ParticleManager_SetParticleClusterGrowth* unsafe_arena_release_set_particle_cluster_growth(); - - // optional .CUserMsg_ParticleManager.RemoveFan remove_fan = 42; - bool has_remove_fan() const; - private: - bool _internal_has_remove_fan() const; - public: - void clear_remove_fan(); - const ::CUserMsg_ParticleManager_RemoveFan& remove_fan() const; - PROTOBUF_NODISCARD ::CUserMsg_ParticleManager_RemoveFan* release_remove_fan(); - ::CUserMsg_ParticleManager_RemoveFan* mutable_remove_fan(); - void set_allocated_remove_fan(::CUserMsg_ParticleManager_RemoveFan* remove_fan); - private: - const ::CUserMsg_ParticleManager_RemoveFan& _internal_remove_fan() const; - ::CUserMsg_ParticleManager_RemoveFan* _internal_mutable_remove_fan(); - public: - void unsafe_arena_set_allocated_remove_fan( - ::CUserMsg_ParticleManager_RemoveFan* remove_fan); - ::CUserMsg_ParticleManager_RemoveFan* unsafe_arena_release_remove_fan(); - - // required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - ::PARTICLE_MESSAGE type() const; - void set_type(::PARTICLE_MESSAGE value); - private: - ::PARTICLE_MESSAGE _internal_type() const; - void _internal_set_type(::PARTICLE_MESSAGE value); - public: - - // required uint32 index = 2; - bool has_index() const; - private: - bool _internal_has_index() const; - public: - void clear_index(); - uint32_t index() const; - void set_index(uint32_t value); - private: - uint32_t _internal_index() const; - void _internal_set_index(uint32_t value); - public: - - - template - inline bool HasExtension( - const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< - CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) const { - - return _impl_._extensions_.Has(id.number()); - } - - template - inline void ClearExtension( - const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< - CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) { - _impl_._extensions_.ClearExtension(id.number()); - - } - - template - inline int ExtensionSize( - const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< - CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) const { - - return _impl_._extensions_.ExtensionSize(id.number()); - } - - template - inline typename _proto_TypeTraits::Singular::ConstType GetExtension( - const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< - CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) const { - - return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, - id.default_value()); - } - - template - inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( - const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< - CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) { - - return _proto_TypeTraits::Mutable(id.number(), _field_type, - &_impl_._extensions_); - } - - template - inline void SetExtension( - const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< - CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id, - typename _proto_TypeTraits::Singular::ConstType value) { - _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); - - } - - template - inline void SetAllocatedExtension( - const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< - CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id, - typename _proto_TypeTraits::Singular::MutableType value) { - _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, - &_impl_._extensions_); - - } - template - inline void UnsafeArenaSetAllocatedExtension( - const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< - CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id, - typename _proto_TypeTraits::Singular::MutableType value) { - _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, - value, &_impl_._extensions_); - - } - template - PROTOBUF_NODISCARD inline - typename _proto_TypeTraits::Singular::MutableType - ReleaseExtension( - const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< - CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) { - - return _proto_TypeTraits::Release(id.number(), _field_type, - &_impl_._extensions_); - } - template - inline typename _proto_TypeTraits::Singular::MutableType - UnsafeArenaReleaseExtension( - const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< - CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) { - - return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, - &_impl_._extensions_); - } - - template - inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( - const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< - CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id, - int index) const { - - return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); - } - - template - inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( - const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< - CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id, - int index) { - - return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); - } - - template - inline void SetExtension( - const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< - CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id, - int index, typename _proto_TypeTraits::Repeated::ConstType value) { - _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); - - } - - template - inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( - const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< - CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) { - typename _proto_TypeTraits::Repeated::MutableType to_add = - _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); - - return to_add; - } - - template - inline void AddExtension( - const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< - CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id, - typename _proto_TypeTraits::Repeated::ConstType value) { - _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, - &_impl_._extensions_); - - } - - template - inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& - GetRepeatedExtension( - const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< - CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) const { - - return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); - } - - template - inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* - MutableRepeatedExtension( - const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< - CUserMsg_ParticleManager, _proto_TypeTraits, _field_type, _is_packed>& id) { - - return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, - _is_packed, &_impl_._extensions_); - } - - // @@protoc_insertion_point(class_scope:CUserMsg_ParticleManager) - private: - class _Internal; - - // helper for ByteSizeLong() - size_t RequiredFieldsByteSizeFallback() const; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; - - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<2> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::CUserMsg_ParticleManager_ReleaseParticleIndex* release_particle_index_; - ::CUserMsg_ParticleManager_CreateParticle* create_particle_; - ::CUserMsg_ParticleManager_DestroyParticle* destroy_particle_; - ::CUserMsg_ParticleManager_DestroyParticleInvolving* destroy_particle_involving_; - ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* update_particle_; - ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* update_particle_fwd_; - ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* update_particle_orient_; - ::CUserMsg_ParticleManager_UpdateParticleFallback* update_particle_fallback_; - ::CUserMsg_ParticleManager_UpdateParticleOffset* update_particle_offset_; - ::CUserMsg_ParticleManager_UpdateParticleEnt* update_particle_ent_; - ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* update_particle_should_draw_; - ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* update_particle_set_frozen_; - ::CUserMsg_ParticleManager_ChangeControlPointAttachment* change_control_point_attachment_; - ::CUserMsg_ParticleManager_UpdateEntityPosition* update_entity_position_; - ::CUserMsg_ParticleManager_SetParticleFoWProperties* set_particle_fow_properties_; - ::CUserMsg_ParticleManager_SetParticleText* set_particle_text_; - ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* set_particle_should_check_fow_; - ::CUserMsg_ParticleManager_SetControlPointModel* set_control_point_model_; - ::CUserMsg_ParticleManager_SetControlPointSnapshot* set_control_point_snapshot_; - ::CUserMsg_ParticleManager_SetTextureAttribute* set_texture_attribute_; - ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* set_scene_object_generic_flag_; - ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* set_scene_object_tint_and_desat_; - ::CUserMsg_ParticleManager_DestroyParticleNamed* destroy_particle_named_; - ::CUserMsg_ParticleManager_ParticleSkipToTime* particle_skip_to_time_; - ::CUserMsg_ParticleManager_ParticleCanFreeze* particle_can_freeze_; - ::CUserMsg_ParticleManager_SetParticleNamedValueContext* set_named_value_context_; - ::CUserMsg_ParticleManager_UpdateParticleTransform* update_particle_transform_; - ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* particle_freeze_transition_override_; - ::CUserMsg_ParticleManager_FreezeParticleInvolving* freeze_particle_involving_; - ::CUserMsg_ParticleManager_AddModellistOverrideElement* add_modellist_override_element_; - ::CUserMsg_ParticleManager_ClearModellistOverride* clear_modellist_override_; - ::CUserMsg_ParticleManager_CreatePhysicsSim* create_physics_sim_; - ::CUserMsg_ParticleManager_DestroyPhysicsSim* destroy_physics_sim_; - ::CUserMsg_ParticleManager_SetVData* set_vdata_; - ::CUserMsg_ParticleManager_SetMaterialOverride* set_material_override_; - ::CUserMsg_ParticleManager_AddFan* add_fan_; - ::CUserMsg_ParticleManager_UpdateFan* update_fan_; - ::CUserMsg_ParticleManager_SetParticleClusterGrowth* set_particle_cluster_growth_; - ::CUserMsg_ParticleManager_RemoveFan* remove_fan_; - int type_; - uint32_t index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_HudError : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_HudError) */ { - public: - inline CUserMsg_HudError() : CUserMsg_HudError(nullptr) {} - ~CUserMsg_HudError() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_HudError(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_HudError(const CUserMsg_HudError& from); - CUserMsg_HudError(CUserMsg_HudError&& from) noexcept - : CUserMsg_HudError() { - *this = ::std::move(from); - } - - inline CUserMsg_HudError& operator=(const CUserMsg_HudError& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_HudError& operator=(CUserMsg_HudError&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_HudError& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_HudError* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_HudError_default_instance_); - } - static constexpr int kIndexInFileMessages = - 81; - - friend void swap(CUserMsg_HudError& a, CUserMsg_HudError& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_HudError* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_HudError* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_HudError* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_HudError& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_HudError& from) { - CUserMsg_HudError::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_HudError* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_HudError"; - } - protected: - explicit CUserMsg_HudError(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kOrderIdFieldNumber = 1, - }; - // optional int32 order_id = 1; - bool has_order_id() const; - private: - bool _internal_has_order_id() const; - public: - void clear_order_id(); - int32_t order_id() const; - void set_order_id(int32_t value); - private: - int32_t _internal_order_id() const; - void _internal_set_order_id(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_HudError) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t order_id_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMsg_CustomGameEvent : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMsg_CustomGameEvent) */ { - public: - inline CUserMsg_CustomGameEvent() : CUserMsg_CustomGameEvent(nullptr) {} - ~CUserMsg_CustomGameEvent() override; - explicit PROTOBUF_CONSTEXPR CUserMsg_CustomGameEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMsg_CustomGameEvent(const CUserMsg_CustomGameEvent& from); - CUserMsg_CustomGameEvent(CUserMsg_CustomGameEvent&& from) noexcept - : CUserMsg_CustomGameEvent() { - *this = ::std::move(from); - } - - inline CUserMsg_CustomGameEvent& operator=(const CUserMsg_CustomGameEvent& from) { - CopyFrom(from); - return *this; - } - inline CUserMsg_CustomGameEvent& operator=(CUserMsg_CustomGameEvent&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMsg_CustomGameEvent& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMsg_CustomGameEvent* internal_default_instance() { - return reinterpret_cast( - &_CUserMsg_CustomGameEvent_default_instance_); - } - static constexpr int kIndexInFileMessages = - 82; - - friend void swap(CUserMsg_CustomGameEvent& a, CUserMsg_CustomGameEvent& b) { - a.Swap(&b); - } - inline void Swap(CUserMsg_CustomGameEvent* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMsg_CustomGameEvent* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMsg_CustomGameEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMsg_CustomGameEvent& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMsg_CustomGameEvent& from) { - CUserMsg_CustomGameEvent::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMsg_CustomGameEvent* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMsg_CustomGameEvent"; - } - protected: - explicit CUserMsg_CustomGameEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kEventNameFieldNumber = 1, - kDataFieldNumber = 2, - }; - // optional string event_name = 1; - bool has_event_name() const; - private: - bool _internal_has_event_name() const; - public: - void clear_event_name(); - const std::string& event_name() const; - template - void set_event_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_event_name(); - PROTOBUF_NODISCARD std::string* release_event_name(); - void set_allocated_event_name(std::string* event_name); - private: - const std::string& _internal_event_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_name(const std::string& value); - std::string* _internal_mutable_event_name(); - public: - - // optional bytes data = 2; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // @@protoc_insertion_point(class_scope:CUserMsg_CustomGameEvent) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageHapticsManagerPulse : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageHapticsManagerPulse) */ { - public: - inline CUserMessageHapticsManagerPulse() : CUserMessageHapticsManagerPulse(nullptr) {} - ~CUserMessageHapticsManagerPulse() override; - explicit PROTOBUF_CONSTEXPR CUserMessageHapticsManagerPulse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageHapticsManagerPulse(const CUserMessageHapticsManagerPulse& from); - CUserMessageHapticsManagerPulse(CUserMessageHapticsManagerPulse&& from) noexcept - : CUserMessageHapticsManagerPulse() { - *this = ::std::move(from); - } - - inline CUserMessageHapticsManagerPulse& operator=(const CUserMessageHapticsManagerPulse& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageHapticsManagerPulse& operator=(CUserMessageHapticsManagerPulse&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageHapticsManagerPulse& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageHapticsManagerPulse* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageHapticsManagerPulse_default_instance_); - } - static constexpr int kIndexInFileMessages = - 83; - - friend void swap(CUserMessageHapticsManagerPulse& a, CUserMessageHapticsManagerPulse& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageHapticsManagerPulse* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageHapticsManagerPulse* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageHapticsManagerPulse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageHapticsManagerPulse& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageHapticsManagerPulse& from) { - CUserMessageHapticsManagerPulse::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageHapticsManagerPulse* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageHapticsManagerPulse"; - } - protected: - explicit CUserMessageHapticsManagerPulse(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kHandIdFieldNumber = 1, - kEffectAmplitudeFieldNumber = 2, - kEffectFrequencyFieldNumber = 3, - kEffectDurationFieldNumber = 4, - }; - // optional int32 hand_id = 1; - bool has_hand_id() const; - private: - bool _internal_has_hand_id() const; - public: - void clear_hand_id(); - int32_t hand_id() const; - void set_hand_id(int32_t value); - private: - int32_t _internal_hand_id() const; - void _internal_set_hand_id(int32_t value); - public: - - // optional float effect_amplitude = 2; - bool has_effect_amplitude() const; - private: - bool _internal_has_effect_amplitude() const; - public: - void clear_effect_amplitude(); - float effect_amplitude() const; - void set_effect_amplitude(float value); - private: - float _internal_effect_amplitude() const; - void _internal_set_effect_amplitude(float value); - public: - - // optional float effect_frequency = 3; - bool has_effect_frequency() const; - private: - bool _internal_has_effect_frequency() const; - public: - void clear_effect_frequency(); - float effect_frequency() const; - void set_effect_frequency(float value); - private: - float _internal_effect_frequency() const; - void _internal_set_effect_frequency(float value); - public: - - // optional float effect_duration = 4; - bool has_effect_duration() const; - private: - bool _internal_has_effect_duration() const; - public: - void clear_effect_duration(); - float effect_duration() const; - void set_effect_duration(float value); - private: - float _internal_effect_duration() const; - void _internal_set_effect_duration(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageHapticsManagerPulse) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t hand_id_; - float effect_amplitude_; - float effect_frequency_; - float effect_duration_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageHapticsManagerEffect : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageHapticsManagerEffect) */ { - public: - inline CUserMessageHapticsManagerEffect() : CUserMessageHapticsManagerEffect(nullptr) {} - ~CUserMessageHapticsManagerEffect() override; - explicit PROTOBUF_CONSTEXPR CUserMessageHapticsManagerEffect(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageHapticsManagerEffect(const CUserMessageHapticsManagerEffect& from); - CUserMessageHapticsManagerEffect(CUserMessageHapticsManagerEffect&& from) noexcept - : CUserMessageHapticsManagerEffect() { - *this = ::std::move(from); - } - - inline CUserMessageHapticsManagerEffect& operator=(const CUserMessageHapticsManagerEffect& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageHapticsManagerEffect& operator=(CUserMessageHapticsManagerEffect&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageHapticsManagerEffect& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageHapticsManagerEffect* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageHapticsManagerEffect_default_instance_); - } - static constexpr int kIndexInFileMessages = - 84; - - friend void swap(CUserMessageHapticsManagerEffect& a, CUserMessageHapticsManagerEffect& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageHapticsManagerEffect* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageHapticsManagerEffect* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageHapticsManagerEffect* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageHapticsManagerEffect& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageHapticsManagerEffect& from) { - CUserMessageHapticsManagerEffect::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageHapticsManagerEffect* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageHapticsManagerEffect"; - } - protected: - explicit CUserMessageHapticsManagerEffect(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kHandIdFieldNumber = 1, - kEffectNameHashCodeFieldNumber = 2, - kEffectScaleFieldNumber = 3, - }; - // optional int32 hand_id = 1; - bool has_hand_id() const; - private: - bool _internal_has_hand_id() const; - public: - void clear_hand_id(); - int32_t hand_id() const; - void set_hand_id(int32_t value); - private: - int32_t _internal_hand_id() const; - void _internal_set_hand_id(int32_t value); - public: - - // optional uint32 effect_name_hash_code = 2; - bool has_effect_name_hash_code() const; - private: - bool _internal_has_effect_name_hash_code() const; - public: - void clear_effect_name_hash_code(); - uint32_t effect_name_hash_code() const; - void set_effect_name_hash_code(uint32_t value); - private: - uint32_t _internal_effect_name_hash_code() const; - void _internal_set_effect_name_hash_code(uint32_t value); - public: - - // optional float effect_scale = 3; - bool has_effect_scale() const; - private: - bool _internal_has_effect_scale() const; - public: - void clear_effect_scale(); - float effect_scale() const; - void set_effect_scale(float value); - private: - float _internal_effect_scale() const; - void _internal_set_effect_scale(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageHapticsManagerEffect) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t hand_id_; - uint32_t effect_name_hash_code_; - float effect_scale_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageAnimStateGraphState : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageAnimStateGraphState) */ { - public: - inline CUserMessageAnimStateGraphState() : CUserMessageAnimStateGraphState(nullptr) {} - ~CUserMessageAnimStateGraphState() override; - explicit PROTOBUF_CONSTEXPR CUserMessageAnimStateGraphState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageAnimStateGraphState(const CUserMessageAnimStateGraphState& from); - CUserMessageAnimStateGraphState(CUserMessageAnimStateGraphState&& from) noexcept - : CUserMessageAnimStateGraphState() { - *this = ::std::move(from); - } - - inline CUserMessageAnimStateGraphState& operator=(const CUserMessageAnimStateGraphState& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageAnimStateGraphState& operator=(CUserMessageAnimStateGraphState&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageAnimStateGraphState& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageAnimStateGraphState* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageAnimStateGraphState_default_instance_); - } - static constexpr int kIndexInFileMessages = - 85; - - friend void swap(CUserMessageAnimStateGraphState& a, CUserMessageAnimStateGraphState& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageAnimStateGraphState* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageAnimStateGraphState* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageAnimStateGraphState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageAnimStateGraphState& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageAnimStateGraphState& from) { - CUserMessageAnimStateGraphState::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageAnimStateGraphState* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageAnimStateGraphState"; - } - protected: - explicit CUserMessageAnimStateGraphState(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDataFieldNumber = 2, - kEntityIndexFieldNumber = 1, - }; - // optional bytes data = 2; - bool has_data() const; - private: - bool _internal_has_data() const; - public: - void clear_data(); - const std::string& data() const; - template - void set_data(ArgT0&& arg0, ArgT... args); - std::string* mutable_data(); - PROTOBUF_NODISCARD std::string* release_data(); - void set_allocated_data(std::string* data); - private: - const std::string& _internal_data() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); - std::string* _internal_mutable_data(); - public: - - // optional int32 entity_index = 1; - bool has_entity_index() const; - private: - bool _internal_has_entity_index() const; - public: - void clear_entity_index(); - int32_t entity_index() const; - void set_entity_index(int32_t value); - private: - int32_t _internal_entity_index() const; - void _internal_set_entity_index(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageAnimStateGraphState) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; - int32_t entity_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageUpdateCssClasses : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageUpdateCssClasses) */ { - public: - inline CUserMessageUpdateCssClasses() : CUserMessageUpdateCssClasses(nullptr) {} - ~CUserMessageUpdateCssClasses() override; - explicit PROTOBUF_CONSTEXPR CUserMessageUpdateCssClasses(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageUpdateCssClasses(const CUserMessageUpdateCssClasses& from); - CUserMessageUpdateCssClasses(CUserMessageUpdateCssClasses&& from) noexcept - : CUserMessageUpdateCssClasses() { - *this = ::std::move(from); - } - - inline CUserMessageUpdateCssClasses& operator=(const CUserMessageUpdateCssClasses& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageUpdateCssClasses& operator=(CUserMessageUpdateCssClasses&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageUpdateCssClasses& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageUpdateCssClasses* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageUpdateCssClasses_default_instance_); - } - static constexpr int kIndexInFileMessages = - 86; - - friend void swap(CUserMessageUpdateCssClasses& a, CUserMessageUpdateCssClasses& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageUpdateCssClasses* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageUpdateCssClasses* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageUpdateCssClasses* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageUpdateCssClasses& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageUpdateCssClasses& from) { - CUserMessageUpdateCssClasses::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageUpdateCssClasses* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageUpdateCssClasses"; - } - protected: - explicit CUserMessageUpdateCssClasses(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kCssClassesFieldNumber = 2, - kTargetWorldPanelFieldNumber = 1, - kIsAddFieldNumber = 3, - }; - // optional string css_classes = 2; - bool has_css_classes() const; - private: - bool _internal_has_css_classes() const; - public: - void clear_css_classes(); - const std::string& css_classes() const; - template - void set_css_classes(ArgT0&& arg0, ArgT... args); - std::string* mutable_css_classes(); - PROTOBUF_NODISCARD std::string* release_css_classes(); - void set_allocated_css_classes(std::string* css_classes); - private: - const std::string& _internal_css_classes() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_css_classes(const std::string& value); - std::string* _internal_mutable_css_classes(); - public: - - // optional int32 target_world_panel = 1; - bool has_target_world_panel() const; - private: - bool _internal_has_target_world_panel() const; - public: - void clear_target_world_panel(); - int32_t target_world_panel() const; - void set_target_world_panel(int32_t value); - private: - int32_t _internal_target_world_panel() const; - void _internal_set_target_world_panel(int32_t value); - public: - - // optional bool is_add = 3; - bool has_is_add() const; - private: - bool _internal_has_is_add() const; - public: - void clear_is_add(); - bool is_add() const; - void set_is_add(bool value); - private: - bool _internal_is_add() const; - void _internal_set_is_add(bool value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageUpdateCssClasses) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr css_classes_; - int32_t target_world_panel_; - bool is_add_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageServerFrameTime : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageServerFrameTime) */ { - public: - inline CUserMessageServerFrameTime() : CUserMessageServerFrameTime(nullptr) {} - ~CUserMessageServerFrameTime() override; - explicit PROTOBUF_CONSTEXPR CUserMessageServerFrameTime(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageServerFrameTime(const CUserMessageServerFrameTime& from); - CUserMessageServerFrameTime(CUserMessageServerFrameTime&& from) noexcept - : CUserMessageServerFrameTime() { - *this = ::std::move(from); - } - - inline CUserMessageServerFrameTime& operator=(const CUserMessageServerFrameTime& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageServerFrameTime& operator=(CUserMessageServerFrameTime&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageServerFrameTime& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageServerFrameTime* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageServerFrameTime_default_instance_); - } - static constexpr int kIndexInFileMessages = - 87; - - friend void swap(CUserMessageServerFrameTime& a, CUserMessageServerFrameTime& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageServerFrameTime* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageServerFrameTime* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageServerFrameTime* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageServerFrameTime& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageServerFrameTime& from) { - CUserMessageServerFrameTime::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageServerFrameTime* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageServerFrameTime"; - } - protected: - explicit CUserMessageServerFrameTime(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kFrameTimeFieldNumber = 1, - }; - // optional float frame_time = 1; - bool has_frame_time() const; - private: - bool _internal_has_frame_time() const; - public: - void clear_frame_time(); - float frame_time() const; - void set_frame_time(float value); - private: - float _internal_frame_time() const; - void _internal_set_frame_time(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageServerFrameTime) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float frame_time_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageLagCompensationError : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageLagCompensationError) */ { - public: - inline CUserMessageLagCompensationError() : CUserMessageLagCompensationError(nullptr) {} - ~CUserMessageLagCompensationError() override; - explicit PROTOBUF_CONSTEXPR CUserMessageLagCompensationError(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageLagCompensationError(const CUserMessageLagCompensationError& from); - CUserMessageLagCompensationError(CUserMessageLagCompensationError&& from) noexcept - : CUserMessageLagCompensationError() { - *this = ::std::move(from); - } - - inline CUserMessageLagCompensationError& operator=(const CUserMessageLagCompensationError& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageLagCompensationError& operator=(CUserMessageLagCompensationError&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageLagCompensationError& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageLagCompensationError* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageLagCompensationError_default_instance_); - } - static constexpr int kIndexInFileMessages = - 88; - - friend void swap(CUserMessageLagCompensationError& a, CUserMessageLagCompensationError& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageLagCompensationError* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageLagCompensationError* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageLagCompensationError* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageLagCompensationError& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageLagCompensationError& from) { - CUserMessageLagCompensationError::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageLagCompensationError* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageLagCompensationError"; - } - protected: - explicit CUserMessageLagCompensationError(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDistanceFieldNumber = 1, - }; - // optional float distance = 1; - bool has_distance() const; - private: - bool _internal_has_distance() const; - public: - void clear_distance(); - float distance() const; - void set_distance(float value); - private: - float _internal_distance() const; - void _internal_set_distance(float value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageLagCompensationError) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - float distance_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageRequestDllStatus : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageRequestDllStatus) */ { - public: - inline CUserMessageRequestDllStatus() : CUserMessageRequestDllStatus(nullptr) {} - ~CUserMessageRequestDllStatus() override; - explicit PROTOBUF_CONSTEXPR CUserMessageRequestDllStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageRequestDllStatus(const CUserMessageRequestDllStatus& from); - CUserMessageRequestDllStatus(CUserMessageRequestDllStatus&& from) noexcept - : CUserMessageRequestDllStatus() { - *this = ::std::move(from); - } - - inline CUserMessageRequestDllStatus& operator=(const CUserMessageRequestDllStatus& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageRequestDllStatus& operator=(CUserMessageRequestDllStatus&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageRequestDllStatus& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageRequestDllStatus* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageRequestDllStatus_default_instance_); - } - static constexpr int kIndexInFileMessages = - 89; - - friend void swap(CUserMessageRequestDllStatus& a, CUserMessageRequestDllStatus& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageRequestDllStatus* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageRequestDllStatus* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageRequestDllStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageRequestDllStatus& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageRequestDllStatus& from) { - CUserMessageRequestDllStatus::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageRequestDllStatus* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageRequestDllStatus"; - } - protected: - explicit CUserMessageRequestDllStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDllActionFieldNumber = 1, - kFullReportFieldNumber = 2, - }; - // optional string dll_action = 1; - bool has_dll_action() const; - private: - bool _internal_has_dll_action() const; - public: - void clear_dll_action(); - const std::string& dll_action() const; - template - void set_dll_action(ArgT0&& arg0, ArgT... args); - std::string* mutable_dll_action(); - PROTOBUF_NODISCARD std::string* release_dll_action(); - void set_allocated_dll_action(std::string* dll_action); - private: - const std::string& _internal_dll_action() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_dll_action(const std::string& value); - std::string* _internal_mutable_dll_action(); - public: - - // optional bool full_report = 2; - bool has_full_report() const; - private: - bool _internal_has_full_report() const; - public: - void clear_full_report(); - bool full_report() const; - void set_full_report(bool value); - private: - bool _internal_full_report() const; - void _internal_set_full_report(bool value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageRequestDllStatus) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dll_action_; - bool full_report_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageRequestUtilAction : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageRequestUtilAction) */ { - public: - inline CUserMessageRequestUtilAction() : CUserMessageRequestUtilAction(nullptr) {} - ~CUserMessageRequestUtilAction() override; - explicit PROTOBUF_CONSTEXPR CUserMessageRequestUtilAction(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageRequestUtilAction(const CUserMessageRequestUtilAction& from); - CUserMessageRequestUtilAction(CUserMessageRequestUtilAction&& from) noexcept - : CUserMessageRequestUtilAction() { - *this = ::std::move(from); - } - - inline CUserMessageRequestUtilAction& operator=(const CUserMessageRequestUtilAction& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageRequestUtilAction& operator=(CUserMessageRequestUtilAction&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageRequestUtilAction& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageRequestUtilAction* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageRequestUtilAction_default_instance_); - } - static constexpr int kIndexInFileMessages = - 90; - - friend void swap(CUserMessageRequestUtilAction& a, CUserMessageRequestUtilAction& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageRequestUtilAction* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageRequestUtilAction* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageRequestUtilAction* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageRequestUtilAction& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageRequestUtilAction& from) { - CUserMessageRequestUtilAction::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageRequestUtilAction* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageRequestUtilAction"; - } - protected: - explicit CUserMessageRequestUtilAction(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kUtil1FieldNumber = 2, - kUtil2FieldNumber = 3, - kUtil3FieldNumber = 4, - kUtil4FieldNumber = 5, - kUtil5FieldNumber = 6, - }; - // optional int32 util1 = 2; - bool has_util1() const; - private: - bool _internal_has_util1() const; - public: - void clear_util1(); - int32_t util1() const; - void set_util1(int32_t value); - private: - int32_t _internal_util1() const; - void _internal_set_util1(int32_t value); - public: - - // optional int32 util2 = 3; - bool has_util2() const; - private: - bool _internal_has_util2() const; - public: - void clear_util2(); - int32_t util2() const; - void set_util2(int32_t value); - private: - int32_t _internal_util2() const; - void _internal_set_util2(int32_t value); - public: - - // optional int32 util3 = 4; - bool has_util3() const; - private: - bool _internal_has_util3() const; - public: - void clear_util3(); - int32_t util3() const; - void set_util3(int32_t value); - private: - int32_t _internal_util3() const; - void _internal_set_util3(int32_t value); - public: - - // optional int32 util4 = 5; - bool has_util4() const; - private: - bool _internal_has_util4() const; - public: - void clear_util4(); - int32_t util4() const; - void set_util4(int32_t value); - private: - int32_t _internal_util4() const; - void _internal_set_util4(int32_t value); - public: - - // optional int32 util5 = 6; - bool has_util5() const; - private: - bool _internal_has_util5() const; - public: - void clear_util5(); - int32_t util5() const; - void set_util5(int32_t value); - private: - int32_t _internal_util5() const; - void _internal_set_util5(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageRequestUtilAction) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t util1_; - int32_t util2_; - int32_t util3_; - int32_t util4_; - int32_t util5_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessage_UtilMsg_Response_ItemDetail : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_UtilMsg_Response.ItemDetail) */ { - public: - inline CUserMessage_UtilMsg_Response_ItemDetail() : CUserMessage_UtilMsg_Response_ItemDetail(nullptr) {} - ~CUserMessage_UtilMsg_Response_ItemDetail() override; - explicit PROTOBUF_CONSTEXPR CUserMessage_UtilMsg_Response_ItemDetail(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessage_UtilMsg_Response_ItemDetail(const CUserMessage_UtilMsg_Response_ItemDetail& from); - CUserMessage_UtilMsg_Response_ItemDetail(CUserMessage_UtilMsg_Response_ItemDetail&& from) noexcept - : CUserMessage_UtilMsg_Response_ItemDetail() { - *this = ::std::move(from); - } - - inline CUserMessage_UtilMsg_Response_ItemDetail& operator=(const CUserMessage_UtilMsg_Response_ItemDetail& from) { - CopyFrom(from); - return *this; - } - inline CUserMessage_UtilMsg_Response_ItemDetail& operator=(CUserMessage_UtilMsg_Response_ItemDetail&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessage_UtilMsg_Response_ItemDetail& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessage_UtilMsg_Response_ItemDetail* internal_default_instance() { - return reinterpret_cast( - &_CUserMessage_UtilMsg_Response_ItemDetail_default_instance_); - } - static constexpr int kIndexInFileMessages = - 91; - - friend void swap(CUserMessage_UtilMsg_Response_ItemDetail& a, CUserMessage_UtilMsg_Response_ItemDetail& b) { - a.Swap(&b); - } - inline void Swap(CUserMessage_UtilMsg_Response_ItemDetail* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessage_UtilMsg_Response_ItemDetail* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessage_UtilMsg_Response_ItemDetail* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessage_UtilMsg_Response_ItemDetail& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessage_UtilMsg_Response_ItemDetail& from) { - CUserMessage_UtilMsg_Response_ItemDetail::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessage_UtilMsg_Response_ItemDetail* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessage_UtilMsg_Response.ItemDetail"; - } - protected: - explicit CUserMessage_UtilMsg_Response_ItemDetail(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 4, - kIndexFieldNumber = 1, - kHashFieldNumber = 2, - kCrcFieldNumber = 3, - }; - // optional string name = 4; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional int32 index = 1; - bool has_index() const; - private: - bool _internal_has_index() const; - public: - void clear_index(); - int32_t index() const; - void set_index(int32_t value); - private: - int32_t _internal_index() const; - void _internal_set_index(int32_t value); - public: - - // optional int32 hash = 2; - bool has_hash() const; - private: - bool _internal_has_hash() const; - public: - void clear_hash(); - int32_t hash() const; - void set_hash(int32_t value); - private: - int32_t _internal_hash() const; - void _internal_set_hash(int32_t value); - public: - - // optional int32 crc = 3; - bool has_crc() const; - private: - bool _internal_has_crc() const; - public: - void clear_crc(); - int32_t crc() const; - void set_crc(int32_t value); - private: - int32_t _internal_crc() const; - void _internal_set_crc(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessage_UtilMsg_Response.ItemDetail) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - int32_t index_; - int32_t hash_; - int32_t crc_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessage_UtilMsg_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_UtilMsg_Response) */ { - public: - inline CUserMessage_UtilMsg_Response() : CUserMessage_UtilMsg_Response(nullptr) {} - ~CUserMessage_UtilMsg_Response() override; - explicit PROTOBUF_CONSTEXPR CUserMessage_UtilMsg_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessage_UtilMsg_Response(const CUserMessage_UtilMsg_Response& from); - CUserMessage_UtilMsg_Response(CUserMessage_UtilMsg_Response&& from) noexcept - : CUserMessage_UtilMsg_Response() { - *this = ::std::move(from); - } - - inline CUserMessage_UtilMsg_Response& operator=(const CUserMessage_UtilMsg_Response& from) { - CopyFrom(from); - return *this; - } - inline CUserMessage_UtilMsg_Response& operator=(CUserMessage_UtilMsg_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessage_UtilMsg_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessage_UtilMsg_Response* internal_default_instance() { - return reinterpret_cast( - &_CUserMessage_UtilMsg_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 92; - - friend void swap(CUserMessage_UtilMsg_Response& a, CUserMessage_UtilMsg_Response& b) { - a.Swap(&b); - } - inline void Swap(CUserMessage_UtilMsg_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessage_UtilMsg_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessage_UtilMsg_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessage_UtilMsg_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessage_UtilMsg_Response& from) { - CUserMessage_UtilMsg_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessage_UtilMsg_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessage_UtilMsg_Response"; - } - protected: - explicit CUserMessage_UtilMsg_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CUserMessage_UtilMsg_Response_ItemDetail ItemDetail; - - // accessors ------------------------------------------------------- - - enum : int { - kCrcPartFieldNumber = 5, - kCrcPart2FieldNumber = 6, - kItemdetailsFieldNumber = 9, - kCrcFieldNumber = 1, - kItemCountFieldNumber = 2, - kCrc2FieldNumber = 3, - kItemCount2FieldNumber = 4, - kClientTimestampFieldNumber = 7, - kPlatformFieldNumber = 8, - kItemgroupFieldNumber = 10, - kTotalCountFieldNumber = 11, - kTotalCount2FieldNumber = 12, - }; - // repeated int32 crc_part = 5; - int crc_part_size() const; - private: - int _internal_crc_part_size() const; - public: - void clear_crc_part(); - private: - int32_t _internal_crc_part(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_crc_part() const; - void _internal_add_crc_part(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_crc_part(); - public: - int32_t crc_part(int index) const; - void set_crc_part(int index, int32_t value); - void add_crc_part(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - crc_part() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_crc_part(); - - // repeated int32 crc_part2 = 6; - int crc_part2_size() const; - private: - int _internal_crc_part2_size() const; - public: - void clear_crc_part2(); - private: - int32_t _internal_crc_part2(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_crc_part2() const; - void _internal_add_crc_part2(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_crc_part2(); - public: - int32_t crc_part2(int index) const; - void set_crc_part2(int index, int32_t value); - void add_crc_part2(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - crc_part2() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_crc_part2(); - - // repeated .CUserMessage_UtilMsg_Response.ItemDetail itemdetails = 9; - int itemdetails_size() const; - private: - int _internal_itemdetails_size() const; - public: - void clear_itemdetails(); - ::CUserMessage_UtilMsg_Response_ItemDetail* mutable_itemdetails(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_UtilMsg_Response_ItemDetail >* - mutable_itemdetails(); - private: - const ::CUserMessage_UtilMsg_Response_ItemDetail& _internal_itemdetails(int index) const; - ::CUserMessage_UtilMsg_Response_ItemDetail* _internal_add_itemdetails(); - public: - const ::CUserMessage_UtilMsg_Response_ItemDetail& itemdetails(int index) const; - ::CUserMessage_UtilMsg_Response_ItemDetail* add_itemdetails(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_UtilMsg_Response_ItemDetail >& - itemdetails() const; - - // optional fixed32 crc = 1; - bool has_crc() const; - private: - bool _internal_has_crc() const; - public: - void clear_crc(); - uint32_t crc() const; - void set_crc(uint32_t value); - private: - uint32_t _internal_crc() const; - void _internal_set_crc(uint32_t value); - public: - - // optional int32 item_count = 2; - bool has_item_count() const; - private: - bool _internal_has_item_count() const; - public: - void clear_item_count(); - int32_t item_count() const; - void set_item_count(int32_t value); - private: - int32_t _internal_item_count() const; - void _internal_set_item_count(int32_t value); - public: - - // optional fixed32 crc2 = 3; - bool has_crc2() const; - private: - bool _internal_has_crc2() const; - public: - void clear_crc2(); - uint32_t crc2() const; - void set_crc2(uint32_t value); - private: - uint32_t _internal_crc2() const; - void _internal_set_crc2(uint32_t value); - public: - - // optional int32 item_count2 = 4; - bool has_item_count2() const; - private: - bool _internal_has_item_count2() const; - public: - void clear_item_count2(); - int32_t item_count2() const; - void set_item_count2(int32_t value); - private: - int32_t _internal_item_count2() const; - void _internal_set_item_count2(int32_t value); - public: - - // optional int32 client_timestamp = 7; - bool has_client_timestamp() const; - private: - bool _internal_has_client_timestamp() const; - public: - void clear_client_timestamp(); - int32_t client_timestamp() const; - void set_client_timestamp(int32_t value); - private: - int32_t _internal_client_timestamp() const; - void _internal_set_client_timestamp(int32_t value); - public: - - // optional int32 platform = 8; - bool has_platform() const; - private: - bool _internal_has_platform() const; - public: - void clear_platform(); - int32_t platform() const; - void set_platform(int32_t value); - private: - int32_t _internal_platform() const; - void _internal_set_platform(int32_t value); - public: - - // optional int32 itemgroup = 10; - bool has_itemgroup() const; - private: - bool _internal_has_itemgroup() const; - public: - void clear_itemgroup(); - int32_t itemgroup() const; - void set_itemgroup(int32_t value); - private: - int32_t _internal_itemgroup() const; - void _internal_set_itemgroup(int32_t value); - public: - - // optional int32 total_count = 11; - bool has_total_count() const; - private: - bool _internal_has_total_count() const; - public: - void clear_total_count(); - int32_t total_count() const; - void set_total_count(int32_t value); - private: - int32_t _internal_total_count() const; - void _internal_set_total_count(int32_t value); - public: - - // optional int32 total_count2 = 12; - bool has_total_count2() const; - private: - bool _internal_has_total_count2() const; - public: - void clear_total_count2(); - int32_t total_count2() const; - void set_total_count2(int32_t value); - private: - int32_t _internal_total_count2() const; - void _internal_set_total_count2(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessage_UtilMsg_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > crc_part_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > crc_part2_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_UtilMsg_Response_ItemDetail > itemdetails_; - uint32_t crc_; - int32_t item_count_; - uint32_t crc2_; - int32_t item_count2_; - int32_t client_timestamp_; - int32_t platform_; - int32_t itemgroup_; - int32_t total_count_; - int32_t total_count2_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessage_DllStatus_CVDiagnostic : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_DllStatus.CVDiagnostic) */ { - public: - inline CUserMessage_DllStatus_CVDiagnostic() : CUserMessage_DllStatus_CVDiagnostic(nullptr) {} - ~CUserMessage_DllStatus_CVDiagnostic() override; - explicit PROTOBUF_CONSTEXPR CUserMessage_DllStatus_CVDiagnostic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessage_DllStatus_CVDiagnostic(const CUserMessage_DllStatus_CVDiagnostic& from); - CUserMessage_DllStatus_CVDiagnostic(CUserMessage_DllStatus_CVDiagnostic&& from) noexcept - : CUserMessage_DllStatus_CVDiagnostic() { - *this = ::std::move(from); - } - - inline CUserMessage_DllStatus_CVDiagnostic& operator=(const CUserMessage_DllStatus_CVDiagnostic& from) { - CopyFrom(from); - return *this; - } - inline CUserMessage_DllStatus_CVDiagnostic& operator=(CUserMessage_DllStatus_CVDiagnostic&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessage_DllStatus_CVDiagnostic& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessage_DllStatus_CVDiagnostic* internal_default_instance() { - return reinterpret_cast( - &_CUserMessage_DllStatus_CVDiagnostic_default_instance_); - } - static constexpr int kIndexInFileMessages = - 93; - - friend void swap(CUserMessage_DllStatus_CVDiagnostic& a, CUserMessage_DllStatus_CVDiagnostic& b) { - a.Swap(&b); - } - inline void Swap(CUserMessage_DllStatus_CVDiagnostic* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessage_DllStatus_CVDiagnostic* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessage_DllStatus_CVDiagnostic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessage_DllStatus_CVDiagnostic& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessage_DllStatus_CVDiagnostic& from) { - CUserMessage_DllStatus_CVDiagnostic::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessage_DllStatus_CVDiagnostic* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessage_DllStatus.CVDiagnostic"; - } - protected: - explicit CUserMessage_DllStatus_CVDiagnostic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kStringValueFieldNumber = 4, - kIdFieldNumber = 1, - kExtendedFieldNumber = 2, - kValueFieldNumber = 3, - }; - // optional string string_value = 4; - bool has_string_value() const; - private: - bool _internal_has_string_value() const; - public: - void clear_string_value(); - const std::string& string_value() const; - template - void set_string_value(ArgT0&& arg0, ArgT... args); - std::string* mutable_string_value(); - PROTOBUF_NODISCARD std::string* release_string_value(); - void set_allocated_string_value(std::string* string_value); - private: - const std::string& _internal_string_value() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value); - std::string* _internal_mutable_string_value(); - public: - - // optional uint32 id = 1; - bool has_id() const; - private: - bool _internal_has_id() const; - public: - void clear_id(); - uint32_t id() const; - void set_id(uint32_t value); - private: - uint32_t _internal_id() const; - void _internal_set_id(uint32_t value); - public: - - // optional uint32 extended = 2; - bool has_extended() const; - private: - bool _internal_has_extended() const; - public: - void clear_extended(); - uint32_t extended() const; - void set_extended(uint32_t value); - private: - uint32_t _internal_extended() const; - void _internal_set_extended(uint32_t value); - public: - - // optional uint64 value = 3; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - uint64_t value() const; - void set_value(uint64_t value); - private: - uint64_t _internal_value() const; - void _internal_set_value(uint64_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessage_DllStatus.CVDiagnostic) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_; - uint32_t id_; - uint32_t extended_; - uint64_t value_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessage_DllStatus_CModule : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_DllStatus.CModule) */ { - public: - inline CUserMessage_DllStatus_CModule() : CUserMessage_DllStatus_CModule(nullptr) {} - ~CUserMessage_DllStatus_CModule() override; - explicit PROTOBUF_CONSTEXPR CUserMessage_DllStatus_CModule(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessage_DllStatus_CModule(const CUserMessage_DllStatus_CModule& from); - CUserMessage_DllStatus_CModule(CUserMessage_DllStatus_CModule&& from) noexcept - : CUserMessage_DllStatus_CModule() { - *this = ::std::move(from); - } - - inline CUserMessage_DllStatus_CModule& operator=(const CUserMessage_DllStatus_CModule& from) { - CopyFrom(from); - return *this; - } - inline CUserMessage_DllStatus_CModule& operator=(CUserMessage_DllStatus_CModule&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessage_DllStatus_CModule& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessage_DllStatus_CModule* internal_default_instance() { - return reinterpret_cast( - &_CUserMessage_DllStatus_CModule_default_instance_); - } - static constexpr int kIndexInFileMessages = - 94; - - friend void swap(CUserMessage_DllStatus_CModule& a, CUserMessage_DllStatus_CModule& b) { - a.Swap(&b); - } - inline void Swap(CUserMessage_DllStatus_CModule* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessage_DllStatus_CModule* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessage_DllStatus_CModule* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessage_DllStatus_CModule& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessage_DllStatus_CModule& from) { - CUserMessage_DllStatus_CModule::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessage_DllStatus_CModule* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessage_DllStatus.CModule"; - } - protected: - explicit CUserMessage_DllStatus_CModule(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 2, - kBaseAddrFieldNumber = 1, - kSizeFieldNumber = 3, - kTimestampFieldNumber = 4, - }; - // optional string name = 2; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional uint64 base_addr = 1; - bool has_base_addr() const; - private: - bool _internal_has_base_addr() const; - public: - void clear_base_addr(); - uint64_t base_addr() const; - void set_base_addr(uint64_t value); - private: - uint64_t _internal_base_addr() const; - void _internal_set_base_addr(uint64_t value); - public: - - // optional uint32 size = 3; - bool has_size() const; - private: - bool _internal_has_size() const; - public: - void clear_size(); - uint32_t size() const; - void set_size(uint32_t value); - private: - uint32_t _internal_size() const; - void _internal_set_size(uint32_t value); - public: - - // optional uint32 timestamp = 4; - bool has_timestamp() const; - private: - bool _internal_has_timestamp() const; - public: - void clear_timestamp(); - uint32_t timestamp() const; - void set_timestamp(uint32_t value); - private: - uint32_t _internal_timestamp() const; - void _internal_set_timestamp(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessage_DllStatus.CModule) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - uint64_t base_addr_; - uint32_t size_; - uint32_t timestamp_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessage_DllStatus : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_DllStatus) */ { - public: - inline CUserMessage_DllStatus() : CUserMessage_DllStatus(nullptr) {} - ~CUserMessage_DllStatus() override; - explicit PROTOBUF_CONSTEXPR CUserMessage_DllStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessage_DllStatus(const CUserMessage_DllStatus& from); - CUserMessage_DllStatus(CUserMessage_DllStatus&& from) noexcept - : CUserMessage_DllStatus() { - *this = ::std::move(from); - } - - inline CUserMessage_DllStatus& operator=(const CUserMessage_DllStatus& from) { - CopyFrom(from); - return *this; - } - inline CUserMessage_DllStatus& operator=(CUserMessage_DllStatus&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessage_DllStatus& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessage_DllStatus* internal_default_instance() { - return reinterpret_cast( - &_CUserMessage_DllStatus_default_instance_); - } - static constexpr int kIndexInFileMessages = - 95; - - friend void swap(CUserMessage_DllStatus& a, CUserMessage_DllStatus& b) { - a.Swap(&b); - } - inline void Swap(CUserMessage_DllStatus* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessage_DllStatus* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessage_DllStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessage_DllStatus& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessage_DllStatus& from) { - CUserMessage_DllStatus::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessage_DllStatus* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessage_DllStatus"; - } - protected: - explicit CUserMessage_DllStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CUserMessage_DllStatus_CVDiagnostic CVDiagnostic; - typedef CUserMessage_DllStatus_CModule CModule; - - // accessors ------------------------------------------------------- - - enum : int { - kDiagnosticsFieldNumber = 7, - kModulesFieldNumber = 8, - kFileReportFieldNumber = 1, - kCommandLineFieldNumber = 2, - kTotalFilesFieldNumber = 3, - kProcessIdFieldNumber = 4, - kClientTimeFieldNumber = 6, - kOsversionFieldNumber = 5, - }; - // repeated .CUserMessage_DllStatus.CVDiagnostic diagnostics = 7; - int diagnostics_size() const; - private: - int _internal_diagnostics_size() const; - public: - void clear_diagnostics(); - ::CUserMessage_DllStatus_CVDiagnostic* mutable_diagnostics(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CVDiagnostic >* - mutable_diagnostics(); - private: - const ::CUserMessage_DllStatus_CVDiagnostic& _internal_diagnostics(int index) const; - ::CUserMessage_DllStatus_CVDiagnostic* _internal_add_diagnostics(); - public: - const ::CUserMessage_DllStatus_CVDiagnostic& diagnostics(int index) const; - ::CUserMessage_DllStatus_CVDiagnostic* add_diagnostics(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CVDiagnostic >& - diagnostics() const; - - // repeated .CUserMessage_DllStatus.CModule modules = 8; - int modules_size() const; - private: - int _internal_modules_size() const; - public: - void clear_modules(); - ::CUserMessage_DllStatus_CModule* mutable_modules(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CModule >* - mutable_modules(); - private: - const ::CUserMessage_DllStatus_CModule& _internal_modules(int index) const; - ::CUserMessage_DllStatus_CModule* _internal_add_modules(); - public: - const ::CUserMessage_DllStatus_CModule& modules(int index) const; - ::CUserMessage_DllStatus_CModule* add_modules(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CModule >& - modules() const; - - // optional string file_report = 1; - bool has_file_report() const; - private: - bool _internal_has_file_report() const; - public: - void clear_file_report(); - const std::string& file_report() const; - template - void set_file_report(ArgT0&& arg0, ArgT... args); - std::string* mutable_file_report(); - PROTOBUF_NODISCARD std::string* release_file_report(); - void set_allocated_file_report(std::string* file_report); - private: - const std::string& _internal_file_report() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_report(const std::string& value); - std::string* _internal_mutable_file_report(); - public: - - // optional string command_line = 2; - bool has_command_line() const; - private: - bool _internal_has_command_line() const; - public: - void clear_command_line(); - const std::string& command_line() const; - template - void set_command_line(ArgT0&& arg0, ArgT... args); - std::string* mutable_command_line(); - PROTOBUF_NODISCARD std::string* release_command_line(); - void set_allocated_command_line(std::string* command_line); - private: - const std::string& _internal_command_line() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_command_line(const std::string& value); - std::string* _internal_mutable_command_line(); - public: - - // optional uint32 total_files = 3; - bool has_total_files() const; - private: - bool _internal_has_total_files() const; - public: - void clear_total_files(); - uint32_t total_files() const; - void set_total_files(uint32_t value); - private: - uint32_t _internal_total_files() const; - void _internal_set_total_files(uint32_t value); - public: - - // optional uint32 process_id = 4; - bool has_process_id() const; - private: - bool _internal_has_process_id() const; - public: - void clear_process_id(); - uint32_t process_id() const; - void set_process_id(uint32_t value); - private: - uint32_t _internal_process_id() const; - void _internal_set_process_id(uint32_t value); - public: - - // optional uint64 client_time = 6; - bool has_client_time() const; - private: - bool _internal_has_client_time() const; - public: - void clear_client_time(); - uint64_t client_time() const; - void set_client_time(uint64_t value); - private: - uint64_t _internal_client_time() const; - void _internal_set_client_time(uint64_t value); - public: - - // optional int32 osversion = 5; - bool has_osversion() const; - private: - bool _internal_has_osversion() const; - public: - void clear_osversion(); - int32_t osversion() const; - void set_osversion(int32_t value); - private: - int32_t _internal_osversion() const; - void _internal_set_osversion(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessage_DllStatus) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CVDiagnostic > diagnostics_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CModule > modules_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_report_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_line_; - uint32_t total_files_; - uint32_t process_id_; - uint64_t client_time_; - int32_t osversion_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageRequestInventory : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageRequestInventory) */ { - public: - inline CUserMessageRequestInventory() : CUserMessageRequestInventory(nullptr) {} - ~CUserMessageRequestInventory() override; - explicit PROTOBUF_CONSTEXPR CUserMessageRequestInventory(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageRequestInventory(const CUserMessageRequestInventory& from); - CUserMessageRequestInventory(CUserMessageRequestInventory&& from) noexcept - : CUserMessageRequestInventory() { - *this = ::std::move(from); - } - - inline CUserMessageRequestInventory& operator=(const CUserMessageRequestInventory& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageRequestInventory& operator=(CUserMessageRequestInventory&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageRequestInventory& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageRequestInventory* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageRequestInventory_default_instance_); - } - static constexpr int kIndexInFileMessages = - 96; - - friend void swap(CUserMessageRequestInventory& a, CUserMessageRequestInventory& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageRequestInventory* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageRequestInventory* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageRequestInventory* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageRequestInventory& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageRequestInventory& from) { - CUserMessageRequestInventory::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageRequestInventory* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageRequestInventory"; - } - protected: - explicit CUserMessageRequestInventory(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kInventoryFieldNumber = 1, - kOffsetFieldNumber = 2, - kOptionsFieldNumber = 3, - }; - // optional int32 inventory = 1; - bool has_inventory() const; - private: - bool _internal_has_inventory() const; - public: - void clear_inventory(); - int32_t inventory() const; - void set_inventory(int32_t value); - private: - int32_t _internal_inventory() const; - void _internal_set_inventory(int32_t value); - public: - - // optional int32 offset = 2; - bool has_offset() const; - private: - bool _internal_has_offset() const; - public: - void clear_offset(); - int32_t offset() const; - void set_offset(int32_t value); - private: - int32_t _internal_offset() const; - void _internal_set_offset(int32_t value); - public: - - // optional int32 options = 3; - bool has_options() const; - private: - bool _internal_has_options() const; - public: - void clear_options(); - int32_t options() const; - void set_options(int32_t value); - private: - int32_t _internal_options() const; - void _internal_set_options(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageRequestInventory) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - int32_t inventory_; - int32_t offset_; - int32_t options_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessage_Inventory_Response_InventoryDetail : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_Inventory_Response.InventoryDetail) */ { - public: - inline CUserMessage_Inventory_Response_InventoryDetail() : CUserMessage_Inventory_Response_InventoryDetail(nullptr) {} - ~CUserMessage_Inventory_Response_InventoryDetail() override; - explicit PROTOBUF_CONSTEXPR CUserMessage_Inventory_Response_InventoryDetail(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessage_Inventory_Response_InventoryDetail(const CUserMessage_Inventory_Response_InventoryDetail& from); - CUserMessage_Inventory_Response_InventoryDetail(CUserMessage_Inventory_Response_InventoryDetail&& from) noexcept - : CUserMessage_Inventory_Response_InventoryDetail() { - *this = ::std::move(from); - } - - inline CUserMessage_Inventory_Response_InventoryDetail& operator=(const CUserMessage_Inventory_Response_InventoryDetail& from) { - CopyFrom(from); - return *this; - } - inline CUserMessage_Inventory_Response_InventoryDetail& operator=(CUserMessage_Inventory_Response_InventoryDetail&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessage_Inventory_Response_InventoryDetail& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessage_Inventory_Response_InventoryDetail* internal_default_instance() { - return reinterpret_cast( - &_CUserMessage_Inventory_Response_InventoryDetail_default_instance_); - } - static constexpr int kIndexInFileMessages = - 97; - - friend void swap(CUserMessage_Inventory_Response_InventoryDetail& a, CUserMessage_Inventory_Response_InventoryDetail& b) { - a.Swap(&b); - } - inline void Swap(CUserMessage_Inventory_Response_InventoryDetail* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessage_Inventory_Response_InventoryDetail* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessage_Inventory_Response_InventoryDetail* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessage_Inventory_Response_InventoryDetail& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessage_Inventory_Response_InventoryDetail& from) { - CUserMessage_Inventory_Response_InventoryDetail::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessage_Inventory_Response_InventoryDetail* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessage_Inventory_Response.InventoryDetail"; - } - protected: - explicit CUserMessage_Inventory_Response_InventoryDetail(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 6, - kBaseNameFieldNumber = 7, - kPrimaryFieldNumber = 2, - kOffsetFieldNumber = 3, - kFirstFieldNumber = 4, - kIndexFieldNumber = 1, - kBaseDetailFieldNumber = 8, - kBaseFieldNumber = 5, - kBaseTimeFieldNumber = 9, - kBaseHashFieldNumber = 10, - }; - // optional string name = 6; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional string base_name = 7; - bool has_base_name() const; - private: - bool _internal_has_base_name() const; - public: - void clear_base_name(); - const std::string& base_name() const; - template - void set_base_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_base_name(); - PROTOBUF_NODISCARD std::string* release_base_name(); - void set_allocated_base_name(std::string* base_name); - private: - const std::string& _internal_base_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_base_name(const std::string& value); - std::string* _internal_mutable_base_name(); - public: - - // optional int64 primary = 2; - bool has_primary() const; - private: - bool _internal_has_primary() const; - public: - void clear_primary(); - int64_t primary() const; - void set_primary(int64_t value); - private: - int64_t _internal_primary() const; - void _internal_set_primary(int64_t value); - public: - - // optional int64 offset = 3; - bool has_offset() const; - private: - bool _internal_has_offset() const; - public: - void clear_offset(); - int64_t offset() const; - void set_offset(int64_t value); - private: - int64_t _internal_offset() const; - void _internal_set_offset(int64_t value); - public: - - // optional int64 first = 4; - bool has_first() const; - private: - bool _internal_has_first() const; - public: - void clear_first(); - int64_t first() const; - void set_first(int64_t value); - private: - int64_t _internal_first() const; - void _internal_set_first(int64_t value); - public: - - // optional int32 index = 1; - bool has_index() const; - private: - bool _internal_has_index() const; - public: - void clear_index(); - int32_t index() const; - void set_index(int32_t value); - private: - int32_t _internal_index() const; - void _internal_set_index(int32_t value); - public: - - // optional int32 base_detail = 8; - bool has_base_detail() const; - private: - bool _internal_has_base_detail() const; - public: - void clear_base_detail(); - int32_t base_detail() const; - void set_base_detail(int32_t value); - private: - int32_t _internal_base_detail() const; - void _internal_set_base_detail(int32_t value); - public: - - // optional int64 base = 5; - bool has_base() const; - private: - bool _internal_has_base() const; - public: - void clear_base(); - int64_t base() const; - void set_base(int64_t value); - private: - int64_t _internal_base() const; - void _internal_set_base(int64_t value); - public: - - // optional int32 base_time = 9; - bool has_base_time() const; - private: - bool _internal_has_base_time() const; - public: - void clear_base_time(); - int32_t base_time() const; - void set_base_time(int32_t value); - private: - int32_t _internal_base_time() const; - void _internal_set_base_time(int32_t value); - public: - - // optional int32 base_hash = 10; - bool has_base_hash() const; - private: - bool _internal_has_base_hash() const; - public: - void clear_base_hash(); - int32_t base_hash() const; - void set_base_hash(int32_t value); - private: - int32_t _internal_base_hash() const; - void _internal_set_base_hash(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessage_Inventory_Response.InventoryDetail) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr base_name_; - int64_t primary_; - int64_t offset_; - int64_t first_; - int32_t index_; - int32_t base_detail_; - int64_t base_; - int32_t base_time_; - int32_t base_hash_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessage_Inventory_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_Inventory_Response) */ { - public: - inline CUserMessage_Inventory_Response() : CUserMessage_Inventory_Response(nullptr) {} - ~CUserMessage_Inventory_Response() override; - explicit PROTOBUF_CONSTEXPR CUserMessage_Inventory_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessage_Inventory_Response(const CUserMessage_Inventory_Response& from); - CUserMessage_Inventory_Response(CUserMessage_Inventory_Response&& from) noexcept - : CUserMessage_Inventory_Response() { - *this = ::std::move(from); - } - - inline CUserMessage_Inventory_Response& operator=(const CUserMessage_Inventory_Response& from) { - CopyFrom(from); - return *this; - } - inline CUserMessage_Inventory_Response& operator=(CUserMessage_Inventory_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessage_Inventory_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessage_Inventory_Response* internal_default_instance() { - return reinterpret_cast( - &_CUserMessage_Inventory_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 98; - - friend void swap(CUserMessage_Inventory_Response& a, CUserMessage_Inventory_Response& b) { - a.Swap(&b); - } - inline void Swap(CUserMessage_Inventory_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessage_Inventory_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessage_Inventory_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessage_Inventory_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessage_Inventory_Response& from) { - CUserMessage_Inventory_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessage_Inventory_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessage_Inventory_Response"; - } - protected: - explicit CUserMessage_Inventory_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CUserMessage_Inventory_Response_InventoryDetail InventoryDetail; - - // accessors ------------------------------------------------------- - - enum : int { - kInventoriesFieldNumber = 9, - kInventories2FieldNumber = 10, - kInventories3FieldNumber = 14, - kCrcFieldNumber = 1, - kItemCountFieldNumber = 2, - kOsversionFieldNumber = 5, - kPerfTimeFieldNumber = 6, - kClientTimestampFieldNumber = 7, - kPlatformFieldNumber = 8, - kInvTypeFieldNumber = 11, - kBuildVersionFieldNumber = 12, - kStartTimeFieldNumber = 15, - kInstanceFieldNumber = 13, - }; - // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories = 9; - int inventories_size() const; - private: - int _internal_inventories_size() const; - public: - void clear_inventories(); - ::CUserMessage_Inventory_Response_InventoryDetail* mutable_inventories(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >* - mutable_inventories(); - private: - const ::CUserMessage_Inventory_Response_InventoryDetail& _internal_inventories(int index) const; - ::CUserMessage_Inventory_Response_InventoryDetail* _internal_add_inventories(); - public: - const ::CUserMessage_Inventory_Response_InventoryDetail& inventories(int index) const; - ::CUserMessage_Inventory_Response_InventoryDetail* add_inventories(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >& - inventories() const; - - // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories2 = 10; - int inventories2_size() const; - private: - int _internal_inventories2_size() const; - public: - void clear_inventories2(); - ::CUserMessage_Inventory_Response_InventoryDetail* mutable_inventories2(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >* - mutable_inventories2(); - private: - const ::CUserMessage_Inventory_Response_InventoryDetail& _internal_inventories2(int index) const; - ::CUserMessage_Inventory_Response_InventoryDetail* _internal_add_inventories2(); - public: - const ::CUserMessage_Inventory_Response_InventoryDetail& inventories2(int index) const; - ::CUserMessage_Inventory_Response_InventoryDetail* add_inventories2(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >& - inventories2() const; - - // repeated .CUserMessage_Inventory_Response.InventoryDetail inventories3 = 14; - int inventories3_size() const; - private: - int _internal_inventories3_size() const; - public: - void clear_inventories3(); - ::CUserMessage_Inventory_Response_InventoryDetail* mutable_inventories3(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >* - mutable_inventories3(); - private: - const ::CUserMessage_Inventory_Response_InventoryDetail& _internal_inventories3(int index) const; - ::CUserMessage_Inventory_Response_InventoryDetail* _internal_add_inventories3(); - public: - const ::CUserMessage_Inventory_Response_InventoryDetail& inventories3(int index) const; - ::CUserMessage_Inventory_Response_InventoryDetail* add_inventories3(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >& - inventories3() const; - - // optional fixed32 crc = 1; - bool has_crc() const; - private: - bool _internal_has_crc() const; - public: - void clear_crc(); - uint32_t crc() const; - void set_crc(uint32_t value); - private: - uint32_t _internal_crc() const; - void _internal_set_crc(uint32_t value); - public: - - // optional int32 item_count = 2; - bool has_item_count() const; - private: - bool _internal_has_item_count() const; - public: - void clear_item_count(); - int32_t item_count() const; - void set_item_count(int32_t value); - private: - int32_t _internal_item_count() const; - void _internal_set_item_count(int32_t value); - public: - - // optional int32 osversion = 5; - bool has_osversion() const; - private: - bool _internal_has_osversion() const; - public: - void clear_osversion(); - int32_t osversion() const; - void set_osversion(int32_t value); - private: - int32_t _internal_osversion() const; - void _internal_set_osversion(int32_t value); - public: - - // optional int32 perf_time = 6; - bool has_perf_time() const; - private: - bool _internal_has_perf_time() const; - public: - void clear_perf_time(); - int32_t perf_time() const; - void set_perf_time(int32_t value); - private: - int32_t _internal_perf_time() const; - void _internal_set_perf_time(int32_t value); - public: - - // optional int32 client_timestamp = 7; - bool has_client_timestamp() const; - private: - bool _internal_has_client_timestamp() const; - public: - void clear_client_timestamp(); - int32_t client_timestamp() const; - void set_client_timestamp(int32_t value); - private: - int32_t _internal_client_timestamp() const; - void _internal_set_client_timestamp(int32_t value); - public: - - // optional int32 platform = 8; - bool has_platform() const; - private: - bool _internal_has_platform() const; - public: - void clear_platform(); - int32_t platform() const; - void set_platform(int32_t value); - private: - int32_t _internal_platform() const; - void _internal_set_platform(int32_t value); - public: - - // optional int32 inv_type = 11; - bool has_inv_type() const; - private: - bool _internal_has_inv_type() const; - public: - void clear_inv_type(); - int32_t inv_type() const; - void set_inv_type(int32_t value); - private: - int32_t _internal_inv_type() const; - void _internal_set_inv_type(int32_t value); - public: - - // optional int32 build_version = 12; - bool has_build_version() const; - private: - bool _internal_has_build_version() const; - public: - void clear_build_version(); - int32_t build_version() const; - void set_build_version(int32_t value); - private: - int32_t _internal_build_version() const; - void _internal_set_build_version(int32_t value); - public: - - // optional int64 start_time = 15; - bool has_start_time() const; - private: - bool _internal_has_start_time() const; - public: - void clear_start_time(); - int64_t start_time() const; - void set_start_time(int64_t value); - private: - int64_t _internal_start_time() const; - void _internal_set_start_time(int64_t value); - public: - - // optional int32 instance = 13; - bool has_instance() const; - private: - bool _internal_has_instance() const; - public: - void clear_instance(); - int32_t instance() const; - void set_instance(int32_t value); - private: - int32_t _internal_instance() const; - void _internal_set_instance(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessage_Inventory_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail > inventories_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail > inventories2_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail > inventories3_; - uint32_t crc_; - int32_t item_count_; - int32_t osversion_; - int32_t perf_time_; - int32_t client_timestamp_; - int32_t platform_; - int32_t inv_type_; - int32_t build_version_; - int64_t start_time_; - int32_t instance_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageRequestDiagnostic_Diagnostic : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageRequestDiagnostic.Diagnostic) */ { - public: - inline CUserMessageRequestDiagnostic_Diagnostic() : CUserMessageRequestDiagnostic_Diagnostic(nullptr) {} - ~CUserMessageRequestDiagnostic_Diagnostic() override; - explicit PROTOBUF_CONSTEXPR CUserMessageRequestDiagnostic_Diagnostic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageRequestDiagnostic_Diagnostic(const CUserMessageRequestDiagnostic_Diagnostic& from); - CUserMessageRequestDiagnostic_Diagnostic(CUserMessageRequestDiagnostic_Diagnostic&& from) noexcept - : CUserMessageRequestDiagnostic_Diagnostic() { - *this = ::std::move(from); - } - - inline CUserMessageRequestDiagnostic_Diagnostic& operator=(const CUserMessageRequestDiagnostic_Diagnostic& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageRequestDiagnostic_Diagnostic& operator=(CUserMessageRequestDiagnostic_Diagnostic&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageRequestDiagnostic_Diagnostic& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageRequestDiagnostic_Diagnostic* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageRequestDiagnostic_Diagnostic_default_instance_); - } - static constexpr int kIndexInFileMessages = - 99; - - friend void swap(CUserMessageRequestDiagnostic_Diagnostic& a, CUserMessageRequestDiagnostic_Diagnostic& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageRequestDiagnostic_Diagnostic* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageRequestDiagnostic_Diagnostic* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageRequestDiagnostic_Diagnostic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageRequestDiagnostic_Diagnostic& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageRequestDiagnostic_Diagnostic& from) { - CUserMessageRequestDiagnostic_Diagnostic::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageRequestDiagnostic_Diagnostic* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageRequestDiagnostic.Diagnostic"; - } - protected: - explicit CUserMessageRequestDiagnostic_Diagnostic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kNameFieldNumber = 10, - kAliasFieldNumber = 11, - kVardetailFieldNumber = 12, - kOffsetFieldNumber = 2, - kIndexFieldNumber = 1, - kParamFieldNumber = 3, - kLengthFieldNumber = 4, - kTypeFieldNumber = 5, - kBaseFieldNumber = 6, - kRangeFieldNumber = 7, - kExtentFieldNumber = 8, - kDetailFieldNumber = 9, - kContextFieldNumber = 13, - }; - // optional string name = 10; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional string alias = 11; - bool has_alias() const; - private: - bool _internal_has_alias() const; - public: - void clear_alias(); - const std::string& alias() const; - template - void set_alias(ArgT0&& arg0, ArgT... args); - std::string* mutable_alias(); - PROTOBUF_NODISCARD std::string* release_alias(); - void set_allocated_alias(std::string* alias); - private: - const std::string& _internal_alias() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_alias(const std::string& value); - std::string* _internal_mutable_alias(); - public: - - // optional bytes vardetail = 12; - bool has_vardetail() const; - private: - bool _internal_has_vardetail() const; - public: - void clear_vardetail(); - const std::string& vardetail() const; - template - void set_vardetail(ArgT0&& arg0, ArgT... args); - std::string* mutable_vardetail(); - PROTOBUF_NODISCARD std::string* release_vardetail(); - void set_allocated_vardetail(std::string* vardetail); - private: - const std::string& _internal_vardetail() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_vardetail(const std::string& value); - std::string* _internal_mutable_vardetail(); - public: - - // optional int64 offset = 2; - bool has_offset() const; - private: - bool _internal_has_offset() const; - public: - void clear_offset(); - int64_t offset() const; - void set_offset(int64_t value); - private: - int64_t _internal_offset() const; - void _internal_set_offset(int64_t value); - public: - - // optional int32 index = 1; - bool has_index() const; - private: - bool _internal_has_index() const; - public: - void clear_index(); - int32_t index() const; - void set_index(int32_t value); - private: - int32_t _internal_index() const; - void _internal_set_index(int32_t value); - public: - - // optional int32 param = 3; - bool has_param() const; - private: - bool _internal_has_param() const; - public: - void clear_param(); - int32_t param() const; - void set_param(int32_t value); - private: - int32_t _internal_param() const; - void _internal_set_param(int32_t value); - public: - - // optional int32 length = 4; - bool has_length() const; - private: - bool _internal_has_length() const; - public: - void clear_length(); - int32_t length() const; - void set_length(int32_t value); - private: - int32_t _internal_length() const; - void _internal_set_length(int32_t value); - public: - - // optional int32 type = 5; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - int32_t type() const; - void set_type(int32_t value); - private: - int32_t _internal_type() const; - void _internal_set_type(int32_t value); - public: - - // optional int64 base = 6; - bool has_base() const; - private: - bool _internal_has_base() const; - public: - void clear_base(); - int64_t base() const; - void set_base(int64_t value); - private: - int64_t _internal_base() const; - void _internal_set_base(int64_t value); - public: - - // optional int64 range = 7; - bool has_range() const; - private: - bool _internal_has_range() const; - public: - void clear_range(); - int64_t range() const; - void set_range(int64_t value); - private: - int64_t _internal_range() const; - void _internal_set_range(int64_t value); - public: - - // optional int64 extent = 8; - bool has_extent() const; - private: - bool _internal_has_extent() const; - public: - void clear_extent(); - int64_t extent() const; - void set_extent(int64_t value); - private: - int64_t _internal_extent() const; - void _internal_set_extent(int64_t value); - public: - - // optional int64 detail = 9; - bool has_detail() const; - private: - bool _internal_has_detail() const; - public: - void clear_detail(); - int64_t detail() const; - void set_detail(int64_t value); - private: - int64_t _internal_detail() const; - void _internal_set_detail(int64_t value); - public: - - // optional int32 context = 13; - bool has_context() const; - private: - bool _internal_has_context() const; - public: - void clear_context(); - int32_t context() const; - void set_context(int32_t value); - private: - int32_t _internal_context() const; - void _internal_set_context(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessageRequestDiagnostic.Diagnostic) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr alias_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr vardetail_; - int64_t offset_; - int32_t index_; - int32_t param_; - int32_t length_; - int32_t type_; - int64_t base_; - int64_t range_; - int64_t extent_; - int64_t detail_; - int32_t context_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessageRequestDiagnostic : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessageRequestDiagnostic) */ { - public: - inline CUserMessageRequestDiagnostic() : CUserMessageRequestDiagnostic(nullptr) {} - ~CUserMessageRequestDiagnostic() override; - explicit PROTOBUF_CONSTEXPR CUserMessageRequestDiagnostic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessageRequestDiagnostic(const CUserMessageRequestDiagnostic& from); - CUserMessageRequestDiagnostic(CUserMessageRequestDiagnostic&& from) noexcept - : CUserMessageRequestDiagnostic() { - *this = ::std::move(from); - } - - inline CUserMessageRequestDiagnostic& operator=(const CUserMessageRequestDiagnostic& from) { - CopyFrom(from); - return *this; - } - inline CUserMessageRequestDiagnostic& operator=(CUserMessageRequestDiagnostic&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessageRequestDiagnostic& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessageRequestDiagnostic* internal_default_instance() { - return reinterpret_cast( - &_CUserMessageRequestDiagnostic_default_instance_); - } - static constexpr int kIndexInFileMessages = - 100; - - friend void swap(CUserMessageRequestDiagnostic& a, CUserMessageRequestDiagnostic& b) { - a.Swap(&b); - } - inline void Swap(CUserMessageRequestDiagnostic* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessageRequestDiagnostic* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessageRequestDiagnostic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessageRequestDiagnostic& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessageRequestDiagnostic& from) { - CUserMessageRequestDiagnostic::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessageRequestDiagnostic* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessageRequestDiagnostic"; - } - protected: - explicit CUserMessageRequestDiagnostic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CUserMessageRequestDiagnostic_Diagnostic Diagnostic; - - // accessors ------------------------------------------------------- - - enum : int { - kDiagnosticsFieldNumber = 1, - }; - // repeated .CUserMessageRequestDiagnostic.Diagnostic diagnostics = 1; - int diagnostics_size() const; - private: - int _internal_diagnostics_size() const; - public: - void clear_diagnostics(); - ::CUserMessageRequestDiagnostic_Diagnostic* mutable_diagnostics(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessageRequestDiagnostic_Diagnostic >* - mutable_diagnostics(); - private: - const ::CUserMessageRequestDiagnostic_Diagnostic& _internal_diagnostics(int index) const; - ::CUserMessageRequestDiagnostic_Diagnostic* _internal_add_diagnostics(); - public: - const ::CUserMessageRequestDiagnostic_Diagnostic& diagnostics(int index) const; - ::CUserMessageRequestDiagnostic_Diagnostic* add_diagnostics(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessageRequestDiagnostic_Diagnostic >& - diagnostics() const; - - // @@protoc_insertion_point(class_scope:CUserMessageRequestDiagnostic) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessageRequestDiagnostic_Diagnostic > diagnostics_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessage_Diagnostic_Response_Diagnostic : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_Diagnostic_Response.Diagnostic) */ { - public: - inline CUserMessage_Diagnostic_Response_Diagnostic() : CUserMessage_Diagnostic_Response_Diagnostic(nullptr) {} - ~CUserMessage_Diagnostic_Response_Diagnostic() override; - explicit PROTOBUF_CONSTEXPR CUserMessage_Diagnostic_Response_Diagnostic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessage_Diagnostic_Response_Diagnostic(const CUserMessage_Diagnostic_Response_Diagnostic& from); - CUserMessage_Diagnostic_Response_Diagnostic(CUserMessage_Diagnostic_Response_Diagnostic&& from) noexcept - : CUserMessage_Diagnostic_Response_Diagnostic() { - *this = ::std::move(from); - } - - inline CUserMessage_Diagnostic_Response_Diagnostic& operator=(const CUserMessage_Diagnostic_Response_Diagnostic& from) { - CopyFrom(from); - return *this; - } - inline CUserMessage_Diagnostic_Response_Diagnostic& operator=(CUserMessage_Diagnostic_Response_Diagnostic&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessage_Diagnostic_Response_Diagnostic& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessage_Diagnostic_Response_Diagnostic* internal_default_instance() { - return reinterpret_cast( - &_CUserMessage_Diagnostic_Response_Diagnostic_default_instance_); - } - static constexpr int kIndexInFileMessages = - 101; - - friend void swap(CUserMessage_Diagnostic_Response_Diagnostic& a, CUserMessage_Diagnostic_Response_Diagnostic& b) { - a.Swap(&b); - } - inline void Swap(CUserMessage_Diagnostic_Response_Diagnostic* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessage_Diagnostic_Response_Diagnostic* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessage_Diagnostic_Response_Diagnostic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessage_Diagnostic_Response_Diagnostic& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessage_Diagnostic_Response_Diagnostic& from) { - CUserMessage_Diagnostic_Response_Diagnostic::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessage_Diagnostic_Response_Diagnostic* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessage_Diagnostic_Response.Diagnostic"; - } - protected: - explicit CUserMessage_Diagnostic_Response_Diagnostic(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDetailFieldNumber = 5, - kNameFieldNumber = 10, - kAliasFieldNumber = 11, - kBackupFieldNumber = 12, - kOffsetFieldNumber = 2, - kIndexFieldNumber = 1, - kParamFieldNumber = 3, - kBaseFieldNumber = 6, - kLengthFieldNumber = 4, - kTypeFieldNumber = 8, - kRangeFieldNumber = 7, - kControlFieldNumber = 14, - kAugmentFieldNumber = 15, - kPlaceboFieldNumber = 16, - kContextFieldNumber = 13, - }; - // optional bytes detail = 5; - bool has_detail() const; - private: - bool _internal_has_detail() const; - public: - void clear_detail(); - const std::string& detail() const; - template - void set_detail(ArgT0&& arg0, ArgT... args); - std::string* mutable_detail(); - PROTOBUF_NODISCARD std::string* release_detail(); - void set_allocated_detail(std::string* detail); - private: - const std::string& _internal_detail() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_detail(const std::string& value); - std::string* _internal_mutable_detail(); - public: - - // optional string name = 10; - bool has_name() const; - private: - bool _internal_has_name() const; - public: - void clear_name(); - const std::string& name() const; - template - void set_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* name); - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); - std::string* _internal_mutable_name(); - public: - - // optional string alias = 11; - bool has_alias() const; - private: - bool _internal_has_alias() const; - public: - void clear_alias(); - const std::string& alias() const; - template - void set_alias(ArgT0&& arg0, ArgT... args); - std::string* mutable_alias(); - PROTOBUF_NODISCARD std::string* release_alias(); - void set_allocated_alias(std::string* alias); - private: - const std::string& _internal_alias() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_alias(const std::string& value); - std::string* _internal_mutable_alias(); - public: - - // optional bytes backup = 12; - bool has_backup() const; - private: - bool _internal_has_backup() const; - public: - void clear_backup(); - const std::string& backup() const; - template - void set_backup(ArgT0&& arg0, ArgT... args); - std::string* mutable_backup(); - PROTOBUF_NODISCARD std::string* release_backup(); - void set_allocated_backup(std::string* backup); - private: - const std::string& _internal_backup() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_backup(const std::string& value); - std::string* _internal_mutable_backup(); - public: - - // optional int64 offset = 2; - bool has_offset() const; - private: - bool _internal_has_offset() const; - public: - void clear_offset(); - int64_t offset() const; - void set_offset(int64_t value); - private: - int64_t _internal_offset() const; - void _internal_set_offset(int64_t value); - public: - - // optional int32 index = 1; - bool has_index() const; - private: - bool _internal_has_index() const; - public: - void clear_index(); - int32_t index() const; - void set_index(int32_t value); - private: - int32_t _internal_index() const; - void _internal_set_index(int32_t value); - public: - - // optional int32 param = 3; - bool has_param() const; - private: - bool _internal_has_param() const; - public: - void clear_param(); - int32_t param() const; - void set_param(int32_t value); - private: - int32_t _internal_param() const; - void _internal_set_param(int32_t value); - public: - - // optional int64 base = 6; - bool has_base() const; - private: - bool _internal_has_base() const; - public: - void clear_base(); - int64_t base() const; - void set_base(int64_t value); - private: - int64_t _internal_base() const; - void _internal_set_base(int64_t value); - public: - - // optional int32 length = 4; - bool has_length() const; - private: - bool _internal_has_length() const; - public: - void clear_length(); - int32_t length() const; - void set_length(int32_t value); - private: - int32_t _internal_length() const; - void _internal_set_length(int32_t value); - public: - - // optional int32 type = 8; - bool has_type() const; - private: - bool _internal_has_type() const; - public: - void clear_type(); - int32_t type() const; - void set_type(int32_t value); - private: - int32_t _internal_type() const; - void _internal_set_type(int32_t value); - public: - - // optional int64 range = 7; - bool has_range() const; - private: - bool _internal_has_range() const; - public: - void clear_range(); - int64_t range() const; - void set_range(int64_t value); - private: - int64_t _internal_range() const; - void _internal_set_range(int64_t value); - public: - - // optional int64 control = 14; - bool has_control() const; - private: - bool _internal_has_control() const; - public: - void clear_control(); - int64_t control() const; - void set_control(int64_t value); - private: - int64_t _internal_control() const; - void _internal_set_control(int64_t value); - public: - - // optional int64 augment = 15; - bool has_augment() const; - private: - bool _internal_has_augment() const; - public: - void clear_augment(); - int64_t augment() const; - void set_augment(int64_t value); - private: - int64_t _internal_augment() const; - void _internal_set_augment(int64_t value); - public: - - // optional int64 placebo = 16; - bool has_placebo() const; - private: - bool _internal_has_placebo() const; - public: - void clear_placebo(); - int64_t placebo() const; - void set_placebo(int64_t value); - private: - int64_t _internal_placebo() const; - void _internal_set_placebo(int64_t value); - public: - - // optional int32 context = 13; - bool has_context() const; - private: - bool _internal_has_context() const; - public: - void clear_context(); - int32_t context() const; - void set_context(int32_t value); - private: - int32_t _internal_context() const; - void _internal_set_context(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessage_Diagnostic_Response.Diagnostic) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr detail_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr alias_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr backup_; - int64_t offset_; - int32_t index_; - int32_t param_; - int64_t base_; - int32_t length_; - int32_t type_; - int64_t range_; - int64_t control_; - int64_t augment_; - int64_t placebo_; - int32_t context_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessage_Diagnostic_Response : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_Diagnostic_Response) */ { - public: - inline CUserMessage_Diagnostic_Response() : CUserMessage_Diagnostic_Response(nullptr) {} - ~CUserMessage_Diagnostic_Response() override; - explicit PROTOBUF_CONSTEXPR CUserMessage_Diagnostic_Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessage_Diagnostic_Response(const CUserMessage_Diagnostic_Response& from); - CUserMessage_Diagnostic_Response(CUserMessage_Diagnostic_Response&& from) noexcept - : CUserMessage_Diagnostic_Response() { - *this = ::std::move(from); - } - - inline CUserMessage_Diagnostic_Response& operator=(const CUserMessage_Diagnostic_Response& from) { - CopyFrom(from); - return *this; - } - inline CUserMessage_Diagnostic_Response& operator=(CUserMessage_Diagnostic_Response&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessage_Diagnostic_Response& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessage_Diagnostic_Response* internal_default_instance() { - return reinterpret_cast( - &_CUserMessage_Diagnostic_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = - 102; - - friend void swap(CUserMessage_Diagnostic_Response& a, CUserMessage_Diagnostic_Response& b) { - a.Swap(&b); - } - inline void Swap(CUserMessage_Diagnostic_Response* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessage_Diagnostic_Response* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessage_Diagnostic_Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessage_Diagnostic_Response& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessage_Diagnostic_Response& from) { - CUserMessage_Diagnostic_Response::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessage_Diagnostic_Response* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessage_Diagnostic_Response"; - } - protected: - explicit CUserMessage_Diagnostic_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CUserMessage_Diagnostic_Response_Diagnostic Diagnostic; - - // accessors ------------------------------------------------------- - - enum : int { - kDiagnosticsFieldNumber = 1, - kBuildVersionFieldNumber = 2, - kInstanceFieldNumber = 3, - kStartTimeFieldNumber = 4, - kOsversionFieldNumber = 5, - kPlatformFieldNumber = 6, - }; - // repeated .CUserMessage_Diagnostic_Response.Diagnostic diagnostics = 1; - int diagnostics_size() const; - private: - int _internal_diagnostics_size() const; - public: - void clear_diagnostics(); - ::CUserMessage_Diagnostic_Response_Diagnostic* mutable_diagnostics(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Diagnostic_Response_Diagnostic >* - mutable_diagnostics(); - private: - const ::CUserMessage_Diagnostic_Response_Diagnostic& _internal_diagnostics(int index) const; - ::CUserMessage_Diagnostic_Response_Diagnostic* _internal_add_diagnostics(); - public: - const ::CUserMessage_Diagnostic_Response_Diagnostic& diagnostics(int index) const; - ::CUserMessage_Diagnostic_Response_Diagnostic* add_diagnostics(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Diagnostic_Response_Diagnostic >& - diagnostics() const; - - // optional int32 build_version = 2; - bool has_build_version() const; - private: - bool _internal_has_build_version() const; - public: - void clear_build_version(); - int32_t build_version() const; - void set_build_version(int32_t value); - private: - int32_t _internal_build_version() const; - void _internal_set_build_version(int32_t value); - public: - - // optional int32 instance = 3; - bool has_instance() const; - private: - bool _internal_has_instance() const; - public: - void clear_instance(); - int32_t instance() const; - void set_instance(int32_t value); - private: - int32_t _internal_instance() const; - void _internal_set_instance(int32_t value); - public: - - // optional int64 start_time = 4; - bool has_start_time() const; - private: - bool _internal_has_start_time() const; - public: - void clear_start_time(); - int64_t start_time() const; - void set_start_time(int64_t value); - private: - int64_t _internal_start_time() const; - void _internal_set_start_time(int64_t value); - public: - - // optional int32 osversion = 5; - bool has_osversion() const; - private: - bool _internal_has_osversion() const; - public: - void clear_osversion(); - int32_t osversion() const; - void set_osversion(int32_t value); - private: - int32_t _internal_osversion() const; - void _internal_set_osversion(int32_t value); - public: - - // optional int32 platform = 6; - bool has_platform() const; - private: - bool _internal_has_platform() const; - public: - void clear_platform(); - int32_t platform() const; - void set_platform(int32_t value); - private: - int32_t _internal_platform() const; - void _internal_set_platform(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessage_Diagnostic_Response) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Diagnostic_Response_Diagnostic > diagnostics_; - int32_t build_version_; - int32_t instance_; - int64_t start_time_; - int32_t osversion_; - int32_t platform_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessage_ExtraUserData : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_ExtraUserData) */ { - public: - inline CUserMessage_ExtraUserData() : CUserMessage_ExtraUserData(nullptr) {} - ~CUserMessage_ExtraUserData() override; - explicit PROTOBUF_CONSTEXPR CUserMessage_ExtraUserData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessage_ExtraUserData(const CUserMessage_ExtraUserData& from); - CUserMessage_ExtraUserData(CUserMessage_ExtraUserData&& from) noexcept - : CUserMessage_ExtraUserData() { - *this = ::std::move(from); - } - - inline CUserMessage_ExtraUserData& operator=(const CUserMessage_ExtraUserData& from) { - CopyFrom(from); - return *this; - } - inline CUserMessage_ExtraUserData& operator=(CUserMessage_ExtraUserData&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessage_ExtraUserData& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessage_ExtraUserData* internal_default_instance() { - return reinterpret_cast( - &_CUserMessage_ExtraUserData_default_instance_); - } - static constexpr int kIndexInFileMessages = - 103; - - friend void swap(CUserMessage_ExtraUserData& a, CUserMessage_ExtraUserData& b) { - a.Swap(&b); - } - inline void Swap(CUserMessage_ExtraUserData* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessage_ExtraUserData* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessage_ExtraUserData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessage_ExtraUserData& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessage_ExtraUserData& from) { - CUserMessage_ExtraUserData::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessage_ExtraUserData* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessage_ExtraUserData"; - } - protected: - explicit CUserMessage_ExtraUserData(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kDetail1FieldNumber = 4, - kDetail2FieldNumber = 5, - kValue1FieldNumber = 2, - kValue2FieldNumber = 3, - kItemFieldNumber = 1, - }; - // repeated bytes detail1 = 4; - int detail1_size() const; - private: - int _internal_detail1_size() const; - public: - void clear_detail1(); - const std::string& detail1(int index) const; - std::string* mutable_detail1(int index); - void set_detail1(int index, const std::string& value); - void set_detail1(int index, std::string&& value); - void set_detail1(int index, const char* value); - void set_detail1(int index, const void* value, size_t size); - std::string* add_detail1(); - void add_detail1(const std::string& value); - void add_detail1(std::string&& value); - void add_detail1(const char* value); - void add_detail1(const void* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& detail1() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_detail1(); - private: - const std::string& _internal_detail1(int index) const; - std::string* _internal_add_detail1(); - public: - - // repeated bytes detail2 = 5; - int detail2_size() const; - private: - int _internal_detail2_size() const; - public: - void clear_detail2(); - const std::string& detail2(int index) const; - std::string* mutable_detail2(int index); - void set_detail2(int index, const std::string& value); - void set_detail2(int index, std::string&& value); - void set_detail2(int index, const char* value); - void set_detail2(int index, const void* value, size_t size); - std::string* add_detail2(); - void add_detail2(const std::string& value); - void add_detail2(std::string&& value); - void add_detail2(const char* value); - void add_detail2(const void* value, size_t size); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& detail2() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_detail2(); - private: - const std::string& _internal_detail2(int index) const; - std::string* _internal_add_detail2(); - public: - - // optional int64 value1 = 2; - bool has_value1() const; - private: - bool _internal_has_value1() const; - public: - void clear_value1(); - int64_t value1() const; - void set_value1(int64_t value); - private: - int64_t _internal_value1() const; - void _internal_set_value1(int64_t value); - public: - - // optional int64 value2 = 3; - bool has_value2() const; - private: - bool _internal_has_value2() const; - public: - void clear_value2(); - int64_t value2() const; - void set_value2(int64_t value); - private: - int64_t _internal_value2() const; - void _internal_set_value2(int64_t value); - public: - - // optional int32 item = 1; - bool has_item() const; - private: - bool _internal_has_item() const; - public: - void clear_item(); - int32_t item() const; - void set_item(int32_t value); - private: - int32_t _internal_item() const; - void _internal_set_item(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessage_ExtraUserData) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField detail1_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField detail2_; - int64_t value1_; - int64_t value2_; - int32_t item_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessage_NotifyResponseFound_Criteria : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_NotifyResponseFound.Criteria) */ { - public: - inline CUserMessage_NotifyResponseFound_Criteria() : CUserMessage_NotifyResponseFound_Criteria(nullptr) {} - ~CUserMessage_NotifyResponseFound_Criteria() override; - explicit PROTOBUF_CONSTEXPR CUserMessage_NotifyResponseFound_Criteria(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessage_NotifyResponseFound_Criteria(const CUserMessage_NotifyResponseFound_Criteria& from); - CUserMessage_NotifyResponseFound_Criteria(CUserMessage_NotifyResponseFound_Criteria&& from) noexcept - : CUserMessage_NotifyResponseFound_Criteria() { - *this = ::std::move(from); - } - - inline CUserMessage_NotifyResponseFound_Criteria& operator=(const CUserMessage_NotifyResponseFound_Criteria& from) { - CopyFrom(from); - return *this; - } - inline CUserMessage_NotifyResponseFound_Criteria& operator=(CUserMessage_NotifyResponseFound_Criteria&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessage_NotifyResponseFound_Criteria& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessage_NotifyResponseFound_Criteria* internal_default_instance() { - return reinterpret_cast( - &_CUserMessage_NotifyResponseFound_Criteria_default_instance_); - } - static constexpr int kIndexInFileMessages = - 104; - - friend void swap(CUserMessage_NotifyResponseFound_Criteria& a, CUserMessage_NotifyResponseFound_Criteria& b) { - a.Swap(&b); - } - inline void Swap(CUserMessage_NotifyResponseFound_Criteria* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessage_NotifyResponseFound_Criteria* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessage_NotifyResponseFound_Criteria* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessage_NotifyResponseFound_Criteria& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessage_NotifyResponseFound_Criteria& from) { - CUserMessage_NotifyResponseFound_Criteria::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessage_NotifyResponseFound_Criteria* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessage_NotifyResponseFound.Criteria"; - } - protected: - explicit CUserMessage_NotifyResponseFound_Criteria(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kValueFieldNumber = 2, - kNameSymbolFieldNumber = 1, - }; - // optional string value = 2; - bool has_value() const; - private: - bool _internal_has_value() const; - public: - void clear_value(); - const std::string& value() const; - template - void set_value(ArgT0&& arg0, ArgT... args); - std::string* mutable_value(); - PROTOBUF_NODISCARD std::string* release_value(); - void set_allocated_value(std::string* value); - private: - const std::string& _internal_value() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); - std::string* _internal_mutable_value(); - public: - - // optional uint32 name_symbol = 1; - bool has_name_symbol() const; - private: - bool _internal_has_name_symbol() const; - public: - void clear_name_symbol(); - uint32_t name_symbol() const; - void set_name_symbol(uint32_t value); - private: - uint32_t _internal_name_symbol() const; - void _internal_set_name_symbol(uint32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessage_NotifyResponseFound.Criteria) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; - uint32_t name_symbol_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessage_NotifyResponseFound : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_NotifyResponseFound) */ { - public: - inline CUserMessage_NotifyResponseFound() : CUserMessage_NotifyResponseFound(nullptr) {} - ~CUserMessage_NotifyResponseFound() override; - explicit PROTOBUF_CONSTEXPR CUserMessage_NotifyResponseFound(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessage_NotifyResponseFound(const CUserMessage_NotifyResponseFound& from); - CUserMessage_NotifyResponseFound(CUserMessage_NotifyResponseFound&& from) noexcept - : CUserMessage_NotifyResponseFound() { - *this = ::std::move(from); - } - - inline CUserMessage_NotifyResponseFound& operator=(const CUserMessage_NotifyResponseFound& from) { - CopyFrom(from); - return *this; - } - inline CUserMessage_NotifyResponseFound& operator=(CUserMessage_NotifyResponseFound&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessage_NotifyResponseFound& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessage_NotifyResponseFound* internal_default_instance() { - return reinterpret_cast( - &_CUserMessage_NotifyResponseFound_default_instance_); - } - static constexpr int kIndexInFileMessages = - 105; - - friend void swap(CUserMessage_NotifyResponseFound& a, CUserMessage_NotifyResponseFound& b) { - a.Swap(&b); - } - inline void Swap(CUserMessage_NotifyResponseFound* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessage_NotifyResponseFound* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessage_NotifyResponseFound* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessage_NotifyResponseFound& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessage_NotifyResponseFound& from) { - CUserMessage_NotifyResponseFound::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessage_NotifyResponseFound* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessage_NotifyResponseFound"; - } - protected: - explicit CUserMessage_NotifyResponseFound(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - typedef CUserMessage_NotifyResponseFound_Criteria Criteria; - - // accessors ------------------------------------------------------- - - enum : int { - kCriteriaFieldNumber = 5, - kIntCriteriaNamesFieldNumber = 6, - kIntCriteriaValuesFieldNumber = 7, - kFloatCriteriaNamesFieldNumber = 8, - kFloatCriteriaValuesFieldNumber = 9, - kSymbolCriteriaNamesFieldNumber = 10, - kSymbolCriteriaValuesFieldNumber = 11, - kRuleNameFieldNumber = 2, - kResponseValueFieldNumber = 3, - kResponseConceptFieldNumber = 4, - kSpeakResultFieldNumber = 12, - kEntIndexFieldNumber = 1, - }; - // repeated .CUserMessage_NotifyResponseFound.Criteria criteria = 5; - int criteria_size() const; - private: - int _internal_criteria_size() const; - public: - void clear_criteria(); - ::CUserMessage_NotifyResponseFound_Criteria* mutable_criteria(int index); - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_NotifyResponseFound_Criteria >* - mutable_criteria(); - private: - const ::CUserMessage_NotifyResponseFound_Criteria& _internal_criteria(int index) const; - ::CUserMessage_NotifyResponseFound_Criteria* _internal_add_criteria(); - public: - const ::CUserMessage_NotifyResponseFound_Criteria& criteria(int index) const; - ::CUserMessage_NotifyResponseFound_Criteria* add_criteria(); - const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_NotifyResponseFound_Criteria >& - criteria() const; - - // repeated uint32 int_criteria_names = 6 [packed = true]; - int int_criteria_names_size() const; - private: - int _internal_int_criteria_names_size() const; - public: - void clear_int_criteria_names(); - private: - uint32_t _internal_int_criteria_names(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_int_criteria_names() const; - void _internal_add_int_criteria_names(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_int_criteria_names(); - public: - uint32_t int_criteria_names(int index) const; - void set_int_criteria_names(int index, uint32_t value); - void add_int_criteria_names(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - int_criteria_names() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_int_criteria_names(); - - // repeated int32 int_criteria_values = 7 [packed = true]; - int int_criteria_values_size() const; - private: - int _internal_int_criteria_values_size() const; - public: - void clear_int_criteria_values(); - private: - int32_t _internal_int_criteria_values(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_int_criteria_values() const; - void _internal_add_int_criteria_values(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_int_criteria_values(); - public: - int32_t int_criteria_values(int index) const; - void set_int_criteria_values(int index, int32_t value); - void add_int_criteria_values(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - int_criteria_values() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_int_criteria_values(); - - // repeated uint32 float_criteria_names = 8 [packed = true]; - int float_criteria_names_size() const; - private: - int _internal_float_criteria_names_size() const; - public: - void clear_float_criteria_names(); - private: - uint32_t _internal_float_criteria_names(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_float_criteria_names() const; - void _internal_add_float_criteria_names(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_float_criteria_names(); - public: - uint32_t float_criteria_names(int index) const; - void set_float_criteria_names(int index, uint32_t value); - void add_float_criteria_names(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - float_criteria_names() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_float_criteria_names(); - - // repeated float float_criteria_values = 9; - int float_criteria_values_size() const; - private: - int _internal_float_criteria_values_size() const; - public: - void clear_float_criteria_values(); - private: - float _internal_float_criteria_values(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& - _internal_float_criteria_values() const; - void _internal_add_float_criteria_values(float value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* - _internal_mutable_float_criteria_values(); - public: - float float_criteria_values(int index) const; - void set_float_criteria_values(int index, float value); - void add_float_criteria_values(float value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& - float_criteria_values() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* - mutable_float_criteria_values(); - - // repeated uint32 symbol_criteria_names = 10 [packed = true]; - int symbol_criteria_names_size() const; - private: - int _internal_symbol_criteria_names_size() const; - public: - void clear_symbol_criteria_names(); - private: - uint32_t _internal_symbol_criteria_names(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_symbol_criteria_names() const; - void _internal_add_symbol_criteria_names(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_symbol_criteria_names(); - public: - uint32_t symbol_criteria_names(int index) const; - void set_symbol_criteria_names(int index, uint32_t value); - void add_symbol_criteria_names(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - symbol_criteria_names() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_symbol_criteria_names(); - - // repeated uint32 symbol_criteria_values = 11 [packed = true]; - int symbol_criteria_values_size() const; - private: - int _internal_symbol_criteria_values_size() const; - public: - void clear_symbol_criteria_values(); - private: - uint32_t _internal_symbol_criteria_values(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - _internal_symbol_criteria_values() const; - void _internal_add_symbol_criteria_values(uint32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - _internal_mutable_symbol_criteria_values(); - public: - uint32_t symbol_criteria_values(int index) const; - void set_symbol_criteria_values(int index, uint32_t value); - void add_symbol_criteria_values(uint32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& - symbol_criteria_values() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* - mutable_symbol_criteria_values(); - - // optional string rule_name = 2; - bool has_rule_name() const; - private: - bool _internal_has_rule_name() const; - public: - void clear_rule_name(); - const std::string& rule_name() const; - template - void set_rule_name(ArgT0&& arg0, ArgT... args); - std::string* mutable_rule_name(); - PROTOBUF_NODISCARD std::string* release_rule_name(); - void set_allocated_rule_name(std::string* rule_name); - private: - const std::string& _internal_rule_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_rule_name(const std::string& value); - std::string* _internal_mutable_rule_name(); - public: - - // optional string response_value = 3; - bool has_response_value() const; - private: - bool _internal_has_response_value() const; - public: - void clear_response_value(); - const std::string& response_value() const; - template - void set_response_value(ArgT0&& arg0, ArgT... args); - std::string* mutable_response_value(); - PROTOBUF_NODISCARD std::string* release_response_value(); - void set_allocated_response_value(std::string* response_value); - private: - const std::string& _internal_response_value() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_response_value(const std::string& value); - std::string* _internal_mutable_response_value(); - public: - - // optional string response_concept = 4; - bool has_response_concept() const; - private: - bool _internal_has_response_concept() const; - public: - void clear_response_concept(); - const std::string& response_concept() const; - template - void set_response_concept(ArgT0&& arg0, ArgT... args); - std::string* mutable_response_concept(); - PROTOBUF_NODISCARD std::string* release_response_concept(); - void set_allocated_response_concept(std::string* response_concept); - private: - const std::string& _internal_response_concept() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_response_concept(const std::string& value); - std::string* _internal_mutable_response_concept(); - public: - - // optional int32 speak_result = 12; - bool has_speak_result() const; - private: - bool _internal_has_speak_result() const; - public: - void clear_speak_result(); - int32_t speak_result() const; - void set_speak_result(int32_t value); - private: - int32_t _internal_speak_result() const; - void _internal_set_speak_result(int32_t value); - public: - - // optional int32 ent_index = 1 [default = -1]; - bool has_ent_index() const; - private: - bool _internal_has_ent_index() const; - public: - void clear_ent_index(); - int32_t ent_index() const; - void set_ent_index(int32_t value); - private: - int32_t _internal_ent_index() const; - void _internal_set_ent_index(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessage_NotifyResponseFound) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_NotifyResponseFound_Criteria > criteria_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > int_criteria_names_; - mutable std::atomic _int_criteria_names_cached_byte_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > int_criteria_values_; - mutable std::atomic _int_criteria_values_cached_byte_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > float_criteria_names_; - mutable std::atomic _float_criteria_names_cached_byte_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > float_criteria_values_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > symbol_criteria_names_; - mutable std::atomic _symbol_criteria_names_cached_byte_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > symbol_criteria_values_; - mutable std::atomic _symbol_criteria_values_cached_byte_size_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rule_name_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr response_value_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr response_concept_; - int32_t speak_result_; - int32_t ent_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// ------------------------------------------------------------------- - -class CUserMessage_PlayResponseConditional : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:CUserMessage_PlayResponseConditional) */ { - public: - inline CUserMessage_PlayResponseConditional() : CUserMessage_PlayResponseConditional(nullptr) {} - ~CUserMessage_PlayResponseConditional() override; - explicit PROTOBUF_CONSTEXPR CUserMessage_PlayResponseConditional(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - - CUserMessage_PlayResponseConditional(const CUserMessage_PlayResponseConditional& from); - CUserMessage_PlayResponseConditional(CUserMessage_PlayResponseConditional&& from) noexcept - : CUserMessage_PlayResponseConditional() { - *this = ::std::move(from); - } - - inline CUserMessage_PlayResponseConditional& operator=(const CUserMessage_PlayResponseConditional& from) { - CopyFrom(from); - return *this; - } - inline CUserMessage_PlayResponseConditional& operator=(CUserMessage_PlayResponseConditional&& from) noexcept { - if (this == &from) return *this; - if (GetOwningArena() == from.GetOwningArena() - #ifdef PROTOBUF_FORCE_COPY_IN_MOVE - && GetOwningArena() != nullptr - #endif // !PROTOBUF_FORCE_COPY_IN_MOVE - ) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { - return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); - } - inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { - return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); - } - - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CUserMessage_PlayResponseConditional& default_instance() { - return *internal_default_instance(); - } - static inline const CUserMessage_PlayResponseConditional* internal_default_instance() { - return reinterpret_cast( - &_CUserMessage_PlayResponseConditional_default_instance_); - } - static constexpr int kIndexInFileMessages = - 106; - - friend void swap(CUserMessage_PlayResponseConditional& a, CUserMessage_PlayResponseConditional& b) { - a.Swap(&b); - } - inline void Swap(CUserMessage_PlayResponseConditional* other) { - if (other == this) return; - #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() != nullptr && - GetOwningArena() == other->GetOwningArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP - if (GetOwningArena() == other->GetOwningArena()) { - #endif // !PROTOBUF_FORCE_COPY_IN_SWAP - InternalSwap(other); - } else { - ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CUserMessage_PlayResponseConditional* other) { - if (other == this) return; - GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CUserMessage_PlayResponseConditional* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); - } - using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const CUserMessage_PlayResponseConditional& from); - using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const CUserMessage_PlayResponseConditional& from) { - CUserMessage_PlayResponseConditional::MergeImpl(*this, from); - } - private: - static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); - public: - PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; - bool IsInitialized() const final; - - size_t ByteSizeLong() const final; - const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - uint8_t* _InternalSerialize( - uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - int GetCachedSize() const final { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); - void SharedDtor(); - void SetCachedSize(int size) const final; - void InternalSwap(CUserMessage_PlayResponseConditional* other); - - private: - friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; - static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "CUserMessage_PlayResponseConditional"; - } - protected: - explicit CUserMessage_PlayResponseConditional(::PROTOBUF_NAMESPACE_ID::Arena* arena, - bool is_message_owned = false); - public: - - static const ClassData _class_data_; - const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; - - ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - enum : int { - kPlayerSlotsFieldNumber = 2, - kResponseFieldNumber = 3, - kEntOriginFieldNumber = 4, - kPreDelayFieldNumber = 5, - kMixPriorityFieldNumber = 6, - kEntIndexFieldNumber = 1, - }; - // repeated int32 player_slots = 2; - int player_slots_size() const; - private: - int _internal_player_slots_size() const; - public: - void clear_player_slots(); - private: - int32_t _internal_player_slots(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - _internal_player_slots() const; - void _internal_add_player_slots(int32_t value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - _internal_mutable_player_slots(); - public: - int32_t player_slots(int index) const; - void set_player_slots(int index, int32_t value); - void add_player_slots(int32_t value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& - player_slots() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* - mutable_player_slots(); - - // optional string response = 3; - bool has_response() const; - private: - bool _internal_has_response() const; - public: - void clear_response(); - const std::string& response() const; - template - void set_response(ArgT0&& arg0, ArgT... args); - std::string* mutable_response(); - PROTOBUF_NODISCARD std::string* release_response(); - void set_allocated_response(std::string* response); - private: - const std::string& _internal_response() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_response(const std::string& value); - std::string* _internal_mutable_response(); - public: - - // optional .CMsgVector ent_origin = 4; - bool has_ent_origin() const; - private: - bool _internal_has_ent_origin() const; - public: - void clear_ent_origin(); - const ::CMsgVector& ent_origin() const; - PROTOBUF_NODISCARD ::CMsgVector* release_ent_origin(); - ::CMsgVector* mutable_ent_origin(); - void set_allocated_ent_origin(::CMsgVector* ent_origin); - private: - const ::CMsgVector& _internal_ent_origin() const; - ::CMsgVector* _internal_mutable_ent_origin(); - public: - void unsafe_arena_set_allocated_ent_origin( - ::CMsgVector* ent_origin); - ::CMsgVector* unsafe_arena_release_ent_origin(); - - // optional float pre_delay = 5; - bool has_pre_delay() const; - private: - bool _internal_has_pre_delay() const; - public: - void clear_pre_delay(); - float pre_delay() const; - void set_pre_delay(float value); - private: - float _internal_pre_delay() const; - void _internal_set_pre_delay(float value); - public: - - // optional int32 mix_priority = 6; - bool has_mix_priority() const; - private: - bool _internal_has_mix_priority() const; - public: - void clear_mix_priority(); - int32_t mix_priority() const; - void set_mix_priority(int32_t value); - private: - int32_t _internal_mix_priority() const; - void _internal_set_mix_priority(int32_t value); - public: - - // optional int32 ent_index = 1 [default = -1]; - bool has_ent_index() const; - private: - bool _internal_has_ent_index() const; - public: - void clear_ent_index(); - int32_t ent_index() const; - void set_ent_index(int32_t value); - private: - int32_t _internal_ent_index() const; - void _internal_set_ent_index(int32_t value); - public: - - // @@protoc_insertion_point(class_scope:CUserMessage_PlayResponseConditional) - private: - class _Internal; - - template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; - typedef void InternalArenaConstructable_; - typedef void DestructorSkippable_; - struct Impl_ { - ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; - mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > player_slots_; - ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr response_; - ::CMsgVector* ent_origin_; - float pre_delay_; - int32_t mix_priority_; - int32_t ent_index_; - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_usermessages_2eproto; -}; -// =================================================================== - - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CUserMessageAchievementEvent - -// optional uint32 achievement = 1; -inline bool CUserMessageAchievementEvent::_internal_has_achievement() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageAchievementEvent::has_achievement() const { - return _internal_has_achievement(); -} -inline void CUserMessageAchievementEvent::clear_achievement() { - _impl_.achievement_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CUserMessageAchievementEvent::_internal_achievement() const { - return _impl_.achievement_; -} -inline uint32_t CUserMessageAchievementEvent::achievement() const { - // @@protoc_insertion_point(field_get:CUserMessageAchievementEvent.achievement) - return _internal_achievement(); -} -inline void CUserMessageAchievementEvent::_internal_set_achievement(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.achievement_ = value; -} -inline void CUserMessageAchievementEvent::set_achievement(uint32_t value) { - _internal_set_achievement(value); - // @@protoc_insertion_point(field_set:CUserMessageAchievementEvent.achievement) -} - -// ------------------------------------------------------------------- - -// CUserMessageCloseCaption - -// optional fixed32 hash = 1; -inline bool CUserMessageCloseCaption::_internal_has_hash() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageCloseCaption::has_hash() const { - return _internal_has_hash(); -} -inline void CUserMessageCloseCaption::clear_hash() { - _impl_.hash_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CUserMessageCloseCaption::_internal_hash() const { - return _impl_.hash_; -} -inline uint32_t CUserMessageCloseCaption::hash() const { - // @@protoc_insertion_point(field_get:CUserMessageCloseCaption.hash) - return _internal_hash(); -} -inline void CUserMessageCloseCaption::_internal_set_hash(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.hash_ = value; -} -inline void CUserMessageCloseCaption::set_hash(uint32_t value) { - _internal_set_hash(value); - // @@protoc_insertion_point(field_set:CUserMessageCloseCaption.hash) -} - -// optional float duration = 2; -inline bool CUserMessageCloseCaption::_internal_has_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageCloseCaption::has_duration() const { - return _internal_has_duration(); -} -inline void CUserMessageCloseCaption::clear_duration() { - _impl_.duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CUserMessageCloseCaption::_internal_duration() const { - return _impl_.duration_; -} -inline float CUserMessageCloseCaption::duration() const { - // @@protoc_insertion_point(field_get:CUserMessageCloseCaption.duration) - return _internal_duration(); -} -inline void CUserMessageCloseCaption::_internal_set_duration(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.duration_ = value; -} -inline void CUserMessageCloseCaption::set_duration(float value) { - _internal_set_duration(value); - // @@protoc_insertion_point(field_set:CUserMessageCloseCaption.duration) -} - -// optional bool from_player = 3; -inline bool CUserMessageCloseCaption::_internal_has_from_player() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageCloseCaption::has_from_player() const { - return _internal_has_from_player(); -} -inline void CUserMessageCloseCaption::clear_from_player() { - _impl_.from_player_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CUserMessageCloseCaption::_internal_from_player() const { - return _impl_.from_player_; -} -inline bool CUserMessageCloseCaption::from_player() const { - // @@protoc_insertion_point(field_get:CUserMessageCloseCaption.from_player) - return _internal_from_player(); -} -inline void CUserMessageCloseCaption::_internal_set_from_player(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.from_player_ = value; -} -inline void CUserMessageCloseCaption::set_from_player(bool value) { - _internal_set_from_player(value); - // @@protoc_insertion_point(field_set:CUserMessageCloseCaption.from_player) -} - -// optional int32 ent_index = 4 [default = -1]; -inline bool CUserMessageCloseCaption::_internal_has_ent_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessageCloseCaption::has_ent_index() const { - return _internal_has_ent_index(); -} -inline void CUserMessageCloseCaption::clear_ent_index() { - _impl_.ent_index_ = -1; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CUserMessageCloseCaption::_internal_ent_index() const { - return _impl_.ent_index_; -} -inline int32_t CUserMessageCloseCaption::ent_index() const { - // @@protoc_insertion_point(field_get:CUserMessageCloseCaption.ent_index) - return _internal_ent_index(); -} -inline void CUserMessageCloseCaption::_internal_set_ent_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.ent_index_ = value; -} -inline void CUserMessageCloseCaption::set_ent_index(int32_t value) { - _internal_set_ent_index(value); - // @@protoc_insertion_point(field_set:CUserMessageCloseCaption.ent_index) -} - -// ------------------------------------------------------------------- - -// CUserMessageCloseCaptionDirect - -// optional fixed32 hash = 1; -inline bool CUserMessageCloseCaptionDirect::_internal_has_hash() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageCloseCaptionDirect::has_hash() const { - return _internal_has_hash(); -} -inline void CUserMessageCloseCaptionDirect::clear_hash() { - _impl_.hash_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CUserMessageCloseCaptionDirect::_internal_hash() const { - return _impl_.hash_; -} -inline uint32_t CUserMessageCloseCaptionDirect::hash() const { - // @@protoc_insertion_point(field_get:CUserMessageCloseCaptionDirect.hash) - return _internal_hash(); -} -inline void CUserMessageCloseCaptionDirect::_internal_set_hash(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.hash_ = value; -} -inline void CUserMessageCloseCaptionDirect::set_hash(uint32_t value) { - _internal_set_hash(value); - // @@protoc_insertion_point(field_set:CUserMessageCloseCaptionDirect.hash) -} - -// optional float duration = 2; -inline bool CUserMessageCloseCaptionDirect::_internal_has_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageCloseCaptionDirect::has_duration() const { - return _internal_has_duration(); -} -inline void CUserMessageCloseCaptionDirect::clear_duration() { - _impl_.duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CUserMessageCloseCaptionDirect::_internal_duration() const { - return _impl_.duration_; -} -inline float CUserMessageCloseCaptionDirect::duration() const { - // @@protoc_insertion_point(field_get:CUserMessageCloseCaptionDirect.duration) - return _internal_duration(); -} -inline void CUserMessageCloseCaptionDirect::_internal_set_duration(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.duration_ = value; -} -inline void CUserMessageCloseCaptionDirect::set_duration(float value) { - _internal_set_duration(value); - // @@protoc_insertion_point(field_set:CUserMessageCloseCaptionDirect.duration) -} - -// optional bool from_player = 3; -inline bool CUserMessageCloseCaptionDirect::_internal_has_from_player() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageCloseCaptionDirect::has_from_player() const { - return _internal_has_from_player(); -} -inline void CUserMessageCloseCaptionDirect::clear_from_player() { - _impl_.from_player_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CUserMessageCloseCaptionDirect::_internal_from_player() const { - return _impl_.from_player_; -} -inline bool CUserMessageCloseCaptionDirect::from_player() const { - // @@protoc_insertion_point(field_get:CUserMessageCloseCaptionDirect.from_player) - return _internal_from_player(); -} -inline void CUserMessageCloseCaptionDirect::_internal_set_from_player(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.from_player_ = value; -} -inline void CUserMessageCloseCaptionDirect::set_from_player(bool value) { - _internal_set_from_player(value); - // @@protoc_insertion_point(field_set:CUserMessageCloseCaptionDirect.from_player) -} - -// optional int32 ent_index = 4 [default = -1]; -inline bool CUserMessageCloseCaptionDirect::_internal_has_ent_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessageCloseCaptionDirect::has_ent_index() const { - return _internal_has_ent_index(); -} -inline void CUserMessageCloseCaptionDirect::clear_ent_index() { - _impl_.ent_index_ = -1; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CUserMessageCloseCaptionDirect::_internal_ent_index() const { - return _impl_.ent_index_; -} -inline int32_t CUserMessageCloseCaptionDirect::ent_index() const { - // @@protoc_insertion_point(field_get:CUserMessageCloseCaptionDirect.ent_index) - return _internal_ent_index(); -} -inline void CUserMessageCloseCaptionDirect::_internal_set_ent_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.ent_index_ = value; -} -inline void CUserMessageCloseCaptionDirect::set_ent_index(int32_t value) { - _internal_set_ent_index(value); - // @@protoc_insertion_point(field_set:CUserMessageCloseCaptionDirect.ent_index) -} - -// ------------------------------------------------------------------- - -// CUserMessageCloseCaptionPlaceholder - -// optional string string = 1; -inline bool CUserMessageCloseCaptionPlaceholder::_internal_has_string() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageCloseCaptionPlaceholder::has_string() const { - return _internal_has_string(); -} -inline void CUserMessageCloseCaptionPlaceholder::clear_string() { - _impl_.string_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessageCloseCaptionPlaceholder::string() const { - // @@protoc_insertion_point(field_get:CUserMessageCloseCaptionPlaceholder.string) - return _internal_string(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageCloseCaptionPlaceholder::set_string(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.string_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageCloseCaptionPlaceholder.string) -} -inline std::string* CUserMessageCloseCaptionPlaceholder::mutable_string() { - std::string* _s = _internal_mutable_string(); - // @@protoc_insertion_point(field_mutable:CUserMessageCloseCaptionPlaceholder.string) - return _s; -} -inline const std::string& CUserMessageCloseCaptionPlaceholder::_internal_string() const { - return _impl_.string_.Get(); -} -inline void CUserMessageCloseCaptionPlaceholder::_internal_set_string(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.string_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageCloseCaptionPlaceholder::_internal_mutable_string() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.string_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageCloseCaptionPlaceholder::release_string() { - // @@protoc_insertion_point(field_release:CUserMessageCloseCaptionPlaceholder.string) - if (!_internal_has_string()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.string_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.string_.IsDefault()) { - _impl_.string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageCloseCaptionPlaceholder::set_allocated_string(std::string* string) { - if (string != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.string_.SetAllocated(string, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.string_.IsDefault()) { - _impl_.string_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageCloseCaptionPlaceholder.string) -} - -// optional float duration = 2; -inline bool CUserMessageCloseCaptionPlaceholder::_internal_has_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageCloseCaptionPlaceholder::has_duration() const { - return _internal_has_duration(); -} -inline void CUserMessageCloseCaptionPlaceholder::clear_duration() { - _impl_.duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CUserMessageCloseCaptionPlaceholder::_internal_duration() const { - return _impl_.duration_; -} -inline float CUserMessageCloseCaptionPlaceholder::duration() const { - // @@protoc_insertion_point(field_get:CUserMessageCloseCaptionPlaceholder.duration) - return _internal_duration(); -} -inline void CUserMessageCloseCaptionPlaceholder::_internal_set_duration(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.duration_ = value; -} -inline void CUserMessageCloseCaptionPlaceholder::set_duration(float value) { - _internal_set_duration(value); - // @@protoc_insertion_point(field_set:CUserMessageCloseCaptionPlaceholder.duration) -} - -// optional bool from_player = 3; -inline bool CUserMessageCloseCaptionPlaceholder::_internal_has_from_player() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageCloseCaptionPlaceholder::has_from_player() const { - return _internal_has_from_player(); -} -inline void CUserMessageCloseCaptionPlaceholder::clear_from_player() { - _impl_.from_player_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CUserMessageCloseCaptionPlaceholder::_internal_from_player() const { - return _impl_.from_player_; -} -inline bool CUserMessageCloseCaptionPlaceholder::from_player() const { - // @@protoc_insertion_point(field_get:CUserMessageCloseCaptionPlaceholder.from_player) - return _internal_from_player(); -} -inline void CUserMessageCloseCaptionPlaceholder::_internal_set_from_player(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.from_player_ = value; -} -inline void CUserMessageCloseCaptionPlaceholder::set_from_player(bool value) { - _internal_set_from_player(value); - // @@protoc_insertion_point(field_set:CUserMessageCloseCaptionPlaceholder.from_player) -} - -// optional int32 ent_index = 4 [default = -1]; -inline bool CUserMessageCloseCaptionPlaceholder::_internal_has_ent_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessageCloseCaptionPlaceholder::has_ent_index() const { - return _internal_has_ent_index(); -} -inline void CUserMessageCloseCaptionPlaceholder::clear_ent_index() { - _impl_.ent_index_ = -1; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CUserMessageCloseCaptionPlaceholder::_internal_ent_index() const { - return _impl_.ent_index_; -} -inline int32_t CUserMessageCloseCaptionPlaceholder::ent_index() const { - // @@protoc_insertion_point(field_get:CUserMessageCloseCaptionPlaceholder.ent_index) - return _internal_ent_index(); -} -inline void CUserMessageCloseCaptionPlaceholder::_internal_set_ent_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.ent_index_ = value; -} -inline void CUserMessageCloseCaptionPlaceholder::set_ent_index(int32_t value) { - _internal_set_ent_index(value); - // @@protoc_insertion_point(field_set:CUserMessageCloseCaptionPlaceholder.ent_index) -} - -// ------------------------------------------------------------------- - -// CUserMessageCurrentTimescale - -// optional float current = 1; -inline bool CUserMessageCurrentTimescale::_internal_has_current() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageCurrentTimescale::has_current() const { - return _internal_has_current(); -} -inline void CUserMessageCurrentTimescale::clear_current() { - _impl_.current_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CUserMessageCurrentTimescale::_internal_current() const { - return _impl_.current_; -} -inline float CUserMessageCurrentTimescale::current() const { - // @@protoc_insertion_point(field_get:CUserMessageCurrentTimescale.current) - return _internal_current(); -} -inline void CUserMessageCurrentTimescale::_internal_set_current(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.current_ = value; -} -inline void CUserMessageCurrentTimescale::set_current(float value) { - _internal_set_current(value); - // @@protoc_insertion_point(field_set:CUserMessageCurrentTimescale.current) -} - -// ------------------------------------------------------------------- - -// CUserMessageDesiredTimescale - -// optional float desired = 1; -inline bool CUserMessageDesiredTimescale::_internal_has_desired() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageDesiredTimescale::has_desired() const { - return _internal_has_desired(); -} -inline void CUserMessageDesiredTimescale::clear_desired() { - _impl_.desired_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CUserMessageDesiredTimescale::_internal_desired() const { - return _impl_.desired_; -} -inline float CUserMessageDesiredTimescale::desired() const { - // @@protoc_insertion_point(field_get:CUserMessageDesiredTimescale.desired) - return _internal_desired(); -} -inline void CUserMessageDesiredTimescale::_internal_set_desired(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.desired_ = value; -} -inline void CUserMessageDesiredTimescale::set_desired(float value) { - _internal_set_desired(value); - // @@protoc_insertion_point(field_set:CUserMessageDesiredTimescale.desired) -} - -// optional float acceleration = 2; -inline bool CUserMessageDesiredTimescale::_internal_has_acceleration() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageDesiredTimescale::has_acceleration() const { - return _internal_has_acceleration(); -} -inline void CUserMessageDesiredTimescale::clear_acceleration() { - _impl_.acceleration_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CUserMessageDesiredTimescale::_internal_acceleration() const { - return _impl_.acceleration_; -} -inline float CUserMessageDesiredTimescale::acceleration() const { - // @@protoc_insertion_point(field_get:CUserMessageDesiredTimescale.acceleration) - return _internal_acceleration(); -} -inline void CUserMessageDesiredTimescale::_internal_set_acceleration(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.acceleration_ = value; -} -inline void CUserMessageDesiredTimescale::set_acceleration(float value) { - _internal_set_acceleration(value); - // @@protoc_insertion_point(field_set:CUserMessageDesiredTimescale.acceleration) -} - -// optional float minblendrate = 3; -inline bool CUserMessageDesiredTimescale::_internal_has_minblendrate() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageDesiredTimescale::has_minblendrate() const { - return _internal_has_minblendrate(); -} -inline void CUserMessageDesiredTimescale::clear_minblendrate() { - _impl_.minblendrate_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CUserMessageDesiredTimescale::_internal_minblendrate() const { - return _impl_.minblendrate_; -} -inline float CUserMessageDesiredTimescale::minblendrate() const { - // @@protoc_insertion_point(field_get:CUserMessageDesiredTimescale.minblendrate) - return _internal_minblendrate(); -} -inline void CUserMessageDesiredTimescale::_internal_set_minblendrate(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.minblendrate_ = value; -} -inline void CUserMessageDesiredTimescale::set_minblendrate(float value) { - _internal_set_minblendrate(value); - // @@protoc_insertion_point(field_set:CUserMessageDesiredTimescale.minblendrate) -} - -// optional float blenddeltamultiplier = 4; -inline bool CUserMessageDesiredTimescale::_internal_has_blenddeltamultiplier() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessageDesiredTimescale::has_blenddeltamultiplier() const { - return _internal_has_blenddeltamultiplier(); -} -inline void CUserMessageDesiredTimescale::clear_blenddeltamultiplier() { - _impl_.blenddeltamultiplier_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CUserMessageDesiredTimescale::_internal_blenddeltamultiplier() const { - return _impl_.blenddeltamultiplier_; -} -inline float CUserMessageDesiredTimescale::blenddeltamultiplier() const { - // @@protoc_insertion_point(field_get:CUserMessageDesiredTimescale.blenddeltamultiplier) - return _internal_blenddeltamultiplier(); -} -inline void CUserMessageDesiredTimescale::_internal_set_blenddeltamultiplier(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.blenddeltamultiplier_ = value; -} -inline void CUserMessageDesiredTimescale::set_blenddeltamultiplier(float value) { - _internal_set_blenddeltamultiplier(value); - // @@protoc_insertion_point(field_set:CUserMessageDesiredTimescale.blenddeltamultiplier) -} - -// ------------------------------------------------------------------- - -// CUserMessageFade - -// optional uint32 duration = 1; -inline bool CUserMessageFade::_internal_has_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageFade::has_duration() const { - return _internal_has_duration(); -} -inline void CUserMessageFade::clear_duration() { - _impl_.duration_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CUserMessageFade::_internal_duration() const { - return _impl_.duration_; -} -inline uint32_t CUserMessageFade::duration() const { - // @@protoc_insertion_point(field_get:CUserMessageFade.duration) - return _internal_duration(); -} -inline void CUserMessageFade::_internal_set_duration(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.duration_ = value; -} -inline void CUserMessageFade::set_duration(uint32_t value) { - _internal_set_duration(value); - // @@protoc_insertion_point(field_set:CUserMessageFade.duration) -} - -// optional uint32 hold_time = 2; -inline bool CUserMessageFade::_internal_has_hold_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageFade::has_hold_time() const { - return _internal_has_hold_time(); -} -inline void CUserMessageFade::clear_hold_time() { - _impl_.hold_time_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CUserMessageFade::_internal_hold_time() const { - return _impl_.hold_time_; -} -inline uint32_t CUserMessageFade::hold_time() const { - // @@protoc_insertion_point(field_get:CUserMessageFade.hold_time) - return _internal_hold_time(); -} -inline void CUserMessageFade::_internal_set_hold_time(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.hold_time_ = value; -} -inline void CUserMessageFade::set_hold_time(uint32_t value) { - _internal_set_hold_time(value); - // @@protoc_insertion_point(field_set:CUserMessageFade.hold_time) -} - -// optional uint32 flags = 3; -inline bool CUserMessageFade::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageFade::has_flags() const { - return _internal_has_flags(); -} -inline void CUserMessageFade::clear_flags() { - _impl_.flags_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CUserMessageFade::_internal_flags() const { - return _impl_.flags_; -} -inline uint32_t CUserMessageFade::flags() const { - // @@protoc_insertion_point(field_get:CUserMessageFade.flags) - return _internal_flags(); -} -inline void CUserMessageFade::_internal_set_flags(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.flags_ = value; -} -inline void CUserMessageFade::set_flags(uint32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CUserMessageFade.flags) -} - -// optional fixed32 color = 4; -inline bool CUserMessageFade::_internal_has_color() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessageFade::has_color() const { - return _internal_has_color(); -} -inline void CUserMessageFade::clear_color() { - _impl_.color_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CUserMessageFade::_internal_color() const { - return _impl_.color_; -} -inline uint32_t CUserMessageFade::color() const { - // @@protoc_insertion_point(field_get:CUserMessageFade.color) - return _internal_color(); -} -inline void CUserMessageFade::_internal_set_color(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.color_ = value; -} -inline void CUserMessageFade::set_color(uint32_t value) { - _internal_set_color(value); - // @@protoc_insertion_point(field_set:CUserMessageFade.color) -} - -// ------------------------------------------------------------------- - -// CUserMessageShake - -// optional uint32 command = 1; -inline bool CUserMessageShake::_internal_has_command() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageShake::has_command() const { - return _internal_has_command(); -} -inline void CUserMessageShake::clear_command() { - _impl_.command_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CUserMessageShake::_internal_command() const { - return _impl_.command_; -} -inline uint32_t CUserMessageShake::command() const { - // @@protoc_insertion_point(field_get:CUserMessageShake.command) - return _internal_command(); -} -inline void CUserMessageShake::_internal_set_command(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.command_ = value; -} -inline void CUserMessageShake::set_command(uint32_t value) { - _internal_set_command(value); - // @@protoc_insertion_point(field_set:CUserMessageShake.command) -} - -// optional float amplitude = 2; -inline bool CUserMessageShake::_internal_has_amplitude() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageShake::has_amplitude() const { - return _internal_has_amplitude(); -} -inline void CUserMessageShake::clear_amplitude() { - _impl_.amplitude_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CUserMessageShake::_internal_amplitude() const { - return _impl_.amplitude_; -} -inline float CUserMessageShake::amplitude() const { - // @@protoc_insertion_point(field_get:CUserMessageShake.amplitude) - return _internal_amplitude(); -} -inline void CUserMessageShake::_internal_set_amplitude(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.amplitude_ = value; -} -inline void CUserMessageShake::set_amplitude(float value) { - _internal_set_amplitude(value); - // @@protoc_insertion_point(field_set:CUserMessageShake.amplitude) -} - -// optional float frequency = 3; -inline bool CUserMessageShake::_internal_has_frequency() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageShake::has_frequency() const { - return _internal_has_frequency(); -} -inline void CUserMessageShake::clear_frequency() { - _impl_.frequency_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CUserMessageShake::_internal_frequency() const { - return _impl_.frequency_; -} -inline float CUserMessageShake::frequency() const { - // @@protoc_insertion_point(field_get:CUserMessageShake.frequency) - return _internal_frequency(); -} -inline void CUserMessageShake::_internal_set_frequency(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.frequency_ = value; -} -inline void CUserMessageShake::set_frequency(float value) { - _internal_set_frequency(value); - // @@protoc_insertion_point(field_set:CUserMessageShake.frequency) -} - -// optional float duration = 4; -inline bool CUserMessageShake::_internal_has_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessageShake::has_duration() const { - return _internal_has_duration(); -} -inline void CUserMessageShake::clear_duration() { - _impl_.duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CUserMessageShake::_internal_duration() const { - return _impl_.duration_; -} -inline float CUserMessageShake::duration() const { - // @@protoc_insertion_point(field_get:CUserMessageShake.duration) - return _internal_duration(); -} -inline void CUserMessageShake::_internal_set_duration(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.duration_ = value; -} -inline void CUserMessageShake::set_duration(float value) { - _internal_set_duration(value); - // @@protoc_insertion_point(field_set:CUserMessageShake.duration) -} - -// ------------------------------------------------------------------- - -// CUserMessageShakeDir - -// optional .CUserMessageShake shake = 1; -inline bool CUserMessageShakeDir::_internal_has_shake() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.shake_ != nullptr); - return value; -} -inline bool CUserMessageShakeDir::has_shake() const { - return _internal_has_shake(); -} -inline void CUserMessageShakeDir::clear_shake() { - if (_impl_.shake_ != nullptr) _impl_.shake_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CUserMessageShake& CUserMessageShakeDir::_internal_shake() const { - const ::CUserMessageShake* p = _impl_.shake_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMessageShake_default_instance_); -} -inline const ::CUserMessageShake& CUserMessageShakeDir::shake() const { - // @@protoc_insertion_point(field_get:CUserMessageShakeDir.shake) - return _internal_shake(); -} -inline void CUserMessageShakeDir::unsafe_arena_set_allocated_shake( - ::CUserMessageShake* shake) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shake_); - } - _impl_.shake_ = shake; - if (shake) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMessageShakeDir.shake) -} -inline ::CUserMessageShake* CUserMessageShakeDir::release_shake() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CUserMessageShake* temp = _impl_.shake_; - _impl_.shake_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMessageShake* CUserMessageShakeDir::unsafe_arena_release_shake() { - // @@protoc_insertion_point(field_release:CUserMessageShakeDir.shake) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CUserMessageShake* temp = _impl_.shake_; - _impl_.shake_ = nullptr; - return temp; -} -inline ::CUserMessageShake* CUserMessageShakeDir::_internal_mutable_shake() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.shake_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMessageShake>(GetArenaForAllocation()); - _impl_.shake_ = p; - } - return _impl_.shake_; -} -inline ::CUserMessageShake* CUserMessageShakeDir::mutable_shake() { - ::CUserMessageShake* _msg = _internal_mutable_shake(); - // @@protoc_insertion_point(field_mutable:CUserMessageShakeDir.shake) - return _msg; -} -inline void CUserMessageShakeDir::set_allocated_shake(::CUserMessageShake* shake) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.shake_; - } - if (shake) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(shake); - if (message_arena != submessage_arena) { - shake = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, shake, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.shake_ = shake; - // @@protoc_insertion_point(field_set_allocated:CUserMessageShakeDir.shake) -} - -// optional .CMsgVector direction = 2; -inline bool CUserMessageShakeDir::_internal_has_direction() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.direction_ != nullptr); - return value; -} -inline bool CUserMessageShakeDir::has_direction() const { - return _internal_has_direction(); -} -inline const ::CMsgVector& CUserMessageShakeDir::_internal_direction() const { - const ::CMsgVector* p = _impl_.direction_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMessageShakeDir::direction() const { - // @@protoc_insertion_point(field_get:CUserMessageShakeDir.direction) - return _internal_direction(); -} -inline void CUserMessageShakeDir::unsafe_arena_set_allocated_direction( - ::CMsgVector* direction) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.direction_); - } - _impl_.direction_ = direction; - if (direction) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMessageShakeDir.direction) -} -inline ::CMsgVector* CUserMessageShakeDir::release_direction() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.direction_; - _impl_.direction_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMessageShakeDir::unsafe_arena_release_direction() { - // @@protoc_insertion_point(field_release:CUserMessageShakeDir.direction) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.direction_; - _impl_.direction_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMessageShakeDir::_internal_mutable_direction() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.direction_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.direction_ = p; - } - return _impl_.direction_; -} -inline ::CMsgVector* CUserMessageShakeDir::mutable_direction() { - ::CMsgVector* _msg = _internal_mutable_direction(); - // @@protoc_insertion_point(field_mutable:CUserMessageShakeDir.direction) - return _msg; -} -inline void CUserMessageShakeDir::set_allocated_direction(::CMsgVector* direction) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.direction_); - } - if (direction) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(direction)); - if (message_arena != submessage_arena) { - direction = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, direction, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.direction_ = direction; - // @@protoc_insertion_point(field_set_allocated:CUserMessageShakeDir.direction) -} - -// ------------------------------------------------------------------- - -// CUserMessageWaterShake - -// optional uint32 command = 1; -inline bool CUserMessageWaterShake::_internal_has_command() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageWaterShake::has_command() const { - return _internal_has_command(); -} -inline void CUserMessageWaterShake::clear_command() { - _impl_.command_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CUserMessageWaterShake::_internal_command() const { - return _impl_.command_; -} -inline uint32_t CUserMessageWaterShake::command() const { - // @@protoc_insertion_point(field_get:CUserMessageWaterShake.command) - return _internal_command(); -} -inline void CUserMessageWaterShake::_internal_set_command(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.command_ = value; -} -inline void CUserMessageWaterShake::set_command(uint32_t value) { - _internal_set_command(value); - // @@protoc_insertion_point(field_set:CUserMessageWaterShake.command) -} - -// optional float amplitude = 2; -inline bool CUserMessageWaterShake::_internal_has_amplitude() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageWaterShake::has_amplitude() const { - return _internal_has_amplitude(); -} -inline void CUserMessageWaterShake::clear_amplitude() { - _impl_.amplitude_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CUserMessageWaterShake::_internal_amplitude() const { - return _impl_.amplitude_; -} -inline float CUserMessageWaterShake::amplitude() const { - // @@protoc_insertion_point(field_get:CUserMessageWaterShake.amplitude) - return _internal_amplitude(); -} -inline void CUserMessageWaterShake::_internal_set_amplitude(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.amplitude_ = value; -} -inline void CUserMessageWaterShake::set_amplitude(float value) { - _internal_set_amplitude(value); - // @@protoc_insertion_point(field_set:CUserMessageWaterShake.amplitude) -} - -// optional float frequency = 3; -inline bool CUserMessageWaterShake::_internal_has_frequency() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageWaterShake::has_frequency() const { - return _internal_has_frequency(); -} -inline void CUserMessageWaterShake::clear_frequency() { - _impl_.frequency_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CUserMessageWaterShake::_internal_frequency() const { - return _impl_.frequency_; -} -inline float CUserMessageWaterShake::frequency() const { - // @@protoc_insertion_point(field_get:CUserMessageWaterShake.frequency) - return _internal_frequency(); -} -inline void CUserMessageWaterShake::_internal_set_frequency(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.frequency_ = value; -} -inline void CUserMessageWaterShake::set_frequency(float value) { - _internal_set_frequency(value); - // @@protoc_insertion_point(field_set:CUserMessageWaterShake.frequency) -} - -// optional float duration = 4; -inline bool CUserMessageWaterShake::_internal_has_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessageWaterShake::has_duration() const { - return _internal_has_duration(); -} -inline void CUserMessageWaterShake::clear_duration() { - _impl_.duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CUserMessageWaterShake::_internal_duration() const { - return _impl_.duration_; -} -inline float CUserMessageWaterShake::duration() const { - // @@protoc_insertion_point(field_get:CUserMessageWaterShake.duration) - return _internal_duration(); -} -inline void CUserMessageWaterShake::_internal_set_duration(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.duration_ = value; -} -inline void CUserMessageWaterShake::set_duration(float value) { - _internal_set_duration(value); - // @@protoc_insertion_point(field_set:CUserMessageWaterShake.duration) -} - -// ------------------------------------------------------------------- - -// CUserMessageScreenTilt - -// optional uint32 command = 1; -inline bool CUserMessageScreenTilt::_internal_has_command() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageScreenTilt::has_command() const { - return _internal_has_command(); -} -inline void CUserMessageScreenTilt::clear_command() { - _impl_.command_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CUserMessageScreenTilt::_internal_command() const { - return _impl_.command_; -} -inline uint32_t CUserMessageScreenTilt::command() const { - // @@protoc_insertion_point(field_get:CUserMessageScreenTilt.command) - return _internal_command(); -} -inline void CUserMessageScreenTilt::_internal_set_command(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.command_ = value; -} -inline void CUserMessageScreenTilt::set_command(uint32_t value) { - _internal_set_command(value); - // @@protoc_insertion_point(field_set:CUserMessageScreenTilt.command) -} - -// optional bool ease_in_out = 2; -inline bool CUserMessageScreenTilt::_internal_has_ease_in_out() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageScreenTilt::has_ease_in_out() const { - return _internal_has_ease_in_out(); -} -inline void CUserMessageScreenTilt::clear_ease_in_out() { - _impl_.ease_in_out_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CUserMessageScreenTilt::_internal_ease_in_out() const { - return _impl_.ease_in_out_; -} -inline bool CUserMessageScreenTilt::ease_in_out() const { - // @@protoc_insertion_point(field_get:CUserMessageScreenTilt.ease_in_out) - return _internal_ease_in_out(); -} -inline void CUserMessageScreenTilt::_internal_set_ease_in_out(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.ease_in_out_ = value; -} -inline void CUserMessageScreenTilt::set_ease_in_out(bool value) { - _internal_set_ease_in_out(value); - // @@protoc_insertion_point(field_set:CUserMessageScreenTilt.ease_in_out) -} - -// optional .CMsgVector angle = 3; -inline bool CUserMessageScreenTilt::_internal_has_angle() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.angle_ != nullptr); - return value; -} -inline bool CUserMessageScreenTilt::has_angle() const { - return _internal_has_angle(); -} -inline const ::CMsgVector& CUserMessageScreenTilt::_internal_angle() const { - const ::CMsgVector* p = _impl_.angle_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMessageScreenTilt::angle() const { - // @@protoc_insertion_point(field_get:CUserMessageScreenTilt.angle) - return _internal_angle(); -} -inline void CUserMessageScreenTilt::unsafe_arena_set_allocated_angle( - ::CMsgVector* angle) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_); - } - _impl_.angle_ = angle; - if (angle) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMessageScreenTilt.angle) -} -inline ::CMsgVector* CUserMessageScreenTilt::release_angle() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.angle_; - _impl_.angle_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMessageScreenTilt::unsafe_arena_release_angle() { - // @@protoc_insertion_point(field_release:CUserMessageScreenTilt.angle) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.angle_; - _impl_.angle_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMessageScreenTilt::_internal_mutable_angle() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.angle_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.angle_ = p; - } - return _impl_.angle_; -} -inline ::CMsgVector* CUserMessageScreenTilt::mutable_angle() { - ::CMsgVector* _msg = _internal_mutable_angle(); - // @@protoc_insertion_point(field_mutable:CUserMessageScreenTilt.angle) - return _msg; -} -inline void CUserMessageScreenTilt::set_allocated_angle(::CMsgVector* angle) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_); - } - if (angle) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angle)); - if (message_arena != submessage_arena) { - angle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, angle, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.angle_ = angle; - // @@protoc_insertion_point(field_set_allocated:CUserMessageScreenTilt.angle) -} - -// optional float duration = 4; -inline bool CUserMessageScreenTilt::_internal_has_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessageScreenTilt::has_duration() const { - return _internal_has_duration(); -} -inline void CUserMessageScreenTilt::clear_duration() { - _impl_.duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CUserMessageScreenTilt::_internal_duration() const { - return _impl_.duration_; -} -inline float CUserMessageScreenTilt::duration() const { - // @@protoc_insertion_point(field_get:CUserMessageScreenTilt.duration) - return _internal_duration(); -} -inline void CUserMessageScreenTilt::_internal_set_duration(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.duration_ = value; -} -inline void CUserMessageScreenTilt::set_duration(float value) { - _internal_set_duration(value); - // @@protoc_insertion_point(field_set:CUserMessageScreenTilt.duration) -} - -// optional float time = 5; -inline bool CUserMessageScreenTilt::_internal_has_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CUserMessageScreenTilt::has_time() const { - return _internal_has_time(); -} -inline void CUserMessageScreenTilt::clear_time() { - _impl_.time_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline float CUserMessageScreenTilt::_internal_time() const { - return _impl_.time_; -} -inline float CUserMessageScreenTilt::time() const { - // @@protoc_insertion_point(field_get:CUserMessageScreenTilt.time) - return _internal_time(); -} -inline void CUserMessageScreenTilt::_internal_set_time(float value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.time_ = value; -} -inline void CUserMessageScreenTilt::set_time(float value) { - _internal_set_time(value); - // @@protoc_insertion_point(field_set:CUserMessageScreenTilt.time) -} - -// ------------------------------------------------------------------- - -// CUserMessageSayText - -// optional int32 playerindex = 1 [default = -1]; -inline bool CUserMessageSayText::_internal_has_playerindex() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageSayText::has_playerindex() const { - return _internal_has_playerindex(); -} -inline void CUserMessageSayText::clear_playerindex() { - _impl_.playerindex_ = -1; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CUserMessageSayText::_internal_playerindex() const { - return _impl_.playerindex_; -} -inline int32_t CUserMessageSayText::playerindex() const { - // @@protoc_insertion_point(field_get:CUserMessageSayText.playerindex) - return _internal_playerindex(); -} -inline void CUserMessageSayText::_internal_set_playerindex(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.playerindex_ = value; -} -inline void CUserMessageSayText::set_playerindex(int32_t value) { - _internal_set_playerindex(value); - // @@protoc_insertion_point(field_set:CUserMessageSayText.playerindex) -} - -// optional string text = 2; -inline bool CUserMessageSayText::_internal_has_text() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageSayText::has_text() const { - return _internal_has_text(); -} -inline void CUserMessageSayText::clear_text() { - _impl_.text_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessageSayText::text() const { - // @@protoc_insertion_point(field_get:CUserMessageSayText.text) - return _internal_text(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageSayText::set_text(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageSayText.text) -} -inline std::string* CUserMessageSayText::mutable_text() { - std::string* _s = _internal_mutable_text(); - // @@protoc_insertion_point(field_mutable:CUserMessageSayText.text) - return _s; -} -inline const std::string& CUserMessageSayText::_internal_text() const { - return _impl_.text_.Get(); -} -inline void CUserMessageSayText::_internal_set_text(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageSayText::_internal_mutable_text() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.text_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageSayText::release_text() { - // @@protoc_insertion_point(field_release:CUserMessageSayText.text) - if (!_internal_has_text()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.text_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageSayText::set_allocated_text(std::string* text) { - if (text != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.text_.SetAllocated(text, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageSayText.text) -} - -// optional bool chat = 3; -inline bool CUserMessageSayText::_internal_has_chat() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageSayText::has_chat() const { - return _internal_has_chat(); -} -inline void CUserMessageSayText::clear_chat() { - _impl_.chat_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CUserMessageSayText::_internal_chat() const { - return _impl_.chat_; -} -inline bool CUserMessageSayText::chat() const { - // @@protoc_insertion_point(field_get:CUserMessageSayText.chat) - return _internal_chat(); -} -inline void CUserMessageSayText::_internal_set_chat(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.chat_ = value; -} -inline void CUserMessageSayText::set_chat(bool value) { - _internal_set_chat(value); - // @@protoc_insertion_point(field_set:CUserMessageSayText.chat) -} - -// ------------------------------------------------------------------- - -// CUserMessageSayText2 - -// optional int32 entityindex = 1 [default = -1]; -inline bool CUserMessageSayText2::_internal_has_entityindex() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CUserMessageSayText2::has_entityindex() const { - return _internal_has_entityindex(); -} -inline void CUserMessageSayText2::clear_entityindex() { - _impl_.entityindex_ = -1; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CUserMessageSayText2::_internal_entityindex() const { - return _impl_.entityindex_; -} -inline int32_t CUserMessageSayText2::entityindex() const { - // @@protoc_insertion_point(field_get:CUserMessageSayText2.entityindex) - return _internal_entityindex(); -} -inline void CUserMessageSayText2::_internal_set_entityindex(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.entityindex_ = value; -} -inline void CUserMessageSayText2::set_entityindex(int32_t value) { - _internal_set_entityindex(value); - // @@protoc_insertion_point(field_set:CUserMessageSayText2.entityindex) -} - -// optional bool chat = 2; -inline bool CUserMessageSayText2::_internal_has_chat() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CUserMessageSayText2::has_chat() const { - return _internal_has_chat(); -} -inline void CUserMessageSayText2::clear_chat() { - _impl_.chat_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool CUserMessageSayText2::_internal_chat() const { - return _impl_.chat_; -} -inline bool CUserMessageSayText2::chat() const { - // @@protoc_insertion_point(field_get:CUserMessageSayText2.chat) - return _internal_chat(); -} -inline void CUserMessageSayText2::_internal_set_chat(bool value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.chat_ = value; -} -inline void CUserMessageSayText2::set_chat(bool value) { - _internal_set_chat(value); - // @@protoc_insertion_point(field_set:CUserMessageSayText2.chat) -} - -// optional string messagename = 3; -inline bool CUserMessageSayText2::_internal_has_messagename() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageSayText2::has_messagename() const { - return _internal_has_messagename(); -} -inline void CUserMessageSayText2::clear_messagename() { - _impl_.messagename_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessageSayText2::messagename() const { - // @@protoc_insertion_point(field_get:CUserMessageSayText2.messagename) - return _internal_messagename(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageSayText2::set_messagename(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.messagename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageSayText2.messagename) -} -inline std::string* CUserMessageSayText2::mutable_messagename() { - std::string* _s = _internal_mutable_messagename(); - // @@protoc_insertion_point(field_mutable:CUserMessageSayText2.messagename) - return _s; -} -inline const std::string& CUserMessageSayText2::_internal_messagename() const { - return _impl_.messagename_.Get(); -} -inline void CUserMessageSayText2::_internal_set_messagename(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.messagename_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageSayText2::_internal_mutable_messagename() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.messagename_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageSayText2::release_messagename() { - // @@protoc_insertion_point(field_release:CUserMessageSayText2.messagename) - if (!_internal_has_messagename()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.messagename_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.messagename_.IsDefault()) { - _impl_.messagename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageSayText2::set_allocated_messagename(std::string* messagename) { - if (messagename != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.messagename_.SetAllocated(messagename, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.messagename_.IsDefault()) { - _impl_.messagename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageSayText2.messagename) -} - -// optional string param1 = 4; -inline bool CUserMessageSayText2::_internal_has_param1() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageSayText2::has_param1() const { - return _internal_has_param1(); -} -inline void CUserMessageSayText2::clear_param1() { - _impl_.param1_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CUserMessageSayText2::param1() const { - // @@protoc_insertion_point(field_get:CUserMessageSayText2.param1) - return _internal_param1(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageSayText2::set_param1(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.param1_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageSayText2.param1) -} -inline std::string* CUserMessageSayText2::mutable_param1() { - std::string* _s = _internal_mutable_param1(); - // @@protoc_insertion_point(field_mutable:CUserMessageSayText2.param1) - return _s; -} -inline const std::string& CUserMessageSayText2::_internal_param1() const { - return _impl_.param1_.Get(); -} -inline void CUserMessageSayText2::_internal_set_param1(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.param1_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageSayText2::_internal_mutable_param1() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.param1_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageSayText2::release_param1() { - // @@protoc_insertion_point(field_release:CUserMessageSayText2.param1) - if (!_internal_has_param1()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.param1_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.param1_.IsDefault()) { - _impl_.param1_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageSayText2::set_allocated_param1(std::string* param1) { - if (param1 != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.param1_.SetAllocated(param1, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.param1_.IsDefault()) { - _impl_.param1_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageSayText2.param1) -} - -// optional string param2 = 5; -inline bool CUserMessageSayText2::_internal_has_param2() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageSayText2::has_param2() const { - return _internal_has_param2(); -} -inline void CUserMessageSayText2::clear_param2() { - _impl_.param2_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CUserMessageSayText2::param2() const { - // @@protoc_insertion_point(field_get:CUserMessageSayText2.param2) - return _internal_param2(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageSayText2::set_param2(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.param2_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageSayText2.param2) -} -inline std::string* CUserMessageSayText2::mutable_param2() { - std::string* _s = _internal_mutable_param2(); - // @@protoc_insertion_point(field_mutable:CUserMessageSayText2.param2) - return _s; -} -inline const std::string& CUserMessageSayText2::_internal_param2() const { - return _impl_.param2_.Get(); -} -inline void CUserMessageSayText2::_internal_set_param2(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.param2_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageSayText2::_internal_mutable_param2() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.param2_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageSayText2::release_param2() { - // @@protoc_insertion_point(field_release:CUserMessageSayText2.param2) - if (!_internal_has_param2()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.param2_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.param2_.IsDefault()) { - _impl_.param2_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageSayText2::set_allocated_param2(std::string* param2) { - if (param2 != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.param2_.SetAllocated(param2, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.param2_.IsDefault()) { - _impl_.param2_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageSayText2.param2) -} - -// optional string param3 = 6; -inline bool CUserMessageSayText2::_internal_has_param3() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessageSayText2::has_param3() const { - return _internal_has_param3(); -} -inline void CUserMessageSayText2::clear_param3() { - _impl_.param3_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CUserMessageSayText2::param3() const { - // @@protoc_insertion_point(field_get:CUserMessageSayText2.param3) - return _internal_param3(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageSayText2::set_param3(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.param3_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageSayText2.param3) -} -inline std::string* CUserMessageSayText2::mutable_param3() { - std::string* _s = _internal_mutable_param3(); - // @@protoc_insertion_point(field_mutable:CUserMessageSayText2.param3) - return _s; -} -inline const std::string& CUserMessageSayText2::_internal_param3() const { - return _impl_.param3_.Get(); -} -inline void CUserMessageSayText2::_internal_set_param3(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.param3_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageSayText2::_internal_mutable_param3() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.param3_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageSayText2::release_param3() { - // @@protoc_insertion_point(field_release:CUserMessageSayText2.param3) - if (!_internal_has_param3()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.param3_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.param3_.IsDefault()) { - _impl_.param3_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageSayText2::set_allocated_param3(std::string* param3) { - if (param3 != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.param3_.SetAllocated(param3, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.param3_.IsDefault()) { - _impl_.param3_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageSayText2.param3) -} - -// optional string param4 = 7; -inline bool CUserMessageSayText2::_internal_has_param4() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CUserMessageSayText2::has_param4() const { - return _internal_has_param4(); -} -inline void CUserMessageSayText2::clear_param4() { - _impl_.param4_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const std::string& CUserMessageSayText2::param4() const { - // @@protoc_insertion_point(field_get:CUserMessageSayText2.param4) - return _internal_param4(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageSayText2::set_param4(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.param4_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageSayText2.param4) -} -inline std::string* CUserMessageSayText2::mutable_param4() { - std::string* _s = _internal_mutable_param4(); - // @@protoc_insertion_point(field_mutable:CUserMessageSayText2.param4) - return _s; -} -inline const std::string& CUserMessageSayText2::_internal_param4() const { - return _impl_.param4_.Get(); -} -inline void CUserMessageSayText2::_internal_set_param4(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.param4_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageSayText2::_internal_mutable_param4() { - _impl_._has_bits_[0] |= 0x00000010u; - return _impl_.param4_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageSayText2::release_param4() { - // @@protoc_insertion_point(field_release:CUserMessageSayText2.param4) - if (!_internal_has_param4()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000010u; - auto* p = _impl_.param4_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.param4_.IsDefault()) { - _impl_.param4_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageSayText2::set_allocated_param4(std::string* param4) { - if (param4 != nullptr) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.param4_.SetAllocated(param4, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.param4_.IsDefault()) { - _impl_.param4_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageSayText2.param4) -} - -// ------------------------------------------------------------------- - -// CUserMessageHudMsg - -// optional uint32 channel = 1; -inline bool CUserMessageHudMsg::_internal_has_channel() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageHudMsg::has_channel() const { - return _internal_has_channel(); -} -inline void CUserMessageHudMsg::clear_channel() { - _impl_.channel_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CUserMessageHudMsg::_internal_channel() const { - return _impl_.channel_; -} -inline uint32_t CUserMessageHudMsg::channel() const { - // @@protoc_insertion_point(field_get:CUserMessageHudMsg.channel) - return _internal_channel(); -} -inline void CUserMessageHudMsg::_internal_set_channel(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.channel_ = value; -} -inline void CUserMessageHudMsg::set_channel(uint32_t value) { - _internal_set_channel(value); - // @@protoc_insertion_point(field_set:CUserMessageHudMsg.channel) -} - -// optional float x = 2; -inline bool CUserMessageHudMsg::_internal_has_x() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageHudMsg::has_x() const { - return _internal_has_x(); -} -inline void CUserMessageHudMsg::clear_x() { - _impl_.x_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CUserMessageHudMsg::_internal_x() const { - return _impl_.x_; -} -inline float CUserMessageHudMsg::x() const { - // @@protoc_insertion_point(field_get:CUserMessageHudMsg.x) - return _internal_x(); -} -inline void CUserMessageHudMsg::_internal_set_x(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.x_ = value; -} -inline void CUserMessageHudMsg::set_x(float value) { - _internal_set_x(value); - // @@protoc_insertion_point(field_set:CUserMessageHudMsg.x) -} - -// optional float y = 3; -inline bool CUserMessageHudMsg::_internal_has_y() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessageHudMsg::has_y() const { - return _internal_has_y(); -} -inline void CUserMessageHudMsg::clear_y() { - _impl_.y_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CUserMessageHudMsg::_internal_y() const { - return _impl_.y_; -} -inline float CUserMessageHudMsg::y() const { - // @@protoc_insertion_point(field_get:CUserMessageHudMsg.y) - return _internal_y(); -} -inline void CUserMessageHudMsg::_internal_set_y(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.y_ = value; -} -inline void CUserMessageHudMsg::set_y(float value) { - _internal_set_y(value); - // @@protoc_insertion_point(field_set:CUserMessageHudMsg.y) -} - -// optional fixed32 color1 = 4; -inline bool CUserMessageHudMsg::_internal_has_color1() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CUserMessageHudMsg::has_color1() const { - return _internal_has_color1(); -} -inline void CUserMessageHudMsg::clear_color1() { - _impl_.color1_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CUserMessageHudMsg::_internal_color1() const { - return _impl_.color1_; -} -inline uint32_t CUserMessageHudMsg::color1() const { - // @@protoc_insertion_point(field_get:CUserMessageHudMsg.color1) - return _internal_color1(); -} -inline void CUserMessageHudMsg::_internal_set_color1(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.color1_ = value; -} -inline void CUserMessageHudMsg::set_color1(uint32_t value) { - _internal_set_color1(value); - // @@protoc_insertion_point(field_set:CUserMessageHudMsg.color1) -} - -// optional fixed32 color2 = 5; -inline bool CUserMessageHudMsg::_internal_has_color2() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CUserMessageHudMsg::has_color2() const { - return _internal_has_color2(); -} -inline void CUserMessageHudMsg::clear_color2() { - _impl_.color2_ = 0u; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline uint32_t CUserMessageHudMsg::_internal_color2() const { - return _impl_.color2_; -} -inline uint32_t CUserMessageHudMsg::color2() const { - // @@protoc_insertion_point(field_get:CUserMessageHudMsg.color2) - return _internal_color2(); -} -inline void CUserMessageHudMsg::_internal_set_color2(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.color2_ = value; -} -inline void CUserMessageHudMsg::set_color2(uint32_t value) { - _internal_set_color2(value); - // @@protoc_insertion_point(field_set:CUserMessageHudMsg.color2) -} - -// optional uint32 effect = 6; -inline bool CUserMessageHudMsg::_internal_has_effect() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CUserMessageHudMsg::has_effect() const { - return _internal_has_effect(); -} -inline void CUserMessageHudMsg::clear_effect() { - _impl_.effect_ = 0u; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline uint32_t CUserMessageHudMsg::_internal_effect() const { - return _impl_.effect_; -} -inline uint32_t CUserMessageHudMsg::effect() const { - // @@protoc_insertion_point(field_get:CUserMessageHudMsg.effect) - return _internal_effect(); -} -inline void CUserMessageHudMsg::_internal_set_effect(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.effect_ = value; -} -inline void CUserMessageHudMsg::set_effect(uint32_t value) { - _internal_set_effect(value); - // @@protoc_insertion_point(field_set:CUserMessageHudMsg.effect) -} - -// optional string message = 11; -inline bool CUserMessageHudMsg::_internal_has_message() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageHudMsg::has_message() const { - return _internal_has_message(); -} -inline void CUserMessageHudMsg::clear_message() { - _impl_.message_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessageHudMsg::message() const { - // @@protoc_insertion_point(field_get:CUserMessageHudMsg.message) - return _internal_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageHudMsg::set_message(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageHudMsg.message) -} -inline std::string* CUserMessageHudMsg::mutable_message() { - std::string* _s = _internal_mutable_message(); - // @@protoc_insertion_point(field_mutable:CUserMessageHudMsg.message) - return _s; -} -inline const std::string& CUserMessageHudMsg::_internal_message() const { - return _impl_.message_.Get(); -} -inline void CUserMessageHudMsg::_internal_set_message(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.message_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageHudMsg::_internal_mutable_message() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.message_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageHudMsg::release_message() { - // @@protoc_insertion_point(field_release:CUserMessageHudMsg.message) - if (!_internal_has_message()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.message_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageHudMsg::set_allocated_message(std::string* message) { - if (message != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.message_.SetAllocated(message, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageHudMsg.message) -} - -// ------------------------------------------------------------------- - -// CUserMessageHudText - -// optional string message = 1; -inline bool CUserMessageHudText::_internal_has_message() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageHudText::has_message() const { - return _internal_has_message(); -} -inline void CUserMessageHudText::clear_message() { - _impl_.message_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessageHudText::message() const { - // @@protoc_insertion_point(field_get:CUserMessageHudText.message) - return _internal_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageHudText::set_message(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.message_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageHudText.message) -} -inline std::string* CUserMessageHudText::mutable_message() { - std::string* _s = _internal_mutable_message(); - // @@protoc_insertion_point(field_mutable:CUserMessageHudText.message) - return _s; -} -inline const std::string& CUserMessageHudText::_internal_message() const { - return _impl_.message_.Get(); -} -inline void CUserMessageHudText::_internal_set_message(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.message_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageHudText::_internal_mutable_message() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.message_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageHudText::release_message() { - // @@protoc_insertion_point(field_release:CUserMessageHudText.message) - if (!_internal_has_message()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.message_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageHudText::set_allocated_message(std::string* message) { - if (message != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.message_.SetAllocated(message, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageHudText.message) -} - -// ------------------------------------------------------------------- - -// CUserMessageTextMsg - -// optional uint32 dest = 1; -inline bool CUserMessageTextMsg::_internal_has_dest() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageTextMsg::has_dest() const { - return _internal_has_dest(); -} -inline void CUserMessageTextMsg::clear_dest() { - _impl_.dest_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CUserMessageTextMsg::_internal_dest() const { - return _impl_.dest_; -} -inline uint32_t CUserMessageTextMsg::dest() const { - // @@protoc_insertion_point(field_get:CUserMessageTextMsg.dest) - return _internal_dest(); -} -inline void CUserMessageTextMsg::_internal_set_dest(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.dest_ = value; -} -inline void CUserMessageTextMsg::set_dest(uint32_t value) { - _internal_set_dest(value); - // @@protoc_insertion_point(field_set:CUserMessageTextMsg.dest) -} - -// repeated string param = 2; -inline int CUserMessageTextMsg::_internal_param_size() const { - return _impl_.param_.size(); -} -inline int CUserMessageTextMsg::param_size() const { - return _internal_param_size(); -} -inline void CUserMessageTextMsg::clear_param() { - _impl_.param_.Clear(); -} -inline std::string* CUserMessageTextMsg::add_param() { - std::string* _s = _internal_add_param(); - // @@protoc_insertion_point(field_add_mutable:CUserMessageTextMsg.param) - return _s; -} -inline const std::string& CUserMessageTextMsg::_internal_param(int index) const { - return _impl_.param_.Get(index); -} -inline const std::string& CUserMessageTextMsg::param(int index) const { - // @@protoc_insertion_point(field_get:CUserMessageTextMsg.param) - return _internal_param(index); -} -inline std::string* CUserMessageTextMsg::mutable_param(int index) { - // @@protoc_insertion_point(field_mutable:CUserMessageTextMsg.param) - return _impl_.param_.Mutable(index); -} -inline void CUserMessageTextMsg::set_param(int index, const std::string& value) { - _impl_.param_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CUserMessageTextMsg.param) -} -inline void CUserMessageTextMsg::set_param(int index, std::string&& value) { - _impl_.param_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CUserMessageTextMsg.param) -} -inline void CUserMessageTextMsg::set_param(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.param_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CUserMessageTextMsg.param) -} -inline void CUserMessageTextMsg::set_param(int index, const char* value, size_t size) { - _impl_.param_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CUserMessageTextMsg.param) -} -inline std::string* CUserMessageTextMsg::_internal_add_param() { - return _impl_.param_.Add(); -} -inline void CUserMessageTextMsg::add_param(const std::string& value) { - _impl_.param_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CUserMessageTextMsg.param) -} -inline void CUserMessageTextMsg::add_param(std::string&& value) { - _impl_.param_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CUserMessageTextMsg.param) -} -inline void CUserMessageTextMsg::add_param(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.param_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CUserMessageTextMsg.param) -} -inline void CUserMessageTextMsg::add_param(const char* value, size_t size) { - _impl_.param_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CUserMessageTextMsg.param) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CUserMessageTextMsg::param() const { - // @@protoc_insertion_point(field_list:CUserMessageTextMsg.param) - return _impl_.param_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CUserMessageTextMsg::mutable_param() { - // @@protoc_insertion_point(field_mutable_list:CUserMessageTextMsg.param) - return &_impl_.param_; -} - -// ------------------------------------------------------------------- - -// CUserMessageGameTitle - -// ------------------------------------------------------------------- - -// CUserMessageResetHUD - -// ------------------------------------------------------------------- - -// CUserMessageSendAudio - -// optional string soundname = 1; -inline bool CUserMessageSendAudio::_internal_has_soundname() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageSendAudio::has_soundname() const { - return _internal_has_soundname(); -} -inline void CUserMessageSendAudio::clear_soundname() { - _impl_.soundname_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessageSendAudio::soundname() const { - // @@protoc_insertion_point(field_get:CUserMessageSendAudio.soundname) - return _internal_soundname(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageSendAudio::set_soundname(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.soundname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageSendAudio.soundname) -} -inline std::string* CUserMessageSendAudio::mutable_soundname() { - std::string* _s = _internal_mutable_soundname(); - // @@protoc_insertion_point(field_mutable:CUserMessageSendAudio.soundname) - return _s; -} -inline const std::string& CUserMessageSendAudio::_internal_soundname() const { - return _impl_.soundname_.Get(); -} -inline void CUserMessageSendAudio::_internal_set_soundname(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.soundname_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageSendAudio::_internal_mutable_soundname() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.soundname_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageSendAudio::release_soundname() { - // @@protoc_insertion_point(field_release:CUserMessageSendAudio.soundname) - if (!_internal_has_soundname()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.soundname_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.soundname_.IsDefault()) { - _impl_.soundname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageSendAudio::set_allocated_soundname(std::string* soundname) { - if (soundname != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.soundname_.SetAllocated(soundname, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.soundname_.IsDefault()) { - _impl_.soundname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageSendAudio.soundname) -} - -// optional bool stop = 2; -inline bool CUserMessageSendAudio::_internal_has_stop() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageSendAudio::has_stop() const { - return _internal_has_stop(); -} -inline void CUserMessageSendAudio::clear_stop() { - _impl_.stop_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CUserMessageSendAudio::_internal_stop() const { - return _impl_.stop_; -} -inline bool CUserMessageSendAudio::stop() const { - // @@protoc_insertion_point(field_get:CUserMessageSendAudio.stop) - return _internal_stop(); -} -inline void CUserMessageSendAudio::_internal_set_stop(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.stop_ = value; -} -inline void CUserMessageSendAudio::set_stop(bool value) { - _internal_set_stop(value); - // @@protoc_insertion_point(field_set:CUserMessageSendAudio.stop) -} - -// ------------------------------------------------------------------- - -// CUserMessageAudioParameter - -// optional uint32 parameter_type = 1; -inline bool CUserMessageAudioParameter::_internal_has_parameter_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageAudioParameter::has_parameter_type() const { - return _internal_has_parameter_type(); -} -inline void CUserMessageAudioParameter::clear_parameter_type() { - _impl_.parameter_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CUserMessageAudioParameter::_internal_parameter_type() const { - return _impl_.parameter_type_; -} -inline uint32_t CUserMessageAudioParameter::parameter_type() const { - // @@protoc_insertion_point(field_get:CUserMessageAudioParameter.parameter_type) - return _internal_parameter_type(); -} -inline void CUserMessageAudioParameter::_internal_set_parameter_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.parameter_type_ = value; -} -inline void CUserMessageAudioParameter::set_parameter_type(uint32_t value) { - _internal_set_parameter_type(value); - // @@protoc_insertion_point(field_set:CUserMessageAudioParameter.parameter_type) -} - -// optional uint32 name_hash_code = 2; -inline bool CUserMessageAudioParameter::_internal_has_name_hash_code() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageAudioParameter::has_name_hash_code() const { - return _internal_has_name_hash_code(); -} -inline void CUserMessageAudioParameter::clear_name_hash_code() { - _impl_.name_hash_code_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CUserMessageAudioParameter::_internal_name_hash_code() const { - return _impl_.name_hash_code_; -} -inline uint32_t CUserMessageAudioParameter::name_hash_code() const { - // @@protoc_insertion_point(field_get:CUserMessageAudioParameter.name_hash_code) - return _internal_name_hash_code(); -} -inline void CUserMessageAudioParameter::_internal_set_name_hash_code(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.name_hash_code_ = value; -} -inline void CUserMessageAudioParameter::set_name_hash_code(uint32_t value) { - _internal_set_name_hash_code(value); - // @@protoc_insertion_point(field_set:CUserMessageAudioParameter.name_hash_code) -} - -// optional float value = 3; -inline bool CUserMessageAudioParameter::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageAudioParameter::has_value() const { - return _internal_has_value(); -} -inline void CUserMessageAudioParameter::clear_value() { - _impl_.value_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CUserMessageAudioParameter::_internal_value() const { - return _impl_.value_; -} -inline float CUserMessageAudioParameter::value() const { - // @@protoc_insertion_point(field_get:CUserMessageAudioParameter.value) - return _internal_value(); -} -inline void CUserMessageAudioParameter::_internal_set_value(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.value_ = value; -} -inline void CUserMessageAudioParameter::set_value(float value) { - _internal_set_value(value); - // @@protoc_insertion_point(field_set:CUserMessageAudioParameter.value) -} - -// optional uint32 int_value = 4; -inline bool CUserMessageAudioParameter::_internal_has_int_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessageAudioParameter::has_int_value() const { - return _internal_has_int_value(); -} -inline void CUserMessageAudioParameter::clear_int_value() { - _impl_.int_value_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CUserMessageAudioParameter::_internal_int_value() const { - return _impl_.int_value_; -} -inline uint32_t CUserMessageAudioParameter::int_value() const { - // @@protoc_insertion_point(field_get:CUserMessageAudioParameter.int_value) - return _internal_int_value(); -} -inline void CUserMessageAudioParameter::_internal_set_int_value(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.int_value_ = value; -} -inline void CUserMessageAudioParameter::set_int_value(uint32_t value) { - _internal_set_int_value(value); - // @@protoc_insertion_point(field_set:CUserMessageAudioParameter.int_value) -} - -// ------------------------------------------------------------------- - -// CUserMessageVoiceMask - -// repeated uint32 gamerules_masks = 1; -inline int CUserMessageVoiceMask::_internal_gamerules_masks_size() const { - return _impl_.gamerules_masks_.size(); -} -inline int CUserMessageVoiceMask::gamerules_masks_size() const { - return _internal_gamerules_masks_size(); -} -inline void CUserMessageVoiceMask::clear_gamerules_masks() { - _impl_.gamerules_masks_.Clear(); -} -inline uint32_t CUserMessageVoiceMask::_internal_gamerules_masks(int index) const { - return _impl_.gamerules_masks_.Get(index); -} -inline uint32_t CUserMessageVoiceMask::gamerules_masks(int index) const { - // @@protoc_insertion_point(field_get:CUserMessageVoiceMask.gamerules_masks) - return _internal_gamerules_masks(index); -} -inline void CUserMessageVoiceMask::set_gamerules_masks(int index, uint32_t value) { - _impl_.gamerules_masks_.Set(index, value); - // @@protoc_insertion_point(field_set:CUserMessageVoiceMask.gamerules_masks) -} -inline void CUserMessageVoiceMask::_internal_add_gamerules_masks(uint32_t value) { - _impl_.gamerules_masks_.Add(value); -} -inline void CUserMessageVoiceMask::add_gamerules_masks(uint32_t value) { - _internal_add_gamerules_masks(value); - // @@protoc_insertion_point(field_add:CUserMessageVoiceMask.gamerules_masks) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CUserMessageVoiceMask::_internal_gamerules_masks() const { - return _impl_.gamerules_masks_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CUserMessageVoiceMask::gamerules_masks() const { - // @@protoc_insertion_point(field_list:CUserMessageVoiceMask.gamerules_masks) - return _internal_gamerules_masks(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CUserMessageVoiceMask::_internal_mutable_gamerules_masks() { - return &_impl_.gamerules_masks_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CUserMessageVoiceMask::mutable_gamerules_masks() { - // @@protoc_insertion_point(field_mutable_list:CUserMessageVoiceMask.gamerules_masks) - return _internal_mutable_gamerules_masks(); -} - -// repeated uint32 ban_masks = 2; -inline int CUserMessageVoiceMask::_internal_ban_masks_size() const { - return _impl_.ban_masks_.size(); -} -inline int CUserMessageVoiceMask::ban_masks_size() const { - return _internal_ban_masks_size(); -} -inline void CUserMessageVoiceMask::clear_ban_masks() { - _impl_.ban_masks_.Clear(); -} -inline uint32_t CUserMessageVoiceMask::_internal_ban_masks(int index) const { - return _impl_.ban_masks_.Get(index); -} -inline uint32_t CUserMessageVoiceMask::ban_masks(int index) const { - // @@protoc_insertion_point(field_get:CUserMessageVoiceMask.ban_masks) - return _internal_ban_masks(index); -} -inline void CUserMessageVoiceMask::set_ban_masks(int index, uint32_t value) { - _impl_.ban_masks_.Set(index, value); - // @@protoc_insertion_point(field_set:CUserMessageVoiceMask.ban_masks) -} -inline void CUserMessageVoiceMask::_internal_add_ban_masks(uint32_t value) { - _impl_.ban_masks_.Add(value); -} -inline void CUserMessageVoiceMask::add_ban_masks(uint32_t value) { - _internal_add_ban_masks(value); - // @@protoc_insertion_point(field_add:CUserMessageVoiceMask.ban_masks) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CUserMessageVoiceMask::_internal_ban_masks() const { - return _impl_.ban_masks_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CUserMessageVoiceMask::ban_masks() const { - // @@protoc_insertion_point(field_list:CUserMessageVoiceMask.ban_masks) - return _internal_ban_masks(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CUserMessageVoiceMask::_internal_mutable_ban_masks() { - return &_impl_.ban_masks_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CUserMessageVoiceMask::mutable_ban_masks() { - // @@protoc_insertion_point(field_mutable_list:CUserMessageVoiceMask.ban_masks) - return _internal_mutable_ban_masks(); -} - -// optional bool mod_enable = 3; -inline bool CUserMessageVoiceMask::_internal_has_mod_enable() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageVoiceMask::has_mod_enable() const { - return _internal_has_mod_enable(); -} -inline void CUserMessageVoiceMask::clear_mod_enable() { - _impl_.mod_enable_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CUserMessageVoiceMask::_internal_mod_enable() const { - return _impl_.mod_enable_; -} -inline bool CUserMessageVoiceMask::mod_enable() const { - // @@protoc_insertion_point(field_get:CUserMessageVoiceMask.mod_enable) - return _internal_mod_enable(); -} -inline void CUserMessageVoiceMask::_internal_set_mod_enable(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.mod_enable_ = value; -} -inline void CUserMessageVoiceMask::set_mod_enable(bool value) { - _internal_set_mod_enable(value); - // @@protoc_insertion_point(field_set:CUserMessageVoiceMask.mod_enable) -} - -// ------------------------------------------------------------------- - -// CUserMessageRequestState - -// ------------------------------------------------------------------- - -// CUserMessageRumble - -// optional int32 index = 1; -inline bool CUserMessageRumble::_internal_has_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageRumble::has_index() const { - return _internal_has_index(); -} -inline void CUserMessageRumble::clear_index() { - _impl_.index_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CUserMessageRumble::_internal_index() const { - return _impl_.index_; -} -inline int32_t CUserMessageRumble::index() const { - // @@protoc_insertion_point(field_get:CUserMessageRumble.index) - return _internal_index(); -} -inline void CUserMessageRumble::_internal_set_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.index_ = value; -} -inline void CUserMessageRumble::set_index(int32_t value) { - _internal_set_index(value); - // @@protoc_insertion_point(field_set:CUserMessageRumble.index) -} - -// optional int32 data = 2; -inline bool CUserMessageRumble::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageRumble::has_data() const { - return _internal_has_data(); -} -inline void CUserMessageRumble::clear_data() { - _impl_.data_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CUserMessageRumble::_internal_data() const { - return _impl_.data_; -} -inline int32_t CUserMessageRumble::data() const { - // @@protoc_insertion_point(field_get:CUserMessageRumble.data) - return _internal_data(); -} -inline void CUserMessageRumble::_internal_set_data(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.data_ = value; -} -inline void CUserMessageRumble::set_data(int32_t value) { - _internal_set_data(value); - // @@protoc_insertion_point(field_set:CUserMessageRumble.data) -} - -// optional int32 flags = 3; -inline bool CUserMessageRumble::_internal_has_flags() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageRumble::has_flags() const { - return _internal_has_flags(); -} -inline void CUserMessageRumble::clear_flags() { - _impl_.flags_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CUserMessageRumble::_internal_flags() const { - return _impl_.flags_; -} -inline int32_t CUserMessageRumble::flags() const { - // @@protoc_insertion_point(field_get:CUserMessageRumble.flags) - return _internal_flags(); -} -inline void CUserMessageRumble::_internal_set_flags(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.flags_ = value; -} -inline void CUserMessageRumble::set_flags(int32_t value) { - _internal_set_flags(value); - // @@protoc_insertion_point(field_set:CUserMessageRumble.flags) -} - -// ------------------------------------------------------------------- - -// CUserMessageSayTextChannel - -// optional int32 player = 1; -inline bool CUserMessageSayTextChannel::_internal_has_player() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageSayTextChannel::has_player() const { - return _internal_has_player(); -} -inline void CUserMessageSayTextChannel::clear_player() { - _impl_.player_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CUserMessageSayTextChannel::_internal_player() const { - return _impl_.player_; -} -inline int32_t CUserMessageSayTextChannel::player() const { - // @@protoc_insertion_point(field_get:CUserMessageSayTextChannel.player) - return _internal_player(); -} -inline void CUserMessageSayTextChannel::_internal_set_player(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.player_ = value; -} -inline void CUserMessageSayTextChannel::set_player(int32_t value) { - _internal_set_player(value); - // @@protoc_insertion_point(field_set:CUserMessageSayTextChannel.player) -} - -// optional int32 channel = 2; -inline bool CUserMessageSayTextChannel::_internal_has_channel() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageSayTextChannel::has_channel() const { - return _internal_has_channel(); -} -inline void CUserMessageSayTextChannel::clear_channel() { - _impl_.channel_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CUserMessageSayTextChannel::_internal_channel() const { - return _impl_.channel_; -} -inline int32_t CUserMessageSayTextChannel::channel() const { - // @@protoc_insertion_point(field_get:CUserMessageSayTextChannel.channel) - return _internal_channel(); -} -inline void CUserMessageSayTextChannel::_internal_set_channel(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.channel_ = value; -} -inline void CUserMessageSayTextChannel::set_channel(int32_t value) { - _internal_set_channel(value); - // @@protoc_insertion_point(field_set:CUserMessageSayTextChannel.channel) -} - -// optional string text = 3; -inline bool CUserMessageSayTextChannel::_internal_has_text() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageSayTextChannel::has_text() const { - return _internal_has_text(); -} -inline void CUserMessageSayTextChannel::clear_text() { - _impl_.text_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessageSayTextChannel::text() const { - // @@protoc_insertion_point(field_get:CUserMessageSayTextChannel.text) - return _internal_text(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageSayTextChannel::set_text(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageSayTextChannel.text) -} -inline std::string* CUserMessageSayTextChannel::mutable_text() { - std::string* _s = _internal_mutable_text(); - // @@protoc_insertion_point(field_mutable:CUserMessageSayTextChannel.text) - return _s; -} -inline const std::string& CUserMessageSayTextChannel::_internal_text() const { - return _impl_.text_.Get(); -} -inline void CUserMessageSayTextChannel::_internal_set_text(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageSayTextChannel::_internal_mutable_text() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.text_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageSayTextChannel::release_text() { - // @@protoc_insertion_point(field_release:CUserMessageSayTextChannel.text) - if (!_internal_has_text()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.text_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageSayTextChannel::set_allocated_text(std::string* text) { - if (text != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.text_.SetAllocated(text, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageSayTextChannel.text) -} - -// ------------------------------------------------------------------- - -// CUserMessageColoredText - -// optional uint32 color = 1; -inline bool CUserMessageColoredText::_internal_has_color() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageColoredText::has_color() const { - return _internal_has_color(); -} -inline void CUserMessageColoredText::clear_color() { - _impl_.color_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CUserMessageColoredText::_internal_color() const { - return _impl_.color_; -} -inline uint32_t CUserMessageColoredText::color() const { - // @@protoc_insertion_point(field_get:CUserMessageColoredText.color) - return _internal_color(); -} -inline void CUserMessageColoredText::_internal_set_color(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.color_ = value; -} -inline void CUserMessageColoredText::set_color(uint32_t value) { - _internal_set_color(value); - // @@protoc_insertion_point(field_set:CUserMessageColoredText.color) -} - -// optional string text = 2; -inline bool CUserMessageColoredText::_internal_has_text() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageColoredText::has_text() const { - return _internal_has_text(); -} -inline void CUserMessageColoredText::clear_text() { - _impl_.text_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessageColoredText::text() const { - // @@protoc_insertion_point(field_get:CUserMessageColoredText.text) - return _internal_text(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageColoredText::set_text(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageColoredText.text) -} -inline std::string* CUserMessageColoredText::mutable_text() { - std::string* _s = _internal_mutable_text(); - // @@protoc_insertion_point(field_mutable:CUserMessageColoredText.text) - return _s; -} -inline const std::string& CUserMessageColoredText::_internal_text() const { - return _impl_.text_.Get(); -} -inline void CUserMessageColoredText::_internal_set_text(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageColoredText::_internal_mutable_text() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.text_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageColoredText::release_text() { - // @@protoc_insertion_point(field_release:CUserMessageColoredText.text) - if (!_internal_has_text()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.text_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageColoredText::set_allocated_text(std::string* text) { - if (text != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.text_.SetAllocated(text, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageColoredText.text) -} - -// optional bool reset = 3; -inline bool CUserMessageColoredText::_internal_has_reset() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageColoredText::has_reset() const { - return _internal_has_reset(); -} -inline void CUserMessageColoredText::clear_reset() { - _impl_.reset_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CUserMessageColoredText::_internal_reset() const { - return _impl_.reset_; -} -inline bool CUserMessageColoredText::reset() const { - // @@protoc_insertion_point(field_get:CUserMessageColoredText.reset) - return _internal_reset(); -} -inline void CUserMessageColoredText::_internal_set_reset(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.reset_ = value; -} -inline void CUserMessageColoredText::set_reset(bool value) { - _internal_set_reset(value); - // @@protoc_insertion_point(field_set:CUserMessageColoredText.reset) -} - -// optional int32 context_player_slot = 4 [default = -1]; -inline bool CUserMessageColoredText::_internal_has_context_player_slot() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CUserMessageColoredText::has_context_player_slot() const { - return _internal_has_context_player_slot(); -} -inline void CUserMessageColoredText::clear_context_player_slot() { - _impl_.context_player_slot_ = -1; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CUserMessageColoredText::_internal_context_player_slot() const { - return _impl_.context_player_slot_; -} -inline int32_t CUserMessageColoredText::context_player_slot() const { - // @@protoc_insertion_point(field_get:CUserMessageColoredText.context_player_slot) - return _internal_context_player_slot(); -} -inline void CUserMessageColoredText::_internal_set_context_player_slot(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.context_player_slot_ = value; -} -inline void CUserMessageColoredText::set_context_player_slot(int32_t value) { - _internal_set_context_player_slot(value); - // @@protoc_insertion_point(field_set:CUserMessageColoredText.context_player_slot) -} - -// optional int32 context_value = 5; -inline bool CUserMessageColoredText::_internal_has_context_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessageColoredText::has_context_value() const { - return _internal_has_context_value(); -} -inline void CUserMessageColoredText::clear_context_value() { - _impl_.context_value_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CUserMessageColoredText::_internal_context_value() const { - return _impl_.context_value_; -} -inline int32_t CUserMessageColoredText::context_value() const { - // @@protoc_insertion_point(field_get:CUserMessageColoredText.context_value) - return _internal_context_value(); -} -inline void CUserMessageColoredText::_internal_set_context_value(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.context_value_ = value; -} -inline void CUserMessageColoredText::set_context_value(int32_t value) { - _internal_set_context_value(value); - // @@protoc_insertion_point(field_set:CUserMessageColoredText.context_value) -} - -// optional int32 context_team_id = 6; -inline bool CUserMessageColoredText::_internal_has_context_team_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CUserMessageColoredText::has_context_team_id() const { - return _internal_has_context_team_id(); -} -inline void CUserMessageColoredText::clear_context_team_id() { - _impl_.context_team_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CUserMessageColoredText::_internal_context_team_id() const { - return _impl_.context_team_id_; -} -inline int32_t CUserMessageColoredText::context_team_id() const { - // @@protoc_insertion_point(field_get:CUserMessageColoredText.context_team_id) - return _internal_context_team_id(); -} -inline void CUserMessageColoredText::_internal_set_context_team_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.context_team_id_ = value; -} -inline void CUserMessageColoredText::set_context_team_id(int32_t value) { - _internal_set_context_team_id(value); - // @@protoc_insertion_point(field_set:CUserMessageColoredText.context_team_id) -} - -// ------------------------------------------------------------------- - -// CUserMessageItemPickup - -// optional string itemname = 1; -inline bool CUserMessageItemPickup::_internal_has_itemname() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageItemPickup::has_itemname() const { - return _internal_has_itemname(); -} -inline void CUserMessageItemPickup::clear_itemname() { - _impl_.itemname_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessageItemPickup::itemname() const { - // @@protoc_insertion_point(field_get:CUserMessageItemPickup.itemname) - return _internal_itemname(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageItemPickup::set_itemname(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.itemname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageItemPickup.itemname) -} -inline std::string* CUserMessageItemPickup::mutable_itemname() { - std::string* _s = _internal_mutable_itemname(); - // @@protoc_insertion_point(field_mutable:CUserMessageItemPickup.itemname) - return _s; -} -inline const std::string& CUserMessageItemPickup::_internal_itemname() const { - return _impl_.itemname_.Get(); -} -inline void CUserMessageItemPickup::_internal_set_itemname(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.itemname_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageItemPickup::_internal_mutable_itemname() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.itemname_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageItemPickup::release_itemname() { - // @@protoc_insertion_point(field_release:CUserMessageItemPickup.itemname) - if (!_internal_has_itemname()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.itemname_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.itemname_.IsDefault()) { - _impl_.itemname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageItemPickup::set_allocated_itemname(std::string* itemname) { - if (itemname != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.itemname_.SetAllocated(itemname, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.itemname_.IsDefault()) { - _impl_.itemname_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageItemPickup.itemname) -} - -// ------------------------------------------------------------------- - -// CUserMessageAmmoDenied - -// optional uint32 ammo_id = 1; -inline bool CUserMessageAmmoDenied::_internal_has_ammo_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageAmmoDenied::has_ammo_id() const { - return _internal_has_ammo_id(); -} -inline void CUserMessageAmmoDenied::clear_ammo_id() { - _impl_.ammo_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CUserMessageAmmoDenied::_internal_ammo_id() const { - return _impl_.ammo_id_; -} -inline uint32_t CUserMessageAmmoDenied::ammo_id() const { - // @@protoc_insertion_point(field_get:CUserMessageAmmoDenied.ammo_id) - return _internal_ammo_id(); -} -inline void CUserMessageAmmoDenied::_internal_set_ammo_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.ammo_id_ = value; -} -inline void CUserMessageAmmoDenied::set_ammo_id(uint32_t value) { - _internal_set_ammo_id(value); - // @@protoc_insertion_point(field_set:CUserMessageAmmoDenied.ammo_id) -} - -// ------------------------------------------------------------------- - -// CUserMessageShowMenu - -// optional uint32 validslots = 1; -inline bool CUserMessageShowMenu::_internal_has_validslots() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageShowMenu::has_validslots() const { - return _internal_has_validslots(); -} -inline void CUserMessageShowMenu::clear_validslots() { - _impl_.validslots_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CUserMessageShowMenu::_internal_validslots() const { - return _impl_.validslots_; -} -inline uint32_t CUserMessageShowMenu::validslots() const { - // @@protoc_insertion_point(field_get:CUserMessageShowMenu.validslots) - return _internal_validslots(); -} -inline void CUserMessageShowMenu::_internal_set_validslots(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.validslots_ = value; -} -inline void CUserMessageShowMenu::set_validslots(uint32_t value) { - _internal_set_validslots(value); - // @@protoc_insertion_point(field_set:CUserMessageShowMenu.validslots) -} - -// optional uint32 displaytime = 2; -inline bool CUserMessageShowMenu::_internal_has_displaytime() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageShowMenu::has_displaytime() const { - return _internal_has_displaytime(); -} -inline void CUserMessageShowMenu::clear_displaytime() { - _impl_.displaytime_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CUserMessageShowMenu::_internal_displaytime() const { - return _impl_.displaytime_; -} -inline uint32_t CUserMessageShowMenu::displaytime() const { - // @@protoc_insertion_point(field_get:CUserMessageShowMenu.displaytime) - return _internal_displaytime(); -} -inline void CUserMessageShowMenu::_internal_set_displaytime(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.displaytime_ = value; -} -inline void CUserMessageShowMenu::set_displaytime(uint32_t value) { - _internal_set_displaytime(value); - // @@protoc_insertion_point(field_set:CUserMessageShowMenu.displaytime) -} - -// optional bool needmore = 3; -inline bool CUserMessageShowMenu::_internal_has_needmore() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessageShowMenu::has_needmore() const { - return _internal_has_needmore(); -} -inline void CUserMessageShowMenu::clear_needmore() { - _impl_.needmore_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool CUserMessageShowMenu::_internal_needmore() const { - return _impl_.needmore_; -} -inline bool CUserMessageShowMenu::needmore() const { - // @@protoc_insertion_point(field_get:CUserMessageShowMenu.needmore) - return _internal_needmore(); -} -inline void CUserMessageShowMenu::_internal_set_needmore(bool value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.needmore_ = value; -} -inline void CUserMessageShowMenu::set_needmore(bool value) { - _internal_set_needmore(value); - // @@protoc_insertion_point(field_set:CUserMessageShowMenu.needmore) -} - -// optional string menustring = 4; -inline bool CUserMessageShowMenu::_internal_has_menustring() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageShowMenu::has_menustring() const { - return _internal_has_menustring(); -} -inline void CUserMessageShowMenu::clear_menustring() { - _impl_.menustring_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessageShowMenu::menustring() const { - // @@protoc_insertion_point(field_get:CUserMessageShowMenu.menustring) - return _internal_menustring(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageShowMenu::set_menustring(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.menustring_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageShowMenu.menustring) -} -inline std::string* CUserMessageShowMenu::mutable_menustring() { - std::string* _s = _internal_mutable_menustring(); - // @@protoc_insertion_point(field_mutable:CUserMessageShowMenu.menustring) - return _s; -} -inline const std::string& CUserMessageShowMenu::_internal_menustring() const { - return _impl_.menustring_.Get(); -} -inline void CUserMessageShowMenu::_internal_set_menustring(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.menustring_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageShowMenu::_internal_mutable_menustring() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.menustring_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageShowMenu::release_menustring() { - // @@protoc_insertion_point(field_release:CUserMessageShowMenu.menustring) - if (!_internal_has_menustring()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.menustring_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.menustring_.IsDefault()) { - _impl_.menustring_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageShowMenu::set_allocated_menustring(std::string* menustring) { - if (menustring != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.menustring_.SetAllocated(menustring, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.menustring_.IsDefault()) { - _impl_.menustring_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageShowMenu.menustring) -} - -// ------------------------------------------------------------------- - -// CUserMessageCreditsMsg - -// optional .eRollType rolltype = 1 [default = ROLL_NONE]; -inline bool CUserMessageCreditsMsg::_internal_has_rolltype() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageCreditsMsg::has_rolltype() const { - return _internal_has_rolltype(); -} -inline void CUserMessageCreditsMsg::clear_rolltype() { - _impl_.rolltype_ = -1; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::eRollType CUserMessageCreditsMsg::_internal_rolltype() const { - return static_cast< ::eRollType >(_impl_.rolltype_); -} -inline ::eRollType CUserMessageCreditsMsg::rolltype() const { - // @@protoc_insertion_point(field_get:CUserMessageCreditsMsg.rolltype) - return _internal_rolltype(); -} -inline void CUserMessageCreditsMsg::_internal_set_rolltype(::eRollType value) { - assert(::eRollType_IsValid(value)); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.rolltype_ = value; -} -inline void CUserMessageCreditsMsg::set_rolltype(::eRollType value) { - _internal_set_rolltype(value); - // @@protoc_insertion_point(field_set:CUserMessageCreditsMsg.rolltype) -} - -// optional float logo_length = 2; -inline bool CUserMessageCreditsMsg::_internal_has_logo_length() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageCreditsMsg::has_logo_length() const { - return _internal_has_logo_length(); -} -inline void CUserMessageCreditsMsg::clear_logo_length() { - _impl_.logo_length_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CUserMessageCreditsMsg::_internal_logo_length() const { - return _impl_.logo_length_; -} -inline float CUserMessageCreditsMsg::logo_length() const { - // @@protoc_insertion_point(field_get:CUserMessageCreditsMsg.logo_length) - return _internal_logo_length(); -} -inline void CUserMessageCreditsMsg::_internal_set_logo_length(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.logo_length_ = value; -} -inline void CUserMessageCreditsMsg::set_logo_length(float value) { - _internal_set_logo_length(value); - // @@protoc_insertion_point(field_set:CUserMessageCreditsMsg.logo_length) -} - -// ------------------------------------------------------------------- - -// CEntityMessagePlayJingle - -// optional .CEntityMsg entity_msg = 1; -inline bool CEntityMessagePlayJingle::_internal_has_entity_msg() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.entity_msg_ != nullptr); - return value; -} -inline bool CEntityMessagePlayJingle::has_entity_msg() const { - return _internal_has_entity_msg(); -} -inline const ::CEntityMsg& CEntityMessagePlayJingle::_internal_entity_msg() const { - const ::CEntityMsg* p = _impl_.entity_msg_; - return p != nullptr ? *p : reinterpret_cast( - ::_CEntityMsg_default_instance_); -} -inline const ::CEntityMsg& CEntityMessagePlayJingle::entity_msg() const { - // @@protoc_insertion_point(field_get:CEntityMessagePlayJingle.entity_msg) - return _internal_entity_msg(); -} -inline void CEntityMessagePlayJingle::unsafe_arena_set_allocated_entity_msg( - ::CEntityMsg* entity_msg) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); - } - _impl_.entity_msg_ = entity_msg; - if (entity_msg) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CEntityMessagePlayJingle.entity_msg) -} -inline ::CEntityMsg* CEntityMessagePlayJingle::release_entity_msg() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CEntityMsg* temp = _impl_.entity_msg_; - _impl_.entity_msg_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CEntityMsg* CEntityMessagePlayJingle::unsafe_arena_release_entity_msg() { - // @@protoc_insertion_point(field_release:CEntityMessagePlayJingle.entity_msg) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CEntityMsg* temp = _impl_.entity_msg_; - _impl_.entity_msg_ = nullptr; - return temp; -} -inline ::CEntityMsg* CEntityMessagePlayJingle::_internal_mutable_entity_msg() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.entity_msg_ == nullptr) { - auto* p = CreateMaybeMessage<::CEntityMsg>(GetArenaForAllocation()); - _impl_.entity_msg_ = p; - } - return _impl_.entity_msg_; -} -inline ::CEntityMsg* CEntityMessagePlayJingle::mutable_entity_msg() { - ::CEntityMsg* _msg = _internal_mutable_entity_msg(); - // @@protoc_insertion_point(field_mutable:CEntityMessagePlayJingle.entity_msg) - return _msg; -} -inline void CEntityMessagePlayJingle::set_allocated_entity_msg(::CEntityMsg* entity_msg) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); - } - if (entity_msg) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(entity_msg)); - if (message_arena != submessage_arena) { - entity_msg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, entity_msg, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.entity_msg_ = entity_msg; - // @@protoc_insertion_point(field_set_allocated:CEntityMessagePlayJingle.entity_msg) -} - -// ------------------------------------------------------------------- - -// CEntityMessageScreenOverlay - -// optional bool start_effect = 1; -inline bool CEntityMessageScreenOverlay::_internal_has_start_effect() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CEntityMessageScreenOverlay::has_start_effect() const { - return _internal_has_start_effect(); -} -inline void CEntityMessageScreenOverlay::clear_start_effect() { - _impl_.start_effect_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CEntityMessageScreenOverlay::_internal_start_effect() const { - return _impl_.start_effect_; -} -inline bool CEntityMessageScreenOverlay::start_effect() const { - // @@protoc_insertion_point(field_get:CEntityMessageScreenOverlay.start_effect) - return _internal_start_effect(); -} -inline void CEntityMessageScreenOverlay::_internal_set_start_effect(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.start_effect_ = value; -} -inline void CEntityMessageScreenOverlay::set_start_effect(bool value) { - _internal_set_start_effect(value); - // @@protoc_insertion_point(field_set:CEntityMessageScreenOverlay.start_effect) -} - -// optional .CEntityMsg entity_msg = 2; -inline bool CEntityMessageScreenOverlay::_internal_has_entity_msg() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.entity_msg_ != nullptr); - return value; -} -inline bool CEntityMessageScreenOverlay::has_entity_msg() const { - return _internal_has_entity_msg(); -} -inline const ::CEntityMsg& CEntityMessageScreenOverlay::_internal_entity_msg() const { - const ::CEntityMsg* p = _impl_.entity_msg_; - return p != nullptr ? *p : reinterpret_cast( - ::_CEntityMsg_default_instance_); -} -inline const ::CEntityMsg& CEntityMessageScreenOverlay::entity_msg() const { - // @@protoc_insertion_point(field_get:CEntityMessageScreenOverlay.entity_msg) - return _internal_entity_msg(); -} -inline void CEntityMessageScreenOverlay::unsafe_arena_set_allocated_entity_msg( - ::CEntityMsg* entity_msg) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); - } - _impl_.entity_msg_ = entity_msg; - if (entity_msg) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CEntityMessageScreenOverlay.entity_msg) -} -inline ::CEntityMsg* CEntityMessageScreenOverlay::release_entity_msg() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CEntityMsg* temp = _impl_.entity_msg_; - _impl_.entity_msg_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CEntityMsg* CEntityMessageScreenOverlay::unsafe_arena_release_entity_msg() { - // @@protoc_insertion_point(field_release:CEntityMessageScreenOverlay.entity_msg) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CEntityMsg* temp = _impl_.entity_msg_; - _impl_.entity_msg_ = nullptr; - return temp; -} -inline ::CEntityMsg* CEntityMessageScreenOverlay::_internal_mutable_entity_msg() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.entity_msg_ == nullptr) { - auto* p = CreateMaybeMessage<::CEntityMsg>(GetArenaForAllocation()); - _impl_.entity_msg_ = p; - } - return _impl_.entity_msg_; -} -inline ::CEntityMsg* CEntityMessageScreenOverlay::mutable_entity_msg() { - ::CEntityMsg* _msg = _internal_mutable_entity_msg(); - // @@protoc_insertion_point(field_mutable:CEntityMessageScreenOverlay.entity_msg) - return _msg; -} -inline void CEntityMessageScreenOverlay::set_allocated_entity_msg(::CEntityMsg* entity_msg) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); - } - if (entity_msg) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(entity_msg)); - if (message_arena != submessage_arena) { - entity_msg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, entity_msg, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.entity_msg_ = entity_msg; - // @@protoc_insertion_point(field_set_allocated:CEntityMessageScreenOverlay.entity_msg) -} - -// ------------------------------------------------------------------- - -// CEntityMessageRemoveAllDecals - -// optional bool remove_decals = 1; -inline bool CEntityMessageRemoveAllDecals::_internal_has_remove_decals() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CEntityMessageRemoveAllDecals::has_remove_decals() const { - return _internal_has_remove_decals(); -} -inline void CEntityMessageRemoveAllDecals::clear_remove_decals() { - _impl_.remove_decals_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CEntityMessageRemoveAllDecals::_internal_remove_decals() const { - return _impl_.remove_decals_; -} -inline bool CEntityMessageRemoveAllDecals::remove_decals() const { - // @@protoc_insertion_point(field_get:CEntityMessageRemoveAllDecals.remove_decals) - return _internal_remove_decals(); -} -inline void CEntityMessageRemoveAllDecals::_internal_set_remove_decals(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.remove_decals_ = value; -} -inline void CEntityMessageRemoveAllDecals::set_remove_decals(bool value) { - _internal_set_remove_decals(value); - // @@protoc_insertion_point(field_set:CEntityMessageRemoveAllDecals.remove_decals) -} - -// optional .CEntityMsg entity_msg = 2; -inline bool CEntityMessageRemoveAllDecals::_internal_has_entity_msg() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.entity_msg_ != nullptr); - return value; -} -inline bool CEntityMessageRemoveAllDecals::has_entity_msg() const { - return _internal_has_entity_msg(); -} -inline const ::CEntityMsg& CEntityMessageRemoveAllDecals::_internal_entity_msg() const { - const ::CEntityMsg* p = _impl_.entity_msg_; - return p != nullptr ? *p : reinterpret_cast( - ::_CEntityMsg_default_instance_); -} -inline const ::CEntityMsg& CEntityMessageRemoveAllDecals::entity_msg() const { - // @@protoc_insertion_point(field_get:CEntityMessageRemoveAllDecals.entity_msg) - return _internal_entity_msg(); -} -inline void CEntityMessageRemoveAllDecals::unsafe_arena_set_allocated_entity_msg( - ::CEntityMsg* entity_msg) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); - } - _impl_.entity_msg_ = entity_msg; - if (entity_msg) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CEntityMessageRemoveAllDecals.entity_msg) -} -inline ::CEntityMsg* CEntityMessageRemoveAllDecals::release_entity_msg() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CEntityMsg* temp = _impl_.entity_msg_; - _impl_.entity_msg_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CEntityMsg* CEntityMessageRemoveAllDecals::unsafe_arena_release_entity_msg() { - // @@protoc_insertion_point(field_release:CEntityMessageRemoveAllDecals.entity_msg) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CEntityMsg* temp = _impl_.entity_msg_; - _impl_.entity_msg_ = nullptr; - return temp; -} -inline ::CEntityMsg* CEntityMessageRemoveAllDecals::_internal_mutable_entity_msg() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.entity_msg_ == nullptr) { - auto* p = CreateMaybeMessage<::CEntityMsg>(GetArenaForAllocation()); - _impl_.entity_msg_ = p; - } - return _impl_.entity_msg_; -} -inline ::CEntityMsg* CEntityMessageRemoveAllDecals::mutable_entity_msg() { - ::CEntityMsg* _msg = _internal_mutable_entity_msg(); - // @@protoc_insertion_point(field_mutable:CEntityMessageRemoveAllDecals.entity_msg) - return _msg; -} -inline void CEntityMessageRemoveAllDecals::set_allocated_entity_msg(::CEntityMsg* entity_msg) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); - } - if (entity_msg) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(entity_msg)); - if (message_arena != submessage_arena) { - entity_msg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, entity_msg, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.entity_msg_ = entity_msg; - // @@protoc_insertion_point(field_set_allocated:CEntityMessageRemoveAllDecals.entity_msg) -} - -// ------------------------------------------------------------------- - -// CEntityMessagePropagateForce - -// optional .CMsgVector impulse = 1; -inline bool CEntityMessagePropagateForce::_internal_has_impulse() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.impulse_ != nullptr); - return value; -} -inline bool CEntityMessagePropagateForce::has_impulse() const { - return _internal_has_impulse(); -} -inline const ::CMsgVector& CEntityMessagePropagateForce::_internal_impulse() const { - const ::CMsgVector* p = _impl_.impulse_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CEntityMessagePropagateForce::impulse() const { - // @@protoc_insertion_point(field_get:CEntityMessagePropagateForce.impulse) - return _internal_impulse(); -} -inline void CEntityMessagePropagateForce::unsafe_arena_set_allocated_impulse( - ::CMsgVector* impulse) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.impulse_); - } - _impl_.impulse_ = impulse; - if (impulse) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CEntityMessagePropagateForce.impulse) -} -inline ::CMsgVector* CEntityMessagePropagateForce::release_impulse() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.impulse_; - _impl_.impulse_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CEntityMessagePropagateForce::unsafe_arena_release_impulse() { - // @@protoc_insertion_point(field_release:CEntityMessagePropagateForce.impulse) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.impulse_; - _impl_.impulse_ = nullptr; - return temp; -} -inline ::CMsgVector* CEntityMessagePropagateForce::_internal_mutable_impulse() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.impulse_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.impulse_ = p; - } - return _impl_.impulse_; -} -inline ::CMsgVector* CEntityMessagePropagateForce::mutable_impulse() { - ::CMsgVector* _msg = _internal_mutable_impulse(); - // @@protoc_insertion_point(field_mutable:CEntityMessagePropagateForce.impulse) - return _msg; -} -inline void CEntityMessagePropagateForce::set_allocated_impulse(::CMsgVector* impulse) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.impulse_); - } - if (impulse) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(impulse)); - if (message_arena != submessage_arena) { - impulse = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, impulse, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.impulse_ = impulse; - // @@protoc_insertion_point(field_set_allocated:CEntityMessagePropagateForce.impulse) -} - -// optional .CEntityMsg entity_msg = 2; -inline bool CEntityMessagePropagateForce::_internal_has_entity_msg() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.entity_msg_ != nullptr); - return value; -} -inline bool CEntityMessagePropagateForce::has_entity_msg() const { - return _internal_has_entity_msg(); -} -inline const ::CEntityMsg& CEntityMessagePropagateForce::_internal_entity_msg() const { - const ::CEntityMsg* p = _impl_.entity_msg_; - return p != nullptr ? *p : reinterpret_cast( - ::_CEntityMsg_default_instance_); -} -inline const ::CEntityMsg& CEntityMessagePropagateForce::entity_msg() const { - // @@protoc_insertion_point(field_get:CEntityMessagePropagateForce.entity_msg) - return _internal_entity_msg(); -} -inline void CEntityMessagePropagateForce::unsafe_arena_set_allocated_entity_msg( - ::CEntityMsg* entity_msg) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); - } - _impl_.entity_msg_ = entity_msg; - if (entity_msg) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CEntityMessagePropagateForce.entity_msg) -} -inline ::CEntityMsg* CEntityMessagePropagateForce::release_entity_msg() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CEntityMsg* temp = _impl_.entity_msg_; - _impl_.entity_msg_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CEntityMsg* CEntityMessagePropagateForce::unsafe_arena_release_entity_msg() { - // @@protoc_insertion_point(field_release:CEntityMessagePropagateForce.entity_msg) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CEntityMsg* temp = _impl_.entity_msg_; - _impl_.entity_msg_ = nullptr; - return temp; -} -inline ::CEntityMsg* CEntityMessagePropagateForce::_internal_mutable_entity_msg() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.entity_msg_ == nullptr) { - auto* p = CreateMaybeMessage<::CEntityMsg>(GetArenaForAllocation()); - _impl_.entity_msg_ = p; - } - return _impl_.entity_msg_; -} -inline ::CEntityMsg* CEntityMessagePropagateForce::mutable_entity_msg() { - ::CEntityMsg* _msg = _internal_mutable_entity_msg(); - // @@protoc_insertion_point(field_mutable:CEntityMessagePropagateForce.entity_msg) - return _msg; -} -inline void CEntityMessagePropagateForce::set_allocated_entity_msg(::CEntityMsg* entity_msg) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); - } - if (entity_msg) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(entity_msg)); - if (message_arena != submessage_arena) { - entity_msg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, entity_msg, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.entity_msg_ = entity_msg; - // @@protoc_insertion_point(field_set_allocated:CEntityMessagePropagateForce.entity_msg) -} - -// ------------------------------------------------------------------- - -// CEntityMessageDoSpark - -// optional .CMsgVector origin = 1; -inline bool CEntityMessageDoSpark::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CEntityMessageDoSpark::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CEntityMessageDoSpark::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CEntityMessageDoSpark::origin() const { - // @@protoc_insertion_point(field_get:CEntityMessageDoSpark.origin) - return _internal_origin(); -} -inline void CEntityMessageDoSpark::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CEntityMessageDoSpark.origin) -} -inline ::CMsgVector* CEntityMessageDoSpark::release_origin() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CEntityMessageDoSpark::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CEntityMessageDoSpark.origin) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CEntityMessageDoSpark::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CEntityMessageDoSpark::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CEntityMessageDoSpark.origin) - return _msg; -} -inline void CEntityMessageDoSpark::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CEntityMessageDoSpark.origin) -} - -// optional int32 entityindex = 2 [default = -1]; -inline bool CEntityMessageDoSpark::_internal_has_entityindex() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CEntityMessageDoSpark::has_entityindex() const { - return _internal_has_entityindex(); -} -inline void CEntityMessageDoSpark::clear_entityindex() { - _impl_.entityindex_ = -1; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t CEntityMessageDoSpark::_internal_entityindex() const { - return _impl_.entityindex_; -} -inline int32_t CEntityMessageDoSpark::entityindex() const { - // @@protoc_insertion_point(field_get:CEntityMessageDoSpark.entityindex) - return _internal_entityindex(); -} -inline void CEntityMessageDoSpark::_internal_set_entityindex(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.entityindex_ = value; -} -inline void CEntityMessageDoSpark::set_entityindex(int32_t value) { - _internal_set_entityindex(value); - // @@protoc_insertion_point(field_set:CEntityMessageDoSpark.entityindex) -} - -// optional float radius = 3; -inline bool CEntityMessageDoSpark::_internal_has_radius() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CEntityMessageDoSpark::has_radius() const { - return _internal_has_radius(); -} -inline void CEntityMessageDoSpark::clear_radius() { - _impl_.radius_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CEntityMessageDoSpark::_internal_radius() const { - return _impl_.radius_; -} -inline float CEntityMessageDoSpark::radius() const { - // @@protoc_insertion_point(field_get:CEntityMessageDoSpark.radius) - return _internal_radius(); -} -inline void CEntityMessageDoSpark::_internal_set_radius(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.radius_ = value; -} -inline void CEntityMessageDoSpark::set_radius(float value) { - _internal_set_radius(value); - // @@protoc_insertion_point(field_set:CEntityMessageDoSpark.radius) -} - -// optional fixed32 color = 4; -inline bool CEntityMessageDoSpark::_internal_has_color() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CEntityMessageDoSpark::has_color() const { - return _internal_has_color(); -} -inline void CEntityMessageDoSpark::clear_color() { - _impl_.color_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CEntityMessageDoSpark::_internal_color() const { - return _impl_.color_; -} -inline uint32_t CEntityMessageDoSpark::color() const { - // @@protoc_insertion_point(field_get:CEntityMessageDoSpark.color) - return _internal_color(); -} -inline void CEntityMessageDoSpark::_internal_set_color(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.color_ = value; -} -inline void CEntityMessageDoSpark::set_color(uint32_t value) { - _internal_set_color(value); - // @@protoc_insertion_point(field_set:CEntityMessageDoSpark.color) -} - -// optional uint32 beams = 5; -inline bool CEntityMessageDoSpark::_internal_has_beams() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CEntityMessageDoSpark::has_beams() const { - return _internal_has_beams(); -} -inline void CEntityMessageDoSpark::clear_beams() { - _impl_.beams_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint32_t CEntityMessageDoSpark::_internal_beams() const { - return _impl_.beams_; -} -inline uint32_t CEntityMessageDoSpark::beams() const { - // @@protoc_insertion_point(field_get:CEntityMessageDoSpark.beams) - return _internal_beams(); -} -inline void CEntityMessageDoSpark::_internal_set_beams(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.beams_ = value; -} -inline void CEntityMessageDoSpark::set_beams(uint32_t value) { - _internal_set_beams(value); - // @@protoc_insertion_point(field_set:CEntityMessageDoSpark.beams) -} - -// optional float thick = 6; -inline bool CEntityMessageDoSpark::_internal_has_thick() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CEntityMessageDoSpark::has_thick() const { - return _internal_has_thick(); -} -inline void CEntityMessageDoSpark::clear_thick() { - _impl_.thick_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline float CEntityMessageDoSpark::_internal_thick() const { - return _impl_.thick_; -} -inline float CEntityMessageDoSpark::thick() const { - // @@protoc_insertion_point(field_get:CEntityMessageDoSpark.thick) - return _internal_thick(); -} -inline void CEntityMessageDoSpark::_internal_set_thick(float value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.thick_ = value; -} -inline void CEntityMessageDoSpark::set_thick(float value) { - _internal_set_thick(value); - // @@protoc_insertion_point(field_set:CEntityMessageDoSpark.thick) -} - -// optional float duration = 7; -inline bool CEntityMessageDoSpark::_internal_has_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CEntityMessageDoSpark::has_duration() const { - return _internal_has_duration(); -} -inline void CEntityMessageDoSpark::clear_duration() { - _impl_.duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline float CEntityMessageDoSpark::_internal_duration() const { - return _impl_.duration_; -} -inline float CEntityMessageDoSpark::duration() const { - // @@protoc_insertion_point(field_get:CEntityMessageDoSpark.duration) - return _internal_duration(); -} -inline void CEntityMessageDoSpark::_internal_set_duration(float value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.duration_ = value; -} -inline void CEntityMessageDoSpark::set_duration(float value) { - _internal_set_duration(value); - // @@protoc_insertion_point(field_set:CEntityMessageDoSpark.duration) -} - -// optional .CEntityMsg entity_msg = 8; -inline bool CEntityMessageDoSpark::_internal_has_entity_msg() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.entity_msg_ != nullptr); - return value; -} -inline bool CEntityMessageDoSpark::has_entity_msg() const { - return _internal_has_entity_msg(); -} -inline const ::CEntityMsg& CEntityMessageDoSpark::_internal_entity_msg() const { - const ::CEntityMsg* p = _impl_.entity_msg_; - return p != nullptr ? *p : reinterpret_cast( - ::_CEntityMsg_default_instance_); -} -inline const ::CEntityMsg& CEntityMessageDoSpark::entity_msg() const { - // @@protoc_insertion_point(field_get:CEntityMessageDoSpark.entity_msg) - return _internal_entity_msg(); -} -inline void CEntityMessageDoSpark::unsafe_arena_set_allocated_entity_msg( - ::CEntityMsg* entity_msg) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); - } - _impl_.entity_msg_ = entity_msg; - if (entity_msg) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CEntityMessageDoSpark.entity_msg) -} -inline ::CEntityMsg* CEntityMessageDoSpark::release_entity_msg() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CEntityMsg* temp = _impl_.entity_msg_; - _impl_.entity_msg_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CEntityMsg* CEntityMessageDoSpark::unsafe_arena_release_entity_msg() { - // @@protoc_insertion_point(field_release:CEntityMessageDoSpark.entity_msg) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CEntityMsg* temp = _impl_.entity_msg_; - _impl_.entity_msg_ = nullptr; - return temp; -} -inline ::CEntityMsg* CEntityMessageDoSpark::_internal_mutable_entity_msg() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.entity_msg_ == nullptr) { - auto* p = CreateMaybeMessage<::CEntityMsg>(GetArenaForAllocation()); - _impl_.entity_msg_ = p; - } - return _impl_.entity_msg_; -} -inline ::CEntityMsg* CEntityMessageDoSpark::mutable_entity_msg() { - ::CEntityMsg* _msg = _internal_mutable_entity_msg(); - // @@protoc_insertion_point(field_mutable:CEntityMessageDoSpark.entity_msg) - return _msg; -} -inline void CEntityMessageDoSpark::set_allocated_entity_msg(::CEntityMsg* entity_msg) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); - } - if (entity_msg) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(entity_msg)); - if (message_arena != submessage_arena) { - entity_msg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, entity_msg, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.entity_msg_ = entity_msg; - // @@protoc_insertion_point(field_set_allocated:CEntityMessageDoSpark.entity_msg) -} - -// ------------------------------------------------------------------- - -// CEntityMessageFixAngle - -// optional bool relative = 1; -inline bool CEntityMessageFixAngle::_internal_has_relative() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CEntityMessageFixAngle::has_relative() const { - return _internal_has_relative(); -} -inline void CEntityMessageFixAngle::clear_relative() { - _impl_.relative_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CEntityMessageFixAngle::_internal_relative() const { - return _impl_.relative_; -} -inline bool CEntityMessageFixAngle::relative() const { - // @@protoc_insertion_point(field_get:CEntityMessageFixAngle.relative) - return _internal_relative(); -} -inline void CEntityMessageFixAngle::_internal_set_relative(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.relative_ = value; -} -inline void CEntityMessageFixAngle::set_relative(bool value) { - _internal_set_relative(value); - // @@protoc_insertion_point(field_set:CEntityMessageFixAngle.relative) -} - -// optional .CMsgQAngle angle = 2; -inline bool CEntityMessageFixAngle::_internal_has_angle() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.angle_ != nullptr); - return value; -} -inline bool CEntityMessageFixAngle::has_angle() const { - return _internal_has_angle(); -} -inline const ::CMsgQAngle& CEntityMessageFixAngle::_internal_angle() const { - const ::CMsgQAngle* p = _impl_.angle_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CEntityMessageFixAngle::angle() const { - // @@protoc_insertion_point(field_get:CEntityMessageFixAngle.angle) - return _internal_angle(); -} -inline void CEntityMessageFixAngle::unsafe_arena_set_allocated_angle( - ::CMsgQAngle* angle) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_); - } - _impl_.angle_ = angle; - if (angle) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CEntityMessageFixAngle.angle) -} -inline ::CMsgQAngle* CEntityMessageFixAngle::release_angle() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgQAngle* temp = _impl_.angle_; - _impl_.angle_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CEntityMessageFixAngle::unsafe_arena_release_angle() { - // @@protoc_insertion_point(field_release:CEntityMessageFixAngle.angle) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgQAngle* temp = _impl_.angle_; - _impl_.angle_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CEntityMessageFixAngle::_internal_mutable_angle() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.angle_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.angle_ = p; - } - return _impl_.angle_; -} -inline ::CMsgQAngle* CEntityMessageFixAngle::mutable_angle() { - ::CMsgQAngle* _msg = _internal_mutable_angle(); - // @@protoc_insertion_point(field_mutable:CEntityMessageFixAngle.angle) - return _msg; -} -inline void CEntityMessageFixAngle::set_allocated_angle(::CMsgQAngle* angle) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_); - } - if (angle) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angle)); - if (message_arena != submessage_arena) { - angle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, angle, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.angle_ = angle; - // @@protoc_insertion_point(field_set_allocated:CEntityMessageFixAngle.angle) -} - -// optional .CEntityMsg entity_msg = 3; -inline bool CEntityMessageFixAngle::_internal_has_entity_msg() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.entity_msg_ != nullptr); - return value; -} -inline bool CEntityMessageFixAngle::has_entity_msg() const { - return _internal_has_entity_msg(); -} -inline const ::CEntityMsg& CEntityMessageFixAngle::_internal_entity_msg() const { - const ::CEntityMsg* p = _impl_.entity_msg_; - return p != nullptr ? *p : reinterpret_cast( - ::_CEntityMsg_default_instance_); -} -inline const ::CEntityMsg& CEntityMessageFixAngle::entity_msg() const { - // @@protoc_insertion_point(field_get:CEntityMessageFixAngle.entity_msg) - return _internal_entity_msg(); -} -inline void CEntityMessageFixAngle::unsafe_arena_set_allocated_entity_msg( - ::CEntityMsg* entity_msg) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); - } - _impl_.entity_msg_ = entity_msg; - if (entity_msg) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CEntityMessageFixAngle.entity_msg) -} -inline ::CEntityMsg* CEntityMessageFixAngle::release_entity_msg() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CEntityMsg* temp = _impl_.entity_msg_; - _impl_.entity_msg_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CEntityMsg* CEntityMessageFixAngle::unsafe_arena_release_entity_msg() { - // @@protoc_insertion_point(field_release:CEntityMessageFixAngle.entity_msg) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CEntityMsg* temp = _impl_.entity_msg_; - _impl_.entity_msg_ = nullptr; - return temp; -} -inline ::CEntityMsg* CEntityMessageFixAngle::_internal_mutable_entity_msg() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.entity_msg_ == nullptr) { - auto* p = CreateMaybeMessage<::CEntityMsg>(GetArenaForAllocation()); - _impl_.entity_msg_ = p; - } - return _impl_.entity_msg_; -} -inline ::CEntityMsg* CEntityMessageFixAngle::mutable_entity_msg() { - ::CEntityMsg* _msg = _internal_mutable_entity_msg(); - // @@protoc_insertion_point(field_mutable:CEntityMessageFixAngle.entity_msg) - return _msg; -} -inline void CEntityMessageFixAngle::set_allocated_entity_msg(::CEntityMsg* entity_msg) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entity_msg_); - } - if (entity_msg) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(entity_msg)); - if (message_arena != submessage_arena) { - entity_msg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, entity_msg, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.entity_msg_ = entity_msg; - // @@protoc_insertion_point(field_set_allocated:CEntityMessageFixAngle.entity_msg) -} - -// ------------------------------------------------------------------- - -// CUserMessageCameraTransition_Transition_DataDriven - -// optional string filename = 1; -inline bool CUserMessageCameraTransition_Transition_DataDriven::_internal_has_filename() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageCameraTransition_Transition_DataDriven::has_filename() const { - return _internal_has_filename(); -} -inline void CUserMessageCameraTransition_Transition_DataDriven::clear_filename() { - _impl_.filename_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessageCameraTransition_Transition_DataDriven::filename() const { - // @@protoc_insertion_point(field_get:CUserMessageCameraTransition.Transition_DataDriven.filename) - return _internal_filename(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageCameraTransition_Transition_DataDriven::set_filename(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.filename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageCameraTransition.Transition_DataDriven.filename) -} -inline std::string* CUserMessageCameraTransition_Transition_DataDriven::mutable_filename() { - std::string* _s = _internal_mutable_filename(); - // @@protoc_insertion_point(field_mutable:CUserMessageCameraTransition.Transition_DataDriven.filename) - return _s; -} -inline const std::string& CUserMessageCameraTransition_Transition_DataDriven::_internal_filename() const { - return _impl_.filename_.Get(); -} -inline void CUserMessageCameraTransition_Transition_DataDriven::_internal_set_filename(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.filename_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageCameraTransition_Transition_DataDriven::_internal_mutable_filename() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.filename_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageCameraTransition_Transition_DataDriven::release_filename() { - // @@protoc_insertion_point(field_release:CUserMessageCameraTransition.Transition_DataDriven.filename) - if (!_internal_has_filename()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.filename_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.filename_.IsDefault()) { - _impl_.filename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageCameraTransition_Transition_DataDriven::set_allocated_filename(std::string* filename) { - if (filename != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.filename_.SetAllocated(filename, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.filename_.IsDefault()) { - _impl_.filename_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageCameraTransition.Transition_DataDriven.filename) -} - -// optional int32 attach_ent_index = 2 [default = -1]; -inline bool CUserMessageCameraTransition_Transition_DataDriven::_internal_has_attach_ent_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageCameraTransition_Transition_DataDriven::has_attach_ent_index() const { - return _internal_has_attach_ent_index(); -} -inline void CUserMessageCameraTransition_Transition_DataDriven::clear_attach_ent_index() { - _impl_.attach_ent_index_ = -1; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CUserMessageCameraTransition_Transition_DataDriven::_internal_attach_ent_index() const { - return _impl_.attach_ent_index_; -} -inline int32_t CUserMessageCameraTransition_Transition_DataDriven::attach_ent_index() const { - // @@protoc_insertion_point(field_get:CUserMessageCameraTransition.Transition_DataDriven.attach_ent_index) - return _internal_attach_ent_index(); -} -inline void CUserMessageCameraTransition_Transition_DataDriven::_internal_set_attach_ent_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.attach_ent_index_ = value; -} -inline void CUserMessageCameraTransition_Transition_DataDriven::set_attach_ent_index(int32_t value) { - _internal_set_attach_ent_index(value); - // @@protoc_insertion_point(field_set:CUserMessageCameraTransition.Transition_DataDriven.attach_ent_index) -} - -// optional float duration = 3; -inline bool CUserMessageCameraTransition_Transition_DataDriven::_internal_has_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageCameraTransition_Transition_DataDriven::has_duration() const { - return _internal_has_duration(); -} -inline void CUserMessageCameraTransition_Transition_DataDriven::clear_duration() { - _impl_.duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CUserMessageCameraTransition_Transition_DataDriven::_internal_duration() const { - return _impl_.duration_; -} -inline float CUserMessageCameraTransition_Transition_DataDriven::duration() const { - // @@protoc_insertion_point(field_get:CUserMessageCameraTransition.Transition_DataDriven.duration) - return _internal_duration(); -} -inline void CUserMessageCameraTransition_Transition_DataDriven::_internal_set_duration(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.duration_ = value; -} -inline void CUserMessageCameraTransition_Transition_DataDriven::set_duration(float value) { - _internal_set_duration(value); - // @@protoc_insertion_point(field_set:CUserMessageCameraTransition.Transition_DataDriven.duration) -} - -// ------------------------------------------------------------------- - -// CUserMessageCameraTransition - -// optional uint32 camera_type = 1; -inline bool CUserMessageCameraTransition::_internal_has_camera_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageCameraTransition::has_camera_type() const { - return _internal_has_camera_type(); -} -inline void CUserMessageCameraTransition::clear_camera_type() { - _impl_.camera_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CUserMessageCameraTransition::_internal_camera_type() const { - return _impl_.camera_type_; -} -inline uint32_t CUserMessageCameraTransition::camera_type() const { - // @@protoc_insertion_point(field_get:CUserMessageCameraTransition.camera_type) - return _internal_camera_type(); -} -inline void CUserMessageCameraTransition::_internal_set_camera_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.camera_type_ = value; -} -inline void CUserMessageCameraTransition::set_camera_type(uint32_t value) { - _internal_set_camera_type(value); - // @@protoc_insertion_point(field_set:CUserMessageCameraTransition.camera_type) -} - -// optional float duration = 2; -inline bool CUserMessageCameraTransition::_internal_has_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageCameraTransition::has_duration() const { - return _internal_has_duration(); -} -inline void CUserMessageCameraTransition::clear_duration() { - _impl_.duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CUserMessageCameraTransition::_internal_duration() const { - return _impl_.duration_; -} -inline float CUserMessageCameraTransition::duration() const { - // @@protoc_insertion_point(field_get:CUserMessageCameraTransition.duration) - return _internal_duration(); -} -inline void CUserMessageCameraTransition::_internal_set_duration(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.duration_ = value; -} -inline void CUserMessageCameraTransition::set_duration(float value) { - _internal_set_duration(value); - // @@protoc_insertion_point(field_set:CUserMessageCameraTransition.duration) -} - -// optional .CUserMessageCameraTransition.Transition_DataDriven params_data_driven = 3; -inline bool CUserMessageCameraTransition::_internal_has_params_data_driven() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.params_data_driven_ != nullptr); - return value; -} -inline bool CUserMessageCameraTransition::has_params_data_driven() const { - return _internal_has_params_data_driven(); -} -inline void CUserMessageCameraTransition::clear_params_data_driven() { - if (_impl_.params_data_driven_ != nullptr) _impl_.params_data_driven_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CUserMessageCameraTransition_Transition_DataDriven& CUserMessageCameraTransition::_internal_params_data_driven() const { - const ::CUserMessageCameraTransition_Transition_DataDriven* p = _impl_.params_data_driven_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMessageCameraTransition_Transition_DataDriven_default_instance_); -} -inline const ::CUserMessageCameraTransition_Transition_DataDriven& CUserMessageCameraTransition::params_data_driven() const { - // @@protoc_insertion_point(field_get:CUserMessageCameraTransition.params_data_driven) - return _internal_params_data_driven(); -} -inline void CUserMessageCameraTransition::unsafe_arena_set_allocated_params_data_driven( - ::CUserMessageCameraTransition_Transition_DataDriven* params_data_driven) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.params_data_driven_); - } - _impl_.params_data_driven_ = params_data_driven; - if (params_data_driven) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMessageCameraTransition.params_data_driven) -} -inline ::CUserMessageCameraTransition_Transition_DataDriven* CUserMessageCameraTransition::release_params_data_driven() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CUserMessageCameraTransition_Transition_DataDriven* temp = _impl_.params_data_driven_; - _impl_.params_data_driven_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMessageCameraTransition_Transition_DataDriven* CUserMessageCameraTransition::unsafe_arena_release_params_data_driven() { - // @@protoc_insertion_point(field_release:CUserMessageCameraTransition.params_data_driven) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CUserMessageCameraTransition_Transition_DataDriven* temp = _impl_.params_data_driven_; - _impl_.params_data_driven_ = nullptr; - return temp; -} -inline ::CUserMessageCameraTransition_Transition_DataDriven* CUserMessageCameraTransition::_internal_mutable_params_data_driven() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.params_data_driven_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMessageCameraTransition_Transition_DataDriven>(GetArenaForAllocation()); - _impl_.params_data_driven_ = p; - } - return _impl_.params_data_driven_; -} -inline ::CUserMessageCameraTransition_Transition_DataDriven* CUserMessageCameraTransition::mutable_params_data_driven() { - ::CUserMessageCameraTransition_Transition_DataDriven* _msg = _internal_mutable_params_data_driven(); - // @@protoc_insertion_point(field_mutable:CUserMessageCameraTransition.params_data_driven) - return _msg; -} -inline void CUserMessageCameraTransition::set_allocated_params_data_driven(::CUserMessageCameraTransition_Transition_DataDriven* params_data_driven) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.params_data_driven_; - } - if (params_data_driven) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(params_data_driven); - if (message_arena != submessage_arena) { - params_data_driven = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, params_data_driven, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.params_data_driven_ = params_data_driven; - // @@protoc_insertion_point(field_set_allocated:CUserMessageCameraTransition.params_data_driven) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_ReleaseParticleIndex - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_CreateParticle - -// optional fixed64 particle_name_index = 1; -inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_particle_name_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_CreateParticle::has_particle_name_index() const { - return _internal_has_particle_name_index(); -} -inline void CUserMsg_ParticleManager_CreateParticle::clear_particle_name_index() { - _impl_.particle_name_index_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint64_t CUserMsg_ParticleManager_CreateParticle::_internal_particle_name_index() const { - return _impl_.particle_name_index_; -} -inline uint64_t CUserMsg_ParticleManager_CreateParticle::particle_name_index() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.particle_name_index) - return _internal_particle_name_index(); -} -inline void CUserMsg_ParticleManager_CreateParticle::_internal_set_particle_name_index(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.particle_name_index_ = value; -} -inline void CUserMsg_ParticleManager_CreateParticle::set_particle_name_index(uint64_t value) { - _internal_set_particle_name_index(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreateParticle.particle_name_index) -} - -// optional int32 attach_type = 2; -inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_attach_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_CreateParticle::has_attach_type() const { - return _internal_has_attach_type(); -} -inline void CUserMsg_ParticleManager_CreateParticle::clear_attach_type() { - _impl_.attach_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CUserMsg_ParticleManager_CreateParticle::_internal_attach_type() const { - return _impl_.attach_type_; -} -inline int32_t CUserMsg_ParticleManager_CreateParticle::attach_type() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.attach_type) - return _internal_attach_type(); -} -inline void CUserMsg_ParticleManager_CreateParticle::_internal_set_attach_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.attach_type_ = value; -} -inline void CUserMsg_ParticleManager_CreateParticle::set_attach_type(int32_t value) { - _internal_set_attach_type(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreateParticle.attach_type) -} - -// optional uint32 entity_handle = 3 [default = 16777215]; -inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_entity_handle() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_CreateParticle::has_entity_handle() const { - return _internal_has_entity_handle(); -} -inline void CUserMsg_ParticleManager_CreateParticle::clear_entity_handle() { - _impl_.entity_handle_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline uint32_t CUserMsg_ParticleManager_CreateParticle::_internal_entity_handle() const { - return _impl_.entity_handle_; -} -inline uint32_t CUserMsg_ParticleManager_CreateParticle::entity_handle() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.entity_handle) - return _internal_entity_handle(); -} -inline void CUserMsg_ParticleManager_CreateParticle::_internal_set_entity_handle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.entity_handle_ = value; -} -inline void CUserMsg_ParticleManager_CreateParticle::set_entity_handle(uint32_t value) { - _internal_set_entity_handle(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreateParticle.entity_handle) -} - -// optional uint32 entity_handle_for_modifiers = 4 [default = 16777215]; -inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_entity_handle_for_modifiers() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_CreateParticle::has_entity_handle_for_modifiers() const { - return _internal_has_entity_handle_for_modifiers(); -} -inline void CUserMsg_ParticleManager_CreateParticle::clear_entity_handle_for_modifiers() { - _impl_.entity_handle_for_modifiers_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline uint32_t CUserMsg_ParticleManager_CreateParticle::_internal_entity_handle_for_modifiers() const { - return _impl_.entity_handle_for_modifiers_; -} -inline uint32_t CUserMsg_ParticleManager_CreateParticle::entity_handle_for_modifiers() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.entity_handle_for_modifiers) - return _internal_entity_handle_for_modifiers(); -} -inline void CUserMsg_ParticleManager_CreateParticle::_internal_set_entity_handle_for_modifiers(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.entity_handle_for_modifiers_ = value; -} -inline void CUserMsg_ParticleManager_CreateParticle::set_entity_handle_for_modifiers(uint32_t value) { - _internal_set_entity_handle_for_modifiers(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreateParticle.entity_handle_for_modifiers) -} - -// optional bool apply_voice_ban_rules = 5; -inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_apply_voice_ban_rules() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_CreateParticle::has_apply_voice_ban_rules() const { - return _internal_has_apply_voice_ban_rules(); -} -inline void CUserMsg_ParticleManager_CreateParticle::clear_apply_voice_ban_rules() { - _impl_.apply_voice_ban_rules_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool CUserMsg_ParticleManager_CreateParticle::_internal_apply_voice_ban_rules() const { - return _impl_.apply_voice_ban_rules_; -} -inline bool CUserMsg_ParticleManager_CreateParticle::apply_voice_ban_rules() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.apply_voice_ban_rules) - return _internal_apply_voice_ban_rules(); -} -inline void CUserMsg_ParticleManager_CreateParticle::_internal_set_apply_voice_ban_rules(bool value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.apply_voice_ban_rules_ = value; -} -inline void CUserMsg_ParticleManager_CreateParticle::set_apply_voice_ban_rules(bool value) { - _internal_set_apply_voice_ban_rules(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreateParticle.apply_voice_ban_rules) -} - -// optional int32 team_behavior = 6; -inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_team_behavior() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_CreateParticle::has_team_behavior() const { - return _internal_has_team_behavior(); -} -inline void CUserMsg_ParticleManager_CreateParticle::clear_team_behavior() { - _impl_.team_behavior_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CUserMsg_ParticleManager_CreateParticle::_internal_team_behavior() const { - return _impl_.team_behavior_; -} -inline int32_t CUserMsg_ParticleManager_CreateParticle::team_behavior() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.team_behavior) - return _internal_team_behavior(); -} -inline void CUserMsg_ParticleManager_CreateParticle::_internal_set_team_behavior(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.team_behavior_ = value; -} -inline void CUserMsg_ParticleManager_CreateParticle::set_team_behavior(int32_t value) { - _internal_set_team_behavior(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreateParticle.team_behavior) -} - -// optional string control_point_configuration = 7; -inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_control_point_configuration() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_CreateParticle::has_control_point_configuration() const { - return _internal_has_control_point_configuration(); -} -inline void CUserMsg_ParticleManager_CreateParticle::clear_control_point_configuration() { - _impl_.control_point_configuration_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMsg_ParticleManager_CreateParticle::control_point_configuration() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.control_point_configuration) - return _internal_control_point_configuration(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMsg_ParticleManager_CreateParticle::set_control_point_configuration(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.control_point_configuration_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreateParticle.control_point_configuration) -} -inline std::string* CUserMsg_ParticleManager_CreateParticle::mutable_control_point_configuration() { - std::string* _s = _internal_mutable_control_point_configuration(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.CreateParticle.control_point_configuration) - return _s; -} -inline const std::string& CUserMsg_ParticleManager_CreateParticle::_internal_control_point_configuration() const { - return _impl_.control_point_configuration_.Get(); -} -inline void CUserMsg_ParticleManager_CreateParticle::_internal_set_control_point_configuration(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.control_point_configuration_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_CreateParticle::_internal_mutable_control_point_configuration() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.control_point_configuration_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_CreateParticle::release_control_point_configuration() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.CreateParticle.control_point_configuration) - if (!_internal_has_control_point_configuration()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.control_point_configuration_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.control_point_configuration_.IsDefault()) { - _impl_.control_point_configuration_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMsg_ParticleManager_CreateParticle::set_allocated_control_point_configuration(std::string* control_point_configuration) { - if (control_point_configuration != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.control_point_configuration_.SetAllocated(control_point_configuration, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.control_point_configuration_.IsDefault()) { - _impl_.control_point_configuration_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.CreateParticle.control_point_configuration) -} - -// optional bool cluster = 8; -inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_cluster() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_CreateParticle::has_cluster() const { - return _internal_has_cluster(); -} -inline void CUserMsg_ParticleManager_CreateParticle::clear_cluster() { - _impl_.cluster_ = false; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline bool CUserMsg_ParticleManager_CreateParticle::_internal_cluster() const { - return _impl_.cluster_; -} -inline bool CUserMsg_ParticleManager_CreateParticle::cluster() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.cluster) - return _internal_cluster(); -} -inline void CUserMsg_ParticleManager_CreateParticle::_internal_set_cluster(bool value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.cluster_ = value; -} -inline void CUserMsg_ParticleManager_CreateParticle::set_cluster(bool value) { - _internal_set_cluster(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreateParticle.cluster) -} - -// optional float endcap_time = 9; -inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_endcap_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_CreateParticle::has_endcap_time() const { - return _internal_has_endcap_time(); -} -inline void CUserMsg_ParticleManager_CreateParticle::clear_endcap_time() { - _impl_.endcap_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline float CUserMsg_ParticleManager_CreateParticle::_internal_endcap_time() const { - return _impl_.endcap_time_; -} -inline float CUserMsg_ParticleManager_CreateParticle::endcap_time() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.endcap_time) - return _internal_endcap_time(); -} -inline void CUserMsg_ParticleManager_CreateParticle::_internal_set_endcap_time(float value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.endcap_time_ = value; -} -inline void CUserMsg_ParticleManager_CreateParticle::set_endcap_time(float value) { - _internal_set_endcap_time(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreateParticle.endcap_time) -} - -// optional .CMsgVector aggregation_position = 10; -inline bool CUserMsg_ParticleManager_CreateParticle::_internal_has_aggregation_position() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.aggregation_position_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_CreateParticle::has_aggregation_position() const { - return _internal_has_aggregation_position(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_CreateParticle::_internal_aggregation_position() const { - const ::CMsgVector* p = _impl_.aggregation_position_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_CreateParticle::aggregation_position() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreateParticle.aggregation_position) - return _internal_aggregation_position(); -} -inline void CUserMsg_ParticleManager_CreateParticle::unsafe_arena_set_allocated_aggregation_position( - ::CMsgVector* aggregation_position) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.aggregation_position_); - } - _impl_.aggregation_position_ = aggregation_position; - if (aggregation_position) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.CreateParticle.aggregation_position) -} -inline ::CMsgVector* CUserMsg_ParticleManager_CreateParticle::release_aggregation_position() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.aggregation_position_; - _impl_.aggregation_position_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_CreateParticle::unsafe_arena_release_aggregation_position() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.CreateParticle.aggregation_position) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.aggregation_position_; - _impl_.aggregation_position_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_CreateParticle::_internal_mutable_aggregation_position() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.aggregation_position_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.aggregation_position_ = p; - } - return _impl_.aggregation_position_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_CreateParticle::mutable_aggregation_position() { - ::CMsgVector* _msg = _internal_mutable_aggregation_position(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.CreateParticle.aggregation_position) - return _msg; -} -inline void CUserMsg_ParticleManager_CreateParticle::set_allocated_aggregation_position(::CMsgVector* aggregation_position) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.aggregation_position_); - } - if (aggregation_position) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(aggregation_position)); - if (message_arena != submessage_arena) { - aggregation_position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, aggregation_position, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.aggregation_position_ = aggregation_position; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.CreateParticle.aggregation_position) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_DestroyParticle - -// optional bool destroy_immediately = 1; -inline bool CUserMsg_ParticleManager_DestroyParticle::_internal_has_destroy_immediately() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_DestroyParticle::has_destroy_immediately() const { - return _internal_has_destroy_immediately(); -} -inline void CUserMsg_ParticleManager_DestroyParticle::clear_destroy_immediately() { - _impl_.destroy_immediately_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CUserMsg_ParticleManager_DestroyParticle::_internal_destroy_immediately() const { - return _impl_.destroy_immediately_; -} -inline bool CUserMsg_ParticleManager_DestroyParticle::destroy_immediately() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.DestroyParticle.destroy_immediately) - return _internal_destroy_immediately(); -} -inline void CUserMsg_ParticleManager_DestroyParticle::_internal_set_destroy_immediately(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.destroy_immediately_ = value; -} -inline void CUserMsg_ParticleManager_DestroyParticle::set_destroy_immediately(bool value) { - _internal_set_destroy_immediately(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.DestroyParticle.destroy_immediately) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_DestroyParticleInvolving - -// optional bool destroy_immediately = 1; -inline bool CUserMsg_ParticleManager_DestroyParticleInvolving::_internal_has_destroy_immediately() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_DestroyParticleInvolving::has_destroy_immediately() const { - return _internal_has_destroy_immediately(); -} -inline void CUserMsg_ParticleManager_DestroyParticleInvolving::clear_destroy_immediately() { - _impl_.destroy_immediately_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CUserMsg_ParticleManager_DestroyParticleInvolving::_internal_destroy_immediately() const { - return _impl_.destroy_immediately_; -} -inline bool CUserMsg_ParticleManager_DestroyParticleInvolving::destroy_immediately() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.DestroyParticleInvolving.destroy_immediately) - return _internal_destroy_immediately(); -} -inline void CUserMsg_ParticleManager_DestroyParticleInvolving::_internal_set_destroy_immediately(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.destroy_immediately_ = value; -} -inline void CUserMsg_ParticleManager_DestroyParticleInvolving::set_destroy_immediately(bool value) { - _internal_set_destroy_immediately(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.DestroyParticleInvolving.destroy_immediately) -} - -// optional uint32 entity_handle = 3 [default = 16777215]; -inline bool CUserMsg_ParticleManager_DestroyParticleInvolving::_internal_has_entity_handle() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_DestroyParticleInvolving::has_entity_handle() const { - return _internal_has_entity_handle(); -} -inline void CUserMsg_ParticleManager_DestroyParticleInvolving::clear_entity_handle() { - _impl_.entity_handle_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CUserMsg_ParticleManager_DestroyParticleInvolving::_internal_entity_handle() const { - return _impl_.entity_handle_; -} -inline uint32_t CUserMsg_ParticleManager_DestroyParticleInvolving::entity_handle() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.DestroyParticleInvolving.entity_handle) - return _internal_entity_handle(); -} -inline void CUserMsg_ParticleManager_DestroyParticleInvolving::_internal_set_entity_handle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.entity_handle_ = value; -} -inline void CUserMsg_ParticleManager_DestroyParticleInvolving::set_entity_handle(uint32_t value) { - _internal_set_entity_handle(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.DestroyParticleInvolving.entity_handle) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_DestroyParticleNamed - -// optional fixed64 particle_name_index = 1; -inline bool CUserMsg_ParticleManager_DestroyParticleNamed::_internal_has_particle_name_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_DestroyParticleNamed::has_particle_name_index() const { - return _internal_has_particle_name_index(); -} -inline void CUserMsg_ParticleManager_DestroyParticleNamed::clear_particle_name_index() { - _impl_.particle_name_index_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint64_t CUserMsg_ParticleManager_DestroyParticleNamed::_internal_particle_name_index() const { - return _impl_.particle_name_index_; -} -inline uint64_t CUserMsg_ParticleManager_DestroyParticleNamed::particle_name_index() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.DestroyParticleNamed.particle_name_index) - return _internal_particle_name_index(); -} -inline void CUserMsg_ParticleManager_DestroyParticleNamed::_internal_set_particle_name_index(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.particle_name_index_ = value; -} -inline void CUserMsg_ParticleManager_DestroyParticleNamed::set_particle_name_index(uint64_t value) { - _internal_set_particle_name_index(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.DestroyParticleNamed.particle_name_index) -} - -// optional uint32 entity_handle = 2 [default = 16777215]; -inline bool CUserMsg_ParticleManager_DestroyParticleNamed::_internal_has_entity_handle() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_DestroyParticleNamed::has_entity_handle() const { - return _internal_has_entity_handle(); -} -inline void CUserMsg_ParticleManager_DestroyParticleNamed::clear_entity_handle() { - _impl_.entity_handle_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CUserMsg_ParticleManager_DestroyParticleNamed::_internal_entity_handle() const { - return _impl_.entity_handle_; -} -inline uint32_t CUserMsg_ParticleManager_DestroyParticleNamed::entity_handle() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.DestroyParticleNamed.entity_handle) - return _internal_entity_handle(); -} -inline void CUserMsg_ParticleManager_DestroyParticleNamed::_internal_set_entity_handle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.entity_handle_ = value; -} -inline void CUserMsg_ParticleManager_DestroyParticleNamed::set_entity_handle(uint32_t value) { - _internal_set_entity_handle(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.DestroyParticleNamed.entity_handle) -} - -// optional bool destroy_immediately = 3; -inline bool CUserMsg_ParticleManager_DestroyParticleNamed::_internal_has_destroy_immediately() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_DestroyParticleNamed::has_destroy_immediately() const { - return _internal_has_destroy_immediately(); -} -inline void CUserMsg_ParticleManager_DestroyParticleNamed::clear_destroy_immediately() { - _impl_.destroy_immediately_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CUserMsg_ParticleManager_DestroyParticleNamed::_internal_destroy_immediately() const { - return _impl_.destroy_immediately_; -} -inline bool CUserMsg_ParticleManager_DestroyParticleNamed::destroy_immediately() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.DestroyParticleNamed.destroy_immediately) - return _internal_destroy_immediately(); -} -inline void CUserMsg_ParticleManager_DestroyParticleNamed::_internal_set_destroy_immediately(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.destroy_immediately_ = value; -} -inline void CUserMsg_ParticleManager_DestroyParticleNamed::set_destroy_immediately(bool value) { - _internal_set_destroy_immediately(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.DestroyParticleNamed.destroy_immediately) -} - -// optional bool play_endcap = 4; -inline bool CUserMsg_ParticleManager_DestroyParticleNamed::_internal_has_play_endcap() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_DestroyParticleNamed::has_play_endcap() const { - return _internal_has_play_endcap(); -} -inline void CUserMsg_ParticleManager_DestroyParticleNamed::clear_play_endcap() { - _impl_.play_endcap_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CUserMsg_ParticleManager_DestroyParticleNamed::_internal_play_endcap() const { - return _impl_.play_endcap_; -} -inline bool CUserMsg_ParticleManager_DestroyParticleNamed::play_endcap() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.DestroyParticleNamed.play_endcap) - return _internal_play_endcap(); -} -inline void CUserMsg_ParticleManager_DestroyParticleNamed::_internal_set_play_endcap(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.play_endcap_ = value; -} -inline void CUserMsg_ParticleManager_DestroyParticleNamed::set_play_endcap(bool value) { - _internal_set_play_endcap(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.DestroyParticleNamed.play_endcap) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_UpdateParticle_OBSOLETE - -// optional int32 control_point = 1; -inline bool CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_internal_has_control_point() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::has_control_point() const { - return _internal_has_control_point(); -} -inline void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::clear_control_point() { - _impl_.control_point_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_internal_control_point() const { - return _impl_.control_point_; -} -inline int32_t CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::control_point() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE.control_point) - return _internal_control_point(); -} -inline void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_internal_set_control_point(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.control_point_ = value; -} -inline void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::set_control_point(int32_t value) { - _internal_set_control_point(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE.control_point) -} - -// optional .CMsgVector position = 2; -inline bool CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_internal_has_position() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::has_position() const { - return _internal_has_position(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_internal_position() const { - const ::CMsgVector* p = _impl_.position_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::position() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE.position) - return _internal_position(); -} -inline void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::unsafe_arena_set_allocated_position( - ::CMsgVector* position) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); - } - _impl_.position_ = position; - if (position) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE.position) -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::release_position() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.position_; - _impl_.position_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::unsafe_arena_release_position() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE.position) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.position_; - _impl_.position_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::_internal_mutable_position() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.position_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.position_ = p; - } - return _impl_.position_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::mutable_position() { - ::CMsgVector* _msg = _internal_mutable_position(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE.position) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateParticle_OBSOLETE::set_allocated_position(::CMsgVector* position) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); - } - if (position) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(position)); - if (message_arena != submessage_arena) { - position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, position, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.position_ = position; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticle_OBSOLETE.position) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE - -// optional int32 control_point = 1; -inline bool CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_internal_has_control_point() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::has_control_point() const { - return _internal_has_control_point(); -} -inline void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::clear_control_point() { - _impl_.control_point_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_internal_control_point() const { - return _impl_.control_point_; -} -inline int32_t CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::control_point() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE.control_point) - return _internal_control_point(); -} -inline void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_internal_set_control_point(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.control_point_ = value; -} -inline void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::set_control_point(int32_t value) { - _internal_set_control_point(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE.control_point) -} - -// optional .CMsgVector forward = 2; -inline bool CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_internal_has_forward() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.forward_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::has_forward() const { - return _internal_has_forward(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_internal_forward() const { - const ::CMsgVector* p = _impl_.forward_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::forward() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE.forward) - return _internal_forward(); -} -inline void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::unsafe_arena_set_allocated_forward( - ::CMsgVector* forward) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.forward_); - } - _impl_.forward_ = forward; - if (forward) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE.forward) -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::release_forward() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.forward_; - _impl_.forward_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::unsafe_arena_release_forward() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE.forward) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.forward_; - _impl_.forward_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::_internal_mutable_forward() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.forward_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.forward_ = p; - } - return _impl_.forward_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::mutable_forward() { - ::CMsgVector* _msg = _internal_mutable_forward(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE.forward) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE::set_allocated_forward(::CMsgVector* forward) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.forward_); - } - if (forward) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(forward)); - if (message_arena != submessage_arena) { - forward = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, forward, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.forward_ = forward; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE.forward) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE - -// optional int32 control_point = 1; -inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_has_control_point() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::has_control_point() const { - return _internal_has_control_point(); -} -inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::clear_control_point() { - _impl_.control_point_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_control_point() const { - return _impl_.control_point_; -} -inline int32_t CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::control_point() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.control_point) - return _internal_control_point(); -} -inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_set_control_point(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.control_point_ = value; -} -inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::set_control_point(int32_t value) { - _internal_set_control_point(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.control_point) -} - -// optional .CMsgVector forward = 2; -inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_has_forward() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.forward_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::has_forward() const { - return _internal_has_forward(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_forward() const { - const ::CMsgVector* p = _impl_.forward_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::forward() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.forward) - return _internal_forward(); -} -inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::unsafe_arena_set_allocated_forward( - ::CMsgVector* forward) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.forward_); - } - _impl_.forward_ = forward; - if (forward) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.forward) -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::release_forward() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.forward_; - _impl_.forward_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::unsafe_arena_release_forward() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.forward) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.forward_; - _impl_.forward_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_mutable_forward() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.forward_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.forward_ = p; - } - return _impl_.forward_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::mutable_forward() { - ::CMsgVector* _msg = _internal_mutable_forward(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.forward) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::set_allocated_forward(::CMsgVector* forward) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.forward_); - } - if (forward) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(forward)); - if (message_arena != submessage_arena) { - forward = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, forward, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.forward_ = forward; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.forward) -} - -// optional .CMsgVector deprecated_right = 3; -inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_has_deprecated_right() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.deprecated_right_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::has_deprecated_right() const { - return _internal_has_deprecated_right(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_deprecated_right() const { - const ::CMsgVector* p = _impl_.deprecated_right_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::deprecated_right() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.deprecated_right) - return _internal_deprecated_right(); -} -inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::unsafe_arena_set_allocated_deprecated_right( - ::CMsgVector* deprecated_right) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.deprecated_right_); - } - _impl_.deprecated_right_ = deprecated_right; - if (deprecated_right) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.deprecated_right) -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::release_deprecated_right() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.deprecated_right_; - _impl_.deprecated_right_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::unsafe_arena_release_deprecated_right() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.deprecated_right) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.deprecated_right_; - _impl_.deprecated_right_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_mutable_deprecated_right() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.deprecated_right_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.deprecated_right_ = p; - } - return _impl_.deprecated_right_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::mutable_deprecated_right() { - ::CMsgVector* _msg = _internal_mutable_deprecated_right(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.deprecated_right) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::set_allocated_deprecated_right(::CMsgVector* deprecated_right) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.deprecated_right_); - } - if (deprecated_right) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(deprecated_right)); - if (message_arena != submessage_arena) { - deprecated_right = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, deprecated_right, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.deprecated_right_ = deprecated_right; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.deprecated_right) -} - -// optional .CMsgVector up = 4; -inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_has_up() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.up_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::has_up() const { - return _internal_has_up(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_up() const { - const ::CMsgVector* p = _impl_.up_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::up() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.up) - return _internal_up(); -} -inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::unsafe_arena_set_allocated_up( - ::CMsgVector* up) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.up_); - } - _impl_.up_ = up; - if (up) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.up) -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::release_up() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.up_; - _impl_.up_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::unsafe_arena_release_up() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.up) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.up_; - _impl_.up_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_mutable_up() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.up_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.up_ = p; - } - return _impl_.up_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::mutable_up() { - ::CMsgVector* _msg = _internal_mutable_up(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.up) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::set_allocated_up(::CMsgVector* up) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.up_); - } - if (up) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(up)); - if (message_arena != submessage_arena) { - up = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, up, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.up_ = up; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.up) -} - -// optional .CMsgVector left = 5; -inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_has_left() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.left_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::has_left() const { - return _internal_has_left(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_left() const { - const ::CMsgVector* p = _impl_.left_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::left() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.left) - return _internal_left(); -} -inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::unsafe_arena_set_allocated_left( - ::CMsgVector* left) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.left_); - } - _impl_.left_ = left; - if (left) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.left) -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::release_left() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgVector* temp = _impl_.left_; - _impl_.left_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::unsafe_arena_release_left() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.left) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgVector* temp = _impl_.left_; - _impl_.left_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::_internal_mutable_left() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.left_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.left_ = p; - } - return _impl_.left_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::mutable_left() { - ::CMsgVector* _msg = _internal_mutable_left(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.left) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE::set_allocated_left(::CMsgVector* left) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.left_); - } - if (left) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(left)); - if (message_arena != submessage_arena) { - left = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, left, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.left_ = left; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE.left) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_UpdateParticleTransform - -// optional int32 control_point = 1; -inline bool CUserMsg_ParticleManager_UpdateParticleTransform::_internal_has_control_point() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleTransform::has_control_point() const { - return _internal_has_control_point(); -} -inline void CUserMsg_ParticleManager_UpdateParticleTransform::clear_control_point() { - _impl_.control_point_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CUserMsg_ParticleManager_UpdateParticleTransform::_internal_control_point() const { - return _impl_.control_point_; -} -inline int32_t CUserMsg_ParticleManager_UpdateParticleTransform::control_point() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleTransform.control_point) - return _internal_control_point(); -} -inline void CUserMsg_ParticleManager_UpdateParticleTransform::_internal_set_control_point(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.control_point_ = value; -} -inline void CUserMsg_ParticleManager_UpdateParticleTransform::set_control_point(int32_t value) { - _internal_set_control_point(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleTransform.control_point) -} - -// optional .CMsgVector position = 2; -inline bool CUserMsg_ParticleManager_UpdateParticleTransform::_internal_has_position() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleTransform::has_position() const { - return _internal_has_position(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleTransform::_internal_position() const { - const ::CMsgVector* p = _impl_.position_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleTransform::position() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleTransform.position) - return _internal_position(); -} -inline void CUserMsg_ParticleManager_UpdateParticleTransform::unsafe_arena_set_allocated_position( - ::CMsgVector* position) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); - } - _impl_.position_ = position; - if (position) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleTransform.position) -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleTransform::release_position() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.position_; - _impl_.position_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleTransform::unsafe_arena_release_position() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleTransform.position) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.position_; - _impl_.position_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleTransform::_internal_mutable_position() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.position_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.position_ = p; - } - return _impl_.position_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleTransform::mutable_position() { - ::CMsgVector* _msg = _internal_mutable_position(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleTransform.position) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateParticleTransform::set_allocated_position(::CMsgVector* position) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); - } - if (position) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(position)); - if (message_arena != submessage_arena) { - position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, position, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.position_ = position; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleTransform.position) -} - -// optional .CMsgQuaternion orientation = 3; -inline bool CUserMsg_ParticleManager_UpdateParticleTransform::_internal_has_orientation() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.orientation_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleTransform::has_orientation() const { - return _internal_has_orientation(); -} -inline const ::CMsgQuaternion& CUserMsg_ParticleManager_UpdateParticleTransform::_internal_orientation() const { - const ::CMsgQuaternion* p = _impl_.orientation_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQuaternion_default_instance_); -} -inline const ::CMsgQuaternion& CUserMsg_ParticleManager_UpdateParticleTransform::orientation() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleTransform.orientation) - return _internal_orientation(); -} -inline void CUserMsg_ParticleManager_UpdateParticleTransform::unsafe_arena_set_allocated_orientation( - ::CMsgQuaternion* orientation) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.orientation_); - } - _impl_.orientation_ = orientation; - if (orientation) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleTransform.orientation) -} -inline ::CMsgQuaternion* CUserMsg_ParticleManager_UpdateParticleTransform::release_orientation() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQuaternion* temp = _impl_.orientation_; - _impl_.orientation_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQuaternion* CUserMsg_ParticleManager_UpdateParticleTransform::unsafe_arena_release_orientation() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleTransform.orientation) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQuaternion* temp = _impl_.orientation_; - _impl_.orientation_ = nullptr; - return temp; -} -inline ::CMsgQuaternion* CUserMsg_ParticleManager_UpdateParticleTransform::_internal_mutable_orientation() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.orientation_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQuaternion>(GetArenaForAllocation()); - _impl_.orientation_ = p; - } - return _impl_.orientation_; -} -inline ::CMsgQuaternion* CUserMsg_ParticleManager_UpdateParticleTransform::mutable_orientation() { - ::CMsgQuaternion* _msg = _internal_mutable_orientation(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleTransform.orientation) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateParticleTransform::set_allocated_orientation(::CMsgQuaternion* orientation) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.orientation_); - } - if (orientation) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(orientation)); - if (message_arena != submessage_arena) { - orientation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, orientation, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.orientation_ = orientation; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleTransform.orientation) -} - -// optional float interpolation_interval = 4; -inline bool CUserMsg_ParticleManager_UpdateParticleTransform::_internal_has_interpolation_interval() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleTransform::has_interpolation_interval() const { - return _internal_has_interpolation_interval(); -} -inline void CUserMsg_ParticleManager_UpdateParticleTransform::clear_interpolation_interval() { - _impl_.interpolation_interval_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CUserMsg_ParticleManager_UpdateParticleTransform::_internal_interpolation_interval() const { - return _impl_.interpolation_interval_; -} -inline float CUserMsg_ParticleManager_UpdateParticleTransform::interpolation_interval() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleTransform.interpolation_interval) - return _internal_interpolation_interval(); -} -inline void CUserMsg_ParticleManager_UpdateParticleTransform::_internal_set_interpolation_interval(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.interpolation_interval_ = value; -} -inline void CUserMsg_ParticleManager_UpdateParticleTransform::set_interpolation_interval(float value) { - _internal_set_interpolation_interval(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleTransform.interpolation_interval) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_UpdateParticleFallback - -// optional int32 control_point = 1; -inline bool CUserMsg_ParticleManager_UpdateParticleFallback::_internal_has_control_point() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleFallback::has_control_point() const { - return _internal_has_control_point(); -} -inline void CUserMsg_ParticleManager_UpdateParticleFallback::clear_control_point() { - _impl_.control_point_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CUserMsg_ParticleManager_UpdateParticleFallback::_internal_control_point() const { - return _impl_.control_point_; -} -inline int32_t CUserMsg_ParticleManager_UpdateParticleFallback::control_point() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleFallback.control_point) - return _internal_control_point(); -} -inline void CUserMsg_ParticleManager_UpdateParticleFallback::_internal_set_control_point(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.control_point_ = value; -} -inline void CUserMsg_ParticleManager_UpdateParticleFallback::set_control_point(int32_t value) { - _internal_set_control_point(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleFallback.control_point) -} - -// optional .CMsgVector position = 2; -inline bool CUserMsg_ParticleManager_UpdateParticleFallback::_internal_has_position() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleFallback::has_position() const { - return _internal_has_position(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleFallback::_internal_position() const { - const ::CMsgVector* p = _impl_.position_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleFallback::position() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleFallback.position) - return _internal_position(); -} -inline void CUserMsg_ParticleManager_UpdateParticleFallback::unsafe_arena_set_allocated_position( - ::CMsgVector* position) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); - } - _impl_.position_ = position; - if (position) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleFallback.position) -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleFallback::release_position() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.position_; - _impl_.position_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleFallback::unsafe_arena_release_position() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleFallback.position) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.position_; - _impl_.position_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleFallback::_internal_mutable_position() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.position_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.position_ = p; - } - return _impl_.position_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleFallback::mutable_position() { - ::CMsgVector* _msg = _internal_mutable_position(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleFallback.position) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateParticleFallback::set_allocated_position(::CMsgVector* position) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); - } - if (position) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(position)); - if (message_arena != submessage_arena) { - position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, position, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.position_ = position; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleFallback.position) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_UpdateParticleOffset - -// optional int32 control_point = 1; -inline bool CUserMsg_ParticleManager_UpdateParticleOffset::_internal_has_control_point() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleOffset::has_control_point() const { - return _internal_has_control_point(); -} -inline void CUserMsg_ParticleManager_UpdateParticleOffset::clear_control_point() { - _impl_.control_point_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CUserMsg_ParticleManager_UpdateParticleOffset::_internal_control_point() const { - return _impl_.control_point_; -} -inline int32_t CUserMsg_ParticleManager_UpdateParticleOffset::control_point() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleOffset.control_point) - return _internal_control_point(); -} -inline void CUserMsg_ParticleManager_UpdateParticleOffset::_internal_set_control_point(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.control_point_ = value; -} -inline void CUserMsg_ParticleManager_UpdateParticleOffset::set_control_point(int32_t value) { - _internal_set_control_point(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleOffset.control_point) -} - -// optional .CMsgVector origin_offset = 2; -inline bool CUserMsg_ParticleManager_UpdateParticleOffset::_internal_has_origin_offset() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_offset_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleOffset::has_origin_offset() const { - return _internal_has_origin_offset(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOffset::_internal_origin_offset() const { - const ::CMsgVector* p = _impl_.origin_offset_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleOffset::origin_offset() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleOffset.origin_offset) - return _internal_origin_offset(); -} -inline void CUserMsg_ParticleManager_UpdateParticleOffset::unsafe_arena_set_allocated_origin_offset( - ::CMsgVector* origin_offset) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_offset_); - } - _impl_.origin_offset_ = origin_offset; - if (origin_offset) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleOffset.origin_offset) -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOffset::release_origin_offset() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_offset_; - _impl_.origin_offset_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOffset::unsafe_arena_release_origin_offset() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleOffset.origin_offset) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_offset_; - _impl_.origin_offset_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOffset::_internal_mutable_origin_offset() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.origin_offset_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_offset_ = p; - } - return _impl_.origin_offset_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleOffset::mutable_origin_offset() { - ::CMsgVector* _msg = _internal_mutable_origin_offset(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleOffset.origin_offset) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateParticleOffset::set_allocated_origin_offset(::CMsgVector* origin_offset) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_offset_); - } - if (origin_offset) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin_offset)); - if (message_arena != submessage_arena) { - origin_offset = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin_offset, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.origin_offset_ = origin_offset; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleOffset.origin_offset) -} - -// optional .CMsgQAngle angle_offset = 3; -inline bool CUserMsg_ParticleManager_UpdateParticleOffset::_internal_has_angle_offset() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.angle_offset_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleOffset::has_angle_offset() const { - return _internal_has_angle_offset(); -} -inline const ::CMsgQAngle& CUserMsg_ParticleManager_UpdateParticleOffset::_internal_angle_offset() const { - const ::CMsgQAngle* p = _impl_.angle_offset_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CUserMsg_ParticleManager_UpdateParticleOffset::angle_offset() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleOffset.angle_offset) - return _internal_angle_offset(); -} -inline void CUserMsg_ParticleManager_UpdateParticleOffset::unsafe_arena_set_allocated_angle_offset( - ::CMsgQAngle* angle_offset) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_offset_); - } - _impl_.angle_offset_ = angle_offset; - if (angle_offset) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleOffset.angle_offset) -} -inline ::CMsgQAngle* CUserMsg_ParticleManager_UpdateParticleOffset::release_angle_offset() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQAngle* temp = _impl_.angle_offset_; - _impl_.angle_offset_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CUserMsg_ParticleManager_UpdateParticleOffset::unsafe_arena_release_angle_offset() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleOffset.angle_offset) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgQAngle* temp = _impl_.angle_offset_; - _impl_.angle_offset_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CUserMsg_ParticleManager_UpdateParticleOffset::_internal_mutable_angle_offset() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.angle_offset_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.angle_offset_ = p; - } - return _impl_.angle_offset_; -} -inline ::CMsgQAngle* CUserMsg_ParticleManager_UpdateParticleOffset::mutable_angle_offset() { - ::CMsgQAngle* _msg = _internal_mutable_angle_offset(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleOffset.angle_offset) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateParticleOffset::set_allocated_angle_offset(::CMsgQAngle* angle_offset) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angle_offset_); - } - if (angle_offset) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angle_offset)); - if (message_arena != submessage_arena) { - angle_offset = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, angle_offset, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.angle_offset_ = angle_offset; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleOffset.angle_offset) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_UpdateParticleEnt - -// optional int32 control_point = 1; -inline bool CUserMsg_ParticleManager_UpdateParticleEnt::_internal_has_control_point() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleEnt::has_control_point() const { - return _internal_has_control_point(); -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::clear_control_point() { - _impl_.control_point_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CUserMsg_ParticleManager_UpdateParticleEnt::_internal_control_point() const { - return _impl_.control_point_; -} -inline int32_t CUserMsg_ParticleManager_UpdateParticleEnt::control_point() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleEnt.control_point) - return _internal_control_point(); -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::_internal_set_control_point(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.control_point_ = value; -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::set_control_point(int32_t value) { - _internal_set_control_point(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleEnt.control_point) -} - -// optional uint32 entity_handle = 2 [default = 16777215]; -inline bool CUserMsg_ParticleManager_UpdateParticleEnt::_internal_has_entity_handle() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleEnt::has_entity_handle() const { - return _internal_has_entity_handle(); -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::clear_entity_handle() { - _impl_.entity_handle_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline uint32_t CUserMsg_ParticleManager_UpdateParticleEnt::_internal_entity_handle() const { - return _impl_.entity_handle_; -} -inline uint32_t CUserMsg_ParticleManager_UpdateParticleEnt::entity_handle() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleEnt.entity_handle) - return _internal_entity_handle(); -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::_internal_set_entity_handle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.entity_handle_ = value; -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::set_entity_handle(uint32_t value) { - _internal_set_entity_handle(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleEnt.entity_handle) -} - -// optional int32 attach_type = 3; -inline bool CUserMsg_ParticleManager_UpdateParticleEnt::_internal_has_attach_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleEnt::has_attach_type() const { - return _internal_has_attach_type(); -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::clear_attach_type() { - _impl_.attach_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CUserMsg_ParticleManager_UpdateParticleEnt::_internal_attach_type() const { - return _impl_.attach_type_; -} -inline int32_t CUserMsg_ParticleManager_UpdateParticleEnt::attach_type() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleEnt.attach_type) - return _internal_attach_type(); -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::_internal_set_attach_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.attach_type_ = value; -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::set_attach_type(int32_t value) { - _internal_set_attach_type(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleEnt.attach_type) -} - -// optional int32 attachment = 4; -inline bool CUserMsg_ParticleManager_UpdateParticleEnt::_internal_has_attachment() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleEnt::has_attachment() const { - return _internal_has_attachment(); -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::clear_attachment() { - _impl_.attachment_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CUserMsg_ParticleManager_UpdateParticleEnt::_internal_attachment() const { - return _impl_.attachment_; -} -inline int32_t CUserMsg_ParticleManager_UpdateParticleEnt::attachment() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleEnt.attachment) - return _internal_attachment(); -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::_internal_set_attachment(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.attachment_ = value; -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::set_attachment(int32_t value) { - _internal_set_attachment(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleEnt.attachment) -} - -// optional .CMsgVector fallback_position = 5; -inline bool CUserMsg_ParticleManager_UpdateParticleEnt::_internal_has_fallback_position() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.fallback_position_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleEnt::has_fallback_position() const { - return _internal_has_fallback_position(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleEnt::_internal_fallback_position() const { - const ::CMsgVector* p = _impl_.fallback_position_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleEnt::fallback_position() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleEnt.fallback_position) - return _internal_fallback_position(); -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::unsafe_arena_set_allocated_fallback_position( - ::CMsgVector* fallback_position) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fallback_position_); - } - _impl_.fallback_position_ = fallback_position; - if (fallback_position) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleEnt.fallback_position) -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleEnt::release_fallback_position() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.fallback_position_; - _impl_.fallback_position_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleEnt::unsafe_arena_release_fallback_position() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleEnt.fallback_position) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.fallback_position_; - _impl_.fallback_position_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleEnt::_internal_mutable_fallback_position() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.fallback_position_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.fallback_position_ = p; - } - return _impl_.fallback_position_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleEnt::mutable_fallback_position() { - ::CMsgVector* _msg = _internal_mutable_fallback_position(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleEnt.fallback_position) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::set_allocated_fallback_position(::CMsgVector* fallback_position) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fallback_position_); - } - if (fallback_position) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(fallback_position)); - if (message_arena != submessage_arena) { - fallback_position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, fallback_position, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.fallback_position_ = fallback_position; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleEnt.fallback_position) -} - -// optional bool include_wearables = 6; -inline bool CUserMsg_ParticleManager_UpdateParticleEnt::_internal_has_include_wearables() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleEnt::has_include_wearables() const { - return _internal_has_include_wearables(); -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::clear_include_wearables() { - _impl_.include_wearables_ = false; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline bool CUserMsg_ParticleManager_UpdateParticleEnt::_internal_include_wearables() const { - return _impl_.include_wearables_; -} -inline bool CUserMsg_ParticleManager_UpdateParticleEnt::include_wearables() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleEnt.include_wearables) - return _internal_include_wearables(); -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::_internal_set_include_wearables(bool value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.include_wearables_ = value; -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::set_include_wearables(bool value) { - _internal_set_include_wearables(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleEnt.include_wearables) -} - -// optional .CMsgVector offset_position = 7; -inline bool CUserMsg_ParticleManager_UpdateParticleEnt::_internal_has_offset_position() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.offset_position_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleEnt::has_offset_position() const { - return _internal_has_offset_position(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleEnt::_internal_offset_position() const { - const ::CMsgVector* p = _impl_.offset_position_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateParticleEnt::offset_position() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleEnt.offset_position) - return _internal_offset_position(); -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::unsafe_arena_set_allocated_offset_position( - ::CMsgVector* offset_position) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.offset_position_); - } - _impl_.offset_position_ = offset_position; - if (offset_position) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleEnt.offset_position) -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleEnt::release_offset_position() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.offset_position_; - _impl_.offset_position_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleEnt::unsafe_arena_release_offset_position() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleEnt.offset_position) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.offset_position_; - _impl_.offset_position_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleEnt::_internal_mutable_offset_position() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.offset_position_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.offset_position_ = p; - } - return _impl_.offset_position_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateParticleEnt::mutable_offset_position() { - ::CMsgVector* _msg = _internal_mutable_offset_position(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleEnt.offset_position) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::set_allocated_offset_position(::CMsgVector* offset_position) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.offset_position_); - } - if (offset_position) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(offset_position)); - if (message_arena != submessage_arena) { - offset_position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, offset_position, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.offset_position_ = offset_position; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleEnt.offset_position) -} - -// optional .CMsgQAngle offset_angles = 8; -inline bool CUserMsg_ParticleManager_UpdateParticleEnt::_internal_has_offset_angles() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.offset_angles_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleEnt::has_offset_angles() const { - return _internal_has_offset_angles(); -} -inline const ::CMsgQAngle& CUserMsg_ParticleManager_UpdateParticleEnt::_internal_offset_angles() const { - const ::CMsgQAngle* p = _impl_.offset_angles_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CUserMsg_ParticleManager_UpdateParticleEnt::offset_angles() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleEnt.offset_angles) - return _internal_offset_angles(); -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::unsafe_arena_set_allocated_offset_angles( - ::CMsgQAngle* offset_angles) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.offset_angles_); - } - _impl_.offset_angles_ = offset_angles; - if (offset_angles) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateParticleEnt.offset_angles) -} -inline ::CMsgQAngle* CUserMsg_ParticleManager_UpdateParticleEnt::release_offset_angles() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgQAngle* temp = _impl_.offset_angles_; - _impl_.offset_angles_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CUserMsg_ParticleManager_UpdateParticleEnt::unsafe_arena_release_offset_angles() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateParticleEnt.offset_angles) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgQAngle* temp = _impl_.offset_angles_; - _impl_.offset_angles_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CUserMsg_ParticleManager_UpdateParticleEnt::_internal_mutable_offset_angles() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.offset_angles_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.offset_angles_ = p; - } - return _impl_.offset_angles_; -} -inline ::CMsgQAngle* CUserMsg_ParticleManager_UpdateParticleEnt::mutable_offset_angles() { - ::CMsgQAngle* _msg = _internal_mutable_offset_angles(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateParticleEnt.offset_angles) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateParticleEnt::set_allocated_offset_angles(::CMsgQAngle* offset_angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.offset_angles_); - } - if (offset_angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(offset_angles)); - if (message_arena != submessage_arena) { - offset_angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, offset_angles, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.offset_angles_ = offset_angles; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateParticleEnt.offset_angles) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_UpdateParticleSetFrozen - -// optional bool set_frozen = 1; -inline bool CUserMsg_ParticleManager_UpdateParticleSetFrozen::_internal_has_set_frozen() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleSetFrozen::has_set_frozen() const { - return _internal_has_set_frozen(); -} -inline void CUserMsg_ParticleManager_UpdateParticleSetFrozen::clear_set_frozen() { - _impl_.set_frozen_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CUserMsg_ParticleManager_UpdateParticleSetFrozen::_internal_set_frozen() const { - return _impl_.set_frozen_; -} -inline bool CUserMsg_ParticleManager_UpdateParticleSetFrozen::set_frozen() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleSetFrozen.set_frozen) - return _internal_set_frozen(); -} -inline void CUserMsg_ParticleManager_UpdateParticleSetFrozen::_internal_set_set_frozen(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.set_frozen_ = value; -} -inline void CUserMsg_ParticleManager_UpdateParticleSetFrozen::set_set_frozen(bool value) { - _internal_set_set_frozen(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleSetFrozen.set_frozen) -} - -// optional float transition_duration = 2; -inline bool CUserMsg_ParticleManager_UpdateParticleSetFrozen::_internal_has_transition_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleSetFrozen::has_transition_duration() const { - return _internal_has_transition_duration(); -} -inline void CUserMsg_ParticleManager_UpdateParticleSetFrozen::clear_transition_duration() { - _impl_.transition_duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CUserMsg_ParticleManager_UpdateParticleSetFrozen::_internal_transition_duration() const { - return _impl_.transition_duration_; -} -inline float CUserMsg_ParticleManager_UpdateParticleSetFrozen::transition_duration() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleSetFrozen.transition_duration) - return _internal_transition_duration(); -} -inline void CUserMsg_ParticleManager_UpdateParticleSetFrozen::_internal_set_transition_duration(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.transition_duration_ = value; -} -inline void CUserMsg_ParticleManager_UpdateParticleSetFrozen::set_transition_duration(float value) { - _internal_set_transition_duration(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleSetFrozen.transition_duration) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_UpdateParticleShouldDraw - -// optional bool should_draw = 1; -inline bool CUserMsg_ParticleManager_UpdateParticleShouldDraw::_internal_has_should_draw() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_UpdateParticleShouldDraw::has_should_draw() const { - return _internal_has_should_draw(); -} -inline void CUserMsg_ParticleManager_UpdateParticleShouldDraw::clear_should_draw() { - _impl_.should_draw_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CUserMsg_ParticleManager_UpdateParticleShouldDraw::_internal_should_draw() const { - return _impl_.should_draw_; -} -inline bool CUserMsg_ParticleManager_UpdateParticleShouldDraw::should_draw() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateParticleShouldDraw.should_draw) - return _internal_should_draw(); -} -inline void CUserMsg_ParticleManager_UpdateParticleShouldDraw::_internal_set_should_draw(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.should_draw_ = value; -} -inline void CUserMsg_ParticleManager_UpdateParticleShouldDraw::set_should_draw(bool value) { - _internal_set_should_draw(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateParticleShouldDraw.should_draw) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_ChangeControlPointAttachment - -// optional int32 attachment_old = 1; -inline bool CUserMsg_ParticleManager_ChangeControlPointAttachment::_internal_has_attachment_old() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_ChangeControlPointAttachment::has_attachment_old() const { - return _internal_has_attachment_old(); -} -inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::clear_attachment_old() { - _impl_.attachment_old_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CUserMsg_ParticleManager_ChangeControlPointAttachment::_internal_attachment_old() const { - return _impl_.attachment_old_; -} -inline int32_t CUserMsg_ParticleManager_ChangeControlPointAttachment::attachment_old() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.ChangeControlPointAttachment.attachment_old) - return _internal_attachment_old(); -} -inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::_internal_set_attachment_old(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.attachment_old_ = value; -} -inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::set_attachment_old(int32_t value) { - _internal_set_attachment_old(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.ChangeControlPointAttachment.attachment_old) -} - -// optional int32 attachment_new = 2; -inline bool CUserMsg_ParticleManager_ChangeControlPointAttachment::_internal_has_attachment_new() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_ChangeControlPointAttachment::has_attachment_new() const { - return _internal_has_attachment_new(); -} -inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::clear_attachment_new() { - _impl_.attachment_new_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CUserMsg_ParticleManager_ChangeControlPointAttachment::_internal_attachment_new() const { - return _impl_.attachment_new_; -} -inline int32_t CUserMsg_ParticleManager_ChangeControlPointAttachment::attachment_new() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.ChangeControlPointAttachment.attachment_new) - return _internal_attachment_new(); -} -inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::_internal_set_attachment_new(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.attachment_new_ = value; -} -inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::set_attachment_new(int32_t value) { - _internal_set_attachment_new(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.ChangeControlPointAttachment.attachment_new) -} - -// optional uint32 entity_handle = 3 [default = 16777215]; -inline bool CUserMsg_ParticleManager_ChangeControlPointAttachment::_internal_has_entity_handle() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_ChangeControlPointAttachment::has_entity_handle() const { - return _internal_has_entity_handle(); -} -inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::clear_entity_handle() { - _impl_.entity_handle_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CUserMsg_ParticleManager_ChangeControlPointAttachment::_internal_entity_handle() const { - return _impl_.entity_handle_; -} -inline uint32_t CUserMsg_ParticleManager_ChangeControlPointAttachment::entity_handle() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.ChangeControlPointAttachment.entity_handle) - return _internal_entity_handle(); -} -inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::_internal_set_entity_handle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.entity_handle_ = value; -} -inline void CUserMsg_ParticleManager_ChangeControlPointAttachment::set_entity_handle(uint32_t value) { - _internal_set_entity_handle(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.ChangeControlPointAttachment.entity_handle) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_UpdateEntityPosition - -// optional uint32 entity_handle = 1 [default = 16777215]; -inline bool CUserMsg_ParticleManager_UpdateEntityPosition::_internal_has_entity_handle() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_UpdateEntityPosition::has_entity_handle() const { - return _internal_has_entity_handle(); -} -inline void CUserMsg_ParticleManager_UpdateEntityPosition::clear_entity_handle() { - _impl_.entity_handle_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CUserMsg_ParticleManager_UpdateEntityPosition::_internal_entity_handle() const { - return _impl_.entity_handle_; -} -inline uint32_t CUserMsg_ParticleManager_UpdateEntityPosition::entity_handle() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateEntityPosition.entity_handle) - return _internal_entity_handle(); -} -inline void CUserMsg_ParticleManager_UpdateEntityPosition::_internal_set_entity_handle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.entity_handle_ = value; -} -inline void CUserMsg_ParticleManager_UpdateEntityPosition::set_entity_handle(uint32_t value) { - _internal_set_entity_handle(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateEntityPosition.entity_handle) -} - -// optional .CMsgVector position = 2; -inline bool CUserMsg_ParticleManager_UpdateEntityPosition::_internal_has_position() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.position_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateEntityPosition::has_position() const { - return _internal_has_position(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateEntityPosition::_internal_position() const { - const ::CMsgVector* p = _impl_.position_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateEntityPosition::position() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateEntityPosition.position) - return _internal_position(); -} -inline void CUserMsg_ParticleManager_UpdateEntityPosition::unsafe_arena_set_allocated_position( - ::CMsgVector* position) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); - } - _impl_.position_ = position; - if (position) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateEntityPosition.position) -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateEntityPosition::release_position() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.position_; - _impl_.position_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateEntityPosition::unsafe_arena_release_position() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateEntityPosition.position) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.position_; - _impl_.position_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateEntityPosition::_internal_mutable_position() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.position_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.position_ = p; - } - return _impl_.position_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateEntityPosition::mutable_position() { - ::CMsgVector* _msg = _internal_mutable_position(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateEntityPosition.position) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateEntityPosition::set_allocated_position(::CMsgVector* position) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_); - } - if (position) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(position)); - if (message_arena != submessage_arena) { - position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, position, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.position_ = position; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateEntityPosition.position) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_SetParticleFoWProperties - -// optional int32 fow_control_point = 1; -inline bool CUserMsg_ParticleManager_SetParticleFoWProperties::_internal_has_fow_control_point() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetParticleFoWProperties::has_fow_control_point() const { - return _internal_has_fow_control_point(); -} -inline void CUserMsg_ParticleManager_SetParticleFoWProperties::clear_fow_control_point() { - _impl_.fow_control_point_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CUserMsg_ParticleManager_SetParticleFoWProperties::_internal_fow_control_point() const { - return _impl_.fow_control_point_; -} -inline int32_t CUserMsg_ParticleManager_SetParticleFoWProperties::fow_control_point() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleFoWProperties.fow_control_point) - return _internal_fow_control_point(); -} -inline void CUserMsg_ParticleManager_SetParticleFoWProperties::_internal_set_fow_control_point(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.fow_control_point_ = value; -} -inline void CUserMsg_ParticleManager_SetParticleFoWProperties::set_fow_control_point(int32_t value) { - _internal_set_fow_control_point(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleFoWProperties.fow_control_point) -} - -// optional int32 fow_control_point2 = 2; -inline bool CUserMsg_ParticleManager_SetParticleFoWProperties::_internal_has_fow_control_point2() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetParticleFoWProperties::has_fow_control_point2() const { - return _internal_has_fow_control_point2(); -} -inline void CUserMsg_ParticleManager_SetParticleFoWProperties::clear_fow_control_point2() { - _impl_.fow_control_point2_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CUserMsg_ParticleManager_SetParticleFoWProperties::_internal_fow_control_point2() const { - return _impl_.fow_control_point2_; -} -inline int32_t CUserMsg_ParticleManager_SetParticleFoWProperties::fow_control_point2() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleFoWProperties.fow_control_point2) - return _internal_fow_control_point2(); -} -inline void CUserMsg_ParticleManager_SetParticleFoWProperties::_internal_set_fow_control_point2(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.fow_control_point2_ = value; -} -inline void CUserMsg_ParticleManager_SetParticleFoWProperties::set_fow_control_point2(int32_t value) { - _internal_set_fow_control_point2(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleFoWProperties.fow_control_point2) -} - -// optional float fow_radius = 3; -inline bool CUserMsg_ParticleManager_SetParticleFoWProperties::_internal_has_fow_radius() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetParticleFoWProperties::has_fow_radius() const { - return _internal_has_fow_radius(); -} -inline void CUserMsg_ParticleManager_SetParticleFoWProperties::clear_fow_radius() { - _impl_.fow_radius_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CUserMsg_ParticleManager_SetParticleFoWProperties::_internal_fow_radius() const { - return _impl_.fow_radius_; -} -inline float CUserMsg_ParticleManager_SetParticleFoWProperties::fow_radius() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleFoWProperties.fow_radius) - return _internal_fow_radius(); -} -inline void CUserMsg_ParticleManager_SetParticleFoWProperties::_internal_set_fow_radius(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.fow_radius_ = value; -} -inline void CUserMsg_ParticleManager_SetParticleFoWProperties::set_fow_radius(float value) { - _internal_set_fow_radius(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleFoWProperties.fow_radius) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_SetParticleShouldCheckFoW - -// optional bool check_fow = 1; -inline bool CUserMsg_ParticleManager_SetParticleShouldCheckFoW::_internal_has_check_fow() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetParticleShouldCheckFoW::has_check_fow() const { - return _internal_has_check_fow(); -} -inline void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::clear_check_fow() { - _impl_.check_fow_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CUserMsg_ParticleManager_SetParticleShouldCheckFoW::_internal_check_fow() const { - return _impl_.check_fow_; -} -inline bool CUserMsg_ParticleManager_SetParticleShouldCheckFoW::check_fow() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleShouldCheckFoW.check_fow) - return _internal_check_fow(); -} -inline void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::_internal_set_check_fow(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.check_fow_ = value; -} -inline void CUserMsg_ParticleManager_SetParticleShouldCheckFoW::set_check_fow(bool value) { - _internal_set_check_fow(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleShouldCheckFoW.check_fow) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_SetControlPointModel - -// optional int32 control_point = 1; -inline bool CUserMsg_ParticleManager_SetControlPointModel::_internal_has_control_point() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetControlPointModel::has_control_point() const { - return _internal_has_control_point(); -} -inline void CUserMsg_ParticleManager_SetControlPointModel::clear_control_point() { - _impl_.control_point_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CUserMsg_ParticleManager_SetControlPointModel::_internal_control_point() const { - return _impl_.control_point_; -} -inline int32_t CUserMsg_ParticleManager_SetControlPointModel::control_point() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetControlPointModel.control_point) - return _internal_control_point(); -} -inline void CUserMsg_ParticleManager_SetControlPointModel::_internal_set_control_point(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.control_point_ = value; -} -inline void CUserMsg_ParticleManager_SetControlPointModel::set_control_point(int32_t value) { - _internal_set_control_point(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetControlPointModel.control_point) -} - -// optional string model_name = 2; -inline bool CUserMsg_ParticleManager_SetControlPointModel::_internal_has_model_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetControlPointModel::has_model_name() const { - return _internal_has_model_name(); -} -inline void CUserMsg_ParticleManager_SetControlPointModel::clear_model_name() { - _impl_.model_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMsg_ParticleManager_SetControlPointModel::model_name() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetControlPointModel.model_name) - return _internal_model_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMsg_ParticleManager_SetControlPointModel::set_model_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.model_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetControlPointModel.model_name) -} -inline std::string* CUserMsg_ParticleManager_SetControlPointModel::mutable_model_name() { - std::string* _s = _internal_mutable_model_name(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetControlPointModel.model_name) - return _s; -} -inline const std::string& CUserMsg_ParticleManager_SetControlPointModel::_internal_model_name() const { - return _impl_.model_name_.Get(); -} -inline void CUserMsg_ParticleManager_SetControlPointModel::_internal_set_model_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.model_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_SetControlPointModel::_internal_mutable_model_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.model_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_SetControlPointModel::release_model_name() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetControlPointModel.model_name) - if (!_internal_has_model_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.model_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.model_name_.IsDefault()) { - _impl_.model_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMsg_ParticleManager_SetControlPointModel::set_allocated_model_name(std::string* model_name) { - if (model_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.model_name_.SetAllocated(model_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.model_name_.IsDefault()) { - _impl_.model_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetControlPointModel.model_name) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_SetControlPointSnapshot - -// optional int32 control_point = 1; -inline bool CUserMsg_ParticleManager_SetControlPointSnapshot::_internal_has_control_point() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetControlPointSnapshot::has_control_point() const { - return _internal_has_control_point(); -} -inline void CUserMsg_ParticleManager_SetControlPointSnapshot::clear_control_point() { - _impl_.control_point_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CUserMsg_ParticleManager_SetControlPointSnapshot::_internal_control_point() const { - return _impl_.control_point_; -} -inline int32_t CUserMsg_ParticleManager_SetControlPointSnapshot::control_point() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetControlPointSnapshot.control_point) - return _internal_control_point(); -} -inline void CUserMsg_ParticleManager_SetControlPointSnapshot::_internal_set_control_point(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.control_point_ = value; -} -inline void CUserMsg_ParticleManager_SetControlPointSnapshot::set_control_point(int32_t value) { - _internal_set_control_point(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetControlPointSnapshot.control_point) -} - -// optional string snapshot_name = 2; -inline bool CUserMsg_ParticleManager_SetControlPointSnapshot::_internal_has_snapshot_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetControlPointSnapshot::has_snapshot_name() const { - return _internal_has_snapshot_name(); -} -inline void CUserMsg_ParticleManager_SetControlPointSnapshot::clear_snapshot_name() { - _impl_.snapshot_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMsg_ParticleManager_SetControlPointSnapshot::snapshot_name() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetControlPointSnapshot.snapshot_name) - return _internal_snapshot_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMsg_ParticleManager_SetControlPointSnapshot::set_snapshot_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.snapshot_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetControlPointSnapshot.snapshot_name) -} -inline std::string* CUserMsg_ParticleManager_SetControlPointSnapshot::mutable_snapshot_name() { - std::string* _s = _internal_mutable_snapshot_name(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetControlPointSnapshot.snapshot_name) - return _s; -} -inline const std::string& CUserMsg_ParticleManager_SetControlPointSnapshot::_internal_snapshot_name() const { - return _impl_.snapshot_name_.Get(); -} -inline void CUserMsg_ParticleManager_SetControlPointSnapshot::_internal_set_snapshot_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.snapshot_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_SetControlPointSnapshot::_internal_mutable_snapshot_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.snapshot_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_SetControlPointSnapshot::release_snapshot_name() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetControlPointSnapshot.snapshot_name) - if (!_internal_has_snapshot_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.snapshot_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.snapshot_name_.IsDefault()) { - _impl_.snapshot_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMsg_ParticleManager_SetControlPointSnapshot::set_allocated_snapshot_name(std::string* snapshot_name) { - if (snapshot_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.snapshot_name_.SetAllocated(snapshot_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.snapshot_name_.IsDefault()) { - _impl_.snapshot_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetControlPointSnapshot.snapshot_name) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_SetParticleText - -// optional string text = 1; -inline bool CUserMsg_ParticleManager_SetParticleText::_internal_has_text() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetParticleText::has_text() const { - return _internal_has_text(); -} -inline void CUserMsg_ParticleManager_SetParticleText::clear_text() { - _impl_.text_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMsg_ParticleManager_SetParticleText::text() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleText.text) - return _internal_text(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMsg_ParticleManager_SetParticleText::set_text(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleText.text) -} -inline std::string* CUserMsg_ParticleManager_SetParticleText::mutable_text() { - std::string* _s = _internal_mutable_text(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetParticleText.text) - return _s; -} -inline const std::string& CUserMsg_ParticleManager_SetParticleText::_internal_text() const { - return _impl_.text_.Get(); -} -inline void CUserMsg_ParticleManager_SetParticleText::_internal_set_text(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.text_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_SetParticleText::_internal_mutable_text() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.text_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_SetParticleText::release_text() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetParticleText.text) - if (!_internal_has_text()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.text_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMsg_ParticleManager_SetParticleText::set_allocated_text(std::string* text) { - if (text != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.text_.SetAllocated(text, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.text_.IsDefault()) { - _impl_.text_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetParticleText.text) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_SetTextureAttribute - -// optional string attribute_name = 1; -inline bool CUserMsg_ParticleManager_SetTextureAttribute::_internal_has_attribute_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetTextureAttribute::has_attribute_name() const { - return _internal_has_attribute_name(); -} -inline void CUserMsg_ParticleManager_SetTextureAttribute::clear_attribute_name() { - _impl_.attribute_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMsg_ParticleManager_SetTextureAttribute::attribute_name() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetTextureAttribute.attribute_name) - return _internal_attribute_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMsg_ParticleManager_SetTextureAttribute::set_attribute_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.attribute_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetTextureAttribute.attribute_name) -} -inline std::string* CUserMsg_ParticleManager_SetTextureAttribute::mutable_attribute_name() { - std::string* _s = _internal_mutable_attribute_name(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetTextureAttribute.attribute_name) - return _s; -} -inline const std::string& CUserMsg_ParticleManager_SetTextureAttribute::_internal_attribute_name() const { - return _impl_.attribute_name_.Get(); -} -inline void CUserMsg_ParticleManager_SetTextureAttribute::_internal_set_attribute_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.attribute_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_SetTextureAttribute::_internal_mutable_attribute_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.attribute_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_SetTextureAttribute::release_attribute_name() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetTextureAttribute.attribute_name) - if (!_internal_has_attribute_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.attribute_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.attribute_name_.IsDefault()) { - _impl_.attribute_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMsg_ParticleManager_SetTextureAttribute::set_allocated_attribute_name(std::string* attribute_name) { - if (attribute_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.attribute_name_.SetAllocated(attribute_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.attribute_name_.IsDefault()) { - _impl_.attribute_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetTextureAttribute.attribute_name) -} - -// optional string texture_name = 2; -inline bool CUserMsg_ParticleManager_SetTextureAttribute::_internal_has_texture_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetTextureAttribute::has_texture_name() const { - return _internal_has_texture_name(); -} -inline void CUserMsg_ParticleManager_SetTextureAttribute::clear_texture_name() { - _impl_.texture_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CUserMsg_ParticleManager_SetTextureAttribute::texture_name() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetTextureAttribute.texture_name) - return _internal_texture_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMsg_ParticleManager_SetTextureAttribute::set_texture_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.texture_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetTextureAttribute.texture_name) -} -inline std::string* CUserMsg_ParticleManager_SetTextureAttribute::mutable_texture_name() { - std::string* _s = _internal_mutable_texture_name(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetTextureAttribute.texture_name) - return _s; -} -inline const std::string& CUserMsg_ParticleManager_SetTextureAttribute::_internal_texture_name() const { - return _impl_.texture_name_.Get(); -} -inline void CUserMsg_ParticleManager_SetTextureAttribute::_internal_set_texture_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.texture_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_SetTextureAttribute::_internal_mutable_texture_name() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.texture_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_SetTextureAttribute::release_texture_name() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetTextureAttribute.texture_name) - if (!_internal_has_texture_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.texture_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.texture_name_.IsDefault()) { - _impl_.texture_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMsg_ParticleManager_SetTextureAttribute::set_allocated_texture_name(std::string* texture_name) { - if (texture_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.texture_name_.SetAllocated(texture_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.texture_name_.IsDefault()) { - _impl_.texture_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetTextureAttribute.texture_name) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_SetSceneObjectGenericFlag - -// optional bool flag_value = 1; -inline bool CUserMsg_ParticleManager_SetSceneObjectGenericFlag::_internal_has_flag_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetSceneObjectGenericFlag::has_flag_value() const { - return _internal_has_flag_value(); -} -inline void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::clear_flag_value() { - _impl_.flag_value_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CUserMsg_ParticleManager_SetSceneObjectGenericFlag::_internal_flag_value() const { - return _impl_.flag_value_; -} -inline bool CUserMsg_ParticleManager_SetSceneObjectGenericFlag::flag_value() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetSceneObjectGenericFlag.flag_value) - return _internal_flag_value(); -} -inline void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::_internal_set_flag_value(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.flag_value_ = value; -} -inline void CUserMsg_ParticleManager_SetSceneObjectGenericFlag::set_flag_value(bool value) { - _internal_set_flag_value(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetSceneObjectGenericFlag.flag_value) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_SetSceneObjectTintAndDesat - -// optional fixed32 tint = 1; -inline bool CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_internal_has_tint() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::has_tint() const { - return _internal_has_tint(); -} -inline void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::clear_tint() { - _impl_.tint_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_internal_tint() const { - return _impl_.tint_; -} -inline uint32_t CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::tint() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat.tint) - return _internal_tint(); -} -inline void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_internal_set_tint(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.tint_ = value; -} -inline void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::set_tint(uint32_t value) { - _internal_set_tint(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat.tint) -} - -// optional float desat = 2; -inline bool CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_internal_has_desat() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::has_desat() const { - return _internal_has_desat(); -} -inline void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::clear_desat() { - _impl_.desat_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_internal_desat() const { - return _impl_.desat_; -} -inline float CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::desat() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat.desat) - return _internal_desat(); -} -inline void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::_internal_set_desat(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.desat_ = value; -} -inline void CUserMsg_ParticleManager_SetSceneObjectTintAndDesat::set_desat(float value) { - _internal_set_desat(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetSceneObjectTintAndDesat.desat) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_ParticleSkipToTime - -// optional float skip_to_time = 1; -inline bool CUserMsg_ParticleManager_ParticleSkipToTime::_internal_has_skip_to_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_ParticleSkipToTime::has_skip_to_time() const { - return _internal_has_skip_to_time(); -} -inline void CUserMsg_ParticleManager_ParticleSkipToTime::clear_skip_to_time() { - _impl_.skip_to_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CUserMsg_ParticleManager_ParticleSkipToTime::_internal_skip_to_time() const { - return _impl_.skip_to_time_; -} -inline float CUserMsg_ParticleManager_ParticleSkipToTime::skip_to_time() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.ParticleSkipToTime.skip_to_time) - return _internal_skip_to_time(); -} -inline void CUserMsg_ParticleManager_ParticleSkipToTime::_internal_set_skip_to_time(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.skip_to_time_ = value; -} -inline void CUserMsg_ParticleManager_ParticleSkipToTime::set_skip_to_time(float value) { - _internal_set_skip_to_time(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.ParticleSkipToTime.skip_to_time) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_ParticleCanFreeze - -// optional bool can_freeze = 1; -inline bool CUserMsg_ParticleManager_ParticleCanFreeze::_internal_has_can_freeze() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_ParticleCanFreeze::has_can_freeze() const { - return _internal_has_can_freeze(); -} -inline void CUserMsg_ParticleManager_ParticleCanFreeze::clear_can_freeze() { - _impl_.can_freeze_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CUserMsg_ParticleManager_ParticleCanFreeze::_internal_can_freeze() const { - return _impl_.can_freeze_; -} -inline bool CUserMsg_ParticleManager_ParticleCanFreeze::can_freeze() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.ParticleCanFreeze.can_freeze) - return _internal_can_freeze(); -} -inline void CUserMsg_ParticleManager_ParticleCanFreeze::_internal_set_can_freeze(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.can_freeze_ = value; -} -inline void CUserMsg_ParticleManager_ParticleCanFreeze::set_can_freeze(bool value) { - _internal_set_can_freeze(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.ParticleCanFreeze.can_freeze) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_ParticleFreezeTransitionOverride - -// optional float freeze_transition_override = 1; -inline bool CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::_internal_has_freeze_transition_override() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::has_freeze_transition_override() const { - return _internal_has_freeze_transition_override(); -} -inline void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::clear_freeze_transition_override() { - _impl_.freeze_transition_override_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::_internal_freeze_transition_override() const { - return _impl_.freeze_transition_override_; -} -inline float CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::freeze_transition_override() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride.freeze_transition_override) - return _internal_freeze_transition_override(); -} -inline void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::_internal_set_freeze_transition_override(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.freeze_transition_override_ = value; -} -inline void CUserMsg_ParticleManager_ParticleFreezeTransitionOverride::set_freeze_transition_override(float value) { - _internal_set_freeze_transition_override(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.ParticleFreezeTransitionOverride.freeze_transition_override) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_FreezeParticleInvolving - -// optional bool set_frozen = 1; -inline bool CUserMsg_ParticleManager_FreezeParticleInvolving::_internal_has_set_frozen() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_FreezeParticleInvolving::has_set_frozen() const { - return _internal_has_set_frozen(); -} -inline void CUserMsg_ParticleManager_FreezeParticleInvolving::clear_set_frozen() { - _impl_.set_frozen_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool CUserMsg_ParticleManager_FreezeParticleInvolving::_internal_set_frozen() const { - return _impl_.set_frozen_; -} -inline bool CUserMsg_ParticleManager_FreezeParticleInvolving::set_frozen() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.FreezeParticleInvolving.set_frozen) - return _internal_set_frozen(); -} -inline void CUserMsg_ParticleManager_FreezeParticleInvolving::_internal_set_set_frozen(bool value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.set_frozen_ = value; -} -inline void CUserMsg_ParticleManager_FreezeParticleInvolving::set_set_frozen(bool value) { - _internal_set_set_frozen(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.FreezeParticleInvolving.set_frozen) -} - -// optional float transition_duration = 2; -inline bool CUserMsg_ParticleManager_FreezeParticleInvolving::_internal_has_transition_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_FreezeParticleInvolving::has_transition_duration() const { - return _internal_has_transition_duration(); -} -inline void CUserMsg_ParticleManager_FreezeParticleInvolving::clear_transition_duration() { - _impl_.transition_duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CUserMsg_ParticleManager_FreezeParticleInvolving::_internal_transition_duration() const { - return _impl_.transition_duration_; -} -inline float CUserMsg_ParticleManager_FreezeParticleInvolving::transition_duration() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.FreezeParticleInvolving.transition_duration) - return _internal_transition_duration(); -} -inline void CUserMsg_ParticleManager_FreezeParticleInvolving::_internal_set_transition_duration(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.transition_duration_ = value; -} -inline void CUserMsg_ParticleManager_FreezeParticleInvolving::set_transition_duration(float value) { - _internal_set_transition_duration(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.FreezeParticleInvolving.transition_duration) -} - -// optional uint32 entity_handle = 3 [default = 16777215]; -inline bool CUserMsg_ParticleManager_FreezeParticleInvolving::_internal_has_entity_handle() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_FreezeParticleInvolving::has_entity_handle() const { - return _internal_has_entity_handle(); -} -inline void CUserMsg_ParticleManager_FreezeParticleInvolving::clear_entity_handle() { - _impl_.entity_handle_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CUserMsg_ParticleManager_FreezeParticleInvolving::_internal_entity_handle() const { - return _impl_.entity_handle_; -} -inline uint32_t CUserMsg_ParticleManager_FreezeParticleInvolving::entity_handle() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.FreezeParticleInvolving.entity_handle) - return _internal_entity_handle(); -} -inline void CUserMsg_ParticleManager_FreezeParticleInvolving::_internal_set_entity_handle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.entity_handle_ = value; -} -inline void CUserMsg_ParticleManager_FreezeParticleInvolving::set_entity_handle(uint32_t value) { - _internal_set_entity_handle(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.FreezeParticleInvolving.entity_handle) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_AddModellistOverrideElement - -// optional string model_name = 1; -inline bool CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_has_model_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_AddModellistOverrideElement::has_model_name() const { - return _internal_has_model_name(); -} -inline void CUserMsg_ParticleManager_AddModellistOverrideElement::clear_model_name() { - _impl_.model_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMsg_ParticleManager_AddModellistOverrideElement::model_name() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddModellistOverrideElement.model_name) - return _internal_model_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMsg_ParticleManager_AddModellistOverrideElement::set_model_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.model_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddModellistOverrideElement.model_name) -} -inline std::string* CUserMsg_ParticleManager_AddModellistOverrideElement::mutable_model_name() { - std::string* _s = _internal_mutable_model_name(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.AddModellistOverrideElement.model_name) - return _s; -} -inline const std::string& CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_model_name() const { - return _impl_.model_name_.Get(); -} -inline void CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_set_model_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.model_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_mutable_model_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.model_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_AddModellistOverrideElement::release_model_name() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.AddModellistOverrideElement.model_name) - if (!_internal_has_model_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.model_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.model_name_.IsDefault()) { - _impl_.model_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMsg_ParticleManager_AddModellistOverrideElement::set_allocated_model_name(std::string* model_name) { - if (model_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.model_name_.SetAllocated(model_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.model_name_.IsDefault()) { - _impl_.model_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.AddModellistOverrideElement.model_name) -} - -// optional float spawn_probability = 2; -inline bool CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_has_spawn_probability() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_AddModellistOverrideElement::has_spawn_probability() const { - return _internal_has_spawn_probability(); -} -inline void CUserMsg_ParticleManager_AddModellistOverrideElement::clear_spawn_probability() { - _impl_.spawn_probability_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_spawn_probability() const { - return _impl_.spawn_probability_; -} -inline float CUserMsg_ParticleManager_AddModellistOverrideElement::spawn_probability() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddModellistOverrideElement.spawn_probability) - return _internal_spawn_probability(); -} -inline void CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_set_spawn_probability(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.spawn_probability_ = value; -} -inline void CUserMsg_ParticleManager_AddModellistOverrideElement::set_spawn_probability(float value) { - _internal_set_spawn_probability(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddModellistOverrideElement.spawn_probability) -} - -// optional uint32 groupid = 3; -inline bool CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_has_groupid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_AddModellistOverrideElement::has_groupid() const { - return _internal_has_groupid(); -} -inline void CUserMsg_ParticleManager_AddModellistOverrideElement::clear_groupid() { - _impl_.groupid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_groupid() const { - return _impl_.groupid_; -} -inline uint32_t CUserMsg_ParticleManager_AddModellistOverrideElement::groupid() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddModellistOverrideElement.groupid) - return _internal_groupid(); -} -inline void CUserMsg_ParticleManager_AddModellistOverrideElement::_internal_set_groupid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.groupid_ = value; -} -inline void CUserMsg_ParticleManager_AddModellistOverrideElement::set_groupid(uint32_t value) { - _internal_set_groupid(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddModellistOverrideElement.groupid) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_ClearModellistOverride - -// optional uint32 groupid = 1; -inline bool CUserMsg_ParticleManager_ClearModellistOverride::_internal_has_groupid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_ClearModellistOverride::has_groupid() const { - return _internal_has_groupid(); -} -inline void CUserMsg_ParticleManager_ClearModellistOverride::clear_groupid() { - _impl_.groupid_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CUserMsg_ParticleManager_ClearModellistOverride::_internal_groupid() const { - return _impl_.groupid_; -} -inline uint32_t CUserMsg_ParticleManager_ClearModellistOverride::groupid() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.ClearModellistOverride.groupid) - return _internal_groupid(); -} -inline void CUserMsg_ParticleManager_ClearModellistOverride::_internal_set_groupid(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.groupid_ = value; -} -inline void CUserMsg_ParticleManager_ClearModellistOverride::set_groupid(uint32_t value) { - _internal_set_groupid(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.ClearModellistOverride.groupid) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue - -// optional uint32 value_name_hash = 1; -inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_internal_has_value_name_hash() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::has_value_name_hash() const { - return _internal_has_value_name_hash(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::clear_value_name_hash() { - _impl_.value_name_hash_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_internal_value_name_hash() const { - return _impl_.value_name_hash_; -} -inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::value_name_hash() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue.value_name_hash) - return _internal_value_name_hash(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_internal_set_value_name_hash(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.value_name_hash_ = value; -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::set_value_name_hash(uint32_t value) { - _internal_set_value_name_hash(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue.value_name_hash) -} - -// optional float value = 2; -inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::has_value() const { - return _internal_has_value(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::clear_value() { - _impl_.value_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_internal_value() const { - return _impl_.value_; -} -inline float CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::value() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue.value) - return _internal_value(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::_internal_set_value(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.value_ = value; -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue::set_value(float value) { - _internal_set_value(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue.value) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue - -// optional uint32 value_name_hash = 1; -inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_internal_has_value_name_hash() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::has_value_name_hash() const { - return _internal_has_value_name_hash(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::clear_value_name_hash() { - _impl_.value_name_hash_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_internal_value_name_hash() const { - return _impl_.value_name_hash_; -} -inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::value_name_hash() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue.value_name_hash) - return _internal_value_name_hash(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_internal_set_value_name_hash(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.value_name_hash_ = value; -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::set_value_name_hash(uint32_t value) { - _internal_set_value_name_hash(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue.value_name_hash) -} - -// optional .CMsgVector value = 2; -inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.value_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::has_value() const { - return _internal_has_value(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_internal_value() const { - const ::CMsgVector* p = _impl_.value_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::value() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue.value) - return _internal_value(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::unsafe_arena_set_allocated_value( - ::CMsgVector* value) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.value_); - } - _impl_.value_ = value; - if (value) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue.value) -} -inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::release_value() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.value_; - _impl_.value_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::unsafe_arena_release_value() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue.value) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.value_; - _impl_.value_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::_internal_mutable_value() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.value_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.value_ = p; - } - return _impl_.value_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::mutable_value() { - ::CMsgVector* _msg = _internal_mutable_value(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue.value) - return _msg; -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue::set_allocated_value(::CMsgVector* value) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.value_); - } - if (value) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(value)); - if (message_arena != submessage_arena) { - value = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.value_ = value; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue.value) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue - -// optional uint32 value_name_hash = 1; -inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_internal_has_value_name_hash() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::has_value_name_hash() const { - return _internal_has_value_name_hash(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::clear_value_name_hash() { - _impl_.value_name_hash_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_internal_value_name_hash() const { - return _impl_.value_name_hash_; -} -inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::value_name_hash() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.value_name_hash) - return _internal_value_name_hash(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_internal_set_value_name_hash(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.value_name_hash_ = value; -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::set_value_name_hash(uint32_t value) { - _internal_set_value_name_hash(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.value_name_hash) -} - -// optional .CMsgQAngle angles = 2; -inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_internal_has_angles() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.angles_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::has_angles() const { - return _internal_has_angles(); -} -inline const ::CMsgQAngle& CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_internal_angles() const { - const ::CMsgQAngle* p = _impl_.angles_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgQAngle_default_instance_); -} -inline const ::CMsgQAngle& CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::angles() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.angles) - return _internal_angles(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::unsafe_arena_set_allocated_angles( - ::CMsgQAngle* angles) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); - } - _impl_.angles_ = angles; - if (angles) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.angles) -} -inline ::CMsgQAngle* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::release_angles() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgQAngle* temp = _impl_.angles_; - _impl_.angles_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgQAngle* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::unsafe_arena_release_angles() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.angles) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgQAngle* temp = _impl_.angles_; - _impl_.angles_ = nullptr; - return temp; -} -inline ::CMsgQAngle* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_internal_mutable_angles() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.angles_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgQAngle>(GetArenaForAllocation()); - _impl_.angles_ = p; - } - return _impl_.angles_; -} -inline ::CMsgQAngle* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::mutable_angles() { - ::CMsgQAngle* _msg = _internal_mutable_angles(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.angles) - return _msg; -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::set_allocated_angles(::CMsgQAngle* angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); - } - if (angles) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(angles)); - if (message_arena != submessage_arena) { - angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, angles, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.angles_ = angles; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.angles) -} - -// optional .CMsgVector translation = 3; -inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_internal_has_translation() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.translation_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::has_translation() const { - return _internal_has_translation(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_internal_translation() const { - const ::CMsgVector* p = _impl_.translation_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::translation() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.translation) - return _internal_translation(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::unsafe_arena_set_allocated_translation( - ::CMsgVector* translation) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.translation_); - } - _impl_.translation_ = translation; - if (translation) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.translation) -} -inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::release_translation() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.translation_; - _impl_.translation_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::unsafe_arena_release_translation() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.translation) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.translation_; - _impl_.translation_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::_internal_mutable_translation() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.translation_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.translation_ = p; - } - return _impl_.translation_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::mutable_translation() { - ::CMsgVector* _msg = _internal_mutable_translation(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.translation) - return _msg; -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue::set_allocated_translation(::CMsgVector* translation) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.translation_); - } - if (translation) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(translation)); - if (message_arena != submessage_arena) { - translation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, translation, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.translation_ = translation; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue.translation) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext - -// optional uint32 value_name_hash = 1; -inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_internal_has_value_name_hash() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::has_value_name_hash() const { - return _internal_has_value_name_hash(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::clear_value_name_hash() { - _impl_.value_name_hash_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_internal_value_name_hash() const { - return _impl_.value_name_hash_; -} -inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::value_name_hash() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext.value_name_hash) - return _internal_value_name_hash(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_internal_set_value_name_hash(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.value_name_hash_ = value; -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::set_value_name_hash(uint32_t value) { - _internal_set_value_name_hash(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext.value_name_hash) -} - -// optional uint32 ent_index = 2 [default = 16777215]; -inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_internal_has_ent_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::has_ent_index() const { - return _internal_has_ent_index(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::clear_ent_index() { - _impl_.ent_index_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_internal_ent_index() const { - return _impl_.ent_index_; -} -inline uint32_t CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::ent_index() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext.ent_index) - return _internal_ent_index(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::_internal_set_ent_index(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.ent_index_ = value; -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext::set_ent_index(uint32_t value) { - _internal_set_ent_index(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext.ent_index) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_SetParticleNamedValueContext - -// repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue float_values = 1; -inline int CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_float_values_size() const { - return _impl_.float_values_.size(); -} -inline int CUserMsg_ParticleManager_SetParticleNamedValueContext::float_values_size() const { - return _internal_float_values_size(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext::clear_float_values() { - _impl_.float_values_.Clear(); -} -inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* CUserMsg_ParticleManager_SetParticleNamedValueContext::mutable_float_values(int index) { - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetParticleNamedValueContext.float_values) - return _impl_.float_values_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue >* -CUserMsg_ParticleManager_SetParticleNamedValueContext::mutable_float_values() { - // @@protoc_insertion_point(field_mutable_list:CUserMsg_ParticleManager.SetParticleNamedValueContext.float_values) - return &_impl_.float_values_; -} -inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_float_values(int index) const { - return _impl_.float_values_.Get(index); -} -inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue& CUserMsg_ParticleManager_SetParticleNamedValueContext::float_values(int index) const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.float_values) - return _internal_float_values(index); -} -inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_add_float_values() { - return _impl_.float_values_.Add(); -} -inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* CUserMsg_ParticleManager_SetParticleNamedValueContext::add_float_values() { - ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue* _add = _internal_add_float_values(); - // @@protoc_insertion_point(field_add:CUserMsg_ParticleManager.SetParticleNamedValueContext.float_values) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_FloatContextValue >& -CUserMsg_ParticleManager_SetParticleNamedValueContext::float_values() const { - // @@protoc_insertion_point(field_list:CUserMsg_ParticleManager.SetParticleNamedValueContext.float_values) - return _impl_.float_values_; -} - -// repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue vector_values = 2; -inline int CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_vector_values_size() const { - return _impl_.vector_values_.size(); -} -inline int CUserMsg_ParticleManager_SetParticleNamedValueContext::vector_values_size() const { - return _internal_vector_values_size(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext::clear_vector_values() { - _impl_.vector_values_.Clear(); -} -inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* CUserMsg_ParticleManager_SetParticleNamedValueContext::mutable_vector_values(int index) { - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetParticleNamedValueContext.vector_values) - return _impl_.vector_values_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue >* -CUserMsg_ParticleManager_SetParticleNamedValueContext::mutable_vector_values() { - // @@protoc_insertion_point(field_mutable_list:CUserMsg_ParticleManager.SetParticleNamedValueContext.vector_values) - return &_impl_.vector_values_; -} -inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_vector_values(int index) const { - return _impl_.vector_values_.Get(index); -} -inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue& CUserMsg_ParticleManager_SetParticleNamedValueContext::vector_values(int index) const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.vector_values) - return _internal_vector_values(index); -} -inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_add_vector_values() { - return _impl_.vector_values_.Add(); -} -inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* CUserMsg_ParticleManager_SetParticleNamedValueContext::add_vector_values() { - ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue* _add = _internal_add_vector_values(); - // @@protoc_insertion_point(field_add:CUserMsg_ParticleManager.SetParticleNamedValueContext.vector_values) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_VectorContextValue >& -CUserMsg_ParticleManager_SetParticleNamedValueContext::vector_values() const { - // @@protoc_insertion_point(field_list:CUserMsg_ParticleManager.SetParticleNamedValueContext.vector_values) - return _impl_.vector_values_; -} - -// repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue transform_values = 3; -inline int CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_transform_values_size() const { - return _impl_.transform_values_.size(); -} -inline int CUserMsg_ParticleManager_SetParticleNamedValueContext::transform_values_size() const { - return _internal_transform_values_size(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext::clear_transform_values() { - _impl_.transform_values_.Clear(); -} -inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* CUserMsg_ParticleManager_SetParticleNamedValueContext::mutable_transform_values(int index) { - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetParticleNamedValueContext.transform_values) - return _impl_.transform_values_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue >* -CUserMsg_ParticleManager_SetParticleNamedValueContext::mutable_transform_values() { - // @@protoc_insertion_point(field_mutable_list:CUserMsg_ParticleManager.SetParticleNamedValueContext.transform_values) - return &_impl_.transform_values_; -} -inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_transform_values(int index) const { - return _impl_.transform_values_.Get(index); -} -inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue& CUserMsg_ParticleManager_SetParticleNamedValueContext::transform_values(int index) const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.transform_values) - return _internal_transform_values(index); -} -inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_add_transform_values() { - return _impl_.transform_values_.Add(); -} -inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* CUserMsg_ParticleManager_SetParticleNamedValueContext::add_transform_values() { - ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue* _add = _internal_add_transform_values(); - // @@protoc_insertion_point(field_add:CUserMsg_ParticleManager.SetParticleNamedValueContext.transform_values) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_TransformContextValue >& -CUserMsg_ParticleManager_SetParticleNamedValueContext::transform_values() const { - // @@protoc_insertion_point(field_list:CUserMsg_ParticleManager.SetParticleNamedValueContext.transform_values) - return _impl_.transform_values_; -} - -// repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext ehandle_values = 4; -inline int CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_ehandle_values_size() const { - return _impl_.ehandle_values_.size(); -} -inline int CUserMsg_ParticleManager_SetParticleNamedValueContext::ehandle_values_size() const { - return _internal_ehandle_values_size(); -} -inline void CUserMsg_ParticleManager_SetParticleNamedValueContext::clear_ehandle_values() { - _impl_.ehandle_values_.Clear(); -} -inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* CUserMsg_ParticleManager_SetParticleNamedValueContext::mutable_ehandle_values(int index) { - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetParticleNamedValueContext.ehandle_values) - return _impl_.ehandle_values_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext >* -CUserMsg_ParticleManager_SetParticleNamedValueContext::mutable_ehandle_values() { - // @@protoc_insertion_point(field_mutable_list:CUserMsg_ParticleManager.SetParticleNamedValueContext.ehandle_values) - return &_impl_.ehandle_values_; -} -inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_ehandle_values(int index) const { - return _impl_.ehandle_values_.Get(index); -} -inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext& CUserMsg_ParticleManager_SetParticleNamedValueContext::ehandle_values(int index) const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleNamedValueContext.ehandle_values) - return _internal_ehandle_values(index); -} -inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* CUserMsg_ParticleManager_SetParticleNamedValueContext::_internal_add_ehandle_values() { - return _impl_.ehandle_values_.Add(); -} -inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* CUserMsg_ParticleManager_SetParticleNamedValueContext::add_ehandle_values() { - ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext* _add = _internal_add_ehandle_values(); - // @@protoc_insertion_point(field_add:CUserMsg_ParticleManager.SetParticleNamedValueContext.ehandle_values) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMsg_ParticleManager_SetParticleNamedValueContext_EHandleContext >& -CUserMsg_ParticleManager_SetParticleNamedValueContext::ehandle_values() const { - // @@protoc_insertion_point(field_list:CUserMsg_ParticleManager.SetParticleNamedValueContext.ehandle_values) - return _impl_.ehandle_values_; -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_CreatePhysicsSim - -// optional string prop_group_name = 1; -inline bool CUserMsg_ParticleManager_CreatePhysicsSim::_internal_has_prop_group_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_CreatePhysicsSim::has_prop_group_name() const { - return _internal_has_prop_group_name(); -} -inline void CUserMsg_ParticleManager_CreatePhysicsSim::clear_prop_group_name() { - _impl_.prop_group_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMsg_ParticleManager_CreatePhysicsSim::prop_group_name() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreatePhysicsSim.prop_group_name) - return _internal_prop_group_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMsg_ParticleManager_CreatePhysicsSim::set_prop_group_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.prop_group_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreatePhysicsSim.prop_group_name) -} -inline std::string* CUserMsg_ParticleManager_CreatePhysicsSim::mutable_prop_group_name() { - std::string* _s = _internal_mutable_prop_group_name(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.CreatePhysicsSim.prop_group_name) - return _s; -} -inline const std::string& CUserMsg_ParticleManager_CreatePhysicsSim::_internal_prop_group_name() const { - return _impl_.prop_group_name_.Get(); -} -inline void CUserMsg_ParticleManager_CreatePhysicsSim::_internal_set_prop_group_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.prop_group_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_CreatePhysicsSim::_internal_mutable_prop_group_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.prop_group_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_CreatePhysicsSim::release_prop_group_name() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.CreatePhysicsSim.prop_group_name) - if (!_internal_has_prop_group_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.prop_group_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.prop_group_name_.IsDefault()) { - _impl_.prop_group_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMsg_ParticleManager_CreatePhysicsSim::set_allocated_prop_group_name(std::string* prop_group_name) { - if (prop_group_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.prop_group_name_.SetAllocated(prop_group_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.prop_group_name_.IsDefault()) { - _impl_.prop_group_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.CreatePhysicsSim.prop_group_name) -} - -// optional bool use_high_quality_simulation = 2; -inline bool CUserMsg_ParticleManager_CreatePhysicsSim::_internal_has_use_high_quality_simulation() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_CreatePhysicsSim::has_use_high_quality_simulation() const { - return _internal_has_use_high_quality_simulation(); -} -inline void CUserMsg_ParticleManager_CreatePhysicsSim::clear_use_high_quality_simulation() { - _impl_.use_high_quality_simulation_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CUserMsg_ParticleManager_CreatePhysicsSim::_internal_use_high_quality_simulation() const { - return _impl_.use_high_quality_simulation_; -} -inline bool CUserMsg_ParticleManager_CreatePhysicsSim::use_high_quality_simulation() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreatePhysicsSim.use_high_quality_simulation) - return _internal_use_high_quality_simulation(); -} -inline void CUserMsg_ParticleManager_CreatePhysicsSim::_internal_set_use_high_quality_simulation(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.use_high_quality_simulation_ = value; -} -inline void CUserMsg_ParticleManager_CreatePhysicsSim::set_use_high_quality_simulation(bool value) { - _internal_set_use_high_quality_simulation(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreatePhysicsSim.use_high_quality_simulation) -} - -// optional uint32 max_particle_count = 3; -inline bool CUserMsg_ParticleManager_CreatePhysicsSim::_internal_has_max_particle_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_CreatePhysicsSim::has_max_particle_count() const { - return _internal_has_max_particle_count(); -} -inline void CUserMsg_ParticleManager_CreatePhysicsSim::clear_max_particle_count() { - _impl_.max_particle_count_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CUserMsg_ParticleManager_CreatePhysicsSim::_internal_max_particle_count() const { - return _impl_.max_particle_count_; -} -inline uint32_t CUserMsg_ParticleManager_CreatePhysicsSim::max_particle_count() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.CreatePhysicsSim.max_particle_count) - return _internal_max_particle_count(); -} -inline void CUserMsg_ParticleManager_CreatePhysicsSim::_internal_set_max_particle_count(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.max_particle_count_ = value; -} -inline void CUserMsg_ParticleManager_CreatePhysicsSim::set_max_particle_count(uint32_t value) { - _internal_set_max_particle_count(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.CreatePhysicsSim.max_particle_count) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_DestroyPhysicsSim - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_SetVData - -// optional string vdata_name = 1; -inline bool CUserMsg_ParticleManager_SetVData::_internal_has_vdata_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetVData::has_vdata_name() const { - return _internal_has_vdata_name(); -} -inline void CUserMsg_ParticleManager_SetVData::clear_vdata_name() { - _impl_.vdata_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMsg_ParticleManager_SetVData::vdata_name() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetVData.vdata_name) - return _internal_vdata_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMsg_ParticleManager_SetVData::set_vdata_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.vdata_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetVData.vdata_name) -} -inline std::string* CUserMsg_ParticleManager_SetVData::mutable_vdata_name() { - std::string* _s = _internal_mutable_vdata_name(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetVData.vdata_name) - return _s; -} -inline const std::string& CUserMsg_ParticleManager_SetVData::_internal_vdata_name() const { - return _impl_.vdata_name_.Get(); -} -inline void CUserMsg_ParticleManager_SetVData::_internal_set_vdata_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.vdata_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_SetVData::_internal_mutable_vdata_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.vdata_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_SetVData::release_vdata_name() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetVData.vdata_name) - if (!_internal_has_vdata_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.vdata_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.vdata_name_.IsDefault()) { - _impl_.vdata_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMsg_ParticleManager_SetVData::set_allocated_vdata_name(std::string* vdata_name) { - if (vdata_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.vdata_name_.SetAllocated(vdata_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.vdata_name_.IsDefault()) { - _impl_.vdata_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetVData.vdata_name) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_SetMaterialOverride - -// optional string material_name = 1; -inline bool CUserMsg_ParticleManager_SetMaterialOverride::_internal_has_material_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetMaterialOverride::has_material_name() const { - return _internal_has_material_name(); -} -inline void CUserMsg_ParticleManager_SetMaterialOverride::clear_material_name() { - _impl_.material_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMsg_ParticleManager_SetMaterialOverride::material_name() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetMaterialOverride.material_name) - return _internal_material_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMsg_ParticleManager_SetMaterialOverride::set_material_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.material_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetMaterialOverride.material_name) -} -inline std::string* CUserMsg_ParticleManager_SetMaterialOverride::mutable_material_name() { - std::string* _s = _internal_mutable_material_name(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetMaterialOverride.material_name) - return _s; -} -inline const std::string& CUserMsg_ParticleManager_SetMaterialOverride::_internal_material_name() const { - return _impl_.material_name_.Get(); -} -inline void CUserMsg_ParticleManager_SetMaterialOverride::_internal_set_material_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.material_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_SetMaterialOverride::_internal_mutable_material_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.material_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_SetMaterialOverride::release_material_name() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetMaterialOverride.material_name) - if (!_internal_has_material_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.material_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.material_name_.IsDefault()) { - _impl_.material_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMsg_ParticleManager_SetMaterialOverride::set_allocated_material_name(std::string* material_name) { - if (material_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.material_name_.SetAllocated(material_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.material_name_.IsDefault()) { - _impl_.material_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetMaterialOverride.material_name) -} - -// optional bool include_children = 2; -inline bool CUserMsg_ParticleManager_SetMaterialOverride::_internal_has_include_children() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetMaterialOverride::has_include_children() const { - return _internal_has_include_children(); -} -inline void CUserMsg_ParticleManager_SetMaterialOverride::clear_include_children() { - _impl_.include_children_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CUserMsg_ParticleManager_SetMaterialOverride::_internal_include_children() const { - return _impl_.include_children_; -} -inline bool CUserMsg_ParticleManager_SetMaterialOverride::include_children() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetMaterialOverride.include_children) - return _internal_include_children(); -} -inline void CUserMsg_ParticleManager_SetMaterialOverride::_internal_set_include_children(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.include_children_ = value; -} -inline void CUserMsg_ParticleManager_SetMaterialOverride::set_include_children(bool value) { - _internal_set_include_children(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetMaterialOverride.include_children) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_AddFan - -// optional bool active = 1; -inline bool CUserMsg_ParticleManager_AddFan::_internal_has_active() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_AddFan::has_active() const { - return _internal_has_active(); -} -inline void CUserMsg_ParticleManager_AddFan::clear_active() { - _impl_.active_ = false; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline bool CUserMsg_ParticleManager_AddFan::_internal_active() const { - return _impl_.active_; -} -inline bool CUserMsg_ParticleManager_AddFan::active() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.active) - return _internal_active(); -} -inline void CUserMsg_ParticleManager_AddFan::_internal_set_active(bool value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.active_ = value; -} -inline void CUserMsg_ParticleManager_AddFan::set_active(bool value) { - _internal_set_active(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.active) -} - -// optional .CMsgVector bounds_mins = 2; -inline bool CUserMsg_ParticleManager_AddFan::_internal_has_bounds_mins() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.bounds_mins_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_AddFan::has_bounds_mins() const { - return _internal_has_bounds_mins(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::_internal_bounds_mins() const { - const ::CMsgVector* p = _impl_.bounds_mins_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::bounds_mins() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.bounds_mins) - return _internal_bounds_mins(); -} -inline void CUserMsg_ParticleManager_AddFan::unsafe_arena_set_allocated_bounds_mins( - ::CMsgVector* bounds_mins) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bounds_mins_); - } - _impl_.bounds_mins_ = bounds_mins; - if (bounds_mins) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.AddFan.bounds_mins) -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::release_bounds_mins() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.bounds_mins_; - _impl_.bounds_mins_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::unsafe_arena_release_bounds_mins() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.AddFan.bounds_mins) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.bounds_mins_; - _impl_.bounds_mins_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::_internal_mutable_bounds_mins() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.bounds_mins_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.bounds_mins_ = p; - } - return _impl_.bounds_mins_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::mutable_bounds_mins() { - ::CMsgVector* _msg = _internal_mutable_bounds_mins(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.AddFan.bounds_mins) - return _msg; -} -inline void CUserMsg_ParticleManager_AddFan::set_allocated_bounds_mins(::CMsgVector* bounds_mins) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bounds_mins_); - } - if (bounds_mins) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bounds_mins)); - if (message_arena != submessage_arena) { - bounds_mins = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, bounds_mins, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.bounds_mins_ = bounds_mins; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.AddFan.bounds_mins) -} - -// optional .CMsgVector bounds_maxs = 3; -inline bool CUserMsg_ParticleManager_AddFan::_internal_has_bounds_maxs() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.bounds_maxs_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_AddFan::has_bounds_maxs() const { - return _internal_has_bounds_maxs(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::_internal_bounds_maxs() const { - const ::CMsgVector* p = _impl_.bounds_maxs_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::bounds_maxs() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.bounds_maxs) - return _internal_bounds_maxs(); -} -inline void CUserMsg_ParticleManager_AddFan::unsafe_arena_set_allocated_bounds_maxs( - ::CMsgVector* bounds_maxs) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bounds_maxs_); - } - _impl_.bounds_maxs_ = bounds_maxs; - if (bounds_maxs) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.AddFan.bounds_maxs) -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::release_bounds_maxs() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgVector* temp = _impl_.bounds_maxs_; - _impl_.bounds_maxs_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::unsafe_arena_release_bounds_maxs() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.AddFan.bounds_maxs) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgVector* temp = _impl_.bounds_maxs_; - _impl_.bounds_maxs_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::_internal_mutable_bounds_maxs() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.bounds_maxs_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.bounds_maxs_ = p; - } - return _impl_.bounds_maxs_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::mutable_bounds_maxs() { - ::CMsgVector* _msg = _internal_mutable_bounds_maxs(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.AddFan.bounds_maxs) - return _msg; -} -inline void CUserMsg_ParticleManager_AddFan::set_allocated_bounds_maxs(::CMsgVector* bounds_maxs) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bounds_maxs_); - } - if (bounds_maxs) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bounds_maxs)); - if (message_arena != submessage_arena) { - bounds_maxs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, bounds_maxs, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.bounds_maxs_ = bounds_maxs; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.AddFan.bounds_maxs) -} - -// optional .CMsgVector fan_origin = 4; -inline bool CUserMsg_ParticleManager_AddFan::_internal_has_fan_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.fan_origin_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_AddFan::has_fan_origin() const { - return _internal_has_fan_origin(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::_internal_fan_origin() const { - const ::CMsgVector* p = _impl_.fan_origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::fan_origin() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.fan_origin) - return _internal_fan_origin(); -} -inline void CUserMsg_ParticleManager_AddFan::unsafe_arena_set_allocated_fan_origin( - ::CMsgVector* fan_origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_origin_); - } - _impl_.fan_origin_ = fan_origin; - if (fan_origin) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.AddFan.fan_origin) -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::release_fan_origin() { - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgVector* temp = _impl_.fan_origin_; - _impl_.fan_origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::unsafe_arena_release_fan_origin() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.AddFan.fan_origin) - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgVector* temp = _impl_.fan_origin_; - _impl_.fan_origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::_internal_mutable_fan_origin() { - _impl_._has_bits_[0] |= 0x00000010u; - if (_impl_.fan_origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.fan_origin_ = p; - } - return _impl_.fan_origin_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::mutable_fan_origin() { - ::CMsgVector* _msg = _internal_mutable_fan_origin(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.AddFan.fan_origin) - return _msg; -} -inline void CUserMsg_ParticleManager_AddFan::set_allocated_fan_origin(::CMsgVector* fan_origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_origin_); - } - if (fan_origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(fan_origin)); - if (message_arena != submessage_arena) { - fan_origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, fan_origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.fan_origin_ = fan_origin; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.AddFan.fan_origin) -} - -// optional .CMsgVector fan_origin_offset = 5; -inline bool CUserMsg_ParticleManager_AddFan::_internal_has_fan_origin_offset() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - PROTOBUF_ASSUME(!value || _impl_.fan_origin_offset_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_AddFan::has_fan_origin_offset() const { - return _internal_has_fan_origin_offset(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::_internal_fan_origin_offset() const { - const ::CMsgVector* p = _impl_.fan_origin_offset_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::fan_origin_offset() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.fan_origin_offset) - return _internal_fan_origin_offset(); -} -inline void CUserMsg_ParticleManager_AddFan::unsafe_arena_set_allocated_fan_origin_offset( - ::CMsgVector* fan_origin_offset) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_origin_offset_); - } - _impl_.fan_origin_offset_ = fan_origin_offset; - if (fan_origin_offset) { - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.AddFan.fan_origin_offset) -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::release_fan_origin_offset() { - _impl_._has_bits_[0] &= ~0x00000020u; - ::CMsgVector* temp = _impl_.fan_origin_offset_; - _impl_.fan_origin_offset_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::unsafe_arena_release_fan_origin_offset() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.AddFan.fan_origin_offset) - _impl_._has_bits_[0] &= ~0x00000020u; - ::CMsgVector* temp = _impl_.fan_origin_offset_; - _impl_.fan_origin_offset_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::_internal_mutable_fan_origin_offset() { - _impl_._has_bits_[0] |= 0x00000020u; - if (_impl_.fan_origin_offset_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.fan_origin_offset_ = p; - } - return _impl_.fan_origin_offset_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::mutable_fan_origin_offset() { - ::CMsgVector* _msg = _internal_mutable_fan_origin_offset(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.AddFan.fan_origin_offset) - return _msg; -} -inline void CUserMsg_ParticleManager_AddFan::set_allocated_fan_origin_offset(::CMsgVector* fan_origin_offset) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_origin_offset_); - } - if (fan_origin_offset) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(fan_origin_offset)); - if (message_arena != submessage_arena) { - fan_origin_offset = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, fan_origin_offset, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - _impl_.fan_origin_offset_ = fan_origin_offset; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.AddFan.fan_origin_offset) -} - -// optional .CMsgVector fan_direction = 6; -inline bool CUserMsg_ParticleManager_AddFan::_internal_has_fan_direction() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - PROTOBUF_ASSUME(!value || _impl_.fan_direction_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_AddFan::has_fan_direction() const { - return _internal_has_fan_direction(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::_internal_fan_direction() const { - const ::CMsgVector* p = _impl_.fan_direction_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_AddFan::fan_direction() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.fan_direction) - return _internal_fan_direction(); -} -inline void CUserMsg_ParticleManager_AddFan::unsafe_arena_set_allocated_fan_direction( - ::CMsgVector* fan_direction) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_direction_); - } - _impl_.fan_direction_ = fan_direction; - if (fan_direction) { - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.AddFan.fan_direction) -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::release_fan_direction() { - _impl_._has_bits_[0] &= ~0x00000040u; - ::CMsgVector* temp = _impl_.fan_direction_; - _impl_.fan_direction_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::unsafe_arena_release_fan_direction() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.AddFan.fan_direction) - _impl_._has_bits_[0] &= ~0x00000040u; - ::CMsgVector* temp = _impl_.fan_direction_; - _impl_.fan_direction_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::_internal_mutable_fan_direction() { - _impl_._has_bits_[0] |= 0x00000040u; - if (_impl_.fan_direction_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.fan_direction_ = p; - } - return _impl_.fan_direction_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_AddFan::mutable_fan_direction() { - ::CMsgVector* _msg = _internal_mutable_fan_direction(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.AddFan.fan_direction) - return _msg; -} -inline void CUserMsg_ParticleManager_AddFan::set_allocated_fan_direction(::CMsgVector* fan_direction) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_direction_); - } - if (fan_direction) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(fan_direction)); - if (message_arena != submessage_arena) { - fan_direction = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, fan_direction, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - _impl_.fan_direction_ = fan_direction; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.AddFan.fan_direction) -} - -// optional float force = 7; -inline bool CUserMsg_ParticleManager_AddFan::_internal_has_force() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_AddFan::has_force() const { - return _internal_has_force(); -} -inline void CUserMsg_ParticleManager_AddFan::clear_force() { - _impl_.force_ = 0; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline float CUserMsg_ParticleManager_AddFan::_internal_force() const { - return _impl_.force_; -} -inline float CUserMsg_ParticleManager_AddFan::force() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.force) - return _internal_force(); -} -inline void CUserMsg_ParticleManager_AddFan::_internal_set_force(float value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.force_ = value; -} -inline void CUserMsg_ParticleManager_AddFan::set_force(float value) { - _internal_set_force(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.force) -} - -// optional string fan_force_curve = 8; -inline bool CUserMsg_ParticleManager_AddFan::_internal_has_fan_force_curve() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_AddFan::has_fan_force_curve() const { - return _internal_has_fan_force_curve(); -} -inline void CUserMsg_ParticleManager_AddFan::clear_fan_force_curve() { - _impl_.fan_force_curve_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMsg_ParticleManager_AddFan::fan_force_curve() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.fan_force_curve) - return _internal_fan_force_curve(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMsg_ParticleManager_AddFan::set_fan_force_curve(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.fan_force_curve_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.fan_force_curve) -} -inline std::string* CUserMsg_ParticleManager_AddFan::mutable_fan_force_curve() { - std::string* _s = _internal_mutable_fan_force_curve(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.AddFan.fan_force_curve) - return _s; -} -inline const std::string& CUserMsg_ParticleManager_AddFan::_internal_fan_force_curve() const { - return _impl_.fan_force_curve_.Get(); -} -inline void CUserMsg_ParticleManager_AddFan::_internal_set_fan_force_curve(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.fan_force_curve_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_AddFan::_internal_mutable_fan_force_curve() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.fan_force_curve_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_AddFan::release_fan_force_curve() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.AddFan.fan_force_curve) - if (!_internal_has_fan_force_curve()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.fan_force_curve_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.fan_force_curve_.IsDefault()) { - _impl_.fan_force_curve_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMsg_ParticleManager_AddFan::set_allocated_fan_force_curve(std::string* fan_force_curve) { - if (fan_force_curve != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.fan_force_curve_.SetAllocated(fan_force_curve, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.fan_force_curve_.IsDefault()) { - _impl_.fan_force_curve_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.AddFan.fan_force_curve) -} - -// optional bool falloff = 9; -inline bool CUserMsg_ParticleManager_AddFan::_internal_has_falloff() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_AddFan::has_falloff() const { - return _internal_has_falloff(); -} -inline void CUserMsg_ParticleManager_AddFan::clear_falloff() { - _impl_.falloff_ = false; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline bool CUserMsg_ParticleManager_AddFan::_internal_falloff() const { - return _impl_.falloff_; -} -inline bool CUserMsg_ParticleManager_AddFan::falloff() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.falloff) - return _internal_falloff(); -} -inline void CUserMsg_ParticleManager_AddFan::_internal_set_falloff(bool value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.falloff_ = value; -} -inline void CUserMsg_ParticleManager_AddFan::set_falloff(bool value) { - _internal_set_falloff(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.falloff) -} - -// optional bool pull_towards_point = 10; -inline bool CUserMsg_ParticleManager_AddFan::_internal_has_pull_towards_point() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_AddFan::has_pull_towards_point() const { - return _internal_has_pull_towards_point(); -} -inline void CUserMsg_ParticleManager_AddFan::clear_pull_towards_point() { - _impl_.pull_towards_point_ = false; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline bool CUserMsg_ParticleManager_AddFan::_internal_pull_towards_point() const { - return _impl_.pull_towards_point_; -} -inline bool CUserMsg_ParticleManager_AddFan::pull_towards_point() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.pull_towards_point) - return _internal_pull_towards_point(); -} -inline void CUserMsg_ParticleManager_AddFan::_internal_set_pull_towards_point(bool value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.pull_towards_point_ = value; -} -inline void CUserMsg_ParticleManager_AddFan::set_pull_towards_point(bool value) { - _internal_set_pull_towards_point(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.pull_towards_point) -} - -// optional float curve_min_dist = 11; -inline bool CUserMsg_ParticleManager_AddFan::_internal_has_curve_min_dist() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_AddFan::has_curve_min_dist() const { - return _internal_has_curve_min_dist(); -} -inline void CUserMsg_ParticleManager_AddFan::clear_curve_min_dist() { - _impl_.curve_min_dist_ = 0; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline float CUserMsg_ParticleManager_AddFan::_internal_curve_min_dist() const { - return _impl_.curve_min_dist_; -} -inline float CUserMsg_ParticleManager_AddFan::curve_min_dist() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.curve_min_dist) - return _internal_curve_min_dist(); -} -inline void CUserMsg_ParticleManager_AddFan::_internal_set_curve_min_dist(float value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.curve_min_dist_ = value; -} -inline void CUserMsg_ParticleManager_AddFan::set_curve_min_dist(float value) { - _internal_set_curve_min_dist(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.curve_min_dist) -} - -// optional float curve_max_dist = 12; -inline bool CUserMsg_ParticleManager_AddFan::_internal_has_curve_max_dist() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_AddFan::has_curve_max_dist() const { - return _internal_has_curve_max_dist(); -} -inline void CUserMsg_ParticleManager_AddFan::clear_curve_max_dist() { - _impl_.curve_max_dist_ = 0; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline float CUserMsg_ParticleManager_AddFan::_internal_curve_max_dist() const { - return _impl_.curve_max_dist_; -} -inline float CUserMsg_ParticleManager_AddFan::curve_max_dist() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.curve_max_dist) - return _internal_curve_max_dist(); -} -inline void CUserMsg_ParticleManager_AddFan::_internal_set_curve_max_dist(float value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.curve_max_dist_ = value; -} -inline void CUserMsg_ParticleManager_AddFan::set_curve_max_dist(float value) { - _internal_set_curve_max_dist(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.curve_max_dist) -} - -// optional uint32 fan_type = 13; -inline bool CUserMsg_ParticleManager_AddFan::_internal_has_fan_type() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_AddFan::has_fan_type() const { - return _internal_has_fan_type(); -} -inline void CUserMsg_ParticleManager_AddFan::clear_fan_type() { - _impl_.fan_type_ = 0u; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline uint32_t CUserMsg_ParticleManager_AddFan::_internal_fan_type() const { - return _impl_.fan_type_; -} -inline uint32_t CUserMsg_ParticleManager_AddFan::fan_type() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.fan_type) - return _internal_fan_type(); -} -inline void CUserMsg_ParticleManager_AddFan::_internal_set_fan_type(uint32_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.fan_type_ = value; -} -inline void CUserMsg_ParticleManager_AddFan::set_fan_type(uint32_t value) { - _internal_set_fan_type(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.fan_type) -} - -// optional float cone_start_radius = 14; -inline bool CUserMsg_ParticleManager_AddFan::_internal_has_cone_start_radius() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_AddFan::has_cone_start_radius() const { - return _internal_has_cone_start_radius(); -} -inline void CUserMsg_ParticleManager_AddFan::clear_cone_start_radius() { - _impl_.cone_start_radius_ = 0; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline float CUserMsg_ParticleManager_AddFan::_internal_cone_start_radius() const { - return _impl_.cone_start_radius_; -} -inline float CUserMsg_ParticleManager_AddFan::cone_start_radius() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.cone_start_radius) - return _internal_cone_start_radius(); -} -inline void CUserMsg_ParticleManager_AddFan::_internal_set_cone_start_radius(float value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.cone_start_radius_ = value; -} -inline void CUserMsg_ParticleManager_AddFan::set_cone_start_radius(float value) { - _internal_set_cone_start_radius(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.cone_start_radius) -} - -// optional float cone_end_radius = 15; -inline bool CUserMsg_ParticleManager_AddFan::_internal_has_cone_end_radius() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_AddFan::has_cone_end_radius() const { - return _internal_has_cone_end_radius(); -} -inline void CUserMsg_ParticleManager_AddFan::clear_cone_end_radius() { - _impl_.cone_end_radius_ = 0; - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline float CUserMsg_ParticleManager_AddFan::_internal_cone_end_radius() const { - return _impl_.cone_end_radius_; -} -inline float CUserMsg_ParticleManager_AddFan::cone_end_radius() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.cone_end_radius) - return _internal_cone_end_radius(); -} -inline void CUserMsg_ParticleManager_AddFan::_internal_set_cone_end_radius(float value) { - _impl_._has_bits_[0] |= 0x00008000u; - _impl_.cone_end_radius_ = value; -} -inline void CUserMsg_ParticleManager_AddFan::set_cone_end_radius(float value) { - _internal_set_cone_end_radius(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.cone_end_radius) -} - -// optional float cone_length = 16; -inline bool CUserMsg_ParticleManager_AddFan::_internal_has_cone_length() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_AddFan::has_cone_length() const { - return _internal_has_cone_length(); -} -inline void CUserMsg_ParticleManager_AddFan::clear_cone_length() { - _impl_.cone_length_ = 0; - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline float CUserMsg_ParticleManager_AddFan::_internal_cone_length() const { - return _impl_.cone_length_; -} -inline float CUserMsg_ParticleManager_AddFan::cone_length() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.cone_length) - return _internal_cone_length(); -} -inline void CUserMsg_ParticleManager_AddFan::_internal_set_cone_length(float value) { - _impl_._has_bits_[0] |= 0x00010000u; - _impl_.cone_length_ = value; -} -inline void CUserMsg_ParticleManager_AddFan::set_cone_length(float value) { - _internal_set_cone_length(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.cone_length) -} - -// optional uint32 entity_handle = 17 [default = 16777215]; -inline bool CUserMsg_ParticleManager_AddFan::_internal_has_entity_handle() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_AddFan::has_entity_handle() const { - return _internal_has_entity_handle(); -} -inline void CUserMsg_ParticleManager_AddFan::clear_entity_handle() { - _impl_.entity_handle_ = 16777215u; - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline uint32_t CUserMsg_ParticleManager_AddFan::_internal_entity_handle() const { - return _impl_.entity_handle_; -} -inline uint32_t CUserMsg_ParticleManager_AddFan::entity_handle() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.entity_handle) - return _internal_entity_handle(); -} -inline void CUserMsg_ParticleManager_AddFan::_internal_set_entity_handle(uint32_t value) { - _impl_._has_bits_[0] |= 0x00020000u; - _impl_.entity_handle_ = value; -} -inline void CUserMsg_ParticleManager_AddFan::set_entity_handle(uint32_t value) { - _internal_set_entity_handle(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.entity_handle) -} - -// optional string attachment_name = 18; -inline bool CUserMsg_ParticleManager_AddFan::_internal_has_attachment_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_AddFan::has_attachment_name() const { - return _internal_has_attachment_name(); -} -inline void CUserMsg_ParticleManager_AddFan::clear_attachment_name() { - _impl_.attachment_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CUserMsg_ParticleManager_AddFan::attachment_name() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.AddFan.attachment_name) - return _internal_attachment_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMsg_ParticleManager_AddFan::set_attachment_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.attachment_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.AddFan.attachment_name) -} -inline std::string* CUserMsg_ParticleManager_AddFan::mutable_attachment_name() { - std::string* _s = _internal_mutable_attachment_name(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.AddFan.attachment_name) - return _s; -} -inline const std::string& CUserMsg_ParticleManager_AddFan::_internal_attachment_name() const { - return _impl_.attachment_name_.Get(); -} -inline void CUserMsg_ParticleManager_AddFan::_internal_set_attachment_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.attachment_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_AddFan::_internal_mutable_attachment_name() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.attachment_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMsg_ParticleManager_AddFan::release_attachment_name() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.AddFan.attachment_name) - if (!_internal_has_attachment_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.attachment_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.attachment_name_.IsDefault()) { - _impl_.attachment_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMsg_ParticleManager_AddFan::set_allocated_attachment_name(std::string* attachment_name) { - if (attachment_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.attachment_name_.SetAllocated(attachment_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.attachment_name_.IsDefault()) { - _impl_.attachment_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.AddFan.attachment_name) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_UpdateFan - -// optional bool active = 1; -inline bool CUserMsg_ParticleManager_UpdateFan::_internal_has_active() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_UpdateFan::has_active() const { - return _internal_has_active(); -} -inline void CUserMsg_ParticleManager_UpdateFan::clear_active() { - _impl_.active_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool CUserMsg_ParticleManager_UpdateFan::_internal_active() const { - return _impl_.active_; -} -inline bool CUserMsg_ParticleManager_UpdateFan::active() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateFan.active) - return _internal_active(); -} -inline void CUserMsg_ParticleManager_UpdateFan::_internal_set_active(bool value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.active_ = value; -} -inline void CUserMsg_ParticleManager_UpdateFan::set_active(bool value) { - _internal_set_active(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateFan.active) -} - -// optional .CMsgVector fan_origin = 2; -inline bool CUserMsg_ParticleManager_UpdateFan::_internal_has_fan_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.fan_origin_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateFan::has_fan_origin() const { - return _internal_has_fan_origin(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::_internal_fan_origin() const { - const ::CMsgVector* p = _impl_.fan_origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::fan_origin() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateFan.fan_origin) - return _internal_fan_origin(); -} -inline void CUserMsg_ParticleManager_UpdateFan::unsafe_arena_set_allocated_fan_origin( - ::CMsgVector* fan_origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_origin_); - } - _impl_.fan_origin_ = fan_origin; - if (fan_origin) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateFan.fan_origin) -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::release_fan_origin() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.fan_origin_; - _impl_.fan_origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::unsafe_arena_release_fan_origin() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateFan.fan_origin) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.fan_origin_; - _impl_.fan_origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::_internal_mutable_fan_origin() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.fan_origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.fan_origin_ = p; - } - return _impl_.fan_origin_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::mutable_fan_origin() { - ::CMsgVector* _msg = _internal_mutable_fan_origin(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateFan.fan_origin) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateFan::set_allocated_fan_origin(::CMsgVector* fan_origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_origin_); - } - if (fan_origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(fan_origin)); - if (message_arena != submessage_arena) { - fan_origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, fan_origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.fan_origin_ = fan_origin; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateFan.fan_origin) -} - -// optional .CMsgVector fan_origin_offset = 3; -inline bool CUserMsg_ParticleManager_UpdateFan::_internal_has_fan_origin_offset() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.fan_origin_offset_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateFan::has_fan_origin_offset() const { - return _internal_has_fan_origin_offset(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::_internal_fan_origin_offset() const { - const ::CMsgVector* p = _impl_.fan_origin_offset_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::fan_origin_offset() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateFan.fan_origin_offset) - return _internal_fan_origin_offset(); -} -inline void CUserMsg_ParticleManager_UpdateFan::unsafe_arena_set_allocated_fan_origin_offset( - ::CMsgVector* fan_origin_offset) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_origin_offset_); - } - _impl_.fan_origin_offset_ = fan_origin_offset; - if (fan_origin_offset) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateFan.fan_origin_offset) -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::release_fan_origin_offset() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.fan_origin_offset_; - _impl_.fan_origin_offset_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::unsafe_arena_release_fan_origin_offset() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateFan.fan_origin_offset) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.fan_origin_offset_; - _impl_.fan_origin_offset_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::_internal_mutable_fan_origin_offset() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.fan_origin_offset_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.fan_origin_offset_ = p; - } - return _impl_.fan_origin_offset_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::mutable_fan_origin_offset() { - ::CMsgVector* _msg = _internal_mutable_fan_origin_offset(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateFan.fan_origin_offset) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateFan::set_allocated_fan_origin_offset(::CMsgVector* fan_origin_offset) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_origin_offset_); - } - if (fan_origin_offset) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(fan_origin_offset)); - if (message_arena != submessage_arena) { - fan_origin_offset = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, fan_origin_offset, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.fan_origin_offset_ = fan_origin_offset; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateFan.fan_origin_offset) -} - -// optional .CMsgVector fan_direction = 4; -inline bool CUserMsg_ParticleManager_UpdateFan::_internal_has_fan_direction() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.fan_direction_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateFan::has_fan_direction() const { - return _internal_has_fan_direction(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::_internal_fan_direction() const { - const ::CMsgVector* p = _impl_.fan_direction_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::fan_direction() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateFan.fan_direction) - return _internal_fan_direction(); -} -inline void CUserMsg_ParticleManager_UpdateFan::unsafe_arena_set_allocated_fan_direction( - ::CMsgVector* fan_direction) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_direction_); - } - _impl_.fan_direction_ = fan_direction; - if (fan_direction) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateFan.fan_direction) -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::release_fan_direction() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.fan_direction_; - _impl_.fan_direction_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::unsafe_arena_release_fan_direction() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateFan.fan_direction) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CMsgVector* temp = _impl_.fan_direction_; - _impl_.fan_direction_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::_internal_mutable_fan_direction() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.fan_direction_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.fan_direction_ = p; - } - return _impl_.fan_direction_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::mutable_fan_direction() { - ::CMsgVector* _msg = _internal_mutable_fan_direction(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateFan.fan_direction) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateFan::set_allocated_fan_direction(::CMsgVector* fan_direction) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.fan_direction_); - } - if (fan_direction) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(fan_direction)); - if (message_arena != submessage_arena) { - fan_direction = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, fan_direction, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.fan_direction_ = fan_direction; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateFan.fan_direction) -} - -// optional float fan_ramp_ratio = 7; -inline bool CUserMsg_ParticleManager_UpdateFan::_internal_has_fan_ramp_ratio() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_UpdateFan::has_fan_ramp_ratio() const { - return _internal_has_fan_ramp_ratio(); -} -inline void CUserMsg_ParticleManager_UpdateFan::clear_fan_ramp_ratio() { - _impl_.fan_ramp_ratio_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline float CUserMsg_ParticleManager_UpdateFan::_internal_fan_ramp_ratio() const { - return _impl_.fan_ramp_ratio_; -} -inline float CUserMsg_ParticleManager_UpdateFan::fan_ramp_ratio() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateFan.fan_ramp_ratio) - return _internal_fan_ramp_ratio(); -} -inline void CUserMsg_ParticleManager_UpdateFan::_internal_set_fan_ramp_ratio(float value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.fan_ramp_ratio_ = value; -} -inline void CUserMsg_ParticleManager_UpdateFan::set_fan_ramp_ratio(float value) { - _internal_set_fan_ramp_ratio(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.UpdateFan.fan_ramp_ratio) -} - -// optional .CMsgVector bounds_mins = 5; -inline bool CUserMsg_ParticleManager_UpdateFan::_internal_has_bounds_mins() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.bounds_mins_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateFan::has_bounds_mins() const { - return _internal_has_bounds_mins(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::_internal_bounds_mins() const { - const ::CMsgVector* p = _impl_.bounds_mins_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::bounds_mins() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateFan.bounds_mins) - return _internal_bounds_mins(); -} -inline void CUserMsg_ParticleManager_UpdateFan::unsafe_arena_set_allocated_bounds_mins( - ::CMsgVector* bounds_mins) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bounds_mins_); - } - _impl_.bounds_mins_ = bounds_mins; - if (bounds_mins) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateFan.bounds_mins) -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::release_bounds_mins() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgVector* temp = _impl_.bounds_mins_; - _impl_.bounds_mins_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::unsafe_arena_release_bounds_mins() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateFan.bounds_mins) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CMsgVector* temp = _impl_.bounds_mins_; - _impl_.bounds_mins_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::_internal_mutable_bounds_mins() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.bounds_mins_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.bounds_mins_ = p; - } - return _impl_.bounds_mins_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::mutable_bounds_mins() { - ::CMsgVector* _msg = _internal_mutable_bounds_mins(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateFan.bounds_mins) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateFan::set_allocated_bounds_mins(::CMsgVector* bounds_mins) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bounds_mins_); - } - if (bounds_mins) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bounds_mins)); - if (message_arena != submessage_arena) { - bounds_mins = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, bounds_mins, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.bounds_mins_ = bounds_mins; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateFan.bounds_mins) -} - -// optional .CMsgVector bounds_maxs = 6; -inline bool CUserMsg_ParticleManager_UpdateFan::_internal_has_bounds_maxs() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.bounds_maxs_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_UpdateFan::has_bounds_maxs() const { - return _internal_has_bounds_maxs(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::_internal_bounds_maxs() const { - const ::CMsgVector* p = _impl_.bounds_maxs_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_UpdateFan::bounds_maxs() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.UpdateFan.bounds_maxs) - return _internal_bounds_maxs(); -} -inline void CUserMsg_ParticleManager_UpdateFan::unsafe_arena_set_allocated_bounds_maxs( - ::CMsgVector* bounds_maxs) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bounds_maxs_); - } - _impl_.bounds_maxs_ = bounds_maxs; - if (bounds_maxs) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.UpdateFan.bounds_maxs) -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::release_bounds_maxs() { - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgVector* temp = _impl_.bounds_maxs_; - _impl_.bounds_maxs_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::unsafe_arena_release_bounds_maxs() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.UpdateFan.bounds_maxs) - _impl_._has_bits_[0] &= ~0x00000010u; - ::CMsgVector* temp = _impl_.bounds_maxs_; - _impl_.bounds_maxs_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::_internal_mutable_bounds_maxs() { - _impl_._has_bits_[0] |= 0x00000010u; - if (_impl_.bounds_maxs_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.bounds_maxs_ = p; - } - return _impl_.bounds_maxs_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_UpdateFan::mutable_bounds_maxs() { - ::CMsgVector* _msg = _internal_mutable_bounds_maxs(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.UpdateFan.bounds_maxs) - return _msg; -} -inline void CUserMsg_ParticleManager_UpdateFan::set_allocated_bounds_maxs(::CMsgVector* bounds_maxs) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bounds_maxs_); - } - if (bounds_maxs) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bounds_maxs)); - if (message_arena != submessage_arena) { - bounds_maxs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, bounds_maxs, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.bounds_maxs_ = bounds_maxs; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.UpdateFan.bounds_maxs) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_RemoveFan - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager_SetParticleClusterGrowth - -// optional float duration = 1; -inline bool CUserMsg_ParticleManager_SetParticleClusterGrowth::_internal_has_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager_SetParticleClusterGrowth::has_duration() const { - return _internal_has_duration(); -} -inline void CUserMsg_ParticleManager_SetParticleClusterGrowth::clear_duration() { - _impl_.duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CUserMsg_ParticleManager_SetParticleClusterGrowth::_internal_duration() const { - return _impl_.duration_; -} -inline float CUserMsg_ParticleManager_SetParticleClusterGrowth::duration() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleClusterGrowth.duration) - return _internal_duration(); -} -inline void CUserMsg_ParticleManager_SetParticleClusterGrowth::_internal_set_duration(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.duration_ = value; -} -inline void CUserMsg_ParticleManager_SetParticleClusterGrowth::set_duration(float value) { - _internal_set_duration(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.SetParticleClusterGrowth.duration) -} - -// optional .CMsgVector origin = 2; -inline bool CUserMsg_ParticleManager_SetParticleClusterGrowth::_internal_has_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager_SetParticleClusterGrowth::has_origin() const { - return _internal_has_origin(); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_SetParticleClusterGrowth::_internal_origin() const { - const ::CMsgVector* p = _impl_.origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMsg_ParticleManager_SetParticleClusterGrowth::origin() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.SetParticleClusterGrowth.origin) - return _internal_origin(); -} -inline void CUserMsg_ParticleManager_SetParticleClusterGrowth::unsafe_arena_set_allocated_origin( - ::CMsgVector* origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - _impl_.origin_ = origin; - if (origin) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.SetParticleClusterGrowth.origin) -} -inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleClusterGrowth::release_origin() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleClusterGrowth::unsafe_arena_release_origin() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.SetParticleClusterGrowth.origin) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CMsgVector* temp = _impl_.origin_; - _impl_.origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleClusterGrowth::_internal_mutable_origin() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.origin_ = p; - } - return _impl_.origin_; -} -inline ::CMsgVector* CUserMsg_ParticleManager_SetParticleClusterGrowth::mutable_origin() { - ::CMsgVector* _msg = _internal_mutable_origin(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.SetParticleClusterGrowth.origin) - return _msg; -} -inline void CUserMsg_ParticleManager_SetParticleClusterGrowth::set_allocated_origin(::CMsgVector* origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_); - } - if (origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin)); - if (message_arena != submessage_arena) { - origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.origin_ = origin; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.SetParticleClusterGrowth.origin) -} - -// ------------------------------------------------------------------- - -// CUserMsg_ParticleManager - -// required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; -inline bool CUserMsg_ParticleManager::_internal_has_type() const { - bool value = (_impl_._has_bits_[1] & 0x00000080u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager::has_type() const { - return _internal_has_type(); -} -inline void CUserMsg_ParticleManager::clear_type() { - _impl_.type_ = 0; - _impl_._has_bits_[1] &= ~0x00000080u; -} -inline ::PARTICLE_MESSAGE CUserMsg_ParticleManager::_internal_type() const { - return static_cast< ::PARTICLE_MESSAGE >(_impl_.type_); -} -inline ::PARTICLE_MESSAGE CUserMsg_ParticleManager::type() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.type) - return _internal_type(); -} -inline void CUserMsg_ParticleManager::_internal_set_type(::PARTICLE_MESSAGE value) { - assert(::PARTICLE_MESSAGE_IsValid(value)); - _impl_._has_bits_[1] |= 0x00000080u; - _impl_.type_ = value; -} -inline void CUserMsg_ParticleManager::set_type(::PARTICLE_MESSAGE value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.type) -} - -// required uint32 index = 2; -inline bool CUserMsg_ParticleManager::_internal_has_index() const { - bool value = (_impl_._has_bits_[1] & 0x00000100u) != 0; - return value; -} -inline bool CUserMsg_ParticleManager::has_index() const { - return _internal_has_index(); -} -inline void CUserMsg_ParticleManager::clear_index() { - _impl_.index_ = 0u; - _impl_._has_bits_[1] &= ~0x00000100u; -} -inline uint32_t CUserMsg_ParticleManager::_internal_index() const { - return _impl_.index_; -} -inline uint32_t CUserMsg_ParticleManager::index() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.index) - return _internal_index(); -} -inline void CUserMsg_ParticleManager::_internal_set_index(uint32_t value) { - _impl_._has_bits_[1] |= 0x00000100u; - _impl_.index_ = value; -} -inline void CUserMsg_ParticleManager::set_index(uint32_t value) { - _internal_set_index(value); - // @@protoc_insertion_point(field_set:CUserMsg_ParticleManager.index) -} - -// optional .CUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3; -inline bool CUserMsg_ParticleManager::_internal_has_release_particle_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.release_particle_index_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_release_particle_index() const { - return _internal_has_release_particle_index(); -} -inline void CUserMsg_ParticleManager::clear_release_particle_index() { - if (_impl_.release_particle_index_ != nullptr) _impl_.release_particle_index_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::CUserMsg_ParticleManager_ReleaseParticleIndex& CUserMsg_ParticleManager::_internal_release_particle_index() const { - const ::CUserMsg_ParticleManager_ReleaseParticleIndex* p = _impl_.release_particle_index_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_ReleaseParticleIndex_default_instance_); -} -inline const ::CUserMsg_ParticleManager_ReleaseParticleIndex& CUserMsg_ParticleManager::release_particle_index() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.release_particle_index) - return _internal_release_particle_index(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_release_particle_index( - ::CUserMsg_ParticleManager_ReleaseParticleIndex* release_particle_index) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.release_particle_index_); - } - _impl_.release_particle_index_ = release_particle_index; - if (release_particle_index) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.release_particle_index) -} -inline ::CUserMsg_ParticleManager_ReleaseParticleIndex* CUserMsg_ParticleManager::release_release_particle_index() { - _impl_._has_bits_[0] &= ~0x00000001u; - ::CUserMsg_ParticleManager_ReleaseParticleIndex* temp = _impl_.release_particle_index_; - _impl_.release_particle_index_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_ReleaseParticleIndex* CUserMsg_ParticleManager::unsafe_arena_release_release_particle_index() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.release_particle_index) - _impl_._has_bits_[0] &= ~0x00000001u; - ::CUserMsg_ParticleManager_ReleaseParticleIndex* temp = _impl_.release_particle_index_; - _impl_.release_particle_index_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_ReleaseParticleIndex* CUserMsg_ParticleManager::_internal_mutable_release_particle_index() { - _impl_._has_bits_[0] |= 0x00000001u; - if (_impl_.release_particle_index_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_ReleaseParticleIndex>(GetArenaForAllocation()); - _impl_.release_particle_index_ = p; - } - return _impl_.release_particle_index_; -} -inline ::CUserMsg_ParticleManager_ReleaseParticleIndex* CUserMsg_ParticleManager::mutable_release_particle_index() { - ::CUserMsg_ParticleManager_ReleaseParticleIndex* _msg = _internal_mutable_release_particle_index(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.release_particle_index) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_release_particle_index(::CUserMsg_ParticleManager_ReleaseParticleIndex* release_particle_index) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.release_particle_index_; - } - if (release_particle_index) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(release_particle_index); - if (message_arena != submessage_arena) { - release_particle_index = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, release_particle_index, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.release_particle_index_ = release_particle_index; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.release_particle_index) -} - -// optional .CUserMsg_ParticleManager.CreateParticle create_particle = 4; -inline bool CUserMsg_ParticleManager::_internal_has_create_particle() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.create_particle_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_create_particle() const { - return _internal_has_create_particle(); -} -inline void CUserMsg_ParticleManager::clear_create_particle() { - if (_impl_.create_particle_ != nullptr) _impl_.create_particle_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::CUserMsg_ParticleManager_CreateParticle& CUserMsg_ParticleManager::_internal_create_particle() const { - const ::CUserMsg_ParticleManager_CreateParticle* p = _impl_.create_particle_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_CreateParticle_default_instance_); -} -inline const ::CUserMsg_ParticleManager_CreateParticle& CUserMsg_ParticleManager::create_particle() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.create_particle) - return _internal_create_particle(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_create_particle( - ::CUserMsg_ParticleManager_CreateParticle* create_particle) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.create_particle_); - } - _impl_.create_particle_ = create_particle; - if (create_particle) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.create_particle) -} -inline ::CUserMsg_ParticleManager_CreateParticle* CUserMsg_ParticleManager::release_create_particle() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CUserMsg_ParticleManager_CreateParticle* temp = _impl_.create_particle_; - _impl_.create_particle_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_CreateParticle* CUserMsg_ParticleManager::unsafe_arena_release_create_particle() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.create_particle) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CUserMsg_ParticleManager_CreateParticle* temp = _impl_.create_particle_; - _impl_.create_particle_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_CreateParticle* CUserMsg_ParticleManager::_internal_mutable_create_particle() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.create_particle_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_CreateParticle>(GetArenaForAllocation()); - _impl_.create_particle_ = p; - } - return _impl_.create_particle_; -} -inline ::CUserMsg_ParticleManager_CreateParticle* CUserMsg_ParticleManager::mutable_create_particle() { - ::CUserMsg_ParticleManager_CreateParticle* _msg = _internal_mutable_create_particle(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.create_particle) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_create_particle(::CUserMsg_ParticleManager_CreateParticle* create_particle) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.create_particle_; - } - if (create_particle) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(create_particle); - if (message_arena != submessage_arena) { - create_particle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, create_particle, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.create_particle_ = create_particle; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.create_particle) -} - -// optional .CUserMsg_ParticleManager.DestroyParticle destroy_particle = 5; -inline bool CUserMsg_ParticleManager::_internal_has_destroy_particle() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.destroy_particle_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_destroy_particle() const { - return _internal_has_destroy_particle(); -} -inline void CUserMsg_ParticleManager::clear_destroy_particle() { - if (_impl_.destroy_particle_ != nullptr) _impl_.destroy_particle_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::CUserMsg_ParticleManager_DestroyParticle& CUserMsg_ParticleManager::_internal_destroy_particle() const { - const ::CUserMsg_ParticleManager_DestroyParticle* p = _impl_.destroy_particle_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_DestroyParticle_default_instance_); -} -inline const ::CUserMsg_ParticleManager_DestroyParticle& CUserMsg_ParticleManager::destroy_particle() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.destroy_particle) - return _internal_destroy_particle(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_destroy_particle( - ::CUserMsg_ParticleManager_DestroyParticle* destroy_particle) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.destroy_particle_); - } - _impl_.destroy_particle_ = destroy_particle; - if (destroy_particle) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.destroy_particle) -} -inline ::CUserMsg_ParticleManager_DestroyParticle* CUserMsg_ParticleManager::release_destroy_particle() { - _impl_._has_bits_[0] &= ~0x00000004u; - ::CUserMsg_ParticleManager_DestroyParticle* temp = _impl_.destroy_particle_; - _impl_.destroy_particle_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_DestroyParticle* CUserMsg_ParticleManager::unsafe_arena_release_destroy_particle() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.destroy_particle) - _impl_._has_bits_[0] &= ~0x00000004u; - ::CUserMsg_ParticleManager_DestroyParticle* temp = _impl_.destroy_particle_; - _impl_.destroy_particle_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_DestroyParticle* CUserMsg_ParticleManager::_internal_mutable_destroy_particle() { - _impl_._has_bits_[0] |= 0x00000004u; - if (_impl_.destroy_particle_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_DestroyParticle>(GetArenaForAllocation()); - _impl_.destroy_particle_ = p; - } - return _impl_.destroy_particle_; -} -inline ::CUserMsg_ParticleManager_DestroyParticle* CUserMsg_ParticleManager::mutable_destroy_particle() { - ::CUserMsg_ParticleManager_DestroyParticle* _msg = _internal_mutable_destroy_particle(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.destroy_particle) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_destroy_particle(::CUserMsg_ParticleManager_DestroyParticle* destroy_particle) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.destroy_particle_; - } - if (destroy_particle) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(destroy_particle); - if (message_arena != submessage_arena) { - destroy_particle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, destroy_particle, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.destroy_particle_ = destroy_particle; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.destroy_particle) -} - -// optional .CUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6; -inline bool CUserMsg_ParticleManager::_internal_has_destroy_particle_involving() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.destroy_particle_involving_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_destroy_particle_involving() const { - return _internal_has_destroy_particle_involving(); -} -inline void CUserMsg_ParticleManager::clear_destroy_particle_involving() { - if (_impl_.destroy_particle_involving_ != nullptr) _impl_.destroy_particle_involving_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::CUserMsg_ParticleManager_DestroyParticleInvolving& CUserMsg_ParticleManager::_internal_destroy_particle_involving() const { - const ::CUserMsg_ParticleManager_DestroyParticleInvolving* p = _impl_.destroy_particle_involving_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_DestroyParticleInvolving_default_instance_); -} -inline const ::CUserMsg_ParticleManager_DestroyParticleInvolving& CUserMsg_ParticleManager::destroy_particle_involving() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.destroy_particle_involving) - return _internal_destroy_particle_involving(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_destroy_particle_involving( - ::CUserMsg_ParticleManager_DestroyParticleInvolving* destroy_particle_involving) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.destroy_particle_involving_); - } - _impl_.destroy_particle_involving_ = destroy_particle_involving; - if (destroy_particle_involving) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.destroy_particle_involving) -} -inline ::CUserMsg_ParticleManager_DestroyParticleInvolving* CUserMsg_ParticleManager::release_destroy_particle_involving() { - _impl_._has_bits_[0] &= ~0x00000008u; - ::CUserMsg_ParticleManager_DestroyParticleInvolving* temp = _impl_.destroy_particle_involving_; - _impl_.destroy_particle_involving_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_DestroyParticleInvolving* CUserMsg_ParticleManager::unsafe_arena_release_destroy_particle_involving() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.destroy_particle_involving) - _impl_._has_bits_[0] &= ~0x00000008u; - ::CUserMsg_ParticleManager_DestroyParticleInvolving* temp = _impl_.destroy_particle_involving_; - _impl_.destroy_particle_involving_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_DestroyParticleInvolving* CUserMsg_ParticleManager::_internal_mutable_destroy_particle_involving() { - _impl_._has_bits_[0] |= 0x00000008u; - if (_impl_.destroy_particle_involving_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_DestroyParticleInvolving>(GetArenaForAllocation()); - _impl_.destroy_particle_involving_ = p; - } - return _impl_.destroy_particle_involving_; -} -inline ::CUserMsg_ParticleManager_DestroyParticleInvolving* CUserMsg_ParticleManager::mutable_destroy_particle_involving() { - ::CUserMsg_ParticleManager_DestroyParticleInvolving* _msg = _internal_mutable_destroy_particle_involving(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.destroy_particle_involving) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_destroy_particle_involving(::CUserMsg_ParticleManager_DestroyParticleInvolving* destroy_particle_involving) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.destroy_particle_involving_; - } - if (destroy_particle_involving) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(destroy_particle_involving); - if (message_arena != submessage_arena) { - destroy_particle_involving = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, destroy_particle_involving, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.destroy_particle_involving_ = destroy_particle_involving; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.destroy_particle_involving) -} - -// optional .CUserMsg_ParticleManager.UpdateParticle_OBSOLETE update_particle = 7; -inline bool CUserMsg_ParticleManager::_internal_has_update_particle() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.update_particle_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_update_particle() const { - return _internal_has_update_particle(); -} -inline void CUserMsg_ParticleManager::clear_update_particle() { - if (_impl_.update_particle_ != nullptr) _impl_.update_particle_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline const ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& CUserMsg_ParticleManager::_internal_update_particle() const { - const ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* p = _impl_.update_particle_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_UpdateParticle_OBSOLETE_default_instance_); -} -inline const ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE& CUserMsg_ParticleManager::update_particle() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_particle) - return _internal_update_particle(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_particle( - ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* update_particle) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_particle_); - } - _impl_.update_particle_ = update_particle; - if (update_particle) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_particle) -} -inline ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* CUserMsg_ParticleManager::release_update_particle() { - _impl_._has_bits_[0] &= ~0x00000010u; - ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* temp = _impl_.update_particle_; - _impl_.update_particle_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* CUserMsg_ParticleManager::unsafe_arena_release_update_particle() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_particle) - _impl_._has_bits_[0] &= ~0x00000010u; - ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* temp = _impl_.update_particle_; - _impl_.update_particle_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* CUserMsg_ParticleManager::_internal_mutable_update_particle() { - _impl_._has_bits_[0] |= 0x00000010u; - if (_impl_.update_particle_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE>(GetArenaForAllocation()); - _impl_.update_particle_ = p; - } - return _impl_.update_particle_; -} -inline ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* CUserMsg_ParticleManager::mutable_update_particle() { - ::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* _msg = _internal_mutable_update_particle(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_particle) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_update_particle(::CUserMsg_ParticleManager_UpdateParticle_OBSOLETE* update_particle) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.update_particle_; - } - if (update_particle) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_particle); - if (message_arena != submessage_arena) { - update_particle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, update_particle, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - _impl_.update_particle_ = update_particle; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_particle) -} - -// optional .CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE update_particle_fwd = 8; -inline bool CUserMsg_ParticleManager::_internal_has_update_particle_fwd() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - PROTOBUF_ASSUME(!value || _impl_.update_particle_fwd_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_update_particle_fwd() const { - return _internal_has_update_particle_fwd(); -} -inline void CUserMsg_ParticleManager::clear_update_particle_fwd() { - if (_impl_.update_particle_fwd_ != nullptr) _impl_.update_particle_fwd_->Clear(); - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline const ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& CUserMsg_ParticleManager::_internal_update_particle_fwd() const { - const ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* p = _impl_.update_particle_fwd_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE_default_instance_); -} -inline const ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE& CUserMsg_ParticleManager::update_particle_fwd() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_particle_fwd) - return _internal_update_particle_fwd(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_particle_fwd( - ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* update_particle_fwd) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_particle_fwd_); - } - _impl_.update_particle_fwd_ = update_particle_fwd; - if (update_particle_fwd) { - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_particle_fwd) -} -inline ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* CUserMsg_ParticleManager::release_update_particle_fwd() { - _impl_._has_bits_[0] &= ~0x00000020u; - ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* temp = _impl_.update_particle_fwd_; - _impl_.update_particle_fwd_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* CUserMsg_ParticleManager::unsafe_arena_release_update_particle_fwd() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_particle_fwd) - _impl_._has_bits_[0] &= ~0x00000020u; - ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* temp = _impl_.update_particle_fwd_; - _impl_.update_particle_fwd_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* CUserMsg_ParticleManager::_internal_mutable_update_particle_fwd() { - _impl_._has_bits_[0] |= 0x00000020u; - if (_impl_.update_particle_fwd_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE>(GetArenaForAllocation()); - _impl_.update_particle_fwd_ = p; - } - return _impl_.update_particle_fwd_; -} -inline ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* CUserMsg_ParticleManager::mutable_update_particle_fwd() { - ::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* _msg = _internal_mutable_update_particle_fwd(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_particle_fwd) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_update_particle_fwd(::CUserMsg_ParticleManager_UpdateParticleFwd_OBSOLETE* update_particle_fwd) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.update_particle_fwd_; - } - if (update_particle_fwd) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_particle_fwd); - if (message_arena != submessage_arena) { - update_particle_fwd = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, update_particle_fwd, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000020u; - } else { - _impl_._has_bits_[0] &= ~0x00000020u; - } - _impl_.update_particle_fwd_ = update_particle_fwd; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_particle_fwd) -} - -// optional .CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE update_particle_orient = 9; -inline bool CUserMsg_ParticleManager::_internal_has_update_particle_orient() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - PROTOBUF_ASSUME(!value || _impl_.update_particle_orient_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_update_particle_orient() const { - return _internal_has_update_particle_orient(); -} -inline void CUserMsg_ParticleManager::clear_update_particle_orient() { - if (_impl_.update_particle_orient_ != nullptr) _impl_.update_particle_orient_->Clear(); - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline const ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& CUserMsg_ParticleManager::_internal_update_particle_orient() const { - const ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* p = _impl_.update_particle_orient_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE_default_instance_); -} -inline const ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE& CUserMsg_ParticleManager::update_particle_orient() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_particle_orient) - return _internal_update_particle_orient(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_particle_orient( - ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* update_particle_orient) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_particle_orient_); - } - _impl_.update_particle_orient_ = update_particle_orient; - if (update_particle_orient) { - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_particle_orient) -} -inline ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* CUserMsg_ParticleManager::release_update_particle_orient() { - _impl_._has_bits_[0] &= ~0x00000040u; - ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* temp = _impl_.update_particle_orient_; - _impl_.update_particle_orient_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* CUserMsg_ParticleManager::unsafe_arena_release_update_particle_orient() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_particle_orient) - _impl_._has_bits_[0] &= ~0x00000040u; - ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* temp = _impl_.update_particle_orient_; - _impl_.update_particle_orient_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* CUserMsg_ParticleManager::_internal_mutable_update_particle_orient() { - _impl_._has_bits_[0] |= 0x00000040u; - if (_impl_.update_particle_orient_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE>(GetArenaForAllocation()); - _impl_.update_particle_orient_ = p; - } - return _impl_.update_particle_orient_; -} -inline ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* CUserMsg_ParticleManager::mutable_update_particle_orient() { - ::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* _msg = _internal_mutable_update_particle_orient(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_particle_orient) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_update_particle_orient(::CUserMsg_ParticleManager_UpdateParticleOrient_OBSOLETE* update_particle_orient) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.update_particle_orient_; - } - if (update_particle_orient) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_particle_orient); - if (message_arena != submessage_arena) { - update_particle_orient = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, update_particle_orient, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000040u; - } else { - _impl_._has_bits_[0] &= ~0x00000040u; - } - _impl_.update_particle_orient_ = update_particle_orient; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_particle_orient) -} - -// optional .CUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10; -inline bool CUserMsg_ParticleManager::_internal_has_update_particle_fallback() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - PROTOBUF_ASSUME(!value || _impl_.update_particle_fallback_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_update_particle_fallback() const { - return _internal_has_update_particle_fallback(); -} -inline void CUserMsg_ParticleManager::clear_update_particle_fallback() { - if (_impl_.update_particle_fallback_ != nullptr) _impl_.update_particle_fallback_->Clear(); - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline const ::CUserMsg_ParticleManager_UpdateParticleFallback& CUserMsg_ParticleManager::_internal_update_particle_fallback() const { - const ::CUserMsg_ParticleManager_UpdateParticleFallback* p = _impl_.update_particle_fallback_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_UpdateParticleFallback_default_instance_); -} -inline const ::CUserMsg_ParticleManager_UpdateParticleFallback& CUserMsg_ParticleManager::update_particle_fallback() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_particle_fallback) - return _internal_update_particle_fallback(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_particle_fallback( - ::CUserMsg_ParticleManager_UpdateParticleFallback* update_particle_fallback) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_particle_fallback_); - } - _impl_.update_particle_fallback_ = update_particle_fallback; - if (update_particle_fallback) { - _impl_._has_bits_[0] |= 0x00000080u; - } else { - _impl_._has_bits_[0] &= ~0x00000080u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_particle_fallback) -} -inline ::CUserMsg_ParticleManager_UpdateParticleFallback* CUserMsg_ParticleManager::release_update_particle_fallback() { - _impl_._has_bits_[0] &= ~0x00000080u; - ::CUserMsg_ParticleManager_UpdateParticleFallback* temp = _impl_.update_particle_fallback_; - _impl_.update_particle_fallback_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateParticleFallback* CUserMsg_ParticleManager::unsafe_arena_release_update_particle_fallback() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_particle_fallback) - _impl_._has_bits_[0] &= ~0x00000080u; - ::CUserMsg_ParticleManager_UpdateParticleFallback* temp = _impl_.update_particle_fallback_; - _impl_.update_particle_fallback_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateParticleFallback* CUserMsg_ParticleManager::_internal_mutable_update_particle_fallback() { - _impl_._has_bits_[0] |= 0x00000080u; - if (_impl_.update_particle_fallback_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleFallback>(GetArenaForAllocation()); - _impl_.update_particle_fallback_ = p; - } - return _impl_.update_particle_fallback_; -} -inline ::CUserMsg_ParticleManager_UpdateParticleFallback* CUserMsg_ParticleManager::mutable_update_particle_fallback() { - ::CUserMsg_ParticleManager_UpdateParticleFallback* _msg = _internal_mutable_update_particle_fallback(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_particle_fallback) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_update_particle_fallback(::CUserMsg_ParticleManager_UpdateParticleFallback* update_particle_fallback) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.update_particle_fallback_; - } - if (update_particle_fallback) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_particle_fallback); - if (message_arena != submessage_arena) { - update_particle_fallback = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, update_particle_fallback, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000080u; - } else { - _impl_._has_bits_[0] &= ~0x00000080u; - } - _impl_.update_particle_fallback_ = update_particle_fallback; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_particle_fallback) -} - -// optional .CUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11; -inline bool CUserMsg_ParticleManager::_internal_has_update_particle_offset() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - PROTOBUF_ASSUME(!value || _impl_.update_particle_offset_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_update_particle_offset() const { - return _internal_has_update_particle_offset(); -} -inline void CUserMsg_ParticleManager::clear_update_particle_offset() { - if (_impl_.update_particle_offset_ != nullptr) _impl_.update_particle_offset_->Clear(); - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline const ::CUserMsg_ParticleManager_UpdateParticleOffset& CUserMsg_ParticleManager::_internal_update_particle_offset() const { - const ::CUserMsg_ParticleManager_UpdateParticleOffset* p = _impl_.update_particle_offset_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_UpdateParticleOffset_default_instance_); -} -inline const ::CUserMsg_ParticleManager_UpdateParticleOffset& CUserMsg_ParticleManager::update_particle_offset() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_particle_offset) - return _internal_update_particle_offset(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_particle_offset( - ::CUserMsg_ParticleManager_UpdateParticleOffset* update_particle_offset) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_particle_offset_); - } - _impl_.update_particle_offset_ = update_particle_offset; - if (update_particle_offset) { - _impl_._has_bits_[0] |= 0x00000100u; - } else { - _impl_._has_bits_[0] &= ~0x00000100u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_particle_offset) -} -inline ::CUserMsg_ParticleManager_UpdateParticleOffset* CUserMsg_ParticleManager::release_update_particle_offset() { - _impl_._has_bits_[0] &= ~0x00000100u; - ::CUserMsg_ParticleManager_UpdateParticleOffset* temp = _impl_.update_particle_offset_; - _impl_.update_particle_offset_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateParticleOffset* CUserMsg_ParticleManager::unsafe_arena_release_update_particle_offset() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_particle_offset) - _impl_._has_bits_[0] &= ~0x00000100u; - ::CUserMsg_ParticleManager_UpdateParticleOffset* temp = _impl_.update_particle_offset_; - _impl_.update_particle_offset_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateParticleOffset* CUserMsg_ParticleManager::_internal_mutable_update_particle_offset() { - _impl_._has_bits_[0] |= 0x00000100u; - if (_impl_.update_particle_offset_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleOffset>(GetArenaForAllocation()); - _impl_.update_particle_offset_ = p; - } - return _impl_.update_particle_offset_; -} -inline ::CUserMsg_ParticleManager_UpdateParticleOffset* CUserMsg_ParticleManager::mutable_update_particle_offset() { - ::CUserMsg_ParticleManager_UpdateParticleOffset* _msg = _internal_mutable_update_particle_offset(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_particle_offset) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_update_particle_offset(::CUserMsg_ParticleManager_UpdateParticleOffset* update_particle_offset) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.update_particle_offset_; - } - if (update_particle_offset) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_particle_offset); - if (message_arena != submessage_arena) { - update_particle_offset = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, update_particle_offset, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000100u; - } else { - _impl_._has_bits_[0] &= ~0x00000100u; - } - _impl_.update_particle_offset_ = update_particle_offset; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_particle_offset) -} - -// optional .CUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12; -inline bool CUserMsg_ParticleManager::_internal_has_update_particle_ent() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - PROTOBUF_ASSUME(!value || _impl_.update_particle_ent_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_update_particle_ent() const { - return _internal_has_update_particle_ent(); -} -inline void CUserMsg_ParticleManager::clear_update_particle_ent() { - if (_impl_.update_particle_ent_ != nullptr) _impl_.update_particle_ent_->Clear(); - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline const ::CUserMsg_ParticleManager_UpdateParticleEnt& CUserMsg_ParticleManager::_internal_update_particle_ent() const { - const ::CUserMsg_ParticleManager_UpdateParticleEnt* p = _impl_.update_particle_ent_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_UpdateParticleEnt_default_instance_); -} -inline const ::CUserMsg_ParticleManager_UpdateParticleEnt& CUserMsg_ParticleManager::update_particle_ent() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_particle_ent) - return _internal_update_particle_ent(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_particle_ent( - ::CUserMsg_ParticleManager_UpdateParticleEnt* update_particle_ent) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_particle_ent_); - } - _impl_.update_particle_ent_ = update_particle_ent; - if (update_particle_ent) { - _impl_._has_bits_[0] |= 0x00000200u; - } else { - _impl_._has_bits_[0] &= ~0x00000200u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_particle_ent) -} -inline ::CUserMsg_ParticleManager_UpdateParticleEnt* CUserMsg_ParticleManager::release_update_particle_ent() { - _impl_._has_bits_[0] &= ~0x00000200u; - ::CUserMsg_ParticleManager_UpdateParticleEnt* temp = _impl_.update_particle_ent_; - _impl_.update_particle_ent_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateParticleEnt* CUserMsg_ParticleManager::unsafe_arena_release_update_particle_ent() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_particle_ent) - _impl_._has_bits_[0] &= ~0x00000200u; - ::CUserMsg_ParticleManager_UpdateParticleEnt* temp = _impl_.update_particle_ent_; - _impl_.update_particle_ent_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateParticleEnt* CUserMsg_ParticleManager::_internal_mutable_update_particle_ent() { - _impl_._has_bits_[0] |= 0x00000200u; - if (_impl_.update_particle_ent_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleEnt>(GetArenaForAllocation()); - _impl_.update_particle_ent_ = p; - } - return _impl_.update_particle_ent_; -} -inline ::CUserMsg_ParticleManager_UpdateParticleEnt* CUserMsg_ParticleManager::mutable_update_particle_ent() { - ::CUserMsg_ParticleManager_UpdateParticleEnt* _msg = _internal_mutable_update_particle_ent(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_particle_ent) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_update_particle_ent(::CUserMsg_ParticleManager_UpdateParticleEnt* update_particle_ent) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.update_particle_ent_; - } - if (update_particle_ent) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_particle_ent); - if (message_arena != submessage_arena) { - update_particle_ent = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, update_particle_ent, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000200u; - } else { - _impl_._has_bits_[0] &= ~0x00000200u; - } - _impl_.update_particle_ent_ = update_particle_ent; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_particle_ent) -} - -// optional .CUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14; -inline bool CUserMsg_ParticleManager::_internal_has_update_particle_should_draw() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - PROTOBUF_ASSUME(!value || _impl_.update_particle_should_draw_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_update_particle_should_draw() const { - return _internal_has_update_particle_should_draw(); -} -inline void CUserMsg_ParticleManager::clear_update_particle_should_draw() { - if (_impl_.update_particle_should_draw_ != nullptr) _impl_.update_particle_should_draw_->Clear(); - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline const ::CUserMsg_ParticleManager_UpdateParticleShouldDraw& CUserMsg_ParticleManager::_internal_update_particle_should_draw() const { - const ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* p = _impl_.update_particle_should_draw_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_UpdateParticleShouldDraw_default_instance_); -} -inline const ::CUserMsg_ParticleManager_UpdateParticleShouldDraw& CUserMsg_ParticleManager::update_particle_should_draw() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_particle_should_draw) - return _internal_update_particle_should_draw(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_particle_should_draw( - ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* update_particle_should_draw) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_particle_should_draw_); - } - _impl_.update_particle_should_draw_ = update_particle_should_draw; - if (update_particle_should_draw) { - _impl_._has_bits_[0] |= 0x00000400u; - } else { - _impl_._has_bits_[0] &= ~0x00000400u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_particle_should_draw) -} -inline ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* CUserMsg_ParticleManager::release_update_particle_should_draw() { - _impl_._has_bits_[0] &= ~0x00000400u; - ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* temp = _impl_.update_particle_should_draw_; - _impl_.update_particle_should_draw_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* CUserMsg_ParticleManager::unsafe_arena_release_update_particle_should_draw() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_particle_should_draw) - _impl_._has_bits_[0] &= ~0x00000400u; - ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* temp = _impl_.update_particle_should_draw_; - _impl_.update_particle_should_draw_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* CUserMsg_ParticleManager::_internal_mutable_update_particle_should_draw() { - _impl_._has_bits_[0] |= 0x00000400u; - if (_impl_.update_particle_should_draw_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleShouldDraw>(GetArenaForAllocation()); - _impl_.update_particle_should_draw_ = p; - } - return _impl_.update_particle_should_draw_; -} -inline ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* CUserMsg_ParticleManager::mutable_update_particle_should_draw() { - ::CUserMsg_ParticleManager_UpdateParticleShouldDraw* _msg = _internal_mutable_update_particle_should_draw(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_particle_should_draw) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_update_particle_should_draw(::CUserMsg_ParticleManager_UpdateParticleShouldDraw* update_particle_should_draw) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.update_particle_should_draw_; - } - if (update_particle_should_draw) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_particle_should_draw); - if (message_arena != submessage_arena) { - update_particle_should_draw = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, update_particle_should_draw, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000400u; - } else { - _impl_._has_bits_[0] &= ~0x00000400u; - } - _impl_.update_particle_should_draw_ = update_particle_should_draw; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_particle_should_draw) -} - -// optional .CUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15; -inline bool CUserMsg_ParticleManager::_internal_has_update_particle_set_frozen() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - PROTOBUF_ASSUME(!value || _impl_.update_particle_set_frozen_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_update_particle_set_frozen() const { - return _internal_has_update_particle_set_frozen(); -} -inline void CUserMsg_ParticleManager::clear_update_particle_set_frozen() { - if (_impl_.update_particle_set_frozen_ != nullptr) _impl_.update_particle_set_frozen_->Clear(); - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline const ::CUserMsg_ParticleManager_UpdateParticleSetFrozen& CUserMsg_ParticleManager::_internal_update_particle_set_frozen() const { - const ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* p = _impl_.update_particle_set_frozen_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_UpdateParticleSetFrozen_default_instance_); -} -inline const ::CUserMsg_ParticleManager_UpdateParticleSetFrozen& CUserMsg_ParticleManager::update_particle_set_frozen() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_particle_set_frozen) - return _internal_update_particle_set_frozen(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_particle_set_frozen( - ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* update_particle_set_frozen) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_particle_set_frozen_); - } - _impl_.update_particle_set_frozen_ = update_particle_set_frozen; - if (update_particle_set_frozen) { - _impl_._has_bits_[0] |= 0x00000800u; - } else { - _impl_._has_bits_[0] &= ~0x00000800u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_particle_set_frozen) -} -inline ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* CUserMsg_ParticleManager::release_update_particle_set_frozen() { - _impl_._has_bits_[0] &= ~0x00000800u; - ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* temp = _impl_.update_particle_set_frozen_; - _impl_.update_particle_set_frozen_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* CUserMsg_ParticleManager::unsafe_arena_release_update_particle_set_frozen() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_particle_set_frozen) - _impl_._has_bits_[0] &= ~0x00000800u; - ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* temp = _impl_.update_particle_set_frozen_; - _impl_.update_particle_set_frozen_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* CUserMsg_ParticleManager::_internal_mutable_update_particle_set_frozen() { - _impl_._has_bits_[0] |= 0x00000800u; - if (_impl_.update_particle_set_frozen_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleSetFrozen>(GetArenaForAllocation()); - _impl_.update_particle_set_frozen_ = p; - } - return _impl_.update_particle_set_frozen_; -} -inline ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* CUserMsg_ParticleManager::mutable_update_particle_set_frozen() { - ::CUserMsg_ParticleManager_UpdateParticleSetFrozen* _msg = _internal_mutable_update_particle_set_frozen(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_particle_set_frozen) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_update_particle_set_frozen(::CUserMsg_ParticleManager_UpdateParticleSetFrozen* update_particle_set_frozen) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.update_particle_set_frozen_; - } - if (update_particle_set_frozen) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_particle_set_frozen); - if (message_arena != submessage_arena) { - update_particle_set_frozen = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, update_particle_set_frozen, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000800u; - } else { - _impl_._has_bits_[0] &= ~0x00000800u; - } - _impl_.update_particle_set_frozen_ = update_particle_set_frozen; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_particle_set_frozen) -} - -// optional .CUserMsg_ParticleManager.ChangeControlPointAttachment change_control_point_attachment = 16; -inline bool CUserMsg_ParticleManager::_internal_has_change_control_point_attachment() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.change_control_point_attachment_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_change_control_point_attachment() const { - return _internal_has_change_control_point_attachment(); -} -inline void CUserMsg_ParticleManager::clear_change_control_point_attachment() { - if (_impl_.change_control_point_attachment_ != nullptr) _impl_.change_control_point_attachment_->Clear(); - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline const ::CUserMsg_ParticleManager_ChangeControlPointAttachment& CUserMsg_ParticleManager::_internal_change_control_point_attachment() const { - const ::CUserMsg_ParticleManager_ChangeControlPointAttachment* p = _impl_.change_control_point_attachment_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_ChangeControlPointAttachment_default_instance_); -} -inline const ::CUserMsg_ParticleManager_ChangeControlPointAttachment& CUserMsg_ParticleManager::change_control_point_attachment() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.change_control_point_attachment) - return _internal_change_control_point_attachment(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_change_control_point_attachment( - ::CUserMsg_ParticleManager_ChangeControlPointAttachment* change_control_point_attachment) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.change_control_point_attachment_); - } - _impl_.change_control_point_attachment_ = change_control_point_attachment; - if (change_control_point_attachment) { - _impl_._has_bits_[0] |= 0x00001000u; - } else { - _impl_._has_bits_[0] &= ~0x00001000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.change_control_point_attachment) -} -inline ::CUserMsg_ParticleManager_ChangeControlPointAttachment* CUserMsg_ParticleManager::release_change_control_point_attachment() { - _impl_._has_bits_[0] &= ~0x00001000u; - ::CUserMsg_ParticleManager_ChangeControlPointAttachment* temp = _impl_.change_control_point_attachment_; - _impl_.change_control_point_attachment_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_ChangeControlPointAttachment* CUserMsg_ParticleManager::unsafe_arena_release_change_control_point_attachment() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.change_control_point_attachment) - _impl_._has_bits_[0] &= ~0x00001000u; - ::CUserMsg_ParticleManager_ChangeControlPointAttachment* temp = _impl_.change_control_point_attachment_; - _impl_.change_control_point_attachment_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_ChangeControlPointAttachment* CUserMsg_ParticleManager::_internal_mutable_change_control_point_attachment() { - _impl_._has_bits_[0] |= 0x00001000u; - if (_impl_.change_control_point_attachment_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_ChangeControlPointAttachment>(GetArenaForAllocation()); - _impl_.change_control_point_attachment_ = p; - } - return _impl_.change_control_point_attachment_; -} -inline ::CUserMsg_ParticleManager_ChangeControlPointAttachment* CUserMsg_ParticleManager::mutable_change_control_point_attachment() { - ::CUserMsg_ParticleManager_ChangeControlPointAttachment* _msg = _internal_mutable_change_control_point_attachment(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.change_control_point_attachment) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_change_control_point_attachment(::CUserMsg_ParticleManager_ChangeControlPointAttachment* change_control_point_attachment) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.change_control_point_attachment_; - } - if (change_control_point_attachment) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(change_control_point_attachment); - if (message_arena != submessage_arena) { - change_control_point_attachment = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, change_control_point_attachment, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00001000u; - } else { - _impl_._has_bits_[0] &= ~0x00001000u; - } - _impl_.change_control_point_attachment_ = change_control_point_attachment; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.change_control_point_attachment) -} - -// optional .CUserMsg_ParticleManager.UpdateEntityPosition update_entity_position = 17; -inline bool CUserMsg_ParticleManager::_internal_has_update_entity_position() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.update_entity_position_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_update_entity_position() const { - return _internal_has_update_entity_position(); -} -inline void CUserMsg_ParticleManager::clear_update_entity_position() { - if (_impl_.update_entity_position_ != nullptr) _impl_.update_entity_position_->Clear(); - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline const ::CUserMsg_ParticleManager_UpdateEntityPosition& CUserMsg_ParticleManager::_internal_update_entity_position() const { - const ::CUserMsg_ParticleManager_UpdateEntityPosition* p = _impl_.update_entity_position_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_UpdateEntityPosition_default_instance_); -} -inline const ::CUserMsg_ParticleManager_UpdateEntityPosition& CUserMsg_ParticleManager::update_entity_position() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_entity_position) - return _internal_update_entity_position(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_entity_position( - ::CUserMsg_ParticleManager_UpdateEntityPosition* update_entity_position) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_entity_position_); - } - _impl_.update_entity_position_ = update_entity_position; - if (update_entity_position) { - _impl_._has_bits_[0] |= 0x00002000u; - } else { - _impl_._has_bits_[0] &= ~0x00002000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_entity_position) -} -inline ::CUserMsg_ParticleManager_UpdateEntityPosition* CUserMsg_ParticleManager::release_update_entity_position() { - _impl_._has_bits_[0] &= ~0x00002000u; - ::CUserMsg_ParticleManager_UpdateEntityPosition* temp = _impl_.update_entity_position_; - _impl_.update_entity_position_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateEntityPosition* CUserMsg_ParticleManager::unsafe_arena_release_update_entity_position() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_entity_position) - _impl_._has_bits_[0] &= ~0x00002000u; - ::CUserMsg_ParticleManager_UpdateEntityPosition* temp = _impl_.update_entity_position_; - _impl_.update_entity_position_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateEntityPosition* CUserMsg_ParticleManager::_internal_mutable_update_entity_position() { - _impl_._has_bits_[0] |= 0x00002000u; - if (_impl_.update_entity_position_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateEntityPosition>(GetArenaForAllocation()); - _impl_.update_entity_position_ = p; - } - return _impl_.update_entity_position_; -} -inline ::CUserMsg_ParticleManager_UpdateEntityPosition* CUserMsg_ParticleManager::mutable_update_entity_position() { - ::CUserMsg_ParticleManager_UpdateEntityPosition* _msg = _internal_mutable_update_entity_position(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_entity_position) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_update_entity_position(::CUserMsg_ParticleManager_UpdateEntityPosition* update_entity_position) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.update_entity_position_; - } - if (update_entity_position) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_entity_position); - if (message_arena != submessage_arena) { - update_entity_position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, update_entity_position, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00002000u; - } else { - _impl_._has_bits_[0] &= ~0x00002000u; - } - _impl_.update_entity_position_ = update_entity_position; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_entity_position) -} - -// optional .CUserMsg_ParticleManager.SetParticleFoWProperties set_particle_fow_properties = 18; -inline bool CUserMsg_ParticleManager::_internal_has_set_particle_fow_properties() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.set_particle_fow_properties_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_set_particle_fow_properties() const { - return _internal_has_set_particle_fow_properties(); -} -inline void CUserMsg_ParticleManager::clear_set_particle_fow_properties() { - if (_impl_.set_particle_fow_properties_ != nullptr) _impl_.set_particle_fow_properties_->Clear(); - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline const ::CUserMsg_ParticleManager_SetParticleFoWProperties& CUserMsg_ParticleManager::_internal_set_particle_fow_properties() const { - const ::CUserMsg_ParticleManager_SetParticleFoWProperties* p = _impl_.set_particle_fow_properties_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_SetParticleFoWProperties_default_instance_); -} -inline const ::CUserMsg_ParticleManager_SetParticleFoWProperties& CUserMsg_ParticleManager::set_particle_fow_properties() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_particle_fow_properties) - return _internal_set_particle_fow_properties(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_particle_fow_properties( - ::CUserMsg_ParticleManager_SetParticleFoWProperties* set_particle_fow_properties) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_particle_fow_properties_); - } - _impl_.set_particle_fow_properties_ = set_particle_fow_properties; - if (set_particle_fow_properties) { - _impl_._has_bits_[0] |= 0x00004000u; - } else { - _impl_._has_bits_[0] &= ~0x00004000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_particle_fow_properties) -} -inline ::CUserMsg_ParticleManager_SetParticleFoWProperties* CUserMsg_ParticleManager::release_set_particle_fow_properties() { - _impl_._has_bits_[0] &= ~0x00004000u; - ::CUserMsg_ParticleManager_SetParticleFoWProperties* temp = _impl_.set_particle_fow_properties_; - _impl_.set_particle_fow_properties_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_SetParticleFoWProperties* CUserMsg_ParticleManager::unsafe_arena_release_set_particle_fow_properties() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_particle_fow_properties) - _impl_._has_bits_[0] &= ~0x00004000u; - ::CUserMsg_ParticleManager_SetParticleFoWProperties* temp = _impl_.set_particle_fow_properties_; - _impl_.set_particle_fow_properties_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_SetParticleFoWProperties* CUserMsg_ParticleManager::_internal_mutable_set_particle_fow_properties() { - _impl_._has_bits_[0] |= 0x00004000u; - if (_impl_.set_particle_fow_properties_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleFoWProperties>(GetArenaForAllocation()); - _impl_.set_particle_fow_properties_ = p; - } - return _impl_.set_particle_fow_properties_; -} -inline ::CUserMsg_ParticleManager_SetParticleFoWProperties* CUserMsg_ParticleManager::mutable_set_particle_fow_properties() { - ::CUserMsg_ParticleManager_SetParticleFoWProperties* _msg = _internal_mutable_set_particle_fow_properties(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_particle_fow_properties) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_set_particle_fow_properties(::CUserMsg_ParticleManager_SetParticleFoWProperties* set_particle_fow_properties) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.set_particle_fow_properties_; - } - if (set_particle_fow_properties) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_particle_fow_properties); - if (message_arena != submessage_arena) { - set_particle_fow_properties = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, set_particle_fow_properties, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00004000u; - } else { - _impl_._has_bits_[0] &= ~0x00004000u; - } - _impl_.set_particle_fow_properties_ = set_particle_fow_properties; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_particle_fow_properties) -} - -// optional .CUserMsg_ParticleManager.SetParticleText set_particle_text = 19; -inline bool CUserMsg_ParticleManager::_internal_has_set_particle_text() const { - bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.set_particle_text_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_set_particle_text() const { - return _internal_has_set_particle_text(); -} -inline void CUserMsg_ParticleManager::clear_set_particle_text() { - if (_impl_.set_particle_text_ != nullptr) _impl_.set_particle_text_->Clear(); - _impl_._has_bits_[0] &= ~0x00008000u; -} -inline const ::CUserMsg_ParticleManager_SetParticleText& CUserMsg_ParticleManager::_internal_set_particle_text() const { - const ::CUserMsg_ParticleManager_SetParticleText* p = _impl_.set_particle_text_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_SetParticleText_default_instance_); -} -inline const ::CUserMsg_ParticleManager_SetParticleText& CUserMsg_ParticleManager::set_particle_text() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_particle_text) - return _internal_set_particle_text(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_particle_text( - ::CUserMsg_ParticleManager_SetParticleText* set_particle_text) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_particle_text_); - } - _impl_.set_particle_text_ = set_particle_text; - if (set_particle_text) { - _impl_._has_bits_[0] |= 0x00008000u; - } else { - _impl_._has_bits_[0] &= ~0x00008000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_particle_text) -} -inline ::CUserMsg_ParticleManager_SetParticleText* CUserMsg_ParticleManager::release_set_particle_text() { - _impl_._has_bits_[0] &= ~0x00008000u; - ::CUserMsg_ParticleManager_SetParticleText* temp = _impl_.set_particle_text_; - _impl_.set_particle_text_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_SetParticleText* CUserMsg_ParticleManager::unsafe_arena_release_set_particle_text() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_particle_text) - _impl_._has_bits_[0] &= ~0x00008000u; - ::CUserMsg_ParticleManager_SetParticleText* temp = _impl_.set_particle_text_; - _impl_.set_particle_text_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_SetParticleText* CUserMsg_ParticleManager::_internal_mutable_set_particle_text() { - _impl_._has_bits_[0] |= 0x00008000u; - if (_impl_.set_particle_text_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleText>(GetArenaForAllocation()); - _impl_.set_particle_text_ = p; - } - return _impl_.set_particle_text_; -} -inline ::CUserMsg_ParticleManager_SetParticleText* CUserMsg_ParticleManager::mutable_set_particle_text() { - ::CUserMsg_ParticleManager_SetParticleText* _msg = _internal_mutable_set_particle_text(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_particle_text) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_set_particle_text(::CUserMsg_ParticleManager_SetParticleText* set_particle_text) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.set_particle_text_; - } - if (set_particle_text) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_particle_text); - if (message_arena != submessage_arena) { - set_particle_text = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, set_particle_text, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00008000u; - } else { - _impl_._has_bits_[0] &= ~0x00008000u; - } - _impl_.set_particle_text_ = set_particle_text; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_particle_text) -} - -// optional .CUserMsg_ParticleManager.SetParticleShouldCheckFoW set_particle_should_check_fow = 20; -inline bool CUserMsg_ParticleManager::_internal_has_set_particle_should_check_fow() const { - bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.set_particle_should_check_fow_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_set_particle_should_check_fow() const { - return _internal_has_set_particle_should_check_fow(); -} -inline void CUserMsg_ParticleManager::clear_set_particle_should_check_fow() { - if (_impl_.set_particle_should_check_fow_ != nullptr) _impl_.set_particle_should_check_fow_->Clear(); - _impl_._has_bits_[0] &= ~0x00010000u; -} -inline const ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW& CUserMsg_ParticleManager::_internal_set_particle_should_check_fow() const { - const ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* p = _impl_.set_particle_should_check_fow_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_SetParticleShouldCheckFoW_default_instance_); -} -inline const ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW& CUserMsg_ParticleManager::set_particle_should_check_fow() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_particle_should_check_fow) - return _internal_set_particle_should_check_fow(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_particle_should_check_fow( - ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* set_particle_should_check_fow) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_particle_should_check_fow_); - } - _impl_.set_particle_should_check_fow_ = set_particle_should_check_fow; - if (set_particle_should_check_fow) { - _impl_._has_bits_[0] |= 0x00010000u; - } else { - _impl_._has_bits_[0] &= ~0x00010000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_particle_should_check_fow) -} -inline ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* CUserMsg_ParticleManager::release_set_particle_should_check_fow() { - _impl_._has_bits_[0] &= ~0x00010000u; - ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* temp = _impl_.set_particle_should_check_fow_; - _impl_.set_particle_should_check_fow_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* CUserMsg_ParticleManager::unsafe_arena_release_set_particle_should_check_fow() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_particle_should_check_fow) - _impl_._has_bits_[0] &= ~0x00010000u; - ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* temp = _impl_.set_particle_should_check_fow_; - _impl_.set_particle_should_check_fow_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* CUserMsg_ParticleManager::_internal_mutable_set_particle_should_check_fow() { - _impl_._has_bits_[0] |= 0x00010000u; - if (_impl_.set_particle_should_check_fow_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleShouldCheckFoW>(GetArenaForAllocation()); - _impl_.set_particle_should_check_fow_ = p; - } - return _impl_.set_particle_should_check_fow_; -} -inline ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* CUserMsg_ParticleManager::mutable_set_particle_should_check_fow() { - ::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* _msg = _internal_mutable_set_particle_should_check_fow(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_particle_should_check_fow) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_set_particle_should_check_fow(::CUserMsg_ParticleManager_SetParticleShouldCheckFoW* set_particle_should_check_fow) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.set_particle_should_check_fow_; - } - if (set_particle_should_check_fow) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_particle_should_check_fow); - if (message_arena != submessage_arena) { - set_particle_should_check_fow = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, set_particle_should_check_fow, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00010000u; - } else { - _impl_._has_bits_[0] &= ~0x00010000u; - } - _impl_.set_particle_should_check_fow_ = set_particle_should_check_fow; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_particle_should_check_fow) -} - -// optional .CUserMsg_ParticleManager.SetControlPointModel set_control_point_model = 21; -inline bool CUserMsg_ParticleManager::_internal_has_set_control_point_model() const { - bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.set_control_point_model_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_set_control_point_model() const { - return _internal_has_set_control_point_model(); -} -inline void CUserMsg_ParticleManager::clear_set_control_point_model() { - if (_impl_.set_control_point_model_ != nullptr) _impl_.set_control_point_model_->Clear(); - _impl_._has_bits_[0] &= ~0x00020000u; -} -inline const ::CUserMsg_ParticleManager_SetControlPointModel& CUserMsg_ParticleManager::_internal_set_control_point_model() const { - const ::CUserMsg_ParticleManager_SetControlPointModel* p = _impl_.set_control_point_model_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_SetControlPointModel_default_instance_); -} -inline const ::CUserMsg_ParticleManager_SetControlPointModel& CUserMsg_ParticleManager::set_control_point_model() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_control_point_model) - return _internal_set_control_point_model(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_control_point_model( - ::CUserMsg_ParticleManager_SetControlPointModel* set_control_point_model) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_control_point_model_); - } - _impl_.set_control_point_model_ = set_control_point_model; - if (set_control_point_model) { - _impl_._has_bits_[0] |= 0x00020000u; - } else { - _impl_._has_bits_[0] &= ~0x00020000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_control_point_model) -} -inline ::CUserMsg_ParticleManager_SetControlPointModel* CUserMsg_ParticleManager::release_set_control_point_model() { - _impl_._has_bits_[0] &= ~0x00020000u; - ::CUserMsg_ParticleManager_SetControlPointModel* temp = _impl_.set_control_point_model_; - _impl_.set_control_point_model_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_SetControlPointModel* CUserMsg_ParticleManager::unsafe_arena_release_set_control_point_model() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_control_point_model) - _impl_._has_bits_[0] &= ~0x00020000u; - ::CUserMsg_ParticleManager_SetControlPointModel* temp = _impl_.set_control_point_model_; - _impl_.set_control_point_model_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_SetControlPointModel* CUserMsg_ParticleManager::_internal_mutable_set_control_point_model() { - _impl_._has_bits_[0] |= 0x00020000u; - if (_impl_.set_control_point_model_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetControlPointModel>(GetArenaForAllocation()); - _impl_.set_control_point_model_ = p; - } - return _impl_.set_control_point_model_; -} -inline ::CUserMsg_ParticleManager_SetControlPointModel* CUserMsg_ParticleManager::mutable_set_control_point_model() { - ::CUserMsg_ParticleManager_SetControlPointModel* _msg = _internal_mutable_set_control_point_model(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_control_point_model) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_set_control_point_model(::CUserMsg_ParticleManager_SetControlPointModel* set_control_point_model) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.set_control_point_model_; - } - if (set_control_point_model) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_control_point_model); - if (message_arena != submessage_arena) { - set_control_point_model = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, set_control_point_model, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00020000u; - } else { - _impl_._has_bits_[0] &= ~0x00020000u; - } - _impl_.set_control_point_model_ = set_control_point_model; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_control_point_model) -} - -// optional .CUserMsg_ParticleManager.SetControlPointSnapshot set_control_point_snapshot = 22; -inline bool CUserMsg_ParticleManager::_internal_has_set_control_point_snapshot() const { - bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.set_control_point_snapshot_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_set_control_point_snapshot() const { - return _internal_has_set_control_point_snapshot(); -} -inline void CUserMsg_ParticleManager::clear_set_control_point_snapshot() { - if (_impl_.set_control_point_snapshot_ != nullptr) _impl_.set_control_point_snapshot_->Clear(); - _impl_._has_bits_[0] &= ~0x00040000u; -} -inline const ::CUserMsg_ParticleManager_SetControlPointSnapshot& CUserMsg_ParticleManager::_internal_set_control_point_snapshot() const { - const ::CUserMsg_ParticleManager_SetControlPointSnapshot* p = _impl_.set_control_point_snapshot_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_SetControlPointSnapshot_default_instance_); -} -inline const ::CUserMsg_ParticleManager_SetControlPointSnapshot& CUserMsg_ParticleManager::set_control_point_snapshot() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_control_point_snapshot) - return _internal_set_control_point_snapshot(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_control_point_snapshot( - ::CUserMsg_ParticleManager_SetControlPointSnapshot* set_control_point_snapshot) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_control_point_snapshot_); - } - _impl_.set_control_point_snapshot_ = set_control_point_snapshot; - if (set_control_point_snapshot) { - _impl_._has_bits_[0] |= 0x00040000u; - } else { - _impl_._has_bits_[0] &= ~0x00040000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_control_point_snapshot) -} -inline ::CUserMsg_ParticleManager_SetControlPointSnapshot* CUserMsg_ParticleManager::release_set_control_point_snapshot() { - _impl_._has_bits_[0] &= ~0x00040000u; - ::CUserMsg_ParticleManager_SetControlPointSnapshot* temp = _impl_.set_control_point_snapshot_; - _impl_.set_control_point_snapshot_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_SetControlPointSnapshot* CUserMsg_ParticleManager::unsafe_arena_release_set_control_point_snapshot() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_control_point_snapshot) - _impl_._has_bits_[0] &= ~0x00040000u; - ::CUserMsg_ParticleManager_SetControlPointSnapshot* temp = _impl_.set_control_point_snapshot_; - _impl_.set_control_point_snapshot_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_SetControlPointSnapshot* CUserMsg_ParticleManager::_internal_mutable_set_control_point_snapshot() { - _impl_._has_bits_[0] |= 0x00040000u; - if (_impl_.set_control_point_snapshot_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetControlPointSnapshot>(GetArenaForAllocation()); - _impl_.set_control_point_snapshot_ = p; - } - return _impl_.set_control_point_snapshot_; -} -inline ::CUserMsg_ParticleManager_SetControlPointSnapshot* CUserMsg_ParticleManager::mutable_set_control_point_snapshot() { - ::CUserMsg_ParticleManager_SetControlPointSnapshot* _msg = _internal_mutable_set_control_point_snapshot(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_control_point_snapshot) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_set_control_point_snapshot(::CUserMsg_ParticleManager_SetControlPointSnapshot* set_control_point_snapshot) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.set_control_point_snapshot_; - } - if (set_control_point_snapshot) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_control_point_snapshot); - if (message_arena != submessage_arena) { - set_control_point_snapshot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, set_control_point_snapshot, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00040000u; - } else { - _impl_._has_bits_[0] &= ~0x00040000u; - } - _impl_.set_control_point_snapshot_ = set_control_point_snapshot; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_control_point_snapshot) -} - -// optional .CUserMsg_ParticleManager.SetTextureAttribute set_texture_attribute = 23; -inline bool CUserMsg_ParticleManager::_internal_has_set_texture_attribute() const { - bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.set_texture_attribute_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_set_texture_attribute() const { - return _internal_has_set_texture_attribute(); -} -inline void CUserMsg_ParticleManager::clear_set_texture_attribute() { - if (_impl_.set_texture_attribute_ != nullptr) _impl_.set_texture_attribute_->Clear(); - _impl_._has_bits_[0] &= ~0x00080000u; -} -inline const ::CUserMsg_ParticleManager_SetTextureAttribute& CUserMsg_ParticleManager::_internal_set_texture_attribute() const { - const ::CUserMsg_ParticleManager_SetTextureAttribute* p = _impl_.set_texture_attribute_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_SetTextureAttribute_default_instance_); -} -inline const ::CUserMsg_ParticleManager_SetTextureAttribute& CUserMsg_ParticleManager::set_texture_attribute() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_texture_attribute) - return _internal_set_texture_attribute(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_texture_attribute( - ::CUserMsg_ParticleManager_SetTextureAttribute* set_texture_attribute) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_texture_attribute_); - } - _impl_.set_texture_attribute_ = set_texture_attribute; - if (set_texture_attribute) { - _impl_._has_bits_[0] |= 0x00080000u; - } else { - _impl_._has_bits_[0] &= ~0x00080000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_texture_attribute) -} -inline ::CUserMsg_ParticleManager_SetTextureAttribute* CUserMsg_ParticleManager::release_set_texture_attribute() { - _impl_._has_bits_[0] &= ~0x00080000u; - ::CUserMsg_ParticleManager_SetTextureAttribute* temp = _impl_.set_texture_attribute_; - _impl_.set_texture_attribute_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_SetTextureAttribute* CUserMsg_ParticleManager::unsafe_arena_release_set_texture_attribute() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_texture_attribute) - _impl_._has_bits_[0] &= ~0x00080000u; - ::CUserMsg_ParticleManager_SetTextureAttribute* temp = _impl_.set_texture_attribute_; - _impl_.set_texture_attribute_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_SetTextureAttribute* CUserMsg_ParticleManager::_internal_mutable_set_texture_attribute() { - _impl_._has_bits_[0] |= 0x00080000u; - if (_impl_.set_texture_attribute_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetTextureAttribute>(GetArenaForAllocation()); - _impl_.set_texture_attribute_ = p; - } - return _impl_.set_texture_attribute_; -} -inline ::CUserMsg_ParticleManager_SetTextureAttribute* CUserMsg_ParticleManager::mutable_set_texture_attribute() { - ::CUserMsg_ParticleManager_SetTextureAttribute* _msg = _internal_mutable_set_texture_attribute(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_texture_attribute) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_set_texture_attribute(::CUserMsg_ParticleManager_SetTextureAttribute* set_texture_attribute) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.set_texture_attribute_; - } - if (set_texture_attribute) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_texture_attribute); - if (message_arena != submessage_arena) { - set_texture_attribute = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, set_texture_attribute, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00080000u; - } else { - _impl_._has_bits_[0] &= ~0x00080000u; - } - _impl_.set_texture_attribute_ = set_texture_attribute; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_texture_attribute) -} - -// optional .CUserMsg_ParticleManager.SetSceneObjectGenericFlag set_scene_object_generic_flag = 24; -inline bool CUserMsg_ParticleManager::_internal_has_set_scene_object_generic_flag() const { - bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.set_scene_object_generic_flag_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_set_scene_object_generic_flag() const { - return _internal_has_set_scene_object_generic_flag(); -} -inline void CUserMsg_ParticleManager::clear_set_scene_object_generic_flag() { - if (_impl_.set_scene_object_generic_flag_ != nullptr) _impl_.set_scene_object_generic_flag_->Clear(); - _impl_._has_bits_[0] &= ~0x00100000u; -} -inline const ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag& CUserMsg_ParticleManager::_internal_set_scene_object_generic_flag() const { - const ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* p = _impl_.set_scene_object_generic_flag_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_SetSceneObjectGenericFlag_default_instance_); -} -inline const ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag& CUserMsg_ParticleManager::set_scene_object_generic_flag() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_scene_object_generic_flag) - return _internal_set_scene_object_generic_flag(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_scene_object_generic_flag( - ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* set_scene_object_generic_flag) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_scene_object_generic_flag_); - } - _impl_.set_scene_object_generic_flag_ = set_scene_object_generic_flag; - if (set_scene_object_generic_flag) { - _impl_._has_bits_[0] |= 0x00100000u; - } else { - _impl_._has_bits_[0] &= ~0x00100000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_scene_object_generic_flag) -} -inline ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* CUserMsg_ParticleManager::release_set_scene_object_generic_flag() { - _impl_._has_bits_[0] &= ~0x00100000u; - ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* temp = _impl_.set_scene_object_generic_flag_; - _impl_.set_scene_object_generic_flag_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* CUserMsg_ParticleManager::unsafe_arena_release_set_scene_object_generic_flag() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_scene_object_generic_flag) - _impl_._has_bits_[0] &= ~0x00100000u; - ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* temp = _impl_.set_scene_object_generic_flag_; - _impl_.set_scene_object_generic_flag_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* CUserMsg_ParticleManager::_internal_mutable_set_scene_object_generic_flag() { - _impl_._has_bits_[0] |= 0x00100000u; - if (_impl_.set_scene_object_generic_flag_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetSceneObjectGenericFlag>(GetArenaForAllocation()); - _impl_.set_scene_object_generic_flag_ = p; - } - return _impl_.set_scene_object_generic_flag_; -} -inline ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* CUserMsg_ParticleManager::mutable_set_scene_object_generic_flag() { - ::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* _msg = _internal_mutable_set_scene_object_generic_flag(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_scene_object_generic_flag) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_set_scene_object_generic_flag(::CUserMsg_ParticleManager_SetSceneObjectGenericFlag* set_scene_object_generic_flag) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.set_scene_object_generic_flag_; - } - if (set_scene_object_generic_flag) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_scene_object_generic_flag); - if (message_arena != submessage_arena) { - set_scene_object_generic_flag = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, set_scene_object_generic_flag, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00100000u; - } else { - _impl_._has_bits_[0] &= ~0x00100000u; - } - _impl_.set_scene_object_generic_flag_ = set_scene_object_generic_flag; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_scene_object_generic_flag) -} - -// optional .CUserMsg_ParticleManager.SetSceneObjectTintAndDesat set_scene_object_tint_and_desat = 25; -inline bool CUserMsg_ParticleManager::_internal_has_set_scene_object_tint_and_desat() const { - bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.set_scene_object_tint_and_desat_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_set_scene_object_tint_and_desat() const { - return _internal_has_set_scene_object_tint_and_desat(); -} -inline void CUserMsg_ParticleManager::clear_set_scene_object_tint_and_desat() { - if (_impl_.set_scene_object_tint_and_desat_ != nullptr) _impl_.set_scene_object_tint_and_desat_->Clear(); - _impl_._has_bits_[0] &= ~0x00200000u; -} -inline const ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& CUserMsg_ParticleManager::_internal_set_scene_object_tint_and_desat() const { - const ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* p = _impl_.set_scene_object_tint_and_desat_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_SetSceneObjectTintAndDesat_default_instance_); -} -inline const ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat& CUserMsg_ParticleManager::set_scene_object_tint_and_desat() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_scene_object_tint_and_desat) - return _internal_set_scene_object_tint_and_desat(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_scene_object_tint_and_desat( - ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* set_scene_object_tint_and_desat) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_scene_object_tint_and_desat_); - } - _impl_.set_scene_object_tint_and_desat_ = set_scene_object_tint_and_desat; - if (set_scene_object_tint_and_desat) { - _impl_._has_bits_[0] |= 0x00200000u; - } else { - _impl_._has_bits_[0] &= ~0x00200000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_scene_object_tint_and_desat) -} -inline ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* CUserMsg_ParticleManager::release_set_scene_object_tint_and_desat() { - _impl_._has_bits_[0] &= ~0x00200000u; - ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* temp = _impl_.set_scene_object_tint_and_desat_; - _impl_.set_scene_object_tint_and_desat_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* CUserMsg_ParticleManager::unsafe_arena_release_set_scene_object_tint_and_desat() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_scene_object_tint_and_desat) - _impl_._has_bits_[0] &= ~0x00200000u; - ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* temp = _impl_.set_scene_object_tint_and_desat_; - _impl_.set_scene_object_tint_and_desat_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* CUserMsg_ParticleManager::_internal_mutable_set_scene_object_tint_and_desat() { - _impl_._has_bits_[0] |= 0x00200000u; - if (_impl_.set_scene_object_tint_and_desat_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat>(GetArenaForAllocation()); - _impl_.set_scene_object_tint_and_desat_ = p; - } - return _impl_.set_scene_object_tint_and_desat_; -} -inline ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* CUserMsg_ParticleManager::mutable_set_scene_object_tint_and_desat() { - ::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* _msg = _internal_mutable_set_scene_object_tint_and_desat(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_scene_object_tint_and_desat) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_set_scene_object_tint_and_desat(::CUserMsg_ParticleManager_SetSceneObjectTintAndDesat* set_scene_object_tint_and_desat) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.set_scene_object_tint_and_desat_; - } - if (set_scene_object_tint_and_desat) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_scene_object_tint_and_desat); - if (message_arena != submessage_arena) { - set_scene_object_tint_and_desat = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, set_scene_object_tint_and_desat, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00200000u; - } else { - _impl_._has_bits_[0] &= ~0x00200000u; - } - _impl_.set_scene_object_tint_and_desat_ = set_scene_object_tint_and_desat; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_scene_object_tint_and_desat) -} - -// optional .CUserMsg_ParticleManager.DestroyParticleNamed destroy_particle_named = 26; -inline bool CUserMsg_ParticleManager::_internal_has_destroy_particle_named() const { - bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.destroy_particle_named_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_destroy_particle_named() const { - return _internal_has_destroy_particle_named(); -} -inline void CUserMsg_ParticleManager::clear_destroy_particle_named() { - if (_impl_.destroy_particle_named_ != nullptr) _impl_.destroy_particle_named_->Clear(); - _impl_._has_bits_[0] &= ~0x00400000u; -} -inline const ::CUserMsg_ParticleManager_DestroyParticleNamed& CUserMsg_ParticleManager::_internal_destroy_particle_named() const { - const ::CUserMsg_ParticleManager_DestroyParticleNamed* p = _impl_.destroy_particle_named_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_DestroyParticleNamed_default_instance_); -} -inline const ::CUserMsg_ParticleManager_DestroyParticleNamed& CUserMsg_ParticleManager::destroy_particle_named() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.destroy_particle_named) - return _internal_destroy_particle_named(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_destroy_particle_named( - ::CUserMsg_ParticleManager_DestroyParticleNamed* destroy_particle_named) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.destroy_particle_named_); - } - _impl_.destroy_particle_named_ = destroy_particle_named; - if (destroy_particle_named) { - _impl_._has_bits_[0] |= 0x00400000u; - } else { - _impl_._has_bits_[0] &= ~0x00400000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.destroy_particle_named) -} -inline ::CUserMsg_ParticleManager_DestroyParticleNamed* CUserMsg_ParticleManager::release_destroy_particle_named() { - _impl_._has_bits_[0] &= ~0x00400000u; - ::CUserMsg_ParticleManager_DestroyParticleNamed* temp = _impl_.destroy_particle_named_; - _impl_.destroy_particle_named_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_DestroyParticleNamed* CUserMsg_ParticleManager::unsafe_arena_release_destroy_particle_named() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.destroy_particle_named) - _impl_._has_bits_[0] &= ~0x00400000u; - ::CUserMsg_ParticleManager_DestroyParticleNamed* temp = _impl_.destroy_particle_named_; - _impl_.destroy_particle_named_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_DestroyParticleNamed* CUserMsg_ParticleManager::_internal_mutable_destroy_particle_named() { - _impl_._has_bits_[0] |= 0x00400000u; - if (_impl_.destroy_particle_named_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_DestroyParticleNamed>(GetArenaForAllocation()); - _impl_.destroy_particle_named_ = p; - } - return _impl_.destroy_particle_named_; -} -inline ::CUserMsg_ParticleManager_DestroyParticleNamed* CUserMsg_ParticleManager::mutable_destroy_particle_named() { - ::CUserMsg_ParticleManager_DestroyParticleNamed* _msg = _internal_mutable_destroy_particle_named(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.destroy_particle_named) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_destroy_particle_named(::CUserMsg_ParticleManager_DestroyParticleNamed* destroy_particle_named) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.destroy_particle_named_; - } - if (destroy_particle_named) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(destroy_particle_named); - if (message_arena != submessage_arena) { - destroy_particle_named = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, destroy_particle_named, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00400000u; - } else { - _impl_._has_bits_[0] &= ~0x00400000u; - } - _impl_.destroy_particle_named_ = destroy_particle_named; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.destroy_particle_named) -} - -// optional .CUserMsg_ParticleManager.ParticleSkipToTime particle_skip_to_time = 27; -inline bool CUserMsg_ParticleManager::_internal_has_particle_skip_to_time() const { - bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.particle_skip_to_time_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_particle_skip_to_time() const { - return _internal_has_particle_skip_to_time(); -} -inline void CUserMsg_ParticleManager::clear_particle_skip_to_time() { - if (_impl_.particle_skip_to_time_ != nullptr) _impl_.particle_skip_to_time_->Clear(); - _impl_._has_bits_[0] &= ~0x00800000u; -} -inline const ::CUserMsg_ParticleManager_ParticleSkipToTime& CUserMsg_ParticleManager::_internal_particle_skip_to_time() const { - const ::CUserMsg_ParticleManager_ParticleSkipToTime* p = _impl_.particle_skip_to_time_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_ParticleSkipToTime_default_instance_); -} -inline const ::CUserMsg_ParticleManager_ParticleSkipToTime& CUserMsg_ParticleManager::particle_skip_to_time() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.particle_skip_to_time) - return _internal_particle_skip_to_time(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_particle_skip_to_time( - ::CUserMsg_ParticleManager_ParticleSkipToTime* particle_skip_to_time) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.particle_skip_to_time_); - } - _impl_.particle_skip_to_time_ = particle_skip_to_time; - if (particle_skip_to_time) { - _impl_._has_bits_[0] |= 0x00800000u; - } else { - _impl_._has_bits_[0] &= ~0x00800000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.particle_skip_to_time) -} -inline ::CUserMsg_ParticleManager_ParticleSkipToTime* CUserMsg_ParticleManager::release_particle_skip_to_time() { - _impl_._has_bits_[0] &= ~0x00800000u; - ::CUserMsg_ParticleManager_ParticleSkipToTime* temp = _impl_.particle_skip_to_time_; - _impl_.particle_skip_to_time_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_ParticleSkipToTime* CUserMsg_ParticleManager::unsafe_arena_release_particle_skip_to_time() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.particle_skip_to_time) - _impl_._has_bits_[0] &= ~0x00800000u; - ::CUserMsg_ParticleManager_ParticleSkipToTime* temp = _impl_.particle_skip_to_time_; - _impl_.particle_skip_to_time_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_ParticleSkipToTime* CUserMsg_ParticleManager::_internal_mutable_particle_skip_to_time() { - _impl_._has_bits_[0] |= 0x00800000u; - if (_impl_.particle_skip_to_time_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_ParticleSkipToTime>(GetArenaForAllocation()); - _impl_.particle_skip_to_time_ = p; - } - return _impl_.particle_skip_to_time_; -} -inline ::CUserMsg_ParticleManager_ParticleSkipToTime* CUserMsg_ParticleManager::mutable_particle_skip_to_time() { - ::CUserMsg_ParticleManager_ParticleSkipToTime* _msg = _internal_mutable_particle_skip_to_time(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.particle_skip_to_time) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_particle_skip_to_time(::CUserMsg_ParticleManager_ParticleSkipToTime* particle_skip_to_time) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.particle_skip_to_time_; - } - if (particle_skip_to_time) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(particle_skip_to_time); - if (message_arena != submessage_arena) { - particle_skip_to_time = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, particle_skip_to_time, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00800000u; - } else { - _impl_._has_bits_[0] &= ~0x00800000u; - } - _impl_.particle_skip_to_time_ = particle_skip_to_time; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.particle_skip_to_time) -} - -// optional .CUserMsg_ParticleManager.ParticleCanFreeze particle_can_freeze = 28; -inline bool CUserMsg_ParticleManager::_internal_has_particle_can_freeze() const { - bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.particle_can_freeze_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_particle_can_freeze() const { - return _internal_has_particle_can_freeze(); -} -inline void CUserMsg_ParticleManager::clear_particle_can_freeze() { - if (_impl_.particle_can_freeze_ != nullptr) _impl_.particle_can_freeze_->Clear(); - _impl_._has_bits_[0] &= ~0x01000000u; -} -inline const ::CUserMsg_ParticleManager_ParticleCanFreeze& CUserMsg_ParticleManager::_internal_particle_can_freeze() const { - const ::CUserMsg_ParticleManager_ParticleCanFreeze* p = _impl_.particle_can_freeze_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_ParticleCanFreeze_default_instance_); -} -inline const ::CUserMsg_ParticleManager_ParticleCanFreeze& CUserMsg_ParticleManager::particle_can_freeze() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.particle_can_freeze) - return _internal_particle_can_freeze(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_particle_can_freeze( - ::CUserMsg_ParticleManager_ParticleCanFreeze* particle_can_freeze) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.particle_can_freeze_); - } - _impl_.particle_can_freeze_ = particle_can_freeze; - if (particle_can_freeze) { - _impl_._has_bits_[0] |= 0x01000000u; - } else { - _impl_._has_bits_[0] &= ~0x01000000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.particle_can_freeze) -} -inline ::CUserMsg_ParticleManager_ParticleCanFreeze* CUserMsg_ParticleManager::release_particle_can_freeze() { - _impl_._has_bits_[0] &= ~0x01000000u; - ::CUserMsg_ParticleManager_ParticleCanFreeze* temp = _impl_.particle_can_freeze_; - _impl_.particle_can_freeze_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_ParticleCanFreeze* CUserMsg_ParticleManager::unsafe_arena_release_particle_can_freeze() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.particle_can_freeze) - _impl_._has_bits_[0] &= ~0x01000000u; - ::CUserMsg_ParticleManager_ParticleCanFreeze* temp = _impl_.particle_can_freeze_; - _impl_.particle_can_freeze_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_ParticleCanFreeze* CUserMsg_ParticleManager::_internal_mutable_particle_can_freeze() { - _impl_._has_bits_[0] |= 0x01000000u; - if (_impl_.particle_can_freeze_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_ParticleCanFreeze>(GetArenaForAllocation()); - _impl_.particle_can_freeze_ = p; - } - return _impl_.particle_can_freeze_; -} -inline ::CUserMsg_ParticleManager_ParticleCanFreeze* CUserMsg_ParticleManager::mutable_particle_can_freeze() { - ::CUserMsg_ParticleManager_ParticleCanFreeze* _msg = _internal_mutable_particle_can_freeze(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.particle_can_freeze) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_particle_can_freeze(::CUserMsg_ParticleManager_ParticleCanFreeze* particle_can_freeze) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.particle_can_freeze_; - } - if (particle_can_freeze) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(particle_can_freeze); - if (message_arena != submessage_arena) { - particle_can_freeze = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, particle_can_freeze, submessage_arena); - } - _impl_._has_bits_[0] |= 0x01000000u; - } else { - _impl_._has_bits_[0] &= ~0x01000000u; - } - _impl_.particle_can_freeze_ = particle_can_freeze; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.particle_can_freeze) -} - -// optional .CUserMsg_ParticleManager.SetParticleNamedValueContext set_named_value_context = 29; -inline bool CUserMsg_ParticleManager::_internal_has_set_named_value_context() const { - bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.set_named_value_context_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_set_named_value_context() const { - return _internal_has_set_named_value_context(); -} -inline void CUserMsg_ParticleManager::clear_set_named_value_context() { - if (_impl_.set_named_value_context_ != nullptr) _impl_.set_named_value_context_->Clear(); - _impl_._has_bits_[0] &= ~0x02000000u; -} -inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext& CUserMsg_ParticleManager::_internal_set_named_value_context() const { - const ::CUserMsg_ParticleManager_SetParticleNamedValueContext* p = _impl_.set_named_value_context_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_SetParticleNamedValueContext_default_instance_); -} -inline const ::CUserMsg_ParticleManager_SetParticleNamedValueContext& CUserMsg_ParticleManager::set_named_value_context() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_named_value_context) - return _internal_set_named_value_context(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_named_value_context( - ::CUserMsg_ParticleManager_SetParticleNamedValueContext* set_named_value_context) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_named_value_context_); - } - _impl_.set_named_value_context_ = set_named_value_context; - if (set_named_value_context) { - _impl_._has_bits_[0] |= 0x02000000u; - } else { - _impl_._has_bits_[0] &= ~0x02000000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_named_value_context) -} -inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext* CUserMsg_ParticleManager::release_set_named_value_context() { - _impl_._has_bits_[0] &= ~0x02000000u; - ::CUserMsg_ParticleManager_SetParticleNamedValueContext* temp = _impl_.set_named_value_context_; - _impl_.set_named_value_context_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext* CUserMsg_ParticleManager::unsafe_arena_release_set_named_value_context() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_named_value_context) - _impl_._has_bits_[0] &= ~0x02000000u; - ::CUserMsg_ParticleManager_SetParticleNamedValueContext* temp = _impl_.set_named_value_context_; - _impl_.set_named_value_context_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext* CUserMsg_ParticleManager::_internal_mutable_set_named_value_context() { - _impl_._has_bits_[0] |= 0x02000000u; - if (_impl_.set_named_value_context_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleNamedValueContext>(GetArenaForAllocation()); - _impl_.set_named_value_context_ = p; - } - return _impl_.set_named_value_context_; -} -inline ::CUserMsg_ParticleManager_SetParticleNamedValueContext* CUserMsg_ParticleManager::mutable_set_named_value_context() { - ::CUserMsg_ParticleManager_SetParticleNamedValueContext* _msg = _internal_mutable_set_named_value_context(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_named_value_context) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_set_named_value_context(::CUserMsg_ParticleManager_SetParticleNamedValueContext* set_named_value_context) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.set_named_value_context_; - } - if (set_named_value_context) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_named_value_context); - if (message_arena != submessage_arena) { - set_named_value_context = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, set_named_value_context, submessage_arena); - } - _impl_._has_bits_[0] |= 0x02000000u; - } else { - _impl_._has_bits_[0] &= ~0x02000000u; - } - _impl_.set_named_value_context_ = set_named_value_context; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_named_value_context) -} - -// optional .CUserMsg_ParticleManager.UpdateParticleTransform update_particle_transform = 30; -inline bool CUserMsg_ParticleManager::_internal_has_update_particle_transform() const { - bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.update_particle_transform_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_update_particle_transform() const { - return _internal_has_update_particle_transform(); -} -inline void CUserMsg_ParticleManager::clear_update_particle_transform() { - if (_impl_.update_particle_transform_ != nullptr) _impl_.update_particle_transform_->Clear(); - _impl_._has_bits_[0] &= ~0x04000000u; -} -inline const ::CUserMsg_ParticleManager_UpdateParticleTransform& CUserMsg_ParticleManager::_internal_update_particle_transform() const { - const ::CUserMsg_ParticleManager_UpdateParticleTransform* p = _impl_.update_particle_transform_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_UpdateParticleTransform_default_instance_); -} -inline const ::CUserMsg_ParticleManager_UpdateParticleTransform& CUserMsg_ParticleManager::update_particle_transform() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_particle_transform) - return _internal_update_particle_transform(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_particle_transform( - ::CUserMsg_ParticleManager_UpdateParticleTransform* update_particle_transform) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_particle_transform_); - } - _impl_.update_particle_transform_ = update_particle_transform; - if (update_particle_transform) { - _impl_._has_bits_[0] |= 0x04000000u; - } else { - _impl_._has_bits_[0] &= ~0x04000000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_particle_transform) -} -inline ::CUserMsg_ParticleManager_UpdateParticleTransform* CUserMsg_ParticleManager::release_update_particle_transform() { - _impl_._has_bits_[0] &= ~0x04000000u; - ::CUserMsg_ParticleManager_UpdateParticleTransform* temp = _impl_.update_particle_transform_; - _impl_.update_particle_transform_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateParticleTransform* CUserMsg_ParticleManager::unsafe_arena_release_update_particle_transform() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_particle_transform) - _impl_._has_bits_[0] &= ~0x04000000u; - ::CUserMsg_ParticleManager_UpdateParticleTransform* temp = _impl_.update_particle_transform_; - _impl_.update_particle_transform_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateParticleTransform* CUserMsg_ParticleManager::_internal_mutable_update_particle_transform() { - _impl_._has_bits_[0] |= 0x04000000u; - if (_impl_.update_particle_transform_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateParticleTransform>(GetArenaForAllocation()); - _impl_.update_particle_transform_ = p; - } - return _impl_.update_particle_transform_; -} -inline ::CUserMsg_ParticleManager_UpdateParticleTransform* CUserMsg_ParticleManager::mutable_update_particle_transform() { - ::CUserMsg_ParticleManager_UpdateParticleTransform* _msg = _internal_mutable_update_particle_transform(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_particle_transform) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_update_particle_transform(::CUserMsg_ParticleManager_UpdateParticleTransform* update_particle_transform) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.update_particle_transform_; - } - if (update_particle_transform) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_particle_transform); - if (message_arena != submessage_arena) { - update_particle_transform = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, update_particle_transform, submessage_arena); - } - _impl_._has_bits_[0] |= 0x04000000u; - } else { - _impl_._has_bits_[0] &= ~0x04000000u; - } - _impl_.update_particle_transform_ = update_particle_transform; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_particle_transform) -} - -// optional .CUserMsg_ParticleManager.ParticleFreezeTransitionOverride particle_freeze_transition_override = 31; -inline bool CUserMsg_ParticleManager::_internal_has_particle_freeze_transition_override() const { - bool value = (_impl_._has_bits_[0] & 0x08000000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.particle_freeze_transition_override_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_particle_freeze_transition_override() const { - return _internal_has_particle_freeze_transition_override(); -} -inline void CUserMsg_ParticleManager::clear_particle_freeze_transition_override() { - if (_impl_.particle_freeze_transition_override_ != nullptr) _impl_.particle_freeze_transition_override_->Clear(); - _impl_._has_bits_[0] &= ~0x08000000u; -} -inline const ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& CUserMsg_ParticleManager::_internal_particle_freeze_transition_override() const { - const ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* p = _impl_.particle_freeze_transition_override_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_ParticleFreezeTransitionOverride_default_instance_); -} -inline const ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride& CUserMsg_ParticleManager::particle_freeze_transition_override() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.particle_freeze_transition_override) - return _internal_particle_freeze_transition_override(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_particle_freeze_transition_override( - ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* particle_freeze_transition_override) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.particle_freeze_transition_override_); - } - _impl_.particle_freeze_transition_override_ = particle_freeze_transition_override; - if (particle_freeze_transition_override) { - _impl_._has_bits_[0] |= 0x08000000u; - } else { - _impl_._has_bits_[0] &= ~0x08000000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.particle_freeze_transition_override) -} -inline ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* CUserMsg_ParticleManager::release_particle_freeze_transition_override() { - _impl_._has_bits_[0] &= ~0x08000000u; - ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* temp = _impl_.particle_freeze_transition_override_; - _impl_.particle_freeze_transition_override_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* CUserMsg_ParticleManager::unsafe_arena_release_particle_freeze_transition_override() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.particle_freeze_transition_override) - _impl_._has_bits_[0] &= ~0x08000000u; - ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* temp = _impl_.particle_freeze_transition_override_; - _impl_.particle_freeze_transition_override_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* CUserMsg_ParticleManager::_internal_mutable_particle_freeze_transition_override() { - _impl_._has_bits_[0] |= 0x08000000u; - if (_impl_.particle_freeze_transition_override_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride>(GetArenaForAllocation()); - _impl_.particle_freeze_transition_override_ = p; - } - return _impl_.particle_freeze_transition_override_; -} -inline ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* CUserMsg_ParticleManager::mutable_particle_freeze_transition_override() { - ::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* _msg = _internal_mutable_particle_freeze_transition_override(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.particle_freeze_transition_override) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_particle_freeze_transition_override(::CUserMsg_ParticleManager_ParticleFreezeTransitionOverride* particle_freeze_transition_override) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.particle_freeze_transition_override_; - } - if (particle_freeze_transition_override) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(particle_freeze_transition_override); - if (message_arena != submessage_arena) { - particle_freeze_transition_override = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, particle_freeze_transition_override, submessage_arena); - } - _impl_._has_bits_[0] |= 0x08000000u; - } else { - _impl_._has_bits_[0] &= ~0x08000000u; - } - _impl_.particle_freeze_transition_override_ = particle_freeze_transition_override; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.particle_freeze_transition_override) -} - -// optional .CUserMsg_ParticleManager.FreezeParticleInvolving freeze_particle_involving = 32; -inline bool CUserMsg_ParticleManager::_internal_has_freeze_particle_involving() const { - bool value = (_impl_._has_bits_[0] & 0x10000000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.freeze_particle_involving_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_freeze_particle_involving() const { - return _internal_has_freeze_particle_involving(); -} -inline void CUserMsg_ParticleManager::clear_freeze_particle_involving() { - if (_impl_.freeze_particle_involving_ != nullptr) _impl_.freeze_particle_involving_->Clear(); - _impl_._has_bits_[0] &= ~0x10000000u; -} -inline const ::CUserMsg_ParticleManager_FreezeParticleInvolving& CUserMsg_ParticleManager::_internal_freeze_particle_involving() const { - const ::CUserMsg_ParticleManager_FreezeParticleInvolving* p = _impl_.freeze_particle_involving_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_FreezeParticleInvolving_default_instance_); -} -inline const ::CUserMsg_ParticleManager_FreezeParticleInvolving& CUserMsg_ParticleManager::freeze_particle_involving() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.freeze_particle_involving) - return _internal_freeze_particle_involving(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_freeze_particle_involving( - ::CUserMsg_ParticleManager_FreezeParticleInvolving* freeze_particle_involving) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.freeze_particle_involving_); - } - _impl_.freeze_particle_involving_ = freeze_particle_involving; - if (freeze_particle_involving) { - _impl_._has_bits_[0] |= 0x10000000u; - } else { - _impl_._has_bits_[0] &= ~0x10000000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.freeze_particle_involving) -} -inline ::CUserMsg_ParticleManager_FreezeParticleInvolving* CUserMsg_ParticleManager::release_freeze_particle_involving() { - _impl_._has_bits_[0] &= ~0x10000000u; - ::CUserMsg_ParticleManager_FreezeParticleInvolving* temp = _impl_.freeze_particle_involving_; - _impl_.freeze_particle_involving_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_FreezeParticleInvolving* CUserMsg_ParticleManager::unsafe_arena_release_freeze_particle_involving() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.freeze_particle_involving) - _impl_._has_bits_[0] &= ~0x10000000u; - ::CUserMsg_ParticleManager_FreezeParticleInvolving* temp = _impl_.freeze_particle_involving_; - _impl_.freeze_particle_involving_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_FreezeParticleInvolving* CUserMsg_ParticleManager::_internal_mutable_freeze_particle_involving() { - _impl_._has_bits_[0] |= 0x10000000u; - if (_impl_.freeze_particle_involving_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_FreezeParticleInvolving>(GetArenaForAllocation()); - _impl_.freeze_particle_involving_ = p; - } - return _impl_.freeze_particle_involving_; -} -inline ::CUserMsg_ParticleManager_FreezeParticleInvolving* CUserMsg_ParticleManager::mutable_freeze_particle_involving() { - ::CUserMsg_ParticleManager_FreezeParticleInvolving* _msg = _internal_mutable_freeze_particle_involving(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.freeze_particle_involving) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_freeze_particle_involving(::CUserMsg_ParticleManager_FreezeParticleInvolving* freeze_particle_involving) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.freeze_particle_involving_; - } - if (freeze_particle_involving) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(freeze_particle_involving); - if (message_arena != submessage_arena) { - freeze_particle_involving = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, freeze_particle_involving, submessage_arena); - } - _impl_._has_bits_[0] |= 0x10000000u; - } else { - _impl_._has_bits_[0] &= ~0x10000000u; - } - _impl_.freeze_particle_involving_ = freeze_particle_involving; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.freeze_particle_involving) -} - -// optional .CUserMsg_ParticleManager.AddModellistOverrideElement add_modellist_override_element = 33; -inline bool CUserMsg_ParticleManager::_internal_has_add_modellist_override_element() const { - bool value = (_impl_._has_bits_[0] & 0x20000000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.add_modellist_override_element_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_add_modellist_override_element() const { - return _internal_has_add_modellist_override_element(); -} -inline void CUserMsg_ParticleManager::clear_add_modellist_override_element() { - if (_impl_.add_modellist_override_element_ != nullptr) _impl_.add_modellist_override_element_->Clear(); - _impl_._has_bits_[0] &= ~0x20000000u; -} -inline const ::CUserMsg_ParticleManager_AddModellistOverrideElement& CUserMsg_ParticleManager::_internal_add_modellist_override_element() const { - const ::CUserMsg_ParticleManager_AddModellistOverrideElement* p = _impl_.add_modellist_override_element_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_AddModellistOverrideElement_default_instance_); -} -inline const ::CUserMsg_ParticleManager_AddModellistOverrideElement& CUserMsg_ParticleManager::add_modellist_override_element() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.add_modellist_override_element) - return _internal_add_modellist_override_element(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_add_modellist_override_element( - ::CUserMsg_ParticleManager_AddModellistOverrideElement* add_modellist_override_element) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.add_modellist_override_element_); - } - _impl_.add_modellist_override_element_ = add_modellist_override_element; - if (add_modellist_override_element) { - _impl_._has_bits_[0] |= 0x20000000u; - } else { - _impl_._has_bits_[0] &= ~0x20000000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.add_modellist_override_element) -} -inline ::CUserMsg_ParticleManager_AddModellistOverrideElement* CUserMsg_ParticleManager::release_add_modellist_override_element() { - _impl_._has_bits_[0] &= ~0x20000000u; - ::CUserMsg_ParticleManager_AddModellistOverrideElement* temp = _impl_.add_modellist_override_element_; - _impl_.add_modellist_override_element_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_AddModellistOverrideElement* CUserMsg_ParticleManager::unsafe_arena_release_add_modellist_override_element() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.add_modellist_override_element) - _impl_._has_bits_[0] &= ~0x20000000u; - ::CUserMsg_ParticleManager_AddModellistOverrideElement* temp = _impl_.add_modellist_override_element_; - _impl_.add_modellist_override_element_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_AddModellistOverrideElement* CUserMsg_ParticleManager::_internal_mutable_add_modellist_override_element() { - _impl_._has_bits_[0] |= 0x20000000u; - if (_impl_.add_modellist_override_element_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_AddModellistOverrideElement>(GetArenaForAllocation()); - _impl_.add_modellist_override_element_ = p; - } - return _impl_.add_modellist_override_element_; -} -inline ::CUserMsg_ParticleManager_AddModellistOverrideElement* CUserMsg_ParticleManager::mutable_add_modellist_override_element() { - ::CUserMsg_ParticleManager_AddModellistOverrideElement* _msg = _internal_mutable_add_modellist_override_element(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.add_modellist_override_element) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_add_modellist_override_element(::CUserMsg_ParticleManager_AddModellistOverrideElement* add_modellist_override_element) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.add_modellist_override_element_; - } - if (add_modellist_override_element) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(add_modellist_override_element); - if (message_arena != submessage_arena) { - add_modellist_override_element = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, add_modellist_override_element, submessage_arena); - } - _impl_._has_bits_[0] |= 0x20000000u; - } else { - _impl_._has_bits_[0] &= ~0x20000000u; - } - _impl_.add_modellist_override_element_ = add_modellist_override_element; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.add_modellist_override_element) -} - -// optional .CUserMsg_ParticleManager.ClearModellistOverride clear_modellist_override = 34; -inline bool CUserMsg_ParticleManager::_internal_has_clear_modellist_override() const { - bool value = (_impl_._has_bits_[0] & 0x40000000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.clear_modellist_override_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_clear_modellist_override() const { - return _internal_has_clear_modellist_override(); -} -inline void CUserMsg_ParticleManager::clear_clear_modellist_override() { - if (_impl_.clear_modellist_override_ != nullptr) _impl_.clear_modellist_override_->Clear(); - _impl_._has_bits_[0] &= ~0x40000000u; -} -inline const ::CUserMsg_ParticleManager_ClearModellistOverride& CUserMsg_ParticleManager::_internal_clear_modellist_override() const { - const ::CUserMsg_ParticleManager_ClearModellistOverride* p = _impl_.clear_modellist_override_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_ClearModellistOverride_default_instance_); -} -inline const ::CUserMsg_ParticleManager_ClearModellistOverride& CUserMsg_ParticleManager::clear_modellist_override() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.clear_modellist_override) - return _internal_clear_modellist_override(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_clear_modellist_override( - ::CUserMsg_ParticleManager_ClearModellistOverride* clear_modellist_override) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.clear_modellist_override_); - } - _impl_.clear_modellist_override_ = clear_modellist_override; - if (clear_modellist_override) { - _impl_._has_bits_[0] |= 0x40000000u; - } else { - _impl_._has_bits_[0] &= ~0x40000000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.clear_modellist_override) -} -inline ::CUserMsg_ParticleManager_ClearModellistOverride* CUserMsg_ParticleManager::release_clear_modellist_override() { - _impl_._has_bits_[0] &= ~0x40000000u; - ::CUserMsg_ParticleManager_ClearModellistOverride* temp = _impl_.clear_modellist_override_; - _impl_.clear_modellist_override_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_ClearModellistOverride* CUserMsg_ParticleManager::unsafe_arena_release_clear_modellist_override() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.clear_modellist_override) - _impl_._has_bits_[0] &= ~0x40000000u; - ::CUserMsg_ParticleManager_ClearModellistOverride* temp = _impl_.clear_modellist_override_; - _impl_.clear_modellist_override_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_ClearModellistOverride* CUserMsg_ParticleManager::_internal_mutable_clear_modellist_override() { - _impl_._has_bits_[0] |= 0x40000000u; - if (_impl_.clear_modellist_override_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_ClearModellistOverride>(GetArenaForAllocation()); - _impl_.clear_modellist_override_ = p; - } - return _impl_.clear_modellist_override_; -} -inline ::CUserMsg_ParticleManager_ClearModellistOverride* CUserMsg_ParticleManager::mutable_clear_modellist_override() { - ::CUserMsg_ParticleManager_ClearModellistOverride* _msg = _internal_mutable_clear_modellist_override(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.clear_modellist_override) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_clear_modellist_override(::CUserMsg_ParticleManager_ClearModellistOverride* clear_modellist_override) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.clear_modellist_override_; - } - if (clear_modellist_override) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(clear_modellist_override); - if (message_arena != submessage_arena) { - clear_modellist_override = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, clear_modellist_override, submessage_arena); - } - _impl_._has_bits_[0] |= 0x40000000u; - } else { - _impl_._has_bits_[0] &= ~0x40000000u; - } - _impl_.clear_modellist_override_ = clear_modellist_override; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.clear_modellist_override) -} - -// optional .CUserMsg_ParticleManager.CreatePhysicsSim create_physics_sim = 35; -inline bool CUserMsg_ParticleManager::_internal_has_create_physics_sim() const { - bool value = (_impl_._has_bits_[0] & 0x80000000u) != 0; - PROTOBUF_ASSUME(!value || _impl_.create_physics_sim_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_create_physics_sim() const { - return _internal_has_create_physics_sim(); -} -inline void CUserMsg_ParticleManager::clear_create_physics_sim() { - if (_impl_.create_physics_sim_ != nullptr) _impl_.create_physics_sim_->Clear(); - _impl_._has_bits_[0] &= ~0x80000000u; -} -inline const ::CUserMsg_ParticleManager_CreatePhysicsSim& CUserMsg_ParticleManager::_internal_create_physics_sim() const { - const ::CUserMsg_ParticleManager_CreatePhysicsSim* p = _impl_.create_physics_sim_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_CreatePhysicsSim_default_instance_); -} -inline const ::CUserMsg_ParticleManager_CreatePhysicsSim& CUserMsg_ParticleManager::create_physics_sim() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.create_physics_sim) - return _internal_create_physics_sim(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_create_physics_sim( - ::CUserMsg_ParticleManager_CreatePhysicsSim* create_physics_sim) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.create_physics_sim_); - } - _impl_.create_physics_sim_ = create_physics_sim; - if (create_physics_sim) { - _impl_._has_bits_[0] |= 0x80000000u; - } else { - _impl_._has_bits_[0] &= ~0x80000000u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.create_physics_sim) -} -inline ::CUserMsg_ParticleManager_CreatePhysicsSim* CUserMsg_ParticleManager::release_create_physics_sim() { - _impl_._has_bits_[0] &= ~0x80000000u; - ::CUserMsg_ParticleManager_CreatePhysicsSim* temp = _impl_.create_physics_sim_; - _impl_.create_physics_sim_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_CreatePhysicsSim* CUserMsg_ParticleManager::unsafe_arena_release_create_physics_sim() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.create_physics_sim) - _impl_._has_bits_[0] &= ~0x80000000u; - ::CUserMsg_ParticleManager_CreatePhysicsSim* temp = _impl_.create_physics_sim_; - _impl_.create_physics_sim_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_CreatePhysicsSim* CUserMsg_ParticleManager::_internal_mutable_create_physics_sim() { - _impl_._has_bits_[0] |= 0x80000000u; - if (_impl_.create_physics_sim_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_CreatePhysicsSim>(GetArenaForAllocation()); - _impl_.create_physics_sim_ = p; - } - return _impl_.create_physics_sim_; -} -inline ::CUserMsg_ParticleManager_CreatePhysicsSim* CUserMsg_ParticleManager::mutable_create_physics_sim() { - ::CUserMsg_ParticleManager_CreatePhysicsSim* _msg = _internal_mutable_create_physics_sim(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.create_physics_sim) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_create_physics_sim(::CUserMsg_ParticleManager_CreatePhysicsSim* create_physics_sim) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.create_physics_sim_; - } - if (create_physics_sim) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(create_physics_sim); - if (message_arena != submessage_arena) { - create_physics_sim = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, create_physics_sim, submessage_arena); - } - _impl_._has_bits_[0] |= 0x80000000u; - } else { - _impl_._has_bits_[0] &= ~0x80000000u; - } - _impl_.create_physics_sim_ = create_physics_sim; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.create_physics_sim) -} - -// optional .CUserMsg_ParticleManager.DestroyPhysicsSim destroy_physics_sim = 36; -inline bool CUserMsg_ParticleManager::_internal_has_destroy_physics_sim() const { - bool value = (_impl_._has_bits_[1] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.destroy_physics_sim_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_destroy_physics_sim() const { - return _internal_has_destroy_physics_sim(); -} -inline void CUserMsg_ParticleManager::clear_destroy_physics_sim() { - if (_impl_.destroy_physics_sim_ != nullptr) _impl_.destroy_physics_sim_->Clear(); - _impl_._has_bits_[1] &= ~0x00000001u; -} -inline const ::CUserMsg_ParticleManager_DestroyPhysicsSim& CUserMsg_ParticleManager::_internal_destroy_physics_sim() const { - const ::CUserMsg_ParticleManager_DestroyPhysicsSim* p = _impl_.destroy_physics_sim_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_DestroyPhysicsSim_default_instance_); -} -inline const ::CUserMsg_ParticleManager_DestroyPhysicsSim& CUserMsg_ParticleManager::destroy_physics_sim() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.destroy_physics_sim) - return _internal_destroy_physics_sim(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_destroy_physics_sim( - ::CUserMsg_ParticleManager_DestroyPhysicsSim* destroy_physics_sim) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.destroy_physics_sim_); - } - _impl_.destroy_physics_sim_ = destroy_physics_sim; - if (destroy_physics_sim) { - _impl_._has_bits_[1] |= 0x00000001u; - } else { - _impl_._has_bits_[1] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.destroy_physics_sim) -} -inline ::CUserMsg_ParticleManager_DestroyPhysicsSim* CUserMsg_ParticleManager::release_destroy_physics_sim() { - _impl_._has_bits_[1] &= ~0x00000001u; - ::CUserMsg_ParticleManager_DestroyPhysicsSim* temp = _impl_.destroy_physics_sim_; - _impl_.destroy_physics_sim_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_DestroyPhysicsSim* CUserMsg_ParticleManager::unsafe_arena_release_destroy_physics_sim() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.destroy_physics_sim) - _impl_._has_bits_[1] &= ~0x00000001u; - ::CUserMsg_ParticleManager_DestroyPhysicsSim* temp = _impl_.destroy_physics_sim_; - _impl_.destroy_physics_sim_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_DestroyPhysicsSim* CUserMsg_ParticleManager::_internal_mutable_destroy_physics_sim() { - _impl_._has_bits_[1] |= 0x00000001u; - if (_impl_.destroy_physics_sim_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_DestroyPhysicsSim>(GetArenaForAllocation()); - _impl_.destroy_physics_sim_ = p; - } - return _impl_.destroy_physics_sim_; -} -inline ::CUserMsg_ParticleManager_DestroyPhysicsSim* CUserMsg_ParticleManager::mutable_destroy_physics_sim() { - ::CUserMsg_ParticleManager_DestroyPhysicsSim* _msg = _internal_mutable_destroy_physics_sim(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.destroy_physics_sim) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_destroy_physics_sim(::CUserMsg_ParticleManager_DestroyPhysicsSim* destroy_physics_sim) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.destroy_physics_sim_; - } - if (destroy_physics_sim) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(destroy_physics_sim); - if (message_arena != submessage_arena) { - destroy_physics_sim = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, destroy_physics_sim, submessage_arena); - } - _impl_._has_bits_[1] |= 0x00000001u; - } else { - _impl_._has_bits_[1] &= ~0x00000001u; - } - _impl_.destroy_physics_sim_ = destroy_physics_sim; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.destroy_physics_sim) -} - -// optional .CUserMsg_ParticleManager.SetVData set_vdata = 37; -inline bool CUserMsg_ParticleManager::_internal_has_set_vdata() const { - bool value = (_impl_._has_bits_[1] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.set_vdata_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_set_vdata() const { - return _internal_has_set_vdata(); -} -inline void CUserMsg_ParticleManager::clear_set_vdata() { - if (_impl_.set_vdata_ != nullptr) _impl_.set_vdata_->Clear(); - _impl_._has_bits_[1] &= ~0x00000002u; -} -inline const ::CUserMsg_ParticleManager_SetVData& CUserMsg_ParticleManager::_internal_set_vdata() const { - const ::CUserMsg_ParticleManager_SetVData* p = _impl_.set_vdata_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_SetVData_default_instance_); -} -inline const ::CUserMsg_ParticleManager_SetVData& CUserMsg_ParticleManager::set_vdata() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_vdata) - return _internal_set_vdata(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_vdata( - ::CUserMsg_ParticleManager_SetVData* set_vdata) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_vdata_); - } - _impl_.set_vdata_ = set_vdata; - if (set_vdata) { - _impl_._has_bits_[1] |= 0x00000002u; - } else { - _impl_._has_bits_[1] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_vdata) -} -inline ::CUserMsg_ParticleManager_SetVData* CUserMsg_ParticleManager::release_set_vdata() { - _impl_._has_bits_[1] &= ~0x00000002u; - ::CUserMsg_ParticleManager_SetVData* temp = _impl_.set_vdata_; - _impl_.set_vdata_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_SetVData* CUserMsg_ParticleManager::unsafe_arena_release_set_vdata() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_vdata) - _impl_._has_bits_[1] &= ~0x00000002u; - ::CUserMsg_ParticleManager_SetVData* temp = _impl_.set_vdata_; - _impl_.set_vdata_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_SetVData* CUserMsg_ParticleManager::_internal_mutable_set_vdata() { - _impl_._has_bits_[1] |= 0x00000002u; - if (_impl_.set_vdata_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetVData>(GetArenaForAllocation()); - _impl_.set_vdata_ = p; - } - return _impl_.set_vdata_; -} -inline ::CUserMsg_ParticleManager_SetVData* CUserMsg_ParticleManager::mutable_set_vdata() { - ::CUserMsg_ParticleManager_SetVData* _msg = _internal_mutable_set_vdata(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_vdata) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_set_vdata(::CUserMsg_ParticleManager_SetVData* set_vdata) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.set_vdata_; - } - if (set_vdata) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_vdata); - if (message_arena != submessage_arena) { - set_vdata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, set_vdata, submessage_arena); - } - _impl_._has_bits_[1] |= 0x00000002u; - } else { - _impl_._has_bits_[1] &= ~0x00000002u; - } - _impl_.set_vdata_ = set_vdata; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_vdata) -} - -// optional .CUserMsg_ParticleManager.SetMaterialOverride set_material_override = 38; -inline bool CUserMsg_ParticleManager::_internal_has_set_material_override() const { - bool value = (_impl_._has_bits_[1] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.set_material_override_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_set_material_override() const { - return _internal_has_set_material_override(); -} -inline void CUserMsg_ParticleManager::clear_set_material_override() { - if (_impl_.set_material_override_ != nullptr) _impl_.set_material_override_->Clear(); - _impl_._has_bits_[1] &= ~0x00000004u; -} -inline const ::CUserMsg_ParticleManager_SetMaterialOverride& CUserMsg_ParticleManager::_internal_set_material_override() const { - const ::CUserMsg_ParticleManager_SetMaterialOverride* p = _impl_.set_material_override_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_SetMaterialOverride_default_instance_); -} -inline const ::CUserMsg_ParticleManager_SetMaterialOverride& CUserMsg_ParticleManager::set_material_override() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_material_override) - return _internal_set_material_override(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_material_override( - ::CUserMsg_ParticleManager_SetMaterialOverride* set_material_override) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_material_override_); - } - _impl_.set_material_override_ = set_material_override; - if (set_material_override) { - _impl_._has_bits_[1] |= 0x00000004u; - } else { - _impl_._has_bits_[1] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_material_override) -} -inline ::CUserMsg_ParticleManager_SetMaterialOverride* CUserMsg_ParticleManager::release_set_material_override() { - _impl_._has_bits_[1] &= ~0x00000004u; - ::CUserMsg_ParticleManager_SetMaterialOverride* temp = _impl_.set_material_override_; - _impl_.set_material_override_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_SetMaterialOverride* CUserMsg_ParticleManager::unsafe_arena_release_set_material_override() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_material_override) - _impl_._has_bits_[1] &= ~0x00000004u; - ::CUserMsg_ParticleManager_SetMaterialOverride* temp = _impl_.set_material_override_; - _impl_.set_material_override_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_SetMaterialOverride* CUserMsg_ParticleManager::_internal_mutable_set_material_override() { - _impl_._has_bits_[1] |= 0x00000004u; - if (_impl_.set_material_override_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetMaterialOverride>(GetArenaForAllocation()); - _impl_.set_material_override_ = p; - } - return _impl_.set_material_override_; -} -inline ::CUserMsg_ParticleManager_SetMaterialOverride* CUserMsg_ParticleManager::mutable_set_material_override() { - ::CUserMsg_ParticleManager_SetMaterialOverride* _msg = _internal_mutable_set_material_override(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_material_override) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_set_material_override(::CUserMsg_ParticleManager_SetMaterialOverride* set_material_override) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.set_material_override_; - } - if (set_material_override) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_material_override); - if (message_arena != submessage_arena) { - set_material_override = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, set_material_override, submessage_arena); - } - _impl_._has_bits_[1] |= 0x00000004u; - } else { - _impl_._has_bits_[1] &= ~0x00000004u; - } - _impl_.set_material_override_ = set_material_override; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_material_override) -} - -// optional .CUserMsg_ParticleManager.AddFan add_fan = 39; -inline bool CUserMsg_ParticleManager::_internal_has_add_fan() const { - bool value = (_impl_._has_bits_[1] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.add_fan_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_add_fan() const { - return _internal_has_add_fan(); -} -inline void CUserMsg_ParticleManager::clear_add_fan() { - if (_impl_.add_fan_ != nullptr) _impl_.add_fan_->Clear(); - _impl_._has_bits_[1] &= ~0x00000008u; -} -inline const ::CUserMsg_ParticleManager_AddFan& CUserMsg_ParticleManager::_internal_add_fan() const { - const ::CUserMsg_ParticleManager_AddFan* p = _impl_.add_fan_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_AddFan_default_instance_); -} -inline const ::CUserMsg_ParticleManager_AddFan& CUserMsg_ParticleManager::add_fan() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.add_fan) - return _internal_add_fan(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_add_fan( - ::CUserMsg_ParticleManager_AddFan* add_fan) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.add_fan_); - } - _impl_.add_fan_ = add_fan; - if (add_fan) { - _impl_._has_bits_[1] |= 0x00000008u; - } else { - _impl_._has_bits_[1] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.add_fan) -} -inline ::CUserMsg_ParticleManager_AddFan* CUserMsg_ParticleManager::release_add_fan() { - _impl_._has_bits_[1] &= ~0x00000008u; - ::CUserMsg_ParticleManager_AddFan* temp = _impl_.add_fan_; - _impl_.add_fan_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_AddFan* CUserMsg_ParticleManager::unsafe_arena_release_add_fan() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.add_fan) - _impl_._has_bits_[1] &= ~0x00000008u; - ::CUserMsg_ParticleManager_AddFan* temp = _impl_.add_fan_; - _impl_.add_fan_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_AddFan* CUserMsg_ParticleManager::_internal_mutable_add_fan() { - _impl_._has_bits_[1] |= 0x00000008u; - if (_impl_.add_fan_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_AddFan>(GetArenaForAllocation()); - _impl_.add_fan_ = p; - } - return _impl_.add_fan_; -} -inline ::CUserMsg_ParticleManager_AddFan* CUserMsg_ParticleManager::mutable_add_fan() { - ::CUserMsg_ParticleManager_AddFan* _msg = _internal_mutable_add_fan(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.add_fan) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_add_fan(::CUserMsg_ParticleManager_AddFan* add_fan) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.add_fan_; - } - if (add_fan) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(add_fan); - if (message_arena != submessage_arena) { - add_fan = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, add_fan, submessage_arena); - } - _impl_._has_bits_[1] |= 0x00000008u; - } else { - _impl_._has_bits_[1] &= ~0x00000008u; - } - _impl_.add_fan_ = add_fan; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.add_fan) -} - -// optional .CUserMsg_ParticleManager.UpdateFan update_fan = 40; -inline bool CUserMsg_ParticleManager::_internal_has_update_fan() const { - bool value = (_impl_._has_bits_[1] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.update_fan_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_update_fan() const { - return _internal_has_update_fan(); -} -inline void CUserMsg_ParticleManager::clear_update_fan() { - if (_impl_.update_fan_ != nullptr) _impl_.update_fan_->Clear(); - _impl_._has_bits_[1] &= ~0x00000010u; -} -inline const ::CUserMsg_ParticleManager_UpdateFan& CUserMsg_ParticleManager::_internal_update_fan() const { - const ::CUserMsg_ParticleManager_UpdateFan* p = _impl_.update_fan_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_UpdateFan_default_instance_); -} -inline const ::CUserMsg_ParticleManager_UpdateFan& CUserMsg_ParticleManager::update_fan() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.update_fan) - return _internal_update_fan(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_update_fan( - ::CUserMsg_ParticleManager_UpdateFan* update_fan) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_fan_); - } - _impl_.update_fan_ = update_fan; - if (update_fan) { - _impl_._has_bits_[1] |= 0x00000010u; - } else { - _impl_._has_bits_[1] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.update_fan) -} -inline ::CUserMsg_ParticleManager_UpdateFan* CUserMsg_ParticleManager::release_update_fan() { - _impl_._has_bits_[1] &= ~0x00000010u; - ::CUserMsg_ParticleManager_UpdateFan* temp = _impl_.update_fan_; - _impl_.update_fan_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateFan* CUserMsg_ParticleManager::unsafe_arena_release_update_fan() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.update_fan) - _impl_._has_bits_[1] &= ~0x00000010u; - ::CUserMsg_ParticleManager_UpdateFan* temp = _impl_.update_fan_; - _impl_.update_fan_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_UpdateFan* CUserMsg_ParticleManager::_internal_mutable_update_fan() { - _impl_._has_bits_[1] |= 0x00000010u; - if (_impl_.update_fan_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_UpdateFan>(GetArenaForAllocation()); - _impl_.update_fan_ = p; - } - return _impl_.update_fan_; -} -inline ::CUserMsg_ParticleManager_UpdateFan* CUserMsg_ParticleManager::mutable_update_fan() { - ::CUserMsg_ParticleManager_UpdateFan* _msg = _internal_mutable_update_fan(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.update_fan) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_update_fan(::CUserMsg_ParticleManager_UpdateFan* update_fan) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.update_fan_; - } - if (update_fan) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(update_fan); - if (message_arena != submessage_arena) { - update_fan = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, update_fan, submessage_arena); - } - _impl_._has_bits_[1] |= 0x00000010u; - } else { - _impl_._has_bits_[1] &= ~0x00000010u; - } - _impl_.update_fan_ = update_fan; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.update_fan) -} - -// optional .CUserMsg_ParticleManager.SetParticleClusterGrowth set_particle_cluster_growth = 41; -inline bool CUserMsg_ParticleManager::_internal_has_set_particle_cluster_growth() const { - bool value = (_impl_._has_bits_[1] & 0x00000020u) != 0; - PROTOBUF_ASSUME(!value || _impl_.set_particle_cluster_growth_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_set_particle_cluster_growth() const { - return _internal_has_set_particle_cluster_growth(); -} -inline void CUserMsg_ParticleManager::clear_set_particle_cluster_growth() { - if (_impl_.set_particle_cluster_growth_ != nullptr) _impl_.set_particle_cluster_growth_->Clear(); - _impl_._has_bits_[1] &= ~0x00000020u; -} -inline const ::CUserMsg_ParticleManager_SetParticleClusterGrowth& CUserMsg_ParticleManager::_internal_set_particle_cluster_growth() const { - const ::CUserMsg_ParticleManager_SetParticleClusterGrowth* p = _impl_.set_particle_cluster_growth_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_SetParticleClusterGrowth_default_instance_); -} -inline const ::CUserMsg_ParticleManager_SetParticleClusterGrowth& CUserMsg_ParticleManager::set_particle_cluster_growth() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.set_particle_cluster_growth) - return _internal_set_particle_cluster_growth(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_set_particle_cluster_growth( - ::CUserMsg_ParticleManager_SetParticleClusterGrowth* set_particle_cluster_growth) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.set_particle_cluster_growth_); - } - _impl_.set_particle_cluster_growth_ = set_particle_cluster_growth; - if (set_particle_cluster_growth) { - _impl_._has_bits_[1] |= 0x00000020u; - } else { - _impl_._has_bits_[1] &= ~0x00000020u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.set_particle_cluster_growth) -} -inline ::CUserMsg_ParticleManager_SetParticleClusterGrowth* CUserMsg_ParticleManager::release_set_particle_cluster_growth() { - _impl_._has_bits_[1] &= ~0x00000020u; - ::CUserMsg_ParticleManager_SetParticleClusterGrowth* temp = _impl_.set_particle_cluster_growth_; - _impl_.set_particle_cluster_growth_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_SetParticleClusterGrowth* CUserMsg_ParticleManager::unsafe_arena_release_set_particle_cluster_growth() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.set_particle_cluster_growth) - _impl_._has_bits_[1] &= ~0x00000020u; - ::CUserMsg_ParticleManager_SetParticleClusterGrowth* temp = _impl_.set_particle_cluster_growth_; - _impl_.set_particle_cluster_growth_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_SetParticleClusterGrowth* CUserMsg_ParticleManager::_internal_mutable_set_particle_cluster_growth() { - _impl_._has_bits_[1] |= 0x00000020u; - if (_impl_.set_particle_cluster_growth_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_SetParticleClusterGrowth>(GetArenaForAllocation()); - _impl_.set_particle_cluster_growth_ = p; - } - return _impl_.set_particle_cluster_growth_; -} -inline ::CUserMsg_ParticleManager_SetParticleClusterGrowth* CUserMsg_ParticleManager::mutable_set_particle_cluster_growth() { - ::CUserMsg_ParticleManager_SetParticleClusterGrowth* _msg = _internal_mutable_set_particle_cluster_growth(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.set_particle_cluster_growth) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_set_particle_cluster_growth(::CUserMsg_ParticleManager_SetParticleClusterGrowth* set_particle_cluster_growth) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.set_particle_cluster_growth_; - } - if (set_particle_cluster_growth) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_particle_cluster_growth); - if (message_arena != submessage_arena) { - set_particle_cluster_growth = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, set_particle_cluster_growth, submessage_arena); - } - _impl_._has_bits_[1] |= 0x00000020u; - } else { - _impl_._has_bits_[1] &= ~0x00000020u; - } - _impl_.set_particle_cluster_growth_ = set_particle_cluster_growth; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.set_particle_cluster_growth) -} - -// optional .CUserMsg_ParticleManager.RemoveFan remove_fan = 42; -inline bool CUserMsg_ParticleManager::_internal_has_remove_fan() const { - bool value = (_impl_._has_bits_[1] & 0x00000040u) != 0; - PROTOBUF_ASSUME(!value || _impl_.remove_fan_ != nullptr); - return value; -} -inline bool CUserMsg_ParticleManager::has_remove_fan() const { - return _internal_has_remove_fan(); -} -inline void CUserMsg_ParticleManager::clear_remove_fan() { - if (_impl_.remove_fan_ != nullptr) _impl_.remove_fan_->Clear(); - _impl_._has_bits_[1] &= ~0x00000040u; -} -inline const ::CUserMsg_ParticleManager_RemoveFan& CUserMsg_ParticleManager::_internal_remove_fan() const { - const ::CUserMsg_ParticleManager_RemoveFan* p = _impl_.remove_fan_; - return p != nullptr ? *p : reinterpret_cast( - ::_CUserMsg_ParticleManager_RemoveFan_default_instance_); -} -inline const ::CUserMsg_ParticleManager_RemoveFan& CUserMsg_ParticleManager::remove_fan() const { - // @@protoc_insertion_point(field_get:CUserMsg_ParticleManager.remove_fan) - return _internal_remove_fan(); -} -inline void CUserMsg_ParticleManager::unsafe_arena_set_allocated_remove_fan( - ::CUserMsg_ParticleManager_RemoveFan* remove_fan) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.remove_fan_); - } - _impl_.remove_fan_ = remove_fan; - if (remove_fan) { - _impl_._has_bits_[1] |= 0x00000040u; - } else { - _impl_._has_bits_[1] &= ~0x00000040u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMsg_ParticleManager.remove_fan) -} -inline ::CUserMsg_ParticleManager_RemoveFan* CUserMsg_ParticleManager::release_remove_fan() { - _impl_._has_bits_[1] &= ~0x00000040u; - ::CUserMsg_ParticleManager_RemoveFan* temp = _impl_.remove_fan_; - _impl_.remove_fan_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CUserMsg_ParticleManager_RemoveFan* CUserMsg_ParticleManager::unsafe_arena_release_remove_fan() { - // @@protoc_insertion_point(field_release:CUserMsg_ParticleManager.remove_fan) - _impl_._has_bits_[1] &= ~0x00000040u; - ::CUserMsg_ParticleManager_RemoveFan* temp = _impl_.remove_fan_; - _impl_.remove_fan_ = nullptr; - return temp; -} -inline ::CUserMsg_ParticleManager_RemoveFan* CUserMsg_ParticleManager::_internal_mutable_remove_fan() { - _impl_._has_bits_[1] |= 0x00000040u; - if (_impl_.remove_fan_ == nullptr) { - auto* p = CreateMaybeMessage<::CUserMsg_ParticleManager_RemoveFan>(GetArenaForAllocation()); - _impl_.remove_fan_ = p; - } - return _impl_.remove_fan_; -} -inline ::CUserMsg_ParticleManager_RemoveFan* CUserMsg_ParticleManager::mutable_remove_fan() { - ::CUserMsg_ParticleManager_RemoveFan* _msg = _internal_mutable_remove_fan(); - // @@protoc_insertion_point(field_mutable:CUserMsg_ParticleManager.remove_fan) - return _msg; -} -inline void CUserMsg_ParticleManager::set_allocated_remove_fan(::CUserMsg_ParticleManager_RemoveFan* remove_fan) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete _impl_.remove_fan_; - } - if (remove_fan) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(remove_fan); - if (message_arena != submessage_arena) { - remove_fan = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, remove_fan, submessage_arena); - } - _impl_._has_bits_[1] |= 0x00000040u; - } else { - _impl_._has_bits_[1] &= ~0x00000040u; - } - _impl_.remove_fan_ = remove_fan; - // @@protoc_insertion_point(field_set_allocated:CUserMsg_ParticleManager.remove_fan) -} - -// ------------------------------------------------------------------- - -// CUserMsg_HudError - -// optional int32 order_id = 1; -inline bool CUserMsg_HudError::_internal_has_order_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_HudError::has_order_id() const { - return _internal_has_order_id(); -} -inline void CUserMsg_HudError::clear_order_id() { - _impl_.order_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CUserMsg_HudError::_internal_order_id() const { - return _impl_.order_id_; -} -inline int32_t CUserMsg_HudError::order_id() const { - // @@protoc_insertion_point(field_get:CUserMsg_HudError.order_id) - return _internal_order_id(); -} -inline void CUserMsg_HudError::_internal_set_order_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.order_id_ = value; -} -inline void CUserMsg_HudError::set_order_id(int32_t value) { - _internal_set_order_id(value); - // @@protoc_insertion_point(field_set:CUserMsg_HudError.order_id) -} - -// ------------------------------------------------------------------- - -// CUserMsg_CustomGameEvent - -// optional string event_name = 1; -inline bool CUserMsg_CustomGameEvent::_internal_has_event_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMsg_CustomGameEvent::has_event_name() const { - return _internal_has_event_name(); -} -inline void CUserMsg_CustomGameEvent::clear_event_name() { - _impl_.event_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMsg_CustomGameEvent::event_name() const { - // @@protoc_insertion_point(field_get:CUserMsg_CustomGameEvent.event_name) - return _internal_event_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMsg_CustomGameEvent::set_event_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMsg_CustomGameEvent.event_name) -} -inline std::string* CUserMsg_CustomGameEvent::mutable_event_name() { - std::string* _s = _internal_mutable_event_name(); - // @@protoc_insertion_point(field_mutable:CUserMsg_CustomGameEvent.event_name) - return _s; -} -inline const std::string& CUserMsg_CustomGameEvent::_internal_event_name() const { - return _impl_.event_name_.Get(); -} -inline void CUserMsg_CustomGameEvent::_internal_set_event_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.event_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMsg_CustomGameEvent::_internal_mutable_event_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.event_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMsg_CustomGameEvent::release_event_name() { - // @@protoc_insertion_point(field_release:CUserMsg_CustomGameEvent.event_name) - if (!_internal_has_event_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.event_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_name_.IsDefault()) { - _impl_.event_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMsg_CustomGameEvent::set_allocated_event_name(std::string* event_name) { - if (event_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.event_name_.SetAllocated(event_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.event_name_.IsDefault()) { - _impl_.event_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMsg_CustomGameEvent.event_name) -} - -// optional bytes data = 2; -inline bool CUserMsg_CustomGameEvent::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMsg_CustomGameEvent::has_data() const { - return _internal_has_data(); -} -inline void CUserMsg_CustomGameEvent::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CUserMsg_CustomGameEvent::data() const { - // @@protoc_insertion_point(field_get:CUserMsg_CustomGameEvent.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMsg_CustomGameEvent::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMsg_CustomGameEvent.data) -} -inline std::string* CUserMsg_CustomGameEvent::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CUserMsg_CustomGameEvent.data) - return _s; -} -inline const std::string& CUserMsg_CustomGameEvent::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CUserMsg_CustomGameEvent::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMsg_CustomGameEvent::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMsg_CustomGameEvent::release_data() { - // @@protoc_insertion_point(field_release:CUserMsg_CustomGameEvent.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMsg_CustomGameEvent::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMsg_CustomGameEvent.data) -} - -// ------------------------------------------------------------------- - -// CUserMessageHapticsManagerPulse - -// optional int32 hand_id = 1; -inline bool CUserMessageHapticsManagerPulse::_internal_has_hand_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageHapticsManagerPulse::has_hand_id() const { - return _internal_has_hand_id(); -} -inline void CUserMessageHapticsManagerPulse::clear_hand_id() { - _impl_.hand_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CUserMessageHapticsManagerPulse::_internal_hand_id() const { - return _impl_.hand_id_; -} -inline int32_t CUserMessageHapticsManagerPulse::hand_id() const { - // @@protoc_insertion_point(field_get:CUserMessageHapticsManagerPulse.hand_id) - return _internal_hand_id(); -} -inline void CUserMessageHapticsManagerPulse::_internal_set_hand_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.hand_id_ = value; -} -inline void CUserMessageHapticsManagerPulse::set_hand_id(int32_t value) { - _internal_set_hand_id(value); - // @@protoc_insertion_point(field_set:CUserMessageHapticsManagerPulse.hand_id) -} - -// optional float effect_amplitude = 2; -inline bool CUserMessageHapticsManagerPulse::_internal_has_effect_amplitude() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageHapticsManagerPulse::has_effect_amplitude() const { - return _internal_has_effect_amplitude(); -} -inline void CUserMessageHapticsManagerPulse::clear_effect_amplitude() { - _impl_.effect_amplitude_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline float CUserMessageHapticsManagerPulse::_internal_effect_amplitude() const { - return _impl_.effect_amplitude_; -} -inline float CUserMessageHapticsManagerPulse::effect_amplitude() const { - // @@protoc_insertion_point(field_get:CUserMessageHapticsManagerPulse.effect_amplitude) - return _internal_effect_amplitude(); -} -inline void CUserMessageHapticsManagerPulse::_internal_set_effect_amplitude(float value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.effect_amplitude_ = value; -} -inline void CUserMessageHapticsManagerPulse::set_effect_amplitude(float value) { - _internal_set_effect_amplitude(value); - // @@protoc_insertion_point(field_set:CUserMessageHapticsManagerPulse.effect_amplitude) -} - -// optional float effect_frequency = 3; -inline bool CUserMessageHapticsManagerPulse::_internal_has_effect_frequency() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageHapticsManagerPulse::has_effect_frequency() const { - return _internal_has_effect_frequency(); -} -inline void CUserMessageHapticsManagerPulse::clear_effect_frequency() { - _impl_.effect_frequency_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CUserMessageHapticsManagerPulse::_internal_effect_frequency() const { - return _impl_.effect_frequency_; -} -inline float CUserMessageHapticsManagerPulse::effect_frequency() const { - // @@protoc_insertion_point(field_get:CUserMessageHapticsManagerPulse.effect_frequency) - return _internal_effect_frequency(); -} -inline void CUserMessageHapticsManagerPulse::_internal_set_effect_frequency(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.effect_frequency_ = value; -} -inline void CUserMessageHapticsManagerPulse::set_effect_frequency(float value) { - _internal_set_effect_frequency(value); - // @@protoc_insertion_point(field_set:CUserMessageHapticsManagerPulse.effect_frequency) -} - -// optional float effect_duration = 4; -inline bool CUserMessageHapticsManagerPulse::_internal_has_effect_duration() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessageHapticsManagerPulse::has_effect_duration() const { - return _internal_has_effect_duration(); -} -inline void CUserMessageHapticsManagerPulse::clear_effect_duration() { - _impl_.effect_duration_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline float CUserMessageHapticsManagerPulse::_internal_effect_duration() const { - return _impl_.effect_duration_; -} -inline float CUserMessageHapticsManagerPulse::effect_duration() const { - // @@protoc_insertion_point(field_get:CUserMessageHapticsManagerPulse.effect_duration) - return _internal_effect_duration(); -} -inline void CUserMessageHapticsManagerPulse::_internal_set_effect_duration(float value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.effect_duration_ = value; -} -inline void CUserMessageHapticsManagerPulse::set_effect_duration(float value) { - _internal_set_effect_duration(value); - // @@protoc_insertion_point(field_set:CUserMessageHapticsManagerPulse.effect_duration) -} - -// ------------------------------------------------------------------- - -// CUserMessageHapticsManagerEffect - -// optional int32 hand_id = 1; -inline bool CUserMessageHapticsManagerEffect::_internal_has_hand_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageHapticsManagerEffect::has_hand_id() const { - return _internal_has_hand_id(); -} -inline void CUserMessageHapticsManagerEffect::clear_hand_id() { - _impl_.hand_id_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CUserMessageHapticsManagerEffect::_internal_hand_id() const { - return _impl_.hand_id_; -} -inline int32_t CUserMessageHapticsManagerEffect::hand_id() const { - // @@protoc_insertion_point(field_get:CUserMessageHapticsManagerEffect.hand_id) - return _internal_hand_id(); -} -inline void CUserMessageHapticsManagerEffect::_internal_set_hand_id(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.hand_id_ = value; -} -inline void CUserMessageHapticsManagerEffect::set_hand_id(int32_t value) { - _internal_set_hand_id(value); - // @@protoc_insertion_point(field_set:CUserMessageHapticsManagerEffect.hand_id) -} - -// optional uint32 effect_name_hash_code = 2; -inline bool CUserMessageHapticsManagerEffect::_internal_has_effect_name_hash_code() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageHapticsManagerEffect::has_effect_name_hash_code() const { - return _internal_has_effect_name_hash_code(); -} -inline void CUserMessageHapticsManagerEffect::clear_effect_name_hash_code() { - _impl_.effect_name_hash_code_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CUserMessageHapticsManagerEffect::_internal_effect_name_hash_code() const { - return _impl_.effect_name_hash_code_; -} -inline uint32_t CUserMessageHapticsManagerEffect::effect_name_hash_code() const { - // @@protoc_insertion_point(field_get:CUserMessageHapticsManagerEffect.effect_name_hash_code) - return _internal_effect_name_hash_code(); -} -inline void CUserMessageHapticsManagerEffect::_internal_set_effect_name_hash_code(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.effect_name_hash_code_ = value; -} -inline void CUserMessageHapticsManagerEffect::set_effect_name_hash_code(uint32_t value) { - _internal_set_effect_name_hash_code(value); - // @@protoc_insertion_point(field_set:CUserMessageHapticsManagerEffect.effect_name_hash_code) -} - -// optional float effect_scale = 3; -inline bool CUserMessageHapticsManagerEffect::_internal_has_effect_scale() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageHapticsManagerEffect::has_effect_scale() const { - return _internal_has_effect_scale(); -} -inline void CUserMessageHapticsManagerEffect::clear_effect_scale() { - _impl_.effect_scale_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CUserMessageHapticsManagerEffect::_internal_effect_scale() const { - return _impl_.effect_scale_; -} -inline float CUserMessageHapticsManagerEffect::effect_scale() const { - // @@protoc_insertion_point(field_get:CUserMessageHapticsManagerEffect.effect_scale) - return _internal_effect_scale(); -} -inline void CUserMessageHapticsManagerEffect::_internal_set_effect_scale(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.effect_scale_ = value; -} -inline void CUserMessageHapticsManagerEffect::set_effect_scale(float value) { - _internal_set_effect_scale(value); - // @@protoc_insertion_point(field_set:CUserMessageHapticsManagerEffect.effect_scale) -} - -// ------------------------------------------------------------------- - -// CUserMessageAnimStateGraphState - -// optional int32 entity_index = 1; -inline bool CUserMessageAnimStateGraphState::_internal_has_entity_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageAnimStateGraphState::has_entity_index() const { - return _internal_has_entity_index(); -} -inline void CUserMessageAnimStateGraphState::clear_entity_index() { - _impl_.entity_index_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CUserMessageAnimStateGraphState::_internal_entity_index() const { - return _impl_.entity_index_; -} -inline int32_t CUserMessageAnimStateGraphState::entity_index() const { - // @@protoc_insertion_point(field_get:CUserMessageAnimStateGraphState.entity_index) - return _internal_entity_index(); -} -inline void CUserMessageAnimStateGraphState::_internal_set_entity_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.entity_index_ = value; -} -inline void CUserMessageAnimStateGraphState::set_entity_index(int32_t value) { - _internal_set_entity_index(value); - // @@protoc_insertion_point(field_set:CUserMessageAnimStateGraphState.entity_index) -} - -// optional bytes data = 2; -inline bool CUserMessageAnimStateGraphState::_internal_has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageAnimStateGraphState::has_data() const { - return _internal_has_data(); -} -inline void CUserMessageAnimStateGraphState::clear_data() { - _impl_.data_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessageAnimStateGraphState::data() const { - // @@protoc_insertion_point(field_get:CUserMessageAnimStateGraphState.data) - return _internal_data(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageAnimStateGraphState::set_data(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageAnimStateGraphState.data) -} -inline std::string* CUserMessageAnimStateGraphState::mutable_data() { - std::string* _s = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:CUserMessageAnimStateGraphState.data) - return _s; -} -inline const std::string& CUserMessageAnimStateGraphState::_internal_data() const { - return _impl_.data_.Get(); -} -inline void CUserMessageAnimStateGraphState::_internal_set_data(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.data_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageAnimStateGraphState::_internal_mutable_data() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.data_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageAnimStateGraphState::release_data() { - // @@protoc_insertion_point(field_release:CUserMessageAnimStateGraphState.data) - if (!_internal_has_data()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.data_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageAnimStateGraphState::set_allocated_data(std::string* data) { - if (data != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.data_.SetAllocated(data, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.data_.IsDefault()) { - _impl_.data_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageAnimStateGraphState.data) -} - -// ------------------------------------------------------------------- - -// CUserMessageUpdateCssClasses - -// optional int32 target_world_panel = 1; -inline bool CUserMessageUpdateCssClasses::_internal_has_target_world_panel() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageUpdateCssClasses::has_target_world_panel() const { - return _internal_has_target_world_panel(); -} -inline void CUserMessageUpdateCssClasses::clear_target_world_panel() { - _impl_.target_world_panel_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CUserMessageUpdateCssClasses::_internal_target_world_panel() const { - return _impl_.target_world_panel_; -} -inline int32_t CUserMessageUpdateCssClasses::target_world_panel() const { - // @@protoc_insertion_point(field_get:CUserMessageUpdateCssClasses.target_world_panel) - return _internal_target_world_panel(); -} -inline void CUserMessageUpdateCssClasses::_internal_set_target_world_panel(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.target_world_panel_ = value; -} -inline void CUserMessageUpdateCssClasses::set_target_world_panel(int32_t value) { - _internal_set_target_world_panel(value); - // @@protoc_insertion_point(field_set:CUserMessageUpdateCssClasses.target_world_panel) -} - -// optional string css_classes = 2; -inline bool CUserMessageUpdateCssClasses::_internal_has_css_classes() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageUpdateCssClasses::has_css_classes() const { - return _internal_has_css_classes(); -} -inline void CUserMessageUpdateCssClasses::clear_css_classes() { - _impl_.css_classes_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessageUpdateCssClasses::css_classes() const { - // @@protoc_insertion_point(field_get:CUserMessageUpdateCssClasses.css_classes) - return _internal_css_classes(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageUpdateCssClasses::set_css_classes(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.css_classes_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageUpdateCssClasses.css_classes) -} -inline std::string* CUserMessageUpdateCssClasses::mutable_css_classes() { - std::string* _s = _internal_mutable_css_classes(); - // @@protoc_insertion_point(field_mutable:CUserMessageUpdateCssClasses.css_classes) - return _s; -} -inline const std::string& CUserMessageUpdateCssClasses::_internal_css_classes() const { - return _impl_.css_classes_.Get(); -} -inline void CUserMessageUpdateCssClasses::_internal_set_css_classes(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.css_classes_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageUpdateCssClasses::_internal_mutable_css_classes() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.css_classes_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageUpdateCssClasses::release_css_classes() { - // @@protoc_insertion_point(field_release:CUserMessageUpdateCssClasses.css_classes) - if (!_internal_has_css_classes()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.css_classes_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.css_classes_.IsDefault()) { - _impl_.css_classes_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageUpdateCssClasses::set_allocated_css_classes(std::string* css_classes) { - if (css_classes != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.css_classes_.SetAllocated(css_classes, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.css_classes_.IsDefault()) { - _impl_.css_classes_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageUpdateCssClasses.css_classes) -} - -// optional bool is_add = 3; -inline bool CUserMessageUpdateCssClasses::_internal_has_is_add() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageUpdateCssClasses::has_is_add() const { - return _internal_has_is_add(); -} -inline void CUserMessageUpdateCssClasses::clear_is_add() { - _impl_.is_add_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool CUserMessageUpdateCssClasses::_internal_is_add() const { - return _impl_.is_add_; -} -inline bool CUserMessageUpdateCssClasses::is_add() const { - // @@protoc_insertion_point(field_get:CUserMessageUpdateCssClasses.is_add) - return _internal_is_add(); -} -inline void CUserMessageUpdateCssClasses::_internal_set_is_add(bool value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.is_add_ = value; -} -inline void CUserMessageUpdateCssClasses::set_is_add(bool value) { - _internal_set_is_add(value); - // @@protoc_insertion_point(field_set:CUserMessageUpdateCssClasses.is_add) -} - -// ------------------------------------------------------------------- - -// CUserMessageServerFrameTime - -// optional float frame_time = 1; -inline bool CUserMessageServerFrameTime::_internal_has_frame_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageServerFrameTime::has_frame_time() const { - return _internal_has_frame_time(); -} -inline void CUserMessageServerFrameTime::clear_frame_time() { - _impl_.frame_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CUserMessageServerFrameTime::_internal_frame_time() const { - return _impl_.frame_time_; -} -inline float CUserMessageServerFrameTime::frame_time() const { - // @@protoc_insertion_point(field_get:CUserMessageServerFrameTime.frame_time) - return _internal_frame_time(); -} -inline void CUserMessageServerFrameTime::_internal_set_frame_time(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.frame_time_ = value; -} -inline void CUserMessageServerFrameTime::set_frame_time(float value) { - _internal_set_frame_time(value); - // @@protoc_insertion_point(field_set:CUserMessageServerFrameTime.frame_time) -} - -// ------------------------------------------------------------------- - -// CUserMessageLagCompensationError - -// optional float distance = 1; -inline bool CUserMessageLagCompensationError::_internal_has_distance() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageLagCompensationError::has_distance() const { - return _internal_has_distance(); -} -inline void CUserMessageLagCompensationError::clear_distance() { - _impl_.distance_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline float CUserMessageLagCompensationError::_internal_distance() const { - return _impl_.distance_; -} -inline float CUserMessageLagCompensationError::distance() const { - // @@protoc_insertion_point(field_get:CUserMessageLagCompensationError.distance) - return _internal_distance(); -} -inline void CUserMessageLagCompensationError::_internal_set_distance(float value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.distance_ = value; -} -inline void CUserMessageLagCompensationError::set_distance(float value) { - _internal_set_distance(value); - // @@protoc_insertion_point(field_set:CUserMessageLagCompensationError.distance) -} - -// ------------------------------------------------------------------- - -// CUserMessageRequestDllStatus - -// optional string dll_action = 1; -inline bool CUserMessageRequestDllStatus::_internal_has_dll_action() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageRequestDllStatus::has_dll_action() const { - return _internal_has_dll_action(); -} -inline void CUserMessageRequestDllStatus::clear_dll_action() { - _impl_.dll_action_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessageRequestDllStatus::dll_action() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestDllStatus.dll_action) - return _internal_dll_action(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageRequestDllStatus::set_dll_action(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.dll_action_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageRequestDllStatus.dll_action) -} -inline std::string* CUserMessageRequestDllStatus::mutable_dll_action() { - std::string* _s = _internal_mutable_dll_action(); - // @@protoc_insertion_point(field_mutable:CUserMessageRequestDllStatus.dll_action) - return _s; -} -inline const std::string& CUserMessageRequestDllStatus::_internal_dll_action() const { - return _impl_.dll_action_.Get(); -} -inline void CUserMessageRequestDllStatus::_internal_set_dll_action(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.dll_action_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageRequestDllStatus::_internal_mutable_dll_action() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.dll_action_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageRequestDllStatus::release_dll_action() { - // @@protoc_insertion_point(field_release:CUserMessageRequestDllStatus.dll_action) - if (!_internal_has_dll_action()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.dll_action_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dll_action_.IsDefault()) { - _impl_.dll_action_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageRequestDllStatus::set_allocated_dll_action(std::string* dll_action) { - if (dll_action != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.dll_action_.SetAllocated(dll_action, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.dll_action_.IsDefault()) { - _impl_.dll_action_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageRequestDllStatus.dll_action) -} - -// optional bool full_report = 2; -inline bool CUserMessageRequestDllStatus::_internal_has_full_report() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageRequestDllStatus::has_full_report() const { - return _internal_has_full_report(); -} -inline void CUserMessageRequestDllStatus::clear_full_report() { - _impl_.full_report_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool CUserMessageRequestDllStatus::_internal_full_report() const { - return _impl_.full_report_; -} -inline bool CUserMessageRequestDllStatus::full_report() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestDllStatus.full_report) - return _internal_full_report(); -} -inline void CUserMessageRequestDllStatus::_internal_set_full_report(bool value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.full_report_ = value; -} -inline void CUserMessageRequestDllStatus::set_full_report(bool value) { - _internal_set_full_report(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestDllStatus.full_report) -} - -// ------------------------------------------------------------------- - -// CUserMessageRequestUtilAction - -// optional int32 util1 = 2; -inline bool CUserMessageRequestUtilAction::_internal_has_util1() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageRequestUtilAction::has_util1() const { - return _internal_has_util1(); -} -inline void CUserMessageRequestUtilAction::clear_util1() { - _impl_.util1_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CUserMessageRequestUtilAction::_internal_util1() const { - return _impl_.util1_; -} -inline int32_t CUserMessageRequestUtilAction::util1() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestUtilAction.util1) - return _internal_util1(); -} -inline void CUserMessageRequestUtilAction::_internal_set_util1(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.util1_ = value; -} -inline void CUserMessageRequestUtilAction::set_util1(int32_t value) { - _internal_set_util1(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestUtilAction.util1) -} - -// optional int32 util2 = 3; -inline bool CUserMessageRequestUtilAction::_internal_has_util2() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageRequestUtilAction::has_util2() const { - return _internal_has_util2(); -} -inline void CUserMessageRequestUtilAction::clear_util2() { - _impl_.util2_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CUserMessageRequestUtilAction::_internal_util2() const { - return _impl_.util2_; -} -inline int32_t CUserMessageRequestUtilAction::util2() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestUtilAction.util2) - return _internal_util2(); -} -inline void CUserMessageRequestUtilAction::_internal_set_util2(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.util2_ = value; -} -inline void CUserMessageRequestUtilAction::set_util2(int32_t value) { - _internal_set_util2(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestUtilAction.util2) -} - -// optional int32 util3 = 4; -inline bool CUserMessageRequestUtilAction::_internal_has_util3() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageRequestUtilAction::has_util3() const { - return _internal_has_util3(); -} -inline void CUserMessageRequestUtilAction::clear_util3() { - _impl_.util3_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CUserMessageRequestUtilAction::_internal_util3() const { - return _impl_.util3_; -} -inline int32_t CUserMessageRequestUtilAction::util3() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestUtilAction.util3) - return _internal_util3(); -} -inline void CUserMessageRequestUtilAction::_internal_set_util3(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.util3_ = value; -} -inline void CUserMessageRequestUtilAction::set_util3(int32_t value) { - _internal_set_util3(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestUtilAction.util3) -} - -// optional int32 util4 = 5; -inline bool CUserMessageRequestUtilAction::_internal_has_util4() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessageRequestUtilAction::has_util4() const { - return _internal_has_util4(); -} -inline void CUserMessageRequestUtilAction::clear_util4() { - _impl_.util4_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CUserMessageRequestUtilAction::_internal_util4() const { - return _impl_.util4_; -} -inline int32_t CUserMessageRequestUtilAction::util4() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestUtilAction.util4) - return _internal_util4(); -} -inline void CUserMessageRequestUtilAction::_internal_set_util4(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.util4_ = value; -} -inline void CUserMessageRequestUtilAction::set_util4(int32_t value) { - _internal_set_util4(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestUtilAction.util4) -} - -// optional int32 util5 = 6; -inline bool CUserMessageRequestUtilAction::_internal_has_util5() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CUserMessageRequestUtilAction::has_util5() const { - return _internal_has_util5(); -} -inline void CUserMessageRequestUtilAction::clear_util5() { - _impl_.util5_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CUserMessageRequestUtilAction::_internal_util5() const { - return _impl_.util5_; -} -inline int32_t CUserMessageRequestUtilAction::util5() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestUtilAction.util5) - return _internal_util5(); -} -inline void CUserMessageRequestUtilAction::_internal_set_util5(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.util5_ = value; -} -inline void CUserMessageRequestUtilAction::set_util5(int32_t value) { - _internal_set_util5(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestUtilAction.util5) -} - -// ------------------------------------------------------------------- - -// CUserMessage_UtilMsg_Response_ItemDetail - -// optional int32 index = 1; -inline bool CUserMessage_UtilMsg_Response_ItemDetail::_internal_has_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessage_UtilMsg_Response_ItemDetail::has_index() const { - return _internal_has_index(); -} -inline void CUserMessage_UtilMsg_Response_ItemDetail::clear_index() { - _impl_.index_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CUserMessage_UtilMsg_Response_ItemDetail::_internal_index() const { - return _impl_.index_; -} -inline int32_t CUserMessage_UtilMsg_Response_ItemDetail::index() const { - // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.ItemDetail.index) - return _internal_index(); -} -inline void CUserMessage_UtilMsg_Response_ItemDetail::_internal_set_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.index_ = value; -} -inline void CUserMessage_UtilMsg_Response_ItemDetail::set_index(int32_t value) { - _internal_set_index(value); - // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.ItemDetail.index) -} - -// optional int32 hash = 2; -inline bool CUserMessage_UtilMsg_Response_ItemDetail::_internal_has_hash() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessage_UtilMsg_Response_ItemDetail::has_hash() const { - return _internal_has_hash(); -} -inline void CUserMessage_UtilMsg_Response_ItemDetail::clear_hash() { - _impl_.hash_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CUserMessage_UtilMsg_Response_ItemDetail::_internal_hash() const { - return _impl_.hash_; -} -inline int32_t CUserMessage_UtilMsg_Response_ItemDetail::hash() const { - // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.ItemDetail.hash) - return _internal_hash(); -} -inline void CUserMessage_UtilMsg_Response_ItemDetail::_internal_set_hash(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.hash_ = value; -} -inline void CUserMessage_UtilMsg_Response_ItemDetail::set_hash(int32_t value) { - _internal_set_hash(value); - // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.ItemDetail.hash) -} - -// optional int32 crc = 3; -inline bool CUserMessage_UtilMsg_Response_ItemDetail::_internal_has_crc() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessage_UtilMsg_Response_ItemDetail::has_crc() const { - return _internal_has_crc(); -} -inline void CUserMessage_UtilMsg_Response_ItemDetail::clear_crc() { - _impl_.crc_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CUserMessage_UtilMsg_Response_ItemDetail::_internal_crc() const { - return _impl_.crc_; -} -inline int32_t CUserMessage_UtilMsg_Response_ItemDetail::crc() const { - // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.ItemDetail.crc) - return _internal_crc(); -} -inline void CUserMessage_UtilMsg_Response_ItemDetail::_internal_set_crc(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.crc_ = value; -} -inline void CUserMessage_UtilMsg_Response_ItemDetail::set_crc(int32_t value) { - _internal_set_crc(value); - // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.ItemDetail.crc) -} - -// optional string name = 4; -inline bool CUserMessage_UtilMsg_Response_ItemDetail::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessage_UtilMsg_Response_ItemDetail::has_name() const { - return _internal_has_name(); -} -inline void CUserMessage_UtilMsg_Response_ItemDetail::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessage_UtilMsg_Response_ItemDetail::name() const { - // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.ItemDetail.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessage_UtilMsg_Response_ItemDetail::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.ItemDetail.name) -} -inline std::string* CUserMessage_UtilMsg_Response_ItemDetail::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CUserMessage_UtilMsg_Response.ItemDetail.name) - return _s; -} -inline const std::string& CUserMessage_UtilMsg_Response_ItemDetail::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CUserMessage_UtilMsg_Response_ItemDetail::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessage_UtilMsg_Response_ItemDetail::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessage_UtilMsg_Response_ItemDetail::release_name() { - // @@protoc_insertion_point(field_release:CUserMessage_UtilMsg_Response.ItemDetail.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessage_UtilMsg_Response_ItemDetail::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessage_UtilMsg_Response.ItemDetail.name) -} - -// ------------------------------------------------------------------- - -// CUserMessage_UtilMsg_Response - -// optional fixed32 crc = 1; -inline bool CUserMessage_UtilMsg_Response::_internal_has_crc() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessage_UtilMsg_Response::has_crc() const { - return _internal_has_crc(); -} -inline void CUserMessage_UtilMsg_Response::clear_crc() { - _impl_.crc_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CUserMessage_UtilMsg_Response::_internal_crc() const { - return _impl_.crc_; -} -inline uint32_t CUserMessage_UtilMsg_Response::crc() const { - // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.crc) - return _internal_crc(); -} -inline void CUserMessage_UtilMsg_Response::_internal_set_crc(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.crc_ = value; -} -inline void CUserMessage_UtilMsg_Response::set_crc(uint32_t value) { - _internal_set_crc(value); - // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.crc) -} - -// optional int32 item_count = 2; -inline bool CUserMessage_UtilMsg_Response::_internal_has_item_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessage_UtilMsg_Response::has_item_count() const { - return _internal_has_item_count(); -} -inline void CUserMessage_UtilMsg_Response::clear_item_count() { - _impl_.item_count_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CUserMessage_UtilMsg_Response::_internal_item_count() const { - return _impl_.item_count_; -} -inline int32_t CUserMessage_UtilMsg_Response::item_count() const { - // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.item_count) - return _internal_item_count(); -} -inline void CUserMessage_UtilMsg_Response::_internal_set_item_count(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.item_count_ = value; -} -inline void CUserMessage_UtilMsg_Response::set_item_count(int32_t value) { - _internal_set_item_count(value); - // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.item_count) -} - -// optional fixed32 crc2 = 3; -inline bool CUserMessage_UtilMsg_Response::_internal_has_crc2() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessage_UtilMsg_Response::has_crc2() const { - return _internal_has_crc2(); -} -inline void CUserMessage_UtilMsg_Response::clear_crc2() { - _impl_.crc2_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CUserMessage_UtilMsg_Response::_internal_crc2() const { - return _impl_.crc2_; -} -inline uint32_t CUserMessage_UtilMsg_Response::crc2() const { - // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.crc2) - return _internal_crc2(); -} -inline void CUserMessage_UtilMsg_Response::_internal_set_crc2(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.crc2_ = value; -} -inline void CUserMessage_UtilMsg_Response::set_crc2(uint32_t value) { - _internal_set_crc2(value); - // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.crc2) -} - -// optional int32 item_count2 = 4; -inline bool CUserMessage_UtilMsg_Response::_internal_has_item_count2() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessage_UtilMsg_Response::has_item_count2() const { - return _internal_has_item_count2(); -} -inline void CUserMessage_UtilMsg_Response::clear_item_count2() { - _impl_.item_count2_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CUserMessage_UtilMsg_Response::_internal_item_count2() const { - return _impl_.item_count2_; -} -inline int32_t CUserMessage_UtilMsg_Response::item_count2() const { - // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.item_count2) - return _internal_item_count2(); -} -inline void CUserMessage_UtilMsg_Response::_internal_set_item_count2(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.item_count2_ = value; -} -inline void CUserMessage_UtilMsg_Response::set_item_count2(int32_t value) { - _internal_set_item_count2(value); - // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.item_count2) -} - -// repeated int32 crc_part = 5; -inline int CUserMessage_UtilMsg_Response::_internal_crc_part_size() const { - return _impl_.crc_part_.size(); -} -inline int CUserMessage_UtilMsg_Response::crc_part_size() const { - return _internal_crc_part_size(); -} -inline void CUserMessage_UtilMsg_Response::clear_crc_part() { - _impl_.crc_part_.Clear(); -} -inline int32_t CUserMessage_UtilMsg_Response::_internal_crc_part(int index) const { - return _impl_.crc_part_.Get(index); -} -inline int32_t CUserMessage_UtilMsg_Response::crc_part(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.crc_part) - return _internal_crc_part(index); -} -inline void CUserMessage_UtilMsg_Response::set_crc_part(int index, int32_t value) { - _impl_.crc_part_.Set(index, value); - // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.crc_part) -} -inline void CUserMessage_UtilMsg_Response::_internal_add_crc_part(int32_t value) { - _impl_.crc_part_.Add(value); -} -inline void CUserMessage_UtilMsg_Response::add_crc_part(int32_t value) { - _internal_add_crc_part(value); - // @@protoc_insertion_point(field_add:CUserMessage_UtilMsg_Response.crc_part) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CUserMessage_UtilMsg_Response::_internal_crc_part() const { - return _impl_.crc_part_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CUserMessage_UtilMsg_Response::crc_part() const { - // @@protoc_insertion_point(field_list:CUserMessage_UtilMsg_Response.crc_part) - return _internal_crc_part(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CUserMessage_UtilMsg_Response::_internal_mutable_crc_part() { - return &_impl_.crc_part_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CUserMessage_UtilMsg_Response::mutable_crc_part() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_UtilMsg_Response.crc_part) - return _internal_mutable_crc_part(); -} - -// repeated int32 crc_part2 = 6; -inline int CUserMessage_UtilMsg_Response::_internal_crc_part2_size() const { - return _impl_.crc_part2_.size(); -} -inline int CUserMessage_UtilMsg_Response::crc_part2_size() const { - return _internal_crc_part2_size(); -} -inline void CUserMessage_UtilMsg_Response::clear_crc_part2() { - _impl_.crc_part2_.Clear(); -} -inline int32_t CUserMessage_UtilMsg_Response::_internal_crc_part2(int index) const { - return _impl_.crc_part2_.Get(index); -} -inline int32_t CUserMessage_UtilMsg_Response::crc_part2(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.crc_part2) - return _internal_crc_part2(index); -} -inline void CUserMessage_UtilMsg_Response::set_crc_part2(int index, int32_t value) { - _impl_.crc_part2_.Set(index, value); - // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.crc_part2) -} -inline void CUserMessage_UtilMsg_Response::_internal_add_crc_part2(int32_t value) { - _impl_.crc_part2_.Add(value); -} -inline void CUserMessage_UtilMsg_Response::add_crc_part2(int32_t value) { - _internal_add_crc_part2(value); - // @@protoc_insertion_point(field_add:CUserMessage_UtilMsg_Response.crc_part2) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CUserMessage_UtilMsg_Response::_internal_crc_part2() const { - return _impl_.crc_part2_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CUserMessage_UtilMsg_Response::crc_part2() const { - // @@protoc_insertion_point(field_list:CUserMessage_UtilMsg_Response.crc_part2) - return _internal_crc_part2(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CUserMessage_UtilMsg_Response::_internal_mutable_crc_part2() { - return &_impl_.crc_part2_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CUserMessage_UtilMsg_Response::mutable_crc_part2() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_UtilMsg_Response.crc_part2) - return _internal_mutable_crc_part2(); -} - -// optional int32 client_timestamp = 7; -inline bool CUserMessage_UtilMsg_Response::_internal_has_client_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CUserMessage_UtilMsg_Response::has_client_timestamp() const { - return _internal_has_client_timestamp(); -} -inline void CUserMessage_UtilMsg_Response::clear_client_timestamp() { - _impl_.client_timestamp_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CUserMessage_UtilMsg_Response::_internal_client_timestamp() const { - return _impl_.client_timestamp_; -} -inline int32_t CUserMessage_UtilMsg_Response::client_timestamp() const { - // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.client_timestamp) - return _internal_client_timestamp(); -} -inline void CUserMessage_UtilMsg_Response::_internal_set_client_timestamp(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.client_timestamp_ = value; -} -inline void CUserMessage_UtilMsg_Response::set_client_timestamp(int32_t value) { - _internal_set_client_timestamp(value); - // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.client_timestamp) -} - -// optional int32 platform = 8; -inline bool CUserMessage_UtilMsg_Response::_internal_has_platform() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CUserMessage_UtilMsg_Response::has_platform() const { - return _internal_has_platform(); -} -inline void CUserMessage_UtilMsg_Response::clear_platform() { - _impl_.platform_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CUserMessage_UtilMsg_Response::_internal_platform() const { - return _impl_.platform_; -} -inline int32_t CUserMessage_UtilMsg_Response::platform() const { - // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.platform) - return _internal_platform(); -} -inline void CUserMessage_UtilMsg_Response::_internal_set_platform(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.platform_ = value; -} -inline void CUserMessage_UtilMsg_Response::set_platform(int32_t value) { - _internal_set_platform(value); - // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.platform) -} - -// repeated .CUserMessage_UtilMsg_Response.ItemDetail itemdetails = 9; -inline int CUserMessage_UtilMsg_Response::_internal_itemdetails_size() const { - return _impl_.itemdetails_.size(); -} -inline int CUserMessage_UtilMsg_Response::itemdetails_size() const { - return _internal_itemdetails_size(); -} -inline void CUserMessage_UtilMsg_Response::clear_itemdetails() { - _impl_.itemdetails_.Clear(); -} -inline ::CUserMessage_UtilMsg_Response_ItemDetail* CUserMessage_UtilMsg_Response::mutable_itemdetails(int index) { - // @@protoc_insertion_point(field_mutable:CUserMessage_UtilMsg_Response.itemdetails) - return _impl_.itemdetails_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_UtilMsg_Response_ItemDetail >* -CUserMessage_UtilMsg_Response::mutable_itemdetails() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_UtilMsg_Response.itemdetails) - return &_impl_.itemdetails_; -} -inline const ::CUserMessage_UtilMsg_Response_ItemDetail& CUserMessage_UtilMsg_Response::_internal_itemdetails(int index) const { - return _impl_.itemdetails_.Get(index); -} -inline const ::CUserMessage_UtilMsg_Response_ItemDetail& CUserMessage_UtilMsg_Response::itemdetails(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.itemdetails) - return _internal_itemdetails(index); -} -inline ::CUserMessage_UtilMsg_Response_ItemDetail* CUserMessage_UtilMsg_Response::_internal_add_itemdetails() { - return _impl_.itemdetails_.Add(); -} -inline ::CUserMessage_UtilMsg_Response_ItemDetail* CUserMessage_UtilMsg_Response::add_itemdetails() { - ::CUserMessage_UtilMsg_Response_ItemDetail* _add = _internal_add_itemdetails(); - // @@protoc_insertion_point(field_add:CUserMessage_UtilMsg_Response.itemdetails) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_UtilMsg_Response_ItemDetail >& -CUserMessage_UtilMsg_Response::itemdetails() const { - // @@protoc_insertion_point(field_list:CUserMessage_UtilMsg_Response.itemdetails) - return _impl_.itemdetails_; -} - -// optional int32 itemgroup = 10; -inline bool CUserMessage_UtilMsg_Response::_internal_has_itemgroup() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CUserMessage_UtilMsg_Response::has_itemgroup() const { - return _internal_has_itemgroup(); -} -inline void CUserMessage_UtilMsg_Response::clear_itemgroup() { - _impl_.itemgroup_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CUserMessage_UtilMsg_Response::_internal_itemgroup() const { - return _impl_.itemgroup_; -} -inline int32_t CUserMessage_UtilMsg_Response::itemgroup() const { - // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.itemgroup) - return _internal_itemgroup(); -} -inline void CUserMessage_UtilMsg_Response::_internal_set_itemgroup(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.itemgroup_ = value; -} -inline void CUserMessage_UtilMsg_Response::set_itemgroup(int32_t value) { - _internal_set_itemgroup(value); - // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.itemgroup) -} - -// optional int32 total_count = 11; -inline bool CUserMessage_UtilMsg_Response::_internal_has_total_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CUserMessage_UtilMsg_Response::has_total_count() const { - return _internal_has_total_count(); -} -inline void CUserMessage_UtilMsg_Response::clear_total_count() { - _impl_.total_count_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t CUserMessage_UtilMsg_Response::_internal_total_count() const { - return _impl_.total_count_; -} -inline int32_t CUserMessage_UtilMsg_Response::total_count() const { - // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.total_count) - return _internal_total_count(); -} -inline void CUserMessage_UtilMsg_Response::_internal_set_total_count(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.total_count_ = value; -} -inline void CUserMessage_UtilMsg_Response::set_total_count(int32_t value) { - _internal_set_total_count(value); - // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.total_count) -} - -// optional int32 total_count2 = 12; -inline bool CUserMessage_UtilMsg_Response::_internal_has_total_count2() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CUserMessage_UtilMsg_Response::has_total_count2() const { - return _internal_has_total_count2(); -} -inline void CUserMessage_UtilMsg_Response::clear_total_count2() { - _impl_.total_count2_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t CUserMessage_UtilMsg_Response::_internal_total_count2() const { - return _impl_.total_count2_; -} -inline int32_t CUserMessage_UtilMsg_Response::total_count2() const { - // @@protoc_insertion_point(field_get:CUserMessage_UtilMsg_Response.total_count2) - return _internal_total_count2(); -} -inline void CUserMessage_UtilMsg_Response::_internal_set_total_count2(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.total_count2_ = value; -} -inline void CUserMessage_UtilMsg_Response::set_total_count2(int32_t value) { - _internal_set_total_count2(value); - // @@protoc_insertion_point(field_set:CUserMessage_UtilMsg_Response.total_count2) -} - -// ------------------------------------------------------------------- - -// CUserMessage_DllStatus_CVDiagnostic - -// optional uint32 id = 1; -inline bool CUserMessage_DllStatus_CVDiagnostic::_internal_has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessage_DllStatus_CVDiagnostic::has_id() const { - return _internal_has_id(); -} -inline void CUserMessage_DllStatus_CVDiagnostic::clear_id() { - _impl_.id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CUserMessage_DllStatus_CVDiagnostic::_internal_id() const { - return _impl_.id_; -} -inline uint32_t CUserMessage_DllStatus_CVDiagnostic::id() const { - // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.CVDiagnostic.id) - return _internal_id(); -} -inline void CUserMessage_DllStatus_CVDiagnostic::_internal_set_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.id_ = value; -} -inline void CUserMessage_DllStatus_CVDiagnostic::set_id(uint32_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.CVDiagnostic.id) -} - -// optional uint32 extended = 2; -inline bool CUserMessage_DllStatus_CVDiagnostic::_internal_has_extended() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessage_DllStatus_CVDiagnostic::has_extended() const { - return _internal_has_extended(); -} -inline void CUserMessage_DllStatus_CVDiagnostic::clear_extended() { - _impl_.extended_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CUserMessage_DllStatus_CVDiagnostic::_internal_extended() const { - return _impl_.extended_; -} -inline uint32_t CUserMessage_DllStatus_CVDiagnostic::extended() const { - // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.CVDiagnostic.extended) - return _internal_extended(); -} -inline void CUserMessage_DllStatus_CVDiagnostic::_internal_set_extended(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.extended_ = value; -} -inline void CUserMessage_DllStatus_CVDiagnostic::set_extended(uint32_t value) { - _internal_set_extended(value); - // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.CVDiagnostic.extended) -} - -// optional uint64 value = 3; -inline bool CUserMessage_DllStatus_CVDiagnostic::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessage_DllStatus_CVDiagnostic::has_value() const { - return _internal_has_value(); -} -inline void CUserMessage_DllStatus_CVDiagnostic::clear_value() { - _impl_.value_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint64_t CUserMessage_DllStatus_CVDiagnostic::_internal_value() const { - return _impl_.value_; -} -inline uint64_t CUserMessage_DllStatus_CVDiagnostic::value() const { - // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.CVDiagnostic.value) - return _internal_value(); -} -inline void CUserMessage_DllStatus_CVDiagnostic::_internal_set_value(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.value_ = value; -} -inline void CUserMessage_DllStatus_CVDiagnostic::set_value(uint64_t value) { - _internal_set_value(value); - // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.CVDiagnostic.value) -} - -// optional string string_value = 4; -inline bool CUserMessage_DllStatus_CVDiagnostic::_internal_has_string_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessage_DllStatus_CVDiagnostic::has_string_value() const { - return _internal_has_string_value(); -} -inline void CUserMessage_DllStatus_CVDiagnostic::clear_string_value() { - _impl_.string_value_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessage_DllStatus_CVDiagnostic::string_value() const { - // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.CVDiagnostic.string_value) - return _internal_string_value(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessage_DllStatus_CVDiagnostic::set_string_value(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.string_value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.CVDiagnostic.string_value) -} -inline std::string* CUserMessage_DllStatus_CVDiagnostic::mutable_string_value() { - std::string* _s = _internal_mutable_string_value(); - // @@protoc_insertion_point(field_mutable:CUserMessage_DllStatus.CVDiagnostic.string_value) - return _s; -} -inline const std::string& CUserMessage_DllStatus_CVDiagnostic::_internal_string_value() const { - return _impl_.string_value_.Get(); -} -inline void CUserMessage_DllStatus_CVDiagnostic::_internal_set_string_value(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.string_value_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessage_DllStatus_CVDiagnostic::_internal_mutable_string_value() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.string_value_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessage_DllStatus_CVDiagnostic::release_string_value() { - // @@protoc_insertion_point(field_release:CUserMessage_DllStatus.CVDiagnostic.string_value) - if (!_internal_has_string_value()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.string_value_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.string_value_.IsDefault()) { - _impl_.string_value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessage_DllStatus_CVDiagnostic::set_allocated_string_value(std::string* string_value) { - if (string_value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.string_value_.SetAllocated(string_value, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.string_value_.IsDefault()) { - _impl_.string_value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessage_DllStatus.CVDiagnostic.string_value) -} - -// ------------------------------------------------------------------- - -// CUserMessage_DllStatus_CModule - -// optional uint64 base_addr = 1; -inline bool CUserMessage_DllStatus_CModule::_internal_has_base_addr() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessage_DllStatus_CModule::has_base_addr() const { - return _internal_has_base_addr(); -} -inline void CUserMessage_DllStatus_CModule::clear_base_addr() { - _impl_.base_addr_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint64_t CUserMessage_DllStatus_CModule::_internal_base_addr() const { - return _impl_.base_addr_; -} -inline uint64_t CUserMessage_DllStatus_CModule::base_addr() const { - // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.CModule.base_addr) - return _internal_base_addr(); -} -inline void CUserMessage_DllStatus_CModule::_internal_set_base_addr(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.base_addr_ = value; -} -inline void CUserMessage_DllStatus_CModule::set_base_addr(uint64_t value) { - _internal_set_base_addr(value); - // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.CModule.base_addr) -} - -// optional string name = 2; -inline bool CUserMessage_DllStatus_CModule::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessage_DllStatus_CModule::has_name() const { - return _internal_has_name(); -} -inline void CUserMessage_DllStatus_CModule::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessage_DllStatus_CModule::name() const { - // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.CModule.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessage_DllStatus_CModule::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.CModule.name) -} -inline std::string* CUserMessage_DllStatus_CModule::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CUserMessage_DllStatus.CModule.name) - return _s; -} -inline const std::string& CUserMessage_DllStatus_CModule::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CUserMessage_DllStatus_CModule::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessage_DllStatus_CModule::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessage_DllStatus_CModule::release_name() { - // @@protoc_insertion_point(field_release:CUserMessage_DllStatus.CModule.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessage_DllStatus_CModule::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessage_DllStatus.CModule.name) -} - -// optional uint32 size = 3; -inline bool CUserMessage_DllStatus_CModule::_internal_has_size() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessage_DllStatus_CModule::has_size() const { - return _internal_has_size(); -} -inline void CUserMessage_DllStatus_CModule::clear_size() { - _impl_.size_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CUserMessage_DllStatus_CModule::_internal_size() const { - return _impl_.size_; -} -inline uint32_t CUserMessage_DllStatus_CModule::size() const { - // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.CModule.size) - return _internal_size(); -} -inline void CUserMessage_DllStatus_CModule::_internal_set_size(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.size_ = value; -} -inline void CUserMessage_DllStatus_CModule::set_size(uint32_t value) { - _internal_set_size(value); - // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.CModule.size) -} - -// optional uint32 timestamp = 4; -inline bool CUserMessage_DllStatus_CModule::_internal_has_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessage_DllStatus_CModule::has_timestamp() const { - return _internal_has_timestamp(); -} -inline void CUserMessage_DllStatus_CModule::clear_timestamp() { - _impl_.timestamp_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CUserMessage_DllStatus_CModule::_internal_timestamp() const { - return _impl_.timestamp_; -} -inline uint32_t CUserMessage_DllStatus_CModule::timestamp() const { - // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.CModule.timestamp) - return _internal_timestamp(); -} -inline void CUserMessage_DllStatus_CModule::_internal_set_timestamp(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.timestamp_ = value; -} -inline void CUserMessage_DllStatus_CModule::set_timestamp(uint32_t value) { - _internal_set_timestamp(value); - // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.CModule.timestamp) -} - -// ------------------------------------------------------------------- - -// CUserMessage_DllStatus - -// optional string file_report = 1; -inline bool CUserMessage_DllStatus::_internal_has_file_report() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessage_DllStatus::has_file_report() const { - return _internal_has_file_report(); -} -inline void CUserMessage_DllStatus::clear_file_report() { - _impl_.file_report_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessage_DllStatus::file_report() const { - // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.file_report) - return _internal_file_report(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessage_DllStatus::set_file_report(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.file_report_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.file_report) -} -inline std::string* CUserMessage_DllStatus::mutable_file_report() { - std::string* _s = _internal_mutable_file_report(); - // @@protoc_insertion_point(field_mutable:CUserMessage_DllStatus.file_report) - return _s; -} -inline const std::string& CUserMessage_DllStatus::_internal_file_report() const { - return _impl_.file_report_.Get(); -} -inline void CUserMessage_DllStatus::_internal_set_file_report(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.file_report_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessage_DllStatus::_internal_mutable_file_report() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.file_report_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessage_DllStatus::release_file_report() { - // @@protoc_insertion_point(field_release:CUserMessage_DllStatus.file_report) - if (!_internal_has_file_report()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.file_report_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.file_report_.IsDefault()) { - _impl_.file_report_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessage_DllStatus::set_allocated_file_report(std::string* file_report) { - if (file_report != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.file_report_.SetAllocated(file_report, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.file_report_.IsDefault()) { - _impl_.file_report_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessage_DllStatus.file_report) -} - -// optional string command_line = 2; -inline bool CUserMessage_DllStatus::_internal_has_command_line() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessage_DllStatus::has_command_line() const { - return _internal_has_command_line(); -} -inline void CUserMessage_DllStatus::clear_command_line() { - _impl_.command_line_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CUserMessage_DllStatus::command_line() const { - // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.command_line) - return _internal_command_line(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessage_DllStatus::set_command_line(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.command_line_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.command_line) -} -inline std::string* CUserMessage_DllStatus::mutable_command_line() { - std::string* _s = _internal_mutable_command_line(); - // @@protoc_insertion_point(field_mutable:CUserMessage_DllStatus.command_line) - return _s; -} -inline const std::string& CUserMessage_DllStatus::_internal_command_line() const { - return _impl_.command_line_.Get(); -} -inline void CUserMessage_DllStatus::_internal_set_command_line(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.command_line_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessage_DllStatus::_internal_mutable_command_line() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.command_line_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessage_DllStatus::release_command_line() { - // @@protoc_insertion_point(field_release:CUserMessage_DllStatus.command_line) - if (!_internal_has_command_line()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.command_line_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.command_line_.IsDefault()) { - _impl_.command_line_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessage_DllStatus::set_allocated_command_line(std::string* command_line) { - if (command_line != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.command_line_.SetAllocated(command_line, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.command_line_.IsDefault()) { - _impl_.command_line_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessage_DllStatus.command_line) -} - -// optional uint32 total_files = 3; -inline bool CUserMessage_DllStatus::_internal_has_total_files() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessage_DllStatus::has_total_files() const { - return _internal_has_total_files(); -} -inline void CUserMessage_DllStatus::clear_total_files() { - _impl_.total_files_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline uint32_t CUserMessage_DllStatus::_internal_total_files() const { - return _impl_.total_files_; -} -inline uint32_t CUserMessage_DllStatus::total_files() const { - // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.total_files) - return _internal_total_files(); -} -inline void CUserMessage_DllStatus::_internal_set_total_files(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.total_files_ = value; -} -inline void CUserMessage_DllStatus::set_total_files(uint32_t value) { - _internal_set_total_files(value); - // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.total_files) -} - -// optional uint32 process_id = 4; -inline bool CUserMessage_DllStatus::_internal_has_process_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessage_DllStatus::has_process_id() const { - return _internal_has_process_id(); -} -inline void CUserMessage_DllStatus::clear_process_id() { - _impl_.process_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline uint32_t CUserMessage_DllStatus::_internal_process_id() const { - return _impl_.process_id_; -} -inline uint32_t CUserMessage_DllStatus::process_id() const { - // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.process_id) - return _internal_process_id(); -} -inline void CUserMessage_DllStatus::_internal_set_process_id(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.process_id_ = value; -} -inline void CUserMessage_DllStatus::set_process_id(uint32_t value) { - _internal_set_process_id(value); - // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.process_id) -} - -// optional int32 osversion = 5; -inline bool CUserMessage_DllStatus::_internal_has_osversion() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CUserMessage_DllStatus::has_osversion() const { - return _internal_has_osversion(); -} -inline void CUserMessage_DllStatus::clear_osversion() { - _impl_.osversion_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CUserMessage_DllStatus::_internal_osversion() const { - return _impl_.osversion_; -} -inline int32_t CUserMessage_DllStatus::osversion() const { - // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.osversion) - return _internal_osversion(); -} -inline void CUserMessage_DllStatus::_internal_set_osversion(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.osversion_ = value; -} -inline void CUserMessage_DllStatus::set_osversion(int32_t value) { - _internal_set_osversion(value); - // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.osversion) -} - -// optional uint64 client_time = 6; -inline bool CUserMessage_DllStatus::_internal_has_client_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CUserMessage_DllStatus::has_client_time() const { - return _internal_has_client_time(); -} -inline void CUserMessage_DllStatus::clear_client_time() { - _impl_.client_time_ = uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline uint64_t CUserMessage_DllStatus::_internal_client_time() const { - return _impl_.client_time_; -} -inline uint64_t CUserMessage_DllStatus::client_time() const { - // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.client_time) - return _internal_client_time(); -} -inline void CUserMessage_DllStatus::_internal_set_client_time(uint64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.client_time_ = value; -} -inline void CUserMessage_DllStatus::set_client_time(uint64_t value) { - _internal_set_client_time(value); - // @@protoc_insertion_point(field_set:CUserMessage_DllStatus.client_time) -} - -// repeated .CUserMessage_DllStatus.CVDiagnostic diagnostics = 7; -inline int CUserMessage_DllStatus::_internal_diagnostics_size() const { - return _impl_.diagnostics_.size(); -} -inline int CUserMessage_DllStatus::diagnostics_size() const { - return _internal_diagnostics_size(); -} -inline void CUserMessage_DllStatus::clear_diagnostics() { - _impl_.diagnostics_.Clear(); -} -inline ::CUserMessage_DllStatus_CVDiagnostic* CUserMessage_DllStatus::mutable_diagnostics(int index) { - // @@protoc_insertion_point(field_mutable:CUserMessage_DllStatus.diagnostics) - return _impl_.diagnostics_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CVDiagnostic >* -CUserMessage_DllStatus::mutable_diagnostics() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_DllStatus.diagnostics) - return &_impl_.diagnostics_; -} -inline const ::CUserMessage_DllStatus_CVDiagnostic& CUserMessage_DllStatus::_internal_diagnostics(int index) const { - return _impl_.diagnostics_.Get(index); -} -inline const ::CUserMessage_DllStatus_CVDiagnostic& CUserMessage_DllStatus::diagnostics(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.diagnostics) - return _internal_diagnostics(index); -} -inline ::CUserMessage_DllStatus_CVDiagnostic* CUserMessage_DllStatus::_internal_add_diagnostics() { - return _impl_.diagnostics_.Add(); -} -inline ::CUserMessage_DllStatus_CVDiagnostic* CUserMessage_DllStatus::add_diagnostics() { - ::CUserMessage_DllStatus_CVDiagnostic* _add = _internal_add_diagnostics(); - // @@protoc_insertion_point(field_add:CUserMessage_DllStatus.diagnostics) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CVDiagnostic >& -CUserMessage_DllStatus::diagnostics() const { - // @@protoc_insertion_point(field_list:CUserMessage_DllStatus.diagnostics) - return _impl_.diagnostics_; -} - -// repeated .CUserMessage_DllStatus.CModule modules = 8; -inline int CUserMessage_DllStatus::_internal_modules_size() const { - return _impl_.modules_.size(); -} -inline int CUserMessage_DllStatus::modules_size() const { - return _internal_modules_size(); -} -inline void CUserMessage_DllStatus::clear_modules() { - _impl_.modules_.Clear(); -} -inline ::CUserMessage_DllStatus_CModule* CUserMessage_DllStatus::mutable_modules(int index) { - // @@protoc_insertion_point(field_mutable:CUserMessage_DllStatus.modules) - return _impl_.modules_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CModule >* -CUserMessage_DllStatus::mutable_modules() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_DllStatus.modules) - return &_impl_.modules_; -} -inline const ::CUserMessage_DllStatus_CModule& CUserMessage_DllStatus::_internal_modules(int index) const { - return _impl_.modules_.Get(index); -} -inline const ::CUserMessage_DllStatus_CModule& CUserMessage_DllStatus::modules(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_DllStatus.modules) - return _internal_modules(index); -} -inline ::CUserMessage_DllStatus_CModule* CUserMessage_DllStatus::_internal_add_modules() { - return _impl_.modules_.Add(); -} -inline ::CUserMessage_DllStatus_CModule* CUserMessage_DllStatus::add_modules() { - ::CUserMessage_DllStatus_CModule* _add = _internal_add_modules(); - // @@protoc_insertion_point(field_add:CUserMessage_DllStatus.modules) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_DllStatus_CModule >& -CUserMessage_DllStatus::modules() const { - // @@protoc_insertion_point(field_list:CUserMessage_DllStatus.modules) - return _impl_.modules_; -} - -// ------------------------------------------------------------------- - -// CUserMessageRequestInventory - -// optional int32 inventory = 1; -inline bool CUserMessageRequestInventory::_internal_has_inventory() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageRequestInventory::has_inventory() const { - return _internal_has_inventory(); -} -inline void CUserMessageRequestInventory::clear_inventory() { - _impl_.inventory_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CUserMessageRequestInventory::_internal_inventory() const { - return _impl_.inventory_; -} -inline int32_t CUserMessageRequestInventory::inventory() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestInventory.inventory) - return _internal_inventory(); -} -inline void CUserMessageRequestInventory::_internal_set_inventory(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.inventory_ = value; -} -inline void CUserMessageRequestInventory::set_inventory(int32_t value) { - _internal_set_inventory(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestInventory.inventory) -} - -// optional int32 offset = 2; -inline bool CUserMessageRequestInventory::_internal_has_offset() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageRequestInventory::has_offset() const { - return _internal_has_offset(); -} -inline void CUserMessageRequestInventory::clear_offset() { - _impl_.offset_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CUserMessageRequestInventory::_internal_offset() const { - return _impl_.offset_; -} -inline int32_t CUserMessageRequestInventory::offset() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestInventory.offset) - return _internal_offset(); -} -inline void CUserMessageRequestInventory::_internal_set_offset(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.offset_ = value; -} -inline void CUserMessageRequestInventory::set_offset(int32_t value) { - _internal_set_offset(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestInventory.offset) -} - -// optional int32 options = 3; -inline bool CUserMessageRequestInventory::_internal_has_options() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageRequestInventory::has_options() const { - return _internal_has_options(); -} -inline void CUserMessageRequestInventory::clear_options() { - _impl_.options_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CUserMessageRequestInventory::_internal_options() const { - return _impl_.options_; -} -inline int32_t CUserMessageRequestInventory::options() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestInventory.options) - return _internal_options(); -} -inline void CUserMessageRequestInventory::_internal_set_options(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.options_ = value; -} -inline void CUserMessageRequestInventory::set_options(int32_t value) { - _internal_set_options(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestInventory.options) -} - -// ------------------------------------------------------------------- - -// CUserMessage_Inventory_Response_InventoryDetail - -// optional int32 index = 1; -inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response_InventoryDetail::has_index() const { - return _internal_has_index(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::clear_index() { - _impl_.index_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CUserMessage_Inventory_Response_InventoryDetail::_internal_index() const { - return _impl_.index_; -} -inline int32_t CUserMessage_Inventory_Response_InventoryDetail::index() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.index) - return _internal_index(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.index_ = value; -} -inline void CUserMessage_Inventory_Response_InventoryDetail::set_index(int32_t value) { - _internal_set_index(value); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.index) -} - -// optional int64 primary = 2; -inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_primary() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response_InventoryDetail::has_primary() const { - return _internal_has_primary(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::clear_primary() { - _impl_.primary_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int64_t CUserMessage_Inventory_Response_InventoryDetail::_internal_primary() const { - return _impl_.primary_; -} -inline int64_t CUserMessage_Inventory_Response_InventoryDetail::primary() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.primary) - return _internal_primary(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_primary(int64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.primary_ = value; -} -inline void CUserMessage_Inventory_Response_InventoryDetail::set_primary(int64_t value) { - _internal_set_primary(value); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.primary) -} - -// optional int64 offset = 3; -inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_offset() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response_InventoryDetail::has_offset() const { - return _internal_has_offset(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::clear_offset() { - _impl_.offset_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int64_t CUserMessage_Inventory_Response_InventoryDetail::_internal_offset() const { - return _impl_.offset_; -} -inline int64_t CUserMessage_Inventory_Response_InventoryDetail::offset() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.offset) - return _internal_offset(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_offset(int64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.offset_ = value; -} -inline void CUserMessage_Inventory_Response_InventoryDetail::set_offset(int64_t value) { - _internal_set_offset(value); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.offset) -} - -// optional int64 first = 4; -inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_first() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response_InventoryDetail::has_first() const { - return _internal_has_first(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::clear_first() { - _impl_.first_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int64_t CUserMessage_Inventory_Response_InventoryDetail::_internal_first() const { - return _impl_.first_; -} -inline int64_t CUserMessage_Inventory_Response_InventoryDetail::first() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.first) - return _internal_first(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_first(int64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.first_ = value; -} -inline void CUserMessage_Inventory_Response_InventoryDetail::set_first(int64_t value) { - _internal_set_first(value); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.first) -} - -// optional int64 base = 5; -inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_base() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response_InventoryDetail::has_base() const { - return _internal_has_base(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::clear_base() { - _impl_.base_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int64_t CUserMessage_Inventory_Response_InventoryDetail::_internal_base() const { - return _impl_.base_; -} -inline int64_t CUserMessage_Inventory_Response_InventoryDetail::base() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.base) - return _internal_base(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_base(int64_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.base_ = value; -} -inline void CUserMessage_Inventory_Response_InventoryDetail::set_base(int64_t value) { - _internal_set_base(value); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.base) -} - -// optional string name = 6; -inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response_InventoryDetail::has_name() const { - return _internal_has_name(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessage_Inventory_Response_InventoryDetail::name() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessage_Inventory_Response_InventoryDetail::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.name) -} -inline std::string* CUserMessage_Inventory_Response_InventoryDetail::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CUserMessage_Inventory_Response.InventoryDetail.name) - return _s; -} -inline const std::string& CUserMessage_Inventory_Response_InventoryDetail::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessage_Inventory_Response_InventoryDetail::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessage_Inventory_Response_InventoryDetail::release_name() { - // @@protoc_insertion_point(field_release:CUserMessage_Inventory_Response.InventoryDetail.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessage_Inventory_Response_InventoryDetail::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessage_Inventory_Response.InventoryDetail.name) -} - -// optional string base_name = 7; -inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_base_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response_InventoryDetail::has_base_name() const { - return _internal_has_base_name(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::clear_base_name() { - _impl_.base_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CUserMessage_Inventory_Response_InventoryDetail::base_name() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.base_name) - return _internal_base_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessage_Inventory_Response_InventoryDetail::set_base_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.base_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.base_name) -} -inline std::string* CUserMessage_Inventory_Response_InventoryDetail::mutable_base_name() { - std::string* _s = _internal_mutable_base_name(); - // @@protoc_insertion_point(field_mutable:CUserMessage_Inventory_Response.InventoryDetail.base_name) - return _s; -} -inline const std::string& CUserMessage_Inventory_Response_InventoryDetail::_internal_base_name() const { - return _impl_.base_name_.Get(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_base_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.base_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessage_Inventory_Response_InventoryDetail::_internal_mutable_base_name() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.base_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessage_Inventory_Response_InventoryDetail::release_base_name() { - // @@protoc_insertion_point(field_release:CUserMessage_Inventory_Response.InventoryDetail.base_name) - if (!_internal_has_base_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.base_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.base_name_.IsDefault()) { - _impl_.base_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessage_Inventory_Response_InventoryDetail::set_allocated_base_name(std::string* base_name) { - if (base_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.base_name_.SetAllocated(base_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.base_name_.IsDefault()) { - _impl_.base_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessage_Inventory_Response.InventoryDetail.base_name) -} - -// optional int32 base_detail = 8; -inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_base_detail() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response_InventoryDetail::has_base_detail() const { - return _internal_has_base_detail(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::clear_base_detail() { - _impl_.base_detail_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CUserMessage_Inventory_Response_InventoryDetail::_internal_base_detail() const { - return _impl_.base_detail_; -} -inline int32_t CUserMessage_Inventory_Response_InventoryDetail::base_detail() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.base_detail) - return _internal_base_detail(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_base_detail(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.base_detail_ = value; -} -inline void CUserMessage_Inventory_Response_InventoryDetail::set_base_detail(int32_t value) { - _internal_set_base_detail(value); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.base_detail) -} - -// optional int32 base_time = 9; -inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_base_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response_InventoryDetail::has_base_time() const { - return _internal_has_base_time(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::clear_base_time() { - _impl_.base_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t CUserMessage_Inventory_Response_InventoryDetail::_internal_base_time() const { - return _impl_.base_time_; -} -inline int32_t CUserMessage_Inventory_Response_InventoryDetail::base_time() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.base_time) - return _internal_base_time(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_base_time(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.base_time_ = value; -} -inline void CUserMessage_Inventory_Response_InventoryDetail::set_base_time(int32_t value) { - _internal_set_base_time(value); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.base_time) -} - -// optional int32 base_hash = 10; -inline bool CUserMessage_Inventory_Response_InventoryDetail::_internal_has_base_hash() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response_InventoryDetail::has_base_hash() const { - return _internal_has_base_hash(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::clear_base_hash() { - _impl_.base_hash_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline int32_t CUserMessage_Inventory_Response_InventoryDetail::_internal_base_hash() const { - return _impl_.base_hash_; -} -inline int32_t CUserMessage_Inventory_Response_InventoryDetail::base_hash() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.InventoryDetail.base_hash) - return _internal_base_hash(); -} -inline void CUserMessage_Inventory_Response_InventoryDetail::_internal_set_base_hash(int32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.base_hash_ = value; -} -inline void CUserMessage_Inventory_Response_InventoryDetail::set_base_hash(int32_t value) { - _internal_set_base_hash(value); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.InventoryDetail.base_hash) -} - -// ------------------------------------------------------------------- - -// CUserMessage_Inventory_Response - -// optional fixed32 crc = 1; -inline bool CUserMessage_Inventory_Response::_internal_has_crc() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response::has_crc() const { - return _internal_has_crc(); -} -inline void CUserMessage_Inventory_Response::clear_crc() { - _impl_.crc_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline uint32_t CUserMessage_Inventory_Response::_internal_crc() const { - return _impl_.crc_; -} -inline uint32_t CUserMessage_Inventory_Response::crc() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.crc) - return _internal_crc(); -} -inline void CUserMessage_Inventory_Response::_internal_set_crc(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.crc_ = value; -} -inline void CUserMessage_Inventory_Response::set_crc(uint32_t value) { - _internal_set_crc(value); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.crc) -} - -// optional int32 item_count = 2; -inline bool CUserMessage_Inventory_Response::_internal_has_item_count() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response::has_item_count() const { - return _internal_has_item_count(); -} -inline void CUserMessage_Inventory_Response::clear_item_count() { - _impl_.item_count_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CUserMessage_Inventory_Response::_internal_item_count() const { - return _impl_.item_count_; -} -inline int32_t CUserMessage_Inventory_Response::item_count() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.item_count) - return _internal_item_count(); -} -inline void CUserMessage_Inventory_Response::_internal_set_item_count(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.item_count_ = value; -} -inline void CUserMessage_Inventory_Response::set_item_count(int32_t value) { - _internal_set_item_count(value); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.item_count) -} - -// optional int32 osversion = 5; -inline bool CUserMessage_Inventory_Response::_internal_has_osversion() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response::has_osversion() const { - return _internal_has_osversion(); -} -inline void CUserMessage_Inventory_Response::clear_osversion() { - _impl_.osversion_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CUserMessage_Inventory_Response::_internal_osversion() const { - return _impl_.osversion_; -} -inline int32_t CUserMessage_Inventory_Response::osversion() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.osversion) - return _internal_osversion(); -} -inline void CUserMessage_Inventory_Response::_internal_set_osversion(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.osversion_ = value; -} -inline void CUserMessage_Inventory_Response::set_osversion(int32_t value) { - _internal_set_osversion(value); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.osversion) -} - -// optional int32 perf_time = 6; -inline bool CUserMessage_Inventory_Response::_internal_has_perf_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response::has_perf_time() const { - return _internal_has_perf_time(); -} -inline void CUserMessage_Inventory_Response::clear_perf_time() { - _impl_.perf_time_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CUserMessage_Inventory_Response::_internal_perf_time() const { - return _impl_.perf_time_; -} -inline int32_t CUserMessage_Inventory_Response::perf_time() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.perf_time) - return _internal_perf_time(); -} -inline void CUserMessage_Inventory_Response::_internal_set_perf_time(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.perf_time_ = value; -} -inline void CUserMessage_Inventory_Response::set_perf_time(int32_t value) { - _internal_set_perf_time(value); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.perf_time) -} - -// optional int32 client_timestamp = 7; -inline bool CUserMessage_Inventory_Response::_internal_has_client_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response::has_client_timestamp() const { - return _internal_has_client_timestamp(); -} -inline void CUserMessage_Inventory_Response::clear_client_timestamp() { - _impl_.client_timestamp_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CUserMessage_Inventory_Response::_internal_client_timestamp() const { - return _impl_.client_timestamp_; -} -inline int32_t CUserMessage_Inventory_Response::client_timestamp() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.client_timestamp) - return _internal_client_timestamp(); -} -inline void CUserMessage_Inventory_Response::_internal_set_client_timestamp(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.client_timestamp_ = value; -} -inline void CUserMessage_Inventory_Response::set_client_timestamp(int32_t value) { - _internal_set_client_timestamp(value); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.client_timestamp) -} - -// optional int32 platform = 8; -inline bool CUserMessage_Inventory_Response::_internal_has_platform() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response::has_platform() const { - return _internal_has_platform(); -} -inline void CUserMessage_Inventory_Response::clear_platform() { - _impl_.platform_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CUserMessage_Inventory_Response::_internal_platform() const { - return _impl_.platform_; -} -inline int32_t CUserMessage_Inventory_Response::platform() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.platform) - return _internal_platform(); -} -inline void CUserMessage_Inventory_Response::_internal_set_platform(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.platform_ = value; -} -inline void CUserMessage_Inventory_Response::set_platform(int32_t value) { - _internal_set_platform(value); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.platform) -} - -// repeated .CUserMessage_Inventory_Response.InventoryDetail inventories = 9; -inline int CUserMessage_Inventory_Response::_internal_inventories_size() const { - return _impl_.inventories_.size(); -} -inline int CUserMessage_Inventory_Response::inventories_size() const { - return _internal_inventories_size(); -} -inline void CUserMessage_Inventory_Response::clear_inventories() { - _impl_.inventories_.Clear(); -} -inline ::CUserMessage_Inventory_Response_InventoryDetail* CUserMessage_Inventory_Response::mutable_inventories(int index) { - // @@protoc_insertion_point(field_mutable:CUserMessage_Inventory_Response.inventories) - return _impl_.inventories_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >* -CUserMessage_Inventory_Response::mutable_inventories() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_Inventory_Response.inventories) - return &_impl_.inventories_; -} -inline const ::CUserMessage_Inventory_Response_InventoryDetail& CUserMessage_Inventory_Response::_internal_inventories(int index) const { - return _impl_.inventories_.Get(index); -} -inline const ::CUserMessage_Inventory_Response_InventoryDetail& CUserMessage_Inventory_Response::inventories(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.inventories) - return _internal_inventories(index); -} -inline ::CUserMessage_Inventory_Response_InventoryDetail* CUserMessage_Inventory_Response::_internal_add_inventories() { - return _impl_.inventories_.Add(); -} -inline ::CUserMessage_Inventory_Response_InventoryDetail* CUserMessage_Inventory_Response::add_inventories() { - ::CUserMessage_Inventory_Response_InventoryDetail* _add = _internal_add_inventories(); - // @@protoc_insertion_point(field_add:CUserMessage_Inventory_Response.inventories) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >& -CUserMessage_Inventory_Response::inventories() const { - // @@protoc_insertion_point(field_list:CUserMessage_Inventory_Response.inventories) - return _impl_.inventories_; -} - -// repeated .CUserMessage_Inventory_Response.InventoryDetail inventories2 = 10; -inline int CUserMessage_Inventory_Response::_internal_inventories2_size() const { - return _impl_.inventories2_.size(); -} -inline int CUserMessage_Inventory_Response::inventories2_size() const { - return _internal_inventories2_size(); -} -inline void CUserMessage_Inventory_Response::clear_inventories2() { - _impl_.inventories2_.Clear(); -} -inline ::CUserMessage_Inventory_Response_InventoryDetail* CUserMessage_Inventory_Response::mutable_inventories2(int index) { - // @@protoc_insertion_point(field_mutable:CUserMessage_Inventory_Response.inventories2) - return _impl_.inventories2_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >* -CUserMessage_Inventory_Response::mutable_inventories2() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_Inventory_Response.inventories2) - return &_impl_.inventories2_; -} -inline const ::CUserMessage_Inventory_Response_InventoryDetail& CUserMessage_Inventory_Response::_internal_inventories2(int index) const { - return _impl_.inventories2_.Get(index); -} -inline const ::CUserMessage_Inventory_Response_InventoryDetail& CUserMessage_Inventory_Response::inventories2(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.inventories2) - return _internal_inventories2(index); -} -inline ::CUserMessage_Inventory_Response_InventoryDetail* CUserMessage_Inventory_Response::_internal_add_inventories2() { - return _impl_.inventories2_.Add(); -} -inline ::CUserMessage_Inventory_Response_InventoryDetail* CUserMessage_Inventory_Response::add_inventories2() { - ::CUserMessage_Inventory_Response_InventoryDetail* _add = _internal_add_inventories2(); - // @@protoc_insertion_point(field_add:CUserMessage_Inventory_Response.inventories2) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >& -CUserMessage_Inventory_Response::inventories2() const { - // @@protoc_insertion_point(field_list:CUserMessage_Inventory_Response.inventories2) - return _impl_.inventories2_; -} - -// repeated .CUserMessage_Inventory_Response.InventoryDetail inventories3 = 14; -inline int CUserMessage_Inventory_Response::_internal_inventories3_size() const { - return _impl_.inventories3_.size(); -} -inline int CUserMessage_Inventory_Response::inventories3_size() const { - return _internal_inventories3_size(); -} -inline void CUserMessage_Inventory_Response::clear_inventories3() { - _impl_.inventories3_.Clear(); -} -inline ::CUserMessage_Inventory_Response_InventoryDetail* CUserMessage_Inventory_Response::mutable_inventories3(int index) { - // @@protoc_insertion_point(field_mutable:CUserMessage_Inventory_Response.inventories3) - return _impl_.inventories3_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >* -CUserMessage_Inventory_Response::mutable_inventories3() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_Inventory_Response.inventories3) - return &_impl_.inventories3_; -} -inline const ::CUserMessage_Inventory_Response_InventoryDetail& CUserMessage_Inventory_Response::_internal_inventories3(int index) const { - return _impl_.inventories3_.Get(index); -} -inline const ::CUserMessage_Inventory_Response_InventoryDetail& CUserMessage_Inventory_Response::inventories3(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.inventories3) - return _internal_inventories3(index); -} -inline ::CUserMessage_Inventory_Response_InventoryDetail* CUserMessage_Inventory_Response::_internal_add_inventories3() { - return _impl_.inventories3_.Add(); -} -inline ::CUserMessage_Inventory_Response_InventoryDetail* CUserMessage_Inventory_Response::add_inventories3() { - ::CUserMessage_Inventory_Response_InventoryDetail* _add = _internal_add_inventories3(); - // @@protoc_insertion_point(field_add:CUserMessage_Inventory_Response.inventories3) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Inventory_Response_InventoryDetail >& -CUserMessage_Inventory_Response::inventories3() const { - // @@protoc_insertion_point(field_list:CUserMessage_Inventory_Response.inventories3) - return _impl_.inventories3_; -} - -// optional int32 inv_type = 11; -inline bool CUserMessage_Inventory_Response::_internal_has_inv_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response::has_inv_type() const { - return _internal_has_inv_type(); -} -inline void CUserMessage_Inventory_Response::clear_inv_type() { - _impl_.inv_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CUserMessage_Inventory_Response::_internal_inv_type() const { - return _impl_.inv_type_; -} -inline int32_t CUserMessage_Inventory_Response::inv_type() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.inv_type) - return _internal_inv_type(); -} -inline void CUserMessage_Inventory_Response::_internal_set_inv_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.inv_type_ = value; -} -inline void CUserMessage_Inventory_Response::set_inv_type(int32_t value) { - _internal_set_inv_type(value); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.inv_type) -} - -// optional int32 build_version = 12; -inline bool CUserMessage_Inventory_Response::_internal_has_build_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response::has_build_version() const { - return _internal_has_build_version(); -} -inline void CUserMessage_Inventory_Response::clear_build_version() { - _impl_.build_version_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t CUserMessage_Inventory_Response::_internal_build_version() const { - return _impl_.build_version_; -} -inline int32_t CUserMessage_Inventory_Response::build_version() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.build_version) - return _internal_build_version(); -} -inline void CUserMessage_Inventory_Response::_internal_set_build_version(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.build_version_ = value; -} -inline void CUserMessage_Inventory_Response::set_build_version(int32_t value) { - _internal_set_build_version(value); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.build_version) -} - -// optional int32 instance = 13; -inline bool CUserMessage_Inventory_Response::_internal_has_instance() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response::has_instance() const { - return _internal_has_instance(); -} -inline void CUserMessage_Inventory_Response::clear_instance() { - _impl_.instance_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline int32_t CUserMessage_Inventory_Response::_internal_instance() const { - return _impl_.instance_; -} -inline int32_t CUserMessage_Inventory_Response::instance() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.instance) - return _internal_instance(); -} -inline void CUserMessage_Inventory_Response::_internal_set_instance(int32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.instance_ = value; -} -inline void CUserMessage_Inventory_Response::set_instance(int32_t value) { - _internal_set_instance(value); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.instance) -} - -// optional int64 start_time = 15; -inline bool CUserMessage_Inventory_Response::_internal_has_start_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CUserMessage_Inventory_Response::has_start_time() const { - return _internal_has_start_time(); -} -inline void CUserMessage_Inventory_Response::clear_start_time() { - _impl_.start_time_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int64_t CUserMessage_Inventory_Response::_internal_start_time() const { - return _impl_.start_time_; -} -inline int64_t CUserMessage_Inventory_Response::start_time() const { - // @@protoc_insertion_point(field_get:CUserMessage_Inventory_Response.start_time) - return _internal_start_time(); -} -inline void CUserMessage_Inventory_Response::_internal_set_start_time(int64_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.start_time_ = value; -} -inline void CUserMessage_Inventory_Response::set_start_time(int64_t value) { - _internal_set_start_time(value); - // @@protoc_insertion_point(field_set:CUserMessage_Inventory_Response.start_time) -} - -// ------------------------------------------------------------------- - -// CUserMessageRequestDiagnostic_Diagnostic - -// optional int32 index = 1; -inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CUserMessageRequestDiagnostic_Diagnostic::has_index() const { - return _internal_has_index(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::clear_index() { - _impl_.index_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CUserMessageRequestDiagnostic_Diagnostic::_internal_index() const { - return _impl_.index_; -} -inline int32_t CUserMessageRequestDiagnostic_Diagnostic::index() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.index) - return _internal_index(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.index_ = value; -} -inline void CUserMessageRequestDiagnostic_Diagnostic::set_index(int32_t value) { - _internal_set_index(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.index) -} - -// optional int64 offset = 2; -inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_offset() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessageRequestDiagnostic_Diagnostic::has_offset() const { - return _internal_has_offset(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::clear_offset() { - _impl_.offset_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int64_t CUserMessageRequestDiagnostic_Diagnostic::_internal_offset() const { - return _impl_.offset_; -} -inline int64_t CUserMessageRequestDiagnostic_Diagnostic::offset() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.offset) - return _internal_offset(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_offset(int64_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.offset_ = value; -} -inline void CUserMessageRequestDiagnostic_Diagnostic::set_offset(int64_t value) { - _internal_set_offset(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.offset) -} - -// optional int32 param = 3; -inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_param() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CUserMessageRequestDiagnostic_Diagnostic::has_param() const { - return _internal_has_param(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::clear_param() { - _impl_.param_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CUserMessageRequestDiagnostic_Diagnostic::_internal_param() const { - return _impl_.param_; -} -inline int32_t CUserMessageRequestDiagnostic_Diagnostic::param() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.param) - return _internal_param(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_param(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.param_ = value; -} -inline void CUserMessageRequestDiagnostic_Diagnostic::set_param(int32_t value) { - _internal_set_param(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.param) -} - -// optional int32 length = 4; -inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_length() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CUserMessageRequestDiagnostic_Diagnostic::has_length() const { - return _internal_has_length(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::clear_length() { - _impl_.length_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CUserMessageRequestDiagnostic_Diagnostic::_internal_length() const { - return _impl_.length_; -} -inline int32_t CUserMessageRequestDiagnostic_Diagnostic::length() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.length) - return _internal_length(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_length(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.length_ = value; -} -inline void CUserMessageRequestDiagnostic_Diagnostic::set_length(int32_t value) { - _internal_set_length(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.length) -} - -// optional int32 type = 5; -inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CUserMessageRequestDiagnostic_Diagnostic::has_type() const { - return _internal_has_type(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::clear_type() { - _impl_.type_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int32_t CUserMessageRequestDiagnostic_Diagnostic::_internal_type() const { - return _impl_.type_; -} -inline int32_t CUserMessageRequestDiagnostic_Diagnostic::type() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.type) - return _internal_type(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.type_ = value; -} -inline void CUserMessageRequestDiagnostic_Diagnostic::set_type(int32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.type) -} - -// optional int64 base = 6; -inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_base() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CUserMessageRequestDiagnostic_Diagnostic::has_base() const { - return _internal_has_base(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::clear_base() { - _impl_.base_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int64_t CUserMessageRequestDiagnostic_Diagnostic::_internal_base() const { - return _impl_.base_; -} -inline int64_t CUserMessageRequestDiagnostic_Diagnostic::base() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.base) - return _internal_base(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_base(int64_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.base_ = value; -} -inline void CUserMessageRequestDiagnostic_Diagnostic::set_base(int64_t value) { - _internal_set_base(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.base) -} - -// optional int64 range = 7; -inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_range() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CUserMessageRequestDiagnostic_Diagnostic::has_range() const { - return _internal_has_range(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::clear_range() { - _impl_.range_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline int64_t CUserMessageRequestDiagnostic_Diagnostic::_internal_range() const { - return _impl_.range_; -} -inline int64_t CUserMessageRequestDiagnostic_Diagnostic::range() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.range) - return _internal_range(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_range(int64_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.range_ = value; -} -inline void CUserMessageRequestDiagnostic_Diagnostic::set_range(int64_t value) { - _internal_set_range(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.range) -} - -// optional int64 extent = 8; -inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_extent() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CUserMessageRequestDiagnostic_Diagnostic::has_extent() const { - return _internal_has_extent(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::clear_extent() { - _impl_.extent_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline int64_t CUserMessageRequestDiagnostic_Diagnostic::_internal_extent() const { - return _impl_.extent_; -} -inline int64_t CUserMessageRequestDiagnostic_Diagnostic::extent() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.extent) - return _internal_extent(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_extent(int64_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.extent_ = value; -} -inline void CUserMessageRequestDiagnostic_Diagnostic::set_extent(int64_t value) { - _internal_set_extent(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.extent) -} - -// optional int64 detail = 9; -inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_detail() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CUserMessageRequestDiagnostic_Diagnostic::has_detail() const { - return _internal_has_detail(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::clear_detail() { - _impl_.detail_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline int64_t CUserMessageRequestDiagnostic_Diagnostic::_internal_detail() const { - return _impl_.detail_; -} -inline int64_t CUserMessageRequestDiagnostic_Diagnostic::detail() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.detail) - return _internal_detail(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_detail(int64_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.detail_ = value; -} -inline void CUserMessageRequestDiagnostic_Diagnostic::set_detail(int64_t value) { - _internal_set_detail(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.detail) -} - -// optional string name = 10; -inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessageRequestDiagnostic_Diagnostic::has_name() const { - return _internal_has_name(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessageRequestDiagnostic_Diagnostic::name() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageRequestDiagnostic_Diagnostic::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.name) -} -inline std::string* CUserMessageRequestDiagnostic_Diagnostic::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CUserMessageRequestDiagnostic.Diagnostic.name) - return _s; -} -inline const std::string& CUserMessageRequestDiagnostic_Diagnostic::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageRequestDiagnostic_Diagnostic::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageRequestDiagnostic_Diagnostic::release_name() { - // @@protoc_insertion_point(field_release:CUserMessageRequestDiagnostic.Diagnostic.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageRequestDiagnostic_Diagnostic::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageRequestDiagnostic.Diagnostic.name) -} - -// optional string alias = 11; -inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_alias() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessageRequestDiagnostic_Diagnostic::has_alias() const { - return _internal_has_alias(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::clear_alias() { - _impl_.alias_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CUserMessageRequestDiagnostic_Diagnostic::alias() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.alias) - return _internal_alias(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageRequestDiagnostic_Diagnostic::set_alias(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.alias_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.alias) -} -inline std::string* CUserMessageRequestDiagnostic_Diagnostic::mutable_alias() { - std::string* _s = _internal_mutable_alias(); - // @@protoc_insertion_point(field_mutable:CUserMessageRequestDiagnostic.Diagnostic.alias) - return _s; -} -inline const std::string& CUserMessageRequestDiagnostic_Diagnostic::_internal_alias() const { - return _impl_.alias_.Get(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_alias(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.alias_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageRequestDiagnostic_Diagnostic::_internal_mutable_alias() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.alias_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageRequestDiagnostic_Diagnostic::release_alias() { - // @@protoc_insertion_point(field_release:CUserMessageRequestDiagnostic.Diagnostic.alias) - if (!_internal_has_alias()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.alias_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.alias_.IsDefault()) { - _impl_.alias_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageRequestDiagnostic_Diagnostic::set_allocated_alias(std::string* alias) { - if (alias != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.alias_.SetAllocated(alias, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.alias_.IsDefault()) { - _impl_.alias_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageRequestDiagnostic.Diagnostic.alias) -} - -// optional bytes vardetail = 12; -inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_vardetail() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessageRequestDiagnostic_Diagnostic::has_vardetail() const { - return _internal_has_vardetail(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::clear_vardetail() { - _impl_.vardetail_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CUserMessageRequestDiagnostic_Diagnostic::vardetail() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.vardetail) - return _internal_vardetail(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessageRequestDiagnostic_Diagnostic::set_vardetail(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.vardetail_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.vardetail) -} -inline std::string* CUserMessageRequestDiagnostic_Diagnostic::mutable_vardetail() { - std::string* _s = _internal_mutable_vardetail(); - // @@protoc_insertion_point(field_mutable:CUserMessageRequestDiagnostic.Diagnostic.vardetail) - return _s; -} -inline const std::string& CUserMessageRequestDiagnostic_Diagnostic::_internal_vardetail() const { - return _impl_.vardetail_.Get(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_vardetail(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.vardetail_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessageRequestDiagnostic_Diagnostic::_internal_mutable_vardetail() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.vardetail_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessageRequestDiagnostic_Diagnostic::release_vardetail() { - // @@protoc_insertion_point(field_release:CUserMessageRequestDiagnostic.Diagnostic.vardetail) - if (!_internal_has_vardetail()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.vardetail_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.vardetail_.IsDefault()) { - _impl_.vardetail_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessageRequestDiagnostic_Diagnostic::set_allocated_vardetail(std::string* vardetail) { - if (vardetail != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.vardetail_.SetAllocated(vardetail, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.vardetail_.IsDefault()) { - _impl_.vardetail_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessageRequestDiagnostic.Diagnostic.vardetail) -} - -// optional int32 context = 13; -inline bool CUserMessageRequestDiagnostic_Diagnostic::_internal_has_context() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CUserMessageRequestDiagnostic_Diagnostic::has_context() const { - return _internal_has_context(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::clear_context() { - _impl_.context_ = 0; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline int32_t CUserMessageRequestDiagnostic_Diagnostic::_internal_context() const { - return _impl_.context_; -} -inline int32_t CUserMessageRequestDiagnostic_Diagnostic::context() const { - // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.Diagnostic.context) - return _internal_context(); -} -inline void CUserMessageRequestDiagnostic_Diagnostic::_internal_set_context(int32_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.context_ = value; -} -inline void CUserMessageRequestDiagnostic_Diagnostic::set_context(int32_t value) { - _internal_set_context(value); - // @@protoc_insertion_point(field_set:CUserMessageRequestDiagnostic.Diagnostic.context) -} - -// ------------------------------------------------------------------- - -// CUserMessageRequestDiagnostic - -// repeated .CUserMessageRequestDiagnostic.Diagnostic diagnostics = 1; -inline int CUserMessageRequestDiagnostic::_internal_diagnostics_size() const { - return _impl_.diagnostics_.size(); -} -inline int CUserMessageRequestDiagnostic::diagnostics_size() const { - return _internal_diagnostics_size(); -} -inline void CUserMessageRequestDiagnostic::clear_diagnostics() { - _impl_.diagnostics_.Clear(); -} -inline ::CUserMessageRequestDiagnostic_Diagnostic* CUserMessageRequestDiagnostic::mutable_diagnostics(int index) { - // @@protoc_insertion_point(field_mutable:CUserMessageRequestDiagnostic.diagnostics) - return _impl_.diagnostics_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessageRequestDiagnostic_Diagnostic >* -CUserMessageRequestDiagnostic::mutable_diagnostics() { - // @@protoc_insertion_point(field_mutable_list:CUserMessageRequestDiagnostic.diagnostics) - return &_impl_.diagnostics_; -} -inline const ::CUserMessageRequestDiagnostic_Diagnostic& CUserMessageRequestDiagnostic::_internal_diagnostics(int index) const { - return _impl_.diagnostics_.Get(index); -} -inline const ::CUserMessageRequestDiagnostic_Diagnostic& CUserMessageRequestDiagnostic::diagnostics(int index) const { - // @@protoc_insertion_point(field_get:CUserMessageRequestDiagnostic.diagnostics) - return _internal_diagnostics(index); -} -inline ::CUserMessageRequestDiagnostic_Diagnostic* CUserMessageRequestDiagnostic::_internal_add_diagnostics() { - return _impl_.diagnostics_.Add(); -} -inline ::CUserMessageRequestDiagnostic_Diagnostic* CUserMessageRequestDiagnostic::add_diagnostics() { - ::CUserMessageRequestDiagnostic_Diagnostic* _add = _internal_add_diagnostics(); - // @@protoc_insertion_point(field_add:CUserMessageRequestDiagnostic.diagnostics) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessageRequestDiagnostic_Diagnostic >& -CUserMessageRequestDiagnostic::diagnostics() const { - // @@protoc_insertion_point(field_list:CUserMessageRequestDiagnostic.diagnostics) - return _impl_.diagnostics_; -} - -// ------------------------------------------------------------------- - -// CUserMessage_Diagnostic_Response_Diagnostic - -// optional int32 index = 1; -inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_index() const { - return _internal_has_index(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_index() { - _impl_.index_ = 0; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_index() const { - return _impl_.index_; -} -inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::index() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.index) - return _internal_index(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000020u; - _impl_.index_ = value; -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::set_index(int32_t value) { - _internal_set_index(value); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.index) -} - -// optional int64 offset = 2; -inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_offset() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_offset() const { - return _internal_has_offset(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_offset() { - _impl_.offset_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_offset() const { - return _impl_.offset_; -} -inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::offset() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.offset) - return _internal_offset(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_offset(int64_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.offset_ = value; -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::set_offset(int64_t value) { - _internal_set_offset(value); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.offset) -} - -// optional int32 param = 3; -inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_param() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_param() const { - return _internal_has_param(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_param() { - _impl_.param_ = 0; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_param() const { - return _impl_.param_; -} -inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::param() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.param) - return _internal_param(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_param(int32_t value) { - _impl_._has_bits_[0] |= 0x00000040u; - _impl_.param_ = value; -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::set_param(int32_t value) { - _internal_set_param(value); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.param) -} - -// optional int32 length = 4; -inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_length() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_length() const { - return _internal_has_length(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_length() { - _impl_.length_ = 0; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_length() const { - return _impl_.length_; -} -inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::length() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.length) - return _internal_length(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_length(int32_t value) { - _impl_._has_bits_[0] |= 0x00000100u; - _impl_.length_ = value; -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::set_length(int32_t value) { - _internal_set_length(value); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.length) -} - -// optional bytes detail = 5; -inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_detail() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_detail() const { - return _internal_has_detail(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_detail() { - _impl_.detail_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessage_Diagnostic_Response_Diagnostic::detail() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.detail) - return _internal_detail(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessage_Diagnostic_Response_Diagnostic::set_detail(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.detail_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.detail) -} -inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::mutable_detail() { - std::string* _s = _internal_mutable_detail(); - // @@protoc_insertion_point(field_mutable:CUserMessage_Diagnostic_Response.Diagnostic.detail) - return _s; -} -inline const std::string& CUserMessage_Diagnostic_Response_Diagnostic::_internal_detail() const { - return _impl_.detail_.Get(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_detail(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.detail_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::_internal_mutable_detail() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.detail_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::release_detail() { - // @@protoc_insertion_point(field_release:CUserMessage_Diagnostic_Response.Diagnostic.detail) - if (!_internal_has_detail()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.detail_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.detail_.IsDefault()) { - _impl_.detail_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::set_allocated_detail(std::string* detail) { - if (detail != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.detail_.SetAllocated(detail, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.detail_.IsDefault()) { - _impl_.detail_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessage_Diagnostic_Response.Diagnostic.detail) -} - -// optional int64 base = 6; -inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_base() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_base() const { - return _internal_has_base(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_base() { - _impl_.base_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_base() const { - return _impl_.base_; -} -inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::base() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.base) - return _internal_base(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_base(int64_t value) { - _impl_._has_bits_[0] |= 0x00000080u; - _impl_.base_ = value; -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::set_base(int64_t value) { - _internal_set_base(value); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.base) -} - -// optional int64 range = 7; -inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_range() const { - bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_range() const { - return _internal_has_range(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_range() { - _impl_.range_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000400u; -} -inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_range() const { - return _impl_.range_; -} -inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::range() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.range) - return _internal_range(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_range(int64_t value) { - _impl_._has_bits_[0] |= 0x00000400u; - _impl_.range_ = value; -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::set_range(int64_t value) { - _internal_set_range(value); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.range) -} - -// optional int32 type = 8; -inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_type() const { - return _internal_has_type(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_type() { - _impl_.type_ = 0; - _impl_._has_bits_[0] &= ~0x00000200u; -} -inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_type() const { - return _impl_.type_; -} -inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::type() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.type) - return _internal_type(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_type(int32_t value) { - _impl_._has_bits_[0] |= 0x00000200u; - _impl_.type_ = value; -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::set_type(int32_t value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.type) -} - -// optional string name = 10; -inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_name() const { - return _internal_has_name(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_name() { - _impl_.name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CUserMessage_Diagnostic_Response_Diagnostic::name() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessage_Diagnostic_Response_Diagnostic::set_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.name) -} -inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::mutable_name() { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:CUserMessage_Diagnostic_Response.Diagnostic.name) - return _s; -} -inline const std::string& CUserMessage_Diagnostic_Response_Diagnostic::_internal_name() const { - return _impl_.name_.Get(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::_internal_mutable_name() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::release_name() { - // @@protoc_insertion_point(field_release:CUserMessage_Diagnostic_Response.Diagnostic.name) - if (!_internal_has_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::set_allocated_name(std::string* name) { - if (name != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.name_.SetAllocated(name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessage_Diagnostic_Response.Diagnostic.name) -} - -// optional string alias = 11; -inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_alias() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_alias() const { - return _internal_has_alias(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_alias() { - _impl_.alias_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CUserMessage_Diagnostic_Response_Diagnostic::alias() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.alias) - return _internal_alias(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessage_Diagnostic_Response_Diagnostic::set_alias(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.alias_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.alias) -} -inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::mutable_alias() { - std::string* _s = _internal_mutable_alias(); - // @@protoc_insertion_point(field_mutable:CUserMessage_Diagnostic_Response.Diagnostic.alias) - return _s; -} -inline const std::string& CUserMessage_Diagnostic_Response_Diagnostic::_internal_alias() const { - return _impl_.alias_.Get(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_alias(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.alias_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::_internal_mutable_alias() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.alias_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::release_alias() { - // @@protoc_insertion_point(field_release:CUserMessage_Diagnostic_Response.Diagnostic.alias) - if (!_internal_has_alias()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.alias_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.alias_.IsDefault()) { - _impl_.alias_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::set_allocated_alias(std::string* alias) { - if (alias != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.alias_.SetAllocated(alias, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.alias_.IsDefault()) { - _impl_.alias_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessage_Diagnostic_Response.Diagnostic.alias) -} - -// optional bytes backup = 12; -inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_backup() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_backup() const { - return _internal_has_backup(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_backup() { - _impl_.backup_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const std::string& CUserMessage_Diagnostic_Response_Diagnostic::backup() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.backup) - return _internal_backup(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessage_Diagnostic_Response_Diagnostic::set_backup(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.backup_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.backup) -} -inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::mutable_backup() { - std::string* _s = _internal_mutable_backup(); - // @@protoc_insertion_point(field_mutable:CUserMessage_Diagnostic_Response.Diagnostic.backup) - return _s; -} -inline const std::string& CUserMessage_Diagnostic_Response_Diagnostic::_internal_backup() const { - return _impl_.backup_.Get(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_backup(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.backup_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::_internal_mutable_backup() { - _impl_._has_bits_[0] |= 0x00000008u; - return _impl_.backup_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessage_Diagnostic_Response_Diagnostic::release_backup() { - // @@protoc_insertion_point(field_release:CUserMessage_Diagnostic_Response.Diagnostic.backup) - if (!_internal_has_backup()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000008u; - auto* p = _impl_.backup_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.backup_.IsDefault()) { - _impl_.backup_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::set_allocated_backup(std::string* backup) { - if (backup != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - _impl_.backup_.SetAllocated(backup, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.backup_.IsDefault()) { - _impl_.backup_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessage_Diagnostic_Response.Diagnostic.backup) -} - -// optional int32 context = 13; -inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_context() const { - bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_context() const { - return _internal_has_context(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_context() { - _impl_.context_ = 0; - _impl_._has_bits_[0] &= ~0x00004000u; -} -inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_context() const { - return _impl_.context_; -} -inline int32_t CUserMessage_Diagnostic_Response_Diagnostic::context() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.context) - return _internal_context(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_context(int32_t value) { - _impl_._has_bits_[0] |= 0x00004000u; - _impl_.context_ = value; -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::set_context(int32_t value) { - _internal_set_context(value); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.context) -} - -// optional int64 control = 14; -inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_control() const { - bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_control() const { - return _internal_has_control(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_control() { - _impl_.control_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000800u; -} -inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_control() const { - return _impl_.control_; -} -inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::control() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.control) - return _internal_control(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_control(int64_t value) { - _impl_._has_bits_[0] |= 0x00000800u; - _impl_.control_ = value; -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::set_control(int64_t value) { - _internal_set_control(value); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.control) -} - -// optional int64 augment = 15; -inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_augment() const { - bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_augment() const { - return _internal_has_augment(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_augment() { - _impl_.augment_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00001000u; -} -inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_augment() const { - return _impl_.augment_; -} -inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::augment() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.augment) - return _internal_augment(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_augment(int64_t value) { - _impl_._has_bits_[0] |= 0x00001000u; - _impl_.augment_ = value; -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::set_augment(int64_t value) { - _internal_set_augment(value); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.augment) -} - -// optional int64 placebo = 16; -inline bool CUserMessage_Diagnostic_Response_Diagnostic::_internal_has_placebo() const { - bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response_Diagnostic::has_placebo() const { - return _internal_has_placebo(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::clear_placebo() { - _impl_.placebo_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00002000u; -} -inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::_internal_placebo() const { - return _impl_.placebo_; -} -inline int64_t CUserMessage_Diagnostic_Response_Diagnostic::placebo() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.Diagnostic.placebo) - return _internal_placebo(); -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::_internal_set_placebo(int64_t value) { - _impl_._has_bits_[0] |= 0x00002000u; - _impl_.placebo_ = value; -} -inline void CUserMessage_Diagnostic_Response_Diagnostic::set_placebo(int64_t value) { - _internal_set_placebo(value); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.Diagnostic.placebo) -} - -// ------------------------------------------------------------------- - -// CUserMessage_Diagnostic_Response - -// repeated .CUserMessage_Diagnostic_Response.Diagnostic diagnostics = 1; -inline int CUserMessage_Diagnostic_Response::_internal_diagnostics_size() const { - return _impl_.diagnostics_.size(); -} -inline int CUserMessage_Diagnostic_Response::diagnostics_size() const { - return _internal_diagnostics_size(); -} -inline void CUserMessage_Diagnostic_Response::clear_diagnostics() { - _impl_.diagnostics_.Clear(); -} -inline ::CUserMessage_Diagnostic_Response_Diagnostic* CUserMessage_Diagnostic_Response::mutable_diagnostics(int index) { - // @@protoc_insertion_point(field_mutable:CUserMessage_Diagnostic_Response.diagnostics) - return _impl_.diagnostics_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Diagnostic_Response_Diagnostic >* -CUserMessage_Diagnostic_Response::mutable_diagnostics() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_Diagnostic_Response.diagnostics) - return &_impl_.diagnostics_; -} -inline const ::CUserMessage_Diagnostic_Response_Diagnostic& CUserMessage_Diagnostic_Response::_internal_diagnostics(int index) const { - return _impl_.diagnostics_.Get(index); -} -inline const ::CUserMessage_Diagnostic_Response_Diagnostic& CUserMessage_Diagnostic_Response::diagnostics(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.diagnostics) - return _internal_diagnostics(index); -} -inline ::CUserMessage_Diagnostic_Response_Diagnostic* CUserMessage_Diagnostic_Response::_internal_add_diagnostics() { - return _impl_.diagnostics_.Add(); -} -inline ::CUserMessage_Diagnostic_Response_Diagnostic* CUserMessage_Diagnostic_Response::add_diagnostics() { - ::CUserMessage_Diagnostic_Response_Diagnostic* _add = _internal_add_diagnostics(); - // @@protoc_insertion_point(field_add:CUserMessage_Diagnostic_Response.diagnostics) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_Diagnostic_Response_Diagnostic >& -CUserMessage_Diagnostic_Response::diagnostics() const { - // @@protoc_insertion_point(field_list:CUserMessage_Diagnostic_Response.diagnostics) - return _impl_.diagnostics_; -} - -// optional int32 build_version = 2; -inline bool CUserMessage_Diagnostic_Response::_internal_has_build_version() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response::has_build_version() const { - return _internal_has_build_version(); -} -inline void CUserMessage_Diagnostic_Response::clear_build_version() { - _impl_.build_version_ = 0; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int32_t CUserMessage_Diagnostic_Response::_internal_build_version() const { - return _impl_.build_version_; -} -inline int32_t CUserMessage_Diagnostic_Response::build_version() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.build_version) - return _internal_build_version(); -} -inline void CUserMessage_Diagnostic_Response::_internal_set_build_version(int32_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.build_version_ = value; -} -inline void CUserMessage_Diagnostic_Response::set_build_version(int32_t value) { - _internal_set_build_version(value); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.build_version) -} - -// optional int32 instance = 3; -inline bool CUserMessage_Diagnostic_Response::_internal_has_instance() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response::has_instance() const { - return _internal_has_instance(); -} -inline void CUserMessage_Diagnostic_Response::clear_instance() { - _impl_.instance_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int32_t CUserMessage_Diagnostic_Response::_internal_instance() const { - return _impl_.instance_; -} -inline int32_t CUserMessage_Diagnostic_Response::instance() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.instance) - return _internal_instance(); -} -inline void CUserMessage_Diagnostic_Response::_internal_set_instance(int32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.instance_ = value; -} -inline void CUserMessage_Diagnostic_Response::set_instance(int32_t value) { - _internal_set_instance(value); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.instance) -} - -// optional int64 start_time = 4; -inline bool CUserMessage_Diagnostic_Response::_internal_has_start_time() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response::has_start_time() const { - return _internal_has_start_time(); -} -inline void CUserMessage_Diagnostic_Response::clear_start_time() { - _impl_.start_time_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int64_t CUserMessage_Diagnostic_Response::_internal_start_time() const { - return _impl_.start_time_; -} -inline int64_t CUserMessage_Diagnostic_Response::start_time() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.start_time) - return _internal_start_time(); -} -inline void CUserMessage_Diagnostic_Response::_internal_set_start_time(int64_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.start_time_ = value; -} -inline void CUserMessage_Diagnostic_Response::set_start_time(int64_t value) { - _internal_set_start_time(value); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.start_time) -} - -// optional int32 osversion = 5; -inline bool CUserMessage_Diagnostic_Response::_internal_has_osversion() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response::has_osversion() const { - return _internal_has_osversion(); -} -inline void CUserMessage_Diagnostic_Response::clear_osversion() { - _impl_.osversion_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CUserMessage_Diagnostic_Response::_internal_osversion() const { - return _impl_.osversion_; -} -inline int32_t CUserMessage_Diagnostic_Response::osversion() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.osversion) - return _internal_osversion(); -} -inline void CUserMessage_Diagnostic_Response::_internal_set_osversion(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.osversion_ = value; -} -inline void CUserMessage_Diagnostic_Response::set_osversion(int32_t value) { - _internal_set_osversion(value); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.osversion) -} - -// optional int32 platform = 6; -inline bool CUserMessage_Diagnostic_Response::_internal_has_platform() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CUserMessage_Diagnostic_Response::has_platform() const { - return _internal_has_platform(); -} -inline void CUserMessage_Diagnostic_Response::clear_platform() { - _impl_.platform_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CUserMessage_Diagnostic_Response::_internal_platform() const { - return _impl_.platform_; -} -inline int32_t CUserMessage_Diagnostic_Response::platform() const { - // @@protoc_insertion_point(field_get:CUserMessage_Diagnostic_Response.platform) - return _internal_platform(); -} -inline void CUserMessage_Diagnostic_Response::_internal_set_platform(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.platform_ = value; -} -inline void CUserMessage_Diagnostic_Response::set_platform(int32_t value) { - _internal_set_platform(value); - // @@protoc_insertion_point(field_set:CUserMessage_Diagnostic_Response.platform) -} - -// ------------------------------------------------------------------- - -// CUserMessage_ExtraUserData - -// optional int32 item = 1; -inline bool CUserMessage_ExtraUserData::_internal_has_item() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessage_ExtraUserData::has_item() const { - return _internal_has_item(); -} -inline void CUserMessage_ExtraUserData::clear_item() { - _impl_.item_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline int32_t CUserMessage_ExtraUserData::_internal_item() const { - return _impl_.item_; -} -inline int32_t CUserMessage_ExtraUserData::item() const { - // @@protoc_insertion_point(field_get:CUserMessage_ExtraUserData.item) - return _internal_item(); -} -inline void CUserMessage_ExtraUserData::_internal_set_item(int32_t value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.item_ = value; -} -inline void CUserMessage_ExtraUserData::set_item(int32_t value) { - _internal_set_item(value); - // @@protoc_insertion_point(field_set:CUserMessage_ExtraUserData.item) -} - -// optional int64 value1 = 2; -inline bool CUserMessage_ExtraUserData::_internal_has_value1() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessage_ExtraUserData::has_value1() const { - return _internal_has_value1(); -} -inline void CUserMessage_ExtraUserData::clear_value1() { - _impl_.value1_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline int64_t CUserMessage_ExtraUserData::_internal_value1() const { - return _impl_.value1_; -} -inline int64_t CUserMessage_ExtraUserData::value1() const { - // @@protoc_insertion_point(field_get:CUserMessage_ExtraUserData.value1) - return _internal_value1(); -} -inline void CUserMessage_ExtraUserData::_internal_set_value1(int64_t value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.value1_ = value; -} -inline void CUserMessage_ExtraUserData::set_value1(int64_t value) { - _internal_set_value1(value); - // @@protoc_insertion_point(field_set:CUserMessage_ExtraUserData.value1) -} - -// optional int64 value2 = 3; -inline bool CUserMessage_ExtraUserData::_internal_has_value2() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessage_ExtraUserData::has_value2() const { - return _internal_has_value2(); -} -inline void CUserMessage_ExtraUserData::clear_value2() { - _impl_.value2_ = int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline int64_t CUserMessage_ExtraUserData::_internal_value2() const { - return _impl_.value2_; -} -inline int64_t CUserMessage_ExtraUserData::value2() const { - // @@protoc_insertion_point(field_get:CUserMessage_ExtraUserData.value2) - return _internal_value2(); -} -inline void CUserMessage_ExtraUserData::_internal_set_value2(int64_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.value2_ = value; -} -inline void CUserMessage_ExtraUserData::set_value2(int64_t value) { - _internal_set_value2(value); - // @@protoc_insertion_point(field_set:CUserMessage_ExtraUserData.value2) -} - -// repeated bytes detail1 = 4; -inline int CUserMessage_ExtraUserData::_internal_detail1_size() const { - return _impl_.detail1_.size(); -} -inline int CUserMessage_ExtraUserData::detail1_size() const { - return _internal_detail1_size(); -} -inline void CUserMessage_ExtraUserData::clear_detail1() { - _impl_.detail1_.Clear(); -} -inline std::string* CUserMessage_ExtraUserData::add_detail1() { - std::string* _s = _internal_add_detail1(); - // @@protoc_insertion_point(field_add_mutable:CUserMessage_ExtraUserData.detail1) - return _s; -} -inline const std::string& CUserMessage_ExtraUserData::_internal_detail1(int index) const { - return _impl_.detail1_.Get(index); -} -inline const std::string& CUserMessage_ExtraUserData::detail1(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_ExtraUserData.detail1) - return _internal_detail1(index); -} -inline std::string* CUserMessage_ExtraUserData::mutable_detail1(int index) { - // @@protoc_insertion_point(field_mutable:CUserMessage_ExtraUserData.detail1) - return _impl_.detail1_.Mutable(index); -} -inline void CUserMessage_ExtraUserData::set_detail1(int index, const std::string& value) { - _impl_.detail1_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CUserMessage_ExtraUserData.detail1) -} -inline void CUserMessage_ExtraUserData::set_detail1(int index, std::string&& value) { - _impl_.detail1_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CUserMessage_ExtraUserData.detail1) -} -inline void CUserMessage_ExtraUserData::set_detail1(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.detail1_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CUserMessage_ExtraUserData.detail1) -} -inline void CUserMessage_ExtraUserData::set_detail1(int index, const void* value, size_t size) { - _impl_.detail1_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CUserMessage_ExtraUserData.detail1) -} -inline std::string* CUserMessage_ExtraUserData::_internal_add_detail1() { - return _impl_.detail1_.Add(); -} -inline void CUserMessage_ExtraUserData::add_detail1(const std::string& value) { - _impl_.detail1_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CUserMessage_ExtraUserData.detail1) -} -inline void CUserMessage_ExtraUserData::add_detail1(std::string&& value) { - _impl_.detail1_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CUserMessage_ExtraUserData.detail1) -} -inline void CUserMessage_ExtraUserData::add_detail1(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.detail1_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CUserMessage_ExtraUserData.detail1) -} -inline void CUserMessage_ExtraUserData::add_detail1(const void* value, size_t size) { - _impl_.detail1_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CUserMessage_ExtraUserData.detail1) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CUserMessage_ExtraUserData::detail1() const { - // @@protoc_insertion_point(field_list:CUserMessage_ExtraUserData.detail1) - return _impl_.detail1_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CUserMessage_ExtraUserData::mutable_detail1() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_ExtraUserData.detail1) - return &_impl_.detail1_; -} - -// repeated bytes detail2 = 5; -inline int CUserMessage_ExtraUserData::_internal_detail2_size() const { - return _impl_.detail2_.size(); -} -inline int CUserMessage_ExtraUserData::detail2_size() const { - return _internal_detail2_size(); -} -inline void CUserMessage_ExtraUserData::clear_detail2() { - _impl_.detail2_.Clear(); -} -inline std::string* CUserMessage_ExtraUserData::add_detail2() { - std::string* _s = _internal_add_detail2(); - // @@protoc_insertion_point(field_add_mutable:CUserMessage_ExtraUserData.detail2) - return _s; -} -inline const std::string& CUserMessage_ExtraUserData::_internal_detail2(int index) const { - return _impl_.detail2_.Get(index); -} -inline const std::string& CUserMessage_ExtraUserData::detail2(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_ExtraUserData.detail2) - return _internal_detail2(index); -} -inline std::string* CUserMessage_ExtraUserData::mutable_detail2(int index) { - // @@protoc_insertion_point(field_mutable:CUserMessage_ExtraUserData.detail2) - return _impl_.detail2_.Mutable(index); -} -inline void CUserMessage_ExtraUserData::set_detail2(int index, const std::string& value) { - _impl_.detail2_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set:CUserMessage_ExtraUserData.detail2) -} -inline void CUserMessage_ExtraUserData::set_detail2(int index, std::string&& value) { - _impl_.detail2_.Mutable(index)->assign(std::move(value)); - // @@protoc_insertion_point(field_set:CUserMessage_ExtraUserData.detail2) -} -inline void CUserMessage_ExtraUserData::set_detail2(int index, const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.detail2_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:CUserMessage_ExtraUserData.detail2) -} -inline void CUserMessage_ExtraUserData::set_detail2(int index, const void* value, size_t size) { - _impl_.detail2_.Mutable(index)->assign( - reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CUserMessage_ExtraUserData.detail2) -} -inline std::string* CUserMessage_ExtraUserData::_internal_add_detail2() { - return _impl_.detail2_.Add(); -} -inline void CUserMessage_ExtraUserData::add_detail2(const std::string& value) { - _impl_.detail2_.Add()->assign(value); - // @@protoc_insertion_point(field_add:CUserMessage_ExtraUserData.detail2) -} -inline void CUserMessage_ExtraUserData::add_detail2(std::string&& value) { - _impl_.detail2_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:CUserMessage_ExtraUserData.detail2) -} -inline void CUserMessage_ExtraUserData::add_detail2(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _impl_.detail2_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:CUserMessage_ExtraUserData.detail2) -} -inline void CUserMessage_ExtraUserData::add_detail2(const void* value, size_t size) { - _impl_.detail2_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:CUserMessage_ExtraUserData.detail2) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& -CUserMessage_ExtraUserData::detail2() const { - // @@protoc_insertion_point(field_list:CUserMessage_ExtraUserData.detail2) - return _impl_.detail2_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* -CUserMessage_ExtraUserData::mutable_detail2() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_ExtraUserData.detail2) - return &_impl_.detail2_; -} - -// ------------------------------------------------------------------- - -// CUserMessage_NotifyResponseFound_Criteria - -// optional uint32 name_symbol = 1; -inline bool CUserMessage_NotifyResponseFound_Criteria::_internal_has_name_symbol() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessage_NotifyResponseFound_Criteria::has_name_symbol() const { - return _internal_has_name_symbol(); -} -inline void CUserMessage_NotifyResponseFound_Criteria::clear_name_symbol() { - _impl_.name_symbol_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline uint32_t CUserMessage_NotifyResponseFound_Criteria::_internal_name_symbol() const { - return _impl_.name_symbol_; -} -inline uint32_t CUserMessage_NotifyResponseFound_Criteria::name_symbol() const { - // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.Criteria.name_symbol) - return _internal_name_symbol(); -} -inline void CUserMessage_NotifyResponseFound_Criteria::_internal_set_name_symbol(uint32_t value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.name_symbol_ = value; -} -inline void CUserMessage_NotifyResponseFound_Criteria::set_name_symbol(uint32_t value) { - _internal_set_name_symbol(value); - // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.Criteria.name_symbol) -} - -// optional string value = 2; -inline bool CUserMessage_NotifyResponseFound_Criteria::_internal_has_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessage_NotifyResponseFound_Criteria::has_value() const { - return _internal_has_value(); -} -inline void CUserMessage_NotifyResponseFound_Criteria::clear_value() { - _impl_.value_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessage_NotifyResponseFound_Criteria::value() const { - // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.Criteria.value) - return _internal_value(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessage_NotifyResponseFound_Criteria::set_value(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.Criteria.value) -} -inline std::string* CUserMessage_NotifyResponseFound_Criteria::mutable_value() { - std::string* _s = _internal_mutable_value(); - // @@protoc_insertion_point(field_mutable:CUserMessage_NotifyResponseFound.Criteria.value) - return _s; -} -inline const std::string& CUserMessage_NotifyResponseFound_Criteria::_internal_value() const { - return _impl_.value_.Get(); -} -inline void CUserMessage_NotifyResponseFound_Criteria::_internal_set_value(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.value_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessage_NotifyResponseFound_Criteria::_internal_mutable_value() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.value_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessage_NotifyResponseFound_Criteria::release_value() { - // @@protoc_insertion_point(field_release:CUserMessage_NotifyResponseFound.Criteria.value) - if (!_internal_has_value()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.value_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_.IsDefault()) { - _impl_.value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessage_NotifyResponseFound_Criteria::set_allocated_value(std::string* value) { - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.value_.SetAllocated(value, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.value_.IsDefault()) { - _impl_.value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessage_NotifyResponseFound.Criteria.value) -} - -// ------------------------------------------------------------------- - -// CUserMessage_NotifyResponseFound - -// optional int32 ent_index = 1 [default = -1]; -inline bool CUserMessage_NotifyResponseFound::_internal_has_ent_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CUserMessage_NotifyResponseFound::has_ent_index() const { - return _internal_has_ent_index(); -} -inline void CUserMessage_NotifyResponseFound::clear_ent_index() { - _impl_.ent_index_ = -1; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CUserMessage_NotifyResponseFound::_internal_ent_index() const { - return _impl_.ent_index_; -} -inline int32_t CUserMessage_NotifyResponseFound::ent_index() const { - // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.ent_index) - return _internal_ent_index(); -} -inline void CUserMessage_NotifyResponseFound::_internal_set_ent_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.ent_index_ = value; -} -inline void CUserMessage_NotifyResponseFound::set_ent_index(int32_t value) { - _internal_set_ent_index(value); - // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.ent_index) -} - -// optional string rule_name = 2; -inline bool CUserMessage_NotifyResponseFound::_internal_has_rule_name() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessage_NotifyResponseFound::has_rule_name() const { - return _internal_has_rule_name(); -} -inline void CUserMessage_NotifyResponseFound::clear_rule_name() { - _impl_.rule_name_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessage_NotifyResponseFound::rule_name() const { - // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.rule_name) - return _internal_rule_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessage_NotifyResponseFound::set_rule_name(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.rule_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.rule_name) -} -inline std::string* CUserMessage_NotifyResponseFound::mutable_rule_name() { - std::string* _s = _internal_mutable_rule_name(); - // @@protoc_insertion_point(field_mutable:CUserMessage_NotifyResponseFound.rule_name) - return _s; -} -inline const std::string& CUserMessage_NotifyResponseFound::_internal_rule_name() const { - return _impl_.rule_name_.Get(); -} -inline void CUserMessage_NotifyResponseFound::_internal_set_rule_name(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.rule_name_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessage_NotifyResponseFound::_internal_mutable_rule_name() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.rule_name_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessage_NotifyResponseFound::release_rule_name() { - // @@protoc_insertion_point(field_release:CUserMessage_NotifyResponseFound.rule_name) - if (!_internal_has_rule_name()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.rule_name_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.rule_name_.IsDefault()) { - _impl_.rule_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessage_NotifyResponseFound::set_allocated_rule_name(std::string* rule_name) { - if (rule_name != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.rule_name_.SetAllocated(rule_name, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.rule_name_.IsDefault()) { - _impl_.rule_name_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessage_NotifyResponseFound.rule_name) -} - -// optional string response_value = 3; -inline bool CUserMessage_NotifyResponseFound::_internal_has_response_value() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline bool CUserMessage_NotifyResponseFound::has_response_value() const { - return _internal_has_response_value(); -} -inline void CUserMessage_NotifyResponseFound::clear_response_value() { - _impl_.response_value_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& CUserMessage_NotifyResponseFound::response_value() const { - // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.response_value) - return _internal_response_value(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessage_NotifyResponseFound::set_response_value(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.response_value_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.response_value) -} -inline std::string* CUserMessage_NotifyResponseFound::mutable_response_value() { - std::string* _s = _internal_mutable_response_value(); - // @@protoc_insertion_point(field_mutable:CUserMessage_NotifyResponseFound.response_value) - return _s; -} -inline const std::string& CUserMessage_NotifyResponseFound::_internal_response_value() const { - return _impl_.response_value_.Get(); -} -inline void CUserMessage_NotifyResponseFound::_internal_set_response_value(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.response_value_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessage_NotifyResponseFound::_internal_mutable_response_value() { - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.response_value_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessage_NotifyResponseFound::release_response_value() { - // @@protoc_insertion_point(field_release:CUserMessage_NotifyResponseFound.response_value) - if (!_internal_has_response_value()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* p = _impl_.response_value_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.response_value_.IsDefault()) { - _impl_.response_value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessage_NotifyResponseFound::set_allocated_response_value(std::string* response_value) { - if (response_value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.response_value_.SetAllocated(response_value, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.response_value_.IsDefault()) { - _impl_.response_value_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessage_NotifyResponseFound.response_value) -} - -// optional string response_concept = 4; -inline bool CUserMessage_NotifyResponseFound::_internal_has_response_concept() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessage_NotifyResponseFound::has_response_concept() const { - return _internal_has_response_concept(); -} -inline void CUserMessage_NotifyResponseFound::clear_response_concept() { - _impl_.response_concept_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& CUserMessage_NotifyResponseFound::response_concept() const { - // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.response_concept) - return _internal_response_concept(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessage_NotifyResponseFound::set_response_concept(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.response_concept_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.response_concept) -} -inline std::string* CUserMessage_NotifyResponseFound::mutable_response_concept() { - std::string* _s = _internal_mutable_response_concept(); - // @@protoc_insertion_point(field_mutable:CUserMessage_NotifyResponseFound.response_concept) - return _s; -} -inline const std::string& CUserMessage_NotifyResponseFound::_internal_response_concept() const { - return _impl_.response_concept_.Get(); -} -inline void CUserMessage_NotifyResponseFound::_internal_set_response_concept(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.response_concept_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessage_NotifyResponseFound::_internal_mutable_response_concept() { - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.response_concept_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessage_NotifyResponseFound::release_response_concept() { - // @@protoc_insertion_point(field_release:CUserMessage_NotifyResponseFound.response_concept) - if (!_internal_has_response_concept()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* p = _impl_.response_concept_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.response_concept_.IsDefault()) { - _impl_.response_concept_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessage_NotifyResponseFound::set_allocated_response_concept(std::string* response_concept) { - if (response_concept != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.response_concept_.SetAllocated(response_concept, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.response_concept_.IsDefault()) { - _impl_.response_concept_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessage_NotifyResponseFound.response_concept) -} - -// repeated .CUserMessage_NotifyResponseFound.Criteria criteria = 5; -inline int CUserMessage_NotifyResponseFound::_internal_criteria_size() const { - return _impl_.criteria_.size(); -} -inline int CUserMessage_NotifyResponseFound::criteria_size() const { - return _internal_criteria_size(); -} -inline void CUserMessage_NotifyResponseFound::clear_criteria() { - _impl_.criteria_.Clear(); -} -inline ::CUserMessage_NotifyResponseFound_Criteria* CUserMessage_NotifyResponseFound::mutable_criteria(int index) { - // @@protoc_insertion_point(field_mutable:CUserMessage_NotifyResponseFound.criteria) - return _impl_.criteria_.Mutable(index); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_NotifyResponseFound_Criteria >* -CUserMessage_NotifyResponseFound::mutable_criteria() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_NotifyResponseFound.criteria) - return &_impl_.criteria_; -} -inline const ::CUserMessage_NotifyResponseFound_Criteria& CUserMessage_NotifyResponseFound::_internal_criteria(int index) const { - return _impl_.criteria_.Get(index); -} -inline const ::CUserMessage_NotifyResponseFound_Criteria& CUserMessage_NotifyResponseFound::criteria(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.criteria) - return _internal_criteria(index); -} -inline ::CUserMessage_NotifyResponseFound_Criteria* CUserMessage_NotifyResponseFound::_internal_add_criteria() { - return _impl_.criteria_.Add(); -} -inline ::CUserMessage_NotifyResponseFound_Criteria* CUserMessage_NotifyResponseFound::add_criteria() { - ::CUserMessage_NotifyResponseFound_Criteria* _add = _internal_add_criteria(); - // @@protoc_insertion_point(field_add:CUserMessage_NotifyResponseFound.criteria) - return _add; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::CUserMessage_NotifyResponseFound_Criteria >& -CUserMessage_NotifyResponseFound::criteria() const { - // @@protoc_insertion_point(field_list:CUserMessage_NotifyResponseFound.criteria) - return _impl_.criteria_; -} - -// repeated uint32 int_criteria_names = 6 [packed = true]; -inline int CUserMessage_NotifyResponseFound::_internal_int_criteria_names_size() const { - return _impl_.int_criteria_names_.size(); -} -inline int CUserMessage_NotifyResponseFound::int_criteria_names_size() const { - return _internal_int_criteria_names_size(); -} -inline void CUserMessage_NotifyResponseFound::clear_int_criteria_names() { - _impl_.int_criteria_names_.Clear(); -} -inline uint32_t CUserMessage_NotifyResponseFound::_internal_int_criteria_names(int index) const { - return _impl_.int_criteria_names_.Get(index); -} -inline uint32_t CUserMessage_NotifyResponseFound::int_criteria_names(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.int_criteria_names) - return _internal_int_criteria_names(index); -} -inline void CUserMessage_NotifyResponseFound::set_int_criteria_names(int index, uint32_t value) { - _impl_.int_criteria_names_.Set(index, value); - // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.int_criteria_names) -} -inline void CUserMessage_NotifyResponseFound::_internal_add_int_criteria_names(uint32_t value) { - _impl_.int_criteria_names_.Add(value); -} -inline void CUserMessage_NotifyResponseFound::add_int_criteria_names(uint32_t value) { - _internal_add_int_criteria_names(value); - // @@protoc_insertion_point(field_add:CUserMessage_NotifyResponseFound.int_criteria_names) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CUserMessage_NotifyResponseFound::_internal_int_criteria_names() const { - return _impl_.int_criteria_names_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CUserMessage_NotifyResponseFound::int_criteria_names() const { - // @@protoc_insertion_point(field_list:CUserMessage_NotifyResponseFound.int_criteria_names) - return _internal_int_criteria_names(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CUserMessage_NotifyResponseFound::_internal_mutable_int_criteria_names() { - return &_impl_.int_criteria_names_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CUserMessage_NotifyResponseFound::mutable_int_criteria_names() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_NotifyResponseFound.int_criteria_names) - return _internal_mutable_int_criteria_names(); -} - -// repeated int32 int_criteria_values = 7 [packed = true]; -inline int CUserMessage_NotifyResponseFound::_internal_int_criteria_values_size() const { - return _impl_.int_criteria_values_.size(); -} -inline int CUserMessage_NotifyResponseFound::int_criteria_values_size() const { - return _internal_int_criteria_values_size(); -} -inline void CUserMessage_NotifyResponseFound::clear_int_criteria_values() { - _impl_.int_criteria_values_.Clear(); -} -inline int32_t CUserMessage_NotifyResponseFound::_internal_int_criteria_values(int index) const { - return _impl_.int_criteria_values_.Get(index); -} -inline int32_t CUserMessage_NotifyResponseFound::int_criteria_values(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.int_criteria_values) - return _internal_int_criteria_values(index); -} -inline void CUserMessage_NotifyResponseFound::set_int_criteria_values(int index, int32_t value) { - _impl_.int_criteria_values_.Set(index, value); - // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.int_criteria_values) -} -inline void CUserMessage_NotifyResponseFound::_internal_add_int_criteria_values(int32_t value) { - _impl_.int_criteria_values_.Add(value); -} -inline void CUserMessage_NotifyResponseFound::add_int_criteria_values(int32_t value) { - _internal_add_int_criteria_values(value); - // @@protoc_insertion_point(field_add:CUserMessage_NotifyResponseFound.int_criteria_values) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CUserMessage_NotifyResponseFound::_internal_int_criteria_values() const { - return _impl_.int_criteria_values_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CUserMessage_NotifyResponseFound::int_criteria_values() const { - // @@protoc_insertion_point(field_list:CUserMessage_NotifyResponseFound.int_criteria_values) - return _internal_int_criteria_values(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CUserMessage_NotifyResponseFound::_internal_mutable_int_criteria_values() { - return &_impl_.int_criteria_values_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CUserMessage_NotifyResponseFound::mutable_int_criteria_values() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_NotifyResponseFound.int_criteria_values) - return _internal_mutable_int_criteria_values(); -} - -// repeated uint32 float_criteria_names = 8 [packed = true]; -inline int CUserMessage_NotifyResponseFound::_internal_float_criteria_names_size() const { - return _impl_.float_criteria_names_.size(); -} -inline int CUserMessage_NotifyResponseFound::float_criteria_names_size() const { - return _internal_float_criteria_names_size(); -} -inline void CUserMessage_NotifyResponseFound::clear_float_criteria_names() { - _impl_.float_criteria_names_.Clear(); -} -inline uint32_t CUserMessage_NotifyResponseFound::_internal_float_criteria_names(int index) const { - return _impl_.float_criteria_names_.Get(index); -} -inline uint32_t CUserMessage_NotifyResponseFound::float_criteria_names(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.float_criteria_names) - return _internal_float_criteria_names(index); -} -inline void CUserMessage_NotifyResponseFound::set_float_criteria_names(int index, uint32_t value) { - _impl_.float_criteria_names_.Set(index, value); - // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.float_criteria_names) -} -inline void CUserMessage_NotifyResponseFound::_internal_add_float_criteria_names(uint32_t value) { - _impl_.float_criteria_names_.Add(value); -} -inline void CUserMessage_NotifyResponseFound::add_float_criteria_names(uint32_t value) { - _internal_add_float_criteria_names(value); - // @@protoc_insertion_point(field_add:CUserMessage_NotifyResponseFound.float_criteria_names) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CUserMessage_NotifyResponseFound::_internal_float_criteria_names() const { - return _impl_.float_criteria_names_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CUserMessage_NotifyResponseFound::float_criteria_names() const { - // @@protoc_insertion_point(field_list:CUserMessage_NotifyResponseFound.float_criteria_names) - return _internal_float_criteria_names(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CUserMessage_NotifyResponseFound::_internal_mutable_float_criteria_names() { - return &_impl_.float_criteria_names_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CUserMessage_NotifyResponseFound::mutable_float_criteria_names() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_NotifyResponseFound.float_criteria_names) - return _internal_mutable_float_criteria_names(); -} - -// repeated float float_criteria_values = 9; -inline int CUserMessage_NotifyResponseFound::_internal_float_criteria_values_size() const { - return _impl_.float_criteria_values_.size(); -} -inline int CUserMessage_NotifyResponseFound::float_criteria_values_size() const { - return _internal_float_criteria_values_size(); -} -inline void CUserMessage_NotifyResponseFound::clear_float_criteria_values() { - _impl_.float_criteria_values_.Clear(); -} -inline float CUserMessage_NotifyResponseFound::_internal_float_criteria_values(int index) const { - return _impl_.float_criteria_values_.Get(index); -} -inline float CUserMessage_NotifyResponseFound::float_criteria_values(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.float_criteria_values) - return _internal_float_criteria_values(index); -} -inline void CUserMessage_NotifyResponseFound::set_float_criteria_values(int index, float value) { - _impl_.float_criteria_values_.Set(index, value); - // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.float_criteria_values) -} -inline void CUserMessage_NotifyResponseFound::_internal_add_float_criteria_values(float value) { - _impl_.float_criteria_values_.Add(value); -} -inline void CUserMessage_NotifyResponseFound::add_float_criteria_values(float value) { - _internal_add_float_criteria_values(value); - // @@protoc_insertion_point(field_add:CUserMessage_NotifyResponseFound.float_criteria_values) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& -CUserMessage_NotifyResponseFound::_internal_float_criteria_values() const { - return _impl_.float_criteria_values_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >& -CUserMessage_NotifyResponseFound::float_criteria_values() const { - // @@protoc_insertion_point(field_list:CUserMessage_NotifyResponseFound.float_criteria_values) - return _internal_float_criteria_values(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* -CUserMessage_NotifyResponseFound::_internal_mutable_float_criteria_values() { - return &_impl_.float_criteria_values_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >* -CUserMessage_NotifyResponseFound::mutable_float_criteria_values() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_NotifyResponseFound.float_criteria_values) - return _internal_mutable_float_criteria_values(); -} - -// repeated uint32 symbol_criteria_names = 10 [packed = true]; -inline int CUserMessage_NotifyResponseFound::_internal_symbol_criteria_names_size() const { - return _impl_.symbol_criteria_names_.size(); -} -inline int CUserMessage_NotifyResponseFound::symbol_criteria_names_size() const { - return _internal_symbol_criteria_names_size(); -} -inline void CUserMessage_NotifyResponseFound::clear_symbol_criteria_names() { - _impl_.symbol_criteria_names_.Clear(); -} -inline uint32_t CUserMessage_NotifyResponseFound::_internal_symbol_criteria_names(int index) const { - return _impl_.symbol_criteria_names_.Get(index); -} -inline uint32_t CUserMessage_NotifyResponseFound::symbol_criteria_names(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.symbol_criteria_names) - return _internal_symbol_criteria_names(index); -} -inline void CUserMessage_NotifyResponseFound::set_symbol_criteria_names(int index, uint32_t value) { - _impl_.symbol_criteria_names_.Set(index, value); - // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.symbol_criteria_names) -} -inline void CUserMessage_NotifyResponseFound::_internal_add_symbol_criteria_names(uint32_t value) { - _impl_.symbol_criteria_names_.Add(value); -} -inline void CUserMessage_NotifyResponseFound::add_symbol_criteria_names(uint32_t value) { - _internal_add_symbol_criteria_names(value); - // @@protoc_insertion_point(field_add:CUserMessage_NotifyResponseFound.symbol_criteria_names) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CUserMessage_NotifyResponseFound::_internal_symbol_criteria_names() const { - return _impl_.symbol_criteria_names_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CUserMessage_NotifyResponseFound::symbol_criteria_names() const { - // @@protoc_insertion_point(field_list:CUserMessage_NotifyResponseFound.symbol_criteria_names) - return _internal_symbol_criteria_names(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CUserMessage_NotifyResponseFound::_internal_mutable_symbol_criteria_names() { - return &_impl_.symbol_criteria_names_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CUserMessage_NotifyResponseFound::mutable_symbol_criteria_names() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_NotifyResponseFound.symbol_criteria_names) - return _internal_mutable_symbol_criteria_names(); -} - -// repeated uint32 symbol_criteria_values = 11 [packed = true]; -inline int CUserMessage_NotifyResponseFound::_internal_symbol_criteria_values_size() const { - return _impl_.symbol_criteria_values_.size(); -} -inline int CUserMessage_NotifyResponseFound::symbol_criteria_values_size() const { - return _internal_symbol_criteria_values_size(); -} -inline void CUserMessage_NotifyResponseFound::clear_symbol_criteria_values() { - _impl_.symbol_criteria_values_.Clear(); -} -inline uint32_t CUserMessage_NotifyResponseFound::_internal_symbol_criteria_values(int index) const { - return _impl_.symbol_criteria_values_.Get(index); -} -inline uint32_t CUserMessage_NotifyResponseFound::symbol_criteria_values(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.symbol_criteria_values) - return _internal_symbol_criteria_values(index); -} -inline void CUserMessage_NotifyResponseFound::set_symbol_criteria_values(int index, uint32_t value) { - _impl_.symbol_criteria_values_.Set(index, value); - // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.symbol_criteria_values) -} -inline void CUserMessage_NotifyResponseFound::_internal_add_symbol_criteria_values(uint32_t value) { - _impl_.symbol_criteria_values_.Add(value); -} -inline void CUserMessage_NotifyResponseFound::add_symbol_criteria_values(uint32_t value) { - _internal_add_symbol_criteria_values(value); - // @@protoc_insertion_point(field_add:CUserMessage_NotifyResponseFound.symbol_criteria_values) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CUserMessage_NotifyResponseFound::_internal_symbol_criteria_values() const { - return _impl_.symbol_criteria_values_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& -CUserMessage_NotifyResponseFound::symbol_criteria_values() const { - // @@protoc_insertion_point(field_list:CUserMessage_NotifyResponseFound.symbol_criteria_values) - return _internal_symbol_criteria_values(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CUserMessage_NotifyResponseFound::_internal_mutable_symbol_criteria_values() { - return &_impl_.symbol_criteria_values_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* -CUserMessage_NotifyResponseFound::mutable_symbol_criteria_values() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_NotifyResponseFound.symbol_criteria_values) - return _internal_mutable_symbol_criteria_values(); -} - -// optional int32 speak_result = 12; -inline bool CUserMessage_NotifyResponseFound::_internal_has_speak_result() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessage_NotifyResponseFound::has_speak_result() const { - return _internal_has_speak_result(); -} -inline void CUserMessage_NotifyResponseFound::clear_speak_result() { - _impl_.speak_result_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CUserMessage_NotifyResponseFound::_internal_speak_result() const { - return _impl_.speak_result_; -} -inline int32_t CUserMessage_NotifyResponseFound::speak_result() const { - // @@protoc_insertion_point(field_get:CUserMessage_NotifyResponseFound.speak_result) - return _internal_speak_result(); -} -inline void CUserMessage_NotifyResponseFound::_internal_set_speak_result(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.speak_result_ = value; -} -inline void CUserMessage_NotifyResponseFound::set_speak_result(int32_t value) { - _internal_set_speak_result(value); - // @@protoc_insertion_point(field_set:CUserMessage_NotifyResponseFound.speak_result) -} - -// ------------------------------------------------------------------- - -// CUserMessage_PlayResponseConditional - -// optional int32 ent_index = 1 [default = -1]; -inline bool CUserMessage_PlayResponseConditional::_internal_has_ent_index() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline bool CUserMessage_PlayResponseConditional::has_ent_index() const { - return _internal_has_ent_index(); -} -inline void CUserMessage_PlayResponseConditional::clear_ent_index() { - _impl_.ent_index_ = -1; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline int32_t CUserMessage_PlayResponseConditional::_internal_ent_index() const { - return _impl_.ent_index_; -} -inline int32_t CUserMessage_PlayResponseConditional::ent_index() const { - // @@protoc_insertion_point(field_get:CUserMessage_PlayResponseConditional.ent_index) - return _internal_ent_index(); -} -inline void CUserMessage_PlayResponseConditional::_internal_set_ent_index(int32_t value) { - _impl_._has_bits_[0] |= 0x00000010u; - _impl_.ent_index_ = value; -} -inline void CUserMessage_PlayResponseConditional::set_ent_index(int32_t value) { - _internal_set_ent_index(value); - // @@protoc_insertion_point(field_set:CUserMessage_PlayResponseConditional.ent_index) -} - -// repeated int32 player_slots = 2; -inline int CUserMessage_PlayResponseConditional::_internal_player_slots_size() const { - return _impl_.player_slots_.size(); -} -inline int CUserMessage_PlayResponseConditional::player_slots_size() const { - return _internal_player_slots_size(); -} -inline void CUserMessage_PlayResponseConditional::clear_player_slots() { - _impl_.player_slots_.Clear(); -} -inline int32_t CUserMessage_PlayResponseConditional::_internal_player_slots(int index) const { - return _impl_.player_slots_.Get(index); -} -inline int32_t CUserMessage_PlayResponseConditional::player_slots(int index) const { - // @@protoc_insertion_point(field_get:CUserMessage_PlayResponseConditional.player_slots) - return _internal_player_slots(index); -} -inline void CUserMessage_PlayResponseConditional::set_player_slots(int index, int32_t value) { - _impl_.player_slots_.Set(index, value); - // @@protoc_insertion_point(field_set:CUserMessage_PlayResponseConditional.player_slots) -} -inline void CUserMessage_PlayResponseConditional::_internal_add_player_slots(int32_t value) { - _impl_.player_slots_.Add(value); -} -inline void CUserMessage_PlayResponseConditional::add_player_slots(int32_t value) { - _internal_add_player_slots(value); - // @@protoc_insertion_point(field_add:CUserMessage_PlayResponseConditional.player_slots) -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CUserMessage_PlayResponseConditional::_internal_player_slots() const { - return _impl_.player_slots_; -} -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& -CUserMessage_PlayResponseConditional::player_slots() const { - // @@protoc_insertion_point(field_list:CUserMessage_PlayResponseConditional.player_slots) - return _internal_player_slots(); -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CUserMessage_PlayResponseConditional::_internal_mutable_player_slots() { - return &_impl_.player_slots_; -} -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* -CUserMessage_PlayResponseConditional::mutable_player_slots() { - // @@protoc_insertion_point(field_mutable_list:CUserMessage_PlayResponseConditional.player_slots) - return _internal_mutable_player_slots(); -} - -// optional string response = 3; -inline bool CUserMessage_PlayResponseConditional::_internal_has_response() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline bool CUserMessage_PlayResponseConditional::has_response() const { - return _internal_has_response(); -} -inline void CUserMessage_PlayResponseConditional::clear_response() { - _impl_.response_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CUserMessage_PlayResponseConditional::response() const { - // @@protoc_insertion_point(field_get:CUserMessage_PlayResponseConditional.response) - return _internal_response(); -} -template -inline PROTOBUF_ALWAYS_INLINE -void CUserMessage_PlayResponseConditional::set_response(ArgT0&& arg0, ArgT... args) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.response_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:CUserMessage_PlayResponseConditional.response) -} -inline std::string* CUserMessage_PlayResponseConditional::mutable_response() { - std::string* _s = _internal_mutable_response(); - // @@protoc_insertion_point(field_mutable:CUserMessage_PlayResponseConditional.response) - return _s; -} -inline const std::string& CUserMessage_PlayResponseConditional::_internal_response() const { - return _impl_.response_.Get(); -} -inline void CUserMessage_PlayResponseConditional::_internal_set_response(const std::string& value) { - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.response_.Set(value, GetArenaForAllocation()); -} -inline std::string* CUserMessage_PlayResponseConditional::_internal_mutable_response() { - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.response_.Mutable(GetArenaForAllocation()); -} -inline std::string* CUserMessage_PlayResponseConditional::release_response() { - // @@protoc_insertion_point(field_release:CUserMessage_PlayResponseConditional.response) - if (!_internal_has_response()) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* p = _impl_.response_.Release(); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.response_.IsDefault()) { - _impl_.response_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - return p; -} -inline void CUserMessage_PlayResponseConditional::set_allocated_response(std::string* response) { - if (response != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.response_.SetAllocated(response, GetArenaForAllocation()); -#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING - if (_impl_.response_.IsDefault()) { - _impl_.response_.Set("", GetArenaForAllocation()); - } -#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:CUserMessage_PlayResponseConditional.response) -} - -// optional .CMsgVector ent_origin = 4; -inline bool CUserMessage_PlayResponseConditional::_internal_has_ent_origin() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.ent_origin_ != nullptr); - return value; -} -inline bool CUserMessage_PlayResponseConditional::has_ent_origin() const { - return _internal_has_ent_origin(); -} -inline const ::CMsgVector& CUserMessage_PlayResponseConditional::_internal_ent_origin() const { - const ::CMsgVector* p = _impl_.ent_origin_; - return p != nullptr ? *p : reinterpret_cast( - ::_CMsgVector_default_instance_); -} -inline const ::CMsgVector& CUserMessage_PlayResponseConditional::ent_origin() const { - // @@protoc_insertion_point(field_get:CUserMessage_PlayResponseConditional.ent_origin) - return _internal_ent_origin(); -} -inline void CUserMessage_PlayResponseConditional::unsafe_arena_set_allocated_ent_origin( - ::CMsgVector* ent_origin) { - if (GetArenaForAllocation() == nullptr) { - delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ent_origin_); - } - _impl_.ent_origin_ = ent_origin; - if (ent_origin) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CUserMessage_PlayResponseConditional.ent_origin) -} -inline ::CMsgVector* CUserMessage_PlayResponseConditional::release_ent_origin() { - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.ent_origin_; - _impl_.ent_origin_ = nullptr; -#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE - auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - if (GetArenaForAllocation() == nullptr) { delete old; } -#else // PROTOBUF_FORCE_COPY_IN_RELEASE - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } -#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE - return temp; -} -inline ::CMsgVector* CUserMessage_PlayResponseConditional::unsafe_arena_release_ent_origin() { - // @@protoc_insertion_point(field_release:CUserMessage_PlayResponseConditional.ent_origin) - _impl_._has_bits_[0] &= ~0x00000002u; - ::CMsgVector* temp = _impl_.ent_origin_; - _impl_.ent_origin_ = nullptr; - return temp; -} -inline ::CMsgVector* CUserMessage_PlayResponseConditional::_internal_mutable_ent_origin() { - _impl_._has_bits_[0] |= 0x00000002u; - if (_impl_.ent_origin_ == nullptr) { - auto* p = CreateMaybeMessage<::CMsgVector>(GetArenaForAllocation()); - _impl_.ent_origin_ = p; - } - return _impl_.ent_origin_; -} -inline ::CMsgVector* CUserMessage_PlayResponseConditional::mutable_ent_origin() { - ::CMsgVector* _msg = _internal_mutable_ent_origin(); - // @@protoc_insertion_point(field_mutable:CUserMessage_PlayResponseConditional.ent_origin) - return _msg; -} -inline void CUserMessage_PlayResponseConditional::set_allocated_ent_origin(::CMsgVector* ent_origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ent_origin_); - } - if (ent_origin) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ent_origin)); - if (message_arena != submessage_arena) { - ent_origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, ent_origin, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.ent_origin_ = ent_origin; - // @@protoc_insertion_point(field_set_allocated:CUserMessage_PlayResponseConditional.ent_origin) -} - -// optional float pre_delay = 5; -inline bool CUserMessage_PlayResponseConditional::_internal_has_pre_delay() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline bool CUserMessage_PlayResponseConditional::has_pre_delay() const { - return _internal_has_pre_delay(); -} -inline void CUserMessage_PlayResponseConditional::clear_pre_delay() { - _impl_.pre_delay_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline float CUserMessage_PlayResponseConditional::_internal_pre_delay() const { - return _impl_.pre_delay_; -} -inline float CUserMessage_PlayResponseConditional::pre_delay() const { - // @@protoc_insertion_point(field_get:CUserMessage_PlayResponseConditional.pre_delay) - return _internal_pre_delay(); -} -inline void CUserMessage_PlayResponseConditional::_internal_set_pre_delay(float value) { - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.pre_delay_ = value; -} -inline void CUserMessage_PlayResponseConditional::set_pre_delay(float value) { - _internal_set_pre_delay(value); - // @@protoc_insertion_point(field_set:CUserMessage_PlayResponseConditional.pre_delay) -} - -// optional int32 mix_priority = 6; -inline bool CUserMessage_PlayResponseConditional::_internal_has_mix_priority() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline bool CUserMessage_PlayResponseConditional::has_mix_priority() const { - return _internal_has_mix_priority(); -} -inline void CUserMessage_PlayResponseConditional::clear_mix_priority() { - _impl_.mix_priority_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline int32_t CUserMessage_PlayResponseConditional::_internal_mix_priority() const { - return _impl_.mix_priority_; -} -inline int32_t CUserMessage_PlayResponseConditional::mix_priority() const { - // @@protoc_insertion_point(field_get:CUserMessage_PlayResponseConditional.mix_priority) - return _internal_mix_priority(); -} -inline void CUserMessage_PlayResponseConditional::_internal_set_mix_priority(int32_t value) { - _impl_._has_bits_[0] |= 0x00000008u; - _impl_.mix_priority_ = value; -} -inline void CUserMessage_PlayResponseConditional::set_mix_priority(int32_t value) { - _internal_set_mix_priority(value); - // @@protoc_insertion_point(field_set:CUserMessage_PlayResponseConditional.mix_priority) -} - -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::EBaseUserMessages> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EBaseUserMessages>() { - return ::EBaseUserMessages_descriptor(); -} -template <> struct is_proto_enum< ::EBaseEntityMessages> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EBaseEntityMessages>() { - return ::EBaseEntityMessages_descriptor(); -} -template <> struct is_proto_enum< ::eRollType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::eRollType>() { - return ::eRollType_descriptor(); -} -template <> struct is_proto_enum< ::PARTICLE_MESSAGE> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::PARTICLE_MESSAGE>() { - return ::PARTICLE_MESSAGE_descriptor(); -} -template <> struct is_proto_enum< ::EHapticPulseType> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EHapticPulseType>() { - return ::EHapticPulseType_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_usermessages_2eproto diff --git a/protobuf/generated/valveextensions.pb.cc b/protobuf/generated/valveextensions.pb.cc deleted file mode 100644 index 93cee76e9..000000000 --- a/protobuf/generated/valveextensions.pb.cc +++ /dev/null @@ -1,133 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: valveextensions.proto - -#include "valveextensions.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) -#include - -PROTOBUF_PRAGMA_INIT_SEG - -namespace _pb = ::PROTOBUF_NAMESPACE_ID; -namespace _pbi = _pb::internal; - -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_valveextensions_2eproto[1]; -static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_valveextensions_2eproto = nullptr; -const uint32_t TableStruct_valveextensions_2eproto::offsets[1] = {}; -static constexpr ::_pbi::MigrationSchema* schemas = nullptr; -static constexpr ::_pb::Message* const* file_default_instances = nullptr; - -const char descriptor_table_protodef_valveextensions_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = - "\n\025valveextensions.proto\032 google/protobuf" - "/descriptor.proto*\312\001\n\024EProtoDebugVisibli" - "ty\022\"\n\036k_EProtoDebugVisibility_Always\020\000\022\"" - "\n\036k_EProtoDebugVisibility_Server\020F\022\'\n#k_" - "EProtoDebugVisibility_ValveServer\020P\022\036\n\032k" - "_EProtoDebugVisibility_GC\020Z\022!\n\035k_EProtoD" - "ebugVisibility_Never\020d:\?\n\017valve_map_fiel" - "d\022\035.google.protobuf.FieldOptions\030\310\334\003 \001(\010" - ":\005false:=\n\rvalve_map_key\022\035.google.protob" - "uf.FieldOptions\030\311\334\003 \001(\010:\005false:=\n\021diff_e" - "ncode_field\022\035.google.protobuf.FieldOptio" - "ns\030\312\334\003 \001(\005:\0010:<\n\014delta_ignore\022\035.google.p" - "rotobuf.FieldOptions\030\313\334\003 \001(\010:\005false:\?\n\023s" - "teamml_max_entries\022\035.google.protobuf.Fie" - "ldOptions\030\314\334\003 \001(\r:\0010:D\n\024steamml_is_times" - "tamp\022\035.google.protobuf.FieldOptions\030\315\334\003 " - "\001(\010:\005false:<\n\020steamlearn_count\022\035.google." - "protobuf.FieldOptions\030\316\334\003 \001(\r:\0010:u\n\025debu" - "gprint_visibility\022\035.google.protobuf.Fiel" - "dOptions\030\317\334\003 \001(\0162\025.EProtoDebugVisiblity:" - "\036k_EProtoDebugVisibility_Always:@\n\024schem" - "a_friendly_name\022!.google.protobuf.EnumVa" - "lueOptions\030\350\007 \001(\t:>\n\022schema_description\022" - "!.google.protobuf.EnumValueOptions\030\351\007 \001(" - "\t:F\n\032schema_suppress_enumerator\022!.google" - ".protobuf.EnumValueOptions\030\352\007 \001(\010" - ; -static const ::_pbi::DescriptorTable* const descriptor_table_valveextensions_2eproto_deps[1] = { - &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, -}; -static ::_pbi::once_flag descriptor_table_valveextensions_2eproto_once; -const ::_pbi::DescriptorTable descriptor_table_valveextensions_2eproto = { - false, false, 1033, descriptor_table_protodef_valveextensions_2eproto, - "valveextensions.proto", - &descriptor_table_valveextensions_2eproto_once, descriptor_table_valveextensions_2eproto_deps, 1, 0, - schemas, file_default_instances, TableStruct_valveextensions_2eproto::offsets, - nullptr, file_level_enum_descriptors_valveextensions_2eproto, - file_level_service_descriptors_valveextensions_2eproto, -}; -PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_valveextensions_2eproto_getter() { - return &descriptor_table_valveextensions_2eproto; -} - -// Force running AddDescriptors() at dynamic initialization time. -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_valveextensions_2eproto(&descriptor_table_valveextensions_2eproto); -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EProtoDebugVisiblity_descriptor() { - ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_valveextensions_2eproto); - return file_level_enum_descriptors_valveextensions_2eproto[0]; -} -bool EProtoDebugVisiblity_IsValid(int value) { - switch (value) { - case 0: - case 70: - case 80: - case 90: - case 100: - return true; - default: - return false; - } -} - -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false> - valve_map_field(kValveMapFieldFieldNumber, false, nullptr); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false> - valve_map_key(kValveMapKeyFieldNumber, false, nullptr); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< int32_t >, 5, false> - diff_encode_field(kDiffEncodeFieldFieldNumber, 0, nullptr); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false> - delta_ignore(kDeltaIgnoreFieldNumber, false, nullptr); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< uint32_t >, 13, false> - steamml_max_entries(kSteammlMaxEntriesFieldNumber, 0u, nullptr); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false> - steamml_is_timestamp(kSteammlIsTimestampFieldNumber, false, nullptr); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< uint32_t >, 13, false> - steamlearn_count(kSteamlearnCountFieldNumber, 0u, nullptr); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::EnumTypeTraits< ::EProtoDebugVisiblity, ::EProtoDebugVisiblity_IsValid>, 14, false> - debugprint_visibility(kDebugprintVisibilityFieldNumber, static_cast< ::EProtoDebugVisiblity >(0), nullptr); -const std::string schema_friendly_name_default(""); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, - ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> - schema_friendly_name(kSchemaFriendlyNameFieldNumber, schema_friendly_name_default, nullptr); -const std::string schema_description_default(""); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, - ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false> - schema_description(kSchemaDescriptionFieldNumber, schema_description_default, nullptr); -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false> - schema_suppress_enumerator(kSchemaSuppressEnumeratorFieldNumber, false, nullptr); - -// @@protoc_insertion_point(namespace_scope) -PROTOBUF_NAMESPACE_OPEN -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) -#include diff --git a/protobuf/generated/valveextensions.pb.h b/protobuf/generated/valveextensions.pb.h deleted file mode 100644 index 846cf8986..000000000 --- a/protobuf/generated/valveextensions.pb.h +++ /dev/null @@ -1,152 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: valveextensions.proto - -#ifndef GOOGLE_PROTOBUF_INCLUDED_valveextensions_2eproto -#define GOOGLE_PROTOBUF_INCLUDED_valveextensions_2eproto - -#include -#include - -#include -#if PROTOBUF_VERSION < 3021000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 3021008 < PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -#include -#include -#include // IWYU pragma: export -#include // IWYU pragma: export -#include -#include -// @@protoc_insertion_point(includes) -#include -#define PROTOBUF_INTERNAL_EXPORT_valveextensions_2eproto -PROTOBUF_NAMESPACE_OPEN -namespace internal { -class AnyMetadata; -} // namespace internal -PROTOBUF_NAMESPACE_CLOSE - -// Internal implementation detail -- do not use these members. -struct TableStruct_valveextensions_2eproto { - static const uint32_t offsets[]; -}; -extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_valveextensions_2eproto; -PROTOBUF_NAMESPACE_OPEN -PROTOBUF_NAMESPACE_CLOSE - -enum EProtoDebugVisiblity : int { - k_EProtoDebugVisibility_Always = 0, - k_EProtoDebugVisibility_Server = 70, - k_EProtoDebugVisibility_ValveServer = 80, - k_EProtoDebugVisibility_GC = 90, - k_EProtoDebugVisibility_Never = 100 -}; -bool EProtoDebugVisiblity_IsValid(int value); -constexpr EProtoDebugVisiblity EProtoDebugVisiblity_MIN = k_EProtoDebugVisibility_Always; -constexpr EProtoDebugVisiblity EProtoDebugVisiblity_MAX = k_EProtoDebugVisibility_Never; -constexpr int EProtoDebugVisiblity_ARRAYSIZE = EProtoDebugVisiblity_MAX + 1; - -const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EProtoDebugVisiblity_descriptor(); -template -inline const std::string& EProtoDebugVisiblity_Name(T enum_t_value) { - static_assert(::std::is_same::value || - ::std::is_integral::value, - "Incorrect type passed to function EProtoDebugVisiblity_Name."); - return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( - EProtoDebugVisiblity_descriptor(), enum_t_value); -} -inline bool EProtoDebugVisiblity_Parse( - ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EProtoDebugVisiblity* value) { - return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( - EProtoDebugVisiblity_descriptor(), name, value); -} -// =================================================================== - - -// =================================================================== - -static const int kValveMapFieldFieldNumber = 61000; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false > - valve_map_field; -static const int kValveMapKeyFieldNumber = 61001; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false > - valve_map_key; -static const int kDiffEncodeFieldFieldNumber = 61002; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< int32_t >, 5, false > - diff_encode_field; -static const int kDeltaIgnoreFieldNumber = 61003; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false > - delta_ignore; -static const int kSteammlMaxEntriesFieldNumber = 61004; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< uint32_t >, 13, false > - steamml_max_entries; -static const int kSteammlIsTimestampFieldNumber = 61005; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false > - steamml_is_timestamp; -static const int kSteamlearnCountFieldNumber = 61006; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< uint32_t >, 13, false > - steamlearn_count; -static const int kDebugprintVisibilityFieldNumber = 61007; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, - ::PROTOBUF_NAMESPACE_ID::internal::EnumTypeTraits< ::EProtoDebugVisiblity, ::EProtoDebugVisiblity_IsValid>, 14, false > - debugprint_visibility; -static const int kSchemaFriendlyNameFieldNumber = 1000; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, - ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > - schema_friendly_name; -static const int kSchemaDescriptionFieldNumber = 1001; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, - ::PROTOBUF_NAMESPACE_ID::internal::StringTypeTraits, 9, false > - schema_description; -static const int kSchemaSuppressEnumeratorFieldNumber = 1002; -extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, - ::PROTOBUF_NAMESPACE_ID::internal::PrimitiveTypeTraits< bool >, 8, false > - schema_suppress_enumerator; - -// =================================================================== - -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -#ifdef __GNUC__ - #pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) - - -PROTOBUF_NAMESPACE_OPEN - -template <> struct is_proto_enum< ::EProtoDebugVisiblity> : ::std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::EProtoDebugVisiblity>() { - return ::EProtoDebugVisiblity_descriptor(); -} - -PROTOBUF_NAMESPACE_CLOSE - -// @@protoc_insertion_point(global_scope) - -#include -#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_valveextensions_2eproto diff --git a/protobuf/include/descriptor.proto b/protobuf/include/descriptor.proto deleted file mode 100644 index f8eb216cd..000000000 --- a/protobuf/include/descriptor.proto +++ /dev/null @@ -1,921 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -// Author: kenton@google.com (Kenton Varda) -// Based on original Protocol Buffers design by -// Sanjay Ghemawat, Jeff Dean, and others. -// -// The messages in this file describe the definitions found in .proto files. -// A valid .proto file can be translated directly to a FileDescriptorProto -// without any other information (e.g. without reading its imports). - - -syntax = "proto2"; - -package google.protobuf; - -option go_package = "google.golang.org/protobuf/types/descriptorpb"; -option java_package = "com.google.protobuf"; -option java_outer_classname = "DescriptorProtos"; -option csharp_namespace = "Google.Protobuf.Reflection"; -option objc_class_prefix = "GPB"; -option cc_enable_arenas = true; - -// descriptor.proto must be optimized for speed because reflection-based -// algorithms don't work during bootstrapping. -option optimize_for = SPEED; - -// The protocol compiler can output a FileDescriptorSet containing the .proto -// files it parses. -message FileDescriptorSet { - repeated FileDescriptorProto file = 1; -} - -// Describes a complete .proto file. -message FileDescriptorProto { - optional string name = 1; // file name, relative to root of source tree - optional string package = 2; // e.g. "foo", "foo.bar", etc. - - // Names of files imported by this file. - repeated string dependency = 3; - // Indexes of the public imported files in the dependency list above. - repeated int32 public_dependency = 10; - // Indexes of the weak imported files in the dependency list. - // For Google-internal migration only. Do not use. - repeated int32 weak_dependency = 11; - - // All top-level definitions in this file. - repeated DescriptorProto message_type = 4; - repeated EnumDescriptorProto enum_type = 5; - repeated ServiceDescriptorProto service = 6; - repeated FieldDescriptorProto extension = 7; - - optional FileOptions options = 8; - - // This field contains optional information about the original source code. - // You may safely remove this entire field without harming runtime - // functionality of the descriptors -- the information is needed only by - // development tools. - optional SourceCodeInfo source_code_info = 9; - - // The syntax of the proto file. - // The supported values are "proto2" and "proto3". - optional string syntax = 12; -} - -// Describes a message type. -message DescriptorProto { - optional string name = 1; - - repeated FieldDescriptorProto field = 2; - repeated FieldDescriptorProto extension = 6; - - repeated DescriptorProto nested_type = 3; - repeated EnumDescriptorProto enum_type = 4; - - message ExtensionRange { - optional int32 start = 1; // Inclusive. - optional int32 end = 2; // Exclusive. - - optional ExtensionRangeOptions options = 3; - } - repeated ExtensionRange extension_range = 5; - - repeated OneofDescriptorProto oneof_decl = 8; - - optional MessageOptions options = 7; - - // Range of reserved tag numbers. Reserved tag numbers may not be used by - // fields or extension ranges in the same message. Reserved ranges may - // not overlap. - message ReservedRange { - optional int32 start = 1; // Inclusive. - optional int32 end = 2; // Exclusive. - } - repeated ReservedRange reserved_range = 9; - // Reserved field names, which may not be used by fields in the same message. - // A given name may only be reserved once. - repeated string reserved_name = 10; -} - -message ExtensionRangeOptions { - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - -// Describes a field within a message. -message FieldDescriptorProto { - enum Type { - // 0 is reserved for errors. - // Order is weird for historical reasons. - TYPE_DOUBLE = 1; - TYPE_FLOAT = 2; - // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if - // negative values are likely. - TYPE_INT64 = 3; - TYPE_UINT64 = 4; - // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if - // negative values are likely. - TYPE_INT32 = 5; - TYPE_FIXED64 = 6; - TYPE_FIXED32 = 7; - TYPE_BOOL = 8; - TYPE_STRING = 9; - // Tag-delimited aggregate. - // Group type is deprecated and not supported in proto3. However, Proto3 - // implementations should still be able to parse the group wire format and - // treat group fields as unknown fields. - TYPE_GROUP = 10; - TYPE_MESSAGE = 11; // Length-delimited aggregate. - - // New in version 2. - TYPE_BYTES = 12; - TYPE_UINT32 = 13; - TYPE_ENUM = 14; - TYPE_SFIXED32 = 15; - TYPE_SFIXED64 = 16; - TYPE_SINT32 = 17; // Uses ZigZag encoding. - TYPE_SINT64 = 18; // Uses ZigZag encoding. - } - - enum Label { - // 0 is reserved for errors - LABEL_OPTIONAL = 1; - LABEL_REQUIRED = 2; - LABEL_REPEATED = 3; - } - - optional string name = 1; - optional int32 number = 3; - optional Label label = 4; - - // If type_name is set, this need not be set. If both this and type_name - // are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - optional Type type = 5; - - // For message and enum types, this is the name of the type. If the name - // starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - // rules are used to find the type (i.e. first the nested types within this - // message are searched, then within the parent, on up to the root - // namespace). - optional string type_name = 6; - - // For extensions, this is the name of the type being extended. It is - // resolved in the same manner as type_name. - optional string extendee = 2; - - // For numeric types, contains the original text representation of the value. - // For booleans, "true" or "false". - // For strings, contains the default text contents (not escaped in any way). - // For bytes, contains the C escaped value. All bytes >= 128 are escaped. - optional string default_value = 7; - - // If set, gives the index of a oneof in the containing type's oneof_decl - // list. This field is a member of that oneof. - optional int32 oneof_index = 9; - - // JSON name of this field. The value is set by protocol compiler. If the - // user has set a "json_name" option on this field, that option's value - // will be used. Otherwise, it's deduced from the field's name by converting - // it to camelCase. - optional string json_name = 10; - - optional FieldOptions options = 8; - - // If true, this is a proto3 "optional". When a proto3 field is optional, it - // tracks presence regardless of field type. - // - // When proto3_optional is true, this field must be belong to a oneof to - // signal to old proto3 clients that presence is tracked for this field. This - // oneof is known as a "synthetic" oneof, and this field must be its sole - // member (each proto3 optional field gets its own synthetic oneof). Synthetic - // oneofs exist in the descriptor only, and do not generate any API. Synthetic - // oneofs must be ordered after all "real" oneofs. - // - // For message fields, proto3_optional doesn't create any semantic change, - // since non-repeated message fields always track presence. However it still - // indicates the semantic detail of whether the user wrote "optional" or not. - // This can be useful for round-tripping the .proto file. For consistency we - // give message fields a synthetic oneof also, even though it is not required - // to track presence. This is especially important because the parser can't - // tell if a field is a message or an enum, so it must always create a - // synthetic oneof. - // - // Proto2 optional fields do not set this flag, because they already indicate - // optional with `LABEL_OPTIONAL`. - optional bool proto3_optional = 17; -} - -// Describes a oneof. -message OneofDescriptorProto { - optional string name = 1; - optional OneofOptions options = 2; -} - -// Describes an enum type. -message EnumDescriptorProto { - optional string name = 1; - - repeated EnumValueDescriptorProto value = 2; - - optional EnumOptions options = 3; - - // Range of reserved numeric values. Reserved values may not be used by - // entries in the same enum. Reserved ranges may not overlap. - // - // Note that this is distinct from DescriptorProto.ReservedRange in that it - // is inclusive such that it can appropriately represent the entire int32 - // domain. - message EnumReservedRange { - optional int32 start = 1; // Inclusive. - optional int32 end = 2; // Inclusive. - } - - // Range of reserved numeric values. Reserved numeric values may not be used - // by enum values in the same enum declaration. Reserved ranges may not - // overlap. - repeated EnumReservedRange reserved_range = 4; - - // Reserved enum value names, which may not be reused. A given name may only - // be reserved once. - repeated string reserved_name = 5; -} - -// Describes a value within an enum. -message EnumValueDescriptorProto { - optional string name = 1; - optional int32 number = 2; - - optional EnumValueOptions options = 3; -} - -// Describes a service. -message ServiceDescriptorProto { - optional string name = 1; - repeated MethodDescriptorProto method = 2; - - optional ServiceOptions options = 3; -} - -// Describes a method of a service. -message MethodDescriptorProto { - optional string name = 1; - - // Input and output type names. These are resolved in the same way as - // FieldDescriptorProto.type_name, but must refer to a message type. - optional string input_type = 2; - optional string output_type = 3; - - optional MethodOptions options = 4; - - // Identifies if client streams multiple client messages - optional bool client_streaming = 5 [default = false]; - // Identifies if server streams multiple server messages - optional bool server_streaming = 6 [default = false]; -} - - -// =================================================================== -// Options - -// Each of the definitions above may have "options" attached. These are -// just annotations which may cause code to be generated slightly differently -// or may contain hints for code that manipulates protocol messages. -// -// Clients may define custom options as extensions of the *Options messages. -// These extensions may not yet be known at parsing time, so the parser cannot -// store the values in them. Instead it stores them in a field in the *Options -// message called uninterpreted_option. This field must have the same name -// across all *Options messages. We then use this field to populate the -// extensions when we build a descriptor, at which point all protos have been -// parsed and so all extensions are known. -// -// Extension numbers for custom options may be chosen as follows: -// * For options which will only be used within a single application or -// organization, or for experimental options, use field numbers 50000 -// through 99999. It is up to you to ensure that you do not use the -// same number for multiple options. -// * For options which will be published and used publicly by multiple -// independent entities, e-mail protobuf-global-extension-registry@google.com -// to reserve extension numbers. Simply provide your project name (e.g. -// Objective-C plugin) and your project website (if available) -- there's no -// need to explain how you intend to use them. Usually you only need one -// extension number. You can declare multiple options with only one extension -// number by putting them in a sub-message. See the Custom Options section of -// the docs for examples: -// https://developers.google.com/protocol-buffers/docs/proto#options -// If this turns out to be popular, a web service will be set up -// to automatically assign option numbers. - -message FileOptions { - - // Sets the Java package where classes generated from this .proto will be - // placed. By default, the proto package is used, but this is often - // inappropriate because proto packages do not normally start with backwards - // domain names. - optional string java_package = 1; - - - // Controls the name of the wrapper Java class generated for the .proto file. - // That class will always contain the .proto file's getDescriptor() method as - // well as any top-level extensions defined in the .proto file. - // If java_multiple_files is disabled, then all the other classes from the - // .proto file will be nested inside the single wrapper outer class. - optional string java_outer_classname = 8; - - // If enabled, then the Java code generator will generate a separate .java - // file for each top-level message, enum, and service defined in the .proto - // file. Thus, these types will *not* be nested inside the wrapper class - // named by java_outer_classname. However, the wrapper class will still be - // generated to contain the file's getDescriptor() method as well as any - // top-level extensions defined in the file. - optional bool java_multiple_files = 10 [default = false]; - - // This option does nothing. - optional bool java_generate_equals_and_hash = 20 [deprecated=true]; - - // If set true, then the Java2 code generator will generate code that - // throws an exception whenever an attempt is made to assign a non-UTF-8 - // byte sequence to a string field. - // Message reflection will do the same. - // However, an extension field still accepts non-UTF-8 byte sequences. - // This option has no effect on when used with the lite runtime. - optional bool java_string_check_utf8 = 27 [default = false]; - - - // Generated classes can be optimized for speed or code size. - enum OptimizeMode { - SPEED = 1; // Generate complete code for parsing, serialization, - // etc. - CODE_SIZE = 2; // Use ReflectionOps to implement these methods. - LITE_RUNTIME = 3; // Generate code using MessageLite and the lite runtime. - } - optional OptimizeMode optimize_for = 9 [default = SPEED]; - - // Sets the Go package where structs generated from this .proto will be - // placed. If omitted, the Go package will be derived from the following: - // - The basename of the package import path, if provided. - // - Otherwise, the package statement in the .proto file, if present. - // - Otherwise, the basename of the .proto file, without extension. - optional string go_package = 11; - - - - - // Should generic services be generated in each language? "Generic" services - // are not specific to any particular RPC system. They are generated by the - // main code generators in each language (without additional plugins). - // Generic services were the only kind of service generation supported by - // early versions of google.protobuf. - // - // Generic services are now considered deprecated in favor of using plugins - // that generate code specific to your particular RPC system. Therefore, - // these default to false. Old code which depends on generic services should - // explicitly set them to true. - optional bool cc_generic_services = 16 [default = false]; - optional bool java_generic_services = 17 [default = false]; - optional bool py_generic_services = 18 [default = false]; - optional bool php_generic_services = 42 [default = false]; - - // Is this file deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for everything in the file, or it will be completely ignored; in the very - // least, this is a formalization for deprecating files. - optional bool deprecated = 23 [default = false]; - - // Enables the use of arenas for the proto messages in this file. This applies - // only to generated classes for C++. - optional bool cc_enable_arenas = 31 [default = true]; - - - // Sets the objective c class prefix which is prepended to all objective c - // generated classes from this .proto. There is no default. - optional string objc_class_prefix = 36; - - // Namespace for generated classes; defaults to the package. - optional string csharp_namespace = 37; - - // By default Swift generators will take the proto package and CamelCase it - // replacing '.' with underscore and use that to prefix the types/symbols - // defined. When this options is provided, they will use this value instead - // to prefix the types/symbols defined. - optional string swift_prefix = 39; - - // Sets the php class prefix which is prepended to all php generated classes - // from this .proto. Default is empty. - optional string php_class_prefix = 40; - - // Use this option to change the namespace of php generated classes. Default - // is empty. When this option is empty, the package name will be used for - // determining the namespace. - optional string php_namespace = 41; - - // Use this option to change the namespace of php generated metadata classes. - // Default is empty. When this option is empty, the proto file name will be - // used for determining the namespace. - optional string php_metadata_namespace = 44; - - // Use this option to change the package of ruby generated classes. Default - // is empty. When this option is not set, the package name will be used for - // determining the ruby package. - optional string ruby_package = 45; - - - // The parser stores options it doesn't recognize here. - // See the documentation for the "Options" section above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. - // See the documentation for the "Options" section above. - extensions 1000 to max; - - reserved 38; -} - -message MessageOptions { - // Set true to use the old proto1 MessageSet wire format for extensions. - // This is provided for backwards-compatibility with the MessageSet wire - // format. You should not use this for any other reason: It's less - // efficient, has fewer features, and is more complicated. - // - // The message must be defined exactly as follows: - // message Foo { - // option message_set_wire_format = true; - // extensions 4 to max; - // } - // Note that the message cannot have any defined fields; MessageSets only - // have extensions. - // - // All extensions of your type must be singular messages; e.g. they cannot - // be int32s, enums, or repeated messages. - // - // Because this is an option, the above two restrictions are not enforced by - // the protocol compiler. - optional bool message_set_wire_format = 1 [default = false]; - - // Disables the generation of the standard "descriptor()" accessor, which can - // conflict with a field of the same name. This is meant to make migration - // from proto1 easier; new code should avoid fields named "descriptor". - optional bool no_standard_descriptor_accessor = 2 [default = false]; - - // Is this message deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the message, or it will be completely ignored; in the very least, - // this is a formalization for deprecating messages. - optional bool deprecated = 3 [default = false]; - - reserved 4, 5, 6; - - // Whether the message is an automatically generated map entry type for the - // maps field. - // - // For maps fields: - // map map_field = 1; - // The parsed descriptor looks like: - // message MapFieldEntry { - // option map_entry = true; - // optional KeyType key = 1; - // optional ValueType value = 2; - // } - // repeated MapFieldEntry map_field = 1; - // - // Implementations may choose not to generate the map_entry=true message, but - // use a native map in the target language to hold the keys and values. - // The reflection APIs in such implementations still need to work as - // if the field is a repeated message field. - // - // NOTE: Do not set the option in .proto files. Always use the maps syntax - // instead. The option should only be implicitly set by the proto compiler - // parser. - optional bool map_entry = 7; - - reserved 8; // javalite_serializable - reserved 9; // javanano_as_lite - - - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - -message FieldOptions { - // The ctype option instructs the C++ code generator to use a different - // representation of the field than it normally would. See the specific - // options below. This option is not yet implemented in the open source - // release -- sorry, we'll try to include it in a future version! - optional CType ctype = 1 [default = STRING]; - enum CType { - // Default mode. - STRING = 0; - - CORD = 1; - - STRING_PIECE = 2; - } - // The packed option can be enabled for repeated primitive fields to enable - // a more efficient representation on the wire. Rather than repeatedly - // writing the tag and type for each element, the entire array is encoded as - // a single length-delimited blob. In proto3, only explicit setting it to - // false will avoid using packed encoding. - optional bool packed = 2; - - // The jstype option determines the JavaScript type used for values of the - // field. The option is permitted only for 64 bit integral and fixed types - // (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - // is represented as JavaScript string, which avoids loss of precision that - // can happen when a large value is converted to a floating point JavaScript. - // Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - // use the JavaScript "number" type. The behavior of the default option - // JS_NORMAL is implementation dependent. - // - // This option is an enum to permit additional types to be added, e.g. - // goog.math.Integer. - optional JSType jstype = 6 [default = JS_NORMAL]; - enum JSType { - // Use the default type. - JS_NORMAL = 0; - - // Use JavaScript strings. - JS_STRING = 1; - - // Use JavaScript numbers. - JS_NUMBER = 2; - } - - // Should this field be parsed lazily? Lazy applies only to message-type - // fields. It means that when the outer message is initially parsed, the - // inner message's contents will not be parsed but instead stored in encoded - // form. The inner message will actually be parsed when it is first accessed. - // - // This is only a hint. Implementations are free to choose whether to use - // eager or lazy parsing regardless of the value of this option. However, - // setting this option true suggests that the protocol author believes that - // using lazy parsing on this field is worth the additional bookkeeping - // overhead typically needed to implement it. - // - // This option does not affect the public interface of any generated code; - // all method signatures remain the same. Furthermore, thread-safety of the - // interface is not affected by this option; const methods remain safe to - // call from multiple threads concurrently, while non-const methods continue - // to require exclusive access. - // - // - // Note that implementations may choose not to check required fields within - // a lazy sub-message. That is, calling IsInitialized() on the outer message - // may return true even if the inner message has missing required fields. - // This is necessary because otherwise the inner message would have to be - // parsed in order to perform the check, defeating the purpose of lazy - // parsing. An implementation which chooses not to check required fields - // must be consistent about it. That is, for any particular sub-message, the - // implementation must either *always* check its required fields, or *never* - // check its required fields, regardless of whether or not the message has - // been parsed. - // - // As of 2021, lazy does no correctness checks on the byte stream during - // parsing. This may lead to crashes if and when an invalid byte stream is - // finally parsed upon access. - // - // TODO(b/211906113): Enable validation on lazy fields. - optional bool lazy = 5 [default = false]; - - // unverified_lazy does no correctness checks on the byte stream. This should - // only be used where lazy with verification is prohibitive for performance - // reasons. - optional bool unverified_lazy = 15 [default = false]; - - // Is this field deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for accessors, or it will be completely ignored; in the very least, this - // is a formalization for deprecating fields. - optional bool deprecated = 3 [default = false]; - - // For Google-internal migration only. Do not use. - optional bool weak = 10 [default = false]; - - - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; - - reserved 4; // removed jtype -} - -message OneofOptions { - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - -message EnumOptions { - - // Set this option to true to allow mapping different tag names to the same - // value. - optional bool allow_alias = 2; - - // Is this enum deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the enum, or it will be completely ignored; in the very least, this - // is a formalization for deprecating enums. - optional bool deprecated = 3 [default = false]; - - reserved 5; // javanano_as_lite - - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - -message EnumValueOptions { - // Is this enum value deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the enum value, or it will be completely ignored; in the very least, - // this is a formalization for deprecating enum values. - optional bool deprecated = 1 [default = false]; - - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - -message ServiceOptions { - - // Note: Field numbers 1 through 32 are reserved for Google's internal RPC - // framework. We apologize for hoarding these numbers to ourselves, but - // we were already using them long before we decided to release Protocol - // Buffers. - - // Is this service deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the service, or it will be completely ignored; in the very least, - // this is a formalization for deprecating services. - optional bool deprecated = 33 [default = false]; - - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - -message MethodOptions { - - // Note: Field numbers 1 through 32 are reserved for Google's internal RPC - // framework. We apologize for hoarding these numbers to ourselves, but - // we were already using them long before we decided to release Protocol - // Buffers. - - // Is this method deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the method, or it will be completely ignored; in the very least, - // this is a formalization for deprecating methods. - optional bool deprecated = 33 [default = false]; - - // Is this method side-effect-free (or safe in HTTP parlance), or idempotent, - // or neither? HTTP based RPC implementation may choose GET verb for safe - // methods, and PUT verb for idempotent methods instead of the default POST. - enum IdempotencyLevel { - IDEMPOTENCY_UNKNOWN = 0; - NO_SIDE_EFFECTS = 1; // implies idempotent - IDEMPOTENT = 2; // idempotent, but may have side effects - } - optional IdempotencyLevel idempotency_level = 34 - [default = IDEMPOTENCY_UNKNOWN]; - - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - - -// A message representing a option the parser does not recognize. This only -// appears in options protos created by the compiler::Parser class. -// DescriptorPool resolves these when building Descriptor objects. Therefore, -// options protos in descriptor objects (e.g. returned by Descriptor::options(), -// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions -// in them. -message UninterpretedOption { - // The name of the uninterpreted option. Each string represents a segment in - // a dot-separated name. is_extension is true iff a segment represents an - // extension (denoted with parentheses in options specs in .proto files). - // E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents - // "foo.(bar.baz).moo". - message NamePart { - required string name_part = 1; - required bool is_extension = 2; - } - repeated NamePart name = 2; - - // The value of the uninterpreted option, in whatever type the tokenizer - // identified it as during parsing. Exactly one of these should be set. - optional string identifier_value = 3; - optional uint64 positive_int_value = 4; - optional int64 negative_int_value = 5; - optional double double_value = 6; - optional bytes string_value = 7; - optional string aggregate_value = 8; -} - -// =================================================================== -// Optional source code info - -// Encapsulates information about the original source file from which a -// FileDescriptorProto was generated. -message SourceCodeInfo { - // A Location identifies a piece of source code in a .proto file which - // corresponds to a particular definition. This information is intended - // to be useful to IDEs, code indexers, documentation generators, and similar - // tools. - // - // For example, say we have a file like: - // message Foo { - // optional string foo = 1; - // } - // Let's look at just the field definition: - // optional string foo = 1; - // ^ ^^ ^^ ^ ^^^ - // a bc de f ghi - // We have the following locations: - // span path represents - // [a,i) [ 4, 0, 2, 0 ] The whole field definition. - // [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - // [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - // [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - // [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - // - // Notes: - // - A location may refer to a repeated field itself (i.e. not to any - // particular index within it). This is used whenever a set of elements are - // logically enclosed in a single code segment. For example, an entire - // extend block (possibly containing multiple extension definitions) will - // have an outer location whose path refers to the "extensions" repeated - // field without an index. - // - Multiple locations may have the same path. This happens when a single - // logical declaration is spread out across multiple places. The most - // obvious example is the "extend" block again -- there may be multiple - // extend blocks in the same scope, each of which will have the same path. - // - A location's span is not always a subset of its parent's span. For - // example, the "extendee" of an extension declaration appears at the - // beginning of the "extend" block and is shared by all extensions within - // the block. - // - Just because a location's span is a subset of some other location's span - // does not mean that it is a descendant. For example, a "group" defines - // both a type and a field in a single declaration. Thus, the locations - // corresponding to the type and field and their components will overlap. - // - Code which tries to interpret locations should probably be designed to - // ignore those that it doesn't understand, as more types of locations could - // be recorded in the future. - repeated Location location = 1; - message Location { - // Identifies which part of the FileDescriptorProto was defined at this - // location. - // - // Each element is a field number or an index. They form a path from - // the root FileDescriptorProto to the place where the definition occurs. - // For example, this path: - // [ 4, 3, 2, 7, 1 ] - // refers to: - // file.message_type(3) // 4, 3 - // .field(7) // 2, 7 - // .name() // 1 - // This is because FileDescriptorProto.message_type has field number 4: - // repeated DescriptorProto message_type = 4; - // and DescriptorProto.field has field number 2: - // repeated FieldDescriptorProto field = 2; - // and FieldDescriptorProto.name has field number 1: - // optional string name = 1; - // - // Thus, the above path gives the location of a field name. If we removed - // the last element: - // [ 4, 3, 2, 7 ] - // this path refers to the whole field declaration (from the beginning - // of the label to the terminating semicolon). - repeated int32 path = 1 [packed = true]; - - // Always has exactly three or four elements: start line, start column, - // end line (optional, otherwise assumed same as start line), end column. - // These are packed into a single field for efficiency. Note that line - // and column numbers are zero-based -- typically you will want to add - // 1 to each before displaying to a user. - repeated int32 span = 2 [packed = true]; - - // If this SourceCodeInfo represents a complete declaration, these are any - // comments appearing before and after the declaration which appear to be - // attached to the declaration. - // - // A series of line comments appearing on consecutive lines, with no other - // tokens appearing on those lines, will be treated as a single comment. - // - // leading_detached_comments will keep paragraphs of comments that appear - // before (but not connected to) the current element. Each paragraph, - // separated by empty lines, will be one comment element in the repeated - // field. - // - // Only the comment content is provided; comment markers (e.g. //) are - // stripped out. For block comments, leading whitespace and an asterisk - // will be stripped from the beginning of each line other than the first. - // Newlines are included in the output. - // - // Examples: - // - // optional int32 foo = 1; // Comment attached to foo. - // // Comment attached to bar. - // optional int32 bar = 2; - // - // optional string baz = 3; - // // Comment attached to baz. - // // Another line attached to baz. - // - // // Comment attached to moo. - // // - // // Another line attached to moo. - // optional double moo = 4; - // - // // Detached comment for corge. This is not leading or trailing comments - // // to moo or corge because there are blank lines separating it from - // // both. - // - // // Detached comment for corge paragraph 2. - // - // optional string corge = 5; - // /* Block comment attached - // * to corge. Leading asterisks - // * will be removed. */ - // /* Block comment attached to - // * grault. */ - // optional int32 grault = 6; - // - // // ignored detached comments. - optional string leading_comments = 3; - optional string trailing_comments = 4; - repeated string leading_detached_comments = 6; - } -} - -// Describes the relationship between generated code and its original source -// file. A GeneratedCodeInfo message is associated with only one generated -// source file, but may contain references to different source .proto files. -message GeneratedCodeInfo { - // An Annotation connects some span of text in generated code to an element - // of its generating .proto file. - repeated Annotation annotation = 1; - message Annotation { - // Identifies the element in the original source .proto file. This field - // is formatted the same as SourceCodeInfo.Location.path. - repeated int32 path = 1 [packed = true]; - - // Identifies the filesystem path to the original source .proto. - optional string source_file = 2; - - // Identifies the starting offset in bytes in the generated code - // that relates to the identified object. - optional int32 begin = 3; - - // Identifies the ending offset in bytes in the generated code that - // relates to the identified offset. The end offset should be one past - // the last relevant byte (so the length of the text = end - begin). - optional int32 end = 4; - } -} diff --git a/protobuf/netmessages.proto b/protobuf/netmessages.proto deleted file mode 100644 index 601d0bf3b..000000000 --- a/protobuf/netmessages.proto +++ /dev/null @@ -1,743 +0,0 @@ -import "networkbasetypes.proto"; - -enum CLC_Messages { - clc_ClientInfo = 20; - clc_Move = 21; - clc_VoiceData = 22; - clc_BaselineAck = 23; - clc_RespondCvarValue = 25; - clc_LoadingProgress = 27; - clc_SplitPlayerConnect = 28; - clc_SplitPlayerDisconnect = 30; - clc_ServerStatus = 31; - clc_RequestPause = 33; - clc_CmdKeyValues = 34; - clc_RconServerDetails = 35; - clc_HltvReplay = 36; - clc_Diagnostic = 37; -} - -enum SVC_Messages { - svc_ServerInfo = 40; - svc_FlattenedSerializer = 41; - svc_ClassInfo = 42; - svc_SetPause = 43; - svc_CreateStringTable = 44; - svc_UpdateStringTable = 45; - svc_VoiceInit = 46; - svc_VoiceData = 47; - svc_Print = 48; - svc_Sounds = 49; - svc_SetView = 50; - svc_ClearAllStringTables = 51; - svc_CmdKeyValues = 52; - svc_BSPDecal = 53; - svc_SplitScreen = 54; - svc_PacketEntities = 55; - svc_Prefetch = 56; - svc_Menu = 57; - svc_GetCvarValue = 58; - svc_StopSound = 59; - svc_PeerList = 60; - svc_PacketReliable = 61; - svc_HLTVStatus = 62; - svc_ServerSteamID = 63; - svc_FullFrameSplit = 70; - svc_RconServerDetails = 71; - svc_UserMessage = 72; - svc_Broadcast_Command = 74; - svc_HltvFixupOperatorStatus = 75; - svc_UserCmds = 76; -} - -enum VoiceDataFormat_t { - VOICEDATA_FORMAT_STEAM = 0; - VOICEDATA_FORMAT_ENGINE = 1; - VOICEDATA_FORMAT_OPUS = 2; -} - -enum RequestPause_t { - RP_PAUSE = 0; - RP_UNPAUSE = 1; - RP_TOGGLEPAUSE = 2; -} - -enum PrefetchType { - PFT_SOUND = 0; -} - -enum ESplitScreenMessageType { - MSG_SPLITSCREEN_ADDUSER = 0; - MSG_SPLITSCREEN_REMOVEUSER = 1; -} - -enum EQueryCvarValueStatus { - eQueryCvarValueStatus_ValueIntact = 0; - eQueryCvarValueStatus_CvarNotFound = 1; - eQueryCvarValueStatus_NotACvar = 2; - eQueryCvarValueStatus_CvarProtected = 3; -} - -enum DIALOG_TYPE { - DIALOG_MSG = 0; - DIALOG_MENU = 1; - DIALOG_TEXT = 2; - DIALOG_ENTRY = 3; - DIALOG_ASKCONNECT = 4; -} - -enum SVC_Messages_LowFrequency { - svc_dummy = 600; -} - -enum Bidirectional_Messages { - bi_RebroadcastGameEvent = 16; - bi_RebroadcastSource = 17; - bi_GameEvent = 18; - bi_PredictionEvent = 19; -} - -enum Bidirectional_Messages_LowFrequency { - bi_RelayInfo = 700; - bi_RelayPacket = 701; -} - -enum ReplayEventType_t { - REPLAY_EVENT_CANCEL = 0; - REPLAY_EVENT_DEATH = 1; - REPLAY_EVENT_GENERIC = 2; - REPLAY_EVENT_STUCK_NEED_FULL_UPDATE = 3; - REPLAY_EVENT_VICTORY = 4; -} - -message CCLCMsg_ClientInfo { - optional fixed32 send_table_crc = 1; - optional uint32 server_count = 2; - optional bool is_hltv = 3; - optional uint32 friends_id = 5; - optional string friends_name = 6; -} - -message CCLCMsg_Move { - optional bytes data = 3; - optional uint32 last_command_number = 4; -} - -message CMsgVoiceAudio { - optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM]; - optional bytes voice_data = 2; - optional int32 sequence_bytes = 3; - optional uint32 section_number = 4; - optional uint32 sample_rate = 5; - optional uint32 uncompressed_sample_offset = 6; - optional uint32 num_packets = 7; - repeated uint32 packet_offsets = 8 [packed = true]; - optional float voice_level = 9; -} - -message CCLCMsg_VoiceData { - optional .CMsgVoiceAudio audio = 1; - optional fixed64 xuid = 2; - optional uint32 tick = 3; -} - -message CCLCMsg_BaselineAck { - optional int32 baseline_tick = 1; - optional int32 baseline_nr = 2; -} - -message CCLCMsg_ListenEvents { - repeated fixed32 event_mask = 1; -} - -message CCLCMsg_RespondCvarValue { - optional int32 cookie = 1; - optional int32 status_code = 2; - optional string name = 3; - optional string value = 4; -} - -message CCLCMsg_LoadingProgress { - optional int32 progress = 1; -} - -message CCLCMsg_SplitPlayerConnect { - optional string playername = 1; -} - -message CCLCMsg_SplitPlayerDisconnect { - optional int32 slot = 1; -} - -message CCLCMsg_ServerStatus { - optional bool simplified = 1; -} - -message CCLCMsg_RequestPause { - optional .RequestPause_t pause_type = 1 [default = RP_PAUSE]; - optional int32 pause_group = 2; -} - -message CCLCMsg_CmdKeyValues { - optional bytes data = 1; -} - -message CCLCMsg_RconServerDetails { - optional bytes token = 1; -} - -message CMsgSource2SystemSpecs { - optional string cpu_id = 1; - optional string cpu_brand = 2; - optional uint32 cpu_model = 3; - optional uint32 cpu_num_physical = 4; - optional uint32 ram_physical_total_mb = 21; - optional string gpu_rendersystem_dll_name = 41; - optional uint32 gpu_vendor_id = 42; - optional string gpu_driver_name = 43; - optional uint32 gpu_driver_version_high = 44; - optional uint32 gpu_driver_version_low = 45; - optional uint32 gpu_dx_support_level = 46; - optional uint32 gpu_texture_memory_size_mb = 47; - optional uint32 backbuffer_width = 51; - optional uint32 backbuffer_height = 52; -} - -message CMsgSource2VProfLiteReportItem { - optional string name = 1; - optional uint32 active_samples = 2; - optional uint32 active_samples_1secmax = 4; - optional uint32 usec_max = 3; - optional uint32 usec_avg_active = 11; - optional uint32 usec_p50_active = 12; - optional uint32 usec_p99_active = 13; - optional uint32 usec_avg_all = 21; - optional uint32 usec_p50_all = 22; - optional uint32 usec_p99_all = 23; - optional uint32 usec_1secmax_avg_active = 31; - optional uint32 usec_1secmax_p50_active = 32; - optional uint32 usec_1secmax_p95_active = 33; - optional uint32 usec_1secmax_p99_active = 34; - optional uint32 usec_1secmax_avg_all = 41; - optional uint32 usec_1secmax_p50_all = 42; - optional uint32 usec_1secmax_p95_all = 43; - optional uint32 usec_1secmax_p99_all = 44; -} - -message CMsgSource2VProfLiteReport { - optional .CMsgSource2VProfLiteReportItem total = 1; - repeated .CMsgSource2VProfLiteReportItem items = 2; - optional uint32 discarded_frames = 3; -} - -message CMsgSource2NetworkFlowQuality { - optional uint32 duration = 1; - optional uint64 bytes_total = 5; - optional uint64 bytes_total_reliable = 6; - optional uint64 bytes_total_voice = 7; - optional uint32 bytes_sec_p95 = 10; - optional uint32 bytes_sec_p99 = 11; - optional uint32 enginemsgs_total = 20; - optional uint32 enginemsgs_sec_p95 = 21; - optional uint32 enginemsgs_sec_p99 = 22; - optional uint32 ticks_total = 40; - optional uint32 ticks_good = 41; - optional uint32 ticks_good_almost_late = 42; - optional uint32 ticks_fixed_dropped = 43; - optional uint32 ticks_fixed_late = 44; - optional uint32 ticks_bad_dropped = 45; - optional uint32 ticks_bad_late = 46; - optional uint32 ticks_bad_other = 47; - optional uint32 tick_missrate_samples_total = 50; - optional uint32 tick_missrate_samples_perfect = 51; - optional uint32 tick_missrate_samples_perfectnet = 52; - optional uint32 tick_missratenet_p75_x10 = 53; - optional uint32 tick_missratenet_p95_x10 = 54; - optional uint32 tick_missratenet_p99_x10 = 55; - optional sint32 recvmargin_p1 = 61; - optional sint32 recvmargin_p5 = 62; - optional sint32 recvmargin_p25 = 63; - optional sint32 recvmargin_p50 = 64; - optional sint32 recvmargin_p75 = 65; - optional sint32 recvmargin_p95 = 66; -} - -message CMsgSource2PerfIntervalSample { - message Tag { - optional string tag = 1; - optional uint32 max_value = 2; - } - - optional float frame_time_max_ms = 1; - optional float frame_time_avg_ms = 2; - optional float frame_time_min_ms = 3; - optional int32 frame_count = 4; - optional float frame_time_total_ms = 5; - repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; -} - -message CCLCMsg_Diagnostic { - optional .CMsgSource2SystemSpecs system_specs = 1; - optional .CMsgSource2VProfLiteReport vprof_report = 2; - optional .CMsgSource2NetworkFlowQuality downstream_flow = 3; - optional .CMsgSource2NetworkFlowQuality upstream_flow = 4; - repeated .CMsgSource2PerfIntervalSample perf_samples = 5; -} - -message CSource2Metrics_MatchPerfSummary_Notification { - message Client { - optional .CMsgSource2SystemSpecs system_specs = 1; - optional .CMsgSource2VProfLiteReport profile = 2; - optional uint32 build_id = 3; - optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; - optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; - optional fixed64 steamid = 10; - repeated .CMsgSource2PerfIntervalSample perf_samples = 11; - } - - optional uint32 appid = 1; - optional string game_mode = 2; - optional uint32 server_build_id = 3; - optional fixed32 server_popid = 4; - optional .CMsgSource2VProfLiteReport server_profile = 10; - repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; - optional string map = 20; -} - -message CSVCMsg_ServerInfo { - optional int32 protocol = 1; - optional int32 server_count = 2; - optional bool is_dedicated = 3; - optional bool is_hltv = 4; - optional int32 c_os = 6; - optional int32 max_clients = 10; - optional int32 max_classes = 11; - optional int32 player_slot = 12 [default = -1]; - optional float tick_interval = 13; - optional string game_dir = 14; - optional string map_name = 15; - optional string sky_name = 16; - optional string host_name = 17; - optional string addon_name = 18; - optional .CSVCMsg_GameSessionConfiguration game_session_config = 19; - optional bytes game_session_manifest = 20; -} - -message CSVCMsg_ClassInfo { - message class_t { - optional int32 class_id = 1; - optional string class_name = 3; - } - - optional bool create_on_client = 1; - repeated .CSVCMsg_ClassInfo.class_t classes = 2; -} - -message CSVCMsg_SetPause { - optional bool paused = 1; -} - -message CSVCMsg_VoiceInit { - optional int32 quality = 1; - optional string codec = 2; - optional int32 version = 3 [default = 0]; -} - -message CSVCMsg_Print { - optional string text = 1; -} - -message CSVCMsg_Sounds { - message sounddata_t { - optional sint32 origin_x = 1; - optional sint32 origin_y = 2; - optional sint32 origin_z = 3; - optional uint32 volume = 4; - optional float delay_value = 5; - optional int32 sequence_number = 6; - optional int32 entity_index = 7 [default = -1]; - optional int32 channel = 8; - optional int32 pitch = 9; - optional int32 flags = 10; - optional uint32 sound_num = 11; - optional fixed32 sound_num_handle = 12; - optional int32 speaker_entity = 13; - optional int32 random_seed = 14; - optional int32 sound_level = 15; - optional bool is_sentence = 16; - optional bool is_ambient = 17; - optional uint32 guid = 18; - optional fixed64 sound_resource_id = 19; - } - - optional bool reliable_sound = 1; - repeated .CSVCMsg_Sounds.sounddata_t sounds = 2; -} - -message CSVCMsg_Prefetch { - optional int32 sound_index = 1; - optional .PrefetchType resource_type = 2 [default = PFT_SOUND]; -} - -message CSVCMsg_SetView { - optional int32 entity_index = 1 [default = -1]; - optional int32 slot = 2 [default = -1]; -} - -message CSVCMsg_FixAngle { - optional bool relative = 1; - optional .CMsgQAngle angle = 2; -} - -message CSVCMsg_CrosshairAngle { - optional .CMsgQAngle angle = 1; -} - -message CSVCMsg_BSPDecal { - optional .CMsgVector pos = 1; - optional int32 decal_texture_index = 2; - optional int32 entity_index = 3 [default = -1]; - optional int32 model_index = 4; - optional bool low_priority = 5; -} - -message CSVCMsg_SplitScreen { - optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; - optional int32 slot = 2; - optional int32 player_index = 3 [default = -1]; -} - -message CSVCMsg_GetCvarValue { - optional int32 cookie = 1; - optional string cvar_name = 2; -} - -message CSVCMsg_Menu { - optional int32 dialog_type = 1; - optional bytes menu_key_values = 2; -} - -message CSVCMsg_UserMessage { - optional int32 msg_type = 1; - optional bytes msg_data = 2; - optional int32 passthrough = 3; -} - -message CSVCMsg_SendTable { - message sendprop_t { - optional int32 type = 1; - optional string var_name = 2; - optional int32 flags = 3; - optional int32 priority = 4; - optional string dt_name = 5; - optional int32 num_elements = 6; - optional float low_value = 7; - optional float high_value = 8; - optional int32 num_bits = 9; - } - - optional bool is_end = 1; - optional string net_table_name = 2; - optional bool needs_decoder = 3; - repeated .CSVCMsg_SendTable.sendprop_t props = 4; -} - -message CSVCMsg_GameEventList { - message key_t { - optional int32 type = 1; - optional string name = 2; - } - - message descriptor_t { - optional int32 eventid = 1; - optional string name = 2; - repeated .CSVCMsg_GameEventList.key_t keys = 3; - } - - repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1; -} - -message CSVCMsg_PacketEntities { - message alternate_baseline_t { - optional int32 entity_index = 1; - optional int32 baseline_index = 2; - } - - message non_transmitted_entities_t { - optional int32 header_count = 1; - optional bytes data = 2; - } - - message outofpvs_entity_updates_t { - optional int32 count = 1; - optional bytes data = 2; - } - - optional int32 max_entries = 1; - optional int32 updated_entries = 2; - optional bool legacy_is_delta = 3; - optional bool update_baseline = 4; - optional int32 baseline = 5; - optional int32 delta_from = 6; - optional bytes entity_data = 7; - optional bool pending_full_frame = 8; - optional uint32 active_spawngroup_handle = 9; - optional uint32 max_spawngroup_creationsequence = 10; - optional uint32 last_cmd_number_executed = 11; - optional sint32 last_cmd_number_recv_delta = 17; - optional uint32 server_tick = 12; - optional bytes serialized_entities = 13; - repeated .CSVCMsg_PacketEntities.alternate_baseline_t alternate_baselines = 15; - optional uint32 has_pvs_vis_bits_deprecated = 16; - repeated sint32 cmd_recv_status = 22 [packed = true]; - optional .CSVCMsg_PacketEntities.non_transmitted_entities_t non_transmitted_entities = 19; - optional uint32 cq_starved_command_ticks = 20; - optional uint32 cq_discarded_command_ticks = 21; - optional .CSVCMsg_PacketEntities.outofpvs_entity_updates_t outofpvs_entity_updates = 23; - optional bytes dev_padding = 999; -} - -message CSVCMsg_TempEntities { - optional bool reliable = 1; - optional int32 num_entries = 2; - optional bytes entity_data = 3; -} - -message CSVCMsg_CreateStringTable { - optional string name = 1; - optional int32 num_entries = 2; - optional bool user_data_fixed_size = 3; - optional int32 user_data_size = 4; - optional int32 user_data_size_bits = 5; - optional int32 flags = 6; - optional bytes string_data = 7; - optional int32 uncompressed_size = 8; - optional bool data_compressed = 9; - optional bool using_varint_bitcounts = 10; -} - -message CSVCMsg_UpdateStringTable { - optional int32 table_id = 1; - optional int32 num_changed_entries = 2; - optional bytes string_data = 3; -} - -message CSVCMsg_VoiceData { - optional .CMsgVoiceAudio audio = 1; - optional int32 client = 2 [default = -1]; - optional bool proximity = 3; - optional fixed64 xuid = 4; - optional int32 audible_mask = 5; - optional uint32 tick = 6; - optional int32 passthrough = 7; -} - -message CSVCMsg_PacketReliable { - optional int32 tick = 1; - optional int32 messagessize = 2; - optional bool state = 3; -} - -message CSVCMsg_FullFrameSplit { - optional int32 tick = 1; - optional int32 section = 2; - optional int32 total = 3; - optional bytes data = 4; -} - -message CSVCMsg_HLTVStatus { - optional string master = 1; - optional int32 clients = 2; - optional int32 slots = 3; - optional int32 proxies = 4; -} - -message CSVCMsg_ServerSteamID { - optional uint64 steam_id = 1; -} - -message CSVCMsg_CmdKeyValues { - optional bytes data = 1; -} - -message CSVCMsg_RconServerDetails { - optional bytes token = 1; - optional string details = 2; -} - -message CMsgIPCAddress { - optional fixed64 computer_guid = 1; - optional uint32 process_id = 2; -} - -message CMsgServerPeer { - optional int32 player_slot = 1 [default = -1]; - optional fixed64 steamid = 2; - optional .CMsgIPCAddress ipc = 3; - optional bool they_hear_you = 4; - optional bool you_hear_them = 5; - optional bool is_listenserver_host = 6; -} - -message CSVCMsg_PeerList { - repeated .CMsgServerPeer peer = 1; -} - -message CSVCMsg_ClearAllStringTables { - optional string mapname = 1; - optional bool create_tables_skipped = 3; -} - -message ProtoFlattenedSerializerField_t { - message polymorphic_field_t { - optional int32 polymorphic_field_serializer_name_sym = 1; - optional int32 polymorphic_field_serializer_version = 2; - } - - optional int32 var_type_sym = 1; - optional int32 var_name_sym = 2; - optional int32 bit_count = 3; - optional float low_value = 4; - optional float high_value = 5; - optional int32 encode_flags = 6; - optional int32 field_serializer_name_sym = 7; - optional int32 field_serializer_version = 8; - optional int32 send_node_sym = 9; - optional int32 var_encoder_sym = 10; - repeated .ProtoFlattenedSerializerField_t.polymorphic_field_t polymorphic_types = 11; - optional int32 var_serializer_sym = 12; -} - -message ProtoFlattenedSerializer_t { - optional int32 serializer_name_sym = 1; - optional int32 serializer_version = 2; - repeated int32 fields_index = 3; -} - -message CSVCMsg_FlattenedSerializer { - repeated .ProtoFlattenedSerializer_t serializers = 1; - repeated string symbols = 2; - repeated .ProtoFlattenedSerializerField_t fields = 3; -} - -message CSVCMsg_StopSound { - optional fixed32 guid = 1; -} - -message CBidirMsg_RebroadcastGameEvent { - optional bool posttoserver = 1; - optional int32 buftype = 2; - optional uint32 clientbitcount = 3; - optional uint64 receivingclients = 4; -} - -message CBidirMsg_RebroadcastSource { - optional int32 eventsource = 1; -} - -message CBidirMsg_PredictionEvent { - enum ESyncType { - ST_Tick = 0; - ST_UserCmdNum = 1; - } - - required uint32 event_id = 1; - required bytes event_data = 2; - optional uint32 sync_type = 3; - optional uint32 sync_val_uint32 = 4; -} - -message CMsgServerNetworkStats { - message Port { - optional int32 port = 1; - optional string name = 2; - } - - message Player { - optional uint64 steamid = 1; - optional string remote_addr = 2; - optional int32 ping_avg_ms = 4; - optional float packet_loss_pct = 5; - optional bool is_bot = 6; - optional float loss_in = 7; - optional float loss_out = 8; - optional int32 engine_latency_ms = 9; - } - - optional bool dedicated = 1; - optional int32 cpu_usage = 2; - optional int32 memory_used_mb = 3; - optional int32 memory_free_mb = 4; - optional int32 uptime = 5; - optional int32 spawn_count = 6; - optional int32 num_clients = 8; - optional int32 num_bots = 9; - optional int32 num_spectators = 10; - optional int32 num_tv_relays = 11; - optional float fps = 12; - repeated .CMsgServerNetworkStats.Port ports = 17; - optional float avg_ping_ms = 18; - optional float avg_engine_latency_out = 19; - optional float avg_packets_out = 20; - optional float avg_packets_in = 21; - optional float avg_loss_out = 22; - optional float avg_loss_in = 23; - optional float avg_data_out = 24; - optional float avg_data_in = 25; - optional uint64 total_data_in = 26; - optional uint64 total_packets_in = 27; - optional uint64 total_data_out = 28; - optional uint64 total_packets_out = 29; - repeated .CMsgServerNetworkStats.Player players = 30; -} - -message CSVCMsg_HltvReplay { - optional int32 delay = 1; - optional int32 primary_target = 2 [default = -1]; - optional int32 replay_stop_at = 3; - optional int32 replay_start_at = 4; - optional int32 replay_slowdown_begin = 5; - optional int32 replay_slowdown_end = 6; - optional float replay_slowdown_rate = 7; - optional int32 reason = 8; -} - -message CCLCMsg_HltvReplay { - optional int32 request = 1; - optional float slowdown_length = 2; - optional float slowdown_rate = 3; - optional int32 primary_target = 4 [default = -1]; - optional float event_time = 5; -} - -message CSVCMsg_Broadcast_Command { - optional string cmd = 1; -} - -message CCLCMsg_HltvFixupOperatorTick { - optional int32 tick = 1; - optional bytes props_data = 2; - optional .CMsgVector origin = 3; - optional .CMsgQAngle eye_angles = 4; - optional int32 observer_mode = 5; - optional bool cameraman_scoreboard = 6; - optional int32 observer_target = 7; - optional .CMsgVector view_offset = 8; -} - -message CSVCMsg_HltvFixupOperatorStatus { - optional uint32 mode = 1; - optional string override_operator_name = 2; -} - -message CMsgServerUserCmd { - optional bytes data = 1; - optional int32 cmd_number = 2; - optional int32 player_slot = 3 [default = -1]; - optional int32 server_tick_executed = 4; - optional int32 client_tick = 5; -} - -message CSVCMsg_UserCommands { - repeated .CMsgServerUserCmd commands = 1; -} diff --git a/protobuf/network_connection.proto b/protobuf/network_connection.proto deleted file mode 100644 index 58bddc1ad..000000000 --- a/protobuf/network_connection.proto +++ /dev/null @@ -1,131 +0,0 @@ -import "google/protobuf/descriptor.proto"; - -extend .google.protobuf.EnumValueOptions { - optional string network_connection_token = 50500; - optional string network_connection_detail_token = 50501; - optional bool allowed_from_client = 50502 [default = true]; -} - -enum ENetworkDisconnectionReason { - NETWORK_DISCONNECT_INVALID = 0; - NETWORK_DISCONNECT_SHUTDOWN = 1; - NETWORK_DISCONNECT_DISCONNECT_BY_USER = 2 [(network_connection_token) = "#GameUI_Disconnect_User"]; - NETWORK_DISCONNECT_DISCONNECT_BY_SERVER = 3 [(network_connection_token) = "#GameUI_Disconnect_Server"]; - NETWORK_DISCONNECT_LOST = 4 [(network_connection_token) = "#GameUI_Disconnect_ConnectionLost"]; - NETWORK_DISCONNECT_OVERFLOW = 5 [(network_connection_token) = "#GameUI_Disconnect_ConnectionOverflow"]; - NETWORK_DISCONNECT_STEAM_BANNED = 6 [(network_connection_token) = "#GameUI_Disconnect_SteamIDBanned"]; - NETWORK_DISCONNECT_STEAM_INUSE = 7 [(network_connection_token) = "#GameUI_Disconnect_SteamIDInUse"]; - NETWORK_DISCONNECT_STEAM_TICKET = 8 [(network_connection_token) = "#GameUI_Disconnect_SteamTicket"]; - NETWORK_DISCONNECT_STEAM_LOGON = 9 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"]; - NETWORK_DISCONNECT_STEAM_AUTHCANCELLED = 10 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"]; - NETWORK_DISCONNECT_STEAM_AUTHALREADYUSED = 11 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"]; - NETWORK_DISCONNECT_STEAM_AUTHINVALID = 12 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"]; - NETWORK_DISCONNECT_STEAM_VACBANSTATE = 13 [(network_connection_token) = "#GameUI_Disconnect_SteamVAC", (allowed_from_client) = false]; - NETWORK_DISCONNECT_STEAM_LOGGED_IN_ELSEWHERE = 14 [(network_connection_token) = "#GameUI_Disconnect_SteamInUse"]; - NETWORK_DISCONNECT_STEAM_VAC_CHECK_TIMEDOUT = 15 [(network_connection_token) = "#GameUI_Disconnect_SteamTimeOut"]; - NETWORK_DISCONNECT_STEAM_DROPPED = 16 [(network_connection_token) = "#GameUI_Disconnect_SteamDropped"]; - NETWORK_DISCONNECT_STEAM_OWNERSHIP = 17 [(network_connection_token) = "#GameUI_Disconnect_SteamOwnership"]; - NETWORK_DISCONNECT_SERVERINFO_OVERFLOW = 18 [(network_connection_token) = "#GameUI_Disconnect_ServerInfoOverflow"]; - NETWORK_DISCONNECT_TICKMSG_OVERFLOW = 19 [(network_connection_token) = "#GameUI_Disconnect_TickMessage"]; - NETWORK_DISCONNECT_STRINGTABLEMSG_OVERFLOW = 20 [(network_connection_token) = "#GameUI_Disconnect_StringTableMessage"]; - NETWORK_DISCONNECT_DELTAENTMSG_OVERFLOW = 21 [(network_connection_token) = "#GameUI_Disconnect_DeltaEntMessage"]; - NETWORK_DISCONNECT_TEMPENTMSG_OVERFLOW = 22 [(network_connection_token) = "#GameUI_Disconnect_TempEntMessage"]; - NETWORK_DISCONNECT_SOUNDSMSG_OVERFLOW = 23 [(network_connection_token) = "#GameUI_Disconnect_SoundsMessage"]; - NETWORK_DISCONNECT_SNAPSHOTOVERFLOW = 24 [(network_connection_token) = "#GameUI_Disconnect_SnapshotOverflow"]; - NETWORK_DISCONNECT_SNAPSHOTERROR = 25 [(network_connection_token) = "#GameUI_Disconnect_SnapshotError"]; - NETWORK_DISCONNECT_RELIABLEOVERFLOW = 26 [(network_connection_token) = "#GameUI_Disconnect_ReliableOverflow"]; - NETWORK_DISCONNECT_BADDELTATICK = 27 [(network_connection_token) = "#GameUI_Disconnect_BadClientDeltaTick"]; - NETWORK_DISCONNECT_NOMORESPLITS = 28 [(network_connection_token) = "#GameUI_Disconnect_NoMoreSplits"]; - NETWORK_DISCONNECT_TIMEDOUT = 29 [(network_connection_token) = "#GameUI_Disconnect_TimedOut"]; - NETWORK_DISCONNECT_DISCONNECTED = 30 [(network_connection_token) = "#GameUI_Disconnect_Disconnected"]; - NETWORK_DISCONNECT_LEAVINGSPLIT = 31 [(network_connection_token) = "#GameUI_Disconnect_LeavingSplit"]; - NETWORK_DISCONNECT_DIFFERENTCLASSTABLES = 32 [(network_connection_token) = "#GameUI_Disconnect_DifferentClassTables"]; - NETWORK_DISCONNECT_BADRELAYPASSWORD = 33 [(network_connection_token) = "#GameUI_Disconnect_BadRelayPassword"]; - NETWORK_DISCONNECT_BADSPECTATORPASSWORD = 34 [(network_connection_token) = "#GameUI_Disconnect_BadSpectatorPassword"]; - NETWORK_DISCONNECT_HLTVRESTRICTED = 35 [(network_connection_token) = "#GameUI_Disconnect_HLTVRestricted"]; - NETWORK_DISCONNECT_NOSPECTATORS = 36 [(network_connection_token) = "#GameUI_Disconnect_NoSpectators"]; - NETWORK_DISCONNECT_HLTVUNAVAILABLE = 37 [(network_connection_token) = "#GameUI_Disconnect_HLTVUnavailable"]; - NETWORK_DISCONNECT_HLTVSTOP = 38 [(network_connection_token) = "#GameUI_Disconnect_HLTVStop"]; - NETWORK_DISCONNECT_KICKED = 39 [(network_connection_token) = "#GameUI_Disconnect_Kicked"]; - NETWORK_DISCONNECT_BANADDED = 40 [(network_connection_token) = "#GameUI_Disconnect_BanAdded"]; - NETWORK_DISCONNECT_KICKBANADDED = 41 [(network_connection_token) = "#GameUI_Disconnect_KickBanAdded"]; - NETWORK_DISCONNECT_HLTVDIRECT = 42 [(network_connection_token) = "#GameUI_Disconnect_HLTVDirect"]; - NETWORK_DISCONNECT_PURESERVER_CLIENTEXTRA = 43 [(network_connection_token) = "#GameUI_Disconnect_PureServer_ClientExtra"]; - NETWORK_DISCONNECT_PURESERVER_MISMATCH = 44 [(network_connection_token) = "#GameUI_Disconnect_PureServer_Mismatch"]; - NETWORK_DISCONNECT_USERCMD = 45 [(network_connection_token) = "#GameUI_Disconnect_UserCmd"]; - NETWORK_DISCONNECT_REJECTED_BY_GAME = 46 [(network_connection_token) = "#GameUI_Disconnect_RejectedByGame"]; - NETWORK_DISCONNECT_MESSAGE_PARSE_ERROR = 47 [(network_connection_token) = "#GameUI_Disconnect_MessageParseError"]; - NETWORK_DISCONNECT_INVALID_MESSAGE_ERROR = 48 [(network_connection_token) = "#GameUI_Disconnect_InvalidMessageError"]; - NETWORK_DISCONNECT_BAD_SERVER_PASSWORD = 49 [(network_connection_token) = "#GameUI_Disconnect_BadServerPassword"]; - NETWORK_DISCONNECT_DIRECT_CONNECT_RESERVATION = 50; - NETWORK_DISCONNECT_CONNECTION_FAILURE = 51 [(network_connection_token) = "#GameUI_Disconnect_ConnectionFailure"]; - NETWORK_DISCONNECT_NO_PEER_GROUP_HANDLERS = 52 [(network_connection_token) = "#GameUI_Disconnect_NoPeerGroupHandlers"]; - NETWORK_DISCONNECT_RECONNECTION = 53; - NETWORK_DISCONNECT_LOOPSHUTDOWN = 54 [(network_connection_token) = "#GameUI_Disconnect_LoopShutdown"]; - NETWORK_DISCONNECT_LOOPDEACTIVATE = 55 [(network_connection_token) = "#GameUI_Disconnect_LoopDeactivate"]; - NETWORK_DISCONNECT_HOST_ENDGAME = 56 [(network_connection_token) = "#GameUI_Disconnect_Host_EndGame"]; - NETWORK_DISCONNECT_LOOP_LEVELLOAD_ACTIVATE = 57 [(network_connection_token) = "#GameUI_Disconnect_LoopLevelLoadActivate"]; - NETWORK_DISCONNECT_CREATE_SERVER_FAILED = 58 [(network_connection_token) = "#GameUI_Disconnect_CreateServerFailed"]; - NETWORK_DISCONNECT_EXITING = 59 [(network_connection_token) = "#GameUI_Disconnect_ExitingEngine"]; - NETWORK_DISCONNECT_REQUEST_HOSTSTATE_IDLE = 60 [(network_connection_token) = "#GameUI_Disconnect_Request_HSIdle"]; - NETWORK_DISCONNECT_REQUEST_HOSTSTATE_HLTVRELAY = 61 [(network_connection_token) = "#GameUI_Disconnect_Request_HLTVRelay"]; - NETWORK_DISCONNECT_CLIENT_CONSISTENCY_FAIL = 62 [(network_connection_token) = "#GameUI_ClientConsistencyFail"]; - NETWORK_DISCONNECT_CLIENT_UNABLE_TO_CRC_MAP = 63 [(network_connection_token) = "#GameUI_ClientUnableToCRCMap"]; - NETWORK_DISCONNECT_CLIENT_NO_MAP = 64 [(network_connection_token) = "#GameUI_ClientNoMap"]; - NETWORK_DISCONNECT_CLIENT_DIFFERENT_MAP = 65 [(network_connection_token) = "#GameUI_ClientDifferentMap"]; - NETWORK_DISCONNECT_SERVER_REQUIRES_STEAM = 66 [(network_connection_token) = "#GameUI_ServerRequireSteams"]; - NETWORK_DISCONNECT_STEAM_DENY_MISC = 67 [(network_connection_token) = "#GameUI_Disconnect_SteamDeny_Misc"]; - NETWORK_DISCONNECT_STEAM_DENY_BAD_ANTI_CHEAT = 68 [(network_connection_token) = "#GameUI_Disconnect_SteamDeny_BadAntiCheat"]; - NETWORK_DISCONNECT_SERVER_SHUTDOWN = 69 [(network_connection_token) = "#GameUI_Disconnect_ServerShutdown"]; - NETWORK_DISCONNECT_REPLAY_INCOMPATIBLE = 71 [(network_connection_token) = "#GameUI_Disconnect_ReplayIncompatible"]; - NETWORK_DISCONNECT_CONNECT_REQUEST_TIMEDOUT = 72 [(network_connection_token) = "#GameUI_Disconnect_ConnectionTimedout"]; - NETWORK_DISCONNECT_SERVER_INCOMPATIBLE = 73 [(network_connection_token) = "#GameUI_Disconnect_ServerIncompatible"]; - NETWORK_DISCONNECT_LOCALPROBLEM_MANYRELAYS = 74 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_ManyRelays"]; - NETWORK_DISCONNECT_LOCALPROBLEM_HOSTEDSERVERPRIMARYRELAY = 75 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_HostedServerPrimaryRelay"]; - NETWORK_DISCONNECT_LOCALPROBLEM_NETWORKCONFIG = 76 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_NetworkConfig"]; - NETWORK_DISCONNECT_LOCALPROBLEM_OTHER = 77 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_Other"]; - NETWORK_DISCONNECT_REMOTE_TIMEOUT = 79 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_Timeout"]; - NETWORK_DISCONNECT_REMOTE_TIMEOUT_CONNECTING = 80 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_TimeoutConnecting"]; - NETWORK_DISCONNECT_REMOTE_OTHER = 81 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_Other"]; - NETWORK_DISCONNECT_REMOTE_BADCRYPT = 82 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_BadCrypt"]; - NETWORK_DISCONNECT_REMOTE_CERTNOTTRUSTED = 83 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_BadCert"]; - NETWORK_DISCONNECT_UNUSUAL = 84 [(network_connection_token) = "#GameUI_Disconnect_Unusual"]; - NETWORK_DISCONNECT_INTERNAL_ERROR = 85 [(network_connection_token) = "#GameUI_Disconnect_InternalError"]; - NETWORK_DISCONNECT_REJECT_BADCHALLENGE = 128 [(network_connection_token) = "#GameUI_ServerRejectBadChallenge"]; - NETWORK_DISCONNECT_REJECT_NOLOBBY = 129 [(network_connection_token) = "#GameUI_ServerNoLobby"]; - NETWORK_DISCONNECT_REJECT_BACKGROUND_MAP = 130 [(network_connection_token) = "#Valve_Reject_Background_Map"]; - NETWORK_DISCONNECT_REJECT_SINGLE_PLAYER = 131 [(network_connection_token) = "#Valve_Reject_Single_Player"]; - NETWORK_DISCONNECT_REJECT_HIDDEN_GAME = 132 [(network_connection_token) = "#Valve_Reject_Hidden_Game"]; - NETWORK_DISCONNECT_REJECT_LANRESTRICT = 133 [(network_connection_token) = "#GameUI_ServerRejectLANRestrict"]; - NETWORK_DISCONNECT_REJECT_BADPASSWORD = 134 [(network_connection_token) = "#GameUI_ServerRejectBadPassword"]; - NETWORK_DISCONNECT_REJECT_SERVERFULL = 135 [(network_connection_token) = "#GameUI_ServerRejectServerFull"]; - NETWORK_DISCONNECT_REJECT_INVALIDRESERVATION = 136 [(network_connection_token) = "#GameUI_ServerRejectInvalidReservation"]; - NETWORK_DISCONNECT_REJECT_FAILEDCHANNEL = 137 [(network_connection_token) = "#GameUI_ServerRejectFailedChannel"]; - NETWORK_DISCONNECT_REJECT_CONNECT_FROM_LOBBY = 138 [(network_connection_token) = "#Valve_Reject_Connect_From_Lobby"]; - NETWORK_DISCONNECT_REJECT_RESERVED_FOR_LOBBY = 139 [(network_connection_token) = "#Valve_Reject_Reserved_For_Lobby"]; - NETWORK_DISCONNECT_REJECT_INVALIDKEYLENGTH = 140 [(network_connection_token) = "#GameUI_ServerReject_InvalidKeyLength"]; - NETWORK_DISCONNECT_REJECT_OLDPROTOCOL = 141 [(network_connection_token) = "#GameUI_ServerRejectOldProtocol"]; - NETWORK_DISCONNECT_REJECT_NEWPROTOCOL = 142 [(network_connection_token) = "#GameUI_ServerRejectNewProtocol"]; - NETWORK_DISCONNECT_REJECT_INVALIDCONNECTION = 143 [(network_connection_token) = "#GameUI_ServerRejectInvalidConnection"]; - NETWORK_DISCONNECT_REJECT_INVALIDCERTLEN = 144 [(network_connection_token) = "#GameUI_ServerRejectInvalidCertLen"]; - NETWORK_DISCONNECT_REJECT_INVALIDSTEAMCERTLEN = 145 [(network_connection_token) = "#GameUI_ServerRejectInvalidSteamCertLen"]; - NETWORK_DISCONNECT_REJECT_STEAM = 146 [(network_connection_token) = "#GameUI_ServerRejectSteam"]; - NETWORK_DISCONNECT_REJECT_SERVERAUTHDISABLED = 147 [(network_connection_token) = "#GameUI_ServerAuthDisabled"]; - NETWORK_DISCONNECT_REJECT_SERVERCDKEYAUTHINVALID = 148 [(network_connection_token) = "#GameUI_ServerCDKeyAuthInvalid"]; - NETWORK_DISCONNECT_REJECT_BANNED = 149 [(network_connection_token) = "#GameUI_ServerRejectBanned"]; - NETWORK_DISCONNECT_KICKED_TEAMKILLING = 150 [(network_connection_token) = "#Player_DisconnectReason_TeamKilling"]; - NETWORK_DISCONNECT_KICKED_TK_START = 151 [(network_connection_token) = "#Player_DisconnectReason_TK_Start"]; - NETWORK_DISCONNECT_KICKED_UNTRUSTEDACCOUNT = 152 [(network_connection_token) = "#Player_DisconnectReason_UntrustedAccount"]; - NETWORK_DISCONNECT_KICKED_CONVICTEDACCOUNT = 153 [(network_connection_token) = "#Player_DisconnectReason_ConvictedAccount"]; - NETWORK_DISCONNECT_KICKED_COMPETITIVECOOLDOWN = 154 [(network_connection_token) = "#Player_DisconnectReason_CompetitiveCooldown"]; - NETWORK_DISCONNECT_KICKED_TEAMHURTING = 155 [(network_connection_token) = "#Player_DisconnectReason_TeamHurting"]; - NETWORK_DISCONNECT_KICKED_HOSTAGEKILLING = 156 [(network_connection_token) = "#Player_DisconnectReason_HostageKilling"]; - NETWORK_DISCONNECT_KICKED_VOTEDOFF = 157 [(network_connection_token) = "#Player_DisconnectReason_VotedOff"]; - NETWORK_DISCONNECT_KICKED_IDLE = 158 [(network_connection_token) = "#Player_DisconnectReason_Idle"]; - NETWORK_DISCONNECT_KICKED_SUICIDE = 159 [(network_connection_token) = "#Player_DisconnectReason_Suicide"]; - NETWORK_DISCONNECT_KICKED_NOSTEAMLOGIN = 160 [(network_connection_token) = "#Player_DisconnectReason_NoSteamLogin"]; - NETWORK_DISCONNECT_KICKED_NOSTEAMTICKET = 161 [(network_connection_token) = "#Player_DisconnectReason_NoSteamTicket"]; - NETWORK_DISCONNECT_KICKED_INPUTAUTOMATION = 162 [(network_connection_token) = "#Player_DisconnectReason_InputAutomation", (network_connection_detail_token) = "#Player_DisconnectReason_InputAutomation_Detail"]; - NETWORK_DISCONNECT_KICKED_VACNETABNORMALBEHAVIOR = 163 [(network_connection_token) = "#Player_DisconnectReason_VacNetAbnormalBehavior", (allowed_from_client) = false]; - NETWORK_DISCONNECT_KICKED_INSECURECLIENT = 164 [(network_connection_token) = "#Player_DisconnectReason_InsecureClient"]; -} diff --git a/protobuf/networkbasetypes.proto b/protobuf/networkbasetypes.proto deleted file mode 100644 index 9a3a60d9c..000000000 --- a/protobuf/networkbasetypes.proto +++ /dev/null @@ -1,241 +0,0 @@ -import "network_connection.proto"; - -enum SignonState_t { - SIGNONSTATE_NONE = 0; - SIGNONSTATE_CHALLENGE = 1; - SIGNONSTATE_CONNECTED = 2; - SIGNONSTATE_NEW = 3; - SIGNONSTATE_PRESPAWN = 4; - SIGNONSTATE_SPAWN = 5; - SIGNONSTATE_FULL = 6; - SIGNONSTATE_CHANGELEVEL = 7; -} - -enum NET_Messages { - net_NOP = 0; - net_Disconnect_Legacy = 1; - net_SplitScreenUser = 3; - net_Tick = 4; - net_StringCmd = 5; - net_SetConVar = 6; - net_SignonState = 7; - net_SpawnGroup_Load = 8; - net_SpawnGroup_ManifestUpdate = 9; - net_SpawnGroup_SetCreationTick = 11; - net_SpawnGroup_Unload = 12; - net_SpawnGroup_LoadCompleted = 13; - net_DebugOverlay = 15; -} - -enum SpawnGroupFlags_t { - SPAWN_GROUP_LOAD_ENTITIES_FROM_SAVE = 1; - SPAWN_GROUP_DONT_SPAWN_ENTITIES = 2; - SPAWN_GROUP_SYNCHRONOUS_SPAWN = 4; - SPAWN_GROUP_IS_INITIAL_SPAWN_GROUP = 8; - SPAWN_GROUP_CREATE_CLIENT_ONLY_ENTITIES = 16; - SPAWN_GROUP_BLOCK_UNTIL_LOADED = 64; - SPAWN_GROUP_LOAD_STREAMING_DATA = 128; - SPAWN_GROUP_CREATE_NEW_SCENE_WORLD = 256; -} - -message CMsgVector { - optional float x = 1; - optional float y = 2; - optional float z = 3; - optional float w = 4; -} - -message CMsgVector2D { - optional float x = 1; - optional float y = 2; -} - -message CMsgQAngle { - optional float x = 1; - optional float y = 2; - optional float z = 3; -} - -message CMsgQuaternion { - optional float x = 1; - optional float y = 2; - optional float z = 3; - optional float w = 4; -} - -message CMsgTransform { - optional .CMsgVector position = 1; - optional float scale = 2; - optional .CMsgQuaternion orientation = 3; -} - -message CMsgRGBA { - optional int32 r = 1; - optional int32 g = 2; - optional int32 b = 3; - optional int32 a = 4; -} - -message CMsgPlayerInfo { - optional string name = 1; - optional fixed64 xuid = 2; - optional int32 userid = 3; - optional fixed64 steamid = 4; - optional bool fakeplayer = 5; - optional bool ishltv = 6; -} - -message CEntityMsg { - optional uint32 target_entity = 1 [default = 16777215]; -} - -message CMsg_CVars { - message CVar { - optional string name = 1; - optional string value = 2; - } - - repeated .CMsg_CVars.CVar cvars = 1; -} - -message CNETMsg_NOP { -} - -message CNETMsg_SplitScreenUser { - optional int32 slot = 1; -} - -message CNETMsg_Tick { - optional uint32 tick = 1; - optional uint32 host_computationtime = 4; - optional uint32 host_computationtime_std_deviation = 5; - optional uint32 legacy_host_loss = 7; - optional uint32 host_unfiltered_frametime = 8; - optional uint32 hltv_replay_flags = 9; - optional uint32 expected_long_tick = 10; - optional string expected_long_tick_reason = 11; - optional uint32 host_frame_dropped_pct_x10 = 12; - optional uint32 host_frame_irregular_arrival_pct_x10 = 13; -} - -message CNETMsg_StringCmd { - optional string command = 1; - optional uint32 prediction_sync = 2; -} - -message CNETMsg_SetConVar { - optional .CMsg_CVars convars = 1; -} - -message CNETMsg_SignonState { - optional .SignonState_t signon_state = 1 [default = SIGNONSTATE_NONE]; - optional uint32 spawn_count = 2; - optional uint32 num_server_players = 3; - repeated string players_networkids = 4; - optional string map_name = 5; - optional string addons = 6; -} - -message CSVCMsg_GameEvent { - message key_t { - optional int32 type = 1; - optional string val_string = 2; - optional float val_float = 3; - optional int32 val_long = 4; - optional int32 val_short = 5; - optional int32 val_byte = 6; - optional bool val_bool = 7; - optional uint64 val_uint64 = 8; - } - - optional string event_name = 1; - optional int32 eventid = 2; - repeated .CSVCMsg_GameEvent.key_t keys = 3; -} - -message CSVCMsgList_GameEvents { - message event_t { - optional int32 tick = 1; - optional .CSVCMsg_GameEvent event = 2; - } - - repeated .CSVCMsgList_GameEvents.event_t events = 1; -} - -message CNETMsg_SpawnGroup_Load { - optional string worldname = 1; - optional string entitylumpname = 2; - optional string entityfiltername = 3; - optional uint32 spawngrouphandle = 4; - optional uint32 spawngroupownerhandle = 5; - optional .CMsgVector world_offset_pos = 6; - optional .CMsgQAngle world_offset_angle = 7; - optional bytes spawngroupmanifest = 8; - optional uint32 flags = 9; - optional int32 tickcount = 10; - optional bool manifestincomplete = 11; - optional string localnamefixup = 12; - optional string parentnamefixup = 13; - optional int32 manifestloadpriority = 14; - optional uint32 worldgroupid = 15; - optional uint32 creationsequence = 16; - optional string savegamefilename = 17; - optional uint32 spawngroupparenthandle = 18; - optional bool leveltransition = 19; - optional string worldgroupname = 20; -} - -message CNETMsg_SpawnGroup_ManifestUpdate { - optional uint32 spawngrouphandle = 1; - optional bytes spawngroupmanifest = 2; - optional bool manifestincomplete = 3; -} - -message CNETMsg_SpawnGroup_SetCreationTick { - optional uint32 spawngrouphandle = 1; - optional int32 tickcount = 2; - optional uint32 creationsequence = 3; -} - -message CNETMsg_SpawnGroup_Unload { - optional uint32 spawngrouphandle = 1; - optional uint32 flags = 2; - optional int32 tickcount = 3; -} - -message CNETMsg_SpawnGroup_LoadCompleted { - optional uint32 spawngrouphandle = 1; -} - -message CSVCMsg_GameSessionConfiguration { - optional bool is_multiplayer = 1; - optional bool is_loadsavegame = 2; - optional bool is_background_map = 3; - optional bool is_headless = 4; - optional uint32 min_client_limit = 5; - optional uint32 max_client_limit = 6; - optional uint32 max_clients = 7; - optional fixed32 tick_interval = 8; - optional string hostname = 9; - optional string savegamename = 10; - optional string s1_mapname = 11; - optional string gamemode = 12; - optional string server_ip_address = 13; - optional bytes data = 14; - optional bool is_localonly = 15; - optional bool no_steam_server = 19; - optional bool is_transition = 16; - optional string previouslevel = 17; - optional string landmarkname = 18; -} - -message CNETMsg_DebugOverlay { - optional int32 etype = 1; - repeated .CMsgVector vectors = 2; - repeated .CMsgRGBA colors = 3; - repeated float dimensions = 4; - repeated float times = 5; - repeated bool bools = 6; - repeated uint64 uint64s = 7; - repeated string strings = 8; -} diff --git a/protobuf/networksystem_protomessages.proto b/protobuf/networksystem_protomessages.proto deleted file mode 100644 index 1f51cf364..000000000 --- a/protobuf/networksystem_protomessages.proto +++ /dev/null @@ -1,19 +0,0 @@ -message NetMessageSplitscreenUserChanged { - optional uint32 slot = 1; -} - -message NetMessageConnectionClosed { - optional uint32 reason = 1; - optional string message = 2; -} - -message NetMessageConnectionCrashed { - optional uint32 reason = 1; - optional string message = 2; -} - -message NetMessagePacketStart { -} - -message NetMessagePacketEnd { -} diff --git a/protobuf/prediction_events.proto b/protobuf/prediction_events.proto deleted file mode 100644 index 3f50976af..000000000 --- a/protobuf/prediction_events.proto +++ /dev/null @@ -1,24 +0,0 @@ -import "networkbasetypes.proto"; - -enum EBasePredictionEvents { - BPE_StringCommand = 128; - BPE_Teleport = 130; - BPE_Diagnostic = 16384; -} - -message CPredictionEvent_Teleport { - optional .CMsgVector origin = 1; - optional .CMsgQAngle angles = 2; - optional float drop_to_ground_range = 3; -} - -message CPredictionEvent_StringCommand { - optional string command = 1; -} - -message CPredictionEvent_Diagnostic { - optional uint32 id = 1; - optional uint32 requested_sync = 2; - optional uint32 requested_player_index = 3; - repeated uint32 execution_sync = 4; -} diff --git a/protobuf/protocompile.sh b/protobuf/protocompile.sh deleted file mode 100644 index 4a8407800..000000000 --- a/protobuf/protocompile.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -mkdir -p temp/google/protobuf -mkdir generated - -for proto in *.proto; do - sed '1i\syntax = "proto2";' "$proto" > "temp/$proto" -done - -cd temp -cp ../../sdk/devtools/bin/linux/protoc . -cp ../include/descriptor.proto google/protobuf - -./protoc --cpp_out=../generated *.proto - -cd .. -rm -rf temp \ No newline at end of file diff --git a/protobuf/steamdatagram_messages_auth.proto b/protobuf/steamdatagram_messages_auth.proto deleted file mode 100644 index c97793e44..000000000 --- a/protobuf/steamdatagram_messages_auth.proto +++ /dev/null @@ -1,65 +0,0 @@ -import "steamnetworkingsockets_messages_certs.proto"; - -option optimize_for = SPEED; -option cc_generic_services = false; - -message CMsgSteamDatagramRelayAuthTicket { - message ExtraField { - optional string name = 1; - optional string string_value = 2; - optional sint64 int64_value = 3; - optional fixed64 fixed64_value = 5; - } - - optional fixed32 time_expiry = 1; - optional string authorized_client_identity_string = 14; - optional string gameserver_identity_string = 15; - optional fixed32 authorized_public_ip = 3; - optional bytes gameserver_address = 11; - optional uint32 app_id = 7; - optional uint32 virtual_port = 10; - repeated .CMsgSteamDatagramRelayAuthTicket.ExtraField extra_fields = 8; - optional fixed64 legacy_authorized_steam_id = 2; - optional fixed64 legacy_gameserver_steam_id = 4; - optional fixed32 legacy_gameserver_pop_id = 9; - optional bytes legacy_authorized_client_identity_binary = 12; - optional bytes legacy_gameserver_identity_binary = 13; -} - -message CMsgSteamDatagramSignedRelayAuthTicket { - optional fixed64 reserved_do_not_use = 1; - optional bytes ticket = 3; - optional bytes signature = 4; - optional fixed64 key_id = 2; - repeated .CMsgSteamDatagramCertificateSigned certs = 5; -} - -message CMsgSteamDatagramCachedCredentialsForApp { - optional bytes private_key = 1; - optional bytes cert = 2; - repeated bytes relay_tickets = 3; -} - -message CMsgSteamDatagramGameCoordinatorServerLogin { - optional uint32 time_generated = 1; - optional uint32 appid = 2; - optional bytes routing = 3; - optional bytes appdata = 4; - optional bytes legacy_identity_binary = 5; - optional string identity_string = 6; - optional fixed64 dummy_steam_id = 99; -} - -message CMsgSteamDatagramSignedGameCoordinatorServerLogin { - optional .CMsgSteamDatagramCertificateSigned cert = 1; - optional bytes login = 2; - optional bytes signature = 3; -} - -message CMsgSteamDatagramHostedServerAddressPlaintext { - optional fixed32 ipv4 = 1; - optional bytes ipv6 = 2; - optional uint32 port = 3; - optional fixed64 routing_secret = 4; - optional uint32 protocol_version = 5; -} diff --git a/protobuf/steamdatagram_messages_sdr.proto b/protobuf/steamdatagram_messages_sdr.proto deleted file mode 100644 index d257e9215..000000000 --- a/protobuf/steamdatagram_messages_sdr.proto +++ /dev/null @@ -1,545 +0,0 @@ -import "steamnetworkingsockets_messages_certs.proto"; -import "steamnetworkingsockets_messages.proto"; - -option optimize_for = SPEED; -option cc_generic_services = false; - -enum ESteamDatagramMsgID { - k_ESteamDatagramMsg_Invalid = 0; - k_ESteamDatagramMsg_RouterPingRequest = 1; - k_ESteamDatagramMsg_RouterPingReply = 2; - k_ESteamDatagramMsg_GameserverPingRequest = 3; - k_ESteamDatagramMsg_GameserverSessionRequest = 5; - k_ESteamDatagramMsg_GameserverSessionEstablished = 6; - k_ESteamDatagramMsg_NoSession = 7; - k_ESteamDatagramMsg_Diagnostic = 8; - k_ESteamDatagramMsg_DataClientToRouter = 9; - k_ESteamDatagramMsg_DataRouterToServer = 10; - k_ESteamDatagramMsg_DataServerToRouter = 11; - k_ESteamDatagramMsg_DataRouterToClient = 12; - k_ESteamDatagramMsg_Stats = 13; - k_ESteamDatagramMsg_ClientPingSampleRequest = 14; - k_ESteamDatagramMsg_ClientPingSampleReply = 15; - k_ESteamDatagramMsg_ClientToRouterSwitchedPrimary = 16; - k_ESteamDatagramMsg_RelayHealth = 17; - k_ESteamDatagramMsg_ConnectRequest = 18; - k_ESteamDatagramMsg_ConnectOK = 19; - k_ESteamDatagramMsg_ConnectionClosed = 20; - k_ESteamDatagramMsg_NoConnection = 21; - k_ESteamDatagramMsg_TicketDecryptRequest = 22; - k_ESteamDatagramMsg_TicketDecryptReply = 23; - k_ESteamDatagramMsg_P2PSessionRequest = 24; - k_ESteamDatagramMsg_P2PSessionEstablished = 25; - k_ESteamDatagramMsg_P2PStatsClient = 26; - k_ESteamDatagramMsg_P2PStatsRelay = 27; - k_ESteamDatagramMsg_P2PBadRoute = 28; - k_ESteamDatagramMsg_GameserverPingReply = 29; - k_ESteamDatagramMsg_LegacyGameserverRegistration = 30; - k_ESteamDatagramMsg_SetSecondaryAddressRequest = 31; - k_ESteamDatagramMsg_SetSecondaryAddressResult = 32; - k_ESteamDatagramMsg_RelayToRelayPingRequest = 33; - k_ESteamDatagramMsg_RelayToRelayPingReply = 34; -} - -message CMsgSteamNetworkingIPAddress { - optional fixed32 v4 = 1; - optional bytes v6 = 2; -} - -message CMsgSteamDatagramSignedMessageGeneric { - optional .CMsgSteamDatagramCertificateSigned cert = 1; - optional bytes signed_data = 2; - optional bytes signature = 3; - optional bytes dummy_pad = 1023; -} - -message CMsgSteamDatagramRouterPingReply { - message RouteException { - optional fixed32 data_center_id = 1; - optional uint32 flags = 2; - optional uint32 penalty = 3; - } - - message AltAddress { - enum Protocol { - DefaultProtocol = 0; - } - - optional fixed32 ipv4 = 1; - optional uint32 port = 2; - optional uint32 penalty = 3; - optional .CMsgSteamDatagramRouterPingReply.AltAddress.Protocol protocol = 4 [default = DefaultProtocol]; - optional string id = 5; - } - - enum Flags { - FLAG_MAYBE_MORE_DATA_CENTERS = 1; - FLAG_MAYBE_MORE_ALT_ADDRESSES = 2; - } - - optional fixed32 client_timestamp = 1; - repeated fixed32 latency_datacenter_ids = 2 [packed = true]; - repeated uint32 latency_ping_ms = 3 [packed = true]; - repeated fixed32 latency_datacenter_ids_p2p = 14 [packed = true]; - repeated uint32 latency_ping_ms_p2p = 15 [packed = true]; - optional fixed32 your_public_ip = 4; - optional fixed32 your_public_port = 11; - optional fixed32 server_time = 5; - optional fixed64 challenge = 6; - optional uint32 seconds_until_shutdown = 7; - optional fixed32 client_cookie = 8; - optional uint32 recv_tos = 16; - optional uint32 echo_sent_tos = 17; - optional uint32 sent_tos = 18; - optional uint32 echo_request_reply_tos = 19; - optional uint32 scoring_penalty_relay_cluster = 9; - optional uint32 flags = 12; - repeated .CMsgSteamDatagramRouterPingReply.RouteException route_exceptions = 10; - repeated .CMsgSteamDatagramRouterPingReply.AltAddress alt_addresses = 13; - optional bytes dummy_pad = 99; - optional uint64 dummy_varint = 100; -} - -message CMsgSteamDatagramGameserverPingRequestBody { - optional fixed32 relay_popid = 1; - optional .CMsgSteamNetworkingIPAddress your_public_ip = 2; - optional uint32 your_public_port = 3; - optional uint64 relay_unix_time = 4; - optional fixed64 routing_secret = 5; - repeated .CMsgSteamNetworkingIPAddress my_ips = 6; - optional bytes echo = 8; -} - -message CMsgSteamDatagramGameserverPingRequestEnvelope { - optional .CMsgSteamDatagramCertificateSigned cert = 6; - optional bytes signed_data = 7; - optional bytes signature = 8; - optional fixed32 legacy_your_public_ip = 1; - optional fixed32 legacy_your_public_port = 5; - optional fixed32 legacy_relay_unix_time = 2; - optional fixed64 legacy_challenge = 3; - optional fixed32 legacy_router_timestamp = 4; - optional bytes dummy_pad = 1023; -} - -message CMsgSteamDatagramGameserverPingReplyData { - optional fixed32 echo_relay_unix_time = 2; - optional bytes echo = 8; - optional fixed64 legacy_challenge = 3; - optional fixed32 legacy_router_timestamp = 4; - optional fixed32 data_center_id = 5; - optional uint32 appid = 6; - optional uint32 protocol_version = 7; - optional string build = 9; - optional uint64 network_config_version = 10; - optional fixed32 my_unix_time = 11; - optional bytes routing_blob = 12; -} - -message CMsgSteamDatagramNoSessionRelayToClient { - optional fixed32 connection_id = 7; - optional fixed32 your_public_ip = 2; - optional fixed32 your_public_port = 6; - optional fixed32 server_time = 3; - optional fixed64 challenge = 4; - optional uint32 seconds_until_shutdown = 5; -} - -message CMsgSteamDatagramNoSessionRelayToPeer { - optional uint32 legacy_relay_session_id = 1; - optional fixed32 from_relay_session_id = 2; - optional fixed32 from_connection_id = 7; - optional fixed64 kludge_pad = 99; -} - -message CMsgTOSTreatment { - optional string l4s_detect = 1; - optional string up_ecn1 = 2; - optional string down_dscp45 = 3; -} - -message CMsgSteamDatagramClientPingSampleRequest { - optional fixed32 connection_id = 1; -} - -message CMsgSteamDatagramClientPingSampleReply { - message POP { - message AltAddress { - optional string id = 1; - optional uint32 front_ping_ms = 2; - optional uint32 penalty = 3; - } - - optional fixed32 pop_id = 1; - optional uint32 default_front_ping_ms = 2; - optional uint32 cluster_penalty = 4; - repeated .CMsgSteamDatagramClientPingSampleReply.POP.AltAddress alt_addresses = 7; - optional uint32 default_e2e_ping_ms = 3; - optional uint32 default_e2e_score = 5; - optional fixed32 p2p_via_peer_relay_pop_id = 6; - optional uint32 best_dc_ping_ms = 9; - optional uint32 best_dc_score = 10; - optional fixed32 best_dc_via_relay_pop_id = 11; - optional uint32 default_dc_ping_ms = 12; - optional uint32 default_dc_score = 13; - optional fixed32 default_dc_via_relay_pop_id = 14; - optional uint32 test_dc_ping_ms = 15; - optional uint32 test_dc_score = 16; - optional fixed32 test_dc_via_relay_pop_id = 17; - } - - message LegacyDataCenter { - optional fixed32 data_center_id = 1; - optional fixed32 best_dc_via_relay_pop_id = 2; - optional uint32 best_dc_ping_ms = 3; - } - - optional fixed32 connection_id = 1; - optional bool relay_override_active = 5; - optional .CMsgTOSTreatment tos = 6; - repeated .CMsgSteamDatagramClientPingSampleReply.POP pops = 2; - repeated .CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter legacy_data_centers = 3; -} - -message CMsgSteamDatagramClientSwitchedPrimary { - message RouterQuality { - optional uint32 score = 1; - optional uint32 front_ping = 2; - optional uint32 back_ping = 3; - optional uint32 seconds_until_down = 4; - } - - optional fixed32 connection_id = 1; - optional fixed32 from_ip = 2; - optional uint32 from_port = 3; - optional fixed32 from_router_cluster = 4; - optional uint32 from_active_time = 5; - optional uint32 from_active_packets_recv = 6; - optional string from_dropped_reason = 7; - optional uint32 gap_ms = 8; - optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_now = 9; - optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_now = 10; - optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_then = 11; - optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_then = 12; -} - -message CMsgSteamDatagramConnectRequest { - optional fixed32 connection_id = 1; - optional fixed64 my_timestamp = 4; - optional uint32 ping_est_ms = 5; - optional uint32 virtual_port = 9; - optional uint32 gameserver_relay_session_id = 2; - optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; - optional .CMsgSteamDatagramCertificateSigned cert = 7; - optional fixed64 routing_secret = 10; - optional fixed64 legacy_client_steam_id = 3; -} - -message CMsgSteamDatagramConnectOK { - optional fixed32 client_connection_id = 1; - optional fixed32 server_connection_id = 7; - optional fixed64 your_timestamp = 3; - optional uint32 delay_time_usec = 4; - optional uint32 gameserver_relay_session_id = 2; - optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; - optional .CMsgSteamDatagramCertificateSigned cert = 6; -} - -message CMsgSteamNetworkingP2PSDRRoutingSummary { - optional uint32 initial_ping = 1; - optional uint32 initial_ping_front_local = 2; - optional uint32 initial_ping_front_remote = 3; - optional uint32 initial_score = 4; - optional fixed32 initial_pop_local = 5; - optional fixed32 initial_pop_remote = 6; - optional uint32 best_ping = 11; - optional uint32 best_ping_front_local = 12; - optional uint32 best_ping_front_remote = 13; - optional uint32 best_score = 14; - optional fixed32 best_pop_local = 15; - optional fixed32 best_pop_remote = 16; - optional uint32 best_time = 17; - optional uint32 negotiation_ms = 7; - optional uint32 selected_seconds = 8; -} - -message CMsgSteamDatagramP2PRoutingSummary { - optional .CMsgSteamNetworkingICESessionSummary ice = 2; - optional .CMsgSteamNetworkingP2PSDRRoutingSummary sdr = 3; -} - -message CMsgSteamDatagramConnectionClosed { - enum ERelayMode { - None = 0; - EndToEnd = 1; - ClosedByPeer = 2; - } - - optional fixed32 to_connection_id = 7; - optional fixed32 from_connection_id = 8; - optional string from_identity_string = 15; - optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_from_identity_binary = 13; - optional fixed64 legacy_from_steam_id = 3; - optional uint32 legacy_gameserver_relay_session_id = 2; - optional fixed32 to_relay_session_id = 9; - optional fixed32 from_relay_session_id = 10; - optional bytes forward_target_relay_routing_token = 11; - optional uint32 forward_target_revision = 12; - optional .CMsgSteamDatagramConnectionClosed.ERelayMode relay_mode = 4 [default = None]; - optional string debug = 5; - optional uint32 reason_code = 6; - optional fixed64 routing_secret = 14; - optional bool not_primary_session = 16; - optional bool not_primary_transport = 19; - optional bool relay_override_active = 22; - optional .CMsgSteamDatagramConnectionQuality quality_relay = 17; - optional .CMsgSteamDatagramConnectionQuality quality_e2e = 18; - optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 21; -} - -message CMsgSteamDatagramNoConnection { - optional fixed32 to_connection_id = 5; - optional fixed32 from_connection_id = 6; - optional uint32 legacy_gameserver_relay_session_id = 2; - optional fixed32 to_relay_session_id = 9; - optional fixed32 from_relay_session_id = 10; - optional string from_identity_string = 7; - optional fixed64 legacy_from_steam_id = 3; - optional bool end_to_end = 4; - optional bool not_primary_session = 12; - optional bool not_primary_transport = 15; - optional bool relay_override_active = 17; - optional .CMsgSteamDatagramConnectionQuality quality_relay = 13; - optional .CMsgSteamDatagramConnectionQuality quality_e2e = 14; - optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 16; - optional fixed64 routing_secret = 11; - optional fixed32 dummy_pad = 1023; -} - -message CMsgSteamDatagramGameserverSessionRequest { - optional bytes ticket = 1; - optional fixed32 challenge_time = 3; - optional fixed64 challenge = 4; - optional fixed32 client_connection_id = 5; - optional fixed32 server_connection_id = 8; - optional uint64 network_config_version = 6; - optional uint32 protocol_version = 7; - optional string platform = 9; - optional string build = 10; - optional string dev_gameserver_identity = 100; - optional .CMsgSteamDatagramCertificateSigned dev_client_cert = 101; -} - -message CMsgSteamDatagramGameserverSessionEstablished { - optional fixed32 connection_id = 1; - optional string gameserver_identity_string = 2; - optional uint32 seconds_until_shutdown = 4; - optional uint32 seq_num_r2c = 6; - optional bytes dummy_legacy_identity_binary = 7; - optional fixed64 legacy_gameserver_steamid = 3; -} - -message CMsgSteamDatagramConnectionStatsClientToRouter { - enum Flags { - ACK_REQUEST_RELAY = 1; - ACK_REQUEST_E2E = 2; - ACK_REQUEST_IMMEDIATE = 4; - NOT_PRIMARY_SESSION = 8; - CLIENT_RELAY_OVERRIDE = 32; - } - - optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - repeated fixed32 ack_relay = 4; - repeated fixed32 legacy_ack_e2e = 5; - optional uint32 flags = 6; - optional fixed32 client_connection_id = 8; - optional uint32 seq_num_c2r = 9; - optional uint32 seq_num_e2e = 10; -} - -message CMsgSteamDatagramConnectionStatsRouterToClient { - enum Flags { - ACK_REQUEST_RELAY = 1; - ACK_REQUEST_E2E = 2; - ACK_REQUEST_IMMEDIATE = 4; - } - - optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - optional uint32 seconds_until_shutdown = 6; - optional fixed32 migrate_request_ip = 10; - optional uint32 migrate_request_port = 11; - optional uint32 scoring_penalty_relay_cluster = 12; - repeated fixed32 ack_relay = 13; - repeated fixed32 legacy_ack_e2e = 14; - optional uint32 flags = 15; - optional fixed32 client_connection_id = 7; - optional uint32 seq_num_r2c = 8; - optional uint32 seq_num_e2e = 9; -} - -message CMsgSteamDatagramConnectionStatsRouterToServer { - enum Flags { - ACK_REQUEST_RELAY = 1; - ACK_REQUEST_E2E = 2; - ACK_REQUEST_IMMEDIATE = 4; - } - - optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - repeated fixed32 ack_relay = 10; - repeated fixed32 legacy_ack_e2e = 11; - optional uint32 flags = 12; - optional uint32 seq_num_r2s = 5; - optional uint32 seq_num_e2e = 6; - optional string client_identity_string = 15; - optional fixed64 legacy_client_steam_id = 7; - optional uint32 relay_session_id = 8; - optional fixed32 client_connection_id = 9; - optional fixed32 server_connection_id = 13; - optional fixed64 routing_secret = 14; -} - -message CMsgSteamDatagramConnectionStatsServerToRouter { - enum Flags { - ACK_REQUEST_RELAY = 1; - ACK_REQUEST_E2E = 2; - ACK_REQUEST_IMMEDIATE = 4; - } - - optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - repeated fixed32 ack_relay = 8; - repeated fixed32 legacy_ack_e2e = 9; - optional uint32 flags = 10; - optional uint32 seq_num_s2r = 3; - optional uint32 seq_num_e2e = 4; - optional uint32 relay_session_id = 6; - optional fixed32 client_connection_id = 7; - optional fixed32 server_connection_id = 11; -} - -message CMsgSteamDatagramP2PSessionRequestBody { - message EncryptedData { - optional string peer_identity_string = 1; - } - - optional fixed32 challenge_time = 1; - optional fixed64 challenge = 2; - optional fixed32 client_connection_id = 3; - optional fixed64 legacy_peer_steam_id = 4; - optional string peer_identity_string = 11; - optional fixed32 peer_connection_id = 5; - optional bytes encrypted_data = 14; - optional uint32 encryption_your_public_key_lead_byte = 15; - optional bytes encryption_my_ephemeral_public_key = 16; - optional uint32 protocol_version = 8; - optional uint64 network_config_version = 9; - optional string platform = 12; - optional string build = 13; -} - -message CMsgSteamDatagramP2PSessionRequest { - optional .CMsgSteamDatagramCertificateSigned cert = 1; - optional bytes body = 2; - optional bytes signature = 3; -} - -message CMsgSteamDatagramP2PSessionEstablished { - optional fixed32 connection_id = 1; - optional uint32 seconds_until_shutdown = 3; - optional bytes relay_routing_token = 4; - optional uint32 seq_num_r2c = 5; -} - -message CMsgSteamDatagramConnectionStatsP2PClientToRouter { - enum Flags { - ACK_REQUEST_RELAY = 1; - ACK_REQUEST_E2E = 2; - ACK_REQUEST_IMMEDIATE = 4; - NOT_PRIMARY_SESSION = 8; - NOT_PRIMARY_TRANSPORT_E2E = 16; - CLIENT_RELAY_OVERRIDE = 32; - } - - optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 14; - repeated fixed32 ack_relay = 3; - repeated fixed32 legacy_ack_e2e = 4; - optional uint32 flags = 5; - optional bytes forward_target_relay_routing_token = 6; - optional uint32 forward_target_revision = 7; - optional bytes routes = 8; - optional uint32 ack_peer_routes_revision = 9; - optional fixed32 connection_id = 10; - optional uint32 seq_num_c2r = 11; - optional uint32 seq_num_e2e = 12; -} - -message CMsgSteamDatagramConnectionStatsP2PRouterToClient { - enum Flags { - ACK_REQUEST_RELAY = 1; - ACK_REQUEST_E2E = 2; - ACK_REQUEST_IMMEDIATE = 4; - NOT_PRIMARY_TRANSPORT_E2E = 16; - } - - optional .CMsgSteamDatagramConnectionQuality quality_relay = 1; - optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2; - optional uint32 seconds_until_shutdown = 3; - optional fixed32 migrate_request_ip = 4; - optional uint32 migrate_request_port = 5; - optional uint32 scoring_penalty_relay_cluster = 6; - repeated fixed32 ack_relay = 7; - repeated fixed32 legacy_ack_e2e = 8; - optional uint32 flags = 9; - optional uint32 ack_forward_target_revision = 10; - optional bytes routes = 11; - optional uint32 ack_peer_routes_revision = 12; - optional fixed32 connection_id = 13; - optional uint32 seq_num_r2c = 14; - optional uint32 seq_num_e2e = 15; -} - -message CMsgSteamDatagramP2PBadRouteRouterToClient { - optional fixed32 connection_id = 1; - optional bytes failed_relay_routing_token = 2; - optional uint32 ack_forward_target_revision = 3; - optional fixed64 kludge_pad = 99; -} - -message CMsgSteamDatagramP2PRoutes { - message RelayCluster { - optional fixed32 pop_id = 1; - optional uint32 ping_ms = 2; - optional uint32 score_penalty = 3; - optional bytes session_relay_routing_token = 4; - } - - message Route { - optional fixed32 my_pop_id = 1; - optional fixed32 your_pop_id = 2; - optional uint32 legacy_score = 3; - optional uint32 interior_score = 4; - } - - repeated .CMsgSteamDatagramP2PRoutes.RelayCluster relay_clusters = 1; - repeated .CMsgSteamDatagramP2PRoutes.Route routes = 2; - optional uint32 revision = 3; -} - -message CMsgSteamDatagramSetSecondaryAddressRequest { - optional fixed32 client_main_ip = 1; - optional fixed32 client_main_port = 2; - optional fixed32 client_connection_id = 3; - optional string client_identity = 4; - optional bool request_send_duplication = 5; - optional bytes kludge_pad = 99; -} - -message CMsgSteamDatagramSetSecondaryAddressResult { - optional bool success = 1; - optional string message = 2; -} diff --git a/protobuf/steammessages.proto b/protobuf/steammessages.proto deleted file mode 100644 index 96cdf6978..000000000 --- a/protobuf/steammessages.proto +++ /dev/null @@ -1,45 +0,0 @@ -import "google/protobuf/descriptor.proto"; - -extend .google.protobuf.FieldOptions { - optional bool key_field = 60000 [default = false]; -} - -extend .google.protobuf.MessageOptions { - optional int32 msgpool_soft_limit = 60000 [default = 32]; - optional int32 msgpool_hard_limit = 60001 [default = 384]; -} - -enum GCProtoBufMsgSrc { - GCProtoBufMsgSrc_Unspecified = 0; - GCProtoBufMsgSrc_FromSystem = 1; - GCProtoBufMsgSrc_FromSteamID = 2; - GCProtoBufMsgSrc_FromGC = 3; - GCProtoBufMsgSrc_ReplySystem = 4; -} - -message CMsgProtoBufHeader { - option (msgpool_soft_limit) = 256; - option (msgpool_hard_limit) = 1024; - - optional fixed64 client_steam_id = 1; - optional int32 client_session_id = 2; - optional uint32 source_app_id = 3; - optional fixed64 job_id_source = 10 [default = 18446744073709551615]; - optional fixed64 job_id_target = 11 [default = 18446744073709551615]; - optional string target_job_name = 12; - optional int32 eresult = 13 [default = 2]; - optional string error_message = 14; - optional uint32 ip = 15; - optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified]; - optional uint32 gc_dir_index_source = 201; -} - -message CChinaAgreementSessions_StartAgreementSessionInGame_Request { - optional uint32 appid = 1; - optional fixed64 steamid = 2; - optional string client_ipaddress = 3; -} - -message CChinaAgreementSessions_StartAgreementSessionInGame_Response { - optional string agreement_url = 1; -} diff --git a/protobuf/steammessages_base.proto.disabled b/protobuf/steammessages_base.proto.disabled deleted file mode 100644 index a2bbad458..000000000 --- a/protobuf/steammessages_base.proto.disabled +++ /dev/null @@ -1,332 +0,0 @@ -import "google/protobuf/descriptor.proto"; - -option optimize_for = SPEED; -option cc_generic_services = true; -option (force_php_generation) = true; - -extend .google.protobuf.MessageOptions { - optional int32 msgpool_soft_limit = 50000 [default = 32]; - optional int32 msgpool_hard_limit = 50001 [default = 384]; -} - -extend .google.protobuf.FileOptions { - optional bool force_php_generation = 50000 [default = false]; -} - -extend .google.protobuf.FieldOptions { - optional bool php_output_always_number = 50020 [default = false]; - optional bool allow_field_named_steam_id = 50024 [default = false]; -} - -enum EBanContentCheckResult { - k_EBanContentCheckResult_NotScanned = 0; - k_EBanContentCheckResult_Reset = 1; - k_EBanContentCheckResult_NeedsChecking = 2; - k_EBanContentCheckResult_VeryUnlikely = 5; - k_EBanContentCheckResult_Unlikely = 30; - k_EBanContentCheckResult_Possible = 50; - k_EBanContentCheckResult_Likely = 75; - k_EBanContentCheckResult_VeryLikely = 100; -} - -enum EProtoClanEventType { - k_EClanOtherEvent = 1; - k_EClanGameEvent = 2; - k_EClanPartyEvent = 3; - k_EClanMeetingEvent = 4; - k_EClanSpecialCauseEvent = 5; - k_EClanMusicAndArtsEvent = 6; - k_EClanSportsEvent = 7; - k_EClanTripEvent = 8; - k_EClanChatEvent = 9; - k_EClanGameReleaseEvent = 10; - k_EClanBroadcastEvent = 11; - k_EClanSmallUpdateEvent = 12; - k_EClanPreAnnounceMajorUpdateEvent = 13; - k_EClanMajorUpdateEvent = 14; - k_EClanDLCReleaseEvent = 15; - k_EClanFutureReleaseEvent = 16; - k_EClanESportTournamentStreamEvent = 17; - k_EClanDevStreamEvent = 18; - k_EClanFamousStreamEvent = 19; - k_EClanGameSalesEvent = 20; - k_EClanGameItemSalesEvent = 21; - k_EClanInGameBonusXPEvent = 22; - k_EClanInGameLootEvent = 23; - k_EClanInGamePerksEvent = 24; - k_EClanInGameChallengeEvent = 25; - k_EClanInGameContestEvent = 26; - k_EClanIRLEvent = 27; - k_EClanNewsEvent = 28; - k_EClanBetaReleaseEvent = 29; - k_EClanInGameContentReleaseEvent = 30; - k_EClanFreeTrial = 31; - k_EClanSeasonRelease = 32; - k_EClanSeasonUpdate = 33; - k_EClanCrosspostEvent = 34; - k_EClanInGameEventGeneral = 35; -} - -enum PartnerEventNotificationType { - k_EEventStart = 0; - k_EEventBroadcastStart = 1; - k_EEventMatchStart = 2; - k_EEventPartnerMaxType = 3; -} - -message CMsgIPAddress { - oneof ip { - fixed32 v4 = 1; - bytes v6 = 2; - } -} - -message CMsgIPAddressBucket { - optional .CMsgIPAddress original_ip_address = 1; - optional fixed64 bucket = 2; -} - -message CMsgGCRoutingProtoBufHeader { - optional uint64 dst_gcid_queue = 1; - optional uint32 dst_gc_dir_index = 2; -} - -message CMsgProtoBufHeader { - enum ESessionDisposition { - k_ESessionDispositionNormal = 0; - k_ESessionDispositionDisconnect = 1; - } - - optional fixed64 steamid = 1; - optional int32 client_sessionid = 2; - optional uint32 routing_appid = 3; - optional fixed64 jobid_source = 10 [default = 18446744073709551615]; - optional fixed64 jobid_target = 11 [default = 18446744073709551615]; - optional string target_job_name = 12; - optional int32 seq_num = 24; - optional int32 eresult = 13 [default = 2]; - optional string error_message = 14; - optional uint32 auth_account_flags = 16; - optional uint32 token_source = 22; - optional bool admin_spoofing_user = 23; - optional int32 transport_error = 17 [default = 1]; - optional uint64 messageid = 18 [default = 18446744073709551615]; - optional uint32 publisher_group_id = 19; - optional uint32 sysid = 20; - optional uint64 trace_tag = 21; - optional uint32 webapi_key_id = 25; - optional bool is_from_external_source = 26; - repeated uint32 forward_to_sysid = 27; - optional uint32 cm_sysid = 28; - optional uint32 launcher_type = 31 [default = 0]; - optional uint32 realm = 32 [default = 0]; - optional int32 timeout_ms = 33 [default = -1]; - optional string debug_source = 34; - optional uint32 debug_source_string_index = 35; - optional uint64 token_id = 36; - optional .CMsgGCRoutingProtoBufHeader routing_gc = 37; - optional .CMsgProtoBufHeader.ESessionDisposition session_disposition = 38 [default = k_ESessionDispositionNormal]; - optional string wg_token = 39; - optional string webui_auth_key = 40; - - oneof ip_addr { - uint32 ip = 15; - bytes ip_v6 = 29; - } -} - -message CMsgMulti { - optional uint32 size_unzipped = 1; - optional bytes message_body = 2; -} - -message CMsgProtobufWrapped { - optional bytes message_body = 1; -} - -message CMsgAuthTicket { - optional uint32 estate = 1; - optional uint32 eresult = 2 [default = 2]; - optional fixed64 steamid = 3; - optional fixed64 gameid = 4; - optional uint32 h_steam_pipe = 5; - optional uint32 ticket_crc = 6; - optional bytes ticket = 7; - optional bytes server_secret = 8; - optional uint32 ticket_type = 9; -} - -message CCDDBAppDetailCommon { - optional uint32 appid = 1; - optional string name = 2; - optional string icon = 3; - optional bool tool = 6; - optional bool demo = 7; - optional bool media = 8; - optional bool community_visible_stats = 9; - optional string friendly_name = 10; - optional string propagation = 11; - optional bool has_adult_content = 12; - optional bool is_visible_in_steam_china = 13; - optional uint32 app_type = 14; - optional bool has_adult_content_sex = 15; - optional bool has_adult_content_violence = 16; - repeated uint32 content_descriptorids = 17; -} - -message CMsgAppRights { - optional bool edit_info = 1; - optional bool publish = 2; - optional bool view_error_data = 3; - optional bool download = 4; - optional bool upload_cdkeys = 5; - optional bool generate_cdkeys = 6; - optional bool view_financials = 7; - optional bool manage_ceg = 8; - optional bool manage_signing = 9; - optional bool manage_cdkeys = 10; - optional bool edit_marketing = 11; - optional bool economy_support = 12; - optional bool economy_support_supervisor = 13; - optional bool manage_pricing = 14; - optional bool broadcast_live = 15; - optional bool view_marketing_traffic = 16; - optional bool edit_store_display_content = 17; -} - -message CCuratorPreferences { - optional uint32 supported_languages = 1; - optional bool platform_windows = 2; - optional bool platform_mac = 3; - optional bool platform_linux = 4; - optional bool vr_content = 5; - optional bool adult_content_violence = 6; - optional bool adult_content_sex = 7; - optional uint32 timestamp_updated = 8; - repeated uint32 tagids_curated = 9; - repeated uint32 tagids_filtered = 10; - optional string website_title = 11; - optional string website_url = 12; - optional string discussion_url = 13; - optional bool show_broadcast = 14; -} - -message CLocalizationToken { - optional uint32 language = 1; - optional string localized_string = 2; -} - -message CClanEventUserNewsTuple { - optional uint32 clanid = 1; - optional fixed64 event_gid = 2; - optional fixed64 announcement_gid = 3; - optional uint32 rtime_start = 4; - optional uint32 rtime_end = 5; - optional uint32 priority_score = 6; - optional uint32 type = 7; - optional uint32 clamp_range_slot = 8; - optional uint32 appid = 9; - optional uint32 rtime32_last_modified = 10; -} - -message CClanMatchEventByRange { - optional uint32 rtime_before = 1; - optional uint32 rtime_after = 2; - optional uint32 qualified = 3; - repeated .CClanEventUserNewsTuple events = 4; -} - -message CCommunity_ClanAnnouncementInfo { - optional uint64 gid = 1; - optional uint64 clanid = 2; - optional uint64 posterid = 3; - optional string headline = 4; - optional uint32 posttime = 5; - optional uint32 updatetime = 6; - optional string body = 7; - optional int32 commentcount = 8; - repeated string tags = 9; - optional int32 language = 10; - optional bool hidden = 11; - optional fixed64 forum_topic_id = 12; - optional fixed64 event_gid = 13; - optional int32 voteupcount = 14; - optional int32 votedowncount = 15; - optional .EBanContentCheckResult ban_check_result = 16 [default = k_EBanContentCheckResult_NotScanned]; - optional bool banned = 17; -} - -message CClanEventData { - optional fixed64 gid = 1; - optional fixed64 clan_steamid = 2; - optional string event_name = 3; - optional .EProtoClanEventType event_type = 4 [default = k_EClanOtherEvent]; - optional uint32 appid = 5; - optional string server_address = 6; - optional string server_password = 7; - optional uint32 rtime32_start_time = 8; - optional uint32 rtime32_end_time = 9; - optional int32 comment_count = 10; - optional fixed64 creator_steamid = 11; - optional fixed64 last_update_steamid = 12; - optional string event_notes = 13; - optional string jsondata = 14; - optional .CCommunity_ClanAnnouncementInfo announcement_body = 15; - optional bool published = 16; - optional bool hidden = 17; - optional uint32 rtime32_visibility_start = 18; - optional uint32 rtime32_visibility_end = 19; - optional uint32 broadcaster_accountid = 20; - optional uint32 follower_count = 21; - optional uint32 ignore_count = 22; - optional fixed64 forum_topic_id = 23; - optional uint32 rtime32_last_modified = 24; - optional fixed64 news_post_gid = 25; - optional uint32 rtime_mod_reviewed = 26; - optional uint32 featured_app_tagid = 27; - repeated uint32 referenced_appids = 28; - optional uint32 build_id = 29; - optional string build_branch = 30; -} - -message CBilling_Address { - optional string first_name = 1; - optional string last_name = 2; - optional string address1 = 3; - optional string address2 = 4; - optional string city = 5; - optional string us_state = 6; - optional string country_code = 7; - optional string postcode = 8; - optional int32 zip_plus4 = 9; - optional string phone = 10; -} - -message CPackageReservationStatus { - optional uint32 packageid = 1; - optional int32 reservation_state = 2; - optional int32 queue_position = 3; - optional int32 total_queue_size = 4; - optional string reservation_country_code = 5; - optional bool expired = 6; - optional uint32 time_expires = 7; - optional uint32 time_reserved = 8; -} - -message CMsgKeyValuePair { - optional string name = 1; - optional string value = 2; -} - -message CMsgKeyValueSet { - repeated .CMsgKeyValuePair pairs = 1; -} - -message UserContentDescriptorPreferences { - message ContentDescriptor { - optional uint32 content_descriptorid = 1; - optional uint32 timestamp_added = 2; - } - - repeated .UserContentDescriptorPreferences.ContentDescriptor content_descriptors_to_exclude = 1; -} diff --git a/protobuf/steammessages_cloud.steamworkssdk.proto b/protobuf/steammessages_cloud.steamworkssdk.proto deleted file mode 100644 index 7e4e75976..000000000 --- a/protobuf/steammessages_cloud.steamworkssdk.proto +++ /dev/null @@ -1,68 +0,0 @@ -import "steammessages_unified_base.steamworkssdk.proto"; - -message CCloud_GetUploadServerInfo_Request { - optional uint32 appid = 1 [(description) = "App ID to which a file will be uploaded to."]; -} - -message CCloud_GetUploadServerInfo_Response { - optional string server_url = 1; -} - -message CCloud_GetFileDetails_Request { - optional uint64 ugcid = 1 [(description) = "ID of the Cloud file to get details for."]; - optional uint32 appid = 2 [(description) = "App ID the file belongs to."]; -} - -message CCloud_UserFile { - optional uint32 appid = 1; - optional uint64 ugcid = 2; - optional string filename = 3; - optional uint64 timestamp = 4; - optional uint32 file_size = 5; - optional string url = 6; - optional fixed64 steamid_creator = 7; -} - -message CCloud_GetFileDetails_Response { - optional .CCloud_UserFile details = 1; -} - -message CCloud_EnumerateUserFiles_Request { - optional uint32 appid = 1 [(description) = "App ID to enumerate the files of."]; - optional bool extended_details = 2 [(description) = "(Optional) Get extended details back on the files found. Defaults to only returned the app Id and UGC Id of the files found."]; - optional uint32 count = 3 [(description) = "(Optional) Maximum number of results to return on this call. Defaults to a maximum of 500 files returned."]; - optional uint32 start_index = 4 [(description) = "(Optional) Starting index to begin enumeration at. Defaults to the beginning of the list."]; -} - -message CCloud_EnumerateUserFiles_Response { - repeated .CCloud_UserFile files = 1; - optional uint32 total_files = 2; -} - -message CCloud_Delete_Request { - optional string filename = 1; - optional uint32 appid = 2 [(description) = "App ID the file belongs to."]; -} - -message CCloud_Delete_Response { -} - -service Cloud { - option (service_description) = "A service for Steam Cloud operations."; - - rpc GetUploadServerInfo (.CCloud_GetUploadServerInfo_Request) returns (.CCloud_GetUploadServerInfo_Response) { - option (method_description) = "Returns the URL of the proper cloud server for a user."; - } - - rpc GetFileDetails (.CCloud_GetFileDetails_Request) returns (.CCloud_GetFileDetails_Response) { - option (method_description) = "Returns details on a Cloud file."; - } - - rpc EnumerateUserFiles (.CCloud_EnumerateUserFiles_Request) returns (.CCloud_EnumerateUserFiles_Response) { - option (method_description) = "Enumerates Cloud files for a user of a given app ID. Returns up to 500 files at a time."; - } - - rpc Delete (.CCloud_Delete_Request) returns (.CCloud_Delete_Response) { - option (method_description) = "Deletes a file from the user's cloud."; - } -} diff --git a/protobuf/steammessages_gamenetworkingui.proto b/protobuf/steammessages_gamenetworkingui.proto deleted file mode 100644 index e6b70291a..000000000 --- a/protobuf/steammessages_gamenetworkingui.proto +++ /dev/null @@ -1,61 +0,0 @@ -import "steamnetworkingsockets_messages.proto"; -import "steamdatagram_messages_sdr.proto"; - -option optimize_for = SPEED; -option cc_generic_services = true; - -message CGameNetworkingUI_GlobalState { -} - -message CGameNetworkingUI_ConnectionState { - optional string connection_key = 1; - optional uint32 appid = 2; - optional fixed32 connection_id_local = 3; - optional string identity_local = 4; - optional string identity_remote = 5; - optional uint32 connection_state = 10; - optional uint32 start_time = 12; - optional uint32 close_time = 13; - optional uint32 close_reason = 14; - optional string close_message = 15; - optional string status_loc_token = 16; - optional uint32 transport_kind = 20; - optional string sdrpopid_local = 21; - optional string sdrpopid_remote = 22; - optional string address_remote = 23; - optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing = 24; - optional uint32 ping_interior = 25; - optional uint32 ping_remote_front = 26; - optional uint32 ping_default_internet_route = 27; - optional .CMsgSteamDatagramConnectionQuality e2e_quality_local = 30; - optional .CMsgSteamDatagramConnectionQuality e2e_quality_remote = 31; - optional uint64 e2e_quality_remote_instantaneous_time = 32; - optional uint64 e2e_quality_remote_lifetime_time = 33; - optional .CMsgSteamDatagramConnectionQuality front_quality_local = 40; - optional .CMsgSteamDatagramConnectionQuality front_quality_remote = 41; - optional uint64 front_quality_remote_instantaneous_time = 42; - optional uint64 front_quality_remote_lifetime_time = 43; -} - -message CGameNetworkingUI_Message { - repeated .CGameNetworkingUI_ConnectionState connection_state = 1; -} - -message CGameNetworkingUI_ConnectionSummary { - optional uint32 transport_kind = 1; - optional uint32 connection_state = 8; - optional string sdrpop_local = 2; - optional string sdrpop_remote = 3; - optional uint32 ping_ms = 4; - optional float packet_loss = 5; - optional uint32 ping_default_internet_route = 6; - optional bool ip_was_shared = 7; -} - -message CGameNetworkingUI_AppSummary { - optional uint32 appid = 1; - optional bool ip_was_shared_with_friend = 10; - optional bool ip_was_shared_with_nonfriend = 11; - optional uint32 active_connections = 20; - optional .CGameNetworkingUI_ConnectionSummary main_cxn = 30; -} diff --git a/protobuf/steammessages_helprequest.steamworkssdk.proto b/protobuf/steammessages_helprequest.steamworkssdk.proto deleted file mode 100644 index bc9ec359e..000000000 --- a/protobuf/steammessages_helprequest.steamworkssdk.proto +++ /dev/null @@ -1,22 +0,0 @@ -import "steammessages_unified_base.steamworkssdk.proto"; - -option cc_generic_services = true; - -message CHelpRequestLogs_UploadUserApplicationLog_Request { - optional uint32 appid = 1; - optional string log_type = 2; - optional string version_string = 3; - optional string log_contents = 4; -} - -message CHelpRequestLogs_UploadUserApplicationLog_Response { - optional uint64 id = 1; -} - -service HelpRequestLogs { - option (service_description) = "Service for dealing with user-submitted logs"; - - rpc UploadUserApplicationLog (.CHelpRequestLogs_UploadUserApplicationLog_Request) returns (.CHelpRequestLogs_UploadUserApplicationLog_Response) { - option (method_description) = "User uploading application logs"; - } -} diff --git a/protobuf/steammessages_oauth.steamworkssdk.proto b/protobuf/steammessages_oauth.steamworkssdk.proto deleted file mode 100644 index ee6449d06..000000000 --- a/protobuf/steammessages_oauth.steamworkssdk.proto +++ /dev/null @@ -1,18 +0,0 @@ -import "steammessages_unified_base.steamworkssdk.proto"; - -message COAuthToken_ImplicitGrantNoPrompt_Request { - optional string clientid = 1 [(description) = "Client ID for which to count the number of issued tokens"]; -} - -message COAuthToken_ImplicitGrantNoPrompt_Response { - optional string access_token = 1 [(description) = "OAuth Token, granted on success"]; - optional string redirect_uri = 2 [(description) = "Redirection URI provided during client registration."]; -} - -service OAuthToken { - option (service_description) = "Service containing methods to manage OAuth tokens"; - - rpc ImplicitGrantNoPrompt (.COAuthToken_ImplicitGrantNoPrompt_Request) returns (.COAuthToken_ImplicitGrantNoPrompt_Response) { - option (method_description) = "Grants an implicit OAuth token (grant type 'token') for the specified client ID on behalf of a user without prompting"; - } -} diff --git a/protobuf/steammessages_player.steamworkssdk.proto b/protobuf/steammessages_player.steamworkssdk.proto deleted file mode 100644 index 298c5dd51..000000000 --- a/protobuf/steammessages_player.steamworkssdk.proto +++ /dev/null @@ -1,254 +0,0 @@ -import "steammessages_unified_base.steamworkssdk.proto"; - -option cc_generic_services = true; - -enum ENotificationSetting { - k_ENotificationSettingNotifyUseDefault = 0; - k_ENotificationSettingAlways = 1; - k_ENotificationSettingNever = 2; -} - -message CPlayer_GetMutualFriendsForIncomingInvites_Request { -} - -message CPlayer_IncomingInviteMutualFriendList { - optional fixed64 steamid = 1; - repeated uint32 mutual_friend_account_ids = 2; -} - -message CPlayer_GetMutualFriendsForIncomingInvites_Response { - repeated .CPlayer_IncomingInviteMutualFriendList incoming_invite_mutual_friends_lists = 1; -} - -message CPlayer_GetFriendsGameplayInfo_Request { - optional uint32 appid = 1; -} - -message CPlayer_GetFriendsGameplayInfo_Response { - message FriendsGameplayInfo { - optional fixed64 steamid = 1; - optional uint32 minutes_played = 2; - optional uint32 minutes_played_forever = 3; - } - - message OwnGameplayInfo { - optional fixed64 steamid = 1; - optional uint32 minutes_played = 2; - optional uint32 minutes_played_forever = 3; - optional bool in_wishlist = 4; - optional bool owned = 5; - } - - optional .CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo your_info = 1; - repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_game = 2; - repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_recently = 3; - repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_ever = 4; - repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo owns = 5; - repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_wishlist = 6; -} - -message CPlayer_GetGameBadgeLevels_Request { - optional uint32 appid = 1; -} - -message CPlayer_GetGameBadgeLevels_Response { - message Badge { - optional int32 level = 1; - optional int32 series = 2; - optional uint32 border_color = 3; - } - - optional uint32 player_level = 1; - repeated .CPlayer_GetGameBadgeLevels_Response.Badge badges = 2; -} - -message CPlayer_GetLastPlayedTimes_Request { - optional uint32 min_last_played = 1 [(description) = "The most recent last-played time the client already knows about"]; -} - -message CPlayer_GetLastPlayedTimes_Response { - message Game { - optional int32 appid = 1; - optional uint32 last_playtime = 2; - optional int32 playtime_2weeks = 3; - optional int32 playtime_forever = 4; - optional uint32 first_playtime = 5; - } - - repeated .CPlayer_GetLastPlayedTimes_Response.Game games = 1; -} - -message CPlayer_AcceptSSA_Request { -} - -message CPlayer_AcceptSSA_Response { -} - -message CPlayer_GetNicknameList_Request { -} - -message CPlayer_GetNicknameList_Response { - message PlayerNickname { - optional fixed32 accountid = 1; - optional string nickname = 2; - } - - repeated .CPlayer_GetNicknameList_Response.PlayerNickname nicknames = 1; -} - -message CPlayer_GetPerFriendPreferences_Request { -} - -message PerFriendPreferences { - optional fixed32 accountid = 1; - optional string nickname = 2; - optional .ENotificationSetting notifications_showingame = 3 [default = k_ENotificationSettingNotifyUseDefault]; - optional .ENotificationSetting notifications_showonline = 4 [default = k_ENotificationSettingNotifyUseDefault]; - optional .ENotificationSetting notifications_showmessages = 5 [default = k_ENotificationSettingNotifyUseDefault]; - optional .ENotificationSetting sounds_showingame = 6 [default = k_ENotificationSettingNotifyUseDefault]; - optional .ENotificationSetting sounds_showonline = 7 [default = k_ENotificationSettingNotifyUseDefault]; - optional .ENotificationSetting sounds_showmessages = 8 [default = k_ENotificationSettingNotifyUseDefault]; - optional .ENotificationSetting notifications_sendmobile = 9 [default = k_ENotificationSettingNotifyUseDefault]; -} - -message CPlayer_GetPerFriendPreferences_Response { - repeated .PerFriendPreferences preferences = 1; -} - -message CPlayer_SetPerFriendPreferences_Request { - optional .PerFriendPreferences preferences = 1; -} - -message CPlayer_SetPerFriendPreferences_Response { -} - -message CPlayer_AddFriend_Request { - optional fixed64 steamid = 1 [(description) = "Steam ID of user to whom to send a friend invite."]; -} - -message CPlayer_AddFriend_Response { - optional bool invite_sent = 1 [(description) = "True if the operation was successful, false otherwise."]; - optional uint32 friend_relationship = 2 [(description) = "the resulting relationship. Depending on state, may move directly to friends rather than invite sent"]; -} - -message CPlayer_RemoveFriend_Request { - optional fixed64 steamid = 1 [(description) = "Steam ID of friend to remove."]; -} - -message CPlayer_RemoveFriend_Response { - optional uint32 friend_relationship = 1 [(description) = "the resulting relationship"]; -} - -message CPlayer_IgnoreFriend_Request { - optional fixed64 steamid = 1; - optional bool unignore = 2 [(description) = "If set, remove from ignore/block list instead of adding "]; -} - -message CPlayer_IgnoreFriend_Response { - optional uint32 friend_relationship = 1 [(description) = "the resulting relationship"]; -} - -message CPlayer_GetCommunityPreferences_Request { -} - -message CPlayer_CommunityPreferences { - optional bool hide_adult_content_violence = 1 [default = true]; - optional bool hide_adult_content_sex = 2 [default = true]; - optional bool parenthesize_nicknames = 4 [default = false]; - optional uint32 timestamp_updated = 3; -} - -message CPlayer_GetCommunityPreferences_Response { - optional .CPlayer_CommunityPreferences preferences = 1; -} - -message CPlayer_SetCommunityPreferences_Request { - optional .CPlayer_CommunityPreferences preferences = 1; -} - -message CPlayer_SetCommunityPreferences_Response { -} - -message CPlayer_GetNewSteamAnnouncementState_Request { - optional int32 language = 1; -} - -message CPlayer_GetNewSteamAnnouncementState_Response { - optional int32 state = 1; - optional string announcement_headline = 2; - optional string announcement_url = 3; - optional uint32 time_posted = 4; - optional uint64 announcement_gid = 5; -} - -message CPlayer_UpdateSteamAnnouncementLastRead_Request { - optional uint64 announcement_gid = 1; - optional uint32 time_posted = 2; -} - -message CPlayer_UpdateSteamAnnouncementLastRead_Response { -} - -service Player { - option (service_description) = "A service for accessing Steam player data"; - - rpc GetMutualFriendsForIncomingInvites (.CPlayer_GetMutualFriendsForIncomingInvites_Request) returns (.CPlayer_GetMutualFriendsForIncomingInvites_Response) { - option (method_description) = "Get me the mutual friends for each of my pending incoming invites (individuals and clans)."; - } - - rpc GetFriendsGameplayInfo (.CPlayer_GetFriendsGameplayInfo_Request) returns (.CPlayer_GetFriendsGameplayInfo_Response) { - option (method_description) = "Get a list of friends who are playing, have played, own, or want a game"; - } - - rpc GetGameBadgeLevels (.CPlayer_GetGameBadgeLevels_Request) returns (.CPlayer_GetGameBadgeLevels_Response) { - option (method_description) = "Returns the Steam Level of a user, the Badge level for the game, and if it's foil"; - } - - rpc ClientGetLastPlayedTimes (.CPlayer_GetLastPlayedTimes_Request) returns (.CPlayer_GetLastPlayedTimes_Response) { - option (method_description) = "Gets the last-played times for the account"; - } - - rpc AcceptSSA (.CPlayer_AcceptSSA_Request) returns (.CPlayer_AcceptSSA_Response) { - option (method_description) = "User is accepting the SSA"; - } - - rpc GetNicknameList (.CPlayer_GetNicknameList_Request) returns (.CPlayer_GetNicknameList_Response) { - option (method_description) = "Gets the list of nicknames this user has for other users"; - } - - rpc GetPerFriendPreferences (.CPlayer_GetPerFriendPreferences_Request) returns (.CPlayer_GetPerFriendPreferences_Response) { - option (method_description) = "Gets the list of per-friend preferences this user has set for other users"; - } - - rpc SetPerFriendPreferences (.CPlayer_SetPerFriendPreferences_Request) returns (.CPlayer_SetPerFriendPreferences_Response) { - option (method_description) = "Sets the logged in user's per-friend preferences for the given user"; - } - - rpc AddFriend (.CPlayer_AddFriend_Request) returns (.CPlayer_AddFriend_Response) { - option (method_description) = "Invites another Steam user to be a friend"; - } - - rpc RemoveFriend (.CPlayer_RemoveFriend_Request) returns (.CPlayer_RemoveFriend_Response) { - option (method_description) = "Removes a friend or ignores a friend suggestion"; - } - - rpc IgnoreFriend (.CPlayer_IgnoreFriend_Request) returns (.CPlayer_IgnoreFriend_Response) { - option (method_description) = "Blocks or unblocks communication with the user. Despite name, can be a non-friend."; - } - - rpc GetCommunityPreferences (.CPlayer_GetCommunityPreferences_Request) returns (.CPlayer_GetCommunityPreferences_Response) { - option (method_description) = "Returns the player's community preferences"; - } - - rpc SetCommunityPreferences (.CPlayer_SetCommunityPreferences_Request) returns (.CPlayer_SetCommunityPreferences_Response) { - option (method_description) = "Sets the player's community preferences"; - } - - rpc GetNewSteamAnnouncementState (.CPlayer_GetNewSteamAnnouncementState_Request) returns (.CPlayer_GetNewSteamAnnouncementState_Response) { - option (method_description) = "Calculates and returns what to display for UI that renders new steam announcement available"; - } - - rpc UpdateSteamAnnouncementLastRead (.CPlayer_UpdateSteamAnnouncementLastRead_Request) returns (.CPlayer_UpdateSteamAnnouncementLastRead_Response) { - option (method_description) = "Marks latest announcement timestamp read by user"; - } -} diff --git a/protobuf/steammessages_publishedfile.steamworkssdk.proto b/protobuf/steammessages_publishedfile.steamworkssdk.proto deleted file mode 100644 index 96d60af7a..000000000 --- a/protobuf/steammessages_publishedfile.steamworkssdk.proto +++ /dev/null @@ -1,233 +0,0 @@ -import "steammessages_unified_base.steamworkssdk.proto"; - -message CPublishedFile_Subscribe_Request { - optional uint64 publishedfileid = 1; - optional uint32 list_type = 2; - optional int32 appid = 3; - optional bool notify_client = 4; -} - -message CPublishedFile_Subscribe_Response { -} - -message CPublishedFile_Unsubscribe_Request { - optional uint64 publishedfileid = 1; - optional uint32 list_type = 2; - optional int32 appid = 3; - optional bool notify_client = 4; -} - -message CPublishedFile_Unsubscribe_Response { -} - -message CPublishedFile_Publish_Request { - optional uint32 appid = 1 [(description) = "App Id this file is being published FROM."]; - optional uint32 consumer_appid = 2 [(description) = "App Id this file is being published TO."]; - optional string cloudfilename = 3 [(description) = "Name of the file to publish in the user's cloud."]; - optional string preview_cloudfilename = 4 [(description) = "Name of the file to use as the published file's preview."]; - optional string title = 5 [(description) = "Text title for the published file."]; - optional string file_description = 6 [(description) = "Text description for the published file."]; - optional uint32 file_type = 7 [(description) = "(EWorkshopFileType) Type of Workshop file to publish."]; - optional string consumer_shortcut_name = 8 [(description) = "Shortcut name for the published file."]; - optional string youtube_username = 9 [(description) = "(Optional) User's YouTube account username."]; - optional string youtube_videoid = 10 [(description) = "(Optional) Video Id of a YouTube video for this published file."]; - optional uint32 visibility = 11 [(description) = "(ERemoteStoragePublishedFileVisibility) Visibility of the published file (private, friends, public, etc.)"]; - optional string redirect_uri = 12 [(description) = "(Optional) If supplied, the resulting published file's Id is appended to the URI."]; - repeated string tags = 13 [(description) = "Array of text tags to apply to the published file."]; - optional string collection_type = 14 [(description) = "(Optional) Type of collection the published file represents."]; - optional string game_type = 15 [(description) = "(Optional) Type of game the published file represents."]; - optional string url = 16 [(description) = "(Optional) If this represents a game, this is the URL to that game's page."]; -} - -message CPublishedFile_Publish_Response { - optional uint64 publishedfileid = 1; - optional string redirect_uri = 2; -} - -message CPublishedFile_GetDetails_Request { - repeated fixed64 publishedfileids = 1 [(description) = "Set of published file Ids to retrieve details for."]; - optional bool includetags = 2 [(description) = "If true, return tag information in the returned details."]; - optional bool includeadditionalpreviews = 3 [(description) = "If true, return preview information in the returned details."]; - optional bool includechildren = 4 [(description) = "If true, return children in the returned details."]; - optional bool includekvtags = 5 [(description) = "If true, return key value tags in the returned details."]; - optional bool includevotes = 6 [(description) = "If true, return vote data in the returned details."]; - optional bool short_description = 8 [(description) = "If true, return a short description instead of the full description."]; -} - -message PublishedFileDetails { - message Tag { - optional string tag = 1; - optional bool adminonly = 2; - } - - message Preview { - optional uint64 previewid = 1; - optional uint32 sortorder = 2; - optional string url = 3; - optional uint32 size = 4; - optional string filename = 5; - optional string youtubevideoid = 6; - } - - message Child { - optional uint64 publishedfileid = 1; - optional uint32 sortorder = 2; - optional uint32 file_type = 3; - } - - message KVTag { - optional string key = 1; - optional string value = 2; - } - - message VoteData { - optional float score = 1; - optional uint32 votes_up = 2; - optional uint32 votes_down = 3; - } - - optional uint32 result = 1; - optional uint64 publishedfileid = 2; - optional fixed64 creator = 3; - optional uint32 creator_appid = 4; - optional uint32 consumer_appid = 5; - optional uint32 consumer_shortcutid = 6; - optional string filename = 7; - optional uint64 file_size = 8; - optional uint64 preview_file_size = 9; - optional string file_url = 10; - optional string preview_url = 11; - optional string youtubevideoid = 12; - optional string url = 13; - optional fixed64 hcontent_file = 14; - optional fixed64 hcontent_preview = 15; - optional string title = 16; - optional string file_description = 17; - optional string short_description = 18; - optional uint32 time_created = 19; - optional uint32 time_updated = 20; - optional uint32 visibility = 21; - optional uint32 flags = 22; - optional bool workshop_file = 23; - optional bool workshop_accepted = 24; - optional bool show_subscribe_all = 25; - optional int32 num_comments_developer = 26; - optional int32 num_comments_public = 27; - optional bool banned = 28; - optional string ban_reason = 29; - optional fixed64 banner = 30; - optional bool can_be_deleted = 31; - optional bool incompatible = 32; - optional string app_name = 33; - optional uint32 file_type = 34; - optional bool can_subscribe = 35; - optional uint32 subscriptions = 36; - optional uint32 favorited = 37; - optional uint32 followers = 38; - optional uint32 lifetime_subscriptions = 39; - optional uint32 lifetime_favorited = 40; - optional uint32 lifetime_followers = 41; - optional uint32 views = 42; - optional uint32 image_width = 43; - optional uint32 image_height = 44; - optional string image_url = 45; - optional bool spoiler_tag = 46; - optional uint32 shortcutid = 47; - optional string shortcutname = 48; - optional uint32 num_children = 49; - optional uint32 num_reports = 50; - repeated .PublishedFileDetails.Preview previews = 51; - repeated .PublishedFileDetails.Tag tags = 52; - repeated .PublishedFileDetails.Child children = 53; - repeated .PublishedFileDetails.KVTag kvtags = 54; - optional .PublishedFileDetails.VoteData vote_data = 55; - optional uint32 time_subscribed = 56 [(description) = "Only valid in PublishedFile.GetUserFiles and not normal PublishedFile.GetDetail calls"]; -} - -message CPublishedFile_GetDetails_Response { - repeated .PublishedFileDetails publishedfiledetails = 1; -} - -message CPublishedFile_GetUserFiles_Request { - optional uint32 appid = 1 [(description) = "App Id to retrieve published files from."]; - optional uint32 page = 3 [default = 1, (description) = "(Optional) Starting page for results."]; - optional uint32 numperpage = 4 [default = 1, (description) = "(Optional) The number of results, per page to return."]; - optional string sortmethod = 6 [default = "lastupdated", (description) = "(Optional) Sorting method to use on returned values."]; - optional bool totalonly = 7 [(description) = "(Optional) If true, only return the total number of files that satisfy this query."]; - optional uint32 privacy = 9 [(description) = "(optional) Filter by privacy settings."]; - optional bool ids_only = 10 [(description) = "(Optional) If true, only return the published file ids of files that satisfy this query."]; - repeated string requiredtags = 11 [(description) = "(Optional) Tags that must be present on a published file to satisfy the query."]; - repeated string excludedtags = 12 [(description) = "(Optional) Tags that must NOT be present on a published file to satisfy the query."]; -} - -message CPublishedFile_GetUserFiles_Response { - message App { - optional uint32 appid = 1; - optional string name = 2; - optional uint32 shortcutid = 3; - optional bool private = 4; - } - - optional uint32 total = 1; - optional uint32 startindex = 2; - repeated .PublishedFileDetails publishedfiledetails = 3; - repeated .CPublishedFile_GetUserFiles_Response.App apps = 4; -} - -message CPublishedFile_Update_Request { - optional uint32 appid = 1 [(description) = "App Id this published file belongs to."]; - optional fixed64 publishedfileid = 2 [(description) = "Published file id of the file we'd like update."]; - optional string title = 3 [(description) = "(Optional) Title of the published file."]; - optional string file_description = 4 [(description) = "(Optional) Description of the published file."]; - optional uint32 visibility = 5 [(description) = "(Optional) Visibility of the published file."]; - repeated string tags = 6 [(description) = "(Optional) Set of tags for the published file."]; - optional string filename = 7 [(description) = "(Optional) Filename for the published file."]; - optional string preview_filename = 8 [(description) = "(Optional) Preview filename for the published file."]; -} - -message CPublishedFile_Update_Response { -} - -message CPublishedFile_RefreshVotingQueue_Request { - optional uint32 appid = 1; - optional uint32 matching_file_type = 2 [(description) = "EPublishedFileInfoMatchingFileType"]; - repeated string tags = 3 [(description) = "Include files that have all the tags or any of the tags if match_all_tags is set to false."]; - optional bool match_all_tags = 4 [default = true, (description) = "If true, then files must have all the tags specified. If false, then must have at least one of the tags specified."]; - repeated string excluded_tags = 5 [(description) = "Exclude any files that have any of these tags."]; - optional uint32 desired_queue_size = 6 [(description) = "Desired number of items in the voting queue. May be clamped by the server"]; -} - -message CPublishedFile_RefreshVotingQueue_Response { -} - -service PublishedFile { - option (service_description) = "A service to access published file data"; - - rpc Subscribe (.CPublishedFile_Subscribe_Request) returns (.CPublishedFile_Subscribe_Response) { - option (method_description) = "Subscribes the user to the published file"; - } - - rpc Unsubscribe (.CPublishedFile_Unsubscribe_Request) returns (.CPublishedFile_Unsubscribe_Response) { - option (method_description) = "Unsubscribes the user from the published file"; - } - - rpc Publish (.CPublishedFile_Publish_Request) returns (.CPublishedFile_Publish_Response) { - option (method_description) = "Publishes a clouded user file to the Workshop."; - } - - rpc GetDetails (.CPublishedFile_GetDetails_Request) returns (.CPublishedFile_GetDetails_Response) { - option (method_description) = "Retrieves information about a set of published files."; - } - - rpc GetUserFiles (.CPublishedFile_GetUserFiles_Request) returns (.CPublishedFile_GetUserFiles_Response) { - option (method_description) = "Retrieves files published by a user."; - } - - rpc Update (.CPublishedFile_Update_Request) returns (.CPublishedFile_Update_Response) { - option (method_description) = "Updates information about a published file."; - } - - rpc RefreshVotingQueue (.CPublishedFile_RefreshVotingQueue_Request) returns (.CPublishedFile_RefreshVotingQueue_Response) { - option (method_description) = "Refresh the voting queue for the user"; - } -} diff --git a/protobuf/steammessages_unified_base.steamworkssdk.proto b/protobuf/steammessages_unified_base.steamworkssdk.proto deleted file mode 100644 index 84ab32ab4..000000000 --- a/protobuf/steammessages_unified_base.steamworkssdk.proto +++ /dev/null @@ -1,30 +0,0 @@ -import "google/protobuf/descriptor.proto"; - -option optimize_for = SPEED; -option cc_generic_services = false; - -extend .google.protobuf.FieldOptions { - optional string description = 50000; -} - -extend .google.protobuf.ServiceOptions { - optional string service_description = 50000; - optional .EProtoExecutionSite service_execution_site = 50008 [default = k_EProtoExecutionSiteUnknown]; -} - -extend .google.protobuf.MethodOptions { - optional string method_description = 50000; -} - -extend .google.protobuf.EnumOptions { - optional string enum_description = 50000; -} - -extend .google.protobuf.EnumValueOptions { - optional string enum_value_description = 50000; -} - -enum EProtoExecutionSite { - k_EProtoExecutionSiteUnknown = 0; - k_EProtoExecutionSiteSteamClient = 3; -} diff --git a/protobuf/steamnetworkingsockets_messages.proto b/protobuf/steamnetworkingsockets_messages.proto deleted file mode 100644 index 055074007..000000000 --- a/protobuf/steamnetworkingsockets_messages.proto +++ /dev/null @@ -1,177 +0,0 @@ -import "steamnetworkingsockets_messages_certs.proto"; - -option optimize_for = SPEED; -option cc_generic_services = false; - -enum ESteamNetworkingSocketsCipher { - k_ESteamNetworkingSocketsCipher_INVALID = 0; - k_ESteamNetworkingSocketsCipher_NULL = 1; - k_ESteamNetworkingSocketsCipher_AES_256_GCM = 2; -} - -message CMsgSteamDatagramSessionCryptInfo { - enum EKeyType { - INVALID = 0; - CURVE25519 = 1; - } - - optional .CMsgSteamDatagramSessionCryptInfo.EKeyType key_type = 1 [default = INVALID]; - optional bytes key_data = 2; - optional fixed64 nonce = 3; - optional uint32 protocol_version = 4; - repeated .ESteamNetworkingSocketsCipher ciphers = 5; -} - -message CMsgSteamDatagramSessionCryptInfoSigned { - optional bytes info = 1; - optional bytes signature = 2; -} - -message CMsgSteamDatagramDiagnostic { - optional uint32 severity = 1; - optional string text = 2; -} - -message CMsgSteamDatagramLinkInstantaneousStats { - optional uint32 out_packets_per_sec_x10 = 1; - optional uint32 out_bytes_per_sec = 2; - optional uint32 in_packets_per_sec_x10 = 3; - optional uint32 in_bytes_per_sec = 4; - optional uint32 ping_ms = 5; - optional uint32 packets_dropped_pct = 6; - optional uint32 packets_weird_sequence_pct = 7; - optional uint32 peak_jitter_usec = 8; -} - -message CMsgSteamDatagramLinkLifetimeStats { - optional uint32 connected_seconds = 2; - optional uint64 packets_sent = 3; - optional uint64 kb_sent = 4; - optional uint64 packets_recv = 5; - optional uint64 kb_recv = 6; - optional uint64 packets_recv_sequenced = 7; - optional uint64 packets_recv_dropped = 8; - optional uint64 packets_recv_out_of_order = 9; - optional uint64 packets_recv_out_of_order_corrected = 15; - optional uint64 packets_recv_duplicate = 10; - optional uint64 packets_recv_lurch = 11; - repeated uint64 multipath_packets_recv_sequenced = 12; - repeated uint64 multipath_packets_recv_later = 13; - optional uint32 multipath_send_enabled = 14; - optional uint32 quality_histogram_100 = 21; - optional uint32 quality_histogram_99 = 22; - optional uint32 quality_histogram_97 = 23; - optional uint32 quality_histogram_95 = 24; - optional uint32 quality_histogram_90 = 25; - optional uint32 quality_histogram_75 = 26; - optional uint32 quality_histogram_50 = 27; - optional uint32 quality_histogram_1 = 28; - optional uint32 quality_histogram_dead = 29; - optional uint32 quality_ntile_2nd = 30; - optional uint32 quality_ntile_5th = 31; - optional uint32 quality_ntile_25th = 32; - optional uint32 quality_ntile_50th = 33; - optional uint32 ping_histogram_25 = 41; - optional uint32 ping_histogram_50 = 42; - optional uint32 ping_histogram_75 = 43; - optional uint32 ping_histogram_100 = 44; - optional uint32 ping_histogram_125 = 45; - optional uint32 ping_histogram_150 = 46; - optional uint32 ping_histogram_200 = 47; - optional uint32 ping_histogram_300 = 48; - optional uint32 ping_histogram_max = 49; - optional uint32 ping_ntile_5th = 50; - optional uint32 ping_ntile_50th = 51; - optional uint32 ping_ntile_75th = 52; - optional uint32 ping_ntile_95th = 53; - optional uint32 ping_ntile_98th = 54; - optional uint32 jitter_histogram_negligible = 61; - optional uint32 jitter_histogram_1 = 62; - optional uint32 jitter_histogram_2 = 63; - optional uint32 jitter_histogram_5 = 64; - optional uint32 jitter_histogram_10 = 65; - optional uint32 jitter_histogram_20 = 66; -} - -message CMsgSteamDatagramConnectionQuality { - optional .CMsgSteamDatagramLinkInstantaneousStats instantaneous = 1; - optional .CMsgSteamDatagramLinkLifetimeStats lifetime = 2; -} - -message CMsgICECandidate { - optional string candidate = 3; -} - -message CMsgICERendezvous { - message Auth { - optional string pwd_frag = 1; - } - - optional .CMsgICERendezvous.Auth auth = 2; - optional .CMsgICECandidate add_candidate = 1; -} - -message CMsgSteamNetworkingP2PRendezvous { - message ConnectRequest { - optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6; - optional .CMsgSteamDatagramCertificateSigned cert = 7; - optional uint32 to_virtual_port = 9; - optional uint32 from_virtual_port = 10; - optional string from_fakeip = 11; - } - - message ConnectOK { - optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5; - optional .CMsgSteamDatagramCertificateSigned cert = 6; - } - - message ConnectionClosed { - optional string debug = 5; - optional uint32 reason_code = 6; - } - - message ReliableMessage { - optional .CMsgICERendezvous ice = 1; - } - - message ApplicationMessage { - optional bytes data = 1; - optional uint64 msg_num = 2; - optional uint32 flags = 3; - optional uint32 lane_idx = 4; - } - - optional string from_identity = 8; - optional fixed32 from_connection_id = 9; - optional string to_identity = 10; - optional fixed32 to_connection_id = 1; - optional bytes sdr_routes = 2; - optional uint32 ack_peer_routes_revision = 3; - optional bool ice_enabled = 7; - optional bytes hosted_server_ticket = 14; - optional .CMsgSteamNetworkingP2PRendezvous.ConnectRequest connect_request = 4; - optional .CMsgSteamNetworkingP2PRendezvous.ConnectOK connect_ok = 5; - optional .CMsgSteamNetworkingP2PRendezvous.ConnectionClosed connection_closed = 6; - optional uint32 ack_reliable_msg = 11; - optional uint32 first_reliable_msg = 12; - repeated .CMsgSteamNetworkingP2PRendezvous.ReliableMessage reliable_messages = 13; - repeated .CMsgSteamNetworkingP2PRendezvous.ApplicationMessage application_messages = 15; -} - -message CMsgSteamNetworkingICESessionSummary { - optional uint32 failure_reason_code = 7; - optional uint32 local_candidate_types = 1; - optional uint32 remote_candidate_types = 2; - optional uint32 initial_route_kind = 3; - optional uint32 initial_ping = 4; - optional uint32 initial_score = 6; - optional uint32 negotiation_ms = 5; - optional uint32 best_route_kind = 16; - optional uint32 best_ping = 17; - optional uint32 best_score = 18; - optional uint32 best_time = 19; - optional uint32 selected_seconds = 12; - optional uint32 user_settings = 13; - optional uint32 ice_enable_var = 14; - optional uint32 local_candidate_types_allowed = 15; -} diff --git a/protobuf/steamnetworkingsockets_messages_certs.proto b/protobuf/steamnetworkingsockets_messages_certs.proto deleted file mode 100644 index 6ad2c3f04..000000000 --- a/protobuf/steamnetworkingsockets_messages_certs.proto +++ /dev/null @@ -1,38 +0,0 @@ -option optimize_for = SPEED; -option cc_generic_services = false; - -message CMsgSteamNetworkingIdentityLegacyBinary { - optional fixed64 steam_id = 16; - optional bytes generic_bytes = 2; - optional string generic_string = 3; - optional bytes ipv6_and_port = 4; -} - -message CMsgSteamDatagramCertificate { - enum EKeyType { - INVALID = 0; - ED25519 = 1; - } - - optional .CMsgSteamDatagramCertificate.EKeyType key_type = 1 [default = INVALID]; - optional bytes key_data = 2; - optional fixed64 legacy_steam_id = 4; - optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 11; - optional string identity_string = 12; - repeated fixed32 gameserver_datacenter_ids = 5; - optional fixed32 time_created = 8; - optional fixed32 time_expiry = 9; - repeated uint32 app_ids = 10; - repeated string ip_addresses = 13; -} - -message CMsgSteamDatagramCertificateSigned { - optional bytes cert = 4; - optional fixed64 ca_key_id = 5; - optional bytes ca_signature = 6; - optional bytes private_key_data = 1; -} - -message CMsgSteamDatagramCertificateRequest { - optional .CMsgSteamDatagramCertificate cert = 1; -} diff --git a/protobuf/steamnetworkingsockets_messages_udp.proto b/protobuf/steamnetworkingsockets_messages_udp.proto deleted file mode 100644 index cc50836e2..000000000 --- a/protobuf/steamnetworkingsockets_messages_udp.proto +++ /dev/null @@ -1,75 +0,0 @@ -import "steamnetworkingsockets_messages_certs.proto"; -import "steamnetworkingsockets_messages.proto"; - -option optimize_for = SPEED; -option cc_generic_services = false; - -enum ESteamNetworkingUDPMsgID { - k_ESteamNetworkingUDPMsg_ChallengeRequest = 32; - k_ESteamNetworkingUDPMsg_ChallengeReply = 33; - k_ESteamNetworkingUDPMsg_ConnectRequest = 34; - k_ESteamNetworkingUDPMsg_ConnectOK = 35; - k_ESteamNetworkingUDPMsg_ConnectionClosed = 36; - k_ESteamNetworkingUDPMsg_NoConnection = 37; -} - -message CMsgSteamSockets_UDP_ChallengeRequest { - optional fixed32 connection_id = 1; - optional fixed64 my_timestamp = 3; - optional uint32 protocol_version = 4; -} - -message CMsgSteamSockets_UDP_ChallengeReply { - optional fixed32 connection_id = 1; - optional fixed64 challenge = 2; - optional fixed64 your_timestamp = 3; - optional uint32 protocol_version = 4; -} - -message CMsgSteamSockets_UDP_ConnectRequest { - optional fixed32 client_connection_id = 1; - optional fixed64 challenge = 2; - optional fixed64 my_timestamp = 5; - optional uint32 ping_est_ms = 6; - optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; - optional .CMsgSteamDatagramCertificateSigned cert = 4; - optional uint32 legacy_protocol_version = 8; - optional string identity_string = 10; - optional fixed64 legacy_client_steam_id = 3; - optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 9; -} - -message CMsgSteamSockets_UDP_ConnectOK { - optional fixed32 client_connection_id = 1; - optional fixed32 server_connection_id = 5; - optional fixed64 your_timestamp = 3; - optional uint32 delay_time_usec = 4; - optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7; - optional .CMsgSteamDatagramCertificateSigned cert = 8; - optional string identity_string = 11; - optional fixed64 legacy_server_steam_id = 2; - optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 10; -} - -message CMsgSteamSockets_UDP_ConnectionClosed { - optional fixed32 to_connection_id = 4; - optional fixed32 from_connection_id = 5; - optional string debug = 2; - optional uint32 reason_code = 3; -} - -message CMsgSteamSockets_UDP_NoConnection { - optional fixed32 from_connection_id = 2; - optional fixed32 to_connection_id = 3; -} - -message CMsgSteamSockets_UDP_Stats { - enum Flags { - ACK_REQUEST_E2E = 2; - ACK_REQUEST_IMMEDIATE = 4; - NOT_PRIMARY_TRANSPORT_E2E = 16; - } - - optional .CMsgSteamDatagramConnectionQuality stats = 1; - optional uint32 flags = 3; -} diff --git a/protobuf/te.proto b/protobuf/te.proto deleted file mode 100644 index 8cde58238..000000000 --- a/protobuf/te.proto +++ /dev/null @@ -1,235 +0,0 @@ -import "networkbasetypes.proto"; - -enum ETEProtobufIds { - TE_EffectDispatchId = 400; - TE_ArmorRicochetId = 401; - TE_BeamEntPointId = 402; - TE_BeamEntsId = 403; - TE_BeamPointsId = 404; - TE_BeamRingId = 405; - TE_BubblesId = 408; - TE_BubbleTrailId = 409; - TE_DecalId = 410; - TE_WorldDecalId = 411; - TE_EnergySplashId = 412; - TE_FizzId = 413; - TE_ShatterSurfaceId = 414; - TE_GlowSpriteId = 415; - TE_ImpactId = 416; - TE_MuzzleFlashId = 417; - TE_BloodStreamId = 418; - TE_ExplosionId = 419; - TE_DustId = 420; - TE_LargeFunnelId = 421; - TE_SparksId = 422; - TE_PhysicsPropId = 423; - TE_SmokeId = 426; -} - -message CMsgTEArmorRicochet { - optional .CMsgVector pos = 1; - optional .CMsgVector dir = 2; -} - -message CMsgTEBaseBeam { - optional fixed64 modelindex = 1; - optional fixed64 haloindex = 2; - optional uint32 startframe = 3; - optional uint32 framerate = 4; - optional float life = 5; - optional float width = 6; - optional float endwidth = 7; - optional uint32 fadelength = 8; - optional float amplitude = 9; - optional fixed32 color = 10; - optional uint32 speed = 11; - optional uint32 flags = 12; -} - -message CMsgTEBeamEntPoint { - optional .CMsgTEBaseBeam base = 1; - optional uint32 startentity = 2; - optional uint32 endentity = 3; - optional .CMsgVector start = 4; - optional .CMsgVector end = 5; -} - -message CMsgTEBeamEnts { - optional .CMsgTEBaseBeam base = 1; - optional uint32 startentity = 2; - optional uint32 endentity = 3; -} - -message CMsgTEBeamPoints { - optional .CMsgTEBaseBeam base = 1; - optional .CMsgVector start = 2; - optional .CMsgVector end = 3; -} - -message CMsgTEBeamRing { - optional .CMsgTEBaseBeam base = 1; - optional uint32 startentity = 2; - optional uint32 endentity = 3; -} - -message CMsgTEBubbles { - optional .CMsgVector mins = 1; - optional .CMsgVector maxs = 2; - optional float height = 3; - optional uint32 count = 4; - optional float speed = 5; -} - -message CMsgTEBubbleTrail { - optional .CMsgVector mins = 1; - optional .CMsgVector maxs = 2; - optional float waterz = 3; - optional uint32 count = 4; - optional float speed = 5; -} - -message CMsgTEDecal { - optional .CMsgVector origin = 1; - optional .CMsgVector start = 2; - optional int32 entity = 3 [default = -1]; - optional uint32 hitbox = 4; - optional uint32 index = 5; -} - -message CMsgEffectData { - optional .CMsgVector origin = 1; - optional .CMsgVector start = 2; - optional .CMsgVector normal = 3; - optional .CMsgQAngle angles = 4; - optional fixed32 entity = 5 [default = 16777215]; - optional fixed32 otherentity = 6 [default = 16777215]; - optional float scale = 7; - optional float magnitude = 8; - optional float radius = 9; - optional fixed32 surfaceprop = 10; - optional fixed64 effectindex = 11; - optional uint32 damagetype = 12; - optional uint32 material = 13; - optional uint32 hitbox = 14; - optional uint32 color = 15; - optional uint32 flags = 16; - optional int32 attachmentindex = 17; - optional uint32 effectname = 18; - optional uint32 attachmentname = 19; -} - -message CMsgTEEffectDispatch { - optional .CMsgEffectData effectdata = 1; -} - -message CMsgTEEnergySplash { - optional .CMsgVector pos = 1; - optional .CMsgVector dir = 2; - optional bool explosive = 3; -} - -message CMsgTEFizz { - optional int32 entity = 1 [default = -1]; - optional uint32 density = 2; - optional int32 current = 3; -} - -message CMsgTEShatterSurface { - optional .CMsgVector origin = 1; - optional .CMsgQAngle angles = 2; - optional .CMsgVector force = 3; - optional .CMsgVector forcepos = 4; - optional float width = 5; - optional float height = 6; - optional float shardsize = 7; - optional uint32 surfacetype = 8; - optional fixed32 frontcolor = 9; - optional fixed32 backcolor = 10; -} - -message CMsgTEGlowSprite { - optional .CMsgVector origin = 1; - optional float scale = 2; - optional float life = 3; - optional uint32 brightness = 4; -} - -message CMsgTEImpact { - optional .CMsgVector origin = 1; - optional .CMsgVector normal = 2; - optional uint32 type = 3; -} - -message CMsgTEMuzzleFlash { - optional .CMsgVector origin = 1; - optional .CMsgQAngle angles = 2; - optional float scale = 3; - optional uint32 type = 4; -} - -message CMsgTEBloodStream { - optional .CMsgVector origin = 1; - optional .CMsgVector direction = 2; - optional fixed32 color = 3; - optional uint32 amount = 4; -} - -message CMsgTEExplosion { - optional .CMsgVector origin = 1; - optional uint32 flags = 3; - optional .CMsgVector normal = 4; - optional uint32 radius = 6; - optional uint32 magnitude = 7; - optional bool affect_ragdolls = 9; - optional string sound_name = 10; - optional uint32 explosion_type = 11; - optional bool create_debris = 12; - optional .CMsgVector debris_origin = 13; - optional fixed32 debris_surfaceprop = 14; -} - -message CMsgTEDust { - optional .CMsgVector origin = 1; - optional float size = 2; - optional float speed = 3; - optional .CMsgVector direction = 4; -} - -message CMsgTELargeFunnel { - optional .CMsgVector origin = 1; - optional uint32 reversed = 2; -} - -message CMsgTESparks { - optional .CMsgVector origin = 1; - optional uint32 magnitude = 2; - optional uint32 length = 3; - optional .CMsgVector direction = 4; -} - -message CMsgTEPhysicsProp { - optional .CMsgVector origin = 1; - optional .CMsgVector velocity = 2; - optional .CMsgQAngle angles = 3; - optional fixed32 skin = 4; - optional uint32 flags = 5; - optional uint32 effects = 6; - optional fixed32 color = 7; - optional fixed64 modelindex = 8; - optional uint32 unused_breakmodelsnottomake = 9; - optional float scale = 10; - optional .CMsgVector dmgpos = 11; - optional .CMsgVector dmgdir = 12; - optional int32 dmgtype = 13; -} - -message CMsgTESmoke { - optional .CMsgVector origin = 1; - optional float scale = 2; -} - -message CMsgTEWorldDecal { - optional .CMsgVector origin = 1; - optional .CMsgVector normal = 2; - optional uint32 index = 3; -} diff --git a/protobuf/uifontfile_format.proto b/protobuf/uifontfile_format.proto deleted file mode 100644 index 5602e48f5..000000000 --- a/protobuf/uifontfile_format.proto +++ /dev/null @@ -1,13 +0,0 @@ -message CUIFontFilePB { - optional string font_file_name = 1; - optional bytes opentype_font_data = 2; -} - -message CUIFontFilePackagePB { - message CUIEncryptedFontFilePB { - optional bytes encrypted_contents = 1; - } - - required uint32 package_version = 1; - repeated .CUIFontFilePackagePB.CUIEncryptedFontFilePB encrypted_font_files = 2; -} diff --git a/protobuf/usercmd.proto b/protobuf/usercmd.proto deleted file mode 100644 index 60783bd3e..000000000 --- a/protobuf/usercmd.proto +++ /dev/null @@ -1,42 +0,0 @@ -import "networkbasetypes.proto"; - -message CInButtonStatePB { - optional uint64 buttonstate1 = 1; - optional uint64 buttonstate2 = 2; - optional uint64 buttonstate3 = 3; -} - -message CSubtickMoveStep { - optional uint64 button = 1; - optional bool pressed = 2; - optional float when = 3; - optional float analog_forward_delta = 4; - optional float analog_left_delta = 5; - optional float pitch_delta = 8; - optional float yaw_delta = 9; -} - -message CBaseUserCmdPB { - optional int32 legacy_command_number = 1; - optional int32 client_tick = 2; - optional uint32 prediction_offset_ticks_x256 = 17; - optional .CInButtonStatePB buttons_pb = 3; - optional .CMsgQAngle viewangles = 4; - optional float forwardmove = 5; - optional float leftmove = 6; - optional float upmove = 7; - optional int32 impulse = 8; - optional int32 weaponselect = 9; - optional int32 random_seed = 10; - optional int32 mousedx = 11; - optional int32 mousedy = 12; - optional uint32 pawn_entity_handle = 14 [default = 16777215]; - repeated .CSubtickMoveStep subtick_moves = 18; - optional bytes move_crc = 19; - optional uint32 consumed_server_angle_changes = 20; - optional int32 cmd_flags = 21; -} - -message CUserCmdBasePB { - optional .CBaseUserCmdPB base = 1; -} diff --git a/protobuf/usermessages.proto b/protobuf/usermessages.proto deleted file mode 100644 index daf09e957..000000000 --- a/protobuf/usermessages.proto +++ /dev/null @@ -1,858 +0,0 @@ -import "networkbasetypes.proto"; - -enum EBaseUserMessages { - UM_AchievementEvent = 101; - UM_CloseCaption = 102; - UM_CloseCaptionDirect = 103; - UM_CurrentTimescale = 104; - UM_DesiredTimescale = 105; - UM_Fade = 106; - UM_GameTitle = 107; - UM_HudMsg = 110; - UM_HudText = 111; - UM_ColoredText = 113; - UM_RequestState = 114; - UM_ResetHUD = 115; - UM_Rumble = 116; - UM_SayText = 117; - UM_SayText2 = 118; - UM_SayTextChannel = 119; - UM_Shake = 120; - UM_ShakeDir = 121; - UM_WaterShake = 122; - UM_TextMsg = 124; - UM_ScreenTilt = 125; - UM_VoiceMask = 128; - UM_SendAudio = 130; - UM_ItemPickup = 131; - UM_AmmoDenied = 132; - UM_ShowMenu = 134; - UM_CreditsMsg = 135; - UM_CloseCaptionPlaceholder = 142; - UM_CameraTransition = 143; - UM_AudioParameter = 144; - UM_ParticleManager = 145; - UM_HudError = 146; - UM_CustomGameEvent = 148; - UM_AnimGraphUpdate = 149; - UM_HapticsManagerPulse = 150; - UM_HapticsManagerEffect = 151; - UM_UpdateCssClasses = 153; - UM_ServerFrameTime = 154; - UM_LagCompensationError = 155; - UM_RequestDllStatus = 156; - UM_RequestUtilAction = 157; - UM_UtilActionResponse = 158; - UM_DllStatusResponse = 159; - UM_RequestInventory = 160; - UM_InventoryResponse = 161; - UM_RequestDiagnostic = 162; - UM_DiagnosticResponse = 163; - UM_ExtraUserData = 164; - UM_NotifyResponseFound = 165; - UM_PlayResponseConditional = 166; - UM_MAX_BASE = 200; -} - -enum EBaseEntityMessages { - EM_PlayJingle = 136; - EM_ScreenOverlay = 137; - EM_RemoveAllDecals = 138; - EM_PropagateForce = 139; - EM_DoSpark = 140; - EM_FixAngle = 141; -} - -enum eRollType { - ROLL_NONE = -1; - ROLL_STATS = 0; - ROLL_CREDITS = 1; - ROLL_LATE_JOIN_LOGO = 2; - ROLL_OUTTRO = 3; -} - -enum PARTICLE_MESSAGE { - GAME_PARTICLE_MANAGER_EVENT_CREATE = 0; - GAME_PARTICLE_MANAGER_EVENT_UPDATE = 1; - GAME_PARTICLE_MANAGER_EVENT_UPDATE_FORWARD = 2; - GAME_PARTICLE_MANAGER_EVENT_UPDATE_ORIENTATION = 3; - GAME_PARTICLE_MANAGER_EVENT_UPDATE_FALLBACK = 4; - GAME_PARTICLE_MANAGER_EVENT_UPDATE_ENT = 5; - GAME_PARTICLE_MANAGER_EVENT_UPDATE_OFFSET = 6; - GAME_PARTICLE_MANAGER_EVENT_DESTROY = 7; - GAME_PARTICLE_MANAGER_EVENT_DESTROY_INVOLVING = 8; - GAME_PARTICLE_MANAGER_EVENT_RELEASE = 9; - GAME_PARTICLE_MANAGER_EVENT_LATENCY = 10; - GAME_PARTICLE_MANAGER_EVENT_SHOULD_DRAW = 11; - GAME_PARTICLE_MANAGER_EVENT_FROZEN = 12; - GAME_PARTICLE_MANAGER_EVENT_CHANGE_CONTROL_POINT_ATTACHMENT = 13; - GAME_PARTICLE_MANAGER_EVENT_UPDATE_ENTITY_POSITION = 14; - GAME_PARTICLE_MANAGER_EVENT_SET_FOW_PROPERTIES = 15; - GAME_PARTICLE_MANAGER_EVENT_SET_TEXT = 16; - GAME_PARTICLE_MANAGER_EVENT_SET_SHOULD_CHECK_FOW = 17; - GAME_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_MODEL = 18; - GAME_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_SNAPSHOT = 19; - GAME_PARTICLE_MANAGER_EVENT_SET_TEXTURE_ATTRIBUTE = 20; - GAME_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_GENERIC_FLAG = 21; - GAME_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_TINT_AND_DESAT = 22; - GAME_PARTICLE_MANAGER_EVENT_DESTROY_NAMED = 23; - GAME_PARTICLE_MANAGER_EVENT_SKIP_TO_TIME = 24; - GAME_PARTICLE_MANAGER_EVENT_CAN_FREEZE = 25; - GAME_PARTICLE_MANAGER_EVENT_SET_NAMED_VALUE_CONTEXT = 26; - GAME_PARTICLE_MANAGER_EVENT_UPDATE_TRANSFORM = 27; - GAME_PARTICLE_MANAGER_EVENT_FREEZE_TRANSITION_OVERRIDE = 28; - GAME_PARTICLE_MANAGER_EVENT_FREEZE_INVOLVING = 29; - GAME_PARTICLE_MANAGER_EVENT_ADD_MODELLIST_OVERRIDE_ELEMENT = 30; - GAME_PARTICLE_MANAGER_EVENT_CLEAR_MODELLIST_OVERRIDE = 31; - GAME_PARTICLE_MANAGER_EVENT_CREATE_PHYSICS_SIM = 32; - GAME_PARTICLE_MANAGER_EVENT_DESTROY_PHYSICS_SIM = 33; - GAME_PARTICLE_MANAGER_EVENT_SET_VDATA = 34; - GAME_PARTICLE_MANAGER_EVENT_SET_MATERIAL_OVERRIDE = 35; - GAME_PARTICLE_MANAGER_EVENT_ADD_FAN = 36; - GAME_PARTICLE_MANAGER_EVENT_UPDATE_FAN = 37; - GAME_PARTICLE_MANAGER_EVENT_SET_CLUSTER_GROWTH = 38; - GAME_PARTICLE_MANAGER_EVENT_REMOVE_FAN = 39; -} - -enum EHapticPulseType { - VR_HAND_HAPTIC_PULSE_LIGHT = 0; - VR_HAND_HAPTIC_PULSE_MEDIUM = 1; - VR_HAND_HAPTIC_PULSE_STRONG = 2; -} - -message CUserMessageAchievementEvent { - optional uint32 achievement = 1; -} - -message CUserMessageCloseCaption { - optional fixed32 hash = 1; - optional float duration = 2; - optional bool from_player = 3; - optional int32 ent_index = 4 [default = -1]; -} - -message CUserMessageCloseCaptionDirect { - optional fixed32 hash = 1; - optional float duration = 2; - optional bool from_player = 3; - optional int32 ent_index = 4 [default = -1]; -} - -message CUserMessageCloseCaptionPlaceholder { - optional string string = 1; - optional float duration = 2; - optional bool from_player = 3; - optional int32 ent_index = 4 [default = -1]; -} - -message CUserMessageCurrentTimescale { - optional float current = 1; -} - -message CUserMessageDesiredTimescale { - optional float desired = 1; - optional float acceleration = 2; - optional float minblendrate = 3; - optional float blenddeltamultiplier = 4; -} - -message CUserMessageFade { - optional uint32 duration = 1; - optional uint32 hold_time = 2; - optional uint32 flags = 3; - optional fixed32 color = 4; -} - -message CUserMessageShake { - optional uint32 command = 1; - optional float amplitude = 2; - optional float frequency = 3; - optional float duration = 4; -} - -message CUserMessageShakeDir { - optional .CUserMessageShake shake = 1; - optional .CMsgVector direction = 2; -} - -message CUserMessageWaterShake { - optional uint32 command = 1; - optional float amplitude = 2; - optional float frequency = 3; - optional float duration = 4; -} - -message CUserMessageScreenTilt { - optional uint32 command = 1; - optional bool ease_in_out = 2; - optional .CMsgVector angle = 3; - optional float duration = 4; - optional float time = 5; -} - -message CUserMessageSayText { - optional int32 playerindex = 1 [default = -1]; - optional string text = 2; - optional bool chat = 3; -} - -message CUserMessageSayText2 { - optional int32 entityindex = 1 [default = -1]; - optional bool chat = 2; - optional string messagename = 3; - optional string param1 = 4; - optional string param2 = 5; - optional string param3 = 6; - optional string param4 = 7; -} - -message CUserMessageHudMsg { - optional uint32 channel = 1; - optional float x = 2; - optional float y = 3; - optional fixed32 color1 = 4; - optional fixed32 color2 = 5; - optional uint32 effect = 6; - optional string message = 11; -} - -message CUserMessageHudText { - optional string message = 1; -} - -message CUserMessageTextMsg { - optional uint32 dest = 1; - repeated string param = 2; -} - -message CUserMessageGameTitle { -} - -message CUserMessageResetHUD { -} - -message CUserMessageSendAudio { - optional string soundname = 1; - optional bool stop = 2; -} - -message CUserMessageAudioParameter { - optional uint32 parameter_type = 1; - optional uint32 name_hash_code = 2; - optional float value = 3; - optional uint32 int_value = 4; -} - -message CUserMessageVoiceMask { - repeated uint32 gamerules_masks = 1; - repeated uint32 ban_masks = 2; - optional bool mod_enable = 3; -} - -message CUserMessageRequestState { -} - -message CUserMessageRumble { - optional int32 index = 1; - optional int32 data = 2; - optional int32 flags = 3; -} - -message CUserMessageSayTextChannel { - optional int32 player = 1; - optional int32 channel = 2; - optional string text = 3; -} - -message CUserMessageColoredText { - optional uint32 color = 1; - optional string text = 2; - optional bool reset = 3; - optional int32 context_player_slot = 4 [default = -1]; - optional int32 context_value = 5; - optional int32 context_team_id = 6; -} - -message CUserMessageItemPickup { - optional string itemname = 1; -} - -message CUserMessageAmmoDenied { - optional uint32 ammo_id = 1; -} - -message CUserMessageShowMenu { - optional uint32 validslots = 1; - optional uint32 displaytime = 2; - optional bool needmore = 3; - optional string menustring = 4; -} - -message CUserMessageCreditsMsg { - optional .eRollType rolltype = 1 [default = ROLL_NONE]; - optional float logo_length = 2; -} - -message CEntityMessagePlayJingle { - optional .CEntityMsg entity_msg = 1; -} - -message CEntityMessageScreenOverlay { - optional bool start_effect = 1; - optional .CEntityMsg entity_msg = 2; -} - -message CEntityMessageRemoveAllDecals { - optional bool remove_decals = 1; - optional .CEntityMsg entity_msg = 2; -} - -message CEntityMessagePropagateForce { - optional .CMsgVector impulse = 1; - optional .CEntityMsg entity_msg = 2; -} - -message CEntityMessageDoSpark { - optional .CMsgVector origin = 1; - optional int32 entityindex = 2 [default = -1]; - optional float radius = 3; - optional fixed32 color = 4; - optional uint32 beams = 5; - optional float thick = 6; - optional float duration = 7; - optional .CEntityMsg entity_msg = 8; -} - -message CEntityMessageFixAngle { - optional bool relative = 1; - optional .CMsgQAngle angle = 2; - optional .CEntityMsg entity_msg = 3; -} - -message CUserMessageCameraTransition { - message Transition_DataDriven { - optional string filename = 1; - optional int32 attach_ent_index = 2 [default = -1]; - optional float duration = 3; - } - - optional uint32 camera_type = 1; - optional float duration = 2; - optional .CUserMessageCameraTransition.Transition_DataDriven params_data_driven = 3; -} - -message CUserMsg_ParticleManager { - message ReleaseParticleIndex { - } - - message CreateParticle { - optional fixed64 particle_name_index = 1; - optional int32 attach_type = 2; - optional uint32 entity_handle = 3 [default = 16777215]; - optional uint32 entity_handle_for_modifiers = 4 [default = 16777215]; - optional bool apply_voice_ban_rules = 5; - optional int32 team_behavior = 6; - optional string control_point_configuration = 7; - optional bool cluster = 8; - optional float endcap_time = 9; - optional .CMsgVector aggregation_position = 10; - } - - message DestroyParticle { - optional bool destroy_immediately = 1; - } - - message DestroyParticleInvolving { - optional bool destroy_immediately = 1; - optional uint32 entity_handle = 3 [default = 16777215]; - } - - message DestroyParticleNamed { - optional fixed64 particle_name_index = 1; - optional uint32 entity_handle = 2 [default = 16777215]; - optional bool destroy_immediately = 3; - optional bool play_endcap = 4; - } - - message UpdateParticle_OBSOLETE { - optional int32 control_point = 1; - optional .CMsgVector position = 2; - } - - message UpdateParticleFwd_OBSOLETE { - optional int32 control_point = 1; - optional .CMsgVector forward = 2; - } - - message UpdateParticleOrient_OBSOLETE { - optional int32 control_point = 1; - optional .CMsgVector forward = 2; - optional .CMsgVector deprecated_right = 3; - optional .CMsgVector up = 4; - optional .CMsgVector left = 5; - } - - message UpdateParticleTransform { - optional int32 control_point = 1; - optional .CMsgVector position = 2; - optional .CMsgQuaternion orientation = 3; - optional float interpolation_interval = 4; - } - - message UpdateParticleFallback { - optional int32 control_point = 1; - optional .CMsgVector position = 2; - } - - message UpdateParticleOffset { - optional int32 control_point = 1; - optional .CMsgVector origin_offset = 2; - optional .CMsgQAngle angle_offset = 3; - } - - message UpdateParticleEnt { - optional int32 control_point = 1; - optional uint32 entity_handle = 2 [default = 16777215]; - optional int32 attach_type = 3; - optional int32 attachment = 4; - optional .CMsgVector fallback_position = 5; - optional bool include_wearables = 6; - optional .CMsgVector offset_position = 7; - optional .CMsgQAngle offset_angles = 8; - } - - message UpdateParticleSetFrozen { - optional bool set_frozen = 1; - optional float transition_duration = 2; - } - - message UpdateParticleShouldDraw { - optional bool should_draw = 1; - } - - message ChangeControlPointAttachment { - optional int32 attachment_old = 1; - optional int32 attachment_new = 2; - optional uint32 entity_handle = 3 [default = 16777215]; - } - - message UpdateEntityPosition { - optional uint32 entity_handle = 1 [default = 16777215]; - optional .CMsgVector position = 2; - } - - message SetParticleFoWProperties { - optional int32 fow_control_point = 1; - optional int32 fow_control_point2 = 2; - optional float fow_radius = 3; - } - - message SetParticleShouldCheckFoW { - optional bool check_fow = 1; - } - - message SetControlPointModel { - optional int32 control_point = 1; - optional string model_name = 2; - } - - message SetControlPointSnapshot { - optional int32 control_point = 1; - optional string snapshot_name = 2; - } - - message SetParticleText { - optional string text = 1; - } - - message SetTextureAttribute { - optional string attribute_name = 1; - optional string texture_name = 2; - } - - message SetSceneObjectGenericFlag { - optional bool flag_value = 1; - } - - message SetSceneObjectTintAndDesat { - optional fixed32 tint = 1; - optional float desat = 2; - } - - message ParticleSkipToTime { - optional float skip_to_time = 1; - } - - message ParticleCanFreeze { - optional bool can_freeze = 1; - } - - message ParticleFreezeTransitionOverride { - optional float freeze_transition_override = 1; - } - - message FreezeParticleInvolving { - optional bool set_frozen = 1; - optional float transition_duration = 2; - optional uint32 entity_handle = 3 [default = 16777215]; - } - - message AddModellistOverrideElement { - optional string model_name = 1; - optional float spawn_probability = 2; - optional uint32 groupid = 3; - } - - message ClearModellistOverride { - optional uint32 groupid = 1; - } - - message SetParticleNamedValueContext { - message FloatContextValue { - optional uint32 value_name_hash = 1; - optional float value = 2; - } - - message VectorContextValue { - optional uint32 value_name_hash = 1; - optional .CMsgVector value = 2; - } - - message TransformContextValue { - optional uint32 value_name_hash = 1; - optional .CMsgQAngle angles = 2; - optional .CMsgVector translation = 3; - } - - message EHandleContext { - optional uint32 value_name_hash = 1; - optional uint32 ent_index = 2 [default = 16777215]; - } - - repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue float_values = 1; - repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue vector_values = 2; - repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue transform_values = 3; - repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext ehandle_values = 4; - } - - message CreatePhysicsSim { - optional string prop_group_name = 1; - optional bool use_high_quality_simulation = 2; - optional uint32 max_particle_count = 3; - } - - message DestroyPhysicsSim { - } - - message SetVData { - optional string vdata_name = 1; - } - - message SetMaterialOverride { - optional string material_name = 1; - optional bool include_children = 2; - } - - message AddFan { - optional bool active = 1; - optional .CMsgVector bounds_mins = 2; - optional .CMsgVector bounds_maxs = 3; - optional .CMsgVector fan_origin = 4; - optional .CMsgVector fan_origin_offset = 5; - optional .CMsgVector fan_direction = 6; - optional float force = 7; - optional string fan_force_curve = 8; - optional bool falloff = 9; - optional bool pull_towards_point = 10; - optional float curve_min_dist = 11; - optional float curve_max_dist = 12; - optional uint32 fan_type = 13; - optional float cone_start_radius = 14; - optional float cone_end_radius = 15; - optional float cone_length = 16; - optional uint32 entity_handle = 17 [default = 16777215]; - optional string attachment_name = 18; - } - - message UpdateFan { - optional bool active = 1; - optional .CMsgVector fan_origin = 2; - optional .CMsgVector fan_origin_offset = 3; - optional .CMsgVector fan_direction = 4; - optional float fan_ramp_ratio = 7; - optional .CMsgVector bounds_mins = 5; - optional .CMsgVector bounds_maxs = 6; - } - - message RemoveFan { - } - - message SetParticleClusterGrowth { - optional float duration = 1; - optional .CMsgVector origin = 2; - } - - required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; - required uint32 index = 2; - optional .CUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3; - optional .CUserMsg_ParticleManager.CreateParticle create_particle = 4; - optional .CUserMsg_ParticleManager.DestroyParticle destroy_particle = 5; - optional .CUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6; - optional .CUserMsg_ParticleManager.UpdateParticle_OBSOLETE update_particle = 7; - optional .CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE update_particle_fwd = 8; - optional .CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE update_particle_orient = 9; - optional .CUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10; - optional .CUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11; - optional .CUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12; - optional .CUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14; - optional .CUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15; - optional .CUserMsg_ParticleManager.ChangeControlPointAttachment change_control_point_attachment = 16; - optional .CUserMsg_ParticleManager.UpdateEntityPosition update_entity_position = 17; - optional .CUserMsg_ParticleManager.SetParticleFoWProperties set_particle_fow_properties = 18; - optional .CUserMsg_ParticleManager.SetParticleText set_particle_text = 19; - optional .CUserMsg_ParticleManager.SetParticleShouldCheckFoW set_particle_should_check_fow = 20; - optional .CUserMsg_ParticleManager.SetControlPointModel set_control_point_model = 21; - optional .CUserMsg_ParticleManager.SetControlPointSnapshot set_control_point_snapshot = 22; - optional .CUserMsg_ParticleManager.SetTextureAttribute set_texture_attribute = 23; - optional .CUserMsg_ParticleManager.SetSceneObjectGenericFlag set_scene_object_generic_flag = 24; - optional .CUserMsg_ParticleManager.SetSceneObjectTintAndDesat set_scene_object_tint_and_desat = 25; - optional .CUserMsg_ParticleManager.DestroyParticleNamed destroy_particle_named = 26; - optional .CUserMsg_ParticleManager.ParticleSkipToTime particle_skip_to_time = 27; - optional .CUserMsg_ParticleManager.ParticleCanFreeze particle_can_freeze = 28; - optional .CUserMsg_ParticleManager.SetParticleNamedValueContext set_named_value_context = 29; - optional .CUserMsg_ParticleManager.UpdateParticleTransform update_particle_transform = 30; - optional .CUserMsg_ParticleManager.ParticleFreezeTransitionOverride particle_freeze_transition_override = 31; - optional .CUserMsg_ParticleManager.FreezeParticleInvolving freeze_particle_involving = 32; - optional .CUserMsg_ParticleManager.AddModellistOverrideElement add_modellist_override_element = 33; - optional .CUserMsg_ParticleManager.ClearModellistOverride clear_modellist_override = 34; - optional .CUserMsg_ParticleManager.CreatePhysicsSim create_physics_sim = 35; - optional .CUserMsg_ParticleManager.DestroyPhysicsSim destroy_physics_sim = 36; - optional .CUserMsg_ParticleManager.SetVData set_vdata = 37; - optional .CUserMsg_ParticleManager.SetMaterialOverride set_material_override = 38; - optional .CUserMsg_ParticleManager.AddFan add_fan = 39; - optional .CUserMsg_ParticleManager.UpdateFan update_fan = 40; - optional .CUserMsg_ParticleManager.SetParticleClusterGrowth set_particle_cluster_growth = 41; - optional .CUserMsg_ParticleManager.RemoveFan remove_fan = 42; - - extensions 100 to 201; -} - -message CUserMsg_HudError { - optional int32 order_id = 1; -} - -message CUserMsg_CustomGameEvent { - optional string event_name = 1; - optional bytes data = 2; -} - -message CUserMessageHapticsManagerPulse { - optional int32 hand_id = 1; - optional float effect_amplitude = 2; - optional float effect_frequency = 3; - optional float effect_duration = 4; -} - -message CUserMessageHapticsManagerEffect { - optional int32 hand_id = 1; - optional uint32 effect_name_hash_code = 2; - optional float effect_scale = 3; -} - -message CUserMessageAnimStateGraphState { - optional int32 entity_index = 1; - optional bytes data = 2; -} - -message CUserMessageUpdateCssClasses { - optional int32 target_world_panel = 1; - optional string css_classes = 2; - optional bool is_add = 3; -} - -message CUserMessageServerFrameTime { - optional float frame_time = 1; -} - -message CUserMessageLagCompensationError { - optional float distance = 1; -} - -message CUserMessageRequestDllStatus { - optional string dll_action = 1; - optional bool full_report = 2; -} - -message CUserMessageRequestUtilAction { - optional int32 util1 = 2; - optional int32 util2 = 3; - optional int32 util3 = 4; - optional int32 util4 = 5; - optional int32 util5 = 6; -} - -message CUserMessage_UtilMsg_Response { - message ItemDetail { - optional int32 index = 1; - optional int32 hash = 2; - optional int32 crc = 3; - optional string name = 4; - } - - optional fixed32 crc = 1; - optional int32 item_count = 2; - optional fixed32 crc2 = 3; - optional int32 item_count2 = 4; - repeated int32 crc_part = 5; - repeated int32 crc_part2 = 6; - optional int32 client_timestamp = 7; - optional int32 platform = 8; - repeated .CUserMessage_UtilMsg_Response.ItemDetail itemdetails = 9; - optional int32 itemgroup = 10; - optional int32 total_count = 11; - optional int32 total_count2 = 12; -} - -message CUserMessage_DllStatus { - message CVDiagnostic { - optional uint32 id = 1; - optional uint32 extended = 2; - optional uint64 value = 3; - optional string string_value = 4; - } - - message CModule { - optional uint64 base_addr = 1; - optional string name = 2; - optional uint32 size = 3; - optional uint32 timestamp = 4; - } - - optional string file_report = 1; - optional string command_line = 2; - optional uint32 total_files = 3; - optional uint32 process_id = 4; - optional int32 osversion = 5; - optional uint64 client_time = 6; - repeated .CUserMessage_DllStatus.CVDiagnostic diagnostics = 7; - repeated .CUserMessage_DllStatus.CModule modules = 8; -} - -message CUserMessageRequestInventory { - optional int32 inventory = 1; - optional int32 offset = 2; - optional int32 options = 3; -} - -message CUserMessage_Inventory_Response { - message InventoryDetail { - optional int32 index = 1; - optional int64 primary = 2; - optional int64 offset = 3; - optional int64 first = 4; - optional int64 base = 5; - optional string name = 6; - optional string base_name = 7; - optional int32 base_detail = 8; - optional int32 base_time = 9; - optional int32 base_hash = 10; - } - - optional fixed32 crc = 1; - optional int32 item_count = 2; - optional int32 osversion = 5; - optional int32 perf_time = 6; - optional int32 client_timestamp = 7; - optional int32 platform = 8; - repeated .CUserMessage_Inventory_Response.InventoryDetail inventories = 9; - repeated .CUserMessage_Inventory_Response.InventoryDetail inventories2 = 10; - repeated .CUserMessage_Inventory_Response.InventoryDetail inventories3 = 14; - optional int32 inv_type = 11; - optional int32 build_version = 12; - optional int32 instance = 13; - optional int64 start_time = 15; -} - -message CUserMessageRequestDiagnostic { - message Diagnostic { - optional int32 index = 1; - optional int64 offset = 2; - optional int32 param = 3; - optional int32 length = 4; - optional int32 type = 5; - optional int64 base = 6; - optional int64 range = 7; - optional int64 extent = 8; - optional int64 detail = 9; - optional string name = 10; - optional string alias = 11; - optional bytes vardetail = 12; - optional int32 context = 13; - } - - repeated .CUserMessageRequestDiagnostic.Diagnostic diagnostics = 1; -} - -message CUserMessage_Diagnostic_Response { - message Diagnostic { - optional int32 index = 1; - optional int64 offset = 2; - optional int32 param = 3; - optional int32 length = 4; - optional bytes detail = 5; - optional int64 base = 6; - optional int64 range = 7; - optional int32 type = 8; - optional string name = 10; - optional string alias = 11; - optional bytes backup = 12; - optional int32 context = 13; - optional int64 control = 14; - optional int64 augment = 15; - optional int64 placebo = 16; - } - - repeated .CUserMessage_Diagnostic_Response.Diagnostic diagnostics = 1; - optional int32 build_version = 2; - optional int32 instance = 3; - optional int64 start_time = 4; - optional int32 osversion = 5; - optional int32 platform = 6; -} - -message CUserMessage_ExtraUserData { - optional int32 item = 1; - optional int64 value1 = 2; - optional int64 value2 = 3; - repeated bytes detail1 = 4; - repeated bytes detail2 = 5; -} - -message CUserMessage_NotifyResponseFound { - message Criteria { - optional uint32 name_symbol = 1; - optional string value = 2; - } - - optional int32 ent_index = 1 [default = -1]; - optional string rule_name = 2; - optional string response_value = 3; - optional string response_concept = 4; - repeated .CUserMessage_NotifyResponseFound.Criteria criteria = 5; - repeated uint32 int_criteria_names = 6 [packed = true]; - repeated int32 int_criteria_values = 7 [packed = true]; - repeated uint32 float_criteria_names = 8 [packed = true]; - repeated float float_criteria_values = 9; - repeated uint32 symbol_criteria_names = 10 [packed = true]; - repeated uint32 symbol_criteria_values = 11 [packed = true]; - optional int32 speak_result = 12; -} - -message CUserMessage_PlayResponseConditional { - optional int32 ent_index = 1 [default = -1]; - repeated int32 player_slots = 2; - optional string response = 3; - optional .CMsgVector ent_origin = 4; - optional float pre_delay = 5; - optional int32 mix_priority = 6; -} diff --git a/protobuf/valveextensions.proto b/protobuf/valveextensions.proto deleted file mode 100644 index 33c9db93f..000000000 --- a/protobuf/valveextensions.proto +++ /dev/null @@ -1,26 +0,0 @@ -import "google/protobuf/descriptor.proto"; - -extend .google.protobuf.FieldOptions { - optional bool valve_map_field = 61000 [default = false]; - optional bool valve_map_key = 61001 [default = false]; - optional int32 diff_encode_field = 61002 [default = 0]; - optional bool delta_ignore = 61003 [default = false]; - optional uint32 steamml_max_entries = 61004 [default = 0]; - optional bool steamml_is_timestamp = 61005 [default = false]; - optional uint32 steamlearn_count = 61006 [default = 0]; - optional .EProtoDebugVisiblity debugprint_visibility = 61007 [default = k_EProtoDebugVisibility_Always]; -} - -extend .google.protobuf.EnumValueOptions { - optional string schema_friendly_name = 1000; - optional string schema_description = 1001; - optional bool schema_suppress_enumerator = 1002; -} - -enum EProtoDebugVisiblity { - k_EProtoDebugVisibility_Always = 0; - k_EProtoDebugVisibility_Server = 70; - k_EProtoDebugVisibility_ValveServer = 80; - k_EProtoDebugVisibility_GC = 90; - k_EProtoDebugVisibility_Never = 100; -} diff --git a/sdk b/sdk index da981a898..20ae6c37f 160000 --- a/sdk +++ b/sdk @@ -1 +1 @@ -Subproject commit da981a8984c74641d2a31732a0bac742bfea6e2d +Subproject commit 20ae6c37f6c23551897821645a66cf8af547f6d7 diff --git a/src/addresses.cpp b/src/addresses.cpp index 8460e72be..d2659f603 100644 --- a/src/addresses.cpp +++ b/src/addresses.cpp @@ -65,7 +65,6 @@ bool addresses::Initialize(CGameConfig* g_GameConfig) RESOLVE_SIG(g_GameConfig, "DispatchSpawn", addresses::DispatchSpawn); RESOLVE_SIG(g_GameConfig, "CEntityIdentity_SetEntityName", addresses::CEntityIdentity_SetEntityName); RESOLVE_SIG(g_GameConfig, "CBaseEntity_EmitSoundParams", addresses::CBaseEntity_EmitSoundParams); - RESOLVE_SIG(g_GameConfig, "CBaseEntity_SetParent", addresses::CBaseEntity_SetParent); RESOLVE_SIG(g_GameConfig, "DispatchParticleEffect", addresses::DispatchParticleEffect); RESOLVE_SIG(g_GameConfig, "CBaseEntity_EmitSoundFilter", addresses::CBaseEntity_EmitSoundFilter); RESOLVE_SIG(g_GameConfig, "CBaseEntity_SetMoveType", addresses::CBaseEntity_SetMoveType); diff --git a/src/addresses.h b/src/addresses.h index 0ed27208a..d8667e4b9 100644 --- a/src/addresses.h +++ b/src/addresses.h @@ -98,7 +98,6 @@ namespace addresses inline void(FASTCALL* DispatchSpawn)(CBaseEntity* pEntity, CEntityKeyValues* pEntityKeyValues); inline void(FASTCALL* CEntityIdentity_SetEntityName)(CEntityIdentity* pEntity, const char* pName); inline void(FASTCALL* CBaseEntity_EmitSoundParams)(CBaseEntity* pEntity, const char* pszSound, int nPitch, float flVolume, float flDelay); - inline void(FASTCALL* CBaseEntity_SetParent)(CBaseEntity* pEntity, CBaseEntity* pNewParent, CUtlStringToken nBoneOrAttachName, matrix3x4a_t* pOffsetTransform); inline int(FASTCALL* DispatchParticleEffect)(const char* pszParticleName, int iAttachType, CBaseEntity* pEntity, char iAttachmentPoint, CUtlSymbolLarge iAttachmentName, bool bResetAllParticlesOnEntity, int nSplitScreenPlayerSlot, IRecipientFilter* a7, byte* a8); inline StartSoundEventInfo(FASTCALL* CBaseEntity_EmitSoundFilter)(IRecipientFilter& filter, CEntityIndex ent, const EmitSound_t& params); diff --git a/src/cs2_sdk/entity/cbaseentity.h b/src/cs2_sdk/entity/cbaseentity.h index e9294209c..e16cd4565 100644 --- a/src/cs2_sdk/entity/cbaseentity.h +++ b/src/cs2_sdk/entity/cbaseentity.h @@ -249,7 +249,10 @@ class CBaseEntity : public CEntityInstance // This was needed so we can parent to nameless entities using pointers void SetParent(CBaseEntity* pNewParent) { - addresses::CBaseEntity_SetParent(this, pNewParent, MakeStringToken(""), nullptr); + if (pNewParent) + AcceptInput("SetParent", "!activator", pNewParent); + else + AcceptInput("ClearParent"); } void SetOwner(CBaseEntity* pNewOwner) diff --git a/src/cs2fixes.cpp b/src/cs2fixes.cpp index 1548bb041..f10483b56 100644 --- a/src/cs2fixes.cpp +++ b/src/cs2fixes.cpp @@ -513,7 +513,7 @@ bool CS2Fixes::Unload(char* error, size_t maxlen) if (g_pZRHitgroupConfig) delete g_pZRHitgroupConfig; - if (g_pEntityListener) + if (g_pEntitySystem && g_pEntityListener) { g_pEntitySystem->RemoveListenerEntity(g_pEntityListener); delete g_pEntityListener; @@ -950,10 +950,14 @@ void CS2Fixes::Hook_ClientDisconnect(CPlayerSlot slot, ENetworkDisconnectionReas Message("Hook_ClientDisconnect(%d, %d, \"%s\", %lli)\n", slot, reason, pszName, xuid); CCSPlayerController* player = CCSPlayerController::FromSlot(slot); - if (player) - ZR_CheckTeamWinConditions(player->m_iTeamNum == CS_TEAM_T ? CS_TEAM_CT : CS_TEAM_T); - else if (!ZR_CheckTeamWinConditions(CS_TEAM_T)) // If we cant get team num, just check both - ZR_CheckTeamWinConditions(CS_TEAM_CT); + + if (g_cvarEnableZR.Get()) + { + if (player) + ZR_CheckTeamWinConditions(player->m_iTeamNum == CS_TEAM_T ? CS_TEAM_CT : CS_TEAM_T); + else if (!ZR_CheckTeamWinConditions(CS_TEAM_T)) // If we cant get team num, just check both + ZR_CheckTeamWinConditions(CS_TEAM_CT); + } ZEPlayer* pPlayer = g_playerManager->GetPlayer(slot); @@ -1326,6 +1330,10 @@ void CS2Fixes::OnLevelInit(char const* pMapName, V_snprintf(cmd, sizeof(cmd), "exec cs2fixes/maps/%s", pMapName); g_pEngineServer2->ServerCommand(cmd); + // Only patch BotNavIgnore while a map is loaded, else adding bots will crash + if (V_strcmp(pMapName, "error")) + g_CommonPatches[1].PerformPatch(g_GameConfig); + g_playerManager->SetupInfiniteAmmo(); g_pMapVoteSystem->OnLevelInit(pMapName); @@ -1346,6 +1354,9 @@ void CS2Fixes::OnLevelShutdown() { Message("OnLevelShutdown()\n"); + // Only patch BotNavIgnore while a map is loaded, else adding bots will crash + g_CommonPatches[1].UndoPatch(); + if (g_cvarVoteManagerEnable.Get()) g_pMapVoteSystem->OnLevelShutdown(); } diff --git a/src/detours.cpp b/src/detours.cpp index 180379961..9d38e5639 100644 --- a/src/detours.cpp +++ b/src/detours.cpp @@ -563,12 +563,23 @@ void* FASTCALL Detour_ProcessUsercmds(CCSPlayerController* pController, CUserCmd { uint64 button = iterator->button(); - // Remove normal subtick movement inputs by button & subtick movement viewangles by pitch/yaw + // Remove normal subtick movement inputs by button // Unfortunately, we also need to ignore IN_JUMP, because de-subticking jumps somehow conflicts with other subtick inputs pressed at the same time - if ((button >= IN_DUCK && button <= IN_MOVERIGHT && button != IN_USE) || iterator->pitch_delta() != 0.0f || iterator->yaw_delta() != 0.0f) + if (button >= IN_DUCK && button <= IN_MOVERIGHT && button != IN_USE) + { subtickMoves->erase(iterator); + } else + { + // Remove subtick movement viewangles by pitch/yaw + if (iterator->pitch_delta() != 0.0f) + iterator->set_pitch_delta(0.0f); + + if (iterator->yaw_delta() != 0.0f) + iterator->set_yaw_delta(0.0f); + iterator++; + } } } diff --git a/src/mempatch.cpp b/src/mempatch.cpp index 385a0a853..a9f36f092 100644 --- a/src/mempatch.cpp +++ b/src/mempatch.cpp @@ -73,7 +73,7 @@ bool CMemPatch::PerformPatch(CGameConfig* gameConfig) void CMemPatch::UndoPatch() { - if (!m_pPatchAddress) + if (!m_pOriginalBytes) return; Message("Undoing patch %s at %p\n", m_pszName, m_pPatchAddress); diff --git a/src/patches.cpp b/src/patches.cpp index 64cf37f7f..bfa5216e2 100644 --- a/src/patches.cpp +++ b/src/patches.cpp @@ -25,16 +25,15 @@ #include "entity/ccsplayerpawn.h" #include "icvar.h" #include "irecipientfilter.h" -#include "mempatch.h" #include "tier0/memdbgon.h" CMemPatch g_CommonPatches[] = { CMemPatch("ServerMovementUnlock", "ServerMovementUnlock"), + CMemPatch("BotNavIgnore", "BotNavIgnore"), CMemPatch("CheckJumpButtonWater", "FixWaterFloorJump"), CMemPatch("CPhysBox_Use", "CPhysBox_Use"), - CMemPatch("BotNavIgnore", "BotNavIgnore"), }; CConVar cs2f_movement_unlocker_enable("cs2f_movement_unlocker_enable", FCVAR_NONE, "Whether to enable movement unlocker", false, @@ -50,8 +49,8 @@ bool InitPatches(CGameConfig* g_GameConfig) { bool success = true; - // Skip first patch (movement unlocker), it gets patched in convar callback - for (int i = 1; i < sizeof(g_CommonPatches) / sizeof(*g_CommonPatches); i++) + // Skip first two patches (movement unlocker & bot nav ignore), they are patched elsewhere + for (int i = 2; i < sizeof(g_CommonPatches) / sizeof(*g_CommonPatches); i++) if (!g_CommonPatches[i].PerformPatch(g_GameConfig)) success = false; diff --git a/src/patches.h b/src/patches.h index 54485b4e3..0fd2b2015 100644 --- a/src/patches.h +++ b/src/patches.h @@ -1,6 +1,9 @@ #pragma once #include "gameconfig.h" +#include "mempatch.h" + +extern CMemPatch g_CommonPatches[]; bool InitPatches(CGameConfig* gameConfig); void UndoPatches();